const kampala = { bands: [3, 4], tl: [444440.0, 45000.0], bl: [444440.0, 27890.0], tr: [462100.0, 45000.0], br: [462100.0, 27890.0], bounds: [[444440.0, 27890.0] , [462100.0, 45000.0]], resolution: 10, width: 1766, height: 1711, proj: "+proj=utm +zone=36 +datum=WGS84 +units=m +no_defs ", transformer: proj4("+proj=longlat +datum=WGS84 +no_defs", "+proj=utm +zone=36 +datum=WGS84 +units=m +no_defs "), proj2image: function(coord) { return [parseInt((coord[0] - this.bl[0]) / this.resolution),(this.height - parseInt((coord[1] - this.bl[1]) / this.resolution))]; }, image2proj: function(px) { return [this.bl[0] + (px[0] * this.resolution), this.bl[1] + ((this.height - px[1]) * this.resolution)]; }, proj2geo: function(proj) { return this.transformer.inverse(proj); }, geo2proj: function(lngLat) { return this.transformer.forward(lngLat); }, image2geo: function(px) { return this.proj2geo(this.image2proj(px)); }, geo2image: function(lngLat) { return this.proj2image(this.geo2proj(lngLat)); }, getGeoBounds: function() { return [ this.proj2geo(this.bl), this.proj2geo(this.tr) ]; }, proj2geo2: function(proj) { return this.transformer.inverse(proj).reverse(); }, geo2proj2: function(latlng) { return this.transformer.forward(latlng.reverse()); }, geo2image2: function(latlng) { return this.proj2image(this.geo2proj(latlng.reverse())); }, image2geo2: function(px) { return this.proj2geo(this.image2proj(px).reverse()); }, getGeoBounds2: function() { return [ this.proj2geo(this.bl).reverse(), this.proj2geo(this.tr).reverse() ]; }, band3: [[206,264,390,462,430,407,433,796,1156,1600,1560,803,424,736,1632,1504,827,812,907,1008,1118,919,688,556,583,533,487,418,343,316,354,306,207,217,214,250,254,284,393,385,282,214,220,283,365,415,374,270,221,269,249,221,226,279,345,347,327,287,273,327,332,256,219,249,242,257,290,324,325,321,295,233,258,328,349,389,384,329,318,348,359,343,406,423,394,372,283,292,447,509,450,348,287,234,238,258,280,304,345,294,285,329,318,487,863,684,400,780,880,401,303,425,965,736,341,374,508,680,861,871,844,1604,1960,1848,1664,1460,1456,1390,1210,1001,1004,1140,946,892,1354,1792,1186,777,613,509,433,379,357,472,1026,1334,1274,1404,1298,1152,811,664,791,764,748,786,684,511,433,459,462,374,317,335,386,483,401,300,289,322,265,228,260,304,357,350,392,436,463,544,595,626,646,664,667,636,518,348,291,338,398,411,408,502,526,531,441,350,253,215,210,223,250,267,243,219,235,279,308,291,313,256,266,278,245,213,205,235,235,218,218,210,230,234,244,241,241,268,304,342,358,318,249,232,261,290,283,266,260,275,277,278,342,407,444,459,387,388,333,296,415,581,572,614,695,722,533,354,305,414,504,415,375,316,274,322,320,314,333,274,231,317,414,459,499,529,496,470,442,330,315,324,320,289,270,257,304,365,381,382,401,382,341,350,350,448,393,376,379,577,753,773,835,791,555,366,372,315,279,315,356,414,520,814,916,913,823,651,763,646,518,482,467,574,818,745,600,396,315,339,453,608,606,686,598,634,505,472,464,455,458,432,447,439,440,477,558,617,660,665,454,357,336,603,819,818,731,1018,1410,1136,747,649,926,1222,904,990,753,902,932,891,930,785,660,724,521,660,908,882,885,1012,804,727,644,633,510,401,419,482,488,604,614,754,695,565,443,427,524,635,706,638,450,346,332,346,349,304,299,288,349,379,376,411,347,293,282,284,268,270,298,518,560,406,579,537,483,372,332,406,509,504,348,220,203,206,200,224,302,265,203,194,206,200,192,186,174,172,196,206,218,215,462,871,1011,1050,904,561,608,840,832,831,739,625,680,477,396,385,499,492,357,297,324,374,393,354,387,458,383,263,229,377,311,272,332,364,329,237,209,274,329,498,896,617,843,924,845,603,472,1142,1422,1124,536,392,564,518,575,959,1178,769,482,420,562,512,426,372,287,314,347,354,415,473,411,450,393,448,968,1256,1216,727,411,356,295,343,442,550,714,1206,1574,1044,1120,1114,1021,960,889,764,865,893,924,1228,989,1396,1764,1580,1486,1284,1114,963,641,473,389,362,398,666,1218,1042,754,1422,1874,1150,504,366,468,477,643,857,980,1238,881,731,659,781,665,771,822,1023,1416,1592,1260,748,730,721,371,378,713,980,893,843,985,1318,1124,1072,1282,897,674,784,1040,1346,1480,1400,1260,1046,895,827,801,786,724,597,498,616,941,1054,1062,893,827,987,938,1144,1332,1120,871,705,1060,1180,734,498,483,618,1001,1212,699,466,484,503,455,451,486,511,501,406,283,278,339,403,447,460,390,423,424,426,477,485,492,520,554,560,494,494,561,652,695,660,698,767,707,680,777,703,554,520,620,623,656,1262,1522,1692,1992,2370,2130,1992,2342,2300,2128,1510,948,1102,752,484,962,1290,1302,1460,1208,758,747,675,825,1632,1760,1436,1218,1132,1084,834,828,993,971,699,564,954,1534,1466,1498,1624,1514,930,870,964,1108,1148,1032,788,611,584,595,517,425,379,667,1032,1516,1554,1550,1782,1808,1512,1466,1780,2008,1940,1504,864,1007,1050,1040,976,1376,1482,919,362,250,269,260,255,343,391,644,557,520,427,361,439,625,1080,1388,1382,1250,1346,1272,1232,1232,1168,1118,1034,751,572,489,578,732,537,573,514,400,283,433,648,516,275,299,313,382,730,1030,884,581,358,219,234,255,249,266,237,264,317,349,462,587,533,481,430,385,354,415,514,535,381,346,515,615,428,295,474,670,994,1034,596,883,1218,968,639,511,543,895,1218,1356,1334,1384,1454,1332,1344,1472,849,732,958,1094,1306,1362,1194,1478,2328,2166,1204,755,662,614,772,752,460,368,361,453,558,722,977,703,364,426,1026,1484,1028,582,347,282,258,291,423,407,457,814,971,1030,1068,1146,1292,1256,1282,1180,1416,1230,909,952,929,986,864,886,1074,1030,1050,1142,1192,924,1026,1030,1232,980,479,452,473,602,513,456,583,900,1094,1242,1372,1306,1168,1122,935,820,868,1130,891,821,1062,1076,788,1056,1350,975,917,1420,1194,484,530,866,845,1036,1282,1070,1038,586,374,330,366,333,418,638,644,480,435,405,328,434,542,838,1234,1318,1256,1096,1386,1688,1346,1412,1490,1184,1288,772,639,1084,1376,1252,1062,998,857,852,1228,1452,1102,1016,879,1104,1444,1362,1408,1324,1128,1076,1036,1001,1088,1174,1334,1266,818,678,895,1058,940,1158,1640,1368,960,1078,918,859,1001,984,1256,1218,710,546,408,728,1260,1288,587,315,432,695,993,1054,924,821,620,590,422,338,409,606,888,1230,901,652,705,567,522,896,1102,1182,1042,811,537,558,764,1088,1092,933,1198,1578,1404,1238,1644,1720,1658,1622,1368,925,931,962,1004,1146,1134,1306,739,457,555,581,731,996,1122,1396,1082,577,761,977,786,475,319,290,328,631,700,824,686,568,407,458,752,739,534,477,483,567,452,399,403,417,594,552,422,385,385,486,546,642,744,755,647,435,423,454,408,396,378,372,393,388,399,365,360,407,539,514,428,401,512,573,582,506,422,386,377,443,804,990,891,595,569,864,1174,1314,1328,1050,747,863,1156,1136,634,829,1114,885,913,1280,921,706,1072,1238,1050,1023,1134,1188,1288,1292,1130,871,915,1066,1020,1220,1194,838,969,1260,1164,939,526,341,302,307,564,1052,1000,1126,1152,1096,740,760,1370,1600,1508,1440,1378,1288,1238,880,495,506,575,461,411,398,351,347,327,345,373,384,362,364,337,328,318,312,323,342,347,335,332,343,362,356,323,325,478,541,705,714,452,390,605,637,619,856,1096,986,915,832,850,890,1290,1015,558,535,600,855,642,474,460,571,973,1092,1006,1009,1114,1232,1106,1018,1488,1844,1594,1738,1680,1566,1384,1320,1438,1182,943,1136,1192,656,434,567,824,959,1308,1226,710,790,1336,1398,1146,1106,1020,607,267,333,409,861,1728,1702,963,948,1256,1182,866,682,518,547,593,671,878,1044,838,1001,1404,945,801,971,775,913,1238,1026,972,1194,1102,695,449,298,461,972,1172,1112,912,903,1054,973,908,797,539,337,477,877,992,452,355,702,1021,666,676,832,749,783,988,1130,951,900,996,1076,1202,1358,1180,646,746,879,896,1072,1306,1210,723,538,1007,1208,991,1490,1272,700,514,746,1240,1586,1650,1522,1262,1246,1390,1608,1124,968,1214,1200,1208,816,527,574,481,377,393,800,1498,1650,886,424,500,495,482,547,540,637,852,984,1218,1378,1200,1242,1190,1460,1392,1104,794,965,888,778,558,499,656,851,1064,743,626,881,759,386,303,287,312,297,450,849,815,347,289,345,722,964,1294,1122,686,441,350,296,319,316,473,924,1102,1013,814,604,565,462,447,375,368,462,419,443,731,1310,1650,1116,611,328,306,392,615,1240,1286,1078,1210,1028,926,1108,708,765,675,494,409,374,385,413,367,528,633,644,845,686,451,421,562,487,474,526,602,990,1238,1078,778,553,532,426,357,356,325,309,292,308,328,312,294,297,314,290,270,259,263,262,234,261,272,281,250,231,241,236,270,320,327,277,296,284,270,264,275,279,261,251,275,272,258,283,331,323,337,366,401,414,451,427,394,359,333,349,361,350,340,351,408,413,562,608,429,399,414,433,480,505,482,437,456,589,637,549,492,450,427,411,426,410,374,370,414,529,546,614,745,489,560,609,558,611,754,1058,984,600,416,383,428,461,429,398,370,420,616,788,731,660,597,614,684,643,621,808,742,444,406,400,370,310,370,440,469,446,379,364,384,387,426,421,419,467,399,361,373,427,560,553,831,835,565,504,462,439,472,488,510,480,462,457,669,545,416,398,621,744,631,570,371,350,356,380,349,389,490,530,502,880,1440,1152,619,662,487,442,439,556,680,988,769,622,945,1078,843,725,955,879,790,937,988,639,477,500,508,456,408,424,423,370,408,441,526,540],[223,269,382,464,400,390,380,717,1072,1194,1078,694,524,689,1030,1076,832,868,977,1172,922,655,661,574,544,532,486,406,336,315,347,283,192,244,238,232,299,352,344,298,253,232,246,349,404,355,290,287,300,383,289,265,285,290,321,359,389,329,302,302,295,282,249,242,248,274,311,342,349,339,314,281,325,352,339,360,364,342,319,315,466,433,276,300,334,311,222,230,296,285,256,252,285,287,290,290,311,328,334,307,293,357,338,301,306,321,340,581,562,392,320,497,871,562,341,319,488,904,1096,996,714,1294,1400,1456,1204,1384,1534,1338,1294,998,745,1114,1488,1678,1838,2260,1360,908,751,603,614,710,853,1010,1246,1404,1454,1426,1070,866,704,684,750,628,603,675,694,642,476,397,388,333,319,309,348,405,339,245,208,227,235,255,278,310,411,423,373,414,535,667,626,578,584,551,455,339,316,360,473,514,461,370,394,496,429,422,390,269,219,240,235,242,248,234,217,251,352,486,466,439,509,539,483,383,264,267,282,253,239,237,253,247,258,255,274,287,288,307,335,339,336,325,296,249,294,262,275,274,265,275,276,259,307,383,404,462,371,316,378,369,354,422,474,470,518,542,443,376,333,344,347,417,415,327,303,345,345,316,385,423,337,233,305,408,417,471,498,443,500,408,299,284,265,244,264,282,322,408,411,403,520,431,379,336,290,386,401,354,338,419,655,724,672,604,506,359,415,370,308,321,351,409,474,762,1019,764,641,818,789,772,781,902,814,712,827,742,506,354,326,328,438,606,835,1000,1046,796,651,818,688,490,666,565,437,465,498,566,753,568,406,476,488,445,510,767,937,822,495,683,1017,1014,1009,1011,1062,1008,1130,1490,1278,893,808,968,1114,982,835,872,995,866,867,1062,1244,1122,776,697,888,860,562,420,358,408,698,1146,718,656,612,403,356,426,484,528,415,386,366,313,313,334,365,318,349,372,394,380,370,340,289,305,310,307,300,305,305,513,511,443,344,359,388,318,285,403,680,695,391,164,198,202,192,255,285,227,202,195,214,221,232,233,223,199,201,200,210,257,661,885,930,999,865,577,548,526,662,781,612,501,461,418,429,477,580,490,338,296,326,359,361,352,401,702,620,357,231,247,284,260,267,289,272,264,280,318,343,326,418,289,390,701,794,540,404,832,1510,1454,601,367,675,710,400,494,426,378,328,386,743,755,481,460,511,570,423,461,505,570,461,417,469,506,712,894,954,691,409,388,348,369,534,1152,1228,1352,1526,1726,1544,1332,1142,1056,1162,943,669,555,633,1130,1236,1328,1296,812,828,1208,1272,894,703,669,428,385,393,756,1394,1222,1001,1218,1506,1030,489,326,336,309,348,483,792,1178,1306,1098,581,727,673,702,715,881,1384,1420,1282,714,437,353,316,341,985,1096,1134,1354,1430,1570,1454,1286,1366,1374,1352,1056,893,763,611,518,603,671,726,619,427,352,350,431,458,654,1362,1172,882,1198,1144,1118,1150,1062,691,775,1148,1288,1284,1288,960,607,501,477,600,783,490,470,513,505,482,481,508,506,473,447,395,368,405,435,367,375,465,474,448,460,486,473,512,503,394,336,423,491,563,627,633,675,750,717,647,713,771,698,688,598,591,592,592,1038,1344,1438,1446,1714,1924,2146,2330,2510,2810,2652,1934,1800,1094,476,633,945,1158,1394,1248,875,942,868,1238,1756,1908,1694,1364,1128,1266,1328,1198,1284,1250,886,1056,577,573,788,1148,1206,1158,1006,985,1244,1284,955,890,805,823,789,495,442,449,425,612,1102,1320,1100,1050,1502,1720,1552,1576,1656,1778,1862,1670,892,899,1052,1308,1316,1480,1748,1180,364,255,234,261,268,426,454,427,307,270,258,329,504,811,1290,1842,1950,1278,1388,1320,1292,1238,1272,1276,1136,1134,1136,851,878,816,615,654,588,450,290,325,443,399,361,434,390,306,447,482,426,594,495,347,249,254,267,245,239,232,220,252,461,781,896,805,702,533,371,446,516,445,333,362,364,308,313,296,281,323,545,427,318,392,771,697,456,396,639,982,956,1246,1424,1290,978,1150,1470,1438,754,899,799,728,1072,897,714,757,1262,1710,1520,1013,666,544,653,730,479,427,537,575,513,458,599,452,328,354,1076,1478,965,614,438,331,313,311,361,380,458,814,1080,1058,1122,1098,1114,1136,1374,1342,1470,1528,1270,1174,1110,966,789,850,753,678,704,850,683,605,980,1216,1238,865,430,408,666,780,453,385,489,749,843,1110,1286,1390,1782,1602,1274,1162,901,887,1023,1310,1224,1230,1052,989,994,711,985,1438,1296,725,596,916,1028,1232,1122,927,1116,893,482,313,366,408,465,677,742,544,429,503,583,976,904,828,998,1156,1160,783,949,1232,1114,1234,1306,1180,1250,912,899,1230,1578,1350,893,1008,845,768,940,949,928,1092,1212,1320,1312,1296,1304,1112,1160,1090,1036,673,544,711,772,884,719,558,927,1328,1009,984,1438,1112,868,948,943,630,747,1122,1192,844,854,865,615,632,888,819,416,409,777,1080,1394,1708,1310,700,578,500,389,437,468,597,1164,1430,792,1136,1656,805,606,1066,1166,1104,1009,929,598,448,697,1186,1094,1300,1420,1390,1488,1472,1792,1808,1504,1302,1246,1216,1078,1162,1124,1100,1372,1466,1080,896,663,529,985,1276,1024,1068,987,628,821,1092,843,467,302,331,418,525,636,483,265,277,334,531,877,852,692,568,521,535,543,635,614,516,485,420,447,468,486,632,747,862,854,762,516,376,415,441,389,345,351,399,404,368,355,367,383,352,373,387,379,499,598,619,509,370,357,379,430,434,625,598,547,583,645,758,1158,1390,1396,1186,785,670,1054,1282,863,667,885,1126,1084,1084,991,874,777,904,1174,1298,1180,1274,1318,1300,1070,1072,1038,1072,992,1134,1200,789,944,1096,1094,766,906,549,298,409,805,1060,1102,1148,1086,850,549,905,1876,1456,1256,1290,1166,753,789,883,569,488,526,433,404,397,357,382,370,354,366,361,350,341,334,334,330,327,330,325,328,347,365,361,386,361,309,318,529,810,779,485,354,413,641,519,613,817,1044,1032,1086,1104,985,871,1176,1188,762,668,783,966,935,960,626,636,888,993,1118,1152,1260,1340,1142,980,943,1148,1580,1682,1438,1322,1206,1230,1352,1214,998,1232,1044,705,651,893,1034,1248,1418,1360,749,662,1064,1070,1064,1238,1188,824,362,365,360,672,1234,1110,757,807,926,1104,1410,1556,1012,866,1120,915,918,1164,970,892,1096,834,1008,1094,675,902,1222,1076,1200,1370,1282,936,634,461,360,692,852,936,1152,1138,1066,949,698,611,517,504,664,1044,1017,511,331,380,475,536,725,846,838,619,1064,1130,942,937,896,733,1166,1428,1312,1138,1022,847,869,675,808,1168,1140,1080,1180,1016,1198,1154,951,1108,991,741,1110,1304,1412,1090,871,1294,1294,863,432,483,645,952,1338,1268,772,696,527,428,385,672,1358,1396,1016,930,993,703,557,550,428,642,998,1001,789,902,1388,1414,1274,1432,1274,969,1024,1028,810,908,656,569,639,898,1316,962,1144,1448,755,294,433,502,346,296,475,995,747,340,249,381,1009,1036,1174,1066,723,481,365,378,589,544,590,979,1368,1368,799,698,526,436,532,438,384,517,608,716,846,1214,1256,1130,597,386,458,482,933,1458,1166,830,682,693,1064,1174,757,692,560,516,429,366,385,480,430,458,532,448,653,578,465,409,522,455,509,606,677,1046,1278,1248,996,668,602,495,440,411,357,330,313,325,334,341,320,309,307,287,277,261,261,259,259,277,291,301,260,250,269,260,270,315,352,349,356,315,291,290,281,272,247,253,274,271,272,270,290,309,327,348,336,335,359,349,323,316,322,355,357,365,373,322,322,315,407,419,403,391,401,450,525,519,420,472,630,630,535,491,475,491,482,461,446,411,372,396,489,517,511,703,744,560,692,749,600,633,699,755,593,384,362,376,393,486,418,391,454,518,715,788,635,556,521,473,429,422,546,831,656,388,345,405,393,365,407,435,432,457,480,432,381,393,412,377,371,448,407,357,393,586,608,554,848,860,524,501,624,657,677,794,738,521,427,394,382,364,387,390,396,403,427,460,484,662,542,378,407,453,678,684,481,954,1520,1344,892,788,509,410,439,634,700,833,749,582,550,487,518,697,906,733,985,1248,1108,912,648,531,504,462,447,405,508,479,498,547,646,603],[227,245,353,431,390,396,383,633,946,752,422,419,487,526,664,777,663,609,695,899,649,543,541,491,474,469,419,339,359,377,383,335,227,259,344,430,472,405,324,279,272,264,243,303,321,313,284,300,332,359,299,312,307,301,306,347,390,326,259,228,264,308,297,254,257,291,321,351,356,358,354,334,412,358,300,288,299,313,308,313,570,586,293,241,238,222,222,207,211,268,292,285,332,321,302,321,339,337,314,264,240,268,236,221,273,290,361,548,530,543,554,842,1044,710,640,404,678,1096,1002,1216,911,836,1046,1352,1660,1996,1632,1338,1720,1450,782,1306,1722,1636,1692,1848,1306,956,894,871,906,908,927,735,705,1070,1374,1246,833,589,535,483,518,580,502,457,591,708,489,408,347,315,292,299,253,232,227,226,239,255,318,382,330,365,392,406,424,547,672,700,583,485,474,424,305,304,437,516,532,376,222,213,287,363,307,263,317,317,317,316,310,278,248,254,269,299,346,412,764,941,836,552,436,471,486,411,365,339,315,295,295,324,306,298,325,339,321,307,286,271,273,305,288,298,363,298,296,294,244,268,261,237,283,363,375,467,385,314,332,345,321,348,376,365,375,478,539,553,468,628,791,850,555,383,361,388,374,319,363,481,404,226,259,332,390,365,381,396,469,436,342,306,280,254,263,283,300,348,424,453,520,436,346,321,293,333,405,367,355,367,587,653,512,538,513,431,404,363,341,336,350,416,499,722,929,741,907,907,627,708,861,1258,1160,876,733,658,528,423,399,361,373,725,1562,1854,1422,1006,922,1108,935,955,1104,642,498,528,454,868,1422,846,413,451,515,536,836,1020,802,793,859,911,971,1220,1058,791,785,933,1062,1904,2108,1086,1454,1566,1062,893,784,833,1344,995,735,1114,1242,1130,912,715,969,807,577,365,354,385,460,408,396,467,407,310,401,425,438,494,407,494,483,468,380,375,368,339,384,391,387,444,426,330,328,336,354,319,298,261,280,591,771,531,280,259,306,271,223,238,437,780,697,306,219,216,250,392,328,169,179,167,184,214,224,222,209,205,195,189,187,420,836,947,835,793,753,613,585,622,771,645,399,427,478,445,496,528,492,509,503,387,330,355,429,513,495,583,500,460,387,332,335,337,271,234,223,257,291,314,291,276,299,337,281,314,386,352,348,452,752,844,672,430,881,957,388,228,257,289,413,629,945,940,507,698,1200,1007,559,666,687,607,489,465,502,584,942,1248,865,496,425,466,360,359,574,881,1060,1154,1142,1320,1350,1196,991,948,995,700,535,550,609,1108,1312,1200,974,617,470,728,1023,1082,1178,944,533,549,533,857,1330,1258,1064,1058,1036,818,506,510,684,604,699,590,594,1009,1438,1206,642,702,844,885,956,1318,1426,1182,1472,1382,952,856,946,1052,1404,1480,1450,1586,1888,1920,1416,1054,1202,1166,829,461,302,428,499,477,502,599,695,628,526,509,486,467,469,917,1336,855,924,1278,1066,962,1003,728,430,692,1013,747,619,951,935,1136,1034,838,859,586,511,544,525,515,495,508,517,483,465,475,441,393,417,432,365,386,507,532,589,530,457,441,456,484,354,281,404,473,547,615,612,672,743,699,626,713,812,753,680,561,489,526,464,528,664,655,698,781,845,1110,1868,2612,2918,3042,2932,2530,1542,602,507,826,1106,1510,1230,825,987,1218,1484,1654,1938,1792,1416,1212,1306,1266,1290,1860,2088,1340,1050,582,423,364,575,1026,1086,827,709,1080,1218,833,819,948,780,595,505,492,444,579,893,1266,1440,1308,1310,1742,1692,1640,1444,1600,1710,1716,1448,986,982,1096,1360,1426,1492,1578,969,299,273,221,243,227,302,304,332,369,359,371,415,544,868,1324,1488,1140,1056,1362,1300,1148,1098,1116,995,958,1222,1184,1194,1218,1030,1002,735,669,496,314,281,310,310,349,440,408,325,313,308,435,635,778,672,437,300,251,251,244,243,258,274,386,805,1110,1034,959,902,792,695,585,364,263,332,319,287,311,294,286,283,241,225,318,406,615,636,386,397,783,1208,1019,985,1846,1572,779,692,1122,1080,779,777,658,659,928,826,921,940,777,941,1150,1420,1134,651,717,801,415,469,665,796,705,619,695,817,794,492,670,841,745,526,458,408,363,339,419,426,430,715,1222,1368,1344,1086,962,1278,1476,1416,1470,1592,1552,1440,1394,1120,1102,1314,975,508,532,866,875,755,706,972,1280,832,454,415,596,735,519,412,519,645,775,1110,1356,1582,1398,1142,1288,1342,1300,1206,1168,1054,894,1009,1056,1100,838,545,803,941,896,730,897,990,1040,1058,706,437,785,1050,785,452,603,688,637,1214,1110,738,901,1130,1262,1288,1040,1044,936,1007,996,572,945,1084,841,857,818,794,810,959,1126,1218,1266,1190,907,890,632,583,583,479,525,952,868,722,898,1176,1156,959,1094,1009,966,679,683,687,572,915,833,537,745,912,612,653,930,918,893,1192,987,619,698,963,779,660,728,698,737,590,604,976,830,557,1118,1266,1208,1462,874,484,480,444,502,520,474,828,1224,1256,771,921,1288,1190,1034,1136,1320,891,459,617,636,576,915,1258,1238,1422,1570,1354,1152,978,1284,1308,1142,1328,1428,1388,1044,900,882,926,1068,778,686,864,885,483,565,843,850,700,604,475,615,736,799,519,406,626,689,745,825,538,327,319,347,426,702,713,761,698,733,757,667,630,518,427,407,411,444,481,480,517,750,974,849,596,481,463,456,458,422,386,391,423,411,383,360,389,388,358,404,435,419,410,404,433,352,373,375,373,391,374,500,611,520,566,768,769,1180,1454,1460,1112,911,631,1046,1476,1370,1019,839,1030,1084,932,841,866,661,901,1356,1272,1614,1570,1394,1438,1664,1674,1274,1110,1040,1164,1068,651,602,675,667,755,963,614,370,397,485,607,767,866,1005,999,976,1058,1084,725,974,1168,960,590,837,1048,609,419,417,388,408,420,378,392,375,353,362,355,339,340,324,315,330,345,339,356,360,349,323,309,364,457,609,724,717,628,413,377,363,371,674,906,1038,1098,1132,1156,1015,756,595,386,542,913,737,719,1130,999,705,774,780,957,849,742,1040,1142,1110,1166,1076,1060,1084,1400,1716,1716,1406,1050,1136,1476,1522,1406,1250,1014,608,890,836,984,944,1362,1218,751,508,518,625,821,1142,1354,1310,1028,731,579,515,789,1050,595,709,1040,1268,1366,1714,2302,1302,1344,1300,706,591,573,486,463,528,605,988,1066,1007,1076,1192,1126,1256,1298,1182,656,385,489,368,300,529,1024,1150,1092,1124,1026,876,825,551,514,808,1064,770,522,551,552,500,521,785,830,872,858,1248,868,801,824,782,651,730,1096,1094,838,544,415,607,469,576,1132,1068,1044,1164,1182,1542,1274,843,1104,797,683,1088,1272,992,692,1116,1362,1140,990,919,696,534,744,1170,1332,1021,731,537,445,378,546,1034,1332,1312,1220,1052,776,642,579,565,970,1013,1090,1030,1400,1458,1120,1268,1260,1252,1460,1310,904,918,1000,683,781,838,745,971,819,1180,1536,1030,641,901,1100,617,368,799,982,444,299,306,505,1022,1126,871,739,731,541,481,492,973,1040,1216,1304,1562,1306,1186,1362,807,390,456,478,483,801,1240,1340,1056,1184,990,1152,782,555,827,697,1040,1518,1016,604,696,768,1164,1208,1252,828,483,473,463,417,426,444,395,334,366,305,567,633,545,411,358,357,541,756,907,1204,1152,1146,1028,767,683,551,461,419,408,376,374,414,395,342,276,285,301,297,280,266,246,253,255,262,272,270,263,300,308,302,283,303,293,374,409,355,350,355,300,265,278,279,272,274,295,311,357,333,329,335,311,327,355,308,289,288,333,393,335,329,329,337,329,337,372,407,416,393,381,392,456,473,471,535,538,455,436,412,418,436,454,480,456,402,369,439,500,587,718,755,758,690,791,789,739,708,705,644,513,452,426,401,491,619,414,419,533,594,570,458,433,440,411,395,389,479,502,611,564,422,383,378,331,346,450,547,474,428,479,441,400,405,374,361,346,385,385,366,403,506,493,511,708,692,463,552,624,641,578,726,713,536,419,354,362,409,412,381,442,435,381,357,751,1188,1032,911,764,657,830,762,865,1158,1700,1976,1542,984,680,578,672,879,786,701,713,585,505,610,721,717,814,848,1310,1604,1400,1294,1070,744,698,525,451,437,656,632,536,587,609,629],[213,213,305,382,384,421,423,576,803,620,406,424,462,545,724,628,602,601,574,572,530,459,399,440,463,488,477,400,396,460,431,379,276,246,365,537,559,434,327,244,233,227,192,227,320,293,287,303,283,275,312,317,271,286,350,368,336,300,245,217,242,290,306,283,280,294,331,353,352,346,335,290,423,482,538,465,362,364,356,306,383,423,342,319,270,274,294,268,249,289,307,298,318,327,308,330,320,279,258,217,202,253,271,350,391,332,286,416,652,720,813,1186,1108,1154,1102,634,665,701,995,1102,759,581,890,1404,1650,1754,1554,1318,1446,1396,884,998,1002,990,999,876,722,671,654,475,455,446,579,606,677,844,1284,1294,725,348,469,532,532,564,553,580,795,706,520,442,349,267,207,217,223,231,252,255,243,276,507,628,449,458,472,478,536,642,712,721,614,471,384,356,412,487,440,376,326,298,270,272,280,325,373,342,383,433,482,437,385,367,376,412,385,372,350,875,1776,1898,1366,672,558,686,941,1062,904,653,440,397,387,346,343,383,378,334,276,261,242,260,274,296,273,326,391,378,367,333,256,298,306,259,271,341,378,467,402,323,337,330,324,312,231,218,296,484,606,620,480,673,775,722,542,419,390,427,477,480,407,500,393,253,249,422,485,395,409,437,452,475,410,322,296,285,305,306,293,367,543,536,524,570,444,337,298,299,384,403,441,449,520,478,397,514,614,517,397,368,343,342,315,379,459,531,778,792,783,818,847,833,887,908,652,634,543,587,608,576,526,439,392,1038,1872,1948,1508,1122,985,1066,1262,1150,835,497,522,665,552,979,1352,826,455,619,694,643,708,790,620,779,935,984,972,1158,810,500,716,944,882,1248,1026,830,1394,1200,896,1009,677,580,764,868,948,1054,1064,783,886,968,966,563,698,521,380,480,507,412,379,383,328,390,573,475,535,634,526,568,546,526,407,330,314,339,383,382,368,439,403,329,339,347,353,336,318,281,295,667,995,846,467,313,363,272,225,266,249,617,746,406,204,208,224,359,389,188,185,186,195,230,251,242,229,223,196,187,245,626,1019,1001,869,809,651,605,513,700,1009,990,829,623,437,466,544,478,446,522,573,541,626,894,644,448,479,440,383,425,444,340,328,385,320,232,184,250,289,314,270,275,296,267,251,282,318,332,319,336,371,443,681,559,519,473,359,305,306,341,464,735,900,886,732,865,1218,923,552,601,678,604,458,451,448,576,1426,1720,919,627,427,371,372,537,731,731,1026,1142,1028,1086,1076,886,642,560,565,638,807,697,396,509,575,498,411,383,396,562,689,859,1390,1260,976,901,774,865,1428,1558,1242,1100,990,960,750,1210,1278,1068,946,567,767,1316,1284,1108,973,884,1076,1054,1210,1470,1676,1700,1736,1722,1768,1608,1160,1023,1428,1520,1526,1316,1226,1378,1238,984,1138,1130,868,558,350,374,390,430,570,655,650,663,556,474,448,469,675,846,686,407,587,734,547,482,555,546,512,692,644,511,681,1001,942,1032,1332,1532,1216,714,565,568,525,532,522,514,500,489,512,497,483,483,451,437,362,345,456,500,591,521,361,362,358,426,412,362,449,530,556,636,670,711,707,715,685,728,758,625,533,444,406,456,405,400,521,583,669,744,526,522,1070,2028,2544,2990,3146,2810,1998,968,980,1360,1452,1366,1068,1036,1110,939,1238,1622,1858,1874,1704,1854,1654,1166,1182,1074,1752,1390,732,472,412,434,677,1090,1262,678,673,1009,919,781,837,1032,593,502,1026,841,595,827,1050,1276,1144,1023,1222,1662,1566,1382,1270,1440,1448,1678,1294,1040,1428,1568,1426,1158,1196,1594,1340,461,271,264,252,250,239,262,385,452,454,478,418,612,1182,1204,1268,1152,1190,1218,1104,990,945,882,787,1008,1406,1168,1538,1326,1120,1090,957,821,658,458,406,338,284,290,350,493,393,347,367,680,736,790,843,636,310,286,269,227,235,253,255,345,738,959,984,980,998,932,848,782,716,689,424,305,291,296,280,283,254,281,343,404,496,646,708,402,399,882,1432,1518,1328,1158,992,1078,1160,1004,904,786,569,913,1222,1048,1096,866,777,937,1134,1220,1192,1220,1034,1110,1300,969,709,692,873,1040,1096,1298,1428,1360,1118,848,696,567,432,412,364,398,680,943,716,468,671,1108,1282,1278,944,664,678,646,897,1192,1542,1414,1554,1724,1628,1406,1154,1042,836,903,1198,1322,837,401,633,1019,831,625,421,371,368,369,440,489,561,794,1080,1176,1122,971,1348,1428,1508,1548,1504,1262,735,660,699,796,1228,1318,951,850,1142,1134,1060,1104,951,858,1116,990,598,770,1050,1054,842,1112,1072,1030,1480,1400,1288,1426,1272,1028,715,656,961,1007,1220,866,884,1152,962,854,831,725,709,848,933,1026,1254,1416,1100,1158,1180,748,523,423,437,426,484,571,707,926,1072,1198,1160,1192,1122,904,732,918,934,1013,1134,777,610,731,631,750,739,708,582,778,1238,1158,1026,1106,1096,965,817,586,728,1074,791,612,1066,1190,799,976,1034,1136,999,588,485,525,532,548,570,627,906,1182,1180,1174,1002,1152,1446,1308,1310,1164,412,332,336,418,664,1124,1172,1300,1432,1702,1342,699,689,637,658,1072,1512,1566,1278,1082,905,987,1016,839,535,382,631,725,370,303,308,306,364,347,420,541,732,668,392,399,535,568,697,860,648,421,298,293,361,533,666,788,762,656,487,426,508,479,451,421,421,458,505,559,527,699,916,841,642,554,487,425,445,428,383,406,424,397,424,429,437,455,424,447,451,352,326,342,324,330,360,354,415,440,387,401,536,638,468,685,725,1084,1352,1428,1052,955,651,837,1450,1676,1054,657,918,824,733,778,567,415,612,737,883,1888,1826,1242,1358,1548,1482,1270,1050,933,938,655,487,469,601,598,768,767,612,481,415,394,350,412,819,1246,1182,1208,1296,1001,957,1110,1100,871,660,880,1294,774,469,428,429,422,402,405,387,363,370,393,382,338,312,332,335,355,371,360,384,458,559,679,887,1028,1003,1042,881,562,409,375,381,371,382,489,717,1178,1418,1280,1296,1360,966,778,758,702,792,1064,1114,983,677,553,484,691,1102,751,630,985,1232,1594,1534,1250,1214,1204,1354,1666,1656,1512,1262,1350,1700,1604,1382,1364,854,477,469,421,383,502,704,504,416,524,579,792,1078,1312,1498,1310,1140,940,880,890,1001,883,581,691,753,705,745,1208,1610,860,915,1464,962,560,617,820,807,714,1092,1438,1210,1482,1296,1120,1178,1358,1232,1070,712,489,466,349,346,620,867,683,1062,1328,828,988,946,584,394,791,1186,959,712,845,861,735,1088,1420,883,583,1196,1384,1082,780,704,844,811,853,1074,798,501,307,300,419,521,1028,1494,821,533,876,1504,2270,1550,737,777,655,957,1262,1214,1014,835,908,978,998,1034,1160,978,689,656,709,849,889,535,407,314,338,434,908,1140,649,538,650,781,790,731,903,852,1048,1494,1376,1418,1072,721,941,1072,871,844,1086,850,1122,1076,871,1122,1242,1164,760,344,535,910,1154,1230,842,1015,607,322,379,448,453,430,491,764,1088,1036,520,525,944,694,705,675,760,1308,1938,1544,1272,1202,1368,1406,805,445,446,381,365,470,634,960,1086,1296,1298,1276,1026,1052,1200,922,1042,1274,768,486,933,1100,872,821,1064,896,643,522,592,527,464,282,280,353,383,328,402,599,699,500,400,404,516,760,913,1116,1178,1168,884,922,874,688,514,439,433,419,519,646,565,415,323,294,299,292,282,272,255,266,269,244,266,305,258,313,310,280,305,315,320,440,442,353,345,351,316,280,291,282,287,339,330,318,337,331,312,311,306,331,350,331,319,305,394,385,351,307,287,307,310,320,355,384,378,346,335,358,366,473,549,532,478,484,508,469,437,403,408,452,448,420,387,437,492,620,1100,1246,1062,879,960,1164,1132,914,677,565,565,504,465,425,449,457,426,468,559,630,590,535,495,434,419,416,392,598,685,649,541,409,390,424,402,391,484,583,510,383,394,398,388,378,342,362,381,377,373,387,412,492,469,487,530,524,474,425,366,347,324,461,761,828,489,418,401,415,407,502,523,524,603,576,897,1334,1318,1070,1003,804,797,857,1262,1396,1660,1896,1532,1100,1072,933,858,921,828,742,843,730,626,606,583,641,911,1040,1556,2078,2178,2052,1342,1022,1022,642,439,479,708,767,622,667,680,620],[208,190,270,393,449,502,535,542,771,645,402,384,427,794,969,659,532,510,491,494,486,467,406,394,478,496,485,404,368,440,428,385,325,296,341,375,348,326,339,258,196,179,191,189,295,357,304,263,271,294,314,325,325,341,404,388,279,210,199,188,206,280,319,325,419,557,380,345,324,309,302,240,365,508,536,434,334,339,363,367,437,435,379,423,332,249,250,279,276,283,288,277,280,299,280,301,261,244,328,321,326,362,340,403,345,265,315,386,454,705,1088,1100,884,814,843,855,848,794,1018,1060,1038,1072,1228,1318,1292,1260,1228,1228,1344,1228,874,940,863,647,623,577,448,458,530,436,462,459,410,473,569,628,876,1252,1018,489,489,511,535,591,646,723,846,634,518,392,303,254,199,231,278,269,264,267,314,297,433,528,599,678,704,732,743,716,707,625,453,406,406,483,543,453,298,249,303,355,339,311,338,388,415,400,412,487,444,426,411,412,435,458,427,413,430,684,1392,1770,1106,672,672,702,739,913,883,544,403,457,393,309,354,384,411,414,296,240,228,253,301,289,275,355,408,419,409,379,386,403,398,343,295,318,379,457,426,313,282,282,264,209,201,246,295,531,644,584,526,584,704,819,833,786,773,611,650,595,464,523,468,302,253,472,552,441,442,455,415,466,432,362,348,328,316,339,320,489,703,577,469,608,519,417,384,341,374,365,399,490,553,484,400,501,634,506,344,361,331,340,304,330,324,350,638,822,821,791,869,828,602,681,605,601,650,756,920,979,760,690,783,1434,1968,1944,1310,1184,1006,1190,1500,1520,785,472,475,620,690,803,887,721,713,793,781,708,651,764,792,965,1236,1328,1328,1192,871,818,933,893,719,1086,989,958,602,726,1162,1250,771,398,568,922,871,912,973,881,714,595,515,527,677,543,426,543,635,478,391,494,604,451,506,486,526,520,435,474,535,458,369,361,366,315,303,305,299,332,332,332,338,338,312,301,314,313,320,468,700,971,530,408,610,400,265,259,227,314,394,306,192,219,311,436,377,249,233,219,208,221,236,219,220,235,215,214,350,737,985,1013,921,841,774,675,805,922,945,1196,1220,775,541,627,542,506,533,553,609,616,601,560,371,309,356,371,359,379,310,261,340,357,338,250,226,268,321,407,418,524,496,330,232,315,668,717,481,481,555,648,688,603,399,310,310,347,475,496,555,633,728,811,727,791,826,747,473,454,705,650,437,447,454,689,1432,1232,695,521,374,350,481,951,1272,1340,1786,2118,1182,1023,788,840,904,844,880,1012,996,614,354,336,365,287,316,365,380,474,614,1078,1406,1194,1088,1068,1158,1196,1272,1282,1368,1376,1376,1268,1152,1426,1316,1182,1112,1100,1300,1180,683,861,1246,1460,1456,1194,1340,1322,1554,1828,1744,1554,1342,1138,1010,823,1324,1514,1602,1326,1256,1632,1172,984,1084,1080,900,674,572,443,369,444,658,730,583,871,740,454,375,414,517,556,537,473,440,421,357,347,346,398,467,404,486,598,558,914,1116,1176,1356,1116,1222,1196,940,697,568,555,546,502,498,503,523,501,521,519,469,484,398,298,339,506,646,586,438,465,452,464,485,413,430,539,525,597,659,662,607,627,716,732,619,486,425,380,345,355,377,838,1310,944,879,903,541,420,619,1192,1786,2562,3030,2764,2104,1528,1936,1634,1886,1672,1562,1316,1022,1126,1372,1268,1764,1926,1772,1460,1422,1272,1372,1072,1396,1498,959,818,742,976,1648,1360,1184,990,1326,1300,1290,879,681,1110,1416,1162,904,876,798,912,1046,1182,930,915,1514,1520,1400,1422,1522,1844,1910,1770,1336,995,1412,1780,1698,1070,1114,1574,1322,498,257,258,258,253,236,291,381,433,459,450,356,626,1410,1370,1316,1152,999,1010,985,846,657,601,617,818,1098,1322,1604,1356,965,813,911,970,919,782,558,438,315,356,482,730,498,299,393,701,813,722,718,576,251,292,301,274,255,267,276,568,816,894,1023,992,957,934,850,701,821,932,699,438,344,280,280,283,280,299,327,462,738,674,666,476,477,784,968,1108,1036,848,992,1136,1390,1498,1382,1092,896,1294,1536,1450,1246,844,669,818,1322,1362,990,938,815,1078,949,885,886,928,802,899,1080,1166,1210,990,787,1164,1074,830,591,479,375,333,634,702,637,599,551,588,841,1078,792,482,441,604,887,1108,1500,1478,1456,1670,1692,1144,988,1172,861,921,1324,1306,655,744,669,1102,1072,703,365,362,415,491,560,756,642,725,1046,1023,1222,1380,1596,1656,1580,1354,1524,1500,1122,991,800,683,952,1001,870,770,1048,1086,902,852,802,973,1342,1086,1110,1013,1206,1236,872,1010,1030,1150,1338,1302,1360,1454,1350,1126,865,678,838,1048,1384,1138,1350,1288,1210,1312,1104,935,698,722,816,797,1046,1014,686,1044,1140,713,541,470,394,361,500,735,850,1158,1126,1148,1410,1454,1302,1168,1106,1001,893,1130,1230,802,515,550,673,929,846,612,709,1012,1172,1194,1250,1322,980,1168,1104,984,1066,1048,844,1238,1464,1102,1001,921,717,700,940,959,665,489,489,480,683,703,904,1104,1158,1276,792,657,960,1198,1216,668,427,326,359,430,521,778,1150,1490,1426,1316,949,494,766,600,667,1356,1490,1212,1146,1098,912,747,753,608,403,367,373,250,222,230,243,247,325,350,476,634,722,571,344,383,426,484,559,582,393,287,246,287,336,368,555,756,716,656,569,447,524,469,438,427,430,448,490,554,565,610,666,628,547,537,462,417,403,391,348,372,477,573,550,478,483,545,547,449,389,332,369,376,364,379,389,333,415,444,487,506,453,682,495,597,603,843,1208,1266,928,799,685,661,1106,1478,929,564,827,839,815,1003,596,510,558,474,722,1052,935,1174,1476,1198,1018,1054,929,1062,1272,880,695,786,902,953,691,448,733,963,717,461,431,440,713,1120,1070,1086,1056,969,1162,1460,1242,944,916,1152,1286,841,505,420,442,440,417,414,372,321,322,354,384,415,465,505,488,479,553,641,872,1136,1238,1240,1216,996,730,798,636,574,419,358,369,368,359,305,448,958,1242,1098,1200,1646,1412,1021,1026,805,648,830,787,628,493,583,620,973,1206,1054,996,1040,1002,1324,1356,1356,1350,1376,1542,1766,1854,1622,1404,1700,1740,1756,1520,1498,1152,790,491,413,352,445,533,406,442,633,847,1356,1410,1456,1164,1018,828,797,1074,910,642,617,467,484,375,501,745,828,1068,684,613,1088,972,788,997,865,591,750,755,966,1272,1240,1090,1096,1182,1290,1264,1244,1178,1108,866,390,475,368,306,500,809,907,884,1116,1054,811,604,821,1220,1316,1138,846,709,783,1070,1062,1017,1036,1268,1144,875,918,885,658,582,914,1010,675,498,312,250,343,387,571,871,767,716,904,1178,1094,571,579,1086,1230,1278,1288,1028,1260,1130,543,648,1156,1290,926,667,743,534,662,948,887,599,411,424,494,554,879,967,707,898,1202,1120,832,807,1024,944,1038,1248,1344,1080,674,741,786,1001,830,583,888,777,977,987,946,861,1012,997,577,400,647,1136,947,807,597,513,326,313,354,433,570,807,836,672,862,800,744,658,1104,796,786,920,1082,1654,1950,1500,1382,1362,1064,880,657,487,456,373,855,1376,861,578,897,1242,1384,887,1116,1532,1780,1422,1072,983,527,395,675,1000,917,796,912,1030,893,636,630,570,542,540,398,392,421,368,303,478,665,521,424,412,553,677,672,760,908,1088,1140,1176,1172,979,624,477,367,470,493,530,650,456,309,289,294,296,286,302,302,295,283,260,287,281,265,334,383,353,393,412,384,399,351,335,319,322,305,318,368,318,289,365,386,318,292,309,289,306,308,321,340,420,389,411,416,353,314,302,305,308,295,305,316,310,312,291,295,347,414,541,613,651,602,557,566,455,423,418,419,454,460,476,446,418,513,838,1324,1530,1362,1086,1036,1078,1198,1092,855,729,702,556,418,403,416,443,514,543,609,620,521,489,499,593,617,491,440,547,584,618,557,406,414,504,436,375,451,499,536,365,325,367,365,344,351,368,396,408,365,371,408,427,368,381,436,496,487,346,280,287,309,432,860,1023,645,448,384,393,385,413,420,523,697,710,1058,1628,1358,767,702,533,447,953,1218,1400,1520,1456,1314,1136,1120,969,800,819,716,607,775,808,725,609,625,808,951,1154,1486,1874,1986,1862,1396,1236,1166,690,495,518,603,667,631,595,555,472],[208,192,250,390,493,547,587,542,664,586,368,321,593,612,458,458,432,419,414,411,423,446,419,385,474,514,502,415,387,426,463,418,362,361,350,362,310,336,374,294,189,152,195,206,251,305,307,344,343,305,332,373,377,322,332,355,247,175,218,206,199,245,284,341,656,1012,578,350,318,295,274,209,227,288,312,303,227,303,394,437,441,483,443,430,372,313,320,318,332,337,321,290,292,319,353,379,354,366,417,511,650,536,330,321,379,475,471,568,907,1094,1478,1010,704,604,729,1046,1168,1036,969,951,1013,1216,1704,1622,1224,1104,1172,1328,1582,1052,750,797,717,435,446,422,364,398,391,322,306,332,343,471,714,708,527,963,1334,912,601,471,484,574,789,1212,1054,553,426,460,423,261,253,242,245,299,346,341,412,420,517,711,794,775,739,728,703,678,601,498,401,398,498,548,462,336,269,254,278,381,503,456,374,411,448,423,619,731,553,449,444,550,607,571,501,516,540,600,1094,1252,1008,930,858,628,435,514,508,375,369,376,360,298,457,656,868,733,425,276,253,269,322,307,280,374,437,418,388,369,445,616,527,376,294,327,386,438,452,336,285,275,224,211,212,220,219,426,597,561,568,771,952,932,1150,1070,852,584,443,409,513,695,652,429,283,344,428,414,348,376,375,336,335,390,398,314,386,466,476,614,683,705,440,448,477,505,469,394,374,374,463,572,543,448,475,558,619,460,295,321,305,299,277,266,265,297,496,621,509,577,980,921,462,524,711,819,669,727,1526,1204,579,569,920,1462,1870,1570,672,494,568,859,1088,945,608,626,805,1015,1001,1100,1192,947,676,764,752,980,1046,889,1017,1110,1470,1504,1108,943,907,929,1020,861,767,1090,1164,1224,932,930,1162,1210,843,532,682,938,712,1136,974,950,625,474,621,999,890,546,504,530,559,419,387,588,849,639,448,413,410,364,337,368,396,377,350,392,399,291,254,390,565,436,302,317,350,348,316,303,295,262,289,324,299,439,562,617,581,417,360,303,259,252,277,219,224,241,335,373,403,295,236,217,207,213,207,198,241,248,189,245,636,959,982,1028,875,1034,1019,786,802,688,628,647,746,667,694,743,598,601,526,514,591,633,574,459,369,272,319,370,315,306,279,298,332,310,280,224,227,242,426,650,689,713,583,371,314,347,921,948,728,651,655,553,699,844,411,383,401,533,893,848,665,547,659,659,563,869,973,755,537,739,1058,923,673,666,893,1272,1162,976,639,429,373,377,474,795,1260,1644,2076,1976,940,996,778,952,1108,1094,1152,1038,665,351,310,287,354,355,354,371,558,919,857,1021,1484,1446,1132,836,704,561,542,722,1114,1278,1008,1132,1390,1192,1318,1440,1172,1244,1548,1446,708,694,967,1344,1292,1222,1388,1372,1460,1828,1598,1318,1268,1218,1404,1306,1574,1584,1444,1392,1386,1384,1028,781,872,1028,991,844,766,596,504,547,606,607,531,1260,1170,554,437,511,549,550,580,544,495,486,421,368,352,332,362,436,615,682,565,796,843,789,852,803,1001,1548,1626,1372,990,730,552,518,495,528,549,527,536,506,484,465,498,524,554,567,585,538,554,603,548,548,485,366,385,561,641,670,698,651,573,523,574,647,565,434,334,379,359,426,451,1088,1774,1328,1170,799,505,521,727,788,810,1462,2436,2202,1702,1750,2080,1880,1496,1058,1021,988,910,1060,1088,1222,1766,1820,1748,1680,1682,1308,1112,803,1510,1654,812,1019,1092,1310,2458,1344,1030,1338,1714,1514,1460,1094,707,775,1344,1270,1064,658,800,941,1036,908,1350,1112,1350,1534,1688,1680,1594,1762,1860,1550,1334,780,984,1466,1576,1208,1234,1506,1074,395,269,263,261,245,235,262,296,355,475,476,491,935,1702,1990,1652,1208,929,976,1002,709,510,672,601,525,594,947,1120,1019,995,993,932,843,950,890,940,775,466,339,506,647,458,280,538,1013,1100,725,409,318,271,299,314,285,303,276,373,774,883,885,998,966,911,898,877,625,929,1250,981,672,562,585,590,382,280,313,381,640,764,554,716,604,475,568,665,822,863,1128,1346,1298,1456,1376,1200,1306,1052,975,1036,1166,1246,1072,937,1086,1104,890,655,661,498,698,556,707,1066,1116,1116,1200,949,1006,1118,965,814,1172,1134,1106,1062,793,479,324,381,466,633,673,444,536,1158,1222,884,897,692,832,941,1194,1452,1488,1400,1320,1444,1286,1120,1168,757,543,568,542,488,861,838,1001,1360,1028,372,347,562,878,714,747,598,835,1019,790,787,1038,1346,1456,1318,1216,1152,1270,1226,944,626,457,691,1186,1348,1162,1144,957,639,613,789,956,1140,1108,1017,1114,1540,1334,799,596,748,1090,1302,1270,1226,1188,1178,1170,1230,964,1324,1294,1334,1276,1222,1220,1330,1388,1202,1212,1086,1188,890,625,833,931,867,1074,1082,792,539,534,746,661,783,658,551,1042,1094,1096,1378,1290,1026,1244,1274,885,843,930,984,780,642,601,718,1190,929,494,673,945,1009,987,1004,1230,1342,1330,1388,1416,1522,1098,758,1110,1188,1222,1236,1248,1098,714,1078,1344,949,525,462,550,778,877,1058,985,953,960,985,965,599,865,797,587,523,358,351,402,772,1252,1350,1194,905,923,806,789,1098,786,755,1208,1316,1200,1126,1208,1058,695,479,473,477,386,310,238,238,236,420,417,340,334,404,582,749,630,401,367,348,352,370,535,468,311,289,311,323,360,586,735,593,596,612,451,460,479,474,439,431,444,484,547,547,532,427,405,391,417,411,372,309,336,379,393,494,605,609,524,396,383,563,407,357,405,435,417,373,366,373,360,344,420,786,593,480,721,560,568,581,732,923,881,753,765,793,692,839,1226,1052,767,753,869,950,1100,1013,962,786,625,903,988,886,1214,1306,991,738,775,922,1036,1005,987,1040,1064,1164,1150,855,601,594,993,701,515,750,616,427,658,904,839,883,886,766,1108,1040,857,946,1142,1013,759,542,417,407,414,379,385,454,552,632,746,666,616,725,836,821,734,709,781,885,957,1214,1434,2000,1352,1132,1240,1064,858,498,335,360,367,368,336,394,745,1066,1354,1340,1376,1300,930,648,493,529,678,840,810,692,586,540,1014,1028,1286,1250,1200,1262,1096,1126,1378,1374,1470,1674,1774,1670,1546,1960,1850,1646,1750,1572,1482,1340,1016,636,478,576,613,513,485,697,605,739,1040,1140,1298,874,769,800,699,777,527,381,578,688,637,556,604,938,927,941,671,557,1032,959,736,1196,1030,572,615,489,805,1130,908,714,967,1080,1023,1266,1370,1272,1282,1070,471,612,449,451,692,772,741,1034,1052,860,877,995,995,1023,1050,1060,1058,998,844,921,1046,1204,1222,1082,933,626,623,800,646,942,1012,793,454,331,260,278,320,316,338,399,583,849,1036,1306,1130,796,998,1220,916,944,996,1022,1100,871,411,637,990,1054,753,449,649,684,1082,1350,1092,860,544,515,592,866,1088,1220,1492,1538,1526,1300,1082,1160,1204,1200,1050,1170,1226,1312,902,894,637,973,809,805,1158,1204,1224,1236,986,999,1126,870,554,529,984,1548,948,929,742,367,366,519,857,930,685,1012,1142,867,1118,857,933,1060,1132,1140,822,1004,1040,1224,1132,1016,1170,1298,992,948,603,416,428,343,783,994,599,705,1120,1200,1100,1070,1118,974,1004,1096,1152,1216,976,979,1074,891,1015,1290,941,603,599,838,848,670,591,565,402,462,545,384,353,394,483,469,429,376,438,448,427,413,620,1026,1154,1116,1100,973,508,474,475,407,357,364,477,396,314,282,298,294,287,330,333,315,302,293,287,252,240,294,361,422,537,539,503,708,422,357,320,297,292,353,553,582,453,399,429,411,421,367,328,321,325,345,333,309,361,404,361,299,279,300,305,314,323,331,313,296,301,279,299,332,370,391,439,540,620,742,669,565,519,476,460,454,448,447,416,435,619,1010,1392,1504,1352,1402,1196,869,725,612,767,796,784,584,395,368,380,409,495,532,613,585,540,529,519,532,543,531,527,532,593,551,466,457,409,391,358,322,482,582,484,335,306,317,332,357,374,397,402,453,405,407,395,377,361,408,450,528,516,299,275,304,338,395,576,774,693,468,367,413,372,395,433,403,692,1050,1194,1244,788,486,397,384,425,897,1184,1404,1578,1424,1384,1296,1022,876,838,696,631,584,667,757,687,533,786,1172,1188,1306,1372,1476,1790,1860,1454,1274,1274,902,637,569,503,523,502,499,519,459],[222,203,221,360,515,594,619,555,605,535,332,240,391,472,465,424,363,320,317,331,370,387,394,374,417,466,507,534,480,455,543,399,358,379,516,653,533,403,401,373,244,223,260,280,340,408,449,428,358,316,300,357,452,438,370,353,281,223,225,230,236,273,417,448,768,1030,624,327,322,300,293,292,322,327,336,343,383,482,604,594,486,453,440,482,538,515,486,411,358,427,427,360,364,387,391,418,428,417,361,462,695,597,367,372,606,783,574,563,961,1352,1216,1048,1026,952,1042,1038,1086,869,780,757,836,1102,1252,1488,1476,1500,1356,1650,1448,963,703,667,612,414,380,408,398,380,314,234,267,303,385,532,712,767,625,752,1252,908,481,464,528,524,813,1054,749,448,547,835,595,314,431,325,374,488,474,457,529,605,678,724,722,704,692,662,658,546,437,463,500,562,562,428,310,279,290,365,423,442,439,455,388,492,758,925,1392,1188,541,468,555,693,675,541,495,576,514,441,686,960,913,876,811,579,488,460,392,436,370,287,315,448,733,891,902,711,437,279,276,273,312,285,322,382,455,419,379,378,461,586,610,510,345,322,415,446,464,427,393,350,283,247,230,218,221,314,388,408,472,935,1360,883,901,1007,790,519,410,411,562,751,665,422,300,332,379,403,363,399,474,381,294,360,355,336,471,540,557,613,644,737,544,541,736,859,598,391,374,364,397,449,422,469,560,499,607,535,354,286,265,301,325,296,269,262,387,628,590,628,1262,1190,805,902,1046,1142,924,1130,1382,786,451,534,589,589,1066,840,514,460,477,559,608,610,926,1198,1302,1194,1212,1376,1352,693,397,491,591,703,730,839,889,957,1306,1354,778,955,920,659,692,885,984,1110,927,730,893,1196,1298,919,916,1118,694,866,954,1294,1038,829,685,768,1180,1528,1152,824,679,704,704,490,423,555,770,715,507,446,419,361,341,369,385,365,333,342,321,260,244,504,749,466,202,222,269,274,287,296,329,340,372,302,265,239,484,585,340,231,264,378,313,232,171,181,244,307,318,218,247,249,208,208,245,262,233,179,187,175,180,393,832,1010,978,926,819,993,994,891,773,647,812,635,778,751,562,730,1001,985,568,479,532,588,608,460,364,301,339,379,335,389,330,312,309,322,285,230,242,285,521,937,1002,882,747,596,505,383,579,610,528,465,496,651,1206,1380,720,615,544,570,949,744,476,443,750,857,931,1200,937,638,613,926,1044,742,1005,1392,1116,937,1064,984,731,583,437,437,585,791,1166,1342,1310,717,698,1110,971,994,1186,1144,966,819,396,293,324,278,266,262,472,599,865,1138,808,935,1232,865,970,803,689,529,558,714,1292,1596,1090,974,1130,1172,1366,1246,905,1004,1372,1190,990,839,1172,1572,1216,1072,1166,1122,1550,1948,1562,1418,1262,1158,1030,789,1056,1178,1242,1246,1160,1470,1490,833,775,1044,869,714,742,614,550,929,731,443,704,1464,1454,730,547,554,515,613,514,437,509,416,448,493,443,376,544,582,560,673,718,967,672,590,996,792,918,1558,1434,1284,1354,1156,996,611,549,538,519,548,514,480,476,477,645,842,844,626,501,506,532,519,505,528,469,438,560,645,709,696,678,667,672,673,702,567,422,454,392,493,500,493,429,524,634,831,941,1054,1046,780,1048,1132,1188,1200,1548,1760,1714,1826,2708,2686,1434,747,742,900,1160,1080,919,1256,1356,1412,1708,1556,1340,1236,810,609,869,999,697,832,1082,1104,1844,1282,1062,1484,1476,1508,1356,1013,977,728,1174,812,808,992,1158,1098,1054,1098,1314,934,919,1526,1928,1866,1748,1634,1346,832,1170,684,632,802,1368,1606,1242,1066,799,341,268,267,240,241,220,245,261,316,395,481,631,1256,2426,2646,1764,1046,960,1112,1005,599,691,907,647,505,708,1238,1398,1226,1522,1330,925,836,920,791,1014,1238,1046,648,694,826,522,322,541,714,811,649,380,361,314,289,392,521,528,404,482,828,858,973,992,955,883,862,821,563,968,1368,1022,651,637,975,1514,819,364,384,390,504,506,581,799,716,589,485,735,948,890,1282,1408,1142,1396,1572,1458,1272,952,729,691,803,1007,1186,1170,899,838,544,383,465,765,904,590,838,1090,645,732,907,647,742,1118,1194,830,919,1222,1154,1100,916,767,721,785,971,790,653,547,806,1308,1318,1464,1278,962,1122,1132,1312,1342,1454,1448,1096,1466,1440,1300,1360,797,461,469,778,791,658,990,1454,1650,1146,446,340,769,963,839,580,454,502,641,863,844,931,1404,1340,1230,1054,1220,1604,1142,651,505,495,763,1210,1184,1096,1052,995,847,659,844,992,779,828,691,965,1396,1310,997,778,1068,1334,1302,1288,1232,1238,1100,1206,1376,1180,1226,1278,1358,1240,1170,1222,1076,1310,1230,1462,1478,1398,1092,911,901,675,785,1124,1220,1158,659,526,1106,1106,1116,745,458,648,969,1272,1376,1260,1208,1450,1234,901,918,727,738,759,954,978,1012,1214,1108,805,673,995,1036,1100,1162,1154,1288,1264,1344,1450,1508,1162,1150,1794,2420,1238,999,1458,1290,666,993,1152,1122,844,712,924,1188,1230,676,624,585,634,1344,1050,521,661,609,577,631,568,619,724,1096,1596,1322,792,735,593,481,636,735,594,793,1013,1224,1182,892,1092,1196,960,839,755,526,364,277,269,305,293,451,550,385,325,398,510,497,469,387,334,320,364,347,474,419,310,331,333,384,415,633,694,573,570,535,490,515,548,504,452,444,471,520,483,434,459,393,403,452,432,403,394,418,456,453,466,527,551,570,446,319,318,505,448,419,410,376,346,361,407,424,481,447,536,918,647,434,594,688,691,894,1070,731,769,925,933,1006,778,635,639,850,1034,1028,955,839,987,1152,996,811,749,1140,1272,843,854,1102,1021,813,697,803,713,752,1182,1202,1018,998,667,636,521,402,463,333,488,766,562,453,935,963,586,722,965,948,1001,754,593,900,1009,857,785,502,430,469,598,662,847,875,891,944,1058,736,584,623,633,491,320,369,756,1030,889,1152,1474,1716,1298,1488,1454,1158,852,589,375,376,356,303,279,349,599,782,973,948,930,1072,944,589,349,501,817,851,792,915,566,541,1098,1216,1290,1220,1202,1015,979,1348,1280,1300,1488,1720,1760,1358,1674,1740,1516,1428,1598,1488,1256,1316,1382,1166,747,854,586,572,1066,1252,739,544,899,1214,1304,1178,909,608,335,354,344,416,813,1220,936,780,828,1144,832,615,633,719,1196,1190,1012,941,806,633,446,529,610,554,593,769,1116,1354,1104,1072,1392,1286,1526,1122,780,1001,855,724,879,899,899,975,1150,1410,721,762,1064,1017,692,1094,1326,1007,749,998,1180,1324,1302,1110,1146,899,891,941,1116,1146,675,600,600,319,266,300,277,286,314,513,855,627,901,1070,1028,901,1266,1490,1352,1074,957,1026,1012,1108,596,768,918,734,605,424,750,984,1188,1296,1318,1610,1252,669,783,715,874,1296,1622,1332,996,998,1104,1174,1007,879,886,1080,970,1274,1110,784,713,964,959,1062,1414,1460,1214,1072,1172,1072,1148,1136,1012,1096,1208,1410,999,872,825,481,564,1038,1214,1208,1112,1456,1484,1260,1172,941,907,1140,2460,2344,1068,925,906,1074,857,1021,1244,1126,1054,918,543,447,385,638,850,563,578,705,906,922,844,723,580,859,818,809,1184,1522,1544,1368,1144,728,866,1120,1120,910,705,721,781,793,402,372,400,467,423,409,345,342,424,444,368,361,417,456,428,270,379,712,995,1074,980,747,466,626,902,651,350,293,313,302,285,269,327,302,305,323,294,289,305,292,262,267,281,292,292,331,466,532,493,847,503,376,339,306,317,345,547,738,708,641,547,476,387,339,322,321,357,343,343,353,365,376,363,313,277,296,299,306,321,328,330,316,299,278,280,281,297,312,297,352,442,429,568,623,568,578,565,511,435,377,429,611,918,1234,1554,1554,1614,1740,1332,1338,1338,963,758,885,839,574,402,355,369,395,512,551,559,579,592,570,549,505,493,609,680,558,502,540,493,480,408,425,368,387,571,630,529,418,343,293,338,412,354,395,482,516,393,409,407,373,471,539,403,436,334,290,262,307,490,542,395,520,648,523,434,466,383,354,374,383,600,1023,1208,883,480,347,393,553,692,923,1162,1440,1606,1478,1344,1078,796,811,945,725,555,514,556,658,652,546,694,1010,1046,1116,1252,1144,1528,1614,1498,1362,1252,1038,847,723,570,541,495,477,421,444],[255,230,204,286,454,481,474,445,628,658,389,253,302,400,414,370,329,311,331,379,383,353,342,358,422,458,480,485,443,448,537,478,437,416,505,583,564,453,473,448,322,299,327,310,401,465,426,359,325,321,284,317,417,401,361,405,364,329,290,296,318,368,409,379,607,854,651,407,411,371,400,429,409,362,362,391,547,709,722,656,632,647,594,540,532,569,630,525,366,390,413,383,398,404,361,349,370,390,370,420,602,544,391,436,674,753,698,620,888,1098,709,845,1362,1214,925,910,919,778,739,749,735,902,1058,979,1302,1822,2020,1734,1028,1286,980,558,488,454,462,394,352,375,342,287,273,313,349,378,566,609,608,719,1200,1110,644,503,485,418,490,464,596,802,1044,1136,622,345,298,406,661,725,733,757,753,754,747,721,711,731,745,634,625,434,408,524,565,561,490,310,290,263,323,474,552,473,420,383,373,509,674,1170,1856,1518,708,662,771,769,498,369,424,555,480,376,534,684,698,779,792,611,532,495,424,381,313,334,464,548,732,773,695,789,572,295,267,273,324,278,344,406,419,390,362,385,478,533,548,564,608,578,430,476,458,490,502,388,298,213,177,208,260,370,489,565,423,721,1016,692,806,1174,1120,665,399,422,516,608,523,391,341,340,346,379,433,465,500,383,303,324,238,234,300,387,460,567,771,678,626,604,699,852,601,426,362,355,317,317,357,475,468,364,522,589,440,293,246,304,338,263,224,259,355,604,695,888,1272,1130,1056,1228,1190,1246,1278,1026,680,520,579,593,635,568,498,525,433,331,390,520,540,711,1046,1468,1198,910,969,1140,1230,839,495,538,865,990,852,785,870,843,837,906,738,922,718,545,903,1176,1023,799,971,1372,1202,1064,1194,1080,1428,1476,1120,965,722,949,1052,825,954,1080,1192,1158,921,837,791,808,738,819,631,454,558,618,705,635,555,484,339,318,362,364,336,282,204,197,243,352,357,215,188,236,222,216,239,326,440,398,334,295,270,278,375,346,323,353,371,427,288,237,203,206,187,267,303,228,248,309,257,214,221,217,233,196,167,200,362,746,962,929,921,891,879,937,910,918,964,1009,915,858,991,701,474,582,1218,1346,903,824,808,762,640,408,333,292,344,404,393,319,302,292,247,296,286,220,261,311,474,722,819,783,643,644,633,425,433,615,655,408,366,452,645,1180,1118,847,641,739,645,364,368,419,759,1004,1114,1440,1522,695,558,649,1014,888,1188,1546,1520,1190,957,1110,1082,1004,821,918,1240,794,594,444,374,361,491,971,1003,689,946,943,669,692,371,295,329,419,495,668,896,669,685,1058,1138,672,549,465,637,606,661,576,663,696,1110,1406,1128,813,718,1062,1128,966,1003,962,1019,814,1108,1015,1088,1242,1202,1246,1086,1114,1466,1634,1368,1226,830,732,687,543,888,1176,1060,813,907,1046,953,695,705,1256,1015,918,923,637,418,866,793,421,871,1500,1390,1076,977,828,621,637,517,389,400,438,472,571,682,697,632,500,560,718,567,742,809,902,1318,1158,1080,1318,1384,1196,933,978,1216,1164,1005,755,638,636,521,556,570,551,727,1004,928,544,509,516,424,372,409,471,446,468,496,569,688,669,531,556,837,882,824,717,817,693,655,662,608,648,553,469,622,695,628,922,850,867,1150,1040,987,1176,955,1100,1332,1672,2484,2742,1558,803,1080,1212,1362,1314,1262,1466,1320,1378,1742,1472,1108,1178,1196,1262,849,942,1048,827,808,1054,1266,1144,1170,1390,1250,1114,1088,1362,1372,1001,1034,788,807,1366,1128,948,1074,1144,1136,856,700,1182,1732,1606,1520,1274,1222,1078,1204,781,501,859,1464,1608,1318,874,686,515,276,263,253,235,228,239,264,292,329,474,779,1660,2492,1938,1244,926,794,1042,826,526,606,657,595,645,793,1136,1328,1462,1488,1078,577,578,753,902,1238,1616,1396,1204,980,681,388,340,524,596,588,567,547,521,393,328,441,625,813,786,702,988,1058,1018,942,894,854,780,754,785,883,831,612,651,850,1362,1174,558,412,424,339,367,441,635,697,716,700,515,556,1028,1004,1224,1258,781,885,1005,1052,1202,1098,830,991,1070,821,1120,1122,658,586,484,376,393,904,1054,586,496,463,375,475,511,637,1009,924,922,926,1102,1334,1228,1056,1106,1110,1176,1028,939,1102,1076,1086,1232,1268,1286,1754,1442,1124,1146,1048,1212,1242,1268,1546,1390,1294,1224,1316,1136,558,419,609,1023,1066,598,859,1180,1158,814,569,529,600,678,691,503,361,387,600,808,888,980,1224,1036,990,1246,1804,1572,832,338,392,473,623,1010,1310,1512,1180,1300,1410,897,477,722,607,659,734,943,1256,1218,932,694,1224,1432,846,800,1052,1104,1084,1224,1260,1272,1268,1242,1116,1048,1298,1338,832,778,1028,1224,1038,1312,1328,980,747,890,1206,1248,1174,1010,689,628,1110,1146,903,595,528,659,916,1148,1088,1122,1198,1194,1056,1148,1194,1066,990,1162,1108,902,1030,1272,1112,1086,830,686,685,1074,1268,1046,1020,1162,1152,1362,1468,1384,1250,1314,1506,778,833,1208,965,713,816,1152,1636,1308,1014,1058,1354,1098,605,749,427,445,904,653,712,697,544,666,750,810,959,819,1282,1634,1188,599,543,454,431,517,536,738,1092,1190,1404,1332,811,900,1252,1140,952,918,752,716,753,577,401,319,309,331,267,274,391,450,388,357,367,323,330,378,387,430,427,461,445,375,407,421,641,646,590,526,488,490,490,495,436,466,456,495,535,449,387,401,433,487,439,411,513,511,476,471,443,455,489,453,391,329,315,325,330,452,561,441,384,411,448,455,439,481,487,555,739,532,385,547,785,835,1028,1380,761,843,1432,1072,960,803,648,736,1118,1444,1166,941,1152,1422,1354,884,654,937,1001,805,617,861,1348,1316,942,890,956,876,1152,1136,984,782,612,437,862,695,398,305,289,315,338,368,611,957,631,455,540,771,916,786,652,623,874,800,877,1003,824,829,766,740,656,654,709,739,1122,1082,868,965,752,648,512,363,393,675,942,1064,1268,1366,1120,1038,1076,1128,1088,1158,807,412,381,344,262,271,307,464,705,847,883,943,1116,1286,708,521,646,860,588,598,662,677,827,991,910,861,1188,1386,1066,1312,1438,1160,1378,1760,1832,1592,1274,1614,1722,1416,1322,1600,1640,1570,1494,1538,1390,1182,1038,620,474,617,942,844,576,831,1270,1406,1354,1050,739,407,373,532,704,1012,1114,1052,915,753,695,630,846,786,837,850,946,1158,1082,676,487,456,630,915,868,941,1186,1376,1618,1218,703,1168,1300,1264,864,864,897,678,714,707,737,1062,1272,1512,1896,1182,747,777,692,678,1222,1144,516,450,721,1150,1454,1236,1068,1048,941,985,1080,1382,1264,854,919,894,480,334,357,292,334,404,904,1236,994,1064,1326,1054,630,879,1358,1376,1086,1144,810,1054,1001,808,938,930,965,901,672,1021,1200,916,704,1140,1372,1150,922,1172,690,407,1082,1654,1246,951,977,1110,1218,860,934,1242,1092,766,996,1200,1140,1130,1198,1246,1306,1500,1422,1080,924,1144,1218,1392,1136,949,951,918,897,767,922,1084,827,935,1274,1442,1722,1534,1826,1678,1448,1266,913,835,846,1076,1194,1112,671,431,465,739,943,864,877,1200,789,473,371,407,935,1084,451,543,555,555,558,697,788,852,1090,904,768,1174,1384,1340,1554,1172,1168,1298,952,761,793,832,794,1842,2042,589,500,554,686,491,550,478,423,370,384,366,378,421,444,359,223,278,395,791,838,868,814,896,1016,996,657,361,260,235,269,312,319,353,340,355,357,283,283,320,292,273,293,291,301,293,312,305,415,729,1074,614,369,361,330,312,339,495,739,763,664,499,450,355,335,299,339,378,357,393,430,386,349,308,290,268,288,290,299,283,296,324,318,291,280,285,267,267,283,274,308,372,365,447,448,406,460,529,556,574,504,475,801,1238,1278,1242,1404,1522,1412,1322,1432,1382,1094,748,921,960,675,394,430,424,451,544,608,631,731,717,639,708,724,639,710,750,675,568,566,615,619,503,401,433,592,669,636,507,445,407,365,404,420,409,456,538,497,359,334,391,623,859,823,512,465,428,336,257,288,382,449,479,665,918,830,490,444,411,400,367,350,423,499,521,423,394,486,656,798,771,766,975,1470,1370,1354,1274,860,678,757,729,572,444,444,510,608,612,598,666,678,673,709,1015,1232,1332,1278,1206,1288,1226,1094,1052,794,586,555,555,523,377,401],[312,341,295,259,320,494,804,1074,1246,986,491,316,324,387,410,341,328,348,375,409,391,354,331,423,564,552,552,484,390,437,437,461,517,504,474,568,645,676,636,456,366,388,414,357,398,446,440,415,382,351,312,307,334,320,336,401,487,421,351,409,453,423,448,420,485,613,543,428,401,411,409,401,392,412,418,442,450,369,366,443,450,423,445,476,470,540,487,434,412,356,375,371,386,366,331,328,363,362,376,401,468,417,485,535,541,713,756,483,905,1098,602,797,1286,1214,1104,957,732,572,494,492,525,598,709,827,1270,2222,2260,1290,1076,968,623,435,406,451,493,418,378,357,316,256,230,311,260,267,368,545,887,1024,1218,1336,974,630,742,937,884,921,1204,1440,1554,1288,805,418,403,683,775,696,703,683,733,718,745,731,683,704,573,485,489,462,521,571,545,449,367,232,255,351,398,407,381,599,882,665,373,528,628,900,1466,1482,791,561,702,699,447,357,425,513,468,394,455,542,602,792,909,886,761,634,428,424,393,420,396,437,566,619,564,692,373,249,253,272,334,378,449,411,397,373,349,401,445,439,475,526,560,523,436,473,490,542,547,382,208,176,187,204,262,373,487,448,406,484,623,761,919,1090,1020,677,386,429,519,463,375,369,352,312,363,428,536,563,492,390,310,248,204,245,333,408,685,962,1246,941,639,592,983,1172,685,667,353,367,318,302,357,444,484,446,527,552,440,319,256,272,336,284,266,317,341,499,739,1060,1404,1440,1082,875,929,1044,1148,938,880,561,733,832,1018,869,568,575,451,309,331,377,628,1064,983,1162,827,598,457,578,874,984,792,833,1100,1084,911,1022,902,910,870,1306,921,438,393,687,1028,1168,1236,1138,1300,1738,1306,968,1114,1490,1470,1046,1148,1084,852,1124,1304,1510,1516,1180,868,599,548,818,945,1040,873,906,950,767,709,939,989,736,656,515,372,370,348,350,323,259,205,219,273,366,396,209,217,271,254,251,251,327,422,388,323,284,261,238,204,249,384,469,497,389,216,196,203,194,177,228,294,291,289,313,237,170,182,188,211,215,217,252,574,930,998,922,891,805,651,914,965,866,941,1076,1000,1038,790,435,484,538,747,1044,891,680,883,980,764,402,365,443,436,386,467,451,307,272,240,251,226,207,292,377,358,319,356,444,482,744,790,430,407,466,490,400,359,348,552,1244,1428,1136,896,998,774,361,389,464,483,505,761,854,864,571,488,406,520,813,1019,1166,1364,892,903,1244,1500,1124,933,1252,1444,904,524,358,380,373,426,688,734,892,977,925,652,747,545,505,736,1118,1072,1007,1052,895,689,888,1114,479,376,415,384,373,499,613,883,856,791,1138,1222,1024,765,1172,1048,1308,1318,1116,1122,987,919,684,757,1296,1530,1494,1310,1452,1704,1756,1388,1212,846,499,547,580,555,833,907,739,903,584,579,843,730,1021,799,781,1018,814,552,707,593,725,2048,2152,950,1034,1290,1060,728,611,478,336,381,475,469,650,814,625,728,719,902,1082,748,1248,1566,1268,1246,1382,1254,1058,801,815,840,873,906,766,896,1050,1158,1218,1130,1096,960,921,1056,976,846,447,396,400,462,376,320,394,408,528,616,608,830,818,534,678,1344,1102,993,1428,1292,674,595,586,646,773,598,521,662,969,918,977,808,1084,1014,629,673,1004,1094,833,843,1120,1650,2218,1426,714,897,1282,1304,1454,1532,1470,1446,1584,1772,1728,1360,1418,1566,1408,893,681,1058,1196,1252,1644,1786,1356,1118,1216,932,694,547,692,774,1188,1180,1184,808,710,856,1144,1226,1132,1170,1094,667,774,1478,1314,1206,1204,1462,1538,1588,1212,1026,1432,1572,1648,1460,1130,566,533,354,260,255,250,243,257,313,363,424,527,923,1826,1910,1140,926,852,873,1074,777,572,771,733,461,502,574,814,927,1098,1054,822,532,467,642,712,1228,1798,1448,1214,990,1036,798,745,736,607,538,537,561,611,593,502,416,470,554,542,748,1108,1118,965,862,818,788,615,671,839,683,550,528,494,692,991,662,426,316,334,343,368,451,462,427,514,519,591,761,1208,982,810,958,1023,1138,1124,857,750,926,668,702,912,977,890,600,394,359,581,563,392,833,957,481,347,373,813,1088,940,1008,1294,1064,932,1170,1344,1410,1170,1058,805,1026,1396,1466,1096,1056,848,1186,1298,1170,1292,1372,1336,1248,1150,1104,1282,1528,1332,1546,1518,1146,1136,1348,1034,434,373,461,601,814,458,413,592,1068,776,697,763,499,309,356,390,383,411,462,416,474,787,894,964,1068,1522,1286,761,473,253,360,532,697,1242,1122,891,1110,1208,1102,702,454,376,391,497,636,820,971,964,903,644,844,1170,1092,856,885,927,944,983,1110,1320,1484,1244,1388,1040,1194,1328,821,528,805,1124,1232,1346,1282,948,658,824,1066,1262,1296,1192,937,907,1050,855,499,440,497,585,818,1048,960,1005,1011,1210,1120,1070,1056,842,996,1310,1068,959,1078,1240,767,814,1007,874,703,1108,1160,832,950,1114,1120,1144,1224,1080,1019,965,1050,770,717,1011,1160,1282,1034,1164,1556,1372,1064,990,1302,846,529,543,587,907,921,917,1162,855,943,1124,869,1096,998,702,794,1278,1102,594,394,469,449,460,731,1118,1036,1214,1410,1316,1350,1342,1172,728,781,913,846,965,1078,746,406,306,269,236,229,288,381,441,416,376,377,349,375,455,486,519,513,512,518,437,356,345,498,573,583,526,409,454,530,419,436,422,429,501,576,503,426,400,438,505,465,463,567,493,431,394,381,409,411,361,314,305,304,309,341,446,558,455,439,483,429,376,379,387,382,447,478,398,376,401,715,1194,943,1192,771,781,1096,822,603,647,692,616,984,1344,1130,1446,1330,1138,1152,865,647,915,849,427,421,708,1056,901,708,997,918,829,1122,990,752,719,607,551,947,831,400,335,323,333,445,587,606,605,537,403,448,467,483,807,1116,1200,1158,1310,1228,808,643,582,580,561,621,739,862,1024,1316,1240,1106,1086,819,896,1066,623,428,543,986,1116,1136,1078,1022,999,935,876,940,997,699,401,331,333,289,313,368,540,642,694,1066,977,771,889,660,1122,849,804,891,1056,1040,1032,799,688,808,808,1192,1250,1330,1738,1450,1350,1622,1790,1852,1488,1344,1282,1104,1180,1384,1440,1604,1548,1546,1544,1460,1402,1178,887,643,508,776,899,790,1162,1678,1660,1382,1146,968,590,604,817,932,953,880,861,819,727,684,772,946,938,976,711,1058,1196,806,526,528,549,814,1152,1090,1106,1212,1482,1482,1406,1040,1192,1250,971,713,749,1056,791,393,288,575,1154,1328,1200,1542,1414,726,368,440,760,1058,998,481,365,752,1456,902,766,710,714,926,1248,1410,1202,909,867,1080,847,420,320,343,286,322,616,1186,1442,1464,1500,1242,662,487,530,905,872,1382,1348,718,1011,1028,1086,1178,1110,1038,1036,802,1070,1340,1356,900,631,523,866,1440,1554,940,357,575,836,855,694,582,1072,1078,923,1278,1290,1102,995,1136,1248,1148,1296,1278,1460,1450,1230,1202,940,1126,1180,1168,1324,1040,927,969,808,444,409,465,553,1007,1400,1402,1462,1576,1626,1874,1614,1202,911,664,656,591,642,787,671,445,406,435,493,780,821,933,801,487,480,360,429,749,858,657,716,771,814,883,879,893,1021,870,1018,1338,1210,937,900,1166,1144,954,1260,1058,668,890,970,1062,1546,1394,719,494,612,596,398,433,508,408,322,380,408,398,398,408,334,244,259,260,454,512,620,891,1078,1012,752,407,314,244,237,254,260,288,306,352,392,375,345,325,330,318,300,268,254,276,322,326,363,462,858,836,488,437,393,349,310,349,448,676,653,572,452,372,378,391,355,364,376,328,348,416,407,370,310,293,293,280,275,290,266,273,308,314,299,278,274,282,266,258,273,292,332,396,442,441,392,405,457,486,546,561,613,741,1094,1338,1290,1354,1114,697,765,750,686,758,583,651,642,550,432,445,493,503,553,651,683,693,654,724,874,854,700,666,655,648,586,545,620,672,542,413,509,709,695,595,466,486,470,444,450,444,454,474,478,409,315,303,402,1042,1358,1308,1098,1040,720,487,417,472,657,880,803,630,582,628,476,401,415,440,425,405,437,442,462,478,464,461,430,415,422,552,894,1528,1188,1138,1126,816,751,715,700,655,576,534,539,568,543,563,769,730,655,622,914,1266,1342,1190,1246,1332,1234,1074,854,582,460,460,460,430,385,453],[464,492,470,368,384,907,1368,1146,1310,1198,606,352,365,442,481,423,390,397,436,440,380,374,330,384,593,641,644,525,378,431,494,532,570,508,441,515,574,572,552,474,411,463,451,338,342,449,486,430,378,345,338,390,434,453,481,446,467,385,388,644,593,426,412,398,402,395,446,700,549,460,420,371,370,375,393,421,412,372,353,360,395,439,459,469,423,348,306,573,645,457,363,357,404,372,305,305,362,372,422,483,384,300,392,503,717,999,890,926,1378,1076,484,530,788,1212,1346,1007,543,418,448,458,438,509,653,1074,1870,2706,1776,855,842,512,322,261,242,332,367,279,354,338,264,234,223,242,220,259,420,907,1470,1544,1448,1332,1322,918,902,1023,1322,1052,1320,1640,1492,1532,1222,659,708,857,677,434,391,444,637,715,725,764,763,537,397,534,595,590,581,504,354,259,209,198,344,455,400,355,421,870,1274,981,571,830,967,1204,1338,1122,732,604,605,574,433,332,355,423,522,474,536,755,755,873,921,1084,1104,828,1040,928,554,604,503,495,500,445,363,340,244,222,268,272,251,443,630,645,378,286,334,361,390,365,374,515,592,554,464,490,505,505,443,293,172,187,199,207,230,300,425,406,373,432,554,565,498,654,750,604,452,419,501,399,324,336,343,344,433,487,487,533,442,407,335,259,226,304,454,421,628,678,615,612,716,725,673,631,880,955,443,332,344,364,348,369,485,593,538,441,357,310,286,247,319,310,296,340,365,438,753,945,1056,1036,610,493,766,739,793,631,591,471,632,1310,2056,1360,570,617,590,398,435,359,502,730,851,767,668,608,627,582,596,786,879,1212,1296,1456,1612,1246,736,888,910,801,517,425,445,616,901,933,1168,1548,1494,1198,1102,1009,1104,1364,999,837,1086,1062,1130,1180,1152,1340,1346,1148,755,800,903,1098,1050,1016,999,1304,1642,1384,1182,1242,1368,878,685,524,415,346,346,338,266,235,248,291,310,372,290,213,219,232,227,213,261,313,336,336,301,255,214,198,264,255,271,305,228,187,181,183,197,214,234,249,260,342,275,247,196,180,213,219,245,287,250,300,617,915,953,872,834,684,443,792,898,596,628,998,1086,1046,813,553,505,505,564,799,787,512,633,891,662,339,345,579,756,648,656,528,382,295,210,200,207,259,346,377,362,328,235,268,462,592,554,391,375,339,364,407,318,287,462,948,1338,1158,924,1134,1032,495,483,632,464,459,717,792,735,554,405,355,364,541,671,815,965,1106,1138,1026,1092,1166,1176,1166,1084,1028,827,467,465,440,426,615,764,1084,1178,1138,960,1138,922,677,907,1246,1202,1416,1582,1252,793,538,527,474,442,407,358,384,451,604,860,907,929,1108,1110,1510,1082,1026,1038,1472,1316,1094,1168,956,668,376,652,1396,1500,1372,1154,1282,1780,1890,1758,1376,772,530,481,489,411,502,636,911,847,487,505,869,687,584,586,840,1012,983,621,634,533,719,1888,1814,1114,844,991,1028,1050,867,477,394,503,533,666,832,846,930,1284,1092,1094,823,608,1156,1362,947,787,1162,1508,1476,1216,574,564,735,1086,1070,1058,1172,1274,1230,1334,1288,1142,1172,1386,1348,1224,764,626,623,756,647,465,397,437,785,1072,1062,1146,1158,651,781,1318,850,971,1600,1206,684,531,539,616,784,508,339,520,1076,1242,1242,954,1170,1180,1006,910,1050,1210,988,737,835,959,1276,1052,860,1028,1210,1202,1320,1180,936,1052,1420,1692,1856,1732,1664,1470,1250,990,946,1108,1250,1368,1426,1720,1604,1006,789,498,514,447,551,972,1260,1262,1212,1118,1146,1172,1226,1144,1130,1384,1290,982,1150,1220,1262,1444,1758,1824,1914,2086,1624,1554,2122,1842,2246,1776,1588,916,584,414,268,253,261,256,297,390,413,462,617,1072,1604,1252,952,965,932,1100,1144,834,680,811,634,320,303,402,1008,1302,1028,866,787,639,605,554,577,1334,1860,1902,1114,822,1056,1330,1158,836,600,477,458,438,622,750,708,469,438,409,480,630,937,996,909,800,775,683,509,480,487,444,462,543,533,515,491,491,432,354,378,432,433,465,487,449,476,474,501,865,1156,827,658,855,1004,1134,1080,816,642,733,767,1019,1024,766,492,355,339,339,491,496,333,494,549,329,289,446,1118,1382,1122,1034,1140,949,916,1056,1252,1376,1028,675,435,700,1404,1682,1242,908,959,1340,1350,1088,1102,964,1206,1374,1418,1312,1556,1708,1482,1606,1614,1230,951,830,758,598,669,689,1156,1172,540,325,544,907,893,938,901,628,325,367,421,418,432,478,402,462,942,1288,1246,1226,1340,1100,783,536,341,712,1030,1023,1340,1200,1120,960,901,1210,1212,744,457,551,603,1068,935,754,872,1088,816,686,1164,1350,959,807,934,944,599,919,1122,1250,1044,1300,1172,1072,1112,1140,943,777,1013,1114,1050,1010,904,1002,977,948,1360,1492,1196,1058,1222,1246,1040,872,563,428,428,762,724,833,929,857,888,859,886,934,777,803,919,853,749,1086,1172,833,753,1066,1104,1102,1444,1370,1088,846,1040,1354,1104,1224,1212,1284,1328,1194,997,1040,1302,1426,1296,837,722,841,1098,1024,1152,1172,734,546,482,683,1294,1252,1222,1444,1003,1230,1246,1106,1314,695,477,574,868,842,567,476,568,406,356,536,741,1026,1370,1154,1116,1260,1017,688,427,411,562,728,821,1144,937,451,315,288,273,329,322,302,358,390,391,386,403,494,554,532,499,486,603,606,485,364,332,470,569,517,469,462,571,661,445,412,484,467,424,482,510,432,382,415,484,530,551,574,495,416,373,345,348,358,364,341,343,410,539,559,416,420,378,344,364,335,302,330,369,357,385,421,379,413,517,780,1034,828,972,729,661,1042,952,749,1018,996,657,674,928,1308,1324,1120,716,785,832,1028,1186,694,346,372,731,1048,797,524,948,1015,872,789,570,462,822,991,872,837,731,551,359,377,368,494,561,484,447,350,291,312,292,404,660,957,1242,1118,1586,1000,534,421,650,908,932,1224,1266,986,999,1144,1164,781,477,495,761,1066,778,457,583,1013,1068,1026,927,767,788,863,662,739,897,943,584,380,390,425,475,532,690,653,539,693,585,483,597,550,1078,994,836,1042,1224,1252,1096,666,713,1100,908,1054,962,1318,1476,1386,1580,1774,1784,1674,1440,1432,1384,1156,1300,1192,1304,1626,1654,1760,1690,1666,1578,1262,991,662,405,601,839,1162,1494,1478,1380,1110,1228,1410,1124,1056,1023,861,1096,1214,845,840,886,942,966,1076,1126,1176,1194,1616,1396,628,526,561,539,626,810,797,840,1226,1510,1572,1924,1484,1094,1164,1138,1118,962,1364,965,460,362,444,659,996,1202,1378,1178,662,433,572,683,1048,1230,865,713,1068,1524,944,593,516,600,909,1248,1240,1084,924,1038,1256,987,415,301,284,313,339,720,1400,1704,1442,1340,1122,1018,891,668,774,594,900,1246,1104,1246,1676,1360,965,1102,1048,871,526,548,927,1278,1192,845,750,1122,1594,1534,940,755,977,869,492,465,600,853,976,1064,1356,1446,1424,1206,1158,1206,1144,1132,1096,1360,1284,1276,1296,922,937,1122,1100,810,906,1164,980,811,504,419,357,448,833,1086,1338,1418,1470,1644,1506,1290,1200,1066,818,824,1032,1092,1082,968,757,963,965,876,1028,1068,1330,791,526,483,405,600,822,965,1084,1046,1324,1266,1110,1148,1302,1180,948,943,1250,990,564,612,870,1186,966,1015,1042,894,890,1072,1128,988,1005,510,490,620,533,387,323,339,365,341,419,589,693,443,474,396,251,224,240,278,349,442,647,787,662,614,440,397,296,293,269,261,277,328,397,398,393,367,301,322,328,331,303,277,267,318,323,503,634,739,636,522,561,427,367,347,340,407,511,505,466,418,371,380,384,383,383,336,310,328,363,411,386,310,292,308,299,291,292,299,302,299,305,310,294,279,289,270,264,281,357,402,410,421,416,374,361,374,396,386,448,459,419,567,882,944,951,781,484,499,480,485,648,611,534,567,525,442,448,501,476,544,733,659,588,651,761,793,775,651,537,556,586,548,529,567,672,657,655,587,689,675,574,433,415,418,431,436,452,439,380,381,377,298,286,366,939,1478,1432,916,912,1018,835,714,733,822,829,440,291,318,479,558,506,436,408,402,421,483,480,395,358,350,380,422,468,505,648,980,1478,1186,983,1062,827,658,646,779,698,635,641,638,557,513,521,760,956,786,721,1021,1024,1082,1220,1212,1100,993,705,536,530,496,477,433,413,438,544],[484,482,517,437,358,814,1254,966,1098,880,514,375,400,505,544,462,396,419,499,484,378,380,383,455,687,748,631,507,444,443,475,461,446,424,416,419,418,455,508,527,589,610,460,352,398,450,481,451,439,413,372,404,460,469,460,373,319,327,402,465,407,426,405,449,428,401,379,657,511,474,467,392,369,338,345,356,375,356,348,354,378,408,381,375,321,263,343,652,806,580,371,350,334,286,219,296,400,395,382,387,336,288,243,338,543,753,1006,1308,1642,1174,537,374,528,742,1030,849,480,431,494,761,642,486,570,1620,2208,2122,1526,949,413,265,275,236,252,306,346,328,404,368,262,230,223,212,208,257,280,566,1254,1600,1538,869,1276,1134,805,1138,1548,1224,1232,1484,1694,1854,1372,916,874,787,679,434,298,336,580,715,687,789,718,376,398,560,551,554,490,336,257,239,300,661,811,555,453,475,675,1016,1182,987,761,968,1080,1180,1108,639,509,656,644,556,510,446,372,429,556,732,824,1196,1212,1202,1076,1322,1166,559,655,779,779,713,450,334,278,276,263,294,291,271,258,207,250,371,648,966,560,370,363,311,300,265,329,484,688,639,460,492,458,387,266,272,217,226,221,213,224,250,369,425,409,451,539,684,648,584,768,602,486,438,459,409,369,356,344,362,397,441,404,520,480,457,473,305,224,265,418,504,415,367,426,496,608,821,521,484,611,741,485,457,534,520,445,356,445,567,398,365,355,327,318,279,359,364,347,383,402,418,619,879,775,527,357,347,363,543,767,765,659,517,416,706,793,483,645,766,647,440,461,365,449,554,698,913,937,945,878,846,860,1092,1048,1476,1318,1250,1378,1178,946,868,819,908,865,574,527,603,1178,1374,1020,1148,1240,1130,889,1116,1618,1252,594,850,971,1090,1034,957,992,1224,1942,1450,1064,1180,1072,937,882,1040,1394,1620,1670,1454,1434,1202,1218,948,664,562,562,379,324,285,251,244,270,318,448,486,316,256,225,220,228,241,291,310,314,328,255,282,226,228,273,246,204,245,248,222,244,247,275,298,241,253,214,208,212,234,214,200,219,226,261,351,347,427,709,930,901,846,832,571,478,720,913,705,623,926,1288,1250,973,991,913,545,486,563,608,582,907,992,543,325,382,666,1004,785,720,468,433,286,198,251,302,325,333,414,519,532,417,301,354,370,371,376,391,381,487,412,275,274,381,642,741,667,796,841,764,562,675,799,629,663,824,996,889,537,652,444,406,473,479,562,864,1498,1706,1042,776,1258,1454,1384,1262,1316,1330,1140,1082,981,1158,1150,1062,951,1004,1036,1246,1336,1048,960,1286,1390,1274,1432,1654,1290,1116,661,568,797,837,735,637,509,411,462,661,643,672,832,840,1218,1180,1174,1120,1190,933,726,944,942,657,360,877,1526,1570,1484,1284,1456,1802,2008,2312,1820,828,605,449,451,430,506,835,1084,1064,804,733,736,761,835,952,1112,732,710,728,796,647,582,844,912,943,905,817,774,1090,1080,630,517,467,541,1042,1300,1590,1472,1054,919,822,720,954,897,850,979,695,1009,1136,935,751,467,1040,1116,1070,1096,1014,1222,1220,1252,1112,1376,1090,1210,1438,1316,769,649,1038,903,538,743,924,808,871,1005,1198,1404,1216,1078,650,766,1250,917,886,1118,1015,971,509,558,530,718,708,566,753,1184,1330,1422,1100,918,1304,1170,901,987,1112,893,665,641,675,988,1248,1402,1480,1344,1432,1450,984,471,759,1162,1546,1760,1760,1536,1410,1396,1218,1340,1318,1142,1322,1484,1272,1210,696,503,363,321,366,579,1198,1376,965,1012,1250,1282,988,984,1023,1032,1430,1758,1418,1244,1436,1572,1816,2388,2068,1790,1664,1528,1086,1698,1532,1986,1664,1416,1068,810,495,274,267,255,267,289,357,390,429,703,885,1023,1144,1092,889,922,1142,1018,809,799,815,469,345,340,521,890,1350,1264,816,866,888,822,662,872,1660,1694,1542,889,833,1440,1578,991,599,522,495,488,415,638,680,687,578,628,565,675,958,1023,955,880,755,773,610,511,502,484,443,448,505,437,371,457,576,480,383,411,453,459,488,509,465,538,576,511,656,830,724,608,680,748,938,962,917,873,938,771,573,415,314,299,310,333,313,338,390,325,259,263,312,335,602,1076,1262,1070,989,956,579,645,1262,1216,916,605,350,371,536,1026,1266,1016,618,885,1298,1258,1134,1028,1038,1108,1358,1190,1128,1220,1224,1112,1380,1728,1362,895,753,779,768,1019,760,1028,1210,880,489,421,736,1110,1192,1214,1042,507,365,529,554,908,838,526,634,1174,1590,1298,735,778,994,814,550,416,886,849,1007,1090,1106,1166,907,1013,1106,670,521,866,771,893,1134,951,860,993,1296,1005,869,1324,1418,1188,827,593,558,335,355,536,563,661,946,1090,1152,1276,1346,1176,1104,969,897,771,922,829,841,832,1013,1400,1380,1124,1126,1456,1508,1176,1194,880,781,816,926,722,737,839,866,944,907,839,1007,914,974,766,660,461,690,814,950,989,1120,1044,989,1338,1374,1172,1106,976,1168,1302,1204,1222,1386,1428,1228,1184,1466,1596,1324,875,861,793,701,1036,1128,1172,1046,678,457,321,598,1102,838,761,865,1154,1302,1122,1020,748,452,418,745,799,617,600,711,768,563,637,602,750,1278,1418,1278,1408,1050,491,328,348,333,410,593,709,994,1108,713,396,323,294,305,301,289,344,400,436,419,416,405,445,527,438,438,541,541,453,374,374,458,599,570,679,703,541,445,359,330,365,390,392,435,495,487,419,424,490,493,468,465,474,430,393,382,383,385,342,370,420,553,586,491,416,393,323,319,361,367,337,332,334,318,339,422,379,455,608,733,932,758,873,944,704,682,795,1156,1430,1280,832,595,560,717,551,568,607,732,737,699,660,578,416,586,929,1104,1042,1068,1346,1202,1258,1186,703,541,833,1220,1340,1016,1266,991,428,449,430,427,341,361,366,280,238,369,632,884,724,596,1007,1308,1808,1250,832,516,802,1060,865,840,571,513,665,922,1012,686,423,404,623,1184,1104,599,763,939,890,983,802,566,515,764,821,1076,1334,1296,849,514,514,514,373,367,479,462,392,404,372,386,477,490,851,1118,905,774,918,952,831,919,899,1054,989,912,1023,1172,1332,1460,1656,1792,1704,1460,1392,1500,1416,1344,1168,849,1180,1504,1600,1614,1682,1570,1298,1258,1136,740,609,668,921,1308,1538,1354,1146,929,1086,1222,1068,998,1132,1280,1374,1374,1040,903,836,883,900,1188,1320,1202,1226,1394,1110,554,542,599,540,433,560,644,949,1222,1340,1564,1788,1266,679,928,1108,1052,1144,1246,770,437,379,330,462,734,713,636,652,644,564,774,746,1134,801,732,920,1188,1156,778,633,653,668,901,1126,1132,966,1015,1210,1234,750,351,281,266,258,357,657,1106,1464,1214,1204,1150,1388,1120,769,731,662,1064,1490,1162,1060,1348,908,584,671,750,814,548,369,858,910,1090,1246,1044,1366,2012,1118,829,683,484,410,496,860,917,806,1058,1368,1418,1284,1162,1208,1334,1212,915,1122,1252,1074,1092,1212,961,716,967,1836,2408,1322,882,1166,1372,915,443,363,386,483,595,529,616,738,1158,1500,1306,1262,967,1444,961,1009,1454,1316,1158,1266,1126,1009,770,921,923,930,888,407,403,429,481,1014,1170,1716,1700,1096,1366,1300,1232,1394,1424,888,847,927,1086,983,581,351,716,1150,1242,1128,1036,931,966,1042,769,677,680,537,471,519,470,345,360,428,416,449,385,634,666,399,539,504,423,375,257,269,260,317,497,598,565,554,450,397,303,322,303,297,334,354,398,403,424,371,329,320,321,344,332,295,314,358,364,519,828,939,741,753,686,476,387,389,397,468,579,479,295,272,248,296,393,395,353,285,281,279,320,364,345,309,310,308,310,328,299,315,330,316,318,306,302,304,301,286,269,316,358,334,361,330,296,299,313,328,340,366,401,433,453,443,495,519,477,420,397,429,438,443,506,605,548,581,540,448,445,457,453,469,637,502,420,426,525,586,591,505,416,449,466,443,470,540,697,717,793,716,641,650,630,467,368,363,381,449,498,445,433,438,430,389,310,416,933,1432,921,427,575,576,563,865,742,1244,1282,586,603,827,720,571,544,612,633,544,454,469,423,367,377,380,416,421,447,537,634,1009,1440,973,732,978,821,608,563,572,635,681,777,650,535,604,625,773,1096,907,742,727,806,838,1168,1100,872,598,386,440,476,512,596,463,433,514,634],[402,465,486,487,380,507,763,660,545,471,441,416,481,586,547,459,399,430,494,486,422,405,404,498,769,841,680,610,502,392,434,477,446,409,394,369,445,568,564,559,682,642,440,352,363,398,426,399,329,235,177,215,269,269,257,272,316,327,374,374,333,397,486,491,524,419,285,565,646,474,469,380,333,351,322,287,336,333,299,294,274,261,305,338,295,272,256,444,562,472,398,337,259,225,200,283,349,324,315,328,334,332,345,640,563,832,1246,1306,1602,1072,589,497,556,880,1072,792,1066,541,429,699,712,489,425,1130,1278,996,907,767,399,304,263,275,348,367,350,332,366,343,293,269,265,259,263,271,247,435,1038,1404,1570,1030,1106,1304,944,999,1526,1544,1310,1594,1850,1780,1250,859,850,797,719,655,607,632,683,719,876,1058,739,381,434,573,566,503,371,228,267,400,761,1166,891,498,578,779,1034,1406,1622,1106,1228,1766,1558,1098,898,643,540,606,808,1024,828,567,663,727,529,567,597,914,1054,970,1116,1310,912,426,390,485,785,698,388,307,289,308,357,422,351,268,217,229,321,464,703,1060,819,622,451,315,280,245,289,384,461,412,404,464,409,424,500,501,335,262,242,219,227,259,341,405,458,509,728,855,780,692,785,648,536,522,538,568,516,418,333,339,342,361,321,441,439,404,445,321,231,236,328,452,504,421,413,453,799,959,566,451,543,536,436,458,511,493,441,412,527,641,450,376,393,381,362,339,374,368,352,383,406,431,514,787,782,714,788,649,507,715,721,938,1152,868,356,370,366,410,708,919,879,555,532,593,637,774,1074,1170,926,1005,855,824,1230,1556,1180,1304,1076,949,889,785,941,980,969,959,994,609,516,731,2350,2396,1018,652,957,1166,1212,1676,1496,1252,851,999,850,1180,1192,1168,1050,1166,1218,1096,1330,1372,1188,954,734,1007,1616,1340,1660,1218,919,986,890,846,790,772,749,445,408,333,341,290,308,395,628,614,415,285,233,241,245,266,316,314,283,321,296,272,239,248,300,314,257,251,235,192,264,261,296,323,234,201,184,192,207,192,179,180,172,189,232,284,319,686,895,884,827,798,831,790,739,836,859,798,641,748,890,929,1084,1142,774,424,692,899,800,941,1200,883,619,458,441,697,909,772,622,386,259,190,198,256,298,301,427,622,577,777,572,331,275,319,326,472,467,399,430,338,294,289,276,338,397,618,1046,822,433,408,624,693,628,842,1004,1042,692,669,1038,783,513,539,565,621,702,1166,1256,831,847,849,893,1054,907,1090,1338,1426,1282,1208,976,688,814,686,607,1088,1542,1318,1156,1136,1112,974,1084,1444,1866,1760,1294,679,527,735,1138,1300,1214,962,698,786,828,647,521,429,280,286,774,1086,819,748,865,819,683,657,489,480,1042,1580,1656,1466,1334,1522,1732,1674,1946,1724,946,668,484,366,362,611,824,1034,1256,1150,1005,852,732,889,1054,941,559,443,600,548,520,651,739,935,842,729,997,659,597,775,1013,1118,857,836,1068,1250,1362,1162,913,1007,1034,1146,1220,738,615,956,1110,1136,888,475,299,604,1216,1086,653,543,673,862,1018,1324,1022,1098,1232,1344,1348,1418,1028,818,964,691,633,1170,1454,1206,1288,1096,1040,1152,831,602,509,700,1068,1082,766,440,669,1274,1058,788,611,743,959,1220,1390,1476,1376,1392,1174,1160,1162,1242,1100,1152,1370,970,862,995,1128,1224,1182,1098,1023,1072,1216,1108,650,404,412,951,1602,1682,1716,1568,1312,1312,1068,1100,1036,967,1450,1720,1098,704,490,405,407,367,309,364,618,975,1212,1214,1316,1258,1072,804,993,1152,1556,2014,1830,1512,1238,1886,2574,2688,2126,1882,1428,1230,881,1396,1398,1322,1474,1368,1116,1120,716,292,265,252,254,267,289,328,401,698,777,865,1136,1062,872,1098,1262,1110,916,894,701,428,361,368,488,890,1576,1490,987,969,905,936,812,722,1040,1668,1420,678,630,1108,1284,820,533,407,341,359,513,673,596,637,659,709,655,711,983,1010,944,885,767,681,555,514,531,584,526,454,487,401,279,353,410,421,338,339,407,444,505,520,530,553,634,678,607,605,778,727,813,1016,1120,1060,991,1019,948,679,511,397,373,372,354,346,273,262,300,289,292,296,306,438,644,1018,1454,1296,1214,998,752,422,534,586,574,378,297,349,599,726,673,684,493,646,1174,1112,860,990,1148,1204,1358,1006,658,659,966,1128,965,1410,1564,1100,1050,920,712,752,792,836,1162,1182,683,810,1344,1430,1340,1408,1514,945,490,468,568,1196,1162,726,797,1001,1038,893,766,943,1120,788,424,445,962,1088,1046,741,967,1026,969,1110,979,614,631,1068,931,1036,1036,1030,1160,1260,1152,866,969,1168,1332,1278,708,390,334,499,492,347,289,437,799,1080,1208,1262,1188,1116,1074,904,943,950,1208,921,613,680,1011,1306,1072,976,1036,1416,1232,1010,1064,979,980,926,953,929,764,884,884,649,498,581,720,1026,1028,778,498,400,384,402,639,833,1032,1108,1036,1064,1194,1060,1178,745,949,1268,1126,1072,1208,1368,1232,959,1352,1318,1274,655,514,763,1072,1044,973,1126,826,597,364,348,682,1280,1034,999,748,1090,929,628,456,394,439,414,470,466,514,647,1126,784,760,795,630,627,1108,1290,1186,934,492,437,515,317,285,460,673,725,1058,1300,848,428,309,290,304,339,356,386,394,477,489,449,494,662,618,417,391,408,483,470,389,346,394,615,529,703,689,440,313,279,278,285,299,318,351,461,480,467,453,446,441,456,480,499,433,420,429,408,380,419,587,479,529,510,438,461,450,407,392,370,365,334,333,338,363,591,588,529,482,477,526,879,879,899,1216,1006,697,779,1118,1350,1418,1048,710,514,433,488,585,661,739,608,502,703,988,597,858,1012,1100,1002,946,800,951,1450,1278,791,644,629,841,993,1028,1224,1023,633,593,752,614,372,392,348,274,230,375,512,620,556,608,1052,1120,1180,1256,1034,621,432,385,357,318,302,490,630,784,1094,850,418,385,533,803,884,905,662,737,1130,1152,944,1012,952,786,1124,1190,990,1076,941,612,565,563,339,281,288,291,309,340,323,307,427,491,656,1070,958,678,580,714,558,836,739,679,667,803,1042,1204,1430,1622,1780,1652,1362,1238,1348,1612,1524,1020,703,874,1178,1266,1308,1520,1616,1548,1426,1376,1408,937,979,1010,1232,1266,1300,1238,1068,1084,1242,1248,1136,1058,1000,1158,1450,1514,1206,1090,1032,823,812,1098,1246,1272,1334,1132,752,570,540,553,528,416,430,460,623,877,1306,1384,1286,1070,823,1052,1080,762,727,689,511,458,426,354,451,726,780,496,372,364,464,720,760,985,894,619,748,1264,1476,1174,1056,978,851,1009,1326,1042,613,670,949,843,459,399,340,276,248,300,514,668,717,717,827,1108,1016,615,639,934,1166,1246,1262,952,588,631,615,602,622,828,1238,901,525,574,710,999,1316,1454,1288,1178,969,922,564,468,498,521,678,576,404,604,1072,1194,789,896,995,1206,1200,1208,1314,1232,850,797,863,764,711,1019,2750,3908,1820,1068,1132,1007,674,528,631,753,770,730,664,677,962,1212,1478,1208,1074,938,1416,841,860,1058,935,1028,1016,902,924,511,561,489,814,577,357,315,300,433,780,1112,1698,1602,1078,1270,1200,1166,915,728,636,678,965,924,866,704,457,599,789,1094,1154,1152,709,636,468,326,503,678,612,453,459,379,382,606,645,470,497,396,299,300,337,456,499,592,559,357,266,228,261,332,389,466,360,378,375,288,344,367,309,310,302,399,373,397,380,332,315,338,389,333,282,319,336,324,477,926,1160,1206,1110,741,458,455,601,541,496,670,506,251,236,232,250,324,412,393,322,302,306,322,334,328,336,348,324,304,336,315,324,334,337,330,310,326,360,385,380,351,327,299,307,306,314,295,306,324,326,299,299,317,335,336,388,461,420,388,386,399,444,475,421,500,560,525,523,520,457,418,460,528,453,473,405,393,410,450,518,561,521,443,432,410,467,473,521,662,659,658,587,508,587,611,454,363,346,405,531,490,476,454,414,437,393,289,481,927,880,474,554,717,734,809,851,799,857,1088,1007,1072,994,540,315,364,499,502,420,393,397,405,379,330,372,430,444,420,518,646,973,1452,757,594,733,699,641,603,545,620,826,882,655,480,620,645,733,1146,1124,760,965,1226,1010,896,745,541,388,354,391,357,392,478,429,379,542,810],[376,422,423,484,390,357,414,419,390,413,424,410,428,497,509,474,383,399,481,476,466,426,348,384,640,799,600,543,372,299,304,310,306,306,338,373,423,477,487,537,591,413,287,300,291,302,297,263,225,210,213,208,208,238,264,289,306,265,276,279,296,372,426,433,431,384,350,733,1044,1023,901,696,469,409,364,323,332,260,200,250,292,297,323,283,308,353,280,281,327,337,338,298,258,252,269,289,223,255,342,400,386,374,428,802,791,879,1122,1334,1338,1176,1070,839,701,883,983,904,1168,547,288,317,414,407,410,386,412,517,601,546,277,261,234,320,385,383,352,369,375,350,338,344,352,370,411,331,287,439,713,880,872,560,584,1092,1232,895,1124,1704,1526,1628,1920,1874,1378,940,848,789,737,717,721,718,742,787,802,689,520,416,380,355,327,336,357,360,405,818,1352,1200,778,622,973,1332,1364,1042,1100,1062,1448,1894,1454,999,877,630,578,742,1102,1116,720,609,1444,1204,546,485,616,791,865,879,936,860,587,430,358,499,536,445,336,302,290,355,473,392,234,237,216,239,272,391,546,713,678,635,461,324,337,373,351,290,323,364,423,451,427,352,271,360,421,379,256,195,204,246,366,454,396,655,992,1332,1068,814,789,581,441,513,548,517,433,530,427,370,341,345,349,338,479,680,579,366,297,266,303,440,507,389,361,376,876,850,561,485,612,649,441,364,404,419,414,532,731,727,502,380,371,389,391,379,423,403,387,416,412,466,466,735,858,959,1120,868,800,737,689,728,737,735,352,299,328,479,555,875,975,671,728,792,737,677,696,838,699,876,843,854,1000,966,805,1011,883,736,816,802,866,1114,1358,1058,882,647,672,1056,1788,1382,617,560,1230,1544,1284,1572,1280,1290,1216,1234,1096,1262,1180,1322,1260,1146,1140,1006,1200,1262,963,903,692,1038,1814,1502,1256,768,434,598,984,1154,1174,1015,830,690,650,437,349,389,425,613,708,495,315,313,290,307,332,339,307,276,267,337,368,277,227,235,284,338,321,287,251,231,262,287,341,281,223,169,189,208,177,168,180,179,189,212,239,256,496,866,952,886,847,788,909,941,877,952,1036,918,671,634,527,574,774,739,479,432,741,1036,1060,1104,1170,944,1004,779,694,674,739,718,489,376,285,212,237,279,308,349,577,633,743,867,564,270,289,355,357,444,437,476,456,383,363,333,377,507,957,1250,1266,875,604,471,533,543,448,619,837,875,544,776,973,955,713,608,718,802,597,720,839,1013,1102,849,1044,944,738,1078,1238,908,642,796,549,367,505,403,418,871,1070,1236,1510,1348,1048,1116,966,1064,1424,1730,1296,569,539,800,1264,1670,1542,1240,1050,1334,1032,782,796,675,520,538,957,1278,739,860,988,1238,683,515,625,696,1016,1394,1338,1292,1262,1534,1670,1394,1908,1692,1160,849,510,506,749,880,732,996,1378,1160,951,650,472,639,1058,1068,703,471,350,419,882,987,855,1042,1076,662,822,668,559,810,1334,1366,1188,1042,1020,971,1204,1688,1284,1462,1368,938,836,515,422,668,984,1142,1024,544,339,619,929,548,382,393,766,1100,1218,1052,720,964,1462,1316,1042,1152,1238,1264,1128,1070,1058,1148,1278,1194,1278,1090,965,974,699,510,485,651,935,1086,692,599,556,879,1048,833,894,956,1166,1300,1328,1786,1816,1560,1494,1676,1214,1292,1108,1478,1606,1348,1180,1040,789,724,678,719,754,959,587,484,323,336,334,637,1230,1452,1584,1678,1448,1460,1228,1172,869,1036,1526,1300,770,449,465,506,440,365,380,328,402,689,1318,1112,879,879,816,863,1438,1778,1888,1734,1710,2046,1714,2464,2658,2098,1930,1764,1418,1148,1044,1478,1494,1158,1524,1768,1358,1230,910,334,256,253,244,241,256,268,360,684,1020,1200,1154,984,995,1234,1262,985,977,939,583,356,368,401,502,807,1388,1380,1124,1230,973,962,794,485,434,798,842,503,461,547,517,481,549,422,355,331,518,593,616,703,632,578,516,439,473,572,725,886,854,625,490,536,633,733,619,477,458,291,256,313,257,454,540,424,371,438,465,500,548,652,730,703,683,513,742,893,1092,995,939,957,985,1106,1078,989,732,442,348,379,364,335,317,283,234,233,322,395,414,635,791,1254,1496,1332,1264,908,778,719,430,699,934,599,469,532,570,681,538,350,363,584,1204,1334,1038,1030,1126,1244,1154,1074,1026,782,904,1023,763,967,1464,1412,1110,1204,1046,1040,1132,982,1064,1152,1126,977,1244,1384,1344,1450,1538,1168,742,503,775,1412,1234,988,1860,1396,696,872,1346,1276,1306,1240,658,745,1016,1262,1362,716,903,1058,1160,1202,1022,771,629,616,668,901,1076,1152,1322,1318,1120,963,954,672,665,692,606,494,596,813,689,378,293,467,1021,1138,1296,1256,1112,849,852,938,1086,1200,1318,1017,651,983,1206,1206,1094,1186,1184,1326,842,539,457,501,749,676,846,959,980,885,721,722,730,738,636,963,1226,1008,584,392,372,357,346,449,610,966,1058,775,977,1190,1202,1058,1158,1078,902,949,1070,1230,1226,1001,1056,1292,1158,903,785,766,1030,819,879,874,471,437,386,498,675,995,1172,1214,901,909,736,517,315,355,394,398,413,427,434,539,954,1032,1122,988,658,782,1290,1294,1044,463,460,619,694,321,263,379,516,504,684,717,497,350,269,260,288,312,315,308,357,465,633,826,683,528,527,497,456,368,460,498,429,364,375,582,487,574,706,564,397,319,300,290,285,276,273,301,334,475,479,461,437,416,462,412,365,423,441,424,456,498,590,531,545,490,448,464,412,404,429,350,316,289,324,355,344,688,752,642,577,561,667,866,1023,1122,1342,1130,744,648,915,1278,1356,1122,812,629,631,576,712,773,747,757,664,680,749,1026,890,744,904,988,811,688,918,1326,1106,897,875,789,666,626,871,1076,1124,824,610,821,827,532,413,355,426,389,382,350,340,386,681,936,930,1108,1166,1214,773,559,453,404,339,430,849,790,582,614,506,461,514,532,753,1296,1736,490,339,670,746,964,1296,1114,761,609,455,594,901,863,481,473,496,385,321,309,294,307,326,342,345,418,511,636,804,1064,885,538,593,584,532,697,785,601,707,1005,1262,1512,1680,1548,973,1236,1384,1336,1256,857,593,843,1110,1030,936,1220,1420,1418,1544,1378,1410,1652,1500,1426,1160,1070,1066,1134,1246,1350,1382,1388,1288,1378,1272,1210,1172,1292,1404,1312,1146,1140,1156,1062,1090,1226,1556,951,754,492,362,402,438,454,412,430,698,877,1052,1302,1264,1244,1108,894,732,577,600,617,781,822,631,586,523,739,1150,704,382,374,388,382,691,869,844,823,994,1056,990,1222,1236,1266,974,796,1206,1246,749,614,654,862,811,608,622,359,275,303,281,320,476,584,410,378,553,831,1030,1040,1352,1452,753,756,799,522,494,556,676,730,998,1360,1174,775,754,1094,1096,1204,1366,1206,824,467,443,531,749,641,360,327,310,300,320,592,1448,1920,1184,945,1070,1194,1246,1166,958,713,668,760,757,888,1024,1186,869,894,985,1098,1068,955,938,1080,1290,1058,767,691,686,1068,1428,1450,1094,888,916,901,701,865,835,720,828,895,810,852,400,346,398,578,430,387,354,324,420,411,461,846,1068,1018,1130,1244,927,662,633,568,676,1030,1220,1124,887,796,847,582,941,1330,1196,650,604,486,319,316,462,503,490,507,622,532,504,462,430,451,396,347,408,414,422,454,470,371,292,212,209,226,248,271,381,346,348,394,372,436,482,289,299,329,346,311,328,320,308,285,275,320,321,288,262,284,295,473,705,1060,1016,878,685,582,657,672,604,644,734,442,278,253,252,257,288,385,390,350,359,365,344,331,336,346,368,345,336,351,342,339,339,345,359,383,403,403,420,433,405,335,340,334,333,348,332,324,326,324,308,286,281,290,307,325,339,349,391,420,414,481,518,521,546,512,460,453,476,455,414,463,512,488,426,422,445,426,430,505,541,499,468,488,470,510,447,504,567,559,525,409,418,573,617,440,345,327,368,425,388,373,332,327,333,358,410,489,565,493,849,741,735,944,994,720,769,633,979,1222,1118,854,429,362,330,336,430,462,495,462,441,440,436,413,404,450,481,464,637,955,1418,720,493,536,537,541,583,559,608,916,1002,1026,722,524,622,800,1212,1410,1166,1308,1310,999,687,515,374,343,340,380,358,361,354,384,424,660,915],[302,281,331,412,420,385,396,419,395,395,402,422,382,382,426,418,347,386,404,414,457,371,299,291,459,582,493,423,290,263,256,280,300,312,334,369,459,521,524,516,597,604,419,397,287,239,255,241,230,223,215,237,293,335,307,274,291,314,354,403,430,428,425,467,478,396,303,555,1318,1778,1174,871,835,557,398,428,438,364,318,476,718,521,450,317,300,278,304,272,286,282,315,320,330,327,354,368,265,250,352,374,316,315,457,666,938,1072,1116,1370,1278,835,849,895,684,883,893,901,742,400,254,280,363,419,434,443,438,448,528,452,311,290,259,262,333,373,380,368,346,379,389,415,448,445,492,417,419,379,537,580,570,590,430,669,1230,1064,963,1812,1952,1640,1738,1678,1324,1098,978,828,744,736,721,750,852,791,691,639,557,483,404,306,261,286,432,454,503,844,1182,944,783,929,1490,1478,1354,1148,1030,889,924,1268,1498,1408,919,551,452,584,1082,809,630,978,1616,1212,495,495,629,719,927,1092,1092,882,508,403,431,408,353,359,381,345,324,420,462,352,244,254,234,265,336,523,755,628,414,409,377,353,444,648,644,464,328,325,459,548,590,402,223,231,291,354,300,206,216,245,305,433,483,954,972,847,839,855,745,519,408,469,451,495,1804,1632,711,427,396,363,348,357,459,549,579,493,481,433,385,426,395,355,361,415,413,437,529,600,722,756,514,426,659,691,532,572,729,875,703,430,380,386,374,376,359,389,514,445,437,478,459,712,1100,1352,1015,739,832,498,525,479,619,403,412,418,416,429,427,513,631,625,548,527,529,542,489,803,934,742,655,919,871,805,927,949,895,956,880,814,747,933,1126,818,672,783,1056,1350,1890,1638,760,700,863,657,722,725,890,1190,1134,1074,883,954,940,915,1068,1094,1244,1174,1334,1412,1482,1444,1007,1072,1446,1426,927,529,641,1046,1412,1510,1328,1088,1200,1023,874,722,519,528,681,748,553,520,342,336,306,391,414,386,301,294,311,339,349,317,346,330,323,342,330,389,400,320,270,281,415,402,247,184,197,192,172,217,262,238,274,230,219,280,717,983,966,928,886,776,736,823,910,778,659,500,705,651,661,590,444,365,335,318,382,482,600,652,811,858,938,801,768,844,902,670,409,367,345,280,286,309,275,315,620,680,1030,1070,649,357,404,463,415,385,398,508,524,530,465,362,366,740,1001,1012,1086,893,683,797,773,494,439,445,525,565,642,855,1044,899,571,473,838,964,792,827,799,1170,1096,862,1136,1112,875,803,786,1022,998,543,347,287,312,306,394,1009,1208,1208,1706,1462,1306,1294,774,485,1188,2156,1634,894,964,1224,1402,1540,1378,1064,733,980,1152,905,985,1242,1156,1024,1282,1286,1144,1246,918,786,481,685,1130,1068,1011,1374,1362,1378,1372,1642,1534,1298,1754,1518,1064,623,405,575,1052,1000,647,1176,1214,1218,889,602,567,556,1144,1104,667,501,321,624,1046,842,1021,1130,1072,729,570,492,558,1040,1222,1142,1252,1306,1214,928,1288,1792,1622,1956,1648,1222,1226,843,616,1014,1048,938,899,563,422,463,625,487,440,861,1360,1304,935,605,662,1008,1064,886,695,764,812,842,1188,1450,1042,627,621,633,681,701,771,847,772,937,972,1090,1260,936,979,1178,914,992,1130,954,1136,1104,1138,1242,1228,1682,1744,1454,1390,1404,1444,1474,1498,1520,1484,1352,1042,800,521,742,695,691,619,589,432,350,303,317,333,547,1152,1616,1710,1704,1626,1534,1638,1516,1258,1476,1670,1430,812,449,498,571,538,343,363,338,346,392,912,1102,886,750,958,1108,1050,1250,1516,1534,1700,2154,1716,1544,1226,1150,1562,1956,1764,1294,962,1404,1760,1356,1174,1244,1380,1614,1262,609,298,274,286,292,307,358,472,672,1104,1166,1021,1092,1268,1340,1286,890,1018,1380,1016,390,348,428,578,572,992,1148,1034,1244,1046,836,664,470,362,421,630,677,614,587,696,569,567,486,352,408,649,675,713,937,663,416,390,368,355,390,404,526,699,640,566,627,681,655,501,448,453,289,253,270,460,824,910,560,344,396,445,493,481,517,675,811,867,941,1228,1250,1018,808,1009,1236,1160,1258,1296,1346,1194,766,393,348,389,377,331,285,274,283,503,967,934,931,998,1204,1180,1410,1654,1236,1086,1009,783,1054,1312,957,733,590,922,910,709,509,391,667,1170,1336,1204,1152,1230,1268,981,907,1166,778,592,564,973,927,1180,1592,1336,809,848,1236,1248,1214,1088,917,1118,887,918,1302,1378,1714,1678,1106,875,766,923,1344,1282,1420,2414,1444,858,1013,1154,835,1106,1320,640,631,1052,1362,1428,1116,822,843,903,1130,1086,963,718,547,629,781,1030,1234,1158,915,991,1048,721,445,577,802,807,761,784,800,719,325,276,455,1236,1310,1328,1256,841,427,654,724,675,756,795,839,913,979,1023,950,860,860,710,573,383,305,230,598,1005,813,1007,994,1064,1066,1394,2092,1520,1060,813,960,1104,935,663,465,418,371,355,366,409,508,582,526,1068,1400,1242,1336,1368,1198,848,827,1078,1162,1134,1162,1274,1406,1070,877,1092,1270,865,694,712,502,351,372,401,522,730,849,1640,1660,1294,1360,1272,1011,496,362,341,509,549,485,432,618,761,857,1078,1202,1064,1058,910,1206,1094,471,544,804,580,301,303,375,383,353,430,389,289,265,264,243,253,268,254,263,273,300,697,1412,1304,592,436,539,464,364,402,437,424,337,328,531,525,488,689,591,461,340,301,290,280,283,267,282,303,406,491,461,381,374,346,316,348,423,428,470,487,496,537,563,529,473,464,440,368,345,390,365,336,417,401,378,369,480,581,722,770,625,671,573,752,1120,1172,980,761,640,774,1106,1036,806,841,764,768,642,654,625,637,716,703,541,454,991,1064,797,970,1266,1110,899,632,865,868,985,1386,1290,949,847,1078,1468,1352,917,735,666,548,509,363,484,970,646,378,347,377,429,636,1052,1366,1410,1062,1172,803,808,607,393,314,357,665,898,953,791,433,433,428,528,841,1128,1390,600,329,426,533,838,991,880,881,660,926,1254,804,350,246,319,300,249,260,299,320,324,330,340,346,367,438,465,572,1016,833,456,408,408,387,433,358,412,753,1068,1418,1670,1748,1492,1284,1448,1338,1296,943,539,811,1262,1356,1046,1094,1316,1248,1262,1516,1406,1588,1614,1588,1210,744,882,1078,991,937,1318,1308,1252,1296,1122,1224,1432,1332,1182,1272,1426,1260,1232,1160,724,680,883,1672,869,426,588,772,581,334,451,631,806,1028,1100,1296,1236,1186,954,902,984,869,561,575,860,1088,983,846,935,731,689,593,470,499,542,519,423,803,926,841,1072,1448,1174,899,1011,1040,1266,823,678,1034,1090,994,916,749,877,929,966,773,378,325,282,247,249,320,347,306,300,273,472,945,1152,1192,686,305,380,420,408,500,517,610,608,752,922,824,838,882,1076,927,1042,1064,921,724,579,575,673,913,744,534,797,722,326,350,625,1624,2074,1264,1040,1122,1080,1046,874,745,544,471,678,836,742,861,651,426,396,571,1060,1214,1136,1114,935,945,858,834,618,569,1140,1458,1186,963,606,561,469,544,864,1094,1194,1202,1066,998,590,397,356,408,450,392,395,422,496,656,738,805,834,798,899,965,926,712,641,703,659,678,1188,1228,706,645,948,1068,788,773,1472,1444,823,400,337,305,264,310,459,758,669,858,852,609,404,380,373,321,386,543,546,559,375,318,241,260,232,229,233,255,269,357,389,336,347,431,525,562,299,241,263,262,295,335,310,299,289,299,344,302,256,270,313,361,632,751,1170,1100,719,752,1020,1098,1026,729,874,865,720,393,296,302,323,356,379,405,387,400,405,372,350,388,374,394,371,377,398,400,386,372,386,397,379,370,351,370,369,382,418,392,338,367,350,325,324,300,269,280,300,312,288,296,330,369,434,492,546,590,595,529,521,497,455,466,466,454,422,417,430,419,389,397,405,406,445,421,424,470,491,455,486,480,486,512,548,497,493,482,487,564,568,410,307,267,304,368,365,460,436,331,386,394,495,863,1006,955,1150,1912,1140,615,672,851,769,636,748,1070,977,713,626,555,508,364,375,501,518,493,503,520,560,557,498,498,432,421,518,642,1120,1336,777,491,442,473,500,524,554,685,1028,1130,1572,1021,592,1026,1318,1416,1440,1410,1376,1296,976,560,368,362,309,312,376,349,317,372,418,504,646,800],[369,331,359,382,374,337,337,398,403,399,365,376,329,303,335,367,359,396,457,521,481,344,289,317,523,502,399,295,269,251,265,320,357,411,417,398,568,561,504,502,592,639,520,465,345,258,229,204,215,232,256,286,307,310,296,319,353,379,418,462,496,494,483,515,492,414,324,423,632,721,688,794,1036,793,600,670,526,460,396,601,1070,1001,472,329,260,265,318,300,252,245,314,370,378,350,419,382,289,286,397,415,367,337,467,566,805,882,850,971,1076,724,531,689,734,883,751,614,465,326,279,306,396,564,598,494,408,374,368,330,305,373,440,444,401,371,379,389,418,444,487,519,506,475,508,507,462,415,527,546,575,572,461,433,1024,1378,1204,1346,1866,1506,1388,1582,1444,1284,898,737,675,705,794,1096,928,605,569,546,465,445,384,426,421,310,451,522,841,998,1052,973,1050,1332,1250,1162,1264,960,562,428,654,1172,1630,1618,1148,585,461,573,895,1096,1066,1068,1296,1040,502,578,740,853,769,1012,1398,904,466,387,527,492,365,338,359,350,370,496,371,344,295,264,245,296,424,830,1064,677,423,490,609,500,410,416,495,463,348,342,725,968,758,457,262,247,247,264,254,197,211,251,321,428,720,950,760,501,338,421,589,469,416,433,527,428,944,788,532,456,462,410,348,363,404,402,450,558,561,498,404,358,319,331,395,394,380,412,522,871,1018,847,593,456,702,810,706,954,1390,1410,1140,678,414,430,378,419,375,404,529,445,432,471,493,665,1024,1042,694,737,601,432,390,406,765,730,495,408,525,530,429,600,714,547,695,679,579,888,579,887,858,1088,1608,1376,1146,1450,1144,614,1116,1416,888,758,692,565,591,631,593,861,1326,1338,1086,748,592,604,716,975,882,711,574,953,1130,1204,1370,1278,961,860,1156,1332,1172,1450,1298,1032,1090,1240,937,923,1250,1240,789,600,900,1028,1000,1178,1158,1114,929,751,902,935,868,845,775,807,374,361,331,389,626,692,621,509,391,395,392,359,373,357,443,446,380,329,310,375,350,302,272,247,321,301,207,199,202,192,202,258,309,274,259,233,188,334,737,981,973,902,857,779,859,992,1086,1011,883,733,821,834,787,636,455,363,350,300,296,322,361,378,368,375,458,508,651,785,683,492,345,327,343,323,309,307,312,354,588,639,745,801,533,380,650,980,542,490,506,537,545,511,480,498,445,479,400,690,1248,952,879,1128,840,571,501,545,478,442,554,720,818,696,438,429,641,814,850,682,567,824,763,697,1072,935,698,556,572,976,993,500,393,335,389,383,567,973,1192,1202,1252,1102,940,830,886,618,1032,1378,1284,973,762,629,501,469,813,896,686,1264,1516,810,1060,1260,938,973,1326,1620,1648,1450,1172,899,711,883,1170,1120,1108,1398,1278,1354,1504,1722,1382,1284,1286,1520,1258,653,587,749,1004,749,744,1156,665,515,509,886,960,633,691,526,451,614,851,922,709,461,744,932,1010,828,564,921,1134,746,697,756,1001,1360,1204,933,1156,1350,1296,1396,1256,1124,1402,1250,976,1178,1248,1082,832,718,604,438,583,597,687,1068,1218,988,646,575,879,1018,819,522,581,767,666,940,1286,1072,562,361,327,360,595,653,498,708,813,603,756,907,1002,988,1112,1028,1012,1490,1700,1108,1622,1260,952,1036,1168,1560,1282,985,1268,1344,1048,1216,1436,1166,1304,1248,910,771,572,590,589,471,433,450,426,381,332,356,347,547,1178,1656,1532,1780,1882,1602,1318,1380,1598,1720,1862,1466,754,435,366,341,308,325,311,333,374,350,536,810,880,955,1180,1182,1018,721,925,1370,1454,1732,1174,816,958,1360,1898,1884,1774,1498,773,918,991,604,716,963,1214,1410,1212,548,371,371,344,309,308,364,468,484,768,943,1023,1013,1116,1312,1108,803,1282,1620,846,409,361,514,570,721,912,857,836,862,837,699,664,702,459,463,873,1017,792,695,815,750,675,555,404,480,779,844,980,1120,696,329,292,274,278,303,284,299,389,552,669,722,624,525,465,468,566,480,337,290,408,620,667,478,361,396,365,392,414,453,566,822,1116,1142,1058,1218,1236,1178,1144,1096,877,1350,1470,1548,1554,962,440,335,364,368,306,300,301,298,529,1066,893,820,1024,1080,1302,1300,1334,1502,1316,1232,1362,1324,1392,1382,946,920,853,680,678,760,543,716,1362,1810,1832,1528,1288,1102,984,1132,1310,826,467,555,1118,1296,1154,1278,1572,1154,940,1196,1572,1458,1120,724,775,854,1322,1298,926,1162,1236,977,871,761,702,926,807,1366,1642,1152,955,1046,906,843,1350,1422,990,1032,1166,1202,1208,1032,871,926,987,1244,1524,1438,987,763,900,855,1144,1490,1090,747,991,1098,825,570,641,894,912,792,695,654,592,262,274,371,713,968,1214,1222,933,706,593,380,322,477,738,1052,1234,745,703,622,462,498,651,537,289,341,309,430,541,736,784,645,611,1252,1610,1710,1938,1544,780,1174,1166,1172,870,512,410,353,344,385,511,568,574,720,1248,1512,1336,939,1180,1108,966,979,1013,1084,1198,1030,1088,1190,1166,1224,1366,1246,751,879,542,427,403,420,355,484,725,1318,1888,1400,1200,1194,1254,1406,996,576,448,812,1094,789,566,553,433,449,615,766,683,528,536,857,674,439,497,591,420,310,314,329,351,302,321,309,314,290,264,240,227,230,239,252,350,451,640,744,536,603,785,764,476,333,332,339,339,347,349,441,471,426,702,685,482,344,283,283,304,299,279,275,261,352,503,468,422,413,366,349,351,394,433,461,426,426,545,544,409,425,470,481,438,354,356,325,290,393,415,376,372,414,431,515,534,453,469,426,548,884,819,1238,1338,752,669,942,1050,682,685,756,800,658,671,711,766,667,701,730,777,1150,1222,1062,1126,1350,1140,805,877,913,700,691,868,1013,1212,1250,1454,1744,1134,899,996,1108,831,535,415,747,1130,860,673,735,624,604,666,1102,1282,1410,1142,706,674,1044,915,589,577,662,724,830,1040,800,416,456,463,693,909,1104,987,505,311,772,1428,1382,1154,1182,1192,1094,1110,981,514,248,239,241,207,223,268,304,308,270,304,342,345,334,435,614,665,901,865,514,395,375,438,502,494,648,1076,1402,1722,1754,1636,1510,1362,1312,1408,1396,960,575,794,1464,1348,1230,1250,1116,1140,1160,1256,1486,1598,1524,1386,1130,996,1174,1330,1094,1098,1068,918,1178,1442,1170,989,1026,1162,1098,1142,1278,1070,791,957,850,495,447,671,705,655,791,1050,759,374,566,966,1272,1254,1016,1066,1242,944,778,963,1126,924,510,630,898,1068,1094,865,784,611,474,365,868,796,832,820,719,1044,877,694,685,972,915,780,955,1092,1068,650,853,1082,768,905,972,827,709,729,979,704,398,393,328,256,295,320,347,455,697,694,1290,1196,652,536,327,349,335,317,376,479,693,801,587,612,839,789,1044,986,1144,1126,1054,1416,1504,1040,1072,1042,1012,1034,1000,925,1306,1166,725,830,1208,1398,1346,1286,1306,1100,890,761,847,637,414,704,1038,861,604,564,583,471,365,620,1090,1224,946,1001,705,755,1284,980,836,771,998,1064,1298,1206,681,972,833,785,744,953,996,894,959,975,938,822,520,341,390,401,411,404,559,686,872,1270,1096,640,672,869,756,721,673,609,593,610,864,722,609,815,919,991,750,608,891,868,537,345,345,319,357,392,803,999,1700,1968,1438,897,551,524,394,281,412,609,547,458,378,321,276,273,270,265,262,279,341,472,455,350,310,404,432,455,350,272,250,266,305,320,290,281,319,421,398,308,286,341,314,360,626,647,869,847,744,1280,1234,974,966,943,1024,943,863,512,372,370,415,413,398,456,417,405,390,372,361,403,397,394,388,401,419,400,392,386,392,387,384,349,364,361,328,363,631,630,455,365,345,324,322,322,287,297,356,326,285,310,394,448,521,755,824,758,818,921,717,585,489,495,483,458,410,413,407,378,388,399,365,382,412,476,612,736,615,522,569,686,797,852,817,690,735,950,893,841,854,485,299,304,424,516,513,618,591,491,561,537,527,865,1158,1282,1338,1056,774,536,509,565,559,805,1156,1030,875,607,490,539,496,435,396,421,463,466,496,576,555,443,416,530,438,427,598,638,1258,1286,691,476,491,706,843,540,515,766,1134,1570,1740,736,467,874,1316,1506,1520,1468,1434,1326,905,702,443,383,331,306,369,390,397,508,623,744,705,612],[438,398,390,344,266,296,334,392,379,358,476,482,374,345,351,339,321,327,348,359,354,332,277,337,485,440,307,265,278,258,288,336,352,433,505,449,554,535,479,446,485,453,329,301,259,187,195,215,231,251,266,276,303,345,388,403,405,407,436,456,479,500,474,495,482,431,307,358,414,532,527,641,897,934,1048,1003,505,499,467,505,630,676,521,371,288,324,313,271,238,223,296,419,400,339,350,318,346,368,377,390,357,415,546,730,1092,750,533,535,671,770,647,701,827,1190,1248,698,500,436,279,284,317,435,575,529,394,290,275,290,382,502,501,502,444,430,446,458,519,493,504,542,543,536,508,520,502,470,448,473,589,567,497,358,641,1238,1190,839,1306,1392,1272,1572,1664,1340,850,804,800,1042,1210,1030,508,331,442,480,398,291,263,343,469,589,735,666,1074,841,911,780,874,1332,1428,1110,949,825,1046,998,1220,1412,1934,1882,1214,681,573,563,803,1236,1134,995,1166,1202,1162,1498,1464,1122,632,570,585,709,800,727,677,499,355,318,379,472,377,427,325,325,331,283,243,310,510,860,1036,662,448,472,956,790,515,412,350,283,295,453,891,1018,812,516,335,247,241,249,252,234,223,249,347,415,517,567,494,424,307,403,518,416,410,509,544,433,661,935,670,547,570,474,420,702,1550,908,479,498,471,423,355,276,231,269,310,365,384,392,411,811,1058,895,684,788,846,804,828,1178,1914,1610,1566,996,479,439,381,418,464,493,592,561,425,435,461,529,657,628,781,794,628,509,359,302,501,639,511,557,789,613,441,905,670,429,922,786,558,799,854,829,531,710,1170,1268,1176,1284,1064,1016,1126,925,754,697,582,521,473,498,506,764,1150,1046,772,866,608,437,848,1412,1154,789,695,882,971,1274,1458,1376,1380,1436,1538,1694,1340,1300,1188,883,1032,1009,876,1266,1250,944,702,608,893,1007,1160,1040,961,969,1154,1132,877,868,913,761,775,761,478,388,341,449,779,814,824,720,493,439,420,382,402,441,432,436,347,313,310,357,325,225,218,247,245,222,223,225,212,224,243,284,287,256,263,243,303,623,871,948,940,858,808,642,468,589,753,750,722,860,899,824,656,355,289,343,363,351,318,334,384,450,442,375,327,276,365,404,319,269,257,361,352,367,388,361,473,539,568,568,659,634,378,374,796,1218,643,817,807,580,596,458,414,534,698,695,565,1348,1550,772,576,863,724,742,709,672,478,511,688,610,680,736,540,419,448,651,788,876,810,864,667,730,899,724,698,552,583,844,709,796,1102,1028,985,690,672,879,1172,1156,836,879,1182,1348,1636,835,951,1340,1340,678,390,375,396,416,645,863,952,1682,1588,840,950,861,588,780,1246,1740,1738,1526,1326,786,502,498,703,1086,1290,1232,1240,1324,1498,1614,1312,1246,1356,1596,1198,1104,886,861,1036,745,805,835,633,602,747,1204,1070,597,463,430,516,902,1056,1019,799,626,701,817,1058,936,463,738,1038,673,493,673,1120,1182,1054,1064,1021,949,584,575,947,1064,974,1108,1130,1048,1098,980,724,690,746,985,1230,869,912,1108,1238,1312,1030,901,1174,940,448,308,481,587,742,1206,1166,594,298,298,345,443,627,865,934,919,812,654,617,736,614,929,1208,1112,821,913,1436,1284,1512,1282,1096,937,980,1356,1178,1094,1558,1208,599,830,1400,1340,1390,970,605,536,527,392,352,296,334,473,533,403,298,347,426,411,1096,1586,1230,1584,1900,1648,1462,1652,1724,1812,1936,1508,1011,480,365,345,301,310,338,360,401,412,480,742,1052,1176,1072,1272,1206,661,692,940,1148,1136,527,427,726,1276,1894,1708,1620,1286,988,796,554,440,639,985,1480,1902,1212,313,307,268,262,278,313,390,412,409,970,1384,905,536,684,825,810,955,1376,1308,513,423,430,633,655,568,437,665,780,666,827,760,780,1068,768,880,1238,1316,798,683,683,544,600,564,591,712,773,759,872,835,536,313,241,239,290,337,416,330,335,450,562,618,564,482,448,523,576,484,347,296,325,333,343,426,375,373,470,645,835,1048,841,605,849,833,685,1134,1362,1200,1112,1344,1354,1538,1550,1454,1034,480,381,325,287,295,283,315,258,267,387,478,550,969,1224,1394,1644,1318,936,1001,1040,1288,1436,1392,1400,1384,1110,1040,1013,601,462,496,427,612,1094,1270,923,807,1005,976,1136,1190,1005,786,727,648,773,1222,1316,1216,1490,1572,1472,1490,1502,798,519,655,659,753,1068,694,336,459,647,984,965,1222,1036,1208,980,1154,1344,1080,1136,1296,904,1046,1190,1372,1542,1478,1096,858,902,748,760,975,1148,1314,1344,1152,1124,1124,1216,1016,1196,1316,858,781,885,772,692,677,663,590,858,1028,708,385,289,262,279,343,424,822,1162,1246,1338,1262,911,479,426,565,855,1148,1198,1128,995,651,504,487,748,608,319,315,308,427,487,613,551,534,680,1028,1254,1296,1554,1124,692,1074,1130,1146,1040,536,330,424,474,495,607,669,504,673,1150,1394,1232,885,1090,1021,854,717,730,1164,1330,1164,1178,1007,989,1200,1504,1200,921,933,600,423,435,465,422,404,631,1476,1788,1538,1416,1096,1272,1216,1394,1228,897,827,857,828,711,504,357,429,411,427,423,318,255,293,359,300,235,283,302,292,296,321,365,389,368,401,477,354,271,247,237,242,230,247,297,417,536,428,360,498,944,1030,561,320,308,312,335,345,363,445,491,430,702,731,482,332,298,282,273,268,260,280,281,338,433,378,456,462,428,381,340,343,381,445,466,425,561,505,343,357,450,601,535,384,341,317,282,314,343,350,392,466,467,421,378,357,376,550,892,1202,971,1108,1238,896,930,1246,1536,903,552,615,793,713,686,683,728,717,757,875,995,1160,1186,1034,1288,1206,941,1260,1438,983,695,670,749,985,1312,1182,1152,1028,610,738,1010,1148,1192,952,753,727,809,851,735,839,1038,1134,1098,1194,1234,1198,938,551,615,1066,1130,845,720,780,720,524,534,452,545,597,691,918,1040,1196,1026,728,830,1058,1282,1372,1188,1318,1422,996,482,356,403,345,307,262,241,262,262,235,205,261,316,377,393,361,502,746,620,637,760,530,354,516,1042,1500,1324,1274,1444,1672,1748,1444,1346,1412,1456,1526,1466,1246,1008,835,1166,1436,990,948,742,897,1184,1086,1240,1372,1316,1476,1140,890,1108,1460,1392,1070,915,932,1064,1222,1214,830,442,440,632,642,1008,1192,1098,824,698,817,676,698,1054,1132,1040,1016,669,577,512,645,940,819,1082,1036,979,1052,733,865,1448,1460,967,675,1066,1168,811,669,497,398,466,438,425,499,624,803,739,785,822,817,697,440,498,557,611,1034,1300,1140,874,1004,1018,862,839,655,696,857,584,647,508,324,560,554,278,351,602,713,889,1156,889,1478,802,362,265,283,343,323,509,876,913,1015,1070,1054,623,807,1070,1060,990,1120,1186,975,1316,1578,1144,889,957,1064,1004,922,1056,1216,1112,1150,1482,1542,1418,1310,953,902,1026,1154,970,1026,883,608,694,980,1006,703,541,644,714,653,631,621,603,772,967,635,678,1058,1188,1330,1196,986,1152,1498,1418,1136,1298,1126,1082,1066,1628,1586,1064,857,1056,1484,1642,916,353,389,416,420,386,609,724,609,803,864,796,1194,1186,800,861,739,678,553,435,637,735,656,914,807,589,636,714,489,378,310,317,355,317,392,351,590,791,1490,1516,1110,854,736,832,558,344,507,628,487,354,317,332,320,241,269,297,280,259,397,526,358,327,327,263,244,294,419,475,432,416,360,297,228,283,338,383,354,333,314,404,329,442,650,561,758,742,764,1056,1006,1070,1100,1386,1194,966,875,710,519,429,412,383,366,379,366,384,371,375,398,441,465,448,433,431,419,396,366,396,537,637,506,401,383,395,373,417,602,721,722,562,359,330,308,344,346,379,408,333,320,332,471,656,624,648,735,725,790,828,694,599,502,466,456,432,388,382,381,388,397,439,458,458,457,642,772,792,724,759,842,930,957,815,799,791,795,870,801,846,1154,811,333,301,445,556,408,364,488,522,508,498,465,684,1050,1416,1222,813,641,491,564,611,643,1180,1504,1108,1124,840,525,438,392,462,430,329,432,527,476,473,426,319,364,494,533,495,598,732,1228,1344,816,614,824,1138,1170,771,514,559,766,1614,1438,1136,1038,721,1340,1500,1524,1552,1304,899,617,575,468,388,368,352,392,501,569,532,544,720,827,869],[423,442,423,441,376,373,343,383,433,433,585,546,390,352,329,314,334,312,340,373,354,338,352,341,301,343,333,298,298,280,282,266,353,383,502,515,535,502,482,464,466,417,290,246,233,246,242,239,265,301,316,318,342,375,392,392,403,443,470,451,445,455,444,435,387,403,300,339,394,374,344,413,605,863,901,784,962,1280,917,855,827,627,609,438,259,261,252,254,229,219,276,404,356,316,320,352,418,445,473,498,408,375,451,684,1066,603,535,547,631,716,608,795,855,974,1108,504,473,595,551,371,332,354,413,394,336,269,307,368,432,565,504,517,498,523,519,500,530,503,546,549,525,477,420,424,418,418,375,412,512,433,336,426,432,879,1166,875,1034,1696,1412,1526,1460,1210,1015,847,959,1146,805,370,236,239,269,354,398,415,317,355,641,1028,1222,914,937,1148,1270,1058,948,1616,1854,523,417,604,1066,1332,1548,1278,1021,896,1044,941,627,670,954,1056,1004,945,1146,1354,1596,1590,1168,905,1120,1242,892,867,1024,1019,766,390,340,355,383,379,348,333,303,294,300,285,225,341,601,778,938,817,638,469,609,767,595,483,434,369,352,503,807,689,708,626,572,402,303,242,243,265,350,375,404,418,319,327,363,454,362,302,412,398,475,530,471,404,714,1028,836,664,597,471,697,1192,2402,1500,533,423,444,374,350,363,275,274,330,421,390,444,391,639,657,808,887,1116,1088,717,738,1178,2004,1882,1942,1176,536,422,493,518,552,519,609,687,465,453,509,538,650,915,664,444,552,514,366,310,392,533,577,536,428,504,725,918,538,418,786,666,604,855,971,795,545,523,895,1328,1244,904,862,1318,856,469,624,678,591,501,464,455,563,887,925,1070,1028,770,623,886,1454,1534,1268,1040,957,1016,1148,1272,1042,1098,1078,1322,1586,1444,909,1162,1168,703,843,825,1012,1532,1216,747,597,734,1009,1056,1050,1118,1440,1506,1426,1136,1148,921,872,1102,969,601,495,537,495,727,838,702,750,792,616,505,458,401,419,526,493,512,411,340,361,363,325,266,285,272,221,193,196,229,212,215,227,240,221,208,244,267,459,841,924,944,926,842,781,582,504,673,774,617,633,786,611,501,514,363,303,331,366,383,332,343,391,407,367,361,304,213,273,309,277,258,284,388,353,382,459,414,384,500,646,764,855,709,558,518,1020,1462,1018,1084,927,753,694,645,697,548,656,1084,1730,2634,1544,990,577,541,552,582,730,624,498,965,1242,727,933,1174,564,413,469,588,741,872,656,674,750,820,1018,915,777,611,561,662,577,709,1054,1246,1346,847,526,885,877,537,731,1224,1966,1756,1470,949,1116,1584,1338,716,435,406,420,456,664,1256,1448,1472,1274,833,957,1128,1072,953,1044,1108,890,1188,1116,550,412,442,778,1376,1398,1410,1522,1362,1610,1688,1360,1180,1136,1294,1264,1262,946,607,701,556,407,594,738,697,754,726,495,412,482,549,794,756,576,576,459,457,610,622,615,594,482,573,744,737,559,864,937,734,1064,1044,739,669,458,509,1026,1188,813,1136,1082,938,719,868,845,711,613,985,915,579,890,1050,944,1358,1128,1094,1016,522,353,340,341,502,842,997,656,333,292,281,283,378,446,841,1106,1076,864,730,523,394,449,634,602,702,541,783,984,1446,1310,1036,789,484,766,1312,1212,1308,1456,964,625,536,734,1162,914,482,405,462,447,388,341,298,361,615,698,542,495,544,979,1100,1418,1532,1450,1594,1744,1648,1274,1288,1368,1382,1418,1352,1066,566,403,357,294,387,437,383,413,442,639,896,1156,1002,760,1050,1062,688,608,800,1114,808,338,336,436,800,1282,1534,1418,1052,1360,995,602,543,705,1128,1554,1786,1194,362,298,290,273,289,362,404,438,450,868,1246,1090,756,908,830,972,977,1050,724,486,483,548,760,722,475,471,643,695,650,671,718,793,839,702,613,911,1012,899,965,686,484,514,472,555,712,703,711,694,601,375,263,251,266,276,388,462,259,301,431,421,437,536,543,619,682,569,550,395,307,343,345,367,501,788,987,1044,1001,915,738,500,388,449,619,826,1002,1152,1028,912,793,774,1174,1350,1346,1088,656,532,390,378,309,295,311,271,319,420,386,403,480,696,1172,1472,1302,900,544,585,767,1136,1298,1023,764,725,1012,964,498,432,345,350,598,769,772,653,694,653,872,1038,890,849,907,1021,951,1034,1070,1030,1152,1328,1622,1532,1442,1058,716,824,812,499,370,398,325,345,429,630,1152,1310,1410,1080,855,916,1220,1246,983,1116,1260,874,1194,1218,1322,1444,1164,1140,960,627,854,1242,1284,1146,1222,1258,1284,1218,905,938,684,686,714,566,592,684,648,533,514,615,644,1174,1454,982,443,316,316,291,347,491,672,766,1064,1336,1162,1072,669,483,510,761,954,933,1001,882,801,793,649,814,755,555,528,585,468,429,547,657,800,721,795,1034,1096,978,738,612,683,697,742,814,495,348,606,869,828,982,1116,672,796,1190,1246,899,1096,1362,1372,1082,819,953,1258,1300,1140,1238,990,853,1274,1562,1272,1094,805,587,536,416,444,424,370,482,934,1190,1200,963,972,1288,1208,1218,1124,1036,1122,1170,895,855,470,336,337,381,378,373,305,261,334,376,312,271,307,315,309,271,373,429,500,431,516,574,396,273,256,252,255,212,230,271,410,474,584,646,639,937,963,531,330,350,406,374,337,361,542,617,429,616,670,551,463,418,394,402,426,398,361,327,375,415,421,511,522,441,364,365,360,344,387,433,401,521,487,437,441,547,702,597,370,321,300,307,364,415,451,563,572,504,496,487,393,429,843,1168,1274,1314,1294,1388,1252,1418,1308,1392,1024,652,577,746,778,699,668,686,713,759,887,836,993,1198,1094,1288,1542,1482,1352,1278,999,620,810,1148,860,832,821,1090,1110,650,843,1194,966,777,828,976,758,471,520,459,473,586,844,1238,1264,932,745,752,624,638,1126,1446,839,606,949,756,565,708,794,709,807,1046,1152,1230,1262,1250,1110,1218,1166,1300,1520,1366,932,692,560,326,345,365,336,289,241,224,229,218,251,241,298,428,810,811,600,634,713,630,510,491,465,442,683,1404,1788,1460,1530,1740,1764,1472,1166,1176,1118,1180,1184,1238,826,888,1188,1316,1130,863,777,572,729,913,769,1224,1404,1270,1318,1284,1150,1520,1406,1124,803,714,1210,1530,1490,1398,926,612,437,416,399,731,1036,1140,1028,886,1026,967,877,1174,1094,1132,948,686,966,1048,780,885,842,1076,1056,962,938,616,813,1858,1808,1058,714,929,1052,877,905,741,620,686,966,1208,649,700,772,783,835,564,572,731,810,818,538,656,1046,1130,1094,1026,1062,854,668,700,597,543,818,626,486,385,342,571,479,314,709,1142,1222,974,763,717,984,630,370,303,318,363,355,688,1280,1224,853,794,946,753,791,1196,1268,1160,1130,1186,1148,1282,1286,1070,865,1058,924,938,839,963,1015,748,811,1094,1240,1290,1040,570,879,1140,1444,1054,1102,1180,932,727,945,1242,1068,755,713,731,579,485,608,764,692,675,897,951,999,1486,1568,1218,997,980,1296,1530,1428,1394,1260,868,1014,1206,1090,1003,727,631,788,1246,640,487,496,420,394,489,1114,1196,762,855,937,1018,1120,1046,883,733,754,639,508,398,529,578,560,625,736,802,825,624,351,448,421,427,491,411,411,378,562,846,901,1078,1200,1056,811,785,521,283,465,627,525,400,357,435,376,308,292,220,280,323,309,263,191,254,307,276,215,275,448,474,433,440,415,361,337,329,378,339,373,432,442,378,310,375,564,741,759,625,573,993,1210,1162,1170,1322,1164,1074,955,873,693,527,466,424,430,439,429,406,358,381,451,570,618,467,523,633,700,463,393,440,583,697,591,416,369,422,402,340,408,561,504,400,365,348,339,350,348,354,322,310,335,303,408,648,584,579,676,655,578,484,460,428,417,421,450,457,466,430,477,409,351,436,476,430,435,563,712,773,779,1017,1082,1118,983,901,860,789,710,724,861,826,1080,1015,446,351,570,691,393,323,421,654,786,761,1009,1276,1202,1372,1514,1094,730,557,642,639,710,885,1300,1558,1466,1014,687,420,422,529,541,562,557,462,448,410,382,361,409,502,728,749,694,1056,1370,1176,679,688,850,1204,1158,618,351,358,407,658,846,1266,1114,593,813,1154,1336,1376,897,792,614,504,556,510,409,421,598,779,655,466,416,576,771,972],[419,451,540,642,478,389,369,393,433,447,450,400,353,330,349,336,297,288,315,359,375,370,387,357,373,442,415,374,349,286,322,341,370,356,465,554,520,455,459,473,492,477,339,270,252,276,304,334,362,364,345,322,312,332,342,340,361,462,483,423,407,382,375,387,425,484,415,387,434,415,362,370,523,654,393,414,1118,1656,1340,1252,1216,1240,1210,727,564,310,308,287,305,297,303,377,381,339,339,368,386,458,586,543,543,456,362,577,1284,948,961,661,392,423,413,702,835,849,572,408,405,670,615,580,487,398,465,470,357,285,321,358,370,525,528,498,454,451,447,456,509,618,623,512,493,455,371,364,363,383,362,354,362,373,460,505,436,641,1106,1204,1154,1874,1580,1958,1284,857,819,778,894,753,407,250,296,284,440,843,1296,1124,479,333,448,804,927,696,966,1270,1320,1348,949,971,1378,811,888,817,1042,1260,1360,1124,1006,1086,1160,1262,1562,1852,1434,1030,1180,1250,1276,1396,1694,1562,1172,1146,1470,1686,1546,1282,916,907,669,406,340,343,336,305,279,273,293,273,278,322,306,581,600,794,830,855,949,903,890,832,626,557,498,481,404,474,620,586,602,955,1012,849,615,296,236,426,735,686,585,434,307,356,382,455,430,426,503,477,555,571,550,704,996,1136,1186,757,559,462,749,1056,1466,1084,572,413,437,332,371,513,499,467,825,677,456,411,347,495,686,810,956,1278,963,611,766,1322,1936,2032,2084,1312,738,629,610,634,581,500,722,890,597,473,556,598,576,868,567,355,398,333,319,362,303,415,483,607,709,1334,1220,732,425,703,913,771,642,503,602,902,630,666,1070,1496,1001,521,422,347,235,340,461,462,434,465,437,431,792,1260,1036,938,1070,925,703,964,1334,1356,1266,1134,878,1009,1346,1366,881,921,1260,1610,1650,1142,889,878,676,403,531,919,1476,1826,1320,861,987,1312,1444,1360,932,1080,1952,1822,1526,1140,1260,987,810,822,675,661,840,833,803,1174,1274,990,808,922,999,818,672,533,475,479,469,537,504,411,370,352,356,287,285,245,212,202,200,247,241,228,241,229,222,227,219,263,613,901,948,954,849,797,718,459,311,557,760,525,381,523,509,465,374,279,264,278,324,385,357,305,360,407,458,454,380,279,306,292,257,302,322,360,361,365,449,453,436,728,887,871,854,723,894,666,551,549,685,913,947,1064,779,796,825,548,499,798,2138,2210,971,812,746,606,500,401,409,444,767,1486,1212,694,1098,1036,498,406,515,556,730,752,477,732,955,961,816,817,802,504,433,433,433,657,869,1018,1088,941,883,965,682,719,985,1048,1556,1448,1090,926,981,1294,1246,845,883,811,716,661,744,1230,1412,838,616,631,830,875,739,605,608,696,850,1050,880,879,634,784,1150,1478,1478,1526,1668,1816,1816,1546,1368,1068,902,786,1080,1228,944,771,883,663,321,401,410,298,288,381,350,278,310,757,930,540,401,499,505,465,465,573,706,518,475,567,754,730,634,750,634,502,878,970,581,457,451,439,705,1132,1210,1444,1194,891,781,633,636,743,680,603,535,678,1186,1198,699,547,532,811,995,777,470,441,630,899,1158,1208,437,412,325,292,317,344,524,1056,1274,981,776,723,610,469,683,858,593,628,714,1048,844,938,644,449,401,470,1019,1238,1066,1182,983,597,439,396,469,861,877,610,487,474,406,345,341,343,397,396,436,560,604,767,1322,1596,1332,1136,1388,1722,1646,1592,1320,1324,1144,824,633,969,1340,975,562,375,449,531,503,344,376,624,779,738,966,735,593,602,534,458,369,480,664,410,295,302,296,631,1060,1470,1750,1544,1334,1092,921,588,683,1108,1448,1622,1018,381,306,293,285,301,383,422,419,450,746,1456,1518,1132,1378,1034,774,568,492,503,717,711,689,804,633,529,789,628,495,522,520,683,667,554,597,585,518,455,677,857,480,483,486,494,524,591,644,718,664,465,296,272,244,246,246,362,383,310,364,478,450,458,574,628,735,846,557,683,644,747,938,978,572,400,553,513,372,319,319,355,414,398,367,469,889,1180,1144,1104,1144,1090,860,1034,1314,1320,1208,968,780,615,672,419,291,297,285,351,444,396,318,325,565,964,1288,965,692,481,400,469,1044,1416,1316,745,365,579,673,442,459,471,477,1236,1412,1284,1186,959,586,810,1023,639,525,544,773,1106,1102,684,699,1264,1322,1482,1632,1542,1222,918,730,573,678,586,390,465,448,480,890,1026,1078,1116,788,793,1013,1048,990,1120,1188,1204,993,1174,1064,1080,1318,1028,921,927,703,929,1076,1064,1110,1374,1216,800,794,727,787,968,1076,659,457,432,684,727,590,533,630,520,682,780,591,417,380,330,286,298,377,507,692,1130,1362,1192,1248,974,725,525,580,747,987,1256,1380,1368,1404,1182,792,897,999,1270,1314,727,322,560,1158,981,609,458,455,612,683,648,583,606,516,680,730,447,480,866,1024,985,977,1124,1152,1108,1464,1396,1048,1078,1108,1030,1066,1252,1060,1082,1036,1154,1060,946,1170,1508,1190,995,1032,793,924,826,456,534,480,330,362,320,479,506,764,1036,1106,1021,855,1064,1208,1342,1346,1454,1272,513,321,312,347,347,317,263,270,343,407,376,339,339,305,300,298,418,416,420,370,399,472,357,235,237,247,246,229,214,256,459,720,689,537,458,655,810,493,419,452,512,372,315,324,576,584,519,680,739,707,632,658,655,637,661,495,364,357,446,451,451,515,541,417,348,350,334,346,370,387,464,542,576,568,589,717,835,680,386,323,355,359,386,428,436,504,526,515,460,410,390,443,566,691,1138,1378,1312,1304,1158,1142,982,996,995,740,503,652,855,762,688,709,672,611,954,910,1256,1538,1568,1820,2230,1964,1414,1820,1296,655,895,1228,855,649,880,1142,1108,754,907,955,546,315,358,633,652,540,460,412,424,637,954,1072,1062,730,554,783,858,799,1188,1262,801,767,917,672,703,1044,1056,846,1004,1001,1026,1210,1252,1400,1332,1294,1162,1130,1288,1286,1046,1286,1184,422,303,346,346,253,248,236,246,278,283,324,473,1034,1620,1490,1188,807,723,641,502,437,422,396,561,1042,1410,1558,1628,1544,1434,1494,1266,1038,828,647,711,858,749,711,840,982,1040,1278,1266,1094,705,872,868,1246,1372,1350,1288,1440,1498,1642,1426,1208,1268,1302,1360,1560,1604,1266,1036,893,575,403,464,749,828,971,1238,1312,1316,1148,944,899,878,940,836,904,1240,1382,854,792,962,927,858,894,905,496,403,803,1196,1270,1266,1154,1034,1094,977,841,913,713,1060,1290,749,641,650,793,1034,859,742,763,834,836,554,645,1050,1130,1116,913,805,608,529,684,724,1001,1094,664,429,418,580,590,403,672,1190,1294,888,521,469,679,767,614,343,301,308,324,463,806,1250,1188,700,482,451,758,905,883,926,1002,1202,1202,1126,1290,1204,735,767,1152,1130,998,963,1202,1074,852,1144,1220,1220,1318,1266,889,739,803,970,1154,1396,1228,1130,998,1106,1196,1244,850,744,637,646,617,694,786,719,733,1170,1272,1090,1270,1238,1062,807,957,1250,1596,1594,1360,882,680,954,1108,1230,1000,448,359,661,1084,974,974,1096,1074,749,610,1092,1266,1108,982,916,1040,1290,1386,1284,1030,846,926,730,396,418,519,631,588,686,1004,842,521,392,432,524,558,882,1124,655,290,460,722,850,1052,714,850,851,594,399,276,445,615,540,422,393,473,340,327,288,257,267,309,252,209,218,247,292,316,302,360,418,379,323,510,579,428,345,357,323,297,362,604,634,428,566,493,907,1164,874,686,646,819,927,943,1270,1430,1178,1250,1060,913,858,604,498,394,423,431,453,473,404,370,523,632,557,632,828,938,852,491,410,523,535,534,515,433,404,396,390,332,382,483,372,373,379,360,350,344,350,337,328,400,486,386,385,463,439,396,406,408,375,365,387,381,339,360,376,466,558,604,637,618,427,345,399,384,382,416,554,679,904,830,939,975,780,740,714,694,787,872,893,843,1006,1120,658,383,677,691,448,508,794,1344,1666,1626,1738,1664,1260,1008,1216,1056,786,801,816,664,634,551,938,1214,899,717,647,399,366,385,546,711,785,656,625,565,581,581,491,476,547,571,744,1162,1538,1044,874,641,498,802,730,394,286,377,534,738,1106,930,651,550,489,770,825,807,576,489,547,560,606,550,499,583,729,843,861,719,539,489,693,808],[396,508,688,764,543,393,392,364,325,350,375,340,319,259,343,290,252,289,307,330,340,381,500,566,458,475,497,426,331,275,324,345,358,335,379,492,487,415,423,477,512,483,344,266,284,293,366,427,414,397,337,294,252,277,306,300,286,332,327,294,328,379,379,449,641,683,491,378,436,424,359,287,450,528,529,745,1100,1206,1030,982,990,971,1052,926,1014,419,276,350,385,362,322,323,371,349,268,359,349,386,480,433,353,347,335,653,1044,966,938,513,322,337,384,477,501,583,460,435,568,658,432,451,536,615,612,575,424,269,337,379,422,562,550,503,449,427,442,497,555,560,510,498,530,465,372,358,354,345,344,350,348,377,427,411,431,590,807,1296,1284,2260,1898,1436,894,440,402,489,520,492,462,408,482,438,664,1346,2088,1424,572,323,332,345,341,519,604,842,1206,1001,862,867,1158,1084,963,759,833,1208,1322,998,1046,1202,1158,1428,1798,1502,1108,902,775,730,1048,1650,2068,1640,1088,947,1272,1236,894,813,898,834,644,587,555,460,340,287,301,292,331,390,479,531,437,888,1098,1112,880,854,851,621,708,752,637,685,651,723,731,611,711,1022,1126,1588,1572,1412,838,397,334,445,681,719,661,426,339,356,424,482,433,594,667,483,511,494,454,814,1160,1176,1166,761,532,611,764,921,914,818,772,558,486,471,465,702,713,488,574,546,440,335,316,387,616,885,993,1146,951,1072,1222,1636,1668,1588,1528,1016,582,400,372,537,903,1138,818,951,747,455,496,518,558,733,592,311,331,272,292,326,347,353,306,535,1048,1232,900,746,527,438,664,966,893,999,1050,1190,945,1038,860,788,525,327,325,328,308,294,421,494,496,594,486,419,540,630,792,1046,1046,591,534,966,1292,1392,1346,1462,1168,1410,1622,1146,614,808,1310,1650,1366,817,780,719,703,754,1024,1072,1632,1824,1272,1052,1422,1644,1380,1426,1240,1220,1126,1126,1076,1106,1100,1006,921,810,824,1002,1376,1584,785,755,1020,994,1102,1192,1086,966,877,641,448,350,354,479,625,536,394,433,417,302,265,230,219,236,243,249,246,225,229,235,235,240,264,443,804,905,819,772,761,773,651,408,376,438,509,433,321,583,603,540,447,324,202,204,265,326,325,299,400,459,490,480,459,405,389,344,283,300,324,400,446,341,307,392,504,605,842,1000,875,715,910,638,340,326,457,655,888,849,430,364,577,568,949,959,1098,848,855,1368,1050,426,329,280,244,369,675,1007,830,708,918,691,570,587,462,394,391,422,444,653,724,778,434,344,335,275,415,569,729,814,846,914,833,1068,1262,1252,1204,1208,1052,872,1342,1492,1144,929,758,822,604,553,968,715,553,498,504,616,712,910,1011,807,759,555,358,455,468,641,1120,1332,1174,1144,1308,1498,1498,1418,1312,1260,1356,1704,1786,1572,1542,1328,752,598,1023,1118,1072,941,603,407,252,252,241,262,313,304,324,347,338,386,482,501,468,453,431,417,372,428,643,695,595,684,756,589,570,679,601,742,1090,914,656,525,446,411,417,741,833,772,853,901,767,568,560,576,884,1032,731,837,1090,944,495,404,601,838,946,961,880,769,854,1146,1448,1448,532,408,299,320,456,708,1056,1418,1490,1152,917,895,979,628,612,628,608,775,1052,916,1064,1246,559,343,357,416,771,941,1086,1388,1098,597,458,455,484,586,609,523,451,382,331,289,328,347,407,381,426,526,448,404,702,902,766,720,1088,1632,1672,1584,1370,1434,1146,841,1046,1492,1440,1021,833,930,827,591,379,336,590,795,786,1042,1064,551,594,761,554,744,518,325,275,274,286,280,395,617,822,1066,1366,1566,1482,1120,1352,609,560,872,1204,1158,635,332,318,286,289,339,424,431,398,453,818,1140,977,1048,978,780,641,539,423,432,604,774,840,879,558,498,552,494,426,350,423,765,904,805,657,642,589,549,636,669,381,405,386,478,578,504,520,683,664,495,352,290,300,251,301,376,375,360,425,471,480,515,591,613,593,836,832,972,987,883,739,507,268,194,203,276,372,363,343,373,404,582,446,381,599,1058,1322,1023,1058,1246,802,1012,1530,1490,1210,953,948,804,1088,832,423,311,330,550,681,622,406,372,654,1126,1194,660,413,421,357,551,1006,1162,1102,650,504,456,529,476,556,618,537,1004,1452,1236,945,798,531,697,1168,842,648,401,658,1124,1066,628,825,1394,1448,1386,1438,1628,1480,1066,584,465,910,877,643,940,718,630,965,1112,1430,1444,1032,1020,1084,874,995,1318,1426,1306,1110,960,862,1007,1188,1106,788,728,675,884,982,1170,1082,1116,913,572,505,891,1168,1312,1072,443,396,419,566,598,578,709,750,499,354,443,667,755,655,772,672,373,343,473,536,822,1188,1268,1072,1096,931,692,797,781,1038,1216,1400,1134,1192,1048,738,844,1014,1256,1188,725,457,661,1030,619,351,286,301,406,548,574,525,512,386,379,389,376,429,781,774,968,1116,1354,1184,1074,1716,1844,1208,998,729,800,1276,1570,1024,1074,1038,1330,1578,1334,1298,1126,918,1160,1150,807,861,873,619,518,473,384,359,332,292,262,524,800,1088,1290,976,1066,1154,1134,1388,1582,961,401,300,241,286,350,303,284,299,387,451,400,369,349,305,271,283,343,324,333,358,383,476,312,204,218,255,269,288,323,291,411,643,580,480,415,565,856,577,558,524,486,385,325,376,557,541,553,745,719,662,632,612,669,648,680,498,323,343,400,504,570,432,388,350,357,393,412,493,551,578,677,784,814,767,728,678,640,558,491,432,572,583,521,457,409,439,529,475,387,371,413,427,437,621,1102,1360,1166,1176,1096,1076,1100,1024,1040,893,558,619,1006,857,648,668,644,827,1178,890,976,1050,1376,2110,1898,1148,1158,1950,1512,1122,1216,1164,756,467,604,860,1003,955,1052,700,430,448,380,416,445,427,447,392,476,697,535,526,882,792,702,674,631,828,1284,1238,868,793,687,616,583,765,961,974,781,769,859,1190,1200,1334,1500,1390,1208,1156,1104,1230,1290,1256,1288,748,378,332,340,268,257,242,249,280,326,503,606,982,1360,1450,1318,1488,1596,1094,650,505,463,540,941,1192,1418,1644,1342,1048,1214,1624,1484,1238,814,473,485,589,940,953,921,1144,1298,1364,1154,1116,658,824,1132,1254,1214,1134,1078,1232,1512,1514,1410,1438,1610,1450,1296,1266,1072,1000,1148,1086,661,601,916,1086,980,1074,1214,1096,1178,1116,1156,801,804,1094,1048,615,803,832,550,732,990,907,844,765,933,872,501,582,813,1120,1316,1260,1416,1520,1030,948,1064,466,540,579,832,729,544,755,1140,1230,1210,1050,1118,1070,789,862,1246,1064,799,891,899,815,647,472,753,1172,1001,678,528,603,1182,1094,574,902,1344,1222,805,501,384,532,868,886,388,348,447,510,504,626,897,835,544,435,425,590,904,1108,954,1074,1426,1366,1238,1288,1310,886,621,905,1130,1130,1322,1364,917,810,1298,1340,1410,1284,1302,1426,1274,1206,870,904,1122,1158,1136,1086,1028,866,916,720,711,705,735,764,802,952,922,847,1072,1102,1124,1150,1016,1186,938,1080,1170,1400,1594,1356,1150,1154,1238,1312,1234,683,464,445,1005,1470,1462,1360,1270,1054,874,818,1072,1054,1080,1074,797,837,910,1106,1342,1232,972,1036,796,432,329,378,628,851,634,897,827,678,455,301,453,602,1100,1482,917,609,880,1122,1116,983,1002,1021,780,521,393,291,363,430,375,330,306,312,294,317,295,284,272,269,262,249,270,318,484,561,455,416,398,434,445,752,774,614,563,493,439,438,328,420,454,603,839,678,876,1034,1058,1066,1042,870,709,671,775,819,882,1106,940,683,857,821,608,736,907,664,553,510,459,388,470,512,350,456,1062,1230,741,429,505,556,580,670,705,521,450,386,366,389,476,444,414,390,365,355,354,342,354,369,383,469,504,414,410,484,467,428,421,402,388,397,416,356,314,344,336,335,369,467,455,421,327,381,455,393,441,423,357,379,601,487,495,525,487,451,462,538,624,713,854,868,918,949,667,627,827,920,955,1456,1750,1838,2016,1986,1664,1252,856,550,668,796,1034,1344,855,576,711,694,744,860,644,473,458,391,324,295,448,578,617,563,567,615,678,659,605,608,582,579,549,795,1434,1136,998,663,421,426,394,333,336,397,813,1138,1216,1170,801,548,698,875,603,433,328,372,451,451,548,580,617,755,803,822,807,755,567,448,537,672],[383,499,689,740,548,390,347,265,220,260,267,232,256,247,263,239,270,291,296,329,347,496,937,958,468,462,528,428,315,286,307,290,279,275,314,449,508,465,484,481,434,394,337,304,290,316,391,398,426,443,319,264,210,232,268,262,234,253,353,427,480,463,364,354,484,554,545,507,507,470,386,266,296,312,672,1054,1004,1166,1002,852,951,667,758,1098,1264,664,343,272,484,968,925,472,351,404,349,375,351,340,377,382,303,296,331,499,614,962,880,499,433,362,310,352,557,1054,1012,623,796,800,419,369,445,561,750,615,353,257,332,501,669,666,573,533,509,528,561,592,553,528,512,477,423,380,382,380,368,364,360,361,337,331,401,383,436,588,542,1026,1054,1936,1674,1122,820,364,391,390,376,472,472,455,484,461,531,938,1264,987,550,403,522,480,578,896,821,842,1016,915,1152,1466,1596,1094,539,522,739,1248,1532,1472,1154,1252,1252,1282,1076,1118,1426,880,393,554,761,1250,1526,1168,800,547,782,688,462,411,581,589,501,752,962,854,691,385,329,289,364,457,539,556,486,645,781,1018,1108,960,811,576,790,666,788,876,985,800,831,939,1368,1552,1558,1544,1878,2212,949,517,516,325,365,607,685,542,393,369,481,505,412,505,607,505,449,341,293,415,529,648,988,844,483,651,896,935,799,860,1142,1001,755,550,386,459,421,529,836,914,686,361,325,366,458,825,1060,1292,1222,1030,1136,1246,904,1018,1174,1052,548,348,371,523,949,1120,750,991,1005,808,751,711,647,744,764,380,314,258,302,307,289,263,311,434,625,620,702,597,354,342,546,789,651,794,995,1258,1198,1038,816,719,557,413,371,327,294,339,455,653,803,870,653,439,387,419,415,565,806,789,665,996,1208,1134,1252,1282,1208,1592,1488,792,468,778,1128,1186,1102,1140,1300,1366,1346,1380,1684,1428,1582,1496,1252,1362,1526,1482,1260,1268,1300,1802,1338,948,952,1056,1050,1092,935,781,909,1132,964,1148,625,573,586,659,921,1090,887,916,990,602,400,388,373,374,486,552,452,408,372,348,299,270,242,252,244,217,220,208,217,245,236,225,260,568,855,813,661,649,693,731,572,409,333,308,486,606,473,527,527,422,361,316,201,210,231,258,335,377,428,401,354,352,414,433,430,388,300,260,250,258,303,267,283,528,783,698,894,1052,1146,980,633,554,345,335,320,363,661,518,355,359,661,892,1208,1214,1246,1086,1304,1412,753,378,263,221,244,381,357,516,632,559,997,1456,1316,782,403,293,308,326,355,475,702,555,269,302,342,368,469,637,1001,862,771,957,960,641,905,1472,1500,1080,790,769,1194,1378,1060,924,790,808,584,455,617,732,694,550,690,735,592,741,620,705,1094,745,477,728,535,465,800,1242,1368,1332,1362,1424,1184,1180,1346,1368,1462,1756,1642,1610,1644,1618,1030,731,878,854,963,730,602,789,532,480,382,378,443,433,392,379,401,354,349,382,376,368,395,405,365,373,488,661,728,698,952,1094,726,675,965,1272,1028,590,484,674,662,529,406,415,497,593,665,648,526,543,592,839,1044,988,608,623,750,622,617,778,791,866,1140,1252,1162,896,1104,1142,850,506,404,388,357,415,788,1246,1094,1142,1504,1494,1104,867,810,935,819,687,769,976,1009,839,1136,1198,818,502,496,481,537,1070,1368,1920,1558,798,512,456,446,519,454,444,448,386,367,363,419,484,605,492,435,483,398,420,518,513,553,662,1066,1442,1656,1612,1558,1372,930,1015,1284,1324,1284,1146,1332,1310,1312,981,777,733,813,790,790,979,780,438,866,1114,848,740,858,503,318,300,290,356,645,886,1124,1086,715,897,1554,1578,1582,740,575,692,771,899,583,332,340,326,319,362,424,382,361,434,865,842,829,647,393,428,444,396,347,350,420,461,666,800,662,923,720,495,407,303,300,465,760,828,710,686,688,655,794,521,318,372,363,398,437,448,532,677,594,367,291,314,338,278,299,364,405,431,457,449,420,431,625,656,732,811,636,544,482,394,394,408,328,251,267,334,334,349,307,344,571,582,392,413,422,674,931,608,578,1074,916,850,1258,1164,962,1134,1024,874,1142,1122,777,401,343,448,581,1036,615,739,1018,1188,979,861,788,561,428,745,933,1056,1024,893,877,442,373,484,550,550,664,943,1058,1074,1174,955,813,826,830,562,473,449,922,1266,1000,647,930,1122,910,891,1084,1394,1582,1266,1102,833,774,689,1013,1316,940,924,1110,1136,1514,1276,897,1136,1248,1044,1166,1398,1444,1208,1072,970,1046,1046,1042,1148,666,696,819,1076,1172,952,706,764,813,614,382,474,850,1312,1074,616,425,521,814,929,869,736,547,408,401,736,1098,965,1162,1538,1144,552,383,401,356,435,895,1038,922,1380,1328,1005,1086,948,1060,1112,979,725,838,1013,844,515,582,705,518,565,871,807,880,828,467,325,444,480,624,747,598,434,394,387,412,368,325,567,906,1108,1156,1015,851,736,1028,1206,905,708,639,717,1030,1360,1172,888,952,1246,1132,1122,1072,590,850,1522,1138,576,566,775,797,940,973,623,445,330,289,321,464,568,689,1005,777,655,778,1070,1310,1272,650,304,277,230,300,302,274,274,311,356,387,376,381,348,309,280,296,338,361,375,356,298,346,259,239,245,289,312,300,336,352,513,655,526,422,348,464,769,580,534,405,402,398,318,372,505,528,521,617,654,605,602,576,625,595,675,550,331,322,321,395,463,355,357,410,409,454,503,575,691,748,800,807,805,885,887,717,443,458,532,531,686,749,594,418,354,544,659,430,493,626,583,542,501,589,775,1214,1162,736,472,722,1116,1046,1078,1028,718,577,857,840,692,849,910,800,784,713,725,760,1070,1394,1106,832,1122,1242,1434,1552,1436,1058,749,680,667,904,1190,1148,1372,965,517,392,386,432,429,362,318,323,382,427,370,490,867,879,1034,841,618,741,1108,1050,868,677,533,683,720,720,777,839,796,1074,1060,1212,1404,1382,1270,1132,998,862,938,1522,1368,1072,1030,796,453,466,505,333,234,233,267,284,506,969,1148,936,1050,1340,1434,1604,2170,1960,949,705,786,1230,1716,1738,1644,1582,1104,884,1086,1336,1450,1392,861,495,591,789,1002,1256,1656,1460,1124,753,769,619,403,673,944,1040,1003,816,718,1020,1168,1090,1174,1428,1336,1212,1130,964,737,942,1288,970,771,1092,1252,1220,1112,1176,1332,1118,1188,1422,1462,1021,822,1170,830,365,512,585,594,810,1102,999,1184,838,741,827,602,664,966,1098,1052,1270,1494,1422,669,412,360,320,309,421,751,763,643,702,951,1338,1224,846,929,993,1118,1254,1064,704,624,782,815,626,461,461,924,1196,1026,1114,971,1001,1246,880,457,637,930,995,854,619,497,853,936,558,388,360,388,392,388,425,680,650,463,447,430,714,1034,1086,1478,1394,1280,1380,1488,1362,1036,610,628,1234,1372,1516,1282,1164,990,805,1058,1316,1390,1064,1202,1412,1478,1498,1150,1110,1072,1194,1006,1158,966,570,408,472,506,517,586,664,869,992,874,821,1094,972,1134,1434,1114,1058,1154,1268,1200,1114,1366,1418,1418,1214,1005,1230,1380,900,750,557,989,1496,1354,1318,1314,1062,944,984,940,999,932,849,749,715,629,891,940,666,805,1062,940,805,493,682,822,705,576,656,596,624,645,537,513,561,743,955,899,857,971,1344,1218,886,1013,1098,742,492,422,358,367,339,309,305,324,330,310,359,377,317,274,302,341,446,556,564,657,606,546,439,491,539,507,605,659,555,431,462,601,624,302,320,487,614,774,869,1104,900,730,927,875,1010,1164,935,965,596,383,758,828,738,901,1040,748,537,669,648,734,596,495,375,359,423,555,671,1044,1212,891,543,448,438,683,1130,866,619,498,484,634,795,615,451,449,363,363,357,370,368,397,484,412,416,437,416,435,489,480,430,417,412,414,449,457,404,329,309,341,305,329,313,306,337,312,332,383,365,524,478,406,423,430,446,454,443,402,384,399,429,444,593,766,900,1172,1210,1324,1294,1152,1126,1208,1550,1706,1516,1644,1468,996,557,366,357,375,400,1164,1234,604,480,528,570,528,638,655,511,512,452,422,363,473,548,449,437,457,487,506,522,572,573,520,549,728,1208,1656,1430,828,466,426,539,520,453,531,385,517,954,974,1048,697,744,1062,827,670,647,448,372,387,390,369,347,535,686,755,659,628,612,481,442,425,462],[401,445,601,691,625,448,325,227,240,289,294,276,239,230,251,281,293,283,284,328,407,545,1084,1084,554,470,536,439,356,337,303,294,314,316,381,461,502,428,385,336,327,356,380,336,314,379,378,345,391,384,325,245,210,261,329,351,316,351,401,398,404,369,410,508,522,573,738,862,583,363,390,288,308,445,796,973,736,1130,938,852,1264,1036,879,1402,1510,1114,719,536,739,1130,1338,1056,610,543,495,469,461,401,363,322,339,366,368,424,855,1102,633,565,465,498,395,380,410,667,930,925,1148,949,585,551,744,611,763,599,322,344,455,562,617,585,553,588,586,558,601,615,503,462,393,344,345,367,379,386,390,378,354,351,425,594,659,487,392,439,435,789,1100,1356,1204,1378,1398,853,538,445,417,469,453,440,420,339,386,578,620,473,386,522,1015,1124,849,1072,1226,937,969,1106,1524,1786,1486,1050,1018,1472,1186,1312,1278,1526,1220,1290,1172,1164,1318,1528,1426,1046,938,682,521,446,536,809,686,640,544,466,484,448,469,476,514,855,1032,1164,1054,506,351,318,367,407,419,432,484,475,650,1198,1480,1068,671,583,745,670,765,807,996,794,703,974,1534,1970,1686,1368,1468,1416,1046,608,571,383,425,689,758,617,435,404,422,377,358,421,671,540,481,378,297,236,241,470,993,930,572,761,933,862,590,869,1076,1050,802,453,469,581,561,790,1140,1182,937,365,298,333,375,574,746,862,956,851,783,675,606,846,775,1418,978,547,556,942,960,675,769,916,885,841,818,722,462,450,576,414,310,248,287,297,271,276,304,496,669,510,547,462,421,276,333,446,428,732,955,1098,1136,884,788,824,554,381,356,443,496,432,518,731,841,877,669,439,388,426,346,338,685,818,810,808,913,953,676,749,975,1010,1252,912,604,1078,1076,1226,1352,1326,1360,1042,1052,1304,1208,1034,1228,1210,1320,1064,1092,1166,1196,1020,1310,1036,943,928,846,1044,1222,1236,1172,866,997,1196,1038,1019,923,744,579,742,849,771,764,825,801,711,393,335,365,357,412,426,424,350,317,304,296,300,282,299,288,247,223,236,230,250,258,244,330,565,755,744,607,618,668,637,397,346,327,310,551,848,792,525,466,405,357,366,307,245,227,225,262,300,336,313,303,330,358,375,336,258,260,245,251,242,285,262,290,658,923,1028,1007,888,852,792,630,678,554,346,313,443,522,419,408,438,612,1028,1106,1168,1630,1246,1454,1606,776,525,304,236,258,362,421,800,1142,1018,1064,1550,1550,935,384,313,394,331,252,493,807,530,307,382,376,367,446,512,763,916,1110,1150,1282,846,804,1372,1388,835,763,1346,1270,1178,1046,758,599,667,610,428,656,1080,889,641,1142,1202,635,682,837,1132,1218,1018,782,696,533,406,728,1222,1448,1336,1112,1182,1260,1358,1462,1488,1676,1750,1530,1428,1298,1248,1028,924,1050,1052,1290,915,930,1072,1014,723,430,365,481,544,441,419,435,295,233,322,381,416,414,440,455,422,406,471,634,764,938,911,679,930,1460,1116,586,439,405,911,1214,846,425,360,397,600,761,480,408,805,1050,1266,1003,800,641,580,873,610,424,765,868,514,879,1110,944,750,1166,948,545,486,452,414,382,497,871,1108,914,854,907,1180,1118,1512,1610,1412,1182,758,1052,1362,875,835,1106,1604,1604,745,465,483,555,560,1164,1730,1518,976,646,741,1006,744,857,733,506,476,444,631,591,527,719,539,405,448,451,448,413,486,473,472,850,1174,1346,1432,1600,1410,1070,1322,1100,793,809,1019,1362,976,785,1050,1366,1488,1346,1174,1086,976,678,628,954,703,564,336,501,422,309,304,352,769,1178,1246,1282,1118,772,741,872,1114,932,661,590,655,672,581,403,358,360,325,330,378,428,428,434,472,724,744,807,651,375,382,409,379,393,320,370,347,421,472,635,1062,1052,872,865,601,357,308,271,444,596,760,781,730,774,458,300,304,328,337,320,390,537,606,449,323,300,384,425,382,371,413,495,557,549,488,601,874,963,517,540,505,318,317,347,374,429,483,358,289,293,289,265,367,383,524,599,355,283,323,283,306,351,320,397,765,713,722,937,887,749,586,483,784,1168,1282,900,733,498,407,547,774,598,969,1102,761,602,793,968,768,597,716,670,1132,757,739,796,681,466,396,435,492,615,686,764,865,839,954,1276,1236,1005,1013,724,735,1156,1340,1021,777,1040,891,730,758,862,1148,1500,1548,1334,1178,1706,1910,1444,1482,966,979,1072,1108,1242,1184,1044,1360,1514,1392,1272,1466,1460,1142,1046,945,1030,1044,1112,1102,575,543,463,732,912,784,739,846,961,911,495,459,750,1162,1220,901,637,655,924,1320,1340,717,460,437,410,573,1204,1100,1148,1348,1172,902,835,741,589,392,774,1126,940,1214,1390,1204,1236,1204,1274,1260,1054,998,1042,1162,981,448,536,521,367,645,883,664,576,471,307,293,383,477,771,976,863,619,724,568,426,365,397,437,643,942,862,688,663,583,490,680,537,532,535,479,803,1222,1202,932,911,933,686,872,813,493,829,1360,918,664,785,741,1074,1700,1288,1058,914,474,323,354,532,833,498,414,498,581,970,1296,1512,1192,469,301,261,311,358,293,287,264,332,373,369,359,307,288,301,283,354,437,462,455,477,391,329,288,275,287,368,381,329,374,375,448,578,512,468,433,398,481,400,289,240,377,422,303,347,485,486,513,530,515,500,563,623,608,605,696,562,340,332,318,302,325,330,388,435,457,494,584,684,737,800,804,689,751,813,843,761,556,527,501,560,611,636,614,521,435,518,600,940,1274,1240,966,830,876,865,648,908,1188,739,327,578,1116,1070,1226,1184,884,631,706,864,918,1015,936,686,538,509,639,800,1100,884,1168,1074,1003,1442,1626,1650,1434,885,828,1086,1116,961,1204,1388,1236,904,475,320,361,356,399,416,366,361,319,337,404,497,908,938,865,852,868,692,587,877,1282,731,539,781,856,688,557,544,772,1158,887,824,1020,951,945,1032,996,828,1015,1264,1250,1252,1126,717,442,481,448,252,189,236,365,713,886,892,937,822,1036,1290,1796,1702,1316,814,843,1290,1526,1560,1662,1560,902,932,1262,1182,1224,1468,1396,1202,972,780,728,823,960,1152,1628,1368,782,677,801,793,670,533,517,508,548,539,678,736,818,959,824,946,1208,1188,1021,969,659,891,1424,1220,1009,1180,966,841,1023,1144,1186,709,745,1166,1616,1258,418,370,334,445,482,572,771,1028,1190,989,793,790,944,880,680,780,883,769,752,1312,1082,899,437,335,380,402,295,362,496,653,664,749,722,965,797,749,949,985,1218,1260,1054,1170,1220,1036,881,832,803,671,864,1001,714,981,1242,1402,1422,998,891,1074,1322,1268,858,663,808,1090,746,446,468,336,286,471,575,593,683,610,505,514,726,1026,977,1112,1378,1288,1348,1356,1516,1498,918,624,1324,2046,1458,1290,957,1342,1222,1050,1310,1804,1972,1478,1218,1506,1288,1076,1228,1310,1222,1023,1072,1240,1244,942,608,453,470,568,615,571,667,677,664,590,752,729,1534,2056,1260,802,958,1011,894,891,1278,1334,1128,951,529,835,839,647,760,924,1112,924,775,828,763,872,715,813,596,777,1004,1120,874,524,423,393,314,357,470,908,1192,1384,890,882,800,501,437,411,376,609,906,823,759,645,855,849,695,776,1078,1328,1276,977,1040,1312,992,529,417,569,523,404,333,277,285,342,336,351,352,311,276,387,549,685,758,768,775,921,848,576,512,459,415,538,610,665,1042,1114,776,568,370,566,802,633,634,826,771,501,671,840,734,1264,1252,907,928,643,390,648,980,918,980,1052,802,582,529,447,551,496,454,518,642,792,870,965,937,780,754,647,592,774,808,1021,765,568,499,557,767,971,824,613,560,424,369,328,339,339,322,410,468,473,404,372,435,512,487,449,457,490,453,431,375,381,281,296,360,317,301,300,281,306,305,302,334,357,427,425,420,389,496,539,421,432,485,506,522,449,666,901,941,949,1400,1298,1126,1026,1016,1306,1166,1058,1260,990,1162,1296,810,508,647,486,331,677,1072,708,449,454,503,525,468,534,741,728,587,671,780,614,626,662,501,444,414,363,339,332,300,309,446,819,993,1302,1706,1490,1104,623,477,758,628,675,642,460,317,663,803,896,843,833,775,720,1001,888,575,409,507,449,407,400,389,439,541,507,404,390,401,401,394,433],[423,466,519,572,480,369,285,253,279,310,292,257,247,230,238,281,306,303,335,391,486,495,650,662,553,554,507,360,340,325,278,292,370,329,382,412,393,312,281,275,291,312,331,388,501,441,344,272,272,280,314,251,215,237,264,265,263,329,398,460,352,481,650,766,802,869,839,677,396,413,383,242,352,658,1048,918,651,1050,1236,1228,1388,973,941,1180,1222,864,586,762,748,808,1326,1042,960,785,429,368,407,387,332,328,420,408,351,808,1244,621,452,612,730,967,660,517,505,348,426,830,1746,1404,1168,758,714,750,942,705,402,399,429,457,473,510,491,491,489,458,535,518,498,423,284,257,297,332,350,358,343,377,464,554,573,704,641,398,299,327,434,630,959,1284,1104,1320,1460,968,539,512,512,480,426,440,446,403,447,569,576,370,345,560,1066,988,762,930,1058,924,1084,1222,1178,1046,717,674,1190,2288,1480,1210,1068,1396,1356,1284,1516,1580,1400,918,538,727,1474,930,727,938,896,1026,993,1018,816,610,610,503,507,486,485,654,1062,1454,1148,503,366,343,323,339,334,368,466,523,750,1252,1772,1324,683,590,683,678,728,783,859,850,930,1092,1106,1026,829,792,879,1266,1246,711,446,405,470,652,671,562,403,381,352,442,415,513,602,461,424,553,532,366,291,474,930,863,674,626,763,833,506,656,1052,1042,645,419,454,670,907,914,790,1017,823,389,289,329,315,428,638,838,897,742,571,482,450,538,617,974,830,918,818,1166,1028,664,679,494,393,503,658,703,447,374,376,370,332,295,300,305,289,293,290,413,550,401,440,443,424,308,419,568,512,593,769,1042,1126,1060,1114,1116,585,385,351,540,778,533,590,728,736,754,587,434,441,465,362,440,540,692,888,1034,985,905,645,653,880,1406,1834,1050,783,1130,868,1052,1250,1272,1328,893,619,647,595,793,1206,1244,1316,1248,1376,967,742,683,880,762,866,913,971,1108,1156,1026,967,894,1276,1386,1406,1222,1130,872,629,720,719,536,685,702,916,789,444,370,352,370,371,341,406,465,354,308,306,310,277,267,277,279,256,260,246,249,274,265,265,340,465,497,497,596,737,539,302,256,279,353,578,823,691,478,551,427,398,417,385,311,274,250,243,235,270,294,288,278,261,296,299,271,228,227,245,247,322,278,295,623,937,954,845,777,710,753,550,512,874,599,402,514,443,343,408,587,695,796,902,1046,1122,1070,1358,888,678,690,406,290,331,397,633,845,1072,966,746,1080,1136,542,284,253,295,349,349,604,738,428,413,430,380,376,495,800,913,973,1004,1114,1268,1013,961,1100,1040,670,979,1570,1124,1004,1224,890,484,583,677,462,583,918,766,454,914,1128,1016,949,1064,1110,1018,1096,1086,958,886,672,454,511,882,1244,1226,1346,2084,2042,1842,1828,1732,1440,1366,1426,1534,1448,969,799,1036,1196,1280,889,720,586,505,482,431,388,466,537,516,426,433,287,222,272,382,432,367,351,405,491,544,438,544,738,744,683,621,1208,1182,639,497,456,533,933,1176,844,521,407,468,1178,1116,582,537,796,880,846,551,967,1142,508,503,497,718,499,407,510,812,684,742,996,1252,755,316,415,472,452,378,484,544,510,772,1144,1013,1136,1180,1704,1644,1272,968,634,1338,1230,631,636,677,858,1040,755,564,604,547,793,1226,1152,1144,1023,890,936,1370,1242,1562,1036,529,461,543,767,695,578,619,398,393,459,506,461,409,413,455,425,634,875,1068,1386,1632,1640,1456,1262,963,701,647,656,906,893,634,829,1208,1136,1406,1432,1216,895,508,495,534,393,323,287,429,459,349,354,724,1380,1756,1346,1056,953,1040,847,691,908,913,726,630,712,608,514,458,410,399,429,406,413,443,413,401,497,595,547,622,795,463,322,380,425,578,624,521,397,396,393,587,855,940,1222,1462,1234,711,444,330,346,464,1050,993,764,692,369,363,253,327,351,394,434,459,467,495,482,454,569,634,572,528,504,471,453,426,656,879,796,552,318,256,212,237,314,404,450,385,392,362,270,280,221,281,440,512,571,436,315,279,247,234,250,295,291,389,430,300,456,690,616,419,432,463,639,1020,799,589,770,571,397,351,472,739,927,853,885,937,888,1050,1362,944,432,558,767,410,264,427,544,595,622,550,619,672,521,529,601,500,553,1128,1040,1160,1274,998,1044,995,882,923,978,1130,996,1021,954,1110,1210,1216,1450,1702,1620,1692,1604,1312,1224,981,1164,980,881,886,1274,1258,1094,1214,1112,1021,1434,1382,1062,1020,1054,944,1068,1436,1266,796,821,742,748,1172,1098,946,1036,1066,802,645,832,984,1126,1180,1230,1176,1168,1576,1936,1440,563,498,865,666,455,751,888,1212,1528,1188,925,1188,1230,990,408,682,1036,837,999,1306,1198,1134,1238,1306,1316,1322,1308,1054,1092,925,595,837,662,436,696,766,698,560,379,314,308,410,680,1032,1052,1036,977,886,584,399,365,404,389,408,555,889,1330,1068,991,1072,1668,854,412,428,404,608,910,1098,1080,907,1118,941,753,518,651,676,520,739,1128,1092,641,1388,1842,1572,2358,1682,1072,487,389,796,1262,705,291,361,506,672,674,869,997,402,370,338,522,439,294,290,270,367,448,417,400,349,303,255,251,424,413,413,406,489,453,375,345,421,531,402,292,285,318,251,307,315,308,310,272,267,324,341,294,303,463,550,375,320,536,521,500,531,494,510,565,608,710,788,785,558,361,345,307,314,308,370,425,418,470,518,558,608,602,579,554,530,578,610,694,664,618,569,558,590,583,621,616,547,451,405,387,1046,1092,837,850,874,878,961,763,613,1001,852,814,689,1042,1072,1208,1312,993,658,849,1190,1116,846,725,675,591,408,560,634,721,981,1114,988,958,1194,1570,1476,1328,1154,1324,1362,1212,641,519,966,921,700,459,339,409,441,519,505,393,335,339,388,726,869,1007,1156,1060,1200,1402,1154,780,645,993,551,522,629,624,673,521,481,705,731,512,458,630,1192,1302,1230,1138,1108,1396,1070,996,991,984,879,572,319,228,215,260,377,457,982,1248,912,921,1224,1450,1410,1332,1072,868,1011,1522,1776,1890,1788,1708,1488,852,889,1198,1244,1314,1478,1552,1532,1356,1196,910,811,1050,1236,1432,1148,583,553,751,988,1146,836,637,791,467,601,929,650,504,468,460,622,1004,1296,1534,1114,497,760,1222,1288,801,949,1060,1356,1306,1230,1266,1172,1124,1134,1332,779,303,346,404,526,524,700,1086,1334,1222,923,843,1018,1110,974,862,902,1070,943,758,935,1256,1020,842,891,704,469,300,379,687,1092,694,837,915,755,929,1140,1358,1282,1124,1252,1260,1198,1076,1252,1146,1120,860,810,1024,968,560,569,969,1394,1232,1088,1260,1130,1598,1636,1528,991,957,936,617,498,448,335,329,467,609,736,528,421,440,744,1200,1019,993,1228,1090,1250,1350,1050,1470,2020,1506,974,744,1404,1166,999,1078,1318,1382,1630,1744,1718,1902,1702,1198,1324,1176,1508,1332,1074,915,988,996,1104,1290,1110,985,605,539,504,445,442,413,449,443,577,562,599,1124,1380,1310,1142,1160,985,735,979,1350,1130,1228,1270,844,847,805,419,428,630,714,552,413,409,388,681,746,843,716,708,787,735,464,292,310,267,318,418,340,486,794,1328,1023,894,1015,759,532,587,877,1064,1176,1066,1064,807,607,498,419,502,801,1222,1354,1316,1604,1314,1102,482,328,447,476,439,375,290,315,345,359,359,314,281,393,601,679,742,741,738,766,915,1009,794,405,445,379,372,474,745,1056,866,655,711,763,1001,1112,724,545,631,450,473,1001,1180,957,686,805,686,863,1146,834,744,901,829,1019,1028,1196,1312,777,499,403,338,385,621,910,879,892,1086,872,610,680,926,702,692,772,847,697,501,515,695,1015,1232,1172,911,587,444,404,422,381,301,310,303,459,633,610,442,431,550,674,556,519,546,474,366,261,268,294,335,374,318,277,263,261,279,317,316,360,384,434,390,316,327,384,402,393,408,451,493,845,727,954,1126,998,942,962,901,936,842,840,1272,1216,868,1328,1132,941,865,601,670,941,927,594,674,1110,681,824,792,567,530,539,760,1164,944,532,833,1102,801,688,731,653,611,517,396,340,338,356,503,725,685,653,1238,1584,1354,1094,639,562,871,801,598,529,480,376,439,694,928,970,974,871,1384,1576,947,551,526,538,431,387,401,408,361,351,446,561,410,388,383,368,408],[368,467,528,449,326,274,242,267,297,260,249,267,261,258,262,261,305,345,393,435,476,473,464,470,527,694,600,434,429,521,346,314,389,336,328,375,378,327,311,315,351,396,454,508,617,405,303,289,303,255,296,314,288,292,289,349,312,351,543,894,477,518,687,730,783,772,719,511,349,531,611,396,426,527,858,880,772,1170,1288,1432,1188,565,467,736,926,544,390,436,484,855,1106,719,861,719,398,322,366,439,366,284,355,442,727,1244,1060,559,406,435,717,844,561,660,705,445,407,603,1224,999,896,536,407,579,950,921,518,448,485,536,527,498,456,441,442,422,455,430,447,420,333,306,326,350,383,475,552,681,719,644,468,373,339,321,317,346,452,525,633,1188,1114,731,598,405,415,496,472,465,471,441,422,521,644,524,639,438,404,745,1210,974,777,1024,1204,1176,1302,1598,1124,767,608,783,1372,1704,1520,1410,1078,1336,1512,1444,1590,1660,1346,665,514,714,1019,945,1090,1494,1216,954,1188,1240,795,504,502,497,614,554,719,798,1092,1332,960,476,346,287,294,327,328,304,354,464,861,1746,1836,1152,692,709,576,489,567,564,632,865,1156,981,890,827,469,389,440,741,1114,883,434,354,488,664,578,555,564,428,356,426,435,667,696,555,543,608,583,521,306,440,930,1056,845,497,462,760,1114,2076,2364,1300,655,528,566,700,926,1052,799,823,673,401,303,328,285,329,630,874,765,590,408,365,383,415,408,314,424,868,1038,927,683,628,722,715,473,442,474,567,426,417,487,467,485,577,448,304,321,282,276,360,548,576,471,284,464,546,462,465,363,399,663,977,985,1216,1522,1082,553,541,433,431,608,630,628,730,758,722,547,448,432,354,369,503,773,941,1092,1188,993,954,653,449,570,1214,2136,1006,766,870,835,1264,1348,1390,1342,1058,915,771,610,943,1130,1454,1336,1228,1220,1020,835,882,922,799,910,945,913,667,929,965,789,999,1158,1094,1172,1274,1162,865,805,586,743,685,834,908,1286,1001,780,739,594,457,402,407,573,714,359,322,323,339,304,284,301,337,346,327,302,273,273,306,312,292,312,319,318,422,601,420,260,261,297,365,516,733,565,452,453,440,409,448,393,372,380,354,315,243,238,280,264,219,225,285,291,301,221,206,232,278,328,300,372,730,983,1011,957,697,684,581,396,469,768,771,684,478,343,372,484,979,1246,1042,912,1019,1106,841,810,646,667,645,425,322,358,509,774,762,653,906,1040,1046,738,415,285,260,387,558,460,613,733,829,677,451,402,478,482,661,1024,1130,804,725,996,1064,1005,979,1140,1224,1144,1036,909,1122,1650,1458,873,905,853,508,512,841,772,673,1044,1190,1023,1052,1232,961,942,1224,1116,1144,1368,1162,823,628,940,1198,1028,1448,2076,2026,1698,1384,1148,1124,1216,1326,1158,999,644,544,688,1038,936,572,512,527,391,314,387,498,502,558,594,421,463,355,248,267,348,368,323,358,452,526,539,430,419,577,878,882,705,931,719,480,458,453,687,907,789,446,592,586,702,974,677,651,761,727,649,492,309,412,371,273,298,453,650,658,719,835,1000,1013,796,907,1238,761,302,390,528,464,380,486,486,469,904,1084,949,1032,1050,1074,921,1164,984,1010,2152,1346,818,639,542,874,1428,1492,1434,1272,733,642,988,1220,1160,937,874,1130,1262,1122,1052,854,619,473,584,705,662,601,516,397,354,425,477,554,561,486,465,521,529,573,885,1184,1398,1508,1422,948,674,655,607,515,546,551,544,966,1324,1064,900,915,1282,1112,601,439,358,280,298,298,320,354,378,590,819,1400,1666,1478,1020,1324,1548,1144,983,872,675,880,1021,1060,941,937,915,987,1238,1154,651,426,392,357,319,331,370,324,445,863,505,305,318,397,569,792,670,471,451,441,562,926,1066,1282,1334,1310,1482,1098,620,442,514,763,660,646,603,578,672,347,346,338,521,749,695,575,605,695,725,779,808,832,752,645,532,455,694,1009,819,533,384,332,292,246,275,384,563,572,379,340,292,235,256,240,290,437,532,405,279,273,230,238,259,247,236,292,376,311,231,258,309,286,239,318,400,386,642,602,586,470,388,393,390,602,891,745,720,879,1106,882,826,1134,840,787,888,592,304,328,343,469,882,714,866,1042,936,966,990,907,761,852,934,637,658,739,938,1126,902,836,1024,1100,1042,869,733,867,1114,1210,1318,1170,1312,1650,1404,954,1382,1152,1234,1288,1282,1104,998,1262,1130,979,1021,1006,863,1194,1178,1028,1096,1200,1046,1118,1372,1288,1136,1206,1084,981,1334,916,940,1144,988,824,1070,1278,949,795,1011,1242,1294,1332,1386,1234,1013,653,626,1098,859,489,355,455,996,1364,800,528,942,1344,927,375,692,1050,1038,1124,1220,1032,1005,1060,933,1022,987,1220,1240,1276,973,814,1366,922,515,521,659,998,779,393,270,306,535,901,1056,996,1011,1010,850,559,387,409,427,382,377,460,837,1144,1242,1138,1062,1090,711,550,549,427,383,423,526,802,1016,1296,1300,797,537,720,647,725,948,1148,848,695,1460,1578,2152,1836,1368,1114,564,360,739,1278,852,325,393,549,883,899,585,658,596,724,741,906,545,287,344,340,475,501,368,343,353,467,565,558,495,490,494,439,387,352,395,518,684,644,462,260,250,303,271,278,387,409,327,294,348,430,451,409,284,440,547,390,314,505,493,447,454,469,513,546,587,736,905,882,539,379,341,323,339,312,330,341,390,505,565,511,467,512,592,589,471,497,623,699,643,580,577,576,518,521,502,465,424,374,352,496,730,499,545,740,666,586,575,509,627,1036,1022,926,665,781,1162,1250,1194,1040,891,1021,841,690,679,753,721,660,605,585,591,836,732,426,769,1084,1424,1400,1102,1798,1440,1354,1512,1056,517,617,973,793,612,553,404,497,585,648,604,451,382,405,384,642,727,805,1112,1170,1494,1686,1504,840,573,650,561,567,607,651,714,684,790,1140,1214,1090,917,818,961,1220,1292,1228,1332,1192,984,974,948,1052,1076,678,321,281,345,336,411,333,602,914,854,973,1324,1384,1144,995,1056,1208,1388,1828,1910,1862,1570,1276,1436,1538,1636,1708,1532,1278,1208,1380,1388,1226,1240,1540,1112,1056,1178,1412,1388,738,497,593,661,1138,1212,797,1142,748,1032,1224,888,494,350,559,1088,1326,1114,1286,1324,934,818,864,868,852,969,1268,1570,1440,1208,1060,1028,1104,1084,1056,404,396,570,675,620,512,843,1246,1214,1068,1036,864,907,1146,1096,1044,1082,1416,1104,995,865,1372,1240,1186,1300,932,626,351,461,1018,1238,1034,1090,1166,906,865,796,828,907,974,1188,1064,1038,1038,1038,1068,1214,1046,760,850,691,458,605,1158,1204,711,633,750,822,1050,1170,1088,965,908,809,757,709,636,483,444,590,741,815,851,523,391,896,897,625,918,861,545,878,1090,546,869,1706,1384,741,536,870,797,945,1076,1044,1410,1744,1360,891,1164,1306,1038,1152,1874,1792,1314,1038,671,561,805,1266,1282,1372,1258,770,554,550,477,374,373,443,447,532,545,776,1270,1078,1344,1232,1112,749,630,1032,1400,1308,1198,1192,1092,1184,1024,497,350,453,542,572,820,860,586,667,1080,930,565,601,617,451,317,337,332,312,416,650,608,358,567,1016,1132,1136,767,749,713,1072,1570,1500,1166,1122,1138,1068,990,826,549,436,709,1132,1124,1070,1148,1182,931,609,540,499,422,456,431,283,292,402,424,418,406,359,471,740,772,788,614,700,1094,990,875,957,523,642,518,375,324,445,437,427,740,1148,1126,1050,1148,771,492,559,583,510,704,851,637,642,955,764,551,725,733,738,929,759,684,962,1442,1462,1236,990,479,278,355,637,947,985,1174,1060,813,628,773,1200,1015,724,730,758,773,744,633,760,935,1130,1100,985,616,500,571,739,512,351,389,346,516,756,540,397,421,500,714,714,647,591,495,394,333,351,366,393,372,305,299,310,330,339,323,301,335,346,337,305,347,426,484,478,462,447,424,386,795,912,762,637,523,496,481,546,602,724,638,563,675,653,836,908,747,576,542,594,673,661,520,870,1160,816,739,609,533,547,594,846,946,573,423,671,674,645,688,716,653,658,589,464,361,322,425,670,660,464,609,1340,1576,1270,832,577,514,637,595,502,442,380,350,318,338,496,862,861,887,1340,1404,1302,1196,801,446,372,394,421,396,340,362,592,771,513,372,379,390,371],[444,556,487,381,331,300,273,262,282,279,288,269,250,278,310,292,325,374,446,480,484,473,471,431,513,836,941,722,590,952,580,394,470,396,370,380,325,331,344,354,435,425,412,376,467,339,303,336,341,340,356,336,363,372,370,407,485,1094,1094,965,636,600,653,693,702,675,661,619,641,822,1144,865,492,386,408,485,572,656,796,1128,809,382,393,481,442,473,385,423,645,1150,1682,1804,1254,508,375,304,385,471,396,312,358,601,1108,905,609,550,430,297,467,681,782,546,487,435,408,376,453,878,770,362,411,505,832,1116,821,494,497,578,545,465,433,416,398,392,372,357,384,408,347,312,350,433,521,584,508,424,383,354,325,306,314,304,328,351,363,304,372,885,1094,638,323,268,315,419,506,565,529,370,352,516,639,488,591,482,411,584,672,617,801,1146,1160,1262,1462,1876,1222,843,821,1180,1738,1764,1920,1692,1406,1656,1786,1340,1234,1344,1294,861,727,1038,973,1438,1468,1196,970,749,990,1005,794,791,1080,775,485,641,1019,1118,1060,1048,758,381,347,278,329,352,341,331,373,519,1020,1086,1018,978,951,871,659,558,478,472,784,1138,1250,960,909,873,597,491,489,613,795,773,464,451,591,656,523,550,658,578,638,576,730,1040,769,529,455,478,389,434,272,470,859,1048,940,586,494,673,966,1310,991,499,360,381,541,568,729,916,758,554,442,441,392,305,282,304,402,672,688,511,388,443,508,530,494,445,437,664,1170,1288,830,730,684,462,429,446,433,461,427,484,760,918,861,821,569,379,372,415,523,758,681,453,470,466,502,491,367,378,468,849,565,563,769,861,893,744,855,1136,868,541,935,1050,630,648,706,708,635,506,639,869,731,604,931,982,1072,1032,742,782,821,1094,1172,1056,1244,935,794,1062,1202,744,1034,1488,1196,1196,1274,1108,781,1042,1216,1608,1444,1216,1152,1136,1144,1104,1222,1390,1296,1192,916,926,1138,988,857,1184,1302,1144,1116,1108,991,971,1050,934,933,883,847,938,998,865,792,878,763,442,375,463,573,604,374,314,321,341,330,297,309,366,385,382,366,294,300,321,312,347,382,360,326,370,407,334,296,302,326,327,370,610,468,440,425,452,400,445,414,447,547,455,357,315,342,315,254,222,236,257,260,247,217,234,218,193,249,354,443,720,675,830,868,765,608,389,312,386,444,535,655,565,442,487,613,1134,1412,1322,1046,974,960,732,449,362,395,417,374,330,440,502,669,1294,1084,1042,1236,1100,819,553,426,271,463,840,955,938,739,1176,766,397,389,452,643,927,909,705,525,428,643,656,663,987,1432,1304,1092,1142,1016,833,1104,1172,966,904,753,715,999,1316,1142,1294,1198,1142,965,916,1054,1015,940,950,821,971,891,826,985,713,829,1026,1318,1694,1800,1750,1476,1118,1220,1294,1206,1432,1254,890,777,702,688,666,547,468,708,910,454,280,337,506,426,428,469,483,539,408,258,273,365,381,387,441,445,403,465,488,487,509,746,717,598,698,648,513,500,476,567,659,582,613,710,669,713,607,529,1164,1558,915,557,397,266,265,280,332,559,827,993,1054,1024,816,560,609,689,540,735,658,349,432,524,578,963,684,435,447,695,922,999,902,722,697,946,1250,1036,1332,1770,1458,1132,1110,1128,1013,1326,1816,1698,1476,792,558,959,1460,1330,1023,872,1190,1252,1280,1420,1242,964,663,538,522,507,516,473,433,360,403,680,866,722,702,807,816,593,465,612,853,955,1140,1508,1338,1246,1192,848,651,531,463,441,881,1180,956,611,770,995,1306,1328,921,497,346,355,273,302,354,476,807,951,1080,1266,1332,973,1234,1638,1522,1058,767,844,1112,1120,1210,1584,1616,1080,917,1214,919,476,346,294,296,283,270,298,291,349,611,453,356,346,413,614,884,811,568,716,786,852,1332,1324,1482,1346,1224,1266,1304,1220,753,722,858,662,560,387,474,580,379,348,361,479,672,897,919,679,725,706,758,739,731,715,624,531,695,888,612,491,548,436,383,311,286,365,557,665,568,352,295,273,241,248,246,273,375,418,333,258,279,265,244,269,277,275,311,332,272,258,237,234,225,270,298,377,372,381,641,836,669,535,509,419,486,605,674,866,679,750,661,568,517,705,1140,1130,553,292,281,256,424,805,833,1112,1082,973,1036,929,860,768,771,683,431,374,399,584,844,691,621,786,988,1026,719,569,871,886,778,964,786,785,1248,1530,1432,1372,1414,1456,1272,1188,1156,1414,1334,894,675,739,1226,1288,1278,1224,1062,1188,1296,1206,1238,1302,1009,949,1340,1152,996,1110,834,769,672,845,1168,1174,1011,861,807,1090,1296,1300,1210,1172,1278,1122,960,844,998,1086,1008,888,713,1030,1208,493,379,501,675,591,518,836,1200,1106,954,943,1028,1256,1152,815,773,783,832,1026,1366,1286,1244,1086,619,512,515,862,1148,756,458,405,422,771,1034,1023,952,889,840,740,603,479,346,306,397,483,339,495,818,947,978,827,978,1152,886,697,480,393,412,374,443,759,998,1076,779,760,940,890,705,611,716,686,836,1272,1544,1934,1302,1114,830,650,496,397,837,886,332,501,901,1282,1134,740,515,806,1082,1116,973,502,303,357,431,508,425,276,396,747,946,976,769,501,612,822,676,332,348,407,608,954,622,453,305,319,460,376,322,479,523,453,359,410,623,533,414,292,363,379,322,309,365,482,552,398,428,459,488,528,669,775,763,470,348,329,325,345,330,324,354,429,439,491,533,605,601,605,560,504,565,675,725,706,592,521,506,552,509,356,362,397,378,337,659,732,407,434,550,426,471,776,1017,843,903,930,750,503,495,872,1036,966,1056,999,828,587,639,645,655,675,655,637,614,612,595,474,741,991,1038,1284,1042,1078,1476,1358,1308,1146,722,408,537,702,514,413,412,498,646,698,629,863,743,467,426,414,403,263,577,1194,1166,1244,1490,1702,898,761,657,541,609,685,730,755,762,702,854,1182,1252,1320,1140,786,1288,1412,1278,1268,1098,1086,1076,848,844,836,751,1278,1042,511,303,315,283,370,586,676,780,1094,861,785,1072,1266,1356,1612,1860,1748,1496,1206,1316,1732,1902,1938,1864,1542,1048,858,1076,785,754,1220,1586,1214,1116,1082,1156,926,621,817,837,545,601,1048,800,786,536,705,805,940,822,524,749,1226,1278,998,937,1104,1296,1060,672,984,1348,1706,1870,1510,1306,1138,1094,782,948,967,677,482,647,822,1013,894,622,756,998,1058,1048,1004,918,555,790,911,1046,1150,1174,1124,1192,930,815,944,1168,839,751,878,602,915,1096,1160,1316,1250,1186,1032,848,769,608,623,700,741,945,776,1076,1001,1138,1042,775,746,484,383,583,1044,1360,813,414,375,370,658,810,844,1192,1288,944,996,1094,968,855,697,750,754,789,633,692,425,380,482,415,365,484,464,459,616,937,566,401,693,873,869,884,593,373,599,774,796,1088,1172,974,804,1214,1234,813,821,1226,1262,1206,1001,883,741,945,1036,1170,1288,1058,675,490,539,579,498,415,445,456,461,412,599,1312,1272,1300,1148,1192,952,931,1090,1170,1344,1132,608,780,1360,1114,629,486,664,799,810,850,921,631,664,1114,764,374,650,697,513,460,373,526,685,677,872,767,467,473,526,636,692,639,902,1792,1724,1476,1458,1044,846,1078,1286,1188,943,645,745,993,1222,1034,1062,1142,961,901,976,752,443,469,497,473,338,309,428,415,380,383,413,479,688,825,744,621,905,1262,922,910,1164,978,843,629,393,300,274,270,336,562,841,860,753,736,588,433,712,791,548,356,554,590,592,924,728,426,635,720,728,1106,725,520,930,906,809,1046,860,434,538,613,416,619,1086,1362,1040,690,643,873,1258,1274,1036,931,780,719,830,819,879,713,750,969,1010,661,464,544,534,405,411,416,411,604,764,457,343,376,418,508,745,914,735,507,494,509,514,398,391,343,336,326,332,338,345,312,289,313,319,318,367,489,513,505,458,441,464,417,370,401,346,346,343,321,403,479,465,407,470,581,432,339,382,388,382,386,450,528,540,613,573,322,366,594,794,667,507,554,601,656,742,650,480,538,549,500,699,719,757,700,664,670,570,440,375,411,496,366,409,698,1456,1556,1396,918,528,469,536,539,491,385,332,313,273,325,523,1070,1238,1100,871,1028,1282,1136,980,749,444,454,458,421,349,338,500,599,536,432,388,378,386],[421,455,410,397,343,341,309,243,252,238,229,309,344,337,345,331,311,348,415,458,505,551,558,457,498,697,1130,1456,1208,1236,949,501,396,313,359,365,324,346,372,368,416,390,373,312,310,249,239,321,358,416,377,317,349,349,330,311,815,1494,1396,1242,1178,927,698,723,658,642,608,642,1066,1622,1314,769,452,363,326,294,294,354,727,1088,718,332,337,426,599,728,719,899,1070,1232,1270,1570,1460,690,392,396,440,510,502,420,575,1242,1056,542,640,810,711,467,367,411,670,455,343,361,354,349,371,529,466,404,375,405,479,855,1019,664,629,677,602,593,697,595,410,410,400,397,403,422,465,549,617,606,613,522,401,381,398,353,317,301,299,332,374,367,353,324,318,560,1016,918,403,281,365,441,528,533,477,382,345,288,310,393,491,451,373,483,1268,2060,1318,762,946,1468,1638,1940,1338,1124,1672,1816,1442,1278,1292,1346,1412,1398,1290,1110,1072,951,942,954,979,1012,1046,1490,1794,1462,1066,905,1150,830,881,1152,1324,841,542,813,1072,969,833,697,513,391,373,298,376,375,374,380,552,697,719,596,868,1154,1300,1154,1246,1224,920,967,1020,861,953,1086,1138,868,572,501,579,720,802,1120,1238,907,798,638,389,347,401,547,788,840,784,833,577,510,453,367,226,210,234,328,749,1082,944,538,383,482,409,327,381,333,298,297,428,752,905,689,532,417,432,481,490,339,314,289,299,561,746,601,509,576,517,458,455,426,428,516,995,1164,1168,1062,1023,705,472,435,458,487,492,519,679,885,706,475,556,683,630,774,838,949,710,481,612,612,431,450,579,467,407,825,776,618,893,1362,1620,1338,1214,1378,883,507,907,861,631,539,628,739,862,631,691,1142,943,639,921,1278,1356,1216,1126,1400,1422,1500,1554,1726,1506,1274,1068,1164,1426,850,985,1376,933,999,861,1040,952,888,1058,1240,1282,1422,1222,1310,1362,1266,1244,904,999,1174,933,744,984,808,684,1090,1200,1001,814,667,608,904,1064,950,717,903,981,766,837,766,577,913,686,372,378,416,354,352,342,323,326,326,304,290,305,321,338,328,347,332,361,362,386,397,374,345,306,334,362,332,343,335,326,299,381,561,402,300,398,461,438,418,422,487,585,434,327,373,404,344,316,296,254,214,237,254,247,282,228,196,225,275,549,933,1094,827,726,632,515,566,567,684,701,674,840,713,493,449,840,974,1074,1034,1202,1184,901,774,483,450,369,435,514,354,522,382,452,1312,1690,1504,1368,1230,1206,1262,1234,314,337,413,619,693,685,767,444,317,343,352,580,794,854,467,296,474,459,417,717,971,1136,1170,1072,844,638,816,982,717,769,1001,1072,1382,1506,1306,1204,917,741,983,976,846,573,490,516,634,488,314,282,444,557,661,913,1366,1506,1338,1358,1748,1410,1246,1310,1326,1328,1404,1224,1204,1120,938,1026,1158,1026,925,1010,971,749,383,417,473,404,385,397,446,453,401,272,235,301,299,356,417,356,317,383,452,544,561,536,428,425,576,672,634,498,422,365,386,546,669,727,603,471,548,780,1180,1062,607,909,688,364,329,396,496,800,1002,1300,1238,747,597,405,619,1019,484,386,600,578,716,655,1068,1484,868,483,622,764,846,1146,1344,810,801,1290,922,563,949,1042,1256,1284,1262,1360,1316,1746,1870,1476,1450,1036,747,1128,1418,1348,1152,1044,1007,1104,1320,1188,998,1174,901,569,468,446,489,464,436,435,427,658,897,658,785,1194,1428,973,484,414,526,521,771,1390,1542,1260,1334,1380,893,558,590,708,893,832,576,763,1040,995,1030,1134,1444,1230,744,422,356,356,557,955,1188,891,663,1074,1238,1264,1572,1718,1130,912,1038,1324,1118,766,1054,1572,1584,797,475,594,519,493,362,294,300,306,291,319,309,308,587,639,529,538,516,658,824,700,759,1114,1094,1226,1402,1126,1172,1332,1272,786,1092,1396,1248,1064,973,1026,580,341,407,535,593,596,568,516,607,864,933,579,556,642,736,713,681,706,810,689,457,413,464,598,555,424,353,354,401,557,633,564,404,262,306,365,274,222,212,205,198,319,409,359,308,291,306,271,238,244,285,333,284,258,248,230,242,270,322,390,380,355,460,643,934,1088,854,541,502,519,987,1122,728,872,920,702,443,518,1013,1054,426,279,263,255,320,839,1278,1366,1100,847,509,372,469,487,457,314,253,316,401,496,469,379,438,533,692,808,808,792,811,496,603,966,1016,1040,1012,1108,1428,1642,1692,1546,1288,1042,1094,1322,1200,1098,1260,1158,1122,1302,1214,1060,1110,1234,1118,899,860,966,706,766,1140,942,1074,1144,1162,1010,783,964,1252,1222,1154,1114,1170,1356,1372,1356,1176,1070,1158,939,848,807,1050,1394,1766,1638,952,1202,1380,711,384,448,833,875,618,747,1042,1070,1158,1054,1336,1474,1108,766,843,1082,1138,1182,1286,1230,1150,1017,917,604,445,459,655,550,432,436,588,958,1118,1112,1015,904,752,603,879,615,500,546,1094,1052,769,916,819,632,851,919,1011,1132,1532,966,476,443,491,421,386,457,833,1106,935,885,882,875,873,807,746,752,1168,1180,1770,1368,738,1021,1007,841,695,356,527,719,371,416,928,1354,1026,724,501,802,1220,1114,750,463,393,403,525,531,405,336,347,490,504,568,537,495,548,677,702,658,582,562,749,740,475,395,325,422,530,417,311,386,465,343,239,323,539,413,331,280,313,361,338,303,326,424,576,655,451,438,473,494,702,672,485,374,347,324,301,328,321,302,318,315,359,534,615,647,571,496,497,539,584,634,641,590,541,446,382,467,426,371,408,422,379,334,443,502,370,334,378,352,557,807,919,842,637,601,676,511,401,711,1110,1188,1180,814,658,571,628,560,574,680,692,626,619,615,570,591,1260,1290,915,1108,1216,1520,1084,789,1002,1084,703,468,469,567,537,360,303,379,876,1098,1134,1804,1434,529,405,478,451,381,763,1072,1190,1148,1052,1148,977,824,603,637,594,550,711,731,762,628,578,1126,1222,1272,1326,1040,1058,1236,1288,1354,1302,1276,1334,1404,991,842,650,832,520,299,235,277,325,326,525,754,864,1158,1168,1176,1466,1620,1654,1732,1694,1526,1448,1426,1690,1828,1864,2004,1910,1758,1122,648,1080,1248,1132,1316,1322,1454,1364,984,901,691,1014,1318,1023,907,525,446,677,855,672,511,937,1360,1023,1016,1162,998,886,847,1278,824,744,1042,1198,1340,1786,2420,1964,1056,1190,1374,1288,734,799,839,558,493,530,714,969,948,744,519,624,1062,1046,1214,1060,659,786,1180,1214,1034,1015,1172,994,533,697,927,1072,730,733,1038,1192,1152,670,772,887,890,1138,1118,1034,1158,703,713,1424,1194,1186,791,577,653,1018,990,803,731,415,439,836,1344,1272,900,680,450,328,611,852,1202,1706,1176,749,1058,1396,1136,962,753,825,937,913,1070,957,524,419,683,926,486,416,400,611,781,1160,1134,791,900,1015,1058,835,751,1036,1284,1050,1100,1440,1062,936,979,1300,1328,997,1202,1554,1404,1080,741,904,1028,895,623,860,1164,937,608,565,594,625,550,388,432,492,523,416,424,629,759,953,1042,1160,1120,1278,1246,962,1042,785,419,599,831,835,827,766,835,1182,1224,701,529,661,665,658,503,621,960,706,802,1006,838,609,505,722,999,1086,675,394,351,314,343,870,1198,2076,1778,2046,1954,919,743,1308,1334,711,422,478,933,1108,1142,781,838,883,642,625,875,761,471,326,367,407,339,308,309,341,361,413,423,467,712,836,736,818,1042,1076,844,1188,1594,1184,806,634,460,350,335,405,509,421,377,383,365,564,786,923,910,838,595,423,602,626,737,1020,744,415,573,667,664,744,532,646,835,560,514,897,1152,910,840,828,407,427,623,872,1062,988,994,1002,1080,888,833,945,1026,993,1214,1166,1070,1038,934,913,780,498,631,806,492,390,373,389,404,402,493,478,362,346,418,436,596,885,800,542,471,573,439,315,336,328,363,338,320,357,355,325,301,302,315,349,509,536,493,506,447,391,437,438,404,378,396,356,333,315,353,398,408,362,573,717,493,341,350,305,321,317,355,385,453,581,643,392,318,478,594,627,612,591,680,803,770,684,573,530,526,597,612,662,774,752,680,628,552,438,382,334,376,347,418,932,1494,1482,1444,1118,796,808,705,505,545,407,466,463,375,412,608,1046,1176,1090,999,1118,1166,1230,1614,1054,428,407,416,442,396,324,360,372,388,441,442,379,408],[580,414,363,345,259,276,300,224,216,229,260,284,340,378,364,374,336,340,371,464,661,670,646,680,683,677,1042,1328,1284,1556,1230,561,376,294,291,313,348,378,363,339,340,324,329,317,312,239,239,310,315,354,404,427,389,332,324,289,461,806,1084,995,738,577,441,549,568,544,501,578,1058,1526,902,310,326,351,310,378,327,298,551,754,569,326,285,328,785,1108,1062,974,1146,1250,644,752,894,755,532,568,538,521,488,583,1124,1144,666,688,669,797,1062,790,498,465,483,396,382,362,346,314,305,321,374,397,429,402,359,459,788,641,624,925,1188,1440,1398,954,453,446,424,431,538,633,630,523,410,372,383,396,379,364,353,304,282,309,335,366,379,372,363,341,313,348,768,1096,630,326,448,466,439,391,389,400,375,314,316,343,400,466,424,548,1798,2884,1902,1062,1462,1616,1666,1854,1362,1260,1562,1426,1330,1200,1126,1062,1136,1194,1340,1366,1114,779,697,774,670,696,994,1056,1298,1138,897,695,644,776,997,1100,993,683,459,579,646,444,330,274,311,327,285,262,303,322,360,717,824,788,852,525,488,743,1096,1088,1378,1660,1128,809,875,936,850,750,646,599,613,475,555,734,908,1534,1794,1048,716,597,383,293,316,427,656,980,940,647,476,462,450,408,262,238,276,262,504,922,927,642,475,805,479,347,399,325,346,358,425,554,464,481,466,383,385,674,916,526,388,443,413,473,698,734,647,642,485,410,428,407,425,531,1122,890,1230,1186,890,851,698,497,501,522,502,529,519,737,768,958,1128,1472,1402,987,752,617,819,1540,1110,670,900,838,1102,938,906,1324,1152,1008,1226,1512,1426,1052,991,1592,912,472,462,443,643,598,656,796,1000,898,551,421,516,773,1172,1264,1512,1482,1078,1106,1142,1044,1118,1264,1252,1356,1242,1488,1598,1548,1196,1174,666,462,545,1100,1182,943,1042,1138,1294,1462,1346,1212,1350,1532,1282,985,1290,1322,896,816,1042,732,843,1112,1318,1044,921,648,531,684,962,787,695,1036,963,877,969,1056,1003,1426,820,451,771,742,431,400,430,371,317,326,288,278,298,307,324,312,329,359,370,331,331,339,353,380,316,344,314,315,322,314,349,362,412,444,312,267,352,426,383,350,341,379,469,427,390,385,381,373,353,319,285,235,227,252,227,218,214,218,216,216,684,1072,1146,980,821,596,587,865,949,1174,1262,861,618,513,438,420,647,992,1021,733,717,682,631,655,533,492,428,562,865,1062,939,669,654,1400,1708,1436,1432,1278,1470,2008,922,302,331,344,497,503,497,383,345,503,740,765,842,885,885,737,462,562,725,821,1070,959,1130,1406,1250,877,783,973,1098,741,656,1060,1004,1230,1358,1202,1106,926,1128,1170,1036,1202,825,515,503,484,324,310,273,380,857,1220,1414,1682,1366,1118,1138,1474,953,866,1162,1316,1290,1290,1238,1278,1270,1064,779,918,979,1594,1432,1030,1060,507,463,514,378,382,430,419,373,359,295,234,247,310,324,364,350,366,480,504,441,462,549,509,415,493,619,636,648,494,348,451,619,656,623,467,400,487,708,825,586,608,1298,900,466,588,744,673,619,642,948,1086,867,832,742,800,935,726,513,1058,1158,726,535,701,665,444,646,1086,1362,1108,949,1362,1032,867,1007,660,519,642,899,1306,1202,1282,1116,1116,1562,1338,1116,1290,1230,1294,1438,1290,1030,909,1244,1280,1220,1272,1134,865,1044,766,494,448,422,447,446,458,517,451,535,897,725,761,1018,1572,1372,916,610,371,526,1050,1600,1604,1198,1168,1458,1084,586,888,1166,962,778,951,1178,1034,750,835,1230,1654,1488,1348,956,530,492,1003,1388,1520,1434,978,712,960,1058,1188,1418,974,1096,1360,1578,1234,749,869,1364,1294,709,702,661,501,473,438,354,328,328,293,308,335,305,540,791,741,658,533,415,430,672,665,856,1120,1018,928,1336,1360,1224,973,642,970,1122,1174,1054,929,737,378,291,364,658,991,925,633,699,747,629,598,447,487,510,585,637,660,765,937,735,387,432,580,543,485,423,358,365,425,482,515,469,363,370,370,336,299,243,218,225,245,287,300,297,314,390,391,219,212,226,264,419,404,278,242,251,245,296,394,461,534,502,381,518,913,1122,1092,984,884,744,931,1256,1268,1178,1230,1064,526,677,1096,772,346,281,263,250,257,507,747,906,808,517,357,456,851,946,770,393,271,338,467,796,686,440,434,518,637,703,926,1098,1242,775,752,1130,1208,1208,1146,887,1038,1558,1692,1590,1302,1318,1410,1372,1248,1888,2374,1720,1256,1246,1296,1218,1088,1368,1118,761,821,849,776,651,912,1142,1122,1130,1262,1086,877,1066,1100,934,924,830,1156,1414,1296,1366,1132,739,626,605,703,945,1138,1212,1570,1548,832,1064,1216,848,444,650,1202,1080,441,517,951,1108,1306,1332,1416,1236,877,835,1124,1150,1150,1292,1338,1438,1342,1168,1108,590,393,383,447,430,409,502,776,965,1058,1136,1060,934,704,1070,944,520,724,954,1132,1074,1136,1158,826,769,853,892,958,1188,1268,1234,621,352,554,647,569,616,872,1036,1050,1066,879,669,604,884,1186,1164,1256,1544,1514,808,569,627,595,714,705,390,375,487,528,500,593,992,996,868,822,1220,1322,904,730,525,408,424,507,488,342,334,359,435,620,738,573,496,447,861,876,1672,1296,1108,927,764,808,496,335,487,514,377,272,341,360,283,532,435,243,262,307,273,311,386,357,299,343,390,379,638,570,483,571,678,716,545,375,364,319,336,402,367,339,333,349,393,443,557,635,651,606,584,620,623,536,582,616,552,526,452,386,364,376,406,393,386,346,372,610,473,386,325,407,350,429,442,507,686,670,634,698,656,436,595,1264,1206,755,578,587,611,585,540,645,675,592,531,585,597,647,636,1004,1082,693,670,1332,1476,1080,849,1130,1300,747,464,486,526,393,306,383,309,959,1342,1678,2208,1596,619,379,440,446,704,1368,1396,1444,1144,669,448,705,719,606,707,565,476,680,731,705,563,495,778,967,1086,1378,1406,1206,1064,1284,1344,1408,1140,1142,1272,885,582,454,282,238,256,240,307,368,428,431,673,910,993,1348,1498,1716,1930,1838,1690,1556,1552,1594,1596,1620,1498,1620,1730,1842,1804,1013,777,1134,1130,1094,949,966,1256,1076,900,847,1007,1412,1136,1076,1086,639,514,666,954,1072,630,716,1040,803,926,855,807,818,973,866,591,547,603,973,1180,1554,1930,1350,1098,1282,1374,1158,838,764,730,738,789,893,1082,1174,1304,1132,731,728,1110,1142,1104,949,783,836,1040,1100,1142,1276,1240,807,686,893,836,1140,1136,728,813,1288,1122,650,767,506,725,1178,1104,1224,1104,555,817,1758,1484,1016,1044,1086,838,636,791,894,792,561,587,1250,1520,1522,1368,858,455,588,1050,1172,1166,1290,992,846,1114,1050,661,788,708,753,670,682,1180,1158,810,797,905,1098,940,799,649,865,937,1200,1176,1386,1610,1108,883,562,907,1428,1482,1170,1206,1334,1336,1232,1064,1096,1144,1144,940,814,639,634,796,1024,1030,790,636,638,709,658,613,562,521,458,402,346,469,772,706,476,456,427,601,875,1020,1238,1140,1040,926,855,835,926,779,653,733,1032,995,966,1098,1286,1360,971,782,1002,724,517,637,861,918,614,606,1048,1188,768,574,876,1144,1356,822,375,303,368,386,517,587,628,1050,1764,1438,995,944,1350,1174,686,531,563,827,1162,1094,829,643,520,497,416,517,559,395,347,284,280,287,282,297,313,339,387,392,607,905,858,807,663,783,740,620,647,851,775,616,509,460,340,367,402,478,407,359,385,486,516,979,1240,888,529,398,561,664,905,1034,588,470,366,498,459,388,397,420,542,476,382,435,481,837,822,680,599,400,528,615,681,1098,1536,1264,756,664,621,759,630,797,643,504,753,1086,1072,910,1054,777,423,542,761,967,608,379,377,354,384,563,564,420,402,439,432,568,868,899,583,389,482,411,337,389,373,320,312,322,374,389,346,339,340,353,376,444,429,414,420,413,443,435,396,412,403,394,337,345,352,353,384,400,393,373,394,437,346,321,305,315,320,354,370,472,643,744,489,412,502,457,522,523,513,691,828,850,683,532,362,418,570,465,441,603,681,644,807,759,727,635,404,404,401,468,1050,1488,1476,1366,1034,1370,1340,1013,630,685,654,559,560,755,812,963,1042,879,621,570,862,970,883,1266,525,260,308,429,480,419,371,337,337,362,386,540,526,430],[308,318,347,227,203,223,284,242,276,361,424,830,1158,499,413,359,353,381,398,479,730,647,886,961,918,891,1050,1282,1450,1578,1028,553,401,327,335,325,367,418,367,319,294,287,336,395,379,254,242,311,248,245,292,275,255,285,277,247,341,610,926,661,381,228,232,308,456,543,538,602,1042,1350,966,427,364,326,277,462,508,338,325,388,457,440,349,328,731,1282,1156,1100,1232,974,449,451,448,570,662,673,566,534,639,1104,1122,522,363,525,480,925,1182,861,573,549,505,548,577,338,320,386,403,357,365,402,471,383,321,322,544,907,1350,1782,2188,2422,1866,1374,785,713,809,934,980,796,539,376,340,392,408,407,386,375,362,328,308,299,296,307,319,339,370,378,372,346,491,1080,1015,493,418,433,378,324,345,463,542,514,411,394,455,514,467,387,993,1528,1058,1010,1130,1024,992,975,1028,1156,1282,1250,1330,980,602,477,951,1332,1284,1186,1118,1003,1046,1152,1044,930,1004,1264,1698,1288,1004,1124,1186,762,591,810,722,526,452,373,314,354,426,414,383,289,246,257,244,264,627,1144,875,581,857,942,678,583,901,901,626,672,595,466,614,795,759,578,522,567,781,738,611,642,904,1302,1582,1046,485,477,456,375,346,358,507,547,1034,803,435,300,296,318,266,242,279,279,413,790,879,663,719,1550,891,522,503,372,374,439,487,496,442,569,572,464,525,1030,944,571,469,483,465,481,684,763,641,560,442,354,370,368,368,445,923,818,923,894,648,919,877,669,497,459,426,456,461,633,954,1252,1114,1080,895,706,884,794,469,778,562,467,855,818,865,1174,1368,1180,875,1023,1242,1066,642,857,1032,1140,1015,974,656,492,596,681,759,862,952,814,533,562,752,1222,1566,1402,1466,1486,1282,1314,1282,1208,1318,1282,1384,1698,1450,1374,1554,2052,1578,1038,559,423,622,1074,1310,1184,990,1058,1390,1146,1128,660,941,1300,1122,1214,1362,1250,1082,1118,788,872,1100,1122,1210,1028,1274,1252,915,775,1086,998,713,874,1182,1292,1250,1042,1138,1028,879,649,801,825,526,461,505,418,288,313,276,231,344,369,326,315,323,351,332,267,302,355,323,348,310,260,224,269,272,266,356,459,436,326,301,326,398,448,340,346,354,322,382,383,359,383,420,421,358,273,276,261,253,247,215,205,239,239,232,288,516,684,664,624,738,600,525,811,1046,1056,1082,672,497,501,452,426,767,1294,1036,787,619,594,926,987,663,648,711,694,960,1110,1056,905,931,1472,1292,1110,1046,1188,1200,1206,491,316,521,616,799,915,788,468,450,665,1136,1316,1378,1224,813,616,508,557,688,1156,1352,973,1300,1492,1466,1130,1050,617,528,570,637,800,1088,1442,1290,1120,1130,1498,1492,1206,1316,1188,1368,1202,1090,845,515,367,479,626,783,1418,1696,1526,1364,946,896,764,588,695,940,1098,1218,1274,1274,1298,1230,1232,979,1158,1258,1544,1364,1014,657,387,439,447,351,358,393,362,326,301,291,263,247,280,286,320,375,454,541,525,422,388,575,654,477,522,602,557,822,874,591,609,685,644,578,438,475,755,651,683,904,835,758,590,1021,1410,882,558,402,408,698,940,1042,916,677,579,705,714,565,847,1040,882,578,358,436,604,948,1236,1402,967,845,960,845,777,774,680,742,814,764,896,921,1406,1224,1294,1740,1186,802,1130,1080,1194,1494,1310,1136,1102,1602,1450,1196,1240,1110,1040,780,424,391,384,373,440,444,378,407,477,523,645,627,730,918,1118,938,910,646,455,799,1356,1632,1566,1440,1114,1122,915,487,640,818,691,735,1004,1262,945,678,1104,1464,1236,1120,1130,1168,1130,1182,1438,1410,1236,1368,1130,902,890,778,672,1144,1228,1292,1666,1642,1166,866,891,955,561,461,597,805,631,657,679,486,339,372,414,453,503,532,775,959,856,589,435,398,498,682,507,426,724,875,969,1352,1514,1226,571,598,1066,1110,1100,1432,1038,383,519,678,418,397,658,728,585,759,854,576,459,428,412,416,570,844,1072,1048,775,460,386,519,602,557,540,458,368,403,399,365,367,327,317,403,449,273,271,232,231,251,260,260,262,341,530,645,475,262,238,227,267,414,538,362,201,230,258,373,429,473,642,536,330,353,421,603,913,798,810,631,554,1064,1416,1464,1600,898,477,725,839,472,269,221,249,270,299,314,488,851,659,456,434,362,960,1272,1182,552,275,379,410,421,413,475,720,1019,854,661,673,1020,1118,667,644,954,993,1208,1430,1072,913,1346,1770,1658,1494,1588,1578,1516,1324,1682,1732,1408,1384,1416,1334,1018,907,1128,922,977,1114,1102,1332,1284,1094,1180,1150,970,955,988,873,1050,811,495,449,601,1070,1172,1282,1550,1182,803,609,800,1054,1200,1158,1274,1090,1050,615,515,749,599,346,535,974,926,418,421,940,1250,1428,1558,1538,1356,1262,1352,1208,975,958,1136,1766,2242,1170,545,547,454,351,360,379,427,477,580,810,962,1068,1028,885,791,966,1003,611,534,687,777,965,1248,1042,825,769,1114,1176,1002,905,1164,1312,1026,599,382,449,556,570,647,886,733,781,819,785,1024,912,1086,1200,984,1058,1184,935,524,385,507,778,867,635,423,366,471,633,611,598,602,1028,1278,910,954,918,660,935,782,402,281,357,383,336,325,406,487,719,954,728,561,636,1120,1138,1732,1180,874,837,868,792,490,327,359,423,286,300,316,277,278,391,359,303,315,344,282,326,357,330,296,345,462,489,541,596,516,509,539,476,444,423,428,443,515,631,495,458,473,491,467,479,555,498,447,506,499,436,440,488,511,517,467,462,428,387,384,403,363,332,347,328,414,815,546,386,393,392,384,399,407,528,743,872,896,639,698,482,424,969,1060,814,645,575,629,525,502,553,509,619,658,611,586,615,519,514,992,1144,921,934,819,718,744,1236,1120,544,432,356,265,290,336,390,334,468,927,1410,1522,1134,675,432,437,713,1702,2058,1470,1368,1196,713,487,750,669,624,597,499,411,542,673,594,550,575,713,857,1124,1368,1380,933,943,1280,1322,1472,1296,966,820,590,446,413,312,281,282,291,553,858,865,547,648,1036,1260,1534,1670,1798,1816,1470,1252,1440,1572,1550,1554,1578,1526,1610,1622,1770,1262,1112,1878,1676,1122,771,797,1260,1250,1156,1082,998,1500,1384,923,870,747,743,823,1088,1202,1662,980,514,407,473,469,421,619,1102,1252,930,1204,882,554,997,1240,1184,1350,1354,1230,1444,1302,1212,1062,952,984,937,838,896,1298,1350,1358,1192,1218,1012,1098,1328,968,507,563,782,860,1132,1368,1354,1806,1594,1758,1290,934,791,607,447,454,827,804,766,1152,984,1017,959,725,1017,832,711,1058,1464,1242,1001,1218,1110,874,791,940,724,626,877,902,1003,1068,1368,1278,779,601,982,1274,1262,1282,1294,1140,1116,1378,1154,656,453,588,771,711,719,1086,1090,1288,1168,867,750,1070,826,524,774,1086,1054,753,841,1066,872,975,990,897,999,1108,1340,1284,1224,1372,1316,1256,1268,1208,1306,1212,1120,719,483,557,580,489,492,487,398,451,547,607,497,503,473,429,349,395,577,519,428,458,450,792,1268,1072,1023,987,591,548,944,1015,1062,1016,1008,880,767,741,813,1090,1378,1416,1266,1424,1376,855,825,1034,893,800,720,840,1160,999,633,863,951,933,953,583,357,315,348,382,402,456,447,698,1003,838,885,1046,1142,1023,1021,1022,727,688,1038,1220,1078,842,620,460,419,407,519,563,457,305,239,255,260,274,286,289,313,372,685,820,835,769,608,569,555,466,594,749,759,744,505,476,342,382,416,514,452,416,531,663,506,464,576,522,412,405,483,492,777,548,327,307,345,433,430,408,389,361,387,433,386,385,387,777,596,480,427,327,459,586,518,595,758,825,746,799,799,650,763,893,730,624,769,933,839,1056,1272,935,716,802,966,1300,916,480,400,461,458,564,534,439,411,412,408,476,816,1072,531,322,441,438,395,420,393,324,336,338,368,397,366,368,372,395,417,446,425,379,357,361,397,385,320,390,399,387,334,321,314,310,333,379,431,412,373,422,401,363,327,357,359,355,374,403,695,1032,928,803,702,489,473,448,425,631,852,892,659,440,326,472,631,455,443,479,528,702,1832,2004,2042,1160,467,440,412,521,1044,1522,1510,1256,1290,1604,1182,1006,778,1096,1182,613,525,850,946,923,899,701,384,372,531,655,762,953,582,309,328,410,441,428,360,287,337,347,345,521,762,568],[268,332,365,262,263,288,317,306,337,375,832,2112,2058,882,457,369,353,352,369,425,556,837,1052,779,866,1072,1178,1370,1424,1438,1094,703,502,385,346,329,342,359,325,286,256,266,366,418,339,265,248,273,252,245,238,216,211,245,247,291,457,797,791,446,322,348,323,255,327,461,519,571,973,1592,1492,545,376,300,232,397,648,836,669,582,1030,1196,777,548,822,1104,1114,1140,1064,538,377,363,321,325,415,510,534,610,1106,1136,519,381,429,383,475,689,814,796,678,763,857,670,536,339,420,414,443,377,366,368,382,353,337,440,943,1502,1750,2100,2554,2468,1984,1634,1234,1100,1005,838,630,435,399,393,383,384,392,385,372,356,331,320,345,310,270,276,293,326,346,366,352,363,513,873,1146,734,458,399,297,287,360,438,476,500,222,462,534,501,455,403,669,672,467,628,882,1296,1302,995,982,1034,1122,1088,1156,885,616,760,1122,1246,1378,1594,1324,1224,1820,1616,1098,976,957,1348,1562,1028,1114,1282,1130,966,874,767,621,501,366,321,284,328,386,345,277,253,237,245,250,314,807,1342,1168,855,1766,1584,978,832,844,689,609,514,368,404,404,670,710,611,446,409,536,614,568,806,984,917,802,565,311,328,401,360,343,375,367,248,563,472,310,305,376,448,332,293,272,308,371,742,734,526,561,926,922,761,641,405,312,515,664,637,480,516,767,674,460,352,300,404,715,807,631,877,1068,763,585,416,382,391,414,394,382,393,559,858,1230,1202,965,1262,950,762,492,452,427,466,497,582,831,814,640,794,761,968,1300,948,500,467,547,778,1172,1296,1266,1352,1566,1584,1462,1452,1660,1336,1038,1126,1018,951,1266,1216,921,852,886,849,867,1038,1244,1224,1232,1360,1350,1334,1274,1054,1040,1052,895,695,873,1112,1210,1274,1560,1696,1502,1078,999,1186,1246,1040,739,633,727,1162,1338,1152,1204,1306,1074,764,605,602,991,983,660,734,1068,1064,985,873,522,659,979,1232,1178,1008,1108,1174,915,688,917,978,949,1254,1396,1338,1236,1166,1102,807,755,698,901,725,475,450,535,553,446,459,529,518,483,428,382,360,354,352,330,332,336,329,223,227,289,267,221,213,213,221,303,438,391,303,294,453,506,422,376,377,366,302,314,359,399,440,426,434,409,299,289,271,268,262,270,267,252,236,257,325,290,315,365,412,418,363,347,427,508,719,890,815,677,622,566,355,619,1290,1062,942,836,692,790,690,619,985,816,583,780,755,485,381,494,749,836,805,833,962,954,683,369,434,623,781,1007,1254,1528,1196,1092,1284,1406,1378,1566,1416,828,393,331,573,816,1023,1130,926,1228,1268,1044,753,968,931,821,800,572,585,940,1108,979,1158,1342,1936,1384,1324,1502,1098,1326,1766,1578,1062,611,523,908,1264,1242,1672,1626,1142,1166,1178,940,812,901,991,1050,1046,1306,1238,1262,1208,1096,1162,1152,985,929,985,1110,1156,1018,752,462,425,418,286,372,381,346,324,307,303,296,278,269,290,339,377,377,343,388,374,433,515,638,733,681,489,790,1252,1038,695,650,634,673,550,563,606,580,652,898,858,686,771,1236,1202,505,373,324,350,579,963,1158,1226,919,699,651,579,626,687,606,434,339,399,821,988,1140,988,811,542,531,525,495,567,541,491,790,1132,932,717,955,1262,1308,1208,1330,1164,975,1042,1186,1414,1322,1252,1136,937,1572,1196,761,836,1005,1138,1005,837,559,403,370,386,371,427,568,651,691,803,944,822,830,747,808,1184,1222,876,719,982,1132,1320,1542,1206,852,647,512,456,552,708,1021,1336,1454,1134,1172,1282,1018,713,849,1204,1332,1162,1046,1394,1388,1240,1564,1300,1020,861,766,848,988,833,1050,1490,1692,1732,1462,1448,1176,550,416,457,558,642,733,744,522,437,665,710,586,692,896,1015,1100,1504,868,397,530,744,709,509,429,661,918,1046,1250,1098,884,527,442,744,1178,1262,1602,1322,522,757,741,404,346,356,326,427,821,923,629,411,343,424,638,869,960,803,591,457,448,502,526,565,673,700,498,358,383,360,355,342,359,339,274,277,255,269,223,257,356,389,333,286,422,983,1048,514,297,227,234,243,323,434,352,264,230,252,306,346,372,436,412,384,393,396,465,523,459,501,369,502,1060,1220,1264,1142,514,422,674,569,352,316,285,258,289,328,252,406,779,631,500,489,572,1178,1530,1216,699,387,337,329,340,437,608,876,945,946,779,562,841,878,600,529,622,671,719,703,907,894,1264,1554,1344,1278,1430,1554,1396,1356,1356,1166,1244,1524,1196,1286,1180,933,828,1212,1588,1420,1390,1534,1282,904,1062,923,677,780,1104,1023,1094,1028,675,507,747,976,1088,1476,1514,1096,1082,1222,1432,1206,1242,1134,1108,903,827,480,271,289,252,264,308,341,351,310,378,883,1454,1630,1438,896,594,994,1398,1210,1140,960,1078,1488,1526,909,664,573,498,459,365,363,474,476,461,546,818,971,948,803,851,1016,675,509,541,728,786,1034,1150,1112,1096,1072,1046,1280,1064,651,888,996,736,583,403,460,618,750,967,1080,1170,954,707,597,768,913,1098,932,640,616,891,1266,857,469,390,434,680,557,454,437,594,698,619,675,967,1386,1154,665,574,378,457,800,774,479,280,332,370,322,297,457,555,792,838,649,682,1186,1138,1152,1238,739,368,520,530,496,982,799,449,427,650,890,672,461,722,802,475,303,314,375,275,348,361,381,418,416,471,529,562,595,483,359,351,319,381,361,368,379,407,545,575,490,442,429,377,457,596,488,351,331,339,339,344,372,459,460,401,410,417,408,387,365,320,310,321,295,273,442,445,455,491,440,554,659,504,633,645,756,844,568,719,585,394,745,954,807,723,558,470,491,520,405,467,599,650,625,517,538,507,537,1003,1056,879,1072,1112,1064,985,746,710,1019,957,527,312,386,431,346,370,472,808,1140,1026,868,691,524,711,1062,2264,2022,1332,1916,1692,861,769,708,672,632,530,511,418,419,487,467,501,559,486,647,1220,1344,1592,1304,1318,1394,1188,1466,1448,1166,910,628,449,413,309,321,365,446,699,1394,1224,551,755,1378,1616,1638,1686,1672,1534,1412,1178,1600,1876,1694,1986,1788,1432,1236,1310,1216,1050,1876,1962,1638,1496,1104,1186,1434,1078,1262,1186,1080,1164,1122,964,702,1104,1484,1354,1128,758,967,988,744,511,430,382,320,400,703,725,678,1050,591,624,1248,1406,1250,939,1058,1382,1480,1478,1346,1178,1312,1216,1166,1194,1162,1296,1310,1090,1356,1212,836,1112,1318,918,519,689,960,1006,1102,1300,1500,1882,1748,1382,1292,1072,611,444,354,495,933,599,869,1368,1238,954,696,1036,938,572,763,1076,1354,1102,1096,1340,1066,724,1001,1118,960,886,995,922,786,756,806,952,826,529,869,1152,1170,1172,1176,1072,1013,1058,1036,836,539,476,741,883,713,1124,1096,1122,859,754,858,891,698,570,719,1090,901,600,628,731,1024,1324,1226,1001,1094,1512,1482,975,1050,1388,1410,1362,1462,1400,1136,889,739,536,411,388,385,348,361,398,346,424,451,570,559,695,568,447,359,417,632,591,430,423,427,553,812,733,550,653,649,687,932,939,681,880,1244,933,451,404,428,831,1184,1262,1404,1758,1566,1444,1698,1402,1034,1024,962,672,813,957,979,1158,1248,802,494,425,429,339,334,368,369,386,412,548,678,913,910,770,796,1156,1384,1106,966,985,1254,1194,1212,1300,896,592,554,603,820,981,890,557,277,294,286,323,299,281,334,340,443,544,661,1078,921,762,1274,1294,1110,1130,1260,1018,928,637,441,378,527,725,818,891,734,603,514,394,361,396,389,378,386,370,559,472,383,517,705,745,509,378,363,338,301,342,309,334,361,391,402,503,584,536,345,331,461,826,995,967,933,1092,987,866,1054,960,683,674,717,615,714,1050,1086,1116,1232,1336,1394,1234,985,632,550,575,548,594,461,426,446,456,428,368,718,738,376,342,389,381,382,415,416,372,374,359,367,358,340,353,380,411,402,361,345,356,356,329,317,316,314,389,408,396,353,310,294,305,380,473,444,437,340,408,387,380,379,440,416,333,361,351,455,610,570,750,672,429,375,392,416,524,615,554,433,369,366,433,556,551,485,455,519,684,1992,2674,2284,1130,427,446,435,641,1230,1426,1444,1372,1488,1192,979,808,918,1192,1028,881,998,1220,1154,963,766,455,289,317,408,560,756,1013,763,347,321,357,328,343,396,410,335,314,381,396,696,719],[295,297,284,275,295,315,322,341,326,415,1414,2900,1938,927,478,420,369,345,436,568,745,1288,1510,1208,1160,1252,1005,1096,1310,1412,1426,908,497,363,329,324,337,292,284,277,263,271,311,329,314,265,239,240,246,266,259,228,238,279,255,324,816,1352,1200,542,312,526,515,346,357,411,519,568,580,893,1102,547,315,297,282,294,411,582,575,736,1202,1366,976,1122,1172,651,928,1854,1270,441,365,354,396,499,561,382,578,937,1250,634,313,367,563,866,1372,1082,612,678,844,1014,1003,569,343,296,355,349,402,412,396,366,307,320,331,546,1013,1322,1588,1926,2208,2128,1836,1372,943,759,620,514,446,425,435,364,355,354,407,393,348,339,311,307,328,292,248,278,302,335,319,383,315,794,1108,908,1168,1110,659,440,402,371,396,437,502,658,1240,758,459,450,444,453,509,478,503,572,806,1126,1030,876,857,1018,1254,1124,909,752,757,985,1144,1106,1144,1100,1015,1202,1710,1418,1296,1034,830,854,952,813,804,876,965,1084,1216,819,438,400,322,280,278,414,461,342,245,250,231,238,256,382,1015,1644,1624,1700,2520,1638,577,534,600,579,623,532,392,419,469,793,620,526,398,362,433,405,666,967,866,633,437,401,396,401,380,376,364,438,603,579,513,478,387,525,672,597,304,344,407,388,445,590,557,482,497,765,1030,1056,874,494,325,456,569,506,440,417,566,680,508,333,326,426,838,967,656,781,992,980,763,607,536,465,402,408,420,399,631,1206,1354,1054,841,950,897,812,586,448,422,491,524,573,836,925,801,1056,996,965,1168,1266,1260,1290,1026,957,1194,1328,1438,1234,1318,1354,1122,1266,1400,1416,1520,1578,1502,1364,1246,1288,1382,1350,1344,1474,1522,1404,1328,1256,1180,1156,948,667,563,446,267,270,440,450,489,480,681,974,1266,1604,1682,1476,1284,929,841,1130,1011,1038,1192,1294,1104,1154,1166,1116,699,499,555,871,1094,1046,1080,1060,1342,1060,681,485,507,370,592,954,1104,1174,1013,658,432,497,866,834,941,912,761,1190,1196,1062,742,521,602,713,969,644,446,527,618,647,681,701,728,705,549,399,403,408,379,393,396,392,332,319,247,219,236,206,185,201,212,219,317,438,289,263,367,498,460,413,399,374,363,289,292,344,364,402,438,494,498,363,309,290,275,262,243,208,217,218,246,353,287,311,386,415,371,322,294,292,332,527,813,807,634,639,569,378,406,504,807,998,926,737,586,338,605,1005,918,752,692,619,476,378,347,400,657,618,693,868,786,599,437,348,428,728,1016,1438,1476,1366,900,1314,1500,1454,1396,1034,800,505,373,504,717,1182,925,699,1070,1216,840,708,777,814,1132,982,567,756,940,1118,1470,1240,1070,1324,1442,1500,1324,783,906,1470,1290,724,412,552,1130,1738,1792,1772,1450,1068,1218,1334,1232,1224,1222,1226,1268,1198,1284,922,697,630,738,926,1050,1110,1146,1134,1246,1232,906,854,498,389,409,374,394,412,364,338,344,318,309,271,281,290,314,338,314,363,477,409,376,531,792,806,563,514,625,1210,1440,1154,745,661,639,495,420,404,515,562,626,714,948,1226,932,577,403,378,378,370,434,532,850,1210,898,700,976,844,971,1384,928,513,339,373,824,912,759,617,530,481,322,387,520,573,529,368,384,716,689,714,904,1064,1100,997,1086,1206,1180,1052,1278,1492,1294,1378,1360,831,1116,1009,959,1174,1100,1060,1134,1070,775,450,408,487,635,841,838,728,661,869,1064,824,885,690,833,1298,1840,1294,1004,1050,1188,1256,1446,1314,644,453,584,441,507,504,708,967,733,627,933,885,955,874,755,963,921,908,910,682,943,1268,1604,1432,1062,771,968,1100,672,536,900,1334,1604,1504,1334,1306,1058,681,677,909,895,683,653,766,665,861,1040,813,681,568,536,802,1502,1714,759,347,484,829,941,419,596,818,815,946,1200,1154,773,569,591,833,1164,1158,1062,872,483,477,322,337,332,335,322,382,524,624,664,665,869,1064,1038,849,684,574,578,489,447,509,544,584,684,616,357,317,390,405,383,344,385,375,318,234,257,265,246,316,392,397,289,250,336,498,437,352,285,256,263,252,270,315,368,327,250,266,297,401,362,287,340,393,508,595,522,396,453,474,392,658,1256,1230,885,404,271,285,255,235,281,305,340,308,296,329,276,455,615,528,528,470,847,1512,1472,1344,1056,501,341,287,297,493,671,1094,1230,1260,1046,752,757,968,954,541,349,458,644,711,1094,1005,886,842,1116,1052,928,1368,1606,1610,1554,1118,1274,1454,948,1046,1238,1268,1422,1748,1542,1592,1570,1448,908,750,760,662,466,644,686,769,1048,1100,928,1032,1108,960,1072,1272,1150,1004,1222,1514,1296,1232,1266,1238,1092,946,621,319,284,278,319,321,312,284,381,463,459,781,1384,1610,1244,615,529,904,1306,1328,1188,1398,1794,1152,932,923,771,740,699,877,545,439,531,449,364,449,584,725,758,912,1034,762,872,971,791,930,823,984,973,1210,988,874,1026,1248,915,430,555,877,1056,891,395,451,791,1009,1118,1262,1128,877,639,491,604,908,1204,1448,943,929,1126,1194,702,414,368,457,527,512,447,519,794,920,676,867,1332,935,607,525,424,379,553,809,913,538,261,322,383,403,410,403,376,475,489,542,560,677,832,987,949,654,375,541,445,576,901,850,449,368,831,1238,873,538,808,778,407,226,253,325,282,349,355,398,476,484,457,446,485,561,567,371,360,328,307,364,337,314,342,484,571,484,391,366,399,493,536,410,341,303,285,311,303,398,555,491,404,403,415,412,361,328,321,316,307,310,339,429,466,626,714,474,711,1108,792,953,908,980,727,553,819,776,528,799,1046,808,796,738,549,458,472,487,577,610,599,530,459,525,542,589,671,556,651,1001,1032,1348,994,600,736,1338,1432,909,386,584,582,357,367,557,861,1074,979,801,743,747,699,889,1188,973,982,1172,1438,977,904,679,672,682,625,542,439,405,414,426,493,579,518,549,770,849,1090,1322,1330,1202,1106,980,1040,1246,945,715,612,480,320,485,667,845,692,1302,1232,656,1034,1680,1824,1682,1654,1448,1378,1456,1362,1570,1876,1642,1356,1340,1266,1078,1312,1204,1316,1714,1248,1334,1626,1426,1440,1142,1011,1146,1150,1194,1058,811,533,452,980,1400,1588,857,392,385,491,707,781,514,298,295,324,331,362,417,440,515,547,672,912,867,463,572,995,1198,1444,1530,1356,1358,1396,1380,1368,1360,1404,1356,1126,1016,933,1102,1140,1296,1122,764,1044,1062,1034,1062,1456,1558,1384,1406,1490,1418,1104,763,559,428,466,890,826,991,1216,1046,713,640,984,901,726,914,976,1084,830,1230,1410,1060,694,915,1054,991,996,976,683,602,929,1001,1484,1316,780,962,1250,1226,990,862,1042,1108,701,589,700,632,386,469,538,780,1266,1658,1530,889,754,969,797,612,566,472,698,605,458,525,899,942,1040,1120,1226,1452,1316,794,454,731,1100,1046,1262,1246,940,607,473,434,397,411,409,379,379,365,339,311,409,498,530,539,551,469,456,408,440,528,454,419,465,661,850,559,449,373,440,675,959,999,771,607,943,1001,983,990,609,379,734,1114,1312,1468,1710,1578,1328,1102,1146,1074,788,711,455,479,917,1164,977,908,747,426,457,491,453,406,344,312,437,581,562,603,901,961,964,1074,1484,1516,1106,1174,949,1007,812,909,1210,1044,1010,744,673,1001,979,841,599,323,239,303,392,323,349,421,451,553,556,770,1202,872,1146,1338,1144,906,1470,1428,905,647,825,939,764,799,979,1166,1226,706,452,560,566,525,456,588,672,745,851,918,659,472,620,855,752,574,410,357,330,302,338,320,341,377,318,350,521,865,599,336,487,664,846,1038,1244,1064,711,607,816,1042,960,857,893,975,1038,1108,1150,988,937,1202,1390,1324,1222,1306,1028,844,613,822,682,483,433,489,526,573,513,566,588,461,444,389,402,406,418,393,375,378,355,348,345,344,349,355,412,479,366,330,338,346,332,289,322,335,316,324,372,368,312,294,321,438,534,426,440,397,454,440,409,408,487,490,474,551,455,377,352,401,929,613,444,499,436,369,379,379,361,371,388,381,375,777,874,573,480,514,593,1278,1504,989,579,440,474,484,673,1348,1332,1220,1286,1186,909,833,933,1180,1164,1150,1354,1268,1146,1274,1172,744,389,294,396,515,745,918,745,424,318,287,364,336,305,398,350,306,382,479,542,698,587],[266,269,267,279,308,333,336,329,314,338,608,2158,1670,786,559,523,453,457,523,659,793,1266,1602,1396,1100,945,676,921,1312,1346,1122,857,666,413,352,269,287,270,260,277,286,284,324,369,352,277,230,241,245,246,226,241,263,292,286,267,931,1804,1764,810,489,938,1102,814,551,400,445,480,507,766,709,499,511,448,422,642,711,720,521,494,725,978,624,1004,1070,614,626,1034,762,346,381,385,499,931,1092,808,575,922,854,547,375,342,586,1170,1556,1308,1004,1006,1086,951,1019,684,379,298,367,370,359,359,442,470,316,310,368,667,828,905,1003,1422,1536,1356,1226,871,561,473,498,542,492,431,404,383,387,368,396,385,356,313,290,300,257,224,279,347,369,377,412,437,314,799,769,432,871,1314,963,485,547,547,655,919,891,1094,2464,1372,422,413,413,443,462,466,463,493,785,1136,1262,1066,1042,1302,1354,882,600,939,999,869,928,1008,1244,963,937,1070,1242,1266,1036,746,686,667,634,602,570,658,907,882,1178,745,415,314,292,299,327,523,714,597,334,251,255,258,307,362,480,814,891,1466,1738,1023,405,361,376,528,485,369,346,391,622,699,513,393,284,270,298,366,538,525,584,397,430,450,436,451,428,434,410,561,938,876,599,541,430,771,1164,982,430,341,526,543,719,944,899,758,709,706,943,1042,931,733,453,331,383,385,408,403,397,468,437,354,313,618,941,988,586,673,1058,1300,1304,1110,788,486,467,423,423,376,405,587,676,608,943,955,841,742,669,525,403,437,507,866,1428,1236,976,1204,1290,1376,1380,1482,1544,1390,781,456,685,984,983,645,1110,1054,847,670,630,833,898,703,560,557,604,627,513,611,849,893,738,636,626,633,515,453,389,354,469,584,354,321,337,392,448,574,1118,1542,1470,1578,1672,1686,1634,1598,1366,1390,1488,1346,1538,1462,1036,956,916,570,288,341,680,1080,895,904,890,995,1386,1304,645,359,448,407,459,873,1132,1030,802,434,328,343,652,719,835,1010,1062,1188,1150,1094,816,418,451,697,1060,866,464,437,501,581,614,684,748,662,459,320,342,375,371,415,489,480,373,336,320,279,258,216,198,194,231,225,291,313,272,273,403,358,291,365,371,389,383,349,337,364,397,389,461,446,406,321,281,288,276,263,251,234,254,250,254,301,296,309,375,402,357,334,311,277,242,295,448,544,618,476,374,390,362,428,482,630,800,879,594,368,487,737,965,630,691,674,422,320,352,589,1326,1444,873,662,552,541,643,576,488,1005,1344,1410,1520,1268,858,980,896,969,927,1104,1182,646,489,735,1314,1382,848,819,1338,1328,974,808,787,812,981,951,800,787,1100,1490,1198,1011,892,614,894,1296,1304,963,832,762,1092,758,579,844,1332,1770,1772,1568,1246,1000,978,1074,1124,1118,1106,820,1132,1434,1042,642,387,292,318,516,821,1052,1106,1152,1170,1260,1282,1248,755,482,556,494,381,375,336,366,417,310,308,274,298,298,301,324,368,460,445,377,368,482,718,624,608,1424,878,897,1326,1542,1318,887,510,402,350,379,424,529,511,659,1272,1488,893,521,462,474,477,632,777,547,577,975,742,585,803,1086,1170,1258,736,532,407,347,440,433,450,409,509,558,542,555,729,1504,1430,707,361,356,330,623,951,979,987,1040,1040,1282,1378,957,1116,1282,1186,1120,1182,1032,752,573,866,1340,1218,966,1146,1001,923,625,697,719,522,495,567,796,984,1052,1158,1146,1330,1438,1244,1130,1240,1007,1216,1318,1110,990,1054,1306,932,590,832,847,821,672,377,400,406,449,598,670,811,667,373,360,536,899,925,460,465,897,1142,1248,1146,988,1020,974,624,621,1017,1124,1222,1422,965,673,647,710,893,1018,1144,1120,1100,985,755,737,767,1244,1130,584,672,942,1478,1344,655,345,410,692,855,625,2266,1438,932,1214,1132,780,696,899,904,777,935,847,702,514,386,382,350,324,298,560,860,800,814,883,910,1009,1102,758,523,452,533,559,553,543,494,499,550,544,523,439,439,457,495,451,398,380,357,355,366,372,355,309,303,293,462,692,437,270,293,248,283,355,314,270,284,302,256,281,276,264,287,360,341,305,304,369,482,498,622,669,677,630,687,434,347,550,896,681,368,269,247,234,259,330,297,304,321,318,300,278,308,525,563,470,454,452,800,1140,1224,1228,576,447,327,267,307,564,723,994,1300,1282,1136,1004,791,1208,1398,944,455,384,582,870,1278,1013,706,788,1204,1220,1108,1108,1094,1454,1642,1478,1378,1366,1202,1326,1438,1674,2050,1808,1918,2512,1256,1324,1078,1140,763,1278,1706,1246,752,777,962,1070,1158,1308,1136,1088,998,763,888,917,996,1120,1446,1504,1270,1360,1606,1562,566,329,367,308,472,377,286,288,318,498,469,638,1146,1166,987,612,498,1040,1134,1204,1206,1836,1898,1202,1044,984,928,767,605,715,533,395,393,320,320,362,341,478,879,1160,966,1130,1456,1230,1011,1048,710,782,1064,1194,861,961,1138,1034,805,479,396,600,854,897,485,507,730,1007,1134,1208,1072,825,613,720,886,1120,1964,1874,1520,1428,1208,1028,802,523,530,657,577,358,420,558,779,998,665,1019,929,458,420,496,454,593,626,490,417,374,426,487,712,814,706,437,354,485,691,848,772,705,987,868,636,695,667,670,555,604,477,365,354,357,433,477,370,372,426,344,276,225,215,243,235,280,303,331,378,415,446,455,441,492,579,393,338,364,361,352,324,314,349,399,459,477,415,389,368,455,455,407,383,364,358,374,371,462,563,449,377,362,369,346,358,364,338,316,305,285,309,390,395,450,460,468,646,795,987,1228,1338,1332,922,678,832,920,810,1150,1164,913,749,852,767,585,462,482,514,479,446,490,511,589,551,410,402,377,470,830,856,855,796,630,798,1246,1068,614,417,522,536,585,565,751,1306,1272,929,756,891,899,566,717,921,1064,919,709,737,744,744,776,817,687,561,521,462,440,419,425,532,569,519,559,727,1188,1340,1338,1206,1050,1090,984,1064,1192,861,525,686,636,649,896,1162,1028,677,847,1024,957,1174,1680,1924,1850,1524,1256,1168,1172,1250,1338,1296,970,783,1042,1034,880,923,977,1004,967,1250,1406,1500,1620,1560,934,712,955,1300,1528,1536,735,354,473,950,1496,1400,1228,841,448,430,619,847,696,319,310,344,375,396,543,521,518,529,539,433,278,349,777,1162,695,888,1388,1532,1490,1434,1382,1288,1282,1354,1328,1184,1168,1236,1380,1376,1530,1510,1288,1396,1384,1404,1512,1558,1474,1446,1478,1604,1734,1662,1296,994,638,567,663,680,889,1200,1082,768,587,560,551,899,1042,1228,1234,1042,1368,1582,1021,767,1066,1082,862,741,725,819,586,799,877,1276,1294,810,979,1322,1278,962,587,760,933,527,376,375,480,490,452,563,764,1310,2024,1744,1074,930,1132,970,607,583,469,515,482,420,464,642,788,1024,1166,1354,1142,627,441,454,486,865,1588,1758,990,430,365,392,388,439,453,391,328,350,392,341,366,383,421,412,468,511,472,487,517,479,514,484,425,520,595,474,398,376,341,355,695,1152,1050,821,760,1210,987,927,1358,861,436,547,999,1360,1488,1524,1500,1218,803,1334,1210,663,401,354,436,1108,1650,1166,748,677,496,617,561,545,530,523,598,1102,984,505,719,1158,1264,1422,1300,1072,639,582,816,797,924,780,880,1009,908,987,813,620,871,702,614,405,371,296,309,328,320,374,474,529,579,422,561,890,714,866,877,1126,1178,1050,1230,1044,976,985,1036,1130,1038,1228,1264,913,960,1312,1072,1007,946,931,1032,1182,1180,944,873,659,513,709,1148,777,644,466,343,326,305,291,258,282,354,477,534,441,567,581,525,802,830,593,651,828,661,560,543,518,777,899,953,1138,985,975,879,1046,1032,1066,1046,855,1032,1506,1408,1198,1042,595,817,651,480,503,509,497,543,505,505,555,454,455,430,410,370,366,348,343,358,339,321,328,318,314,326,415,444,370,313,321,394,398,349,335,336,334,339,318,336,351,335,321,424,450,420,435,372,386,465,430,357,452,479,440,481,542,435,346,648,963,633,529,564,462,373,387,401,381,363,320,390,386,894,938,584,492,481,467,439,346,432,423,350,339,434,756,1376,1214,901,981,937,641,684,942,1076,1364,1500,1336,1176,1050,1124,825,568,453,360,433,721,1146,1102,719,426,320,325,438,418,344,451,538,569,558,558,587,659,574],[273,309,311,305,326,337,322,323,305,331,351,526,620,907,1126,789,547,545,462,583,631,772,1220,1080,718,840,861,934,1040,971,877,719,724,427,297,249,243,255,251,254,267,315,330,330,369,331,223,241,247,211,200,209,240,247,277,282,962,1916,1760,1024,1017,1316,1350,896,561,422,361,367,607,680,464,556,915,870,898,1160,1144,1316,772,515,937,899,764,712,612,616,497,807,781,419,578,657,662,1001,857,979,749,791,962,916,602,473,841,1324,1252,1196,1044,1302,1460,1314,1272,1084,731,523,505,427,295,264,357,477,401,325,330,490,652,624,598,709,606,609,642,475,394,464,464,471,458,440,428,425,427,391,378,380,348,319,333,274,243,265,330,361,385,372,457,418,383,420,319,323,559,1010,1160,529,435,852,954,995,1184,1216,1588,1400,535,375,395,420,520,584,896,1778,1490,1210,1194,1062,1072,1240,1522,1232,1134,1632,1344,985,933,913,1394,1186,1060,990,873,893,845,706,580,528,626,678,641,1009,1252,1076,976,615,378,319,306,312,467,626,763,671,356,357,301,299,359,584,601,446,669,1106,1118,697,344,352,367,400,369,294,340,381,780,744,498,425,277,276,297,548,750,487,572,389,314,404,459,435,506,693,600,695,1080,1172,1116,919,615,702,902,731,402,304,455,569,721,1046,1234,901,990,905,972,952,949,1126,697,315,328,361,433,480,452,521,542,389,343,577,641,823,1032,1218,1260,1134,1112,1516,1310,705,661,379,395,399,389,426,485,491,643,556,406,504,702,614,568,560,664,1094,1250,1364,1428,1448,1280,952,858,1106,1208,974,567,621,1236,1442,1190,948,1132,1024,760,771,808,747,825,653,580,639,557,446,487,534,516,607,604,626,563,499,441,316,307,412,561,851,478,311,304,398,571,761,1260,1354,1428,1528,1262,1416,1582,1494,1582,1542,1614,1370,1050,1246,1222,933,609,449,316,372,759,1224,1120,1090,780,797,1058,974,695,535,437,439,700,1208,1274,730,718,449,310,275,505,790,887,953,1154,1222,1404,1374,836,368,357,641,1328,1250,581,342,380,331,348,502,532,509,393,336,382,422,482,529,622,683,688,687,597,559,532,334,228,207,226,248,345,283,277,327,380,332,326,364,323,236,245,324,354,338,336,386,381,319,328,313,310,298,266,259,259,242,264,265,300,305,278,261,313,357,332,337,330,317,250,212,268,415,677,762,491,388,457,519,476,462,732,954,455,317,338,397,466,441,769,713,435,336,399,596,1200,1824,1598,913,521,624,1078,936,675,987,1210,1216,1512,1336,1234,1406,958,493,540,1062,1062,658,455,802,1610,1810,1262,1062,1084,1068,975,545,548,578,566,567,618,1140,1544,1360,861,942,941,544,615,1182,1158,912,1122,1244,1244,1154,1344,1422,1706,1724,1452,1484,1430,1180,1044,1152,1314,1150,1012,560,759,1146,1158,1146,636,276,325,379,777,1434,1428,1150,767,940,1272,1348,893,476,575,535,388,341,281,310,390,414,383,293,298,310,311,325,384,436,404,418,419,398,491,469,628,888,870,705,811,1248,1688,1274,612,438,368,415,511,952,882,1308,1662,1132,823,664,563,483,549,659,553,512,769,1124,782,620,1078,1426,1282,914,648,589,486,640,789,611,516,340,485,576,573,463,593,1554,1432,702,399,309,234,467,985,1202,1358,1412,1216,1048,1312,1094,1136,1088,1082,1278,1178,1116,810,602,908,1004,679,708,1138,1146,1082,1008,976,777,570,621,723,897,1296,1384,1282,1412,1334,1472,1260,978,906,968,1252,1278,961,1052,1266,1534,1426,823,814,935,1108,761,369,397,431,530,713,516,442,377,393,642,735,680,646,491,617,889,714,554,733,964,1088,1166,865,967,1376,1194,1502,1708,885,482,465,542,590,562,674,977,1164,910,830,714,664,1536,1454,860,738,910,1052,1158,662,354,404,731,999,833,1582,1394,1118,1102,857,901,1250,1408,1064,803,920,590,469,354,343,360,326,379,384,860,1588,1426,1216,998,1234,1398,1450,1034,888,737,619,652,669,624,539,470,528,525,486,481,599,520,517,472,404,409,418,357,360,416,343,307,340,494,741,767,512,296,300,310,308,341,290,295,324,314,320,304,292,273,284,368,350,270,345,685,642,525,669,520,512,470,420,344,325,376,505,504,362,215,248,229,270,310,280,324,298,278,350,325,342,443,459,432,365,321,497,743,1114,796,434,462,308,256,353,764,925,1108,1516,1106,1024,1094,1088,1540,1198,1026,916,567,465,1078,1478,1506,1322,578,743,1098,1204,1168,1094,1206,1354,1290,1366,1458,1562,1646,1686,1974,2060,1626,1498,1866,1542,1378,1170,1302,915,2036,2612,1454,1110,1016,1134,1216,1170,1200,1100,966,793,660,878,1100,985,1104,1522,1428,1270,1378,1652,1392,674,512,856,629,583,475,310,274,268,325,314,489,855,625,790,777,736,968,747,587,784,1234,1340,1262,1118,995,567,387,399,337,248,214,239,289,353,398,316,474,942,969,869,1284,1230,1176,1230,905,508,740,1034,901,1040,1440,1498,1164,1166,798,568,518,681,941,656,477,760,1104,1256,1030,875,683,947,1064,1082,799,1648,1336,1220,897,1188,1302,941,746,834,689,760,399,731,904,730,779,564,509,464,639,678,612,584,669,700,731,630,589,722,1048,1056,714,664,586,402,352,437,698,908,867,1092,631,441,477,512,509,511,633,658,596,714,529,601,568,425,327,364,394,340,260,243,241,288,327,295,318,360,438,513,485,421,387,576,470,357,394,387,378,349,341,364,388,405,422,399,364,402,447,421,393,396,427,437,455,502,540,480,375,340,340,363,399,414,363,329,323,296,300,305,341,375,386,470,554,550,440,739,1060,1220,1072,719,622,719,837,873,988,1024,1004,839,1064,1080,803,538,447,547,617,617,659,568,606,555,392,359,346,346,463,438,648,1210,1224,1194,1336,1110,1038,736,532,474,798,1070,1146,1322,1090,1011,1196,1080,675,535,671,831,1196,1000,683,580,643,746,1006,1184,1080,749,525,529,525,443,462,534,540,531,634,1166,1584,1392,1438,1274,1204,1142,1056,934,1134,1108,877,727,906,1024,1048,1134,969,882,716,778,1056,1472,1742,1750,1638,1366,1100,933,1096,1266,1294,1064,829,1002,994,814,652,638,772,1160,1242,1534,1570,1384,1714,1584,894,964,1222,1630,1738,1350,669,428,650,790,876,977,1128,890,618,552,539,773,560,362,325,412,497,386,376,485,606,642,503,417,369,399,612,795,453,509,849,1172,1488,1562,1520,1418,1184,1212,1524,1540,1630,1728,1684,1686,1622,1646,1572,1468,1384,1264,1296,1468,1432,1394,1590,1688,1652,1686,1688,1494,1284,1130,1060,930,877,1140,1012,821,800,616,814,1001,828,850,809,943,987,1038,866,799,973,1148,1356,1214,797,1036,756,552,954,1021,744,484,472,808,1210,977,459,697,692,375,311,332,325,363,368,515,730,1082,1202,906,529,505,785,1136,727,592,508,491,508,386,409,575,760,836,1316,1318,553,372,426,458,376,669,954,604,285,286,353,330,384,473,433,389,337,291,361,376,318,260,242,230,331,461,561,614,572,426,417,492,448,506,415,322,336,319,318,308,545,1024,918,694,686,788,918,700,1098,1198,673,1212,2114,1508,1414,1556,1484,1288,673,810,885,500,391,541,559,1062,1560,1134,551,491,576,636,624,610,626,594,619,959,858,489,762,1222,1082,1212,1160,1154,677,527,1001,977,799,1008,1212,1240,1220,1124,748,714,890,751,799,445,341,347,364,386,420,442,389,440,596,615,813,791,612,994,1430,1404,1023,1556,1658,1130,1150,955,963,1198,1150,1256,1112,579,782,1062,856,777,1068,1246,968,890,884,676,914,1372,1212,1442,1462,826,625,462,336,357,351,259,264,285,266,392,548,382,238,410,780,1015,832,773,1164,1050,693,634,599,438,704,729,1058,1072,777,554,481,769,847,969,1266,1044,826,1023,929,979,882,649,706,597,525,598,647,598,487,457,492,426,375,437,433,388,354,382,373,339,335,314,334,394,360,330,305,339,366,346,290,324,377,348,335,313,321,311,293,270,310,318,266,295,386,365,360,379,291,299,393,444,458,568,476,440,557,637,492,684,1100,839,623,581,500,418,339,341,350,406,439,354,372,361,799,1006,619,494,477,466,450,409,475,387,293,290,362,882,1360,944,650,985,985,541,562,709,599,803,1170,1078,1048,826,571,363,342,404,445,517,697,833,758,638,406,300,540,1044,786,479,583,600,509,414,496,540,528,478],[335,369,340,323,331,331,344,368,336,298,304,468,902,1522,1506,872,683,829,861,769,737,670,957,957,1118,1440,1252,937,684,1017,1196,741,738,506,310,264,243,218,246,262,248,289,313,294,372,323,199,221,275,245,266,290,302,304,310,323,639,1052,1026,803,718,771,1158,791,460,439,443,452,542,501,451,742,979,1156,970,824,974,1050,954,951,1470,1190,759,611,683,611,444,736,523,391,863,1584,1154,731,739,1490,1416,787,771,686,462,376,601,969,855,1152,988,1015,1390,1576,1752,1716,1312,803,648,480,308,262,341,448,499,396,324,466,645,736,735,575,436,372,362,367,374,366,381,397,406,398,411,404,365,358,364,355,318,315,253,271,298,331,346,370,332,303,367,365,296,261,270,422,519,760,1222,935,670,834,725,792,1206,991,1042,1266,667,361,366,365,494,610,1782,2472,1446,1028,976,846,810,1042,1708,1470,1510,1526,1368,749,545,743,1090,1032,1108,1030,800,1010,1206,888,427,392,730,875,677,1094,1050,820,750,543,386,323,331,337,452,442,746,631,340,393,359,326,447,1026,1094,664,827,1118,991,481,323,303,346,314,296,407,518,570,744,614,482,414,318,309,331,594,825,742,567,379,316,381,503,605,749,771,872,919,1162,1384,1390,1112,680,535,540,536,450,354,414,403,419,705,1142,902,931,837,1007,931,902,1248,939,396,312,394,806,973,477,423,680,531,495,505,473,750,1194,1202,1234,1142,1110,1648,1242,1324,1380,616,365,343,343,422,413,352,422,541,533,477,755,865,726,969,1250,1552,1632,1482,1298,1242,1100,935,1114,1220,969,705,749,909,1136,1034,920,565,482,859,1182,1138,941,877,895,834,1002,895,738,499,432,457,522,637,837,897,594,501,428,295,245,286,338,378,314,299,398,559,650,1050,1234,1024,1232,1528,1226,1060,1340,1642,1480,1228,1442,1558,1364,1262,968,682,610,512,445,638,1310,1338,1088,1040,1104,1184,980,907,1122,1026,541,604,969,1288,1252,777,439,343,462,433,450,803,888,904,1034,1002,1216,944,421,263,298,524,952,918,508,357,364,354,346,364,356,380,382,384,421,439,400,392,586,750,772,761,765,785,681,412,319,281,237,259,289,280,296,343,394,325,429,391,265,152,180,213,232,294,321,368,338,279,326,371,386,348,319,307,274,247,245,299,417,382,321,318,327,344,360,390,291,280,247,260,323,388,460,642,626,555,461,457,533,601,503,516,393,283,276,285,299,677,1050,879,569,393,525,665,969,1034,1220,913,604,792,678,469,667,855,987,1064,1066,1036,869,724,581,407,539,940,1048,698,431,618,873,1026,1278,1390,1180,673,411,388,885,900,603,543,884,1262,1268,1332,1346,1272,835,864,949,1324,940,744,988,1368,1290,1706,1748,1540,1752,1636,1624,1498,1088,1330,1438,1302,1236,1238,908,670,971,1136,1412,1474,688,367,422,651,1054,1288,1418,1194,844,1104,1266,1406,1146,561,404,415,332,322,278,303,390,524,433,281,275,301,284,299,371,436,448,463,452,406,376,402,682,724,674,713,729,712,930,1024,779,601,454,480,841,1532,1098,1142,835,559,539,560,690,701,686,533,357,379,753,998,697,814,1292,1318,1332,857,528,602,541,756,1026,816,525,337,415,542,562,426,446,675,819,965,728,448,449,654,941,1100,1076,1114,1110,1266,1248,1168,1122,926,1072,1294,821,606,417,500,1052,877,525,601,987,1290,1474,1260,1007,1208,1160,885,1030,1202,1354,1294,1426,1182,924,1062,1009,996,903,955,1064,1284,1038,1150,1404,1192,1384,921,514,471,467,431,318,359,387,336,314,289,333,401,487,591,683,794,1028,761,400,654,991,1154,929,724,932,1140,1306,1350,1514,1208,1504,1366,586,478,441,484,530,521,538,927,1118,850,778,843,872,999,1200,1198,1228,1460,1212,1114,697,427,748,1192,1242,1358,1744,1402,1060,1005,1202,1406,1616,1218,875,1030,962,775,436,335,434,360,243,342,515,892,1298,1250,1164,1154,1196,1256,1398,1342,1110,790,639,686,676,616,542,437,438,385,484,672,670,511,456,415,397,413,420,411,405,410,363,342,449,609,772,955,728,396,362,327,307,428,292,311,388,506,608,561,360,237,233,255,279,279,539,1001,950,554,487,501,376,335,333,352,390,380,400,355,395,530,343,271,317,293,274,248,254,330,367,318,359,462,478,427,327,267,322,568,633,684,484,267,260,289,459,684,907,1146,1312,921,756,874,1136,1148,846,1058,1282,1068,866,1152,1680,2482,1616,506,527,1005,954,1052,1140,1015,1004,814,749,1082,1368,1460,1532,1716,1732,1504,1322,1000,921,988,1032,1102,976,1848,2162,1200,1124,1082,1278,1334,1748,1542,1126,773,602,648,1210,1636,1504,1234,949,609,797,871,720,667,727,657,783,718,661,463,350,288,293,300,293,498,949,918,1100,1007,900,692,363,322,467,969,1454,1574,1730,2056,899,440,376,297,260,263,286,308,496,772,594,681,868,1088,1032,1080,1238,1210,686,367,312,449,567,684,882,1158,1226,1070,1394,846,858,769,636,984,901,799,1060,1250,1078,1016,1208,976,1176,1218,1082,714,738,1006,1180,1334,1228,1088,1126,1228,1588,1350,1210,558,614,987,739,564,827,735,602,904,1086,1080,826,698,694,642,473,397,719,1136,1022,691,672,622,336,313,285,428,840,908,998,659,458,384,424,430,392,626,908,728,775,558,898,784,492,411,430,370,278,234,256,343,409,361,326,331,361,422,444,437,405,419,584,533,400,422,458,461,388,372,437,547,489,433,404,366,408,437,417,397,392,407,435,460,472,465,419,346,341,352,351,390,467,470,343,339,305,332,364,536,481,728,684,481,429,428,715,1128,1250,977,669,503,513,836,1007,901,1060,1080,1013,1198,1264,1036,671,492,473,472,506,568,574,640,507,426,728,851,505,486,521,713,990,1128,1126,1124,1016,938,1078,871,557,772,951,955,843,723,1162,1340,660,477,407,375,518,924,1060,1010,837,484,620,969,1392,1452,1094,832,838,691,477,654,863,642,574,933,1510,1696,1444,1482,1312,1110,1302,1326,1286,926,1002,1068,958,1216,1078,886,1040,1056,1214,1038,1258,1684,1622,1404,1420,1682,1682,1356,1224,1356,1438,1528,1224,1138,855,653,675,715,821,1242,1274,1206,1432,1064,882,1522,1572,1050,1112,1388,1570,1476,969,554,462,569,530,499,695,848,590,471,505,661,998,1062,767,480,736,1021,774,574,793,956,616,516,587,464,406,426,419,397,502,734,1120,1338,1212,1360,1562,1584,1694,1622,1586,1516,1482,1526,1430,1446,1454,1238,1102,1166,1296,1318,1218,1078,1352,1412,1362,1166,1232,1352,1500,1618,1488,1610,1388,1188,1450,1268,948,941,775,731,811,727,605,670,737,608,677,1050,1304,1302,1500,1570,1334,1120,1296,870,385,720,1042,1016,611,676,1050,980,853,628,1214,850,446,386,375,337,316,399,543,498,501,458,481,381,426,539,713,711,785,518,387,478,405,339,409,448,408,830,748,430,401,426,368,280,350,350,277,307,312,312,412,510,510,408,418,350,302,341,346,292,229,236,307,327,422,794,868,679,498,461,494,523,457,324,345,370,364,305,297,436,872,810,954,1282,1328,1040,639,1522,1996,727,1058,1444,847,1364,1664,1500,2160,1616,1013,752,435,445,548,713,822,870,1070,681,607,670,585,441,497,630,572,458,437,529,634,754,1004,1044,1052,1252,1422,1038,835,1106,1046,900,1048,1262,1334,1312,1082,967,952,991,578,412,374,311,278,290,349,454,471,398,529,562,835,957,667,610,1280,1546,1050,589,715,755,820,603,632,1264,1350,1206,1250,1011,523,345,479,497,551,901,1100,846,602,583,753,1023,1372,1484,1792,1238,590,476,425,384,364,354,258,316,312,254,268,341,295,295,335,397,492,514,721,1172,1072,839,824,759,993,926,650,857,894,726,612,677,802,908,1296,1404,1360,1206,1016,733,847,788,635,647,750,623,635,623,580,561,495,528,397,357,384,393,386,351,351,358,335,290,269,322,374,339,303,262,253,293,317,288,291,324,328,357,340,295,284,289,276,307,302,277,293,351,327,295,340,267,276,303,502,700,689,433,418,441,466,439,761,923,485,551,523,431,379,392,406,386,454,675,644,415,403,607,830,620,502,440,405,397,348,347,350,339,352,381,957,1454,927,727,724,496,480,642,585,541,505,706,1015,1021,604,361,353,379,384,503,552,697,568,742,805,645,409,439,771,775,676,681,658,556,436,433,410,424,514],[333,307,310,323,302,272,272,277,298,345,351,411,807,1234,955,792,907,1116,1132,849,651,711,1028,1358,1484,1318,827,566,418,719,685,469,485,477,312,211,257,261,306,354,279,292,437,304,326,251,215,219,250,217,246,284,283,306,336,274,320,480,638,1220,1652,985,955,739,509,450,437,570,708,786,813,1058,720,761,663,568,842,634,639,906,1204,1042,782,605,512,509,726,823,642,583,989,1326,948,738,1094,1770,1716,849,566,371,321,357,404,440,572,812,869,908,907,1210,1356,1434,1510,1584,1400,694,368,254,300,357,401,351,313,407,548,672,627,542,569,488,389,349,310,284,308,349,385,394,378,358,350,336,365,348,256,287,320,337,341,333,334,364,362,340,324,306,287,265,308,657,590,634,1110,1348,1036,618,656,919,1040,991,1017,1011,600,393,434,419,456,571,770,508,519,1000,1108,920,711,601,774,998,1106,1342,1366,725,699,1182,1218,1180,1286,1108,793,764,749,997,858,691,1444,1308,637,808,1202,1230,742,402,430,411,382,360,325,272,402,348,325,359,377,335,631,1206,1032,1254,765,705,804,460,351,341,378,406,355,446,556,684,845,608,525,464,327,390,447,518,751,868,711,685,874,546,634,938,1024,602,785,1090,937,1190,1340,940,566,477,478,557,517,393,373,386,449,617,831,709,606,891,1396,895,853,1114,1016,562,460,664,1438,1318,753,869,1040,930,611,411,525,1014,1268,1182,1316,1102,754,948,794,1796,1932,885,423,519,470,370,420,522,832,1204,1064,551,672,915,1058,1002,960,1018,691,428,794,1288,1050,818,1118,1078,1104,1218,1218,1142,664,417,559,609,586,772,979,984,913,921,976,781,604,677,639,470,424,426,484,527,500,489,513,435,393,347,312,267,282,319,316,323,417,536,918,1332,1030,901,1342,1318,1456,1238,919,1344,1286,818,1166,1410,1478,1362,1274,1184,1142,1021,838,1106,1422,1388,1344,1064,1056,1148,1322,1188,1466,1306,716,717,912,1176,1186,810,467,312,375,474,631,895,1062,940,904,861,542,412,353,298,331,469,742,856,456,350,362,376,361,345,345,366,390,406,415,419,396,455,659,735,719,738,744,735,691,469,348,337,282,280,346,371,337,299,278,267,456,464,246,157,182,220,207,239,240,305,315,281,357,412,454,412,396,377,317,298,315,363,412,388,377,351,342,356,432,435,314,310,278,422,512,425,383,404,411,493,436,418,437,519,422,389,370,322,255,244,276,613,943,868,794,667,637,573,747,1044,1190,929,698,962,935,725,803,1038,1234,896,798,786,651,587,486,403,441,653,847,693,547,720,1144,1472,1632,1282,1158,805,509,592,841,719,469,702,1240,1164,788,1024,1080,1034,559,543,785,892,951,798,710,922,942,894,1050,1530,1610,1390,1588,1090,836,834,916,1178,1312,1290,1296,1280,1436,1484,1414,1500,1336,872,794,1048,1238,1176,1136,943,875,1058,1248,1420,1150,672,346,344,342,319,348,351,410,375,249,192,211,244,271,309,331,382,445,420,406,390,412,413,503,724,766,647,680,698,670,604,607,673,633,936,1096,1136,725,521,504,551,444,453,700,1040,745,422,378,345,881,1108,739,907,1204,1494,1378,1102,1138,849,445,489,774,610,389,391,421,521,602,489,401,421,848,1250,1014,540,454,791,1016,949,653,730,994,1166,1196,1088,998,1354,955,595,388,413,424,447,844,850,502,457,914,1296,1116,723,1136,1428,1150,1086,1268,1400,1172,1024,1192,935,848,955,668,841,767,841,1456,1976,1168,869,1005,799,1168,1104,561,640,996,822,392,430,372,309,270,289,382,471,581,564,688,822,885,715,338,393,918,1202,1184,929,805,613,820,1126,1040,1040,1212,934,744,567,529,681,709,894,889,839,1048,899,807,1204,1478,1354,1368,1382,1266,1216,1136,1088,1044,784,845,1234,1300,1260,1388,1044,972,1064,890,897,1310,1050,784,1296,1532,926,432,457,484,451,639,904,1230,1130,865,742,907,1198,1278,1140,1136,1148,1022,790,792,921,616,357,412,421,485,457,466,629,529,392,402,345,360,446,338,391,439,418,415,468,670,683,647,794,603,497,498,305,259,345,274,413,818,1042,976,654,390,259,219,280,242,276,547,691,898,904,698,552,453,390,336,464,771,506,376,334,506,1024,613,304,314,350,362,334,332,453,358,280,322,427,491,391,298,303,271,343,283,347,303,293,255,321,674,958,1266,1200,1428,1190,1120,1066,921,780,750,1007,1534,1294,1034,1294,1552,1776,741,388,377,658,926,1088,999,894,960,1020,1042,1192,1228,967,1076,1438,1554,1616,1582,1604,1428,1206,1276,1144,1214,1386,1366,1140,1340,1554,1444,1258,1124,999,916,696,521,556,922,1404,1682,1222,658,413,446,612,575,789,880,1004,1240,1204,934,383,356,325,313,288,328,384,951,1021,868,683,432,320,289,340,444,1114,1326,1634,2154,1778,717,391,367,350,341,315,302,422,936,1174,978,714,579,863,1174,1264,1034,661,514,476,357,350,407,723,673,732,849,1208,1216,849,992,817,604,791,756,852,1030,1130,814,973,1068,967,1158,1294,1488,1168,736,891,1130,1500,1534,1394,1316,1260,1470,1172,1002,689,558,844,818,458,468,398,339,586,1288,1396,928,797,560,471,519,563,708,901,847,553,544,555,319,422,416,538,709,718,772,540,328,343,415,448,476,825,1162,527,372,443,751,739,532,474,460,357,201,222,328,460,495,403,346,335,393,435,451,465,411,398,552,569,458,437,455,454,422,368,447,566,548,478,433,414,432,428,427,402,385,396,419,457,422,406,385,352,351,348,338,344,498,634,438,357,327,349,555,783,517,556,595,502,455,509,552,816,917,893,997,880,833,846,1001,1002,1058,1076,1013,1026,1250,1126,748,520,579,531,436,460,495,508,452,573,1192,1394,933,1066,926,657,530,555,561,688,772,636,597,604,529,605,582,603,659,883,1096,947,613,684,687,457,348,680,904,805,461,541,906,1128,1678,1306,852,957,1140,873,551,1234,1860,1182,727,1158,1598,1438,1190,1302,1202,1062,1222,1396,1184,636,678,873,1094,1302,960,783,1230,1402,1324,1468,1716,1698,1322,1064,1042,1270,1694,1698,1394,1044,819,872,1138,1412,1164,946,846,954,1310,1700,1664,1784,1570,991,929,1010,1162,1378,1102,947,1260,1019,643,466,431,389,350,424,550,521,454,351,576,1040,1122,1550,1400,709,998,1556,1216,749,810,803,528,468,521,613,566,495,558,511,572,963,1344,1152,1694,2536,1856,1704,1522,1260,1280,1336,1288,1280,1318,1432,1574,1398,1326,1466,1424,1152,1166,1236,1728,1556,1400,1246,1148,1360,1548,1328,1278,1394,1250,1450,1692,1648,1610,1468,1128,975,817,778,818,642,713,664,826,1306,1334,1626,2136,1880,1198,1248,1320,698,331,289,551,1076,804,722,764,844,876,1038,1060,709,546,544,483,386,367,479,504,498,498,522,400,350,395,445,430,685,948,620,326,426,447,297,243,249,351,401,478,523,474,381,391,340,379,397,303,344,447,442,525,444,386,424,426,310,265,316,311,370,321,279,390,414,404,689,812,686,520,490,584,584,471,356,324,353,382,318,376,607,645,562,982,1246,1180,1082,868,1005,1078,653,408,335,376,873,1332,1500,1590,1300,1406,1238,933,684,741,1020,767,689,884,709,704,701,597,453,446,542,516,465,465,713,775,766,774,659,493,908,954,827,948,941,905,913,1280,1266,1154,1116,711,639,793,860,661,467,376,302,267,305,343,343,355,372,673,739,802,1015,934,1024,1308,1246,1052,933,1010,718,579,416,857,1168,1116,1142,1216,1008,551,293,339,397,475,551,625,650,785,832,650,927,1196,1262,1162,802,648,463,459,369,351,346,278,290,289,304,312,290,299,313,321,356,316,305,408,714,1198,1390,1354,1026,992,825,697,859,841,585,598,880,870,872,926,847,1174,1306,1202,962,895,937,724,668,857,575,564,604,583,550,651,599,294,253,322,355,330,296,251,276,306,281,265,307,343,310,331,326,294,282,299,297,261,267,343,335,343,314,302,285,290,322,287,230,259,342,364,287,298,233,275,300,373,735,650,377,373,391,401,428,652,835,521,554,453,391,435,443,392,379,448,757,827,513,466,481,529,530,490,421,379,404,342,350,362,335,335,419,970,1494,789,583,437,361,529,527,467,544,530,520,679,724,457,307,302,324,360,489,548,742,888,965,1023,992,681,560,612,671,693,692,707,516,430,417,507,782,996],[351,320,312,300,268,239,241,260,314,440,435,391,452,682,950,893,995,1110,1298,1118,672,719,1244,1448,1296,883,609,695,458,412,349,309,318,456,428,226,251,271,283,360,322,289,497,445,327,260,266,217,175,217,232,277,339,425,561,358,382,418,591,1036,1202,944,794,635,610,538,484,700,915,984,930,995,842,955,649,741,741,508,426,590,823,645,875,771,557,637,1170,866,745,931,1202,1116,809,889,1344,1720,1278,796,670,467,356,366,440,402,507,1036,1544,1022,498,575,733,1150,1180,1804,1714,1152,487,222,271,307,355,327,324,340,423,399,405,399,439,379,337,344,312,255,259,379,582,536,486,385,357,346,381,346,262,289,309,315,365,390,386,412,413,469,396,332,326,320,361,634,723,671,897,1306,1172,763,1046,978,995,954,1064,1206,865,562,440,474,576,723,678,693,1034,1468,1406,1410,1052,1094,1150,1276,1038,1554,1814,1126,1082,1570,1298,1238,1094,1066,780,613,630,1090,1006,780,1340,1288,863,764,1146,1210,928,607,379,427,444,380,279,312,393,398,372,392,480,481,669,1148,1001,1382,955,807,828,779,669,487,495,573,549,573,532,669,819,621,685,580,382,442,485,675,1002,1132,854,1004,999,540,567,747,866,843,1094,1132,839,1096,1204,852,493,440,502,534,549,644,818,938,823,711,723,785,641,1426,1870,814,703,673,724,857,684,641,629,469,755,983,997,862,494,437,661,926,1136,1184,930,717,479,880,1250,1666,1408,743,426,459,449,502,500,589,965,1382,1138,714,974,1432,1430,843,741,965,529,731,1306,1554,1098,685,776,729,731,758,751,793,559,432,564,839,1122,1154,1378,1258,1136,940,943,686,497,550,497,398,414,396,413,444,417,445,466,390,383,333,273,274,293,276,256,269,390,568,652,508,717,1032,1314,1060,1222,1338,997,956,817,727,822,1001,1378,1700,1716,1714,1482,1350,1350,1460,1382,1502,1432,1114,1218,1274,1224,1194,1280,894,574,810,1050,1380,1242,700,465,351,364,616,837,835,1238,934,836,825,643,436,295,322,459,459,573,571,420,418,395,391,373,303,284,341,381,408,412,404,440,469,539,569,600,647,681,725,644,433,370,364,325,313,348,354,377,332,270,298,368,385,233,185,233,228,204,230,224,218,214,229,310,374,429,391,409,421,368,367,375,347,415,408,431,378,443,526,558,393,305,304,365,543,575,447,549,625,509,501,415,389,415,431,365,356,356,391,339,277,344,396,574,698,841,618,511,511,599,925,1292,1260,879,984,1246,1192,1160,1754,1444,715,509,469,621,951,673,407,403,406,480,551,543,753,1176,1324,1354,1030,843,694,620,620,615,524,474,709,844,843,720,697,487,437,429,333,437,557,802,855,1050,1184,1026,975,1414,1654,1470,1294,1732,1330,872,688,757,1062,967,1060,1530,1562,1394,1258,1258,1438,1280,955,965,1132,1170,1182,1224,1030,797,927,1162,1218,1330,1100,456,345,315,240,224,168,168,190,205,255,296,332,371,425,379,403,402,410,408,416,456,495,475,463,599,625,487,525,451,384,427,598,594,685,658,483,373,370,441,441,645,932,973,825,523,427,395,411,1166,1494,1062,667,809,1318,971,956,585,474,455,550,681,457,362,397,407,473,550,591,480,459,908,1198,894,441,516,929,1346,1128,896,1032,881,841,1716,1176,889,927,782,688,543,542,591,768,1108,1042,759,490,819,1096,1160,1001,1060,897,910,1076,1290,1118,1009,1024,826,833,979,938,977,1106,868,997,1190,821,486,706,725,578,847,1152,725,828,1120,1182,778,700,654,424,298,320,364,401,516,722,926,834,860,699,380,466,698,1054,1076,1114,1092,824,733,664,581,946,716,915,1036,980,1002,1130,999,1016,1001,965,1090,1024,1000,1310,1700,1456,1138,972,775,629,662,1156,1516,1100,604,963,1374,1556,1462,1254,1003,1270,995,1322,1262,991,880,1056,1034,819,598,469,664,933,1015,951,799,627,660,700,656,709,936,1094,1130,1086,1206,1152,1006,911,539,497,473,832,1266,1036,733,793,648,518,460,384,384,537,447,424,460,468,515,623,853,854,857,996,522,431,577,353,324,302,329,830,1290,1404,1172,854,985,579,309,354,306,724,907,967,1096,1076,857,791,573,434,295,516,1270,984,463,352,408,672,547,354,306,314,322,349,511,773,369,248,284,288,334,321,275,262,274,261,269,257,257,270,358,732,953,1284,1322,1264,1080,793,930,997,820,657,659,1064,1658,1152,1000,1174,1446,948,439,368,400,426,522,622,669,725,1072,1766,1444,1410,1358,807,780,889,1064,1328,1504,1598,1610,1656,1458,1270,1400,1138,1104,1046,1108,1742,1632,1338,1168,1028,846,697,550,455,625,1424,1730,1256,589,397,432,469,542,774,876,841,991,915,808,344,294,328,334,344,420,618,1048,971,624,634,456,367,304,290,338,772,927,1013,1272,938,457,335,276,287,368,415,443,804,1136,1178,849,536,452,599,1138,1208,697,647,1086,765,466,391,350,542,702,835,766,1102,1338,937,668,733,847,785,677,626,738,766,583,755,945,975,1196,1310,1520,1210,760,1066,1188,1494,1556,1416,1234,1294,1024,563,449,829,878,677,800,614,346,323,331,431,908,1126,714,430,311,398,541,480,546,611,560,521,489,449,395,565,498,667,601,484,418,268,212,261,331,346,379,664,987,542,335,391,498,539,584,589,558,524,245,246,387,494,497,434,358,348,503,635,599,477,398,396,603,605,590,440,374,393,373,343,478,577,541,522,444,367,405,411,417,397,379,389,429,420,424,434,386,399,410,362,362,383,444,487,433,356,329,325,415,494,399,389,520,505,444,643,457,481,675,1144,1258,1086,844,782,1050,1208,1154,1170,1098,956,1448,1242,778,582,558,520,550,541,542,574,610,783,1166,1732,1808,1340,817,454,362,593,875,810,550,444,558,544,432,520,491,692,1110,1276,1326,1076,612,624,802,538,422,505,492,462,283,544,828,1178,1346,865,886,1190,1264,1052,1152,1644,1770,1044,984,1144,997,915,924,1148,1272,1382,1390,1154,713,605,586,674,1222,1406,1090,1106,1508,1624,1510,1628,1342,1100,1164,1010,515,628,1138,1384,1254,968,638,683,913,1262,1324,920,854,1188,1504,1518,1930,2062,1350,1096,1100,938,1046,1650,1268,1474,1628,725,440,460,427,462,462,562,498,370,391,382,368,724,1042,1420,1218,822,816,1068,756,501,378,351,466,565,555,624,605,583,678,574,631,1050,1324,1124,3084,4444,3282,2064,1676,1306,1088,1276,1308,1370,1258,855,867,828,1228,1324,1186,1058,822,1096,1622,1592,1314,1160,1220,1368,1636,1518,1504,916,892,1130,1226,1458,1586,1508,1596,1560,1334,1300,1248,1142,1290,1278,1400,1506,1490,1942,2322,1684,1306,1490,1026,480,321,356,459,642,790,1112,910,915,1050,1342,1362,974,531,652,524,350,495,1001,833,598,569,440,347,359,385,523,631,607,605,411,383,731,624,367,282,338,348,310,504,783,775,503,405,413,444,383,362,562,716,728,608,392,380,399,335,258,327,337,339,377,346,361,371,387,365,345,373,431,421,424,493,490,519,564,451,291,335,361,354,348,369,476,685,774,823,844,786,592,637,601,428,451,527,693,1032,1310,1188,1300,1288,1100,928,891,958,1320,1054,781,894,1146,1028,698,531,458,456,503,506,439,435,839,680,930,1166,905,630,609,630,510,507,766,896,1292,1368,983,905,1062,1092,759,476,693,770,585,369,288,305,364,383,376,415,745,1206,1082,891,893,1098,1250,1172,993,971,1378,1023,480,356,392,549,857,1040,1058,1048,751,473,383,313,282,262,320,354,627,971,906,949,1154,1226,1104,913,870,1142,931,493,262,281,275,280,284,294,289,291,357,327,278,318,379,313,326,417,796,1230,1648,1444,1002,841,758,882,1001,920,796,803,1096,896,756,786,1100,1208,1146,930,669,822,1238,920,673,663,549,677,733,633,448,583,544,265,313,357,319,262,291,279,274,270,274,308,317,288,311,367,339,340,325,307,278,240,278,330,266,286,289,267,287,322,336,302,259,297,328,346,272,288,271,287,306,266,437,550,513,364,384,435,382,581,755,663,545,382,302,385,445,584,703,607,540,626,636,507,430,475,552,485,428,415,392,394,403,308,301,319,395,1013,1406,792,661,498,328,471,530,500,487,494,502,496,511,476,373,335,382,433,667,878,828,1152,1334,992,682,661,694,654,655,664,612,544,433,387,415,555,849,1074],[383,362,333,312,312,317,326,324,314,436,460,402,413,567,995,966,869,1011,1048,913,803,858,1146,887,621,475,571,666,480,388,336,307,315,426,520,367,288,284,292,394,412,269,321,459,325,269,441,394,237,273,228,273,451,602,574,398,355,337,538,864,891,919,1152,821,558,557,587,684,716,610,709,843,950,784,533,612,495,488,440,713,844,631,752,932,849,807,1050,791,494,661,972,1290,1344,1324,1216,1348,1042,915,800,616,441,466,542,470,569,825,963,497,370,392,521,706,661,861,621,531,381,221,223,243,303,304,346,359,414,405,545,482,405,350,343,368,317,300,329,541,819,799,762,572,451,442,411,346,322,337,330,354,421,463,367,345,351,488,495,364,321,352,412,578,714,716,755,1092,1380,921,971,1336,1294,1003,1264,1252,954,605,388,532,741,653,666,1042,1580,1868,1672,1446,1404,1536,1570,1554,1466,1764,1910,1486,1336,1438,1390,1608,1456,1362,1306,1504,1522,1438,1204,1212,1324,1274,1412,1202,1310,1460,1344,1206,1108,1098,879,771,591,440,466,473,460,528,589,578,672,824,694,1005,1160,1112,1076,976,648,526,519,562,708,1024,905,968,709,495,549,489,470,583,676,785,1038,1242,1156,1150,534,416,602,637,971,1208,1334,1300,1204,1094,831,725,378,418,484,423,505,886,1150,1194,1306,1146,941,1274,1592,1360,960,704,630,853,1000,948,670,615,807,649,611,933,1094,717,548,623,567,830,1140,987,614,487,378,561,1005,1180,831,413,333,479,576,633,502,491,1096,1224,1128,1216,1384,1378,1122,1140,1142,944,606,1274,1332,1166,1444,1072,803,860,1140,1244,1066,931,655,502,614,1094,1516,1522,1626,1626,1538,1174,871,568,491,555,537,407,420,415,438,463,453,524,488,395,338,314,316,291,318,395,358,316,445,912,749,952,1344,1284,1158,906,849,890,725,970,1040,830,595,699,1248,1520,1896,1882,1648,1530,1488,1582,1616,1488,1294,1128,996,1122,1406,1744,1704,1064,785,897,1017,1544,1656,851,565,369,421,647,612,557,752,687,574,619,804,677,366,483,616,472,618,573,439,458,450,412,382,368,397,410,406,399,391,397,460,414,354,373,391,441,496,573,506,393,372,372,377,364,360,356,360,349,333,348,316,199,160,185,217,202,187,213,231,234,262,302,357,372,332,298,363,419,405,400,363,300,353,396,466,386,410,503,519,434,386,316,373,528,426,404,686,841,740,575,449,443,551,474,334,341,387,447,311,271,467,529,516,585,612,609,579,509,647,1146,1780,1688,1068,658,854,800,814,1192,883,672,579,528,645,757,621,445,383,328,325,401,393,762,875,816,811,715,562,720,644,269,382,432,699,855,703,843,670,510,411,427,450,416,379,757,1370,1378,1514,1306,1456,1482,1686,1530,1112,1228,1268,1064,1078,975,888,944,611,865,1332,1578,1408,1370,1310,1320,1378,1230,1142,1232,1196,1240,1418,1182,798,869,1284,1202,1616,1416,615,239,189,201,218,268,381,400,313,319,323,316,328,435,505,477,437,390,408,464,466,501,521,408,439,430,424,388,363,349,398,470,519,608,547,561,465,415,445,655,1242,1316,1122,615,442,463,403,599,1228,1402,1068,516,430,638,703,805,511,392,483,696,529,355,348,358,390,419,613,978,590,471,1250,1484,866,415,481,758,933,877,1019,1120,984,1212,2200,1134,939,1006,1046,1108,791,573,767,1294,1550,1130,949,552,733,1166,1408,1388,1164,904,950,1026,1146,1130,1074,1110,943,963,998,1078,1292,1228,910,937,1056,848,563,501,398,440,663,1218,1152,819,998,1252,1290,895,542,327,246,288,287,307,519,869,1114,976,653,537,691,987,736,541,1048,1538,1336,1094,693,426,466,788,483,446,438,737,836,1104,1208,1090,928,955,1112,956,780,1019,1582,1130,1023,812,653,680,811,1296,1636,1380,1202,1204,1460,1758,1518,1506,1402,1424,1440,1578,1440,1060,865,852,1304,1354,1210,1176,1326,1188,889,799,823,908,999,978,839,779,766,852,962,1172,1160,1258,1268,1190,851,590,619,1074,1448,1486,1124,1312,1258,1086,661,464,405,442,457,444,464,489,518,863,1224,980,808,776,579,721,774,492,321,313,513,794,1062,1426,1172,1026,1034,597,371,369,295,631,1024,1082,998,886,1036,1172,970,523,360,478,1028,1092,670,408,397,395,365,379,327,284,267,286,483,678,329,237,239,251,307,320,269,262,264,218,256,222,252,335,607,841,959,1250,1058,945,686,377,500,915,1128,874,858,892,1052,971,1038,1096,1130,949,530,403,443,379,389,371,343,477,780,1444,997,1154,1046,788,874,969,1002,1058,1256,1190,1470,1604,1592,1442,1646,1572,1472,1294,1252,1338,1244,1166,1068,1036,970,1162,942,447,526,1608,1928,1328,664,514,453,458,478,722,661,413,462,397,315,319,440,597,595,550,877,1002,824,963,870,925,751,404,287,280,276,396,428,411,553,510,416,349,340,341,438,501,518,761,1186,1168,572,381,399,437,785,1046,944,803,948,1001,627,520,601,471,643,862,908,1124,1072,651,769,798,730,894,734,580,732,890,622,662,1036,1322,1438,1300,1244,1023,996,1356,1302,1260,1322,1228,1246,1344,1216,797,594,1078,885,786,836,655,420,363,372,342,608,1046,898,529,399,321,448,502,518,495,482,524,453,368,380,635,849,676,395,471,398,259,218,243,271,254,292,398,401,294,325,372,437,501,596,672,714,507,248,251,340,459,451,424,337,351,558,702,605,396,357,362,584,553,583,418,320,415,456,460,560,620,619,565,458,411,364,336,383,386,353,382,417,447,437,344,357,443,494,505,570,489,468,522,487,411,371,342,400,447,490,496,507,507,415,525,439,502,1038,1438,1204,1084,1232,1144,1086,1108,983,950,1118,1218,1676,1340,722,590,547,493,443,496,584,586,733,849,1028,1410,1438,963,484,336,460,689,927,972,818,1058,878,582,401,405,526,1023,1042,1214,1392,1130,673,443,447,398,393,277,260,306,304,300,253,554,748,938,1278,1438,1228,1068,1368,1466,1036,835,1112,1242,1270,1310,1208,1312,1444,1458,1388,1174,716,670,700,970,1616,1720,1526,1324,1384,1568,1700,1502,1048,836,922,935,619,573,827,1134,1302,1116,878,1178,1208,917,981,1208,988,1090,1188,1534,1810,1520,1054,923,1196,1168,1484,1694,1252,1442,1262,562,383,422,635,845,618,619,592,418,360,418,421,373,498,735,844,1090,692,461,375,442,429,427,372,396,373,305,316,738,1292,646,741,1232,1316,1156,1328,2264,2238,1426,1140,678,622,1021,1110,1024,810,375,357,615,933,851,1014,1120,981,1024,1320,1446,1274,931,996,1120,1434,1636,1532,819,683,726,1050,1576,1570,1334,1015,1042,1224,1578,1710,1614,1588,1660,1278,932,938,1390,1622,1370,1528,1412,1174,1050,778,576,475,427,797,978,789,714,1052,1326,1028,769,543,528,402,406,893,1428,1136,1050,847,440,361,350,347,662,886,735,529,523,490,731,639,587,516,335,319,590,899,742,681,562,430,356,346,560,941,987,921,1116,897,395,306,304,309,285,306,341,339,327,360,392,342,356,386,371,419,390,344,378,479,484,530,647,597,379,312,344,306,292,351,392,420,386,366,392,437,427,550,748,672,478,810,953,1028,1172,1224,1150,1300,1130,1020,1030,1118,1592,1346,792,880,1322,1334,1078,717,440,367,356,411,387,522,786,617,808,879,692,543,480,680,689,526,781,1042,1130,952,738,805,943,883,655,536,682,647,512,313,282,327,372,397,411,506,727,757,854,1102,1134,1128,1120,1218,856,673,822,618,373,386,432,525,948,1002,913,806,690,464,391,280,269,272,321,354,427,430,738,1060,952,1010,1080,966,815,875,768,421,274,351,365,298,266,321,385,434,457,334,333,268,285,464,681,865,1013,934,941,1116,1252,908,572,858,975,991,637,992,1011,631,540,954,1288,1232,1302,1194,909,846,1086,996,663,547,486,498,592,577,463,724,901,516,375,385,362,332,331,312,308,282,275,297,299,279,296,347,333,321,315,321,305,309,330,305,245,247,271,283,308,332,315,306,262,274,355,305,298,290,225,264,301,316,318,372,522,435,381,415,364,489,511,554,605,498,457,430,658,1086,1050,885,724,697,641,502,416,479,565,556,462,440,454,465,434,383,361,394,412,1032,1200,679,555,483,398,419,533,516,450,489,544,552,560,484,415,367,658,923,943,837,846,1284,1384,979,749,681,658,683,647,583,562,595,586,516,379,462,472,490],[399,355,383,361,389,476,517,522,473,586,571,490,469,563,738,828,1014,1130,968,731,731,833,924,650,443,475,470,469,496,481,440,379,414,452,556,460,280,271,331,410,372,235,229,300,249,209,386,462,340,313,344,392,774,883,731,619,486,425,557,772,620,793,1038,705,485,520,536,541,647,612,615,1058,1328,849,809,1142,706,517,463,533,833,825,604,585,764,908,783,552,516,634,716,761,1288,1456,957,857,793,986,1064,990,916,932,902,893,952,611,445,387,375,409,485,620,599,444,352,387,300,248,232,218,253,282,323,328,332,371,534,526,416,388,397,368,413,480,417,571,682,533,614,600,529,477,393,367,396,492,345,329,400,440,400,310,323,400,447,372,350,429,448,448,594,875,772,804,1366,1242,803,1214,1236,1170,1212,1050,1118,1023,827,826,879,614,692,1410,1634,1438,1088,870,1216,1532,1208,919,1260,1512,1346,1048,1030,1058,966,1202,1336,1304,1378,1420,1274,1252,1300,1154,1018,1110,1310,1126,1224,1262,1238,1116,919,1218,1628,1544,1370,1360,1094,855,847,730,644,761,1100,984,753,1001,1212,1086,1048,988,773,960,733,761,1268,1842,1462,1044,559,332,391,411,574,743,797,862,873,660,681,670,508,619,696,579,962,1258,1048,1118,1230,986,763,649,378,332,451,473,449,640,767,1012,1286,1228,1210,1260,1572,1294,1040,634,550,982,1026,792,631,586,640,570,675,810,711,444,502,605,589,811,1042,1114,765,384,343,333,473,594,456,376,307,530,830,1038,819,488,849,1086,1282,1410,1330,1010,918,1324,1302,1128,949,1288,889,1114,1530,1054,827,848,1007,1202,1072,1050,929,660,683,1304,1204,1048,1200,1376,1394,1232,821,642,641,604,557,430,434,458,506,529,559,597,548,489,413,373,396,369,356,360,328,370,433,850,797,1404,1782,1456,1284,763,759,803,793,774,753,1026,822,746,965,1496,1920,1576,1384,1550,1644,1582,1460,1416,1218,1124,1262,1292,1444,1734,1844,1374,1108,1072,1086,1626,1220,642,532,502,948,932,752,633,462,495,546,495,608,626,424,418,536,446,480,431,379,412,411,375,392,470,522,526,565,479,462,483,504,483,444,398,372,369,364,377,381,374,382,383,384,374,366,375,368,361,348,334,265,191,192,214,246,232,210,208,209,207,283,374,424,440,369,347,432,404,305,408,365,346,355,433,410,345,334,490,621,512,461,362,382,434,302,351,569,709,623,508,562,648,619,449,324,343,368,480,774,464,622,895,747,710,967,1162,959,738,713,1118,1450,1198,876,444,526,896,937,982,1094,1142,813,565,725,839,462,419,403,331,306,393,506,606,599,518,366,357,518,985,1070,373,336,790,1234,879,460,630,709,554,433,460,482,475,513,1078,1534,1152,1344,1350,1530,1654,1708,1094,667,774,827,835,1118,1384,1040,1202,713,713,1144,1452,1428,1326,1172,1352,1444,1356,1290,1144,811,852,1044,1012,896,1028,1286,927,984,1140,858,463,311,335,346,389,568,593,352,306,339,468,836,1086,846,526,460,362,391,426,425,458,505,433,389,408,437,465,411,329,358,354,449,598,495,554,567,477,460,1324,1648,1136,737,476,502,463,480,979,1676,1272,841,567,772,963,714,650,700,557,700,672,375,350,355,376,348,381,841,1148,722,445,776,858,594,431,361,370,369,500,736,759,675,773,912,656,834,888,931,1130,871,385,598,1228,1192,684,501,404,470,662,894,1296,1250,1040,987,864,995,1164,893,749,652,552,806,1140,1432,1360,941,792,915,990,787,834,543,500,778,1112,1388,1098,955,1332,1328,704,428,328,321,372,684,745,730,808,827,667,476,625,1088,1034,537,511,1021,1182,722,697,517,391,377,502,797,598,373,508,567,628,825,971,1096,1242,1250,1036,1100,1272,1476,1276,1220,1162,1122,1180,1166,1154,1334,1404,1196,984,1016,1128,1186,1250,1202,1144,1260,1334,1316,1202,1120,1000,1344,1582,1520,1007,876,974,922,942,1060,1144,1150,1090,922,873,921,987,987,957,828,968,1150,1156,897,625,661,1034,1011,886,1078,1376,1528,1350,1048,797,518,428,494,483,452,449,653,1176,1394,1390,1154,776,763,1206,1162,788,475,440,781,1170,976,868,1040,1088,777,452,331,295,300,342,456,553,518,1009,1550,999,881,464,346,382,711,836,621,370,431,448,379,422,373,337,316,298,303,310,278,287,303,329,331,314,291,243,249,255,252,252,232,391,573,459,664,969,930,1002,986,675,743,1120,925,947,1024,758,845,1134,1256,1082,1218,1102,465,349,339,297,343,371,376,359,474,942,1090,1156,965,1001,1186,1278,1114,1078,1408,1438,1330,1334,1322,1454,1570,1582,1542,1346,1424,1504,1244,1172,886,897,1134,1852,1358,625,567,974,1626,1644,872,586,536,713,698,704,656,447,513,475,388,437,761,1164,1021,935,1370,1318,904,675,583,594,593,375,329,304,316,406,347,370,460,392,377,361,378,392,545,702,516,620,780,614,373,339,505,683,980,1528,1366,905,853,828,506,576,744,665,587,685,979,959,932,752,907,692,733,912,669,648,1062,1356,954,639,1026,1504,1290,1104,996,1216,1108,1236,1044,887,1148,1222,1312,1548,1494,759,602,971,1284,1142,745,402,316,340,365,316,479,938,969,489,535,441,484,445,488,521,523,519,383,298,323,627,990,739,310,378,367,238,259,308,294,263,315,427,384,311,325,390,425,455,466,532,679,443,264,248,374,486,455,412,315,338,425,513,529,367,310,332,579,599,490,373,338,405,445,447,461,562,612,518,407,371,345,301,336,350,333,331,355,419,417,379,390,443,505,514,511,501,533,564,505,477,411,321,329,436,684,659,520,565,548,516,500,667,968,1044,978,1292,1488,1396,1234,1021,849,784,1018,1286,1618,1334,767,605,577,543,536,460,554,620,1092,1126,1005,1023,1023,712,454,414,661,886,888,749,865,1068,876,694,540,589,717,713,595,946,1354,1013,592,317,243,282,314,261,246,276,310,305,325,387,593,1062,1344,1246,1266,1672,1568,1374,1218,1252,1374,1534,1802,1814,1854,1500,1402,1220,1032,907,868,885,846,1122,1572,1638,1608,1598,1672,1758,1586,1294,968,1058,1076,880,742,952,1282,1288,1210,1238,1386,1430,1130,611,625,731,769,920,963,1570,1426,1104,1160,926,819,1015,1300,935,595,656,475,370,462,541,1090,1038,556,466,383,340,418,437,517,507,357,274,391,622,542,402,350,381,465,444,379,343,346,384,533,1296,1364,1072,1036,1404,1452,1266,1266,1410,953,699,602,422,411,598,614,474,427,365,332,379,445,766,1138,1294,1258,1172,1314,1334,1166,575,424,778,886,1158,1224,929,930,987,1058,1224,1306,1108,929,687,540,1164,1394,1556,1710,1698,1532,1176,786,828,1050,1406,1390,1022,1220,1290,1282,1156,978,781,609,672,843,912,1130,1190,798,478,483,401,542,805,1256,1280,1148,1062,520,278,315,357,434,803,998,750,630,1005,865,608,418,611,691,388,363,658,772,755,755,517,352,381,486,720,931,786,692,860,760,328,218,236,286,278,293,391,345,320,359,349,302,311,356,374,374,344,301,367,542,458,446,526,438,317,311,266,277,280,320,355,357,372,311,343,378,421,419,962,938,496,979,1110,1180,1124,1388,1236,1378,1392,1322,1150,1024,836,774,718,933,1220,1372,1458,714,365,346,325,325,308,385,450,568,857,772,433,329,391,809,891,494,668,1102,1021,1026,1138,1058,865,756,677,651,586,539,386,282,270,271,301,335,485,714,866,614,736,1034,1344,948,717,721,759,647,676,933,641,369,488,589,871,770,759,652,426,395,365,343,334,325,336,354,461,517,445,645,843,891,880,644,546,518,569,462,365,399,397,290,228,288,452,544,536,383,488,549,497,756,1084,979,758,868,1064,937,1012,895,819,758,692,575,536,767,910,885,626,732,942,870,963,979,905,983,962,861,661,574,532,615,828,775,727,1120,1204,1012,684,522,415,395,303,230,254,259,262,296,307,307,301,284,260,268,298,274,288,335,341,287,242,318,333,276,336,309,280,285,297,303,324,313,334,316,284,291,278,260,258,267,352,425,383,416,427,432,427,476,490,529,572,656,1048,1026,774,865,654,794,742,493,568,681,681,727,576,502,466,461,409,428,433,486,507,1038,1098,561,415,536,505,474,505,526,705,758,626,479,449,445,453,487,872,1001,753,878,848,1080,1338,1126,721,630,623,625,628,542,635,1003,1460,1124,466,413,340,307],[376,386,510,396,353,533,730,736,604,511,552,592,518,545,694,1050,1206,1092,1023,799,738,772,1070,841,391,361,412,488,540,542,566,482,441,524,625,436,288,311,317,336,292,227,310,454,354,257,278,282,358,437,450,512,1070,1442,1032,449,437,406,423,636,545,592,407,337,412,422,416,413,680,799,657,939,1122,1124,1438,1348,823,1036,724,503,1030,1078,728,506,695,911,741,513,558,781,1090,950,1532,1318,676,568,651,861,1190,1140,1132,1498,1332,1380,1172,620,476,437,389,388,364,399,469,526,451,324,272,255,253,256,269,275,296,310,330,344,410,454,365,393,409,380,405,407,363,424,521,421,447,522,538,476,343,321,314,435,389,389,381,371,341,372,402,421,482,450,461,507,533,427,477,693,744,855,1166,1360,897,826,1324,1206,912,1188,1566,1310,1068,893,642,541,965,1454,1512,1394,1258,1228,1714,1944,1094,946,1338,998,668,498,525,828,620,701,924,1126,1162,849,756,600,541,653,548,624,1304,1005,1310,1572,1250,752,509,663,577,808,1316,1460,1164,1448,1384,1330,1516,1614,1730,1536,1166,993,1176,1140,1296,1274,1166,1496,965,762,1140,1840,1574,883,449,380,404,419,484,492,493,777,656,405,473,473,457,828,1284,1138,990,1300,1356,1180,1134,888,722,707,522,708,1088,756,365,446,543,778,758,900,894,1038,1324,1404,1216,881,869,985,799,822,716,524,738,1044,1178,1456,1184,612,506,605,533,424,643,1034,944,365,315,426,521,421,375,353,345,382,882,1310,1036,901,1256,1504,1306,870,799,842,1030,1440,1360,1148,776,707,581,877,873,543,761,724,420,662,841,797,682,568,708,1418,1322,990,1138,1090,1386,1472,901,575,490,448,436,414,419,415,464,473,473,519,551,581,492,421,457,417,385,301,317,366,652,959,872,1007,963,899,980,1072,1282,1310,1058,946,984,1160,909,778,677,777,1352,1504,1222,1036,1592,1746,1618,1484,1410,1294,1376,1608,1600,1534,1504,1218,1132,1106,997,1434,1268,973,807,796,841,628,455,430,508,600,722,656,593,547,573,540,500,399,353,363,375,388,363,365,399,404,455,438,452,449,463,516,504,453,414,372,370,368,339,340,357,370,386,392,382,368,376,383,373,357,346,357,265,186,205,229,240,209,188,217,245,210,265,390,491,502,380,381,530,416,298,358,351,351,315,338,338,404,454,512,566,519,516,372,336,291,322,465,583,607,532,506,567,665,578,431,310,317,337,454,848,506,558,859,1026,976,1146,1516,1388,1276,1152,815,918,681,514,416,477,991,1160,895,755,735,539,425,528,581,408,386,343,414,697,929,814,683,878,862,583,424,528,1010,1288,584,555,921,1015,764,426,355,516,557,423,462,474,464,855,1334,1072,852,967,1164,1548,1716,1278,1044,854,483,522,674,1078,1372,1044,1194,1326,1330,1254,1300,1436,1264,1202,1110,869,1148,1482,1174,569,502,774,1076,1482,1826,1744,1316,1072,1104,1066,763,382,354,357,343,492,603,382,368,519,885,1388,1574,1300,647,378,368,394,432,401,429,450,442,424,437,461,464,435,404,370,338,405,489,494,446,732,843,675,1164,1186,832,773,749,672,560,552,1156,1280,882,855,836,772,755,495,428,587,818,946,539,370,353,379,412,346,475,819,1050,784,443,439,329,358,525,447,427,412,410,502,718,941,691,455,391,359,355,510,695,552,379,606,865,857,730,501,441,513,443,410,661,811,894,848,742,1058,1054,896,750,919,713,645,891,1116,1124,1170,1326,926,824,1120,1110,778,550,962,1078,1256,1390,1152,1086,860,480,424,369,478,857,1134,1002,866,631,446,376,533,952,1072,579,319,390,580,597,443,459,419,341,297,298,415,389,512,932,933,822,723,455,604,583,874,938,1206,1384,1372,1098,780,755,638,517,442,509,951,1370,944,475,367,448,506,615,596,657,728,734,1028,966,886,883,1072,1172,1338,1190,1082,1160,1206,1190,1214,1274,1236,1194,1070,1078,1098,1082,1072,1015,909,766,806,733,552,450,474,685,993,1104,1328,1378,1274,977,1152,1274,869,664,709,672,516,437,661,995,1148,1474,1284,964,1110,1228,1242,880,761,653,814,1152,1168,1408,1460,1174,652,353,280,243,265,339,617,838,908,1172,989,832,702,485,355,355,449,514,418,359,344,337,344,524,471,335,294,304,304,304,278,274,295,317,283,280,269,236,255,254,256,272,246,378,435,385,514,795,1106,1260,968,763,951,1148,954,1122,850,728,1098,1320,1182,1214,1536,953,410,385,373,332,305,328,430,472,436,753,1130,966,865,896,735,835,947,1170,1322,1438,1396,1122,889,1108,1454,1532,1602,1516,1440,1292,1372,1338,926,821,1520,2042,1420,854,678,799,1678,2052,1034,469,519,755,727,688,815,487,447,429,306,441,832,1052,992,1194,1338,1318,1012,861,710,512,392,365,367,284,271,292,320,341,358,437,415,416,590,709,1500,1304,615,1028,841,625,536,619,991,1216,1396,1610,1242,935,807,593,629,608,554,665,661,625,787,1172,994,838,1108,755,469,550,537,572,808,1021,844,835,958,1150,918,893,1070,1152,1060,950,1008,1312,1332,1118,1248,1186,1100,651,543,629,948,597,528,471,325,349,332,325,345,596,881,421,432,421,441,373,457,525,503,504,445,315,343,601,696,494,290,322,369,289,284,306,296,281,302,395,455,386,357,465,523,481,441,493,561,389,250,279,453,637,554,397,316,315,338,345,342,342,335,407,583,599,472,342,366,361,356,418,430,524,603,518,415,401,400,402,393,354,358,345,361,391,368,388,407,472,551,480,469,487,537,554,476,480,397,308,325,479,584,602,511,545,626,502,636,910,792,775,832,1094,1604,1456,1210,1062,983,922,940,1096,1520,1512,921,659,666,581,615,528,683,672,855,1038,688,644,706,356,300,392,666,1050,957,586,601,564,542,437,477,927,1158,804,533,550,640,488,374,303,291,253,264,242,230,248,282,336,378,400,630,1226,937,772,1320,1704,1418,900,885,1288,1614,1600,1272,1000,1340,1464,1358,1160,770,760,1116,1318,1482,1670,1306,1158,1550,1718,1772,1688,1344,1374,1186,1156,868,554,419,579,1048,1384,1322,1522,1472,1034,588,376,422,725,1112,711,649,835,735,1011,1448,1412,1368,1086,882,817,583,585,509,530,523,569,831,614,631,755,429,493,863,1050,1282,736,379,501,596,576,505,504,444,383,402,369,405,393,371,409,677,1356,1322,1160,1258,1428,1404,1190,692,854,808,704,507,337,331,383,521,537,414,318,338,422,633,1010,1258,1266,1282,1340,1300,1130,1172,858,625,649,856,1184,1218,1172,1058,1074,1226,929,867,765,1021,1030,881,1158,1426,1414,1362,1516,1472,1596,1628,1466,1392,1174,896,629,907,922,752,758,1066,1436,1424,1098,971,1208,1368,1490,1262,668,480,394,498,836,1026,962,990,739,293,282,347,421,532,612,811,630,639,940,944,697,424,418,365,341,454,800,745,1110,852,626,589,597,611,612,596,440,335,278,377,295,240,256,296,322,300,290,302,285,293,343,328,311,316,341,353,376,337,332,456,468,436,455,339,276,288,269,278,275,319,371,397,384,363,501,749,594,361,585,477,337,595,858,971,1334,1750,1332,1028,1148,992,686,548,667,816,596,543,466,542,839,710,666,406,282,299,307,397,580,798,954,810,603,521,536,843,875,733,892,1114,933,933,1234,1058,789,677,630,549,450,470,351,275,303,303,243,402,605,595,716,587,1104,1172,1114,1322,1088,776,1058,1142,1076,982,767,439,554,596,1034,1022,1048,792,409,295,367,440,403,376,432,464,493,414,450,1098,1382,1174,1058,913,811,902,846,460,327,357,318,243,256,282,397,579,751,487,462,465,412,659,801,707,656,769,922,623,490,562,953,979,608,555,833,1050,1274,1126,829,576,560,424,383,552,791,891,883,821,805,814,753,621,791,1028,929,797,786,1198,1286,998,729,519,309,209,238,234,241,303,314,326,336,273,248,271,278,290,313,307,331,292,303,392,338,267,336,295,307,309,295,276,276,297,311,314,321,336,314,285,286,321,368,389,445,613,638,511,426,389,445,483,446,664,689,590,554,608,656,873,749,633,935,1116,854,686,646,615,455,395,415,454,548,504,528,1048,1140,555,518,959,903,667,478,546,894,1050,739,452,481,502,566,719,878,694,987,1316,919,1001,974,677,550,651,658,683,807,933,858,830,904,644,487,310,278,297],[309,326,403,332,290,583,731,659,677,564,448,488,513,504,545,935,946,861,905,788,614,693,1154,1026,423,351,353,509,743,1064,1005,670,474,485,419,386,426,386,325,352,317,260,227,389,314,251,248,259,215,400,537,680,1188,1410,865,301,420,478,431,435,489,558,398,327,458,517,466,407,521,798,864,730,734,932,1086,879,606,923,709,576,801,992,736,498,706,1170,1017,492,514,573,905,1470,1484,966,695,780,1050,1234,1364,1148,1094,1336,1080,1202,992,606,490,369,362,388,364,352,387,503,529,453,333,286,240,218,209,229,282,312,327,348,378,426,407,398,422,432,468,463,409,397,430,395,427,533,500,381,330,257,221,261,346,347,320,317,318,349,363,445,480,462,467,464,465,368,346,307,596,998,1054,1182,1156,1082,1316,1009,965,1258,1554,1070,958,838,939,1200,1150,1062,1300,1436,1296,1130,1654,1530,878,890,1690,1306,689,427,913,976,531,586,1102,1586,1414,756,449,480,509,596,473,554,1062,953,1128,1320,1058,854,599,555,495,547,749,844,820,894,1118,1510,1668,1712,1736,1756,1368,876,1066,1214,1224,1140,1306,1074,824,804,845,993,1078,822,592,560,519,487,454,552,494,643,465,401,477,440,471,834,1130,1198,796,861,1058,1050,911,667,772,952,866,1134,1366,979,584,546,506,608,608,871,752,947,1164,1144,1192,1308,1252,876,633,898,819,595,828,1076,1150,1388,1250,744,694,891,943,863,838,767,969,404,382,496,445,344,370,385,392,448,762,838,923,1216,1154,968,955,740,483,528,1154,1564,1158,689,455,424,577,881,842,478,625,820,744,1188,1434,937,538,508,600,1142,1488,1278,1338,1224,1368,1288,837,593,543,486,425,452,467,412,439,479,455,517,579,572,539,542,589,421,429,441,383,424,666,933,1138,1158,749,818,1042,1302,1238,1056,857,859,1096,1398,1364,1128,647,572,1021,1268,1300,1272,1274,1588,1802,1656,1566,1458,1502,1616,1346,1252,1212,1396,1046,800,1066,1188,1628,1420,1028,1036,954,752,619,521,874,1009,576,486,461,422,442,367,381,404,379,386,403,433,384,353,368,393,465,433,427,428,392,407,404,377,326,338,338,334,324,326,358,404,403,400,397,372,385,394,362,350,344,289,188,201,223,235,245,220,198,201,217,212,300,379,501,560,466,404,539,522,424,338,340,331,295,290,373,393,541,727,675,684,738,591,536,428,378,388,471,659,918,636,623,533,513,417,426,403,378,318,337,413,551,758,878,874,976,1434,1490,1494,1154,811,922,760,536,469,625,1058,1076,755,605,398,375,380,429,458,444,490,542,927,1498,1334,919,1070,1198,880,792,795,735,1082,1368,957,904,1004,1021,667,354,313,360,441,403,462,401,392,720,990,824,985,1260,1426,1724,1552,1204,1266,833,561,467,621,990,995,844,959,1502,1608,1434,1500,1036,1074,1134,818,667,974,1484,1372,722,541,636,980,1434,1424,1108,1001,1004,1132,1166,825,533,610,772,673,645,683,677,692,553,589,840,1266,1208,555,375,347,361,419,423,418,415,397,499,604,436,381,405,334,340,340,398,412,394,532,830,739,569,866,815,584,523,564,776,826,659,882,916,621,667,860,711,359,426,684,564,723,725,401,319,331,377,426,392,415,780,1352,1234,765,544,411,308,408,347,643,737,599,407,730,845,537,499,390,370,514,591,649,501,366,437,695,1084,1028,628,547,778,608,363,407,551,854,1042,813,814,1138,1254,858,1040,1346,944,820,948,1046,1308,1582,941,898,843,880,707,791,1360,1326,1248,1282,1122,1140,1190,832,570,636,902,1162,1066,1118,930,555,433,594,941,931,913,622,467,716,869,847,663,441,339,329,281,276,331,352,452,843,764,864,990,548,431,391,872,1094,1112,1206,1122,871,461,475,447,426,430,547,855,1328,985,433,382,464,651,623,466,885,1132,1172,1102,987,1102,1150,1152,1082,1074,1090,1286,1322,1276,1300,1352,1292,1290,1306,1296,1234,1136,1182,1116,1074,1042,1001,913,722,625,470,399,459,681,1094,1346,1372,1254,1068,1188,1412,1294,1426,1042,755,591,594,556,551,714,924,919,946,976,846,873,436,426,785,1013,971,1664,1894,1378,907,561,282,298,312,597,1476,1266,1106,1350,1130,1066,1206,941,576,328,276,363,397,342,332,355,338,344,514,461,301,278,303,312,286,262,282,288,275,238,260,272,268,259,265,283,266,239,311,399,428,583,966,1118,966,742,833,1164,1002,898,980,933,1086,1328,1268,1156,1308,1088,516,307,321,412,354,365,379,360,490,616,736,1020,1052,905,519,530,684,912,1216,1416,1454,1050,878,865,994,1064,985,1490,1716,1648,1520,1602,1190,998,1334,1684,1552,1448,1278,935,1504,2046,1686,735,516,414,449,685,745,554,372,419,527,666,705,1106,1252,1068,906,1108,1166,1158,1268,1036,567,317,383,336,280,275,334,358,355,409,462,581,827,1074,988,811,634,1132,1284,868,807,838,1030,1290,1610,1346,944,722,778,713,690,980,736,611,681,916,900,600,824,980,994,1162,898,587,354,489,556,575,581,491,700,542,572,709,697,937,1166,1052,1034,1246,1250,1116,1190,1722,1234,890,813,898,995,883,764,918,729,386,365,311,318,306,298,370,308,308,351,410,401,430,516,532,576,558,403,330,549,739,495,292,270,301,314,306,324,380,371,377,507,555,524,605,639,621,526,490,484,467,387,239,278,463,678,577,372,288,319,333,328,336,373,361,459,707,727,540,358,376,397,420,511,471,478,554,526,567,746,756,706,541,375,361,312,295,341,383,433,418,478,477,502,678,634,577,502,446,503,422,397,349,331,374,395,429,783,1005,577,531,554,543,690,1028,938,949,924,807,1064,1138,886,877,1008,1404,1186,880,722,695,690,683,604,678,514,608,766,396,480,649,311,313,378,452,825,667,539,572,466,393,399,520,637,626,452,438,367,294,324,331,441,370,242,266,250,262,275,279,341,420,430,435,738,666,477,918,1302,1013,482,388,554,637,587,539,575,822,1312,1608,1298,955,915,1192,1422,1492,1384,1066,1496,1714,1628,1548,1358,1244,1140,1126,901,566,451,467,472,698,1168,1388,1494,890,487,474,422,475,908,692,406,437,670,811,735,1224,1442,831,577,703,847,673,482,359,592,502,429,469,559,1118,1152,488,472,750,1001,1208,883,438,571,1036,965,667,724,748,626,443,435,421,390,430,412,637,1108,1416,1100,1292,1450,1396,1202,586,537,670,655,414,319,299,311,453,582,482,292,338,332,383,746,1252,1138,1194,1366,1366,1384,1464,1324,1138,940,781,851,1026,945,714,808,1070,1062,984,955,1272,1338,1170,1180,1090,1262,1288,1444,1320,1394,1406,1368,1322,1144,1062,993,951,749,550,525,879,1226,1308,872,651,1030,1412,1444,1078,772,641,485,539,726,786,876,670,413,366,444,462,463,569,608,651,624,580,606,630,801,890,718,401,349,678,824,1190,958,627,866,803,591,467,418,524,537,399,266,292,362,336,331,363,337,294,277,304,283,280,304,328,328,260,272,365,412,447,457,436,426,402,397,301,307,283,315,297,251,250,339,433,444,414,622,884,675,439,389,380,332,326,368,487,1328,1684,1416,952,737,770,662,524,634,1116,978,884,597,477,622,993,842,336,268,242,304,388,640,1002,907,636,686,882,774,719,832,902,1092,1090,1021,878,1210,987,833,681,599,526,813,939,503,308,372,401,298,575,796,615,852,933,1266,1170,983,1058,951,1094,1250,1013,966,1054,996,766,1092,1568,1642,1234,1140,824,443,382,544,764,893,666,756,639,467,381,395,995,1290,1202,1146,963,727,810,703,479,275,309,288,241,331,350,356,369,334,299,343,304,325,314,373,685,959,912,955,721,594,783,1196,1064,609,578,864,1296,1340,1013,767,566,371,274,261,594,977,1040,944,919,943,1080,929,1008,1044,1128,861,412,610,1178,1344,1172,741,493,332,288,252,250,284,326,349,328,304,250,239,276,286,294,301,288,290,270,272,292,262,271,316,349,328,289,285,271,273,285,289,283,272,293,300,285,244,326,451,540,653,725,740,767,691,540,641,661,707,732,525,421,444,454,466,480,485,507,523,559,440,495,580,690,545,407,379,384,426,423,656,1094,1110,538,460,891,1052,1200,1013,1044,1382,1592,1110,587,691,727,780,897,1056,722,987,1022,745,762,728,639,610,606,504,593,1048,1460,890,500,480,483,425,374,346,325],[334,327,331,319,291,360,402,523,740,777,534,526,483,450,480,733,828,962,997,935,675,570,731,651,419,360,343,475,825,966,1040,701,425,403,382,395,450,412,280,359,355,368,303,308,462,630,582,451,500,667,558,498,535,554,433,271,394,458,459,419,679,796,525,345,411,525,560,504,542,944,618,526,648,702,843,669,546,644,735,677,672,752,730,757,1026,1386,992,574,686,692,974,1670,1530,1102,802,716,978,1204,1180,982,782,853,1058,1384,1250,794,411,295,315,326,277,278,404,422,381,337,310,274,240,235,225,235,246,253,302,365,418,481,505,430,420,433,455,443,404,380,375,391,455,498,429,290,237,233,317,407,435,386,348,312,296,294,349,464,426,448,412,352,315,325,294,247,392,716,919,955,1440,1386,968,1290,1080,1086,1492,1422,1166,1148,1264,1010,625,666,868,1002,1072,1252,1260,1314,1132,639,877,1212,860,948,1144,574,361,477,877,1416,1292,897,547,451,503,516,439,442,564,704,902,1060,1052,810,469,434,439,512,697,682,557,818,1290,1300,1036,730,904,1218,852,1086,1344,1330,854,631,543,774,1054,690,423,464,649,669,639,514,529,484,452,564,884,844,422,430,501,394,504,940,1218,1328,797,651,1110,1362,903,670,888,1050,987,1080,1158,1088,810,613,466,470,561,905,971,992,1170,1190,1316,1600,1440,1210,917,924,993,876,907,943,955,805,561,739,991,756,869,871,657,429,900,672,513,525,451,404,425,415,413,562,847,1076,1310,880,499,513,675,736,632,444,750,1024,779,470,441,420,522,946,1030,650,618,861,1172,1218,895,780,845,857,773,1080,1582,1330,1232,1086,1034,851,834,966,884,723,582,557,525,438,429,555,729,833,698,544,523,491,558,499,469,458,431,533,636,902,1224,1338,930,927,991,1024,996,843,805,848,885,1230,1494,1204,669,782,1116,1332,1370,1204,1316,1460,1534,1676,1706,1542,1576,1320,1372,1108,1200,1584,1019,783,1198,1110,1202,1084,940,1013,786,731,748,676,775,669,520,470,322,303,345,352,367,386,369,380,474,470,374,311,326,383,412,349,326,331,346,326,385,387,361,388,357,332,320,320,381,431,393,386,402,391,386,372,320,324,361,287,238,282,245,219,234,264,240,228,227,256,357,386,461,448,442,465,470,497,459,436,561,641,538,584,744,664,685,702,800,805,703,1013,999,483,365,368,474,972,1492,673,555,741,716,595,522,385,383,351,362,386,459,740,627,595,946,1488,1616,1438,1256,1328,1148,741,528,508,776,1314,1246,1018,893,599,534,447,361,390,505,577,550,886,1222,862,1036,1288,1392,800,688,1022,870,639,931,1086,788,933,1312,800,447,465,675,715,585,613,750,647,671,845,753,885,1428,1606,1612,1538,1312,1350,1354,871,757,1320,1140,844,923,793,557,515,716,876,558,625,683,862,818,1330,1804,1450,796,655,946,1144,865,690,638,650,908,1068,742,678,1136,1422,1376,1246,956,729,637,664,552,367,414,680,609,414,350,345,360,364,350,394,417,461,815,998,660,427,361,326,340,326,374,435,557,644,642,462,551,825,567,415,461,729,858,954,931,1054,827,490,681,1086,661,361,422,547,484,552,480,427,564,480,366,372,395,398,636,1092,1202,944,908,648,340,371,541,699,711,724,691,866,803,811,624,368,320,590,514,569,476,312,379,965,1386,940,529,560,709,456,397,401,547,890,987,740,859,1282,1278,761,1050,1744,997,667,623,626,977,1360,899,700,827,934,737,1007,1244,1274,1114,1030,1186,996,1498,1388,1478,1248,993,800,728,770,662,549,502,571,1014,1184,1004,774,615,586,803,938,1021,778,393,358,292,275,329,328,303,374,333,662,691,500,699,720,655,907,1182,1002,868,948,581,520,481,440,458,543,849,1378,1206,520,435,533,843,677,634,1126,1324,1376,1436,1490,1478,1434,1476,1490,1282,1120,1304,1434,1320,1112,1186,1270,1324,1350,1332,1262,1318,1306,1102,1074,1124,1074,1020,816,719,511,361,407,433,645,950,1144,1204,1228,1370,1268,1236,1406,1104,902,822,760,591,502,584,866,954,968,913,1046,899,692,779,1244,1460,1304,1638,1816,1102,440,363,339,324,368,707,1378,1274,849,1072,1178,1166,1114,834,463,418,401,332,343,403,343,356,344,381,493,422,338,373,325,301,296,294,299,303,286,305,300,275,269,286,284,281,277,228,267,283,299,419,613,758,774,995,1380,1208,645,550,650,937,1192,1232,1192,1056,1134,710,460,404,402,376,309,326,336,318,379,520,761,1136,800,608,664,647,673,1158,1230,1190,1050,878,901,728,579,738,749,1098,1216,1404,1618,1644,1392,1400,1614,1372,1158,1404,1346,1360,1908,1652,1023,622,640,732,791,977,1012,727,383,574,1064,1318,810,728,746,742,924,1262,1236,1116,1048,900,619,486,853,647,510,377,315,315,366,426,524,924,1138,1200,1266,1136,1010,1748,1530,1456,1152,850,1028,1188,1102,700,581,564,589,602,614,640,672,861,546,813,915,671,695,858,1130,1226,1234,853,541,505,435,411,413,413,422,323,531,764,794,869,919,831,973,1102,1112,1152,1282,1604,1408,1154,1156,1356,1354,938,691,822,697,372,319,298,259,288,271,259,236,261,281,314,330,391,571,579,618,613,440,281,391,670,667,475,309,322,413,580,683,647,504,479,616,702,711,824,740,662,648,475,329,334,398,310,280,372,504,497,375,314,339,356,395,411,378,380,593,641,766,646,451,458,505,522,589,565,468,501,495,525,738,809,796,554,398,329,305,327,349,398,438,430,426,461,601,703,645,560,500,494,500,489,431,370,361,343,428,580,636,766,494,446,796,832,671,994,808,805,1034,1098,1222,1274,1060,1156,886,1166,854,763,761,679,638,651,660,642,472,392,479,460,564,579,339,349,450,545,516,413,613,713,578,395,582,695,557,415,360,330,350,345,339,312,509,630,434,278,258,257,285,347,421,461,464,491,471,387,380,511,636,483,361,341,325,379,497,680,1196,1224,1198,1314,1152,1168,1222,1356,1642,1344,1322,1692,1754,1436,1372,1372,1498,1224,857,814,562,408,511,573,608,860,852,1234,1108,592,475,538,427,426,516,448,472,536,479,465,460,601,794,1054,1096,760,611,585,413,381,455,379,395,362,451,791,752,470,395,629,555,684,920,515,507,863,663,550,959,912,836,697,465,412,364,372,460,469,849,1090,1126,1486,1260,1096,1112,781,518,497,491,433,415,423,558,648,873,752,489,383,333,341,589,1378,1072,1338,1654,1536,1418,1278,1360,1224,1280,1078,954,510,518,713,917,1015,1106,1110,1110,1154,928,868,987,692,1042,1004,1112,1362,1374,1362,938,739,709,909,1370,1260,1002,1023,940,1360,1002,779,648,750,956,1198,1434,1248,822,549,637,875,1202,993,977,518,440,603,683,655,532,633,731,910,1098,828,558,736,946,1282,1306,722,396,761,1018,966,572,708,864,647,462,512,467,606,852,589,348,346,408,407,397,368,325,307,258,277,296,319,287,318,332,303,374,494,547,519,500,382,351,368,390,331,318,303,344,362,287,243,331,417,418,399,451,501,508,406,321,356,383,411,495,720,1044,1368,1460,1007,899,789,789,501,587,1682,2082,1672,737,554,778,879,641,383,371,339,391,458,570,919,984,830,830,1052,1058,785,504,585,846,882,1116,1194,1300,1030,807,756,665,438,671,939,797,517,490,378,281,803,1038,756,830,879,857,852,860,978,1108,1378,1092,545,630,645,837,871,1152,1642,1440,886,783,769,496,462,694,824,984,681,805,702,735,601,518,771,859,885,1132,909,836,769,369,276,270,287,271,251,299,356,365,315,255,276,281,247,314,325,308,995,1422,1196,1024,924,790,683,781,826,733,874,1028,1166,979,772,670,587,356,256,381,864,1214,936,702,621,619,897,763,973,1048,893,608,383,648,1046,1144,1190,684,473,432,647,633,463,298,278,335,300,271,272,262,291,364,377,350,340,310,278,259,255,254,283,334,355,286,293,281,291,282,272,311,303,258,258,276,251,276,378,518,690,894,878,861,896,757,598,846,980,907,588,478,513,442,532,591,568,562,435,354,404,407,479,469,545,541,450,392,375,451,772,1001,1210,923,603,581,777,1294,1832,1636,1472,1634,1544,898,645,695,629,509,778,938,917,802,736,869,813,680,703,563,392,354,575,825,1176,689,348,390,468,521,512,401,336],[343,307,308,339,322,302,336,392,539,683,478,389,394,369,361,725,1454,1542,1078,803,572,463,498,500,479,380,374,516,769,871,781,613,525,486,425,378,369,479,437,505,610,766,598,440,712,884,691,716,1170,1100,772,677,542,509,366,266,381,420,491,565,519,421,435,553,494,542,564,556,556,645,510,534,519,473,496,536,466,514,702,1018,897,607,723,647,867,954,820,915,1292,1332,1466,1678,1704,1368,919,454,465,570,933,715,558,603,959,1252,1062,639,437,336,261,274,231,279,376,372,327,275,236,216,248,260,297,377,392,341,342,356,400,437,459,440,426,445,461,442,419,393,383,464,509,464,351,296,297,355,408,408,363,358,424,356,321,301,377,418,380,390,354,280,228,234,294,312,222,415,907,831,1276,1400,808,861,1180,1338,1376,1334,1118,1088,1118,826,560,591,749,1116,996,922,1014,1336,1094,734,906,980,752,768,813,532,539,718,747,873,777,663,667,564,439,452,420,373,449,691,1094,1288,1298,877,612,495,504,617,764,590,375,690,1114,1002,722,813,990,996,930,858,1282,1528,1194,941,678,1144,1264,644,817,758,731,827,986,786,604,495,483,440,623,715,347,399,468,334,438,790,1116,1150,947,840,979,916,701,622,856,1084,1110,1106,1288,1266,888,634,529,504,543,553,655,933,1162,1294,1522,1396,1214,1366,1476,1140,1070,938,698,776,769,443,325,448,609,602,1240,1160,544,430,966,943,583,484,509,535,617,583,837,1182,945,538,437,284,310,413,569,841,691,459,541,477,428,457,442,386,377,667,854,979,890,729,999,808,492,796,1019,787,640,874,1346,1250,1288,1224,1044,928,1166,1392,1222,1246,1038,822,694,722,952,1292,1502,1344,882,731,754,613,522,519,534,579,607,676,837,1272,1528,1594,1334,1158,1058,694,648,924,1262,1472,1334,1598,1522,990,985,1156,1056,1224,1200,1184,1406,1438,1770,1670,1544,1610,1598,1248,1158,726,791,1098,1090,1578,1686,933,731,516,559,788,477,634,1398,1070,491,349,393,387,320,302,320,360,345,365,329,309,326,330,312,258,282,357,339,315,302,279,338,390,448,427,374,365,343,337,326,315,369,414,402,389,342,381,401,399,361,346,355,309,306,312,284,283,296,306,257,307,294,339,383,423,462,458,465,461,442,478,510,608,828,943,1166,1168,995,925,1007,1260,1204,811,606,923,835,458,375,375,523,1022,835,619,910,1104,937,699,432,352,405,400,452,483,627,801,761,646,942,1310,1192,846,1076,1296,1092,851,570,629,1021,1332,1144,722,751,658,749,526,323,347,385,385,357,686,863,619,937,1130,1092,993,775,680,540,483,649,671,566,791,1260,1052,680,675,818,554,525,1050,1230,853,799,1134,893,952,1512,1368,1378,1462,1368,1548,1786,1368,1178,966,712,811,984,935,491,522,651,819,1162,871,743,761,756,1122,1392,1320,1134,1012,966,1108,576,683,750,702,996,1092,703,625,1428,1824,1402,983,683,524,403,523,444,263,359,328,334,383,373,381,407,361,410,449,434,675,1250,1324,789,402,320,365,378,325,423,880,1090,694,501,452,636,575,466,486,641,944,1054,936,846,895,825,648,552,860,918,838,332,190,283,298,599,865,830,756,670,402,525,393,518,692,659,744,1208,747,325,386,470,486,655,767,945,1198,1116,827,644,389,292,327,329,448,469,383,442,1042,1390,807,490,577,532,383,394,515,557,730,701,526,641,1058,905,577,807,1118,513,541,590,596,944,1182,845,608,834,885,791,1178,908,914,698,654,1168,1180,1354,1390,1236,921,766,664,683,703,835,787,613,728,1044,1094,749,642,794,850,753,738,754,548,443,338,383,339,341,353,325,358,334,450,475,349,532,605,649,746,1104,722,912,1170,679,446,457,477,467,503,790,1282,1352,641,644,634,867,661,769,1172,1344,1434,1470,1478,1500,1590,1636,1604,1518,1350,995,1196,1396,1262,1328,1364,1340,1438,1372,1306,1266,1206,1068,1032,1048,1038,1050,891,894,719,399,511,681,839,996,1302,1216,1340,1592,1088,1170,1184,1026,1116,1064,701,438,458,780,1368,1224,812,811,1164,1146,727,781,1198,1306,968,988,1088,599,498,655,465,425,607,739,916,1016,770,794,1144,1268,1322,957,557,694,552,312,262,338,343,365,428,565,558,458,458,474,359,316,280,266,280,311,375,441,423,337,318,315,268,262,243,241,283,305,255,255,438,644,890,1184,1230,967,601,607,828,1208,905,891,831,529,541,485,464,485,439,331,254,276,309,346,365,446,752,1048,873,708,800,712,786,997,1068,1184,924,648,582,743,728,637,561,777,942,1136,1300,1530,1634,1560,1520,1212,1300,1194,1324,1472,1258,942,718,811,1110,1202,1136,953,1136,995,611,574,1032,883,751,837,778,922,1146,1096,1036,858,682,935,927,709,930,811,818,622,462,528,744,775,743,968,896,737,926,1356,1486,1428,1482,1748,1504,1228,968,1042,1124,828,586,567,781,1224,1298,631,563,1013,743,603,758,940,979,775,984,1102,777,580,1007,743,425,397,372,352,294,308,549,870,999,1072,1040,467,424,960,1150,1288,1378,1324,1522,1510,1378,1428,1296,1104,1011,711,468,312,268,273,350,392,371,331,254,261,261,308,367,412,594,565,514,480,325,260,303,465,698,672,444,350,488,808,936,772,540,444,573,716,767,791,662,721,729,452,323,317,372,358,375,382,426,505,448,356,357,370,374,361,373,544,608,686,729,727,612,567,613,585,573,516,418,419,421,437,505,604,645,454,364,308,320,362,372,394,396,421,484,495,671,596,468,447,440,517,517,459,530,688,490,381,408,406,343,334,305,346,524,512,651,912,1214,1404,1354,1328,1104,1158,917,1088,803,1042,1024,884,849,801,713,642,639,721,718,536,453,642,750,536,405,365,626,976,1002,835,653,484,494,393,447,509,567,430,358,368,378,368,365,350,520,899,540,281,275,274,323,432,446,450,444,468,439,393,433,492,488,356,331,326,320,511,654,802,1250,1378,1282,1108,1168,1502,1390,1516,1764,1616,1710,1700,1460,1440,1400,1284,1300,1268,1266,1040,639,409,406,603,1068,1023,702,875,952,713,526,491,483,489,472,479,531,651,538,390,365,529,1150,1724,1216,797,843,623,423,435,506,492,399,308,279,332,406,366,472,806,778,651,476,337,526,614,524,838,1146,882,828,653,423,543,573,490,528,568,981,1194,1298,1252,849,704,697,625,563,483,458,620,711,928,993,849,1278,1158,710,431,331,367,548,918,811,936,1042,1086,1106,1166,1404,1384,1246,1168,798,526,659,956,964,993,1268,1116,861,800,710,747,884,632,810,862,833,1026,755,622,688,722,540,586,1200,1574,1436,1266,1264,971,858,722,809,1172,1066,964,1118,1248,979,819,733,598,875,1008,889,558,675,741,745,982,990,808,876,1290,1500,968,918,960,865,897,1094,778,381,628,1240,1302,783,929,862,577,399,443,395,464,805,714,466,380,427,413,417,344,338,346,283,277,313,316,313,321,316,386,516,586,598,429,343,270,318,350,390,350,327,324,353,375,316,283,334,357,329,402,448,458,479,444,390,395,456,514,691,867,922,1112,1268,946,598,506,550,360,941,1958,2406,1528,570,409,368,359,350,464,381,361,382,662,891,1012,970,752,664,1018,1224,1050,560,537,777,983,1138,1240,987,666,596,767,756,396,264,368,365,442,673,544,461,905,1262,1416,1158,1216,1026,965,854,1100,1494,1482,886,678,670,628,926,817,599,659,664,610,663,511,380,293,443,563,748,622,447,557,783,710,578,691,567,610,830,689,1023,794,433,323,298,319,255,230,300,346,334,301,280,302,228,239,286,341,353,1132,1562,1362,1158,925,731,624,688,842,712,809,814,899,829,496,364,452,530,497,623,1122,1080,608,505,437,439,565,591,885,940,629,443,408,791,1282,1013,898,992,760,620,825,849,608,408,346,320,301,272,265,339,379,409,452,416,385,366,313,339,430,397,276,295,259,259,308,305,354,308,286,305,290,276,278,284,297,375,608,734,877,1566,1516,1262,970,772,777,830,915,779,427,486,565,449,498,554,593,518,440,387,401,392,369,399,401,342,361,403,372,587,1188,1248,1130,1242,1166,872,854,1414,1514,1282,1426,1610,1528,946,646,542,623,1144,1266,1072,1252,1146,983,1124,1028,644,450,412,364,378,453,903,1112,634,355,340,413,465,426,403,321],[296,318,512,652,453,311,309,314,375,426,351,309,296,334,343,764,1642,1782,1112,488,415,451,589,584,451,367,383,514,715,668,483,546,495,503,384,407,569,954,1054,761,650,637,429,482,742,689,660,978,1148,796,814,991,1154,835,677,502,431,447,501,648,496,303,343,612,520,405,477,515,530,565,773,738,590,457,405,427,424,426,698,750,695,763,1002,875,760,1023,1180,1316,1726,1880,1508,1152,1060,1306,963,527,435,703,813,567,480,591,807,760,626,535,637,413,251,262,269,265,290,287,232,238,265,346,438,465,567,714,669,420,314,330,353,393,414,383,376,401,411,430,450,450,438,486,449,391,331,325,343,384,350,324,346,373,496,474,371,339,343,332,319,336,312,247,201,222,287,287,261,346,627,860,1138,1372,1378,1478,1582,1336,1400,1404,712,504,800,908,613,699,902,943,662,727,809,931,1096,1020,580,794,1019,642,477,418,813,1232,817,599,557,650,875,664,435,452,420,377,374,452,973,1362,1036,825,736,625,567,547,582,416,500,751,891,766,574,556,540,938,957,634,1270,1586,1250,1428,1268,1144,988,508,1152,1102,923,698,778,933,799,481,477,472,577,548,361,353,343,307,408,999,1570,1172,644,664,944,894,517,392,767,832,1042,1058,1216,1144,861,717,701,657,634,564,684,805,1226,1754,1540,885,1002,1938,1814,977,914,786,493,463,484,279,308,265,225,427,891,662,568,734,1050,1144,810,455,523,498,656,968,1328,1258,775,874,784,406,344,362,397,482,436,544,802,553,507,458,451,411,400,568,694,954,877,535,654,883,1044,1288,1102,746,598,791,1017,1342,1770,1614,1504,1510,1882,2112,1754,1920,1812,1794,1828,1938,2066,2306,2402,1902,1216,1082,1196,997,960,861,684,598,636,825,1112,1588,1496,1396,1354,1306,958,480,697,1448,1664,1410,1202,1378,1194,745,785,983,920,1152,1482,1338,1274,990,1246,1178,1148,1326,1592,1550,1206,717,656,1046,1096,1520,1536,751,461,403,374,348,368,419,839,705,397,349,387,389,328,366,383,420,336,314,304,292,291,349,345,245,280,365,343,387,505,403,484,491,419,395,354,321,328,346,318,284,339,384,393,374,287,365,405,401,376,380,363,300,298,319,321,328,294,291,291,340,363,474,631,584,498,483,480,500,483,585,917,1016,913,848,1074,1168,962,932,912,997,1054,725,864,1094,839,565,527,444,492,831,778,797,1064,897,569,552,519,473,437,503,389,568,728,668,697,901,1228,1310,866,416,603,1078,1500,1454,875,1054,1166,1194,886,517,468,568,664,552,451,396,457,514,698,1106,854,593,596,667,629,536,478,437,405,587,631,587,662,879,1098,976,624,628,711,623,909,1194,1144,1066,933,1246,1146,1312,1002,858,1184,1076,1102,1410,1328,1226,1148,902,979,1258,1182,916,680,819,825,1180,1218,1150,1078,946,845,954,1250,1476,1300,685,537,603,427,641,713,916,916,742,786,720,812,1064,1060,664,523,455,646,822,502,282,240,270,393,379,332,377,379,330,356,372,494,717,1001,786,380,269,333,399,401,388,744,1396,1298,898,1052,1146,980,654,514,587,1362,1576,971,1028,1180,962,982,806,731,584,930,934,455,303,290,265,589,969,852,651,480,447,922,830,612,615,427,551,739,502,367,382,341,514,650,659,720,974,1186,832,522,318,265,471,677,634,730,600,522,933,948,526,372,633,631,427,401,505,539,449,470,862,1164,1494,1162,691,595,699,440,641,724,827,1122,1132,1346,1390,869,786,843,964,819,560,774,847,1200,1458,1242,1038,978,910,933,1012,835,944,1060,1082,601,682,955,1046,713,626,1066,1092,622,430,313,292,323,291,431,524,486,343,329,353,456,988,1082,394,505,814,641,944,945,484,532,730,567,408,418,449,431,490,780,1180,1220,609,673,915,1082,731,910,1324,1360,1418,1444,1500,1516,1564,1612,1730,1748,1296,840,800,1250,1542,1392,1336,1426,1568,1424,1406,1372,1280,1104,1034,988,968,1012,839,803,799,567,603,641,987,1360,1322,1200,1408,1230,1094,1158,883,816,991,1082,709,653,535,722,963,944,623,477,867,933,570,497,802,1090,561,545,893,893,858,1110,1014,841,1126,1028,891,1178,1011,879,783,930,1064,891,630,702,522,361,522,516,284,315,474,607,539,493,525,433,336,292,290,289,269,268,328,445,468,389,393,333,257,273,249,254,275,239,205,279,526,689,861,1326,1190,688,462,547,1094,1304,861,987,908,479,351,414,433,471,423,346,350,556,476,388,398,598,870,1208,1210,1042,1152,1042,472,658,1242,1340,869,637,513,597,661,692,681,670,728,777,696,976,1404,1576,1606,1574,1416,1116,1004,863,830,843,781,861,1224,1176,1364,1276,1178,1130,1070,991,1007,1184,1378,1382,1184,915,736,608,846,827,964,1282,1122,729,945,1024,1118,1216,1220,1284,1166,1102,730,676,629,535,737,1256,1392,1216,1390,1678,1792,1490,1094,1282,1384,1178,755,832,883,747,1290,1068,745,883,710,688,868,1094,1158,966,1138,1088,977,1094,1248,838,572,558,454,378,290,368,652,931,1202,1182,1046,579,378,769,1130,1336,1396,1700,1614,988,869,1464,1394,1512,866,442,354,298,309,343,486,700,880,624,320,283,281,265,307,383,533,558,478,431,421,483,497,578,606,625,603,419,532,811,886,722,600,534,547,688,960,1013,669,731,658,429,313,308,347,409,490,484,498,550,472,356,336,324,351,381,419,630,540,641,739,747,676,606,596,615,661,629,425,362,411,451,437,439,416,367,337,321,355,404,378,377,375,414,500,511,735,476,423,480,467,500,515,487,542,643,468,354,352,515,490,418,381,348,437,732,874,694,841,803,839,885,931,890,874,925,801,895,1104,1080,868,780,687,604,557,701,997,803,605,839,913,669,526,462,805,1388,1176,726,579,598,558,449,400,347,371,314,293,326,431,711,890,800,599,975,566,325,274,296,358,420,434,462,467,444,386,387,441,496,409,346,341,439,672,1252,1356,845,797,1076,1021,960,1206,1416,1684,1672,1454,1652,1460,1124,1246,1388,1378,1174,862,1188,1562,1040,551,431,429,872,1136,845,542,460,585,760,747,510,594,548,477,434,570,563,508,533,670,924,1538,1522,1054,1070,1274,1108,826,655,941,837,439,274,288,329,345,316,260,324,529,626,350,405,524,545,518,869,922,832,659,501,461,502,600,774,648,819,1272,1190,1336,1086,680,646,612,620,542,439,574,811,747,987,910,602,959,1266,759,350,312,398,427,409,495,609,742,757,822,915,845,1048,933,1312,1178,924,1012,1184,1000,933,1524,1260,1052,954,801,885,768,731,870,604,708,792,479,517,757,1001,789,735,1312,1406,1478,1368,1140,973,1084,722,536,960,1164,770,519,668,1072,920,609,564,686,937,998,645,571,874,921,1292,1180,1110,781,819,995,1086,1112,914,903,855,677,369,310,384,728,1238,1104,986,951,637,383,369,355,498,699,783,677,403,448,457,473,351,351,373,337,315,311,283,271,304,297,368,546,618,509,363,353,391,316,302,353,357,382,415,454,473,340,331,342,634,731,681,735,619,473,628,631,525,661,698,547,516,499,832,1188,729,444,433,473,479,891,1914,2104,1274,514,432,315,236,244,248,245,253,242,412,713,720,554,451,469,569,611,645,533,636,836,954,1038,1018,927,684,835,1192,871,403,287,341,324,414,725,857,720,693,1858,2208,1316,1252,1356,1148,1066,1064,1258,1072,616,558,517,531,724,737,602,458,530,608,540,333,298,236,271,365,482,582,619,728,1013,1174,1128,1204,618,553,907,716,744,867,628,345,312,322,271,269,302,309,299,288,295,280,192,249,286,284,368,811,1128,1106,1106,1034,1012,1090,837,613,480,577,652,644,513,358,313,542,781,741,924,1106,1076,910,723,463,509,670,836,1160,1038,557,391,541,938,1222,943,571,1072,1058,772,753,755,667,530,463,428,437,354,298,442,436,388,416,382,451,712,934,1210,1138,817,557,465,400,435,355,321,375,371,332,312,297,297,254,250,280,599,1194,916,1046,1716,1854,1604,1156,844,868,938,898,653,361,403,427,463,493,552,532,477,428,414,410,407,415,444,423,312,285,331,360,583,974,1222,1202,1372,1340,882,627,1080,1028,1506,1566,1404,942,632,800,872,999,1282,1298,1374,1510,1360,1100,961,820,499,546,500,447,398,360,459,426,459,487,387,342,403,372,433,404],[368,585,878,1142,781,383,326,285,278,311,342,327,275,301,349,600,1364,1942,1576,608,403,492,506,430,354,357,374,666,1026,712,485,506,514,586,535,568,626,651,566,439,427,406,397,637,918,630,656,985,1010,742,877,1178,900,648,761,767,897,758,797,621,448,269,226,338,419,463,509,503,486,608,725,681,628,448,398,447,327,583,785,605,944,1246,1246,912,592,1015,1294,1328,1572,1598,825,588,530,735,770,580,556,1304,1644,952,681,849,1032,954,739,563,436,268,174,339,476,357,260,221,220,248,347,563,622,601,649,796,775,495,336,363,373,413,412,386,372,440,485,501,472,440,375,386,426,393,381,366,345,451,419,388,351,372,448,437,375,368,337,301,301,340,358,298,241,276,310,343,327,338,607,1134,1096,1186,1662,1720,1582,1378,1626,1676,859,642,827,1290,1096,882,864,700,852,1084,1136,1144,1198,1396,844,988,1190,777,528,612,1230,1114,662,553,563,736,877,601,445,451,403,401,349,362,486,828,1046,1040,1026,1042,869,707,622,494,864,990,1122,825,623,515,446,567,479,603,1674,2390,1406,1284,1432,1520,1170,582,931,1252,794,374,469,794,946,579,536,469,707,454,393,347,237,269,499,1032,1358,1310,1090,766,951,1036,565,442,756,839,1140,1718,1560,1194,916,813,865,741,609,503,495,629,998,1198,1306,1170,1028,1338,875,535,789,678,478,362,264,247,313,242,244,270,397,626,832,913,1064,1262,1082,520,545,797,1058,1056,1106,837,581,858,734,355,330,401,381,391,481,1082,1534,923,569,438,428,393,360,448,471,568,734,797,948,1390,1272,1082,884,761,583,818,763,1216,2036,2054,1876,1984,2382,2286,2076,2118,2038,1962,1954,1978,2030,2106,2210,2142,1732,1620,1964,1944,1782,1456,1013,930,936,891,1256,1492,1005,812,1086,1032,763,938,1274,1920,1688,1226,1032,1092,1184,1118,1096,1312,1278,1434,1494,1068,1158,767,829,938,727,603,961,1472,1722,1280,1140,1322,1172,1132,797,496,360,383,384,365,367,400,432,381,357,340,365,360,383,460,425,421,433,340,278,278,291,329,321,284,330,405,442,442,775,618,582,474,374,367,361,341,363,383,324,266,335,380,376,386,367,416,423,383,363,380,356,315,347,313,273,266,250,257,294,421,393,800,1318,1058,679,460,522,499,539,739,941,1140,1032,836,1040,1140,1017,1038,1021,1248,1098,661,937,1046,988,874,814,736,817,868,940,1005,1054,1048,982,856,844,752,927,995,534,708,805,702,730,885,1136,1168,924,694,741,619,1118,1342,971,1018,995,951,891,750,578,527,713,915,780,493,640,909,1066,1146,703,580,742,552,408,412,387,372,364,448,730,781,775,1012,841,510,528,905,1182,999,810,720,733,940,1128,1348,1338,979,749,813,962,966,1062,1080,920,1038,945,868,1594,1528,1178,745,683,735,773,949,1188,1310,1134,887,966,1808,1078,1278,1360,1332,1226,1104,647,550,883,1244,827,370,565,590,574,722,1192,808,533,388,502,509,339,281,211,268,457,406,354,413,396,330,324,310,414,777,803,425,346,347,325,340,430,554,720,846,552,702,1376,1466,1010,756,592,755,1360,938,711,1188,1218,727,1007,852,955,835,885,716,451,418,335,344,438,581,496,442,437,437,879,1060,1326,1108,676,742,712,538,592,623,529,393,344,498,507,551,742,690,511,487,488,730,965,574,645,645,839,733,497,389,334,516,572,425,452,528,583,593,775,1124,1308,1458,1228,1030,618,373,375,511,619,805,965,1046,1278,1582,1138,966,865,722,634,667,1120,935,852,1156,1140,1058,1262,1186,1240,1288,1028,784,615,582,417,476,762,889,728,646,775,680,418,399,490,379,308,385,400,545,501,314,316,427,728,949,859,534,548,543,922,1190,626,368,357,365,355,397,405,432,428,430,702,1086,1162,621,438,745,951,825,1009,1390,1416,1432,1416,1476,1490,1534,1558,1754,1592,1166,907,664,1054,1328,1230,1268,1440,1538,1390,1350,1516,1384,1190,1136,1070,1009,963,838,893,1152,1026,955,882,855,1240,1250,1460,1362,949,1086,1156,742,586,880,1364,1108,1072,772,924,832,785,586,427,558,870,880,435,500,1023,1046,1066,1392,1510,1202,955,875,877,1038,1100,1268,1240,836,1084,847,833,899,924,846,991,833,620,749,630,354,391,401,366,358,310,318,363,349,293,307,332,314,314,331,389,397,382,453,403,346,343,307,285,307,253,203,292,579,793,706,760,692,454,369,592,999,746,485,947,1068,524,325,351,332,399,396,406,377,492,507,454,359,569,960,1278,1250,1192,1418,1092,502,1174,1834,1180,689,692,669,465,375,493,703,640,640,510,608,695,998,1454,1620,1622,1384,1116,913,796,710,901,1144,1164,1130,1072,1332,1200,1088,1196,1240,1146,990,1114,1228,1318,1200,901,938,743,953,921,1140,1366,1190,766,832,1004,1234,1400,1600,1434,1114,1268,767,448,552,812,865,1164,1462,1416,1256,1218,1334,1360,1320,1120,814,675,923,922,634,574,1140,1272,1021,911,919,1050,900,1110,1094,955,1102,1302,1376,1246,1238,943,580,512,491,451,381,393,839,1066,1310,1216,1234,943,634,748,1206,1218,1396,1582,969,578,796,1286,1366,1260,794,481,344,309,309,355,466,766,1140,958,392,252,243,223,251,370,500,535,509,488,717,1142,874,365,374,521,739,639,662,869,796,637,609,585,569,686,966,1218,769,714,548,352,291,323,412,478,463,490,561,590,491,362,330,329,387,388,558,564,502,665,705,633,551,540,722,791,753,733,517,361,439,499,536,546,451,367,324,328,429,464,439,413,394,396,419,693,653,340,404,464,533,556,578,979,817,510,369,339,317,415,460,498,454,440,435,506,560,534,605,809,924,982,783,639,583,686,893,816,1082,1120,841,704,720,628,561,619,778,885,1052,1308,1180,948,1098,980,995,1102,955,1116,929,1088,907,705,486,314,358,359,309,328,479,1094,1260,1102,547,854,843,461,273,332,343,394,428,411,439,431,403,423,398,389,368,413,536,788,1182,1432,1188,787,572,685,984,1166,1352,1598,1816,1746,1772,1650,1344,1432,1526,1310,1294,1246,1038,1192,1132,662,422,515,518,819,871,504,427,476,413,523,800,868,699,702,524,418,584,613,682,1212,1346,1078,1017,920,1284,1158,1138,1234,962,730,954,816,437,289,329,422,382,299,274,270,244,308,233,304,350,466,618,744,863,806,613,625,529,303,350,838,1078,1288,1514,1356,1166,677,477,474,447,524,485,352,545,1030,996,697,720,872,1014,1136,855,445,361,420,392,374,439,625,966,899,865,1092,904,777,896,1190,1212,1204,1260,1226,1008,1210,1754,1318,1144,1126,1001,695,493,777,1010,773,663,806,1086,910,738,1034,944,1150,1164,1316,1410,1434,1476,1542,1184,619,467,536,596,455,437,477,936,784,739,592,633,1094,1180,850,810,957,1206,1320,1192,914,618,542,843,1126,879,914,980,684,468,534,425,317,363,850,1230,986,699,632,539,428,471,503,648,973,797,552,456,543,533,345,345,424,442,358,291,305,323,364,309,351,562,591,565,431,384,361,292,310,338,335,393,471,518,499,528,624,428,527,535,361,633,708,458,689,867,678,620,525,451,408,486,783,1110,777,529,430,550,789,1182,1672,1842,1120,494,417,274,232,212,214,264,254,202,347,529,338,353,326,310,283,391,427,392,420,464,568,622,832,963,626,634,876,861,756,496,357,418,438,491,652,745,676,661,885,1090,1086,1338,1118,878,971,901,491,337,356,313,460,733,570,610,613,636,645,430,351,384,360,404,557,750,963,973,926,933,1064,1154,1302,857,427,490,477,548,604,529,455,308,283,309,275,258,254,229,192,261,271,227,282,288,278,402,633,921,998,1009,1072,1190,1352,924,546,565,587,767,842,775,712,472,411,513,627,733,927,1332,1324,998,709,658,778,997,1290,1032,544,666,819,874,888,858,770,890,1146,1334,1198,918,734,547,468,504,583,559,375,476,471,384,386,460,821,1021,1048,1324,1206,891,760,600,769,806,686,546,437,449,343,253,259,308,277,267,525,1092,1090,1086,1464,1610,1528,1298,1030,777,724,670,703,568,360,420,454,480,537,596,816,780,582,630,387,363,434,500,550,380,269,280,391,575,958,1184,1214,1262,951,528,565,719,768,1408,1252,1050,877,1040,1280,1192,1084,966,1122,1072,1042,889,758,819,775,932,1138,739,565,436,383,413,532,514,529,388,294,377,423,395,578],[455,809,1260,1168,866,555,394,340,286,315,352,329,326,295,328,455,1172,1798,1632,746,316,358,354,312,388,463,348,568,698,532,560,605,759,947,933,692,462,420,414,386,412,362,396,509,764,694,598,613,586,769,1168,1210,750,533,509,538,553,636,857,783,774,453,363,408,551,592,539,503,595,777,653,645,503,486,525,471,520,790,629,936,1610,1554,1288,871,682,971,1146,1120,1312,980,529,401,379,339,512,786,802,1056,1062,734,599,757,702,567,569,408,302,516,872,1108,1090,503,219,188,242,279,364,552,642,654,641,741,784,569,375,369,372,437,398,369,363,390,418,445,470,422,323,303,338,405,391,327,357,468,408,414,377,452,467,435,464,419,330,323,315,334,400,339,303,278,196,274,273,303,515,931,898,772,1420,1584,1572,1508,1544,1694,972,887,1170,1220,1013,1112,1174,1130,1108,1124,1284,1086,1100,1410,1052,1140,1196,963,508,1034,1754,1584,1252,908,857,809,695,524,426,437,426,490,487,409,468,971,1374,1086,1080,993,634,553,615,490,590,687,808,789,554,512,547,514,640,1038,2168,2872,1744,1270,1294,1388,1410,1178,858,673,498,507,622,1166,1202,715,574,602,638,373,425,446,318,338,687,1076,1170,1134,1094,780,653,681,452,451,763,949,1480,1946,1838,1520,1084,831,781,677,599,458,463,559,846,973,954,894,1152,1280,492,457,588,576,400,320,298,328,405,304,265,297,330,553,908,877,992,1334,1332,880,1038,1132,1148,891,862,1000,880,588,282,292,321,371,374,403,422,826,1286,1212,686,401,369,383,396,410,427,543,852,1294,1076,1384,1404,838,594,722,794,890,798,1120,1626,1714,1902,2092,1970,1570,1572,1840,1924,1852,1706,1622,1676,1736,1936,2082,1832,1898,2040,2142,2130,1878,1438,1330,1250,1004,1278,1320,935,860,971,809,717,1188,1044,1054,977,929,963,1144,1466,1290,861,1060,1174,1204,1216,894,1052,977,957,693,402,403,430,821,1448,1626,1424,1238,967,1386,1068,681,445,484,515,497,373,385,364,376,362,389,395,473,491,533,465,619,742,488,278,295,310,320,295,318,354,426,507,595,719,597,451,384,378,352,345,333,322,324,318,299,335,370,376,380,375,391,409,386,384,371,325,332,373,312,287,305,290,261,358,615,612,766,1142,1188,1280,973,605,619,823,1188,1106,1086,992,771,962,1330,1384,1230,1174,1530,1126,794,886,738,906,885,893,1011,969,1050,1176,1174,1022,932,942,1152,976,731,890,882,659,827,1018,1078,1050,952,1038,1180,1036,971,988,522,820,811,806,766,650,809,859,722,521,536,713,994,823,527,1008,1244,1202,1226,1088,1338,1456,849,430,375,327,346,496,655,659,595,745,973,672,399,576,995,1304,1028,686,697,792,1166,1450,1332,1166,1296,1204,1000,960,968,868,600,508,822,1170,926,682,592,751,959,830,747,958,1120,1268,1260,1156,848,552,835,657,1122,1200,1164,984,744,497,505,963,1338,1013,869,690,1170,1090,1130,1300,988,544,249,236,210,230,227,249,268,351,320,324,369,404,330,293,315,287,442,478,383,364,390,348,420,724,870,616,427,363,444,832,1318,1584,1224,607,567,727,605,807,1142,1366,1054,868,683,847,941,1182,1082,469,380,327,330,356,480,340,305,344,409,854,1015,1012,1086,1138,1044,865,553,516,540,538,405,376,477,529,460,476,600,751,857,984,1094,892,493,567,554,572,600,708,767,653,426,422,554,576,481,641,691,781,774,1222,1236,1124,1066,727,549,471,559,869,698,951,1218,1560,1290,691,906,847,637,395,593,772,525,490,735,1280,1262,1332,1160,879,832,815,560,411,404,401,406,448,752,1306,874,558,475,617,711,800,666,494,445,660,976,688,364,335,395,643,774,1132,761,652,570,1054,908,397,409,365,375,340,358,392,381,451,598,968,1186,1160,734,359,584,975,1094,1132,1312,1344,1432,1300,1354,1384,1368,1464,1594,1300,1220,1450,1176,1152,1158,1454,1598,1438,1358,1372,1318,1270,1224,1240,1240,1186,1150,987,841,853,1258,1152,1330,1222,1078,1026,1230,1476,933,426,571,896,1330,1392,648,935,1372,1098,860,1026,1206,913,515,422,442,854,985,879,796,1002,1118,888,952,1454,1236,685,766,796,651,937,1138,772,439,657,866,949,1060,1106,1114,1100,1132,1017,957,688,446,433,312,284,250,245,269,338,394,362,325,314,318,374,378,389,465,457,398,421,386,335,364,352,287,280,252,277,400,783,956,638,459,405,554,811,820,594,422,659,744,424,376,336,346,400,391,389,328,307,567,667,510,612,729,775,916,733,897,586,656,1706,1794,751,457,631,694,507,422,627,762,667,929,926,948,898,998,1300,1498,1598,1454,927,727,1014,943,1182,1304,1250,1288,1144,1188,1250,1252,1106,952,973,1104,924,876,1310,1288,1298,1226,1034,1136,1198,1250,1400,1370,1424,1554,1098,1130,971,1128,1046,1144,1288,692,508,868,1040,1007,1194,1412,1240,1142,1182,1448,1760,1248,819,706,601,884,891,954,1186,1182,959,936,950,1200,1216,860,1130,1004,826,1104,1442,1176,1011,1370,1560,906,534,576,501,476,343,749,1128,1032,976,988,1112,1162,1030,1278,1416,1676,1100,527,678,1054,1224,1384,1374,979,539,338,345,333,332,403,580,794,976,606,554,577,361,260,366,468,481,479,445,834,1156,742,385,411,532,796,768,703,739,724,701,655,594,625,727,916,1080,758,618,486,338,323,486,667,620,538,547,550,506,435,337,339,368,561,673,730,588,502,550,566,466,404,401,710,779,725,812,828,566,410,421,434,469,405,361,339,327,395,433,469,402,367,374,462,658,454,341,373,363,454,617,583,1334,1584,1001,470,362,341,343,345,362,426,466,486,529,539,587,601,579,769,882,756,999,891,619,734,696,938,1148,974,722,700,660,580,501,415,637,976,1262,1166,1086,1428,1390,1264,935,942,913,778,825,622,444,361,375,370,371,386,402,478,666,629,461,414,689,982,716,275,344,361,368,355,348,425,474,504,528,427,376,388,638,968,1182,1234,951,808,780,545,779,1166,1254,1360,1648,1816,1782,1566,1382,1192,1332,1278,1082,1078,1158,1060,1158,719,397,585,955,775,521,440,354,440,481,366,386,746,1080,805,628,444,350,451,625,1024,1478,1326,775,717,1046,1208,655,544,558,492,415,491,465,374,305,316,422,428,335,297,289,255,284,289,310,317,404,559,678,633,473,479,626,749,546,378,838,1410,1424,1458,1524,1088,457,291,313,401,583,464,428,810,923,992,1138,950,1018,1066,883,747,411,359,385,386,358,332,393,519,569,565,695,957,995,929,968,1056,1266,1358,1316,1272,1382,1358,1456,1294,1202,924,498,473,733,890,635,479,712,1322,1138,596,635,723,1000,1108,1096,1262,1376,1244,1504,1278,800,831,688,788,764,502,464,670,853,939,781,818,1070,1236,1074,1306,1114,1460,1302,874,538,562,623,783,801,865,1204,1234,824,667,1070,824,583,523,487,861,926,520,537,585,522,455,479,627,894,1158,1332,1684,1424,697,313,356,476,543,436,317,321,337,354,342,346,378,460,543,464,339,327,298,318,337,332,364,476,529,512,484,503,430,354,357,335,453,639,587,694,840,789,566,362,355,587,816,988,1096,1104,859,473,497,666,546,438,1170,727,363,303,253,212,219,254,263,235,240,344,554,563,633,502,347,378,527,489,399,472,517,395,361,473,406,345,425,831,1330,1318,771,366,380,436,422,400,491,595,619,767,880,1044,1622,1394,945,813,498,324,352,373,272,372,599,396,397,519,907,982,623,375,380,336,407,721,951,1196,973,973,802,891,938,1196,909,367,292,288,278,249,267,263,290,337,331,347,303,253,247,236,282,278,245,301,351,333,367,554,741,742,949,1112,1172,1406,972,590,613,729,1046,1164,1142,717,444,335,350,592,641,670,1012,1296,1204,1030,800,852,1072,1252,1246,886,932,1006,1010,940,977,894,868,1194,1238,1022,846,619,476,442,367,428,457,621,899,869,697,611,921,1196,948,1128,1314,1176,1017,990,1021,1070,1002,1060,999,631,519,433,421,341,334,368,370,601,890,925,1418,1852,1716,1444,982,852,834,736,703,744,677,505,415,449,457,428,769,1358,1284,1230,1146,510,365,418,482,524,362,285,301,343,595,1084,1196,1470,1494,1090,625,521,569,919,1226,1160,1028,958,1306,1418,1128,1128,1074,1210,753,647,662,1164,1378,830,966,1026,806,715,473,308,372,623,436,396,311,290,408,457,683,1208],[466,830,1484,1466,1412,953,383,310,288,386,451,412,381,351,329,371,959,1412,1396,902,331,268,297,318,411,531,360,341,341,403,667,846,889,733,471,389,380,387,345,300,346,396,473,586,771,863,678,551,483,574,880,888,563,505,478,439,356,390,352,530,581,788,833,784,730,515,546,445,529,761,981,666,650,688,557,438,661,704,576,980,1380,1296,876,609,664,833,937,1138,1060,602,446,382,315,266,499,966,992,1092,1014,693,475,624,673,486,390,357,450,886,1108,786,493,196,192,234,253,321,361,516,674,681,692,788,828,660,398,363,335,366,297,305,369,357,423,513,533,461,293,247,338,467,358,279,308,284,379,453,396,404,467,533,546,476,351,344,363,457,368,296,306,270,207,240,287,349,459,730,833,591,1026,1450,1332,1416,1622,1886,1202,893,1124,957,771,915,938,1258,1224,1472,1276,935,879,1144,1290,1090,877,775,724,918,1440,1742,1422,1116,932,1102,1004,589,475,525,697,1150,1066,484,512,669,506,425,649,687,711,849,697,529,454,512,745,881,993,1158,885,753,1454,1356,1550,1362,1054,1036,890,666,884,1352,1536,983,625,921,1088,1256,1242,747,798,814,445,309,354,340,281,370,661,745,918,832,651,799,819,558,364,465,684,818,932,1062,1084,776,761,937,700,592,548,412,414,505,720,727,487,732,805,789,451,396,437,473,590,509,381,323,360,379,383,509,524,525,792,801,962,1240,1502,1596,1498,891,881,813,623,823,775,669,469,312,272,335,425,430,356,451,797,756,461,400,410,367,418,428,393,583,847,955,827,1030,1148,847,613,670,789,1072,1316,1544,1502,1650,1826,1888,1948,1776,1440,1580,1846,1926,1882,1804,1814,1858,1868,1506,1344,1758,1944,2190,2120,1836,1288,885,899,975,1272,1302,1042,832,861,803,996,1360,1556,1230,777,766,868,1148,1268,1012,856,1290,1132,1294,995,751,1150,1188,964,781,643,569,478,498,1200,1810,1592,1470,1148,895,951,684,377,457,653,684,371,343,434,379,346,368,357,456,501,668,988,1226,1056,571,323,265,276,322,341,321,381,475,558,635,574,491,483,494,417,317,288,282,240,255,354,361,335,352,367,371,328,274,349,379,373,352,287,294,392,458,435,412,378,310,439,684,684,805,892,871,1070,1280,932,766,827,888,1078,1023,768,995,1058,1052,1246,1312,1230,1468,1174,1023,1048,952,936,783,794,901,1048,1042,989,1104,1021,865,868,1066,894,731,726,720,678,893,1078,1132,855,875,1028,1218,1068,968,912,566,639,853,1001,998,1028,897,788,623,420,349,330,530,556,552,841,1350,1588,1180,1148,1204,1332,1068,897,518,468,781,1008,703,512,674,963,980,628,521,500,748,1200,1078,866,833,1098,1402,1122,643,624,1194,2036,2000,592,505,403,426,609,822,996,692,521,663,755,994,1146,1130,1034,1266,1023,1054,1014,800,481,504,611,1030,1300,1056,637,375,484,579,753,825,1250,1416,864,940,1038,1124,1164,1182,825,252,278,265,247,244,262,247,276,283,267,315,310,257,287,321,323,321,349,322,329,362,400,527,767,773,497,348,367,392,480,957,1496,1202,415,365,368,432,857,1122,1532,1266,822,782,901,1042,1007,607,267,274,350,390,327,340,307,361,491,645,976,951,592,875,1322,1054,667,533,388,372,788,1148,842,591,586,444,596,939,976,812,976,986,666,896,986,947,773,671,814,959,880,508,577,681,691,631,617,543,609,585,848,1208,1438,1340,976,540,393,504,833,731,1068,909,1136,761,491,576,683,635,375,422,376,362,428,565,1282,1268,1336,912,419,437,448,441,670,695,654,543,687,1338,1464,917,779,758,1122,1270,1154,1000,734,698,855,1022,553,289,303,394,409,412,466,538,802,990,1044,662,344,354,326,285,266,309,338,539,1011,1376,1480,1484,1422,1048,766,874,975,1162,1152,1148,1152,1012,985,1106,1238,1394,1438,1290,962,1204,1998,1910,1278,1260,1752,2346,1820,1158,1138,1294,1318,1258,1240,1230,1228,1116,784,812,952,1036,1218,1490,1434,1358,1300,1212,1210,986,460,382,362,794,912,637,618,1010,993,878,1104,1198,851,558,488,671,841,700,893,941,953,945,664,916,1268,955,466,483,521,462,643,1001,700,413,452,610,812,1036,1232,1370,1268,1256,1148,1212,959,857,708,489,431,329,315,308,318,334,419,362,286,255,347,386,364,417,416,347,375,351,279,353,352,295,275,293,277,301,526,775,572,394,468,884,1068,1007,785,548,537,455,437,437,369,379,459,580,468,319,314,422,608,726,783,575,349,377,426,526,545,623,1498,1274,461,412,564,610,501,764,1286,866,1204,1374,1224,956,898,847,1046,1344,1600,1550,1108,1046,1504,1332,1238,1212,1102,1003,1126,1096,933,904,1032,708,764,1180,1078,816,955,1268,1414,996,956,1262,974,820,1290,1420,1372,1254,988,835,577,849,949,1004,1052,683,478,620,764,823,1118,1366,1448,1404,1552,1978,1576,885,670,586,607,807,1070,1318,1166,825,652,842,1240,1186,1036,1088,1246,1280,1288,1216,995,1034,1088,1178,1676,1154,658,489,555,581,444,698,1030,1080,1094,1264,1384,1166,842,1236,1504,1208,588,438,613,1007,1178,1070,827,589,499,365,378,374,354,359,406,592,583,637,1086,1016,440,232,299,347,396,532,519,1264,1240,581,436,475,419,517,664,626,538,845,1106,633,459,502,546,580,597,512,470,447,378,540,834,859,634,554,577,463,389,372,316,303,469,756,850,749,509,527,497,518,404,334,320,386,516,604,705,815,645,375,360,461,385,349,347,355,352,411,461,461,373,328,304,416,601,390,367,381,458,675,756,700,1015,1584,1272,670,564,370,362,357,385,439,501,818,518,435,462,432,514,727,608,524,668,738,537,451,547,805,1070,1034,771,673,608,511,377,270,332,519,781,1013,1160,1098,1122,1132,1118,1028,830,713,785,1070,993,440,444,393,336,362,396,460,340,372,533,548,602,1018,1010,374,375,415,293,284,359,404,453,510,522,426,395,582,934,1162,1136,947,719,676,511,467,764,1120,1204,1308,1616,1770,1516,1360,1360,1224,1212,1100,807,977,1196,1276,1074,670,583,954,1196,944,581,374,344,386,459,338,349,790,837,860,812,493,379,481,835,1220,1172,596,426,501,852,731,449,396,357,386,540,571,576,563,306,350,380,446,529,445,286,275,269,306,334,340,365,337,367,339,341,443,525,1096,1094,917,1322,1474,1238,1404,1440,1018,540,304,302,369,565,501,447,543,599,949,1218,1012,1070,1150,769,592,272,302,358,386,350,376,471,508,647,610,555,661,547,638,830,1070,1274,1476,1256,1286,1062,1296,1606,1106,976,900,726,600,571,427,517,659,627,912,745,503,425,427,688,930,833,1096,1230,1334,1030,1428,1296,1078,1152,1400,1154,792,824,1140,1062,860,887,1040,1272,1172,877,928,1046,1184,1164,760,415,415,509,653,799,1130,1192,1396,959,889,954,1076,921,733,515,675,822,663,823,747,546,897,1936,1642,1222,1664,1814,1722,1768,1318,397,361,364,438,441,363,385,395,355,352,362,415,425,415,413,454,557,479,372,344,350,353,492,586,536,499,475,390,399,454,625,904,868,730,608,680,564,512,451,570,948,1278,1306,1062,641,351,349,455,550,433,353,478,351,218,202,218,210,227,232,230,223,259,327,609,727,957,760,353,294,327,334,357,405,416,335,336,379,377,354,469,656,749,803,731,542,448,439,386,381,335,604,784,564,448,1026,1360,1092,1114,727,305,304,326,379,286,295,384,438,520,501,603,811,904,781,475,346,403,790,1188,1086,692,825,924,843,696,866,647,294,278,284,263,241,221,218,403,639,645,706,489,309,309,309,341,326,270,328,352,304,296,459,521,519,767,891,1002,1178,1076,905,792,1012,1136,962,872,698,868,626,380,502,712,661,557,816,946,855,629,783,1122,1188,1162,968,1013,1013,1162,1038,913,623,653,915,1074,1005,910,635,426,386,366,398,524,916,1286,1122,966,716,995,1110,1044,1378,1278,1184,1142,1068,1068,977,1108,1228,1038,566,423,428,677,485,395,543,568,632,786,897,1344,1642,1526,1110,921,844,747,618,719,732,693,546,387,417,444,487,701,846,1294,1526,1676,1018,540,421,367,435,397,289,281,331,743,1156,1128,1498,1554,1021,670,691,799,971,945,990,1176,1290,1428,1334,1302,1126,1116,1136,653,514,662,1260,1300,770,672,688,465,595,655,385,467,439,352,349,321,378,429,539,923,1290],[500,865,1330,1564,1554,1001,548,418,385,441,478,445,428,381,346,328,695,1056,1120,937,448,289,303,301,319,380,361,300,287,345,805,1322,1092,752,473,425,434,406,371,282,337,530,565,605,747,779,616,641,538,480,547,544,348,423,434,387,347,365,446,414,452,673,850,912,932,926,624,438,420,941,1056,699,1028,1102,893,608,494,509,901,1010,678,826,1026,918,993,833,764,1098,992,691,415,370,339,301,330,713,999,1062,1010,680,510,548,451,386,398,352,362,380,258,265,327,307,254,237,261,329,366,531,741,739,732,804,951,886,487,350,448,575,440,350,361,374,381,358,339,353,278,297,295,373,337,286,341,425,460,479,452,321,394,444,415,383,372,389,368,411,427,368,318,314,283,292,325,365,434,654,1120,1150,1258,1464,1540,1626,1638,1638,1158,566,738,1040,810,963,687,979,961,1104,1206,987,1144,1452,1138,796,678,731,1021,927,1086,1294,1274,1154,836,1030,974,539,463,501,701,1194,1100,447,390,444,466,492,572,590,584,643,603,554,649,847,893,1054,1252,1490,1542,847,995,1272,1938,1232,565,603,518,494,528,692,1130,1582,1226,1060,1340,1310,1062,569,644,749,509,318,433,569,422,392,522,426,461,777,1044,1054,932,689,479,530,698,699,599,447,320,267,830,1056,831,630,481,379,382,443,548,666,527,1066,586,364,330,325,434,617,914,826,634,502,459,499,618,883,1136,1300,1292,1122,1198,1460,1592,1538,1144,977,977,502,374,541,578,619,469,283,281,307,430,494,420,415,455,461,480,437,469,444,499,509,473,555,629,884,988,710,651,763,615,694,1108,1648,2010,1958,1620,1644,1596,1440,1750,1832,1632,1642,1550,1400,1290,1554,1860,1842,1666,1322,1346,1646,1792,1964,1978,1730,1398,1300,862,842,792,1084,1268,1110,853,754,1224,1438,1362,1130,802,838,1034,960,955,1008,971,895,1310,1368,881,1062,1444,1262,897,1104,1086,713,542,803,1958,1702,1342,1550,1576,1228,820,509,283,372,424,434,322,599,859,512,328,365,395,415,510,955,1284,1048,1052,584,348,295,326,328,340,438,576,626,644,593,572,700,866,722,523,365,352,327,273,303,354,363,358,363,369,377,348,300,362,369,368,354,294,317,404,464,428,415,456,427,485,565,539,625,916,887,746,951,1032,888,757,655,702,844,927,911,1066,974,1330,1007,1026,1302,1028,944,1222,1090,1052,911,771,603,769,1066,785,660,908,890,636,578,791,971,1042,881,838,697,610,871,653,832,1092,1162,1278,1082,875,807,626,689,819,934,856,872,1106,681,403,375,334,315,323,376,711,1464,1384,688,793,992,1324,1012,957,517,608,1256,1408,812,498,865,1402,1318,881,902,701,902,1514,1346,1010,1082,1364,1170,626,520,526,670,1208,1286,365,291,623,756,734,948,735,728,1046,891,827,1100,1236,1258,965,1036,650,766,758,584,826,831,594,1060,1472,1214,872,589,609,601,824,716,924,813,600,722,705,737,822,662,449,252,281,269,247,248,231,229,237,258,275,284,303,301,310,315,340,312,301,343,415,421,469,575,628,525,387,369,422,402,398,567,656,421,354,345,407,550,791,1234,1192,744,747,803,534,614,658,492,358,358,426,405,394,361,313,637,1044,998,775,887,769,683,720,859,654,472,387,307,623,989,829,590,692,590,844,941,916,678,706,778,689,965,1044,1200,1034,620,674,990,1056,785,578,450,502,487,426,513,628,531,696,1218,1682,1366,913,700,754,811,788,970,1050,771,730,622,548,583,594,571,540,778,610,415,568,1064,1538,1500,1566,1302,721,410,465,756,1001,958,885,821,781,1350,1076,839,1396,1728,1552,1316,1092,904,813,940,720,522,319,237,336,462,371,313,287,418,755,854,688,470,298,299,294,272,272,349,318,482,1196,1528,1090,1166,1322,1454,1346,1334,1442,1444,1174,1174,1174,899,742,850,995,966,1110,1100,781,803,1442,1396,1118,969,1262,1852,1490,1028,1122,1076,1238,1256,1260,1176,1096,1007,790,996,778,666,1028,1266,1170,978,1194,1218,1256,1058,507,414,356,345,380,390,562,731,647,797,927,725,792,805,709,861,756,599,656,462,587,857,985,1324,1140,1011,583,577,839,807,758,969,743,399,579,965,1046,752,856,1176,1294,1278,1010,1144,1052,899,844,897,852,554,430,433,313,290,365,385,349,269,268,337,374,362,354,322,330,337,292,314,307,325,339,345,291,444,596,549,376,328,778,1266,1248,1200,822,910,797,455,365,328,324,389,474,503,477,354,298,463,922,775,626,397,303,364,541,580,606,974,1072,661,389,379,375,477,488,758,1358,1334,1338,1126,1072,1236,1000,843,1172,1284,1416,1562,1496,1424,1378,1254,1198,1300,946,818,1038,810,510,604,1102,1190,1008,1076,1140,738,724,1226,1266,913,905,905,606,476,790,1056,1086,1066,1096,1011,816,769,800,954,1060,1074,561,428,428,755,1244,1442,1466,1332,1700,2126,1738,1021,554,518,431,549,930,1064,1108,1096,1194,1216,1194,876,1044,1156,966,1074,1124,573,578,995,1190,1240,1202,718,441,606,738,522,373,494,877,1012,967,1106,1442,1340,913,1186,1020,751,543,459,445,706,949,595,344,372,429,361,367,371,360,363,337,448,422,573,1032,995,441,258,287,345,827,1138,1118,1478,1234,717,452,417,349,328,522,673,579,1021,1266,538,390,462,469,479,485,516,792,1078,1013,1238,1040,714,530,503,574,541,466,366,336,381,633,976,963,657,471,481,453,459,364,301,305,334,430,474,459,453,398,337,331,389,339,383,335,302,363,417,436,419,336,291,310,384,487,363,342,358,433,576,1146,1208,740,903,885,957,1120,514,377,362,383,415,450,491,341,320,353,415,540,499,383,467,550,902,599,417,518,676,828,1009,947,733,656,524,288,375,613,700,461,809,1070,907,807,987,1056,932,926,1060,1182,1572,1364,642,565,439,327,335,341,321,340,368,332,342,469,744,1102,600,450,381,345,364,444,456,401,418,428,393,471,814,1250,1470,1108,795,528,628,888,839,937,1028,894,1268,1588,1504,1470,1838,1382,1260,1134,1138,1092,1166,1260,1428,1318,956,880,1005,1015,1005,794,496,447,401,334,292,381,575,574,679,883,849,444,741,1466,1546,905,542,514,612,731,725,692,678,742,839,1168,898,778,775,444,371,338,354,491,408,318,353,364,347,314,321,295,311,287,216,336,487,702,1084,1182,1196,1354,1262,1196,1436,1256,1140,797,414,520,561,665,609,374,279,530,1108,1460,1350,958,849,670,452,298,307,326,343,338,369,375,433,684,951,828,734,709,760,777,1128,1452,1180,1058,1274,755,880,1206,810,924,1126,1318,1132,1040,829,803,820,769,725,615,497,430,444,420,411,618,1076,1420,1132,895,1362,1506,1302,1170,1232,1174,810,653,1204,872,574,888,1028,1100,792,529,579,569,605,930,1104,643,387,393,573,963,1292,1422,1282,747,629,1046,1242,1152,993,641,684,849,799,881,575,490,1142,1992,1364,596,1028,1558,1670,1922,1860,648,409,506,556,591,545,419,321,310,314,345,427,407,373,374,657,710,684,501,379,309,303,440,514,487,430,331,333,412,561,1302,1884,1132,631,531,570,511,501,469,399,584,1007,1082,995,501,377,478,614,577,339,252,247,234,230,215,228,238,240,236,241,258,267,329,659,755,708,566,373,582,648,728,468,373,347,390,418,431,394,389,506,711,813,698,896,1042,725,758,441,375,393,855,1200,858,473,625,547,668,844,508,308,285,250,299,290,384,571,728,861,826,614,747,1000,819,460,365,395,573,841,772,582,610,838,1108,1040,567,332,287,300,266,238,248,262,287,539,916,890,633,335,328,408,491,358,289,325,419,411,360,308,367,333,366,568,858,1092,945,845,970,1214,1302,1314,1294,1016,994,1146,891,523,401,432,394,462,607,679,1044,856,778,797,1006,1028,1336,1426,987,1034,672,386,301,326,377,553,934,960,636,413,381,361,403,592,1242,1556,1200,1060,814,1412,1548,1202,1244,969,1040,1110,1015,924,879,1146,1286,1092,611,422,394,520,473,414,546,621,603,889,1046,1172,1112,1040,939,940,919,798,594,605,649,626,666,541,407,389,475,767,592,525,726,1140,825,500,465,358,376,427,538,530,588,1080,1090,1376,1274,1374,1212,1124,1246,1216,1176,959,1102,1392,1520,1620,1570,1596,1148,1028,985,777,570,563,736,840,672,595,688,598,686,647,433,391,354,341,363,354,392,571,915,786,825],[429,948,1242,806,702,1146,829,397,345,354,328,352,391,388,371,314,357,558,827,794,437,281,285,277,256,278,318,329,445,386,728,1394,1246,1188,645,581,702,668,722,576,402,512,637,653,637,643,653,781,443,401,545,345,224,382,405,342,406,455,570,749,661,758,872,633,562,574,793,830,664,835,608,615,879,763,868,885,724,503,936,1236,727,488,862,1162,1180,842,1116,1204,1252,1458,891,568,413,313,268,427,689,875,742,483,415,416,380,504,785,867,397,347,409,410,383,362,264,243,302,368,369,487,746,831,889,969,1108,972,593,370,620,758,513,424,440,415,401,387,332,274,272,291,283,306,320,320,546,707,420,380,405,360,426,381,350,376,462,413,366,406,511,576,479,337,309,308,308,641,624,838,1086,995,807,1068,1472,1452,1392,1504,1272,485,523,767,742,1060,952,988,1064,862,703,664,867,940,609,504,838,1074,1046,852,1170,1282,1554,1520,955,686,559,403,417,416,572,1021,857,451,372,381,394,458,661,601,394,436,590,894,1040,1418,1130,1284,1628,1926,1654,858,405,473,655,584,494,497,491,430,410,378,402,888,1524,1482,1352,921,725,861,879,713,408,325,572,727,503,580,782,658,437,597,843,1108,1100,753,477,503,687,613,505,345,331,267,655,976,928,612,399,385,358,373,431,697,580,907,647,389,330,299,291,502,659,719,1008,791,571,614,686,954,1214,1256,1160,1300,1396,1254,1236,1360,1256,1228,907,577,618,697,612,539,464,470,478,381,513,521,445,459,465,476,439,372,456,477,539,585,480,542,749,838,804,576,538,703,792,1015,1470,1738,1950,1694,1312,1318,1392,1310,1458,1440,1194,1146,1001,780,949,1612,1884,1790,1646,1550,1534,1496,1590,1732,1736,1236,1140,1274,976,735,671,689,1088,1384,1178,1260,1616,1598,1234,963,813,774,1082,951,896,938,1004,1164,1256,1094,1198,1560,1556,1416,1086,1128,1042,752,553,763,1244,807,454,858,1378,1438,912,782,644,603,603,461,371,478,522,416,362,393,431,475,676,1005,893,769,1154,665,338,308,306,323,457,753,907,860,711,705,892,994,1042,850,669,406,467,462,320,334,298,303,368,379,363,382,393,378,366,364,364,328,287,307,340,336,330,358,420,453,462,472,1048,1510,1208,1038,888,1010,1168,956,764,705,714,1334,1054,623,1178,1268,931,715,830,1102,859,1001,1416,1254,1196,936,785,668,1023,1328,931,682,691,688,662,762,966,922,994,830,1110,667,344,441,753,908,946,973,1020,887,865,1104,1060,886,741,720,814,877,1224,1098,862,662,475,423,685,916,705,557,296,305,496,404,317,537,612,475,628,894,1302,1560,1604,1104,1326,1376,983,1064,937,948,1474,1442,1292,1298,1306,1170,666,523,508,532,659,452,293,416,907,969,1076,1108,645,580,926,918,844,1150,1278,1284,1166,1006,919,940,641,786,1372,1402,970,1260,1292,1124,983,984,584,788,908,747,589,366,344,476,561,528,462,433,365,301,264,251,215,240,243,225,222,228,217,207,263,298,294,297,349,390,358,442,521,480,486,540,546,502,456,523,594,437,369,394,348,339,364,417,508,445,526,879,847,643,562,534,836,702,691,595,419,430,438,348,350,353,334,542,594,691,643,1024,1464,1560,1368,1108,823,504,344,330,423,592,614,681,684,497,453,650,807,751,789,720,615,781,872,830,997,1034,955,735,735,846,493,312,408,473,554,630,633,524,590,888,1306,777,680,1194,1208,793,836,1154,961,827,1022,1158,796,458,343,570,948,1556,1128,554,818,1118,1084,1334,1546,1114,741,702,861,1246,976,885,912,1438,1222,993,1132,1128,1294,1282,1372,1246,1014,843,906,808,464,300,263,275,420,532,395,280,315,313,517,541,350,292,300,281,273,287,307,347,333,436,940,1007,632,1038,1194,1404,1526,1566,1638,1580,1404,1564,1618,1192,1016,1144,1340,913,759,856,1002,823,874,969,1196,980,858,742,595,677,906,1100,1192,1212,1224,1180,1136,897,954,917,500,400,512,784,933,736,941,1038,1334,834,418,576,582,416,338,347,528,615,688,1064,660,749,1074,1084,842,671,607,532,448,385,493,590,990,916,631,841,653,529,739,1112,1038,926,887,489,674,1032,1094,989,808,788,1186,1158,617,748,855,901,1070,1206,1180,1154,1194,1138,524,326,292,302,352,328,263,253,281,307,357,318,314,325,319,326,362,365,362,326,289,349,550,710,615,604,1010,963,1126,1418,1052,891,780,554,454,509,479,444,552,691,741,379,344,351,373,397,333,331,338,706,1152,1108,982,813,584,509,380,334,396,446,490,658,763,763,667,635,883,866,791,1060,1026,1030,1334,1556,1600,1532,1382,1186,1264,1352,1050,694,618,441,428,744,928,1254,1174,1074,1196,1078,1019,1086,1136,1030,777,528,480,425,623,1072,1046,1094,1246,1228,1122,1060,982,818,753,890,504,426,695,1194,1366,1458,1023,908,1384,1368,1344,1130,591,556,546,495,1058,1356,1396,1200,1380,1358,1292,1222,1021,741,588,818,1248,844,722,808,1050,1210,1012,572,698,1218,968,429,340,486,551,548,714,881,1338,1418,1136,869,976,935,473,425,413,413,426,339,328,321,373,367,367,355,362,385,359,368,425,538,674,573,336,240,328,594,1122,1236,1122,1092,1214,1104,583,447,411,364,403,556,814,1288,1080,477,356,457,455,458,440,591,1216,1498,1432,1504,973,583,488,521,593,641,588,401,365,549,835,942,854,674,516,467,437,425,363,307,324,369,398,410,393,396,430,376,358,331,340,419,376,311,382,465,455,380,332,354,348,382,390,336,338,352,342,479,1252,1566,857,650,869,1416,1234,670,501,426,383,346,360,343,314,319,380,481,529,534,451,624,840,1310,1010,722,753,710,773,926,1070,1158,991,689,363,311,539,532,457,797,988,828,697,833,840,811,777,822,1058,1122,750,440,411,379,305,307,345,303,260,257,257,281,300,323,800,907,569,340,424,450,521,493,404,442,497,711,957,996,1230,1178,1374,1284,949,1084,1406,1238,902,629,1064,1504,1042,1208,1824,1820,1364,1126,1230,1416,1328,1188,1288,1364,1238,1146,893,936,1302,1494,1346,1282,884,435,330,457,470,457,507,499,694,1028,810,1018,1340,1132,554,397,467,625,682,762,739,689,736,1234,1372,810,632,521,335,347,312,314,315,305,386,375,352,355,402,374,320,332,291,281,370,779,1240,1276,1178,1296,1240,1166,1384,1428,1256,1362,1128,750,897,996,778,494,337,274,516,1098,1522,1542,1094,854,582,401,304,289,328,307,312,327,336,379,688,1204,1176,1184,1318,1284,1170,1122,1268,1021,981,1328,1004,997,1152,1126,964,1184,1532,1536,1224,1262,1164,814,937,1202,1190,705,426,418,383,352,387,648,900,745,1262,1270,1086,1436,1510,1414,1260,808,538,1102,781,492,880,950,938,763,578,719,811,721,770,832,480,408,404,385,719,1382,1554,961,512,350,402,739,1128,918,681,728,847,741,912,891,550,872,1662,1494,836,1126,1336,1622,1812,1666,705,457,755,969,984,976,861,510,352,499,537,475,452,528,602,724,710,726,522,401,304,303,353,411,415,374,441,467,502,985,1824,2070,1322,710,686,818,1001,932,473,386,418,413,561,686,362,380,556,792,662,320,298,250,214,234,226,239,245,232,234,237,258,268,340,771,891,567,440,609,1282,1204,993,478,390,425,565,557,424,401,384,528,1002,1118,937,1128,1312,1074,993,708,593,503,645,1064,1156,889,511,374,391,368,352,312,304,231,240,446,602,716,801,824,534,413,526,893,905,474,371,374,435,582,595,551,565,749,1152,874,533,519,532,320,287,280,278,349,325,711,1112,949,614,346,368,525,584,368,229,312,381,442,389,294,330,311,395,681,1114,1074,1050,1078,927,1202,912,753,966,1096,1118,961,746,478,290,303,448,574,601,602,996,1015,918,836,763,665,753,723,1030,1084,796,448,307,372,393,531,773,827,593,413,366,407,461,609,1032,1286,1258,771,2022,3908,2410,1088,1038,1007,1212,1206,1068,918,983,1092,1184,1206,828,509,423,423,452,416,424,501,499,744,1044,1007,855,838,905,893,860,861,772,570,515,539,557,489,464,447,477,769,512,476,621,869,907,636,467,380,447,528,738,904,1042,1116,1256,1368,1034,766,639,1021,1374,1394,1502,1422,1424,1280,1280,1282,1470,1414,912,751,1005,1260,943,629,598,772,797,857,738,760,703,536,495,487,412,354,414,395,386,677,1192,730,752],[284,444,745,523,454,706,528,403,354,350,317,412,536,473,366,317,297,435,595,550,419,310,350,349,281,294,382,550,545,478,750,973,820,1016,773,798,966,1084,1538,1290,506,475,591,589,581,784,905,904,728,797,814,414,322,614,830,720,444,381,606,858,649,993,1142,793,447,336,357,656,803,797,737,687,608,432,591,901,704,388,484,858,836,702,540,571,455,664,1334,847,895,1072,1196,715,370,332,339,358,428,436,505,608,432,438,405,412,886,1292,579,226,382,497,954,1076,405,258,292,375,377,424,697,874,939,956,1050,738,388,381,607,826,785,735,677,620,675,595,387,302,277,310,348,354,397,413,611,661,527,465,390,343,390,315,275,328,425,536,521,445,601,827,813,689,791,580,374,529,444,546,454,332,326,651,1196,1422,1212,1040,759,586,666,669,588,642,669,736,839,708,608,655,735,828,652,700,1346,1368,868,999,1274,1298,1082,915,912,677,844,882,742,665,730,801,644,550,522,379,328,413,512,477,405,443,740,1234,1258,975,1146,1644,1874,1458,951,712,500,373,369,404,446,562,543,498,347,289,363,594,948,1298,1638,1460,1318,1418,1216,736,425,536,628,490,351,604,927,803,626,658,698,1082,967,681,452,635,647,600,461,254,242,272,630,1192,1300,666,371,355,378,361,385,586,810,1017,720,381,325,369,368,407,654,933,1200,1204,1232,1296,1114,1142,1358,1548,1634,1468,1228,1242,1274,1530,1886,1368,1102,797,841,1013,865,814,894,891,625,451,594,521,450,531,532,463,502,560,512,415,455,556,499,563,764,653,613,565,463,566,977,1334,1506,1610,1462,1316,1310,1368,1396,1470,1736,1690,1512,1136,907,669,823,1396,1682,1778,1976,2024,1898,1720,1844,1864,1566,918,642,693,835,597,475,722,1206,1056,849,1272,1282,1448,1250,1036,756,951,1076,1001,1046,1124,1022,836,1062,1484,1486,1512,1670,1356,1284,977,603,474,624,738,705,623,577,722,1028,1388,1166,989,985,1108,916,558,459,432,396,378,406,437,419,433,805,1058,775,1002,1023,498,318,323,352,384,527,571,579,766,857,882,883,791,741,766,586,283,488,496,279,306,301,323,404,400,367,391,383,364,367,376,351,299,254,275,299,306,328,356,381,394,349,381,1202,1434,1007,1002,1028,1050,1182,844,487,585,864,1120,750,765,1324,1144,1254,1588,1148,821,521,717,936,1178,1294,1200,1118,731,923,1009,951,952,662,406,480,614,827,702,594,683,1080,797,437,317,358,420,493,764,991,878,630,570,596,763,1058,793,548,618,1050,1336,1172,780,738,666,1410,1804,921,519,638,752,726,520,444,650,636,744,1170,1130,1394,1068,794,886,1122,1428,1021,1080,1042,1030,1428,1544,1362,1112,1166,1036,692,543,513,533,530,395,289,619,1122,1224,1234,1042,643,439,621,847,815,1152,1330,1532,1318,1078,1478,1310,745,1015,1316,1408,1108,1220,795,797,1114,739,394,996,1364,1238,955,438,277,316,507,487,430,504,441,508,443,243,240,241,240,242,240,228,205,201,237,264,297,289,342,438,474,442,381,390,444,451,481,492,424,531,607,455,365,349,318,342,419,572,629,394,414,802,1156,830,502,607,1144,847,705,601,396,389,381,345,280,329,536,587,427,610,815,880,1040,1294,1310,1124,930,514,359,339,413,543,574,820,542,363,305,777,1082,890,1001,999,597,690,710,473,756,1070,1060,736,550,868,787,457,469,668,816,924,996,842,702,948,851,700,1088,1306,848,421,619,984,744,608,761,1013,993,653,692,1196,1338,1314,1202,878,735,845,720,943,1434,842,576,1168,1494,1544,1104,882,891,1256,1021,996,1472,1262,1114,826,856,881,865,697,610,450,343,303,268,268,413,511,412,384,442,387,600,708,406,380,373,262,260,302,330,300,342,349,695,739,751,1234,1154,1164,1440,1528,1268,1052,1218,1356,1440,1604,1312,1382,1844,1748,1288,1017,1036,946,868,1076,1162,955,969,720,672,607,565,649,807,1058,1162,1252,1030,764,677,575,415,452,585,865,1015,598,527,843,1264,1040,766,854,849,516,394,370,510,480,524,595,531,697,1048,1136,846,644,553,428,379,493,667,668,998,595,399,563,647,533,846,1242,1114,965,1012,871,858,785,1058,1318,1184,896,1034,1014,839,692,839,1422,1578,1212,1180,1260,1156,1274,775,415,309,318,373,353,297,266,315,278,301,275,286,277,305,335,340,293,272,304,292,389,669,623,641,711,658,658,827,1198,959,642,675,622,639,818,699,580,588,541,479,346,389,332,292,304,300,341,639,1196,1134,1080,790,450,508,483,378,328,430,474,447,516,587,659,749,778,747,879,988,877,858,959,1422,1628,1576,1660,1586,1322,1246,1250,1246,963,466,359,659,1226,1092,986,1042,1009,1094,1023,852,819,1092,794,390,419,421,365,644,1152,1334,1304,1344,1334,1104,963,622,530,559,636,747,786,988,1316,1156,1028,759,614,1168,1606,1722,1260,805,841,1140,835,1172,1548,1484,1144,1142,1204,1078,1126,1100,659,572,737,1096,1150,755,738,951,1250,1288,1015,986,1016,700,501,396,486,413,788,1023,1204,1242,1226,1005,644,915,814,429,414,416,396,357,402,383,328,336,394,401,344,318,386,393,359,363,364,455,333,318,440,628,735,703,583,673,1154,1220,796,568,432,405,361,413,441,901,1188,835,422,402,474,455,477,512,701,1364,1522,1342,1164,802,539,490,506,480,446,455,385,348,537,767,867,822,657,495,450,430,405,364,316,318,361,381,397,386,415,437,391,360,375,397,407,402,382,439,463,423,325,339,359,332,405,420,328,315,352,366,470,1066,1836,1082,631,809,1012,766,730,655,480,397,346,351,342,336,456,562,513,747,884,550,758,1548,2054,1654,1324,1114,705,680,792,853,1282,1246,739,700,952,810,542,716,959,1052,817,699,991,1372,1366,647,590,1012,1048,663,424,377,362,356,356,319,300,223,249,246,219,229,261,436,903,885,499,465,426,437,435,462,511,626,871,1140,1208,1360,1328,1542,1674,1558,1524,1566,1488,1454,1188,1560,1454,886,1516,1704,1310,1104,1158,1288,1352,1316,1084,1082,1178,1266,1252,727,965,1488,1398,1186,1096,1026,827,481,738,737,575,474,530,982,1246,1122,1096,830,503,403,396,483,594,955,1360,869,685,515,638,438,347,389,313,310,314,293,282,282,342,382,339,347,354,435,450,390,380,349,308,389,648,976,1180,1262,1410,1150,1176,1444,1382,1394,1284,1228,1228,1264,1322,861,569,469,541,750,1096,1550,1228,689,406,280,318,295,269,342,387,337,371,349,355,648,971,1110,1040,1040,1184,1150,1034,1080,972,987,1258,847,821,1200,1332,1296,1266,1316,1444,1154,1138,1232,886,962,1328,1274,655,455,422,339,328,280,374,333,669,1246,986,625,967,1538,1396,1180,895,738,963,814,677,807,571,526,731,635,879,1222,851,528,468,395,395,433,444,457,921,1003,474,368,309,331,570,838,980,920,706,618,572,843,892,669,719,1094,1108,1166,1504,1494,1394,1017,752,733,704,749,986,1064,1190,1122,830,723,854,866,590,623,923,1170,1078,1130,861,391,375,321,344,393,450,437,347,447,492,583,1334,1750,1600,1280,813,695,786,1088,991,438,344,324,353,416,534,426,323,383,545,441,321,275,249,232,225,236,241,232,237,275,336,432,574,853,1190,1050,714,702,900,1126,1176,1144,938,739,696,858,924,736,590,562,849,1096,1170,1152,1194,1308,1230,832,805,1052,996,955,1126,1104,1052,730,419,391,425,421,419,423,375,295,590,1088,940,745,770,468,624,776,983,978,559,421,399,453,391,433,616,643,592,1026,946,607,573,570,361,393,370,317,304,348,764,1186,946,716,434,401,573,590,420,262,300,304,337,330,273,301,298,361,667,881,697,903,835,794,877,594,464,645,952,982,942,862,413,344,398,537,835,821,862,1086,973,985,946,601,432,750,998,1013,852,574,363,371,434,457,720,1148,1056,554,348,306,408,535,700,991,1011,739,2054,5136,3986,1122,747,838,1010,855,887,954,1036,1226,1130,1056,1192,1062,628,435,463,497,426,338,381,438,638,802,833,718,660,700,729,703,724,781,693,525,491,479,562,609,505,613,808,529,487,797,940,708,667,649,530,484,618,769,1042,1266,1234,1242,1250,1266,1088,476,698,1146,1414,1338,1470,1276,935,1080,1392,1526,969,492,478,666,1064,1134,931,639,828,918,1168,1150,1026,736,656,686,599,423,397,434,392,357,392,618,650,998],[255,296,1006,766,562,460,510,555,550,405,320,567,916,767,387,325,257,369,356,393,421,390,448,367,283,358,513,570,453,479,880,1186,1086,977,624,493,672,1120,1650,1350,571,497,594,547,566,1116,1516,1760,1476,1368,1278,1160,1112,1062,1444,1106,498,305,344,488,636,963,1212,858,416,412,558,687,584,623,1208,1312,987,697,577,634,451,328,404,602,756,1008,1050,581,505,972,980,609,579,509,549,434,333,383,369,355,375,391,646,882,870,604,549,506,598,1246,999,377,459,595,943,1330,656,266,402,437,375,338,562,805,864,895,975,836,534,375,543,898,892,895,814,788,763,689,433,265,278,260,254,360,417,386,397,501,631,474,401,356,384,320,282,385,584,787,610,459,864,1030,829,958,1140,1046,645,375,419,395,293,366,377,433,846,1422,1260,896,675,805,880,829,678,632,618,693,961,1120,1042,902,835,878,828,763,1304,1132,600,866,1510,1528,1038,982,1028,549,792,1096,1440,1140,1156,1340,1176,1128,854,441,332,376,323,361,422,404,703,874,971,740,1032,1510,1578,1228,910,691,562,527,335,365,374,450,683,822,518,292,375,746,888,634,1136,1646,1764,1384,1136,769,700,1038,911,525,588,671,775,830,778,754,814,945,1064,885,589,830,880,645,393,393,551,414,502,735,1274,684,377,368,418,417,368,343,633,879,804,732,716,724,618,513,659,1116,1506,1598,1628,1512,1328,1374,1400,1202,940,697,648,1132,1576,1924,1974,1172,1082,1296,1226,957,1024,1418,1304,846,453,431,547,454,461,501,513,387,584,832,844,644,425,470,534,582,783,739,593,497,465,511,837,1290,1748,1706,1382,1274,1178,1312,1368,1694,1800,1924,1894,1504,1076,754,568,1018,1552,1874,2100,2100,2084,2048,2214,2132,1382,1232,960,964,824,482,501,768,961,763,1102,1258,1012,1366,1278,1108,942,900,722,733,912,1334,1644,1140,1186,1726,1656,1380,1262,1180,1130,745,512,689,1038,1166,872,828,851,1084,1224,1112,1322,1202,1104,1252,991,677,541,447,373,359,426,430,356,340,562,884,719,1056,994,434,338,357,390,439,521,372,377,602,866,837,849,855,583,487,412,289,335,280,235,248,285,322,390,422,428,430,416,354,341,383,347,294,238,247,267,266,287,346,381,406,319,316,801,1086,1042,1250,1404,951,1044,759,409,391,656,741,576,639,907,990,1418,1728,1312,962,673,658,990,1160,1032,979,1066,1104,1160,897,861,1042,923,743,832,949,777,644,948,939,922,794,441,392,323,355,551,1116,1206,919,477,369,375,405,634,818,944,1180,1164,1230,1128,826,723,977,1522,1528,812,656,1064,1450,1340,990,760,885,947,1122,1252,1516,1580,880,539,587,1130,1500,1298,1220,1152,1044,926,717,774,1060,1188,929,625,506,535,526,485,452,477,710,990,995,879,789,541,543,530,368,570,1064,1144,1180,1072,737,857,786,651,847,1148,1036,1224,1462,897,574,632,536,492,732,1132,1248,995,350,304,433,750,950,695,670,830,1013,650,272,276,255,249,243,248,265,277,246,227,247,302,308,319,357,406,445,429,431,417,394,430,441,419,518,498,369,352,424,482,465,457,539,564,401,663,1042,1058,821,588,636,777,647,600,472,498,429,397,412,320,284,644,813,634,556,723,650,563,749,832,807,777,503,375,340,323,418,696,698,471,459,522,729,904,843,848,847,636,533,407,669,720,924,1184,1206,777,489,605,537,536,791,859,1106,1164,1278,1222,1030,757,923,1248,1001,655,644,763,1150,748,426,547,866,841,944,1108,1186,1120,958,926,1013,815,1194,869,781,1336,1114,613,859,1422,1290,935,756,738,821,603,506,821,962,1150,797,813,670,460,386,354,354,338,300,277,252,296,386,386,454,429,625,800,625,392,505,421,261,265,296,297,293,344,315,514,857,1178,1218,1120,1178,1150,1142,997,1272,1488,1498,1520,1366,1460,1698,1838,1886,1730,1332,948,1052,1188,860,772,868,1290,1102,973,747,643,585,548,538,764,987,918,736,426,584,439,612,808,1100,1060,933,1144,1358,1456,1514,1354,1046,835,465,345,363,378,430,449,630,849,790,891,1130,1152,924,483,340,338,451,619,880,818,425,332,451,517,692,1092,1058,1066,1192,1362,1192,1074,1250,1122,1040,1272,1226,1194,1152,1106,809,954,1448,1736,1314,1224,1340,1146,775,546,443,362,345,352,304,287,274,303,269,267,308,332,296,303,314,298,297,337,339,293,485,825,708,578,807,810,904,938,901,984,725,690,524,653,901,913,639,563,572,444,331,332,386,434,350,318,447,628,708,995,950,545,472,920,713,356,302,405,565,595,843,791,933,1250,909,921,1340,1118,959,1048,1244,1566,1470,1286,1454,1594,1448,1254,1138,1250,1350,827,721,857,860,941,1194,1348,1342,1162,694,458,551,583,499,470,397,361,332,408,855,1362,1436,1494,1272,737,461,387,625,882,924,969,1030,1060,1176,1160,924,753,485,875,1150,1100,1088,852,985,1132,901,814,1122,1256,1172,1278,1256,1106,1278,930,534,744,1019,1014,1174,1016,651,799,1286,1266,1422,1260,750,799,963,858,539,558,1130,1122,941,1138,1510,1288,1316,1198,1010,605,467,461,434,378,370,398,375,404,485,417,408,353,363,361,350,330,287,355,387,408,569,742,550,395,374,449,673,660,527,539,453,473,546,810,827,690,742,578,535,521,607,515,497,517,991,1520,1460,1136,791,553,490,544,547,444,341,372,365,339,377,522,553,667,763,626,616,553,492,502,495,461,412,395,389,339,342,344,328,333,393,409,419,418,387,350,344,411,606,515,318,342,451,443,341,326,328,365,504,621,1184,1090,850,941,1036,859,891,750,491,375,351,336,360,379,593,738,532,518,482,424,632,1020,1144,1098,1064,773,518,684,803,841,1200,1116,686,1088,1394,1262,1284,910,926,1230,750,497,623,952,892,667,659,918,926,774,631,422,361,359,332,342,345,248,262,249,249,300,351,350,686,1048,775,450,442,449,488,698,822,919,772,796,1086,1314,1340,1394,1380,1248,1122,1264,1498,1636,1582,1616,1200,1356,1624,1510,1164,933,1056,1178,1294,1240,744,511,924,1350,1324,993,900,1112,1202,1130,948,943,1060,636,800,904,605,462,521,966,966,747,874,789,497,507,456,505,858,1432,1382,839,805,559,374,328,319,291,322,393,317,293,291,329,348,336,333,379,430,471,453,794,1100,670,459,498,429,562,1023,1330,1092,858,1254,1328,1278,1566,1542,1540,1736,1750,1322,875,1016,626,626,700,717,869,822,824,716,350,322,274,310,535,689,539,414,405,450,499,756,1134,1182,1106,975,850,974,1316,1062,879,805,880,761,964,1390,1462,1494,1574,1282,1021,639,533,786,824,987,1076,620,419,355,310,290,300,405,610,998,1164,993,513,597,1272,1504,1194,863,920,963,774,803,884,561,713,739,564,846,1244,803,784,807,494,391,460,543,569,688,760,527,354,374,432,509,629,1238,1186,899,838,942,1114,980,1042,1140,1378,1614,1248,1084,923,648,592,756,1242,1412,1090,952,1034,1186,1100,940,897,891,1072,1194,992,1070,1350,1302,1134,760,464,361,347,379,430,455,454,388,421,430,658,1570,1952,1534,1528,861,789,761,764,511,317,357,329,369,446,404,271,272,252,269,221,243,235,292,296,267,291,327,425,564,719,778,850,1162,1272,1272,924,552,667,819,1060,1130,1188,1320,1334,1152,955,942,1008,1044,764,891,1268,1198,887,862,1110,1054,875,963,1156,1066,1070,1326,1226,897,991,838,623,509,558,731,721,564,344,484,940,734,989,981,892,1160,1416,1322,1130,882,689,590,610,520,524,458,492,684,963,1124,853,611,488,478,465,338,333,275,334,808,1338,1234,1106,839,542,466,424,275,284,298,266,285,264,246,255,348,379,604,645,717,911,966,890,603,543,496,432,384,519,900,778,641,648,536,616,893,1064,1344,1494,999,691,741,466,357,637,1172,930,684,399,344,394,561,722,816,1036,922,564,363,315,338,451,657,881,881,317,1638,3458,2128,968,499,680,866,905,901,916,1090,1232,1176,1070,997,983,776,470,468,456,390,308,359,396,570,635,534,508,541,486,548,641,707,714,591,539,541,608,709,625,481,807,1058,658,761,937,805,631,979,1188,1042,792,587,783,1138,1128,1019,998,1152,1336,1266,693,441,958,1336,1324,1404,1252,1206,1272,1330,1388,1278,756,418,406,486,717,985,920,1032,1114,1234,1150,765,645,744,614,536,406,540,848,622,427,424,600,764,1098],[249,312,522,701,684,532,545,615,621,463,468,564,904,771,392,341,303,484,485,398,451,431,407,356,482,558,500,459,358,337,1001,957,886,952,695,477,470,891,1196,867,547,473,453,472,485,868,1298,1464,1132,957,1016,1224,1488,1472,1930,1238,651,430,339,465,702,854,1032,727,465,627,692,832,728,598,899,846,1036,1030,1246,1440,959,672,667,695,644,1230,1162,576,808,1368,1124,714,420,365,273,333,543,491,472,543,489,458,530,809,1062,1352,1168,644,502,1050,1128,518,688,934,855,1384,897,305,365,341,273,259,466,782,854,769,726,669,550,437,539,866,915,868,774,778,763,720,518,306,290,233,245,261,265,339,365,312,321,338,400,360,309,346,368,454,526,582,465,484,996,958,561,991,1382,1224,986,705,521,470,296,332,313,335,504,1180,1378,1216,915,756,1007,1194,1094,871,719,712,855,928,888,1206,1294,1106,880,907,1576,1720,1078,1078,1356,1036,890,1156,1004,419,390,952,1620,1182,854,976,1504,1768,788,430,381,421,366,383,463,535,628,707,803,952,937,799,1016,1204,896,536,476,467,347,369,542,756,971,1152,868,436,314,416,481,575,639,852,1312,1626,1556,1066,878,1166,880,528,679,557,647,761,839,626,880,1284,1368,1070,922,1032,1234,1236,1046,732,805,476,786,1030,1336,723,436,438,432,442,422,480,608,783,1232,1210,1108,965,907,895,944,1340,1642,1582,1556,1492,1226,1160,1316,1052,1012,731,700,1354,1760,1858,1344,968,1146,1754,1742,1232,1256,1374,921,560,425,396,426,471,466,1232,1510,643,465,617,860,935,681,492,476,621,769,560,407,469,536,559,579,993,1606,1478,1572,1396,1418,1656,1504,1628,1596,1600,1430,1144,1176,1078,1011,1316,1794,2104,2082,2252,2492,2250,2308,1830,1262,1226,1116,1058,681,548,505,681,756,1026,1386,1216,1006,793,837,1282,1388,1214,1332,1170,844,806,1132,1070,1206,1126,1052,1208,1180,1028,888,892,940,1104,1228,1096,985,1010,1011,992,825,694,1142,1328,1302,1178,854,664,509,445,362,321,384,401,351,405,659,981,1068,998,766,397,386,412,435,432,487,398,525,794,887,816,741,671,607,386,266,263,298,265,275,269,262,279,323,388,436,427,402,343,343,392,371,314,261,251,261,250,276,370,418,402,365,517,1026,1248,1232,1084,1110,871,960,655,417,386,733,827,391,359,445,597,816,1060,1044,1130,1210,1120,1338,1278,982,1008,1180,1094,843,686,922,1102,1072,963,921,930,1090,1194,1764,1604,1092,894,451,425,414,483,411,619,767,593,662,659,441,390,603,842,985,1470,1460,1328,1290,1112,922,1046,1086,1044,766,555,868,1320,1412,1356,1168,1340,976,899,973,1636,1574,1258,1214,1180,1218,1214,1064,868,800,669,598,482,759,1066,912,848,670,516,532,447,359,391,513,546,530,438,688,707,527,473,432,401,430,592,613,692,731,646,557,672,473,814,1150,1010,1088,1548,1134,534,536,604,608,571,571,530,450,449,347,356,977,1560,1238,828,767,702,401,290,260,255,249,214,227,238,247,235,199,228,283,311,316,308,329,384,500,486,414,386,483,448,398,416,380,334,346,415,506,562,574,483,492,522,942,1064,863,774,650,709,651,572,585,457,469,495,432,375,383,458,747,773,644,755,781,576,706,1007,927,1094,752,651,622,375,289,494,844,839,581,536,635,682,824,720,558,505,399,524,423,623,681,597,720,778,636,476,444,786,852,966,1106,1138,1204,1472,1170,651,549,745,844,746,580,569,484,615,673,730,650,625,752,789,813,994,920,774,648,684,558,711,543,475,970,1320,1140,1250,1320,979,828,856,1036,1078,963,502,358,532,872,865,743,397,248,283,308,318,368,338,297,320,372,462,516,602,577,733,911,872,893,825,519,321,310,376,282,266,291,296,924,1532,1638,1244,881,903,893,1036,856,897,991,1194,1458,1706,1646,1432,1476,1672,1628,1278,886,1140,1166,677,540,1072,1586,2144,1958,1196,948,763,681,606,685,877,873,901,647,577,505,1068,1172,1154,1330,1476,1316,1362,1330,1576,1638,1208,841,604,794,786,661,550,338,461,665,711,759,824,1260,1366,846,448,349,462,780,1028,615,314,290,308,373,749,1018,1096,1100,1158,1262,1282,1202,1876,1970,1158,1078,1170,991,1005,1036,902,1182,2376,2332,1464,1144,1064,801,513,492,419,379,326,295,270,290,307,307,280,265,311,341,329,294,286,266,254,321,289,260,354,538,622,634,714,706,1104,1248,866,990,740,675,384,373,477,622,509,936,1196,733,399,295,462,702,542,379,442,555,792,901,879,503,537,838,540,310,285,354,595,934,974,909,989,1072,1003,1158,1360,1252,1200,1282,1212,979,987,1090,1320,1508,1524,1486,1232,1172,1362,1268,1146,875,652,1022,1224,1344,1448,1388,1236,823,741,753,809,737,498,465,459,383,594,1074,1250,1262,1040,759,430,345,486,839,1142,1334,1432,1236,1198,1232,1132,916,500,745,977,1092,1017,969,1032,1018,888,736,874,1218,1404,1194,1294,1246,811,423,329,692,1086,998,915,850,554,617,1198,1252,1372,1088,824,1180,1458,1038,585,800,1114,1046,1068,1460,1992,1420,1246,844,682,662,576,466,501,520,527,525,528,579,769,572,474,382,355,367,385,330,296,416,613,648,601,750,634,664,660,420,368,463,463,520,780,929,1212,1522,1440,821,738,396,456,580,731,525,469,572,1386,1784,1394,1030,714,524,535,648,616,409,350,358,339,330,354,397,342,526,825,752,791,783,728,781,705,644,549,502,528,567,460,325,336,364,427,430,412,374,345,308,361,384,615,517,367,452,588,514,377,343,335,386,543,558,774,1200,951,951,1030,830,702,808,598,393,370,341,344,355,782,1110,809,489,448,444,464,493,525,702,632,445,495,681,840,1204,1496,1094,837,1078,1270,1548,1322,676,808,945,708,576,539,590,719,729,902,1090,810,934,766,444,350,377,450,412,381,299,263,260,294,330,384,392,410,601,942,578,436,438,465,603,920,1302,1350,1342,1406,1428,1462,1472,1284,1118,1050,1278,1424,1738,1652,877,744,1240,1288,1250,1130,1126,1072,1132,1132,737,444,575,948,1296,1376,1044,727,974,1088,1208,1142,930,944,620,589,595,484,455,542,672,587,407,553,789,699,507,461,612,904,1021,860,882,820,518,436,466,404,325,325,364,327,309,321,335,409,417,402,454,450,436,643,1206,1138,900,930,659,460,865,1312,1472,906,636,1094,1164,980,1360,1312,1190,1298,1336,1076,772,954,597,489,698,761,813,947,1036,875,403,339,317,299,574,921,798,454,333,346,348,552,849,1034,1238,1244,1001,948,919,680,495,454,554,575,814,1080,958,996,1128,983,997,551,320,350,761,1106,777,455,477,376,307,334,382,450,693,755,921,603,375,712,1136,1454,1180,977,1256,972,518,568,788,652,689,774,822,1246,1252,683,788,786,437,381,552,790,745,631,686,617,479,420,484,653,628,825,1021,1204,1246,1306,1324,997,996,1096,1268,1400,879,794,658,566,727,960,1248,1686,1330,1184,1028,865,962,939,1013,1146,1122,1052,912,973,1076,918,689,750,602,440,403,379,386,397,425,438,433,372,588,1382,1374,1054,1600,1034,1084,935,657,391,324,341,334,384,446,378,264,270,274,332,309,269,304,468,422,387,495,643,724,805,1002,1056,918,1294,1014,703,978,1050,847,850,1088,1062,1194,1682,1506,1172,691,981,1166,1028,511,366,670,945,832,495,744,791,550,505,720,965,1180,1350,1240,916,672,496,675,745,717,692,729,609,427,414,583,645,1068,1084,1218,1986,1834,1418,1238,973,895,1028,846,918,843,587,338,601,924,938,865,885,893,916,792,629,469,374,378,714,1136,1274,1272,1444,1066,561,361,306,294,282,284,274,234,252,287,348,354,486,556,774,973,1032,949,641,486,439,435,444,432,649,520,853,797,451,463,681,1100,1596,1446,709,510,567,422,341,350,481,933,893,424,292,298,527,653,538,691,667,571,402,318,301,415,567,666,678,427,626,996,1160,1136,942,1220,1102,892,969,1084,1250,1318,1268,1074,900,1068,1086,570,484,386,308,320,340,468,638,626,718,993,874,540,513,604,828,647,432,403,386,521,870,940,651,911,984,506,548,941,1198,756,867,1286,1224,880,585,877,1180,1252,1654,1688,1300,1146,1032,820,477,820,1230,1502,1462,1174,1104,1190,1492,1568,1802,1242,719,521,519,634,815,1126,1308,1240,1134,886,542,478,571,412,383,386,803,1384,1072,713,671,929,1080,1180],[234,231,320,574,645,515,542,633,706,745,877,718,506,317,276,309,322,526,711,531,509,439,439,449,415,306,506,647,414,259,424,401,434,656,787,740,448,750,951,644,527,501,455,464,496,523,679,764,772,990,850,883,1102,1172,1554,1154,724,398,354,501,562,924,1186,575,435,458,369,636,618,476,813,897,1080,993,1092,1226,1054,822,821,590,440,802,693,625,1432,1468,1162,645,256,288,312,488,915,552,694,769,756,772,684,728,1080,1270,760,532,513,574,525,381,612,1138,891,1030,742,360,333,297,259,273,381,521,480,437,358,301,297,305,498,801,888,836,811,766,738,721,529,336,299,263,282,275,284,309,323,336,333,338,378,358,306,356,334,356,426,424,412,426,960,1078,818,962,1021,1052,1288,862,797,919,473,594,739,705,443,767,1224,1408,1074,835,1048,1166,874,505,486,428,506,609,642,1104,1054,897,851,1028,1612,1498,469,351,409,536,957,767,385,419,409,769,1210,993,684,560,1170,1774,528,340,394,423,346,422,675,919,1036,1034,1066,1158,724,559,912,1288,854,558,421,386,399,400,735,1116,1022,711,781,863,552,360,430,574,584,609,509,811,1314,1544,1418,1036,666,545,851,890,953,803,927,961,1116,1470,1330,1338,1452,1256,1476,1506,1562,1098,863,616,762,1058,1252,739,411,465,580,713,973,893,840,1042,1600,1376,1402,1426,1414,1312,1342,1554,1566,1466,1376,1332,884,893,1184,989,1132,957,779,1380,1980,1638,1114,1176,1594,1876,1200,1678,1770,1478,999,688,445,404,419,412,570,1618,1614,608,447,486,741,683,502,489,444,550,574,425,367,454,553,593,628,1054,1602,1594,1640,1438,1486,1642,1536,1506,1410,1046,784,1276,1636,1224,1284,1348,1538,1958,1954,2032,2216,2100,1976,1426,1344,1238,814,810,1100,786,659,772,842,871,748,824,1076,835,871,1378,1376,1228,1588,1274,1082,766,955,1164,908,458,491,844,1148,984,762,951,1108,1076,1062,948,862,1144,1008,646,485,537,792,1378,1582,906,580,473,409,449,334,316,358,389,412,551,764,952,1092,906,626,429,431,399,430,437,477,626,717,792,949,823,664,527,492,274,213,224,200,245,280,262,221,248,305,364,422,389,362,367,400,383,349,300,267,252,245,256,286,337,433,569,597,905,1422,1396,1208,677,878,1088,771,486,483,468,742,729,381,352,460,533,687,960,998,935,765,847,989,750,597,983,1284,1108,994,927,1021,990,1170,1190,1058,974,1082,1114,974,955,1276,1074,532,471,545,457,374,616,771,859,1064,686,501,550,594,673,1026,1544,1598,1366,1234,1150,1090,1072,1182,1188,954,835,971,1268,1448,1438,1564,1602,1268,1118,1284,1310,1238,1348,1260,906,747,672,667,639,624,567,459,341,548,606,544,718,677,565,555,417,320,259,373,584,462,467,695,671,537,455,501,468,338,309,354,442,365,568,803,879,716,894,867,780,1170,1496,838,488,518,584,669,660,525,558,716,791,563,456,819,1296,1444,1258,807,824,708,494,318,231,251,236,231,228,256,287,266,251,257,258,282,283,307,316,400,414,438,463,555,533,403,313,286,322,335,410,558,643,620,620,854,665,582,758,891,810,552,550,597,579,647,576,529,511,430,425,591,1032,1096,870,871,960,891,980,1204,1312,1146,1176,703,639,566,410,336,612,1012,853,496,752,1090,755,630,494,432,515,504,447,383,427,484,491,530,356,399,433,476,915,957,1100,1102,1072,1288,1062,521,517,623,884,1140,1018,647,469,450,695,868,965,683,462,584,477,476,823,728,454,455,633,822,545,562,584,735,1330,1472,1294,1190,852,875,1146,1350,1128,1312,922,469,373,486,579,457,256,293,343,333,344,387,361,359,367,478,692,1030,856,448,695,1290,1498,1082,712,431,339,379,408,298,234,262,313,930,1490,1110,899,852,904,735,943,1008,844,1074,1009,893,987,1322,1450,1524,1584,1456,1382,1140,1382,1058,637,655,1428,1746,2194,1980,1394,1354,1268,1086,847,832,812,972,1262,973,677,776,1024,1140,1184,1162,1234,973,930,751,768,936,1184,1140,1190,1166,1009,1066,684,328,386,430,778,867,1028,1220,1228,1190,883,749,759,1001,1290,1036,789,531,476,709,1064,960,919,1048,1140,1268,1432,1386,1614,1710,1218,1272,1452,1054,775,921,1134,1216,1466,1032,1007,1146,910,657,329,415,435,367,302,258,270,317,325,297,281,303,324,300,315,300,304,294,258,285,308,305,345,403,419,670,957,780,758,871,797,930,786,645,474,340,291,415,542,934,974,529,440,407,452,404,349,392,377,433,479,606,606,396,409,391,255,277,273,305,504,1072,861,714,740,877,1038,1086,1206,1082,980,1032,1038,929,885,1102,1284,1376,1588,1682,1426,1224,1340,1382,1160,1186,984,1274,1410,1434,1278,1200,1258,1248,1072,933,1122,1226,854,505,438,397,333,591,1078,1348,1174,880,484,345,320,672,1236,1208,1272,1382,1360,1198,1084,950,803,1084,1144,1002,933,984,984,920,803,798,919,1224,1318,1342,1372,997,458,325,344,486,696,907,900,769,754,1040,1000,1104,1110,901,726,1076,1286,928,517,772,1090,1148,885,803,1356,1388,891,698,880,928,651,589,585,536,696,665,786,868,1026,766,535,412,368,363,398,397,330,361,581,597,736,1106,912,652,716,601,508,543,692,1372,1672,1106,908,712,910,631,600,361,347,321,366,458,451,678,1348,1576,1340,940,638,545,593,583,477,364,341,339,321,317,344,351,356,615,776,701,791,846,792,746,714,669,651,651,680,697,421,366,354,404,421,404,385,357,329,326,377,479,530,485,638,676,869,604,440,402,340,379,524,590,557,531,626,898,1216,1266,796,716,479,435,394,343,448,445,989,1466,1224,900,620,499,645,620,454,702,653,730,772,775,963,1352,1484,1306,1166,857,816,1150,1222,814,678,725,854,1046,929,796,1032,969,655,816,590,747,610,471,394,399,515,485,365,315,302,325,380,520,597,455,409,388,799,882,633,464,563,808,1180,1376,1350,1546,1602,1626,1610,1238,1180,1306,1218,1448,1660,1640,1328,999,736,889,1084,1204,1476,1216,1032,1180,883,781,949,1190,1394,1050,749,569,623,1074,1318,1268,1010,1048,1021,600,386,475,534,542,666,796,907,442,407,548,810,645,529,920,1056,864,866,907,779,612,710,591,559,523,447,326,310,313,430,619,704,570,469,457,414,446,973,1446,1306,992,1090,679,576,997,1302,1294,967,836,919,1092,962,1150,1098,979,821,834,969,826,607,611,735,899,1228,1472,1332,934,481,397,514,404,292,775,1042,793,449,321,352,505,461,587,883,1134,1262,924,732,907,746,426,400,450,634,790,796,906,535,618,729,913,533,358,405,727,776,490,426,524,571,521,446,446,630,770,808,915,847,703,947,1194,1272,1308,1056,785,541,442,354,554,757,618,507,680,1206,1300,778,544,586,635,515,648,917,960,832,612,437,441,490,809,894,566,596,745,931,983,919,1534,1250,847,783,1210,1336,1150,1013,999,1124,830,777,679,1428,1864,1566,952,725,728,841,1378,1466,1216,1498,1336,965,930,546,433,647,568,403,372,367,368,372,394,431,424,403,437,917,1172,935,985,919,1030,1122,758,337,329,328,325,317,335,330,268,283,306,365,326,329,547,782,779,672,727,1042,1118,989,1376,1434,957,1186,1062,803,1094,1182,752,692,1104,997,1013,2032,1498,1296,1014,1015,805,762,604,433,453,844,1096,551,560,672,443,505,662,902,1060,1112,1070,852,426,277,283,448,692,885,820,792,554,555,805,895,1176,1062,1064,1214,987,1068,935,697,653,1017,1422,1268,1214,896,499,666,1010,1288,1280,1050,1013,1198,1120,988,835,878,697,727,952,1162,1340,1360,1250,850,427,448,716,496,344,294,315,348,308,298,345,404,593,837,905,1046,1032,738,478,477,481,475,503,465,381,398,393,401,401,419,711,1206,1172,1390,841,351,388,341,347,637,912,793,467,336,333,344,433,372,280,403,425,347,342,373,498,590,494,427,408,429,532,857,1290,1438,1560,1276,1038,1172,1244,1222,1272,1264,954,868,1134,1108,807,585,404,367,336,353,449,622,830,924,1278,1028,696,504,702,789,521,435,502,496,701,1172,889,646,742,773,901,929,1130,1198,777,1044,1200,973,810,799,1120,1144,1106,1296,1544,1448,1166,1208,823,343,507,749,861,693,461,610,1078,1704,1560,1334,1058,1048,749,1038,1394,1005,891,1138,1220,997,680,430,362,438,387,352,368,812,1180,935,876,1186,1224,1432,1484],[234,204,277,488,602,577,728,695,718,824,959,897,673,512,390,303,338,413,675,653,542,310,337,360,271,284,464,501,525,567,488,542,578,624,702,611,430,671,819,805,630,480,441,462,472,452,494,494,553,1016,923,972,1156,1058,1084,952,545,330,395,499,481,529,651,591,597,440,362,361,333,589,908,604,439,651,979,969,505,444,562,553,658,741,908,948,1470,1528,895,486,371,287,328,563,1176,871,579,688,907,1206,1154,777,703,664,527,456,469,410,448,559,861,1146,819,940,735,339,350,340,275,267,305,279,259,246,238,239,253,254,440,753,846,832,856,771,694,648,436,307,293,270,240,234,271,283,291,345,339,307,326,355,336,404,498,634,673,775,800,727,878,967,856,805,830,848,907,487,572,778,655,774,839,700,726,911,1214,1504,1350,944,825,681,449,761,700,371,324,406,466,514,504,542,652,759,835,680,386,536,863,872,899,623,393,540,633,818,1388,1002,758,664,980,1100,415,358,445,371,433,683,962,1284,1226,947,955,1046,841,936,1332,1148,757,613,477,523,462,453,662,906,738,513,579,752,792,504,417,859,1110,760,547,546,698,1226,1510,1530,1226,1042,1294,1328,1410,1366,1382,1494,1714,1888,1800,1780,1760,1762,1830,1816,1808,1736,1584,1448,1534,1660,1430,1200,1218,1258,1218,1308,1642,1626,1466,1470,1556,1556,1674,1632,1450,1360,1354,1092,732,868,982,1202,1046,980,803,690,903,831,647,714,871,1048,1210,1082,1388,1688,1542,2084,1838,1458,1258,1154,971,592,487,408,608,964,810,529,545,745,826,548,503,495,463,502,458,391,365,390,503,608,978,1478,1750,1910,1586,1704,1970,1792,1694,1418,926,604,767,1432,1402,853,736,794,1124,1504,1658,1858,2042,2066,1614,991,794,648,638,921,1166,1110,1324,963,768,738,700,789,789,888,1340,1550,1212,1092,1148,1310,1280,1086,1196,1478,1192,601,337,497,780,867,966,1090,1274,1356,1128,1162,2360,2146,819,434,346,361,564,1108,1566,886,506,376,406,450,373,392,396,404,440,515,585,695,705,825,550,428,437,411,436,465,505,654,750,936,957,789,848,551,326,283,233,233,225,248,259,262,241,252,368,600,643,383,373,382,403,390,336,264,235,247,247,239,242,255,313,509,659,1548,1576,944,1038,917,811,948,939,1078,1196,753,891,753,612,671,599,708,833,925,908,830,917,1048,782,480,641,948,1126,1230,1362,1348,1114,1184,1252,1046,1130,1026,1134,1156,958,1354,1500,1138,656,701,753,502,473,543,575,1052,1246,866,878,973,774,717,1188,1464,1270,901,946,1276,1388,1300,1206,1186,1200,1196,1212,1023,1060,1262,1344,1060,937,691,438,549,848,1236,1404,720,433,422,669,800,651,568,416,327,419,393,462,807,827,597,573,464,379,280,720,1138,934,772,648,494,434,416,455,340,281,278,356,511,393,316,480,680,894,1028,1028,777,1096,1128,501,455,746,788,856,980,688,457,613,761,716,735,1154,1292,1106,951,1018,854,822,711,358,213,260,255,235,234,244,274,269,238,244,282,306,292,309,298,316,411,506,553,531,447,337,284,273,303,357,491,648,705,535,859,1158,659,639,1182,1842,1102,636,528,577,573,616,597,577,550,520,484,688,991,935,841,744,1168,1056,1210,1092,852,1134,895,551,571,498,495,374,587,788,716,490,571,618,465,374,329,367,489,505,431,417,423,408,514,667,569,556,520,718,843,959,1120,1002,816,1036,946,754,907,908,1016,1616,1456,910,596,565,525,500,588,393,350,402,407,401,705,561,470,426,594,852,795,980,998,615,946,1486,1458,1090,1015,1180,1148,897,775,1228,1098,454,284,342,277,264,277,330,381,353,361,367,435,545,497,648,1162,1214,628,385,561,1476,1592,766,938,615,339,302,238,250,262,255,289,725,1152,573,768,1128,1023,960,1010,1080,951,940,1204,1324,1110,920,998,1390,1404,1432,1836,1854,1604,977,577,866,1418,1678,1912,1574,1376,1390,1438,1212,1050,922,735,673,647,778,957,830,722,1052,1192,844,610,807,711,445,365,697,899,1070,1360,1190,1006,929,451,467,676,849,1312,1282,1344,1218,996,964,1094,1350,1284,1172,1282,1340,1460,1112,591,660,923,750,759,918,941,1224,1288,1344,1280,980,1214,1070,1230,1108,1192,1376,1224,1250,1017,639,810,963,808,630,484,526,529,420,342,324,310,323,355,347,338,328,333,252,234,298,350,329,268,291,370,386,392,423,407,490,575,511,740,598,590,745,1174,1426,1054,603,426,312,393,516,479,407,412,428,456,375,372,369,329,344,405,443,346,284,325,328,310,311,278,311,692,953,987,1010,1042,1084,902,1007,1021,819,946,1013,1226,1316,1196,1102,1152,1238,1394,1582,1540,1378,1466,1588,1198,1394,1194,1384,1382,1472,1226,965,931,974,1186,1438,1312,1560,1614,1086,684,578,672,1046,1370,1498,1360,968,703,601,587,642,902,1042,1404,1528,1318,1262,1216,1398,1648,1336,1234,928,828,852,860,1078,1076,1202,1302,1260,1206,1230,1260,965,510,363,434,422,458,831,1332,1072,751,781,546,861,1094,1238,1490,1174,835,988,1164,1250,1172,1128,663,764,1378,1302,764,656,855,785,493,468,379,365,935,1316,1332,1300,905,743,649,418,350,406,580,574,441,421,620,542,563,755,691,830,908,735,594,612,944,1394,1210,520,318,283,313,418,463,433,466,371,257,321,416,589,937,1208,1140,666,540,558,638,500,358,343,345,336,315,325,349,332,346,743,752,691,765,716,678,763,771,662,697,811,751,598,406,393,393,455,421,370,357,344,317,366,587,855,819,1074,1116,1090,1100,672,438,398,459,457,490,508,544,661,1026,1496,1444,1600,1526,1184,622,422,394,336,529,751,663,636,979,769,463,499,848,1100,832,780,723,756,874,792,891,1228,1134,815,1220,1340,844,641,770,572,484,637,1028,1244,783,484,683,735,429,447,355,447,456,464,513,516,602,594,393,339,372,449,719,891,1009,778,537,448,485,808,902,761,898,1094,1216,1388,1210,1240,1482,1322,1350,874,1156,1522,1512,1586,1656,1746,1808,1768,1318,1007,1204,1686,1554,1340,1238,1168,1060,1346,1482,1432,1072,571,880,780,932,1158,1544,1556,1474,1252,927,622,471,880,1230,932,828,898,1134,774,936,1368,1152,785,835,1282,1406,1120,769,724,1110,1056,625,639,905,1040,674,348,305,320,497,686,638,556,539,469,436,428,911,1320,1288,936,945,666,502,844,1274,1224,1124,1182,1064,1122,1338,1332,1154,1076,1108,1128,1044,836,834,1198,1086,621,885,1164,1146,821,453,524,586,437,334,467,689,623,389,266,359,608,608,613,528,738,797,722,601,780,788,476,448,658,778,625,500,677,767,1214,953,614,504,392,417,409,437,441,398,490,617,508,401,458,870,1174,1056,1038,1250,1092,950,1120,1240,1496,1304,868,619,716,583,671,814,888,968,855,605,696,469,542,480,518,508,549,747,1246,1194,638,398,403,625,1032,881,634,705,584,538,677,482,905,999,670,1056,1856,1560,1064,867,639,607,512,492,683,1252,1868,1616,1242,1146,775,766,1360,1260,803,1060,1066,1040,864,436,365,421,332,269,331,361,370,375,390,416,390,410,435,657,822,737,759,766,841,1015,866,496,458,487,474,412,522,802,618,466,497,585,669,722,788,729,594,447,692,1052,1404,1472,1758,1434,1086,1284,1284,1013,902,638,394,554,1028,936,809,1534,1278,1614,1780,1330,942,593,447,473,478,761,1132,606,636,788,686,755,755,848,996,1132,1436,875,385,265,335,286,379,651,937,980,780,685,1076,1378,1058,768,653,568,556,586,825,943,807,1132,1636,1246,1024,912,929,1032,954,1130,1126,999,990,949,875,681,750,836,761,969,1120,1162,1158,1040,1066,878,697,1246,1918,1054,491,414,386,354,270,261,297,403,680,875,749,818,915,767,521,447,458,495,495,395,413,410,465,442,467,476,721,959,935,1054,634,416,425,331,536,844,1018,888,556,417,360,328,402,403,354,337,298,309,340,340,436,555,498,505,647,547,644,1050,1350,1456,1426,1068,1202,1416,1452,1510,1396,1216,952,1036,1184,1112,1036,697,390,451,357,343,396,513,749,738,1048,1262,871,577,749,594,401,550,866,789,927,1316,868,719,689,1015,1172,1026,991,885,904,943,865,727,694,962,1122,1038,893,846,875,984,1332,1298,702,349,332,364,460,504,565,997,1302,1282,1360,924,574,598,531,1026,1738,1642,1222,1274,1070,755,621,438,329,379,426,464,480,623,836,1054,1262,1380,1508,1488,1590],[184,197,223,265,392,428,505,516,503,563,688,656,536,495,359,269,291,321,369,393,393,302,286,364,458,505,455,422,561,630,585,542,504,448,1094,1001,530,490,516,538,578,514,443,438,424,448,471,466,527,883,776,864,963,790,856,834,584,377,420,528,638,456,425,938,1088,952,677,448,499,949,1126,558,412,639,928,799,468,486,471,458,475,601,785,1050,1454,1456,1026,938,810,418,291,536,1038,883,726,883,1064,1122,1120,862,356,418,624,739,1056,1246,1204,1158,1196,1038,821,706,430,343,325,321,264,279,309,274,209,234,250,256,257,239,381,696,794,779,792,782,733,724,411,285,308,272,250,265,309,273,314,530,401,300,300,333,378,430,734,1056,1222,1250,1006,810,943,1032,755,697,861,1136,902,403,466,1132,1034,748,727,647,995,1060,1162,1376,1140,656,687,540,462,623,730,587,426,400,454,504,521,480,471,425,421,361,413,770,1214,1174,903,830,766,760,908,877,1244,798,807,629,492,290,241,327,427,390,661,1290,1312,839,883,504,786,741,640,862,1316,1242,993,582,362,481,566,405,406,634,553,464,500,486,722,908,912,1460,1802,1316,782,597,852,893,761,1011,1618,1850,1946,1938,1856,1816,1816,1908,1936,1830,1744,1660,1604,1748,1476,1160,1318,1518,1566,1556,1618,1370,1250,1106,916,813,1168,1586,1628,1502,1015,1098,1526,1544,1304,1234,1140,1116,1254,1202,707,722,1142,1644,1526,1120,672,468,522,594,700,847,706,1130,1714,954,752,1068,1546,1752,1250,987,1200,1740,1658,913,805,605,505,419,488,498,744,812,585,467,524,522,502,469,431,379,364,404,490,834,1506,1860,1988,2014,1744,2358,2344,1312,792,543,472,675,836,1348,959,550,648,769,1196,1712,1844,1860,1834,1766,1104,824,661,528,586,967,875,1572,2066,1456,903,854,816,579,510,606,880,1194,891,1044,1190,1144,1072,1254,1174,1086,1294,944,386,413,547,897,1138,871,959,1516,1406,1262,1836,1588,841,410,344,335,421,1052,1598,1072,484,385,508,379,365,537,442,477,644,850,837,1166,1003,1014,647,422,441,441,460,468,494,439,549,828,747,667,732,465,298,235,266,262,211,216,243,263,272,309,441,619,589,358,343,386,381,382,339,249,225,257,276,259,264,308,323,393,354,1132,1034,796,905,663,450,532,929,1560,1838,1148,1438,1172,944,1200,866,484,683,802,624,651,1078,1060,896,1078,955,991,1010,1178,1368,1450,1050,1023,1224,1144,1174,1012,1182,1094,1084,1552,1532,1066,594,636,633,496,526,510,782,993,853,1180,1136,1028,1122,1082,1274,1340,1190,960,1092,1340,1438,994,774,1004,774,557,716,557,810,1456,1194,679,725,614,368,451,763,1170,1124,659,455,419,554,662,658,547,344,269,409,494,562,695,532,495,504,414,394,383,793,1270,1300,1040,561,403,338,412,437,357,293,265,478,643,397,289,389,521,662,1068,1300,1198,1402,839,450,618,1134,1274,1156,1013,639,446,570,700,846,1070,903,772,648,783,772,488,722,791,438,229,252,256,237,243,243,249,235,238,232,278,311,301,301,298,301,346,452,672,694,615,368,307,304,329,374,470,546,498,390,659,963,1080,1070,1328,1890,855,509,492,574,578,551,551,554,554,531,537,536,460,550,590,888,1324,792,770,1012,962,1005,736,395,357,316,395,457,862,774,677,462,372,360,351,390,422,393,431,431,391,311,348,332,781,963,774,571,642,883,1214,1344,1162,1236,846,1070,1250,1272,1362,1176,905,1392,1594,1076,615,538,517,325,350,282,310,377,293,491,728,670,565,344,320,542,877,1056,1100,608,623,1418,1400,1238,1312,1304,1324,1150,1032,862,558,413,382,290,220,264,345,376,355,301,297,341,529,647,550,819,1324,1050,490,337,295,808,942,453,604,552,357,329,294,311,273,256,248,274,280,325,688,1222,1146,1336,1204,959,1122,984,943,1370,1874,1570,1212,1220,1222,1418,1820,1830,1528,978,612,1116,1576,1866,1748,1390,1434,1426,1396,1130,1001,927,855,1001,881,690,1003,866,548,749,822,673,1350,1282,846,658,420,389,478,792,1006,1194,899,738,520,424,418,533,965,1360,1450,1266,1088,924,1064,1290,1116,1174,877,990,927,501,501,459,692,1064,1272,1190,955,1110,1140,1350,1120,1052,1252,907,780,1040,1362,1276,1266,1230,1118,836,686,469,467,626,746,853,962,651,347,355,308,289,327,339,331,346,380,307,246,317,370,348,310,297,399,509,445,363,363,376,381,521,683,624,567,534,709,1128,1062,671,499,466,378,352,360,445,401,561,769,533,302,411,529,441,341,397,330,329,289,272,260,319,240,772,1236,880,973,1300,1224,1096,921,963,918,807,918,1004,1130,1384,1364,1136,1062,1110,1334,1576,1648,1620,1406,1320,1274,1160,1232,1250,1074,1030,1176,1166,901,830,1136,1130,1152,1494,1668,1248,1038,1013,1176,1230,1262,1364,1468,1366,1334,1220,1142,791,875,1228,1274,1246,1150,1000,1214,2174,2136,1302,1224,1208,1238,1174,1050,1128,1250,1340,1426,1454,1252,1076,1112,1120,796,498,344,322,426,860,1232,847,529,789,803,817,1050,1346,1614,1444,1138,1232,1208,842,479,615,491,841,1398,1252,910,842,1010,757,455,355,324,275,870,1326,1196,1204,941,689,626,593,586,489,573,633,593,714,873,935,926,631,623,819,714,694,677,562,600,473,324,266,254,297,362,535,489,485,517,360,260,324,408,565,1204,1344,935,562,518,552,537,395,335,310,321,317,314,322,343,326,369,775,755,709,765,702,686,757,782,697,705,800,725,456,358,406,387,376,349,355,350,321,329,365,610,1030,961,1522,1228,985,964,650,263,631,1094,716,524,457,553,656,1172,1460,1716,1770,1850,1396,639,443,360,367,507,553,610,633,741,672,656,811,943,1198,823,567,685,615,689,584,684,924,762,476,568,1072,1288,1142,731,400,362,436,575,559,448,390,546,565,401,420,435,452,489,597,801,792,629,551,483,419,555,1032,1318,1144,1082,1060,870,593,406,514,790,1170,1290,1278,1310,1108,1011,1212,1384,1438,1472,1274,1696,2040,1852,1720,1858,2296,2054,1836,1316,834,990,1494,1764,1382,995,776,727,816,1038,909,585,839,1526,1182,999,1284,1432,1744,1784,1224,1154,865,729,1174,1150,894,805,996,1636,1548,1728,2220,1378,749,1314,1690,1646,1312,950,851,1284,979,439,490,1003,1162,747,387,344,386,475,583,469,513,503,455,514,529,491,918,821,590,822,786,594,636,996,1180,1354,1444,1328,910,852,910,989,937,910,1019,991,901,958,1134,830,644,747,1206,1326,977,769,705,685,894,772,368,368,403,384,266,333,371,477,466,339,406,523,675,531,495,699,857,792,731,785,575,568,646,670,1112,935,555,506,542,567,526,1030,609,485,400,403,318,328,446,764,1048,1230,1250,1056,960,1076,1216,1282,1178,1260,855,761,967,812,746,1038,1228,1194,902,499,544,490,585,406,367,452,413,603,978,764,419,384,364,560,920,695,1058,874,586,636,719,475,602,852,611,785,1372,1226,1038,904,457,274,585,1106,1324,1174,1568,1692,1216,1013,904,954,927,708,467,777,1023,1070,865,623,571,493,309,246,315,339,368,410,456,449,420,460,494,577,566,641,640,612,740,1144,1023,695,626,678,735,667,767,929,628,575,599,522,467,364,335,296,298,356,892,1020,1148,1256,995,866,1132,1300,1212,983,822,550,503,693,714,813,956,979,839,1400,1708,1356,1006,582,505,495,434,481,479,430,541,558,507,543,572,784,825,977,1372,894,452,292,344,283,296,343,521,749,957,984,969,884,777,767,626,597,905,794,875,1300,1390,1466,1384,1068,943,1058,1230,1246,1100,828,866,1042,1156,1076,1202,846,650,781,504,549,946,995,1066,945,650,631,747,1630,1976,1296,885,585,356,299,244,258,291,343,352,589,528,390,455,514,441,418,413,495,564,445,437,414,511,605,891,786,838,967,977,869,416,401,418,655,1290,1222,1318,1023,928,745,526,427,405,362,403,402,315,288,340,358,426,610,839,940,1010,974,929,1074,1162,1182,1340,1352,1392,1474,1462,1318,1168,995,938,1062,1158,1180,1160,943,859,800,603,405,452,751,1246,1180,1040,1180,1030,1180,1172,879,1186,1136,1108,908,1010,1062,857,825,780,1074,1156,763,525,679,736,841,908,880,989,1166,1228,1284,1094,893,729,1148,1398,802,401,358,366,369,438,579,619,935,1110,824,698,793,647,633,944,1086,1298,1538,1130,1206,1250,832,592,460,385,503,771,768,590,547,871,1430,1566,1456,1422,1548,1838],[188,198,205,239,244,258,290,303,337,448,516,440,349,309,287,303,311,273,240,266,299,378,487,555,667,579,336,360,439,469,578,639,828,883,1328,1408,892,453,493,536,551,539,483,465,460,473,466,424,576,651,437,525,687,636,488,475,486,456,502,621,651,453,385,789,1214,1400,1088,876,924,1260,728,418,388,553,965,1198,764,462,536,499,451,421,430,685,1284,1240,972,1180,795,429,280,419,596,754,890,731,760,862,1180,1004,785,1346,1318,1007,1072,899,630,393,366,624,625,535,665,593,314,291,273,269,296,308,269,238,233,249,284,337,386,677,742,764,841,918,890,872,559,332,311,288,268,274,309,311,309,449,357,314,326,386,430,429,537,529,511,589,677,612,882,1100,996,1114,1162,1192,1066,607,688,1322,1172,1096,926,763,1040,568,841,1212,1234,744,535,658,624,700,932,635,381,387,476,439,423,458,491,474,406,395,572,855,933,778,730,1104,827,783,756,908,915,783,787,603,407,476,501,331,442,537,818,1802,1832,1042,1110,729,851,703,487,440,616,730,644,466,329,387,511,419,630,748,500,385,404,446,882,1554,1686,1900,1842,1432,1360,913,1242,1300,921,698,1400,1620,1388,1390,1390,1344,1356,1290,1110,1044,1300,1294,1152,1716,1216,721,1003,1310,1378,1354,1538,1328,1218,628,418,463,955,1318,1444,1320,1146,1560,1666,1250,999,1336,1174,711,1070,1358,1112,1072,1030,1112,1264,1182,764,472,612,996,1274,1534,977,1200,1724,874,518,1302,1540,1110,1170,1116,1132,1688,1564,878,791,1068,823,654,495,466,560,473,365,436,534,750,569,440,473,437,450,505,764,1186,1684,2100,2300,2160,2148,2436,1936,883,682,752,1023,1432,1394,1628,1128,591,612,794,1714,2444,2138,1638,1450,1498,711,586,512,514,517,600,519,745,1216,1230,868,1094,932,630,502,460,649,830,877,1180,1274,1156,1090,1222,1194,1308,1428,1230,555,592,854,1028,1144,966,769,1112,1192,1066,1094,1252,618,385,442,528,650,1248,1666,1404,814,525,557,379,346,410,431,612,907,1124,1230,1380,1332,1106,596,394,379,397,429,418,433,378,556,492,479,514,518,561,464,276,283,246,241,259,248,292,274,246,426,656,758,512,352,391,386,383,347,261,244,250,299,276,281,272,286,310,477,719,724,666,536,401,429,478,882,896,1140,913,807,755,852,1048,775,496,529,679,642,854,1166,1224,1088,1592,1368,1126,902,1126,1824,1706,1050,987,960,873,1262,993,733,666,752,1088,1208,1030,596,281,253,318,476,844,978,918,886,1032,1120,1306,1108,1058,1096,980,1192,1240,1274,1072,1102,1394,1034,1150,710,655,889,671,569,620,519,722,952,776,624,464,646,993,811,491,393,413,473,612,715,554,262,283,627,594,532,541,429,591,637,366,333,585,977,1246,1346,941,440,380,386,525,490,371,325,315,400,393,330,270,329,772,1196,1222,1160,980,1268,1160,734,590,775,1140,1298,1062,899,843,872,708,635,638,591,675,788,966,960,763,568,609,414,242,257,241,247,232,209,236,240,237,243,269,282,282,282,302,308,318,368,736,831,846,584,331,269,306,306,371,420,373,371,471,818,828,659,759,642,485,474,402,488,583,538,468,505,571,605,587,549,549,543,479,894,1116,733,500,649,861,935,556,359,319,295,326,429,745,967,864,476,354,356,382,451,536,480,418,352,306,330,489,474,915,1104,974,809,710,920,1376,1260,1032,1188,1314,1156,1478,1570,1242,1124,1030,1134,1050,836,710,559,485,347,375,343,307,349,363,577,719,919,788,411,378,477,799,1170,1248,872,825,1516,1616,1532,1134,1044,1264,1478,1396,787,413,426,379,248,263,320,372,379,342,283,236,323,650,914,611,578,959,883,529,354,325,336,423,348,435,464,355,322,261,269,250,259,270,270,330,325,606,993,997,1166,1058,806,1100,1190,1152,1000,1200,1654,1722,1782,1694,1408,1200,1182,1270,1013,755,1306,1864,2322,1788,1488,1506,1426,1214,980,900,855,1064,1346,1024,915,1098,772,657,929,912,658,1112,1190,1122,803,357,426,615,843,1042,1366,1144,894,738,485,355,676,1068,1282,1240,1064,1226,1306,1088,1092,1164,966,643,820,620,508,730,709,717,1112,1276,1184,1202,1262,1126,1106,887,1017,1406,1226,707,946,1284,1340,1264,1070,1302,971,937,598,398,517,478,708,855,544,356,338,323,314,323,328,391,386,357,299,281,321,341,329,270,290,530,581,419,297,350,375,403,478,473,398,422,410,377,451,695,921,787,703,772,798,499,444,377,540,694,458,397,512,678,500,429,390,307,425,327,258,310,311,339,785,760,274,430,665,1011,1040,984,852,1052,1014,775,765,946,1136,1168,1154,1138,1216,1268,1424,1584,1678,1518,1338,1168,905,938,991,790,606,811,1052,893,936,1246,1138,1036,1218,1222,1382,1460,1344,1250,1330,1540,1306,1506,1360,1350,1270,1384,1360,1022,1032,869,807,1062,907,849,990,720,670,989,1246,1110,1314,1206,1038,1056,1076,1266,1288,1008,993,983,1310,1186,855,556,622,774,1188,1252,941,695,530,619,750,833,988,1230,1312,1366,1076,587,418,461,762,976,962,1026,1164,1112,908,1120,630,448,372,346,344,518,828,939,857,717,812,809,927,965,563,589,905,1018,1086,1020,934,688,456,675,901,659,634,619,458,449,424,379,388,468,646,711,502,391,565,560,321,329,383,548,733,1104,1170,742,498,529,506,389,339,330,330,316,309,323,318,330,303,497,862,824,768,808,772,709,716,749,733,733,717,604,499,438,354,321,333,353,359,356,397,404,432,732,1156,1254,1660,2020,1588,1148,861,286,576,1136,661,474,440,589,600,951,1122,1400,1638,1686,1100,417,393,408,408,480,471,764,755,576,468,985,1470,1474,1384,847,693,839,655,609,543,539,563,493,485,517,612,836,1156,1266,891,535,408,383,399,443,457,747,939,673,542,642,694,658,694,892,901,819,752,531,490,795,1066,1140,1096,1017,1120,1232,1094,667,523,616,941,1314,1194,1066,866,1032,1334,1268,1360,1622,1678,1734,1896,1842,1792,1824,2342,2314,2194,1242,763,897,903,1011,1402,1300,926,1200,1072,950,718,695,885,1246,1318,1210,1164,1444,1908,1686,1166,1238,976,1080,970,681,741,791,1046,1378,1058,1108,1428,936,728,1038,1472,1696,1254,950,951,1010,767,497,370,448,576,475,368,407,464,424,397,470,457,418,377,756,863,527,684,630,498,569,536,595,575,785,905,949,1114,1024,577,554,953,1238,1062,949,882,921,910,759,568,504,880,775,1106,1446,1080,601,390,655,1166,966,335,400,441,381,333,363,350,418,427,349,448,869,1118,500,578,1010,1314,1158,881,748,710,900,999,848,800,734,591,386,356,442,533,805,546,488,320,259,290,320,543,669,614,629,543,398,559,820,745,768,606,984,995,975,1164,953,591,696,707,473,272,462,469,436,437,335,295,302,334,531,662,441,333,336,311,345,633,866,1112,915,571,592,678,552,916,1268,971,546,987,1358,1264,1174,767,411,532,913,1336,1520,1242,916,519,402,499,680,486,388,486,983,1196,1102,1166,1318,1214,833,408,318,348,395,397,417,446,427,441,485,529,514,588,724,426,463,579,1060,1148,702,571,770,1050,818,726,904,883,886,415,257,322,413,448,385,362,322,898,1206,890,652,626,879,929,978,904,872,857,877,945,840,549,764,1026,990,926,806,805,926,941,644,527,439,414,437,466,450,419,407,524,579,773,895,843,792,935,1015,599,328,290,264,277,300,333,476,785,1028,1066,1084,1208,1328,1106,1013,1464,1062,786,991,1068,1072,1292,1198,1090,1050,1023,816,786,933,896,860,938,792,727,634,609,772,542,665,1070,892,775,894,865,709,558,1090,1490,1150,954,462,274,260,282,319,296,385,373,557,516,319,417,445,395,400,378,470,519,449,405,445,690,786,957,841,824,921,1252,986,414,454,717,969,1094,1002,952,923,978,1156,1009,640,663,488,379,373,360,477,485,432,664,1160,1148,947,1166,1206,1132,1148,832,809,1098,1400,1438,1468,1124,748,880,1106,1060,987,1146,1138,893,798,957,1060,702,514,622,858,1698,1690,825,840,1056,1180,789,644,1128,1310,1012,875,944,955,836,662,694,830,747,473,465,601,554,626,648,866,1218,1202,1272,1316,1028,656,820,1244,964,431,377,377,546,653,522,542,669,716,684,482,497,569,733,1114,1670,1680,1394,1166,822,967,1202,990,742,559,506,614,1060,1422,1406,837,1190,1464,1322,1298,1294,1322,1160],[261,246,238,238,255,282,301,390,488,531,467,366,334,357,367,358,316,325,302,269,249,314,496,606,645,468,349,464,624,875,1164,1156,1164,1050,850,955,1016,539,592,552,574,571,668,680,628,560,477,479,641,805,852,880,902,731,478,400,450,630,610,680,713,521,539,711,889,1038,1180,1176,924,874,437,332,340,438,558,660,514,467,611,552,514,454,458,439,1024,688,708,964,1030,867,481,440,414,375,462,418,417,475,1012,1032,752,918,647,343,289,240,314,369,394,424,388,476,623,521,392,382,330,306,285,283,324,290,300,315,407,540,483,656,736,805,949,1015,910,714,446,324,288,292,285,292,275,290,317,372,330,336,383,420,421,470,493,431,645,752,655,500,1238,1356,936,1250,1256,935,1080,760,527,980,865,999,796,865,1208,962,1172,1038,1178,1266,902,873,631,441,502,395,311,321,477,716,794,605,626,735,687,735,1112,1388,1388,1132,730,1032,966,971,767,905,872,679,750,597,392,792,868,448,432,657,751,1622,1390,1048,733,929,1092,703,452,395,428,356,356,457,357,387,435,482,866,839,593,595,547,560,1384,1616,1013,1322,1632,1726,1282,1064,1240,1118,706,853,1278,1162,840,943,1226,991,1050,1072,764,828,1262,1328,1100,1234,1048,926,927,803,1104,1390,1234,1216,1376,801,514,508,771,802,1228,1660,1260,1272,1152,736,539,829,904,553,851,1128,1023,1026,1036,1206,1556,1284,747,604,601,1132,1664,1562,1400,2000,1772,952,866,1698,1274,680,1076,1414,1318,1248,1074,541,547,835,1074,1007,775,597,527,446,397,501,807,1194,921,579,462,452,575,1072,1760,2030,2092,2208,2294,2220,2156,2092,2046,1650,1614,1672,1860,2070,1932,1820,1308,941,1030,1276,2088,2446,2254,2252,1966,1062,502,432,455,496,503,502,463,568,728,696,736,1092,898,956,763,709,1122,1070,1146,1260,1136,1406,1220,1234,1238,1292,1132,1152,805,982,886,669,1023,1044,819,1052,704,800,490,477,411,708,1050,1026,995,1216,1200,1306,1232,511,415,348,434,453,503,843,963,1166,1294,1172,1194,797,419,352,326,336,364,354,358,455,438,406,476,408,319,416,497,400,362,398,323,276,251,239,218,289,595,755,652,410,340,365,386,407,330,255,267,308,288,262,246,230,241,274,552,897,875,580,487,392,398,595,936,691,563,713,875,895,1030,985,791,960,908,954,1738,1448,1072,876,918,1160,941,899,1122,949,984,1078,797,875,1005,734,745,619,473,444,714,966,1000,1070,817,354,301,315,318,572,482,794,1246,1372,1416,1170,684,576,686,904,1112,948,1090,976,877,914,825,880,738,868,1146,851,404,346,410,542,960,1226,1136,539,376,450,473,487,455,523,561,622,622,505,271,261,396,420,404,466,439,612,635,367,481,818,1120,1136,1238,828,449,389,466,586,500,383,385,385,341,298,326,306,480,631,803,1144,1296,1188,1152,1394,1282,735,441,650,1044,1182,1272,974,1344,963,621,548,907,795,764,753,948,927,688,731,462,270,236,208,224,203,187,226,252,234,267,268,216,224,272,318,288,311,325,474,666,769,666,440,308,270,273,313,359,365,351,458,855,824,619,425,473,518,463,468,488,532,563,485,468,589,754,805,665,553,539,521,566,636,699,752,852,728,872,529,373,338,290,284,377,556,974,1012,556,520,732,626,399,449,426,349,302,311,418,648,720,729,774,848,963,1036,645,745,677,899,1526,1594,1004,1088,929,937,1210,1284,1278,935,872,856,648,428,338,305,307,289,407,711,784,714,735,524,506,469,510,677,982,1268,1194,1360,1728,1644,1308,1124,1056,991,1026,1172,827,397,351,266,258,324,345,370,361,349,322,315,379,659,709,767,890,1044,751,497,458,599,647,400,407,386,357,296,287,265,250,268,277,299,312,314,437,1001,1566,1686,1580,1342,1266,1498,1304,1272,1160,1172,1166,1400,1600,1782,1950,1748,1538,1450,1306,1180,1478,2112,2238,1738,1614,1570,1414,1116,946,893,858,951,1134,877,1068,1350,967,871,1150,1072,784,1008,1240,1086,624,369,462,730,839,1076,1040,874,811,599,396,369,423,658,980,1094,1108,1174,1224,1014,951,927,680,678,717,611,479,579,612,571,1222,1460,1308,1310,1498,1194,854,722,1007,1538,1210,919,1138,1146,1422,1144,1108,1056,921,1084,725,549,555,345,333,276,307,370,348,327,329,351,364,382,341,287,272,276,298,319,332,313,359,557,634,586,400,309,311,368,395,351,371,375,352,359,415,612,825,579,487,817,825,454,309,272,348,402,350,429,438,550,390,383,498,415,417,346,333,372,329,447,771,791,458,299,303,452,743,727,744,1182,1054,611,779,943,939,1160,1216,1220,1230,1238,1328,1476,1616,1626,1490,1152,952,1046,1118,988,800,983,1364,1064,1704,1776,1238,916,879,873,938,1013,919,1068,1138,1256,1144,1392,1274,1106,1070,1428,1604,1384,1430,998,619,939,1124,1112,830,608,607,926,1102,1220,1276,1138,1172,1026,1060,1146,1218,1005,1136,1096,1128,1294,1180,1030,982,977,1306,1436,1406,1282,854,632,952,974,675,1015,1318,1462,1112,663,536,632,906,1094,855,851,1005,1108,984,855,556,501,386,281,261,372,483,440,402,439,910,1070,995,727,494,709,1188,1438,1338,1194,1082,554,372,667,775,590,572,672,681,628,572,539,477,447,453,530,421,348,491,530,380,339,349,452,605,701,709,576,517,520,397,319,364,314,333,323,303,337,334,330,335,614,828,723,789,867,867,744,633,581,604,669,651,506,470,452,330,390,457,426,457,506,670,659,505,764,1338,1710,2632,2470,1082,1100,1038,493,557,995,814,532,476,660,695,637,792,1588,2006,1578,813,512,367,361,470,667,1294,1044,648,516,402,987,1626,1660,1410,1158,1036,1066,903,839,730,579,451,497,638,794,711,533,596,848,1174,994,672,439,453,562,582,720,831,595,553,666,736,692,686,767,816,766,612,440,505,794,949,1018,1003,1080,1272,1382,1224,772,974,979,740,1094,1192,1072,1132,1350,1278,1100,1408,1570,1534,1590,1844,1650,1338,1484,1728,1796,1674,1374,1288,1122,639,960,1640,1534,1274,1246,985,998,1138,1023,784,1062,1388,1190,1028,1294,1190,947,949,1272,1224,1540,1532,1420,1116,1326,1340,1021,1104,1282,1202,1214,1026,1220,1472,1628,1160,874,785,712,698,601,460,368,382,346,393,370,346,343,395,492,462,375,613,1276,967,480,642,480,416,430,316,342,444,442,321,362,686,765,493,529,862,1278,1324,974,811,805,873,767,419,436,508,584,1112,1252,857,510,487,683,967,709,372,624,430,336,359,337,334,473,651,706,930,1360,1266,531,421,828,1326,1306,1232,1202,1144,1312,1126,935,1148,1254,901,612,440,435,425,430,473,573,445,307,314,409,630,795,687,343,301,357,602,692,492,530,448,789,1244,957,926,1004,633,625,468,407,336,396,408,545,436,314,334,271,308,446,545,371,299,267,301,288,501,801,1052,1156,680,611,697,541,780,789,674,444,752,1110,976,892,741,460,583,967,1410,1646,1404,803,422,357,321,499,537,493,777,1368,1482,1216,1140,1278,1164,871,399,277,277,330,325,333,362,381,446,488,497,530,615,797,640,698,577,998,1190,673,516,1136,1598,1030,723,894,909,810,548,386,325,534,542,380,361,331,505,670,720,622,524,529,526,657,745,692,929,1122,933,604,621,901,865,716,955,888,735,962,1124,810,549,457,440,534,563,508,506,680,962,969,1178,866,1040,843,952,905,708,445,228,289,248,306,372,405,522,828,1270,1294,1202,1342,937,876,944,763,797,727,804,1024,1286,1202,1072,1030,896,615,572,542,429,742,818,429,654,967,843,909,1017,1280,1328,1106,820,571,527,706,677,878,992,944,714,336,275,305,307,345,419,418,396,601,558,339,339,366,364,385,365,492,424,381,379,636,665,514,555,728,717,726,1002,640,390,473,805,720,586,648,695,754,957,1080,738,515,595,481,351,348,370,464,434,350,565,1094,1224,835,856,860,820,642,595,1144,1236,1252,1492,1478,856,483,1032,1194,897,969,1046,1192,611,364,428,561,735,722,693,717,675,658,673,1028,1150,1088,585,434,810,1032,812,604,568,682,735,627,912,1342,1088,705,560,537,446,439,561,871,1108,899,876,912,1004,783,1040,1358,1400,1002,957,736,924,1180,868,480,558,773,619,425,694,706,1086,1318,1808,1662,1584,1426,988,720,714,908,933,892,709,576,805,1408,1480,1446,1594,1646,1544,1194,1068,922,527],[349,308,285,266,274,292,404,484,553,508,303,223,312,355,382,383,324,313,303,298,292,350,526,693,569,466,343,613,944,919,861,965,1066,1320,1230,1208,1114,557,664,606,682,735,812,863,852,763,633,522,489,898,988,860,1013,818,466,417,427,636,593,497,551,728,820,854,1009,624,738,999,760,435,342,353,372,342,340,339,308,398,631,596,542,462,464,396,920,928,832,1144,1406,1026,668,520,312,228,340,421,520,474,1082,1070,499,324,364,482,448,335,421,345,311,305,362,400,414,292,382,570,551,533,481,622,791,413,401,466,514,488,390,551,717,770,883,932,794,607,406,317,283,267,276,280,281,253,281,333,323,305,328,365,338,346,415,626,756,752,609,563,1180,1228,872,1202,1382,1302,1432,1038,495,966,718,572,629,782,1012,1114,1406,1172,1082,1316,993,807,961,569,350,416,466,373,764,1618,1670,1294,1594,1482,1056,911,1612,2094,2134,1678,1208,897,1034,1070,802,877,825,502,737,688,444,883,839,443,510,814,788,1000,821,836,875,933,893,1023,960,669,524,470,623,582,590,709,643,670,934,841,1007,1400,1400,656,1052,750,539,816,1266,1226,778,691,1001,1172,846,466,602,730,1104,1310,1244,1108,1078,1102,764,711,1166,1102,757,935,809,922,1062,611,521,1028,1186,1178,1284,795,529,652,677,656,1272,1250,800,765,733,550,470,619,733,737,769,951,926,962,1064,1166,1184,866,608,641,547,1036,1380,1172,1294,1716,1858,1118,700,977,638,565,778,957,1090,1030,810,689,778,1088,1166,792,593,769,937,796,655,1210,1336,1168,960,857,671,500,695,1602,2490,2474,1958,1726,1768,1486,1454,1588,1830,1816,1836,1742,1660,1416,1368,1794,1722,1646,1854,2060,2408,2674,2714,2322,1528,662,439,494,441,385,451,498,432,380,393,479,689,649,785,1454,1544,1522,1584,1358,1200,1192,1282,1102,990,1474,1310,1020,1036,926,751,903,946,666,789,758,664,552,769,957,670,754,671,869,1021,807,1042,1392,1136,1472,1606,738,490,370,458,474,446,753,893,1028,1116,1220,1050,486,376,346,347,358,369,387,371,491,455,444,537,469,356,395,379,376,302,328,274,235,267,361,433,750,1026,716,495,581,543,391,349,399,335,300,302,302,271,235,235,258,255,318,512,647,673,636,598,526,390,641,738,461,412,727,876,534,822,883,770,916,1036,1188,2250,1494,908,1088,904,935,908,773,1114,974,1042,1238,949,891,943,910,812,609,485,523,881,1324,1134,811,576,346,297,409,411,440,432,835,1472,1582,1382,1342,920,511,585,1094,1172,728,692,574,574,692,643,619,883,1096,1258,1015,408,345,367,319,554,631,417,295,292,268,385,502,492,589,513,556,493,388,263,237,299,341,392,438,412,503,451,321,462,589,944,1046,1072,720,451,400,383,421,377,363,421,458,377,332,318,356,428,606,1104,1252,1360,1150,903,1007,1098,786,678,764,807,919,916,732,1038,1086,955,1058,894,524,547,662,877,595,755,888,505,307,230,216,200,187,220,283,307,235,232,226,205,229,281,299,288,302,338,376,512,633,656,590,374,270,259,271,299,336,371,416,499,669,603,414,473,458,412,454,509,522,587,554,529,573,649,742,731,580,480,495,546,576,555,573,599,646,858,465,307,321,309,293,387,473,594,824,739,719,653,546,404,332,285,263,323,446,555,662,806,924,749,631,855,789,538,433,406,604,1078,976,839,1020,980,1130,1112,1188,1015,891,951,922,650,397,312,270,317,323,478,946,1062,1030,1078,763,572,499,543,689,904,1102,1160,1472,1574,1410,1308,902,843,990,1180,1204,677,366,400,367,337,363,353,337,409,638,455,522,539,599,428,748,943,1012,809,618,747,974,878,416,413,371,318,252,214,261,274,280,307,305,278,261,463,850,1240,1332,1422,1100,1104,1360,1244,1192,1290,1376,1616,1618,1290,1458,1270,1372,1472,1468,1484,1294,1484,1864,1764,1410,1308,1396,1364,1174,1050,938,797,750,752,722,637,888,948,1102,1160,937,997,1176,843,774,534,388,623,1362,1030,696,551,663,952,767,657,835,576,601,769,996,841,861,919,1104,1130,807,866,924,525,431,426,508,539,667,941,1234,1092,1046,1222,943,777,849,995,931,821,1013,1210,1166,1086,1005,1054,1007,942,645,447,482,498,447,305,304,308,318,339,337,309,312,331,314,285,290,286,242,286,336,512,565,592,582,563,469,384,335,263,288,335,330,380,401,383,444,491,531,532,429,334,421,533,387,327,312,336,348,440,461,448,453,350,359,426,483,438,443,536,615,430,499,524,719,489,305,303,331,343,480,533,648,779,776,1024,1308,1130,971,1082,1244,1316,1152,1202,1388,1548,1606,1474,1236,1132,1218,1174,1032,1044,1096,1322,1904,2640,2018,1470,1050,1008,943,862,1216,1228,1380,1136,1052,1152,1144,1368,1050,830,1310,1490,1304,1448,1382,1015,1090,1136,1108,669,388,708,973,1092,1114,995,1360,1908,891,1114,1156,1104,751,918,1130,1292,1632,1562,1326,1032,940,1012,1434,1404,1214,1062,1168,1522,1416,924,990,1314,1388,1278,984,642,461,477,493,454,506,1094,1462,883,493,468,361,300,274,288,368,522,650,630,469,694,985,1046,790,467,527,852,1202,1438,1422,1338,904,611,597,516,485,564,507,636,843,1070,982,847,500,652,852,904,739,489,383,322,299,316,412,509,528,578,542,567,442,354,327,318,322,319,309,299,325,372,376,441,635,675,673,654,606,572,468,383,361,366,363,379,357,363,351,358,558,692,638,862,1062,1148,1302,1066,1120,1332,1384,1632,1228,929,816,800,735,603,846,1152,953,1003,1152,1098,783,625,1086,1668,1904,1230,825,440,417,484,572,817,851,828,472,417,702,1132,1030,853,924,731,943,1050,959,924,689,493,608,794,896,767,642,610,576,634,969,1152,981,763,813,715,678,574,484,542,586,758,727,708,833,896,647,439,387,496,785,922,854,869,997,1172,1366,931,613,1246,1146,901,1058,1160,1112,1052,1296,1134,1278,1598,1354,1462,1632,1274,1150,1306,1324,1138,1160,1394,1496,1496,1422,979,968,1444,1404,865,765,600,536,823,994,1212,1350,1086,930,899,786,747,757,644,593,872,1038,1494,1590,1338,1538,1548,1238,1186,1084,1114,1444,1552,2288,1668,1372,1016,798,866,726,523,412,408,491,523,539,427,380,333,302,386,567,572,551,1007,1100,476,571,692,467,490,602,608,549,481,480,578,760,1098,976,643,461,454,724,1028,777,713,623,672,614,481,438,332,535,829,652,722,824,1013,992,1082,932,720,709,624,495,345,313,332,453,767,859,952,1034,741,653,777,1040,1224,1454,1908,1532,1262,1312,1002,932,1418,1416,1130,818,512,434,425,464,554,500,403,404,377,559,752,1082,670,332,358,406,627,790,639,435,375,569,1170,1288,1340,1192,1130,963,550,323,305,435,415,316,303,292,299,283,265,314,386,346,283,276,318,297,375,419,859,1112,550,590,808,476,699,561,545,576,752,837,790,843,860,807,908,900,988,1084,951,952,586,326,265,456,549,512,742,1066,1250,863,536,1001,1130,924,442,253,343,405,334,346,342,370,401,425,433,446,454,577,864,1112,805,857,1192,848,511,1108,1532,1130,990,1118,1288,955,741,691,744,721,561,451,316,302,464,911,1094,805,507,363,357,490,528,743,1134,1190,803,460,719,1038,816,757,965,833,767,1092,1172,709,386,406,467,541,507,522,527,855,1210,1312,1252,795,982,921,581,474,821,735,281,285,227,288,309,346,447,773,1438,1388,1408,1214,561,546,629,567,714,832,982,1144,1426,1290,1013,915,676,591,631,506,573,1064,823,375,525,1034,934,954,1038,1266,1248,1114,954,591,394,425,478,549,719,913,933,746,467,363,496,860,871,621,588,786,644,333,351,328,324,342,317,425,467,390,493,789,746,463,415,619,418,541,662,780,662,549,534,364,331,339,270,379,558,683,428,375,394,360,345,402,554,595,436,423,741,1112,950,568,680,659,1007,681,664,1400,1216,1094,1444,1450,1126,921,1214,1032,1080,1136,1136,944,525,346,267,356,755,822,580,697,856,828,972,1372,1350,1220,929,692,562,683,718,488,723,855,844,705,1220,1574,1060,939,843,647,569,582,733,1088,1014,1032,1610,1298,1066,915,1023,1230,1706,1734,1578,1346,1110,935,801,575,516,738,619,456,879,900,1096,1284,1588,1780,1780,1506,1234,842,791,1001,979,1086,683,600,995,1482,1598,1432,1318,1526,1496,1142,1218,1150,765],[347,309,266,290,303,296,449,568,605,473,249,182,224,282,332,335,298,333,327,319,279,319,576,644,380,390,375,556,963,931,685,882,995,1502,1418,1348,1316,1186,1088,960,1222,1086,835,949,949,899,669,572,579,833,552,518,983,774,529,539,430,415,433,447,524,919,772,692,1110,860,704,511,412,390,356,419,477,360,390,366,345,423,501,467,409,385,425,351,786,1424,1424,1338,1284,923,704,603,315,258,386,493,602,581,955,1096,745,454,532,437,642,487,574,432,323,311,342,377,502,883,1162,760,1066,1234,1152,1372,1564,727,456,610,583,344,270,443,652,772,866,805,644,583,413,320,301,317,308,277,260,234,222,208,203,213,222,239,205,225,225,370,425,565,494,442,709,792,705,802,760,690,860,910,650,645,624,683,602,487,466,624,1012,1090,1020,1130,963,551,976,593,357,385,392,429,683,1414,1588,1614,1690,1562,998,850,1178,1302,1344,1204,1344,1482,1094,758,702,883,955,489,636,604,381,557,810,780,960,921,921,995,850,917,1106,944,531,705,623,368,360,440,421,399,499,550,583,933,962,910,1440,1962,1632,886,1268,1142,631,505,692,591,473,498,938,1448,1068,520,482,426,619,635,1056,1120,1032,1056,1030,1122,1254,1122,751,658,654,712,717,437,488,916,995,1126,1306,1003,929,1026,1023,1092,1288,963,1158,609,339,424,458,597,1074,1022,572,574,523,593,627,764,877,902,830,838,711,1444,1630,1023,1000,987,827,509,491,579,567,521,671,742,794,528,777,1036,799,933,965,517,378,501,741,1090,1192,1744,1748,1314,785,785,1150,1136,800,1744,2530,2534,1694,1358,1568,1500,1638,1604,1426,1212,1026,942,823,720,1250,1802,1954,1914,1866,1860,1942,2184,2170,1810,1186,535,428,493,453,333,381,460,412,357,417,493,478,424,982,1696,1980,1812,1572,1484,1150,1536,1878,1650,1142,1346,1190,760,825,1074,818,922,1094,731,836,598,613,956,1076,1230,950,764,907,646,575,813,1226,1122,980,1704,1902,1178,618,676,949,733,434,448,622,885,980,1082,699,392,352,365,379,390,393,404,404,470,605,736,913,879,607,441,345,351,251,258,264,247,330,824,1246,1070,797,701,486,554,603,466,426,948,956,551,383,272,238,251,268,251,259,327,584,570,515,610,738,775,669,711,645,437,433,603,543,484,951,764,712,1168,1170,1360,1594,1106,1386,1648,954,972,1106,843,826,888,1068,1276,1124,922,973,1052,933,575,480,557,1166,1610,1150,564,341,329,330,422,512,581,661,1136,1556,1400,987,766,677,844,581,678,775,879,760,772,1130,996,868,488,495,513,788,913,717,581,514,373,430,456,350,347,310,294,356,429,380,543,488,444,379,354,249,224,313,339,404,423,336,531,379,330,383,646,940,893,827,607,394,379,349,350,380,434,454,496,401,439,586,626,594,993,1034,1134,1344,1090,565,473,780,984,867,935,1102,908,731,898,987,872,911,1276,1156,542,459,778,856,746,791,550,392,372,250,226,216,203,248,265,264,213,222,243,260,266,255,300,302,284,323,531,637,518,503,529,307,285,258,279,315,402,424,363,361,442,402,355,383,405,389,403,452,498,563,569,520,543,557,557,550,528,451,397,492,562,402,261,309,336,312,278,287,295,279,301,348,402,467,731,911,720,385,316,328,343,489,729,852,919,739,533,1098,1578,1034,977,1014,900,653,479,366,631,1186,1094,837,1034,1098,869,732,942,1066,773,724,857,565,382,321,298,331,322,337,660,943,1086,1120,769,608,592,680,847,922,667,877,1606,1458,1294,1346,897,995,844,794,562,361,404,477,420,343,362,304,332,478,760,709,818,794,654,525,790,1078,1172,893,650,672,597,432,361,384,499,433,312,243,296,288,285,312,294,248,303,395,440,835,1388,1288,883,1302,1176,535,767,1144,1260,1450,1400,1300,1114,771,824,904,1080,1086,1566,1866,1610,1324,1132,1142,1184,1184,1150,1174,984,860,996,1318,1172,835,867,1032,1098,924,960,1192,1108,727,892,624,495,1038,1332,794,502,554,679,924,977,1212,1458,890,611,831,771,506,559,788,1120,1154,1104,1272,927,647,730,402,460,569,506,455,1004,1186,1116,1078,1034,1005,1254,902,601,423,494,1005,1260,927,836,936,1086,1062,737,510,355,358,365,338,340,282,263,313,339,326,371,388,283,258,278,272,266,336,680,802,675,616,539,406,337,357,379,348,442,428,316,346,332,371,509,702,690,543,453,378,511,733,801,455,376,345,469,404,312,442,453,354,351,636,775,530,641,1001,1356,955,1008,867,552,380,292,246,284,347,448,547,779,944,1076,1066,1440,1294,1180,1222,1244,1172,1114,1158,1218,1394,1590,1592,1500,1284,1284,1164,1003,1210,1122,1432,2456,2280,1694,1574,1013,849,906,943,1230,1388,1318,1236,1186,918,1112,1418,1084,874,1036,1238,1300,1414,1474,1476,1256,969,835,558,469,599,758,1048,1244,1128,1304,1742,1222,1178,1410,1286,636,724,1366,1524,1402,1466,1338,1130,1260,1182,1218,1011,849,1098,1648,1584,1234,907,1036,1350,1260,1270,990,616,393,286,286,346,417,958,1284,838,455,389,380,440,353,364,443,879,1130,974,518,453,694,868,651,363,445,786,1158,1432,1426,1228,1021,714,841,676,408,432,451,451,863,1372,1256,1560,789,912,966,1078,1006,1024,819,420,355,349,464,531,445,434,524,510,357,351,339,307,313,313,307,299,342,462,516,537,484,404,357,299,312,325,335,345,354,334,334,408,388,380,350,400,558,722,811,1244,1516,1594,1428,1184,1466,1392,998,642,629,720,667,694,653,724,982,1180,1168,1132,1200,1364,1030,637,1122,1702,1526,1230,817,474,473,581,670,521,593,760,469,479,553,1072,873,1218,1482,1354,1356,1096,656,558,584,707,778,750,638,612,623,647,578,546,543,807,1118,1260,888,562,579,488,439,397,423,593,731,769,928,874,504,405,426,672,1092,1144,975,922,940,1182,1494,1036,806,952,835,756,765,1160,1278,919,1042,951,1204,1340,1538,1782,1582,1112,1302,1328,792,826,1172,1392,1456,1472,1448,1404,1324,1630,1328,667,475,411,412,588,1009,1412,1362,949,894,1004,1140,1126,860,494,479,585,889,1350,1290,1013,1070,1248,1009,1048,904,835,1118,1384,1438,1306,1358,1078,734,741,674,442,386,470,469,551,527,447,424,424,372,411,584,592,749,885,929,422,498,756,692,885,1008,820,616,686,1019,1160,1262,1360,785,793,582,410,739,1128,844,641,596,609,659,692,504,369,339,341,515,1284,1362,1274,1052,1092,1242,1021,649,561,468,358,354,470,666,867,695,658,476,451,967,1238,1038,872,1082,1434,784,935,1166,1346,1098,1080,940,876,700,514,451,484,673,885,756,815,844,980,909,644,935,613,308,559,749,619,692,873,596,544,554,953,1356,1382,1252,1224,886,438,239,305,393,341,292,338,378,303,260,252,275,335,337,282,278,269,285,335,443,568,581,565,798,951,495,935,1536,1490,1064,796,825,1034,851,1182,1126,823,663,893,1190,1106,1220,877,561,695,843,832,780,739,1030,1394,1116,785,1166,1064,768,598,458,478,500,303,355,358,350,375,401,419,387,454,655,633,719,634,766,1278,1136,812,906,1086,1148,1350,1522,1644,1428,1021,879,979,872,857,668,590,594,585,996,1126,814,465,405,455,401,582,1002,1192,1132,1096,989,702,963,1064,1094,1164,1046,799,711,584,478,422,418,450,449,363,392,480,711,865,866,648,700,890,840,627,407,512,452,332,296,300,323,430,415,379,821,1246,1224,1218,1000,561,760,924,787,800,1210,1180,995,1460,1282,758,424,338,469,562,459,401,597,559,413,442,673,842,724,850,1208,890,680,680,455,366,363,421,396,406,728,848,875,965,691,758,917,825,931,1002,1124,701,380,344,304,293,360,410,473,481,470,640,882,896,680,566,489,520,587,1023,1482,927,335,292,273,314,282,289,411,429,415,329,339,357,335,351,444,557,612,695,682,1054,1074,769,449,427,541,823,712,597,738,787,795,1284,1472,1516,1496,1372,1286,1402,1330,991,550,386,323,264,320,442,385,484,827,1098,1094,1360,1428,1216,1166,1348,1242,847,628,558,679,1036,1015,830,967,1572,1354,881,894,736,573,772,930,1030,1124,953,1354,1528,1542,1172,1192,1228,1292,1622,1656,1338,1036,879,519,705,698,773,1026,1096,948,824,799,933,1104,1450,2080,1852,1432,1506,983,1012,1136,1096,1126,1090,1108,1334,1378,1336,1314,1336,1678,1562,1542,1566,1300,839],[343,273,215,276,315,343,487,550,582,438,250,238,230,253,329,398,376,354,287,291,348,600,887,603,328,395,383,398,720,1066,1144,1248,1120,1418,1460,1560,1510,1322,1072,1104,1562,1606,1154,892,794,856,673,608,772,893,698,568,727,692,607,571,399,382,393,402,446,697,570,738,1036,829,489,311,288,292,325,356,458,407,373,358,375,423,448,452,365,412,500,384,753,1662,1582,1534,1284,1044,717,674,371,216,340,468,582,671,731,902,930,571,697,594,875,673,580,514,606,795,1066,886,573,1636,2254,853,1402,1944,1948,1620,1230,869,684,518,343,235,231,333,483,572,566,536,579,583,476,426,437,425,352,350,309,252,210,221,245,246,237,233,222,253,241,219,359,478,341,324,400,414,451,421,475,576,518,532,663,622,692,666,518,434,370,410,680,1164,1266,840,1088,849,650,454,427,404,334,326,535,910,893,1258,1284,1430,901,774,719,915,1018,1088,1378,1378,1240,1038,861,1046,880,496,552,698,580,738,1174,1134,766,490,700,944,1256,1426,719,683,354,332,342,325,380,417,383,380,367,316,469,796,628,766,1230,1450,1326,1330,1870,1428,571,375,326,342,327,437,628,893,990,701,475,615,582,477,634,704,797,930,1242,1592,1616,1464,1248,940,561,416,408,401,544,1088,1270,1108,1112,1614,1910,1866,1222,1094,947,663,875,699,429,406,452,824,1388,994,496,546,534,715,934,1007,1090,1098,1190,1230,893,1128,1270,946,792,789,590,438,508,536,554,514,487,536,548,505,781,860,520,630,705,780,577,574,642,1204,1510,1620,1712,1320,979,1288,2154,1588,1108,2244,2532,1848,1040,1290,1372,1316,1476,1246,1076,1186,1042,821,1012,1258,1826,2118,2094,1858,1754,1816,1844,1776,1708,1516,810,436,381,450,471,400,397,407,367,332,375,361,288,283,490,992,1434,1140,935,1302,1164,1382,1664,1730,1312,963,778,468,573,936,683,832,1168,1058,1156,838,850,1070,677,841,957,797,817,861,698,897,1230,1058,849,1132,1448,1416,1066,1132,1278,819,417,376,531,731,819,736,484,366,345,373,377,406,406,404,421,431,617,741,824,712,448,383,366,313,266,286,272,265,372,658,622,469,470,617,549,386,453,579,720,1092,827,512,393,276,278,271,262,218,235,406,446,361,383,442,553,664,683,725,715,824,752,797,598,697,1078,807,669,927,1126,1530,1622,1246,1252,1302,927,845,901,941,1348,1124,1026,1260,1294,1336,1166,1084,1058,557,482,940,1452,1366,1230,608,336,342,290,347,645,806,923,1316,1334,1216,1228,880,786,941,973,1110,794,963,1264,1252,1106,1054,1032,638,544,494,471,556,534,517,525,391,396,360,339,355,292,277,291,365,317,493,477,335,313,339,233,193,325,357,387,419,336,616,544,460,491,804,1178,1004,752,615,511,394,373,426,408,399,421,415,421,638,890,810,951,1019,863,810,1004,1124,670,443,745,867,659,504,637,613,481,505,479,484,619,1001,1116,613,498,828,968,1224,1020,415,289,236,217,241,214,219,244,230,221,211,229,255,251,255,272,293,367,376,301,409,604,506,400,364,275,267,289,313,327,351,345,338,352,355,349,337,344,379,379,409,433,457,554,619,591,560,554,507,509,534,453,410,460,487,390,333,354,351,375,355,332,315,273,304,295,343,395,565,824,581,307,296,345,406,658,930,944,983,623,366,581,738,855,1152,1104,1050,870,578,422,433,594,717,733,711,977,1162,835,730,787,525,773,943,675,499,312,333,386,374,374,684,723,639,713,748,700,614,554,532,399,306,603,1248,1422,1104,1274,1218,805,479,467,348,316,395,480,410,351,349,387,586,537,532,548,602,844,894,653,780,1288,1304,935,700,657,463,355,340,332,398,420,343,312,416,465,465,457,435,336,354,368,392,911,1166,1344,1510,1580,1015,378,555,937,1154,1394,1434,1158,775,755,1134,1230,1092,927,1356,2012,2206,2052,1694,1338,1128,1046,975,1156,1050,1236,1438,1424,1196,1021,1009,856,846,821,867,803,837,780,852,545,618,984,727,366,469,814,1005,815,852,874,818,810,1090,1100,652,475,576,714,988,974,1080,1250,847,879,656,567,611,500,684,744,673,1080,1124,888,1178,1098,940,494,493,450,641,943,871,723,685,827,883,928,809,468,249,296,323,319,309,285,268,280,325,397,497,442,282,260,269,253,301,549,1010,997,791,702,490,351,347,388,496,404,471,482,325,245,264,373,517,608,639,551,466,462,532,484,543,325,445,459,453,372,357,390,402,329,532,1166,1166,867,851,1628,1880,1484,1258,899,631,501,408,303,316,355,440,779,1154,1268,1346,917,963,1150,1258,1256,1090,842,1066,1132,1264,1462,1512,1676,1682,1472,1434,1420,1508,1344,1180,1168,1338,1720,1858,1388,1006,744,955,971,1018,1188,1156,1310,1422,1250,1430,1460,1232,1054,926,1060,1210,1284,1038,1114,1122,792,509,493,700,823,974,1122,1300,1064,1128,1260,1386,1414,1650,1374,632,781,1302,1450,1218,1544,1490,1346,1238,1172,1456,1206,879,872,1012,1204,1110,838,1048,1618,1060,890,769,582,385,334,369,348,393,523,568,522,528,454,546,605,438,387,428,636,767,593,394,353,462,694,686,572,618,710,968,1364,1232,1156,1050,650,631,649,580,860,882,484,806,1122,865,1102,641,472,528,597,676,1268,1556,1058,596,404,370,376,325,364,527,455,330,328,330,327,323,305,300,317,370,468,548,655,472,327,333,332,329,360,443,438,451,456,393,421,363,335,332,378,386,447,835,1004,987,1346,1042,962,1126,897,861,755,702,664,594,601,517,439,614,939,1056,969,671,858,1072,946,1242,1678,1450,1001,647,450,397,586,896,583,584,524,424,430,566,985,1198,1698,1806,1400,1284,1102,609,528,546,722,816,688,612,636,658,681,620,544,575,549,697,938,1248,1066,727,493,409,387,377,399,411,435,607,680,658,596,659,996,1106,1060,1128,1106,907,921,1152,1302,1120,664,414,389,609,978,1009,1004,1066,1158,1222,1416,1748,1688,1406,1338,1318,1230,1112,1058,1150,1416,1494,1256,1260,1316,1282,1174,781,528,509,515,568,1034,1116,1178,1654,1230,926,1140,1232,1202,886,546,673,908,1240,966,733,865,1082,1080,943,1076,938,844,951,950,1112,1406,1368,1288,879,711,648,656,645,662,615,602,505,462,467,446,372,418,578,559,843,1114,1086,720,985,1112,858,1016,1150,869,536,505,747,1158,1200,1158,670,830,797,455,467,655,651,633,823,913,633,672,476,340,327,375,610,1172,1134,914,698,756,1030,922,495,333,346,390,579,963,1048,817,498,453,481,614,1172,1574,1204,875,747,884,578,604,1114,1348,1078,1038,1118,922,778,615,522,606,983,1104,724,1052,1282,1320,1236,1015,802,481,465,828,949,832,846,614,584,634,588,722,1504,1460,1070,930,781,517,328,329,462,426,345,474,645,404,285,339,251,248,302,318,281,273,281,549,911,726,776,969,1158,960,487,983,1738,1590,990,458,676,1182,894,1090,1146,723,775,910,1174,1268,1146,1015,882,968,1080,1188,1070,1268,1570,1600,1222,1026,951,702,678,733,587,421,391,327,331,397,372,398,432,446,397,392,467,425,358,395,563,1132,1314,1110,1034,1428,1536,1710,1678,1670,1528,889,577,750,843,896,672,871,1002,665,745,1042,871,556,688,643,394,490,745,923,936,1180,1066,829,753,1086,1158,1238,1068,826,511,377,461,437,412,435,420,354,475,626,753,661,689,797,811,675,677,727,365,294,478,477,403,370,357,322,324,607,981,1202,1346,883,825,618,757,964,1184,1194,1202,1054,1214,1300,1116,891,567,374,667,893,581,577,490,706,694,490,525,783,706,719,936,695,444,534,504,440,360,372,411,426,648,622,594,601,741,962,954,1054,998,1158,1238,778,424,338,338,384,498,457,444,428,444,477,775,1160,991,613,437,749,807,887,988,498,256,263,258,299,292,361,477,470,357,319,338,372,357,338,450,562,857,903,908,962,767,557,433,412,465,485,513,797,1072,785,494,904,1296,1474,1682,1254,948,1060,991,614,414,318,288,357,585,505,410,490,650,980,1206,1266,1312,1116,941,948,1156,1172,719,871,1044,822,796,978,1102,1242,927,568,576,596,743,1140,1386,1334,1114,1288,1156,1074,1222,1184,1344,1388,1322,1224,1392,1478,1116,1104,597,734,727,983,1412,1406,1340,1138,720,771,1058,1260,1626,1538,968,827,789,1168,1356,1420,1474,1500,1472,1354,1178,1350,1540,1562,1594,1744,1960,1592,1038,627],[305,267,250,287,334,325,358,448,512,402,300,300,319,331,408,424,361,301,279,327,430,803,871,475,414,395,401,386,431,499,458,586,680,713,708,979,962,804,1146,1848,2106,1872,1302,658,463,612,668,508,617,838,772,570,524,583,553,492,382,393,383,358,305,454,622,880,1016,786,378,320,317,304,390,405,379,379,352,287,321,326,417,467,422,462,490,431,623,1546,1508,1560,944,620,592,479,513,609,542,664,838,1100,940,493,680,585,1028,1011,668,477,577,897,1274,1360,1288,886,543,1248,1636,784,1180,2302,2010,1190,769,733,700,358,248,280,269,296,323,349,310,332,490,529,519,488,507,477,386,384,310,264,216,241,272,262,247,242,240,248,261,253,362,493,384,295,273,338,404,457,460,466,458,485,502,462,415,416,466,440,380,487,839,1216,1120,703,921,1146,1090,789,536,580,392,391,736,1126,816,1116,1338,922,724,814,792,980,1072,1108,1292,1158,1360,924,615,593,541,625,546,690,662,688,1000,1150,990,852,774,730,1272,1258,540,269,240,305,295,268,304,343,392,385,368,377,456,594,532,1234,1766,1212,1166,1418,1330,849,445,407,379,307,307,488,604,557,1001,865,542,619,847,1036,960,490,497,537,913,1108,1226,1196,1282,858,444,326,319,379,619,1032,790,662,868,1470,1578,1516,1015,634,631,437,539,601,433,427,561,1110,1600,901,486,548,602,1260,1316,969,972,1202,1786,1498,732,573,598,963,735,744,644,597,553,523,554,521,520,498,418,571,940,630,426,443,570,822,664,611,790,1484,1654,1376,1090,1336,1394,1346,1074,822,1790,2632,2314,1274,1374,1394,1136,971,717,1068,1412,1706,1662,1682,1914,2018,2082,2192,2024,1950,2044,2076,2142,2136,1760,1086,540,433,378,440,399,380,364,330,322,339,354,317,276,316,374,515,700,676,667,1228,1204,831,695,940,988,695,698,640,464,669,698,1432,1828,1436,1254,988,910,871,436,596,1072,881,728,1142,927,1116,1032,1098,902,724,1178,1454,1434,1212,1076,631,407,380,571,1470,1374,755,569,513,417,412,381,421,420,397,433,424,548,833,770,841,788,449,364,312,275,399,379,322,383,443,380,477,533,904,930,623,783,802,973,742,310,251,261,234,244,218,235,256,301,576,482,283,339,336,326,393,735,932,787,1024,1324,2026,1612,947,1023,902,698,719,1126,1556,1642,1424,1204,1152,982,922,1040,1104,1114,978,1102,1118,1040,1082,1062,1366,1104,747,567,1082,1382,1372,970,466,414,526,446,483,735,845,706,874,1148,1160,1072,859,857,999,1354,1292,840,864,1042,1036,835,880,805,728,944,760,507,505,469,532,454,310,283,221,239,248,221,225,233,223,273,411,405,299,276,310,266,245,352,399,404,432,361,620,844,762,497,838,1282,1120,1134,1308,997,449,366,442,416,349,365,396,405,593,554,568,863,621,670,1042,1200,1020,888,839,877,509,414,423,544,622,445,356,501,726,819,708,998,746,810,1078,974,1020,722,295,265,228,243,217,215,222,233,236,248,267,255,216,218,244,251,245,307,304,423,549,653,438,361,344,297,280,286,307,369,367,333,348,351,337,343,323,342,352,366,415,426,449,526,542,546,580,554,516,509,516,471,464,461,393,345,353,342,374,392,371,380,395,343,306,302,350,411,415,492,436,290,294,387,509,590,578,648,764,420,320,454,627,786,1012,1188,1278,976,639,606,536,843,599,639,805,762,883,847,638,401,375,543,869,1080,911,449,473,521,463,444,445,540,791,783,565,641,611,646,450,336,404,372,772,939,684,1032,1162,811,949,1176,687,345,361,401,414,483,384,304,343,398,455,419,501,691,637,452,662,1340,1302,1070,585,480,429,349,365,434,465,439,385,395,568,703,644,568,487,407,392,422,410,572,955,1406,1352,943,539,401,407,623,1002,1192,1390,1296,1142,1296,2020,2318,1954,1550,1096,1011,1324,1824,2188,2032,1504,1246,1068,1054,1312,1850,1896,1068,892,725,697,897,1246,1058,766,714,738,633,478,345,593,803,596,570,777,1092,920,652,535,346,548,1094,1324,1013,558,639,607,537,699,997,1194,1021,984,993,579,708,974,960,1021,960,714,841,755,617,519,454,324,355,460,569,988,1156,968,855,730,765,754,1016,1148,708,426,355,306,311,296,272,275,286,309,347,390,298,259,274,285,293,532,822,855,995,1106,1026,641,412,329,511,688,436,420,576,484,307,351,525,694,543,590,510,605,480,445,431,360,319,532,564,431,510,572,571,469,436,924,1026,1226,1296,1314,1506,1256,1104,989,734,750,709,515,484,439,441,518,800,1202,1518,1398,1102,1118,1360,1422,1304,1168,1058,981,873,1116,1448,1432,1622,1746,1662,1824,2222,1920,1294,1274,1254,1294,1554,1592,1396,1336,1250,1348,1310,990,865,1236,1364,1154,1306,1500,1456,1460,1562,1492,1278,1170,1246,1148,1294,1342,797,403,607,966,1132,1252,1258,1248,1021,1140,1300,1462,1422,1332,1080,664,827,1056,1310,1112,1100,1198,1208,1268,1144,1210,1080,838,725,741,875,1138,1106,971,880,647,408,570,722,541,373,394,377,427,469,524,732,786,476,503,585,490,608,653,473,507,534,411,438,648,981,1032,797,568,510,615,933,1084,1198,1068,669,610,877,857,886,937,486,612,609,434,444,401,383,617,816,885,1346,1570,968,764,517,329,321,348,361,403,350,329,340,325,330,321,297,293,346,424,473,516,705,568,366,370,392,442,521,513,552,601,515,398,371,361,335,332,369,428,641,1002,960,1048,859,689,865,769,826,847,745,587,450,412,409,383,365,381,453,629,851,648,570,1042,1360,1390,1368,1316,1282,974,484,402,526,890,693,1418,893,662,735,857,1172,1102,1028,1064,1144,980,1070,659,468,392,469,677,760,715,638,599,658,655,546,451,462,625,718,813,1160,1256,987,638,461,401,410,432,426,561,1086,1260,996,1054,1178,1256,1152,1550,1422,755,639,745,1052,1152,968,570,494,852,1072,937,1130,1120,1226,1626,1832,1824,1440,1350,1376,1262,1204,1616,1402,1290,1058,1110,1180,1424,1506,1152,894,715,819,1032,761,586,908,1066,1298,1650,1098,1068,1368,1238,1186,1188,995,756,987,1112,984,1116,1494,1278,965,839,955,1036,933,879,785,950,1052,1192,1538,1136,737,755,935,737,487,616,789,744,554,507,416,348,349,426,576,709,1080,1190,1110,1178,1126,1098,1304,1116,1096,808,733,1040,1170,1015,825,987,940,655,542,502,610,529,507,711,801,1070,751,462,437,1054,759,589,1144,1120,557,544,1012,1130,592,445,313,369,336,577,1100,1134,778,447,424,518,745,1558,2242,1322,858,677,744,678,672,893,1086,1017,1013,1116,778,736,586,522,619,801,981,1116,1250,1186,1256,1358,1102,797,427,405,655,854,764,664,422,524,629,583,601,1070,1302,854,658,763,568,530,865,1262,557,426,819,851,424,434,470,320,452,460,296,362,376,512,1024,1044,899,1030,1226,1480,1164,664,876,1372,1488,1076,610,615,1034,810,930,1152,890,573,733,1180,1272,1206,1150,1013,857,703,703,1470,1722,1600,1624,1338,1072,864,589,543,502,399,375,343,314,321,393,376,372,391,398,388,371,372,401,371,418,447,1030,1366,960,1212,1438,1304,1440,1488,1674,1432,784,524,518,650,1470,1382,1250,1222,771,519,740,758,525,426,442,471,604,1070,1144,1306,1200,693,602,946,1001,959,932,791,1030,716,468,413,388,371,451,444,436,452,831,1086,775,991,1042,1112,877,663,745,544,659,910,976,792,602,462,336,514,1048,1078,890,974,884,1005,649,646,1102,1070,907,994,1290,1238,1132,1028,1060,827,415,713,946,575,502,634,852,811,565,457,598,901,963,846,683,525,557,548,467,363,300,322,511,683,627,572,412,539,761,991,1226,854,811,999,916,553,514,590,602,794,698,587,566,401,461,629,1190,982,384,444,893,910,713,586,372,298,280,268,307,344,408,446,416,354,333,397,373,321,381,616,736,1064,1218,858,922,775,520,502,449,447,544,840,1011,882,502,662,1140,1160,1360,1656,1378,1036,905,789,537,487,379,442,644,828,648,485,405,446,657,794,1076,1340,841,570,655,1078,1298,658,864,1128,750,515,761,919,649,495,576,648,666,908,1048,1340,1272,1080,1404,1236,861,578,686,944,1122,1048,1086,1338,1482,1450,1198,747,819,1094,1306,1294,1348,1534,1370,773,698,1006,1188,1148,1224,890,982,1444,1400,1328,1530,1400,1230,1434,1478,1394,1434,1434,1542,1158,1490,1874,1512,854,520],[284,242,206,220,279,291,305,380,376,327,316,303,412,452,436,422,413,381,378,338,417,652,527,333,397,404,400,358,326,339,375,418,352,341,402,404,490,1020,1384,1888,2076,1260,772,464,343,383,453,431,549,875,896,537,455,547,512,455,419,381,318,381,377,429,520,478,588,561,339,303,307,314,351,338,300,275,271,257,277,312,376,346,275,344,355,366,433,1266,1300,1146,683,415,357,300,589,880,684,1098,1268,1664,1064,513,575,457,1007,1084,502,360,577,949,1334,1144,892,561,738,832,918,1028,944,1222,1084,773,767,465,290,252,289,271,278,289,283,283,322,351,411,576,585,419,378,379,353,386,343,298,253,252,275,276,251,248,264,289,312,357,346,402,302,263,298,366,344,397,421,406,387,382,442,475,597,727,731,560,475,579,1222,1092,937,898,728,1056,1160,761,723,810,519,359,357,546,519,846,1108,883,760,786,775,1056,1082,1048,1266,748,965,788,476,492,698,930,750,556,709,939,1001,1170,937,771,462,605,1320,973,427,424,471,383,318,273,240,326,429,386,335,356,312,349,371,1194,1322,836,1013,1230,1054,946,843,499,404,440,393,761,742,843,1270,1144,691,624,819,939,803,399,395,457,975,1396,1466,1372,1190,911,666,494,469,574,642,915,523,444,707,1046,1194,1136,639,386,351,322,425,468,406,458,516,931,1362,799,499,554,600,1066,1130,1026,975,1218,1690,1480,673,612,667,818,604,651,860,809,800,814,634,583,796,896,769,786,1036,723,546,474,733,626,505,596,592,719,1108,1146,516,529,896,1362,1118,1212,2088,2266,1422,1124,1532,1058,1216,1170,1028,1660,1864,1896,1848,1842,1944,2148,2140,1930,1746,1862,2030,2128,2294,1988,1278,575,442,425,368,370,366,346,331,340,339,352,358,295,277,309,309,391,520,487,635,1082,1244,1042,626,460,420,579,606,618,716,1160,1182,1114,881,985,1280,1184,1096,821,626,601,665,562,600,731,649,838,976,1126,1094,1176,1180,1180,1462,1236,1196,829,458,548,775,1756,1606,835,1118,1198,486,453,418,422,422,428,424,424,464,595,515,1024,1184,520,393,375,349,510,552,459,777,1026,854,599,622,1018,1196,1236,1050,974,1616,675,370,289,236,262,274,248,261,298,303,359,357,317,285,307,389,509,1202,1420,1260,1036,1074,1748,1370,915,1003,955,908,1064,1336,1602,1556,1308,1288,1298,1096,1164,1378,1296,1000,827,1260,1228,839,911,1186,1546,1168,932,838,949,913,599,462,476,695,1072,983,666,614,705,496,722,1018,1156,964,617,739,1092,1346,1334,861,526,771,864,735,998,1082,940,945,944,831,803,725,678,366,251,263,265,276,246,203,217,261,255,265,343,451,467,368,315,276,284,356,410,449,497,427,509,835,753,434,572,913,1001,980,1112,813,491,394,390,386,347,413,537,739,1052,694,897,1003,724,846,1322,1102,824,818,1404,1520,920,571,525,364,501,697,485,689,1318,1078,586,753,892,1204,1342,1362,1082,655,493,404,276,236,237,237,246,276,332,305,272,263,230,243,245,223,228,271,257,423,533,459,393,365,335,290,260,296,320,389,422,416,374,371,360,355,370,379,372,402,425,401,426,507,491,467,540,552,522,535,527,520,492,384,329,300,332,351,379,394,394,363,356,396,401,381,333,337,402,470,447,386,415,431,469,477,422,449,407,353,303,318,341,534,722,683,941,816,737,725,800,738,524,803,1144,780,509,640,716,435,425,558,1022,1416,1214,677,594,554,455,393,470,666,838,645,561,700,869,969,644,405,358,432,716,896,931,998,1182,1011,952,1246,940,455,352,375,420,462,351,329,349,384,419,472,653,666,655,601,846,1386,1406,1178,642,376,368,332,370,442,425,352,339,387,507,666,625,549,455,386,390,388,376,369,423,493,566,436,419,409,407,386,731,1040,1224,1422,1526,1588,1916,2064,2352,2496,2144,1704,1206,978,1218,1362,1338,1186,1108,1194,1034,1390,1628,820,448,365,426,901,957,963,1028,1108,1080,670,363,336,432,497,699,825,867,1248,816,346,307,326,741,1152,1068,844,623,1112,1194,794,464,756,1044,1108,1019,1130,1104,844,963,1222,802,684,979,1114,1182,797,561,612,485,598,760,697,807,1072,1282,1296,717,543,626,876,1242,1028,652,506,409,329,306,292,286,309,346,317,284,279,277,263,281,314,681,1006,883,1094,1202,1114,771,546,535,774,561,461,554,512,498,435,475,468,444,413,525,491,482,456,572,637,553,422,439,441,387,458,766,971,930,1320,1020,810,1104,1350,1296,1050,779,670,771,888,1068,920,495,655,852,676,796,1076,1058,943,1188,1178,1186,1436,1268,1188,1332,1176,915,799,938,1138,1256,1416,1576,1694,1810,1990,1716,1444,1370,1246,1432,1382,1340,1434,1434,1540,1628,1562,1176,1176,1372,1384,1260,1338,1404,1328,1450,1324,1106,1100,1188,1198,1268,1432,1356,687,700,1168,1294,1238,1300,1342,1236,1230,1272,1296,1306,1130,932,966,932,1066,1334,1152,1070,1238,1372,1410,1342,943,733,782,962,690,615,470,653,1032,1009,667,614,637,531,589,641,484,511,591,616,529,568,905,1012,661,702,933,833,1005,1212,658,351,316,464,640,714,967,894,622,495,582,581,505,738,990,893,718,624,923,1116,699,423,468,544,423,362,305,311,557,1232,1284,976,1178,1250,866,813,679,432,370,397,342,352,398,415,365,322,347,325,302,292,350,473,491,457,603,621,487,425,455,514,615,531,612,749,552,418,408,405,372,342,416,683,1166,1262,1252,1236,875,655,750,735,735,686,562,440,426,425,699,702,390,344,373,397,532,691,783,1138,1284,1144,1148,1284,1196,856,467,402,568,638,477,1234,995,691,568,491,478,498,650,918,1011,816,918,637,449,372,379,499,711,823,651,549,614,662,612,422,631,686,668,695,710,959,1284,1316,875,515,463,456,474,846,1576,1620,1484,1454,1196,1230,1010,1004,1180,877,614,609,749,1150,1364,666,509,1092,1302,1370,1594,1250,1394,1860,1860,1592,1418,1560,1422,1478,1446,1704,1548,1312,1224,1396,1444,1546,1322,1142,1152,1028,1122,1076,713,472,459,585,828,807,1082,1678,1354,1166,1130,1130,818,636,803,841,1134,1534,1832,1636,1318,898,923,1198,1086,954,669,1096,1238,1312,1382,1112,677,636,681,444,332,507,697,694,820,553,454,472,407,481,526,651,885,785,694,942,942,1007,874,828,1128,1002,1036,1560,1528,961,830,1246,1064,512,456,524,571,523,548,568,467,571,555,394,402,750,702,597,897,1018,780,810,1210,1144,647,613,454,341,312,801,1278,1018,780,446,425,539,709,1620,1698,1208,901,745,752,799,778,829,935,756,910,1218,702,615,793,763,793,855,658,726,896,750,973,1228,1158,1184,861,547,875,1448,1278,872,813,875,711,601,629,1012,1350,800,637,867,959,844,974,977,414,539,902,843,655,386,288,594,825,625,396,396,375,625,1104,1168,886,928,1300,1274,919,1062,1168,1288,1182,1120,1100,1005,1104,973,895,1026,800,502,722,1048,933,928,986,1228,1084,746,708,1546,1880,1380,1386,1202,1124,858,507,455,531,399,372,371,333,306,339,350,358,388,412,420,406,359,343,346,414,441,903,1354,910,1500,1864,931,1032,1286,1668,1360,980,770,758,804,1920,1930,1300,825,585,597,648,653,519,454,532,498,475,1128,1206,1144,837,565,712,922,884,1104,1007,612,717,832,712,529,367,344,412,462,479,462,698,794,795,1034,1130,1260,1180,1058,984,944,1021,1138,1280,1130,950,980,766,895,1376,1516,1464,1226,1154,1036,915,1000,801,535,500,739,918,761,1028,971,1312,1346,632,492,505,465,677,836,660,635,516,451,607,943,719,559,538,725,634,435,419,454,625,715,865,889,631,516,436,501,539,781,879,921,924,965,1126,961,759,722,712,1110,1154,986,674,408,516,487,592,517,264,354,454,506,549,456,339,272,248,281,365,401,359,292,300,336,361,470,487,369,383,524,797,1058,1044,941,976,741,466,403,363,435,466,571,502,519,724,1184,1510,1392,1274,1246,1118,941,1056,1306,1262,775,468,596,755,694,709,672,458,433,666,910,1042,1280,892,741,894,1016,808,574,1082,1116,760,798,716,514,433,392,551,766,871,979,1050,1304,1102,1036,1342,1278,803,539,603,1064,1528,1072,1190,1238,1242,1406,1392,1092,969,1218,1528,1358,1482,1604,1428,773,646,901,1324,1244,1378,1378,1384,1514,1526,1444,1298,1314,1708,1844,1244,1338,1316,1350,1268,1206,1484,1776,1586,908,537],[267,222,230,251,285,332,354,334,296,275,288,368,432,443,467,473,452,430,406,372,398,378,343,361,365,381,401,404,391,437,466,473,501,538,576,592,619,1082,1284,1576,1516,789,437,422,409,412,422,409,550,1062,977,508,387,484,495,422,375,346,294,359,432,415,469,587,474,355,307,305,299,290,307,326,317,270,244,272,307,313,298,274,307,360,327,343,376,985,1100,781,739,618,369,314,453,876,759,1038,1006,1248,961,927,822,748,1120,1023,631,810,828,646,532,736,1010,1048,1312,992,794,1126,1118,869,843,793,375,299,258,297,339,337,333,302,286,280,310,355,412,499,432,327,335,357,336,443,422,336,283,289,329,350,307,279,359,519,546,465,404,420,313,296,337,358,392,429,381,287,347,398,467,432,649,1132,1142,995,1001,924,1278,1196,1002,978,630,839,1138,607,575,834,782,548,542,664,716,795,786,786,921,1060,1154,1186,853,731,827,746,633,703,547,424,717,850,667,450,599,553,679,1000,1206,705,335,496,983,924,563,600,899,790,459,294,240,332,421,376,317,303,317,367,414,497,451,437,643,842,866,609,471,329,352,548,719,1005,991,1068,1310,992,622,738,662,962,686,463,349,586,1314,1952,2048,1572,1524,1544,1270,840,536,535,724,742,472,409,561,921,1202,904,483,451,381,398,398,392,390,435,451,868,1196,757,474,478,563,713,793,930,883,769,648,797,578,567,681,787,771,959,1032,927,752,617,547,753,1028,1178,1198,1314,1190,952,870,898,838,611,577,613,584,708,1020,904,512,467,679,1332,1072,1180,1700,1644,1090,1182,1600,1118,1368,1152,1007,1588,1848,1896,1960,1848,1876,1936,1764,1620,1616,1776,1816,1778,1634,1490,814,437,431,391,405,400,347,306,314,333,336,332,364,339,321,329,341,429,455,497,813,1196,1478,1544,1330,787,644,935,1190,866,1021,1554,1482,1002,870,1140,1200,1082,992,808,1064,1174,701,733,1016,1038,982,1284,1400,1448,1246,1218,1148,1504,1694,1550,1328,711,418,790,785,825,887,811,1200,1228,678,563,474,474,463,474,440,445,476,656,741,850,1176,975,593,455,344,712,803,716,1250,1296,1418,2128,1870,1102,683,910,1050,1118,1390,668,528,354,271,298,268,265,287,278,269,215,231,279,286,653,917,809,1158,1346,1112,992,951,846,773,913,1100,1036,1094,1210,1310,1830,1842,1214,1042,1108,1136,1278,1472,1346,1064,908,1380,1202,899,962,1186,1304,932,791,913,802,551,349,439,775,1338,1328,1200,731,604,835,762,497,608,969,1048,1028,1146,1152,1400,1656,1046,570,604,781,1026,1196,1334,1042,870,979,1058,1094,932,711,481,343,300,293,298,287,257,254,308,324,292,406,529,624,587,441,352,417,422,371,437,475,443,582,661,368,298,393,742,897,898,910,841,662,419,366,335,398,718,796,880,879,890,1023,966,882,810,879,762,818,996,965,1124,851,472,423,226,283,543,423,649,1290,1050,590,506,1023,1388,1288,1166,622,512,541,507,412,463,408,276,263,289,285,241,223,228,235,237,230,244,269,263,244,267,249,400,625,560,420,320,240,276,277,335,424,393,368,360,365,366,392,397,386,414,392,324,363,466,494,504,485,540,611,597,527,599,535,428,372,314,368,438,404,401,416,362,339,386,438,416,332,347,374,457,470,426,426,420,417,430,444,423,411,411,376,330,332,365,362,320,393,346,554,682,784,791,827,1214,1444,1036,625,394,525,457,472,547,1068,1574,1272,627,519,767,581,503,595,773,748,763,670,857,1086,962,622,442,400,537,864,1282,1306,879,1192,1330,1036,1130,1032,489,294,331,318,279,314,384,449,750,908,1017,1274,1082,964,753,752,1108,1394,1208,678,339,298,319,340,366,346,344,352,368,443,531,512,491,418,371,385,377,359,371,409,441,433,425,457,441,417,359,483,894,1230,1238,1202,1388,1362,1230,1450,1794,2354,2480,2220,1348,699,796,910,808,771,946,905,990,1116,755,437,427,365,519,695,969,1228,1218,1050,445,296,257,370,524,623,529,541,850,825,571,324,360,748,1048,907,751,797,874,990,916,570,785,1428,1320,858,949,928,1003,1024,1005,973,882,771,1164,1352,885,512,504,477,506,597,737,593,965,1404,1324,766,522,763,924,784,820,868,617,412,340,329,330,307,278,302,315,280,299,285,271,365,623,877,842,811,886,1030,585,501,540,778,872,484,490,619,658,568,439,498,481,363,395,568,508,377,418,486,600,626,522,460,459,393,347,607,859,1062,1406,1054,883,1168,1358,1084,553,552,910,1196,1318,850,449,376,648,1058,1122,963,979,920,906,1266,1422,1158,1484,1220,1238,1268,876,883,913,1106,1472,1362,1102,1396,1664,1694,1574,1524,1308,1240,1300,1434,1396,1448,1518,1400,1406,1654,1466,1244,1382,1322,1346,1254,1156,1096,1128,1378,1338,1196,1144,1306,1382,1354,1156,881,480,771,1306,1314,1270,1324,1186,948,1042,1306,1406,1300,1208,1152,1172,1216,1324,1360,1296,1338,1468,1332,1148,1001,777,809,627,862,672,490,384,349,701,808,670,752,874,705,903,910,725,548,537,601,477,407,642,689,672,1052,1396,1001,825,1092,493,391,709,1062,1128,836,763,802,930,979,935,722,303,381,474,404,394,501,669,758,441,313,509,535,423,371,345,328,416,1023,919,655,739,1094,1168,854,606,411,376,352,347,366,430,414,348,354,388,356,338,308,357,495,533,504,568,640,714,480,476,655,738,612,590,686,535,368,376,378,347,350,472,929,1226,1036,937,1013,913,667,604,623,569,505,410,362,396,563,1194,829,385,330,382,380,354,570,839,957,979,1222,1160,1248,1026,711,623,419,779,877,1098,1372,728,417,350,371,450,735,773,702,620,552,719,665,417,347,387,405,571,752,617,579,666,854,681,608,786,785,703,650,650,670,836,1144,1354,1100,709,518,481,1068,1544,1618,1634,1510,1166,923,1030,1150,1188,1234,1044,684,586,983,1082,687,824,1180,1214,1264,1054,1198,1764,1710,1294,1398,1530,1556,1438,1420,1782,1600,1470,1428,1180,1216,1520,1306,919,1184,1222,1114,805,634,823,930,949,849,603,605,1378,1936,1450,1300,1216,1040,846,1038,908,806,1110,1316,1294,1628,1724,1202,1036,1324,1096,863,830,941,1194,1226,907,843,854,597,328,329,339,525,684,516,609,763,769,609,478,795,868,700,805,810,652,1066,1104,1118,800,898,1076,1374,1550,1322,1170,1156,1386,1166,984,668,767,485,562,553,527,472,489,544,571,522,454,727,927,491,386,420,442,717,921,1026,814,778,667,415,312,562,907,688,764,628,644,685,701,1026,899,803,728,567,522,604,597,663,910,966,1002,1274,980,869,1110,929,915,1064,824,604,413,547,915,1246,1162,1326,1190,806,562,1206,1658,1050,788,838,666,694,1092,1378,1450,1288,1050,1136,861,493,392,365,323,346,354,409,438,368,392,727,1064,841,544,470,585,875,1136,1028,755,864,1030,1294,1160,1040,1015,1001,989,1052,1234,1152,1114,891,594,618,634,815,682,1001,1122,783,602,1005,980,771,845,1612,1764,1058,1288,1204,1011,640,460,401,449,479,426,398,367,328,365,355,368,395,420,369,346,354,348,355,402,403,807,1242,1030,1032,976,867,1068,962,1054,937,977,1000,975,844,1212,1236,951,879,884,886,951,839,675,483,359,343,363,680,842,630,356,436,681,792,784,1072,941,547,735,844,909,696,419,408,396,550,676,574,590,607,891,816,944,1028,924,1174,1332,1102,1060,1052,1092,1064,1062,1264,1032,1116,1170,1282,1150,1026,1062,1078,1174,1100,803,463,589,869,735,1166,1322,796,644,767,638,402,328,395,684,827,513,546,658,585,814,1006,914,747,680,846,623,377,349,452,769,1038,1336,893,569,430,372,455,539,657,779,995,1100,1084,1098,1136,1290,918,939,1130,989,698,492,390,405,467,466,390,335,335,419,348,309,306,265,272,280,329,435,469,422,297,298,378,339,374,443,362,336,405,561,797,1028,1236,1264,852,497,375,346,413,383,353,316,307,774,1422,1598,1406,1262,896,567,458,944,1130,1058,792,598,586,612,600,497,422,440,454,507,535,836,825,544,500,539,480,600,850,1058,1108,824,972,1136,578,432,437,537,728,815,1154,1388,1366,1212,1212,1372,1216,857,610,772,1218,1502,1396,1160,1018,1144,1212,1140,1080,1032,1082,1340,1448,1520,1542,1498,1192,996,962,1400,1644,1540,1466,1528,1550,1438,1234,1310,1538,1340,695,458,979,1242,1288,1166,1266,1570,1494,1232,1132,910],[273,266,271,283,343,389,378,337,305,280,308,361,368,414,371,306,383,473,477,375,336,336,371,350,360,400,439,430,537,682,634,600,659,579,483,574,668,843,816,852,741,501,415,425,380,440,425,419,521,556,427,411,393,366,380,436,426,338,298,290,367,404,585,758,497,344,351,339,310,307,302,339,357,448,485,442,336,306,330,372,400,469,526,553,539,892,946,552,838,945,400,331,375,601,713,887,1134,1360,1452,1438,1222,908,711,571,682,1006,810,429,371,608,1066,1540,1934,1704,933,764,1066,858,662,749,311,275,286,363,372,390,384,305,302,309,349,428,443,504,650,469,416,434,492,497,453,406,314,314,343,365,344,320,495,709,671,472,415,609,492,358,402,364,401,448,382,307,372,382,363,342,608,1126,1020,835,607,477,974,1252,1122,1001,576,575,1176,993,714,868,1007,818,840,854,858,800,699,786,868,761,875,974,849,839,690,529,615,788,705,521,595,549,752,376,382,303,489,626,739,535,334,380,724,868,623,795,1226,1250,896,446,281,306,320,319,290,273,309,364,380,385,360,386,453,426,620,648,425,301,747,1186,1114,1518,1644,1150,1216,865,959,908,930,1284,811,483,542,672,713,1166,1500,1382,1426,1310,1086,950,930,721,930,888,719,819,916,1156,1122,722,352,401,359,397,405,330,508,552,548,819,747,504,435,508,1026,1356,1506,1290,720,492,477,400,427,544,720,1092,1786,1816,1600,1376,716,621,593,817,944,1334,1786,1716,1432,1328,1238,678,630,918,615,632,861,1154,1322,946,712,656,1150,1762,1184,593,816,973,1202,1620,2100,1550,1242,716,947,1350,1526,1716,1740,1648,1628,1704,1742,1764,1706,1734,1742,1660,1722,1324,562,375,377,382,449,478,378,336,302,321,321,300,358,375,372,386,411,484,465,502,936,1426,1722,1682,1938,1190,597,1009,1484,1190,1338,1616,1278,772,994,1328,1058,1024,1252,1194,1440,1348,974,1146,1340,1024,1082,1356,1450,1560,1114,1142,1232,1528,1776,1780,1912,1224,514,705,540,374,485,658,798,640,430,464,469,443,392,416,447,474,559,738,771,781,1106,1228,946,869,666,792,940,1116,1322,1162,1012,858,1136,1170,590,698,862,828,646,688,614,335,290,331,324,336,357,280,346,380,294,269,281,886,1272,857,979,1148,1016,1078,725,483,553,735,1122,1088,1066,1108,1324,1782,1412,760,580,805,1134,1090,1262,1254,1134,1160,1646,1960,1704,1302,1158,1246,1152,1026,932,776,506,391,435,797,1116,877,794,796,665,677,637,415,431,904,1194,985,789,1146,1322,1448,1120,648,502,813,921,1023,1230,922,921,1102,1024,1002,694,474,399,336,327,325,295,287,287,264,364,485,372,584,709,760,724,587,418,361,396,401,444,430,424,701,864,448,259,309,500,797,1040,976,870,744,611,351,327,469,943,1001,971,1102,967,611,572,819,1023,1186,1000,682,990,919,823,493,556,354,232,252,304,291,575,749,621,597,756,928,1078,1290,1174,915,471,363,363,418,530,462,345,276,256,230,195,201,205,213,235,269,254,300,336,336,400,741,1146,1470,1174,488,333,295,298,276,287,383,412,366,336,320,328,412,393,374,388,346,298,320,371,430,485,514,531,610,590,547,594,563,546,498,419,442,432,392,398,425,453,484,479,461,406,350,379,398,446,441,413,410,405,403,412,433,437,422,420,436,422,390,383,416,383,342,355,448,562,529,613,905,1188,1074,901,607,410,381,398,435,491,820,1072,955,659,1036,1466,843,742,662,1056,854,1146,1338,959,788,675,551,595,542,523,742,1004,1015,1074,1304,1450,1148,1404,1220,563,321,344,305,401,574,551,538,1162,1258,1084,1116,884,690,632,536,563,589,531,438,313,260,328,386,420,346,366,358,270,274,303,330,384,385,399,409,385,374,389,406,502,468,457,464,458,429,373,378,600,1138,1322,1140,1056,1126,1222,1016,1028,1130,1540,1822,1244,761,728,651,626,630,786,1082,1358,1160,633,437,431,339,382,505,739,1180,1080,689,372,292,326,440,513,661,924,831,718,1148,944,476,414,624,816,992,778,644,656,1198,1324,859,911,1172,1072,1022,1124,839,736,631,682,915,766,457,483,610,591,573,534,606,549,610,486,387,949,1322,965,480,575,1092,1160,650,758,980,744,415,312,336,353,354,325,324,295,286,291,285,389,704,991,1156,839,843,722,675,509,365,448,719,791,556,654,866,868,573,529,504,550,433,398,538,451,343,298,360,418,521,490,488,473,421,359,422,684,856,911,764,883,1320,1242,969,714,703,1062,1434,1062,514,389,470,852,1009,861,745,612,711,918,1054,1470,1278,1264,998,1172,1106,746,814,955,1106,1440,1244,1104,1318,1442,1584,1554,1448,1168,1034,1152,1324,1336,1232,1198,1216,1388,1612,1144,1178,1376,1400,1384,1110,915,625,752,1240,1532,1584,1226,1384,1286,1244,1144,666,597,786,757,1038,1234,1172,1080,683,885,1334,1470,1386,1034,988,1228,1540,1594,1416,1418,1476,1342,1094,1482,1660,1854,1730,714,532,543,410,342,352,645,995,777,426,656,818,1268,1158,938,857,768,547,389,358,426,608,692,751,903,446,353,637,725,734,962,1140,1100,1052,1070,985,1154,1082,852,547,307,274,259,300,371,486,600,600,541,413,373,404,354,317,366,335,316,552,714,702,540,882,1042,744,451,473,592,441,366,369,397,385,331,402,451,386,385,406,436,520,546,535,583,662,673,588,528,680,775,644,565,602,499,378,380,395,355,342,328,616,631,711,767,893,756,449,409,422,386,398,407,517,520,759,1028,583,381,395,375,353,371,599,1132,1426,1120,1196,1138,1380,1300,1130,813,469,908,982,1270,1622,874,510,709,458,414,1108,824,454,531,515,631,708,473,365,372,390,573,766,774,649,638,634,658,866,888,787,730,700,659,645,658,777,932,1250,1316,968,731,1168,1600,1628,1642,1686,1534,1306,1348,1328,1448,1448,1364,1146,808,863,1212,1094,885,1058,1262,1200,1174,1818,1792,1278,1180,1394,1244,1348,1384,1416,1330,987,1140,1098,1054,1084,1380,1182,800,1040,1056,895,826,1168,1498,1556,1456,789,548,498,883,1158,1144,1730,1384,777,803,1034,1096,1224,1366,1306,1544,1924,1380,888,1004,1278,1136,1154,1268,1088,1160,1184,981,1096,1216,952,379,269,393,894,987,583,383,554,836,807,557,810,1062,897,645,463,439,929,1186,1080,973,1198,921,1152,1644,1748,1484,1444,1804,1072,937,1015,1218,853,587,424,424,420,476,602,749,607,419,838,1078,497,348,381,355,650,818,891,706,462,573,499,272,509,811,626,924,1011,890,705,599,541,504,453,385,348,455,817,892,664,771,1122,727,632,717,620,532,459,793,948,900,823,453,549,1102,1096,955,1196,1278,998,647,974,1174,672,479,500,566,951,1304,1224,1260,1424,1638,1698,1162,555,305,305,287,291,487,542,392,547,662,758,1078,966,795,846,763,545,633,711,494,677,619,1116,1114,555,558,709,861,1250,1350,1230,1328,1010,803,859,1232,1724,1168,1000,1072,791,540,783,993,919,1284,1194,599,926,1608,1320,1050,623,416,383,518,561,454,438,472,438,444,409,467,439,390,320,340,403,368,438,705,961,1196,1246,1272,909,800,914,824,789,906,709,602,938,1072,703,470,444,696,821,791,1088,1092,881,840,503,334,369,386,524,722,660,446,422,491,484,412,502,439,293,475,555,594,568,455,438,420,429,468,453,532,605,814,971,1076,1064,885,1090,1176,736,727,930,1102,1220,1290,1410,1228,1088,1046,768,747,1030,1126,1144,951,855,817,755,904,781,479,740,818,525,442,584,567,429,420,397,427,458,531,501,615,719,805,822,875,713,667,675,580,434,435,560,727,793,916,659,367,345,361,448,470,407,669,861,932,867,1054,1274,1368,1028,940,1002,824,580,524,547,390,400,401,371,344,350,374,363,329,270,267,308,344,401,397,355,363,313,363,363,309,302,316,344,583,687,473,514,795,1006,1070,610,460,379,342,371,374,325,291,295,455,900,1512,1636,1440,988,811,660,584,614,702,643,761,814,550,487,408,410,400,412,440,435,776,738,459,377,419,401,523,583,624,960,1016,1084,1162,615,432,411,468,721,916,1032,1316,1354,1122,1234,1266,1224,1204,764,738,1158,1348,1338,1096,1048,1090,1144,1244,1068,1236,1284,1248,1292,1414,1478,1454,1438,1388,1258,1362,1550,1550,1558,1442,1178,1388,1470,1636,1322,1316,968,752,1048,1110,1007,1208,1174,1356,1378,1452,1474,1008],[339,312,297,327,358,357,350,340,321,287,331,376,369,465,677,603,415,433,436,397,374,399,420,411,432,470,519,569,711,887,826,759,711,596,405,416,772,893,652,628,661,576,439,432,407,429,387,407,510,454,411,406,385,382,353,381,389,358,354,378,424,385,397,442,328,302,349,349,357,377,420,374,362,531,717,593,343,312,366,353,386,667,872,674,453,568,998,862,1410,1500,774,699,758,500,624,1266,1524,1450,1492,1460,1300,934,738,1020,764,799,807,523,407,643,1504,2122,2248,1930,1116,775,1206,1090,512,324,266,241,292,398,480,475,392,427,363,358,362,427,455,541,530,468,565,527,426,400,384,368,324,332,334,334,357,362,486,604,553,404,457,642,503,317,327,360,341,406,472,534,523,408,330,308,394,525,521,499,413,600,1340,1280,885,562,737,662,1040,1290,950,1100,1266,1009,1180,1194,1144,968,901,678,590,670,852,888,996,1346,899,381,382,418,710,1003,631,593,934,462,325,578,916,711,446,378,348,434,788,978,459,711,859,1186,1094,646,340,353,392,323,317,320,305,346,365,389,385,708,841,778,765,634,489,431,755,1070,914,1092,1272,996,1188,810,860,785,809,987,826,637,705,888,802,629,952,1068,1094,999,671,925,1742,1462,1032,891,611,603,912,1250,1138,675,377,429,379,369,400,357,698,814,1000,1356,908,614,600,434,642,1038,1652,1236,591,447,405,341,598,1102,868,910,1572,1344,1166,1040,921,1318,1526,1360,810,675,764,979,1023,940,933,519,778,1516,670,628,979,1568,1608,921,714,881,1430,2014,1224,1244,807,514,679,1046,1162,949,794,443,469,440,683,1188,1596,1538,1300,1544,1592,1616,1616,1656,1614,1664,1324,595,334,328,316,304,330,402,396,398,351,310,294,279,342,401,388,357,335,363,360,496,838,1356,1748,1736,1976,1510,849,728,983,1484,1690,1248,1072,1180,1454,1214,925,1130,1304,1376,1186,858,822,938,841,710,924,799,1013,1030,996,1214,1168,1170,1442,1724,1720,1112,585,426,309,316,466,985,1216,738,397,398,399,395,351,359,416,430,518,539,483,693,1026,1024,946,1636,1834,1158,1286,1021,838,963,786,754,948,909,980,928,1010,949,802,659,427,319,348,502,727,461,362,285,309,333,306,357,307,793,1102,795,769,946,788,796,804,727,457,522,988,1106,1202,1236,1092,1011,796,515,565,799,591,514,882,1434,1450,1236,1186,1442,1518,1314,1366,1250,1072,1030,895,1086,1120,911,702,658,538,662,766,803,1088,1178,611,366,350,856,988,791,844,1042,1112,1198,988,793,578,674,885,850,846,941,1184,1234,954,716,479,427,390,372,375,357,266,277,276,215,303,471,511,683,712,753,766,625,392,350,480,465,426,415,367,835,996,478,229,446,704,904,1078,985,810,1066,1054,445,272,387,683,1001,999,1070,932,749,671,489,665,1184,1084,615,1278,1378,604,396,390,281,280,270,281,328,442,442,375,404,687,767,857,1114,1476,1420,818,578,491,435,477,496,469,337,358,239,223,220,219,229,249,278,324,495,857,954,934,1252,1366,1454,1112,440,311,320,319,280,246,312,402,367,291,285,314,376,361,343,346,320,328,340,340,353,450,525,518,518,598,572,535,611,649,541,452,449,420,415,436,473,485,471,465,483,440,418,398,433,442,424,427,422,419,435,432,419,408,406,389,421,448,437,426,378,372,464,441,420,512,543,686,1210,1262,897,913,974,759,477,455,486,441,475,649,860,992,1552,1544,938,687,686,897,914,1116,1190,922,717,687,943,838,915,761,769,995,1172,1238,1102,1178,1062,783,633,478,330,597,551,545,713,684,676,820,891,765,687,549,446,484,459,379,467,518,359,380,383,368,423,414,334,356,326,220,240,335,368,373,383,402,433,415,406,401,446,461,465,482,472,466,436,382,376,424,839,1286,1434,1390,1290,1122,1110,1122,1138,911,478,583,666,768,761,634,652,647,880,1174,1032,728,452,357,306,332,386,718,881,845,432,326,306,336,396,558,1026,1348,983,781,1046,916,752,722,941,944,1004,796,500,717,1216,1102,877,1196,1474,1226,883,899,785,766,704,614,598,451,403,516,537,560,701,764,875,709,486,469,619,920,1532,1756,1001,1092,1178,1144,1088,953,822,647,432,332,327,330,350,373,379,292,293,283,271,540,977,1096,1166,982,959,647,459,454,642,823,847,995,634,739,1136,1456,1196,857,785,722,644,572,462,346,383,388,367,369,446,441,471,469,419,408,500,513,614,1006,858,680,932,860,1036,1118,676,600,802,579,417,389,528,835,882,839,869,741,875,1194,1076,1058,1342,1416,982,709,702,605,889,1048,1062,1116,1102,1256,1294,1384,1500,1604,1538,1346,1302,1236,1290,1434,1426,1266,1208,1660,1552,1234,1226,1104,1100,1250,1302,1256,778,702,1050,1454,1274,1146,1360,1366,1324,1428,938,722,822,809,801,1066,1046,1072,976,1084,1038,1070,951,707,839,1132,1440,1462,1318,1294,1350,1096,1104,2210,1952,1334,627,387,653,630,430,536,794,978,955,945,575,637,675,1003,907,1030,1106,987,644,416,415,361,753,1046,620,438,452,522,711,1052,1001,989,962,795,948,1020,1044,962,697,487,391,388,307,287,315,394,582,823,971,840,435,382,401,307,273,275,328,325,683,1406,1226,467,450,413,372,342,537,437,330,322,379,387,412,366,381,412,373,409,476,472,499,554,585,601,642,585,579,565,598,592,500,457,430,381,361,373,416,395,330,307,529,758,744,656,611,530,342,372,366,394,386,492,716,1036,1150,851,537,655,624,385,357,391,678,1374,1810,1404,1244,1116,1288,1314,1238,994,730,1021,792,1144,1224,596,472,534,438,449,942,764,386,462,440,483,702,628,410,374,390,512,913,1044,894,962,867,764,978,1146,1128,919,787,731,717,757,1007,955,916,1072,1238,1194,1096,1376,1746,1664,1742,1848,1772,1614,1586,1570,1572,1528,1466,1344,1478,1694,1446,824,724,821,1056,1670,1852,1532,1148,1164,1348,1560,1618,1376,1272,1076,705,863,1296,1116,838,1144,1384,923,594,616,595,786,1080,1076,1032,1228,789,658,539,379,426,822,1458,1374,987,1102,1594,1504,1426,1504,1534,1504,1384,916,959,1232,1382,1384,1538,1488,1166,1136,1144,1180,1154,1226,1054,444,244,483,1302,1218,624,395,434,709,973,702,841,1148,924,681,686,621,856,1098,1050,966,808,646,1028,1768,2152,1472,1226,1276,1098,1198,1218,1238,1036,626,401,374,409,474,625,686,491,359,742,898,460,524,653,379,302,410,576,664,435,546,701,549,633,559,496,838,825,661,554,401,422,432,440,440,408,404,728,705,553,516,868,777,508,413,308,273,347,667,703,547,439,429,629,1284,990,635,956,1294,1512,1007,484,480,679,540,557,636,971,1136,1274,1368,1454,1714,1860,1598,880,587,498,502,521,735,769,919,1186,1182,1042,891,777,757,791,593,347,703,1274,650,648,684,998,1030,767,684,531,762,1184,1272,1064,749,614,744,811,788,863,898,1078,1230,1278,1006,635,798,731,1036,1106,833,1216,1376,862,664,594,437,435,499,461,409,429,408,395,422,429,463,441,403,333,622,867,477,505,961,1534,2034,1918,1526,1104,1180,1068,644,795,1144,1015,668,803,1144,667,455,419,802,980,1032,1340,1021,747,641,397,311,348,328,450,709,796,643,475,436,473,315,289,342,435,503,500,573,460,358,339,376,310,260,362,442,500,555,632,897,990,977,1048,1000,876,866,1084,1076,1344,1304,1324,1300,1310,1128,683,756,796,1030,749,642,859,901,1182,1036,684,426,304,408,566,620,705,694,552,433,409,717,672,547,482,606,633,452,445,565,700,887,739,719,815,829,918,838,899,1302,1072,709,732,653,508,491,423,856,973,763,929,1130,1306,1222,662,410,555,744,866,673,549,463,726,731,583,407,466,456,387,345,338,361,357,366,432,331,302,352,366,321,261,302,309,316,538,932,742,498,416,443,504,501,481,404,370,418,415,393,347,284,286,456,997,1420,1598,1380,1104,957,1092,964,692,797,986,982,977,674,455,391,384,353,373,442,440,724,917,611,387,372,362,389,356,415,813,954,973,716,462,490,581,516,926,1320,1058,1200,1048,1250,1360,1194,1110,1112,1066,1086,1236,1370,1444,1300,1210,1148,1090,1128,1098,1064,1206,1046,923,1220,1478,1434,1418,1440,1426,1280,1354,1426,1442,1408,1426,1714,1672,1664,1456,1276,1132,1042,1018,1088,894,1166,1001,1192,1098,1322,1360,1196],[429,403,324,324,347,365,373,327,303,314,347,352,362,426,1,1,316,372,502,648,682,613,565,565,563,540,780,889,915,915,921,892,811,800,575,522,970,959,537,505,459,328,385,422,413,412,401,402,553,614,466,412,401,407,346,336,348,387,435,517,514,442,433,360,280,300,331,357,380,421,423,327,339,315,438,351,311,317,294,303,345,510,619,455,390,491,1108,1090,1138,1032,1086,1248,857,347,458,880,1300,1464,1302,1188,1438,1380,1088,888,746,853,1036,986,769,1132,1964,1770,1368,1240,828,667,1110,1466,738,228,259,277,349,367,436,433,404,714,515,404,404,477,478,475,383,377,594,686,399,324,278,285,317,332,344,368,370,387,528,660,650,466,354,480,570,362,432,505,375,457,494,499,552,444,347,336,305,303,332,339,339,595,1448,1316,957,893,945,691,966,1444,1526,1554,1394,1306,1266,1268,1312,944,819,1230,1004,979,1052,634,822,1230,639,447,483,382,471,685,462,502,565,375,447,1122,1398,928,641,400,387,518,735,935,555,452,460,521,536,471,362,343,321,318,287,301,377,428,354,352,484,1104,1218,1206,1332,822,767,911,548,565,661,820,1104,1294,1166,977,976,739,879,1166,1024,1088,914,619,657,406,650,657,586,560,619,653,1078,1294,1116,834,800,943,1034,891,968,571,384,443,408,380,360,329,578,988,1322,1374,1174,1068,908,551,385,646,1198,952,577,573,535,350,654,1210,749,703,825,767,722,760,913,1338,1742,1406,658,371,500,818,561,517,477,397,927,1302,722,916,1486,2090,1848,1054,1368,1660,1284,1888,1972,2728,1046,461,404,450,414,401,406,420,416,373,408,607,1100,1066,739,1246,1474,1654,1730,1666,1766,1512,661,358,357,307,305,296,306,358,421,424,372,299,276,285,340,412,432,397,368,389,419,844,1106,1460,1376,1544,2056,2084,1522,888,1016,1426,1574,1040,929,1704,1708,1044,881,1190,1418,1434,1130,1100,1242,1284,1104,1062,1092,899,1114,1252,1354,1566,1488,1060,1178,1448,1466,1400,778,383,318,306,395,985,1340,876,390,385,410,428,401,404,409,382,421,454,473,774,1056,1114,837,1722,2198,1400,1102,755,526,604,407,605,728,1146,1430,2346,2612,1438,1092,818,534,372,344,728,1154,507,270,328,342,302,497,690,631,736,843,728,394,661,1001,1126,1438,1208,939,1052,1356,1536,1368,803,558,805,1023,612,642,1130,764,575,625,741,818,1030,1124,800,716,902,1166,1130,1190,873,843,1030,1164,903,971,941,503,472,436,663,1148,994,403,382,485,898,1060,916,1058,863,726,773,489,625,828,1104,979,799,812,625,966,1078,676,384,380,404,417,381,414,563,386,332,310,280,295,261,367,530,591,616,607,583,350,323,395,398,406,395,326,902,888,457,352,332,452,800,983,818,976,1476,856,393,381,721,844,1026,963,719,891,882,887,771,1044,901,787,821,993,799,465,307,246,267,293,270,291,298,313,439,394,360,658,803,907,1136,1682,1734,1256,1070,935,631,509,420,465,393,619,354,200,189,210,291,428,764,1304,1238,1594,1382,1032,1108,1170,1250,777,398,327,372,391,320,307,305,352,304,234,271,312,344,336,339,336,337,327,324,360,342,351,436,503,518,610,587,580,615,594,505,445,392,368,415,442,451,443,442,442,445,449,445,425,436,421,404,419,438,456,422,417,423,415,373,355,401,434,446,419,355,365,475,562,493,502,562,954,1672,1396,1152,1220,1316,1108,756,601,521,400,460,742,893,962,1600,1414,1136,929,1048,1224,1206,984,742,715,842,641,734,748,980,927,760,988,918,913,1102,1260,1250,966,602,730,1178,1914,1084,695,543,509,802,744,854,1168,1084,630,329,319,385,517,768,636,357,349,352,385,393,367,335,305,318,297,306,378,382,393,390,401,454,446,426,420,441,438,455,466,480,460,442,398,405,396,575,1007,1458,1570,1420,1350,1210,1186,1080,861,598,601,564,564,637,651,774,851,913,849,928,933,602,424,337,340,337,398,642,718,538,328,296,310,322,412,672,797,518,552,607,705,827,870,814,854,965,754,621,592,529,442,705,1108,957,984,711,408,560,775,811,775,812,679,655,739,1130,788,1096,1576,1236,737,670,932,1150,1160,1366,1210,862,1236,1194,1150,1202,1202,866,537,369,361,341,522,623,478,641,443,323,311,369,627,929,1244,1108,758,592,468,429,745,1290,1186,785,651,564,551,830,1070,888,975,1208,1030,714,729,651,495,419,385,319,340,360,353,354,380,385,378,390,363,624,1438,890,505,512,747,1146,995,758,716,571,468,399,400,448,556,767,816,1122,891,984,1378,1258,1248,1406,1344,1066,519,447,410,572,1038,1238,1246,1302,1314,1282,1260,1338,1526,1598,1540,1542,1410,1898,2148,1982,1426,971,1126,1362,1258,1270,1174,884,986,1310,1438,1150,964,1122,1222,1406,1498,1252,1186,1144,998,957,847,672,769,662,1100,1344,1284,854,590,819,1166,1178,1050,1030,1190,1372,1382,1362,1356,1306,1078,870,1556,1538,1106,847,866,882,705,496,744,1002,1104,912,1086,859,680,821,1042,1080,1280,1260,895,501,405,424,351,745,1036,608,387,501,587,568,703,922,1012,807,702,715,935,1178,904,535,375,397,353,321,306,321,327,501,890,1126,995,771,509,450,368,273,285,378,363,410,936,1136,401,352,320,337,350,440,420,367,363,395,407,402,360,330,355,372,405,460,445,486,452,478,518,597,687,636,547,534,421,357,325,338,345,376,414,429,387,349,297,574,868,728,521,408,397,408,511,531,439,456,545,817,1152,1236,990,794,935,904,509,380,414,1012,1714,2024,1494,1080,1188,1264,1114,1320,1688,1102,1162,1138,1080,893,586,445,370,408,526,875,736,373,388,370,374,630,674,483,378,399,407,750,1086,1208,1072,728,742,968,1156,1134,966,902,838,816,1042,1362,1420,1388,1238,963,1044,1250,1194,1460,1786,1870,1902,1856,1760,1692,1672,1616,1544,1614,1800,1758,1610,1416,706,576,814,1452,1826,1364,1172,1360,1300,1396,1664,1512,961,844,614,743,963,1070,564,487,1040,1876,1880,941,580,689,899,1058,891,782,717,619,922,772,414,207,365,600,928,1072,1392,1564,1116,1322,1350,1576,1222,921,846,1536,2106,1722,1466,1472,1130,1070,838,631,756,762,957,1066,533,250,287,310,478,616,449,525,660,855,678,890,1118,759,818,1070,774,786,1134,997,739,933,970,1190,1318,1416,1202,1042,1094,1154,1050,1144,1130,840,793,806,655,421,457,540,545,435,340,495,478,355,691,902,637,563,628,765,947,1064,1018,1058,771,751,596,352,657,859,669,585,552,479,436,397,404,404,389,467,423,389,491,890,809,460,508,540,342,296,501,524,415,451,503,710,868,848,1024,1024,955,1306,1314,788,563,579,489,604,893,1146,1224,1046,913,1092,1428,1472,1412,1138,1070,725,544,539,573,502,947,1086,791,898,855,869,694,457,444,502,818,1106,694,531,613,1120,1354,1064,906,738,933,776,782,583,390,322,490,640,513,422,520,791,941,795,814,494,485,724,1162,1096,937,1216,1054,632,586,648,592,484,531,530,516,472,429,397,427,477,438,382,408,372,490,535,311,340,551,1250,1920,1898,1472,1332,1356,835,416,657,888,908,680,932,1172,588,451,385,783,1005,947,910,941,1013,1015,722,345,321,296,332,568,810,782,556,553,455,303,323,359,537,663,624,698,516,507,430,358,307,300,365,430,574,569,425,513,836,1100,1021,912,1256,1322,1186,951,954,991,1122,1330,1272,691,407,508,551,841,968,766,534,522,625,585,577,422,326,432,684,954,724,701,737,637,1604,1714,691,511,414,384,446,533,568,453,605,859,927,782,1011,1464,1354,975,950,1218,1296,1130,672,561,520,422,382,1494,1844,1160,926,1106,1400,1316,627,403,400,488,688,821,724,728,844,1076,846,418,373,466,383,290,459,882,615,395,364,393,333,319,317,263,276,275,275,298,519,891,486,388,533,538,520,444,435,409,401,422,423,405,400,432,509,1007,1488,1288,1124,1004,1114,1092,1009,979,905,880,818,819,1004,702,446,349,356,397,379,427,474,781,1072,789,504,477,407,655,742,441,392,585,562,429,334,469,676,580,769,1190,1242,1288,1318,1548,1334,1134,1176,1322,1386,1460,1400,1450,1622,1346,1422,1462,1262,1416,1432,987,925,880,877,1208,1522,1490,1406,1578,1568,1526,1498,1382,1494,1610,1548,1322,1272,1350,1326,1394,1492,1108,977,1020,1046,1004,964,1172,1228,1282,1362,1214],[559,445,339,386,437,436,364,299,276,311,347,355,335,330,4336,9240,5264,368,819,634,658,501,586,776,826,790,913,958,965,923,968,925,813,958,1266,1360,1294,1112,908,441,340,318,370,394,419,414,422,421,658,856,528,444,390,368,353,351,389,407,428,493,484,465,449,344,318,322,304,297,343,466,422,305,328,356,301,299,330,242,263,288,290,339,318,485,708,768,1312,1186,844,842,1234,1366,813,381,462,581,837,1030,868,1054,1404,1324,903,578,583,773,974,918,1076,1234,1350,1538,1256,1110,909,633,672,1156,807,339,326,256,285,340,353,374,400,623,477,400,473,544,572,459,324,343,506,618,362,300,297,325,336,330,341,372,369,420,559,665,727,574,395,444,467,348,395,424,394,484,599,818,900,530,382,399,357,322,347,320,362,611,1032,1036,745,873,913,639,832,1296,1562,1560,1338,1468,1140,1134,1218,791,747,1042,962,968,988,884,1030,619,343,321,282,326,433,446,472,461,349,310,408,816,1048,966,900,527,355,437,531,600,435,508,506,296,289,296,318,295,299,271,263,302,295,319,336,383,546,752,735,1114,1464,1076,986,952,737,852,1152,1760,1418,1336,1164,1188,1344,1030,899,961,1034,1280,1009,644,718,547,497,714,556,392,538,729,841,902,1164,1224,985,1110,1164,1074,1040,647,394,411,362,345,301,366,511,986,1174,1156,1034,1152,1124,902,773,1082,1246,885,625,677,572,443,552,614,657,627,593,580,505,450,638,1318,1810,1250,756,594,700,858,547,520,477,401,891,981,890,1504,1792,1710,1516,1330,1946,1566,935,949,890,856,492,416,399,378,375,360,363,371,424,372,348,375,583,537,485,1074,1454,1594,1668,1890,1870,921,441,378,343,307,332,357,350,385,410,411,409,361,318,334,365,398,501,639,610,613,623,1003,1708,2156,1526,1384,2238,2148,1420,1124,1178,1122,1294,1102,1198,1426,912,485,865,1356,1172,1074,1508,1300,1236,958,999,1260,1050,760,934,1178,1246,1002,727,716,1242,1160,1080,1532,1144,606,377,366,346,380,594,587,439,380,410,464,437,448,415,401,415,432,485,805,1050,1032,888,1056,973,1114,1088,1056,734,461,498,884,746,1014,1212,1560,1488,1316,1440,824,764,596,501,895,988,514,383,561,639,502,514,806,1066,1056,1184,1108,761,1054,1092,689,771,796,973,1042,1082,1270,1252,683,517,759,937,908,806,1180,1332,908,502,470,514,1021,1272,581,476,507,529,910,1156,907,1090,1023,835,716,947,874,549,426,334,428,745,529,495,678,736,818,1228,1400,1174,695,446,478,434,461,783,1000,692,567,491,537,735,532,416,390,357,382,386,399,671,1032,758,456,386,350,330,275,245,293,387,420,383,433,317,320,377,372,389,381,418,669,747,703,448,273,543,859,852,616,828,968,554,320,540,807,777,1096,1484,1350,1058,445,508,789,1112,807,670,927,735,407,417,348,274,422,530,293,283,277,264,298,336,341,433,460,705,1192,1642,1632,866,880,1320,1380,770,414,437,427,436,298,213,298,481,708,1082,1316,1598,1064,1042,1202,966,946,974,1216,1100,607,374,576,636,449,388,332,325,296,255,278,312,339,346,370,367,340,316,334,352,342,295,323,401,504,566,565,629,621,504,454,458,417,393,418,411,420,425,438,452,396,377,417,441,440,432,439,445,422,433,379,383,408,400,417,404,392,399,412,432,424,406,425,515,493,428,515,1068,1352,953,804,1040,1062,988,828,589,605,585,575,948,872,794,1226,1516,1328,858,650,1016,1132,800,605,720,832,720,918,997,872,834,832,919,886,1134,1492,1518,1358,1264,868,927,1126,1408,1554,1290,542,341,474,527,766,1328,1290,597,298,297,275,320,423,370,297,343,389,370,376,400,416,418,448,350,344,395,404,403,401,407,416,433,420,422,426,410,432,456,448,464,424,403,414,362,455,880,1316,1510,1390,1210,1192,1302,1384,1142,902,709,572,567,609,774,905,1140,1352,1244,887,709,603,402,368,359,379,337,397,625,609,343,289,354,395,333,348,348,364,390,343,595,892,861,664,924,1118,901,1005,652,472,381,730,973,664,1030,1184,926,796,728,805,669,767,780,907,1144,1484,1306,1782,1698,907,573,882,1296,1208,1124,942,499,448,672,962,1200,1344,952,599,531,618,614,419,691,829,712,993,659,381,318,563,619,749,1036,1028,751,539,711,1032,951,874,855,830,899,647,430,490,567,617,831,1108,1150,1094,1001,802,657,561,394,298,268,296,335,335,362,419,400,347,395,604,949,747,584,612,908,968,735,681,669,657,618,499,481,477,566,776,623,722,804,1058,1208,1164,1248,1290,1106,844,467,414,365,589,1032,1017,825,849,1216,1452,1330,1376,1272,1470,1574,1636,1504,2286,2714,2002,1454,1300,1232,1356,1346,1162,1128,902,1146,1388,1328,1352,1434,1396,1384,1322,1098,752,705,953,1252,1248,866,830,984,833,1022,1430,1362,852,857,1292,1354,1320,1430,1250,1354,1278,1360,1386,1148,858,741,769,1060,1312,1356,1252,1104,864,931,868,760,624,644,659,933,900,857,1116,1084,1168,1490,1364,790,444,398,338,394,843,912,682,502,579,649,594,758,867,925,895,792,1016,1208,1442,1188,628,522,442,356,401,366,420,381,445,882,1314,1442,1114,540,406,397,273,283,384,363,337,485,546,325,312,292,310,328,358,377,354,347,376,419,428,377,339,383,401,425,464,478,477,439,455,451,550,771,865,562,449,386,374,351,430,434,417,414,404,391,369,341,448,653,984,611,432,423,431,573,815,703,530,511,570,611,550,466,761,1152,1108,554,358,355,1060,1820,2130,1726,1148,1032,973,1100,1196,1230,1056,1120,1210,1126,958,785,574,462,371,487,709,519,364,339,368,398,607,577,393,346,376,372,479,838,1018,772,565,871,1056,1106,1110,1158,1206,1070,1070,1426,1578,1442,1514,1544,1328,995,951,1190,1376,1686,2018,1954,1898,1864,1816,1778,1682,1642,1896,1894,1576,1392,1046,557,648,1334,1844,1952,1664,1618,1814,1442,1270,1300,1066,656,586,804,1172,1092,604,395,424,693,1530,1550,667,510,714,1088,1444,872,591,489,395,540,778,625,316,306,346,359,507,1042,1294,1200,1150,1044,1138,1116,1268,1248,1778,2488,2026,1578,1040,625,556,343,283,433,691,836,941,623,326,335,353,442,490,375,474,622,609,727,912,1034,916,783,698,647,792,1070,1168,1152,1278,1208,1152,1194,1396,1146,913,946,713,710,1220,1052,888,999,1292,925,752,785,576,578,573,494,592,626,592,754,989,734,666,576,677,827,1114,1094,1046,926,1012,788,543,940,1158,875,945,719,556,570,454,434,404,346,308,318,346,432,607,543,458,502,481,332,469,487,446,387,430,525,573,813,1100,791,921,1120,1328,1584,979,448,295,416,664,967,1108,795,462,366,604,1272,1348,1162,774,706,552,382,372,355,374,830,1102,963,1188,963,857,792,847,810,758,891,1015,850,547,739,1410,1454,929,1040,1262,1270,998,691,472,377,309,578,933,844,556,365,594,755,698,778,511,525,639,1124,1094,927,1074,873,514,545,690,865,622,593,532,458,452,426,399,466,489,402,376,378,384,405,368,269,267,320,696,1048,1276,1168,993,834,673,453,392,578,849,896,1488,1508,1050,865,619,667,803,1074,1794,2418,1860,1088,711,537,555,451,416,581,756,867,683,566,644,585,384,520,660,748,902,1174,875,574,426,369,338,310,352,482,551,440,494,571,1142,1230,987,999,1186,1162,1180,1012,546,613,899,880,734,513,406,324,455,943,1110,692,383,332,341,423,513,370,362,374,459,837,818,713,806,749,2962,3054,570,408,380,369,470,494,601,551,765,999,1072,719,666,959,1402,1476,1172,1388,1902,1158,490,356,383,448,440,1194,1466,1082,940,1118,1350,1106,605,410,427,498,396,334,705,977,873,777,688,514,435,491,482,410,683,1044,726,429,340,355,321,303,247,245,288,323,346,269,383,660,791,630,619,745,667,466,399,405,428,429,427,442,505,571,956,1400,1322,970,879,1098,1288,1220,988,1074,1170,964,697,752,776,536,401,358,326,315,340,390,451,631,915,886,608,447,449,855,791,636,716,644,551,564,547,487,538,779,1134,1430,1490,1264,1546,1726,1462,1038,1114,1368,1278,1332,1414,1276,1260,1316,1762,1426,1334,1496,1316,1238,1144,1158,1406,1564,1448,1374,1548,1550,1354,1306,1344,1478,1550,1400,1384,1450,1444,1414,1408,1624,1484,1262,1354,1532,1434,1192,1248,1384,1268,1338,1484,1210],[477,344,296,495,708,552,321,283,270,297,326,323,595,1,7744,16080,12496,563,631,325,343,259,354,561,796,878,852,835,859,933,973,882,701,628,652,623,941,1148,1150,551,347,353,354,371,415,429,419,442,648,791,571,445,391,349,333,346,417,428,336,380,811,1236,968,393,357,351,325,307,363,413,354,303,318,331,346,315,452,960,600,436,556,587,397,575,921,1218,1488,1352,1134,951,1066,1030,850,774,657,435,357,579,752,716,833,1402,1310,698,575,549,625,893,725,559,677,999,836,763,986,920,528,428,349,336,311,241,322,283,325,448,498,472,435,530,594,580,603,587,447,325,374,386,325,292,295,322,317,327,359,361,343,423,559,572,656,670,609,520,363,293,297,303,290,336,612,1114,1114,488,356,405,356,373,419,523,618,766,955,986,946,1266,1294,994,906,1042,1492,1540,1526,1386,868,938,1096,708,477,749,898,1072,1094,1122,913,405,332,291,299,370,457,583,891,880,545,351,481,574,841,796,923,739,583,601,488,432,451,591,660,478,339,318,457,547,521,341,313,311,278,381,400,484,811,1054,846,1021,861,885,963,837,790,912,1352,1554,1506,1454,1482,1454,1162,687,552,987,1584,1596,1244,1004,1122,1070,919,861,582,437,565,1098,1378,1216,1186,1112,846,1068,1206,1120,1015,597,391,425,378,388,330,348,422,926,996,951,993,1106,1180,1248,1340,1210,986,981,827,761,530,532,578,526,460,424,491,628,621,517,626,894,1234,1244,1160,1750,1510,921,781,854,743,607,966,1036,989,1854,2266,1952,1294,837,930,816,783,582,408,463,480,417,377,349,350,340,332,324,347,358,353,361,406,399,477,1040,1690,1776,1784,2082,1304,475,374,333,341,318,361,402,374,362,342,341,384,396,392,383,377,359,505,670,669,726,753,1028,1804,2120,1512,1260,2092,2072,1452,1116,823,695,635,788,1076,1004,865,710,960,1222,923,664,943,1078,1244,1018,1046,1320,1034,844,854,938,1030,897,527,713,960,965,1166,1476,1628,1246,929,815,447,362,412,399,430,436,422,484,475,456,436,426,446,431,514,811,1052,1026,1100,1078,1124,1144,1194,993,713,488,800,1150,962,802,923,1086,845,940,1228,702,603,736,879,1062,1080,771,650,795,712,572,530,630,933,1326,1382,1005,860,1218,1318,1036,634,648,1024,1116,1100,1190,1194,890,886,1076,1098,1108,954,1136,1326,780,321,416,475,698,999,1186,871,646,880,979,681,894,1210,1146,1054,951,1058,642,674,539,399,448,587,538,519,802,860,852,1148,1236,1152,728,519,356,294,354,582,708,648,585,557,592,545,411,455,419,367,384,387,521,972,1162,817,548,448,378,368,305,241,241,284,392,397,388,308,322,357,346,356,357,382,565,785,959,436,291,1006,943,935,659,505,572,546,511,793,998,724,921,1436,1114,494,341,283,367,737,812,699,848,618,321,446,387,263,326,395,246,289,313,313,295,380,458,430,503,739,1090,941,814,783,886,1154,927,729,586,477,345,269,213,207,344,696,786,1142,1162,1354,1094,1190,1430,1190,865,886,947,1180,988,499,570,764,653,414,305,311,290,269,286,314,336,343,357,423,383,305,336,330,352,336,341,339,444,460,418,563,567,442,442,423,397,361,392,379,382,396,397,397,385,392,433,448,434,428,449,454,412,457,417,422,423,417,439,445,439,439,452,475,463,450,388,437,413,512,814,930,941,747,602,850,785,995,1015,643,628,758,970,1076,651,838,1390,1516,1300,949,649,1016,746,516,529,917,868,763,978,958,755,648,836,1086,1036,1090,1356,1226,1094,1362,1100,650,496,865,1642,1224,499,333,305,398,613,1180,1176,583,377,328,301,303,319,323,317,371,432,406,431,425,435,468,502,383,336,388,415,401,407,395,409,414,403,390,408,382,407,403,397,441,402,387,370,334,648,911,1016,1404,1334,1396,1750,1788,1380,1474,1600,1284,990,828,801,887,843,1178,1444,1436,728,520,591,575,687,554,327,452,578,641,557,302,302,416,449,348,279,326,384,381,290,306,547,724,523,713,1084,805,797,722,727,558,777,771,752,1118,1236,976,662,560,496,580,781,925,1434,1404,1220,1350,1242,682,436,470,689,1140,1188,1072,688,873,675,435,561,920,977,610,396,441,563,473,395,503,583,824,1005,805,543,377,582,758,709,660,1158,1108,813,1202,1316,795,556,532,655,674,516,448,414,642,874,1124,1170,1080,1192,938,816,732,661,597,494,412,370,353,341,369,467,411,351,387,428,460,640,635,653,680,806,881,722,561,617,678,550,464,516,702,896,1036,882,1046,1324,1316,1138,1126,1092,1130,592,450,390,266,397,661,573,448,707,1288,1588,1322,1156,957,1116,1438,1660,2070,3066,2498,1442,1310,1274,1162,1360,1460,1458,1500,1310,1360,1192,1050,1346,1268,1152,1258,1246,1005,860,917,733,1020,1142,813,905,995,1044,999,929,991,1017,1216,1326,1216,1058,1464,1228,1302,1250,1376,1262,1090,1002,1072,1530,1656,1410,1388,922,791,636,873,839,941,811,447,461,800,1064,1222,1144,980,1132,1354,1340,942,535,394,488,703,775,755,760,828,854,1054,666,797,549,513,666,896,1152,1156,1324,1134,900,805,558,381,442,412,463,467,593,993,1082,1082,831,412,333,345,307,338,392,337,304,282,262,279,278,294,325,337,351,360,360,389,357,436,452,451,428,410,425,450,469,493,478,465,477,478,531,645,865,594,371,362,361,366,459,502,482,472,473,467,458,468,562,847,966,520,370,513,462,495,680,543,464,731,969,944,700,514,640,711,509,342,327,334,875,1718,1982,1814,1494,1292,1068,1122,1214,1388,1080,861,1038,957,924,1076,783,576,410,415,371,344,391,393,462,568,702,623,436,352,369,364,361,419,426,444,735,1150,1160,1180,1250,1250,1208,1196,1330,1498,1510,1462,1504,1538,1574,1422,1072,945,1116,1340,1444,1484,1564,1796,1862,1806,1748,1770,1410,1122,1068,922,620,630,1220,1808,1922,1766,1710,2398,2788,2256,1448,1472,1174,884,753,707,916,793,522,352,368,658,1172,1228,789,531,584,1392,1434,748,484,401,379,414,432,456,393,302,310,318,320,538,1178,1234,1009,858,1058,1316,1346,1270,1528,1582,1462,1152,734,406,323,346,415,744,882,977,1124,778,416,406,362,402,331,292,429,548,578,802,1070,1032,752,832,802,656,607,728,994,1136,1102,930,1042,1286,1330,925,631,474,420,722,1398,1132,965,792,761,687,935,932,767,831,843,841,985,756,868,1064,1076,1166,876,542,646,621,657,867,774,722,910,883,1126,1654,1436,968,785,489,473,623,713,680,531,526,558,383,392,365,408,381,554,724,944,1496,1462,785,491,421,403,408,468,805,1154,674,814,1342,1372,1216,1202,843,462,457,487,489,525,382,400,512,643,926,1254,1412,887,468,352,291,275,269,410,764,1244,1182,1152,1100,1422,1212,1076,1136,1160,775,780,1056,656,546,810,701,932,1170,1150,1220,1434,985,462,390,461,747,883,759,535,531,944,1140,1112,1074,670,518,639,873,1004,937,896,807,503,519,694,789,645,544,339,267,386,391,399,481,438,380,322,338,349,375,378,297,331,408,496,746,827,755,631,604,901,780,761,747,672,971,1488,1422,1164,851,597,601,537,864,1976,2598,1542,906,1178,1344,1062,666,547,584,775,937,752,882,1180,1094,958,930,957,958,1150,1208,867,554,400,343,325,366,379,496,639,401,387,930,1392,1200,875,595,750,1012,829,627,472,546,797,987,520,380,416,417,411,422,412,426,395,386,313,416,408,387,437,518,502,737,880,735,612,458,903,701,361,343,335,401,943,630,597,576,581,995,1142,725,556,1036,1804,1720,1466,1426,1732,1015,509,325,292,288,351,564,904,1198,1230,1024,936,908,546,385,388,375,332,320,645,874,716,823,878,823,589,837,849,773,1066,1058,847,584,413,366,362,338,298,281,356,444,475,483,471,602,827,580,443,568,547,437,406,504,568,495,477,437,472,448,616,720,799,1013,1166,1288,1262,1150,873,987,1023,676,647,1002,993,625,450,423,344,349,352,362,374,333,574,574,493,535,720,872,720,937,1370,1348,998,1004,1023,951,808,1100,1384,1318,1308,1344,1416,1452,1318,948,871,747,698,933,1086,1026,1166,1198,1350,1300,1410,1402,1368,1362,1328,1338,1664,1802,1622,1532,1450,1310,1274,1382,1438,1314,1208,1190,1224,1404,1488,1498,1556,1420,1274,1316,1302,1234,1124,1100,1382,1498,1356,1252,1416,1290],[230,230,225,322,474,396,296,288,276,275,312,277,505,114,2404,6120,3580,365,267,254,249,209,199,220,374,392,455,542,509,620,827,778,613,434,423,402,603,1266,1204,549,331,352,359,366,409,440,418,488,940,1278,943,537,395,338,315,351,393,407,347,375,689,869,807,985,1070,802,529,350,309,312,338,356,315,412,473,529,1986,2740,1220,1013,933,727,452,605,1032,1232,1448,1622,1272,614,451,493,481,565,420,323,434,471,732,899,956,1178,900,517,473,386,393,483,362,611,1136,1034,631,533,597,639,452,355,397,357,310,262,303,264,309,444,509,432,449,623,754,705,528,499,414,330,360,333,313,296,290,303,310,345,387,369,331,444,630,632,594,673,690,696,541,351,381,375,339,260,335,615,652,464,359,325,367,458,518,827,1118,1202,1272,1160,965,1224,1126,610,733,1124,1622,1596,1426,967,813,1144,1100,606,478,839,815,1086,1126,877,524,362,337,352,404,472,514,719,1432,1634,868,398,447,540,587,529,916,879,846,959,634,408,555,813,1098,924,546,274,495,502,450,422,477,642,789,705,650,709,1120,1334,1034,1062,921,629,608,872,855,920,968,871,1168,1034,1228,1308,1164,686,667,1318,1494,1562,1408,1152,1390,1452,996,832,688,565,654,1080,1344,1280,902,651,659,662,641,888,943,534,422,460,431,471,393,343,451,1086,993,631,775,1048,1330,1284,1286,947,695,1042,852,738,573,476,512,550,602,674,570,501,467,510,737,851,1154,1124,927,1318,1206,1130,1252,1350,1016,766,1196,1360,1312,1770,2200,2336,1288,526,393,466,686,702,619,618,513,420,399,393,392,386,363,362,348,333,334,350,344,384,440,786,1450,1850,1708,1388,567,389,355,341,358,363,428,463,448,443,396,380,385,386,398,358,339,379,602,651,590,684,744,1003,1576,1520,1344,1242,1854,1958,1658,1172,906,816,620,666,684,915,1084,800,766,928,771,409,677,853,841,934,1240,1194,941,991,609,761,851,1078,764,865,755,736,965,1332,1648,1538,1420,868,396,415,630,536,515,498,473,476,509,526,469,427,457,502,556,984,1406,1062,1136,1360,1058,1048,1140,1048,619,308,534,796,1148,1422,1098,1092,1128,1040,994,1220,1172,1136,1314,1416,1248,1009,852,635,639,921,891,791,652,1050,1154,877,760,1032,1240,1038,1002,1096,1210,1296,1332,1376,1360,959,634,1070,1202,1212,1238,763,633,572,342,376,378,450,906,1134,1036,944,1023,1054,912,918,651,1018,1048,933,809,778,753,899,915,671,587,571,392,405,605,981,1222,1218,1396,785,486,327,339,506,514,500,612,677,736,599,659,503,432,417,404,380,401,738,1126,1292,1134,664,391,350,311,268,244,218,287,421,432,365,324,293,314,336,341,323,348,563,632,847,461,257,355,651,843,720,702,651,622,979,1294,1096,893,866,939,996,950,736,559,404,516,727,845,703,420,337,537,441,308,296,338,291,254,493,618,400,430,466,375,419,602,767,778,941,1056,1202,1210,1292,1056,548,380,232,230,204,222,247,521,963,1116,901,1070,904,922,1468,1672,1026,770,606,938,850,496,592,700,728,536,376,333,300,274,280,293,310,330,312,385,368,304,279,261,287,320,315,292,378,473,464,563,542,420,393,433,398,366,415,436,416,409,386,397,408,422,461,444,412,417,414,429,438,441,456,451,416,390,384,422,430,450,440,462,460,469,414,361,379,869,1250,1182,1448,1278,847,803,728,888,1214,1009,753,706,1042,865,411,520,697,827,803,603,362,365,289,337,578,1086,1056,655,760,1244,1132,698,689,706,684,683,865,667,551,1102,940,425,237,662,915,428,320,318,363,434,561,761,636,619,616,383,314,339,384,316,330,344,406,421,449,454,449,469,489,385,323,391,408,406,397,398,422,426,416,399,571,631,527,411,375,384,381,379,340,468,725,475,728,1266,1566,1836,2100,1844,1228,1224,1594,1622,1318,1184,1182,905,624,1068,1450,1164,573,456,720,976,1078,957,487,417,478,645,558,622,670,544,463,396,325,311,373,415,326,303,354,422,597,684,705,619,607,1021,895,710,1042,1003,868,1086,1024,586,709,883,923,811,876,1346,1306,728,774,855,661,542,557,486,485,921,851,1021,916,797,680,556,713,844,806,937,524,523,1018,924,497,387,354,536,636,655,620,756,1198,1138,587,506,941,1214,1106,1328,1146,918,814,716,666,565,629,711,606,587,673,990,1172,1260,1202,1086,1094,910,806,761,697,636,549,388,372,395,463,384,348,373,362,500,643,768,708,454,536,643,933,693,535,523,426,418,702,896,1106,1376,1170,1354,1302,1070,1018,1272,1396,1200,666,470,351,347,394,439,668,890,879,1148,1116,944,1112,905,880,1218,1572,1882,1842,1404,1370,1292,1268,1266,1210,1134,1274,1414,1352,1202,1186,1208,1208,1122,1200,1278,1178,1234,1410,1516,1084,989,1280,1372,1274,1208,1142,799,754,794,894,1098,829,896,865,882,1212,1426,1400,1208,980,1280,1218,918,1488,1720,1280,1298,1036,1110,786,943,1102,1294,1030,702,930,1170,1242,1258,1140,1015,953,1094,1196,1324,1008,578,713,729,461,425,716,1222,1388,1566,764,611,665,942,1094,956,810,1019,1184,1302,1192,1026,623,409,403,440,483,763,1052,1030,990,1238,1094,486,327,323,310,269,314,322,350,346,291,278,308,320,307,316,329,350,392,487,383,414,421,423,424,453,486,505,512,502,487,483,498,472,485,525,770,611,400,415,465,481,506,524,479,466,432,445,476,471,462,513,445,384,510,647,493,364,418,394,532,979,1410,1312,924,755,749,483,371,346,348,337,733,1696,2018,2004,1590,1256,1178,1190,1278,1326,985,850,972,726,904,1056,789,719,636,455,383,347,414,463,500,625,688,630,459,383,360,353,358,388,404,441,944,1262,1240,1302,1338,1366,1400,1420,1498,1550,1522,1528,1560,1606,1524,1218,1130,1192,1180,1054,1196,1216,1080,1186,1638,1776,1726,1332,720,517,609,589,573,986,1664,1704,1412,1700,2084,2540,2596,1916,1042,1146,1180,1002,664,681,785,633,755,879,768,922,1009,1200,1224,914,990,1366,1122,641,423,332,382,361,437,441,354,333,418,348,292,351,683,1116,1300,1144,825,1040,1132,1028,1274,1372,1034,968,1156,775,451,415,564,846,1019,1138,1054,858,574,394,389,455,410,398,500,748,957,1070,1114,842,705,1224,1346,1026,882,912,1200,1404,1140,1056,1170,1312,1294,1098,829,551,499,778,1216,1058,985,969,922,841,742,548,547,738,625,1011,1788,933,754,1160,1001,1206,998,633,725,541,514,811,659,437,664,976,1394,1898,1512,893,454,310,357,382,492,620,567,618,628,404,427,329,397,479,622,868,941,993,909,521,408,343,371,440,486,733,1096,1168,1200,1478,1416,1400,1544,1216,637,427,329,365,486,436,426,713,861,974,1354,1488,924,512,592,489,301,289,352,550,1170,1174,980,1158,1216,636,416,843,1098,637,713,921,460,294,547,520,836,1032,1076,1274,1408,1066,670,827,843,782,709,731,927,954,957,892,910,949,728,703,651,482,532,598,564,691,756,897,1017,1138,979,765,480,291,364,366,372,405,372,382,359,356,342,316,329,368,392,382,379,434,628,989,647,604,1132,1350,1372,1112,787,742,933,1011,1154,955,417,368,381,461,599,451,354,799,1838,2094,1378,805,556,593,690,1038,1526,1670,1724,1344,1304,1046,875,976,1116,1030,739,442,340,302,351,547,422,484,649,421,471,1226,1378,1028,924,886,1068,1208,807,598,521,639,631,568,389,498,557,474,454,406,556,533,383,341,325,462,367,321,376,623,829,970,989,707,434,302,274,318,332,358,346,400,649,606,618,528,409,677,959,1052,1138,1064,1232,1168,880,1046,1284,907,471,339,347,347,347,409,916,1098,1094,852,681,883,643,414,398,396,386,364,575,695,479,461,780,973,736,680,712,957,1292,1220,778,485,398,325,338,304,278,291,379,349,547,910,847,684,605,521,772,736,593,488,398,480,581,594,521,486,451,445,538,542,675,1078,1082,1086,1284,1180,1021,1070,864,499,407,625,799,624,584,476,384,379,372,357,361,341,482,464,655,960,1102,1242,1168,1226,1454,1286,877,1108,1322,1044,850,1038,1216,1318,1364,1360,1344,1418,1312,1156,1122,1298,929,697,840,750,878,1164,1194,1372,1532,1414,1418,1558,1500,1454,1656,1632,1432,1366,1278,1262,1248,1242,1222,1288,1420,1576,1344,1480,1750,1628,1416,1216,1278,1332,1234,1272,1324,1180,1434,1578,1522,1316,1282,1222],[256,248,230,272,247,222,260,257,244,250,245,201,198,218,186,1,1,285,196,213,258,227,214,218,216,227,246,215,194,253,340,401,394,290,336,323,651,1184,950,433,355,355,378,372,403,404,397,561,1156,1664,1472,758,411,385,330,366,465,468,408,371,326,358,1204,2050,1762,1124,679,361,327,319,419,474,385,448,578,519,649,549,702,1234,999,559,529,761,1172,1232,1282,1514,1196,476,359,323,311,451,368,345,551,947,1234,963,830,863,879,568,459,455,429,486,574,700,1013,987,608,359,273,289,307,347,374,355,316,288,287,257,353,670,663,352,339,551,814,650,473,449,436,342,345,350,327,317,302,302,304,282,326,360,343,368,425,474,438,404,399,525,507,381,414,402,294,263,293,353,465,423,423,365,340,308,482,946,1248,1272,1374,1172,1226,1462,1064,491,402,915,1362,1562,1434,988,972,1312,1108,790,471,470,754,1196,1184,980,798,537,442,369,447,455,467,558,1282,1898,1130,616,429,619,652,763,954,731,1026,1118,683,542,551,648,880,735,369,246,273,285,321,439,740,1094,1132,1144,1062,758,783,962,1174,1092,1009,897,713,952,1476,1498,1238,946,954,915,1210,1400,1524,1180,1322,1666,1370,1032,744,880,1372,1264,838,834,533,643,818,1009,1142,1192,1036,1080,1328,998,648,875,1048,663,470,407,416,470,448,354,456,929,828,453,765,1202,1426,1176,1204,913,738,1186,1278,943,563,527,483,368,631,966,594,570,708,596,626,732,1130,1016,653,658,1015,1066,833,908,759,760,965,1132,1304,1428,1646,1578,1010,533,811,1180,1132,1312,1252,688,471,426,375,407,396,387,360,336,327,318,310,325,378,422,393,551,727,1060,1338,709,402,363,391,439,407,378,434,451,467,487,429,346,321,346,367,336,313,372,554,615,603,651,763,831,1062,1354,1462,1390,1850,1972,1742,1336,1378,1344,795,597,843,1084,948,663,561,773,716,497,582,612,530,485,571,590,534,957,979,1440,1084,894,688,502,496,738,989,1360,1306,1380,1594,1206,720,735,840,704,620,571,573,532,510,480,452,436,457,543,660,1120,1342,1096,1164,1172,819,745,886,859,539,548,757,931,1306,1590,1250,917,1036,1172,1126,1250,1354,1404,1346,1442,1214,1310,774,601,886,1058,1142,722,418,675,900,1005,1108,1216,1106,772,885,1066,795,707,614,751,1186,1174,1126,1262,963,1140,1284,813,717,545,480,437,485,778,1180,1122,1158,1148,810,974,1272,1056,697,1015,1320,1356,1080,1156,1096,901,655,539,555,544,429,543,669,884,1208,1017,1040,749,466,324,416,601,594,688,977,1108,921,760,1142,849,526,434,407,398,449,654,930,1184,932,467,403,389,371,300,241,212,290,413,409,372,327,272,381,438,341,283,374,613,755,648,378,244,261,342,398,626,944,780,738,1120,1214,1026,1222,857,849,1118,1260,1202,797,433,372,591,694,577,448,425,456,476,425,377,366,266,215,339,342,360,395,374,303,367,644,573,886,907,684,885,1276,1532,1078,452,333,247,236,233,228,262,275,1100,1310,1070,922,847,930,1390,1974,1422,900,390,406,347,357,505,567,642,653,495,297,314,304,274,269,305,304,324,347,294,267,279,283,304,309,303,289,325,460,547,538,529,478,437,444,420,406,433,444,433,425,418,394,386,408,426,408,398,417,438,407,404,457,474,434,418,392,389,429,420,437,423,426,432,455,452,407,541,940,1242,981,1001,1142,806,868,880,986,1152,973,852,924,852,633,363,381,372,419,530,412,456,447,346,343,493,828,991,633,482,686,684,677,771,579,441,467,647,618,817,1292,1158,751,554,865,567,384,391,447,578,701,780,738,885,1452,1168,414,590,790,808,726,805,761,458,408,443,457,467,498,514,439,329,386,415,408,388,413,410,401,401,408,427,534,658,647,523,371,366,366,377,770,592,425,527,1050,1036,966,1242,1036,747,830,980,1104,2496,4692,2132,979,559,573,811,670,524,586,814,932,883,1126,763,464,399,333,356,517,516,496,436,322,289,280,287,379,331,386,338,298,625,867,788,773,899,957,819,738,1062,989,796,1038,825,977,1206,1048,1256,1180,969,1262,1008,473,619,664,553,514,473,544,904,1202,990,1042,1122,1230,1138,897,896,883,1040,1376,1076,1190,1318,1102,777,423,407,576,517,387,591,1150,1354,1216,663,476,846,1138,1064,1016,996,1118,1174,1148,973,1042,1044,1170,874,597,593,682,894,1124,919,772,1094,1148,984,886,814,712,711,575,462,410,396,333,322,346,372,425,452,616,615,508,527,1376,1924,1092,648,529,455,540,1002,1396,1038,982,1202,1170,1186,936,1048,1412,1454,1130,962,789,504,397,348,495,1078,943,760,1098,721,749,1072,910,908,1216,1506,1624,1588,1598,1700,1188,1278,1262,1172,956,988,1044,921,886,1036,1270,1338,1268,1230,1240,1208,1278,1452,1372,1154,1344,1302,1330,1194,940,1162,1298,1482,1220,714,585,524,786,701,720,1406,1572,1362,1310,1216,1218,1072,1028,1216,1126,1204,1178,1120,956,823,990,1120,1138,1098,1058,1136,1156,1028,977,954,733,792,921,963,863,555,454,566,698,553,463,656,1054,1732,1710,1168,852,910,1162,1194,915,714,1050,1436,1584,1064,907,555,413,362,430,411,628,726,585,822,962,771,468,349,330,327,310,257,310,356,345,354,357,340,362,320,346,358,405,375,351,383,383,347,325,343,380,406,481,543,520,467,444,384,376,403,427,611,595,438,416,472,488,487,459,402,414,393,419,438,378,332,377,433,477,487,461,409,347,365,531,725,1072,1334,1414,1100,1084,998,553,401,403,414,361,516,1314,1962,2074,1960,1764,1362,1244,1248,1210,1234,1234,1096,705,814,705,664,736,749,727,646,487,438,529,601,663,639,699,465,368,344,356,353,400,434,603,1010,1282,1426,1448,1360,1366,1410,1488,1568,1614,1612,1608,1550,1478,1106,618,559,789,1100,1256,968,1064,1186,1056,1110,1428,1588,1009,568,639,580,545,780,1424,1750,1710,1328,1230,1454,1706,1356,800,574,679,999,1128,730,479,586,786,979,931,845,1120,1110,784,705,1015,1240,1228,1032,542,452,358,493,358,401,455,424,428,460,426,394,447,541,613,916,1160,955,1013,1152,1028,1011,1256,1332,1350,1402,1234,833,771,955,1282,1322,1090,962,1058,865,479,477,488,402,406,602,939,949,957,1262,1622,948,1023,884,959,1356,1208,1366,1554,1250,1084,929,1150,1146,1084,689,860,940,1084,1138,917,882,962,824,612,517,446,916,1266,644,807,1512,1021,803,921,926,1194,1042,626,605,393,390,522,554,369,494,650,861,1019,684,442,446,409,380,410,442,506,587,640,753,695,661,829,880,927,823,611,434,365,344,259,285,301,373,636,696,847,884,936,1130,1208,1368,1502,1540,1354,750,430,314,349,375,386,380,508,837,1026,1372,1570,986,719,1086,875,372,333,325,397,852,879,564,698,681,477,478,728,891,458,552,686,680,442,403,394,656,745,791,981,1070,1036,988,1146,988,764,1009,1052,1012,778,526,365,418,461,611,731,508,404,288,325,287,659,1354,1444,1336,1294,1050,1032,567,319,358,376,331,353,345,374,364,354,361,334,357,390,401,377,357,406,662,936,705,847,1228,1366,1198,970,654,529,665,752,937,552,407,409,401,419,523,549,466,851,1720,1848,1370,1026,683,647,922,1044,1206,1168,969,780,922,911,696,739,960,800,619,427,369,374,504,540,422,470,455,303,389,840,1138,1114,1020,811,1013,874,926,883,697,694,902,877,443,473,578,569,593,480,616,504,344,293,344,421,381,332,329,700,1162,1228,971,581,410,306,445,535,347,375,411,553,964,1054,685,491,528,675,874,1116,1382,1140,924,776,836,1072,1009,786,446,328,306,349,402,512,1388,1068,887,1056,1009,1056,824,468,410,583,520,356,408,440,380,546,661,824,955,780,752,1052,1268,1104,516,418,512,414,271,238,286,336,404,374,545,888,985,1328,1354,968,1036,649,443,377,453,434,423,434,502,558,473,703,903,731,657,1023,1070,1048,1062,996,1042,902,580,419,399,644,837,683,549,399,347,403,442,405,400,361,430,507,577,851,1026,1426,1322,749,579,627,633,899,1040,854,982,1086,936,1036,1356,1182,1208,1168,1246,966,1044,1180,802,688,793,689,922,1310,1402,1422,1324,1426,1432,1720,1694,1602,1560,1302,1250,1368,1308,1162,1116,1278,1340,1478,1472,1472,1490,1476,1498,1854,1674,1288,1282,1362,1362,1520,1450,1178,1262,1450,1424,1268,1268,1338],[270,264,248,250,237,233,236,243,277,263,201,174,220,249,224,491,530,249,188,215,249,220,200,206,210,232,245,237,237,239,199,225,225,194,204,223,331,474,440,356,349,381,387,372,395,387,378,549,1030,1864,1932,1146,807,373,341,343,399,383,332,316,385,501,899,1120,939,623,489,336,344,342,383,421,424,454,658,723,595,571,686,907,953,800,814,848,787,587,510,854,1023,526,558,494,331,433,371,453,866,1432,1262,788,924,995,1110,863,571,497,570,600,501,360,519,713,533,394,296,345,323,353,303,272,302,299,333,449,694,613,359,328,321,372,482,480,489,525,467,355,343,392,398,372,309,325,346,405,396,403,389,364,360,364,353,294,272,334,332,398,445,417,289,298,423,446,448,486,492,419,343,325,622,1072,1552,1428,1454,1122,1004,938,749,604,789,1214,1544,1572,1562,1362,1001,1062,1126,1036,722,590,819,1252,1396,1490,1402,959,760,415,408,427,439,519,1200,1206,1100,770,478,788,980,909,797,922,1426,1200,684,664,684,529,516,466,329,361,382,285,268,329,520,1026,1148,961,686,465,417,896,1218,908,647,551,426,725,1314,1288,1576,1534,1022,1020,1300,1524,1460,1396,1698,1568,1102,1078,874,728,982,1420,1408,1440,865,620,499,577,979,1122,792,1144,2066,1478,1023,1114,1021,586,457,393,409,484,436,342,401,738,822,623,742,951,979,956,836,897,872,796,799,651,521,549,465,404,625,929,543,814,1306,901,605,698,936,907,745,968,1194,1066,553,450,425,446,418,508,625,596,525,719,817,577,857,1278,1250,1340,1342,999,817,640,579,522,429,434,436,415,359,311,296,401,544,668,609,502,479,566,750,548,424,435,463,474,470,407,438,440,451,464,454,385,324,331,349,321,314,388,447,583,702,651,679,772,865,1028,1046,1462,1740,1666,1604,1498,1674,1308,752,539,837,938,942,1034,883,853,849,708,755,699,572,457,402,338,489,804,1056,1164,766,608,602,610,1012,1294,1228,1322,1290,1280,1540,1688,1488,1084,828,882,716,618,628,597,567,525,546,493,468,454,731,932,783,750,922,979,977,1120,1184,1188,958,816,852,993,1048,1010,1036,752,778,1108,1058,783,1372,1804,1262,1310,1322,1310,780,897,1228,1234,1074,609,516,726,656,963,1154,1186,1154,1034,957,1012,1005,967,869,940,1304,1506,1222,925,741,694,887,1140,1188,777,644,907,1216,1252,1354,1388,1384,1356,1112,1358,1646,1200,785,1088,1442,1238,1086,1114,1136,844,450,563,651,488,513,845,1130,1166,1330,901,648,789,544,332,324,395,528,750,926,1001,1146,1194,1282,1058,741,504,444,395,595,820,826,873,586,458,373,363,375,303,242,243,278,299,344,329,301,355,507,542,358,305,482,730,778,561,321,251,290,349,437,723,1320,1356,1404,1284,855,1116,1132,739,827,830,834,880,526,330,278,344,468,445,375,385,396,402,362,367,358,239,241,271,335,411,319,352,332,313,821,832,958,1028,815,1004,1126,1356,1154,652,633,374,264,237,234,267,296,688,893,922,1058,916,847,912,1040,914,591,374,358,332,432,599,655,672,671,615,417,358,346,306,328,317,297,320,342,310,285,305,334,334,312,300,296,297,370,550,520,433,378,414,445,404,372,436,466,466,411,457,437,400,394,404,398,351,383,440,425,438,454,457,449,451,417,390,408,399,370,402,426,423,435,363,412,708,968,860,555,831,1028,713,666,684,902,1152,1098,730,480,413,570,455,447,428,493,568,451,395,420,533,751,959,1134,1310,694,491,577,718,921,860,680,643,627,807,886,998,1312,1160,1164,694,658,577,614,725,650,580,616,1084,1296,897,1108,1066,737,1382,1090,1242,1350,1282,1130,631,416,465,487,532,525,491,470,321,386,401,393,418,408,413,415,404,412,410,455,558,624,650,558,453,379,446,833,576,455,919,1462,1162,1094,1224,1186,920,658,601,704,1994,3820,2072,1170,802,559,476,363,545,794,838,838,807,955,887,651,464,316,336,394,435,433,345,262,260,248,239,318,453,354,298,315,473,769,905,1028,1084,1148,1088,1009,896,545,582,837,835,1394,1344,747,870,1009,777,858,527,586,749,601,437,379,408,877,1148,992,982,736,880,1378,1226,904,666,749,852,1152,1326,1400,1210,1260,1078,596,473,598,580,519,669,978,1466,1282,982,756,747,927,1206,1100,1078,1650,1600,1316,1180,1172,1216,1354,1060,827,678,611,712,976,851,519,742,1102,1068,1138,1026,803,735,679,540,440,362,315,345,407,409,391,401,598,722,665,1232,1912,1292,813,885,885,697,589,987,1408,1003,1182,1166,756,913,1046,1186,1320,1276,1154,1166,1102,987,608,530,905,1208,894,1184,1064,471,525,579,554,795,1126,1268,1446,1564,1546,1456,1588,1382,1240,1296,1200,1216,1208,994,769,962,1216,1368,1294,1334,1378,1582,1278,1274,1200,1120,1274,1082,808,832,1228,2204,2264,1584,1074,720,452,436,914,1100,1036,1274,1374,1234,1390,1160,1216,1330,947,975,1240,1172,998,1158,1284,1112,833,742,807,772,950,990,869,565,862,1204,1048,799,841,837,620,420,452,406,906,722,482,529,762,1300,1208,1005,1026,1226,1176,853,577,538,825,1120,862,770,794,601,477,457,410,340,584,650,463,565,701,783,705,440,293,293,281,266,310,327,329,393,504,588,493,373,353,399,556,490,350,339,339,328,314,316,332,384,477,525,526,555,422,296,311,334,337,438,560,478,363,355,395,454,425,373,341,341,372,408,381,356,380,403,455,442,404,397,396,360,833,1042,1180,1374,1256,869,858,956,897,610,474,381,381,449,1100,1494,1726,2048,1954,1638,1286,1200,1122,1126,1266,1148,1016,766,584,604,591,606,792,999,908,586,473,569,642,637,764,569,411,384,413,384,393,489,693,1130,1438,1564,1476,1410,1432,1500,1572,1554,1592,1648,1646,1612,1560,1286,689,471,551,634,828,1118,1026,1058,1226,1238,1144,1180,1110,929,821,645,752,1318,1756,1672,1862,1888,1498,1124,995,929,1050,993,526,736,1224,1094,735,720,1112,1382,844,509,874,1050,980,935,771,686,835,941,517,449,412,403,385,464,500,491,467,443,428,413,421,487,485,543,536,772,884,1092,1152,1048,1068,1132,1122,1013,1116,1198,1296,1332,1150,1015,1022,1160,1250,921,464,327,369,381,416,546,1090,1166,1162,1136,801,460,617,572,857,1286,1328,1404,1448,1312,1294,1042,982,718,789,576,648,743,950,979,821,814,924,748,504,399,422,955,1294,872,677,671,852,1080,933,955,1021,772,540,467,340,338,522,637,506,467,440,402,339,251,320,441,532,492,410,390,436,547,604,742,836,1005,1092,837,703,724,602,292,301,278,270,267,313,360,623,916,956,817,685,611,656,1262,1226,1154,1252,962,517,328,342,342,512,630,771,1004,810,1112,1622,1198,739,738,550,385,350,347,378,490,632,758,810,902,735,590,785,883,592,556,853,976,845,861,946,653,535,944,1344,1306,1282,1216,1234,1250,937,949,835,798,960,647,437,422,320,337,508,626,507,303,319,276,811,1756,1796,1538,951,469,448,397,392,466,392,413,450,372,399,385,376,379,350,365,372,396,394,372,355,348,523,676,1070,1296,1222,1112,921,489,350,403,692,845,503,357,406,433,439,523,542,509,761,1274,1394,1166,1126,1146,1130,1298,1050,729,744,767,597,680,1040,1188,724,732,958,856,535,415,391,460,409,362,378,336,250,321,733,1006,957,703,931,802,492,686,811,995,1002,1078,976,495,498,724,811,702,854,829,492,342,318,288,295,346,359,386,714,1136,1150,728,451,355,432,904,757,499,762,814,977,1562,1704,959,545,743,564,805,1062,1186,1013,689,741,1268,1338,1088,892,674,455,278,259,304,531,1458,1062,732,1028,1014,775,798,774,644,1028,837,402,651,656,543,542,651,1722,2074,646,781,1080,1204,931,710,469,700,689,402,305,341,421,739,710,539,919,1050,1218,902,829,810,507,429,380,417,380,325,415,592,682,891,1070,941,467,548,749,922,705,531,675,677,465,436,430,412,802,897,693,429,380,375,423,509,458,395,401,402,401,401,491,455,746,672,495,559,691,801,730,561,807,1260,1118,948,1130,1352,1182,1354,1472,1462,1068,1138,1216,910,798,943,943,1184,1400,1480,1532,1638,1646,1652,1596,1394,1322,1254,1122,1484,1436,996,885,1009,1072,794,876,1128,1292,1686,1792,1618,1632,1504,1212,1146,1302,1310,1544,1194,1188,1738,1534,1070,1164,1328,1302],[299,292,273,256,246,244,230,221,212,190,199,228,215,232,228,249,215,207,208,238,261,222,192,194,200,210,221,204,189,197,199,216,242,239,181,187,270,334,356,367,390,398,402,397,374,375,411,482,990,1730,1608,1244,921,402,331,357,310,321,303,298,423,686,793,863,899,452,391,395,424,470,516,619,708,672,675,623,527,514,547,576,666,646,662,620,493,486,514,902,1108,700,645,703,435,431,427,544,994,1440,981,585,779,973,1116,1136,894,582,627,550,458,410,471,457,426,419,314,307,275,241,227,269,286,302,448,656,673,349,263,316,394,490,478,541,608,496,407,379,357,416,406,392,327,341,359,408,402,405,420,421,384,356,393,359,277,280,334,384,419,387,329,294,351,366,372,432,440,381,368,304,415,625,1168,1268,1026,644,469,422,487,656,966,1168,1234,1108,1402,1528,1172,1160,1134,1008,852,1000,1094,1048,1330,1194,1038,1112,1218,641,372,404,466,690,1186,1280,1128,871,740,905,1094,1132,825,610,764,733,633,705,830,728,581,437,314,370,395,297,406,422,373,760,972,626,529,464,501,763,805,872,740,499,326,529,752,871,1466,1256,764,615,1064,1334,949,1004,1254,1009,846,833,1250,1080,1218,1140,1396,1474,1378,1009,484,674,1072,918,651,1023,1758,1460,1416,1418,1019,556,429,400,400,464,422,366,387,894,1176,783,808,663,590,921,900,772,853,824,648,486,489,407,336,290,637,808,538,756,1292,1005,764,699,725,644,764,1082,1346,1322,613,433,398,387,420,438,407,385,381,630,890,667,1092,1252,914,571,678,1730,1984,1482,1050,630,600,497,594,602,434,320,334,530,764,918,966,792,619,645,582,529,508,456,418,450,447,405,401,408,433,430,421,378,330,319,314,296,326,435,507,610,722,712,657,721,760,757,989,1332,1408,1548,1596,1370,1434,1268,1021,849,794,764,952,1252,1220,1198,891,684,739,607,466,432,391,350,684,615,566,651,541,450,595,886,1686,1612,1208,1230,1448,1410,1468,1672,1548,1136,1046,999,826,596,550,623,590,545,536,511,495,389,639,888,728,735,1058,1148,1172,1376,1416,1236,1268,991,727,702,670,708,600,472,856,1428,1256,777,860,1048,1412,1300,1026,813,516,749,1300,1378,999,569,1010,1196,642,502,1142,1094,987,988,976,1112,1140,1224,1406,1166,1120,1450,1136,618,694,596,741,703,652,744,877,1294,1340,1190,1164,1396,1372,1220,1332,1196,1632,1520,953,1270,1252,1222,1446,1032,1090,1166,1088,1162,1160,827,521,719,1116,1282,1360,908,375,385,366,391,452,742,949,928,891,998,1328,1352,1068,980,765,386,505,780,786,792,650,502,372,361,276,275,362,310,203,309,451,308,283,294,345,368,450,438,309,359,604,738,708,519,317,285,361,393,501,744,632,714,1394,1090,481,730,866,701,895,865,629,758,490,381,281,225,266,245,249,339,427,375,283,281,319,277,299,384,404,339,353,360,356,509,807,708,858,1018,1004,1252,930,1284,1454,1034,1009,770,392,284,342,314,386,577,668,719,1240,998,854,680,531,483,400,323,413,504,601,738,697,633,634,613,550,371,341,319,289,312,345,341,340,300,303,312,309,297,292,315,319,302,342,487,514,428,406,408,408,382,332,396,427,475,403,408,438,426,401,403,400,396,427,445,419,432,446,449,449,444,446,394,402,387,392,452,453,436,406,320,333,558,1054,857,799,839,771,683,554,499,552,852,922,503,411,501,707,750,696,591,582,628,572,541,594,782,1092,1166,1146,1364,844,619,585,828,1116,949,782,794,814,956,1122,1028,1246,977,1346,803,534,711,844,745,633,583,647,1162,1448,748,529,496,719,944,736,1032,979,722,585,519,511,503,494,521,555,510,454,360,404,424,406,410,406,422,423,407,418,457,516,584,489,523,682,591,379,651,819,552,476,1188,1678,1404,1238,1244,1478,1372,1140,677,577,902,1026,1106,1288,948,580,406,402,509,668,982,805,540,722,1210,1102,551,393,760,1066,814,425,266,262,248,244,283,302,354,285,426,487,655,1310,1466,1240,1162,1358,1190,1152,1112,800,466,524,678,1096,1080,556,561,570,442,789,636,515,433,376,380,375,354,979,1440,904,684,722,707,1228,1166,1138,977,1626,1744,1162,976,1098,1368,1458,1086,883,597,405,411,786,937,855,906,910,850,853,870,1015,1300,1206,1212,1292,1244,1068,1052,1250,1076,686,724,673,574,747,791,882,655,521,635,882,1130,1172,965,778,767,797,881,910,549,365,305,402,433,411,441,517,646,614,1212,1296,518,596,1044,1622,1094,498,769,1078,1226,1232,683,440,538,948,1294,1122,1014,994,717,643,980,710,929,983,709,717,954,671,349,341,354,626,1112,1154,1090,1338,1620,1642,1278,1992,1932,1354,1510,1882,1942,1316,1064,1462,1616,1488,1422,1348,1394,1444,1626,1300,1188,1386,1338,1280,1078,888,1170,1940,2988,2416,1212,1013,804,666,813,888,939,941,1134,1184,1166,1238,991,1072,1056,879,891,938,973,1050,976,1024,891,599,531,528,683,905,720,827,640,619,1084,1152,801,558,461,521,525,538,377,1021,1090,861,551,477,753,826,710,1040,1382,973,701,638,964,1216,869,568,638,564,500,512,592,609,927,1216,877,524,441,560,727,719,555,323,268,275,259,292,336,352,470,671,778,517,345,345,415,502,532,478,344,331,314,305,318,334,339,357,369,405,462,361,288,296,298,311,374,556,521,363,351,361,382,393,385,370,344,355,351,357,369,357,354,397,415,459,498,444,373,484,499,690,904,780,593,714,918,730,698,748,647,466,526,940,1104,1456,1716,1500,1478,1312,1348,1138,921,796,750,1064,945,696,634,544,541,643,818,1060,974,735,607,699,693,752,613,424,448,482,431,485,523,797,1340,1580,1588,1484,1454,1524,1598,1620,1582,1638,1718,1690,1644,1700,1740,1230,636,565,594,568,619,877,1023,1082,1122,1290,1166,1078,968,612,744,1400,1752,1496,1438,1576,1758,1884,1682,1242,1202,1212,1312,1044,962,896,730,608,817,1418,1396,985,922,858,922,1066,1050,623,362,592,842,583,438,408,360,347,430,492,458,432,445,467,426,355,410,450,531,516,431,467,868,1234,1116,859,1126,1288,1007,1100,991,705,888,1118,1148,1088,1154,1228,1084,550,311,382,369,318,604,1308,1306,1226,846,521,644,840,709,510,789,1362,1458,1092,1448,1492,1298,968,790,645,455,533,880,1046,826,844,806,1007,760,521,407,359,680,905,1014,1118,910,942,1024,883,1038,933,929,626,602,429,333,503,590,495,438,387,334,326,369,392,506,571,508,444,452,455,490,553,697,884,1007,1070,1298,960,901,579,373,321,251,208,226,294,330,764,1280,1015,825,628,577,798,1004,929,1088,1660,1302,552,356,368,515,789,759,735,1144,1138,1516,1722,1352,1072,647,382,351,394,599,659,568,565,677,991,1204,987,1046,1132,921,872,1180,969,1018,1522,1384,1140,574,499,791,783,814,870,861,967,1024,841,731,551,457,482,315,471,537,598,734,639,728,780,530,339,381,1158,2018,1864,1560,787,459,492,495,473,523,491,544,493,391,385,412,390,361,272,275,308,325,372,340,309,333,506,775,852,893,1134,1066,689,369,309,352,604,677,561,453,510,528,490,542,640,601,536,752,1021,1090,1274,1446,1268,722,641,858,875,752,673,848,987,1001,1046,887,1262,1062,627,444,404,371,350,376,394,351,287,282,566,776,788,581,968,779,466,490,524,663,835,926,1170,880,669,879,808,765,913,709,367,324,366,349,350,396,350,377,754,1084,832,513,384,318,546,946,906,1106,1328,1094,1009,928,1060,777,863,1082,918,833,886,956,691,459,711,1094,1164,1210,912,858,513,328,338,462,830,1218,1010,787,780,899,579,556,924,1034,1062,767,658,1007,985,829,714,664,1428,1458,572,626,556,877,929,702,436,560,536,360,463,511,664,1060,751,711,1060,1062,890,797,770,657,531,460,410,382,375,406,582,707,830,1196,1212,688,395,461,427,544,797,946,826,445,513,752,575,755,880,700,502,403,397,366,418,544,579,549,430,364,466,445,442,436,407,391,444,521,617,630,535,487,686,1046,1186,1252,1468,1230,1404,1594,1436,1302,1304,1312,1178,990,1144,1238,1236,1260,1462,1594,1664,1628,1622,1476,1224,1214,1334,1390,1318,1542,1272,600,461,595,583,466,464,634,989,1312,1438,1428,1356,995,1176,1386,1174,1378,1448,991,1228,1910,1468,965,1250,1172,1160],[286,286,258,238,246,258,244,221,202,210,228,249,228,232,242,271,262,227,227,236,223,207,213,213,216,218,209,207,205,187,191,203,210,194,149,208,239,295,344,342,365,384,394,360,304,345,400,403,637,841,1038,1180,651,314,302,371,336,289,214,264,474,700,760,780,833,638,611,756,610,543,508,774,963,660,492,476,431,450,515,596,653,679,771,708,584,780,836,837,1082,905,722,935,669,528,520,702,915,1312,1116,896,835,912,840,831,999,645,574,472,496,441,376,379,402,405,327,296,301,303,298,332,337,327,626,902,936,647,342,349,536,673,604,580,597,417,335,396,440,420,372,375,321,317,351,381,411,433,444,418,384,370,398,347,305,292,334,366,455,487,385,355,372,428,419,408,359,357,342,340,625,1436,1892,1786,1172,475,355,351,479,606,832,1017,1212,1078,1498,1714,1294,1036,1148,1140,903,1222,1324,1158,981,678,813,1194,1474,837,443,435,564,730,836,959,835,753,586,519,850,1156,846,571,539,502,561,594,632,702,633,450,456,481,391,332,562,537,359,532,501,370,536,579,488,504,668,1110,1066,752,392,418,538,1028,1224,975,810,661,1256,1350,701,495,631,525,558,754,1036,1158,1242,1188,1110,1166,1248,700,574,1210,1528,1092,1060,1390,1354,1212,1378,1650,1260,672,396,466,677,778,468,401,339,813,1202,874,744,566,565,912,861,612,835,1062,659,540,445,396,322,321,410,486,472,872,1178,912,838,711,858,619,577,747,1386,1144,503,440,539,600,562,484,428,383,418,638,1034,817,918,867,594,399,591,1854,2320,1916,1404,691,644,427,694,689,436,316,426,869,1300,1686,2024,1712,1166,764,678,619,498,420,409,396,399,375,379,374,359,342,327,320,320,309,318,336,394,454,567,628,597,656,694,656,741,861,912,967,914,1290,1206,811,804,1130,1486,1504,1252,1094,1698,2056,1380,1312,971,607,604,468,612,749,602,563,717,584,457,549,865,934,1005,1280,1584,1366,1210,1064,1138,1114,1068,1422,1638,1532,1084,749,669,563,484,636,617,621,638,633,587,472,749,1094,820,580,791,1088,1148,1396,1294,904,1170,1166,1034,764,447,456,365,315,477,651,968,1200,1092,1160,1152,868,686,656,430,805,1436,1506,1032,760,1034,1116,932,741,1220,1140,894,937,1116,1084,827,1013,1418,1066,601,651,756,894,907,952,860,597,538,630,1454,2146,1292,1190,1378,1456,1266,1408,1434,1206,1802,1610,1180,1338,1036,1088,1086,1126,1166,1286,1088,1134,1272,1256,1050,750,1050,1436,1452,1066,581,333,377,459,573,872,1158,868,728,983,1176,1072,698,739,665,462,858,1260,996,605,415,337,346,342,306,303,363,334,263,435,631,450,389,405,451,402,334,440,505,566,703,620,490,404,300,278,440,451,404,400,274,373,495,400,326,433,677,574,902,1202,933,651,456,360,257,221,239,267,305,312,306,265,293,309,390,311,412,609,507,399,380,368,379,558,572,393,535,697,930,961,645,1026,2060,1594,924,701,485,631,861,814,850,974,874,974,1244,701,514,672,636,577,616,648,648,619,563,618,1052,1532,902,596,522,362,336,314,297,330,346,354,338,306,298,300,270,275,309,342,346,306,317,363,333,359,407,491,376,350,337,332,349,365,323,354,412,438,436,416,409,424,428,430,412,414,430,438,423,418,454,477,454,420,467,472,480,442,359,369,699,822,1120,1266,1246,951,607,491,516,655,702,865,587,485,559,550,673,754,675,565,525,633,838,1088,952,908,1184,1276,1194,1094,1124,904,677,836,1078,1124,818,819,1028,1226,1354,1062,936,694,1216,992,583,885,956,738,554,437,868,1302,1432,915,943,1072,948,501,571,722,456,340,678,945,690,516,492,519,537,511,478,386,390,435,417,401,403,422,432,422,402,486,586,589,469,440,450,334,367,650,571,389,489,716,971,1003,979,918,920,1013,1016,735,577,554,740,1138,1094,772,491,444,543,499,546,796,673,585,752,1024,1007,735,731,1182,1182,1042,604,279,290,322,283,294,363,393,346,465,702,1238,1648,1396,1072,1300,1324,1164,690,907,821,420,350,458,850,948,762,548,438,452,808,756,630,548,382,378,382,385,519,785,837,1019,1284,1019,1040,1246,1192,1112,1684,1536,1007,1006,961,902,1252,1034,1210,862,571,667,887,1072,994,949,942,775,824,1070,1162,1136,1044,1246,1570,1108,800,739,860,941,573,522,514,719,1260,1150,1134,1156,854,605,716,1004,1198,1094,797,758,760,821,1014,742,589,397,383,428,487,507,527,554,442,555,524,304,316,735,1304,975,654,705,1032,1248,786,457,493,733,1200,1088,858,800,758,691,624,862,906,976,750,577,717,631,360,275,290,376,805,1152,1098,1076,1252,1524,1664,1356,1492,1484,1156,1392,1712,1352,1032,1502,1804,1744,1542,1370,1260,1282,1462,1364,1122,1216,1454,1248,1274,1054,957,1158,1310,1628,1062,576,690,919,1204,1120,756,653,941,1198,1216,1238,1336,1036,668,747,963,929,894,871,1130,833,595,430,457,411,573,1052,1070,657,625,498,445,731,664,581,636,813,1032,775,468,338,739,941,666,382,304,409,576,961,1007,906,772,798,1019,1722,1866,1096,875,836,882,1118,846,654,707,1228,1264,1009,532,430,590,680,1074,1122,572,271,243,262,303,325,520,742,805,732,538,437,439,419,453,595,524,346,359,320,330,350,347,332,322,306,296,312,316,310,294,289,317,345,522,559,380,321,379,415,377,377,378,333,361,387,341,383,360,327,366,506,553,525,438,383,390,395,414,467,565,533,896,952,550,627,1224,1494,1326,1036,750,801,919,1006,1134,1282,1282,1234,949,803,901,958,1222,1148,818,683,598,579,659,678,882,999,985,779,773,756,753,711,509,451,732,1274,1007,803,1226,1616,1660,1562,1510,1530,1546,1554,1622,1700,1700,1652,1760,1812,1752,1870,1692,1024,565,480,513,533,566,796,1062,1112,1068,1306,1382,1480,1244,1454,1828,1782,1644,1400,1196,1360,1470,1416,1332,1296,1018,1314,758,500,489,476,594,865,985,890,962,1262,1110,975,1009,999,609,502,907,878,583,446,349,329,395,501,477,417,430,454,478,454,397,422,418,536,658,549,367,551,959,974,1172,957,1134,940,884,691,572,708,907,1044,1238,1172,1164,985,507,362,399,457,635,966,1134,898,949,904,736,809,1032,832,485,607,1158,1374,785,1001,974,917,936,950,944,633,617,1186,1023,719,753,788,824,761,570,403,341,368,570,935,1172,1208,1284,813,695,843,874,968,799,811,537,325,441,491,364,362,401,362,374,436,418,458,537,467,527,516,680,902,669,656,830,822,747,980,830,513,332,346,331,252,235,278,322,288,549,1194,828,850,807,899,789,551,711,1021,1388,1118,771,609,404,629,793,736,669,1070,1132,1302,1528,1482,1284,980,625,441,632,1094,1030,766,831,1028,1148,1042,786,878,1034,859,641,481,436,1066,1538,1240,988,530,474,501,398,339,288,469,727,648,555,503,461,446,457,437,466,628,1174,1150,680,754,724,487,297,413,1074,1023,1020,912,974,720,516,496,450,416,426,481,474,413,365,428,413,374,318,278,324,295,322,330,345,366,498,774,761,1232,1176,987,472,314,339,345,385,668,811,608,544,561,574,544,569,623,684,709,933,1240,1278,1007,647,384,545,953,1194,1066,1056,1142,1136,1112,1314,1216,1320,1158,690,462,510,473,370,356,333,328,287,364,452,755,877,701,568,429,357,456,722,815,890,683,974,913,1046,1086,775,670,767,675,509,370,404,406,474,468,437,357,557,744,534,415,365,291,442,592,659,1034,1266,1144,1324,880,637,719,998,918,930,849,835,817,500,541,525,615,899,1110,839,579,343,340,543,785,1056,1088,1002,1200,1086,1044,788,530,724,1034,778,501,769,993,1007,968,1009,1138,818,652,517,572,441,440,689,742,623,501,389,525,954,850,796,1072,871,1122,1120,1084,1050,1098,824,538,485,440,400,344,344,573,720,799,1040,1308,1330,864,598,593,442,616,950,989,771,471,852,966,572,655,677,529,407,374,386,384,460,544,587,553,371,877,1124,728,496,361,346,363,380,414,503,544,486,497,711,956,1094,1356,1472,1334,1512,1410,1322,1260,1270,1396,1716,1634,1608,1368,1406,1496,1542,1500,1366,1208,1254,1064,1150,1392,1382,1396,1312,1404,1318,879,509,525,868,822,592,767,1118,1308,1348,1184,1202,1346,1222,1338,1400,1574,1430,1140,1106,1462,1480,1004,1084,1208,1168],[257,232,231,223,243,262,252,228,229,239,235,243,245,245,255,255,245,218,208,199,206,221,226,226,231,234,250,244,216,203,213,211,194,205,182,209,235,309,336,333,347,364,362,357,314,288,283,320,429,523,852,949,526,299,283,268,254,274,317,391,473,549,467,385,375,565,814,950,573,376,399,605,844,651,476,473,478,694,751,725,1020,1294,1162,843,667,785,746,505,879,1036,730,1021,858,951,1228,995,809,1036,951,726,438,554,763,830,837,536,572,417,450,489,424,397,459,480,402,382,476,761,608,399,345,343,535,920,1404,1110,456,328,543,700,591,619,683,595,467,348,359,376,378,360,326,302,359,427,426,437,512,444,386,380,379,314,295,325,398,419,409,421,481,470,446,505,421,376,329,369,451,431,1026,2128,2322,1832,1486,1007,520,423,578,715,905,991,1248,1272,1518,1640,1526,1374,1440,1516,1356,1438,1370,1180,648,412,489,788,924,685,444,555,919,855,440,403,532,786,658,602,543,554,484,486,566,586,504,442,645,804,548,552,653,528,610,783,752,542,416,355,323,389,639,1000,926,708,749,940,1136,925,618,631,803,982,736,980,1206,1076,1340,979,516,388,442,418,500,791,836,945,1080,839,1050,1350,969,686,955,1380,1230,943,1094,1017,743,768,1442,1696,1024,594,374,708,1048,851,489,431,368,827,983,725,677,469,437,644,650,407,515,730,542,596,539,434,386,359,416,466,521,956,1438,945,1232,1456,958,553,472,647,1628,1372,544,481,616,691,783,816,736,660,531,764,1360,1040,789,904,632,396,612,1848,2854,2308,2054,1048,830,482,561,575,428,348,494,1044,1648,2452,2784,2238,1768,1246,714,487,407,423,419,427,403,357,343,330,313,318,312,325,342,321,338,378,440,465,465,580,620,606,658,896,1212,1100,941,893,1094,1528,1001,727,700,1114,1566,1510,1438,1294,1714,2002,1038,1013,974,601,414,462,734,786,571,613,690,560,521,808,941,1005,1284,1500,1156,1126,1158,814,874,1226,1358,1230,1616,1526,726,641,708,663,667,703,667,670,735,759,710,661,644,572,484,648,839,1354,1308,1422,1178,1084,1304,1294,1198,823,365,339,300,338,363,471,1038,1406,1118,960,1023,935,888,887,518,1078,1370,1418,836,644,491,573,684,913,1244,1284,1276,1422,1550,1136,736,839,1396,1476,945,494,403,539,836,1028,625,430,427,612,1394,1594,915,1058,1464,1592,1200,1034,1188,1532,1520,1296,1440,1360,1106,1122,1048,1136,913,851,931,1422,1396,1288,1172,938,1272,1294,1520,1190,888,470,394,452,422,446,647,847,940,909,1128,901,521,621,1126,817,846,978,754,592,455,319,328,323,308,347,371,410,455,512,504,418,407,384,413,377,372,600,710,714,655,505,423,368,279,289,445,443,367,310,241,288,349,433,446,346,406,507,555,945,660,352,288,247,210,184,227,298,290,302,314,285,314,339,362,451,854,1032,833,546,369,358,437,637,398,361,413,1092,1214,860,742,911,1174,858,525,736,1058,920,1222,1354,1246,1148,1042,1148,1130,741,474,543,693,727,885,991,731,487,487,1696,3326,3000,1150,474,415,400,408,326,301,361,350,335,289,277,277,315,332,300,260,303,336,324,353,375,340,318,312,393,335,328,342,311,332,347,340,355,354,394,420,440,416,417,389,400,416,425,422,422,414,402,383,395,427,392,430,473,484,413,345,605,1128,1268,1382,1312,1046,875,782,542,645,833,1052,849,794,917,700,425,528,713,741,676,606,748,801,1150,1128,1308,1438,1470,1142,1148,1416,1004,591,553,786,958,836,974,1164,1426,1168,846,782,557,936,1066,570,612,698,661,485,352,886,1368,1594,1348,1122,1226,1084,786,714,448,405,561,774,1106,774,504,483,513,505,484,444,364,389,437,413,373,392,409,418,392,383,444,491,458,347,364,394,342,569,814,505,546,799,575,564,971,1238,1126,782,878,1362,1404,1028,679,607,615,504,452,599,591,663,605,541,509,491,543,630,759,903,814,937,886,933,1116,694,398,321,302,356,357,520,796,675,522,670,1054,1214,943,924,934,791,940,735,378,393,553,491,508,665,727,839,493,414,641,1084,832,753,897,448,408,546,889,883,985,709,951,1322,968,1084,1754,1550,1342,1444,1362,1362,1476,1214,905,880,1096,1412,870,620,702,898,1060,923,692,966,1032,1128,1100,991,777,959,1094,1013,740,769,578,403,470,431,427,528,988,1230,1244,1202,1278,1032,646,708,1058,1148,1206,1108,854,743,649,551,680,745,510,398,451,527,516,382,383,391,369,249,253,261,340,452,639,666,649,1076,1186,926,613,671,1066,1042,1116,1050,846,688,562,637,796,845,1078,1378,1130,856,496,297,267,288,326,521,760,940,973,1126,1354,1556,1616,1490,1492,1164,1280,1128,929,1200,1318,1310,1328,1378,1364,1256,1396,1334,1374,1440,1264,1364,1234,1170,1034,855,741,574,587,598,514,429,756,1046,907,537,399,555,874,1030,1068,861,628,811,1042,1102,817,619,595,874,784,424,353,502,578,679,1036,1182,823,547,513,726,807,1058,1166,1116,1052,1210,1066,739,408,356,442,385,319,297,384,425,814,804,604,681,1058,1268,1490,1282,948,983,1198,1196,999,688,423,452,857,1102,1100,832,873,790,1180,1660,1392,726,358,288,313,334,483,800,837,745,693,641,647,676,733,703,630,474,393,401,387,394,386,396,367,318,314,300,296,295,287,285,287,319,374,449,595,474,290,315,294,309,325,360,336,336,450,400,405,397,381,421,456,392,363,376,420,364,360,471,792,1334,1246,1302,1274,1318,1558,1870,1948,1926,1858,1528,1078,609,789,1046,1212,1246,1318,1274,1290,1470,1460,1528,1028,556,567,579,583,657,728,756,694,773,874,868,848,890,831,639,433,556,900,1156,1318,1554,1670,1616,1600,1628,1620,1660,1688,1718,1760,1668,1728,1824,1980,1868,1886,1778,1424,881,402,467,524,632,703,562,885,1210,1172,1368,1690,1866,1838,1560,1428,1758,1740,1276,1280,1468,1996,1532,1344,1108,904,537,660,943,647,551,655,761,1030,908,1114,1068,873,996,1218,1112,913,1170,924,515,466,355,400,526,488,418,403,357,387,437,431,414,400,423,565,691,744,579,497,527,636,1034,1372,1126,535,532,637,837,930,829,815,1022,1134,982,753,488,515,675,777,849,1126,1146,1114,1484,1616,1260,1150,1132,825,469,416,742,825,433,434,489,822,1064,982,1048,754,368,656,708,786,771,885,776,757,686,562,568,660,633,527,743,1534,2078,914,586,788,882,933,1054,894,674,302,377,523,502,365,365,388,423,433,380,381,325,357,471,431,617,1032,978,591,725,727,564,631,610,376,288,293,309,306,231,261,318,354,582,1078,1004,1086,896,850,835,900,836,560,405,557,1042,854,420,500,625,714,634,960,1013,929,1376,1544,1324,1060,929,1280,1338,1236,1286,1164,1224,1300,1252,974,741,932,1002,825,593,318,335,554,911,800,571,384,529,560,345,288,365,470,401,393,424,320,479,528,678,790,700,885,1356,1152,763,896,919,688,560,678,1244,1086,949,778,877,714,503,487,418,442,440,389,397,415,419,418,385,392,331,296,301,288,350,365,380,388,437,698,540,592,816,1198,678,303,318,384,450,653,970,818,625,589,559,456,426,628,713,586,700,1038,966,480,463,608,807,1170,1466,1226,1330,1262,1096,1090,893,786,1098,1074,657,527,534,489,480,349,328,330,334,374,564,842,855,618,382,221,232,319,693,1080,1066,974,917,870,1240,1242,775,684,810,821,802,515,509,503,561,463,407,388,480,537,536,532,372,320,331,370,419,595,933,865,1114,1013,928,1242,1290,981,946,994,888,772,801,699,516,739,900,875,678,397,291,442,780,800,797,778,709,1066,899,985,1036,844,702,786,839,918,700,473,674,952,1256,1604,1396,2030,1600,740,445,354,370,553,797,814,591,468,612,1016,1050,874,1154,1320,1384,1356,901,695,561,463,417,398,358,360,305,382,691,1036,1180,1204,991,625,609,789,480,531,950,858,532,461,648,583,446,414,433,469,573,506,398,395,460,580,610,608,550,1250,1388,1066,658,453,328,342,399,387,544,684,714,864,956,1072,990,1272,1354,1330,1392,1218,1282,1218,1208,1334,1602,1608,1558,1526,1558,1456,1322,1344,1398,1476,1372,921,1268,1418,1406,1322,1048,1174,1210,1072,708,631,1038,1334,1106,1007,1048,1014,897,1232,1204,1456,1290,1582,1720,1522,1264,962,1007,1414,1342,933,759,871,1090],[237,203,193,179,214,253,254,243,238,226,222,231,236,273,300,259,257,222,201,216,225,220,210,231,248,230,234,221,212,209,214,220,235,237,237,232,232,296,349,322,322,323,311,320,311,292,276,288,330,451,800,686,373,310,396,565,769,901,967,726,495,522,512,438,352,385,733,927,600,486,456,426,527,535,562,637,722,1278,1332,1422,1698,1456,1013,537,604,945,774,457,883,1210,983,1102,1232,1440,2012,1556,745,656,624,828,791,574,707,1130,1290,1184,1346,875,454,457,480,627,736,440,442,656,1274,1454,913,544,409,395,312,588,1172,937,288,286,466,683,529,514,656,677,482,355,329,366,380,373,361,297,351,499,504,507,585,482,390,361,332,290,276,305,392,390,354,401,484,404,361,446,432,393,371,396,518,680,987,1378,1548,1716,1562,1454,1216,869,805,899,823,836,1042,1222,1266,1440,1572,1588,1474,1710,1716,1512,1294,989,569,438,838,989,613,537,691,758,907,638,355,516,835,919,832,682,509,447,419,564,750,495,395,728,1098,1064,478,545,684,753,1072,1174,1021,927,719,692,666,533,758,1110,1038,635,923,959,1256,1282,1082,1252,1310,1146,934,859,773,953,1136,641,416,412,430,427,430,631,823,884,912,883,1214,1168,1030,918,1064,1144,1146,912,466,407,365,368,631,946,703,478,449,792,839,479,369,401,489,1036,1060,723,624,509,440,572,504,452,432,417,417,562,498,377,417,424,440,459,544,929,1556,1356,2070,2156,1138,563,523,1128,1798,1142,440,493,850,828,904,846,899,964,673,1048,1918,1642,1150,818,544,382,475,1394,2596,2546,2702,1468,1017,556,378,414,353,385,592,773,1098,1556,1722,1372,1224,1036,932,931,930,662,403,381,355,368,419,481,430,420,422,390,364,352,361,354,366,417,515,669,741,676,810,1140,1188,1178,1140,1170,1680,1366,1000,1146,925,1040,1262,1392,1078,1048,1284,1504,1192,1262,1096,651,513,602,691,558,392,379,480,495,503,641,563,452,836,1260,1336,1354,1340,1152,1138,1584,1508,992,1504,1810,1152,711,666,687,702,714,723,800,875,796,808,767,568,576,408,784,1118,1282,1174,1009,930,972,1146,1084,778,490,311,313,292,405,421,455,924,1122,892,774,1072,1162,838,878,885,1186,1370,1302,687,397,383,487,882,1218,930,814,813,839,908,904,791,832,1246,1376,1234,878,481,371,586,724,415,374,473,551,805,819,899,969,1068,1182,1284,1206,1334,1590,1400,1208,1242,1230,1310,1088,1138,999,1015,1116,1108,1348,1462,1462,1426,1062,1114,924,1334,1874,1536,726,457,392,477,600,552,624,662,471,423,461,383,520,1184,957,697,1009,836,342,305,494,518,368,372,391,417,566,634,525,433,423,393,344,377,389,344,429,578,671,635,473,491,458,346,306,358,379,404,452,325,272,460,894,777,468,504,669,348,366,309,219,230,247,244,247,277,313,311,346,355,334,297,339,281,632,1180,1222,1007,772,407,394,354,432,445,428,634,1402,1304,986,1090,1180,1094,815,744,896,1130,1066,1268,1302,1068,840,875,1316,1368,906,835,738,636,660,764,1086,995,803,755,1056,1400,1098,737,582,400,411,480,395,353,394,381,350,307,297,307,324,355,343,300,307,329,357,332,403,422,337,374,364,297,297,315,317,325,311,337,379,413,414,378,432,424,398,328,333,395,396,373,390,405,399,396,418,402,375,444,456,380,385,492,899,1042,850,964,1090,1070,771,742,830,979,812,800,1052,1336,1222,616,433,495,764,788,749,764,878,859,933,799,1028,1362,1204,854,1134,1386,795,491,464,684,856,893,1318,1188,936,692,583,666,563,691,1136,810,584,577,502,408,358,811,1118,1190,1196,1124,1110,1070,1128,1150,812,655,777,831,1180,958,509,418,438,424,402,364,350,399,427,438,364,403,422,418,339,346,350,344,339,317,321,301,328,684,702,522,391,473,543,422,505,798,1074,1032,953,976,1360,1440,998,860,935,763,449,496,637,729,603,514,661,644,541,554,899,1140,1110,1082,769,1166,1340,1036,761,455,412,655,466,557,696,598,700,1042,1012,863,659,545,407,330,416,540,561,416,471,444,397,378,502,535,435,376,589,760,559,766,839,508,459,678,1184,1452,1440,860,592,673,913,1456,1512,1344,1458,1224,1224,1520,1522,1452,1406,1372,1554,1276,955,965,935,1058,1003,1060,816,1086,1178,1204,1174,1100,1116,1166,1042,959,894,678,419,403,482,456,466,952,1284,1154,1188,1068,944,1128,1084,852,810,1098,1068,1258,1172,891,597,628,717,642,565,631,627,511,440,381,375,346,270,237,287,273,254,237,329,371,663,1024,1158,1124,898,1072,1062,1142,1098,993,1124,1198,1180,849,485,550,908,1250,1122,603,356,269,308,333,346,543,827,934,966,1068,1188,1332,1556,1554,1590,1462,1466,1266,1260,1308,1372,1334,1274,1354,1488,1302,1268,1298,1194,1048,1082,1056,1132,1118,1108,1120,741,569,766,951,733,681,874,972,1176,659,623,865,1056,1056,1001,927,1170,1340,1242,990,681,630,689,729,757,504,326,544,705,706,830,1032,1072,1056,657,735,547,574,869,848,645,974,1218,883,438,274,292,358,355,347,359,326,659,808,607,635,950,1086,912,934,1144,1056,1410,1262,1134,753,466,374,481,939,1162,1250,1228,602,885,985,1106,1048,518,322,320,309,543,874,908,841,811,740,713,785,973,865,556,384,386,413,455,465,423,401,419,400,351,338,313,307,295,287,296,311,367,351,521,565,323,325,282,281,292,306,312,379,412,376,339,412,609,592,458,417,501,434,390,361,379,559,1023,1544,1692,1670,1664,1776,1796,1788,1770,1720,1750,1632,1338,777,681,764,1234,1242,1050,814,881,1108,1216,1194,627,405,449,473,498,650,753,694,556,667,842,900,886,665,869,699,493,388,451,731,945,1226,1546,1646,1660,1652,1628,1658,1660,1746,1754,1700,1788,1904,1970,2004,1724,1262,1456,1184,499,572,602,628,483,626,1298,1346,1236,1434,1722,1898,1750,1434,1366,1682,1376,1342,1156,1136,1504,1594,1580,1298,948,597,816,1132,902,1060,911,1256,1252,629,620,1036,1150,1050,1390,1384,1194,1310,852,415,534,523,574,523,396,372,402,355,383,417,397,434,462,565,616,599,739,665,579,483,563,817,993,637,541,708,918,1364,1250,1206,758,779,904,901,655,532,866,1200,1064,905,1194,1188,1066,1296,1552,1504,1138,1176,938,851,694,507,360,433,608,505,1005,1196,969,945,701,341,365,648,904,908,874,775,901,924,755,666,954,476,559,615,1084,1016,538,528,865,1074,1444,1566,1012,774,350,298,419,495,388,389,420,433,419,362,348,378,440,395,299,270,418,623,498,537,515,518,558,443,352,335,342,365,318,212,256,356,373,386,667,812,591,620,903,971,805,607,587,586,733,896,734,440,420,548,523,446,789,968,1142,1588,1650,1404,916,752,874,1418,1310,1362,1202,1214,1036,948,1190,1232,1272,1056,975,877,459,285,234,398,383,260,274,526,502,325,278,480,462,317,365,550,370,536,634,560,564,1554,2574,1402,1104,1106,1026,819,891,1294,1296,1306,998,508,319,454,580,736,639,503,589,605,403,414,461,447,411,381,393,352,341,357,379,428,430,363,366,379,501,455,352,1152,1556,827,343,324,442,536,531,1066,1362,892,565,451,413,310,529,719,689,696,716,766,812,991,1334,1230,1282,1180,712,1003,1148,842,919,885,705,942,1134,692,502,412,360,386,334,383,354,311,389,589,643,525,356,289,262,256,252,488,987,1108,1260,1132,767,1136,1224,814,1174,1434,1066,696,502,457,490,487,391,420,552,713,725,772,1084,689,539,448,324,405,443,562,745,1054,1062,1028,1242,1146,805,735,786,694,625,922,910,660,786,1108,1152,775,412,296,504,971,668,609,613,638,807,501,747,904,712,650,576,822,1186,798,736,720,993,1182,1110,1332,1698,1190,780,576,358,325,304,461,841,874,522,571,1172,1108,662,1023,1030,1200,1520,1108,529,423,406,411,423,426,458,383,315,557,866,1001,973,847,785,601,591,536,881,1166,1072,1078,1158,896,517,388,336,419,756,1086,916,494,491,562,601,620,669,1080,1196,1262,1282,938,589,318,339,464,521,1094,1320,1066,739,757,1046,1286,1476,1426,1462,1234,1260,1266,1270,1296,1318,1344,1432,1478,1608,1766,1624,1504,1472,1438,1310,1178,753,741,987,1306,1252,1192,1222,1174,1272,1144,1005,1042,1426,1450,1298,1038,1100,976,1082,1302,1278,2174,3186,2066,1324,1200,1256,1162,1140,1114,1342,1004,852,1270],[214,202,201,215,233,237,235,239,243,240,238,222,214,269,320,272,257,265,249,223,235,229,209,235,256,233,237,243,227,207,214,230,237,234,214,201,230,263,333,323,323,314,304,381,370,313,291,317,326,366,454,434,315,330,698,1102,1520,1598,1610,1020,477,451,597,496,331,415,669,741,513,492,452,557,539,594,618,634,729,1396,1666,1496,1316,1164,985,552,487,457,421,657,1114,1332,1492,1744,1560,1648,2298,1814,745,507,557,913,1370,702,425,835,1154,1690,1678,899,708,673,789,1582,1224,667,604,993,1738,1472,993,828,626,400,345,507,770,560,314,318,404,591,522,554,629,597,500,451,447,536,554,550,399,362,386,550,632,592,501,409,338,297,280,253,258,321,442,493,719,566,763,546,332,463,469,405,440,448,544,791,1046,1198,1410,1706,1394,1522,1522,1021,803,775,642,620,919,1086,1042,1298,1570,1730,1506,1686,1614,1264,1276,1174,645,518,1370,1646,951,798,1180,981,760,459,454,716,774,926,1023,807,521,407,444,692,999,481,344,720,1058,976,568,742,1054,1142,1240,1302,1220,735,614,946,963,684,880,648,517,668,959,1114,1490,1538,1440,1494,1348,1384,1524,1048,728,940,1296,952,580,463,457,411,412,555,896,1198,950,1056,929,617,666,725,702,755,1088,913,477,418,420,399,403,414,387,391,430,705,702,438,402,419,808,1382,997,1076,917,811,693,726,770,691,437,386,667,895,724,551,462,401,594,556,429,636,1108,1356,1764,1834,1314,734,849,1826,2106,1074,589,777,1026,1094,1082,818,716,691,584,1204,1884,1838,1588,987,520,380,408,951,2264,2326,2662,1776,946,587,385,401,390,498,532,444,542,781,764,716,653,597,557,914,1112,675,334,320,359,362,369,383,412,421,525,548,477,599,575,399,399,443,505,431,484,1017,1308,991,926,1130,1150,1624,1638,995,717,760,722,908,1206,1310,854,708,862,1132,1182,1102,949,974,716,604,620,442,339,388,408,394,378,404,424,411,722,1172,1058,1226,1406,1350,1428,1164,629,850,1632,2018,1576,936,596,636,681,689,659,739,890,835,936,883,964,828,474,463,840,1272,1208,1130,1118,746,605,468,521,435,332,422,402,425,444,682,1072,1046,952,953,1586,1360,694,534,795,1100,1366,1302,875,540,558,502,580,755,760,548,628,819,998,991,933,936,1078,1278,1510,1292,713,514,399,432,502,409,581,566,484,546,843,1164,1070,1066,1166,1408,1672,1428,1322,1326,1404,1510,1248,1006,977,551,687,952,764,926,1272,1432,1182,1102,1354,1256,1290,1174,726,584,487,464,600,868,719,356,336,423,455,455,344,708,1194,1096,1116,1028,488,274,318,431,472,374,371,393,456,495,576,789,792,745,763,707,537,446,357,334,342,492,564,482,449,438,385,330,380,404,449,484,344,325,536,800,652,484,547,442,178,226,268,246,317,365,319,290,310,319,346,319,276,268,285,321,350,552,708,920,740,594,596,667,415,430,734,662,733,978,966,1072,958,991,925,877,785,754,1034,1236,1240,1038,975,928,1050,1668,1398,612,524,408,551,611,645,891,1080,971,870,987,983,918,913,744,398,341,432,415,467,463,407,345,291,272,300,328,324,304,300,338,350,358,324,375,397,346,401,395,299,284,299,304,323,330,343,387,426,394,403,418,423,420,361,346,387,392,402,398,397,403,445,462,430,403,415,373,321,433,815,998,649,547,664,940,795,643,648,733,697,506,976,1578,2272,3458,1504,539,520,838,865,1106,944,854,875,955,785,787,1088,805,581,785,846,524,379,579,1102,1274,997,1020,1024,733,526,590,459,393,556,987,960,876,1040,1072,1021,683,443,658,858,928,1290,1394,1274,1396,1352,919,672,608,613,668,473,341,356,365,387,419,389,393,434,422,427,403,419,420,383,358,346,333,327,293,323,383,375,438,689,382,454,337,379,505,343,265,510,770,949,998,877,1214,1234,1114,996,1064,954,637,449,532,589,522,721,1072,1198,941,703,1098,1270,1428,1512,1432,1362,1180,1102,1082,722,506,580,394,390,655,703,585,1074,997,689,564,428,364,279,274,471,1076,1072,620,442,419,438,545,537,375,383,438,512,1011,1018,422,384,377,423,711,1082,1160,1058,956,755,1005,1380,1248,1188,1346,1376,2558,2576,1410,1130,1372,1614,1518,1276,1282,1268,1474,1394,1210,1400,1376,1186,1130,1334,1466,1376,1428,1232,1124,830,996,575,419,477,435,440,741,1284,1330,1128,1260,1268,1184,1106,1118,1060,835,1144,1174,1206,1358,1262,890,683,657,603,637,869,838,513,336,354,354,294,234,262,259,258,261,249,284,467,794,852,1040,1152,1036,1128,951,1228,1214,1078,1198,1224,1266,1054,730,699,1016,1078,796,430,323,325,321,317,361,446,635,965,1094,1190,1344,1392,1482,1534,1504,1738,1390,1326,1478,1304,1116,1200,1344,1318,1356,1498,1392,1968,1494,1196,1012,849,913,1009,1190,1216,700,455,605,982,1064,1532,1160,1354,1660,1306,1252,1290,1284,1198,981,1042,1340,1212,1218,874,638,793,706,686,928,798,496,722,963,993,749,846,1086,1052,608,369,321,327,521,609,645,906,1246,1156,633,352,290,339,341,330,351,320,442,500,436,576,677,761,927,846,799,642,724,1009,980,712,669,577,587,944,1264,1204,852,655,724,843,1278,1126,531,332,307,288,372,555,732,914,894,770,733,736,735,577,412,387,383,402,443,457,426,399,427,420,356,365,393,431,440,369,313,331,343,357,535,651,370,302,299,285,321,318,354,424,412,405,378,529,767,624,388,400,489,467,504,446,403,535,856,1170,1332,1262,1194,1416,1434,1428,1324,1264,1002,835,666,572,577,881,1122,918,601,434,481,747,1052,908,507,423,405,411,502,649,739,633,579,744,893,1150,1222,673,755,670,531,406,579,875,956,1234,1424,1628,1586,1782,1980,1798,1718,1736,1714,1720,1772,1810,1758,1694,1410,1318,1318,1014,524,520,669,686,726,1444,2130,1554,1154,1650,1874,1794,1604,1554,1622,1766,1560,1358,1138,1290,1492,1514,1234,1240,1086,471,490,855,1094,1058,951,1466,1003,614,766,1204,1316,1358,1506,1278,1156,1230,765,444,570,582,548,529,525,454,412,396,412,459,488,486,436,560,547,567,719,705,615,538,457,566,797,812,642,820,1194,1200,938,861,646,553,597,817,698,529,740,1066,1082,1066,1192,1062,651,761,1114,1116,873,667,677,1058,1009,489,376,886,1320,658,882,1052,745,493,346,395,560,839,908,798,814,1072,1132,907,766,843,775,505,542,589,707,594,419,507,890,1108,916,803,858,657,365,301,334,371,514,504,432,455,438,380,403,450,521,310,208,262,328,297,375,395,376,388,336,297,282,347,402,468,305,286,328,361,308,282,494,660,813,800,845,639,529,674,1140,833,693,577,458,375,382,412,396,444,611,779,901,1248,1550,1416,903,679,638,997,1334,1428,1368,1132,615,744,1148,1656,2584,1520,872,981,691,447,398,299,280,249,383,590,557,370,362,487,361,313,408,422,271,584,881,720,474,1066,1660,983,931,1144,1122,923,1136,1440,1280,1194,857,487,636,899,1180,1378,936,667,620,511,357,426,440,394,340,274,310,382,366,414,394,412,415,350,383,397,500,506,364,736,1126,927,507,405,523,739,631,1010,1144,736,425,378,418,336,422,547,513,500,446,558,893,616,651,1017,1270,958,590,831,988,851,675,573,885,884,946,591,468,508,529,515,404,406,375,349,292,263,226,242,267,387,322,266,284,501,971,1005,1114,1156,735,1266,1202,753,1032,1050,1090,678,527,670,871,724,565,716,809,758,653,607,893,906,1148,750,349,346,372,530,692,791,859,903,1002,852,724,475,562,697,556,677,972,774,941,1564,1174,626,405,317,378,571,435,682,915,785,824,799,971,1198,983,637,480,564,1092,1136,1128,732,667,1032,987,773,885,922,892,609,386,374,367,448,745,1382,1156,786,1009,702,424,622,884,1011,958,709,401,435,387,483,554,372,318,425,539,594,581,645,819,831,952,533,605,1132,1316,1198,1230,1216,1082,840,440,294,446,1040,1408,1182,850,692,758,599,520,609,993,1520,1106,1270,1200,1166,673,442,360,526,536,1228,1462,1212,1180,1312,1254,1488,1588,1226,1266,1300,1326,1254,1300,1436,1454,1488,1494,1300,1448,1832,1794,1566,1434,1344,1178,1578,1226,792,1032,1196,1136,1212,1334,1286,1312,1362,1352,1164,1230,1288,1288,1174,1272,1338,1286,1332,1150,1448,1616,1316,1210,1130,954,1110,1296,1314,1502,1426,1314,1416],[185,192,210,222,226,220,216,223,237,240,250,240,240,240,268,264,253,269,241,215,235,227,253,273,289,257,257,266,247,221,223,241,250,252,236,260,272,269,301,306,323,294,316,469,515,394,323,365,367,373,434,444,348,312,331,749,1066,979,866,572,475,547,504,434,382,436,693,648,466,467,450,667,699,710,783,678,456,634,1098,993,586,513,487,515,469,427,536,1080,1432,1360,1454,1798,1534,1536,1522,1023,691,860,778,660,739,566,422,459,838,1290,977,969,1686,1430,802,1190,920,780,775,875,1498,1560,1064,940,833,680,679,813,784,760,733,575,447,424,386,505,614,519,584,607,516,499,433,390,414,424,484,600,656,564,423,346,338,362,334,286,294,356,475,579,905,745,719,546,444,610,551,400,458,480,645,806,1028,1144,1434,1526,1122,1028,1009,775,674,752,859,808,562,725,932,1046,1500,1754,1586,1622,1466,1236,1172,900,566,927,1604,834,594,885,1164,1116,984,576,405,506,669,790,966,1108,561,394,405,475,614,494,648,678,492,377,415,651,880,1188,1506,1594,926,496,489,691,889,629,523,481,575,753,758,830,978,1086,1328,1136,1092,1562,1626,1318,1324,1646,1622,1304,1056,641,470,393,479,703,1154,1062,985,926,738,588,670,808,713,791,1156,1290,912,502,403,396,371,393,411,386,344,414,419,356,372,502,999,1044,700,770,955,1246,1334,954,652,551,375,462,699,726,940,839,534,453,425,399,385,418,791,1342,1826,2172,1400,1120,1614,2214,2242,1548,1150,1094,929,1116,1294,1122,838,944,1044,1190,1622,1942,1880,1256,710,644,543,856,1618,1874,2216,1592,891,590,421,342,436,540,381,379,366,406,490,610,729,771,787,714,496,402,341,326,379,417,447,368,354,354,477,635,754,886,711,379,362,412,615,1003,1674,2014,1592,1306,1520,1444,1510,1522,1026,772,640,678,670,919,1122,1042,1040,1032,1328,1380,1006,742,828,1210,1056,1122,1034,745,472,389,324,492,720,618,606,636,564,1032,1098,1426,1510,1472,1600,1542,1688,1712,1688,1704,1758,1350,658,687,772,702,544,577,821,861,883,990,1154,894,489,490,852,1058,1208,1384,1404,1322,780,479,450,387,372,434,471,434,550,1036,1512,1310,886,1017,1326,1116,551,352,511,904,1196,1056,722,669,924,942,774,800,1100,1208,918,762,904,925,1034,1332,1448,1412,1450,1182,749,553,396,581,628,438,503,576,466,393,683,904,804,1218,1216,1454,1662,1626,2060,1542,1070,1474,1450,1368,1120,658,608,572,612,972,1024,1210,1230,1190,1100,1280,1552,1204,868,613,546,695,677,788,446,305,369,401,416,393,589,1021,1028,1354,1688,885,426,323,301,263,309,344,388,454,490,429,724,1186,1166,1318,1202,999,600,395,360,324,319,374,460,449,438,433,420,437,458,409,456,425,363,370,408,357,411,427,452,440,224,243,284,275,305,351,321,276,325,349,309,275,262,235,340,429,616,1007,807,941,766,730,922,732,334,326,551,619,655,677,611,785,684,659,466,386,446,540,1009,1470,1324,1058,1246,1332,1122,794,799,510,432,477,692,613,696,1094,1208,741,580,989,1260,1028,760,714,550,379,357,370,473,505,427,315,264,257,268,312,332,305,283,276,273,297,326,348,353,329,347,347,307,310,280,287,314,329,323,358,403,408,400,408,424,424,406,424,406,400,402,419,406,414,456,448,390,386,379,326,308,383,714,1096,911,741,747,888,1168,956,684,783,631,567,1066,1138,1278,3572,3584,1092,730,1064,1324,1432,850,705,733,815,927,1094,998,741,605,549,455,390,402,594,851,1052,822,623,826,821,467,452,365,408,451,747,1172,1018,1202,1308,876,438,470,933,1114,868,1334,1296,944,907,799,682,519,378,360,386,380,345,329,392,441,445,412,406,439,427,422,430,432,410,375,362,386,440,364,278,315,377,383,644,612,552,675,493,459,440,280,511,864,615,638,759,859,987,1114,1114,1166,1158,980,849,765,697,578,582,938,1068,1296,1260,1118,1058,738,949,1428,1624,1492,1664,1216,1300,988,713,587,412,280,486,508,390,338,319,428,473,370,304,374,650,659,1438,1398,838,654,471,466,879,1172,633,613,465,489,590,434,295,291,298,287,316,555,849,1396,1534,1038,738,860,1172,1178,1408,1436,1680,1314,980,752,940,1142,1226,1282,1272,1406,1466,1276,1226,1256,1144,1156,1164,1362,1654,1470,1078,930,1406,772,455,450,479,417,333,569,1208,1604,1172,987,1322,1440,1366,1076,1136,1001,1078,1212,1204,1254,1230,996,1028,884,662,733,854,852,639,445,524,466,344,298,265,276,284,289,277,259,343,459,810,1228,1388,1128,669,692,975,1292,1260,1050,1116,1166,927,1244,1282,1200,1134,950,705,476,373,395,363,345,406,457,658,1015,1148,1360,1198,1098,1350,1582,1378,1178,1212,1360,1178,1126,1284,1248,1266,1298,1888,2330,1942,1752,1134,665,802,959,697,1014,1124,990,759,703,602,1094,1918,2164,1308,1230,1478,1438,1298,1272,1590,1330,1116,1038,1140,986,1124,945,826,771,599,643,880,1036,592,682,874,758,689,785,1066,1210,944,646,514,423,481,475,569,538,626,489,343,342,316,330,318,305,355,334,286,317,343,547,646,800,1196,842,941,1128,836,669,564,390,479,683,819,767,897,925,769,754,609,640,907,771,519,444,347,310,339,463,594,736,599,565,651,670,531,402,363,354,379,412,394,404,470,457,425,377,336,323,426,529,520,437,337,339,346,340,442,691,443,323,307,309,357,356,386,446,439,539,608,640,651,527,372,338,321,388,433,384,363,409,488,567,717,814,777,836,904,922,741,691,541,440,405,352,374,596,800,700,628,440,537,1021,1184,785,494,467,403,421,432,509,569,486,667,874,1404,1678,1708,1005,681,699,503,408,596,880,1182,1824,1660,1516,1234,1676,1938,1946,2166,2062,1788,1778,1760,1700,1728,1522,1320,1406,1152,702,566,596,732,905,1136,1678,1640,1002,1350,1606,1432,1126,1644,1506,1556,1680,1528,1296,1326,1462,1794,1664,1001,1182,1058,654,485,778,865,868,998,1098,889,1040,1194,1150,1108,1304,1026,932,1132,938,574,463,521,437,405,525,553,463,405,407,439,574,666,555,434,539,622,648,641,573,510,478,479,633,745,764,559,995,1348,1322,1056,601,605,453,407,997,1466,1130,1032,1214,1274,1204,1100,911,755,914,1100,1070,792,507,594,1016,836,452,405,645,916,831,753,841,555,389,397,481,742,890,763,661,603,634,491,808,924,978,688,511,758,993,977,651,517,499,766,921,768,626,886,839,538,553,438,349,425,385,413,423,406,372,395,397,404,233,233,290,321,366,381,405,397,343,284,318,279,321,413,496,421,394,348,308,298,334,525,833,1080,659,599,771,1000,1034,894,560,621,614,506,400,562,538,352,433,750,875,811,1098,1372,1562,1254,880,742,1056,1358,1372,1698,1374,571,666,890,1102,1402,1148,783,819,664,625,621,461,368,309,307,620,1076,1076,641,412,300,272,290,283,258,602,966,618,480,496,637,658,923,1017,1046,987,1002,1218,1836,2376,1044,897,1036,1404,1434,1228,879,582,495,430,393,430,393,274,238,172,226,328,366,404,531,511,446,390,380,454,728,832,579,735,1224,1100,713,857,1018,1134,1092,934,576,399,344,303,279,249,255,321,435,553,453,468,790,713,834,1112,1000,647,479,401,509,616,822,751,825,728,895,673,672,853,766,586,459,477,395,358,260,237,245,266,280,286,256,289,315,541,973,929,859,857,602,1022,703,513,590,1088,1102,791,854,980,1098,949,896,921,739,656,476,469,787,1052,1246,702,300,372,572,547,532,778,807,899,1230,1462,931,464,496,591,693,650,658,818,1088,1362,1090,721,602,426,338,456,320,534,910,941,924,1100,985,1005,914,511,494,996,1294,993,724,568,641,953,869,498,785,865,796,542,548,556,501,568,1328,1904,1268,969,940,658,647,1086,1388,1128,778,850,544,384,399,429,429,363,337,443,649,673,782,743,703,669,833,673,889,1144,1170,1248,1164,993,1092,1001,511,385,899,1392,1190,907,642,649,889,656,454,719,1738,2140,1090,1250,1206,916,978,810,1011,1346,1032,609,543,745,1198,1476,1340,1462,1444,1306,1324,1284,1238,1378,1504,1470,1416,1392,1186,1178,1354,1524,1466,1448,1558,1544,1412,1506,1230,1208,1282,1182,1184,1078,1252,1274,1150,1068,1052,1136,1220,1224,1152,1106,1320,1354,1704,1520,1304,1382,1302,1424,1340,1358,1100,1136,1216,1118,1378,1566,1532,1520],[186,188,206,220,225,220,214,221,223,232,251,256,273,242,226,261,292,327,341,294,257,265,311,476,404,268,254,287,289,240,224,260,272,250,248,271,268,258,269,290,341,320,370,477,482,371,351,451,381,384,481,419,338,290,350,463,462,433,360,375,548,546,473,568,527,547,852,900,760,664,532,754,1100,1526,1780,907,408,479,859,774,445,403,511,560,656,569,380,691,1338,1516,1350,1876,1548,1148,1012,1684,1748,1140,628,654,654,516,441,348,469,749,571,735,1080,1288,985,940,919,876,794,808,1126,1256,1088,814,1012,1080,941,863,791,619,643,771,583,456,516,454,389,327,417,422,345,309,307,316,396,455,496,550,592,584,514,379,345,390,470,383,331,379,468,629,1112,1098,539,363,568,823,582,374,416,514,614,666,694,813,850,976,910,654,628,741,794,799,952,841,709,813,781,729,1316,1716,1618,1564,1460,1198,817,807,547,723,813,398,414,920,1194,1102,1023,870,676,919,746,440,625,788,561,510,595,642,632,656,953,1076,806,601,625,684,577,796,1364,1530,761,475,471,662,883,658,401,557,906,806,559,496,414,520,915,1162,1330,1642,1530,1780,2190,1856,1256,1300,1362,1074,730,466,404,674,974,769,919,1094,941,797,871,811,807,952,1254,1324,1078,827,566,400,342,351,375,347,412,566,505,442,425,561,954,937,883,869,900,1232,1468,1006,439,315,347,608,931,695,861,740,497,425,367,379,409,411,779,1256,1870,2332,1174,1660,2254,1824,1472,1114,882,778,609,796,1358,1366,1072,926,667,842,1222,1370,1528,1588,1354,1106,1009,1422,1882,2168,2098,1786,1552,1230,1162,1068,788,515,413,367,363,396,596,849,733,499,438,403,436,409,404,371,502,527,525,418,323,336,410,580,659,685,559,584,593,480,731,1466,1904,1608,1714,2082,1902,1520,1072,662,665,577,761,879,1072,1220,990,1068,1218,1200,1284,1206,923,638,818,1096,824,1060,963,876,991,722,398,541,616,473,715,878,656,640,754,1350,1714,1792,1682,2214,2358,1830,1320,1228,1680,1758,885,706,725,666,449,509,711,908,1034,913,572,528,650,911,1050,1190,1278,1396,1316,1056,608,467,474,433,540,561,552,470,502,670,1172,1178,999,1214,953,621,647,871,1078,1238,1308,965,781,1022,1202,1542,1650,883,846,1388,1084,946,1082,1144,1370,1966,1744,1100,875,1106,979,490,406,769,762,508,517,612,531,379,475,560,733,932,1100,1616,1662,1598,1846,1672,1462,1484,1566,1378,1100,872,901,951,1226,1013,788,1032,1146,1160,1134,1322,1504,1278,1012,722,872,1116,1036,520,261,281,319,342,372,367,598,895,1052,1592,1588,652,395,343,295,317,324,322,375,439,515,729,915,1003,1023,1066,1272,1050,597,503,417,346,404,480,482,456,547,487,441,440,476,466,484,415,401,401,380,369,454,562,420,245,261,230,243,271,336,325,247,290,361,339,305,295,262,341,1050,819,647,1007,1246,1072,615,507,730,502,286,290,296,365,676,590,410,716,730,599,469,361,365,550,973,1202,1018,1182,1362,1460,1084,642,869,648,437,395,382,755,1042,877,709,523,509,813,984,647,613,786,631,415,390,440,518,569,560,416,305,273,262,286,329,296,268,264,269,293,316,319,296,284,335,306,335,345,317,293,304,279,283,316,347,386,449,502,450,457,457,418,450,456,441,441,421,396,403,424,404,376,348,305,314,320,365,605,783,695,626,678,871,696,634,845,712,811,872,506,411,1182,2294,1492,1046,1128,1358,1070,659,698,920,888,894,1082,1092,1140,730,447,361,384,479,721,1070,1098,608,397,475,595,401,364,471,731,543,557,1158,1368,1230,1040,745,501,590,933,1042,755,973,1000,776,664,500,433,424,384,385,462,486,350,430,417,447,470,395,354,408,436,419,434,445,406,378,422,473,411,365,433,408,383,380,469,594,803,886,563,340,243,246,332,398,318,399,389,455,592,816,799,736,765,925,998,996,1011,1160,931,779,756,1522,1556,1182,834,652,796,1116,1358,1112,1030,1140,1254,1028,938,991,609,318,355,358,336,300,295,489,740,684,574,497,834,886,1106,1040,1128,1378,966,912,1618,1562,870,908,575,485,396,329,357,330,309,318,424,585,668,1316,1132,1032,716,557,789,1468,1600,1350,1112,1306,1426,1002,711,572,689,1120,1306,1288,1308,1324,1154,981,1196,1450,1096,896,1288,1140,1112,1138,1114,652,468,522,471,343,383,841,1306,1158,816,1036,1268,1418,1438,1086,987,839,908,1228,1210,1228,1032,667,666,1070,872,895,818,562,636,713,813,614,399,299,285,258,283,275,258,284,399,731,1048,1432,1130,893,927,802,1280,1512,1132,969,1024,1094,752,968,1306,1324,1262,1092,716,435,430,391,361,398,430,472,752,1072,1162,1312,1100,1036,1346,1566,1616,1556,1390,1380,1142,1064,1064,829,880,1032,1216,1234,1170,1016,973,945,882,794,731,1092,933,760,747,925,747,800,1356,1440,1170,942,1018,1204,979,633,1088,889,1050,962,954,1106,1084,933,970,753,613,698,782,1118,688,593,659,752,776,738,968,1088,966,1090,771,810,969,446,281,270,309,391,374,403,371,329,330,311,368,370,316,332,352,592,704,645,868,730,768,964,854,480,454,441,659,862,929,698,765,907,902,714,466,411,517,511,381,427,399,361,396,417,423,482,484,626,722,553,376,368,376,360,393,392,358,486,524,483,476,420,367,326,365,453,426,376,347,323,323,334,325,599,499,327,300,315,349,393,459,544,620,658,485,509,592,417,349,359,359,357,339,326,334,347,349,370,448,477,482,460,433,457,476,422,389,384,359,357,328,338,385,565,738,769,889,988,854,544,445,405,409,470,445,469,572,593,769,860,1202,1626,1670,1186,942,834,502,448,539,952,1384,1764,1776,1528,1224,1118,1082,1344,1884,2034,1886,1840,1816,1724,1718,1614,1340,1070,803,827,979,731,846,1272,1350,1332,988,1338,1774,1478,801,583,902,1080,1306,1044,1048,1422,1370,1246,1534,1230,1418,1622,941,970,702,683,569,538,862,885,844,1088,1054,831,626,1080,1008,1144,1164,802,444,360,419,390,413,502,594,604,488,519,531,621,722,693,658,669,579,562,600,559,470,474,586,954,582,471,480,947,1376,1624,1021,588,620,501,563,1172,1612,1376,1266,1142,1296,1186,1066,930,974,1078,977,993,910,785,654,797,913,610,389,341,572,671,608,624,526,444,386,438,748,963,703,648,660,443,436,722,853,901,770,683,894,1078,968,763,698,463,591,909,874,680,946,884,582,592,574,426,351,320,355,381,368,352,322,326,272,232,255,261,309,368,403,428,390,370,292,298,329,383,464,529,445,339,306,320,355,454,1050,1021,894,1208,1080,1190,1176,1009,654,666,707,799,1198,1198,1240,915,838,879,1096,1172,1024,899,1150,1506,1480,1196,1050,1362,1180,1136,1920,1500,901,818,814,685,741,949,873,688,821,712,581,680,549,522,461,457,760,940,728,422,308,317,278,263,266,471,819,827,919,1194,1310,936,1144,1112,1002,1036,1162,1262,1606,2088,1192,1016,1274,1240,977,986,716,415,436,378,393,487,427,291,309,264,263,296,334,680,781,572,479,469,500,561,934,987,793,1066,1432,1168,960,996,1072,1100,1096,871,541,427,487,483,354,231,206,256,401,550,522,463,694,967,1030,895,733,597,683,647,692,602,1064,929,881,874,866,739,688,881,822,722,655,563,410,297,240,248,247,246,291,286,258,272,308,603,1114,1050,633,749,933,1021,926,731,495,620,581,725,1026,1152,1286,1274,944,1122,810,856,689,667,831,1007,922,539,281,484,1040,741,684,990,764,562,1246,1578,914,598,455,405,603,783,858,835,753,921,827,789,746,457,315,321,294,563,1204,1540,1268,1268,810,715,855,497,522,1166,1306,1238,1015,922,1096,751,494,587,897,976,1130,1348,1224,716,643,886,1580,1612,1200,1262,949,805,853,964,1374,1182,1050,940,526,424,427,399,468,498,442,526,774,677,874,971,750,578,802,1086,1158,863,571,792,922,1078,999,1244,637,591,1274,1206,1064,1188,777,495,478,428,465,599,1262,1244,732,1072,1410,1302,1148,1188,1448,1732,1488,862,673,656,958,1122,1106,1422,1578,1430,1426,1420,1432,1616,1554,1346,1374,1356,1280,1422,1324,1228,1388,1600,1554,1464,1344,1122,1076,1382,1304,1086,1052,708,807,999,1146,787,771,1170,1344,1356,1260,1166,1120,1388,2098,1522,1344,1280,1346,1340,1242,1372,1324,1218,1010,1104,1460,1520,1566,1390],[209,213,230,233,233,247,256,268,235,227,252,273,285,268,258,286,317,320,321,248,244,331,403,603,487,426,448,475,474,476,350,317,273,268,283,276,267,276,283,308,351,399,431,496,567,426,330,418,334,336,382,371,351,318,381,452,496,539,576,561,424,399,592,795,602,720,1046,1012,908,747,487,670,1252,1952,2212,961,431,463,510,697,592,491,534,549,762,705,413,618,1144,1378,1312,2264,1494,803,1266,2252,2148,1110,941,1314,1226,648,394,354,511,1122,1015,1218,958,780,1078,1011,969,1084,901,786,705,667,637,517,1396,1542,1054,819,716,520,480,633,700,543,527,478,427,318,246,249,258,318,347,359,362,390,455,468,472,476,466,364,343,382,476,368,322,466,720,932,1050,1034,755,514,767,886,486,368,478,546,524,592,655,720,646,700,901,1072,691,653,876,979,921,771,730,772,774,834,1076,1378,1560,1480,1286,1110,1252,1432,745,496,403,403,401,686,920,897,1098,961,574,533,486,476,648,656,637,1156,1456,1086,1013,1196,1200,1098,1024,881,854,778,436,510,1040,1184,716,610,733,836,987,846,858,828,1002,1009,770,936,606,522,969,1388,1650,1692,1554,1294,1236,1300,1242,1478,1480,1296,1138,811,556,808,929,919,979,764,513,659,968,1030,1040,753,1042,1122,1070,1346,1262,597,403,356,387,366,337,396,526,509,424,669,940,965,1007,1028,1028,1050,1009,708,360,314,343,651,645,468,723,623,415,398,418,413,381,475,995,1528,1660,1492,1222,1398,1804,1442,821,781,1084,1114,894,873,1034,1262,1238,669,437,466,479,513,714,802,713,771,921,1108,1610,2320,2502,2252,1714,1852,2236,1538,1170,1148,672,543,708,775,1130,1636,929,390,408,410,398,365,397,392,534,595,537,462,504,536,637,884,915,685,537,915,910,686,650,1274,1838,1830,2004,2128,2108,1810,1236,844,664,643,1066,1288,1310,1286,1188,968,841,1046,1026,1018,1238,1306,1206,1144,724,358,488,805,725,472,389,428,336,376,478,812,778,535,961,1474,1532,1268,1454,1772,1464,1412,826,1088,1852,1994,1698,1044,766,595,437,398,568,1050,1452,1250,603,435,810,871,1188,1282,1452,1748,1282,871,673,564,579,497,608,619,565,495,550,866,1174,1024,944,937,644,569,924,1344,1504,1342,1498,1260,1114,1156,1232,1416,1470,869,946,1342,1272,1134,1092,1180,1390,1666,1268,774,937,1170,882,561,520,717,785,626,498,470,479,397,441,814,959,694,939,1348,1484,1306,1130,1502,1582,1420,2238,1678,1376,1226,1216,1328,1354,990,1030,1350,1224,996,1050,1344,1272,1007,1058,1078,1090,989,571,301,275,257,283,398,516,605,625,993,1214,1046,763,453,382,363,321,360,451,513,465,465,607,910,1120,1144,1172,1108,990,780,890,771,523,644,546,529,579,455,476,403,437,430,432,425,415,400,390,376,394,412,457,527,403,266,269,254,265,303,336,343,368,407,359,312,300,305,238,406,1542,1266,903,1528,1506,762,366,534,807,415,309,268,389,393,498,419,376,676,976,760,423,296,321,541,808,738,812,993,1242,1504,1256,1030,1196,1030,933,721,452,789,1080,1160,921,553,456,557,572,554,729,1032,825,473,495,508,505,586,682,599,390,324,305,292,314,283,272,280,287,318,323,294,272,287,371,364,309,327,344,320,304,287,296,299,337,368,469,523,578,629,563,471,582,588,453,420,419,351,327,358,370,332,296,306,320,353,424,476,593,499,461,758,940,851,473,452,461,801,1114,927,676,556,866,1140,1194,1150,1076,1228,1320,1084,1072,1100,955,1010,1260,1376,1062,564,388,442,707,1310,1340,1060,762,553,430,397,380,299,529,821,626,398,907,1418,1048,999,821,730,673,944,849,549,681,940,1154,928,488,403,387,385,448,579,531,551,544,392,397,411,362,292,339,409,406,427,430,378,408,501,473,347,338,411,402,354,353,324,461,1192,1362,625,254,253,275,285,303,306,371,307,339,559,648,564,595,618,684,1022,1220,1792,2170,1616,833,731,1140,1032,862,622,677,743,1068,1144,1102,823,1100,1128,790,1194,1410,554,269,314,372,440,631,660,761,752,847,794,579,735,930,1216,1324,1354,1660,1646,1450,1644,1070,714,959,957,565,323,598,834,770,472,357,326,502,480,809,1210,1326,755,369,741,1438,1618,1256,886,693,1050,1016,508,397,404,664,1007,1170,1314,1342,1246,1078,1182,1198,1004,579,747,1198,1606,1378,1136,783,451,458,388,369,791,1484,1198,858,683,746,1154,1266,1228,1092,1180,1050,953,1312,1238,969,890,832,615,843,1009,889,565,601,836,937,944,1028,761,528,340,280,282,281,277,319,567,879,1108,984,616,845,1146,1048,1272,1060,624,513,550,636,938,988,865,825,789,1066,939,379,358,434,404,387,586,774,919,1186,1428,1296,848,993,1204,1428,1672,1698,1428,1198,1224,1112,915,561,439,509,728,1002,987,1034,1074,865,790,702,850,1007,824,675,890,1350,1202,620,418,497,521,967,1210,1324,977,509,433,670,1124,1130,899,990,1222,1274,1168,478,432,523,764,1222,916,677,641,704,940,976,960,922,976,1276,1098,1200,774,414,307,321,348,342,378,389,399,528,479,344,369,393,364,355,373,495,643,622,553,775,999,927,1062,593,406,510,926,1030,754,562,755,895,875,677,427,418,419,398,344,413,415,368,369,386,366,376,458,586,624,467,375,375,402,434,449,341,314,423,472,481,497,457,408,365,332,381,414,333,307,290,300,329,299,484,532,361,319,307,393,505,470,498,669,551,350,326,310,312,329,327,339,347,336,347,323,311,327,329,349,366,354,343,347,368,351,338,343,332,313,323,309,359,356,352,415,551,813,945,684,497,454,416,437,462,488,452,686,815,777,843,1010,1148,1134,1040,993,1010,623,575,509,962,1584,1746,1766,1556,1274,1378,1470,1196,1232,2014,2092,1882,1830,1810,1786,1480,976,855,891,1000,971,838,1264,1368,1554,1500,1238,1674,1786,1526,925,905,1002,954,799,830,1330,1278,1090,945,1056,1064,1190,1276,944,1046,870,553,426,423,466,597,980,1176,816,961,1184,1304,1084,1284,1228,912,551,396,447,479,479,513,564,581,495,595,655,611,638,609,533,433,408,433,457,545,483,535,829,1032,711,450,367,527,1000,1066,570,552,620,371,365,753,1058,1130,954,1178,1248,1148,1202,1054,1018,1066,753,965,962,921,735,922,1180,709,374,353,592,595,414,529,495,415,410,447,771,907,644,618,545,436,547,640,683,951,841,641,752,941,699,786,730,404,630,973,807,788,1070,980,617,550,659,513,304,302,315,372,365,354,344,342,306,276,278,229,218,302,356,395,395,387,321,321,337,480,567,586,490,353,442,432,334,358,996,883,633,1005,1068,857,752,574,456,655,841,1226,1342,1312,1456,1046,1270,1586,1528,1426,1046,544,655,1198,1588,1278,1342,1026,988,824,1258,982,1030,1252,1046,911,902,1108,1130,897,946,905,603,624,818,1014,746,367,379,434,342,256,306,280,252,253,303,564,1013,1312,1334,1498,1306,1054,1194,1294,947,695,688,777,529,689,857,1011,1338,1296,1018,808,669,444,428,353,444,634,419,316,352,358,248,248,279,289,210,296,452,510,555,586,873,736,696,860,1138,1176,1062,1016,896,730,624,422,413,612,750,861,561,246,234,238,398,560,547,543,703,855,803,803,770,691,957,1005,861,663,1218,1454,1208,1128,1188,1196,1180,927,801,836,749,589,361,265,234,228,238,246,274,289,287,257,433,755,999,868,560,635,918,1124,1224,954,572,448,477,633,1023,1392,1466,1146,586,755,595,458,598,907,1116,956,765,778,539,376,615,772,1064,1122,773,736,1068,918,650,702,419,373,353,537,731,489,353,732,792,682,678,564,418,282,307,455,674,820,1007,888,681,658,670,524,539,650,819,1078,1138,1154,1222,1158,951,668,915,1592,1760,2208,1760,1416,1250,833,1019,847,1040,999,800,434,505,801,1156,1082,1084,866,458,612,785,507,471,624,645,686,806,578,437,872,883,487,476,727,741,590,393,504,722,1108,879,862,559,765,1220,1136,1192,1188,606,459,468,495,481,541,670,804,783,988,1222,711,737,1328,1584,1296,1594,1136,1038,1122,930,972,1354,1520,1422,1406,1436,1456,1406,1358,1366,1448,1478,1314,1326,1310,1078,968,1060,1166,1268,1288,1382,1300,1448,1304,1284,1076,933,561,532,771,935,919,1026,1264,1082,1082,1344,1426,1220,1376,1300,1388,1322,1206,1296,1376,1334,1194,923,886,759,1154,1372,1734,1660,1380],[231,219,216,216,229,248,238,214,210,253,270,289,297,290,298,295,271,216,191,180,261,466,677,581,472,573,555,591,633,697,422,306,284,283,298,292,275,293,372,438,447,438,385,562,720,424,344,316,290,297,285,363,412,329,379,377,493,587,475,634,533,589,576,555,443,561,1018,1216,937,636,455,532,946,1034,1208,995,558,474,756,1104,788,504,607,754,784,486,351,400,618,1240,1150,1220,1266,834,860,1400,1222,827,962,1542,2122,1078,488,467,430,767,1152,1370,870,769,883,562,742,1052,782,546,587,600,629,520,1160,1678,1462,981,752,576,496,588,766,741,560,532,453,330,239,226,265,290,309,322,278,325,443,427,407,395,433,397,314,343,359,273,289,516,975,1128,940,985,774,495,789,906,541,617,1036,819,596,637,655,841,1023,1096,1240,1236,742,581,848,966,959,919,1042,1021,957,1160,931,964,1538,1606,1460,1716,1876,1648,2138,1558,403,430,431,553,543,820,1286,807,579,733,552,485,648,661,815,1618,1950,1260,1032,1402,1328,1042,1072,896,870,828,565,557,954,1021,931,1290,1490,1024,987,812,745,1038,1410,1376,875,811,861,1050,1180,1470,1672,1610,1536,990,1066,1410,1250,1007,1028,1038,1118,1032,774,667,741,733,648,538,482,575,870,1034,1078,970,827,844,1172,1736,1634,1034,706,461,407,355,315,379,472,455,503,844,1015,981,1007,1094,1130,1068,907,530,374,342,622,1082,683,385,607,543,370,493,483,425,384,536,1212,1714,1482,1476,1654,1422,1746,1686,1068,785,916,977,813,877,827,989,1050,597,480,426,464,509,690,1024,890,669,714,774,1210,1886,2504,2230,1626,1826,1912,890,579,661,811,973,946,1328,2282,2668,1632,673,516,628,691,691,612,558,715,910,948,1394,1526,1296,1098,924,1168,937,515,702,1013,1036,957,1464,2086,1944,1582,1414,1750,1394,1504,1368,1007,860,1180,1346,1198,1188,1140,932,1000,1054,694,814,1118,1542,1484,1438,1188,669,514,693,350,328,386,412,404,421,631,940,775,619,969,1356,1182,753,1186,1650,1326,1354,1182,1338,1996,1550,1566,1884,1314,679,431,479,716,1190,1640,1616,955,590,455,410,741,898,1216,1454,1208,802,512,445,370,384,424,539,601,570,520,1040,1448,1062,911,1226,1292,1070,1202,1320,1456,1508,1300,1154,1164,1142,1172,1238,1390,1302,1144,1286,1318,1036,1036,1062,1182,897,659,861,1346,1264,723,721,640,666,574,502,453,416,410,363,487,907,829,600,934,1094,1106,1252,1360,1650,1332,1038,2050,1518,1282,1186,1294,1390,1256,1148,1192,1390,1356,1236,1372,1544,1194,1048,1274,827,544,479,280,264,263,267,384,1028,1224,1021,907,1130,1005,675,464,387,351,351,356,431,467,442,408,455,625,667,783,1156,1126,963,840,962,1168,948,968,1002,680,899,882,602,483,464,447,386,390,394,424,402,420,447,420,573,803,739,659,475,309,232,227,250,250,276,308,316,298,283,326,321,318,674,1118,1030,830,852,767,476,474,689,846,425,357,392,516,464,394,382,406,875,1288,921,448,344,298,332,711,973,938,807,1030,1298,1212,1294,1476,1278,1182,749,619,771,730,971,996,585,665,902,783,606,664,825,613,442,565,502,423,497,611,658,520,395,303,274,280,267,273,298,318,320,317,316,297,317,379,375,349,347,327,319,292,273,275,287,298,312,316,357,464,436,376,406,537,533,416,390,356,299,286,298,298,305,325,374,424,450,502,554,483,388,718,1116,942,1194,811,590,655,949,1700,1644,1042,1076,1416,1260,1170,1044,780,1296,1960,1660,1090,1208,1026,1110,1122,883,694,425,462,541,574,936,958,860,768,655,470,358,337,293,441,737,895,590,643,1328,1234,1080,590,403,599,805,841,847,598,727,1154,867,482,390,327,321,488,631,764,1328,900,375,433,454,465,474,437,442,388,414,400,348,412,448,366,303,355,403,325,344,521,407,631,1946,1536,486,214,276,299,277,316,318,286,292,350,564,585,462,516,509,457,716,1200,2014,2342,1918,1112,705,758,929,1282,1256,1424,1170,1054,1098,966,629,785,846,516,808,1154,472,338,653,707,882,1234,1007,1028,874,577,489,455,608,1028,1276,1344,1248,1454,1936,1528,1312,1116,1188,1510,1272,706,790,1017,942,991,1086,979,627,655,452,494,926,1088,796,393,517,1046,1388,1156,757,514,810,610,609,642,432,384,532,924,1202,1306,1328,1462,1814,1388,628,409,746,1190,1294,1164,997,602,493,517,468,761,1376,1516,1150,1022,727,617,845,1150,1272,1022,661,696,796,934,802,599,742,778,717,555,871,1007,612,658,1124,1104,1192,1252,1164,879,517,317,256,256,287,301,630,1074,835,441,541,745,782,1082,1252,1332,1000,670,636,550,980,927,415,397,429,580,565,341,383,706,596,588,809,819,855,1078,1402,1296,831,1160,1074,1438,1664,1600,1338,1252,1262,1168,829,519,428,306,507,740,665,1042,988,633,821,1114,796,635,849,850,995,1250,1080,932,783,564,473,960,1148,1180,944,734,814,1122,1292,1262,1032,1126,1130,1028,1078,655,382,721,1332,1450,1032,721,621,755,995,1062,1090,1302,1500,1418,1388,1372,1062,758,502,325,374,350,348,279,314,378,302,327,353,365,342,336,356,388,445,406,474,652,827,845,1056,894,742,631,653,756,579,379,457,677,697,464,409,367,382,397,365,382,361,351,345,321,338,359,328,391,481,503,462,451,409,448,500,480,473,446,461,444,481,465,454,383,317,328,358,300,270,282,297,321,299,393,525,389,354,309,360,415,387,456,544,436,305,305,336,337,335,296,299,331,313,343,323,299,278,289,282,254,255,283,313,297,277,293,297,264,283,296,322,344,335,351,370,359,523,890,1078,862,670,518,413,422,432,425,604,694,835,1054,1126,991,946,1538,1450,1054,725,627,690,1364,1686,1594,1702,1586,1268,1426,1824,1568,1158,1194,1512,1782,1860,1752,1506,1040,942,1206,968,697,667,697,1350,1762,1712,1554,1696,1804,1532,1446,1354,1104,877,604,383,962,1432,1228,1058,1154,806,699,652,669,652,678,541,404,650,517,495,623,813,1062,1102,1450,1660,1378,1132,1104,1144,1002,738,485,436,467,453,454,442,487,543,669,648,556,474,388,429,451,477,444,439,530,504,504,944,1100,752,463,391,409,618,744,538,464,482,438,476,442,910,1034,1026,1312,1222,1268,1170,703,644,938,1021,1088,1618,1382,678,767,949,543,312,461,771,704,636,565,510,429,503,482,822,793,569,542,656,844,1012,862,655,791,683,641,598,793,620,396,309,347,571,717,743,799,1060,1230,919,504,418,364,258,301,366,410,380,352,362,365,343,327,403,329,290,312,311,370,407,354,340,346,523,881,912,794,630,574,1013,797,813,1102,1088,1262,1010,473,318,405,802,850,633,749,1044,1484,1288,1394,1596,1154,1168,1308,1382,1420,920,364,407,919,1544,1834,1946,1124,766,640,622,527,906,1050,995,1290,1290,1318,1688,1506,1062,590,540,691,958,1038,679,383,366,344,296,242,278,267,274,307,318,714,1136,1340,1334,1280,1278,1326,1312,1368,881,469,434,443,579,708,845,862,709,956,1022,660,475,466,445,421,470,542,348,333,418,358,238,237,316,321,336,330,462,515,563,670,662,709,809,659,769,854,631,419,456,635,551,557,628,861,879,863,525,255,257,267,315,447,541,636,759,943,1078,960,756,561,784,885,901,1136,1490,1410,897,993,1304,1124,998,852,899,1048,767,428,389,330,237,246,250,433,825,438,342,251,515,763,884,819,679,697,818,801,810,878,775,543,420,444,968,1498,1544,877,390,575,824,616,451,803,1128,801,742,804,607,430,563,949,1302,1060,549,445,559,648,807,877,551,371,369,572,522,528,408,473,747,930,855,799,462,286,296,312,319,334,372,346,403,575,789,834,716,517,473,541,698,954,1174,1166,730,440,565,1090,1912,1742,913,1250,1366,664,749,766,1030,889,492,289,296,401,662,838,805,523,434,844,1015,484,512,692,857,973,824,508,474,582,566,395,383,560,532,497,703,1005,1066,1056,1032,1058,837,741,910,1050,993,991,467,426,430,524,646,886,812,968,1290,1350,1078,446,413,763,1656,1376,1788,1366,1198,1262,1206,1280,1504,1512,1456,1542,1528,1346,1230,1316,1498,1426,1304,1282,1388,1318,1186,1086,1028,1338,1308,1218,1220,860,851,963,1164,1138,872,584,609,1114,1852,1378,976,925,957,1024,1160,1338,1344,1008,1344,1618,1452,1348,1332,1334,1034,998,919,549,717,1021,1350,1672,1394,1274],[267,256,224,228,264,235,221,258,324,370,368,313,283,298,310,322,322,280,239,231,273,370,554,727,608,549,462,538,585,634,448,313,295,294,294,293,276,297,368,391,415,442,361,562,559,366,385,338,276,291,287,375,448,477,426,355,464,603,449,592,709,720,525,437,408,431,742,1094,987,678,522,462,780,748,836,733,494,449,949,1444,1252,1194,1408,1044,647,298,240,380,437,1080,1140,984,1206,903,718,948,897,849,811,746,691,640,554,473,386,478,744,986,1020,891,667,580,623,796,815,592,498,664,767,603,910,1952,2130,1240,771,612,510,593,794,709,465,494,505,494,408,289,292,322,308,325,309,323,363,366,362,378,421,372,295,320,349,306,311,429,609,697,766,851,1032,989,1210,1270,844,1226,1536,1034,834,675,500,953,1230,1272,1222,1030,1194,1448,1282,1054,922,1008,1236,1138,998,1212,977,1324,1560,1548,1670,1924,1676,1656,2896,2714,946,449,368,512,517,1034,1246,918,672,581,442,427,489,561,628,809,999,649,600,820,711,861,846,785,875,861,633,669,725,692,1006,1480,1856,1015,1268,1170,1350,1604,1816,1554,890,611,988,1256,1254,1346,1230,1344,1376,1282,1136,1160,888,800,1080,1278,1114,1009,900,472,382,496,805,921,659,586,566,786,926,773,720,952,1100,1210,1130,895,713,741,552,369,374,400,349,336,584,945,1021,960,968,1070,1122,1116,719,424,424,405,828,1204,833,472,619,573,356,462,480,433,389,465,1090,1668,1670,1448,1108,1410,1792,1736,1560,1338,1382,1034,576,712,706,633,617,532,415,387,437,504,1074,1858,1572,1202,832,577,585,934,1842,1976,1556,1410,850,366,331,664,1244,1522,1794,2282,2584,2372,1766,1228,1334,1368,1148,858,774,820,977,1012,977,1436,1474,1388,1134,891,1062,859,610,959,1210,1146,1296,1588,2010,1916,1714,1154,1188,1426,1682,1664,1494,1210,1240,1404,1422,1150,1058,1266,1330,1032,898,1236,1016,1156,1378,1144,1226,1162,783,841,432,367,439,407,519,562,791,1034,811,473,736,1230,1048,698,763,954,1034,1182,1392,1526,1396,1164,2264,2952,1830,1542,851,574,810,843,1116,1208,1270,1274,858,558,644,816,886,1090,1376,1174,615,421,332,299,283,313,477,594,556,861,985,655,591,794,1098,987,987,1024,1258,1370,1148,1306,1100,715,1064,1314,1290,774,1092,1100,1300,1212,1262,1058,844,662,659,736,1234,1404,738,572,890,977,633,589,589,522,437,470,744,1072,988,1064,1274,1007,1028,1332,1472,1534,1356,1172,1122,702,659,713,762,1024,1280,1364,1224,892,778,839,998,1290,949,743,1084,893,318,246,250,274,296,323,672,1592,1422,1144,1238,1110,931,661,494,420,396,368,375,415,473,483,493,614,823,777,967,1180,957,841,941,963,957,852,1052,888,894,1310,949,675,555,509,578,430,419,449,470,464,457,477,414,545,785,758,602,447,387,339,263,251,298,360,349,338,319,293,353,333,407,916,972,725,539,477,449,571,1040,1340,1002,463,384,527,513,454,398,369,560,1058,1322,1020,564,473,400,381,877,1258,1142,849,863,951,869,921,1178,1192,1180,673,494,739,878,929,1024,690,715,843,609,625,758,999,846,700,567,472,399,469,518,600,658,553,395,321,276,283,294,302,321,292,302,350,335,355,379,353,360,363,346,316,277,280,276,302,281,278,295,330,347,356,350,349,370,396,346,318,314,287,290,335,377,373,383,478,547,516,585,641,432,722,1528,1592,1260,1838,1236,769,882,1294,1776,1506,1106,1136,1034,533,718,627,775,930,1610,1492,988,1044,987,942,778,509,453,417,466,624,460,436,549,869,777,558,391,320,309,327,377,498,984,925,698,1214,977,498,412,465,443,320,476,598,397,582,988,877,641,395,450,411,504,587,1054,1704,1198,423,462,412,416,474,397,515,600,614,536,415,315,334,399,388,350,327,249,403,778,598,708,1536,1116,381,199,251,288,436,657,673,498,340,321,407,498,439,407,414,448,608,1130,1948,2408,1962,1262,1262,1222,1082,1346,1376,1254,913,587,728,752,470,396,394,330,340,349,269,350,929,788,752,891,999,1492,1354,899,661,470,918,1312,1056,1060,1162,1302,1544,1560,1504,973,991,1420,1017,720,1106,845,680,712,1130,1180,946,890,752,551,700,1122,1072,796,805,758,791,777,492,369,302,387,1092,1316,681,432,531,808,1324,1438,1466,1406,1584,1646,1044,903,1012,683,672,757,560,487,903,810,662,1208,1526,1356,1354,990,948,882,577,836,1154,849,922,1046,940,681,816,696,619,812,712,587,922,1238,1144,1054,1046,1132,1282,1344,1314,924,661,439,333,277,307,346,458,534,452,693,720,710,968,1214,1284,1372,1062,1126,1234,597,548,552,349,376,363,367,337,276,323,465,529,847,944,708,774,1015,951,979,1494,1686,1364,1428,1538,1534,1412,1338,1212,869,473,429,444,298,364,478,561,1004,1002,626,719,957,514,573,965,1046,1164,1250,969,1122,1132,718,468,791,1036,1009,1144,1198,1132,1234,1058,957,952,1052,1062,1068,1124,792,433,549,807,838,727,626,817,1100,1134,1292,1312,1180,1078,1238,1278,1234,1166,1096,804,437,399,429,371,301,323,368,353,355,349,331,327,349,359,430,489,373,389,453,491,601,775,869,850,666,445,466,460,359,368,527,561,333,330,330,335,383,414,429,362,346,343,290,290,310,293,346,366,458,547,589,573,617,596,681,720,499,464,449,443,444,444,356,334,336,313,302,302,309,321,339,328,354,623,498,391,354,341,341,349,437,515,444,359,343,321,297,320,303,310,305,325,353,307,283,292,302,305,305,290,292,296,305,314,295,284,290,304,316,330,346,338,366,366,366,702,1240,1258,757,733,796,604,446,389,401,501,723,1078,1362,1890,1122,785,2030,1994,1110,731,592,623,945,1282,1520,1622,1654,1538,1268,1528,1724,2194,2092,1422,1422,1664,1186,755,899,1224,1326,889,680,955,1208,1786,1854,1726,1742,1776,1586,1358,1454,1454,880,523,420,484,666,668,787,1092,1058,563,392,708,954,940,988,885,884,1558,1718,850,859,902,1182,1420,1302,1126,1064,1172,1340,1272,925,702,521,388,363,409,440,448,572,714,683,518,413,398,341,394,474,687,935,689,552,518,368,649,820,583,466,422,422,462,459,373,356,351,657,692,512,965,1122,1266,1736,1246,1262,1100,1090,1128,1021,1324,1578,1346,1013,742,505,375,337,332,567,1024,1014,988,1015,968,648,609,560,792,844,614,727,1014,881,675,557,594,540,436,363,321,555,582,348,302,390,498,733,931,526,548,802,995,616,309,212,222,307,449,437,384,380,371,368,356,342,433,440,388,351,326,379,405,349,314,422,728,1062,935,667,394,692,1056,846,1007,1152,1272,1478,996,397,348,389,642,628,664,843,1056,1390,1310,1282,1134,867,977,1388,1726,1256,625,462,336,647,1346,1834,1532,1196,1100,996,828,720,583,618,662,755,724,1174,1568,1194,803,558,664,752,683,553,468,358,393,384,334,296,251,286,284,323,332,659,1094,1132,1072,1156,1060,1060,1192,1450,948,755,714,595,694,752,700,411,227,384,612,597,466,410,405,436,468,505,425,404,460,367,346,471,447,393,422,429,482,427,459,666,627,639,702,576,600,493,491,516,675,784,642,650,496,653,672,619,480,279,266,283,255,453,567,678,686,962,1172,1013,833,633,808,1052,1082,1224,1190,1064,857,921,1088,842,672,710,872,1482,1370,652,625,469,272,255,224,536,1322,778,440,398,507,540,451,638,948,962,1208,1130,1054,954,677,505,528,563,980,1030,765,687,636,804,1042,766,389,517,665,604,750,818,713,625,978,1386,1278,841,542,509,684,952,999,816,761,515,427,589,777,776,556,386,554,933,1192,968,416,216,230,298,373,328,276,304,327,577,902,987,1162,1007,781,618,727,897,974,809,553,515,461,609,757,650,655,808,741,709,761,820,670,568,385,252,303,311,362,459,623,683,698,1004,724,367,416,743,1024,1228,1068,580,444,330,285,348,367,666,937,821,760,717,832,872,744,837,997,981,887,579,525,584,408,411,443,413,705,1178,1086,1026,1302,1444,1126,857,524,688,1284,1208,1298,1084,1016,1222,1296,1350,1588,1656,1528,1350,1320,1322,1396,1504,1568,1466,1334,1318,1308,1224,1306,1318,1400,1552,1256,1230,1082,1068,851,610,704,745,688,656,566,914,1338,809,643,586,612,702,901,1234,1120,1007,1388,1432,1238,1232,1448,1296,871,738,748,536,849,893,1292,1542,1302,1224],[350,371,369,388,303,237,216,313,568,462,457,408,349,399,403,401,347,279,250,222,280,391,493,728,579,520,444,477,504,536,434,297,283,301,300,298,295,301,295,323,453,524,386,416,428,325,278,283,265,266,303,390,429,488,408,315,356,529,484,434,601,640,432,300,303,367,434,780,1092,849,587,460,518,604,584,426,456,558,809,1428,1704,1792,1730,861,365,261,301,588,643,923,1366,1180,1056,714,740,819,785,822,888,637,507,571,517,446,379,362,438,705,797,1018,805,653,517,593,891,1096,1466,1206,751,612,783,1936,2272,1536,1196,903,555,566,899,864,767,678,621,575,419,352,336,336,321,329,328,343,342,339,324,376,361,297,297,293,285,324,351,596,630,555,753,949,1274,1448,1470,1244,1019,991,1064,1170,1076,593,535,770,940,1226,1140,1030,1366,1338,984,912,880,959,1058,1242,1412,1450,1130,1050,893,961,1362,1638,1726,1806,1790,1736,1308,824,448,498,572,1152,1326,1168,952,718,572,422,394,468,486,438,453,504,767,747,565,773,691,480,780,1012,975,976,1026,802,888,1304,1460,1218,1792,1720,1552,1460,1632,1498,879,672,1136,964,1172,1304,1438,1360,1366,1082,715,636,544,652,1034,1324,1110,1294,1466,1100,719,596,924,1170,988,720,680,1074,1196,823,719,669,507,942,1352,744,897,1162,808,505,391,411,398,463,716,886,885,948,976,1038,1146,1120,689,453,432,412,492,594,599,683,814,742,433,363,487,490,400,404,827,1542,2194,1688,843,996,1070,1514,1628,1538,1424,1182,912,1066,1360,1023,599,499,370,392,394,476,888,1562,1990,1746,813,493,446,633,1298,1300,1152,1208,654,565,564,591,679,1302,1566,1574,1826,1826,1236,800,702,871,967,777,691,603,707,757,811,849,688,863,1086,1454,1774,1170,727,861,993,913,1422,1544,1348,1404,1362,1282,1576,1634,1232,1392,1720,1484,1194,1310,1134,1058,1144,1086,1184,1326,2114,2044,910,1146,1258,810,1104,1030,1094,965,628,539,483,391,458,593,723,710,690,476,595,966,1116,1038,664,430,998,1442,1680,1664,1456,1584,1440,1196,1126,1670,1654,1404,1296,1112,1138,1246,1312,1222,1120,965,872,1260,1438,1330,1270,1082,693,531,378,297,262,235,408,580,458,445,373,352,378,379,366,482,511,525,778,1130,1324,1416,1304,1128,1152,1348,1376,1046,1332,1314,1462,1434,1282,882,822,1052,1080,846,1058,959,653,585,567,737,624,698,642,451,455,542,926,1722,1616,1350,1352,1330,1050,1048,1128,1038,1230,1370,956,631,941,1048,648,650,1015,1294,1032,587,895,1382,1600,1220,571,527,752,544,396,330,288,277,309,417,575,1104,1278,1512,1498,1108,816,591,601,469,433,375,349,337,384,408,680,1044,1188,1132,1084,1158,1574,1606,1204,1070,1226,924,691,753,998,907,644,667,631,494,618,576,518,549,495,488,441,424,380,338,413,468,398,408,675,600,291,290,317,342,294,290,303,298,329,295,471,730,663,758,663,463,380,623,1122,1068,962,589,324,392,427,445,616,769,683,1074,1214,1116,987,828,677,642,1082,1286,946,883,1134,1138,708,534,734,921,1330,1074,630,653,1164,1354,1268,846,629,607,619,847,1332,1190,893,803,648,543,624,638,525,542,675,792,666,477,360,336,314,326,305,294,331,370,389,402,374,354,374,382,339,297,304,292,313,288,266,269,273,271,306,351,324,305,330,360,332,324,330,310,293,480,656,603,499,460,396,413,685,743,777,2224,2430,1890,1414,1011,567,608,772,983,1116,984,1218,2364,1998,696,431,495,752,850,1022,786,698,847,982,1094,822,460,408,471,659,763,721,858,1014,1038,738,513,565,488,342,396,401,401,785,825,756,1156,1194,639,544,832,543,303,343,366,403,639,1072,999,718,531,593,623,571,521,670,976,911,440,442,419,511,764,969,1244,1338,962,541,326,211,290,415,462,438,375,302,492,752,798,763,597,426,241,224,301,460,815,1296,1498,1074,459,304,354,404,408,394,393,440,657,1110,1756,2266,1616,1406,1528,1310,1236,1314,1114,916,824,666,556,463,342,326,341,287,255,280,362,436,679,762,994,966,986,1522,1182,1044,905,1060,1506,1180,935,1060,1164,1312,1298,1382,1382,707,738,962,884,957,1152,898,979,1064,1048,943,969,1019,891,687,596,733,856,1142,1168,752,423,333,341,331,342,406,931,1504,1084,519,634,765,859,1276,1564,1326,1426,1548,1232,1198,1046,607,425,401,457,617,822,839,882,1304,1400,1322,1038,803,953,639,520,562,953,1096,1066,1266,1012,816,844,578,724,1042,766,810,1086,1202,1344,1394,1292,1370,1348,1186,1050,1116,837,504,454,287,300,317,399,578,758,987,661,710,1008,1240,1234,947,1022,1598,1218,599,899,978,569,430,352,318,335,328,307,310,387,588,775,624,605,765,816,1020,1614,1520,1378,1226,1392,1600,1456,1312,1026,568,388,436,630,513,500,378,583,666,454,360,703,952,1064,1500,1500,1454,1246,1230,1302,1532,1318,1005,717,814,1060,1002,1032,1190,1198,1074,810,1056,1186,1412,1562,1392,1330,1182,599,313,446,622,558,803,1142,1472,1468,1160,1148,1236,993,1064,1300,1260,1066,1004,781,604,417,380,377,334,327,331,338,343,312,327,370,426,458,505,483,408,435,487,524,871,1108,924,963,1134,761,526,452,446,330,363,465,394,357,356,341,339,388,391,315,305,345,343,293,280,294,328,361,396,522,594,610,686,688,705,678,503,446,487,448,429,413,357,361,353,309,303,319,337,346,352,354,325,747,636,415,372,342,323,345,427,499,529,438,356,315,293,305,306,327,313,351,358,303,309,350,370,412,414,331,286,277,302,292,274,258,275,309,296,285,318,345,363,337,314,486,599,658,393,385,593,722,654,507,550,944,1122,1372,1880,2514,1352,743,1708,1794,1001,680,612,567,720,1364,1544,1604,1620,1676,1542,1692,1772,2056,2378,2026,1582,1556,902,868,1214,1538,1312,982,1194,1622,1826,1820,1594,1656,1878,1714,1424,971,1028,858,524,464,518,494,440,450,475,667,617,377,451,851,1272,979,651,616,1064,1318,1294,835,1090,1004,1088,1188,1036,1156,1078,951,987,1032,1030,962,705,439,362,469,589,594,625,674,650,532,422,411,405,589,998,1396,1472,961,567,472,462,641,794,735,540,455,423,360,362,345,476,666,940,965,730,944,1158,1272,1604,1154,1378,1432,1816,1760,1328,1230,1362,1024,726,799,604,634,455,448,777,1044,1470,1334,1808,1594,703,620,680,846,1072,957,1066,920,554,422,553,509,454,382,312,260,365,425,447,485,387,437,601,702,519,364,357,478,446,329,246,234,360,546,418,369,379,363,354,360,392,391,376,391,391,379,383,401,360,322,408,445,545,391,374,326,473,469,770,1158,1206,1272,1098,767,413,501,543,563,385,405,692,1013,1152,1011,1062,996,538,612,863,772,477,347,425,374,610,1300,1306,1020,1252,1460,1396,1262,1278,877,902,800,721,681,980,838,767,924,1010,1018,910,574,344,305,309,431,363,281,303,282,289,251,239,277,620,1230,1326,1002,765,788,961,1040,1196,994,942,747,576,631,712,684,568,415,413,438,536,526,480,392,337,366,523,561,526,440,394,558,815,615,424,362,411,519,539,421,571,1086,1666,1146,526,610,545,637,590,563,513,484,402,325,389,453,453,371,297,308,284,221,379,524,631,621,904,1134,1080,1007,962,1104,1230,972,809,1072,1410,901,702,1050,1044,855,648,592,1042,1050,658,677,474,320,275,232,414,870,791,801,761,642,747,929,1026,1292,1316,1320,1286,1242,878,569,520,590,839,924,573,426,541,855,845,657,598,367,282,452,624,771,990,1086,832,720,874,802,664,841,780,886,863,667,568,699,688,490,586,852,890,637,412,448,1066,1434,917,406,264,267,291,334,314,300,327,675,1374,1726,1156,1282,1034,792,501,794,1044,1110,926,688,587,436,439,635,1076,1154,993,742,699,666,553,526,704,481,271,254,442,855,555,416,698,703,543,358,383,810,1202,1034,1050,1094,717,444,363,327,539,639,1050,1256,1062,830,620,601,590,724,1009,921,1170,1074,805,1112,1094,724,436,447,433,588,952,962,732,688,1064,1098,1304,752,593,1018,1396,1394,1166,1200,1504,1544,1602,1672,1544,1320,1262,1322,1330,1346,1462,1442,1418,1392,1328,1310,1274,1312,1010,1166,1060,955,995,895,1032,810,473,464,686,1214,993,813,764,775,659,783,974,933,891,1188,1406,1198,1082,1078,970,1078,1306,1418,1368,1244,913,647,636,821,736,1096,1918,1838,1278],[396,317,310,355,271,232,205,243,313,342,403,426,384,396,428,390,313,264,232,228,242,361,400,431,471,535,396,361,463,503,418,296,285,288,305,321,340,359,363,328,371,438,370,344,364,285,258,259,281,338,423,509,559,467,431,349,330,448,485,400,457,458,344,260,263,392,393,476,761,786,556,454,506,678,670,519,445,450,670,1416,1754,1704,1302,648,328,279,287,666,697,761,1362,1036,941,581,780,809,724,835,897,752,637,547,477,477,443,448,688,854,695,1158,1382,981,557,382,538,1300,1744,1058,720,805,858,2002,2372,2002,1810,1446,819,569,791,1068,1202,974,826,613,375,322,334,326,345,335,339,353,355,344,341,374,339,310,343,387,343,388,386,750,845,716,827,902,1074,1366,1256,803,760,813,1312,1378,1192,685,527,733,1094,1280,1360,1444,1316,1174,952,930,1042,990,1166,1432,1618,1404,988,609,444,495,874,1494,1626,1526,1216,1312,1336,832,568,513,648,1386,1880,1542,1034,966,883,807,741,562,536,502,496,488,699,841,918,919,607,627,954,820,1140,1016,1023,865,606,1326,1386,1023,1294,1476,1272,1034,1376,1272,774,655,1150,936,1320,1396,1584,1474,1260,838,745,802,696,838,946,763,888,1512,1238,1248,1208,1100,1582,1636,1050,1086,1054,747,972,958,933,627,621,878,910,626,828,988,1015,835,552,398,422,554,848,922,964,948,980,1046,1134,1030,824,652,473,489,419,455,877,1136,1322,1242,638,395,463,453,361,582,946,1530,2556,2204,1670,1296,1248,1384,1088,1328,1654,1470,1218,1244,1326,733,393,396,379,321,324,399,558,847,1272,1038,590,476,496,594,680,548,494,492,502,635,810,880,1080,1348,1582,1686,1620,1166,874,932,1198,1122,1008,999,1010,1036,944,879,818,858,955,1060,1224,1534,1444,856,690,727,1064,986,1108,1374,1402,1396,1490,1734,1830,1492,1438,1690,1516,1272,1170,1148,754,777,935,1118,1382,1592,1858,1310,670,1010,1104,977,983,1078,1168,750,582,792,655,421,474,573,560,450,517,526,490,570,736,943,841,646,860,1466,2316,2136,1570,1416,649,522,791,1072,1162,1542,1674,1598,1510,1224,1124,1130,1206,1228,929,1084,1434,1508,1160,719,618,586,636,651,266,263,362,462,367,364,390,378,346,317,292,328,375,387,437,796,1282,1308,1352,1072,796,1300,1306,1258,1290,1328,1080,694,666,941,1192,1196,1314,1094,1028,693,752,599,374,501,670,759,583,410,544,603,459,767,1160,993,1200,1338,1130,991,913,1038,1146,1015,921,969,1124,1482,1130,851,1034,1046,888,584,709,1118,1394,977,774,1034,1098,990,764,619,411,342,367,530,541,666,961,1320,1318,974,540,415,462,423,405,372,365,375,377,540,959,1334,1356,1038,900,1021,1632,1368,949,854,1030,1096,894,810,860,660,602,585,630,535,502,562,505,538,527,437,382,410,429,444,440,392,391,540,778,631,336,273,249,243,215,248,301,322,250,224,315,471,565,1004,571,368,329,572,749,965,1234,889,463,332,380,513,827,1224,877,1110,1128,904,1042,1009,788,838,977,890,1013,962,1288,1506,763,447,746,736,1134,1462,1070,913,1316,1544,1448,780,588,704,985,957,1432,926,546,802,902,855,819,659,551,540,570,718,700,616,463,357,351,357,299,312,383,391,401,386,368,349,375,351,323,293,272,258,290,280,264,263,272,286,311,336,309,311,327,327,314,325,313,325,474,622,613,583,536,437,377,401,619,749,1978,3042,2386,1778,1436,1106,694,506,717,844,915,1526,1754,2692,1654,548,522,593,741,1082,1086,607,583,669,1021,1266,963,532,495,505,705,678,1146,1554,1088,804,725,595,708,804,661,520,429,548,696,795,849,1126,1340,969,763,947,567,343,360,379,393,525,846,1090,1220,937,818,871,711,577,640,612,593,459,475,515,818,1204,1512,1692,1548,982,425,280,271,303,380,459,481,344,276,559,597,639,775,577,236,224,236,327,583,914,1334,1406,1004,491,314,310,281,361,453,374,418,689,1026,1076,1170,934,1356,1230,1034,1248,1310,1098,1246,1494,1011,446,324,356,430,400,298,231,310,468,498,419,734,1476,1450,794,1108,1010,1002,993,1304,1308,1166,1240,1514,1376,1222,1230,1310,1434,1318,966,559,813,1038,779,588,772,1058,1220,1092,1174,1150,1074,1052,753,569,689,937,857,514,325,336,289,410,537,380,495,861,838,594,777,854,724,904,1166,1320,1238,968,976,902,1026,797,425,362,453,688,763,1066,1262,1288,1516,1678,717,610,796,640,607,574,783,1100,1146,1026,866,835,781,754,585,671,574,948,947,805,1104,1400,1416,1384,1390,1200,1272,1344,1080,637,444,319,319,550,839,1024,1030,1070,963,923,1190,1476,1400,928,1438,1580,587,504,877,1100,783,465,365,355,367,338,304,353,483,677,728,930,1328,1023,670,760,945,1170,1106,1036,1472,1664,1494,1326,995,632,452,509,809,707,528,404,380,302,249,271,430,907,1356,1426,1230,1088,817,1152,1366,1198,1148,1090,839,783,1056,1180,1050,1164,843,482,527,921,1252,1584,1438,922,1040,1166,621,510,465,394,452,701,1134,1312,1168,937,940,1194,1490,1500,1206,1290,1248,1366,1122,899,587,386,339,325,314,324,348,312,274,288,369,474,551,547,497,482,459,428,672,1224,1516,1220,1066,1094,521,470,428,511,555,393,339,365,362,345,327,313,340,339,293,324,423,450,366,282,281,313,398,424,404,466,521,631,681,604,522,459,409,443,462,448,423,375,358,336,323,327,327,331,345,347,319,327,623,513,367,354,321,312,331,353,444,582,512,376,332,305,300,305,318,331,356,346,335,369,402,402,391,354,339,337,319,307,291,265,261,278,289,293,288,295,317,322,309,292,314,347,327,311,311,328,440,673,703,626,761,1298,1786,1592,1274,971,797,1120,1140,842,638,575,498,680,1728,1776,1676,1538,1492,1576,1670,1758,1776,1898,1716,1424,1444,1346,1126,1182,1578,1430,1228,1362,1838,2032,1854,1654,1734,1422,1268,1252,1020,990,702,428,572,808,720,546,373,366,606,838,479,496,1015,1302,813,669,860,905,932,754,909,944,612,894,821,766,1068,1010,1068,950,1208,1176,969,760,562,422,458,511,507,564,630,630,447,419,444,447,900,1588,1614,1166,749,512,502,548,932,955,745,572,466,452,413,376,377,698,974,1046,1058,777,729,839,825,1066,1050,1266,1390,1272,1080,1088,1340,1602,1296,614,634,648,1068,681,521,910,980,1360,1078,1418,1454,662,679,675,798,1198,979,1144,777,450,382,668,606,437,425,393,388,383,408,571,617,513,410,375,418,516,434,352,366,409,363,277,307,304,347,371,387,370,333,317,315,286,272,337,389,421,361,314,303,287,289,343,362,283,292,351,296,419,778,1170,1102,1076,877,973,811,538,871,1152,1082,700,404,445,705,947,1074,1360,1114,645,857,1074,857,570,379,448,670,1009,1456,1370,881,903,1090,1246,1190,1098,1060,1184,1044,1208,1158,783,708,906,955,631,688,881,750,498,313,308,375,343,299,318,355,314,286,329,343,683,1216,1306,976,745,839,735,488,681,771,598,563,582,711,634,608,940,649,673,778,722,830,821,534,429,445,493,473,556,520,486,663,771,690,486,347,542,777,814,794,676,1212,2106,1018,730,728,565,558,499,456,449,448,418,442,576,658,439,379,428,444,327,273,311,446,521,483,672,932,1023,1017,976,1050,844,861,735,818,1050,789,549,927,1216,954,602,457,539,627,631,538,405,303,272,250,284,404,808,1160,827,832,1626,1670,1318,1150,1090,1108,1496,1238,808,597,551,855,1300,1362,634,422,505,1028,901,586,483,415,425,695,1007,1068,1070,1060,820,412,393,407,528,676,662,546,411,430,445,612,661,458,659,890,774,488,386,481,772,731,533,339,291,283,297,345,360,400,575,988,1276,1266,987,962,675,636,638,531,608,863,1086,835,419,347,400,818,1009,1028,977,833,586,421,439,594,694,399,294,274,575,1012,894,502,324,556,710,665,578,707,771,743,960,1160,949,566,361,389,993,1350,1260,1332,1268,1021,751,747,686,920,1080,958,1038,997,1020,1096,1110,758,408,444,525,546,677,1070,875,629,770,843,763,514,413,738,1238,1390,1298,1248,1594,1794,1656,1336,1272,1286,1534,1548,1164,1172,1200,1062,1266,1272,1296,1126,1046,980,668,995,855,912,1026,857,946,724,513,516,986,1356,1064,1278,899,786,669,693,1070,1402,1318,1272,1234,1328,933,818,832,1102,990,1126,1238,1210,1220,907,874,1046,666,750,1398,1202,642],[347,272,228,297,320,294,229,245,257,303,368,390,403,454,412,328,276,239,229,217,234,321,401,468,509,457,333,323,406,510,449,292,293,301,311,316,343,361,410,366,345,395,410,442,464,358,347,341,295,339,398,505,588,782,723,451,395,419,478,408,386,415,376,391,308,391,475,481,809,915,619,595,690,747,594,583,682,566,615,1001,1512,1722,1104,429,298,338,386,505,483,645,1396,1464,1604,968,1009,1176,1030,901,1122,1370,1324,1250,946,1250,928,574,1074,969,821,979,1242,1436,927,346,488,924,1192,1042,760,974,919,1426,1450,1234,1116,1024,805,637,678,984,1472,1396,1104,802,521,449,378,307,328,329,329,359,361,361,318,312,319,341,354,387,374,442,386,695,951,799,842,932,1192,1422,1444,1052,941,906,1272,1306,1296,1142,1156,1332,1310,1284,1398,1382,933,741,602,905,1260,1234,1288,1442,1338,988,668,512,416,377,555,1206,1476,1248,1278,1390,1182,669,450,496,853,1764,2152,1516,972,849,738,886,946,628,493,418,394,447,888,1470,1712,1534,808,1007,1012,608,813,770,822,601,507,1310,1262,578,770,1362,973,501,601,684,570,655,827,838,820,789,1094,1314,941,482,584,728,1096,1018,643,610,1164,1886,1494,1094,1220,1432,1730,1396,868,1062,966,942,752,750,1058,886,625,480,421,626,1018,1202,1326,1088,611,443,451,602,871,955,904,893,938,1012,1048,1020,1004,778,552,609,514,522,1010,1286,1828,1460,744,410,375,468,769,905,1048,2088,2514,2140,2054,2116,1908,1468,1072,1366,1654,1922,1928,1088,865,933,702,559,463,386,386,383,414,504,559,477,486,501,486,453,551,525,453,370,347,400,497,848,1324,1694,2080,2094,1580,872,1048,992,793,744,596,630,722,560,469,583,584,595,596,741,1144,1394,1182,896,966,1048,1136,1064,930,1224,1652,1946,2118,2088,1874,1688,1772,1578,1334,1392,1250,1012,843,867,1088,1468,1686,1566,1460,1234,1300,1174,1160,1126,828,1168,1206,711,570,601,662,505,597,580,508,514,595,654,542,486,429,705,984,915,822,911,1404,1236,792,443,375,832,1094,912,822,1234,1404,1624,1510,1042,630,876,1432,1298,776,824,1280,1378,1060,644,472,478,745,843,375,343,307,316,279,258,302,345,400,388,282,270,344,410,440,1011,1476,1434,1086,1878,1300,937,1170,1328,1144,1016,576,483,575,918,1332,1306,1274,1114,1050,1182,1310,731,441,619,818,762,566,492,620,966,813,625,871,1058,1302,1358,1364,1106,969,822,917,831,1084,1440,1156,1120,1156,1088,969,887,785,747,932,916,1114,653,896,1384,1550,1252,925,762,543,578,640,556,629,812,916,1348,1282,806,508,517,463,398,379,366,390,415,590,854,1056,1356,1356,1092,1166,1286,1344,879,770,982,1086,1228,1108,810,879,933,1224,725,573,523,562,486,446,480,471,520,572,408,462,497,521,459,460,646,689,584,491,395,309,257,253,238,309,441,289,248,318,465,818,1116,559,318,386,494,560,784,962,724,460,401,542,631,665,1104,1124,1040,1156,1190,1088,788,807,1080,1204,927,995,736,944,1040,531,480,916,838,921,1324,1184,772,948,1318,1246,825,518,830,1070,901,888,741,542,526,859,1174,802,608,506,543,580,597,651,508,367,322,332,346,293,310,354,345,378,368,382,370,374,377,351,309,291,285,288,290,262,254,286,307,318,327,337,323,306,314,295,286,321,493,729,801,624,469,675,549,466,480,563,1350,2718,2502,1790,1544,1364,1286,911,633,651,581,713,2208,2132,2576,1808,669,634,740,907,1456,1668,1172,645,561,954,1226,786,412,351,280,330,461,772,859,772,650,805,683,614,1082,1056,706,671,780,897,985,984,1048,1212,1186,729,543,372,333,344,401,894,1228,1130,1236,1412,1516,1682,952,722,857,984,946,629,796,778,527,849,1246,1438,1636,1440,877,421,367,361,296,342,430,483,370,316,569,558,578,917,769,399,306,294,332,657,1624,1636,792,442,354,275,308,387,518,548,376,428,694,977,894,675,581,703,809,1088,1402,1304,1054,1450,1708,992,520,545,493,422,406,369,316,285,373,418,358,658,805,689,571,582,485,639,858,975,1011,996,1244,1670,1470,1202,1042,1212,1252,1324,822,597,704,925,908,633,493,930,1360,1134,929,951,1060,1021,847,712,711,669,511,350,321,384,396,380,365,382,418,461,450,466,619,573,561,764,1004,1278,1388,1160,1170,1023,1230,912,466,341,373,662,919,1050,1368,1336,1246,1436,713,533,513,530,705,849,1070,1306,1334,1218,1118,929,955,799,541,688,637,488,387,456,832,1128,1272,1432,1318,1098,1206,1210,1304,1042,535,394,681,1054,1034,851,885,1070,1096,1186,1330,1266,1390,1204,1092,647,495,509,487,579,501,412,373,411,394,391,457,535,583,929,713,865,1848,1782,1160,999,1160,969,803,980,1492,1544,1422,1114,899,567,374,459,545,667,777,519,351,260,231,290,308,689,1068,1042,960,1042,913,921,901,791,990,1156,890,811,1028,1238,1242,1312,799,422,405,621,799,724,635,451,559,738,876,872,578,507,481,365,613,865,1010,1050,875,1174,1678,1376,969,966,917,1154,1066,962,800,565,382,378,310,327,332,304,300,259,327,480,525,451,375,406,419,415,548,857,1252,967,792,969,579,561,457,497,540,399,347,376,385,350,329,310,327,346,338,383,423,390,319,281,281,295,326,344,344,380,384,452,556,545,482,445,464,486,465,471,449,381,357,323,328,357,340,333,296,275,327,475,474,346,335,319,337,354,384,435,460,488,542,472,403,398,388,348,321,326,337,317,313,337,382,408,399,378,370,387,367,338,312,289,280,306,283,278,280,299,281,295,295,292,310,325,312,319,339,351,354,354,477,604,919,1632,1784,1242,1410,1384,888,982,1072,1034,738,586,480,529,833,1352,1654,1594,1400,1408,1514,1616,1624,1664,1312,1194,1256,1134,1304,1412,1512,1472,1478,1578,1736,1814,1726,1718,1592,1052,1558,1464,1354,1362,905,647,888,1066,920,851,469,401,639,1090,749,573,735,678,521,1202,1538,988,822,802,908,681,861,1180,1130,1526,1302,1126,1204,1118,1218,1108,774,681,567,419,360,435,478,545,639,663,509,453,455,430,708,1086,1015,747,551,451,572,735,1208,913,634,560,486,444,389,408,543,742,838,920,838,406,360,509,708,1094,1148,1005,1023,969,691,626,604,802,729,506,562,778,751,488,603,794,653,776,651,714,815,728,652,598,714,1014,987,999,675,399,760,1188,752,463,475,547,379,352,496,670,1038,861,513,330,571,710,482,344,401,540,616,463,346,346,377,371,372,375,331,280,250,174,212,334,391,413,369,321,305,394,406,422,401,343,518,515,312,529,1094,1358,1140,1622,1154,705,760,786,781,838,818,752,480,420,450,744,953,1174,1042,907,1015,1050,911,562,395,655,918,1042,1278,1508,1042,572,738,1226,1366,1074,1448,1360,1003,1164,814,720,1140,674,466,486,589,553,623,746,527,307,316,365,330,350,427,420,441,378,421,506,763,746,578,496,837,888,503,655,919,800,745,746,1260,799,674,799,504,669,951,958,1024,831,589,619,511,471,412,487,504,569,769,659,604,585,593,968,1100,954,987,769,910,1340,1018,1122,713,442,459,441,372,364,406,388,402,458,469,353,363,471,523,391,285,288,443,544,588,783,959,884,703,532,873,812,921,1036,743,544,512,429,782,1072,789,515,488,445,513,590,512,407,321,269,231,237,361,789,943,799,780,1290,1140,944,733,767,940,951,1078,1148,977,952,1394,1804,1936,976,536,720,1152,1102,781,597,654,619,558,778,1018,894,796,725,639,399,409,539,744,1040,946,556,641,548,419,389,346,531,673,519,427,394,479,572,525,377,291,286,291,334,379,458,763,1000,1054,874,1017,999,772,738,869,918,841,744,906,662,835,584,787,1316,1600,1142,739,828,1014,865,518,579,583,700,491,315,261,661,979,872,474,267,261,420,769,823,850,1226,1021,916,827,762,576,389,416,1018,1356,1144,1214,1150,1274,1104,1100,971,1266,1262,1192,1108,855,777,1170,1216,473,370,430,634,614,647,943,881,871,959,709,689,749,490,597,914,1230,1376,1434,1520,1536,1506,1428,1496,1524,1620,1572,1130,1184,1178,699,733,955,1226,1212,1220,941,747,869,757,936,1152,947,691,593,444,372,837,1072,1480,1620,1050,1054,1104,702,739,1098,963,1192,1018,875,732,1036,1136,1284,1338,1422,1188,1088,1210,946,1028,1023,790,750,813,953,625],[395,384,311,368,386,319,240,227,268,327,379,433,521,484,470,532,346,203,217,228,261,306,359,493,563,417,303,318,416,418,384,309,313,336,345,361,390,393,380,375,391,401,393,467,531,423,416,392,343,387,444,509,584,622,669,633,435,375,413,491,456,456,402,372,314,325,431,526,770,847,556,619,786,881,661,677,1088,1246,1022,1384,2032,1672,939,471,359,400,547,838,1050,1050,1628,1484,1468,1134,977,1212,905,860,1610,1684,1624,1926,1566,1920,1218,686,1454,1438,1130,962,1106,1570,833,467,445,733,1224,963,600,574,597,584,573,604,583,637,805,798,874,914,1462,1462,1260,974,784,724,490,318,424,435,357,355,359,376,353,338,351,384,404,369,355,384,411,979,1422,1090,1054,1084,1254,1034,1190,1444,1434,1244,1206,1240,1292,1376,1254,1001,1284,1386,1416,1272,781,533,459,845,1420,1464,1198,1124,1234,883,615,539,413,352,376,850,1406,1518,1612,1602,1368,915,487,565,863,976,1058,970,972,559,312,332,512,455,393,415,442,458,876,1330,1664,1690,1128,1190,785,629,522,661,648,355,516,1070,960,525,1002,1896,882,718,767,599,442,732,1170,1180,900,810,1142,1242,962,883,520,480,785,670,687,1064,1504,1992,1748,1100,948,1288,1660,1414,1120,1002,1004,1140,904,952,1210,1076,678,487,495,540,697,814,772,772,615,421,442,662,807,916,903,828,789,861,911,866,1058,715,655,630,543,615,642,647,711,708,667,550,381,493,1084,1450,1688,2480,2642,2302,2172,2154,1878,1562,1268,1296,1466,2106,2144,921,720,1556,1510,1270,1052,652,430,421,436,593,813,906,507,429,478,473,553,652,547,369,363,384,327,415,554,1026,1532,1594,1520,852,744,556,484,585,678,578,411,462,466,438,357,365,404,489,767,987,887,631,804,822,688,763,1112,1686,1810,1938,1804,1860,1794,1822,1756,1392,1422,1462,1310,1062,1042,1250,1572,1622,1428,1300,1556,1260,1074,1094,1256,1356,1238,1168,1030,899,702,627,971,866,730,620,608,683,914,916,908,1012,876,850,653,642,798,774,775,998,669,390,534,822,763,725,1016,1036,1212,1702,1922,1672,1396,1512,1406,957,591,943,1324,1286,1138,612,460,526,577,537,276,317,307,281,252,234,250,318,437,487,314,308,331,419,535,799,1166,1208,1160,1532,1036,595,988,1170,1192,1120,633,692,789,1036,1148,1166,1250,1086,1036,1466,1456,967,760,672,690,625,626,747,842,1274,1310,1234,1052,1248,1324,1186,1068,1064,1192,930,734,890,1122,1406,1494,1484,1456,1380,1206,1005,844,926,1274,1162,1162,520,594,825,893,1016,917,827,1268,1340,1036,755,1128,1256,722,883,929,688,596,705,616,487,420,417,380,488,877,1112,1230,1210,1392,1284,1322,1394,1372,1262,1362,1220,1296,1140,1220,1316,1038,1010,1150,733,569,626,735,692,591,529,548,990,891,527,430,403,463,492,380,552,711,636,588,636,561,320,292,262,267,395,325,367,385,428,868,1001,581,389,403,440,424,455,490,387,379,374,440,501,664,998,904,961,1404,1492,1092,948,1050,1036,806,954,1182,780,509,444,262,541,1052,1007,867,1044,1036,447,565,1204,1396,917,711,1012,1140,998,677,561,532,446,943,1470,885,666,720,666,507,540,572,435,302,326,362,319,287,292,294,309,324,358,431,412,371,390,377,341,329,288,302,299,278,292,331,331,329,356,351,339,337,290,294,355,494,803,886,814,669,532,607,526,458,431,506,1340,2066,1810,1594,1406,1376,1170,846,730,493,421,441,979,1050,1270,1564,1506,968,845,607,971,1962,1858,824,632,891,944,678,428,294,310,308,428,654,962,850,613,681,693,702,1023,999,873,955,983,987,1023,1054,1036,1034,1290,813,597,647,568,494,601,832,875,839,989,1210,1324,1358,913,697,839,1044,1188,720,655,603,538,775,1034,1198,1528,1500,915,474,435,397,302,340,386,421,343,344,559,404,381,656,752,686,310,261,378,707,1172,827,509,390,296,278,405,534,561,483,493,533,753,866,676,454,368,345,444,577,799,813,818,1102,886,578,546,556,446,385,349,378,432,369,310,328,313,423,440,488,597,443,396,534,796,931,859,1038,1306,1316,996,551,415,450,445,642,600,719,728,759,779,566,571,1230,1202,836,861,900,711,758,1248,1284,900,680,407,321,300,318,354,305,278,325,361,350,390,390,389,414,594,1078,1036,1102,1376,819,537,1042,1210,860,499,352,525,991,1228,1116,1228,1096,1144,745,463,414,453,703,923,1038,1118,949,1030,1260,1184,953,547,412,661,948,794,752,760,839,1158,1226,1232,1468,1350,1394,1210,1240,1324,1172,751,791,1062,958,777,874,1158,1162,1150,1320,1498,1172,1274,1490,1080,809,738,511,796,916,562,407,379,363,468,690,713,524,439,680,666,607,741,1096,1406,1330,1354,1126,1174,924,1446,1616,1444,895,671,734,518,361,489,699,681,445,339,237,201,277,340,620,811,744,672,962,1088,858,911,830,954,1134,921,954,1244,1308,1202,1058,652,365,346,503,691,485,369,401,424,432,954,980,715,830,803,576,495,559,717,1144,965,1190,977,966,880,751,769,901,942,932,1074,907,512,401,338,327,347,329,317,295,327,476,557,507,492,396,362,393,536,910,897,625,545,561,436,513,525,607,652,479,387,390,401,353,344,321,327,332,406,394,377,348,299,287,276,301,339,373,395,376,384,394,470,604,673,604,575,579,559,516,486,377,318,306,356,445,403,321,340,483,591,528,383,328,327,360,395,467,569,651,590,506,456,474,486,425,405,419,331,303,306,276,293,324,358,388,394,382,375,365,351,362,321,305,289,291,306,292,305,324,321,326,297,282,300,298,281,290,306,324,296,327,317,343,549,1018,1178,1306,1598,1186,812,985,1126,1100,805,599,479,454,788,988,1192,1634,1904,1708,1392,1380,1526,1422,1268,1368,1260,737,674,1040,1290,1480,1492,1386,1542,1678,1740,1692,1354,1142,2060,1810,1638,1482,1162,1040,847,702,695,628,444,859,1112,1156,843,866,604,381,558,1182,1134,650,683,912,1300,1180,1120,1290,1406,1572,1316,1256,1334,1194,1019,1016,605,510,444,359,347,491,459,496,634,647,536,455,463,509,581,660,552,589,725,683,725,1152,1196,690,503,519,516,497,620,862,904,670,487,444,349,294,284,350,429,702,926,820,764,768,816,940,1512,1890,877,515,520,642,544,474,745,778,830,1266,631,529,636,1098,1062,1074,1023,893,832,722,505,379,987,1616,753,431,427,498,495,536,463,709,1096,1148,664,338,381,370,402,389,495,512,647,573,390,367,395,403,380,386,339,266,234,228,282,317,342,338,313,310,356,342,362,473,430,389,658,664,604,603,877,926,813,1250,1044,777,857,724,593,813,1260,1048,796,418,422,836,1290,1360,1754,1126,621,799,758,437,439,731,870,828,1132,1540,1464,1332,1292,1252,1440,1662,1566,1044,1001,896,649,1048,1316,483,301,364,446,546,531,538,552,473,341,439,404,333,409,454,468,498,550,400,421,519,816,753,636,1096,830,680,1098,1200,1620,1670,1550,926,780,865,650,671,1130,1532,939,697,772,578,509,561,433,465,467,572,990,976,714,661,644,1076,1404,1250,627,716,1012,1100,1032,840,676,631,509,443,378,333,348,357,389,395,321,358,319,214,250,337,317,363,531,731,775,725,570,435,372,419,633,722,941,1028,717,524,445,556,874,976,770,537,470,437,410,433,466,397,351,354,340,310,526,1082,1092,907,650,961,954,611,596,981,1452,1642,1694,1282,1268,1392,1672,1898,1802,1526,1012,775,1136,1360,909,551,661,695,477,488,684,623,692,660,531,367,404,430,576,1300,1390,602,583,653,466,395,442,566,463,359,314,342,446,472,388,316,267,286,342,412,433,735,1178,1196,1005,951,1394,1354,924,910,708,851,1086,825,1166,888,717,654,1134,1542,1310,836,933,1220,1224,1056,952,850,458,604,615,342,256,413,418,263,217,237,243,306,465,908,1170,1318,1072,705,744,823,528,364,403,619,739,1001,1030,948,1494,1404,1286,1208,1354,1530,1576,1284,737,917,1090,1292,518,370,512,680,694,852,1046,991,1064,1000,606,559,670,904,1090,1044,1296,1632,1520,1278,1304,1498,1486,1418,1388,1290,1168,1132,1184,975,724,670,576,732,861,1090,1178,935,1012,695,791,1134,1058,811,802,687,421,485,742,1466,1522,1052,941,1078,735,477,800,936,1300,1240,916,658,963,1242,1344,1284,1182,965,854,644,463,469,842,802,810,813,910,740],[352,400,331,311,339,341,306,279,316,365,370,449,800,866,861,874,491,235,227,235,275,330,389,449,433,357,296,329,336,328,313,298,311,336,356,378,379,355,334,351,442,452,413,488,574,471,389,351,357,426,442,533,585,425,469,444,368,368,487,555,437,306,328,402,402,354,379,519,758,815,711,793,680,700,800,694,945,1064,948,1498,1606,896,702,571,547,469,845,1136,1200,1412,1814,1416,1262,1060,587,526,546,645,1164,1316,1608,1608,1498,1678,1110,657,1160,1230,1044,1110,1524,1410,614,556,547,709,909,666,504,507,494,520,677,855,1066,907,807,797,947,819,1282,1542,1292,934,771,708,454,365,485,448,339,347,349,362,353,328,326,349,354,320,356,380,455,882,950,1180,914,947,1108,1184,1222,1276,1220,1172,1380,1272,1142,1292,1202,987,1420,1508,1564,1396,978,737,597,651,792,847,910,1254,1466,940,753,583,502,524,372,526,1106,1470,1602,1630,1378,1122,802,804,954,725,645,717,671,412,369,445,518,495,418,438,456,527,1216,1478,1154,1158,1212,1022,816,669,783,872,436,347,519,695,765,672,1015,1356,1940,1742,1296,1032,540,663,978,1232,982,665,747,852,753,960,605,422,430,583,952,1086,1114,1450,1750,1078,929,1216,1472,1356,1616,1358,1202,980,810,882,964,947,775,517,467,441,471,476,384,368,548,447,631,835,797,764,831,775,775,840,964,1056,1162,836,832,818,783,848,672,614,857,882,745,754,478,384,517,819,1332,2164,2492,2326,2024,1598,1654,1378,1244,1052,923,1506,1336,683,1172,1896,1386,941,890,713,503,438,390,542,1388,1656,1158,705,439,402,503,670,705,559,432,392,345,351,469,833,890,783,1104,969,755,469,538,1050,1516,1066,380,343,289,312,328,312,311,292,324,661,658,442,572,711,663,524,877,1720,1974,2202,1898,1792,1712,1658,1600,1556,1302,1154,1142,1004,1074,1578,1694,1252,963,1258,1500,1272,1262,1180,1038,1084,1180,1444,1230,818,514,590,802,1090,808,624,753,928,1270,1306,1146,1018,1104,1262,979,992,979,848,974,1194,756,369,787,1144,689,608,879,1058,1338,1960,2074,2360,1770,1470,1514,1188,1050,1198,1416,1428,1172,517,650,881,700,407,291,328,300,272,256,254,263,258,318,444,453,387,387,355,382,698,781,939,1282,1354,1166,868,733,743,877,899,689,871,1021,809,603,929,955,832,1054,1142,1214,971,949,820,672,769,639,860,1180,1160,1184,1242,1280,1494,1520,1210,1238,1444,1222,1018,860,917,938,1322,1382,1340,1548,1522,1454,1572,1452,1194,1108,1246,1015,656,595,436,558,1011,1182,1492,1900,1544,1266,1306,1674,1642,949,832,992,852,750,667,644,669,534,458,433,766,977,896,1234,1332,1424,1372,1324,1384,1290,1056,1234,1234,1474,1100,1012,953,783,765,855,1102,998,733,742,982,846,689,892,1448,1268,725,601,459,399,421,357,482,655,642,716,873,1162,966,474,349,346,265,378,514,507,622,942,1074,1086,988,605,449,401,379,396,429,398,413,443,527,752,979,1178,1276,1338,1246,1021,971,1172,783,326,636,1058,816,501,364,283,603,1132,1140,1008,1086,922,720,715,1230,1410,746,702,1066,1019,647,514,681,878,510,949,1174,741,613,1670,1256,419,470,491,425,375,336,336,280,280,289,312,342,399,438,463,448,401,387,394,382,347,318,294,296,291,301,319,327,313,327,342,365,363,351,491,607,709,871,845,526,431,493,402,386,411,422,1178,3082,2812,1824,1484,1350,1306,930,778,583,404,392,486,883,1005,547,995,1402,1024,642,520,547,1742,1650,830,650,550,588,748,623,328,338,287,250,339,487,528,469,491,639,745,833,900,938,963,1006,1072,1019,929,1256,1240,1376,962,826,1170,1062,786,761,711,753,678,616,623,652,842,1058,958,1338,1484,803,447,556,616,562,672,878,1260,1614,1660,1062,547,450,429,370,383,404,476,429,370,541,377,296,283,918,1036,474,287,363,716,690,372,326,257,350,642,1086,1134,590,359,424,699,898,783,511,375,359,338,327,460,517,481,587,678,590,501,488,445,420,418,393,463,514,466,465,360,337,365,360,499,666,704,734,756,1018,986,866,1140,1248,1190,598,349,451,410,332,357,604,808,616,854,811,765,875,1322,1244,1096,1124,1142,687,814,1544,1482,840,749,415,352,316,297,270,284,309,331,343,313,290,321,361,493,610,749,655,679,1158,1042,710,919,976,689,455,382,565,902,1340,1230,1262,997,758,507,389,577,841,961,1098,964,1072,1138,1272,1290,1394,1136,651,867,968,812,886,1126,1264,1326,1218,943,1050,1354,1198,1576,1398,1222,1212,1302,1438,1320,764,468,589,649,924,1372,1340,1494,1568,1246,1232,1364,1194,1224,1094,883,1074,1214,968,488,482,652,881,1216,1202,797,532,506,637,758,655,824,1060,1194,1118,1358,1148,977,1504,1736,1642,1048,761,976,778,442,528,658,477,437,332,294,330,327,501,768,775,700,635,954,1194,1028,1128,1034,1058,1070,1212,1588,1828,1434,1022,1001,825,588,428,531,738,672,497,398,423,377,677,830,772,969,1030,861,505,345,451,677,766,652,692,980,919,788,871,1064,1222,1094,1114,1068,825,443,384,362,320,291,300,309,361,546,585,493,432,404,402,453,594,781,713,568,476,411,354,396,619,878,735,546,452,457,488,442,386,334,320,310,339,354,367,340,289,285,310,354,392,392,384,388,397,418,426,550,729,666,689,776,702,559,494,382,326,307,343,407,397,478,539,412,300,257,299,361,385,368,383,407,496,644,724,655,637,685,665,561,522,462,341,275,283,281,298,321,341,365,374,355,332,352,334,316,305,289,278,277,286,281,320,315,310,356,307,277,305,301,270,271,301,298,290,302,318,337,405,589,859,1226,1394,1102,935,1044,1252,1242,862,599,514,495,659,1288,2530,2046,1396,2200,1946,1726,1506,1294,1328,1302,1013,639,605,655,681,800,1360,1616,1768,1818,1614,1162,1098,1198,1510,1466,1344,1450,1276,1120,647,699,858,608,554,996,1246,1015,897,1034,645,462,670,932,770,962,920,1114,1366,1104,1032,1178,1284,1240,1166,1068,924,872,641,839,550,592,602,400,348,499,497,549,564,543,527,471,584,624,564,565,532,572,741,752,776,888,705,517,548,668,601,673,821,1118,1020,620,680,464,275,357,312,279,382,556,640,816,936,998,1092,1122,1688,1228,634,564,664,799,658,553,779,1019,1228,1200,717,755,675,1240,1436,1494,1376,968,790,684,534,426,866,1580,728,377,389,350,778,825,500,541,1206,1460,731,405,347,370,519,462,521,471,355,364,399,382,415,452,414,393,345,281,271,316,344,358,328,284,255,268,347,344,268,346,402,290,492,783,905,1056,1104,799,608,646,857,1038,883,879,752,1832,2556,1242,1122,597,516,929,1184,1342,1544,998,575,741,857,485,411,689,952,838,1030,1342,1422,1478,1454,1324,1292,1370,1066,767,1094,1098,882,968,770,427,314,353,387,480,534,478,492,485,446,438,413,395,390,362,542,690,592,477,448,849,1498,1288,999,1318,980,616,931,1068,1498,1736,1458,999,937,1064,1028,1072,1470,1730,1266,954,877,464,370,389,357,454,485,771,1354,1288,1052,1064,1008,1102,1394,1224,704,927,1136,1066,989,983,853,738,448,441,360,323,323,360,543,720,756,565,312,260,310,428,599,753,792,794,583,479,465,530,507,598,766,760,886,836,709,599,850,955,985,1102,840,504,374,403,408,451,499,461,435,422,446,392,560,924,1072,904,705,1030,1180,1052,894,878,1162,1096,1322,1218,1582,1342,1324,1202,1432,1714,1494,1284,1750,1720,1002,555,620,1128,754,365,343,681,761,625,550,542,607,507,447,626,479,573,863,604,519,596,595,518,437,369,345,367,422,433,379,312,241,309,376,396,727,1028,1056,947,777,978,1286,1068,824,694,541,1014,1120,662,921,1142,770,675,1052,1292,1098,974,1310,1106,834,698,871,999,584,426,442,322,274,285,284,249,235,217,283,496,712,894,1058,1198,1046,649,608,635,412,495,790,1024,1015,1166,1214,1062,1348,1422,1476,1844,1694,1770,1788,1682,1018,1056,958,630,369,396,497,644,745,976,1180,988,749,530,462,477,986,1484,1584,1558,1546,1418,1290,1410,1454,1434,1502,1386,1380,1182,1026,1150,1078,708,761,969,642,356,378,519,672,524,561,365,409,825,1084,1080,1260,941,506,391,536,999,1542,1400,827,788,509,410,519,616,999,1360,1338,1046,1013,1084,1288,1562,1782,1432,875,506,442,508,580,573,1013,1478,982,557],[291,352,310,277,315,337,341,326,323,310,323,414,823,766,746,855,510,258,233,230,310,445,422,483,455,353,319,334,309,296,306,339,343,349,338,358,374,375,389,408,435,497,483,478,465,413,408,384,402,449,477,675,752,605,587,460,446,464,617,697,444,389,434,525,566,382,357,658,760,781,1130,1222,1064,961,877,823,857,786,1016,1118,741,612,783,508,530,788,1148,1064,962,1440,1678,1450,952,753,453,402,350,448,836,967,760,673,1120,1472,1042,702,664,748,940,1010,1726,1148,587,564,520,468,451,494,519,496,487,622,813,890,1030,918,758,590,787,765,974,1218,918,739,881,1104,656,406,446,583,422,345,325,334,343,344,347,349,315,320,342,382,427,855,1186,914,516,624,1020,1310,1248,965,842,1458,2330,1556,1334,1276,1420,1488,1340,1406,1472,1160,845,969,1020,603,375,413,890,1264,1122,697,625,774,1182,1090,605,432,828,1354,1406,1346,1526,1082,1100,908,744,744,669,574,407,339,329,390,493,490,382,387,630,742,1544,1784,1096,1012,907,668,651,686,999,887,431,385,439,430,518,553,583,787,1614,1434,1122,908,460,459,802,1170,921,812,727,772,517,511,714,745,666,856,1222,1102,1092,1250,1630,1044,925,1144,1066,974,1296,1266,941,807,789,704,643,651,503,756,694,545,414,416,459,542,538,434,494,930,955,767,742,715,745,835,920,892,991,1302,1456,1390,1498,1372,1266,1116,869,792,825,847,678,538,498,389,1122,1484,1068,1304,1344,995,972,1192,1174,877,1300,1704,1100,1134,1562,1284,725,533,662,614,645,575,475,667,1280,1260,1892,1182,414,386,450,602,716,563,444,401,344,339,486,742,724,709,715,882,905,586,451,907,1218,980,457,371,332,325,383,579,560,411,451,811,1136,979,705,927,764,678,680,1034,1702,2014,1688,1460,1382,1660,1816,1412,1046,1088,1144,1236,996,1444,1308,892,1016,1290,1032,1072,1412,1050,847,1122,1210,1106,1066,725,467,667,894,1015,862,750,747,839,1110,1170,908,767,707,688,619,961,1104,1028,1158,1296,891,458,639,990,825,705,653,976,1038,1616,1920,2410,1730,1164,1218,1250,1474,1598,1506,1562,940,602,828,793,654,470,367,329,282,266,260,271,207,206,304,321,386,364,359,398,453,391,361,705,1060,1136,1284,844,544,514,742,911,647,828,1154,861,703,1012,1180,1248,1054,1036,1298,691,574,690,612,713,858,1050,1118,1160,1138,1050,1434,1366,1174,1252,1156,1332,1178,1246,1332,933,1015,1510,1262,1120,1118,1396,1392,1062,754,957,799,1176,1372,1238,773,308,598,1226,1440,1682,1632,1278,1288,1482,1426,1344,1050,1396,1616,1404,888,858,970,855,634,470,659,1090,1190,1050,1192,1368,1194,1148,1192,1290,1240,790,941,1360,1418,1208,1032,1013,1132,1036,1130,1140,1032,914,781,799,914,983,1382,1418,1014,532,491,381,367,399,360,489,588,498,591,908,1730,1914,1446,980,653,488,669,984,919,871,797,849,1230,1360,1032,607,421,399,385,401,478,705,942,957,695,745,1330,1272,1188,920,916,1094,1052,712,458,339,430,681,945,536,434,803,1214,1262,1166,918,899,985,880,688,427,325,433,759,725,669,921,1122,1158,720,937,722,469,566,861,683,455,505,584,528,501,340,305,293,376,419,418,443,466,485,496,543,512,404,367,397,403,385,327,294,277,295,343,382,368,335,314,316,305,384,604,690,652,680,602,439,446,418,403,433,417,714,2194,4018,2418,1576,1456,1064,828,930,822,738,530,441,724,1390,1644,955,902,784,475,433,578,458,633,681,612,564,422,371,427,487,357,333,281,253,273,304,406,406,408,559,824,963,941,965,1002,1084,1204,1136,1382,2072,1724,1508,1190,629,857,1028,607,476,408,350,282,360,576,1070,1246,1146,924,959,1116,785,420,451,633,490,641,1008,1350,1550,1668,1220,609,437,406,392,410,410,451,415,299,408,369,303,269,1132,1432,705,309,343,457,401,303,292,439,645,1106,2004,1810,800,406,482,855,1206,1066,568,405,386,372,428,636,683,631,507,531,595,478,379,356,413,585,593,576,524,468,437,368,330,332,410,680,838,858,1028,1038,1150,1036,1028,1236,1404,957,413,334,408,419,322,329,631,752,653,946,811,623,777,982,1236,1050,882,1038,698,985,1560,1294,957,797,433,344,290,266,322,477,484,344,363,318,298,319,355,475,582,937,1050,841,1050,1172,1110,1001,930,546,356,407,591,634,698,1062,1516,995,476,436,523,935,954,673,858,935,1292,1510,1015,1294,1434,1356,1314,1218,997,683,841,1190,1346,1280,1054,1144,1326,963,837,1274,1406,1284,1380,1632,1360,915,588,439,530,619,817,1072,1164,1224,902,844,1240,1450,1102,936,910,1040,1174,1358,982,763,698,751,1082,1606,1506,957,571,572,811,1072,1368,1302,1132,965,1386,1872,1368,1160,1462,1710,1710,1438,1326,1300,605,393,380,419,354,499,433,332,356,308,498,694,572,667,838,1042,1312,1060,974,1088,1462,1418,1160,1448,1660,1202,1216,1246,1015,691,437,474,668,793,647,470,529,488,669,841,708,1082,953,684,383,347,348,315,544,747,898,1014,976,767,850,1088,1156,1056,1194,1378,1164,630,407,325,295,278,298,367,469,539,398,422,395,433,525,597,601,675,668,459,362,372,359,416,571,715,550,486,397,437,455,412,361,334,318,322,377,334,388,408,287,290,371,396,385,385,393,410,435,503,503,503,527,532,720,929,768,596,497,373,343,342,357,325,410,705,510,364,293,294,307,395,405,347,333,317,417,669,762,593,544,666,755,732,736,739,486,300,298,308,313,324,338,355,353,318,284,347,346,310,289,289,295,304,298,301,332,341,287,288,266,280,296,292,271,269,292,278,268,289,313,339,375,496,604,744,908,1194,1240,1444,1758,1622,1007,644,520,439,655,1504,2634,1874,3062,2504,2232,1958,1498,1632,1620,1048,742,576,585,663,560,933,1692,1942,1992,1826,994,755,1252,1214,1142,1418,1326,1354,1158,1072,560,949,874,556,650,724,740,729,1188,1498,859,791,1238,958,962,1172,1042,1166,934,737,726,614,703,985,1130,1042,804,834,794,736,597,586,658,681,618,529,989,1396,744,496,507,525,555,539,478,588,543,511,687,714,594,518,533,535,498,456,703,815,879,899,739,646,963,704,455,669,737,658,607,742,995,1250,1232,1396,1232,1102,936,489,377,396,655,1015,1256,864,865,1092,1284,1136,996,1060,904,1270,1272,1180,1428,924,732,946,720,426,537,794,582,424,406,327,578,807,535,422,643,683,519,392,341,425,509,465,639,582,380,370,411,397,387,435,410,392,375,334,342,351,334,351,325,290,266,285,397,412,321,244,285,499,1068,1088,729,1009,1056,825,921,861,1226,1406,1056,968,1144,2464,1848,906,724,492,651,852,768,634,493,496,535,559,810,562,432,559,827,842,794,861,1096,1288,1174,1246,1110,880,714,703,1324,1664,1250,1116,1007,569,364,393,357,468,593,624,505,429,464,420,436,494,420,430,805,985,775,572,890,1328,1654,1506,1314,1140,1300,880,745,605,890,1460,1430,1162,1098,934,980,1232,1516,1360,1030,873,634,354,424,455,426,427,425,453,583,766,883,1168,987,960,1152,996,788,864,964,985,829,988,910,993,634,433,329,382,530,822,1270,1450,1186,795,331,351,399,485,610,565,518,644,738,943,1042,1005,750,787,902,763,972,948,1080,915,1106,1098,901,982,1044,672,357,425,416,446,467,456,447,418,414,440,524,689,722,686,772,974,1166,1130,984,887,937,1096,1334,1174,1236,966,1154,1576,1842,2002,1628,1554,1758,1136,775,849,860,1266,984,434,506,966,894,653,732,809,1084,898,564,680,842,874,1030,695,581,826,709,422,372,361,637,940,572,350,368,286,286,345,354,594,1022,1058,897,577,625,967,1354,1130,675,367,396,507,687,791,855,834,843,859,867,1128,1152,988,873,891,685,469,742,1004,706,331,302,277,260,288,256,258,421,481,404,644,930,952,944,905,812,636,436,553,602,987,1228,1240,969,1009,992,839,1120,1168,1372,1876,1388,1070,836,1020,1102,1096,1074,624,447,485,476,644,644,807,1174,994,587,697,860,735,1076,1406,1484,1470,1274,1144,1282,1436,1720,1710,1676,1214,1034,1264,1174,1270,1316,800,772,1232,921,368,344,370,347,303,268,308,293,643,1138,1276,1284,1150,719,396,378,657,1648,1172,790,631,396,457,457,529,646,848,902,847,1192,1130,1378,1638,1734,1470,1306,1082,967,1000,1042,980,1150,1152,677,437],[328,328,328,320,320,321,317,359,368,551,520,482,764,755,733,773,514,294,239,212,314,605,759,670,550,334,242,203,196,223,308,423,373,357,325,348,379,363,452,499,448,497,493,442,399,367,325,370,629,649,590,828,1030,996,822,536,536,544,903,847,516,542,542,590,502,357,328,497,566,692,1038,1218,1214,1210,1094,1007,974,761,1340,1308,829,508,512,360,332,1210,1856,1256,1140,1210,1070,1308,787,736,686,547,469,718,1288,1088,578,636,953,1344,1202,1054,869,850,698,658,1476,1282,738,477,450,446,457,533,538,461,481,534,630,596,555,581,716,814,1090,1310,1792,1760,1178,1062,1248,1244,811,422,442,534,419,345,327,337,336,336,413,478,383,367,336,312,330,539,695,650,697,894,1028,1064,957,745,1110,1664,2024,1550,1364,1276,1150,1026,1126,1220,1150,1024,915,1008,1106,714,962,644,608,629,568,498,814,1150,1070,778,468,457,691,1112,1446,1748,1606,1400,1240,783,586,705,622,489,466,337,298,290,317,451,585,578,897,908,1126,1092,1020,996,943,879,821,574,580,470,355,311,323,439,420,361,297,469,742,602,354,524,766,633,963,1088,810,939,766,530,387,391,606,827,753,708,1046,852,1046,1212,974,806,1023,1098,988,1114,1206,1144,934,803,761,705,716,753,949,1122,850,592,420,437,585,575,430,404,492,909,679,579,720,725,662,774,795,986,1582,2040,1708,1892,2500,1474,1150,1362,935,505,527,574,554,599,640,919,1486,1426,1362,801,631,507,492,1164,1228,1326,1908,1544,1190,1784,1682,1030,722,661,623,530,596,694,896,979,841,1232,1648,925,401,391,362,402,487,469,523,498,402,460,893,1068,938,929,1088,1228,1096,642,399,472,896,954,681,500,370,361,598,1014,959,700,777,1046,1302,1100,728,950,905,1044,935,893,1350,1628,1382,1172,1246,1336,1582,1582,1296,1080,1230,1010,760,938,966,991,952,799,525,775,1440,968,781,949,927,735,1042,1021,602,784,1206,1028,962,967,993,811,803,930,899,839,420,468,1016,1198,1078,1021,1028,1260,981,514,458,858,1096,799,688,1026,1172,1162,1648,1926,1424,1128,681,537,1060,1620,1740,1718,1260,921,984,926,687,422,358,320,246,248,271,282,258,284,343,331,308,310,347,426,489,400,375,444,560,739,1162,902,1104,888,698,871,973,1130,1250,1122,1060,1042,1366,1488,1242,1044,1013,661,569,567,514,611,916,1014,948,899,1204,1672,1688,1316,877,883,1338,1448,1046,1326,1494,982,945,1266,1086,830,990,1322,1384,1260,993,814,773,1206,1534,1338,964,470,688,1050,998,1158,1072,1068,1440,1300,969,854,1246,1592,1416,1454,1046,912,1066,974,803,623,857,1128,1264,1224,1256,1288,1264,1302,1224,1202,1184,1106,1286,1074,1110,1130,919,725,634,843,1236,1104,1102,1017,819,605,960,1254,1242,1086,561,393,443,388,429,367,388,433,389,371,408,598,1166,1720,1952,1328,785,806,785,793,857,869,442,466,1042,873,882,916,650,438,429,383,422,657,1156,1198,1144,908,1094,1550,1262,765,775,1386,1164,551,507,377,463,781,1126,578,452,435,1158,1218,837,755,807,832,770,631,613,521,592,730,813,1226,1638,1576,1114,711,794,731,522,751,1076,1064,676,686,763,649,554,428,373,442,598,563,481,477,464,502,530,613,582,434,375,433,438,437,428,396,360,359,440,503,539,539,439,332,329,373,433,498,491,437,462,589,565,425,416,425,604,1232,2458,2602,1708,1460,1174,1006,2382,2536,1005,936,750,481,604,827,1140,955,647,501,480,499,607,529,370,499,591,591,401,338,318,415,342,291,271,297,338,342,345,406,615,763,918,955,953,1040,1088,1140,999,902,1462,2048,1676,1616,1604,866,439,360,253,288,294,286,286,363,468,796,1042,1060,934,835,1084,953,430,367,605,651,648,928,1272,1432,1520,1124,541,418,398,415,442,397,344,370,247,354,427,355,219,984,1678,1138,536,318,291,280,334,556,1080,1500,1450,1320,1006,794,572,539,1118,1432,1210,535,434,437,416,547,652,672,606,454,462,576,474,422,408,384,578,527,459,453,458,401,343,330,311,514,961,1106,1124,1360,969,976,1226,1244,1216,1242,886,595,548,516,436,345,372,589,830,633,781,702,459,439,421,652,815,907,806,773,954,1042,694,1140,951,705,576,524,508,477,605,574,390,388,380,415,564,772,907,1230,1376,1206,1228,1120,1058,1170,1320,1270,738,435,364,418,412,302,617,829,542,364,508,1001,1326,943,605,865,1054,1500,1484,1432,1624,1390,1426,1532,1158,949,971,957,825,1214,1076,851,984,1034,1014,1064,973,1086,1434,1546,1360,1096,1152,855,493,373,473,606,494,682,741,536,610,1108,1318,753,790,838,767,1018,1100,1015,1098,1206,623,868,1362,1372,1164,750,890,1200,1186,1380,949,705,741,1060,1388,1380,1306,1594,1642,1504,1354,1744,1432,558,326,363,381,502,622,459,334,360,350,383,390,367,750,859,614,994,1182,1408,1788,1866,1464,940,852,886,1014,1124,704,503,334,324,379,555,637,563,487,416,446,700,685,833,1242,871,405,276,332,339,379,644,961,824,644,664,513,736,980,932,618,915,1272,1122,826,530,290,303,286,329,405,484,481,429,456,450,729,857,821,696,675,528,355,339,379,391,582,516,461,472,425,368,403,429,431,387,320,357,517,499,333,392,517,409,361,427,445,424,411,392,411,416,479,406,463,445,482,702,903,765,604,516,395,334,345,384,341,425,623,450,383,330,315,349,434,457,428,384,311,412,648,703,505,411,442,491,640,751,805,631,364,288,294,301,314,334,343,349,336,326,332,340,308,288,304,296,299,283,278,311,329,297,276,277,283,282,282,272,269,281,270,267,301,296,358,481,477,553,602,738,818,1060,1440,1694,1642,1164,721,571,426,547,1013,1694,2216,2074,1792,2052,1890,1532,1170,1005,719,686,628,629,698,788,1348,1788,1854,1866,1472,871,921,1120,1242,1248,1372,1396,1026,914,644,637,1104,945,621,680,736,496,373,589,849,752,884,941,933,1300,1168,1168,1226,780,470,410,493,781,885,889,913,836,653,727,663,532,496,724,1154,1024,619,1110,1524,773,525,448,442,465,413,394,433,420,487,697,897,568,593,750,609,610,866,1060,782,770,952,890,893,953,626,476,821,1038,1232,958,970,1166,1216,1198,1262,1210,1294,1086,586,568,666,795,977,1214,894,885,991,1170,1017,905,1102,1074,999,728,783,983,806,1026,1808,1122,491,440,535,489,398,351,319,576,940,551,486,695,774,467,313,279,290,264,355,513,490,473,372,368,368,380,408,397,422,404,349,351,365,323,301,311,278,206,195,223,256,316,279,260,732,1450,1086,532,753,896,710,904,957,1232,1396,1206,849,1284,1462,983,777,492,329,480,757,698,420,463,530,407,375,399,462,618,965,1296,1062,848,902,1012,1384,891,645,821,738,642,1062,1582,1686,1596,1466,1102,506,393,392,349,340,484,656,560,556,451,529,738,733,637,677,863,1058,1134,1124,1404,1364,1516,1786,1434,1354,1560,1202,671,560,1028,1108,953,1072,1132,1056,1074,1286,1358,1146,933,915,603,356,473,444,444,401,430,487,526,536,548,539,498,730,1022,991,933,781,832,1016,762,803,877,1082,748,653,551,526,691,932,1594,1654,1192,1040,472,342,409,410,418,376,531,868,995,905,1130,1190,797,1002,1154,766,821,805,838,1040,921,821,1078,1240,901,558,618,615,463,461,512,481,460,455,433,442,590,728,668,639,816,670,834,916,854,863,901,1150,948,694,803,1200,1554,1654,1672,1296,813,860,677,490,547,758,635,691,915,665,459,742,657,637,1110,1013,1008,850,687,926,907,740,692,642,735,817,817,925,711,475,612,791,470,327,373,459,408,288,532,960,1134,1272,1266,550,708,1023,956,928,581,362,366,324,485,729,631,736,1048,893,1058,1194,972,724,487,720,574,312,390,617,590,340,382,335,255,249,229,270,718,680,444,803,1050,879,567,438,653,791,614,869,1166,1362,1312,1176,1060,1152,1028,846,1112,1252,941,869,1056,760,794,818,850,1100,1044,641,442,474,455,497,655,933,942,971,977,1002,1000,1044,1388,1574,1278,879,699,877,1080,1040,1296,1260,1500,1182,904,1174,1244,1362,1284,691,557,921,1044,655,440,394,312,234,284,373,433,825,1294,1256,1368,1532,869,376,352,332,421,343,442,415,378,387,433,577,597,581,802,1160,1202,998,1174,1460,1534,1446,1512,1136,1156,1480,1388,1192,1052,660,386,380],[328,333,330,327,308,570,868,985,766,670,583,491,558,603,752,786,499,247,216,225,404,1172,1208,699,437,261,208,222,236,250,279,398,410,365,327,322,367,382,532,535,412,458,480,477,458,444,350,411,1196,1718,1442,1330,1316,1560,1468,1130,970,961,863,609,783,549,578,785,579,346,285,408,617,634,752,1030,1042,951,780,755,927,777,704,761,700,484,408,360,323,828,1372,1206,1124,863,747,1230,989,722,660,782,915,938,935,786,722,894,702,1048,991,815,880,750,555,509,870,1246,1090,660,448,462,458,517,461,454,422,411,481,410,382,417,486,674,1003,1444,1860,1416,1240,1396,1518,1296,867,453,377,392,369,360,365,349,346,375,541,626,458,368,348,297,265,368,455,569,734,805,988,1048,675,597,1100,1194,1278,1266,1142,1290,1084,902,1300,1414,1140,1098,1194,832,684,837,1160,814,488,387,562,627,600,715,631,502,378,558,662,792,1334,1794,2020,1872,1284,824,641,557,370,387,451,411,317,415,678,524,469,575,916,960,618,736,879,876,1200,813,637,440,353,381,405,371,393,439,456,398,384,400,437,449,390,739,1152,916,905,946,925,1038,966,783,480,332,406,485,731,710,1016,1122,937,690,443,675,961,988,1472,1708,1410,1324,1336,954,708,679,907,874,731,705,597,495,454,534,514,458,337,336,302,256,339,615,891,829,691,805,788,891,1368,1550,1418,1988,2222,1056,1424,1938,981,376,388,425,496,513,594,1154,1602,1298,1322,805,597,463,653,924,895,1294,1548,1136,1348,1994,1658,1200,1110,746,543,550,673,610,893,907,793,952,905,659,474,379,338,373,411,416,477,546,562,755,983,1064,1042,938,993,1106,1302,860,489,492,1284,1058,720,591,461,407,527,746,834,825,1010,1208,865,1194,1204,1054,1020,1068,1110,1042,1172,1212,920,1150,1236,1224,1614,1822,1538,1076,916,918,974,844,996,1068,679,701,508,600,1164,823,840,946,902,883,1046,1044,933,1108,1300,941,653,667,961,943,753,691,472,377,391,576,1080,1234,1050,1040,1262,1356,793,548,667,1122,1248,767,612,1072,1292,1166,1192,991,611,545,590,581,890,1202,1270,1380,1392,1368,1184,939,636,386,347,309,270,318,258,251,258,269,324,351,360,380,339,484,785,614,556,614,954,1376,1202,941,1000,1114,1324,1312,1264,1356,1372,1350,1244,1202,1382,1390,1290,917,783,763,601,666,621,666,749,1030,1136,949,1268,1860,1344,1260,1220,847,1050,1216,964,974,748,579,880,857,876,962,1338,1172,1006,1112,1036,801,781,1396,1428,1386,1114,779,859,1104,708,880,978,1012,1140,1244,1028,658,756,1356,1446,1424,1000,896,859,791,669,616,706,1096,1270,1042,1050,1280,1500,1416,1182,1124,1328,1338,1272,1270,1136,910,1096,1082,828,888,1222,1330,1015,1172,1072,912,1150,1332,1162,720,521,767,759,532,400,381,396,337,345,373,388,424,512,876,1138,806,611,557,623,820,845,615,413,511,767,582,633,995,1054,985,750,591,490,397,597,1106,1444,1324,1224,1176,1058,864,855,1340,1158,688,494,424,514,893,927,935,1350,829,1074,1498,1316,1194,1312,1162,1078,1166,1300,1114,1040,1052,1032,1134,1566,1544,998,675,825,813,1044,1114,1330,1114,910,1082,1015,717,534,444,409,506,613,563,490,449,418,441,467,592,590,475,426,456,430,429,508,529,425,365,398,438,524,533,393,305,336,373,366,417,425,334,364,492,449,352,338,493,1034,1946,2144,1800,1650,1264,943,2470,3310,1942,1754,1196,1356,841,879,803,678,571,462,502,496,444,471,439,429,636,755,650,449,367,280,290,255,235,241,291,350,354,325,378,629,890,980,995,1052,1106,1220,1072,686,613,1310,1674,1256,1418,1572,773,334,347,330,306,263,285,283,271,298,357,405,597,694,630,576,522,377,336,609,807,759,675,605,688,758,547,342,324,343,387,431,387,360,330,265,330,469,501,265,618,1410,1242,547,409,325,384,427,839,1430,1542,1266,883,573,661,635,885,1346,835,678,441,432,467,435,491,613,635,531,465,496,500,496,436,481,450,462,440,446,507,479,365,348,333,374,733,946,944,1066,1142,640,645,1180,1072,831,949,787,708,899,846,514,357,375,421,491,498,683,659,475,439,396,404,561,1064,945,915,1032,1072,1144,1420,1556,1420,1114,1018,890,871,1056,950,762,648,590,792,1194,1334,1306,1314,1360,1454,1376,1302,1586,1128,1376,1214,1186,716,326,273,282,264,285,294,322,321,551,1272,1314,935,935,1026,1106,1138,1152,1456,1664,1682,1472,1318,1104,810,1208,1009,755,1290,1278,1066,1100,1136,1264,1344,1192,1124,1394,1378,1164,1196,1084,736,567,449,432,493,454,451,482,489,510,735,787,582,592,651,759,1338,2736,2072,897,976,604,979,733,822,921,1094,1222,1538,1456,1392,1188,1100,1110,959,1060,1248,1354,1672,1688,1588,1388,1954,1616,835,441,433,763,1044,690,463,430,424,361,561,600,414,727,764,486,818,1170,1450,1778,1592,1054,751,783,961,1110,1040,734,684,543,689,768,434,337,402,413,544,695,585,384,542,711,609,444,352,317,342,390,455,531,440,435,566,596,1030,736,427,358,533,913,1120,1098,857,496,447,428,471,483,582,561,561,575,817,1066,1096,1028,814,771,511,358,358,396,399,561,473,399,411,367,348,393,468,391,334,294,357,492,410,324,357,562,576,448,441,435,458,452,392,406,401,471,428,444,470,487,641,743,604,516,489,356,323,340,389,367,503,427,351,321,309,318,349,449,507,474,455,339,369,473,491,439,449,437,554,733,728,755,718,401,299,289,282,296,312,322,318,318,324,340,354,297,283,305,304,305,291,292,335,319,293,281,289,293,293,293,293,292,300,298,301,313,317,421,548,531,477,540,642,668,702,833,1102,1466,1272,906,675,453,485,746,2736,4152,2686,1642,1566,1830,1698,1440,1344,961,784,738,684,669,952,1466,1776,1826,1598,1346,1434,1346,1268,1440,1432,1442,1478,1322,884,522,733,1002,803,682,433,420,345,278,318,455,601,1120,1068,1050,1160,1120,1242,1176,713,547,541,641,738,700,489,533,904,1170,1076,729,486,462,959,1620,1174,764,1164,796,457,440,364,312,363,375,379,395,451,463,806,1021,738,871,917,669,885,1182,1218,937,826,923,955,1018,834,472,607,894,831,1132,783,461,634,816,1052,1272,1356,1294,1438,1206,1244,1004,943,993,931,1032,1106,1062,1074,1250,1410,1368,1074,821,534,445,398,803,1342,1452,987,531,412,472,474,474,433,452,781,1214,689,510,590,547,404,318,258,239,216,287,434,490,540,659,620,388,349,398,466,449,385,356,348,368,374,348,272,178,187,207,252,276,287,275,247,495,661,589,695,943,921,600,488,417,402,933,943,625,650,948,1236,846,347,260,365,554,623,486,425,375,373,367,375,634,731,1086,1322,1088,1072,974,765,1220,1142,933,1118,1150,970,1446,1686,1466,1342,1240,880,410,336,337,387,426,738,1130,894,583,411,371,529,779,864,963,1002,987,1328,1404,1538,1554,1578,1642,1506,1574,1452,1154,826,792,938,921,942,1144,1202,1136,1088,1258,1300,1104,1144,999,739,709,582,467,505,483,423,426,397,567,700,564,439,562,859,1230,1208,722,962,1060,915,1060,968,797,1005,1492,1170,730,735,944,1094,706,811,700,372,293,333,355,325,259,349,681,813,733,841,899,798,1018,1005,807,929,902,841,883,811,857,1058,1074,1002,869,1146,956,565,527,729,857,785,687,531,441,593,813,654,536,976,554,602,916,987,966,1138,1026,657,558,1024,1462,1604,1092,1138,996,1236,1212,901,592,538,830,824,588,549,450,438,728,645,869,1036,889,803,600,376,439,459,493,602,440,549,813,1013,1256,1074,775,550,385,363,344,437,770,733,528,952,1324,1272,1384,1284,793,614,804,732,630,552,475,360,454,619,651,705,838,747,854,1042,980,1017,913,610,565,557,367,342,681,860,495,865,535,282,281,340,335,502,501,397,492,672,652,309,263,277,401,730,1056,1188,1236,1130,1078,1050,1134,1078,921,828,1010,860,818,1136,1021,1114,1084,1194,1312,944,657,439,384,456,533,778,1324,1186,1170,1402,1184,1090,1498,1628,1296,833,541,384,432,771,978,1194,1348,1172,1102,1232,1354,1400,1398,1060,572,472,496,1074,953,576,440,298,252,266,314,509,944,1296,1240,1112,1184,885,480,364,310,316,312,325,342,373,344,368,516,503,505,1010,1320,871,867,821,1106,1082,1280,1334,1102,1192,1832,1440,1312,792,504,353,307],[291,331,274,303,291,1076,1620,1336,875,586,482,491,419,510,642,509,358,289,240,243,527,1332,1350,1017,753,422,211,218,220,231,232,251,414,408,336,352,498,564,549,529,404,391,456,452,406,330,333,377,1332,2106,1754,1276,1296,1450,1476,1356,1082,1318,929,844,732,497,544,675,525,325,248,334,536,558,705,929,775,672,617,736,896,666,468,547,519,442,423,467,467,604,1108,1180,692,552,451,1017,1194,865,842,875,908,824,543,470,635,896,881,1250,1246,937,739,544,432,477,883,1218,1116,686,417,390,445,484,424,465,477,431,430,372,360,453,489,552,947,1376,1624,1442,1538,1636,1606,1476,1017,460,307,335,343,365,391,377,389,516,692,683,556,452,362,288,286,448,651,904,982,812,1040,711,532,535,873,1166,1184,1062,982,1003,963,1098,1048,1028,938,1182,1314,1014,1056,1058,1108,1038,584,382,472,533,319,372,477,583,459,449,428,576,1116,1444,1678,1616,1338,771,553,341,356,361,352,372,540,817,952,625,425,655,1208,1306,912,848,754,1086,1168,616,398,500,657,698,550,537,499,468,502,475,546,762,1302,753,445,708,1170,1156,1023,989,1050,1132,1092,1080,723,486,367,389,899,1038,1218,1222,898,553,382,515,701,920,1656,1512,1516,1622,1810,1312,835,882,1206,885,633,830,490,468,441,498,478,611,472,357,303,364,498,695,1070,1196,912,752,990,1388,1150,727,1418,1398,834,511,1256,1404,702,376,401,446,532,488,525,958,1276,1656,2032,1252,664,724,1066,822,745,1626,1842,1462,1400,1598,1604,1360,1854,1122,540,623,593,560,673,713,677,716,778,801,649,518,466,411,412,456,421,415,674,932,890,1238,1560,1636,1118,592,764,878,733,689,997,791,596,603,444,393,433,525,822,855,937,1270,1222,1438,1348,1164,990,856,845,940,1182,1302,1278,1082,918,1036,1238,1466,1506,1266,926,724,738,806,829,633,879,1510,1336,1500,1484,1210,1104,898,610,622,720,636,808,858,904,797,521,355,758,824,733,713,536,712,831,577,646,847,1412,1268,1144,1148,1070,1102,918,770,608,673,723,894,1204,1124,1146,714,388,630,1116,1190,960,800,951,821,894,1316,1568,1258,733,453,378,363,335,348,290,281,266,269,253,312,384,405,568,877,1166,1098,984,1098,1614,1510,888,700,779,1154,1256,1196,1362,1518,1284,1328,1378,1302,1382,1428,1416,1017,797,899,863,915,865,1150,1204,1532,1188,1016,1368,1356,1162,1292,1164,857,691,748,926,1150,918,986,1344,993,896,880,1052,1094,829,781,1194,1166,1024,1376,1152,1440,1050,1120,1222,1112,1082,1023,842,1050,1428,1414,846,545,836,960,1004,1262,1084,785,796,862,800,836,929,1384,1344,1090,1208,1354,1396,1142,969,1296,1560,1248,1076,1172,1174,949,1352,1098,755,1050,1296,1338,990,1088,1296,1178,1078,1224,1194,747,695,735,651,455,406,436,361,316,317,315,339,376,415,470,531,612,624,577,480,641,869,752,444,455,621,543,660,1054,729,880,948,880,729,782,915,1240,874,860,1182,1290,1350,1392,1272,1023,633,683,446,391,428,706,912,894,1048,713,620,1460,1860,1450,1408,1300,1264,1202,1416,1538,1164,1104,1226,1308,1368,1202,776,739,910,642,877,720,904,915,1248,1340,832,547,514,427,374,536,621,559,495,437,430,410,433,611,645,515,442,451,496,557,573,562,493,458,393,392,451,462,384,316,312,320,342,354,362,351,331,343,414,365,558,1086,1882,2236,1750,1636,1808,1454,2016,3606,2468,3570,3628,1964,1640,1034,1082,959,565,475,480,502,468,453,401,450,660,805,757,582,431,370,315,241,238,257,282,317,329,337,307,343,511,904,1084,1106,1144,1256,1484,1556,1148,1070,1312,1188,1366,1672,1536,840,482,393,332,311,308,327,296,277,306,300,319,340,377,385,403,386,354,313,372,520,639,477,359,422,454,454,346,257,292,388,407,376,357,317,313,349,389,600,340,320,704,866,444,464,501,432,358,625,1011,1188,1158,937,850,824,965,912,599,514,455,393,397,405,385,402,474,614,623,578,558,447,490,469,475,440,401,383,417,489,451,381,334,316,361,791,1108,1276,1176,886,841,977,1152,868,712,639,493,659,1064,1262,965,447,321,339,384,517,664,634,464,448,402,419,557,924,865,780,1004,1268,1588,1986,2138,1936,1372,849,959,777,777,1050,1148,1164,1126,1252,1370,1474,1488,1292,1280,1360,1360,1234,1422,1072,979,983,1005,622,387,300,309,323,349,296,341,359,674,1146,1044,1030,1188,1108,1026,981,1398,1672,1230,1240,1230,1000,1086,836,879,610,550,830,1052,1088,1142,1224,1322,1070,887,821,1050,1005,1114,1218,1124,823,558,457,394,459,516,361,374,481,634,753,722,648,589,640,939,1200,1418,1164,933,1152,1990,2114,1340,1316,1300,1178,1158,1556,1488,1162,911,1038,1412,1148,1158,1186,1200,1430,1634,1528,1216,1554,1766,1290,599,526,820,1120,1023,929,711,453,362,367,383,338,460,436,456,777,1100,1562,1626,1176,757,584,676,930,1080,1124,893,559,570,1162,1442,1060,505,442,495,576,825,835,527,287,345,336,298,261,261,286,286,266,293,352,593,861,874,1394,1066,578,543,474,783,1122,1106,944,878,626,469,547,557,609,617,615,714,926,1036,939,857,716,525,401,387,371,370,399,391,348,403,443,410,381,430,551,426,362,405,449,484,392,332,317,375,462,488,511,497,484,458,392,365,394,459,437,426,475,572,711,679,524,477,464,346,316,328,386,380,499,424,321,348,308,317,327,405,422,496,497,394,401,458,427,481,696,742,675,755,795,601,382,326,339,316,313,318,320,330,333,336,328,328,336,286,267,284,292,283,301,315,355,360,311,286,293,295,312,305,300,296,284,287,304,306,322,425,558,589,585,566,570,613,569,586,636,1102,1482,1428,971,495,482,585,1946,2808,1816,1588,1416,1356,1514,1648,2204,1822,1152,764,652,578,824,1396,1792,1630,1146,1262,1476,1286,1334,1522,1450,1384,1108,703,563,388,566,678,433,494,334,334,334,315,431,592,880,1224,1058,818,1092,1334,1492,1124,989,1130,854,1182,930,653,625,524,830,1204,1032,635,468,639,1560,1798,1056,1098,1060,702,462,378,328,286,303,318,372,395,426,504,813,927,968,917,678,659,971,1078,1208,1534,1290,827,1024,1230,1050,659,616,690,846,1210,1064,943,861,954,1338,1418,1350,1136,1254,1400,1332,915,881,968,991,1170,1248,1070,1058,1240,1416,1324,1036,706,539,459,411,731,1240,1392,1058,594,450,434,426,600,673,674,833,912,558,441,502,492,400,320,311,297,240,266,337,309,430,842,770,432,338,423,499,447,316,274,314,364,397,283,212,171,199,219,234,232,224,240,282,361,502,555,521,522,387,518,854,769,680,890,768,608,619,735,919,747,392,325,426,537,484,606,868,1012,832,621,973,1188,681,954,1086,1066,1196,926,885,868,1182,1112,809,899,1122,1490,1650,1328,1252,1200,1044,681,441,488,498,537,596,744,767,543,397,340,369,372,404,571,628,701,856,833,1336,1738,1742,1744,1842,1686,1256,1004,858,943,1138,1100,998,1032,1013,1009,845,1007,987,647,714,1078,952,1058,793,604,554,520,439,400,386,583,815,688,516,531,692,1066,1009,998,1140,984,769,656,498,576,965,1096,1030,1174,985,911,647,664,479,273,303,317,331,332,274,246,218,325,578,1148,1078,952,1094,1282,1282,1134,1218,1506,1476,960,1001,940,902,778,797,982,1234,841,584,702,967,1230,1158,980,715,633,798,902,564,637,995,785,924,1021,718,831,1200,1194,843,717,892,805,584,496,902,1078,1154,1368,1190,758,576,606,684,644,529,677,854,880,739,786,841,933,828,499,333,376,406,454,619,420,728,1188,1158,1009,899,984,782,492,408,289,423,749,796,833,1152,1348,1516,1440,1294,1292,1070,681,745,924,750,560,567,834,1034,807,896,863,944,771,792,900,908,933,907,1142,1158,506,507,869,940,588,713,485,336,330,357,346,339,484,453,405,302,361,253,266,361,486,775,946,1072,1148,1130,1208,1272,1078,798,725,899,1474,1278,883,1042,1254,1268,1320,1504,1394,1280,1542,995,936,666,755,1184,1428,1454,1316,1266,1400,1500,1668,1632,1248,700,508,351,308,640,1072,1470,1390,1150,1346,1470,1422,1344,1340,1306,1021,608,492,980,1004,813,454,298,290,308,303,392,846,1072,1001,846,1094,1005,619,394,430,362,302,324,328,326,326,305,350,448,573,992,915,507,525,772,935,1092,1282,1150,1228,1098,1214,1096,952,938,664,345,310],[380,378,299,296,508,1292,1554,1110,736,588,643,805,921,1014,745,468,391,375,376,340,582,903,874,881,753,465,240,213,226,234,327,578,704,531,428,397,479,498,445,459,397,462,547,419,364,321,324,359,919,1466,1224,968,1260,1216,1238,1194,929,871,1078,1736,1242,622,739,773,689,661,556,608,633,720,734,816,654,559,708,928,927,673,456,467,480,425,501,619,575,555,880,641,343,311,272,816,1282,1126,940,582,727,780,684,800,964,1178,1120,1262,1056,947,789,527,513,418,544,802,1019,597,402,363,439,487,545,623,567,412,318,324,449,495,453,498,822,1172,1506,1550,1582,1606,1560,1464,968,524,323,335,358,394,378,365,359,546,750,741,713,552,386,290,287,649,1250,1366,1312,988,725,583,847,1118,1326,1204,985,1134,1222,946,933,1256,1130,1064,1260,1482,1212,1100,1038,813,1230,1122,483,354,304,293,345,658,996,818,576,402,377,452,721,1234,1450,1274,1494,1108,706,467,491,409,396,391,562,688,761,700,466,1004,1582,1550,1456,1238,1023,1312,936,450,523,643,610,513,691,858,628,596,645,678,608,817,1488,812,536,758,1082,1296,1370,1340,1466,1308,1328,1348,753,603,808,562,554,883,1032,866,639,584,484,401,450,650,1164,1062,1298,1984,1630,937,942,1170,1056,823,1014,756,507,478,436,440,424,518,543,468,473,532,577,763,946,1240,1306,1044,821,786,634,1042,2002,2154,1556,1134,1216,915,561,420,422,442,486,510,665,875,855,1678,2060,1013,524,797,1116,765,1318,2184,2240,1182,893,1005,1158,1296,1732,1023,595,742,780,735,810,603,451,352,477,615,557,702,673,488,473,547,500,404,904,1630,1528,1454,1706,1636,733,509,468,741,1068,1084,991,829,772,616,433,381,414,596,760,838,896,1086,908,692,851,948,864,948,908,1046,1198,1444,1584,1086,804,636,650,1030,1468,1396,854,774,792,819,625,808,1620,2524,2132,1448,1330,1374,1140,948,613,434,423,503,563,645,859,787,614,439,731,828,679,828,1056,1094,986,555,673,1286,1506,1052,929,1158,1742,1522,843,664,590,759,980,980,1014,904,875,622,481,708,1130,1410,943,444,367,381,529,825,1234,1450,1416,1034,624,449,410,307,279,312,331,360,267,336,298,444,744,1036,1282,1106,828,946,1310,979,523,825,1208,1198,971,1138,1508,1490,1178,1088,1250,1420,1406,1092,1128,1136,836,901,968,1338,1232,1406,1500,1480,995,832,985,1200,1512,1372,1226,1356,1476,991,899,1242,1428,1506,1390,1084,962,795,905,1262,1240,1042,747,1158,1478,1370,848,880,1300,1300,998,1138,1406,1404,1326,1144,1542,1512,1032,985,921,676,805,1108,1366,1258,953,867,872,1108,1322,1288,986,1130,1138,1194,1062,722,768,1262,1388,1078,1166,887,763,1090,1306,1156,954,1012,1108,998,1054,1132,1170,1322,1264,1114,864,671,771,665,628,476,391,299,345,412,399,317,331,352,302,346,360,419,581,746,503,361,491,611,532,396,429,402,571,861,489,541,713,713,710,819,814,684,486,507,779,1274,1428,1498,1626,851,529,419,467,441,454,759,785,595,741,663,764,1978,1760,1466,1580,1434,1466,1614,1970,1814,1382,1406,1364,1216,1252,1076,1066,1122,1246,811,584,605,1084,1506,1892,1882,1222,902,599,540,355,434,530,500,434,366,393,418,444,522,494,409,435,515,569,703,659,600,577,635,482,392,392,358,318,318,341,355,359,403,468,382,328,291,325,373,768,1352,2026,1816,1214,1268,1594,1816,2732,2614,3222,3320,2590,2942,1996,1274,1204,932,720,729,613,511,480,470,388,604,726,595,444,397,359,331,337,283,266,336,347,348,332,323,298,318,501,914,1082,1088,1400,1572,1426,1488,1440,1362,1300,1904,1716,1472,1512,1032,562,552,581,388,318,289,282,310,345,319,319,323,325,333,375,433,457,363,331,333,354,356,424,460,458,429,344,258,305,381,362,338,354,357,455,569,437,807,560,316,320,603,642,884,968,565,474,644,810,959,810,526,596,1010,1188,926,678,589,458,421,420,422,396,397,392,520,605,616,600,560,479,434,448,382,386,412,440,425,413,422,355,302,634,1150,1270,1556,1400,933,870,997,1190,777,731,720,925,1240,1384,1450,941,384,298,323,304,395,646,741,527,478,440,446,524,563,489,504,791,1056,1294,1570,1542,1344,1234,974,1024,613,663,1162,1278,1274,1398,1334,1244,1512,1304,1244,1314,1352,1234,913,690,638,755,1062,940,431,316,394,337,313,302,271,294,250,645,980,1092,1284,1248,1122,1294,1346,1610,1356,1206,1144,1034,675,534,810,772,607,642,724,903,1003,1098,1060,1038,707,582,626,954,965,980,1080,1106,1004,565,363,350,404,689,599,638,778,894,926,916,849,718,763,926,944,1060,1148,1166,1130,1584,1796,2398,2174,1484,1006,1172,1478,1266,921,675,719,1210,977,963,1252,1298,1462,1604,1188,870,1126,1256,906,777,790,999,1182,1354,1448,1028,667,623,547,530,612,574,492,486,632,1062,1234,926,692,588,488,585,624,885,1188,882,508,913,1294,1648,1826,1062,890,674,438,875,1220,702,307,313,266,283,268,297,299,250,299,666,844,667,578,616,781,838,910,783,624,899,1056,908,897,1580,1007,484,514,572,722,719,841,1046,1032,1084,662,663,608,392,335,349,430,485,411,388,371,407,391,375,381,462,525,534,417,473,467,400,320,302,296,282,393,458,494,496,428,441,419,397,418,471,483,438,448,532,705,702,558,497,495,402,357,361,381,401,546,529,342,351,300,319,342,428,486,537,590,470,404,435,439,546,756,778,760,720,767,456,334,361,375,322,307,308,326,351,345,356,333,295,290,274,287,280,273,285,296,300,321,337,315,311,297,311,304,300,299,287,279,283,293,311,314,408,568,616,652,659,689,686,607,574,590,1050,1090,1240,1240,727,420,526,1412,3016,1970,1750,1508,1508,1294,1104,1710,2178,1992,1424,717,649,1154,1656,1662,1328,1086,1112,974,1042,1136,1230,1152,1198,903,630,459,367,464,650,457,522,392,337,360,714,963,897,802,566,654,957,1198,1372,1582,1310,1376,1260,1018,1238,823,645,770,582,733,1094,999,729,574,553,980,1202,1168,1586,1144,506,269,281,313,336,352,327,332,319,322,400,410,490,638,775,796,884,982,1002,1218,1774,1376,971,992,1108,1072,710,831,807,944,1274,1260,1152,1072,1250,1260,1108,1206,1166,1010,891,730,785,869,756,796,1026,968,806,1072,1050,1454,1288,813,579,499,447,398,714,1328,1424,1138,740,582,426,438,644,694,653,665,572,433,377,374,345,247,217,350,397,253,225,253,301,412,524,525,416,322,365,376,378,305,295,320,322,229,170,165,189,198,221,247,231,283,325,289,490,992,783,673,651,458,645,1116,961,792,977,860,717,1066,973,937,904,542,408,482,549,674,1096,1760,1726,919,578,743,714,618,1008,1026,946,857,809,735,517,971,1030,568,797,1190,1522,1386,1172,1184,1116,1278,1084,705,467,498,538,375,357,466,479,478,427,366,327,314,290,321,373,437,623,933,968,866,1306,1538,1186,1030,903,700,791,942,965,1004,766,788,932,747,965,591,405,689,1068,1024,1026,886,679,544,470,402,452,428,543,802,780,653,488,489,528,463,535,745,766,731,553,376,526,948,1002,1118,1136,899,786,871,844,442,265,328,307,215,204,228,226,243,276,450,827,756,1024,1218,985,810,960,1226,1510,1422,1306,1478,1232,1032,957,841,1120,1230,683,443,582,858,1204,1174,986,772,672,901,912,559,619,852,675,677,669,476,599,1114,935,980,890,727,836,695,796,1136,1214,1044,1046,1098,850,528,442,473,684,828,1190,1152,940,699,716,992,849,503,293,316,305,391,398,450,426,681,963,1062,1068,971,1000,1074,842,586,426,532,617,872,1140,1068,1002,1128,1278,1380,1614,1714,1360,1406,1360,918,703,807,1180,1072,988,993,825,617,489,620,665,521,814,1300,1440,951,535,630,856,772,597,430,335,373,353,338,318,331,519,352,281,256,244,339,366,598,847,782,851,1056,1046,1180,964,1220,1308,878,607,811,1166,1202,1052,1100,1352,1552,1442,1384,1454,1040,1034,1204,1244,813,1050,1492,1332,1236,1336,1532,1520,1586,1584,1444,1414,866,463,403,364,785,1344,1542,1526,1456,1418,1434,1470,1538,1488,1496,1356,1086,1090,927,909,979,493,365,438,415,353,519,1100,1100,935,1034,1066,894,636,499,589,365,324,343,350,329,315,326,315,350,498,802,709,499,749,1014,910,774,1096,1282,814,708,1090,1068,1026,1106,679,312,270],[569,384,352,320,425,794,1013,972,1098,1314,1184,1016,1102,1062,667,419,419,413,396,371,462,528,455,478,478,333,238,212,208,203,264,561,675,565,580,462,409,449,462,474,553,521,525,441,414,448,481,498,572,722,857,1256,1464,1208,959,1048,1212,836,1060,1926,1516,691,893,851,1288,1508,915,828,884,748,593,651,823,1007,990,824,764,926,709,647,539,463,479,550,586,591,541,354,280,313,328,722,1306,902,678,423,611,640,466,557,1042,1390,1140,915,922,901,640,485,538,420,453,692,793,459,369,421,412,426,521,509,402,313,312,367,512,535,476,547,737,1074,1460,1498,1364,1202,1002,932,683,560,394,302,314,337,321,334,346,546,733,764,663,421,332,272,354,788,1184,1500,1348,991,754,830,1206,1618,1324,937,865,1042,885,661,830,1284,1492,1204,1278,1556,1192,953,1260,1132,976,749,382,350,330,454,804,1346,1310,1014,807,498,518,520,525,909,1462,1566,1708,1632,1266,960,784,698,630,508,500,514,628,626,642,1034,1274,1324,1007,1060,1410,1176,563,352,463,610,503,756,1632,1188,668,666,794,785,695,1212,1190,614,707,645,891,1210,1250,1298,1356,1406,1322,1204,713,766,1090,818,1038,1714,1464,1164,980,847,576,457,417,604,1046,1112,1744,1856,928,529,666,944,871,1078,1354,906,857,565,480,419,385,461,540,729,903,827,554,835,1052,1038,1230,1306,1362,1126,770,1364,2018,2128,1904,1826,1410,1114,910,501,368,372,417,423,818,969,688,1244,1320,634,714,973,1002,781,1288,2126,2366,1005,449,597,921,1460,1258,677,677,888,912,1042,1402,854,469,366,366,398,488,647,596,493,494,603,635,438,570,863,970,774,836,794,604,598,575,793,1072,1000,765,648,573,659,768,809,693,673,737,649,779,1056,939,967,1198,1036,868,977,870,1098,1252,1438,1376,839,502,495,602,921,1344,1222,824,871,983,1238,702,802,2060,2398,1422,946,1222,1492,1148,658,484,566,553,562,523,771,908,977,835,487,691,1023,913,920,957,670,679,619,866,1314,1300,1098,1102,1054,716,530,875,1464,955,797,858,908,943,909,623,485,565,769,1034,1142,1052,596,390,471,478,637,945,1304,1500,1570,1250,818,469,370,297,406,438,330,296,336,357,557,658,887,1046,971,694,642,1034,900,582,681,1210,1368,1262,1248,1456,1606,1410,1172,1196,1250,1026,738,1312,1244,822,1076,775,1106,1246,1226,1226,1322,1272,1150,1072,1268,1498,1228,1338,1242,1164,973,978,1182,1418,1550,1368,1410,1410,783,525,897,998,1070,982,1056,1386,1164,562,786,1360,1418,1170,1274,1288,1230,1484,1376,1560,1524,1318,1090,859,863,1174,1390,1602,1478,1080,735,1021,1268,1338,1024,607,670,1080,1248,943,912,963,986,1234,932,854,670,742,991,1060,1082,856,856,1064,1118,937,963,1286,1544,1366,1224,861,561,563,620,575,479,659,1164,1050,562,410,383,372,372,368,371,354,348,432,493,426,366,386,442,453,479,493,494,432,410,405,387,581,753,729,852,1180,1040,536,418,506,833,993,935,1160,960,683,645,868,968,819,703,524,395,568,652,824,2136,1576,1244,1240,1222,1606,1638,1488,1512,1238,1068,824,804,720,822,1034,1272,1266,950,775,864,1442,1732,1946,1866,1310,1004,695,554,365,326,357,375,383,385,405,443,468,410,337,380,554,713,818,814,710,642,639,565,382,308,310,319,325,388,467,431,357,380,579,479,346,325,383,626,935,1294,1600,1346,1252,1118,1240,1582,1726,2078,2978,2624,4792,4496,1766,1134,1070,998,851,670,663,609,501,468,606,809,709,519,343,348,375,326,340,357,387,557,463,362,345,339,311,283,370,559,795,1138,1622,1618,1476,1554,1510,1268,1794,1818,1056,928,1162,1118,632,661,954,581,365,341,320,364,522,561,604,672,739,799,860,915,862,463,365,367,385,372,385,436,430,378,330,314,345,382,357,375,396,401,452,491,348,482,576,469,449,531,589,798,899,588,630,697,661,441,347,296,370,615,1216,1368,795,473,402,395,406,415,396,395,379,414,552,667,676,601,498,437,446,379,413,415,395,379,354,345,336,349,597,761,846,972,1015,742,583,670,1040,841,717,1176,1724,1650,1186,579,278,295,323,272,255,302,398,621,566,697,740,628,571,576,557,657,639,655,705,966,942,969,1020,852,613,409,711,1182,1188,1212,1410,1502,1386,1370,970,778,883,927,951,816,473,712,1256,1366,901,434,528,814,460,292,307,270,339,568,758,965,1254,1174,991,888,1146,1134,1272,1192,1038,999,890,615,893,1164,1014,839,603,712,1070,1300,1316,1200,944,570,626,785,883,938,948,900,1150,1090,778,458,426,474,730,768,708,800,1003,979,995,986,918,866,811,841,989,972,1130,984,1620,2620,2498,1824,1592,1184,1022,1007,994,786,756,610,584,566,941,1214,1392,1650,1692,1486,1106,1170,1340,1134,857,919,1326,1214,1038,1108,1056,1078,1160,941,689,1009,1078,721,657,750,1104,1210,773,532,522,681,760,484,554,1108,1200,1044,1036,1240,1648,1684,1156,929,586,422,787,886,468,317,323,282,259,293,333,292,278,331,658,746,496,370,391,528,621,657,1042,1020,982,935,863,875,1050,750,545,452,491,632,788,1090,1074,918,871,642,613,590,423,320,337,453,558,387,358,383,368,384,363,335,395,446,376,318,375,390,352,308,287,284,281,340,409,420,414,382,392,426,455,430,458,521,465,441,484,592,545,430,377,341,327,357,367,354,377,546,634,368,348,312,325,339,371,391,425,513,419,311,345,406,445,579,642,691,728,598,362,321,375,382,325,273,283,310,324,327,324,320,272,247,264,280,278,299,314,298,321,331,307,315,325,313,301,296,296,287,287,293,296,293,307,313,368,485,563,621,691,661,760,793,656,613,866,842,755,912,841,764,771,1312,2236,1854,1944,1788,1768,1236,1114,1730,1904,1900,1846,1132,1200,1718,1708,1380,1248,1332,1220,854,740,918,734,612,945,1180,1218,601,522,571,482,420,595,758,557,440,922,1026,926,1066,911,934,1052,1352,1344,1184,968,1202,1350,1262,1306,952,590,519,460,738,849,1030,1000,733,541,590,836,1428,1586,1002,458,370,277,283,298,322,303,274,265,286,343,354,363,695,955,901,941,941,885,1212,1432,1308,1058,929,1126,1032,714,681,829,1132,1384,1344,1050,1078,1188,1152,1062,1194,987,914,748,548,569,535,495,541,499,655,683,647,479,553,624,470,408,438,422,360,644,1278,1184,1124,922,751,521,477,571,534,421,433,543,504,433,415,393,368,231,255,190,184,208,236,312,352,302,289,312,329,403,397,341,299,254,263,238,191,194,203,223,225,241,303,278,354,335,265,383,813,562,420,589,629,613,735,1076,1266,1108,1054,858,935,1128,1116,999,691,624,598,387,824,1466,1378,849,429,440,710,791,897,950,894,1196,977,650,418,350,653,918,745,902,1310,1476,1384,1442,1372,1428,1550,1280,767,564,630,584,454,364,429,432,494,511,399,359,403,402,319,350,452,647,639,439,432,550,565,585,757,852,678,578,561,716,807,777,963,621,436,752,548,443,692,922,993,1090,889,519,487,465,378,426,472,544,849,868,689,521,423,402,330,373,410,562,771,686,426,573,933,985,912,733,435,480,735,657,389,284,298,288,249,275,384,274,244,292,532,690,609,692,775,554,560,894,1378,1044,799,1844,1712,1196,1176,1116,850,957,1126,846,861,892,907,1152,888,598,496,498,775,852,559,442,498,574,523,413,554,584,916,580,890,971,1112,1204,1013,967,1021,1122,1024,762,670,505,389,322,317,521,805,1206,1316,1382,1064,712,836,799,514,361,349,328,348,287,345,520,616,866,1166,1232,1009,1024,1432,1286,891,966,940,777,818,965,852,913,979,1154,1300,1270,1260,1378,1470,1232,1308,1080,742,1062,1128,952,943,842,415,386,385,383,367,545,1144,1408,902,657,791,753,507,358,317,314,307,343,319,258,248,309,298,293,299,277,346,466,642,683,639,745,1138,1040,694,604,912,984,1172,1256,631,768,1210,1236,996,1154,1322,1242,1032,965,698,533,1036,1298,784,950,1512,1380,1448,1628,1582,1610,1748,1724,1558,1534,1062,547,420,725,1344,1600,1562,1350,1274,1286,1446,1678,1604,1386,1278,1262,1050,854,686,760,1066,742,451,552,642,592,852,1240,1120,941,1036,993,710,540,547,701,379,342,346,487,472,374,356,327,324,468,670,709,684,965,1238,1348,1268,1356,944,675,714,907,1002,1016,825,471,352,298],[429,378,382,373,359,397,555,835,1262,1094,1172,1080,866,860,745,419,437,426,396,363,476,503,449,395,364,278,214,199,192,212,740,1598,979,611,651,554,574,689,525,449,543,555,535,451,430,553,651,641,485,663,922,1590,1428,899,1005,1314,1238,932,1138,1782,1642,714,697,637,1256,1432,1194,1298,1388,973,640,537,733,999,756,648,852,1344,1172,910,893,664,558,532,575,692,550,296,289,299,287,435,1154,693,520,397,562,510,444,565,1038,1272,849,811,921,572,458,448,484,531,509,674,561,390,373,416,428,381,369,315,283,275,290,282,357,477,538,1042,1444,1442,1582,1644,1462,1088,941,1110,951,675,469,312,277,299,325,344,366,528,755,838,577,409,406,382,573,976,946,900,1144,1002,893,1230,1312,1290,1005,1036,1312,1570,1100,1190,1062,1126,1316,1108,1054,1454,1324,866,1266,1448,1286,926,645,467,373,433,785,1282,1068,619,651,663,693,546,433,588,1246,1554,1608,2474,2692,1654,1246,1028,945,709,868,838,681,613,854,698,666,1026,927,1003,1042,624,331,334,422,807,1018,835,1150,670,443,678,912,794,700,1178,970,390,405,473,899,1262,1230,1076,879,1064,1244,1394,1001,1048,1310,1232,1406,1986,1148,886,905,990,691,500,361,561,698,846,1352,1268,920,604,751,1100,1334,1318,1178,1398,1084,523,477,489,447,375,399,691,1084,1192,860,830,1118,1156,982,1208,1522,1190,1094,1578,1574,1432,1456,1372,735,822,1396,1174,657,405,466,552,850,757,813,1216,794,651,805,1198,1050,791,664,1154,1106,587,491,519,635,880,1009,1078,1022,997,888,1418,1558,1014,638,455,398,364,495,642,598,491,498,622,690,518,412,672,846,554,349,847,1314,644,481,800,848,644,739,576,424,491,1104,1538,1516,1284,833,774,1011,1174,1100,1448,1580,1334,894,929,963,1202,1136,1090,1148,722,460,544,679,768,844,932,874,1011,1328,1418,739,524,1021,1178,999,1394,1428,1496,1074,642,674,965,891,882,740,676,1246,1448,982,442,595,1036,1296,1158,861,834,919,1076,1352,1126,909,1120,1084,842,505,526,756,943,683,775,614,568,766,775,595,516,533,750,872,916,1005,825,635,872,797,664,733,715,924,1078,1316,1598,1110,791,865,1100,774,357,330,305,471,657,794,987,1042,1076,971,750,962,822,559,630,1001,1296,1290,1260,1318,1284,1212,1158,1164,1156,1204,1070,1276,1234,839,796,859,856,1088,1220,1086,1218,1288,1276,1376,1246,1338,1248,1052,1034,1230,1112,1068,1152,1558,1488,1094,1210,1136,544,466,605,599,971,1816,1528,1390,1222,577,683,875,1034,851,1306,1424,1240,982,1128,1252,1244,1278,1220,1046,1150,1448,1296,1316,1098,631,695,1344,1138,1310,1416,1000,759,1064,1122,1122,1274,1256,1252,1168,663,626,1094,1232,1024,1340,1570,1222,1066,1296,1344,1164,1302,1250,1218,1020,1162,1104,735,521,524,498,403,783,1610,1066,593,356,365,342,357,423,418,419,427,432,415,404,386,477,525,468,546,639,636,460,390,451,482,557,621,633,666,590,581,455,408,400,428,446,350,722,908,633,555,658,684,678,607,551,386,389,385,450,1038,1300,1186,972,995,1406,1592,1606,1202,881,737,546,604,799,1188,1290,1300,1156,1210,1224,1106,1438,1776,1832,1518,1088,1166,979,611,379,368,353,318,346,401,395,417,498,462,371,436,661,789,885,828,746,729,698,686,530,334,360,469,473,554,550,418,423,477,488,491,426,351,567,1036,1196,1482,2092,2308,1710,1268,1050,1078,1346,1904,2112,3694,4432,1718,634,645,820,922,747,568,758,757,599,565,1186,1576,1200,661,411,374,403,408,402,530,466,628,654,455,332,340,318,310,405,816,1042,1020,1418,1516,1268,1248,1250,1566,1914,1356,956,526,718,1292,1052,437,465,513,386,320,414,596,773,901,918,980,1094,1072,1094,1116,933,464,354,346,357,321,343,404,411,393,380,360,386,445,487,491,428,424,415,372,327,291,291,568,815,653,682,349,302,365,372,320,272,266,264,281,362,523,987,1086,511,408,385,376,390,398,393,398,379,356,429,558,555,498,475,382,371,361,389,371,355,336,341,365,336,456,545,464,537,626,733,833,830,779,937,1012,1166,1518,1520,1392,973,432,314,325,283,259,269,305,249,425,708,1212,1352,879,568,641,800,1172,823,515,620,1134,867,923,1110,875,644,601,982,1216,1182,1306,1352,1372,1198,1120,1066,1144,1222,996,1068,1006,418,580,1166,1005,811,603,697,922,573,327,323,399,788,1138,1046,969,1130,1282,1062,976,1194,979,1072,1244,1042,1042,1184,1134,959,671,664,871,931,1030,1108,1300,1124,987,977,709,639,808,904,803,1042,974,1262,1044,1098,1015,868,828,623,661,828,728,883,965,1032,982,902,874,791,832,1040,1066,1026,1076,1334,1444,1432,1554,1468,837,667,830,914,839,977,935,618,448,921,1310,1568,1802,1754,1466,1512,1490,1586,1550,1498,1316,1468,1352,1015,1072,1278,949,1040,949,681,1018,1226,864,852,1002,1144,1066,796,520,485,500,672,760,644,1028,992,842,493,927,1454,1188,809,667,465,328,346,344,300,285,262,250,267,317,347,376,413,419,495,693,680,410,304,408,586,828,1330,1262,1078,873,901,1032,855,703,604,440,488,524,509,714,579,478,462,390,529,835,691,362,377,443,582,433,395,411,376,373,347,319,348,369,308,306,330,336,317,293,286,279,302,354,409,401,369,365,376,401,456,465,472,482,470,418,389,358,314,309,311,300,305,321,337,360,349,459,524,379,387,372,361,333,318,327,328,306,296,288,289,304,328,365,483,583,643,445,270,297,351,359,297,251,255,262,268,284,273,278,269,256,290,368,365,329,321,305,331,352,312,303,311,310,278,289,298,293,295,300,300,293,303,377,532,548,572,622,665,650,698,727,689,609,543,539,562,584,580,609,1054,1398,1372,1440,1430,1458,1616,1666,1714,1900,1736,1714,1452,1428,1742,1626,1506,1548,1310,1244,1334,957,713,630,384,437,765,1260,1044,532,455,596,594,566,930,1220,648,405,579,687,1046,1214,1300,1058,1742,2034,1708,1334,1082,1588,2036,1466,1310,1266,1198,843,506,840,717,1036,946,612,450,401,564,854,931,674,543,566,339,322,344,416,324,282,309,298,309,385,702,969,824,571,680,1068,1166,1274,1308,1200,963,971,1096,1182,1138,1102,1140,1236,1056,761,644,692,854,1136,1354,1266,1030,886,886,622,697,587,757,693,495,419,404,355,366,398,375,311,310,466,479,509,755,1244,1088,957,797,649,647,576,392,381,374,402,517,574,563,572,531,447,270,194,180,250,277,243,245,267,243,225,282,346,540,592,379,291,289,253,205,208,219,228,295,366,349,307,240,375,444,311,250,265,270,413,738,1016,878,542,1012,1248,1122,1018,1070,1186,976,1146,1024,658,1023,1042,445,449,621,637,345,292,377,621,974,1034,751,1218,1314,775,843,453,429,519,713,972,1042,1354,1174,1356,1532,1500,1528,1352,1023,815,716,664,925,635,485,491,420,517,604,453,344,626,794,595,501,539,490,432,346,362,505,456,494,683,801,725,516,466,561,578,914,983,498,350,502,559,570,890,916,940,1294,1032,557,340,402,458,492,574,583,780,815,661,496,594,634,339,361,530,525,660,847,670,721,618,480,372,305,237,326,466,438,398,325,273,284,284,341,410,334,277,337,446,545,647,564,481,597,880,940,1210,845,639,1148,1168,1134,1332,1440,1194,1030,993,753,636,1009,849,880,748,675,584,514,818,988,583,368,401,604,766,638,885,673,514,417,896,1158,1064,852,1130,1540,1382,1626,1174,843,658,407,381,341,337,484,790,1042,1178,1368,1106,725,633,688,575,508,397,346,392,516,860,1074,1074,1064,1188,1126,1266,1290,1428,1392,1158,1028,1084,1172,1148,1302,1034,581,819,1258,1164,567,718,1134,1350,1360,1520,1196,811,608,598,648,616,669,396,332,385,357,383,533,936,1186,811,496,422,340,295,312,320,299,328,362,311,282,281,254,285,297,262,276,317,364,470,613,706,822,940,807,705,927,940,694,1732,2834,1112,1122,1426,1282,1064,1262,1320,1348,951,879,822,550,992,1100,546,607,1272,1468,1542,1408,1324,1628,1780,1746,1426,1028,971,995,1040,1378,1458,1532,1490,1526,1502,1498,1494,1544,1566,1144,967,1252,959,573,568,940,937,607,465,571,655,600,683,891,1026,1168,965,542,511,691,597,655,419,366,356,463,481,412,382,349,349,530,917,698,796,1024,1152,1218,1184,1308,1074,834,929,894,670,643,602,406,327,308],[348,342,350,357,376,402,645,891,1124,1260,1244,1104,1052,1038,816,461,482,436,385,391,486,440,409,382,320,242,212,197,255,253,648,1188,700,677,875,835,722,749,580,448,458,431,481,530,540,627,635,600,795,1140,1218,1800,1476,923,985,1224,1328,1054,1250,1612,1944,1152,645,534,959,1334,1406,1382,1416,1188,789,646,726,878,621,802,884,821,893,984,1104,791,592,541,497,487,402,276,309,295,248,346,1196,949,547,455,611,513,434,585,1118,1180,791,936,911,607,481,448,520,519,430,412,373,403,454,392,421,516,568,372,273,276,324,354,391,460,746,1296,1408,1360,1310,1146,1240,1528,1864,2062,1494,786,457,338,287,293,293,318,388,549,672,752,626,503,486,397,661,1056,1012,951,1154,1114,803,890,906,1208,1172,1208,1632,2448,1864,853,778,900,1138,756,793,1112,1128,980,1056,1446,1738,1360,1142,753,523,495,443,581,591,396,399,542,478,396,443,477,911,1414,1420,2264,2504,1704,1238,996,1144,1054,1128,1486,1086,759,1104,958,560,764,922,777,695,441,334,309,373,695,1050,1188,1158,648,394,776,1206,1104,760,708,731,554,588,645,1126,1194,1016,849,563,872,1792,1932,1092,1012,1208,1174,933,1130,880,736,1136,1266,1078,885,632,496,628,890,1238,1272,1122,742,586,959,1652,1588,1340,1222,632,357,387,395,391,351,411,689,1274,1148,875,836,1120,1366,1176,1268,2126,2186,1394,1604,1194,1078,1538,1238,903,637,1572,2264,1376,498,546,689,951,484,501,715,664,563,812,1250,1582,1260,804,750,651,819,703,581,628,699,760,1092,1060,1018,1034,1346,1018,691,596,683,644,404,454,517,465,402,478,521,820,852,590,948,947,623,560,871,1362,815,648,871,1110,907,1048,802,456,497,1036,1418,1400,990,708,1046,1040,1214,1532,1358,905,882,807,924,1048,1106,1030,1344,1676,1012,703,954,1222,1064,858,785,1028,1220,1017,805,613,464,656,1162,1266,1332,1216,1038,873,897,891,1012,1096,1230,1124,932,1354,1312,972,694,755,808,1110,939,1088,1466,1288,1246,1166,882,919,909,783,669,449,479,642,672,731,728,609,518,516,553,530,535,843,1354,1102,896,610,526,844,1214,832,884,995,450,393,485,905,1636,1700,1440,1318,1278,780,408,327,260,483,861,970,854,944,1330,1230,854,908,866,689,814,1018,1104,1204,1210,1324,1528,1088,771,1284,1330,1430,1428,1268,1098,1062,1162,1274,1070,1078,1154,1124,1068,1194,1206,1332,1158,1144,1248,1242,1166,1106,1454,1338,781,1016,1172,704,771,727,728,718,747,749,892,1078,1020,1428,1606,1248,959,823,950,891,1146,1206,1276,1060,1294,1222,979,1288,1230,1084,1228,1388,1015,896,832,652,654,1136,923,697,1086,1126,1004,1210,1164,1266,1382,1328,1448,984,778,841,1046,1136,1126,1424,1476,1302,1134,1374,1474,1206,1218,1216,1096,1028,1184,1304,1011,916,816,838,697,644,811,604,456,371,345,414,543,491,376,425,472,448,379,334,356,403,468,455,592,639,505,409,393,423,505,544,442,604,697,525,505,464,411,415,484,495,388,490,539,526,433,413,456,552,612,524,419,429,448,401,797,1182,1086,1276,1130,1288,1500,1606,1512,1136,816,694,617,836,1088,1182,1206,1282,1312,1212,974,1286,1626,1576,1540,1508,1420,1330,849,418,355,312,312,402,523,485,562,570,552,520,555,624,730,824,764,683,739,678,661,504,336,386,541,567,587,477,574,613,548,622,568,401,547,962,1298,1362,1566,2176,2784,2354,1384,929,920,1106,1218,1644,2360,1874,940,571,572,730,685,856,910,941,959,811,1082,1552,1786,2398,1356,688,568,543,523,454,587,601,648,799,685,407,389,370,393,665,1144,1044,973,1262,1604,1358,1034,1264,1716,1794,1660,1398,849,1110,1526,1340,539,338,409,528,609,680,785,954,987,719,752,827,752,617,522,515,375,332,331,324,318,343,387,382,433,491,515,570,443,448,482,452,433,481,512,434,338,273,505,794,872,756,395,319,284,247,248,276,258,230,266,290,316,443,459,356,382,401,405,398,390,383,385,383,364,376,475,742,727,386,306,323,329,348,367,366,312,290,324,400,568,678,479,473,512,791,1368,1386,916,795,783,1000,1178,1256,1390,1212,786,350,290,286,313,308,326,314,352,756,1418,1426,1134,1052,1190,1540,1798,1562,993,1120,1064,637,840,1114,1064,1006,822,921,1078,1226,1300,1430,1394,1348,1292,1296,1194,1088,1128,1226,921,428,327,434,604,904,871,635,571,463,312,364,768,1288,1368,1224,1410,1272,1610,1544,1104,817,743,806,1062,1064,1036,1296,1108,535,521,524,758,908,984,1036,951,731,697,590,920,1048,974,1036,737,935,901,1086,1332,1426,1356,1120,814,552,615,788,515,731,883,922,750,797,856,788,786,954,1040,972,896,1005,1366,1594,1534,1376,881,860,1168,1198,1154,1114,1052,855,792,930,1062,1480,1732,1666,1316,1296,1194,1280,1056,923,1172,1548,1436,1128,1300,1444,766,1138,1058,944,1002,1036,1146,937,996,1210,1312,1220,559,691,946,1116,1108,824,698,527,487,445,878,1204,1126,1306,1011,714,412,294,294,348,303,352,356,341,347,395,398,340,400,369,385,411,371,419,371,575,1102,1184,938,1010,1036,946,937,904,952,758,651,598,502,384,306,291,314,349,338,497,805,662,361,339,430,585,493,400,367,374,375,367,361,380,373,304,305,297,289,289,281,297,302,285,285,307,318,320,328,346,395,479,453,464,480,409,321,299,321,329,329,325,316,309,306,291,329,345,508,405,360,377,342,331,313,321,376,372,358,354,276,278,300,298,281,348,410,426,340,263,274,341,390,309,298,270,280,286,292,297,307,323,316,335,389,374,370,313,316,325,341,310,298,309,303,286,274,276,284,293,293,290,293,292,397,634,613,523,591,662,678,681,693,613,493,428,443,453,463,545,537,578,1568,2052,1494,1380,1356,1140,1224,1396,1760,1676,1598,1326,1650,1878,1362,1260,1388,1028,940,1060,1050,1106,996,658,493,430,462,472,444,429,458,682,963,1266,1058,718,499,400,415,664,1001,1060,866,1128,1304,1338,1404,1434,2020,2522,1460,1080,1192,1126,810,651,763,808,946,656,481,381,349,439,605,595,747,1130,1009,527,387,386,348,301,308,332,332,297,385,814,1126,1100,1048,919,775,790,780,853,1013,950,904,905,1192,1088,979,876,1007,860,844,944,900,705,911,1252,1148,1112,990,1310,1062,968,718,955,677,517,684,608,428,390,363,353,329,303,566,651,569,788,1074,817,591,636,728,810,617,354,370,377,362,488,667,731,747,520,275,213,283,384,331,267,232,226,218,226,244,262,254,439,524,384,320,357,371,266,235,237,301,358,302,277,274,193,495,725,539,462,443,337,414,634,818,708,560,955,1240,1224,1066,1020,828,818,1072,1028,791,713,443,499,325,257,380,376,343,357,433,681,660,915,1544,991,879,974,479,445,482,517,974,1194,1166,1032,1210,1362,1396,1384,1012,709,696,803,980,1316,758,500,519,575,703,705,573,493,635,659,569,655,647,370,274,278,323,381,376,421,552,552,539,929,1318,1058,582,655,547,343,293,344,699,1202,1148,928,1066,1268,904,464,316,391,535,614,624,572,604,691,664,536,608,769,460,531,874,677,774,916,872,557,385,363,301,303,288,319,360,368,417,305,270,289,288,275,313,420,375,269,242,315,515,775,752,800,866,908,973,905,960,1122,1156,1260,1392,1384,1116,837,678,783,579,612,657,832,836,733,628,527,767,839,598,419,365,403,601,854,1080,957,786,687,880,1090,975,594,918,1342,1366,1350,878,1338,1150,545,560,694,644,739,794,861,1094,1120,845,525,485,719,665,566,501,805,996,854,1136,1500,1588,1134,1272,1560,2172,1734,1510,1374,1114,929,1136,1302,1086,897,664,458,566,1042,1318,972,957,1182,1236,1198,1160,1012,678,549,447,383,440,569,520,397,495,637,864,1048,1180,1136,727,446,451,370,315,372,306,328,373,368,310,322,337,270,273,343,363,332,341,354,280,425,539,473,631,852,1001,1114,979,804,1324,2422,1208,1192,1310,992,1320,1406,1228,1158,941,1226,1080,656,600,608,655,1062,1338,1324,1124,1118,1276,1394,1632,1864,1494,764,704,1180,1396,1078,1102,1318,1462,1418,992,1062,1346,1496,1520,1396,1302,1021,609,443,658,960,827,655,753,624,441,491,469,584,905,1046,1010,630,808,908,954,847,532,386,474,621,432,393,401,377,386,558,1176,915,1050,1356,1346,1056,922,1184,1268,946,846,931,760,639,634,491,343,284],[379,406,385,355,404,416,521,948,1226,1312,1216,977,1060,1088,1190,927,784,486,389,433,538,637,680,715,667,305,250,212,210,246,411,583,535,595,876,805,658,636,529,461,417,343,392,570,552,591,689,630,868,1246,1060,814,948,782,601,671,932,1034,1160,1450,1316,1016,705,541,676,1086,1286,1056,884,696,594,769,659,751,825,1018,735,505,595,916,1120,982,763,435,535,448,343,324,339,355,323,378,1082,1042,515,456,365,355,401,430,899,1060,743,849,715,423,376,415,414,366,284,250,336,433,441,357,395,471,412,246,213,316,428,457,419,434,886,1422,1366,1352,1216,1168,1576,1912,2038,1816,1208,724,503,375,308,290,264,298,398,522,566,647,615,481,426,414,554,918,1168,1002,922,1054,872,1130,1054,1380,1222,1332,1528,1872,1398,987,1150,719,785,462,848,948,1146,1028,950,1542,1548,1166,1070,753,458,433,377,428,603,562,482,439,375,367,462,512,661,1266,1582,1534,1592,1624,1194,1074,1034,836,948,1019,904,937,1356,1190,788,956,960,946,1072,513,362,514,502,473,653,1140,1306,789,438,590,759,1002,843,870,1208,825,691,814,905,843,1120,938,545,811,1074,1218,893,978,935,956,791,1156,1402,995,1050,1340,1060,705,843,925,979,935,1062,949,977,1002,884,988,1468,1450,1104,661,387,389,419,397,318,316,485,449,575,617,500,473,687,1212,1274,1028,1482,1732,1664,2118,1888,1472,1562,1394,1142,945,1364,1860,1202,531,715,711,778,781,681,575,566,622,1042,1460,1620,1280,962,810,801,757,818,1256,948,888,970,1082,912,892,1050,932,825,881,890,1150,1412,946,626,496,374,311,481,576,1182,1186,799,1148,1424,1178,832,1018,1494,1934,1126,939,1370,943,651,642,571,647,670,949,899,573,601,951,775,921,1094,994,882,912,1028,1002,844,1010,1194,1238,1640,1422,756,761,871,625,660,744,692,515,390,508,669,967,890,1058,1056,822,967,677,532,839,990,1062,1192,1326,1416,908,1002,1086,854,834,976,613,666,762,879,1150,1062,915,888,869,906,669,478,539,617,634,584,730,917,753,572,404,409,496,572,631,1072,1236,973,829,829,736,930,972,427,620,740,395,310,492,1046,1578,1574,1700,1644,1352,891,642,633,614,767,1308,1072,780,881,1310,803,689,884,1016,844,805,834,965,1472,1718,1490,1704,1110,1124,1340,1274,1222,1050,790,933,1196,1538,1668,1194,819,772,1156,1432,1144,1150,1340,1304,1164,1166,1426,1328,1148,1178,1070,914,1106,1202,778,662,634,1116,1160,981,912,882,938,1412,1762,1676,1550,1196,760,719,773,945,1348,1372,1140,1092,997,1056,1126,751,1052,1318,1244,1158,1282,1338,1122,938,810,561,455,548,831,1118,1082,1048,1320,1304,1322,1220,1024,1256,1296,1172,852,836,880,1114,1016,1088,1264,1280,1364,1646,1452,1266,1136,1262,1548,1084,1110,1228,983,1082,874,628,633,554,399,365,483,631,576,359,391,410,425,368,334,338,414,471,484,628,538,385,426,449,509,544,573,589,811,897,890,769,580,421,354,385,371,374,398,357,379,443,481,566,519,491,449,439,471,471,401,655,867,948,1412,1168,1180,1246,1726,1916,1448,1092,818,543,579,966,1290,1064,999,1378,1384,1418,1542,1492,1274,1478,1804,1900,1686,1016,440,346,378,376,480,604,533,656,602,446,426,458,570,725,816,863,785,740,582,529,442,338,396,539,586,481,545,774,747,696,583,455,550,1010,1270,1482,1568,1716,1882,2196,1830,1166,1144,1164,1048,1046,1184,1252,1042,613,398,501,544,684,1134,1492,1530,1344,1306,2144,2078,1754,1760,1420,1026,700,528,480,373,403,551,774,843,780,544,502,420,368,780,1174,1282,1256,1132,1482,1692,1436,1476,1504,1490,1326,1178,1462,1560,1460,1318,789,501,756,869,550,427,503,669,583,448,553,642,603,582,528,413,345,322,317,340,398,415,380,340,447,532,492,425,390,459,508,505,450,434,499,439,343,251,377,439,550,378,296,315,262,257,276,248,255,303,361,347,323,333,342,365,398,420,432,418,386,389,392,394,401,389,396,613,639,498,379,308,316,301,282,290,292,280,285,326,551,799,651,481,657,1220,1638,1320,948,938,977,1258,1356,1158,1106,1248,1070,558,536,541,383,359,343,304,305,477,902,1056,994,902,1186,1482,1736,1912,1622,1284,901,688,1050,1076,930,785,1086,1110,1316,1328,1316,1274,1262,1240,1152,1172,1088,1102,1242,1166,1124,720,395,406,980,1114,924,1034,1002,777,491,601,988,1030,818,965,1316,1176,1512,1470,1062,1158,1042,796,915,1312,1154,904,701,718,810,653,765,1005,1138,1226,1036,825,653,724,1210,1174,1222,1472,899,742,763,882,1180,1398,1434,1380,1230,916,619,686,720,785,832,825,643,669,746,661,579,719,896,927,634,659,1154,1372,1132,1032,793,1106,1392,1258,1098,970,769,783,1360,1478,976,1416,1738,1612,1302,1388,1310,1332,1344,974,930,1452,1342,1148,1164,956,1018,1388,1023,941,1052,1013,841,771,1148,1450,1562,1554,779,713,1210,1246,761,614,536,351,409,695,1007,1100,1130,1332,879,655,542,332,276,340,441,663,678,416,346,351,384,355,337,295,268,299,386,512,550,876,1202,1192,1200,761,474,544,752,841,996,896,858,691,488,379,321,328,369,334,322,355,470,381,329,319,395,547,513,402,365,336,362,378,403,405,371,300,297,309,302,289,291,310,295,293,308,328,325,310,308,375,438,480,546,784,669,394,267,307,328,333,340,341,331,323,371,348,351,438,512,377,354,355,307,331,305,317,372,385,427,454,416,336,308,289,285,291,291,303,297,293,312,374,403,374,334,301,314,317,300,288,309,344,317,318,383,372,404,343,341,361,384,349,327,326,294,281,290,297,294,287,282,281,291,286,310,429,408,408,510,542,550,516,516,455,379,381,402,433,450,553,601,503,1110,1838,1594,1528,1322,1062,957,890,1216,1230,1136,1500,1948,1776,1472,1484,1366,1350,1056,890,1102,1334,1250,1134,844,469,375,459,539,469,462,943,1538,1436,738,535,469,379,323,1262,1408,799,714,865,1242,1418,1586,1614,2920,2732,1610,1184,1180,1126,742,861,949,844,713,479,503,421,368,398,537,630,1001,1044,737,519,420,400,379,331,346,351,350,300,337,636,765,1011,1013,878,725,551,455,760,1236,1132,1112,1106,1062,720,848,775,823,1150,1190,1190,1338,911,646,1086,1118,910,1072,1042,967,706,727,960,591,638,1142,1158,952,594,430,372,321,287,504,532,377,625,1238,1078,542,656,648,623,634,419,354,330,332,395,594,552,483,460,379,240,263,336,290,221,224,211,222,245,258,249,212,271,355,375,371,436,500,353,258,308,429,293,196,241,288,252,420,475,498,755,626,324,348,445,676,856,836,992,1004,861,1084,1015,484,497,661,830,705,716,545,367,270,318,364,337,403,438,636,893,650,1136,1616,1046,1160,804,440,403,455,409,517,930,1178,1086,1184,1204,1122,882,544,411,361,399,703,851,693,656,571,539,649,584,524,511,529,498,426,572,442,336,333,315,325,415,477,587,549,629,885,1630,1522,804,479,368,340,408,432,342,794,1436,1108,933,822,1094,1124,643,293,278,439,555,557,539,514,545,671,687,541,763,592,438,493,661,680,611,601,596,689,554,422,378,353,287,309,389,381,272,259,334,338,273,336,386,359,303,293,289,337,655,858,791,971,945,721,953,1302,1158,920,1114,1140,1118,1266,1324,903,716,630,700,983,1007,679,575,540,567,716,1218,1150,557,429,568,580,700,1007,1354,1152,602,708,1052,1064,802,736,988,996,681,768,874,658,552,744,898,683,845,610,500,653,592,534,340,346,519,494,428,665,1098,1050,733,993,1348,1144,893,1140,1542,1714,1640,1672,1406,1054,1076,1238,1288,839,717,516,543,563,843,987,987,1030,1072,1120,901,915,783,495,456,485,523,492,793,625,569,1000,1038,972,1164,1300,1178,841,474,433,352,309,356,370,365,370,343,265,300,387,325,260,312,346,332,301,332,365,420,601,807,847,775,975,1298,1098,1048,1011,987,995,1246,1190,890,965,981,1010,822,733,1284,1330,1130,985,600,733,900,632,676,660,868,1070,919,1384,1762,1510,742,899,1070,1312,1152,1318,1438,1488,1168,814,802,951,1326,1352,1310,1050,735,572,501,583,581,544,941,1096,498,308,383,416,528,666,929,1298,1234,1136,754,633,592,567,439,563,522,516,443,404,434,424,433,767,915,1142,1272,1406,1414,882,1036,1542,1072,730,965,611,511,639,614,446,325],[453,437,389,329,370,453,588,824,1180,1332,1020,703,758,748,1008,1236,974,555,354,361,561,677,766,1136,1086,385,235,229,245,221,442,958,1208,1162,941,595,491,449,465,569,404,358,364,495,484,476,536,526,632,1274,1352,940,1074,1044,828,1080,1168,858,649,769,639,528,619,610,493,818,1280,1006,576,439,610,789,649,681,835,803,509,443,658,1192,1518,1562,1252,703,883,916,768,437,435,667,650,412,940,1230,855,987,548,404,360,414,730,854,648,783,767,463,370,375,349,305,303,332,434,436,375,301,363,385,341,272,245,287,350,378,358,327,543,1128,1334,1426,1262,1246,1560,1650,1518,1420,1152,753,521,383,315,286,292,309,386,503,589,585,501,451,422,404,428,628,916,1136,1108,979,1184,1238,1116,1278,1312,1306,1062,499,503,713,669,449,420,441,851,1122,1130,967,963,1058,946,669,760,561,512,440,458,443,497,515,534,468,399,336,404,605,1124,1948,1676,1676,1582,1266,1210,981,1084,985,713,597,622,843,1032,1164,1144,1028,605,534,623,440,365,540,544,518,589,722,785,722,781,937,1058,1318,1076,1130,1266,910,948,808,680,1256,1532,880,672,710,675,912,992,1156,1154,1108,895,1284,1456,1394,1272,1118,954,979,1208,760,551,897,1330,1140,1172,1310,1156,995,985,938,722,415,436,404,455,479,441,469,571,585,824,973,530,400,471,676,951,1338,2030,1318,1158,1858,1888,2106,2214,1560,727,982,1512,1316,777,585,683,919,673,882,809,550,505,791,1236,1142,938,1508,1316,1274,1168,689,1198,1744,880,686,944,862,825,827,763,778,880,1134,1272,1348,1980,1604,1342,803,382,363,441,629,872,858,1082,1212,1620,826,494,683,1072,1234,956,1132,1278,709,555,619,616,798,663,576,576,437,568,979,1172,1094,1284,1392,1164,1538,1414,807,606,916,1174,1508,1688,1224,648,522,549,631,811,742,738,555,735,691,786,863,738,704,725,551,479,446,536,783,953,1084,1294,1378,1266,878,898,1072,921,818,790,831,1102,932,794,1186,961,585,553,660,714,495,314,455,711,675,451,480,597,547,502,348,577,767,744,813,1188,1130,1074,1162,1216,1146,1166,1324,571,371,384,314,350,348,637,1172,1546,1676,1744,1660,1480,1206,907,678,971,1602,759,558,1136,1588,1110,607,737,962,868,644,692,1080,1562,1808,1542,1252,975,979,1376,1486,1354,1178,930,1240,1328,1644,1236,932,712,982,1316,1034,940,1180,1260,1428,1546,1242,1134,1184,1282,1348,1216,1178,1098,780,711,664,576,710,1112,1240,896,938,930,1402,1756,1616,1512,1052,787,859,759,973,1470,1302,958,846,1066,862,626,436,800,1074,1052,964,1110,1242,1284,1228,790,529,519,496,634,692,965,1005,1078,1192,1256,1226,1482,1606,1510,1132,854,897,950,1040,824,974,897,840,1250,1464,1156,1122,1302,1362,1216,1216,1100,1178,1178,1198,1124,998,791,615,450,380,471,485,368,335,355,333,321,299,323,351,446,485,560,597,419,371,402,473,636,614,544,664,848,861,854,850,732,513,497,496,318,332,375,328,377,524,485,504,492,408,428,425,428,404,434,603,604,872,1066,961,948,1062,1486,1790,1676,1388,958,619,713,1198,1472,1458,1500,1628,1396,1352,1492,1614,1448,1558,2160,2182,1590,1062,572,485,413,364,383,482,527,698,612,370,390,400,461,639,827,891,821,653,478,409,357,315,340,444,471,421,525,652,630,543,445,420,744,1120,1310,1464,1562,1732,1780,1680,1380,1158,1330,1546,1206,1022,1015,954,738,522,393,449,632,728,888,1528,1750,1998,2282,2742,2386,1988,1700,1644,1628,1276,781,468,358,353,389,505,523,514,475,608,536,426,787,1100,1007,1046,1154,1162,1674,1788,1418,1498,1518,1134,1286,1564,1568,1426,1390,1118,672,1152,1254,595,512,433,405,365,334,356,537,635,628,533,413,380,321,331,337,413,421,478,615,574,515,498,415,381,451,516,510,419,370,435,396,375,318,322,391,362,324,328,324,293,282,285,330,339,363,400,396,367,367,375,380,397,415,425,412,401,411,411,405,396,411,422,411,581,702,513,341,322,327,315,290,303,275,276,320,588,781,666,608,811,1116,984,661,604,835,1222,994,960,962,1019,1312,1220,898,915,955,699,332,381,608,666,378,511,988,948,1122,1272,1324,1518,1534,1334,1234,1178,1154,1166,933,998,1100,1310,1146,891,1140,1326,1100,1194,850,558,847,1194,1186,1312,1246,1340,816,417,456,852,980,980,1198,1352,1490,1144,1009,880,642,486,464,750,796,852,990,1032,1114,1218,1120,857,1154,955,625,480,593,705,894,758,760,1310,1440,924,920,619,834,816,781,896,786,543,762,1040,880,866,1282,1246,1240,1202,857,746,803,1170,1038,940,888,575,505,493,476,434,702,1158,1270,1000,897,937,1070,1078,1048,1082,1100,1100,1166,1220,1180,741,793,948,1414,1634,1458,1626,1672,1426,1368,1250,1222,1144,697,757,886,921,1164,1280,1024,1442,1444,1222,1100,1058,1160,980,961,1304,1298,1240,1274,884,529,810,882,510,560,634,601,938,1078,1114,1332,1266,894,621,979,1017,562,412,529,697,973,1054,486,347,298,310,381,351,319,319,314,420,713,929,947,891,1094,1572,850,493,400,661,904,1126,874,652,533,420,377,334,341,449,343,308,312,361,331,318,329,355,458,485,409,432,425,396,351,333,318,294,282,299,313,303,293,307,322,293,339,330,339,344,335,324,333,367,430,498,604,718,602,290,334,323,328,342,365,387,404,452,391,493,655,462,354,391,341,311,333,299,329,331,393,446,464,464,455,393,319,312,279,283,291,300,309,330,390,414,420,377,331,334,346,332,292,307,314,283,305,370,374,372,347,363,409,438,393,341,319,302,303,310,301,294,289,287,281,280,299,307,305,317,345,333,379,494,474,412,323,355,371,358,369,412,525,585,455,786,1660,1610,1400,1294,1460,1490,1340,1012,866,1390,1914,1590,1314,1652,1776,1734,1414,1054,962,1098,1170,1164,1258,1132,772,507,547,568,418,623,1478,1692,1386,1310,1068,669,513,459,1160,1138,387,440,750,1182,1634,1388,1022,1576,1708,1402,1324,1658,1610,1154,1244,1594,1218,683,502,421,385,385,381,456,730,988,781,534,407,390,529,661,446,461,504,570,487,542,865,874,1082,894,464,545,639,686,1054,1378,1358,1414,1278,979,584,693,921,1254,1598,1448,1236,1370,979,625,1090,1152,753,879,1134,1188,804,731,814,673,706,681,866,907,884,771,658,427,275,460,486,338,444,845,833,515,665,687,750,696,418,296,296,282,420,461,357,436,578,449,223,237,228,249,273,276,253,251,243,261,272,267,325,416,453,481,403,436,412,388,430,348,230,256,296,288,327,318,299,345,587,657,406,346,492,452,851,1048,706,559,724,951,843,663,580,679,541,472,534,437,294,248,281,292,343,415,601,1152,1316,742,703,1022,1322,1026,562,435,362,366,450,453,532,805,1258,1258,1030,921,859,594,333,237,252,274,303,513,821,723,419,397,363,365,515,853,1172,944,597,500,479,358,336,472,592,474,614,550,767,1402,1672,1096,626,499,394,337,371,420,433,778,1176,792,582,566,805,809,435,221,227,335,443,464,532,586,559,576,694,695,699,577,436,368,422,389,423,604,1000,1260,771,455,446,349,317,327,355,379,292,319,543,478,466,404,313,266,290,311,277,355,655,835,791,746,651,746,1024,1334,1090,1022,872,965,1000,1282,1326,899,638,791,996,935,864,568,514,628,769,710,1248,996,453,421,551,471,481,904,1252,1002,482,622,1000,886,615,550,924,712,546,772,733,728,713,997,1538,819,839,626,484,582,545,408,335,324,463,616,645,581,901,1028,999,927,810,608,572,742,1122,1252,1288,1538,1272,1044,1302,1330,1190,600,458,448,893,816,601,1018,1384,1072,1190,1342,1156,786,573,534,416,485,629,769,729,456,714,1258,1168,826,927,1052,772,867,698,467,360,329,379,430,396,399,343,276,334,380,288,290,369,356,350,525,967,975,822,1076,1108,872,1004,1090,1048,825,1038,1282,1156,1086,1224,1190,913,877,960,995,829,1144,1384,1438,1210,1290,944,777,612,467,573,876,946,572,524,1292,1678,1696,1312,1228,1152,1290,1500,1538,1438,1266,1028,1098,1070,948,1286,1326,1418,960,830,670,470,628,641,741,1374,1032,393,329,361,476,563,591,1030,1100,850,734,823,763,656,680,502,565,492,540,403,420,501,457,529,540,719,1142,1200,1292,1272,700,622,1056,1146,915,1021,787,543,544,653,838,605],[714,495,468,678,694,501,569,542,1034,1462,1062,555,484,630,637,536,479,444,363,357,532,481,412,452,391,283,232,229,222,212,614,1554,1854,1510,1084,582,439,457,565,740,518,419,445,552,488,393,434,402,460,739,984,1028,1204,1530,1220,1322,1104,518,323,447,440,394,560,662,428,546,1050,905,551,402,607,622,576,860,921,618,631,827,893,1400,1642,1664,1268,854,963,980,762,602,654,1048,1172,835,875,1384,1048,1114,659,446,360,410,491,534,512,644,548,277,307,365,388,280,310,339,384,375,357,346,335,344,317,287,370,396,412,320,304,307,296,864,1364,1334,1092,1152,1472,1582,1478,1504,1232,697,508,401,342,348,324,289,362,483,545,519,462,525,717,458,364,431,499,564,812,1042,1184,1362,1532,1290,1128,1260,1242,821,669,509,478,534,486,354,428,761,859,1021,1212,886,603,504,617,579,645,523,420,388,404,451,477,447,375,370,472,916,1444,1858,1582,1652,1556,1238,1132,1112,1146,974,855,1246,1210,913,1066,1266,1100,898,603,705,808,590,397,376,384,445,464,647,967,1136,1046,1052,1138,1334,1128,1190,1278,1162,1160,896,944,1126,1242,600,621,855,952,1168,1088,844,1310,1346,1054,1218,1290,1322,1026,956,935,910,667,339,253,446,779,912,885,910,760,511,454,571,455,416,362,398,521,474,455,546,583,725,1306,1708,775,505,589,731,1044,1394,1896,1280,1288,1636,1428,1188,1998,2142,1658,2152,2090,1042,971,951,1198,1260,719,492,530,503,496,759,1126,692,654,1278,986,1038,1132,1046,1794,1476,625,969,1372,1108,865,736,853,650,452,614,903,1434,1830,1812,1686,1072,630,612,591,826,647,799,1172,1186,1128,476,357,402,544,950,1208,1362,1188,857,1102,915,616,1282,1260,565,466,713,993,1126,1178,963,993,1142,1254,1440,1228,943,847,800,1156,1742,1396,943,874,741,631,725,633,612,933,708,955,854,677,543,521,464,430,484,417,396,451,621,948,1140,1378,1424,1238,736,571,853,1048,1142,1362,1782,1928,999,632,800,514,604,756,856,713,397,243,356,440,440,442,463,477,392,419,458,774,1012,1007,1046,1220,1212,1094,939,1150,1019,828,850,493,368,397,386,403,368,589,992,1222,1440,1238,966,1394,1660,1374,1086,1334,1368,667,496,830,1048,890,443,566,899,1202,1354,1158,1322,1454,1310,1310,1076,806,708,1234,1466,1174,1018,832,1098,1116,1482,1008,749,819,1060,1046,847,1070,1184,1064,1280,1792,1516,1226,995,1132,1322,1350,1302,1016,976,1236,1242,946,683,1094,1320,1134,930,662,1024,1544,1454,1114,1064,1198,1130,1140,1210,1500,1278,1210,1100,778,694,623,598,1008,1460,1222,983,1274,1058,1248,957,767,655,525,525,647,643,938,1154,1140,1260,1284,1202,1390,1562,1392,924,991,981,1162,1194,999,840,670,700,1092,1318,839,985,1078,974,867,1208,1124,984,936,855,1004,1044,778,577,628,396,386,376,354,364,365,370,311,266,295,351,414,497,577,516,535,503,512,536,574,590,486,600,758,766,700,628,671,639,599,471,398,368,414,408,405,477,458,560,529,330,393,366,366,400,503,804,961,917,942,944,937,1005,986,950,835,798,630,670,720,885,942,1180,1426,1602,1386,1188,1484,1698,1478,1444,2020,1866,1516,1206,996,678,460,423,487,566,523,592,549,377,417,425,454,556,724,732,616,511,461,360,320,334,341,383,416,425,497,493,517,488,409,605,927,1224,1472,1464,1570,1708,1808,1946,1704,1292,1404,1524,1186,1062,1078,874,554,469,412,501,692,711,650,1070,1252,1878,2350,2398,2240,1952,1670,1716,1758,1244,775,495,379,340,340,380,551,523,390,548,678,584,742,865,812,827,1058,797,978,1344,1600,1606,1360,1172,1422,1398,1214,985,1154,1098,540,755,1118,795,694,469,371,345,339,381,495,587,623,704,554,417,323,330,324,350,464,602,752,605,490,491,409,355,409,457,488,468,457,416,389,398,371,383,377,354,349,349,347,322,322,344,384,360,367,396,315,342,382,357,367,423,433,446,453,451,428,405,405,391,406,525,586,632,705,605,536,469,306,277,261,282,312,424,522,694,894,1214,1350,993,889,598,491,728,1034,1190,819,855,785,780,974,1192,1114,943,863,1154,911,847,835,608,370,628,651,685,1050,1318,1484,1372,1452,1338,1352,1650,1782,1220,1044,1212,1230,1034,708,730,1002,1138,1230,990,819,719,850,1186,1426,1528,1444,1260,943,659,642,746,887,1168,976,1222,1334,1530,1322,1021,1054,969,536,581,669,633,726,534,718,1026,937,808,714,929,1023,1072,1124,1260,1212,704,645,891,944,637,720,533,663,917,1009,825,619,773,1566,1642,881,740,1056,1112,1138,905,768,937,1130,1488,1246,937,801,642,596,534,513,595,935,1424,1476,1228,1282,1350,1202,954,1022,1160,941,918,1332,1226,930,693,974,952,1148,1008,1036,1510,1594,1254,1286,1122,1092,1070,698,971,788,805,1162,1048,1064,1252,1052,1010,831,747,944,1106,1410,1496,1226,880,882,983,628,514,577,536,732,987,1204,1158,955,1070,1268,898,483,656,1003,916,743,629,640,695,731,522,314,263,279,319,316,326,343,343,387,654,949,938,598,541,492,960,776,535,366,420,647,705,544,423,389,345,358,322,341,440,356,305,294,345,392,359,340,365,427,555,571,598,582,445,342,296,276,291,333,361,330,294,298,328,435,397,385,368,376,395,381,356,368,408,450,426,385,492,574,356,395,355,346,358,372,399,407,395,408,684,639,339,406,455,385,345,360,351,372,366,385,422,446,467,427,360,325,300,326,322,312,304,314,322,340,384,445,455,400,333,327,325,298,274,281,269,296,307,318,331,356,386,422,405,364,347,340,347,340,321,307,303,297,302,303,275,278,319,296,277,303,307,368,651,698,528,356,336,331,331,355,379,480,541,427,617,1616,1852,1444,1466,1602,1438,1040,652,955,1588,1936,1942,1920,2014,2016,1896,1532,1156,991,1144,1288,1252,1168,1184,1106,727,512,512,550,765,1266,1236,1288,1394,1216,867,626,603,826,871,568,924,1484,1634,1470,937,659,793,1304,1356,1368,1516,1452,1488,1754,1756,1400,1013,749,675,656,534,497,550,677,794,830,781,583,619,1038,1156,725,602,514,556,508,672,868,941,1270,1158,515,578,1100,1044,1338,1266,1286,1194,1102,952,667,612,1136,1522,1178,808,771,514,449,442,892,1114,832,1118,1604,1424,1254,1023,880,688,579,401,470,502,524,595,781,705,589,498,455,345,384,479,504,504,611,563,487,414,427,409,342,312,290,321,364,495,688,593,285,210,220,245,265,244,228,229,223,232,246,353,495,716,965,1038,629,460,372,292,314,361,323,332,381,300,275,269,360,417,749,847,477,289,282,321,827,1182,845,686,663,580,416,564,690,604,509,543,536,473,310,257,318,299,359,448,651,851,1004,559,318,401,517,396,347,330,276,433,790,681,548,654,1194,993,780,814,1082,875,455,320,308,287,288,329,535,506,323,294,395,785,1108,1460,1492,916,437,422,594,344,327,361,581,467,434,483,745,977,929,686,505,462,356,292,341,316,300,494,630,413,294,332,407,367,271,220,230,286,365,489,636,720,645,495,568,772,630,454,383,330,326,341,399,702,1254,1478,1024,496,340,313,336,395,320,266,292,525,861,658,657,394,307,360,369,301,311,468,703,855,1168,1054,800,781,901,1146,1238,947,1130,1120,947,1148,1182,849,744,1126,962,624,975,746,495,604,745,706,738,587,422,373,402,527,806,907,1250,864,497,640,1080,1082,682,383,630,705,653,679,727,737,688,826,1224,1028,922,771,785,709,525,377,375,441,325,394,713,540,666,1054,1180,800,489,429,633,739,745,983,957,1092,928,1126,1230,1196,850,477,404,364,688,854,925,1448,1672,1372,1574,1676,1936,1152,774,791,720,672,974,982,758,966,871,866,951,949,1030,1013,825,845,828,627,409,351,391,457,472,394,362,275,265,273,387,440,427,423,466,939,1392,1046,1046,946,697,573,672,926,883,835,992,1174,1040,681,606,746,794,1018,1224,1070,1300,1436,1350,1302,1182,1158,983,645,393,409,553,932,873,462,386,1178,1676,1762,1492,1066,1122,1384,1304,1166,1304,1124,1050,1164,1284,1310,1346,1036,1016,1011,718,404,285,306,355,602,1160,732,357,287,321,743,858,678,823,1010,889,811,1258,1278,913,711,703,550,428,413,344,403,438,385,462,568,601,880,1106,1332,973,614,461,751,1166,1288,1122,708,630,558,660,1098,747],[846,608,711,933,1208,927,675,749,965,1302,966,728,796,843,725,575,453,457,563,491,482,466,441,400,340,258,229,223,240,201,554,1278,1622,1498,1015,588,523,574,667,770,726,679,692,666,517,413,460,470,397,374,635,919,1364,1538,1322,1344,1166,687,556,389,305,272,475,666,485,458,819,1023,670,419,590,633,856,1100,1096,913,1082,1340,1234,1510,1310,1092,781,1001,1030,624,362,439,762,1154,1188,882,588,1128,948,1108,1290,847,440,426,504,443,400,443,423,310,355,441,475,313,281,262,296,355,421,462,405,318,371,706,771,715,627,452,391,386,562,957,1164,1142,904,940,1406,1600,1504,1518,1248,680,505,431,340,320,318,300,323,369,381,449,472,466,431,324,361,369,368,548,1030,1332,929,880,1244,877,997,1011,875,905,591,517,847,860,521,514,899,1154,1122,1362,1504,1926,1238,714,622,886,1126,716,355,419,489,417,398,421,400,366,462,1140,1560,1240,1114,1440,1618,1444,1312,1150,870,725,930,1472,1686,1394,1378,1258,1138,898,872,1000,998,678,662,846,831,611,573,853,1160,1118,979,847,601,653,834,1062,1164,1124,1144,939,869,1010,1274,800,637,769,902,1152,895,684,1036,988,974,879,861,684,952,1174,1086,719,382,545,580,469,785,849,904,790,630,490,591,409,378,457,398,430,527,455,466,574,555,683,900,937,678,497,478,688,984,841,981,735,950,1754,1598,1530,1852,1322,1964,2230,2052,965,621,811,957,1058,867,589,477,523,561,1006,1046,771,711,731,616,533,695,1198,1408,1014,976,1700,1826,1904,1084,879,810,614,440,507,675,824,1142,1522,1554,1228,1028,844,714,1021,893,1150,1354,1498,942,467,522,446,660,1008,884,1182,1122,1088,1042,895,800,747,515,438,918,1676,1560,995,586,489,885,1342,1168,842,1116,1622,1098,655,889,952,940,1224,1136,865,724,643,717,822,951,786,1076,970,614,613,634,593,478,469,384,327,393,372,701,868,830,869,859,818,890,806,1024,1256,1112,1266,1378,988,882,688,420,604,786,845,895,551,277,305,317,478,542,464,403,389,553,835,910,1096,1280,1126,1048,1302,1360,978,1080,716,702,549,345,345,349,313,277,372,799,1220,989,1106,688,501,671,1284,1776,1738,1772,1512,959,700,738,861,730,561,846,1088,1530,2098,1700,1434,1062,1072,1052,785,729,985,1268,1448,1274,1004,730,676,705,861,808,971,880,669,769,1088,1134,839,836,1098,1396,1544,1654,1406,1302,1262,1376,1406,1216,972,1130,1314,1282,859,965,1108,1242,1072,1066,1120,1484,1566,1210,1170,1114,1090,1466,1518,1296,1234,1410,1278,1338,1338,985,656,865,1260,896,647,858,1046,1294,828,627,769,674,583,893,1120,1132,903,899,1080,1126,625,866,1164,1068,1064,1086,977,1062,1144,922,591,656,979,1108,1180,1102,1090,803,667,852,1182,1058,728,638,642,910,1104,1078,984,576,424,354,341,396,469,530,451,316,280,321,355,451,758,804,606,531,441,499,520,553,713,749,672,595,677,726,703,708,736,711,603,484,406,407,392,371,377,497,638,502,391,419,379,448,430,501,901,1009,756,797,861,934,1018,1170,934,794,763,605,511,538,637,966,1440,1460,1686,1746,1416,1478,1538,1268,1456,2430,2264,1698,1340,1240,927,592,678,1019,1036,659,562,503,408,497,420,437,605,614,520,522,583,560,393,356,412,416,444,519,500,521,475,486,409,461,868,1184,1300,1532,1666,1716,1734,1768,1886,1530,1382,1542,1512,1396,1192,1009,705,554,555,492,523,679,810,902,871,1310,1990,2056,2082,2034,1854,1722,1494,1084,687,525,568,491,397,373,423,636,755,722,904,832,528,522,636,799,740,1306,1362,849,1242,1638,1586,1368,1282,1034,745,624,585,1056,1106,683,626,1080,868,529,380,397,358,364,463,570,686,634,726,573,423,472,579,433,360,688,1142,1122,733,527,379,324,343,411,415,463,477,479,451,433,418,420,386,333,347,367,352,336,346,411,392,415,402,382,385,373,367,373,346,390,444,446,461,443,417,416,414,406,396,408,560,678,597,681,669,731,623,445,335,389,485,360,466,651,853,1190,1028,1582,1896,1202,865,888,991,1160,1140,714,485,643,508,577,862,1024,1130,738,885,1404,1440,731,356,538,742,666,808,1166,1344,1202,1096,1484,1478,1300,1382,1472,1084,1034,1130,1172,1090,1088,720,485,560,895,823,931,1078,962,1118,1370,1272,1234,1380,1198,1178,1234,895,908,1254,971,1018,1021,1262,1100,1009,1224,1098,745,954,1190,1212,1410,1052,772,1028,1250,1206,1052,1024,1040,958,1078,1278,1010,861,1016,1048,1032,838,905,1160,1300,1410,1194,807,640,1009,1970,1284,616,730,873,1146,1254,1114,1166,1088,1016,1292,1340,971,616,640,687,687,590,544,553,949,1086,1218,1456,1444,1218,917,1120,769,514,838,1206,1188,1254,1152,1218,1194,888,1012,1516,1626,1538,1376,1698,1614,1488,1282,1042,999,838,999,1298,1072,901,1017,709,866,914,825,952,1030,1324,1306,1048,761,855,1112,855,404,452,744,941,1216,1082,859,947,933,1002,856,456,372,406,532,898,910,633,504,407,310,332,342,351,326,320,329,331,340,371,767,1082,900,658,486,394,616,675,576,467,374,479,625,595,361,342,351,368,320,315,355,329,305,301,352,410,397,383,397,394,431,446,594,531,389,327,285,288,298,290,307,324,290,300,313,456,471,379,348,350,399,446,458,476,484,470,428,434,597,540,401,352,325,366,410,396,368,401,382,488,814,486,412,372,421,446,390,374,390,395,379,393,429,454,518,447,412,361,284,310,312,324,330,323,312,299,352,434,437,376,340,307,293,281,292,278,271,271,285,300,296,321,387,434,411,383,425,405,356,350,339,313,308,300,300,307,299,280,286,285,270,282,269,313,518,548,388,319,325,310,306,325,340,408,470,416,481,1158,1526,1564,1816,1476,820,552,876,1398,1194,1692,1658,1266,1616,1638,1624,1836,1672,1444,1250,1136,1190,1276,1212,1080,897,582,486,590,606,634,941,1126,1142,889,456,396,482,615,645,692,1260,1430,1638,1378,929,811,935,1224,1226,996,1366,1930,1780,1442,1186,1084,934,977,1152,1152,1001,1028,1060,958,999,995,1001,876,961,1190,1202,974,756,478,337,325,510,499,461,678,993,975,1034,1172,1102,1262,1122,1066,1120,1048,1058,1002,647,985,1168,591,470,642,481,430,383,532,741,1021,1618,1766,1098,1168,1182,808,557,451,333,352,413,448,463,406,474,536,406,369,400,415,408,410,465,519,467,380,337,440,509,385,294,366,529,585,429,569,569,319,240,250,280,323,243,219,213,213,230,275,519,871,990,1148,1256,946,555,350,426,516,505,398,390,312,247,248,213,246,302,458,376,273,236,394,773,1130,1290,1452,1408,886,383,292,331,459,612,886,791,670,502,438,709,769,601,424,697,1214,1178,948,540,354,327,321,309,304,254,259,415,902,694,495,478,993,1132,951,953,1128,1019,668,356,333,282,274,266,290,312,281,326,489,656,988,1402,1292,943,528,604,795,402,303,309,410,499,401,433,573,539,441,424,455,386,289,326,365,290,232,286,388,358,300,325,298,274,256,288,246,290,330,479,619,725,670,508,514,525,413,332,283,326,333,412,506,635,1202,1238,824,512,612,521,308,378,372,269,293,440,437,297,341,285,314,407,399,350,355,834,1528,1112,1390,1328,1130,1126,896,1156,1306,1122,1282,1114,867,883,993,597,521,861,837,1021,898,581,618,756,672,543,484,477,412,411,487,509,862,1009,1438,789,536,694,1064,1552,1252,600,827,882,691,500,541,623,576,596,934,1246,922,761,935,902,699,395,290,343,284,320,397,419,513,998,1206,838,449,570,1054,848,458,664,1112,1064,745,1150,1268,1015,739,605,573,605,723,973,1118,1282,1632,1354,1354,1432,1422,1130,1102,1092,914,698,916,974,848,1186,1176,904,1036,1084,969,1056,1206,1072,916,679,538,392,447,467,384,351,447,372,365,382,541,543,450,415,498,866,1210,1007,808,531,497,625,583,804,1128,1276,1280,1052,705,413,456,924,1266,1242,1416,1082,1322,1394,1404,1322,1016,656,437,354,364,372,453,628,614,415,368,800,1100,1440,1420,865,907,1278,1242,971,1362,1296,1220,1072,1226,1230,900,548,368,395,325,269,251,281,259,330,494,426,281,286,293,763,1118,607,529,822,1112,708,796,1136,1220,1150,1050,670,375,365,386,370,358,383,491,702,575,651,760,1142,940,700,733,695,822,1110,937,658,767,681,708,811,683],[1216,1224,1158,1222,1080,807,836,913,918,1376,1300,1172,1130,993,763,627,386,368,837,899,805,888,617,375,318,231,212,223,245,211,383,903,1330,752,624,634,659,626,651,835,846,632,530,495,556,477,390,402,437,418,704,1138,1424,1330,1240,1606,1382,995,980,574,379,359,423,607,602,486,705,908,676,616,445,443,675,708,873,957,1122,938,745,1036,807,741,885,1040,954,612,383,419,647,1074,1156,1220,760,1062,1236,1488,1438,930,648,417,355,406,367,287,299,345,324,497,546,414,359,305,319,355,397,388,350,355,610,963,844,1021,1374,935,454,458,709,1134,1366,1218,792,824,1396,1664,1622,1528,1076,680,539,421,267,244,299,326,278,289,285,273,339,401,370,440,558,469,443,473,746,1176,1072,1018,1190,778,1018,1058,786,604,557,523,643,668,615,664,747,782,902,1246,1396,1616,1396,1248,1168,1166,1152,846,474,422,476,497,412,317,346,353,449,794,849,857,865,1082,1584,1638,1470,1246,1148,902,1150,1702,1464,1164,1272,1300,815,813,1256,1312,995,576,795,842,798,800,954,1222,1336,987,921,1088,950,946,957,928,896,619,612,452,568,870,1042,857,705,583,752,1126,968,911,983,657,559,678,919,692,874,1168,1194,777,532,830,810,661,896,1108,1126,1086,1078,796,686,514,463,473,504,520,530,419,392,525,579,607,580,463,427,455,499,727,599,547,819,595,818,1036,1056,1388,1758,1376,1926,2374,1748,977,683,664,662,759,878,1210,996,738,689,1134,941,809,766,691,565,409,725,1268,1036,1098,1386,1418,1418,1554,836,716,626,488,440,666,799,761,897,1186,1180,1152,1064,734,613,698,951,1260,1538,1522,880,902,1208,695,877,1228,1098,1138,927,894,651,618,708,783,860,696,1026,1400,1404,890,586,759,968,1444,1108,681,1262,1584,993,758,1088,1190,1178,1362,1256,805,651,622,700,631,618,726,1064,980,698,665,890,1132,740,404,365,344,344,369,555,609,414,336,569,897,950,928,984,917,580,744,671,609,531,393,355,444,535,758,1158,738,322,287,349,369,496,473,438,591,960,1232,1248,1246,1116,1300,1118,1560,1130,880,901,693,754,833,892,677,364,306,307,446,762,1342,801,877,518,545,751,1608,1858,1636,1738,1730,1428,1156,1010,1240,678,736,1310,1754,1600,1410,1456,1388,1202,991,825,566,579,865,850,866,869,548,367,414,592,592,470,711,796,528,640,1046,930,766,658,786,1160,1488,1620,1700,1478,1268,1384,1462,1338,732,765,1250,1598,1500,1072,1252,1296,1021,816,1005,1520,1638,1352,1242,1004,1098,1300,1374,1088,1306,1354,1178,1404,1678,1432,995,871,1114,1015,766,1016,1334,1248,964,949,830,478,641,962,1352,1332,1114,725,692,713,664,1066,1072,1114,1230,1040,863,1078,1188,921,726,1116,1328,1216,1310,1250,1028,910,1028,1122,1250,1070,907,963,680,988,1118,1042,998,821,550,320,368,436,486,556,517,380,325,382,438,642,889,978,826,542,424,480,477,498,669,815,722,451,518,726,749,642,601,597,590,462,349,344,375,390,357,415,467,432,453,447,430,447,452,559,782,674,608,641,626,802,948,1098,1009,1015,870,550,403,367,403,1028,1546,1532,1506,1598,1610,1620,1700,1562,1690,2666,2414,1714,1344,1009,709,572,880,1298,1092,625,490,441,441,443,384,448,571,486,397,491,546,485,372,342,406,457,550,576,510,466,461,398,400,574,793,1140,1438,1770,1890,1732,1748,1866,1834,1418,1324,1290,1264,1174,1034,745,530,504,503,508,502,560,681,749,829,1780,2584,2458,2056,1876,1804,1980,1472,738,535,501,518,514,441,417,464,738,1086,1092,1104,809,549,706,648,736,671,1882,1840,1168,1132,1312,1526,1516,1310,1152,639,720,1158,1576,1554,1056,996,1098,924,678,633,583,523,724,1034,1110,943,628,480,374,345,633,753,511,440,714,1164,1220,739,419,380,383,381,442,439,447,443,419,425,450,440,431,390,356,376,383,409,395,408,438,405,392,392,398,400,393,379,447,374,392,429,461,466,414,408,435,422,386,361,342,403,574,534,586,645,699,675,525,407,675,768,530,374,404,705,1226,1124,1426,1754,1382,1178,988,780,832,1054,776,589,893,837,990,1242,1820,1208,865,863,1152,1340,1036,749,921,985,981,1188,1622,1340,966,1208,1506,1368,1170,1216,1114,1210,1278,1144,1074,1144,1188,564,433,495,824,1186,1084,1064,1092,1286,1440,1130,1236,1262,1240,1186,906,574,647,837,1018,938,1096,1360,1176,939,899,958,1172,1382,1390,1270,1252,1102,925,1256,1576,1200,983,830,758,678,969,869,810,778,652,860,998,921,1178,1306,1252,1320,1346,647,451,689,1078,755,653,767,941,1188,1316,1342,1434,1108,922,1003,1044,1108,857,720,663,700,688,503,570,963,1204,1300,1264,1414,1152,1054,1282,1130,986,836,702,1144,1512,1384,1204,818,757,1346,1558,1678,1694,1466,1660,1986,1830,1214,1230,1166,713,759,1148,1023,886,1156,701,878,1028,1204,1100,866,866,714,467,451,603,979,1098,631,692,1030,1350,1332,1178,1272,1396,1046,1032,1202,787,488,763,979,1152,854,431,406,376,352,418,428,369,316,308,337,361,400,325,564,1126,1003,762,574,503,537,484,576,710,575,668,893,810,487,341,390,398,325,307,321,315,315,314,333,360,386,419,397,362,387,393,517,446,325,299,275,301,310,324,287,303,288,303,312,411,471,405,332,371,489,592,518,480,465,473,447,429,404,367,354,363,406,453,459,377,342,366,339,459,719,428,339,365,425,451,389,339,355,395,375,389,455,447,452,445,406,364,297,300,295,324,339,340,332,323,332,391,384,327,322,293,262,244,249,246,254,261,274,272,288,302,346,399,431,413,401,399,366,358,370,343,303,297,296,288,304,297,293,284,271,277,266,256,308,351,332,310,293,313,318,285,304,406,487,418,373,861,1374,1660,1950,1216,477,781,1440,1190,908,1598,1306,1288,1532,1208,1396,1826,2126,2278,2006,1408,1282,1098,1180,938,688,520,488,865,923,558,619,920,1250,645,458,477,776,1064,1316,1028,1136,1056,1356,1376,744,855,1122,1166,1112,894,1280,1318,999,961,1196,1244,1018,845,1009,1312,1296,1154,1148,985,797,780,1026,1056,1116,1086,978,876,774,639,516,388,449,335,307,318,576,1166,1276,1228,1278,1206,1158,1272,777,719,1178,1110,976,1414,1564,877,711,877,689,461,542,690,833,1230,1432,1364,1028,1160,1124,548,386,348,342,340,374,438,435,396,332,368,441,408,447,437,420,404,425,495,431,318,286,326,443,374,274,447,657,651,404,384,391,315,310,262,302,386,229,217,241,225,249,267,694,962,760,975,1056,759,602,440,533,639,717,680,509,270,258,271,259,265,262,251,272,261,361,774,1040,1284,1208,1042,954,728,673,572,416,528,929,1124,927,891,964,887,1196,1318,1248,759,1021,1600,1520,991,503,422,399,386,282,278,276,279,366,660,524,375,411,626,1030,1210,808,811,1062,723,330,260,258,296,275,292,301,292,402,540,547,497,742,1120,1324,1048,931,745,422,297,340,727,818,424,357,481,480,394,400,402,358,321,397,346,259,259,302,371,351,268,303,298,320,309,374,309,307,279,351,459,577,571,547,566,459,354,352,310,336,359,448,561,630,999,1084,632,558,836,597,328,344,337,270,268,294,292,296,300,269,355,527,534,541,669,926,928,975,1198,1250,1240,1384,1166,1196,1012,891,1122,1072,786,691,990,645,499,510,519,738,651,565,838,849,648,516,478,451,412,410,676,746,1156,958,599,404,477,833,1232,1256,838,583,758,729,456,383,486,664,541,359,560,787,789,958,1038,714,413,309,283,291,271,282,348,391,659,1004,1062,1020,591,435,471,433,607,984,1354,915,735,1156,1148,1096,1176,921,683,680,913,1190,1344,1122,1062,1150,1252,1250,970,994,1500,1876,1476,854,1054,1009,777,758,683,662,995,938,586,744,1000,1160,1036,672,727,492,580,522,346,420,593,802,688,382,393,385,362,416,496,743,1302,1398,1050,821,579,492,543,678,988,1218,1298,1222,867,582,502,818,1462,1554,1384,1288,1378,1266,1072,839,592,373,323,359,397,450,435,443,363,363,373,557,1023,1378,1556,1296,939,1200,1284,846,1076,1350,1324,998,940,769,444,309,277,293,265,263,264,263,237,250,295,333,328,342,367,653,871,500,514,568,736,530,518,814,1124,1130,846,475,345,330,399,416,396,386,498,683,662,543,708,988,713,495,614,684,804,711,634,1154,1144,1054,1014,1616,1490],[1080,1212,1466,1682,1538,1426,1714,1422,1252,1408,1326,1454,1138,1124,633,505,357,263,398,482,793,1040,781,451,312,224,204,213,229,226,380,739,784,608,684,659,640,581,608,918,970,722,539,448,517,505,443,412,397,753,1288,1572,1700,1132,698,939,902,979,758,433,354,419,423,499,570,588,736,910,939,868,499,362,559,954,1042,1042,901,664,1142,1228,745,726,1124,1282,1102,966,607,425,758,1218,1296,1554,1320,1494,1710,1688,1460,780,591,367,273,356,309,237,232,371,368,687,836,518,433,327,312,282,300,270,328,397,667,982,884,1094,1482,921,355,422,786,1188,1050,733,614,778,1278,1494,1438,1188,872,639,515,407,247,234,306,412,426,418,475,587,580,500,510,714,777,493,441,493,561,784,969,1188,1250,1172,1048,741,570,591,616,611,691,728,783,808,745,514,720,1088,1346,1134,1024,1318,1154,891,1022,1146,641,407,379,387,421,409,446,406,518,524,457,613,678,844,1470,1584,1422,1212,1300,1150,1088,1360,1414,1148,868,919,1100,1262,1294,1208,691,595,859,763,535,690,1136,1194,1028,813,763,1272,1118,946,1042,1140,888,910,537,400,713,1062,1154,977,890,757,955,1392,1288,1212,999,930,1036,963,1058,1070,1230,1194,885,707,469,822,959,1138,1064,1302,927,850,902,749,478,421,452,470,499,450,455,416,473,566,669,789,667,533,484,459,639,828,505,738,1011,455,419,631,801,814,821,1010,1478,1516,1936,2230,1328,846,868,686,840,1056,944,1078,1036,1042,890,752,796,845,761,756,1170,2032,1786,1644,1664,1472,1332,846,552,592,609,535,487,605,702,667,854,1126,873,653,807,695,695,897,1090,1158,1410,1378,1032,1158,1406,778,894,1154,1240,951,670,948,874,507,737,1180,1048,961,1064,997,1240,984,872,1082,1068,1140,910,845,1128,1188,1052,1124,1372,1334,1330,1324,1214,846,612,562,641,736,619,876,908,644,458,376,491,979,687,466,436,520,827,742,496,568,570,363,495,935,505,750,1000,1142,881,760,613,352,272,263,261,320,325,392,774,838,365,246,336,448,573,484,547,875,1190,1232,1256,1134,762,1084,778,710,592,599,680,610,479,875,1354,1034,587,578,392,543,1070,1434,1090,688,518,876,1278,1742,1684,1394,1534,1488,1574,1538,1480,1506,916,846,1224,1532,1226,1232,1416,1526,1434,1222,556,309,531,1006,637,409,356,294,290,412,604,558,372,344,420,575,960,936,1244,1288,797,797,1000,1005,1144,1500,1362,944,1182,1220,777,579,1266,1526,1208,1316,1378,1194,1021,858,941,1190,1518,1638,1466,1300,1084,719,994,1094,736,854,1102,1072,1606,2120,1686,1218,1322,1728,1474,1068,1064,1204,1058,787,778,590,409,551,638,1128,1226,1444,1278,928,817,826,886,1208,1300,952,748,722,781,941,1148,1246,1482,1362,1410,1310,1220,1090,966,1118,1164,1186,1036,1048,1032,961,915,796,971,1180,991,724,678,491,506,489,416,393,364,405,452,473,702,919,1000,801,517,405,423,409,387,520,703,561,374,397,524,619,659,588,558,541,448,353,357,369,343,392,364,357,371,398,408,439,443,419,541,697,479,492,514,546,666,661,590,505,512,491,453,472,429,480,787,1168,1758,1532,1572,1318,1058,1342,1538,2054,2768,2492,2072,1548,887,666,1013,1058,1292,761,397,357,324,365,423,619,736,703,634,409,328,281,234,246,282,319,379,431,394,388,441,423,349,534,769,793,909,1292,1628,1788,1814,1834,1854,1770,1598,1366,1134,1080,1007,733,445,459,451,388,419,491,505,432,470,1148,2148,2430,2000,1676,1748,1696,1682,1021,623,465,434,413,356,374,408,469,922,1458,1248,1288,969,946,1220,891,667,638,790,1011,1208,1382,1432,1356,1170,1162,1482,1032,770,1174,1496,1590,1394,1162,1384,1460,1094,911,752,846,1302,1650,1300,704,366,290,377,309,404,476,525,611,675,650,505,415,363,365,409,442,471,458,422,455,412,383,423,418,429,403,358,385,390,381,415,433,409,391,370,368,394,396,411,386,463,392,373,389,432,456,424,389,397,403,437,465,416,486,717,662,719,673,674,1034,928,637,744,675,567,396,390,489,850,1003,906,1021,1252,1064,869,1028,1028,800,584,470,755,1126,952,913,721,555,891,888,758,1148,1038,807,982,1042,944,873,887,859,946,1048,1068,952,1050,1136,1350,1516,1228,1346,1028,888,627,493,877,777,895,1190,1138,1088,1168,1288,963,754,996,969,981,973,858,643,709,781,777,855,1324,1318,1036,954,1072,835,825,791,1026,1158,925,1068,1028,1092,1068,695,643,971,1404,1338,1286,927,689,560,500,713,881,1232,1506,1366,1356,1538,1690,929,728,904,847,864,827,900,965,965,1168,1274,1168,1082,1320,1378,1158,1384,1128,783,622,680,716,672,861,1124,1288,1236,1146,1182,1036,1318,1118,975,1138,1094,816,1034,1342,1272,1038,776,1088,1400,1368,1636,1692,1644,1930,1970,1488,943,1090,1312,1118,672,558,689,818,1004,598,482,919,1220,943,681,861,885,444,565,755,871,1134,1262,1200,1208,1362,1328,1330,1164,894,791,980,1156,988,847,1178,1208,1060,865,593,404,383,459,505,416,337,310,310,404,401,426,540,618,774,772,797,810,647,525,485,525,822,809,698,538,735,592,372,376,392,354,329,329,315,295,279,297,318,347,372,372,402,428,383,397,364,307,302,294,305,274,299,325,311,291,288,293,303,425,497,451,458,510,702,618,478,481,505,428,368,366,365,356,362,387,457,400,317,309,292,306,505,596,421,360,384,404,381,343,324,325,367,331,336,389,431,504,571,542,525,498,355,332,350,318,354,336,324,306,383,428,364,302,278,255,267,255,255,256,252,260,272,292,331,325,359,410,411,391,420,409,383,382,346,322,311,303,285,294,316,327,299,268,252,253,242,278,326,335,318,298,306,308,302,296,405,464,372,336,686,1332,1860,1772,1078,850,1786,1360,694,1160,1714,1070,801,1032,948,1394,1870,2210,2482,2410,1648,1332,1030,1262,1100,675,504,700,1294,1174,820,813,1046,1110,618,479,618,1001,1030,1218,1212,1048,810,1066,1316,964,959,1282,1338,1256,1184,1222,1060,1204,1306,1136,966,788,639,642,1262,1614,1332,859,948,701,520,764,998,866,803,872,1018,905,774,471,345,286,301,401,652,960,982,1104,1098,749,852,1190,1082,447,412,918,880,894,985,893,1054,1250,979,722,647,767,755,863,916,971,813,896,1180,756,412,402,352,305,311,368,435,428,382,340,365,466,447,464,521,451,315,462,533,381,286,286,281,409,363,264,465,616,500,360,375,368,342,350,274,250,269,204,220,226,226,299,290,651,888,840,1116,932,605,408,350,365,351,804,1166,646,277,262,327,324,261,263,281,331,306,451,876,991,860,876,728,847,835,879,1026,990,692,732,784,702,1030,1730,1488,1442,1514,1208,646,744,888,895,778,450,462,444,508,475,378,363,310,284,324,251,266,369,416,684,1136,918,630,634,385,293,272,267,305,304,284,342,590,734,716,728,761,803,886,1068,991,1062,976,727,518,418,711,691,458,408,393,369,347,371,330,286,316,356,273,237,213,222,268,333,277,283,289,383,385,370,336,326,295,287,341,412,412,526,560,433,362,364,331,359,517,735,1172,1346,1288,1422,761,391,453,447,487,472,383,342,304,293,281,281,319,350,508,823,728,693,767,1001,924,1007,1146,1164,1112,1250,1222,972,786,804,838,877,771,621,878,836,936,917,803,890,794,699,833,836,528,473,493,460,453,405,645,766,636,487,521,422,438,570,672,510,361,484,667,579,440,527,660,720,487,304,412,612,798,808,810,814,475,287,300,306,277,247,257,319,540,800,662,694,452,347,333,508,553,728,948,888,891,941,1200,1418,1218,1070,940,659,768,1050,1366,1398,1266,1278,1254,928,557,493,1130,1648,1206,884,857,855,723,457,401,539,807,641,667,892,945,1244,1224,886,758,717,634,516,529,612,772,996,713,331,302,343,396,460,538,637,1124,1278,1186,971,592,574,642,630,780,1084,1338,2192,1400,855,989,1414,1570,1450,1294,1460,1278,908,696,670,462,383,337,342,372,370,394,320,270,397,446,541,720,743,1322,1290,799,939,1086,907,1064,1338,1106,638,522,363,294,286,262,259,257,254,267,274,269,291,312,330,413,635,436,505,700,580,544,556,494,488,666,850,896,830,756,730,554,367,371,493,529,434,477,642,620,523,543,612,622,557,623,910,1076,920,800,1166,1132,1178,902,896,1170],[481,664,1174,1544,1606,1344,1484,1570,1508,1472,1234,1664,1184,916,488,385,353,285,234,480,594,492,550,524,289,243,226,204,219,231,353,472,418,446,552,572,524,501,579,855,861,658,511,486,423,396,420,454,404,728,1154,1194,1110,859,424,424,484,807,600,359,509,571,449,442,616,641,550,853,1152,1038,568,340,425,653,922,1102,866,1240,1826,1466,1094,892,971,1120,1488,1872,1021,492,666,932,985,1112,1290,1630,1860,1572,1230,681,525,437,385,389,319,364,565,631,493,740,1032,624,664,479,555,578,429,311,333,336,515,722,585,651,722,447,347,446,580,790,991,913,750,759,953,1072,1026,930,924,861,696,445,267,234,294,429,529,596,791,957,804,783,626,518,476,407,372,449,631,602,566,728,1001,1272,985,530,519,531,531,625,621,650,674,822,748,548,938,1222,1050,882,1144,1462,907,1076,1482,1294,824,484,375,492,1054,1182,644,360,357,437,782,1112,968,919,1460,1648,1554,1518,1362,1228,1178,1220,1350,1244,885,946,1256,1356,1502,1542,1032,933,1114,1007,792,830,1096,1302,1194,827,740,1274,953,944,1204,1250,1140,1272,683,364,574,741,524,476,852,945,1152,1294,1400,1248,617,579,899,1044,1224,1306,1194,831,761,953,656,772,882,995,905,859,1058,1224,1003,622,410,448,483,405,387,405,402,451,524,504,596,698,653,608,510,498,752,1048,596,659,592,442,475,401,463,626,916,1007,808,909,1896,2106,2136,1346,1056,713,963,661,492,521,777,1008,917,717,753,869,1228,1426,1706,2018,2172,1710,1438,1602,1270,869,702,615,713,691,485,586,730,824,985,976,913,916,689,516,564,657,855,1086,1238,1244,1286,1016,868,696,663,578,565,508,714,1084,849,555,995,1150,955,1056,971,1244,1098,1028,1162,1060,1176,1482,1424,1538,1528,1340,1082,1284,1072,1074,1432,1254,1064,1086,1158,934,1000,1202,769,878,618,545,563,368,293,320,336,506,882,1456,1526,1044,503,412,597,566,385,664,683,623,800,1002,781,656,559,305,245,254,249,270,247,234,282,424,292,248,362,589,630,456,541,785,855,1140,941,805,572,524,383,395,462,451,568,694,529,584,844,912,1394,1080,500,501,858,915,955,759,618,628,976,1306,1104,1246,1300,1344,1390,1244,1160,1416,1494,1286,1194,1316,1530,1408,1192,1346,983,1016,501,321,402,569,471,376,330,290,240,325,487,453,327,456,614,580,744,669,899,1276,1326,1148,1132,1188,1007,1508,1942,1630,1318,900,635,825,1110,1009,700,807,855,904,1023,1378,1130,1082,1316,1610,1604,1368,916,691,961,1072,1104,871,879,1064,1108,1136,1312,1300,1442,1428,1296,1076,995,1019,738,314,332,502,447,397,594,1018,1250,1282,1178,886,944,1128,974,1064,1118,864,731,671,533,720,1104,1316,1216,1084,1314,1256,1204,1242,1128,1168,1230,1222,1070,819,767,944,1110,767,689,997,912,750,838,630,585,516,431,442,448,461,484,537,725,844,708,523,425,403,423,427,358,475,528,428,421,414,360,467,597,561,553,482,490,404,383,372,379,410,400,369,385,450,456,399,390,404,478,689,504,480,493,512,461,407,410,426,430,417,411,395,378,408,535,1304,1732,1716,1644,941,994,1388,1380,1784,2504,3028,2688,1636,1250,1030,1250,1150,1204,637,303,343,318,328,519,650,589,819,720,447,328,274,241,274,290,327,334,294,246,249,329,472,399,321,348,490,546,675,825,1042,1376,1636,1818,1776,1572,1372,1420,1202,824,511,408,390,382,384,384,387,415,459,797,1714,2034,1870,2000,1942,1774,1604,1216,894,664,444,412,435,429,402,397,583,928,1080,1240,1268,1214,1040,1018,841,570,554,847,1216,1156,1326,1146,1040,854,987,1118,972,806,804,796,1068,1418,1396,1788,1328,880,755,1004,905,1060,1170,683,368,304,372,448,343,315,375,830,1010,888,574,363,399,414,408,469,446,422,368,378,404,439,390,402,390,402,364,357,374,390,383,369,392,406,409,402,395,402,404,397,356,427,419,378,403,419,380,362,332,352,403,475,508,488,799,1252,1116,847,842,1256,1732,1422,1104,1038,666,502,581,426,360,623,801,728,734,840,667,695,1100,1044,695,445,442,742,1007,918,1038,996,766,946,1162,891,773,516,456,527,722,747,677,765,1158,1264,1090,957,1058,1080,1274,2106,1924,1572,1262,1106,788,491,614,918,879,883,1030,1224,1334,1248,1124,714,531,523,963,872,647,692,697,851,1224,1218,863,1008,952,1230,1356,1282,897,845,892,1808,2294,993,643,727,979,758,600,831,1324,1642,1538,1350,941,887,891,805,801,1030,1258,1260,1168,994,1154,1124,697,575,905,1100,1004,785,775,863,807,1074,1236,1310,1236,1170,1102,1178,1248,1094,860,629,649,675,756,958,1238,1212,1154,1208,1110,1164,1246,1078,828,955,1298,1096,1042,1226,1278,1118,826,1128,1310,1152,1498,1786,1792,1350,959,1158,1186,1280,1416,1108,643,630,743,900,1058,745,615,1050,1150,728,699,902,990,940,1154,1124,661,753,1292,1556,1540,1190,1005,1130,1030,969,858,976,1166,1260,955,1096,1098,809,954,1050,630,415,485,442,387,371,366,358,456,615,840,1134,987,637,908,1290,982,573,449,514,569,797,728,582,451,495,447,347,347,361,398,350,350,323,311,314,319,314,314,313,347,401,407,386,352,309,287,277,283,333,397,414,375,346,326,288,283,334,426,470,461,467,394,516,503,509,516,464,393,440,484,395,364,334,334,393,296,335,336,325,329,509,495,355,389,379,372,354,337,339,335,360,328,329,372,419,548,647,614,660,641,416,377,325,312,351,341,328,303,374,438,360,295,267,250,268,258,267,274,252,256,268,287,320,319,332,377,400,398,425,437,408,398,358,349,347,314,288,277,283,293,275,267,258,258,254,280,286,317,312,306,322,326,334,321,378,459,375,344,522,1332,1744,1050,758,1180,1268,711,604,1294,1682,1028,852,953,877,1040,1432,2036,2244,2170,1692,1224,944,1378,1538,948,585,971,1378,1142,917,870,918,1062,872,568,557,869,1084,982,1202,1314,954,946,1212,1296,1154,1388,1346,1184,1212,1278,1232,1144,969,808,921,756,700,552,928,1003,778,888,1134,877,528,517,492,453,763,1180,1780,1116,724,732,556,411,521,910,1234,1168,1004,1156,1194,1058,1013,1386,1290,650,344,799,1068,955,702,695,991,1038,839,786,922,813,731,817,804,714,675,670,599,491,411,404,355,303,386,430,453,428,419,419,400,533,689,667,769,781,425,432,513,364,284,318,292,354,318,247,310,405,399,351,370,360,328,341,240,245,204,207,249,271,376,517,428,736,1244,1210,1042,637,636,659,502,364,284,448,520,358,285,290,385,504,538,552,599,649,592,687,1004,1158,1108,982,660,480,567,536,583,770,545,374,583,383,512,766,971,1122,1212,966,529,702,933,678,648,425,404,408,582,580,462,430,336,402,520,397,325,440,442,466,854,1260,955,518,337,351,314,306,283,244,352,778,1288,1314,1140,962,806,610,484,569,777,917,1050,1158,817,634,551,412,454,410,367,351,304,290,285,293,357,328,255,242,208,207,267,325,301,333,331,395,404,363,363,370,339,350,312,330,467,786,640,498,542,589,634,633,951,1450,1726,1810,1406,1186,644,487,768,626,588,579,450,383,397,341,335,372,479,555,694,803,819,651,633,937,991,915,975,1023,1170,1198,896,638,768,954,931,1072,957,577,587,948,1394,1438,1104,735,620,651,549,493,463,437,435,449,462,420,548,709,628,651,805,682,456,590,691,614,539,497,658,702,666,772,1162,1284,880,548,440,597,731,532,522,749,570,338,323,296,253,215,248,303,405,614,355,262,352,387,438,403,400,626,753,881,908,822,957,1128,1112,907,734,656,792,1058,1272,1288,1072,1056,891,562,399,401,614,655,1062,1180,922,1064,774,460,404,623,960,764,977,1454,1270,1128,767,484,484,783,808,645,654,694,602,491,352,387,427,416,410,464,487,493,642,672,632,564,486,535,477,444,524,854,938,1070,1026,1048,1282,1222,1122,1428,1220,979,973,1038,702,465,325,312,324,386,477,485,397,283,312,412,469,398,377,446,1188,1328,882,747,770,868,1070,994,789,813,773,408,272,279,251,253,261,270,324,343,316,261,267,311,451,986,563,483,600,492,519,516,443,444,502,524,576,547,671,719,488,365,446,553,461,406,513,572,508,461,473,611,736,777,919,1190,1030,1222,1074,767,885,894,559,466,609],[386,554,668,849,1066,1212,1148,1142,1434,1446,1248,1508,993,597,468,426,434,366,336,509,563,415,705,813,399,244,234,200,211,228,313,368,470,681,711,579,467,478,430,622,635,688,692,644,458,354,362,409,486,688,922,1064,871,825,495,412,610,808,718,457,460,641,671,863,1009,603,445,581,923,1007,577,397,405,457,765,879,763,1002,1034,1152,1222,1292,1396,1184,2148,2348,1432,844,583,536,638,883,1310,1718,1862,1412,1320,713,641,694,675,543,367,563,830,755,607,735,1164,1036,560,498,844,904,505,306,519,590,608,639,419,381,342,295,338,647,608,542,713,734,733,897,986,1036,1112,1038,951,1058,903,498,231,234,344,360,464,633,825,686,500,818,499,408,386,444,576,531,490,433,419,709,885,658,541,474,482,467,545,767,614,547,505,702,658,713,1100,930,651,857,1220,1438,979,1058,1430,1094,848,548,460,693,1308,1758,1288,616,458,497,863,1188,1184,1190,1418,1668,1686,1416,1310,1438,1260,1026,1012,1102,864,910,1246,1418,1666,1532,1180,1248,1296,1096,1108,1214,1160,1370,1394,977,1168,1324,998,931,1080,963,1246,1298,566,555,700,792,703,495,815,912,682,980,1308,1224,839,600,854,1146,1238,1260,1100,773,979,825,543,566,531,822,1005,793,1116,1256,918,823,448,457,565,518,604,536,489,548,616,586,571,631,673,655,549,502,752,1190,1002,773,651,626,537,485,443,484,572,916,1070,1050,1480,2322,1812,1404,944,704,642,549,444,375,466,837,1366,1256,890,896,1522,1516,2062,1910,1758,1066,799,855,720,857,915,791,669,584,470,767,836,1098,1204,1110,1630,1750,964,594,549,827,1108,1005,892,811,819,894,873,961,806,545,540,596,877,886,805,952,1013,808,733,539,447,798,1086,1238,1196,1154,1442,1968,1926,1672,1318,1005,738,983,940,1007,1388,1456,1210,1084,1054,688,815,822,838,1058,702,827,975,558,272,349,335,404,1009,1442,874,852,436,329,608,675,606,1032,1222,924,781,692,364,347,368,336,267,232,205,276,284,260,276,333,334,291,424,539,555,630,714,815,776,941,672,742,788,424,292,327,349,361,501,921,1003,599,569,531,841,589,389,545,769,1044,947,610,702,672,1100,1088,1130,1218,1394,1338,1152,945,759,874,1234,1658,1682,1660,1642,1440,1292,1498,1470,1284,725,528,507,512,401,306,268,262,313,352,413,436,309,415,491,446,465,470,589,975,1532,1982,1526,1104,910,1588,2082,1844,1310,830,606,801,1246,1238,763,691,653,639,690,843,877,809,895,1390,1590,1320,1040,1104,1216,1304,1516,1218,770,1054,1076,1398,1402,1550,1466,1208,1200,1330,1216,780,537,415,561,809,939,607,791,1210,1316,1168,1162,1090,911,1040,1202,1148,1328,1194,937,734,761,1002,1036,1005,844,631,749,911,966,979,980,1038,884,802,890,753,1007,1276,1114,1072,1038,968,870,638,630,907,821,641,578,514,390,387,463,504,610,702,539,459,502,430,349,482,492,517,441,372,397,385,362,430,435,448,528,566,446,396,362,352,374,383,357,332,339,354,363,372,398,416,508,781,646,522,495,493,450,390,385,373,383,380,392,382,388,420,745,1524,2160,2142,1604,1522,1750,2048,1970,1628,1748,2328,2074,1568,1466,1092,1050,1202,1030,528,345,354,312,333,490,584,725,845,592,422,355,290,295,319,313,307,297,266,204,265,388,555,447,246,226,230,252,277,253,309,568,1058,1480,1306,1090,942,1162,866,512,426,420,378,357,382,388,394,472,565,1252,2030,1846,1754,1924,1794,1644,1180,767,725,509,394,436,498,535,468,419,580,632,891,1404,1742,1614,955,711,593,458,648,1296,1574,1438,1220,1106,943,731,748,814,785,756,685,500,814,1538,1448,1730,855,846,1162,1070,667,461,362,325,363,345,406,386,375,371,531,858,1001,930,576,368,338,383,507,639,497,372,281,393,495,690,564,484,415,325,347,399,383,376,343,296,373,399,408,415,419,404,332,350,406,397,415,442,419,459,655,733,464,401,402,419,448,677,1226,1650,1522,1388,1314,2032,2342,1650,1266,1110,771,716,932,778,518,590,640,532,508,630,727,745,698,395,568,396,351,426,717,1088,1338,1216,850,705,875,664,451,471,365,393,808,858,819,1018,1010,1001,1066,1062,1132,1128,1174,2116,2462,2180,1488,1142,791,487,616,896,1100,1286,968,1024,1066,1214,1066,664,513,451,615,519,584,935,789,703,923,1672,1058,628,634,1044,1198,1244,1302,1132,789,1380,1958,952,576,632,561,610,527,623,985,994,1254,1308,1240,1476,1130,1066,1274,1180,857,647,689,758,729,680,420,486,740,869,753,736,832,827,935,1186,1146,998,1036,1196,1302,1208,974,1070,1134,695,655,690,760,826,921,869,860,1280,1476,1092,1082,1074,827,1144,1594,1196,847,1066,1336,834,854,1210,1384,1196,1340,1852,1738,1342,1306,1406,969,1040,1182,825,505,728,1024,1038,853,654,899,1220,1054,539,437,622,883,1120,1256,1050,521,594,1104,1370,1196,1054,1040,1108,1004,978,1002,1224,1210,1166,1084,1114,1138,1084,936,1014,828,495,449,451,415,432,393,380,483,852,1166,1286,1180,808,901,1050,908,707,558,610,627,673,527,429,420,452,515,429,356,480,577,422,397,337,321,332,317,309,311,317,340,361,362,349,335,343,321,361,460,535,655,631,504,413,368,354,396,450,398,426,433,421,398,378,372,412,384,317,332,437,456,352,338,330,315,286,259,308,346,461,474,501,498,343,387,363,354,343,335,344,350,362,331,333,359,355,394,490,588,669,696,544,366,310,285,305,312,304,297,328,340,297,285,269,261,258,270,284,293,272,264,261,276,285,290,336,340,348,390,406,429,409,386,351,361,362,322,290,278,267,271,265,263,270,265,266,271,286,304,295,296,314,350,376,326,343,481,425,350,543,1428,1302,749,1142,1198,708,435,542,1294,1614,1258,1268,1160,997,974,1318,1896,2252,2144,1876,1294,860,1544,1914,1318,928,1170,1416,1092,883,789,585,713,846,654,408,637,869,870,1188,1368,1356,1080,1116,1268,1182,1128,1110,1262,1334,1380,1332,1080,1015,1130,1154,1023,775,651,589,596,623,709,813,736,748,686,427,401,483,543,1452,1196,1046,1088,961,943,1082,1226,1274,1146,1064,986,1060,948,896,941,893,532,321,698,1206,1148,842,797,873,1074,926,587,907,980,762,748,592,455,735,648,382,392,410,372,334,312,411,458,444,428,452,426,343,549,903,974,1012,885,484,576,874,597,365,349,304,320,311,274,284,330,367,393,427,357,313,284,256,228,208,215,323,460,611,705,683,802,1052,1182,714,521,711,912,831,459,318,555,706,558,660,716,714,723,869,960,952,841,655,714,695,539,664,793,506,537,537,586,419,590,495,390,290,224,233,359,624,614,534,849,1170,1060,1284,796,557,443,339,415,535,688,745,549,356,346,422,477,361,468,447,495,644,979,1090,672,297,337,350,355,277,385,522,731,1112,1260,1188,1152,1212,1050,765,930,1296,1256,1618,1360,806,857,744,497,420,413,409,313,254,252,258,296,310,298,349,273,287,312,302,321,308,358,405,389,375,363,354,330,273,404,383,314,408,511,392,550,717,857,1034,940,1168,1514,1448,1532,1136,645,871,972,1190,1046,1388,1576,769,465,461,375,314,446,861,974,811,603,925,952,804,922,1032,769,792,759,698,832,973,948,1078,1012,898,985,807,681,712,880,1264,1500,1108,529,376,450,452,465,416,403,432,425,438,441,480,797,1546,1502,1112,952,619,628,719,639,509,467,524,581,696,1166,1954,1370,1300,888,538,717,673,452,475,783,762,419,344,313,322,335,350,390,401,304,240,318,350,313,325,339,436,720,968,1016,873,678,946,1188,1142,762,511,600,730,941,1202,1192,1136,1260,832,697,471,424,419,389,921,1048,1160,1234,855,639,504,553,780,739,737,1196,1268,954,491,463,604,745,879,954,655,462,444,390,480,485,417,325,467,512,380,360,436,502,329,398,445,435,415,475,483,697,1003,1278,1366,1216,1118,1186,1242,1172,1024,1122,1110,918,543,355,354,361,375,345,307,336,348,309,265,320,420,536,659,656,1112,1558,1396,1052,980,1134,1172,977,1138,1108,661,318,260,268,275,301,320,335,388,436,404,229,247,307,763,973,515,535,507,366,431,520,501,402,397,376,566,559,634,430,354,334,403,507,459,432,498,604,531,492,523,683,797,816,929,937,859,1116,1152,929,788,601,493,498,625],[610,771,591,612,808,734,742,842,1390,1338,1512,1392,662,428,432,439,446,439,421,558,742,796,1106,832,407,234,223,210,212,231,308,497,786,973,890,525,504,558,520,477,550,794,866,728,552,469,460,525,527,676,702,741,857,811,600,606,704,686,689,635,671,766,991,1384,1450,862,766,549,748,836,541,417,386,448,580,608,625,751,547,822,866,1066,1084,996,1158,1144,1060,997,849,732,968,1078,1244,1694,1920,1140,724,515,734,978,911,846,883,900,948,720,631,1024,1364,1334,631,423,714,771,505,587,945,730,507,462,372,300,285,317,458,1028,946,589,622,594,552,698,713,788,1017,1012,892,1158,957,478,245,222,279,340,432,558,744,728,483,491,351,404,439,531,640,568,475,437,448,518,480,444,414,452,458,461,554,668,611,547,656,1224,1588,1116,890,705,896,1038,990,992,987,1118,1094,1028,1124,822,838,846,616,876,855,764,960,980,1246,1372,1282,1212,1374,1630,1684,1428,1220,1246,1152,1018,1014,1178,753,797,914,1278,1504,1376,1168,1062,1082,756,630,1088,1472,1392,1184,1092,1140,965,638,822,1322,1122,718,689,607,860,993,1180,1126,920,993,924,791,1192,1272,1138,922,791,1220,1212,1136,1104,833,572,680,699,574,472,537,962,1136,1122,1398,770,466,512,463,498,577,557,538,475,435,484,555,565,543,611,655,632,589,549,839,1292,1160,855,966,1072,930,749,608,522,701,1028,768,1332,1414,1426,1326,1028,624,512,659,917,714,395,558,1480,1602,1224,1152,1304,1252,1110,1390,1298,1058,789,903,669,761,810,862,765,821,665,618,767,794,1013,1444,1518,1348,1426,1346,678,499,775,1038,860,673,556,661,642,577,717,773,879,816,747,1001,990,1108,1358,1040,782,697,620,737,943,1264,1426,1244,1240,1160,1318,1572,1013,796,944,705,663,792,1012,1360,1152,948,873,1254,1138,866,609,827,1156,1086,1044,1030,669,387,414,333,303,590,1018,968,827,459,329,714,980,766,796,1166,1388,971,667,360,320,258,296,266,245,220,255,383,452,362,394,419,344,637,720,733,915,924,691,565,610,580,784,870,610,569,307,420,444,489,950,1074,644,425,380,364,354,581,818,923,1286,991,777,604,980,1238,1194,1376,1324,1550,1678,1506,1130,1134,1134,883,1150,1526,1770,1502,1506,1450,1376,1528,1174,926,990,677,482,343,274,263,276,388,366,321,344,329,321,275,307,400,468,504,581,911,1200,1112,1172,1262,1378,1292,1494,1512,1218,855,839,996,1336,1042,941,583,586,516,395,619,777,937,1382,1576,1316,1208,1011,768,909,1114,818,620,756,1094,1494,1542,1550,1502,1272,1064,1262,1282,1016,730,656,699,984,1154,866,835,1102,1072,782,1110,1432,1092,907,793,1614,1630,1262,1220,1086,1172,1308,969,675,708,659,451,509,814,579,822,1122,1168,1110,1004,789,938,1306,1302,1354,1102,584,404,269,332,559,714,783,727,432,275,289,431,430,529,556,448,432,613,476,306,442,530,484,383,341,345,373,372,474,522,477,557,501,359,351,344,317,355,379,351,343,361,362,370,402,449,435,582,845,827,819,645,385,422,416,407,390,379,366,374,381,390,462,844,1550,2148,1594,1110,1198,966,1476,1832,1730,1478,1592,1296,1174,1340,1302,1300,1350,956,476,375,341,321,309,344,390,674,698,530,400,357,325,322,340,338,282,237,247,257,271,297,402,388,293,244,266,276,259,258,305,397,552,876,1198,1196,1152,1074,669,443,450,424,383,372,446,464,527,624,960,1826,2030,1776,1794,1840,1816,1460,762,449,430,426,378,439,544,623,610,502,430,630,897,1134,1392,1086,839,893,852,862,1208,1484,1514,1444,1192,806,481,392,602,820,648,551,675,517,729,1476,1268,1546,1134,946,879,550,465,507,438,346,351,330,325,309,305,383,846,1212,1360,974,517,409,367,401,443,509,460,408,389,394,448,474,543,582,548,412,361,412,430,395,358,344,357,340,352,395,390,388,352,368,403,408,446,453,428,614,974,1376,913,495,562,796,633,553,1192,1568,1378,1274,1090,2160,1692,1086,1098,1024,1072,1144,1328,1154,830,670,417,364,355,473,689,639,405,292,311,338,345,375,630,1094,1370,776,658,496,494,515,458,385,328,566,895,1062,1190,1264,977,982,1108,1206,1338,1390,1184,1676,2030,1606,935,485,363,595,874,875,1124,1468,1236,796,740,951,796,498,415,442,420,345,389,478,530,939,1418,1952,1132,713,637,797,1062,1290,1306,923,680,466,300,716,622,563,700,784,807,1118,1202,1020,1116,1370,1430,1440,1122,1136,1136,666,750,520,459,861,1404,1128,452,480,680,869,1007,1124,1188,913,965,1188,1334,1446,1520,1506,1466,1372,1068,1024,1128,937,621,616,666,593,678,1046,929,813,788,611,960,950,940,1302,1334,1266,799,940,1318,1350,1444,1640,1564,1144,1176,1722,1628,1422,1326,1316,742,830,991,982,833,682,670,502,507,474,633,617,492,410,311,426,824,811,622,494,417,514,988,1410,1338,1078,1184,1084,1032,1322,1534,1460,1328,1190,1166,1104,1204,1096,714,740,1048,693,655,554,422,448,430,413,567,971,1044,1144,1378,913,726,818,1072,949,725,615,490,505,483,413,387,383,462,422,350,398,479,466,407,370,375,339,313,331,325,334,336,342,357,346,348,408,465,528,537,636,814,803,713,554,421,398,392,421,414,491,469,416,402,390,368,320,290,291,311,330,322,301,309,301,284,276,264,302,402,569,666,575,569,416,381,345,334,332,341,347,393,580,695,550,328,296,301,336,457,533,681,504,322,273,255,273,280,282,287,284,274,262,264,277,268,267,277,287,305,274,242,246,264,297,318,336,324,330,348,381,403,393,389,389,361,346,345,288,282,270,265,269,269,271,272,280,273,284,307,308,322,336,326,342,314,316,447,464,398,471,773,769,1048,1168,757,523,416,541,1256,1676,1700,1530,1344,1152,1050,1114,1542,1920,1874,1490,1290,1246,1716,1750,1684,1408,1202,1464,1078,799,764,537,661,1044,850,715,1040,1074,1086,1196,1354,1448,1218,1086,1082,1068,1036,980,1168,1072,1102,1236,945,1007,1228,1174,1228,1180,1056,990,1084,851,500,422,534,940,1034,752,470,405,377,623,1002,1344,1296,979,1216,1372,1312,1296,1248,1318,955,720,1186,1378,845,494,414,408,699,1234,1164,782,566,755,1118,987,689,1064,1470,1134,780,641,379,470,400,433,440,401,403,348,340,412,450,417,372,385,360,302,373,546,699,830,717,697,1210,1416,756,359,344,317,309,346,395,388,362,336,369,387,331,305,305,290,256,269,276,359,546,688,977,916,923,1030,883,603,679,836,1104,971,601,517,655,881,1024,1204,1290,856,719,947,993,1130,865,521,654,609,480,481,583,547,783,618,786,802,692,579,576,698,403,274,451,522,526,515,778,851,910,1166,1078,1078,731,437,513,472,543,792,696,460,366,360,410,383,436,470,628,673,746,1026,928,318,511,1000,706,411,598,565,438,747,962,1040,1112,1144,1088,950,1236,1520,1420,1584,1038,658,897,1214,872,417,369,329,290,272,254,274,325,387,386,430,386,345,332,350,327,275,319,382,356,304,265,257,264,286,371,407,382,387,397,343,387,612,943,865,894,821,1006,1202,1030,1254,1124,952,1042,1056,1096,1674,1404,631,422,364,295,428,949,1158,1256,1118,744,872,1304,1190,969,1094,786,969,717,412,466,681,958,1200,1012,762,650,540,612,877,915,875,1122,1200,823,411,366,433,423,439,554,509,484,460,445,462,587,1362,1444,1118,1023,672,611,817,819,754,589,593,526,737,1016,1013,593,921,683,441,541,524,455,454,669,935,805,782,1164,847,484,387,372,403,400,391,398,357,281,280,346,699,1116,1184,893,1030,1456,1594,1428,1332,955,670,667,814,986,1168,989,1154,1009,955,767,568,822,776,516,814,1146,1144,966,980,756,534,412,428,397,536,985,1316,985,675,683,738,642,628,909,648,423,484,493,428,324,225,219,305,384,517,394,399,436,300,338,493,550,596,609,471,626,1011,1038,907,1009,1302,1360,1070,883,1062,1200,1138,881,538,495,482,362,371,343,296,272,284,298,320,312,543,1016,1204,1252,1372,1528,1566,1588,1470,1326,1338,920,936,910,615,356,276,289,312,362,386,424,493,511,399,273,350,357,980,912,489,406,419,413,390,455,582,501,375,412,507,598,644,499,338,284,335,407,444,461,559,484,446,474,443,451,596,705,761,761,769,915,891,805,812,756,731,638,675],[522,816,969,1066,948,791,901,819,1078,1078,1056,890,750,655,468,455,440,493,451,892,1266,1306,1018,586,337,225,224,235,233,252,411,837,1770,1430,1096,624,784,1130,985,589,542,620,599,566,594,580,557,587,611,621,736,736,722,741,785,749,518,529,719,709,774,927,1092,1344,1224,988,1198,1292,1310,1136,822,507,287,389,477,531,525,564,537,603,738,982,1334,1462,1021,1012,1058,1290,1030,944,1290,1314,1628,1932,1930,1160,592,646,1096,1150,838,1142,1238,1062,902,760,593,946,1318,1058,473,392,650,724,430,494,739,473,389,442,480,458,584,539,976,1404,982,463,409,317,274,469,592,847,990,942,965,1122,802,480,354,227,288,382,487,477,554,868,600,285,333,520,557,498,444,459,492,442,437,430,448,424,411,440,435,458,495,681,854,854,913,1290,1636,1614,1490,1040,824,656,869,1004,1028,1100,946,1260,1410,1196,1400,1240,619,692,916,1064,1230,1360,1240,1106,1200,1224,1256,1432,1654,1684,1376,1090,1280,1336,1378,1386,1168,870,572,915,1334,1122,981,1100,1056,564,490,1114,1368,1318,1088,651,546,687,700,827,1470,1682,913,707,694,905,1013,1108,1078,1082,1162,1202,901,613,607,799,898,861,1100,1009,1098,1194,1006,598,461,735,688,422,733,1262,1032,1076,1258,869,836,574,497,527,595,642,564,402,385,448,497,480,506,560,596,679,658,640,658,767,706,500,705,850,586,787,1116,888,916,979,717,1578,1436,1072,1194,918,546,554,828,1490,1070,751,1088,1866,1698,1144,1000,1418,1380,1274,1026,858,1005,1180,1368,727,714,817,829,660,1256,1294,823,794,784,1122,1880,1944,1724,1302,1376,720,474,761,959,941,758,665,764,828,654,511,537,819,910,904,1044,1110,1252,1182,829,703,703,857,1260,1206,1410,1232,1046,1272,960,1422,1412,805,706,826,783,789,809,830,1074,854,835,741,1158,1366,982,828,967,1378,1488,1394,1338,948,700,427,317,289,404,822,984,1136,786,420,1086,1246,719,580,837,1070,802,523,340,306,258,252,265,290,261,232,319,369,328,299,288,263,412,626,913,1164,1202,879,594,667,764,641,673,907,943,474,526,528,725,994,667,344,361,375,334,503,968,1015,1098,1176,1602,1744,1192,1518,1416,1156,1238,1472,1594,1738,1720,1462,1172,874,491,562,996,1432,1614,1650,1402,1108,1172,1196,1190,1102,762,481,356,275,274,277,382,401,372,296,275,254,236,276,379,399,423,479,583,894,1214,1130,1278,1262,1292,1194,1322,1704,1488,1288,1218,1190,1630,1632,1192,1168,811,557,731,956,1208,1224,1394,1390,1066,1158,1768,1352,1174,929,641,494,961,1528,1444,1430,1520,1032,691,781,861,968,980,804,710,829,741,912,952,899,800,914,1158,1282,1324,1056,849,1654,1624,1268,1242,1330,1498,1478,1044,738,594,692,668,525,936,933,902,946,1094,1226,1007,784,1014,1250,1404,1250,767,419,327,306,256,313,464,706,799,437,412,366,430,465,527,593,526,555,596,390,317,397,450,384,360,378,381,393,354,617,730,586,483,373,323,391,449,362,331,351,348,343,349,343,343,383,406,406,700,896,756,634,394,265,317,366,401,385,377,387,388,407,471,514,528,845,1382,1580,1356,830,873,1120,1086,1338,1416,1382,1050,940,1250,1362,1444,1410,858,457,346,319,320,322,326,326,350,413,416,368,340,298,302,342,332,299,282,321,358,324,289,305,368,352,234,254,258,263,291,346,381,395,528,687,934,1196,1310,1182,910,775,744,673,565,750,563,528,601,1156,1680,1758,1746,1692,1760,1694,1052,532,431,377,385,387,451,471,579,648,560,510,630,678,723,860,926,1078,1104,1260,1190,1248,1388,1246,1064,967,810,594,437,485,593,547,504,612,722,928,1464,1282,1042,1046,1082,929,620,386,501,544,391,338,343,335,317,302,359,660,1222,1632,1176,656,656,587,412,364,344,361,573,621,435,364,452,441,456,485,426,367,376,383,340,311,307,311,306,331,372,384,379,384,413,422,450,470,479,413,810,1400,2126,1666,797,1104,1628,1110,484,748,1178,1268,1514,1814,1802,963,977,1094,1246,1430,1290,1024,804,932,737,454,357,365,440,402,333,316,315,364,355,362,457,559,816,1184,699,443,567,709,581,417,488,880,1072,1152,1350,1224,1042,865,971,1222,1274,1246,1230,1198,1416,1584,1116,553,412,379,493,698,1064,1098,1202,1230,994,811,680,654,695,491,412,403,389,391,489,586,856,1254,1326,932,766,582,568,788,868,860,893,889,573,511,586,516,651,993,943,844,1015,955,896,1004,1366,1426,1178,936,846,681,612,826,1044,1042,1042,1406,1288,1022,557,505,974,1140,1296,1380,1064,822,1026,1388,1522,1476,1510,1372,1284,1174,1002,1024,1092,695,502,476,422,785,1228,955,491,441,468,916,968,1023,1178,1344,1260,888,1166,1772,1854,1662,1482,1570,1514,1466,1732,1676,1380,1270,1384,1076,1016,1168,1092,996,847,903,732,828,594,550,433,363,351,322,410,764,824,471,409,494,725,1188,1440,1178,1228,1146,944,646,843,1188,1232,1344,1404,1170,888,1038,898,637,597,915,821,954,733,450,435,386,348,432,771,749,755,1128,766,674,998,1122,821,771,730,438,453,419,420,410,354,398,339,334,361,398,383,373,397,430,385,340,333,335,334,319,319,388,389,336,404,530,586,461,460,819,1070,953,637,510,408,403,422,454,533,503,470,474,429,402,390,308,282,293,305,327,334,298,274,278,293,299,343,428,569,682,540,536,402,343,325,300,324,335,308,422,672,729,578,290,290,313,350,565,539,555,430,336,304,287,289,291,300,301,286,285,283,276,276,278,280,293,314,320,290,264,256,248,264,272,289,296,324,336,346,349,349,349,358,377,355,360,303,288,279,275,268,272,266,277,327,337,299,346,320,318,325,334,352,336,318,431,488,447,346,459,1042,1278,749,487,393,456,776,1344,1454,1542,1604,1432,1208,1324,1794,1642,1338,1566,1536,1786,1540,1560,1370,1594,1522,1286,1098,979,982,858,727,778,941,1150,1058,1282,1772,1550,1294,1312,1322,1198,1130,1098,963,972,1050,791,838,1090,1156,1182,1312,1184,1128,1306,1374,1066,998,1084,1144,633,415,689,1186,1224,922,518,384,359,521,797,1080,1150,759,1154,1314,1122,1184,1252,1396,1342,1170,1124,1050,1005,830,586,408,712,940,845,726,464,758,1430,1218,821,1064,1212,899,952,789,343,287,325,750,795,971,819,438,398,419,432,381,355,362,333,320,295,428,449,488,589,947,1396,1128,506,319,341,332,325,330,366,354,334,327,377,391,337,291,311,341,347,331,321,354,561,712,1236,1040,827,908,727,775,1010,1044,1010,803,585,452,544,794,1150,1350,1130,720,1110,1384,1186,1180,892,719,1036,1252,1214,1005,1148,938,799,618,777,699,799,740,755,1050,403,221,312,447,521,736,999,775,824,910,1122,1366,1110,735,674,554,628,696,843,814,590,455,388,512,551,600,852,836,524,744,990,755,636,1021,960,774,742,648,537,689,875,946,1058,1054,753,717,906,865,1178,1038,866,676,875,1466,1316,910,558,351,355,306,297,312,366,569,629,572,479,376,361,384,363,399,243,242,251,251,239,271,300,294,360,400,415,437,365,337,386,431,596,843,1018,749,981,1166,936,1340,1550,1140,800,680,1144,1098,677,467,421,437,649,1284,1438,1032,1108,1322,1126,1038,948,771,681,779,838,904,572,314,322,532,690,848,1013,772,501,337,439,785,999,976,1220,1396,922,430,352,404,429,580,786,599,453,404,392,405,386,824,1116,1136,1142,990,843,778,731,845,799,818,605,806,896,896,775,590,430,312,366,480,535,543,710,1096,1224,1188,1952,1444,620,385,342,432,521,515,484,403,281,321,564,993,1100,897,977,861,1260,1418,1246,1116,926,1116,1168,1136,1036,833,611,1070,1142,1005,740,767,1210,1108,688,875,1090,659,466,683,468,365,307,296,327,383,594,760,758,872,923,890,745,593,777,584,439,502,458,351,281,210,269,345,572,739,426,410,421,362,373,567,661,668,651,498,528,834,821,935,1106,1272,1124,1048,928,950,1007,835,610,428,480,437,373,338,349,312,278,310,322,354,283,662,1216,1246,1096,970,1440,1638,1846,1552,1116,832,717,892,959,762,415,315,385,429,476,524,657,580,545,507,411,354,469,733,740,552,507,436,456,507,513,498,683,693,730,624,448,474,464,378,377,350,304,387,444,650,577,436,443,451,430,548,623,558,543,542,625,700,801,651,620,719,814,832],[608,1086,1142,1170,758,558,564,715,814,762,963,1346,1050,939,814,671,542,570,433,666,1006,1015,773,575,314,232,221,253,270,256,439,606,1114,943,971,767,568,703,642,387,385,389,401,400,509,594,592,600,637,641,680,650,612,760,953,756,575,619,680,711,966,1368,959,1198,1330,1074,1378,1520,1262,1132,1013,708,385,391,383,370,440,469,883,1082,1010,1054,1372,1578,1454,1422,1242,1564,1482,1378,1562,1654,1874,2010,1932,1646,1176,1020,1446,1344,1134,1164,945,651,483,747,843,963,1110,678,324,337,559,573,315,262,455,473,791,1248,1062,794,625,713,1064,887,731,422,424,315,290,513,753,1056,985,819,1128,1244,717,568,406,242,298,437,558,595,639,787,623,393,572,807,751,545,430,430,422,432,450,449,459,413,430,444,451,469,513,740,1054,1050,730,792,877,749,783,824,793,572,649,973,957,790,965,1382,1236,1374,1488,1418,1044,1078,1200,1426,1416,1232,1174,1302,1252,1114,1268,1488,1656,1750,1504,1118,1396,1406,1458,1440,1304,1278,1048,929,1270,1170,824,803,1026,1009,901,1094,1078,1074,1104,693,579,609,782,676,1034,1478,1200,730,582,755,1054,1058,1009,855,1082,1418,1214,588,587,523,659,597,839,1016,1008,1164,1007,656,719,860,753,721,1016,1190,1070,1005,708,935,938,605,537,543,478,509,612,455,446,507,560,477,505,510,551,655,677,766,643,397,373,423,696,712,564,643,1222,1302,1216,845,1102,1650,1064,879,984,1144,966,685,926,1252,1066,874,861,989,1348,1106,896,1456,1548,1476,1400,1266,1290,1124,828,680,810,886,758,758,1522,1454,691,814,907,990,1500,1540,1644,1376,1230,1034,836,810,835,767,713,813,985,703,742,733,1212,1270,869,792,915,1015,948,742,655,710,659,760,1330,1310,1364,1252,1190,1216,746,668,747,836,947,1090,1144,1188,868,597,767,999,1116,954,1016,1216,1224,946,893,988,1188,1262,1188,964,825,557,401,365,381,387,501,978,876,471,803,1066,592,487,404,386,407,502,753,521,248,267,267,256,222,255,330,347,380,411,345,298,278,520,760,1005,1120,966,805,970,1190,1034,813,837,1007,939,845,662,806,778,416,334,378,389,343,421,430,479,1082,1005,1342,1858,1778,1400,1024,946,1280,1566,1592,1680,1712,1700,1404,969,698,574,910,1332,1516,1670,1738,1582,1226,950,781,655,547,369,262,227,237,223,239,307,346,336,332,325,336,346,452,375,327,427,645,1001,1124,1212,1234,1228,1474,1542,1510,1660,1690,1502,1128,896,1192,880,835,1044,891,991,1216,1352,1300,1050,1494,1582,1336,1580,1824,1324,1114,1084,776,384,491,890,1274,1202,1216,936,828,788,688,761,989,875,724,794,1044,1346,1262,1102,981,1066,1218,1272,1158,906,1086,1452,1580,1376,1322,1424,1560,1240,1172,1454,1066,756,840,979,1332,1276,963,838,925,982,867,847,1054,1196,1136,922,579,422,365,319,295,332,334,388,575,407,423,370,368,453,529,692,735,691,522,319,350,447,439,371,386,368,401,407,390,563,692,618,431,351,366,410,441,389,333,328,315,324,338,337,336,397,422,526,785,802,585,336,261,249,232,268,273,347,401,412,404,448,467,402,356,434,861,1340,1636,1268,1322,1390,1448,1570,1510,1428,1356,1472,1554,1388,1420,1518,784,399,342,307,312,314,318,359,398,401,384,370,350,347,351,339,345,350,358,415,398,302,315,352,346,312,266,297,316,335,322,327,325,438,554,649,704,978,1504,1180,1032,1124,990,901,1015,988,762,744,862,1082,1144,1300,1526,1532,1216,858,738,637,538,448,425,443,480,431,373,411,477,612,833,976,796,980,988,1160,1384,1296,958,830,1092,1326,1068,925,847,522,422,468,534,580,543,661,924,1092,1488,1314,655,629,595,993,957,378,428,617,470,370,364,336,289,306,533,854,1082,1388,916,566,523,658,489,385,622,999,1222,1230,867,410,461,439,435,398,328,378,329,324,342,325,314,330,362,413,422,393,390,393,392,415,386,328,380,354,864,1742,2012,1390,1114,1758,2264,1274,550,522,941,1260,1378,1254,1102,1188,1090,771,854,1264,1236,925,732,1024,969,641,498,802,704,437,479,405,490,667,393,689,992,904,766,863,674,521,736,799,561,483,1142,1810,1456,1278,1438,1290,962,932,1012,1056,1058,1042,960,900,1092,1226,979,659,604,450,403,606,1050,1234,1124,1026,967,706,760,1302,1498,732,525,419,379,414,930,1108,891,812,993,1150,966,771,717,780,832,729,972,806,585,453,448,471,591,884,965,761,800,1050,951,996,1234,1594,1160,647,543,535,616,808,1172,962,1004,1028,1246,1436,867,499,710,807,1005,1170,981,683,713,975,1474,1446,1354,1186,1108,1110,1064,1096,1032,763,548,417,358,483,678,693,549,506,624,982,896,1028,1152,1208,1096,665,1188,1892,2046,1938,1462,1546,1498,1466,1670,1772,1532,1638,2028,1424,1082,1170,1210,1202,1146,1021,1068,855,493,400,350,304,318,310,353,615,740,484,607,982,1166,1162,1298,1082,841,801,659,480,811,1318,1252,1082,1148,1110,1082,1184,1152,828,713,926,965,619,498,716,786,600,455,399,425,514,515,653,658,713,769,514,447,634,589,376,357,365,390,353,363,375,343,329,340,338,364,390,385,415,469,428,440,431,381,328,355,389,409,491,435,478,586,485,404,716,1001,734,492,446,369,392,405,428,495,518,483,446,444,451,495,381,298,285,303,347,344,298,275,281,307,305,318,446,468,437,449,529,377,283,306,311,332,309,309,343,420,407,323,394,347,283,393,546,614,680,585,408,314,298,303,317,352,337,309,287,257,256,280,288,275,275,303,310,297,284,261,249,258,289,276,276,282,298,350,385,336,311,330,380,333,330,317,305,290,280,271,287,289,268,298,309,280,336,324,326,334,350,379,354,319,375,482,493,484,1070,1380,815,485,398,480,768,1256,1658,1548,1444,1472,1344,1024,1118,1686,1716,1136,1212,1514,1456,1284,1250,1188,1380,1608,1428,856,1172,1314,1296,1142,949,1164,1148,1090,1296,1582,1498,1292,1148,1308,1284,1122,1176,1098,1142,1168,916,945,1070,1064,1280,1446,1300,1138,1206,1236,1020,886,985,1050,633,509,739,983,1136,940,627,505,374,431,901,1204,1007,702,1164,1328,1196,1396,1216,1042,1068,876,852,946,1146,1116,758,677,910,883,962,1072,661,852,1486,1124,709,822,981,806,872,691,586,487,408,455,683,999,730,415,383,409,443,379,375,348,287,315,300,343,386,404,533,822,904,742,474,340,330,330,363,362,379,359,322,314,365,359,269,262,277,321,369,353,345,381,549,863,984,976,731,629,922,1172,1096,976,660,455,455,408,600,962,1502,1758,1142,536,796,1186,941,702,818,1184,1288,1322,1302,1324,1380,1096,913,807,700,955,1344,838,560,478,238,230,253,373,686,1042,916,890,838,614,943,1380,1382,824,691,545,796,870,987,821,762,605,372,745,803,583,922,839,878,1442,1380,1434,1116,1132,1504,1490,1196,1080,902,960,1260,1528,901,601,601,633,552,476,601,807,962,743,796,985,1058,1202,755,504,526,383,339,349,288,500,811,857,650,437,394,364,328,399,224,217,215,281,309,313,304,333,391,385,374,446,428,385,435,397,370,731,902,897,1036,1122,1028,1172,1042,767,411,413,802,794,764,644,799,743,1040,1146,860,877,821,850,661,481,421,551,632,596,783,685,495,331,328,469,672,1024,1364,805,647,1360,1264,1044,1072,1016,953,894,688,403,342,399,484,537,712,585,333,281,293,299,473,1024,1282,1060,1020,1012,941,740,788,764,567,466,584,747,769,684,455,479,473,362,375,418,445,482,726,775,982,1154,1728,1614,918,419,321,439,457,429,405,433,378,410,777,1054,1108,782,560,462,504,697,1136,1394,907,1194,1124,852,842,684,591,1044,1336,1138,917,714,703,808,879,673,668,533,564,465,355,346,319,340,367,379,367,547,703,1126,1272,1276,1126,781,800,655,398,433,476,393,299,235,289,421,775,726,412,350,346,311,331,485,590,625,651,606,511,824,1096,1160,926,856,802,850,795,793,637,522,632,437,443,461,476,392,332,314,307,356,413,402,354,538,918,1008,676,774,1354,1656,1732,1482,1338,999,846,850,593,419,308,374,502,605,576,545,650,623,655,667,514,513,722,964,865,658,515,457,432,549,545,494,659,774,662,476,366,429,476,715,792,667,377,418,472,461,433,475,537,498,477,502,495,477,572,636,591,554,676,680,643,604,707,712],[626,868,1116,884,464,416,472,561,568,604,1110,1610,821,902,735,539,663,779,711,727,797,583,503,388,254,255,261,272,254,276,329,357,432,523,692,572,395,425,438,325,310,368,402,445,524,614,612,641,600,621,954,951,644,860,1023,962,1104,914,719,920,1584,1328,524,783,937,678,659,796,1096,833,604,577,417,416,435,469,444,421,718,1052,1202,1096,1166,1448,1432,1012,974,1114,1474,1596,1676,1892,2102,2006,1908,1626,1140,889,929,916,711,952,838,533,728,1344,1406,1196,885,458,346,355,446,387,315,272,342,397,668,972,960,696,339,400,708,496,509,432,381,349,404,549,775,980,887,815,1216,933,606,688,516,313,316,448,545,576,651,871,840,773,801,958,926,797,512,441,401,451,457,446,421,428,452,448,454,483,527,610,852,1192,824,531,472,429,432,561,921,806,602,753,730,750,943,1066,1028,855,1018,1180,1168,1098,1126,1068,924,1024,1180,1266,1082,1160,1324,1478,1556,1696,1592,1396,1406,1302,1310,1224,1250,1240,1290,1200,1256,1234,910,608,634,773,1092,1464,1106,739,916,1018,836,559,508,756,841,789,951,709,727,1108,1154,1088,1172,973,1198,1268,1220,741,448,413,526,521,885,1128,1090,978,738,912,1146,1084,931,794,1074,1050,1396,1284,755,794,904,627,532,482,412,365,471,394,385,469,486,509,646,712,614,612,702,964,683,571,558,492,703,596,515,653,1372,1634,1182,797,1418,1770,1190,727,724,926,1416,1538,1240,842,916,830,490,493,769,860,1190,2102,1474,841,875,1116,1282,881,530,850,1122,871,587,995,1756,1196,628,645,735,820,803,918,1262,1212,1122,1426,1526,1252,1070,705,672,863,1330,687,529,953,1368,1552,1376,966,991,1052,722,621,552,659,886,893,1242,1416,1346,1168,1042,961,820,877,1138,1182,1090,957,791,944,815,795,991,1260,1372,1310,1132,971,907,1042,1228,962,812,577,460,724,1108,944,572,327,314,357,440,596,854,924,976,1374,725,417,313,502,521,573,736,492,285,331,316,290,289,388,437,468,601,717,526,312,316,282,442,796,659,778,1038,1130,974,852,1026,791,927,1042,827,780,992,1050,902,487,373,405,338,400,376,571,931,902,781,1009,1342,885,684,856,1324,1512,1562,1610,1660,1638,1652,1374,908,577,594,763,1078,1440,1484,1562,953,580,574,662,458,321,292,248,238,254,305,393,459,540,652,466,448,370,363,355,363,380,525,509,503,991,1364,1130,1410,1420,1248,1480,1924,1704,1154,1092,1023,939,900,854,1192,1200,1080,1134,1254,1300,1576,1704,1550,1378,1418,1108,554,616,518,335,420,846,1382,1056,1118,1208,1226,1032,909,968,764,647,574,829,1482,1220,1282,1124,882,766,857,1172,976,700,1058,1432,1484,1316,1346,1382,1012,600,807,748,730,867,839,990,1450,1166,963,1052,1108,1400,1184,1011,1170,1354,1068,680,477,403,360,329,347,341,377,488,450,355,348,407,408,418,553,701,627,477,361,312,394,439,393,381,390,356,395,388,335,381,500,557,421,402,408,338,339,315,318,301,300,337,338,335,394,465,484,562,630,514,472,296,262,258,252,255,250,322,438,456,435,480,486,480,379,394,394,480,930,935,1056,1504,1860,1732,1582,1510,1800,2148,1616,1224,834,669,457,350,335,317,302,302,316,345,430,467,492,419,390,368,408,368,390,433,432,454,416,330,314,330,302,309,334,319,344,363,374,340,342,402,469,633,750,1324,1446,976,1032,1124,880,753,707,658,776,833,1130,1400,1192,1278,1572,1540,862,595,657,627,551,460,424,408,385,364,381,402,505,750,871,917,907,943,985,1126,1194,1023,1032,1158,1304,1126,756,744,752,579,589,723,895,806,797,1028,1316,1350,1408,1472,756,758,1052,1926,1562,598,370,625,619,461,366,324,309,311,382,508,736,832,584,453,367,464,575,488,561,974,1250,1206,886,411,442,419,410,395,329,372,371,347,373,387,388,390,379,391,434,409,416,419,396,314,372,505,725,706,774,1086,1068,1072,1080,1366,1406,724,458,391,715,1238,1270,1018,1200,1360,1250,919,731,1122,1136,1013,1116,1346,1150,742,988,1290,885,549,509,445,578,675,356,572,901,1124,811,537,567,617,521,466,651,1238,1924,2050,1526,1354,1272,1196,1046,861,630,627,872,833,713,713,762,699,744,708,644,549,514,786,1016,1052,1106,1266,1142,750,968,1798,1328,661,873,647,398,597,1134,1388,1072,849,1238,1182,771,741,614,1068,1168,869,752,752,671,614,781,451,440,753,949,937,1046,1044,1116,1260,1202,1142,952,833,803,525,497,661,1128,1080,1214,1338,1316,1210,865,575,565,929,1208,1024,864,952,1458,929,1266,1310,1096,1010,1090,1228,1202,997,928,926,666,436,426,736,1074,932,733,567,506,478,682,1122,1072,985,1244,962,1400,1196,1614,1820,1540,1490,1594,1320,1370,1656,1772,2530,2544,1318,1118,1276,1268,1248,1004,827,1060,891,455,290,270,287,303,294,355,457,508,504,1230,1344,1021,802,1021,960,556,521,418,375,523,1038,1106,1104,1442,1088,974,1048,1124,1078,970,1196,1124,733,895,1078,1182,909,558,519,460,372,504,677,617,514,458,415,427,412,388,361,386,414,369,328,368,345,328,328,325,332,390,447,442,420,431,474,539,443,356,334,401,404,523,834,669,623,659,404,320,495,565,590,581,421,354,365,405,402,417,498,512,451,491,500,586,496,332,292,314,308,317,291,290,368,401,342,328,441,453,387,434,516,369,289,321,346,349,332,303,281,254,289,268,281,296,327,439,528,699,833,662,504,343,313,310,300,315,315,304,291,274,275,288,284,291,282,293,295,296,283,272,271,270,270,271,270,262,272,308,330,297,297,324,365,339,324,321,309,298,282,272,283,268,279,271,264,285,315,322,322,325,332,328,332,365,444,521,522,905,1472,941,527,445,447,720,1142,1382,1576,1600,1358,1364,1280,1062,1180,1676,1760,1246,1034,1168,1062,1084,1012,1086,1212,1308,1344,913,1450,1524,1524,1518,1458,1426,1116,1114,1386,1522,1402,1000,1122,1376,1102,1058,1084,1058,1300,1246,1086,1122,1128,1192,1368,1470,1280,1252,1252,1096,1328,1134,1306,1042,600,897,1322,1430,1600,1240,775,645,518,572,1074,1304,1134,952,961,951,985,1007,785,754,1014,1106,1066,962,1200,1060,975,985,943,738,783,955,673,819,1096,1013,926,819,982,974,735,1034,1178,1008,653,358,330,306,376,456,440,420,460,383,358,309,264,242,283,474,727,885,1090,1300,889,801,532,373,333,336,382,379,365,336,309,328,342,281,295,318,331,338,331,350,391,459,653,884,856,720,798,1128,1528,1518,1022,689,536,514,536,514,812,1126,1496,1400,753,352,381,565,614,673,1354,1454,966,602,782,843,789,744,547,519,819,1322,1214,576,598,385,281,231,203,286,656,871,848,865,626,491,888,1306,950,722,597,800,1176,1208,1060,1030,1250,849,419,799,948,861,963,558,921,1622,2070,1688,1380,1366,1524,1442,1106,946,644,460,981,1372,624,367,398,393,403,392,772,1242,988,727,940,1042,1004,1076,784,834,681,444,378,410,481,670,804,945,1002,731,588,639,547,451,268,255,240,281,409,401,313,343,370,294,286,410,425,448,500,429,386,764,1000,965,1304,1102,1001,949,506,525,677,568,623,847,894,810,806,781,824,810,697,877,553,469,496,470,694,956,764,559,440,579,669,354,289,322,497,965,1682,845,893,1836,1644,1336,1146,824,484,434,409,358,334,375,477,466,567,623,431,332,401,340,443,962,1198,801,865,835,601,639,1007,833,565,470,578,690,888,758,411,451,377,346,392,394,561,985,1072,731,706,880,1056,913,458,269,357,408,339,318,313,373,356,483,532,603,713,563,399,410,520,591,1370,1522,1208,1116,742,647,1124,1166,754,669,1096,1036,831,443,622,891,750,474,527,564,648,496,381,352,326,304,309,315,494,895,1046,1122,1256,1332,1314,1112,1050,1028,594,342,448,446,379,351,360,413,520,398,317,342,368,354,379,435,543,625,550,678,855,838,892,769,503,512,628,547,760,1138,891,566,706,459,408,482,702,727,535,357,374,425,590,581,577,576,619,764,632,997,1428,1708,1576,1398,1454,1144,755,630,470,430,415,429,568,713,660,567,540,551,663,808,809,972,596,645,518,509,433,491,476,433,414,388,477,541,448,338,312,374,499,580,651,570,511,767,666,389,430,525,572,532,445,439,498,489,548,772,655,515,545,880,1086,935,722,554],[333,392,589,579,472,610,864,839,505,465,1148,1388,742,827,661,472,668,863,606,475,711,714,716,514,406,297,265,281,289,276,335,393,340,453,590,411,386,350,378,392,437,436,407,491,667,689,692,703,578,446,698,644,557,831,988,1021,1304,1266,825,766,1154,971,547,493,566,509,472,1036,1036,672,453,417,339,375,593,639,494,661,808,782,1296,1382,1594,1680,1788,1602,1464,1480,1488,1320,1118,1490,2178,1984,1660,1152,999,985,930,670,544,588,583,667,1000,1598,1496,1110,535,378,346,395,419,365,295,325,412,404,450,473,311,255,278,342,337,263,324,362,379,426,531,585,587,750,911,906,1454,1380,1078,816,553,408,408,406,615,778,814,1066,1032,1016,1013,1094,1178,1252,810,480,409,432,430,405,382,403,426,437,466,499,517,608,673,908,723,407,542,655,418,469,717,653,484,561,671,1019,1002,843,692,691,874,752,897,1326,1252,1094,1088,978,834,711,688,977,1178,1208,1268,1424,1434,1584,1472,1320,1272,1116,789,755,1094,974,1058,1260,869,526,797,1094,955,820,819,909,1248,1478,996,593,368,563,691,835,841,581,689,894,803,1172,1340,1260,980,1194,1015,1110,1064,900,772,725,818,994,991,892,771,847,1136,1132,1228,1144,1180,1384,1500,1144,821,721,935,1314,974,728,518,384,415,360,330,445,548,518,695,858,584,599,637,964,742,971,850,580,572,549,445,788,1502,1526,1082,1023,1814,2138,1898,1188,901,811,1192,1632,1960,1610,1136,770,530,426,480,705,1572,2042,1172,550,439,612,1262,1434,1136,1056,1052,603,573,669,875,810,859,752,568,586,658,999,1462,1030,983,1844,1848,1116,1132,1000,1086,1318,1428,772,677,1578,1920,1692,1388,911,1038,1216,1023,657,450,518,723,947,1268,1198,832,841,1250,1276,1268,1246,1366,1532,1402,1116,1062,1116,1016,1076,1228,1378,1286,1222,1028,802,789,1112,948,608,617,415,404,645,803,1054,1086,849,799,766,495,626,1032,1013,869,1118,749,310,236,448,644,610,704,574,327,341,334,335,323,423,551,628,770,807,525,286,324,370,565,797,822,890,1200,1007,771,933,1009,864,844,844,1054,1142,1166,1170,1148,675,532,614,888,1160,784,885,975,959,980,685,890,633,612,697,1066,1404,1500,1580,1626,1582,1584,1488,1148,604,329,526,957,1130,933,1040,630,539,1284,1454,766,343,291,227,250,257,338,676,1009,949,908,529,415,380,332,377,413,433,413,315,359,684,1066,1462,1692,1290,1236,1636,2032,2066,1648,1322,1162,1362,1064,1136,1346,977,1500,1722,1418,1426,1632,1874,1702,1566,1622,1008,414,336,305,308,463,1088,1430,1172,1210,1230,1228,988,1023,1032,1080,968,664,789,1198,1056,1316,1500,1166,1108,1180,1170,750,574,927,1124,1030,891,1104,1038,708,526,496,664,670,742,1018,982,1102,984,1016,1009,1314,1396,1172,1136,1072,1013,966,685,429,381,342,323,379,379,536,495,462,401,351,518,689,567,588,692,449,343,316,343,455,423,410,383,377,405,398,376,500,660,464,505,406,346,361,352,383,357,362,345,344,349,352,374,407,436,456,733,591,612,693,418,248,267,254,271,268,308,437,521,524,459,718,711,422,371,330,353,377,425,507,742,1002,995,1296,1360,1622,2078,1588,1414,948,536,424,402,401,345,315,308,324,338,422,399,467,467,477,412,377,361,345,380,412,379,340,270,323,316,307,298,264,290,325,317,289,297,347,329,345,505,684,1372,891,705,860,952,965,987,780,577,677,762,898,778,803,1116,1348,1406,1262,1042,955,941,698,516,492,386,326,364,390,426,584,805,992,886,971,1028,921,925,921,935,1174,1096,1076,662,658,840,893,897,833,920,1122,1122,1186,1346,1570,1336,1432,1560,894,884,1142,2036,2076,1130,490,522,568,499,349,337,330,266,252,279,365,587,615,432,348,325,447,590,555,582,697,620,596,543,428,412,387,338,342,401,385,345,318,321,371,369,384,410,422,391,368,356,314,274,441,872,1108,678,502,509,558,815,843,843,566,430,418,356,524,928,1078,960,1034,1398,1570,1276,1116,1038,1023,976,1214,1290,905,725,910,1056,993,667,423,409,376,397,338,405,462,665,755,521,426,418,400,656,1044,1760,2140,1806,1324,1140,1098,1046,995,959,480,479,789,816,784,651,624,643,602,718,800,612,478,471,641,871,1264,1282,1074,1026,974,1310,828,807,1226,811,354,748,1376,1290,1152,1110,1024,731,759,881,905,1320,1172,824,869,990,796,702,751,446,370,553,875,1164,1154,1180,1346,1282,1154,1276,1002,966,966,543,426,666,1096,1172,1136,1012,785,881,1260,1012,642,957,1030,813,735,1144,1554,808,815,1108,1180,989,786,1005,1098,1024,1030,973,885,566,579,933,1172,1078,907,705,623,671,820,1023,1086,1066,1302,1214,1048,1001,1210,1312,1296,1278,1492,1498,1526,1790,1904,1880,1524,1168,1094,1286,1214,1088,1078,1100,1208,1023,415,296,287,302,304,294,370,364,343,357,874,1040,906,791,799,847,729,871,751,500,512,797,1050,1180,1230,842,816,1098,1164,847,889,1015,1168,957,980,1070,1170,1098,939,975,670,308,360,414,466,603,450,471,540,679,510,383,370,380,346,330,343,334,337,335,340,356,345,417,389,369,389,480,485,480,494,402,410,351,530,880,833,778,600,344,294,390,426,434,423,444,460,362,403,411,396,461,575,582,595,600,562,469,373,304,317,308,308,294,294,395,379,319,332,361,395,382,508,604,323,286,350,374,341,329,287,280,274,271,270,271,301,343,495,862,1032,870,713,440,349,328,307,289,296,296,286,279,268,271,271,275,291,259,262,281,298,280,268,267,265,269,271,256,261,268,278,288,275,292,320,354,352,348,337,309,310,292,270,280,269,271,280,293,311,312,307,313,317,312,324,357,366,398,561,849,1318,1028,564,471,386,547,1046,1168,819,1230,1642,1634,1918,1904,1376,1270,1410,1554,1376,1186,1100,1030,1001,1110,1324,1666,1618,1214,951,1384,1730,1400,1626,1732,1234,955,1030,1260,1282,1032,893,1196,1286,1005,1064,1122,1001,1158,1166,1128,1138,1076,1182,1208,1044,1406,1436,960,677,854,988,1366,1322,780,989,1410,1454,1400,1166,965,1116,1026,916,752,788,843,930,1000,951,823,856,794,761,1026,1042,1090,1038,1178,1076,1100,1102,1005,728,470,473,763,1013,996,888,794,923,1114,914,1072,1090,838,852,529,347,339,383,373,408,407,426,440,318,320,328,266,245,324,703,1362,1550,1832,1798,1068,572,383,339,336,382,432,399,348,332,318,347,349,275,305,363,341,348,298,323,392,413,498,540,440,537,1186,1654,1606,1226,678,422,419,487,681,885,1014,901,813,908,670,361,346,327,530,644,946,1188,812,429,482,491,522,535,575,412,340,542,457,370,322,294,278,210,220,301,401,561,775,691,433,362,443,572,430,587,579,655,706,684,765,888,740,364,329,524,620,407,325,458,594,988,1442,1416,1282,1268,1324,1294,1074,910,728,424,391,374,419,462,362,338,359,301,412,681,1048,952,835,510,553,714,802,776,462,366,524,599,648,874,876,898,733,576,577,588,517,358,247,230,265,369,457,483,434,361,300,430,405,430,468,456,473,531,508,684,1086,1566,1928,869,465,367,399,634,1154,1318,930,689,796,932,853,785,756,1019,1164,959,810,976,623,408,706,893,949,824,597,708,857,451,334,321,372,527,873,741,944,1084,1076,1066,1016,735,391,388,363,346,372,379,683,760,529,480,433,418,426,388,397,592,487,354,573,817,567,566,919,1596,1428,664,678,807,1086,697,492,444,386,338,389,396,636,1032,1134,859,430,435,513,586,521,425,428,422,338,346,343,314,290,302,254,322,415,311,264,361,411,482,828,1092,1326,1228,1021,1296,1448,1200,1009,618,785,686,747,1218,1322,933,563,476,483,458,487,565,496,357,376,327,311,390,741,866,886,648,879,1288,1386,1278,1310,1152,678,357,388,351,311,331,367,408,407,352,339,361,342,341,431,430,495,608,805,963,1044,824,803,927,949,1066,1314,989,944,1174,1102,763,617,379,425,645,791,722,631,619,769,813,996,842,543,444,411,463,789,1088,1346,1714,1608,1296,1280,1023,563,542,498,760,957,621,487,589,753,755,560,545,734,1026,1224,1015,825,945,713,530,665,829,627,510,563,463,517,503,464,349,302,358,565,520,409,391,543,774,698,488,505,552,676,702,492,474,561,467,417,480,481,498,913,1498,1476,1216,1086,808],[395,625,604,615,747,1050,1382,1164,580,425,775,959,1000,967,694,576,739,730,414,409,791,1007,1402,1152,736,351,239,261,254,261,355,425,385,481,568,413,357,360,340,399,447,447,448,534,830,1190,1340,724,503,339,434,434,469,583,785,1056,1250,1070,982,1042,725,567,523,435,511,454,636,976,600,489,494,442,429,416,489,507,596,1242,1426,1122,1112,1438,1800,1776,1710,1386,1050,951,1160,1188,744,1270,1898,1598,1328,1260,1138,980,920,714,606,547,430,466,600,937,1098,756,555,625,709,774,539,351,459,500,390,338,348,362,292,271,263,402,394,316,333,392,462,455,532,544,448,527,878,952,1132,827,603,651,466,375,412,403,542,715,742,1138,1034,990,777,700,1272,1778,1260,648,453,379,349,361,397,453,461,470,491,514,520,643,690,702,550,348,379,415,415,366,370,381,423,564,902,1142,825,750,872,955,863,583,811,1118,805,600,580,591,620,626,625,836,1007,850,957,1214,1224,1606,1456,1340,1004,781,626,841,1004,696,602,774,767,1017,1344,1458,1036,959,912,849,1282,1618,1198,627,409,443,470,697,971,914,851,625,579,1454,1484,1250,706,777,725,688,998,1300,1108,915,793,912,847,984,883,863,1098,1060,1130,1290,1266,1228,1178,1122,954,827,672,1052,1198,1278,811,533,421,363,403,467,534,520,550,793,846,672,637,884,788,993,885,617,557,449,383,603,814,731,932,1520,2226,2254,1346,1062,1128,1246,1492,2082,2578,1942,1432,1200,782,722,631,1064,1706,1422,777,421,355,728,1386,1658,1628,1534,1198,683,640,594,918,1148,1050,833,558,510,572,1008,1326,894,1218,2018,1596,1298,1418,1288,1262,1112,1011,832,1114,1792,1752,1626,1522,721,897,1662,1632,796,525,486,760,1198,1364,1234,1034,1004,1250,1136,1144,1238,1416,1764,1844,1548,1346,1268,1070,1058,1628,1912,1194,1198,1058,988,1156,913,602,516,489,364,603,938,1026,1362,1224,1272,1326,1300,773,805,1230,1050,776,920,576,258,259,364,561,632,946,650,413,565,635,730,591,546,786,789,672,546,389,327,615,656,654,716,1122,1348,1224,974,1058,980,645,729,1005,929,1230,1230,1108,1192,1222,833,696,700,1015,1102,891,1146,988,840,982,838,897,719,771,821,1034,1216,1382,1584,1606,1548,1506,1462,1250,690,344,462,944,1118,695,553,465,594,1432,1954,1310,491,325,288,327,328,328,710,1500,1138,970,926,589,402,338,373,405,478,569,467,359,408,632,1236,1468,1212,1418,1710,1736,1730,1742,1618,1170,1134,1200,1200,803,1166,1806,1202,1002,1286,1410,1750,1770,1664,1598,901,456,344,372,497,920,1372,1204,1142,1296,1246,1178,772,1126,1072,1080,1258,997,858,979,847,1310,1422,894,1054,1208,1180,634,445,579,778,947,948,1038,1036,1078,981,795,1082,998,894,1160,1220,1188,1276,1210,1194,1380,1084,804,967,1005,836,726,702,603,404,350,332,373,523,509,370,378,389,507,993,1314,916,599,516,322,312,401,502,495,425,386,360,399,450,439,477,656,841,519,357,361,347,376,399,387,426,455,388,382,339,365,428,420,522,1034,1050,619,889,1188,788,389,289,277,237,272,382,480,553,496,438,533,490,407,397,457,450,455,487,466,524,551,567,623,558,694,1021,1256,1084,546,399,354,377,368,342,333,314,315,348,408,404,393,490,592,489,370,330,340,404,404,323,309,371,399,357,332,321,339,314,291,321,303,284,323,341,390,454,554,792,572,498,640,658,748,838,577,612,1058,1130,791,514,482,499,604,618,612,843,1032,987,1082,1214,1030,943,977,743,555,632,959,1032,953,944,1030,1182,1224,885,822,962,1092,818,875,828,858,882,1202,1324,937,1042,1220,1138,1196,1128,1378,1348,1322,1510,1062,781,1156,1682,1886,1292,423,255,320,477,425,361,313,265,312,330,297,326,306,320,373,355,481,642,521,602,897,612,449,481,694,638,406,342,377,408,396,383,314,317,379,327,339,394,418,369,336,308,266,272,384,767,1146,843,703,590,505,517,573,664,591,446,394,330,437,752,878,779,821,1288,1220,1128,1204,1186,1224,1176,1086,1018,791,627,875,1086,732,558,430,410,403,501,727,763,539,703,957,655,517,664,803,875,959,1654,2088,1612,990,735,780,943,949,932,557,461,577,601,692,699,660,722,668,726,868,885,750,425,636,919,1266,1134,1206,996,703,776,703,970,1372,948,405,841,1186,1112,1120,1046,836,571,752,1078,1178,935,550,540,893,1128,1030,699,488,541,452,800,1288,1550,1364,1202,1480,1466,1214,1312,1154,1098,732,692,915,1007,1164,1268,1248,981,637,612,1172,1110,1086,1150,1230,1086,1242,1232,935,555,559,901,1290,1158,720,948,1182,1252,1374,1350,1322,911,647,637,816,1162,1078,690,824,964,891,1182,1410,1416,1294,1244,1344,1520,1462,1394,1344,1500,1510,1614,1622,1782,1766,1408,1254,1212,926,912,1100,1100,1186,1202,1086,897,343,290,287,300,333,360,407,325,252,253,530,681,537,699,971,1136,954,985,849,713,750,783,1106,1400,1218,1182,1416,1160,816,730,1038,779,879,720,1042,1378,1310,1076,774,655,520,328,317,304,379,566,626,915,728,781,551,418,414,363,339,328,325,323,338,353,362,372,350,332,339,372,448,518,577,693,651,466,418,334,513,846,759,631,481,400,373,413,446,411,428,451,594,477,401,417,452,433,567,653,648,641,538,454,505,486,408,318,327,311,311,361,330,314,330,323,356,458,543,561,350,329,357,364,371,393,339,284,268,257,263,274,306,337,454,824,912,874,738,443,346,348,341,322,290,254,262,276,274,261,248,257,278,249,244,258,268,276,283,279,271,267,272,280,250,257,274,278,274,279,293,315,336,356,354,333,303,310,304,293,293,275,275,288,313,315,306,314,318,324,340,330,341,339,815,1352,1104,620,477,405,372,625,1028,826,416,881,1476,1566,1698,1744,1568,1516,1450,1380,1094,999,1254,1274,1044,1494,1488,1742,1858,1144,921,1268,1798,1624,1616,1820,1222,641,1114,1274,933,1152,1094,941,1166,1174,1290,1306,1150,1384,1344,1132,1026,1009,1230,1346,1300,1510,1420,868,572,807,985,1194,1154,818,911,921,1332,1424,1250,1562,1526,1318,828,459,660,787,895,987,907,721,751,818,897,983,1052,1012,819,949,1048,1168,1298,1208,939,601,397,608,567,566,439,511,793,1030,1124,1018,392,324,409,339,309,331,363,349,368,398,453,407,261,242,269,256,263,311,656,1468,1538,1980,1648,777,393,346,396,441,495,484,412,330,351,365,333,298,295,386,558,634,484,314,380,402,333,378,405,408,695,1238,1352,963,653,460,384,412,617,926,984,939,1096,1130,1274,679,373,322,483,908,951,974,1086,725,432,516,713,705,638,676,491,345,278,340,327,288,327,294,253,282,345,447,797,1106,747,460,356,375,755,714,683,730,502,552,727,858,998,545,419,397,384,333,305,313,467,564,728,1009,1228,1358,1692,1500,1594,1494,1048,819,486,298,437,455,365,441,366,339,313,332,510,984,844,832,559,350,303,419,458,392,376,512,450,435,672,1046,1058,525,345,306,302,332,300,231,188,274,289,283,518,510,413,361,458,440,397,433,502,510,547,664,720,1006,1312,1130,431,312,351,348,498,868,908,761,766,869,1232,862,613,1152,1206,804,816,1238,1326,875,949,896,580,788,799,566,532,683,474,377,360,386,479,673,1032,1262,1154,972,937,897,612,342,339,358,299,328,421,723,700,426,370,381,415,454,437,412,427,362,328,349,551,734,692,952,1510,1072,585,874,964,1218,778,534,385,350,453,516,440,538,886,1172,959,540,376,379,591,620,502,413,388,357,346,311,278,267,284,314,315,359,290,266,239,253,367,415,760,1160,1366,1340,1260,1030,1064,784,503,480,465,569,972,909,742,661,586,578,455,415,476,369,357,371,367,383,747,1072,844,781,870,861,1120,1124,945,1042,984,641,584,436,282,239,259,350,333,263,326,398,433,390,426,439,397,487,1000,1268,1116,935,858,901,855,1242,1208,1118,1146,1208,1202,1003,1410,1104,457,530,813,821,552,437,654,1238,1434,1234,770,458,400,427,557,714,794,1048,1394,1632,1270,1110,832,545,571,548,833,1082,818,706,1017,1282,916,684,736,850,1002,1240,1188,1490,1294,842,579,616,739,600,606,609,536,683,586,485,390,383,407,541,527,373,378,438,465,478,488,496,458,505,525,438,475,498,444,527,633,550,683,1454,1482,1490,1256,1001,849],[431,783,570,470,535,681,975,980,651,519,627,1004,1316,1023,634,673,630,483,322,457,561,849,1440,1122,578,345,292,268,273,269,375,400,396,438,554,395,368,415,340,370,513,836,1134,1020,927,1498,1450,669,500,392,396,434,486,532,570,973,1164,883,961,1098,716,512,433,362,400,336,402,389,368,540,630,644,777,842,778,686,922,1460,1418,1112,901,1432,1628,1262,861,502,378,437,799,972,585,1630,1666,1366,1382,1226,767,733,1026,797,472,467,414,462,475,384,653,730,751,739,837,913,619,542,808,786,741,684,426,333,338,260,218,521,524,338,431,673,655,518,439,431,438,535,629,911,1434,1598,1428,935,459,411,533,581,763,724,489,515,655,870,823,679,1442,2122,1512,767,483,419,349,364,428,460,487,527,528,534,556,634,634,624,560,427,324,318,389,417,492,627,792,813,882,869,915,1034,876,820,684,445,391,378,378,393,471,573,631,601,564,655,676,519,589,816,937,1328,1246,1200,866,601,628,742,882,707,487,438,765,1292,1012,794,766,1066,725,583,1060,1338,1044,695,460,433,432,754,1007,789,1044,1056,883,1074,1390,988,436,608,688,597,662,932,957,638,438,664,946,1374,1218,899,816,1262,1592,1334,1078,1038,913,788,918,761,495,615,1078,1246,979,661,421,403,436,444,424,435,474,653,836,711,724,891,1001,1478,1402,609,397,319,335,430,370,372,525,1478,2178,1780,856,556,754,1308,1976,2392,2016,865,982,1398,1302,1334,1086,1470,1560,1258,960,675,644,1048,1428,1524,1382,1212,1242,1156,932,717,1078,1538,1602,1500,1080,619,586,846,949,1224,1456,1660,1208,1078,1180,1284,1106,924,1238,1262,1226,1242,1172,783,609,610,676,849,876,1058,1108,1110,834,805,1116,1194,1410,1310,1158,982,1106,1118,1036,1456,2332,2402,1740,1462,1158,1032,1510,1644,1256,1144,989,1332,1436,1066,846,713,551,417,708,1050,856,1050,799,996,1192,1274,1062,1136,1272,919,724,690,473,366,309,426,522,589,662,476,602,903,1012,1296,1106,728,716,661,596,640,452,547,1126,679,516,554,977,1346,1104,1015,1298,1056,918,1092,1400,1542,1558,1432,1380,1116,1006,725,669,960,1062,1090,1090,1138,882,639,1146,888,763,841,1246,1440,1238,1196,1348,1444,1450,1440,1534,1318,781,496,384,416,755,1058,924,818,726,902,1250,1780,1786,888,378,319,342,319,371,674,1264,995,777,723,392,224,289,468,569,578,600,431,307,329,406,858,1334,1432,1812,1886,1374,1300,1656,1838,1548,1448,1346,950,789,1290,1526,1288,1344,915,848,1516,1786,1664,1190,904,601,458,615,948,1324,1388,1324,1298,1292,1250,1116,1052,1010,630,915,1446,1262,977,934,840,948,1220,1164,1178,1382,927,545,439,610,619,924,1216,1278,1096,980,996,634,631,927,1094,1170,1180,1132,1026,1120,1208,1268,1172,988,728,631,656,689,717,656,444,356,372,405,598,636,509,456,339,488,1068,1250,1048,772,648,464,374,455,499,483,418,375,353,369,394,403,568,852,673,551,533,408,343,349,377,391,419,451,485,451,452,462,412,436,497,1134,1070,816,1196,1208,843,514,387,503,647,505,575,549,514,474,453,432,473,435,481,623,559,508,502,530,583,664,543,355,321,362,425,609,607,543,480,373,393,407,475,383,321,328,346,371,390,406,533,620,495,401,342,306,372,401,382,348,416,408,361,365,358,337,320,305,297,356,325,323,404,418,417,473,591,519,417,436,488,566,525,417,579,995,1013,684,607,645,564,492,368,370,406,372,418,469,499,673,855,971,1078,1018,1070,1488,1434,1214,1584,1260,1212,1310,1056,915,1044,747,613,861,819,855,1154,1554,1362,662,679,670,756,912,958,1240,1394,1072,1360,1292,808,844,1100,1214,941,469,279,328,470,587,448,357,339,341,313,318,318,313,334,375,488,778,851,564,479,694,686,431,486,968,924,590,411,513,521,439,413,363,345,325,298,355,526,619,521,411,378,332,310,279,521,962,1034,799,567,507,492,509,565,576,403,354,338,448,772,767,776,877,1102,1172,1240,1080,1086,1344,929,727,1108,1078,966,1042,866,513,402,364,445,560,824,1156,980,475,505,753,885,1104,1296,1210,1180,1456,1924,2066,1578,836,694,946,1186,1074,963,877,784,943,1296,1344,927,880,1082,811,552,978,1384,1126,541,516,942,1150,1188,1346,1036,586,566,597,684,1000,888,474,1028,1368,1280,1096,881,736,584,539,705,702,520,417,532,845,1194,1348,1192,857,591,583,1032,1402,1692,1472,1562,1882,1688,1600,1256,1156,1018,792,1054,1598,1620,1198,1130,1048,669,738,748,1134,1370,1596,1200,963,806,819,695,534,407,444,714,1220,1282,1094,1280,1648,1670,1670,1468,1346,1138,775,680,1088,1304,1144,1114,1288,1278,1232,1752,1692,1450,1464,1456,1584,1570,1512,1456,1372,1312,1282,1628,1406,1450,1776,1788,1534,1046,645,831,1136,1194,1206,1182,1176,934,398,277,339,421,551,551,409,297,271,298,491,770,871,890,1034,1298,1070,782,616,821,1058,950,962,1100,1088,1318,1408,993,786,914,987,767,705,693,916,1094,1180,1220,799,494,402,350,331,290,306,304,374,393,434,476,455,501,457,357,362,327,312,315,340,364,375,376,359,319,319,370,413,446,549,673,626,468,354,309,354,505,529,482,460,432,420,444,439,398,421,428,622,677,503,441,506,493,522,538,571,520,433,440,610,653,686,495,361,332,338,339,330,338,354,286,391,580,449,339,290,284,298,329,353,370,332,278,268,266,262,242,287,355,520,688,694,763,649,416,294,344,369,349,305,265,270,271,273,247,261,251,261,257,245,253,256,253,280,272,259,265,249,276,262,268,280,283,284,298,321,319,320,303,328,352,314,332,329,331,311,267,261,286,304,307,309,318,331,350,336,321,346,651,1268,1166,761,566,424,372,365,528,603,492,409,852,1200,1554,1652,1394,1418,1194,975,1110,1098,1054,1236,1278,1284,1340,1294,1268,1152,850,876,1398,1618,1116,1210,1530,1334,639,976,961,655,996,1019,913,1032,1062,1166,1192,1076,1276,1056,938,1124,1086,1094,1124,1264,1268,1250,950,971,1296,1218,1246,1142,756,824,874,1262,1136,1166,1810,1760,1358,854,558,959,1168,1154,788,602,1224,1170,937,1114,904,846,971,934,896,885,1038,1188,974,898,1140,1138,717,432,482,581,769,948,908,985,711,301,314,303,318,328,312,355,383,401,430,437,363,254,277,276,269,262,286,397,736,809,862,619,534,471,423,478,495,500,455,395,307,340,354,325,363,360,568,1066,1130,711,636,635,444,342,344,357,484,735,916,784,551,502,473,567,767,767,865,858,939,1354,1638,1732,1052,525,335,549,1124,1372,1192,946,664,577,662,729,652,583,453,357,271,386,504,391,319,340,377,447,407,365,542,1014,1126,629,493,680,746,916,944,1015,1038,702,775,629,808,1048,975,635,394,330,323,361,273,321,567,733,550,929,1332,1558,1450,1446,1134,778,728,508,366,397,352,389,593,499,470,349,257,273,219,386,531,462,397,359,319,339,394,411,359,426,545,808,1044,1106,810,581,443,399,313,250,222,249,292,284,340,547,577,382,236,286,318,279,349,521,581,574,672,803,785,743,409,251,260,346,379,451,566,519,719,982,1132,1302,1009,629,1092,1030,615,599,1015,1268,1246,1448,1268,612,496,587,566,598,647,497,386,349,372,436,559,909,1212,1172,955,826,609,447,486,448,384,352,356,604,869,672,458,390,393,415,443,445,453,367,313,351,354,346,573,916,921,595,498,522,849,868,862,655,466,354,354,437,503,491,469,818,1350,1252,749,458,486,653,548,406,433,412,333,349,360,386,330,343,350,255,317,372,317,278,359,467,447,597,1146,1410,1544,1400,912,782,444,401,500,584,605,656,781,1019,1178,1070,800,496,576,392,355,380,420,506,606,874,953,672,928,1132,1013,1002,820,751,983,1128,1023,1218,862,351,329,330,375,324,285,352,378,437,377,390,436,661,1024,1230,1076,963,1084,1024,1024,932,1284,1044,1032,1144,1124,1248,1092,1232,1372,814,401,499,572,497,417,505,813,899,755,520,424,412,545,643,499,586,1118,1128,1424,1464,1166,963,963,901,741,756,814,918,1176,1278,1406,1080,999,1158,1372,1276,1138,992,1124,1220,857,673,742,717,609,594,503,456,618,576,434,444,561,571,494,456,461,544,488,418,406,430,453,411,421,420,394,408,386,403,536,607,574,570,733,853,1282,1142,711,460],[362,397,557,517,384,416,779,984,714,510,661,1116,1172,890,621,556,437,373,284,525,657,913,1104,779,430,317,284,269,276,260,411,434,530,717,593,393,469,554,552,503,574,844,1080,1038,729,838,895,728,571,456,414,449,623,822,987,1210,1174,857,849,926,947,583,385,340,295,298,364,566,701,778,903,1030,1324,1370,1136,1088,1128,1334,1454,1296,1206,1198,971,502,404,313,296,311,274,243,257,1474,1614,1156,1046,681,374,550,901,636,405,491,486,432,427,419,483,702,819,739,492,466,496,819,897,830,1206,1310,698,389,304,218,288,475,424,396,557,1188,1260,908,429,393,506,623,603,965,1472,1598,1476,938,498,431,641,736,886,712,592,707,649,599,504,536,1294,1770,1178,890,605,481,389,391,465,469,491,537,561,575,601,628,591,588,560,512,362,346,369,397,458,883,1056,795,709,608,1102,1426,758,558,583,483,417,386,363,376,415,473,565,644,580,413,414,419,398,623,761,968,1350,1360,1050,809,536,532,525,348,439,449,775,1016,761,725,1004,988,765,756,1034,1208,864,729,518,597,410,516,616,668,1046,1350,1252,1188,1212,879,912,1046,890,885,913,952,758,409,322,477,915,1424,1802,1428,616,1016,1384,1332,785,790,838,952,802,581,451,473,816,1140,978,619,529,548,860,874,485,482,576,601,653,666,738,1011,1528,2120,1990,739,300,275,409,563,667,571,672,1108,1546,1568,1007,702,623,754,1424,1766,1864,1196,1190,1638,2064,2002,1568,1566,1404,755,742,802,836,1178,1582,1416,1300,1102,1378,1522,1456,1288,1498,1798,1762,1898,1636,1472,792,998,1212,1268,1764,1854,1232,827,630,792,1116,1498,1562,1450,1196,1052,1052,926,887,928,729,558,987,1364,1594,1712,1126,1066,1026,1076,1284,1188,1206,1432,1426,1248,1296,1632,1998,1544,1088,1070,1178,1238,1184,1498,902,561,569,1456,1660,1058,1007,1011,934,778,896,1262,938,1384,880,760,1144,1322,1208,1078,968,866,545,571,583,430,509,920,786,918,984,683,868,1088,1150,1206,1004,835,613,620,484,697,466,518,930,636,404,399,638,1170,1262,1144,1354,1170,1202,1482,1372,1292,1298,1358,1240,819,499,659,1168,1366,1316,1280,1015,1116,1054,996,929,623,681,867,971,1028,1120,1232,933,940,1042,1090,1032,811,557,582,546,482,713,771,882,1000,525,711,1224,1618,1880,937,398,317,297,280,449,667,711,717,948,818,530,374,468,1102,1254,771,470,319,292,312,529,1252,1760,1722,2942,2436,1144,1444,1640,1712,1654,1476,1164,950,877,971,950,983,879,611,700,1382,1648,1654,1338,1036,650,636,819,1072,1298,1444,1676,1578,1428,1046,1042,1396,857,596,760,886,1120,767,779,950,1021,1170,971,1076,1010,948,753,672,676,674,951,1170,1064,936,1172,1066,863,866,844,1144,1282,1268,1116,1092,1136,1140,1124,1182,1218,649,426,411,304,443,547,450,352,384,512,734,907,878,778,590,862,998,932,862,750,655,515,455,529,563,499,404,435,406,332,266,359,687,1028,948,983,873,495,368,362,410,453,446,401,399,370,429,454,494,545,491,675,735,909,1012,866,868,747,595,983,1064,838,729,615,519,466,426,428,439,421,453,576,585,600,547,495,488,523,457,383,362,351,362,374,469,526,447,414,373,419,668,530,411,380,324,346,340,387,501,475,384,418,397,393,365,399,437,390,386,378,352,367,359,361,429,397,312,315,308,338,458,476,430,461,468,390,374,417,395,385,373,382,716,977,1008,886,698,432,373,446,313,314,340,383,376,342,358,365,326,411,502,653,938,1278,1562,2088,2318,1338,1054,1102,1168,1112,1192,1034,1030,1036,1042,1340,1500,1512,1400,525,342,373,464,634,1066,1342,1342,1278,1582,1426,946,753,690,521,715,673,451,422,533,648,683,519,334,336,391,356,304,339,368,564,857,982,828,569,341,478,710,465,499,897,797,739,508,498,474,392,339,363,329,425,479,535,902,1170,764,446,433,343,314,365,505,843,987,767,818,731,392,439,485,586,462,358,375,412,603,778,1010,1552,1626,979,762,716,836,1074,591,498,976,1110,1146,959,821,774,578,559,763,1028,1108,1164,1096,562,521,686,1200,1354,1110,1082,1172,1362,1742,1972,1898,1214,903,1006,1268,1040,1032,1262,1260,1724,2356,1704,900,951,892,593,459,768,1278,1198,611,557,1056,1302,1284,1260,1264,896,602,777,1004,722,426,462,725,625,629,1015,1066,719,550,568,440,386,519,683,1108,1100,1066,1272,1280,1122,1020,1252,1412,1168,1242,1144,1788,2286,1642,1382,1476,1274,1050,1028,1042,1340,1400,1090,1246,1308,730,904,1094,1058,1194,1015,668,452,430,428,405,370,321,356,443,980,1342,1300,1458,1788,1690,1480,1368,1262,1076,882,782,802,971,1074,1282,1538,1458,1382,1460,1324,1296,1252,1262,1306,1214,1266,1334,1394,1338,1512,1788,1424,1054,1396,1834,1708,1328,1088,1154,1256,1228,1015,1294,1298,1080,522,317,479,600,685,700,480,284,288,304,435,900,1238,1228,1342,1508,1284,863,703,1064,1328,1130,1076,843,678,671,897,852,918,987,841,797,781,702,642,569,598,719,672,451,341,345,359,326,302,302,296,326,374,397,429,475,417,344,350,316,300,311,322,346,352,344,333,321,339,367,412,428,455,545,437,297,269,302,488,626,511,484,408,342,368,406,450,451,408,554,641,680,603,583,628,514,466,404,405,390,370,366,443,512,591,514,411,346,351,348,330,318,375,401,575,462,373,319,289,292,292,304,311,313,303,283,269,270,278,274,321,325,376,364,340,383,400,321,266,308,325,325,308,303,307,306,278,274,290,256,235,257,265,261,254,265,276,244,253,258,265,261,258,268,269,281,301,338,376,315,290,287,322,370,339,314,296,307,304,306,278,297,302,301,315,318,333,324,336,323,566,1186,1238,775,708,493,416,390,379,400,333,373,357,834,1152,1390,1254,836,1036,860,810,1610,1568,1080,1030,1072,1092,1046,892,870,962,1078,1154,1248,1386,767,774,886,875,766,865,731,749,1006,1290,1362,1166,1048,1248,1286,879,996,792,791,1188,1166,1088,956,895,1082,1076,1118,1450,1186,1158,1376,1188,848,802,993,1166,1174,1262,1500,1626,1172,694,731,1005,1024,1090,843,808,1196,1058,1058,1284,1034,724,749,661,839,1162,1168,1044,739,939,1410,1582,1202,895,944,1084,1192,1208,933,630,390,289,346,335,318,305,288,341,388,407,426,416,351,280,300,262,275,280,259,376,474,413,302,378,505,440,467,482,487,484,419,369,314,328,308,441,528,405,743,1352,1146,839,810,694,412,343,329,386,492,575,565,460,471,621,598,589,520,482,705,689,965,1384,1634,1606,1140,824,557,599,984,937,659,648,555,497,529,610,479,381,316,264,272,441,546,413,371,403,397,394,404,305,384,818,877,440,567,1078,1122,877,624,998,1172,887,682,601,712,1028,1242,855,424,330,345,324,300,340,397,433,466,912,1316,1380,1350,1446,1230,923,741,736,720,450,328,399,462,867,682,365,384,372,315,568,930,932,589,417,349,389,419,401,467,582,808,683,756,1026,1116,1254,1042,792,383,322,296,292,322,318,394,459,469,369,279,298,340,338,343,373,505,644,831,780,529,351,351,315,312,325,346,447,891,971,1001,1021,1158,1376,1550,1110,905,714,751,869,753,1190,1588,1538,1190,731,498,512,419,566,639,479,396,340,378,427,421,884,1116,883,753,824,780,694,643,558,482,403,369,545,935,637,479,354,395,424,424,400,405,400,372,397,393,372,368,523,805,710,651,682,896,728,583,626,618,562,442,453,440,420,453,519,709,785,718,509,462,503,500,429,391,323,292,354,428,493,363,314,321,320,358,401,358,276,366,487,491,755,1398,1376,1302,1098,1082,903,643,615,753,871,1050,1116,1188,1376,1250,747,465,819,947,738,547,682,782,904,1082,823,738,718,1007,1206,1168,1120,987,945,1124,1190,1252,1360,816,336,351,392,356,271,305,309,357,416,300,396,778,1108,1000,766,895,911,1056,992,1368,1388,1238,1130,1002,766,769,999,1124,1276,1140,915,553,485,692,681,484,417,540,510,421,438,533,708,721,511,796,1500,2194,1532,1510,1752,1508,1346,1322,1074,885,1052,1116,1562,2374,1334,1318,1344,1254,1386,1526,1272,855,720,976,1100,1038,940,762,762,926,727,555,450,468,429,365,396,539,606,548,448,497,593,561,554,591,511,460,474,452,399,385,369,372,395,475,579,590,550,459,712,885,933,879,493],[472,460,653,568,416,414,473,567,665,452,549,722,975,790,673,493,369,377,325,553,747,730,731,566,506,600,397,439,532,517,600,518,448,726,729,555,616,689,632,525,494,600,625,631,719,712,775,579,425,458,483,468,599,901,1160,1246,1166,1168,1126,1242,1410,857,416,356,394,484,555,1076,1028,891,1280,1406,1520,1230,1268,1346,1130,1316,1494,1154,810,588,586,412,313,285,227,256,270,292,308,1296,1896,908,529,457,412,416,270,339,378,413,388,384,395,498,790,843,584,670,619,406,761,1234,889,872,1312,1342,881,480,303,247,360,542,392,435,717,1482,1566,957,402,458,585,687,830,1094,1114,1032,764,605,524,524,552,615,594,534,653,831,875,932,965,785,1017,1400,1362,1256,783,515,440,430,428,423,485,540,540,538,537,572,571,582,575,566,420,335,315,362,380,575,670,731,877,688,1038,1076,591,425,517,462,413,376,342,363,379,419,557,644,562,370,348,438,458,564,672,717,1082,1494,1478,905,526,519,390,393,401,479,719,891,908,1054,1182,1270,1282,849,912,957,735,653,703,665,573,664,713,717,1200,1458,1122,1194,1390,1202,1378,1296,1296,1178,941,883,639,422,409,606,1012,1328,1704,1510,880,630,689,752,386,464,784,943,731,481,433,422,514,1023,1166,753,681,698,1112,874,535,486,532,571,630,612,501,772,1180,1732,1354,687,312,265,352,608,754,698,1072,1474,1602,1206,902,931,837,1114,1204,868,1214,1526,1506,2122,2564,2204,1730,1408,1054,602,633,540,666,810,1208,1498,1728,1794,1650,1622,1970,1906,1714,1710,1578,1732,1876,1666,1284,1098,1058,882,1226,1452,1452,1340,962,790,981,1438,1470,1536,1202,1212,1124,1428,1896,1730,1032,817,1100,1248,1534,1440,1088,1272,1270,1282,1090,1246,1306,1374,1446,1358,1320,1500,1218,719,1096,1176,1462,1586,1300,1162,747,487,709,707,728,966,1038,966,976,750,915,1186,1122,1234,799,738,1164,1198,1004,826,1302,1362,695,569,651,966,824,650,628,835,871,996,1244,1168,1098,1094,1046,965,620,535,446,594,467,408,482,444,467,454,426,654,995,1118,962,657,911,794,741,860,908,1062,1354,1132,721,746,885,860,965,1070,1202,1256,1238,968,630,747,1016,1118,903,1030,1152,916,588,697,717,655,515,848,838,536,521,433,412,337,420,483,854,1152,1038,1448,1874,1390,737,540,499,310,366,361,327,503,1013,881,625,491,525,1086,1090,720,535,339,329,370,458,764,1130,1252,2148,1834,1190,1416,1570,1458,1438,1560,1454,938,808,1024,1112,1086,976,1040,1082,1130,1208,1498,1644,1298,1072,1026,948,1022,1200,1250,1470,1600,1662,1188,1124,1252,918,897,672,737,843,547,552,734,1132,883,610,807,1184,1268,1076,1130,1082,1170,1144,1358,1208,1278,1496,1480,1222,691,520,708,944,963,623,569,727,894,933,992,744,399,341,346,299,381,543,522,397,497,664,784,963,1120,883,793,1086,1042,912,1084,952,404,313,332,537,703,480,432,417,344,370,397,509,796,1086,976,886,851,531,482,464,495,455,418,374,358,343,333,433,907,1226,1080,770,644,893,781,1036,1050,1146,1248,1332,934,1012,1230,929,538,413,399,405,392,434,423,519,661,681,519,412,430,421,397,396,386,381,352,356,452,530,441,335,319,312,341,406,513,487,344,318,312,361,408,404,395,406,437,404,293,339,395,384,371,361,343,389,390,378,463,448,415,383,378,456,583,535,422,399,365,314,318,338,377,381,358,509,854,968,891,757,487,371,465,444,314,292,312,345,369,359,346,370,378,343,358,434,525,764,1104,1884,2162,1246,749,719,682,803,1182,1360,1010,811,1136,1500,1456,1428,1240,492,349,394,368,617,1028,1366,1410,1488,1788,1548,1098,766,949,656,728,809,586,594,665,778,871,534,323,358,393,358,408,491,574,651,713,881,754,443,289,335,295,370,909,1006,580,625,557,536,490,417,462,457,735,1200,914,843,1060,1286,796,1194,1190,554,470,524,571,966,1070,1013,1316,965,443,471,553,855,657,414,362,381,500,781,1312,1908,1404,672,852,910,816,1090,818,662,1214,1154,802,529,635,928,858,771,939,1284,1144,1110,1298,883,692,812,993,964,970,933,678,888,1638,1860,1914,1562,1038,976,1272,1100,1040,1244,1078,1354,1874,1502,1184,948,786,669,766,1042,1216,1072,1238,1666,1538,1032,973,948,1278,1122,1017,1024,889,784,692,733,794,600,528,915,1274,927,898,799,441,377,708,893,1126,1066,1003,1152,1332,1264,1498,1478,1084,1001,983,1146,1968,2286,1610,1338,1456,1250,1144,1013,896,1250,1260,1154,1332,1064,892,1270,1312,1242,951,550,385,357,400,395,446,369,316,346,326,652,1200,1332,1414,1512,1394,1318,1234,1096,1094,1166,933,800,1062,1134,1366,1366,1252,1310,1158,998,988,819,895,1144,1290,1308,1400,1420,1410,1382,1610,1488,960,1162,1864,1922,1654,1526,1396,1406,1286,1032,1050,1048,1112,687,463,789,962,615,456,389,314,360,357,404,819,1080,995,1146,1346,1366,1176,1044,1172,980,777,952,745,579,706,769,674,980,1036,608,546,557,490,442,442,409,482,569,403,337,355,371,369,330,308,328,358,334,346,366,469,435,333,318,317,321,321,329,334,321,312,313,318,311,349,454,448,483,596,521,346,298,396,576,692,564,430,309,269,308,376,431,420,560,756,682,629,674,685,583,412,402,359,373,346,343,390,436,462,454,420,398,361,365,352,382,374,340,536,539,381,333,328,336,309,289,294,296,298,299,295,290,285,290,298,305,317,331,300,279,287,286,268,278,283,290,293,297,310,303,305,298,296,306,294,278,253,263,251,237,280,238,245,267,253,257,262,253,251,265,278,307,337,330,272,275,301,313,317,302,293,298,304,296,305,293,298,317,297,297,318,314,311,324,529,1070,1090,688,496,520,416,429,364,400,373,315,387,406,698,996,957,717,572,854,946,1013,1052,758,666,793,1068,1210,1040,1078,1166,969,966,1300,1126,1066,830,805,888,1003,1124,1044,875,1001,1380,1306,1240,1001,790,893,1144,639,567,502,913,1440,1350,1050,675,511,866,1130,1208,1464,1334,1144,1264,1258,1030,934,1160,961,708,777,944,1016,883,835,847,890,824,962,1142,1214,1430,1404,975,1074,1194,958,758,611,1254,1356,1266,1086,899,912,1214,1224,1016,1013,1156,1278,1372,1372,1166,794,670,477,400,348,333,308,302,363,394,389,433,403,313,322,348,315,347,352,332,500,716,616,386,386,385,392,444,505,484,448,375,325,313,308,336,511,568,514,737,1186,1088,842,476,381,368,320,383,532,504,393,368,390,547,659,488,394,450,512,770,694,949,1374,1506,1180,865,767,583,689,842,713,510,409,315,375,435,422,356,365,413,370,345,426,455,328,318,454,442,513,537,353,241,405,476,295,392,655,588,673,762,899,1001,908,1010,973,763,839,1026,844,426,364,348,343,288,322,292,293,427,895,1296,1426,1284,1062,904,1070,1012,940,1124,1000,813,745,1066,1164,724,391,389,339,365,659,1158,1132,735,422,371,471,496,437,492,559,771,728,582,568,627,989,1238,929,335,301,290,276,297,322,372,386,360,327,290,329,422,382,308,466,645,683,924,1138,858,441,396,341,329,304,433,865,1252,1470,1272,1164,1044,1216,1364,1268,1066,901,1064,1074,1013,1396,1402,1316,1138,967,815,532,302,394,425,433,583,485,359,398,345,841,934,733,809,1072,1256,1004,608,593,533,424,383,339,483,398,356,330,362,415,456,422,404,407,377,325,342,393,378,417,625,991,908,721,811,740,661,908,1096,946,561,463,392,397,393,513,472,410,359,386,404,368,368,391,363,316,287,428,527,482,339,282,282,316,328,404,401,280,321,338,356,426,1002,1086,997,919,1092,1410,1130,898,942,973,1044,989,1136,973,578,315,374,841,1152,1098,897,965,1258,1368,1124,609,648,1008,1286,1430,1230,1084,1144,1226,1426,1446,1116,881,547,348,413,442,375,302,318,348,449,457,559,988,1256,1012,615,464,537,429,734,1094,1460,1490,1368,1502,1248,792,786,759,963,977,771,825,680,429,693,1017,909,677,509,553,513,499,535,757,655,379,714,1550,1982,1432,1274,1610,1526,1110,985,863,802,906,972,1306,1592,1362,1286,1110,1046,895,837,1036,1013,1220,972,850,1162,1118,861,940,1090,1034,705,448,449,444,437,423,522,580,628,532,458,535,706,750,651,510,491,476,435,412,379,466,456,438,525,611,507,460,484,696,702,652,757,701],[734,706,804,583,411,341,368,618,830,601,568,602,985,950,751,622,605,564,524,574,633,486,476,444,733,1006,777,788,986,930,883,729,458,619,608,591,502,434,377,532,468,520,705,750,746,868,828,712,558,442,370,469,652,894,887,1002,1160,1456,1476,1440,1284,784,498,343,355,481,882,1630,1306,895,1140,1362,1220,717,800,1334,1300,1094,616,438,449,571,889,736,365,248,241,265,271,284,278,1090,2232,1138,637,523,466,402,350,326,339,407,466,392,417,543,550,427,435,460,689,860,938,1066,947,1054,1150,1152,884,516,361,320,461,730,620,423,763,1482,1654,894,408,585,571,615,849,1048,760,637,651,608,529,560,585,577,656,1100,1610,1196,1196,897,759,706,886,1152,1202,1006,697,545,511,477,425,420,487,518,509,514,521,542,547,572,569,568,508,400,340,359,351,393,497,761,912,799,981,971,675,517,499,458,428,389,368,355,321,498,607,679,508,342,371,469,525,508,466,539,844,1198,1278,711,719,692,505,406,343,378,769,1094,1112,1162,1302,1382,1110,575,808,1028,857,761,825,827,842,1028,1196,1198,1438,1166,990,860,900,1132,1172,1096,1290,872,509,561,651,597,544,929,1078,1138,1170,1268,783,375,416,423,306,378,781,1098,872,517,357,410,535,1009,1290,1368,1152,1122,1040,656,477,469,500,533,553,563,581,583,461,704,524,275,230,246,257,301,330,478,901,1604,1642,662,630,801,943,1500,1438,965,720,742,985,1534,1920,1824,1448,1174,674,510,539,541,635,867,1216,1358,1390,1544,1642,1676,2106,2118,1770,1260,1396,1542,1520,971,874,1230,1068,604,794,1442,1662,1552,1714,1410,1400,1262,1172,1252,1222,1218,1218,1510,2118,2182,1148,739,753,861,1070,1180,1142,985,1344,1310,1100,1400,1316,1098,899,960,884,865,865,846,975,1104,1416,1538,1256,1120,1234,883,743,801,976,860,865,608,507,628,1110,1192,1052,1218,989,835,1086,1062,762,568,983,766,397,525,896,1280,972,450,463,528,476,924,1236,1076,745,720,858,566,343,319,328,377,369,366,426,537,501,418,365,429,786,992,919,637,480,315,378,567,713,1028,1302,1044,860,888,491,431,540,836,1058,890,722,491,359,494,684,813,915,1172,772,403,524,919,811,418,339,623,672,500,399,317,301,337,325,339,799,857,820,1096,1560,1736,1452,1184,894,399,347,366,462,521,766,739,604,477,569,1104,1048,567,493,348,375,400,492,420,756,1246,1100,1008,1290,1630,1524,1058,1116,1268,1304,804,750,950,1017,1216,1214,1172,1216,1230,1256,1532,1670,1598,1498,1094,928,1250,1466,1310,1340,1460,1290,985,1110,942,859,771,549,766,1004,813,669,1036,1019,778,955,1298,1452,1194,1046,1246,1378,1356,1244,1422,1306,1322,1416,1400,922,590,713,623,555,475,318,349,704,990,1166,877,463,362,382,346,318,338,441,419,422,583,717,871,1092,1344,1262,1002,816,772,929,1094,759,286,322,432,592,700,512,444,569,973,1088,925,830,1030,1256,858,971,939,707,761,552,480,421,381,377,375,357,368,539,912,1100,1278,764,628,921,882,890,1156,1504,1676,1282,696,918,1164,841,545,446,548,564,488,423,410,422,477,551,490,411,361,366,385,391,401,356,342,338,436,503,393,340,350,307,300,326,402,461,342,336,344,388,422,433,425,442,487,388,316,356,344,375,361,343,347,432,517,468,415,412,465,619,662,570,621,520,415,404,348,303,314,316,315,404,581,594,532,581,488,433,373,383,438,415,327,321,327,345,365,352,335,332,353,407,440,418,426,603,939,1234,1200,995,1002,986,962,1040,1300,1372,852,744,1001,929,874,893,553,313,378,401,353,452,650,1098,1440,1400,1464,1558,1248,796,1034,800,639,784,658,587,625,653,558,455,355,347,347,531,672,724,627,460,421,588,720,599,367,368,324,431,759,600,420,455,594,821,791,769,989,973,965,1036,911,937,1018,809,905,1672,1230,453,452,672,915,1180,995,932,1082,687,607,781,1284,1626,1098,572,371,378,452,521,764,1180,793,888,1174,1122,1046,1348,1080,633,834,1106,746,590,937,1062,973,925,859,980,1050,1050,1356,1158,807,837,822,511,550,492,375,514,1094,1286,1182,1186,1007,976,1110,1010,1090,982,625,838,1096,1017,1164,1154,1178,1170,1172,1458,1400,1172,1524,1776,1556,952,1116,1148,1112,1080,1007,833,519,383,622,960,960,550,443,535,727,912,1266,766,365,576,843,755,501,714,1060,1310,1688,1426,1310,1152,1246,1278,1260,1516,1846,1752,1370,1360,1502,987,666,592,553,902,1015,1206,1382,1334,1556,1374,1270,1438,979,522,379,332,265,331,338,340,295,310,343,407,855,1260,1206,1194,1100,1038,952,1036,1114,1242,924,562,684,1028,1338,1296,1072,1116,1094,759,889,1094,788,993,1152,1342,1246,1180,1088,1132,1478,1242,990,995,1254,1660,1748,1704,1534,1394,1246,1116,891,1066,1324,940,440,729,839,497,360,335,349,358,356,398,728,982,848,738,1248,1414,1238,1252,1316,1144,941,955,954,1050,929,720,713,825,946,1032,587,479,476,410,374,352,568,585,427,387,358,352,342,308,320,357,372,360,354,398,522,531,409,321,292,334,396,395,366,336,331,304,317,323,375,479,535,562,619,537,391,380,441,451,465,472,314,281,254,279,340,398,441,560,693,698,647,630,542,350,302,303,327,401,390,413,460,426,460,492,519,477,424,377,345,371,338,408,553,424,355,342,351,354,325,299,301,306,306,294,295,301,302,302,312,325,331,310,294,291,286,275,255,285,292,283,274,270,265,269,286,305,301,308,290,296,284,266,265,265,278,269,268,263,250,244,264,258,259,265,265,325,342,319,293,277,262,277,281,262,275,312,305,314,295,286,299,315,308,328,342,330,330,446,1034,1238,634,452,556,527,402,420,397,424,397,386,444,491,798,1140,1086,924,651,645,734,1108,980,841,703,846,1216,1124,1182,1792,1496,1360,1196,1190,1322,1258,1196,1130,1332,1406,1304,1334,1094,980,1378,1104,1178,993,794,994,1134,631,590,791,845,1178,1174,1040,811,580,929,1218,896,752,1003,1096,950,921,1040,1460,1532,1042,491,526,974,1380,1180,969,700,712,816,874,799,1005,1450,1286,1190,1488,1368,991,710,800,1172,1212,1070,964,861,800,1042,1218,1170,833,910,1120,1304,1412,1316,904,499,461,470,337,365,392,374,364,349,366,366,330,267,352,397,397,428,420,487,584,719,611,424,343,328,397,448,468,481,420,339,321,347,358,341,431,518,720,947,1066,1013,659,426,409,373,387,477,480,378,405,520,546,680,469,530,562,611,739,868,988,1238,1396,1250,700,713,852,684,548,477,353,296,270,292,415,534,530,432,440,500,478,426,406,389,339,323,443,460,526,495,321,298,346,370,365,269,234,321,804,1188,1124,1066,1076,812,518,539,732,956,818,386,335,370,487,359,305,313,297,476,814,1178,1250,1120,1000,619,769,982,1172,1526,1332,1158,1158,1294,1138,646,448,437,312,374,672,896,591,413,346,356,413,446,349,266,439,782,906,943,847,563,498,710,437,210,241,289,318,246,286,339,354,375,322,342,422,397,302,354,791,752,676,1124,1166,832,519,414,406,351,282,393,812,1158,1338,1436,1462,1236,1066,940,1368,1384,1390,1084,1066,1554,1732,1452,1292,1218,1044,749,429,380,397,524,818,1002,647,463,496,505,886,1144,901,921,1142,1316,1060,792,878,552,369,393,364,385,389,362,352,384,459,444,455,450,399,352,252,315,357,341,388,477,873,859,536,732,833,586,619,612,535,524,457,376,392,383,420,415,365,298,434,539,572,453,399,384,338,277,399,590,494,348,294,276,383,365,344,393,379,417,317,299,328,744,1058,1124,902,1038,1206,825,831,1148,1036,874,609,526,356,335,485,680,947,1028,858,888,833,1216,1244,811,613,965,1296,1356,1322,982,874,1080,1166,1284,1136,809,571,425,417,530,487,451,437,382,408,685,1064,1278,1044,689,495,488,628,814,508,495,1007,1428,1448,1568,1456,1302,1290,1158,913,839,926,716,667,526,495,573,804,1136,957,586,540,525,588,659,809,634,374,622,1418,1606,1013,751,1268,1584,1005,796,618,1188,1398,1140,1224,1220,1226,1130,1064,1164,1206,1202,1192,1240,1360,1084,882,1088,991,739,646,854,1070,595,377,406,428,425,393,418,610,670,634,492,440,598,713,593,507,483,464,435,451,505,610,515,470,614,591,416,406,553,729,659,492,529,609],[878,727,616,419,366,373,581,626,495,489,666,864,1198,1130,754,718,905,1052,975,730,580,466,458,458,1000,1350,1156,1009,1092,1042,956,755,556,755,516,431,403,391,417,601,531,522,868,891,572,633,619,514,451,437,514,735,1084,1378,1082,955,1274,1704,1776,1302,1158,737,397,339,373,341,736,1448,1558,1278,1308,1410,1310,1090,1020,1044,847,747,297,328,393,670,1034,685,343,277,264,299,313,299,309,771,1942,1120,503,426,437,394,295,253,312,391,395,389,470,647,499,490,440,410,620,773,731,711,883,927,784,768,563,682,567,486,659,1034,938,651,647,694,752,556,564,648,584,622,899,859,695,691,654,569,514,509,532,703,962,1100,1120,1106,1350,867,944,823,895,1060,1094,1011,775,614,540,463,400,393,455,470,473,479,489,502,521,541,505,467,494,428,328,344,493,541,481,642,608,749,833,849,838,592,440,421,394,383,446,475,392,508,609,684,564,446,446,514,477,363,429,580,515,816,1226,802,829,777,663,613,372,387,934,1378,1034,760,963,972,640,730,924,1013,791,741,890,992,927,960,893,780,944,855,1274,1224,662,455,716,885,1032,1040,1128,1122,955,612,705,1188,1294,1390,1154,908,584,502,505,415,359,613,1098,1404,1202,869,692,486,760,811,817,1316,1532,1572,1410,928,516,503,501,519,443,474,592,559,932,974,443,247,249,251,275,317,370,386,506,846,810,558,711,869,869,894,1108,1180,855,573,567,816,1332,1666,1278,850,567,616,637,606,601,967,1290,1003,830,1160,1160,1692,1758,1786,1522,1052,1266,1312,1194,1162,1268,1378,1144,670,922,1838,1616,1246,1094,1310,1908,1598,1464,1854,1770,1210,1290,1418,1362,1512,1008,648,734,814,1058,1388,1292,1132,1352,1442,1626,1752,1540,1098,786,800,582,447,612,824,885,1006,1023,1136,954,737,1162,1072,615,639,737,790,731,550,432,671,1126,1090,1364,1922,1120,937,1120,868,805,839,739,744,697,623,844,1004,694,427,554,396,295,554,1110,1130,1005,847,652,401,271,300,328,305,271,274,327,368,356,346,335,305,558,911,771,537,387,377,565,913,1088,1064,777,709,794,821,562,651,924,1094,1058,595,313,288,359,489,550,694,950,911,589,365,360,707,852,563,372,421,426,339,336,321,301,329,383,379,506,676,784,890,1162,1444,1488,1734,1330,552,419,585,725,602,885,954,542,388,763,1218,681,456,447,614,437,351,447,512,677,960,1200,1422,1494,1404,991,540,565,694,1086,1166,1070,815,548,874,1274,1266,1308,1424,1352,1444,1606,1692,1590,1234,948,923,880,1138,1276,1034,636,637,916,646,653,442,436,709,1182,1254,939,910,910,857,1130,1162,1316,1228,1228,1002,1262,1214,1238,1250,1316,1504,1476,1198,954,1070,987,754,795,639,362,283,662,1168,919,395,367,417,396,369,347,371,438,413,543,758,647,670,937,1368,1444,1042,651,615,898,978,608,404,849,871,733,624,491,428,788,1378,1318,937,748,1166,1376,1314,1208,1148,973,803,692,561,447,371,358,398,378,406,877,1208,951,953,809,572,490,805,1350,1650,1148,1252,847,727,1032,882,556,538,482,980,1218,918,761,719,551,564,728,594,427,417,385,407,437,425,379,364,362,386,385,354,334,323,307,305,326,393,378,317,334,357,371,378,395,422,426,372,359,440,442,365,377,348,341,355,454,566,554,499,451,563,716,713,623,604,475,403,401,361,325,329,330,300,397,551,481,361,399,405,389,332,307,342,345,343,367,356,341,329,339,346,339,402,497,507,427,532,657,932,1130,1012,1076,1268,1266,1212,1346,1310,1372,1124,1134,975,787,582,469,413,313,314,354,363,431,615,1104,1180,890,932,1246,1314,907,968,987,623,720,697,612,609,668,492,451,452,504,747,945,918,1126,1017,446,466,624,444,645,601,367,318,412,397,254,265,397,756,1005,880,948,1160,1032,772,805,912,860,959,974,1174,1036,685,464,429,724,952,1202,859,843,937,751,887,1376,1882,1702,1242,891,498,416,442,502,536,964,1044,1122,1188,1176,1260,1338,916,445,952,1702,1022,508,818,1070,1064,736,722,1082,1032,1030,1094,1032,771,640,608,386,350,363,378,430,689,843,894,972,893,962,1030,653,830,836,576,736,1116,783,990,1230,1348,1466,1276,1296,1320,1100,1126,1394,1166,1260,1368,1366,1398,1360,883,462,356,574,787,1122,868,765,623,525,619,1110,1122,569,354,821,1522,1372,616,792,1274,1032,1132,1188,1048,1003,1212,1432,1396,1556,1742,1576,1190,1226,1526,1028,659,562,635,834,902,1140,1322,1338,1384,1176,1076,874,752,480,398,332,294,382,361,343,340,370,402,377,572,863,1084,1198,1126,1212,1230,973,796,1022,1044,616,628,1038,1260,1344,1292,993,1116,800,573,777,560,523,736,1178,1206,1072,1056,1418,1144,981,1172,1280,1082,1324,1688,1640,1624,1504,1260,1154,1046,952,1390,1302,647,430,385,323,328,358,360,376,582,703,684,959,986,749,1332,1478,1384,1338,1218,1212,996,812,852,992,1084,877,806,1118,988,1306,1086,710,551,466,406,548,794,745,594,433,421,383,314,323,352,364,390,382,386,400,448,528,509,375,338,442,546,483,427,381,354,277,306,352,358,491,656,694,722,598,469,492,482,437,405,326,265,253,262,287,327,444,424,469,608,698,643,571,566,451,405,408,402,386,404,500,558,491,541,539,547,496,456,404,371,432,394,496,507,362,293,310,343,332,324,307,304,314,307,284,283,301,312,309,315,329,321,292,279,268,267,269,275,297,299,285,272,264,281,292,294,313,301,287,256,253,263,266,284,298,293,300,287,269,254,285,270,269,277,293,310,316,319,319,279,259,273,287,299,304,319,317,315,295,285,291,308,318,313,333,333,315,415,999,1296,737,368,368,550,596,456,406,415,431,370,388,472,631,1034,926,875,847,651,537,655,818,582,388,574,1102,996,861,1254,2008,1498,1180,1344,1338,1342,1294,1124,1102,1536,1630,1376,1116,853,674,680,813,1108,1028,704,890,1108,912,960,1094,946,1208,1268,1304,1198,1008,1086,1236,807,433,1046,1418,973,990,1192,1646,1470,1106,511,534,971,1360,1222,855,619,572,651,689,534,919,1150,994,1122,1316,1110,855,631,794,1116,1204,964,664,702,855,918,1158,1128,1172,1028,1048,1150,1200,1238,1030,575,424,488,482,625,587,497,390,411,405,321,257,260,370,440,417,486,452,473,522,492,428,384,327,287,380,435,450,486,419,333,304,366,385,361,437,567,710,1050,1198,793,477,523,582,625,752,615,477,451,463,448,529,753,621,798,933,937,1072,1104,1266,1306,1194,910,539,653,945,788,647,457,328,370,315,324,405,455,436,446,440,432,481,401,385,399,403,381,379,381,414,410,355,341,394,450,523,405,429,512,911,1424,1276,978,844,612,412,521,651,825,738,391,515,805,935,664,421,327,393,524,559,906,828,886,894,535,498,641,972,1170,1102,1024,1012,1094,1102,812,430,289,323,477,781,763,470,332,338,347,358,381,345,297,477,1022,1408,1554,1194,567,486,602,338,225,246,374,389,278,305,307,325,492,414,519,504,403,429,420,441,414,712,1124,1242,1146,632,468,451,401,325,354,446,815,1046,1118,1032,759,775,1144,1462,1540,1608,1310,1298,1366,1494,1540,1510,1418,1182,881,855,738,534,540,1114,1252,805,495,534,764,1642,2048,1324,1126,1154,1158,1246,922,706,455,309,356,354,386,370,340,355,391,475,490,458,385,375,362,315,263,240,257,300,508,896,917,853,968,864,545,409,494,504,433,382,422,440,406,323,390,464,485,631,706,763,689,529,442,375,334,527,858,666,387,389,457,875,944,602,543,527,486,343,297,441,957,1354,1024,778,912,813,608,822,1642,1778,1420,953,645,594,637,681,988,1126,1282,1062,902,996,1112,1018,965,1036,1324,1210,962,969,1250,1142,886,874,1176,1406,1296,839,544,466,498,523,530,513,490,685,1074,1140,965,667,459,448,766,1078,924,520,343,628,1104,1420,1542,1348,1380,937,1026,1064,912,830,764,600,453,541,576,939,1182,940,641,551,595,590,670,913,861,653,1068,1548,948,805,819,1184,1580,1310,1084,582,1030,1108,901,949,936,932,1058,1432,1470,1556,1510,981,749,818,830,923,1188,1000,727,582,617,906,691,496,390,443,421,387,389,519,622,531,374,369,453,545,485,544,545,521,513,547,673,650,500,453,482,421,380,497,646,564,498,430,490,554],[1092,839,465,474,358,333,786,753,455,481,765,980,1166,1034,933,975,1040,1086,882,908,628,483,559,544,803,1140,1072,811,711,774,658,443,479,488,477,511,462,431,416,466,490,642,1096,912,700,586,471,351,367,356,528,649,1162,1594,1218,1120,1188,1514,1512,1116,1158,818,666,673,493,385,478,909,1470,1664,1464,1254,1082,832,840,692,524,447,294,265,268,502,574,351,239,241,269,298,351,317,318,471,1058,894,568,489,448,463,371,289,294,341,502,664,617,584,466,486,412,371,495,580,568,721,1062,976,893,499,406,888,929,707,737,1032,1152,1082,573,202,241,278,543,571,511,665,978,970,993,879,708,723,646,560,687,704,946,1023,1058,1272,1202,1064,1172,943,918,1242,1624,1622,1056,704,610,460,365,388,440,456,464,466,468,476,495,509,480,413,411,480,367,371,739,765,558,621,610,679,976,1360,1428,805,493,399,529,533,471,571,494,374,453,488,467,460,390,439,343,295,508,677,466,532,1174,1054,738,668,1024,1178,547,357,478,567,306,312,457,729,977,1222,1108,902,774,805,1050,1054,910,943,543,405,482,962,1208,1005,550,531,775,1002,1052,964,1086,1204,1194,1316,1396,1188,1366,1354,1310,1144,843,688,724,667,449,637,757,767,536,555,818,1230,1186,623,455,807,1440,1682,1518,1194,944,792,631,608,813,666,592,514,698,602,363,263,232,245,254,281,354,377,438,555,580,563,749,888,790,713,831,1001,1110,864,708,629,1156,1262,1168,962,680,572,950,1212,880,774,1040,786,1004,1070,925,1260,1300,1372,1200,901,1007,986,814,917,1256,1268,1102,969,1070,1474,1510,1278,944,1308,1424,1114,1608,2368,2212,1196,1244,1470,1542,1076,756,573,1116,1360,1300,1340,1354,1614,1538,1460,1702,1500,1504,1124,1004,747,435,422,497,753,1248,1268,832,852,697,571,817,849,835,617,399,648,797,583,520,624,666,712,1094,1394,899,943,1162,1206,1140,1238,1280,1154,788,537,558,628,470,424,529,387,418,409,739,1050,888,494,245,229,245,274,293,284,256,252,331,404,401,408,360,321,636,790,576,548,708,678,587,784,726,742,948,1120,921,860,981,1194,1232,1156,961,681,461,415,367,452,679,835,1188,1272,883,561,535,651,666,908,565,338,342,299,338,355,364,460,482,518,865,1024,813,813,1064,1144,929,1246,1622,1444,1018,756,752,600,720,962,719,599,1102,1078,583,427,490,565,374,354,358,458,506,583,944,1432,1426,1158,628,340,287,358,801,1320,1426,1112,853,1086,1532,1534,1380,1264,856,886,1172,1582,1536,1266,1250,1160,940,756,751,661,542,974,964,779,698,726,878,828,909,1066,1098,1224,947,651,984,1280,1356,1246,1516,1270,1126,1098,1058,1204,1420,1416,1286,1236,1172,945,549,577,893,999,593,401,951,1264,623,304,350,347,292,311,360,424,433,601,738,985,979,794,919,1092,949,804,929,974,1098,1324,873,616,1020,899,681,559,540,559,738,1108,1046,810,1026,1312,1514,1514,991,1224,1498,1108,536,406,409,426,531,459,397,520,759,1034,1088,1148,1007,764,765,897,1582,1554,978,1202,887,648,992,825,647,514,415,738,968,940,1032,1078,966,908,905,769,508,373,428,455,490,479,388,362,381,358,355,328,339,327,314,433,419,385,357,321,317,306,310,334,373,401,362,372,512,595,514,382,341,351,358,386,504,552,558,600,670,713,727,778,658,623,482,381,379,346,325,337,332,330,326,320,369,413,452,413,369,319,360,408,375,373,387,379,347,335,336,373,354,443,505,491,494,930,891,640,799,744,702,912,1034,1320,1354,1170,984,933,906,872,943,727,437,361,319,330,351,364,354,707,1110,1030,987,1166,1206,1356,1116,918,1212,712,657,662,663,833,709,515,517,562,771,1019,872,879,1330,1416,885,705,742,360,369,389,325,318,308,279,270,260,385,788,986,812,612,778,763,567,1258,1146,890,930,1013,932,490,659,784,487,605,777,1098,1010,1046,1256,1064,665,599,814,883,1084,1080,713,452,383,447,589,894,908,871,896,1106,1490,1546,953,586,855,1632,1308,827,749,1050,1240,946,1176,1394,1226,1130,902,752,902,514,415,365,355,369,431,570,611,717,955,1024,774,539,745,726,808,816,781,826,800,540,778,1144,1284,1144,740,860,935,779,1020,1100,1244,1388,1320,1318,1380,1262,1062,755,972,2026,1678,1406,1314,1290,964,605,591,607,536,523,356,656,1178,977,595,725,651,709,1214,1274,1148,1090,1234,1442,1428,1612,1526,1450,1226,1226,1196,846,821,810,926,1022,1052,1224,1234,1400,1688,1118,886,628,745,515,453,333,301,421,430,382,343,413,489,371,441,761,1428,1398,1464,1578,1066,523,513,676,656,437,448,833,1224,1256,1282,1038,1172,1132,854,670,582,468,533,937,1308,1166,1438,2536,1378,1124,1246,1726,1498,1134,1368,1534,1648,1692,1622,1654,1310,1138,1380,1274,863,512,429,358,327,369,374,497,951,1016,594,715,797,965,1198,1322,1296,1004,845,1004,849,599,707,808,1052,1009,872,1212,959,1028,1040,874,857,658,458,566,717,661,478,409,480,386,340,369,441,415,375,410,488,454,383,489,524,354,333,414,579,514,485,516,433,364,354,342,354,422,577,733,861,757,644,556,543,482,339,271,275,272,289,285,286,414,434,556,537,577,585,535,590,664,633,530,459,430,543,573,522,447,495,517,484,427,408,369,378,487,542,491,387,337,302,282,347,369,352,309,298,317,314,285,276,299,309,311,310,301,300,292,284,254,257,275,279,291,299,291,277,267,285,306,296,311,305,292,280,287,293,299,320,305,305,296,301,275,250,276,267,270,278,282,296,292,292,322,294,292,291,289,282,299,334,334,323,312,324,308,318,327,310,327,322,374,854,1238,731,368,373,377,539,639,455,395,416,478,494,591,640,824,1314,784,617,872,818,565,881,1456,1204,763,677,814,844,828,1230,1540,1354,1404,1360,1386,1330,1248,1300,1348,1368,1350,1296,1100,1010,1040,982,994,946,668,429,645,1116,1092,1096,1258,1012,1378,1548,1356,1268,1090,1058,1146,869,594,971,1222,914,1034,1044,1190,1318,937,505,426,521,754,673,568,558,462,488,577,442,731,687,633,1032,1130,1142,1160,956,910,1100,1190,946,800,852,866,919,1220,1260,1300,1272,1088,1112,1288,1112,927,698,422,399,538,647,766,763,649,602,637,528,307,285,350,433,346,408,472,499,505,365,311,368,364,336,371,375,379,467,387,369,378,424,459,430,500,590,765,1376,1432,935,1222,1328,1224,877,719,588,577,567,456,427,753,1112,1100,1230,1246,1132,1094,1166,1346,1182,1116,615,448,607,881,879,748,482,431,507,447,401,404,367,318,311,350,329,331,378,419,375,350,372,355,357,394,381,383,366,373,373,445,582,526,409,660,1046,1218,1268,872,619,591,724,529,558,637,464,612,1030,1254,1062,688,336,676,1068,573,489,453,909,755,365,393,464,529,786,1052,1126,1036,1046,1260,1007,499,410,571,714,689,583,443,392,401,358,434,651,691,644,720,1258,1384,1194,850,580,739,594,242,250,267,332,281,354,316,265,339,445,373,460,458,496,672,696,951,868,959,1060,1296,1146,818,617,478,514,476,410,483,683,849,769,553,369,633,1380,1490,1572,1420,1342,1104,793,1058,1366,1450,1496,1450,1266,1428,1134,771,534,930,1208,1018,682,873,1316,1516,1804,1536,1510,1498,1226,1200,1022,982,685,351,351,376,371,397,349,346,353,418,475,468,408,426,369,308,267,243,324,362,487,801,918,784,655,695,572,420,352,389,437,540,653,388,373,385,430,514,577,613,677,673,505,444,418,387,365,579,1044,854,561,457,620,1148,1422,1532,1190,859,515,345,305,434,969,1308,889,879,936,891,1100,1300,1714,1930,1938,1722,1226,1078,985,635,857,1394,1656,1462,937,1026,1086,1166,1174,1276,1360,1250,897,808,1042,854,698,898,1064,1026,764,711,655,463,433,455,476,585,950,1332,1686,1222,977,963,556,321,487,612,493,356,303,471,1256,1482,1254,1314,1144,670,573,564,731,691,543,630,845,930,857,1036,1042,662,508,591,620,733,901,818,869,1001,1376,1846,656,722,915,1186,1506,1458,1248,767,705,993,1116,756,753,965,839,1224,1564,2392,2310,1074,582,579,719,1294,1518,1322,1260,1150,869,834,753,482,429,711,663,407,373,484,571,426,348,356,321,448,575,556,537,515,521,556,623,602,488,409,443,491,514,716,687,559,498,413,441,579],[1410,1086,651,881,523,297,456,652,527,395,513,790,937,1064,1216,1094,767,477,482,789,622,464,570,544,565,730,797,650,606,702,641,522,409,455,565,521,496,450,340,347,392,539,827,601,742,577,392,300,310,315,521,913,1516,1598,1068,949,832,1046,1102,1178,1400,1160,1102,1138,1004,940,951,1110,1508,1604,1386,1122,591,375,739,679,458,399,335,270,262,251,243,246,246,254,280,301,349,341,340,332,390,464,708,752,561,572,497,328,294,370,694,677,597,494,447,431,447,529,483,470,434,503,777,841,956,574,520,923,1088,832,655,552,540,578,334,249,237,261,445,527,471,736,996,1094,1134,1092,1250,1228,1084,677,733,780,1042,946,948,1090,1104,839,606,657,878,1272,1896,1988,1598,904,643,427,405,434,449,498,494,449,457,461,483,465,473,471,411,482,599,577,633,722,806,859,677,546,885,1382,1516,880,662,813,998,772,572,636,594,458,373,386,388,326,264,293,262,342,625,664,738,521,833,1204,866,655,1188,1318,611,330,282,307,360,420,412,730,1026,1136,1052,844,830,905,1036,739,604,565,518,512,429,599,671,533,552,910,1184,1252,1188,1216,1126,1112,1168,1078,1030,1070,1142,1096,985,726,603,531,536,832,736,497,420,447,415,315,383,852,806,448,416,474,907,1466,1472,1268,1158,1074,1013,1015,1012,627,526,562,452,384,261,265,252,236,258,306,343,404,508,651,722,667,638,654,659,738,797,791,639,845,980,1112,1378,1272,1238,1234,905,923,1422,2062,1698,1130,607,501,925,763,572,759,902,1034,828,725,834,732,536,544,989,1166,928,885,1186,1324,1592,1432,1278,1412,991,634,1372,2286,2384,1670,1288,1030,989,940,824,1108,1648,1262,969,1170,1158,1110,1270,1290,1444,1324,1220,1140,1214,977,695,583,733,664,1142,1062,684,613,572,753,1106,1210,1050,708,515,808,948,816,852,804,733,714,639,910,854,935,1218,1248,1044,1074,1296,1246,959,600,531,658,796,734,763,743,725,502,560,664,436,319,344,304,276,317,343,332,332,331,348,323,376,461,367,327,595,690,642,706,1522,1282,748,521,833,1440,1542,1100,678,608,950,1440,1144,866,841,924,614,413,373,455,557,902,1144,800,781,835,740,656,838,1478,1042,612,422,331,322,337,789,1332,1084,681,1022,1188,1288,1130,982,1064,826,795,1096,1406,1792,1730,1454,1428,1426,1478,1450,1258,1144,764,785,643,814,964,869,614,370,368,444,538,683,949,930,863,558,341,313,336,811,1408,1440,1236,999,978,1088,1242,1300,1052,836,907,1106,1556,1524,1218,1246,1120,771,829,1013,722,701,1023,1058,1154,982,1108,1224,1172,1098,794,844,1046,993,927,1400,1376,1158,1338,1546,1228,1164,1288,1214,1128,861,910,997,1158,1296,1100,784,711,955,1204,919,783,1005,971,448,276,264,266,240,304,345,383,500,752,700,895,1104,977,1088,1096,741,780,823,974,1238,1194,876,991,1108,864,654,727,909,1042,988,1156,1400,1986,1880,1290,1402,1366,823,839,1266,1070,485,440,482,694,653,437,339,587,617,684,1026,1316,1200,938,883,745,841,695,890,794,864,661,691,752,716,568,477,617,610,553,732,874,1076,1248,682,671,610,412,414,403,421,448,411,410,368,338,450,417,337,342,348,470,440,421,423,405,380,357,336,348,388,370,346,528,569,537,474,362,318,340,370,458,572,538,652,583,675,691,670,667,642,710,618,421,375,360,370,383,358,343,325,317,372,404,394,341,323,317,349,406,423,387,358,372,392,422,376,369,401,469,502,495,730,1068,803,599,667,592,972,1052,1132,1170,1328,1098,572,404,327,412,672,752,548,433,369,372,386,442,364,469,783,1004,1116,1104,1210,1470,1378,1036,1182,717,650,741,960,1154,742,570,688,838,1260,1378,919,943,1162,1160,1010,996,761,457,354,337,400,368,314,270,303,271,343,550,896,1080,907,1100,1068,892,1166,1082,828,753,797,657,466,772,977,731,679,772,1076,1260,1444,1398,868,601,489,610,789,996,1184,1011,664,672,906,959,713,501,547,691,1196,1554,1554,1432,1424,1388,1432,1078,850,864,1172,1260,1192,1348,1282,1082,928,835,754,1118,725,388,310,478,518,578,547,474,562,635,696,720,671,767,1042,1154,1146,1052,733,427,480,856,1152,1246,984,634,602,868,790,915,1002,928,992,1086,1096,1132,1098,1278,1318,1326,1472,1526,1260,1286,1238,1068,781,677,728,847,777,423,438,847,1336,890,665,748,970,1314,1206,1114,1246,1448,1472,1442,1490,1210,1454,1480,1490,1184,857,894,936,875,879,1182,1280,1052,1168,1306,728,601,517,583,464,417,360,338,419,539,609,433,454,642,515,893,1376,1622,1622,1612,1428,937,510,478,464,479,459,397,550,842,759,1078,918,1028,1390,1362,1380,1514,1082,584,899,1410,1358,1746,2184,1262,894,1172,1764,1534,1214,1262,1378,1536,1622,1670,1754,1490,1382,1318,1288,1152,756,491,501,462,383,377,467,1046,952,816,1042,1019,1048,1024,1138,1230,1064,944,1052,1338,1070,910,894,1144,1032,973,1296,974,724,703,675,754,700,656,426,454,647,535,456,426,386,338,418,584,560,454,495,672,555,354,431,542,380,327,353,371,397,587,619,501,449,375,355,366,397,534,676,759,774,730,607,579,532,379,269,281,269,269,306,295,341,430,482,509,568,520,437,496,727,753,643,532,542,576,430,394,396,388,393,369,343,373,454,666,708,507,359,339,318,302,283,325,358,338,301,292,305,300,284,282,292,301,307,305,308,317,305,284,265,269,271,270,279,295,303,296,288,298,298,280,304,311,287,279,293,316,343,348,287,282,283,304,288,281,288,284,284,280,271,281,276,270,322,319,325,323,305,273,306,323,325,318,304,324,322,310,330,334,325,360,839,1284,830,388,361,402,365,426,574,402,396,430,494,566,876,1104,1346,1448,933,563,742,960,780,866,1346,984,923,829,1070,944,728,908,1214,1308,1244,1226,1452,1720,1636,1290,1300,1086,1013,1278,1018,1164,1326,1316,1150,819,689,859,1184,1166,838,1088,1238,862,994,1026,948,1144,1338,1326,1232,803,530,742,1112,1242,1300,864,835,899,661,575,644,876,918,616,532,776,537,497,675,623,742,781,688,890,1216,1380,1312,1194,1194,1174,1226,1230,1194,836,854,1098,1030,1078,1032,960,1124,1130,1138,933,622,509,448,378,405,461,641,674,702,716,640,554,377,329,356,372,234,290,427,493,479,348,335,411,389,349,369,352,374,394,378,371,397,382,410,584,978,1021,1094,1592,1284,846,1416,1368,990,563,391,359,467,654,814,982,1232,1210,1186,1454,1406,1230,982,1238,1194,938,659,375,301,430,614,682,506,343,393,436,409,393,387,367,391,341,326,339,336,407,468,367,382,369,367,356,382,385,396,397,413,428,514,567,346,237,324,425,752,1108,830,537,866,1102,605,362,513,615,574,607,858,1064,743,590,1194,1284,662,517,439,877,767,325,509,694,524,468,556,828,1170,1238,1260,1082,730,513,819,773,521,454,429,418,418,378,361,518,903,987,1312,1888,1278,849,837,601,650,518,242,234,240,266,267,393,324,245,308,289,253,341,363,519,824,951,1336,1106,1008,952,1064,1052,904,604,454,500,541,512,508,578,938,1062,889,673,917,1300,1334,1282,1208,1104,694,618,1114,1322,1310,1288,1288,1450,1492,1282,1064,915,996,1254,1230,983,1244,1466,1494,1764,1384,1406,1388,1196,1394,1282,807,582,513,487,470,424,391,376,341,300,373,565,587,459,362,281,344,379,369,429,428,631,669,782,772,536,568,576,382,398,555,702,578,642,363,568,641,429,446,363,330,487,502,388,391,314,364,396,422,533,750,919,648,747,1084,1588,1842,1852,1662,741,377,402,605,850,955,667,597,500,608,929,1172,1206,1196,1548,1396,1046,1222,930,761,953,1096,1284,1290,927,721,669,723,1132,1484,1558,1322,701,901,1094,971,895,1116,958,579,483,563,446,546,843,664,863,1116,1102,906,1590,1338,886,540,360,372,364,287,265,317,400,807,1374,1282,1358,1280,1164,822,458,530,736,999,1574,988,783,791,800,633,733,527,669,778,656,920,1276,885,899,988,869,866,539,689,1134,1508,1392,1296,1346,927,794,736,1212,1028,916,1156,861,1106,1326,1844,1520,769,650,555,649,1005,1028,997,1520,1884,1296,821,792,914,856,764,626,357,371,467,569,438,379,370,345,403,458,484,537,516,493,497,472,435,440,379,421,480,580,763,743,680,489,378,516,656],[1218,1152,703,589,405,378,506,368,287,304,358,783,1094,1188,1312,1320,860,525,547,739,655,449,412,405,565,917,1124,1246,1154,917,713,550,397,491,591,476,496,440,325,348,410,419,506,526,669,524,416,388,366,311,401,607,560,489,572,752,530,659,1276,1072,872,961,965,969,972,1186,1236,1310,1432,1154,1202,1426,830,926,965,547,484,405,417,343,276,236,232,252,259,255,267,258,287,332,372,307,345,730,995,937,936,1230,827,422,318,330,488,466,434,423,440,412,472,604,511,387,325,334,336,838,1010,709,715,714,633,688,840,763,460,456,300,249,288,447,686,564,470,726,883,980,1310,1682,1778,1474,1144,661,910,1426,1466,1204,1218,1394,1264,1001,910,681,802,944,1376,1702,1664,1060,680,563,483,436,492,518,504,460,458,461,482,435,433,449,414,408,573,627,470,528,680,865,694,719,666,1044,1250,838,736,912,781,472,460,612,561,400,416,414,378,221,222,220,231,275,382,608,654,345,583,1094,1326,1134,1200,1034,731,461,499,450,364,449,579,747,991,1172,1090,850,1026,1474,1372,703,514,516,514,527,520,498,448,507,1003,1340,1262,1074,1026,1186,1350,1262,1114,896,634,814,940,725,708,843,645,536,487,763,557,353,357,353,333,310,439,771,557,444,437,393,469,1042,1434,1326,1210,1166,1082,1188,960,651,627,574,499,493,370,313,269,255,273,304,364,429,501,652,755,756,733,688,666,767,810,795,627,518,761,1280,1598,1356,1208,1208,1064,930,1060,1576,1656,1130,546,380,448,535,541,501,694,889,873,654,671,800,1050,1402,1444,793,512,561,868,1348,1366,1254,1238,1058,700,535,861,1524,1822,1622,1426,1216,899,802,855,951,914,733,997,1272,980,1226,1300,1454,1722,1336,972,1408,1544,1290,952,944,1114,1009,893,672,625,610,638,692,641,808,907,613,852,1100,1090,1210,1009,864,981,937,971,1094,1206,1296,1310,1416,1042,750,894,948,586,510,554,894,1038,795,716,688,580,518,582,574,661,822,543,381,404,483,461,544,494,387,427,351,339,375,337,321,607,891,932,847,1092,1052,878,637,698,1048,1042,566,448,810,910,1434,1180,709,634,727,520,407,400,339,430,794,808,709,874,857,634,455,514,745,832,969,825,469,400,437,777,1670,1890,1007,869,1300,1448,774,599,794,912,1246,1238,1050,1084,1340,1726,1862,1898,2068,2030,1824,1674,1824,1788,1334,1338,1442,1224,647,493,488,610,677,681,614,526,551,565,453,302,372,874,1516,1526,1310,1046,974,1126,1019,1012,802,712,886,1090,1474,1648,1614,1510,1204,1188,1592,1272,829,996,1106,1102,967,879,909,1164,1324,1128,626,555,923,1344,1458,1700,1598,1302,1336,1422,1330,1222,1066,1092,866,861,1114,1070,1110,1266,1396,1280,1080,1156,1188,1242,1170,527,410,429,398,341,276,242,296,373,372,644,1054,940,766,810,1152,1334,937,547,597,496,1078,1324,1007,947,995,1009,868,750,766,940,1434,1316,1152,1476,1660,1246,976,1036,1068,969,696,839,886,686,584,624,767,552,461,459,556,561,662,955,1094,1142,993,821,741,575,1118,1822,1066,745,794,669,756,827,845,665,764,491,537,438,532,667,594,427,506,508,396,348,377,415,388,441,448,332,318,444,481,374,317,375,423,448,493,437,407,404,405,370,371,378,359,389,556,634,556,464,430,405,442,397,461,501,467,694,680,639,607,597,660,688,719,635,447,396,388,397,412,394,375,336,308,324,330,326,325,327,326,354,415,506,437,378,408,454,534,512,417,439,496,494,469,538,549,453,699,915,1158,1434,1216,1208,1426,1466,1212,957,531,359,388,637,1222,1222,773,531,632,1128,1176,706,519,888,1442,1140,839,1294,1620,1666,1086,692,752,778,952,1534,1498,850,810,966,1046,1238,1422,1060,1054,1116,1072,1050,940,688,561,481,527,746,650,436,332,265,286,371,606,976,1238,1356,1404,1232,852,689,899,1001,796,708,363,346,540,582,430,301,418,739,1198,1776,1600,808,500,498,703,937,858,1118,1246,1024,977,1142,1306,1086,613,579,1004,1360,1174,1160,1610,1820,1614,1152,843,777,894,1252,1098,1066,1232,1110,1104,1048,683,699,1130,1070,838,1188,1428,1060,857,549,453,442,658,979,1186,1162,1116,1116,1194,1228,1011,567,460,576,731,840,1180,1032,695,418,623,840,1078,1042,736,700,626,614,781,1192,1380,1472,1274,1060,1096,1110,1148,1234,1146,943,942,1012,688,424,412,508,879,1506,1028,801,894,940,1050,1282,1588,1370,1350,1318,1312,1354,1428,1504,1474,1500,1362,1074,715,684,775,919,897,1186,1088,1112,1060,916,789,551,456,378,333,347,363,423,769,1150,774,483,598,985,1320,1394,1278,1418,1726,1584,980,564,510,465,504,507,504,374,552,594,776,807,965,1298,1322,1840,2344,2066,1052,896,1208,1296,1290,1356,1328,921,991,1256,1388,1404,1384,1228,1294,1456,1678,1622,1606,1454,1340,1464,1404,1164,1023,940,921,844,641,604,987,880,1066,1378,1312,1238,1286,1406,1508,1354,1312,1242,1352,1266,924,682,1009,910,933,1256,1044,861,649,491,694,897,702,427,380,404,360,377,412,423,392,508,664,574,411,383,626,539,354,385,504,406,332,335,327,417,531,457,435,491,413,398,381,378,428,564,632,545,464,495,529,624,574,348,311,271,322,528,604,547,541,543,657,711,594,441,522,690,570,579,584,511,506,621,760,687,552,551,557,474,481,564,613,437,322,337,330,324,316,302,304,325,327,303,282,283,272,273,285,290,294,286,287,324,338,309,285,278,273,270,294,309,312,312,297,267,274,273,268,291,308,300,279,283,312,307,302,276,281,293,309,289,312,378,354,290,289,289,283,278,286,313,339,364,345,309,280,296,321,314,311,300,327,325,315,346,342,361,760,1286,965,487,379,367,433,406,386,572,446,367,406,468,580,851,1130,1458,1202,660,469,655,1040,949,1028,1434,783,647,1156,1310,767,514,847,1178,1174,1342,1344,1164,1852,1724,1042,1288,1118,1001,1280,1408,1286,1160,1254,1158,1070,996,1118,1386,855,678,1274,1316,1036,770,619,717,875,1040,1228,1152,589,414,791,1422,1632,1318,790,678,1048,1450,1530,1842,1580,1064,701,554,938,722,655,901,966,1218,1292,1118,1320,1342,1278,1080,974,1456,1122,921,1054,1078,764,1004,1092,818,764,615,533,911,1010,1098,825,510,405,355,318,301,460,675,706,853,921,645,539,354,328,384,404,320,317,377,426,457,430,401,398,386,348,347,312,454,445,361,298,343,410,466,991,1562,1440,1398,1378,1068,868,1162,1246,888,548,400,480,752,952,1042,1240,1152,996,941,1180,1392,1364,1274,1376,1204,798,458,425,352,331,413,422,332,340,356,407,364,359,379,405,402,355,355,379,402,400,444,534,566,412,350,375,419,430,467,462,444,450,528,563,373,257,285,328,462,485,645,924,1150,801,406,325,345,377,446,378,439,493,505,682,1040,930,769,818,630,875,884,595,1160,1272,454,365,453,440,637,1032,1136,1184,828,709,645,472,459,384,336,422,414,343,345,362,472,741,917,1030,1076,995,778,489,352,214,245,259,276,253,237,350,339,232,214,236,242,296,379,583,791,1218,1422,1056,977,908,975,967,716,419,364,351,355,439,505,583,754,1016,1316,1023,692,589,630,822,1142,1268,1468,993,1158,965,869,990,1132,1402,1480,1364,1440,1350,1110,1204,1194,1174,1292,1208,1216,1250,1230,1264,977,748,1096,1056,894,1128,1044,1040,757,458,408,437,395,353,545,774,627,437,290,228,289,387,590,702,595,773,647,706,828,647,632,583,483,614,841,1036,998,704,364,1078,982,423,357,352,261,298,368,412,535,343,365,394,507,471,514,615,620,974,1324,1426,1238,1266,1212,649,345,354,402,603,606,511,532,506,521,625,910,1362,1274,918,772,863,1272,973,865,988,1086,1136,1212,1038,686,498,763,1396,1384,1236,874,633,1005,1314,1368,1282,1194,1050,785,639,693,426,857,1384,1158,1294,1146,875,713,736,818,818,507,392,360,377,301,308,359,476,963,1104,1366,1624,1432,1070,664,564,641,986,792,822,729,697,752,937,1124,749,697,923,662,558,836,1360,1268,999,948,821,849,894,1096,1622,1838,1250,1222,1512,1154,1094,613,651,631,631,819,743,770,838,935,788,677,648,439,564,747,971,1224,2282,1874,1056,746,630,978,1028,506,346,333,342,340,415,403,410,438,418,398,421,413,335,357,391,387,396,412,455,409,406,427,504,575,595,521,401,433,546,696],[755,1090,1050,753,641,1076,1036,448,379,371,528,802,987,1178,1404,1114,608,457,593,899,855,735,522,425,874,1378,1450,1510,1112,1062,955,552,415,473,621,549,501,408,368,363,375,415,594,811,751,658,616,425,453,369,312,378,318,287,300,728,630,697,1274,1154,965,1300,1366,1318,1200,1528,1500,1372,1300,1168,1218,1226,918,1130,901,732,649,388,360,312,265,230,222,249,262,275,268,253,255,287,366,306,281,448,515,717,936,1026,800,466,268,280,334,357,410,409,375,375,459,556,713,537,406,327,253,550,644,615,798,816,650,658,944,902,593,677,655,633,405,753,1020,580,533,673,538,821,1322,1440,1394,1252,772,403,381,444,693,1088,1334,1242,1019,1100,1024,669,750,689,731,969,1142,933,653,604,513,446,469,479,469,458,457,444,455,442,429,418,412,376,474,618,480,434,494,735,840,852,533,586,718,586,540,559,422,359,383,492,407,362,428,378,294,272,271,245,265,279,306,433,457,392,400,678,1320,1054,536,580,622,422,378,354,390,530,619,776,1338,1250,1052,808,1214,2110,1666,807,455,403,377,377,415,456,433,695,1136,1092,1200,1054,1110,1180,1122,1128,1184,1208,934,816,608,412,415,716,653,804,994,819,453,329,318,328,307,299,548,723,480,442,439,365,383,625,1178,1296,1316,1456,1394,1258,708,708,655,574,535,474,411,322,260,259,272,286,363,412,446,810,1094,860,753,639,982,1016,877,801,670,498,578,994,1332,724,638,841,1368,1304,1062,986,1200,1030,579,377,458,574,537,633,816,1128,1370,1106,1216,1470,1610,1686,1324,796,574,597,1094,1370,993,868,1196,987,772,574,639,1128,1460,1340,1138,1150,871,734,675,789,967,1166,1188,1268,1132,1430,1278,1140,1268,1130,1134,1506,1504,1266,700,1102,1128,1358,960,675,695,695,732,597,573,894,983,828,953,978,1066,1370,1328,1130,1076,1240,1514,1426,1450,1204,848,1032,944,661,619,812,719,645,516,733,843,739,787,800,881,948,954,766,665,894,830,453,380,437,466,509,383,365,502,401,315,315,369,319,550,925,1098,1170,1246,1044,939,1190,1266,1182,1064,902,758,1204,1490,1404,821,503,515,346,252,325,367,322,514,984,756,591,745,974,677,398,421,460,455,785,1272,1028,610,463,485,986,1418,1294,934,1076,989,736,627,778,1144,1304,1478,1190,778,709,1082,1428,1562,1354,1162,1292,1348,1346,1458,1670,1744,1644,1488,893,760,830,1052,1160,1036,698,440,495,694,716,472,546,1066,1538,1544,1262,869,665,780,642,490,383,411,556,648,1110,1476,1340,1480,1202,1510,1396,1098,1224,1252,1266,1084,982,874,594,621,707,987,661,443,566,1084,1216,1282,1418,1384,1298,1302,1358,1132,1232,1134,905,1174,870,914,1098,1264,1450,1398,1310,1390,1144,743,504,312,285,268,263,257,257,264,309,375,401,637,967,982,1156,1194,1444,1228,693,570,493,849,1406,1138,1108,1118,1102,1058,1098,956,908,892,1110,976,906,1402,1464,1240,1182,1054,836,905,738,1234,1234,1162,918,1040,1204,1028,631,610,896,885,818,935,1194,1390,1064,1088,1148,975,1124,1074,736,783,661,553,788,1150,1354,1052,794,832,807,550,444,580,655,484,390,427,423,366,405,453,419,395,354,307,306,333,361,366,342,381,336,347,432,463,348,373,431,423,414,369,448,519,562,614,506,479,496,536,457,452,460,399,594,778,716,634,499,477,610,711,640,501,405,381,372,386,415,397,385,350,340,350,335,320,328,328,349,372,406,559,544,444,412,443,502,489,430,410,467,530,718,577,466,550,976,925,1102,1552,1250,896,1116,1038,1192,1386,1176,871,692,959,1136,940,682,656,850,1040,958,948,886,795,940,1152,1646,1728,1582,1744,1146,678,897,1004,981,1526,1808,1306,1102,1224,1076,644,1013,1144,843,738,1058,1038,696,625,724,531,606,1108,1260,906,599,449,349,352,852,1090,1052,1094,1040,863,539,448,798,1100,1056,778,382,319,413,468,389,392,547,629,903,992,850,771,524,440,680,941,902,968,1080,1124,1116,1160,1090,1200,778,589,645,503,564,855,1202,1274,1194,1064,941,891,1017,1120,1080,908,941,841,788,993,763,581,933,1404,1520,1076,1406,1764,1112,728,488,472,912,1142,1566,1550,1102,1220,1336,1350,1192,752,529,519,496,568,747,866,731,614,747,860,978,785,749,662,437,465,532,919,1124,1238,1312,1152,979,1166,1386,1146,843,858,1012,1466,1100,694,703,683,662,799,968,1084,1044,1008,1148,1844,2116,1454,1638,1388,1066,1236,1442,1448,1630,1592,1558,1626,1226,673,913,1102,728,930,976,894,948,1126,915,669,609,582,354,345,404,473,782,1022,902,858,1090,1216,1114,1098,1028,1062,1542,1754,843,560,573,532,543,520,558,435,425,868,1400,1368,1340,1110,1280,1670,1956,2320,2010,1524,1288,1216,1240,1550,1488,1092,1150,1278,1564,1466,1498,1382,1294,1190,1416,1656,1756,1586,1422,1506,1660,1694,1158,936,1212,1314,1252,1126,1224,1266,1244,1316,1318,1388,1490,1546,1482,1260,1362,1044,1188,1172,767,673,969,856,837,1164,997,627,416,503,1080,1408,781,418,384,374,369,444,547,494,361,440,559,468,420,357,418,403,388,438,406,344,336,313,300,315,331,382,395,439,386,333,321,312,342,407,421,379,389,409,441,549,509,471,380,399,401,796,924,757,658,581,639,706,713,597,703,734,632,695,659,621,554,561,520,479,522,535,587,606,529,428,342,309,328,328,324,326,321,312,308,316,311,296,282,268,264,272,277,281,290,278,275,327,328,291,298,279,282,285,284,272,272,278,269,261,268,274,287,319,334,321,293,278,286,302,301,271,260,273,289,273,389,640,588,381,315,275,281,283,305,317,329,364,349,293,296,301,312,307,308,304,324,322,333,357,336,648,1284,1062,483,371,390,410,426,445,423,590,490,390,487,549,755,755,1056,1552,1242,652,662,761,836,808,1042,1094,613,875,1302,937,594,495,810,992,1102,1452,1304,1232,1526,1462,994,979,1218,1392,1398,1316,1128,1246,1444,1112,794,757,604,586,455,738,1262,1226,965,884,1120,1160,1234,1194,1154,807,517,438,786,1086,1170,1164,886,824,1356,1504,1380,1480,1266,1074,992,881,1086,1034,991,1015,1068,1288,1072,1058,1306,1274,1136,953,899,1094,1136,881,771,710,662,768,717,555,500,577,413,479,716,1058,945,787,660,468,331,291,388,506,554,794,866,576,424,359,343,410,415,339,302,318,353,399,389,346,356,351,448,417,366,538,583,475,356,399,395,545,1290,1464,1526,1362,1274,1302,893,764,1216,1160,896,836,860,924,903,851,1180,1284,1274,1070,1248,1420,1306,1290,1310,1308,951,438,402,363,356,390,368,373,379,332,335,359,361,386,461,485,424,448,422,407,375,506,642,630,515,406,397,385,332,426,541,498,418,446,489,488,427,417,374,345,359,621,938,736,323,290,338,359,405,397,364,440,539,512,503,513,491,835,971,704,1052,886,608,1182,1138,445,370,382,331,371,497,839,1112,1046,891,663,577,408,280,305,372,321,257,292,361,446,619,748,976,812,518,412,316,266,229,263,279,280,270,251,293,290,217,258,358,275,318,352,429,462,925,1230,1272,989,837,998,1070,601,539,412,423,432,430,381,457,735,1418,1808,1346,940,550,686,955,1194,1238,1262,1062,1174,1186,880,811,1056,1288,1084,1216,1698,1470,1082,960,1056,1276,1086,1216,1392,1274,1138,916,559,443,474,484,722,857,802,1340,1438,908,491,420,385,343,519,543,354,334,221,274,461,790,1110,1134,963,625,518,1062,1604,1382,839,601,642,990,1068,944,1050,787,629,1122,1144,792,620,532,590,568,457,498,417,369,371,354,335,319,315,487,880,1018,1174,1418,914,732,528,364,331,352,372,356,346,367,408,569,731,556,656,1322,1518,745,1516,1728,1050,841,767,760,913,1054,976,968,623,634,916,1228,991,758,742,871,1078,1212,1300,1386,1212,1248,984,1008,1078,686,1120,1338,1034,1012,1088,1021,992,967,662,596,466,380,370,376,349,359,403,495,756,1006,1296,1480,1278,1010,823,689,807,1228,1234,878,783,1014,1030,926,755,418,594,821,635,656,792,1084,991,848,874,894,832,886,1078,1306,1640,1414,1638,1714,1418,923,763,673,405,361,374,366,384,558,775,927,881,828,950,911,1176,1282,1338,1594,1372,1128,996,756,525,553,616,626,508,393,378,379,328,434,511,418,443,483,381,310,339,334,342,389,409,423,421,378,346,379,475,584,537,472,514,546,609],[577,758,1292,1514,1312,1596,1462,850,672,514,471,412,575,1032,1268,987,651,513,589,985,839,1166,800,488,985,1626,1638,1136,722,887,877,464,428,513,582,555,460,412,406,394,353,341,444,544,535,697,730,477,523,533,516,382,350,314,298,604,707,706,1080,1474,1416,1248,1262,1538,1300,1082,1214,1214,1366,1444,1148,686,640,871,898,696,791,967,854,732,507,338,259,253,274,282,286,311,340,328,393,354,339,477,620,755,991,949,711,575,395,307,356,322,366,408,353,434,375,690,1094,1150,932,641,429,361,382,490,575,562,482,713,794,659,678,681,799,662,497,878,897,509,550,579,579,865,1120,1172,1258,1108,641,365,336,350,612,1366,1450,888,1030,861,696,626,769,731,655,727,872,803,555,523,495,454,462,471,459,446,430,410,422,435,437,419,410,375,391,568,578,498,840,775,888,745,526,494,552,496,503,711,594,427,466,351,373,380,342,354,381,436,400,285,245,231,276,285,312,370,354,447,976,1078,625,388,361,300,294,266,335,509,789,1090,1360,954,1138,919,739,1190,1200,652,499,381,369,362,379,385,468,716,944,901,1116,962,732,777,1144,1366,1266,1098,766,785,656,438,325,622,562,597,716,523,375,372,349,336,328,413,680,474,379,441,402,329,326,363,642,1102,1486,1684,1906,1836,1158,1314,1036,667,507,443,446,348,259,280,299,391,473,395,464,1416,1932,1622,1152,761,926,991,803,864,871,582,631,909,969,542,433,700,1272,1472,1536,1316,1204,1142,956,610,475,535,535,755,630,993,1528,1472,1370,1476,1430,1216,1090,1128,963,1024,942,1032,876,566,781,1266,1358,1112,1234,1700,1766,1084,802,1184,822,596,588,753,861,808,1202,1204,1074,1116,1060,1128,1100,776,814,999,1592,1368,1040,1256,1268,1294,976,811,777,711,787,785,1158,1388,1264,1256,1316,1096,1013,1414,1490,1312,1136,1030,1228,1066,1126,878,986,1176,1176,692,437,445,367,320,291,356,645,1160,1344,1376,1216,1122,904,750,554,477,512,553,558,457,412,453,389,362,452,323,288,341,421,401,604,828,1226,1764,1106,644,927,1382,1218,1090,1086,1180,1016,905,1026,1015,545,406,590,416,280,304,346,384,852,1270,1218,984,648,1208,1560,943,395,460,614,846,986,918,767,461,504,863,1472,1506,1128,1108,1112,867,761,1068,1238,1300,1166,841,1154,1374,1622,1494,1258,851,495,415,347,503,742,548,1076,1260,1460,1692,1574,1528,1436,1352,1346,1038,540,491,557,750,716,962,1310,1364,1434,1350,1132,747,458,386,331,308,412,810,1021,1256,1534,1688,1396,1086,1216,1124,1390,1506,1368,1186,963,1108,841,444,404,636,943,728,527,776,1046,1204,1272,1426,1438,1324,1476,1454,1112,1456,1360,1168,953,527,787,1160,1262,1460,1444,1534,1490,838,400,333,287,288,280,310,309,282,289,314,371,483,824,1144,788,977,1288,1310,822,567,719,639,663,951,993,959,713,822,965,973,941,928,870,966,802,1138,1654,1336,1256,1278,1194,1174,997,958,1216,1214,1552,1722,1578,1494,1324,821,686,898,1180,1226,1338,1942,2134,1562,1182,1002,1152,1166,843,600,544,585,629,838,745,1056,1394,915,834,912,675,470,487,484,403,393,400,464,399,460,469,419,368,341,325,312,294,402,540,462,362,324,344,433,454,385,404,414,401,436,517,629,609,541,569,514,460,444,623,475,426,436,504,687,722,634,512,411,415,523,660,576,421,375,392,388,402,381,365,375,380,381,378,361,360,336,346,351,370,431,566,570,456,389,386,380,456,469,389,376,552,839,688,739,772,952,1086,1342,1650,1360,1108,1132,1054,1340,1394,1358,1224,1236,1236,1140,1096,1106,1192,1270,1206,1438,1350,1090,846,1001,1530,1538,1402,1432,1744,1608,1166,943,1042,1260,1504,1422,1066,969,1408,1328,825,756,1019,984,947,971,1098,1238,1318,1692,975,514,730,1054,1156,731,563,394,458,932,1088,929,849,1108,1021,505,430,693,950,1006,611,412,582,628,414,403,616,839,612,465,416,424,794,662,417,764,999,904,816,985,1168,1286,929,864,942,554,503,430,328,345,448,630,897,1104,1200,780,952,1120,891,946,810,841,606,506,812,951,957,1013,1396,1544,883,1344,1854,1034,932,735,515,711,898,1086,946,1102,1460,1504,1482,1168,1015,944,689,571,576,737,1134,976,829,1330,1150,1100,1082,1138,768,506,522,438,669,968,1172,1394,1198,999,1200,1238,872,822,781,1024,1342,1332,1306,1178,763,580,780,1122,1072,991,908,1074,1576,1764,1466,1374,1158,834,907,1130,1400,1688,1566,1440,1530,1780,1316,1164,962,910,1064,1220,1292,1158,982,736,552,539,545,450,423,451,692,751,1002,1396,1620,1454,1110,1098,1046,1026,868,1252,1488,818,541,539,543,597,613,572,496,422,636,1372,2064,2146,1362,1232,1578,1622,2026,2344,2004,1592,1272,1104,1028,1332,1344,1262,1362,1404,1454,1512,1324,1282,1276,1202,1332,1616,1692,1592,1618,1576,1174,1112,968,1188,1216,1200,1218,1294,1356,1316,1438,1388,1204,1264,1452,1438,1224,1378,1290,1224,992,880,1122,1126,847,720,740,652,506,473,544,642,542,430,394,401,400,367,423,484,521,484,459,493,460,436,453,404,354,402,477,436,355,343,304,293,318,360,364,318,309,282,279,307,315,333,413,534,469,492,518,474,503,556,524,436,564,794,861,783,781,663,653,626,630,625,568,573,570,516,460,388,345,342,357,368,358,315,333,518,454,369,305,289,313,321,320,318,318,319,316,304,301,309,304,307,265,265,277,275,281,290,286,280,328,313,298,290,292,293,291,273,253,265,273,264,262,256,265,283,283,272,276,271,267,269,285,285,260,255,273,274,274,351,505,487,429,330,287,296,294,300,304,299,329,353,293,301,289,279,292,308,310,313,318,328,332,629,1274,1158,505,355,366,408,418,409,401,436,544,529,481,558,879,1038,881,1506,1702,1252,623,657,1068,1210,688,586,572,672,1106,920,533,509,464,417,756,1074,1140,1032,990,1094,1224,1021,968,1306,1638,1398,1156,1068,1300,1298,822,537,352,302,427,444,758,1260,1326,1224,1306,1454,1306,1100,1404,1274,1078,1096,896,1021,1018,943,1012,1110,1142,1278,1254,750,471,565,1192,1182,893,1314,1634,1396,829,991,930,617,753,981,966,619,656,794,964,1186,1130,1086,1028,735,447,442,342,259,255,410,821,1032,1088,1196,1232,977,527,428,316,323,390,445,536,618,581,459,389,386,383,388,378,344,460,410,384,343,386,496,578,607,539,568,595,595,570,411,515,540,635,1168,1230,1306,1112,1030,1126,841,728,1040,1188,1186,1028,1036,860,629,756,994,1302,1268,1086,1118,1048,1078,1222,1284,1142,639,387,376,333,389,369,361,401,358,304,311,299,309,335,372,405,464,479,451,454,417,547,615,676,639,451,360,337,338,439,623,515,393,410,410,404,537,689,743,797,689,698,894,683,441,366,331,420,436,527,491,543,521,383,320,303,399,743,824,562,983,941,613,603,743,529,379,336,393,546,474,620,1032,1066,1278,1306,910,456,666,695,403,380,503,708,670,537,734,711,680,608,609,543,368,309,247,264,294,277,280,270,261,237,264,301,336,425,639,808,522,466,861,1126,1152,1036,983,1212,1258,582,402,422,620,574,580,565,881,1406,1606,1826,1630,1332,912,993,868,858,1138,1190,1142,1224,1246,1126,1186,1344,1512,1056,877,1132,1013,938,1070,1216,1062,1023,1378,1632,1536,1052,543,391,441,389,351,353,724,1040,1432,1500,904,362,296,314,281,332,377,498,338,304,324,596,1222,1346,1162,879,553,570,976,1226,945,726,493,1046,1212,794,675,893,961,853,1042,1100,932,830,797,1122,1140,877,633,431,376,373,366,339,349,343,670,1346,962,756,1446,1210,726,480,413,359,383,395,338,381,354,381,700,960,582,423,524,490,535,1382,1576,1250,858,517,568,484,457,571,1044,742,986,962,899,819,619,787,1126,1272,1170,1296,1374,1224,1276,1036,1616,1498,1048,1090,954,800,866,980,1268,1506,1266,891,866,725,598,631,475,396,505,564,667,1050,1192,1284,1368,1042,774,591,705,1000,1268,1274,842,579,830,781,451,506,428,426,647,720,733,681,716,675,753,856,773,804,1094,871,693,1030,1350,1532,1714,1632,1204,1026,868,652,344,380,408,352,380,495,766,879,845,1126,1286,1400,1216,912,789,939,1156,1376,1238,724,865,851,813,667,479,358,343,348,476,547,480,440,418,338,310,358,357,330,314,325,357,374,354,361,353,401,551,673,625,474,580,661],[550,461,613,1176,1572,1488,1262,1050,974,774,575,423,555,866,1011,963,838,830,728,854,676,850,755,558,897,1130,952,610,499,714,714,444,375,419,587,520,435,409,350,353,335,346,431,412,375,457,448,427,763,945,629,376,481,501,371,603,816,794,1072,1900,1892,1582,1484,1490,1086,673,1030,1346,1302,1056,729,531,506,561,814,904,1444,1626,1366,1152,795,435,277,287,283,274,277,372,477,407,354,328,317,457,723,717,860,843,671,844,601,421,448,407,390,431,473,521,509,886,1058,1198,1526,1260,937,552,364,593,786,470,370,462,557,461,467,528,528,453,721,894,685,599,730,517,619,865,1036,1023,987,927,510,340,352,493,557,1009,961,882,1228,1088,1040,854,675,587,602,653,656,637,491,513,509,480,476,446,390,376,397,408,405,396,379,365,380,358,399,456,625,817,960,756,546,602,582,475,599,582,561,838,651,461,585,502,367,287,282,388,582,695,582,304,228,243,396,395,343,355,370,369,710,1120,974,533,444,383,440,289,259,279,425,572,717,662,843,656,524,921,964,566,425,375,357,378,477,534,529,641,972,1082,1156,957,545,682,1166,1194,977,1274,1306,1192,1090,573,325,640,545,433,541,408,411,394,371,314,316,622,617,354,334,386,399,326,331,362,499,921,1400,1622,1830,1730,1290,1946,1712,888,711,661,469,392,340,337,334,493,948,833,1228,2008,2530,2524,1784,1104,1070,969,758,818,1104,1176,1080,1017,809,612,433,717,1396,1864,1770,1544,1168,962,1019,716,562,540,659,625,415,451,738,1170,1320,1214,1410,1282,1314,1370,1180,1088,920,707,571,527,703,1238,1590,1650,1736,1924,1536,723,803,1230,1222,838,639,635,587,797,1108,929,1052,1368,1284,1384,1382,1058,757,689,1536,1174,718,954,1090,1052,1300,1238,794,623,663,999,844,886,770,609,486,550,843,1274,1478,1538,1130,665,709,661,716,811,1222,1234,1048,579,262,298,351,370,336,284,355,843,977,1114,1046,957,818,810,678,495,543,716,806,637,612,775,664,514,350,271,300,323,342,612,1252,1232,1226,1504,931,636,841,1338,1170,1086,1176,1192,847,507,705,766,455,532,775,508,325,295,319,354,702,988,1274,1094,508,797,1310,955,450,484,752,1238,1017,808,577,494,530,889,1346,1416,1438,1254,1102,1152,1068,1104,1023,1114,996,1016,1186,1318,1472,1334,993,640,421,401,355,477,732,514,892,1126,1562,1240,1138,1620,1790,1622,1316,1288,614,438,558,706,1100,1482,1404,1378,1476,1438,1264,985,689,485,381,355,401,921,1268,1572,1638,1448,1160,1168,1312,1232,1334,1282,1424,1524,1009,702,671,412,340,424,722,893,1060,1164,1192,1588,1512,1482,1338,1270,1394,1312,1328,1382,1150,961,623,552,970,1142,1256,1740,1576,1592,1296,721,424,339,395,333,301,382,358,309,278,282,379,597,1042,1070,677,593,867,1032,1168,1176,949,999,773,634,603,631,702,807,705,747,946,1028,1013,961,987,1340,1820,1706,1718,1638,1248,1212,1068,1192,1210,1372,1808,1822,1266,1142,1110,735,786,938,1346,1172,1422,1544,1844,1816,1294,1114,1208,1340,1260,975,821,811,762,831,789,621,1098,882,615,678,653,576,656,636,557,443,401,480,439,481,464,387,354,324,325,332,332,480,679,626,449,397,387,381,376,395,420,420,407,487,539,568,498,457,483,478,440,477,561,491,407,446,610,679,708,565,425,490,541,619,592,509,384,346,366,403,390,364,390,407,412,406,390,385,381,386,404,450,437,430,487,451,398,362,343,317,505,575,473,527,942,934,1050,1306,996,762,932,1278,1448,1426,1164,922,1010,1032,1206,1036,827,842,1086,1470,1482,1404,1424,1476,999,911,960,1098,1318,1130,943,812,843,1206,1614,1902,1746,1326,1180,1274,1120,1132,749,571,1013,1332,1120,916,912,1350,1516,998,1366,1604,1692,2100,1180,553,627,1050,857,791,763,441,723,907,705,932,999,1270,1440,1094,830,673,791,784,557,662,1072,891,509,661,866,947,577,304,364,529,1034,929,420,491,808,805,740,1154,1376,1186,719,649,503,369,432,442,343,365,345,401,745,921,1040,613,651,636,650,565,513,590,559,555,736,922,1098,922,982,1124,930,697,672,753,803,581,549,552,742,808,532,710,1258,1312,1326,1182,1326,1316,893,623,558,728,1050,983,919,1202,1142,1226,893,788,763,592,559,456,574,849,1140,1346,1072,813,866,1036,967,858,902,921,1004,1162,1190,993,827,836,835,945,782,916,1013,778,1070,1378,1466,1426,1048,835,846,811,1356,1480,1450,1550,1340,1552,1644,1532,1132,1244,1614,1556,1566,1474,1422,1294,1268,1058,672,647,485,484,913,1238,1370,1432,1546,1386,1490,1412,1178,857,735,1182,1496,1044,607,573,578,629,639,553,529,477,374,1176,2288,2600,1982,1584,1638,1638,1556,1826,2308,1906,1212,1002,802,1086,1416,1272,1166,1130,1214,1418,1418,1338,1336,1304,1300,1462,1254,1350,1654,1686,1538,1786,1552,1454,1180,1078,1464,1412,1414,1432,1650,1388,1208,1466,1406,1334,1284,1348,1378,1476,1566,1366,1490,1254,1090,906,551,494,518,486,475,388,369,383,386,400,379,345,375,363,469,528,517,553,523,506,574,527,394,373,494,474,354,308,272,283,319,403,374,317,300,300,309,285,278,296,434,645,578,626,684,600,530,604,572,435,586,726,574,670,681,715,916,643,520,421,591,716,479,309,312,342,337,340,333,340,337,310,339,416,394,397,357,317,318,309,320,326,345,360,322,274,274,302,308,318,282,273,290,289,298,305,305,273,305,309,349,353,317,291,280,269,271,284,283,261,252,245,263,287,263,263,258,259,267,266,279,285,272,261,287,305,270,285,293,309,333,336,302,270,301,297,282,288,310,324,301,299,292,289,296,286,305,317,321,349,597,1214,1144,493,342,386,384,424,414,408,393,384,492,628,491,542,808,1014,860,1442,1616,1440,858,498,722,838,618,414,444,474,499,662,1394,1038,536,363,477,653,756,958,918,861,933,1474,1750,1488,1532,1300,1148,1017,1104,1126,784,422,280,278,347,439,810,1162,1208,1044,1132,1316,1134,901,1110,1018,1174,1328,1344,1672,1380,1376,1023,1044,1052,1266,1270,630,527,832,1066,887,814,1170,1620,1358,847,1338,1346,1546,1062,547,487,458,736,957,871,935,933,822,744,725,581,378,271,301,359,504,715,964,1150,1030,1190,767,426,359,315,372,395,425,479,525,504,488,454,380,357,367,356,397,577,473,416,449,647,736,745,760,695,651,628,659,590,516,535,512,620,744,830,837,840,852,836,755,694,799,623,484,522,508,530,444,415,503,555,492,558,603,556,629,747,832,750,503,403,364,379,436,383,328,353,327,318,295,267,269,302,333,403,466,434,426,432,406,459,532,534,420,374,371,344,356,389,492,398,398,414,341,367,595,792,1296,1664,1160,855,1070,951,794,500,316,378,378,412,443,529,491,354,271,298,345,539,708,599,1050,1102,743,785,763,421,330,332,446,467,328,448,810,626,946,1268,1268,887,1326,1556,951,785,869,1104,1130,771,689,598,518,695,1000,869,541,318,253,295,272,232,236,251,237,242,302,330,291,576,862,692,464,641,813,1050,1108,1408,1390,1406,877,401,292,672,1054,890,799,791,1522,2608,1988,1550,1144,1050,1166,1082,733,799,920,1108,1202,905,677,793,998,1084,1246,1190,641,545,918,1180,1220,848,808,1072,1186,1544,1444,898,572,752,729,482,349,287,666,995,1018,918,580,299,363,412,339,357,518,951,588,431,636,824,868,887,918,706,608,642,708,648,810,1072,1626,1896,1110,622,479,854,1030,513,781,1015,918,1060,1054,1048,947,780,614,458,326,289,249,295,341,347,525,946,752,946,1404,1520,1020,487,382,332,342,347,379,372,358,409,552,789,679,447,483,577,564,659,789,1028,823,484,424,367,413,597,1152,1070,1090,989,1062,1072,818,1072,1418,1334,985,1372,1358,1400,1250,1048,1346,1224,973,1026,1154,1186,1114,915,1220,1366,1202,1470,1216,1134,1068,871,819,785,905,983,1034,1188,1064,1160,838,683,470,839,850,794,1082,963,541,530,888,821,475,703,560,497,498,508,630,787,690,656,864,885,628,571,930,984,771,549,855,1394,1648,1616,1438,1046,1090,985,403,444,424,384,307,294,580,722,699,761,944,1118,1023,813,863,1486,1190,921,1108,1168,1236,1072,1030,930,598,467,371,368,456,613,536,357,321,313,318,344,347,322,322,333,325,333,346,379,364,347,408,591,633,545,633,636],[356,297,315,704,1312,1194,865,941,1070,1007,613,417,527,861,1050,1176,1270,1250,1038,702,604,1034,878,524,777,775,755,430,362,561,546,476,385,374,473,429,398,358,259,287,333,512,929,930,582,429,456,702,1202,1106,629,595,1030,1076,485,576,1214,1604,1766,2020,1784,1290,1002,1302,1422,755,778,1396,1078,957,1168,866,525,514,897,1108,1380,1360,1036,688,527,478,325,345,286,252,252,338,469,450,376,292,332,551,579,697,974,738,554,802,604,421,400,398,304,636,951,548,490,925,1294,1482,1750,1388,876,388,305,511,634,462,460,810,855,534,528,410,552,916,1268,1404,1184,987,835,538,653,864,941,822,884,862,504,348,518,870,607,362,376,426,754,1230,1112,628,517,419,562,558,473,525,500,495,476,498,458,404,430,513,520,460,419,361,326,338,365,389,439,524,1011,1250,1304,1194,512,596,752,618,546,425,430,711,778,664,671,590,346,269,328,388,551,690,579,291,250,301,391,377,359,344,361,393,491,884,1172,673,468,371,365,302,250,226,226,292,305,337,417,417,521,521,654,505,415,362,365,381,478,762,734,750,1076,1134,1288,1180,1248,1210,1266,1202,821,1013,1448,1760,1682,1096,780,743,691,744,625,389,357,381,371,346,336,596,448,293,312,358,380,341,343,420,582,666,1036,1288,1394,1194,774,858,784,655,639,564,466,513,475,495,482,721,1622,1430,1416,2000,2476,2456,1822,1238,1152,1023,954,800,907,1616,1600,1356,1464,1356,1019,806,752,1206,1664,1584,1024,836,771,557,600,703,883,682,454,426,844,1514,1316,1146,1176,1084,1116,1266,1282,1274,1080,816,1046,1154,785,809,1260,1510,1736,1664,1274,1018,1094,1122,1026,959,1028,940,710,902,1178,912,763,919,1230,1354,1456,1504,1362,1230,1272,833,547,966,1164,1076,1338,1348,706,560,532,639,471,395,404,336,359,541,768,1126,1370,1576,938,593,748,807,850,894,1082,1156,741,423,294,335,377,396,377,369,374,495,397,466,618,789,981,901,679,531,482,594,733,686,664,548,889,922,423,270,261,283,375,737,1156,968,902,1088,870,805,902,1218,956,1007,1206,1040,926,1038,1000,717,415,455,573,310,362,342,361,413,719,1218,1182,628,408,462,578,615,606,538,727,1017,837,568,422,438,463,889,1260,1280,1372,1138,1090,1086,1224,1442,1254,1224,1426,1438,1122,1134,1218,1336,1294,673,407,366,355,453,721,603,603,858,1064,1158,1234,1392,1810,2050,1926,1618,1098,1036,1252,860,1252,1776,1770,1656,1504,1126,943,990,758,586,437,355,426,667,1130,1676,1730,1518,1350,1128,1070,741,698,1056,1356,1382,1118,897,719,459,341,421,625,1003,1322,1230,1284,1478,1358,1198,1011,1134,1032,1038,1206,1290,1256,992,709,726,667,966,1426,1628,1334,1144,1100,1164,874,553,751,514,279,301,290,266,243,292,423,765,1214,1082,782,678,692,944,1114,985,859,1244,910,503,436,476,745,919,1042,977,973,1188,1194,1262,1346,1550,1620,1654,1634,1538,1304,1226,1062,1096,1310,1454,1576,1480,934,1004,1074,778,1168,1482,1312,995,1052,1202,1482,1654,1576,1336,1088,1194,1256,1106,1272,810,927,1156,943,1090,1078,553,485,527,691,890,1282,1162,780,479,425,497,438,459,489,392,357,343,322,376,391,433,604,600,535,533,499,414,399,399,426,444,515,603,493,397,364,413,456,474,437,501,600,631,570,537,691,689,691,511,441,548,686,713,641,509,375,341,360,370,343,370,392,413,419,413,390,396,412,425,466,504,427,416,422,420,451,446,420,402,520,560,503,788,1098,1008,989,1106,834,756,1084,1674,1544,1460,1054,875,749,803,1088,1015,911,1046,1190,1332,1090,1048,930,897,615,488,529,980,1220,1060,1168,1082,798,1054,1354,1814,1660,1520,1244,1023,894,1062,1230,801,559,871,1148,1078,862,923,997,899,1202,1394,1202,1310,1226,1044,1242,1038,504,576,638,652,815,861,732,908,1011,1080,1172,1118,922,654,501,587,477,542,912,674,518,498,800,1036,700,352,329,458,673,617,338,353,636,714,685,962,1152,710,560,475,346,505,868,909,390,481,766,1112,1102,1066,998,893,619,469,491,458,453,457,392,440,583,565,830,1154,1102,1120,946,626,549,733,853,786,774,709,987,1058,767,784,1124,1194,1296,1236,1182,1278,1158,673,572,522,515,498,487,625,957,1126,1036,1172,1024,739,679,424,424,630,839,947,844,738,611,990,1068,1204,1290,804,604,1009,1058,581,925,1074,947,899,891,1023,879,902,1328,1354,1354,1390,922,646,808,1042,1480,1450,1450,1464,1310,1438,1638,1476,1162,1422,1362,1212,1438,1474,1362,1462,1478,1010,607,627,602,974,1508,1462,1334,1464,1434,1226,1394,1450,1178,808,753,1018,1424,1312,695,568,609,652,704,620,561,561,381,646,1722,2554,2370,1660,1300,1476,1324,1958,2386,1670,1082,694,632,1484,2176,1494,1176,1470,1272,1294,1320,1258,1274,1324,1754,1976,1294,950,1298,1576,1666,1626,1562,1534,1272,1422,1738,1710,1616,1466,1472,1462,1158,1164,1412,1272,1202,1338,1074,1350,2534,1826,1392,1162,1174,782,475,435,400,381,361,367,361,346,346,344,351,361,396,373,363,392,421,496,535,533,549,489,421,388,487,494,357,297,290,293,391,461,385,307,277,290,303,278,301,325,474,604,644,693,734,704,669,757,636,378,453,528,434,564,652,653,679,570,543,473,491,426,325,323,319,314,309,310,317,305,317,296,315,366,390,401,397,359,334,328,326,320,332,325,291,279,286,286,281,299,308,300,298,307,313,313,309,280,296,291,315,341,313,291,284,280,280,277,273,257,251,250,268,288,268,249,249,262,268,281,291,281,284,281,297,301,260,262,282,282,278,336,361,381,383,370,312,293,305,301,311,312,317,331,313,290,305,306,322,516,1110,1178,582,380,392,379,404,431,380,372,422,408,531,769,522,655,883,1046,1050,1330,1284,1452,1128,706,672,681,586,441,529,491,576,777,1442,1564,1005,459,348,522,841,916,1064,1310,1086,1478,1752,1170,1140,1192,952,897,854,788,704,561,536,672,602,554,920,1172,1194,1086,976,1268,1080,617,648,794,1126,1400,1750,1526,1128,1188,786,907,1064,1076,948,507,533,790,660,677,876,993,958,930,925,1306,1536,1740,1068,653,808,737,784,831,536,423,516,498,576,740,628,445,410,386,408,435,399,555,854,741,771,485,382,315,374,440,376,354,447,487,487,595,552,402,369,383,378,378,394,407,482,581,681,645,553,533,446,426,441,490,497,589,705,744,850,928,1001,1064,1098,1094,1052,1062,1120,1180,1116,1044,1023,1028,1018,903,880,884,796,651,635,609,505,501,547,470,413,430,427,455,474,488,458,438,448,438,424,355,335,312,329,322,318,419,426,401,440,428,458,619,584,381,371,354,340,352,365,385,313,310,348,372,531,619,492,771,1280,1118,733,735,1058,1142,872,572,449,417,430,473,455,462,397,268,281,335,451,619,700,1116,955,598,870,792,481,412,393,393,318,293,291,303,744,1015,957,1240,1382,1388,1288,1010,891,983,990,661,883,821,930,1064,981,1044,1172,796,344,312,316,278,236,262,262,225,230,261,308,293,409,626,764,785,698,725,1470,1216,1098,1322,1368,753,375,404,718,926,1060,1116,977,918,1308,2068,1544,483,725,1054,1054,1024,1262,1364,1188,1056,731,424,509,506,698,970,1190,1364,1340,1350,1582,1212,681,902,852,697,1086,1378,1260,937,1250,1214,814,448,367,714,875,622,618,423,487,868,717,541,442,830,1230,959,913,1023,886,703,872,916,824,859,659,628,565,878,959,1694,1810,1092,434,465,886,1304,739,1058,1016,718,974,1670,1326,868,890,748,376,271,227,207,274,413,567,685,914,794,1128,1500,1338,801,379,312,252,322,371,421,340,357,438,512,672,608,472,531,582,648,896,790,560,399,383,375,384,348,419,709,1042,1276,1146,1072,1110,1015,1316,1340,1228,952,1260,1384,1270,1086,1184,1184,895,877,1278,1372,935,995,1306,1636,1528,1394,1688,1814,1816,1314,1076,1090,1158,1268,1292,1338,1126,1170,907,540,480,769,1244,1034,794,957,691,521,787,1140,916,434,284,317,423,528,521,816,1106,728,897,1052,814,763,882,835,642,441,521,758,1232,1470,1186,1260,1274,897,962,717,647,607,537,486,462,455,496,739,858,945,1118,1028,1076,799,822,660,774,752,915,1168,1260,1266,1007,1050,1058,585,382,407,516,401,309,303,312,323,310,312,311,308,310,301,318,344,357,369,357,350,452,577,538,505,477],[333,291,300,669,1054,1258,1464,1334,1350,1252,566,435,429,709,969,1088,1112,1078,1074,819,608,872,758,601,694,624,865,448,309,400,467,413,399,391,408,386,339,383,331,313,364,547,1232,1492,960,542,426,455,481,645,940,987,1012,1007,433,453,910,1598,1628,1432,1412,1172,764,1130,1270,801,863,1120,642,774,1582,1218,525,672,929,896,968,930,618,439,494,683,465,422,304,259,252,366,494,494,486,543,938,1110,628,855,1362,952,500,749,711,430,300,314,816,2146,1824,540,552,904,1188,1350,1684,1036,482,316,311,300,255,273,484,858,789,570,650,748,921,1188,1186,1172,1030,996,895,854,886,894,868,886,1108,1352,1610,822,516,794,706,481,387,406,772,1186,1116,1140,938,538,649,571,465,504,493,462,469,426,384,426,482,537,607,501,445,389,338,347,409,426,423,877,1356,1086,1054,1344,608,552,833,832,538,402,377,546,797,777,517,367,316,346,352,380,470,406,261,235,255,274,276,303,359,369,354,379,406,618,1100,948,605,528,399,278,242,235,252,246,236,366,507,540,639,622,818,658,476,395,395,373,381,554,529,580,811,1174,1208,1030,1242,1124,1792,1546,1062,1166,1204,1132,1230,1032,691,915,1078,913,478,364,344,374,368,326,405,525,484,481,327,319,329,347,429,539,454,382,695,1092,1290,988,521,461,730,837,633,449,370,343,417,555,574,979,1584,1564,1196,1108,1344,1762,1512,962,1086,1036,998,945,1266,1564,1296,1154,1432,1648,1550,1376,1058,1356,1454,852,677,664,580,566,643,803,1094,1128,839,716,1142,1404,1370,1298,861,778,1158,1250,1158,1506,1260,820,1176,1340,779,1021,1304,1378,1704,1178,906,1352,1430,1208,741,671,940,950,733,1068,1208,996,755,689,1284,1738,1512,1248,1244,1220,978,743,553,971,1144,1192,1624,1598,774,526,580,572,418,407,558,455,438,565,835,1102,1400,1023,464,407,716,843,1124,989,812,916,519,372,365,435,439,421,495,523,473,477,490,689,1026,1054,1216,949,942,605,462,508,568,547,510,736,1238,898,451,441,573,412,423,694,1200,974,879,1274,938,661,774,854,766,876,964,1094,1110,1078,1016,992,855,789,760,486,369,336,337,546,1142,1376,860,461,365,377,469,455,601,559,770,813,620,466,446,411,549,1030,1246,1192,1052,969,1088,826,896,1038,1094,1188,1460,1644,1452,1442,1232,1226,1396,730,451,410,398,450,502,470,695,758,1003,1388,1604,1648,1848,1532,1594,2030,1992,1762,1560,1202,1338,1820,1780,1530,1360,968,752,771,551,497,383,498,803,1076,1356,1688,1670,1362,1264,1324,1058,679,872,1382,1396,1024,913,1142,1100,709,557,582,724,826,1158,1286,1230,1284,1410,1396,1224,1202,1100,974,1238,1444,1190,903,734,808,967,1110,1312,1482,1218,1202,1186,1240,1296,980,783,474,281,238,298,530,479,366,451,783,1184,1238,1198,841,629,800,783,634,626,956,747,447,526,603,728,1428,2512,1516,1212,1170,1226,1440,1272,1568,1378,1366,1432,1328,1346,1330,1144,1268,1294,1126,968,927,836,1076,987,785,1554,1820,1068,578,830,1032,1080,1600,1394,1368,1060,966,1012,1298,1426,959,971,959,994,1420,1202,959,521,565,670,951,1372,1214,744,639,626,505,434,532,498,389,354,374,331,346,322,359,511,543,549,535,516,512,482,430,411,415,516,620,556,560,496,444,470,474,431,493,632,606,576,604,761,755,751,633,525,526,614,619,580,522,397,364,355,364,375,375,351,373,404,415,401,403,425,428,446,476,535,492,503,551,576,554,530,489,524,451,565,875,882,868,1178,1414,761,971,1196,1428,1372,1194,1170,1044,822,856,1168,1380,1260,1236,1015,777,625,585,545,464,462,430,629,795,541,615,871,758,842,1284,1416,1752,1618,1314,882,607,777,1166,1254,946,855,1176,1244,939,1003,708,597,900,1282,1202,1182,1788,1596,1220,1498,1072,631,524,543,480,532,648,622,742,880,702,715,935,1084,789,565,685,543,482,644,625,883,735,693,995,1005,682,329,343,267,309,310,307,485,636,826,1322,1318,871,620,457,544,768,1100,919,500,667,1072,1606,966,725,1040,980,840,763,482,408,320,377,467,411,400,358,562,1016,1222,1208,1096,990,756,702,767,814,817,935,1206,1168,1082,1250,1174,836,826,788,716,881,984,671,512,360,362,372,419,555,849,1092,1178,1320,1178,745,700,355,443,605,662,635,658,688,678,919,1226,1318,1250,756,642,902,1048,558,886,816,550,724,814,959,1102,1266,1340,1240,1232,1120,1108,913,923,1076,1062,1318,1440,1302,1488,1758,1764,1626,1698,1886,1580,1444,1334,1368,1454,1460,1356,953,692,857,976,942,919,1072,1416,1396,1108,1510,1554,1268,865,548,563,944,1508,1688,943,634,694,811,821,713,609,595,524,412,1058,2176,2510,2074,1366,1450,1976,2580,1854,1368,946,735,682,1802,2656,1572,1512,1616,1346,1170,985,1116,1410,1518,1874,1464,1214,1218,1194,1258,1212,1268,1606,1710,1648,1718,1958,1728,1380,1272,1366,1318,882,885,1150,793,914,1328,1318,1296,2380,1648,1210,1024,766,554,580,548,357,410,384,357,348,363,316,336,368,403,430,430,494,498,430,482,590,646,574,514,493,466,463,452,375,308,293,308,364,392,347,314,295,301,304,325,327,419,639,758,794,818,847,806,771,857,838,554,419,504,564,731,717,465,410,583,583,435,353,345,343,321,345,321,319,317,305,304,325,312,322,363,350,363,384,386,332,351,346,350,352,320,308,315,299,271,261,292,314,309,290,296,308,310,303,294,311,297,310,328,312,348,336,303,296,286,270,259,257,264,278,284,282,280,278,273,269,277,279,267,277,281,279,278,270,267,283,283,268,303,399,492,507,473,352,293,302,310,313,305,308,327,325,296,315,321,452,1072,1274,727,431,383,404,433,419,390,371,395,427,389,455,745,574,673,940,987,1240,1230,1166,1324,1070,855,886,552,476,430,501,433,606,839,1118,1422,1132,789,688,711,689,740,1166,1326,1026,1182,1046,616,813,1088,1090,1090,959,814,924,918,872,1210,1198,1142,1194,1222,1322,1262,1096,1256,1084,630,795,1100,1260,1360,1302,665,725,756,628,879,1372,1928,1620,669,513,462,423,520,642,658,469,601,705,959,1078,993,998,1098,817,546,450,495,324,223,327,306,293,299,329,397,393,419,454,370,329,409,518,551,388,371,370,338,472,529,357,332,394,430,522,667,486,440,468,480,425,357,314,353,409,404,435,478,495,546,590,722,908,1034,1124,1190,1274,1346,1416,1488,1540,1538,1504,1516,1550,1582,1582,1534,1516,1542,1590,1558,1482,1496,1516,1478,1412,1404,1378,1260,1198,1216,1122,903,819,699,543,570,642,533,468,462,464,485,565,551,466,421,412,373,328,372,435,512,518,448,643,908,728,428,340,357,343,343,357,339,324,323,335,549,876,866,452,743,1114,954,604,673,875,1044,1142,991,632,594,833,621,614,838,526,280,276,419,563,585,707,1118,921,546,650,609,583,465,346,325,279,252,266,415,819,763,649,1092,1430,1430,1290,1162,705,673,539,450,952,1096,861,872,1044,1310,1434,929,354,317,307,272,229,261,272,246,231,268,311,314,314,285,395,733,790,846,1948,1980,1280,1122,1158,744,443,426,422,448,646,794,771,516,871,1974,1270,555,847,860,898,1024,976,742,610,759,490,684,925,629,802,1021,905,1036,1190,1214,1338,969,1042,843,619,503,584,1020,1112,863,896,1056,890,408,438,955,979,620,669,555,702,1212,1206,929,661,869,1090,948,979,1350,1168,931,1236,861,740,950,653,531,570,851,866,886,1534,1086,422,506,887,966,465,563,770,832,957,1190,1088,891,956,852,386,270,195,229,262,512,748,789,1022,964,883,946,740,542,416,354,324,314,316,368,365,385,428,370,488,700,560,496,655,672,1296,1220,570,380,372,391,365,352,480,890,1318,1230,1024,1024,1562,1114,1072,1264,1362,1268,1390,1332,1144,1126,1036,1050,1182,1124,1056,1228,855,1072,1390,1356,1232,1204,1288,1426,1258,810,1180,1108,1170,1154,1766,1426,939,952,776,659,622,629,890,966,949,1118,797,564,772,821,698,423,286,303,325,415,494,769,1090,1001,1114,891,901,1042,1172,800,417,549,864,697,750,1208,763,921,1438,1180,1136,1052,1148,938,585,505,521,426,406,891,1312,1084,1260,1248,1174,893,733,636,659,718,886,1114,1362,1364,915,1004,1076,800,576,551,429,319,303,294,303,311,287,309,300,296,308,320,322,335,336,352,341,314,368,432,462,465,383],[395,333,327,624,938,1294,1658,1722,1594,1318,1015,720,530,628,634,594,637,681,888,897,608,569,517,481,394,302,314,289,289,393,423,325,378,441,419,369,402,551,494,354,357,419,818,976,815,576,437,378,497,751,989,897,651,567,696,1098,1318,1426,1326,1378,1510,1238,841,1018,897,1354,1370,766,543,459,1152,1084,617,680,893,1248,1264,947,498,528,575,706,597,462,344,309,326,425,533,697,832,1242,1776,1578,771,605,922,756,574,612,532,388,390,325,889,1636,976,499,521,761,956,998,610,285,314,338,311,264,300,269,295,350,385,401,615,874,1064,1030,807,609,517,548,812,1270,1324,1238,1158,1116,1380,2458,2722,1296,614,997,996,730,495,514,748,926,947,1558,1040,644,749,806,660,506,466,480,476,458,496,498,469,552,581,555,477,395,334,407,641,764,1024,1440,1220,711,620,1192,673,628,1066,1038,677,555,437,384,532,519,272,262,378,366,338,349,336,252,248,250,223,238,297,351,357,340,335,377,478,633,946,1130,863,590,420,284,231,238,250,249,286,451,486,403,365,511,764,667,488,441,420,415,403,501,390,461,755,1418,1788,1028,926,1272,1532,1338,1188,1394,1374,1194,1064,877,711,1222,1196,677,418,345,342,377,375,337,482,681,590,528,343,323,350,390,441,399,363,346,449,743,969,668,451,558,825,882,769,517,395,398,405,428,717,1342,1592,1502,1576,1468,843,698,1136,929,1226,1158,962,788,948,1256,1080,1007,1420,1312,799,1116,1424,1496,1158,756,599,563,526,600,650,948,1512,1476,1142,1128,1210,1116,1188,1182,1128,1276,1582,1170,782,1192,1338,1196,1026,945,1028,1664,1356,1384,1486,999,1170,1426,1366,1122,865,739,1004,1210,1338,1280,1290,1178,1128,1122,1770,1964,1444,1130,1014,1074,890,655,794,1340,1316,1208,1242,1132,679,447,539,489,380,315,402,430,529,664,915,732,701,527,355,311,343,296,301,375,801,948,544,373,404,507,542,596,850,842,469,582,808,794,1034,783,927,782,1164,791,478,453,432,440,561,979,904,527,550,879,1334,839,689,689,1334,1384,1028,903,735,719,758,872,1200,1216,1072,1154,1068,855,947,1262,1172,1078,831,567,550,405,464,937,1308,843,535,460,401,354,526,1009,956,645,727,632,471,427,423,341,471,819,1104,1019,1004,1026,880,872,984,1012,1030,1234,1326,1230,1410,1086,855,1210,1188,686,477,485,435,602,757,881,1284,1202,1312,1672,1688,1408,1398,1328,1336,1696,1958,2060,1892,1678,1870,2122,1958,1594,1304,1226,733,491,480,487,453,631,1015,1296,1260,1642,1542,1564,1218,1232,1012,561,902,1440,1250,814,1040,1342,1306,1042,982,864,873,722,1046,1400,1560,1396,1286,1198,1152,1184,1190,1294,1344,1106,907,589,656,860,935,709,1030,1432,1368,1324,1076,1104,1358,1072,526,296,273,288,402,932,852,492,531,752,1026,800,955,777,664,809,839,679,681,876,714,573,605,716,905,2052,3762,1636,977,849,823,1068,1244,1214,1208,1398,1488,1322,1306,1260,1208,1422,1384,1122,1016,1188,1046,1102,989,797,1026,1276,990,640,596,666,1252,1460,1320,2148,1628,1042,996,1017,929,936,773,653,771,991,963,930,835,899,995,1124,1236,1148,935,1007,1372,1262,507,408,405,408,389,369,360,367,329,452,527,506,525,470,487,525,538,520,429,399,401,484,575,636,546,482,448,383,379,453,539,507,568,658,753,703,649,698,655,582,572,524,488,487,403,392,370,388,387,377,375,379,390,406,410,408,415,468,551,583,597,518,570,658,702,625,552,543,538,494,607,937,816,997,1134,898,734,1102,1186,1332,1262,1021,953,894,773,876,1322,1564,1300,1272,965,1008,830,533,495,607,661,597,792,880,804,955,1068,1128,1368,1444,1634,1840,1698,1400,959,850,1172,1102,764,765,1072,1124,867,875,1146,894,662,871,1048,1098,1760,2244,1376,1078,1174,856,572,563,567,590,622,545,433,725,905,760,851,971,1108,927,771,783,495,298,419,623,922,1350,1592,1292,1072,775,465,390,296,277,302,549,665,639,948,1168,1146,985,784,886,894,909,1021,642,532,549,744,955,734,833,858,668,560,496,429,415,735,1108,1040,680,484,337,408,699,1026,1042,899,849,540,769,767,820,707,918,1180,1334,1230,1108,1086,702,820,604,430,548,625,568,436,354,345,358,451,548,786,1188,1336,1254,988,565,591,504,643,654,622,660,685,901,1138,1036,1134,1116,1334,1188,1084,974,845,859,1216,1008,661,383,393,505,514,644,852,1180,1100,804,1098,1334,1364,1370,1370,1600,1668,1544,1734,1628,1382,1316,1224,1432,1638,1638,1598,1694,1488,1188,1424,1644,1606,1512,1124,698,800,1052,1086,969,993,926,888,880,640,549,451,792,1658,2030,1322,769,775,795,730,708,654,606,618,446,532,1524,2486,2496,1710,1782,2470,2048,1248,789,747,1248,1200,1902,2508,991,1186,1296,1178,984,1072,857,878,1512,1656,1264,1084,1064,1206,1178,964,771,1358,1746,1750,1778,1798,1536,1304,1288,1272,1138,738,772,868,624,719,1222,1508,1442,1632,1230,868,882,691,456,507,457,394,451,447,385,377,380,368,401,411,426,426,480,605,579,463,440,516,648,531,468,456,540,606,591,487,330,281,277,299,339,330,332,335,366,448,567,552,636,819,893,919,907,865,794,825,855,783,753,691,591,633,670,451,336,539,577,358,302,322,311,328,319,374,346,330,322,308,309,302,320,373,392,329,332,327,341,302,307,329,356,345,321,315,305,295,290,294,315,321,302,272,280,298,296,291,303,316,308,358,327,321,427,372,318,289,286,273,255,256,269,282,283,278,278,272,284,299,303,307,283,273,279,291,278,265,270,270,271,269,276,417,578,578,458,341,310,305,302,310,304,304,310,328,318,328,409,915,1354,875,486,410,379,380,412,393,403,361,401,411,395,397,587,550,619,688,719,1014,1082,919,948,980,853,902,530,495,428,443,546,1030,1362,1488,1326,1100,1152,1328,1192,748,727,785,801,720,1021,1064,928,955,905,1032,1294,1166,703,1262,952,719,1042,1206,1282,1256,1158,1226,1322,1206,1122,1132,780,815,1240,1302,938,540,505,674,749,853,1238,2142,2732,2334,1012,494,537,443,452,468,381,337,430,532,609,677,772,1032,1122,386,254,229,268,262,250,231,222,237,244,296,341,375,509,466,401,651,803,653,693,592,487,468,416,539,738,413,334,370,383,413,447,404,384,386,371,401,481,528,602,664,762,884,984,1110,1280,1384,1432,1484,1476,1420,1378,1390,1406,1382,1350,1298,1242,1228,1198,1180,1144,1068,1054,1096,1130,1118,1116,1160,1212,1198,1230,1272,1354,1400,1454,1494,1484,1478,1524,1500,1394,1324,1274,1166,979,742,545,523,441,452,525,526,566,627,656,587,464,491,742,705,591,951,1028,741,495,389,363,339,313,298,381,529,739,514,744,844,1002,559,730,854,603,418,451,729,926,949,1015,1056,897,957,572,831,888,773,489,283,482,742,760,776,1238,879,617,587,535,491,297,245,288,238,227,272,533,785,620,835,1318,1476,1670,1672,1364,1130,819,598,683,760,757,717,659,755,1090,922,568,337,397,399,253,198,253,272,253,255,268,300,303,303,241,268,263,521,971,1526,1676,1594,1328,922,703,771,679,655,919,461,368,393,594,904,1464,1190,675,880,1178,1438,1050,832,617,523,446,511,949,1012,843,987,1180,1024,654,738,771,738,460,667,548,900,816,451,945,1300,1052,826,662,546,411,428,945,966,863,953,708,667,1428,1542,759,556,868,1166,1034,581,1214,1100,736,1044,855,766,1054,938,714,954,1032,947,1370,1952,1112,449,390,619,455,294,455,910,1086,807,761,480,531,610,431,225,274,248,266,286,729,1104,738,676,883,857,542,474,479,500,425,418,374,338,331,334,351,375,369,509,782,644,364,437,434,885,774,415,354,391,407,350,388,774,1202,1230,1016,1100,1300,1670,1212,1158,1426,1318,1052,1256,1408,1286,1354,1282,1182,1154,956,639,596,767,1208,1300,1158,1050,1110,1012,1026,835,695,953,831,907,1186,1362,1074,914,778,683,990,1074,911,754,966,1013,1130,1214,735,419,392,392,328,306,312,372,452,545,599,1150,1432,1034,962,1112,1252,1108,681,430,638,741,634,693,966,525,568,1006,1344,1162,1060,1248,852,379,347,343,314,304,565,912,604,778,854,720,761,748,488,515,663,761,1178,1480,1438,1306,1282,1242,1010,702,512,436,347,312,300,294,317,306,317,304,328,349,338,321,320,298,291,306,295,312,368,463,450,348],[675,459,524,771,1218,1540,1674,1462,1322,1334,1400,837,619,764,922,1338,1188,720,713,752,856,906,555,339,243,240,305,312,273,337,439,333,455,615,483,391,457,594,568,447,434,428,704,1034,903,606,467,444,555,540,731,829,1017,1092,1296,1198,1204,1238,1168,1372,1260,844,624,669,755,1672,1498,686,408,357,638,718,669,597,751,1356,1216,764,583,698,535,554,724,551,366,375,531,854,1272,1218,1021,1518,1498,926,664,520,459,438,372,298,271,335,524,502,449,498,527,587,561,521,586,614,439,326,347,409,429,358,319,208,200,275,312,319,414,449,593,612,451,571,545,446,747,1108,1170,1250,1222,1358,1386,1296,1508,1050,746,922,897,781,935,1126,1018,875,771,1262,1106,801,725,765,683,611,487,466,427,426,488,477,487,566,645,600,465,425,375,502,776,930,1086,1292,1024,828,573,565,536,584,757,738,610,565,361,220,224,228,237,254,335,336,327,304,313,282,238,233,233,282,316,321,292,287,312,369,513,667,722,1056,1112,655,487,382,310,297,255,251,488,500,396,398,440,711,939,614,435,411,420,449,375,392,373,425,573,1260,1246,662,840,972,921,1086,1118,1013,1162,1162,849,656,608,970,774,416,380,344,349,346,338,375,664,647,580,538,455,418,435,499,484,423,386,349,374,480,694,525,493,586,749,799,633,440,427,428,407,473,976,1350,1218,1252,1296,945,761,849,1332,1348,1288,1232,959,648,1015,1192,918,1332,1372,791,645,732,1018,1136,957,759,704,592,507,514,584,800,1200,1112,920,1082,1536,1490,1180,1072,1007,885,824,742,885,1568,1316,1252,1246,1064,1056,1078,805,849,1474,1924,1486,1302,1084,617,529,813,1354,1386,1176,1320,1438,1508,1534,1418,1466,1510,1368,1206,810,1034,1366,850,929,1582,1582,1366,1208,1050,609,333,540,950,855,486,435,600,808,870,1086,1190,957,536,337,251,245,236,275,514,941,1134,776,495,430,414,484,575,777,709,370,683,988,869,833,794,1040,1048,1244,1026,733,627,506,431,591,728,476,479,661,1376,1126,915,919,1000,1222,1038,798,791,693,500,453,611,800,987,1084,1010,1038,1048,701,594,854,806,789,811,933,599,812,965,977,568,451,441,417,484,1034,1512,1166,743,573,482,442,409,390,257,299,375,778,844,838,797,1050,1426,1324,1080,1032,1070,1026,628,963,1152,911,1018,993,627,444,482,475,766,1012,1038,1290,1322,1198,1134,1018,849,856,1192,1490,1506,1456,1818,1990,2004,2170,2130,1688,1036,1244,1508,1086,702,594,608,720,783,785,1180,1226,1664,1416,1376,1382,1142,938,898,938,1322,1086,871,1250,1196,1268,1200,1058,783,803,1092,1052,1088,1246,1003,1092,1382,1102,1011,1106,1350,1102,833,538,632,948,918,758,664,858,959,1064,1058,1098,1066,1148,1194,744,387,351,350,391,655,744,730,529,677,922,809,868,927,767,636,849,1206,1274,1212,983,615,700,800,797,1212,1704,1590,1072,717,1068,1254,1102,1188,1122,1046,1282,1080,1084,940,922,1174,1128,1114,1372,1448,1116,976,1076,996,747,802,767,613,574,944,1516,1206,1356,1704,1394,1074,1004,1266,1198,1007,702,604,842,1001,1042,902,843,914,1256,1314,1346,1226,824,734,1346,1318,549,334,370,373,374,367,383,378,362,429,442,487,466,415,433,430,465,422,331,403,474,541,623,490,399,452,442,375,397,471,517,503,546,655,702,539,499,610,583,613,555,398,383,445,401,377,406,413,375,357,355,379,399,403,408,415,441,511,660,766,592,502,557,647,682,651,587,582,588,586,807,1130,804,1032,1124,1008,1026,1076,985,1068,925,627,730,1023,650,768,1188,1228,1112,784,769,1158,976,594,807,1208,996,594,608,816,1226,1228,1200,1306,1552,1538,1698,1744,1722,1666,1344,1144,1114,1234,937,923,972,662,567,744,1040,1092,1012,1000,1130,1074,938,971,1020,1080,1316,950,648,574,599,584,548,511,450,598,771,926,868,908,853,653,752,836,603,335,304,484,745,900,1078,1242,1246,912,872,686,384,313,339,696,667,529,831,1138,1252,1124,1070,1190,1146,1252,1036,561,374,384,610,712,775,1036,864,744,458,410,455,645,1200,1350,1246,1130,807,484,360,529,840,868,508,383,408,801,799,868,963,1088,1196,1296,1224,968,1090,821,1240,893,530,515,484,422,500,533,532,596,772,765,899,1036,1021,599,427,440,512,658,718,639,720,819,837,1108,1246,972,1002,1248,1334,1356,1040,772,844,1246,1322,1348,1306,569,444,394,407,449,849,1216,1262,1202,1216,1314,1404,1512,1600,1500,1382,1566,1570,1260,1244,1226,1302,1514,1528,1412,1332,1378,1048,667,1172,1430,1520,1356,732,402,474,497,477,820,1164,820,710,903,695,563,494,634,1356,1824,1456,1138,896,764,712,706,747,708,726,639,396,828,2098,2644,2068,1804,2164,1996,1378,852,815,1007,1158,1812,1792,686,681,838,839,1068,1338,1064,1128,1324,1202,1324,1374,1360,1468,1448,985,745,1528,1692,1576,1710,1776,1686,1512,1388,1280,1132,766,716,662,569,570,965,1520,1660,2038,1724,747,771,700,518,405,341,397,471,483,454,464,469,438,448,462,392,375,430,576,548,471,445,450,568,536,388,348,531,728,712,591,392,308,287,295,312,321,329,353,450,587,678,705,769,854,917,881,856,755,745,822,885,629,564,585,565,583,383,324,535,662,487,389,329,323,320,357,334,390,408,330,307,298,306,344,369,415,368,315,326,323,329,329,336,336,322,307,318,328,319,321,324,332,337,324,314,321,323,296,278,280,297,325,299,349,352,355,397,346,326,289,269,287,258,251,275,289,292,293,283,280,287,280,273,288,281,270,277,288,285,284,275,288,278,271,279,415,570,564,430,327,311,318,323,328,315,304,306,304,337,400,907,1328,885,462,419,412,372,368,386,378,382,368,361,356,366,430,568,535,421,399,480,764,1130,1122,1272,910,625,539,557,573,485,615,951,1004,1272,1248,933,652,792,1100,1003,994,818,690,639,574,693,902,1268,1312,1084,1200,890,723,1152,1316,836,623,769,963,1026,1246,1472,1660,1304,1120,1190,1292,835,603,714,1050,950,713,590,609,698,824,1208,1690,2236,2648,1282,447,349,368,480,444,333,340,377,403,430,485,555,836,1001,543,293,261,262,289,270,229,232,228,228,313,370,373,434,411,361,766,793,550,572,607,598,590,517,588,1182,732,467,433,362,336,374,438,556,695,807,973,1108,1172,1268,1344,1418,1460,1478,1478,1444,1332,1224,1128,1032,971,895,815,730,656,651,650,637,613,532,504,514,513,500,492,481,502,537,535,514,558,600,605,630,786,873,845,929,1092,1192,1252,1378,1452,1438,1472,1454,1360,1320,1164,966,805,610,576,621,611,750,815,769,702,731,662,628,786,960,935,644,439,412,339,320,308,488,965,1126,695,818,895,869,572,594,452,417,426,561,524,625,928,1238,1474,1144,788,509,758,1172,1340,838,325,424,854,1136,905,1240,747,515,518,499,398,301,307,318,297,285,396,824,1116,947,1076,1364,1164,1488,2116,1642,1256,1184,1218,951,552,637,1126,1009,594,463,389,320,329,407,372,239,209,272,274,251,282,243,242,262,252,343,374,390,388,586,615,753,943,999,664,915,1350,1262,1332,1174,536,329,382,416,688,1210,890,640,775,1190,1350,1064,1016,955,868,645,690,880,955,1154,1210,1234,921,896,880,683,448,372,389,487,865,619,563,1174,1416,1360,1146,883,589,498,400,599,819,1310,1472,927,575,897,730,270,319,579,965,1136,562,685,597,548,816,1076,1288,1306,868,586,766,896,683,1452,1820,1218,568,551,572,385,342,510,1080,1252,1056,988,648,628,484,339,307,284,293,298,342,948,1354,1288,1182,975,973,626,531,769,603,391,371,332,319,360,377,374,371,396,642,977,899,509,384,337,452,455,422,440,397,368,368,553,894,1140,1094,1048,1232,1548,1460,1250,1312,1440,1374,1208,1282,1304,1262,1312,952,1114,1092,748,462,728,1194,1084,896,845,698,665,709,1140,957,694,604,626,797,1166,1274,1146,887,699,1064,1154,1084,1216,1146,970,1222,1172,814,490,271,316,364,380,371,365,465,603,607,600,953,1050,676,571,995,1230,1048,841,448,488,630,662,677,719,518,778,875,1156,1264,864,789,643,378,332,366,308,247,270,318,322,411,600,524,603,759,575,684,695,727,846,1204,1482,1656,1406,1144,937,828,651,386,391,391,396,426,322,283,303,321,334,321,318,321,325,309,282,310,301,325,349,341,353,401],[1136,659,535,529,1258,1374,1440,1484,1472,1150,845,802,984,866,988,1248,1023,652,731,921,1310,1050,541,341,296,323,353,388,336,319,503,441,682,951,804,671,793,694,551,692,659,441,790,1152,704,861,784,801,974,1088,1178,1278,1244,1326,1304,959,1308,1204,1036,1222,1134,1064,775,605,502,1260,1398,768,439,399,424,622,994,982,791,1058,1026,669,567,681,690,959,1108,748,440,418,616,1046,1234,1082,777,1060,871,581,526,437,370,365,325,329,424,706,587,414,450,705,713,591,497,392,382,505,454,326,473,655,569,485,283,184,215,260,294,334,472,675,757,610,449,716,540,444,782,910,1198,1654,1496,1396,1362,1038,944,816,896,771,480,436,843,1274,1128,889,770,1028,1200,977,752,675,619,584,500,426,363,383,533,904,983,809,912,862,808,977,824,858,1120,1224,951,915,858,816,688,536,508,496,370,339,279,285,221,206,228,238,214,214,268,323,304,264,331,375,286,243,256,248,251,239,292,376,397,466,540,550,538,880,1166,827,558,562,438,308,262,292,490,411,382,401,454,837,998,566,446,432,425,426,448,483,393,446,510,791,831,924,1070,993,677,719,932,1032,1106,867,926,843,669,975,773,366,332,338,332,329,339,473,704,589,597,680,639,513,471,465,436,441,378,354,364,418,555,512,514,498,491,527,532,491,384,388,368,528,1050,677,503,937,1202,1144,1098,1414,1454,988,952,1076,910,938,1388,1282,1280,1566,1058,607,540,613,788,1046,1210,1094,827,604,557,609,755,939,966,893,681,634,1122,1312,1120,990,1021,1098,886,732,1134,1350,973,1314,1322,1204,959,697,811,938,1424,1288,1021,1005,741,473,482,613,1382,1626,1108,1046,1152,1104,1204,1426,1470,1538,1534,1560,1212,1394,1678,1264,1226,1518,1534,1454,1376,991,502,297,541,942,848,642,519,487,591,755,1034,1186,887,528,367,297,267,229,283,657,779,839,622,593,718,525,376,399,386,321,339,387,527,1082,1232,1128,1230,1398,1166,677,676,766,649,659,639,560,509,398,441,538,500,781,1000,1260,1432,1220,1176,1064,787,662,622,549,383,541,680,680,864,957,574,682,982,684,651,1010,1168,993,1228,850,460,426,428,431,391,591,1074,1212,824,587,401,358,425,508,495,344,289,379,463,543,711,908,1288,1610,1328,822,1154,1444,988,579,879,1314,1432,1304,965,804,625,464,552,1234,1676,1198,1108,977,755,912,1152,809,777,1088,1262,1444,1550,1576,1618,1910,2106,1958,1722,1396,1286,1340,1162,697,615,637,861,1026,857,1023,1140,1438,1412,1470,1628,1244,1134,1386,1013,1122,800,1112,1584,1444,1284,1328,945,678,985,1328,1216,1134,836,576,605,1158,1516,1140,1312,1366,944,640,768,1208,1158,986,1032,845,667,533,797,971,995,1354,1244,924,918,763,592,452,349,333,485,614,681,935,1001,1036,991,744,578,552,545,909,971,1164,1302,1007,933,1040,1009,1342,2364,1936,875,949,1466,1456,1236,1142,1136,1112,1098,810,886,976,1076,1344,1340,1262,1144,974,1084,980,983,1040,1118,774,644,642,734,1288,1428,1140,1414,1600,1432,1532,1400,1452,1340,1078,935,716,747,823,717,849,918,1015,1018,985,1172,914,735,683,866,830,472,338,315,406,572,559,462,352,358,445,465,498,422,381,392,394,375,319,291,356,419,528,561,386,354,395,408,372,409,517,565,526,568,657,671,634,586,658,551,505,451,379,354,364,387,375,379,378,368,375,372,375,389,443,496,572,647,683,735,734,532,459,599,662,631,587,502,527,614,677,974,964,844,1060,1166,1154,1242,1122,956,1110,975,689,613,724,577,858,1196,1200,1086,868,795,846,831,943,1448,1576,1204,806,897,1024,1316,1124,889,1054,1446,1692,1662,1446,1708,1750,1488,1330,945,1298,1000,742,603,610,635,562,735,992,958,1010,1484,1226,1002,874,1164,1138,1080,894,850,1038,913,500,473,497,479,692,930,860,948,753,983,1372,1188,897,639,363,354,399,595,1001,1374,1246,1096,1042,1152,716,380,399,417,409,356,421,657,1070,1070,1190,1310,1174,1048,1026,736,468,365,455,802,887,575,829,822,745,489,692,833,1072,1180,981,1022,1158,919,662,362,545,606,578,380,334,423,716,805,816,783,963,1262,1750,1682,1130,868,694,857,667,422,413,387,609,1090,995,720,990,1332,1092,1148,941,623,389,373,391,459,564,558,551,701,724,663,929,973,1094,1140,1264,1180,987,1046,927,1004,1226,1244,1220,1230,877,582,482,700,722,905,1236,1506,1434,1292,1312,1458,1620,1548,1344,1214,1294,1194,1074,1198,1242,1264,1352,1450,1350,1128,1130,832,693,1066,1336,1648,1426,780,413,508,624,622,692,702,597,728,673,502,419,466,477,780,1150,1672,1802,1188,888,798,755,788,704,623,564,409,407,1458,2430,2354,1494,1204,1578,1410,820,696,800,1108,1154,600,450,597,824,919,1108,1202,1166,1192,1268,1344,1278,1422,1598,1576,1340,849,909,1610,1584,1372,1424,1650,1666,1738,1724,1410,1194,952,763,671,666,683,976,1278,1500,2128,1892,969,869,814,659,451,404,419,476,498,459,451,478,414,369,386,399,412,408,462,548,634,584,514,491,422,365,346,468,721,743,633,444,345,305,295,302,314,336,378,482,639,681,675,770,814,806,620,441,419,567,800,813,513,358,344,420,493,386,576,693,604,438,364,339,354,354,360,339,362,357,330,310,331,372,349,308,368,326,310,319,330,332,332,332,329,323,332,333,329,321,306,314,333,331,311,307,315,305,281,267,272,278,299,292,325,336,328,380,364,332,313,289,324,289,269,276,276,283,282,284,298,293,280,283,287,290,300,296,281,273,288,294,315,319,322,302,339,443,481,376,316,325,328,341,352,352,331,285,294,350,907,1390,904,483,393,383,408,380,408,394,389,374,361,363,370,356,458,634,554,453,407,514,865,1438,1614,1366,840,405,496,679,594,507,780,1376,1462,1712,1216,1202,1034,825,812,764,1004,1194,1178,926,916,1078,1108,1554,1504,1334,1058,596,328,948,1030,863,646,622,940,1058,1150,1402,1648,1348,1246,1332,1252,799,471,468,566,662,585,476,480,515,511,747,1512,1930,1642,752,369,357,400,415,413,433,534,415,420,519,502,526,641,635,387,237,246,249,263,238,224,215,221,235,355,374,361,387,398,364,507,509,456,502,486,439,445,458,526,1062,739,586,670,780,946,1114,1236,1346,1404,1456,1474,1456,1458,1398,1308,1212,1108,979,837,724,622,525,489,468,457,408,389,380,389,433,430,408,439,459,461,437,424,389,398,424,393,374,388,404,418,390,404,418,403,363,381,445,464,492,578,705,861,1042,1118,1216,1360,1394,1432,1474,1334,1252,1194,964,818,691,757,828,909,842,731,753,799,1018,1180,1064,678,531,307,327,363,652,1262,1172,973,745,977,1036,946,1290,988,588,388,458,577,677,842,869,792,609,554,516,488,753,1082,909,444,383,604,708,938,964,556,461,429,408,401,395,333,299,331,355,692,1168,1586,1396,1092,1258,922,1006,1488,1560,1340,1100,1250,1238,747,952,1178,765,434,385,383,314,308,348,320,234,258,274,225,206,253,256,273,251,361,645,1000,904,473,491,632,1470,1142,876,566,963,1384,1306,1354,1172,731,421,432,351,343,425,704,852,938,1034,1166,1104,1110,1268,1376,1110,767,700,963,1278,1226,1256,1004,758,754,746,550,424,331,397,334,263,576,1242,1294,1266,825,649,766,611,521,617,884,1302,1534,1176,575,594,548,412,319,334,427,786,618,439,503,503,638,983,880,589,601,832,741,554,837,1488,1710,1212,909,1110,855,451,365,417,810,1050,1015,1019,858,688,404,307,331,262,271,292,280,286,361,808,922,1218,948,586,412,394,335,285,318,281,355,429,425,414,399,464,703,948,891,701,506,383,417,455,400,399,476,531,529,693,838,1000,1110,1238,1396,1604,1582,1358,1302,1490,1558,1388,1226,1344,1556,1438,841,708,997,1002,618,1098,1570,1284,816,650,911,865,1220,1264,976,752,694,896,1162,1144,1026,1134,861,819,1198,1138,1064,1300,1476,1374,1744,1194,535,428,291,351,372,395,403,413,428,527,549,566,657,706,724,742,901,905,1000,841,612,674,864,1001,1270,864,369,721,948,970,1104,1014,681,562,409,621,549,326,291,283,296,349,720,976,598,791,1017,1036,1246,1074,906,750,645,1098,1156,1094,1184,975,1346,1380,683,574,424,360,322,290,289,291,324,322,297,304,308,290,277,280,290,289,318,310,316,386,519],[1648,1362,957,919,1228,1390,1476,1684,1678,1064,520,672,783,782,772,1292,1392,1040,915,1032,1190,1152,922,606,357,369,483,809,637,422,383,550,996,1088,737,905,1074,709,526,583,788,868,1092,1220,930,1044,1038,984,1106,1356,1308,1184,1202,1430,1352,905,904,934,1148,1250,1324,1370,1120,935,695,716,913,631,479,416,353,450,847,943,766,1036,956,529,399,575,839,1004,1052,880,458,416,636,1000,1112,1196,934,618,451,359,336,381,395,411,349,509,484,584,480,458,523,603,601,504,387,368,387,457,416,375,562,1007,1228,626,237,237,274,303,265,284,406,572,455,479,510,479,391,418,514,601,1046,1778,1682,1142,793,552,461,586,572,509,435,384,441,678,1044,1150,1074,1066,960,882,937,675,521,510,491,431,419,404,529,1196,1614,1380,1284,1170,1040,1276,1338,1400,1346,1162,907,772,694,674,827,761,458,454,278,214,173,151,193,220,204,182,199,204,219,285,311,286,367,550,410,303,272,272,312,341,376,377,516,621,506,453,527,754,1021,1078,618,469,424,261,239,287,344,428,441,403,455,546,515,437,407,398,412,476,480,452,448,459,469,484,651,988,914,1082,665,914,865,1050,1048,863,990,761,456,438,363,353,375,353,324,325,377,570,616,567,651,740,659,532,446,411,419,446,402,377,369,452,501,481,496,442,431,460,532,475,372,358,357,756,931,636,542,488,709,1174,1510,1522,1210,922,1164,1238,1550,1578,1372,1198,1618,1682,1484,1186,706,678,677,555,580,869,629,522,593,691,604,697,791,749,692,810,767,875,841,680,1009,1066,761,597,969,827,1046,1688,1516,1360,1132,828,923,1230,1424,699,684,735,971,836,539,960,1732,1542,1130,1204,995,792,1358,1776,1508,1534,1604,1484,1406,1482,1472,1362,1416,1632,1706,1592,1528,1130,661,447,474,443,525,486,547,623,663,1010,1346,1048,610,677,494,280,261,267,276,460,527,623,657,869,1226,802,408,393,528,522,355,255,536,1007,1294,1144,1190,1400,889,440,393,325,411,700,664,678,483,465,464,388,702,943,1078,1042,1112,1206,1542,1088,813,806,841,709,478,340,434,610,628,555,502,626,929,916,597,664,1034,1236,1036,688,669,482,395,417,395,527,767,878,714,539,405,321,498,576,615,560,432,341,384,530,579,1078,1246,1380,1042,590,542,667,807,740,1082,1426,1478,1440,1172,740,569,517,753,1300,1554,1478,1186,980,846,1018,1294,846,724,966,1026,1378,1438,1406,1190,1382,1918,2026,1932,1866,1648,1384,1302,948,670,697,875,1016,981,985,1102,1256,1362,1454,1362,1160,1028,1202,1322,1072,1092,1448,1428,1362,1232,1026,765,904,1190,1302,1116,941,924,755,531,962,1346,1444,1470,1412,997,715,1172,1412,1088,1144,977,857,853,548,672,897,801,1142,1132,1052,1238,1080,1005,793,625,722,684,647,714,898,1092,738,572,550,644,708,402,545,804,1206,1450,998,898,1170,1152,1292,1576,1376,1182,1198,1258,982,861,652,992,1132,1116,918,757,926,1268,1454,1374,1326,1152,1188,1320,943,948,1278,1224,952,744,798,1232,1522,1296,1262,1600,1009,974,1478,1470,1350,1230,1248,1132,993,1206,954,676,1160,1682,1682,1194,1032,1130,1026,1026,931,628,481,392,368,311,383,597,748,618,461,426,525,484,446,395,352,348,354,349,334,368,413,375,401,411,366,357,379,362,350,389,469,509,542,642,689,689,796,666,536,466,436,422,429,401,365,371,371,350,352,361,356,357,392,434,554,641,684,765,814,838,758,538,408,539,665,655,657,599,586,619,880,1180,1090,1060,1042,929,830,878,975,1102,1092,803,951,912,813,805,1158,1428,1208,964,1094,1023,720,987,1294,1236,1130,1102,1384,1282,1114,1216,1008,683,871,1388,1450,1342,1468,1450,1814,1570,1354,1130,1068,915,588,508,836,943,865,717,618,538,796,941,763,775,930,962,897,891,819,973,1262,817,596,553,454,432,783,957,968,877,686,918,1090,944,675,444,505,661,432,507,932,1388,1274,971,937,718,404,590,567,391,376,455,374,417,666,853,1036,1274,1306,1002,642,406,376,468,456,630,583,406,672,664,697,806,1036,1170,1138,1016,1020,1142,847,714,548,343,661,672,399,324,455,611,604,913,1290,1084,1116,1250,2086,1966,1066,588,521,551,517,399,460,620,936,1386,1126,662,975,1194,1132,1278,1024,543,463,588,499,426,454,467,567,865,1206,838,1130,1252,1338,1440,1180,670,681,906,838,1052,1240,1390,1296,1194,916,916,1070,1314,1162,906,1134,1246,1384,1508,1514,1488,1302,1062,1196,1350,1232,1042,769,868,1274,1374,1346,1288,1338,1478,1396,1032,1007,1070,1019,1068,1158,907,702,705,766,855,601,530,713,997,777,492,345,392,322,463,770,1344,1838,1584,867,643,584,612,556,496,483,485,365,830,1520,1484,1028,1144,1580,1390,1194,826,872,1128,776,582,750,946,1008,1082,1001,1009,1106,1086,1354,1598,1278,1380,1564,1388,1254,1138,1064,1206,1356,1648,1850,1916,1496,1552,1532,1566,1484,1380,1064,720,702,912,1184,1366,1648,1760,1522,1166,1286,1232,678,434,402,388,408,407,375,373,354,371,330,324,361,384,426,374,410,509,545,530,468,375,361,366,414,597,638,521,388,352,332,311,308,306,327,384,470,603,675,680,725,695,623,563,422,343,417,605,692,617,345,282,307,505,653,693,491,401,394,348,334,337,320,296,300,342,334,323,311,332,357,305,303,314,282,280,318,335,311,297,296,311,329,327,321,315,327,329,331,333,315,306,306,309,301,282,270,271,276,282,284,319,326,326,364,363,349,341,302,318,294,290,289,293,296,296,305,309,311,308,304,316,331,340,345,310,303,303,293,332,383,360,293,284,380,487,360,311,334,318,346,362,334,305,291,334,714,1316,1017,466,414,374,372,388,399,442,405,375,374,350,345,381,372,425,587,473,453,438,753,1142,1406,1578,1476,890,412,642,947,798,695,521,781,1286,1338,1284,1236,1023,889,794,1082,1568,1462,1340,1062,1196,1248,1200,1596,1312,1530,1184,556,408,542,993,1066,645,484,629,751,984,1250,1312,1232,1084,1048,1138,842,444,393,404,408,386,434,469,420,441,542,465,330,400,439,422,512,548,422,559,695,758,567,485,424,399,438,475,511,411,310,328,366,313,288,271,275,269,273,328,364,369,401,401,355,357,366,372,455,512,603,688,789,932,1162,1230,1328,1454,1542,1576,1552,1520,1394,1260,1174,1054,949,847,728,602,505,440,426,449,451,383,272,276,284,259,361,405,376,345,361,378,424,448,432,419,354,458,487,437,479,388,342,328,344,329,341,379,350,362,394,417,453,464,444,403,420,464,515,539,617,714,828,1012,1158,1290,1478,1438,1456,1364,1246,1142,955,989,917,830,830,974,1102,1046,930,695,514,587,636,1014,1240,1134,1044,1074,818,745,1086,1282,1388,1116,885,530,421,525,682,938,1001,852,754,691,591,550,474,625,639,753,497,368,374,949,775,452,441,383,390,413,396,285,236,310,456,819,1260,1720,1464,1120,1334,1288,1262,1528,1636,1398,1264,835,1014,1098,1272,1068,601,502,783,710,403,273,291,309,234,292,287,236,226,241,272,280,298,517,895,1160,957,795,971,785,1332,1508,1434,840,845,1094,933,830,892,686,421,432,514,504,601,1013,1186,1058,1078,1172,1138,1134,1230,1268,1124,678,582,896,1302,1312,1306,1216,940,1288,1114,516,386,485,537,345,392,799,1076,1015,1036,678,473,658,775,880,926,731,700,932,941,659,894,804,464,334,330,351,541,507,348,291,263,425,845,660,700,1032,1346,1126,657,786,1130,1046,860,1100,1340,1262,915,415,320,499,597,732,896,845,684,574,520,520,721,664,467,346,280,301,443,500,728,709,600,567,588,522,288,291,281,321,404,446,448,379,360,484,619,640,665,596,468,433,454,422,374,708,1064,987,1170,1158,973,1034,1250,1338,1456,1636,1712,1630,1540,1426,1354,1176,1296,1380,986,1032,1136,1058,1260,1136,1472,1306,1456,847,414,717,1118,1554,1366,814,451,630,1108,1328,1324,1322,1184,926,803,854,952,1076,1340,1270,1524,1718,698,529,473,359,329,330,481,403,407,443,484,649,958,1036,791,597,734,823,843,866,772,821,777,795,1064,1228,717,458,648,694,880,1112,1392,1050,561,594,798,583,423,306,269,262,506,1174,1130,777,979,1200,1182,1322,1274,1078,887,749,676,539,721,1032,1080,1244,1013,673,505,355,334,323,344,332,326,314,273,259,283,308,313,284,250,257,272,308,323,301,332,414],[1806,1214,883,765,804,991,804,710,1156,1262,1017,582,750,977,851,1100,1472,1340,1154,1162,1178,1214,1180,943,562,614,652,1050,810,451,466,696,1144,1084,749,944,1072,1034,1186,1282,1188,1038,875,701,725,781,943,996,995,1280,1082,962,807,986,1044,844,1060,1144,1098,857,907,925,734,861,759,475,491,479,392,293,313,604,988,882,747,927,716,461,363,475,580,508,612,853,684,628,743,885,838,861,781,513,358,361,384,417,576,620,455,514,435,315,377,418,407,455,529,490,375,391,352,422,442,404,532,944,1324,938,451,335,485,537,384,309,459,477,362,344,427,439,399,330,362,843,1414,1406,1262,1050,606,505,422,409,439,442,410,419,457,519,669,940,1154,1130,702,737,903,628,497,480,439,449,517,518,535,966,1410,1336,1194,966,886,966,1118,1076,822,753,762,710,661,568,749,805,374,234,171,173,210,228,224,212,207,204,214,219,221,264,314,360,519,601,622,561,390,304,389,444,450,635,871,645,409,417,460,616,840,1220,879,769,681,401,344,407,490,522,476,520,502,489,503,471,433,386,433,529,509,463,435,473,472,531,626,783,826,841,598,988,1116,1158,1164,917,791,606,503,410,385,373,345,358,354,361,415,583,653,623,674,729,614,447,400,386,377,357,356,377,382,502,511,463,473,428,404,378,406,352,362,317,375,926,817,608,581,501,416,532,803,1178,1290,1256,1488,1550,2112,1824,1044,1128,1696,1482,1232,1366,1108,876,620,541,428,355,459,522,610,705,594,419,614,791,807,1246,1174,895,852,713,1092,881,517,419,589,745,1292,1832,1808,1572,882,609,812,780,918,1000,888,1124,1736,1642,1150,1064,913,866,1104,1128,767,832,1378,1480,1298,1388,1464,1376,1244,1128,986,1014,1800,3096,2338,1472,1204,1172,1056,706,498,465,567,605,629,633,635,1106,1514,1278,1094,861,566,521,586,494,460,619,741,832,996,941,1226,956,802,940,1170,943,453,306,461,958,1308,1208,1186,1158,864,719,639,418,311,408,576,532,356,691,714,476,753,926,914,860,1013,1130,1284,885,536,520,667,864,764,379,517,788,758,553,468,457,764,711,558,547,647,755,548,714,1026,725,591,399,440,661,813,635,465,437,387,442,529,568,884,875,523,398,378,556,514,903,1126,1015,822,509,359,802,1124,1088,1232,968,1116,1412,1116,579,421,451,750,819,1005,1294,1018,603,588,893,1164,897,717,990,872,1346,1388,1314,1348,1590,2008,2154,1968,1850,1620,1642,1628,1532,1220,1102,977,1034,1156,1304,1480,1352,1448,1376,1274,1238,1096,1102,1088,1336,1410,1316,1166,1106,1226,1056,1158,1318,1294,1208,904,752,1196,1124,905,1024,1040,1048,1130,1316,1148,1234,1274,1186,1100,1268,1188,921,877,769,974,1100,946,1168,1344,1294,1052,868,892,897,1066,1174,1054,836,753,1122,1160,666,601,648,354,414,493,595,888,1180,1170,857,942,1130,1198,1170,1234,1392,1242,1214,1232,1194,1032,813,1072,1306,1516,1046,540,520,814,1322,1390,1326,1222,1248,1250,959,844,1094,988,862,869,968,1284,1626,1354,1034,1180,980,1306,1302,1454,1394,1316,1264,1142,1444,1388,783,866,1120,1216,1328,1048,933,1098,1028,1114,1021,781,550,436,395,331,316,435,718,572,477,457,472,337,351,401,359,333,343,347,378,516,522,394,357,391,378,320,377,364,331,399,430,444,494,535,555,475,612,662,528,460,460,459,435,379,352,354,373,415,362,373,374,417,415,435,558,672,750,808,886,894,792,553,362,392,592,584,604,601,609,636,866,1060,1234,1346,997,1042,823,678,662,797,789,1110,1332,1230,1098,1072,1140,1342,1070,789,822,769,526,878,813,733,923,783,1026,1278,1162,970,1028,1013,824,1156,1270,1672,1692,1396,1742,1760,1618,1272,1180,1280,1007,824,987,942,1052,797,527,585,866,773,762,976,1052,854,672,825,1086,1238,1166,820,688,553,460,340,405,378,318,328,415,472,521,595,611,482,775,852,492,587,792,1042,1146,903,729,822,828,1019,789,465,645,926,708,503,743,964,1036,1242,1254,959,547,420,310,356,416,348,357,403,525,695,882,856,653,614,896,1004,1088,929,700,687,506,337,337,334,325,543,926,800,470,725,1262,1078,1068,1032,1404,1332,1019,684,422,390,381,354,491,764,1040,1178,848,658,955,1112,1202,1466,1316,634,559,956,838,495,439,707,1013,1610,1626,827,655,918,1466,1672,1240,900,652,610,544,794,1236,1592,1236,1021,1044,1268,1396,1360,1356,1074,985,837,1306,1454,1198,856,990,1172,1128,1054,938,676,553,902,1358,1340,1242,1290,1406,1606,1446,1244,1274,995,641,680,739,747,1116,855,818,896,622,594,751,875,822,627,567,608,417,482,885,1376,1696,1874,879,519,504,497,514,558,583,587,442,426,673,736,843,1402,1362,965,1064,1126,1192,1068,718,666,965,1220,805,775,949,1116,1106,990,1412,1506,1544,1488,1440,1424,1338,1252,1150,954,1258,1428,1282,1688,1526,1294,1172,1348,1594,1688,1592,1316,1168,1338,1464,1416,1500,1472,1464,1432,1816,1570,866,458,357,352,332,323,335,334,305,375,353,312,332,348,363,350,368,485,531,531,539,619,522,424,348,382,396,332,300,312,311,305,304,306,334,352,423,536,644,686,680,656,585,477,400,349,361,425,454,359,335,375,468,648,572,418,342,399,415,344,321,321,335,339,306,318,325,322,321,324,346,337,320,307,302,308,323,322,313,319,332,332,312,295,296,282,320,360,341,327,306,311,313,302,290,290,283,271,269,277,295,321,329,318,332,330,359,375,336,326,310,307,309,307,302,305,312,317,315,313,321,355,372,369,362,331,321,303,291,335,372,343,285,276,301,312,288,278,328,339,339,318,299,311,323,617,1218,1040,530,365,385,382,342,344,358,380,365,360,397,396,401,411,385,368,552,477,473,602,916,1064,1016,1168,1344,1036,613,608,643,880,1084,648,597,977,899,1180,1252,895,802,901,1378,1598,1288,1396,1122,1180,916,1090,1140,891,923,772,526,447,395,714,666,447,437,788,818,779,1016,1274,1374,1118,1100,1482,1268,841,522,528,483,408,373,415,397,410,412,414,550,639,753,861,921,750,447,460,622,761,745,609,469,468,547,620,565,485,459,457,506,417,396,362,343,350,357,382,389,359,380,458,571,722,854,959,1100,1212,1330,1396,1470,1520,1512,1542,1508,1358,1204,1076,953,852,742,647,555,468,418,400,379,381,418,419,421,426,426,404,262,262,274,271,343,440,498,464,372,381,448,499,597,553,457,595,564,530,513,414,324,322,340,300,316,332,309,311,318,413,484,492,423,355,353,362,403,432,443,421,416,479,602,666,852,1080,1206,1346,1478,1478,1462,1322,1174,987,800,921,863,724,747,742,602,780,1030,1302,1062,912,1158,1150,752,1008,1378,1550,1236,1110,1360,854,488,566,899,1106,1156,1400,1206,575,670,572,356,323,422,702,530,363,663,1015,714,555,435,418,351,373,383,373,362,441,594,892,1414,1650,1224,1122,1354,1324,1164,1188,943,1200,1015,550,457,951,1188,1086,739,870,1138,1034,605,295,278,443,366,287,287,264,248,260,278,264,296,578,1140,1302,1118,900,1188,1110,1118,1376,1406,960,867,1122,710,716,848,731,626,480,499,905,1224,1382,1210,793,849,1082,1260,1252,1272,1326,1200,700,817,828,1114,1198,1210,1038,963,1210,989,382,399,698,800,532,409,554,705,949,797,546,483,409,511,975,1058,740,700,895,735,580,746,602,395,272,281,318,344,328,269,221,232,333,496,747,1060,1236,1304,901,514,729,756,544,568,819,1422,1666,1198,574,417,566,1110,1088,517,576,761,1040,1162,1118,1440,921,561,458,320,311,591,764,725,591,779,1080,868,622,425,447,367,449,480,575,611,641,576,473,526,508,689,506,319,338,401,510,480,767,1138,1284,1344,1134,908,976,1334,1194,1264,1548,1814,1698,1408,1454,1662,1210,1100,1011,936,1636,1704,1532,1664,1532,1452,1504,1544,814,391,496,877,1184,1136,691,434,585,979,1208,1262,1248,1252,1090,861,798,788,806,880,1104,1756,1466,772,598,580,426,297,310,346,454,490,470,722,936,1040,1100,949,675,808,919,957,893,788,690,702,735,813,722,531,728,1054,741,1098,1134,1380,1362,734,486,403,331,348,281,304,269,350,539,667,791,927,946,1058,1260,1170,846,648,626,752,852,854,875,1106,981,842,1136,847,419,389,366,396,395,367,321,300,273,276,285,283,254,269,286,273,265,278,271,282,310],[1482,1144,858,883,764,520,419,435,572,802,1296,1122,963,918,1023,1324,1450,1484,1596,1470,1342,923,1144,826,825,914,776,1064,1144,965,819,845,1060,1036,998,1032,925,821,655,514,386,505,568,498,633,729,865,1016,1044,1318,809,821,695,719,756,1068,1314,1274,1252,907,714,687,620,604,455,416,428,391,339,448,767,1106,1520,1272,802,702,472,567,422,398,465,538,639,820,832,662,750,960,747,722,847,728,585,1070,1116,540,557,632,494,464,524,567,572,392,348,416,473,449,364,351,328,398,501,425,484,792,1074,846,515,447,832,1080,918,504,424,379,334,313,330,316,316,321,418,790,1278,1392,1248,741,536,429,394,385,455,440,358,388,443,470,477,487,648,888,820,710,706,534,466,422,414,466,501,603,910,1008,862,726,651,753,896,945,1070,891,533,605,710,613,645,488,422,358,209,165,187,223,243,243,231,220,213,202,208,228,245,272,303,337,566,676,713,758,619,524,574,466,375,506,542,452,404,448,429,494,694,1068,1086,855,724,589,495,492,479,494,445,434,502,616,570,471,443,403,435,489,484,472,437,563,588,686,781,882,1021,1074,1452,1864,1926,2206,2080,1660,1566,1290,913,468,387,395,383,418,408,392,419,510,590,597,581,584,511,454,390,357,356,361,359,372,378,438,496,471,414,418,393,344,337,339,333,334,581,1034,973,648,501,456,388,458,511,572,988,1256,1672,2116,2018,1454,744,495,766,1152,1092,761,1042,947,556,449,404,477,620,618,730,826,744,625,706,1028,637,818,1080,1446,1028,661,848,811,644,469,539,777,1042,1306,1296,1062,912,944,1084,869,586,869,1266,1528,1714,1388,890,694,611,1158,892,852,625,783,1272,1698,1600,1338,1242,1184,1216,894,603,505,781,1512,1678,1366,1226,1388,1072,586,463,388,388,415,348,424,463,648,1192,1466,1308,924,904,911,966,1056,1140,1104,1168,1160,1106,599,604,1052,1794,1710,1428,1038,612,474,694,1214,1318,1252,1394,1158,1092,1200,919,458,319,271,332,373,648,1048,766,872,596,788,697,777,877,654,922,858,457,380,613,931,775,402,762,807,763,519,394,324,457,692,836,709,709,943,808,541,546,883,999,615,621,794,698,482,373,351,455,845,1048,605,838,1130,855,539,415,375,635,1246,1358,1216,1258,957,649,790,1266,1160,955,573,680,1304,1098,870,720,692,901,899,796,1040,977,846,1144,821,1328,1354,1096,825,689,975,1148,1448,1606,1548,1942,2118,2004,1924,1912,1778,1754,1570,1340,1262,1214,1238,1304,1422,1564,1856,2872,1648,1180,1538,1430,1244,827,1002,1216,1012,974,1182,1444,1220,1384,1192,1186,1040,768,698,1009,1118,1128,1096,1122,1064,1052,1220,1130,1232,1594,1494,865,829,1302,1036,830,844,818,966,1064,1188,1228,1404,692,487,560,708,1007,1064,1150,1202,1114,788,794,719,579,448,362,565,620,656,647,915,1208,1332,1144,1164,1312,1102,1166,1314,1306,1356,1148,1036,890,1000,1102,1180,1090,528,357,424,902,1430,1160,1244,1322,1360,1500,1234,959,1292,1372,988,888,1038,1294,1478,1130,869,822,913,1286,1332,1316,1282,1282,970,995,1892,1400,1082,1052,778,808,841,779,700,759,954,1174,1150,1036,616,479,402,370,373,399,518,428,348,450,446,350,401,435,399,339,335,420,551,635,476,363,323,387,432,403,407,350,352,408,411,465,488,524,499,462,529,514,457,481,466,426,407,368,368,391,400,431,389,406,415,415,365,371,415,460,509,583,731,782,758,560,366,357,437,451,576,584,578,694,888,1174,1212,1106,758,1124,822,488,819,1098,1168,1148,1102,1044,829,995,922,1226,1306,885,672,541,369,416,416,605,971,987,631,984,1316,1062,1294,1498,1140,1108,1116,1328,1062,1068,1564,1802,1562,1394,1348,1050,863,731,1088,1046,1196,838,500,545,757,781,810,1023,1116,778,848,884,995,1184,1024,977,1038,1054,875,424,302,325,278,397,709,639,479,603,676,562,646,505,343,537,701,714,1028,929,763,1005,1126,1092,1034,1015,1170,1324,1090,1014,991,737,908,959,1130,1290,772,643,600,1180,1166,680,440,407,440,585,787,856,866,677,601,779,739,449,607,763,682,438,368,454,477,548,505,489,602,787,963,853,912,1078,1158,1194,1198,1220,1178,571,423,504,646,506,655,1084,1250,975,807,898,1076,1058,1110,761,531,781,1030,781,749,987,1078,1296,948,426,418,702,1176,1380,1158,687,380,443,457,580,921,1466,1294,838,576,912,1430,1638,1162,798,799,1094,1422,1362,807,585,905,1030,926,724,600,505,625,1124,1520,1478,1274,1400,1458,1462,1150,1038,1094,699,441,435,338,519,1021,720,595,665,698,941,1136,870,761,992,972,878,495,516,899,1356,1440,1580,877,456,495,521,474,462,534,559,448,448,407,780,1114,982,837,605,597,759,943,922,549,475,952,1566,1288,1054,1252,1434,1266,869,991,1382,1482,1322,1424,1696,1496,1354,1148,820,940,812,933,1362,1310,1196,1168,1242,1406,1398,1416,1510,1768,1784,1800,1454,1312,1730,1638,1584,1696,1516,1056,493,346,359,375,322,314,320,332,399,376,324,364,394,380,369,365,439,506,567,539,639,567,397,357,428,424,352,336,344,326,318,305,289,344,380,449,533,555,684,752,719,648,493,454,403,347,322,404,432,515,464,408,425,397,376,398,405,404,308,285,300,332,361,313,309,322,312,322,352,355,350,320,302,303,308,302,296,302,305,297,281,275,274,276,279,301,324,325,310,296,305,314,321,335,320,297,291,279,282,304,323,326,302,323,314,344,382,382,365,328,330,343,312,297,305,315,321,314,310,319,337,383,368,336,341,345,323,317,337,359,346,284,254,265,273,286,267,307,340,331,303,322,312,547,1236,1220,563,372,354,334,326,320,320,327,340,357,363,356,382,419,446,411,396,579,519,519,887,1118,1108,1042,1084,1256,1056,711,956,1128,1388,1240,807,927,1200,1192,1108,1028,1216,1226,1226,1676,1220,1376,1794,1560,1188,1740,1714,1084,969,861,797,548,428,456,512,482,491,670,1052,1064,899,761,878,961,921,1162,1550,1334,1008,796,668,547,430,389,453,576,652,684,804,866,850,877,937,1010,974,882,809,926,1050,1060,920,668,753,1007,966,778,648,698,675,639,633,581,494,466,487,566,706,855,1012,1164,1294,1368,1440,1470,1512,1504,1460,1432,1350,1252,1200,1224,1270,790,584,537,502,509,479,446,430,406,408,415,374,346,320,316,303,298,287,319,289,212,222,276,310,343,442,487,485,400,421,448,603,648,533,524,583,559,477,386,361,345,365,350,338,342,350,315,315,306,444,615,673,523,448,509,370,347,357,375,377,393,412,455,421,590,570,586,818,973,1240,1378,1450,1544,1452,1302,1086,901,720,720,887,1156,1138,1266,1192,934,1312,1336,1130,1158,1354,1402,1598,1156,1106,1098,925,724,849,1314,1070,1244,2006,1384,561,788,526,322,299,477,854,936,735,1050,1007,684,516,430,441,416,425,419,445,539,628,681,888,1272,1446,1220,1272,1316,1322,1050,703,515,499,409,399,532,691,1022,1360,1200,1208,1028,889,667,504,329,614,511,316,287,245,212,245,305,292,328,742,1246,1460,1392,881,1058,1210,1194,1246,1288,1138,1084,1058,774,998,697,409,426,420,722,1126,1172,1244,1068,904,1112,1150,1228,1160,1030,1310,1148,950,869,919,1136,1224,1340,1198,832,785,841,607,514,990,836,554,642,765,641,427,406,443,469,413,437,767,1086,1134,1110,1136,720,491,482,573,518,251,264,323,296,348,318,326,275,280,263,677,1064,1094,1052,912,832,774,421,395,430,621,1128,1502,1162,677,539,943,1824,1352,518,686,839,805,778,1076,940,791,916,747,556,492,660,1186,1014,795,852,869,955,644,549,579,585,678,770,901,872,959,998,420,364,321,412,404,275,297,481,562,568,767,1118,1364,1296,1086,982,973,1302,1318,1102,1488,1598,1360,1506,2100,1836,890,805,923,1464,1754,1744,1842,1682,1376,875,1160,1300,1005,728,593,626,611,753,556,423,464,536,796,935,1042,1152,1160,1238,1176,897,765,595,595,1278,1578,1826,1570,899,440,353,325,284,286,389,728,1048,1120,1003,1054,1288,1178,1032,1250,1410,1406,1146,634,394,463,622,546,538,730,1040,900,912,882,1186,1502,1232,650,309,298,276,305,401,338,486,521,677,833,841,915,1200,1372,1092,653,550,628,912,1196,1160,783,1106,1056,788,996,894,479,517,419,453,496,433,376,321,294,284,262,249,297,343,311,302,255,247,261,267,287],[1260,1013,908,1198,924,531,381,473,615,773,926,1116,1388,1204,1110,1632,1688,1698,1592,1626,1516,869,1294,938,816,914,951,1050,954,763,674,686,676,607,518,394,394,385,381,408,422,562,615,511,666,944,827,533,603,1142,634,488,501,706,960,1007,840,1020,1316,965,789,869,984,934,615,429,434,435,361,428,593,1001,1550,1426,822,636,775,988,584,363,511,684,646,607,664,521,625,1092,744,662,695,568,636,1708,1810,789,495,660,730,839,752,750,735,631,423,429,542,562,443,369,297,852,993,526,474,416,425,235,220,391,553,718,821,619,369,290,309,321,314,337,477,655,1194,1116,1302,1596,1172,529,404,398,402,428,465,372,314,359,389,450,466,519,503,510,661,912,830,590,457,433,441,488,638,957,919,746,924,644,350,605,811,688,691,747,447,493,747,606,517,366,221,191,192,214,230,232,241,243,243,240,228,218,224,236,254,263,289,409,653,664,616,657,648,698,684,518,365,391,405,393,386,423,436,501,457,689,1114,1056,736,615,500,415,414,456,401,371,381,412,409,440,473,454,461,439,483,504,546,829,841,827,744,705,775,1138,2004,2508,2406,2812,2684,2200,1964,1736,1172,720,547,424,430,401,387,391,460,543,589,518,502,449,439,434,394,359,377,398,369,370,394,392,430,398,361,369,389,389,368,341,303,334,807,1376,1005,519,449,402,408,511,533,524,500,613,856,1312,1658,1302,620,473,714,1518,1832,1536,1154,796,662,641,539,530,576,624,716,752,1040,1012,1158,1600,919,675,982,1196,654,422,393,470,576,631,725,816,866,1058,1384,1020,1122,1138,1208,884,532,1180,1782,1102,808,624,474,396,495,1096,618,571,796,709,719,965,1206,1264,986,680,1010,679,755,551,608,1056,1140,1272,1404,1132,659,437,402,367,378,395,309,362,476,589,882,1152,948,739,760,880,1006,982,852,1094,1464,1130,709,423,410,700,1192,1466,1278,1064,969,761,894,1082,1212,1366,1152,887,823,951,706,396,340,291,301,325,718,988,796,1338,1084,739,698,615,494,481,844,1134,713,536,995,935,508,365,937,866,608,450,369,430,563,673,796,825,854,1174,1058,830,644,1130,1660,1312,805,694,502,407,375,390,611,847,781,613,580,752,744,760,907,719,949,1372,1142,1186,1444,1306,834,786,1168,789,545,863,1218,1336,1200,1176,1342,1316,1168,1026,863,786,1028,1220,1396,1312,1490,1444,1216,883,963,829,736,1168,1506,1450,1458,1736,1974,2082,2122,2046,1896,1758,1576,1496,1500,1334,1338,1526,1382,1720,2258,1630,1516,1836,1710,1546,1516,1448,1380,1198,1454,1318,1058,1100,1406,1484,1194,822,681,672,780,933,1164,1408,1282,993,1060,998,1296,1500,2376,1556,535,448,523,683,1004,1132,855,859,1154,1206,921,782,516,463,671,1062,1064,1060,1248,1250,1268,1046,823,981,621,441,468,600,635,591,689,945,1258,1394,1023,1230,1462,1130,1266,1310,1484,1336,1064,1102,1164,1170,1290,1260,780,477,443,467,731,847,941,1070,1038,1262,1486,1318,1366,1344,1046,977,982,1104,1400,1218,831,772,841,1074,1332,1350,1322,1518,1042,662,684,1021,748,885,980,808,1012,918,750,869,922,772,847,883,703,443,393,482,505,502,768,959,647,413,360,359,338,396,394,345,313,325,532,661,505,344,341,351,372,355,335,392,383,379,374,426,446,462,483,453,469,523,475,444,439,396,359,388,348,293,388,544,524,465,439,392,378,365,333,330,350,358,394,559,700,733,535,387,400,460,512,535,675,1001,962,769,641,759,829,812,1001,947,802,952,1005,1104,1072,926,966,920,1122,874,875,1010,659,378,301,305,349,575,645,771,1060,878,1274,1368,1360,1322,1064,893,1074,797,711,948,1052,1346,1688,1442,1382,1034,600,799,755,850,1088,1294,1128,714,523,638,819,882,1220,1252,1048,1230,1084,748,942,1104,1468,1562,1428,1292,668,370,334,301,467,757,463,350,596,619,511,422,330,337,588,868,872,1388,968,791,1013,1128,1080,908,1140,1274,1058,1138,1476,1406,824,969,865,1070,1100,869,859,996,1068,954,885,519,453,444,502,888,1098,1246,1152,717,563,463,411,502,764,974,841,712,667,634,695,783,948,1086,1214,896,652,912,1070,1150,1166,1210,1462,1568,738,481,885,923,656,684,1144,1380,1003,643,859,1072,756,777,933,1124,1128,1056,833,884,829,527,444,433,462,522,673,1050,1019,774,568,357,422,519,525,795,921,739,559,470,751,1246,1536,1015,744,1078,1212,1150,1378,1330,1106,775,634,760,626,444,392,637,1148,1592,1498,1206,1200,1338,1348,1196,1130,1086,601,389,362,315,364,610,540,443,657,970,1108,1212,1144,1290,1452,1072,769,416,644,1506,1824,1626,1506,996,609,636,592,478,400,415,364,324,405,376,1030,921,470,498,432,460,533,583,650,530,470,645,946,1252,1021,1068,1396,1412,1126,1168,1376,1494,1692,1530,1530,1362,1340,1054,875,722,590,927,1198,1166,1056,757,777,1332,1394,1302,1310,1594,1616,1760,1594,1480,1552,1736,2050,1694,1606,1090,504,354,342,360,291,280,301,317,367,383,341,341,369,362,369,374,407,573,623,565,543,478,403,406,433,400,387,492,420,318,317,305,288,365,514,602,542,512,639,738,781,749,509,505,471,340,312,506,568,456,364,333,317,333,361,367,360,421,322,286,301,311,326,320,316,328,316,318,357,351,346,306,309,297,292,285,281,286,295,294,287,280,270,269,284,303,303,313,305,297,301,315,318,303,291,301,302,294,298,311,320,336,326,334,300,307,342,342,318,320,350,376,347,314,312,310,297,292,308,323,401,426,329,317,358,368,334,305,301,300,304,296,260,274,307,294,282,288,306,331,307,320,492,974,1196,607,345,332,360,347,325,333,339,336,340,369,365,378,392,368,410,425,404,597,636,514,859,1042,1138,964,1022,878,630,663,1146,1212,1104,910,919,1184,1288,1260,836,1078,1358,1526,1472,1478,1206,1324,1850,1850,1460,1116,775,883,880,860,642,442,383,366,349,433,610,879,952,1232,1310,828,612,632,735,778,830,753,650,584,541,463,426,516,767,973,1056,1108,1178,1164,1092,750,805,1162,1214,1082,1074,1166,1136,1130,1005,896,1094,1144,875,764,747,881,861,838,881,913,1012,1136,1288,1396,1494,1572,1626,1586,1516,1454,1362,1224,1090,988,915,842,744,709,701,899,1238,572,471,465,404,424,462,423,390,354,261,236,237,252,257,265,257,262,250,290,328,301,272,366,440,348,315,344,445,438,465,540,702,681,557,477,441,423,409,363,409,404,386,344,328,419,441,423,397,330,439,714,772,582,641,691,419,333,310,286,380,382,404,477,504,529,534,534,498,548,756,850,1054,1260,1466,1556,1594,1410,1302,1204,1306,1406,1218,1268,1152,1026,1758,1640,1820,1548,1310,1200,1074,1112,1146,1052,1262,1062,1160,1488,951,1228,1084,529,434,508,375,308,275,389,846,1226,1282,1226,684,667,563,527,607,731,712,764,873,935,1020,854,922,1076,1434,1298,1018,1272,1302,985,637,499,480,529,416,483,586,714,954,1282,1148,1048,751,938,1062,664,393,317,300,249,266,264,255,299,297,373,919,1284,1394,1454,1244,990,971,1204,1298,1242,939,753,947,1154,939,416,286,267,335,752,1170,1118,726,780,854,1090,1086,840,661,665,877,948,1001,1019,1208,1168,1256,1490,1466,1056,860,1114,1118,791,910,916,625,529,927,959,508,523,536,475,404,364,599,832,919,944,918,1030,864,631,487,467,326,365,395,372,430,307,390,433,402,321,584,988,998,857,782,661,737,489,376,412,499,558,1005,1110,769,675,891,1462,968,601,730,792,520,442,732,730,1198,1882,1480,1005,816,527,621,717,1042,937,786,969,1088,843,698,921,943,1048,1132,1302,1032,993,811,803,549,348,308,335,400,521,685,739,709,850,1208,1028,1011,1176,1224,1402,1410,1334,1442,1432,1532,1790,1810,1306,1426,1654,1638,1954,1952,1798,1688,1450,1220,1026,982,755,835,852,1028,988,774,683,561,458,533,473,824,971,785,781,844,1154,1164,789,720,570,444,483,1034,1572,1330,835,608,416,302,355,341,585,1116,1090,1136,1268,1432,1508,1338,1296,1554,1666,1482,1070,846,744,620,657,550,578,655,617,554,537,548,771,1168,1426,1054,399,357,295,316,346,376,483,628,722,819,1150,1214,1086,1074,898,862,868,941,1108,1270,1300,1052,950,842,763,979,1236,829,688,586,505,624,523,434,425,363,294,262,272,305,305,267,266,214,267,277,263,270],[1362,831,557,708,764,457,274,759,1194,1124,775,648,1162,1564,1526,1808,1502,1278,1470,1714,1606,1400,1294,851,581,591,524,422,414,420,428,413,437,405,403,455,506,514,485,411,355,418,423,423,576,845,607,414,594,778,712,535,448,617,659,580,650,766,1050,1288,1372,1122,1052,916,554,441,493,508,419,379,370,575,1032,1198,768,625,739,891,633,462,471,532,479,350,524,656,743,1004,514,435,428,534,899,1230,1176,893,957,1216,1362,865,499,476,398,442,432,433,515,573,442,370,310,442,479,526,503,424,287,237,243,348,656,523,481,568,372,241,236,291,337,338,376,742,1490,1290,1722,1812,980,516,455,408,415,500,502,322,314,327,387,450,469,487,477,442,453,550,698,758,643,487,505,535,821,645,449,579,882,664,447,492,468,329,391,561,453,447,567,486,368,248,206,210,222,239,230,229,238,244,244,240,226,217,226,247,251,281,282,399,590,604,623,608,563,662,663,550,474,440,514,444,375,372,357,420,456,571,884,1164,711,449,386,373,383,386,376,357,346,358,435,593,665,627,537,473,453,507,780,921,874,897,800,730,910,1556,1982,2282,2208,2610,2408,2092,2072,1798,1268,988,741,611,653,497,417,415,454,455,444,480,442,391,390,397,395,343,340,362,336,382,437,375,365,368,342,480,505,462,583,523,384,489,1044,1228,725,456,395,415,469,496,473,463,484,474,444,623,1019,889,769,638,980,1504,1848,1782,1072,568,466,593,605,438,469,581,528,664,1226,1316,1272,1258,1168,1032,1270,1134,497,438,369,377,509,861,921,984,963,1038,1290,1258,1312,1132,970,950,990,1664,1522,933,623,495,387,429,505,589,594,834,890,665,515,496,783,1016,673,388,518,415,541,486,638,1144,1174,968,904,819,590,422,380,410,448,402,392,479,590,772,1074,1210,790,763,1010,1164,976,971,919,1132,1216,1062,868,559,379,528,979,1450,1176,1234,1168,1000,1060,847,1108,1298,1080,854,674,590,400,341,394,369,367,306,262,442,786,1052,1098,1050,790,465,392,488,650,1216,1396,1044,1388,1134,572,433,1056,927,515,433,598,713,650,631,941,1102,894,766,607,605,785,1196,1462,1023,772,871,615,384,361,473,531,669,572,542,588,580,645,839,858,753,903,1096,1138,1302,1334,1074,882,1000,1184,911,651,1234,1448,952,775,970,1438,1412,1354,1090,1260,1130,1296,1140,1144,1332,1216,1224,1126,771,833,454,523,1228,1466,1454,1438,1560,1952,2130,1976,1812,1800,1886,1736,1522,1404,1348,1552,1470,1396,1534,1664,1596,1444,1538,1506,1444,1498,1340,1316,1494,1844,1224,902,1250,1354,1176,875,604,635,709,704,917,1076,1318,1142,860,648,648,907,1144,1024,591,804,972,875,822,954,1052,958,793,1158,1428,1152,725,481,597,827,754,766,1482,1288,1402,1448,1080,956,845,515,377,484,541,623,830,924,614,854,1174,1254,1138,1404,1444,1538,1332,1162,1044,960,1316,1314,1084,1116,1116,879,727,938,1058,824,998,1272,1062,868,932,977,1290,1712,1620,1442,1332,1278,1456,1272,1060,885,810,1030,1356,1528,1300,1296,1356,681,417,491,818,975,1104,1064,1054,983,922,839,1026,780,604,667,548,420,390,529,578,613,854,1360,1250,763,582,425,402,332,354,348,315,354,332,437,468,389,378,425,429,410,352,333,337,420,415,408,398,406,441,486,495,531,558,509,496,464,358,339,368,341,318,379,458,455,427,372,347,361,356,330,327,364,364,347,527,735,758,524,357,393,428,459,579,871,1134,844,513,590,714,1008,917,612,1002,1212,712,552,850,868,804,658,655,592,513,588,499,340,300,473,675,422,436,547,840,1274,1044,1362,1366,1376,1388,1062,875,780,422,379,571,800,1124,1568,1456,1158,1003,855,1064,1046,1046,981,941,933,609,796,1236,1064,735,844,958,1226,1316,1146,902,1208,1628,1744,1432,1158,1098,654,336,338,397,372,516,465,370,475,526,375,368,370,396,533,705,812,1116,758,855,1328,1476,1120,742,908,1076,933,1188,1678,1926,1180,1001,1026,1054,719,786,957,918,741,809,987,683,455,451,516,922,1150,1060,735,517,432,386,402,443,684,1154,1160,1134,763,875,1126,1005,1042,1198,1428,1372,877,761,651,713,852,1306,1012,1094,1054,1056,1100,926,925,990,1110,1142,924,882,1114,1150,1256,1380,1276,1116,1090,986,994,982,561,420,425,387,399,462,632,874,581,470,501,590,921,921,652,783,761,783,1015,855,855,1160,1418,1388,1290,1094,734,749,1104,1194,1023,464,383,567,558,731,912,1148,1258,1246,1224,1146,1042,1332,1254,1062,1196,1312,822,405,352,400,361,443,424,505,1010,1384,1320,1236,1098,1338,1274,1070,1108,640,736,1440,1788,1816,1432,907,788,728,542,419,309,266,233,282,339,304,511,536,432,406,344,371,451,477,460,702,526,391,464,661,498,467,786,1174,1432,1488,1490,1598,1696,1508,1414,1390,1576,1048,531,495,477,566,736,903,745,549,555,1064,1202,1148,1300,1490,1382,1504,1654,1786,1692,1750,1848,1542,1672,1154,612,404,439,434,358,309,292,314,353,375,342,326,339,324,365,363,339,382,517,623,636,607,538,514,413,325,334,637,667,517,347,303,309,334,549,738,590,488,619,738,667,595,400,390,353,311,456,521,393,341,314,307,288,303,300,306,328,387,353,329,318,301,295,313,334,336,332,328,345,344,340,289,295,293,280,276,285,299,302,302,293,281,278,277,288,302,305,304,302,302,313,323,321,308,296,302,306,300,308,314,324,307,302,305,312,328,312,314,318,331,336,366,348,306,303,309,297,288,309,315,345,343,327,365,404,426,413,370,298,280,305,297,280,282,280,275,290,292,303,295,310,454,1094,1152,556,332,342,333,342,346,350,359,366,364,357,363,383,402,407,393,383,419,409,559,791,500,589,805,880,738,657,781,731,787,1102,1138,953,738,1076,1586,1056,749,648,1230,1330,1440,1368,1332,1544,1754,1732,1718,1592,881,501,390,646,763,583,437,371,326,328,305,555,808,786,838,664,554,438,415,508,483,441,457,476,513,508,474,609,921,1098,1134,1144,1228,1140,1114,1048,745,805,1080,1036,871,838,897,808,734,664,735,803,887,957,1050,1122,1198,1302,1404,1488,1540,1572,1578,1572,1508,1376,1246,1140,976,912,930,916,867,722,654,701,977,1186,1088,894,1028,976,688,533,343,284,299,291,231,245,285,217,217,220,231,241,245,254,253,233,272,326,288,322,465,400,372,403,404,520,617,587,526,534,502,393,373,404,371,421,447,505,477,452,375,314,482,697,663,455,392,446,655,677,538,658,612,472,396,368,376,466,417,366,514,587,455,478,573,588,614,688,777,745,839,974,1194,1408,1512,1614,1542,1410,1110,970,1004,898,922,1184,1656,2072,1706,1350,1224,1040,1206,1110,1100,984,924,855,792,948,991,627,494,500,496,366,295,318,339,611,1184,1404,891,824,875,891,845,897,1066,1182,1438,1408,1278,1360,1182,1416,1372,1538,1224,1004,1794,1772,1298,1450,1162,647,663,490,463,403,451,609,760,1154,1068,776,920,1076,962,715,468,391,296,399,424,342,294,257,301,789,1418,1320,871,847,893,1178,1416,1274,989,695,510,539,624,493,548,655,389,297,335,507,562,496,755,996,1350,1208,644,524,594,515,815,1188,1388,1640,1440,1444,1380,1024,615,959,1260,1346,1102,655,622,620,717,855,502,406,394,476,464,418,386,561,742,1052,1013,736,792,667,477,339,283,280,403,447,445,462,356,324,535,600,308,516,1084,1214,995,668,811,902,587,480,566,739,728,921,1286,1078,1108,834,864,778,576,446,680,956,959,902,833,1464,1986,1296,935,941,573,438,727,809,1078,1418,1300,1208,933,944,1034,845,949,952,1268,991,1262,1570,1328,856,814,752,505,447,535,636,665,623,641,1148,1422,1492,1272,1282,1502,1528,1474,1352,1506,1742,1626,1080,1370,1418,1484,1704,2020,1878,1648,1396,1460,1498,1224,875,539,561,691,1060,1282,1012,652,537,623,582,448,686,854,680,479,434,536,545,463,545,478,452,541,844,964,1114,1438,1376,572,636,735,670,672,979,1204,1266,1322,1340,1270,1156,993,1102,1274,1226,1120,1052,1108,912,858,651,715,641,375,375,388,372,691,765,1160,1120,651,605,632,608,466,407,597,806,957,1114,1406,1778,1252,864,718,965,1116,1150,1146,1248,1292,1172,1082,981,958,1098,1164,1026,655,557,673,868,710,500,490,397,290,269,269,289,286,251,237,239,284,280,257,270],[790,591,606,675,765,727,496,822,1282,976,608,755,1082,1340,1482,1830,1732,1792,1892,1746,1402,823,406,347,368,529,464,361,404,386,400,430,442,410,391,445,502,464,424,392,356,343,319,382,451,426,312,359,411,670,973,719,457,573,559,881,1104,1312,1188,1312,1220,888,861,724,552,599,881,944,520,369,396,473,700,804,861,1180,1042,664,473,415,403,436,496,664,995,1038,1178,1054,538,433,481,686,1020,1216,1048,742,1021,1062,1028,586,383,386,561,757,641,480,447,480,450,361,398,421,367,412,443,447,382,314,266,279,375,350,477,534,406,284,237,330,532,434,365,318,641,886,1198,878,505,545,487,420,418,487,430,301,289,335,425,470,466,471,454,445,422,476,471,495,566,753,647,625,617,410,390,495,571,499,485,490,389,339,409,458,433,418,354,267,195,188,210,223,234,239,239,232,237,241,238,235,221,217,225,248,258,291,322,390,495,614,711,702,596,598,545,530,517,459,421,398,380,312,270,417,517,532,605,1098,928,636,498,412,389,373,342,371,355,381,637,769,796,771,727,684,662,579,649,854,1262,1508,1098,1009,1021,1960,2312,2382,2304,2118,1570,1754,1904,1404,1038,1132,852,681,639,512,420,453,618,606,460,425,375,361,371,355,361,348,384,423,379,380,452,384,338,369,385,490,469,680,969,810,537,634,1090,714,476,435,380,448,451,390,386,423,475,492,483,738,668,611,976,1138,1350,1172,1194,1108,1018,968,848,730,591,533,617,877,637,473,609,989,1406,1170,877,940,1072,1084,764,522,382,343,537,728,899,1166,1062,974,872,956,1276,1106,1192,1562,1274,1488,1007,698,597,516,423,419,439,511,805,1302,1340,1088,971,516,685,956,614,357,303,261,300,338,556,775,746,504,386,434,523,442,415,388,380,418,538,739,886,973,1318,1470,998,1224,1124,857,556,934,1386,800,495,852,963,772,408,411,568,791,913,925,1098,995,1074,1094,1218,1316,1188,1086,873,634,430,346,344,356,309,277,306,353,574,854,1023,929,781,522,631,943,735,1009,1318,1146,855,826,594,598,941,908,667,614,908,874,756,552,499,468,441,444,340,682,1236,1188,1036,1056,1318,1086,1007,830,561,1066,925,1056,970,590,517,542,699,977,996,727,601,608,1142,1498,1412,1066,977,1032,1036,1044,1104,1282,1152,993,840,663,724,1168,1426,1472,1592,1378,1368,1194,926,1188,1238,885,608,378,359,420,646,1066,1274,1440,1472,1648,2066,1958,1376,1450,1826,1818,1860,1836,1596,1558,1684,1338,1312,1516,1540,1386,1470,1354,1242,1412,1522,1254,1264,1390,980,556,584,876,1042,1036,750,541,921,1334,780,708,940,916,807,655,590,580,546,621,642,926,1268,1150,1190,1056,1158,873,743,1056,1232,1176,974,885,765,913,962,695,1040,1678,1488,1464,1470,1224,852,612,613,615,651,603,775,858,912,566,882,1162,1266,1222,1460,1554,1332,1236,1296,1186,1026,1338,1614,1952,1378,1216,1174,1028,1242,1019,486,612,813,807,897,1256,1280,1882,1628,1346,1228,1052,1280,1466,1382,1218,925,902,891,1322,1566,1058,954,769,590,449,556,1136,1488,1396,1184,1014,1212,1600,978,922,650,636,558,487,542,512,570,753,901,1158,1016,672,416,476,483,444,359,375,377,381,370,344,344,351,456,539,511,447,401,401,392,388,415,400,416,396,381,412,416,535,717,608,479,421,340,352,362,333,350,396,344,291,356,402,376,347,340,332,335,322,347,372,341,465,661,635,452,349,348,344,409,419,478,551,521,509,948,1140,1084,861,654,911,1102,760,453,667,947,933,571,549,560,466,429,368,354,279,540,977,492,383,584,1007,1230,1058,1144,968,888,1170,1260,968,681,447,368,468,855,932,1254,1420,1009,1108,1316,1226,938,828,943,886,769,635,1082,1174,693,479,621,648,843,1015,1036,1086,1210,1386,1272,1060,1034,1126,1070,1166,921,657,723,1058,1054,896,832,869,385,351,342,323,401,476,813,1028,904,1005,882,771,902,971,1132,1238,818,821,1288,1340,914,596,706,1015,931,827,1028,841,575,844,1302,1028,518,404,578,838,851,763,611,493,485,356,335,659,868,1162,1070,904,670,971,990,733,869,864,1186,1486,1104,935,745,507,754,1322,1196,1188,1220,1190,1110,1038,990,968,1076,1324,1110,1112,1174,1100,1286,1506,1448,1212,1080,1200,1470,1180,512,414,435,349,437,651,878,967,1284,1106,662,1028,1552,1454,1023,927,668,620,797,899,846,1274,1586,1306,814,574,518,510,772,742,634,398,347,433,401,819,1180,1282,1318,1076,1082,1210,1126,1306,1444,1342,1090,969,732,437,451,462,456,460,373,555,1170,1438,1252,1003,935,1110,1166,1244,965,487,705,930,879,803,686,579,617,747,832,455,215,219,299,349,339,311,342,389,396,387,348,364,471,552,618,532,466,491,435,384,411,407,591,1011,1382,1440,1390,1344,1412,1426,1246,1444,1838,1150,418,372,356,383,425,497,402,394,377,562,1021,1346,1460,1534,1636,1672,1584,1718,1682,1614,1576,1572,1454,1110,780,545,462,480,401,314,309,332,354,349,321,314,320,361,391,346,324,304,398,565,599,547,541,450,333,321,303,467,592,472,326,310,298,332,439,535,541,467,488,492,394,363,343,339,353,431,530,500,485,422,295,259,287,303,291,285,304,341,353,340,314,293,292,324,355,351,342,344,339,333,325,293,283,274,274,280,295,299,294,285,282,283,290,298,307,310,311,307,307,321,334,336,338,320,297,297,311,322,309,298,305,294,300,302,324,320,314,346,350,340,317,356,363,318,301,307,315,321,331,343,345,336,347,374,390,427,428,414,353,332,311,297,298,296,280,286,289,301,314,304,454,980,1272,754,393,346,336,345,363,358,369,371,364,376,393,368,331,343,397,400,370,390,404,441,725,455,459,630,692,805,751,998,1130,1102,1432,1810,1734,1000,894,1582,1216,831,889,1400,1704,1622,1494,1554,1404,1006,985,1584,1526,804,464,434,601,695,579,407,370,390,393,480,658,608,615,631,555,591,619,674,607,492,500,483,455,457,492,561,815,969,984,988,855,860,886,828,781,650,666,813,826,744,694,721,831,982,1136,1266,1386,1486,1534,1592,1590,1550,1548,1486,1376,1268,1164,1036,910,759,673,644,692,715,664,547,496,529,477,477,695,1064,898,838,924,838,547,432,325,259,244,245,234,259,232,251,237,219,213,240,248,237,248,257,251,261,266,237,271,564,592,728,912,819,780,781,656,509,488,472,475,438,385,391,504,536,436,398,378,354,338,421,565,527,401,380,415,525,519,550,605,540,461,435,435,410,436,404,339,464,588,470,526,666,781,758,628,577,608,681,725,754,930,1324,1330,1520,1550,1592,1392,1180,958,856,835,1180,1648,1498,1012,1190,1108,1046,600,491,420,512,707,1092,1144,947,773,499,574,583,379,386,387,482,656,1164,1046,805,1182,1268,1098,1122,1162,1400,1418,1326,979,1266,1408,1404,1440,1344,1256,841,802,1246,1322,1448,1392,1076,738,899,908,684,565,565,674,633,808,1044,1084,909,988,1152,1015,748,619,513,739,918,908,495,242,315,750,1246,871,651,839,1066,1466,1440,1372,838,800,1156,1062,919,760,694,579,388,461,678,851,689,461,596,833,950,921,605,366,394,499,902,1106,1268,1418,1396,1504,1088,669,774,1180,1108,1152,1188,803,356,463,962,742,633,443,357,460,475,574,492,405,511,674,700,357,200,346,352,364,304,259,354,468,436,416,431,407,462,459,300,408,1014,1212,1172,1028,1172,1078,785,767,987,1036,948,1214,1224,858,880,744,559,484,322,305,667,1076,1058,871,913,1374,1282,975,921,1001,822,922,781,434,799,1014,730,618,717,1226,989,648,734,722,775,1180,1472,1284,1082,1080,1162,1062,836,725,1118,1228,866,529,559,974,1466,1362,1078,1360,1532,1390,1270,1266,1466,1612,1570,1396,1550,1434,1708,2206,2130,1384,1082,1352,1440,1388,1236,902,487,382,561,1050,1322,1042,609,426,494,464,509,596,487,419,291,332,347,386,388,372,441,517,550,666,869,1090,1278,1120,579,735,699,458,369,780,1266,1222,910,889,1068,951,926,1194,1000,1100,1068,814,730,627,641,696,680,530,397,515,401,376,643,708,704,976,1202,1104,1050,1086,766,543,695,519,623,967,1278,1622,1186,787,542,702,976,1070,1090,1224,1200,1012,1116,841,733,926,1188,1044,687,743,896,780,678,560,540,449,285,286,267,267,250,237,248,271,289,277,258,257],[424,380,552,712,906,1086,951,546,866,687,576,875,1192,1340,1256,1390,1434,1550,1570,1538,1268,670,396,351,327,543,458,364,373,391,385,379,371,366,343,373,439,385,341,403,441,386,430,413,441,446,420,473,516,678,948,771,1008,1011,541,1001,1418,1594,1128,746,585,570,728,878,1010,1060,912,922,514,575,808,679,488,503,778,1052,955,657,376,397,473,501,716,1023,1202,995,789,791,648,632,720,874,1246,1384,1326,565,473,614,643,694,1044,993,943,1074,750,480,452,430,420,365,399,366,399,445,487,489,487,408,344,314,313,404,398,412,397,435,357,519,847,721,452,401,604,884,680,396,496,557,472,433,371,392,334,264,268,319,393,437,458,454,401,433,444,449,426,351,379,585,539,471,387,364,338,332,397,417,513,616,601,495,464,468,423,283,187,177,189,214,223,223,224,233,229,223,229,229,225,227,227,233,241,256,273,300,340,385,442,466,637,762,745,610,471,436,423,437,430,461,377,336,361,397,454,404,377,888,1128,920,599,475,464,487,478,541,531,534,593,643,619,591,583,594,659,664,511,614,963,1256,1376,1174,1064,1852,2358,2610,2552,1710,706,553,717,980,668,709,622,547,717,520,449,556,880,879,660,547,491,459,430,389,395,369,438,526,535,451,451,398,380,406,506,549,561,1002,1112,870,683,925,922,556,430,395,440,463,406,378,402,428,485,500,658,755,630,602,973,1310,1438,1502,1376,1014,807,1046,1144,615,615,886,775,720,851,1060,880,818,1142,1206,963,839,919,1218,1038,539,513,585,983,1112,1086,1124,719,690,891,911,950,1194,1384,1312,1210,856,547,482,481,451,492,565,442,475,711,1266,1394,1418,1298,638,950,1318,839,390,247,276,320,393,585,448,471,279,307,323,346,380,426,408,468,654,849,837,891,782,932,1082,967,796,502,446,360,702,1102,891,814,1118,924,405,333,344,396,907,1124,956,1004,842,913,1200,1318,1202,1046,1078,990,705,477,369,376,378,337,286,297,339,365,517,790,732,924,1132,1104,1088,1166,1362,1228,888,617,642,787,868,959,858,680,956,966,788,1246,844,434,364,370,522,681,1040,1440,1140,1296,1166,960,1198,1366,1306,1412,1588,1114,1168,1080,590,630,811,965,870,1090,1010,745,600,1172,1520,1292,1142,1046,881,907,1036,1001,823,868,1074,1100,640,695,971,1104,1436,1630,1464,1390,1168,521,625,838,494,464,355,291,692,872,836,1030,1208,1250,1664,1998,1850,1136,1562,1898,1858,1758,1848,1824,1782,1676,1494,1394,1382,1382,1330,1276,1378,1310,1500,1064,1004,1164,1078,673,492,410,453,726,1110,885,651,796,1312,1350,821,736,604,568,610,642,572,476,530,985,1366,1166,1003,753,627,877,913,1074,1190,1016,708,544,865,1236,1256,1292,1148,1418,1632,1576,1218,941,904,783,852,995,936,935,760,625,1038,1208,866,1224,1362,1116,1076,1462,1474,1048,725,955,1390,1412,1332,2324,2580,1738,1372,1050,1060,1294,933,383,369,453,669,920,1348,1218,1528,1152,962,1170,1266,1306,1360,1328,905,813,1005,1094,1268,1426,1440,929,576,506,377,746,1340,1574,1544,1170,1023,1520,1666,828,416,651,620,462,624,810,776,756,962,1078,1038,714,469,446,548,753,755,434,296,313,358,358,354,375,380,511,613,523,541,612,533,381,377,368,339,367,386,383,384,522,797,847,653,458,360,334,339,321,305,347,364,334,318,369,379,357,330,332,355,346,318,332,361,341,410,557,489,390,330,340,385,455,472,469,473,438,479,766,866,678,675,805,933,1074,933,980,1058,1142,1046,718,476,492,515,398,391,402,322,467,919,718,469,637,832,974,1248,1108,785,937,1092,1104,984,861,498,334,322,446,415,842,1350,1518,1606,1368,965,607,500,703,780,627,730,1216,754,357,379,449,669,1042,1096,1166,1196,820,691,576,711,860,1084,1424,1692,1524,1002,1126,1524,1594,1248,1224,1272,560,401,340,280,365,431,593,786,970,893,910,1338,1176,1112,1288,1378,951,1100,1636,1392,965,727,698,778,639,647,1110,930,860,1098,1538,1288,652,406,586,628,512,521,659,877,842,443,434,974,1146,1050,1244,1086,644,673,653,680,783,480,884,1270,852,1140,1094,799,971,1358,1338,1098,1116,1218,1192,1322,1236,1332,1448,1394,1180,1094,730,683,1078,1320,1128,877,920,1366,1484,1242,609,354,463,651,1064,1278,1154,1226,1366,1148,976,1132,1278,1738,1588,969,670,791,738,637,1092,1700,1600,974,561,491,698,582,567,585,434,340,292,339,343,725,1200,1250,1346,1076,955,1014,1082,1170,1338,1378,926,589,493,467,424,452,528,430,411,699,1092,1378,1306,1282,1032,1042,999,1122,1248,594,737,758,741,786,705,591,553,862,1136,585,252,318,325,318,324,372,398,410,438,403,367,458,513,533,557,498,519,589,404,341,354,361,611,1148,1394,1330,1294,1268,1262,1206,988,1168,1486,790,383,345,328,384,386,345,329,339,337,478,1136,1666,1622,1762,1946,1762,1576,1614,1450,1540,1678,1822,1688,1230,891,708,631,469,350,298,332,347,364,357,363,364,398,514,503,373,361,335,342,434,550,529,503,348,295,289,285,296,331,306,309,350,441,534,511,480,526,438,442,477,456,472,541,565,599,549,475,433,438,365,278,306,359,354,334,320,307,324,337,303,283,280,291,328,356,357,349,348,339,330,315,298,296,301,298,288,292,286,281,276,277,284,291,288,294,308,321,326,330,348,349,354,328,320,314,313,315,338,326,294,309,324,314,299,331,352,379,403,382,351,331,347,349,330,309,305,328,325,329,371,437,391,368,390,389,381,386,361,338,341,313,303,294,299,280,306,306,297,281,415,958,1346,860,412,332,301,327,340,350,393,387,371,348,371,383,353,324,307,344,351,344,449,452,399,649,633,582,689,718,700,692,922,1372,1364,1620,2020,1844,1202,1134,1538,1328,1052,1114,1534,1938,1702,1404,1202,915,703,960,1462,1416,786,503,513,512,509,465,463,522,642,637,697,815,745,753,877,797,882,909,852,678,531,553,557,598,593,502,510,688,750,886,859,722,717,725,780,873,866,903,1015,1118,1262,1392,1530,1620,1656,1660,1638,1582,1486,1386,1278,1184,1088,973,855,697,664,590,547,553,569,564,574,598,499,329,259,269,288,358,382,501,680,585,474,363,317,339,294,272,264,254,230,235,260,235,239,281,327,330,268,233,229,252,261,262,255,222,263,268,399,826,1356,1516,1416,1336,1238,1030,692,616,511,549,502,444,433,488,419,337,346,368,368,367,390,438,467,409,370,358,401,368,366,456,549,537,504,488,433,415,426,397,431,518,520,475,565,718,674,592,466,472,706,613,595,824,1260,990,988,1274,1440,1580,1548,1348,1136,990,968,1098,1016,774,901,910,930,641,548,536,444,788,1090,901,885,1021,856,688,441,324,458,534,932,1064,1168,1304,1128,1042,1296,1500,1700,1394,1522,1062,965,1040,1312,1452,1042,577,644,733,591,553,751,1272,1264,764,545,705,753,931,1202,1246,842,493,500,499,566,949,1238,1072,1120,1152,1054,861,777,957,1714,2016,995,275,407,904,1258,839,966,1152,1158,1174,1302,1098,527,817,1216,1136,1110,838,1010,1046,870,740,849,818,772,513,365,416,631,1040,899,477,404,402,694,880,1136,1268,1462,1452,1072,691,775,1086,1030,860,987,738,488,485,995,985,852,505,409,475,577,698,643,434,482,692,622,420,347,318,304,358,307,258,374,488,454,455,428,306,321,332,347,422,1172,1214,1092,1244,1320,1226,1068,1186,1526,1368,1576,1784,1086,773,727,569,471,431,444,403,711,1404,1704,639,821,1028,705,518,546,898,854,751,771,660,606,580,487,516,926,1366,1048,1030,1022,672,881,1272,1126,841,908,1282,1426,1358,1218,933,1198,968,550,452,396,781,1532,1416,883,1052,1246,1300,1410,1388,1438,1426,1436,1600,1636,2126,2032,1596,1506,954,1158,1714,1358,1132,1168,1116,875,702,576,742,1190,1184,631,287,470,959,1142,666,420,376,288,313,341,337,351,354,394,507,593,609,796,905,807,607,454,460,462,383,521,976,1272,1182,907,906,1030,822,688,1034,981,1007,747,577,565,438,564,841,677,687,644,940,671,392,348,672,858,998,1170,1334,1152,1136,1128,875,858,824,521,594,814,800,750,531,358,417,512,695,926,1148,1260,1164,802,517,452,750,1190,1300,970,1046,937,618,633,796,772,496,355,300,258,258,261,258,257,264,260,263,267,281],[407,458,543,916,1028,957,760,438,610,494,794,839,1110,1244,1270,1260,1462,1608,1332,1192,918,430,333,292,305,336,325,332,367,373,362,373,374,360,314,298,347,303,321,465,322,319,441,420,462,528,525,714,971,705,682,808,813,647,594,781,909,925,1021,1030,940,1088,1328,990,1184,1166,894,766,814,832,828,676,474,393,506,819,980,696,774,856,952,747,932,988,974,889,720,680,648,668,1054,1278,1538,1412,1598,1104,574,642,805,1174,1640,1156,883,1214,843,433,354,426,471,380,397,391,406,461,456,400,383,327,293,448,866,729,491,455,537,897,713,764,1082,973,493,492,726,1076,965,680,529,429,435,426,443,394,312,301,283,316,383,438,470,428,373,392,437,409,361,350,367,509,679,873,521,298,308,279,372,389,470,615,576,442,345,306,237,168,171,218,230,232,228,218,218,226,231,237,241,231,224,229,232,249,266,258,261,279,348,393,448,569,703,789,736,530,509,490,436,429,440,527,498,447,490,522,463,318,265,496,933,1092,591,452,442,577,643,619,557,536,490,493,509,477,455,436,544,677,502,502,515,586,594,650,764,1330,2088,2388,2418,1638,486,425,572,1042,771,498,724,973,841,495,449,621,826,792,542,447,478,535,568,526,444,382,384,437,450,480,457,373,388,444,578,539,502,710,796,670,597,1007,823,503,490,481,500,468,439,435,444,395,442,532,697,745,720,680,944,1344,1534,1418,1142,1276,1232,1160,1128,644,410,484,588,440,782,1300,1272,1122,980,1212,958,955,1090,1384,816,511,889,985,1100,1288,1366,1128,509,605,839,1028,831,998,1106,1148,1086,642,433,480,644,703,695,742,708,541,659,1124,1160,1658,1274,607,880,1088,697,475,354,317,414,522,549,507,426,366,320,287,317,368,392,394,465,625,813,739,1003,805,903,1092,1044,778,670,695,634,657,792,1122,1026,1444,951,418,339,385,370,732,1144,1354,1432,1250,799,1138,1374,1374,1296,1005,796,676,533,402,418,431,364,305,326,356,305,323,628,749,1102,1764,1428,1122,1258,1502,1404,1050,549,644,944,1252,1252,1130,907,1072,863,622,919,819,467,378,386,701,1216,1130,761,1040,1430,1318,1170,1094,1192,1154,1110,697,495,933,1034,804,886,965,1040,977,859,712,737,611,854,1026,755,706,993,1332,1114,876,813,847,1052,1156,1116,1000,1104,1230,1296,1374,1390,1190,1198,1266,952,840,738,833,829,460,323,463,705,874,1001,890,1182,1438,1208,1414,1200,1428,1684,1748,1738,1878,1700,1516,1594,1726,1678,1614,1504,1426,1154,1214,1386,1268,790,857,1160,1180,1194,1128,668,484,500,748,893,615,611,1004,1138,1016,698,477,497,492,566,698,684,593,1118,1166,1014,893,679,588,605,685,745,1126,928,544,432,589,967,1232,1014,981,1036,1017,948,688,926,1148,845,845,962,902,918,1164,1440,1048,830,1088,1272,1136,875,1003,1428,1278,886,857,1318,1568,1774,1708,1336,912,1116,1350,1356,1324,1158,756,378,319,347,626,995,1068,896,805,656,762,1100,1256,1284,1298,1148,785,808,1010,1026,965,1088,1216,799,546,498,598,976,1362,1484,1306,807,940,1122,1284,957,549,488,514,834,1128,1138,924,922,1294,1334,754,523,414,482,548,685,589,399,280,275,317,343,358,343,359,422,554,457,474,574,491,398,393,365,352,378,375,401,492,802,823,764,589,386,307,283,290,292,292,326,341,359,364,405,381,357,336,338,352,341,330,338,358,346,419,507,417,354,330,344,423,480,476,430,399,377,406,692,935,702,752,1017,1028,952,897,995,1420,1352,998,854,456,673,829,462,414,393,367,421,814,720,492,677,1023,1288,1528,1406,1007,932,1224,1344,1046,858,484,319,351,459,600,880,1312,1542,1174,838,622,493,460,768,933,1266,1322,1009,558,331,306,408,720,1104,1224,1422,1246,979,739,556,499,596,1008,1384,1758,1732,1005,900,822,1150,1064,1152,1252,1016,822,548,368,391,399,467,749,1024,1038,1252,1844,1452,1202,1394,977,691,1248,1392,1058,1070,1007,922,810,818,937,1122,939,1016,1272,1316,974,535,436,406,385,414,488,576,846,942,915,716,767,959,1004,1170,1100,916,883,910,1066,876,521,753,1124,1058,1224,1168,1148,1276,1306,1232,1062,1088,1348,1254,1372,1304,1380,1492,1490,1388,1028,521,533,1062,1364,1276,1400,1206,1844,1466,1102,963,812,889,1086,1278,1142,891,752,864,1021,1134,1186,979,1678,1792,1316,1114,1052,980,1142,1290,1344,1276,1246,932,513,613,539,402,320,314,329,299,358,366,508,948,1216,1260,1078,732,716,1005,1206,1144,942,768,618,467,468,487,586,661,610,673,866,949,1064,959,915,835,1054,996,1140,1644,745,726,713,733,757,690,606,539,665,660,372,316,319,324,290,327,382,363,396,477,434,393,446,488,480,469,467,579,622,372,319,297,315,421,664,994,1688,2108,1870,1688,1186,1000,906,797,437,329,286,289,362,373,323,320,354,386,488,901,1372,1528,1708,1722,1466,1252,1278,1446,1526,1496,1712,1866,1752,1420,1152,927,608,412,322,358,365,364,373,392,371,371,511,496,324,328,353,340,366,488,496,457,357,279,282,282,292,305,286,361,584,573,432,347,340,350,308,308,306,280,343,408,430,374,350,365,349,357,321,341,493,621,556,489,436,374,318,319,278,259,264,280,304,329,342,347,345,335,321,302,299,316,314,310,315,306,288,282,290,297,301,292,270,268,298,326,329,367,380,364,380,373,364,335,321,323,330,326,306,326,319,304,314,336,391,375,351,345,323,309,303,321,343,337,342,364,383,373,376,392,415,422,420,458,491,449,410,362,367,337,303,304,318,304,300,321,341,375,831,1508,1306,490,335,332,333,336,357,354,381,390,380,375,368,349,322,299,294,325,355,552,617,475,408,509,568,509,505,531,526,559,854,1526,1594,1610,1700,1600,1854,1848,1562,1216,1078,1132,1430,1750,1548,1294,1142,1182,1246,1122,999,814,536,509,647,725,731,825,832,862,883,894,926,990,916,885,969,906,815,786,669,597,542,558,577,625,657,591,649,741,802,932,1072,1182,1252,1290,1356,1390,1472,1578,1646,1678,1672,1648,1548,1426,1288,1126,994,934,841,790,698,701,652,586,555,565,579,530,474,440,379,406,431,397,310,220,226,257,243,292,379,383,376,490,577,420,422,395,277,268,280,263,215,230,223,268,349,472,604,502,284,218,223,229,248,257,274,257,240,293,304,493,880,1238,1374,1250,1160,944,695,621,494,505,444,436,437,423,394,385,376,402,414,407,365,387,491,484,430,389,412,398,404,447,504,532,574,609,537,417,426,430,426,551,597,409,378,433,455,396,385,720,1092,777,587,818,915,803,832,973,1132,1316,1452,1550,1516,1386,1294,1122,999,1040,1003,889,922,747,611,725,909,1013,1294,1408,1178,1052,713,557,513,603,1078,1246,1190,1236,1060,1162,1370,1336,1354,1066,1444,1450,1334,1016,1036,1170,1150,1094,677,348,398,519,631,579,905,1566,1362,947,754,1086,736,538,697,631,516,466,480,415,467,628,1036,1354,1362,918,895,760,915,1584,2294,2150,1312,592,379,537,813,796,991,1078,999,1011,1214,925,456,582,664,697,823,885,1344,1434,1440,1186,1090,1074,873,540,409,380,504,764,832,598,404,329,467,501,805,1064,1198,1192,1084,988,1062,1196,1222,1017,1082,595,368,509,1024,976,594,412,321,386,749,1046,1204,748,650,1002,771,373,304,302,282,286,274,312,400,438,431,433,355,295,361,421,358,351,813,1146,1192,1406,1276,907,1142,1484,1914,1622,2238,1764,927,712,587,531,463,419,463,370,608,1046,1396,759,855,1152,737,777,1136,1356,1212,1036,922,871,723,544,491,1032,1490,1316,1046,1050,764,785,1212,1374,1298,1048,999,1600,1698,1484,954,751,868,728,567,618,759,1072,1432,1324,1050,1078,1288,1336,1080,1076,1376,1082,972,1254,1516,1816,1682,1204,1096,1142,1694,1514,987,1130,1004,807,993,940,628,866,1228,930,730,893,1042,1766,1760,828,697,538,290,331,307,288,286,321,315,372,473,564,742,805,882,763,477,358,413,456,502,689,716,739,615,515,748,978,959,1076,1026,752,430,408,685,771,760,908,683,569,524,694,507,337,269,633,1528,1560,948,1220,1352,1244,1098,889,718,624,470,425,328,358,462,434,344,352,372,415,521,778,1056,965,610,427,456,726,1260,1544,1090,1048,1144,924,886,1128,1222,665,356,297,248,251,258,258,242,255,265,249,292,304],[466,451,650,915,608,799,488,403,453,513,744,870,1066,979,1060,1424,1538,1162,803,858,529,327,293,269,261,282,319,337,391,406,364,358,365,390,369,295,246,249,295,333,292,327,323,289,436,559,591,546,562,597,840,986,575,372,620,659,556,604,680,850,1148,1394,1116,899,1278,1118,931,794,996,961,822,765,540,362,391,703,989,681,827,913,907,807,1080,1102,903,649,502,765,777,698,1174,1242,1208,1328,1492,1350,1070,1232,1216,943,797,556,619,1130,974,509,365,425,483,444,391,379,358,389,398,324,276,242,264,595,850,487,571,582,610,533,550,904,1376,1312,654,469,580,990,1138,742,470,423,404,374,460,408,319,321,321,357,419,454,498,421,372,368,397,375,338,348,422,454,709,1348,1024,503,374,305,329,377,330,282,357,329,198,157,168,193,212,214,218,225,227,230,230,236,247,256,254,237,227,237,245,267,286,297,342,311,339,400,658,1002,1042,1174,1082,673,610,628,516,421,512,538,568,560,609,697,554,363,293,334,659,1170,799,551,505,580,576,554,584,578,509,507,533,489,455,430,483,552,491,532,550,506,484,492,425,623,849,1280,1802,1290,951,567,777,1204,1184,652,664,921,837,690,450,532,557,532,440,424,389,459,608,752,924,686,462,479,434,480,443,390,400,393,514,825,913,629,490,461,762,1100,755,554,473,478,464,429,420,426,459,445,441,602,699,716,801,1002,1316,1560,1566,931,579,935,1328,1122,1296,1254,757,585,558,477,493,510,612,952,1058,1188,963,805,895,1010,1058,1078,1232,965,782,1218,1838,1070,588,638,880,1094,1152,1154,1334,1420,1232,937,594,663,943,758,857,763,836,774,907,1588,1448,1136,1066,749,662,792,481,383,387,382,478,613,767,993,911,685,523,540,467,397,409,445,600,549,484,522,725,632,900,1116,1084,1144,1164,901,648,579,812,1284,893,1114,971,604,461,431,360,585,1021,1566,1610,1324,1112,1362,1330,1044,761,690,700,854,737,432,419,426,393,332,336,348,403,833,1206,1078,1230,1368,1356,1310,1378,1372,1088,972,680,618,882,1114,1190,1015,1064,1048,803,733,776,667,498,412,431,608,1190,1428,943,1028,1268,1434,1366,964,674,1118,1130,653,692,879,895,1010,1064,912,960,1294,1230,1004,833,766,1036,1278,884,637,963,1048,1312,1130,983,1306,1382,1054,1090,1272,1186,1116,1290,1244,947,756,1166,1346,1412,1236,1088,1140,850,454,406,489,686,872,1248,890,1180,1176,855,1410,1578,1390,1448,1526,1784,1864,1542,1786,1524,1460,1484,1656,1682,1574,1340,1250,1252,1284,1268,1286,1464,1348,1252,1232,869,524,495,470,342,401,607,672,763,789,642,524,454,458,510,1036,1316,1112,1011,1032,1096,881,1056,1078,822,748,703,932,880,587,574,859,896,999,991,1246,1274,1116,968,800,1015,1108,1078,988,807,684,858,1448,1678,1010,626,836,993,807,612,1034,1268,1170,1128,1314,1444,1392,1456,1332,941,896,1040,1058,1102,1166,1080,891,593,404,525,864,1017,917,1198,1338,1032,906,1122,1298,1308,1320,1178,965,1096,893,829,789,880,1026,707,525,611,1012,1064,970,1060,1092,1078,1184,1378,1440,1146,847,757,709,1034,1164,1011,979,1090,1288,1366,726,410,427,463,508,486,384,386,268,284,305,349,438,511,553,631,591,379,329,354,373,415,549,456,397,370,375,420,689,839,735,618,403,292,287,296,296,305,335,386,396,386,371,398,386,359,344,346,332,328,332,337,338,370,462,401,367,358,382,412,454,480,445,389,364,377,497,1490,1588,1136,1007,1038,991,920,801,791,1040,914,783,850,612,774,988,691,414,330,387,383,447,524,669,684,722,874,1322,1792,1362,810,950,932,950,771,392,317,327,653,998,863,1194,1666,1040,674,638,553,505,673,1184,1328,844,536,380,356,339,465,655,893,1194,1298,1166,1394,1096,815,738,709,972,1262,1366,1182,909,827,577,1100,1174,822,937,1116,939,654,346,377,395,438,842,958,758,1094,1770,1556,1328,1328,955,736,784,619,626,757,887,1036,906,1072,1362,1294,1142,1110,1080,1036,916,621,520,454,437,432,501,571,422,637,994,784,548,605,733,992,1072,1088,1218,1356,1376,966,719,976,1230,1202,1202,1170,1130,1262,1086,1080,1162,1062,1160,1334,1342,1250,1170,1284,1500,1350,1018,624,593,812,821,828,816,1028,1944,1888,1514,1262,1544,1738,1104,777,932,655,697,1016,1017,1116,1058,1228,1836,2116,1792,1372,1318,1504,1446,1224,1018,1158,1294,1288,781,447,310,281,305,408,413,351,355,390,417,769,1144,1200,1400,1144,1166,1284,1150,996,740,653,741,648,622,610,451,543,816,1028,1256,1370,931,536,464,738,1116,1062,1072,1248,967,835,722,722,810,774,618,540,580,451,308,319,301,326,283,314,336,291,312,414,416,413,458,552,554,513,491,568,447,322,313,327,344,346,361,858,2082,2416,1758,1088,786,869,939,692,410,295,273,292,350,343,318,390,518,621,521,789,1268,1366,1312,1318,1492,1322,1162,1386,1476,1470,1556,1600,1616,1588,1664,1460,1128,699,511,495,398,371,379,395,431,466,524,437,320,322,346,362,332,407,477,427,320,276,288,301,321,325,337,523,720,475,311,290,375,372,280,277,287,296,310,307,301,320,334,316,303,307,414,533,596,609,573,611,557,373,308,286,266,262,268,279,295,318,334,331,327,321,305,304,305,298,294,311,317,307,294,296,309,314,308,296,277,281,304,326,335,466,464,366,405,437,370,332,330,343,318,328,341,323,304,305,336,391,434,407,422,433,366,323,328,348,391,351,370,396,445,423,388,371,433,500,530,661,696,491,425,426,429,390,363,360,350,321,301,326,386,742,1402,1670,1019,447,379,344,356,372,369,387,414,390,358,350,316,354,410,378,325,304,349,505,459,359,413,542,583,568,612,592,532,617,799,1442,1546,1236,1270,1402,1554,1482,1388,1320,1128,1066,1216,1228,1140,1084,1078,948,880,728,559,552,647,786,841,816,798,841,791,825,766,814,835,807,725,711,769,769,735,778,814,825,769,847,967,1136,1210,1222,1312,1428,1520,1580,1626,1604,1594,1602,1636,1642,1602,1498,1380,1284,1124,921,755,684,631,623,574,586,570,573,608,639,576,450,376,384,438,435,373,373,340,375,343,315,259,248,270,228,230,301,358,405,402,501,664,552,535,478,349,334,324,286,312,281,223,300,349,313,293,257,235,227,228,258,291,292,280,263,240,253,285,340,515,946,1246,1050,1114,902,664,550,472,456,419,369,356,375,401,416,415,389,389,397,356,350,509,603,458,364,364,345,377,371,421,488,520,521,484,433,423,429,562,980,1034,523,371,383,392,430,722,1126,1056,688,766,965,916,808,715,738,835,938,1154,1362,1484,1586,1576,1450,1240,1004,980,1070,1172,1096,790,744,1054,1010,1086,1310,1346,1108,605,519,628,821,1312,1492,1306,897,896,1236,1558,1598,1264,960,1252,1418,1390,1262,848,720,888,624,408,420,645,717,645,620,981,1478,1346,926,825,934,752,453,443,408,370,479,514,460,495,604,583,1002,1108,728,554,919,1372,1526,1584,1344,886,377,246,255,323,368,1068,1402,1021,1086,1046,758,487,730,523,546,879,1052,1004,1036,1174,1116,1392,1432,975,725,847,498,589,1196,1166,657,457,464,427,369,526,875,1174,1138,954,1396,1434,1310,1082,999,855,469,325,630,969,698,487,354,361,414,614,1252,1360,778,586,761,572,319,296,275,290,303,258,290,334,359,352,355,291,325,370,345,293,363,1018,1588,1418,1348,1094,692,781,1072,1314,1226,1238,1188,1216,1011,658,432,361,331,442,397,540,890,792,988,1236,1278,945,691,1246,1810,1364,1030,676,851,984,624,437,1130,1328,1178,1262,1108,662,710,1100,1242,1070,1074,1254,1734,1730,1472,897,678,840,922,905,1056,1152,1090,1052,1118,1352,1288,1202,1056,838,1132,1448,1310,1288,1246,1054,1116,1288,1324,1748,1778,1312,1088,1312,1242,852,853,872,770,712,1132,1042,862,1322,1736,1162,1248,1624,1114,613,452,298,301,298,262,280,347,372,404,507,641,628,499,651,698,528,433,467,488,391,356,515,982,799,473,491,701,871,708,409,413,555,672,808,830,578,451,377,376,348,367,362,390,292,339,644,798,962,1382,1536,1212,1122,924,536,404,425,386,343,401,408,375,343,394,380,432,416,385,513,555,615,743,948,1130,1144,1134,1064,871,937,752,576,763,826,543,375,326,276,263,266,261,259,258,260,270,328,307],[442,469,532,763,641,763,503,341,401,592,651,724,749,756,1120,1620,1686,1450,790,658,488,340,294,305,397,434,368,574,807,530,378,390,378,420,437,332,253,273,289,314,369,349,319,276,393,588,598,417,303,667,907,671,394,376,397,416,593,682,730,1062,976,990,1074,1490,1260,1124,1032,705,713,794,782,698,395,365,430,681,716,480,397,576,792,1242,1584,1276,1114,605,468,816,811,1178,789,515,831,909,711,749,1170,1530,1300,637,336,367,392,682,1022,735,493,482,525,524,424,367,365,474,467,376,282,312,347,511,644,467,564,605,528,365,316,601,1288,1230,615,416,428,628,697,516,380,395,383,424,483,374,350,346,366,403,444,464,430,407,396,375,400,386,314,343,397,440,478,658,738,523,503,327,248,319,315,298,281,210,175,185,203,224,224,230,233,236,235,232,230,231,235,246,252,244,250,268,283,296,330,366,380,339,348,474,918,1138,1174,1498,1428,1154,860,771,608,760,887,698,844,934,921,816,570,349,332,361,422,955,1026,702,540,597,577,591,602,578,586,626,639,556,501,564,584,541,468,466,473,475,456,420,456,529,669,1138,1138,678,694,817,1142,1230,1056,766,664,630,723,836,500,524,480,361,372,344,345,467,560,1144,1522,893,524,467,488,574,514,530,424,398,444,720,717,635,557,566,918,948,816,543,410,415,412,390,415,439,466,451,547,714,603,516,611,835,1010,1166,999,626,726,1156,1300,969,935,899,816,891,926,616,517,576,608,992,1126,1086,1102,1050,855,775,971,1030,1140,697,825,800,1274,1044,866,924,1002,1152,1376,1594,1536,1416,1424,1166,1017,1068,988,500,473,393,807,999,1070,1486,1154,709,709,556,491,674,595,662,607,595,699,881,1272,1296,1204,1006,766,983,601,434,407,418,641,699,522,420,407,284,585,1068,1084,1200,1286,1098,707,580,587,818,771,1016,1328,969,703,736,830,922,1086,1566,1298,1176,1378,1406,1062,634,563,571,746,988,697,448,392,401,414,332,348,390,360,813,1520,1904,1366,1056,1242,938,916,981,850,531,446,457,670,929,1188,1212,1308,1176,585,445,489,517,480,406,644,729,932,1144,846,650,1126,1288,1258,1174,813,1200,1196,831,530,424,493,794,1094,1088,1144,1320,1360,1066,777,906,1164,996,565,518,681,976,1152,1158,1078,1074,880,710,977,1210,923,1007,1534,1176,627,664,951,1192,1406,1454,1328,1068,895,543,598,984,1120,1070,888,507,915,1090,1180,1702,1948,1880,1488,1266,1802,1560,1316,1638,1268,1278,1258,1490,1714,1766,1708,1446,1302,1342,1306,1344,1428,1042,733,771,521,445,644,598,462,591,497,432,502,655,628,508,476,476,766,1300,1492,1468,1088,1064,984,666,913,967,1108,1194,820,596,659,625,728,806,667,808,1158,1352,1280,1246,1252,1402,1418,1088,1228,1068,833,608,827,1214,1132,758,475,549,576,516,433,871,1342,1310,1226,1114,1284,1300,1108,1182,1300,1388,1326,866,1138,1204,1254,1352,1190,904,993,1396,1376,1208,1400,1472,1392,1252,1186,1224,1224,1244,1180,1176,1023,858,884,755,1104,1362,1184,946,814,939,827,900,1054,1248,1192,1232,1262,1152,1024,1052,1138,1148,1102,910,698,1028,1388,1314,794,416,325,344,467,441,400,522,589,390,496,556,470,591,752,658,581,535,358,329,352,364,557,731,517,393,385,423,555,789,774,645,428,300,274,275,301,307,335,362,348,446,469,407,396,389,358,342,358,338,332,323,342,394,474,461,372,350,398,450,416,397,409,437,408,395,436,458,1964,1750,1216,1078,747,798,1056,990,879,777,596,1034,899,910,811,916,778,535,608,634,555,535,691,1104,1072,648,509,837,1344,1204,1040,961,910,1082,885,482,358,340,417,565,821,1172,1684,1158,764,1128,1352,938,984,1562,1338,944,571,392,404,416,396,591,990,1186,1144,1066,1166,1070,828,954,1204,1092,1238,1016,725,686,804,658,732,697,421,631,1132,1166,792,472,595,608,566,1174,1136,538,825,1358,1220,1142,1222,1124,884,717,801,920,822,713,1050,1150,1262,1338,1190,909,985,1150,888,852,700,583,512,459,436,465,514,506,742,792,560,621,838,747,943,1370,1388,1300,1452,1376,1222,1034,1080,1262,1222,1180,1166,987,1414,1328,1278,1234,1170,1222,1328,1360,1422,1388,1406,1438,1230,1092,939,845,808,894,988,937,1048,1400,1616,1538,1362,1490,1622,986,528,498,451,980,1310,1446,1318,933,1032,1600,1884,1626,1418,1058,974,949,1296,1100,1072,1192,1214,833,487,343,341,339,437,426,381,378,408,379,807,1128,1338,1584,1238,918,859,1028,865,778,1064,1288,927,785,630,429,454,788,1074,1268,1202,777,546,597,915,959,908,1288,1532,1648,1266,731,716,783,735,572,422,443,381,339,316,325,307,295,326,344,297,286,323,443,562,489,672,631,483,619,599,393,295,282,308,337,334,343,480,709,902,1122,722,661,922,907,645,406,331,319,343,338,319,394,628,666,689,675,1078,1406,1286,1164,1260,1434,1454,1302,1424,1576,1470,1390,1476,1158,1132,1198,1378,1616,1404,1070,699,451,392,371,385,481,627,665,500,372,342,343,340,312,314,302,282,274,279,286,301,332,316,339,550,434,304,294,273,304,313,291,296,299,308,307,322,301,295,289,295,346,372,465,594,605,571,568,597,656,400,315,278,254,259,271,287,307,319,326,324,317,307,314,311,305,305,308,311,313,312,301,305,320,332,313,294,294,307,307,338,352,438,447,357,382,418,372,316,337,382,393,403,399,381,371,392,455,522,544,505,545,598,543,698,472,431,456,445,491,507,523,507,467,487,524,547,761,908,617,437,373,387,388,393,368,361,379,382,379,350,697,1282,1164,1138,566,357,373,401,367,318,318,361,358,304,273,297,332,347,356,350,386,401,335,304,332,381,487,637,665,562,631,626,482,650,957,1384,1038,655,711,752,685,628,637,578,582,728,658,588,583,613,630,633,633,556,551,596,604,684,785,840,806,763,738,825,929,1001,1016,1015,1042,1118,1218,1370,1494,1466,1190,1076,1530,2036,2308,2120,1720,1638,1596,1558,1528,1512,1550,1594,1564,1510,1394,1192,974,809,733,681,613,603,601,558,543,575,552,574,532,426,387,354,308,261,275,336,361,348,351,354,336,335,339,302,223,283,337,274,270,279,294,374,368,476,805,672,523,435,372,417,459,398,338,305,230,246,274,301,312,282,276,267,241,271,320,342,339,327,324,324,331,383,385,748,1160,1122,1144,1100,834,680,639,548,448,373,333,421,414,389,411,397,498,442,348,327,419,512,450,351,335,408,400,444,469,478,472,521,551,451,458,431,588,885,901,641,483,622,456,390,446,930,781,852,1120,1040,1198,1242,963,776,722,747,914,1052,1048,1206,1478,1640,1634,1406,1130,1030,1118,1270,1078,909,1009,913,868,982,1090,1282,1126,965,864,929,1114,1036,890,717,993,1284,1180,1230,1142,1114,1334,1396,1422,1378,888,583,915,688,705,907,1438,1416,826,888,1404,1720,1462,1166,1086,1296,1286,757,473,543,426,325,404,518,360,342,437,659,962,1020,655,1082,1634,1296,1260,1198,533,352,408,377,365,288,556,623,521,913,958,828,796,1080,876,761,1021,1072,624,948,1406,1180,1278,1380,1034,957,1128,662,495,536,570,509,487,465,433,352,434,907,1516,1036,601,1226,1282,1007,543,502,418,297,281,504,615,387,435,470,495,565,843,1576,1024,467,452,490,417,305,293,275,291,279,247,280,318,440,496,420,368,396,425,370,328,351,725,1108,1276,1380,962,459,476,749,910,932,1011,1260,1098,903,646,750,983,530,402,351,602,1270,1494,1192,825,1076,960,703,1148,1216,794,967,803,611,969,1122,923,852,976,1056,1192,986,659,584,1162,1202,994,1124,1298,1560,1750,1464,1072,1030,1128,1224,1322,1332,1248,1152,1298,1404,1396,1372,1338,1204,1174,1570,1610,1426,1298,1126,985,1100,1284,1636,2156,1726,1290,1344,1412,1052,858,902,951,948,837,938,891,645,1026,1040,904,983,999,844,522,414,452,557,518,417,296,300,393,402,574,802,813,849,874,728,626,464,462,508,453,389,443,545,508,463,404,562,727,586,398,505,692,903,722,601,664,572,403,346,370,380,377,342,281,288,366,644,1012,1166,1194,1384,1432,960,467,381,369,430,398,417,428,333,360,387,389,527,561,439,377,419,513,1036,1304,1312,1166,1084,933,886,817,768,641,494,453,425,401,380,303,264,291,285,278,263,268,311,338,292],[530,412,321,334,790,941,582,372,489,607,576,622,863,1084,1224,1696,1976,1820,1146,643,393,418,426,423,515,552,504,800,983,589,399,390,386,440,481,447,395,346,321,338,437,356,347,369,409,489,531,448,289,773,1048,533,396,421,426,469,568,663,538,577,637,614,808,709,535,1022,1154,731,645,589,570,715,588,626,677,762,537,346,399,450,772,1512,1546,840,833,504,399,749,840,1038,980,956,732,473,372,489,1010,1476,1346,708,342,358,361,692,1076,954,835,643,552,651,484,381,479,706,531,331,336,372,264,814,1284,808,582,446,525,335,382,523,694,661,406,368,390,404,412,361,348,358,346,473,484,378,389,418,441,439,436,430,421,408,388,376,376,353,315,360,384,404,382,469,484,459,420,329,292,299,296,275,206,172,199,220,215,221,232,238,233,230,224,221,219,219,227,234,244,259,276,278,265,318,404,434,423,381,329,496,870,979,888,1390,1260,1300,1284,1130,1088,1376,1116,910,1244,1168,1294,1174,882,530,593,455,419,760,1116,974,602,697,656,600,577,585,626,653,684,672,725,685,717,796,736,661,609,523,478,485,532,757,1052,971,591,467,451,696,890,793,855,1056,1208,988,673,637,514,393,396,374,384,398,349,409,520,698,711,648,566,526,522,539,605,700,552,444,583,729,932,1080,627,714,975,684,873,871,628,423,415,397,413,456,424,391,635,896,723,561,611,643,657,703,769,673,770,848,944,1194,1192,1174,1110,1172,1440,810,1068,1236,1230,1444,1248,1282,1296,1198,1252,1066,672,747,1080,1009,879,922,1222,1210,1190,1278,1072,1154,1500,1600,1254,1226,1378,1240,1132,1048,931,606,494,478,822,1002,1072,1376,1322,669,485,390,425,664,671,753,704,922,1072,1168,1326,1316,1406,1198,940,1042,588,412,367,354,563,689,467,330,346,356,500,1072,1132,1138,1220,1022,853,811,669,811,907,1000,1021,1050,1016,964,1238,1278,1290,1088,830,1406,1682,1436,879,528,541,512,606,663,473,389,379,381,374,361,385,449,422,910,1902,1870,1072,1004,756,372,556,807,699,430,514,411,486,981,1242,1182,1144,1290,1026,610,510,518,438,452,672,841,999,1068,858,899,1001,841,1050,1512,1094,932,1112,932,791,536,370,520,798,1136,1172,1060,1088,862,783,789,691,518,513,541,521,673,862,1014,1078,1042,750,656,984,1284,968,1268,1516,960,509,790,1080,1292,1398,1390,1318,855,918,1170,1038,1146,1212,1078,621,499,1160,1424,1416,1804,2088,1876,1412,1322,1648,1386,1312,1024,1050,1246,1278,1438,1760,1898,1798,1586,1588,1570,1562,1422,1338,809,422,444,441,546,1022,1170,825,569,352,390,445,502,494,544,553,636,1236,1294,1218,1254,1242,1266,847,847,1264,1172,1322,1380,1154,1054,1278,1378,1388,1332,1156,1224,1440,1222,1334,830,783,1246,1250,1300,1130,756,503,729,1090,1238,1214,736,387,312,563,563,771,1194,1178,1032,939,883,1064,1152,1130,1354,1378,1468,1484,1034,871,1118,1186,1114,1104,1188,1202,1438,1402,951,1162,1208,1418,1500,1274,1260,1312,1334,1616,1550,1084,1232,1068,921,1003,1122,1280,1430,1296,1312,1286,1220,1430,1448,1240,1166,882,985,1070,1256,1254,1238,1280,1164,1005,1180,1186,879,713,564,347,318,441,510,638,777,942,601,654,817,662,439,488,488,416,419,345,327,354,335,393,427,463,448,466,506,696,781,702,546,409,306,282,299,330,337,361,352,318,371,419,407,420,420,373,350,376,365,354,343,377,419,367,349,382,373,412,433,364,342,406,445,424,409,464,434,1722,1696,928,828,680,802,1056,1082,841,802,1092,1672,1194,876,624,675,749,745,683,794,865,978,1052,872,1042,989,822,1066,1218,1274,1224,1015,1026,1012,926,689,472,419,481,584,868,1116,1588,1366,750,1056,1560,1314,1064,1476,1378,1426,814,463,403,432,426,458,857,1102,1003,1116,1202,1214,1096,1146,1322,1238,1084,825,770,726,832,843,769,641,489,793,1088,1278,974,843,824,728,598,1024,1072,804,793,679,491,736,941,1156,1019,918,1150,1338,1224,856,793,1078,1384,1396,1126,872,930,808,545,522,606,763,610,450,386,371,405,655,894,777,857,1366,1422,1102,981,1300,1318,1152,993,1046,1146,1056,1136,1364,1452,1336,1356,1284,1494,1356,1300,1338,1426,1434,1388,1488,1544,1574,1510,1302,1174,1212,1220,1036,1023,1140,1164,1010,1052,1406,1384,1268,1136,1044,945,1040,731,546,466,708,1134,1130,1028,1124,927,1136,1544,1528,1426,918,536,603,841,680,772,1158,1012,810,989,597,440,400,418,440,437,413,444,373,644,1036,1334,1426,1266,1026,863,1196,1040,1082,1288,1346,1086,1032,864,622,681,827,897,1068,993,966,925,833,1344,840,617,828,922,1336,1026,469,576,713,672,522,451,397,322,286,309,335,318,289,291,322,306,289,318,418,495,592,778,709,476,553,485,326,313,291,283,337,346,381,406,457,498,620,506,463,491,504,434,407,444,406,394,363,332,431,680,571,572,952,1300,1728,1712,1394,1428,1372,1660,1548,1562,1636,1396,1222,893,604,758,734,761,1060,1450,1554,1350,1034,664,464,362,419,474,545,447,346,328,337,334,318,300,290,294,283,274,294,307,331,289,480,582,379,323,290,283,292,287,287,286,277,290,286,271,267,267,282,300,342,387,406,437,506,521,520,538,557,402,315,284,268,265,274,305,331,332,327,329,336,309,329,326,307,305,310,316,323,323,321,318,311,348,331,321,316,316,320,357,365,389,424,389,379,406,375,346,359,421,466,476,479,484,475,494,494,505,606,599,552,650,647,780,622,584,684,742,738,716,741,790,767,768,748,738,1021,1072,776,586,655,678,661,617,595,662,673,646,597,659,977,1158,883,708,694,736,709,642,627,711,759,715,659,661,757,759,727,678,736,803,794,742,722,813,841,794,805,923,967,879,787,780,879,1006,1070,1122,1076,1018,1080,1238,1084,993,991,979,919,895,915,1001,1032,1007,1034,1082,1088,1078,1100,1140,1216,1270,1280,1328,1344,1384,1428,1456,1456,1506,1518,1576,1594,1824,2406,2614,2696,2566,1822,1698,2390,3054,3226,2608,1622,1440,1442,1516,1494,1526,1444,1316,1108,912,712,559,494,500,543,501,420,417,405,385,417,414,372,307,297,339,345,311,244,238,299,323,336,358,326,354,336,270,265,248,252,314,321,326,353,368,359,336,295,499,562,399,344,318,298,449,626,537,377,392,381,343,297,333,369,350,322,296,264,289,331,339,341,341,353,385,386,377,350,461,904,1021,962,955,775,669,563,551,457,397,405,428,427,402,440,476,448,394,392,354,414,432,403,380,395,420,593,543,534,921,1023,1014,935,566,541,440,384,496,843,808,879,1106,711,547,847,923,731,871,1154,1334,1534,1384,1184,913,800,791,839,857,817,795,1000,1268,1538,1626,1554,1320,1090,985,1156,1232,1384,1126,745,631,686,1001,1288,1256,1158,1350,1460,1022,733,1036,1452,1470,1206,1216,1078,1028,1190,1080,1056,915,729,595,762,741,1532,1964,2160,2128,1484,1254,1434,1562,1388,1210,1120,1296,1262,963,640,555,542,425,391,439,335,326,633,946,759,781,939,839,910,573,899,727,324,354,566,710,616,344,362,329,581,1096,920,1136,1204,1108,975,819,1004,1056,1018,1306,1582,1332,1188,1260,711,742,819,662,470,741,839,529,485,415,334,317,362,505,901,904,510,720,1216,1210,770,536,423,350,348,358,360,404,615,904,1004,963,811,724,670,555,463,551,516,323,310,288,277,277,245,257,271,618,807,648,404,380,431,445,357,310,614,1100,1148,1298,1094,738,727,796,615,807,1144,1112,540,818,773,1324,1512,968,933,710,692,1176,1404,1242,1216,1252,1126,983,843,789,542,642,610,542,901,1374,1292,1048,1094,719,912,652,664,659,1062,997,832,1038,1230,1378,1432,1306,1310,1270,974,830,1138,1180,1388,1324,1358,1384,1362,1312,1306,1204,1092,1526,1636,1566,1786,922,915,762,544,991,1432,1610,1634,1422,1068,841,932,918,977,980,867,760,983,800,760,646,474,444,533,837,592,404,496,762,863,609,343,379,418,404,496,597,756,1130,1424,831,557,414,412,468,427,348,325,318,307,268,350,572,712,522,415,569,839,910,687,705,1132,1382,916,455,311,353,369,331,248,283,514,894,1122,1066,1282,1592,1440,898,660,584,404,419,425,432,394,323,346,352,389,588,717,531,444,717,720,1062,1258,1064,963,1008,989,866,792,719,669,541,419,409,372,371,336,348,342,314,280,254,268,314,316,268],[979,659,381,467,897,880,519,348,469,600,647,628,1110,1348,1378,1858,1520,832,803,781,536,547,660,631,580,841,554,444,468,455,381,366,374,375,384,394,437,376,312,301,334,358,378,378,416,501,496,382,240,509,777,501,444,419,422,473,436,778,1024,932,1102,1044,593,660,780,1072,939,644,626,572,548,630,808,1008,762,488,434,424,472,451,633,1032,786,500,426,377,352,661,1134,1340,1376,1258,735,443,366,381,715,1048,1046,761,390,318,376,467,522,686,651,496,623,747,594,650,639,548,521,496,437,364,181,586,802,509,322,343,478,622,626,557,477,440,377,328,341,349,316,367,352,338,332,529,554,422,412,443,441,426,421,415,407,403,398,375,384,607,496,422,410,424,430,437,448,389,356,338,310,247,214,201,205,222,222,208,212,227,237,239,236,228,218,217,219,217,221,231,269,280,283,304,354,415,429,428,414,442,379,436,716,911,1176,1488,1516,1522,1326,1096,1320,1582,1306,1000,1005,1100,1386,1110,991,717,824,988,976,763,935,1148,747,696,608,549,523,509,538,569,655,717,713,615,713,969,1036,1034,986,999,986,908,835,981,865,562,497,499,550,635,549,496,816,1108,1336,1214,888,786,670,435,377,393,382,384,387,363,398,526,678,622,578,567,727,772,883,880,669,655,693,626,668,536,577,1104,883,614,581,859,669,383,408,383,364,411,397,429,680,997,1210,1284,762,484,471,471,560,686,670,582,673,1128,1498,1380,1420,1332,1164,780,902,1350,1720,1430,1178,1566,1470,1106,1208,1366,1592,1036,1064,997,1013,1188,1422,1005,789,843,595,1174,1778,1410,1138,1250,1480,1490,1218,1374,1362,1246,1190,976,781,807,1072,1102,1430,1238,998,816,681,799,860,837,860,1174,1364,1240,1080,1348,1456,1280,1178,1188,864,484,367,345,389,377,314,292,314,405,510,966,885,868,951,997,1274,1026,698,849,1140,1326,982,1004,1108,875,729,694,1072,869,956,1540,1570,1170,729,517,483,517,473,390,409,428,418,414,412,420,428,446,576,986,1392,1090,1102,932,429,279,411,482,415,412,624,559,694,1238,1184,1060,1208,1228,1348,1250,758,583,516,382,489,875,1114,999,779,605,649,668,1001,1438,1080,672,879,1170,1232,975,755,588,572,980,1108,930,1019,906,786,771,805,987,930,775,700,709,921,1094,1252,1306,1142,886,1062,1168,1636,2004,1508,923,793,896,840,1074,1178,1322,1296,1108,1138,1454,1334,1252,1376,1150,937,1138,1514,1728,1472,1528,2024,1296,885,1488,1574,1650,1422,994,1062,1290,1230,1418,1786,1892,1814,1890,1670,1516,1466,1456,1428,944,534,540,621,676,1036,1042,553,407,351,371,436,444,413,678,839,1066,1362,1176,1286,1378,1616,1434,1042,1056,1296,1268,1344,1222,1360,1460,1444,1436,1310,1256,1492,1314,1200,1146,896,466,546,1098,1310,1110,938,678,689,1028,1032,1074,1074,586,468,409,780,836,700,850,961,751,880,834,980,1346,1416,1656,1628,1566,1530,1158,904,1110,1240,1002,865,1096,1124,984,1272,1180,1226,885,1120,1356,1332,1312,1238,1222,1400,1088,977,1172,1046,992,1084,1284,1112,1270,1380,1656,1582,1322,1338,1288,1448,1290,874,946,1036,1072,1170,1150,1634,1732,1268,1220,1084,964,909,794,614,468,499,572,686,657,546,470,561,748,829,531,355,366,429,502,445,382,372,401,400,448,500,519,457,539,670,599,514,390,317,268,278,296,321,350,337,306,330,353,400,400,438,450,388,364,369,358,354,353,380,369,358,395,419,386,355,365,373,374,418,424,420,438,467,458,715,751,760,946,963,1021,871,969,772,848,1122,1106,896,706,783,931,1013,1072,904,1038,990,1094,915,517,469,734,1182,1428,1274,1288,1092,1242,1558,1202,1013,772,560,421,543,654,731,857,1264,1494,1138,1090,1434,1448,929,1204,1562,1382,737,458,358,351,404,423,668,872,1060,1162,874,1136,1256,1372,1120,1084,709,833,1048,938,1080,952,761,732,700,1142,1226,1298,1248,1136,1036,1032,833,606,781,1019,899,783,709,980,1192,1454,1198,1060,1172,1424,1490,1084,677,846,1418,1306,899,1034,946,918,792,658,841,841,539,496,514,485,425,532,534,589,846,1380,1392,1242,1126,1156,1280,1084,885,1156,1360,1360,1304,1434,1404,980,1096,1302,1388,1294,1336,1362,1322,1182,976,1114,1350,1314,1336,1244,1202,1288,1378,1400,1226,1150,1350,1430,1400,1414,1360,1522,1484,913,853,1172,808,671,708,846,1238,1212,1294,1550,1426,1460,1164,1072,1294,985,512,419,446,423,477,733,805,1004,1236,866,525,447,446,437,429,396,410,451,700,1013,1164,1256,1206,1248,1230,1338,1252,1352,1460,1334,1162,1146,1260,1306,929,832,1156,1312,654,906,1088,998,991,594,545,681,909,996,667,383,336,518,532,481,503,469,401,344,420,405,334,304,266,307,344,296,280,328,450,668,839,721,458,461,491,412,344,322,291,338,373,392,404,430,457,452,414,437,428,390,398,469,522,406,381,404,381,406,529,493,651,1078,1306,1704,1864,1536,1428,1418,1672,1704,1704,1568,1320,881,495,399,440,517,503,644,782,1050,1336,1488,1390,1044,713,500,434,417,352,337,342,352,326,310,303,297,298,294,288,301,307,319,326,472,462,316,271,297,287,280,272,262,285,308,299,280,283,272,285,309,302,310,372,464,429,375,349,339,388,442,421,346,306,278,271,279,319,347,349,339,335,353,319,318,331,322,321,322,325,331,328,322,316,360,349,362,372,350,336,332,385,423,427,475,409,396,480,430,437,457,462,459,480,517,541,546,564,567,712,839,860,901,974,1088,1158,1220,1242,1248,1258,1324,1352,1352,1330,1300,1318,1354,1382,1424,1434,1364,1354,1372,1318,1318,1390,1452,1410,1342,1316,1318,1348,1322,1360,1424,1466,1482,1396,1378,1408,1474,1460,1406,1400,1416,1472,1472,1436,1430,1440,1466,1462,1452,1448,1460,1486,1462,1458,1550,1532,1480,1490,1456,1506,1534,1490,1458,1434,1510,1548,1570,1652,1614,1604,1576,1534,1506,1516,1514,1482,1482,1504,1520,1496,1526,1494,1496,1542,1522,1544,1584,1510,1516,1538,1484,1564,1504,1530,1416,1476,1518,1864,2614,2920,3154,3030,2188,1746,2198,2966,2940,2592,1688,1534,1488,1404,1266,1114,910,718,574,525,525,558,547,535,561,455,340,305,320,326,300,305,347,278,238,321,380,366,322,299,326,342,337,331,293,280,290,278,231,211,253,391,429,375,359,395,449,372,292,581,580,385,410,366,317,336,316,388,365,525,697,670,633,496,417,364,349,360,293,304,307,303,319,354,361,381,373,386,442,415,620,789,710,745,745,794,640,525,470,404,423,412,368,396,456,431,388,398,479,517,503,404,394,394,378,404,431,519,863,1218,1162,919,952,1112,637,478,447,426,773,795,978,1262,1324,1382,1278,1130,1144,1374,1876,1224,1198,976,841,984,940,779,782,817,795,741,752,878,941,1318,1536,1620,1510,1348,1088,1064,1220,1092,831,745,695,783,1068,1242,1078,1268,1092,625,622,1216,1656,1464,1228,1172,1144,1062,841,605,594,465,499,675,775,706,1086,1472,1782,1524,1018,984,1062,1300,1334,1164,598,491,393,489,453,366,541,684,720,493,374,327,521,780,590,489,1001,909,576,392,385,311,280,417,731,808,611,382,320,315,740,1226,1138,1078,1210,1336,1252,1278,1188,800,882,760,750,783,865,986,982,998,907,907,932,1214,1186,1100,725,701,675,485,599,690,537,371,458,780,1194,1206,957,600,478,382,409,475,504,539,521,977,1384,1384,900,636,849,998,957,919,504,316,343,354,307,245,216,234,273,412,729,1048,923,659,897,485,305,295,711,1382,1620,1506,1324,992,1008,902,598,700,813,771,719,1118,1196,1138,1146,1246,1146,808,868,963,1188,1198,1210,1284,1190,1100,852,982,730,494,545,571,939,1516,1346,967,1032,954,1224,1218,1192,1056,1062,1130,1154,1132,977,818,808,695,689,1162,941,836,1206,1306,1436,1340,1422,1686,1650,1284,1148,1222,1007,1100,1246,1478,1224,758,989,752,421,585,962,1472,1620,1466,954,846,909,1016,1034,936,948,1088,1038,1252,1862,1742,1088,781,646,837,528,420,350,438,543,432,362,426,452,507,692,782,946,1038,928,695,545,473,473,455,414,431,376,325,316,384,518,438,448,556,586,567,580,628,711,670,982,1368,1010,618,620,551,462,355,280,334,497,532,737,1128,1178,1350,1392,1056,656,571,439,398,407,350,328,346,347,354,372,416,413,512,943,1314,1116,1084,941,831,962,1354,1294,785,648,624,719,547,445,427,408,389,333,358,382,351,281,245,239,254,253,265],[1410,1030,615,724,1130,822,403,274,424,760,935,952,1328,1456,1506,1502,1354,1120,728,883,845,684,631,529,462,809,737,539,404,382,362,360,365,346,422,437,505,386,271,246,351,401,397,382,386,430,420,347,301,304,347,373,407,412,416,498,568,1070,1434,1118,1084,1226,1066,932,884,999,709,621,637,667,662,880,1076,880,579,447,384,397,491,438,642,885,880,610,430,480,491,598,749,924,1152,1098,1094,608,345,320,484,607,563,514,428,296,339,392,558,750,656,893,1610,1108,987,741,522,545,649,629,546,564,520,391,311,276,348,333,626,902,673,539,484,419,356,299,330,322,322,370,336,336,307,448,514,444,430,449,445,438,426,421,405,398,391,366,433,1056,792,439,402,440,519,713,545,344,317,299,226,171,171,198,222,231,226,225,230,230,230,233,238,230,226,226,233,237,265,290,318,315,313,323,372,388,414,430,423,431,475,723,849,816,820,1023,1396,1746,1642,914,930,1326,1428,1072,1224,1142,1486,1490,1246,778,662,758,627,483,736,1088,959,646,557,523,491,519,538,529,576,674,749,752,828,933,936,972,1030,1114,1124,1140,1088,1042,885,796,749,740,897,739,542,938,1066,1130,1240,1234,989,822,684,459,387,367,407,439,478,465,380,443,396,456,730,861,1104,1142,962,734,633,688,664,487,517,528,927,1236,844,768,697,678,535,469,435,419,375,378,413,654,719,847,1384,1478,780,387,445,563,670,662,510,510,494,800,1152,1204,1588,1838,1566,1017,963,1282,1412,1076,974,1340,1406,1350,1104,1172,1324,1268,1122,1036,1300,1252,912,734,1078,1078,897,1526,1560,1334,1372,1086,1192,1578,1756,1464,1240,1444,1470,1620,1124,824,946,886,1292,1390,1246,1138,1058,1126,1009,775,1086,1188,1188,1088,703,1198,1348,1450,1386,1206,809,442,375,345,324,329,348,270,369,666,767,1042,1206,1356,1242,1360,1284,926,837,861,1088,1358,1218,1204,1286,1072,848,884,1096,1066,1424,1490,1378,844,611,465,442,493,451,447,469,450,355,356,439,473,446,457,532,559,738,916,1080,791,361,312,312,262,287,263,288,405,529,884,918,948,1250,1019,948,968,948,756,606,557,668,1058,1156,1206,1056,735,819,608,1074,1462,1130,890,1001,961,1100,1112,684,501,571,613,816,715,835,793,607,727,1048,1200,1098,896,750,667,940,1122,1072,1104,1506,1466,1200,1164,1732,1862,1450,1010,947,1068,1066,1064,762,1032,1272,1316,1360,1444,1368,1278,1296,1048,692,820,1082,1692,1230,1136,1704,1262,1098,1616,1614,1450,1328,1356,1416,1394,1354,1602,1610,1716,1802,1812,1796,1722,1730,1760,1620,1224,840,797,1110,1096,1098,959,507,372,280,328,423,379,379,651,926,1200,1528,1394,1424,1268,1226,1446,1284,1056,1036,1300,1446,1302,1328,1262,1168,1130,862,869,1160,1102,974,1100,886,653,767,1162,1340,1370,1096,615,763,1204,1156,909,1166,945,865,797,830,1072,924,539,745,907,1266,1132,1094,1400,1378,1202,1312,1522,1650,1528,1340,1344,1264,928,858,820,1108,1032,1086,1102,1284,1256,1180,1050,985,1074,1214,1240,1102,1090,1120,905,878,820,990,1016,1110,1272,1380,1626,1552,1338,945,1096,1218,1028,958,1098,1312,1074,982,1280,1376,1194,1136,1256,1328,1062,835,643,626,789,666,446,430,661,753,599,599,604,585,381,371,376,374,447,525,471,461,500,517,538,478,594,546,445,424,437,387,348,312,283,281,287,302,340,341,355,373,427,424,402,422,419,369,370,354,336,347,367,387,392,359,384,407,379,321,342,384,434,430,443,466,481,478,434,422,713,763,913,891,963,1021,1238,1034,926,1238,1362,933,625,776,855,971,1162,1318,1278,907,758,536,422,344,468,929,1512,2204,2004,1206,1706,1986,1522,1116,855,719,533,571,764,943,1034,1214,1588,1530,1290,1502,1318,993,1462,1788,1250,617,533,569,443,387,548,714,672,686,690,540,857,954,1130,1172,873,489,703,973,717,730,829,645,474,755,1170,1122,1120,1132,1098,1194,1228,1084,880,1158,1258,1256,1110,800,954,935,974,847,977,1188,1294,1274,859,713,1001,1080,1070,1448,1352,1192,1086,972,1152,1216,1112,653,657,959,862,442,620,617,857,1102,1398,1508,1438,1356,1372,1372,1160,1104,1218,1060,1076,1448,1518,1100,747,755,980,1204,1458,1608,1384,1466,1300,691,895,1394,1464,1402,1220,1216,1330,1506,1442,1284,1352,1388,1402,1538,1522,1484,1598,1638,1094,1078,1090,879,1178,1292,1198,1314,1088,1406,1546,1322,1422,1198,1182,1250,803,546,504,432,472,379,478,811,962,1054,1190,871,589,476,448,441,527,690,996,1158,1028,912,898,1162,1506,1080,1094,1372,1572,1450,1114,1080,1126,1180,1388,870,952,1296,1078,563,668,729,614,543,584,551,560,692,590,631,464,339,321,306,346,692,963,735,499,457,505,377,297,248,268,322,301,292,298,390,559,697,624,407,393,475,529,441,373,365,385,412,447,475,494,472,415,426,437,433,412,472,419,353,364,366,379,426,458,540,506,454,745,1156,1576,1910,1848,1838,1526,1394,1518,1638,1632,1352,752,416,409,430,422,433,475,501,482,665,1012,1358,1440,1366,1076,747,529,406,354,330,350,340,345,351,337,321,319,323,331,349,347,351,420,342,282,275,307,301,289,283,282,265,286,345,297,286,274,302,338,308,297,322,372,379,314,301,337,365,424,396,336,341,285,276,280,315,359,358,345,336,331,315,310,320,326,322,320,316,318,322,320,324,352,352,401,422,403,387,365,424,417,456,577,541,507,583,573,562,580,562,578,691,801,936,1062,1174,1206,1268,1300,1350,1438,1532,1578,1614,1598,1510,1490,1492,1508,1554,1510,1494,1488,1562,1578,1522,1562,1620,1540,1452,1410,1418,1500,1516,1422,1400,1438,1462,1482,1482,1448,1440,1450,1434,1396,1362,1424,1432,1374,1370,1368,1378,1356,1342,1368,1398,1360,1334,1310,1324,1356,1362,1328,1302,1384,1418,1476,1498,1502,1438,1400,1362,1282,1306,1384,1428,1346,1302,1390,1518,1482,1328,1260,1210,1172,1116,1102,1086,1078,1116,1062,1002,1016,1064,1228,1644,1750,1576,1588,1540,1518,1500,1498,1554,1432,1482,1514,1506,1470,1766,2414,2762,3028,3022,2288,1750,2014,2702,2640,2370,1768,1532,1208,836,633,506,447,440,477,566,543,522,539,433,449,420,372,327,345,368,332,339,397,341,238,257,353,362,345,287,314,324,310,296,276,273,237,207,204,237,437,1114,943,770,649,585,635,664,612,641,575,383,366,289,258,272,260,282,292,356,360,525,664,700,642,505,475,447,388,361,307,317,343,407,417,390,358,372,486,548,462,499,440,561,525,630,556,545,549,474,458,445,409,471,385,333,400,464,483,642,501,471,417,312,375,516,589,824,991,1138,1554,1192,757,956,614,641,744,605,717,931,1050,1078,1454,1504,1198,1056,1456,1668,1360,1326,1166,885,866,1092,1030,759,724,791,993,830,606,775,904,850,1007,1324,1548,1584,1504,1282,1052,921,952,990,930,802,978,1062,986,1308,1078,712,675,1038,1310,1130,920,900,940,780,589,358,406,442,449,617,1044,1234,1042,969,951,772,614,950,1054,1304,1218,831,414,385,380,371,345,412,530,737,938,620,535,437,327,357,375,414,805,1066,830,422,343,332,305,402,578,403,335,291,361,511,514,627,763,854,1084,1296,1366,1278,780,444,392,382,406,414,540,741,771,739,1034,1122,675,645,1126,1194,867,1236,1372,1158,1260,1276,832,467,601,905,850,509,422,325,355,352,458,683,846,1020,1152,1206,1156,1108,886,872,1070,1422,1326,883,456,422,423,336,279,241,256,306,320,424,835,1122,1172,930,1050,588,336,361,755,1464,1696,1434,1034,811,1098,1182,1072,803,462,480,901,1252,1228,1036,1202,1302,1116,1076,1086,1032,1220,1184,1013,1086,1006,909,929,1092,1114,1088,1208,1320,1362,1476,1166,1216,1224,1078,950,855,792,741,738,768,645,508,412,401,684,564,609,1182,896,800,1146,1312,1474,1510,1556,1814,1690,1076,1152,1346,1104,1046,1198,1472,904,596,760,555,364,402,525,1074,1328,1052,797,755,788,862,948,852,905,1144,1316,1874,1952,2064,1844,1282,805,731,616,476,404,356,317,331,352,378,496,533,613,820,1092,1030,636,516,537,532,526,453,479,637,510,320,288,398,505,375,348,375,502,528,427,580,913,882,941,1054,703,466,728,1076,830,399,327,389,482,363,513,957,1098,1076,1028,1390,977,1100,749,347,315,304,319,348,367,364,430,480,463,688,1152,1270,999,729,495,588,1142,1702,1080,604,507,358,579,586,479,526,670,547,411,351,329,348,272,249,250,273,280,265],[1366,935,742,619,803,568,387,292,536,935,1218,1226,1166,1230,1208,1088,901,731,814,1266,1100,915,598,446,683,1216,1354,894,429,344,332,352,386,356,494,566,504,388,309,269,325,361,397,400,370,407,473,439,377,330,386,419,438,426,396,425,537,1013,1426,1036,860,1266,1248,909,786,681,492,686,967,835,681,753,610,527,444,388,415,479,493,468,502,776,1086,902,680,649,581,461,357,727,1326,667,774,487,321,299,342,410,400,431,452,274,383,593,702,1094,1002,866,760,834,985,727,610,673,622,503,341,538,729,554,447,257,314,629,1062,971,784,716,544,485,579,431,412,320,333,311,291,330,328,446,503,408,418,448,427,426,418,406,400,395,371,368,408,492,436,439,566,713,619,907,525,312,232,199,181,189,202,213,219,222,234,245,245,236,233,235,245,239,243,252,259,291,334,367,409,419,384,335,350,371,386,395,396,386,494,908,1220,1194,851,879,1023,1346,1888,1146,957,1126,1182,891,1040,925,1009,1486,1630,1268,922,970,869,905,888,958,1158,787,560,551,521,526,512,490,526,662,784,794,745,721,716,744,811,847,993,1066,1032,1062,1094,1120,984,1022,1106,673,549,1328,1562,1062,866,1078,785,603,749,603,420,371,371,386,438,384,432,506,474,664,1142,1444,1556,1302,861,986,945,762,734,842,968,1126,1446,1072,628,608,682,731,677,574,486,454,354,355,414,744,772,758,782,613,547,468,564,899,1006,413,343,580,866,979,976,1074,976,1106,1208,955,1048,1276,1204,922,1044,1188,1064,1026,959,874,1080,1448,1548,1678,1480,987,670,893,1214,1208,1210,1296,1028,1252,1592,1138,740,958,1156,1154,1176,1472,1708,1346,811,835,1094,1228,1284,1276,1282,1178,888,868,544,399,661,847,1032,1118,668,508,710,1046,953,839,686,413,344,376,371,349,357,322,353,857,963,1058,1526,1610,1724,1682,1160,1190,901,609,652,998,1262,1172,1070,1098,938,1312,1494,1138,1410,1290,1236,691,656,518,450,462,485,506,478,440,346,346,420,494,458,445,436,337,408,677,1016,812,392,306,277,281,289,265,322,550,331,409,893,971,962,761,526,1184,1770,1000,532,551,688,1096,1116,944,1012,1062,891,511,505,784,878,1072,1030,758,1072,1078,727,556,870,505,631,1088,1326,1078,765,713,913,1054,1003,727,811,843,673,636,651,1026,1442,1380,1136,1094,1212,1272,1428,1128,1316,1466,1522,1248,781,1054,1032,991,1462,1376,1172,1242,1526,1022,499,774,1318,1582,1302,1296,1772,1680,1636,1660,1492,1394,1440,1620,1394,1070,1260,1500,1674,1528,1506,1692,1606,1620,1700,1688,1592,1300,1060,1046,1158,1374,1346,971,543,350,287,350,383,436,666,683,896,1206,1598,1562,1504,1126,1288,1510,1354,987,724,953,1312,1158,1102,1322,1322,1194,826,526,509,669,766,821,1024,964,885,866,1042,1556,1192,865,819,1150,1100,1206,1534,1348,1021,778,861,1046,971,733,623,769,951,1018,1148,1334,1458,1164,1064,1286,1512,1592,1376,1318,1088,965,996,1100,1270,1306,1054,960,1296,1460,1264,959,843,846,1032,1186,1316,1368,1300,1086,926,988,1228,1222,1368,1490,1854,1570,1400,1156,884,924,741,854,1206,1414,1620,1240,686,797,732,504,838,1096,1122,811,681,520,491,598,559,466,507,735,622,605,789,830,897,612,547,505,457,505,547,455,416,470,485,467,414,551,502,404,400,382,341,323,304,312,314,266,298,343,322,404,404,428,412,392,398,372,346,376,384,369,399,416,428,377,349,356,363,397,394,441,469,432,407,419,467,502,434,407,609,918,736,802,961,841,916,1064,894,758,920,1022,1046,789,642,850,1102,1280,1024,860,781,492,463,437,369,450,762,1266,1548,1290,1182,1532,1522,1196,764,625,675,549,447,529,747,1001,1562,1614,1614,1246,1128,1130,1178,1574,1760,1242,655,915,1048,615,402,413,689,841,565,412,447,811,799,849,1134,760,434,758,1346,1322,836,541,434,673,1108,1304,1152,993,940,1098,1126,1030,879,719,1068,1096,982,646,475,521,620,756,993,1260,1152,1102,1192,813,822,1102,1080,2286,2814,1836,1220,1020,1262,1408,1066,916,742,629,807,645,529,883,1020,1246,1274,1390,1500,1522,1422,1282,1212,1232,1416,1294,1004,1012,1494,1336,1112,1104,843,926,1234,1178,1042,1250,1574,1360,709,947,1232,1396,1300,1138,1314,1244,1250,1296,1312,1284,1394,1444,1312,1340,1408,1438,1456,1250,1114,1064,1286,1350,1250,1282,1516,1566,1566,1174,700,858,1230,1430,1082,703,822,718,432,343,337,567,1019,1140,1238,1234,1200,949,483,491,726,1082,1144,1332,1198,1044,613,331,636,1082,990,842,1052,1252,1122,964,971,1268,1038,962,1070,1210,1518,1162,503,495,571,584,518,498,384,408,422,393,389,370,379,411,391,338,406,612,921,704,425,419,361,295,259,279,325,300,309,332,335,386,510,612,463,434,463,483,448,390,413,425,429,436,406,396,403,373,394,380,383,392,461,388,327,370,373,444,559,520,516,444,345,575,1046,1764,1826,1908,1924,1592,1328,1250,1460,1632,1268,605,389,358,356,350,398,404,383,389,412,583,783,1054,1336,1516,1410,1074,749,441,401,350,367,359,351,344,338,332,343,365,405,549,644,640,364,301,299,311,318,311,303,302,305,447,594,371,272,268,319,336,312,301,295,302,331,349,407,458,437,402,331,339,305,324,329,310,307,345,360,348,342,327,316,347,341,313,302,295,306,309,314,330,357,354,360,420,480,481,495,428,425,384,408,611,727,746,780,832,896,1026,1160,1212,1384,1438,1472,1494,1504,1542,1590,1598,1588,1566,1490,1390,1310,1222,1134,1108,1044,985,993,1015,1066,1072,1080,1003,1006,1300,1338,1011,737,719,759,789,811,805,785,977,1328,1572,1576,1136,737,696,693,681,645,596,568,612,662,619,552,555,600,675,651,502,552,608,602,523,530,624,636,730,972,1096,1034,998,932,913,833,725,684,1130,1542,1042,755,843,1120,1028,686,602,571,599,561,555,582,568,506,469,509,538,566,939,1730,2204,2090,2258,2292,2326,2276,2160,2076,2054,1924,1782,1704,1628,1942,2280,2386,2494,2552,2164,1736,1882,1970,1762,1596,1380,1094,725,498,495,534,502,467,430,419,364,352,393,376,408,418,384,350,348,369,361,354,373,361,318,308,347,339,255,220,266,285,301,283,293,339,304,259,265,301,332,763,720,828,745,789,1100,1190,1042,877,507,390,297,210,220,248,235,226,253,269,272,288,352,472,508,633,670,693,571,472,399,373,358,360,343,332,312,321,436,525,433,397,422,405,363,358,387,533,647,639,717,576,483,548,327,333,451,567,663,875,800,668,626,853,1174,1080,1046,944,650,573,890,1526,1054,929,724,818,938,1001,1080,1138,1114,861,1068,1272,1290,1208,1806,2226,1480,1422,1414,1042,1050,1360,1150,567,583,698,661,830,734,744,846,927,860,906,1080,1372,1554,1574,1454,1256,1008,966,1005,1170,1418,1384,1340,1306,907,630,593,607,640,627,632,770,725,485,412,402,429,507,502,582,952,1106,934,689,437,433,802,796,743,1076,974,702,453,459,645,457,334,403,406,432,565,526,553,474,407,346,358,524,696,835,927,782,379,306,397,580,494,309,436,477,377,379,348,336,451,528,575,896,1294,1176,628,493,460,455,444,431,527,664,707,655,786,897,548,524,940,861,877,1242,1534,1930,1952,1460,967,665,595,859,515,340,319,306,333,391,443,857,1202,1132,1050,1028,843,913,807,1296,1550,1454,1134,974,828,806,849,649,475,336,370,427,339,525,984,1016,1086,1038,935,636,379,492,675,920,1128,1156,1130,1160,1170,1272,1126,940,659,615,1015,1116,685,708,1108,932,750,692,697,1220,1456,1314,1212,1214,1082,1126,1274,1310,1200,926,945,1128,1106,949,775,624,502,413,387,484,562,414,343,467,575,585,533,488,643,607,478,618,638,862,1246,1470,1414,1148,1180,1532,1036,617,959,1196,1140,1034,1196,1294,773,492,359,414,390,306,369,552,884,1056,930,820,803,791,756,613,753,1066,1492,1790,1372,1616,1920,1328,826,877,1048,915,582,456,415,448,479,386,418,530,548,464,527,637,605,457,419,468,483,493,540,643,478,359,338,302,323,422,424,349,355,366,370,469,890,1260,1200,927,565,444,424,625,545,439,376,384,517,493,498,696,1038,1186,1172,1320,1346,1086,511,358,371,377,329,332,356,389,494,482,718,1034,1130,1146,1202,1078,708,525,692,828,599,1076,689,361,485,731,653,681,763,521,359,269,303,349,267,258,255,255,260,251],[1428,882,741,462,462,393,422,374,521,742,934,947,946,1034,955,984,752,578,1021,1340,1394,1340,1174,1052,1356,1840,1502,755,441,449,517,452,391,335,428,477,438,380,320,277,285,375,455,433,440,509,535,514,432,379,430,505,491,393,395,466,630,882,755,613,799,1136,854,629,623,515,522,963,1156,883,636,505,611,868,936,1226,1708,976,527,460,411,580,882,827,509,369,385,408,445,641,815,487,401,489,416,270,252,280,329,362,384,331,447,528,952,1656,1266,730,620,514,445,566,560,426,412,494,414,357,232,353,332,281,667,1390,1224,725,617,703,598,574,612,584,393,321,375,346,316,319,355,449,491,389,419,449,429,412,390,383,383,402,381,375,401,409,469,531,539,512,432,446,342,218,173,199,212,216,208,199,205,220,228,239,250,245,250,245,247,250,243,256,302,364,352,372,515,499,396,354,360,375,385,393,390,384,406,603,1076,1210,1138,1274,1272,963,1350,777,821,1128,1506,1306,1086,1013,828,754,1072,1378,982,880,1052,1160,1094,898,1106,996,650,576,518,466,462,489,531,569,621,698,706,691,582,525,508,636,847,923,1013,1114,1068,1324,1326,1294,1214,821,639,1084,1346,1252,1454,1166,716,608,946,880,486,437,451,455,521,1344,1590,847,728,743,1174,1616,1836,1536,1002,1316,1148,1048,1024,1206,1406,1398,1262,855,598,641,685,664,674,937,787,688,569,505,537,535,577,715,717,645,720,694,642,907,756,383,310,662,1062,1116,959,1044,1224,1028,746,783,854,933,869,894,884,1072,769,861,1012,802,626,598,981,1360,1328,868,935,1013,1066,1304,1280,911,843,1106,1184,946,830,1042,1070,1234,1128,1236,1160,781,802,724,1086,1168,1004,1138,1298,1044,543,804,516,490,385,390,909,1218,844,516,777,928,493,430,451,388,347,395,379,354,349,344,338,480,475,777,1384,1350,1422,1398,1442,1654,1052,696,495,778,1154,1076,1078,1052,656,902,836,1160,1278,1316,1226,961,865,670,561,455,477,604,723,508,458,425,445,444,458,454,426,374,545,874,1156,938,459,380,322,271,250,256,271,506,448,473,639,869,1078,747,506,1114,1512,819,545,638,711,985,1009,885,881,841,750,530,448,548,730,988,1124,1136,1328,1130,1034,1090,930,598,979,1848,2204,1920,1474,1070,1200,1294,1216,970,1020,993,965,860,911,1174,1340,1192,871,860,1318,1228,1274,1354,1454,1498,1412,1334,1132,1132,802,955,1582,1452,1412,1258,1124,954,1238,1542,1644,1588,1614,1670,1828,1732,1670,1522,1694,1200,1282,1540,1556,1216,969,1086,1670,1626,1528,1592,1866,2150,1196,1476,1738,1582,1326,1166,1370,1334,1212,807,455,339,320,305,330,510,708,699,822,1146,1246,1278,1058,996,1246,1376,1278,1001,722,651,1080,1378,1628,1260,939,1064,871,437,389,502,500,589,977,966,816,545,494,719,717,766,676,928,1162,1304,1354,1172,983,966,959,1174,992,1015,861,629,646,849,1048,1332,1466,1146,931,1064,1228,1376,1318,1212,964,927,1166,1450,1520,1366,1188,1350,1496,1172,1009,884,705,701,829,1092,1644,1434,995,1148,978,921,1032,1324,1498,1626,1696,1450,1060,830,1086,1304,843,686,1208,1498,1138,770,502,458,563,454,574,1018,1132,973,846,581,411,686,1012,789,579,769,568,571,938,916,882,721,664,744,909,681,473,590,477,474,522,459,393,483,458,403,425,369,314,334,319,330,346,284,298,309,302,384,430,429,412,402,400,380,372,383,372,411,424,416,426,339,400,461,421,413,427,450,444,401,378,386,397,400,419,371,496,609,786,1023,1094,990,1040,1005,773,691,794,924,802,642,554,936,1284,1218,999,1512,1608,854,513,439,611,518,725,1042,1302,1386,1044,868,1046,1023,639,781,951,499,509,530,727,956,1108,963,1388,1436,1334,1260,1230,1604,1586,967,621,1086,959,455,373,362,630,910,910,617,442,606,671,1016,1262,617,408,916,1674,1812,1096,805,979,1016,1090,1136,1356,1402,1274,1108,1238,1172,990,933,1048,916,605,524,664,664,761,1102,1376,1240,1232,1288,1546,1428,1040,778,1926,2406,1354,950,626,554,852,986,1005,975,1292,950,453,396,810,985,1150,1376,1370,1374,1432,1394,1356,992,872,935,1166,1084,1052,1158,1030,799,1017,1076,637,852,1256,912,648,936,1250,1116,678,517,593,974,1162,855,975,995,1112,1422,1021,1298,1592,1572,1302,1418,1634,1444,1460,1322,1138,1290,1474,1320,1350,1448,1550,1488,1292,1094,783,720,1005,996,816,541,488,603,497,435,677,1140,1256,1314,1298,1368,1528,1236,955,1334,1542,1462,1242,1308,1304,1158,689,627,990,1032,1132,1028,1005,1064,783,523,760,1148,934,1102,1302,886,960,882,648,848,774,564,444,406,367,434,432,404,369,358,359,390,454,448,383,363,443,446,424,414,404,336,315,343,373,352,318,329,336,356,440,601,499,451,482,450,355,318,303,305,339,357,351,350,345,379,368,375,448,426,407,383,378,375,352,388,433,422,396,341,328,355,523,1038,955,1160,1266,1122,1048,1198,1380,1060,727,459,358,369,365,379,403,393,354,375,383,405,584,764,812,995,1336,1464,1356,976,598,458,436,381,329,339,343,327,345,407,558,752,633,457,297,274,295,323,333,331,319,280,297,463,440,329,285,281,333,345,322,304,294,295,311,374,429,391,372,368,318,317,322,339,358,358,325,330,359,344,341,333,339,405,400,325,304,324,336,338,351,369,404,382,376,437,499,488,503,471,490,517,563,746,1034,1272,1384,1510,1578,1638,1648,1556,1568,1588,1598,1606,1578,1522,1396,1222,1028,849,753,818,811,637,537,504,507,539,571,518,519,579,589,604,788,1156,1126,889,502,340,385,437,581,570,536,1060,1482,1394,1204,648,364,344,343,344,318,304,336,324,307,295,294,309,308,308,357,344,336,325,315,314,325,338,337,375,551,662,597,816,838,1026,1148,1116,1212,1492,1694,1356,1028,1038,1020,873,824,853,873,787,713,765,791,671,584,610,579,468,476,673,1524,2426,2478,2612,2742,2780,2410,2436,2770,2856,2710,2612,2348,1922,1814,1516,1476,1532,1572,1482,1164,1098,1200,1282,1208,974,636,462,462,483,456,424,412,437,419,372,367,337,320,334,343,348,339,344,341,328,310,332,361,352,345,338,339,307,278,279,270,300,314,300,318,320,313,315,321,318,342,292,363,420,420,449,485,671,877,479,349,266,269,304,319,321,290,288,303,252,256,308,302,314,338,528,671,912,855,635,525,456,343,304,292,274,302,335,271,400,552,539,469,413,416,386,468,719,728,875,874,567,428,277,267,386,658,1023,1072,977,1102,1292,1382,1732,1836,1466,1158,995,699,803,790,981,1368,1274,965,998,1410,1466,1432,1338,1001,1044,1258,1054,570,1428,1948,1610,1490,1334,987,748,935,507,325,563,681,823,689,532,628,752,835,1015,949,824,788,1122,1428,1592,1596,1382,1170,1009,979,1164,1238,1278,1290,757,470,584,673,391,471,893,1204,1164,626,369,369,378,445,433,360,343,391,424,396,472,505,808,842,891,1084,1138,889,466,591,922,782,977,894,617,507,454,456,477,418,395,429,425,553,714,791,688,959,713,627,857,1070,735,461,633,722,550,427,372,484,556,704,655,583,875,781,664,551,598,777,633,487,637,705,564,542,1002,1042,1104,1056,1056,957,981,1036,1226,1830,1772,1134,964,795,660,1056,926,573,387,329,589,606,408,686,936,740,883,1346,1576,1366,824,1080,1252,1186,974,951,909,800,832,668,564,446,683,742,408,444,631,837,1106,974,698,618,642,1026,1062,1002,985,1218,1348,1292,1022,1032,949,761,852,990,1110,873,801,1007,1066,1088,991,1134,997,935,1062,1142,1234,1070,711,615,524,647,872,1106,1050,928,936,1092,1108,967,798,668,491,583,603,524,369,411,575,541,428,391,434,508,511,396,529,736,1158,1188,1336,955,827,1550,962,714,1052,1164,1112,906,1234,1474,1352,995,606,489,452,655,538,333,531,858,1054,1052,812,758,592,427,471,835,1478,1606,1954,1712,1246,931,617,547,658,883,959,675,377,423,479,427,434,651,810,970,830,560,675,686,531,399,412,456,537,580,414,351,365,358,713,1248,956,391,337,339,342,457,948,1076,865,740,565,362,414,431,396,407,430,363,423,504,476,517,1028,1322,1110,1096,1338,1218,631,552,775,778,546,426,354,385,488,633,1012,1096,1002,1230,1530,1318,977,629,551,613,919,1430,946,494,486,670,681,617,464,348,255,239,316,437,341,280,256,250,264,260],[1004,639,520,632,645,492,348,356,453,608,571,600,623,885,697,704,853,902,1292,1354,1584,1390,1038,1132,1396,1312,1328,1216,707,561,629,607,422,347,368,333,361,361,336,332,357,410,428,442,440,486,506,528,474,383,399,513,532,424,483,504,727,689,545,479,573,580,588,709,828,640,648,987,953,1064,1082,1011,1148,1068,974,913,786,647,513,390,394,569,961,698,354,468,687,628,515,455,467,413,357,366,342,244,244,239,269,269,322,322,359,363,907,1506,1262,777,441,367,462,649,487,320,322,471,571,500,374,303,286,283,898,1540,1112,927,625,626,519,461,437,446,302,313,347,368,357,338,380,484,439,419,440,440,423,407,383,374,370,384,400,403,413,426,433,461,473,443,373,324,263,196,203,214,220,216,228,255,233,236,225,230,240,243,230,222,232,235,248,305,386,432,451,542,556,540,627,561,385,382,404,401,392,400,412,469,656,1228,1764,1324,1220,924,665,409,675,1112,1474,1586,1252,933,790,786,713,808,837,957,1332,1370,1478,1164,933,1120,865,578,531,463,434,498,508,484,525,531,596,681,694,553,474,786,953,990,1094,1096,1202,1620,1712,1356,1134,894,691,744,644,857,1364,1078,1334,886,1332,1216,638,460,503,479,524,1308,1248,720,818,759,1118,1502,1800,1514,1236,2464,2154,918,705,910,1288,1568,1246,952,735,539,596,725,706,885,717,891,908,657,644,703,596,698,752,612,637,749,686,705,508,377,487,766,1124,1386,966,1062,1322,888,655,919,826,672,1180,1132,906,955,821,847,947,899,988,768,866,871,1120,1132,1470,1416,1258,1126,938,766,919,1076,1212,1242,1048,1278,1466,1416,1144,1010,979,1120,1050,951,1172,1108,989,766,753,708,406,608,761,786,489,382,875,1126,870,548,679,841,510,407,444,409,374,363,346,358,376,360,373,435,457,623,1250,1180,1076,1015,930,973,822,577,364,656,1204,1232,1062,1023,633,930,951,1198,1362,1146,981,1202,1006,637,612,640,897,2164,1878,740,505,449,453,453,460,455,439,547,810,1064,1262,1046,529,472,478,306,281,262,287,393,303,515,947,1150,1172,583,568,846,667,648,662,691,744,639,653,894,968,883,554,358,422,783,1064,865,1102,1378,1204,1114,1224,1272,1204,1228,1424,1894,2230,2172,1530,1194,1232,1088,1202,1232,1190,954,825,1026,1194,1344,1344,927,891,883,1072,940,1242,1302,1134,1060,1076,1334,1290,1220,935,654,988,1272,1268,1224,756,917,1428,1566,1252,1260,1572,1544,1582,1666,1666,1380,1506,1318,1144,1308,1312,1160,852,1110,1694,1716,1660,1650,2142,2092,1028,995,1472,1558,1544,1538,1554,1498,1164,936,894,480,300,313,307,318,362,543,523,590,924,1204,1168,1180,1240,1172,927,833,551,730,1506,1578,1554,1084,918,1184,767,414,414,579,615,669,1007,911,615,416,443,476,891,987,534,521,879,1302,1304,1256,1110,1100,1050,1150,701,511,684,817,590,702,1126,1124,1232,1344,1428,994,992,1268,1108,957,807,821,1168,1528,1444,1440,1256,1046,884,1026,1021,688,501,659,931,1382,1604,1288,1366,1434,811,713,1170,1416,1576,1562,1650,1554,1120,885,963,884,678,778,832,721,462,410,428,493,492,396,467,888,1234,1260,1001,552,542,1074,1334,996,561,490,432,661,786,633,596,590,721,853,909,623,654,1013,853,590,585,504,406,495,479,394,427,425,393,369,356,333,321,301,354,339,356,450,454,431,422,399,377,408,390,379,336,379,375,362,352,334,407,470,422,388,393,415,423,367,347,357,357,466,670,553,567,1242,1574,1146,1096,996,1134,1122,908,704,650,805,651,744,777,1001,1252,1158,927,914,1074,819,455,429,885,629,522,846,1396,1460,1108,727,843,752,605,1298,1592,780,931,954,962,1224,1290,898,1250,1476,1126,997,1172,1432,1262,943,689,902,539,413,451,356,410,577,651,663,939,899,668,919,1142,719,523,692,1002,1318,1168,943,965,1128,1162,775,1166,990,686,498,1180,1278,1260,1090,918,942,820,766,998,1048,1036,1500,1260,1106,1180,1136,910,1180,1198,907,1106,692,431,431,393,487,658,1007,1072,1112,1400,1310,855,805,1132,1258,1250,1274,1192,912,918,1136,1430,1152,769,833,969,951,1158,1344,996,938,1276,910,626,1108,1388,1068,1034,1110,1240,1324,1058,590,445,777,1038,771,892,1140,949,893,814,1042,1276,1426,1296,1526,1714,1376,1284,1176,1250,1326,1306,1404,1456,1370,1528,1276,913,1092,1238,1214,1024,672,771,478,534,777,644,647,1078,1266,1322,1294,1260,1558,1364,1166,1202,1434,1520,1532,1286,1148,1204,1380,1116,795,952,887,1190,1268,1154,998,925,944,976,1152,1288,1360,963,393,444,595,895,1166,719,408,421,438,437,423,357,348,379,375,381,415,472,454,470,437,448,456,447,440,440,412,379,367,368,358,307,308,322,328,361,495,541,451,390,346,294,270,268,285,316,338,353,363,337,398,375,354,410,429,400,400,362,328,333,356,309,292,281,298,308,292,317,302,321,384,396,477,525,590,603,371,349,420,353,336,354,363,375,348,357,438,466,363,354,385,488,654,752,922,1282,1460,1284,1020,705,491,390,408,484,465,437,614,903,602,326,270,269,299,295,313,314,321,339,306,305,531,435,337,297,267,345,362,324,303,305,310,340,374,401,352,360,390,361,318,307,306,330,365,357,344,359,344,339,350,345,424,416,350,351,363,365,384,394,416,448,396,393,426,470,467,517,625,806,1021,1244,1464,1624,1670,1614,1588,1536,1576,1622,1632,1644,1564,1396,1172,981,858,747,633,567,548,601,637,580,409,422,467,460,488,501,404,362,422,625,811,901,1096,995,785,471,365,408,417,415,453,916,1360,852,509,419,357,339,307,342,365,345,321,293,290,319,314,314,322,336,349,387,359,324,324,319,320,332,362,368,347,423,561,654,915,1042,1208,1338,1422,1516,1636,1750,1448,1078,1012,1102,1122,896,768,709,739,849,809,708,775,874,841,793,877,877,846,1520,2462,2656,2732,2744,2728,2720,2828,2876,2938,2900,2850,2832,2420,1730,1412,1460,1558,1472,1456,1402,1188,1448,1560,1442,916,487,368,353,339,307,351,402,423,408,386,369,353,325,276,301,366,350,358,340,291,273,327,357,355,359,347,343,338,295,243,237,312,332,300,307,330,318,305,335,397,415,424,433,437,392,503,386,589,681,430,315,237,298,360,368,379,392,418,421,336,340,319,280,290,294,268,316,516,694,752,689,581,480,375,288,216,243,251,334,489,557,567,561,480,403,358,488,826,702,610,746,665,508,427,462,658,973,1152,1242,1256,1282,1340,1108,1350,2164,1716,1604,1584,1090,786,752,925,1268,1372,1098,1298,1402,1232,1190,1096,1090,1290,1266,825,786,1102,1062,864,638,798,1028,929,762,499,668,1032,788,545,520,641,707,722,823,1100,1009,866,834,719,899,1194,1472,1572,1528,1354,1078,965,1018,1402,1278,957,718,622,614,416,575,772,880,885,648,493,477,437,418,416,412,390,385,349,455,492,412,598,702,984,1282,905,622,463,504,717,1072,1068,682,554,562,500,421,393,390,458,548,626,618,629,811,838,946,1282,1118,1112,1342,1166,991,896,767,513,415,478,489,522,749,659,547,788,916,749,583,587,913,1050,596,583,596,447,636,1166,1016,778,829,1216,1202,821,926,1212,1360,1286,1136,1392,1390,1260,1150,926,934,803,554,703,708,532,680,1168,1094,1306,1166,1384,1318,1244,1398,1344,1124,891,747,795,436,590,1046,1186,1090,1003,681,402,364,590,892,1154,1084,808,822,1130,1366,1286,1015,991,1344,1436,1170,803,872,827,963,1232,1340,1388,1396,1606,1674,1606,1270,738,592,533,569,590,563,695,638,380,420,473,802,1224,1538,1396,1152,1198,1342,1266,1166,980,767,443,407,562,422,304,344,450,428,361,326,403,771,832,462,575,918,1276,1244,1318,888,544,489,429,682,880,1007,985,774,1284,1480,1444,1434,794,397,478,951,871,552,608,665,713,1070,1130,806,579,615,412,612,1630,2072,2186,1886,842,494,430,371,349,505,625,480,269,296,325,331,457,704,1072,1276,995,588,763,835,704,459,423,415,543,651,480,357,424,626,1062,1934,1266,430,465,502,443,664,958,772,603,874,763,368,415,395,397,466,477,445,435,368,325,449,935,1302,1302,1272,1310,1406,1070,803,1094,1244,998,625,473,530,509,672,935,923,874,1070,1170,788,788,598,483,509,760,1280,1308,749,478,636,822,814,379,250,274,397,513,648,500,319,264,260,268,266],[898,493,378,429,566,657,679,612,717,1062,673,638,802,749,754,621,797,1124,1126,1284,1424,896,399,539,929,786,1284,1110,668,563,633,709,554,380,352,406,384,363,363,369,389,413,428,461,453,454,457,474,452,388,369,426,448,340,436,489,837,601,409,476,481,948,1422,985,1019,865,612,483,686,937,1086,1626,1768,1023,610,591,565,527,376,396,434,593,1060,925,988,1328,1036,552,438,390,357,336,297,289,280,232,235,252,330,306,280,224,259,354,668,1120,1472,1024,483,443,608,561,358,288,274,421,534,536,443,307,280,288,502,850,1168,881,514,475,453,456,461,363,307,297,354,481,368,354,428,463,418,430,434,435,453,435,372,336,347,382,397,413,415,408,391,400,399,386,327,247,185,185,214,235,249,215,233,298,248,231,228,228,239,233,212,208,235,281,371,451,466,454,585,641,623,717,933,789,673,705,453,420,468,469,433,469,476,698,648,534,825,1013,870,600,820,1040,952,679,703,796,756,749,915,854,914,1001,1090,1410,1776,1542,872,1011,1094,657,539,451,480,550,527,450,425,404,414,479,487,365,393,711,1110,1364,1466,1278,1296,1356,1362,1182,917,597,572,519,366,442,702,1054,1366,754,836,954,755,527,480,405,381,276,252,484,899,738,802,905,1310,1448,1100,1782,1674,877,662,580,772,1432,1472,1270,852,492,467,525,632,579,483,597,727,669,706,908,860,838,740,682,644,650,1058,1012,498,434,642,844,915,1086,968,1048,868,1002,1026,1158,1208,1144,1404,1410,1334,1080,907,811,1078,807,828,541,796,1344,1356,1062,1094,1344,1264,1086,1160,912,1016,1058,912,912,1274,1510,1558,1432,1126,1070,1188,1102,1015,934,850,948,741,511,474,587,544,637,902,816,483,624,1244,1152,784,672,766,780,798,621,525,448,380,352,363,384,392,358,375,408,397,521,1086,1010,735,608,509,500,597,541,463,767,1194,990,842,785,587,1024,1106,1132,1376,1130,700,758,861,715,536,645,1164,2622,1708,677,471,462,475,505,497,487,608,830,1046,1144,1272,1136,797,678,672,488,333,293,338,421,950,1350,1200,972,1202,651,698,905,959,795,698,832,968,713,604,863,1154,1200,733,550,799,949,841,725,1098,1100,1130,1408,1474,1400,1286,1260,1304,1440,1668,1804,1338,1274,1404,1206,1142,1264,1230,804,808,1020,1158,1318,1418,1288,1276,1202,1052,832,1130,1158,1384,1478,1268,1274,1015,1212,1048,551,648,915,1024,1042,923,998,1040,1060,1026,1080,1348,1308,1518,1782,1484,1264,1054,1356,1614,1620,1348,1078,1044,1454,1694,1660,1560,1484,1558,1422,1380,1366,1206,973,976,1224,1470,1618,1570,1426,1050,590,599,631,522,419,436,467,376,373,759,1288,1290,1256,1324,1408,1392,1160,776,1023,1390,1226,963,1042,1414,1488,963,480,550,703,847,799,749,561,401,339,376,623,1023,922,422,435,661,1196,1378,1296,1066,705,714,709,480,305,521,660,558,730,894,881,1310,1278,1344,1196,1318,1350,1176,1156,1100,1066,1292,1324,1070,1352,1136,835,728,1058,849,653,1064,1210,1108,1176,1116,1242,1392,1264,1078,939,996,948,1494,1582,1686,1624,1278,1044,990,937,764,745,598,423,402,396,337,557,650,533,739,1160,940,768,686,418,484,658,694,689,619,488,438,918,924,717,873,625,653,1007,853,622,462,694,708,497,472,435,423,453,429,395,486,519,489,472,371,339,337,340,392,372,428,494,416,420,413,395,380,426,401,364,365,400,400,370,357,339,370,404,371,342,359,375,382,334,332,385,335,728,855,580,513,999,1342,1192,1080,976,1080,929,1023,1178,927,610,744,982,991,911,695,959,1001,888,1034,1152,677,435,564,617,522,896,1348,1394,1144,650,650,658,731,1256,1318,1136,1532,1396,1146,1634,1722,1268,1450,1430,985,645,926,1336,1214,1102,1262,1062,576,697,788,503,367,379,459,667,985,1186,820,1180,1418,1318,1036,1122,1554,1642,1342,1076,856,975,1208,1188,1274,1200,1028,718,790,879,963,790,616,767,1128,1238,822,909,1120,1500,998,891,1009,1072,1410,1932,1820,1112,716,696,594,514,538,680,847,1017,1100,1064,1338,1658,1360,1262,1356,1336,1432,1264,951,701,647,922,1288,1208,899,980,1186,1122,1112,1322,1194,1068,1296,869,694,1168,1444,1388,1198,1028,1128,1402,1324,800,667,648,1130,1400,1172,1182,1176,1024,922,966,922,1236,1390,1588,1288,1158,1014,987,1124,1264,1314,1454,1368,1278,1160,681,681,913,1260,1378,1360,1142,817,631,901,1120,638,534,800,961,988,1048,1178,1146,1019,1026,1011,1074,1048,865,756,774,949,1308,1130,724,549,502,789,824,969,1244,1296,1320,1186,969,1046,954,539,477,696,844,659,696,444,428,516,501,455,401,326,343,365,379,381,393,512,540,527,516,516,515,475,470,521,450,416,360,307,330,309,307,310,300,307,445,549,484,410,321,294,281,278,279,298,313,349,329,338,357,347,346,401,424,350,341,303,303,313,303,285,290,300,287,270,281,292,288,326,343,353,376,374,391,406,379,386,416,365,311,379,459,417,332,357,426,563,412,333,326,345,413,426,466,776,1030,1248,1466,1456,1198,1022,913,1030,906,676,869,872,513,398,350,314,327,318,306,293,313,349,309,312,368,312,306,340,392,421,319,336,349,340,327,385,409,416,370,355,362,357,337,332,331,330,348,365,363,352,357,354,332,360,437,403,393,423,528,573,504,494,472,438,397,448,543,642,769,1001,1282,1556,1730,1758,1708,1638,1620,1644,1720,1662,1484,1324,1164,1008,860,757,695,624,621,657,567,508,480,482,538,442,328,337,360,366,400,404,326,348,369,406,446,623,731,600,444,374,368,380,402,411,792,1318,975,468,380,361,367,328,320,401,444,352,311,309,324,328,328,328,308,307,337,334,352,349,302,295,294,312,394,376,411,482,499,713,972,1092,1046,1108,1324,1394,1576,1650,1088,954,1040,1282,1188,620,570,833,991,995,758,809,849,817,639,704,641,684,1042,1292,1914,2444,2666,2710,2706,2736,2724,2800,2908,2878,2846,2854,2670,1918,1870,1916,2382,2054,1558,1746,1660,1850,1882,1690,884,420,293,275,304,278,331,378,359,344,344,354,345,290,227,298,369,357,347,343,312,323,346,357,368,377,363,356,359,302,210,247,308,298,291,324,330,295,264,267,365,349,294,298,343,340,393,296,707,641,372,349,260,312,393,421,460,571,697,727,656,565,464,406,395,354,279,292,320,346,332,617,703,611,550,407,269,282,367,547,571,417,349,373,379,435,635,725,950,955,933,933,946,1007,823,796,1108,1166,1312,1728,1266,1134,1204,1080,1172,1384,1472,1542,1380,1264,1009,879,950,1160,1338,1058,960,1180,1520,1482,901,760,1058,1200,1126,1116,1132,1100,945,917,685,707,974,937,753,894,1108,1284,908,634,797,733,757,854,899,881,719,663,762,774,797,967,1284,1450,1520,1486,1212,930,1312,942,788,756,738,542,383,430,459,574,929,1040,774,731,429,327,435,448,394,339,367,490,471,358,480,889,1398,1168,560,381,492,682,924,1026,643,410,392,383,425,451,383,422,526,496,594,668,582,486,708,1208,1580,1210,816,796,1144,1262,1118,1396,796,437,357,280,318,470,562,628,1028,1248,941,911,598,647,728,591,514,473,450,574,918,797,479,786,1250,1158,1102,1516,1736,1476,1396,1512,1666,1504,1240,993,685,813,976,902,760,712,916,1368,1642,1452,1220,1060,1112,1318,1564,1346,1144,1062,847,721,937,581,810,1406,1332,1510,1224,754,558,605,915,1162,1308,1324,1300,1208,1222,1490,1722,1232,1218,1472,1396,1052,969,1122,1184,1414,1548,1432,1272,1240,1324,1510,1540,1206,982,861,480,518,587,666,491,424,637,553,428,651,841,858,784,670,730,788,624,560,413,345,499,539,556,441,440,455,372,266,343,577,677,504,377,330,483,1062,1044,1034,1208,1142,821,592,676,692,997,885,969,860,1018,786,1104,1238,724,419,359,564,861,832,704,717,511,816,1046,1152,1128,758,673,754,1078,1370,1282,1116,436,360,333,298,345,337,277,267,265,302,325,331,395,460,541,640,669,501,454,570,638,456,415,545,736,701,450,365,532,1032,896,1220,908,473,644,714,636,819,971,794,862,1220,518,345,390,355,310,395,483,493,411,311,290,349,555,738,833,958,1044,1260,1398,1168,1276,1206,880,698,760,850,821,840,904,1068,798,785,820,812,645,491,625,584,678,832,894,709,490,739,861,853,521,388,476,585,648,693,576,366,286,265,274,272],[625,418,332,380,336,395,721,1114,980,929,825,805,756,851,868,540,628,1162,1354,1100,715,426,306,322,539,783,946,859,880,848,648,534,562,468,340,383,378,372,376,394,419,437,470,455,395,371,359,379,379,340,325,368,398,386,363,455,888,813,459,418,480,941,1204,750,973,1150,715,741,1256,961,877,1238,907,409,461,604,448,444,400,407,422,532,723,811,1148,1438,908,407,392,368,336,317,302,417,334,267,387,715,681,441,343,272,328,378,503,834,1650,1322,918,854,955,791,544,372,324,387,459,494,419,351,320,325,345,765,1014,543,343,434,490,500,439,328,343,471,439,425,362,363,425,437,429,428,426,412,391,354,316,317,354,395,390,380,378,386,390,394,379,348,295,200,207,216,223,251,266,213,224,286,243,228,252,258,252,250,246,271,299,348,425,435,562,736,629,499,843,1058,929,1021,1372,745,540,569,578,592,524,605,634,714,732,703,624,830,1034,969,849,837,962,808,531,565,878,1005,1078,1084,1138,1017,995,1250,1328,1004,548,691,1142,827,611,732,797,681,605,484,395,390,398,455,500,387,372,555,1012,1460,1538,1396,1114,951,1220,1182,934,512,852,872,517,428,443,824,739,557,658,1012,1074,650,609,609,604,437,392,426,871,946,968,1116,1112,1096,870,614,745,946,704,581,781,1622,1614,1202,809,596,492,452,430,394,398,374,466,580,657,886,921,854,786,818,863,862,1082,948,523,625,688,858,1074,735,537,841,1004,1572,1404,1152,986,878,1140,1202,1102,614,850,1336,1350,1005,709,661,1086,1622,1706,1322,1164,1116,916,1124,1250,1300,1190,1034,988,888,1170,1660,1576,1188,1114,1262,1290,1142,1216,855,744,1050,841,730,650,642,661,549,595,484,435,651,1354,1300,678,531,799,860,1012,1232,1020,775,669,547,508,590,610,489,460,487,523,621,1062,1132,868,783,680,592,711,796,771,917,1064,1044,1038,643,655,1264,1342,1138,1246,1070,999,1050,1038,783,603,554,639,1005,920,823,704,589,507,545,512,599,793,979,1490,1324,1324,1272,1184,1005,788,566,364,355,337,642,1412,1352,1148,998,819,840,680,666,688,586,780,1176,1238,1010,899,1013,1034,1026,935,692,701,443,281,578,979,1476,2312,2026,1674,1246,1154,1324,1382,1390,1488,1346,1152,1442,1498,1256,1262,1300,1120,752,792,1072,1386,1442,1208,911,1048,1056,955,1118,1132,1158,1664,1434,1096,1218,1280,1458,993,528,445,691,1015,1005,850,1072,1142,1003,1000,1198,1266,1290,1664,1732,1500,1472,1244,1090,1282,1434,1306,1134,1428,1762,1920,1594,1546,1522,1202,1424,2024,1814,1023,648,905,1268,1058,1254,1434,1216,1454,1344,1294,1184,1072,707,394,375,359,356,716,1072,854,1292,1528,1454,1384,1276,1230,1178,1214,995,606,619,1026,1372,1320,850,886,1088,1200,969,647,511,536,419,386,484,542,511,350,475,910,948,1186,1434,1098,774,720,686,520,399,503,731,854,745,916,1214,1440,1548,1438,1390,1560,1470,1242,1108,1070,1132,1694,1614,1376,1044,946,935,1032,1234,1130,1194,1242,1005,921,1164,982,1774,1738,1450,1212,1142,1392,1328,1196,1092,1124,1278,1212,851,666,584,470,463,437,421,396,480,715,863,1048,1076,1080,1246,789,880,883,537,451,421,432,519,549,466,392,472,617,625,566,441,492,882,844,582,567,609,406,373,412,486,444,379,407,408,472,491,478,495,436,390,382,376,389,409,455,469,388,399,404,416,431,426,380,335,375,401,383,366,358,346,367,359,359,332,337,343,343,340,362,388,398,425,423,530,654,845,716,861,1096,1018,835,873,918,797,813,897,826,960,1196,1001,681,1102,1130,946,1398,1310,1030,648,495,672,846,1026,1094,1282,854,498,386,551,753,908,1021,1410,1378,871,793,1000,814,721,898,1334,1274,987,1302,1404,1458,1500,1424,1098,689,790,883,591,433,476,670,722,1136,1172,1064,1500,1584,1516,1374,1230,1380,1594,1554,1488,1007,1168,1482,1644,1530,1722,1588,962,741,1076,1168,1200,977,833,791,845,616,680,731,640,480,636,857,1056,1388,1632,1556,935,958,961,806,900,1044,1002,887,835,1042,1250,1356,1412,1264,1030,1134,797,1058,794,592,952,882,636,860,879,915,1024,974,922,682,728,884,1060,1260,1032,811,913,1098,1358,1172,1062,986,1558,1506,1320,1002,946,1238,1306,1318,1328,1410,1340,1450,1426,1178,1338,1860,1996,1500,865,546,744,1023,1172,1310,1342,1302,1312,979,886,949,879,937,1168,1294,1190,1122,1060,1288,1082,552,654,631,621,871,1314,1362,741,661,1015,1040,887,683,551,572,594,700,597,404,468,494,519,532,623,769,720,677,1108,1232,988,971,817,458,594,1256,963,540,389,354,576,706,617,490,437,374,398,383,377,405,475,645,588,494,475,480,538,637,717,724,486,446,428,394,394,362,334,304,294,326,430,438,357,306,304,288,275,267,279,265,280,325,325,309,292,293,322,413,430,297,292,298,303,304,278,278,274,272,274,271,288,310,280,319,348,384,420,393,389,412,440,403,359,358,325,411,526,428,327,338,394,538,437,330,308,339,350,351,561,807,633,724,880,1422,1622,1578,1428,1318,1194,1052,1001,801,639,428,370,320,320,347,324,298,298,327,298,342,570,626,372,336,337,351,313,339,351,352,383,375,423,429,334,318,335,383,372,371,354,328,334,330,330,340,381,408,381,444,503,451,462,579,855,905,969,827,647,679,780,882,960,1104,1532,1930,2044,1956,1810,1722,1688,1704,1596,1406,1272,1060,855,728,673,621,611,605,574,489,471,608,555,440,406,413,380,318,320,340,333,326,316,328,299,317,304,312,343,368,361,330,318,350,365,372,399,742,1366,1038,448,364,338,355,373,340,324,402,487,379,333,333,340,341,342,318,293,335,342,324,328,344,313,282,273,283,303,336,335,397,415,544,843,923,880,1166,1520,1496,1356,1534,1044,1096,1094,1120,960,558,566,777,1298,1546,1024,839,965,843,973,786,751,1003,1038,944,989,1284,1730,2122,2422,2670,2754,2792,2964,2906,2792,2800,2792,2134,1814,1910,2398,2294,1478,2072,2308,2188,1940,1422,694,327,286,290,305,313,346,367,352,344,350,359,364,312,269,290,346,354,354,336,331,346,346,348,360,375,367,349,343,286,225,255,309,293,286,319,316,323,303,697,1448,1118,940,879,681,539,539,530,793,634,451,435,390,487,472,487,543,704,856,877,848,730,636,621,626,550,466,384,416,480,393,451,551,653,692,579,400,355,384,442,434,406,364,346,368,452,532,799,952,1106,1272,1007,1140,1412,1098,865,1114,1142,1664,1852,1226,1240,1090,790,883,1100,1590,1656,1262,1300,1256,1146,1072,1015,1052,994,876,966,1180,1138,1056,1046,1068,1210,1056,964,1084,1044,927,839,553,403,597,753,1028,993,831,1152,1218,1186,684,555,774,616,460,550,596,555,567,687,744,709,747,992,1298,1534,1284,1188,1352,995,728,632,697,767,663,495,446,531,1176,1130,811,612,369,311,359,457,415,321,316,382,364,302,405,650,746,645,615,736,566,432,711,621,398,403,357,295,386,393,367,468,442,446,539,621,624,522,503,803,1132,1162,1130,1056,1274,1136,1004,1566,1076,476,361,375,354,394,379,375,672,910,976,922,850,830,700,828,903,917,814,882,1112,988,1132,1238,1104,1106,1482,1716,1760,1614,1526,1438,1306,1246,1354,1200,938,1148,1096,820,891,889,1180,1314,1284,1396,1480,1470,1392,1318,1212,966,1082,1348,1040,916,1094,1086,1218,1428,1294,1162,1166,933,614,892,1300,1318,1098,1324,1588,1172,937,1176,1280,1106,1192,1378,1334,1144,1344,1412,1372,1218,1316,1130,1078,1148,1374,1560,1530,1124,778,632,487,613,580,643,549,483,851,752,621,634,400,366,476,626,631,491,318,301,347,461,535,551,497,414,370,403,373,292,303,605,885,691,417,267,514,1064,1102,1072,1198,1290,1268,949,552,514,1015,949,1054,1142,983,681,977,979,529,382,306,333,522,674,672,413,535,854,782,899,1012,842,906,1082,1544,2022,982,432,321,302,383,390,348,350,317,323,325,357,325,349,404,453,386,442,618,597,373,347,364,466,709,800,812,678,401,353,385,435,526,505,680,685,683,745,740,822,832,425,504,897,950,560,363,344,331,348,400,407,354,306,298,318,413,564,498,543,980,1316,1480,1378,1032,742,673,569,694,764,913,1314,915,713,544,583,760,765,533,760,824,556,808,509,407,503,461,802,947,1120,926,760,872,840,730,689,603,371,299,265,252,243],[382,352,357,370,298,345,447,711,533,561,681,689,774,749,501,400,653,1258,1318,677,375,372,320,402,450,604,963,1286,1218,953,644,719,758,566,406,436,518,521,513,538,564,539,526,481,413,404,383,384,397,389,379,431,528,485,331,374,576,538,425,320,288,478,502,473,1118,1344,818,593,756,748,626,537,471,451,465,639,426,473,408,421,427,423,563,636,707,700,598,655,473,407,365,407,382,397,314,334,594,958,843,514,357,329,374,323,367,514,985,819,579,695,1114,1116,698,375,446,487,543,498,475,394,336,328,286,379,432,371,325,332,391,328,242,259,287,469,394,406,421,437,414,410,430,446,416,389,381,354,337,327,353,394,400,385,375,365,357,338,322,367,368,233,236,250,305,270,259,225,228,277,258,212,232,210,230,269,303,406,418,459,570,675,657,515,359,532,1148,1352,1258,908,988,738,809,763,621,700,725,698,676,653,692,854,783,863,971,885,937,1080,1688,1526,744,412,579,895,1023,954,1070,1206,1122,919,811,463,388,466,992,1062,746,786,946,769,714,630,512,476,439,550,502,402,386,603,1024,1314,1334,1312,1086,939,1172,1100,1078,949,1120,808,487,414,347,509,646,622,797,1266,1282,814,818,891,765,435,388,491,813,1158,1288,1300,1162,813,554,438,569,685,596,578,882,1376,1250,995,794,590,527,579,440,371,408,465,486,467,533,572,807,953,829,817,913,882,919,722,538,766,655,813,907,624,445,603,948,1082,986,1070,944,898,1128,1300,1280,786,836,1316,1144,896,623,595,898,1296,1428,1150,1210,943,985,1234,1192,1376,1252,1216,1112,739,803,1166,1011,1098,1164,1192,1244,1326,1424,1166,914,967,744,753,981,1034,1054,884,824,536,618,827,865,872,576,884,1370,1020,998,1218,1144,1476,1392,1700,1086,1732,1500,1078,1078,1146,1068,1094,1344,1392,1174,1018,790,991,1228,1092,909,810,727,639,680,645,972,1536,1296,949,903,755,1004,1196,1126,879,702,621,935,1023,1196,1428,1308,1098,632,745,833,996,1288,1424,1298,1058,1082,1240,1400,1350,1110,576,301,311,402,1018,1250,1015,1172,1122,841,755,469,468,376,367,614,1017,878,923,868,1098,1240,1058,780,561,413,342,316,505,625,959,1730,1808,1662,1150,1268,1226,1234,1444,1440,1120,1138,1434,1230,849,1012,1040,789,929,952,1178,1376,1406,1408,1208,1046,1016,1178,1562,1700,1428,1484,1090,1158,1206,1204,1254,926,543,517,607,861,995,1082,1354,1360,1278,1364,1274,1340,1506,1684,1554,1624,1552,1188,1110,1016,1078,1356,1238,1578,1732,1936,1460,1474,1650,1298,1166,1446,1368,760,444,841,1104,647,751,807,542,893,1454,1616,1576,1260,683,529,539,645,512,919,854,728,1038,1096,848,829,1120,1338,1258,1086,761,502,647,1140,1356,1432,1382,1132,1142,1212,1184,810,498,626,677,669,504,369,326,470,932,1096,796,962,1338,1128,910,909,999,525,465,843,1222,1212,1040,1394,1520,1290,1456,1684,1704,1636,1498,1216,1210,1154,1206,1632,1802,1754,1400,1386,1194,919,1158,1444,1332,1122,1206,1094,1560,1286,1368,1270,1156,1023,1104,1218,1150,1042,971,1110,1138,912,619,428,382,367,477,687,813,584,776,1158,1116,1128,1080,892,1068,1140,1086,658,479,491,444,359,380,411,405,437,468,452,434,395,413,435,575,691,551,569,644,665,605,410,472,441,402,392,348,390,438,493,487,416,360,333,340,347,346,410,424,386,382,406,416,416,362,270,290,339,348,367,358,370,366,403,399,355,317,325,338,339,359,373,378,409,445,468,670,1019,1098,662,759,985,820,890,1064,1098,881,603,753,866,850,1046,1150,1196,1256,966,1052,966,1023,1326,1112,866,893,1007,825,905,1106,689,358,516,641,766,714,912,1274,1048,621,562,435,490,1174,1122,1132,1410,1404,1368,1138,1102,1152,1090,908,593,714,827,807,585,543,767,651,1002,1030,1110,1362,1338,1354,1360,1224,1306,1300,1238,1168,1096,1330,1466,1482,1368,1136,865,888,1046,1464,1372,1396,1058,954,1021,808,638,749,764,535,422,478,599,807,1046,865,772,592,802,825,814,1102,1382,1122,659,749,1096,1200,1096,1106,966,815,1066,1001,832,694,608,647,543,443,729,717,601,703,744,902,690,419,529,982,1390,1344,1258,1300,1004,1160,1088,924,705,919,808,683,724,1166,1222,1132,1416,1450,1408,1382,1474,1426,1312,1118,1228,1792,1496,735,536,732,886,896,893,904,1064,823,938,1026,982,601,453,835,1210,1282,1050,804,1002,865,789,1030,828,481,494,929,988,501,582,980,899,592,512,465,485,449,485,438,445,434,440,449,383,415,657,968,1096,1324,1240,971,727,425,335,411,700,528,389,301,313,465,641,689,615,469,401,404,386,374,407,482,543,502,498,538,549,505,658,631,530,504,478,459,420,397,366,320,323,357,401,446,386,438,412,325,265,252,261,279,262,281,313,291,280,303,337,380,398,394,325,304,299,290,278,279,293,291,272,287,275,265,288,310,329,331,378,377,361,576,738,537,423,318,347,325,327,374,321,318,338,378,395,332,316,335,339,364,420,635,691,534,477,562,691,989,1294,1526,1562,1384,1028,829,1028,940,539,384,311,328,339,301,298,300,295,314,409,676,630,395,341,310,303,305,320,335,356,398,401,466,464,375,349,359,380,413,425,408,350,349,322,314,342,378,394,368,403,495,715,869,1158,1506,1396,1342,1136,1012,1110,1198,1230,1208,1394,1696,1686,1592,1608,1666,1644,1466,1260,1038,852,802,929,837,611,538,525,514,474,439,407,395,442,432,351,315,358,334,294,309,338,322,311,317,339,304,289,292,305,321,351,359,330,326,328,348,406,690,1218,1052,521,372,364,347,354,382,373,375,392,397,340,320,322,326,322,325,300,352,427,359,349,338,361,324,283,287,290,310,356,321,385,405,406,582,785,1028,1300,1570,1620,1298,1450,1316,1444,1428,1414,1098,522,535,535,891,1122,1112,1282,1246,949,1312,1046,830,819,782,672,536,601,684,1004,1328,1688,2034,2332,2532,2552,2558,2658,2624,2094,1874,2008,2056,2048,1412,2058,1992,1544,1222,1048,689,396,328,292,291,325,376,381,368,364,366,368,377,317,293,321,356,350,361,354,325,328,328,215,297,348,353,321,303,305,260,260,306,284,287,312,305,283,273,895,2014,2438,2426,2264,2248,2316,1764,887,861,429,332,318,427,634,662,609,662,786,877,900,880,816,708,660,756,691,592,456,375,405,452,515,473,480,667,719,444,393,415,404,409,434,406,383,425,406,477,1082,1302,1232,1166,811,788,1028,1032,687,995,1090,1440,1460,1026,633,416,412,537,923,1222,1216,1090,1278,1328,1226,1180,1068,1262,1268,1030,1124,1194,1286,1510,1358,1158,1238,1042,1222,1166,1136,963,790,813,758,611,749,1254,1276,1198,1042,1476,1314,861,636,708,519,375,497,531,574,534,541,634,686,753,673,786,1106,927,1382,1598,1264,981,788,708,751,736,678,637,536,986,948,845,552,380,419,412,440,455,381,350,377,367,407,484,537,478,511,482,705,490,258,326,412,412,365,375,312,316,240,288,378,471,774,959,883,1032,927,514,591,784,850,1364,1284,828,789,696,847,749,578,601,520,445,434,386,359,394,500,596,576,742,789,941,1268,1394,1352,1196,1206,1218,1090,1758,1658,1322,1438,1374,1582,1682,1306,1168,1298,1312,1306,1250,1178,907,712,421,348,539,796,844,764,860,1078,1336,1486,1500,1176,1170,1274,1094,1108,1142,1230,1296,1250,1188,1068,871,624,622,426,470,1003,1248,1172,1058,1150,1136,1180,1258,1262,1234,1168,1006,937,846,784,1096,1258,1200,923,1154,1698,1808,1660,1398,1136,1158,649,507,514,453,683,892,1000,996,742,706,999,1356,877,385,310,410,586,955,894,633,422,354,351,354,386,386,332,263,330,315,298,275,569,885,788,530,443,651,745,587,516,594,897,1048,1098,728,626,756,878,1160,1316,1122,992,1032,718,332,355,289,292,289,315,363,369,364,422,688,733,493,516,637,938,1582,1224,498,326,317,305,739,883,678,419,313,322,334,315,325,353,405,423,404,426,796,965,631,312,368,736,1158,1284,1098,718,718,668,524,524,449,472,843,948,806,781,593,676,755,368,256,323,542,550,397,357,350,327,357,325,288,277,301,390,438,524,455,439,837,988,1192,1364,897,730,1036,611,604,562,895,955,797,705,526,499,692,708,501,568,488,405,438,634,750,631,662,644,783,958,818,899,1126,738,645,642,535,420,336,264,237,246],[377,433,429,393,415,510,587,597,597,565,577,713,818,906,772,1026,1216,1374,1050,412,256,350,372,707,921,667,715,1216,1042,872,882,1009,905,556,525,613,624,653,621,576,564,558,543,506,479,487,449,465,466,452,381,424,706,829,476,382,401,350,410,366,278,273,375,509,744,774,609,543,441,537,433,426,471,587,814,872,479,365,375,408,430,416,454,542,525,561,844,958,522,371,449,578,579,466,330,302,438,790,1174,1019,481,327,292,301,399,653,869,824,622,769,1003,792,645,486,516,592,632,404,328,395,449,378,311,307,322,332,287,319,342,247,212,252,299,301,284,433,573,501,426,426,447,459,427,400,444,403,368,337,364,415,414,363,324,334,342,337,364,373,319,314,306,333,310,228,241,246,233,285,309,239,240,248,276,309,505,753,721,602,600,667,586,445,396,593,1324,2062,2060,1128,577,578,725,699,575,587,598,616,716,604,669,1268,1250,1110,1080,605,508,927,1600,1350,719,559,602,748,901,1013,926,939,642,427,484,465,415,385,709,1112,948,600,807,818,825,777,631,506,426,532,561,469,435,878,1374,1036,1066,1094,882,777,930,1044,1076,856,743,675,549,330,304,405,567,775,957,1058,1226,969,730,637,529,670,1164,1274,1158,1226,1302,1526,1532,732,472,455,514,669,938,1054,1230,1300,1060,1007,902,921,877,828,640,628,596,461,468,560,766,804,947,1096,975,998,823,720,853,836,619,390,443,656,628,538,467,454,647,804,966,1124,1286,1140,1122,1284,1316,1080,1118,950,696,856,1026,859,870,1168,1268,919,1230,1017,1172,1332,1272,1170,1474,1688,1234,931,811,803,529,737,948,1112,1204,1216,1162,1048,992,925,705,800,1020,1044,1046,1216,857,512,556,678,773,824,859,1140,1324,1212,1204,1104,1004,1404,1308,1628,1134,1288,1326,1256,1178,1212,1162,1218,1400,1464,1252,1042,895,1290,1260,1048,1028,1106,1007,772,689,565,920,1488,1362,1092,1046,864,685,984,1118,1330,1192,1090,1256,890,1102,1296,1190,1154,835,965,1064,1032,1294,1230,982,1156,1260,1292,1232,1478,1214,593,400,333,386,687,960,819,851,994,1010,625,357,408,414,538,645,857,1084,922,830,1038,849,480,405,447,373,324,311,401,403,747,1412,1594,1436,1118,1466,1332,872,841,777,749,966,1454,1290,937,1210,1138,911,886,641,1012,1334,1246,1194,1128,1036,1208,1476,1420,1316,1236,1194,1042,890,699,511,636,771,761,469,369,448,513,1038,1516,1348,1328,1364,1378,1542,1694,1456,1376,1426,1378,1248,1288,1044,1356,1408,1432,1474,1548,1676,1466,1280,1302,991,681,698,920,539,390,591,900,543,475,1026,1040,729,907,1116,1358,1406,1108,924,957,1054,745,890,772,681,658,630,686,886,1122,1042,1094,1150,913,772,964,883,1086,1398,1182,909,899,1394,1826,1152,688,781,872,921,910,700,700,985,1042,1052,1128,1072,1340,1402,1252,1108,828,637,878,1134,1003,1094,1516,1910,1792,1312,1280,1558,1538,1616,1514,1460,1332,763,930,1202,1206,1246,1340,1310,1028,954,1194,1382,1150,1156,1408,1230,1482,1824,1558,1240,1062,1018,1072,1216,1238,1080,1090,1138,1228,723,846,719,607,811,755,813,970,758,721,1072,1460,1562,1306,1374,1294,997,756,528,453,556,531,396,420,443,440,552,722,537,502,505,438,410,425,441,435,528,738,1005,738,471,485,425,491,451,393,397,432,480,480,423,371,346,340,347,359,378,406,416,410,378,346,351,321,305,341,326,316,341,369,378,421,513,512,404,317,310,308,294,325,432,427,404,537,493,630,977,783,757,894,918,1174,1009,877,977,838,982,1024,946,827,1006,1084,1186,1324,1324,1184,1136,1316,1632,1566,1124,1290,1158,766,932,1202,702,297,617,1006,792,419,647,907,841,736,607,500,583,1050,959,849,1306,1330,876,875,913,786,803,472,379,705,1216,1088,472,531,819,705,631,770,987,1110,1122,1232,1023,1264,1354,1260,1054,1034,1376,1512,1450,1488,1376,955,1126,1432,1254,1102,1158,1122,896,991,1098,1086,1012,903,897,647,412,339,411,594,1024,1250,1096,566,607,1016,1034,880,1136,1302,1232,1188,1222,1388,1112,977,816,713,1042,1238,954,753,521,382,434,585,659,578,666,872,919,1144,937,504,549,901,1418,1224,1182,1306,1290,1392,1324,1120,857,767,1005,1108,990,1196,1170,1208,1284,1296,1070,1288,1532,1578,1144,642,708,972,977,697,749,968,1013,959,976,1036,1062,504,720,1086,1316,1030,561,541,918,1172,858,477,509,417,773,1126,982,539,360,524,610,721,955,1132,839,612,593,619,514,413,418,444,425,411,419,400,399,449,641,1222,1432,1200,807,703,1356,971,354,387,419,445,357,319,508,783,611,589,590,455,397,391,400,410,393,393,393,419,485,493,526,528,597,495,463,457,447,456,437,392,316,282,318,368,410,437,378,372,361,305,260,283,296,279,272,296,312,309,313,340,376,378,363,362,363,331,281,269,266,273,281,275,266,296,293,295,295,328,336,340,351,371,385,472,522,462,403,341,339,306,290,301,296,318,403,457,388,347,338,322,332,390,418,622,590,497,443,376,474,626,792,1054,1364,1554,1382,1182,1276,1182,924,568,338,351,336,345,375,311,305,298,323,426,413,373,357,307,284,305,323,334,349,360,407,497,509,399,325,349,397,468,473,424,355,344,350,339,369,419,485,548,672,828,1126,1238,1590,1842,1544,1284,1230,1200,1140,1152,1228,1382,1558,1562,1686,1770,1704,1424,1076,816,681,844,916,616,616,516,493,427,417,436,436,436,421,393,389,400,340,300,301,274,304,312,310,298,307,317,307,286,294,317,318,305,306,320,306,336,332,391,643,1190,1074,527,372,356,376,373,348,349,338,351,404,378,321,315,326,326,308,318,328,344,378,334,318,326,521,363,294,318,303,319,338,331,366,382,408,492,772,1404,1378,1572,1610,1400,1512,1520,1630,1634,1274,970,952,830,588,455,487,860,1360,1520,1154,993,943,578,408,315,348,411,482,642,896,913,918,1062,1208,1378,1638,1764,1826,1794,1628,1616,1548,1330,1344,1444,1940,1970,1614,1244,994,661,372,352,358,376,401,378,393,389,368,389,377,350,328,296,317,371,356,346,346,324,320,267,280,313,310,327,318,303,294,284,286,254,195,247,277,276,293,314,875,1324,1007,975,1596,1852,1758,1398,791,637,629,1236,878,528,593,700,714,778,866,859,850,856,825,756,727,764,719,659,473,357,370,412,509,534,480,572,679,539,424,447,398,392,413,377,334,406,429,486,888,1266,1136,983,955,1158,1268,1230,912,746,897,1344,1514,996,445,458,473,465,867,1180,974,1058,1340,1350,1334,1308,1192,1354,1322,1186,1734,1346,1178,1636,1336,1174,1238,1342,1466,1430,1438,1228,1003,866,846,969,1012,1306,1354,1448,1072,1230,1234,978,686,775,701,474,353,332,520,643,734,858,733,717,778,719,651,894,1442,1544,1598,1434,1140,867,780,766,752,820,752,727,852,887,634,494,462,385,393,404,285,331,412,476,473,444,426,389,425,425,370,344,306,411,629,583,345,335,232,183,231,311,333,886,2410,2564,1098,1132,1068,857,692,967,1002,950,1190,1192,1020,847,760,625,583,582,448,430,428,326,316,380,401,421,393,410,465,750,1260,1294,1404,1132,921,938,1238,1632,1248,935,1182,1456,1694,1530,1010,1042,984,821,1270,1128,1018,604,418,386,407,336,404,521,524,592,958,1490,1472,1266,1210,1334,1292,1152,1090,1240,1406,882,716,1020,1038,577,440,527,541,532,856,912,952,924,902,1044,1126,1082,1016,897,710,736,830,644,596,1190,1462,1288,941,1060,1486,1522,1364,1009,757,739,443,415,485,610,650,871,1003,848,548,514,1028,1660,898,435,277,399,885,1266,843,499,394,385,401,477,406,345,296,346,346,266,296,237,493,799,908,844,1060,841,509,334,336,366,841,1174,1124,1064,796,560,943,1450,1552,1372,1114,1096,847,460,411,371,295,282,275,468,860,671,322,525,509,441,426,410,511,700,602,482,405,301,456,938,1150,706,401,329,355,344,290,306,321,330,306,313,402,888,1272,726,517,637,900,1258,1308,992,572,790,807,556,527,484,486,709,802,817,742,465,417,375,305,260,257,334,418,442,395,489,668,533,378,323,278,299,486,745,687,415,359,380,446,785,1278,1412,995,1126,862,689,473,711,819,1128,1172,651,463,533,576,396,319,339,423,493,608,747,711,586,334,424,1026,1490,901,1162,792,550,661,499,381,304,311,343,319],[502,441,413,407,440,539,580,585,573,498,638,906,1078,1007,710,993,992,1216,1000,739,1010,1032,731,899,1170,786,537,638,921,1014,1100,1240,897,448,536,659,657,644,591,556,541,552,527,522,509,449,450,447,445,418,368,364,714,1188,596,393,394,384,404,417,330,348,694,756,431,329,565,748,503,383,411,511,587,882,1242,895,456,375,396,474,470,427,407,443,545,652,805,709,514,400,530,672,906,1122,797,376,388,739,1490,1446,663,390,482,578,572,644,748,686,717,680,586,398,393,395,392,517,558,407,316,383,428,390,338,298,354,384,328,344,343,254,309,336,310,334,328,396,467,434,429,447,457,446,446,458,465,401,353,341,359,368,328,250,219,234,258,404,456,441,393,363,347,350,290,225,227,242,227,231,273,297,288,310,511,791,1050,1184,900,483,381,481,637,461,410,488,898,1958,2082,1204,691,577,662,695,545,454,474,511,529,504,896,1308,1344,1426,1278,758,454,618,963,967,780,819,754,727,863,1210,1058,723,439,473,570,503,476,420,494,1028,1268,724,623,722,849,777,667,637,561,546,611,485,519,1252,1686,1328,1296,1162,896,1026,1120,974,807,1050,1228,978,741,393,370,472,646,1124,1938,1604,1576,1032,502,389,467,865,1124,1226,1362,1260,1178,975,927,697,454,477,508,522,1090,1598,1562,1430,1186,1232,1418,1470,1458,1118,930,1172,998,698,536,558,633,623,914,1174,1120,1058,505,380,516,586,462,427,619,616,458,476,516,469,517,569,697,855,1086,1062,937,834,854,1016,966,723,656,697,731,1038,1244,1354,1422,976,1142,1318,1266,1300,1330,1336,1764,1362,987,1162,1154,894,902,1054,861,1190,1306,1300,1394,1130,778,792,861,1114,1160,870,923,890,603,617,696,817,777,818,1172,1268,1202,1098,949,932,990,1068,1038,891,969,896,974,1198,1174,1262,967,760,1216,1428,1192,1180,988,981,989,1192,1338,1284,1344,1272,1116,770,809,1322,1360,1202,1290,1344,1614,1526,1066,1250,1310,1288,1168,640,832,923,881,728,796,1005,1460,1396,1028,835,1118,1620,1802,1322,810,1098,1212,625,400,418,451,401,501,755,971,990,1002,903,509,452,647,966,1013,868,630,395,608,1034,1160,801,469,326,360,387,398,379,337,827,1072,1076,966,765,1152,1476,1166,816,425,457,932,1418,1636,1380,1362,1396,1332,1160,992,1328,1448,1482,1680,1398,1132,1062,1040,1182,1122,1256,1130,1058,1146,874,703,890,857,839,561,388,345,550,1292,1406,1064,1216,1450,1460,1628,1622,1400,1466,1230,1242,1458,1386,1330,1520,1444,1446,1464,1412,1540,1666,1366,1178,846,445,411,666,420,343,423,513,437,471,1198,1844,1210,572,543,655,1062,1462,1152,1100,1226,1080,988,1104,1236,1013,755,894,883,1208,1096,1144,1560,1288,919,868,976,1332,1398,1104,1058,1013,1434,1572,1466,1114,907,1754,1458,903,1001,1034,955,748,918,1198,1152,1192,1174,1438,1382,977,1104,1290,1290,1126,1050,1048,1468,1696,1354,1266,1348,1268,1202,1258,1404,1256,764,561,777,945,1016,941,725,740,1136,1386,1142,894,1162,1130,917,1332,1620,1262,926,832,1228,1250,1226,1090,874,1132,1282,1262,956,903,762,1088,1386,1128,861,925,841,817,1172,1476,1490,1234,1194,1030,877,835,507,459,559,531,476,426,455,513,805,896,849,879,742,648,481,449,470,436,495,764,915,667,453,378,363,453,545,547,440,407,406,357,383,363,366,368,380,428,397,411,502,497,396,442,345,333,332,345,339,322,332,359,426,506,544,558,506,404,371,379,340,412,659,594,472,534,521,493,558,761,909,502,518,990,946,822,757,628,1064,1228,1184,1126,1250,1002,914,1626,1592,1500,1664,1532,1416,1274,1156,1290,1306,1004,999,1064,648,278,458,731,518,365,452,546,537,637,548,796,1028,946,792,735,1058,1500,1230,943,1222,977,512,379,361,694,998,731,421,744,1320,1190,736,708,800,908,789,924,664,1100,1510,1532,1290,1128,1224,1310,1660,1798,1582,1156,1164,1194,1174,960,1086,1354,1236,931,999,1194,1112,1044,1258,1198,627,383,380,449,902,1546,1420,879,542,766,952,956,1202,1244,1100,915,1106,1456,1222,999,923,608,586,707,653,744,382,361,663,949,926,979,1030,980,968,1250,1280,836,889,1098,1356,1184,1372,917,1068,1234,1316,1246,1156,1172,1202,1106,1128,1278,1016,928,997,1116,1032,1266,1456,1742,1158,461,503,927,1302,1184,1176,1376,1422,1296,902,1044,830,362,492,898,1226,1280,976,648,995,1146,641,377,354,351,432,702,850,622,403,480,648,727,871,1094,1056,963,1001,1058,741,434,441,426,430,414,394,377,395,407,478,1050,1038,499,365,702,1034,619,441,415,477,456,383,514,577,852,924,634,469,443,415,357,379,369,342,347,348,405,488,414,413,515,508,437,390,357,416,446,434,408,321,298,308,337,374,372,349,328,333,309,286,293,282,262,267,304,351,339,307,302,319,319,329,332,347,341,296,286,269,284,280,273,268,293,303,307,309,321,328,346,352,343,332,318,371,525,466,358,337,328,306,294,334,386,441,465,431,416,375,334,337,364,385,407,393,458,487,404,386,388,529,841,1054,1076,1262,1460,1536,1456,1294,776,451,383,336,357,360,332,343,334,315,345,442,464,383,337,339,341,375,395,406,395,415,460,460,397,354,347,471,573,500,379,346,383,404,469,594,836,952,1120,1340,1416,1350,1206,1244,1296,1208,1134,1096,1050,1182,1378,1498,1542,1680,1812,1700,1282,916,698,546,614,921,1266,1130,591,469,406,430,424,427,450,473,430,404,398,412,443,381,348,315,300,316,306,285,287,307,285,262,278,304,334,311,312,338,344,314,334,372,568,1102,1184,590,384,341,318,361,368,348,324,326,336,382,364,333,328,328,324,314,324,349,326,320,372,350,350,398,318,301,314,315,321,324,425,595,498,466,713,838,1210,1292,1438,1568,1462,1390,1023,935,1060,827,585,1186,867,639,657,589,659,1104,1624,1360,956,807,432,329,395,390,419,463,626,1058,1302,1426,1316,902,790,814,815,896,955,981,981,954,993,988,951,932,796,758,753,616,412,337,363,415,450,483,438,433,422,375,380,364,310,298,293,269,339,359,326,334,325,317,285,331,339,336,329,309,291,287,298,294,246,207,230,226,239,291,402,1362,1688,1368,1736,1464,1488,1342,689,999,869,933,1558,1224,766,705,767,670,717,846,836,847,865,836,819,829,840,807,771,617,410,363,404,440,548,583,522,596,662,525,440,392,370,390,398,381,435,459,440,559,970,993,938,1078,1444,1400,1322,1190,1150,1368,1654,2078,1154,814,603,563,523,875,1196,934,988,1266,1308,1158,1142,1214,1332,1208,1078,1316,991,1076,1470,1426,1238,940,991,1164,1324,1370,1364,1302,1096,692,833,952,1400,1578,1638,1222,1021,1154,800,440,430,369,323,300,491,789,790,762,855,825,674,694,750,719,978,1128,1068,1358,1542,1510,1302,1021,878,804,741,755,758,860,929,789,651,471,410,489,643,439,474,497,431,364,339,368,439,510,413,327,431,562,710,562,539,494,382,358,359,288,337,319,886,2754,3680,1808,1030,875,857,609,703,843,674,602,1142,1550,1152,756,481,606,751,647,458,450,455,347,349,351,311,367,442,485,589,932,1130,1278,1018,1148,1212,1316,1494,1160,675,1005,1588,1650,1384,1220,1154,904,733,999,1160,666,347,384,350,383,361,351,443,576,854,1072,1526,1516,1312,1102,1000,1023,919,775,1256,1708,1110,1174,1462,1180,467,435,624,622,882,1002,658,576,605,507,502,502,540,555,550,946,1242,1128,812,825,1001,1074,1142,1002,847,749,655,647,634,609,457,382,382,583,705,607,567,666,736,586,453,650,811,794,492,260,307,701,700,350,384,568,452,533,955,1076,532,244,314,453,794,695,432,356,605,836,751,1202,825,534,461,400,322,540,604,579,746,664,622,903,1164,1488,1418,1310,1742,1406,570,319,332,370,340,262,390,498,475,480,596,444,410,374,372,406,447,549,669,708,705,696,861,907,624,417,480,559,422,325,331,317,295,284,296,376,849,1186,726,642,754,942,959,954,808,487,666,786,744,700,564,526,473,464,539,566,428,315,278,344,530,544,356,398,615,797,614,646,731,491,370,296,298,396,611,611,388,321,365,397,393,951,1462,1204,988,1090,866,590,645,719,1172,1186,564,432,573,551,426,355,331,429,534,610,680,634,568,334,371,673,934,899,1050,814,620,534,518,493,427,520,478,393],[705,731,736,657,572,587,606,639,569,605,708,885,1030,843,607,439,467,716,756,917,1322,1254,970,890,882,462,328,337,677,794,801,1078,932,722,929,659,617,609,608,558,534,530,554,648,622,560,461,343,390,307,286,340,462,609,437,414,383,328,463,533,383,389,556,501,282,335,479,630,583,413,407,467,755,1182,1182,794,516,477,514,519,492,460,421,391,714,1068,921,649,466,479,680,827,969,1180,938,392,316,558,946,720,494,491,567,663,686,704,813,590,724,810,437,328,396,348,289,496,558,384,357,371,360,380,334,312,313,357,418,405,370,305,299,320,328,325,338,351,357,390,433,456,437,407,416,412,363,323,327,350,343,273,210,207,223,243,249,390,437,420,383,364,363,333,256,203,226,240,257,271,248,321,415,573,1226,1586,1522,1462,1042,449,383,408,592,503,647,892,742,1452,1476,1005,800,656,678,803,644,440,463,539,686,1050,1394,1432,1588,1600,1372,1146,740,642,601,595,728,913,974,1108,1072,846,713,820,932,769,680,886,1260,1094,703,982,1474,1056,648,550,644,731,875,1022,811,468,505,509,455,850,1096,1346,1368,1296,828,680,899,747,588,1230,1578,1342,836,588,517,489,593,882,1122,769,908,941,751,727,736,728,614,669,1048,968,797,636,820,632,396,460,518,562,734,1028,1306,1444,1294,1460,1604,1306,1212,1148,1106,1214,1238,1060,824,888,821,481,732,1038,1250,877,505,367,473,584,454,636,986,628,385,419,572,598,498,414,409,554,806,865,778,891,936,766,543,574,547,624,744,1012,875,1276,1442,991,939,1382,1226,967,953,1262,1518,1132,917,1048,1312,1170,1340,1404,1292,1414,1354,1526,1758,1416,569,495,699,1280,1344,910,819,604,750,1120,1188,958,664,569,937,1013,1184,1042,806,1008,1050,1086,1334,1442,1146,888,886,999,1266,1274,1072,1054,1502,1510,1558,1568,860,554,695,929,807,1016,1362,1484,1360,1262,1036,1140,1246,1166,1030,984,1196,1244,717,760,1020,1068,965,929,1009,943,1066,1310,1468,1344,1304,1358,1192,1176,1320,1404,1722,1290,885,880,621,437,536,522,392,490,664,901,1194,813,879,1102,1004,762,468,752,725,607,678,612,513,600,695,1038,962,650,479,527,574,614,473,722,1050,1122,1040,941,882,1086,1050,1222,1007,742,948,1308,1652,1448,1406,1424,1464,1356,1526,1794,1478,1732,1746,1206,894,792,908,866,854,1134,1112,1246,1628,1390,1194,1082,972,786,546,552,737,917,1246,1030,983,1490,1754,1832,1780,1352,1426,1376,1474,1408,1510,1190,1162,1324,1550,1650,1454,1378,1650,1550,998,615,440,460,681,812,543,385,399,387,386,375,627,1064,838,458,781,695,686,1208,1496,1454,1492,1488,1166,937,1092,813,722,981,902,924,749,964,1366,1400,1034,1056,1458,1690,1466,1100,689,683,969,1044,1212,897,822,1470,1054,855,1214,1120,857,706,545,731,1048,1180,1446,1718,1402,1232,1274,1290,1302,1316,1332,1252,1426,1112,1302,1284,1294,955,735,1078,1300,1306,1172,797,602,631,652,790,869,861,644,853,727,629,992,1358,1510,1274,1314,1292,1254,998,1140,1300,1484,1252,1044,1214,1368,1342,1256,1108,922,780,760,1092,1100,1078,908,645,868,1104,1308,1332,1302,1260,1150,844,414,420,498,497,418,494,536,448,706,1042,1410,1380,1352,1208,772,640,601,452,415,515,544,448,381,362,346,340,440,579,582,410,373,340,368,344,363,359,444,498,436,449,572,659,610,677,448,356,335,369,336,308,350,431,495,557,557,572,566,487,407,391,406,558,618,558,524,485,565,644,495,491,453,384,391,620,971,1052,1012,950,1228,1274,1128,1076,1114,844,873,1532,1650,1656,1412,1248,867,763,1018,1268,1088,758,999,1208,763,347,381,485,376,347,401,466,543,593,614,891,850,559,622,831,875,1440,1376,1102,1450,963,449,398,336,424,432,401,537,1102,1782,1356,882,801,924,891,916,890,576,702,956,1386,1572,1220,1400,1554,1596,1514,1394,1344,1246,1216,1162,976,1064,1322,1196,944,1172,1148,1144,1144,1240,1332,935,553,426,375,773,1256,1312,1162,618,611,1208,1504,1510,1260,1152,1007,973,895,799,842,822,479,554,1008,1182,1148,735,672,867,1240,1404,1056,574,511,919,1146,1270,1164,1244,1260,1140,880,1092,990,1086,1304,1388,1366,1202,1156,1400,1160,1134,1092,946,1098,1142,982,968,1118,1376,1496,966,481,733,1390,1424,1428,1366,1226,1170,1312,844,586,443,340,424,738,950,1068,1252,1228,1162,758,563,412,356,379,342,407,463,466,386,403,746,1048,1040,957,985,843,957,1398,1200,642,441,432,379,378,402,393,419,408,424,841,814,451,396,569,551,480,510,456,425,408,372,471,480,985,874,467,468,458,469,424,365,324,325,333,317,341,397,401,379,357,337,328,307,323,368,383,412,391,312,288,310,353,381,374,358,350,333,302,287,270,254,247,261,282,356,357,321,292,284,321,348,345,348,336,313,297,265,278,268,280,297,286,284,314,324,331,334,356,341,354,457,455,386,357,340,323,346,346,304,292,318,308,336,365,368,357,328,327,336,343,336,339,339,342,382,385,469,529,667,857,921,768,774,873,1204,1586,1520,1224,906,559,442,434,429,448,557,541,428,367,406,432,373,354,366,391,450,449,403,408,390,499,511,452,395,435,541,507,455,429,428,532,606,861,1062,1410,1394,1438,1516,1420,1294,1230,1224,1104,905,970,1154,1390,1578,1578,1406,1328,1554,1426,966,685,692,752,597,655,787,898,763,551,491,457,513,565,533,586,669,499,454,490,491,467,423,392,351,352,362,372,348,317,317,310,292,306,375,473,384,361,390,391,389,397,565,1030,1162,704,399,340,323,326,365,386,379,367,344,355,347,319,332,342,347,332,328,318,324,283,285,485,452,316,330,324,350,370,365,362,398,421,415,358,498,747,905,957,866,1262,1544,1458,1362,720,552,698,702,673,897,772,562,502,443,349,587,822,766,668,558,426,462,564,434,440,756,912,1062,1572,1780,1166,775,866,727,576,460,429,440,509,473,455,438,444,521,532,429,375,392,339,328,331,349,470,589,557,479,426,378,390,358,309,294,296,287,355,330,336,342,324,328,338,351,365,367,324,288,289,296,300,305,260,231,232,224,248,265,536,1580,2008,1232,858,1290,2536,1866,1054,1296,1130,1096,1036,780,800,865,880,650,667,775,833,836,799,839,854,860,869,774,757,707,614,644,741,764,636,511,429,511,659,573,433,412,386,410,434,451,496,415,416,548,723,1006,938,1058,1322,1114,1100,1298,1298,1500,2088,2180,1440,1130,959,859,544,750,1038,1052,970,968,1036,660,645,1124,1126,800,945,638,756,1236,1432,1346,1106,919,805,794,1124,1238,1086,1356,1664,996,646,910,1316,1348,1162,951,1152,1238,732,412,354,356,386,443,864,1052,693,591,807,885,718,733,789,1096,1150,730,672,913,1214,1448,1512,1432,1148,970,905,816,717,801,946,877,585,472,518,565,612,647,610,503,465,370,356,365,341,427,378,397,356,657,731,479,681,689,450,575,612,362,357,505,630,1084,1704,954,576,890,835,707,683,939,953,412,590,1172,1140,674,642,1226,1448,1074,641,460,430,426,498,709,485,461,550,735,700,910,1056,969,772,833,1021,1066,1346,1302,1028,963,1007,803,872,1052,771,1001,871,771,1084,835,339,296,234,341,412,416,447,648,952,868,931,1220,1136,908,1252,1260,756,822,1400,1298,716,1005,1208,896,461,388,422,499,816,831,622,623,574,437,406,467,525,586,403,1130,1490,1072,1064,1294,1214,1026,1005,701,902,797,683,650,647,543,459,545,703,648,417,430,604,908,1146,1019,614,655,919,1140,594,246,330,465,464,422,637,933,752,624,839,1004,568,329,350,405,499,583,639,521,700,813,520,481,1190,844,519,545,392,299,310,325,396,495,636,993,1019,1174,1122,814,995,709,349,429,694,733,586,289,262,276,407,563,512,373,321,323,288,321,410,432,442,713,990,648,461,573,642,581,809,971,616,342,329,265,284,298,266,360,742,936,692,523,496,746,594,709,695,390,692,1018,1234,791,612,812,539,340,387,417,314,290,289,430,645,477,323,343,473,799,474,567,691,435,333,277,290,326,288,307,304,304,448,529,365,586,1134,1446,1306,1204,958,796,934,1028,1078,641,397,484,747,910,705,452,387,526,648,756,619,534,645,573,518,509,552,693,722,616,547,520,698,726,701,593,527,436],[783,1036,1024,1032,988,864,813,720,781,1030,825,677,595,540,698,785,661,459,346,406,1040,1306,1336,758,362,202,287,383,389,426,730,990,729,881,1278,842,678,625,578,537,517,745,825,709,745,706,541,326,322,320,350,477,592,457,572,670,673,731,896,837,384,380,415,457,641,593,520,709,680,490,450,509,649,735,624,544,496,513,547,580,529,442,415,363,764,1144,969,714,350,335,565,888,868,983,914,435,219,316,599,723,642,529,462,642,978,702,824,782,766,933,651,468,523,458,353,442,461,299,265,344,459,457,328,300,329,339,387,395,390,358,300,293,346,338,345,357,354,417,466,462,450,433,403,373,350,351,355,306,232,214,232,245,238,249,261,312,359,373,368,377,371,368,286,228,238,257,279,311,359,509,488,689,1282,1636,1644,1580,1150,475,368,350,512,838,1500,2126,1944,1814,1808,1126,836,789,985,985,888,563,619,780,766,855,1274,1554,1580,1488,1032,1188,803,907,642,525,523,510,634,650,551,522,684,1124,1344,1092,979,1478,2402,2830,1744,1190,1476,1412,910,618,847,1202,1356,1242,818,413,454,528,395,343,449,816,1254,1396,1262,1170,1124,824,924,1534,1216,1164,746,500,556,619,592,659,913,939,885,1126,1230,1196,792,664,783,745,810,957,907,887,871,480,383,568,785,781,514,606,1322,1524,1548,2112,1542,1042,1134,1232,1005,736,959,1362,1444,1212,1098,963,863,812,959,1156,916,502,688,772,475,656,1036,525,513,532,916,949,615,423,458,647,979,1078,1122,1432,1192,829,819,1092,852,857,938,818,1002,1172,930,825,1036,1430,1050,854,775,1076,1108,1034,811,893,1080,963,919,1060,1015,1104,1166,1354,1286,875,637,703,696,1162,1120,1040,1074,771,658,886,831,790,697,661,866,1110,1624,1608,1248,1358,1400,1204,1388,1476,1072,1116,1190,997,1021,974,764,1092,1742,1526,1156,880,767,655,723,1008,1062,1158,1688,1964,1672,1314,1010,890,1080,1168,1028,767,713,951,747,602,648,641,865,960,1102,1190,1128,1494,2144,1958,1362,1298,1292,1216,1162,1146,1252,1338,1224,1096,888,927,926,713,577,736,988,1058,1216,520,342,548,695,547,379,370,474,761,926,976,933,949,1098,1512,1382,836,487,468,537,678,708,857,1370,1544,1202,752,979,1042,959,1390,1392,1068,756,1062,1268,1352,1316,1302,1528,1420,1474,1532,1478,1682,1438,1242,910,634,747,645,644,886,967,1450,1510,1308,1290,1124,1144,1150,951,958,879,869,1064,859,1274,1510,1826,1974,1590,1368,1434,1146,1414,1626,1454,1324,1456,1480,1134,1220,1026,1234,1676,1488,901,576,604,722,729,605,440,435,444,435,380,377,444,590,764,552,868,761,616,754,1228,1682,1654,1382,1256,952,818,531,500,622,939,1060,1104,1040,935,844,582,836,1564,1740,1356,1026,832,1124,1218,1144,1104,1094,1086,852,790,1618,1656,1166,1013,744,727,936,1166,1238,1494,1430,1202,1246,1324,1212,1180,1276,1306,1382,1302,1424,1456,1260,1234,1232,1078,921,1096,1138,1184,1198,985,923,954,887,1268,1180,843,800,629,895,1352,1448,1626,1130,1300,1476,1023,679,1064,1236,1402,1294,1082,1192,1340,1316,1252,1206,976,804,1003,1410,1462,1116,668,572,898,1204,1266,1278,1500,1244,978,766,399,336,393,447,541,770,752,769,954,1204,1422,1248,1354,1060,825,693,510,373,349,391,367,325,330,348,348,318,366,507,580,524,437,367,320,334,379,393,456,491,447,473,569,760,642,515,439,414,363,316,314,312,533,744,653,559,568,584,602,433,388,417,433,408,388,464,496,448,563,641,491,451,417,409,365,432,839,1266,1294,1190,1400,1250,985,926,744,637,707,817,1094,1064,1212,1092,789,651,872,1262,996,607,703,839,665,350,283,343,365,460,574,628,628,619,827,791,377,383,926,940,627,1021,1456,1462,1418,784,357,383,384,330,325,466,644,974,1410,1322,1410,1422,1366,991,993,823,403,368,547,1124,1452,1328,1460,1854,1648,1272,1268,1394,1124,794,696,666,621,831,1034,1208,1320,1092,1144,1066,1202,1312,1156,861,611,675,959,1198,1422,880,707,1015,1330,1368,1400,1272,977,898,725,486,498,448,312,320,455,963,1392,1036,1190,1246,1007,1602,1828,1110,573,615,1064,1158,1112,959,984,952,832,725,861,904,1002,1242,1194,1138,1384,1346,1348,1084,1068,898,920,1076,1140,1128,1072,1052,899,1015,825,891,1198,1248,1068,1182,1538,1382,1402,1456,828,455,381,363,410,560,772,954,1188,1444,1112,807,717,462,396,348,397,390,395,485,530,498,833,1286,1028,550,482,720,1005,1064,1170,933,444,392,357,385,402,400,533,521,399,503,540,444,376,350,385,417,412,448,376,383,444,485,450,540,434,367,397,462,487,474,362,325,333,334,318,312,326,382,389,351,326,303,321,338,341,348,424,405,299,278,339,378,390,386,383,366,337,311,283,268,268,260,274,275,316,310,293,286,287,345,376,343,333,300,298,281,265,278,284,308,340,327,307,296,290,319,356,384,354,385,622,543,401,372,345,375,426,400,352,307,296,367,363,369,357,307,275,325,370,349,322,331,370,384,447,519,686,659,572,524,488,554,651,578,641,918,1254,1526,1514,1152,806,577,552,868,1350,1350,957,547,513,466,577,661,642,504,569,500,415,421,404,461,455,364,364,487,547,490,455,501,519,608,691,1009,1306,1432,1334,1202,1082,1034,996,922,821,852,1012,1272,1408,1448,1316,1054,1100,1298,1130,858,893,1036,866,753,655,667,666,669,565,543,578,611,610,572,575,744,819,591,535,623,591,509,479,442,403,390,418,453,429,367,346,342,327,338,442,568,462,375,432,471,478,582,1017,1232,697,390,367,360,346,357,372,401,455,424,378,389,362,329,328,339,361,336,337,330,328,312,334,576,582,356,389,382,425,472,454,445,429,394,389,478,684,652,622,695,684,915,1262,1302,1382,733,594,778,946,969,1042,848,572,664,780,455,383,563,813,1128,579,379,400,416,377,810,1500,1560,1872,2058,1622,1454,582,518,739,611,548,541,526,516,503,540,515,505,675,608,464,437,376,333,345,321,333,472,541,464,399,385,332,406,354,325,324,322,344,367,331,306,303,313,302,346,374,360,364,314,270,265,278,287,289,240,210,221,255,297,273,448,1068,1302,1130,1474,1566,2002,1200,794,762,546,813,1058,1174,1028,988,863,603,604,698,769,819,815,844,861,863,844,794,795,556,469,808,1706,1714,1484,1388,1114,720,546,595,438,458,434,417,434,479,485,388,324,383,386,567,774,1068,1350,1250,1108,1118,1124,1136,2286,1766,1538,995,856,890,742,747,749,859,1078,1156,1036,517,502,1002,1098,746,1128,1008,981,1368,1218,1138,1252,1130,1106,1078,1116,1356,1300,1396,1290,824,847,1036,1006,847,647,977,1386,1228,745,493,370,733,951,748,1023,987,711,556,565,601,633,808,1098,1344,1196,756,644,730,834,1036,1290,1460,1482,1348,1130,862,753,702,728,821,777,747,675,572,554,618,486,423,423,430,423,398,330,415,447,370,269,320,366,714,1208,1160,706,700,502,335,342,517,700,1038,1220,888,642,952,1013,590,383,495,599,375,286,527,1114,1068,897,857,1170,1270,1154,844,495,498,595,1076,1138,810,866,821,481,408,389,550,546,494,468,568,1060,982,749,606,490,465,556,974,885,722,584,573,998,1048,444,363,305,349,500,726,1064,1304,1264,808,612,1009,1300,1134,1516,1202,822,760,1082,888,630,682,1001,795,371,346,404,471,610,577,481,476,404,398,391,432,451,529,586,861,916,916,1162,1176,909,730,1092,896,921,731,750,932,797,465,534,863,1192,1154,694,702,698,991,990,844,681,934,1382,1140,468,269,361,469,435,532,658,780,1007,800,442,480,441,333,409,433,331,286,283,391,504,602,594,551,1040,677,641,930,781,463,306,359,403,528,664,626,755,1326,1322,1144,1150,746,518,522,607,823,713,451,362,316,476,537,390,303,292,299,308,359,364,339,348,653,667,539,674,861,880,681,634,700,435,431,573,330,360,465,357,358,688,1042,731,504,552,661,788,843,921,500,518,870,874,562,538,945,639,307,415,553,680,630,428,509,481,351,386,346,410,495,350,386,356,304,320,283,246,277,270,268,290,263,415,456,383,511,1054,1462,1414,873,559,711,918,927,859,642,473,622,841,764,706,658,526,804,1114,1216,900,875,805,821,837,713,586,583,535,420,315,342,473,639,783,576,452,428],[808,814,919,920,612,561,881,896,905,843,586,443,357,573,1120,1072,858,691,556,646,929,1005,1586,1060,662,982,921,674,762,635,682,810,622,725,1114,850,641,583,917,895,732,1322,1324,932,989,1098,667,434,487,713,538,681,858,551,448,686,804,810,846,731,560,747,562,658,1346,1024,821,1094,1156,864,702,833,665,466,493,939,1001,760,750,775,615,443,411,354,589,909,902,896,476,395,543,766,1136,1094,702,392,253,278,453,406,263,336,400,509,678,541,474,594,664,691,579,463,405,400,378,409,396,289,197,332,483,482,358,327,395,393,357,357,345,332,314,315,355,354,354,372,368,418,432,429,443,394,362,354,350,329,286,226,210,234,250,248,244,246,235,243,287,334,350,386,371,408,345,275,272,298,339,397,644,831,546,481,950,1670,1700,1764,1610,955,756,800,1122,1632,2280,2678,1794,1756,2258,1626,1784,1372,1252,1222,1078,986,1062,789,577,519,735,864,875,1028,785,925,705,1414,899,458,442,436,414,479,624,928,1192,1334,893,633,1032,1248,1772,2554,2258,1676,1382,1324,1134,666,1004,1414,1432,1278,940,589,738,1026,701,438,379,657,1180,1676,1852,1800,1346,1156,1098,1010,609,598,662,1414,1628,944,824,736,1000,1176,1212,1394,1446,1416,1166,1082,1018,876,1016,1300,1046,703,630,531,550,969,1340,943,910,1142,1460,1590,2166,2294,1602,1456,1358,1322,728,491,612,1102,1520,1266,1038,1224,1102,712,637,865,1011,995,1038,871,491,793,855,677,636,733,1110,984,607,493,487,693,836,695,773,922,892,1158,1100,1054,857,886,742,712,1316,1422,1154,1364,1068,998,821,693,829,1021,974,744,708,874,901,650,677,887,713,820,1316,1344,1298,789,692,890,937,1066,1130,1190,1244,1074,819,634,427,624,1192,1066,1082,1156,1026,1018,1324,1486,1272,1015,1140,1078,1168,1222,1158,1188,984,1096,987,1328,1714,1224,1230,1642,1616,1112,1340,1210,1126,1080,1440,1616,1506,1244,931,870,1012,998,1092,1306,1112,1228,1088,676,503,685,893,876,824,880,1206,1202,1688,1974,1050,908,1096,1080,933,1036,1292,1252,1120,839,992,1366,1126,831,957,899,1021,1086,883,467,361,439,474,405,395,467,492,665,985,976,1106,1270,1174,1086,1030,550,367,445,477,610,798,703,874,1424,1126,587,961,1260,1172,1176,1362,1090,912,1164,1214,1154,1198,1220,1406,1498,1606,1076,1236,1456,1212,1134,866,545,599,483,816,1114,1028,1442,1186,982,1204,1382,1648,1676,1364,1384,1346,1078,1296,1256,1660,1580,1822,1798,1368,1434,1194,750,875,1232,1346,1534,1588,1554,991,1132,930,1074,1212,1228,996,700,680,711,681,681,446,386,414,311,372,424,751,720,716,978,788,568,724,875,1152,1172,1284,1566,1372,1284,1152,1050,781,646,980,1426,1604,1104,522,414,319,512,1200,1180,974,756,955,1496,1502,1378,1318,991,1010,1262,1354,1518,1388,993,687,462,619,1192,1412,1312,1096,1036,1072,1178,1454,1456,1350,1362,1296,1302,1454,1656,1432,1130,993,1190,984,608,1026,1166,1210,1148,1290,1268,1228,1080,1172,1104,732,526,536,841,1352,1368,1410,1076,1076,986,757,958,1366,1426,1340,1148,1048,1180,1198,1294,1304,1294,1078,1202,1322,1528,1628,1160,587,642,1048,1348,1556,1212,1286,1098,975,973,647,507,520,680,836,744,758,1164,1384,1194,1110,1288,1188,825,570,514,520,484,392,376,348,328,361,369,389,365,449,619,558,502,522,471,376,366,423,462,534,601,524,434,422,518,458,393,405,440,386,357,366,497,783,858,852,626,524,497,425,372,424,523,509,419,438,473,476,459,411,412,452,460,414,384,401,382,584,1110,1136,949,1100,805,762,954,618,443,784,1018,1018,974,722,478,482,453,691,1046,872,894,658,613,561,416,450,637,976,1098,725,582,554,613,1136,882,358,356,747,590,535,847,1436,1672,1158,492,375,328,387,344,373,378,381,543,737,908,1162,1450,1230,857,905,786,691,919,1064,1018,836,964,1164,1654,1598,1084,1009,1240,1086,927,797,813,816,605,839,1202,1440,1638,1019,619,828,1010,1340,1128,915,1026,1354,1476,1388,1012,1096,1060,1012,1064,1082,1116,1088,1036,747,686,517,381,350,327,387,899,1376,1138,1084,960,930,1234,1160,795,745,924,1013,983,902,733,612,744,798,699,691,631,735,1470,1446,1160,1418,1438,1350,1238,1188,952,978,1368,1522,1432,1030,689,886,901,907,989,1034,1072,903,1044,1498,1420,1544,1642,916,676,509,416,437,507,922,1222,1186,1166,938,804,696,526,396,449,774,541,512,818,1084,888,1068,1148,696,493,402,527,844,925,1132,943,474,355,389,405,405,411,430,415,440,487,504,485,387,343,368,389,392,374,339,341,475,644,589,374,369,363,437,448,422,440,385,336,327,325,332,316,324,377,403,361,309,354,347,324,330,336,346,340,283,281,362,396,390,383,388,341,349,337,296,278,284,280,281,295,329,323,307,281,291,314,370,315,307,312,341,313,281,290,290,302,345,369,350,307,305,431,453,392,364,414,532,488,382,353,339,358,406,375,340,322,375,473,531,460,339,292,301,363,420,354,317,311,393,484,482,642,608,464,387,390,395,427,444,441,480,635,681,948,1160,1398,1418,1190,1040,1458,2030,2020,1684,1170,843,929,1132,1240,1312,872,969,896,626,679,771,574,484,441,422,498,511,501,508,640,725,825,977,1148,1232,1216,1154,1044,905,801,710,740,962,1260,1510,1564,1472,1168,971,1118,1158,935,914,1068,1220,1116,907,1256,1644,1676,1512,1448,1580,1708,1686,1494,1446,1604,1698,1570,1456,1476,1506,1378,987,630,564,438,377,342,392,424,424,365,329,332,311,316,361,412,390,389,447,460,529,1005,1260,803,420,368,365,361,357,344,307,322,378,378,374,363,348,339,333,325,318,331,336,318,310,298,342,500,522,357,359,380,396,436,405,372,364,366,374,539,716,627,555,610,645,682,960,921,1208,868,505,616,832,1170,1222,949,803,772,1090,544,575,906,1040,1072,595,381,339,380,333,777,1588,1698,1924,1462,757,608,399,389,645,1106,1230,1040,1076,780,680,811,677,525,761,644,507,428,356,311,324,314,346,413,405,320,312,370,336,360,330,303,273,280,296,285,288,278,271,262,263,318,296,242,321,297,279,292,297,285,265,241,232,230,267,291,471,800,608,494,550,532,549,765,678,670,603,663,813,1268,1788,1316,740,548,449,548,647,684,723,694,715,765,814,826,865,936,715,877,1272,1826,1664,1290,1124,1416,1138,436,417,396,370,393,398,438,528,438,383,296,233,258,443,835,1112,1238,1248,1116,1050,1034,983,1286,1374,1440,1094,681,815,1044,1062,1030,991,1176,1318,1080,1046,868,863,1080,1360,1878,1558,1340,1412,1114,980,1290,1210,1316,1632,1288,1316,1430,1394,985,619,861,1128,1106,1024,933,1276,1266,1082,818,611,649,845,821,670,763,890,842,448,343,319,508,543,907,1336,1068,772,745,751,734,752,847,1076,1376,1504,1410,1198,924,745,649,719,763,855,839,760,776,681,486,531,489,527,536,477,412,387,306,258,288,271,513,940,962,678,509,743,595,462,634,872,991,1232,1094,734,590,813,753,375,304,322,362,318,400,392,589,1106,1128,804,959,1180,1110,905,543,506,468,801,1436,1072,1328,993,610,693,476,309,334,397,570,495,825,655,479,480,605,613,458,712,859,612,511,818,1068,1178,863,508,456,683,991,1196,1180,1236,1188,1088,1108,1454,1528,1276,1256,1028,987,801,756,609,477,502,685,694,430,408,479,472,471,393,392,431,435,375,384,406,427,502,578,753,946,858,780,706,839,901,1092,1036,1488,1172,457,621,781,585,561,783,745,636,612,797,766,903,915,628,430,558,702,515,282,285,339,440,368,525,450,360,443,460,348,326,435,567,551,521,596,441,278,223,243,292,278,232,224,235,259,416,699,473,340,321,350,509,516,467,926,1548,1278,999,1102,839,625,495,377,791,696,442,360,386,512,451,374,319,302,305,341,342,345,324,364,583,635,533,527,676,847,734,424,458,503,703,709,420,575,803,535,339,753,1134,937,542,448,634,812,771,1052,550,704,896,817,802,868,907,679,475,401,529,975,758,478,432,359,328,449,427,560,615,405,346,361,334,350,389,324,287,278,261,387,582,724,788,700,1046,1314,1120,1418,1150,531,522,999,1214,825,546,514,534,612,662,755,973,659,560,807,971,807,886,783,745,817,726,412,444,428,315,284,268,359,626,727,551,433,411],[957,779,849,500,456,593,830,806,891,1034,725,439,411,623,1034,1058,1104,1248,1142,1094,865,929,948,618,1028,1444,1182,1078,1166,795,651,652,941,858,719,834,732,438,838,976,745,888,991,852,808,1460,1150,754,913,985,706,753,900,689,367,446,523,473,490,560,1046,1108,673,563,1140,1260,919,919,1124,954,833,1026,934,574,595,1168,1108,1066,1042,770,456,329,339,393,448,847,1134,863,504,512,549,588,882,944,784,525,406,512,624,420,319,316,304,341,362,348,332,428,554,488,372,372,304,317,285,380,347,301,299,362,406,437,387,349,401,383,334,353,332,336,350,365,362,361,363,364,364,397,394,384,426,368,332,301,258,226,193,203,244,249,245,246,255,250,238,245,282,321,341,387,391,470,445,335,300,370,458,421,726,1032,693,481,833,1456,1506,1742,1976,1836,1520,1340,1262,1124,1624,2036,1254,1694,2800,2602,2032,1498,1154,967,971,1258,1286,1038,1000,637,665,894,746,648,891,989,993,1156,692,417,417,446,503,554,1094,1610,1306,1046,576,408,594,819,932,1158,1584,1808,1494,1374,1374,864,843,1448,1638,1266,968,938,1126,1350,1234,712,410,755,1334,1746,1512,1214,977,989,852,640,522,635,601,1466,1816,1118,1252,937,916,1108,1042,1142,1214,1296,1440,1354,1426,1400,1024,1088,1054,791,998,1020,1070,1062,1013,1070,1272,1246,1390,1428,1710,1956,1418,1490,1500,1354,789,592,606,1046,1282,1286,1262,1082,740,565,613,925,1278,1212,1166,1176,802,966,1076,1164,899,640,637,548,444,469,593,910,786,479,517,747,618,692,646,505,479,607,689,734,1028,1232,1054,842,833,703,703,779,860,890,763,630,787,1136,695,464,932,1278,1354,1110,1254,1216,1162,753,557,585,579,825,1000,741,766,932,805,503,357,672,824,819,976,1036,949,774,1102,1236,1134,1136,1300,1240,1498,1386,1126,1036,1190,1378,1136,1094,1262,1286,1384,1430,1328,1366,1476,1040,1064,1088,882,993,1230,1078,1030,984,1056,1328,1324,1190,817,1108,1106,863,855,987,1104,981,831,615,1092,1156,1080,1298,758,727,999,1108,875,962,1072,992,711,405,491,818,778,702,952,896,973,1108,749,374,402,476,482,419,637,666,685,850,991,813,835,1098,1198,1178,820,414,389,424,471,735,1030,1004,1003,1282,1244,1090,1186,1464,1316,1320,1448,1338,1274,1366,1348,1164,1364,1214,1356,1314,1396,1146,1098,1334,1140,752,651,502,510,476,993,874,918,1442,1438,1192,1102,1021,1332,1428,1238,1262,1350,1216,1440,1172,1308,1544,1758,1522,1486,1530,1366,1058,923,1034,1426,1524,1486,1306,1294,1052,963,844,807,955,1032,825,579,507,427,412,369,287,399,308,341,547,840,688,810,959,735,875,1028,801,904,668,608,1098,1510,1372,1352,1364,1022,755,968,1522,1360,818,465,404,433,454,658,1023,1100,1134,1246,1198,1256,1260,902,930,1208,980,1120,1152,1292,753,535,748,919,1248,1478,1436,1015,973,1108,1246,1486,1440,1282,1138,1120,1124,1440,1542,1460,1376,1322,1092,771,701,1268,1358,1104,1074,1290,1072,1034,1150,1072,976,611,366,347,568,1072,1424,1250,919,873,920,1082,1170,1218,1334,1224,1152,1104,1494,1520,1210,1166,1162,1252,1450,1264,1140,1316,1270,878,880,1042,919,1188,1184,1302,1072,760,649,854,951,654,548,639,649,750,863,860,1206,1130,1158,1146,833,460,374,530,684,558,456,376,342,350,365,388,376,397,548,514,401,450,505,490,438,488,518,461,530,521,425,399,518,462,374,409,405,405,480,422,510,667,666,860,831,574,402,383,533,594,532,545,525,455,446,449,464,449,451,471,452,422,412,423,413,462,565,669,815,1036,800,702,613,407,404,828,1086,1196,1184,932,567,392,318,418,611,845,845,673,694,692,606,706,1040,1592,1546,953,814,648,718,1110,764,379,368,365,422,596,858,1360,1672,1120,621,786,418,369,331,339,320,298,313,542,823,1056,1202,857,703,889,1016,1432,1624,1422,1294,1208,766,673,1036,1212,901,934,1276,1362,1070,957,951,1004,893,1108,1396,1620,1604,1234,923,643,899,1278,1164,893,936,1082,1334,1528,1394,1120,1048,1254,1096,1064,910,977,1004,1026,1158,1028,716,473,406,647,1036,1160,1142,1126,721,637,457,551,789,621,523,772,967,927,676,576,684,650,617,656,557,547,1094,1266,1148,1096,1112,1108,1384,1490,1214,1432,1544,1620,1422,1152,904,844,850,1108,1154,1356,1438,1090,1082,1332,1178,1236,1292,1014,1348,1166,686,503,520,611,790,967,991,946,1007,959,867,474,403,655,1106,1104,897,1003,955,1116,913,451,415,418,518,953,854,941,808,500,378,373,381,393,413,426,543,634,600,491,430,386,335,350,377,380,348,379,439,392,460,494,376,374,402,435,423,385,412,374,330,324,328,347,326,321,362,401,368,332,376,350,326,322,334,330,316,294,311,379,408,394,368,376,356,352,408,343,265,288,292,293,310,346,335,314,293,302,330,332,306,310,308,317,322,312,310,298,292,313,329,308,308,331,563,494,370,354,327,389,446,382,339,324,340,380,348,340,317,401,463,537,508,370,339,333,345,400,359,332,332,365,439,601,628,409,339,348,372,374,389,372,359,350,390,494,581,631,822,1190,1482,1516,1808,2016,1830,1804,1824,1600,1622,1538,1526,1522,1418,1426,1350,1128,1128,1242,753,720,604,465,484,563,648,786,962,1104,1214,1242,1170,1076,921,790,691,599,692,904,1190,1450,1526,1422,1150,825,800,1098,1098,899,970,1252,1094,969,1148,1834,2056,1782,1764,1954,2182,2342,2014,1982,1862,2110,2142,2146,2228,2368,2186,1938,1956,1556,1036,926,474,412,357,366,392,416,392,371,352,298,287,316,316,330,367,422,467,841,1302,863,419,358,330,314,305,321,318,299,302,318,345,354,348,332,319,312,294,297,313,304,296,290,286,297,344,360,334,329,352,351,440,422,327,370,358,330,385,438,514,558,533,569,692,690,996,1426,1010,636,519,631,1076,1122,977,696,650,967,765,1236,1274,703,377,404,421,348,372,332,428,694,652,437,468,432,375,382,386,614,1284,1744,1514,1400,997,1088,1588,1034,595,584,384,327,468,532,454,351,385,424,398,386,320,314,360,365,330,291,273,279,312,294,264,271,284,296,294,303,341,289,308,298,277,289,283,254,242,281,264,243,239,282,313,1462,2300,2058,1946,1756,1456,816,404,560,725,626,906,780,1442,2154,1646,639,301,321,376,484,571,533,531,595,629,734,784,775,819,711,692,1068,1528,1548,1362,1198,1266,805,457,434,444,348,366,375,422,453,508,553,346,253,282,409,714,893,1044,1346,1358,1294,1194,1270,1284,975,952,1268,1158,886,1060,1019,905,1334,1204,843,612,966,832,758,943,1308,1438,1278,1310,1190,1122,1152,1164,1134,951,1080,1144,1210,1454,1578,1286,780,775,932,681,637,700,772,810,1248,1200,835,955,1222,1012,767,684,706,479,512,548,550,785,726,849,1294,1030,842,897,711,670,718,641,704,930,1236,1414,1466,1272,1016,830,717,715,838,837,791,824,844,709,591,618,524,538,538,593,574,375,283,271,240,402,736,609,403,325,486,850,913,853,957,1120,856,789,744,544,368,333,283,332,381,379,321,322,392,440,652,979,1194,1012,795,461,385,393,500,412,521,916,1238,1240,653,445,576,421,393,389,576,1072,618,674,676,427,497,586,396,339,543,868,1034,1026,1494,1406,1368,1168,1002,1152,1290,1232,1070,1218,1362,1116,1138,798,998,1302,1352,1094,1150,1326,1106,786,603,535,418,561,741,695,560,552,509,384,328,367,397,412,406,398,393,417,499,597,1256,1538,983,679,647,727,1120,949,686,866,639,399,462,702,1110,971,1088,921,486,556,964,1212,1456,1266,547,350,328,341,373,340,301,355,334,448,490,352,290,267,315,304,332,678,916,781,670,768,543,308,228,232,238,266,248,208,235,239,269,243,503,692,451,321,486,454,766,1192,1130,865,721,764,744,448,465,407,627,456,291,372,625,630,388,384,365,301,268,317,337,319,408,491,538,711,820,861,655,607,706,676,673,736,624,444,383,619,760,528,523,858,1170,899,455,347,339,409,786,820,634,937,862,1042,1022,662,757,858,603,312,369,654,529,345,309,341,301,388,482,642,680,326,281,338,325,413,387,364,332,364,623,1076,1180,1030,1186,1210,1366,1250,1006,1240,1334,873,744,1492,1418,678,533,499,538,946,1066,942,1112,622,405,529,438,446,695,987,850,802,634,350,296,250,246,280,250,403,530,534,452,370,306],[1094,741,523,291,330,442,540,423,346,475,665,639,760,683,944,1210,1454,1190,1126,1170,797,749,821,902,1312,1510,1232,870,673,680,634,454,732,846,857,1126,1013,550,634,836,864,787,630,555,539,1184,1722,1132,720,772,777,891,1090,837,379,394,386,390,374,476,960,1152,837,667,1030,1216,800,644,844,912,685,1028,1048,716,586,745,936,941,735,502,326,301,324,403,415,668,597,322,310,422,541,540,558,774,791,594,615,642,725,325,243,265,232,266,293,336,387,487,534,402,356,388,287,248,225,269,328,363,391,376,355,406,394,381,399,406,346,361,370,370,364,360,362,362,361,354,376,432,397,367,400,359,285,228,205,234,212,200,236,250,257,269,265,251,246,247,257,261,343,362,440,518,473,480,451,639,623,545,1034,1038,897,697,777,1038,1266,1606,1682,1570,1520,1230,742,676,1044,877,1064,1486,2446,2200,1526,1364,942,573,731,912,899,1070,1118,858,1009,788,630,885,1230,1216,777,430,376,472,444,456,461,790,1678,1268,1124,805,455,416,362,643,989,1128,1434,1748,1618,1146,1390,1252,772,1192,1746,1376,1112,1252,1268,1394,1450,1018,858,1338,1282,1248,1072,1258,1126,825,558,607,776,677,413,774,997,1352,1482,828,502,499,536,669,1015,1422,1620,1434,1248,1352,1078,866,874,989,1128,1242,1730,1174,854,1042,900,914,1294,1198,1508,1910,1300,1430,1480,1362,1114,851,947,1562,1730,1468,1001,1009,813,613,880,1460,1266,802,730,908,854,699,958,1316,1010,488,532,607,446,438,496,678,681,511,505,743,645,401,435,511,545,422,513,747,858,981,960,736,568,567,648,821,825,651,600,768,947,866,576,655,1290,1484,1322,1136,967,1222,1408,763,460,368,460,819,897,609,548,981,911,497,473,652,708,789,778,980,755,639,872,1038,939,807,962,924,930,711,734,1108,1222,1238,1070,662,765,1332,1506,1366,1164,1306,1234,1114,1352,1186,868,952,1196,989,863,1038,1226,1656,1490,764,503,1017,1256,944,661,847,1054,803,1164,902,618,800,997,1002,1182,1450,1438,1276,1186,996,912,1324,797,586,467,535,662,861,1110,995,880,1024,789,390,425,450,447,342,456,460,617,887,1138,917,703,1050,1294,982,728,731,482,451,639,990,1238,1268,1150,1116,1054,753,691,925,1290,1512,1554,1516,1366,1360,1260,1370,1172,950,1122,1070,1288,1320,1324,1402,1228,922,699,656,476,394,733,830,986,1410,1130,873,902,943,1162,1354,1178,1178,1302,1166,1076,824,1084,1626,1608,1460,1594,1382,1296,1352,1146,1186,1388,1302,1432,1476,1192,749,796,980,1044,1192,1208,1160,643,401,293,248,231,349,554,484,592,990,1108,1128,805,633,947,1160,791,498,758,643,405,434,629,1162,1684,1354,697,453,597,927,658,446,394,379,379,581,1140,1432,1262,1256,1286,1250,1228,1234,1032,1282,1314,1134,1056,1026,1240,977,744,965,1184,1186,1248,1322,1210,749,873,1210,1226,1104,976,951,963,1250,1376,1298,1394,1362,1410,1009,708,827,1152,1202,804,910,1138,928,845,978,1072,1038,844,601,535,798,1178,1156,797,814,892,838,1005,1266,1036,1094,1224,1232,1014,1376,1404,1036,1112,988,927,1070,866,678,765,1056,791,715,579,461,496,426,378,412,368,351,664,1015,944,567,708,825,801,700,661,1046,881,774,1260,1306,560,384,429,517,461,517,481,412,374,393,461,401,328,364,370,434,509,561,557,555,476,560,511,424,442,496,552,619,586,520,435,430,511,461,408,405,455,600,805,901,778,554,544,771,749,580,638,664,522,448,481,560,543,480,458,454,444,458,437,450,505,463,494,567,634,844,698,461,374,543,816,673,815,1282,1324,782,532,392,403,651,722,655,680,744,803,747,803,914,725,596,926,1032,667,680,885,659,352,328,368,408,439,539,944,1466,1340,810,935,662,430,398,331,298,308,424,952,1064,912,774,717,551,901,967,1558,1650,1302,1534,1450,729,753,1112,1442,1450,1302,1302,1158,1136,1198,1076,1122,1156,1246,1574,1604,1396,1154,1032,1009,1130,1017,1092,750,711,935,1310,1504,1466,1402,1454,1212,774,980,797,1020,986,898,1078,1022,825,689,709,1104,1122,940,966,1344,873,539,495,745,771,505,373,614,945,894,709,574,559,523,519,573,653,733,988,1210,990,904,1026,1064,1452,1484,1312,1458,1476,1544,1372,1292,1232,1238,1310,1376,1282,1144,1302,1350,1166,1036,748,1056,913,753,1106,1362,986,566,575,503,613,830,1124,1202,1294,1424,1170,837,525,572,1584,1522,1048,1196,1005,918,546,338,292,335,534,625,486,697,724,451,377,373,412,399,438,449,530,620,562,450,403,391,365,363,388,387,353,392,494,470,401,372,372,382,419,425,394,399,435,419,378,354,326,321,303,313,326,358,346,364,338,301,317,316,344,339,356,398,392,432,488,433,382,364,325,430,555,399,268,282,274,301,301,333,325,294,280,302,312,306,307,304,292,290,332,364,335,318,305,306,307,294,302,351,415,363,328,333,337,350,395,422,401,388,393,383,360,384,382,316,316,324,357,336,325,328,315,379,368,345,331,316,408,610,494,395,376,336,390,383,378,351,328,328,339,358,414,390,367,546,845,1012,1498,1718,1688,1792,1868,1888,1664,1458,1434,1510,1576,1572,1544,1364,1550,1462,871,843,728,664,767,930,1084,1164,1132,1028,907,780,749,679,664,634,647,769,1036,1326,1532,1534,1290,933,664,858,1248,1122,777,824,1144,1154,1258,1758,2416,2316,1356,1042,1456,1844,1472,1264,933,1082,1272,1540,1614,1918,2442,2344,1780,1688,1974,2020,1620,1094,646,480,402,414,415,393,403,392,356,322,316,348,363,361,378,440,778,1198,944,483,351,324,326,323,326,323,308,296,298,308,336,336,338,328,317,298,282,290,296,300,303,305,303,306,336,318,328,326,332,366,427,371,324,407,357,332,313,365,461,433,407,450,562,742,1352,1534,1090,990,568,538,598,861,741,530,544,627,1022,1582,1318,628,446,470,571,332,346,371,369,526,730,703,699,480,375,379,462,722,1280,1594,1015,916,1274,1240,1482,1156,648,444,346,419,614,720,594,312,352,382,339,347,358,325,337,361,342,316,303,294,317,299,275,297,281,284,306,310,354,267,248,306,296,244,233,235,224,287,220,208,255,299,346,1866,2518,2076,1938,2212,1840,442,478,760,742,577,574,604,1544,2386,1748,650,397,295,321,548,565,448,434,466,503,566,553,532,512,570,662,728,1028,1402,1398,1332,1007,556,618,638,531,447,424,389,351,456,735,719,437,283,287,471,583,733,1160,1252,1366,1526,1268,1106,1198,843,670,910,1258,965,1090,1096,1180,1466,1194,713,488,480,746,988,975,1224,1096,753,960,1324,1508,1188,1042,972,1014,1228,1294,1136,1248,1204,1332,891,839,1020,703,525,689,816,775,921,992,939,1362,1510,1384,1396,996,703,425,617,599,631,1040,913,979,1236,835,1108,1082,742,645,641,631,621,619,791,1128,1370,1456,1394,1202,943,814,841,806,741,767,836,821,748,664,561,559,612,702,566,396,292,332,527,786,979,801,553,429,352,507,917,1040,851,733,521,849,1156,1092,505,311,293,308,361,415,306,287,469,680,474,778,1158,1172,700,433,439,458,347,348,437,454,555,606,425,349,440,411,388,374,519,694,589,892,1188,1009,762,529,725,950,1154,1260,1610,1798,1822,1470,1196,1214,1172,958,923,968,821,1348,1760,1116,782,672,894,938,884,929,1005,950,739,830,1026,821,543,585,591,791,773,1028,868,371,320,345,404,478,475,450,432,529,500,509,1200,1438,843,603,540,615,830,658,497,483,452,414,455,505,1220,1518,1404,868,480,653,1200,1456,1502,1230,680,376,368,342,322,331,306,351,437,502,354,300,277,268,328,314,404,770,818,763,783,677,371,220,225,211,233,240,200,230,249,262,282,305,739,1134,908,491,391,583,1110,1160,1012,843,517,392,413,278,462,420,296,275,324,412,597,495,480,422,410,346,380,377,326,361,575,658,548,494,707,913,837,598,494,402,475,641,633,478,429,539,562,651,832,786,899,537,317,342,447,565,1086,919,785,736,752,1200,830,475,666,705,552,389,379,395,464,385,361,368,332,374,315,368,488,354,287,357,399,385,342,381,325,506,900,990,1108,1001,1252,1154,1188,1190,918,615,1006,1288,1412,1534,1046,481,326,359,557,1108,1404,1368,1132,847,645,430,604,719,521,638,777,746,523,393,287,304,307,338,329,311,353,372,368,353,328],[910,532,262,281,303,276,254,267,273,345,621,774,835,697,901,966,1044,954,1104,1164,858,716,835,1088,1210,1306,1166,811,616,706,652,525,511,705,1030,1170,842,581,722,766,1168,1554,845,384,644,1524,1854,1144,769,766,830,899,1136,880,486,397,401,808,1044,756,849,898,630,755,717,626,802,1030,907,903,571,637,584,467,418,487,661,594,511,363,304,299,312,400,454,528,482,400,392,583,745,579,620,716,666,494,575,683,725,361,233,219,228,265,266,327,390,439,383,331,509,441,298,229,248,475,521,332,357,292,299,349,368,394,403,396,385,451,427,384,380,361,352,352,360,364,393,414,375,380,385,310,221,215,265,289,237,206,225,236,250,255,247,251,249,238,251,257,405,452,472,625,937,1000,778,951,1090,608,755,735,921,867,670,730,1260,1664,1390,1432,1366,891,564,946,1164,933,1264,1462,1586,1408,1094,861,915,780,803,854,799,951,1224,1604,2010,1190,717,1152,1570,1470,1074,862,484,456,412,430,481,847,937,871,977,633,384,336,375,581,862,924,1118,1340,1558,1082,1292,1464,935,897,1448,1644,1448,1198,1462,1472,1042,920,755,1190,1156,1036,1068,1094,998,869,452,490,1012,1404,872,1092,1048,1130,916,499,319,352,675,1158,1418,1330,1350,1260,833,976,1040,809,748,674,604,980,1302,1158,1186,1092,858,1048,1456,1400,1626,1294,789,970,1256,1174,1244,904,745,1304,1744,1578,760,982,904,943,1688,1806,1204,810,572,595,872,802,660,855,761,458,546,773,531,463,545,553,579,577,584,724,653,416,438,659,808,688,523,752,940,951,828,672,763,905,847,683,550,518,592,794,797,832,811,974,1420,1812,1840,1296,730,982,1048,534,514,700,1000,1094,1028,952,651,617,771,723,518,704,1150,1020,866,908,623,578,663,888,1170,1240,1056,773,629,507,709,968,850,988,973,730,906,1216,1600,1832,1626,1550,1490,1308,1336,1214,1158,1244,1294,1196,847,1028,1128,1170,1048,856,830,993,1036,666,496,979,1220,1102,1194,908,629,770,908,746,1028,1288,1006,851,1066,963,985,1792,1808,1262,814,758,784,758,753,702,605,694,504,425,408,415,404,337,455,555,529,541,789,827,841,943,905,495,534,960,1002,821,905,1224,1158,872,865,932,721,727,869,781,1264,936,836,742,1007,1162,1136,1302,1056,876,813,926,1326,1490,1632,1584,1328,950,865,890,755,697,991,1108,1112,930,727,873,1142,1120,1021,1248,865,959,1324,1408,1450,1392,1440,1610,1460,1432,1454,1066,1110,1406,1200,1250,1180,1009,910,1078,863,496,484,705,1082,1136,701,725,386,257,285,262,294,445,601,562,797,1230,1406,1850,1400,1028,1518,1220,730,593,637,649,456,363,527,777,1194,1592,1234,995,992,979,689,443,384,402,633,1162,1492,1328,1228,1346,1336,1448,1372,1284,1266,1398,1302,1274,1230,1144,1005,1048,821,875,1010,1044,1052,1298,1048,809,931,1068,1038,990,1272,1116,948,1384,1136,1204,1316,1230,1130,1054,959,892,994,949,912,1156,1028,1126,1072,751,881,946,979,780,740,971,1232,969,728,868,913,898,1266,1510,1030,1114,1176,1074,959,1174,1462,1350,1126,886,818,929,990,880,558,982,752,540,541,442,375,404,387,349,320,399,740,1158,1202,915,741,686,763,629,619,734,625,584,704,709,479,439,383,442,473,666,668,470,424,574,680,591,423,354,372,429,538,600,570,640,552,551,550,566,626,684,766,664,660,683,653,574,537,416,375,444,469,468,544,715,805,692,700,788,723,536,590,635,546,485,555,567,539,547,506,422,438,462,461,532,521,503,475,433,448,779,776,651,539,637,722,449,502,809,681,509,691,671,714,883,807,749,773,816,974,935,1072,700,504,520,642,614,490,757,1170,851,331,334,350,416,430,601,1108,1534,1618,938,553,493,434,383,295,306,292,567,1290,1474,1016,829,785,740,1008,979,1260,1606,1404,1136,1136,774,879,831,756,1302,1122,1048,720,976,1316,1410,1522,1288,1238,1660,1756,1480,868,862,916,904,756,908,955,940,1166,1468,1476,1316,1320,1162,1136,756,631,568,858,1007,799,738,1012,1258,1011,784,1130,1160,820,736,1046,769,619,703,698,565,482,539,689,1110,1512,1012,731,790,796,927,1021,1098,1178,1162,1017,875,832,795,808,1050,1140,1306,1324,1344,1262,1302,1410,1356,1194,1260,1354,1222,1346,1882,1570,1312,1172,1086,1036,907,963,1092,1176,965,659,659,543,574,981,1202,1258,1466,1306,951,822,551,680,1184,1230,1606,1860,1424,994,475,294,330,340,417,460,514,727,677,389,370,400,441,389,397,391,430,546,520,405,381,381,376,368,403,424,411,428,447,468,469,464,426,359,354,358,337,351,374,410,414,371,318,344,294,303,316,361,380,383,335,326,390,350,373,350,422,542,498,612,555,407,357,331,324,338,357,320,275,280,276,319,305,299,290,304,323,304,301,279,271,286,280,307,296,336,326,337,340,328,317,296,277,308,339,347,357,366,351,315,323,373,386,405,428,415,375,438,464,298,292,295,307,285,288,314,299,321,321,311,325,303,443,730,516,447,412,355,348,333,316,294,363,402,333,328,352,342,360,436,467,463,791,1310,1630,1730,1670,1626,1586,1584,1600,1658,1590,1566,1610,1526,1412,1188,1062,988,996,1056,1056,1010,958,876,771,687,670,703,727,675,634,703,954,1294,1532,1548,1366,1050,703,647,1032,1282,959,904,963,1024,1196,1272,1776,2306,2216,1692,1080,1150,1364,1338,690,984,1222,1122,1174,1600,1886,1992,1924,1730,1808,2226,2310,2074,1690,986,779,607,525,488,388,353,394,376,354,347,344,338,362,380,385,722,1300,1040,488,380,368,332,324,318,308,301,314,307,295,315,344,360,352,329,336,319,322,328,319,307,306,320,332,316,302,297,314,315,328,375,387,389,347,339,323,305,291,359,439,448,401,439,476,672,1216,1286,849,929,564,456,530,558,460,462,472,536,794,1078,1022,904,762,584,522,397,474,467,512,681,749,578,386,355,375,486,684,674,1066,1212,1280,1130,1238,945,1250,1324,683,428,412,407,470,511,470,372,326,301,305,348,370,379,388,363,309,289,350,387,355,327,292,296,239,213,269,298,332,295,286,351,303,291,300,275,262,297,252,298,355,300,606,2018,2600,1892,1896,2222,1394,441,505,912,762,488,564,1044,1960,2884,2280,820,411,290,332,472,453,444,501,518,477,466,419,410,395,561,926,1006,1460,1370,961,750,473,398,688,696,519,494,455,417,417,464,390,336,404,473,546,690,905,1080,1188,1128,1344,1388,1140,1019,1156,891,765,653,797,879,1100,1120,1400,1860,1642,1054,752,533,900,1156,1218,1324,1084,857,1152,1404,1212,1100,949,747,756,868,1216,1116,1003,877,854,539,510,690,581,487,830,1015,835,1056,864,676,1164,1316,1186,1104,1028,1078,656,314,299,389,601,634,932,1290,718,653,620,660,664,783,744,591,557,660,773,900,1208,1436,1444,1302,1070,915,820,726,775,814,807,790,894,946,709,556,648,519,400,436,717,893,806,952,794,497,409,358,430,722,775,415,507,644,845,1234,1170,530,289,300,315,590,689,323,310,589,968,876,672,491,983,1168,869,550,465,402,528,607,443,569,738,727,525,572,445,339,343,546,835,904,1114,1498,1970,1278,938,1420,1398,1518,1780,1978,1870,1722,1406,1140,1038,911,1003,1282,1188,932,1158,1462,1280,907,716,735,807,954,905,1034,1104,873,1038,1252,1278,794,551,625,1114,1028,1504,1390,569,408,388,424,491,471,439,491,653,502,495,902,1244,1048,678,772,1256,832,497,509,487,415,468,505,871,1162,1074,905,547,491,1030,1522,1106,767,608,489,425,326,307,338,364,362,295,329,322,269,325,271,280,278,259,389,485,586,695,728,536,283,220,232,204,239,264,224,248,270,278,331,483,753,927,653,478,362,398,855,940,774,639,339,284,272,269,343,334,286,314,284,324,449,534,564,414,372,557,922,704,355,586,977,1058,709,382,423,452,606,667,658,498,406,813,1015,642,411,437,478,582,782,480,409,359,586,607,451,571,805,664,559,726,1274,1072,774,606,712,517,443,434,337,345,383,342,345,342,338,352,292,307,509,529,384,383,440,414,351,368,424,653,906,732,825,981,1316,1096,821,581,351,268,571,1130,1574,1338,760,380,518,540,521,874,1330,1308,1262,1456,1208,932,878,949,1134,874,910,488,309,347,296,293,312,344,294,218,304,305,305,326,357],[688,445,347,352,403,427,343,278,259,304,456,669,634,528,628,647,651,809,940,1142,1348,1214,905,752,957,843,622,518,475,505,574,552,494,590,709,845,545,547,641,706,881,1120,822,990,2034,1970,1286,849,880,973,891,606,680,702,573,451,419,741,903,606,452,361,436,680,626,805,846,901,930,755,475,401,395,438,473,475,463,464,488,444,395,421,415,629,711,568,527,606,848,984,944,755,594,514,576,468,472,606,501,309,278,282,248,262,264,320,378,392,341,292,579,532,332,279,417,765,642,349,277,243,301,316,359,375,380,426,469,488,444,397,379,340,318,321,339,383,441,354,365,357,292,240,213,226,260,264,232,225,228,232,227,231,249,263,254,247,262,285,375,444,467,532,838,1116,1060,1015,1232,849,872,932,835,959,1032,767,1096,1346,1346,1326,1042,642,963,1490,1210,1144,1148,1138,1202,1218,954,738,900,866,883,835,915,1146,1476,1792,1766,1152,974,1068,1208,1030,1194,1104,671,454,464,481,528,692,886,888,510,399,393,418,437,536,995,1050,833,884,1170,1166,1200,1366,1206,856,909,1328,1316,1190,1300,1036,784,737,766,876,1186,1350,1216,924,633,787,782,642,1138,1698,1130,1102,1400,1200,854,601,380,432,843,1604,1534,1120,989,1005,919,874,651,557,738,683,583,1046,1206,1004,1078,996,749,1082,1478,1146,926,719,525,579,711,1062,1446,1284,1186,1290,954,971,828,1050,1206,882,1370,1268,842,901,760,730,1260,1222,827,1026,890,504,530,615,566,775,1126,1044,717,736,716,777,735,597,508,459,576,757,769,784,818,768,659,604,814,832,1021,837,544,555,814,975,660,479,754,1034,1066,1276,1318,908,658,998,824,708,608,659,793,957,1042,801,469,462,745,816,767,858,1360,1240,1222,1152,1002,802,618,835,1048,988,1154,1050,750,590,894,960,877,1324,1366,1272,1318,1496,1830,2044,1764,1234,1034,1146,1072,1062,1076,1330,1540,1572,1386,1248,1152,1090,925,1058,1046,912,673,400,474,796,1110,1324,1206,969,932,1070,998,849,1116,962,477,448,756,863,1018,1152,1738,1470,875,853,788,749,777,960,966,675,484,522,465,388,333,472,603,653,511,350,351,508,985,957,581,360,479,860,953,598,639,996,1010,777,965,901,788,1114,1102,799,882,661,549,735,1030,1018,907,777,583,432,673,1154,1490,1624,1570,1566,1556,1288,968,813,951,1080,879,741,835,729,906,920,1238,1080,1212,1216,1100,1132,1208,1408,1372,1230,1362,1628,1442,1412,1222,957,1034,1082,1228,1194,1044,719,593,906,696,354,340,462,895,671,464,424,283,294,462,458,342,444,580,588,721,897,993,1548,1620,1568,1556,1246,825,670,753,749,512,380,487,549,543,1072,1532,1584,1550,1612,1170,756,636,625,1174,1534,1266,1084,1356,1274,939,1020,922,1036,1318,1334,1170,1026,1192,1096,777,841,927,947,854,576,568,839,843,1038,1005,1078,1158,973,1086,962,910,1232,1184,1112,1096,1108,1140,1300,1198,973,987,1054,1150,1292,1160,1104,1250,1007,916,1196,1246,1118,949,1134,1426,1354,1032,920,884,1030,1388,1178,968,932,1024,1202,1066,1058,1302,1268,1108,711,786,1019,1076,728,465,1074,1094,592,505,530,437,394,390,336,328,369,875,1212,890,888,866,704,642,644,769,760,513,497,528,583,586,477,371,396,479,626,547,422,568,734,656,604,546,456,400,395,455,542,576,518,477,552,579,574,732,819,803,683,733,753,716,645,522,430,430,451,494,464,409,497,586,525,591,688,666,561,604,590,557,553,559,561,600,587,499,443,471,486,581,584,528,518,536,499,663,986,1056,1126,767,767,691,498,409,462,443,433,503,626,792,708,449,543,814,922,890,955,1346,618,324,418,474,364,464,1032,1472,1176,587,352,364,538,457,545,1100,1202,1534,1304,650,506,528,556,353,335,387,792,1116,1270,938,1048,1070,1124,985,983,1432,1656,1414,1318,1322,1142,976,694,832,1144,878,980,1078,1212,1426,1500,1354,882,701,1106,1526,1038,835,1032,924,1058,1302,1356,1388,1418,1396,1598,1676,1154,1034,1244,1404,1062,809,509,667,1182,1272,1250,1490,1334,1154,1072,1094,864,846,894,1068,794,601,816,831,529,672,1036,686,981,1444,835,631,756,697,1000,1246,1278,1438,1312,1106,1084,1026,654,610,985,1356,1484,1254,1248,1316,1316,1384,1302,1212,1252,1366,1350,1428,1318,1332,1360,1416,1202,887,970,1172,1346,1202,1010,793,725,505,584,1100,1322,1290,1162,1076,1023,919,459,422,597,1388,1758,1376,1290,1226,730,389,396,415,411,398,445,562,533,441,362,377,401,357,372,406,380,466,505,404,365,373,392,407,413,409,411,447,437,451,529,554,456,357,338,323,357,382,383,386,371,354,361,367,318,313,340,359,364,394,354,403,404,396,389,373,424,538,561,616,558,437,330,374,335,290,286,270,275,275,343,467,427,436,414,378,414,306,300,333,325,345,405,558,409,315,313,325,334,323,308,283,279,310,326,379,409,374,315,284,301,337,355,397,463,461,361,345,397,330,313,291,278,285,291,301,300,296,291,286,296,318,386,677,487,502,412,366,378,359,318,304,350,362,324,337,346,340,393,454,408,355,419,823,1306,1520,1630,1714,1734,1704,1544,1088,824,843,1108,1470,1606,1346,1046,955,896,835,792,771,779,728,764,757,776,772,650,642,806,1158,1466,1588,1474,1172,874,658,742,1176,1482,1012,961,1186,1058,1296,1746,1842,1974,2234,1936,1404,1056,1090,1404,1644,1628,2124,2186,2210,2424,2734,3046,2762,2624,2762,2890,2954,2294,1858,1754,1316,948,692,566,473,393,359,379,433,372,365,373,346,349,428,706,1190,1088,546,368,340,327,316,305,304,295,310,321,303,301,357,393,366,361,339,336,325,324,318,308,306,302,318,338,338,303,283,324,324,335,355,383,351,324,278,296,405,463,408,476,514,426,458,622,980,1362,1348,855,647,575,475,484,466,431,470,526,423,528,799,1028,814,622,589,616,586,514,687,1082,991,696,776,775,496,656,868,931,693,787,1104,1504,1452,1130,837,1132,1326,879,509,446,440,525,620,444,370,346,330,338,383,426,437,420,305,331,393,433,477,446,382,274,260,202,180,245,281,295,249,241,314,320,345,292,282,317,325,284,310,338,254,533,1450,1922,1886,1970,1776,875,397,616,880,575,296,457,927,1748,2446,1762,985,405,335,367,456,375,309,395,463,437,396,401,345,348,430,687,886,1274,1480,1282,733,443,553,785,640,455,506,398,388,504,489,386,444,774,992,1010,1006,1140,1338,1266,1288,1050,813,939,960,1246,1248,962,820,775,1002,1222,1274,1550,1896,1528,928,653,673,1009,1288,1134,987,1166,1292,1206,1218,1192,1082,1038,641,514,906,1412,1380,1214,1290,1180,869,941,1260,985,561,660,781,559,487,446,437,527,763,933,1096,1120,1036,617,335,331,374,623,1018,1232,1334,699,372,269,328,887,1304,1024,727,634,587,680,711,802,1054,1328,1478,1410,1180,908,741,718,783,735,641,711,711,556,427,543,457,372,487,804,893,746,707,572,444,380,459,637,840,616,672,1012,1324,1056,774,490,290,276,289,352,633,754,399,307,332,695,946,558,268,328,811,1132,901,467,501,788,797,680,548,617,869,807,967,775,466,476,561,760,913,1098,1218,1214,745,1146,1532,1564,1662,1682,1578,1410,1260,843,585,519,671,1058,1070,966,991,1180,1494,1450,1052,1044,1278,1066,1090,1152,1280,1380,1132,1294,1222,1338,1096,783,909,1098,990,1050,1007,755,543,458,346,362,365,415,445,496,656,878,1226,1510,1234,1036,1076,1250,675,511,517,566,585,607,521,630,579,772,1124,744,564,911,922,752,731,1172,1062,633,506,586,388,326,341,247,250,238,263,287,231,259,224,219,279,284,307,428,484,311,214,233,262,226,242,237,244,243,244,282,586,825,777,611,375,408,309,332,485,489,466,439,338,290,325,305,316,443,469,294,245,357,426,484,493,496,415,499,930,837,448,802,1252,877,755,852,666,434,438,615,639,505,710,1019,817,469,364,469,542,736,841,558,398,333,736,1013,905,847,711,405,474,850,1382,1406,1130,802,874,667,474,383,340,325,359,390,466,707,427,264,284,360,692,642,366,331,404,469,417,399,712,875,791,803,849,909,1066,740,422,369,332,319,374,662,1340,1416,773,464,798,1066,872,668,816,957,1444,1802,1256,1476,1082,841,1210,765,555,423,323,345,316,305,287,262,239,248,260,218,225,299,347],[863,737,484,461,572,510,343,295,279,371,483,672,729,474,494,545,658,995,1158,1444,1454,1218,687,658,848,631,450,431,428,510,571,473,531,692,742,724,799,994,1017,839,658,1038,1252,1542,2366,1182,677,576,493,436,366,364,426,514,570,554,415,390,532,493,435,414,709,753,714,706,836,810,766,719,384,347,498,355,365,439,369,495,536,438,411,370,423,804,949,657,436,599,810,763,635,470,328,323,452,597,591,427,301,336,370,360,290,255,267,316,348,359,327,331,517,561,380,282,407,634,432,272,256,286,303,275,340,348,345,430,477,516,487,426,361,313,286,304,344,377,393,348,294,237,233,237,225,226,220,214,208,210,222,236,250,259,266,272,286,294,265,286,335,378,525,581,684,894,943,891,855,636,806,960,642,1026,1738,1144,1034,1028,1176,1160,765,463,1282,1632,1096,1004,1048,1290,1606,1620,1370,949,926,861,1042,1128,1212,1274,1290,1478,1266,1290,1554,1078,672,490,715,1030,1001,668,480,548,675,659,655,562,381,405,483,628,707,544,925,1012,1082,825,632,940,1230,1090,1334,1182,750,737,1018,1236,896,741,741,1138,1526,1488,1786,1786,1290,977,944,1332,1498,1234,1040,1248,1066,896,1023,1250,1322,806,369,400,633,1286,1068,886,616,755,764,609,586,450,794,1112,1226,1430,912,1172,1490,1832,1474,1584,1616,1126,726,584,502,552,647,1188,1518,1278,874,1054,1284,946,889,994,687,478,1028,1282,1010,933,926,890,1556,1234,978,1278,1316,771,502,599,760,1580,2432,1808,859,720,608,734,764,665,572,440,404,528,633,625,684,911,906,796,1066,841,885,810,576,536,866,850,568,543,916,899,774,907,987,686,596,738,636,548,473,453,452,554,571,376,334,437,775,706,717,995,1178,1238,1192,1048,1118,1013,775,1176,1566,994,1056,1032,1007,1058,1148,966,970,1148,1140,1266,1432,1610,1448,1484,1600,1040,863,940,979,1030,1002,1188,1010,792,973,1018,973,1160,1034,1270,1264,718,538,720,568,594,1038,1322,1206,1032,1034,969,902,994,889,851,641,447,538,662,880,1062,1218,941,917,991,893,597,538,927,1172,932,851,709,619,532,456,415,442,490,331,276,312,457,677,613,386,400,400,539,628,785,873,820,1016,1200,1210,1066,1032,1050,785,833,1284,1128,1108,1300,1020,1000,909,935,952,756,1146,1278,1290,1302,1186,1314,1616,1604,1204,1082,1348,1506,1124,547,446,653,1128,943,991,1072,1434,1356,1100,1168,1212,1440,1354,1366,1482,1328,1576,1574,1384,1502,1460,1452,1356,865,733,603,419,528,553,372,387,332,346,294,424,432,305,365,461,392,400,504,600,677,823,990,834,739,1146,1274,1262,1146,860,896,747,535,432,349,397,651,703,524,869,1574,1792,1760,1480,1154,922,1226,1490,1490,1280,1344,1478,1350,1166,1134,834,744,1156,1158,827,857,1136,1044,776,806,1126,1260,859,492,451,710,1188,1070,894,1200,1310,1214,1236,993,1024,1296,1260,1034,1044,1072,1174,1090,949,880,1078,1164,1046,1150,1466,1318,1242,960,949,1222,1098,822,714,1404,1512,1514,899,793,882,1406,1340,1224,1188,893,1056,1462,1288,1094,1146,1116,1036,790,799,705,634,520,354,606,683,434,397,487,419,312,372,371,340,306,630,669,604,744,789,617,491,582,713,604,542,559,608,695,549,424,385,357,355,391,407,391,461,600,585,460,451,453,460,480,482,490,553,465,364,435,576,566,700,825,711,631,715,735,619,644,647,581,472,497,579,435,386,427,456,447,506,587,570,590,590,579,659,666,594,580,600,570,501,475,497,621,727,634,562,595,609,626,808,974,1078,1290,913,873,902,753,527,428,379,388,351,384,621,745,677,692,598,695,722,1038,1030,502,319,383,436,455,651,1042,1506,1192,667,472,405,620,539,455,758,828,1254,1618,993,558,711,991,846,619,611,1046,1202,1422,1462,1272,1178,1266,1120,895,1500,1908,1202,1288,1154,1128,1090,921,836,576,455,774,1288,1524,1532,1462,1480,865,678,995,1252,814,799,1188,1274,1306,1484,1480,1508,1376,1402,1534,1436,1236,925,930,827,1002,1124,797,1004,1500,1472,1416,1288,1356,1366,1224,1106,717,551,767,803,708,937,937,912,653,805,1102,694,697,702,552,626,692,981,1364,1274,1196,1400,1152,1192,1426,1266,814,634,990,1764,1790,1386,1170,1190,1376,1280,1370,1280,1186,1302,1322,1188,1110,1216,1310,1344,1066,893,1086,1494,1284,1130,1118,1070,944,728,919,1021,1252,1264,1110,1074,1026,874,405,397,651,1130,961,695,1108,1338,819,431,444,506,530,396,391,420,466,399,317,368,389,351,366,418,393,371,430,392,350,372,399,402,409,438,459,466,474,493,539,522,487,464,355,338,382,393,375,363,355,348,354,344,331,348,350,350,356,394,371,420,487,465,487,593,557,530,572,565,408,318,307,468,364,298,260,268,294,295,477,583,458,507,585,560,552,339,354,622,486,490,675,583,326,308,303,308,321,319,307,282,280,293,321,358,386,331,290,307,318,303,320,357,397,391,313,317,378,343,320,306,281,285,303,315,336,341,312,294,298,325,372,612,620,701,558,418,442,386,333,316,336,349,336,348,378,320,337,368,338,327,329,478,782,1082,1262,1592,1834,1628,1162,834,769,707,692,1086,1516,1274,814,785,822,872,821,761,720,749,827,823,839,811,866,1070,1358,1598,1578,1302,992,703,590,752,1302,1644,1464,1418,1610,1364,1426,1606,1696,1738,1914,1776,1214,1294,1556,1712,1932,1830,2058,2030,1476,1862,2342,3206,4740,4960,5132,5024,4772,3814,2558,2020,1854,1654,1208,750,647,467,421,385,443,615,460,377,377,396,412,625,1052,1038,549,340,340,304,300,300,304,304,300,307,315,320,345,423,462,348,339,354,301,321,322,322,319,308,300,312,376,421,334,294,320,328,354,318,364,395,343,301,303,440,547,452,441,428,447,545,1032,1434,1556,1280,893,944,840,637,586,487,411,625,686,397,588,813,996,1005,724,737,1180,1356,991,949,1174,774,574,645,822,550,801,777,1130,1462,1388,1200,1238,1432,1330,1440,1360,950,914,581,622,558,810,854,482,370,352,354,420,471,464,454,438,368,422,480,446,425,447,362,280,316,321,283,308,301,289,281,301,343,416,344,273,308,368,377,328,264,234,257,434,572,483,281,374,552,419,294,652,841,495,278,309,435,616,707,759,1084,815,583,529,1018,1334,1180,973,621,297,297,422,495,368,393,494,485,430,530,825,908,867,892,892,452,301,337,303,379,584,536,381,520,742,624,673,978,1182,976,1038,1084,887,858,1080,1170,955,811,1254,1426,1230,1172,1038,1008,1108,1046,857,754,619,1032,1304,1202,815,1058,1440,1204,1208,1378,1564,1396,1336,581,414,683,1388,1602,1464,1252,1160,1196,1552,1700,1126,645,553,489,355,365,407,363,491,932,1028,844,867,935,660,307,323,374,654,1230,1822,1506,1038,637,362,355,877,1690,1672,1030,756,625,731,707,738,741,890,1218,1422,1462,1280,1016,822,758,635,548,586,662,590,415,324,383,658,697,689,704,743,641,519,517,813,1042,838,937,644,808,1286,1440,1114,732,412,330,284,264,352,524,725,400,270,477,558,428,315,273,270,330,686,1080,844,597,714,871,797,571,756,1082,1013,885,678,532,738,1088,1202,1240,1220,1334,779,488,951,1432,1640,1550,1492,1296,1062,1038,735,558,574,642,833,929,1078,1196,1264,1404,1350,1048,1156,1418,1180,1126,1164,1162,1850,1338,1188,994,1054,1284,1332,1076,953,900,868,820,698,551,402,358,439,457,505,567,624,888,1262,1060,1240,1240,1296,904,732,621,522,570,664,623,532,444,439,509,655,1138,1368,1314,1528,1348,1090,1050,1048,1232,1174,805,730,524,372,281,267,253,282,283,270,248,251,236,235,236,251,245,232,221,193,239,256,246,265,296,289,280,311,311,513,1009,977,702,480,378,684,549,531,427,296,285,315,304,326,334,277,350,360,306,294,363,390,317,321,417,494,418,412,723,907,686,617,823,374,408,687,748,559,479,649,644,901,1560,1090,733,420,390,705,617,711,932,899,828,731,766,1005,1442,1492,1104,505,378,353,569,1009,1017,1088,1158,1048,960,532,344,273,305,330,629,891,433,230,219,276,450,433,331,317,317,378,361,444,1007,902,794,683,844,1262,1098,607,481,374,300,322,456,764,1094,1372,911,488,552,820,699,514,807,1132,1530,1504,671,740,639,558,719,897,768,352,311,243,289,362,324,275,247,266,229,225,233,298,312],[919,1012,538,457,594,607,551,442,371,387,334,412,480,271,311,410,502,620,796,1060,979,922,636,487,502,513,490,401,416,497,517,450,587,966,925,620,708,869,1060,1092,927,1232,1428,1120,1108,508,395,350,299,285,325,353,410,430,414,410,405,309,380,431,501,688,960,931,891,943,1214,891,434,316,422,1003,965,456,391,465,477,498,470,438,473,512,428,551,912,700,422,480,466,469,437,371,313,228,299,452,513,484,357,295,316,412,404,356,334,312,309,324,349,373,431,503,498,508,446,319,276,247,277,332,364,379,428,349,284,392,429,509,468,417,360,320,287,306,359,375,346,283,212,182,208,208,225,245,241,240,232,219,226,239,250,246,258,286,285,286,243,253,339,520,658,669,669,924,854,550,619,790,664,735,896,929,814,709,804,835,1034,1196,868,390,1054,1860,1404,1138,990,1074,1506,1440,1320,1013,919,1082,1238,1302,1416,1290,1140,1318,1316,1722,1730,1244,574,384,453,769,946,885,813,898,956,659,598,546,440,472,818,1070,1398,1016,828,695,547,791,542,543,847,1006,1256,1500,1054,881,1050,1120,811,602,778,1366,1626,1184,1116,1310,1340,1422,1324,1636,1716,1388,825,1013,1416,1188,1070,1310,1202,542,331,439,605,1166,1104,984,933,1416,1086,828,999,678,1384,1816,1560,1418,794,1180,1168,947,1278,1444,1524,1260,860,910,715,552,816,1234,1208,1208,1220,858,827,775,925,876,491,685,1132,1250,1358,1108,1386,1076,1424,1288,891,1062,1418,1094,586,496,756,1270,981,941,957,897,857,890,659,533,538,422,348,353,397,480,545,755,828,692,561,520,672,541,399,592,715,512,409,688,1388,1174,897,1234,1134,545,380,415,426,354,351,394,371,377,398,323,353,524,1007,791,521,931,1074,1100,882,581,752,761,601,1038,1782,1052,844,601,720,956,992,794,1003,1134,1017,1386,1614,1620,1378,1586,1734,1220,1108,1118,1036,972,781,882,867,681,700,735,1238,1258,879,1296,1306,855,1132,1284,835,981,1248,1019,888,1003,957,1052,1148,1360,1086,1352,1010,797,1168,1006,708,961,836,651,904,749,939,818,827,1252,1208,1019,1010,1032,960,840,807,460,482,449,269,258,322,390,362,444,828,953,582,359,662,1154,813,692,1058,1228,1116,1296,1206,987,1011,1370,1630,1396,1562,1316,977,1166,1260,1256,1386,1600,1614,1448,1372,1074,1028,1362,1450,1322,1382,1442,1438,1338,1098,680,639,700,794,752,929,1126,1398,1324,1214,1072,1260,1358,1378,1544,1560,1406,1518,1188,1426,1730,1426,1074,1064,705,611,616,448,414,472,533,524,424,418,305,267,328,415,407,412,556,615,547,475,544,506,724,641,355,755,1222,1002,675,639,576,591,653,477,390,412,781,1110,875,1042,1554,1600,1834,1704,1418,1454,1478,1222,1326,1084,1038,1150,1272,1422,1398,1164,897,987,1122,979,1036,1036,1046,1004,994,1292,1250,665,504,586,846,822,749,934,1078,1174,1312,1382,1124,1124,1224,964,940,1128,1102,1110,943,753,789,942,924,836,1004,1252,1078,1015,949,997,1160,950,783,818,1184,1164,974,676,661,666,933,1240,1346,1230,1150,1118,1180,1210,1378,1086,1100,1016,818,849,619,422,419,395,368,317,315,344,361,349,297,344,390,342,291,634,951,941,998,1066,720,535,494,550,689,621,460,510,507,411,373,372,361,383,405,423,397,444,644,741,657,469,506,565,557,491,429,434,379,419,534,705,875,680,716,677,610,600,539,557,623,590,494,379,473,578,467,414,473,463,508,546,487,455,487,473,522,660,740,618,628,650,624,595,485,445,616,731,687,650,682,605,637,779,927,1074,1130,862,661,664,807,734,528,530,568,374,339,655,1210,1322,830,481,659,637,661,567,350,343,381,437,559,885,1112,1200,922,1104,860,435,577,625,575,1012,1226,1452,1634,1400,764,932,1128,1024,641,531,799,1064,1132,1182,1296,1098,1120,1080,1084,1500,1640,1716,1404,918,1013,962,699,484,344,503,1023,1452,1322,1372,1440,1524,1188,1021,1088,1238,1148,1194,1284,1252,1194,1476,1490,1504,1396,1556,1348,1236,1314,1304,1194,1162,1036,893,852,1300,1438,1372,1366,1188,1360,1388,1162,1048,805,461,386,384,462,628,567,720,845,835,631,562,511,441,485,505,610,726,804,758,808,856,903,1232,2036,1596,889,822,1278,1472,1304,1226,1242,1276,1354,1156,1344,1410,1094,990,1140,1222,1274,1480,1504,1354,1306,1202,1260,1660,1092,564,737,1274,1144,764,775,1005,1044,1076,977,873,838,943,954,519,740,630,474,592,1004,1226,832,668,391,501,576,425,386,459,367,300,318,372,374,338,337,361,361,349,379,374,351,371,365,354,380,422,433,433,509,552,501,399,453,560,416,341,354,361,365,386,395,387,342,337,375,350,323,338,359,379,392,418,536,487,552,713,642,568,606,571,316,267,270,347,324,298,277,273,278,293,419,482,400,457,624,616,587,376,363,542,650,647,703,555,315,318,315,325,313,301,291,288,291,297,327,347,351,337,325,349,352,288,315,333,327,314,289,310,375,346,314,315,293,289,313,324,337,322,320,304,307,326,417,537,458,424,396,396,448,458,348,315,402,418,345,318,367,332,311,308,319,355,364,377,518,732,867,1218,1644,1478,917,751,769,727,695,937,1462,1460,879,810,818,710,670,647,758,793,748,714,774,998,1334,1600,1670,1598,1232,817,630,613,966,1494,1506,1384,1424,1346,1342,1578,1792,1532,1504,1654,2076,1560,807,1526,2526,2388,2118,1800,1716,2114,1694,1824,1880,3160,4416,4588,4696,4804,4716,3812,2922,2406,1946,1860,1538,969,820,502,418,390,387,512,472,389,419,455,645,1172,1134,592,383,339,339,297,312,322,312,301,288,303,333,341,356,361,388,342,336,341,303,312,319,328,334,298,293,309,318,291,289,329,324,330,337,288,307,343,335,337,296,333,424,369,373,374,424,625,1082,1368,1554,1338,1294,1486,1240,934,863,944,797,731,606,508,635,758,951,894,847,961,866,949,1156,1118,959,764,893,839,703,520,528,725,1470,1912,1692,1344,1292,1370,1230,1102,838,666,769,664,540,563,835,622,356,392,356,373,440,384,353,412,411,420,467,504,466,441,430,373,387,431,429,406,395,362,325,352,307,317,393,347,319,343,364,386,374,292,280,375,1084,1128,1060,997,730,492,404,510,859,709,382,270,332,316,250,284,339,583,833,854,819,1656,2464,2164,1732,1224,477,385,415,469,510,574,566,573,589,535,529,706,961,736,631,312,299,309,305,397,582,548,452,458,545,851,1086,988,1298,1020,1316,1324,1196,1060,1226,1038,623,696,1108,1172,985,566,521,670,1021,1064,957,861,764,943,1074,969,915,1120,1328,1318,1368,1218,1588,1384,1094,637,447,568,1318,1636,1354,1240,1112,1040,1504,1486,1282,944,707,487,343,428,444,311,390,838,1088,721,1007,1202,642,289,276,280,408,870,1498,1418,1094,639,507,733,791,1084,797,635,770,821,828,755,721,634,580,681,971,1302,1472,1384,1076,814,738,637,543,583,671,619,640,1082,1366,1054,762,676,731,635,558,936,1306,1326,952,803,732,861,932,993,1098,916,562,697,602,357,343,348,449,409,693,915,485,228,262,295,314,289,281,565,1130,1004,917,886,742,645,765,1140,1066,778,995,1058,1234,1426,1472,1434,1496,1382,891,739,1050,1368,1256,1162,1400,1516,1428,1272,737,627,913,879,789,770,845,1152,1422,1388,1266,1172,1212,1194,1030,1234,877,788,1270,1212,994,796,954,1334,1302,786,964,1172,988,896,680,641,638,658,639,558,552,852,979,1098,929,1080,1274,1340,1104,742,704,503,361,562,648,514,430,382,393,502,659,1264,2006,2078,2008,1746,1248,944,747,910,1090,777,533,807,1082,519,308,292,277,295,284,278,274,263,250,252,264,265,258,266,228,260,241,228,301,330,341,398,409,381,456,561,443,503,464,361,709,682,468,343,270,257,283,267,318,392,276,294,340,410,563,525,412,311,269,374,412,384,366,475,809,866,890,810,404,230,322,452,478,545,799,829,1632,2134,976,541,332,381,724,747,458,607,1114,1304,1008,1038,1010,1126,1166,718,360,326,319,508,861,1274,1712,1662,1366,1190,1276,654,580,444,697,808,477,278,254,236,263,269,316,339,328,328,331,389,825,930,705,691,691,1108,1538,1122,461,601,515,326,398,781,1418,1226,1246,1240,804,475,538,483,466,557,1086,1068,741,513,364,364,378,678,1510,1170,332,350,295,308,435,517,399,255,216,260,306,297,303,286],[1060,982,1108,1344,1528,1602,1206,608,465,441,369,303,365,328,296,314,336,365,656,755,767,819,651,453,415,426,410,435,393,436,487,583,731,892,780,774,711,725,1212,1336,1116,922,819,739,557,402,336,317,274,292,318,341,482,444,368,388,373,328,325,314,543,753,828,784,636,748,927,601,439,339,464,1386,1302,613,438,624,844,771,543,448,528,548,381,379,689,598,365,422,466,433,376,365,337,249,238,278,369,410,373,372,417,567,567,492,384,288,315,338,378,449,393,350,480,528,368,281,243,265,297,364,438,413,414,381,325,389,339,376,368,365,345,309,276,292,318,297,241,210,216,215,221,215,232,247,242,228,224,222,216,238,246,246,250,220,243,254,273,466,501,509,587,730,935,1034,618,416,462,814,960,1096,1044,636,509,604,780,1142,1384,1284,1003,578,931,1226,1226,1124,925,823,885,788,1022,1134,1186,1324,1322,1492,1104,1108,1226,902,739,953,969,1164,1086,740,483,554,639,576,848,1358,1230,1036,965,852,675,654,838,1192,1390,873,690,665,753,1140,913,735,500,891,1186,1466,1450,1236,1218,1736,1498,533,627,1074,1424,1320,1510,1320,1500,1424,1346,1394,1334,1190,1012,1198,1196,960,896,1262,910,441,355,502,530,846,1076,982,1160,1520,1218,1028,1032,701,1340,1460,980,711,466,497,573,603,814,985,1128,1152,1218,1630,1148,711,839,1190,1186,1826,2232,1382,630,482,579,594,633,783,952,1310,1266,1380,1596,1166,1146,1108,797,810,1014,1036,615,303,485,716,486,800,999,841,640,736,624,426,475,395,379,349,315,390,434,484,550,501,444,472,434,369,365,426,504,722,814,670,1138,1512,1034,1015,685,396,368,376,371,339,294,284,241,233,276,302,382,480,508,461,497,604,729,867,651,547,868,791,772,697,1346,1176,637,536,828,899,835,899,1190,1128,868,1284,1598,1632,1808,1628,1324,858,782,982,1092,1030,599,522,561,708,1003,957,1438,1058,823,1368,1608,1316,1314,1100,896,1096,1038,827,733,1144,1334,915,1368,1472,963,948,822,965,1394,1744,1202,977,1014,1116,834,696,847,1072,1250,1324,1112,916,1040,1172,917,749,624,407,520,407,242,250,317,378,356,443,773,957,758,669,792,904,512,886,1064,1072,1326,1358,1068,921,973,1280,1578,1520,1284,1120,1142,1094,1244,1280,1104,1442,1594,1488,1252,899,1028,1404,1048,845,1378,1440,1412,1380,882,843,974,1120,1172,911,723,989,1364,1372,1252,1114,1004,1230,1636,1754,1378,1490,1508,1376,1434,1418,1386,1282,1106,1284,1004,631,477,458,535,532,548,725,805,478,497,753,1024,620,350,489,523,355,315,466,401,384,434,340,483,734,495,607,776,903,1016,1194,935,581,366,626,1134,1384,1486,1422,1642,1834,1824,1858,1814,1366,1312,1288,908,894,1022,1272,1350,1268,1198,1422,1208,869,986,1040,1128,1234,1228,1194,1270,1124,884,1000,940,980,951,1754,1346,1074,1198,1294,1368,1340,1194,1196,844,820,841,1058,1122,955,872,998,830,850,907,905,882,813,1128,1120,885,906,979,1102,1114,1134,1004,728,785,907,830,946,1256,1318,1656,1958,1230,991,1110,1532,1294,1152,1092,1066,929,630,405,377,336,349,289,292,342,329,328,289,344,406,333,278,551,983,1050,915,744,601,507,508,644,683,689,872,598,449,401,336,356,366,386,426,433,381,514,736,802,660,535,676,750,571,468,435,437,411,509,608,604,591,611,670,618,596,533,560,577,549,470,380,396,425,506,478,477,520,493,505,485,491,470,423,414,459,523,600,525,540,625,700,693,588,557,641,664,674,722,752,637,667,698,769,910,934,800,478,432,730,751,694,591,519,510,605,1186,1512,1344,716,481,695,762,674,512,345,311,338,427,800,1324,1440,1054,965,1330,1416,1060,886,883,683,783,708,1222,1332,1632,1162,1072,1092,827,493,350,524,925,1184,1190,1172,1076,1084,989,1014,1086,1160,1548,1344,1190,1188,1004,894,679,484,679,1001,994,1224,1526,1394,1166,1224,929,647,1092,1468,1580,1436,1226,1230,1410,1364,1334,1176,1382,1520,1138,1146,1380,1306,1410,1380,882,737,900,1314,1342,1278,1282,1356,1326,1244,1124,808,561,379,365,428,436,539,810,1036,850,503,441,517,618,650,667,710,597,509,551,584,504,783,1086,1158,952,703,858,1270,1284,1214,1060,1162,1200,1184,1150,1334,1380,1142,1024,1168,1284,1276,1456,1426,1412,1154,786,854,847,771,561,612,1124,1316,943,941,1036,749,1032,890,852,880,918,797,717,739,539,465,495,901,1218,787,974,518,419,480,514,509,407,306,298,329,334,347,351,332,349,350,362,360,365,377,386,355,364,386,416,432,456,516,544,495,424,425,456,409,355,345,360,384,405,401,401,370,359,369,314,301,324,356,404,534,687,736,594,528,554,684,945,829,490,260,262,275,246,276,309,308,285,268,280,364,520,484,466,564,422,390,364,336,462,669,704,583,507,339,317,334,346,320,305,296,276,293,313,334,349,311,305,300,343,395,341,362,321,327,326,289,287,385,446,340,336,300,280,307,318,328,310,325,316,307,323,437,509,404,332,321,359,371,415,333,281,332,342,330,276,268,299,330,325,332,339,359,374,414,595,739,984,1502,1434,903,695,716,772,884,1056,1538,1646,1182,858,736,699,636,691,861,850,738,763,1076,1422,1620,1630,1488,1426,965,706,699,1036,1500,1470,1108,1342,1590,1418,1498,1584,1554,1272,1346,1432,2182,1948,1142,1734,2220,1406,1144,1034,1168,2364,2532,2398,2436,2654,2764,2786,2814,2740,2706,2706,2706,2440,1968,1974,1966,1424,901,641,511,437,426,419,399,446,494,559,1120,1296,764,453,367,338,332,312,320,320,313,309,303,301,323,319,354,314,327,325,338,341,327,339,328,309,320,292,285,283,279,281,297,310,288,287,307,307,311,319,327,331,325,333,389,450,407,430,489,730,1064,1386,1554,1506,1526,1582,1318,1284,1214,1592,1414,1168,825,570,578,631,760,735,737,733,673,835,1446,1310,990,794,894,1058,1248,1126,662,574,875,1362,1516,1478,1112,1084,1005,639,537,896,980,787,587,596,623,387,303,372,350,378,470,310,286,382,376,357,413,444,400,378,400,367,408,478,466,478,437,412,390,324,225,276,383,393,337,327,284,321,375,339,309,492,1690,2490,2604,2226,1742,1602,1394,891,1012,599,342,298,327,306,279,294,299,348,565,662,828,1556,1854,1588,870,575,799,598,327,651,897,761,709,711,694,588,509,410,793,792,554,317,359,344,306,357,428,488,609,767,778,1088,1208,755,896,933,1001,1064,823,785,984,764,522,687,729,602,627,437,476,714,905,829,803,727,730,1000,1102,1122,1256,1116,997,1176,1028,1188,1226,850,749,744,490,372,718,1158,1256,1144,1054,865,1048,926,1116,984,626,436,410,451,381,327,474,698,1023,1136,1348,1096,498,302,301,307,328,365,760,1268,952,618,656,1126,1068,1070,1128,1058,951,875,855,813,634,546,519,479,546,794,1202,1414,1384,1206,960,680,526,561,599,667,857,1018,996,1028,957,1036,772,980,1228,1184,1120,932,612,591,601,684,880,1104,894,841,999,1294,929,513,354,325,291,339,611,694,292,216,245,288,317,307,262,232,645,1036,1230,811,695,806,956,1122,1168,1154,1206,1282,1354,1496,1452,1406,1564,1508,1388,1394,1408,1272,1296,1598,1732,1914,1524,919,585,566,774,689,608,634,706,993,1368,1328,1130,1362,1588,1296,1198,1586,1294,1354,1606,1176,1084,1216,1340,1218,674,480,999,1332,915,780,939,1044,927,896,949,738,577,722,1052,1154,977,1312,1332,1214,832,696,885,704,365,451,486,403,415,390,392,541,766,1638,2588,2734,2004,1392,1062,783,612,495,388,522,580,1748,2298,921,291,301,286,280,256,277,282,272,257,251,240,242,248,238,223,246,245,312,447,459,429,418,372,365,381,378,342,368,304,260,345,357,284,292,245,240,243,319,305,338,253,252,384,586,669,551,469,361,354,439,434,382,370,343,462,633,818,768,468,375,358,383,501,708,1088,1184,1488,1004,541,299,343,420,874,903,415,761,1278,1009,1108,1396,691,368,361,362,423,376,355,542,658,612,821,1212,1276,1166,907,844,868,756,976,753,392,232,260,270,316,327,339,331,314,373,395,528,764,826,719,642,800,1070,1238,1064,477,788,890,589,397,519,1102,1260,1084,1272,1290,869,910,579,457,525,803,663,533,549,357,416,456,397,472,371,373,397,329,407,604,799,502,254,251,282,342,328,288,272],[911,733,1296,1636,1528,1656,1466,717,524,473,416,328,369,343,289,407,515,631,837,906,824,908,697,380,441,506,463,551,803,761,681,702,584,362,310,573,698,901,1216,1094,855,575,486,498,385,334,320,288,268,284,333,364,500,427,388,354,318,311,276,258,272,456,791,711,475,399,400,856,863,412,394,938,774,495,612,666,753,965,974,657,527,453,351,325,338,328,338,345,307,326,319,279,277,263,275,301,374,365,374,345,363,536,604,507,378,335,410,532,471,488,474,424,484,493,361,241,219,241,278,373,459,367,328,363,367,405,374,374,372,345,308,289,290,285,244,204,205,224,222,223,208,214,232,229,220,207,218,228,257,255,238,245,244,234,232,281,319,634,836,607,597,1178,1902,1978,967,625,725,968,1001,1260,1136,865,647,697,1238,1636,1478,852,1132,1102,973,913,1272,970,938,1116,827,586,935,1104,1274,1182,1234,1604,1158,1026,1128,682,660,1190,1554,1678,1238,655,375,353,516,509,823,1430,1294,1366,1220,857,919,830,733,1034,894,530,924,1136,1230,1032,1206,1158,648,636,1084,1432,1628,1488,1508,1914,1760,1086,1114,1238,1294,1264,1462,1228,1378,1384,1488,1410,1132,1084,1196,1290,1144,1460,1094,1048,604,395,370,473,485,622,729,814,992,854,1032,979,797,898,937,614,487,705,782,692,754,514,617,980,1030,1090,899,1170,829,829,1218,1614,1444,1612,1542,876,489,414,378,573,591,735,1036,1376,1210,1360,1388,916,561,670,664,694,742,882,833,514,624,511,426,457,521,496,499,650,596,333,369,485,539,449,367,340,375,422,441,414,414,388,383,419,413,628,646,759,808,756,1076,1118,1034,882,463,405,445,360,359,340,210,223,222,236,251,292,373,415,474,519,504,454,471,467,517,992,1350,1060,874,586,947,1021,546,552,835,944,1162,1096,949,874,986,1316,1606,1584,1710,1576,1388,946,627,1024,936,635,535,496,957,811,997,1278,1208,1070,1128,1386,1402,1166,924,668,655,804,830,1156,1392,1372,999,693,894,1092,947,680,602,797,800,1316,1204,1184,1238,908,647,716,921,949,1092,1202,1088,884,1050,1046,578,423,352,431,615,501,357,259,280,318,366,606,814,1112,976,1192,1228,677,568,992,987,863,897,975,724,532,796,1118,1136,1562,1402,1658,1710,1274,1146,1232,1058,1154,1294,1290,1154,941,882,1080,1032,1094,1194,1256,1406,1384,1172,1108,913,1116,1286,930,711,919,1388,1072,970,976,862,1224,1722,1568,1372,1608,1366,1448,1360,1354,1396,1330,998,1300,1268,959,678,680,663,465,380,607,1021,664,584,791,1116,597,332,335,348,306,299,354,365,412,365,392,648,952,705,1009,883,751,1166,1416,1112,637,310,395,706,1130,1296,1358,1550,1698,1688,1818,1868,1702,1592,1516,1354,819,1008,1306,1398,1378,1130,1344,1360,927,777,1162,1554,1442,1338,1232,1194,1208,1144,1188,996,997,1102,1328,1090,1056,1136,932,918,1206,1322,1428,735,828,946,1236,1260,1088,1092,1074,916,1042,1116,921,860,648,926,945,820,955,1196,945,853,897,853,1134,1428,1216,949,788,1158,1764,1858,1520,1080,1038,1004,1268,1288,1009,933,1122,1110,769,379,330,284,288,289,262,294,326,318,295,358,384,343,375,582,759,777,763,613,506,475,575,625,402,904,1320,560,441,383,302,356,394,373,411,441,478,658,781,747,632,648,657,554,455,469,403,303,361,538,647,689,587,600,591,478,491,476,576,600,557,456,390,386,406,487,503,573,621,535,500,471,448,489,539,491,468,472,464,434,444,535,660,689,608,608,632,604,586,630,680,637,645,686,763,817,827,673,363,484,705,630,741,731,752,709,813,1042,1180,1106,866,801,818,793,552,470,401,319,362,564,1194,1184,1002,1012,930,1122,1188,1224,1318,962,612,565,630,823,1150,1620,1448,1190,1224,1086,807,500,507,708,948,1016,1016,980,1102,1160,1260,1576,1564,1306,1252,1490,1146,988,1068,585,423,559,860,1516,2032,1720,1240,1354,1588,790,464,658,1128,1386,1534,1474,1360,1448,1496,999,626,816,998,1128,1202,893,1042,1466,1544,1164,1086,1192,1294,1260,1092,1198,1420,1290,1092,1017,617,575,441,404,400,496,541,626,753,605,410,415,680,961,1152,1050,1122,1066,777,871,733,629,1024,1252,1102,858,712,976,1136,1086,968,758,939,1228,1130,949,1338,1352,1098,1224,1462,1216,928,727,827,1022,969,690,524,464,510,665,895,1646,1892,1362,966,655,470,673,565,506,587,714,797,893,915,681,489,451,666,982,860,1128,764,421,473,587,530,399,328,325,325,368,397,385,315,323,330,339,360,374,417,434,397,382,345,393,423,484,519,490,463,425,410,406,405,377,348,362,370,379,404,393,393,340,304,300,300,311,354,406,520,721,713,523,559,494,818,976,654,346,277,300,284,267,313,318,335,315,301,314,331,513,461,448,450,350,363,341,318,392,504,582,433,416,345,366,357,331,292,296,310,295,317,345,360,364,320,283,305,358,390,385,418,330,313,331,307,285,411,594,400,329,296,270,290,304,304,303,325,325,315,337,428,452,354,310,346,379,325,316,301,292,281,292,302,289,283,306,314,313,312,323,369,386,369,628,855,977,1360,1526,1046,686,703,839,897,1200,1650,1854,1710,1360,993,776,724,765,824,764,979,1366,1608,1604,1430,1228,1178,1104,825,667,1024,1476,1252,1030,1512,1832,1746,1466,1438,1552,1664,1374,1104,1426,2122,2424,2298,1860,1344,1158,1478,1702,1598,2172,2698,2504,2288,2416,2558,2504,2208,1830,2004,2098,2032,1944,1662,1854,2132,1916,1226,836,613,480,482,451,415,490,580,1000,1416,811,425,374,365,342,326,328,312,308,305,299,319,305,314,319,361,358,362,329,321,339,338,369,372,320,312,287,276,265,266,283,317,309,278,302,357,356,349,340,362,331,349,375,537,573,428,412,452,705,1164,1328,1440,1416,1460,1374,1148,1290,1470,1488,1428,1404,1170,827,651,533,631,596,463,449,685,946,1168,949,760,554,571,802,1154,1152,869,716,756,1062,1144,964,711,777,955,953,1126,1360,1144,661,415,490,550,753,553,381,375,399,487,413,379,450,413,350,346,364,327,307,351,367,419,527,497,493,482,469,440,362,318,350,472,496,417,362,298,261,343,386,306,665,1742,2036,1874,2120,1794,1860,1692,1168,903,621,350,287,309,275,285,285,307,495,703,725,1210,2040,1986,2014,1430,1026,1058,670,546,932,1138,1066,1106,1140,1090,874,677,485,692,992,623,413,541,443,344,331,408,731,1154,1404,1190,1344,1094,753,617,722,957,966,689,670,908,612,629,1206,906,452,397,358,429,688,751,741,813,893,1064,1044,1128,1414,1532,1446,1342,1194,1200,1304,1154,1086,1268,1146,793,564,709,980,1228,1234,1088,672,550,411,675,692,476,393,362,389,369,403,760,772,1554,1576,1248,991,533,302,331,383,725,893,862,1442,857,664,597,786,893,1018,1174,1010,806,743,890,907,602,621,585,501,486,496,707,1056,1340,1418,1306,1028,755,663,702,713,699,683,785,1184,1338,1032,726,884,1170,1064,1246,1086,626,423,440,471,673,730,689,1154,1276,786,623,571,563,472,279,267,235,231,222,227,250,309,317,317,293,263,264,618,1028,1044,919,1098,1448,1262,1104,1060,1192,1262,1320,1604,1650,1634,1584,1436,1260,1106,1064,1456,1322,1126,1390,1532,1154,919,795,650,512,464,536,799,1120,1190,1206,1262,975,1272,1630,1462,1372,1406,1356,1486,1262,934,692,980,924,1116,807,490,792,1086,963,864,1154,1212,949,1230,1300,891,873,755,700,501,842,1200,1522,1546,1060,843,1136,909,444,454,439,436,404,394,411,575,966,1678,2210,1698,870,666,558,590,537,414,347,419,414,710,811,489,310,292,268,257,248,275,286,275,257,258,264,261,252,236,241,256,274,379,462,419,426,417,358,349,364,320,317,301,286,308,312,340,296,291,279,250,229,289,316,392,389,296,495,626,393,336,439,497,454,524,496,424,360,314,394,577,768,601,481,649,487,419,562,980,1192,1174,1110,1164,756,359,332,351,547,527,379,338,367,750,974,855,389,243,279,311,421,530,392,380,411,380,407,662,907,952,593,697,724,971,1084,574,354,246,332,456,553,448,335,296,303,386,434,515,731,913,825,630,761,1062,1178,919,561,750,1194,1068,857,1005,1064,1312,995,1080,1394,1234,861,499,540,843,1068,965,590,446,332,324,355,372,381,462,726,506,319,401,502,683,493,262,226,239,285,340,284,282],[714,629,948,1384,1858,1990,1412,749,561,561,729,776,1007,843,417,429,477,508,631,742,664,651,454,387,580,702,559,807,1246,1040,774,583,386,436,928,1184,915,1050,1294,1238,949,628,460,402,472,660,362,272,279,234,278,352,371,380,396,350,280,262,279,289,298,511,844,518,352,454,593,1011,867,478,418,524,559,727,857,685,478,1024,1186,952,625,502,337,278,408,666,803,515,300,279,320,248,277,336,312,348,373,381,388,312,256,364,518,485,332,349,402,574,453,426,465,443,410,400,333,245,229,240,309,369,409,378,370,381,384,405,377,339,339,328,296,269,260,239,221,229,235,228,225,229,199,209,237,220,224,243,243,216,232,267,241,237,235,242,247,298,408,629,756,705,676,1282,2288,2662,1540,944,787,781,586,869,1180,935,780,1308,1830,1892,1478,879,1142,1278,980,708,644,1110,1636,1554,1072,948,965,959,1168,1118,1088,1110,1158,1009,965,990,1134,1522,2082,1924,999,462,411,381,456,516,530,1152,1306,1270,1024,834,1060,1058,894,1042,1120,799,1182,1324,1086,859,1048,941,664,814,892,981,1382,1580,1534,1754,1846,1736,1718,1316,1244,1500,1426,1134,883,761,1070,1396,1170,1094,849,1090,1290,1706,1334,728,444,376,418,621,728,738,661,989,1316,1218,1436,1356,1200,1198,919,540,397,1078,1686,1126,758,533,727,1192,1360,1334,937,584,520,922,1396,1592,1626,1532,1230,820,724,544,582,1084,886,619,879,1146,1272,1156,1074,799,604,830,899,688,629,762,805,653,786,1028,904,524,422,393,429,547,515,360,450,632,622,475,372,369,370,466,600,513,440,383,358,400,347,411,460,491,482,711,856,748,866,520,322,345,460,331,341,295,216,218,232,241,237,281,317,317,406,456,461,432,442,531,485,753,665,575,543,432,528,589,554,583,595,578,760,1102,789,683,818,982,1406,1584,1520,1578,1412,1132,922,1426,1118,808,572,764,1264,1078,1001,1196,1178,993,888,1188,1238,1318,1034,671,432,543,693,1116,1688,1574,1504,1228,653,660,801,735,719,665,708,789,757,1216,1406,1324,903,766,956,885,1212,1128,963,1140,1122,900,510,338,326,514,661,647,552,296,295,344,379,888,1064,1232,1196,1368,1628,1064,758,913,766,616,709,732,444,315,508,1108,1060,1062,1488,1622,1438,1188,1306,1312,916,1178,1172,1140,1426,1762,1024,714,1182,1252,1106,1136,1352,1472,1354,1448,1252,1246,1240,1270,739,695,1003,866,944,1156,1026,1134,1584,1472,1520,1316,1162,1104,1354,1074,808,715,914,1116,1274,1322,1180,1116,852,539,553,788,819,780,833,625,387,297,313,294,320,377,324,323,308,328,313,659,1326,1220,952,1180,1158,1214,1422,1402,1100,745,350,372,464,1044,1296,1482,1610,1602,1528,1238,1338,1682,1722,1560,976,634,1144,1410,1268,717,805,1074,1280,1230,1082,1442,1614,1274,1122,1228,1426,1386,1244,1218,1184,949,943,1172,1152,1102,1238,987,992,943,1004,963,682,911,1132,1396,1406,987,719,1030,1194,1108,841,813,736,628,1005,1044,1088,1224,1032,927,842,501,631,1023,1180,1174,838,723,1144,1388,1360,1096,1023,954,903,1206,1568,1334,1038,1012,1522,921,330,282,296,292,275,240,236,304,328,310,291,300,421,564,686,708,766,790,653,499,530,530,468,404,639,808,685,639,539,427,376,382,365,385,471,623,712,749,659,594,675,569,404,398,383,314,275,320,364,523,745,741,592,511,424,420,441,594,627,524,481,493,448,453,473,435,480,594,473,434,401,417,566,614,543,540,521,433,379,421,477,595,623,604,641,652,592,574,579,592,571,576,684,831,929,857,795,628,628,644,608,634,615,659,614,790,1056,861,717,1012,983,825,697,479,469,397,377,387,740,1072,899,1116,1268,910,1012,1060,1164,986,1052,1040,822,738,1152,1562,1698,1594,1426,1316,1382,1346,680,451,597,755,864,1034,1024,1156,1312,1642,1722,1644,1224,1344,1378,1302,1072,812,484,433,391,688,1290,1580,1438,1174,1872,3140,1208,604,523,746,1208,1458,1478,1278,1324,1184,515,430,818,1130,955,927,581,633,1418,1538,1204,1162,1396,1440,1306,1244,1374,1198,1034,1032,1084,945,634,468,457,464,509,441,440,458,476,460,480,646,1004,1194,1182,1074,832,850,876,598,683,965,912,661,559,679,1040,1002,822,647,642,709,905,819,727,1224,980,1098,1378,1334,857,477,407,627,896,1168,1078,868,866,962,1140,1282,1598,1322,1204,898,575,442,386,349,449,567,782,1116,1172,976,986,865,758,565,654,808,1046,803,538,536,569,422,354,310,312,281,317,343,346,313,301,301,323,347,388,461,470,441,417,456,492,464,440,438,429,448,433,434,417,351,337,339,343,331,393,380,392,426,352,310,314,314,322,327,324,363,443,416,542,818,760,903,992,589,302,314,372,335,285,295,270,302,315,313,313,332,408,394,428,474,438,330,285,376,536,404,341,298,304,416,549,467,345,308,327,489,540,429,351,402,400,358,323,311,328,351,390,367,301,326,353,343,314,352,481,380,315,293,272,268,282,289,293,321,326,330,378,489,399,332,334,351,436,367,296,280,296,308,294,281,272,278,314,318,320,318,321,327,325,370,550,635,752,1198,1656,1488,1028,813,922,1134,1506,1818,1936,1868,1792,1556,1242,807,719,999,1296,1508,1594,1572,1340,1078,916,901,888,787,939,1464,1248,1090,1662,2078,1870,1758,1600,1488,1592,1778,1686,1558,1644,1846,2078,1666,1470,1294,1378,1588,1338,1548,2386,2910,2632,2530,2888,2814,2714,2458,1786,1920,1662,1566,1572,1516,1670,1832,1520,1120,941,646,529,474,421,438,523,959,1290,848,431,357,340,332,319,332,341,336,342,342,344,354,337,317,325,333,335,338,325,312,324,329,345,371,389,334,294,275,264,264,275,291,296,300,306,323,345,339,343,347,373,360,335,413,399,341,408,474,645,1001,1306,1622,1422,1844,1556,887,1016,1228,1302,1268,1244,1256,1204,819,622,594,474,442,437,605,1028,895,519,464,436,403,504,670,836,990,930,801,875,1178,1054,733,697,958,1280,1484,1300,956,554,339,440,534,832,586,447,454,437,450,429,418,430,415,394,393,384,348,311,365,320,390,509,504,492,486,502,448,393,430,448,520,540,531,440,346,228,274,352,278,529,1144,1724,2042,1682,785,943,1108,1224,837,612,409,314,382,320,298,321,325,387,537,874,1682,2444,2262,1936,2164,2206,1192,441,504,568,566,664,764,850,870,904,702,498,577,804,654,694,1054,901,417,354,416,567,867,1102,1042,1009,1042,963,677,689,997,1134,942,1132,1108,506,707,1490,897,394,363,437,567,630,591,639,894,1100,1130,1142,1250,1434,1566,1612,1302,1356,1416,1214,1228,1418,1522,1408,1200,927,1122,1116,913,1062,1086,739,446,303,397,650,863,538,341,389,324,612,1130,955,1072,1140,1234,1152,623,332,346,574,1062,1150,946,1532,922,594,527,491,511,595,563,546,558,585,952,971,534,736,710,530,512,522,520,613,865,1206,1418,1362,1180,953,866,879,739,724,798,1016,1410,922,422,388,377,648,1030,1102,999,430,430,476,732,635,659,925,776,599,736,730,465,409,243,228,228,244,272,284,319,365,334,328,313,294,266,361,853,1510,1610,1324,1354,1340,1150,1174,1356,1366,1482,1574,1520,1464,1404,1316,1484,1238,1184,1724,1368,1140,1346,1166,956,871,976,872,592,605,744,894,979,974,1444,1520,874,1190,1596,1544,1454,1210,1062,1222,1174,1106,606,486,455,547,497,519,720,821,682,909,1013,1158,1082,664,559,552,766,1166,1340,965,922,1136,1017,997,1040,825,814,663,658,595,586,540,479,416,390,347,661,1226,1148,652,490,444,387,410,408,323,309,311,333,425,458,373,310,272,296,281,275,272,265,259,257,263,271,261,244,245,247,248,282,349,365,444,518,453,332,308,335,321,311,325,357,334,325,329,333,305,252,232,263,402,557,754,786,440,416,451,368,271,314,473,494,454,448,386,294,280,331,499,622,430,466,612,591,479,478,676,852,908,993,860,532,354,269,264,340,365,370,336,345,699,861,566,262,248,296,246,233,253,236,238,279,317,368,399,582,781,744,554,568,758,669,415,298,302,455,861,1050,691,339,263,274,330,373,553,860,1034,1520,753,519,675,505,640,630,558,1054,1202,924,859,747,1206,930,1184,1172,1312,983,583,597,764,1180,1394,564,422,422,322,344,358,637,920,1116,731,649,625,330,361,332,392,273,230,218,252,286,286],[1060,679,922,987,1636,1396,1011,957,1034,1056,1358,1238,819,652,349,303,325,360,523,636,463,385,353,331,473,669,555,587,689,502,525,584,555,624,1284,1362,1214,1224,1304,1426,1338,924,631,641,533,525,364,382,275,251,287,362,415,373,326,338,289,314,397,332,265,332,548,421,359,498,852,1082,1005,774,665,894,879,993,1082,851,564,859,688,507,502,507,410,539,666,825,661,428,298,251,320,303,365,521,391,244,334,391,374,311,269,310,432,441,304,274,299,373,347,362,382,355,359,346,289,257,245,245,318,389,384,377,358,349,364,358,339,325,333,322,276,239,217,218,229,231,227,242,246,245,221,226,232,219,244,219,189,212,212,239,222,244,254,236,262,319,456,611,725,708,554,1010,1838,1938,1556,1130,698,464,425,585,927,897,822,998,1566,1576,1048,674,719,1302,1692,973,713,1638,2348,1886,1228,1226,1408,1350,1230,1554,1110,725,769,723,1098,1418,1158,1154,1532,1294,1136,613,424,467,461,683,681,721,930,1160,1212,1180,1384,1294,1034,1146,1270,916,1338,1422,897,462,554,574,567,694,601,824,1396,1636,1572,1888,1928,1586,1480,1278,1180,1194,1202,1002,807,929,736,761,812,1034,1066,1150,861,1100,1094,677,495,400,580,1088,982,826,858,1342,1522,1438,1360,1218,930,758,502,450,387,667,1128,835,422,492,905,1188,1462,1400,1090,1001,998,1244,1538,1578,1598,1650,1592,1386,1010,717,745,1132,1060,672,495,717,979,975,959,1056,1038,1394,1344,821,692,832,819,625,579,698,534,492,514,474,529,744,523,375,403,434,436,444,401,352,343,479,659,561,477,434,339,441,505,474,505,540,401,519,747,739,740,361,398,378,357,314,305,264,237,251,262,277,277,305,321,332,430,452,410,406,456,494,446,460,455,451,389,369,385,628,803,628,473,569,851,899,818,1266,1820,1638,1576,1432,1036,918,932,952,1152,1016,555,509,798,1013,774,626,757,1196,1454,1290,651,976,1258,1312,1184,740,694,902,803,928,1126,789,785,898,904,500,460,521,894,969,976,912,1080,1240,1360,1450,1312,1090,623,663,850,683,868,1292,1296,1024,600,418,560,778,611,571,491,346,330,408,430,940,1248,1188,1160,1122,1272,1284,920,473,370,366,476,590,603,487,547,924,877,941,1246,1420,1212,1076,1290,1246,873,962,894,1082,1196,1188,799,531,777,1066,1192,1308,1236,1166,1186,1448,1482,1538,1466,1144,543,438,616,555,584,1011,1230,1412,1460,1046,1560,1952,1748,1284,1402,1028,720,1116,1296,1066,1154,1344,1388,1212,1136,1038,861,753,808,871,843,636,471,415,384,374,412,568,408,299,292,288,485,1024,1022,550,645,973,1152,1312,1380,1072,1104,986,597,435,713,1504,1276,1172,1412,1448,1366,1332,1256,1092,1282,1668,1594,1386,1434,1446,1178,759,666,936,1224,1074,850,1138,1088,971,1216,1434,1412,1296,1264,1172,1052,882,918,1284,1158,794,918,1007,937,885,695,689,610,762,1052,1124,1084,829,825,1026,912,719,844,988,756,803,1162,1012,791,809,659,562,652,731,806,1234,1220,1220,878,896,995,1200,1584,1494,1314,1268,872,1108,1720,1334,1126,1108,1450,838,340,268,278,304,287,227,239,336,372,379,336,314,435,532,611,626,614,684,739,743,571,368,381,474,730,874,736,647,615,560,460,363,408,447,589,713,725,667,504,533,581,491,399,380,329,275,273,304,308,325,460,618,575,542,500,400,332,482,517,446,490,516,523,579,570,467,448,444,364,384,339,430,622,602,521,504,551,646,586,476,458,576,568,605,632,615,581,584,599,604,546,533,535,584,831,875,866,799,758,657,626,534,486,646,830,1038,1332,1042,852,908,1078,971,554,413,430,404,350,375,707,913,606,674,893,715,944,1296,1246,1184,1306,1116,933,1005,1226,1300,1164,1384,1660,1388,1390,1400,807,534,563,749,874,1026,1256,1242,1300,1528,1204,1528,1050,1320,1336,1394,1068,634,411,462,458,453,604,806,1064,1346,1504,1840,1238,962,817,1136,1478,1456,1376,1254,1218,996,438,433,694,900,689,678,741,799,915,944,775,733,902,1268,1358,1482,1392,1152,978,1019,1076,974,783,716,601,505,471,383,383,414,462,568,728,747,813,971,1082,756,491,505,508,534,615,654,531,502,511,769,1100,959,673,667,920,1066,1178,963,746,877,1036,1208,1040,944,611,480,584,757,1214,1386,1406,1278,1350,1332,1292,1048,710,832,1078,1008,937,699,423,412,513,619,937,1262,1076,712,918,1064,819,523,545,732,725,822,870,616,506,385,363,326,307,300,337,339,305,305,313,313,318,331,364,491,502,543,466,478,499,451,447,441,439,417,389,440,426,405,382,373,390,382,380,344,344,383,369,343,342,328,322,338,338,341,359,365,622,976,1040,1017,819,428,306,302,321,291,284,266,290,299,295,312,318,327,384,464,515,547,522,344,302,354,442,597,431,293,255,328,523,522,376,314,341,658,763,739,448,410,422,488,418,321,350,378,418,413,371,375,369,346,321,318,361,368,348,302,277,275,281,299,299,303,313,334,382,532,410,316,324,391,414,342,297,275,287,284,278,282,278,285,304,316,324,335,328,314,303,390,539,563,688,1150,1642,1636,1562,1466,1440,1572,1576,1620,1662,1716,1830,1798,1438,999,980,1258,1498,1490,1328,1306,1274,1054,831,747,755,790,1220,1472,1042,1614,2156,1886,1844,1700,1584,1232,1096,1412,1682,1734,2032,2404,2212,1160,1100,1312,1130,1588,1472,1322,2266,2920,2756,2564,2584,2734,2924,2986,2514,1990,1664,1750,1652,1636,1626,1526,1522,1606,1148,788,678,513,455,493,807,1288,974,460,381,344,307,300,322,344,364,369,367,366,357,345,338,342,331,313,323,347,347,325,339,323,323,346,414,334,289,296,273,275,278,262,273,320,334,333,333,321,332,332,389,403,346,320,346,449,424,492,617,885,1268,1584,1460,1732,1360,835,824,1140,1274,1200,1136,1776,2398,1136,836,681,568,482,467,687,861,678,572,514,445,421,429,543,746,1204,1152,647,722,1572,1736,907,807,1098,1340,1276,926,573,573,563,661,866,758,630,536,441,415,364,385,455,438,430,337,369,444,365,269,325,291,357,484,509,551,554,532,499,469,473,497,523,529,544,526,425,305,278,303,337,282,345,583,465,392,384,489,998,1108,600,437,401,359,445,371,395,338,304,304,333,656,1826,2296,1836,1634,1888,1958,909,524,395,383,393,389,397,476,486,422,367,347,337,479,705,929,1040,815,491,360,416,474,777,1094,866,417,527,651,659,733,1128,1102,878,1054,816,377,774,1092,833,492,419,863,1156,871,669,951,1470,1342,1180,1050,1320,1382,1266,1236,1206,1426,1312,1284,1572,1494,1456,1512,1486,1226,1174,1152,869,1034,999,596,331,430,675,982,1070,688,462,474,384,695,1142,1124,966,867,1016,939,793,770,722,850,661,468,641,1444,1256,1001,942,749,642,517,440,462,511,678,992,1166,653,625,681,621,522,537,529,490,554,787,1134,1378,1440,1272,1070,891,785,713,619,743,877,571,405,453,473,653,833,747,702,457,432,591,911,880,963,1326,1428,1226,1138,824,328,236,216,219,232,238,286,282,289,303,340,315,285,265,294,533,1200,1534,1604,1346,1394,1452,1340,1250,1284,1432,1450,1410,1354,1214,1394,1556,1722,1392,1294,1282,1288,1372,1106,929,1124,1110,869,855,649,539,651,754,798,803,1082,984,979,1416,1426,1348,1216,1328,1118,776,664,741,491,354,494,577,475,543,959,933,1064,1268,858,872,749,509,600,815,871,1116,1362,1128,1112,1236,1066,1172,861,541,483,914,1184,1007,643,810,950,440,406,466,1130,1216,615,558,854,820,558,373,379,346,339,316,354,424,363,333,346,301,299,283,266,251,261,269,264,259,254,257,257,264,278,251,245,353,338,343,445,458,341,267,301,356,363,311,297,273,287,299,321,327,282,267,338,508,493,512,855,1021,884,512,343,279,310,379,396,413,371,291,291,291,344,434,532,364,305,454,606,525,444,537,634,673,650,505,465,364,290,277,351,449,690,668,482,759,946,667,310,268,240,251,256,303,326,297,389,354,296,375,358,381,480,712,697,474,347,304,343,427,523,918,1122,677,456,316,299,268,357,618,1042,1396,1976,1254,1000,844,557,735,551,367,719,1126,1016,691,708,835,773,1080,781,818,1224,1144,818,577,736,1080,472,328,354,392,427,325,633,988,866,612,871,977,467,503,897,1288,518,250,222,213,234,251],[1094,656,1100,1396,1450,890,725,778,925,1164,1370,977,378,354,336,309,310,382,463,669,542,374,372,343,404,500,424,552,545,293,287,353,325,500,734,741,841,754,655,957,1120,1098,875,554,527,577,631,651,439,320,288,320,419,445,412,394,351,343,433,433,417,369,383,323,345,579,703,819,1090,872,835,1220,799,598,851,784,603,510,386,292,502,696,584,912,651,444,362,401,478,373,308,373,416,451,383,293,316,340,349,311,271,247,292,310,270,228,233,286,312,349,372,343,364,367,316,276,243,241,293,410,431,387,389,399,391,367,343,339,318,318,295,262,257,263,243,223,223,231,250,268,237,247,236,253,237,219,204,212,240,258,264,299,319,292,284,317,412,597,681,545,490,935,1522,1264,797,858,780,469,576,639,790,830,894,985,1210,923,671,575,509,1054,1348,635,533,1102,1688,1434,1068,1164,1630,1272,871,1184,752,393,426,472,850,1278,1014,1060,1468,1272,1234,866,638,587,626,752,600,563,744,1024,1152,1114,1082,994,1076,1116,869,834,1192,1244,992,638,476,437,499,491,430,727,1098,1422,1592,1670,1718,1502,1304,1326,1228,1120,1196,1104,1012,1102,1200,1026,971,1282,1656,1548,1154,798,645,502,514,620,971,1354,1166,1004,959,1148,1328,1078,843,741,926,1104,749,726,641,1038,1030,637,381,472,559,602,1104,1328,1154,1250,1294,1554,1760,1732,1648,1648,1672,1540,1304,851,891,1454,1302,685,540,610,794,1118,1436,1548,1132,1260,1222,788,669,709,615,550,615,636,520,536,553,553,543,526,420,385,365,360,411,460,423,363,347,421,534,507,443,438,337,425,512,541,572,529,452,468,515,523,615,554,407,379,383,335,318,272,248,272,255,235,291,423,442,540,733,862,803,490,396,448,466,505,515,473,424,399,377,592,692,484,379,618,811,791,855,1310,1522,1290,1496,1288,825,803,854,907,1044,640,502,673,984,750,546,710,1166,1424,1064,696,492,830,1028,1548,1204,790,1150,1134,901,928,1112,1021,851,1056,966,497,392,386,511,927,1188,1264,1384,1226,1158,1268,1230,926,711,590,647,924,1166,1216,1158,1019,847,620,1023,1192,648,372,334,350,357,329,582,1064,1268,1162,1009,944,879,816,686,413,314,471,568,718,938,714,467,529,829,1046,980,1014,856,977,1066,1090,1094,877,813,978,1120,1046,1080,1102,958,1288,1306,1168,1222,1226,1928,1904,1634,1482,1462,1266,641,371,489,476,520,781,1204,1562,1222,1044,1142,1874,1586,1218,1390,1036,699,869,989,1138,1016,770,626,757,888,948,711,623,744,707,528,478,487,663,785,628,594,535,396,278,271,265,579,921,741,565,733,1004,983,996,1017,716,1112,1246,817,719,1202,1432,1018,893,1004,1330,1404,1506,1498,1194,1218,1334,1642,1736,1512,1170,878,629,617,831,1036,1212,847,1014,1206,777,733,1036,959,1032,1406,1338,951,962,982,1038,877,547,473,625,761,903,913,807,755,967,997,1021,1204,1136,1188,990,799,723,935,1124,993,782,675,468,345,383,363,567,882,1044,788,939,1416,1152,778,846,838,1036,1366,1256,1178,1046,818,1046,1520,1230,1070,1046,928,548,329,263,226,290,343,300,284,345,332,339,323,346,434,448,493,469,417,613,797,559,357,362,480,566,509,498,410,410,445,562,519,368,415,517,696,672,588,474,432,463,491,443,392,363,301,299,311,325,304,319,306,326,393,457,456,424,382,382,436,446,410,400,438,451,402,526,562,405,339,357,317,342,427,516,551,546,694,957,930,811,512,521,583,636,629,581,584,595,616,642,534,541,495,412,559,688,728,757,836,795,625,462,426,798,1388,1132,987,982,757,651,783,874,641,405,483,545,469,500,833,894,550,554,521,508,630,769,921,1074,1054,1042,1156,1440,1316,788,642,1015,1526,1420,1278,1015,714,637,780,984,874,812,937,804,941,1236,763,1034,1174,1166,1400,1222,847,838,879,711,698,434,517,843,1126,1388,1394,1256,1438,1364,1262,1488,1462,1434,1550,1510,1130,752,396,404,662,1100,1144,1010,1062,1162,1188,908,612,579,1142,1490,1450,1510,1332,1376,1236,1120,941,582,696,907,653,501,456,388,379,454,426,561,667,645,518,611,750,670,571,527,592,581,500,519,463,803,884,823,990,1128,1060,854,913,1122,1132,952,789,499,735,818,840,1144,985,1112,1162,767,969,1182,1482,1512,1470,1310,1200,977,999,1302,1228,1104,1150,1084,695,429,553,601,716,1000,825,710,754,915,772,505,701,868,579,649,668,889,638,409,345,314,321,325,321,302,281,297,328,331,329,342,332,416,427,504,465,451,467,477,470,451,448,403,368,416,424,423,397,342,377,393,361,347,320,351,360,372,334,299,316,324,342,345,348,362,416,715,1007,851,592,350,318,303,260,307,290,280,302,313,311,319,331,324,376,489,545,526,517,354,298,289,271,380,360,278,240,278,390,458,396,408,356,414,464,459,381,417,404,427,397,367,347,352,344,328,302,357,330,318,328,339,389,406,368,314,286,280,291,298,313,312,325,334,401,453,382,325,320,377,384,318,304,275,272,285,295,290,289,297,304,308,318,332,328,321,332,388,441,587,810,1282,1394,1082,1102,1278,1326,1150,897,746,826,1182,1364,1328,1164,1338,1472,1450,1430,1382,1072,966,1302,1326,1038,781,697,825,1452,1352,1408,1822,1666,1812,1794,1422,1278,1110,905,853,1158,1648,2162,2270,2078,1184,1270,1648,1260,1500,1594,1506,2596,2918,2468,2330,2452,2670,2706,2624,2170,1710,1970,1914,1538,1542,1628,1582,1476,1692,1578,1160,818,645,578,810,1184,946,506,367,344,353,333,310,299,350,369,371,369,369,363,354,330,317,315,298,339,378,384,441,428,354,333,342,349,332,326,312,283,281,242,264,290,300,293,301,311,335,329,351,426,410,381,365,383,481,376,432,502,590,727,1248,1432,1070,1120,1206,1174,1318,1126,1396,1190,1376,1648,1144,1108,1200,1013,712,586,713,595,530,503,536,459,378,384,456,470,735,667,682,660,985,1384,861,647,1120,1038,668,588,500,705,810,1034,1056,899,801,565,480,485,325,354,438,445,418,365,377,428,409,357,348,299,335,474,490,499,516,549,529,507,509,507,502,501,515,537,509,465,409,300,387,466,383,285,326,390,454,686,1102,915,471,359,390,356,390,304,384,322,282,317,358,398,1026,1832,2234,2142,2112,1864,664,473,384,322,334,353,353,356,407,443,398,326,343,540,536,691,636,578,596,426,337,750,1318,1570,1296,706,747,705,794,990,937,591,418,532,546,346,417,656,720,610,996,1430,1406,909,705,1278,1814,1554,1130,1038,1354,1342,1208,1042,975,1238,1158,1152,1238,1404,1478,1500,1522,1246,1318,1190,1100,1090,723,579,514,525,521,952,828,595,394,339,398,820,1194,1316,1120,879,1001,769,786,1260,1472,1286,1050,702,833,1428,1428,1180,1310,1356,1226,792,525,586,646,734,1170,1084,559,432,538,468,422,529,498,476,508,584,675,976,1308,1418,1356,1100,857,750,642,504,603,619,436,426,442,565,682,536,453,508,447,673,839,806,1274,1724,1536,1362,1130,584,276,219,233,241,238,272,316,365,399,306,310,263,276,254,328,1070,1628,1470,1516,1572,1400,1328,1446,1432,1576,1600,1456,1422,1422,1556,1630,1564,1554,1236,884,1234,1622,1516,1356,1258,1490,1284,783,721,613,613,766,775,831,966,1158,1004,932,1266,1246,1366,1154,1384,1172,953,796,492,362,429,708,847,626,788,1174,1270,1320,987,794,716,772,763,829,978,1050,1302,1440,1134,1162,1232,1432,1480,686,754,941,988,1068,845,829,1720,1448,455,416,453,508,682,1080,1394,1562,1512,818,441,477,389,343,376,417,398,415,395,368,357,418,425,408,332,296,290,271,258,245,251,252,273,275,280,273,292,270,233,272,333,301,215,254,331,342,312,306,283,262,253,269,305,313,361,441,441,420,612,1032,1334,1286,604,298,287,281,285,271,325,322,305,282,287,417,440,565,479,335,386,468,478,401,360,538,825,759,458,401,492,461,345,301,407,738,763,490,554,539,383,265,292,393,499,441,367,335,307,387,405,379,344,300,301,314,351,558,582,418,322,425,558,687,1080,981,629,693,304,253,325,722,1003,982,834,1218,1310,1080,713,592,698,442,428,698,866,987,974,931,714,827,1088,717,706,1070,1362,1082,572,514,440,318,265,292,354,337,290,539,787,738,783,749,833,1017,1054,1216,1312,683,287,216,239,228,231],[641,702,882,1522,1212,649,730,503,584,860,747,525,408,336,309,258,275,417,425,559,610,376,341,346,377,331,291,540,862,590,295,263,342,531,529,534,695,779,692,872,797,986,1178,717,543,504,919,1019,573,415,367,308,350,384,356,332,347,306,376,430,414,387,351,358,626,931,896,886,872,703,944,1312,903,515,502,457,358,306,323,312,404,475,374,525,541,513,519,588,572,486,386,325,389,289,289,270,270,304,319,309,279,240,246,292,303,251,242,287,320,351,363,347,400,400,307,263,262,294,299,379,413,401,465,477,425,429,333,284,286,330,330,322,314,282,249,230,235,242,256,278,239,245,252,285,258,244,213,217,233,241,283,326,342,348,320,278,394,514,632,768,815,1000,1040,874,967,813,662,654,889,747,721,833,1001,1318,1146,1016,948,513,609,814,745,536,708,926,1194,1462,1304,1434,1662,1007,423,363,303,390,391,498,963,1214,1090,1184,1256,923,931,1746,1770,813,596,613,535,751,1094,1066,838,844,760,838,1078,1322,1009,861,1362,1710,1356,973,515,368,344,318,399,816,1470,1486,1414,1618,1768,1736,1528,1300,1172,1246,1260,1310,1021,902,1046,1032,1112,1606,1838,1498,1110,450,443,421,447,645,818,1026,1404,1432,1016,843,899,745,537,449,1054,1362,1152,1116,1013,1190,987,571,376,415,430,481,965,1322,1180,1294,1404,1626,1802,1834,1760,1720,1726,1638,1450,1002,990,1362,1302,1058,1028,717,816,1196,1998,1576,880,716,685,553,507,536,495,492,821,619,518,667,590,545,650,515,340,386,398,389,381,358,372,383,419,535,502,457,451,457,392,342,321,352,419,428,513,509,536,678,561,409,298,319,328,289,264,213,221,255,281,272,368,548,514,591,673,1010,1070,783,661,524,468,481,496,429,393,400,361,410,448,416,474,867,1148,1006,927,1332,1962,1632,1566,1464,1164,1388,1246,986,772,799,992,954,727,426,442,635,1296,1294,993,730,661,968,1062,1044,745,763,1130,993,825,799,1262,1240,802,733,625,621,537,426,659,1184,1306,1232,1116,1106,1128,1028,880,843,1154,1152,1130,1100,1250,1210,1140,928,886,802,1011,881,486,336,323,366,374,370,738,1156,1274,1316,1206,944,768,896,628,348,301,612,774,731,816,891,868,875,1058,892,813,1140,1142,1108,922,1007,1150,945,691,722,896,1130,1236,1248,1166,1510,1484,1396,1434,1440,1756,1636,1628,1538,1490,1326,986,706,831,794,519,509,990,1106,1054,1362,1486,1668,1532,1346,1220,1076,899,930,1124,1454,1250,719,766,800,902,901,667,462,443,436,388,485,533,861,934,846,912,667,364,267,277,253,357,443,412,623,987,825,1042,686,540,791,910,886,807,829,1240,1054,662,643,944,1482,1594,1484,1360,1390,1484,1222,1340,1672,1694,1470,1032,694,772,886,737,1234,1094,1048,991,572,615,868,723,754,1015,1015,847,709,613,585,518,440,672,966,1086,1066,757,501,629,1116,1082,1150,1432,1102,1286,1156,844,766,964,1005,773,528,422,330,317,401,742,1190,1238,1136,847,715,1106,1236,987,977,995,1194,1290,950,799,937,821,983,1026,732,737,893,688,380,321,300,254,279,272,261,249,297,332,334,317,396,485,501,485,422,407,522,551,425,398,380,583,578,436,386,370,366,351,375,380,384,398,500,649,651,516,398,401,423,447,462,412,350,306,322,321,303,294,364,373,387,408,382,369,416,418,362,419,400,340,352,352,415,963,977,628,472,446,465,408,438,404,446,536,572,748,892,831,860,754,628,583,573,564,576,658,708,623,644,600,503,451,415,424,471,521,566,716,797,714,582,455,860,1174,834,846,1044,811,614,629,762,529,416,552,585,554,803,1064,585,426,545,709,593,451,572,836,921,968,1260,1452,1368,1142,581,513,1018,1626,1538,1152,752,637,865,1094,884,800,662,814,584,647,736,978,1282,1138,913,963,805,633,650,897,910,813,455,606,666,890,1312,1360,1208,1380,1516,1470,1422,1448,1582,1590,1448,1020,797,519,417,797,1270,1404,1350,1196,1234,1242,1186,951,894,977,1098,1372,1646,1646,1488,1232,1108,799,532,549,523,510,600,516,463,516,530,543,564,529,553,585,640,615,597,532,641,680,641,495,462,457,896,994,749,980,1015,1152,983,774,781,1098,1470,1246,827,904,922,920,893,908,1316,1336,1154,984,1370,1532,1506,1218,1204,1186,1013,1230,1350,1104,1040,978,970,671,455,593,700,836,828,748,761,892,1086,832,673,997,1064,957,895,736,1274,1074,530,353,315,312,328,324,291,276,292,318,325,332,337,326,332,348,363,420,522,539,491,430,417,412,372,357,353,372,400,410,345,331,350,379,379,332,344,336,339,309,293,312,350,388,380,339,326,282,430,661,421,317,303,318,294,279,306,302,285,272,291,327,339,341,325,355,487,541,539,519,372,298,286,274,278,279,265,251,259,292,343,348,373,451,358,280,306,334,373,402,361,357,342,325,303,286,295,291,357,379,406,417,391,397,421,371,285,269,272,299,320,343,328,334,377,428,372,355,344,318,329,340,320,298,278,289,308,303,295,294,295,293,293,293,296,306,333,423,804,1026,1058,1072,1478,1312,817,733,685,612,530,549,595,705,719,980,1244,1338,1450,1528,1614,1636,1538,1216,983,1144,1296,1116,949,804,973,1488,1176,1460,1746,1416,1412,1308,1188,1162,1168,941,697,604,916,1306,1462,1810,1710,1844,1686,1021,1328,1460,1238,2156,2542,2120,2072,2302,2416,2194,1838,1530,1750,2026,1820,1456,1552,1722,1828,1678,1546,1986,1722,929,650,848,1266,1122,517,387,346,307,312,298,285,289,317,329,352,380,385,366,369,346,336,331,324,379,389,391,501,603,463,318,320,306,295,294,304,298,278,267,284,291,285,292,300,332,343,329,356,415,381,361,361,326,272,349,455,459,418,522,1154,1330,735,1038,1244,1208,908,1068,1302,1168,1084,1172,1100,1034,1100,1342,1242,885,679,378,422,372,412,373,330,367,417,502,541,898,1422,1110,1274,1578,1302,797,800,697,563,417,544,732,818,914,886,924,821,558,579,487,374,361,365,414,404,383,387,412,430,420,435,360,396,416,404,485,507,501,474,412,451,500,491,512,516,504,511,492,449,335,488,890,615,301,325,394,537,880,1068,689,487,379,328,295,339,350,346,366,346,312,314,307,332,369,511,822,860,628,370,340,307,276,283,326,449,587,830,841,574,456,461,546,403,409,670,1100,988,522,300,414,741,1162,1334,942,852,1080,1138,1248,770,446,592,971,790,461,574,612,625,942,1168,1042,736,586,723,1108,1408,1340,1042,1086,1236,1324,1158,1110,1168,1246,1180,1196,1320,1380,1266,1370,1410,1380,1346,1180,1176,952,1015,1023,919,988,797,929,896,814,777,575,789,1088,1023,1234,1332,816,982,1100,1328,1464,1490,1278,1122,1094,1180,1338,1180,905,1302,1404,1318,1272,981,777,759,811,1021,664,344,361,418,422,375,355,452,506,465,477,525,612,862,1304,1556,1406,1158,912,727,548,562,642,540,475,469,608,880,804,927,1096,637,469,350,486,1036,1388,1136,859,546,305,229,229,240,247,224,261,375,454,440,685,594,365,339,380,670,1488,1674,1432,1506,1494,1588,1512,1590,1562,1656,1632,1584,1554,1504,1416,1224,1090,1132,1094,1156,1274,1300,1250,1084,1012,1650,1444,1178,1236,1076,1266,1400,1098,903,990,870,794,839,1288,1310,1310,1154,1238,1180,1158,817,466,576,551,963,1036,977,994,1002,1284,1332,1346,1238,825,774,1152,1026,675,1164,1800,1410,1052,945,1076,1134,1180,1114,965,838,944,983,1062,1164,974,511,451,431,523,1072,1544,1750,1448,1372,1314,805,517,406,328,350,393,374,400,499,453,379,435,549,637,565,348,373,417,351,293,252,240,253,285,271,262,252,266,258,263,266,264,238,220,243,256,248,272,285,302,294,252,245,296,316,484,438,341,575,755,747,870,813,576,406,261,268,324,272,250,270,310,312,367,432,398,481,545,416,323,398,443,350,319,689,1440,921,516,478,443,414,353,269,281,456,537,385,539,393,288,285,388,890,1020,512,198,205,274,454,629,671,358,273,404,459,346,346,436,569,597,508,448,485,590,529,883,741,321,296,495,1023,1438,963,491,847,932,871,594,551,631,538,470,488,553,1018,1334,918,422,682,1076,1140,1088,761,993,1542,1196,990,615,364,299,306,312,411,609,619,571,616,787,1026,1098,1278,1168,788,725,652,368,236,249,231,280],[528,656,595,1050,987,436,537,468,481,1028,1236,1130,659,409,328,274,323,429,424,526,625,362,320,337,315,267,294,638,1540,1178,469,360,433,515,579,678,675,846,818,863,1076,1334,1324,1010,639,360,651,714,393,406,382,324,312,340,329,354,354,312,337,335,391,440,479,675,985,1054,1066,979,763,811,1136,1036,674,519,351,275,341,325,304,312,356,431,461,609,850,1080,772,501,470,503,414,296,391,316,299,288,308,330,330,321,302,275,276,305,302,261,251,272,301,335,359,369,386,346,304,306,318,335,356,363,321,400,455,427,441,384,261,211,228,266,286,304,301,258,224,223,258,285,298,285,253,239,274,256,261,258,230,230,224,226,301,318,308,314,336,350,455,427,596,1012,1182,1084,969,896,849,452,433,838,923,777,846,1026,1186,1340,1284,1692,1740,681,836,1222,926,972,1154,1100,1226,1400,1286,1488,1594,1004,573,544,530,476,438,616,1058,1154,1170,1350,1148,815,1018,1544,1456,1056,747,546,702,907,1202,908,705,957,1036,1174,1240,943,673,748,1278,2746,1790,720,371,338,393,372,477,1056,1210,803,976,1288,1618,1476,1170,1172,1134,1015,1036,1206,1042,940,842,767,944,1244,1086,943,736,503,502,416,480,591,756,1172,1676,1594,977,660,569,675,557,405,593,879,1064,1006,982,1194,857,418,343,383,544,885,1102,1444,1764,1796,1604,1686,1806,1780,1686,1642,1718,1770,1384,783,768,996,1266,1948,1492,763,1072,1368,1256,1056,716,473,615,713,567,607,616,476,673,590,536,481,453,561,692,521,386,386,383,357,387,362,362,375,545,638,543,524,608,506,392,352,335,323,348,335,419,533,598,564,352,241,276,489,574,448,310,247,228,257,273,264,372,547,518,732,1028,949,788,733,716,597,518,689,722,606,609,667,764,814,730,509,435,694,1248,1336,1390,907,1082,1328,1554,1452,1009,760,657,516,463,700,1126,985,554,820,625,575,728,930,1350,1070,740,977,1040,725,876,873,855,775,897,938,1054,1184,1252,843,627,983,1402,1454,1012,1258,1082,1009,1080,1258,1194,1048,930,1180,1162,1098,993,1042,1284,1074,862,822,1019,1044,864,743,538,422,365,449,521,519,804,1150,1324,1326,1206,972,876,916,611,426,353,426,604,652,580,913,880,943,1172,869,826,1122,1020,1236,1132,995,1011,751,618,884,921,929,1228,1044,1386,1510,1416,1562,1324,1438,1700,1578,1324,1382,1428,1310,1648,1240,1246,1122,695,884,1186,1058,1472,1550,1354,1404,1384,1498,1150,1344,1250,1266,1238,1320,1204,780,803,1274,1436,970,645,385,348,374,471,704,725,720,728,880,982,939,752,498,357,294,279,309,330,471,834,703,819,613,401,559,798,1266,1434,1396,1588,1076,862,868,1406,1616,1290,1066,1042,1320,1390,1044,1130,1324,1464,1658,1658,1294,1092,938,844,984,1084,853,487,607,1140,1536,1178,1034,782,621,572,384,422,539,560,448,682,990,1154,1284,648,461,839,848,1046,1060,1092,1034,1000,815,573,451,530,525,502,464,433,374,489,818,1005,926,1050,1022,992,1024,1078,1194,1406,1436,1016,1048,1116,836,562,517,512,559,564,525,560,621,481,387,377,329,306,334,267,254,231,213,308,368,355,398,523,631,607,494,445,458,433,420,462,511,614,594,464,367,376,352,363,396,387,390,438,532,605,603,509,418,407,393,415,415,336,283,338,344,326,289,313,412,400,365,365,373,359,384,374,398,363,331,319,357,370,398,847,755,436,460,592,649,594,606,505,410,476,530,596,673,655,683,672,709,814,647,567,586,774,728,608,745,652,460,468,481,449,452,414,401,472,645,755,614,448,634,881,680,654,849,914,748,732,661,403,425,532,558,662,974,849,467,375,600,968,908,684,623,650,615,706,1328,1516,1348,920,539,603,1292,1714,1600,1136,606,740,1162,1086,811,888,650,677,761,750,995,1410,1522,1386,1036,619,536,834,1112,927,873,547,396,514,570,977,1348,1394,1372,1350,1330,1250,1366,1610,1778,1588,1236,1190,1074,804,727,977,1456,1582,1254,1094,1268,1342,1248,857,790,854,1222,1456,1516,1662,1606,1184,1138,920,772,528,486,495,590,574,703,720,677,703,688,631,607,562,495,489,480,553,698,636,565,572,525,477,537,474,546,763,897,1410,1172,678,687,1130,1332,1262,1244,1166,1007,808,421,631,1346,1552,1620,1464,1562,1572,1472,1306,1308,1222,1144,1198,1148,1120,1226,796,872,951,755,714,841,916,796,943,902,952,1064,955,1172,1230,1280,1186,1080,868,1026,813,440,360,371,348,313,310,299,290,297,301,309,325,320,335,340,374,430,401,465,510,517,467,384,390,392,371,321,319,341,356,310,336,354,388,381,348,348,341,322,305,310,305,340,377,354,336,365,342,353,354,291,272,298,332,364,362,317,302,300,319,343,376,359,331,335,343,456,498,491,476,385,301,367,462,366,257,262,245,279,332,319,333,410,484,370,305,323,346,376,365,337,328,306,321,314,303,309,300,358,425,426,393,361,368,413,396,307,281,282,310,313,317,324,365,550,534,332,326,358,328,308,301,310,304,297,298,292,289,290,289,289,288,288,295,324,327,393,623,1272,1716,1548,1484,1532,1082,785,767,716,702,675,639,503,589,942,1308,1462,1484,1490,1588,1744,1820,1712,1628,1446,1450,1498,1476,1440,1410,1586,1730,1320,1472,2222,1694,1200,1120,1046,1036,1024,861,689,907,907,953,1150,1560,2092,1880,1258,1096,1652,1716,1700,2410,2156,1624,1484,1816,2060,1782,1520,1440,1830,2212,2016,1690,1642,1854,1878,1854,1772,2048,2010,1402,982,1290,1240,663,393,379,348,330,312,293,278,285,289,332,389,393,377,348,354,350,350,335,347,426,444,406,581,761,518,337,319,296,280,306,303,302,286,291,290,276,287,309,342,353,338,333,333,367,412,352,358,337,327,459,583,533,483,625,1072,1472,1262,1250,1384,1262,1034,1256,1426,1244,1136,1340,1240,1166,1448,1452,1112,860,691,601,483,372,337,276,368,488,504,540,529,1120,1684,1002,1444,2092,1466,962,529,575,594,374,460,604,882,742,834,915,709,426,357,304,410,422,389,407,386,374,393,434,540,528,467,447,525,488,393,388,346,372,391,355,395,507,495,513,548,532,488,389,340,285,534,906,613,328,372,437,575,1024,953,565,329,290,255,293,376,502,649,645,448,462,434,367,350,376,530,766,862,620,408,335,318,332,304,409,754,881,1224,1260,870,870,786,566,393,406,766,1108,868,401,327,372,464,837,1188,1170,1072,1146,1148,1180,865,551,925,1658,1208,803,965,1021,1112,947,1542,1232,502,494,934,1194,1190,1258,1368,1472,1238,1180,905,937,1130,1352,1288,1234,1378,1428,1360,1230,1198,1212,1266,1296,1160,776,608,799,770,990,1180,1170,1056,1244,1482,1344,1368,1540,1384,982,1182,956,868,908,1042,841,877,1292,1556,1510,1236,1118,967,832,954,1220,893,1013,1070,1068,1001,947,677,452,300,324,361,487,423,385,393,375,390,473,509,487,499,825,1248,1440,1432,1266,1007,849,690,575,602,575,482,549,793,924,1216,1166,567,406,484,694,829,982,830,434,270,265,243,240,246,248,217,226,285,346,317,469,391,380,475,755,1110,1240,1322,1544,1528,1482,1542,1432,1440,1410,1636,1546,1532,1510,1344,1286,1062,775,913,1136,1260,757,749,1000,714,860,1386,1358,1470,1516,1270,1038,921,935,833,1054,701,1110,1090,1144,1224,1088,1012,1088,1220,1013,620,780,1092,575,645,786,1192,1040,1002,1170,1280,1320,1206,970,849,810,812,732,1010,896,711,640,596,825,741,877,1192,999,991,1124,1116,1260,1010,536,509,499,488,1122,1892,1932,1470,791,566,738,781,600,631,468,433,482,550,670,592,450,354,351,408,374,307,262,271,268,379,409,337,273,276,263,284,291,278,246,241,284,288,285,271,233,212,241,266,241,261,306,345,316,324,397,360,372,388,394,931,984,836,882,795,946,740,449,318,282,300,295,239,251,251,291,361,316,360,515,440,384,400,489,419,330,642,1448,1009,454,396,373,369,336,281,291,562,722,571,586,377,295,282,343,929,1168,605,286,283,261,409,599,802,454,261,418,532,531,420,324,443,602,722,622,449,481,516,651,538,384,489,599,732,1152,1160,774,922,881,850,568,437,673,922,678,340,571,1250,1390,813,749,776,901,833,645,459,443,1076,1406,1246,725,385,327,310,449,1028,1614,1024,419,378,497,1046,1188,1040,846,680,666,634,531,378,299,343,589],[478,486,624,962,838,409,415,504,463,1168,1310,1340,1044,623,298,248,417,467,331,424,586,381,323,390,396,331,368,731,1422,1378,821,464,548,568,667,644,528,606,682,586,821,1272,1104,828,1078,868,513,378,314,343,409,378,339,371,386,444,376,335,397,414,633,796,781,823,951,677,614,623,486,338,365,381,454,470,393,426,391,299,221,219,284,577,1046,1208,1238,1324,1218,767,492,495,408,407,343,344,331,277,276,307,315,326,321,299,290,286,272,250,246,249,290,307,304,313,331,332,335,339,350,362,375,387,344,405,440,395,317,246,212,218,241,258,266,297,307,270,269,324,349,343,308,251,211,237,252,249,279,267,234,221,220,308,334,332,316,375,829,996,688,428,503,836,1048,899,995,894,550,568,758,926,927,872,799,985,1404,1216,891,1076,961,521,756,906,868,980,756,851,1046,1001,1124,1278,1396,1368,1228,1064,971,902,907,1078,965,954,1186,1462,1394,1194,1098,998,1046,1152,1290,1142,752,903,1172,1002,810,893,1126,1250,1132,682,411,424,584,2106,1632,730,386,343,407,547,816,1028,910,854,971,849,1368,1460,1072,1064,1012,948,1050,1182,1116,1148,1264,1214,837,1128,1260,980,588,533,533,557,533,691,1386,1738,1130,927,809,597,585,701,501,495,592,1009,1168,1050,1032,808,354,346,363,502,766,938,959,1306,1282,1042,1196,1400,1598,1726,1632,1596,1646,1592,1122,823,934,1150,1236,1580,1104,759,1070,1188,1228,1260,863,875,929,766,573,506,469,438,478,544,576,583,600,670,683,379,400,404,388,364,401,422,416,455,518,548,515,488,537,402,347,297,316,351,379,368,381,424,624,552,268,254,639,1038,1042,555,293,230,218,247,250,269,473,651,564,689,960,897,1008,929,956,726,587,807,1520,1880,1520,1318,1058,832,701,442,390,428,719,1318,1582,697,764,1070,1218,1182,551,311,311,301,354,334,599,997,794,976,936,997,839,667,717,711,734,785,977,863,1024,730,612,566,640,892,1001,1278,1132,598,656,786,995,1340,1098,843,933,895,1028,1386,1210,936,983,1224,1142,1136,1170,1192,1262,1114,869,775,915,747,932,867,448,434,449,599,669,576,742,1098,1266,1220,1100,1098,1042,950,980,776,503,357,371,415,641,810,742,613,742,904,1148,1298,1188,1228,1216,1018,854,637,805,1003,1328,935,828,1258,1484,1104,1015,1002,1290,1686,1714,1384,1086,1288,1570,1504,1378,1120,1024,1156,1192,1502,1360,1166,1192,883,1278,1350,1440,1074,879,1122,1086,987,1156,1310,1126,889,1228,1640,1520,981,474,297,330,396,392,549,572,479,606,802,773,835,1104,793,433,297,300,404,486,683,966,913,909,761,584,436,674,1170,1264,1300,1390,1112,767,774,1204,1116,1076,1434,1340,1018,1150,892,866,951,1044,1166,1412,1674,1506,1138,949,1236,1726,1334,744,969,1262,1254,1074,1028,617,403,456,406,585,988,1014,631,841,1510,2358,1838,907,567,963,940,991,1084,966,731,711,593,597,498,569,577,556,397,382,681,1042,1246,1092,1108,1222,1206,1210,1282,1256,1416,2292,1614,1090,1224,1084,872,580,675,688,577,523,475,462,424,369,371,357,348,371,407,319,273,265,230,308,362,332,399,568,720,658,527,552,490,382,352,456,524,455,460,503,412,387,359,384,423,427,405,479,519,479,469,466,455,449,426,413,344,300,338,341,346,348,330,357,386,361,332,375,386,378,401,400,375,320,312,328,348,355,359,387,361,374,476,686,642,484,571,599,545,508,473,503,522,568,543,420,576,778,694,742,729,899,684,560,576,451,445,487,451,435,451,402,381,360,447,625,536,461,538,614,448,496,872,970,877,750,667,522,435,556,693,861,824,508,371,355,457,666,727,703,593,927,934,678,1068,1236,1076,1012,929,951,1248,1290,1546,1400,857,874,943,781,974,890,966,1088,1138,1104,1222,1246,1350,1394,974,659,802,1500,1376,1048,966,660,451,380,543,954,1250,1474,1494,1290,1246,1224,1316,1470,1484,1586,1382,1028,916,1214,893,924,1150,885,1028,1116,1138,1158,1336,1116,603,526,708,1032,1350,1798,1512,1116,1076,1068,940,608,541,491,414,940,1382,756,616,648,538,485,429,394,377,377,432,604,700,667,693,673,508,432,421,455,491,636,760,1160,988,502,614,1024,1116,954,1048,1458,1360,999,717,1058,1376,1476,1432,1276,1418,1620,1418,1300,1328,1046,1110,1148,1112,1158,1094,785,1040,1306,1248,1068,1070,756,575,896,847,892,1232,1160,1364,1214,1166,1116,1014,791,582,410,340,389,412,385,378,339,313,310,308,309,335,329,329,364,364,424,669,555,525,519,562,509,373,368,400,382,353,366,411,527,416,517,397,366,323,313,328,326,310,305,315,322,320,310,341,361,367,348,318,316,312,323,347,336,360,357,320,310,341,380,373,356,344,331,337,325,349,383,409,413,365,298,327,416,377,268,263,240,279,392,475,420,431,329,288,317,325,315,323,317,318,311,305,316,313,304,306,306,328,379,401,413,385,347,376,403,333,284,286,309,325,332,320,425,557,386,361,308,338,321,302,302,304,303,315,325,312,296,303,304,296,288,293,305,338,373,509,982,1502,1572,1600,1630,1144,722,668,702,698,708,657,672,897,1220,1456,1514,1494,1460,1382,1464,1614,1600,1676,1758,1774,1748,1506,1198,1018,1082,1366,1602,1198,1196,1882,1636,1318,1322,1272,1220,1010,756,904,1260,1506,1594,1186,960,1456,1844,1858,1238,1526,1284,1322,2172,1952,1394,1260,1472,1794,1836,1930,1820,1902,2296,2056,1870,1876,1892,1844,1734,1696,1842,1834,1382,1318,1282,600,390,356,349,354,336,332,309,276,275,286,347,401,372,332,331,331,329,327,308,371,448,441,484,709,762,513,366,335,328,306,300,294,292,286,285,267,264,281,319,351,317,349,314,324,413,423,327,278,295,312,436,628,629,532,661,1092,1382,1360,1280,1514,1484,1282,1118,1005,945,798,789,922,1598,1238,983,583,450,683,598,610,590,466,472,409,466,558,616,561,899,806,494,882,1110,910,823,625,890,1017,498,387,437,517,634,905,903,603,413,329,361,493,447,363,380,386,430,407,405,575,591,458,432,558,572,563,543,374,351,327,390,399,477,489,537,573,545,484,345,306,400,539,414,307,331,408,490,802,1160,813,516,401,312,256,293,346,550,929,1154,1122,1006,861,1314,806,460,574,1098,1234,848,624,374,343,401,374,435,662,764,1012,1232,1372,1754,1368,594,391,558,901,1030,1080,695,557,481,448,726,1144,1316,1294,1238,1188,1218,1066,969,1096,1794,1238,1023,1142,1196,1384,993,1608,1510,930,841,1270,1510,1472,1382,1394,1236,1088,1210,1306,1424,1420,1346,1314,1346,1294,1238,1198,1278,1416,994,1152,1172,1624,1092,404,560,689,934,1222,1278,1116,1278,1658,1586,1240,2124,1892,1142,1368,1084,612,769,1012,919,1052,1400,1454,953,625,578,824,838,813,946,672,731,807,778,993,1254,779,487,392,361,380,394,343,379,328,306,356,345,376,448,437,508,661,1048,1344,1438,1340,1132,938,661,511,521,591,668,760,702,482,396,477,487,781,1092,756,590,594,426,292,287,249,240,244,241,261,278,475,543,457,394,390,498,955,1458,1288,1232,1260,1636,1518,1146,1266,1450,1492,1580,1456,1142,1312,1466,1136,1102,1070,708,974,1050,904,830,664,530,374,623,1036,1244,1108,857,1194,905,701,1011,1214,1122,797,885,871,1184,1514,1152,952,1128,1346,1136,703,756,891,522,372,414,1192,1664,1042,1228,1378,1000,1098,1244,1042,686,904,888,717,537,536,433,449,885,1038,681,523,598,780,808,647,706,540,442,495,513,711,1216,1570,1588,1108,566,799,1090,997,1176,1202,850,592,532,526,500,368,306,346,359,312,350,355,297,301,366,367,375,364,378,371,366,268,312,352,271,263,290,311,333,368,350,334,312,253,271,280,305,329,335,381,415,381,318,350,363,564,508,638,1152,1382,1272,1430,1020,487,273,314,351,307,271,248,277,314,262,287,402,336,330,305,375,412,379,421,659,529,359,340,366,353,340,350,460,559,471,614,511,308,271,250,344,753,1048,724,375,285,271,432,347,324,284,467,854,867,561,452,490,524,441,659,893,991,791,748,692,753,761,591,618,646,1296,1554,960,1144,1098,1002,795,448,527,733,543,341,402,866,1334,984,853,861,818,633,437,474,517,530,1054,1444,980,401,339,296,516,1288,1824,1156,487,342,387,800,1064,841,536,558,571,731,682,724,766,899,1078],[645,545,587,799,916,769,575,533,572,1032,1130,902,740,531,258,277,458,464,324,406,531,455,385,397,369,354,392,686,1266,1422,1270,1228,1504,937,514,428,399,394,408,350,579,1216,1144,912,1310,1142,626,417,440,511,459,428,466,504,528,537,458,366,401,563,755,900,680,530,547,583,689,603,356,194,228,404,822,733,433,392,271,251,275,375,528,886,1242,1426,1410,1040,1086,767,484,430,482,532,338,325,340,274,249,268,291,309,318,311,311,294,258,250,257,272,280,272,295,317,338,351,373,381,393,391,401,395,356,376,327,225,175,183,208,250,296,294,276,291,304,313,346,344,330,300,256,250,258,258,247,269,246,269,343,319,246,355,507,509,445,794,1374,1374,1003,626,551,751,1182,1056,1040,727,546,861,1100,1152,933,741,496,855,1322,952,512,406,413,440,554,954,1254,1344,1240,808,647,669,940,1028,1278,1588,1758,1376,1286,1546,1512,1406,1330,1258,1432,1632,1688,1672,1402,1316,1388,1334,1670,1560,1002,1012,1216,1236,1250,1296,1412,1406,1210,645,512,573,771,1344,977,438,319,320,520,962,996,864,919,835,734,716,1172,1626,1450,1208,1346,1812,1678,1078,778,1076,1001,928,740,862,1246,915,594,485,525,619,516,759,1764,1958,893,823,681,481,647,702,480,473,743,932,914,1074,857,642,418,361,465,824,1028,741,937,1330,991,720,1096,1282,1120,1130,1188,1288,1362,1160,871,1250,1304,1092,1180,1256,1092,1021,1134,1348,1514,1282,854,1298,1160,689,516,444,461,610,655,618,565,579,639,707,577,400,385,392,376,371,402,429,418,354,334,361,363,393,377,370,296,246,294,321,419,509,491,635,862,737,389,397,1004,1034,890,523,355,307,278,247,237,309,528,679,677,698,706,912,1208,1288,1178,863,879,900,1052,1126,1100,1322,910,614,480,401,407,478,581,972,824,599,878,975,1208,1204,411,332,374,303,397,321,518,794,659,551,607,758,749,507,426,619,763,1288,1064,849,943,672,532,557,551,643,958,1352,919,702,910,966,1140,1034,916,824,1013,958,936,985,1002,1016,1226,1238,1044,983,1286,838,1100,1036,797,859,891,775,1070,1154,723,644,725,796,832,661,833,1146,1248,1336,1122,1002,875,913,1160,985,678,522,548,452,711,620,620,535,483,548,1036,1420,1226,1216,1148,1007,1276,1094,861,1034,1180,1007,1058,1528,1578,1464,1350,1172,1356,1384,1432,1600,1522,1368,1410,1570,1552,1172,1130,1476,1642,1588,1428,1510,857,659,1288,1282,943,705,792,1122,1340,1350,1284,1038,905,751,1394,1810,1478,1028,430,258,335,398,395,416,442,566,815,1064,899,784,1100,703,391,295,394,518,737,1530,1650,1250,1212,1164,836,418,381,583,1036,1046,1208,1294,794,717,1013,1034,1192,1520,1302,833,893,935,619,718,849,979,1144,1412,1510,1544,1448,1176,1406,1780,1362,1282,778,741,728,739,604,444,362,334,572,1126,994,586,894,940,1023,662,574,499,557,929,983,886,848,576,679,735,828,690,606,477,378,355,409,708,1136,1140,933,1007,1388,1302,973,1146,1350,1522,2132,1146,999,1156,1426,1342,978,1320,1384,1036,691,571,465,470,448,410,389,421,460,480,373,251,244,282,295,377,356,384,480,623,634,631,659,631,533,379,458,479,490,611,666,513,419,360,296,350,407,428,458,453,399,395,437,593,486,410,348,324,344,344,301,314,341,324,331,355,364,374,401,390,410,449,485,438,352,374,434,386,325,342,314,314,332,469,659,532,380,463,583,589,490,465,455,479,578,446,387,472,466,493,644,878,1050,846,557,512,378,420,473,406,423,449,424,385,413,471,520,513,472,673,905,672,602,821,1198,1268,982,819,677,436,457,609,741,659,406,344,362,399,436,482,496,447,766,615,698,1076,1006,687,944,1044,883,1034,1036,1280,1548,1324,993,711,882,995,919,890,955,1005,847,1013,1370,1144,1186,827,722,1290,1612,1142,1080,1232,1158,1136,1150,705,808,1218,1550,1484,1276,1466,1332,1102,1328,1516,1328,1230,1016,1044,1066,622,640,857,894,957,1034,1226,901,846,1046,630,489,665,1124,1202,1388,1332,1226,1164,1088,975,830,675,556,482,685,764,601,502,474,433,435,393,390,411,417,486,653,673,713,705,637,438,464,452,436,481,545,608,877,868,561,642,1030,1166,1066,1220,1462,1156,1364,1396,1472,1028,954,1250,1174,1338,1350,1190,1432,1446,1324,1302,1418,1226,859,720,931,1176,1194,959,980,1144,870,765,1190,1044,1007,1616,1404,1032,1078,990,756,442,354,463,494,374,390,397,359,362,368,389,359,321,328,332,343,362,344,344,422,714,672,564,527,527,435,399,444,462,396,369,424,465,542,596,761,507,328,306,299,304,314,312,318,330,334,336,330,361,342,325,323,325,365,366,367,369,338,328,324,327,314,324,335,329,332,353,349,340,334,325,325,350,368,334,290,309,512,386,259,249,251,327,607,563,369,371,301,305,325,329,304,304,299,299,297,296,294,303,308,312,346,358,344,397,429,397,355,399,461,379,291,313,329,332,359,465,547,489,410,382,320,322,320,306,306,298,326,365,355,336,312,319,317,307,297,302,310,360,476,605,871,1210,1428,1532,1144,722,649,638,653,770,803,804,1068,1368,1480,1374,1158,1026,930,963,1036,1324,1450,1622,1710,1812,1660,1084,603,488,494,748,1288,1316,975,1366,1504,1310,1344,1300,1138,927,859,1040,1310,1820,1756,1592,985,1012,1508,1982,1558,2012,2030,1966,2374,2026,1332,1092,1206,1724,2072,2222,2218,2208,2148,2030,1818,1842,1898,1722,1718,1814,1700,1614,1410,1332,700,403,361,325,346,356,340,338,330,307,287,285,343,370,351,338,346,354,331,302,308,356,384,405,515,767,717,472,377,352,350,332,305,293,280,271,288,291,273,290,306,339,340,363,321,333,374,356,302,289,333,368,519,538,586,592,716,1288,1272,1594,1524,1340,1066,922,781,667,877,742,595,824,1294,639,740,600,597,692,495,459,416,530,556,570,642,559,526,588,716,512,594,874,764,672,694,632,650,673,464,429,759,586,778,939,814,488,336,326,378,433,332,371,491,436,475,424,419,465,478,450,418,552,734,1020,957,557,423,375,407,335,363,433,520,551,552,510,448,413,561,827,550,598,942,774,706,1078,1062,668,420,382,370,308,334,462,709,1124,1362,1444,1278,1172,1806,1040,430,695,1226,1124,623,552,410,426,541,512,442,549,744,964,1346,1662,1734,1290,615,420,766,1338,1324,1206,1040,720,457,633,1100,1266,1018,1164,1360,1324,1276,946,1124,1398,1528,1302,1194,1100,1306,1468,1296,1518,1860,1592,1146,1318,1394,1184,1108,1190,1432,1534,1538,1336,1330,1392,1330,1382,1334,1158,1296,1408,1344,1260,846,1168,1336,1770,1296,435,484,883,1222,903,677,535,849,962,959,621,967,1284,1096,936,887,730,1130,1208,1150,1382,1346,1148,687,584,507,520,705,993,900,681,866,1074,1044,1110,1574,1472,1005,625,469,424,375,365,379,342,295,290,251,262,345,408,493,514,642,912,1220,1416,1424,1206,917,611,494,652,816,738,959,547,502,859,979,1050,963,781,822,856,633,402,271,254,294,274,231,283,247,491,821,695,388,333,404,906,1288,1036,1326,1550,1528,1370,1192,1452,1716,1610,1544,1488,1310,1282,1538,1336,1168,1016,944,1102,1272,1262,974,653,391,341,402,659,1274,1174,1026,1348,1588,1976,3044,2598,1398,1096,1360,1296,1212,1534,1078,935,1226,1324,1102,690,567,929,885,733,612,1376,1820,830,1114,1009,837,935,949,810,549,951,819,430,552,792,719,807,1510,1134,984,871,1178,1354,1442,930,541,502,441,501,669,714,783,875,920,710,714,828,829,1158,1310,1062,694,451,384,404,455,389,404,414,308,267,316,343,305,299,352,416,361,342,478,678,644,444,405,326,303,271,275,311,434,501,389,340,324,292,335,308,296,358,407,415,393,393,366,334,346,358,362,584,1146,1376,1242,1354,1210,560,263,273,300,318,366,328,237,265,278,514,460,386,333,316,319,380,397,350,364,387,361,319,308,316,314,377,614,519,460,599,477,324,275,312,515,761,797,503,268,189,348,627,789,650,372,605,1009,871,603,637,594,553,480,668,888,1120,1023,1146,1160,1098,933,833,965,940,1156,1164,940,1036,1058,1078,833,497,365,346,397,380,373,500,711,641,1088,1378,1240,823,403,733,956,636,572,1158,1184,448,355,396,428,837,1242,1038,647,519,462,522,587,572,368,415,466,704,713,767,713,816,983],[469,363,355,453,908,948,490,354,350,506,706,485,312,282,262,285,365,332,390,425,396,424,413,344,353,396,393,520,918,1186,1100,1392,1548,882,492,476,494,436,376,366,604,1023,1015,1090,1046,811,908,816,684,603,473,369,404,505,488,517,653,539,554,564,514,684,683,602,585,720,777,666,427,254,373,504,793,908,584,292,237,413,674,943,1242,1412,1314,1366,1578,990,1222,1322,775,563,618,628,464,339,274,260,268,331,361,317,311,309,295,266,276,287,272,287,278,281,298,318,330,344,332,375,423,403,427,397,361,329,243,214,204,204,225,272,350,328,312,307,291,303,307,296,288,244,258,261,244,264,300,401,484,607,713,611,416,296,412,569,555,664,772,810,749,777,1054,1154,1510,1150,1052,833,1018,1228,1136,1194,1222,1052,438,563,930,741,502,457,567,630,979,1524,1434,1380,1444,825,491,446,955,1196,949,1310,1708,1654,1774,1956,1866,1782,1672,1396,1528,1666,1810,1732,1562,1226,1534,1792,1820,1786,1712,1694,1610,1296,1542,1506,1496,1504,1444,1202,1188,1104,1272,1302,874,456,365,336,549,1190,930,873,1186,971,807,922,1416,1760,1718,1500,1702,2482,2094,962,955,904,974,1144,1208,988,827,640,495,390,510,752,856,869,1476,1570,1158,971,694,466,706,916,720,849,1482,1284,569,636,843,885,431,439,645,641,775,800,949,1358,1198,854,1212,1030,763,735,614,778,1088,743,436,776,904,915,951,1023,1198,1009,1298,1362,1132,865,693,825,725,607,527,411,616,1052,830,733,1038,894,687,773,510,367,384,369,374,377,380,369,367,326,322,328,305,343,340,401,312,265,318,412,742,1056,1072,1180,1342,1180,582,408,578,774,667,472,427,337,336,337,316,332,515,597,656,612,575,666,879,1126,1118,1030,1086,1021,709,662,766,1166,1094,871,556,491,559,747,902,841,927,1156,1062,991,1374,1348,546,330,303,313,602,574,604,819,608,382,378,373,347,346,442,826,997,1252,847,535,664,616,468,516,676,852,940,1007,891,995,1050,1288,1298,993,763,848,913,937,963,850,860,1026,1012,894,747,691,867,910,1013,862,785,785,838,1018,1074,1154,963,830,1013,1074,858,895,1216,1168,1154,1162,1176,1062,648,596,1009,1088,768,576,560,707,683,522,565,564,400,474,777,932,1086,1226,962,1072,1438,1278,1086,1144,1110,1286,1294,1190,1246,1630,1670,1480,1208,885,938,1250,1382,1392,1284,1476,1704,1550,1570,1732,1560,1208,1318,1544,942,486,531,773,1036,1084,1002,1290,1266,1208,1102,781,540,742,1196,1594,1462,1022,495,331,381,412,470,514,510,667,1078,1230,1188,996,1154,793,416,371,546,598,737,1236,1412,1166,950,1238,872,474,391,383,702,1034,1426,1422,951,782,1148,1142,1162,1260,1044,749,973,801,869,1194,1118,1094,1362,1166,931,1200,1644,1598,1384,1374,1456,1238,670,640,695,675,825,738,475,450,761,656,524,717,845,558,627,562,465,460,551,740,735,580,542,639,720,678,700,499,463,707,679,373,487,738,947,908,808,1050,1344,1001,736,794,1264,1350,936,836,1148,1152,1338,1432,1372,1306,1490,1344,886,536,474,504,527,493,460,478,452,441,340,298,314,339,318,441,423,373,411,568,677,698,597,596,614,542,654,511,484,590,612,505,430,419,374,308,366,456,426,372,379,397,387,567,454,367,400,401,377,340,291,289,332,334,344,393,485,609,620,477,416,476,488,387,342,374,422,445,390,378,346,367,354,401,583,621,530,585,646,519,426,496,472,504,554,510,434,708,1050,716,471,599,860,922,652,438,352,408,445,434,469,462,416,379,421,467,467,459,497,707,786,748,987,806,800,948,902,883,781,502,503,607,683,725,472,410,387,400,459,472,468,432,479,479,730,1054,1058,638,630,702,893,1182,1290,1188,1508,1698,1114,813,1082,938,761,794,987,1108,1254,1392,1482,1158,1382,1446,1494,1582,1414,1220,1028,1060,1396,1644,1534,987,1028,1532,1732,1466,1252,1282,908,723,1288,1388,1118,1186,1136,1160,756,569,659,962,998,895,984,1017,701,416,517,504,480,750,949,1144,1636,1460,1104,1048,875,778,751,755,659,744,974,986,968,701,493,453,444,398,402,491,695,1082,1218,961,857,740,792,585,490,421,409,419,407,429,634,955,777,851,1112,1252,1328,1386,1332,1420,1560,1562,1470,999,890,1206,1290,1498,1338,1228,1564,1360,1158,1007,1066,1144,1096,1164,1260,1202,1234,932,568,703,964,717,894,1023,1001,1230,1102,1084,1100,1026,785,443,400,431,437,366,409,417,365,362,398,413,396,341,360,356,363,359,329,294,295,399,454,417,375,373,381,430,549,620,454,390,451,559,497,520,742,631,381,316,315,306,324,333,338,345,354,351,346,354,321,310,325,336,359,416,444,388,320,328,319,335,328,314,309,316,318,333,343,331,317,322,317,349,404,343,302,366,536,379,245,251,264,448,601,353,303,312,301,317,337,309,290,279,274,278,286,299,307,312,326,365,449,462,463,533,484,403,356,377,462,428,307,314,317,379,526,599,465,417,443,406,344,336,340,338,328,298,333,360,327,342,379,377,339,325,327,328,331,404,609,752,974,1416,1566,1162,758,666,624,609,649,889,1158,1390,1512,1452,1184,804,627,586,515,672,782,964,1248,1538,1702,1738,1344,772,656,601,565,551,976,1304,1030,1290,1344,1192,1150,1056,917,777,1038,1196,1510,1960,1660,989,876,999,939,1256,1684,2496,2766,2374,1948,1490,919,850,874,1520,1832,2194,2450,2150,2048,2088,1992,1990,1902,1548,1938,1714,1598,1538,1538,1004,533,401,325,320,318,324,328,333,332,337,319,299,339,349,360,383,387,386,353,331,335,341,350,370,403,508,468,397,419,382,335,346,315,274,264,280,418,480,307,292,283,288,317,349,315,329,360,325,333,379,357,416,544,474,569,710,1072,1508,1460,1386,1450,1192,967,1336,1310,1036,892,654,587,518,564,548,528,545,648,643,512,445,395,470,439,460,517,625,415,477,706,624,499,678,856,687,593,631,456,357,440,458,836,752,818,929,707,442,370,299,347,378,330,419,569,447,447,456,449,451,465,437,466,688,970,1328,1194,698,375,426,440,398,329,330,508,661,559,474,456,415,570,767,631,878,1464,1698,1342,1250,977,609,470,300,356,452,684,1208,1254,1444,1378,1472,1544,1366,1512,1102,626,932,1078,937,849,823,721,756,1136,943,647,726,767,700,1000,1252,1192,1112,839,655,1070,1522,1564,1108,926,760,680,973,1336,1166,933,1020,1216,1220,981,829,1013,1002,1092,1388,1294,1114,1126,1236,1466,1328,1264,1230,1152,1214,1108,1040,1196,1306,1394,1344,858,496,863,1252,1228,1196,1200,1240,1766,1386,712,971,1184,1274,1200,1318,1040,468,555,893,1130,934,1178,769,698,598,478,407,351,623,664,549,495,532,1004,980,1021,1238,1086,979,587,372,348,322,626,1208,1256,757,758,783,730,882,1148,1226,1274,1236,1058,922,833,639,486,394,318,322,375,379,271,285,395,500,610,684,801,1128,1430,1426,1260,958,666,558,655,755,1014,666,646,734,883,1186,1078,1094,1176,883,691,591,386,295,274,267,263,280,255,378,607,562,336,355,557,899,1258,1458,1482,1244,1194,1394,1596,1678,1520,1378,1622,1648,1562,1332,1562,1514,1460,1194,1134,1340,1630,1290,729,469,357,308,270,392,1005,1224,1366,1252,1136,1092,2188,2326,1372,1562,1508,1306,1078,1318,1194,1238,1094,1116,1086,933,865,1028,1230,960,638,805,940,592,855,1174,1242,824,719,728,648,662,444,331,673,1248,1090,952,1232,693,828,1090,1302,1350,1518,987,566,600,605,849,843,746,615,485,357,408,529,623,911,1012,767,528,414,437,403,366,383,319,320,303,253,271,275,291,289,313,394,386,350,376,445,460,457,419,412,422,346,335,298,256,399,427,269,289,332,324,292,307,279,303,360,413,413,440,458,418,379,359,354,539,1022,1172,1198,995,548,294,278,291,318,300,324,371,296,285,409,642,471,361,350,340,330,303,310,279,321,356,345,319,306,291,294,329,370,351,494,644,405,372,464,499,494,528,550,411,278,289,462,893,1220,879,545,850,1168,1007,828,976,919,872,687,664,934,1152,1262,1194,1038,1058,716,890,899,977,1130,977,807,914,1002,791,426,300,288,317,432,476,532,482,547,591,1508,1854,1370,752,355,447,670,633,448,767,1266,871,618,619,691,749,819,548,553,792,611,448,475,524,475,387,447,653,680,656,622,574,789],[445,362,408,395,1028,1136,498,311,211,333,737,619,501,580,513,359,295,407,584,654,526,479,482,383,325,337,323,434,667,815,744,795,896,874,667,683,889,768,590,364,437,579,591,898,924,739,728,868,908,685,473,383,425,546,556,576,1068,841,687,592,379,428,578,462,336,349,666,996,563,287,514,612,620,633,547,316,377,894,1330,1386,1340,1214,1146,1196,1594,1342,1444,1544,1120,775,676,584,535,563,349,268,287,347,353,301,307,290,249,254,292,304,308,287,244,235,271,317,359,451,395,366,405,399,405,368,348,332,239,239,219,212,218,299,327,305,293,288,289,289,246,243,250,218,238,268,341,478,635,731,767,769,765,739,637,433,341,490,543,451,404,390,313,472,708,807,635,557,708,822,954,1146,1206,896,686,415,315,314,483,463,382,597,849,927,1176,1019,844,1066,1198,1126,725,577,1208,1412,1178,1476,1870,1882,1900,1788,1572,1682,1582,1110,902,1352,1268,1078,1044,711,707,1044,1352,1522,1632,1768,1700,1566,1820,1646,1704,1626,1492,1444,1192,1276,1678,1430,908,454,421,366,393,722,841,874,1190,1494,1484,1552,1824,1786,1664,1602,1608,1660,1228,1048,1188,902,783,1242,1656,1160,678,647,505,382,460,852,1462,1116,1160,1170,891,782,698,533,940,1508,1320,1342,1256,803,494,577,1144,1186,685,802,1142,974,609,634,1164,1510,1007,872,1234,713,618,498,422,800,1200,820,369,380,421,549,775,1172,1208,1044,1194,1192,962,642,556,650,681,633,513,404,641,1104,795,982,1262,1302,999,930,590,484,557,626,516,386,405,399,305,302,332,284,260,289,322,328,283,262,288,621,1246,1330,1360,1114,1446,970,493,358,489,929,843,460,377,354,398,495,413,383,529,564,533,497,487,564,758,670,642,637,810,751,643,832,1182,1412,1242,1132,907,626,534,736,850,805,1348,1368,1038,1194,1592,1526,829,365,282,319,503,485,583,854,526,380,353,408,372,327,363,532,668,612,492,435,449,368,381,492,896,1364,1290,948,818,985,1042,1120,1354,1352,1252,1194,987,832,886,977,922,1040,1040,1258,1021,866,1120,1218,935,825,907,874,980,1216,1005,902,888,1001,837,803,658,1066,1306,1118,1162,1236,1128,1001,522,475,825,769,658,621,672,814,763,563,639,884,794,802,1034,890,973,832,824,1116,1194,1098,1252,1226,1190,995,875,621,588,929,1610,1182,959,610,676,952,1170,1300,1324,1378,1392,1574,1600,1794,1406,995,804,825,847,590,451,669,1004,1086,1478,1448,1314,1238,1024,1160,1013,1250,1366,1316,1438,1136,534,372,316,404,485,585,785,967,1128,1028,1102,1284,1416,1210,819,616,719,812,946,1356,1192,1048,1164,1046,984,901,659,711,936,1250,1480,1310,1106,1148,1058,1094,1156,1242,1146,1276,1242,920,1180,1390,1082,997,1013,698,954,1252,1334,1528,1732,1798,1700,1536,1328,1284,1194,847,713,1164,1232,894,1192,1236,1232,1290,929,609,672,688,645,995,1072,862,771,598,468,526,558,597,518,401,688,1376,1168,597,466,738,844,869,1050,1246,1084,933,792,957,1226,1042,1024,1142,1140,1128,1252,1216,1168,1322,1452,1368,1018,877,866,711,745,634,522,480,366,416,402,415,361,309,354,594,711,556,480,581,749,749,486,565,613,573,605,535,440,426,424,419,413,426,450,369,367,420,406,453,533,420,325,328,263,387,539,460,343,328,334,317,342,338,342,377,417,484,499,433,419,494,523,421,392,462,685,554,458,458,378,448,495,405,517,641,554,608,598,489,419,464,517,538,500,480,404,957,1288,774,509,607,631,667,761,493,392,435,424,462,473,430,412,428,443,425,483,486,465,724,636,789,1138,1078,1096,1094,845,779,645,513,812,1058,756,753,505,420,412,514,530,471,672,987,890,763,1018,1064,973,572,473,545,747,1104,1376,1188,1268,1460,1216,962,1060,1104,1234,1206,1248,1464,1476,1238,1032,1190,1424,1498,1598,1462,1290,991,744,876,1208,1264,1206,1220,1522,1904,1816,1492,1290,1122,609,396,487,585,1054,1146,1162,1152,818,678,563,529,553,885,1188,1272,1450,666,648,561,509,585,818,997,1242,1044,744,584,708,739,704,771,720,924,897,614,666,696,537,458,438,410,404,504,984,1858,1464,865,669,608,693,613,471,389,405,406,426,425,551,1068,756,918,973,1058,1204,1226,1282,1396,1296,1332,1184,1122,1108,988,1026,1300,1056,1160,1340,1168,1058,977,959,1022,1232,1464,1344,924,969,796,579,652,811,659,647,860,967,753,771,1176,1026,910,583,442,486,475,395,379,405,413,386,383,396,377,396,395,422,414,341,323,322,298,353,404,402,471,545,504,439,420,386,437,422,386,433,555,545,611,841,849,476,341,322,330,342,350,352,354,354,350,351,348,334,333,333,333,318,355,399,397,311,314,335,356,343,316,300,286,293,313,315,327,323,315,317,325,350,321,277,422,539,370,265,251,331,531,523,429,313,284,302,286,292,296,301,301,301,292,286,288,298,323,385,455,501,481,537,668,685,503,359,347,488,545,343,308,572,803,678,404,292,343,398,399,377,371,369,361,343,303,327,347,345,351,400,401,360,342,348,365,351,426,678,940,1436,1580,1142,768,673,632,629,714,954,1276,1522,1614,1528,1216,720,483,403,392,390,541,633,776,1136,1450,1676,1730,1298,667,566,557,583,558,847,1476,1382,1126,1238,1280,1242,1308,1104,1034,1166,1212,1708,1902,1196,652,886,1212,1174,910,986,1676,1960,1404,788,655,641,653,655,1038,1432,2014,2056,1846,2268,2470,2438,2422,1670,1118,1430,1748,1710,1454,991,557,436,369,328,321,314,330,325,321,324,339,343,309,317,337,338,333,344,387,384,345,332,332,347,354,405,395,350,356,443,430,345,335,319,266,266,277,370,477,350,276,277,278,311,333,299,309,308,299,293,313,299,318,347,426,539,711,954,1300,1386,885,1013,954,1114,1204,1674,1182,813,715,551,668,803,521,379,574,661,569,460,454,434,496,446,383,403,404,339,403,832,1204,930,545,551,537,568,603,509,586,637,617,781,818,887,896,733,470,430,362,351,407,399,493,490,437,421,408,381,411,425,485,550,759,871,1090,1136,672,400,466,479,391,303,291,443,547,447,438,448,419,572,742,659,843,1172,1266,1268,1432,1132,720,605,612,742,831,720,1060,1050,1064,996,1032,1013,986,1092,1072,1096,1007,937,1142,1132,981,965,1200,1548,1208,834,963,1102,974,897,763,741,771,1007,980,1022,1108,1094,973,1010,995,1003,1028,988,787,713,508,464,592,771,805,626,670,1182,1494,1214,986,647,761,1734,1592,1492,1516,1214,1158,1166,1324,1504,1280,1176,1318,1110,943,1021,1126,1180,1180,1244,1550,2316,1432,539,760,774,583,689,868,654,665,1001,1132,1076,968,845,568,543,494,402,345,374,407,406,507,462,519,835,1102,827,554,621,937,798,419,346,378,638,1310,1328,862,559,588,783,760,521,1002,1620,1676,1620,1454,1302,1286,1082,655,361,358,351,320,275,401,602,568,547,620,612,828,1044,1384,1464,1294,1048,785,589,663,714,610,645,758,963,1180,1116,965,973,1142,950,851,840,516,279,275,275,267,291,395,451,411,391,612,1006,1212,1148,1238,1202,1046,1212,1366,1346,1384,1404,1370,1702,1720,1734,1346,1352,1368,1296,1276,1134,1296,1520,1042,675,368,279,284,272,411,637,712,844,867,558,352,554,572,960,1722,1708,1260,1162,1268,1334,1298,1042,1021,991,974,794,1066,1318,807,694,912,960,548,512,613,630,697,745,699,807,794,495,418,523,988,988,1118,1418,1122,907,1048,1162,1298,1026,565,518,541,794,990,769,749,552,382,351,354,336,394,551,647,514,445,427,424,342,265,319,447,342,262,298,300,321,324,306,362,369,275,300,482,507,419,323,221,235,251,318,412,332,242,313,389,326,314,340,359,271,221,214,255,341,383,375,484,488,447,377,358,375,366,611,1036,1040,588,316,290,282,308,307,278,221,249,244,259,436,568,514,471,395,296,312,273,229,232,285,281,267,291,307,320,333,306,289,306,459,564,432,453,424,354,303,380,540,500,362,360,441,797,1010,910,793,1030,893,856,1166,1272,1378,1318,991,1120,1180,1230,1328,865,573,787,615,670,1038,859,866,675,420,547,668,491,322,275,325,415,493,606,663,543,623,626,671,909,930,586,298,370,469,452,460,486,1136,1322,995,961,945,866,872,644,583,926,757,498,468,769,517,290,416,590,515,524,455,572,892],[495,391,389,331,409,365,344,315,272,435,982,962,991,998,906,560,387,702,995,913,571,558,519,429,351,287,305,416,528,673,1005,1036,864,912,820,991,1428,1050,858,711,719,728,545,709,935,891,590,617,813,926,600,564,637,829,900,673,899,832,559,455,373,364,367,459,553,442,580,878,592,351,483,637,571,843,1005,415,396,825,1166,1180,1282,1390,1078,1006,1330,1500,1420,1150,1114,996,633,451,486,590,419,339,285,286,281,280,289,289,285,290,309,304,302,276,256,261,273,285,401,616,593,454,386,363,393,339,325,365,271,231,209,204,234,271,314,289,250,264,263,268,250,257,227,262,321,473,627,838,912,843,760,756,711,692,595,470,387,476,490,452,451,410,447,413,354,470,742,996,905,866,1034,1378,1004,633,481,375,352,339,484,594,502,644,686,633,656,615,582,1002,1310,1256,803,812,1228,1612,1688,1572,1584,1456,1428,1384,1524,1910,1534,886,596,836,764,760,784,557,499,963,1304,1606,1358,1156,1058,1504,1630,1672,1752,1678,1726,1310,733,945,1542,1386,957,546,594,567,528,789,1092,1148,1406,1700,1636,1566,1544,1648,1754,1708,1592,1542,1628,1318,1128,1122,825,1028,1218,903,656,659,517,478,431,541,681,971,1528,1262,723,948,1098,1050,1078,1144,1324,1036,648,557,554,649,854,671,639,1026,1260,1158,879,728,1198,1560,1194,1232,1001,826,684,528,503,963,1268,744,519,509,393,529,589,844,1288,1454,1140,1074,991,876,1300,1520,1070,776,548,469,540,644,606,922,844,681,948,998,569,345,583,814,694,482,499,446,320,273,252,272,267,238,284,321,286,346,360,667,1152,959,1290,896,614,496,491,696,762,847,744,486,341,340,390,510,382,332,409,444,439,722,977,859,677,660,1394,938,918,590,422,469,816,951,846,1320,1466,885,495,545,625,1106,1670,1434,1314,1172,1220,1382,995,540,365,289,366,361,476,960,518,355,378,337,293,301,370,541,659,596,444,419,427,373,378,542,1488,2072,1734,1156,630,778,893,1076,1372,1038,990,1144,1220,1028,1094,1170,1052,1050,1402,1532,1026,838,814,902,1068,799,888,830,717,824,1034,966,981,916,831,834,739,1200,1296,1258,1244,1186,1228,1015,536,597,629,616,622,621,760,839,822,664,708,985,1206,1082,1148,968,930,1092,1134,1172,1068,1072,1013,1004,1358,1098,943,614,571,600,1114,916,532,467,705,1038,1110,957,990,1454,1572,1640,1600,1380,1174,1106,694,561,548,543,793,850,856,888,1023,977,1430,1336,1126,1126,1148,1148,1304,1450,1440,1064,423,293,308,402,399,479,913,1190,1110,1078,1268,1344,1278,1324,1210,945,732,715,995,1318,1264,1584,1358,958,1272,1296,1068,1268,1346,1238,1220,1266,1528,1982,1566,1438,1262,1162,1064,1146,1076,1284,1440,1312,832,857,780,640,753,1144,1238,1216,1316,1566,1674,1796,1806,1700,1756,1282,747,1206,1242,1272,1278,1144,1350,1500,1314,1146,1007,970,719,1076,1168,926,764,497,373,380,459,440,415,502,881,1086,814,938,936,1006,968,749,816,1011,1172,1092,874,1028,840,725,984,1104,785,973,1430,1088,743,1013,1118,1198,1096,873,691,781,978,804,439,366,339,368,395,372,282,279,365,618,777,683,541,496,558,513,413,548,568,499,574,664,641,569,548,473,448,441,477,353,347,432,457,454,408,316,276,257,272,400,523,415,336,357,434,413,391,403,365,331,316,395,475,400,384,421,505,422,409,501,755,630,535,505,398,389,408,400,516,516,444,552,536,508,437,408,512,569,466,505,567,599,603,503,577,640,639,631,673,686,534,416,466,557,523,409,415,408,389,420,470,538,534,1050,913,1042,928,918,1252,1264,962,901,855,721,1216,1368,849,646,465,430,502,519,462,514,795,1202,1128,1116,1018,1092,1294,1028,658,609,726,1150,1322,1086,858,1034,1306,1050,989,1036,1168,1174,1402,1488,1466,1498,1256,1064,1344,1538,1440,1180,988,619,594,806,1010,1118,1164,847,797,1208,1476,1476,1172,874,473,372,360,476,968,1192,1192,1050,1054,828,485,434,528,806,1012,1320,1492,929,856,756,672,648,651,691,769,819,841,891,928,837,864,675,667,674,650,600,643,819,843,834,508,458,432,459,844,1340,908,595,571,560,553,554,498,393,385,419,450,468,614,1418,1064,1021,955,744,825,923,1084,1234,1172,1510,1334,1174,1005,1054,1038,1126,918,1156,1448,1306,1114,858,1088,1120,1312,1282,1062,988,838,949,1054,740,565,548,601,770,795,816,1068,896,690,669,418,564,897,626,340,346,444,436,408,400,395,401,404,439,439,424,396,370,352,345,360,422,469,567,573,589,533,433,341,340,362,343,378,541,777,870,927,946,562,360,334,342,334,328,339,354,357,338,328,316,298,279,287,297,298,305,312,307,301,311,310,303,288,283,308,323,337,312,285,315,313,299,311,305,286,299,319,391,455,329,284,289,315,379,436,445,299,262,298,323,291,300,308,308,317,299,287,299,325,339,391,517,543,542,621,813,850,543,367,332,452,567,451,474,550,444,335,313,311,369,414,386,361,384,386,361,324,308,320,329,356,348,348,374,358,342,374,414,387,505,742,1244,1410,1017,725,686,629,624,792,1098,1370,1484,1444,1284,1306,985,730,599,439,364,346,394,493,812,1048,1284,1530,1598,1440,847,570,540,542,572,1020,1600,1494,1092,1110,1504,1450,1386,1278,1378,1154,1172,1450,1636,1500,1090,1080,1444,1542,1280,822,699,703,599,621,708,784,712,730,832,1054,1506,1718,2114,3466,3520,2534,2370,1360,1074,1288,1526,1520,1014,533,403,407,362,324,298,298,300,302,299,301,303,310,308,314,317,302,302,317,354,364,331,335,357,345,399,508,498,412,461,583,472,322,331,309,281,285,291,288,357,347,285,262,259,287,288,285,281,284,273,269,258,280,300,379,570,736,806,822,1032,1472,830,755,747,951,1102,1382,1082,1224,1186,828,927,1100,821,449,698,676,532,377,479,520,510,423,351,347,378,386,538,853,820,954,760,816,977,748,577,537,780,962,943,988,979,946,818,698,451,305,324,360,432,553,529,487,617,606,484,322,384,419,444,582,733,758,910,1092,732,397,567,636,531,399,341,395,416,434,447,478,506,875,1146,950,938,1088,1214,1412,1496,1274,1180,1436,1370,1076,1060,706,500,495,545,615,623,794,1042,995,948,931,911,1056,938,631,664,758,803,862,891,761,859,1028,753,462,353,477,852,1026,1007,897,892,892,843,931,1050,911,779,523,375,377,324,296,475,928,1021,758,800,1246,1484,1252,1362,848,672,1156,1232,1214,1198,1026,1288,1456,1262,1284,869,881,1340,1478,1252,1074,1368,1290,1108,1120,1202,1344,1134,680,567,474,495,825,613,421,768,1088,1130,1058,843,611,535,472,324,305,303,430,494,623,682,738,919,1017,908,697,612,674,730,745,565,401,397,531,821,980,886,890,754,618,518,562,1182,1544,1740,1674,1554,1678,1854,1644,1174,751,567,404,331,546,861,883,542,565,638,583,563,615,884,1280,1450,1366,1126,867,656,593,692,808,1576,1896,1478,732,492,616,1002,858,952,1184,887,437,318,309,291,355,498,699,968,1254,1444,1340,947,567,578,947,1400,1400,1232,1252,1130,1136,1044,1340,1548,1572,1394,1132,836,926,1296,1250,1346,1224,663,598,426,327,325,316,374,426,393,365,352,359,348,372,469,849,1042,1462,1242,1184,1140,1400,1542,1042,573,678,802,695,1404,1270,752,968,1146,776,440,342,365,305,340,471,664,736,725,957,751,575,951,1800,1744,1426,1252,1048,1000,1198,1284,726,465,450,590,778,642,738,890,684,377,367,367,348,477,684,557,363,403,300,302,271,239,299,390,318,295,320,320,330,300,307,302,321,319,295,400,333,287,295,286,306,280,272,278,260,232,278,380,345,329,305,223,220,229,246,320,340,311,331,385,389,381,372,366,362,290,343,521,460,316,316,312,305,253,197,225,225,228,279,327,423,476,570,609,484,287,297,299,262,272,285,265,266,307,328,321,320,315,278,335,648,540,522,361,272,325,368,438,516,555,427,325,347,519,725,634,860,1004,747,733,1086,1310,1748,1798,1410,1570,1168,834,780,487,488,946,1064,1036,1144,982,691,375,309,354,397,388,325,297,356,414,512,702,1112,1150,819,738,711,700,610,387,333,438,455,457,435,320,784,1180,765,673,843,779,838,697,511,957,741,432,412,470,420,365,426,496,530,536,304,593,1001],[541,537,466,355,260,298,397,381,349,424,824,955,989,892,769,567,700,1072,1272,834,574,517,513,493,444,462,411,442,609,783,946,721,567,547,786,774,832,772,830,987,926,915,932,772,733,677,519,607,821,1216,1170,822,849,996,953,782,825,675,355,324,281,277,377,946,1222,790,378,376,390,310,366,503,521,722,608,343,350,498,959,1232,1284,1184,962,1034,1290,1564,1448,1412,1742,1190,512,420,452,357,339,349,309,283,270,265,274,264,233,272,320,299,285,268,261,263,254,248,364,550,566,473,390,362,345,348,311,351,316,239,206,213,254,278,286,264,270,265,236,269,249,248,281,347,532,747,861,786,713,781,814,860,745,701,528,441,472,516,490,475,471,457,469,470,509,506,597,897,934,984,1042,990,613,561,539,407,355,448,655,772,629,535,513,552,766,813,749,1058,1312,1254,1250,1512,1604,1632,1522,1594,1704,1442,1132,1246,1552,1620,1364,1148,1312,1288,912,676,736,564,496,870,1092,1470,1332,1164,1124,1434,1594,1504,1126,1272,1602,1628,1482,1386,1542,1512,1384,1056,1128,1208,1302,1344,1278,1264,1242,1178,1306,1422,1650,1756,1776,1674,1584,1652,1636,1366,1312,1240,783,1098,1294,1188,743,631,875,726,394,417,747,1116,1654,1508,1064,1262,1208,941,722,603,583,418,515,605,795,781,531,330,477,851,1016,935,672,567,996,1380,1260,888,720,721,741,616,668,1146,1040,500,496,638,487,565,842,844,1186,1482,1566,1618,1434,1266,1406,1108,1162,1010,803,476,610,598,580,863,844,463,467,608,483,333,345,443,543,430,496,405,333,231,163,223,262,254,284,296,328,434,410,508,593,825,1364,1192,756,533,646,832,850,933,656,471,341,314,369,450,455,410,360,365,470,740,673,478,487,588,886,661,514,378,347,438,478,373,590,1052,955,998,766,564,554,1306,1640,1230,894,828,1156,1350,1013,644,489,337,337,421,527,972,680,524,497,412,359,378,435,508,626,586,475,439,412,376,410,478,1090,1578,1720,1468,996,840,1130,1132,898,1202,1114,871,1046,983,1046,1021,1072,1086,1334,1190,824,855,841,943,939,714,831,839,753,939,1052,973,1118,1038,1138,1002,991,1286,1310,1126,1252,1062,991,814,747,807,725,778,734,632,683,779,672,453,480,839,1306,1156,1013,731,809,1232,1376,1350,1068,1108,1192,1100,1534,1504,1032,962,1060,944,722,552,455,444,720,996,804,698,927,1296,1384,1358,1362,1378,1418,1236,1036,809,560,573,935,841,1108,1074,755,695,985,1188,1300,1258,894,722,1104,1316,990,697,425,324,273,309,343,363,604,903,1048,1086,1180,1166,1010,1024,1084,1212,1080,867,1000,930,1292,1482,1262,1148,1028,1094,1198,1226,793,639,875,1312,1760,1916,1744,1366,1134,1062,1066,1156,1116,1292,982,1178,1086,953,720,402,536,781,811,981,1406,1324,1196,979,968,1234,1592,1364,1300,1498,1456,1306,1192,991,747,950,1532,1306,1108,824,562,457,518,407,329,309,381,373,300,404,441,555,600,917,940,1102,1348,872,648,551,431,454,617,775,1001,1094,937,662,620,996,904,941,1128,1040,811,761,1040,1188,1100,709,700,897,974,833,512,419,472,374,300,294,251,239,322,487,769,605,551,464,518,608,462,471,467,482,693,809,764,734,769,734,670,657,604,483,478,460,426,359,293,273,256,274,432,481,537,651,446,419,475,476,471,462,401,360,355,376,410,356,360,461,492,473,458,486,565,565,588,590,484,423,439,483,561,449,479,526,583,546,414,447,561,492,393,494,655,749,590,517,530,535,599,644,752,859,623,455,523,683,645,455,416,389,416,353,413,581,704,789,1040,1182,1160,1454,1280,1314,1036,839,821,613,1254,1272,837,595,464,464,503,531,511,471,799,1400,1478,1384,1202,1256,1386,1290,1066,707,920,1274,1190,897,507,777,1424,982,987,1064,968,1090,1350,1486,1488,1406,1052,780,1222,1526,1278,827,711,861,806,995,1332,1384,1104,942,1094,1306,1354,1402,1086,535,316,390,383,549,1136,1334,1164,1378,1454,1048,669,520,847,1018,915,902,877,1006,893,720,667,591,586,744,924,774,914,1050,834,791,816,713,602,480,497,576,713,843,920,1011,693,458,404,504,1174,1266,772,609,593,578,591,576,589,481,399,389,436,444,600,1152,1108,882,811,904,847,854,961,929,1054,1344,1166,808,660,914,1100,1116,874,1094,1134,866,642,658,1198,1488,1054,702,720,824,749,933,897,538,362,504,908,894,826,1114,1262,904,959,1030,736,893,913,487,381,401,506,454,399,386,384,418,451,450,428,411,414,404,394,368,356,382,426,480,446,417,446,378,337,321,315,328,322,426,835,952,835,681,469,344,333,348,355,339,330,333,310,325,333,308,293,291,293,291,297,305,309,300,311,299,293,300,302,299,330,318,322,310,300,321,309,290,302,315,294,332,396,325,292,252,281,461,383,340,322,243,244,329,557,613,348,305,301,301,313,307,296,296,313,311,335,401,470,555,588,660,665,444,314,367,457,522,591,577,404,323,327,341,325,366,401,369,360,382,394,362,324,318,328,334,374,383,357,396,411,379,421,491,619,786,1058,1210,924,713,666,648,752,1036,1326,1490,1438,1246,1030,866,859,814,842,604,410,422,398,384,507,763,714,905,1390,1546,1554,1088,679,608,641,902,1412,1768,1832,1584,1396,1290,1284,1246,1184,1246,1184,1242,1278,1486,1626,1194,1232,1472,1434,1416,1158,821,815,943,885,943,1172,1064,929,888,935,1158,1744,2238,3536,3226,2186,2302,1846,1562,1628,1638,1230,726,615,409,374,367,356,324,310,303,304,297,287,276,285,305,339,327,319,329,349,383,366,341,356,389,460,490,447,443,388,407,478,457,345,337,303,286,291,303,305,329,315,292,263,259,251,265,286,288,290,285,287,283,293,297,338,427,563,937,1244,1108,1478,1076,947,1015,898,1330,1496,1060,1194,1166,1038,1318,1398,1030,550,590,508,447,415,483,464,366,267,268,350,397,342,486,766,753,809,796,1072,1140,781,568,496,526,628,904,909,949,946,677,562,568,513,471,455,437,568,618,575,677,566,385,370,388,448,408,560,692,774,974,1078,706,367,553,580,642,705,465,385,374,463,473,482,506,844,978,909,847,980,1180,1014,1134,1228,1238,1230,1116,784,864,879,533,522,634,684,623,807,1030,890,736,946,1036,984,651,368,390,337,298,388,610,486,455,532,446,389,347,578,1028,932,822,1080,1104,742,822,889,1028,879,612,405,404,415,343,287,403,727,932,775,851,861,1074,1198,1338,913,767,733,1032,1300,863,659,1176,1330,1472,1564,1090,1054,1372,1388,1096,1076,1278,1348,1076,745,818,1048,901,447,435,396,360,549,625,484,536,503,642,805,652,495,720,918,533,337,366,736,858,1118,1256,1044,1096,1036,854,763,612,590,480,566,625,532,514,502,538,951,1100,1088,1002,883,637,737,826,925,1044,1074,1328,1562,1328,1188,1050,749,731,772,599,778,880,780,776,1038,780,579,459,480,530,772,1150,1440,1402,1224,885,666,713,880,1238,1570,1096,528,568,727,648,573,797,1128,1090,638,336,368,490,709,969,1212,1270,1170,888,574,414,377,399,804,1400,1202,789,588,413,603,529,896,1400,1514,1324,918,593,474,771,1198,1346,1408,1108,601,412,354,352,339,306,346,382,379,352,363,342,456,484,506,561,760,957,1124,1218,1310,1484,1328,1124,1226,1146,1276,1330,998,816,828,672,489,498,600,479,384,455,419,485,533,770,1300,814,510,607,1266,1468,1158,1136,1384,1360,1288,1112,973,708,598,750,752,755,1034,1036,641,371,413,398,393,578,604,457,501,402,287,318,402,490,396,261,292,325,329,338,355,280,278,282,274,261,240,268,313,335,310,280,313,300,292,290,278,262,296,442,402,270,193,213,267,297,290,285,284,319,346,346,310,268,338,374,354,338,342,322,321,347,356,340,314,235,233,225,222,256,309,504,650,455,619,652,485,445,474,433,423,430,319,265,263,297,321,338,361,389,337,325,554,637,583,666,977,719,476,519,516,527,486,314,395,433,568,651,792,780,714,719,789,1202,1522,1418,1340,1142,806,989,933,658,792,1142,1146,1194,1376,1212,712,362,352,371,377,359,346,412,391,323,312,560,1312,1466,694,460,457,476,450,360,446,531,544,491,383,288,557,1054,828,875,1078,797,888,822,536,603,483,381,438,477,570,511,537,503,485,657,460,794,892],[863,1112,776,475,339,325,352,362,343,438,515,472,579,677,651,576,933,1440,1270,694,542,456,446,502,539,539,427,463,702,769,744,590,655,615,797,810,814,808,858,872,821,888,976,956,957,756,698,808,807,760,986,948,980,1090,929,785,872,673,412,335,310,296,286,539,570,373,295,376,354,300,332,479,610,686,597,518,406,343,716,1019,1100,1218,1370,1448,1526,1648,1654,1506,1430,795,430,404,404,350,341,363,340,311,326,314,292,250,222,267,302,275,263,267,269,268,256,240,274,329,334,335,359,365,362,390,327,331,349,284,223,245,266,292,327,290,278,266,237,249,301,368,449,578,738,867,941,755,506,519,676,709,536,630,514,412,395,432,527,519,516,491,470,472,597,590,505,536,677,805,969,818,517,491,473,397,385,534,744,1076,879,670,643,940,1092,877,855,1088,1498,1704,1568,1462,1630,1656,1340,1522,1706,1736,1434,1374,1604,1620,1498,1530,1450,1052,849,469,628,547,496,521,579,1007,1192,1288,1654,1646,1360,967,717,864,1202,1364,1492,1710,1842,1854,1810,1678,1506,1402,1368,1266,1088,915,938,1072,1248,1330,1534,1350,1124,903,1172,1584,1542,1440,1282,1030,913,1023,1272,1282,958,735,866,761,663,701,687,759,1072,1144,1218,948,501,634,659,580,567,595,581,675,876,722,503,441,482,689,1266,1136,963,874,1180,1512,1510,1244,1002,1023,891,733,822,1164,915,833,775,811,646,594,635,436,462,738,1116,1382,1294,1172,1216,1030,731,694,956,884,986,818,689,1076,964,451,549,667,505,508,487,448,401,390,375,346,312,245,252,246,228,258,285,290,536,835,903,782,723,1082,1350,1096,1021,841,827,735,640,620,571,454,360,332,401,491,486,435,368,368,458,533,468,420,446,438,526,717,569,366,345,442,510,389,612,1216,1420,875,908,788,729,710,800,656,456,781,1290,1452,1062,766,641,597,609,591,747,855,723,768,775,716,553,568,634,560,509,529,548,521,513,583,601,518,1012,1434,1070,927,1036,1170,1144,867,512,657,515,657,930,989,874,940,1005,1098,1184,1034,1180,1162,1084,1032,825,803,766,556,572,919,1438,1772,998,991,1128,1070,1424,1158,1012,1324,1224,986,943,811,908,912,877,947,858,855,750,733,471,300,330,573,879,1006,886,634,570,744,1090,1194,1164,1290,1202,1146,1390,1088,1009,1162,1114,888,676,568,479,432,705,747,999,937,1024,1152,1252,1102,781,736,516,631,1004,1252,1126,796,794,664,722,619,548,750,952,987,1192,1318,872,791,1296,930,719,442,305,282,252,257,326,362,375,582,920,1028,1132,1156,965,857,1094,1082,975,1296,1446,1296,1366,1176,1112,1362,1310,1434,1416,1324,878,823,1100,1392,1434,1172,1180,1256,1150,1020,962,1230,1308,1186,973,1166,1188,1216,833,461,513,573,655,957,1176,1064,1090,577,548,958,962,966,1326,1648,1538,1206,1222,1300,1176,1052,1252,882,1180,1218,698,337,285,292,311,337,377,320,510,706,691,789,631,883,1030,1304,1532,1013,570,535,397,341,387,658,1204,1156,1050,680,699,1176,1110,761,880,1278,1194,1002,1056,949,1186,686,580,871,896,801,549,619,897,807,625,634,462,839,452,360,463,458,471,482,725,794,512,426,467,655,816,775,647,733,772,806,879,914,754,791,688,395,332,313,245,249,287,409,659,592,675,731,459,380,401,455,446,426,383,395,392,381,383,373,401,507,538,526,501,561,631,725,940,854,565,450,454,529,460,459,535,507,547,529,417,392,422,393,437,607,609,714,609,597,549,515,562,539,666,805,620,626,520,543,525,465,419,397,433,416,491,578,643,904,1274,1172,1164,1250,1060,1192,991,785,681,537,869,847,639,479,408,479,469,518,507,471,839,1220,1278,1358,1240,1216,1003,1072,1136,631,857,907,1108,974,630,828,1534,1316,1128,1132,748,616,1028,1326,1118,1362,1354,893,1088,1086,1120,1021,1026,1230,1174,1274,1642,1472,909,899,1126,1068,1228,1388,1222,558,350,405,375,517,922,1232,1208,1172,1096,1282,999,1214,1540,1788,1490,885,692,755,797,821,691,587,544,935,1130,1090,978,916,618,476,785,886,575,506,594,542,619,756,1304,1362,908,727,977,1038,968,811,596,616,792,718,609,479,655,644,448,389,429,651,990,939,698,615,703,1086,1198,974,880,742,1036,1422,1576,1348,1132,838,752,1136,908,547,434,497,419,702,1326,1318,771,697,846,681,472,518,512,386,276,422,837,613,524,716,844,920,1078,932,702,697,756,733,501,531,471,396,373,392,440,467,456,437,420,411,403,400,413,413,395,377,368,373,355,350,343,328,339,325,327,333,316,357,715,794,581,422,364,348,341,348,354,336,324,315,309,341,316,309,297,291,283,293,295,305,311,334,340,338,334,315,289,328,369,334,334,343,328,316,310,296,294,313,298,288,288,279,259,284,299,428,361,418,424,288,288,325,437,501,309,276,303,325,327,321,317,308,322,399,477,525,616,634,641,738,623,411,312,359,476,608,604,442,336,320,328,367,346,328,381,396,399,464,440,375,361,345,341,346,376,390,376,421,573,506,590,659,742,1040,1160,905,680,608,664,896,1208,1440,1490,1332,1062,841,725,712,697,692,578,449,427,403,380,361,453,564,551,1006,1432,1604,1788,1646,1232,976,1180,1408,1526,1660,1892,1754,1738,1594,1576,1568,1450,1378,1294,1270,1260,1496,1388,1152,1312,1410,1542,1336,1438,1340,1170,1166,1260,1224,1304,1394,1148,972,921,932,1642,1910,2290,1866,1572,1594,1546,1700,1702,1724,970,660,659,442,368,369,368,348,352,366,343,297,280,277,306,310,341,335,335,354,357,356,362,384,448,655,815,668,480,403,371,358,438,418,349,318,301,288,285,301,303,294,298,300,266,264,270,288,304,310,313,305,291,280,281,289,300,317,426,1078,1454,1190,1460,1310,1122,1134,907,1166,1294,983,912,885,952,861,694,590,579,568,537,444,390,361,277,289,295,686,949,764,503,561,712,777,769,1088,1376,1100,828,706,674,594,626,841,624,585,528,314,403,686,812,746,601,459,541,683,555,544,408,421,585,627,595,476,626,734,885,1172,1226,861,441,365,377,554,695,502,583,736,653,558,506,688,1098,1360,1268,639,636,883,903,1026,1118,1112,1166,1178,745,497,549,437,509,594,668,619,849,963,802,562,738,943,943,637,394,412,415,407,424,659,526,355,342,334,358,317,375,548,588,536,730,1007,595,677,828,901,1022,745,445,396,430,375,293,394,501,585,444,406,748,1186,1254,1202,835,875,1074,1214,1112,631,511,733,1024,1432,1346,1096,1082,1262,1082,846,1084,1454,1370,960,501,571,1038,998,512,404,341,371,442,589,594,474,623,703,790,598,539,847,1332,772,405,375,703,1280,1588,1422,1288,1164,996,880,789,555,536,530,525,538,535,506,391,379,811,1338,1360,1040,786,968,841,759,930,711,828,1300,1188,977,1084,866,532,750,1146,1023,758,908,1026,954,1050,692,527,639,643,521,500,689,1106,1416,1428,1264,1008,690,682,719,1176,1080,747,1010,1144,887,767,1060,1316,1180,840,712,988,1312,1472,1382,1086,766,590,559,507,436,422,422,789,1376,1274,802,495,423,436,399,593,1098,1712,1368,852,788,556,486,777,1238,1502,1142,724,473,368,343,523,572,364,337,330,337,318,310,426,502,532,588,888,1096,977,1440,1376,1232,1048,946,1064,1244,1624,1494,990,971,1146,771,330,481,633,392,341,358,303,360,335,432,666,705,806,568,552,697,922,1266,1790,1620,1028,746,788,973,875,922,1074,1444,1548,802,420,380,415,357,425,486,418,529,605,426,390,536,792,847,501,288,339,281,305,326,341,298,287,274,253,250,243,282,350,343,298,239,246,260,267,260,284,255,253,430,483,277,203,262,283,341,316,213,180,292,324,328,283,252,295,346,385,338,299,336,351,340,320,291,267,242,259,250,220,203,290,566,535,367,547,506,402,470,544,518,573,603,467,382,310,280,305,309,338,403,372,442,684,750,624,1100,1694,994,821,500,417,480,476,311,348,465,529,498,427,486,720,670,457,966,1254,1340,1388,1007,998,1364,1038,579,797,1006,738,638,1050,922,514,363,320,336,324,426,733,862,727,654,480,367,661,751,384,369,454,595,542,441,631,656,468,399,385,365,486,1001,950,874,1005,883,806,764,693,702,522,432,564,501,619,680,709,546,453,763,510,463,559],[755,918,658,402,271,292,338,347,311,464,658,487,398,376,530,1054,859,1048,959,595,420,468,521,569,671,667,735,927,1122,905,755,714,722,1012,954,813,684,574,618,613,727,802,775,865,982,679,463,448,426,433,702,959,1182,1174,990,846,840,653,495,274,266,259,227,255,310,301,365,440,377,408,399,458,786,531,379,556,430,278,524,951,1278,1284,1206,1274,1208,1228,1322,1184,830,723,691,491,367,362,411,408,357,318,375,345,308,290,278,293,283,253,249,261,262,235,217,225,243,260,287,325,349,332,356,381,358,352,365,337,293,325,306,291,291,236,244,273,293,328,439,556,555,479,501,688,635,444,347,350,450,562,504,484,466,419,414,890,1346,641,480,512,446,417,527,609,506,495,583,572,751,800,551,436,372,395,436,458,559,1202,1090,1320,1448,1278,1058,972,962,1230,1614,1586,1130,890,1440,1448,1216,1444,1504,1600,1454,1274,1250,1100,898,1228,1232,781,656,445,619,526,453,626,785,985,1248,1142,1344,1322,1080,962,819,839,1172,1070,1188,1262,1406,1404,968,822,813,931,858,816,719,623,619,754,694,676,975,961,691,642,843,1290,1560,1470,1358,1320,1258,1304,1524,1656,1342,947,673,790,1088,986,1042,956,1013,1062,1450,1218,711,915,1072,795,589,671,675,621,580,487,532,655,456,627,1482,1360,1178,1104,1236,1554,1784,1584,1422,1444,1094,1104,1005,1230,972,1174,1450,1374,1080,687,495,375,387,450,575,792,931,1188,1362,1188,541,306,537,850,990,670,722,1003,1036,890,1028,1058,698,702,746,522,348,352,362,310,252,246,258,268,268,286,322,285,833,1280,1246,1236,1286,1442,1630,2056,2138,1632,1216,1200,828,526,469,404,371,397,466,513,465,507,487,371,392,378,431,425,375,360,563,775,656,430,375,442,502,580,1114,1428,1644,1110,897,702,614,842,1136,1204,1292,1132,1290,1470,1012,783,767,855,977,836,954,897,678,807,816,870,695,658,684,603,531,553,559,545,570,689,846,823,753,738,633,480,457,443,813,781,603,536,513,612,1042,1038,666,739,1238,1312,890,1110,1300,1064,959,994,910,985,905,763,775,866,1412,1616,987,789,982,1204,1346,1356,1438,1640,1268,1002,915,958,976,908,927,1050,835,956,858,650,534,479,353,471,912,906,748,824,710,822,1080,879,1058,968,652,673,953,954,1080,1216,1096,920,739,572,363,373,764,576,560,1018,1350,1380,1450,1144,763,814,629,536,666,997,861,879,978,728,570,759,909,940,832,791,1256,1282,1382,1416,1023,544,466,527,538,413,312,351,379,366,465,733,928,927,1008,1120,1058,1098,1364,1232,975,1178,1296,1250,1392,1122,796,1092,1146,1782,1682,1410,1376,1454,1200,1288,1416,1100,1100,1382,1392,1442,1166,1264,927,802,919,1180,1306,1294,1190,1162,953,832,1034,756,815,1116,1082,958,1016,1280,1150,1046,1242,1414,1672,1498,1400,1396,1284,1188,821,672,965,1156,860,501,357,328,295,314,520,520,467,681,802,737,968,1240,1186,1136,952,703,516,584,459,485,433,785,953,1108,1246,865,890,1148,937,828,952,1118,1092,947,849,999,1344,832,859,915,885,943,705,545,758,1042,1114,637,967,1904,952,530,512,525,575,619,713,688,514,466,549,735,667,640,570,628,600,616,644,717,778,733,461,305,283,252,254,314,313,341,421,530,699,517,368,364,412,478,438,412,381,397,430,442,437,420,457,504,577,554,521,576,621,879,1470,1236,730,462,530,545,497,510,464,491,545,467,438,409,386,350,416,505,445,452,492,516,468,438,505,513,548,622,691,784,624,518,436,369,424,481,506,587,557,498,591,860,769,1034,973,766,535,633,703,789,702,498,436,469,513,445,402,495,465,529,455,508,818,1086,1368,1404,1158,1100,768,731,749,700,844,843,1084,1250,999,1080,1426,1540,1494,1162,935,865,1010,1104,670,697,866,946,1064,1136,1292,1420,1440,1298,1236,1464,1548,1318,909,1060,1312,1522,1626,1570,1204,538,366,380,450,475,529,749,854,974,1360,1430,1086,1134,1578,1742,1166,715,577,688,991,1104,883,761,919,1216,1090,1006,1086,1100,840,890,1200,1188,796,795,1052,764,830,1104,1462,1292,1076,1258,1332,850,532,601,753,766,942,602,399,359,466,563,496,410,547,881,1046,860,751,805,938,1304,1322,962,755,916,1478,1890,1708,1050,698,662,525,766,995,716,469,598,494,444,619,811,996,739,554,358,319,443,617,441,326,304,415,350,256,282,492,723,623,386,415,405,532,797,534,521,493,419,396,411,447,457,431,424,406,398,401,412,403,404,403,417,388,365,338,338,335,343,358,361,376,341,328,320,343,361,350,357,348,336,336,348,342,336,315,289,328,334,313,294,293,280,276,289,302,322,346,356,359,372,358,311,297,348,402,386,358,348,325,299,292,285,277,285,271,245,257,275,287,296,276,271,333,513,590,439,303,285,274,262,263,270,292,311,310,294,292,307,393,543,608,615,604,586,633,741,727,533,419,447,514,500,390,370,386,345,327,346,337,322,354,390,431,466,392,372,365,371,354,354,357,350,396,438,545,666,747,811,1096,1176,819,656,648,761,1016,1310,1494,1414,1180,872,750,763,786,743,724,692,542,512,414,358,368,430,550,689,896,1268,1458,1644,1758,1620,1310,1394,1494,1328,1272,1444,1508,1584,1832,1822,1690,1628,1618,1634,1558,1376,1542,1616,1168,1216,1506,1542,1334,1428,1668,1552,1372,1456,1556,1318,1050,1158,1024,982,1136,749,1376,2076,1952,1570,1572,1684,1650,1674,1748,2130,1344,686,589,484,392,388,378,441,537,482,360,303,318,336,348,338,342,356,347,341,365,375,382,408,465,567,575,573,508,511,596,680,698,483,296,303,282,280,291,288,308,311,301,295,301,300,299,305,301,301,307,315,304,273,283,306,312,512,718,1078,1212,1186,1396,1248,1224,1418,1362,1470,1422,1402,912,778,703,648,589,521,456,413,408,362,287,293,287,268,335,1054,1516,1007,734,669,1009,1158,976,1388,1752,1246,782,730,785,657,938,829,440,400,395,313,443,733,808,744,770,619,691,709,639,651,589,960,1306,1290,843,487,686,810,927,979,965,571,416,410,387,425,536,577,766,781,508,488,504,919,1324,1620,984,595,505,492,475,539,781,1020,1122,1122,843,506,437,412,501,517,610,724,822,881,912,788,775,985,890,601,403,389,372,372,358,568,543,391,305,301,338,334,313,293,388,423,595,750,507,440,537,768,862,641,452,437,517,460,340,459,516,421,347,508,1448,1634,1188,861,875,1064,1156,1192,1244,1090,693,636,850,1124,1140,1086,1114,1118,866,527,798,1200,1019,611,409,723,1452,1042,504,412,384,514,515,573,869,1034,1056,959,1120,933,1016,871,979,761,547,566,902,1544,1690,1290,1200,1260,981,625,574,466,466,519,549,543,477,543,655,651,1122,1332,1528,1378,1026,974,977,1162,973,902,1162,1404,1124,760,854,913,594,571,852,987,1004,1386,1212,799,670,678,894,1126,1005,618,466,526,648,1013,1348,1458,1316,1072,836,742,996,1056,841,982,1038,769,1036,1382,1392,1360,1308,1412,1376,1108,763,483,380,380,405,416,400,384,412,451,951,1292,1356,1220,849,544,441,390,470,774,1542,1186,1172,1038,533,339,407,667,1090,1444,1142,648,554,658,1298,1138,502,412,383,333,359,389,435,455,470,711,1388,1444,1026,1202,953,1012,918,470,553,674,976,1058,695,812,902,712,467,359,361,321,281,258,273,488,476,298,271,650,982,558,580,713,943,1306,1866,1670,838,567,471,686,811,922,1292,1570,859,484,577,469,410,391,534,664,494,510,572,488,648,888,833,636,367,281,277,259,287,307,327,361,315,272,260,265,278,294,346,279,216,239,289,276,234,230,299,351,407,518,491,390,272,235,276,318,305,239,232,286,328,312,290,302,283,304,395,359,322,350,349,329,316,297,257,272,320,259,247,241,365,452,304,265,451,523,415,580,905,662,360,361,418,323,293,257,296,257,317,387,378,515,580,390,346,666,1208,1001,902,497,347,349,319,274,291,396,502,747,800,635,559,521,467,831,1202,1236,1032,1094,1254,1236,1086,898,949,1050,885,751,969,695,466,369,339,430,601,941,1152,959,1084,1154,656,409,327,332,339,384,531,664,502,372,612,663,375,370,367,346,356,883,1050,838,1012,954,799,933,975,938,494,326,460,451,390,664,680,485,538,700,590,665,954],[648,407,360,315,319,327,367,383,369,552,1184,1224,603,524,824,985,595,511,760,674,542,662,666,543,706,703,740,1028,763,500,497,475,621,705,532,526,602,791,908,752,695,864,800,849,796,560,419,411,443,492,604,682,919,1160,1036,676,470,397,373,267,276,305,261,277,363,436,375,312,385,477,401,345,728,752,528,394,322,289,415,797,1106,1422,1670,1556,1198,1164,1238,1146,819,691,617,472,329,374,417,364,347,296,309,305,300,309,307,290,254,230,235,250,252,237,241,266,285,303,312,328,290,310,518,630,451,363,340,345,331,337,329,325,290,257,278,315,392,480,565,599,531,436,394,520,458,410,359,363,438,469,380,452,569,586,849,1874,2170,794,434,389,472,434,502,532,466,386,402,459,562,614,513,506,766,546,361,383,431,758,1142,1434,1280,922,992,1250,1252,1350,1252,1328,1068,709,886,1026,1032,1220,1376,1324,1268,1350,1252,1280,929,1038,1382,1062,788,542,417,366,410,724,903,1064,1236,603,740,910,852,805,824,812,1204,1274,1214,1048,1142,1244,926,875,494,652,800,806,724,573,520,697,852,907,1028,1013,778,912,808,850,1370,1518,1616,1698,1490,1348,1716,2174,1808,907,617,725,913,949,691,607,721,725,1364,1358,868,699,724,750,686,605,521,512,520,529,509,625,537,599,1012,1198,926,793,992,1052,1356,1556,1404,1156,1086,1174,741,800,725,1186,1744,1848,1466,803,625,513,551,811,684,474,603,951,1256,887,311,273,294,689,1082,726,863,932,1168,1314,1340,1184,810,741,805,618,502,483,543,329,251,252,248,289,318,329,316,283,683,1134,1274,1268,1368,1304,1476,2178,1968,1738,1802,1434,912,735,479,385,379,366,386,397,420,462,499,409,684,693,483,500,429,400,511,747,762,564,441,526,741,1011,1572,1410,936,975,927,485,575,875,1246,1580,1590,863,1266,1376,938,730,769,851,938,948,960,730,692,770,753,688,670,608,549,517,483,524,513,539,598,608,739,779,859,739,536,480,380,430,802,902,765,578,469,831,1202,839,595,851,1722,1306,840,1322,1418,900,848,955,935,990,955,1072,953,934,846,677,850,988,1368,1302,1240,1104,1106,1276,1176,929,656,810,887,899,1064,1088,980,956,813,596,510,473,322,364,739,734,789,612,680,1076,1048,902,844,966,974,697,1120,1526,1538,1312,950,845,661,467,363,421,706,627,593,973,1300,1622,1562,1122,1188,1166,1064,1028,1162,912,710,925,839,489,505,730,601,486,641,1054,1088,884,1316,1260,974,635,536,829,825,645,408,381,387,556,880,1021,998,732,791,948,1238,1330,1098,1062,1056,1019,1028,1080,1290,1328,973,1088,1146,1124,1184,1334,1530,1272,896,1104,1154,1174,1300,1090,1200,1468,1022,749,670,554,542,911,1352,1288,1336,1164,832,913,1060,517,411,750,1132,1144,1144,1250,1136,1034,1074,1248,1546,1566,1450,1538,1624,1544,1246,1158,1336,1412,1182,841,480,301,346,393,593,573,517,784,689,615,1056,1036,928,1052,748,703,749,672,622,1064,917,692,578,808,1009,1014,1074,925,865,1052,791,639,1011,871,597,905,1102,766,865,1042,967,852,886,973,847,810,955,576,653,874,776,574,522,664,758,861,943,760,765,586,661,612,446,426,409,345,330,327,323,381,461,394,331,274,280,321,391,383,347,329,307,352,375,326,329,327,412,592,787,490,409,513,632,581,488,477,431,488,551,509,532,564,609,850,1294,1326,849,507,525,504,481,507,485,488,498,402,397,366,415,407,395,486,433,356,412,468,459,430,427,516,781,854,858,921,818,544,388,441,639,619,589,636,604,680,751,1068,1132,1244,1078,772,525,509,550,714,759,518,459,542,500,477,445,534,521,506,467,532,958,1252,1186,1166,1216,1252,941,914,934,1344,1548,1348,1172,1212,1116,1112,1190,1400,1482,1246,1140,1132,898,672,473,437,572,890,1296,1470,1440,1534,1376,1226,1308,1224,1218,1438,1206,1176,1472,2026,1832,1472,965,553,462,410,409,375,398,370,509,950,1660,1572,1118,1364,1642,1078,459,459,521,533,784,976,937,965,1174,1288,1178,1042,1144,1162,1174,1318,1274,1072,636,931,1250,959,733,869,965,944,1044,1250,977,465,526,1106,1310,817,593,457,423,428,476,661,660,616,886,1096,1202,949,825,1009,1144,1224,1460,1152,797,1214,1798,2118,1798,1324,698,485,465,855,827,666,532,499,441,376,494,1140,1568,980,693,378,337,681,818,507,361,335,318,319,289,298,345,372,338,368,351,426,377,520,639,620,499,420,422,418,419,442,436,427,420,425,425,429,422,412,407,398,395,388,335,363,388,333,331,346,394,346,325,315,331,343,350,380,357,330,352,357,350,333,308,291,304,326,321,308,300,285,293,305,322,294,362,362,359,346,366,334,321,353,406,417,330,297,302,285,278,269,259,249,254,245,246,259,272,283,278,284,315,316,384,432,293,288,288,274,291,313,321,339,333,318,376,459,552,640,594,556,439,356,407,493,516,512,550,537,504,473,544,504,359,314,321,340,340,332,334,378,464,474,464,474,406,328,311,369,369,350,408,531,704,822,954,1184,1120,778,656,778,953,1206,1410,1438,1256,994,785,756,816,734,566,469,567,566,480,438,442,497,609,760,888,980,1226,1512,1676,1702,1622,1562,1462,1358,1192,1024,1092,979,954,1416,1624,1568,1678,1722,1686,1700,1660,1576,1710,1448,1222,1356,1560,1558,1414,1620,1744,1542,1456,1362,1104,1268,1348,990,592,1015,1184,623,933,1732,2026,1750,1810,1670,1636,1604,1902,2220,1834,1090,634,463,423,413,430,596,883,608,362,321,313,325,319,337,357,343,335,359,402,413,409,400,390,407,423,446,421,470,605,584,528,500,310,329,295,281,285,278,311,312,292,293,306,314,311,293,303,319,304,311,303,278,274,308,328,449,474,768,933,963,1250,1242,1388,1944,2092,2078,2016,1832,1136,794,662,600,481,430,491,448,326,336,304,336,365,529,694,1252,1466,1190,882,567,724,786,871,1076,1278,983,788,800,706,694,1036,888,498,469,477,411,441,753,667,492,773,943,852,754,772,660,533,835,1220,1208,760,496,713,1086,1282,814,570,389,375,376,368,337,415,494,509,407,431,482,616,871,1452,1760,892,450,447,398,437,502,605,873,1088,1068,890,537,446,458,644,794,823,954,1052,977,985,810,609,583,490,718,564,572,722,728,559,560,589,525,490,568,412,335,329,326,368,389,705,634,426,389,458,705,826,641,470,440,411,377,438,775,1062,790,438,477,709,971,1202,1332,1288,1316,1108,857,938,1118,1007,757,733,834,964,1118,1138,1050,962,762,1007,1196,1128,854,772,1112,1224,839,514,424,550,787,820,778,986,1054,852,1048,1144,1198,1204,888,810,885,1116,1228,1252,1304,1142,969,1236,1058,583,502,703,587,434,480,549,477,398,591,880,960,1240,781,1206,1290,1210,1032,980,990,637,656,1044,1102,777,647,910,822,597,356,431,807,1162,1372,1162,941,700,682,890,802,497,478,493,567,567,634,910,1250,1456,1406,1158,847,784,812,818,652,881,1078,1170,1350,1462,1526,1376,1058,765,395,337,348,417,409,437,393,422,409,398,401,502,702,1090,1294,1294,915,736,771,553,495,641,779,1344,1078,477,386,485,761,1152,1324,1360,971,865,1036,1368,1024,509,456,469,410,418,428,430,439,466,646,1114,780,769,1046,1082,1098,659,353,556,824,760,392,382,501,482,545,418,302,307,301,258,304,348,423,405,327,385,732,1146,918,777,643,772,1472,1500,1009,808,458,383,558,820,1048,1246,984,458,443,553,497,405,387,577,647,429,490,672,547,729,931,572,351,298,269,250,263,284,287,368,393,312,287,277,255,252,291,269,244,255,304,327,297,262,304,361,430,532,573,439,451,368,263,245,263,263,250,236,281,357,324,287,351,317,283,334,363,383,358,292,270,282,291,285,271,253,277,404,328,573,447,269,265,448,670,678,781,717,453,396,362,275,207,304,280,230,410,605,442,518,829,1052,673,477,406,529,707,602,368,315,301,294,262,339,590,712,1126,1068,540,508,648,783,1016,1214,1434,1208,1054,1276,1694,1578,1470,1058,957,1066,930,1126,1162,744,446,680,908,1134,1220,1152,1023,1332,1190,659,412,319,369,388,489,684,699,694,872,916,811,474,563,745,516,263,746,1140,968,902,880,1042,1476,1220,879,385,286,410,428,382,499,528,443,416,530,630,996,1210],[653,372,302,308,332,331,427,374,357,515,1406,1468,687,390,550,803,670,528,839,906,807,685,543,534,416,402,550,883,655,560,518,413,584,706,589,622,647,1224,1562,1226,991,991,879,893,775,562,439,454,517,516,740,851,788,1050,1026,610,354,310,286,303,318,325,329,371,345,468,448,357,429,413,339,345,673,901,592,277,283,332,329,625,797,1028,890,634,932,1126,1009,953,874,628,484,491,309,307,311,310,362,300,269,273,271,274,261,229,212,217,237,232,231,251,282,291,280,287,301,324,332,354,484,546,390,324,328,351,344,309,313,332,358,401,419,472,558,578,588,539,538,498,424,416,432,435,398,337,380,424,381,408,541,655,842,1054,1028,789,604,563,477,457,536,564,480,354,376,424,449,391,427,647,943,599,404,397,572,984,1112,1098,1250,1218,1470,1470,1288,1708,1542,1524,1506,918,587,904,1011,1050,1264,1038,1322,1346,1476,1562,993,990,1012,993,997,625,368,358,643,1002,1338,1592,1450,846,731,609,901,908,1032,1160,1009,1178,1350,829,1034,1450,1158,1074,619,616,718,698,787,766,877,1108,1194,1090,1076,1102,1162,1032,1144,1470,1550,1550,1620,1602,1726,1516,1354,1724,1470,764,652,608,486,579,421,362,708,1616,1764,1184,1076,994,1020,1228,918,1028,1698,1086,616,622,597,645,842,1056,1182,1358,1124,1186,770,771,968,1228,1220,1202,1164,734,314,394,424,630,1210,1638,1094,973,1282,903,1160,1624,1354,630,426,546,673,516,276,260,273,440,844,706,739,706,923,1140,1068,1056,815,543,487,510,549,678,718,415,253,249,276,324,335,356,308,229,383,720,1096,1486,1368,1208,1204,1456,1316,1150,1398,1224,920,796,523,486,491,377,343,409,459,481,766,648,858,814,667,827,553,433,541,565,609,642,571,556,965,1048,976,719,676,1112,1232,1372,1936,1330,1078,1124,1112,742,929,974,828,786,830,849,800,843,1015,595,705,771,673,575,587,618,636,692,750,709,635,610,598,497,489,496,745,598,437,402,372,412,467,532,642,683,614,891,893,592,649,740,1278,1406,1820,2622,1946,856,713,861,873,1092,1094,1210,1118,911,753,915,1120,1140,1128,973,890,1236,1394,1070,1238,979,761,843,905,913,1156,1092,967,951,792,680,547,297,253,259,372,733,898,780,835,875,747,799,795,986,1066,863,1130,1296,1108,1058,1122,1162,1032,572,358,397,590,781,722,988,1242,1176,899,1172,1548,1258,830,919,1378,1036,588,669,647,498,670,1208,764,404,579,882,814,768,857,767,969,929,919,1238,1126,827,461,500,538,477,794,1108,1182,927,854,1023,1168,1208,1106,1042,901,824,835,633,856,1318,1030,795,1088,1252,1026,1042,1256,1376,1023,883,840,1292,1322,1013,747,857,1005,1007,870,639,439,694,1172,1282,1442,1050,694,919,1150,920,715,979,1124,953,666,566,565,639,872,1044,1368,1652,1682,1526,1480,1516,1476,1546,1450,1472,1334,1023,537,360,342,442,521,576,583,912,1032,1042,1160,904,776,806,544,473,582,556,569,803,807,831,912,855,1032,1310,1019,725,1032,1288,1290,1184,1250,835,583,742,743,833,1122,1086,875,954,1154,1430,1296,883,770,858,821,634,537,476,747,847,662,776,987,938,750,537,640,536,411,424,338,253,289,270,307,311,353,311,309,357,667,627,424,382,372,318,294,323,361,356,339,471,560,756,891,573,601,699,661,534,477,455,435,492,534,513,515,550,564,658,814,816,651,545,525,430,387,406,473,513,408,412,411,373,414,446,521,582,409,343,351,427,473,422,477,630,1046,899,670,885,895,665,394,605,830,724,765,747,805,735,722,803,1034,1030,980,760,542,561,572,646,837,613,551,532,462,454,585,747,708,659,530,545,1056,1334,1252,1288,1396,1456,1158,1394,1064,1186,1172,771,861,1092,987,828,914,882,1368,1424,1454,1292,673,410,411,504,865,1376,1678,1654,1296,1314,960,985,1180,1366,1486,1422,978,865,1086,1150,1216,1296,1106,897,569,420,374,359,307,325,354,424,846,1007,946,1236,1108,573,443,475,639,667,883,959,1138,1138,1144,1342,1176,833,895,1068,1194,1282,1340,932,655,1007,1086,1058,1106,793,823,1004,993,813,777,644,558,1106,1018,667,648,602,500,464,469,569,597,792,1084,1068,988,923,791,777,671,1112,1870,1522,967,1324,1218,1726,2048,1798,883,547,533,891,780,616,523,484,543,624,888,1268,1316,967,866,681,742,847,865,608,455,469,396,398,329,267,254,290,362,377,404,423,458,654,787,724,500,430,408,400,408,451,458,430,416,403,408,426,429,392,372,393,386,381,369,380,404,312,285,296,321,328,328,333,328,315,321,370,366,339,357,366,348,320,296,283,274,292,318,348,341,315,298,315,348,351,369,354,348,351,392,380,334,353,375,395,337,305,291,279,268,258,252,241,258,269,263,262,264,270,276,277,281,299,380,392,307,341,335,290,296,315,339,396,385,404,449,437,554,700,541,425,425,381,346,375,444,513,497,444,386,375,529,509,346,319,346,337,328,344,366,384,402,432,613,719,488,312,312,357,354,375,504,652,718,930,1184,1124,835,705,827,1122,1360,1450,1322,1034,803,738,760,822,728,560,419,406,485,458,439,555,595,735,965,1076,1284,1444,1538,1584,1554,1600,1526,1444,1440,1222,1232,1184,1182,1122,1036,1218,1382,1500,1710,1620,1710,1666,1650,1636,1582,1382,1354,1376,1388,1500,1676,1752,1598,1406,1384,1406,1392,1418,1334,777,695,1168,995,716,769,1068,1444,1368,1674,1566,1562,1274,1338,1818,2036,1526,874,495,453,577,825,688,577,386,359,331,279,291,315,315,317,350,413,408,420,422,409,409,389,466,516,489,441,474,555,485,421,467,343,323,301,315,290,288,307,286,276,295,343,413,435,431,418,306,309,307,314,295,317,352,357,364,406,560,682,954,1332,1306,1344,1884,2138,1954,1838,1548,1212,897,567,500,422,367,392,375,501,460,616,753,821,1224,1082,960,806,583,910,977,812,554,904,851,1152,1384,1192,938,649,734,1032,872,526,512,498,459,444,575,569,468,1098,1480,1028,833,927,653,411,630,1260,1218,683,522,727,1332,1338,807,464,373,347,337,327,305,351,411,367,285,417,447,871,1238,2038,1920,847,432,390,410,402,400,432,639,1074,954,1024,974,1230,1154,1008,1290,1306,1128,905,797,876,565,567,625,573,860,989,1198,1550,1318,673,637,797,881,780,597,444,350,272,373,477,600,759,521,384,390,409,596,882,909,762,424,321,353,1060,1606,1594,1132,533,434,497,808,1302,1516,1282,1046,731,525,595,1180,1104,608,843,1050,1074,891,864,965,1180,1166,1072,988,1172,1044,1040,1360,1406,1084,681,433,498,708,1144,1192,896,710,717,938,1023,1184,1038,896,979,880,1060,955,1048,925,667,816,880,471,337,664,1180,1196,747,533,722,789,979,728,533,594,509,593,1074,1264,1574,1184,703,808,763,661,1072,986,737,568,546,431,317,343,553,724,860,1058,1186,1236,703,462,468,400,325,465,529,564,575,562,587,882,1340,1538,1460,1226,904,736,959,1166,1384,1578,1562,1368,1180,1220,902,505,608,376,339,354,379,393,453,460,449,381,370,462,488,511,791,977,958,1066,876,916,564,555,682,828,1110,810,475,445,614,782,1100,1214,1322,1082,991,764,808,852,777,739,576,406,382,327,295,308,421,695,634,570,967,1106,977,868,500,336,416,645,542,320,292,313,316,297,295,298,522,601,350,343,368,414,440,330,496,1218,1442,943,565,448,471,869,1190,1332,1288,565,415,404,839,1128,764,415,386,478,457,417,387,427,487,443,375,543,747,554,846,681,443,347,267,264,288,312,351,372,359,361,430,430,354,266,255,284,249,243,262,271,267,270,286,365,386,436,403,356,307,299,328,276,214,230,247,296,327,324,336,313,337,393,329,286,276,304,348,309,294,300,275,286,348,326,360,399,467,428,577,454,269,250,383,758,1182,1009,426,282,273,293,238,200,248,275,273,445,557,435,440,803,2148,1262,539,350,319,334,288,275,273,301,334,316,396,765,931,1084,1007,481,560,758,1074,1230,1196,1410,1234,1096,1182,1316,1036,1044,698,894,1164,1013,1036,1230,898,541,605,855,1192,1218,1036,1021,1082,862,718,609,423,339,415,407,578,555,902,1378,1078,1064,694,795,1070,667,281,627,1194,1138,789,937,1074,937,908,755,604,619,911,959,865,689,675,647,553,697,705,598,414],[518,348,397,323,305,307,310,310,282,391,453,431,495,536,681,854,825,857,1186,1390,642,529,554,592,495,421,738,950,747,658,608,523,664,654,550,587,513,543,530,761,949,865,821,808,659,489,396,377,466,499,747,971,1066,1044,1022,665,377,342,275,292,307,322,410,569,373,314,321,451,491,354,338,358,465,700,679,318,294,536,581,563,772,718,635,648,709,700,583,604,787,826,611,501,335,294,285,300,336,321,292,264,242,239,229,206,205,215,223,221,217,231,255,262,257,267,293,314,330,374,370,335,304,288,324,351,339,343,371,390,444,519,525,516,534,572,661,773,930,832,645,466,370,422,478,396,345,405,449,519,639,514,916,1224,1326,1226,1080,810,506,486,521,597,600,500,491,424,295,233,322,444,477,421,397,381,488,599,730,1294,1636,1632,1332,988,968,1490,1516,1386,1382,1050,896,1032,1108,1444,1366,1164,1350,1160,1246,897,609,792,1046,1552,1406,727,579,443,753,1244,1668,1584,1084,728,625,725,997,750,509,558,394,574,929,702,946,1220,944,986,921,714,563,619,755,798,980,1108,1126,1154,1136,1094,960,899,1386,1488,1318,1464,1544,1562,1502,1276,1194,1284,1320,971,807,669,448,392,426,327,769,1272,1034,917,1160,1130,1188,1476,1110,1532,2040,1068,592,673,735,838,979,1192,1340,1446,802,703,540,730,547,755,1076,1282,1100,597,477,519,400,409,1062,1102,1048,1288,1306,1132,1196,1552,1208,462,399,345,347,467,549,365,477,999,1032,565,426,551,1032,1246,915,967,715,474,351,275,329,393,603,463,307,250,268,308,309,346,246,306,673,797,1026,1270,1164,1250,1182,1238,1412,1212,935,906,744,545,753,1096,1100,545,313,569,796,847,744,645,763,747,476,542,544,706,775,604,747,713,543,462,489,497,440,500,817,980,1018,1232,1114,790,572,623,847,943,761,590,753,784,819,734,699,859,1122,733,653,574,524,552,620,722,709,697,722,772,906,868,836,623,491,524,626,570,439,364,328,378,379,389,502,558,365,465,583,717,918,943,1192,1266,1916,2354,1202,701,521,779,1042,1250,1138,1150,887,515,494,673,850,868,675,674,758,971,897,705,812,797,728,818,954,1008,1122,1142,1078,1050,951,855,667,472,324,233,265,377,581,861,1040,937,788,775,664,615,600,756,929,1100,1136,1144,1202,1204,1102,741,478,398,411,530,615,866,1100,693,397,969,1484,1318,1130,1056,933,948,603,485,594,967,1488,2264,1384,690,749,823,700,673,630,563,583,805,939,1116,1044,698,634,988,869,472,922,1376,1266,1013,1064,1212,888,933,1070,860,642,520,482,465,586,861,835,547,573,740,690,771,671,1262,1226,892,955,1154,1238,960,484,554,1015,1070,770,646,600,819,860,1204,1154,676,449,686,1112,1082,831,639,630,642,463,421,463,746,813,698,1118,1548,1672,1348,1018,1015,1332,1416,1602,1682,1572,1086,804,725,516,447,828,1132,902,717,898,1144,852,644,715,731,552,506,772,979,1042,941,848,919,971,933,981,1216,1100,937,1196,1226,1096,1252,1110,727,768,787,599,647,934,858,877,1204,1240,1182,1150,1060,1228,1376,966,609,569,857,1474,1038,942,946,866,752,728,611,527,453,375,365,365,303,277,278,273,294,300,273,231,444,808,770,572,421,366,317,305,378,375,365,361,515,611,653,667,576,484,488,457,419,453,435,494,505,520,520,520,536,622,648,577,608,593,538,479,436,422,405,444,461,434,449,430,423,437,391,478,519,409,346,366,456,543,591,758,719,852,773,761,743,719,800,592,649,665,765,855,719,640,525,552,534,486,505,592,692,871,860,722,685,883,762,727,670,594,571,763,777,610,527,434,535,982,1364,1400,1360,1272,1238,1248,1194,686,524,581,771,872,973,922,918,1160,809,1186,1360,1494,1316,750,456,411,386,735,1338,1516,1520,1128,1024,917,932,1410,1742,1208,655,490,493,741,1244,1266,1424,1266,762,433,367,348,343,312,319,344,332,486,793,1086,1262,1220,807,1002,874,996,1058,828,855,1038,858,819,1036,1200,764,730,1054,1172,1284,1182,1024,1066,1072,889,883,1096,995,1092,1080,751,623,709,852,854,974,813,799,1270,1292,744,678,567,423,429,647,849,784,851,811,923,874,576,1048,1830,1542,1252,1158,698,1072,1410,1560,1328,824,562,557,532,503,509,479,469,449,438,648,749,692,746,919,937,894,834,424,474,434,366,381,319,286,322,413,469,426,398,398,464,534,605,628,473,414,386,374,397,415,442,437,425,430,415,395,397,372,341,390,393,381,375,392,374,333,318,328,321,313,321,328,331,323,321,365,366,345,345,360,343,310,295,281,269,286,303,330,361,354,320,328,351,375,392,375,348,357,371,375,330,346,341,343,325,317,306,289,270,256,251,259,266,262,256,258,266,291,295,295,312,302,280,275,271,306,452,553,334,313,435,680,541,397,403,428,575,635,453,324,340,326,322,363,491,550,441,357,335,348,384,381,348,320,331,378,380,326,334,352,361,354,534,623,473,356,371,393,403,517,662,788,937,1190,1056,800,790,998,1268,1464,1454,1202,835,662,722,785,623,573,503,458,383,357,424,430,414,580,767,865,1084,1330,1710,1670,1638,1646,1382,1588,1680,1612,1586,1452,1326,1234,1414,1292,943,1013,1432,1648,1660,1608,1616,1588,1576,1626,1668,1632,1584,1376,1462,1510,1538,1416,1408,1388,1368,1612,1766,1572,1350,1274,1406,1350,1082,1094,1208,1332,1210,1340,1512,1562,1440,1198,1234,1548,1758,1398,841,540,764,969,1142,788,513,444,366,321,298,327,324,343,493,399,520,458,389,372,344,343,371,441,511,523,516,541,497,436,348,340,340,328,321,309,292,290,286,273,277,280,345,565,753,686,573,395,294,386,469,381,330,353,353,387,458,588,839,865,1084,1236,989,1462,2056,2076,1826,1272,1036,769,573,513,502,606,720,671,779,577,677,869,1262,1578,1090,977,1066,792,859,906,683,356,433,623,818,869,996,803,538,717,1008,828,532,474,480,442,561,502,398,297,992,1600,1184,892,875,591,451,596,1274,1208,648,474,557,1058,1060,645,386,299,342,336,279,280,328,399,375,347,336,553,1134,1886,2420,1702,570,441,382,412,410,360,400,478,779,966,1456,2012,2148,1548,1003,1180,962,733,568,706,764,450,538,730,603,873,1284,1324,1558,1384,708,676,895,967,810,535,404,417,387,579,691,821,954,445,359,332,324,457,849,1088,910,513,541,579,661,694,1060,1192,694,543,444,858,1372,1536,1434,940,481,313,1234,2216,1238,526,697,984,1144,879,706,786,1144,1216,1144,1078,1140,1030,1044,1218,933,805,957,599,424,524,1112,1218,787,647,642,586,884,880,502,541,864,664,720,752,1042,1038,1080,877,468,432,473,603,959,1118,955,500,657,1234,1672,1136,574,465,414,623,1100,1466,1314,670,482,583,666,814,944,854,811,880,776,954,1422,905,648,971,751,733,1002,808,483,399,428,425,423,468,436,419,468,524,502,652,946,1316,1322,1148,950,1102,1362,1432,1256,995,892,773,817,946,542,387,373,369,335,339,364,489,601,619,556,417,409,498,389,357,420,622,743,1046,926,753,534,741,993,1070,1160,921,886,861,844,813,1178,1294,1198,1094,1172,1034,838,802,777,703,699,313,319,367,425,376,494,808,723,822,1396,1210,729,576,355,446,380,366,274,233,267,310,310,389,414,273,376,458,405,340,354,408,421,555,1014,1470,1340,1146,877,777,940,1044,1600,1532,1236,568,335,430,745,736,422,369,379,443,511,555,519,513,459,364,337,559,673,673,677,400,361,338,278,368,437,412,371,403,411,442,484,511,368,294,285,273,261,263,321,335,355,315,271,301,328,339,326,304,236,199,269,330,265,222,241,275,291,320,348,315,302,366,381,304,261,306,308,279,336,324,296,326,372,300,347,445,396,467,598,352,261,262,320,623,750,647,364,232,231,264,252,249,280,325,475,330,335,451,442,349,1046,894,608,346,323,298,300,318,311,285,391,422,368,633,985,905,839,539,486,699,1078,1122,1074,1316,1120,1340,1206,602,518,866,938,1026,1082,1002,1013,839,597,625,437,421,789,985,1028,1072,952,882,777,752,680,539,496,268,432,577,1106,1662,1270,1070,769,1004,1270,769,499,710,1242,1222,1044,1264,1128,949,1080,1122,896,669,619,854,1172,1019,820,706,694,1062,1052,634,416],[722,835,855,563,412,437,357,363,357,654,841,746,623,496,625,850,597,783,824,655,395,439,644,917,745,497,798,790,516,473,547,500,539,427,403,376,409,406,399,513,658,648,572,520,504,449,427,429,499,410,664,1066,1138,1062,979,820,629,332,321,352,321,333,439,522,389,323,321,419,427,322,357,395,328,305,513,451,359,536,683,587,595,648,626,611,586,488,401,540,746,581,537,623,559,386,308,318,322,319,313,269,236,230,232,228,229,230,226,219,217,229,258,271,266,268,284,303,302,374,358,297,277,320,407,437,444,444,457,468,515,560,525,498,498,570,827,1032,1114,1056,912,647,394,422,534,460,356,399,477,791,932,642,847,1028,1004,1628,2076,1152,525,478,479,560,656,556,502,427,273,242,260,249,291,409,425,410,401,537,763,1396,1496,1194,988,1078,1042,1146,1284,993,761,803,1036,971,1174,1726,1682,1512,1282,1420,1406,960,911,1130,1420,1574,1224,814,728,603,1034,1604,1766,1354,822,603,771,855,888,535,292,274,261,284,401,301,492,557,751,1108,1044,755,375,388,410,491,827,1186,1316,1160,1009,1048,1154,1234,1218,1056,1030,1116,1440,1566,1478,1454,1438,1478,1442,1238,739,525,659,556,372,433,453,435,730,1248,1019,635,756,1230,1132,1188,1050,922,991,994,1019,1114,942,1076,1350,1600,1110,775,644,561,398,554,1116,1444,1288,1186,923,999,719,581,978,1004,1166,1268,1508,1510,1010,979,703,460,342,272,279,361,460,372,551,1094,960,566,515,725,1246,1346,988,1024,659,455,408,306,296,260,343,421,402,312,306,317,339,339,258,482,1010,1170,1148,843,888,1176,1218,1146,1214,1376,1172,1078,656,732,1088,1122,846,483,460,929,1376,1014,462,475,614,725,574,716,613,709,608,537,894,787,463,470,491,467,494,467,508,505,668,631,529,598,650,667,639,823,587,437,777,664,628,554,586,1180,1096,517,359,325,452,643,709,765,775,805,831,872,930,775,680,457,411,473,446,409,411,467,369,366,372,410,458,399,363,365,428,602,636,825,1003,667,932,1009,683,576,723,1442,1390,1172,1126,943,576,308,241,326,553,689,630,799,798,611,633,577,600,872,831,713,813,951,999,1108,1062,1168,1023,863,794,611,370,274,283,295,376,620,796,672,935,1248,1306,1068,940,971,900,1160,1256,1086,1184,1370,1362,997,726,483,467,494,667,956,877,486,311,634,1142,1056,788,729,606,836,609,770,1076,1240,1400,1138,653,704,1028,993,585,476,399,498,466,792,902,698,595,844,1202,1422,1250,831,849,1274,1108,881,716,648,726,1132,1246,860,810,803,474,351,442,988,1748,779,452,642,850,1015,865,1164,1094,963,969,1013,1154,1012,636,449,612,901,605,877,875,799,823,1001,891,649,436,537,676,608,427,373,394,431,412,453,465,780,727,496,582,965,1470,1470,1226,1348,1734,1246,996,1342,1466,1240,1340,1412,1056,926,1324,1386,776,435,590,968,1258,1128,933,1152,860,415,491,938,1232,929,778,1036,907,1116,1190,1206,1268,1082,987,781,578,745,763,751,1328,1322,915,666,800,1150,1064,1426,1348,996,1142,1284,1328,1192,760,550,626,874,1050,1078,1072,950,877,893,918,698,380,396,368,378,430,341,307,279,261,280,245,239,344,783,1004,794,631,484,438,383,335,364,345,368,374,427,424,377,420,404,375,436,399,400,462,447,439,452,460,498,561,563,534,492,468,515,498,504,451,395,428,377,442,468,431,415,393,422,391,346,425,417,415,447,503,569,609,953,992,758,819,893,851,705,601,715,778,620,512,573,756,756,574,569,612,535,505,518,533,663,736,738,656,593,539,542,664,648,634,830,902,641,467,435,431,626,1032,1354,1174,1060,946,905,1156,952,594,575,714,966,926,764,681,1064,1478,1306,1324,1376,1472,1174,563,507,733,531,791,1050,1266,1172,1094,1084,1162,1248,1288,1158,738,483,414,513,988,1246,1021,1276,1224,974,510,306,370,389,390,360,357,358,355,569,745,704,980,1012,1262,1142,1132,1178,1038,968,1002,1156,915,880,1098,938,709,911,1394,1496,952,905,1166,1104,921,812,1108,1190,1004,734,647,683,674,813,1170,1506,1346,1352,1448,1250,910,1144,676,505,502,570,679,1021,1076,694,929,871,557,700,1174,1108,1212,1026,894,1168,1072,1150,1228,926,633,495,480,473,658,503,552,648,468,347,389,551,669,680,868,1196,1020,427,491,384,360,262,253,302,365,411,438,427,371,378,461,513,531,539,453,402,386,388,404,419,431,416,411,407,365,333,363,341,294,393,404,388,378,390,407,373,337,332,319,317,313,308,323,316,313,331,347,327,320,333,327,306,293,298,291,315,304,315,318,324,320,328,348,334,348,357,354,354,367,382,348,348,348,337,330,327,327,309,279,265,263,272,275,269,265,266,272,296,300,329,320,253,267,305,270,333,731,822,400,618,843,681,373,276,378,467,440,416,426,335,343,352,326,328,454,539,412,331,323,329,351,364,332,310,442,562,446,334,338,390,375,342,390,517,514,379,386,408,498,696,769,1048,1238,996,783,944,1190,1400,1454,1232,933,817,794,795,814,721,511,469,473,421,383,384,408,426,429,656,1015,1252,1506,1692,1708,1674,1550,1330,1216,1444,1516,1476,1470,1570,1336,1276,1724,1606,1282,1288,1478,1592,1484,1376,1312,1414,1588,1714,1726,1756,1796,1650,1760,1594,1796,1608,1476,1378,1492,1646,1616,1512,1544,1294,913,919,1128,1250,1412,1436,1462,1606,1610,1498,1230,1294,1752,1446,1408,1218,742,758,1050,992,1022,841,764,702,390,343,307,319,292,370,740,844,796,561,360,331,331,323,336,430,479,386,375,359,369,363,339,355,343,320,335,323,319,404,398,267,260,263,301,543,680,551,438,331,279,430,601,576,453,409,367,376,430,539,483,316,685,1118,790,981,1482,1600,1122,569,708,671,695,681,668,734,942,1000,987,668,425,599,859,1013,766,756,1156,786,521,500,419,358,495,815,949,885,875,672,502,604,875,731,573,498,510,455,649,679,458,382,1023,1794,1346,880,774,533,516,443,818,886,603,465,511,660,666,515,448,407,479,403,303,453,548,433,341,344,350,702,1216,1476,1384,950,506,426,398,348,340,382,436,546,843,933,1218,1602,1532,1484,1368,1300,641,562,627,756,666,482,594,680,505,714,1192,1204,1312,1034,700,683,793,813,589,422,301,374,606,869,861,893,1100,509,420,487,423,431,754,1032,970,891,902,751,438,505,946,1230,1160,1007,619,705,935,1182,1174,755,506,634,1196,1020,483,573,1021,1360,1346,1226,1144,1042,1172,1214,1236,1276,1112,823,1150,1176,716,696,1150,1134,1054,833,525,651,734,816,950,1202,910,979,517,347,325,374,573,857,879,964,1296,1048,633,521,522,1026,1308,874,908,728,654,802,1044,1260,1070,577,428,591,1202,1404,1170,871,686,516,844,970,622,392,662,1114,978,1494,2676,2120,1154,1208,817,449,459,685,832,677,508,460,440,365,318,350,378,444,428,585,660,792,1100,1366,1554,1656,1356,993,766,534,558,825,1226,1238,653,370,319,303,289,312,376,495,655,716,700,529,474,479,401,365,389,532,723,999,1166,825,472,637,1060,1366,1142,694,1028,1448,1078,1122,1296,1122,910,697,750,1074,1086,955,565,401,376,325,319,342,408,393,549,894,892,865,1328,971,774,588,446,591,477,354,303,277,281,280,283,484,596,350,308,438,465,330,350,417,672,1010,1468,1336,1186,1592,1732,1272,905,866,1536,1580,788,402,398,456,519,357,389,405,398,468,481,495,545,477,518,502,414,528,592,636,551,419,441,407,318,311,433,430,319,355,396,391,404,479,491,415,286,307,311,370,409,373,370,293,269,267,281,262,290,299,243,215,284,487,462,265,228,243,273,341,339,316,318,346,368,307,272,281,285,328,385,348,322,319,297,291,355,441,424,505,574,383,323,295,298,484,489,398,279,231,228,257,272,256,281,546,699,355,295,477,439,290,350,623,545,339,371,400,422,386,305,285,348,363,362,492,570,778,941,505,535,729,952,778,960,1516,1270,2060,1432,671,763,932,921,974,956,1054,813,377,341,530,568,463,460,583,897,1076,1094,1168,1042,1214,918,910,575,304,480,630,1090,1344,1354,1370,866,831,932,811,785,1116,1498,1400,1222,1144,851,831,961,891,644,526,567,656,815,809,692,694,747,780,760,512,350],[704,896,865,589,413,362,336,371,363,748,1102,625,357,349,400,564,418,426,627,577,444,342,441,575,488,588,755,526,397,392,387,496,430,365,358,342,355,362,386,432,558,584,515,499,483,548,627,587,570,501,720,1014,982,772,614,529,836,573,368,360,383,395,448,451,415,333,289,303,333,328,385,418,355,255,378,458,420,454,538,507,524,527,526,507,495,491,416,532,662,498,440,561,593,453,342,340,318,328,318,277,240,235,242,236,237,236,237,235,228,238,261,272,265,265,272,289,310,416,396,322,314,386,486,682,592,473,482,473,465,498,503,473,615,829,885,951,1040,1016,866,707,420,406,477,440,463,454,556,915,1228,960,648,602,524,1202,1538,830,651,500,409,395,382,265,300,328,291,290,270,270,270,357,451,512,664,777,851,1270,1116,683,843,1048,971,724,560,407,396,689,584,682,1386,1588,1678,1426,1062,1284,1300,913,1016,1094,1090,831,760,780,737,774,953,1090,1174,1486,1342,883,872,901,986,554,300,318,292,262,291,332,395,438,565,602,716,805,663,803,793,975,818,785,800,796,994,1190,1094,989,1230,1384,1314,1208,1504,1324,1448,1620,1578,1512,1382,1260,1021,963,1042,816,626,733,621,605,709,906,644,644,958,1094,1001,832,702,870,1028,1174,1042,1114,842,835,1118,1354,1015,772,642,396,350,453,1104,1276,818,861,980,1017,686,570,664,704,775,586,770,1150,1122,858,561,456,359,250,253,270,296,373,652,774,561,642,788,985,1232,1256,1336,1288,719,492,394,273,261,237,310,384,406,375,369,333,353,307,314,761,1024,1130,1016,841,690,682,918,1040,1176,1302,1192,1146,701,708,706,536,537,571,744,1196,1324,1010,994,656,695,1092,1152,1052,1064,816,502,532,590,604,441,581,667,678,648,473,537,633,717,586,676,899,1130,850,469,562,464,816,1040,727,620,676,1036,1662,1154,481,446,382,462,722,816,867,912,955,867,839,863,823,753,513,399,425,387,381,455,483,371,407,420,393,344,336,341,366,431,454,449,570,769,592,657,666,559,461,648,1152,949,840,1106,860,451,295,253,244,324,390,525,671,598,585,521,370,592,822,731,572,508,730,873,989,991,1076,800,487,355,310,320,345,293,329,343,411,510,513,741,1013,1158,1122,956,1036,1272,1516,1516,1396,1356,1180,1308,1140,1066,835,690,659,996,1360,951,385,337,474,777,609,483,609,825,733,527,910,1156,1078,1094,1092,901,725,1066,1132,530,499,391,419,735,988,1126,1046,1124,1428,1434,1098,844,648,678,1040,903,1024,1086,609,615,1044,1266,1058,969,807,465,358,411,1154,2192,1058,747,1058,1324,1410,1286,1254,1015,671,704,1002,1028,735,639,707,749,999,723,765,705,987,1302,988,733,646,518,538,528,446,354,372,352,307,357,495,700,819,669,466,519,866,1346,1320,1074,1124,1352,1232,930,844,1082,1464,1614,1438,1336,1282,1284,1228,716,495,467,570,880,858,1076,1352,1044,534,489,671,996,919,966,1444,1428,1200,1232,1570,1466,1007,960,799,619,908,1068,1094,1394,1196,1176,1142,949,904,1086,1504,1282,982,1146,1378,1342,730,594,537,629,680,687,659,659,703,775,914,836,554,338,477,462,516,489,375,300,286,276,283,286,302,587,1056,1106,700,549,485,603,469,390,396,356,455,531,453,418,406,345,323,505,569,411,365,378,361,370,401,444,465,514,520,501,462,432,417,398,437,426,434,439,389,422,443,446,435,402,374,329,394,460,473,440,604,688,613,714,859,804,813,921,1076,879,661,540,535,857,778,489,448,663,619,517,631,725,643,728,703,620,614,669,694,661,561,451,428,414,433,475,581,791,894,559,467,462,710,1078,1142,1200,1346,996,883,1156,1060,720,722,1009,851,1016,1068,833,1098,1182,1300,1542,1258,934,647,520,537,952,744,735,761,794,994,1260,1024,1026,1140,1134,1414,968,643,471,594,778,901,1009,1312,1312,1180,711,370,424,398,376,337,322,327,398,558,444,383,507,644,830,1002,1108,1150,965,1040,1220,1488,927,825,1322,1946,1554,974,1310,1522,1100,867,1044,1078,1086,899,1082,1124,1052,780,757,841,791,727,850,1100,1442,1720,1354,1050,993,1172,987,814,671,733,877,1312,1356,791,790,739,597,582,886,843,947,1100,1120,1316,1478,1296,957,598,536,536,689,641,1068,970,1118,1224,811,512,498,853,1140,999,1064,1136,733,466,432,485,453,298,307,389,426,410,384,363,393,455,485,515,504,491,434,408,400,396,395,390,402,408,412,404,375,351,376,365,357,391,392,390,399,395,402,367,335,329,321,321,308,298,303,300,305,333,331,301,313,319,320,310,296,306,296,322,281,276,276,295,322,328,316,289,338,365,361,360,372,375,362,361,356,350,332,311,318,302,274,271,283,282,276,275,277,281,293,304,362,560,604,405,280,317,300,300,470,473,514,692,603,398,318,320,405,521,500,423,444,367,310,326,322,289,327,404,405,353,323,350,359,342,376,431,485,506,384,328,314,346,357,361,368,411,449,413,368,514,738,860,1114,1206,917,823,1066,1352,1514,1426,1100,864,898,943,803,689,718,612,463,417,426,408,439,463,399,428,544,895,1216,1538,1532,1470,1556,1516,1250,1156,1316,1296,1240,1368,1612,2014,1494,1436,1642,1580,1510,1422,1626,1638,1226,1196,1308,1306,1312,1368,1400,1566,1710,1672,1782,1702,1736,1704,1424,1214,1608,1590,1510,1428,1550,1334,844,571,880,1134,1220,1376,1614,1546,1152,1220,897,852,1526,1500,1556,1598,1162,1152,1202,1180,1358,1334,1188,944,534,394,327,343,336,396,833,1023,832,532,365,347,296,298,309,397,379,349,397,372,347,334,334,348,361,368,351,315,401,508,444,280,245,242,262,308,276,262,291,337,383,374,438,453,404,380,345,385,454,620,679,668,929,1252,1234,902,741,944,819,828,1034,1009,708,869,830,633,965,1344,1246,813,500,562,432,394,397,523,725,584,448,453,491,504,526,868,886,929,1256,1004,614,561,730,780,635,502,500,507,647,721,490,359,900,1520,1174,916,1046,698,470,402,526,659,652,574,589,673,614,441,504,554,366,285,334,613,781,573,499,630,578,861,912,988,797,604,467,494,445,386,409,526,621,752,965,982,672,817,1128,1218,1404,1810,1060,675,622,702,723,505,384,439,573,882,1220,1296,1180,1058,1096,1084,1456,1426,918,607,426,528,859,1144,1084,1192,1108,611,412,520,436,388,577,912,1034,955,859,738,487,399,688,1278,1328,1134,792,462,472,733,703,466,433,544,1024,797,461,635,1300,1392,1484,1454,1368,1150,1076,1240,1048,907,1013,838,1206,1188,698,888,1246,1488,1650,1404,922,656,491,558,1350,2402,921,1114,918,467,393,430,433,421,545,783,820,626,558,660,648,1146,960,658,549,650,960,878,583,959,1120,752,807,679,1280,1272,1078,987,941,555,803,744,409,382,690,1390,1206,828,1744,1874,1388,1130,738,463,421,511,783,943,888,803,513,432,415,504,592,685,825,1116,1350,1538,1584,1448,1530,1614,1386,1021,682,482,498,600,894,1026,630,402,350,317,342,343,346,371,475,595,636,477,531,567,607,479,500,939,941,806,966,589,589,875,1032,1150,843,474,802,1162,1078,1440,1606,1178,565,364,629,966,725,1096,836,476,349,372,307,302,323,435,680,1009,1170,605,1028,961,695,547,620,884,763,442,364,289,268,260,272,446,724,455,365,495,577,482,410,689,1032,1136,1154,946,1042,1598,1520,1250,625,456,736,896,581,447,476,477,377,344,406,339,427,509,535,478,497,427,503,743,627,702,729,450,396,375,375,332,337,332,350,369,266,302,329,328,395,395,428,422,319,351,360,436,352,305,281,258,239,238,262,322,395,318,257,247,300,666,730,352,222,241,248,283,271,277,297,250,256,269,298,381,444,434,364,339,390,502,620,666,495,468,752,805,474,311,299,318,321,458,657,628,385,232,220,290,239,234,280,557,457,325,312,629,714,522,507,445,419,357,365,478,631,595,346,332,373,378,326,340,317,440,584,391,700,1054,796,581,1028,1484,1420,1300,995,825,870,877,985,832,780,983,752,440,300,480,654,519,336,379,577,792,907,985,832,965,702,785,576,345,391,632,957,1464,2392,2232,1046,586,556,812,961,1396,1604,1594,1492,1348,921,586,823,1104,932,922,1146,1286,880,615,686,727,599,440,410,389,346],[421,341,489,437,682,843,597,478,326,661,1194,835,430,310,294,412,531,722,702,502,444,463,552,658,831,1026,910,915,695,595,654,605,430,378,364,389,412,413,452,490,546,529,499,487,466,520,539,489,540,650,626,753,877,617,454,356,529,869,624,350,351,416,451,447,411,309,240,262,357,402,422,392,305,270,309,381,391,373,383,511,525,378,473,475,493,494,455,505,659,606,396,409,564,437,311,352,318,325,317,296,279,269,243,223,233,237,238,239,233,236,249,258,267,272,273,290,308,361,378,342,371,398,378,525,510,437,427,412,450,530,551,485,574,648,708,806,856,822,730,737,623,631,437,476,556,405,709,1032,1026,941,795,692,608,669,824,797,673,499,403,365,321,312,328,334,349,392,327,282,303,313,459,677,874,935,1009,1278,940,503,469,557,751,593,440,410,423,687,490,869,1366,1476,1582,1414,1194,1278,1192,1090,885,627,658,562,908,1248,965,1017,1366,1254,1288,1636,1626,1018,537,718,704,402,432,379,271,319,410,492,572,609,671,724,716,966,1118,1428,1688,1736,1198,940,965,959,1004,1056,1022,995,989,1290,1434,1370,1486,1130,1230,1500,1510,1460,1440,1312,1126,1072,1096,951,971,895,673,530,475,450,343,496,866,898,637,711,949,843,808,669,596,798,782,743,752,729,708,975,972,529,716,1114,1436,1130,515,465,523,458,360,370,517,602,475,358,633,1274,836,544,412,318,272,245,279,285,262,439,882,915,533,756,1212,1354,1358,1492,1584,1270,687,420,361,343,335,252,312,354,397,417,434,395,317,303,354,896,1366,1160,762,744,1020,1005,1068,1276,1296,1180,1116,863,670,915,924,807,1122,1276,1266,1096,1144,1232,1422,1036,1090,1338,1382,1662,1802,1442,1342,1120,794,594,508,522,591,643,669,466,460,555,550,609,627,825,1290,1072,871,985,630,1220,1450,951,804,1164,1748,1952,1328,754,670,582,615,819,846,888,871,823,772,818,833,779,692,453,384,396,355,360,461,526,435,381,410,402,340,343,377,372,372,404,438,450,646,754,762,742,564,380,516,932,839,659,911,868,573,354,319,272,307,336,380,473,529,584,428,360,463,549,619,514,480,568,529,636,813,1012,1028,696,322,318,301,354,403,336,344,381,537,691,691,561,487,457,439,678,894,930,1064,1362,1318,1312,1690,1388,1216,1074,1172,1258,1164,1266,844,658,581,387,435,391,294,385,854,890,756,910,1168,1264,1424,1486,1316,800,912,970,512,340,295,322,800,854,982,1310,1370,1376,1212,887,605,567,459,596,469,593,612,550,656,761,1148,1488,1378,943,511,388,626,703,775,833,931,1274,1466,1466,1302,1286,1078,671,510,803,929,463,531,747,918,891,625,599,557,608,680,562,576,532,492,449,457,393,339,345,357,584,908,1036,997,514,440,431,517,929,1428,1040,877,1132,1284,1138,776,705,886,1328,1478,1472,1506,1304,1160,1302,1060,1010,599,355,498,780,1134,1200,1114,1110,1074,1018,1080,1246,1592,2402,1842,1120,858,911,1017,830,892,1052,1042,1220,1300,1462,1310,1300,1214,1036,960,841,1082,1170,1152,1120,1368,1126,1018,485,437,746,699,585,536,549,617,692,861,745,426,295,472,532,1000,871,769,590,309,284,250,305,327,382,572,644,702,625,583,604,607,451,382,372,418,520,568,478,448,390,303,344,467,544,451,515,647,628,551,513,413,485,540,434,434,454,448,409,417,464,430,415,423,402,393,401,439,452,428,362,375,466,512,530,491,641,692,561,588,620,847,904,739,705,602,539,546,517,851,1013,775,647,606,487,518,589,779,838,908,727,602,606,581,584,608,547,450,429,443,452,426,442,630,860,710,523,532,666,875,977,1144,1302,1012,839,1004,1136,721,655,1003,1142,1212,897,675,687,741,984,1092,1084,1096,1108,1178,768,960,1238,1462,1048,628,912,1090,883,838,993,1104,1272,1210,968,624,613,1092,1070,1202,1428,1220,1258,849,443,397,429,440,350,405,491,421,343,383,453,474,540,810,1102,1322,1284,1076,937,940,968,1072,908,1060,1350,1300,1342,1364,1198,1180,1158,1132,976,987,941,902,1064,1132,986,1004,1114,1146,709,680,991,1524,1396,973,849,725,644,799,824,711,734,869,1074,1204,893,705,634,557,514,519,560,980,1190,847,927,1312,1280,1086,721,831,791,877,726,993,1094,1078,1056,905,770,894,1136,1430,1336,1234,1178,1026,814,456,449,477,306,474,764,717,457,332,267,368,565,608,481,425,424,410,407,407,407,397,380,424,414,398,395,398,411,401,393,385,386,390,395,408,384,396,362,335,324,315,303,296,299,296,290,303,339,338,296,306,323,305,310,320,328,332,365,354,325,300,291,270,263,289,270,302,322,350,348,348,334,327,337,343,357,346,314,307,289,281,290,312,304,280,275,296,292,291,311,501,847,840,556,307,302,317,322,333,453,644,492,346,316,318,326,422,490,458,446,419,387,332,316,321,316,320,348,370,365,349,378,406,396,419,396,337,314,330,330,320,346,366,384,403,385,408,447,512,700,874,1124,1180,986,1038,1302,1476,1462,1166,906,718,749,783,669,604,558,577,713,659,432,397,470,595,673,655,847,1124,1460,1650,1670,1736,1674,1450,1208,1096,1230,1478,1414,1482,1542,1456,1284,1332,1360,1338,1322,1334,1316,1390,1514,1344,1332,1362,1180,1164,1158,1126,1384,1704,1698,1642,1708,1752,1810,1550,1388,1592,1470,1224,1212,1288,1350,1100,705,616,799,1152,1490,1588,1376,1030,848,997,1038,1366,1516,1492,1526,1476,1296,1112,1328,1594,1572,1474,1100,758,417,336,337,464,661,779,675,532,458,494,445,323,323,329,340,327,351,366,358,329,307,310,327,351,381,327,325,409,388,301,245,254,249,249,258,263,272,312,397,399,327,317,317,322,310,320,365,424,554,790,952,1074,1370,1360,931,947,1006,823,823,1142,939,529,742,834,594,958,1410,846,449,666,683,454,393,390,481,484,417,361,371,475,559,666,910,681,816,1312,1015,706,634,782,901,735,502,442,469,630,732,506,364,536,617,604,895,1192,824,449,406,449,603,789,708,705,802,650,491,500,681,548,437,630,952,903,584,615,728,630,959,1244,1180,702,452,385,484,488,467,483,527,574,686,929,1046,741,958,1042,1252,1686,2122,1476,599,526,826,909,654,450,440,678,842,975,1168,1240,1450,1376,1306,1798,1694,971,720,749,1116,1366,1414,1072,963,881,548,409,547,1094,527,561,805,836,694,573,543,437,381,735,1250,958,752,842,601,350,544,541,402,611,901,1224,904,584,846,1328,1556,1418,1360,1362,1174,1312,1532,1176,982,1021,1246,1452,1018,550,722,1028,1282,1578,1422,1094,796,468,377,548,640,779,1140,791,476,651,792,647,449,756,827,775,532,693,1106,1020,903,670,473,451,601,725,489,334,503,1186,1196,1040,935,1168,865,824,1244,1090,566,756,784,519,447,711,1160,913,772,1238,1296,1246,918,526,401,430,686,988,955,918,1080,1188,780,673,767,1011,1308,1534,1606,1600,1470,1174,1011,1017,1390,1576,1406,964,588,491,378,477,579,444,394,398,339,345,344,361,355,370,374,376,375,471,662,946,773,600,897,723,615,598,375,462,602,989,1226,814,457,1015,1316,1202,1310,1124,747,385,389,883,808,596,1218,1378,903,516,305,318,509,769,1048,950,922,971,488,977,1048,1013,830,780,1110,800,356,351,277,228,243,332,672,711,439,279,376,490,529,579,901,949,871,865,814,863,1494,1686,943,666,547,508,547,405,381,488,493,297,381,340,392,390,414,459,489,413,400,449,777,813,719,721,481,438,415,389,381,318,264,341,422,404,471,433,394,413,345,340,398,493,437,479,534,396,340,311,259,269,310,306,301,319,319,272,290,316,449,529,340,210,233,236,255,236,221,234,213,476,742,678,521,678,803,1000,1218,1350,1080,658,778,655,378,771,773,418,320,300,295,343,445,542,717,650,365,301,264,212,212,269,287,275,283,361,648,904,910,689,451,424,339,328,436,482,380,315,323,331,314,291,287,273,355,357,326,708,919,713,789,1086,1220,1220,1252,1140,1088,1260,679,451,522,481,835,1108,689,548,738,680,625,371,371,394,521,623,681,770,890,786,497,432,425,419,648,972,1072,1500,1246,1054,830,850,1070,1306,1440,1578,1462,1424,1350,1162,1020,918,1106,1184,1100,1166,1258,1112,1040,885,568,473,414,439,419,361],[466,289,277,416,940,1036,595,655,396,617,1224,1158,834,706,532,553,828,1182,1248,1010,658,615,510,603,1013,1106,1102,1120,778,600,623,529,371,341,374,399,389,332,344,350,454,472,453,456,449,487,611,673,705,782,599,678,737,704,587,509,636,1014,988,664,290,377,506,434,325,315,313,323,380,438,436,331,263,292,318,357,359,404,358,438,483,379,457,554,574,570,559,587,613,486,419,457,544,405,403,459,371,300,287,311,316,291,258,220,221,226,230,228,231,239,246,256,269,283,292,305,308,302,354,480,428,324,320,301,439,367,322,370,485,580,541,519,541,604,631,705,788,744,672,711,849,804,506,651,880,903,851,788,592,644,1096,1298,894,596,621,797,664,433,395,455,558,593,463,369,366,371,336,327,312,276,451,699,861,740,812,1368,1128,666,343,389,764,843,511,295,304,511,697,987,1244,1406,1354,1032,1092,1390,1264,1200,1154,736,621,670,871,1114,1000,1023,1214,1158,1198,1066,1282,1034,594,324,246,250,410,359,230,315,590,954,1016,1086,1164,1204,929,1238,1540,1772,1612,1396,1362,1296,1202,897,979,1052,1100,1032,644,884,1248,1384,1404,1094,940,1438,1502,1348,1374,1254,942,1058,1192,1186,1142,968,974,732,464,496,389,317,604,944,943,952,926,655,669,690,702,716,690,648,572,404,511,660,548,683,941,1204,1522,1328,948,927,951,860,833,808,705,933,861,745,697,1090,832,425,246,248,273,284,292,286,307,460,839,875,621,618,796,1028,1200,1436,1542,1200,748,618,442,376,321,318,296,350,385,415,414,397,333,289,480,833,848,1104,1142,1086,896,976,1252,1242,1136,977,780,667,696,764,879,1114,1444,1374,1290,1132,1022,1188,1200,1242,1492,1416,1252,1402,1350,1460,1870,1854,1304,516,502,568,618,621,601,473,455,550,624,670,708,1034,1316,1284,1094,1096,836,1290,1710,1118,788,1306,1978,1644,885,615,643,633,513,542,659,756,753,727,758,795,748,624,627,428,346,316,317,379,493,634,572,431,378,409,386,352,398,375,395,402,410,394,383,582,664,592,496,408,461,621,576,688,667,713,689,482,375,356,350,347,382,411,507,656,472,395,365,355,462,455,415,458,552,521,619,854,932,692,330,245,242,401,605,588,472,948,1294,1310,1520,1264,713,467,662,787,544,514,825,1062,1592,1926,1688,1300,1306,1316,1616,1930,1394,1015,546,767,874,486,333,361,338,356,602,798,767,1076,1450,1412,1412,1324,1112,987,729,628,369,237,258,309,800,1042,882,1144,1150,815,783,1198,1015,686,698,725,770,814,838,1132,1216,1166,1410,1174,1024,1204,796,708,765,541,663,755,760,825,1064,1208,1018,717,382,458,651,940,901,490,589,703,659,564,564,804,1056,993,627,463,473,469,449,419,440,391,285,272,311,588,985,899,667,380,422,450,495,1046,1572,1058,712,849,1218,1134,589,816,1298,1594,1242,1228,1418,1182,1070,934,902,922,524,368,607,988,969,1070,1312,1560,1372,1134,901,943,1154,1448,1326,861,569,584,507,550,637,675,961,1296,1354,1202,943,943,786,778,719,686,1178,951,983,951,1186,1056,786,596,714,759,658,538,562,637,528,603,943,875,642,576,604,651,928,1010,1094,686,321,297,322,372,368,466,496,536,459,441,531,653,574,474,383,325,401,435,453,586,509,361,322,354,372,406,435,605,750,664,622,709,552,627,910,610,444,684,567,380,439,475,389,372,391,383,360,354,387,397,457,383,379,463,487,485,498,589,560,464,493,606,781,834,632,532,516,479,512,567,680,816,883,725,502,497,567,610,647,749,785,622,604,596,492,484,473,470,393,404,424,394,395,439,780,1100,1096,1064,912,823,854,1012,1232,1870,1676,1584,1126,721,521,442,618,1022,1070,957,866,635,805,792,908,840,943,1362,1244,1028,991,1124,1294,960,1024,1148,1216,971,880,1042,903,999,1126,1198,984,745,985,1170,1260,1386,1330,1184,866,419,370,803,717,455,544,500,316,322,331,415,541,479,494,840,1274,1102,1008,971,677,595,820,780,850,1112,1508,1506,1308,1204,1106,1378,1528,1007,789,877,882,1021,1124,916,954,1504,1368,709,692,708,1021,1100,990,904,610,466,520,634,754,832,821,999,1062,755,673,594,500,551,655,834,1144,1388,1418,1218,990,1150,1110,1054,1100,1142,1152,964,1046,1162,1172,1132,839,574,727,1003,1070,944,1038,988,816,784,627,357,325,346,647,1030,979,749,411,323,410,571,565,454,400,380,373,390,391,400,411,397,397,390,390,393,393,395,403,403,391,386,391,403,412,386,391,366,341,320,300,294,301,304,302,308,309,319,321,300,317,325,306,304,320,339,380,404,347,308,295,277,260,255,273,282,308,352,375,372,366,342,344,321,313,324,328,296,309,299,284,313,323,310,291,282,314,311,300,375,683,823,803,498,293,322,340,322,326,549,599,334,332,314,320,332,403,428,374,406,373,354,346,330,315,327,345,354,395,492,469,409,476,502,443,361,318,330,348,348,338,354,359,386,397,351,433,591,688,828,1186,1280,1132,1190,1372,1448,1308,1010,750,733,652,579,520,544,568,536,604,787,726,528,598,737,855,1016,1120,1288,1448,1542,1476,1470,1410,1152,1066,1294,1310,1300,1548,1424,1330,1264,1342,1102,1080,1096,1218,1352,1310,1250,1262,1316,1266,1410,1260,1300,1490,1334,1170,1584,1904,1710,1770,1768,1652,1584,1692,1798,1608,1478,1338,1376,1354,1302,1284,1158,948,1216,1498,1588,1400,1136,1470,1154,1376,1426,1402,1398,1446,1460,1424,1294,1106,1266,1438,1450,1312,927,785,803,637,359,753,1066,786,512,462,435,477,551,384,336,335,315,317,325,325,333,327,303,325,340,327,387,359,349,305,263,250,250,266,305,309,277,277,290,344,445,403,329,327,323,313,298,293,348,417,476,620,820,1040,1386,1482,1254,1232,1454,1136,772,818,841,647,446,583,545,854,1298,876,492,577,615,486,387,401,462,523,473,489,617,891,997,992,787,816,946,1086,1006,811,620,778,965,846,572,512,495,673,752,573,517,786,723,647,782,583,341,521,610,688,866,960,794,827,974,817,645,536,567,591,550,792,1024,623,622,630,539,705,868,1076,813,555,464,443,479,502,641,867,1018,530,612,807,821,703,823,847,1086,1484,1636,1118,567,631,897,1110,1168,670,469,813,714,724,909,1062,1252,1158,1140,1598,1336,1026,1228,1014,1084,1356,1368,1154,1266,1084,724,283,1604,3774,928,493,741,743,579,579,771,642,405,638,1038,970,710,777,681,369,469,538,590,1034,1300,1306,931,1032,1302,1324,1400,1292,1394,1310,1280,1414,1400,1234,1140,1224,1454,1374,872,563,700,780,860,1140,1005,1088,1066,861,651,1098,1354,1362,1226,907,1040,1302,1132,889,532,498,705,1296,1284,1372,1570,1116,814,708,530,524,507,384,326,419,550,1432,1282,873,716,647,592,730,1042,948,707,955,691,533,570,1005,1070,984,1116,1032,991,1140,822,386,355,356,630,1076,888,758,1168,1494,1424,1382,1508,1686,1632,1368,1238,1356,1174,1208,1238,1013,975,1286,1500,1398,1023,660,482,467,431,397,434,406,341,350,383,384,347,372,369,439,395,371,507,594,547,609,886,1044,819,419,314,345,466,941,1132,825,1009,1476,1074,1080,1010,661,430,380,318,688,572,785,1440,1652,1460,1028,491,699,1001,1004,886,938,848,642,578,788,799,1110,978,538,739,612,381,421,447,338,350,534,972,802,380,256,331,510,589,789,1088,1064,965,885,747,1158,1604,1108,560,651,621,437,394,320,298,349,295,322,364,372,442,419,435,405,387,382,437,510,725,758,811,746,557,463,461,477,440,351,419,604,604,582,609,506,366,342,342,355,418,617,534,489,535,440,343,292,264,309,389,434,335,291,329,301,320,338,332,364,339,244,232,237,220,215,222,268,315,816,928,606,662,824,896,892,1302,2518,1498,696,993,1088,522,356,595,858,743,319,404,593,588,626,731,623,352,274,246,270,437,528,349,346,365,403,491,867,955,626,543,427,321,302,317,311,290,274,253,268,382,391,280,241,276,329,309,504,866,1106,1078,973,1082,1230,1322,944,882,780,377,384,823,953,1114,1286,1086,1020,969,564,926,512,510,557,728,600,541,639,963,939,418,344,325,391,621,861,708,741,873,909,827,778,1052,1374,1426,1512,1684,2522,1488,1005,915,641,715,862,803,714,912,1034,1098,869,682,647,430,396,394,348],[543,347,277,378,572,500,387,594,581,846,1132,1094,1254,1086,776,1120,1006,1140,1340,1240,550,367,308,550,979,810,702,725,586,478,456,425,384,366,406,370,338,353,337,351,420,443,451,456,457,509,650,634,769,795,588,662,572,520,488,418,637,901,969,954,527,391,621,444,274,305,328,361,378,410,444,334,297,339,339,334,359,381,301,328,454,513,572,619,634,653,677,694,645,477,527,582,645,623,592,565,453,339,354,442,472,400,278,246,224,228,223,228,236,246,257,264,276,290,303,336,427,397,411,412,348,336,364,458,532,407,311,380,530,545,512,516,476,558,561,628,610,579,680,901,1026,850,574,670,824,893,632,518,527,850,1328,1346,906,521,486,626,752,954,778,675,707,715,688,512,356,329,333,333,392,414,368,537,851,751,869,1212,1036,660,395,468,833,838,464,280,259,338,606,929,1196,1236,1434,1522,1310,1348,1230,1410,1252,797,963,1064,884,901,1090,1310,982,1064,1514,1156,1208,1294,740,319,275,237,269,285,227,282,459,667,963,1300,1148,1114,810,944,1278,1172,962,1188,1474,1228,1088,1204,1036,955,927,711,452,644,1064,1256,1346,1188,896,1084,1526,1572,1478,1184,1110,1370,1334,1196,1070,1068,1092,954,641,544,453,336,730,1054,990,775,797,824,640,556,640,644,648,665,681,603,943,1138,738,1048,1042,879,1328,1504,1306,1366,1310,1218,1132,827,799,1356,1234,1042,937,626,488,555,444,303,257,317,327,284,305,442,848,877,753,681,625,904,1132,1202,1310,1160,973,1132,574,345,286,318,328,337,364,383,388,406,385,385,643,653,502,835,1278,1194,894,1044,1360,1474,1342,909,771,705,723,480,667,1288,1556,1338,1338,1194,946,1166,1286,1338,1408,1266,1126,1188,1196,1492,1508,1302,750,451,473,535,572,605,580,518,447,480,565,585,645,1288,1224,966,928,1084,1108,1448,1614,1094,697,1268,1882,1248,585,423,431,497,446,439,630,771,681,645,680,688,630,551,501,352,292,284,309,505,720,620,487,376,362,410,383,305,349,392,453,421,385,376,322,318,385,420,336,355,355,464,677,736,608,653,456,326,403,381,377,428,416,435,590,611,437,368,377,346,334,317,283,353,445,401,403,410,491,478,302,224,240,531,1194,1180,680,937,1130,1316,1854,1644,870,520,714,944,641,509,623,832,1210,1220,982,1136,1588,1664,1766,1742,1366,580,435,988,1282,622,332,385,385,331,412,661,940,1238,1226,1256,1190,1007,958,923,531,393,344,274,289,455,862,985,693,979,1122,818,592,798,1112,960,987,1246,1278,1238,1122,969,1112,1116,1064,1060,1013,801,547,485,350,372,570,667,788,860,800,768,833,592,398,335,541,800,950,609,576,851,785,643,645,883,1472,1586,1020,473,287,356,407,438,473,422,395,385,365,285,481,582,604,530,487,500,585,1246,1638,1282,1156,932,1030,1144,875,1554,1284,1228,1278,1354,1252,1007,893,890,840,716,453,453,788,1023,865,913,1312,1430,1394,1224,1018,871,821,799,792,453,356,397,546,560,684,892,1132,1296,1308,1242,1180,843,780,1122,1066,822,1092,1110,1110,1090,1160,1262,997,847,876,680,815,1132,802,642,501,505,709,965,833,689,793,911,803,869,893,455,324,338,390,404,570,583,533,540,448,392,472,549,590,647,725,712,617,470,477,584,418,308,368,365,382,416,451,554,560,540,550,705,615,533,1268,895,716,781,477,370,465,430,388,405,390,373,364,375,368,373,421,424,405,358,352,403,537,598,517,403,515,628,689,660,523,485,451,397,459,594,621,549,566,631,526,536,590,619,542,504,584,644,568,527,452,450,448,445,412,416,395,399,395,524,1772,2434,1366,1260,1346,1290,883,1068,1666,2188,1852,1678,1440,881,524,486,487,554,756,1224,1186,916,871,832,936,880,843,1252,1440,1394,1218,897,1013,1262,1468,1200,1092,1168,1082,1040,752,852,981,975,1116,1294,1350,1304,1338,1284,1650,1366,1112,674,374,752,808,631,659,623,435,335,329,425,488,406,537,891,1130,1122,1200,1080,783,1002,1192,927,1050,889,753,882,930,1122,1218,1562,1344,824,891,1172,1014,1030,1134,791,810,1144,949,936,1096,930,944,999,1312,1194,548,432,418,525,1026,1290,1122,1040,782,542,560,647,645,740,970,994,978,1410,1830,1554,988,833,579,579,619,672,794,984,1222,1240,1044,924,816,807,793,1116,1054,973,883,889,1152,1076,970,463,380,600,896,1060,1002,872,626,450,479,577,485,412,372,362,381,375,352,375,404,397,388,386,383,378,382,386,395,398,393,386,400,397,391,373,376,345,305,278,270,293,303,317,337,322,309,305,308,300,308,315,318,309,312,333,330,327,303,295,281,265,263,256,268,285,325,360,354,361,368,352,331,315,296,286,307,309,314,290,288,315,308,307,312,298,315,302,318,316,412,807,765,377,309,318,340,336,341,532,627,379,341,322,324,311,319,363,365,333,308,329,380,389,325,368,503,572,557,581,543,516,542,533,477,394,333,336,330,333,330,338,358,369,396,410,568,786,954,1240,1272,1182,1380,1544,1426,1140,826,697,695,636,604,536,529,651,636,594,693,793,806,930,1152,1296,1422,1470,1568,1700,1776,1686,1474,1344,1382,1364,1308,1388,1272,1018,913,744,673,564,867,1228,1056,790,800,838,1144,1046,1054,1021,1312,1466,1256,1232,1034,982,1198,1430,1614,1532,1572,1460,1698,1660,1776,1814,1740,1620,1504,1462,1544,1524,1544,1480,1514,1708,1686,1592,1120,1106,1498,1338,1194,1422,1602,1426,1322,1282,1178,1136,1356,1450,1390,1578,1604,1250,1096,1272,852,396,530,745,933,592,393,335,311,400,345,313,333,354,347,341,345,368,383,397,415,407,379,404,368,343,325,290,280,275,298,337,318,279,280,343,385,421,374,329,324,325,327,313,317,336,366,387,552,778,969,1542,1650,1286,995,1208,1158,648,672,1120,638,400,461,413,602,659,468,437,469,495,466,397,432,582,547,553,709,1108,1382,1446,1420,1116,938,924,839,860,972,604,765,1072,992,623,445,476,646,727,635,494,536,633,743,807,658,493,645,724,828,808,843,818,714,982,1007,849,612,369,414,524,656,890,1066,763,455,515,576,474,523,607,602,447,387,415,476,750,849,986,491,569,620,794,875,689,501,532,467,512,395,343,524,833,879,1122,731,781,1102,958,972,1064,1028,910,833,754,1140,1080,1324,1498,1250,1272,1322,1296,1316,1452,1402,1116,706,764,839,831,600,785,952,672,628,944,850,522,656,1186,1018,496,383,345,345,366,444,745,1024,1198,1436,1272,1212,1350,1126,1152,1328,1320,1196,1322,1170,1144,1208,1300,1438,1396,1222,996,797,638,534,752,948,984,1090,1082,1246,1284,1174,1148,1128,774,677,997,1342,968,612,495,801,842,1152,1186,1412,1460,1080,887,633,544,361,285,283,413,364,702,1162,1466,1170,459,304,405,643,935,763,702,1042,1102,791,940,1112,980,1272,1266,1158,1218,968,816,664,604,446,626,1062,797,603,1128,1542,1660,1582,1424,1260,1096,850,664,763,490,584,1192,1220,890,924,1236,1526,1472,1152,728,456,405,447,464,368,345,348,352,342,332,341,387,427,429,606,768,549,416,528,903,1032,774,480,385,363,642,987,673,587,771,1048,1256,1256,898,626,471,305,244,335,301,401,797,1288,1412,1234,1120,1074,1010,882,835,1048,756,671,875,943,1098,1246,1152,849,758,905,921,894,982,881,798,934,921,504,363,417,622,1176,769,1040,1742,1874,1146,923,956,1420,1300,797,649,646,597,409,408,427,303,269,327,365,346,401,454,514,473,383,385,504,627,616,694,447,370,601,578,515,481,479,445,410,565,713,637,627,542,371,360,361,433,504,527,659,513,383,359,361,337,274,274,269,287,365,339,347,435,460,388,313,297,300,303,263,237,265,231,250,314,388,394,706,669,473,583,789,715,600,880,1858,1214,1003,1140,1158,740,574,852,1019,789,409,618,1076,1138,900,720,722,492,257,271,321,670,780,470,535,454,337,299,497,582,410,355,317,316,299,275,277,284,291,263,318,572,556,360,279,257,271,312,552,788,863,989,1019,1268,1252,1228,811,738,694,615,632,1062,1228,1058,1013,1250,1230,1046,946,1316,689,686,1004,1062,689,625,670,800,706,331,285,265,316,318,318,456,669,691,418,397,438,668,990,1286,1504,1522,1674,1320,745,459,451,530,716,668,631,708,878,1194,1032,713,573,442,373,352,286],[785,639,304,292,318,304,314,491,678,944,1248,1228,1134,1011,886,739,761,1144,1324,1070,506,337,353,541,777,683,498,482,464,486,638,548,424,462,487,401,354,370,314,326,374,426,429,456,527,588,740,901,903,720,488,473,423,336,317,330,371,409,546,675,899,680,707,475,319,361,367,348,379,465,473,363,368,347,393,399,437,374,283,328,413,576,688,626,622,698,735,711,594,516,579,664,728,731,667,616,508,394,467,500,498,420,263,263,241,231,228,237,247,262,274,277,287,315,383,579,759,685,600,463,420,424,419,505,505,386,324,396,565,528,478,423,440,519,564,623,636,579,931,1202,1040,921,808,677,505,497,545,577,559,847,1132,1344,1110,631,469,497,952,1710,1048,811,705,653,699,699,536,396,333,300,330,356,412,724,965,695,1054,1058,770,690,740,961,1074,881,403,299,329,298,393,522,737,886,1282,1824,1440,931,1104,1470,1064,1076,1466,1394,1122,880,1204,1504,1160,1548,1596,1222,1320,1300,705,298,278,276,342,379,321,277,451,655,949,1184,1260,1182,844,655,1011,1280,1222,1286,1570,1196,1562,1426,913,868,910,759,502,664,1212,1282,1276,1312,1638,1426,1476,1472,1458,1252,1392,1534,1362,1158,1212,1064,830,1228,1106,1260,908,468,700,1023,1100,1088,1068,809,724,548,584,519,625,719,799,613,968,1280,1116,1232,1192,1324,1682,1598,1316,1284,1284,1188,1036,839,741,885,913,1140,969,492,855,1288,859,314,258,316,327,263,267,634,978,948,1011,785,565,779,1094,1304,1308,1270,1146,1106,622,310,360,519,452,357,334,355,353,429,368,615,1100,1050,805,748,1072,1104,1100,1284,1244,1358,1136,1060,1170,1015,1198,1052,1292,1498,1540,1402,1448,1316,1268,1420,1478,1532,1180,1080,1224,1170,1232,1444,1278,1038,635,438,524,616,680,686,608,470,458,537,553,525,475,529,588,703,836,1214,1114,1174,1202,1318,946,1400,1510,994,595,444,458,519,493,420,572,580,483,466,456,438,507,567,410,280,284,331,382,586,815,564,534,501,526,393,332,303,306,366,392,410,494,477,351,254,280,351,308,254,240,383,548,534,631,666,520,391,357,354,368,440,458,424,524,483,383,389,386,396,408,367,345,342,334,280,288,333,344,454,412,290,248,352,609,778,799,849,851,507,666,899,699,484,472,580,528,646,1186,1970,2238,1662,678,1100,1384,1248,1742,1760,1302,566,320,625,849,535,337,391,397,346,397,544,805,782,1002,1120,1052,1128,863,423,316,402,434,348,437,679,1086,962,717,865,949,1090,1108,823,1016,1394,1450,1526,1276,1408,1290,801,935,803,585,579,421,283,254,290,310,397,559,660,982,797,525,410,450,431,486,640,749,554,468,502,701,774,946,1080,1002,1246,1894,1912,1122,466,299,337,378,414,452,438,523,437,393,327,394,432,445,490,490,521,526,1018,1484,1166,813,535,944,1326,1300,1464,1060,667,977,1019,593,396,448,926,1412,1128,789,907,1048,895,903,867,945,1356,1406,1182,1146,830,721,460,452,352,343,337,682,782,792,890,1108,1236,1128,1148,1154,699,675,1054,1052,1096,1184,922,972,1130,1068,920,757,760,576,440,702,1036,940,791,480,390,625,880,744,680,966,1160,1170,1070,833,478,392,428,469,530,664,533,487,485,400,396,448,479,536,548,905,1302,1042,574,408,392,278,316,382,372,361,398,565,557,462,479,549,611,509,412,396,493,812,775,472,376,422,401,413,406,420,423,391,387,399,434,547,575,431,343,327,351,432,425,526,528,625,668,633,523,486,506,448,371,419,621,576,548,577,623,573,546,557,521,506,536,536,487,430,465,448,423,405,410,408,401,372,403,389,1368,4120,4460,1930,1312,1216,1262,990,1158,1864,2564,1930,1552,1578,1010,658,618,513,572,915,1238,1172,1268,1324,1328,964,1158,1334,1308,1444,1574,1408,1408,1384,1021,1172,1166,1128,1442,1396,1152,972,803,778,778,862,1212,1420,1024,1242,1360,1462,980,924,719,682,907,768,614,496,443,336,329,414,418,391,417,703,1012,945,836,962,859,791,1202,1144,892,932,780,946,1050,1050,1162,1196,1072,1048,960,1106,1418,1686,1578,1108,802,1088,1172,1152,1290,1370,1354,1098,637,835,769,516,509,480,454,694,769,819,853,827,684,710,865,680,709,908,689,611,1004,1250,796,655,541,342,453,499,786,1502,1170,1070,1034,1038,1136,1240,1446,1338,989,817,989,965,994,1186,1296,1216,762,541,778,1074,1062,908,833,817,687,601,549,435,398,371,379,364,338,372,374,383,404,407,398,357,329,347,375,390,400,393,388,383,358,350,355,339,301,278,260,253,266,278,299,303,300,303,307,302,302,308,304,310,315,316,301,277,265,269,275,268,257,240,265,291,299,309,301,322,309,276,289,308,316,282,272,313,314,297,282,274,289,298,300,326,320,321,289,285,287,505,938,639,302,323,321,319,365,562,762,599,380,332,308,315,296,289,327,379,430,351,315,337,368,342,398,556,605,553,518,547,579,553,483,410,388,345,332,312,330,357,340,358,372,416,586,772,976,1490,1804,1566,1600,1544,1256,880,657,708,739,695,543,589,729,727,795,840,913,1068,1200,1378,1462,1422,1490,1540,1604,1760,1694,1520,1410,1474,1532,1498,1318,1308,1344,1130,624,373,397,429,423,693,1194,1060,949,1086,893,1056,955,870,882,1082,896,726,894,1112,1100,1104,918,1312,1648,1606,1348,1668,1600,1588,1766,1876,1806,1736,1644,1690,1558,1308,1054,1218,1548,1650,1482,980,882,1172,1172,1070,1572,2030,1714,1184,1082,1192,1182,1294,1386,1514,1536,1498,1428,1476,1402,926,549,487,498,785,543,403,369,323,297,296,325,358,377,404,450,406,425,551,683,679,580,468,430,399,346,306,297,295,276,290,292,285,254,375,530,535,423,343,307,292,291,315,354,423,355,355,447,593,561,702,1232,1460,1138,768,726,664,482,640,987,477,411,464,440,431,385,466,722,816,520,450,496,673,983,720,1048,746,904,1208,1652,1486,963,840,1018,988,930,1058,674,797,1015,966,622,416,469,666,706,486,368,382,463,1000,1368,880,696,596,809,1190,1050,792,653,508,628,1172,1376,754,342,450,666,803,875,1136,815,507,646,725,634,735,653,514,588,587,414,337,673,557,328,367,497,478,550,739,628,611,700,379,321,247,277,293,301,440,773,714,842,877,813,1082,1100,999,904,828,593,805,1178,1276,1272,1334,1394,1404,1478,1436,1500,1440,1266,1021,1014,1572,1524,997,904,869,641,544,864,1096,1036,901,1242,869,534,595,591,623,823,847,672,736,890,980,1290,1266,1278,1164,1220,1280,1226,1266,1400,1338,1346,1346,1076,915,1262,1436,1184,803,748,752,825,891,894,943,1122,1418,1230,845,989,871,594,835,928,933,714,516,539,799,890,1052,1196,1192,1056,1312,1242,678,610,325,281,328,366,335,833,1168,1246,812,317,329,514,753,937,820,642,932,1114,853,1138,1122,668,712,910,1094,1114,1064,974,816,728,639,640,725,714,929,1482,1724,1500,1256,1150,1408,1492,1268,932,835,664,788,1160,1342,1252,843,916,1186,1514,1488,1198,735,482,451,484,416,364,351,340,324,335,348,348,405,585,708,929,562,448,538,684,610,574,532,361,329,522,733,426,612,996,1238,1476,1178,681,518,359,291,275,306,370,309,366,829,1046,1210,1330,1064,922,920,851,821,836,913,941,776,1015,1256,1520,1506,1218,1362,1378,1378,1444,1388,1136,1064,959,573,388,583,1358,1818,829,739,1510,1600,900,836,1362,1432,1056,1142,912,785,700,340,388,413,274,259,344,318,369,411,495,576,500,449,456,478,537,609,482,302,281,517,665,597,512,531,503,517,528,491,588,639,520,390,386,706,1704,1552,724,733,464,398,291,350,452,409,381,305,264,242,280,354,362,393,542,539,393,340,313,368,344,339,325,322,371,391,496,754,583,504,554,639,550,508,468,727,803,1026,792,503,589,822,954,1021,873,678,773,747,619,506,631,865,639,379,533,666,737,655,320,384,345,387,412,407,563,557,303,309,262,267,290,269,280,398,290,281,419,440,397,323,265,260,355,710,988,845,1152,1286,1238,975,1098,1007,977,1128,1000,619,685,711,775,561,957,1390,1288,1704,1676,1058,897,1230,1264,780,805,905,869,496,327,281,275,282,270,262,463,800,677,388,316,305,340,445,899,1340,1316,1062,913,531,341,386,348,384,584,546,621,1292,1374,928,651,564,466,381,342,300],[616,427,341,323,339,343,287,450,612,725,1054,949,685,822,992,863,1136,1044,908,637,500,560,469,487,725,629,696,513,434,525,1028,1104,857,667,687,541,375,367,353,371,425,483,499,544,622,650,677,646,618,504,372,367,358,332,330,313,350,392,384,440,963,1098,777,391,354,423,400,299,305,352,323,349,414,563,710,563,475,432,368,379,480,663,728,748,695,690,667,663,575,582,637,656,700,713,655,612,571,421,398,341,344,317,258,255,244,242,244,254,262,268,263,260,272,305,339,501,792,907,854,643,489,461,504,669,592,417,355,363,561,591,468,368,428,551,578,594,577,740,1128,894,869,575,477,547,506,446,462,559,568,587,722,993,1248,875,560,576,783,1180,805,691,637,629,614,609,630,565,381,322,327,401,606,973,1108,839,1242,1546,1794,1544,1304,1382,1058,645,293,285,299,273,318,277,337,841,1192,1254,1296,1108,1052,1054,955,1314,1664,1362,1008,1156,1384,1400,1556,1308,913,979,1166,1324,933,339,311,296,326,588,603,380,375,675,872,1076,1062,1188,1176,857,1108,1312,990,1248,1720,1398,1440,1124,954,1012,1062,1028,818,1005,1284,1330,1048,1284,1566,1438,1022,1024,1460,1532,1614,1610,1336,1248,1288,1074,1046,1410,1100,1136,968,571,623,1056,1470,1664,1426,1194,1210,820,582,443,593,678,700,752,1210,1482,1452,1428,1418,1606,1798,1770,1278,1180,1310,1338,1152,1184,1220,1154,950,950,808,677,1142,1276,712,314,291,294,251,284,314,845,1110,940,789,625,515,441,580,697,781,919,1082,1214,926,529,695,1036,922,786,383,392,416,427,379,917,1244,1054,1070,1140,1306,1456,1448,1312,853,1082,1146,944,1052,1090,1142,1110,1224,1458,1476,1194,1202,1046,1594,1666,1698,1478,929,916,1162,1232,1290,1160,1048,949,605,553,641,621,606,660,600,434,508,619,594,502,514,458,579,716,700,1128,1598,1378,1334,1500,1310,1482,1704,1534,933,431,467,477,450,408,381,337,362,360,334,288,386,506,539,494,445,558,629,798,1058,933,883,932,927,520,332,339,322,386,420,440,465,408,370,271,306,277,211,208,218,425,549,495,540,445,414,448,412,453,526,539,376,284,315,330,326,354,356,367,363,345,338,339,317,294,336,395,379,413,386,288,233,218,348,742,1005,1078,1290,839,695,724,633,419,381,435,490,693,2106,3938,3488,2306,967,1120,840,869,1492,1754,1120,866,703,389,420,375,314,399,509,451,451,435,588,882,1152,941,970,1356,1188,882,919,583,516,497,725,656,861,940,956,916,1072,1282,1214,805,912,1400,1282,1390,1328,1336,1260,704,547,734,618,474,570,526,271,307,275,327,497,544,686,449,431,518,540,632,569,828,1078,623,528,667,932,616,584,926,1106,1346,1286,1028,633,339,367,387,371,385,422,497,475,419,473,439,399,387,411,425,458,518,659,1128,1118,777,511,389,930,1368,1278,885,669,579,774,916,468,440,543,1078,1438,1296,1202,1174,1007,610,543,659,899,1138,1112,1158,820,440,539,401,326,342,368,518,872,990,1058,1138,1170,1040,974,807,846,797,791,1020,1142,1368,1210,879,770,901,1088,908,760,655,509,490,561,599,841,816,625,491,674,1054,1000,968,1062,1160,1476,1388,1090,597,472,675,801,816,703,469,495,485,445,470,603,567,438,375,572,769,908,630,346,329,322,389,376,372,414,461,595,553,492,473,511,535,448,401,394,436,493,499,377,387,378,365,352,416,461,463,469,443,411,483,633,622,473,353,329,339,361,321,405,591,722,694,628,569,536,488,379,384,436,623,633,572,479,439,420,412,451,496,473,493,477,503,497,581,563,533,421,371,395,422,419,389,372,751,2108,2828,2014,1284,1052,1054,1232,1340,1324,1506,1666,1700,1092,766,808,807,830,639,783,1182,1194,1230,1224,937,1011,1356,1194,1112,1462,1470,1358,1428,1296,1032,1212,1210,888,1060,1220,1208,1220,875,612,467,566,739,1098,950,1168,1442,1214,765,586,659,1190,1102,973,738,730,829,688,397,354,366,393,391,521,716,771,618,585,469,692,933,996,901,859,970,1190,1316,1340,1354,1342,1378,1168,893,1004,1462,2310,1924,1258,1144,1238,1390,1410,1228,1148,1194,1066,669,473,642,741,618,477,443,468,618,854,1128,1336,1140,871,774,718,877,613,454,474,843,1088,822,669,517,380,480,556,965,1012,910,932,921,995,1118,1288,1482,1498,1224,1064,820,1036,1234,1228,1060,1056,1128,909,958,1140,999,858,909,827,753,609,482,422,400,372,371,376,383,388,376,385,393,390,381,352,373,397,422,422,416,410,397,361,347,350,311,274,269,269,258,278,286,284,278,272,279,296,301,295,300,302,276,297,310,321,288,276,268,272,279,280,283,285,289,275,292,296,286,289,279,255,257,275,311,308,296,288,288,289,276,274,268,264,266,289,287,287,283,280,264,331,389,325,303,351,409,472,666,817,828,780,604,473,376,345,342,322,326,437,578,406,304,298,310,345,380,530,598,557,531,494,474,402,328,324,404,360,351,344,343,340,332,368,403,505,763,1058,1492,1788,1714,1576,1472,1144,753,571,700,793,695,654,650,739,916,1048,1158,1274,1366,1494,1502,1528,1438,1238,1312,1356,1314,1278,1198,1276,1674,1706,1680,1356,1230,1498,1510,1156,698,511,617,659,688,780,1316,1136,841,847,903,827,878,1016,1090,1038,706,532,764,1020,918,766,1154,1282,1422,1308,1384,1624,1684,1382,1380,1620,1556,1624,1792,1712,1146,719,648,639,1102,1540,1466,1184,1007,1090,1176,1290,1296,1610,1142,775,1012,1226,1172,1250,1296,1296,1410,1426,1476,1334,1152,747,717,548,396,577,626,557,456,375,301,294,305,309,322,329,381,360,419,749,902,783,607,448,411,447,409,326,325,314,284,275,269,303,310,353,491,484,386,421,319,319,380,393,332,347,327,349,422,478,547,608,791,985,1032,961,703,541,519,670,801,574,595,859,784,455,396,400,815,1080,639,881,797,742,795,561,891,769,516,646,862,712,513,555,836,1036,1090,986,916,1030,833,764,608,456,461,620,604,331,346,526,557,909,1398,1560,1200,694,1009,1584,1260,656,535,427,439,901,1346,902,434,444,844,955,1078,975,772,724,839,735,485,472,555,530,888,833,508,409,611,493,384,384,407,454,393,342,426,910,844,397,239,259,323,316,317,527,894,988,910,535,757,1116,1426,1068,803,686,720,882,1194,1354,1378,1548,1714,1818,1950,2110,2064,1708,1332,1198,933,1408,1522,1258,1242,855,708,588,943,1360,1094,998,1180,1196,1268,1146,938,1064,1470,1268,725,882,983,910,1148,1256,1204,1122,1256,1220,1322,1356,1242,1272,1404,1212,692,495,969,1362,1046,662,728,1046,1228,1202,1194,1268,1554,1394,960,501,460,620,872,1232,1296,1172,741,741,982,919,1196,1404,1316,1144,1230,1450,1560,1016,508,257,273,356,448,620,980,1210,1174,528,384,514,1168,1346,1054,606,537,683,1152,1432,1296,1230,633,412,565,840,1110,1294,1038,669,749,909,944,1060,1240,1348,1262,1236,961,1120,1132,1240,1074,825,808,893,788,654,538,697,930,884,937,927,1164,1494,1544,1284,777,522,489,421,368,364,359,351,364,367,396,456,581,454,541,609,658,624,695,900,1140,814,469,455,876,711,550,719,1166,1092,746,534,715,626,339,412,335,302,370,331,369,695,951,1378,1532,1396,1276,1114,1028,1019,1230,973,702,546,592,1048,1566,1472,1268,1176,1006,985,928,831,673,841,1003,1001,625,844,1416,1266,966,749,977,1090,752,913,1250,898,695,1216,1342,1046,572,343,412,347,267,370,329,299,373,390,436,458,421,466,477,614,697,542,333,282,312,511,680,633,579,567,521,603,553,464,594,626,619,474,316,727,1480,1098,541,736,487,386,306,414,514,480,398,306,251,248,274,291,312,452,589,697,764,619,469,413,407,410,432,419,401,359,404,783,672,597,671,771,744,733,1384,1370,869,1136,792,396,518,760,789,993,1038,868,986,631,317,363,565,857,631,532,906,922,560,385,304,481,514,397,267,466,991,983,563,387,318,287,286,285,242,354,307,271,307,319,324,305,264,235,401,786,1144,1272,1296,1326,1180,1032,907,882,1028,1052,683,355,330,409,630,800,1256,1728,1636,1844,1612,1090,951,1140,1230,948,883,938,739,416,325,243,279,305,290,286,583,964,685,386,336,328,262,417,647,1170,916,484,502,412,304,311,392,546,739,594,402,565,772,761,636,523,493,394,329,354],[445,321,321,333,354,344,300,416,569,494,608,542,797,987,1116,1114,957,531,477,505,703,833,465,542,810,581,606,453,373,638,977,1094,849,515,530,481,364,509,830,662,593,565,572,583,616,653,744,733,575,398,345,351,359,386,409,381,383,372,435,436,476,642,623,338,363,411,368,401,466,416,329,344,396,536,639,564,510,534,422,431,536,691,735,689,622,570,527,583,601,600,585,516,457,475,432,393,341,290,280,265,280,265,287,295,266,266,254,257,261,263,260,256,277,319,451,673,790,864,1001,852,549,600,639,597,521,415,354,326,489,579,517,533,731,673,455,604,750,792,919,705,645,484,440,591,547,410,458,534,463,484,750,1398,1808,1042,661,605,657,774,736,660,670,703,645,566,602,680,613,408,333,373,509,853,1170,1252,1272,1606,2214,2048,1666,981,620,287,219,252,252,261,269,309,388,841,984,856,1248,1416,1198,890,850,1418,1366,1152,944,999,920,1032,1444,1406,1096,894,1142,1378,1022,462,335,321,298,622,673,410,325,534,841,907,640,1030,1186,1174,1226,1036,1092,1652,1598,1294,1290,1048,735,833,1246,1184,1204,1246,1015,973,867,1164,1142,1512,1216,961,1404,1504,1616,1666,1354,1388,1506,1392,1380,1226,921,1316,1112,690,1054,1174,1080,1124,1108,1114,1078,927,576,471,573,655,727,1050,1384,1348,1272,1362,1378,1564,1532,1678,1406,1364,1234,910,922,1228,1312,1112,1118,1208,1001,820,852,686,462,307,286,298,278,281,426,779,994,901,539,672,417,352,379,484,540,502,982,1434,1310,1086,1120,1266,1088,990,480,493,553,372,532,1074,1278,1240,1298,1188,1334,1286,1372,1340,1198,1354,1196,887,1204,1350,1142,914,955,1438,1244,872,1206,1028,1324,1012,987,963,891,973,1200,1310,1156,901,899,1018,835,720,667,633,633,653,533,435,522,605,560,507,530,561,632,943,980,933,2050,1660,1462,1532,1244,1354,1648,1630,979,442,464,396,364,398,317,291,331,347,300,291,418,658,720,510,457,554,553,764,914,1019,1068,1218,1080,590,346,327,301,419,481,458,449,459,464,386,338,250,221,248,231,448,679,659,677,408,329,424,536,460,442,462,403,307,291,325,342,346,403,376,348,331,348,348,328,462,483,403,510,622,536,429,264,276,333,491,829,1226,1314,1132,1062,868,680,495,491,528,568,766,963,836,1017,980,811,995,623,752,1340,1436,1140,1288,791,426,497,382,283,393,520,425,417,453,474,530,729,999,1164,1176,1180,1422,1590,780,952,931,1140,921,910,1312,1200,952,1226,1160,1164,1316,1794,1316,1050,1114,1184,1394,1382,944,663,600,372,419,796,756,328,252,222,307,386,469,565,468,567,946,1150,1040,1007,797,753,675,639,577,628,481,683,750,1062,1260,662,395,354,523,573,403,428,418,383,458,484,484,482,419,347,332,343,441,427,547,810,1356,711,369,352,309,511,952,912,558,716,832,933,1136,660,551,601,944,1148,1208,798,667,821,854,683,756,1080,1104,829,680,407,272,354,326,331,352,632,1046,1006,979,1094,1366,1276,971,684,610,604,872,1188,1262,1372,1248,1068,1164,1005,931,1106,1028,971,1018,730,624,680,799,1036,1084,1100,831,534,741,910,1168,1196,1310,1254,1094,934,882,887,1096,1334,987,705,494,438,412,425,450,513,546,458,605,663,558,626,508,332,290,395,442,373,421,438,379,469,502,484,484,505,514,455,440,386,361,355,318,382,414,417,422,384,378,394,405,423,434,427,473,464,491,399,361,337,358,352,321,323,436,665,777,738,665,598,612,473,415,504,581,567,519,427,377,425,411,433,418,433,442,434,455,455,576,617,506,379,383,435,471,455,422,478,485,619,1144,1472,1436,1584,1580,1496,1762,2664,2730,1544,796,487,625,689,827,1030,833,761,966,1050,1092,1214,1052,1180,1278,1244,1178,1368,1368,1382,1306,1274,1124,1160,1124,846,857,1132,1594,1404,670,694,745,781,999,931,1011,1094,891,1046,1144,961,1112,1009,746,1068,1196,1124,1136,749,396,397,455,441,415,455,451,506,542,716,686,991,941,970,1038,1076,1158,1003,1130,1284,1382,1266,1274,1180,898,772,1040,1350,1116,1138,1242,1278,923,1116,1126,1154,961,912,554,311,480,900,769,422,431,479,700,995,1288,1504,1224,700,599,776,877,569,401,448,869,1268,1216,949,771,466,434,609,949,760,772,800,841,904,1246,1400,1244,1128,1182,979,888,1170,1278,1013,759,822,1028,1060,1198,1266,1044,952,911,788,614,454,425,416,400,398,397,386,393,414,393,386,382,379,344,355,351,366,395,401,375,364,367,339,337,333,282,274,271,263,272,303,311,287,277,281,288,291,289,290,296,308,282,293,297,306,295,281,275,281,278,279,293,315,287,271,285,301,295,282,265,280,275,279,310,323,297,261,266,280,264,272,287,276,256,271,320,314,279,264,249,265,280,328,354,470,630,813,886,858,849,830,798,733,614,547,540,407,311,352,440,347,296,292,297,343,345,368,405,437,401,350,322,321,312,334,392,392,367,338,340,348,361,402,476,618,987,1522,1798,1708,1548,1328,925,698,634,570,613,729,825,947,1070,1226,1358,1434,1510,1544,1424,1328,1214,1158,1024,912,1038,1028,1448,1562,1864,2386,2666,1922,1370,1546,1666,1634,1638,1198,731,542,599,571,568,521,1258,1288,761,808,1250,1180,1080,1216,1156,1056,660,562,987,1170,995,825,1320,1422,1260,1166,1360,1640,1758,1474,1450,1308,1318,1512,1560,1516,1054,718,619,553,797,1292,1422,1184,969,948,746,588,886,1318,1274,1066,1188,1234,869,769,767,904,1334,1394,1326,807,914,1074,1032,660,447,553,681,577,432,390,322,331,358,366,317,310,329,348,379,709,999,846,538,379,354,430,519,360,327,309,283,267,271,296,305,305,343,337,400,512,381,339,443,476,370,321,321,393,477,533,604,571,456,596,1136,1256,853,672,661,563,757,913,969,1138,1228,1040,722,390,608,884,620,692,636,562,501,554,745,666,475,363,380,551,545,463,400,572,800,756,899,1044,965,949,836,588,489,621,451,304,386,658,530,631,1198,1694,1512,857,1120,1330,815,622,605,599,1114,1220,1318,1052,709,709,712,739,991,1046,1058,1040,1200,1050,826,634,647,765,998,641,359,599,647,397,365,333,307,408,481,370,351,788,768,518,324,288,283,334,398,517,891,988,825,538,563,1076,2090,1276,505,670,998,1250,1386,1478,1472,1564,1758,2044,2310,2326,1786,1416,1280,1260,1026,1310,1636,1376,1448,821,697,580,847,1136,935,901,1188,1250,1136,954,796,1152,1490,1388,1372,1158,965,1238,1354,830,734,990,1088,1144,1366,1292,1284,1654,1716,1212,851,532,860,1148,833,583,748,1262,1448,1356,1312,1248,1344,1166,1082,668,505,932,1382,1456,1430,1290,919,887,791,615,1074,1282,1005,821,1034,1274,1462,1214,570,271,397,487,556,943,1070,846,1011,730,539,839,1280,1058,811,621,756,852,1438,2122,1238,1152,624,450,494,1048,1406,1516,1234,1018,1284,1388,1096,1290,1522,1562,1508,1152,847,1136,1094,806,515,289,361,545,467,401,492,718,984,1015,777,1024,995,1174,1460,1588,1282,855,547,481,428,357,353,364,374,379,351,613,821,505,381,812,913,703,1001,1272,1044,673,742,564,1164,926,533,960,1460,969,417,494,783,613,415,443,368,301,318,301,390,551,647,1142,1246,1120,1470,1422,1216,1015,1072,934,728,739,941,1122,1236,1128,1138,958,578,595,516,432,573,681,1180,1354,1186,1108,1084,1160,1470,1288,1042,1028,835,594,702,640,557,759,1380,942,469,444,456,329,293,380,298,322,431,410,498,466,300,393,702,879,642,424,375,296,348,466,473,437,500,626,564,531,564,586,591,686,871,937,699,364,372,346,496,739,508,383,327,396,475,448,388,322,284,262,264,321,340,508,451,445,544,684,534,363,464,471,467,463,419,390,422,750,740,680,642,745,1030,1194,1072,1040,1142,1120,871,672,973,1224,1032,1128,846,705,1056,860,580,431,618,1013,555,367,463,414,448,448,400,588,692,659,419,433,761,656,663,435,358,339,377,408,326,250,214,241,343,365,336,312,301,252,651,812,985,1192,1190,1338,1270,963,764,888,1300,1086,441,306,356,359,573,1330,2142,2026,1640,1666,1262,932,1204,1610,1724,1098,847,921,750,556,385,285,307,281,301,302,379,440,331,302,323,304,393,760,1160,1340,819,306,383,325,337,533,875,697,437,373,335,389,471,557,466,386,363,365,286,311],[411,309,322,317,307,305,312,494,641,474,472,745,1310,1438,1186,1324,1290,559,500,552,887,946,675,821,642,487,459,495,448,689,775,574,507,426,356,339,393,824,1082,814,590,467,455,492,452,456,515,463,373,338,336,329,383,583,576,501,474,453,416,376,357,448,512,463,406,390,365,438,579,510,399,523,631,521,420,356,358,418,386,415,404,453,495,487,441,455,431,424,435,376,346,334,257,263,258,266,264,275,275,276,270,264,338,371,270,274,267,271,266,267,273,304,304,349,450,568,683,752,949,825,700,741,708,472,403,360,352,371,462,545,646,834,764,484,434,656,815,919,756,506,423,470,483,458,407,396,436,503,557,522,742,1152,899,607,652,632,627,681,663,611,687,805,728,662,678,714,749,596,467,341,441,727,970,1194,1190,964,1052,1030,1158,735,369,303,297,274,252,261,268,330,505,870,1120,1032,1170,1198,1190,1282,828,849,1182,1148,766,916,1150,1096,1284,1318,1062,1003,1268,1258,805,647,480,372,338,422,484,404,567,995,1030,1064,808,1015,1250,1368,1176,1152,1628,1700,1270,1094,925,1212,879,888,1186,1232,1003,1038,1300,960,919,941,680,774,775,973,1184,1044,1448,1618,1538,1786,1998,1562,1276,1300,1222,1256,1220,1186,1234,1019,1036,1104,1180,1224,1192,1046,843,560,556,587,716,1044,1376,1516,1414,1186,951,990,945,1320,1334,1030,753,555,568,918,1324,1194,1172,1360,1242,763,1021,1182,825,480,330,468,598,421,412,603,779,832,789,988,621,448,469,465,489,582,897,1214,1210,1230,1098,1208,1058,825,415,386,426,388,772,1260,1240,1380,1310,867,1158,1244,1368,1456,1456,1366,898,847,1234,1428,1274,946,1010,1548,1288,1208,1310,963,875,814,905,850,867,920,1008,1342,1254,847,708,1048,841,663,597,670,724,673,544,417,417,524,568,565,532,694,680,1228,1410,1166,1968,1796,1286,1438,1366,750,513,778,573,439,437,309,351,362,282,296,323,415,559,573,543,1086,1276,720,500,506,599,794,1030,994,880,836,767,517,325,280,266,398,479,429,428,487,461,459,446,353,269,255,242,412,682,1140,1102,623,437,528,451,361,325,330,336,354,429,410,323,367,383,383,361,335,349,341,342,502,523,383,517,722,896,778,437,444,642,596,799,1302,1136,1186,1154,843,825,587,465,502,595,675,761,1010,1208,791,797,818,737,918,1328,1344,1294,1216,587,487,720,458,276,362,490,453,329,391,637,808,924,1178,942,736,923,1058,1412,1032,1202,1672,1522,1036,923,1164,1068,828,994,1062,1306,1720,1906,880,915,855,1298,1544,1046,669,847,799,336,325,511,412,337,284,248,266,267,338,367,417,652,912,851,494,289,389,706,811,933,695,464,509,854,831,1021,1228,677,465,655,1216,846,436,507,483,357,332,469,509,389,392,396,357,520,520,392,474,959,1376,773,398,435,474,345,460,584,718,1086,1034,1060,1092,970,725,532,667,914,793,514,432,616,1024,1086,1048,1032,680,455,341,309,295,311,318,313,433,802,1032,1158,1154,1132,1366,1136,611,397,439,547,877,1150,1248,1160,1156,1044,791,867,1064,1302,1230,1084,1096,699,586,810,943,723,597,951,909,551,669,935,1180,1050,1062,1206,1278,949,843,924,1128,924,609,570,510,404,422,489,457,385,348,410,691,687,479,378,369,316,350,379,386,383,452,412,405,517,508,476,547,781,602,529,540,391,391,374,305,361,429,434,427,437,468,448,414,405,445,439,422,355,395,399,368,366,395,370,358,332,371,449,477,440,424,435,478,575,555,546,568,707,845,682,502,463,444,500,396,401,385,375,369,354,477,597,483,363,418,458,456,463,475,522,499,501,529,794,1340,1960,2076,1848,2376,2790,1554,672,540,554,567,541,730,1005,1182,1042,810,794,857,951,610,880,1142,891,645,722,1320,1566,1420,1238,840,761,946,1021,923,797,990,853,502,769,1058,848,728,759,1038,1124,965,863,957,921,1036,719,922,794,1058,1009,601,413,382,462,591,626,578,522,484,728,1023,946,1154,1290,1172,1230,1240,1394,1308,992,906,893,868,783,930,1146,1150,1104,1274,966,857,1210,1210,1246,1230,1100,1064,1066,771,465,306,270,359,761,934,607,778,857,797,759,893,960,908,866,897,1060,971,571,451,766,984,1208,1486,1202,877,487,471,691,762,736,722,714,750,792,869,970,1310,778,779,1040,888,909,1084,1020,1162,1266,1118,1148,1292,1204,1052,984,860,653,468,418,412,406,403,414,411,394,402,429,380,393,401,352,377,385,372,386,386,375,360,356,357,319,303,299,283,303,290,272,258,290,304,275,268,275,280,285,290,300,313,295,293,286,276,275,281,289,296,292,293,289,285,275,273,286,295,306,299,278,282,291,275,288,308,291,287,266,265,285,260,276,306,287,255,257,302,306,259,254,249,264,309,339,327,582,903,938,813,794,836,869,874,780,691,565,567,504,392,333,309,297,288,280,298,321,332,332,402,405,296,297,301,300,296,312,358,429,408,332,346,375,403,428,580,1034,1588,1820,1700,1506,1182,786,631,762,885,938,1028,1232,1362,1460,1526,1518,1530,1512,1402,1234,1002,767,749,965,720,559,693,834,1826,2652,2464,2508,1898,1186,1232,1600,1760,1568,1634,1226,704,467,463,641,925,820,1280,1480,1158,1334,1600,1340,1450,1262,944,867,771,830,1098,1204,1136,1076,1276,1268,987,1142,1342,1362,1142,1148,1412,1262,1238,1262,1614,1488,1116,947,749,574,735,1202,970,675,652,841,725,522,807,1216,1344,1274,1516,1346,794,1008,1034,758,1032,1516,1402,1054,1164,1130,839,658,658,694,577,691,637,376,323,325,333,315,315,335,330,333,321,518,855,852,718,549,388,373,453,376,328,310,280,281,288,290,294,282,296,366,434,490,406,325,414,423,350,323,317,463,532,466,563,601,511,697,1064,1280,985,1094,1052,509,536,916,1082,1070,1212,1078,982,720,1060,1080,730,553,501,542,613,672,634,488,443,358,369,518,509,655,609,584,760,684,769,960,1015,1106,1042,836,720,844,564,412,456,680,641,1072,1964,2696,2194,916,1102,963,777,450,337,761,1702,1582,1530,1264,642,638,713,532,631,722,572,834,1224,1654,1556,1360,1108,1018,980,650,540,798,633,423,547,497,357,411,484,408,405,738,1052,862,487,295,307,463,562,764,765,832,1112,529,200,478,913,897,909,1066,1218,1198,1132,1478,1422,1518,1854,1998,2262,1866,1144,875,1100,1400,1146,1348,1802,1322,1108,574,503,542,761,874,668,538,739,749,495,387,447,941,1266,1294,1146,1146,901,905,917,717,748,964,993,955,949,1156,1304,1462,1224,1108,958,829,714,741,960,893,736,1150,1324,1376,1296,949,1030,1316,1290,844,661,917,1158,933,657,807,1013,898,741,604,615,929,857,711,975,1128,1160,1238,753,453,559,694,814,534,711,711,739,672,690,1350,1704,1256,772,587,766,824,1598,2492,1616,1302,1224,1104,1040,1300,1502,1276,1004,1298,1554,1604,1484,1566,1434,1526,1340,695,665,837,648,430,397,365,355,509,548,595,754,814,1001,651,633,1005,1132,1110,1156,1412,1560,1380,996,689,689,473,419,382,376,413,439,695,891,660,507,796,987,948,1058,1190,654,496,810,906,1084,877,584,991,1172,485,314,323,421,449,535,415,355,307,312,326,422,587,716,922,962,1250,1604,1704,1456,1060,924,1222,1118,677,681,1110,1502,1636,1194,970,636,931,578,609,868,873,981,1556,1438,847,966,1426,1600,1274,836,1021,1372,906,946,1452,1034,933,916,511,408,409,458,412,329,309,353,457,492,346,411,361,289,483,730,518,291,384,454,319,384,378,304,277,518,697,577,485,592,553,469,680,1440,1960,1334,472,386,440,629,588,550,473,521,684,598,477,380,378,324,249,257,300,317,311,370,359,579,921,731,414,426,421,433,424,427,318,464,712,757,647,529,544,952,1408,869,868,1378,1140,937,911,1344,1488,1220,1292,939,579,791,994,858,521,689,1009,539,362,305,427,864,967,745,761,775,1068,825,525,486,515,593,383,316,341,379,387,346,251,224,299,412,368,350,332,314,333,412,360,521,702,1009,1484,1234,878,514,703,1152,800,384,342,357,574,1390,2032,1780,1230,1218,1522,1388,1434,1778,1910,1646,868,536,725,749,579,492,398,469,409,334,298,287,286,287,259,246,248,372,705,1140,1430,1112,799,761,499,725,729,1124,697,276,338,418,461,519,444,463,499,312,279,251,252],[337,334,383,365,328,292,410,740,686,519,563,982,1288,1344,1164,1240,1338,863,783,1158,1366,1060,968,754,416,359,401,515,552,515,481,490,519,490,453,517,460,637,593,449,414,369,351,363,339,330,342,362,371,385,428,458,474,514,486,421,362,344,365,419,492,465,446,521,470,435,416,382,413,496,571,749,860,639,387,318,247,246,272,276,250,249,305,463,513,416,338,317,295,270,269,253,246,245,251,253,258,261,263,267,268,300,468,465,291,281,299,289,280,285,284,335,319,295,349,458,536,567,717,593,533,497,493,459,423,396,431,418,486,684,808,771,590,484,527,562,623,785,720,626,629,637,570,448,384,410,416,531,528,586,751,1076,811,583,650,601,641,651,626,606,724,723,697,581,607,549,608,815,865,614,418,471,732,1198,1316,827,576,595,593,482,436,402,365,297,281,321,298,318,528,1002,1434,1300,1146,736,887,1274,1152,1200,1524,1304,1066,1338,1312,1002,987,908,828,1294,1192,810,509,601,735,638,492,539,477,565,797,1108,1108,1348,1142,1013,1192,1208,1126,1476,1740,1460,1188,792,566,750,965,909,893,1007,710,672,860,667,682,623,458,508,891,963,1202,1078,1556,1634,1576,1664,1416,1354,1524,1392,1082,750,1144,1134,851,756,960,1206,1344,1404,992,910,883,612,672,650,891,1052,1186,1512,1614,1506,1670,1620,1394,1432,984,710,577,320,269,504,1106,1080,536,487,703,838,1248,1204,867,516,481,749,907,732,474,442,505,612,952,911,670,657,598,616,786,875,984,1190,1180,1254,903,1202,1562,1184,546,304,293,500,1290,1620,1440,1428,1294,1240,1294,1136,1264,1390,1274,1216,1226,1374,1456,1606,1450,1532,1280,1332,1452,1366,1260,1116,1182,1006,991,1009,916,758,904,1476,1232,913,785,766,784,676,595,670,585,527,514,401,463,545,546,510,504,803,695,912,1048,1100,1488,1216,798,1126,1384,852,430,347,436,455,493,419,406,472,460,350,357,593,999,1064,829,1126,1194,770,562,557,644,781,893,903,833,789,705,530,396,306,348,413,426,382,365,400,398,436,488,369,249,236,306,750,699,1218,1232,885,792,586,476,563,498,336,379,640,717,631,459,448,405,402,384,362,329,317,348,447,510,405,454,597,698,872,727,561,642,843,1130,1094,590,647,834,880,930,811,699,567,569,617,968,1184,1034,993,1214,1294,1062,1222,1428,1192,1426,1274,930,570,523,472,338,334,409,406,420,760,1334,1338,810,725,698,807,1542,1494,1654,1448,1214,1110,755,751,772,1028,951,914,973,1048,1118,1384,803,342,421,698,1228,1576,1694,1056,1058,1410,974,634,500,440,333,273,277,256,267,327,536,1068,1382,1040,419,240,288,354,707,1200,1550,1138,728,758,903,1186,1266,1064,723,764,942,1216,735,377,426,448,376,384,411,435,372,489,604,630,727,510,479,565,1102,1106,597,469,445,481,380,365,558,1074,1144,953,989,839,933,1002,836,740,902,938,543,486,660,1064,1204,1244,1062,839,605,369,284,402,778,753,497,694,1070,875,1076,1642,1630,1206,764,427,441,736,973,715,695,1100,992,862,475,376,539,946,1226,1378,1334,904,621,449,791,1054,653,713,993,931,762,569,702,1018,1232,1044,1054,965,633,535,641,890,955,1026,906,521,369,449,519,426,344,345,478,594,537,433,398,381,336,394,440,450,487,569,476,487,516,491,578,807,1150,667,587,570,407,364,344,343,386,428,426,410,425,425,475,410,432,456,453,442,435,444,409,370,379,380,315,299,321,364,357,337,325,323,318,327,399,527,648,864,1056,725,521,535,472,398,424,392,361,358,375,365,373,411,467,392,365,415,412,466,488,484,499,462,414,422,476,758,1416,1660,1492,1664,1352,908,746,683,673,580,476,493,747,1023,907,724,598,564,583,821,1314,977,517,410,507,1064,1564,1144,711,484,740,1198,1306,1034,776,490,457,462,507,592,575,569,624,1132,1388,1660,1154,979,719,719,950,1242,1144,1312,1240,667,360,363,407,495,621,654,489,500,907,1100,1136,1300,1236,1136,972,1252,1294,1284,1494,1328,842,663,656,922,1154,1196,1376,1282,753,991,1072,1032,1068,1108,903,797,917,872,599,393,303,319,527,937,754,930,1030,913,647,555,542,591,738,1054,1448,1438,938,758,1202,1200,1218,1300,1116,654,491,509,661,882,835,639,653,658,616,656,1150,1464,998,649,616,556,615,991,1604,1686,1540,1440,1200,1001,1060,1084,978,755,488,424,414,400,386,395,388,402,410,411,413,392,406,392,353,359,356,361,375,368,351,361,329,329,303,287,275,263,282,281,272,274,291,281,277,270,285,286,276,293,296,293,298,293,286,283,278,273,281,295,274,279,276,273,262,266,274,293,306,305,288,282,291,279,273,294,276,285,288,281,283,264,265,272,276,282,260,285,310,276,282,279,288,331,331,532,805,849,800,765,785,783,810,808,761,703,549,510,465,389,385,361,316,312,330,323,317,333,337,370,407,329,310,346,336,328,338,354,382,374,328,352,395,515,638,1028,1540,1808,1802,1536,1128,858,781,910,1124,1332,1476,1566,1574,1490,1374,1394,1310,1176,965,844,783,502,430,441,547,468,626,858,1084,1782,2482,2004,1344,929,1122,1270,1334,1214,1282,1528,1268,681,544,635,810,925,713,1011,1494,1322,1404,1440,1368,1796,1318,1074,767,857,1178,1172,1116,1186,1230,1246,1208,1194,1078,1042,1060,927,1194,1252,869,757,871,1416,1528,1128,982,1019,771,1036,1494,864,612,450,742,833,865,1078,1114,872,948,1228,865,605,982,941,725,838,1430,1056,981,1056,753,532,516,720,821,577,887,549,364,327,306,307,304,336,368,369,314,292,319,490,874,959,705,408,332,443,427,339,363,351,315,292,271,259,287,296,358,482,450,317,288,331,319,311,323,505,717,608,466,498,601,601,686,1056,1418,1166,1118,1208,783,829,1086,1282,1386,1220,921,1162,1300,1300,941,635,544,497,482,542,697,634,462,450,441,467,464,462,787,1060,1196,1064,857,709,761,879,959,1002,1126,1210,1440,1228,892,753,822,776,970,1316,1588,1206,941,852,615,461,352,372,1034,1804,1564,1678,1566,695,501,661,668,941,1184,735,879,1176,1312,1676,1824,1396,1206,1190,1009,1074,995,713,670,1112,657,430,452,452,640,583,673,1042,1122,877,627,585,731,925,1076,692,486,406,309,315,336,634,1070,1084,1094,1230,1348,1322,1484,1374,1620,1910,1964,2020,1688,1328,897,1007,1306,1444,1488,1852,1306,881,615,646,684,720,683,464,372,410,433,375,412,376,684,1298,1466,1015,888,777,845,1052,1096,1132,990,680,894,852,1072,1288,1120,1076,1266,1204,1084,1030,1060,1116,1272,1156,1422,1200,1356,1168,1172,1220,1416,1482,1328,789,467,612,831,814,973,1120,1134,930,803,878,1004,1160,1130,1222,1034,974,1122,969,764,841,1132,846,351,401,634,719,621,725,1410,1720,1086,589,402,429,414,783,1334,1542,1172,1188,1284,1208,1238,1456,1432,1160,1418,1472,1626,1466,1260,1288,1122,738,541,455,372,366,303,243,324,435,850,1202,1216,1068,713,724,697,986,1018,1032,1272,1142,1072,1424,1582,1450,1028,879,696,519,402,403,449,531,619,660,741,752,527,502,901,860,777,719,585,733,1048,907,777,814,874,579,304,299,271,284,333,506,464,412,458,337,312,559,768,760,932,1552,1958,1414,1176,1532,1294,985,1250,1322,783,528,871,1588,2518,1218,940,728,893,768,850,987,1052,1014,1260,1050,797,1180,1438,1716,965,490,835,1312,1212,1388,1844,1744,1448,1024,496,404,399,473,387,350,401,474,833,596,342,492,585,421,458,448,285,296,352,428,289,328,313,284,356,531,691,659,617,547,469,353,436,959,1396,1354,971,550,457,696,837,764,583,617,686,706,719,593,469,430,315,349,312,294,326,329,307,445,662,576,362,392,466,418,408,414,278,388,522,509,438,468,664,844,1128,936,845,963,1026,967,907,941,885,981,1042,758,370,379,1066,1272,666,597,762,459,367,383,314,596,766,833,930,1186,1438,1402,865,517,575,510,409,414,371,318,314,314,257,279,363,394,385,452,512,405,243,225,219,266,343,895,1534,932,515,381,394,434,426,385,407,645,1446,1920,1426,927,1048,1356,1510,1716,1644,1742,1868,1318,608,444,768,1058,814,557,455,532,528,369,288,307,322,265,228,232,267,319,316,590,1144,861,664,524,478,566,481,530,368,350,397,393,456,493,430,1084,1062,400,235,246,257],[295,329,358,381,325,312,584,719,588,717,1038,1020,937,1050,909,929,1214,1136,669,977,1212,833,799,547,371,467,441,444,432,366,465,528,473,512,778,865,481,510,545,519,501,425,339,328,348,358,339,294,342,398,404,387,383,373,349,364,390,385,407,399,509,439,399,445,535,496,410,367,323,405,507,563,650,471,274,220,217,229,218,255,293,250,235,286,262,260,255,251,261,283,273,257,259,263,265,277,288,285,283,277,308,420,683,599,486,439,358,298,279,287,321,341,294,236,238,415,536,602,568,471,507,498,403,440,426,513,593,744,821,773,670,649,786,997,999,789,860,930,827,782,644,523,497,481,374,400,409,498,500,544,508,596,599,675,628,689,731,763,724,617,641,631,692,636,786,836,809,877,916,845,698,520,630,1330,1078,744,620,516,453,400,359,384,395,336,322,368,365,530,711,1017,1240,1032,689,457,541,950,1368,1560,1482,1116,1102,1174,868,523,572,630,766,940,850,548,461,741,1021,960,1013,996,618,987,1576,1318,1084,1230,1296,1210,1054,952,1250,1686,1514,1332,1216,705,531,805,1228,1218,1298,1482,1216,1006,771,696,745,447,437,472,595,668,1118,1274,1554,1708,1676,1516,1406,1568,1488,1294,887,511,724,941,954,873,850,1076,1292,1238,805,612,396,415,615,683,829,835,810,996,1232,1108,1786,1956,1472,1328,968,839,647,366,326,461,1038,959,430,346,546,1023,1192,1052,736,399,488,733,606,492,338,383,473,495,732,741,664,608,593,787,960,1008,1282,1432,1340,1310,991,1164,1578,1396,741,339,335,774,1452,1614,1654,1394,1102,1310,1488,1282,1354,1264,1226,1260,1310,1370,1332,1428,1184,1322,1290,1266,1480,1536,1456,1520,1222,976,1242,1274,1458,1806,1556,1622,1894,1316,759,560,609,592,629,707,673,656,576,421,444,427,413,350,466,885,877,772,944,987,875,521,568,1066,1456,999,519,371,485,480,486,468,453,638,792,527,471,745,867,900,1114,1158,1084,802,587,529,648,855,836,697,754,843,820,498,462,389,418,360,345,380,378,390,445,460,478,557,348,284,403,675,786,740,665,728,796,732,888,860,751,727,944,1354,1110,808,754,734,581,469,464,431,375,340,354,479,677,468,349,389,679,908,789,626,762,818,672,518,323,485,582,678,689,584,719,781,704,603,1216,1396,904,1076,1374,1488,1660,1416,957,871,1016,1302,1346,981,677,530,465,496,417,532,757,1252,1388,1098,886,542,871,1262,1324,899,1082,1324,952,495,611,792,700,962,1026,858,839,832,1102,1158,800,513,555,730,864,1316,1628,1015,1330,1820,1772,1350,960,686,485,498,427,386,320,369,670,1026,1492,1394,642,281,260,272,262,612,916,712,519,719,1142,1300,1106,777,592,643,804,905,601,428,517,483,393,491,401,343,354,386,404,514,745,686,539,743,1202,744,324,349,346,298,384,318,377,568,743,896,913,1084,1010,767,958,667,667,1058,738,543,579,814,1100,1110,1004,1172,1098,634,412,619,1118,1006,628,675,814,651,912,2148,1836,1228,1094,614,542,1068,1410,1120,837,843,820,779,626,636,956,1036,937,1400,1510,1176,1116,965,824,1116,1036,1218,1276,1108,892,752,746,983,1182,1094,1158,648,674,819,830,970,1282,1456,956,520,445,415,428,353,330,378,548,572,679,716,621,477,400,401,424,433,698,856,527,460,525,610,667,606,616,498,559,530,407,310,327,430,428,420,429,404,436,501,448,375,464,498,459,462,496,460,412,387,354,349,316,328,325,317,329,325,315,313,323,321,334,369,532,940,826,482,357,437,458,410,417,408,370,391,401,372,391,391,406,360,352,409,424,453,464,481,471,399,352,411,434,461,623,847,1126,1076,1054,1042,978,901,667,489,456,428,501,680,544,512,506,572,943,1468,1252,758,475,498,589,851,1460,810,510,563,585,1104,1100,974,794,694,883,735,506,617,871,850,899,1466,1416,1490,1024,753,633,678,957,1144,1242,1402,1334,937,597,489,447,497,525,514,393,431,573,639,935,1162,1230,1068,1038,1236,1650,1780,1450,1288,1015,783,880,1134,1242,1238,1372,1418,1336,1236,1064,846,1084,1052,728,600,796,896,915,839,701,601,573,880,948,885,1110,1034,630,451,437,442,532,828,1284,1368,1326,1238,1278,1342,1046,999,1013,586,453,670,1050,1512,1050,773,921,717,1464,2858,2186,1194,1232,1004,588,716,869,1128,1338,998,1168,1302,1106,1140,1190,1030,863,572,433,415,395,415,419,383,399,411,421,419,413,406,403,398,358,317,327,327,333,349,331,335,286,292,298,287,264,258,271,281,279,285,292,284,278,274,277,281,267,284,295,286,283,295,287,287,286,281,276,292,286,278,267,260,250,252,269,289,316,326,305,291,295,289,271,288,273,295,293,270,268,265,262,260,278,300,266,273,299,293,297,304,345,369,455,631,607,536,639,755,792,749,648,592,643,650,640,608,466,342,339,337,382,409,347,347,333,342,336,311,327,296,293,340,351,346,348,350,340,335,355,418,577,691,1056,1594,1904,1882,1516,1066,880,1068,1304,1498,1598,1610,1540,1542,1478,1410,1314,1342,1374,947,472,411,403,330,396,392,441,553,742,1258,1354,1126,1238,1120,688,692,962,913,1156,785,1168,1566,1238,568,412,512,522,514,479,824,1468,1350,1338,1428,1500,1562,1126,904,653,879,1254,1200,1126,1280,1182,1086,1224,1470,1252,955,1054,1146,1446,1282,777,705,937,1472,1682,1620,1322,1302,1196,1522,1582,980,882,739,666,1132,1658,1522,1290,1166,1496,1266,783,539,551,707,715,971,1372,1324,1388,1306,928,446,462,670,612,479,476,317,346,325,298,314,335,344,346,346,298,292,285,281,512,610,487,363,317,387,417,346,390,381,341,311,302,286,312,318,309,468,461,301,310,292,309,343,343,761,799,484,422,464,667,773,837,1106,1306,1334,849,844,999,1050,1168,1246,1252,1322,1288,1180,1134,871,495,530,453,535,436,403,544,527,396,432,441,404,469,548,752,1300,1482,840,1100,836,676,730,962,1234,1184,1262,1602,1584,1378,1238,1208,1040,1038,1048,1018,1168,1338,880,501,362,314,300,1092,1648,1490,1974,1794,726,496,811,789,1476,1348,898,1080,1310,1316,1300,1272,1146,1146,1148,1066,1102,1046,1042,985,849,517,448,474,430,372,436,798,973,1190,1054,771,491,652,1128,925,556,443,378,407,332,455,744,962,930,1234,1326,1358,1118,1192,1316,1670,1824,1826,1772,1598,1532,1036,992,1214,1654,1792,1670,1342,1220,997,711,634,536,494,404,382,372,343,540,814,671,804,1224,1262,1001,810,832,998,1138,1432,1604,1208,798,1108,1036,1112,1268,1184,1202,1362,1434,1476,1598,1346,1140,1332,1382,1384,1278,1348,1130,1015,1094,1152,1290,1168,524,441,570,572,768,1054,1154,1248,1226,1324,1226,1192,1312,1338,1104,1266,1192,869,952,1050,985,1032,604,363,482,599,548,710,1023,924,1012,815,530,396,422,462,678,1042,1322,1132,899,1024,1170,1212,1100,979,847,1114,1158,1150,1262,1356,1174,823,586,411,378,434,444,422,385,493,550,857,1328,1116,774,581,527,851,1156,812,911,1364,1124,944,1034,1374,1588,1532,1106,887,787,598,450,644,802,499,474,931,814,561,650,856,960,977,906,712,783,906,814,1002,1032,761,382,272,232,266,271,408,833,778,474,458,390,572,768,674,616,1106,1648,1654,844,597,1144,1262,841,836,1250,1007,612,796,1120,1222,998,1042,957,1062,946,781,859,651,479,514,458,753,1716,1282,1074,713,443,430,651,1034,1230,1360,1474,1736,1772,792,430,487,404,392,372,371,796,923,626,725,910,935,644,431,408,387,402,507,519,457,478,367,311,400,359,365,535,666,742,851,424,337,413,1130,1722,1218,580,385,464,573,537,536,684,799,859,875,779,574,432,359,465,667,717,678,794,863,731,864,833,581,355,309,350,382,314,243,298,297,302,362,408,471,587,673,837,684,656,703,594,686,881,982,1008,681,444,465,375,546,701,689,660,818,732,456,383,375,401,365,739,862,1170,1614,1318,743,551,440,376,467,634,572,365,288,283,278,285,351,328,372,405,396,288,208,227,230,243,335,806,1356,903,534,404,346,418,426,374,642,1494,1970,1650,1282,1396,1676,1828,1868,1988,1764,1786,1720,947,369,434,661,752,595,427,414,356,412,413,561,716,491,285,321,274,315,328,373,667,1120,722,409,349,393,274,347,454,387,424,430,466,466,362,349,782,522,248,340,443,428],[381,352,309,343,309,308,430,488,473,802,1196,619,408,720,868,971,987,822,586,1550,1566,776,747,439,439,559,493,450,393,392,412,494,556,815,1572,1256,329,486,552,552,537,412,358,367,369,396,402,331,375,449,456,423,447,392,326,352,403,346,331,325,377,469,471,377,466,582,495,361,331,324,423,439,402,287,232,215,220,232,249,269,271,248,237,240,257,248,244,252,270,274,284,290,293,310,306,305,291,304,312,283,297,346,549,593,543,463,355,292,275,266,290,292,239,230,208,335,504,578,553,687,879,700,523,495,468,557,551,968,966,724,727,933,851,1114,1280,1088,1182,1354,1090,845,464,412,407,442,383,376,422,467,477,446,579,816,855,1074,653,535,576,793,653,535,614,650,537,599,731,753,879,879,916,955,772,730,666,1410,1334,1052,927,593,419,438,430,316,304,238,237,268,386,689,754,889,1040,969,714,479,535,1114,1508,1498,1340,1064,1102,1146,998,749,531,529,818,1044,1058,720,580,680,885,973,1062,1164,835,1142,1594,1316,1070,1114,1182,912,703,1024,1212,1378,1338,1338,1122,1056,824,988,1256,1100,1174,1366,1322,1542,1406,1234,908,715,558,401,449,512,852,1234,1546,1724,1692,1600,1352,1276,1860,1930,1308,777,756,1152,1230,1070,1198,1202,928,622,416,538,587,644,637,587,647,688,748,894,1052,1186,1640,1692,1632,1412,1122,897,543,318,331,610,1270,1005,508,563,637,907,890,1062,787,503,562,452,278,266,302,354,421,727,963,814,653,470,601,935,1001,1106,1218,1040,1080,1162,1048,1096,984,707,415,293,410,1064,1402,1572,1598,1260,803,1004,1230,1298,1090,1218,1354,897,745,997,1332,1100,1082,1448,1482,1296,1532,1570,1306,1216,1204,1130,1022,1162,1622,1940,1772,1654,1968,1454,630,462,540,562,677,985,1088,690,569,483,400,431,423,415,752,1334,1298,1122,1512,1392,920,518,513,1042,1070,719,529,480,539,460,377,397,406,547,673,695,670,728,861,1162,1128,997,1006,966,669,581,742,905,815,813,856,1108,1054,673,418,329,339,325,359,379,342,384,393,415,481,748,651,505,496,551,574,761,805,465,500,833,1172,971,1174,1406,1886,1506,1266,1011,1078,1290,1012,686,553,448,397,365,415,603,504,332,293,275,429,559,601,741,835,669,358,263,325,417,440,482,552,528,703,885,719,649,990,960,916,1028,1238,1598,1694,1258,678,636,973,1170,1218,1138,869,655,802,964,793,1178,1200,1184,872,811,846,754,932,1240,1250,896,814,838,583,564,748,805,803,940,907,683,528,530,510,720,862,806,1070,1150,799,982,957,1001,1422,1468,1554,1250,800,611,619,776,785,946,679,890,874,1001,1452,1488,758,265,281,306,575,843,585,411,546,780,1016,738,689,854,838,661,822,835,548,541,519,420,381,418,353,321,316,361,593,838,979,851,581,899,1324,515,384,362,300,282,386,324,449,659,747,682,762,1012,1044,966,1174,1124,963,1090,1042,582,419,451,655,882,946,1144,1252,977,780,575,801,684,563,472,689,948,1066,1250,1076,1000,979,583,678,855,1188,1178,1178,877,828,991,909,963,1188,1100,1014,868,946,1138,1246,1072,879,981,960,1021,1007,799,742,1046,1206,797,749,804,869,930,1106,963,1058,1192,1050,806,468,471,645,540,502,373,369,408,520,720,912,958,814,561,420,432,525,558,816,990,704,511,491,623,576,497,439,415,456,465,381,354,375,464,457,481,453,583,515,607,560,414,490,490,404,382,430,404,359,354,345,355,363,393,380,356,347,328,309,323,321,315,330,397,412,608,491,362,350,433,482,492,477,412,345,388,405,430,460,464,421,341,339,360,405,435,415,442,476,420,403,428,411,423,372,378,602,1150,1392,1174,1050,849,531,478,477,434,512,639,667,634,727,1013,1438,1470,1158,926,630,532,558,668,1382,907,538,639,725,828,844,966,916,995,1138,880,491,771,1004,661,908,1260,1556,1566,1042,850,755,538,805,1242,1322,1250,1326,963,854,681,605,574,568,638,568,480,376,383,381,606,814,560,726,1132,2074,1748,954,1015,1144,1074,1058,1388,1390,1346,1546,1548,1268,1078,1100,1172,1372,1390,1178,709,634,803,1092,1094,1100,1110,871,814,1104,891,753,785,710,546,496,524,504,514,1068,1272,1232,1138,1144,1188,714,821,1150,714,491,836,1034,1510,1142,1366,1170,703,1150,1466,1234,1522,1584,1270,980,1252,1214,1228,1050,752,620,767,798,996,1104,882,596,418,431,396,396,396,419,383,392,412,412,404,396,387,377,364,339,323,333,339,354,361,335,307,280,283,297,294,278,269,280,283,286,286,280,273,272,266,296,290,273,279,285,286,268,280,289,287,286,287,280,285,291,288,283,272,260,268,276,282,298,322,308,303,297,292,279,279,281,306,301,278,278,263,259,262,276,283,273,286,305,289,278,313,377,504,607,495,454,436,492,631,614,486,406,387,445,493,538,612,570,440,339,395,514,427,325,371,388,367,329,289,279,285,297,316,326,338,347,338,330,327,430,538,715,1158,1584,1816,1828,1452,1064,1068,1294,1542,1672,1724,1622,1484,1492,1556,1354,1228,1326,1670,1842,1142,523,445,469,393,361,364,397,534,633,855,952,801,629,615,767,941,994,1004,1038,1032,1556,1700,1122,514,390,540,566,625,658,821,1438,1414,1382,1418,1420,1238,662,444,464,832,1384,1238,1114,1332,1154,1032,999,1418,1550,1160,1170,1256,1344,1216,1174,1228,1316,1454,1608,1592,1462,1592,1684,1808,1582,1148,1116,982,673,1026,1674,1466,1366,1058,827,786,948,778,575,747,840,1038,1378,1388,1396,1692,869,590,525,623,581,585,474,309,329,357,350,326,314,337,314,326,302,294,326,334,346,367,371,368,335,338,385,369,381,384,366,332,294,251,260,307,319,364,384,358,366,339,323,333,348,570,508,371,360,403,574,756,914,982,847,1286,965,965,1088,913,1108,1404,1478,1490,1448,1368,1356,1046,741,1122,844,479,433,407,449,459,417,411,401,371,379,467,641,891,908,504,1017,1014,705,597,706,1072,1306,1610,1490,1148,985,1082,1174,1118,868,847,791,968,1266,1046,574,616,548,633,1142,1398,1524,1810,1712,1030,764,1026,780,1470,1498,1005,1218,1338,1366,1246,1278,1246,1108,1122,755,657,760,933,1156,1260,1048,623,598,601,538,559,797,811,995,668,576,484,625,747,650,681,372,369,437,415,456,528,645,987,1280,1234,1320,1306,1168,1394,1566,1562,1478,1698,2042,1880,1486,1378,1452,1472,1576,1596,1260,1150,1052,639,479,406,364,338,335,461,971,1276,1272,1266,1318,1268,1080,1100,1056,951,1100,1502,1814,1866,1362,852,1270,1578,1168,1194,1336,1208,1332,1282,1310,1122,1186,1300,1358,1346,1380,1350,1054,1086,1274,1102,1048,935,706,475,489,950,979,875,1018,1034,895,1106,1418,1258,1302,1118,1076,1214,1582,1082,812,1036,943,877,620,402,369,304,392,363,375,437,582,775,626,465,450,444,547,885,1302,1640,1354,1004,1030,1278,1406,1100,770,990,1248,1032,973,1094,1210,1132,850,652,575,566,541,492,639,642,652,542,653,705,490,484,500,485,570,758,712,1080,1322,1328,1092,1100,1108,1388,1718,1514,1206,882,739,530,725,869,506,372,878,756,565,800,1040,1168,1042,776,971,1228,1002,664,734,939,601,374,277,283,307,335,669,1004,825,485,331,388,781,841,513,443,738,830,560,373,585,1106,1302,1042,994,1012,943,611,778,789,591,734,753,589,499,387,284,286,265,290,361,360,542,1106,958,1012,1188,933,466,592,681,877,1100,777,1208,1650,1168,650,376,332,344,368,335,819,968,613,1088,1326,1050,691,687,834,544,511,580,616,529,428,410,419,367,294,314,347,465,713,781,419,324,468,999,996,504,332,336,454,408,363,514,515,624,786,756,560,439,458,404,385,769,1498,1864,1892,1918,1774,1858,1646,1052,477,301,265,252,248,263,308,296,372,366,376,311,367,398,491,435,338,298,396,523,544,603,823,501,332,470,525,413,348,499,755,1003,1010,610,314,437,508,388,672,728,874,1354,1218,788,601,356,373,404,456,581,432,350,281,281,305,368,379,352,265,217,216,223,224,250,228,297,658,1252,974,517,567,551,400,386,637,1570,2204,1906,1400,1552,1954,1996,1938,2002,1998,1954,1980,1664,763,421,386,452,460,522,368,284,480,588,603,938,924,830,866,583,361,350,487,800,935,1244,983,659,641,528,322,387,498,389,436,453,495,451,363,448,581,473,379,517,547,330],[492,437,335,320,356,339,337,357,389,727,1176,651,429,506,840,901,789,651,729,1270,1186,797,664,500,487,484,492,526,546,510,549,624,624,590,804,794,300,317,338,327,336,337,363,403,436,499,480,405,387,433,489,419,378,333,321,373,411,350,312,302,331,404,412,393,377,440,596,572,365,288,334,337,256,239,250,254,262,264,273,278,273,269,268,248,239,232,246,261,313,350,326,322,338,307,311,427,412,390,335,290,291,322,352,359,392,430,427,334,269,218,229,251,230,245,280,339,453,496,596,699,558,561,698,515,512,605,503,854,1034,941,1136,1262,1262,1644,1322,929,948,1003,863,708,407,362,336,404,438,441,443,469,487,428,613,761,639,1102,1090,1326,1432,1394,1286,974,752,670,483,597,659,654,791,805,951,900,775,843,1000,1482,1534,1576,1290,834,641,552,432,255,259,228,269,356,426,434,472,622,673,789,761,866,763,980,1202,1116,1014,1198,1174,850,894,1040,886,1026,1404,1364,1232,661,550,522,863,1240,1004,1392,1390,1242,1270,1106,1010,880,622,654,940,1023,1138,1188,1336,885,1056,1208,833,1078,998,490,529,703,913,1148,1324,1132,872,1108,749,410,403,562,1098,1360,1542,1618,1576,1600,1522,1102,1834,1824,1490,901,466,750,1050,1026,1136,1314,770,344,572,921,1020,1194,850,427,433,605,697,853,1108,1324,1498,1454,1584,1172,836,581,386,427,536,697,847,726,669,821,917,1284,1014,1216,1120,678,421,293,344,375,304,249,367,779,911,581,519,539,750,1242,1028,902,902,571,518,731,968,1030,522,434,362,296,523,885,864,974,1082,764,683,716,985,1314,1328,1534,1396,868,697,878,1186,1236,984,1054,1174,1210,1418,1270,1248,1194,1434,1372,1268,1142,1014,1356,1490,1472,1470,1042,593,469,523,444,471,571,719,653,526,432,473,598,788,928,1086,1762,1658,1088,1130,1026,1021,709,510,1015,976,739,913,718,542,460,429,473,410,553,661,959,962,924,1114,1074,951,972,1128,1282,732,616,917,952,1256,1294,1090,1278,1330,902,401,290,301,285,319,337,307,393,397,505,850,1130,1013,684,560,594,606,750,612,401,383,425,547,478,647,615,929,1144,1152,1104,1340,1284,1234,1062,651,460,360,331,368,493,411,316,278,284,330,301,360,597,807,459,335,331,422,430,436,491,511,447,528,752,597,550,811,982,1244,1170,1224,1548,1560,1140,898,704,674,670,745,1160,1338,1208,1328,1454,1328,1356,1242,830,771,1230,1282,1074,1104,1108,1034,1266,1016,639,456,721,1032,973,860,980,1034,673,448,441,477,564,520,774,1076,1126,1106,1126,727,567,947,1246,1108,955,761,771,567,625,631,567,902,1224,1090,908,890,999,722,427,567,629,1062,1278,598,410,859,1152,875,698,766,902,786,493,460,495,460,464,460,337,336,348,283,301,350,559,1030,1218,1026,658,680,1184,1070,589,463,392,305,444,494,362,534,803,623,514,777,1060,1210,913,1350,1600,1390,1028,882,877,559,361,469,616,637,853,821,937,957,533,651,755,851,903,1186,1468,1356,1066,841,852,740,757,993,1000,1072,1360,1264,1074,1256,1300,1068,966,1030,1228,959,658,785,888,1124,813,728,1030,1036,992,1014,793,987,1184,1116,993,1118,915,909,1148,1230,909,1030,1110,760,567,439,447,658,545,585,778,662,472,651,744,763,716,552,420,443,516,505,474,507,687,743,763,756,594,484,454,454,393,430,558,454,393,437,473,481,514,836,971,550,474,484,480,474,486,372,343,348,364,357,349,354,362,394,434,431,398,368,349,337,329,333,327,409,550,470,437,410,368,379,409,498,495,455,433,407,466,433,402,415,408,366,344,344,359,440,494,434,439,469,449,430,414,377,401,381,364,427,574,689,878,1116,846,474,453,402,390,463,563,716,867,1224,1542,1518,1384,932,772,817,628,685,786,1318,1228,890,1042,1202,950,614,773,1030,835,617,469,385,581,779,800,1266,1382,1606,1552,956,1066,1166,957,1168,1224,1122,1348,1434,839,530,700,814,752,851,993,916,589,415,370,322,356,364,356,373,573,1090,1146,944,1206,1496,1544,1210,1030,1072,1144,1372,1516,1156,1000,1112,1328,1340,1396,1418,811,723,1132,1138,1058,1260,1262,743,849,1156,967,926,739,691,667,564,554,521,491,886,1044,1030,1036,1132,990,593,745,1188,1038,841,625,607,893,926,1026,888,788,871,892,1436,1904,1586,1348,1404,1234,941,969,716,462,457,568,569,704,827,554,404,384,404,382,399,390,410,397,401,409,400,385,375,368,351,341,331,307,307,333,323,302,293,288,280,274,290,307,303,275,278,275,282,288,287,280,280,268,274,281,278,272,276,289,289,274,278,278,289,287,281,282,291,295,285,279,280,284,288,287,300,283,281,287,284,285,277,273,284,306,303,270,264,262,244,263,286,278,264,279,294,296,298,464,761,749,540,371,416,405,380,437,412,362,339,310,321,352,432,491,549,500,399,607,586,389,323,349,370,359,321,308,310,310,309,307,328,348,356,341,354,380,527,733,1224,1650,1744,1792,1442,1252,1382,1560,1698,1606,1478,1400,1260,1228,1396,1406,974,1050,1388,1632,1648,1308,707,488,452,470,595,600,684,893,630,608,1172,1284,647,894,1146,1110,949,1042,1316,1498,1542,1518,1126,664,408,531,531,501,513,650,1510,1532,1178,1042,1168,862,301,392,542,894,1588,1274,1218,1418,1178,1282,1126,976,931,1072,1244,1228,1284,1226,1290,1260,1006,1430,1426,1202,1262,1490,1674,1858,1684,1158,952,1102,1044,1062,1748,1644,1514,1148,640,786,955,799,752,857,1092,1228,1506,1452,1466,1290,1390,1196,575,480,449,429,371,298,318,360,372,318,304,329,326,323,374,344,314,310,314,355,380,390,385,348,337,340,362,388,374,341,327,317,304,327,323,338,393,413,377,398,340,371,400,384,370,362,369,366,430,685,892,1146,1096,1348,1238,954,804,801,1138,1520,1620,1502,1328,1036,958,966,717,1168,905,602,545,427,389,431,464,429,403,417,387,369,503,568,573,515,832,756,568,533,551,641,871,1106,810,601,417,466,396,623,448,350,624,861,1384,1370,595,677,1062,1362,1538,1296,1294,1262,1410,1250,949,1032,1094,1532,1526,1228,1450,1356,1150,1106,1224,1450,1312,1222,702,392,330,544,1007,1132,968,616,532,838,1026,1050,993,1100,1072,924,753,522,552,485,688,1021,816,1346,818,522,416,608,849,1042,1202,1194,1636,2206,1588,1322,1492,1362,1534,1918,1908,1656,1636,1312,1202,1132,1294,1628,1264,1096,1040,749,529,433,381,368,626,1080,1500,1344,1236,1460,1240,733,790,1017,771,816,1144,1560,1826,1656,1380,1458,2344,2194,1240,1236,1440,1290,1356,1202,1260,1180,1172,1322,1432,1342,1372,1226,959,1208,1262,1074,1222,738,454,401,387,935,1556,1522,1132,990,905,1192,1116,1122,1380,1162,783,770,851,675,636,761,761,769,584,403,404,392,440,356,346,348,415,486,366,426,568,533,788,1246,1284,1484,1202,689,877,1098,1204,1168,1140,1060,714,886,1344,1312,1280,1222,1018,942,1096,917,659,738,963,849,541,323,407,496,416,434,417,513,605,663,994,1444,1490,1598,1404,1244,1034,1066,1272,1562,1566,1302,982,801,813,863,563,307,528,756,951,1088,1322,1172,724,548,1005,1030,971,991,734,596,544,410,352,363,422,546,941,1072,816,419,366,493,898,810,564,479,411,338,344,573,1050,1406,1294,1216,1354,895,579,396,451,369,296,282,252,227,256,354,379,381,361,292,326,322,381,677,745,865,1392,1194,979,1300,913,807,1010,1076,1626,1246,957,592,348,326,317,402,511,773,987,741,1640,1978,825,498,966,1104,826,569,502,567,401,374,508,455,359,335,342,337,396,521,442,368,551,742,764,546,315,320,327,547,409,479,518,405,370,494,576,465,469,639,584,481,688,1694,2160,2230,2188,2020,2030,1960,1294,483,323,315,297,256,250,302,406,509,434,370,338,390,474,438,318,450,671,494,524,655,547,873,714,522,698,814,594,400,495,669,742,737,662,542,570,648,418,422,665,757,1001,1208,1124,991,612,470,459,495,471,416,326,309,409,524,467,415,344,291,262,248,226,237,323,253,222,708,1204,727,420,543,480,444,653,1708,2460,2280,2272,1652,1394,1842,2008,1946,1994,2024,1982,1930,1656,727,500,455,530,727,829,656,464,601,821,741,993,858,602,594,427,430,377,350,388,825,1158,724,678,865,625,290,305,393,543,802,789,559,410,359,393,390,349,443,487,379,302],[492,481,428,362,418,420,357,381,385,720,949,615,418,464,573,623,626,681,912,1130,1013,871,580,506,515,566,617,618,589,579,656,663,588,530,575,491,367,357,365,371,374,365,351,366,469,497,422,373,385,378,433,453,421,378,402,445,423,355,310,300,329,395,436,436,404,350,458,662,497,326,270,276,259,235,246,260,264,267,274,258,255,261,263,277,271,254,257,284,329,354,307,293,354,359,375,424,345,290,273,284,300,322,349,373,370,350,331,226,236,236,239,238,267,331,409,483,469,422,548,795,625,490,619,510,486,594,546,665,869,696,891,1290,1188,1230,1184,755,608,522,604,675,470,478,567,447,468,527,518,493,599,552,854,795,646,785,744,1168,1428,1658,1734,1118,535,492,515,615,604,682,824,719,695,687,739,818,1286,1546,1250,1296,911,604,559,666,525,318,246,250,274,431,539,455,620,844,532,647,824,1346,1164,819,860,1116,1206,1174,1046,1044,850,835,989,1200,1388,1288,1044,634,497,416,821,1324,1384,1558,1736,1518,1212,1082,1062,786,419,482,812,1242,1452,1466,1160,743,1156,1070,499,695,513,310,319,460,587,1246,1116,758,1146,1272,774,474,574,1022,1510,1442,1324,1206,1392,1310,1516,1446,1170,1086,1122,789,602,676,1088,891,1160,1422,822,527,786,977,983,991,843,539,282,497,893,1172,1042,1258,1230,1254,1162,1300,1262,1005,983,1020,1098,1096,893,927,908,729,775,1030,1032,1262,1252,851,673,618,448,438,374,338,358,455,508,572,787,1082,1092,935,625,738,866,510,518,1066,1076,874,508,391,452,557,868,957,700,770,753,480,500,680,1160,1400,1428,1514,1554,1650,1360,980,1066,1062,885,1180,1146,1160,1354,1138,938,1354,1484,1272,1064,827,1162,1464,1294,1168,968,711,584,486,491,541,697,880,982,855,601,443,552,735,1148,1220,1016,1050,836,724,773,848,1040,811,508,873,1090,1021,1430,977,609,626,542,620,556,477,592,865,976,875,742,742,920,1058,973,1148,747,526,588,717,1022,1086,1007,954,899,801,519,298,279,292,298,307,336,333,301,469,701,778,620,429,422,496,583,623,498,566,411,347,332,311,271,343,918,1422,1096,1004,1720,1766,1478,1358,896,689,472,339,383,404,342,332,325,323,318,320,352,365,385,291,279,267,348,394,458,472,456,420,501,794,675,474,527,686,1026,1348,1568,1674,1304,905,920,1015,1016,740,575,1004,1074,1310,1540,1278,1134,1040,1006,1010,1130,1168,1224,1266,969,791,1026,1028,620,661,581,513,623,723,936,1166,781,469,375,340,633,986,866,799,706,695,972,902,688,644,755,1064,955,1070,813,979,642,447,631,876,803,839,998,757,525,489,543,693,984,1006,1232,1460,828,607,958,1078,963,908,784,666,532,372,392,415,330,396,403,361,337,327,303,326,339,603,1110,1130,824,959,999,1428,927,541,462,385,305,273,323,400,475,540,448,538,619,913,990,1010,1252,1426,1326,915,1058,1220,763,336,333,319,320,663,777,1098,969,710,766,924,1262,1440,1366,1106,1024,1042,704,697,636,749,883,1064,1286,1418,1358,1414,1158,992,1136,714,814,1230,796,837,812,836,1140,949,877,1156,1172,1254,1238,907,1122,1234,1088,912,1058,1054,1032,1186,1260,1348,1718,1322,870,482,469,436,534,586,921,1196,875,744,666,479,429,398,546,694,653,464,502,475,453,489,594,1152,1222,652,530,487,476,447,478,594,484,393,448,461,455,553,986,1038,726,514,520,495,420,458,384,369,369,367,353,335,336,355,390,410,403,391,377,374,387,397,415,444,502,488,418,425,457,407,353,420,574,539,511,507,557,643,577,446,379,342,358,387,385,404,477,527,522,498,462,441,401,370,373,391,389,356,367,333,342,455,664,1140,992,644,484,550,646,838,1202,1666,1924,1782,1206,1278,1006,1058,908,832,1262,1146,1254,1430,1512,1640,1190,1118,745,554,538,405,399,467,478,581,885,1298,1344,1226,1500,1258,919,1174,1210,1200,1184,1078,1198,1122,858,530,381,491,623,871,1100,1008,1092,531,630,557,324,308,408,430,321,351,655,1074,1180,858,1036,1302,1196,1026,1128,1034,1198,1454,1342,1380,1320,1382,1028,1136,1218,932,892,934,712,871,1136,1013,628,957,1110,944,870,577,487,520,512,583,590,550,748,811,826,930,1020,610,458,718,1048,789,689,614,621,606,548,480,434,622,1034,1208,1252,1124,1156,1118,1322,1036,763,707,545,474,494,479,473,475,452,418,425,420,431,404,372,386,411,404,406,400,392,382,376,355,327,329,321,314,325,303,278,282,279,270,276,259,279,287,294,283,279,272,270,286,292,281,278,268,274,267,272,258,268,280,289,292,285,288,288,279,268,267,290,304,293,287,297,304,299,298,296,289,284,271,264,271,284,297,297,301,296,256,249,257,254,268,280,268,274,293,308,349,492,749,620,395,316,365,403,352,342,382,381,345,310,309,312,303,299,349,445,421,315,398,445,370,331,343,342,370,351,331,321,316,325,339,348,330,344,359,372,503,746,1154,1494,1532,1644,1548,1382,1594,1704,1786,1708,1502,1376,1270,1246,1260,1346,1526,1086,1350,1510,1600,1816,1482,755,471,469,572,800,1078,1804,1874,1130,1302,2016,1788,897,1074,1196,902,634,896,1390,1402,1366,1476,1136,798,389,473,531,750,917,868,1426,1616,1326,1446,1182,684,411,437,849,1362,1396,1144,999,954,1154,1318,1082,992,976,1112,1210,1358,1614,1290,1224,1220,1096,1013,1170,1198,1164,1284,1400,1684,1704,1396,1296,1496,1256,985,1408,1514,1408,1248,1066,777,590,806,897,1172,1136,1278,1390,1098,1306,1322,1594,1242,691,519,574,422,389,382,394,425,388,322,336,369,344,302,301,300,299,283,302,300,344,430,403,374,365,346,352,380,383,371,371,360,341,302,311,340,352,368,380,411,408,398,360,400,395,364,375,375,403,662,965,1278,1100,1232,1414,1088,678,789,1116,1318,1538,1374,1256,786,456,763,558,854,781,510,442,390,385,441,447,451,497,419,404,383,381,361,375,384,399,415,463,494,494,554,628,855,638,685,508,343,361,571,570,440,653,880,1330,1748,1218,1432,1692,1576,1502,1322,1324,1482,1532,1338,1178,1198,1280,1378,1274,1314,1300,1284,1350,1332,1194,1174,1220,1284,1030,616,587,604,1032,948,947,1096,602,675,969,1108,1232,1200,969,940,649,479,742,804,973,1106,845,927,682,466,388,661,1040,1090,1200,1074,1324,2386,2366,1400,1362,1272,1696,1528,1264,1358,1140,1122,1522,1380,1316,1802,1326,1040,852,739,672,506,423,411,823,1476,1400,779,755,1204,978,403,441,952,699,836,979,1156,1368,1238,1006,1064,991,713,985,1056,1184,1302,1406,1208,1256,1270,1042,1230,1532,1588,1588,1548,1230,1216,1284,1005,883,556,410,444,565,939,1522,1706,1508,1198,1110,1242,1338,1478,1592,1236,684,661,879,754,500,596,849,748,565,443,350,412,426,742,785,450,314,451,478,480,818,818,1024,1484,1252,1396,1210,575,760,819,796,732,577,446,515,1076,1434,1224,1176,1310,1222,1268,1450,1154,701,579,727,657,413,286,401,675,544,578,803,996,799,441,816,1240,1266,1068,1144,1312,1068,800,973,1278,1538,1576,1360,1100,931,742,473,376,481,908,1462,1396,1582,1092,854,758,655,442,742,1094,788,568,739,626,360,487,705,611,792,803,432,321,436,938,1342,1030,593,435,362,416,633,983,1462,1426,1302,1382,1414,1400,1062,581,322,236,247,288,314,299,329,376,357,322,346,315,314,357,452,708,853,797,890,702,810,1058,884,843,980,1040,1316,1186,717,409,368,395,372,405,537,806,1146,911,1344,1166,547,440,725,965,885,586,583,582,409,512,586,348,365,366,342,369,323,552,776,715,794,678,467,395,332,353,352,590,445,410,387,349,313,417,589,617,553,610,650,699,892,1692,2088,2144,2110,2034,2012,1948,1256,469,334,273,265,254,505,565,486,488,429,378,395,395,458,566,637,1268,1444,623,335,433,517,910,866,468,565,688,555,500,565,811,885,768,794,1192,1096,860,511,453,861,891,891,1002,1180,1172,980,761,555,487,489,461,448,520,686,955,930,750,411,301,215,182,204,260,293,257,275,827,1114,462,430,647,634,889,1446,2236,2058,1994,2294,1882,1502,1808,1912,1974,2010,2040,1946,1950,1524,791,605,502,424,444,669,995,716,427,500,663,1002,1560,954,525,466,573,698,854,1030,1188,1238,641,629,544,428,821,919,689,1023,1266,802,486,477,390,394,407,321,335,299,270,309],[457,487,448,366,432,409,336,335,396,558,629,502,444,474,444,453,513,560,668,797,1116,788,552,455,538,684,706,664,667,688,632,568,507,543,562,512,427,408,401,391,396,411,351,354,403,358,353,386,371,408,507,603,545,411,414,476,445,364,324,314,292,334,376,397,350,386,395,544,656,508,284,244,241,225,240,265,282,284,307,298,287,272,265,273,254,251,245,264,273,342,353,390,444,521,484,354,286,272,292,328,390,449,396,346,394,405,453,293,270,301,299,355,419,466,533,699,691,536,425,529,547,561,540,512,473,415,372,439,525,544,568,705,622,650,725,573,459,480,1011,1208,685,654,785,655,612,546,491,627,647,617,822,701,743,660,501,896,1308,1086,922,766,477,515,548,555,566,691,732,637,607,724,771,905,1466,1252,733,783,735,473,534,921,681,349,260,278,252,312,473,636,715,658,525,606,607,877,1130,1005,1190,1228,980,842,905,1042,602,465,686,1044,1324,1174,1188,1058,560,375,765,1356,1432,1562,1786,1306,1140,1168,916,483,404,579,892,1168,1278,1344,1286,1302,1488,1146,805,709,516,455,759,1200,1278,1456,1178,1142,1498,1118,1238,2022,1478,1494,1166,1228,1198,1364,1384,1066,1220,1556,1506,1364,1298,1086,904,901,1072,828,1406,1418,1012,710,805,1070,1005,946,534,401,331,846,2644,2116,1220,1090,1104,818,611,1028,1372,1296,1256,1072,1168,1172,1005,1430,1364,966,863,742,650,914,949,931,1302,1160,591,419,329,335,325,339,399,871,1238,1342,1188,985,1086,1182,1116,897,713,969,928,918,630,540,866,1132,1152,1021,1044,1162,1106,672,703,642,753,997,979,769,1019,1338,1222,906,696,984,1062,1032,1122,1094,1598,1728,1214,1150,1282,863,729,973,1066,781,1054,867,603,428,466,512,1104,1422,1212,1036,873,821,665,495,651,604,1086,1072,1112,952,877,857,866,891,700,394,384,692,1228,1408,1448,818,662,703,841,940,702,524,606,770,951,914,788,549,567,823,861,1110,831,505,392,655,963,942,883,980,1204,1296,843,384,448,491,415,339,313,274,266,401,539,559,430,415,407,649,1288,1318,774,800,776,700,562,369,296,436,1044,1262,1154,1188,1786,1710,1586,1412,1166,1058,837,584,526,495,435,365,360,355,398,346,386,355,287,265,250,303,379,394,418,368,356,423,486,663,556,481,495,589,832,1342,1770,1754,1386,1208,996,882,1084,819,502,668,828,1198,1232,1168,1120,1104,1336,1396,1338,1490,1926,1644,1128,902,1092,838,547,599,504,495,669,735,781,918,573,414,478,797,896,1096,1126,727,416,397,429,579,920,1032,1130,1040,987,927,998,1092,792,508,559,750,847,1019,1014,635,555,455,501,868,1088,896,1028,1178,830,584,678,714,850,1116,1144,703,540,443,495,446,389,416,426,446,377,314,346,340,336,729,1104,1034,626,743,1216,1410,970,578,316,299,256,265,366,382,346,527,752,783,829,1038,1058,1022,1058,1146,960,947,1142,1128,803,331,265,307,430,659,924,1168,821,550,688,1238,1656,1602,1140,692,832,1240,897,794,695,476,642,960,1228,1188,1272,1386,1060,943,1084,866,1116,1058,749,981,1036,1062,1144,1202,1130,1032,1108,976,1046,800,904,1034,1001,1092,1236,1252,1098,1007,1009,988,1306,1272,1574,979,596,503,659,824,1202,1346,1166,1058,672,516,478,430,606,898,798,601,516,550,703,561,455,687,902,572,520,455,458,493,487,514,480,482,493,487,497,473,472,608,753,511,408,395,385,392,404,411,380,365,384,354,346,331,370,436,417,379,364,362,384,419,449,476,419,367,355,396,470,451,407,612,642,687,707,694,651,653,640,493,388,357,391,373,372,392,385,429,466,493,473,420,391,390,379,371,379,376,377,356,378,380,386,725,1042,1060,971,963,1094,1202,1382,1684,1780,1642,980,1208,1224,1118,938,891,844,769,1068,1458,1550,1458,787,1044,1134,869,778,997,974,745,761,924,844,1296,1316,1158,1146,1140,1212,1232,956,1046,904,936,1036,666,425,357,313,415,496,647,1126,1272,875,620,958,749,399,325,341,324,319,448,529,978,1156,653,798,1242,1278,932,678,628,803,901,846,1296,1316,1362,1470,1504,1462,1276,1005,635,478,456,804,959,644,924,908,831,1200,977,604,717,1106,1344,1074,675,714,772,742,528,745,654,731,782,525,396,402,393,371,370,393,376,355,460,920,1208,1108,1164,1062,1074,1334,1216,804,504,458,568,675,615,636,515,427,406,440,454,431,397,363,386,423,407,396,388,379,373,382,351,309,328,331,349,350,300,276,275,278,258,279,264,271,272,281,285,275,268,274,287,279,287,279,268,268,267,291,263,269,270,259,269,283,285,287,284,267,256,263,271,277,280,289,282,286,299,287,278,270,263,257,269,278,281,308,301,294,252,241,256,269,279,269,274,304,317,317,475,721,640,380,314,293,342,372,340,337,345,349,311,277,290,303,307,307,319,333,315,296,303,315,317,312,336,327,355,364,320,320,332,338,368,363,351,376,400,472,658,1100,1466,1526,1660,1718,1594,1684,1820,1760,1522,1414,1460,1476,1376,1488,1356,1250,1488,1354,1364,1404,1414,1608,1316,789,784,761,661,961,1372,1540,1362,1328,1660,1800,1328,1017,1098,996,771,502,708,1142,990,836,843,826,803,482,566,671,880,967,813,1238,1728,1450,1522,1362,743,543,895,1148,1212,1224,1022,810,831,1048,1068,848,953,979,1210,1384,1570,1324,1260,1382,1250,1164,1226,1340,1178,1194,1200,1168,1528,1644,1738,1532,1220,1150,1118,1296,1376,1220,1392,1594,1144,866,1244,928,1090,741,719,1018,1032,1136,1332,1338,1478,1046,495,605,697,595,582,484,473,410,352,412,406,318,302,299,297,302,282,277,288,330,458,426,448,480,414,365,362,367,364,342,297,332,320,323,329,386,375,321,368,483,468,331,357,379,377,346,371,429,612,860,1096,1038,1064,1378,1302,859,717,841,1010,1402,1430,1216,647,322,398,361,617,727,528,421,390,392,534,495,480,418,388,600,568,431,365,367,402,418,436,463,480,425,414,458,821,688,662,621,422,364,674,715,347,381,583,1086,1748,1656,1480,1208,1013,831,1013,1402,1548,1698,1736,1538,1560,1300,982,1152,1416,1206,1224,1318,1318,1284,1252,1204,1026,747,779,838,552,708,1240,1410,1384,763,650,906,980,1142,1122,938,809,683,536,502,692,924,969,931,835,557,549,595,661,932,836,1078,1066,1074,2058,2554,1588,1340,2322,2648,1574,880,1144,1132,1264,1954,1772,1284,1678,1478,1050,734,617,586,478,452,417,561,1064,1136,774,679,893,644,393,409,681,946,1196,1250,1192,1208,1144,754,904,991,993,860,775,1013,1252,1326,1044,1056,1244,1408,1466,1382,1416,1466,1384,1152,1088,1374,1138,1019,822,689,734,940,1250,1324,1128,1034,1140,1046,988,1220,1400,1560,1026,526,591,854,992,540,429,440,627,502,376,328,388,504,1018,1038,566,428,637,653,505,779,725,755,1062,1294,1372,1142,771,794,838,754,792,657,871,1072,971,978,1224,1400,1282,1046,1140,1040,841,657,399,492,446,379,457,632,1054,1116,1176,1334,1430,1044,531,535,902,1078,919,1328,1434,1086,690,720,966,1258,1488,1574,1418,1132,838,668,533,583,735,1194,1408,1432,940,714,665,531,539,921,1384,1230,695,1044,1100,634,603,555,406,416,443,349,304,370,590,861,1022,735,761,918,1136,1614,1608,1430,1334,1416,1296,1478,1588,1248,850,339,294,306,318,287,265,283,291,402,681,856,641,497,752,781,877,1114,939,1003,1006,594,461,665,1060,1188,1040,1170,1118,844,639,681,712,611,623,657,810,1102,1060,832,886,968,627,532,574,577,498,501,529,521,548,658,436,351,415,381,354,424,782,1004,835,572,371,363,403,329,280,426,647,623,557,462,405,378,527,627,750,740,695,927,947,1056,1314,1594,1908,2002,1926,1960,1668,826,370,291,268,288,275,352,374,397,440,418,413,499,452,379,455,603,1302,1360,735,512,554,620,833,666,483,483,458,436,532,677,455,468,518,522,758,987,963,602,496,448,581,561,719,924,993,1009,800,556,507,496,491,525,735,800,1052,852,580,564,463,437,344,244,300,285,258,300,628,740,399,416,594,632,1228,1786,1960,1996,2002,2214,2070,1700,1834,1910,1828,1856,1932,1792,1786,1268,700,536,481,383,281,507,835,442,328,466,991,1005,1332,904,730,715,987,1244,812,798,1110,1018,781,1076,804,661,1422,1274,678,908,980,524,439,505,487,502,362,297,328,295,287,305],[458,466,385,328,393,351,376,371,401,542,702,544,481,474,505,520,772,742,798,731,820,654,454,412,510,568,565,580,616,628,670,625,523,493,495,418,371,397,455,482,492,505,359,385,395,364,360,443,447,408,466,625,591,401,372,445,457,420,369,339,386,419,377,388,482,561,514,514,588,576,486,302,239,245,253,274,289,274,335,367,344,312,289,280,276,272,273,274,292,378,418,698,827,814,700,420,376,379,330,381,427,503,381,370,410,669,962,566,332,412,432,502,551,589,713,898,1021,766,523,455,484,573,610,473,458,445,439,444,562,697,700,568,485,470,763,874,604,466,601,675,567,752,938,950,946,666,586,735,641,938,1100,783,700,839,919,901,1082,1102,1202,1015,941,1048,958,958,957,935,847,783,858,871,770,976,1716,1428,1007,1126,878,686,1172,1170,522,365,353,408,324,294,338,493,677,606,564,644,630,625,672,785,1138,1202,844,691,680,536,430,418,423,610,792,932,1090,813,727,647,784,1276,1172,914,948,586,566,702,564,386,443,757,1120,1142,1013,1066,1360,1264,1280,1176,1032,986,708,659,957,1138,1358,1328,1166,999,1174,932,1400,2054,1296,1074,866,1002,1112,1106,1058,1194,1250,1492,1570,1448,1406,1340,1230,1220,1084,1134,1044,717,843,909,1178,1560,1216,991,440,395,368,611,1854,1262,939,945,719,502,424,705,1196,1048,1232,1048,1142,1070,1066,1240,1122,1306,1310,930,751,848,752,1000,1128,915,677,441,357,354,367,477,527,770,1142,1292,1188,1158,1246,1364,1280,1132,772,856,967,1086,980,890,1070,1234,1038,1016,1282,1662,1662,1064,800,642,606,581,480,401,426,407,477,507,875,1492,1348,648,604,960,1434,1594,1274,1266,1154,784,1015,1016,869,721,849,649,485,410,418,444,1224,1760,1344,828,818,1122,858,666,860,955,1294,1316,1542,1414,926,739,897,1007,846,729,852,1102,1310,1300,1292,921,960,965,1104,1100,616,525,825,912,887,920,933,841,744,709,782,1122,1030,706,735,937,1030,980,962,1130,1438,1312,783,488,634,732,550,389,311,245,297,482,467,441,350,517,868,839,730,545,723,966,990,1208,945,367,391,898,1472,1522,1286,1390,1638,1626,1492,1362,1338,1338,1198,899,524,407,426,369,346,357,403,409,402,328,280,263,265,315,399,419,380,317,304,304,267,322,412,649,910,1128,1316,1642,1744,1602,1144,1342,1128,882,1102,818,520,517,736,1028,1082,1188,1040,814,1160,1268,1394,1206,1182,1038,1276,1322,1080,966,1126,952,803,653,703,783,931,831,616,372,508,927,1092,1150,929,608,670,490,487,575,807,926,1084,878,1244,865,667,938,796,452,580,1062,1234,1152,1174,772,653,592,551,577,762,889,1064,1158,789,473,678,866,1274,1268,1248,796,543,550,537,491,461,390,402,398,333,302,359,463,460,987,1054,695,584,831,1398,1232,616,300,214,235,228,308,319,289,344,513,607,962,1386,1296,951,1042,968,675,502,605,712,981,650,360,305,284,415,452,613,709,463,334,341,794,1328,1324,1114,1082,1050,1298,1292,1576,1418,716,847,1142,1208,797,856,1044,916,1003,1214,1210,1478,1260,1116,1284,1394,1314,1252,1432,1400,1198,1454,1374,1452,971,824,1108,1190,1226,1218,1036,910,1106,983,951,1042,1112,1106,1180,847,518,584,838,1180,1108,1076,1042,791,808,778,522,911,1007,612,629,613,747,909,642,512,679,747,511,486,454,451,467,445,389,359,472,519,484,472,470,451,535,727,603,501,518,481,429,422,434,434,479,463,384,371,336,413,496,439,368,386,425,402,368,409,429,397,359,389,454,489,444,519,623,609,778,832,739,618,602,646,484,371,373,409,360,371,415,385,370,426,513,506,442,423,391,380,428,397,363,373,376,388,368,403,438,602,947,1180,1260,1208,1182,1136,1274,1680,1350,874,1184,1342,1062,895,833,913,1120,1074,1434,1572,1256,584,540,641,627,1428,1838,1338,873,836,1220,937,1244,1004,857,933,1296,1362,1200,1102,1210,954,566,466,465,500,455,422,439,476,498,756,1068,820,705,641,418,302,292,340,371,341,313,533,828,628,786,1128,1256,1378,1160,678,491,513,600,740,1122,1072,1196,1686,1644,1328,1350,1176,771,658,639,755,632,633,674,660,1184,1728,1396,1028,1244,1552,1558,1314,761,656,727,841,778,819,708,524,378,371,400,366,379,438,430,407,374,386,406,717,1032,1142,1080,1062,1186,1216,1074,790,626,782,850,810,847,780,495,396,412,425,432,417,397,398,419,424,412,392,380,380,339,365,363,346,386,383,349,341,306,267,266,269,263,271,275,283,285,281,272,272,269,278,285,285,279,283,292,273,291,268,258,273,276,280,281,273,272,288,295,283,257,267,279,289,293,285,291,299,283,271,265,261,270,280,272,258,277,278,270,279,261,255,268,280,290,270,281,309,317,357,678,697,372,287,292,287,340,371,387,416,346,328,268,289,292,288,292,296,298,299,290,287,280,280,288,299,321,308,318,355,332,314,333,354,352,346,364,401,506,698,1100,1476,1496,1706,1892,1734,1742,1810,1598,1192,1170,1634,2098,1464,1500,1396,1216,969,1252,1460,1390,1430,1572,1698,1412,1146,874,781,822,923,1218,1336,1596,1694,1560,1154,791,939,1068,993,1148,820,619,1009,1052,894,692,747,791,505,405,500,543,563,595,1136,1786,1422,1334,1206,766,724,1108,1060,1102,1186,1086,1140,1182,927,962,1038,1206,1400,1470,1632,1500,1084,1168,1190,1044,1136,1338,1388,1192,1392,1626,1814,1742,1780,1586,1060,1218,1516,1322,1164,796,810,1282,1128,957,991,1290,1008,727,513,419,727,963,1034,1080,1300,1460,698,528,675,874,575,464,408,362,393,335,314,314,287,300,280,301,348,354,318,281,362,392,358,452,550,489,412,350,344,344,343,299,286,296,276,325,525,575,391,382,459,439,348,307,365,349,304,438,605,655,927,1242,1036,992,1268,1438,1250,951,696,1023,1344,1154,1132,861,559,520,404,602,990,854,788,490,507,585,551,521,356,448,673,644,526,496,491,460,389,385,384,406,425,428,386,681,722,625,628,410,418,687,564,317,338,448,872,1406,1412,1176,1156,1002,766,949,1342,1216,1328,1212,973,1368,1306,1162,1468,1404,1242,1320,1256,1230,1296,1504,1402,968,1048,958,714,683,1004,1344,1088,766,497,502,841,1092,1038,1040,989,1032,997,844,824,747,688,819,985,818,818,861,727,440,639,984,1152,999,824,1366,1562,1244,1744,2856,3218,2610,1130,1346,1362,1200,1564,1334,1036,1570,1620,1007,519,476,473,386,376,446,468,716,1056,816,617,577,498,640,868,1212,1470,1442,1446,1250,1084,1358,1100,1100,1036,937,1046,1148,1216,1324,1148,802,883,983,1214,1422,1204,1132,1484,1250,1202,1290,1112,1256,1544,1262,1158,1166,1578,1490,979,629,597,912,960,854,1220,1696,1412,783,608,564,780,908,676,482,518,1064,650,445,476,385,502,854,841,404,495,1046,825,772,852,656,589,677,944,1106,1122,749,548,661,875,1216,1198,1326,1404,738,531,1038,1220,925,658,738,616,434,584,797,644,397,581,1010,943,1056,1708,1788,1484,1260,980,615,386,580,763,751,977,1017,723,496,406,644,993,1284,1472,1544,1376,1021,822,808,707,647,1064,1482,1566,1052,538,523,572,799,1106,1832,1794,890,962,1102,811,447,440,441,348,326,288,240,329,432,515,666,716,1016,1160,1314,1742,1608,1170,1072,1001,1066,1456,1656,1520,1102,521,376,343,622,467,305,314,398,781,1240,1180,721,756,1186,1116,1146,1422,1150,1338,1342,689,350,449,967,1346,1208,1250,1290,1384,841,655,585,659,711,775,835,1160,1410,879,767,1252,1116,802,472,482,449,408,462,590,604,655,564,455,450,466,649,1015,1144,832,504,445,400,393,445,417,437,667,913,1052,1074,758,665,612,631,714,822,1022,1072,1224,1382,1476,1562,1840,2036,1956,1932,1946,1432,656,292,248,248,285,261,330,630,735,673,584,578,617,496,424,411,471,739,796,563,476,569,685,721,498,708,415,335,468,607,622,604,677,634,599,783,966,902,748,527,506,519,449,639,759,1052,1166,773,524,532,538,510,497,545,703,866,515,332,328,375,502,434,318,339,345,287,342,682,828,472,393,515,639,1018,1142,1046,1054,1154,1416,1378,1448,1466,1356,1302,1410,1350,1440,1544,1122,744,536,525,498,645,414,520,677,636,389,438,698,735,677,764,630,942,1276,1210,1324,1462,995,751,707,553,711,1098,1052,681,452,525,486,484,386,395,502,343,263,273,275,291,338],[394,365,320,329,437,596,560,419,468,744,1090,603,627,702,794,996,1140,1040,1048,1023,866,532,459,485,547,518,479,544,603,672,767,718,610,512,444,395,377,368,426,540,571,623,560,498,475,412,360,389,423,428,515,587,399,299,281,305,392,368,307,336,571,573,395,400,510,528,477,371,393,444,563,434,327,287,270,300,300,283,338,344,309,310,305,365,336,328,334,313,352,430,553,796,764,821,871,520,574,560,390,371,403,415,525,545,429,565,659,515,605,581,536,527,588,641,852,1156,1378,1110,677,489,541,845,1009,601,439,476,626,756,583,505,922,926,910,976,1478,1382,707,491,552,591,577,674,933,857,857,678,670,932,903,1096,1140,850,861,919,1066,1054,1212,1492,1590,1184,962,1152,1542,1766,1130,788,832,857,815,822,1002,1310,1536,1314,932,1068,1010,832,1172,932,374,399,455,425,392,352,295,335,481,583,585,562,557,675,766,744,925,1086,1208,842,483,377,428,477,480,626,831,1004,993,985,1482,1010,796,1222,1434,1122,614,512,761,764,480,332,453,819,1066,1096,1064,1084,1316,1344,1200,1136,1156,1222,936,970,1166,1080,1478,1378,1102,791,1262,1024,1264,1306,1158,912,805,750,1074,1424,1396,1158,924,1356,1692,1516,1270,1220,1142,1154,1130,924,497,433,799,1296,1288,962,655,397,393,393,384,329,527,990,1040,636,392,425,451,643,1278,1256,1360,1240,1256,1236,990,761,1136,1566,1610,1444,1086,1102,1054,1140,903,712,688,480,369,323,432,612,698,764,1060,1246,1204,994,880,960,1434,1196,736,801,911,1080,963,801,1138,1058,720,784,1082,1606,1542,1214,693,414,456,513,466,341,286,276,340,473,865,1316,1248,630,648,907,1046,1306,1274,1216,928,814,1092,1368,1332,922,785,863,720,521,461,502,736,1007,1136,787,970,1062,962,983,1112,1098,1112,1226,1408,1086,536,636,972,1066,1130,1258,1388,1512,1396,1398,1244,1216,1396,1282,1294,1192,440,450,855,904,901,901,962,911,882,997,1160,1208,1234,930,866,963,919,958,906,993,1096,990,940,671,609,691,603,669,554,533,361,346,409,523,553,824,1016,787,847,913,682,683,678,936,630,415,442,1016,1592,1610,1028,939,1312,1544,1428,1174,1092,1088,1122,874,526,395,336,326,325,346,383,441,435,405,360,338,332,364,422,386,338,280,307,267,269,334,495,818,1190,1248,1196,1770,1622,1604,1190,1300,828,566,651,605,651,794,928,936,666,949,877,604,1120,1344,1572,1160,1144,1274,1114,1010,902,658,962,907,763,550,678,896,1186,761,443,463,422,776,1196,1052,774,667,981,640,516,758,655,624,1000,1172,1388,1058,935,1050,751,706,730,714,703,957,1140,785,606,602,528,475,579,916,1338,1362,819,1050,1186,1170,1156,992,1070,802,490,470,457,498,469,389,374,369,386,386,485,496,594,838,626,357,592,1316,1588,747,336,284,291,266,257,297,353,305,345,511,607,779,1192,1162,653,763,874,467,398,523,506,417,408,370,252,250,291,269,365,571,754,650,611,1288,1338,1042,1118,1122,1148,1260,1352,1544,980,473,738,875,671,558,993,924,691,1003,1076,1138,1236,1110,1018,1116,1328,1366,1306,1164,1090,1154,1304,1338,1312,933,960,1144,819,879,1026,715,863,1208,1162,1332,983,686,796,1234,1310,1026,878,1080,1124,789,814,731,745,1068,855,703,1060,821,397,368,495,717,796,857,850,964,742,471,441,453,440,474,557,492,392,489,476,482,496,427,441,611,720,696,603,556,499,440,446,479,506,545,505,444,372,397,421,419,412,397,436,461,409,403,409,373,387,404,476,502,484,437,421,427,590,781,788,733,599,514,466,428,414,411,392,344,375,525,586,475,471,536,524,435,439,447,428,455,405,376,370,372,385,416,484,630,939,1114,1102,964,865,941,1100,1518,1766,1390,1010,1152,1312,976,917,844,946,1136,1202,1382,1562,1194,823,757,565,427,799,1228,1186,807,786,1196,1390,1146,642,641,1262,1422,1210,1322,1130,1056,728,348,351,444,513,536,513,473,462,468,487,770,1084,985,656,372,336,332,377,348,326,305,639,641,691,909,868,1124,1300,1198,993,677,604,527,647,740,724,933,1314,1456,1470,1294,1116,883,755,1122,1094,984,835,551,653,1486,1696,1104,1084,1274,1332,1100,1158,838,658,577,698,871,745,486,372,368,378,376,370,369,432,412,395,415,410,423,583,902,989,846,919,1136,1050,985,839,852,896,791,822,814,607,403,398,386,413,414,414,408,402,407,426,412,386,370,348,322,357,368,355,408,437,380,362,343,259,267,263,269,276,287,282,279,281,265,265,272,285,276,279,289,298,291,276,275,270,276,291,295,282,276,276,284,285,272,264,281,295,286,291,308,313,311,285,274,264,265,278,263,276,269,248,256,247,241,269,279,258,256,276,288,270,281,315,305,504,571,360,285,274,268,289,338,365,444,397,330,330,281,285,285,276,278,283,292,293,294,298,295,284,282,298,320,319,315,336,330,334,385,404,440,545,425,442,623,1046,1386,1472,1642,1782,1792,1748,1706,1520,1262,1464,1368,1638,1842,1242,1136,1184,1152,1168,1570,1690,1534,1472,1422,1434,1466,1312,1017,927,868,798,885,1148,1458,1422,1250,999,691,661,952,911,1002,825,762,897,982,770,496,628,754,543,435,576,585,604,765,1250,1624,1174,892,765,669,916,1005,542,577,741,971,1246,1178,927,1009,1256,1454,1370,1164,1454,1332,1104,1238,1158,1082,1246,1164,1072,1108,1230,1206,1368,1504,1356,1316,1368,1318,1594,1504,1450,1036,788,952,1146,1060,1034,1202,1034,686,675,597,803,1136,1118,924,1110,1342,881,993,1152,1000,664,584,504,370,361,313,320,367,309,300,297,338,428,386,306,281,256,258,314,434,553,496,437,344,334,336,337,311,278,269,264,314,543,797,631,396,339,295,273,306,332,319,444,672,758,670,781,984,806,821,1154,1532,1556,1206,839,1098,1354,1276,1368,1168,638,433,454,437,541,490,777,576,606,593,538,531,469,453,655,615,486,558,564,519,437,406,389,441,437,458,478,619,716,659,677,493,370,396,327,344,328,372,808,1378,1392,1252,1134,821,956,1194,1314,763,1100,1262,1316,1372,1238,1198,1338,1384,1420,1166,1078,1086,1398,1398,1264,870,827,873,642,838,1242,1166,965,619,371,529,1178,1278,858,720,844,1042,1001,785,631,711,761,830,936,763,917,936,641,578,816,1022,1042,959,1078,1620,1836,1484,1678,2618,3122,2568,1890,2064,1404,1334,1522,1272,1406,1780,1380,655,442,471,458,558,994,964,527,469,692,466,383,498,734,1040,1110,918,1134,1336,1486,1460,1068,1198,1302,1312,1364,1518,1456,1316,1354,1310,1144,1064,1010,854,1170,1396,1352,1478,1594,1172,978,1076,1080,1156,1290,1116,1176,1466,1774,1208,1009,849,558,1036,1182,796,1066,1608,1226,950,855,775,647,534,627,516,655,857,730,810,1038,586,356,433,481,471,464,1003,774,929,997,992,1078,1236,1376,1248,969,799,976,1007,1086,1154,870,672,1122,966,677,619,481,464,508,628,484,421,735,913,594,389,602,1058,1064,1136,1386,1482,1272,942,1168,929,477,433,684,609,611,539,376,354,344,417,731,1076,1114,1410,1510,1384,1036,902,855,937,1236,1364,1442,1028,549,470,610,882,1138,1518,1400,1018,802,766,745,579,458,372,292,253,230,243,302,326,385,334,619,995,988,1104,1322,1318,1262,1216,1036,1044,1136,1470,1628,1270,976,550,296,362,273,240,267,381,730,1130,1070,874,1074,1182,1104,1282,1764,1446,1322,1294,751,436,451,913,1448,1132,1034,988,1486,1212,720,543,775,684,599,756,1274,1832,1170,720,969,1078,1334,1176,1036,742,510,514,615,628,646,604,625,822,938,1042,1234,1018,713,566,598,411,388,599,869,1094,1028,962,926,1086,896,572,503,708,762,938,1338,1214,933,1306,1564,1882,1996,2122,1990,2030,1952,1416,654,292,276,252,261,218,253,442,641,658,693,675,609,502,487,456,403,494,498,453,449,477,483,576,681,688,397,407,538,477,439,709,1034,1056,934,1094,835,612,734,502,556,472,585,712,778,1214,1224,773,593,577,544,489,501,454,561,539,391,360,386,346,309,326,386,369,343,312,311,495,805,594,431,622,485,504,596,547,664,628,452,620,856,666,586,709,885,1098,1244,1148,953,985,899,719,656,760,498,478,810,604,321,417,626,583,722,790,648,558,932,1272,1332,1512,1214,1009,1182,1132,1136,1168,1104,858,608,556,444,404,406,366,383,354,314,311,303,308,357],[383,372,414,476,555,646,556,501,581,778,1168,1004,857,778,764,931,963,833,863,1272,1338,519,622,689,711,606,541,639,667,655,678,650,597,597,547,434,380,338,422,663,728,700,672,590,553,451,339,343,376,365,432,429,265,253,251,238,295,305,272,289,392,405,400,391,427,435,404,381,371,529,758,820,589,341,318,329,335,345,429,532,417,387,436,453,578,562,411,385,342,385,736,921,594,561,636,565,645,517,385,397,433,435,565,613,504,489,554,524,792,754,634,549,601,658,1011,1460,1528,1192,755,620,771,867,951,639,504,536,777,912,568,386,525,980,1254,1238,1260,1178,739,819,1278,918,642,547,747,966,825,592,817,854,616,684,658,739,1092,959,1062,832,984,1372,2020,1758,1122,1015,1432,1676,836,526,677,724,708,747,783,1350,1410,1076,1170,1314,874,817,910,670,430,434,460,438,443,393,332,390,452,547,700,619,538,625,703,1122,1094,972,1134,830,513,390,379,477,622,984,1430,1292,1134,1228,1208,1102,1208,1346,1264,1046,602,595,993,948,568,315,538,1012,935,1234,1158,898,722,1072,1360,1248,993,1026,1080,836,1100,1346,1454,1440,890,742,849,932,1078,1160,1074,930,622,491,978,1480,1260,724,922,1456,1308,1412,1466,1194,1082,1194,1052,539,426,410,853,1270,1450,1200,734,476,451,491,500,401,529,774,634,413,488,608,596,860,1580,1658,1490,1498,1418,1262,897,676,1122,1416,1660,1472,1274,1340,1252,1144,786,982,986,657,554,586,638,758,897,880,705,935,844,949,1240,1076,1346,1290,958,918,850,1108,1084,838,1034,858,557,769,1012,999,1144,1080,852,577,377,561,624,324,289,329,450,688,1124,1368,1038,686,808,779,997,1328,1214,927,659,548,918,1284,1146,783,843,1030,996,781,508,516,568,894,873,688,957,1009,1030,1182,1378,1334,987,901,1013,1026,1012,1094,1276,1023,968,1266,1336,1354,1338,1484,1388,1108,1268,1208,1132,1005,398,404,509,701,835,880,904,907,855,1070,1284,1266,1218,969,982,962,821,920,956,1184,1316,1338,1346,1144,768,450,646,716,711,947,653,419,598,888,1072,1128,1004,625,714,796,542,421,549,1140,650,394,422,959,1516,1340,774,572,772,905,884,714,745,680,855,625,495,402,341,313,310,330,353,393,414,430,436,430,405,403,436,394,351,301,371,516,445,355,531,636,1010,1334,1316,1484,1654,1586,1388,1252,835,653,557,420,580,922,1013,805,670,771,554,514,857,1360,1562,1316,1160,1208,934,841,1216,827,482,698,715,547,801,1770,2620,1628,810,974,896,1238,1416,1194,1202,819,835,763,651,936,1092,1232,1060,1138,1340,804,963,1086,653,1046,1054,979,1066,875,779,719,670,602,475,408,554,778,1011,1248,1046,1126,950,862,636,863,1258,869,406,417,435,483,458,461,424,373,446,641,772,847,1032,739,560,831,638,1072,1396,506,329,325,309,285,283,286,344,331,306,448,538,609,609,593,428,619,716,747,599,944,932,417,359,385,300,259,296,298,314,590,821,912,854,924,1180,1196,957,1086,1250,971,938,966,602,435,529,575,720,796,958,921,1028,1260,1134,1032,1036,1106,966,896,1238,1352,1196,1150,1130,1062,974,1204,1284,1010,944,916,984,921,942,692,1104,1374,1470,1396,1124,875,951,1598,1622,1272,1182,1176,1130,889,722,747,1040,1040,581,505,524,437,363,332,361,523,669,730,766,1246,995,479,450,462,453,486,550,533,418,489,474,451,405,422,538,856,1058,765,402,457,418,385,389,429,569,544,440,404,392,427,435,406,402,466,437,467,452,454,409,386,380,427,486,499,440,383,424,507,562,578,625,686,634,497,432,429,409,408,398,368,396,541,660,688,610,523,475,419,440,466,458,444,402,354,375,446,470,578,821,1042,1140,1016,800,666,759,959,1390,1808,1888,1748,1358,1268,1370,1058,1160,970,1010,1150,1122,1210,1564,1530,1428,1338,618,447,609,979,1168,1212,1424,1216,1456,1062,579,597,1062,1204,1310,1312,796,559,386,348,430,489,492,458,438,468,519,605,809,932,965,1046,993,914,611,363,316,299,336,406,465,409,506,698,878,1040,1152,832,806,572,503,366,407,481,451,492,601,1198,1848,1280,976,1024,980,1332,1282,1188,957,697,734,1234,1310,665,746,1116,1352,1346,1224,1094,740,522,599,556,432,356,360,356,354,366,364,389,439,435,438,434,467,594,670,691,937,1120,848,918,928,933,808,769,600,642,714,793,711,398,384,358,383,390,414,398,380,388,404,392,373,334,320,343,352,325,328,357,393,355,328,320,277,256,252,272,287,291,291,286,299,282,258,263,276,283,283,289,293,285,270,270,282,284,285,276,272,284,295,301,288,282,264,287,296,274,278,292,309,295,279,277,298,274,269,286,281,276,257,260,276,274,269,274,257,258,268,282,290,278,301,410,558,404,294,332,292,283,283,316,296,298,261,287,314,293,282,278,264,263,275,284,282,289,285,277,281,284,286,307,323,320,328,336,340,382,410,392,456,465,623,969,1342,1438,1632,1752,1802,1700,1486,1416,1246,1676,1992,1448,1236,1066,1274,1472,1382,1438,1568,1640,1604,1526,1848,1842,1320,1270,935,735,788,1001,1128,1112,1398,1302,794,797,1208,1116,852,997,901,773,878,1160,957,802,812,668,955,987,714,604,821,999,1158,1368,1434,1104,981,1002,849,716,918,1106,660,803,979,1134,1200,1188,1348,1236,1162,1098,846,849,1046,1164,1312,1268,1062,1001,1152,1052,1007,1072,1352,1240,1178,1278,1172,1504,1668,1250,1488,1332,1208,1342,893,674,1016,1007,858,1210,1072,529,727,754,942,1021,1256,1388,1194,1352,1284,1200,1158,1011,702,615,351,324,336,304,309,357,305,339,352,335,355,306,274,299,296,279,328,368,533,509,452,380,336,316,304,292,296,297,284,289,440,819,763,389,280,284,309,330,400,620,778,752,761,566,509,828,858,619,866,1274,1554,1174,762,716,813,1104,1172,799,450,353,395,342,356,361,487,569,798,1046,827,586,647,433,418,384,564,563,529,518,538,468,424,441,394,363,430,512,702,677,682,470,390,433,409,346,325,353,752,1534,1662,1038,973,872,1034,1104,1134,935,1522,1924,1932,1786,1438,1302,1304,1368,1292,855,1100,1216,1248,1334,1198,905,662,811,675,767,1204,1304,1238,808,504,623,1044,1021,1017,1140,976,991,1104,943,669,541,844,888,869,815,821,948,748,646,791,752,708,847,1260,1924,2078,1820,1618,1804,1876,1500,1818,1986,1588,1632,1826,1650,1450,1112,708,424,495,467,771,1062,1500,1160,579,483,406,505,692,532,755,1172,1136,850,1122,1338,1432,1316,1226,1288,1346,1218,1334,1576,1408,1380,1404,1410,1426,1414,1390,1466,1482,1424,1438,1550,1382,992,813,871,954,839,1032,997,806,754,841,697,791,748,619,745,780,794,1410,1652,1402,1114,874,775,675,631,651,547,478,851,1068,1060,1528,1026,545,367,397,561,539,677,835,980,1136,1236,1270,1318,1216,730,874,1056,1150,892,807,644,537,747,1152,1260,979,626,612,799,795,846,986,767,929,771,558,460,498,731,905,990,1236,1240,935,902,1100,929,581,604,921,589,261,262,221,262,308,330,543,1044,966,1036,1278,1506,1456,1250,916,943,1176,990,721,508,530,522,818,811,975,1278,1324,1094,659,525,651,519,349,346,336,303,274,246,274,250,286,385,891,921,716,858,1070,1166,1204,1142,1070,994,911,1174,1172,1032,1130,660,285,297,296,374,631,819,1252,1346,1202,1164,1144,965,755,996,1516,1290,1206,1396,887,426,412,816,1466,1208,1100,830,964,1042,692,716,950,732,594,732,1052,1924,1464,802,477,733,1656,1688,1416,1170,857,672,596,580,662,888,1312,1542,1106,747,688,583,481,494,580,672,974,1282,1376,1450,1070,827,769,782,731,532,792,890,702,884,1144,1032,766,1144,1202,1678,1814,1942,2002,1914,1700,1188,562,280,274,256,217,221,215,229,359,439,534,584,533,460,454,427,409,549,556,618,644,597,583,602,728,505,348,493,435,346,363,515,744,1060,1198,1248,705,652,814,935,916,687,617,633,858,1328,1130,781,634,576,535,474,502,472,388,392,425,419,426,363,349,398,438,430,377,341,323,568,939,674,439,628,364,346,427,426,630,607,412,423,676,630,541,780,1042,1140,980,826,669,680,551,564,572,533,610,858,828,504,397,680,743,561,478,495,528,661,739,932,1044,1404,1208,847,1284,1260,1204,1248,1268,899,654,566,445,414,414,364,293,256,249,287,334,363,344],[406,409,565,752,811,821,589,557,528,610,848,732,592,564,551,653,626,505,714,1318,1108,595,754,802,711,557,571,653,656,587,584,598,641,771,568,400,352,344,460,645,787,795,611,475,470,386,310,285,284,265,278,270,241,286,292,277,261,269,263,282,326,378,375,410,428,430,439,398,486,645,650,767,783,684,463,428,341,378,392,576,708,567,513,417,501,521,480,594,574,472,671,867,492,465,598,483,447,379,379,471,499,528,625,646,511,467,759,880,729,782,788,636,601,669,999,1414,1422,1116,910,768,996,938,637,642,719,679,805,730,725,758,712,1048,1576,1672,1352,1222,1086,1164,1694,1592,918,696,799,897,739,711,977,878,621,572,630,701,918,1015,1052,651,711,1152,1624,1358,909,1192,1144,999,583,530,755,860,822,732,755,1228,1400,1332,1510,1542,1092,890,742,612,493,552,517,470,450,374,398,544,521,541,672,539,450,477,473,990,1168,1234,916,668,529,422,351,380,716,1346,1454,1350,1026,778,753,1294,1566,1410,1118,702,356,408,554,630,422,296,643,966,1298,1194,927,621,672,1194,1368,1082,767,1162,1268,661,589,886,1130,1024,905,945,855,849,1114,1340,1104,771,357,642,950,1194,1300,1030,990,908,742,1200,1628,1438,1116,1000,1202,968,530,440,899,929,1022,1013,811,573,505,516,504,439,388,355,366,359,509,826,852,999,1742,1796,1696,1902,1548,1084,655,544,555,804,1048,1150,1214,1340,1196,913,784,774,792,694,505,470,595,748,996,952,683,724,514,731,894,728,1000,1328,1086,883,852,959,1294,1286,1020,610,683,1120,1060,953,1152,1532,1968,850,400,697,959,576,377,572,854,1036,1204,1226,1190,1298,1186,920,930,1094,882,673,528,620,1056,1086,758,732,914,1078,1294,1198,658,572,465,518,601,608,1009,1164,1210,1250,1112,927,760,675,940,1242,1402,1328,1546,1174,1108,1402,1538,1506,1402,1350,1292,1009,1256,1434,1142,972,514,339,330,347,501,709,816,835,991,1438,1166,1072,1076,960,885,750,720,901,1230,1410,1416,1366,1021,1236,1200,652,456,285,477,967,697,449,503,750,1210,1422,1236,577,527,734,640,463,549,802,616,657,765,1004,1238,955,749,766,632,618,672,654,593,534,501,501,637,556,386,396,471,379,365,366,392,359,388,372,394,411,393,383,386,354,396,428,374,510,533,633,997,1382,1432,1332,1454,1178,1314,1362,965,639,634,623,782,991,909,754,675,448,337,419,897,1304,1322,1378,1432,1290,877,633,877,877,725,617,468,791,1130,1886,2192,1322,1206,1318,1262,1178,1230,1616,1360,989,886,1013,1009,899,1216,1750,1636,1460,1468,561,819,1058,736,1005,1094,1026,995,769,582,624,611,483,434,383,682,916,1140,912,878,1048,1312,1238,679,705,1164,1098,612,326,416,493,519,529,478,477,608,1068,1324,1330,1362,918,764,827,915,1478,1274,821,520,319,282,285,321,332,345,315,284,404,524,582,504,415,407,561,736,830,915,1074,849,321,317,365,351,290,308,294,300,358,536,750,980,1024,1026,948,681,1100,1516,1256,864,800,490,453,624,700,807,1009,1240,1250,1202,1382,1180,662,818,1064,720,720,1088,1136,1168,1196,1230,940,590,741,1186,1152,1152,1288,1316,896,833,678,839,1142,1272,1120,1100,1174,1300,1510,1246,1154,1410,1178,1200,1040,1015,814,824,972,791,607,519,530,417,366,404,465,449,488,814,1094,730,361,417,460,492,547,574,498,446,466,460,494,462,552,757,883,788,525,357,410,448,398,401,372,445,434,384,375,373,367,355,354,411,494,425,527,512,479,438,419,445,510,568,518,441,456,440,572,553,538,589,543,520,438,434,448,418,396,399,355,375,493,615,671,639,586,461,394,405,437,435,407,417,424,499,646,761,1010,1216,1070,813,675,623,666,819,1146,1666,1888,1910,1600,1436,1476,1322,1180,1132,922,800,935,913,858,1248,1614,1404,1302,572,675,1124,1310,1012,994,1016,1092,1160,786,731,664,542,956,1634,1294,684,444,323,343,353,429,430,339,325,435,591,738,967,1022,999,1144,849,1082,990,694,595,441,485,447,423,356,350,431,409,566,754,465,395,385,312,301,356,363,364,322,473,1582,1802,1134,1354,1648,1224,1146,1218,1004,861,720,606,860,1310,876,636,1134,1360,1420,1248,1246,988,615,408,456,425,358,377,366,360,350,344,384,482,495,451,406,480,775,827,797,1242,1086,784,802,979,702,560,694,583,552,772,966,658,385,343,372,359,375,388,384,386,394,382,350,308,304,333,373,340,328,346,331,331,305,306,284,262,252,259,263,271,294,321,313,319,308,265,265,276,279,287,291,288,285,285,291,291,289,275,271,288,293,281,273,267,269,270,275,275,276,289,272,281,256,262,281,307,287,277,277,283,293,277,297,344,368,335,309,281,281,270,256,276,302,491,761,607,353,328,342,328,263,248,300,290,260,271,292,302,300,296,280,263,260,271,289,284,292,294,298,294,282,286,306,313,326,345,357,364,394,372,366,442,575,861,1286,1472,1642,1770,1744,1600,1432,1714,1520,1580,1970,1878,1210,1152,1360,1330,1206,1170,1532,1570,1580,1316,1454,1744,1692,1266,1188,1244,1142,896,1120,1482,1460,1662,1608,1380,1182,1526,1186,1208,1100,860,908,1092,1242,1036,551,467,612,1200,1052,935,1188,1416,1526,1280,897,828,829,907,952,866,950,1262,1102,938,1032,1182,1318,1152,1178,1276,1116,1100,1222,1120,1034,1140,1072,1234,1302,1082,894,1072,1258,1152,1014,1222,1322,1408,1366,1452,1446,1606,1722,1556,1482,1888,1820,1078,805,1082,1032,910,1344,1396,1068,1096,1108,1021,880,822,634,929,1194,1104,1172,1268,1144,753,535,345,312,335,292,338,330,305,385,408,348,287,251,279,358,324,320,443,392,499,493,480,458,333,306,324,342,307,287,274,282,353,520,468,327,269,265,313,414,633,815,588,520,713,549,416,674,821,560,601,1086,1538,1416,907,557,708,951,822,502,351,315,403,434,416,430,511,527,680,816,702,858,816,627,463,720,1094,878,565,529,560,493,509,491,392,347,363,480,589,578,583,465,462,527,500,347,324,357,511,1150,1382,1250,1140,1044,1058,1072,1090,1210,1406,1440,1526,1506,1312,1444,1448,1368,1142,1110,1292,1328,1292,1328,1216,1050,1156,1306,773,868,1110,899,800,945,749,681,1260,1136,1264,1560,1112,832,1154,1076,1026,591,655,761,749,812,1058,1032,766,818,1144,968,716,780,1290,1888,1536,1738,1908,1650,1686,1602,1424,1420,1394,1478,1676,1460,1132,729,560,431,479,493,883,1196,1268,979,806,773,602,775,1011,647,750,987,927,1042,1284,1516,1494,1574,1490,1266,1414,1302,1306,1456,1448,1498,1420,1402,1496,1478,1478,1534,1484,1448,1460,1476,1430,1288,1182,1278,1172,1013,1084,991,938,1102,1172,1052,1030,1050,1086,1054,946,1092,1182,814,1021,1186,1262,1104,830,847,959,902,690,656,782,919,1052,1004,1016,866,874,958,984,1090,1258,1366,1350,1266,1196,1058,1100,1034,1312,1150,1180,1156,1144,905,1038,1366,1390,1266,915,429,419,966,1172,1262,1086,827,992,944,764,772,680,755,909,730,854,709,1044,1206,948,604,356,681,1084,720,273,261,273,270,273,326,392,819,1088,966,926,1172,1472,1554,1304,1100,1210,977,650,595,628,618,673,436,487,866,1016,763,439,384,463,411,339,351,346,294,333,368,382,382,480,518,468,479,573,731,1112,1196,1158,1098,1060,1023,739,757,1066,1334,1238,966,503,263,280,409,693,1220,1394,1270,1242,1130,679,423,433,766,1396,1356,1306,1520,1021,441,372,622,1078,1019,974,1090,1246,1028,909,1050,899,537,437,585,735,1202,1208,908,570,828,1114,960,1032,1110,1268,1186,1028,1188,1232,1356,1626,1384,730,433,406,404,544,772,965,1284,1536,1182,1238,1340,1132,890,672,615,504,450,727,769,662,938,868,755,646,1160,1438,1752,1788,1844,1886,1662,1190,746,599,284,234,240,201,205,211,217,207,203,270,309,346,411,388,380,665,941,726,724,821,717,573,593,619,397,468,441,342,412,435,518,661,1052,1378,1148,887,839,1005,1582,1824,1550,1282,1096,1208,1344,1108,732,553,567,546,479,450,451,447,447,437,420,433,394,289,372,403,406,387,346,360,420,459,430,473,459,397,375,369,374,383,343,313,298,402,486,592,804,1324,1470,1194,951,502,584,586,343,283,339,457,702,1000,835,639,874,1013,1084,793,839,812,716,817,802,820,1444,1188,605,722,662,710,862,948,778,680,636,564,522,532,473,399,330,278,346,418,403,416],[428,426,576,781,772,698,486,402,383,463,742,862,799,645,537,624,596,591,819,1078,676,573,616,528,400,579,762,645,574,496,541,613,721,693,383,297,283,314,426,511,672,778,572,365,294,288,260,234,222,238,256,245,265,315,327,311,330,344,334,345,368,393,396,393,370,349,380,436,603,631,493,426,680,988,659,543,431,380,366,501,575,495,516,621,653,569,586,665,717,801,590,693,563,434,516,616,585,438,404,445,481,506,538,559,515,513,765,961,728,929,958,658,630,611,747,1140,1246,887,819,1002,1374,1210,736,640,816,1244,1188,894,1002,864,639,728,1410,1336,1094,987,1024,1070,1650,1640,1038,743,775,1140,1168,1122,995,675,628,577,621,743,752,866,760,525,476,471,531,547,529,995,912,919,832,837,698,586,600,554,806,1334,1342,1306,1062,1242,1438,1042,648,568,561,555,477,436,503,477,517,513,419,459,419,356,327,340,378,720,996,735,603,650,547,481,408,579,822,908,930,1084,721,374,719,1268,1374,1306,933,541,361,344,299,345,312,310,791,1184,1310,1220,914,409,739,1208,743,617,634,1278,1216,1098,1066,958,933,1216,1218,827,673,594,791,1302,1422,1012,733,975,1046,965,1142,1178,833,744,1014,1428,1528,1388,1362,932,1166,1308,1128,709,655,709,825,1005,857,605,550,492,429,392,414,318,345,404,466,882,1252,1400,1574,1662,1654,1638,1316,980,413,459,397,285,360,694,1130,1484,1262,969,1074,587,450,430,496,842,743,530,702,735,683,617,533,745,1009,1032,1134,1156,803,839,852,1021,1382,1222,786,694,777,669,921,1348,1278,1212,1130,534,381,515,783,695,697,1005,1122,980,803,857,1306,1448,1448,1230,973,987,1152,1212,1011,1112,1472,1340,805,948,1140,1194,1450,1378,875,619,413,390,397,422,811,1248,1332,1194,1128,1306,1158,1192,1152,1068,1046,1136,1510,1754,1628,1480,1966,1666,1408,1650,1316,1018,1016,993,1080,1228,833,416,383,330,347,431,586,766,983,1344,1204,1086,1010,1000,906,845,890,1126,1322,1176,1174,1248,985,1210,1094,929,761,522,422,514,589,781,653,625,875,1090,1170,712,648,1422,1174,639,596,891,1122,1394,1486,1002,910,1016,877,941,937,968,1136,1042,679,542,562,634,794,810,791,698,697,498,401,413,368,346,363,340,399,490,546,567,527,461,419,432,496,814,821,1028,1358,1494,941,883,1046,1260,1446,1390,1158,782,1102,1162,1016,1010,1306,960,452,384,397,416,708,860,902,1356,1328,1330,1164,686,607,789,873,687,797,1268,1438,1200,1264,1198,1340,1186,1204,921,1288,1406,1218,1044,715,655,795,979,1052,1074,678,834,918,516,546,826,789,854,940,1086,1312,1100,626,538,508,469,427,361,416,614,1126,910,670,1060,1514,1506,861,639,1108,1332,976,769,736,694,709,829,1060,1108,958,1056,1180,1362,1548,1038,874,993,908,1576,1156,631,385,264,289,318,278,289,311,353,338,428,484,617,727,722,746,1001,939,718,1102,1104,676,352,308,318,330,296,296,335,367,349,489,659,928,1322,1064,565,440,650,1054,1262,1448,1236,763,732,986,1168,1096,1094,1334,1096,1000,1130,2060,1216,667,656,631,1106,1238,1098,1176,1454,1560,997,647,921,1302,1232,1350,1306,1050,942,917,850,831,990,1254,1084,1170,1290,1320,1172,999,1186,1124,1068,935,962,1212,857,1036,1204,1072,932,769,681,456,443,616,720,700,764,856,792,680,444,485,510,633,890,860,567,524,514,463,501,448,430,634,688,443,393,369,432,484,451,403,363,386,380,386,385,374,424,368,339,379,430,401,450,443,413,411,394,415,619,846,644,392,395,389,486,509,630,593,459,372,400,428,452,501,405,373,342,401,484,521,485,575,626,477,380,385,428,467,437,440,530,778,990,1110,1134,960,796,720,779,857,873,1082,1498,1634,1576,1424,960,1080,1306,1520,1362,955,694,608,800,995,868,1016,1672,1484,1246,778,655,1006,1016,853,1023,1260,1408,1236,926,692,758,796,956,1168,891,521,304,264,282,291,344,340,271,289,446,666,850,1024,958,1166,1136,1112,1198,870,1088,1316,1028,745,567,485,404,320,364,348,393,429,408,397,370,360,337,316,286,296,318,354,619,887,970,1560,1566,1040,1172,1184,829,917,730,715,585,780,677,468,862,1082,1116,1312,1140,688,483,375,389,390,371,450,424,370,328,328,338,429,508,500,489,717,1066,995,875,1007,686,725,743,721,693,772,876,731,642,751,739,429,404,477,437,402,465,429,375,394,357,331,337,343,368,356,361,331,327,332,335,335,333,307,275,264,260,258,263,279,294,306,320,336,338,303,278,270,268,278,285,278,279,282,281,276,272,270,265,287,291,280,277,268,265,264,265,279,292,302,275,272,284,274,279,278,260,270,272,287,292,311,297,380,402,377,345,301,283,273,271,276,361,685,695,390,316,306,337,379,316,285,312,287,266,283,283,294,295,291,287,282,276,278,278,280,277,286,305,308,308,310,310,312,328,334,342,368,436,413,422,474,786,1290,1506,1622,1710,1802,1702,1518,1700,1466,1520,2154,2136,1886,1546,1606,1760,1672,1324,887,1216,1476,1544,1388,1436,1470,1464,1368,1366,1388,1200,897,970,1262,1386,1550,1620,1456,1426,1382,983,1084,1400,957,479,684,1062,817,418,367,467,777,822,919,1344,1510,1482,1146,689,785,998,931,958,1246,1290,1326,763,586,941,1192,1194,1064,1114,1274,1242,1192,1198,1114,1126,1288,804,983,1244,1118,1054,1098,1218,1118,954,1300,1414,1516,1440,1368,1344,1348,1650,1578,1466,1600,1588,1280,1264,1338,1192,1268,1344,1460,1410,1220,1124,801,840,875,749,1018,1148,1132,1358,1296,1354,1009,587,418,373,368,396,376,299,306,316,301,294,296,294,302,317,329,321,372,351,322,310,403,469,365,292,338,390,311,273,263,260,312,339,323,319,314,306,321,469,747,727,458,458,593,550,396,489,624,541,527,919,1372,1410,1224,683,490,401,644,865,639,346,471,536,516,528,533,414,411,519,916,1244,1008,937,1090,1318,1388,1280,901,521,521,426,455,443,387,408,383,529,561,760,1009,885,684,583,396,258,310,393,467,764,1054,1530,1386,1086,959,1042,1084,1007,924,1220,1288,1152,1234,1222,1204,1212,1150,1142,1490,1648,1324,1230,1256,982,1106,1260,1204,1174,1164,926,1154,1338,1007,865,1078,1188,1358,1382,955,959,1240,1160,1200,865,612,694,591,792,1152,1042,772,872,1000,1000,915,1023,1226,1966,1356,1536,1954,1786,1826,1666,1248,1290,1148,795,867,808,1070,960,827,602,559,603,830,1080,1020,731,815,616,596,880,1236,805,649,844,1154,1360,1552,1716,1556,1562,1490,1356,1396,1318,1386,1522,1542,1442,1432,1412,1420,1406,1468,1490,1492,1440,1512,1362,1340,1250,1406,1376,786,408,436,494,515,569,720,978,990,830,606,983,1030,1240,918,628,929,1290,1334,933,774,930,995,890,577,579,530,967,1216,1246,1266,1334,1316,1090,1034,1070,1298,1322,761,1054,1060,1023,902,1023,1188,976,925,991,1034,1058,1198,1268,1372,939,554,338,419,1054,1398,1248,1038,1066,1354,1582,1206,716,396,608,836,580,654,720,1212,1418,1210,634,310,436,635,489,316,242,271,283,293,328,373,510,926,1162,983,838,1023,1464,1528,1426,1252,847,597,528,576,630,589,417,387,527,565,387,395,406,466,405,314,271,299,475,678,723,600,439,470,583,497,428,509,810,1664,1372,1080,785,669,635,514,673,962,917,907,1036,855,336,408,580,587,1076,1162,979,989,891,587,504,641,752,1428,1432,1152,1224,745,430,394,457,786,1176,1126,1194,1496,1316,1064,1013,585,514,552,476,397,413,672,959,906,854,781,670,913,1092,1430,1350,979,1334,854,766,988,800,546,418,419,611,776,982,1016,1424,1666,1474,1448,1130,965,912,819,799,641,468,661,577,502,1050,796,731,763,1284,1618,1592,1580,1654,1484,995,527,533,742,369,259,240,222,199,193,205,198,199,222,209,247,333,399,477,551,636,468,644,779,547,379,363,393,416,484,367,492,538,388,378,461,895,1228,1042,932,769,1006,1736,1942,1892,1812,1632,1488,1234,1006,662,467,527,541,512,452,439,396,396,403,408,405,377,260,288,348,407,427,381,384,406,421,546,730,563,341,324,368,349,300,290,290,300,312,491,653,480,821,978,1005,684,375,780,816,408,567,672,591,766,839,741,689,653,993,1294,1116,1142,1076,929,1086,1088,1188,1460,1258,629,750,1220,1088,782,669,639,641,628,549,551,566,544,406,324,332,350,409,412,519],[448,418,498,594,488,438,366,326,339,405,585,689,623,509,463,533,655,722,994,861,567,473,355,304,310,475,648,605,543,461,547,543,675,538,354,375,511,493,432,478,524,539,391,352,281,250,237,233,234,238,230,240,271,291,310,355,358,316,352,339,368,361,350,329,327,375,464,572,563,491,466,537,513,810,798,568,680,554,360,525,565,431,619,999,1158,570,557,459,565,873,631,667,747,650,670,858,804,521,511,436,419,486,554,659,571,669,880,811,818,1094,993,677,592,567,555,664,825,1118,1686,2568,2080,967,750,785,930,1224,868,757,792,686,497,573,1015,987,1094,1021,665,620,932,1026,856,738,738,1484,1246,1086,1100,1002,930,722,658,764,860,727,560,545,473,456,663,634,518,706,538,612,1032,1180,922,621,669,735,968,1470,1172,968,1076,1340,1490,1318,855,672,632,529,465,502,577,520,572,439,416,501,567,409,320,349,331,578,714,554,534,572,558,493,555,965,946,838,1046,1018,597,414,1036,1216,1023,1040,629,368,332,357,312,253,263,532,1032,1272,1226,1274,887,550,959,1172,508,476,665,1218,1242,1154,1166,1162,1252,1340,1192,598,413,393,720,1220,1516,1094,808,1084,1162,785,802,937,834,954,1270,1416,1298,998,1384,1534,1360,1218,1136,777,586,556,809,1116,937,639,537,388,389,452,636,669,584,561,752,1166,1328,1086,1134,1262,1296,1126,1176,1092,589,365,358,355,359,617,1001,1152,1112,764,939,691,634,623,720,901,773,818,1010,1076,1056,938,769,1146,1084,733,955,817,803,1154,1106,1272,1316,978,847,896,945,909,1348,1350,1384,1140,906,804,728,756,680,656,1100,1340,1182,1300,1506,1306,1422,1422,1448,1222,1122,991,965,1144,1338,1350,1160,1240,1068,1394,1376,1408,1554,1266,850,554,398,388,444,700,1262,1262,1574,1396,1208,1592,1328,1440,1256,977,1034,1334,1516,1592,1440,1306,1578,1600,1418,1450,1134,1016,985,931,965,1110,854,465,408,417,306,309,355,642,910,1040,1208,1050,991,1118,1028,926,944,1136,1172,1016,1194,1318,1318,1210,1138,1152,1012,802,529,501,697,1078,777,866,1054,1488,1574,1128,1082,1618,1528,954,673,796,780,1058,1272,1210,1470,1332,1098,849,894,993,988,897,799,781,764,741,775,835,996,866,797,742,694,684,519,365,340,349,416,509,600,666,623,606,554,625,608,640,1210,1538,1586,1292,715,656,780,1242,1198,1166,974,744,974,1110,1054,1126,1110,702,681,771,774,851,1144,957,727,903,1032,1318,1222,940,1002,1336,1262,885,948,1104,979,929,1560,1354,896,752,1166,1152,1080,813,773,899,749,965,933,656,566,558,422,375,419,487,413,485,579,529,508,540,433,457,666,658,487,392,355,334,397,686,1252,1094,830,1168,1166,901,783,857,1084,1198,1404,1310,1098,893,743,976,1182,1230,968,858,1024,1100,1460,1100,711,1128,1174,1514,1332,567,339,385,322,304,261,348,494,614,601,495,525,911,971,809,827,1288,1244,973,1234,779,513,560,555,484,436,403,335,401,415,606,1052,873,634,948,1182,772,514,460,650,1094,1500,1314,1154,1110,1138,1236,1140,1398,1592,771,716,771,1088,1036,940,755,875,1194,1100,955,1004,1112,1196,1192,1052,964,1202,1322,1204,931,766,865,855,970,1054,957,949,1116,1134,975,1038,1126,1170,1098,1104,1472,1252,832,895,1172,1232,1024,727,705,738,644,567,758,1048,1240,1110,1120,985,677,446,528,560,552,886,1054,765,505,486,495,472,476,445,444,488,499,394,425,490,506,618,750,577,386,411,419,399,401,401,519,443,417,450,521,504,484,435,377,403,437,510,520,606,603,440,407,440,437,524,661,597,444,404,471,418,508,546,438,421,424,423,399,366,372,496,521,408,397,417,487,543,579,733,996,1154,1156,1098,986,896,881,885,949,984,1152,1532,1838,1400,1004,849,949,1296,1444,1674,1650,1092,635,630,896,1136,830,811,1528,1240,1096,999,799,892,1015,843,917,1426,1480,1354,1462,1206,832,787,902,927,745,460,288,289,320,307,360,351,327,331,457,487,641,958,1086,1208,1172,1260,1222,1220,1338,1356,1166,938,719,576,471,379,346,297,264,346,487,509,449,467,370,235,220,251,306,346,391,602,939,1362,1334,1172,1208,1462,1250,1116,963,1314,1098,829,686,741,1290,1376,1190,1058,680,398,390,403,393,398,412,464,479,416,365,356,346,363,430,472,716,1278,1678,1384,1098,1042,844,827,741,597,760,988,905,645,595,465,418,412,353,386,411,402,430,388,350,345,329,325,360,366,361,343,341,320,325,335,325,317,312,307,290,276,275,277,278,287,288,300,328,336,331,312,278,275,275,279,291,285,279,274,268,260,260,277,306,328,321,299,277,270,268,264,275,282,287,293,293,284,278,280,289,271,285,282,283,310,298,307,307,363,374,360,326,309,291,266,277,298,486,650,453,352,299,290,337,426,373,285,302,292,283,294,296,288,279,291,301,297,277,272,283,285,288,296,295,300,313,318,310,317,342,334,335,380,488,518,412,625,1262,1576,1650,1716,1760,1692,1334,1574,1480,1366,2026,2352,2256,1972,1708,1508,1490,1218,1088,1162,1398,1530,1536,1400,1324,1370,1240,1058,977,1013,1362,1356,1322,1804,1634,1276,1216,993,960,1007,883,1274,1798,1348,775,454,370,277,284,382,449,570,653,790,778,689,973,1156,907,870,696,673,950,1240,1248,1106,1023,681,526,919,1106,824,847,819,977,1152,1360,1070,1174,1150,944,1096,1064,1008,1013,792,679,719,1046,1152,871,1084,1230,1076,965,1394,1864,1758,1504,1310,1360,1564,1644,1596,1400,1376,1252,1290,1474,1460,1140,654,673,1118,1256,1360,1262,1242,1144,1056,1234,885,641,544,390,332,338,316,287,296,291,295,278,274,368,387,338,383,395,361,344,351,345,372,476,414,313,335,352,295,317,311,282,304,311,327,354,328,313,315,372,588,547,590,540,424,424,376,384,524,745,893,1214,1296,1196,1466,1254,1214,840,626,1130,954,534,667,546,521,677,859,595,430,511,745,721,814,1015,1282,1298,1062,990,626,488,549,444,415,458,520,559,586,559,680,1342,1830,1384,719,515,321,274,330,332,381,413,1044,1526,1440,1196,1078,1134,1186,1088,1058,1572,1534,1062,855,1062,1204,1162,1332,1198,1226,1338,1096,1188,1306,1040,1062,1017,982,980,1032,901,1172,1316,1058,1002,1112,1224,1200,1224,1005,991,1142,1406,1066,758,601,481,420,716,1072,988,1056,1258,1446,1174,954,1114,1080,1660,1650,1688,1908,1874,1866,1498,1088,1158,1007,696,426,525,1092,1080,919,791,562,771,1200,1258,1010,599,584,421,385,472,525,484,402,719,1328,1478,1396,1516,1478,1604,1330,1392,1494,1464,1480,1420,1316,1386,1328,1046,1038,1006,1186,1142,1478,1260,1278,1322,1570,1466,1406,1132,689,545,518,484,497,550,787,855,709,566,688,1132,1228,1184,1030,994,979,1022,891,687,775,971,937,614,518,747,653,867,1003,1046,1136,1304,1402,905,689,858,1188,1468,821,837,722,811,822,948,899,734,549,689,532,594,943,1011,862,497,364,357,402,955,1144,675,800,1218,1272,1476,1310,771,485,549,781,670,464,727,883,929,746,552,468,384,538,442,614,432,273,296,335,318,328,369,525,785,1088,871,839,1088,1422,1562,1518,1212,814,548,475,503,491,440,461,542,454,389,374,448,497,357,254,259,329,726,1062,901,641,484,583,937,684,436,450,775,987,810,631,444,371,321,416,789,901,952,966,747,1096,689,667,726,552,590,669,604,516,590,705,711,781,663,1308,1490,947,652,495,368,394,424,560,904,1132,1334,1704,2060,1658,1548,985,758,791,579,371,390,438,637,912,922,1005,1030,806,1196,1278,1034,786,1306,1260,898,642,459,558,518,447,648,708,855,1114,1400,1284,1390,1244,725,640,711,890,899,680,432,470,517,584,965,894,811,1003,1342,1438,1360,1162,976,839,536,658,810,876,509,271,259,218,215,208,197,198,199,219,236,255,278,382,524,431,395,389,472,515,486,547,453,473,557,403,461,930,916,515,396,380,756,1158,884,828,715,909,1686,1956,1866,1692,1556,1406,1198,879,569,460,481,492,499,454,424,420,422,420,446,438,346,280,336,319,357,452,455,436,423,457,714,773,487,311,280,323,323,355,417,400,393,581,915,694,354,475,882,993,568,345,538,645,465,659,686,514,705,843,1009,909,691,1204,1302,931,1060,1002,653,680,613,531,872,1276,804,710,893,808,669,626,490,516,429,418,529,565,710,618,718,600,494,588,662,860],[432,382,530,619,460,368,345,345,329,365,459,496,509,536,588,610,717,805,847,675,519,465,398,312,289,424,594,547,526,521,553,467,568,562,440,627,935,875,650,514,442,435,376,433,335,254,249,245,254,261,261,275,275,275,322,413,450,402,428,437,445,457,418,350,397,453,537,667,522,447,457,683,572,625,782,843,971,705,378,489,491,482,680,966,1412,914,836,672,509,471,409,559,814,827,653,637,600,493,463,445,399,440,482,547,553,682,951,1212,1284,1102,1042,756,609,547,546,1048,1920,2476,2492,2240,1448,846,819,980,817,1009,874,914,666,541,430,875,1126,731,1030,1462,1066,825,857,824,821,1002,743,1196,1009,865,1022,1478,1326,867,922,989,820,802,832,870,588,517,529,487,482,463,505,911,1312,1542,1328,713,774,856,1218,1306,866,935,1212,1400,1502,1300,1102,951,729,637,525,508,503,537,528,440,455,637,667,452,386,362,386,405,521,516,432,482,457,547,832,1044,952,956,1026,1284,1172,1044,1298,1302,1060,827,446,334,309,335,322,288,414,913,1294,1400,1266,1086,568,844,960,608,408,423,523,893,1200,1174,974,1130,1642,1544,1292,798,603,750,1130,1282,1486,1176,827,978,960,688,565,690,865,777,846,1244,1078,1096,1492,1558,1432,1432,1368,1194,1013,644,819,1034,736,589,532,700,1050,1050,1132,1076,726,718,1032,1318,1362,1388,1370,1044,1202,1230,1312,1278,764,379,361,336,379,588,835,877,826,421,442,744,1118,955,620,496,653,1032,1124,1114,1172,1118,976,1400,1080,494,526,615,891,847,748,1184,1208,1022,1276,1180,1160,957,1222,1212,1334,1302,1154,1148,1294,1340,1118,1178,1388,1568,1478,1648,1566,1282,1176,1294,1368,1334,1272,1088,1214,1040,1278,1316,943,1134,1100,1282,1202,1204,1070,888,719,505,407,504,602,778,1576,1288,1314,1226,1114,1066,985,1176,1140,932,899,1252,1364,1378,1332,1606,1564,1560,1336,1324,1158,1200,1344,1278,1214,1140,583,619,905,462,301,304,410,786,1192,1350,1110,840,810,1024,1056,1276,1052,1013,1116,1068,1316,1228,1044,1098,1262,1068,1278,1048,604,554,716,1094,889,875,1062,1240,1378,1318,1296,1710,1832,1172,1070,936,871,1088,1122,1234,1428,929,965,1074,1004,969,681,525,648,716,813,860,842,959,984,829,777,778,816,822,672,464,400,451,472,416,439,527,469,363,673,911,681,826,1584,1576,1312,1312,926,857,1042,1202,886,661,514,599,700,901,956,787,765,827,817,927,1194,1074,978,697,771,580,908,1308,1138,967,914,1200,1058,717,860,1122,1056,1072,1252,1068,1098,920,960,1128,1124,1120,890,972,913,976,808,482,384,496,452,366,676,1008,913,891,933,763,695,791,572,477,658,771,597,598,819,844,757,943,1060,949,1046,1144,765,363,599,658,515,971,1576,1494,1260,944,675,949,1080,1064,835,822,1088,1194,1860,1340,607,764,807,1052,1454,1026,496,654,450,437,345,343,433,579,603,735,1196,1116,839,800,977,809,852,1056,1190,923,1028,874,824,971,835,504,385,453,647,1414,1576,989,815,1350,1528,1396,1104,975,709,709,1138,1274,1530,1548,1306,1310,1576,1620,1204,571,374,630,1012,1120,979,808,890,1156,1328,1122,1116,1300,1328,1280,1070,922,1164,1170,1046,910,812,904,947,1322,1446,1184,974,980,1060,846,838,1130,1070,1056,1340,1694,1728,1042,698,879,952,765,473,566,514,318,591,859,923,1108,1076,1076,861,823,633,596,556,585,969,1044,755,584,628,566,461,435,461,639,539,490,452,487,572,536,503,607,630,517,406,425,401,404,432,534,501,453,504,600,598,522,400,373,367,412,503,475,488,541,565,566,483,395,507,641,678,545,579,489,477,448,429,480,452,409,393,399,377,366,393,376,404,462,526,569,688,879,1036,1110,1018,901,828,756,774,882,1068,1400,1586,1606,1378,1318,1092,1154,1292,1408,1764,1934,1736,1562,1100,618,568,700,676,616,614,1300,1294,1042,1222,998,565,671,722,1216,1608,1518,1638,1608,1450,1076,729,687,775,667,458,306,272,286,308,345,350,375,433,491,433,503,926,1334,1348,1242,1238,1234,1340,1310,1274,815,581,869,896,733,548,373,320,284,331,420,423,399,446,362,243,245,264,312,378,467,600,849,1260,1394,1202,957,1206,938,585,615,938,1038,984,771,1036,1566,1444,939,421,378,422,406,388,388,386,388,434,471,442,413,386,372,378,402,569,893,1598,1960,1532,1042,819,626,602,685,735,810,936,689,463,440,410,381,325,298,348,386,363,353,383,407,359,354,354,357,346,332,323,305,288,315,343,319,298,300,310,302,290,292,292,298,291,278,301,318,300,289,300,309,294,289,281,283,285,285,281,274,270,267,277,294,297,279,267,275,293,287,276,276,264,262,275,274,272,275,287,303,303,295,278,289,304,302,283,307,357,371,338,326,335,306,259,262,387,574,446,351,310,284,299,330,361,326,292,304,285,305,299,296,290,295,295,332,347,304,288,290,288,298,303,311,325,343,350,330,315,354,346,355,400,465,501,505,1009,1510,1590,1722,1880,1724,1170,1222,1432,1190,1820,2376,2284,1990,1744,1372,1212,1138,1052,1234,1482,1734,1482,1180,1212,1224,883,609,484,514,618,1256,1354,1478,2580,1926,1002,1150,1274,973,771,937,992,960,937,694,436,330,346,348,366,401,447,598,773,624,595,749,1084,1184,1164,822,813,1019,964,915,990,1144,831,613,811,1116,957,841,856,1108,1174,1284,1382,1260,1130,1260,1224,1172,1156,981,629,487,1028,1304,1054,886,943,1042,1170,861,1042,1666,1692,1592,1460,1512,1906,1552,1514,1394,1422,1290,1190,1214,1230,1162,763,540,896,1106,1394,1268,1194,764,862,1118,796,499,355,300,269,282,277,266,350,338,297,273,280,334,342,397,490,422,328,322,314,314,326,462,462,361,317,323,323,333,328,298,288,284,300,431,383,317,295,351,561,544,439,365,365,393,383,382,414,798,1348,1454,1050,1158,1380,1538,1842,1278,740,952,662,808,888,777,692,736,844,531,339,374,501,599,644,788,1040,1106,925,609,576,1328,990,541,423,458,649,1040,1092,689,738,1128,1528,1296,596,386,332,346,344,362,458,744,1420,1696,1370,1240,1232,1276,1210,1136,1294,1656,1440,1070,972,1028,882,1015,1058,949,1122,1174,1382,1362,1136,924,708,827,747,646,876,1062,1078,1082,1074,1086,1040,889,813,904,885,839,1182,1544,1300,868,654,494,375,789,1058,1092,1326,1310,1086,899,657,775,854,1078,1198,1082,895,585,491,587,749,789,507,322,471,700,1015,883,656,648,648,915,1060,1042,1234,1104,744,505,445,470,456,463,461,625,1094,1340,1300,1264,1494,1664,1618,1588,1428,1280,1138,970,803,765,796,717,491,678,950,1012,1252,1228,1240,1256,1242,1246,1126,839,865,854,611,504,509,464,604,597,794,990,934,1074,1260,1202,1210,1050,927,874,703,779,1240,1416,1018,502,610,872,856,1230,1094,794,1102,1554,1460,728,1038,1188,1060,853,999,1022,902,1158,1308,864,465,713,444,572,620,618,703,791,583,390,354,340,381,701,892,830,976,618,513,938,901,655,631,717,1064,1015,541,417,744,870,519,423,508,468,545,547,960,766,376,328,331,294,291,300,404,490,792,940,889,1030,1246,1408,1582,1572,1248,799,547,475,511,661,653,519,427,482,436,427,376,298,393,655,1015,1290,953,749,505,445,419,531,417,372,387,394,356,367,398,377,312,303,484,949,940,897,960,742,1158,1344,1038,644,406,386,482,433,444,637,773,843,678,592,1178,1466,946,485,366,363,606,583,408,446,745,912,1544,1582,1254,1398,1300,979,783,577,364,331,291,365,577,446,655,910,767,1118,1005,670,593,645,514,463,578,1182,1526,626,308,418,561,616,1086,1336,1458,1554,1152,695,745,785,977,930,671,656,745,696,570,617,797,803,799,910,971,870,602,408,585,797,871,822,1066,865,587,492,240,218,227,215,209,228,216,219,271,284,349,530,554,411,363,333,422,610,701,901,853,580,451,702,1248,1144,571,412,412,724,1084,743,667,692,948,1576,1778,1576,1428,1384,1318,1112,755,508,458,445,465,487,483,423,431,466,512,495,403,355,299,356,280,278,358,435,488,491,573,838,709,347,288,267,347,376,509,770,885,764,974,1152,861,658,537,525,630,586,521,377,341,308,431,551,490,648,771,1134,1112,647,678,996,885,656,507,469,408,373,691,1242,1338,1174,1080,966,1026,1106,839,553,523,391,376,393,699,1040,918,866,673,539,770,938,1040],[379,339,326,328,312,289,291,316,297,295,338,365,503,572,606,638,736,825,728,508,519,508,508,352,292,398,626,670,572,532,581,568,615,664,668,810,918,918,741,562,469,456,397,442,423,304,262,263,278,276,307,334,337,323,334,389,404,350,399,480,471,490,458,448,504,517,525,634,495,440,443,607,613,498,666,1072,1044,635,432,639,800,672,785,872,841,957,1216,1222,830,460,488,658,1066,1158,565,443,402,401,432,445,383,399,481,560,513,615,858,848,850,1010,916,775,575,465,951,2204,2504,1836,1392,1238,1252,1174,868,814,1084,1650,1070,1030,701,502,654,1252,1334,945,1086,1490,1122,871,767,591,1078,1206,713,570,661,637,818,1292,1021,667,842,1084,1192,1054,828,1092,713,565,688,577,502,577,821,1268,1612,1788,1312,727,776,792,1312,1130,610,720,975,1300,1350,1122,1064,888,869,785,552,527,509,602,487,427,543,751,767,408,383,535,536,383,428,436,397,451,393,382,568,762,878,937,1202,1716,1902,1532,1244,1028,841,497,331,346,337,312,330,356,650,1072,1254,1318,1424,1070,810,1056,982,608,422,444,564,1030,1576,1548,1312,1392,1458,1476,1166,1156,963,1110,1224,1070,1030,1003,1134,1256,999,1198,1216,794,741,964,1100,1142,1136,1398,1498,1346,1492,1616,1570,1538,1484,1032,842,758,562,516,498,804,1498,1566,1398,1566,985,760,1132,1384,1614,1466,1036,800,1154,1448,1478,1290,799,389,363,345,313,552,1240,1172,766,474,406,562,1001,960,533,413,612,917,868,973,1250,1414,1076,1058,755,537,636,797,1170,1342,1272,1338,1204,1270,1278,1112,1268,1112,786,681,940,1080,1150,1334,1542,1532,1542,1484,1432,1720,1414,1290,1394,1372,1212,1354,1636,1614,1470,1346,1464,1104,1216,1098,1154,1290,1028,1120,1076,698,789,1021,850,691,957,995,894,688,855,753,861,1009,1198,1092,879,999,1212,1330,1350,1434,1468,1396,1624,1828,1670,1542,1488,1432,1336,1346,1150,1076,1230,1220,530,773,1218,696,355,358,651,1142,1482,1288,922,522,450,576,944,1392,1108,863,929,1612,1578,1052,966,1052,1476,1338,862,819,712,753,727,730,713,781,915,932,1088,1096,1266,1688,1968,1146,1078,969,1094,1390,1320,1202,1202,839,1007,1228,1046,1182,749,486,505,524,593,730,827,969,954,874,700,623,800,789,714,562,396,364,418,439,385,431,393,318,486,678,778,1168,1678,1422,1610,1410,1128,1052,1190,1140,994,810,607,630,837,951,1032,897,667,580,536,789,1136,1330,1136,832,907,907,860,931,1132,833,505,735,978,797,1060,1362,1384,1164,1066,1250,1284,884,741,1116,1388,1330,1196,1016,858,575,466,457,417,455,474,484,849,1408,1572,1396,1330,1206,1074,1110,877,608,535,751,1070,1170,1040,894,735,908,937,1132,1066,623,420,308,544,568,392,632,1054,1001,945,839,721,942,1332,894,501,591,850,1042,1004,691,818,1068,1050,1104,1120,1456,1020,776,688,642,451,498,627,641,697,1174,1292,925,881,916,1240,1088,940,971,1288,1154,1166,1250,1080,1032,733,605,489,584,916,1216,818,965,875,1100,1750,1924,1688,1412,1164,830,1086,1084,1256,1474,1452,1522,1440,1166,729,411,344,393,644,869,827,860,1138,1188,1406,1406,1358,1166,1184,1216,1040,1282,1312,1280,1192,1138,985,1052,1110,1334,1316,1078,960,919,1170,1138,959,944,901,1250,1234,1714,1930,1350,1082,928,876,723,721,913,593,433,521,598,841,1066,1202,1007,1356,2088,1306,797,686,742,1078,1050,767,622,660,608,497,484,667,775,623,467,458,484,612,698,611,639,680,800,553,475,461,447,501,560,488,506,544,582,624,479,386,412,389,887,911,585,484,483,497,576,529,393,418,466,678,698,709,520,460,455,460,484,533,499,452,540,466,394,417,458,505,583,750,949,1134,1220,1202,1164,1080,941,885,865,901,977,1332,1340,1238,1046,974,1078,1312,1582,1452,1350,1710,1924,1730,1770,1236,742,724,723,627,799,773,1032,1350,1220,1280,1015,534,521,1238,1874,1724,1206,1174,1382,1154,658,425,411,481,543,519,378,313,308,320,442,427,474,581,555,510,774,1154,1330,1212,1270,1276,1438,1208,1240,1062,606,686,883,872,996,854,613,732,445,384,324,302,425,482,366,272,268,282,290,372,747,1008,1028,1460,1442,1296,847,647,684,798,705,479,515,617,663,637,704,1017,614,397,439,425,404,401,390,374,386,401,435,438,395,378,365,399,447,786,916,1162,1522,1432,957,596,453,449,536,672,661,519,434,394,390,400,372,351,332,343,410,561,449,422,372,347,357,368,362,356,345,318,292,289,312,345,322,298,300,298,317,311,308,307,308,296,295,331,312,303,308,321,340,286,270,265,280,285,289,288,281,277,272,268,287,316,297,275,275,266,263,270,267,259,258,263,262,279,283,301,311,309,287,303,286,304,302,270,298,367,395,364,353,332,306,276,310,554,428,303,310,284,289,303,328,330,309,310,296,281,299,294,282,281,290,294,349,383,334,299,296,289,292,284,306,333,343,359,357,339,346,334,354,396,390,426,772,1398,1748,1710,1736,1714,1162,880,1334,1360,1516,1998,2266,2170,1528,1218,887,1072,1050,930,883,1130,1454,1312,1124,1180,1030,515,617,655,668,728,1232,1384,1184,1518,1230,708,777,1300,1244,818,650,548,563,462,364,353,328,338,347,336,334,374,715,1256,1090,689,753,1018,1228,1300,1156,1120,932,923,989,763,803,600,593,984,1124,1210,961,862,929,873,885,959,940,1182,1416,1324,1296,1036,1382,1476,1070,1204,1224,1272,1466,1128,829,1144,1168,1296,1710,1792,1648,1636,1484,1400,1422,1392,1480,1580,1410,1128,990,1023,1152,769,529,846,1204,1304,1216,1230,1078,1206,1210,806,480,358,334,327,286,303,297,381,324,286,310,293,287,324,379,447,387,475,507,350,326,320,412,434,430,420,361,361,356,338,307,284,275,376,513,401,296,276,393,607,611,427,364,430,453,385,379,369,581,901,711,541,765,932,1350,1578,964,638,746,731,758,777,1102,1202,980,756,520,486,492,434,573,751,948,1120,1142,1192,709,1402,2072,1178,517,413,609,1202,1660,1404,775,754,1028,1226,1376,837,415,358,319,286,355,507,755,1094,1258,1198,1364,1234,1088,968,948,1068,1312,1144,710,869,1042,835,1170,902,955,1222,1244,1284,977,736,574,537,573,597,553,655,1007,1280,1348,1158,1060,946,818,833,927,805,1026,1278,1276,1426,1280,628,443,419,930,1254,1290,1228,1168,910,690,637,844,938,585,421,339,268,240,280,290,479,466,341,328,458,686,921,872,802,891,928,905,982,1342,1612,1524,1120,666,525,456,429,457,554,715,900,1376,1412,1386,1636,1628,1526,1396,1360,1302,993,705,698,528,603,475,401,611,850,865,857,857,1012,1003,720,811,822,592,656,659,493,397,375,329,378,458,620,926,1018,1026,1184,1292,1042,969,1052,949,769,747,1296,1458,1040,561,851,990,662,1144,1019,1070,1526,1758,1432,663,733,1148,1098,639,847,1050,976,1042,858,480,470,851,616,606,647,557,441,400,364,344,343,322,341,615,1012,1178,984,501,379,772,765,654,861,1168,1302,1250,737,674,1188,1096,720,402,524,717,794,685,744,687,409,343,355,321,307,330,343,375,469,866,1188,1466,1304,1019,1134,1450,1542,1400,1013,637,617,767,686,579,519,495,503,446,381,472,730,973,1094,866,408,326,328,344,278,285,321,368,394,356,346,342,377,327,258,305,433,562,608,596,557,639,1228,1620,1212,854,854,631,631,580,578,662,849,961,666,558,1058,1378,923,448,646,909,904,485,319,368,432,582,938,807,848,1056,1076,987,808,618,550,426,339,330,525,444,447,538,516,574,603,726,1096,1114,709,580,548,1182,1124,482,383,589,625,1384,1950,1544,1604,1484,1266,878,797,750,677,692,608,469,469,469,306,308,655,783,503,433,500,470,473,439,825,1078,1166,1514,1660,1398,890,429,241,219,210,207,283,304,300,290,322,338,354,401,451,370,454,509,636,818,1146,1170,874,543,433,593,966,1034,602,430,422,805,962,679,639,731,1130,1572,1600,1394,1246,1340,1238,1007,738,560,471,472,531,534,479,428,412,428,515,486,462,446,435,378,336,352,304,307,405,512,630,903,921,603,484,528,590,498,603,866,1074,1052,1206,1220,1112,1138,839,437,526,671,529,325,268,293,343,411,459,507,615,1044,1192,824,544,843,709,540,483,483,462,470,995,1598,1554,1420,1422,1054,1200,1172,667,507,516,473,399,295,456,648,579,473,457,483,736,1011,903],[342,312,276,291,266,256,270,288,270,244,253,279,275,326,361,360,453,584,527,404,439,547,612,546,417,343,535,697,620,638,713,656,630,661,760,808,764,600,516,431,336,319,366,505,467,337,280,261,292,271,313,361,333,347,336,308,276,292,344,354,386,427,499,618,584,565,565,596,508,444,444,473,621,719,629,1044,1204,774,693,761,879,761,688,789,909,919,980,1032,812,683,803,839,1108,1060,697,531,426,407,417,416,391,418,591,653,469,529,782,774,1001,1138,932,914,988,868,1214,1696,1258,1052,973,1174,1406,1228,1060,850,957,1094,842,600,669,1028,1426,1572,1078,1013,1354,1328,1170,1056,880,655,907,965,730,514,617,717,899,1198,1222,967,923,1060,1310,1102,988,1108,822,640,731,760,714,633,805,1194,1352,1410,1136,797,782,877,1438,1162,506,492,559,796,1190,1120,971,819,883,685,432,377,439,609,761,911,1082,1166,1082,489,418,532,550,438,359,320,411,401,381,349,398,673,797,736,983,1172,1592,1302,1122,672,339,258,273,326,317,285,274,523,1114,855,1084,1640,1582,1098,865,723,539,380,423,444,720,1666,1804,1396,1334,1560,1560,1520,1428,1762,1506,1026,941,928,1122,1332,1026,1204,1390,1298,1136,570,413,764,1028,1204,1160,1084,1100,1286,1432,1576,1606,1682,1660,1512,1264,1216,936,711,589,863,1488,1398,1072,1140,1032,1066,1180,1330,1400,1340,1072,985,1238,1510,1598,1254,721,527,333,313,310,543,1340,1216,601,459,548,699,1072,1090,616,631,875,802,876,1312,1392,1144,787,552,470,659,916,946,925,1238,1328,1334,1404,1378,1344,1244,1328,1500,1196,813,744,755,877,1176,1366,1196,1540,1584,1376,1528,1350,948,990,1490,1804,1698,1524,1290,1318,1558,1316,1028,989,828,997,1176,1142,1272,1038,595,880,1206,1152,1064,1288,1398,1078,863,1040,984,854,949,1142,1394,1174,1014,1354,1548,1452,1604,1522,1352,1472,1482,1546,1532,1460,1434,1260,1094,1142,998,1094,1352,916,1380,1670,990,595,666,916,1186,1296,1808,2006,643,383,384,538,639,484,468,593,1003,997,973,1058,1156,987,666,414,598,647,694,854,742,478,626,910,1242,969,666,1068,1098,1060,766,679,579,727,1078,1198,1176,954,694,1062,1552,1084,965,631,602,524,418,606,558,467,615,905,1062,880,803,686,669,743,544,374,389,587,634,514,437,438,442,561,695,1178,1384,1296,1136,1446,1274,1160,1001,1124,913,517,714,972,869,1156,780,852,891,771,747,838,1146,1007,777,870,1001,1078,1166,993,666,784,501,455,708,1394,1224,1272,1428,1398,1244,1262,1430,1296,1162,900,918,1006,1124,1238,1050,896,593,604,724,559,432,523,688,995,1558,1534,1330,1244,1008,1114,1176,916,818,701,642,689,546,385,403,380,738,969,1274,1016,464,316,305,342,380,379,552,874,628,499,710,708,802,1162,942,634,495,683,1036,999,746,1042,982,1316,1404,777,1086,1432,1042,626,496,521,888,996,731,693,897,1094,1120,951,1130,1280,1108,891,1042,1560,1344,835,940,1116,1130,1146,990,639,602,857,803,850,1456,1534,1382,1356,1382,1466,1170,1476,1324,1202,988,1014,1318,1624,1700,1390,1086,781,480,407,396,430,584,738,1108,1438,1362,999,976,1090,1009,885,648,548,890,1216,1314,1230,863,910,1198,1266,1240,1302,1042,779,731,939,841,928,1164,1028,1290,1144,1686,1454,1160,1100,1106,1184,990,987,1200,808,670,707,724,724,1034,1150,915,2084,2282,1050,1042,766,719,769,680,580,530,897,772,572,630,728,966,975,616,495,593,720,732,704,711,626,605,604,586,709,670,614,541,468,621,667,592,634,555,546,453,345,760,1026,822,490,448,473,582,514,378,368,390,562,730,728,653,543,441,434,459,485,525,536,606,550,458,475,448,647,911,1038,1198,1248,1094,1008,1088,1094,1040,989,941,1024,1262,1232,838,810,967,1300,1432,1494,1618,1586,1442,1708,1908,1732,1976,1542,902,668,633,616,873,969,1064,1528,1672,1490,1198,773,838,1976,2100,1392,985,915,700,620,507,461,404,402,550,583,623,802,551,764,1005,757,661,845,861,683,1108,1300,1180,1364,1228,1388,1426,1222,1122,702,629,1016,911,597,814,1082,1140,995,514,430,409,514,760,795,558,273,289,279,273,514,1474,1400,1102,1258,1220,1100,956,825,816,955,844,492,420,580,729,492,501,700,603,485,436,413,401,380,386,388,384,355,393,441,424,406,402,409,641,1054,1138,909,898,1001,708,481,451,439,457,688,797,546,398,363,390,431,396,358,332,372,435,854,571,344,363,327,315,352,354,327,320,315,301,298,303,318,309,310,310,293,303,298,286,291,312,307,309,309,321,348,310,322,327,305,275,262,276,279,289,296,297,283,268,276,282,306,310,294,285,280,278,274,272,264,274,302,285,278,269,284,289,300,298,277,270,294,308,291,294,309,367,377,376,341,300,276,529,565,348,344,326,316,334,301,303,313,292,291,289,290,294,289,289,288,291,310,315,327,343,303,315,311,301,297,299,294,287,326,357,313,300,323,355,389,424,572,1182,1668,1700,1590,1622,1296,912,1136,1538,1404,1466,1600,1998,1760,1418,1786,1360,1194,1208,1005,871,1036,1454,1480,1336,1278,807,587,1164,1262,1206,1548,1952,1646,1288,1286,1254,1326,736,1102,1152,999,818,536,421,331,311,327,347,346,343,319,334,385,675,1212,1198,983,1048,1200,1136,1260,1360,1136,969,802,719,770,788,695,882,1090,897,1036,883,651,761,907,1050,994,1130,1216,1280,1180,1434,1312,1382,1586,1444,1214,1316,1510,1516,1076,614,794,797,1108,1658,1826,1654,1722,1650,1344,1282,1350,1466,1714,1626,1036,820,980,1192,777,591,843,1184,1292,1204,1182,1222,1296,1368,1134,626,403,370,356,280,292,336,343,314,289,297,301,357,372,365,400,467,570,453,341,322,357,462,548,701,785,544,371,357,321,312,293,312,489,455,305,270,289,355,532,593,408,383,441,439,352,372,366,460,642,613,546,615,807,1252,1456,1402,1056,1034,1208,1038,1126,1160,1148,1138,914,664,697,554,623,792,1202,1136,1023,898,921,996,1102,808,543,493,436,738,1506,1692,1118,822,639,858,1180,1436,922,386,292,250,248,268,263,340,480,474,435,800,824,562,480,448,508,834,1007,629,554,780,814,885,589,646,1098,1240,959,778,742,680,533,569,896,581,774,1066,1086,1206,1074,1016,866,789,820,598,574,878,1144,1112,1152,1088,478,315,482,885,1064,1196,1188,1156,1122,976,1014,1102,973,676,667,585,353,277,276,290,368,388,364,326,387,634,1007,949,1070,1224,1224,1296,1062,1328,1324,1244,945,579,554,443,423,576,903,1236,1202,1410,1558,1606,1534,1456,1274,1212,1254,904,697,839,897,646,1104,643,301,425,875,880,614,601,466,529,478,503,414,438,855,754,514,416,447,422,437,408,443,569,673,901,1092,980,694,720,1000,1064,742,695,1009,1164,980,591,594,731,563,680,663,1148,1600,1510,1278,861,513,719,788,496,493,374,439,560,591,478,592,1023,856,769,584,335,327,315,329,296,280,302,345,670,1048,1160,1144,831,459,371,523,628,698,988,1388,1548,1498,1318,1370,1360,998,492,520,812,902,759,760,670,419,359,345,329,301,326,321,348,358,546,983,1392,1132,803,667,921,1384,1570,1478,1142,815,637,612,650,533,518,490,477,437,511,763,761,615,373,280,318,305,297,301,319,332,339,342,409,548,479,580,741,482,336,377,400,651,779,713,871,1192,1372,1302,1001,907,711,988,795,578,547,681,745,496,463,938,1268,795,525,888,902,583,386,298,343,380,413,494,576,816,1168,906,736,607,569,888,855,566,364,404,496,539,591,736,778,861,992,1136,1184,526,343,306,468,445,485,609,709,561,714,1208,1542,1322,739,753,845,546,376,396,459,330,218,303,391,319,314,521,519,460,626,594,532,500,476,962,1396,1862,2122,2088,1550,968,580,294,220,204,207,391,482,417,390,429,437,563,292,304,393,678,787,807,1060,1236,1136,867,558,476,447,711,1122,655,450,501,882,980,784,666,832,1236,1516,1686,1574,1410,1410,1356,1234,769,551,516,534,533,487,451,408,337,326,385,385,418,372,377,292,332,417,412,388,449,440,572,757,670,698,1094,1220,1120,804,608,830,1058,1106,1206,1126,1026,1106,856,518,560,516,346,382,440,394,471,575,528,474,488,861,1028,968,390,319,355,466,495,464,412,472,1020,1582,1480,1054,896,577,579,535,522,528,619,630,473,336,318,392,489,662,1146,844,968,1204,972],[328,267,278,251,248,263,276,261,243,244,236,244,257,279,281,259,288,256,266,474,642,616,539,540,525,478,510,618,745,814,807,673,663,675,646,582,592,477,358,273,246,270,428,558,446,413,302,273,272,250,285,328,332,315,294,272,281,285,290,400,415,457,542,664,556,480,483,548,482,424,428,405,553,788,744,1062,1312,861,718,530,450,400,366,582,922,1076,990,873,690,705,836,739,695,855,1072,764,483,407,448,489,450,424,574,532,437,418,738,870,1064,1284,1220,1076,1218,1180,1164,1292,1090,1116,885,921,1240,1218,728,823,1086,879,684,828,779,995,1362,1448,844,953,1228,1142,1596,1358,1116,857,700,1200,1128,694,709,700,949,912,945,928,1188,1102,944,1224,1388,1074,582,631,846,1004,924,691,955,1248,1130,1002,866,793,908,1262,1472,1072,656,568,755,1128,1394,924,661,651,683,484,298,497,779,794,1126,1416,1174,1118,924,609,633,816,715,447,370,424,435,343,399,539,630,720,663,811,1007,930,779,1180,1162,411,278,254,244,243,225,241,371,855,1007,722,789,1338,1482,1300,1026,698,513,435,532,568,846,1184,1238,1208,1418,1232,1000,1152,1650,2038,1074,666,963,720,633,577,566,964,1242,1009,885,645,443,418,664,947,924,1100,1404,1396,1260,1062,1450,1704,1754,1636,1484,1432,1324,1064,748,908,1252,1300,1004,918,1112,919,615,935,1200,999,893,1272,1426,1514,1320,1056,630,555,380,314,345,458,1002,1212,819,649,893,864,1156,1406,1384,1038,948,926,1024,1240,1042,868,635,443,420,538,685,747,499,951,1142,1100,1230,973,730,708,1096,1528,1498,1112,919,927,1180,1268,871,815,1262,1470,1330,1410,1432,1080,944,764,1372,1728,1388,1316,1340,1290,827,1009,1266,1034,1152,1356,1150,1184,921,735,1442,1336,1132,1178,1172,1256,1212,1212,1300,1044,791,835,805,1340,1472,1114,1224,1358,1550,1394,1224,1176,1013,1322,1446,1476,1472,1294,1178,1136,1332,1254,1396,1752,1362,1098,1012,811,980,1068,1228,1210,1218,2128,1736,561,340,334,332,343,331,304,310,303,438,579,782,891,552,391,400,529,703,825,951,680,460,404,417,454,562,661,822,888,1019,1070,781,462,614,984,1156,1166,1032,802,944,1266,1007,951,643,581,419,291,333,343,255,308,631,1076,935,960,771,662,604,549,492,665,694,639,660,368,393,631,863,1098,1334,1032,956,855,732,777,1042,1246,1270,1076,1015,943,1008,934,1240,891,616,689,922,1032,957,1140,997,644,1028,1378,1456,1304,1036,624,462,383,375,651,915,1032,1264,1186,865,1013,1042,1110,1210,1158,971,976,997,1144,1098,1260,1120,724,902,1028,825,556,621,874,1278,1458,1404,1318,1036,951,1094,1116,1164,1178,727,559,586,555,507,502,685,1064,1222,1176,1098,736,338,348,313,328,400,510,656,586,541,777,952,1028,1202,1142,734,764,985,912,1019,820,906,584,819,1142,743,637,1326,1284,653,403,655,1106,824,593,547,789,1484,1194,1282,1304,1076,834,911,1296,1442,945,589,624,892,1090,1258,1098,954,822,835,850,970,1386,1488,1126,1015,1202,835,714,1210,1292,1324,1140,973,1258,1560,1434,1266,1392,1172,963,859,940,1062,1005,766,872,1204,1130,838,672,752,879,493,339,356,397,561,927,971,543,553,1124,1266,1322,1340,1194,1274,1160,930,747,1106,1238,997,1142,1017,1174,1266,1180,979,1050,1290,1108,741,1026,943,789,899,908,714,822,955,1050,1792,1676,933,853,645,987,1130,1064,973,922,1032,759,550,747,1010,1078,897,657,562,839,772,567,829,948,885,1108,1007,699,604,608,616,510,523,955,1042,958,1114,926,609,497,493,724,924,702,476,479,486,554,466,401,509,522,562,712,731,736,694,525,504,481,372,451,550,536,552,441,414,464,794,1078,1160,1268,1194,947,975,1016,1078,1196,1358,1518,1504,1320,985,905,971,1274,1686,1576,1536,1678,1716,1560,1742,1874,1724,1916,1814,1104,760,973,966,1118,1234,1368,1610,1720,1582,1442,1058,1428,1878,1714,1118,1072,1246,716,443,422,469,540,1066,1212,852,1068,1332,955,1100,1418,1226,927,952,717,670,1172,1166,1164,1188,1218,1348,1248,1378,1198,608,598,891,942,843,929,969,792,538,441,620,738,930,1146,971,564,350,416,290,254,320,875,966,1003,1010,1054,1028,974,1017,974,1070,1016,708,678,872,923,619,447,546,680,666,525,401,391,380,388,368,357,348,391,447,438,392,411,527,828,1086,1180,1015,824,648,467,430,450,517,482,522,493,412,357,352,416,460,375,343,325,338,397,659,482,335,375,357,327,332,314,302,307,309,324,280,282,289,291,301,298,295,302,300,296,299,337,328,320,309,328,349,309,325,323,306,297,268,267,280,313,297,287,281,287,306,299,309,299,288,296,286,280,279,284,306,330,350,305,274,285,290,271,281,280,281,289,307,318,335,283,292,326,356,344,346,286,404,639,447,355,363,358,330,324,321,294,272,260,264,277,286,290,296,321,335,305,325,331,328,349,315,292,286,288,284,279,284,289,303,357,357,330,317,345,387,448,914,1558,1738,1630,1576,1216,981,956,1202,1482,1394,1622,2018,2240,1804,2066,2770,2072,1284,1128,923,794,915,1272,1206,1088,1062,584,499,967,1206,1318,1512,1584,1430,946,1226,1344,1312,602,938,1046,930,686,814,709,334,340,336,352,363,407,346,377,484,760,1050,1128,1208,1328,1312,1344,1422,1326,1009,971,1032,1116,1200,1084,1148,1444,1240,880,1062,996,622,727,935,1450,1578,1290,946,1176,1378,1700,1576,1334,1350,1072,1080,1528,1456,1382,1026,559,678,782,902,1306,1690,1704,1732,1490,949,856,1216,1786,1692,1034,1012,907,782,768,662,814,1017,1172,1394,1216,1036,1288,1046,1234,1110,666,491,396,365,298,318,339,345,321,299,305,353,484,522,462,362,372,396,347,328,314,325,401,566,727,797,512,338,338,321,313,289,293,278,230,242,266,281,339,454,443,413,388,401,416,359,364,372,436,713,724,416,437,973,1140,1136,1446,1448,1302,1068,869,1186,1376,1158,1388,1294,838,741,721,955,1102,1406,1364,1374,1126,1330,1628,1202,941,645,514,568,883,1436,1604,994,765,543,515,622,680,491,260,237,255,252,263,304,402,493,432,410,799,626,340,374,361,371,551,574,354,357,442,647,672,549,597,899,1040,936,795,762,803,568,435,694,442,651,875,824,1021,1132,1021,866,884,722,301,455,887,1120,1015,968,1098,650,381,665,1078,1410,1572,1324,1280,1322,1260,1272,929,624,441,443,444,298,243,262,317,339,328,317,431,620,605,856,953,1054,1198,1394,1344,987,786,735,699,593,695,902,563,493,892,1340,1442,1222,1438,1636,1512,1484,1510,1316,1296,1064,712,875,1288,1208,773,723,500,311,425,785,880,806,1026,581,520,666,564,460,478,566,534,539,450,550,907,954,782,797,786,689,815,703,493,486,461,699,749,505,662,1134,1102,823,591,475,501,609,618,837,1124,1264,1364,1250,948,546,386,391,398,446,451,476,605,1015,777,616,959,1144,1114,833,542,477,550,587,561,590,680,722,1032,886,665,800,761,486,304,356,455,469,628,1382,1972,1888,1334,1340,1380,918,435,354,580,590,648,808,774,496,368,274,313,413,454,412,343,422,612,806,1282,946,735,655,662,875,1270,1526,1542,1286,901,691,586,505,525,478,425,338,492,846,846,582,396,342,324,300,300,330,342,337,325,436,1620,1918,1318,1160,1162,713,388,371,617,1021,948,806,846,1124,1594,1570,1132,711,574,500,404,535,522,449,419,372,393,761,925,613,636,1054,1208,1064,709,356,401,423,346,379,388,471,717,775,651,545,1062,1572,1492,1094,569,424,580,783,604,684,545,368,557,578,587,493,471,501,464,408,475,558,531,457,491,869,1124,949,626,614,507,455,516,531,484,358,337,355,423,391,284,440,572,666,716,590,487,428,583,1046,1564,1748,1764,2106,1418,871,683,375,228,221,254,469,647,542,481,511,432,626,557,385,394,730,959,1104,1242,1090,876,725,631,612,568,799,1026,625,557,674,816,774,515,645,1116,1274,1250,1302,1192,1306,1306,1388,1178,731,547,526,521,452,411,443,348,301,362,426,341,275,289,305,294,375,537,554,569,591,436,516,449,332,563,870,1112,1278,1202,1001,1078,1218,1302,1350,1290,1344,1234,662,479,474,394,336,440,536,491,668,978,814,687,451,734,960,832,432,312,323,368,350,318,314,321,680,1398,1524,1166,1172,821,480,484,539,485,501,572,568,396,344,398,672,1074,1264,969,938,912,761],[286,263,242,241,259,269,268,256,247,240,230,232,257,278,291,245,248,260,290,388,469,462,390,339,364,360,382,525,822,879,875,708,616,536,500,525,606,602,422,303,262,277,391,511,555,469,345,272,231,229,267,360,458,450,378,390,476,385,366,572,422,361,456,476,423,435,574,631,484,523,681,643,591,663,547,1126,1406,1090,795,694,712,537,495,713,1230,1340,960,735,523,648,778,526,532,839,1007,1030,687,640,813,786,814,499,538,520,547,436,642,800,1006,1212,1170,1316,1256,872,884,1268,1011,839,984,1350,1550,1088,780,1048,904,525,645,877,762,586,546,943,871,883,989,1166,1280,987,758,664,1356,2034,1488,879,814,708,756,620,736,905,1582,1588,1274,1506,1320,929,740,670,612,769,710,540,692,935,788,616,578,608,1012,1516,1366,851,631,753,680,828,986,601,430,460,480,509,406,471,773,852,1136,1294,766,657,567,786,956,1078,844,437,425,377,356,387,294,547,676,503,486,657,793,780,563,664,513,270,287,245,232,210,260,458,771,1342,1402,1050,916,995,1042,995,1236,909,697,703,702,861,1162,1356,1260,1236,1360,1248,1360,1156,1328,1470,1070,924,1064,656,479,519,737,1132,1240,1294,1002,700,510,686,937,964,1226,1384,1306,1162,1196,826,910,1282,1548,1454,1240,1202,1262,1054,1166,1186,1102,928,1152,1412,1388,1216,1088,1017,1040,974,1098,1340,1474,1328,705,462,545,497,413,382,458,552,563,672,838,976,812,664,1098,1124,1194,1246,1300,1284,1166,947,1076,1022,554,572,591,860,949,1092,1028,1262,1242,1202,1296,1296,1172,854,1050,1076,960,782,843,857,968,886,632,614,657,868,1340,1492,1310,860,789,745,852,1300,1678,1610,1416,1146,973,1058,1102,1130,1298,1504,1494,1428,1162,984,1150,1248,1270,1422,1400,1050,1036,1086,1009,709,855,1088,904,1188,1488,1358,1044,1238,1430,1036,1052,1144,796,1084,940,1212,1494,1414,1518,1276,1324,1230,1332,1678,1296,966,1256,1018,1166,1388,1332,1366,1358,1284,772,403,318,280,299,320,310,293,323,337,405,502,524,397,370,414,374,444,561,791,914,605,559,403,306,359,708,810,642,616,1310,1542,907,618,568,697,852,855,723,493,681,922,980,739,531,372,284,245,266,401,465,446,355,332,521,691,792,778,756,724,657,720,703,624,563,325,465,827,897,1230,1238,1434,1556,820,579,871,1334,1254,946,675,600,768,637,1030,1536,1272,937,853,760,830,1026,1356,993,616,973,1232,1390,1338,1166,793,692,555,509,635,708,988,1226,1158,661,968,1006,1068,1176,1013,988,1034,976,758,761,1226,1284,1017,983,971,922,551,425,582,1058,1158,1350,1266,1050,1052,1250,1196,990,944,532,466,455,578,900,1170,1440,1866,1620,1006,839,608,424,433,397,315,365,501,671,602,640,819,1138,1458,1538,1376,1009,1198,1260,740,869,854,895,701,475,382,490,865,1326,1418,1296,872,853,795,904,892,565,731,1292,1550,1494,1236,1114,924,1020,1172,1026,754,797,899,986,1148,1152,1078,1320,1316,1076,901,901,997,1020,880,885,1362,753,695,1023,1310,1496,1158,1176,1368,1298,1224,1166,1174,853,1148,1244,1214,1334,1382,1004,688,615,937,1132,963,620,512,335,318,306,331,368,431,528,509,652,1052,1166,1252,1202,1276,1666,1472,1080,984,1250,946,766,692,980,1370,1176,1128,856,965,1274,890,511,473,546,776,735,581,575,689,776,1110,1390,1298,810,720,726,1170,1308,1134,1182,1036,656,780,987,739,976,1168,800,605,855,1216,1048,824,1108,1100,1058,1214,1284,980,750,818,844,984,794,929,836,1070,1250,902,749,803,725,1064,827,654,569,505,423,408,386,481,668,718,756,819,870,787,583,487,463,426,473,603,523,423,472,430,451,571,737,844,1042,1168,958,882,987,968,913,1156,1504,1306,900,941,1312,1780,1960,1852,1864,1690,1650,1970,1846,1628,1766,1924,1778,1716,1524,1026,1156,1338,1164,1340,1360,1450,1616,1520,1374,1140,1092,1512,1606,1354,966,941,1040,999,590,861,987,1062,1810,1854,1316,1262,1208,904,711,843,1070,1036,743,609,1024,1164,863,882,983,1150,1236,1374,1350,1066,804,664,769,1216,1218,980,999,745,396,437,718,891,916,1060,852,421,301,294,281,269,232,448,847,1152,1011,896,888,774,824,714,698,771,948,871,744,793,716,518,591,744,680,507,441,398,386,397,379,370,383,397,422,424,421,468,708,1042,1094,1140,901,567,456,422,412,447,470,450,421,428,386,350,383,400,425,413,375,327,306,315,329,329,355,371,329,319,332,338,312,324,346,324,329,331,308,301,293,297,310,312,297,289,279,334,365,346,315,350,357,316,334,361,302,285,269,270,291,309,282,287,298,328,339,334,323,338,330,281,268,280,274,283,303,303,338,318,281,294,301,289,285,291,296,310,313,316,314,283,291,301,323,358,346,274,479,554,315,321,351,365,361,342,328,300,286,272,264,268,269,276,296,332,356,317,347,326,341,333,315,292,275,280,276,277,281,293,300,350,385,352,342,358,359,672,1336,1714,1668,1710,1386,905,888,999,1346,1390,1706,2250,1974,1804,1776,2238,2834,2322,1244,803,852,855,735,835,1042,1186,1070,679,308,611,1334,1600,1446,1708,1406,846,1090,933,601,609,718,770,868,862,1150,1070,585,390,379,393,410,413,354,395,806,1202,957,792,1200,1318,1376,1388,1088,1200,1190,1162,1015,1074,1278,1070,860,1074,1248,1162,1108,1140,794,808,808,1314,1456,1104,662,947,1416,1388,1228,1392,1344,960,1294,1462,1286,1214,1086,756,796,1058,1088,1258,1532,1616,1586,1368,1106,1208,1366,1232,685,478,709,667,666,858,1072,1178,1001,1104,1522,1514,1070,1242,962,1092,1376,1738,1108,349,414,337,347,385,347,290,282,299,360,452,528,596,509,402,368,317,289,296,289,322,538,707,594,369,289,302,321,324,293,266,278,274,272,277,289,362,416,417,459,447,419,401,351,336,333,447,871,822,451,357,731,945,1016,1136,1388,1394,950,643,1190,1550,1280,1544,1196,906,804,980,1240,1440,1300,1318,1062,634,1038,1350,1148,1360,789,456,456,897,1270,1302,1072,797,446,271,240,230,284,253,232,252,272,261,296,357,387,430,420,464,417,363,374,369,324,406,415,503,496,724,962,655,363,504,720,741,856,808,735,626,585,596,425,319,464,495,513,1048,1336,971,784,869,927,720,601,781,772,676,911,1070,858,811,1028,1328,1450,1392,1296,1270,1248,1074,1030,971,833,589,554,445,307,286,342,361,356,325,328,582,933,743,656,574,848,1064,1021,944,1048,885,633,588,779,984,1268,894,1136,1302,1432,1354,1316,1378,1354,1472,1434,1614,1526,1280,819,686,1168,1174,1196,854,486,448,362,592,1102,1238,857,972,1204,816,736,560,671,696,375,450,618,656,813,843,939,1324,1224,1070,690,481,418,403,404,524,600,362,416,833,1256,998,981,833,626,501,422,446,681,869,1232,1608,1166,703,488,460,444,382,442,498,528,996,1186,818,616,744,967,1162,1200,928,894,863,1192,1052,1036,1136,1044,1110,902,744,753,717,440,361,487,985,815,426,700,938,658,717,1076,1166,965,579,368,559,608,579,526,630,585,491,364,352,447,424,357,469,644,888,1036,1192,880,651,611,658,689,819,1196,1514,1614,1472,1130,698,598,530,434,364,271,304,484,547,524,426,329,274,314,299,319,323,315,346,334,1886,2482,1740,1316,1028,687,519,714,948,1134,841,797,574,830,1382,1382,1100,759,566,576,500,472,473,508,475,465,367,638,631,439,702,896,800,1172,1118,475,593,619,413,379,393,438,656,923,823,761,931,1130,1438,1302,995,879,641,791,445,407,386,346,499,613,622,759,739,569,469,392,343,385,428,483,411,467,466,516,486,467,545,648,656,717,646,526,622,582,902,894,598,738,1178,1246,923,615,451,440,684,1082,1424,1560,2036,1958,1194,749,656,385,239,223,282,518,758,613,486,545,448,517,649,436,419,780,1098,1230,1016,719,673,782,872,902,924,924,1000,905,854,904,1009,1098,999,1080,1176,1034,1028,1054,794,753,887,1112,979,735,639,580,481,461,624,377,316,356,464,485,459,440,387,377,336,444,544,426,517,489,363,553,766,763,612,561,705,911,1004,964,1042,1338,1526,1458,1350,1366,1080,564,447,447,463,443,427,451,476,577,666,783,811,507,517,605,490,394,304,282,308,316,344,345,306,752,1696,1644,1162,759,614,554,527,612,670,634,613,609,561,477,382,749,840,549,395,429,406,394],[253,260,239,244,268,277,263,247,239,234,227,224,237,251,263,268,289,274,285,311,334,315,270,238,254,274,352,379,576,766,807,618,491,471,504,505,549,517,366,327,254,236,390,581,621,425,316,275,241,219,245,375,553,467,372,426,518,443,545,614,448,416,492,441,402,552,577,724,922,622,752,731,776,918,670,910,1178,1168,1090,1274,1310,1088,801,558,747,1094,969,682,756,935,797,602,482,532,893,1296,604,636,744,1005,1288,1040,1400,1432,1208,811,645,932,1023,998,1432,1650,1394,1042,843,958,867,882,1220,1442,1512,1368,1158,1036,607,551,455,518,678,786,606,852,1118,880,980,1280,1001,842,923,1066,1424,1446,1094,907,752,679,715,714,516,702,1456,1344,902,1056,997,747,645,572,413,271,305,312,389,495,410,390,520,674,937,1470,1150,728,565,745,669,580,556,400,320,368,417,484,564,777,984,969,1320,1202,1246,1012,721,1074,1230,1048,684,397,428,370,325,308,444,562,419,417,541,611,572,495,446,328,206,286,291,287,243,220,320,755,1158,1522,1510,1240,1214,1064,672,500,722,708,624,638,691,1054,1208,1270,1234,1272,1372,1318,1318,1108,1192,837,955,863,920,1208,1344,859,673,814,1148,1432,957,841,706,998,1334,1274,1394,1266,1100,1256,1320,1042,870,1366,1514,1582,1344,949,1112,1284,1838,1416,961,709,1082,1466,1336,1294,1432,1334,1168,1082,873,1268,1490,1614,1282,894,585,386,483,511,826,1040,571,677,735,1052,570,901,1320,772,680,1136,1188,1248,1282,1092,1238,915,772,703,714,755,1044,1444,1262,1194,1368,1348,1122,998,1224,948,1062,1122,1312,832,521,669,683,673,699,511,308,435,690,625,810,667,537,1084,1084,776,1158,1510,1314,1188,1196,1156,1076,1186,1350,1416,1288,1192,1294,1216,914,981,1260,1406,1180,899,459,471,642,775,1284,1262,954,885,1330,1232,936,1338,1476,1172,1338,1338,889,1082,1050,1174,1442,1548,1420,1450,1562,1238,1338,1420,1046,1298,1272,769,846,1304,1222,1354,1200,847,526,375,293,282,320,424,437,387,306,371,467,555,491,380,419,415,350,337,478,607,675,613,651,603,450,319,272,545,752,660,750,872,735,827,598,676,647,880,863,582,556,899,777,429,373,324,310,263,272,478,642,570,380,296,214,345,603,684,639,745,721,505,458,608,549,517,554,869,1072,1066,1130,2152,2036,644,445,595,785,578,386,461,686,689,678,1122,1426,1238,990,686,530,669,1166,1256,960,747,968,1196,1108,963,883,827,756,711,979,805,688,961,1404,1130,879,914,904,966,860,700,848,1050,1208,907,599,663,760,809,940,1278,1176,749,495,440,526,875,1276,1446,1286,942,1160,918,771,810,560,764,930,1064,1276,1230,1202,1442,1298,932,705,557,503,442,459,457,491,530,587,597,695,802,1004,1186,1090,1318,1140,792,775,627,653,857,971,731,466,425,689,924,1070,941,1264,1502,1021,1026,1322,967,545,830,1262,1416,1500,922,724,711,1140,1068,1019,1126,962,1172,1172,978,1078,1310,1272,1134,1156,1052,822,1184,1134,1164,1234,1242,1042,1038,1100,1600,1764,1178,1310,1328,1134,1182,1276,875,814,922,1010,971,1218,1222,1082,908,604,763,1132,1240,521,332,381,319,248,315,363,316,546,753,678,938,1108,995,1122,1186,1136,1132,1040,1001,1072,892,584,538,739,805,946,1188,1096,1214,935,634,543,437,863,1092,643,532,599,882,845,949,920,739,767,697,974,1316,1340,1374,1328,1182,870,1274,1862,1334,1206,1138,789,702,1126,1340,1090,1116,1096,979,1194,1058,1344,1132,985,1038,953,1178,895,988,873,545,558,640,883,1080,687,861,719,812,867,626,456,418,430,502,610,662,780,742,825,691,452,537,476,458,499,490,426,444,439,417,500,619,700,643,819,930,725,788,896,885,820,1194,1406,855,845,1486,1576,2078,2306,1990,1918,1780,1598,1748,1748,1516,1478,1466,1314,1334,1408,1224,1256,1344,1102,1210,1460,1664,1658,1448,1394,1386,1550,1794,1626,1338,1330,861,700,826,760,1270,1434,1360,1574,1394,968,982,897,792,667,634,1102,1130,783,888,1322,1020,672,736,897,1048,1212,1236,1152,1218,1292,1160,1116,1416,948,652,825,656,348,316,498,744,799,760,620,382,312,316,384,438,338,272,617,1086,836,509,507,481,541,493,482,943,1196,1010,946,939,813,560,535,650,877,808,573,446,424,398,368,350,360,372,401,421,495,654,1050,956,944,966,668,456,448,431,393,397,401,409,422,390,374,377,395,383,377,390,359,305,321,354,332,321,312,332,344,361,360,374,341,374,434,440,390,295,306,288,287,296,305,314,310,301,274,319,332,315,317,345,378,351,301,290,279,285,294,310,294,293,299,291,297,307,338,383,432,495,424,340,297,281,274,282,299,314,330,307,272,283,287,276,294,299,287,271,266,294,273,274,287,292,285,321,291,335,534,378,307,315,326,293,270,269,261,285,320,291,280,277,273,286,303,324,341,319,341,340,333,329,317,295,287,287,282,277,285,293,306,341,364,331,358,367,509,1088,1642,1698,1742,1460,955,845,763,1046,1294,1614,2376,2480,1508,1030,1070,1394,1864,1492,983,924,1048,1021,765,853,1130,1042,908,813,802,1006,1302,1310,1504,1902,1476,757,601,561,405,930,1306,1218,1004,825,1394,1650,835,480,415,447,529,494,390,475,990,1324,1408,1872,1566,1186,1326,1276,1450,1522,1400,1294,1198,1084,1148,1052,945,1152,1274,1144,1126,1134,804,775,736,774,998,839,502,738,1090,1013,786,846,1003,613,932,1044,1286,1340,1280,890,680,843,1148,1316,1354,1544,1486,1414,1316,1348,1142,956,798,752,787,828,863,1112,1366,1366,1090,888,1268,1146,842,1034,1626,1628,1664,2184,1464,386,435,512,382,345,316,313,316,316,347,329,430,622,656,626,477,324,315,313,303,305,450,676,620,377,352,381,332,320,303,265,258,274,266,283,493,465,514,560,476,497,476,406,357,356,364,588,1124,797,537,388,304,634,1114,1238,1100,1162,1322,888,1052,1434,1278,1400,1234,1082,1150,979,1034,1264,1292,1096,606,508,453,592,1084,1238,883,593,536,601,919,1222,1124,872,320,277,249,269,274,279,257,240,283,274,423,510,428,416,404,406,406,391,368,364,429,520,561,503,443,703,963,789,394,576,824,662,815,935,930,629,483,417,340,324,386,340,465,980,1148,883,758,710,839,748,613,747,891,946,1092,1094,1284,1344,1328,1418,1284,1212,1196,1068,1118,843,604,777,807,694,747,638,358,267,345,352,352,338,351,427,724,738,514,581,882,783,765,812,1005,1074,1020,1250,882,1192,1462,1510,1754,1730,1566,1460,1460,1444,1588,1566,1388,1512,1500,1316,897,641,972,1226,1168,918,669,566,436,706,1346,1334,902,1172,1522,1056,646,601,804,646,390,449,585,758,1096,1026,1210,1320,1120,951,703,458,408,385,323,415,551,440,818,1440,1460,1136,928,811,949,835,521,382,480,544,901,1500,1884,1888,774,481,481,360,415,424,574,927,944,861,625,695,974,1598,1366,1062,1140,1156,1310,1166,1220,1344,1208,1272,1007,1036,560,442,415,535,683,678,503,314,376,681,974,1024,989,1120,962,847,718,787,587,410,567,636,552,540,494,325,341,326,438,890,897,933,1148,1094,891,941,879,670,642,827,930,1010,1354,1590,1552,1306,1013,651,517,472,338,288,374,483,516,456,459,470,444,433,364,318,376,438,435,1096,1206,1012,1142,1078,1040,1108,1186,1396,1334,825,824,648,494,935,1226,1086,775,681,872,608,756,544,521,561,488,368,563,741,662,614,701,856,1066,758,394,529,504,357,433,410,386,902,1096,841,1058,1304,1154,794,792,933,968,827,970,614,445,512,594,745,836,875,813,487,304,320,338,361,364,358,353,260,288,381,483,494,479,474,467,553,579,586,583,703,855,1184,1316,1134,928,871,747,800,828,766,624,722,1116,1538,2136,2352,1992,1116,642,758,393,245,211,238,446,740,595,377,498,333,319,366,301,567,1020,1112,1188,913,790,803,796,702,643,651,639,632,511,464,718,858,924,1074,957,685,770,946,1044,702,364,424,489,575,674,671,664,554,661,979,543,385,568,568,394,407,514,486,351,372,393,354,314,357,397,470,677,852,869,714,544,589,688,675,670,686,946,1102,1138,1340,1298,794,469,447,600,635,619,664,455,561,614,445,484,519,456,383,335,368,400,288,283,289,296,334,372,408,856,1200,1342,906,472,583,476,511,702,882,703,554,500,496,409,568,693,442,301,285,298,319,327],[248,234,232,245,260,264,248,243,238,242,239,241,244,249,249,251,224,248,288,287,281,262,328,314,270,304,377,385,412,480,466,402,364,404,426,361,395,337,348,393,313,262,430,692,649,383,261,270,261,229,242,314,518,413,445,390,453,700,924,766,552,598,600,586,442,474,434,783,1118,747,702,1060,1074,1020,1011,734,686,880,923,1472,1734,1800,1212,899,1142,1312,1278,1036,1004,927,866,842,439,364,455,605,373,508,619,881,1106,1306,1474,1520,1544,994,589,747,842,963,1320,1116,1004,932,770,965,1282,1214,1156,1084,1150,1304,1212,715,545,616,609,802,913,1052,1034,1180,1210,772,539,608,806,746,642,568,709,678,577,571,595,661,828,957,583,612,784,714,849,1002,700,1108,785,403,364,288,254,276,315,392,449,625,722,648,1000,1344,1178,803,591,775,859,791,714,408,303,399,485,429,476,630,761,938,1194,1004,955,1190,1242,1001,952,1178,647,453,456,403,305,364,601,513,432,442,525,681,576,348,417,444,377,277,257,310,239,220,279,682,1122,1304,1236,1136,1070,1188,604,421,639,973,703,396,778,1330,1372,1268,1256,1406,1218,991,989,1134,1158,1186,1018,1256,1384,1462,1354,813,650,659,887,1084,749,932,1324,1336,1013,1088,1292,1224,1130,971,1220,907,892,1298,1152,1312,1498,1434,1422,1724,2090,1682,1122,915,1108,1228,1296,1202,1252,1526,1324,1172,1156,1360,1228,1290,1550,1376,1001,830,726,582,1108,1454,990,865,830,864,766,1086,1200,885,767,846,1062,1370,1390,1246,1282,1040,977,795,894,834,890,1122,1046,1332,1834,1678,1296,1334,1306,1076,1144,1230,1146,779,583,734,683,659,837,678,340,354,334,277,409,508,516,983,982,584,991,1208,1174,1310,1246,1074,677,980,1242,1230,1304,1302,1160,934,645,760,1096,1102,1054,1128,455,533,654,806,1094,1330,1108,839,1286,1346,1312,1360,1656,1560,1530,1264,760,415,656,1060,980,1044,1324,1354,1314,976,1280,1220,693,857,633,574,706,1092,1486,1466,1166,719,529,547,286,360,640,700,621,525,320,377,555,621,532,412,496,442,401,458,690,616,483,490,652,728,628,421,303,435,628,383,366,626,739,896,535,376,444,860,948,771,769,854,644,536,476,418,382,302,246,367,524,603,592,432,305,379,571,632,622,786,762,557,452,606,730,820,887,1118,1118,1070,942,678,516,372,524,661,398,328,389,669,941,825,980,1316,1318,1280,1100,894,609,878,940,581,547,450,457,851,893,914,1078,1046,900,1036,1080,993,973,975,1356,1122,1120,1172,860,741,711,563,696,933,1023,719,446,371,543,644,1062,1388,1384,996,582,546,587,903,1172,1048,1174,918,963,927,740,841,719,854,1144,1172,1096,875,1010,1490,1340,819,537,519,529,517,513,486,547,724,711,651,880,1208,976,890,846,1090,1040,793,1003,1118,857,775,854,625,522,572,803,555,579,587,787,1340,1230,1152,1186,1050,665,828,1010,929,1310,956,581,505,588,648,1108,1328,967,870,861,969,1182,1236,1218,1074,1150,1038,789,958,949,1378,1642,1424,1138,1022,872,1062,1190,1462,1354,1110,1224,1112,1013,764,998,1190,955,902,1464,1488,1576,1250,1200,1066,1009,767,356,296,325,320,288,285,325,366,652,713,868,1007,1096,1032,1001,837,764,1010,1058,1228,1268,952,533,822,626,558,745,1136,1218,1266,1146,969,832,723,1038,1212,1008,899,1072,937,927,976,767,605,735,775,1072,1044,1216,1442,1186,1078,861,1122,1296,1222,1084,1052,748,736,1240,1196,897,1194,1216,945,930,1230,1338,1128,1092,1190,921,687,714,891,924,896,758,727,704,744,641,625,624,850,997,932,731,776,711,602,671,589,649,650,695,629,634,576,469,448,434,410,444,440,425,425,581,663,632,670,766,742,713,728,716,667,712,1166,1464,888,798,1316,1466,1784,1814,1612,1722,1796,1582,1518,1532,1334,1294,1514,1746,1740,1996,1888,1452,1306,1140,1290,1606,1508,1448,1664,1760,1562,1248,1448,1344,1340,1112,808,516,607,824,919,976,1160,1222,1156,1016,965,950,905,698,637,1294,1152,785,1070,1210,896,835,1015,1250,1186,934,685,715,1034,1408,1284,1238,1130,595,400,372,280,236,282,417,639,689,470,306,282,330,291,397,559,421,263,401,1076,1710,964,480,576,668,707,1002,1240,1096,913,875,645,721,599,422,566,866,959,792,685,541,408,354,344,359,344,372,392,532,777,721,633,646,591,466,395,432,472,390,358,343,393,441,377,383,390,433,429,370,368,341,290,321,388,347,308,308,331,360,404,396,378,366,412,459,466,406,313,294,277,283,292,312,325,308,290,289,295,299,323,356,377,367,324,261,271,293,312,317,287,269,302,298,293,305,316,337,406,407,357,336,357,320,273,281,288,282,287,291,291,271,272,274,268,296,280,273,263,286,296,280,268,283,298,296,280,302,416,449,359,336,320,307,296,294,282,263,280,334,321,309,293,297,305,315,320,336,349,368,359,347,345,333,300,299,298,289,294,296,302,311,343,358,352,369,409,833,1534,1690,1568,1468,952,822,784,750,1152,1208,1062,1616,1682,952,770,871,701,812,1138,1232,1332,946,779,893,1108,1262,904,1028,1180,1514,1246,1300,1286,1192,1032,730,436,487,524,404,673,1228,1398,905,586,656,591,517,458,458,504,658,623,410,769,1192,1268,1360,1638,1292,1180,1348,1166,1078,1236,1240,1180,1212,1214,1042,1110,1240,1032,1270,1258,990,1042,755,435,368,404,538,586,691,941,1088,1092,895,576,641,525,727,942,1042,1174,1126,693,463,839,1704,1402,1100,1456,1482,1568,1388,1192,956,999,1200,1156,1172,1418,1382,1038,1044,1162,1228,1048,1010,771,1064,2710,3052,1626,1676,1908,1250,571,411,517,383,407,430,377,332,337,331,313,365,414,570,672,600,485,339,310,309,305,373,514,477,376,446,435,352,343,312,277,265,273,324,524,747,653,664,667,489,512,447,404,362,367,504,757,1048,686,618,579,301,474,997,1342,970,720,1076,1406,1498,1650,1504,1402,1356,1496,1524,1330,1196,901,1058,667,531,827,676,477,928,1036,846,761,532,692,1318,1166,946,995,361,286,260,240,235,267,263,248,281,296,407,506,484,443,437,425,473,393,374,406,408,705,806,446,325,330,461,477,378,336,489,755,877,891,891,785,536,333,355,389,391,360,388,618,558,590,786,828,910,1310,1244,981,1258,1304,1180,1064,1246,1152,1384,1294,1160,1110,1082,1106,1090,1042,896,717,624,590,630,576,379,291,332,354,337,300,285,258,359,466,406,738,1340,1102,872,980,1166,1212,1216,1246,940,1100,1510,1832,1736,1482,1446,1490,1368,1430,1468,1312,1488,1558,1562,1604,1366,1250,1354,1286,1094,902,551,439,367,388,729,1084,1408,1292,920,710,582,519,509,343,357,421,520,523,728,855,839,1184,1028,585,640,717,469,393,372,352,345,398,798,1320,1124,994,770,764,1212,1220,681,382,515,634,960,1248,1534,1366,735,483,483,433,394,444,649,1136,1070,1007,1072,799,819,1296,1350,1300,1396,1188,1288,1668,1350,1180,988,1100,908,1074,717,524,632,619,468,337,288,256,378,745,983,1124,1224,1328,1158,1158,932,791,461,319,446,522,480,582,641,362,341,323,386,772,844,999,1196,1222,1048,1052,1094,920,714,864,886,764,720,1130,1500,1660,1524,1180,829,544,382,334,355,395,401,399,431,731,844,727,679,766,807,764,684,824,1013,1100,1116,868,746,1152,1108,1282,923,406,611,842,833,922,1007,999,1016,718,885,722,1050,647,444,414,379,288,455,960,1062,625,750,1078,1182,820,389,343,359,572,602,448,448,854,1034,806,998,1320,1034,1036,937,902,1140,1005,1013,764,655,766,804,787,871,1092,975,528,503,569,509,566,371,238,237,345,579,818,859,614,365,321,259,323,407,690,659,655,780,758,1052,1294,1024,656,623,774,864,868,709,611,675,1098,1712,1970,1718,1136,663,514,267,240,226,246,381,727,714,660,582,405,372,460,519,662,748,679,616,399,308,370,394,332,334,286,228,306,335,315,387,354,375,507,454,454,604,835,864,430,272,286,331,379,337,471,573,775,852,913,729,477,324,322,303,298,369,375,270,395,409,345,333,322,322,544,788,572,539,740,985,1030,937,819,804,746,681,522,655,1134,1238,699,412,372,592,552,592,932,513,425,487,544,529,456,462,426,382,368,405,336,323,296,339,319,342,394,432,741,1216,892,664,750,573,486,637,780,657,509,415,349,585,825,479,302,275,272,298,339,309],[246,237,231,229,233,239,237,243,249,251,245,243,248,251,241,231,237,267,253,250,253,266,348,359,294,269,256,330,424,384,314,322,282,280,268,280,349,327,431,536,428,351,494,637,564,418,283,269,269,232,247,267,463,507,548,481,518,740,937,987,1016,1130,899,785,518,701,874,1196,1132,1018,903,922,944,936,1108,1098,963,974,727,1038,1858,2456,1512,1266,1084,997,1190,1116,837,703,644,616,407,325,338,357,389,460,479,684,1084,1254,1344,1192,997,631,519,509,566,1013,1204,837,760,836,779,1086,1436,1308,1296,1312,1260,1498,1716,1190,1002,1544,1632,1308,1174,947,959,1158,1200,896,483,476,672,644,791,668,570,538,435,623,1136,1214,1162,1026,623,550,427,612,885,844,870,1162,878,567,382,275,238,274,265,295,400,481,882,1142,1380,1274,1388,1080,772,1001,1002,880,649,412,285,474,547,534,613,727,1062,1128,984,818,832,1290,1244,775,808,964,751,583,476,431,349,573,557,402,401,443,453,554,501,358,357,408,387,302,287,308,248,196,412,954,1030,1432,1212,1164,847,1058,837,519,913,1276,871,715,1132,1288,1182,1210,1354,1434,739,582,879,1034,1414,1482,1220,1394,1478,1512,1384,978,514,506,649,653,686,1326,1608,1462,1208,1100,1001,907,872,1054,1372,990,1146,1013,974,1104,1216,1418,1632,1742,1894,1744,1344,1332,1434,1606,1510,1390,1448,1450,1188,1015,1048,1306,1290,1382,1358,1214,1256,1084,1120,1152,1246,1400,1448,1226,918,1088,1268,1048,1098,1104,890,792,976,1048,979,1236,1354,1482,1238,1058,1104,935,935,1118,1278,1980,1534,1262,1372,1454,1350,1202,1068,951,1064,875,563,633,668,642,1012,762,424,354,325,414,623,554,656,1302,1136,807,1348,1324,1278,1272,1158,1144,1001,1042,1098,1064,1106,1098,1192,1274,952,1154,905,943,957,694,447,781,933,810,794,1088,1104,1040,1336,1124,1412,1386,1540,1306,1028,1032,854,459,473,760,876,907,1070,1032,971,1246,1560,1344,825,557,517,766,788,966,1236,1332,1308,937,752,699,717,719,820,665,484,339,261,348,515,643,595,461,475,517,761,734,751,697,516,428,633,780,568,289,275,348,477,297,379,725,670,551,398,383,491,689,993,1242,1290,1234,769,690,565,473,415,290,225,393,503,507,466,340,316,473,712,775,682,756,755,664,584,612,845,979,1036,943,763,965,764,401,523,794,969,893,477,315,369,527,673,755,852,1136,1334,1290,1384,1256,922,1172,856,393,317,268,393,563,600,835,1016,877,1206,1288,1002,1078,1016,988,1218,1244,957,1100,1226,810,466,529,660,803,781,952,596,495,738,623,967,1362,1236,1096,1144,1023,838,1020,1088,1104,995,792,830,846,862,924,874,946,1001,896,1090,980,1132,1196,1168,1052,1108,842,775,999,735,407,648,999,1072,1240,1728,1526,1128,1172,1216,1356,999,1021,1334,944,655,664,772,753,838,818,683,385,458,708,606,732,1114,1318,1522,1748,978,816,1242,1222,1122,1013,741,938,749,507,905,973,1048,1048,871,1236,1256,878,874,1162,1106,1102,963,685,693,933,1158,1094,747,997,1026,1144,1260,1298,908,672,704,875,794,861,878,689,633,830,1444,1488,1512,1320,1174,815,459,303,292,285,316,362,349,476,628,490,748,917,1122,1432,1412,1204,1020,615,817,799,742,1148,1072,1021,662,689,735,971,863,1098,1180,1058,1170,1312,1256,1310,1276,1316,1326,1044,1162,931,987,1088,838,1050,1326,992,1042,830,904,818,821,739,841,1080,1038,944,1100,1072,794,894,1056,1162,1232,1196,1228,919,764,888,1018,999,1090,1070,835,965,902,1250,1148,658,824,1134,1054,1134,855,664,766,1024,1316,1202,913,954,872,752,816,713,607,595,694,882,782,430,384,419,428,427,435,437,445,444,590,643,636,704,737,688,660,644,643,680,847,1442,1714,1396,955,1350,1604,1666,1930,1918,1626,1464,1240,1150,1282,1432,1510,1676,1910,1902,1946,1934,1560,1174,1078,1344,1470,1256,1210,1480,1756,1478,714,808,1288,1322,899,766,874,1064,1094,986,942,1158,1164,1086,1060,745,888,1134,1028,1196,1482,1000,756,1140,1166,1038,978,1052,1110,1156,893,825,800,1244,1588,1208,989,875,485,290,241,249,269,284,328,526,532,589,571,387,338,349,352,509,372,280,319,1290,2026,1124,595,872,802,875,1476,1502,995,803,859,571,556,459,347,576,970,1050,825,672,545,398,381,369,358,348,368,410,471,571,559,587,568,559,538,413,395,401,325,328,350,378,383,392,386,358,403,408,385,417,370,301,305,327,295,292,324,331,366,394,360,366,413,390,409,441,378,323,298,288,276,269,278,301,312,325,315,277,293,311,309,312,307,291,269,286,326,339,325,296,271,306,328,414,331,321,327,353,333,320,301,326,330,309,320,312,281,282,289,290,293,301,303,271,293,314,284,266,276,291,301,285,274,261,293,372,570,492,306,286,298,278,251,289,318,283,270,285,306,299,290,299,305,308,314,314,322,354,368,354,358,345,333,303,305,305,296,307,313,325,329,329,345,367,382,615,1288,1676,1558,1414,1136,1300,1312,1044,1026,1338,1001,615,694,799,651,469,540,456,454,741,788,1001,810,471,587,997,1498,1036,1138,1064,1244,1178,1106,905,612,529,400,343,487,619,509,577,792,957,611,501,531,614,591,476,441,446,671,771,419,525,1054,1412,1170,1168,1078,1218,1388,1100,866,782,816,1003,1160,1254,1136,1178,1190,1246,1316,1256,1138,1094,858,597,437,423,512,539,730,1244,862,847,791,596,699,748,938,1122,1042,979,748,719,747,1206,1358,1076,1068,1182,1334,1594,1448,1152,959,1058,1272,1142,916,1360,1394,1048,1018,1004,1011,1036,974,951,1196,1490,1054,968,1716,1592,1044,744,385,351,322,360,469,437,329,332,321,314,323,342,624,559,459,390,314,305,306,304,331,452,542,432,367,335,347,354,330,301,290,297,419,625,720,650,614,485,379,423,382,364,409,394,404,560,610,436,539,637,403,605,1160,1222,717,625,597,1088,1488,1516,1372,1318,1450,1546,1524,1774,1582,1084,819,404,575,565,338,326,591,632,803,1158,926,706,850,611,799,843,495,367,320,267,261,276,281,312,315,291,402,491,458,415,432,480,422,385,377,390,452,799,803,455,346,311,346,330,543,461,662,1024,935,966,967,684,596,327,329,399,417,375,347,341,293,461,749,899,1106,1704,1530,809,1246,1354,1508,1322,832,929,1018,942,1060,1394,1548,1026,930,814,789,991,939,756,585,612,453,271,308,344,300,300,318,258,265,333,383,802,1440,1298,1018,1084,1180,1186,1216,1240,1136,1064,1286,1576,1408,1542,1456,1222,1150,1248,1338,1608,1714,1636,1628,1450,1304,1286,1308,1226,642,472,370,356,409,495,521,607,705,616,375,538,700,410,305,266,274,354,523,710,949,963,772,861,918,1040,727,720,454,520,498,389,509,1050,1496,1360,1036,894,836,860,1044,954,790,918,1014,930,1338,1466,1450,1112,611,412,484,482,476,593,888,1958,1328,1072,1274,996,691,735,1126,1368,1388,910,731,1176,883,909,1058,1078,1090,1078,799,548,631,523,302,392,296,333,448,620,880,1316,1418,1296,1132,803,537,618,602,546,579,601,596,730,689,441,369,348,371,640,942,1023,1028,1036,1010,1090,1038,1012,1094,980,877,767,677,694,944,1332,1636,1634,1354,905,615,441,413,482,471,392,397,637,1006,1056,944,1120,1292,1044,731,846,1178,1186,1404,988,838,1316,1124,768,466,313,506,927,982,703,873,608,1070,948,797,537,404,404,385,361,477,615,706,1060,1544,901,704,944,983,816,458,308,589,673,403,395,413,511,794,827,833,796,538,660,856,912,736,766,827,693,514,502,530,604,1052,1596,1210,713,603,521,361,295,337,368,324,371,672,951,844,681,582,418,422,606,832,932,778,836,1094,1110,1218,1168,958,445,833,833,722,707,653,589,581,731,1134,1428,1222,1180,954,478,301,263,261,287,334,413,552,639,707,822,727,656,819,934,461,356,324,274,287,355,326,252,271,287,281,341,306,285,373,339,347,322,289,421,591,693,571,381,454,328,328,278,295,416,444,528,691,819,846,775,387,316,289,333,325,324,299,412,495,393,317,361,350,452,611,505,448,528,693,693,735,626,512,807,890,575,808,1094,1210,770,396,359,413,356,401,547,391,368,325,499,956,923,492,447,421,411,413,339,343,340,350,383,407,386,317,551,1098,907,769,827,786,625,606,616,533,405,425,595,887,838,389,383,307,304,354,343,293],[271,260,246,236,229,228,234,242,241,246,246,248,248,248,250,260,268,257,245,237,237,243,297,338,275,264,284,312,347,307,266,277,261,248,239,257,314,343,448,577,511,413,521,598,514,384,280,261,276,264,284,295,371,614,828,741,503,553,723,1086,1268,1368,1128,1050,812,1076,1316,1210,1090,1122,1058,963,930,891,931,826,905,1005,890,758,983,789,1015,1498,1296,1312,1364,1312,1110,1134,678,432,338,333,375,380,373,406,430,785,1222,1328,1156,801,603,444,383,447,488,1060,1272,1080,1094,1170,1284,1102,1174,1054,1124,1456,1694,1632,1386,1348,1466,1564,1396,1396,1212,800,859,1256,1184,813,450,467,684,875,1064,861,585,549,466,562,1005,1146,1200,904,594,593,631,854,788,802,1136,1078,658,453,283,242,252,276,279,308,328,313,426,980,1132,753,666,810,1156,918,658,676,415,298,307,477,592,777,902,858,1009,1114,933,788,1848,1614,1188,839,789,987,1126,725,719,694,530,570,417,355,346,344,437,438,474,500,414,384,349,306,340,329,288,227,350,816,1023,1080,900,1282,1062,754,842,933,953,1026,821,1202,1692,1132,993,923,1072,1026,544,417,718,1166,1490,1236,943,1234,1242,1182,978,904,642,581,700,709,969,1222,1132,1226,1330,1388,1256,1024,605,666,1158,1332,1194,1084,1250,1462,1390,1316,1444,1678,1720,1752,1794,1698,1474,1732,1904,1642,1680,1332,1098,1284,1294,1332,1452,1488,1170,1258,1288,1192,1278,827,795,1232,1404,1230,1166,1162,1166,1056,1017,996,1076,1288,1344,984,852,1288,1450,1598,1562,1410,1372,1156,949,1274,1726,1420,1290,1418,1224,1206,1216,1036,891,811,994,745,568,725,940,645,695,523,378,367,417,789,1010,802,1296,1568,1140,901,1382,1260,1200,1348,1230,1052,1176,1362,1172,1006,875,811,1306,1530,1212,1284,905,742,783,997,899,761,974,1198,1046,998,1282,1472,1336,1218,1374,1434,1318,1182,1012,1116,1008,553,475,876,1152,1062,995,1036,983,1198,1208,999,809,730,979,1021,827,895,940,1086,1374,1194,745,630,777,865,751,701,640,464,320,338,388,445,491,524,623,816,1168,1100,991,1160,950,541,701,716,566,285,251,282,543,460,388,451,412,320,250,292,408,711,1192,1400,1132,1206,1036,830,561,463,531,454,319,399,399,342,286,241,240,328,394,376,489,626,771,779,585,692,908,885,1026,1114,880,761,703,482,605,1038,1032,688,448,400,318,354,419,495,450,585,926,1132,1054,1156,1088,964,626,324,341,303,351,457,514,763,1064,791,962,1084,1206,1394,1400,1160,1356,1366,1168,928,1098,1050,799,753,726,878,905,823,540,700,913,811,1066,1274,923,842,1268,1476,1256,1188,1054,1036,1076,1246,1244,1058,1122,1152,1134,979,919,987,1036,956,1510,1880,1246,1086,1324,1080,1230,1390,1114,907,1042,1028,1146,1230,1754,1498,1112,1166,1266,1246,941,995,1042,697,937,766,1060,755,644,828,635,424,375,509,621,552,868,1274,1430,1166,805,746,1058,1094,949,730,550,661,632,697,865,741,1196,1250,1114,1250,1156,835,633,799,846,933,737,668,899,1064,1276,799,560,1082,1180,1282,893,655,533,374,588,821,682,981,895,549,526,703,879,1064,1334,1556,1326,999,626,402,323,293,288,349,340,518,497,648,1018,1302,1272,1792,1602,1056,930,484,764,836,1026,1094,1376,1100,586,533,944,1030,941,1144,1140,972,1106,1136,1186,1430,1140,1080,1166,1154,1128,1040,813,766,742,884,1130,846,908,943,1360,1336,953,662,706,819,952,1240,1296,894,806,1184,952,1386,1438,1384,1162,1038,1086,1016,1074,1056,991,651,786,1258,884,1130,803,604,752,958,891,722,568,634,756,694,679,641,908,1086,921,673,653,689,633,568,592,719,605,380,375,400,430,428,433,446,450,474,557,610,608,630,656,644,619,571,656,766,835,1236,1424,1360,1248,1504,1682,1570,1484,1416,1416,1428,1560,1506,1592,1906,1844,1744,1914,1960,1930,1924,1690,1420,1306,1208,973,1052,1146,1534,1804,1742,1132,1040,1194,1032,931,865,946,1248,1042,1116,927,949,885,696,914,798,775,1166,1172,1314,1472,982,912,1334,1184,1076,1046,995,926,1060,1186,1008,777,965,1248,1232,1474,1774,1028,457,284,262,293,302,340,435,553,766,727,468,430,525,456,438,285,261,325,1006,1498,977,369,505,832,1026,1360,1308,1042,852,858,607,642,530,393,463,865,1090,661,494,457,397,390,383,370,373,404,398,438,482,519,552,541,565,619,513,369,365,330,341,343,341,357,396,400,360,377,376,374,368,365,342,345,319,295,312,367,376,376,426,444,378,363,355,335,381,335,297,287,281,272,272,286,307,315,309,287,263,284,284,285,295,293,286,284,314,360,339,318,298,287,361,454,458,343,299,309,293,305,304,309,314,303,311,324,312,299,287,294,303,338,340,347,348,360,355,318,328,409,391,291,322,380,460,568,585,453,313,280,278,283,230,239,269,316,296,289,292,282,289,287,295,305,299,307,307,294,311,349,395,391,343,319,321,313,309,323,325,317,355,367,364,379,384,454,1028,1584,1592,1542,1152,926,1218,1404,1120,725,805,744,558,568,800,741,424,354,316,578,969,778,639,697,626,677,756,1038,935,1030,816,980,872,644,531,483,453,376,348,422,504,494,427,528,655,548,435,367,396,426,453,444,393,480,618,424,551,1100,1354,1240,1288,1026,1038,1276,1268,1140,839,800,1104,1104,1288,1296,1182,1206,1102,1180,1528,1446,1032,951,857,633,498,542,564,673,991,610,506,689,769,708,453,599,710,688,688,880,1032,1194,1106,853,1030,1172,1106,884,920,1258,1282,1080,1222,1312,1258,835,974,1136,1224,1112,1106,1252,1294,1070,988,771,616,826,742,1108,1144,1144,827,433,325,301,301,373,374,335,364,277,276,332,406,446,339,291,314,316,303,303,302,305,382,514,392,326,329,361,375,332,336,318,293,358,379,364,368,381,317,305,349,331,359,444,440,375,368,383,346,404,579,554,558,642,512,425,488,548,968,1486,1544,1422,1344,1410,1260,1344,1642,1344,1256,942,662,866,645,310,360,436,554,1028,1626,1562,819,771,729,932,752,501,514,480,375,322,334,292,342,301,286,388,411,395,366,387,410,389,387,387,389,542,763,842,922,518,359,332,386,445,538,935,1166,1134,1334,969,438,619,438,366,397,386,356,386,518,489,556,692,694,873,1294,1008,621,934,1270,1508,1436,1296,728,410,473,481,1902,3018,1362,1386,1098,727,1050,1230,915,1100,1448,1024,453,390,370,399,363,357,368,338,365,397,1007,1550,1486,1196,1148,1194,1268,1588,1258,1150,1216,1170,1132,1024,1406,1348,1248,1248,982,1082,1554,1490,1334,1062,1178,1396,1346,1420,1360,879,522,359,327,455,636,622,544,630,567,366,340,350,257,292,350,325,537,977,1152,1126,1000,738,312,422,672,537,561,482,655,501,557,933,1884,2120,998,832,775,752,789,731,705,1026,1394,1228,954,1190,1340,1390,1410,1262,623,500,428,394,433,1098,2908,2182,1644,1494,999,608,769,1190,1312,1340,1034,546,567,661,1072,992,882,959,1036,1098,725,509,443,571,624,287,312,427,593,1208,1522,1378,1172,1038,718,632,1023,927,655,599,651,672,823,601,544,618,630,672,787,896,850,890,1080,1170,1246,1100,897,651,709,915,837,664,630,584,724,1140,1558,1654,1538,1244,885,610,738,769,590,599,730,1036,1286,1150,1122,1336,988,608,907,1196,1186,1330,945,656,600,515,415,362,343,341,521,678,795,970,717,738,1106,936,455,385,407,423,568,991,1250,1174,1150,2134,1350,644,493,489,561,421,332,468,382,392,432,375,327,355,527,650,602,578,569,1118,1352,852,686,586,749,353,502,817,868,1036,1064,694,484,469,491,497,480,569,464,338,472,709,836,842,861,900,781,814,940,1098,1228,961,701,969,1262,1064,958,944,482,505,631,629,514,469,653,783,1036,1124,1134,1056,1068,732,362,301,267,275,284,237,262,321,413,746,884,865,656,938,820,468,418,411,399,400,367,316,315,321,304,274,273,237,334,396,381,377,337,328,392,564,549,368,304,439,316,282,276,344,393,362,378,474,674,856,690,375,312,295,352,276,272,327,476,604,503,388,380,390,451,303,558,498,456,518,469,484,527,549,832,954,882,1028,771,976,741,443,451,458,417,404,349,349,453,517,595,1082,983,549,508,466,389,321,251,290,312,344,449,547,606,578,599,1208,967,781,879,901,765,577,480,493,529,813,974,736,514,486,582,477,375,332,341,306],[266,259,246,236,229,229,235,236,240,242,241,244,249,248,250,249,234,227,231,235,280,259,294,302,241,323,340,290,268,261,249,268,265,252,244,224,238,288,371,464,470,457,531,625,624,447,332,321,321,336,367,350,383,568,883,1064,509,487,787,955,1118,1412,1222,1252,1300,1286,1104,808,918,979,966,1278,1108,999,943,921,1260,1368,1186,1150,1322,1352,1378,1598,1644,1562,1266,1184,902,775,526,395,362,369,374,369,350,380,398,486,715,1288,993,954,705,621,677,829,792,709,841,1182,1182,951,1338,1282,1050,656,594,939,1150,1376,1362,1246,1288,1064,1114,1510,1226,1008,1210,1078,960,663,558,646,897,1258,1262,911,678,831,627,651,790,847,1274,1100,717,642,648,789,846,860,1120,1234,1108,673,296,260,264,238,283,361,419,404,536,912,746,547,408,491,896,602,537,672,442,328,407,427,401,557,725,766,1162,1454,1196,1806,3266,1828,1216,907,658,1220,1294,854,1019,810,535,401,395,336,322,317,455,406,405,394,408,454,352,340,345,349,320,291,306,324,659,534,596,1186,1322,943,880,868,579,611,820,1474,1512,1450,1356,930,1148,1066,643,774,942,807,1076,1202,1120,1152,1126,1011,926,1030,821,662,915,942,677,855,1021,1290,1624,1682,1294,1302,953,954,1062,1322,1408,1196,1088,1376,1466,1114,1136,1684,1722,1734,1748,1852,1888,1742,1628,1574,1478,1108,1244,1442,1172,1188,1186,1210,1402,1194,1072,1194,1230,803,537,993,1414,1432,1364,1240,1248,1166,1252,1166,1278,1580,1626,1266,1342,1450,1392,1442,1406,1346,1370,964,984,1164,1416,996,1098,1284,902,850,951,816,962,708,822,775,788,982,1260,947,623,419,425,826,1294,1404,1188,737,979,924,1096,818,1060,1218,1210,1332,1336,1476,1816,1774,1332,1082,939,711,859,1048,1258,1214,994,762,789,1104,1232,790,790,1132,1182,1250,1632,1558,1410,1232,1368,1444,1374,1168,1126,1260,887,681,678,1080,1130,1070,1078,1090,1078,963,891,1042,911,566,727,886,939,1072,1152,1104,1042,1016,810,623,601,609,743,827,642,619,404,356,341,391,595,567,545,769,1150,1184,1112,1256,1290,808,554,1044,1094,527,363,304,452,401,441,486,467,671,590,398,617,965,1078,1052,587,645,673,641,597,592,697,549,278,326,325,271,213,280,275,289,471,502,482,568,667,836,996,1038,985,973,1076,1160,1038,619,469,566,753,659,569,627,810,688,373,343,419,501,546,473,689,1144,1316,1460,1424,1094,588,359,363,330,286,303,321,483,672,687,551,591,963,1404,1406,1436,1584,1332,1522,1190,1138,1250,1044,1026,774,753,728,634,682,736,804,611,710,935,766,794,1280,1372,1180,1140,883,653,936,1176,1007,1011,1378,1266,1042,1001,1034,1044,658,497,1072,1538,1332,1224,1266,1238,1226,1028,1206,1130,1188,1274,984,728,1138,1320,1144,1152,1290,1168,970,987,891,1114,979,814,955,797,706,803,783,501,340,382,449,594,1038,1188,1472,1250,1102,1192,1160,1018,1126,1114,766,494,698,857,1002,1102,1268,1274,1244,1222,1019,986,969,841,1154,1102,492,591,985,830,1098,735,517,880,1144,1020,794,755,709,548,608,990,1130,1180,1056,830,966,784,591,709,1552,1772,1300,1208,996,761,439,320,305,531,636,489,416,574,771,1152,1246,1176,860,792,881,898,635,741,1152,1154,1290,982,802,867,934,1130,1148,1130,1032,1152,1102,1098,1250,1202,939,932,1186,1332,1216,1116,859,879,1040,1266,1150,1238,1140,1198,1370,1538,1354,1010,767,526,728,1122,970,711,854,1206,1028,1274,1274,1360,1210,1238,1162,1030,1184,1358,1228,869,786,725,777,1224,858,668,630,703,1001,902,943,948,897,639,548,554,735,893,1232,1024,572,549,495,404,365,377,471,508,377,384,443,437,440,436,426,433,485,549,565,577,668,742,618,531,599,693,786,910,1100,1158,1128,1406,1528,1380,1394,1654,1814,1938,2120,1854,1688,1938,1938,1748,1844,1966,1882,1916,1908,1822,1544,1214,1294,1348,1148,1252,1716,1890,1638,1486,1304,969,1272,1005,796,998,713,745,901,720,541,433,521,524,728,1040,960,1032,1080,944,1158,1578,1868,1494,1180,780,667,1128,1354,1244,930,708,752,1090,1242,1476,1196,525,264,269,345,341,290,336,408,518,580,504,462,442,427,279,232,248,471,1280,1656,1184,564,530,873,1000,802,608,888,821,868,840,713,529,457,444,741,957,598,494,442,444,390,361,354,406,489,587,527,440,451,456,503,453,622,512,370,375,331,327,352,356,378,422,466,419,383,369,337,361,343,338,337,329,335,350,380,374,360,414,437,369,331,323,301,312,292,273,271,270,278,290,292,302,300,296,281,260,267,273,278,272,271,276,285,298,291,286,297,298,333,368,472,433,317,290,327,471,537,351,312,280,282,289,295,298,294,296,290,344,477,541,542,568,576,611,644,664,709,562,570,717,760,671,527,437,373,306,304,301,285,256,301,283,297,302,300,289,270,272,260,266,310,316,316,303,296,296,315,398,396,360,366,343,303,304,310,340,327,357,375,394,392,431,779,1454,1566,1576,1420,840,614,672,902,713,466,594,1102,767,797,1114,907,587,562,540,817,995,750,543,524,657,543,571,796,767,757,1068,1164,772,529,544,854,599,399,385,339,342,365,427,485,451,475,414,330,397,414,430,440,396,412,437,379,850,1214,1294,1362,1050,470,477,759,1288,1456,1188,1062,1212,1316,1328,1268,1224,1218,939,1038,1252,1005,964,1316,1542,1138,979,691,529,710,827,810,912,984,890,662,538,1016,870,617,753,1056,1044,1238,1086,954,1072,1440,1484,1144,1042,1264,1418,1360,1274,1208,1226,891,681,808,852,813,984,993,868,681,627,453,477,716,828,849,1048,1310,1142,732,362,322,292,287,301,308,312,283,278,338,394,358,300,300,303,303,303,298,307,314,356,459,398,355,348,358,362,358,384,302,260,273,291,305,319,324,341,344,341,343,357,395,458,397,345,405,448,471,556,645,505,345,378,454,440,537,1026,1346,1136,1232,1374,1268,1300,1734,2050,1512,1048,749,601,806,694,333,324,354,654,967,1268,1202,823,1218,1410,1258,871,518,548,554,533,497,466,391,388,273,331,410,384,386,369,387,427,404,392,428,484,709,736,1150,1844,1092,461,313,326,392,658,1080,1036,1060,966,513,514,644,438,417,477,429,380,451,567,656,702,689,733,795,770,597,453,389,728,1096,1238,1058,675,536,718,910,2186,3020,1672,1776,1178,902,984,1174,1100,1256,1626,1110,493,422,449,473,421,377,391,416,413,386,656,825,1292,1504,1256,1026,1136,1622,1526,1450,1220,1148,1028,1202,1068,986,1262,1058,733,1296,1528,1240,1210,821,1060,1314,1456,1636,1520,1188,924,525,325,438,560,565,567,454,327,242,237,273,255,307,384,433,700,998,977,897,1110,907,476,561,531,596,627,705,891,855,744,734,1422,1966,1072,783,539,469,555,520,705,1196,1370,1198,1066,1000,1076,1284,1506,1248,788,493,369,373,404,693,1602,1702,1572,1234,863,473,852,1274,1190,1322,1382,1224,808,861,1116,1136,1196,917,774,854,647,601,494,758,720,366,385,413,517,862,1086,1066,865,781,724,1036,1018,807,731,539,539,705,802,792,1032,1088,963,833,559,629,769,947,1186,1312,1222,1032,808,576,538,733,899,895,639,557,613,641,842,1300,1570,1644,1472,1296,1266,1094,878,689,695,946,1296,1286,1140,1270,919,512,677,1080,1076,829,605,518,662,741,513,495,423,330,400,932,1294,1312,962,691,1078,1164,786,774,988,1268,1390,1328,1388,1416,1204,1244,943,517,301,319,345,320,315,331,352,401,379,356,325,312,370,475,608,535,615,1306,1340,752,949,995,969,735,1246,1346,1052,932,813,605,625,760,921,1038,880,680,693,773,846,1060,1356,1186,863,927,1184,1074,890,993,1202,998,509,728,1002,951,966,969,599,359,440,552,552,572,627,539,844,860,618,419,499,354,402,535,405,283,227,234,282,255,355,612,567,698,811,682,397,328,367,377,391,425,338,260,307,373,339,339,278,251,390,415,353,358,396,334,303,420,341,316,290,252,236,283,374,426,359,316,335,324,392,631,570,443,292,265,316,298,262,264,352,404,456,408,297,337,513,395,434,452,430,423,500,648,667,848,958,1092,1198,1102,645,567,531,431,421,434,389,374,394,399,469,594,741,1232,985,565,547,475,387,293,249,283,357,493,567,777,849,710,601,1256,1084,718,777,842,897,835,785,821,784,921,823,635,543,532,693,642,539,476,394,379],[229,235,229,229,234,229,228,236,253,254,249,250,255,250,245,241,245,237,232,237,259,245,221,217,261,388,348,281,263,254,257,272,269,266,255,245,254,269,290,322,372,449,474,582,542,408,363,389,382,375,418,417,442,598,855,1052,564,480,691,1290,1608,1200,913,1015,1322,1336,1158,959,755,869,737,869,955,1062,1202,1650,1706,1148,904,856,582,483,745,1310,1708,1440,993,1140,958,769,560,318,330,342,343,316,378,469,481,726,1023,1208,1120,919,798,942,1074,1204,1266,1084,822,1182,1106,901,1142,1264,896,597,416,655,1034,1162,1238,1060,756,857,1064,1344,1218,1078,759,703,912,789,799,755,846,1142,1186,891,562,995,730,544,570,620,1108,1014,638,433,372,525,815,1013,1110,1038,1304,724,292,264,266,254,302,524,905,916,908,1162,639,935,697,374,346,518,769,746,474,338,389,405,439,551,502,531,767,1050,1122,1426,1312,943,964,703,797,1272,1182,1054,1544,819,406,356,352,333,337,462,509,462,440,427,493,489,430,426,356,402,387,482,488,365,300,318,383,608,866,896,611,537,571,566,883,1532,1760,1792,1682,1190,954,998,896,1114,1312,1168,1122,1054,886,921,1396,1444,1166,960,729,769,1356,1566,1094,1252,1228,1080,1430,1202,1190,1146,1004,941,1028,1532,1536,1132,1212,1288,1216,792,870,1432,1744,1748,1680,1722,1788,1742,1680,1672,1356,1346,1366,1472,984,1144,1182,1234,1458,1284,1196,1614,1704,971,549,1020,1190,918,1328,1572,1454,1052,1218,1590,1506,1520,1540,1448,1560,1516,1630,1780,1550,1556,1560,980,1164,1094,1038,1032,886,919,714,906,626,482,857,758,1158,1162,1138,1084,1052,879,691,603,692,1036,1472,1616,1284,951,916,1204,1230,837,807,698,695,1026,1476,1760,1282,972,1182,1020,841,943,705,778,1132,1166,1108,1100,1088,644,679,855,997,1110,1276,1560,1690,1490,1312,1242,1170,1312,1276,1132,1216,1294,803,1044,1310,1152,1070,1168,1272,1324,1142,1006,1112,1354,703,399,368,475,937,1240,1304,1008,764,891,913,834,591,558,734,688,491,544,514,481,455,472,622,505,327,892,1660,1224,1140,1152,1202,885,854,1364,1138,964,797,508,348,320,568,719,773,1003,857,641,891,1008,792,518,333,357,365,376,430,586,614,428,278,262,384,456,447,402,402,382,532,652,580,676,813,991,925,762,861,886,1092,1186,770,381,363,713,799,425,484,796,916,576,398,377,608,670,683,802,828,1004,1138,1220,1378,1066,611,434,416,345,392,405,348,297,445,868,739,310,597,1032,1084,1280,1284,1160,1272,1518,1416,1258,1062,933,799,689,724,842,656,551,543,376,482,611,642,1120,1294,1200,1224,1132,911,893,963,698,623,983,1009,733,758,922,841,691,619,666,772,977,1104,1158,1007,999,999,1084,1242,1390,1330,1174,927,783,928,988,1026,1280,1502,1322,1100,1196,681,993,1318,1154,680,634,855,949,666,443,405,359,355,367,888,1350,1508,1510,1636,1572,1320,1154,1372,1424,1134,736,814,1058,1007,937,1258,1422,1344,1302,1536,1770,1152,962,1238,978,560,517,659,952,1306,1146,850,816,732,846,1028,872,664,480,328,733,1042,1094,1246,1280,1282,1156,987,1158,1762,1614,1148,995,1054,1118,959,566,473,953,1054,685,901,1012,834,1128,1296,1144,815,899,1134,1042,786,661,772,1108,1300,1236,1300,1192,1134,1146,1080,1222,1032,1264,1048,1036,1268,1108,1036,1072,1290,1454,927,692,779,1152,1082,1046,976,1180,1202,1248,1280,1270,1050,996,922,808,761,816,634,528,984,1166,1208,1232,1202,1170,1182,1346,1268,1116,1160,1296,1278,980,1024,974,1116,1264,769,781,704,868,1134,1288,1488,1282,1128,908,729,645,545,605,885,653,427,481,422,384,366,370,412,423,391,417,421,415,427,429,414,436,487,487,475,509,573,568,533,496,468,533,641,753,1008,1236,1458,1526,1268,1166,1362,1704,1790,1774,1894,1864,1706,1866,1992,1780,1850,2012,1714,2036,2012,1864,1448,1382,1610,1218,904,1368,1642,1732,1648,1326,1330,930,1198,1416,1284,1252,793,529,579,448,383,359,391,618,918,937,772,805,802,1100,1100,1368,1122,965,1120,841,827,1374,1436,1320,1074,752,593,665,665,665,575,411,344,334,377,372,278,287,264,309,361,409,375,363,415,344,295,246,726,1750,1864,1322,810,767,747,741,574,503,691,906,810,678,678,599,547,487,901,902,658,497,395,380,370,357,441,531,668,871,595,397,408,393,420,487,522,422,382,353,302,297,343,372,401,447,437,447,367,336,329,345,329,312,311,331,378,379,354,341,341,385,360,319,300,318,310,293,295,296,279,305,375,353,317,294,299,383,329,274,273,290,295,271,275,282,297,304,269,286,283,288,350,409,489,419,305,308,328,464,483,318,283,261,281,298,320,302,311,304,299,369,394,347,330,398,463,446,377,339,359,369,404,419,477,414,304,368,426,341,337,349,342,293,270,267,279,283,282,279,271,269,272,292,307,297,280,267,299,319,365,389,345,349,380,427,370,317,309,326,352,339,350,367,392,589,1238,1614,1600,1526,899,536,587,641,565,464,455,627,943,936,1284,1518,1198,993,1184,1005,1228,1238,1040,740,673,644,484,604,1070,855,625,1090,957,605,437,451,744,554,433,433,373,328,325,419,482,449,375,392,398,480,376,414,431,414,383,429,411,953,1510,1368,1294,861,417,360,451,953,1354,989,650,602,871,1126,1096,1120,847,474,487,656,890,943,1210,1438,1454,1314,836,490,529,759,897,968,1044,868,699,750,1264,1082,659,622,836,899,882,1100,1202,1202,1300,1470,1372,1016,1252,1576,1498,1312,1144,794,521,387,673,1046,858,816,604,444,431,419,555,656,833,1154,1066,1128,1684,1624,971,477,465,402,295,295,322,322,298,278,287,326,318,283,291,281,285,292,297,314,328,354,430,437,388,370,369,380,460,424,288,253,274,302,303,309,327,326,339,342,355,345,349,411,430,341,384,446,458,496,662,634,431,384,421,383,414,626,778,1021,1074,1216,1190,1268,1576,1626,1176,926,539,410,543,624,510,380,466,1024,883,713,770,836,1210,1406,1202,842,583,579,610,572,551,472,453,395,332,367,422,428,417,408,380,373,393,382,468,499,619,724,1082,1310,1106,913,572,650,757,802,927,877,866,568,346,415,392,349,346,385,422,494,564,570,862,868,808,683,775,1013,775,349,335,424,649,854,975,753,541,1005,832,849,942,832,709,701,973,828,869,1186,1480,1178,586,455,480,465,399,392,404,440,524,583,652,579,657,1342,1644,1628,1418,1154,1346,1294,1296,1354,1128,1252,1354,1003,960,1238,1198,731,1114,1398,1354,1272,1224,1310,1346,1476,1520,1046,962,1466,1152,533,424,440,422,455,334,260,228,269,292,300,364,542,875,1014,1050,1020,1042,1206,886,731,825,759,769,810,826,782,745,649,566,703,1028,730,476,366,331,511,640,835,1186,1296,1182,1230,1356,1200,977,1044,676,432,368,329,358,459,426,538,1438,1914,1216,796,417,626,924,1144,1572,1472,1102,677,614,745,850,916,956,707,486,523,481,550,611,475,344,431,587,556,632,1048,1108,883,1142,1092,1112,792,730,783,651,549,734,831,831,1050,1134,1166,1005,580,632,790,928,1112,1192,993,764,596,520,510,547,659,1064,1132,790,747,783,746,776,1190,1532,1616,1654,1428,1180,1019,890,738,788,987,1040,657,530,505,481,685,1118,1264,1014,828,698,829,810,539,442,382,299,444,1084,1268,973,747,704,970,1288,1130,1256,1866,1840,1568,1368,1388,1406,1198,819,547,380,354,379,359,360,375,379,368,366,364,385,366,319,371,539,680,629,609,876,584,639,1240,1334,1130,896,773,672,794,1005,1104,1034,1070,1208,1306,1194,1112,1052,879,752,871,1130,1154,864,599,752,1032,739,639,781,656,772,529,533,556,586,771,750,414,280,310,415,463,436,450,397,502,496,361,274,245,240,350,477,376,267,222,310,474,466,332,356,526,987,1092,579,320,338,433,390,391,390,314,239,264,361,350,352,360,365,444,449,343,357,456,381,339,345,289,297,264,260,244,272,359,387,284,315,339,319,358,500,674,632,448,358,266,292,244,316,438,358,355,293,245,451,644,546,414,400,395,351,394,528,539,970,839,847,930,922,601,367,365,415,490,454,437,376,411,403,454,493,641,850,681,472,394,420,463,398,436,569,855,951,1009,1290,1244,959,829,1324,1312,916,1009,1150,1102,909,737,602,553,700,778,729,735,845,815,633,590,667,601,570],[238,231,234,246,243,232,214,238,255,255,254,269,263,256,253,241,254,262,244,237,246,251,233,255,261,328,290,288,274,264,260,260,255,265,269,276,274,270,285,348,380,398,390,423,390,334,352,412,362,310,369,413,382,433,757,839,587,466,576,1622,1498,652,503,635,929,885,705,841,905,939,881,1164,1458,1196,966,1196,1300,1007,684,430,333,416,432,725,1202,1384,1460,1416,1210,1156,887,472,366,342,332,373,491,685,680,877,1064,996,880,767,767,1052,945,1176,1792,1602,1004,1074,929,868,998,987,757,549,623,954,1130,1046,1164,979,590,1350,1512,1660,1198,965,847,1019,1148,858,899,858,724,978,1158,1170,712,943,882,646,640,648,730,814,810,516,525,836,1082,1070,1094,894,1017,623,297,295,274,306,364,720,1230,1158,1306,1122,572,716,501,334,334,661,921,779,633,437,432,328,578,1082,848,613,601,584,508,364,390,695,667,571,757,1088,1080,829,1404,783,379,308,366,417,600,793,640,501,550,587,536,471,491,383,355,487,503,482,446,396,387,393,356,409,462,580,421,302,486,891,1198,1368,1362,1366,1382,1082,1406,1442,1252,1188,987,1070,1182,1100,1024,1334,1634,1528,1422,1170,803,973,1126,1578,1498,1298,1098,990,996,1238,1432,1234,1264,1086,981,1418,1264,1242,1344,1070,1134,1110,1236,1542,1498,1484,1562,1616,1672,1706,1758,1790,1582,1690,1488,1466,1250,1434,1448,1366,1436,1540,1566,1540,1452,1550,963,940,776,514,1132,1550,1414,1076,1328,1688,1356,1580,1600,1342,1414,1706,1786,1706,1510,1594,1226,691,819,1028,1352,1262,1036,1030,886,1016,658,547,1009,1186,1256,1202,1068,974,1234,1262,985,803,764,949,1188,1390,1178,1288,1230,1134,1060,1048,938,608,595,886,1072,763,513,879,977,854,994,1068,880,886,944,1190,1316,1104,982,706,985,1032,1170,1286,1528,1788,1780,1468,1216,1096,966,1268,1388,1282,1396,1150,699,835,1184,1174,1440,1726,1666,1500,1072,938,825,892,442,289,315,332,560,1144,1440,1094,954,988,927,828,507,567,633,615,397,390,591,660,585,554,594,503,498,862,1496,1006,924,1020,1102,1292,1342,1206,1178,1138,1032,938,574,454,506,595,977,1098,872,877,952,727,469,393,371,346,359,332,311,364,486,369,451,485,623,565,433,472,525,438,458,624,708,855,912,913,633,511,630,589,831,1074,728,382,530,982,839,661,543,604,480,349,395,427,1030,1058,887,1072,1136,895,822,1216,1558,1310,855,490,408,395,590,568,386,350,356,408,380,477,801,1012,933,999,1230,1050,1136,1264,1230,1330,1048,813,955,1096,1294,1162,837,555,439,375,546,473,671,1250,948,687,1160,1314,1021,1076,1076,999,1028,1060,854,985,1082,1134,952,689,830,1072,743,563,565,746,912,946,939,979,1052,1010,1034,1258,1170,1152,1112,1016,905,1204,1380,1290,1078,1112,962,1058,1146,1064,948,1100,1008,961,679,667,574,653,720,561,698,1076,1024,1070,1640,1730,1562,1206,1138,1224,862,627,942,1110,1148,1012,930,1040,1102,1090,1180,1324,1230,979,1248,1286,1004,727,636,1138,1546,1456,1208,986,782,1017,636,558,492,446,402,727,762,795,1134,1380,1252,1158,1246,1300,1406,1300,942,814,908,1019,960,896,818,813,793,820,1238,1316,1306,1218,1266,1294,851,764,980,675,505,767,1032,1074,1112,1346,1272,1286,1264,1186,1474,1218,1224,1220,1054,1254,1160,996,1144,1072,1282,1036,642,620,984,1046,818,871,808,866,1112,1248,1250,1240,1006,1004,1226,1076,493,457,484,714,1232,1364,1372,1108,981,1130,1230,1206,1356,1258,1150,925,929,1098,1262,1090,1310,1236,1204,1230,861,1122,1478,1492,974,1078,1120,1446,1268,685,468,420,449,456,570,503,468,386,370,359,372,362,397,454,461,383,381,392,416,441,483,639,603,527,530,505,475,477,415,439,591,618,687,858,1404,1374,1294,1244,1344,1600,1820,1736,1818,1958,1728,1754,2040,2032,1644,1442,1700,1942,1510,1398,1484,1456,1272,999,1390,1984,1674,1626,1648,1284,1058,678,805,1116,1412,1466,846,384,413,517,432,384,445,915,1292,1150,925,865,1094,1300,972,863,760,824,1124,1210,1224,1646,1732,1192,1068,915,780,778,734,944,1158,1034,933,499,403,403,307,295,301,312,284,278,310,525,634,406,283,312,890,1510,1672,1170,818,814,860,635,508,650,905,1052,969,883,572,678,801,714,906,715,507,424,393,378,346,362,422,437,472,546,458,411,392,359,323,458,507,440,430,407,379,367,380,384,396,386,366,376,362,354,339,338,324,295,310,332,373,383,349,367,363,358,375,328,322,392,372,308,300,318,309,339,435,500,474,346,312,447,410,298,298,297,289,295,293,300,333,330,296,278,261,275,315,408,485,357,321,303,291,346,314,274,292,291,300,301,306,300,324,341,356,322,265,248,274,274,271,261,270,285,273,266,268,287,303,274,298,311,317,307,340,325,277,255,257,267,285,296,293,280,276,283,279,316,310,296,287,276,310,314,337,354,342,383,480,686,461,355,330,339,422,375,352,372,482,995,1566,1592,1596,1108,542,478,525,568,653,686,637,1048,1005,763,1210,1302,1188,943,1364,1932,1534,1354,1224,940,780,951,828,605,782,547,447,645,764,871,553,548,458,447,566,536,418,367,321,367,529,572,380,370,446,585,430,378,382,398,391,394,442,1030,1610,1240,1058,703,405,361,500,587,584,470,391,346,392,380,469,678,565,613,636,1009,1108,948,1250,1160,1154,991,525,415,366,430,706,1112,1168,747,575,593,845,619,477,586,760,703,625,923,1268,1324,952,1176,1258,1122,1132,1368,1434,1316,1198,910,648,444,624,837,738,648,439,454,584,731,1046,980,872,1158,1032,1011,1610,1562,891,522,589,612,375,273,312,334,328,347,420,381,388,478,354,312,305,293,290,322,346,340,403,486,419,369,388,430,480,343,279,293,299,300,296,300,298,310,327,339,360,353,370,360,349,377,428,424,396,329,505,698,502,436,469,410,351,426,667,1066,853,825,1270,1274,1160,843,523,526,394,471,825,1210,1050,838,847,1238,1064,767,1122,1454,1130,1322,1108,717,584,611,667,528,510,523,461,383,413,461,415,431,444,385,387,424,420,406,420,525,465,623,874,680,949,1240,824,957,901,915,1024,1322,918,449,338,304,392,444,345,328,377,604,699,621,710,851,1178,901,897,1180,608,315,318,406,461,585,750,663,381,551,486,456,490,467,358,650,1017,899,842,1142,1502,1136,739,582,633,610,500,521,555,546,719,1013,883,560,641,1188,1436,1466,1510,1554,1200,912,1170,1148,1108,1234,1250,1222,1013,963,1172,924,1042,1272,1492,1396,1100,955,1264,1336,1028,832,1384,1592,1516,1056,536,397,344,317,276,231,237,299,336,361,423,691,954,759,764,1116,1164,924,808,981,868,703,968,1144,1062,683,571,577,538,512,440,416,403,435,402,669,984,998,1158,1484,1132,799,1128,1158,895,800,520,369,337,308,351,447,446,502,791,660,741,621,519,633,962,1180,1434,1432,1094,832,827,963,1122,727,711,711,705,1164,756,552,500,460,532,579,594,536,650,878,1018,1114,1184,1228,1102,859,775,650,432,626,948,1048,1032,1066,1021,1086,1214,860,645,694,805,778,687,617,515,504,524,441,423,466,612,967,1054,953,1128,1340,1220,1074,1174,1388,1574,1624,1588,1378,1088,984,854,782,710,572,432,365,547,699,1023,1328,1120,976,742,1226,974,702,520,409,443,688,1088,1154,1021,794,645,679,1116,997,1230,1770,1638,1562,1550,1354,1340,1062,515,448,390,387,454,418,383,393,422,401,357,293,291,340,412,443,564,643,560,698,948,802,807,1078,1212,1282,1170,987,1030,990,915,916,768,975,1098,857,763,985,907,495,362,461,488,533,514,321,364,356,408,594,703,608,644,772,675,318,396,609,528,366,328,345,384,408,352,414,458,427,365,314,259,258,275,266,285,280,280,306,539,1032,838,399,615,954,1328,1392,736,322,322,395,365,418,407,341,299,291,344,361,315,384,414,444,422,355,386,455,361,321,273,216,231,279,327,304,273,334,332,271,312,300,291,393,506,576,551,498,489,304,279,271,358,414,330,382,433,357,461,645,564,364,343,308,296,317,370,410,855,808,591,629,558,399,347,358,465,577,458,496,432,479,450,408,388,445,438,386,356,366,431,487,437,518,779,1042,929,914,1023,957,775,800,1296,1480,928,776,678,683,669,724,761,733,867,867,815,899,857,856,708,651,623,695,654],[238,243,243,224,217,219,240,248,242,230,277,312,293,262,251,245,272,244,239,225,241,256,256,261,268,307,374,326,269,288,268,274,268,290,307,276,281,305,318,358,339,333,362,369,349,353,412,451,399,363,344,332,337,354,793,901,733,512,475,533,428,525,511,552,824,805,837,1076,1016,956,948,1156,1318,1158,663,684,1158,885,595,498,495,631,618,634,924,1234,1352,1224,1216,982,518,455,381,337,334,361,698,1264,1228,1088,1218,1032,782,727,896,1156,739,1004,1382,1276,1340,1194,960,814,977,1162,985,811,1138,1146,1234,1428,1388,1300,911,1224,1178,1176,1198,1250,1184,976,1040,924,929,791,658,1270,1312,1078,986,1104,1204,1072,828,858,988,718,839,575,475,675,743,777,1064,877,644,422,298,302,319,362,518,960,1056,1052,1266,759,403,316,273,304,322,442,529,399,381,417,453,297,394,730,817,791,742,536,338,288,459,612,645,614,587,1318,1822,1288,997,719,539,516,651,769,983,971,659,563,633,645,520,461,531,436,324,476,663,575,432,417,449,411,357,377,368,423,373,332,413,929,1248,1144,1106,1244,1162,1166,1262,1444,1340,1108,1017,1364,1262,1256,1182,1222,1406,1346,1382,1224,872,1010,847,1396,1740,1556,1390,1310,1374,1756,1800,1492,1328,1270,1050,1008,969,1410,1422,1122,1244,1330,1156,954,1136,1488,1368,1224,1550,1700,1754,1814,1802,1688,1616,1648,1612,1474,1362,1134,1184,1400,1504,1336,1606,1860,1516,871,576,814,1382,1396,1440,1650,1470,1248,1222,1564,1934,1832,1520,1620,1926,1426,1084,1336,1270,993,971,1344,1562,1710,1470,1230,1144,1200,1154,1005,1044,1130,1270,1368,1282,962,1256,1204,946,818,1072,1174,1354,1396,1256,1310,1450,1466,1164,1068,949,772,754,1010,979,583,680,1136,1152,872,651,910,1206,1364,760,970,932,861,788,993,1312,924,879,1268,1720,1704,1378,1256,1296,1074,1096,1358,1406,1344,1172,1134,957,866,902,1246,1620,1678,1406,1256,688,591,569,507,390,334,361,324,639,1344,1478,1100,948,913,871,742,621,493,404,399,271,294,478,681,712,645,444,436,833,1120,1054,738,573,794,832,736,756,999,1214,979,835,899,532,493,503,662,929,1023,1023,952,766,495,412,442,408,396,380,360,363,340,455,511,478,691,960,695,419,381,471,504,593,722,818,817,774,987,937,827,845,814,955,1088,1062,810,577,513,565,668,396,397,379,471,760,1064,1164,969,1078,1068,1038,1102,1048,1242,1274,819,523,531,457,335,564,674,383,383,298,300,372,536,797,974,806,764,1130,1220,1292,1226,1098,1134,1154,729,779,1042,1174,938,729,596,448,416,508,585,1016,1318,907,1036,1506,1440,1316,1382,1130,1382,1350,924,748,748,738,905,1096,1050,769,728,588,489,514,727,1038,904,644,865,1090,880,778,1080,1084,1222,1196,1274,1162,1076,1054,954,1010,1128,1136,1242,1340,1404,1190,1344,1002,745,647,744,637,633,802,882,795,897,861,778,1230,1798,1404,965,840,800,497,392,482,718,1214,1472,1122,793,675,637,525,728,1250,791,908,1138,1322,1178,1130,1360,1456,1420,1190,929,594,901,871,574,487,495,536,755,830,781,850,1036,1124,930,1028,1328,1152,1114,1005,893,912,792,607,698,946,1118,1019,1246,1412,1304,1266,1336,1284,1376,846,515,616,730,830,1042,1178,1162,1252,1128,1156,1340,1152,1122,1158,901,1018,957,1010,1326,1286,1108,1062,1146,1200,704,796,1086,1084,693,584,602,746,988,1076,1001,909,1028,1270,1142,1122,1034,583,365,403,807,1034,958,1252,1200,1262,1190,1138,1108,1328,1268,1224,1001,950,1376,1324,1316,1244,837,731,1152,1130,1122,1214,928,631,792,974,1136,908,605,544,437,444,572,632,500,477,392,365,381,390,391,386,481,608,504,399,404,423,457,464,691,672,542,514,462,425,453,479,567,618,466,462,498,1064,1368,1386,1538,1448,1512,1828,1782,1732,1860,1760,1716,2120,1818,1362,1874,2164,1488,1032,1174,1316,1058,918,1142,1648,1500,1336,1182,1486,1048,649,569,779,1090,1244,1188,790,658,799,1168,822,472,579,1019,1234,1204,984,824,987,893,667,884,983,725,878,946,1310,1660,1500,1186,1106,1058,1222,1268,1094,1274,1142,1348,1410,1074,802,465,308,339,357,344,328,281,269,426,497,366,254,538,1360,1498,1290,1164,915,808,753,569,482,495,603,731,923,844,761,913,1084,1114,904,552,393,392,393,375,370,390,469,555,469,416,402,409,386,370,337,386,456,451,397,380,384,363,343,350,354,331,317,293,312,354,355,358,315,301,319,339,354,376,370,366,347,335,353,337,327,368,336,287,322,375,406,360,461,608,529,353,296,331,331,272,290,296,306,297,306,306,325,310,285,286,269,285,327,366,439,533,471,425,429,339,314,330,351,341,322,341,329,328,320,320,336,258,267,297,298,274,280,288,274,257,262,340,412,265,299,313,305,288,297,315,316,294,289,301,302,313,314,304,293,285,279,284,299,316,305,303,302,290,301,306,303,300,357,396,443,512,419,394,345,468,517,385,382,398,771,1438,1634,1654,1314,664,441,446,487,508,567,794,991,1054,954,692,771,752,1152,1148,1302,2242,1922,1462,1218,1096,763,496,495,650,449,348,451,557,1246,1448,852,575,455,465,541,509,455,426,356,342,428,607,545,421,415,498,473,429,366,381,411,406,449,1030,1374,1338,1094,800,439,365,544,495,309,339,345,304,264,288,304,362,492,551,453,833,843,923,852,680,675,501,349,358,395,428,749,1128,1406,739,408,419,416,441,460,506,645,643,592,808,1136,1480,1346,1308,1294,1400,1266,1252,1648,1626,1192,1000,931,640,468,537,445,461,622,774,850,1086,1144,813,667,948,855,963,1240,1126,969,554,412,410,327,295,320,399,419,545,790,528,474,780,709,449,322,301,285,302,331,337,360,454,393,357,357,464,435,316,282,281,306,330,312,283,295,300,308,320,365,353,365,373,374,574,588,413,423,387,409,691,600,550,460,444,458,549,949,857,630,940,1344,1418,1544,1248,670,521,415,505,1034,1262,1344,1168,743,528,447,507,911,1188,821,1046,991,589,498,607,556,449,459,493,459,419,503,477,404,418,446,367,382,377,398,455,529,618,488,692,844,418,492,974,1056,1232,1046,923,1580,1918,1106,450,397,606,835,612,366,456,594,736,726,712,479,634,1022,856,982,881,344,294,376,520,1008,980,603,398,358,335,343,423,524,672,735,762,1044,1042,1366,1554,1262,729,882,860,669,645,727,833,1076,1136,1208,1154,697,604,623,766,1106,1130,1290,1282,932,733,673,1076,1414,1238,1444,1360,1138,850,929,932,835,962,1236,1248,1066,1036,1704,1592,1086,917,1090,1066,1258,1118,617,399,340,280,229,251,284,352,349,362,525,721,954,868,1120,1258,1094,817,798,1030,919,977,1334,1388,1266,1086,748,791,678,454,397,357,522,613,418,635,1192,1252,1306,1352,756,767,1152,1208,931,558,382,356,353,341,350,426,471,462,482,505,522,691,739,735,1200,1288,983,1238,1172,1282,1116,1106,1344,976,924,775,1060,1068,492,393,437,514,573,641,516,508,756,794,637,1166,1426,1372,1566,1462,758,611,852,1070,960,1050,1306,1488,1048,797,1290,1158,623,548,575,560,594,518,420,539,583,636,542,508,602,1013,1256,1078,1262,1362,1202,1090,960,896,1146,1434,1630,1664,1516,1294,1078,932,810,730,537,506,741,721,818,1226,1038,968,666,1188,1280,858,720,495,494,733,1058,1294,1262,1300,991,815,1124,1300,1306,1260,1312,1544,1408,1360,1394,871,506,553,485,418,437,463,495,543,545,587,608,652,756,819,779,797,802,709,783,835,1004,936,857,966,1102,1210,1128,961,520,400,449,560,518,658,644,360,452,835,723,336,276,422,440,478,473,265,241,357,599,608,527,531,639,868,694,419,483,564,578,655,739,563,437,514,428,396,560,604,447,288,256,250,256,269,345,377,380,350,417,737,655,531,1032,1280,1426,1644,877,376,321,328,380,422,367,349,334,289,257,292,321,409,392,419,375,366,427,440,338,362,485,514,566,531,628,530,495,586,360,260,319,364,420,486,469,432,490,401,368,318,298,223,220,224,218,267,345,333,362,556,641,520,317,284,343,366,372,385,639,638,615,705,527,352,309,340,491,485,498,503,420,482,527,519,515,530,528,546,472,397,376,410,396,458,569,583,504,502,476,473,531,861,1422,1488,783,619,680,674,545,609,642,646,784,908,1134,1015,866,833,760,639,654,594,457],[240,246,243,254,281,290,255,231,236,246,346,453,415,285,259,242,249,268,255,256,261,254,249,251,276,261,274,289,271,263,289,270,320,353,356,323,352,369,349,344,335,345,343,344,376,410,410,386,351,337,346,350,326,301,485,761,750,543,382,505,590,551,533,628,1056,1160,1152,1132,1100,967,1050,1324,1154,1138,814,797,1136,745,630,586,509,671,993,1302,1404,1304,1334,1322,901,580,424,351,336,313,395,439,932,1328,1110,1112,1308,1028,746,830,1144,1074,1052,1188,857,1130,1238,924,748,803,1230,1144,789,1070,1122,859,1238,1416,1300,1388,1120,836,945,1166,1182,1076,1170,1088,988,872,633,434,500,1090,1304,1202,996,883,1130,1064,792,645,944,919,894,574,587,670,708,530,615,648,451,349,339,328,299,246,441,538,857,1262,1088,517,338,310,357,409,359,289,250,272,307,320,317,270,381,617,641,695,699,362,268,309,302,302,674,1078,901,1354,1894,1640,972,836,845,900,1044,1182,1042,765,582,830,775,669,594,500,521,504,487,592,712,633,598,566,450,399,411,338,304,372,429,485,638,899,915,1076,1152,1218,1160,1112,1324,1348,1023,825,1088,1320,1086,1052,1128,1118,1080,1174,1488,1406,1038,1298,1148,1310,1656,1632,1492,1430,1460,1484,1698,1438,1338,1312,1156,1030,1296,1592,1428,1336,1476,1526,1340,1372,1418,1404,1156,1122,1332,1492,1584,1562,1610,1698,1740,1704,1632,1526,1522,1694,1450,1308,1384,1508,1728,1582,1336,959,751,1110,1458,1260,1344,1838,1322,775,1130,1356,1494,1392,1216,1158,1386,1614,1672,1568,976,947,1230,1390,1224,1302,1204,1262,1390,1470,1316,1158,809,602,1198,1676,1650,1226,1278,1320,927,1092,1400,1270,1154,1136,1344,1466,1534,1422,1060,1074,1140,960,821,1016,1094,802,973,1226,1130,772,730,1142,1334,1282,1009,990,991,876,949,1192,948,623,785,1136,1372,945,1108,1294,1368,1238,1256,1416,1344,946,1082,1172,768,855,1084,1370,1346,1232,926,715,665,618,587,658,737,662,566,378,499,882,959,897,796,883,1018,857,750,636,437,263,307,449,604,634,613,675,686,539,980,1372,1324,1060,712,785,927,830,942,1110,1314,1422,486,392,415,711,811,917,808,764,850,871,565,445,498,461,473,475,511,425,439,619,455,406,639,947,918,756,540,520,586,640,719,750,604,452,595,774,994,1220,999,1050,899,877,1022,1166,978,790,888,888,906,1214,968,706,1170,1414,1168,959,957,1078,755,888,899,811,832,633,584,653,606,559,422,327,283,317,317,354,608,695,561,594,667,744,1250,1820,1316,875,704,599,699,819,758,1050,1246,1190,908,685,638,457,459,864,1232,1180,858,1178,1422,1372,1278,1070,1034,1302,1416,1030,594,606,693,680,1068,1248,1032,738,750,707,757,896,994,869,852,969,1248,1052,960,969,889,1116,1208,1356,1042,854,927,686,883,1274,1144,802,766,842,907,703,565,500,451,418,484,650,797,831,732,781,869,898,944,1548,1536,1404,993,484,324,401,604,713,741,1382,1792,1056,787,485,417,867,1076,673,653,1056,1220,1166,1292,1340,850,920,1007,982,450,446,647,495,433,485,607,786,939,857,705,601,993,1170,1112,1152,1116,1076,946,1194,1034,485,539,561,604,880,1238,1362,1324,1246,1350,1448,1472,1238,897,737,565,771,1014,936,940,1054,1288,1312,1648,1400,845,747,870,1092,1302,1116,1072,1192,1488,1410,1168,1344,1200,1010,1106,1190,1038,1056,1066,597,729,1018,1198,1238,1232,1314,1394,1046,895,912,610,420,438,677,1132,1102,1316,1212,1116,1354,1112,1054,1188,1000,929,908,1122,1426,1124,992,796,808,599,712,758,888,988,1300,1158,865,1042,1054,957,792,577,554,628,665,539,453,462,421,370,374,379,423,493,560,667,728,625,472,417,434,444,453,462,527,544,475,439,436,446,430,488,432,435,434,746,1326,1710,1724,1602,1602,1774,1802,1630,1730,1766,1594,1754,1824,1998,1836,1172,824,642,577,604,847,951,883,1018,1096,1154,857,1312,1290,1164,1212,1222,1396,1268,1080,927,1036,1007,1422,1298,811,928,1250,1220,1054,855,794,760,725,1013,1010,1007,883,642,617,702,951,1030,1124,1274,1268,1378,1454,1428,1224,1158,1252,1146,1042,971,660,402,349,325,258,310,318,290,333,446,445,389,493,804,949,1015,1005,955,805,672,533,385,433,408,331,651,780,1054,1078,935,762,517,449,398,427,379,372,394,453,537,558,463,402,388,386,386,369,346,334,404,453,344,328,332,344,332,320,324,331,323,311,305,342,364,384,358,327,315,335,343,347,370,378,350,334,352,360,322,293,296,327,324,377,463,422,469,536,475,352,290,290,310,287,295,293,305,320,310,293,301,290,271,298,321,302,356,402,515,613,422,536,598,536,452,444,466,377,365,401,347,347,369,427,313,262,271,267,287,297,281,284,273,244,323,553,440,280,315,317,293,295,311,318,313,321,323,325,337,342,323,307,288,289,295,287,304,298,287,301,302,296,298,305,321,296,331,357,412,451,514,471,361,604,702,385,390,592,1248,1600,1570,1560,845,494,450,440,448,462,565,911,1164,1250,1180,756,505,606,1056,940,1168,1606,1538,1286,1272,1060,764,869,1074,979,497,571,581,1010,1798,1554,1158,880,428,369,444,456,459,386,384,456,464,583,564,416,377,472,666,564,359,374,383,403,405,1190,1282,1308,1196,1054,749,448,486,437,363,372,373,317,303,316,337,461,485,519,583,477,628,940,1054,1086,650,314,336,306,464,523,814,1216,1152,544,356,375,351,360,351,429,528,683,655,690,636,1076,1178,1282,1406,1578,1406,1182,1434,1748,1256,1144,1264,1056,585,524,676,737,850,895,949,1146,902,590,515,822,760,1021,1122,1116,955,519,362,381,336,334,348,453,561,618,807,818,690,921,1052,632,351,333,324,312,312,318,322,390,376,353,359,445,395,328,312,300,306,318,292,280,286,304,335,347,405,383,390,439,538,682,615,452,433,487,405,557,647,547,445,412,461,880,1070,747,766,1106,1504,1570,1428,1498,1304,845,628,662,922,1278,1436,1032,543,295,330,373,418,717,898,822,943,577,352,417,413,400,403,405,384,446,521,408,424,407,418,401,406,391,414,452,696,876,688,692,564,374,568,1400,1422,1310,940,539,921,1132,757,558,459,748,1084,825,648,849,995,1108,954,934,865,630,547,520,678,670,527,352,477,756,1240,1204,767,433,378,340,339,491,807,1234,1218,1108,1100,1194,1534,897,385,412,624,623,507,662,948,1058,1598,1606,1650,1028,485,475,615,752,1000,1180,1360,1370,1100,874,1094,1404,1470,1374,1606,1384,1003,898,1148,1092,751,911,1230,1220,1292,1400,1758,1254,987,1132,888,969,1134,799,554,505,393,308,242,310,369,396,390,370,531,750,904,890,1021,1090,1036,993,1206,1142,1003,1164,1278,1232,1246,1138,1004,1058,855,596,406,423,503,441,493,727,1023,1212,1344,1098,691,855,1092,1334,1188,639,364,352,343,328,335,453,530,463,336,488,543,646,606,672,1406,1614,1108,1250,1318,1778,1394,1116,991,935,831,601,739,611,374,319,366,539,545,463,499,543,1346,1266,690,1056,1388,1100,1380,1642,1094,1056,1266,843,636,1024,1302,1166,648,482,874,844,518,503,417,451,469,476,460,448,445,512,482,494,514,1356,2028,1298,1306,1278,1030,1326,1218,1046,821,867,1160,1414,1588,1594,1468,1234,1068,893,865,693,778,860,1130,1444,1154,1013,676,1166,1516,948,893,586,434,492,1096,1422,1300,1264,1224,1120,990,1120,1346,1274,1310,1306,1206,1396,1428,1222,1092,1003,833,788,999,924,778,816,825,828,906,878,755,628,561,874,985,891,819,768,707,748,891,1128,1254,994,609,541,606,380,260,301,317,565,670,521,516,666,595,368,322,448,332,320,387,323,315,580,979,1070,963,864,931,1078,971,809,751,792,871,935,1074,864,520,444,353,311,524,591,373,286,256,249,321,377,359,391,409,472,477,361,587,952,1530,1412,1628,1538,797,380,333,481,654,475,334,343,357,343,269,293,394,451,446,419,389,394,398,327,237,349,546,515,480,444,797,747,668,551,385,357,373,405,442,438,423,411,490,527,429,345,279,199,214,233,214,227,255,249,286,454,973,907,504,518,598,509,454,489,472,371,424,529,458,327,311,359,465,405,460,467,446,490,538,633,635,648,635,532,463,482,373,402,428,427,410,383,405,411,465,440,414,684,1276,1472,799,492,540,431,328,380,451,518,549,639,988,857,905,762,700,717,795,632,409],[230,240,236,315,374,416,337,270,231,261,334,372,320,262,263,266,255,263,265,257,244,239,253,261,266,269,317,321,307,272,278,302,437,454,402,397,412,404,375,341,308,349,347,363,372,355,336,322,320,315,339,343,300,308,443,725,636,608,404,542,772,1060,761,635,1004,1504,1700,1318,1262,1104,1056,1228,1426,1312,1060,985,888,575,642,759,736,1114,1826,1822,1532,1238,1230,1488,896,833,835,583,534,599,752,966,1210,1204,1196,868,1042,731,458,844,1086,1080,1062,893,873,1046,705,612,849,937,845,824,472,846,1208,1098,1126,1172,1202,1434,1360,839,1184,1598,1008,585,993,1398,1406,1134,597,365,503,866,1174,1122,786,683,896,1206,956,701,888,1013,916,1100,1044,960,899,485,455,393,325,314,286,253,428,1538,1256,851,1230,1460,1044,529,414,321,359,332,293,251,256,279,300,284,291,285,677,1124,827,565,427,234,215,252,252,307,365,833,828,878,1240,1138,626,580,615,863,1112,1440,1362,829,597,784,639,551,656,664,595,610,772,721,647,663,652,572,401,372,379,304,238,332,526,680,880,1015,797,1096,888,1046,1248,1134,1144,822,615,566,861,1270,1226,673,688,924,1334,1452,1474,1340,905,766,913,1378,1628,1440,1286,1566,1692,1404,1422,1362,1260,1052,800,1076,1582,1464,1372,1466,1436,1442,1560,1668,1722,1328,1126,1360,1402,1460,1454,1312,1234,1438,1672,1738,1744,1752,1606,1788,1162,1064,1206,1686,1836,1422,1486,1692,1702,1786,1586,1174,1190,1448,1106,992,793,852,1120,1234,1288,1120,843,681,1068,1500,1016,985,1394,1372,1370,1538,1632,1480,1428,1430,1438,1510,1356,807,912,1128,1206,1362,1216,1048,990,1328,1382,1230,1230,1150,1360,1350,1308,1288,1278,1330,1222,1048,933,1046,1134,998,1182,1036,962,933,702,910,1128,729,1018,1144,1124,1268,1290,1312,1146,1076,933,839,1252,1278,1572,1434,1376,1234,1023,1138,1046,541,860,1172,833,1060,1216,1068,1232,1414,1048,993,1082,893,644,814,1220,926,619,511,372,509,912,919,818,974,1019,940,745,578,535,525,600,568,662,688,562,449,613,680,989,1382,1230,933,923,1018,1306,1060,1310,1102,979,902,648,463,487,647,824,822,827,936,872,644,284,329,402,461,559,733,805,585,827,1002,546,274,484,679,565,695,644,617,624,669,635,482,399,461,553,603,812,781,551,913,794,937,922,1230,947,727,908,1130,1262,1200,959,1013,1080,1016,1296,1166,1130,1158,800,634,578,581,672,860,917,893,1074,1094,648,435,339,287,319,477,1152,1484,932,560,650,943,1158,1306,878,838,644,468,444,596,915,1252,1360,1112,647,802,926,583,532,1034,1152,1280,1466,1870,1670,1376,1430,1496,1240,995,1108,983,822,811,1066,1166,1224,1440,1076,845,906,745,554,597,705,593,472,651,1414,1180,1302,1094,913,1066,1088,1084,1021,1140,1106,854,853,838,818,455,373,522,1021,965,810,932,807,519,479,885,924,1070,648,950,980,1066,938,1194,1652,1432,697,386,393,583,1266,1284,580,782,1404,841,409,339,390,584,657,495,446,615,1136,1510,1440,1180,938,667,789,751,595,532,406,466,608,705,762,768,940,977,817,531,1208,1448,1236,1368,1610,1460,1206,1320,818,365,501,478,494,518,734,977,1272,1368,1404,1538,1528,1314,1126,910,821,608,622,792,897,882,1126,1500,1600,1258,786,783,1086,1458,1328,879,977,1332,1498,1482,1032,946,1192,1296,1254,937,824,1162,1508,924,904,1070,1124,1138,1132,1434,1504,1190,1108,952,775,698,592,698,1154,1066,1306,1232,1098,1294,1208,980,1034,1034,1038,1110,1270,1222,1208,916,1004,1104,948,1000,1222,1318,1220,1318,1422,1026,871,853,960,941,739,808,673,472,445,449,439,403,362,367,451,565,572,579,622,758,785,626,448,423,466,462,486,573,728,527,470,422,392,345,327,413,486,457,597,1122,1656,1566,1418,1512,1634,1814,1674,1682,1698,1448,1626,2060,1632,895,799,904,758,708,664,841,1072,886,820,1166,1282,772,987,1328,1334,1360,1212,852,594,618,877,828,1084,1172,1046,807,797,965,943,968,994,956,747,821,1546,1164,776,794,670,530,502,535,907,1844,1672,1194,1516,1682,1692,1242,1356,1298,1246,1078,776,625,520,446,437,296,314,377,348,372,472,485,573,552,462,602,605,641,719,543,775,982,647,475,487,407,614,783,714,582,538,532,417,393,364,372,383,400,431,456,498,480,406,381,366,401,419,344,347,308,338,355,313,313,300,305,305,308,375,430,366,325,307,321,343,361,398,360,310,333,354,358,371,356,341,350,366,395,340,290,315,373,354,375,400,408,404,413,469,401,292,267,308,301,306,298,291,297,300,307,308,298,274,300,331,315,319,447,522,400,325,304,387,462,466,539,471,421,415,401,359,399,404,359,272,282,291,280,291,288,281,296,284,268,453,675,381,281,288,283,293,291,295,325,329,325,334,335,323,333,318,306,281,287,304,301,302,290,296,297,303,297,297,299,313,299,302,327,390,476,569,519,382,431,433,388,483,1004,1570,1570,1554,1148,874,895,617,458,463,467,733,1058,1126,1094,1102,856,559,471,705,915,988,1272,1388,1448,1462,1112,965,1646,1876,1158,778,1030,866,1416,1952,1500,1172,1102,741,419,415,498,424,348,346,429,485,477,458,480,438,611,1016,767,495,575,391,357,374,995,1172,1066,1106,1210,1096,582,558,580,637,577,499,505,435,345,361,591,682,846,990,716,631,818,1100,1160,792,511,440,422,490,591,819,1082,921,595,462,428,402,344,336,482,576,612,615,600,477,541,818,1108,1332,1512,1432,1222,1222,1730,1366,1048,984,968,1010,1240,1412,1444,1230,1066,937,1086,947,720,735,779,648,833,855,733,741,771,939,847,442,353,350,503,745,694,866,1050,938,989,929,532,362,332,332,325,306,297,322,369,393,368,353,346,307,304,307,322,328,300,272,273,281,318,346,381,380,351,433,677,777,595,427,397,407,550,512,451,637,592,446,441,411,498,542,447,491,826,1444,1466,1402,1620,1586,1434,1228,868,808,1170,1202,1088,545,289,277,320,617,1188,1078,860,881,552,337,341,344,340,365,393,455,495,439,412,419,425,415,430,408,406,431,490,919,998,803,615,388,622,1004,1196,1272,1030,635,785,694,522,500,579,547,554,852,920,1028,1218,1166,1034,744,903,1224,949,510,454,527,478,402,338,392,863,1152,1306,1098,704,414,384,416,664,1244,1422,969,816,1192,1174,865,426,377,380,350,404,537,776,1224,1388,1522,1342,1166,917,661,526,550,745,1012,1106,1086,1296,1122,1208,1312,1094,1382,1484,1294,1222,1060,861,921,1005,894,844,1184,1368,1396,1216,1064,836,1340,1450,1172,1378,1146,650,626,550,414,318,275,356,424,462,488,529,692,878,894,843,899,1020,1102,944,673,459,678,908,766,930,1100,1016,1212,1234,1122,873,549,395,415,528,779,937,1110,1338,1454,1272,1060,974,989,1382,1366,844,400,360,328,309,349,495,609,487,374,621,796,651,465,769,1298,1222,1156,1120,1318,1516,1410,1210,1190,1164,858,802,815,343,312,341,349,394,630,667,595,507,709,690,693,996,1268,1290,1142,909,1346,1158,737,553,755,1062,1190,996,593,419,466,480,502,526,443,419,403,499,557,444,484,473,336,512,954,1410,1616,1244,1384,1278,1322,1458,1350,1240,1128,907,775,831,1026,1428,1576,1568,1464,1264,899,868,735,761,823,1024,933,828,636,581,715,713,769,829,524,544,1088,1252,1170,1220,1310,1184,1124,1376,1372,1366,1442,1404,1464,1410,1036,769,771,899,791,645,659,576,523,656,846,563,339,385,469,423,403,502,677,810,907,896,828,895,1066,1296,1316,1030,633,538,610,563,516,376,424,578,530,524,587,697,674,484,387,432,292,256,332,409,444,719,1228,1280,1236,1428,1482,1408,1260,1086,990,998,1088,1234,1390,1294,666,438,352,283,360,351,286,224,206,243,443,509,375,403,585,828,976,678,893,899,1216,1126,1328,1038,574,392,305,468,602,352,266,307,363,404,287,226,297,386,425,422,435,435,349,320,331,372,476,525,533,527,825,889,760,643,510,449,473,457,450,437,410,422,542,600,481,345,222,217,232,240,219,206,257,423,432,494,1246,1252,739,564,517,470,562,673,448,369,394,308,274,278,319,418,475,434,481,481,446,480,524,636,536,491,479,471,478,538,551,518,495,472,370,331,337,339,405,364,383,508,975,1398,995,548,480,449,523,578,608,572,545,555,741,711,790,692,669,698,666,625,485],[231,224,247,281,346,369,343,303,243,276,278,276,274,268,268,273,281,276,260,245,248,268,283,282,303,297,385,325,355,370,316,349,525,522,409,447,461,424,393,325,295,342,346,334,321,315,317,321,318,299,291,294,300,347,335,574,716,713,681,877,1034,1009,729,681,798,1356,1412,1170,1318,1244,1068,1194,1154,969,745,572,436,515,838,1158,986,871,1404,1378,841,844,919,1288,1238,1598,1606,1080,741,531,852,1078,1214,1410,1482,1252,1214,687,416,804,1200,1138,938,727,708,869,802,857,733,905,852,783,631,887,1372,1428,1178,1422,1494,1388,1410,1422,1498,1398,922,1110,1220,1190,1306,1092,630,379,444,593,783,1023,1102,828,905,1046,943,1060,1010,756,751,1050,969,899,928,591,543,843,887,771,454,296,614,1542,1530,1380,1418,1454,667,409,307,328,444,309,284,281,250,307,404,421,367,317,473,716,818,753,482,340,304,319,444,367,289,304,401,595,612,764,550,453,426,615,1080,1258,1066,670,610,736,487,477,607,813,788,670,608,522,476,495,422,288,304,369,361,350,285,328,487,594,990,955,1094,1394,1028,1072,1040,962,1072,804,562,753,1296,1686,1652,891,633,1186,1764,1548,1456,1456,1262,1180,1132,1056,1232,1364,1360,1656,1426,1148,1422,1358,1214,1054,680,948,1290,1106,1098,1262,1198,1412,1612,1376,1716,1230,918,1230,1372,1244,1176,1252,1160,1328,1292,1476,1708,1774,1790,1780,1598,1536,1360,1388,1236,1284,1590,2076,2108,1654,1198,1180,1318,1188,988,1036,1174,1274,1188,1186,1328,1266,997,832,685,850,989,930,760,879,1250,1632,1628,1296,1250,1166,1190,1556,2012,1206,906,1052,1268,1422,1224,807,779,1206,1122,1030,1120,1126,1190,1158,1328,1376,1240,1184,1184,1104,926,1007,1012,1130,1154,1072,1046,1148,783,781,854,1518,2264,1694,1382,1468,1284,1650,1444,1316,1310,1606,1702,1494,1488,1306,943,830,824,749,573,420,670,1384,1376,1328,1320,1256,1644,1710,1168,1032,891,656,776,910,1126,859,431,474,490,570,1076,1160,1408,1340,899,907,843,619,532,588,511,352,520,706,672,744,1015,1001,886,922,984,1244,1304,1140,1238,966,1134,1024,737,723,850,867,759,579,697,808,944,1050,900,429,328,383,748,799,855,1021,959,702,683,796,526,304,334,483,560,659,649,656,658,575,404,382,568,596,430,546,850,733,485,625,832,990,1190,1116,789,745,906,1258,1112,1132,1164,1220,1036,927,960,1152,1318,1376,1150,787,822,976,759,782,778,1064,1382,923,764,803,554,380,464,871,1598,1718,1310,1356,995,647,602,735,863,884,525,296,273,527,929,1052,1224,1292,1108,1112,1104,720,907,1344,1298,1428,2046,2168,1334,1156,1292,1422,1196,750,835,1202,1162,1042,1102,1076,1120,1212,932,648,794,976,818,537,595,520,459,666,976,1140,1342,1094,1106,1084,984,976,909,1102,985,649,464,513,436,316,305,382,821,1078,983,745,747,807,617,1082,1017,1200,1250,1498,1064,827,852,1074,1500,1706,1196,677,583,723,1268,852,405,456,798,629,351,296,320,385,351,308,495,578,1020,1468,1444,882,590,433,422,440,527,455,476,716,938,697,670,850,797,860,996,1019,1306,1328,1434,1242,1130,1398,1296,1013,462,359,493,426,702,918,644,586,1078,1348,1314,1532,1444,1214,877,997,1380,1048,685,789,760,737,982,1120,1146,1100,943,955,1288,1132,962,917,997,1250,1458,1320,949,1144,1308,1152,977,890,871,828,1174,1036,1110,1328,1296,1184,1206,1406,1576,1772,1668,1098,649,613,522,633,1130,1144,1094,1178,1318,1306,1102,941,1062,1180,1176,1280,1438,1366,1500,1486,1416,1256,1198,1120,1274,1598,1350,1318,1358,1142,628,717,913,640,628,688,560,491,437,418,426,382,368,404,501,524,525,546,479,505,593,595,522,436,431,421,428,477,603,487,515,442,395,324,312,345,357,479,494,816,1594,1522,1690,1736,1600,1782,1732,1422,1338,1600,1796,1432,917,718,728,775,838,678,559,783,894,683,611,832,824,539,714,1178,1410,1120,828,512,475,633,666,507,597,647,836,861,791,948,963,905,1202,897,657,908,1176,952,670,799,1064,611,585,627,1008,1820,1450,1132,1346,1478,1356,1376,1410,1222,1228,1214,1074,795,736,672,551,393,318,452,493,395,356,420,551,503,563,791,410,383,394,490,639,959,786,731,649,594,643,482,440,436,593,522,393,361,392,364,394,441,431,388,444,456,400,418,444,378,346,352,339,318,347,348,305,299,327,329,312,317,356,399,393,325,300,308,360,388,398,368,312,287,329,384,363,371,381,398,399,359,327,297,309,325,317,368,399,369,333,288,290,254,256,251,308,325,312,300,301,291,310,336,307,306,295,284,311,346,365,531,412,281,317,377,408,365,317,324,369,394,379,370,397,459,370,281,262,271,269,269,267,267,288,284,287,284,495,520,379,290,274,280,285,301,327,363,330,301,313,301,291,313,308,304,293,293,308,307,304,278,298,301,309,298,296,294,290,299,299,313,350,390,492,474,412,422,431,478,802,1438,1570,1564,1336,854,1058,1210,988,583,538,593,938,1168,1332,1034,1068,1072,912,552,515,653,600,1074,1248,1410,1434,1124,1068,1166,805,407,709,782,669,1434,1764,1248,697,659,741,445,445,786,538,301,293,368,457,416,435,519,531,540,882,1021,656,499,399,345,463,947,1230,1236,1184,1208,1052,605,600,709,793,1017,1004,1148,943,509,553,796,855,959,741,454,694,957,1062,1202,1100,1138,830,505,446,655,912,580,516,910,940,976,694,386,333,797,1100,780,546,573,550,537,578,1018,1246,1166,1110,1116,1304,1600,1550,1176,1020,1504,2018,2018,1964,1910,1250,843,879,1026,815,506,647,714,750,1192,1134,838,1170,1224,1126,929,719,617,480,602,662,735,916,1072,1042,868,689,445,374,330,345,321,342,345,354,359,391,393,334,351,334,298,314,339,326,289,258,274,286,306,417,482,344,360,521,700,471,360,331,345,386,434,499,451,540,630,500,464,439,441,570,560,723,663,970,1228,1528,1650,1482,1444,1382,1248,1056,1056,1040,1032,484,293,272,325,814,1372,1286,946,784,446,365,346,358,347,354,341,365,431,407,419,532,514,390,416,427,448,423,531,901,758,698,617,551,654,772,937,1196,907,680,785,704,534,443,554,612,571,637,860,1092,1098,924,746,675,982,1230,879,724,609,593,532,391,366,455,847,1378,1484,1446,1202,814,831,508,703,1238,1310,1054,1017,1210,1038,540,368,435,368,341,374,535,1013,1328,1504,1478,1458,1160,783,620,480,502,649,799,731,971,1544,1586,1536,1342,1120,1332,1542,1416,1254,1082,944,750,973,1126,879,982,1306,1180,1062,1280,1450,1612,1538,1392,1344,938,522,559,495,375,325,356,388,378,411,599,853,886,819,766,550,541,798,954,956,594,458,725,1044,890,1062,1356,1328,1654,1510,1338,1044,755,459,492,779,797,680,1056,1434,1416,1306,1470,1426,985,1112,1108,759,424,346,311,315,388,485,528,462,439,592,686,727,623,918,1278,1372,1064,919,1212,1322,1060,879,1122,1132,1104,1000,682,384,611,435,335,287,450,655,647,515,645,853,915,937,916,1266,1290,1196,1256,1410,1186,816,877,1024,1056,895,624,526,516,592,568,502,426,439,449,621,784,717,467,338,313,462,794,1202,1248,1102,1254,1186,1230,1342,1214,1132,1112,1068,995,787,746,765,1190,1438,1584,1550,1496,1224,927,702,640,691,691,713,666,809,727,436,711,1028,560,484,1001,1174,1164,1148,1034,939,1184,1576,1500,1578,1508,1462,1352,1422,858,425,562,824,983,868,686,572,430,467,642,611,410,590,888,721,489,603,601,600,796,1058,944,761,719,872,888,810,717,875,1150,1256,961,475,464,622,617,567,457,517,579,502,408,422,354,341,466,539,614,988,1244,1354,1322,1502,1664,1626,1394,1148,1086,1120,1440,1854,2026,1908,1000,585,470,493,542,647,524,235,199,267,390,419,397,686,1152,938,780,853,856,631,560,506,588,532,376,334,267,281,244,245,268,287,295,341,294,227,276,332,332,372,411,429,335,301,282,293,508,556,511,740,1023,959,811,755,565,435,470,481,493,445,419,468,496,426,402,346,233,258,256,228,245,317,554,708,756,746,875,912,897,731,559,551,617,569,420,513,793,499,291,305,312,421,487,444,476,477,504,615,619,539,463,492,521,529,542,587,602,547,475,442,351,331,354,388,410,413,441,503,768,1162,1098,708,771,742,793,749,689,622,669,714,708,643,598,539,725,797,655,675,535],[258,272,301,341,329,298,298,303,281,310,267,267,271,268,283,301,293,271,277,246,262,271,293,326,351,325,387,375,417,438,389,387,487,490,402,452,454,402,375,338,343,346,329,322,319,313,318,334,321,325,339,347,376,388,331,490,779,830,1136,1190,1110,1074,941,944,1026,1184,1086,1202,1162,1248,1898,1616,1212,1068,477,425,480,644,711,1060,985,703,977,1052,728,722,819,1182,1460,1504,1360,1052,1016,1024,955,1114,1154,1342,1072,1028,1242,774,398,862,1156,868,991,1394,1622,1268,1168,1166,1256,1112,861,910,1034,970,1188,1464,1092,1092,810,1106,1538,1262,784,818,832,1228,1202,1388,1358,1050,728,413,391,395,419,744,800,830,950,802,802,1172,1266,733,525,880,920,894,854,919,1004,1400,1570,1252,689,284,540,973,1086,1162,1380,1086,471,343,339,321,323,289,283,280,295,421,615,793,676,633,866,590,628,761,651,618,457,327,434,358,278,333,478,612,754,1130,692,778,826,1024,1332,1114,653,487,803,1136,667,509,642,959,820,609,444,449,498,468,377,323,319,313,441,551,505,505,583,866,1036,965,971,1044,1108,1120,1074,873,965,961,665,827,808,972,1011,1118,1494,1256,1074,1414,1280,1278,1366,1222,1272,1136,1344,1398,1474,1246,1048,1172,1318,1200,1098,977,805,941,874,924,1042,1192,1164,1410,1326,1266,1494,1340,1290,1362,1252,1012,1030,1040,1080,1184,1100,1504,1644,1706,1824,1678,1742,1742,1716,1574,1394,1486,1376,1720,1626,1408,1282,1378,1336,1170,1174,1260,1540,1484,1516,1436,1338,1376,1306,1318,969,778,981,922,754,850,825,948,1238,1210,1294,1268,1124,1278,1548,1004,656,684,907,1108,1106,790,885,1004,910,890,850,1170,1308,1302,1272,1216,1184,1140,1030,1168,1338,1204,774,938,832,987,1162,1164,1010,882,936,1310,1312,1144,1270,1156,1388,1974,1208,1194,1460,1512,1478,1368,1322,1160,929,1084,940,839,579,636,700,1202,1260,1238,1158,1382,1684,1290,772,534,488,456,801,1130,1138,1098,706,502,390,443,791,1048,1156,1084,1030,1098,730,446,497,451,354,311,389,565,790,971,991,1074,870,691,1176,1444,1208,1154,1064,1042,970,862,641,760,960,962,720,822,788,824,774,952,700,360,293,317,698,964,872,979,1160,974,734,579,354,305,298,331,634,773,741,618,412,297,325,536,575,384,252,505,817,893,818,874,914,969,1132,1110,1122,1007,977,1224,1138,1170,910,1014,1244,1220,1146,1322,1240,1296,1234,1188,1326,1294,1076,839,921,713,811,698,917,999,883,771,957,1358,1442,1122,1230,1432,1456,810,495,813,742,404,266,262,282,451,749,1030,959,1128,1340,1400,1326,1058,1148,1158,1472,1576,1470,1218,955,1188,1156,1590,1726,835,653,1086,936,846,677,521,728,1013,1166,647,688,1120,987,842,884,569,692,896,674,1040,1158,817,1100,1122,854,614,554,1058,975,711,883,680,358,327,307,299,372,527,654,615,888,1006,728,917,1270,1134,1122,1062,807,717,1030,1040,1072,1548,1628,1030,777,1162,1244,996,775,608,698,645,375,325,329,297,248,257,397,604,960,1248,1172,836,505,456,492,573,520,513,495,672,891,700,541,612,790,944,1054,1324,1198,1001,1128,1226,1007,844,813,591,436,468,446,598,1074,1264,852,558,1048,1376,1560,1488,1290,1096,1092,1426,1418,1060,772,743,904,930,1066,1330,1490,1252,1116,1256,1434,1158,1066,1020,983,1188,1288,926,836,1238,1188,991,965,1054,1060,1007,1146,1210,1390,1484,1426,1390,1406,1406,1430,1730,1394,894,632,600,581,520,695,821,981,1654,1750,1106,998,1158,1156,1306,1164,1054,1030,1009,1122,1358,1474,1324,1182,1098,1466,2050,1572,1278,1210,1146,619,721,972,822,570,520,664,566,424,426,458,416,370,408,450,503,539,441,354,404,470,457,520,435,423,411,412,408,439,662,631,458,447,403,425,430,403,477,467,551,1410,1526,1986,1986,1606,1582,1412,1190,1460,1560,996,666,794,881,777,729,724,533,529,761,707,593,571,617,609,547,885,1542,1710,1013,725,527,519,817,730,467,408,626,1118,1224,1188,1196,808,538,1084,1088,858,858,1010,1001,559,1314,1910,877,651,715,1034,1068,914,1118,1148,982,870,1028,1186,1168,1058,1004,996,882,725,648,613,448,315,433,518,387,320,402,514,485,569,658,392,342,341,445,598,538,718,1008,1038,1216,825,399,384,348,539,458,433,412,393,422,458,469,390,338,398,461,454,486,661,499,350,341,340,303,337,386,331,318,371,376,357,331,320,370,379,308,305,371,394,379,368,351,324,278,301,317,323,349,366,377,381,358,368,340,302,302,296,316,350,345,311,272,260,265,265,256,279,319,317,297,312,290,293,343,345,322,310,308,360,430,525,476,309,296,387,489,453,374,288,275,271,260,295,297,332,328,272,262,255,258,266,253,246,282,304,296,303,289,291,341,353,291,274,282,283,299,329,350,324,292,296,297,290,296,293,302,302,286,291,299,312,296,298,305,312,302,296,288,292,311,325,339,345,352,409,402,422,528,543,702,1262,1582,1578,1538,980,744,995,1204,1272,1084,941,959,1434,1664,1428,857,727,1126,1058,541,425,357,377,601,696,814,1010,949,715,507,465,522,619,612,1120,1626,1278,896,763,818,515,378,550,666,441,340,310,377,471,434,425,469,539,511,595,866,828,859,665,396,489,814,1234,1362,1228,1166,708,521,401,466,484,634,1001,1270,947,537,701,1108,1098,824,547,468,785,886,918,1056,1208,1264,959,532,614,1044,1090,684,481,723,736,609,474,367,543,1322,1710,1340,968,700,642,606,603,1130,1320,1230,1156,1156,1150,1326,1628,1660,1532,2054,2388,1516,1714,1640,885,850,917,1088,963,547,540,631,821,1262,1442,1512,1440,1001,681,489,872,1001,958,938,787,717,1009,1236,949,734,701,564,481,381,352,355,334,332,357,365,398,454,400,381,363,338,355,319,318,330,320,316,317,324,449,558,417,466,495,520,393,346,328,325,415,511,514,461,456,659,639,485,404,432,536,563,722,560,889,1396,1574,1538,1506,1238,1284,1252,1226,1072,898,646,410,359,360,463,813,1280,1492,998,915,418,348,331,324,354,348,334,336,350,345,373,497,488,361,384,449,455,450,765,831,824,885,914,938,826,824,1058,1168,717,477,491,426,395,385,474,806,836,648,698,855,849,609,432,499,1001,1008,530,769,819,855,1006,770,403,473,811,1362,1512,1502,1010,896,1005,717,769,885,896,657,781,1360,1270,735,499,451,357,465,713,716,591,647,882,1048,1108,874,519,468,500,581,605,666,749,1230,1662,1646,1434,1124,1082,1302,1376,1376,1188,992,722,555,702,763,697,783,1030,1418,1618,1606,1688,1488,1266,1178,1114,975,518,397,366,329,343,430,408,295,269,437,750,823,727,846,662,689,880,1150,1148,642,433,741,1026,891,1274,1488,1300,1488,1368,1290,1172,799,452,548,879,668,445,807,1013,1058,1074,1472,1434,1044,921,1114,937,502,311,311,314,361,355,367,418,528,435,457,596,795,1194,1370,1268,1088,1128,1202,1430,1180,886,1240,1294,1160,621,479,1052,1362,841,495,328,402,709,1001,826,822,993,874,774,794,1094,1124,1184,1010,966,965,796,1005,1332,1224,955,892,735,611,532,574,536,440,517,722,904,1082,1152,605,390,472,544,715,1162,1174,1078,988,761,502,686,992,1136,1136,1094,967,694,879,925,728,865,1140,1444,1556,1578,1460,1258,1054,728,666,676,725,830,735,607,797,925,592,772,1404,1476,1382,1072,960,808,1114,1310,1444,1606,1292,1216,1382,1134,658,514,670,890,1316,1416,1370,946,570,500,518,452,310,439,695,646,483,616,621,569,494,382,529,670,514,390,423,463,590,910,1194,1098,670,384,544,803,664,613,527,476,499,550,523,480,486,545,622,723,989,1348,1362,1204,1344,1430,1532,1510,1244,1220,1158,1084,1310,1464,1738,1542,1116,700,557,761,1060,1282,890,337,250,316,411,476,438,865,1118,735,763,885,846,854,608,393,334,301,295,303,293,308,254,267,284,309,265,316,333,299,323,411,400,508,518,472,398,335,288,273,417,487,433,504,646,730,757,579,490,455,579,638,547,446,498,489,363,278,329,373,312,315,282,220,346,581,843,1060,1034,837,670,625,896,808,529,503,557,364,328,669,931,623,370,345,385,490,547,571,599,578,661,703,608,550,594,700,719,709,664,597,564,501,463,404,369,382,395,503,598,503,467,820,1160,1244,1190,687,668,606,646,610,696,850,722,668,669,658,666,599,833,799,740,893,722],[297,303,294,321,323,323,254,267,294,336,296,278,279,304,323,344,326,270,310,282,270,285,303,335,315,318,393,379,350,382,424,459,440,368,370,379,333,307,363,422,469,401,292,318,327,320,333,329,356,369,404,327,362,415,374,526,760,1020,1024,850,1182,1496,1400,1112,1318,1282,1388,1138,931,1096,1376,1056,1438,1412,661,731,577,807,660,924,1154,1230,1058,1054,925,988,1428,1752,1740,1468,1238,1094,1384,1590,1344,1374,1114,854,1016,1406,1418,975,507,869,976,979,1156,1368,1510,994,1114,1334,1248,1128,1156,1122,1236,1208,1492,1456,1096,1264,1172,1420,1676,1118,614,400,839,963,774,1172,1092,832,538,401,332,368,363,619,909,968,1024,826,621,1096,1428,1080,906,1102,912,971,903,1378,1318,1192,1134,830,498,384,882,1444,1060,1332,1396,633,423,410,393,343,388,424,316,334,648,1038,1074,1252,1044,946,1040,688,485,661,840,935,628,287,359,357,335,504,791,1066,808,866,720,716,950,1196,1252,1016,758,728,891,940,791,1019,855,831,803,630,437,489,622,628,516,395,375,497,728,691,671,904,1084,1228,1246,1142,901,929,805,698,926,738,1007,1048,655,759,729,986,1230,1692,2132,1512,996,1302,1126,1336,1390,1144,1190,1244,1288,1240,1196,1108,1098,1158,1142,1042,957,1060,849,922,751,1036,1166,1136,1260,1444,1382,1384,1408,1450,1318,1374,1166,1036,1042,969,996,1178,1396,1736,1826,1824,1450,1358,1766,1376,1564,1622,1566,1510,1572,1686,1572,1490,1480,1606,1342,1032,1050,1384,1516,1202,1466,1528,1672,1488,1410,1128,719,812,1174,967,561,514,438,564,1166,1370,1444,1272,946,1068,1194,1040,800,718,828,1026,1028,771,1202,1146,997,1232,1320,1388,1322,1104,969,974,1068,1060,799,923,1192,1172,1060,1007,739,892,1130,1106,1122,1013,1072,978,1120,1230,1290,1274,1266,1186,1118,1300,1444,1470,1374,1134,998,818,850,1024,830,1288,1140,1078,818,1112,1160,1228,1554,1694,1520,1230,917,489,676,669,985,1168,1226,1174,753,608,460,363,478,626,728,912,1082,1152,832,770,618,410,345,424,689,841,888,927,865,1074,926,814,1224,1194,933,1250,1198,1056,1122,852,778,749,797,865,503,832,914,944,795,1008,713,323,269,291,634,912,596,932,1000,596,375,343,361,342,317,318,581,722,536,309,207,250,322,378,282,290,319,603,877,991,1030,1034,1080,1068,971,1208,1290,1426,1212,1168,1304,1084,951,826,985,853,688,1086,1356,1242,963,1160,1400,1146,1258,1290,923,543,461,691,904,918,991,1062,1290,1340,1102,892,1234,1546,1258,723,588,554,502,504,319,273,348,594,847,1200,1122,1066,989,1210,1456,1390,1242,1346,1648,1656,1282,1210,1430,1154,873,1122,1302,824,521,867,1038,976,909,925,1160,1132,1128,637,631,1120,915,1216,1186,1054,1152,703,526,723,763,761,1023,1030,850,462,555,885,813,670,713,499,376,383,348,433,604,497,497,440,565,868,909,877,910,866,615,458,693,847,1007,833,890,1066,1670,1672,1378,1368,1232,1310,1250,906,707,568,303,368,342,290,255,248,268,785,1192,955,678,566,404,362,503,636,595,751,628,818,871,775,805,592,650,1034,1100,883,982,1112,1076,1156,1104,685,448,494,637,656,507,559,811,1005,565,433,645,974,1232,1284,1362,1310,1400,1516,1310,1028,707,996,1422,1168,1372,1466,1286,1278,1005,945,1250,1192,874,696,871,1012,789,515,571,823,921,977,873,922,1146,1334,1172,1140,1116,1002,1268,1316,1178,1206,1098,1114,1038,1100,1052,1190,1166,688,721,818,799,1136,1302,1246,1190,1286,1402,1366,1344,1074,833,1056,1334,1422,1466,1460,1332,1106,1330,1860,1594,1414,1126,781,587,540,780,891,689,994,1252,772,491,494,527,433,406,425,489,560,485,401,369,394,417,391,439,494,484,424,404,412,457,576,540,458,462,491,497,447,419,370,385,421,1208,1504,1462,1410,1340,1222,1264,1374,1174,649,484,641,758,800,789,852,882,670,571,670,673,654,594,596,639,859,1166,1544,1842,1474,1332,1118,893,1064,924,762,505,596,988,1362,1288,888,484,550,789,610,501,494,785,824,704,1636,2036,1368,776,691,847,887,727,746,807,622,534,792,1066,1114,1040,651,498,445,317,391,495,470,341,373,514,402,325,340,427,520,507,553,459,352,349,358,336,325,513,767,1064,1390,706,367,283,295,338,410,441,384,395,456,475,430,365,346,341,445,535,651,732,485,321,317,328,315,334,404,361,352,392,424,351,343,327,340,348,305,308,352,374,375,337,319,303,327,349,293,282,279,291,307,316,334,378,390,321,316,357,356,302,315,305,282,278,272,256,254,277,331,365,317,307,307,282,339,400,361,342,375,498,555,433,328,293,302,365,423,391,324,292,284,280,273,276,268,262,260,262,258,267,263,258,263,268,307,316,306,304,285,263,285,300,281,268,283,283,291,302,321,314,287,285,286,286,283,283,289,290,281,276,294,305,309,310,311,303,299,294,286,296,325,342,361,348,340,369,429,398,566,731,1086,1532,1528,1554,1094,580,740,736,814,926,1340,1280,1252,1538,1622,1428,1032,641,736,554,400,852,752,466,381,526,896,1005,670,491,640,767,944,1148,1340,1796,1580,977,694,790,662,352,380,735,883,566,451,372,354,449,462,435,489,600,567,468,568,758,803,499,426,595,883,1240,1254,1388,1250,730,487,427,332,330,416,529,598,584,885,1054,1294,1240,1248,1244,822,871,990,706,656,1136,1632,1460,645,899,1380,1448,1160,692,652,605,677,722,481,662,1220,1372,1222,1310,1076,698,566,571,675,1122,1210,1062,1134,1086,1126,1338,1730,1618,2154,1968,1370,1334,1356,1170,1208,1056,1252,1278,680,615,855,1084,1244,1152,822,583,492,498,564,751,898,1210,1772,1632,1094,1166,1150,974,899,1044,1120,975,567,352,355,331,328,325,386,430,454,361,336,338,315,316,328,344,370,379,363,354,370,444,609,651,530,447,438,377,373,467,619,769,723,471,436,409,578,727,543,411,421,431,409,436,560,808,993,1302,1476,1638,1466,1228,816,871,932,553,328,323,426,456,529,1098,1190,1144,873,848,434,330,302,293,331,348,345,342,350,341,409,521,553,433,415,370,404,398,648,808,772,868,1278,1198,798,624,818,1118,896,502,525,511,470,587,999,1184,869,703,962,907,667,563,486,503,579,633,748,948,941,1015,1348,1034,406,388,572,880,973,967,832,660,781,794,589,426,466,585,792,1250,1112,680,529,498,427,580,975,822,542,545,587,668,863,772,475,412,526,649,856,1116,1252,1246,1050,1270,1488,1148,1194,1462,1308,1050,775,835,600,580,1017,778,476,563,711,1036,1338,1360,1518,1252,1242,1488,1400,1042,761,540,378,370,401,444,408,328,304,346,451,511,556,684,897,1050,1226,1462,1166,744,561,680,788,473,764,988,975,1132,1228,1312,1260,915,720,675,519,493,616,842,847,1052,1184,1306,1154,1278,1152,1132,1010,604,370,373,389,467,519,513,526,640,441,580,804,852,1010,1174,1013,907,949,1160,1248,1178,1024,890,1078,887,554,852,1466,1444,1152,871,549,513,955,1446,1204,994,885,713,826,1078,1017,807,1116,1012,652,642,783,947,1206,1234,1070,1040,1130,744,495,548,582,616,547,978,1356,1258,1368,1034,754,536,507,543,761,977,960,1011,759,538,1016,1424,1384,1080,870,816,722,779,730,832,791,798,841,1120,1432,1578,1534,1472,1284,1040,790,654,731,762,766,957,1128,741,794,1544,1650,1318,1013,1484,1094,800,1084,1300,1360,1134,1023,1028,631,451,674,1246,1356,1482,1552,1626,1390,1044,804,691,452,397,345,328,361,383,505,543,499,500,397,545,608,485,401,365,365,502,618,924,839,421,486,749,787,609,520,509,714,1096,1056,871,849,909,613,490,445,424,387,479,509,777,1346,1738,1436,1562,1714,1416,1015,977,1044,1382,1194,1070,985,1058,1246,1534,1526,966,513,360,379,388,433,357,409,636,577,483,446,571,733,524,357,274,271,339,345,328,272,223,284,579,830,747,397,367,325,462,566,540,650,603,448,390,356,308,290,392,588,570,403,415,454,522,695,851,777,730,916,846,605,495,435,342,310,357,379,409,382,313,326,548,769,1324,1998,1482,830,807,525,710,772,442,330,386,360,319,598,880,799,647,432,488,640,745,784,715,695,738,709,657,650,687,758,777,747,643,645,664,576,554,626,634,634,720,846,781,537,544,1048,1268,1326,1270,736,655,571,520,486,602,696,655,678,639,670,695,661,844,671,791,943,792],[284,243,257,279,276,300,277,290,313,341,328,302,298,336,374,402,413,369,332,301,256,244,241,278,272,297,383,399,399,457,529,583,482,358,352,370,400,473,588,584,683,555,325,332,332,384,417,375,352,360,405,357,397,468,455,409,656,1042,952,825,1136,1282,1298,776,1134,1340,1142,966,871,798,866,1448,1880,1196,864,999,740,565,767,974,1100,1202,1214,1284,1250,1108,1424,1544,1394,1472,1666,1616,1482,1432,1284,924,522,434,767,1172,1244,1124,580,544,748,1280,1256,1322,1544,1122,1216,1406,1028,1024,1280,1082,1230,1318,1908,1306,887,1626,1958,1806,1210,851,841,637,848,871,610,822,717,394,325,332,328,376,655,1076,1122,1082,1154,752,587,881,1122,1410,882,921,1100,1088,941,1130,1112,948,838,612,477,532,1068,1422,1404,1504,883,443,387,365,352,369,415,387,261,269,570,955,1198,1498,966,762,967,850,781,881,980,695,477,418,416,446,586,980,934,1028,1240,1162,673,550,1102,1376,1130,882,973,1150,882,691,1088,1232,764,669,724,565,555,652,643,571,495,453,444,680,784,767,913,1084,1092,1108,999,824,751,731,586,518,571,732,915,841,615,967,1190,1034,1236,1472,1526,1450,769,713,1050,1132,1210,1078,1122,1190,1390,1302,1120,1190,1194,854,835,914,997,1154,898,682,655,800,967,1032,1080,1050,1210,1292,1428,1366,1532,1576,1438,1240,957,688,850,1348,1604,1372,1288,1184,950,1002,1154,1232,1300,1216,1222,1028,1148,1376,1510,1716,1812,1820,1638,1622,1542,1584,1532,1406,1366,1348,1556,1598,1476,1250,1112,1172,1152,796,611,628,562,580,1032,1422,1320,988,842,1034,1256,1268,1178,1164,1076,1106,1152,828,898,962,1126,1340,1286,1566,1718,1218,1068,955,1068,910,1010,964,1009,1302,1660,1430,1054,1422,1384,1172,1568,1438,1314,1036,756,580,844,1096,1444,1368,1020,1048,1064,854,932,1052,852,651,636,965,1060,1238,1272,1190,945,1200,1360,1302,1340,1508,1526,1454,1172,1008,1028,973,1392,1058,844,730,439,515,565,653,473,466,1078,929,990,1004,945,853,677,582,556,653,800,816,885,948,1350,1222,1050,1404,1300,681,693,1188,1056,1010,949,659,787,609,1032,1182,984,854,658,669,845,1016,830,484,335,328,397,374,321,474,451,354,302,340,339,318,355,583,772,523,312,208,205,237,339,316,260,393,637,904,927,849,952,979,957,1068,826,1074,1098,1276,977,1102,1446,1152,786,957,1001,844,755,706,1280,1250,717,813,1114,1044,1142,1132,834,689,520,698,965,932,846,944,1070,1148,1030,855,1168,1436,982,709,810,651,912,976,621,369,726,1148,1350,1328,1128,1174,1116,1188,1334,1208,1318,1434,1422,1384,1322,1088,1282,1080,1178,1230,1178,967,913,1270,1174,1060,1258,1394,1648,1522,1015,612,573,717,915,1292,1284,1554,1578,867,558,718,980,875,694,547,549,802,837,757,783,908,548,285,330,315,440,990,1186,886,805,809,670,1013,1148,916,984,1078,809,669,718,1272,1402,951,834,991,1332,1624,1828,1704,1456,1404,1178,907,843,678,386,354,292,271,380,479,455,552,762,766,368,312,321,358,614,717,867,1078,1068,1068,918,924,905,590,620,1068,1007,702,1130,1264,1312,1224,1266,821,469,572,684,661,585,551,437,394,380,395,331,542,772,1036,1252,1388,1568,1394,1326,1216,1066,898,1184,1224,996,963,1094,1214,863,892,1132,820,552,622,1206,1104,731,735,662,793,1038,1084,1002,1072,1172,946,609,891,1170,1034,1394,1134,927,889,1104,1198,1240,1198,1126,1358,1410,1224,946,879,799,807,1242,1062,989,1124,1306,1678,1842,1312,1086,1306,1356,1210,1290,1416,1424,1220,1292,1374,1412,1592,1592,1294,1018,977,998,769,703,1910,1606,1060,662,619,565,450,484,444,483,485,492,452,433,448,423,379,377,466,523,469,387,407,449,454,467,454,443,422,462,419,421,375,416,425,700,1182,1406,1158,1030,1290,1518,1088,585,458,468,497,637,739,797,954,1034,907,601,548,658,708,764,856,976,1228,1442,1588,1782,1772,1604,1294,1082,1164,1013,905,573,426,495,912,1158,915,675,735,615,521,590,441,448,546,1166,1688,1616,1262,833,719,753,763,885,1148,998,588,564,835,1216,1240,1152,583,466,570,490,369,384,517,529,426,522,466,403,322,345,430,527,550,419,338,332,335,325,320,302,316,500,879,471,270,276,309,358,417,424,412,429,471,480,398,372,396,388,503,609,800,682,377,317,317,313,331,326,394,362,328,409,459,391,351,321,297,315,319,307,304,345,384,331,310,314,336,341,311,269,260,277,307,374,392,364,347,310,297,343,366,333,317,298,270,263,266,246,259,272,296,407,363,313,278,262,392,481,417,421,478,540,433,345,301,295,307,310,310,299,276,265,278,295,288,282,272,262,267,272,262,280,271,252,257,268,293,300,292,286,284,280,268,275,262,260,269,276,285,280,290,298,287,285,286,285,280,282,294,310,304,303,307,319,331,310,300,302,302,298,310,323,321,325,362,378,357,349,430,417,474,844,1422,1532,1562,1276,595,421,583,514,563,1098,1440,1492,1348,1180,1294,1406,1372,815,673,573,540,1116,1016,471,371,494,607,597,552,628,947,888,810,1314,1682,1428,1188,1182,932,938,830,494,515,964,953,622,480,337,345,452,505,555,506,483,503,602,695,499,499,330,457,763,1186,1188,1084,1326,1144,609,417,340,275,322,375,497,502,373,433,786,999,1154,1216,1222,1066,1017,1344,1178,1154,1512,1980,1626,665,857,978,965,695,487,666,686,735,689,708,535,720,1040,1048,1090,1184,1196,1076,1038,850,829,944,1002,1188,1068,834,1009,1614,1562,1852,1284,837,1022,1174,1120,1002,909,1198,1068,625,581,918,1136,1106,907,938,792,816,1024,894,919,1104,1276,1512,1488,1390,1260,1172,1298,1558,1606,1454,1070,624,435,346,357,332,334,427,468,520,426,361,350,316,291,331,363,383,383,375,370,411,410,510,449,326,390,421,394,452,649,792,838,752,479,433,438,480,701,562,422,430,413,382,443,544,709,684,1040,1450,1302,959,731,786,1080,919,480,468,401,405,418,586,1164,964,605,809,769,428,354,330,333,349,350,323,330,387,347,407,443,545,605,516,387,379,334,423,898,1160,1088,1116,1212,1064,691,1019,1406,1058,652,700,904,894,1076,1486,1302,1050,912,1070,962,545,968,1096,803,824,1030,1156,1230,1160,905,1264,897,390,374,404,511,519,500,810,866,777,706,645,616,594,606,707,729,672,586,618,619,512,544,659,632,544,512,498,506,744,519,469,642,948,1218,1428,1434,1184,937,919,1256,1556,1196,1084,1260,1284,1023,831,754,926,1390,1316,926,639,620,558,678,1114,1448,1682,1332,1284,1432,1296,1146,1142,882,576,400,415,447,412,400,392,382,378,408,506,619,904,1216,1474,1440,1256,893,547,584,604,516,543,1009,965,1112,1460,1522,1212,922,1030,824,489,579,861,764,817,1062,1288,1368,1406,1390,1186,1042,877,715,468,367,341,329,1162,891,585,701,763,1058,1324,1368,1758,717,750,753,691,993,882,1248,1480,1176,973,752,810,1184,1258,1228,1294,1254,1208,665,929,1290,1300,1004,498,545,879,1138,927,741,753,839,710,818,922,897,929,999,984,1308,1274,700,487,493,727,852,485,658,1138,1166,1376,1264,715,363,344,375,415,335,475,755,716,788,1194,1742,1450,948,838,660,742,757,774,786,745,881,895,699,800,1114,1408,1556,1542,1484,1278,1054,902,800,677,744,884,927,979,1422,1820,1684,1032,1254,1122,993,1096,1058,1082,1060,719,512,409,381,527,976,1316,1498,1570,1562,1580,1328,1100,884,533,486,371,345,364,440,619,684,582,553,607,708,672,483,438,395,389,372,316,386,534,539,523,641,623,532,481,473,697,1124,1012,758,640,481,539,571,663,674,602,737,772,945,1522,1764,1236,1470,1272,1078,984,1142,1562,1656,1480,1316,1150,1186,1216,1266,1000,684,562,480,409,331,344,399,511,684,619,408,340,422,399,465,379,330,335,443,493,400,270,262,339,521,1086,1354,521,356,367,464,562,604,594,589,511,473,467,367,416,701,1086,945,553,449,386,377,567,978,984,794,1010,855,766,465,519,405,378,407,417,528,628,606,598,702,829,1472,2252,1576,847,865,544,678,825,685,438,321,354,345,519,877,875,758,491,626,783,866,901,869,866,903,838,741,691,731,846,865,790,691,677,637,594,627,816,870,809,893,820,551,518,687,1040,1110,1076,1222,750,508,590,539,507,547,558,664,738,697,636,738,859,944,670,783,866,659],[289,245,268,293,325,330,378,358,319,351,343,304,284,354,409,446,460,449,355,256,248,278,268,265,290,363,423,462,493,496,526,498,383,373,377,568,760,959,1154,1116,1188,758,494,396,373,433,439,438,408,409,434,453,459,446,437,374,543,862,918,1005,1422,1602,1992,1364,1370,1564,1270,1234,976,757,723,733,655,927,806,763,738,584,767,919,928,1124,1162,1176,1132,1152,1304,1094,1058,1262,1334,1094,1084,1156,961,678,510,394,530,884,944,926,785,940,1214,1526,1730,1800,1278,697,968,1088,788,1088,1288,1274,1300,1094,1360,1158,777,1614,2126,1514,1074,1005,1130,1114,1048,750,444,476,399,410,400,393,410,518,948,1658,1628,1266,1138,938,810,628,934,1340,1054,1048,1280,1170,903,1010,867,937,1084,925,597,572,1136,1358,1212,910,678,550,491,426,376,387,405,359,258,573,552,471,722,1252,891,853,1021,806,734,866,811,568,452,552,678,717,1013,1482,1154,771,898,1100,749,694,1128,1310,1078,1100,1122,974,995,1062,1072,717,550,599,597,572,708,672,575,473,405,492,527,612,671,619,774,861,695,804,750,787,1022,754,565,427,452,734,754,565,475,867,1282,1020,1046,1084,913,900,966,1110,1152,1152,896,811,1304,1406,1232,1294,1124,879,992,882,1148,973,888,1362,1182,727,923,1170,987,761,876,915,1324,1064,1246,1220,1100,1038,1302,1298,913,843,1060,1274,1404,1172,1362,1011,1266,1470,1112,1478,1444,1290,1238,1108,1192,1148,1212,1408,1648,1716,1848,1794,1764,1766,1678,1478,1372,1670,1870,1810,1670,1560,1538,1284,1120,680,631,871,850,1046,1210,1220,1428,1572,863,1156,1272,1142,982,1046,1158,1094,1106,1120,1212,1232,1206,1180,1456,1746,1842,1416,1230,1158,1460,1262,997,1062,1196,1204,1412,1021,706,987,1148,1090,1332,1298,1023,701,432,384,717,1120,1374,1098,810,706,835,703,889,1052,870,776,589,735,1048,1058,1136,1194,1100,1210,1500,1472,1456,1436,1456,1570,1296,1298,1286,1250,1362,1220,1024,850,865,897,658,665,493,597,998,896,1114,1182,1017,1032,957,751,583,680,724,894,938,861,1009,954,1218,1440,936,489,789,1294,1256,1352,1108,742,850,1186,1238,1198,1116,828,597,526,717,1054,1018,714,545,379,272,219,247,237,333,347,289,300,259,249,522,932,650,294,230,221,242,277,367,372,413,595,836,939,775,658,963,1005,763,946,931,1032,987,908,982,1026,1062,885,553,697,941,980,1236,973,786,759,679,977,965,866,1180,1100,770,713,722,690,711,810,1006,1284,1200,1288,1100,1142,1754,1682,827,899,874,803,1088,1016,878,460,805,1070,1508,1332,991,1050,1058,1234,1192,885,976,1266,1366,1332,1198,1188,1272,1282,1328,1034,949,912,1234,1440,1478,1576,1592,1626,1666,1570,936,659,818,896,1146,1142,1138,1338,1234,1030,828,1210,1294,927,784,845,774,689,877,828,520,667,390,281,269,258,374,900,1236,1232,1136,962,1028,1302,1190,728,762,1042,967,726,477,855,1208,782,833,1174,1062,1156,1584,1900,1574,1208,1062,1070,937,564,405,354,328,514,878,873,558,462,705,660,374,339,330,358,490,594,700,807,1008,1036,901,875,846,627,560,780,1088,1064,1130,1010,1019,1294,1212,702,555,616,582,620,611,591,401,406,468,385,615,904,901,967,1124,1320,1418,1494,1412,1376,939,827,954,1250,786,593,976,1074,760,1074,883,604,810,873,1192,1086,958,1086,1064,1094,1166,1396,1580,1350,1506,1396,827,1182,1034,989,1078,1338,1378,1334,1300,1220,1130,1326,1488,1366,1214,1308,1194,956,833,850,1252,1174,1007,1280,1454,1710,1782,1254,998,1048,965,1014,1364,1366,1224,1128,1140,1162,1272,1396,1056,976,1106,908,763,824,1188,1714,1146,952,841,759,572,487,502,445,470,392,425,463,519,523,463,414,388,432,578,631,434,387,407,397,399,422,425,395,350,343,391,389,431,419,483,838,1218,1076,1422,1512,1064,535,419,466,448,424,503,691,861,1010,1122,1254,819,626,705,724,646,861,1286,1488,1448,1462,1570,1662,1498,1044,767,1036,989,703,497,561,569,895,1190,1244,1154,711,451,480,647,631,602,870,1168,1058,896,774,727,579,566,658,836,1152,984,595,512,741,1288,1714,1370,689,567,647,598,586,738,803,691,509,565,524,432,376,393,604,965,677,437,327,337,419,343,305,258,224,353,510,313,216,241,307,355,380,383,486,463,459,469,523,525,469,422,475,655,731,517,357,322,306,307,312,323,393,320,278,362,420,392,331,319,307,320,312,319,315,321,375,327,307,327,342,345,299,275,266,266,286,409,380,311,339,312,286,279,278,296,288,275,258,268,271,267,294,288,278,392,382,323,330,368,521,625,560,548,491,426,342,327,293,286,270,284,308,288,267,269,303,317,287,281,275,276,278,284,262,256,248,245,244,251,283,283,289,283,271,263,247,257,247,251,270,276,280,275,277,289,289,286,286,285,288,289,290,299,303,313,297,283,313,295,292,286,310,333,356,321,327,332,355,366,353,363,398,430,697,1312,1566,1490,1440,780,421,394,418,495,1082,1714,1676,1594,1422,1372,1416,1334,1420,1074,837,645,459,583,448,261,360,437,619,869,960,1064,1400,1012,747,1132,1314,1034,987,1088,1196,1054,926,901,667,923,694,437,376,322,332,405,483,510,411,359,497,664,755,540,441,440,811,1956,1542,691,749,858,722,473,357,306,334,312,400,468,463,447,424,819,1108,1168,1052,1128,1046,968,1458,1362,1382,1090,1078,723,450,697,711,664,778,963,807,477,688,600,656,494,526,910,1402,1034,807,969,819,980,947,802,1266,1534,1134,777,805,905,1296,1490,1342,1084,1396,1670,1470,1024,940,1152,1148,954,583,822,1132,1166,1172,1092,1023,999,1122,1186,1230,1378,1372,1330,1394,1574,1534,1558,1750,1904,1810,1446,1024,806,697,630,516,407,337,322,392,395,400,426,399,347,343,291,324,387,400,370,375,369,428,393,427,392,324,348,339,357,422,531,571,580,509,414,453,478,495,511,455,401,419,363,349,356,366,594,756,976,1158,992,669,544,741,1007,1002,857,952,929,694,469,487,723,702,424,764,785,421,436,394,338,341,364,325,364,478,429,435,390,565,689,542,422,408,471,539,996,1306,1162,1164,1866,2136,1448,1354,1334,1032,767,895,1320,1164,1246,1452,954,948,827,785,800,621,1062,1148,955,1130,1368,1238,1100,1198,819,1106,822,576,478,445,448,456,569,648,656,802,981,1108,1080,727,489,522,496,511,764,923,731,518,444,572,777,508,422,417,491,763,761,905,1224,1354,1262,1296,1326,1005,1106,1382,1312,1576,1098,1013,1182,1264,1130,816,725,1400,1532,2004,2808,1500,804,563,935,1038,1432,1636,1416,1330,1272,1092,1120,1222,1158,628,418,404,408,393,408,388,390,417,446,731,1134,1156,1232,1346,1382,1582,1038,515,559,912,1068,1042,990,846,920,1236,1444,1118,847,1050,707,493,727,853,694,913,1132,1172,1310,1428,1396,1278,1166,811,491,371,407,352,320,438,608,555,646,1000,1650,1720,1288,1854,1178,1140,892,807,1050,923,1118,1610,1316,800,767,854,1108,1144,1198,1196,1292,1242,965,846,896,1108,988,650,560,861,1004,803,636,620,826,709,925,874,834,1036,1122,1196,1250,866,513,466,560,835,678,440,638,975,1160,1212,854,544,445,364,359,372,326,336,392,623,1062,1460,1578,996,888,845,534,579,675,894,1116,882,879,879,775,741,723,824,1074,1396,1520,1560,1506,1410,1202,979,771,787,667,777,800,1184,1052,871,963,950,1084,1158,1278,1060,1116,814,523,461,498,645,990,1322,1498,1548,1570,1504,1246,1206,1204,1120,811,506,402,368,592,908,933,776,576,533,717,719,529,761,789,764,627,444,342,640,682,609,651,525,544,513,447,528,1030,868,553,406,329,356,410,518,593,990,1366,1422,1640,1608,1550,1296,1494,1514,1116,943,1284,1512,1050,896,890,998,935,808,912,711,631,584,650,569,455,535,800,811,711,740,496,325,369,519,763,455,289,390,606,618,397,390,403,437,387,505,790,646,438,300,318,521,570,497,519,527,630,626,657,942,1176,1368,1246,760,465,404,381,394,559,579,622,1142,1012,756,691,619,477,487,517,538,605,704,699,642,656,791,924,993,987,902,933,691,586,697,675,474,422,442,345,462,653,591,505,511,679,860,962,962,933,965,993,893,836,797,838,1001,933,842,912,807,648,597,686,820,805,816,823,569,503,786,962,1050,1032,1026,1214,874,495,650,645,567,577,646,581,623,636,672,854,1056,1023,809,751,753,616],[315,286,275,288,273,285,359,390,380,370,353,297,275,340,447,518,512,484,458,378,311,287,300,274,357,421,431,457,445,423,444,480,463,496,522,790,1340,1314,1154,993,785,700,684,440,354,398,403,394,367,356,379,417,480,461,387,396,387,661,1112,1252,1290,1252,1318,1306,1450,1636,1548,1582,1246,815,456,357,373,610,561,686,756,614,821,1066,1078,1052,906,1018,797,1158,1094,1024,1260,1464,1418,1338,1396,1270,1054,656,463,478,635,1048,977,1054,1074,990,801,1372,1786,1560,921,796,800,915,999,1206,1236,1366,1246,946,1182,1406,999,1076,1404,1282,1468,1876,1414,1182,1266,805,418,529,636,476,398,433,636,857,925,1666,1700,1340,1364,1486,1122,805,994,1158,1376,1530,1418,1238,1054,971,1042,1064,1088,1246,964,1158,1338,1054,775,727,712,631,601,540,447,397,390,361,339,1070,1194,878,744,800,976,1310,965,935,580,688,960,881,543,552,822,738,775,1182,1302,876,880,1098,933,910,846,1004,1034,1148,974,935,1036,1062,811,766,818,622,565,675,689,593,469,403,354,362,437,548,553,374,373,426,444,427,516,1019,1304,871,515,478,566,658,767,760,509,647,1242,1128,1096,1334,992,884,1166,1326,1224,1378,1088,1036,1572,1524,1186,1270,1154,865,1017,1286,1048,694,594,729,778,865,1134,1622,1472,1032,991,899,1162,1076,1146,1190,813,1046,1388,1054,612,1030,1528,1310,1046,1082,1396,1040,1076,1332,1190,1128,1272,1460,1300,1164,1100,1144,1252,1440,1614,1550,1820,1838,1698,1610,1694,1614,1544,1700,1890,1888,1802,1678,1534,1186,1170,834,842,990,1300,1412,1190,1126,1332,1672,1014,1094,1422,1298,1032,1214,1194,1304,1460,1330,1242,1264,1116,1210,1366,1278,1262,1386,1140,1005,1330,1310,1116,1248,1118,1102,1108,778,794,688,739,879,984,1044,705,485,416,336,563,907,1036,1068,996,901,1232,972,872,1128,993,633,636,891,1104,1230,1164,991,991,987,1704,1584,1442,1152,1204,1346,1182,1244,1382,1382,1512,1198,978,922,1130,959,561,380,393,715,988,938,1034,1134,1026,1011,915,672,412,489,691,860,816,851,987,1018,1182,1242,1014,824,973,1116,1206,1488,1310,877,657,1218,1350,1152,1086,928,894,862,726,1070,930,949,701,432,325,301,293,314,346,297,278,294,316,481,954,858,416,302,262,235,242,319,364,489,730,736,802,813,929,796,799,783,688,734,825,906,813,1124,1326,962,650,704,824,639,745,694,993,1340,1144,615,531,613,570,904,1016,979,1050,1174,974,637,480,617,1062,1492,1400,1230,1216,1360,1318,1104,1152,1078,601,586,1044,1136,888,633,659,658,741,906,1028,891,1004,991,1302,1011,807,968,1284,1192,1180,1294,1108,1286,1338,1094,1130,1098,973,913,996,1160,1520,1554,1472,1378,980,908,1102,1150,1388,1398,1256,1118,921,694,848,1242,1288,1072,974,957,695,604,948,623,297,332,339,330,321,354,314,613,932,1120,1078,871,998,1216,1340,935,628,883,1108,886,543,495,520,547,810,738,644,1062,1214,1616,1738,1302,1190,1290,1066,724,606,620,444,486,755,786,653,505,567,863,556,383,356,368,393,410,481,496,433,530,636,503,560,808,710,713,1042,1218,1116,816,937,1214,726,433,554,581,512,558,577,492,437,774,777,692,992,1114,1156,1056,1274,1188,1342,1560,1228,1182,1192,1418,1482,1426,1218,969,1023,914,449,755,938,724,785,1050,1238,1274,1138,1170,1196,1180,1222,1362,1434,1238,1464,1484,1146,1318,831,825,1084,1472,1496,1660,1810,1244,1170,1406,1294,1254,1060,1002,1144,1216,1090,871,1060,1208,1006,1054,1082,1252,1410,1082,871,802,663,1188,1418,1368,1354,1272,1100,1068,901,871,801,1054,1015,781,898,867,1338,1362,1196,1056,1028,944,719,576,574,505,586,474,373,394,477,491,446,402,387,384,455,457,333,384,377,442,427,432,434,432,348,315,341,367,409,397,493,496,690,1238,1402,874,463,406,444,436,445,458,440,477,683,840,937,1070,885,760,717,638,802,1306,1626,1632,1452,1520,1584,1828,1666,1164,1020,1092,1192,1116,787,657,917,1186,1328,1388,915,508,529,651,941,1140,1232,1128,987,1384,1374,1198,1354,979,532,566,1013,1228,1206,987,800,932,1554,1788,1182,612,772,901,937,954,805,1038,746,507,645,811,654,618,596,875,1434,584,434,361,326,345,481,367,299,321,499,502,258,272,298,369,367,360,583,714,531,451,417,469,506,475,412,352,375,396,331,331,322,303,296,308,316,351,337,324,332,367,398,366,334,320,309,301,314,298,287,319,315,307,301,348,342,281,273,259,267,266,350,295,285,319,304,300,282,299,307,290,279,260,278,271,267,270,280,294,341,350,395,508,533,575,582,508,394,296,293,319,332,313,282,259,270,285,281,275,267,272,272,253,276,290,295,289,290,279,254,241,248,246,253,290,283,286,301,274,266,252,257,259,261,271,285,280,278,286,290,303,315,318,311,306,318,304,292,295,303,303,285,305,305,332,303,354,434,423,358,347,315,319,327,346,399,445,606,1200,1592,1556,1506,986,498,411,388,373,479,1170,2032,1700,1366,1458,1486,1498,1086,1096,1290,1094,639,419,432,381,336,464,461,584,1000,1160,1346,1336,777,656,1236,1246,976,1044,993,1023,736,667,935,789,1009,878,508,433,495,451,417,494,603,579,642,470,417,475,836,769,654,1612,2570,1212,521,505,492,416,308,300,315,325,270,348,406,377,405,452,593,828,997,1154,1366,949,816,1236,1384,1350,1122,788,593,565,415,427,461,591,914,655,402,529,449,500,558,621,785,1322,1208,844,841,865,742,589,662,911,701,442,494,853,860,994,1470,1566,1646,2026,2096,2020,1470,1318,1366,1266,993,672,1001,1090,1008,1108,1176,1154,1240,1294,1346,1414,1254,1194,1260,1294,1372,1462,1598,1576,1606,1884,1612,893,745,844,782,714,585,407,314,340,334,339,393,444,422,354,321,315,399,418,381,377,369,394,364,330,337,340,380,352,346,388,405,421,427,449,472,512,505,511,565,586,444,436,430,377,354,399,411,517,791,926,886,697,653,822,894,726,1026,1286,1066,1172,994,667,657,631,477,747,850,531,505,468,390,361,366,373,441,486,471,437,418,539,493,414,406,490,521,500,716,1164,965,821,1450,1476,1158,1024,1000,1086,944,1106,1378,921,713,900,1282,886,560,777,990,1026,1034,1106,1136,1230,1446,1104,888,1044,767,990,769,498,672,747,584,755,711,835,1106,1572,1204,869,727,576,531,448,476,680,894,940,740,537,423,463,584,618,655,830,1064,1312,1384,1278,1110,1046,1130,1250,1478,1132,985,1190,1018,1346,1104,1112,1270,1224,1252,1492,1954,2258,1328,1518,1598,1260,743,836,1084,742,967,1350,1324,1010,583,636,1078,1384,810,409,410,412,395,386,421,434,407,401,516,846,1132,924,1160,1262,1332,1200,700,478,881,1314,1300,1234,1188,1138,1220,1288,1368,1444,1312,1104,697,747,1052,781,570,933,1172,1152,1238,1390,1424,1228,1106,888,616,441,530,623,602,411,460,460,642,1028,1076,1036,871,827,871,785,901,827,755,712,882,1005,919,1332,1560,1466,1086,1426,1372,1222,948,824,800,1152,1412,1011,876,931,775,779,610,780,940,734,821,813,995,984,911,965,976,1024,845,571,467,374,474,529,357,321,742,1188,1236,836,803,732,397,355,377,405,461,373,378,858,1578,1602,1100,710,624,556,406,398,475,968,1230,1080,1106,992,849,728,779,699,710,724,1036,1258,1504,1550,1564,1416,1244,970,729,664,600,732,781,1015,1098,1164,1104,941,1006,872,1206,1194,728,596,642,581,774,1138,1374,1482,1516,1466,1294,1140,1368,1366,1104,932,879,798,708,615,611,669,559,383,440,748,777,1036,1184,1190,1100,843,756,1186,1084,833,761,524,453,473,433,337,441,485,558,532,503,444,393,372,426,874,1308,1594,1726,1384,1328,1328,1322,1268,1064,952,1404,1474,1670,1956,1720,1716,1272,948,959,946,1148,1180,841,643,689,757,890,632,534,567,395,279,285,477,553,345,235,281,471,526,507,468,448,432,380,574,930,662,367,306,299,396,460,477,460,471,616,792,850,824,1011,1042,906,754,597,451,377,360,442,474,505,668,888,814,716,543,461,511,571,537,474,451,433,445,482,467,518,661,658,603,622,580,615,806,790,396,416,641,433,467,527,459,488,660,741,882,977,952,944,1003,1056,1018,948,875,892,1062,986,985,1058,883,742,652,832,794,783,733,565,437,611,1001,1170,1160,1102,1002,1152,1020,500,622,684,603,719,749,629,631,666,766,1016,1090,965,854,575,708,728],[307,315,304,323,305,287,295,330,341,333,397,407,380,397,461,494,417,352,365,361,345,327,307,259,348,444,407,432,431,408,367,361,554,828,783,945,1804,1332,762,746,769,724,715,457,290,345,368,358,334,341,390,390,433,428,407,415,388,544,818,1064,1007,603,670,1010,1106,1474,1158,1154,1290,1084,762,548,414,482,562,762,996,1010,950,1146,1484,1282,932,875,759,801,847,933,1156,1396,1246,1168,1470,1296,1154,774,1478,1248,938,1202,1266,1164,1124,1050,837,882,785,1218,1015,1096,999,1128,1180,1108,1020,1058,1316,1384,1236,1524,1244,907,1178,1422,1444,1756,1426,1428,1428,778,377,839,1078,581,535,639,816,952,1150,1138,1232,1354,1578,1716,1438,1250,1350,1410,1584,1830,1588,1330,1400,1432,1380,1376,1462,1634,1578,1302,832,642,686,752,677,628,671,645,599,490,388,359,409,786,983,882,844,1030,1164,1386,1090,1096,680,526,1064,993,678,573,642,911,938,803,1084,1072,1516,1216,995,986,1076,1444,1332,1456,2046,1476,731,707,543,695,546,460,561,699,747,753,669,586,590,527,352,393,376,348,335,357,389,404,703,939,939,678,586,615,616,794,951,809,514,639,1038,1202,1218,1060,1138,1354,1410,1248,1144,1296,1204,1150,1058,1104,841,966,1180,1001,1034,1134,897,653,572,671,1100,1152,962,1192,1102,982,783,799,977,1078,1186,1110,1158,1300,1330,1180,689,673,1116,1134,766,960,935,723,858,1192,1028,813,1168,1156,1112,1120,1180,1138,1182,1242,1274,1638,2620,2332,1178,1036,1322,1354,1614,1614,1704,1780,1706,1476,1496,1576,1426,1176,1096,1220,1616,1474,1178,1120,1004,956,1021,1384,1504,1572,1304,1056,1278,1600,1782,1662,1214,1202,1316,1256,1206,1126,1216,1422,1036,972,1390,1388,1430,1358,1202,1282,1036,986,883,1001,1090,1006,1332,1542,891,402,381,388,548,881,1021,1262,1174,1516,1500,1050,738,1084,1172,839,745,734,1092,1132,841,562,613,1086,1576,1544,1482,1320,1202,1182,1302,1478,1352,1406,1198,930,984,860,1003,810,711,603,558,833,979,857,803,1088,1202,954,687,483,348,599,745,769,766,846,966,1200,1150,1010,871,691,760,911,1007,843,1122,1090,678,848,811,709,899,803,898,1230,998,993,928,825,557,444,401,377,397,437,469,349,265,337,501,929,932,502,328,284,248,223,218,337,639,682,533,631,852,948,921,611,458,637,692,777,1228,1188,833,512,455,438,502,835,938,736,797,603,549,877,817,567,410,570,655,655,650,1086,1328,1126,940,641,544,573,884,1448,1506,1138,1142,1042,966,1092,1530,1188,882,915,1066,962,865,742,579,542,735,1206,1472,1300,1166,1026,1282,893,555,711,972,982,1146,1222,1160,1282,1224,784,884,998,998,1154,940,1162,1362,1124,917,1054,1176,1196,1230,969,988,892,1094,990,598,458,765,885,709,634,749,661,593,899,1302,794,483,452,839,698,504,450,456,620,757,849,735,651,933,1268,1456,1182,653,753,1090,855,513,490,482,587,531,348,421,878,848,1134,1484,1710,1626,1364,1266,1266,1228,1046,548,593,1022,808,820,821,858,1070,865,595,432,429,422,462,539,560,556,556,594,548,631,985,1140,1100,1216,1332,1140,948,952,823,444,435,547,541,574,605,509,491,997,1422,1202,1176,1194,1200,1394,1300,1412,1340,1380,1270,1220,1108,1776,1946,1324,1306,1174,1172,1322,1009,815,803,1062,1264,885,1016,1216,1334,1442,1092,1252,1932,1552,1021,843,866,954,978,1110,978,834,861,1296,1562,1450,2126,3100,1278,1080,1336,1310,1310,1054,1192,1208,1202,1268,1036,1130,1238,755,659,1003,1180,1218,1086,1118,1046,1036,1214,1256,1272,1288,1460,1100,1054,796,799,991,1122,905,945,1098,1192,1176,1114,1042,1016,1011,1004,1007,1182,740,501,548,452,372,386,425,427,387,401,387,388,408,368,347,460,432,432,425,399,402,408,391,383,325,381,417,310,346,372,431,772,631,406,435,448,455,457,398,425,414,406,598,700,803,897,780,617,625,901,1504,1848,1722,1632,1496,1330,1430,1610,1688,1148,927,1104,1240,978,579,750,1248,1108,1012,1230,689,495,577,787,1074,1214,1242,957,745,899,945,987,1246,1158,672,642,1098,1256,1424,1284,969,1036,1070,805,698,508,937,1100,1032,912,735,807,659,552,623,816,875,891,754,565,590,466,465,592,634,653,681,422,343,454,711,596,343,307,338,380,380,478,795,837,577,457,438,372,374,439,421,379,405,341,322,327,324,332,341,341,358,387,343,332,311,332,413,411,346,322,309,321,305,284,290,297,323,336,317,332,332,286,262,249,244,236,253,267,302,310,321,315,290,307,315,317,310,293,286,270,267,279,295,307,357,491,633,536,401,372,355,322,290,282,305,313,311,293,269,262,264,278,289,274,267,263,268,275,295,301,284,276,273,260,265,275,263,262,265,295,289,284,256,262,276,263,264,274,275,270,295,285,287,297,315,323,313,318,308,311,320,308,290,300,309,310,300,291,302,324,376,530,610,478,385,339,303,303,310,339,404,593,1070,1554,1494,1506,1108,561,445,396,365,378,448,807,1384,1340,1356,1596,1484,1510,1007,941,1366,1328,795,510,544,426,421,407,426,774,968,1278,1456,1376,943,769,1200,1070,644,1040,1140,745,450,463,689,861,1476,1384,606,532,652,550,385,445,819,964,797,559,455,363,665,883,677,1490,1638,714,493,515,444,346,234,262,254,267,273,327,348,321,351,331,358,478,641,999,960,748,766,724,854,1220,1254,689,527,530,468,396,565,556,899,769,657,638,578,879,876,799,1018,1172,1050,924,688,813,605,702,757,868,609,454,611,877,1130,1416,1458,1646,1806,2260,2254,2088,1462,1084,1218,1252,924,877,980,922,1108,1194,1360,1190,1114,1172,1212,1280,1302,1300,1358,1456,1542,1330,1160,1144,1346,1616,1298,677,650,836,855,750,544,352,314,324,339,352,344,408,493,389,353,358,410,402,383,389,375,372,371,343,365,359,384,341,319,384,416,394,388,400,467,534,503,489,514,620,498,487,461,429,428,435,371,339,404,708,1084,884,798,1132,861,556,894,1228,1082,967,971,1080,894,595,549,840,750,513,480,487,478,422,397,405,415,415,455,449,455,574,415,396,430,644,560,542,552,660,668,892,1108,1086,771,586,831,881,821,1200,1426,1234,1192,1110,1136,962,895,990,1038,1246,1238,1518,1174,1056,1054,1114,1080,975,792,913,761,664,1088,1088,596,923,850,965,1202,1466,959,547,437,447,420,556,935,929,796,924,807,761,913,966,1042,1090,1178,1240,1176,1040,873,687,595,805,1148,1324,1408,1220,726,765,833,1174,1456,1350,1122,1084,1260,1538,1458,1372,1206,1068,927,1042,949,1164,854,431,767,1252,1236,918,611,902,1256,1322,817,560,415,422,440,425,436,482,487,570,676,667,673,591,1058,1252,1158,1010,1102,1082,1010,1044,1060,1266,1394,1438,1272,1304,1662,1884,1462,1078,849,1014,1024,604,567,990,1288,1174,1236,1300,1400,1116,821,657,584,501,741,1234,974,430,372,367,442,662,460,556,649,753,755,698,722,576,448,530,661,707,1328,1498,1486,1616,940,990,1232,1334,1152,1168,1116,1008,1158,933,772,789,750,935,708,1024,1108,886,869,934,1044,1038,1040,901,890,838,479,450,434,414,547,506,365,310,433,957,1032,460,505,350,308,330,399,476,465,522,550,562,828,797,608,1013,1300,663,412,450,431,1102,1132,929,986,1074,769,749,902,773,882,846,661,692,872,1216,1408,1516,1570,1442,1338,1062,877,757,753,705,742,909,937,1080,971,844,1246,1548,1214,814,647,655,607,669,980,1166,1316,1386,1228,993,1140,1434,1396,1208,1118,1062,1056,735,605,575,505,403,343,807,1134,1126,1046,914,733,582,867,1588,1410,1062,911,765,610,591,514,426,425,479,500,496,596,453,432,442,504,579,827,1070,916,669,929,1218,1268,1254,1144,1276,1606,1262,1560,2100,2338,1974,1506,1224,1086,1034,1082,1064,704,433,650,868,874,580,372,311,366,347,361,526,633,613,417,276,383,577,567,461,419,411,391,625,704,500,543,589,401,402,464,462,415,422,694,880,684,525,632,630,545,611,702,532,434,429,451,429,451,409,482,493,498,490,495,537,528,476,432,389,438,464,415,320,600,827,614,397,458,406,460,631,683,424,477,691,646,639,660,504,514,788,807,826,872,860,892,952,1012,996,924,882,999,1136,1038,1020,1106,1028,880,750,968,908,741,543,408,505,730,966,1210,1420,1272,1038,1152,1342,877,894,860,612,607,664,711,762,905,993,1120,1416,1068,879,573,749,751],[323,328,331,390,385,358,304,287,325,316,433,561,586,449,324,294,263,295,272,268,317,360,285,243,278,377,415,421,404,403,366,544,913,952,959,832,802,1144,981,818,813,634,525,433,294,323,354,354,370,392,440,410,405,427,405,392,368,394,437,485,518,554,788,938,971,1206,1020,969,1026,1094,1021,618,425,466,461,568,720,910,1086,1240,1462,1212,1226,1302,905,718,1188,1454,1418,1506,1522,1126,1182,985,1084,1294,2698,1856,1120,888,865,1186,1208,965,724,550,560,926,1104,1106,1118,1266,1332,1098,824,1032,1376,1550,1202,1274,1188,839,930,1106,1156,1350,1340,1478,1366,828,724,872,807,521,972,1198,1118,1324,1456,1164,1340,1600,1714,1716,1554,1562,1696,1762,1770,1742,1626,1456,1518,1562,1562,1456,1278,1320,1182,640,465,594,612,650,575,565,534,566,670,641,513,554,808,875,746,562,523,839,1001,883,1064,1174,760,576,839,848,651,628,738,769,522,570,1298,1068,937,1164,1198,1086,785,859,1180,1542,1826,1318,1078,637,438,771,891,650,631,764,810,774,742,705,688,561,447,394,343,380,437,430,392,455,741,921,747,462,516,618,674,818,725,797,483,487,984,1210,1112,1098,1148,1130,1150,1188,1180,1138,996,1242,1048,1224,1310,1244,1100,1034,1168,1228,1118,726,724,1090,1250,1230,1172,1074,1112,1050,697,811,1250,1470,1142,1126,1272,1482,1456,1186,1036,1042,1286,1218,896,700,579,529,908,1282,1282,1702,1492,1230,951,1074,1132,1158,1188,1096,1064,1776,2578,1860,975,841,1086,1142,1260,1376,1570,1664,1706,1710,1638,1664,1622,1486,1356,1226,1256,1230,1250,1190,1032,1106,1080,1186,1206,1434,1256,955,1166,1152,1142,1290,1170,1428,1484,1188,1288,1306,1284,1214,1114,1382,1398,1174,1300,1248,1558,1438,1188,1290,1134,1318,1428,1230,1326,1186,670,383,375,384,550,1078,1212,1132,1098,1356,1346,1050,735,779,959,1084,758,842,1186,1005,605,434,360,829,1212,1556,1740,1432,1310,1362,1516,1578,1444,1552,1328,1218,801,669,905,863,717,480,551,615,617,590,746,952,883,691,660,557,579,765,943,967,883,894,833,918,730,584,778,882,708,778,857,885,1204,1198,901,986,963,546,467,368,563,1038,1072,843,900,965,861,900,800,511,539,645,780,512,304,450,772,822,522,383,288,272,242,216,237,292,674,962,676,651,856,903,608,583,556,561,745,800,852,943,780,383,347,347,416,634,732,747,852,532,412,567,458,432,513,697,743,794,818,880,873,946,884,694,652,724,1050,1526,1424,1208,1188,1023,1068,924,955,1052,1190,1220,921,667,832,711,777,726,803,1100,1472,1342,1272,1466,1186,695,510,719,850,1066,1062,857,780,1050,1080,1054,1174,1162,1007,821,807,1036,1052,1048,907,775,741,794,1142,990,640,596,1210,1392,969,734,868,821,680,821,930,991,954,1580,1664,1098,889,955,846,805,907,684,618,717,817,735,749,727,896,1172,1318,1156,706,697,897,718,851,861,503,454,316,369,371,562,877,1380,1556,1606,1784,1696,1484,1430,1230,774,638,1074,1234,844,651,837,1110,972,914,1058,712,499,532,571,554,619,683,647,684,873,1006,1068,1032,892,1116,1290,1070,720,699,637,476,444,519,590,664,595,518,788,1110,1140,1388,1366,1302,1260,1168,1096,1278,1410,1354,1412,1382,1208,1456,1232,922,972,1124,1382,1232,1150,1108,1116,1382,1542,1040,1006,1308,1310,1208,1134,1020,1058,919,899,773,799,529,670,1126,1420,1434,1007,1252,1340,1068,2512,3094,1638,1218,1302,1380,1432,1444,1506,1274,1007,843,999,1106,912,700,709,1062,1318,1404,1416,1318,1110,1176,1170,1218,1138,1214,1120,813,948,1300,1310,1200,862,722,876,875,920,1120,1084,944,1288,1396,1158,1148,1138,689,499,503,437,392,423,438,418,369,423,401,446,401,355,339,425,461,430,378,385,389,379,385,388,405,445,442,402,376,376,377,404,430,447,430,445,440,435,415,395,366,379,428,584,748,716,582,521,566,930,1478,1538,1512,1552,1660,1160,1112,1366,1698,1416,975,1136,1204,828,557,527,956,1206,1146,905,553,583,920,1015,902,1032,1028,889,606,759,761,893,963,845,774,891,965,874,941,811,631,637,499,378,442,519,699,807,648,692,874,702,667,697,661,816,891,999,753,580,681,568,412,514,670,828,594,379,418,620,828,400,347,358,396,426,557,724,764,670,471,420,444,334,354,403,386,349,356,335,328,320,324,333,349,354,332,347,309,311,303,333,416,418,355,324,319,325,314,320,307,292,303,329,332,305,305,286,271,258,247,252,256,272,283,303,316,281,284,343,331,297,337,345,303,287,283,292,305,341,505,586,504,374,284,253,290,310,317,322,315,293,269,267,274,275,279,283,289,271,275,276,262,272,285,288,289,281,261,253,267,271,263,259,282,276,289,288,261,268,255,274,282,277,290,288,302,287,298,313,325,329,332,329,330,342,340,332,331,325,307,296,294,294,287,287,355,478,497,418,399,330,309,310,336,419,534,1018,1512,1546,1542,1302,754,543,420,433,394,354,363,451,1116,1438,1560,1650,1346,1017,1064,1364,1312,1396,1192,675,526,494,483,537,565,684,924,1416,1512,1418,1130,1094,1100,884,823,781,700,451,379,590,877,1022,1462,1300,667,571,623,568,391,361,635,847,612,449,474,494,902,980,557,648,532,656,596,523,430,355,289,298,301,307,312,324,378,368,318,314,425,355,346,572,644,957,1238,1168,1068,1268,990,386,384,396,477,382,592,442,683,1010,1116,850,904,1248,1066,810,1104,1362,1378,997,1046,1022,629,670,915,1194,990,760,912,1124,1220,1520,1392,1604,1624,1912,1862,1432,1176,1066,1128,1174,1080,974,901,1040,1334,1220,1260,1042,901,944,1114,1360,1416,1372,1254,1220,1138,976,664,639,673,598,480,414,597,745,758,681,446,354,331,319,341,348,331,332,429,389,336,352,361,359,349,378,379,370,386,357,352,346,336,319,328,376,378,354,357,339,375,392,431,412,484,597,455,479,529,462,422,404,367,330,406,650,1001,962,1076,853,476,422,602,790,1026,996,769,751,1152,1054,723,1015,707,501,476,471,530,528,471,449,419,399,438,491,483,484,424,430,485,705,717,667,532,418,530,959,1260,1260,648,481,497,545,580,843,1128,1516,1588,1194,927,1172,1408,1290,1176,1294,1386,1828,1208,840,844,1024,1116,1154,991,735,648,637,805,921,918,982,969,965,1002,1020,873,846,922,1042,1102,983,1026,995,979,1164,1122,1180,1246,1116,1044,1030,997,990,836,543,556,569,563,683,1158,1496,1332,1034,760,739,943,1230,1276,1036,857,874,897,866,809,824,732,867,968,1018,1404,1328,770,692,982,1398,1476,1250,1021,1030,1120,1174,1142,771,505,494,429,412,425,506,636,824,821,696,723,910,1082,996,992,1112,961,852,919,1070,948,1050,1226,1072,907,1318,1686,1448,1246,1376,1294,886,597,587,1430,1330,1284,924,1140,1272,1380,1026,438,338,449,648,1015,1300,1015,541,357,312,319,491,494,597,984,1200,1238,1168,675,524,556,346,371,871,1150,816,1038,920,944,963,973,1278,1218,1316,1064,811,1004,924,720,745,856,1038,1118,1136,1058,1096,1007,1020,1082,981,948,907,1008,765,475,451,509,601,700,592,359,311,347,560,510,390,507,375,359,340,554,960,941,825,750,605,542,484,492,745,1068,929,714,601,719,1296,1180,667,569,534,528,974,970,1068,1180,1096,1120,948,709,597,758,1044,1290,1510,1512,1478,1382,1230,1050,812,736,614,625,590,679,760,1106,1600,1414,1158,766,699,728,722,733,759,725,825,908,785,802,725,617,639,622,942,1038,741,693,640,468,365,370,648,999,1170,1208,1158,919,733,563,689,968,1060,1242,1230,1074,966,683,451,380,416,453,343,448,587,622,502,685,855,684,614,451,351,483,642,850,1048,1282,1514,1446,1264,1350,1584,1494,1470,1378,1214,952,885,745,648,421,313,413,646,696,501,409,368,394,469,610,906,1026,1200,766,334,342,626,610,467,400,410,447,473,471,663,824,758,582,676,662,421,401,540,796,676,474,448,433,425,463,588,762,497,345,403,419,369,378,386,412,459,457,498,519,527,498,469,484,487,432,343,323,309,505,901,1044,550,399,384,372,394,595,802,796,630,589,543,607,541,497,730,833,797,796,816,816,789,805,814,803,839,1040,1190,1074,941,1130,1162,978,982,941,761,562,458,486,706,835,961,1174,1358,1302,1242,1152,1384,1116,1182,1192,742,538,636,702,772,889,1030,1290,1650,1015,742,578,614,626],[329,307,309,382,419,375,311,296,325,377,452,556,569,443,309,249,283,311,286,272,299,323,355,346,392,424,410,407,409,342,362,751,959,869,1144,1086,976,1220,1152,974,766,484,427,415,371,318,315,328,357,352,367,360,354,361,350,365,361,329,366,467,465,496,637,674,696,785,943,1290,1282,1114,1214,951,546,425,369,502,673,1580,1736,1390,1242,1232,1290,1176,939,1058,1268,1566,1598,1462,1376,1354,1300,968,1100,1384,1478,1346,1490,1382,1152,1260,1400,909,653,500,438,795,1276,1276,1188,996,923,749,727,1112,1194,1346,1560,1554,1114,1048,1226,1144,988,918,857,1120,1058,922,1064,958,505,561,989,1252,1430,1556,1396,1390,1488,1386,1188,1098,1076,990,1104,1058,1016,1218,1228,1134,1186,1366,1388,846,634,1062,1192,504,482,603,616,591,503,488,455,529,634,642,609,644,708,819,1436,1008,746,1007,1008,711,619,885,1104,1058,847,572,423,507,848,658,446,481,1292,1206,998,1136,1214,1072,1078,897,1184,1230,836,875,1026,785,871,1342,1350,888,585,659,852,793,653,629,567,457,537,521,347,350,561,629,532,482,518,523,581,666,734,674,828,791,513,620,749,701,703,900,1230,1536,1218,611,947,1340,1208,745,554,855,1112,1142,1098,1292,1180,1062,1194,1106,886,777,799,1026,987,1234,1438,1334,1130,852,835,904,1030,1252,1256,1360,1080,1302,1288,1120,1032,1238,1296,1262,990,677,825,796,1050,977,1012,1400,1316,1338,979,1092,1312,1460,1130,959,1164,1212,1408,1344,1134,996,1202,1350,1296,1150,1154,1306,1366,1504,1692,1774,1802,1760,1608,1592,1544,1372,1372,1312,1210,1190,1266,1328,1180,1068,1036,1206,1274,1352,1015,1210,1326,1522,1494,1434,1444,1382,1208,1126,1372,1556,1332,1188,1212,1302,1254,1216,1268,988,892,1356,1296,1156,1246,1176,670,438,354,434,712,1134,1440,1268,1028,1234,1386,1216,1058,987,841,924,580,716,666,850,825,603,473,791,1188,1572,1590,1154,1238,1282,1368,1494,1422,1344,1278,1296,1090,1094,1132,718,463,444,572,600,586,503,578,623,631,562,661,820,863,969,1026,929,753,622,432,425,460,612,985,1248,1036,597,582,879,1180,1288,1132,1942,1798,693,375,522,798,862,948,908,924,1112,987,1064,872,625,684,717,874,532,289,601,902,553,388,361,315,272,243,251,298,242,326,766,919,772,932,1017,785,790,681,640,844,998,998,1009,563,436,372,433,520,512,630,830,681,388,321,422,461,583,618,681,813,989,866,730,850,861,820,828,879,860,1050,1212,1206,1230,1186,1006,974,1090,1036,1066,1174,1186,1034,846,691,794,974,600,761,771,1009,1166,1550,1614,1164,1132,872,961,888,951,905,735,781,805,998,1216,1376,1094,581,697,907,845,883,857,889,530,376,484,840,993,860,876,1124,1256,1096,923,935,932,571,479,597,825,973,1582,1526,877,813,1104,1160,1015,905,977,756,818,899,864,751,892,1000,1096,1150,913,813,898,951,1198,1230,758,753,480,330,407,509,821,1088,1300,1470,1410,1598,1750,1742,1500,1122,926,978,1082,1366,1100,628,628,897,865,1005,1116,677,586,623,634,549,489,487,491,740,1072,1064,1032,814,673,998,1242,1216,810,879,742,489,419,539,632,641,633,820,1001,971,1090,1414,1202,1388,1296,1222,1056,1188,1326,1023,1052,1300,1144,1044,1162,1032,1046,1256,1152,1220,1270,1220,1278,1388,1128,1004,985,1160,990,745,1238,1508,1544,1154,861,957,960,583,711,1056,1134,1606,1554,1268,1328,957,1524,1364,1282,1300,1360,1254,1050,1230,1350,1068,923,809,979,948,1128,1272,979,969,1118,1356,1534,1170,748,1070,1256,1112,905,1062,751,662,793,1116,1028,657,489,523,756,1003,978,916,908,1002,901,869,891,1044,1050,731,567,662,572,433,391,438,445,399,430,410,360,342,360,355,333,359,382,341,355,384,386,378,371,355,391,503,521,385,358,350,399,448,419,414,440,439,436,425,433,457,424,393,491,576,547,523,547,563,709,1066,1464,1368,1292,1388,1386,1476,1450,1720,1646,1082,845,1170,1007,721,698,1148,1322,1314,1023,687,831,1248,1272,1258,1124,1002,872,1032,1292,774,1192,1100,979,1182,1018,841,760,695,541,511,440,373,301,457,551,521,667,559,571,927,1050,1116,930,793,649,797,1092,792,912,1378,1086,569,410,503,454,439,594,697,1028,708,398,358,414,412,480,718,744,586,439,348,343,396,408,394,370,339,314,318,334,336,335,343,318,305,339,317,326,314,295,329,376,396,386,340,337,375,385,316,316,285,255,286,335,315,277,271,285,283,270,261,251,251,265,266,278,280,272,278,307,342,314,333,361,335,316,308,301,338,477,630,452,321,324,313,300,296,287,294,305,296,268,272,276,280,276,277,280,289,280,284,286,273,270,276,290,273,259,260,267,262,254,255,249,269,275,282,264,250,249,263,276,305,290,302,300,301,285,291,303,315,323,323,339,407,365,354,329,321,311,311,314,310,305,301,305,327,367,389,408,396,393,338,329,352,445,885,1516,1614,1546,1396,831,641,542,487,437,423,360,447,396,942,1378,1594,1642,1562,1340,1470,1434,1076,1372,1520,1272,774,511,477,680,885,662,910,1498,1378,1246,1074,850,1136,893,884,1072,724,375,382,510,710,946,1248,1118,664,437,691,829,701,594,681,717,725,858,742,761,1080,855,485,536,545,517,561,524,439,383,319,301,326,396,365,357,439,385,344,450,922,628,476,546,735,1017,1374,1440,1338,1446,996,618,421,439,548,640,889,858,822,1096,1160,675,527,786,816,634,717,834,1226,895,748,641,658,613,681,1024,1218,1202,1166,1172,1152,1170,960,1358,1572,1504,1170,959,1086,1142,1046,1074,1172,841,723,870,1080,1128,1182,1156,786,694,1130,1310,1288,1232,1252,1390,1096,1016,869,669,608,611,695,769,720,594,546,631,570,435,350,313,329,329,313,318,387,446,469,397,324,352,348,350,381,368,378,373,370,357,319,301,319,353,340,341,360,345,390,368,430,431,538,633,466,372,370,311,311,355,392,362,527,659,683,706,717,461,328,344,452,592,611,650,558,533,710,1268,1396,1382,839,673,614,521,695,720,647,515,470,470,464,447,442,479,468,415,441,521,658,694,493,430,526,805,1015,1030,680,517,545,733,1010,976,1132,1472,1354,1184,1122,1248,1328,952,694,850,1440,1674,1180,860,950,1082,1176,1216,1206,1134,1070,1214,1476,1484,1444,1440,1488,1390,1362,1252,1174,1390,1452,1368,1138,1010,1200,1384,1226,847,634,740,902,948,1018,1104,1070,1128,1132,618,583,849,830,577,630,1220,1486,1056,958,1108,1234,1152,1092,861,602,622,688,690,575,552,495,547,554,865,1378,1030,788,1003,1178,1268,1324,1200,1224,1122,1011,1013,930,647,513,513,558,581,543,532,764,983,1098,1017,853,1092,1230,784,808,1046,902,890,1136,1074,673,630,782,516,910,1570,1530,1356,1454,1468,963,757,884,562,1092,1011,940,645,826,1140,1626,1276,538,656,722,756,798,895,824,672,485,394,433,857,951,1001,1322,1310,1144,1110,679,574,694,458,574,987,882,832,766,790,1118,1118,1136,1260,1632,1938,1294,755,970,926,749,852,1013,1002,1023,1062,982,844,1048,1110,1110,1186,1216,1084,915,560,423,420,487,629,719,583,419,355,375,558,484,908,1510,1015,656,659,659,1158,1468,1192,650,483,629,976,612,483,1005,1142,966,930,1232,1462,962,667,574,509,466,539,653,1324,1478,1430,1316,1028,840,788,624,540,659,851,1190,1364,1432,1492,1450,1410,1150,990,758,556,540,490,842,1050,645,1009,1202,1064,930,785,750,742,692,807,807,786,836,739,722,1112,1798,1274,951,871,883,769,527,380,433,607,805,989,1046,1258,1170,1216,1196,1098,833,671,944,1046,977,972,716,618,523,551,575,437,495,665,681,523,590,713,733,716,595,499,437,363,373,969,1066,1128,1410,1396,1388,1442,1576,1428,1258,1224,982,736,589,488,311,266,300,363,375,326,403,619,646,669,916,1042,1266,1692,928,443,363,572,645,462,383,375,398,424,499,686,866,725,691,814,709,531,610,777,688,548,542,473,479,477,553,639,690,438,454,941,888,500,414,437,399,449,365,431,472,461,419,420,421,357,307,322,352,372,377,546,1050,964,492,380,389,465,535,581,577,585,624,487,477,474,520,571,703,778,764,788,757,756,808,891,1012,1156,1234,1266,1138,791,630,827,956,904,734,540,593,752,898,1042,1023,1176,1246,1332,1322,1274,1158,1378,1474,1284,999,745,700,718,731,864,902,969,864,677,625,675,592,503,515],[317,265,265,307,352,347,321,308,289,310,403,488,509,486,403,328,325,284,263,272,293,310,350,407,474,496,451,407,394,314,487,740,876,1116,1416,1408,1224,1166,972,907,832,571,448,421,436,368,298,292,334,350,354,364,362,347,339,339,360,335,296,368,344,306,407,530,587,559,824,1370,1428,1152,1078,951,789,486,361,488,570,1058,1544,1538,1336,1444,1098,1009,1256,1062,794,1038,1186,1104,873,896,1096,1140,832,888,1182,1354,1700,1512,757,1122,1262,805,582,659,800,1402,1866,1680,1334,767,766,1056,904,1005,1392,1372,1438,1668,1196,907,1418,1532,996,1036,1138,993,855,969,1194,1226,1024,1100,1302,1542,1514,1338,1188,1084,1017,573,334,376,512,550,570,433,533,930,993,1032,1208,1368,1172,817,627,744,821,579,583,605,547,543,513,477,498,576,622,565,404,385,613,716,1296,1050,708,713,1100,1015,709,1078,1414,1302,692,348,346,450,558,451,456,496,713,872,841,938,932,993,1458,1108,1038,735,1562,1336,825,758,818,872,760,622,527,745,963,729,582,656,596,700,673,474,308,419,655,834,823,681,744,884,726,940,1112,834,858,1226,904,587,971,938,609,791,1030,1448,1444,833,513,869,937,530,513,728,944,833,1040,1404,1144,941,941,867,914,768,571,627,790,1094,1142,1166,1274,1166,986,1108,1068,1358,1440,1622,1216,1034,1190,1376,1346,1376,1420,1300,843,849,1304,1392,1310,890,1172,1416,1560,1322,1118,1276,1464,1194,900,980,1011,1044,1394,1382,1104,1068,1202,1202,1018,649,531,810,1216,1548,1778,1764,1648,1658,1650,1678,1742,1592,1480,1416,1298,1178,1250,1330,1204,1056,1506,1740,1450,1268,1182,870,841,1294,1600,1574,1522,1474,1242,1338,1456,1444,1396,1296,1040,1052,1176,1224,1140,912,879,1194,791,1138,1368,1150,684,525,430,468,807,1292,1404,1262,1406,1562,1318,1328,1292,1394,1180,888,615,688,692,829,935,902,901,971,1230,1320,1460,1362,1388,1494,1610,1672,1644,1346,871,605,655,1032,1154,576,430,425,462,584,717,570,555,682,624,511,488,581,498,640,1000,876,564,452,502,631,662,713,724,678,631,429,542,969,1546,1692,1274,1144,680,440,514,958,1086,826,1026,1054,836,898,899,892,818,887,732,774,738,391,327,678,682,478,606,510,348,278,444,379,242,191,292,781,1212,954,795,1015,861,838,769,954,1086,1144,1176,913,528,427,430,588,810,1006,1074,1250,940,567,383,448,591,650,673,1094,1122,836,870,855,561,676,844,883,1050,1186,843,817,764,998,1218,896,805,1102,1068,1242,1190,1220,1114,788,442,649,897,774,802,779,982,1330,1368,1018,843,973,794,728,907,752,966,1192,1110,1064,1274,1414,1290,1162,1102,1090,1102,968,896,711,772,772,485,409,673,888,781,505,461,728,996,987,850,821,472,309,398,579,818,1204,1194,850,720,825,909,886,650,832,883,814,867,947,883,819,689,1072,1370,1034,1278,1144,1126,1434,1354,822,579,404,455,745,673,565,904,1268,1354,1330,1478,1466,1702,1704,1684,1598,1396,1466,1588,1252,982,656,668,857,869,647,434,787,995,908,630,422,554,725,1120,1260,1340,1154,797,705,866,749,936,960,1028,1128,871,604,527,544,681,1096,1282,1198,1208,1376,1260,1194,1316,1332,1354,1188,1150,1272,1320,1306,1380,1214,1468,1736,1604,1082,922,968,952,1112,998,1126,1240,1262,1682,1122,1186,1332,1172,988,1080,1156,765,520,755,888,768,987,1005,935,746,708,990,1494,1300,1198,1284,1142,1168,1060,1148,1236,1122,1234,904,667,673,948,1072,1116,1358,1454,1266,1142,977,896,1108,1236,1192,1236,1003,908,789,594,494,575,951,949,582,499,537,924,1248,1006,960,1256,1048,677,636,645,846,815,818,961,1004,963,546,392,377,445,437,399,362,339,335,337,329,298,302,313,346,341,345,379,385,383,378,380,517,553,390,399,366,419,416,385,377,419,439,453,475,590,678,574,436,444,482,565,620,651,708,741,770,955,897,960,1166,1488,1504,1424,1438,1660,1212,836,1072,857,651,758,1050,1098,1088,1158,1202,1452,1666,1356,1252,951,1015,1288,1598,1228,604,933,1058,1152,1504,1346,1154,908,512,457,453,454,428,347,362,453,472,512,511,558,892,1048,1011,894,855,520,631,1072,763,836,1240,1156,669,454,520,496,526,602,1026,1104,655,412,381,409,397,399,490,528,416,354,400,368,514,531,424,355,325,343,374,354,365,369,394,353,316,324,312,305,316,332,401,453,449,393,318,337,354,364,332,286,292,270,296,314,294,276,277,295,304,292,269,254,255,255,258,264,272,292,289,333,385,342,327,348,361,354,338,338,481,611,424,274,275,297,305,292,288,302,310,280,276,263,281,277,271,273,274,275,281,287,298,314,289,277,265,286,277,263,261,266,266,264,259,268,266,253,270,292,313,261,273,294,308,293,283,290,285,284,287,294,298,308,329,353,386,351,326,316,323,336,333,320,314,314,321,335,340,367,385,448,403,353,337,348,409,781,1404,1622,1594,1466,897,599,505,547,612,585,506,420,506,417,556,1212,1766,1786,1804,1454,1466,1384,1432,1628,1592,1634,1382,926,492,574,698,615,827,1194,1028,972,749,776,944,910,1096,1005,458,328,389,614,821,836,1108,1042,788,483,871,952,854,1090,1166,1002,895,793,749,982,853,596,575,767,673,581,581,540,444,397,446,374,347,436,491,416,497,622,563,671,1086,944,605,602,688,851,1100,1052,1322,1356,887,910,769,570,630,1116,1376,1017,964,1226,856,403,504,749,467,502,530,521,742,667,421,421,495,597,767,875,1056,1166,1322,1164,1390,1438,1226,1456,1600,1422,1124,1003,1224,1384,1400,1264,1132,927,914,936,1164,1258,1250,1260,875,782,1106,1224,1128,886,1152,1076,810,1128,996,733,803,709,717,692,518,469,633,554,514,463,375,325,321,321,333,336,384,460,460,372,352,408,361,356,364,355,355,370,379,352,317,318,300,327,329,352,358,324,365,410,444,461,570,613,466,311,304,305,343,472,533,444,440,430,430,388,337,312,326,363,415,478,504,421,361,594,864,1044,1146,1384,1158,821,569,554,702,744,763,515,464,494,503,472,601,660,553,509,667,764,663,614,609,598,626,630,766,819,664,614,640,964,1380,1350,1102,957,828,728,997,1432,1376,1154,1100,1064,1156,1400,1400,1392,1310,1178,1186,1198,1216,1338,1218,1004,977,957,922,960,1002,967,840,712,902,882,582,539,586,986,971,1114,1004,678,756,866,1018,1260,1276,1190,1276,1360,1290,752,546,864,1062,841,532,1152,1798,1272,1036,1100,979,990,1042,1212,1226,1186,1232,971,536,532,609,675,703,879,1302,1146,1138,1246,1120,825,824,1164,1310,1194,1007,764,702,504,673,1018,1240,788,586,491,700,846,948,955,783,1156,1418,863,792,882,703,800,727,579,523,919,842,417,759,1064,1176,1282,1266,1268,811,924,725,458,434,369,295,390,517,552,872,1100,912,978,1023,835,457,603,532,498,465,440,477,597,870,1160,1046,1094,919,1036,855,890,672,673,987,786,663,694,542,625,822,977,1152,1194,2530,2218,1460,1068,898,833,869,955,1136,1154,944,1134,1134,927,752,719,808,905,921,839,592,427,432,477,470,418,465,481,558,532,450,361,309,799,1178,836,818,905,852,952,1092,1158,785,492,706,994,568,493,813,946,1050,1062,1194,1148,769,727,683,628,529,658,887,1334,1462,1294,1062,658,545,707,788,728,596,587,555,726,938,1154,1380,1458,1502,1422,1296,1188,912,743,1032,708,536,512,823,1132,1164,902,849,753,709,854,1004,927,877,1066,818,1962,2544,1484,892,798,838,787,729,593,539,583,699,1009,1472,1284,1064,1308,1314,796,409,413,628,764,991,905,598,886,1108,992,946,879,879,919,684,491,598,664,597,695,727,430,314,372,628,658,912,1570,1916,1792,1598,1520,1172,762,984,1190,1088,849,576,426,325,299,305,288,317,306,385,637,666,705,1032,957,2060,2134,1026,494,431,604,697,510,484,513,652,722,651,692,892,846,898,738,687,918,764,488,470,524,517,489,465,438,443,475,632,747,1038,1312,1018,824,512,493,497,509,383,359,391,435,407,384,352,319,337,375,415,403,421,422,634,1112,892,495,346,428,376,381,495,520,587,514,477,478,495,504,578,663,728,764,749,767,897,1092,1172,1218,1260,1272,1212,904,570,498,589,644,579,474,735,1042,1190,1198,1218,1206,1208,1368,1344,1240,1128,1372,1434,860,688,617,662,735,724,856,855,806,835,731,712,769,654,468,434],[317,274,273,303,327,329,292,257,239,271,389,491,458,356,325,333,303,261,260,294,318,323,314,312,353,458,458,426,352,345,605,880,1274,1126,982,1268,1398,1456,1130,781,936,698,476,464,498,506,386,299,331,384,386,395,397,368,356,359,384,357,280,260,281,341,488,609,676,659,938,1344,1278,1266,897,724,970,731,375,400,503,709,1324,1588,1078,1112,1180,1352,1372,1054,946,985,1212,1228,845,866,1418,1176,623,553,587,764,1180,1052,944,1126,915,673,630,844,1224,1504,1326,969,993,997,1056,1182,676,838,1600,1372,999,1230,989,681,1194,1790,1328,1156,830,1050,1428,1450,1582,1572,1532,1192,1104,1172,797,978,1212,814,603,421,451,469,508,752,718,524,742,937,769,989,1232,1268,1172,795,777,806,674,601,558,498,461,450,487,532,502,625,659,430,278,259,387,601,551,642,554,423,749,838,738,887,1406,1024,406,292,343,383,380,440,448,510,596,576,691,1019,781,1256,1648,893,713,656,1490,1302,847,633,535,429,508,567,683,852,821,686,633,689,644,857,746,368,437,496,620,837,882,658,639,1086,988,964,1030,912,1124,1306,709,398,471,720,1128,1754,1300,1404,1476,1368,951,735,669,859,971,1012,1080,846,869,752,666,715,965,990,1394,1376,1166,1092,1154,1015,827,1132,1162,700,432,749,789,1096,1442,1516,1164,1180,1444,1496,1438,1356,1258,1234,1064,1136,1284,1450,1478,1328,1300,1160,1236,1416,1590,1600,1384,955,1074,1170,1236,1011,1142,1212,1334,1372,1288,952,499,406,506,554,708,1164,1620,1368,1244,1178,1428,1606,1624,1656,1588,1592,1460,1324,1352,1278,1230,1262,2064,2610,2014,1608,1342,768,835,938,1256,1644,1542,1542,1494,1398,1400,1158,1142,1032,1004,1312,1316,1152,901,811,913,1102,673,681,688,688,519,432,428,424,886,1400,1136,808,966,1186,1184,1260,888,919,919,1013,1360,1404,1226,1260,1182,1326,1300,986,1048,995,1256,1456,1396,1368,1378,1384,1286,1290,1082,681,602,778,740,415,355,361,343,351,540,543,582,856,962,932,455,266,249,482,859,747,726,695,516,440,490,518,440,427,484,523,529,634,1322,1294,1234,851,754,944,806,1078,1356,934,798,966,988,1054,901,954,1013,1124,985,955,814,467,536,753,375,414,681,541,279,286,517,502,340,326,570,903,970,753,675,907,805,762,786,955,1080,1110,920,667,479,499,514,579,891,1310,913,1176,1130,597,471,510,481,422,720,1272,1148,822,969,1084,927,875,651,623,811,885,745,774,601,562,908,1002,822,984,1036,1138,1262,1130,1058,705,471,426,476,741,1240,1318,1302,1376,1150,992,872,853,1200,991,712,688,1158,1396,1356,1394,1374,1346,1186,1114,1218,1166,1214,1009,880,884,1028,912,635,588,722,1028,811,545,387,460,588,472,637,672,377,284,359,425,691,1214,1414,1050,802,677,688,780,553,850,1286,1050,855,927,972,967,1068,1280,1790,1436,1554,1300,1114,995,1224,1202,825,510,605,752,497,497,769,950,947,1007,1364,1420,1444,1708,1704,1410,1228,1452,1598,1166,1122,910,759,749,516,467,875,1278,1110,1023,993,836,736,1076,1324,1050,1078,842,619,622,652,677,993,1106,1354,1736,1408,1184,632,480,878,1152,1230,1256,1334,1388,1432,1300,1136,1340,1340,1244,1258,1310,1342,1412,1506,1558,1544,1306,1174,709,489,790,1130,1030,472,635,869,1180,1482,1158,1272,1420,1376,1498,1764,1274,777,377,409,787,1020,1084,1142,1130,855,901,1064,1384,1266,1338,1450,1102,1060,1007,1824,1540,998,1004,1011,849,899,1094,1174,1130,1098,1208,1236,1220,1184,1170,1306,1482,1344,1466,1468,1046,528,407,397,515,772,774,724,476,606,1002,1230,1009,887,1156,957,798,819,776,802,1070,1224,1152,882,832,578,433,425,434,404,406,368,411,438,383,333,288,299,335,358,336,332,359,377,381,390,395,437,449,389,371,377,390,354,345,396,458,502,537,573,692,842,816,596,533,585,691,783,858,890,919,954,942,1016,1224,1450,1522,1682,1760,1460,1830,1382,932,922,743,551,524,655,745,991,1176,1210,1670,1692,1284,1130,636,676,963,1042,882,706,810,882,1046,1516,1670,1228,681,429,444,493,544,542,518,599,684,471,376,568,854,985,969,1044,722,581,808,1430,1188,563,824,1176,1010,668,424,464,559,664,868,999,708,495,429,405,401,402,352,390,432,373,390,506,469,773,870,548,365,325,385,443,401,399,381,381,333,296,286,295,319,373,417,423,430,399,361,319,338,347,345,321,307,304,271,277,277,265,278,289,309,311,309,282,254,259,254,256,263,273,285,284,310,322,312,301,309,335,378,387,448,588,486,323,299,281,285,284,288,302,306,297,265,270,252,248,254,279,282,272,280,274,276,300,283,282,302,265,261,269,262,267,271,269,258,272,281,277,261,244,278,315,285,329,344,307,289,288,276,262,289,286,281,294,297,335,380,367,326,326,346,350,346,337,318,305,299,307,338,341,368,381,408,398,377,366,409,750,1372,1610,1500,1520,1034,578,558,743,872,857,900,736,455,474,434,502,1015,1668,1640,1692,1390,1434,1442,1448,1536,1636,1564,1520,1290,1118,766,542,745,852,1100,1036,1013,1072,1044,841,957,1150,638,336,339,576,1562,1852,1266,1064,879,647,470,742,1002,1170,1096,963,919,920,919,1038,1394,943,650,1164,1286,1015,763,642,563,476,401,543,473,395,557,566,459,532,980,879,619,918,958,650,800,1066,1380,1148,1046,1256,1048,883,971,1104,1040,830,988,952,648,1040,1382,997,688,1042,1492,1026,594,536,770,943,735,458,622,733,818,1198,1250,1240,1276,1350,1256,1184,1082,1388,1702,1612,1488,1182,790,987,1256,927,797,941,916,794,1032,1366,1204,1086,1244,1154,737,819,979,681,556,623,492,452,828,875,636,597,535,431,393,369,382,462,405,366,372,346,337,315,300,314,331,419,700,642,432,441,455,355,346,347,352,357,352,371,385,317,305,319,319,318,346,350,334,349,381,438,473,462,485,504,394,331,405,394,565,732,586,405,394,373,318,316,322,351,395,422,478,442,419,409,466,987,1122,1100,1268,1410,1274,766,488,701,776,636,462,429,470,536,601,720,786,744,646,703,567,498,457,618,710,627,474,729,967,780,621,820,1110,1250,1364,1094,786,1015,1224,1280,1318,1250,1140,1158,1096,1068,1276,1074,1190,955,797,1076,906,627,870,1200,1084,739,534,512,837,1134,1320,890,697,968,766,614,847,982,1288,1180,958,730,634,942,1204,1242,1272,966,712,878,991,778,466,375,523,715,707,394,633,1134,1226,1390,1320,1146,1250,1090,1382,1740,1636,1604,919,614,835,854,830,807,813,1070,1164,1018,802,681,632,673,722,1048,1252,1001,985,700,776,1138,1258,1118,1146,1178,780,845,877,941,782,1001,1202,1048,1054,1234,1152,1030,730,536,471,634,1208,1144,828,1032,1132,1780,1478,1144,801,612,540,369,363,339,329,336,350,403,673,1228,1234,1040,932,1346,1196,792,588,488,458,342,373,408,475,1012,999,1112,1432,1200,1332,1304,1094,592,725,1190,1134,573,433,535,442,408,804,1116,1264,1766,1580,1148,920,1001,873,1082,1186,1140,981,703,901,836,414,341,313,348,438,456,426,432,443,508,566,515,510,447,397,497,460,348,312,277,348,384,443,579,533,625,1036,1272,1028,729,528,560,465,439,471,459,768,992,1050,936,836,955,914,849,748,709,881,977,1090,1048,860,922,719,604,647,701,734,591,546,585,587,532,622,745,999,1208,1336,1462,1446,1456,1056,1344,1178,958,792,630,688,918,1234,1238,1122,1048,777,790,672,597,765,688,628,705,907,927,801,791,735,727,613,560,503,628,1082,1418,1184,1250,1366,949,647,532,372,609,904,1178,927,915,841,772,867,865,876,1094,959,498,497,827,871,699,846,813,453,378,373,549,375,478,1005,1306,1146,1096,1092,1030,650,551,579,678,650,540,398,290,293,298,283,271,339,464,384,502,637,957,1240,1736,1782,1406,712,692,658,521,683,603,513,538,771,796,950,1001,895,1020,1036,830,713,487,444,511,470,430,440,413,369,384,444,758,1074,1032,1021,1032,1130,657,586,833,844,527,318,399,441,372,342,339,349,365,387,381,330,318,355,386,740,977,713,346,400,386,394,415,410,428,452,456,452,495,501,467,498,608,671,728,826,1034,1146,1214,1234,1262,1428,1424,1096,672,545,604,589,630,785,1022,1194,1338,1228,1152,1154,1200,1256,1378,1492,1336,1340,1410,810,645,498,566,671,663,651,626,684,750,789,865,791,668,509,458],[301,312,312,320,312,288,255,254,278,343,452,500,405,275,257,286,290,270,273,299,334,418,383,291,300,433,482,435,414,553,755,1024,1284,755,897,1356,1278,1234,1212,1096,1138,822,565,495,458,464,401,367,311,312,304,334,372,371,330,356,366,368,282,219,273,625,1204,1266,1154,901,940,1342,1360,1062,879,815,786,645,553,404,386,504,802,1238,1270,1264,1158,1164,1228,1076,880,1026,1450,1636,891,731,960,615,370,444,1002,747,646,1030,1400,1260,877,902,861,913,1220,1346,1190,997,1178,1266,1146,962,676,971,1440,1078,748,705,661,718,1400,1992,1550,1338,1136,1348,1362,1494,1538,1532,1460,879,1076,1514,997,1108,1108,693,525,491,531,599,615,512,443,401,565,954,1130,872,962,1042,775,513,1013,943,546,466,475,557,550,551,573,626,494,493,451,247,255,271,347,361,352,470,580,926,858,934,869,724,816,478,274,278,364,381,387,421,388,366,349,424,592,1124,1152,1460,1772,1278,1028,807,684,896,1082,897,1026,535,501,642,836,801,875,805,699,629,807,1276,778,390,548,494,735,865,842,701,560,734,697,671,872,991,921,713,381,342,389,725,1056,1158,1274,1262,987,974,1146,827,474,594,625,634,719,805,659,593,624,872,1068,1068,1180,1452,1360,1068,1192,821,692,1046,1094,641,537,641,734,951,1174,1005,916,1278,1446,1158,994,1030,1294,1348,1346,1310,1226,1364,1578,1564,1188,1120,1122,1418,1766,1686,1212,1258,1110,990,1214,1060,954,1132,1396,1378,1088,589,328,337,439,594,781,861,930,987,1228,1230,1210,1258,1388,1366,1422,1464,1372,1454,1470,1494,1534,1512,1844,2238,1888,1518,1146,742,836,780,836,1454,1316,1294,1356,1342,1252,728,504,599,969,1330,1128,1178,984,756,705,807,606,321,320,439,410,376,358,502,1076,1288,1172,1194,1402,1542,1610,1476,1210,1194,1234,1268,1522,1502,1348,1216,1570,1470,1332,1106,1034,1314,1652,1484,1238,1272,1402,1576,1262,1312,1178,685,957,863,584,424,332,343,319,306,384,450,620,993,1306,1350,650,313,316,517,744,745,888,948,705,556,611,552,313,363,587,606,515,764,1136,985,1216,1238,1068,1214,885,1030,1202,858,705,926,925,875,896,849,824,946,1146,1186,1242,985,900,576,331,306,361,271,331,513,846,929,688,708,907,1022,990,931,971,1312,954,742,875,910,955,894,912,879,603,544,521,427,630,801,550,556,513,605,698,507,451,606,864,1170,999,1120,1184,1100,1068,1046,1086,875,852,1074,925,902,1000,830,890,876,980,861,931,1256,1076,1094,1268,896,553,451,455,695,1152,1258,1270,1188,1352,1562,1464,1390,1228,935,806,974,1496,1376,1230,1356,1342,1316,1252,1068,1072,1054,877,911,991,1090,1288,1402,1414,1152,1013,1248,1262,935,446,446,553,543,716,605,291,288,298,363,789,1156,998,906,1046,757,611,575,520,977,1434,1282,841,929,940,930,967,1098,1788,1622,1294,1216,894,594,775,1034,1100,863,616,611,538,668,1068,831,749,930,1484,1554,1476,1648,1680,1548,1218,1244,921,880,1106,1128,1192,1006,626,592,841,1030,1052,1096,1192,1224,1170,1632,1412,828,605,496,723,874,802,1028,1664,1816,1604,1506,1368,1380,932,561,514,843,1126,1306,1312,1124,1250,1366,1158,1198,1208,1396,1264,1238,1530,1250,1186,1280,1202,1138,1148,1023,847,984,1088,540,500,555,502,648,1100,1354,1700,2026,1652,1584,1438,663,423,356,443,899,1096,1338,1170,890,820,986,1166,1130,1064,1148,938,735,771,1030,1346,1196,958,1206,1338,1168,1214,1246,1170,940,985,1050,1194,1232,1346,1288,1296,1244,1260,1322,1130,657,401,316,346,545,842,551,660,775,868,1015,1098,1136,1188,889,879,1168,1158,761,1005,1384,1284,1184,861,625,576,470,458,420,480,573,500,544,557,399,332,309,301,332,342,322,317,329,361,373,383,385,413,489,416,379,387,378,383,389,408,478,558,618,613,650,768,826,716,653,760,886,926,899,898,952,933,893,1070,1180,1402,1544,2360,2118,1784,1520,1056,792,505,566,548,558,678,851,1170,909,727,971,1274,1130,794,455,397,436,396,480,754,868,680,737,1498,1636,1060,553,456,492,588,667,630,836,1166,1080,493,418,836,1268,1328,971,738,644,440,861,1422,1202,1072,859,923,1009,960,571,461,719,1044,1104,737,477,508,444,431,518,570,449,381,365,375,403,503,469,576,659,504,352,309,377,428,408,396,342,309,300,302,294,301,312,365,401,380,361,336,333,336,341,340,338,329,324,300,267,266,270,277,306,299,295,287,295,282,256,256,256,254,263,289,308,329,322,303,298,297,312,324,419,525,530,393,290,319,311,294,273,272,270,297,296,285,279,269,249,253,261,283,297,305,279,275,259,271,301,327,312,279,270,258,256,271,261,258,261,282,276,276,271,262,256,267,275,323,332,297,286,286,278,271,291,285,273,288,284,318,361,359,353,368,362,350,347,344,335,308,300,314,344,344,350,354,351,368,381,445,756,1322,1604,1466,1542,1184,677,508,702,1056,1128,1120,1334,1368,567,495,504,738,1182,1440,1476,1438,1280,1528,1636,1426,1510,1504,1520,1582,1494,1460,1284,1114,1350,1076,940,1202,1310,1326,1242,1170,1214,1164,514,417,397,764,1634,1568,1182,855,620,454,480,678,988,1180,988,1104,1150,1032,1086,1286,1444,1170,1220,1442,1374,1070,714,746,633,536,391,441,524,495,738,660,438,443,822,1028,1076,1162,907,872,1068,799,786,824,935,1000,1094,1122,948,831,982,1046,814,581,522,936,1264,1288,974,1170,1456,1232,823,781,1134,1116,975,680,754,857,930,1056,830,942,1362,1382,1238,1212,1312,1368,1432,1468,1512,1038,846,1005,1236,1166,1054,1046,918,633,722,1238,1456,1276,1354,1032,405,466,788,725,499,383,382,402,526,730,786,561,480,498,610,615,487,484,443,350,341,347,349,337,310,318,348,349,691,842,740,591,413,377,389,349,364,345,377,521,470,335,323,341,335,323,343,353,339,333,372,467,436,390,514,562,591,530,442,441,661,791,622,411,342,332,357,369,386,458,465,487,561,518,482,456,469,607,1068,1416,1296,1144,1324,1402,918,815,755,560,458,486,539,611,660,689,767,750,552,516,439,455,496,619,769,913,963,1110,1246,1188,1015,931,831,876,1272,1374,1280,1244,1128,984,909,1060,944,833,1200,1340,1220,1192,1272,970,725,1009,1196,940,844,1392,1450,1112,1024,922,1298,1194,1078,716,774,933,673,847,1164,1206,1256,941,827,569,669,797,966,1034,1158,1010,907,836,623,506,477,549,615,436,428,507,861,769,1030,1332,1280,1194,1280,999,1232,1710,1642,1820,1196,989,1058,1032,915,907,830,820,785,741,1094,1152,835,833,864,1112,1210,1104,1138,945,1396,1194,930,1021,1672,1694,941,938,1160,1230,1122,1034,935,1218,1372,1250,969,922,822,775,544,618,891,974,1118,1584,1412,1260,1130,969,540,405,433,369,355,521,714,516,436,583,780,933,1080,962,949,1260,1132,834,612,512,470,293,330,363,582,960,1318,1526,1424,1228,1284,1290,940,498,692,1226,1424,823,413,458,713,580,536,811,872,965,1470,1284,924,1142,1003,907,797,666,642,600,618,413,357,436,336,267,287,350,400,509,714,780,609,612,607,529,445,398,383,343,263,248,309,309,346,579,1230,1582,1240,949,1009,706,478,519,459,420,385,422,742,1144,1456,1240,1278,1162,1030,1116,1158,1098,1074,999,1216,1252,558,634,944,716,701,790,698,461,415,599,803,740,599,671,568,560,782,940,1192,1234,1254,1534,1506,1460,1362,1196,1050,916,800,792,966,1030,1162,1148,916,891,791,630,673,670,592,610,555,650,655,694,626,506,495,691,1168,1356,1130,1160,1150,835,860,702,446,491,633,621,603,756,713,746,734,577,601,884,1009,636,631,1001,932,965,1156,787,410,412,395,336,307,333,375,353,375,504,577,599,695,637,440,532,620,586,440,386,322,356,393,360,331,477,366,476,598,800,1226,1222,1202,966,891,1088,1356,1618,1794,1332,810,606,746,811,864,708,713,1224,1226,730,457,431,492,502,440,423,438,372,365,505,731,712,737,584,909,1360,949,491,533,964,1166,747,418,455,411,327,315,325,343,348,357,313,313,331,411,543,550,480,418,402,388,386,432,420,392,470,477,481,503,484,446,407,418,486,437,545,872,1076,1114,1184,1230,1242,1408,1314,949,937,1016,609,621,871,1042,1138,1284,1360,1192,1100,1174,1222,1196,1188,1440,1436,1334,1490,916,557,444,514,603,511,423,495,552,658,753,847,776,692,623,541],[264,314,315,306,294,273,312,397,401,410,410,370,305,294,347,318,290,278,281,301,341,357,393,330,343,436,411,416,422,526,572,601,965,816,945,1094,1058,1060,1106,977,1008,832,616,599,443,405,467,530,427,391,304,304,336,369,353,303,320,354,316,276,281,515,1246,1422,772,891,1212,1542,1566,1190,795,722,731,688,753,401,325,324,389,994,1474,1290,998,1116,1216,949,759,1032,1636,1938,1048,1023,1044,502,343,361,405,343,875,1444,1368,1224,952,865,797,539,995,1226,1202,1290,1366,1186,949,752,767,1086,1060,1098,1404,1046,1326,1586,1584,1558,1448,1318,1226,1174,1344,1668,1370,860,951,798,1021,1180,948,960,858,621,406,378,415,602,612,446,433,413,423,538,710,932,897,722,569,709,990,924,755,448,420,496,471,654,542,609,514,434,316,216,243,253,288,273,314,366,500,883,957,1162,779,469,361,294,278,329,344,309,341,351,386,424,425,415,408,781,1180,1216,993,1114,1274,680,402,462,686,1268,1472,1009,608,608,702,730,1172,1172,771,522,562,824,472,462,528,596,774,827,785,734,753,634,396,368,574,669,451,349,340,375,383,534,805,1090,1306,1114,794,1001,1456,771,468,675,709,459,421,474,409,669,974,1086,1222,1338,1372,1246,899,1170,1074,671,608,728,879,832,963,1060,917,919,1020,821,936,1344,1208,987,700,862,1404,1444,1250,1318,1400,1406,1698,1736,1588,1772,1322,1284,1368,1368,1278,1226,1042,1012,1062,1044,916,895,1132,1312,1078,751,422,355,415,798,1356,1346,1070,1090,1438,1488,1314,1298,1388,1424,1126,1030,1064,1194,1356,1494,1530,1594,1686,1742,1542,1426,1208,993,864,817,836,1156,1372,1296,1152,1180,1098,841,426,463,953,819,943,973,968,1036,833,631,459,386,383,340,475,486,385,554,1278,1372,1584,1576,1246,1232,1216,1184,1102,1136,1224,1334,1356,1346,1450,1288,1952,1676,1214,1130,1150,1302,1284,894,994,1206,1026,1396,1256,1054,929,580,879,745,623,528,335,268,310,375,533,679,822,944,1094,954,487,323,297,522,894,940,811,828,740,372,340,522,458,505,717,762,731,1064,1186,883,1306,1622,1009,785,907,1186,1332,1276,717,764,927,997,912,802,772,1013,1304,1344,1270,1086,794,579,462,362,242,391,695,869,1090,1023,988,1070,996,1096,1164,996,1084,1296,1034,1016,1112,1128,884,880,1038,1210,943,603,467,336,289,431,518,506,467,543,526,395,544,891,1003,1078,1100,1088,1200,1294,1094,960,1236,1262,1274,1094,702,675,1084,978,1040,700,787,940,963,1148,1196,1476,1504,1156,828,698,510,713,996,874,903,1144,1482,1560,1392,1304,1136,992,991,1302,1574,1360,1098,1192,1346,1244,843,789,1190,1005,559,624,832,993,1014,1036,953,948,974,895,877,713,450,595,903,867,759,510,274,274,314,363,1048,1224,1066,1172,980,572,469,501,733,1038,1428,1476,1026,1040,888,802,727,812,1516,1526,1196,1196,1050,664,943,1206,1346,1134,614,629,739,1070,1400,1174,938,1088,1440,1362,1366,1268,1378,1776,1574,1462,1518,1590,1208,1152,1444,1188,680,691,828,1102,1198,1394,1170,1200,1284,1560,1346,1023,767,714,997,1082,1082,1492,2054,1858,1418,1368,1366,1114,1186,1021,591,774,1118,1360,1232,913,910,1284,984,949,1244,2142,1860,1276,1196,976,902,921,794,979,1310,1328,1070,1238,951,583,1056,1030,608,537,1016,1362,1410,1396,1466,1368,1124,812,489,358,388,735,950,918,648,585,846,1192,1096,1190,1007,1023,944,703,672,894,1254,1332,1316,1526,1376,1098,919,993,1284,1482,1410,1232,1250,1066,1130,1282,1298,1248,1342,1312,797,429,429,392,415,655,892,548,559,863,1012,1290,1394,1364,1528,1280,1134,1222,1060,1015,1410,1420,1336,1416,1048,533,477,393,508,467,473,465,557,555,487,402,345,310,286,291,297,292,300,318,339,321,317,329,368,497,503,479,434,378,377,404,444,572,683,709,676,667,724,855,763,725,860,902,852,741,692,619,579,678,717,1013,1250,2154,2800,2132,2114,2054,1376,1212,618,582,559,579,737,907,995,669,534,644,930,1026,730,400,380,354,458,593,695,604,483,642,747,1019,894,464,476,576,620,703,722,927,1014,814,490,389,884,1404,1344,1094,1162,860,386,685,971,972,1246,758,538,923,1344,1076,868,991,1040,755,523,510,588,521,526,693,703,567,420,352,343,342,402,450,451,368,343,348,296,350,426,399,350,329,334,338,330,306,303,308,386,383,357,352,338,349,354,326,306,294,292,283,277,282,294,288,286,310,292,277,280,272,255,257,263,266,278,297,304,320,333,340,314,333,326,312,423,583,567,402,277,290,355,305,296,309,303,271,283,278,263,278,283,261,261,264,277,300,319,297,277,264,279,311,369,410,308,286,282,273,266,267,274,254,262,262,271,280,267,271,269,291,295,305,296,296,292,281,292,297,272,278,276,285,327,343,339,363,365,357,360,346,325,350,329,307,313,333,344,347,343,326,364,426,699,1332,1598,1514,1546,1210,747,609,661,938,1036,1064,1154,1188,1370,743,749,1076,1334,1464,1254,1340,1182,991,1586,1786,1496,1426,1800,1720,1234,952,855,841,1140,1380,1332,1290,1288,1344,1280,1076,1142,1124,794,524,484,607,814,936,994,825,569,490,450,705,985,1046,1174,1340,1454,1232,868,938,1188,1288,1216,1172,1184,1168,836,780,734,658,593,415,391,458,590,822,1023,837,416,762,1236,1364,1172,1166,979,890,592,487,564,752,935,1046,1106,996,698,856,1072,1002,855,725,783,913,790,774,979,819,772,944,912,1370,1562,1120,816,893,1202,1068,775,624,1001,1284,1296,1192,1202,1334,1388,1436,1182,1354,1322,1256,1422,1552,1448,1268,1114,891,791,1482,1960,1754,1194,1218,866,454,424,717,747,522,432,441,503,580,684,1056,634,733,1274,1312,1054,655,386,341,334,338,343,343,330,308,310,310,331,427,615,709,566,398,369,389,404,401,328,328,451,391,327,345,364,355,334,334,342,332,355,379,414,390,389,472,575,572,451,317,390,644,675,446,304,303,422,456,433,423,482,482,428,470,596,561,469,503,663,1084,1028,838,670,900,1142,1294,1258,869,580,536,534,586,680,720,729,720,669,422,688,779,535,437,625,998,1324,1198,1040,1144,1178,1140,946,1074,1246,1376,1332,1316,1368,1332,1164,1054,1118,839,670,970,1240,1258,1310,1388,1106,755,825,1456,1518,1058,1292,1092,1208,1252,1076,1042,885,788,890,941,858,680,764,784,874,1015,741,728,661,660,571,470,677,826,826,1014,756,424,415,454,580,658,477,783,861,557,639,936,1132,1092,1212,1302,1106,1110,1782,1748,1820,1650,1632,1572,1152,891,937,907,972,858,752,890,856,880,849,681,890,1001,1134,911,797,875,763,1010,1120,1130,1330,1052,879,1164,1220,1001,741,966,1220,1246,850,517,576,671,814,587,524,668,811,1064,1572,1610,1302,1088,1124,1006,823,803,500,418,811,940,877,710,603,879,1240,1188,1062,1010,749,543,407,367,422,449,383,375,291,570,1150,1556,1426,1318,1388,1188,1156,1246,1013,963,1194,1116,788,446,574,1020,940,614,597,894,1544,1820,1570,1310,1232,1118,898,677,891,1150,1172,906,495,446,441,303,272,377,410,455,602,688,650,681,680,615,580,526,410,339,326,298,309,314,372,419,547,1412,2104,1444,1076,1266,820,528,484,458,371,335,485,872,1318,1560,1146,1096,1234,1042,1038,1176,1220,1378,1058,1012,965,597,490,643,597,554,695,694,495,491,835,1026,858,649,841,770,583,509,533,597,641,1134,1354,1336,1438,1422,1468,1444,1366,1324,1090,895,840,842,930,1034,1084,1212,1302,1130,1024,959,706,617,650,594,535,592,628,572,663,775,803,841,1028,777,682,746,839,655,496,509,518,506,442,437,515,593,622,675,1032,1142,952,852,1013,862,1070,1236,751,348,390,390,394,370,340,389,435,418,383,402,347,645,570,471,759,910,720,502,471,511,506,516,495,479,492,619,940,1026,1003,1126,1052,1086,973,894,1240,1920,1892,1284,1456,1162,761,800,882,730,436,615,1009,737,419,458,466,395,393,378,380,420,581,706,713,1112,838,808,715,1194,1346,675,361,385,472,648,702,482,469,400,330,308,300,306,287,352,370,352,370,541,750,711,410,541,592,402,343,424,404,501,547,401,400,475,490,458,413,359,358,313,339,562,885,1062,1120,1176,1248,1224,1146,1238,1408,1266,780,673,813,1032,1122,1166,1184,1096,1072,1120,1162,1242,1140,1180,1294,1400,1604,1142,632,434,415,563,526,403,463,430,491,607,775,867,827,586,422],[289,296,288,295,285,294,341,353,380,360,309,365,340,354,403,325,291,276,265,282,337,297,326,342,370,405,356,363,439,479,464,556,991,1062,934,872,986,1000,967,792,590,485,601,632,481,419,496,594,586,532,330,272,318,357,349,309,285,282,316,321,361,634,1220,1216,1082,1278,1168,1080,1460,1340,803,591,575,539,684,1102,890,492,419,694,925,975,1162,1116,893,930,1052,1054,1246,1254,1132,1334,913,418,339,360,346,474,1048,1522,1112,1162,1314,2522,3624,1172,560,742,888,1376,1580,1340,1002,723,892,1206,1098,1182,1504,1754,1866,1804,1622,1424,1400,1532,1608,1794,1774,1898,1478,749,587,466,501,447,775,1108,1270,1058,702,467,560,590,474,427,401,401,422,420,691,1216,1003,475,572,969,1214,1176,819,511,414,397,437,709,750,599,392,355,307,287,299,303,308,241,316,367,400,519,896,890,700,449,278,288,283,302,315,328,317,354,383,443,467,421,338,556,824,859,713,792,949,664,460,549,703,941,865,899,804,648,662,969,1188,843,686,484,301,297,280,347,378,608,783,772,754,790,702,551,399,321,433,495,467,414,367,383,449,585,744,1092,1288,1142,1258,1622,1582,956,681,720,642,526,465,355,311,480,632,807,1172,1152,1162,1100,1114,1166,934,929,730,896,1046,813,979,905,633,741,1020,717,827,1052,968,1172,969,980,1164,1318,1386,1522,1450,1148,1204,1464,1868,1520,970,824,680,818,1056,1138,1194,1054,1140,1110,1250,1108,1480,1256,993,847,564,507,495,1010,1332,1088,1034,1146,1324,1434,1272,1232,1382,1656,1402,1148,988,1158,1418,1250,1306,1372,1534,1678,1638,1700,1744,1690,1592,1300,1190,1310,1338,1184,1184,1310,1306,986,468,758,1166,888,1100,897,842,1138,1374,1320,678,404,378,491,626,502,465,844,1470,1320,1248,1044,874,821,785,894,1116,1248,1058,1420,1308,1342,1244,1328,2208,1752,1206,1358,1188,1184,1142,778,989,1010,875,1306,1474,1286,832,633,797,811,929,973,373,397,368,460,790,1002,898,843,927,859,714,599,429,474,869,1016,885,984,957,522,492,786,961,1084,1260,1346,952,959,1290,1318,1590,1632,1150,1118,1066,1018,854,562,341,581,930,1007,867,901,736,958,928,985,930,757,631,842,746,466,426,672,885,798,980,1012,999,997,959,1136,1132,1044,1072,960,902,949,985,1060,592,690,1366,1524,888,523,397,314,357,433,409,354,322,363,465,534,805,922,1007,877,927,1202,1520,1362,1072,915,619,763,1062,768,577,692,927,670,706,757,671,667,951,1532,1970,1796,1456,1560,1196,849,556,707,1007,767,907,1626,1512,779,866,1090,982,747,871,1328,1122,1090,1288,1176,1160,783,688,1072,1080,771,550,646,830,890,639,607,569,896,1100,1030,720,506,672,1052,1194,1072,968,508,325,283,314,569,1100,1032,1088,1194,905,649,611,882,1316,1172,1278,1406,1016,858,832,557,699,1288,1522,1404,1266,1362,1468,1030,883,701,821,847,938,1232,1228,1196,1202,1376,1338,1516,1588,1294,1028,1078,1416,1752,1714,1284,1336,1326,1028,990,1338,1302,930,1094,1378,1592,1166,1208,1110,1184,1400,1542,1378,1266,1172,1036,1106,1036,1200,1334,1372,1276,1422,1550,1240,780,1174,1332,948,1028,1206,1318,1218,1196,1124,1238,1096,1318,1278,2150,2046,1264,1056,894,897,959,926,1214,1492,1292,1188,1118,537,459,901,811,567,885,1172,1350,1626,1490,1354,1328,1342,984,787,547,502,807,839,677,512,615,1082,925,927,1078,894,1200,1102,971,1028,972,1206,1402,1578,1382,993,806,634,572,1216,1482,1009,1080,1332,1382,1278,1132,1226,1220,1114,887,456,488,449,584,519,536,868,969,1056,1260,1094,1040,1058,1162,1220,1384,1122,937,1092,1566,1316,1106,1250,1200,872,435,360,382,477,442,480,480,511,451,457,425,339,323,299,283,280,302,306,311,303,293,299,320,325,383,485,516,451,444,422,547,572,641,744,735,663,637,673,768,777,796,884,815,675,548,521,797,1574,1084,1050,1988,2304,2206,1994,1704,1728,1638,1180,1458,833,606,609,563,769,797,719,662,738,874,945,882,534,511,450,329,493,801,1028,569,385,460,395,692,825,544,579,691,589,528,658,846,838,794,572,401,543,782,955,991,828,435,548,776,872,937,857,821,739,1064,1322,1116,988,1300,1414,1009,576,447,421,424,490,593,531,398,328,316,315,321,381,401,412,335,315,322,310,346,370,354,330,326,332,368,394,350,314,306,358,360,335,334,362,375,328,269,253,259,267,264,262,275,280,290,283,291,309,297,279,272,273,284,276,295,270,290,302,336,339,349,342,320,312,423,620,545,349,261,331,388,373,331,350,348,289,277,273,270,281,289,281,286,268,262,280,290,296,281,269,267,303,325,493,583,354,272,299,280,273,290,284,266,270,281,288,284,287,298,295,344,341,338,338,326,303,286,310,317,306,303,308,327,346,357,332,372,357,346,358,352,336,367,366,332,315,336,358,350,352,350,391,731,1324,1622,1572,1540,1204,656,567,583,644,1120,1158,1124,1214,1340,1484,1004,1356,2186,2314,1896,1610,1544,1282,1204,1512,1512,1426,1218,1262,1262,1160,977,840,874,1104,1460,1460,1234,1258,1278,1156,1190,1346,1188,844,818,680,607,645,688,736,571,407,448,655,1002,949,959,1298,1500,1390,1050,1002,1144,1472,1642,1256,1044,922,890,662,838,1058,750,552,563,543,532,724,984,1148,993,689,916,968,897,820,959,1002,705,434,473,536,725,995,1204,1210,957,805,869,1406,1394,1250,849,511,510,410,536,641,549,758,861,809,1164,1268,801,721,992,1218,1176,1001,1070,1182,1015,1202,1182,929,1180,1498,1708,1320,1220,1522,1716,1550,1354,1112,966,896,922,1062,1852,1760,1276,854,625,575,486,492,554,597,662,636,820,932,841,897,1074,1376,2032,2122,1732,1238,615,400,428,406,334,333,345,325,320,314,318,364,384,437,487,515,506,477,483,509,483,398,506,515,383,346,345,341,335,320,311,330,339,318,346,378,377,379,450,505,415,353,298,280,361,414,365,301,295,393,375,341,394,498,533,496,524,647,565,487,531,566,619,554,597,684,1116,1046,990,1274,1348,877,633,637,703,709,683,723,727,698,534,729,960,736,585,986,1250,1362,1178,666,879,1278,1306,1294,1332,1262,1396,1522,1476,1466,1302,1332,1244,823,997,912,1134,1230,1120,1024,1180,1228,1092,1013,1292,1232,1021,1118,870,1076,1198,1100,735,806,1248,1296,1138,824,657,566,503,534,565,534,690,909,725,408,443,777,874,1118,1340,905,500,412,456,782,971,909,1500,1262,783,595,523,575,666,946,1110,890,849,1670,1770,1730,1702,1714,1650,1134,910,1324,1620,1362,1044,999,918,855,801,786,759,1030,1174,1114,546,689,1230,1236,1376,1430,1178,1172,1168,1146,1202,1050,619,517,1112,1534,968,500,367,337,475,852,705,502,853,1278,1620,1498,1358,1388,1302,1430,1442,1364,1420,912,537,838,1100,1164,960,733,1018,1360,1158,940,972,543,417,391,355,395,403,387,367,313,403,805,1160,1136,1108,1046,794,1206,1516,1382,1390,1246,1023,612,395,570,674,724,892,1044,1334,1698,1580,1316,1102,1128,1230,1050,823,1186,1648,1570,1110,557,484,344,281,360,443,452,484,709,714,651,678,604,574,723,768,612,525,438,390,305,397,755,917,584,680,1044,1182,1582,1696,810,485,459,722,529,363,608,919,1250,1316,1128,1224,810,624,775,758,582,537,524,638,858,716,473,441,566,621,688,591,613,654,810,1284,1168,731,1023,874,636,799,855,630,703,1138,834,687,843,1090,1250,1392,1448,1454,1486,1480,1370,1302,1192,1028,1020,1056,930,986,1114,1078,1140,1206,1110,1092,1052,991,936,959,921,751,691,865,976,794,771,672,637,634,612,628,664,678,705,647,600,532,586,669,706,866,849,779,832,670,796,928,727,392,430,426,409,375,385,461,441,365,328,336,365,347,469,998,1122,869,693,503,579,633,509,506,655,845,903,925,1028,1104,1202,1088,980,1094,1176,1120,1007,1230,1220,1168,1142,1040,1058,1092,1198,1102,876,873,884,692,510,505,507,444,431,413,451,516,731,770,727,977,916,1122,1252,1172,989,867,656,557,347,620,929,680,490,406,344,290,289,294,314,390,417,377,443,680,867,1046,708,919,832,482,331,317,357,525,506,339,318,424,428,410,407,293,256,302,256,286,487,800,1048,1140,1284,1348,1444,1480,1422,1122,891,885,808,941,1146,1116,1104,1170,1224,1196,1200,1272,1214,1222,1338,1384,1488,1274,859,745,943,1290,886,435,376,403,415,643,766,869,875,612,428],[291,232,252,295,325,397,412,383,424,350,336,457,438,401,337,310,273,257,254,263,298,314,350,376,402,424,448,486,487,496,559,533,615,855,869,774,795,791,886,861,864,459,444,498,355,367,378,426,544,509,333,286,332,365,335,295,275,281,332,390,359,867,1094,761,765,1064,1120,1152,1108,1008,1028,819,595,567,846,1284,941,520,377,369,400,709,1126,1026,915,844,1010,972,704,755,908,971,760,418,330,322,456,673,689,720,414,501,973,1932,1806,742,528,550,935,1390,1578,1512,1330,1126,1248,1610,1688,1906,2076,1926,1606,1574,1456,1250,1522,1470,1582,1606,1234,1376,1340,1116,696,543,650,869,1080,1170,1326,1114,968,814,984,781,501,436,430,414,432,480,758,1206,1180,699,679,869,1116,1019,628,529,454,446,515,735,852,595,343,331,332,538,537,381,332,273,415,468,414,505,608,710,777,475,292,247,269,283,305,350,313,467,505,459,410,396,412,440,540,730,644,852,897,792,691,546,724,946,693,517,656,781,793,1108,1068,1064,870,551,301,263,261,240,266,368,480,631,700,647,560,524,386,377,493,474,388,349,373,428,600,798,966,1088,947,797,1332,1516,1102,760,683,507,481,527,465,367,419,498,529,711,835,1126,1258,1288,1184,1034,1100,997,695,882,1312,1076,957,694,697,1058,998,595,673,944,1026,1362,1494,1198,1034,1324,1238,1278,1088,1108,1094,1078,1274,724,415,485,447,428,540,774,880,761,812,1128,1804,1622,1284,1060,1090,865,882,799,509,719,931,1058,1272,1242,1216,1430,1384,1274,1242,1332,1290,1154,988,1258,1392,1180,1092,1126,1454,1478,1272,1374,1698,1842,1764,1750,1710,1592,1506,1542,1664,1714,1472,1284,907,1148,1278,1204,1256,1036,794,741,786,823,533,365,318,484,651,585,552,940,1670,1478,805,785,1032,1152,1044,1038,793,941,744,1038,1110,1196,1270,1636,1816,1408,1358,1250,1003,948,1256,826,1182,1314,1372,1494,1560,1380,1196,1178,1028,951,868,893,638,697,427,607,857,806,504,476,618,738,950,980,462,386,798,1074,1162,1256,1013,837,949,1142,1256,1244,1300,1248,630,577,954,1062,1324,1294,1009,890,941,719,408,319,340,467,662,731,702,922,904,904,758,723,742,463,571,898,790,499,574,691,613,439,698,856,841,768,775,942,988,1048,1072,1021,1086,939,835,571,455,462,868,847,613,523,441,396,452,407,399,443,494,658,702,854,952,833,874,1000,855,964,1478,1774,1470,782,475,587,709,633,574,994,964,619,678,735,724,795,834,1386,1822,1250,1350,1292,774,515,530,639,651,696,1136,1560,1152,718,927,1086,813,771,1256,1152,711,899,959,948,998,608,626,861,734,497,607,1058,988,896,872,869,891,1024,1146,1090,891,822,1100,1246,933,808,919,712,457,316,357,885,1136,955,1024,1170,1232,971,851,1050,1212,1198,1112,1260,1230,1134,979,663,727,1100,1166,1238,1544,1770,1434,1212,798,529,717,1020,1120,1100,1026,1003,1074,1288,1416,1506,1636,1200,1184,1050,1094,1582,1632,1292,1276,1408,1060,787,1288,1200,1058,1352,1628,1488,999,974,1234,1252,1324,1610,1600,1438,1368,1262,1354,1190,1234,1490,1308,1312,1362,1210,1094,935,1236,1200,841,1082,1278,1184,1378,1318,1134,1334,1272,1050,1070,1318,1128,908,1112,1292,1146,867,702,1074,1142,925,959,748,446,327,404,412,697,1060,1204,1102,1644,1470,1310,1340,1190,802,833,672,689,1126,1142,896,579,880,1442,1248,1094,868,617,771,820,1078,1274,1300,1230,1182,1360,1204,861,572,461,407,731,1026,1274,1344,1120,1158,1154,1046,1152,835,874,576,504,525,451,473,486,584,926,1330,1272,1278,1170,722,749,927,928,1028,1030,1040,1176,1158,1060,1010,1001,989,702,420,369,359,311,385,583,719,690,616,598,503,368,332,311,289,276,321,292,282,294,298,292,293,304,334,336,327,391,530,573,625,639,680,751,719,651,671,740,780,704,672,744,598,457,424,469,877,2156,2318,2434,3134,2876,2068,1770,1450,1182,1286,1582,1586,1190,810,633,758,940,954,962,797,703,893,1006,797,491,638,504,360,475,885,1144,684,437,496,366,442,793,705,558,610,482,415,488,672,1042,1096,766,579,387,488,883,875,837,559,602,851,941,758,694,704,888,1250,1264,1172,1454,1382,1160,974,555,382,382,394,385,396,379,341,346,337,327,345,372,349,351,336,293,284,314,326,346,350,335,324,324,308,321,379,322,322,349,326,302,299,311,304,295,264,268,274,280,276,266,273,279,284,277,361,425,332,297,274,269,278,276,308,350,351,367,382,364,356,350,374,465,572,439,309,278,282,321,356,343,350,392,362,293,266,258,263,258,255,273,310,258,261,271,274,270,256,261,283,332,391,451,386,338,282,296,289,279,292,290,266,269,294,322,342,377,351,326,335,342,362,381,332,320,349,400,486,491,536,485,341,385,362,330,376,370,355,356,375,392,392,408,402,364,348,358,347,335,427,780,1330,1626,1546,1490,1272,843,662,636,660,667,1092,1164,1274,1212,1380,1528,1194,1438,2100,2330,1974,1692,1486,1252,1294,995,1314,1552,1490,1512,1488,1346,1312,1316,1268,1280,1666,1434,1642,1324,957,1015,1406,1542,1474,1282,1326,1114,670,561,760,477,417,379,653,912,680,699,1192,1498,1510,1170,1048,1126,1023,1238,1534,1448,1148,893,1056,901,687,608,661,702,634,523,604,822,1268,1136,949,659,702,670,579,670,916,974,619,359,391,564,721,949,1184,1296,1106,944,767,902,1250,1470,1118,800,670,444,428,430,725,783,684,761,852,913,852,1004,1070,1036,1140,1162,874,914,704,1002,1086,1018,1076,1488,1910,1670,1106,1262,1732,1336,1122,1232,1028,661,667,592,436,475,842,745,424,487,514,527,500,736,924,1076,1310,1124,971,1040,1224,1872,1986,1476,1288,1094,548,460,531,458,385,371,340,331,333,334,359,369,454,551,420,531,573,479,421,514,547,486,669,705,504,401,383,395,370,308,308,327,350,370,388,397,366,341,405,440,404,355,314,304,312,317,325,302,298,318,341,373,484,573,523,474,557,631,535,518,498,479,404,441,487,807,1338,1552,1338,1244,1400,1344,908,676,725,726,521,483,571,792,934,885,1042,724,768,1192,1356,1380,1162,944,1164,1392,1340,1268,1264,1320,1422,1364,1158,1194,1194,1292,1238,1264,1194,916,850,930,722,658,1122,1260,966,920,1084,998,924,913,948,1234,1344,1220,724,670,1010,1158,1118,651,691,683,486,378,443,538,755,961,817,423,398,623,889,1272,1302,1200,650,448,487,861,1026,981,1114,974,547,298,348,453,590,550,866,713,656,1366,1732,1732,1748,1774,1714,1302,1001,1370,1598,1110,860,819,725,752,839,826,964,956,948,827,405,855,1282,1482,1492,1338,1264,1174,1130,1220,1164,974,838,693,573,943,979,625,390,439,524,751,718,687,1066,1488,1522,1540,1936,1748,1476,1486,1572,1450,1396,1020,880,1172,1130,815,738,800,985,1186,1166,931,1144,727,465,422,406,414,389,362,346,309,332,679,1220,1238,1168,1322,1078,1248,1368,1566,1532,1190,949,681,558,569,363,529,1168,1744,1758,1620,1498,1188,1166,1342,1198,990,914,1104,1484,1204,1092,700,851,613,511,509,478,463,477,552,552,573,680,721,880,865,467,452,539,498,444,464,480,1002,1302,767,601,513,735,1294,1946,1058,536,389,405,409,389,843,1374,1390,902,863,995,602,380,573,632,547,537,499,568,822,876,643,621,656,621,509,341,561,904,1050,1848,1384,806,749,554,629,686,959,1100,1048,1360,991,843,741,718,898,1028,1096,1258,1336,1318,1422,1486,1500,1536,1470,1322,1222,1176,927,849,745,747,986,1001,930,1062,1138,1092,1048,1130,1148,1180,1202,1278,1164,1030,979,1007,1102,1184,1140,1118,1226,1252,1140,1030,825,802,754,873,737,741,911,739,1062,987,666,429,460,440,422,426,478,510,474,390,344,359,383,364,471,958,1068,709,625,477,581,680,601,529,526,624,794,825,756,717,651,760,963,1046,961,786,731,734,625,596,703,788,653,644,868,980,924,799,639,656,618,548,513,437,457,410,442,374,334,436,724,990,897,1108,1484,1292,1178,1052,691,652,487,486,1023,1192,791,482,377,382,461,305,309,383,387,367,367,426,788,1056,669,736,1054,817,345,364,414,434,357,310,360,469,622,859,675,341,270,209,225,249,303,506,723,689,924,1234,1396,1320,1304,1028,905,1042,1004,984,1078,1132,1278,1460,1318,1292,1250,1268,1344,1478,1486,1312,1376,1404,1166,1190,1488,1904,1112,503,391,349,705,1164,970,810,894,758,531],[316,246,266,297,322,410,458,463,485,380,395,433,418,386,396,360,292,257,244,270,281,278,332,412,410,426,444,459,491,543,573,520,477,551,593,735,1116,1216,1152,901,674,415,434,502,372,316,336,321,372,411,291,286,315,341,280,220,241,287,309,330,324,591,704,609,551,559,863,954,673,637,979,1048,658,467,647,688,554,484,461,415,425,574,586,791,734,613,769,1058,828,579,695,888,749,630,505,337,372,502,497,484,434,349,556,968,1080,952,780,839,1108,1394,1538,1504,1356,1340,1354,1616,1786,1850,1590,1274,1398,1478,1066,675,880,747,1212,1242,957,954,1140,1158,887,1068,1282,1274,1460,1418,1236,1262,1344,1110,1156,1212,811,499,445,413,403,462,605,846,1008,899,1238,885,505,500,681,692,573,472,447,602,658,532,406,306,365,879,767,434,322,394,550,539,455,530,558,642,575,321,249,226,248,304,392,397,335,398,486,477,403,392,420,650,868,833,578,913,781,924,1064,844,874,1108,804,492,593,560,571,888,987,973,854,469,270,233,250,276,289,308,339,506,573,424,401,617,647,495,490,534,484,379,345,428,612,971,1116,823,695,830,1118,860,496,407,461,570,685,690,543,377,396,557,630,851,982,1248,1142,1082,689,708,1026,874,758,977,1156,1021,1036,886,791,1142,1204,827,645,630,962,1470,1486,1130,1264,1264,1088,1050,1098,1400,1176,970,979,793,442,532,808,594,367,435,824,1202,808,958,1390,1166,793,979,1242,1272,1136,620,430,398,683,1086,1358,1030,1258,1434,1466,1324,1194,1130,988,935,1056,1126,1136,1282,1180,1366,1434,1244,1146,1078,1182,1430,1626,1672,1724,1676,1644,1634,1614,1580,1372,1426,1260,1192,1194,1180,1252,1172,700,620,897,926,532,582,455,327,343,445,549,995,1500,1206,1064,1224,1248,1320,1148,1282,940,982,840,841,1098,1294,1314,1262,1108,1136,1440,1366,875,853,1128,960,1238,1476,1428,1426,1376,1114,1482,1198,858,735,799,837,616,561,504,568,596,518,438,446,436,783,1098,976,1050,1002,1122,1218,1272,1238,1023,896,892,926,937,787,786,993,698,505,917,808,591,843,932,1146,1326,861,382,341,408,506,672,452,393,718,828,791,796,1003,952,816,943,852,910,615,434,493,464,300,521,697,726,677,728,873,949,982,918,1072,1158,995,836,758,693,450,477,726,906,791,475,485,438,422,458,882,971,1198,1144,1246,1144,886,1078,1306,902,662,811,1258,1168,730,473,576,733,589,795,1138,792,578,644,788,990,1126,1262,1278,879,884,1314,863,415,365,350,484,701,708,1174,1428,1052,555,531,1018,1350,1350,1218,1036,873,865,986,1266,1366,1056,926,985,606,495,734,1120,856,970,1190,1318,1354,1058,954,970,1046,1102,1450,1216,923,764,1054,1154,966,705,633,933,1052,1144,1352,1190,1054,792,621,589,1142,1406,1258,1382,1392,1204,1050,912,1026,1180,1148,1230,1466,1476,1226,1252,1102,717,643,852,900,806,623,1102,1342,1290,1456,1510,1494,1060,895,994,1334,1504,1616,1502,1450,1650,1172,1118,1372,1168,1068,1046,1062,1182,1248,1274,1326,1310,1490,1476,1400,1418,1238,1164,1028,963,1106,1222,1174,1410,1288,1224,1282,1314,1408,1226,1114,1322,1434,1114,1130,1126,1166,1350,1212,1212,1382,1042,1030,1144,1370,1226,1324,974,753,1118,1246,1013,748,673,609,662,678,432,780,1060,1048,763,1172,1536,1164,869,974,868,716,624,931,1240,1284,1034,730,826,1226,1452,1304,1122,858,908,1021,1072,1092,1186,1218,1212,1222,1188,1058,758,417,351,389,493,893,1124,876,1034,830,1052,1146,847,675,444,465,470,483,493,558,752,917,1198,1316,1126,1036,907,1072,1148,988,1082,1202,1404,1580,1244,1146,1080,949,539,435,369,318,289,299,387,482,581,758,839,822,597,437,355,319,321,315,300,276,275,292,293,290,292,299,308,345,328,375,467,543,570,631,712,760,733,683,651,721,761,738,747,660,518,514,572,564,640,1466,2512,3208,3228,2524,1738,1170,944,1310,1416,1062,1170,1422,1116,875,1168,1368,1400,1370,945,719,844,1056,777,594,572,489,725,1086,1442,1422,825,561,855,570,481,864,812,687,866,782,661,741,866,1046,1052,763,727,591,490,709,580,669,690,716,849,877,874,703,718,893,1074,1290,1306,1378,833,520,532,436,382,397,396,356,350,357,332,349,330,327,333,389,417,375,316,285,287,293,301,328,340,340,348,338,321,309,347,307,305,311,303,278,293,324,310,288,276,271,279,290,284,277,285,294,297,313,363,387,304,305,271,275,267,287,333,445,529,521,455,452,478,532,568,494,453,305,271,282,294,307,333,336,334,373,388,325,264,268,272,276,296,310,310,273,255,260,260,249,248,266,281,330,433,496,413,332,302,295,285,280,281,287,291,292,298,311,335,375,354,321,302,324,353,375,379,407,510,818,1144,1240,1382,1130,701,507,402,361,347,359,357,328,342,387,362,398,416,366,352,353,384,485,811,1350,1610,1712,1678,1260,892,918,996,921,1114,890,980,1340,1294,1504,1804,1440,1042,1086,1570,1886,1504,1234,1448,1402,1390,1154,1288,1454,1538,1800,1594,1422,1442,1144,1118,1354,1494,1252,1538,1146,922,1154,1238,1350,1480,1288,1186,1478,1288,952,621,425,530,749,1136,1156,735,914,1412,1586,1542,1258,1248,1234,1160,1356,1526,1532,1013,933,1278,1124,562,754,1122,874,571,483,860,1015,1176,767,487,411,546,911,1006,672,875,728,385,408,537,1106,1034,898,1064,1260,1194,902,686,910,1202,1194,1132,1278,1076,739,714,528,719,741,1042,1204,899,778,968,1072,1140,1138,1054,823,612,796,856,957,1202,1354,1156,1342,1800,1588,1092,1210,1588,1302,1134,1170,931,580,489,482,377,405,544,503,381,444,615,742,1016,1134,1040,1230,1108,840,980,1156,1428,1648,1074,736,869,804,546,421,430,397,479,539,429,367,348,369,390,338,398,477,696,764,742,516,351,451,518,570,644,582,627,520,392,447,383,315,303,310,337,356,343,338,334,348,366,443,421,434,476,398,340,316,307,303,298,305,318,325,402,473,484,459,514,498,432,461,449,395,426,456,477,695,1362,1708,1408,1400,1288,1248,1208,766,612,626,435,383,365,709,1214,1208,1130,961,839,1074,1310,1152,1070,1220,1328,1410,1550,1450,1360,1282,1244,1476,1256,1130,1232,1180,1116,1376,918,509,714,999,847,979,1374,948,608,561,821,788,812,777,1068,1112,878,991,666,555,736,929,784,601,1116,1172,877,640,444,464,568,753,789,802,912,902,908,1140,1224,1094,677,451,379,525,771,705,570,392,266,319,369,418,591,561,786,752,576,891,1400,1714,1800,1806,1748,1400,929,879,810,776,714,578,532,645,790,819,739,768,902,656,426,690,1236,1290,1280,1048,923,924,1078,1316,1194,896,1462,1288,686,518,537,382,425,517,491,375,418,742,1344,1440,1046,1228,1638,1302,1034,1542,1598,1290,1150,1034,948,1106,1088,738,553,719,954,1066,1216,1260,1378,926,524,478,479,404,362,351,354,337,321,498,1021,928,805,1108,1348,1370,1206,1278,1504,1360,940,771,572,399,390,511,1094,1582,1426,1412,1388,1294,1332,1210,954,963,1016,1270,1534,939,781,727,796,889,948,868,633,530,518,436,424,564,741,890,1076,665,405,375,352,506,774,1023,1124,1098,623,414,347,316,388,534,1050,1046,698,440,383,343,374,948,1812,1480,897,884,952,636,440,719,684,579,824,811,762,1058,1118,664,724,570,480,387,350,554,1064,1410,1438,1116,941,851,811,907,558,857,971,1284,1214,1000,1124,1240,1208,1092,1088,1136,1026,974,1048,1108,1166,1288,1300,1410,1456,1372,1366,1358,1268,1178,1122,996,844,824,761,656,658,749,695,694,847,1011,958,881,924,960,998,971,924,786,908,999,988,1090,1224,1310,1360,1122,956,884,1032,1054,811,1030,1036,614,493,514,477,443,463,531,521,466,383,367,438,473,534,594,769,833,928,969,977,1086,1112,1034,978,980,1052,1090,1068,1032,1110,1238,1280,1216,1148,1204,1250,1180,1100,1096,1146,1102,984,933,921,792,742,719,658,683,733,745,758,585,556,577,528,380,300,378,568,799,790,584,829,1238,1366,1080,794,596,522,448,421,661,1108,1104,715,464,467,532,335,356,500,419,419,333,272,520,719,514,591,1074,947,479,481,423,464,379,328,402,521,1042,1488,981,495,536,628,423,296,389,447,501,504,625,915,1108,1250,1288,1114,1046,1136,1180,1104,1140,1244,1278,1324,1222,1204,1204,1274,1388,1462,1410,1246,1228,1410,1360,1436,1502,1352,749,473,449,338,613,1170,1284,748,745,772,521],[292,318,383,432,379,340,348,307,282,335,401,368,310,308,348,350,327,283,242,278,332,353,286,329,312,343,410,418,495,578,598,633,573,615,631,632,738,870,1032,949,741,592,486,455,380,287,242,201,329,394,285,250,260,280,250,225,235,248,238,256,365,504,589,637,590,572,617,559,624,720,673,846,736,565,513,562,412,418,589,661,670,678,879,1005,1250,1492,1360,1486,1156,493,482,637,679,856,544,377,538,483,410,453,435,454,520,696,1126,1572,1450,1404,1406,1606,1554,1564,1630,1748,1748,1670,1538,1216,735,755,1284,1246,852,666,1003,830,888,1058,824,694,926,1180,1342,1380,1422,979,896,853,951,934,1110,1102,1114,1276,938,559,512,484,433,403,445,581,656,805,952,921,841,616,717,880,875,689,613,593,684,568,357,255,280,841,732,322,853,1282,841,587,400,548,588,531,355,287,248,230,234,287,412,450,426,457,469,423,406,388,593,1072,864,643,645,1092,1328,1216,962,662,543,522,554,709,900,750,789,995,787,576,387,217,231,234,240,277,295,334,418,516,541,425,387,551,660,540,479,597,663,554,336,348,492,866,1058,954,681,942,979,453,354,380,412,540,940,1660,701,434,371,453,910,973,1096,1192,989,884,761,614,886,700,861,1190,1178,852,930,940,918,1126,1096,1052,741,529,960,1176,1106,981,1302,870,904,937,1060,1294,1354,1170,810,509,440,543,753,552,415,439,1100,1432,767,753,1054,858,568,620,1009,1064,911,678,495,394,557,976,1036,1052,1342,1242,1242,1248,1160,1112,1048,1052,1374,1146,1190,1174,1274,1230,1134,1028,1024,1084,1080,1116,1262,1646,1812,1630,1674,1688,1696,1636,1488,1404,1412,1372,1234,1170,1190,1182,1104,1304,1256,800,699,914,595,493,686,882,1132,1188,1064,1132,1312,973,827,838,778,1030,1018,915,937,1036,1400,1450,1344,1190,1146,1038,1158,1184,1016,1042,1278,1410,1306,1324,1340,1484,1410,1218,1434,1172,1058,916,924,1166,1098,911,863,868,677,497,634,855,736,918,830,600,1158,1252,1340,1264,1262,1314,1046,847,773,606,523,483,985,1334,1040,735,719,581,455,614,755,738,925,865,585,676,922,871,1076,765,484,455,523,698,839,976,960,1140,939,615,728,612,540,901,839,558,566,646,865,1046,1042,938,810,711,657,924,979,938,701,1050,1242,759,406,436,669,996,946,702,415,453,722,962,1048,1166,1174,1218,1120,1250,1716,1454,745,699,776,672,824,877,637,710,756,743,1278,1354,996,738,668,1028,1050,1110,1288,816,567,803,832,544,416,375,356,647,1108,732,898,811,595,434,387,866,1268,999,713,907,1132,1232,1180,1230,1260,1116,1178,1028,707,744,623,507,646,896,1036,1144,1150,1256,1032,1094,1003,1174,1362,1190,1206,1272,1248,1288,1400,1246,1004,897,1021,1252,1234,885,690,666,504,446,975,1222,1152,1162,1156,1130,1112,1017,1100,1342,1284,1184,1244,1048,1064,1196,881,620,871,1290,1044,1016,802,1148,1134,1492,1554,1138,1120,1118,621,613,742,1150,1582,1520,1352,1158,1100,1394,1426,1348,1132,927,978,1174,1300,1290,1270,1196,1260,1134,1176,1076,1344,1154,885,1122,1484,1398,1428,1256,1130,1362,1196,1266,1406,1558,1530,1336,1168,1094,1264,1582,1504,1328,1011,1164,1086,1014,1520,1512,1246,1362,1356,781,533,824,1086,776,714,921,1040,1074,904,818,1146,1078,929,973,1226,1466,999,626,965,1116,1302,1182,1012,1202,1228,1056,977,1078,1498,1504,1444,1544,1310,1400,1112,999,1134,1230,1122,1176,1200,1014,1024,907,502,543,791,752,835,656,593,789,1120,1158,1142,1019,575,466,534,498,549,587,469,569,954,993,1130,1138,1092,1104,1106,1076,1026,1186,1158,1240,1300,1354,1190,1158,1032,578,396,404,350,329,302,301,373,508,544,632,865,631,438,387,325,315,315,317,300,286,291,288,287,290,314,313,321,330,419,523,598,598,611,759,913,834,699,627,683,752,785,717,583,612,752,747,670,603,961,2120,2850,2248,1474,949,1052,1530,1738,1566,1066,893,1240,1232,1024,1394,1644,1728,1492,1112,929,1092,1050,654,857,1056,930,963,1262,1258,1030,894,700,841,601,533,978,915,783,1106,1078,866,809,1046,1130,1046,747,737,731,615,526,542,621,639,793,713,473,725,868,865,891,1184,1354,1234,784,466,431,403,437,510,416,373,326,344,372,335,345,320,331,337,429,476,402,323,292,289,280,300,305,307,296,328,325,311,321,317,304,296,284,310,277,281,303,292,281,275,273,271,268,281,309,337,364,354,352,353,341,314,295,280,287,283,320,385,462,539,539,543,599,668,670,572,354,292,284,284,295,297,298,305,314,333,357,333,302,292,279,280,308,343,307,275,284,286,275,262,263,271,272,268,306,335,389,332,280,289,281,269,278,287,281,278,293,309,300,328,332,365,357,342,369,360,393,440,469,742,1194,1550,1582,1604,1570,1320,713,359,376,356,368,392,377,368,370,338,366,375,348,350,367,491,914,1446,1594,1580,1562,1318,981,1052,1306,1252,1310,1546,1378,1334,1266,1084,1228,1498,1364,1050,761,1054,1310,1024,941,1346,1366,1434,1336,1288,1334,1542,1606,1292,1472,1552,1312,1204,1410,1118,1180,1096,927,1084,1332,1470,1278,1320,1150,1170,1966,1792,1440,1066,931,959,1242,1246,772,521,555,930,1272,1324,1296,1184,1188,1186,1368,1576,1204,959,1084,1260,1080,601,491,741,595,651,978,1266,1140,833,695,828,988,922,1314,1338,849,1172,604,477,709,765,1184,1086,1072,1156,1104,1264,1164,808,977,1226,915,868,978,1078,1170,1156,895,839,931,1328,1468,1280,1122,1023,922,1218,1036,606,435,672,857,957,1118,1204,1098,743,818,1086,1098,1134,933,1426,1534,1138,1060,1086,692,425,383,353,377,326,354,415,572,697,652,692,653,954,1234,1162,1318,1592,1404,1178,1250,1202,1158,830,565,496,553,580,447,575,753,564,379,334,369,382,354,351,369,729,827,780,572,392,434,531,582,570,554,781,737,760,830,532,318,311,311,318,310,291,303,324,334,351,453,453,564,597,415,303,346,341,304,298,291,315,390,387,400,416,435,444,453,414,430,401,364,432,446,520,1074,1748,1620,1302,1294,1182,986,1156,1120,879,510,402,449,470,868,1274,1192,1174,1316,1260,1384,1514,1446,1220,1078,1188,1338,1386,1122,899,1152,1092,1190,1116,1011,1226,1288,1266,1210,799,453,693,1272,1172,1274,1044,847,828,698,774,878,875,1001,1296,1344,991,811,689,524,478,517,479,479,1208,1344,1156,1021,488,417,599,771,592,613,830,1032,1096,1154,1164,979,615,448,350,345,381,409,411,394,412,369,343,328,431,491,607,562,516,879,1250,1456,1488,1800,1714,1520,985,767,757,719,621,535,561,702,860,802,567,518,526,535,475,546,767,971,1178,1094,971,1104,1064,1092,868,997,2288,1344,611,432,349,433,622,695,528,395,500,907,1458,1210,1208,1216,1032,910,1152,1198,1052,1164,1208,1196,1092,985,1182,1198,781,641,561,513,731,1134,1462,1172,691,498,444,364,346,346,403,393,379,366,591,492,388,738,1078,1138,1056,959,935,873,919,786,666,527,523,511,653,1048,1330,1198,1168,1400,1210,1040,1084,1306,1482,1622,1394,891,580,850,1254,1230,1084,1196,1016,591,469,405,408,517,792,1094,1136,636,299,306,374,515,791,1128,1428,1274,663,432,332,334,313,378,780,1074,896,662,437,371,368,655,1352,899,1034,813,655,452,518,781,672,622,888,1204,1604,1604,857,437,367,335,304,271,519,738,1288,1550,1236,1292,1136,791,548,739,805,937,1154,1296,748,783,1166,1028,802,822,877,910,901,910,975,1100,1238,1072,993,1009,935,1006,1078,1112,1228,1284,1280,1326,1358,1300,1252,1248,1186,1076,1012,976,832,764,751,755,695,695,742,672,587,586,631,586,548,551,577,913,1282,1244,887,880,988,998,874,883,914,709,685,700,696,738,776,728,688,703,804,951,1078,1050,1054,1150,1244,1290,1308,1306,1312,1302,1312,1360,1376,1322,1300,1306,1368,1392,1362,1318,1332,1360,1358,1370,1396,1382,1372,1356,1338,1324,1352,1326,1260,1264,1246,1126,1082,1000,832,856,835,814,683,529,963,1164,661,379,602,756,637,487,690,816,1232,1158,993,938,730,437,744,908,763,794,789,653,561,396,443,518,501,497,429,307,343,482,644,778,546,484,545,532,535,477,480,404,451,691,641,802,1028,731,774,1158,1230,540,291,357,417,450,464,441,473,673,892,962,1074,1120,1120,1078,1052,1094,1180,1188,1180,1118,1080,1162,1316,1368,1322,1256,1158,1162,1318,1476,1470,1066,608,412,462,539,483,484,898,1280,697,630,776,652],[230,296,352,401,438,318,300,272,259,336,339,289,289,311,326,315,307,314,283,293,322,316,305,339,322,372,381,328,472,564,521,512,561,679,623,510,643,712,883,907,1146,1402,1118,475,295,263,289,270,389,408,268,227,232,241,246,248,242,244,264,352,547,587,525,587,573,582,518,646,821,737,878,1178,1378,1240,573,578,628,736,1008,1124,1124,918,1006,1102,1552,1458,1254,1468,1172,660,458,519,575,726,733,771,987,703,334,431,601,851,1007,651,1058,1656,1752,1532,1086,1094,1588,1828,1882,1810,1656,1552,1316,959,1044,756,956,999,902,1068,1260,1016,756,741,872,1064,1232,940,799,678,864,769,1084,1340,1262,920,1232,1216,1046,1276,913,610,525,472,404,368,370,392,478,573,607,932,927,553,880,1414,1344,792,642,670,599,584,433,298,326,616,589,337,713,1072,714,436,397,689,608,375,274,236,227,230,248,269,298,411,495,524,377,361,399,810,1316,1350,846,535,753,1312,1720,1498,865,666,374,362,843,1294,1001,549,778,836,434,290,264,245,262,289,340,380,361,426,522,604,595,496,442,576,660,492,471,612,655,623,400,381,421,391,692,765,627,1002,880,442,425,523,464,554,1136,915,431,356,331,539,949,1096,1166,1106,879,913,858,472,591,901,1164,962,941,831,1230,1332,1276,1394,1464,1396,783,390,736,960,1023,995,1028,891,709,859,1302,1276,1226,1350,1078,476,365,378,461,375,455,579,1060,1130,762,923,1194,1212,984,755,903,741,546,517,372,362,500,821,849,1194,1400,1230,1266,1304,1216,1372,1126,1162,1342,1290,1284,1220,1378,1350,1140,1090,1154,933,1034,1120,1308,1342,1304,1382,1502,1578,1640,1666,1660,1704,1730,1564,1542,1428,1436,1178,1134,1520,1178,681,966,1060,513,423,720,1122,1394,1438,1388,1646,1504,710,456,838,801,849,1192,926,791,925,1538,1368,1212,1184,1286,1094,1104,1208,1200,1160,1264,1318,1174,988,957,1308,1462,1192,1080,1276,1060,901,879,934,989,1082,952,855,760,879,995,1168,1102,962,1244,1040,749,1009,1324,1278,1130,1068,861,951,744,603,670,724,821,879,990,1013,1020,928,645,514,785,550,428,448,340,554,900,1042,1290,1204,1044,937,713,752,659,418,391,713,1002,949,781,719,820,1100,1218,998,645,508,650,980,1026,969,792,550,700,736,794,1009,946,969,1312,1242,758,440,547,955,1242,1002,589,428,613,960,1278,1100,932,1074,1330,1542,1478,1004,672,629,619,815,1196,1172,913,992,902,763,1166,1244,1046,883,704,564,610,931,911,598,490,508,478,412,374,362,458,430,486,317,586,728,533,360,426,753,1052,1180,1152,1062,1204,1388,1152,872,813,1052,1478,1304,1068,1048,868,626,738,999,1018,919,788,1190,862,688,788,906,894,1072,1228,1232,1340,1222,1196,1222,1112,922,1218,1328,801,508,597,567,377,364,445,609,894,907,833,1132,1080,1050,1310,1448,1192,1088,1156,1026,813,838,920,1272,1350,1562,1170,1060,1182,1320,1202,1368,1212,901,1490,2156,1210,573,621,1238,1688,1556,1292,1120,1298,1428,1614,1614,1154,1040,1246,1318,1388,1406,1426,1362,1206,1232,1202,1004,1156,1216,1170,1048,1064,1078,1068,736,971,1224,1174,1252,1526,1624,1490,1406,1520,1608,1716,1756,1404,1350,1274,1276,1002,1086,1208,1158,1238,1328,1064,864,733,949,1356,965,1058,1216,1082,977,868,937,1146,1184,1282,1314,1260,1222,1044,768,1198,1454,1254,1120,1062,1268,1224,1030,858,973,1232,1090,840,1190,1512,1292,1100,1112,960,1058,1054,1032,1100,1172,1236,1070,796,784,1122,1040,1034,861,832,663,667,963,1324,938,457,451,494,466,429,439,469,519,1005,1240,1138,1060,1122,1250,1244,1216,1214,1656,1342,1588,1602,1338,979,989,888,561,462,463,394,365,301,327,346,446,407,380,612,713,672,464,336,305,315,323,297,277,284,287,288,295,303,325,321,352,498,630,607,658,789,825,730,646,591,590,574,535,656,736,668,766,1005,1048,872,939,1302,1738,2034,1218,686,845,1494,1666,1260,1276,1260,828,1104,1520,1338,1628,1824,1760,1432,1200,1054,1144,990,566,452,775,1028,874,1268,1256,1046,1006,944,1164,973,597,712,885,965,1002,912,773,523,843,1038,791,586,946,1248,1084,765,558,524,434,489,504,623,948,1044,797,916,1238,1138,852,588,454,458,399,429,547,396,329,328,330,314,302,303,313,341,390,401,382,383,332,296,283,299,314,306,324,305,305,313,314,321,316,308,293,289,287,289,278,286,287,283,279,276,276,278,296,336,380,389,351,323,316,312,310,293,267,293,350,421,547,638,683,673,601,510,482,537,507,422,350,276,273,283,280,301,326,332,338,339,356,316,285,276,286,297,309,313,316,331,316,266,270,280,270,255,272,298,275,313,330,284,273,278,272,284,291,281,281,286,301,321,289,283,339,357,401,409,418,417,440,843,1226,1338,1536,1632,1624,1592,1502,972,414,376,359,374,437,382,333,339,342,331,357,396,366,521,1013,1542,1622,1542,1456,1180,1122,1186,1084,907,1015,1484,1730,1686,1418,1262,1196,1148,1310,1348,1216,977,1017,1300,1080,951,1536,1808,1254,1062,1252,1426,1292,1528,1350,1372,1574,1536,1256,1042,944,1144,1108,930,934,1224,1224,1310,1208,994,1940,1914,1788,1798,1618,1444,1256,1054,904,645,681,813,1072,1354,1496,1698,1356,1104,1146,1288,1056,867,1224,1166,1166,975,857,579,911,759,855,1202,1404,1230,1040,944,949,1122,1516,1702,1238,933,553,337,515,839,957,973,987,1346,1158,976,1310,1486,1326,1390,1406,948,808,922,875,971,1214,1338,1324,1224,1178,1040,996,1354,1260,1088,1112,1206,907,558,796,929,910,1198,1166,856,681,739,945,810,962,699,1130,1596,1340,1018,922,713,641,532,596,496,384,555,908,1092,916,777,897,976,1112,1226,1388,1422,1312,1188,1138,1132,1106,1090,1016,888,775,709,618,527,678,605,465,383,335,339,350,354,359,390,443,512,583,580,541,487,456,456,425,468,611,741,825,805,528,339,325,323,321,306,290,324,372,355,360,430,561,863,940,659,507,416,368,325,357,328,372,434,442,412,374,368,369,417,430,433,368,373,427,460,789,1408,1552,1572,1460,1392,1160,978,1086,1318,1420,970,544,487,584,1028,1274,1204,1388,1572,1594,1572,1484,1288,1190,1466,1338,1036,1250,1150,1052,1214,1202,1234,1068,1038,1312,1492,1372,1236,1108,838,926,1186,1086,1122,1104,1218,1158,1004,1270,1508,1001,1232,1400,1418,1168,911,701,532,448,368,366,383,491,559,961,1028,417,384,384,436,593,511,430,576,703,838,1062,910,578,439,365,401,385,358,336,447,486,484,513,461,376,405,537,485,402,451,708,1028,1150,1246,933,817,681,535,470,459,432,444,552,654,748,633,454,435,412,508,538,510,739,1130,1378,1194,807,995,1023,998,778,1074,1158,622,390,338,282,359,614,717,570,636,846,1164,1130,912,1004,1002,1036,1054,1013,713,752,1040,1116,1076,1178,1262,1144,1146,797,407,339,378,629,1166,1484,1348,987,565,464,376,330,389,465,448,482,417,408,467,534,730,769,914,867,994,738,795,870,788,832,673,605,670,743,1004,1250,1310,1408,1538,1262,1242,1290,1350,1424,1400,1134,717,507,885,1420,1282,944,1154,976,547,355,326,370,427,703,1008,872,434,284,360,463,516,918,924,995,952,569,358,337,367,404,402,588,835,815,730,466,422,450,516,960,847,750,572,615,676,525,996,1390,927,1218,1610,1974,1310,617,424,326,267,281,470,803,1007,1300,1104,865,1170,1020,564,472,565,780,1058,1436,1220,792,809,932,855,670,401,428,606,619,415,535,683,623,747,1060,1212,1264,1056,919,939,985,891,946,1102,1144,1162,1238,1268,1296,1338,1332,1324,1306,1318,1278,1242,1242,1180,1114,1092,1074,1058,1000,976,1012,963,930,952,1116,1150,1028,1002,1026,1088,1086,1134,1114,1086,1104,1088,1120,1188,1208,1172,1180,1266,1284,1310,1328,1358,1412,1474,1528,1534,1488,1432,1438,1434,1478,1362,1282,1230,1210,1174,1066,1019,1036,1060,1078,1008,990,1078,1128,1216,1286,1276,1312,1366,1338,1362,1378,1348,1346,1328,1328,1244,1216,1122,1060,1019,859,648,840,1006,724,357,454,561,432,501,700,600,834,1202,1098,865,756,711,677,565,490,683,717,646,900,647,662,632,488,459,351,325,532,666,672,934,800,871,854,623,519,416,359,439,971,1510,1132,641,585,561,612,1122,1100,573,302,306,395,426,413,424,420,475,634,692,832,808,719,641,614,712,890,1054,1118,1116,1094,1202,1360,1340,1250,1168,1122,1162,1290,1400,1092,554,423,391,433,514,511,430,430,784,927,802,1088,1088],[226,229,245,292,364,344,353,330,295,336,321,272,287,276,280,291,269,329,317,296,274,247,280,349,399,439,378,318,437,516,492,456,510,604,536,382,448,448,445,760,1100,1212,1248,641,366,289,318,402,490,406,258,257,260,247,234,218,216,238,287,401,600,636,518,520,589,516,716,1094,722,610,1232,1482,1128,1152,1004,1266,1222,1044,1070,1220,1180,988,1001,1284,1266,963,1092,1007,619,529,520,457,716,1034,1042,990,1009,764,665,665,907,1262,1294,819,1508,1616,1572,1450,1400,1952,2010,1712,1594,1340,1448,1786,1564,1318,1526,1080,899,1124,1204,1068,1272,1202,836,826,1292,1388,1334,1044,1019,1070,680,639,1118,1376,1148,904,1160,1258,1128,1062,814,628,480,413,416,400,345,341,334,314,506,962,811,388,700,977,968,591,513,471,424,556,505,375,400,463,500,510,477,553,350,284,346,492,412,275,245,243,246,249,275,317,376,491,474,402,320,406,488,1084,1188,976,905,655,553,792,1122,1094,552,531,413,310,652,850,521,372,451,343,216,265,298,248,304,392,336,395,346,318,363,415,490,570,503,479,511,389,373,528,534,556,462,394,373,438,636,516,483,603,440,414,361,402,498,495,730,569,455,443,585,1011,1492,1390,1222,1044,615,469,371,475,858,1346,930,536,717,961,1280,1426,1272,1216,1216,1446,998,674,780,1092,1222,1132,1154,1148,957,970,1176,1084,1316,1240,1256,694,443,553,799,979,826,670,975,985,1030,985,1224,1376,1242,924,790,591,492,418,439,595,832,907,1068,1190,1238,1158,1220,1202,1178,1486,1272,1220,1292,1342,1312,1276,1312,1294,1168,1156,1124,889,1052,1216,1434,1404,1510,1526,1362,1332,1316,1422,1282,1382,1766,1732,1750,1698,1606,1408,1490,1560,1278,1180,1296,1084,477,571,831,833,897,1086,1036,1250,995,557,420,766,1074,918,1078,1256,891,954,1610,1426,1456,1382,1180,1262,1400,1238,1344,1396,1376,1544,1023,723,706,1138,1504,1196,1236,1316,1122,955,951,1052,1300,1188,773,794,708,717,969,1418,1506,1106,1022,976,1174,1244,1182,961,905,912,796,921,691,568,860,1070,794,697,894,946,680,639,786,799,1224,727,461,354,423,739,926,796,741,769,934,997,824,784,555,341,439,641,628,664,870,938,853,940,1182,991,670,528,396,513,795,875,760,698,697,711,1014,1492,1344,931,938,1356,1142,840,686,624,968,1204,920,590,619,918,1234,1422,1422,1248,1442,1664,791,484,473,712,864,1076,1482,1404,926,918,767,816,1046,971,854,1258,1110,611,615,993,983,558,462,449,441,405,403,484,582,451,430,392,712,807,630,478,579,848,1026,1270,1318,1202,1416,1650,1360,1112,952,1016,1036,1024,1120,1054,1134,1022,1214,1228,758,564,667,1306,922,460,795,767,780,1006,952,1196,1542,1044,1196,1292,1052,1094,1242,897,483,361,360,381,341,362,440,701,845,948,1142,1278,1242,1252,1272,1380,1472,1168,948,1156,1168,1188,1096,1130,875,1044,1166,830,1076,1498,1542,1170,686,537,1196,2036,1112,477,593,1086,1770,1656,1366,1274,1172,1166,1138,1076,1058,1036,1150,1142,1248,1282,1332,1284,1258,1410,1264,1292,1208,970,863,696,822,1034,883,460,736,840,821,966,1462,1616,1422,1552,1576,1698,1702,1736,1238,1310,1606,1294,1174,1094,887,1116,1166,1084,1172,1256,1240,1202,1714,1334,1094,867,954,979,848,1098,1244,1178,1310,1270,1248,885,844,801,1036,1096,990,868,918,1176,1300,960,838,703,888,947,891,924,1238,1344,1230,1222,1058,1160,1340,1138,1011,1206,1178,980,1154,1140,1188,922,630,957,1166,748,550,1102,1318,778,506,455,513,569,536,507,407,396,810,1040,1170,1012,778,1046,1234,1308,1498,1664,1150,1462,1428,1120,970,940,921,896,810,717,645,472,329,317,341,362,408,390,428,576,540,358,346,310,313,312,294,294,307,297,298,307,315,334,339,331,437,634,664,673,819,769,587,598,554,482,460,445,510,644,720,789,1118,1246,1182,1246,1260,1108,806,502,511,755,994,932,941,1428,1574,1017,926,1582,1586,1652,1750,1584,1262,1196,1088,942,943,736,454,575,614,838,1362,1136,914,1088,1074,1042,1032,821,574,419,437,646,1002,686,540,1066,1062,540,516,946,1314,1250,892,537,470,538,700,783,1013,1166,1144,1058,1206,1176,758,675,680,625,469,433,416,448,398,342,345,358,312,288,359,432,341,325,327,346,345,321,303,278,307,329,363,414,381,325,312,321,326,316,304,279,269,290,283,275,282,280,280,285,288,293,293,304,320,349,348,315,319,312,309,308,305,311,401,462,601,631,633,612,537,479,466,480,584,583,513,428,324,285,297,281,277,274,277,299,315,340,311,305,301,289,299,320,343,367,365,345,304,281,282,278,268,274,273,278,346,385,308,281,277,277,278,284,300,306,318,329,332,307,330,383,483,500,518,480,645,888,1262,1514,1636,1698,1696,1660,1594,1548,1244,626,362,334,374,466,407,356,346,349,364,468,539,656,1144,1566,1588,1464,1316,1074,1206,1418,1474,1262,894,1238,1690,1472,1488,1636,1642,1504,1592,1508,1478,1388,1350,1428,1406,1112,1058,1618,1820,1278,1220,1122,1292,1266,1504,1372,1500,1584,1368,1021,952,1294,1182,921,882,1130,1434,1320,1278,1021,1738,2290,1696,1608,1736,1724,1730,1328,1021,953,1030,1178,1534,1604,1538,1620,1730,1488,942,642,787,775,841,1088,1010,1090,1064,895,853,1216,1084,807,966,1278,1266,1044,833,812,692,1512,1534,1246,1136,800,580,485,854,1436,1258,1102,1442,965,700,1274,1492,1456,1744,2024,1376,1009,1152,963,779,1100,1218,1134,1214,969,1028,1092,1124,1476,1336,920,1078,1116,968,1290,1296,1106,1232,1168,1002,816,870,1154,1090,1030,844,999,1422,1492,799,813,995,1023,942,562,395,341,507,866,974,1012,1198,1168,985,1250,1290,1334,946,835,1312,1482,1372,1230,1196,1254,1090,873,931,626,568,778,484,418,409,390,348,448,465,361,383,363,373,447,566,493,408,382,392,460,597,747,633,453,434,358,356,362,352,373,337,357,356,369,375,332,420,623,761,832,964,839,462,464,508,513,505,556,527,593,547,398,364,414,482,374,359,376,438,543,732,1296,1490,1470,1584,1520,1254,977,1072,1266,1214,1078,1376,847,596,821,1126,1238,1444,1626,1716,1572,1448,1416,1454,1228,1704,1572,1158,1046,1046,1104,1122,1228,1296,1248,1314,1360,1538,1390,958,980,1146,1090,775,897,976,1224,1274,976,1094,1124,998,879,1362,1454,1238,979,804,700,529,336,302,340,356,356,481,750,753,379,439,501,446,495,413,373,388,360,396,451,377,495,465,502,511,555,488,382,441,475,557,660,543,449,386,442,465,372,332,422,615,694,577,456,450,433,400,414,422,375,487,644,652,678,576,461,310,227,353,508,542,683,1028,1174,899,752,1096,1064,1094,1034,1252,916,498,466,479,368,435,841,1007,1016,995,1052,1194,1270,1100,991,830,699,917,1046,912,1023,1036,1044,1074,1106,1230,1030,1042,987,1056,896,677,884,974,962,968,1136,683,528,579,582,437,567,640,570,527,415,636,1448,1678,1088,825,694,684,767,672,588,802,999,971,822,716,893,1196,1328,1430,1538,1354,1126,1042,970,1010,991,952,976,794,749,1094,1078,1048,993,1023,644,395,327,302,321,369,533,684,559,390,366,561,871,647,759,918,952,715,445,463,436,309,329,461,740,912,786,670,605,684,863,781,1082,895,584,716,1021,868,529,1296,1716,1162,1512,1470,1490,788,407,379,361,377,442,557,584,973,1340,1168,1168,1324,775,428,448,556,874,1346,1272,1038,1148,1042,972,1048,873,494,396,631,732,502,378,358,334,371,569,1002,933,894,1356,1254,1088,1170,1210,1084,955,914,811,883,885,828,888,1003,1082,1094,1142,1206,1260,1222,1228,1248,1224,1242,1286,1318,1318,1234,1298,1378,1332,1268,1338,1370,1394,1372,1328,1322,1344,1360,1346,1316,1292,1300,1326,1332,1302,1290,1250,1208,1214,1214,1136,1104,1070,1050,1166,1102,893,781,807,837,797,722,658,603,551,586,669,686,654,551,576,570,571,664,736,847,1018,1068,1166,1220,1290,1390,1398,1430,1416,1388,1388,1346,1310,1230,1234,1152,976,883,716,547,464,484,493,498,636,591,567,937,1226,1023,615,595,772,745,700,1016,916,764,623,639,687,522,362,393,331,468,733,826,764,769,915,911,682,534,401,288,397,716,1052,1422,1650,943,669,804,601,791,928,706,527,450,427,404,417,450,438,492,598,669,754,680,621,587,670,890,919,938,1011,1126,1094,1210,1316,1226,1216,1202,1232,1232,1300,1368,983,522,547,457,397,421,498,477,419,800,1008,1024,1164,1220],[237,235,238,262,251,313,352,360,414,414,386,363,316,270,292,352,310,356,350,345,320,246,262,384,464,443,425,373,485,604,496,419,489,545,441,420,469,436,604,963,1154,1242,1136,612,548,459,315,494,769,532,243,274,286,252,226,221,247,259,272,461,725,723,579,602,711,601,918,1286,644,521,1050,1150,848,954,1023,1418,1384,1208,1005,988,1054,924,854,1130,1110,1148,1136,959,747,585,530,393,887,1306,1202,1046,832,655,1052,1360,1160,1058,1144,1220,1504,1542,1688,1700,1732,1756,1562,1462,1378,1512,1532,1520,1336,1268,1078,1076,990,1010,973,1138,1488,1156,968,783,871,1128,1180,1196,1024,899,631,435,724,954,714,671,800,788,747,610,933,875,626,532,596,473,353,374,357,507,719,683,426,377,854,1150,873,489,453,425,408,424,401,359,389,457,536,641,604,486,441,349,462,481,323,270,254,278,343,280,323,419,532,405,395,334,350,466,564,723,687,694,729,576,404,520,728,828,467,703,701,364,455,584,405,303,187,228,238,234,280,289,414,566,420,330,325,361,491,435,403,419,352,379,516,428,352,408,468,604,566,386,300,397,491,412,410,386,378,364,356,376,445,476,423,441,538,725,1034,1420,1390,1184,1632,1710,767,443,487,880,1054,912,607,490,691,1066,1232,1244,1088,1304,1406,1328,1376,1162,988,1112,1144,1288,1584,1530,1048,900,944,1056,1036,1104,1322,1112,926,1118,1248,1086,775,873,813,921,1522,1230,944,946,1004,1432,1400,810,455,511,726,943,1170,918,963,1230,1354,1058,1024,1050,1194,1400,1328,1210,1194,1258,1378,1304,1290,1278,1262,1372,1418,1338,1312,1190,1242,1534,1654,1394,1078,1142,1214,1164,1162,1440,1708,1694,1654,1538,1720,1776,1738,1606,1442,1356,1120,883,527,659,649,742,662,1008,1338,979,594,617,522,788,1466,1126,669,918,1178,1312,1388,1382,1522,1318,1050,1178,1266,1262,1378,1440,1380,1502,1250,1040,1198,1504,1582,1636,1610,1360,1112,951,1090,1282,1580,1368,1036,1306,1350,1428,1412,1892,1840,1338,1354,1330,1424,1204,1216,1090,1010,897,666,477,590,534,506,633,836,863,583,763,928,971,949,728,669,471,448,461,585,704,625,377,600,797,908,735,749,765,524,360,505,642,448,488,756,888,920,926,1009,1120,962,605,336,390,650,706,679,599,555,907,1592,1864,1472,1162,875,752,774,1290,1262,730,624,1036,1060,1102,758,924,1230,1514,1402,1100,693,423,426,504,515,677,889,1058,1220,1198,920,980,924,795,871,616,769,1104,934,564,428,584,856,825,547,443,405,400,466,792,761,486,372,492,678,894,918,885,954,1028,881,1334,1264,861,890,1086,1228,1156,944,810,929,880,1162,1118,1116,797,952,656,352,426,574,1015,866,658,857,782,836,902,885,1802,1940,1256,1398,1298,736,692,836,582,476,371,309,294,401,920,1026,1068,912,1108,1290,1228,1360,1316,1362,1352,1266,1158,1080,1084,1084,1186,851,533,552,1132,1396,1176,1160,1448,1362,900,524,413,424,792,721,535,709,1318,1808,1636,1300,1042,676,838,798,1440,1344,1030,1030,962,1188,1196,1154,1188,1284,1274,1136,1444,1432,1254,831,955,1052,1228,921,507,548,655,744,1022,1586,1714,1902,1880,1248,1374,1354,1226,1072,1328,1600,1300,1344,1256,1156,1384,1162,1178,1404,1376,1054,1080,1252,1154,1148,877,655,610,621,972,1148,1346,1352,1082,858,571,744,941,839,812,1140,1184,976,1166,1348,1296,1494,1318,972,810,1236,1194,1194,1306,1298,1394,1230,1206,1652,1642,1150,1024,1186,1114,1188,1198,846,724,766,867,999,791,979,1320,937,597,523,562,690,939,1084,924,623,665,948,952,996,986,882,912,1222,1244,1138,863,1086,1354,1104,1116,1266,1086,865,872,864,861,930,663,373,270,292,342,377,386,392,438,414,355,325,328,316,306,313,317,315,305,298,307,314,305,314,334,368,499,523,510,647,651,660,571,418,411,434,443,447,548,720,775,843,1316,1394,993,688,577,545,535,527,625,825,1112,1412,1770,1832,1426,1062,1488,1572,1484,1604,1516,1254,1222,1140,884,700,716,520,515,496,966,1330,1172,1028,943,788,597,597,759,852,434,346,361,702,805,1118,2088,1600,434,571,1120,1560,1238,810,504,519,771,858,977,1118,1138,1216,1234,1106,708,543,604,620,554,422,405,478,390,345,328,336,361,376,333,375,596,405,299,287,294,297,314,321,290,309,353,398,383,359,330,316,330,356,304,278,278,285,303,297,288,282,281,288,292,293,316,317,318,296,290,307,325,320,330,339,361,464,550,678,645,612,543,584,540,532,602,586,508,463,505,497,457,393,313,310,290,285,287,287,306,361,344,306,340,352,318,303,307,314,361,357,339,328,300,289,287,275,275,270,275,318,330,295,299,285,288,292,301,314,321,330,352,348,353,365,488,619,544,479,580,1018,1230,1334,1454,1656,1804,1720,1612,1500,1474,1350,836,462,357,384,449,412,367,370,389,427,491,772,1288,1610,1548,1478,1310,990,1090,1316,1428,1432,1320,1214,1484,1456,1290,1446,1462,1458,1328,1376,1266,1374,1302,1232,1278,1322,1278,1408,1450,1516,1248,1240,1174,1230,1388,1542,1446,1610,1566,1158,910,1128,1408,1304,1290,1332,1408,1036,822,825,1110,1870,1324,749,1122,1520,1524,1804,1532,1450,1418,1610,1686,1704,1542,1422,1410,1448,1300,847,643,1013,1338,1238,908,689,642,871,847,969,1146,971,688,779,1292,1306,917,592,582,824,1268,1346,1330,1222,1284,1064,574,516,624,694,1156,1064,938,892,1354,1506,1204,1152,1362,1324,1334,1426,1576,1140,1188,1218,1016,1056,991,1280,1284,745,913,1060,913,1078,1096,1166,1422,1374,1388,1236,843,868,724,828,1012,1088,1116,1140,1050,1140,1736,1048,750,963,1106,985,810,748,568,564,519,558,1156,1686,1444,686,953,1006,833,549,476,933,1302,1472,1366,1152,1262,1332,1156,1288,971,699,532,415,402,394,429,420,449,473,435,516,420,366,463,543,434,450,447,403,554,703,754,730,455,346,351,349,358,361,375,384,390,345,379,360,269,383,558,487,525,742,672,417,371,415,522,644,650,575,654,691,738,630,554,577,429,372,426,650,1007,1272,1436,1450,1460,1534,1536,1184,1015,1376,1368,1136,922,1376,1200,794,1058,1336,1402,1458,1380,1336,1330,1530,1510,1514,1394,1546,1476,1340,1316,1188,1050,1200,1184,1160,1266,1388,1380,1506,1338,1182,1078,1144,815,569,827,976,1068,1116,954,927,654,716,738,1244,1418,1218,842,618,597,397,296,346,374,356,375,503,734,671,449,591,645,527,389,331,345,344,371,339,371,439,436,473,700,768,740,553,339,353,418,466,566,524,441,454,433,452,371,372,415,405,374,397,412,380,381,359,322,286,340,459,479,594,706,563,353,273,320,495,550,649,682,757,838,957,825,1032,1138,1078,1009,808,479,414,403,415,460,662,1146,1044,1050,1432,1360,1158,1132,892,1138,1212,1030,641,631,917,956,1011,971,1082,1250,1212,1254,1148,1372,1648,1094,1218,1186,763,694,735,1308,1086,624,617,866,670,629,783,667,696,672,802,1596,1808,1368,831,1010,1122,1122,930,800,840,769,708,700,580,772,1232,1306,1426,1534,1270,1038,1042,886,733,757,883,895,776,784,1158,1554,1398,1284,1036,555,392,420,392,300,317,372,429,383,364,388,728,896,875,838,815,930,867,1024,1220,727,307,296,428,1070,1326,1224,882,778,1082,1180,1007,963,643,557,828,826,488,446,686,737,1178,1326,1326,1224,690,451,382,405,433,532,780,788,1242,1266,917,744,852,666,574,594,755,1184,1184,1050,1190,1086,1004,1068,981,629,409,357,424,451,493,449,372,442,412,489,562,356,632,1088,1009,943,999,1388,1364,834,815,817,848,780,761,801,699,670,774,732,651,719,815,752,708,767,881,894,935,944,942,963,1028,1078,1082,1088,1150,1160,1144,1098,1138,1126,1088,1064,1038,1006,980,962,901,846,890,933,864,723,636,647,638,670,763,780,749,686,645,582,509,534,548,527,525,542,512,561,681,755,692,571,563,590,576,564,554,603,751,948,1042,1144,1042,1072,1230,1138,1124,1206,1180,1270,1356,1346,1298,1248,1178,1100,912,705,524,495,484,644,750,610,661,912,1206,772,566,612,756,972,958,662,595,796,842,823,786,396,436,405,523,928,1026,789,543,614,539,417,383,382,434,507,603,774,1066,1019,525,441,502,752,957,698,561,449,444,435,408,400,415,494,515,578,596,577,591,683,630,669,955,1044,1001,966,1120,1136,1216,1244,1240,1240,1286,1344,1290,1266,1330,1224,815,653,578,417,367,536,720,882,964,910,825,910,1306],[243,258,253,250,256,305,289,294,342,373,356,416,342,263,316,363,370,411,392,400,420,388,426,506,549,543,537,463,647,825,601,650,730,570,541,578,564,472,669,961,1062,1236,792,488,843,748,473,709,865,520,322,284,304,259,222,258,319,305,302,511,780,730,574,610,688,703,1026,1250,925,645,792,636,507,572,880,1116,1340,1476,1224,1214,1106,1044,1021,1088,1128,1236,1090,985,1034,1009,854,619,648,753,1260,1436,1178,803,803,1280,1004,944,1252,1350,1358,1484,1550,1732,1786,1456,1248,1206,1094,1226,1370,1316,1144,1166,1258,1476,1454,1236,915,752,821,896,914,803,1144,1278,1368,1344,872,669,792,600,459,495,594,732,689,752,679,742,998,973,843,697,576,522,735,669,513,912,1084,719,533,445,987,1366,854,443,409,403,415,461,409,339,344,372,361,525,553,883,979,843,782,505,393,277,280,530,681,307,348,471,509,419,356,323,351,473,583,586,558,523,800,639,664,893,1010,1024,748,638,540,350,563,752,368,327,263,280,258,238,318,490,574,513,422,426,409,479,561,443,352,339,486,644,627,578,524,448,525,629,621,426,355,329,328,409,409,367,357,359,370,402,448,394,322,454,835,1444,1650,1612,1264,1412,1762,1406,1022,736,870,1394,1252,714,639,921,1126,1184,1202,1010,1026,1482,1362,1210,1168,914,970,1124,1232,1198,1346,1298,1170,1048,1340,1432,1224,1416,1472,1328,1344,1344,1340,1110,905,1080,842,847,1218,1074,855,561,744,1276,1340,979,844,927,1064,960,1068,1098,1210,1342,1272,1196,1074,990,1146,1282,1166,1194,1116,1356,1628,1756,1478,1366,1248,1290,1284,1168,1284,1104,986,1168,1236,1142,1252,1398,1290,1098,1064,1312,1422,1564,1376,1314,1688,1710,1742,1562,1618,1686,1536,1266,1086,1034,794,569,461,816,1252,1152,1058,648,509,793,1214,1106,971,1124,1266,1194,1224,1460,1402,1326,1406,1504,1670,1820,1278,1400,1560,1396,954,929,1094,1092,1466,1554,1360,1286,1114,1200,1366,1342,1328,1146,1044,1204,1492,1368,1310,1926,1796,1328,1164,1204,1136,1030,1098,1066,912,781,684,771,849,563,541,863,932,806,553,897,1230,1158,1008,728,450,434,403,561,789,716,421,390,760,1044,1066,843,807,676,635,588,425,362,417,621,535,440,754,942,1024,1244,1136,824,558,577,625,526,449,304,395,839,1482,1440,1250,1030,772,705,849,1320,1780,1288,1066,1748,1450,1476,940,929,1017,932,1096,1066,764,598,612,758,738,545,593,1184,1804,1578,1172,1136,923,560,452,358,467,640,597,493,523,392,547,734,446,376,380,493,695,865,688,411,524,666,817,1340,1306,1116,1080,1008,886,1190,935,791,946,950,952,838,812,882,1144,940,1086,1166,980,876,965,654,482,503,486,448,509,636,697,692,689,1030,1262,1708,1454,1466,1492,1102,906,772,750,642,528,440,343,322,414,788,996,1060,844,930,1154,1202,1434,1332,1522,1518,1274,1166,819,772,992,966,760,634,766,1166,1384,1360,1318,1368,1012,753,422,397,489,973,1184,1104,1158,1264,1602,1606,1038,594,632,816,926,1252,1308,1011,830,975,1108,1032,1188,1238,872,619,895,1330,1136,1318,1226,1032,1018,979,525,604,883,837,1234,1692,1622,1484,2082,1676,1090,1128,1234,1172,1354,1698,1560,1504,1410,1322,1322,1310,1240,899,858,1080,744,683,817,887,1092,1212,796,894,1064,1046,865,1156,1136,1058,1018,1028,1028,968,803,703,728,662,958,1208,1154,846,1152,1512,1508,1356,1464,1388,1306,1102,840,959,1114,1184,1454,1706,1224,1024,1278,1248,1144,893,705,1050,1384,1100,1128,1202,1404,1122,600,458,411,448,550,1005,1182,1032,924,1028,1194,1212,1302,1166,1082,1072,1418,1568,1162,928,1214,1276,1354,1344,1260,1052,1019,802,785,912,850,615,460,345,323,333,368,411,414,419,373,386,344,312,311,333,362,343,317,334,393,419,303,302,306,322,329,371,374,385,466,470,464,437,393,382,415,443,436,441,549,681,736,877,702,505,521,560,572,524,530,652,1030,1610,1556,1404,1476,1654,1540,1558,1660,1394,1226,1344,1256,1296,729,625,727,962,658,681,801,1118,1286,958,621,557,530,501,538,662,838,617,488,447,447,557,1192,2098,1436,431,531,902,1406,1260,966,745,761,639,504,609,879,958,858,984,945,774,740,549,563,531,457,475,455,366,347,319,333,329,352,323,324,533,467,318,281,299,292,309,323,311,299,326,366,332,302,317,321,324,369,314,254,256,256,277,295,269,279,302,294,285,311,310,314,308,287,282,315,359,386,382,387,537,711,597,461,516,499,473,567,608,641,604,521,428,394,498,462,513,492,367,307,307,332,326,303,334,382,332,295,334,385,355,326,323,311,364,373,348,332,300,295,289,284,287,285,287,304,299,297,310,288,285,297,304,313,311,343,395,335,342,385,465,524,471,524,1032,1274,1444,1722,1652,1772,1876,1730,1592,1456,1448,1412,1164,648,370,394,436,418,382,407,417,555,955,1420,1630,1604,1570,1252,824,882,1094,1202,1282,1288,1304,1304,1298,1352,1350,1518,1518,1188,1134,1118,1270,1536,1330,1208,1310,1388,908,1074,988,979,957,1007,1182,1368,1334,1346,1318,1378,1542,1414,1210,1086,1186,1410,1352,1268,1005,637,595,977,1770,1510,635,553,679,1052,1520,1776,1548,1156,1294,1574,1528,1374,1394,1378,1344,1410,1232,792,633,880,1170,1208,1016,640,534,951,1078,1094,1258,1190,998,974,1122,984,717,719,843,1024,1102,1208,1122,1250,1528,1298,774,694,842,1214,1336,788,1006,1450,1324,1114,908,963,1230,1316,1432,1510,1686,1350,1254,1106,1122,1138,1136,1278,1048,637,703,886,812,709,1130,1230,1256,1374,1206,715,534,542,465,707,917,738,887,1176,1124,815,1412,1346,767,808,1158,878,683,839,868,791,655,950,1318,1790,1426,729,635,549,421,386,380,544,961,1430,1402,1260,1422,1410,1614,1360,1134,906,702,579,420,411,444,472,498,565,502,487,440,454,483,510,479,452,462,430,473,464,543,854,554,367,341,333,345,350,346,363,356,357,374,325,306,353,437,403,409,403,367,359,363,440,509,609,651,513,436,535,699,708,691,541,453,404,476,1028,1666,1656,1508,1490,1428,1484,1682,1554,1370,1600,1274,1248,1266,1370,1346,1220,1396,1560,1580,1402,1448,1526,1716,1672,1512,1512,1472,1362,1344,1404,1494,1506,1188,1234,990,880,1086,1314,1314,1324,1376,1208,1001,1030,705,509,760,678,432,566,1046,918,602,622,629,935,1252,1244,836,506,425,357,351,424,399,366,415,503,655,569,489,594,679,626,444,371,309,335,428,403,465,534,484,448,597,783,769,526,449,477,544,532,521,490,529,568,565,451,324,311,343,401,409,346,372,377,374,380,332,320,355,376,378,559,742,526,240,276,337,508,422,555,636,495,736,794,645,722,946,1013,750,543,459,439,369,373,417,677,980,1022,1584,2222,1514,999,1092,908,988,1248,1230,705,960,1334,1194,1116,994,1156,1114,1366,1798,1430,1174,1254,852,914,954,1234,1330,1314,1496,1140,659,436,623,661,629,945,1124,1238,914,680,1026,1314,1030,664,1052,1326,1188,1184,818,631,561,568,667,813,815,1156,1352,1480,1588,1324,1078,1015,714,567,625,746,868,824,622,736,988,1100,1120,792,524,673,926,874,629,368,354,337,330,334,362,843,953,1312,1486,1070,1156,1670,1810,1304,539,328,312,602,1240,1444,1344,796,712,1096,1232,1142,1144,1064,643,796,548,359,498,534,619,832,812,1182,1018,621,578,509,403,422,568,720,1030,1332,843,771,957,818,776,938,1048,1312,1210,841,738,618,650,724,865,1052,966,678,457,328,476,871,659,363,388,502,489,691,664,843,1098,1030,751,867,1272,1084,579,641,750,793,1084,1030,915,947,949,815,784,906,887,751,758,819,745,629,658,744,648,524,551,670,720,731,807,1026,1356,1204,807,759,713,698,788,724,682,643,639,679,609,571,565,529,547,607,708,773,796,698,622,693,685,793,827,664,560,448,478,555,595,780,885,680,567,619,732,829,744,718,619,595,639,736,868,1013,844,659,717,761,735,775,696,717,836,924,1152,1252,1324,1314,1294,1256,1156,989,800,615,735,917,719,576,688,1180,879,532,493,508,537,667,702,798,1148,1158,1136,1188,578,487,580,692,684,836,760,477,521,588,412,309,358,540,520,394,960,1460,885,452,394,344,585,720,744,871,635,522,462,414,386,413,457,458,537,596,561,577,621,551,738,1017,1116,1142,1126,1220,1214,1172,1194,1260,1286,1302,1364,1364,1398,1324,1298,1076,810,574,446,481,622,996,1372,1154,836,776,923,907],[218,228,242,255,277,330,295,299,293,314,318,373,363,348,400,385,372,445,504,515,522,518,558,612,631,634,562,376,612,850,871,1004,921,709,982,1026,659,424,550,797,811,998,682,626,1130,987,616,883,818,543,334,309,304,279,261,280,288,285,314,513,773,781,686,688,722,583,789,979,780,590,456,339,433,741,894,814,857,1208,1094,893,973,1066,1022,1102,1232,1554,1266,771,771,952,1015,1296,1440,1034,1294,1444,1398,1188,836,667,758,1013,1286,1270,1154,1218,1416,1564,1696,1544,1234,1230,1024,871,808,760,859,1102,1298,964,1246,1366,1220,773,943,1008,1122,971,1216,1416,1238,988,839,876,906,739,681,451,435,566,530,578,995,2028,1750,955,885,637,659,778,787,839,608,1164,1410,809,502,416,854,1062,692,426,400,387,376,383,357,342,342,405,365,502,591,837,1214,1220,1204,1086,730,451,396,678,694,400,398,491,466,451,404,324,426,741,777,608,447,347,389,515,722,1080,1152,1144,891,666,901,754,870,879,361,235,275,280,269,305,529,719,692,678,584,455,551,668,546,504,535,546,636,543,420,521,480,431,417,468,579,558,467,370,362,437,412,394,358,334,390,501,490,317,242,446,916,1710,1410,1106,1404,1470,1108,906,1070,1110,1360,1450,1312,1154,1052,1220,1328,1440,977,673,985,1490,1484,1264,844,860,1028,931,1096,1042,1128,1062,1246,1252,1444,1526,1322,1250,1268,1226,1250,1434,1510,1112,897,1306,1218,884,842,938,1054,879,673,1148,1366,932,974,896,1176,1196,1100,1244,1232,1326,1348,1238,1278,1242,1036,1188,1068,912,1202,1454,1566,1590,1372,1104,894,984,1015,1094,1196,1015,1272,1192,1198,1410,1448,1090,1342,1360,1058,1246,1472,1422,1326,1498,1502,1722,1628,1290,1440,1556,1628,1670,1614,1518,1346,1110,1082,1386,1588,1400,1210,737,965,1064,1086,1266,1322,1154,1116,1266,1440,1302,1376,1492,1476,1686,1664,1338,1014,1312,1428,1360,1007,954,1066,1060,1472,1596,1324,1272,911,1196,1302,1090,1016,932,672,972,1678,1572,939,1466,1660,1566,1302,1282,1234,1128,1076,1194,1036,790,675,730,828,682,668,940,1158,1068,1050,1170,1072,773,734,639,434,421,551,902,990,850,548,472,586,920,1056,1122,979,659,614,585,579,571,493,397,256,270,403,576,865,962,884,741,609,645,613,377,345,358,550,781,937,1138,1232,987,680,985,1300,1438,1476,1160,840,933,1298,1116,1262,1142,755,772,1072,1332,1482,1198,922,814,691,637,577,1086,1686,1248,889,855,582,538,637,432,330,547,666,865,888,723,675,772,602,407,409,1054,1490,858,465,478,1036,1080,1068,1044,1242,1100,1052,926,1058,1240,1086,1052,1072,1060,934,652,683,1024,1372,1432,1372,1192,1082,1132,1026,844,877,927,1034,634,541,489,604,745,710,918,1254,1592,1704,1688,1428,1204,1354,1130,857,704,469,397,383,336,331,467,575,701,761,1001,1716,1312,996,788,797,886,1338,1244,1052,1046,1130,1066,979,1044,888,943,1094,1368,1042,854,818,601,468,345,474,890,1212,1238,969,656,1326,1478,965,697,704,593,808,1042,1352,1038,669,735,421,549,1098,1234,887,607,809,1212,945,824,1012,869,1002,1188,899,940,1164,1366,1718,1736,1362,1082,1246,1254,1390,1240,1316,1520,1620,1538,1520,1350,1288,1402,1118,1112,949,688,752,932,1076,1242,1196,957,866,1214,1524,1406,1388,1090,806,733,742,1013,1250,1110,989,973,817,657,411,366,512,636,602,791,918,1124,1398,1472,1426,1356,1222,1190,880,627,947,1178,1316,1278,1384,1288,963,1134,1290,969,1016,1064,1060,968,1246,1344,1490,1256,996,753,436,381,659,975,858,870,1152,1214,832,1014,1132,667,692,1178,1318,1258,1242,1136,984,937,1322,1390,1376,1354,1954,1152,741,766,669,692,650,487,401,365,387,400,413,414,484,532,479,527,517,413,354,366,347,349,543,670,439,320,280,293,305,318,336,340,342,332,330,350,348,350,370,393,457,422,415,461,484,573,639,584,568,564,529,532,597,698,1094,1542,1260,1074,1186,1268,1174,1422,1714,1482,1130,1236,1142,1316,1108,1014,1180,1234,938,989,1026,1009,1172,1066,612,564,491,475,495,583,701,633,505,438,442,424,615,699,511,451,496,592,683,644,623,506,391,345,354,379,495,636,808,894,844,815,738,667,618,574,519,501,409,339,342,345,354,331,339,335,296,357,331,268,269,283,298,296,299,293,277,285,306,292,287,276,281,284,334,323,263,256,253,260,269,271,249,271,270,293,325,339,343,331,328,314,314,356,459,487,543,576,625,503,391,433,418,467,617,674,642,490,422,379,363,390,354,455,489,394,310,300,314,328,359,350,354,313,318,324,342,330,331,338,340,401,404,352,328,309,304,291,291,293,290,284,304,318,312,311,283,279,294,308,311,284,322,380,497,705,832,781,894,1072,1288,1420,1516,1836,1990,1802,1800,1868,1832,1802,1578,1458,1448,1254,675,386,423,493,470,437,505,726,1134,1562,1672,1564,1436,1182,895,866,1030,1192,1178,1174,1202,1064,1202,1030,1268,1272,1344,1426,1306,1178,1152,1308,1268,1012,973,1644,1736,971,770,769,907,1102,1102,1280,1360,1298,1428,1106,1104,1200,1416,1312,945,1180,1442,1350,1202,847,535,631,1362,2110,1358,672,830,1015,1382,1990,2086,1272,788,1098,1434,1404,1470,1592,1422,1130,1122,1066,796,693,558,840,1002,948,783,805,1356,1152,989,1106,1094,1216,878,1126,1180,926,966,838,644,984,1290,944,747,944,1098,1048,1252,1312,1312,1156,835,1080,1012,586,647,561,811,1378,1668,1464,1332,1130,1166,1092,1052,1344,1520,1172,706,645,962,1190,1132,954,922,1316,1124,1026,1166,1094,670,439,647,875,1040,1028,987,1242,1128,1046,707,1072,1352,866,777,1114,909,894,1088,1138,896,616,1016,953,1044,923,616,402,353,369,427,483,532,783,1598,2182,1604,1550,1356,1532,1490,1246,1030,897,641,532,429,463,478,472,691,525,379,354,583,517,403,464,395,438,418,426,432,498,743,556,396,434,474,376,323,309,333,366,384,333,335,347,421,422,405,407,375,353,356,361,388,469,687,780,532,398,387,414,505,637,609,493,736,1021,1360,1854,1786,1612,1622,1686,1472,1528,1582,1060,866,901,1050,1214,1362,1464,1566,1552,1582,1332,1344,1444,1588,1418,1346,1376,1448,1454,1340,1342,1350,1304,1488,1150,1094,955,968,1088,1170,1212,1242,1278,1052,868,1134,912,466,503,447,418,535,918,988,666,456,466,645,966,1084,709,472,447,447,362,357,364,348,412,588,615,495,448,480,502,493,413,364,324,504,478,407,505,510,526,583,585,611,557,448,512,521,577,521,490,477,584,619,530,383,310,310,345,447,509,368,378,414,408,368,335,342,346,359,384,535,673,467,266,306,367,368,334,333,379,348,342,324,302,456,855,802,529,573,519,346,294,379,441,419,463,951,1472,1204,948,965,1184,1226,1120,1318,987,611,692,978,1170,996,944,1180,1038,1304,1156,1178,1468,1260,1110,1118,1288,1548,1572,1430,1140,1126,835,385,384,443,563,914,1166,1198,616,501,869,893,877,916,1002,1110,1358,1844,1074,554,480,636,909,1122,1118,1346,1488,1648,1674,1238,978,782,585,601,721,751,702,1014,1186,906,777,954,889,678,764,977,1388,1156,915,439,356,323,297,351,398,682,957,1224,1214,1150,1392,1636,1992,1001,348,328,328,564,1130,1500,1132,582,745,1144,1396,1282,1278,1046,470,528,398,397,484,500,789,868,829,898,554,554,907,884,832,661,991,1218,1262,979,568,570,580,812,954,1164,1216,1318,745,586,543,619,735,987,1066,952,1060,1019,585,391,322,507,532,419,386,414,490,951,1388,1376,1178,1168,877,1182,1456,1015,517,504,639,863,885,644,534,480,418,466,597,683,664,664,984,896,802,933,880,883,1080,1108,997,958,1003,1150,1228,1386,1820,1718,1102,824,753,731,724,651,617,637,692,692,607,612,583,495,573,767,875,830,755,554,481,561,516,713,713,655,614,645,787,905,895,847,717,614,546,597,888,859,793,756,551,488,611,1023,1250,1056,918,1048,974,845,762,539,584,783,835,847,805,896,1034,1108,1266,1312,1330,1310,1290,1202,954,929,860,672,609,1042,981,694,556,345,301,393,460,733,1100,1426,1390,1354,760,603,636,606,422,512,588,492,495,386,315,484,767,842,830,502,702,875,641,480,374,340,363,423,718,896,828,614,468,433,422,422,417,391,402,441,448,412,459,497,795,1028,1156,1236,1220,1190,1172,1140,1154,1244,1318,1368,1550,1554,1530,1340,1252,1256,980,655,629,652,738,956,1138,1226,1140,1072,875,626],[210,211,242,274,287,320,331,363,290,239,286,394,482,526,515,492,559,647,572,542,511,570,645,631,612,588,514,365,345,550,740,818,656,744,1170,1118,616,459,596,761,719,794,734,749,1009,926,947,891,634,509,325,292,266,245,307,318,295,332,311,451,798,822,825,775,733,497,408,488,517,511,465,374,372,529,628,585,546,1044,1064,858,890,951,745,603,936,1306,1126,605,426,617,966,1538,1406,1154,1268,1504,1340,1042,689,447,650,1042,1472,1418,1284,1566,1812,1732,1678,1614,1208,1024,1070,948,615,570,731,1466,1710,825,948,1126,1246,1224,1234,1118,1128,1098,1070,936,788,797,1158,892,749,756,621,436,513,601,572,669,2012,3100,1942,846,871,768,916,1082,783,1074,707,1224,1602,1104,659,630,569,705,804,413,363,393,352,334,329,351,387,405,324,433,558,844,1334,1062,1084,1144,1196,870,669,608,514,432,470,488,403,419,392,288,336,593,786,470,303,249,280,371,659,1007,1092,1242,1362,1124,1338,1222,1030,719,354,252,267,271,354,531,728,859,709,665,891,631,607,836,765,750,750,639,540,500,713,629,362,395,357,328,467,623,571,426,375,434,464,425,349,388,477,508,397,397,781,853,697,1076,1214,1460,1450,998,899,862,616,721,1148,1100,1306,1090,1044,1238,1288,1152,1078,903,958,1252,1542,1208,1058,879,677,680,1112,1062,993,1220,1366,1536,1570,1346,1266,1280,1040,1066,1416,1478,1306,1114,1086,1318,1300,1038,1042,1256,1224,1001,908,1412,1334,867,907,1062,1124,1062,1010,1152,1372,1600,1460,1210,1248,980,800,1196,1182,1068,1424,1636,1646,1510,1156,771,654,975,1194,1174,1234,1064,1230,1176,1202,1130,1298,1250,1322,1424,1518,1290,910,1198,1378,1596,1404,2018,1450,1104,1202,1136,1070,1154,1322,1288,1538,1564,1598,1704,1750,1552,1268,1126,1212,1106,1050,1282,1456,1440,1440,1494,1396,819,1130,1236,1390,1566,1188,855,1056,1204,1218,1228,832,730,1046,1094,1406,1564,1128,963,812,879,1114,1040,833,679,594,999,1742,1848,1268,1382,1592,1532,1478,1376,1332,1266,1214,1182,811,692,708,490,716,750,745,730,925,1228,1266,1068,888,865,460,363,509,729,1098,1368,1166,1015,691,482,584,821,1096,1296,993,679,555,490,639,713,725,583,375,312,330,316,517,829,940,629,502,658,639,305,328,623,792,772,881,1001,1028,1036,882,1334,1500,1428,1190,1282,1430,1236,934,835,932,761,632,510,604,854,1072,1148,908,735,542,451,504,742,842,499,420,446,432,451,601,685,399,487,694,832,1052,950,764,818,834,570,610,1618,1812,682,431,783,1146,954,760,721,877,980,1090,1034,846,758,1064,1308,1056,1110,991,872,664,1005,1350,1382,1208,1154,1252,1152,830,854,968,1006,1222,789,705,759,632,464,405,596,933,1148,1406,1270,1172,1064,1050,752,566,564,430,389,418,399,335,350,475,602,1007,955,1338,988,499,433,637,730,1024,1316,1708,1732,1274,1056,1166,1364,1102,791,943,1096,1032,900,492,487,571,507,524,565,703,696,576,396,1034,1242,1142,1078,952,908,1028,891,872,783,619,613,485,457,618,991,998,698,692,1140,1340,1192,1066,1046,1300,1562,1440,1194,1244,1754,1812,1610,1774,1454,1136,1282,1302,1204,1398,1570,1456,1258,1514,1150,1196,1274,1278,1124,895,863,1220,1362,1458,1440,1310,1164,1332,1578,1328,1392,1146,822,1022,1166,941,1092,1170,1048,1064,838,680,817,582,422,319,365,384,512,861,1084,1094,1244,1526,1470,1294,1268,1166,1046,1262,1254,1280,1282,1398,1384,1338,1328,1216,1120,741,878,1926,1606,1258,1152,1184,1132,1240,1038,656,700,932,958,911,1010,1080,821,567,644,700,575,714,1078,1046,988,1108,1058,988,1034,1278,1318,1354,1302,1566,1210,736,632,679,972,929,760,521,429,414,387,387,472,576,597,769,722,412,338,374,391,357,354,364,528,550,394,303,299,297,318,312,314,387,450,410,392,366,342,359,351,395,430,418,400,380,388,422,540,558,587,572,560,728,1002,1450,1488,1178,1050,1032,1116,1144,1382,1506,1632,1456,1086,922,1018,1054,998,1064,1000,844,807,801,1032,1356,1188,676,553,579,669,753,880,913,725,546,610,586,539,589,571,500,458,451,418,393,399,366,352,389,389,393,396,390,435,617,607,615,662,570,536,546,582,604,521,380,360,357,350,331,329,333,336,312,296,295,291,262,286,305,290,280,292,279,287,286,277,277,277,292,306,316,310,267,255,261,269,281,303,285,299,310,325,332,336,346,342,368,404,445,539,583,575,539,476,502,560,517,464,517,565,642,653,543,434,404,394,388,385,363,403,447,446,371,305,291,297,314,340,346,322,334,313,303,321,363,371,371,390,368,312,308,328,307,289,290,295,300,316,374,365,307,296,285,289,291,314,302,306,353,577,752,926,1230,1386,1426,1576,1764,1812,1910,1982,1964,1902,1754,1738,1834,1760,1662,1570,1426,1046,508,437,474,528,506,595,888,1356,1594,1616,1526,1340,1076,1054,1348,1340,1238,1406,1344,1280,1148,1234,1368,1322,1290,1284,1400,1600,1400,1134,832,832,722,820,797,1660,1676,946,833,934,1048,1232,1256,1398,1408,1414,1262,1118,1114,1090,1322,1246,892,1158,1404,1326,1292,1120,825,1172,1726,2188,1722,1434,1638,1794,1730,1354,888,744,819,780,969,1426,1498,1410,1072,754,842,959,1254,1212,647,623,745,670,697,707,879,810,785,917,1150,1032,580,689,991,1016,749,670,641,816,1050,824,552,753,943,1150,1424,1264,961,956,1042,1032,724,927,976,631,1090,1676,1970,1666,1274,1180,1098,1092,1292,1552,1568,915,748,1124,943,846,1015,1364,1154,788,534,597,844,890,525,447,555,868,1246,1122,1172,1122,947,1034,781,813,1406,1400,771,763,998,788,752,990,960,606,539,458,430,479,435,442,479,389,474,578,624,641,1290,1552,1360,1432,1456,1388,1256,1156,1096,1176,873,646,442,417,456,445,525,473,389,359,448,438,367,390,369,452,420,402,385,452,608,525,466,689,754,408,351,321,315,333,331,296,307,380,558,497,421,428,430,393,383,365,330,381,735,745,423,421,429,376,387,442,536,781,1044,980,1460,1746,1630,1660,1606,1414,1340,1560,1160,701,805,679,724,1148,1494,1626,1790,1602,1378,1242,1366,1498,1470,1230,1194,1274,1310,1178,1208,1282,1174,1110,1200,1138,915,777,1004,1148,1078,1074,1152,1214,938,828,943,669,476,578,494,502,462,636,927,827,524,475,553,740,692,510,462,449,441,385,387,384,363,461,618,584,550,498,586,634,570,508,535,464,545,502,389,389,495,695,593,460,476,423,383,440,423,392,433,475,506,658,708,458,306,299,302,362,447,411,371,397,435,412,356,380,422,446,435,412,484,502,296,259,386,397,366,340,267,222,225,249,246,226,279,502,474,452,501,387,362,450,422,358,316,499,1166,1096,733,938,1013,1060,1206,1360,1306,902,770,676,527,908,1021,754,1013,1042,1120,861,1404,1780,1368,998,1116,1072,747,1190,1620,1346,1362,988,655,865,707,485,768,941,574,284,414,587,645,823,982,1164,1148,1368,1434,1284,963,778,774,1130,1322,1458,1666,1448,1562,1500,1032,892,672,516,605,670,705,639,802,1102,1214,1058,966,967,615,454,581,877,923,708,442,404,318,293,328,349,393,581,764,906,987,945,1078,1534,769,379,382,337,789,1432,1478,977,564,1174,1554,1526,1498,1286,796,647,786,505,372,458,488,577,745,781,794,743,925,1244,1516,2154,2202,2000,1700,1324,952,629,490,608,973,926,962,1266,832,445,414,472,627,910,1372,1168,807,1070,868,526,443,448,738,600,409,471,455,609,1288,1766,1234,1048,1038,963,1084,1264,749,363,385,409,440,474,461,427,377,379,385,339,425,396,385,644,601,433,354,354,604,866,1208,1166,918,1390,1502,1338,1058,1302,1532,1290,1094,996,864,760,892,899,885,936,1050,908,775,760,744,744,816,814,637,540,443,437,540,561,670,604,545,611,614,724,987,992,739,559,499,529,576,689,685,570,715,610,576,776,987,1108,1086,1108,991,942,938,701,476,525,576,764,921,946,985,828,748,805,1028,1210,1340,1350,1332,1338,1164,1026,813,720,1094,1182,819,515,304,317,338,283,458,797,1242,1018,911,884,704,619,485,315,310,291,376,390,419,453,543,740,881,894,826,862,666,455,415,391,368,337,369,407,611,762,604,454,436,442,407,382,375,408,369,362,366,429,510,670,901,1086,1152,1142,1116,1166,1184,1184,1232,1246,1414,1544,1492,1474,1288,1046,1136,1190,814,879,836,929,885,948,1064,1272,927,477,345],[210,234,328,424,396,371,379,371,293,248,339,488,571,623,587,582,601,595,527,544,544,659,786,699,604,586,491,458,388,554,766,1122,1344,1126,1022,1006,703,456,489,620,652,719,855,941,875,803,484,336,357,314,318,316,303,409,479,383,388,392,371,569,781,731,752,820,666,448,357,325,371,427,508,594,490,782,999,788,573,904,1232,953,686,888,1056,1116,1234,1052,1072,893,507,424,907,1274,1122,986,1094,1224,1038,778,496,662,1180,955,879,972,1008,1616,2076,1944,1682,1698,1604,1308,1218,1074,554,459,599,1126,1236,809,560,625,700,794,932,1072,1094,940,665,451,338,581,1306,1212,956,684,393,368,550,894,1224,921,740,761,672,663,704,854,983,832,474,395,668,1218,1378,1150,944,1076,661,537,660,391,340,371,342,327,316,321,331,319,281,319,383,676,976,897,883,1352,1384,1122,1028,881,781,778,593,442,408,448,501,513,402,447,498,375,282,328,561,876,884,622,747,902,1518,1302,1362,1052,678,399,293,268,279,314,579,870,1042,1064,921,769,763,618,502,866,832,649,688,571,480,566,863,792,534,362,341,316,357,539,564,422,435,532,510,440,425,487,460,346,248,361,630,466,320,819,1242,1124,661,448,660,552,387,494,712,587,741,876,902,1005,1042,1102,1190,1022,930,681,1022,811,943,1074,865,1020,1286,877,762,1184,1456,1476,1324,1216,1338,1290,919,700,902,1154,999,1194,1416,1216,1044,1038,1022,1324,1066,883,1254,1180,1250,1156,1126,1226,1274,1104,1104,1334,1434,1606,1550,1348,1210,756,949,1226,1372,1324,1212,1346,1510,1242,1096,1068,866,1108,1120,1116,1240,1246,1278,1142,731,616,942,1180,1136,866,1386,1410,1180,1158,1214,1116,1612,1952,1438,1252,1284,1306,894,804,1208,1104,968,1326,1564,1660,1760,1732,1576,1456,1370,1344,1470,1356,1342,1512,1572,1306,1200,1094,1218,1116,1324,1376,1042,974,1232,1282,1038,1086,1028,803,1176,1238,1406,1428,866,710,958,1026,1120,1066,683,514,666,988,1636,2106,1688,1582,1684,1466,1362,1324,1164,1017,958,944,1013,954,877,693,764,642,711,677,708,862,966,958,825,678,388,410,545,753,1344,1308,968,980,892,730,778,989,1428,1346,977,791,548,554,543,628,728,636,515,509,425,473,767,856,1070,1052,719,520,431,341,611,869,594,401,828,1134,781,799,864,1282,1454,1454,1566,1760,1534,1036,814,907,695,542,558,653,476,665,1166,1084,843,1090,1016,736,495,507,636,454,336,326,390,338,624,662,421,373,551,705,889,799,769,802,804,580,491,769,765,618,537,805,1054,1044,890,1122,1166,1148,1244,1166,873,960,1004,1256,1232,1224,1034,838,796,1036,1222,1202,1070,1102,1064,876,766,740,810,1038,1116,853,967,1032,704,612,481,630,999,991,781,692,709,492,454,487,492,489,443,421,379,336,359,484,852,1098,1518,1052,1062,883,749,853,650,543,772,1172,1394,1356,1294,1180,1214,1384,1298,1080,1088,1280,1586,953,360,413,477,497,409,281,314,645,659,513,1232,1272,847,984,1252,1574,1888,1256,1058,1005,800,505,408,448,435,694,752,882,1056,1262,1376,1182,1174,1376,1146,1158,1368,1252,1354,1610,1672,1714,1780,1644,1422,1164,1030,1166,1388,1082,987,1578,1544,1194,979,1310,1252,769,713,1102,1552,1438,1514,1224,1154,1278,1354,1546,1316,1298,1212,1122,1204,880,593,841,695,827,852,683,869,933,985,672,326,337,355,593,1016,807,755,1070,1236,1350,1494,1282,984,1188,1490,1450,1206,1058,1040,1012,1338,1268,878,766,480,722,1182,1204,1266,1168,1060,1166,1434,983,673,711,834,878,948,1088,1010,891,936,826,762,738,661,644,753,1098,1126,1064,1180,1306,1154,1024,978,1256,1772,1622,976,951,1070,1130,1052,954,812,669,482,401,432,529,520,677,868,547,249,323,495,456,368,360,346,381,417,364,316,286,291,316,304,340,550,680,591,587,607,487,340,359,365,374,380,346,343,343,364,502,594,591,540,506,962,1556,1742,1566,1158,955,982,1174,1060,1306,1458,1666,1426,868,618,705,803,890,932,846,715,790,877,957,965,805,645,655,756,794,830,895,968,824,607,649,658,579,479,422,402,398,427,417,407,439,424,388,397,376,399,408,421,438,417,402,508,511,486,536,575,590,430,366,362,356,352,354,327,333,330,319,307,306,314,308,317,296,302,289,295,349,343,308,297,302,285,289,303,314,308,297,285,284,319,349,324,318,361,405,366,310,320,322,318,320,389,491,628,650,631,604,517,446,495,594,630,608,483,495,592,642,506,441,411,420,448,404,377,401,436,464,439,335,288,317,341,334,324,338,320,291,293,306,337,348,344,334,315,299,291,313,320,316,304,289,301,314,309,285,298,294,309,309,300,303,304,332,448,814,866,882,1110,1398,1478,1562,1722,1864,1848,1810,1812,1648,1442,1556,1780,1682,1590,1540,1224,732,472,498,498,515,769,1156,1498,1620,1592,1600,1340,955,897,1310,1716,1578,1412,1460,1312,1258,1260,1238,1256,1284,1328,1306,1028,966,1334,1484,673,530,534,725,1134,1308,1016,867,979,1304,1146,1062,1074,1262,1388,1434,1266,1400,1280,1230,1322,1166,1058,1136,1326,1772,1626,1278,971,971,1050,1556,1770,1714,1432,1100,797,547,413,501,569,609,659,1026,1252,1388,1326,1274,1100,915,947,819,636,631,775,614,1070,1162,858,788,655,711,712,595,552,794,1156,895,661,775,714,653,954,1010,1064,954,1002,1166,1330,1186,763,838,783,782,761,1100,938,578,986,1466,1626,1360,1278,1354,1254,1354,1466,1478,1610,1310,1258,1044,752,933,1216,1354,890,471,496,795,1406,1246,647,474,483,677,893,820,882,988,1007,854,472,472,1122,1666,1274,883,1366,1138,786,949,1138,872,748,735,567,479,450,529,698,578,648,638,574,453,775,1200,1276,1348,1954,1900,1320,1052,1100,996,1021,783,491,395,408,428,431,419,394,373,422,479,381,421,388,383,374,388,507,676,612,508,560,723,852,425,385,392,378,375,375,459,483,595,618,485,434,454,468,389,354,339,352,357,520,465,363,483,492,443,430,405,495,797,918,865,1310,1566,1448,1584,1474,1116,1092,1046,769,705,746,756,1202,1734,1752,1666,1846,1582,1216,1350,1374,1186,920,712,936,1196,1390,1480,1400,1214,1022,1154,1238,1218,896,771,1044,1156,1182,1030,980,1282,894,549,509,431,368,503,449,387,424,616,861,969,648,481,462,531,475,481,440,392,409,486,481,385,361,508,822,713,514,457,571,648,554,524,633,536,425,451,375,348,503,654,431,379,468,442,423,406,372,383,424,439,463,681,788,462,299,303,286,337,429,402,442,457,426,386,378,422,463,466,451,415,540,489,324,348,426,404,325,275,252,218,244,271,242,226,237,346,436,411,424,478,609,763,676,452,332,662,1166,913,714,827,902,963,1274,1118,819,701,698,716,628,785,1040,1120,1440,1130,767,705,1254,1454,1270,992,875,700,666,1084,1340,1184,1122,1210,805,559,476,539,1048,1206,742,415,379,415,516,842,972,1142,1220,1368,1228,1088,1088,946,924,1256,1412,1566,1782,1412,1342,1182,948,871,603,474,577,648,654,712,815,877,1254,1202,1328,1044,546,317,352,383,521,577,690,577,357,305,296,400,507,697,986,930,754,546,686,832,549,365,393,465,909,1568,1654,1042,702,1088,1246,1300,1300,1322,878,923,1104,570,514,861,922,662,711,713,686,777,730,595,783,1678,2310,2432,1718,998,1064,1190,1032,640,874,949,1094,1216,694,422,461,925,1266,899,996,993,778,636,545,501,410,593,844,618,476,572,507,694,1166,1144,790,636,650,1062,1328,1242,667,316,363,354,369,448,478,480,415,428,386,352,508,415,515,919,795,420,361,561,963,1228,1694,1738,1024,1518,1620,1102,1023,1282,1294,1378,1314,916,690,604,562,810,793,799,879,896,882,694,602,666,722,662,555,539,538,502,574,631,623,515,472,537,588,762,922,857,632,621,611,651,585,560,661,556,736,899,933,825,711,680,700,826,903,1014,1118,1154,1198,1010,749,755,809,817,796,701,642,724,716,815,969,1154,1296,1356,1406,1372,1238,1090,1318,1670,1484,599,303,321,385,303,371,385,532,651,825,811,670,691,396,296,329,308,331,344,440,692,583,436,532,725,1082,1212,679,446,391,382,366,364,414,539,667,642,485,357,382,369,360,356,365,402,415,378,368,348,401,559,860,1054,1076,1136,1146,1116,1168,1254,1290,1232,1232,1252,1208,1090,1190,1132,959,1174,1114,1040,1044,1160,772,503,463,616,427,275,275],[240,284,345,365,408,442,391,318,274,280,376,521,575,595,544,544,520,545,664,689,582,628,771,742,642,544,384,464,374,513,955,1002,1204,1046,883,787,538,427,478,733,1120,1242,1130,880,683,558,349,281,280,275,265,284,411,648,1009,1166,680,589,630,623,622,675,624,584,480,442,458,357,350,443,676,747,688,1016,1148,702,550,891,1180,1072,1015,1296,1604,1776,1572,1108,909,1208,1246,883,767,792,581,551,944,1146,744,569,582,526,659,531,442,487,615,1318,1778,1656,1382,1286,1536,1656,1524,1462,874,615,794,901,963,634,372,317,378,406,462,700,1011,747,769,656,648,567,711,1246,1376,1092,813,677,738,879,1030,583,444,676,802,1013,1134,1178,981,556,389,397,534,795,1450,1598,931,837,809,618,566,395,333,328,316,327,316,324,329,306,370,562,523,456,987,1154,1152,1144,1011,991,1016,750,576,890,767,487,449,461,668,708,603,468,398,403,574,728,720,1020,821,400,385,656,912,1150,1282,1210,846,418,325,310,347,595,924,1098,1010,988,1072,1130,1040,819,620,750,676,477,488,480,476,535,788,858,742,484,367,341,325,338,347,362,456,515,446,472,559,469,289,247,278,274,274,306,349,545,910,1236,957,522,625,531,465,633,496,601,855,1210,1400,1222,1080,1294,1152,829,591,681,1308,902,567,907,930,1118,1086,614,817,1382,1152,1094,1068,799,670,775,755,988,1122,1108,1154,1220,1306,1256,1100,1188,1238,1348,1001,889,1228,1154,1182,1258,1326,1292,1176,1214,1326,1194,1130,1346,1400,1300,1148,705,511,849,1350,1422,1212,1192,1300,1024,1130,1158,976,1060,823,948,1036,1216,1346,1074,901,1042,1052,1330,1080,962,1256,1024,902,1104,901,755,1620,1870,1450,1512,1720,1812,919,989,1214,1222,1186,1306,1340,1384,1516,1644,1596,1622,1616,1722,1896,1518,1354,1498,1430,1306,1280,1228,1250,1192,1222,1250,1218,1132,1364,1160,618,736,871,965,1210,1234,1140,1154,957,932,1272,1158,1084,1042,1050,1013,1650,1622,1664,2092,1886,1554,1434,1308,1158,951,955,885,994,955,1030,869,664,712,742,511,479,650,854,921,863,697,786,567,643,571,664,774,838,877,966,1056,1040,1004,954,995,1124,894,743,700,500,589,649,667,679,669,814,905,724,636,865,1068,1072,1148,1102,874,628,522,624,685,440,374,552,832,803,890,959,1222,1206,1372,1660,1626,968,572,591,647,406,335,353,750,646,636,836,755,974,1262,828,585,565,439,725,545,404,340,309,310,577,471,378,399,415,722,971,754,775,797,693,749,768,802,880,897,947,789,545,426,682,1012,962,1064,1092,1056,966,863,1064,1106,1092,1360,1254,927,854,935,1148,1232,989,1054,1352,1250,1023,713,709,770,993,1098,1064,989,1056,1176,1100,762,702,601,493,401,336,275,417,528,480,498,422,369,399,344,414,697,1342,1514,1420,1060,886,677,913,1108,996,954,912,1086,1132,1172,1128,1132,1180,1374,1380,1296,1218,1700,1720,975,543,417,390,415,403,476,536,885,960,874,1368,1338,766,1072,1514,1470,1402,1134,1344,1384,1238,789,489,401,408,504,592,930,1324,1290,1422,1560,1486,1332,991,919,1288,1252,1256,1434,1284,1092,1028,1264,1396,1120,1218,1264,1344,1318,1218,1538,1724,1458,1136,1013,779,747,999,1496,1538,1378,1382,890,736,1172,1080,946,989,1040,1256,1146,875,516,464,415,447,977,1021,856,843,631,639,572,401,372,365,565,918,706,633,720,807,1324,1592,1562,1434,1570,1702,1434,1266,1042,1142,875,1186,1284,940,759,580,932,1040,1050,1246,1140,1260,1524,1860,1144,886,1470,1130,821,808,996,1150,1088,988,771,808,915,851,591,730,989,1140,1180,1246,1264,1120,853,761,1210,1214,1100,887,846,1030,1300,1334,1256,919,553,484,462,487,498,677,1003,916,411,319,394,402,427,444,433,395,322,310,321,310,291,293,332,321,314,540,738,684,502,654,618,311,322,343,364,368,328,340,349,351,445,564,619,578,662,1250,1774,1760,1324,998,847,1066,915,899,1408,1544,1510,1604,1152,618,591,641,729,811,738,655,788,770,659,819,1042,857,699,801,810,828,827,844,800,598,577,700,720,565,457,424,399,407,392,410,434,388,377,399,397,413,403,401,447,433,471,538,521,512,512,540,454,347,341,376,335,314,331,343,355,339,325,312,339,304,306,327,297,280,281,344,414,404,349,309,307,306,313,296,301,326,319,312,306,317,324,311,321,325,307,311,300,298,287,314,360,413,597,652,543,523,506,428,461,625,697,731,599,482,594,651,543,467,418,365,418,499,489,393,346,420,448,484,406,403,437,383,386,419,373,298,269,258,278,316,325,296,316,301,305,312,331,328,284,260,282,304,300,282,267,278,307,323,323,322,302,336,351,584,877,834,1026,1306,1516,1554,1556,1696,1762,1780,1852,1794,1532,1314,1300,1400,1406,1238,1096,857,619,482,459,653,1012,1454,1670,1650,1534,1302,946,817,1023,1286,1520,1552,1452,1408,1388,1202,1268,1160,968,1290,1466,1312,1152,1086,1192,1422,1192,757,608,498,573,890,872,900,881,1148,1602,1232,1192,1368,1124,1148,1328,1354,1382,1208,1124,1306,1348,1350,1294,1376,1476,1256,1270,1160,973,789,708,815,761,630,586,561,532,426,453,430,594,676,712,1104,1340,1312,1098,659,376,314,343,430,794,1015,597,1102,1090,753,603,536,628,753,884,821,803,971,871,923,1004,966,988,1340,1404,1080,915,1154,1158,1240,1340,1260,1110,792,731,802,955,829,635,1168,1410,1092,1130,1124,1030,1322,1694,1892,1560,1426,1322,1394,1132,1256,1366,1132,993,762,522,629,1160,1708,1454,1156,999,948,883,787,565,601,844,938,743,503,387,771,1486,1648,1472,1560,1408,1202,1232,1036,794,1028,1172,821,519,461,633,768,695,652,531,384,359,561,1076,1244,1360,1682,1552,1350,1118,1148,922,1026,857,531,413,396,401,413,415,403,350,369,398,397,495,511,561,566,470,594,824,673,554,871,1050,935,533,511,618,529,452,414,582,886,818,541,503,522,685,661,486,377,428,462,437,412,405,430,379,381,460,562,492,376,410,606,773,1050,1494,1622,1526,1164,1050,998,718,732,759,756,1156,1738,1900,1760,1706,1770,1462,1418,1528,1340,999,660,590,985,1306,1322,1240,1256,1124,1176,1348,1338,1252,916,925,1138,1262,1174,867,868,973,619,440,441,390,350,356,367,378,404,556,666,799,628,503,463,405,422,497,497,440,420,491,420,446,511,590,613,473,414,397,411,425,410,427,461,445,438,444,399,364,518,521,392,362,460,490,408,379,368,374,355,381,383,471,521,317,281,333,334,391,463,446,449,420,397,369,426,577,596,466,395,402,637,535,375,394,415,391,288,262,254,219,225,236,247,248,337,389,387,327,356,517,600,744,808,735,611,685,635,619,786,864,684,807,897,555,602,827,683,682,891,738,597,787,976,770,461,637,1078,1262,1282,988,562,426,641,1136,1314,1320,1150,1276,1054,642,520,725,1084,1190,939,493,318,313,318,527,877,1200,1394,1584,1432,1190,1146,1226,1150,1376,1382,1430,1438,1324,1420,1232,933,755,678,687,682,632,692,1021,1182,1100,987,1048,1136,735,396,307,356,369,421,616,625,456,381,319,330,406,561,853,1136,833,891,999,818,471,482,602,705,845,880,973,891,844,795,629,624,782,955,1154,1048,1010,976,745,589,838,1056,941,834,788,796,836,741,539,611,677,1282,1840,1122,714,788,1086,1166,1056,1046,1122,1372,1112,712,578,829,1808,1534,1052,645,714,620,479,446,451,423,616,882,801,624,801,1074,828,597,524,733,705,672,1576,2094,1498,723,358,371,360,408,518,691,727,729,644,620,540,493,403,540,904,774,434,397,716,1040,1360,1426,1160,1214,1494,1350,1182,1604,1608,1516,1560,1454,968,865,811,618,683,748,783,780,893,789,697,910,1038,669,472,417,368,354,509,780,882,896,769,591,645,769,653,660,782,546,531,587,667,668,629,601,574,719,819,664,543,516,460,400,466,729,1122,1214,1426,1456,1092,871,832,738,722,824,847,727,639,597,743,764,811,846,1080,1320,1464,1440,1406,1400,1768,1478,644,342,338,385,330,330,333,379,547,760,805,591,597,520,343,337,323,291,361,388,408,453,441,525,839,902,803,502,424,423,381,340,394,529,672,679,542,482,355,396,340,343,371,393,384,363,355,365,352,346,437,755,1070,1078,1106,1100,1126,1122,1168,1250,1260,1254,1294,1122,983,1256,1186,927,976,1296,859,1180,1026,531,417,288,260,226,234,264],[236,255,261,264,285,280,278,264,280,355,415,538,569,568,583,565,587,614,643,598,522,542,635,658,561,477,394,432,357,556,858,885,1018,1030,908,546,351,405,490,634,844,675,836,654,454,365,294,254,322,326,355,444,491,815,1144,1316,854,754,627,666,945,882,518,410,404,713,900,870,437,540,713,719,860,1200,1046,702,612,921,1438,1484,1542,1550,1528,1510,1766,1230,1124,1396,1628,1090,598,782,588,554,1021,1300,742,586,665,506,444,384,369,495,839,1084,1096,1288,891,656,1020,1622,1746,1572,1134,1128,1324,1338,1216,965,618,375,454,435,409,610,713,734,1060,1014,955,905,927,848,989,1394,1354,1452,1268,810,676,552,739,954,771,679,650,668,628,493,463,433,376,486,785,692,593,768,855,677,677,494,345,340,331,328,312,343,359,346,554,838,970,959,1096,1412,1382,1110,1176,1188,1050,636,617,852,937,723,542,702,827,669,705,774,603,351,681,1158,874,462,471,433,286,464,767,1142,1216,1180,1068,751,347,366,591,838,988,1126,1074,1060,1026,1160,1296,940,593,572,567,559,674,574,516,583,697,705,636,576,494,417,438,326,299,344,485,518,492,612,586,348,203,225,285,273,224,266,321,348,540,1005,814,512,807,888,788,600,559,921,1248,1396,1292,1348,1092,1134,1152,1128,988,1428,1318,753,779,940,1094,1064,933,745,656,1158,990,1262,1222,763,528,478,586,946,1232,1532,1728,1300,1220,1164,1388,1606,1238,708,576,667,881,1116,1110,1078,1294,1288,1202,1178,1062,1020,1312,1358,1292,1340,1214,808,590,933,1366,1376,1210,1010,929,1032,1046,1152,1068,1124,1003,1124,1220,1310,1314,912,945,1298,969,1140,1016,1016,1236,778,555,627,497,693,1282,1428,1482,1776,1788,1942,1188,1001,1110,1152,1274,1168,1094,1110,1066,1294,1410,1514,1644,1638,1606,1578,1578,1664,1710,1746,1544,1434,1496,1408,1204,1015,1306,1468,1418,1202,719,780,1024,982,873,1094,1294,1096,886,924,954,918,1180,1110,1028,1030,2192,1984,1430,1596,1506,1422,1424,1298,1056,910,1110,1178,1080,989,779,673,567,486,630,574,449,778,938,835,807,843,1072,1188,1346,885,603,470,436,809,1056,1120,1130,1056,1068,1056,891,823,730,565,541,718,769,697,615,761,1078,918,839,930,993,1112,1110,1062,1138,1042,988,909,619,441,417,468,677,921,784,836,1108,1228,1034,816,1048,1212,935,777,719,370,315,293,365,431,599,625,738,705,690,829,536,532,670,460,579,823,797,500,381,409,385,399,448,387,441,717,840,769,630,652,614,991,1110,1078,935,1060,1194,853,553,586,821,938,1080,1556,1526,1208,984,828,826,634,747,1146,1196,921,813,943,1120,869,808,830,803,673,530,495,484,521,841,858,804,910,1248,1722,1634,769,445,498,434,322,287,272,517,831,677,428,402,492,523,535,855,1036,1134,1174,1346,1210,758,766,1040,1260,1346,1170,829,907,1180,1252,1013,1200,1162,1000,1032,1056,1284,1560,1328,1228,816,499,419,376,422,562,691,1144,1348,1142,1318,1516,1036,1064,1020,994,1094,1236,1504,1440,1440,1032,527,376,332,346,414,740,1166,865,1098,1160,984,1194,1180,1068,1248,1262,1378,1548,1166,974,970,1172,1292,1350,1530,1162,1094,1328,1196,1370,1488,1682,1570,1206,1058,1080,1350,1466,1466,1350,1114,1001,998,1001,1094,1036,860,1170,1302,869,548,465,889,780,572,962,1202,1058,713,506,822,967,823,563,436,516,563,636,555,455,955,1534,1582,1632,1534,1592,1510,1376,1402,1019,1052,938,1004,1023,988,802,472,528,767,1130,1140,1052,925,894,1110,1062,1152,1416,1284,977,725,985,1146,948,821,541,747,824,1134,867,821,960,1296,1470,1268,1078,1104,979,1009,1174,1166,1406,1204,937,730,916,1380,1400,813,622,722,583,527,670,1216,1314,1266,594,351,386,381,428,473,461,433,294,316,307,316,283,318,371,333,320,379,593,627,475,491,448,333,314,346,360,376,354,331,319,349,400,572,786,764,1094,1782,1962,1390,843,822,841,1098,1003,1056,1726,1638,1112,1628,1496,955,804,596,673,702,668,724,755,747,767,864,905,700,543,619,719,777,780,744,741,702,711,775,818,712,513,412,397,397,388,366,360,372,407,409,393,433,409,396,501,544,499,461,456,402,459,433,361,355,369,350,319,318,318,331,352,345,331,323,343,315,321,327,319,303,321,349,333,358,370,330,307,321,334,313,314,324,304,324,328,313,318,326,326,302,313,302,302,279,277,350,392,477,718,709,516,550,426,408,607,737,733,694,661,702,748,656,489,468,451,365,379,477,513,434,326,371,443,481,489,486,422,406,529,605,521,398,300,283,273,297,312,309,315,309,316,328,338,322,287,283,296,318,309,296,304,318,324,333,328,322,330,336,344,528,814,968,976,1194,1478,1580,1550,1672,1900,2032,2106,2024,1656,1252,1112,1007,910,781,615,546,524,556,841,1264,1550,1588,1506,1422,1226,799,498,582,974,1294,1180,1390,1358,1384,1466,1244,1232,1136,905,1044,1192,1122,879,770,701,825,888,870,685,528,487,421,494,706,817,1274,1394,1222,1106,1120,1015,992,1184,1424,1476,1308,1208,1224,1104,1238,1300,1366,1508,1518,1400,1264,977,635,512,449,415,458,564,692,559,520,777,854,1021,938,770,910,1038,725,564,596,441,359,368,372,572,583,459,796,901,749,647,625,642,657,812,738,1216,1256,619,514,626,1000,1086,1118,1300,1242,952,760,1058,1304,950,1005,1152,1268,980,885,1016,1106,1154,1232,1156,1112,1234,1168,1018,1272,1814,2032,1518,1278,1404,1448,1378,1504,1444,931,784,691,466,596,1462,1658,1238,1266,1404,1210,998,773,450,451,585,742,893,822,539,700,1196,1498,1496,1224,795,755,1021,863,825,1098,1046,849,681,645,667,1118,1160,894,623,370,375,493,875,1346,1430,1240,1218,1318,1224,1134,1348,1490,994,467,417,393,396,396,399,406,390,358,355,460,636,744,805,797,548,514,687,739,579,729,841,904,680,542,533,490,514,460,503,738,644,574,539,516,619,832,791,536,399,408,450,485,498,528,385,367,349,460,464,393,367,431,554,840,1260,1500,1216,982,1400,969,766,772,777,865,1520,1826,1802,1692,1764,1686,1414,1576,1350,1284,1246,774,628,1058,1168,901,1214,1488,1252,1324,1458,1378,1204,697,827,1432,1368,1154,860,597,533,510,519,480,335,343,389,366,349,411,497,577,700,683,545,491,433,418,437,494,543,482,505,584,628,614,568,532,518,491,442,411,397,387,413,425,415,420,452,609,523,487,458,400,348,395,395,318,344,359,373,417,455,334,320,372,349,385,583,682,623,726,862,800,589,392,387,616,613,458,387,358,411,520,481,387,357,441,367,265,241,237,241,232,247,254,302,416,384,306,312,440,551,517,536,694,666,858,711,437,495,680,630,622,842,750,436,543,763,630,576,916,1068,786,585,565,500,386,441,571,860,1190,891,467,408,530,1040,1336,1404,1270,1296,1360,1200,1028,1158,1072,813,694,412,316,287,407,532,882,1094,1252,1502,1408,1064,995,1198,1058,1104,1274,1314,1206,1148,1268,1172,965,870,954,950,774,694,966,1260,1120,1005,704,533,483,448,377,360,362,378,581,716,510,385,366,340,376,415,558,700,711,932,1090,1052,992,731,1022,1338,1224,919,749,1016,1128,1360,1208,616,393,492,789,808,629,625,898,893,760,1058,1013,1204,1220,929,800,960,847,531,481,669,1278,1444,853,994,1220,1012,1168,1406,1036,1046,1356,1242,1028,968,1072,1826,1332,1234,758,515,463,453,427,433,443,502,628,738,969,1256,1056,883,574,503,767,1118,1226,1498,1866,1448,698,425,431,377,413,735,896,831,698,860,1256,982,621,546,446,525,620,553,651,1376,1224,1048,1070,1494,1716,1722,1720,1266,1588,1658,1550,1282,1166,1134,1062,1140,1090,877,961,1086,1360,1654,1036,828,950,938,811,461,415,447,548,899,1208,1240,1210,1246,931,664,753,613,590,844,617,510,613,684,648,605,615,603,651,592,423,472,447,361,377,383,483,630,859,1318,1516,1168,929,861,579,593,743,859,865,703,610,526,576,684,747,650,864,1082,1312,1434,1278,1576,1294,651,401,439,449,376,375,367,359,402,455,481,664,733,599,466,487,437,532,737,683,436,420,567,976,807,427,408,452,462,432,374,406,465,501,601,708,706,706,505,388,369,376,391,401,388,352,362,381,381,386,416,615,934,1066,1052,1050,1118,1108,1118,1194,1236,1290,1194,766,666,898,1001,924,792,1246,1054,1232,871,342,406,499,319,322,289,281],[229,232,240,254,249,246,262,269,275,359,524,579,608,640,617,599,608,583,547,451,452,463,478,502,525,492,440,484,475,645,735,631,608,539,738,583,606,685,755,625,509,429,312,253,280,308,284,284,361,351,333,332,403,610,857,902,1158,973,490,719,969,586,345,349,319,668,960,1226,630,461,763,895,932,990,926,872,783,972,1422,1522,1260,928,1066,1066,1768,1234,747,582,529,323,308,405,447,784,1038,749,581,772,730,680,841,679,414,541,1092,1236,1023,907,560,487,732,1116,1544,1598,1366,1302,1358,1318,1108,972,532,378,449,490,522,683,603,612,574,583,512,644,946,793,672,1140,1434,1302,711,625,720,1052,1320,1234,1290,1128,891,599,502,480,528,505,458,731,659,437,528,795,726,731,818,463,347,362,389,352,313,359,371,389,457,539,669,936,1216,1520,1778,1918,1360,1566,1016,669,928,860,713,775,1076,1442,1224,732,523,666,605,350,367,684,638,703,836,562,376,433,828,1136,998,1016,1156,1164,795,786,990,946,994,1184,1200,1008,883,943,932,758,784,847,619,959,1098,725,476,651,675,479,415,441,434,514,535,359,318,320,446,475,504,488,328,220,259,332,312,263,233,275,281,300,447,1017,1064,801,880,942,833,694,982,1222,1332,1350,1100,1050,1226,1136,785,939,1054,1104,861,795,993,1054,1246,1034,799,800,829,1220,1286,1526,1056,510,773,1001,836,876,997,1162,1606,1126,1052,1268,1486,1614,1220,713,576,841,1164,1238,1086,1174,1174,1160,1082,1084,1098,1296,1422,1132,1260,1364,1132,1140,1118,1180,1408,1286,1296,990,913,1218,1168,1134,1118,1060,1046,1074,1010,1030,1034,1056,1202,1120,763,913,945,1194,1152,844,914,572,407,741,1476,1328,1460,1614,1484,1494,1268,1114,1108,1244,1288,1208,1202,1184,882,1140,1036,1236,1344,1260,1274,1232,1302,1582,1722,1722,1746,1742,1636,1564,1242,807,1170,1660,1730,1504,1288,1198,1200,1042,784,988,1238,1334,1116,1156,1172,1154,1180,1242,1134,1156,1302,1082,1122,1126,1078,1320,1372,1430,1188,1180,1346,1346,1218,1120,984,994,794,567,863,910,666,835,672,616,865,901,682,666,819,833,821,478,542,751,1098,1382,1416,1400,1160,906,907,866,692,521,466,558,833,751,709,767,854,880,653,685,1028,1234,1094,1122,1264,1152,896,978,1042,906,764,717,930,1072,1106,1098,1150,1236,1218,861,982,1078,1212,1182,1148,576,349,305,443,600,800,709,441,475,495,749,837,895,863,543,626,1066,987,594,455,425,356,359,361,332,508,854,927,633,507,532,608,988,1198,1258,1302,1072,899,933,861,835,1428,1542,1494,1600,1374,1120,783,854,875,647,670,1005,1264,1038,849,922,835,666,728,514,411,405,363,536,782,894,739,605,516,873,1248,1516,1003,524,405,570,680,454,386,641,854,1148,919,632,514,564,575,501,836,1044,1076,1240,1390,1292,1126,846,933,1108,1198,1270,845,700,1130,1340,1340,1290,1088,1100,1248,1102,1248,1338,1024,1040,1001,713,492,417,422,391,562,1078,1438,1476,1528,1770,1222,1198,1124,1132,1372,1352,1278,1340,1228,692,438,400,468,563,445,421,876,1008,1140,960,993,1220,1292,1290,1332,1418,1346,1418,1026,849,1072,1216,1222,1544,1628,960,674,1182,1642,1858,1266,1504,1512,1454,1288,1340,1612,1234,973,1100,1136,1228,1188,910,996,1220,1308,1542,1288,973,1007,1186,1268,1072,717,541,753,980,1068,1160,1228,1356,1470,1516,1298,730,616,779,872,631,792,1266,1438,1326,999,1426,1550,1756,1324,902,733,816,936,681,608,896,809,584,948,923,755,836,891,979,1036,1072,1013,1001,1098,987,1003,1152,1030,943,932,722,1068,807,863,1076,1094,1116,1306,1670,1428,1088,1224,1130,1194,1023,926,1064,1136,1230,1116,1064,1262,1076,860,958,854,622,640,865,1088,973,814,539,399,357,372,550,593,504,499,373,345,316,352,329,354,407,359,299,374,462,400,350,353,338,319,324,340,356,363,349,346,346,380,404,502,900,1354,1660,1930,1498,907,752,849,781,867,1242,1444,1476,1434,940,1416,1716,1174,717,596,794,862,843,838,783,801,816,827,799,557,434,560,684,783,774,712,759,756,659,680,704,664,533,431,380,364,353,346,342,391,475,480,436,433,421,380,395,493,415,426,381,343,350,345,337,351,361,335,315,314,319,321,323,343,347,345,345,319,328,378,383,343,345,347,322,349,373,359,321,311,311,314,314,303,292,306,325,313,321,360,361,299,288,293,294,277,279,331,410,562,743,631,530,713,591,579,715,733,660,574,596,667,648,574,510,538,510,430,373,398,540,537,385,361,423,481,502,446,350,350,465,601,583,563,401,332,276,282,303,309,302,294,305,291,304,284,279,304,295,316,309,301,313,317,314,304,295,318,330,333,488,626,673,832,929,1074,1354,1552,1524,1662,1986,2126,2160,2170,1774,1258,1326,1132,941,830,608,603,816,1108,1396,1626,1654,1604,1438,961,662,454,471,580,1042,1094,956,1184,1142,1070,1178,1180,1454,1312,996,1146,1472,1176,664,475,492,796,1110,954,802,693,576,480,502,650,924,1280,1224,950,833,1082,1136,868,819,1072,1312,1354,1312,1462,1266,1300,1406,1202,1078,1172,1154,1148,1028,786,698,597,597,565,664,902,609,455,477,838,1142,914,659,932,1110,701,843,1142,585,370,300,293,313,331,372,362,401,662,711,524,549,617,670,692,894,727,428,350,653,1184,1150,1078,1096,1005,913,1005,1690,1452,943,971,959,1148,1302,1418,1364,1244,1104,1148,1414,1266,952,805,848,1012,1332,1406,1220,1308,1434,1476,1444,1166,1030,774,767,560,500,633,1184,1494,1550,1486,1406,1290,1054,773,449,473,705,891,742,570,472,565,969,1412,1454,1194,1070,1003,1366,1302,879,602,822,1096,1256,1058,1250,1678,1272,772,544,361,386,482,678,1238,1448,1394,1416,1554,1432,1250,1416,1488,1108,513,423,389,415,395,386,385,383,383,442,483,607,719,672,666,486,486,589,537,468,454,504,508,416,372,405,538,597,529,486,611,474,490,493,453,469,659,717,501,356,366,385,473,488,409,415,440,390,433,483,433,357,473,592,494,705,941,874,1012,1308,847,733,698,800,1232,1626,1760,1706,1598,1694,1342,1130,1334,1464,1288,1106,649,625,972,1010,825,1048,1434,1324,1116,1242,1338,1030,556,648,1064,664,808,782,467,615,728,541,448,361,409,488,540,600,664,752,656,744,749,448,412,381,374,351,379,539,589,511,422,470,537,587,566,584,649,661,537,482,505,468,572,556,514,502,695,615,482,445,392,383,371,308,347,351,387,455,501,513,335,310,376,419,432,524,623,673,788,1246,849,464,341,396,615,550,438,395,360,395,469,548,601,449,423,372,369,348,316,254,252,276,291,430,533,445,346,450,507,525,549,532,528,723,767,449,322,362,457,622,761,664,510,470,448,422,497,624,991,1116,1058,1023,810,495,390,416,639,760,1002,788,532,491,735,1150,1336,1188,1138,1238,1196,1292,1162,1114,1054,648,454,421,399,489,626,830,1142,1030,956,1188,891,937,1078,1566,1488,1550,1714,1320,1005,1066,1172,878,972,1044,1006,912,794,778,948,1362,1522,1272,1050,678,401,382,369,399,368,429,899,1754,1056,427,325,360,408,412,427,416,402,475,605,814,854,842,896,1352,1186,860,927,1156,1282,1396,1204,705,551,722,727,683,798,1088,1066,987,1060,1484,1572,1696,1662,1032,756,852,871,488,373,466,596,872,778,824,1004,1002,1023,703,544,990,1344,1470,965,729,744,936,1012,869,597,449,401,415,413,455,524,536,535,586,1010,1300,969,648,492,500,586,631,637,647,1282,1418,922,585,538,408,434,955,1134,1186,1132,1300,1498,1078,739,590,374,328,525,458,899,1578,1336,852,975,1664,2090,2008,1632,922,1184,1484,1302,1082,960,1094,941,995,1120,1206,900,948,1342,1536,988,738,799,1216,1146,576,504,538,647,1090,1480,1252,1228,1328,910,470,461,459,593,871,653,514,586,596,587,576,515,497,586,610,496,582,600,477,428,425,453,654,832,977,1240,1252,1148,1102,769,663,562,546,653,807,819,626,487,459,502,510,675,798,868,1160,1170,1570,1608,1212,932,692,564,489,453,416,328,327,526,749,777,907,860,641,473,510,824,1090,1019,791,750,680,932,855,491,366,424,484,477,462,465,405,352,444,611,720,806,732,484,393,428,368,369,379,366,416,388,410,429,455,584,880,1064,1042,1028,1078,1092,1144,1204,1274,1310,1194,604,631,631,794,929,809,1160,1524,1370,791,487,721,944,478,427,461,340],[238,246,248,242,234,250,263,295,393,581,700,636,662,784,730,636,591,563,510,433,404,404,446,510,545,496,449,477,484,670,860,590,642,664,901,601,792,943,962,706,416,325,317,350,449,451,352,362,318,318,291,542,824,601,692,898,949,824,507,366,346,368,447,373,459,719,628,839,724,419,527,660,714,668,797,987,1158,968,1054,1302,747,487,783,906,872,875,616,390,426,479,408,306,508,926,1023,1094,996,1020,965,960,1196,1070,788,646,1042,1296,745,419,421,443,574,926,1556,1794,1740,1450,1238,1320,1122,907,412,340,449,525,579,609,722,918,900,525,577,968,867,819,852,948,788,553,597,796,1032,1404,1328,1834,2108,1104,788,579,466,419,429,442,467,769,920,789,597,672,631,513,536,414,361,359,360,339,352,356,373,408,458,561,783,835,983,1428,1732,1806,1088,1282,1092,879,657,405,370,554,966,1324,1322,1260,661,674,505,621,974,767,375,773,799,577,604,451,727,875,1010,1300,1114,1240,1298,1064,1094,1122,993,967,866,689,748,1034,734,1034,968,901,998,1148,1068,910,755,624,455,662,1044,447,346,407,486,420,377,324,360,358,309,234,225,294,357,272,247,238,259,276,257,318,695,1188,1156,1214,1146,957,1100,1188,1152,1396,1454,1318,1054,994,1310,1021,636,734,669,527,790,851,998,936,864,664,702,846,836,1038,1480,1728,1294,969,1340,1792,867,572,578,628,1086,1264,1578,1512,1284,1162,992,942,1072,1332,1422,1172,1212,1284,1014,1106,1234,1278,1282,1320,1208,1234,1422,1092,794,1030,1450,1384,1444,1312,1294,1188,1244,1284,912,847,1162,1344,1042,899,669,598,532,631,828,822,668,630,737,1116,885,581,644,359,356,666,1414,1072,1334,1680,1870,1566,1256,1338,1308,1328,1162,1292,1124,1018,1009,1130,1140,1124,1124,1190,1046,966,1046,1240,1544,1652,1770,1792,1750,1784,1480,1162,1094,1208,1120,1188,1326,1002,1154,1396,1374,1248,1252,1358,1184,1212,1154,943,1036,1230,1318,1490,1132,872,1022,1046,1240,1001,1046,1296,1470,1438,1326,1198,1126,1106,1012,1046,976,822,838,809,751,758,680,687,910,1042,789,496,469,566,893,924,789,651,1010,1326,1174,1246,1064,844,907,839,699,618,520,659,1086,811,707,727,730,809,613,484,763,1124,1176,1154,1182,1156,808,918,1156,1296,1034,1004,1242,1104,922,1188,1324,1466,1094,739,1096,1302,1056,1064,1416,1088,476,345,520,797,954,997,644,385,428,735,984,1210,846,771,969,915,785,503,376,324,320,321,270,417,598,594,523,385,477,601,805,1210,1410,1498,1476,1011,706,1238,1336,1072,1334,1446,1244,1382,1908,1510,869,821,659,584,864,1112,1094,1013,1082,946,737,1016,935,550,840,730,393,637,861,747,620,686,672,762,1400,1414,1234,1526,1092,1060,987,622,825,925,852,999,828,806,601,624,828,852,1134,1568,1300,1282,1208,991,864,1062,1096,1190,1284,1312,990,928,1300,1422,1366,1276,1110,1218,1292,1256,1128,1200,998,1064,1196,1196,952,647,457,522,648,899,1126,1294,1402,1816,1572,1398,1600,1562,1406,1256,1146,1240,1144,549,407,356,503,503,410,337,509,1032,1266,1236,1412,1378,1144,1212,1218,1444,1390,1620,1368,1114,1110,1302,1354,1392,1730,1506,984,1258,1316,1066,1172,1340,1338,1478,1284,1420,1450,1214,951,969,1154,1218,1021,1142,1130,1112,1484,1920,1442,928,1042,1262,1242,1110,1144,918,742,841,1094,1266,1372,1236,1426,1778,1494,1084,933,980,1044,938,1056,1078,1360,1574,1456,1344,1130,1418,1390,1030,809,882,789,538,352,558,960,974,1094,689,327,439,739,866,863,948,1007,938,817,900,1126,945,727,677,873,902,1068,786,850,1288,1366,1372,1484,1918,1510,1180,1242,807,665,900,904,772,881,1378,1584,1250,1220,1188,1210,1194,1086,865,793,904,995,946,719,482,419,445,651,830,766,562,437,378,348,321,328,333,361,412,407,360,311,298,294,307,311,319,314,318,328,332,335,343,358,358,344,384,417,590,1306,1644,1336,786,791,1004,899,642,615,902,1158,1272,1838,1118,1198,1742,1362,796,601,749,887,854,879,871,818,813,819,773,572,485,597,771,807,732,707,738,692,633,643,653,636,602,516,463,492,469,420,370,436,558,472,449,352,370,373,334,354,384,447,384,355,337,310,305,319,333,345,332,323,325,333,314,327,333,326,320,307,336,389,339,324,339,380,367,348,359,313,305,288,296,308,308,313,304,286,312,310,326,356,331,287,281,282,278,279,288,308,356,475,698,619,714,790,760,724,825,694,550,556,644,601,457,478,495,471,382,423,396,379,398,426,404,390,417,454,446,398,389,385,473,590,633,521,398,330,271,275,302,306,296,293,303,308,303,296,311,288,277,294,302,307,318,330,308,303,313,322,367,516,713,819,789,783,918,1024,1334,1504,1500,1632,1926,2014,1884,1714,1598,1564,1506,1262,1040,820,843,1078,1346,1484,1542,1550,1446,1078,681,433,472,399,647,870,945,1056,1252,1498,1582,1294,1212,1210,1298,1324,1158,1032,957,929,993,905,700,1032,1166,1028,1012,836,720,620,643,739,695,1082,1206,982,1122,1270,1132,623,669,1064,1180,1088,1212,1368,1400,1412,1548,1366,1260,1434,1312,1076,1368,1260,1152,893,703,757,967,1164,771,410,439,481,611,979,1742,1820,1406,1044,927,961,700,496,386,370,363,351,329,258,289,319,400,428,715,835,708,797,651,513,512,516,860,1520,971,1116,1320,1194,1216,1218,1404,1009,1154,1228,908,786,991,1282,1338,1300,1288,1424,1578,982,728,653,565,811,1072,1088,1106,883,1052,1292,1248,1290,1234,1014,723,768,973,889,767,1042,1310,1164,1260,1136,896,594,410,721,1110,802,495,517,628,750,940,1350,1538,1228,967,670,1072,1422,1084,644,819,1198,1166,982,1074,948,568,358,346,349,426,482,521,1030,1406,1460,1526,1478,1310,1490,1730,1550,1282,537,385,386,401,373,373,464,529,483,400,357,439,594,495,506,559,628,554,393,336,365,367,365,379,352,381,656,643,560,502,433,341,382,405,399,449,490,406,365,369,388,359,388,419,386,446,462,429,404,451,471,381,366,407,363,400,491,640,866,873,752,761,765,969,1252,1510,1666,1648,1680,1608,1184,1086,948,1042,944,683,441,444,580,625,575,830,1098,1050,1003,1174,1156,786,463,532,625,529,699,662,526,656,669,465,375,367,429,477,521,638,755,850,830,845,787,469,379,359,340,334,388,440,452,367,322,308,366,419,413,453,529,557,504,537,479,478,520,546,521,462,482,419,371,400,381,409,417,404,368,393,493,524,514,447,335,402,428,376,385,456,476,489,531,771,484,350,324,392,517,564,553,424,354,365,414,434,628,493,375,392,444,503,497,372,324,287,398,554,578,543,444,495,479,483,505,549,463,442,417,376,354,295,500,849,664,445,339,407,455,381,468,709,811,781,1096,1272,846,784,738,550,662,876,1058,1010,1294,1374,1152,1382,1394,1262,1312,1268,1094,1314,1318,1330,1186,733,928,1200,1023,935,952,1096,835,586,847,1146,1134,1214,1296,1640,1754,2592,2186,1012,902,1264,1196,1040,987,1190,1116,828,730,799,1122,1372,1344,1286,1024,631,765,959,959,583,534,543,874,1498,921,471,458,467,401,366,392,426,447,371,352,798,978,941,1013,1228,1106,957,1074,1220,1124,1150,1354,750,929,1142,814,722,1182,1290,1038,874,1096,1488,1378,1510,1202,579,445,933,1262,903,673,526,680,643,490,484,446,538,753,687,785,1338,1546,1472,756,498,467,460,564,672,642,435,422,449,431,464,516,517,486,449,602,742,613,437,454,585,707,707,634,722,1562,1592,935,617,762,818,731,841,1086,1250,812,911,836,810,771,707,397,374,521,507,616,806,821,659,966,1498,1928,1928,1974,1272,1076,1204,1116,1044,1318,1176,1016,1224,1312,1288,736,784,1158,1208,931,982,1021,867,578,559,583,488,647,1274,1836,1180,791,550,369,323,334,384,509,582,538,517,537,550,562,562,506,526,553,589,483,576,733,608,529,499,456,651,785,703,765,839,982,1122,1188,945,661,641,621,670,749,804,667,488,492,512,654,860,851,750,888,1504,1656,1498,1410,1230,940,744,508,412,402,454,563,643,766,903,791,656,726,766,914,813,836,867,979,983,838,694,626,406,394,507,512,543,437,376,344,498,591,660,846,941,662,422,444,414,412,382,369,415,404,429,477,490,532,719,858,813,838,1080,1150,1152,1212,1246,1254,1378,882,837,766,761,951,1010,1186,1212,1338,802,485,660,662,513,443,396,317],[236,251,257,243,232,221,223,264,352,612,804,717,706,736,644,671,618,636,502,419,390,398,441,488,512,485,453,427,397,539,814,684,856,873,791,416,487,532,461,390,305,281,285,304,489,420,253,254,285,263,492,1044,1330,1072,998,802,535,970,1240,462,356,396,395,341,590,789,492,498,569,473,541,491,743,893,1166,1050,941,840,1196,1226,724,501,692,648,599,753,579,586,697,839,431,440,934,995,983,1100,1194,1256,989,957,700,871,871,748,818,817,521,425,395,418,697,1462,1946,1616,1608,1592,1278,1290,1250,1236,755,638,700,623,650,843,973,1266,1306,810,913,1464,1212,1204,1120,897,516,490,585,563,758,1005,1314,1836,1342,891,771,774,667,492,548,739,874,1082,1250,1250,1010,1110,667,456,659,419,406,502,512,528,532,601,698,537,464,662,817,648,745,1204,1254,1058,810,954,1230,1296,922,527,501,502,518,863,1324,1334,732,738,785,1136,1382,793,522,550,488,376,390,356,448,473,710,719,853,1202,1186,1258,1466,1180,954,973,888,769,765,1072,1106,1144,915,1034,1174,1056,995,890,590,503,611,743,951,497,360,346,581,788,623,377,321,247,201,218,270,317,339,269,294,317,302,306,377,354,615,1066,1410,1356,972,976,1302,1198,866,1021,1098,1316,1312,1200,931,521,588,996,998,667,800,1042,1210,920,701,629,992,1126,1021,1250,1482,1638,1562,1470,1350,1804,645,395,525,730,837,1023,1160,1007,1086,1104,1044,1134,1238,1284,1188,1370,1372,1130,774,903,1256,1130,927,1034,1350,1478,1470,1366,973,933,1306,1344,1350,1300,1214,1078,1148,1144,1166,1112,1112,1178,881,640,571,708,619,636,688,579,666,747,653,761,666,546,471,346,323,784,1016,866,1256,1562,1712,1438,1224,1410,1334,1146,852,584,623,613,946,1028,1298,1212,1086,1182,1186,1248,1322,1192,1278,1444,1550,1388,1568,1764,1698,1664,1578,1464,1404,1394,1160,1134,1078,1354,1504,1364,1406,1222,982,1021,978,880,1072,1386,1440,1148,1198,1144,1176,1100,1214,1298,1408,1590,1668,1580,1488,1180,1144,1358,1252,1019,944,921,850,640,737,998,1158,947,824,1148,1140,800,803,824,883,887,988,580,578,832,990,1194,1136,960,913,824,642,591,644,913,813,697,747,702,791,910,760,708,918,1250,1226,1296,1346,1048,821,1016,1052,1192,1262,1326,1422,1060,832,1098,1098,1338,697,661,824,861,669,968,2026,2352,1312,427,563,935,1104,846,629,455,560,708,731,536,498,1032,1204,756,455,385,486,409,372,389,410,602,670,549,421,512,789,906,1056,1094,1300,1136,818,634,692,1136,1162,1023,1023,1084,927,1166,1494,1128,1166,1074,858,873,1002,1442,1042,932,1162,1148,1144,1294,1014,541,709,590,515,728,502,282,381,567,491,431,973,1160,1302,1858,1100,1036,1096,963,1178,956,944,854,797,806,758,1180,1700,1726,1490,1408,1332,1566,1196,801,619,822,1114,1426,1448,1426,1246,1142,1124,954,1360,1548,1226,1326,1364,1212,1126,1068,1092,1026,1236,1498,1250,697,392,464,535,685,813,1120,1426,1734,1456,1464,1600,1528,1216,941,1066,1316,1118,568,430,426,392,313,313,305,430,960,1214,1038,1168,1230,864,1032,1204,1007,1358,1470,1354,1312,1226,1224,990,783,1010,1186,1282,1366,1210,1134,1312,1122,1104,1334,1442,1538,1456,1300,1272,1024,844,1170,1242,1344,1310,1162,1628,2038,1396,1038,981,1072,1304,1296,1416,1382,1176,967,874,1044,1316,1360,1548,1574,1426,1164,1164,1170,1332,1140,1402,1370,1444,1792,1450,858,629,1030,1548,1408,1314,1168,733,436,321,411,659,872,653,347,312,457,801,908,716,955,1208,979,976,848,753,634,694,702,624,804,1017,969,1042,1606,1442,1224,1454,1460,1180,1214,952,631,748,844,932,1030,879,1020,1162,1016,1272,1394,1350,1224,1146,1088,866,797,874,643,423,451,545,716,1354,1094,917,650,421,359,371,420,456,401,399,547,627,421,307,312,322,326,322,309,300,300,309,319,337,342,339,344,337,368,416,390,830,1060,919,924,993,758,615,611,588,754,1346,2066,2432,1382,991,1546,1644,1108,673,686,839,833,958,927,882,816,786,688,607,471,449,601,650,615,600,590,583,656,611,585,645,684,563,518,540,570,542,415,472,645,448,367,313,334,349,332,344,469,556,512,443,350,310,308,321,305,331,359,330,305,325,331,321,321,317,317,302,296,321,309,329,339,372,362,349,321,299,296,359,348,316,344,389,339,342,332,433,566,529,367,282,285,281,277,293,305,298,331,396,697,846,924,771,591,508,565,644,579,589,652,586,478,508,527,444,382,381,376,386,386,374,369,405,356,375,456,434,398,344,461,550,566,401,293,284,271,258,287,306,306,308,310,366,320,304,306,279,280,287,293,296,302,311,332,316,338,379,426,653,753,836,825,775,777,858,1320,1484,1516,1656,1944,1916,1912,1774,1866,1870,1334,1008,967,1100,1320,1454,1540,1676,1558,1276,1007,872,675,487,458,451,674,843,772,1038,1412,1190,1124,1096,919,752,665,775,992,998,844,1012,1600,1410,964,904,1108,1364,1038,477,488,681,711,568,721,1130,1130,1106,1160,1015,1056,867,1108,1402,1028,1040,1360,1476,1522,1528,1496,1442,1434,1492,1516,1704,2412,1804,1390,1266,1152,1034,1118,1180,859,500,572,681,937,1032,2106,2066,1406,1164,1154,1136,1078,719,409,433,445,349,316,271,247,253,298,397,649,730,687,761,853,938,832,743,704,944,844,1154,1388,1178,1218,1264,926,814,1019,1168,1190,908,824,1178,1378,1400,1538,1598,1019,496,836,1172,935,822,1100,1188,1164,1206,1374,1110,944,1084,1294,1174,907,779,573,597,858,1015,1098,1366,1470,1176,832,495,455,763,984,702,497,780,886,865,788,979,1522,1154,879,575,927,1362,1230,785,612,707,609,567,618,532,359,370,436,422,400,480,520,797,1156,1372,1566,1528,1310,1746,1832,1462,881,458,365,390,405,362,367,473,571,476,340,332,338,479,450,460,499,494,391,336,374,381,389,401,389,386,387,484,576,591,480,418,497,482,366,370,408,430,418,472,435,388,376,342,337,375,373,354,371,364,383,466,453,353,342,341,387,414,491,587,595,640,642,675,954,1126,1334,1418,1494,1654,1428,1148,923,739,582,463,426,396,420,453,513,561,612,701,669,794,937,887,571,343,361,365,507,797,639,427,374,307,317,348,309,331,345,367,554,695,801,844,724,707,492,381,350,332,354,427,408,349,335,338,334,348,308,325,346,347,317,361,455,487,492,466,513,478,332,317,336,397,510,421,417,407,477,455,477,532,521,553,534,396,401,396,408,403,425,502,477,450,371,332,338,311,336,396,402,390,395,378,431,459,490,491,468,428,417,434,477,496,465,447,365,403,528,609,487,387,415,421,445,505,557,476,332,323,388,321,237,447,652,566,426,342,428,398,343,479,603,478,844,1154,1058,645,1066,1126,870,653,647,769,825,1250,1310,905,1160,1332,1262,1226,1126,1158,1262,1312,1310,1152,890,991,1314,1338,999,711,1003,719,681,828,868,1332,1480,1354,1284,1260,1440,1106,663,881,1394,1078,956,914,1030,954,756,647,590,735,998,1192,949,592,664,1470,1738,1428,764,524,503,671,773,781,789,676,637,641,658,607,627,657,737,564,868,732,726,1096,1412,1346,1015,1182,1480,1048,1132,1204,713,589,795,778,812,882,720,907,1150,1592,1756,936,805,558,423,476,1188,1384,1374,1202,943,985,844,542,501,516,495,492,531,999,1350,1500,1454,1160,946,717,480,403,415,528,402,399,459,522,713,1026,1140,815,587,529,473,428,403,444,623,976,1164,1076,1148,1560,1488,1050,549,726,1124,1042,883,912,1012,1042,1206,1186,895,880,682,404,446,537,521,433,456,572,464,573,633,914,959,1366,1522,1306,1266,1176,1216,1286,965,1300,1402,1342,1190,705,890,1178,1338,1090,963,943,783,654,897,1015,1010,1194,1246,1310,852,491,375,322,312,296,384,554,574,533,476,603,606,540,458,514,586,529,575,556,542,584,565,586,557,586,587,763,633,476,473,626,805,1022,1046,823,755,674,624,550,647,728,653,559,472,495,695,801,653,920,1426,1350,1384,1428,1428,1372,1226,939,696,615,678,750,855,1019,963,789,594,647,828,980,667,578,750,772,916,908,763,773,465,470,599,570,452,387,343,335,477,632,682,763,969,872,527,448,473,470,375,387,415,408,427,472,503,523,582,615,664,731,957,1136,1192,1162,1122,1146,1400,1296,923,781,978,1054,1156,1224,1216,1448,1124,899,751,523,565,733,685,597],[248,250,249,238,239,226,226,236,270,439,609,695,802,736,733,816,783,750,517,397,427,409,428,478,481,444,415,398,366,375,606,996,957,695,449,290,305,310,319,327,297,284,304,320,359,297,271,317,291,384,768,1130,1284,1232,1564,748,542,1284,1384,613,516,672,650,449,693,916,544,361,484,605,443,585,882,963,749,543,662,994,1288,1238,824,737,744,569,524,939,1142,733,694,1214,1370,930,667,1134,1064,1003,1272,1274,1180,995,713,583,720,795,901,840,601,434,354,434,655,1006,1214,1220,1530,1870,1730,1512,1428,1278,1066,1152,1106,766,722,943,985,1426,989,711,875,1102,1158,1128,824,685,705,752,765,616,500,555,588,594,532,1016,847,731,860,795,836,1040,1334,1394,1050,852,835,953,629,816,967,529,401,677,893,933,861,796,901,715,524,629,1580,1266,1092,1058,1222,1172,1060,1242,1440,1328,832,590,465,499,763,838,857,846,796,942,857,1003,1064,558,525,573,565,373,339,335,339,391,827,1068,1148,1192,1094,1170,1344,1110,1078,919,1048,1014,900,1078,1042,614,779,1108,1042,729,609,814,778,499,875,650,504,537,423,361,573,803,672,488,349,236,221,260,261,272,283,343,355,354,357,403,484,400,434,709,925,731,641,945,974,607,390,609,832,777,862,1112,764,760,1150,1398,1246,1042,1240,1450,1176,1084,691,498,913,1034,1134,1138,1218,1526,1766,1532,1076,1512,921,586,800,1130,1012,952,974,932,995,1034,1088,1226,1248,1170,931,1150,1386,1330,1152,1172,1096,1096,938,937,1460,1576,2178,1832,1032,1082,1288,1296,1260,1354,1240,1058,1015,964,1220,1124,902,531,599,628,711,832,789,948,935,580,678,961,586,450,682,990,884,501,341,726,711,939,1434,1302,1318,1282,1408,1442,1254,791,511,397,376,434,759,862,789,952,763,658,841,1036,1360,1562,1478,1238,1332,1260,1214,1434,1714,1788,1788,1788,1778,1684,1394,1430,1462,1578,1368,1350,1390,1222,1104,1030,928,1001,1052,1328,1794,1432,1360,1240,1236,1234,1200,1198,1428,1500,1532,1600,1524,1108,1005,1166,830,561,555,548,745,822,715,696,731,675,634,875,1170,1082,1054,1204,1066,1064,950,455,324,508,791,1112,1186,1058,1015,792,639,518,578,691,631,701,810,724,912,951,783,584,928,1130,1206,1334,1296,1298,1266,1150,1068,1204,1200,1144,1292,1082,858,1160,1124,1184,853,685,646,537,579,820,1376,2098,1678,684,974,1002,1088,578,534,812,828,831,829,547,731,1052,806,523,437,441,719,623,468,484,567,601,596,459,514,1000,1252,1428,1444,1212,1320,891,548,527,678,922,1066,801,710,1001,850,914,1190,999,1288,1266,1338,1216,1112,1366,1100,944,1062,1190,1162,1244,872,486,541,536,651,772,437,300,359,345,351,431,725,885,479,408,482,836,809,772,883,988,1132,892,755,635,757,1266,1720,1812,1298,1078,943,979,702,583,786,794,991,1312,1484,1694,1632,1054,964,1096,1378,1294,1278,1234,1202,1268,1186,1176,1208,1116,1402,1230,1350,1076,719,486,791,925,1024,1232,1560,1876,2282,2300,1058,1002,820,818,962,1230,785,466,428,420,384,350,317,332,555,1013,1284,1228,982,636,746,1066,1214,1060,1174,1182,1162,1164,1046,905,1136,1286,1326,1250,1252,1294,1262,1188,1376,1282,1196,1206,1386,1560,1596,1340,1180,523,510,953,1214,1318,1262,1158,1236,1036,888,1066,883,1156,1248,1046,1064,1284,982,1060,1070,1232,1368,1322,1258,1222,1100,985,1284,1498,1554,1714,1748,1394,1444,1454,1028,630,533,819,1330,1478,1640,1466,947,512,395,987,1214,675,408,339,334,419,674,1006,1015,995,1018,1082,1166,976,1082,1026,821,680,571,662,898,1034,977,1544,1262,941,1104,1080,1114,1064,764,801,942,1015,1110,1182,1240,924,675,639,1056,1246,1336,1262,1110,930,791,602,482,423,425,516,590,538,740,981,886,509,439,402,391,530,796,704,612,671,524,328,311,309,296,297,301,302,300,300,311,337,354,317,327,394,386,378,375,335,594,1078,1226,924,636,565,626,623,583,527,814,1738,2354,1766,993,1232,1760,1446,902,715,804,864,940,919,828,671,595,567,549,480,422,407,387,372,437,458,497,617,601,508,441,401,387,381,352,399,417,415,590,619,398,360,330,320,350,349,334,444,568,551,394,325,327,307,285,298,312,342,337,307,314,329,314,315,321,319,304,303,280,292,314,328,332,330,386,419,354,529,890,499,340,316,411,490,529,466,457,556,541,389,290,298,293,287,293,302,277,307,372,569,905,887,456,353,423,543,613,624,526,489,583,565,540,531,458,440,430,386,353,335,343,314,371,382,350,434,495,489,402,322,358,390,327,283,290,281,262,274,289,305,302,322,334,290,274,291,317,311,294,324,310,304,285,338,344,357,462,515,631,669,705,720,705,719,659,1188,1490,1562,1748,1958,1874,1838,1514,1130,930,936,1168,1414,1550,1574,1560,1454,1218,876,749,702,741,657,512,483,471,569,633,454,590,927,738,717,850,844,746,568,687,1092,1286,1028,1046,1360,1278,1238,1320,1390,1546,1164,599,419,614,740,680,954,1176,960,987,941,1096,1054,1268,1404,1360,1138,1272,1290,1116,1192,1374,1448,1276,1254,1622,1776,2474,2928,1996,1232,1336,1376,1180,1226,1118,941,740,741,842,1250,1514,2030,1838,1306,1230,1266,1530,2152,1548,644,794,672,419,297,336,336,283,300,330,373,397,574,904,1034,1036,802,675,776,583,744,1001,1060,743,888,1300,1288,1060,995,1132,1030,973,1132,1554,1618,1458,1376,1448,1062,588,847,1198,926,736,1186,1284,971,962,1106,1174,1108,1056,1084,984,955,901,648,613,1048,749,1038,1484,1404,1286,946,610,525,584,863,998,813,1130,1134,1058,864,753,1378,1334,992,824,1110,1294,1260,1176,736,554,514,596,567,451,381,409,534,541,455,494,619,832,1046,1238,1340,1282,1404,1434,1570,1444,948,534,338,387,408,348,372,383,402,382,335,343,351,447,436,371,364,354,344,352,357,371,377,360,355,353,338,357,416,449,410,347,390,396,361,374,424,555,522,493,440,414,399,366,345,346,333,328,343,337,298,316,356,412,406,355,359,396,450,498,476,456,539,851,1390,1322,1420,1440,1436,1486,1222,971,725,555,514,497,548,555,592,617,735,764,719,645,599,529,467,455,378,308,305,347,464,561,511,383,318,322,354,368,317,313,310,335,403,481,541,426,359,455,459,405,355,318,335,354,340,338,342,335,331,388,409,423,406,419,436,438,453,524,552,523,542,520,339,324,338,396,480,438,393,416,469,538,507,437,435,471,417,417,404,399,426,412,399,437,437,410,372,365,362,332,292,292,328,538,541,567,586,514,605,579,518,532,496,554,458,405,422,431,409,332,397,528,505,418,365,335,362,565,811,516,435,428,400,266,227,277,434,505,433,399,413,448,449,404,481,483,976,1200,1050,770,630,759,785,653,735,650,549,807,825,819,1094,1250,1186,902,1044,1170,1250,1340,1282,1256,1054,781,963,999,890,943,1302,1015,662,565,826,1512,1584,1304,1170,1252,1350,1224,689,1108,991,676,776,851,885,781,669,595,697,1112,1114,1208,1050,564,813,1464,1584,1566,1194,527,447,637,926,960,755,744,763,722,581,865,1086,1072,869,752,913,871,833,1168,1338,1174,840,1308,1576,912,635,543,546,695,865,969,1256,899,539,863,919,1290,1768,835,425,367,327,348,669,894,1354,1632,1272,1076,1044,966,831,800,972,1046,772,962,889,917,1064,1186,1394,1076,468,377,350,358,366,550,798,1158,1380,1808,1842,1032,680,664,480,409,478,559,701,1106,1184,1007,1272,1428,1180,791,384,870,1702,1138,1018,982,938,987,934,660,583,730,654,615,565,528,524,444,430,444,401,474,514,561,517,1024,1488,1504,1622,1328,1570,1542,962,1396,1230,1168,1118,853,835,1146,1126,663,660,518,636,676,935,1202,1384,1920,1658,946,477,386,377,319,295,291,383,404,462,520,443,581,568,534,461,504,550,509,534,601,505,448,472,532,653,607,432,599,645,594,458,402,406,583,829,794,773,688,611,554,525,650,667,600,569,530,562,600,634,955,1494,1408,1068,1160,1306,1390,1416,1390,1220,955,760,686,660,525,625,922,922,688,617,902,895,787,647,458,538,513,426,473,401,467,521,455,316,344,367,326,374,543,625,690,795,933,694,442,384,427,379,418,444,422,420,474,545,555,650,686,680,637,907,1122,1190,1112,1076,1108,1230,1250,877,642,705,777,1128,1354,1506,1232,1268,1142,864,855,824,711,711,887],[261,254,251,244,242,233,233,247,245,269,296,445,615,641,710,850,965,926,579,391,465,439,413,404,383,369,352,359,369,384,539,686,493,332,288,284,269,282,298,295,293,311,341,358,338,289,323,296,219,490,888,1052,1232,1462,1494,784,703,785,780,684,752,1010,1154,811,576,509,446,345,434,511,404,687,877,895,597,518,953,1136,1208,1426,1046,1158,1158,697,607,1136,1312,1148,1068,1364,1562,1050,1224,1626,910,881,1016,1064,1364,1060,917,664,547,777,947,673,393,372,505,822,725,752,1028,1566,2184,2370,1900,1532,1482,1404,1076,1208,1204,975,625,679,754,1426,886,606,1072,993,942,973,630,875,1132,998,1258,934,774,871,641,600,679,694,601,808,1062,1088,1064,1170,1072,1032,974,722,525,523,696,1138,1224,744,377,498,713,894,946,918,1086,785,728,669,1810,1834,1150,827,1094,1178,1182,1484,1670,1366,853,559,440,457,567,473,529,824,1048,1030,666,603,588,413,411,494,410,348,308,322,357,403,971,1560,1428,1112,1030,948,1094,1272,1324,939,1108,1204,1116,1328,977,781,936,785,976,946,678,747,589,347,474,477,536,493,406,417,423,491,534,672,440,412,300,281,312,315,346,399,391,381,407,389,428,408,436,674,957,1082,1064,1106,1226,902,553,819,1194,1086,811,1054,912,1200,1468,1402,1308,1140,913,806,1072,1112,598,667,926,1090,1522,1320,1238,1386,1548,1470,1288,1240,1054,789,901,1274,1050,901,878,1268,1246,924,1082,1250,1196,1140,1034,1090,1204,1354,1600,1636,1286,1262,1108,1038,1246,1510,2438,1670,980,1021,1218,1326,1338,1480,1186,849,653,588,636,584,420,354,394,435,632,612,462,540,655,440,456,645,442,502,920,1372,1172,767,836,774,736,1032,1282,969,990,1230,1522,1472,1148,620,404,413,414,482,774,880,601,762,615,675,838,1036,1286,1562,1604,1322,1001,1098,1536,1668,1448,1534,1698,1644,1718,1824,1790,1644,1650,1638,1578,1532,1428,1362,1452,1186,891,777,1038,1174,1754,1476,1332,1400,1172,1176,1170,1334,1466,1562,1406,1216,1210,885,654,683,484,424,686,971,1058,1062,888,565,532,910,788,745,1170,1312,1308,1152,941,896,578,346,338,353,450,937,1190,998,1034,897,778,788,766,611,543,653,714,716,1009,1003,803,611,620,746,1246,1338,1106,1102,1204,1220,905,968,724,685,766,1074,1378,1406,1294,1344,1180,805,711,858,717,988,1110,1180,1258,825,855,944,959,827,1060,1344,1262,1026,1004,1056,1044,836,568,444,426,472,636,553,367,417,595,633,525,441,883,1380,1272,1354,1132,1108,1318,824,442,430,426,588,727,730,929,1208,1512,1118,1120,1178,1422,1502,1446,1212,1244,1058,1010,1266,1294,1108,1001,924,940,935,915,897,1000,778,390,498,595,431,546,720,937,670,452,395,451,571,854,1056,800,564,594,640,786,558,838,694,1324,1514,1234,1360,1584,1122,553,472,504,869,1354,1306,1406,1262,1176,982,1238,1354,1254,1312,1096,865,1122,1268,1190,931,786,1076,1040,937,1009,1092,927,749,1178,1112,1038,1286,1676,1764,1696,1490,935,1020,1126,1334,1180,896,740,624,457,424,419,423,341,380,421,603,907,887,716,653,1004,1594,1542,1132,1174,1282,1188,1268,1158,1005,1296,1268,1234,1222,1264,1348,1362,1354,1310,1272,1130,949,1420,1422,1204,1188,1102,642,456,763,1310,1516,1284,931,589,481,645,824,944,1214,1152,1004,946,960,787,838,1148,1514,1534,1294,1262,1244,1034,1114,1362,1494,1322,1512,1504,1382,1334,1044,722,550,537,710,1158,1204,1354,1594,1416,906,760,1890,2078,862,514,391,372,334,537,1106,1038,787,883,1152,1144,1278,1516,1114,1134,1086,644,488,616,1108,1184,1160,1150,1142,929,948,1198,1052,1038,1186,1070,1124,1246,1106,1023,796,579,503,692,1108,1072,650,615,647,591,508,385,364,602,792,821,821,667,802,726,417,454,429,381,397,481,447,574,499,326,292,285,280,290,305,307,302,300,311,306,318,337,309,321,360,379,385,377,377,634,1222,1034,615,448,502,508,488,498,490,661,1332,2138,2104,1298,1072,1776,1744,922,637,774,840,686,554,498,411,369,404,468,493,461,372,363,390,572,462,464,626,622,495,412,377,390,376,306,318,328,370,594,498,386,401,369,337,357,352,316,351,385,404,366,333,333,313,293,322,336,342,361,337,300,292,300,307,306,292,292,285,313,321,295,321,326,392,558,541,581,1046,1216,571,335,470,688,678,529,393,396,423,303,298,275,272,275,288,277,278,274,298,358,440,750,819,407,370,379,520,648,701,603,627,637,537,496,497,477,444,410,357,317,295,322,305,381,478,390,359,455,496,450,376,324,322,301,269,273,272,277,281,278,304,298,325,334,281,285,317,340,321,303,346,334,303,308,302,332,363,436,551,647,635,626,667,697,733,646,1156,1506,1730,1854,1790,1502,1216,1108,1132,1308,1498,1614,1562,1548,1484,1368,1062,740,684,821,725,607,621,578,561,803,742,747,724,808,1064,1474,1656,1264,894,656,523,698,1100,1258,807,709,846,1054,1040,903,933,1086,956,813,799,819,660,618,1170,1374,769,837,1274,1384,1354,1490,1432,1090,1094,1360,1196,1098,1322,1352,1432,1244,1290,1582,1786,1958,1856,1290,890,1110,1296,1032,984,1216,990,754,693,874,1152,1172,1076,997,1092,1216,1262,1712,2920,2078,788,752,767,483,335,454,471,363,360,471,675,714,588,799,949,733,598,670,563,540,605,781,879,899,1100,1184,1316,1360,1380,1270,983,1002,1302,1366,1354,1262,1038,1102,1036,628,714,1246,1394,1076,1080,1214,1068,1062,1246,1454,1334,1156,1020,1013,900,882,643,667,973,918,1214,1334,1260,1160,824,455,519,633,775,737,897,978,1272,1302,998,572,987,1664,1548,1108,1236,1282,1294,1326,1236,1064,660,562,607,481,389,435,602,660,573,468,445,589,1096,1312,1240,1366,1554,1350,1466,1554,1160,595,361,384,399,412,378,412,483,523,410,352,358,405,418,368,373,367,464,417,365,348,359,353,331,357,412,398,377,429,395,338,372,342,361,414,433,448,428,383,424,491,431,396,416,454,325,331,341,328,334,344,401,419,404,391,387,378,400,446,437,471,645,1218,1760,1896,1788,1610,1698,1314,673,625,569,508,516,514,495,440,445,526,652,657,642,519,429,412,346,383,374,338,326,337,337,479,514,400,333,359,385,368,314,312,332,340,364,300,264,257,281,335,391,407,365,331,350,338,348,355,387,404,447,556,570,516,527,506,469,475,497,539,532,529,602,588,412,393,381,399,483,454,411,457,500,468,375,374,557,604,416,395,341,292,346,399,410,407,411,395,358,365,360,334,333,355,466,623,666,729,715,670,596,434,479,629,692,652,483,438,410,380,418,491,525,525,532,545,440,298,362,722,740,415,557,574,366,250,255,293,356,378,484,589,460,468,586,455,428,626,1003,1360,1382,1260,888,710,792,608,637,766,982,1066,929,808,1010,1170,1080,818,980,1340,1446,1186,1164,1206,752,513,617,526,742,1184,1074,878,1016,1052,1160,1118,633,769,808,1438,1544,1280,1007,1248,894,593,576,625,657,644,548,476,594,823,1300,1390,1158,678,721,1482,1486,1378,1098,400,427,637,974,831,671,810,847,771,781,1316,1466,1150,943,904,953,1004,676,706,854,992,704,1036,1246,701,399,561,729,747,691,785,1114,641,554,660,450,555,591,414,402,370,348,319,322,385,628,1056,1324,944,979,1098,1021,1122,1454,1354,1146,1090,821,720,631,808,1292,969,415,365,359,348,353,486,720,1142,1568,1844,1638,1228,1032,926,739,845,879,810,776,1046,1256,883,910,1256,1310,1074,575,719,1278,926,996,862,833,969,958,800,555,553,714,934,722,473,481,448,407,437,433,489,558,514,560,1046,1274,909,1156,1476,1710,1880,1444,1474,1034,1050,1312,1082,678,565,570,546,537,406,500,717,763,969,1174,1196,643,312,304,376,448,382,314,293,313,332,430,517,504,575,589,571,579,558,512,474,486,526,512,439,414,484,515,439,410,416,515,663,631,444,372,537,754,724,730,672,548,498,504,551,622,741,659,647,623,656,695,747,1382,1280,836,728,891,1118,1304,1378,1384,1300,1086,826,635,505,498,903,1164,769,646,882,688,565,767,678,500,506,656,477,432,493,425,296,298,334,344,367,432,505,558,617,609,875,773,417,372,400,363,427,438,406,439,501,524,675,780,858,770,756,892,830,775,860,1030,1040,1048,1000,828,673,614,789,751,861,906,747,1048,1268,1226,1580,1194,602,521,610],[275,277,272,260,247,240,249,260,245,229,226,246,335,424,556,714,854,805,590,479,519,459,340,330,372,361,318,344,421,390,329,282,242,270,326,293,298,302,311,331,356,366,363,365,311,278,294,227,321,838,1048,926,1010,1334,855,638,984,1338,1130,683,614,691,927,778,517,432,278,257,302,322,310,571,626,508,419,474,1118,1490,1090,1248,1140,1222,1238,891,997,1078,1144,1158,1023,1084,879,519,929,1266,804,943,726,497,675,1044,1668,1548,713,647,715,525,416,479,752,1146,1074,903,1368,1764,2184,2214,1848,1634,1756,1946,1194,1080,721,508,628,818,609,709,560,549,938,1010,1090,1168,824,1258,1532,821,832,1028,951,981,780,675,683,562,658,921,976,795,611,514,520,694,780,902,1002,708,723,1126,1110,666,365,375,448,482,789,1028,1246,1324,935,689,866,1046,1190,997,1110,1494,1404,1510,1478,978,852,627,408,455,470,454,485,599,695,832,666,741,469,285,298,389,415,498,405,325,380,379,468,704,1184,1098,813,650,843,1290,1174,953,995,878,912,975,728,1072,1009,648,688,667,605,523,402,321,381,460,565,682,642,480,473,429,386,519,502,536,377,251,229,277,360,417,422,364,437,429,423,454,570,871,1104,1116,987,910,907,817,1003,1166,1406,1510,1158,1196,1092,1212,1360,1422,1248,1076,1058,925,1152,974,717,969,1326,1318,1554,1232,1318,1434,1388,1322,1068,1032,1148,977,569,597,509,814,1198,1644,1374,1086,1166,1092,1226,1284,1062,1094,1148,1406,1376,1334,1242,1082,999,1132,1140,1340,1366,1152,1154,1148,1228,1176,1350,1874,1412,1016,636,378,360,383,340,335,363,368,439,382,289,314,362,424,467,461,404,722,1086,1252,1158,934,1204,940,1140,1184,1106,601,849,978,1092,1152,902,626,553,585,528,552,849,1084,901,746,906,1058,924,1009,1314,1512,1358,1038,722,727,1054,1260,1184,1238,1598,1584,1676,1742,1450,1386,1650,1692,1630,1644,1570,1606,1620,1316,1228,1074,1046,1532,2968,3254,2218,1428,1090,1186,1196,1392,1366,1382,1090,1242,1428,937,506,525,491,439,830,1228,1290,1366,1174,758,550,854,851,784,1072,1174,1024,830,659,487,552,575,384,479,749,1120,1122,767,746,963,914,714,703,661,541,511,520,456,792,1088,791,708,730,1042,1434,1246,933,882,735,781,458,525,565,703,541,639,1218,1370,1268,1230,1184,1304,1502,1708,1490,1580,939,796,1008,956,642,966,1232,966,938,1072,1016,940,1070,1238,1208,654,586,632,633,645,622,423,356,356,495,568,427,603,1068,1044,987,1172,958,967,1023,632,478,471,453,451,556,803,1166,1400,1574,1110,1094,1226,1356,1488,1328,1362,1622,1316,877,1204,1310,1178,1120,663,880,1272,1288,1124,978,861,488,495,523,712,810,849,1048,629,336,316,413,612,836,1010,933,472,335,421,533,421,585,461,683,919,1164,1284,992,732,530,468,665,1198,1376,1048,819,968,1078,1040,1072,1130,1296,1158,814,526,706,1072,1198,681,522,655,1042,1094,1256,1412,985,1026,1266,1250,1428,1430,1738,1630,1484,1142,1240,1378,1456,1414,1176,1104,1190,935,464,399,446,439,357,384,437,626,974,1322,1400,1272,1444,1278,1134,1346,1428,1368,1338,1814,1750,1360,1190,1026,961,1114,1344,1302,1202,1098,879,1046,1114,1202,1426,1408,1358,1224,890,634,539,769,1306,1340,1188,974,600,585,597,904,1058,932,883,955,930,666,630,866,1078,1480,1626,1238,1246,1046,1076,1294,1412,1534,1332,1426,1814,1450,941,647,572,565,730,969,1009,824,1009,1434,1654,1526,1146,1326,1646,1140,862,566,477,341,346,685,752,991,1040,824,769,1074,1224,758,1238,1204,1038,752,700,1080,1278,1030,954,1108,980,806,915,1042,1092,1058,994,1080,1296,1456,963,549,492,496,694,929,808,746,736,623,670,834,589,469,891,1096,881,733,980,1280,794,383,435,415,381,358,320,324,336,287,276,285,294,297,300,299,305,309,311,319,298,296,323,343,349,327,345,387,382,498,938,1048,539,419,434,417,421,421,462,546,602,1040,1924,2208,1642,1128,1594,1904,1162,717,813,722,482,419,379,362,333,320,351,383,406,385,363,345,503,426,390,480,462,435,502,527,458,329,297,320,327,394,438,375,351,354,334,332,354,328,322,341,324,327,333,327,319,310,310,323,345,353,342,309,300,303,312,313,307,304,294,280,320,329,322,336,364,515,632,598,671,1116,1114,541,286,361,374,296,250,246,271,280,267,283,269,267,270,280,286,290,290,284,326,446,752,806,443,453,420,522,614,645,645,651,601,554,517,441,418,379,336,321,317,324,344,299,344,511,465,319,386,476,492,423,329,308,286,289,289,283,282,299,310,316,317,352,369,304,311,337,337,330,323,354,344,316,310,314,366,484,561,590,659,633,672,755,708,750,639,893,1376,1728,1648,1532,1442,1378,1448,1604,1688,1548,1496,1382,1120,906,832,780,747,767,736,636,594,553,556,744,1210,866,798,956,1124,1192,1300,1340,1064,761,646,585,580,641,772,772,1072,1128,1024,946,744,683,735,667,718,755,684,602,752,1438,1152,715,678,1028,1146,1176,1374,1234,1098,1294,1158,1198,1322,1564,1444,1312,1528,1522,1376,1390,1318,1270,868,669,722,1060,1266,794,730,698,771,642,983,1450,1366,1060,573,727,1042,1354,1582,1828,1300,818,615,615,501,438,559,575,481,606,561,550,569,477,645,614,427,627,805,760,523,772,1000,890,619,590,904,1080,1174,1188,978,964,1296,1316,1262,1192,852,702,823,758,976,923,1064,1102,1190,1188,1078,868,1018,1344,1174,837,883,1001,908,908,848,603,446,664,996,1136,1072,1038,1110,806,464,630,819,781,735,904,697,854,931,713,633,1092,1626,1632,1352,1384,1430,1438,1406,1256,1352,847,555,591,484,474,608,701,689,608,475,451,503,903,1222,1300,1384,1440,1456,1730,1892,1254,672,390,357,388,485,416,453,534,556,468,359,354,375,397,368,360,331,554,445,367,356,348,336,344,365,392,346,303,301,310,301,332,358,366,396,390,361,335,338,442,466,396,426,433,367,312,343,325,315,330,387,415,400,385,377,375,369,350,383,402,469,645,1334,1732,1820,1738,1650,1626,1054,469,407,429,426,445,458,388,425,455,494,533,508,526,513,443,407,384,393,384,357,322,328,440,485,440,409,361,337,322,332,317,314,331,335,370,320,310,307,296,309,340,376,357,328,332,317,310,332,413,513,598,638,670,610,381,316,326,352,341,336,368,397,409,406,433,412,381,458,565,505,408,521,527,398,361,516,691,529,399,333,260,238,292,390,425,404,373,370,322,324,368,477,567,640,658,662,673,599,573,600,525,408,422,467,574,642,578,521,450,372,478,604,575,519,513,498,450,330,312,435,344,402,648,590,366,294,302,342,368,384,486,499,515,709,1160,808,499,886,1186,1242,1442,1146,719,717,903,684,668,1023,1252,1018,942,773,882,1272,1180,790,1038,1384,1306,1072,821,905,653,508,444,588,944,1284,1278,1092,1288,1500,1504,1172,972,855,802,1320,1348,1366,1280,934,763,633,484,471,505,586,479,499,674,765,1178,929,728,759,889,1360,1426,1180,749,388,394,441,553,558,602,593,820,1120,1600,1980,1548,1036,1174,1166,1116,716,543,576,859,1028,999,1015,930,624,419,728,1062,843,587,422,501,398,467,591,495,443,443,444,394,370,341,321,341,335,483,747,757,603,775,952,1086,1266,1362,1310,1340,1194,1078,1026,921,901,1128,1048,773,611,423,356,346,441,653,699,1018,1232,908,1064,1234,857,553,617,882,1114,948,1294,1686,855,744,1010,1262,891,714,476,413,475,604,428,528,915,1242,1404,592,454,615,684,487,418,508,523,448,440,702,1100,908,738,685,1350,1390,887,1076,1384,1580,1606,1462,1346,969,1164,1374,1218,585,370,411,441,440,419,405,614,822,1036,1526,1360,491,329,346,376,383,372,320,284,388,524,540,465,447,520,535,564,631,498,393,466,561,626,581,454,423,472,431,388,392,397,450,650,729,547,521,666,814,801,742,653,620,537,527,556,557,609,614,586,650,626,797,831,1260,1104,614,663,691,692,859,1132,1278,1388,1406,1312,1184,871,566,569,724,733,850,887,553,639,719,780,711,602,507,530,505,504,439,316,309,293,312,369,419,434,430,411,465,648,569,327,306,360,381,427,454,467,456,437,461,724,935,982,932,797,678,636,454,496,790,968,1004,1050,949,739,907,1002,672,814,1094,762,702,1268,1300,1316,1156,905,535,325],[285,289,284,273,258,247,245,258,252,246,237,249,275,282,297,378,541,547,563,541,577,448,324,324,353,358,375,455,544,521,386,310,272,298,366,353,362,361,375,372,343,319,301,285,285,282,310,326,472,808,981,752,907,1218,1040,795,1250,1674,1492,848,579,473,441,480,509,568,399,276,311,329,395,567,529,681,713,565,1132,1428,865,658,1021,1242,1200,1112,1188,1180,1096,713,571,807,661,581,706,900,699,1070,930,623,881,1236,1290,1056,516,484,446,412,436,603,984,1364,1104,1036,1488,1706,1806,1830,1790,1694,1696,1476,1058,807,679,705,897,1015,853,555,371,421,550,844,847,935,1098,1078,998,784,897,1198,913,649,803,1034,888,596,525,554,569,501,675,756,906,868,832,944,819,527,518,836,764,542,370,356,502,680,961,1132,1334,1320,856,709,690,804,1078,1252,1232,1332,855,1242,1300,880,899,753,568,462,462,446,515,534,403,542,975,777,582,367,308,300,417,594,435,304,383,399,550,701,1082,1336,1098,793,846,807,995,1294,902,741,559,795,1122,983,878,750,677,940,742,450,398,375,409,482,628,634,547,487,494,399,391,467,456,448,426,327,273,307,335,331,321,290,374,379,449,643,804,865,1007,1084,793,533,537,915,1228,1238,1422,1296,1176,952,899,974,1124,1296,979,753,1010,1206,1248,1004,944,1028,1412,1328,1382,1106,1066,1096,938,997,1526,1720,1446,1166,598,666,982,1718,1850,1548,1324,1422,1552,1328,1174,922,1040,1230,1310,1484,1416,1146,1017,842,1218,1478,1152,1078,1036,1144,1294,1254,1208,952,940,1236,1294,1192,628,349,350,310,288,295,390,430,355,368,258,316,306,569,857,952,779,919,1394,1148,998,810,1150,1038,1474,1390,1156,733,896,824,777,1046,962,584,538,572,462,505,877,1003,694,882,1168,1070,1206,1314,1400,1512,1672,1144,1058,970,1088,1110,883,1128,1534,1568,1636,1542,1196,1017,1122,1430,1250,1456,1536,1620,1554,1428,1430,1406,1312,1732,2734,2850,1798,1164,1026,1158,1028,1172,1482,1406,1210,1300,1338,946,586,552,556,554,1013,1204,1158,1196,1126,700,395,754,1120,1222,1046,965,998,998,822,579,713,607,453,703,840,1030,1050,922,987,1224,1042,668,802,959,762,548,697,669,852,894,749,897,1078,1176,1238,1010,747,767,617,346,273,565,905,1304,1010,733,1334,1386,1442,1334,1460,1680,1838,2192,1830,1180,879,746,652,990,836,531,736,733,864,1188,1012,802,1106,1146,802,591,687,859,825,594,563,394,394,333,312,318,340,662,815,777,1020,1166,810,650,567,380,316,354,483,448,484,913,1001,1064,1180,1396,1426,1202,1226,1362,1334,1326,1478,1686,1120,1252,1288,1210,1024,688,894,1252,1262,1206,1480,1588,916,724,491,766,933,1234,1216,642,374,339,592,1054,967,972,842,590,498,319,298,348,365,310,401,503,794,962,856,1030,839,899,943,1150,906,833,675,780,1014,1090,857,972,1164,938,950,711,988,1058,835,582,730,1044,1030,830,1040,902,651,824,1016,1104,1202,1274,1604,1548,1416,1184,1234,1412,1358,1040,919,1116,1220,844,507,490,451,356,380,681,904,912,982,1264,1198,978,1162,996,1262,1468,1362,1388,1542,2238,2006,1526,1454,1498,1368,1332,1534,1302,1338,1080,865,1374,1612,1368,1390,1422,1406,1162,706,624,799,610,596,900,1100,1052,738,733,695,810,741,636,796,745,669,654,859,755,830,1336,1344,1228,977,889,993,1014,1268,1472,1516,1504,1332,1116,761,788,976,783,921,1244,1188,869,951,1072,1126,1544,1486,1194,1384,1412,1334,971,694,398,312,547,795,1172,1202,1108,1144,1538,1094,748,1160,1198,1292,1234,984,948,1228,1164,1164,1538,1202,659,651,948,850,659,883,957,1014,843,522,514,522,700,968,1056,857,888,1048,898,966,1288,1026,502,586,902,1370,1832,1440,1230,692,350,339,369,378,371,326,314,328,315,305,303,288,280,276,292,293,299,319,321,299,309,335,345,348,321,355,371,401,714,1036,650,440,428,417,394,430,460,459,505,661,886,1502,1810,2028,1382,1318,1838,1610,1162,1050,776,489,413,394,392,355,332,330,328,354,414,396,357,384,364,430,555,534,433,458,429,341,305,324,309,285,357,381,326,316,338,347,332,352,357,365,364,345,333,321,324,324,315,318,323,337,339,316,299,312,317,312,309,311,316,303,285,299,307,329,340,344,588,672,667,733,1060,967,503,289,279,299,290,291,283,270,274,264,260,246,272,283,282,278,292,293,289,336,516,952,891,609,637,461,389,473,529,567,618,577,530,524,469,408,336,292,307,319,324,335,321,314,414,433,299,319,403,451,444,327,327,392,335,299,307,289,296,332,325,316,350,381,344,317,357,357,332,339,371,384,340,401,457,436,504,673,684,693,694,663,655,661,724,749,875,1428,1876,1876,1870,1822,1706,1570,1588,1514,1122,821,782,785,711,667,655,676,692,731,968,836,844,770,945,976,634,681,872,1102,899,756,897,1036,965,1114,945,546,449,819,1380,1456,1228,1126,953,698,752,695,578,578,838,677,695,730,929,1124,954,688,760,700,783,1003,946,1186,1090,1116,1200,1414,1422,1232,1124,1160,1270,1332,1164,1272,1172,868,770,618,735,944,843,554,425,573,576,705,960,887,609,548,899,1120,1390,1216,877,954,897,653,468,550,777,916,827,755,697,630,607,492,468,673,674,563,528,849,1092,767,1034,985,777,570,663,813,716,978,996,584,821,1252,1184,1018,601,420,774,1220,1270,1276,1050,1110,1198,1318,1418,1026,633,851,1186,774,431,560,717,596,1102,1248,762,538,625,656,830,882,891,1328,1194,600,672,1016,753,715,980,822,719,966,1015,1214,1432,1526,1692,1364,1328,1422,1358,1072,1096,1194,874,548,521,476,614,668,549,585,578,487,469,549,635,914,1238,1312,1406,1454,1526,1472,808,448,381,402,393,371,347,392,396,432,453,384,366,381,444,362,354,354,423,379,351,349,303,350,414,354,300,278,270,275,294,279,286,354,373,358,411,497,441,375,453,448,398,429,436,346,319,325,337,325,321,339,326,334,349,363,334,352,350,350,390,442,502,710,1078,1558,1606,1414,1520,659,401,413,436,471,471,467,444,437,457,513,499,473,525,480,449,393,339,344,353,332,331,328,403,443,418,422,343,322,322,312,310,317,308,328,340,307,290,268,266,302,320,328,318,310,309,292,328,451,575,595,548,412,433,499,377,314,332,376,386,373,361,358,385,373,308,303,330,384,529,505,415,525,425,419,404,549,615,483,317,245,237,271,278,352,403,404,405,426,363,338,367,454,581,590,501,622,723,532,448,404,410,427,384,356,417,484,565,579,543,543,514,543,547,408,412,442,431,501,476,422,455,524,513,464,459,466,388,401,475,462,410,399,484,738,1096,825,933,1430,1028,808,791,485,425,719,722,754,830,933,1042,1023,964,893,1066,1262,1430,1202,1196,1009,815,1086,761,530,878,1020,957,1150,1142,1192,1330,1152,1554,1544,1356,1010,1122,1262,1358,1368,1318,1430,1238,816,636,515,510,575,725,827,589,552,745,1046,1172,805,800,1040,1110,1390,1378,1076,565,390,376,330,343,433,687,869,1072,1098,973,1650,1418,959,1278,1246,1196,691,574,569,667,891,1028,907,763,857,929,794,1088,795,528,422,362,367,524,568,431,412,408,403,413,331,322,253,319,711,822,1044,976,587,454,618,902,1148,1254,1260,1132,766,842,1058,1252,1126,1438,1464,1164,916,619,454,341,355,444,693,833,854,671,579,594,456,315,471,967,1132,818,1194,1404,671,603,899,1082,961,719,408,270,268,291,255,340,494,735,877,461,651,1172,839,555,555,478,392,495,599,1140,2348,2194,1402,926,1574,1402,1082,1170,1390,1572,1434,1520,1416,1112,1220,985,1114,487,532,493,363,392,433,407,473,674,995,1302,859,397,429,367,388,371,363,390,481,851,942,585,440,498,543,561,590,635,517,361,379,453,479,509,495,436,436,414,452,470,483,590,816,1004,735,634,717,730,825,753,536,612,607,498,586,552,514,633,755,688,533,573,642,1082,1266,843,904,777,819,796,772,1013,1212,1354,1414,1382,1308,1098,815,662,773,818,841,990,1592,1272,998,896,811,732,583,602,773,726,412,297,571,505,341,316,334,354,352,376,645,861,453,276,348,360,371,393,447,457,495,599,902,1024,971,1166,1080,745,535,441,418,534,786,897,1013,1068,1142,1232,1290,1382,1114,717,376,404,912,1266,1160,1230,1072,488,320],[279,284,284,283,263,247,252,262,253,255,250,237,229,251,229,257,330,384,466,501,541,431,345,352,344,394,467,518,519,563,444,351,294,287,277,312,325,317,308,298,299,297,297,311,317,292,294,433,583,702,838,627,570,1086,1402,948,1002,1456,1426,1060,984,528,442,408,363,508,507,382,323,279,399,543,738,1088,1046,930,1280,1338,1136,1060,1024,1052,981,925,1252,1344,1052,614,578,519,613,659,848,740,650,995,1100,930,858,1016,1100,1152,707,561,388,330,390,515,865,1128,1000,1196,1736,2006,1570,1594,1498,1388,1608,1554,1326,897,692,711,955,1220,1260,792,619,677,888,1007,892,1420,1404,947,1252,1050,692,1042,951,843,1086,1424,1038,642,700,858,761,807,1262,1418,1196,821,622,673,687,648,796,670,450,401,399,363,574,767,877,1138,1388,1314,744,853,916,922,877,1136,1142,1158,883,961,1058,919,742,1208,1952,982,433,469,583,478,470,462,616,771,674,317,312,327,360,398,267,255,377,458,720,949,1260,1426,1260,1188,1216,914,979,1252,1318,1152,787,1120,1062,999,1242,1007,760,768,832,570,440,439,471,563,598,567,559,528,434,358,414,435,359,388,517,444,378,381,354,313,291,270,285,437,822,1186,1108,1068,1252,1188,629,402,675,1200,1164,1080,1100,920,1094,1064,881,999,1010,1164,731,640,794,794,1094,1344,1156,1034,1000,995,995,819,692,451,478,645,960,931,980,754,578,597,1278,1930,1588,1114,1058,1282,1368,1320,1110,857,1246,1410,1358,1388,1264,1044,950,995,1316,1418,1210,1196,950,1104,1584,1222,938,785,801,989,1350,1190,628,541,473,345,337,321,337,384,354,267,234,343,363,753,1218,1196,954,1058,1550,1542,1182,900,1380,1070,1306,1446,1084,760,675,785,1116,1340,1126,507,439,555,572,433,469,667,681,985,1264,1374,1422,1280,1286,1044,1198,1444,1360,1380,1542,1506,1050,1154,1556,1682,1392,1070,879,969,852,1148,1007,1094,1116,1242,1386,1434,1298,1266,1418,1498,1626,1616,1328,1170,1076,1064,1064,1268,1418,1464,1406,1284,1246,999,829,491,604,832,1288,1484,1440,1376,1210,844,659,894,1310,1332,1224,1526,1512,1104,1042,780,863,695,766,1052,999,1004,1082,1102,971,792,756,820,877,963,885,816,938,1050,1024,866,844,979,1056,930,906,836,955,1114,738,445,353,575,1090,1510,1186,1164,1340,1200,1386,1516,1688,1400,1442,1790,1406,1130,1266,927,792,911,754,480,431,763,1174,1862,1454,1194,1212,996,781,841,873,728,634,415,350,365,344,294,301,300,483,816,1005,1106,1316,1048,520,365,329,298,250,273,368,413,613,872,843,991,1132,1288,1262,1262,1054,1312,1188,1034,1222,1180,1198,1214,1088,1068,912,952,1224,1278,1158,1218,1196,982,852,926,742,845,931,1190,1178,781,509,493,802,1250,1118,1268,933,552,403,316,274,460,635,489,572,852,998,1292,1034,1054,1136,1278,1048,999,947,830,598,490,747,1112,1070,1094,1244,1170,1284,1548,1492,1116,854,863,1154,1240,960,799,857,618,781,724,797,1044,1082,1282,1650,1586,1132,938,1118,1318,1188,1062,932,679,959,871,749,675,688,636,775,1144,1180,1042,1058,1344,1452,1136,617,804,1308,1304,1188,1368,1310,1112,1158,1540,1730,1484,1098,1140,1258,1252,1376,1432,1088,1352,1362,1150,1260,1380,1368,1218,995,921,894,843,577,752,981,769,563,684,633,650,819,1016,1102,813,705,893,1032,818,947,1246,1018,1042,1148,1064,989,973,1118,1226,1516,1680,1232,1250,969,964,1104,1196,1190,1160,1268,1486,1212,875,827,1238,1482,1548,1550,1554,1478,1208,893,683,625,925,1178,1466,1342,1308,1690,1756,1152,979,1108,1052,1024,1074,941,862,1194,1224,1386,1346,951,627,668,689,768,948,1030,924,728,602,565,540,651,778,825,1084,904,666,970,1480,1434,1226,801,350,348,530,1154,1488,1072,795,623,393,336,405,422,407,386,302,300,306,307,306,315,313,305,360,372,361,343,342,318,315,315,335,348,343,361,357,610,963,710,454,450,407,397,395,404,422,412,450,457,481,844,1496,1760,1182,1032,1596,1826,1348,949,694,479,417,400,366,354,346,349,387,563,737,616,476,399,355,360,379,317,311,408,376,323,296,301,297,294,309,316,329,342,336,330,419,444,379,360,357,347,336,306,299,327,319,311,325,324,327,316,312,309,292,303,327,338,321,296,287,309,328,323,338,308,514,623,653,673,540,409,297,291,298,318,257,265,279,275,272,281,283,275,278,292,296,284,292,302,318,425,742,1092,808,691,656,389,301,359,484,549,600,547,533,501,487,400,304,268,288,313,324,330,335,335,352,329,302,300,320,322,295,307,346,362,336,327,318,305,320,324,325,299,330,333,321,318,415,424,365,336,386,456,424,672,839,682,529,596,580,581,635,641,712,879,1234,1596,1838,1956,1914,1770,1648,1498,1392,1262,1126,1004,960,901,811,729,664,633,536,621,570,833,1178,1080,1154,1001,1002,927,642,539,989,1412,1015,1148,1382,1596,1408,1288,890,440,415,885,1234,1290,1404,1178,828,1134,1434,742,744,791,802,752,709,617,548,760,810,714,949,1058,1132,904,615,623,1164,1312,1294,1518,1354,1316,1076,768,1128,1330,905,1002,1218,1172,856,569,510,508,477,542,470,446,410,378,313,379,776,1184,1428,1234,1142,1084,1062,894,858,986,827,494,1014,1434,1106,651,467,667,846,732,622,994,1214,831,806,1074,1062,918,1116,1084,796,837,1050,798,850,1332,1072,602,491,746,1296,1210,839,517,711,966,1078,832,672,694,665,930,1196,979,806,955,1348,936,554,894,1024,644,981,1240,767,577,786,655,695,750,1052,1278,1302,954,965,1146,962,922,1184,1176,1012,1268,1246,1526,1444,1254,1594,1252,1296,1292,1176,1007,774,586,644,532,642,756,671,499,368,432,479,498,474,455,455,684,1192,1306,1488,1522,1318,1010,585,393,347,393,479,438,349,348,371,436,447,421,399,476,512,378,348,347,334,367,372,322,283,317,374,376,325,294,270,291,287,271,288,298,312,320,393,584,531,428,459,444,392,407,375,343,321,303,351,397,461,447,354,324,340,344,335,332,369,405,438,431,420,409,539,888,1096,1284,1110,535,431,433,447,431,430,472,494,473,489,532,501,432,450,408,453,397,330,331,330,339,333,330,379,404,390,359,334,325,316,325,325,318,294,310,312,306,308,289,291,312,316,304,304,303,297,396,493,598,636,481,440,370,335,379,362,319,319,412,428,383,371,381,386,376,393,477,370,417,584,465,487,471,364,397,404,394,498,605,487,401,282,343,343,387,417,396,404,426,393,388,393,342,316,318,326,455,678,631,500,455,371,349,357,337,342,428,548,500,434,453,459,615,497,340,344,371,400,487,628,677,620,554,530,443,502,489,429,516,607,472,398,430,678,652,390,632,1252,1366,870,758,778,472,408,554,567,624,752,825,780,769,719,895,1214,1384,1390,815,796,622,604,927,1015,867,976,1116,1148,1054,1088,1754,1876,1706,2484,1874,1282,1366,1354,1312,1434,1338,1208,1246,1512,1272,980,763,872,933,991,1086,849,924,1086,995,945,702,765,1008,1222,1668,1438,990,479,362,418,383,349,478,847,1136,1312,1011,1198,2176,1328,772,1090,1430,1094,584,576,798,1038,957,946,824,740,1260,1752,1318,1034,811,887,807,701,918,1090,782,807,1194,759,600,882,912,772,546,480,1054,1460,1174,530,284,342,460,508,702,937,1222,889,750,792,1136,1168,1158,1448,1262,1268,1174,806,726,553,402,402,612,716,624,534,525,531,413,337,401,532,375,442,1410,1512,882,670,919,870,844,787,469,380,309,276,264,271,298,437,596,399,835,1460,1324,1144,1132,1144,1252,1038,834,1284,1964,1416,684,700,1086,1194,1134,1054,1268,1224,886,1032,1144,838,827,745,998,708,515,343,354,366,394,426,536,762,850,648,487,839,923,530,462,467,398,671,1090,1164,1002,735,433,515,554,589,604,616,517,426,448,416,400,509,534,471,430,465,509,492,531,678,698,853,893,872,917,869,935,1042,755,741,662,469,549,573,540,527,611,637,634,577,561,785,1308,989,1080,1088,1042,932,678,586,720,964,1216,1376,1412,1356,1290,1168,943,711,716,799,1058,1428,1688,1280,816,767,763,748,846,691,367,290,520,432,345,352,391,423,440,402,705,932,445,330,364,350,362,364,384,439,525,581,778,947,1078,1144,974,905,761,576,422,413,573,745,946,1080,1172,1290,1420,1448,1284,841,605,824,805,1238,1202,1354,1078,499,400],[272,277,283,285,278,260,263,270,245,266,264,241,229,262,258,266,266,271,419,546,536,419,359,371,394,423,451,477,516,565,488,354,287,284,276,281,294,310,321,319,313,312,309,324,314,290,331,777,866,771,727,891,869,700,1040,992,758,1200,969,749,754,610,512,399,368,470,500,536,505,367,377,487,821,1130,1126,1002,1478,2018,1678,1032,915,821,594,873,1158,1506,1252,780,633,560,862,843,590,495,581,830,950,969,1336,843,1013,1196,959,528,483,555,446,408,585,1013,1698,1510,1530,2088,1664,1472,1334,1466,1618,1562,1404,1068,750,896,855,1070,1316,1004,1005,1138,1334,1296,1438,1138,707,969,1456,1306,972,1216,1314,1278,1170,1028,996,1078,1108,1252,898,995,1518,1430,1180,1142,738,673,998,1164,1250,877,714,661,581,529,749,852,999,1236,1180,1174,810,744,716,788,1346,1304,1160,1310,1144,910,948,1118,904,1306,2858,1380,754,650,439,448,547,520,594,800,820,549,379,367,339,334,493,472,382,404,640,957,1088,1068,1110,1144,1152,934,915,1080,1158,931,1004,1100,1142,1534,1426,1019,802,953,1202,646,449,488,615,638,537,643,669,562,481,379,329,328,354,451,647,578,591,542,390,320,311,317,400,678,1148,1360,1190,1194,647,361,387,658,730,609,670,1003,863,913,1372,1010,713,1130,1202,735,573,1034,1416,1056,1170,1428,1262,1056,958,1080,1112,858,821,532,480,589,851,1146,1028,689,614,504,868,1238,1334,1338,1350,1338,1214,1002,877,960,1070,1520,1660,1120,816,832,962,949,816,863,1172,1072,908,811,1068,938,989,992,953,957,740,633,480,598,619,488,434,450,442,409,365,338,361,388,509,849,1248,1166,943,1004,1680,1938,1308,952,998,745,856,906,708,817,791,1186,1174,1014,778,401,370,491,546,473,656,1042,1282,1306,1230,1204,1484,1316,1324,1264,1070,1250,1036,1214,1698,1552,1222,1322,1338,1466,1152,1023,741,854,1017,1226,1282,937,672,737,862,959,665,899,1162,1148,1282,1368,1376,1342,1240,1216,1306,1638,1798,1416,1282,1356,1120,1096,1158,575,857,1114,1168,1242,1286,1276,1126,866,764,930,1106,1070,1294,1282,1120,1132,1256,1196,1368,1018,828,1066,1144,1144,1200,1306,1524,1432,1062,848,722,735,871,818,777,965,1038,824,852,922,1044,1146,1106,1088,1114,742,502,480,313,482,656,607,824,1256,1104,1074,1316,1460,1480,1250,1252,1302,1368,1502,1242,810,849,744,518,380,334,648,1106,1576,1466,1170,954,772,982,1018,819,737,563,380,402,423,340,310,328,302,399,592,764,1010,1166,807,394,311,294,265,251,266,314,405,794,954,980,1462,1368,1042,1094,1134,1108,1120,1084,1162,1158,995,1086,1040,1018,1078,1082,1114,1342,1260,1234,1190,1030,1126,1166,808,770,796,966,1040,1314,1136,746,614,755,1000,940,964,813,590,595,571,311,472,743,723,867,1042,932,1296,1126,973,1036,965,730,811,914,908,634,451,719,961,1078,1268,1354,1126,1294,1712,1354,1096,1082,960,1130,1312,1116,594,783,738,822,615,910,947,1038,1290,1562,1532,992,907,863,965,1136,1084,918,705,965,1250,1096,1002,1114,786,756,899,820,913,915,1140,1256,1174,919,1160,1346,1064,1056,1276,1262,1214,1372,1444,1370,1272,1262,1178,1116,1352,1362,1396,1256,989,720,777,1336,1470,1320,1272,893,1156,1078,1172,1003,908,911,810,973,1060,860,686,854,1126,1038,886,822,953,1086,1015,983,1005,785,901,1086,952,1064,1374,1148,1060,1180,1164,996,1048,1070,1080,1132,1082,1060,875,1116,1466,1440,1576,1156,1042,1318,1600,1594,1634,1562,996,740,1020,741,1146,1428,1462,1438,1018,1030,1370,1224,1018,1216,1312,1174,869,729,1052,894,1174,1122,916,1026,862,612,662,1100,1344,1462,1200,868,863,694,692,670,639,727,1068,1092,799,896,1124,984,818,560,360,367,549,866,964,888,980,885,597,474,576,550,478,429,362,325,309,304,295,311,313,347,579,772,576,398,387,347,321,311,327,334,349,370,471,904,886,469,421,403,406,409,415,388,375,379,407,399,430,484,745,814,648,648,1222,1848,1488,722,472,413,424,407,385,377,370,399,522,742,735,549,523,402,333,306,307,323,344,384,362,312,294,302,326,290,290,366,444,523,406,372,703,675,367,350,350,336,350,330,325,353,337,300,321,321,313,307,305,292,290,305,340,409,351,295,306,314,324,330,329,305,416,444,543,616,382,332,302,303,300,274,260,267,274,279,279,292,315,320,310,293,281,284,276,321,414,669,1005,1104,787,604,483,314,310,343,408,438,452,500,473,441,397,339,307,293,298,304,317,326,337,355,366,361,338,306,289,293,298,325,343,330,336,358,351,314,292,296,316,294,337,362,350,357,368,380,378,441,541,532,508,659,876,690,524,501,554,708,890,1126,1390,1560,1776,1824,1766,1644,1660,1538,1400,1216,1036,885,871,1212,1532,1410,1312,1038,753,759,634,542,508,905,1022,1096,1328,1270,1118,880,671,776,1072,1084,1172,1624,1390,2024,1882,1194,704,337,356,726,1188,1332,1042,996,1034,1656,1170,651,611,573,722,678,547,499,541,715,866,974,1170,1354,1236,883,544,480,1052,1214,1240,1454,1306,1398,1166,881,1278,1322,913,1076,1854,1376,541,386,389,415,694,1076,932,627,388,356,401,418,612,841,1040,1054,1138,1070,960,1024,1086,1136,1246,708,1136,1726,1586,933,578,604,735,889,885,1019,1150,894,1298,1708,1322,979,1028,838,702,683,739,837,928,1076,838,722,944,949,1434,1224,970,630,610,844,1028,838,593,461,579,772,1124,1278,1264,1184,1274,854,726,1048,1154,1042,892,727,565,543,817,890,906,574,551,647,909,976,913,977,1012,1120,1262,1350,1374,1432,1312,1484,1538,1438,1572,1588,1506,1330,1158,884,799,603,773,1098,1352,960,577,405,363,395,424,452,425,419,387,474,960,1006,1354,1404,1308,1094,672,397,346,373,542,522,453,380,386,462,507,515,455,509,556,474,408,352,404,589,556,375,345,337,347,362,390,316,275,328,331,312,302,276,302,301,348,462,470,453,414,368,330,339,333,346,356,311,335,435,485,501,389,350,338,358,368,367,392,424,438,422,437,488,578,751,904,1382,838,472,450,412,375,381,434,481,449,428,424,422,442,458,448,426,455,400,356,345,324,355,387,394,381,359,317,291,342,325,314,332,319,298,291,300,302,310,325,333,336,326,334,356,339,334,392,529,543,519,649,626,453,390,360,334,384,385,449,488,376,326,338,388,393,407,576,711,468,479,460,389,404,450,516,433,345,293,524,967,1030,744,449,371,470,505,467,433,419,420,397,375,374,332,326,347,359,486,794,794,622,541,457,375,323,312,336,364,429,420,388,363,358,522,426,347,322,312,338,372,417,495,648,677,694,644,641,435,393,452,381,350,402,481,655,666,515,715,916,849,530,420,621,449,393,462,548,650,631,531,565,731,769,1048,1188,1324,1270,678,406,508,777,982,1009,919,797,746,854,808,1072,1742,1558,1490,2158,1734,1468,1826,1584,1376,1380,1410,1378,1566,1738,1522,1330,1304,1272,879,594,583,800,1186,1180,875,1084,813,724,1224,1582,1342,1172,959,697,738,774,707,722,770,1050,1200,1340,937,944,1216,739,554,951,1244,869,709,748,927,1332,1020,1184,1250,1130,1144,1354,1364,1132,1040,1248,1248,878,1050,1320,1072,1608,1562,825,849,1086,1144,893,971,1040,1114,1134,700,504,392,502,496,750,1094,1086,1276,1086,971,1013,1250,1005,1132,1438,1282,1374,1148,905,749,813,792,652,656,745,779,695,617,474,361,366,514,566,558,531,1204,1528,1352,1082,1166,941,644,760,575,415,269,278,289,291,313,417,441,473,879,942,698,1182,1476,1402,1286,891,767,938,759,609,521,472,581,925,1108,835,868,771,732,745,645,451,758,914,948,952,674,296,366,347,442,568,731,640,676,811,1186,1606,1454,1010,621,458,542,999,1540,1384,954,895,487,450,494,520,550,515,400,425,456,472,502,507,546,497,404,537,508,448,469,685,872,1070,1128,1012,896,777,1034,1250,1082,931,681,489,567,565,506,628,698,797,932,835,713,581,1108,1112,1186,1194,1068,702,508,453,447,535,704,925,1248,1360,1400,1394,1328,1290,1128,984,817,991,1286,1144,909,729,670,740,659,490,372,372,306,380,494,520,545,592,537,360,305,367,389,414,415,358,340,389,480,661,915,1102,1258,1272,1200,1046,1062,1144,1082,984,1024,967,808,856,989,1030,1152,1456,1334,1152,1384,1048,1050,1354,1028,1026,1296,1376,1044,581,513],[259,266,278,287,300,275,273,317,312,302,253,233,242,256,246,276,259,262,437,501,360,358,405,404,407,398,419,462,583,605,552,390,265,272,276,282,288,303,306,304,298,313,328,335,331,354,652,968,929,730,745,1004,824,474,523,866,660,514,477,508,559,512,404,387,357,331,433,458,430,415,526,709,793,932,769,493,963,1258,800,621,884,863,741,921,763,980,996,765,533,612,958,742,405,356,445,519,781,1296,2610,1516,1126,1220,1044,592,535,756,697,558,927,1224,2006,1766,1542,1718,1582,1604,1532,1380,1454,1644,1602,1188,732,1364,962,973,1398,1252,1234,1084,832,943,959,796,1042,1158,1262,862,709,942,1542,1554,1350,1306,1198,1038,1062,1246,1234,1342,1672,1402,1290,1598,1212,943,1142,1180,1128,891,798,948,1072,1244,1210,944,1036,1146,910,726,851,853,672,556,987,1202,1176,1346,1194,1158,1080,1274,908,1028,976,738,661,573,553,570,545,642,941,792,803,562,552,612,438,444,694,601,398,353,415,583,785,833,891,656,849,1268,969,1014,938,1172,1836,1794,937,993,959,932,966,982,674,581,662,684,633,551,507,659,591,383,364,374,414,379,333,379,671,763,717,645,549,443,339,343,469,522,538,647,807,716,361,346,511,779,769,572,658,1094,1144,1136,1074,600,559,789,600,436,719,1026,1066,905,805,1048,1422,1496,1246,1542,1376,918,1032,792,590,626,971,1400,1432,1354,1194,868,1072,1194,1412,1048,861,1126,1142,850,907,839,894,1286,1288,1166,1058,931,659,417,499,772,945,684,745,650,497,664,1092,1208,1318,982,431,378,403,704,562,396,505,579,504,491,507,423,404,517,763,984,1278,927,802,827,1644,1764,1186,988,965,661,583,619,774,856,840,1242,1120,743,452,322,365,425,451,644,1206,1344,1742,1538,1288,1326,1448,1252,1358,1328,1048,1084,1070,979,1238,1476,1514,1490,1164,1368,1366,1406,1220,1246,1130,992,1098,787,615,607,833,702,411,662,618,713,916,1198,1248,1238,1204,1284,1392,1700,1966,1554,1496,1454,1013,1080,1114,730,882,1007,1040,1202,1092,1088,1090,907,932,1120,1330,1380,1300,1258,1326,1406,1286,1102,911,703,809,1072,931,1060,1158,1322,1492,1568,1140,838,729,785,886,871,884,813,957,788,820,921,1194,1300,1190,1208,1096,836,688,572,327,414,586,742,1009,1086,1116,1234,1382,1342,1264,1308,1268,1206,1208,1210,1196,820,407,384,328,386,487,601,755,1120,1176,764,654,803,1324,949,954,1030,1040,711,642,591,373,434,480,322,260,338,583,776,746,525,341,277,254,264,269,261,307,600,1192,1222,1178,1286,1122,1122,1192,1142,1282,1152,974,1044,1264,1280,1312,1036,1072,1026,1001,1142,1366,1270,1316,1236,1126,1864,1618,550,522,639,896,852,1168,768,562,482,704,918,923,813,747,924,930,1062,607,561,751,906,595,358,527,1078,1286,745,623,839,692,844,1070,1010,631,562,744,760,881,1052,1266,1300,1166,1122,1236,1144,874,889,1108,879,670,389,476,438,454,706,858,730,900,1130,1316,1312,924,1088,1026,1000,1158,1412,1588,1178,1060,1344,1358,1248,1174,749,931,736,733,980,839,1042,1350,1358,1344,1412,1086,624,830,1064,1340,1572,1448,1450,1388,1408,1212,1088,1224,1286,1244,1306,1152,688,639,709,1378,1378,1228,1070,749,1005,1038,1036,935,791,770,877,1040,1086,1172,778,686,926,1040,1224,922,838,1084,981,935,1044,780,1018,905,929,1164,1358,1152,1198,1058,889,1056,1154,1070,1060,1023,1001,933,729,828,1186,1416,1390,1224,1010,1230,1720,1808,1800,1592,1036,849,1050,1170,1496,1526,1434,1526,1472,1378,1346,1048,998,1312,1240,1138,1198,976,1302,1136,1610,1234,1142,1204,1084,1118,1352,1194,1130,1330,1194,1002,1010,956,1042,775,555,565,860,1154,984,826,904,847,546,421,379,384,624,832,1066,1302,1244,1006,730,600,708,761,663,453,370,314,313,309,300,293,283,315,443,504,461,502,438,347,313,311,309,328,339,523,913,927,600,439,391,376,393,383,365,370,374,396,399,411,404,399,459,505,494,482,857,1684,1684,843,448,397,389,404,421,399,371,420,549,538,407,368,435,426,339,323,349,360,345,345,325,305,305,314,351,318,311,354,422,442,369,398,775,825,424,355,364,345,372,363,353,354,339,318,314,312,300,277,281,288,310,448,650,539,368,300,316,320,314,337,361,439,498,324,363,545,418,325,306,290,282,270,278,285,289,300,287,284,300,313,300,284,287,287,303,322,575,973,1050,762,471,328,311,314,330,306,302,322,319,392,444,423,372,339,304,286,300,304,310,349,347,346,341,330,314,300,293,287,276,276,305,304,308,353,348,343,300,307,311,311,339,350,388,392,350,394,408,697,771,694,636,648,648,656,767,953,1216,1486,1650,1778,1838,1754,1654,1598,1546,1358,1190,1104,874,641,764,818,927,1326,1082,990,1146,1282,1130,1146,791,588,569,637,986,1442,1374,1362,1134,875,943,1166,1068,948,1190,1216,948,1578,1642,1122,791,568,534,827,1424,1306,1224,1400,1354,1096,771,722,643,514,424,448,391,386,476,573,812,868,883,983,902,641,467,487,642,740,791,915,1046,982,943,885,1196,1322,901,911,1108,620,397,409,379,398,673,997,1158,1054,621,396,432,396,536,979,1072,783,923,1174,1352,1364,1312,1390,1128,824,1140,1674,1656,1040,594,540,531,429,495,474,609,774,1026,1036,917,571,393,377,467,494,678,1186,944,750,582,865,1740,1532,1056,540,421,567,783,1100,1296,1072,755,544,564,579,695,965,973,907,916,709,587,544,681,1104,1098,849,624,784,1210,1218,926,569,629,582,612,701,802,849,945,1068,1144,1216,1416,1370,1256,1164,1166,1266,1354,1578,1506,1368,1282,1010,829,1024,1276,1368,944,546,646,612,448,432,421,401,441,540,468,438,666,975,1400,1366,1310,1186,657,411,358,418,673,532,572,564,584,707,772,676,480,423,467,504,470,399,526,873,881,577,408,383,375,360,413,372,319,351,412,350,318,300,299,301,351,503,592,474,382,357,346,333,330,336,313,295,309,347,373,419,373,336,368,427,446,404,397,412,483,460,412,442,527,1000,1490,1268,633,527,481,384,396,412,418,496,548,501,411,390,393,431,470,513,522,461,404,393,370,422,478,438,359,323,312,316,332,325,320,310,300,305,308,307,308,321,341,347,344,332,414,478,375,329,386,364,442,498,577,564,499,522,596,559,584,580,661,636,404,385,404,463,443,448,532,578,360,443,451,433,442,397,392,377,333,313,586,909,991,739,611,603,573,478,434,462,445,441,411,354,357,336,362,361,350,413,576,676,617,530,488,380,339,386,392,351,429,442,414,376,353,357,367,346,314,306,327,329,344,378,464,627,623,640,673,455,356,386,322,316,458,499,392,432,556,951,1030,745,472,452,484,396,321,341,395,505,529,526,607,751,873,763,697,1028,1260,1056,759,726,1032,1238,1288,930,705,827,642,682,625,1028,1366,1484,1444,1098,976,1134,1368,1548,1478,1228,1218,1432,1528,1366,924,854,816,537,422,496,635,713,824,910,1064,786,627,1340,1750,1410,961,689,561,626,847,1001,915,775,1074,1150,1080,841,861,1088,967,724,938,1110,902,1048,1044,1120,1124,989,1214,1416,1560,1382,1182,1150,1118,1038,1078,1326,1110,1290,1282,1164,1540,1312,1164,1030,768,780,959,1230,1398,1572,1007,507,499,646,1004,697,714,1096,1404,1374,1302,1286,1262,1114,957,1378,1504,1360,1086,726,602,550,617,722,954,1134,1108,860,522,489,436,427,508,788,701,454,719,1160,1318,1406,1246,1180,866,678,807,404,280,255,309,358,351,427,503,444,708,1042,857,1138,1350,1252,1007,778,571,823,852,477,370,430,498,604,1236,1794,1268,1284,1176,827,489,399,463,813,1118,920,835,878,585,696,533,615,944,1046,607,535,1078,1330,1024,1088,1218,908,505,509,987,1012,665,512,820,518,384,486,540,536,429,384,526,502,522,469,441,504,487,408,460,495,467,449,626,937,1194,1172,1021,875,722,850,1130,1202,957,628,496,570,638,785,839,784,843,797,773,597,472,703,1120,1182,1156,1042,591,492,433,404,412,569,791,831,971,1134,1332,1382,1388,1428,1408,1280,1160,969,911,816,650,493,628,694,600,475,370,301,477,663,556,579,572,448,398,401,358,393,467,642,810,915,1044,1148,1246,1220,1360,1052,828,835,807,778,689,740,952,989,929,1086,1142,1092,1170,1012,1128,1294,1160,1202,1220,1128,1124,1017,916,1302,1614,1208,828,845],[253,259,281,302,308,271,285,361,413,357,276,259,265,254,240,250,252,271,318,315,352,407,387,417,433,417,432,495,569,605,591,445,265,264,286,286,284,298,312,311,313,322,318,335,350,627,1024,1056,890,903,744,767,883,710,702,830,690,534,455,459,484,464,422,397,367,340,371,324,279,363,517,768,741,549,402,388,607,600,445,440,709,939,1100,741,382,439,494,549,461,510,641,495,377,468,667,683,912,1308,1390,1086,933,839,734,625,657,497,530,899,1426,1244,1592,1510,1348,1492,1460,1306,1108,897,1060,1088,1300,1628,1168,975,552,788,1710,1636,1120,779,550,764,1152,1478,1540,950,866,630,705,907,1710,1798,1418,1382,1266,1112,1062,1230,1554,1400,1478,1692,1958,1748,1376,995,983,983,1090,1156,797,925,1274,1340,1120,983,1310,1236,1074,913,1040,1108,867,560,755,962,896,896,1256,1290,1488,1116,658,915,868,749,626,884,761,411,358,461,610,731,818,515,633,717,627,582,754,900,796,713,508,305,337,385,447,509,1019,1228,1012,1158,1080,976,1722,1676,883,939,997,850,879,602,452,747,1030,915,651,467,419,442,373,343,324,539,713,515,297,405,699,706,609,658,681,529,366,341,394,356,305,498,448,344,336,597,924,902,730,791,950,1226,1310,1114,807,550,505,534,453,471,701,616,621,897,955,1208,1694,1478,1246,1404,1200,885,926,930,844,980,1038,1044,1350,1406,1410,1226,1226,1208,1270,901,1052,1288,1001,919,842,700,1264,1372,1180,1140,885,836,595,419,760,995,849,664,814,894,681,782,957,1202,1578,1136,602,512,439,613,509,435,484,542,491,411,616,693,653,638,761,837,1164,780,571,650,1040,1076,655,703,795,747,1011,832,894,688,735,1036,949,888,708,305,312,431,546,709,1432,1468,1292,1152,1104,1494,1396,1156,1092,1026,1050,1180,1224,1168,1266,1056,1504,1676,969,848,1036,1326,1288,1214,1160,1001,742,482,503,503,937,694,569,753,672,596,730,886,971,1058,1062,1222,1340,1542,1592,1516,1526,1296,1162,1014,974,1108,1362,1284,1088,1234,1228,1144,1060,1011,965,1016,1390,1456,1490,1550,1500,1306,1070,919,847,592,1174,1686,1394,1186,1142,1026,1194,1080,1036,1048,933,865,806,832,901,914,1094,793,890,1160,1566,1374,1070,908,812,854,702,515,438,371,371,566,1004,1428,1412,1236,1164,829,717,955,1206,1396,1024,888,1174,871,486,345,361,480,666,805,653,699,778,631,598,888,1078,1052,1250,1354,1380,1136,912,574,461,730,819,433,326,746,1066,514,379,312,241,243,266,288,279,233,378,828,1240,1372,1314,1094,1015,1302,1180,1224,1266,1238,1062,848,965,1080,1228,1180,1426,1022,975,1288,1252,1162,1268,1236,1116,688,361,339,397,713,742,570,752,571,543,749,897,771,582,625,802,1134,788,1276,974,604,757,846,460,320,612,907,691,394,440,577,510,897,1554,1188,1100,979,749,878,1005,814,948,1302,1268,1030,1176,1102,996,1248,1156,867,655,505,485,468,711,788,498,626,907,771,1048,1312,1040,1270,1188,882,902,1262,1316,1122,1092,1256,981,964,1170,1002,910,719,642,915,1112,1086,1202,1398,1328,1146,1068,775,902,1178,1372,1652,1460,1330,1340,1122,726,860,1250,1336,1334,1576,1422,654,550,729,1168,1328,1234,774,411,546,767,861,794,716,740,1130,1328,1188,1052,1018,1128,922,764,1048,903,714,1032,1070,907,960,684,647,749,698,923,1110,1158,1202,936,891,1128,1060,1032,1092,1036,1036,843,875,869,849,942,1070,1280,1328,1292,1404,1494,1366,1290,1568,1312,1232,1686,1920,1626,1462,1598,1604,1342,1374,1316,1396,1416,1150,904,1048,999,1202,1228,1034,959,1208,1278,1206,1352,1500,1266,1150,1292,1426,996,891,1058,1096,958,1020,1104,1058,1048,1005,846,783,979,684,429,436,511,784,1212,1140,938,914,977,984,761,846,1032,776,521,378,319,309,309,313,309,282,283,275,370,564,521,414,343,304,299,308,331,469,982,1196,645,426,374,349,372,359,351,363,356,359,379,403,413,391,406,467,477,450,458,593,1360,1830,1210,561,411,387,403,389,352,361,394,419,391,382,342,334,337,336,345,354,362,343,329,338,354,413,502,379,321,370,484,452,352,341,348,481,581,368,345,357,353,376,370,348,333,324,319,301,303,295,272,273,306,298,454,579,417,315,287,318,332,330,358,387,439,455,316,373,448,352,300,284,273,280,294,303,295,282,294,283,287,282,282,287,301,310,316,330,505,865,1112,919,423,310,300,315,310,330,318,317,313,324,360,388,406,374,340,311,304,295,298,289,299,307,312,319,317,317,299,283,286,295,283,304,308,310,321,311,315,289,310,333,310,335,393,412,392,384,408,384,631,739,767,814,900,1100,1384,1634,1780,1848,1776,1686,1596,1414,1282,1028,908,811,772,799,855,659,709,1088,1007,1236,1340,1188,1050,919,915,955,1011,1050,1140,844,476,921,1426,1358,1324,1048,1132,1474,1462,1106,899,755,747,987,1282,1230,1156,1108,1182,935,1134,1200,1278,1476,1606,1600,1524,1242,707,697,514,472,732,752,806,649,556,683,527,419,414,409,513,874,1058,764,634,618,783,1072,1144,1066,915,753,855,835,781,763,368,350,410,390,425,429,871,1005,1106,859,677,664,487,728,1226,1262,869,859,998,1224,1074,1158,1122,875,755,989,1268,1007,759,503,503,418,372,431,421,339,713,898,794,619,425,334,409,658,703,493,907,1648,1330,960,1406,1730,1422,714,436,555,717,806,1154,1204,1066,749,492,429,376,560,635,630,966,1068,696,445,421,535,776,1108,1078,826,855,839,788,655,708,738,607,508,606,1138,1282,1064,1013,1174,1036,1152,1226,1012,890,1036,1108,1180,1548,1632,1322,1056,843,1108,1628,1448,1066,884,792,835,926,886,467,423,421,459,591,620,712,902,1220,1448,1418,1268,974,669,501,449,429,578,631,762,805,777,797,812,643,438,391,416,491,484,414,478,772,985,902,559,344,343,351,406,400,393,426,476,503,411,336,306,323,368,565,606,438,378,363,357,333,321,303,319,360,327,309,375,423,362,337,399,417,424,375,380,459,478,450,541,609,599,1004,1510,1048,470,463,510,410,402,394,442,575,737,641,477,428,390,394,447,478,545,488,518,521,478,491,481,407,335,305,321,344,338,340,318,310,312,323,365,347,324,324,320,321,326,303,402,532,422,323,301,284,537,596,768,751,668,731,688,717,950,847,613,641,551,448,390,519,722,790,652,497,678,903,546,526,624,521,449,423,279,307,641,922,790,662,648,533,452,418,381,445,430,406,390,350,323,347,370,351,325,358,415,429,398,353,350,310,303,335,333,321,399,413,384,359,330,347,344,324,368,360,347,326,318,304,338,463,471,588,681,509,371,351,311,330,524,653,672,486,445,903,977,625,450,465,486,378,335,350,336,425,500,548,566,562,730,720,661,891,1198,1464,1378,1188,998,1104,1432,1072,996,1104,1116,1005,938,1288,1366,962,777,692,724,767,1074,1170,1302,1256,1666,1428,1322,1628,1316,846,958,743,489,515,525,668,838,822,1001,1168,839,1096,1692,1434,847,663,726,895,824,868,801,606,697,751,823,598,668,1078,920,754,775,764,630,995,1254,1046,1116,1166,1380,2316,2692,1698,1384,1814,1100,1062,1372,1478,1326,1484,1332,1224,1426,1530,1332,1068,891,848,952,810,1012,1520,1021,566,683,1028,1196,684,390,717,1072,1036,1036,952,775,708,1206,1606,1266,1238,882,588,499,517,446,372,653,1138,1086,850,571,481,441,454,725,797,499,389,842,1276,1388,1274,838,862,606,428,525,371,269,285,285,313,310,545,776,503,675,1228,1130,1274,940,1134,1012,698,625,802,817,605,674,995,1432,949,1200,1340,1448,1554,1562,1122,602,447,432,518,500,556,807,1018,710,498,650,665,731,681,549,430,727,899,699,864,1194,1202,726,537,610,530,441,445,378,294,336,520,683,568,484,473,464,466,429,364,364,373,452,433,386,429,431,418,454,670,1004,1068,996,807,782,741,896,1042,1005,794,604,700,776,819,667,672,670,646,708,709,572,407,832,1182,1078,920,634,450,424,444,446,674,822,960,878,868,921,1048,1198,1334,1450,1408,1392,1408,1304,1186,1058,891,799,688,623,719,639,602,691,722,686,865,959,988,951,916,1012,1206,1318,1334,1240,1156,1100,1034,1011,818,1190,882,644,723,731,769,809,818,747,744,807,816,719,852,1002,1100,1184,1092,990,942,877,868,989,965,880,981,1506,1474,1098,957],[253,257,292,321,307,267,302,343,365,332,302,308,291,246,250,246,255,272,265,242,351,395,362,383,431,429,429,523,630,562,520,477,325,281,291,279,278,298,302,321,336,300,298,325,500,921,1322,1378,1080,993,627,649,829,988,1050,865,576,442,401,418,481,439,400,358,345,356,383,374,342,422,658,791,590,353,320,309,583,603,443,410,800,843,886,681,371,422,323,357,560,419,278,381,383,854,974,1152,1200,1096,1078,828,512,687,1040,996,892,624,735,1052,1416,1312,1216,972,1090,1722,1794,1338,1058,862,778,851,1156,1584,1468,841,714,951,1654,1528,1046,1194,1200,1130,1178,1218,1030,803,656,886,1042,1204,1656,1658,1500,1450,1464,1396,976,1120,1216,1394,1378,1608,1776,1614,1434,1132,1054,890,794,1030,1052,1198,971,794,714,708,1274,1214,1076,998,1078,1168,941,664,578,722,965,661,889,1488,1628,786,485,544,830,831,559,589,618,542,880,866,1046,1000,825,728,783,789,871,991,874,641,903,920,479,324,320,410,724,963,793,562,910,1358,1326,781,883,984,881,773,953,742,574,444,423,753,1001,802,665,506,389,354,357,380,472,820,752,572,671,654,598,502,542,609,654,532,430,372,305,309,334,338,341,358,548,963,1216,1154,1168,1080,1394,1442,1102,669,511,562,720,843,813,801,833,540,506,993,1332,1230,1198,1256,1154,1086,1010,897,1160,1160,899,739,701,963,1278,1378,1630,1396,1498,1204,1048,1078,1118,1176,1142,1054,695,514,1044,1174,899,760,644,683,719,727,966,1088,981,918,930,952,616,620,541,847,894,811,606,570,598,508,528,603,499,450,451,357,411,647,824,842,699,717,820,685,643,868,1214,1050,829,1300,1042,825,794,734,864,960,928,938,995,1134,872,323,334,441,563,728,1180,1240,1278,1142,1322,1548,1250,1196,1206,1062,991,987,990,1188,1538,1040,747,973,763,771,990,1094,1070,1208,1288,1050,835,712,477,502,738,666,697,753,827,828,676,667,783,838,983,1116,1184,1352,1412,1428,1408,1324,1234,1146,1148,1162,1112,1232,1116,1050,958,882,929,941,962,1202,1348,1200,1222,1448,1342,1154,1110,893,948,1196,1438,1710,1446,1500,1274,1046,1136,1182,1230,896,888,861,849,799,836,818,661,577,589,773,963,953,1100,946,700,885,828,590,394,351,716,1300,1598,1656,1614,1310,772,520,1028,937,909,1354,1400,1476,1322,951,728,628,561,656,719,666,487,562,689,709,725,984,1136,1370,1388,1242,1216,1230,1112,689,443,708,857,451,380,813,660,328,277,235,218,265,313,332,325,285,560,1174,1206,1302,1340,1180,1334,1266,1026,1034,1110,995,1004,965,1032,1017,1176,1162,1098,1019,1160,1146,827,974,1260,1164,909,808,540,367,330,405,368,402,625,722,996,1142,947,806,658,783,1032,1248,1024,1078,685,452,1338,1340,429,332,490,514,362,312,361,560,693,973,1120,1266,1378,1208,987,926,889,886,802,933,989,1138,1094,772,830,1252,1162,955,846,621,461,642,1009,1080,708,619,668,586,984,1522,1208,973,973,973,1130,1216,1180,959,836,1278,1140,1004,1166,1224,954,727,640,873,1013,1224,1514,1290,865,735,796,684,720,1074,1134,1204,1246,1128,1116,1090,993,1290,1682,1422,1340,1194,1394,882,764,1196,1444,1382,1250,902,402,419,770,1130,1013,684,888,1290,1362,1348,1306,1282,1432,1318,772,678,709,674,972,1108,767,556,514,543,688,844,998,1040,1166,1152,941,906,1100,1092,1128,1106,1086,1092,899,983,1188,1188,1224,1312,1404,1320,1256,1084,1020,902,2018,2292,1594,1522,1788,1696,1804,1836,1576,1342,1005,1266,1474,1470,1502,1402,1256,1088,941,1172,1262,897,985,1184,1212,1348,1066,1174,1112,937,1412,1512,922,889,1174,1094,1198,1368,1220,1030,825,1168,1110,756,933,866,688,860,937,1162,1476,1056,1172,1072,926,1020,1028,1294,865,777,818,558,372,309,309,299,303,293,312,337,558,653,528,435,339,290,302,331,429,771,1005,689,395,386,365,370,368,359,349,350,354,377,399,418,422,426,426,464,470,438,454,444,977,1726,1550,777,433,438,419,391,385,486,473,487,491,461,388,324,324,329,332,302,296,302,322,607,617,691,820,635,505,656,625,417,354,332,333,368,359,326,355,341,366,379,357,341,326,309,285,278,300,288,281,288,323,301,336,346,322,306,301,318,314,316,328,335,318,281,311,337,324,300,275,269,271,284,285,295,304,275,263,267,280,280,290,299,292,314,416,694,992,1098,1026,633,307,288,285,324,327,327,327,315,311,312,307,343,350,312,302,299,379,487,452,312,286,289,278,286,300,306,288,287,287,288,296,305,314,333,308,299,301,283,320,332,315,382,410,419,402,379,430,526,789,1082,1314,1554,1732,1824,1764,1722,1676,1504,1362,1130,1112,1164,933,689,998,1350,1214,811,703,657,868,1194,995,1188,1450,1460,1154,877,834,996,1070,1234,1172,885,738,1048,1166,1114,805,812,1158,1416,993,745,713,702,908,1188,1328,1284,1224,1090,1076,840,1116,1290,1332,1230,1272,1156,962,972,735,1064,844,564,785,787,855,849,761,677,495,347,324,486,1016,1510,1486,1196,1222,1236,1288,1170,1216,1438,1272,915,698,561,719,676,377,411,390,380,466,422,720,1060,1368,1334,1334,1174,809,1028,1654,1762,1240,1124,1094,1056,1112,1110,940,939,1104,1210,1132,643,633,786,480,269,255,224,292,294,495,636,522,405,409,442,495,901,962,778,1350,2824,2062,1668,2308,1898,1060,567,697,1048,1056,1110,1450,1296,1070,664,422,402,386,678,802,754,1186,1508,915,434,360,478,752,1009,893,744,730,643,473,481,445,362,378,700,753,1020,1328,1160,958,997,1074,1158,1244,1250,1182,1086,1192,1194,1192,1556,1434,823,496,591,1234,1538,1210,1244,1164,1168,1422,1190,537,402,396,427,647,935,1178,1098,847,926,1070,1082,1052,1130,747,532,403,398,525,703,852,769,564,541,671,510,403,424,502,450,389,385,564,803,808,550,365,360,342,365,403,391,442,459,505,414,339,336,330,374,448,439,386,355,326,332,324,322,324,344,327,315,345,386,424,370,341,362,332,351,359,380,450,469,431,580,771,923,1266,1418,698,430,375,410,394,358,469,564,577,607,520,419,405,407,543,548,507,603,429,394,414,480,447,413,409,391,364,377,341,333,310,315,317,320,334,334,332,342,341,329,329,356,364,442,546,442,335,299,275,488,591,599,452,429,545,599,833,1166,1023,451,463,594,536,607,573,693,793,644,530,705,829,621,529,556,458,428,408,244,265,519,669,720,960,1024,681,418,367,379,429,394,383,418,419,332,287,329,359,317,305,337,310,297,319,368,349,329,388,429,392,425,442,372,334,312,323,353,388,373,365,356,351,346,377,390,418,412,440,597,630,469,541,596,530,552,775,876,738,745,1036,901,546,462,532,482,480,446,420,418,469,553,592,590,545,691,966,1052,1170,1238,1328,1462,1170,791,1312,1394,1238,1196,1018,1098,1190,1228,1162,1146,1282,1134,1068,1298,995,973,1066,1074,1110,1274,1092,911,1400,1306,916,988,668,380,513,527,554,824,863,1286,1826,1416,1066,1274,1160,857,623,839,979,809,668,628,440,482,714,782,573,633,959,707,849,1170,1064,883,938,1622,1786,1710,1414,1568,2416,2444,1430,1302,1482,942,971,1164,1268,1202,1420,1398,1362,1496,1416,1152,1006,875,883,858,865,1048,1164,899,927,1104,1186,1012,620,739,1332,1306,999,918,537,367,470,782,926,1168,1234,912,742,648,465,346,337,435,737,935,939,698,477,506,613,885,694,418,695,1378,1142,890,565,633,889,573,335,357,301,248,281,283,331,479,891,954,619,662,1090,991,808,921,1292,1048,715,543,651,1060,948,937,1332,1792,1124,865,910,1094,1224,1248,730,313,322,363,414,410,555,897,1066,955,579,541,639,539,495,537,386,574,1064,1038,1152,1312,1228,1036,1046,904,822,787,559,349,326,339,386,440,430,486,498,402,391,391,360,332,379,493,438,403,441,406,306,301,505,848,1018,1009,847,758,686,705,771,761,824,856,831,711,705,673,700,677,669,586,673,702,557,650,1040,1122,867,871,923,832,753,883,1084,1114,1056,1092,1056,1016,962,825,947,1016,1284,1370,1398,1428,1402,1366,1322,1228,1126,1048,907,949,1068,1046,1084,1090,1034,987,982,1064,1206,1274,1244,1001,851,684,648,623,632,645,677,1013,910,715,782,777,767,796,792,810,822,796,791,804,894,971,1094,1156,1196,1266,1282,1290,1308,1352,1354,1378,1384,1540,1760,1622,1528],[288,303,343,417,414,360,347,341,337,350,343,350,345,291,272,259,252,242,263,252,269,357,412,387,387,402,438,520,544,462,431,455,364,280,269,280,291,292,281,311,341,312,297,370,796,962,1228,943,906,666,711,886,1034,1294,1122,1062,616,462,405,428,483,454,399,318,302,370,409,395,376,460,656,728,814,698,449,364,700,1036,1004,978,1046,727,633,551,374,390,362,279,623,445,328,409,337,635,929,1170,987,814,886,935,1024,1042,1232,1344,1172,1084,1148,1118,1190,1038,873,1070,1222,1674,1688,1390,1188,1078,907,1042,1256,1718,1526,1166,1158,1426,1418,1314,1366,1544,1498,1088,677,615,741,965,1134,1404,1268,902,930,929,916,966,1296,1132,533,641,1190,1568,1550,1524,1572,1626,1336,1124,979,634,499,803,1114,1150,806,899,816,811,1178,1316,1354,1306,960,1074,1128,886,876,1108,1302,1062,753,1528,1356,619,465,453,630,698,568,905,1250,699,1066,735,941,936,737,886,1160,1346,1168,1015,896,836,657,677,407,340,311,559,1060,922,503,735,1180,1206,1100,639,604,971,1068,797,661,549,421,412,437,597,654,538,528,440,415,385,353,442,816,994,763,1208,1520,796,420,367,458,508,606,557,503,472,343,275,330,397,420,548,805,1036,1078,1030,989,745,1206,1540,1015,774,900,891,1009,1050,972,988,1092,818,906,1574,1606,932,705,1246,1158,1072,993,904,1218,1122,984,884,1068,1242,1410,1530,1794,1546,1502,1248,1216,1376,1222,1306,1422,966,843,553,683,977,971,1110,816,592,753,1084,1230,1170,1144,1290,1186,969,791,880,549,476,386,507,626,703,642,498,631,745,476,447,353,365,335,320,473,693,835,1048,1106,1028,875,1160,1310,1206,1156,1222,888,538,397,626,824,1014,1232,1128,979,951,597,333,328,698,653,575,821,1126,1270,1214,1400,1460,1222,1368,1412,1134,849,876,912,954,1092,966,857,901,1021,1154,1302,1314,1112,1270,1172,992,1042,1056,658,397,484,604,686,654,751,778,613,635,816,869,1096,1038,1092,1116,1116,1212,1216,1078,1158,1224,1284,1242,1052,1190,1108,991,987,879,949,946,947,1230,1326,972,808,687,810,1040,1212,720,1660,2020,1580,1532,1490,1532,1316,1332,1208,1128,1144,1062,895,1019,963,804,841,747,637,544,419,840,1214,1004,715,846,842,930,771,768,768,1052,1412,1484,1698,1718,1526,1092,754,739,1262,1004,1184,1094,1158,1352,1130,595,590,1098,1230,933,811,437,297,473,698,990,1080,1106,990,1020,1436,1396,1262,1306,1510,1278,841,540,477,444,382,443,352,261,269,264,246,283,347,358,477,431,555,1116,1448,1600,1350,1288,1500,1348,1294,1252,1268,1013,1010,1278,1009,1120,1184,988,892,939,1170,1096,845,908,1166,1302,693,487,372,309,410,602,617,636,857,1140,1386,1134,1190,1180,837,774,831,1164,1186,716,375,457,871,590,269,332,306,275,378,396,695,1030,893,897,1204,1416,1294,1450,1564,1242,1138,1474,747,705,779,1212,1206,869,832,1036,1078,1005,902,606,473,585,741,1104,918,948,772,715,984,1506,1578,1494,1496,1368,1340,1144,937,656,691,1126,1056,990,1052,1168,1008,950,1028,942,1082,1352,1250,1104,623,772,989,1058,1204,1110,1206,1314,1034,815,878,1110,1032,1076,1516,1438,1212,1098,1720,1362,1156,1094,990,1116,1090,780,476,449,548,768,580,429,899,1274,1674,1660,1356,1302,1202,946,657,586,772,1004,984,1132,860,516,541,613,805,1094,1014,1018,1186,995,1068,1080,1108,1076,1132,1178,1210,1112,938,1060,1212,978,1070,1200,1116,750,835,1112,1070,1020,1800,1892,1408,1382,1410,1400,1814,1958,1550,1136,813,1020,1176,1372,1486,1272,1140,1186,1274,1536,1534,1428,1650,1334,1518,1436,827,995,1206,1194,1182,1118,969,1048,1220,1262,1294,1504,1406,1021,606,881,880,944,1154,982,1084,1224,1114,1286,1318,927,879,858,871,885,958,879,821,1016,827,466,367,317,303,305,324,303,314,338,445,509,652,665,453,316,327,395,774,988,605,393,358,435,489,412,372,366,358,348,362,353,381,387,406,419,415,454,483,459,459,412,651,1422,1786,1112,500,461,422,406,435,675,656,484,416,407,372,320,303,302,288,281,299,321,307,486,639,713,716,568,682,905,686,399,430,437,366,346,330,332,335,362,403,391,362,361,343,318,304,273,286,272,277,277,284,283,283,298,307,296,307,301,307,321,332,326,320,300,314,310,290,265,269,261,259,283,320,357,358,303,280,286,284,290,302,300,355,521,781,1064,1124,1028,752,392,305,288,297,392,402,352,365,315,304,305,321,324,331,296,263,444,645,694,475,292,291,277,289,312,302,299,287,288,293,305,311,307,310,305,295,298,318,351,357,336,350,373,421,541,679,869,1124,1346,1544,1674,1730,1686,1664,1682,1572,1414,1306,1176,1152,1068,1126,1320,1162,1028,1302,1158,883,458,444,552,1082,1270,1262,1504,1404,1082,1162,1098,1018,1334,1506,1272,1282,1310,1220,1406,1418,1230,1130,902,938,1038,916,955,1032,1092,1166,1078,1252,1356,1288,1206,1056,659,711,1030,1070,1021,924,686,758,894,896,1240,1048,1284,1050,849,1058,797,673,735,709,849,576,625,1464,2428,1914,1062,1172,1300,1162,980,1072,1240,1300,1148,907,789,847,558,395,387,380,385,429,445,470,847,1282,1268,1396,1350,1044,1192,1336,1256,1410,1448,1466,1554,1316,1046,1012,1112,1392,1266,1090,699,1290,1354,492,245,292,297,304,321,428,733,735,725,563,618,542,785,1012,974,1192,1534,1372,1648,1756,1332,1378,1012,1468,1548,1007,1336,1490,1104,1130,836,426,361,431,590,688,892,1228,1294,661,344,269,453,848,973,844,926,855,562,343,337,325,349,448,796,828,1122,1468,1258,755,864,1288,1180,1146,1392,1412,1146,1300,1338,1086,1354,1256,659,495,495,941,1292,1120,1064,1114,1282,1490,1056,556,487,672,1019,1316,1470,1536,1142,659,492,560,1088,1340,1208,955,639,449,435,438,614,783,727,673,833,871,586,409,434,475,485,477,421,467,541,430,365,350,358,348,351,400,347,333,371,473,529,505,477,370,387,435,400,365,322,307,329,324,303,318,341,316,312,331,372,411,354,351,385,343,323,375,393,500,573,549,536,599,803,1354,1266,596,402,381,373,378,362,409,414,407,410,396,394,417,371,459,409,460,432,347,328,346,328,343,370,344,414,539,501,416,360,320,344,338,317,320,323,320,312,334,343,334,350,327,340,322,321,286,273,226,445,730,599,367,410,623,897,1124,1594,1388,694,516,568,753,962,630,658,910,592,464,464,481,593,433,448,492,527,428,317,306,485,491,491,905,1098,662,374,321,343,361,329,370,464,451,397,335,361,371,363,387,424,315,316,343,382,367,388,465,485,465,500,438,382,407,410,421,477,430,420,373,413,489,505,524,573,581,537,469,518,591,569,642,715,712,719,698,487,467,731,916,935,893,760,633,508,484,512,548,550,544,579,566,574,645,833,1004,1170,1360,1354,1386,1522,1214,959,1314,1294,1262,1226,955,850,1360,1368,777,907,1566,1422,1436,1788,1440,1015,898,964,1288,1616,1388,694,1023,1072,791,676,661,783,760,561,585,848,938,1156,1754,1552,1100,964,983,764,677,1106,994,720,639,477,322,514,833,839,693,677,1226,1150,1146,1296,1108,930,992,1180,1204,1302,1268,1444,1766,1518,755,489,405,727,1020,861,914,1118,1078,1016,1028,841,632,753,874,763,781,629,757,1006,1092,861,1056,1364,1300,1190,1102,1326,1596,1464,1356,1200,720,553,595,693,1066,1322,896,788,1158,1005,772,502,361,481,407,518,620,780,727,551,1040,1574,1066,509,703,1504,1300,1224,1036,781,832,695,497,461,409,357,449,524,687,800,910,945,814,947,950,550,381,647,807,512,587,705,1011,1752,1384,871,601,758,880,952,900,597,656,710,458,364,364,348,391,353,398,856,1032,963,745,617,644,639,698,764,542,722,970,738,1030,1060,1066,1018,1040,1001,960,973,703,321,337,365,366,455,597,1330,1208,504,349,370,374,332,483,716,495,430,440,379,299,315,584,894,954,933,862,746,580,672,687,576,576,578,624,576,631,611,561,584,570,560,641,669,661,733,1054,1330,991,727,634,541,716,935,1030,1102,1134,1174,1148,1128,1064,1170,1056,978,948,1009,1146,1192,1340,1384,1378,1418,1440,1362,1328,1294,1278,1220,1082,926,839,882,959,980,862,871,896,759,681,699,792,788,760,803,908,1080,1100,1030,1108,1134,1176,1230,1234,1240,1260,1302,1330,1396,1420,1472,1540,1554,1578,1592,1582,1594,1574,1558,1572,1550,1550,1454,1588,1792,1718],[397,549,504,490,482,378,365,374,377,368,372,415,384,307,278,272,259,234,244,244,254,328,385,363,390,370,394,456,508,495,481,479,465,370,293,272,264,270,279,306,309,276,342,619,922,1030,1104,808,569,505,654,638,868,1180,1252,1300,849,766,579,453,409,367,379,328,302,365,412,389,371,487,706,825,1138,979,911,783,910,1256,1236,1068,874,543,464,374,417,367,374,332,415,339,333,404,390,383,615,1048,659,515,648,1156,1250,1150,1226,1318,1434,1422,1196,1226,1216,885,666,781,880,1348,1794,1448,1192,1080,1076,1023,1456,1844,1816,1716,1708,1876,1670,1576,1710,1372,1096,660,626,731,628,751,947,1232,1009,629,688,510,459,536,809,874,899,984,1226,1432,1528,1328,1450,1646,1230,961,984,680,592,877,1266,1636,1340,1346,1546,1342,1356,1476,1362,1360,964,1330,1280,772,818,1266,1570,1278,742,612,867,678,512,623,576,498,515,815,659,444,595,405,406,402,656,1104,1118,1142,1330,1030,1216,1072,714,578,356,438,631,1002,1164,670,653,1044,1276,1100,1068,1096,979,783,823,573,465,458,430,416,444,484,481,514,488,449,419,391,363,436,777,982,918,931,1042,744,463,426,549,547,570,484,509,511,361,243,299,379,548,910,1108,755,610,809,690,519,717,808,951,1246,982,987,1090,1058,893,999,968,1264,1130,1262,1312,836,954,1344,1280,1266,1210,1098,1228,1136,1172,1006,1350,1340,1346,1384,1434,1302,1166,1362,1440,1448,1380,1178,1312,1015,1178,946,1212,1144,852,858,736,400,452,828,1010,911,952,1070,907,708,725,683,540,514,652,835,711,724,817,688,689,955,713,573,480,425,368,386,469,566,832,1080,1146,1056,672,893,1144,1204,1246,1412,1256,1072,733,445,445,810,1278,1026,860,530,414,509,579,496,492,698,859,1096,1378,1254,1130,1290,1212,1172,1176,878,920,1192,1224,1102,1290,1490,1324,1284,1436,1452,1450,1380,1244,1482,1428,919,885,953,593,393,397,412,437,347,623,797,735,678,715,805,969,890,939,1028,947,979,983,926,1064,1160,1292,1222,1190,1236,1154,1020,843,727,845,1015,1178,1360,1218,969,1078,692,770,975,1226,857,1172,1224,1228,1346,1366,1306,1360,1256,761,794,1220,1108,1011,966,849,755,751,739,473,415,653,1138,1290,1162,931,840,1052,1016,918,1176,1162,1290,1286,1164,1362,1494,1190,1142,1164,861,685,678,874,871,746,910,1009,577,553,1060,1222,819,332,216,239,424,775,1194,1272,1148,1108,1076,1312,1114,1112,1510,1378,1194,974,892,968,927,673,653,534,314,267,266,283,320,393,436,489,470,440,664,1170,1346,912,939,1340,1838,1530,1444,1322,1218,1108,990,1024,1324,1238,1158,1140,1044,1180,1146,750,864,1294,1300,713,477,514,521,693,952,875,894,1152,1244,1160,1016,1048,827,724,875,752,1032,1286,995,603,350,322,289,296,265,349,344,644,772,902,1040,902,817,1262,1394,1092,1304,1540,1500,1560,1664,1246,1310,1130,1178,1268,1082,987,964,1064,1090,1068,813,561,719,768,771,859,1102,1256,1228,1204,1482,1692,1538,1482,1492,1266,913,962,899,879,918,797,601,554,680,739,1026,1164,1228,1356,1288,1264,1270,1098,1102,1152,1238,1340,1268,1178,1009,773,706,661,919,875,1023,1092,1404,1542,1764,1478,920,876,863,869,1138,1224,949,583,402,382,464,540,853,1130,1218,1418,1378,1208,1310,1230,971,942,1160,1134,1086,702,830,910,833,897,780,846,1100,857,881,887,901,1080,1122,1136,1015,1072,1236,1198,1076,994,1026,1016,926,1338,1070,808,637,657,743,1024,1364,1182,1046,1312,1342,869,776,1290,1592,1538,1484,1412,1422,1300,982,684,559,828,1510,1406,1220,1184,1410,1730,1492,1438,1007,846,1122,1314,1376,1238,989,954,871,1136,1300,1094,1138,1216,924,719,982,1084,1152,1094,1116,1486,1216,952,1126,1036,933,860,706,619,636,670,635,845,921,843,578,438,378,321,320,328,314,319,328,331,458,725,658,423,319,354,644,935,696,433,384,349,386,459,536,455,377,359,360,375,337,372,401,441,426,406,426,419,416,430,410,498,1088,1860,1490,684,466,468,430,418,520,479,373,371,357,324,321,318,314,325,343,348,358,343,527,787,771,557,338,376,554,1000,814,578,415,377,328,310,335,364,376,385,369,370,347,326,325,332,284,260,258,276,267,265,283,285,297,309,309,318,318,324,314,335,338,340,342,326,326,295,247,274,282,288,294,373,344,325,329,328,315,294,285,345,454,683,1016,1108,1008,899,633,430,330,312,301,296,384,402,377,376,330,316,314,346,365,383,340,282,392,591,532,362,410,425,317,297,299,312,304,290,280,287,345,377,336,330,339,350,348,343,354,392,444,560,722,926,1206,1442,1586,1676,1690,1694,1620,1632,1518,1378,1224,1108,905,837,915,964,895,836,1036,1242,1190,1094,780,844,737,954,910,1458,1430,1230,1454,1330,1246,1300,1214,1214,1426,1300,1354,1368,1252,1246,1310,1416,1554,1332,908,844,619,731,1188,1262,1056,948,751,1098,1294,963,1004,1072,702,894,1146,1118,1054,641,884,1334,902,810,1023,1066,1122,841,880,941,966,1216,888,701,904,492,550,936,1406,1078,1015,1364,1680,1500,976,1048,1092,1021,1020,876,1284,1312,633,309,344,386,429,482,486,521,623,887,1310,1204,1122,1140,1400,1450,1374,1438,1296,1112,1250,1108,833,788,755,1023,1200,1340,1146,1262,813,293,272,305,302,347,555,667,946,921,839,740,1015,806,767,951,976,1106,820,678,972,1204,1386,1460,1190,1584,1182,812,1182,1226,1212,1106,677,459,451,589,625,549,831,1128,1098,695,372,295,415,852,1102,855,885,708,452,468,719,572,402,476,720,792,686,1003,1384,1128,1078,1216,1200,1282,1470,1168,1174,1448,1438,1014,1064,1368,1050,846,1009,1026,966,1066,1088,1032,841,1023,1082,1038,989,963,1202,1334,1554,1680,1194,680,445,448,843,1174,1220,1023,626,505,479,387,551,675,694,630,598,657,501,375,396,496,713,829,605,390,467,425,394,358,356,352,350,337,320,340,361,446,480,462,463,412,440,422,400,365,334,331,351,344,324,314,329,292,312,314,358,337,344,364,382,426,413,378,532,830,907,1154,1168,811,980,1486,907,502,391,330,351,366,419,413,353,354,350,368,346,346,323,315,311,359,343,313,334,341,337,356,366,337,438,521,494,438,356,368,360,323,313,326,344,381,481,550,472,374,323,343,450,404,320,288,274,247,406,664,597,379,434,842,1242,1500,1582,1380,872,690,835,1036,1146,885,602,709,598,612,620,525,515,585,614,716,710,584,547,476,551,481,408,537,565,498,423,352,414,449,324,346,373,318,319,288,271,310,405,335,308,327,306,353,429,436,448,434,447,571,568,402,385,579,700,686,593,456,475,526,575,632,557,489,562,642,551,412,380,495,529,502,511,513,552,501,370,322,363,471,639,593,564,512,715,994,836,579,529,553,562,551,559,855,1256,1260,1318,1240,1308,1162,1088,1272,1272,1230,1190,1220,1230,1258,1086,1462,1660,1200,1132,1412,1406,1300,1504,1504,1374,1180,919,1002,1094,731,464,796,945,929,984,982,1046,905,628,851,1182,902,982,1316,1182,987,1020,1404,1202,1128,1060,736,661,644,566,355,447,748,727,564,789,1882,1570,1102,976,951,1188,1294,1138,1476,1500,1256,1204,1240,984,623,566,742,1020,924,577,829,1026,783,673,960,861,531,631,655,642,563,509,741,921,857,996,1372,1614,1226,1348,1428,1408,1534,1472,1400,1054,1058,977,851,916,988,1286,988,787,954,1056,1566,1178,719,556,385,434,681,912,956,852,1238,1490,1362,777,469,761,890,925,879,883,891,669,675,861,714,437,531,780,862,765,1142,1190,838,1028,774,500,611,445,362,763,749,697,1050,1382,1386,1242,838,882,1094,1172,836,487,408,470,423,326,403,337,296,347,573,1078,1280,998,698,705,556,848,978,1148,806,991,1078,689,780,1142,1366,1298,1166,900,745,678,487,367,379,333,342,463,620,1700,1456,478,368,378,402,380,517,930,630,443,486,487,385,319,499,796,1018,938,680,613,458,514,532,603,562,572,575,589,593,546,495,495,496,543,505,441,411,788,1018,973,753,518,415,481,527,634,749,944,936,1122,1208,1206,1086,1106,1156,997,1000,1130,992,1066,1106,1058,1228,1290,1328,1368,1366,1376,1404,1378,1356,1354,1382,1378,1326,1310,1294,1274,1268,1274,1316,1334,1334,1334,1382,1488,1484,1460,1490,1546,1560,1584,1596,1612,1570,1528,1528,1506,1562,1576,1386,1404,1434,1298,1248,1162,1196,1192,1146,1072,957,899,910,800,906,1310,1352],[580,740,649,496,459,399,429,384,389,378,396,459,379,297,283,279,270,254,248,255,247,249,357,420,479,367,327,392,513,565,582,578,558,495,429,373,444,348,276,343,346,424,733,922,950,1020,1098,1078,1050,912,889,928,1102,941,1204,912,918,1230,892,541,397,352,339,345,356,391,410,375,354,451,669,1112,1142,952,979,916,991,918,1104,1008,665,339,319,317,305,275,343,379,412,361,359,465,460,408,508,966,617,424,521,1104,1306,1108,1030,1178,1296,1272,1328,1418,1060,728,902,1064,1228,1454,1328,830,595,698,1108,1312,1052,1088,1618,1712,1802,1832,1584,1412,1200,1009,1126,1072,1178,1290,1324,1066,506,687,614,991,889,604,698,772,730,943,1112,1108,1280,1224,1054,749,678,829,906,1042,871,781,912,944,924,973,678,881,1450,1130,752,982,1450,1686,1306,1136,954,784,1068,1716,1834,1412,963,810,1282,917,656,785,648,378,348,411,448,584,561,453,417,491,800,1242,1388,1148,1208,1160,1144,917,954,717,550,992,1306,1410,1222,763,686,1086,1224,1090,1256,2072,1720,849,559,365,384,411,418,454,425,472,478,461,430,404,376,346,322,460,722,996,912,1146,1042,917,768,625,510,495,504,495,498,395,360,289,283,430,911,1432,1064,590,842,1128,935,769,814,491,609,904,963,1084,906,1118,970,1024,1238,1374,1158,1328,1344,1030,932,906,1236,1144,1098,1162,1134,1172,1228,792,667,805,945,885,1042,1028,841,1344,1274,1060,1128,758,1010,1318,1338,1250,1450,1398,1094,693,467,328,418,477,616,610,778,880,609,704,714,394,500,681,1100,1134,888,1246,1656,996,674,1112,1018,747,606,465,425,427,549,671,883,730,969,802,783,1348,1302,1174,1368,1340,1224,1308,993,907,836,1146,1132,718,959,792,647,974,914,522,688,1112,1260,1432,1368,1258,1172,1328,1314,1180,1146,1072,1606,2050,1694,1332,1426,1654,1668,1512,1512,1412,1456,1538,1324,1568,1266,825,977,831,514,441,454,391,371,356,500,391,463,547,649,753,833,857,854,896,896,965,1190,1112,1202,1172,1126,1096,1134,1178,1252,1228,1106,1096,1140,1206,1220,1236,1026,1056,976,939,1128,1506,1470,1104,945,836,955,1214,1314,1186,1222,1174,1674,1706,1340,1180,1023,980,1028,915,844,896,878,477,694,874,1132,973,1126,1132,1132,1184,1216,1106,796,1088,1506,1376,1164,1158,1208,1096,1066,753,493,650,836,866,650,818,737,858,588,637,561,326,282,275,238,534,1062,1334,1282,1374,1560,1408,1322,1216,1638,1520,1082,816,1026,1172,1166,1302,1026,629,369,303,258,255,313,372,420,462,446,464,479,509,758,911,613,617,857,1570,1462,1354,1134,1126,1296,1234,1136,1176,1106,1124,1082,1058,1098,1070,928,1116,1316,850,566,788,973,1026,1072,996,697,745,1064,1038,1470,1372,779,480,703,845,868,1098,1194,1152,1056,650,498,405,344,386,524,625,968,1168,1080,1030,1044,1146,1112,1234,1300,1316,1254,1092,1124,1200,1424,1650,1194,1021,1328,1278,1021,799,810,1021,1038,866,510,484,541,553,698,1066,1252,1252,1214,1288,1538,1570,1816,1896,1532,1242,1202,1160,1132,993,894,763,652,794,953,1232,1344,1384,1288,1310,1306,1230,1306,1148,1136,1380,1504,1170,867,980,991,933,727,673,1023,1318,1526,1608,1502,1158,546,325,477,799,968,1172,1142,696,408,392,371,671,1116,1146,1072,1262,1406,1376,1240,984,881,1042,1104,1136,1100,1084,864,791,998,1122,983,852,990,1228,796,781,957,1030,1132,1086,1076,1094,1136,1168,1118,1042,1040,1206,1052,1064,1418,1252,940,792,743,720,1104,1272,972,938,1042,849,674,768,789,1340,1632,1680,1584,1522,1278,565,435,596,689,1500,1192,1194,1352,1426,1326,1208,1336,1186,971,1314,1474,1442,1272,1158,1106,1194,1504,1274,1028,1126,1192,982,1028,1278,1338,905,651,1138,1638,1148,874,983,838,947,1210,1190,898,656,799,886,1240,913,769,672,555,464,382,349,337,320,319,327,325,340,420,386,351,358,647,1056,749,448,397,343,388,545,636,584,458,390,353,350,368,354,381,411,466,461,406,393,381,377,387,406,436,759,1602,1776,986,460,440,444,415,413,404,392,378,349,356,333,340,334,349,349,345,343,327,410,557,508,375,344,356,434,915,1013,833,636,421,328,422,489,447,356,346,339,341,319,312,315,305,289,283,280,283,279,280,306,303,307,311,294,318,318,323,336,356,328,318,395,421,397,310,259,271,294,312,288,325,334,324,311,305,305,336,450,697,963,1074,1013,714,504,431,352,303,297,403,448,286,305,320,353,388,313,291,304,316,320,319,310,325,478,557,474,529,745,637,387,322,521,503,350,303,293,332,440,475,396,398,377,348,366,443,562,760,1012,1272,1466,1592,1698,1714,1650,1566,1494,1340,1158,988,821,742,738,784,725,680,771,847,666,534,642,1094,1088,1028,1046,1278,1092,1017,952,937,957,1228,1350,1354,1440,1272,1252,1428,1330,1222,1306,998,708,832,1050,1354,1382,1166,993,1032,511,670,1296,1248,1052,1016,921,1110,1250,947,916,989,818,1018,889,963,1240,1009,1172,1224,761,668,760,872,1062,794,719,766,921,1180,883,780,743,392,360,495,469,512,952,1522,1854,1590,896,957,1102,934,910,738,1038,1086,545,311,347,439,401,444,477,448,405,672,906,1368,1576,1350,1388,1404,1510,1520,1004,553,618,695,698,586,462,524,1216,1640,1322,1086,957,447,338,321,338,444,880,712,735,689,654,709,930,792,472,556,806,1188,957,1046,1136,1144,1148,1026,999,1050,871,932,1084,1238,1007,753,488,503,505,592,638,735,1009,1250,1378,1030,530,377,336,529,742,525,411,416,471,702,873,700,476,519,773,868,969,1208,1478,1434,1278,1208,1080,1210,1168,1036,1174,1148,1086,1166,1284,1726,1698,1354,1378,1192,1152,1198,1366,1376,1172,1150,1332,1482,1300,958,866,1150,1528,1698,1372,821,528,444,613,1118,1532,1048,582,462,428,502,722,602,452,407,464,514,403,359,381,465,760,915,547,401,392,428,403,362,354,344,349,339,325,343,378,449,425,535,543,502,451,403,409,390,413,539,573,433,411,362,356,300,318,324,361,388,386,356,342,369,387,389,498,743,905,1590,1714,1092,1426,1416,660,473,496,425,400,429,440,395,412,372,365,370,354,361,337,325,313,329,351,349,375,360,409,385,361,315,373,411,413,483,480,420,403,368,377,375,389,516,487,430,379,352,339,478,599,474,355,292,254,265,286,430,576,581,810,976,1244,1396,1248,1122,880,927,1068,1174,1244,1026,709,813,1080,1038,910,882,1014,1224,1348,1274,919,473,447,422,485,589,480,402,420,582,521,401,469,461,302,243,215,242,231,223,224,287,360,320,298,322,298,332,404,431,480,530,579,522,495,447,466,797,801,649,613,636,656,703,600,481,357,347,390,516,537,471,484,536,549,550,536,466,356,340,304,285,326,370,369,332,332,394,558,625,541,458,343,394,492,551,555,819,1122,1154,1208,1340,1554,1356,1218,1264,1322,1162,1168,1058,1134,1168,1072,1216,1178,1246,1202,1274,1452,1372,1306,1378,1232,877,666,693,559,484,479,725,1076,1130,1078,1005,808,797,828,1158,1276,951,1122,1166,957,854,1242,1446,1310,1162,987,876,559,534,494,370,383,404,444,508,906,1450,1184,807,743,1094,1598,1344,1322,1878,1574,1252,1048,1122,1038,870,686,771,973,700,685,1036,927,643,813,1236,909,521,597,600,407,365,453,529,441,494,893,1162,1286,1266,1364,1448,1534,1362,1322,1388,1218,1058,816,885,904,983,1040,1196,1266,1234,1152,1484,1222,906,736,450,794,1224,987,1060,741,1030,1302,1018,528,515,794,896,752,848,1070,1040,818,886,1100,927,418,330,449,458,641,1318,1058,647,719,619,565,621,458,408,821,582,523,880,928,1454,1588,971,995,929,817,561,439,336,385,374,352,380,395,551,816,1168,1390,1270,1098,713,856,737,1468,1350,991,563,639,753,675,659,880,1278,1336,1300,993,545,415,356,347,324,288,321,411,533,940,896,388,382,390,414,457,591,1372,1106,530,423,446,428,323,395,733,1000,927,670,548,458,480,625,691,610,583,613,602,554,521,487,595,647,678,556,618,523,546,653,760,703,681,454,540,632,838,619,749,1030,1186,1038,1042,1114,1174,1136,974,840,789,1040,1136,1042,1132,1148,1060,1166,1132,1108,1248,1272,1278,1334,1316,1254,1236,1336,1372,1364,1322,1366,1404,1382,1346,1328,1346,1366,1342,1274,1330,1332,1248,1218,1190,1100,1096,1096,1066,1021,875,822,823,823,811,794,675,571,557,711,855,872,769,703,799,740,637,683,1006,1390],[703,616,577,506,422,435,394,366,384,476,456,396,343,308,288,283,282,270,260,246,246,285,333,386,442,445,411,396,441,544,584,644,644,577,576,563,651,622,458,378,466,612,916,1204,1120,973,1140,1364,1274,1042,918,1210,931,1104,1094,965,1128,921,629,565,753,630,473,391,357,365,410,420,429,421,594,1072,999,631,597,1024,1368,861,601,514,410,379,324,279,290,303,314,346,402,475,528,529,596,535,523,807,614,462,619,869,1068,1172,1194,1218,1246,1382,1408,1272,929,1068,1262,1236,1464,1516,1324,1168,817,575,785,914,661,480,719,1015,1366,1598,1526,1390,1158,1366,1592,1300,1084,1050,1172,1026,749,771,833,852,815,859,815,813,835,1204,1224,1196,1246,1272,726,480,390,438,527,926,814,877,1110,902,838,790,418,450,791,1001,936,813,1462,1432,831,662,740,871,1074,1280,1418,1222,935,625,758,868,886,1184,1096,656,332,372,461,571,578,590,744,940,1013,967,1184,1166,1070,1200,1046,983,1320,1360,1230,1172,946,1021,986,846,853,1342,1042,905,1184,1426,1172,767,604,467,384,424,424,428,431,441,461,441,400,374,371,414,597,910,950,960,773,1094,1184,1256,1342,933,621,634,544,455,388,346,331,408,585,700,1032,1302,819,602,1032,1272,1016,1096,1096,717,630,823,1200,990,1074,1282,919,830,938,887,1088,1290,1156,1046,893,903,749,557,566,1023,962,979,1012,803,583,542,471,500,1122,1013,899,845,684,791,763,516,808,1196,1042,1180,1432,1352,1294,1150,666,527,702,662,779,1036,1166,1032,970,1158,1082,844,758,810,1388,1194,1050,1240,1534,1082,724,980,980,898,796,500,358,473,832,824,1004,1230,1244,911,854,1006,1003,1104,1118,1050,963,1048,1042,1006,801,955,855,875,921,674,886,1300,1262,1016,1082,1216,1178,1426,1350,1186,1244,1422,1362,1230,1290,1362,1478,1354,1190,1084,1198,1378,1258,1128,1408,1532,1282,1094,1128,1322,1238,1228,1028,800,528,547,439,398,394,401,452,384,301,355,559,829,893,974,1038,1088,1092,997,1266,1270,1230,1126,924,880,1066,958,1020,1250,1282,1380,1522,1428,1380,1092,1094,1264,1232,1154,1296,1620,1362,1136,938,949,1246,1278,1182,1292,1324,1346,1694,1494,1284,1090,1042,1206,950,1034,868,916,996,546,475,667,1122,890,395,423,871,1310,1013,478,389,648,1474,1394,1064,871,996,959,934,752,489,477,710,866,584,633,670,959,710,601,576,440,381,274,639,1388,1296,1416,1480,1542,1598,1340,1426,1486,1410,1288,1124,762,719,922,1320,1078,709,430,350,336,305,296,292,303,386,442,427,464,479,528,845,938,606,509,783,1278,1316,1180,1023,1096,1374,1368,1026,921,973,1176,1170,1054,1338,1310,1180,1372,1270,859,763,674,864,1110,1054,999,729,802,802,700,1332,1556,938,656,856,800,775,1036,1042,1174,1384,1007,849,844,758,874,1007,1150,1152,1030,1068,999,957,1240,1338,1390,1374,1226,988,1034,1266,1300,1226,1306,1178,1152,1386,1262,1310,1011,819,894,895,955,601,414,476,518,775,1064,1104,1302,1110,949,1376,1656,1686,1418,1376,1382,1272,1300,1514,1356,1144,915,752,959,1112,1328,1390,1318,1188,1130,1172,1278,1142,883,1064,1378,1288,1036,889,1068,1274,1080,790,628,935,1404,1498,1396,1270,963,553,702,546,539,574,847,1011,696,510,538,432,655,1058,1092,1011,1090,1052,1534,1456,846,558,492,612,755,785,1044,1166,1040,993,1094,897,888,1076,1232,1026,978,941,974,1042,1100,1106,1070,1172,1312,985,789,885,1390,1302,1186,1382,1280,1056,1034,962,782,910,833,1002,879,617,403,547,932,792,1050,1426,1494,1590,1556,1224,547,766,956,645,849,1252,1462,1428,1136,713,647,868,1106,1254,1404,1310,1272,1640,1412,1160,1260,1288,924,722,1000,1212,1262,1222,1096,1288,1050,1266,1204,1310,1284,1234,1198,1166,1124,1130,1224,982,860,1066,1152,1552,1296,758,601,675,570,407,344,334,326,316,314,331,340,449,558,471,546,1108,937,465,388,382,354,502,856,725,477,411,366,343,349,333,337,369,383,415,444,404,398,419,399,422,453,459,581,1316,1866,1338,592,468,458,398,401,419,426,407,404,449,360,289,302,304,323,334,315,300,349,442,458,371,352,368,326,475,578,661,773,603,461,648,572,403,347,340,329,333,311,314,314,289,295,296,284,278,286,297,310,310,302,286,289,322,310,320,328,301,276,314,368,366,407,324,297,294,287,305,303,281,326,412,528,611,603,635,887,1086,1120,898,527,330,315,307,316,297,299,348,346,392,351,302,332,343,321,376,388,340,342,351,378,496,848,803,731,755,905,774,443,352,461,420,352,317,336,371,396,357,350,384,448,666,977,1284,1536,1688,1748,1738,1580,1502,1462,1324,1106,937,791,603,623,599,564,614,742,822,854,741,753,912,993,755,548,650,821,906,1190,1370,1026,869,944,753,875,1136,1212,1212,1250,960,1050,1134,830,565,622,541,459,747,1204,1150,884,720,1122,1216,786,818,1206,1422,1268,1228,1160,1048,1252,1302,1130,1186,1124,1180,1038,1216,1304,1206,1294,1242,927,784,955,1186,1278,942,973,1003,1088,1082,739,652,488,333,454,594,523,557,1142,1248,1302,1378,872,780,725,735,695,539,641,733,472,341,317,332,310,379,433,631,689,758,615,1382,1904,1390,1360,1422,1440,1380,709,487,456,485,677,555,426,593,1054,1284,1066,919,1130,580,363,310,383,447,600,611,594,651,1206,1310,954,820,601,572,673,590,743,1166,926,724,683,521,525,521,390,415,987,1590,1011,876,569,683,735,584,449,672,810,1040,1456,1396,1013,602,476,447,422,478,761,1170,1160,1036,1166,1178,780,760,822,830,900,900,1108,1484,1318,1142,1240,1232,1158,1021,937,892,1188,1636,1576,1616,1698,1410,1418,1390,1252,1322,1602,1676,1454,1314,1394,1392,1536,1188,757,1124,1562,1680,1530,1236,986,625,461,949,1346,758,637,635,537,764,918,532,300,337,342,335,337,367,408,481,637,653,449,414,415,404,359,348,339,343,354,365,348,340,331,467,542,648,644,594,463,381,407,444,521,618,585,476,417,362,332,297,326,357,399,425,390,355,340,351,360,378,401,473,583,1218,1262,1190,1576,1168,511,609,749,587,466,657,548,428,437,372,349,349,360,373,377,323,298,332,370,359,352,320,412,419,370,310,285,375,574,763,805,777,647,524,554,502,452,518,390,346,352,362,401,530,468,435,473,347,240,250,271,422,705,897,814,836,1240,1266,1278,1304,1166,1198,1140,1202,1054,854,999,1052,1002,1066,1296,1362,1322,1422,1392,1506,1296,518,369,320,390,681,711,720,944,870,558,497,472,427,288,248,242,272,269,258,264,336,394,379,309,304,320,322,313,369,439,459,617,805,628,427,434,479,560,644,645,955,1066,923,676,740,644,538,566,523,509,495,457,524,594,633,595,460,352,340,297,245,285,352,344,336,347,368,375,363,399,389,267,295,330,545,484,692,1011,1086,1082,1274,1510,1566,1482,1130,1036,911,1050,850,1007,999,1068,1001,820,850,906,1104,1374,1312,1146,1302,1252,700,529,516,511,670,705,901,1260,1316,1184,1011,767,676,659,625,648,817,860,946,746,836,1300,1260,1026,1015,1664,1638,673,467,385,373,433,591,697,576,658,749,636,783,826,891,1042,997,1058,1380,1418,1282,1240,1208,783,478,548,787,818,752,660,640,1019,889,746,686,761,840,945,756,407,347,430,455,518,478,491,533,710,1154,1160,1023,1216,1242,1194,1062,727,547,636,972,919,1188,1078,1340,1424,1188,1134,1068,833,667,737,933,1410,1440,930,823,995,1354,1284,634,435,433,648,738,791,1460,1318,1009,713,520,617,661,407,241,554,691,933,1316,719,902,970,1009,660,461,396,478,486,339,393,608,904,1302,1114,572,505,458,516,493,467,684,872,631,433,509,827,1138,1116,1334,1144,894,1074,745,713,1048,1390,1190,788,461,537,637,876,1004,687,975,1390,1196,1070,623,368,329,351,340,336,346,401,575,827,744,433,409,437,481,531,916,2076,1648,667,459,448,453,372,474,646,735,741,594,445,484,606,674,625,576,594,601,594,532,499,477,581,634,737,767,804,592,417,897,1218,626,749,657,791,979,1056,701,535,540,688,755,699,665,835,1024,1070,1076,875,976,943,995,962,907,1014,1070,1058,1194,1122,1126,1162,1090,1054,1020,1060,1110,1012,967,1054,1122,1028,975,959,891,973,956,844,809,1022,1082,814,683,679,668,692,736,747,637,655,722,695,873,1021,938,880,699,509,547,631,850,1098,1804,1370,972,882,962,1042,1386],[607,445,434,401,345,382,538,494,387,494,465,403,362,317,287,292,296,278,264,246,244,260,288,373,453,451,472,440,376,459,536,611,633,623,607,593,650,617,469,404,649,1011,1009,996,1150,1192,981,1088,890,828,1094,1318,990,888,802,1034,1001,564,514,849,1086,974,832,588,483,535,567,493,410,502,769,918,948,703,513,1004,1490,1110,498,408,397,355,321,309,303,358,675,970,1118,1108,1360,893,979,990,692,663,653,695,794,811,872,1380,1470,1288,1066,1200,1426,1124,1116,1190,1038,1146,1278,1108,1204,1068,625,391,414,391,374,335,315,396,682,1168,1530,1538,1176,1021,991,775,603,547,547,758,952,830,683,405,573,625,462,531,821,1116,1168,1188,1026,1306,733,429,421,429,479,527,663,1062,1013,611,639,691,628,791,778,787,647,845,1004,726,558,808,1460,1796,1448,1170,1160,1208,1624,1050,952,1104,924,895,1218,974,440,407,402,423,473,662,936,1372,1190,907,1090,1192,1116,1038,1074,1154,1450,1708,1302,1108,821,796,750,778,858,733,404,554,1064,1310,938,706,692,602,386,391,400,374,378,412,472,483,408,381,383,448,544,927,880,663,1278,2082,1842,1604,1324,802,974,849,543,393,274,299,344,508,730,762,784,668,594,634,760,698,685,917,930,1042,1154,836,764,1028,1202,1154,830,547,455,725,1150,1384,1234,1284,1058,1096,691,415,407,555,542,673,946,887,637,946,858,821,1372,890,738,845,871,1192,1282,835,930,1296,1202,1436,1362,1122,1140,1112,1024,761,781,907,1130,1488,1440,1350,1284,1064,1010,916,543,672,1042,1200,1276,926,1214,1300,938,818,771,1046,1262,1074,816,770,1088,938,1001,1244,1260,1116,989,764,714,996,1036,1372,1224,1084,1074,968,767,912,1096,1240,1234,1286,1186,999,867,1244,1298,1248,1062,1292,1336,1256,1330,1546,1406,1266,1134,1042,1162,1172,1106,979,1310,1564,1250,1144,1204,1054,1017,1102,965,1196,1034,867,865,749,574,496,566,550,528,476,541,633,370,502,955,1092,767,665,1122,1278,1316,1086,1126,1152,879,859,916,1166,1192,953,944,1140,1034,1160,1420,1542,1654,1596,1336,1306,1326,861,885,1130,1114,1114,1118,1242,1300,1124,1138,1052,1034,1154,976,1236,1296,1130,1028,1036,990,1072,857,866,966,865,622,590,763,712,611,481,738,985,590,412,397,360,957,1224,752,564,764,802,983,1262,1058,645,1086,1196,937,1078,845,996,1078,988,940,522,361,245,465,1076,1286,1520,1654,1522,1320,1208,1142,1236,1318,1498,1312,960,1072,669,754,624,443,376,350,347,329,344,349,368,381,443,450,488,475,543,745,777,757,681,965,1066,1054,1212,977,1090,1354,1019,760,895,1186,1428,1074,1188,1392,1162,1078,1280,1068,820,1104,1370,935,1002,1136,965,920,1078,1098,1168,1416,1326,906,877,987,1266,870,841,1036,1118,1078,1036,1122,1001,924,1028,1094,1096,786,603,516,717,1210,1636,1416,1246,1218,1194,1204,1262,1362,1302,1286,1344,1164,1198,1530,1408,1114,1102,1164,1062,795,664,703,677,521,534,611,797,771,743,666,758,1142,1604,1638,1404,1206,953,814,1003,1404,1342,1106,960,811,817,973,1206,1250,1130,933,930,1220,1322,1228,1148,1274,1538,1224,1017,1172,1200,944,831,987,1006,1114,1044,816,849,860,772,667,637,457,467,475,700,1001,1094,1194,1074,689,536,767,913,1244,1054,631,813,1052,791,534,760,919,692,590,778,1004,818,780,891,818,911,1140,1222,1332,1282,1028,1028,1054,1182,957,902,1168,1374,1168,1258,1032,1184,1258,1320,1494,1466,1370,1322,1096,1078,1092,836,711,947,683,387,445,469,430,609,717,801,1312,1428,1282,1152,1370,997,553,761,1032,790,814,832,454,556,947,894,1114,1120,1074,1372,1510,1230,1010,770,1028,1096,645,687,993,1116,1210,1184,1028,1064,1482,1294,947,1076,1130,941,904,832,815,1044,965,1030,1136,1644,1726,1406,962,616,619,606,486,373,345,303,294,314,327,359,766,940,737,1066,1058,478,397,377,358,362,622,892,565,381,381,358,343,326,317,340,333,374,404,406,410,428,394,415,415,415,451,467,903,1672,1624,811,461,426,379,336,375,437,451,451,441,375,318,289,295,336,355,318,282,329,392,446,349,312,314,326,363,349,492,777,624,511,681,489,413,412,426,435,365,327,316,303,286,290,274,273,277,280,279,274,287,277,289,332,348,347,336,269,280,311,325,333,408,383,332,317,289,297,327,310,337,580,824,1016,1076,1056,1092,1072,951,697,428,308,390,451,444,362,302,282,293,339,560,509,369,296,303,359,447,467,377,339,397,432,437,654,677,559,525,583,497,336,338,336,314,316,361,359,392,461,605,916,1246,1524,1740,1814,1760,1650,1576,1558,1442,1172,1026,883,681,530,450,412,381,422,464,478,556,655,734,866,951,1270,1346,1418,1176,930,824,726,739,991,991,912,1042,1116,1202,1044,1017,1038,1106,1106,1017,868,622,608,743,720,451,445,669,1144,1062,1148,1172,1226,1252,1108,794,1228,1832,1450,1220,1334,1216,1174,1300,1226,1186,1126,1132,1206,1566,1462,1058,996,951,569,720,1298,1358,1314,930,929,1066,1142,1156,770,486,400,433,561,594,451,471,929,916,1286,1422,930,561,505,567,604,553,503,590,571,397,340,357,336,372,446,834,778,514,522,945,1144,1260,1330,967,766,653,570,553,531,581,530,379,434,875,1112,1296,1294,1009,1002,667,405,378,409,491,880,1274,1100,1230,1598,1600,1240,926,676,785,561,327,480,633,471,700,945,713,591,617,532,580,948,1176,821,760,686,908,1034,702,429,457,502,867,1124,1302,1278,1176,659,444,697,1072,1434,1648,1516,1190,972,930,1112,1056,888,1072,1180,1086,1032,1318,1356,1418,1494,1202,958,1020,1174,1076,1306,1296,1252,1558,1746,1608,1562,1432,1212,1248,1376,1380,1288,1432,1546,1474,1452,1172,849,1118,1502,1564,1450,1306,1236,991,577,694,1028,1122,963,810,771,714,606,473,341,331,328,330,337,346,400,438,588,521,450,483,462,345,346,336,313,334,355,360,338,338,325,414,529,565,520,493,420,345,397,511,589,589,571,435,410,411,367,359,404,408,389,363,315,328,357,360,339,373,415,411,413,539,774,1306,1538,798,541,605,538,452,407,651,576,482,431,355,302,315,304,332,393,349,323,293,271,267,302,309,414,425,335,305,428,628,720,731,691,628,618,516,454,397,372,319,325,352,379,371,474,720,540,736,757,516,270,252,312,374,488,621,661,922,1290,1230,1202,1178,1286,1156,1090,1062,1144,1180,1232,1326,1210,1278,1748,1672,953,786,630,1260,1476,676,361,376,372,456,536,799,1020,612,573,706,565,560,408,279,248,278,292,282,296,355,396,360,316,330,341,301,269,411,447,361,474,928,828,440,396,378,579,887,910,1300,1386,1164,1142,1604,1344,1020,866,496,413,419,539,597,618,554,578,453,364,365,342,296,325,363,376,365,358,378,430,376,356,420,371,321,300,337,348,761,1110,1074,871,875,1384,1436,1340,727,674,1088,1234,1218,1124,736,723,1084,984,904,933,680,1001,1300,1136,1162,1338,906,630,727,907,1064,1214,1240,1190,1268,1280,933,758,497,431,417,553,795,933,1278,1358,914,816,774,1021,1096,1328,1148,738,611,451,389,472,783,1072,944,680,767,764,772,1100,998,631,715,783,713,780,1122,1300,1274,1060,983,1052,988,860,1023,1018,674,1068,1358,1180,1026,1208,1262,1164,907,512,434,390,365,953,814,739,626,1006,1450,1116,885,1130,1050,952,548,392,590,523,715,898,1266,1248,1318,1140,1094,1244,907,1005,729,971,1452,1382,927,944,1172,1028,1008,807,443,388,388,583,484,549,1013,957,998,999,861,597,401,354,309,313,508,982,1050,501,898,1003,1066,780,486,501,1054,1062,529,394,434,764,1134,792,533,490,507,652,650,652,979,1380,1236,700,735,1216,1002,716,758,1001,1100,869,568,458,872,1222,1390,1174,645,766,949,1328,1482,1132,1066,991,932,988,811,600,564,733,820,673,816,644,583,626,550,564,612,627,629,703,939,1118,850,548,487,642,704,617,667,574,665,557,433,491,573,611,610,519,527,565,575,571,511,460,461,512,535,557,689,678,450,406,576,771,591,609,899,988,899,736,642,573,492,752,1010,808,724,781,795,777,848,776,756,931,927,971,1064,1012,978,906,883,857,1038,1154,1034,941,1019,955,860,844,800,855,865,805,811,711,531,587,642,695,747,1074,1062,679,628,521,466,418,563,929,1112,1260,1068,699,1176,1422,1106,1032,812,740,879,922,914,836,1914,1488,1070,661,805,807,881],[568,457,487,440,422,596,1240,914,449,432,423,382,358,315,283,298,305,289,272,256,257,237,379,549,460,383,376,454,400,336,397,449,439,482,599,582,563,491,391,508,901,1202,1320,1242,1184,1200,921,985,916,623,978,1154,931,763,778,922,677,518,662,1144,1013,893,921,617,338,398,399,371,396,543,908,1066,1023,822,550,919,1250,1064,621,433,359,315,356,455,405,437,800,976,1184,1210,1658,1021,985,1058,960,909,867,1013,903,766,738,1086,1354,1572,1142,1056,1246,1428,1364,1166,973,813,852,923,828,561,488,334,282,275,264,266,302,350,470,692,1176,1516,1404,829,830,586,480,543,404,596,971,1262,958,383,399,509,514,675,828,818,1304,1458,1248,1104,608,394,448,541,535,411,534,724,797,653,579,628,787,946,966,893,995,1038,749,596,686,838,1704,2480,2192,1628,1300,1074,1344,1404,1262,1128,980,1202,1068,796,526,521,591,703,715,907,1290,1504,1130,972,1026,1046,1015,916,1152,1152,1012,1102,968,1256,1346,1018,828,769,780,730,659,550,818,937,872,689,622,541,452,402,408,417,398,432,481,490,402,524,588,821,797,804,768,634,1076,1360,1290,1506,1028,842,871,787,461,339,327,395,372,451,564,678,643,408,495,586,658,869,769,900,1038,1196,1292,952,936,1134,922,828,695,706,1060,1216,1388,1476,1322,1216,848,593,443,357,374,411,408,644,1166,1098,738,1005,1168,1482,1536,1136,1046,1092,1021,939,825,924,1244,1192,1212,1270,1298,860,870,875,967,778,556,646,980,1312,1304,1342,1222,1150,1222,890,769,680,599,1072,1520,1372,1208,1220,1026,642,683,1164,1526,1318,1124,1290,1202,758,727,1020,1028,944,1074,1078,1094,1040,1322,1962,1374,1072,925,771,566,684,1002,1178,1106,1404,1140,952,1128,1272,1272,1230,1178,1280,1238,1162,1354,1352,1340,1368,1078,1062,1230,1460,1314,1230,1332,1382,1614,1404,987,855,1246,1052,786,1128,1320,944,665,589,813,1002,995,804,665,599,663,749,633,850,1470,1428,818,612,1106,1594,1764,1382,1090,1032,885,793,996,1290,1076,1034,1134,1050,894,930,1182,1294,1410,1580,1578,1710,1614,1166,739,717,893,1242,1288,1486,1468,1164,1354,1522,1116,902,1019,1076,1152,1218,1114,1070,1214,1114,897,651,594,768,712,571,609,748,880,781,979,923,656,474,398,357,504,689,631,549,821,910,915,1366,1410,1186,1058,682,733,976,689,737,1288,1372,1108,774,480,313,313,711,1190,1396,1262,1158,1422,1220,785,1108,1440,1470,1160,894,904,550,472,561,562,415,355,355,347,367,451,539,466,395,424,458,469,692,745,514,524,956,1422,1184,1628,1450,1001,1092,1202,915,853,977,1230,1134,1080,1254,1196,1366,1508,1574,1196,865,929,1178,1062,1014,1126,886,798,1064,1222,1082,1016,908,699,688,968,1312,906,648,842,1004,1062,1144,1196,1296,1216,914,883,832,551,370,597,791,995,1340,1202,1188,1376,1482,1580,1298,1200,1376,1322,1456,1162,1046,1310,1416,1040,959,1162,1112,901,1013,1040,710,519,526,603,971,736,536,626,800,990,1340,1640,1362,1172,921,681,824,1242,1502,1390,1194,1070,1056,955,1062,1114,1023,871,854,891,1054,1228,1256,1172,1108,975,899,1044,1240,1106,962,1200,1108,1038,555,584,505,483,659,666,959,1092,574,485,713,861,1094,1256,1344,791,460,594,755,1124,988,608,523,893,850,586,915,1124,766,686,701,851,947,983,1294,1356,1226,1132,1023,1242,1306,1278,1224,1310,1222,1070,1050,1162,1124,1134,1028,673,755,1150,1480,1440,1500,1332,1262,976,1152,1334,935,606,724,525,396,372,302,322,364,361,504,1098,846,1086,1582,1544,1278,1000,711,753,649,429,408,590,867,893,888,1094,980,959,1340,1412,1246,852,572,1180,1238,666,524,618,875,1414,1344,1210,1432,1486,1252,1078,1246,1216,1004,839,763,926,1252,1346,1206,1178,1388,1282,1170,908,576,513,690,714,498,353,322,303,317,358,463,853,1026,1136,1122,602,402,359,472,545,505,779,834,511,386,395,368,329,353,365,333,336,372,372,387,403,387,369,366,357,377,418,433,645,1392,1808,1130,527,401,375,333,400,430,449,455,406,359,380,358,322,333,354,372,333,307,310,294,297,312,304,314,331,334,367,470,533,502,590,480,376,360,454,463,424,474,569,448,316,302,261,279,292,274,273,299,301,289,320,359,361,359,330,253,278,324,311,297,324,321,309,300,292,323,325,421,761,1005,1060,987,856,771,722,659,516,365,348,397,460,443,461,369,307,278,293,358,420,543,505,359,397,455,390,419,417,380,396,415,455,650,513,356,379,432,463,379,403,428,446,456,646,832,1048,1208,1406,1688,1814,1672,1478,1462,1416,1318,1168,1009,840,612,501,426,374,365,369,381,380,360,410,595,771,672,755,736,1154,1376,1302,1418,1552,1316,1052,870,739,700,893,1144,1334,1396,1182,1005,1260,1356,1266,1224,1282,1162,1182,1194,1270,1166,616,888,814,744,805,1100,1154,953,1086,1262,1116,1298,1404,1092,933,1346,1380,1246,1256,1288,1384,1076,823,1288,1418,1146,1098,931,1050,676,821,1260,1450,1694,1288,1238,1178,1130,1310,898,985,564,418,428,549,519,536,901,1060,1244,1322,860,445,430,512,498,526,552,517,518,423,330,329,361,341,394,451,514,741,532,799,1086,1214,930,725,1094,919,797,1160,1482,1124,909,849,667,1064,1008,1184,1432,1126,875,787,830,945,912,893,1426,1382,1332,1120,1186,1308,1044,722,700,1018,800,461,617,953,1176,1474,1302,1194,1226,1340,822,622,717,683,581,587,680,925,974,609,492,598,683,1050,1174,857,760,791,569,741,1010,927,822,905,1106,1144,1030,1266,1560,1280,1162,1630,1704,1294,834,962,1322,1188,1274,1460,1380,1082,1166,1054,815,891,1294,1514,1694,1750,1682,1426,1256,1072,1050,1248,1372,1318,1228,1218,1180,1152,990,1068,1384,1412,1346,1406,1404,1182,811,820,1120,1268,1168,877,820,778,508,432,354,344,314,325,323,324,408,500,649,706,646,633,579,339,345,336,312,329,357,361,355,348,318,337,434,525,474,417,354,342,385,505,575,718,582,437,467,398,364,409,454,410,390,363,354,357,380,379,377,406,441,414,405,444,657,1306,1332,643,647,611,390,389,380,512,506,431,456,510,480,349,322,321,351,427,441,361,358,349,300,273,345,392,416,495,502,401,371,478,553,570,566,431,343,351,340,336,329,364,448,429,449,815,1212,1266,955,709,424,270,279,337,381,521,766,1090,1372,1400,1300,1382,1538,1206,1016,1023,1006,860,991,1212,1202,1168,1748,1750,1196,862,908,1324,1460,890,438,384,401,451,442,537,780,579,503,518,446,485,425,338,317,301,281,293,334,428,450,363,347,330,335,342,336,484,738,924,837,974,911,590,427,383,451,652,735,959,1210,1318,1486,1698,1348,1064,824,342,333,426,522,495,541,502,561,559,530,526,392,283,337,390,389,359,426,404,487,407,415,497,431,331,301,283,456,794,929,1174,691,565,1262,1320,1200,858,1142,1486,1324,1166,1004,612,612,1166,1074,1016,950,841,1212,1270,1212,1188,1318,1188,913,994,1144,1152,1462,1360,1116,1190,1130,1082,766,469,465,393,546,886,1186,1840,1742,819,746,1316,1496,928,620,566,594,564,498,450,735,1532,1584,1034,986,679,487,691,1250,1094,727,732,860,650,764,1230,1138,1010,836,1392,1304,772,915,1406,1076,722,1230,1520,881,869,1266,1386,1186,987,922,745,639,794,1062,1122,1366,1236,1282,1466,1236,1188,940,820,733,482,323,554,555,547,619,976,1432,1354,1038,946,732,570,744,845,786,1198,1274,1017,957,1001,803,733,733,581,507,556,718,475,411,476,508,775,1046,1054,806,558,426,339,415,722,762,587,650,974,1144,1430,1476,921,1062,1490,1052,474,393,359,532,816,703,796,774,662,697,790,801,1028,1410,1200,796,980,1266,609,400,440,737,861,544,482,579,741,1186,1294,1015,615,828,1128,1074,1122,1070,1072,836,951,1158,913,723,594,1136,1556,1182,1084,890,544,426,409,392,365,399,567,729,651,561,533,438,457,642,969,1030,1012,822,708,538,439,567,675,598,574,504,568,591,576,531,525,508,514,522,502,463,452,391,416,450,518,790,607,438,729,785,638,475,637,907,888,1012,1062,628,695,656,593,554,524,498,618,695,602,586,569,655,703,608,563,648,850,868,776,811,750,598,523,495,544,614,745,657,538,492,521,581,574,509,541,826,1013,987,880,476,358,350,547,1190,1518,1528,1480,1334,1470,1678,1538,765,472,711,919,944,857,805,1526,1396,886,847,1020,975,636],[604,626,645,558,499,498,536,525,516,420,420,382,350,317,299,303,305,291,280,254,258,252,347,448,399,441,372,440,394,307,301,324,346,371,457,522,555,481,442,648,933,833,1001,973,913,836,785,1144,982,563,1001,1200,758,555,750,842,622,548,683,1012,919,694,687,419,198,239,304,397,472,549,809,843,868,789,543,688,1130,1206,834,455,347,308,321,461,515,482,443,643,1048,1096,1158,1050,807,690,689,786,863,999,1056,1032,765,1152,1372,1434,1128,1072,1440,1586,1282,1112,1216,1000,951,1132,683,345,338,325,317,319,315,303,317,403,530,960,1250,1252,1566,1512,1182,755,647,630,408,506,944,1226,930,537,521,694,834,819,879,736,875,1036,1054,811,529,606,802,831,918,880,783,1058,1220,991,777,1142,1384,1066,935,1492,1814,1434,1160,930,1005,760,937,1292,1086,1180,1384,1170,1106,1028,1096,990,855,1098,1186,1008,799,1064,1180,1280,1126,890,1023,1010,894,837,947,1120,1152,1058,1208,1142,860,686,658,1058,1288,1136,990,641,819,1140,1088,601,620,805,825,662,498,455,467,386,361,390,460,434,428,499,503,530,690,1054,859,815,1086,919,976,1188,1474,1520,1028,842,687,573,389,296,333,390,350,378,421,514,585,493,513,626,551,809,653,811,1128,1062,1158,1272,976,897,857,769,608,996,1516,1300,1048,1138,1100,906,611,390,488,549,705,1058,1021,886,1224,1290,1306,1186,1366,1634,1500,1368,1166,901,642,502,665,1270,1300,809,877,940,1106,960,718,766,1172,985,845,530,756,1100,1360,1112,1338,1528,1216,972,1020,811,730,1138,1454,1324,1234,1232,958,962,1038,1168,1108,980,885,1086,1186,796,714,1050,1042,992,888,904,1476,1238,1280,1536,1478,1110,886,645,570,753,1140,1334,1402,1718,1236,1074,1312,1410,1376,1332,1248,966,755,1003,1130,1052,1362,1236,1126,919,948,1136,1236,1448,1278,1400,1814,1226,954,845,1172,1100,1156,1028,1136,890,649,741,1168,1274,1019,973,658,452,391,365,661,832,1058,1082,1058,1110,1230,1510,1506,1242,1040,1206,1122,1188,1230,1266,1162,1088,1009,919,1100,1398,1302,1172,1300,1108,1320,1498,1668,1674,1482,1118,968,1318,1638,1732,1494,1188,1604,1786,1164,1092,1064,833,1080,1242,1132,1064,1019,880,840,756,700,1096,988,753,666,840,835,813,1050,1026,760,534,402,343,416,639,667,1066,1450,1272,1158,1130,1040,984,716,365,395,483,423,789,1470,1526,1244,1216,671,358,365,825,1224,1240,1312,1510,1312,1002,809,1622,1678,1346,979,1158,1011,587,475,548,510,427,393,399,397,468,1011,1072,881,929,814,498,549,921,917,578,408,707,1220,1104,1162,1394,1288,1136,1032,960,1120,1294,1362,1240,1126,1007,1168,1216,1270,1260,1026,1122,982,645,632,984,995,787,948,1128,1242,1178,863,799,926,940,1280,1356,1172,902,915,902,645,649,1005,1286,1010,1044,1044,703,378,328,443,540,839,1374,1572,1660,1640,1642,1138,704,827,1318,1426,1274,1048,877,1096,1194,728,645,855,1138,1132,899,1174,1320,910,620,711,862,672,727,790,924,1076,1078,1450,1570,1340,1158,1005,1046,1224,1420,1410,1048,924,979,935,1106,1122,1372,1314,1000,683,668,1082,1216,1298,1160,773,784,1026,1084,1216,957,1082,1068,1126,655,487,354,389,665,907,1332,1282,778,648,894,946,1124,1272,1328,952,629,798,946,789,945,821,507,755,672,546,802,1078,900,1124,979,913,1236,1636,1880,1574,1572,1252,1098,1226,1292,1328,1296,1338,1358,1126,1126,1330,932,868,898,844,833,1076,1472,1224,1218,1260,1162,1170,1228,1108,851,731,504,412,446,374,349,389,350,350,367,580,557,871,1410,1378,1468,1500,1136,902,741,529,533,815,1156,1288,1234,1150,1186,1088,943,1234,1364,950,686,990,924,949,773,850,1266,1434,1262,1262,1424,1462,1604,1470,1204,1166,1152,1116,1150,1380,1434,1288,1056,1122,1368,1360,1326,1190,962,587,514,592,483,375,342,319,336,352,499,859,1146,1170,672,408,384,452,912,1102,891,1056,1136,792,426,401,397,333,346,349,359,381,387,392,374,350,339,351,385,403,373,383,419,492,1034,1776,1550,764,423,389,347,380,430,424,386,326,328,417,436,338,311,339,386,377,349,329,301,311,325,326,318,328,309,312,331,414,526,555,412,338,345,341,335,378,632,1018,683,407,336,287,314,336,287,271,316,341,340,365,377,344,318,292,287,273,266,283,296,298,298,288,300,333,346,502,767,1042,975,769,607,467,401,373,368,323,312,348,384,395,377,386,357,321,333,343,309,322,445,617,612,383,406,404,408,472,430,392,388,482,517,361,380,426,424,424,458,669,777,937,1152,1448,1642,1726,1742,1720,1672,1618,1446,1238,1086,816,580,411,334,322,332,375,377,374,377,436,469,358,351,449,498,655,655,865,826,974,1002,988,1192,1406,1418,1278,1001,836,817,876,1180,1282,1194,1084,1154,1290,1454,1386,1066,1036,1306,1456,1021,966,866,947,1376,1256,760,509,940,987,598,852,1238,1372,1158,908,819,786,1015,1312,1384,1310,1042,1154,1256,691,720,723,846,947,1048,1242,1112,1120,1182,1406,1408,1216,1212,956,1046,1136,830,951,620,577,832,895,703,671,1148,1354,1256,1248,777,376,449,495,458,531,511,460,456,427,352,368,558,669,400,387,844,958,612,1154,1266,1254,1004,678,666,669,576,716,630,640,1310,1500,962,1278,1066,725,1086,1256,902,868,1202,1194,1036,850,1254,1112,819,758,910,1148,1182,1348,1520,1306,974,862,1102,1512,1310,1268,1428,1486,1456,1472,1028,1023,1026,922,980,867,983,788,745,572,563,592,940,1244,1015,756,558,451,750,1170,1030,642,589,927,1278,1230,934,1154,1314,993,1114,1510,1444,1040,872,1022,1176,883,1114,1384,1320,904,1086,921,694,860,995,1202,1488,1682,1658,1482,1288,1060,1020,1268,1456,1632,1362,839,858,984,1100,1322,1320,1350,1312,1176,1138,1072,926,933,1316,1690,1490,1216,1214,922,662,619,383,345,327,342,329,298,656,1044,979,825,636,524,507,437,364,336,314,327,352,357,357,361,373,337,341,463,441,395,340,358,411,442,461,666,590,492,461,350,373,444,423,361,379,372,426,467,438,391,397,503,478,456,444,473,717,1444,909,503,521,653,499,379,367,403,482,498,389,477,602,531,632,626,515,567,630,614,612,605,608,651,631,556,513,455,385,361,410,483,567,580,531,416,361,363,343,335,325,348,422,384,385,667,1148,1138,931,876,654,358,305,390,447,672,1042,1278,1402,1310,1350,1384,1324,1104,868,933,1009,877,1174,1318,1294,1192,1824,1944,1498,998,1050,1588,1782,1134,519,560,727,618,448,432,472,458,372,346,319,360,425,443,408,392,334,315,344,420,413,341,308,313,335,336,303,342,877,1364,1266,1310,927,527,438,505,904,1044,906,1116,1136,827,855,1210,1406,1260,833,479,826,725,466,412,447,477,429,488,616,536,301,276,363,420,361,387,431,365,389,451,577,532,332,297,359,328,469,548,448,602,492,422,765,945,849,1002,1346,1316,1009,719,651,504,517,1036,1224,899,777,774,881,944,969,1040,1056,1076,947,973,1306,1422,1530,1352,1084,1158,1300,1296,777,464,458,434,604,1050,1120,1132,788,614,764,1236,1276,1003,712,609,680,689,571,462,636,1448,1166,643,950,796,752,1114,1212,1076,976,821,781,564,645,1238,1320,1094,1214,1304,1036,630,547,668,542,579,1072,1220,706,672,768,836,1010,1122,1266,832,996,1454,1170,1114,1364,1222,1112,1102,1120,1410,789,470,775,1004,712,654,759,795,678,816,1144,843,779,792,836,842,761,720,580,603,807,949,850,672,678,934,814,713,659,552,430,364,342,334,404,662,1016,765,329,459,695,485,671,632,434,657,1042,1268,1392,1798,1576,1017,1030,661,404,475,426,364,474,600,554,656,1036,1418,1364,653,504,1104,1566,1450,1090,1148,1440,952,880,658,332,335,299,540,827,764,1152,1100,788,613,845,1256,1202,869,719,1238,1616,1266,1162,898,702,737,1384,1848,1356,1003,1009,647,417,379,333,346,386,486,540,469,440,484,392,386,536,797,1064,1130,936,752,703,599,607,691,625,549,484,549,554,527,511,499,492,496,461,427,398,294,314,423,390,404,581,591,626,720,741,785,555,683,907,655,631,715,702,526,412,421,407,404,419,462,467,446,401,377,354,436,502,509,596,790,861,1024,1194,856,542,580,671,634,473,516,579,594,651,711,729,593,519,537,774,1002,1092,1070,619,379,415,837,1318,1542,1432,1420,1508,1316,1538,1504,799,450,449,545,575,848,955,968,765,653,787,957,1216,956],[565,604,612,602,501,462,436,456,445,387,373,348,325,317,317,314,303,290,281,264,251,246,262,343,403,404,402,383,371,357,297,310,365,344,320,399,521,527,491,468,514,525,647,678,615,654,723,585,419,491,871,850,603,615,730,748,710,714,755,823,607,362,215,213,257,248,289,413,375,497,639,797,1050,1124,987,1056,1406,1600,989,467,387,297,252,309,331,344,320,398,657,959,1078,869,827,1324,777,926,1120,966,1102,947,1070,1414,1284,1410,1372,963,928,1372,1090,787,1250,1214,1062,1044,690,435,367,364,306,296,286,314,323,438,827,1350,1388,1156,1238,1522,1650,1330,899,643,347,462,680,934,922,984,706,606,675,624,569,426,429,471,461,616,981,1212,1328,776,949,942,979,1164,1240,1242,1312,1594,1786,1242,687,797,734,916,987,801,645,722,818,763,659,927,1382,1504,998,935,922,854,915,820,1080,1328,1114,1302,1376,1228,1032,924,811,713,805,719,891,979,1290,1184,1054,781,501,445,394,709,1178,1130,1000,781,1178,1530,914,455,462,657,728,629,476,418,408,373,410,507,435,388,515,788,657,523,639,720,813,1014,1214,972,763,744,1194,1224,1032,772,611,437,346,318,336,336,339,393,386,525,560,580,617,633,617,601,500,550,777,1013,1114,1116,822,800,1026,1006,966,988,1084,1170,1070,1062,931,717,822,1038,1340,1128,1072,1224,998,983,1238,1438,1672,1598,1544,1544,1542,1348,1094,915,559,574,564,685,1042,1326,1022,713,882,828,640,1048,1414,1112,1228,846,811,1162,1324,1092,1212,1122,701,755,919,934,879,1062,1450,1474,1504,1220,767,1164,1516,1290,1032,984,936,1028,922,750,1148,1272,1190,1310,1110,1152,1472,1144,700,990,1360,1110,866,748,698,577,1028,1464,1484,1526,1318,1174,1154,1202,1320,1310,1050,698,736,688,898,1204,1268,1172,1174,1003,1092,1278,1478,1512,1098,1338,1638,1192,1026,1078,1426,1252,1286,1178,894,803,859,982,1732,2244,1326,1104,786,445,555,565,474,566,1066,1348,1314,1316,1328,1288,1036,948,874,923,969,1052,910,919,989,1080,1126,1030,1172,1366,1282,1290,1264,1156,1182,1252,1322,1654,1752,1708,1694,1642,1794,1872,1676,1256,1570,1308,1450,1302,1016,951,1102,1164,1034,1036,833,678,990,1060,969,969,1212,1032,757,922,865,780,1058,979,613,597,501,463,534,730,833,1310,1540,1372,1170,1072,1008,1000,935,489,357,352,614,1238,1590,1494,1194,1064,757,489,532,1012,1072,1116,1526,1262,847,1028,1080,1874,1600,1242,1078,1056,896,600,525,481,434,472,460,436,411,804,1246,1200,1130,1180,814,432,761,1230,1256,734,471,450,651,932,960,1004,970,1032,867,745,999,1212,1416,1222,949,921,1104,1224,1010,795,574,709,973,893,890,1108,609,575,877,1092,1158,807,874,1394,1324,1326,1210,1064,1146,1202,1260,1060,706,747,1012,869,703,1022,1218,687,346,354,437,664,1196,1660,1604,1476,1460,1328,967,762,554,647,1009,1188,1350,1128,1200,1026,532,647,649,1128,1108,858,1012,1434,1406,1000,732,644,584,831,871,862,980,1160,1332,1656,1250,1190,1238,1078,1104,1334,1208,813,897,1182,1322,1234,1050,1302,1422,1282,1252,1260,1178,1202,1024,689,684,1098,1278,1130,1116,637,983,1038,758,737,753,678,431,455,813,1122,1132,1060,741,1004,1015,1110,1448,1450,1498,1222,923,975,1132,1160,882,624,757,654,659,805,839,921,1240,1130,1132,1270,1620,1598,1132,1314,1346,1288,1190,1388,1144,792,781,1166,1062,1284,1560,781,713,742,929,1005,1042,1218,1338,1362,1432,1224,970,1052,1086,972,775,451,397,425,324,288,370,338,335,275,422,750,1230,1420,1324,1390,1540,1468,1150,971,559,541,991,1370,1218,842,750,903,1082,672,684,995,1132,708,600,651,1112,1242,1312,1354,1300,1354,1324,1090,1260,1624,1514,1054,891,759,820,1122,1374,1400,1224,992,999,1080,1030,1110,1208,1034,673,438,430,438,415,396,383,357,362,502,948,1282,807,428,370,454,684,954,924,836,974,1130,873,443,374,372,349,352,334,354,365,372,377,366,368,371,354,348,374,378,405,392,412,715,1528,1776,1064,482,418,368,374,428,424,386,357,373,399,392,355,333,339,355,347,332,317,317,313,318,326,307,362,422,366,283,306,435,457,364,373,371,320,323,335,430,698,632,488,391,329,358,348,323,333,350,381,362,343,338,329,310,364,376,339,318,304,295,298,286,297,309,342,427,793,991,758,533,520,443,346,331,325,351,343,311,325,335,341,377,383,346,361,435,391,343,368,348,679,855,492,424,414,414,441,392,388,380,451,513,415,394,439,527,659,901,1288,1520,1666,1768,1802,1708,1588,1460,1288,1094,897,659,466,428,314,300,339,339,354,391,359,374,369,361,488,505,360,375,406,408,551,584,762,1334,1610,908,855,870,886,1017,1064,1138,1024,1048,798,1114,1424,1412,1276,1234,1220,1284,1160,937,835,1234,1390,1390,1282,915,1484,1824,1300,770,590,935,1068,753,948,1192,1326,1196,807,812,708,944,1306,1276,1240,919,859,976,513,495,618,856,876,1150,1038,1046,1362,1484,1404,1330,1434,1034,626,1028,968,686,836,838,866,1012,1080,1230,1066,916,1020,1212,1350,826,411,442,402,360,445,477,477,470,374,319,419,921,1142,569,436,597,579,496,927,1198,1266,1130,964,1052,813,464,706,654,643,1138,1146,1236,1264,910,773,876,1068,932,819,1050,1070,738,499,577,991,946,809,861,1344,1526,1506,1416,888,743,993,1224,1628,1456,1350,1362,1228,1058,1100,1214,1242,1122,1156,1232,1372,1572,921,749,816,785,490,761,732,812,957,824,918,1005,1240,1296,904,773,910,872,905,796,1004,1074,867,865,910,992,1216,1044,936,996,758,844,1070,1013,666,606,602,662,965,1120,1056,1005,1490,1482,1060,757,858,951,1026,1306,1690,1356,846,850,916,1142,1444,1450,1356,1036,720,806,1008,986,965,1228,1404,1196,1170,1100,868,1138,728,371,313,308,311,289,456,1028,1286,1172,838,705,843,525,439,377,324,322,345,350,344,349,363,388,338,319,361,371,383,347,331,394,407,388,497,524,471,412,365,373,377,363,381,371,373,650,907,749,490,742,996,573,491,521,573,937,1332,709,439,522,620,484,401,383,384,416,497,421,328,352,415,496,529,504,491,436,354,409,562,547,430,364,372,363,314,321,356,401,383,410,426,408,379,363,377,363,353,356,289,354,389,389,559,1012,1200,933,729,593,442,345,370,402,647,1015,1212,1344,1186,1166,1250,1200,1066,965,1186,1224,1296,1442,1456,1418,1270,1330,1120,1072,1260,1422,1842,1922,1194,608,661,1082,699,403,366,338,367,372,339,336,362,414,481,457,498,454,368,377,340,328,332,317,301,322,316,281,396,852,1042,1006,1062,645,573,658,738,1262,1290,1074,1302,1102,585,494,940,1204,1534,917,574,945,685,392,418,477,473,455,469,409,321,246,254,409,453,345,417,400,290,248,338,561,573,474,418,328,302,422,498,469,719,537,289,385,409,658,1194,958,876,707,597,450,448,652,1266,1344,929,997,1258,1210,922,910,1370,1180,1106,1018,1136,1354,1210,1360,1408,1256,992,1042,1066,653,575,518,481,600,1036,1012,886,634,585,686,765,899,841,812,1005,1007,1144,651,439,378,433,357,482,905,1048,1036,1188,1042,964,1076,1032,825,921,801,1260,1446,1252,1044,904,922,615,305,343,539,841,885,868,794,672,632,495,577,811,870,603,825,1016,610,558,1028,1414,1434,977,1336,1382,1100,697,608,745,773,790,648,872,966,1050,1112,807,812,633,565,892,807,549,423,592,887,1012,696,656,886,804,622,719,635,443,372,376,381,362,343,711,1038,789,575,904,991,954,1014,623,458,677,978,1168,1446,1520,1028,914,926,482,377,485,535,464,566,725,505,552,1078,1372,1322,575,443,968,1868,1568,1138,1168,1058,798,753,470,291,316,350,361,562,1132,1400,1276,877,985,1462,2070,1870,758,634,1118,1086,788,887,833,750,799,1334,1832,1188,801,720,520,382,338,328,372,348,407,404,440,475,487,409,358,408,547,729,784,716,631,807,686,571,604,554,491,486,532,519,477,473,466,472,401,391,370,334,284,372,473,495,492,453,545,874,951,776,704,636,604,622,497,408,593,719,574,477,453,381,391,403,395,383,371,340,332,373,499,575,666,656,597,644,664,785,785,623,625,574,676,790,615,505,806,864,719,802,664,531,650,785,683,988,1202,806,518,505,608,998,1344,1180,1300,1344,1200,1074,1122,966,696,500,413,465,887,948,675,805,745,525,774,1144,928],[521,501,543,690,542,552,512,449,377,361,328,301,305,315,317,307,294,290,283,276,265,268,258,305,428,419,417,390,393,389,311,313,371,358,298,313,402,389,402,455,521,568,546,641,662,556,573,533,605,484,536,513,763,825,735,715,587,507,782,852,552,304,243,272,260,234,264,365,833,1040,1034,1156,1036,1080,1110,1150,1288,1482,792,439,401,311,267,287,286,299,307,289,551,876,796,600,1022,1712,1140,1228,1240,735,688,648,897,1144,1021,1318,1682,1332,1110,1172,1218,1334,1592,1428,1182,1005,1024,815,376,365,332,349,301,301,293,429,782,1148,1346,1244,1013,891,1280,1604,1340,664,481,661,774,1312,1138,1306,951,571,537,475,417,482,439,356,400,681,952,1126,1042,680,671,822,795,831,1202,1340,1150,877,888,620,414,454,404,399,454,537,674,819,785,765,991,802,987,1226,688,684,901,926,1005,884,921,1194,1152,1136,1180,971,867,829,705,819,662,695,978,1196,1510,1182,838,650,368,350,386,541,1018,1258,1009,1302,1288,796,458,386,395,482,606,565,476,440,393,379,384,390,410,601,931,1034,816,897,836,799,1060,1130,959,892,912,783,1180,1174,780,730,621,366,367,393,456,601,735,601,466,487,432,478,572,663,700,590,513,488,614,877,816,609,824,982,962,1056,1180,1172,1356,1408,1064,808,543,529,1222,1442,1650,902,820,1068,1118,1204,1478,1394,1358,1546,1578,1438,1600,1454,1020,775,665,982,796,522,931,1466,1536,1672,1420,760,637,935,637,939,1096,913,872,1300,1468,1390,1340,1017,996,1316,1282,1216,1292,1226,1216,1130,1312,1084,650,905,1226,1148,960,885,560,534,606,802,1206,1124,1156,1360,1028,886,1274,1158,745,561,604,509,560,890,951,1058,973,1154,1292,1230,1080,1266,1532,1388,1388,1260,1120,921,881,801,1011,1184,1234,1208,1092,1222,1324,1232,1254,1456,1236,1172,1254,1350,1170,1230,1368,1272,1300,1354,1284,1178,968,1076,1170,1076,1110,1134,1086,922,1060,971,614,421,846,1394,1372,1284,1152,999,944,875,774,783,971,937,762,712,908,1254,1268,1098,1234,1506,1280,1130,980,1194,1322,1054,1094,1678,1594,1448,1542,1770,2034,1906,1702,1586,1654,1604,1436,1016,1076,1146,1122,1100,1044,755,518,852,1023,1012,998,929,971,764,720,964,950,1016,1100,792,609,787,573,488,632,587,959,1118,1009,999,982,1120,1114,1084,1142,692,550,800,1130,1178,1342,1230,955,952,1092,740,627,910,778,922,1342,1012,1088,1240,1256,1290,1052,1021,888,632,577,475,436,426,440,473,485,518,613,995,1382,1526,1350,1024,745,675,863,1020,1368,1372,816,532,882,980,1162,1174,1044,1038,618,625,820,1132,1278,1026,795,1094,959,903,725,754,654,617,1062,997,1224,1140,739,979,996,953,1064,659,651,884,1154,1298,1023,1007,1054,1178,1268,792,459,611,642,450,481,974,1048,564,455,509,790,905,1194,1732,1700,1634,1438,1460,1062,940,938,930,1026,1472,1860,1192,1102,1084,794,901,647,797,1044,915,836,1068,1324,1128,737,639,526,641,868,1104,1182,1218,1160,1524,1490,1412,1490,1466,1482,1414,1152,1003,1244,1366,1278,1034,1134,1172,1248,989,808,813,767,1104,1072,928,907,1112,1152,1202,1210,797,1102,1166,1144,1274,1246,1084,774,552,644,1140,1368,1184,755,872,799,992,1114,1150,1302,1150,1382,1654,1198,890,715,528,579,957,1002,984,842,737,780,883,1268,1228,1148,1106,1050,1176,1218,1104,1110,1094,977,839,820,1344,1364,1172,1028,1007,1060,1140,1274,1448,1382,1162,1148,1232,1354,1314,1130,1148,1396,1170,854,627,483,434,357,324,343,390,390,359,484,989,1348,947,1378,1432,1410,1496,1454,1072,647,547,767,1166,1206,916,712,627,760,663,801,1010,1208,1200,1168,954,1098,1428,1444,1154,974,1090,1344,1502,1484,1362,1330,1160,1026,930,960,1162,1310,1274,1234,1136,1078,1046,1072,1150,1110,954,728,558,435,460,581,532,521,424,434,797,1072,1048,627,382,346,514,745,724,594,547,524,605,507,423,360,347,346,352,343,348,354,339,350,354,366,373,354,350,366,396,393,374,387,539,1188,1796,1410,648,465,423,395,432,468,448,382,352,367,378,366,336,317,311,303,315,321,322,329,309,314,343,450,486,369,277,283,335,324,372,531,419,299,299,323,548,901,1013,894,568,322,303,279,290,318,351,383,345,307,307,316,320,311,316,345,319,305,327,317,311,309,302,327,615,960,799,469,382,380,350,397,364,343,335,335,322,304,368,390,394,390,358,388,427,355,340,550,487,626,623,608,567,415,390,396,416,417,393,451,486,620,911,1180,1428,1586,1630,1616,1640,1616,1494,1368,1166,972,792,578,465,390,350,336,350,332,339,346,332,396,405,344,336,316,380,411,383,337,372,435,526,703,931,968,1190,1732,1280,949,949,634,719,1132,1212,1114,935,694,886,1312,1302,1054,1074,1158,957,836,648,661,1096,1348,1146,1120,1054,1150,1328,941,658,534,558,918,1038,862,995,1046,875,774,836,904,1172,1294,1246,1404,1300,915,809,538,678,724,721,883,888,691,865,1086,1250,1060,1204,1204,1080,864,1244,1028,728,911,1036,1154,1023,1314,1664,1216,1132,1228,1168,1220,846,658,678,422,249,377,439,492,491,351,323,365,677,702,518,472,417,436,442,919,1376,1284,1356,1470,1448,1326,911,1066,945,1086,1034,916,1023,823,947,1096,677,712,907,681,821,1007,860,523,1638,2448,1394,1054,1302,1046,935,827,399,377,600,915,1056,1260,1146,1160,1108,820,708,955,1088,852,1009,971,901,1130,1028,883,1036,1162,949,760,637,503,567,718,933,1094,1396,1600,1414,985,1092,1396,1094,909,955,1174,1056,736,831,1086,1300,1362,1044,1112,1370,943,832,1046,922,702,449,403,466,883,1386,1310,1005,1324,1396,803,354,725,1242,1288,1348,1250,1166,1003,866,750,1160,1394,1284,972,633,628,980,1040,963,1282,1484,1426,1244,1054,1004,852,928,629,412,412,350,340,286,473,1150,1472,1046,810,659,528,374,396,398,347,330,349,351,346,353,363,391,357,365,427,493,424,399,402,419,450,384,378,393,425,401,348,358,363,371,408,395,516,1042,1386,1074,736,754,921,672,784,772,778,1388,1140,534,496,544,501,432,428,418,398,403,437,430,384,370,375,393,396,377,305,300,306,313,307,327,321,313,314,356,397,339,331,359,346,357,374,395,370,345,373,385,372,385,361,378,386,415,453,558,611,632,636,592,413,354,342,428,514,716,1124,1398,1306,1192,1248,1302,1214,939,844,1072,1232,1306,1186,1194,1136,768,542,921,1416,1486,1742,1690,1238,805,977,1148,741,481,360,279,286,338,355,365,359,325,407,422,604,767,606,463,342,290,291,249,239,310,323,258,355,730,655,602,784,869,1034,996,1018,1452,1316,993,1120,985,610,649,971,995,1418,1390,940,628,410,338,404,471,413,420,500,645,360,259,303,505,472,351,412,360,276,234,291,433,432,498,526,484,379,423,681,980,899,420,353,345,310,633,1224,796,795,924,822,570,575,652,884,1015,995,1236,1300,1228,1212,1282,1396,1306,1130,1088,1302,1312,1208,1100,1152,1296,1108,994,937,579,554,484,468,423,719,906,768,684,1088,1146,700,596,470,808,1052,700,896,835,561,400,417,438,483,829,1086,1010,807,726,662,982,1376,1400,1494,1228,1232,1458,1272,885,593,661,516,403,456,566,1368,1228,882,728,602,624,667,631,604,552,569,692,590,403,491,813,886,987,1126,1434,1062,759,674,448,377,610,681,615,514,689,1444,1294,926,937,540,317,393,719,1032,888,806,863,1138,618,1162,1442,719,548,837,766,619,672,596,456,495,477,1030,1172,1016,944,1164,927,976,926,690,780,783,1038,1106,938,737,668,533,715,584,416,422,564,649,829,793,397,769,2010,2120,1322,524,697,1216,1726,1554,1180,712,356,378,424,368,342,304,313,338,894,1318,1484,1586,1356,1448,1680,1900,1672,734,619,922,764,539,444,528,662,664,917,985,822,783,573,409,381,362,390,446,400,436,409,745,724,475,411,360,365,386,365,437,636,811,792,570,504,584,532,464,476,505,475,444,434,442,458,338,319,329,283,359,525,659,631,469,475,648,855,791,563,489,664,705,1094,1144,797,485,423,514,513,476,398,408,412,374,367,322,328,375,476,573,638,645,605,458,412,419,521,692,669,623,669,853,1190,1188,1220,1520,727,568,675,825,731,845,645,421,451,686,781,722,514,473,655,866,1432,1760,1448,1162,659,579,550,633,528,391,389,472,758,857,981,770,485,717,951,944],[526,434,520,722,571,488,482,545,449,368,324,309,313,327,317,302,297,289,283,275,267,257,262,249,321,389,434,440,404,433,482,408,388,369,310,308,396,399,520,698,788,855,939,868,731,564,490,606,692,667,615,861,932,752,810,830,551,401,536,766,531,246,260,270,274,262,285,487,1218,1238,974,915,838,956,1098,1106,1114,1042,597,381,390,335,315,358,352,323,287,428,835,946,954,996,1158,1214,1066,1001,1098,1002,738,577,527,540,426,934,1396,1242,1048,1002,1230,1350,1196,1094,1102,966,955,619,318,310,386,382,334,302,303,844,1134,1042,1064,956,788,691,777,1096,1632,1250,797,1184,1108,1208,992,973,791,560,570,385,367,415,441,418,365,558,467,865,847,653,560,957,1050,983,1506,1296,890,533,414,383,340,322,363,407,512,899,1178,1182,1144,1164,1800,1116,1238,1092,646,967,1324,1044,943,822,634,799,829,929,1198,1130,1126,698,457,465,476,623,896,851,721,655,504,388,367,397,551,931,1282,1500,1088,1244,954,724,836,521,392,346,521,469,428,431,395,327,348,550,841,1042,1260,919,549,584,649,993,1066,879,720,766,818,631,695,695,530,461,480,582,597,536,584,1036,1190,771,463,436,442,407,443,505,562,503,486,449,386,484,554,739,1108,1186,1068,1116,1300,1348,1556,1306,974,1030,720,851,1346,1242,1340,1104,1104,1420,1188,1364,1704,1100,1360,1460,1316,1374,1374,1448,1124,765,652,735,800,769,872,1416,1746,2056,1592,797,910,1322,1023,968,995,919,993,1354,1432,1368,1238,1126,1428,1478,1382,1286,1316,1013,680,761,1108,1116,760,1009,1418,1426,937,699,462,529,719,902,912,865,1144,1278,766,805,1126,1220,1138,744,612,728,952,1096,1300,1266,1032,1022,1013,719,759,1272,1490,1396,1472,1316,1296,1100,945,941,868,866,1122,1138,885,1132,1284,1152,912,1036,1056,836,1080,1206,1144,1120,1002,1376,1478,1362,1220,1216,994,935,1076,974,1152,1224,1238,1284,1232,990,878,597,478,861,1246,1396,1274,1198,1258,877,816,980,918,843,916,663,565,663,672,910,1268,1468,1178,891,1056,1360,1260,994,872,1252,1134,1206,1162,1340,1556,1738,1770,1858,1744,1622,1372,1170,1272,1206,1048,1114,992,842,937,811,670,828,619,802,787,782,1318,1080,773,996,794,543,373,526,402,475,1322,1368,927,890,946,902,968,1458,922,893,662,798,1034,1132,1060,1078,1154,1234,1160,1080,1210,794,850,1020,966,913,894,680,847,1052,1034,750,656,607,564,454,480,425,419,407,377,376,399,730,1018,1048,1270,1316,1288,1040,1130,1054,896,659,1056,1468,1428,893,698,760,577,674,1286,989,479,544,960,1104,1138,988,866,959,781,612,513,461,456,621,946,973,1484,1190,985,924,977,1256,1276,908,757,874,1166,1064,1026,1142,1238,1152,1260,774,426,372,348,392,496,796,901,686,650,1156,1364,1206,1594,1578,1466,1328,1282,1232,681,658,1042,1242,949,966,1036,1070,1274,1358,1188,979,763,663,1082,1296,1144,1284,1266,1166,652,515,512,490,902,1252,1212,1178,1064,1264,1610,1500,1310,1436,1238,936,1050,1284,1320,1138,995,1024,1138,1186,1224,771,998,1212,981,933,1126,1124,932,1012,998,1130,1344,1194,1152,1136,1070,979,1208,929,922,641,576,873,1170,1234,1136,789,785,1158,1196,1394,1248,1072,1354,1378,1074,877,661,442,473,877,1204,1172,849,602,686,1011,1378,940,1118,1134,783,897,1126,1124,1082,1038,1132,857,859,1294,1148,1056,978,1150,1282,1290,1300,1412,1364,1024,989,1272,1294,1216,1088,1178,1224,995,1060,869,759,679,539,364,451,655,607,516,551,850,914,708,969,1114,1210,1138,1296,1410,1354,1172,979,1023,1078,901,1019,904,1394,1522,1502,1478,1218,1332,1284,1076,1230,1216,1278,1120,1058,992,1256,1494,1428,1288,1094,998,1150,1414,1418,1382,1212,1200,1128,1050,1160,1202,1150,1464,1578,1044,741,806,915,1242,1208,633,554,558,932,1292,984,742,551,374,358,410,487,492,425,371,333,348,468,439,340,341,361,354,348,346,331,314,346,360,363,378,399,387,366,369,362,375,415,462,808,1572,1744,1120,549,419,391,450,485,435,399,419,376,376,355,334,298,296,319,372,346,297,274,296,316,350,418,433,371,301,290,302,321,391,366,293,279,290,287,428,725,954,955,509,304,278,271,269,318,299,332,347,322,299,336,327,285,331,458,382,299,351,381,347,291,323,585,963,884,488,353,351,364,347,427,341,315,314,327,343,341,373,397,383,356,389,372,321,348,398,383,607,568,417,437,404,382,358,358,443,610,826,1090,1340,1482,1626,1666,1654,1544,1422,1344,1310,1186,979,825,621,476,387,336,330,328,326,322,312,296,298,321,352,382,364,326,324,331,440,413,349,351,351,510,876,1110,1294,1252,1100,1284,1114,1076,962,529,612,995,1212,1300,1196,860,822,1088,1104,1154,895,995,1032,1128,706,357,696,912,771,945,1011,1166,1268,896,658,821,949,1020,1124,1040,1058,1178,1076,875,1088,1452,1288,1250,1240,1390,1452,1072,874,807,752,547,449,476,506,467,515,524,658,924,1252,995,938,1038,1324,1144,941,1072,1284,1230,1092,1304,1290,988,1282,1003,1060,1136,986,868,918,1070,1102,583,491,505,441,360,336,321,259,314,391,427,433,336,357,757,1182,1274,1498,1594,1506,1322,1394,1234,779,921,1094,1148,1023,1072,1428,1538,1023,1114,792,544,694,1070,1360,724,1566,2180,1372,1102,1130,483,365,459,717,871,612,703,986,1106,1444,1810,1340,852,745,825,888,905,785,780,951,912,749,666,976,1194,1003,946,568,651,737,869,893,1052,1168,1252,1374,1272,1648,1748,1354,1246,1176,1338,1080,1078,1104,1220,1318,1318,1232,1268,1330,950,791,912,819,647,420,469,554,883,1176,1484,1158,1066,1460,1342,895,1036,1206,1378,1642,1222,969,711,591,473,732,713,700,939,819,642,1114,1202,1116,1306,1328,1290,1228,1168,1009,751,797,717,495,501,372,349,290,355,1122,1512,769,633,552,446,477,491,451,364,314,338,347,351,353,354,390,383,361,389,410,394,472,536,480,433,376,346,350,343,325,327,345,422,515,444,407,659,1318,1364,1350,1426,834,568,855,1692,1556,1286,1530,927,455,435,442,421,432,398,401,352,375,380,429,392,337,383,419,476,526,629,535,388,379,447,512,392,333,379,406,406,370,369,357,366,373,383,366,353,351,349,349,359,366,391,401,370,402,505,544,451,547,689,518,349,377,346,364,382,400,639,1122,1182,1136,1208,1238,1300,1005,1156,1318,1186,1108,1158,1288,981,579,566,921,1384,1400,1428,1412,1480,1232,1304,890,665,803,560,400,462,438,396,391,385,659,545,461,722,824,595,389,314,342,292,306,292,283,291,307,433,510,567,524,671,954,982,854,1316,1782,1350,863,967,855,862,966,1090,1110,1364,1532,1094,508,356,344,389,423,495,524,850,954,463,267,329,531,497,356,417,334,283,314,318,381,464,372,384,450,526,594,745,1002,707,363,365,393,463,521,727,742,920,1166,1086,1008,1032,965,879,939,1046,1484,1526,1574,1292,1278,1166,1240,1318,1346,1230,968,1044,1094,1166,1086,1028,1094,882,508,494,481,459,421,469,705,944,1032,1310,1384,953,768,989,1366,1266,836,919,939,648,455,440,377,529,1136,1696,1010,528,623,813,1000,1378,1600,1644,1318,1168,1122,1023,1007,755,619,508,484,484,737,1560,1478,979,778,839,664,667,604,608,697,909,953,1048,664,574,633,541,543,877,1160,972,753,444,382,475,615,619,659,612,747,1614,1474,1146,995,741,367,393,968,1340,1044,915,614,982,886,1730,1736,807,655,808,833,1188,1482,1234,803,589,623,1060,1064,1038,1144,1036,865,1096,1052,930,899,877,1652,1540,808,597,479,376,458,616,709,642,744,930,1130,1268,753,928,2708,2688,1276,877,1122,1084,984,974,1144,1082,529,420,369,480,779,547,428,398,502,854,1228,1384,1408,1206,1094,1494,1180,645,522,781,924,708,485,453,440,569,1007,1086,904,825,685,450,420,446,428,392,421,462,421,485,438,376,350,342,339,331,473,730,640,571,599,517,520,538,523,469,435,443,448,448,417,387,349,273,277,308,287,334,647,1052,887,501,652,740,627,458,905,882,703,750,871,1028,949,464,373,505,835,723,504,457,484,436,394,347,386,560,628,576,458,398,446,501,464,529,861,1116,899,614,555,701,1164,1468,1562,895,521,422,728,949,1009,797,582,525,519,566,558,673,495,518,555,604,1112,1838,1562,936,575,409,404,400,416,545,544,519,907,741,551,363,335,371,608,634],[481,399,420,453,476,459,487,512,455,379,341,314,336,338,321,305,291,272,269,267,262,256,257,251,269,309,372,445,476,550,565,493,463,460,421,337,308,371,516,711,761,731,751,534,454,477,482,484,589,807,844,688,529,778,1040,839,538,533,823,1294,839,321,265,265,254,241,283,802,1370,1023,949,1108,1036,830,865,1070,1034,792,447,325,345,363,389,396,397,350,509,667,848,683,794,1140,1344,1194,990,1056,1324,1272,1136,793,430,384,593,1306,1260,1216,1340,1246,1028,1032,1090,926,1148,1156,707,664,455,285,348,302,278,287,264,668,922,720,536,572,522,554,547,829,1432,1804,1438,1148,924,1070,1296,1122,626,499,500,397,362,359,393,419,369,597,691,682,731,811,838,1162,1464,1392,1488,904,727,605,501,698,613,398,417,470,522,776,955,1120,1174,1354,2158,1628,2106,1552,972,1156,1226,1032,1044,972,636,1000,941,1196,1434,1394,1272,1110,753,499,551,633,717,774,547,405,331,354,399,372,478,735,1340,1384,1142,1146,1050,1140,1274,626,439,322,422,414,401,397,359,390,484,948,1230,892,1184,1098,606,821,1007,913,636,796,824,639,532,607,723,771,472,453,770,1034,905,760,610,706,756,713,714,742,554,474,487,468,505,537,444,339,314,408,440,951,1384,1386,1258,907,983,1178,1288,905,974,1294,1100,993,1072,1034,1234,1300,1328,1450,1254,1552,1506,1108,1254,980,1128,1416,1296,1010,1092,1206,1009,974,974,870,752,1064,1494,1822,1306,897,1122,964,1174,1306,818,733,1094,1278,1278,1062,1136,1210,1062,1286,1304,1348,1286,805,644,747,1096,1326,1060,1360,1456,1240,1260,1102,673,570,769,913,871,677,915,825,469,967,1418,1450,1378,1328,1348,1304,1216,1224,1274,1336,1196,1272,1210,947,811,1056,1402,1534,1390,1348,1178,984,1220,1202,946,1034,1168,1094,1098,1050,793,570,505,579,597,626,1036,1208,1358,1754,1162,1152,1060,1266,1140,1376,1274,1216,1368,1384,1256,1192,1236,1128,1108,861,910,672,767,1068,1144,1146,1398,1460,1114,907,1046,1018,994,833,799,592,561,639,772,913,1210,1200,1144,1090,1272,1256,1090,1360,707,589,685,907,1116,1134,1326,1490,1528,1830,1904,1792,1514,1376,1412,1376,1170,908,791,1236,1362,812,849,1042,921,796,618,1152,1546,1276,959,660,391,556,613,448,312,573,1322,1472,1070,962,902,1048,798,974,731,842,914,1128,1268,966,769,905,1032,1200,1002,733,1116,1116,1210,1504,1418,1090,830,829,902,970,1194,846,785,525,502,514,472,415,424,460,481,400,353,722,1130,979,1007,1160,1362,1038,1038,1072,865,546,727,1340,1506,811,654,514,489,735,951,536,409,668,1066,1007,1126,916,701,800,670,534,478,478,461,772,1260,1188,1024,1168,1112,1054,1188,1266,1072,1056,1007,1132,1338,1013,1001,1226,1540,1448,1202,887,717,568,626,481,597,976,1104,1186,1412,1530,1352,1376,1454,1210,1420,1294,1044,1124,932,675,981,1438,1358,1284,1038,1248,1324,1390,1152,824,829,890,1192,1260,1124,1084,1146,1202,825,611,521,403,657,760,702,896,1098,1362,1444,1578,1348,1282,1322,985,1054,1172,1184,1314,1266,1282,1064,1050,1282,1140,1296,1372,1120,846,885,1110,1224,1310,1152,1114,1328,1272,1282,1204,835,1154,1096,975,1108,832,725,1098,1240,1324,1426,1040,853,1016,1214,1162,1044,1066,1106,1296,966,502,396,372,405,751,1108,890,927,935,872,886,867,1020,1466,1248,1224,1488,1144,1152,1034,775,874,844,835,1021,917,767,716,1066,1238,1014,855,1042,1234,1064,731,1056,1268,1170,886,948,942,894,1116,1118,1034,1070,1120,1204,963,896,679,582,542,866,910,1088,1066,931,885,844,1052,1314,1406,1360,1230,1382,1434,1140,1188,948,1340,1562,1602,1422,1052,1146,1166,1202,1258,1094,1154,1260,1384,1214,1368,1522,1448,1260,1074,1054,1274,1424,1472,1318,827,774,887,926,1046,1108,1264,1570,1518,1048,703,870,1302,1386,997,590,619,858,1302,1286,827,478,381,349,346,359,370,371,408,366,328,361,401,372,355,343,363,348,340,348,322,305,340,356,362,369,352,360,378,379,397,399,456,462,553,1268,1834,1476,756,455,397,385,373,336,352,375,334,361,353,318,281,296,321,389,370,308,285,295,354,422,503,587,467,332,317,288,299,339,319,306,286,280,292,312,314,354,454,312,278,281,289,319,312,285,304,304,310,318,382,286,283,290,292,286,293,321,330,332,426,671,941,884,530,349,341,327,335,335,350,309,306,355,360,322,386,410,366,360,328,346,347,364,360,420,362,359,403,406,383,481,625,744,855,1118,1378,1544,1606,1614,1654,1638,1518,1452,1352,1116,861,746,562,423,371,330,327,339,342,336,334,342,338,313,297,297,299,323,330,350,347,345,333,438,437,367,452,500,659,1256,1318,1338,1110,904,1118,1236,1148,703,602,744,839,1184,1324,1330,1086,971,932,805,1094,850,1042,1250,872,502,346,475,522,494,666,838,1316,1402,1140,828,1134,1158,1152,1056,941,1254,1122,941,1100,1432,1710,1350,1170,1096,1214,1016,1001,1128,1136,974,529,482,596,536,490,788,828,743,878,1036,927,711,875,1180,1038,1360,1520,1338,1886,2312,1820,1732,1032,592,687,1132,1274,1020,929,1034,1110,1236,673,504,426,362,343,346,329,347,383,335,323,357,316,465,801,1196,1344,1620,1620,1282,1174,1440,1224,786,596,918,1192,1054,1114,1664,1498,1218,1316,1036,859,900,1030,1184,929,596,1118,1322,1046,760,457,593,894,1608,1624,778,552,952,1374,1958,1960,1192,952,1152,1244,1256,1158,1200,1162,1068,1013,1238,1074,821,1012,761,651,667,881,745,663,890,1222,1448,1600,1444,1390,1354,1236,1278,1378,1178,1272,1194,1228,1194,1382,1652,1412,880,712,1054,1250,789,719,828,752,614,526,620,1082,1192,1130,935,1036,1530,1676,1312,951,905,1176,1312,854,499,388,533,755,665,518,711,1158,1142,797,1108,1400,1636,1500,1506,1390,1190,1110,952,805,745,673,477,550,492,396,404,429,805,946,970,889,543,431,372,391,430,372,364,345,346,363,330,326,359,368,353,345,334,359,403,426,396,428,369,338,357,351,315,340,558,1112,1356,967,633,1010,1350,1304,1742,1920,1418,903,1176,1970,1816,1616,1470,633,484,473,455,413,399,401,384,369,375,377,421,413,383,376,430,432,543,806,865,926,718,575,495,375,358,350,349,361,386,375,366,353,373,372,389,392,379,368,349,323,353,422,504,445,424,477,536,507,482,458,408,355,376,397,346,352,430,568,943,1136,1250,1294,1266,1290,1122,1240,1308,1190,1086,1164,1196,738,481,687,818,1170,1374,1434,1528,1440,1146,913,563,421,455,406,398,487,460,511,597,691,941,612,501,747,681,560,470,429,390,319,312,296,280,271,291,330,532,858,933,927,995,949,843,1428,1538,960,405,562,717,855,1042,1216,1128,1254,1244,953,552,444,399,344,471,552,586,790,574,308,307,321,430,465,501,388,370,401,503,451,471,451,373,433,612,763,733,849,918,575,428,347,418,608,571,551,538,921,1092,1032,1348,1428,1142,985,1264,1318,1542,1424,1572,1130,789,700,908,1226,1456,1382,1104,1224,1258,1134,771,917,957,651,464,461,467,449,459,435,492,772,941,1086,1520,1384,1306,1342,1266,954,908,836,600,506,437,390,368,463,702,836,487,601,830,1136,1290,1566,1482,1338,1056,675,514,953,690,467,351,452,532,514,502,484,741,1042,1762,2018,1030,691,499,544,717,1280,1306,1068,977,937,814,669,486,630,842,1102,924,385,473,532,748,699,668,750,1001,1300,1382,1236,961,767,396,449,1146,1278,822,1094,1252,1386,1306,1320,1018,670,573,566,532,668,1204,1344,1306,738,697,670,669,1034,1152,1072,1102,1018,881,1056,843,574,1114,963,554,390,306,350,390,515,802,929,1060,1060,944,1134,1288,966,731,795,806,1324,1718,1368,1134,1472,1664,1368,755,557,851,1278,1278,759,632,534,467,748,1256,1604,1452,1024,1094,1188,1096,835,692,868,1084,824,448,370,323,442,856,904,851,834,712,534,499,525,498,532,590,568,451,433,488,465,450,380,387,401,629,822,580,520,599,576,547,577,617,545,469,434,452,427,343,295,248,268,301,293,273,267,523,929,804,804,892,758,464,624,1064,722,656,798,666,837,921,669,443,461,829,572,417,479,523,469,412,457,449,744,641,541,426,424,367,505,495,459,1019,1664,1390,684,418,349,462,738,941,699,564,373,691,1180,1456,1009,814,881,962,1004,705,534,511,550,561,578,642,948,933,795,550,395,366,475,927,1094,971,733,911,837,647,464,358,424,463,450],[386,341,368,405,413,414,434,410,372,354,341,348,392,354,306,297,289,274,273,274,270,264,257,258,264,268,336,467,495,540,562,530,543,563,486,342,283,321,425,521,529,500,464,427,368,314,375,560,661,746,724,470,640,1230,902,490,468,538,465,915,624,314,301,302,241,249,327,758,1210,994,1017,1036,881,734,1048,1144,929,571,329,308,314,353,383,346,303,357,736,839,824,647,764,908,1120,1254,1180,1020,1178,913,822,478,537,678,996,1048,871,1058,1214,1052,827,947,1194,1048,1176,1490,1010,1366,874,410,359,321,287,279,264,306,403,397,386,520,532,694,796,891,1254,1594,1648,1368,922,1302,1548,1228,824,564,401,428,414,322,519,824,672,648,766,620,793,1116,1342,971,1190,1388,1180,774,994,1214,874,841,752,468,542,687,600,682,696,726,994,1164,1524,1244,1054,986,916,930,1284,1426,1222,1282,1318,1716,1224,1028,1378,1672,1338,1016,780,735,867,711,486,405,421,451,507,480,485,426,366,602,981,1005,966,1122,1384,925,605,479,324,334,394,394,374,412,555,668,736,1017,1086,885,877,1396,1314,1360,1254,927,736,899,1032,855,716,765,1144,997,786,730,886,1250,1176,830,633,641,593,767,1026,843,508,695,675,508,457,573,508,394,510,530,485,896,1108,1042,1106,816,1028,1208,936,637,742,637,373,396,683,1036,1274,1312,1320,1148,1154,1240,897,961,961,772,866,1268,1372,966,1172,1412,1252,949,1032,1216,896,752,744,1048,980,1122,1290,843,1180,1716,1650,1214,1260,1202,1094,1100,1292,1174,954,1332,1338,1254,1210,888,998,1206,931,1080,910,879,760,930,1164,1224,946,442,344,774,1116,800,701,455,338,636,1110,1454,1364,1328,1388,1288,1292,1252,1005,1062,968,1274,1122,959,889,809,1208,1324,1254,1278,982,1120,1350,1242,1130,1026,1138,680,730,728,579,551,586,539,639,685,859,1312,1530,2358,1562,1266,1206,1606,1702,1516,1390,1478,1522,1458,1094,1200,1240,1260,1146,900,970,1018,1158,1005,879,1094,1368,1200,848,795,890,931,1094,899,469,531,1001,1066,1128,1194,1128,1086,1166,1156,1202,935,790,976,566,444,502,823,1072,1116,1344,1206,1180,1562,1722,1772,1620,1522,1466,1410,1017,789,1614,2620,2434,1224,863,929,1012,1184,1100,1262,1094,1032,881,540,448,489,465,454,347,501,793,895,1158,1130,1056,918,545,610,894,967,946,984,950,748,735,858,808,960,1174,1126,1122,1162,1194,1362,1350,979,667,808,986,708,882,922,971,724,587,802,728,493,511,724,692,416,385,509,1046,1002,722,1064,1468,1324,1134,1190,1028,639,540,771,734,741,1086,969,780,963,655,471,421,766,1078,1060,1120,934,602,551,605,539,458,434,514,1072,1096,822,971,944,910,1194,1388,1328,880,1130,1164,1240,1372,1108,1132,1490,1434,1252,1022,1224,1378,1106,1168,918,1152,1304,1310,1448,1522,1306,1268,1086,686,594,782,750,698,1015,991,683,938,1528,1678,1606,1372,1272,1180,1158,775,764,995,1216,1202,1356,1156,881,983,1212,1058,835,705,749,914,857,651,681,742,949,946,1520,1468,1250,1564,1376,1264,1300,1390,1422,1268,1186,1144,1224,1056,1007,1032,1364,1270,946,897,1166,1322,1202,1154,1034,1208,1023,1204,1270,948,2400,1598,892,1120,929,825,1240,1274,1416,1124,544,415,528,539,441,693,974,1336,1560,1202,657,469,429,538,820,1014,844,1106,1204,1152,818,717,1092,1388,1118,979,967,977,1098,808,571,770,968,991,1050,896,790,988,1288,1296,1116,902,1050,1134,991,814,1172,1168,1204,1074,1088,857,741,1162,1366,1256,1388,1426,1530,1114,911,662,525,441,725,1088,1146,868,959,1130,930,955,1076,1270,1642,1528,1510,1616,1508,1306,991,1100,1358,1364,1208,998,883,1020,1252,1236,1260,1346,1258,1144,1180,1256,1344,1472,1272,975,1212,1398,1490,1510,1290,987,860,807,1076,1256,1324,1454,1278,1060,1098,1180,1016,1392,1424,868,553,780,1256,1232,664,412,389,353,328,354,366,369,368,423,432,331,343,345,346,356,348,329,328,325,362,341,335,349,336,356,366,352,361,361,378,404,395,425,473,466,901,1642,1710,1096,596,445,397,363,345,349,388,350,355,328,288,271,317,331,336,362,368,319,346,460,459,368,437,388,350,326,289,281,283,319,358,327,278,297,279,283,278,269,274,283,277,281,288,273,311,324,282,305,462,457,313,283,290,323,311,297,303,337,514,761,789,618,416,391,378,364,376,368,305,282,301,309,343,350,310,355,375,352,357,389,444,437,414,434,420,365,465,660,747,804,1048,1288,1510,1550,1622,1650,1710,1670,1510,1406,1172,899,664,519,375,341,428,387,351,341,336,334,318,312,321,320,330,318,313,316,316,324,332,329,323,329,346,361,407,389,377,514,683,808,1042,1224,1296,1170,1124,1268,1262,1060,915,1194,995,720,1086,1284,1212,1018,915,985,808,940,1182,1366,1017,595,665,468,405,506,1036,1686,1170,1176,1470,1572,1366,1462,1580,1474,1316,1190,1272,941,663,753,1030,1288,1396,1328,1330,1252,942,974,1013,1080,1068,852,1170,949,540,463,681,785,810,852,1132,1318,1172,1234,1056,530,627,992,856,933,1008,1220,1616,1202,893,744,1122,1342,1184,1082,1011,767,705,574,534,577,495,375,332,252,278,307,320,351,346,465,572,689,1064,1394,1424,1078,656,619,893,1250,1238,912,949,867,991,933,1116,1428,1610,1516,1360,1146,1010,854,1204,883,485,867,1168,1232,968,712,936,1050,1376,1240,566,346,549,910,1054,1018,985,983,1290,1128,1040,1222,1374,1248,1216,1252,1350,1058,839,875,583,755,853,683,700,884,982,1216,1484,1180,934,1380,1340,1318,1390,1182,779,612,818,1208,1556,2194,2002,1064,714,854,1036,1196,733,686,998,872,804,667,607,890,863,811,1015,1588,1664,1738,1370,597,701,1114,1112,869,796,941,1170,1262,812,613,666,980,982,952,1354,1676,1830,1614,1372,1228,1084,1060,1074,932,942,739,498,544,524,491,467,465,510,659,1074,1102,647,447,356,363,390,350,370,356,340,347,347,349,344,337,342,334,341,342,316,332,398,486,408,329,349,352,350,409,662,1322,1740,1598,1136,1070,1174,1586,1936,1828,1664,1532,1532,1670,1686,1742,1176,536,480,568,506,408,370,394,424,407,382,421,503,542,495,415,421,418,405,428,513,509,405,341,327,336,344,344,401,453,399,376,386,354,357,371,404,455,461,394,318,248,316,389,412,433,432,420,472,496,487,464,412,344,346,376,502,502,609,725,767,1122,1224,1166,1116,1164,1224,1138,1184,1120,1114,1148,1004,971,574,603,839,1104,1300,1508,1456,1124,991,955,722,415,414,368,503,637,671,735,897,1062,948,577,546,705,607,626,505,567,402,340,299,260,299,321,321,411,629,814,1142,1252,1186,1180,925,874,639,526,557,510,462,413,778,989,637,677,863,742,497,411,503,508,576,540,691,960,661,392,321,357,380,386,446,370,406,456,495,427,417,394,414,505,744,855,796,948,974,669,414,305,358,440,365,433,502,613,731,918,1166,1134,1015,1002,1136,1242,1420,1502,1510,1162,828,746,733,791,1074,1126,1001,1120,1032,748,650,771,718,576,454,451,422,431,438,448,446,492,1026,1262,1328,1262,1100,827,568,857,1176,962,581,441,403,321,313,361,393,462,464,735,938,818,1470,2074,1534,1024,783,844,736,933,568,436,419,632,1042,1104,835,783,762,1094,1926,1688,1284,946,748,879,1102,1009,866,582,608,1070,1368,960,561,702,599,730,509,316,736,655,868,1060,947,729,735,745,845,761,753,507,458,406,697,769,1038,1474,1378,1268,1408,1182,852,568,587,495,440,479,468,693,1254,1264,799,474,465,747,1198,1202,1052,1078,1488,1654,1410,805,734,761,644,552,422,390,451,520,804,1030,1128,1778,1748,1015,719,721,1058,1158,1534,1860,1718,972,1110,1400,1180,1312,1090,1240,1482,1344,819,473,683,724,613,727,1162,1376,1036,805,1136,1019,940,847,651,699,874,719,497,402,377,553,1078,1202,908,759,750,694,655,684,657,680,715,714,487,487,569,563,503,411,370,399,484,586,725,813,736,781,588,558,603,631,569,553,537,401,274,249,251,257,243,251,261,266,328,422,693,923,750,440,236,659,1024,716,830,891,690,823,963,874,741,807,688,470,380,397,435,449,730,953,857,1054,760,440,468,570,498,503,477,411,479,730,844,534,430,404,442,379,404,501,401,280,728,2108,2624,1544,1098,1070,1216,1050,677,520,611,642,634,564,625,720,608,476,409,411,393,567,1094,974,807,530,651,769,766,518,358,395,373,401],[371,351,350,356,373,444,508,386,380,364,331,361,425,384,323,329,325,296,291,280,272,264,253,255,268,245,242,365,450,495,527,546,551,531,427,323,334,336,373,396,412,466,436,393,333,357,447,565,587,552,398,397,457,554,499,397,587,560,440,354,215,286,363,321,241,267,403,658,772,771,879,830,585,702,995,1013,948,462,321,287,289,338,327,309,320,518,617,868,757,590,716,777,982,1004,762,680,820,1009,805,467,877,1200,919,475,448,761,1072,956,1114,1138,953,1114,1274,1494,1388,1264,998,700,388,370,333,303,286,312,344,419,492,499,677,837,720,537,722,775,917,1448,1454,1258,1296,1302,861,621,595,713,558,314,653,991,708,662,695,495,870,1228,1180,988,1130,1600,1162,756,1266,1550,1082,720,525,608,840,851,730,716,597,821,977,1192,1396,1122,893,830,1012,1186,1266,1432,1370,1146,1080,1192,891,611,1162,1500,1250,1172,1232,1036,1088,641,553,462,419,538,475,367,691,807,528,846,1354,1084,1012,1036,1340,877,630,518,350,342,428,448,590,957,1100,876,672,839,797,968,875,1384,1640,1252,973,1011,1028,971,918,794,797,1076,2564,1390,817,927,1318,1444,1264,937,893,1034,714,818,1052,665,421,751,807,633,484,567,568,497,453,390,514,799,860,1252,1670,1572,1214,1022,1080,837,588,465,622,730,823,1110,1112,995,1250,1066,1082,708,606,753,988,1118,1042,1188,1334,1246,1454,1456,1112,720,1032,830,963,1014,861,1052,817,876,1212,1024,807,1114,1348,961,1176,1384,1268,1388,1286,1048,1072,1256,1122,1278,1110,990,1082,786,473,733,755,962,1170,1086,767,750,700,402,410,865,1116,860,762,478,318,828,1266,1442,1450,1182,1116,1222,1198,1108,910,978,860,1082,1238,1174,1150,1178,1266,1112,1202,1126,749,1162,1224,1242,1230,1042,985,778,796,957,990,933,813,623,709,822,937,1458,1278,1504,1240,1176,1270,1438,1506,1440,1300,1200,1154,1144,725,1198,1300,1162,1158,1256,1148,1178,1132,996,919,1118,1140,850,661,666,688,885,1134,1007,722,656,988,1080,1094,1248,1216,1011,1040,1010,948,624,491,781,645,430,502,943,1164,1246,1328,1392,1282,1144,1252,1476,1802,1738,1586,1316,913,1622,2444,2722,1904,1006,685,954,1416,1454,1384,1334,902,708,761,597,550,473,379,382,346,489,736,822,1202,1076,1256,1130,764,774,930,870,879,791,711,742,732,894,532,695,1058,1270,1272,1268,1278,1326,1182,894,634,696,960,774,729,830,754,810,747,829,883,829,1118,1264,916,652,521,372,816,984,960,1254,1516,1490,1250,1206,836,554,537,760,583,911,1224,1160,867,714,535,464,477,844,1116,1010,901,1094,688,586,549,513,536,524,850,1294,1015,792,729,630,876,1228,1276,1160,958,1098,1180,1292,1106,1118,1288,1232,1204,1360,1072,1322,1434,1232,1452,1276,1322,1224,1422,1538,1498,1392,968,527,414,609,738,541,517,851,1220,993,916,1232,1488,1494,1158,832,1036,848,608,621,866,997,988,1078,1130,1046,1188,1332,1066,869,881,889,585,624,666,877,1172,1104,764,1268,1616,1562,1550,1422,1184,874,819,1130,1284,1162,1144,913,766,576,635,1030,1012,1042,1126,1108,1278,1160,1142,1158,1058,987,1258,1312,1440,1670,1092,793,980,826,720,1246,1328,1046,607,621,727,972,849,869,1017,1206,1456,1536,1404,920,894,1010,1250,1250,1276,1124,1434,1372,1094,978,1016,1192,1284,992,860,910,1064,1050,810,719,711,1050,1150,976,958,993,1013,1082,964,780,961,946,1015,1172,1622,1538,1198,1310,1404,1264,854,838,1040,1342,1630,1536,1260,1007,954,1020,916,850,840,940,1246,977,500,597,498,382,597,1112,1450,1550,1548,1494,1490,1580,1478,1292,1282,1166,1246,1160,1090,919,1080,1252,1210,1282,1400,1264,1128,1302,1352,1484,1886,1462,1072,1186,1158,1626,1562,1256,1224,1009,941,1294,1282,1312,1108,986,1252,1200,1304,1332,1508,1300,866,803,1166,1346,870,423,367,456,361,343,363,357,356,376,633,694,356,348,339,341,345,359,337,336,331,345,349,356,346,347,351,339,355,370,371,376,401,419,431,469,448,626,1300,1798,1390,682,430,410,396,381,432,476,507,440,321,287,287,299,299,296,307,318,298,360,499,554,413,334,304,301,289,269,270,317,412,571,397,307,290,278,267,261,274,267,267,267,278,283,298,285,301,321,324,375,305,271,276,289,301,304,276,335,671,900,734,472,350,338,451,410,348,370,365,329,322,312,310,295,301,333,395,383,376,380,441,466,422,433,476,578,766,1016,1234,1450,1582,1704,1706,1600,1518,1490,1384,1294,1066,778,566,422,361,329,379,373,379,464,415,344,328,313,330,334,310,306,305,280,290,300,335,350,353,339,332,338,345,372,378,379,364,452,751,758,1002,990,1060,1184,1268,1278,1090,1252,1348,1166,1326,1282,1212,1236,1402,1016,876,1290,1428,956,883,1212,846,513,466,763,741,509,874,1356,1494,1484,1354,1328,1424,1366,1508,1440,918,1018,1384,1454,1302,937,836,904,1003,1082,1212,1444,1478,1230,1268,1124,1128,1056,730,825,561,463,426,375,474,697,1028,1200,1206,1332,1768,1382,1300,1176,1510,1202,835,705,826,902,1030,1212,777,1098,1350,1282,1410,1296,1110,839,559,462,704,686,397,233,224,247,313,374,393,378,550,832,986,1038,1242,1238,885,577,428,480,1036,1338,1218,907,589,545,805,1018,1602,1662,1272,1178,1172,998,558,630,433,381,543,1076,1366,1140,1054,1254,971,645,514,572,533,622,736,574,734,1092,958,756,774,1070,1188,1120,1248,1302,1334,1206,908,1050,1180,987,989,667,551,1416,1802,1112,796,918,821,700,1250,1348,1316,1416,1270,905,785,1032,1114,1404,1660,1280,1006,845,1260,1278,1154,926,953,1174,1116,1122,924,724,825,976,1282,1294,1746,1488,1698,1516,1064,1098,1076,1206,1236,1088,1202,727,560,454,500,522,513,541,775,944,987,1220,1216,1136,1186,1170,1156,1196,1106,1320,1086,574,420,383,356,327,358,376,478,853,879,737,521,415,393,402,419,405,379,340,346,380,375,318,285,314,321,377,365,362,352,376,499,479,349,380,393,378,394,628,1266,1584,1410,1274,1136,1484,1924,1986,1800,1836,1898,1948,1704,1476,1606,830,522,472,500,470,414,385,375,398,390,379,397,436,513,512,470,445,439,431,433,413,421,440,379,363,309,333,374,429,554,489,443,421,379,353,373,421,471,469,420,348,288,306,366,422,452,422,444,468,491,517,445,403,429,385,370,554,790,1210,1252,836,1048,1296,1284,1180,1192,1230,1182,1192,1196,1230,1204,969,1102,908,1006,933,996,1426,1490,1386,1076,880,1104,1112,755,796,598,589,762,880,923,1084,1160,938,577,560,757,689,675,538,535,388,286,282,304,324,358,403,581,667,834,1660,1286,990,937,766,613,640,926,954,860,761,502,597,647,540,546,543,438,362,609,1186,916,520,554,975,1518,1086,615,397,352,330,401,343,350,383,434,414,409,462,444,477,583,771,777,793,844,662,653,605,456,377,355,352,347,367,461,508,742,986,1068,1036,831,968,1172,1296,1504,1460,1162,1192,1284,1194,824,749,875,947,973,830,585,654,812,847,619,467,489,461,429,396,406,492,433,827,1248,1340,1312,1340,1110,1226,1892,1506,1386,956,495,362,299,282,334,321,303,375,766,1004,1028,2046,1924,1354,717,828,785,688,970,772,497,669,1066,1346,1278,995,1060,955,1106,1202,1232,1162,728,730,1262,1354,1016,697,506,567,1084,1546,1236,919,937,532,494,561,344,475,704,834,1116,1322,775,767,1050,1120,724,654,558,561,664,816,694,616,1192,1710,1338,1364,1242,826,739,547,447,836,1138,751,409,715,916,498,473,915,1158,976,680,550,839,1009,1562,1742,1140,818,775,862,719,451,359,462,662,1026,1250,1100,2004,2700,2332,1352,947,1390,911,1196,906,558,368,736,1180,1584,1502,1376,1320,1082,1424,1246,683,713,683,458,527,769,961,910,777,1152,1158,780,461,345,337,414,513,546,442,411,557,972,941,799,678,619,808,1084,1318,907,736,718,728,543,441,444,465,439,418,383,444,628,666,704,841,795,1040,731,555,521,525,479,455,419,300,247,237,236,232,243,249,279,368,419,412,614,626,435,326,255,572,993,824,1160,1136,732,707,1072,974,828,802,827,726,605,646,565,804,1260,1266,1168,1196,905,431,413,480,425,401,383,396,384,424,366,374,341,383,429,391,354,386,424,362,503,1264,2460,2100,1032,680,972,738,549,751,759,567,546,421,456,599,619,606,487,457,430,401,312,670,1252,1238,805,962,1334,543,430,407,418,403],[403,367,354,378,386,449,482,374,358,375,354,354,377,377,335,292,292,296,304,290,273,260,252,248,255,251,251,261,303,394,507,542,510,459,466,431,386,367,362,319,326,375,375,335,324,421,505,517,454,433,420,406,459,485,502,547,861,1032,880,500,257,269,250,228,256,299,453,782,695,583,506,556,569,527,611,912,871,560,555,398,353,344,340,319,389,386,419,638,616,545,536,680,788,582,489,533,911,1154,885,785,983,910,454,424,658,568,951,1120,1400,1134,1020,1268,1224,1452,1394,1228,1324,1158,457,376,370,370,397,363,351,381,404,591,922,927,590,413,455,390,463,959,1704,1578,1530,1376,1084,1001,772,520,539,396,500,631,567,632,931,937,861,927,957,1102,1378,1718,1102,759,1038,964,730,806,694,993,1042,1224,980,814,849,1268,1078,1000,1336,1262,1038,666,988,953,838,1146,1284,1136,978,1040,962,767,792,1021,1172,1146,1026,1026,930,706,704,647,564,518,544,814,1240,1228,894,886,1016,691,863,870,1064,1124,966,584,404,446,574,643,658,831,1088,1116,956,802,827,1290,1284,1546,1690,1072,1080,1172,908,937,764,694,626,672,897,777,509,806,1216,996,908,921,999,1202,954,745,658,428,443,700,823,735,527,407,430,452,385,361,508,782,1102,1638,1778,1594,1200,1042,1001,859,752,948,1184,904,808,872,1152,1230,1276,1170,915,548,580,1180,1636,1452,1072,938,1218,1144,1456,1716,1488,1128,1084,807,943,1048,1100,1050,995,937,1200,939,973,1120,976,1014,1292,1264,1342,1384,1200,1216,1238,1262,1088,1194,946,1146,1252,882,643,893,958,948,1218,1028,450,387,442,341,301,938,1118,906,653,450,301,480,774,1236,1362,1104,902,919,883,1108,1234,1098,1064,1152,1414,1456,1256,1302,1386,1116,1292,974,666,1104,1428,1544,1234,1080,1062,1156,1212,1162,1036,1034,926,901,1058,1196,1074,1056,844,1200,1394,1400,1532,1328,1268,1202,1338,1350,1140,888,877,1218,1340,1214,1290,995,831,885,837,901,969,941,913,837,763,685,874,1086,1194,1224,1110,933,1078,1082,1078,1312,1376,811,909,1088,1024,608,346,585,725,685,855,1062,1116,1310,1294,1268,1124,1160,1166,1021,1190,1466,1698,1580,1810,2366,2144,1712,1030,963,1044,865,1102,1242,1328,1402,991,833,863,577,446,433,419,404,451,725,959,1144,1132,1200,1194,1164,1110,1108,922,724,800,758,764,966,1024,1358,986,913,1216,1404,1422,1366,1142,1016,1226,1396,1076,771,877,980,1058,811,529,502,528,786,1456,1540,1526,1286,1322,1234,722,496,811,924,948,1108,1372,1472,1060,990,648,677,585,572,705,887,1078,883,817,792,513,421,514,824,1004,822,540,631,423,351,383,441,534,641,999,1194,1072,958,761,932,1102,962,763,738,991,1362,1538,1230,1152,1324,1362,1430,1394,1440,1284,1210,1180,1292,1540,1422,1378,1252,1188,1260,1192,865,447,398,465,563,709,749,756,996,1250,1220,1112,1090,1464,1352,884,821,1110,632,525,580,665,694,757,780,875,917,1042,1138,936,916,1078,1002,569,650,734,1007,1148,910,612,904,1472,1540,1316,1364,1242,882,1028,1262,1130,1082,1616,1372,1090,721,478,609,757,1062,965,850,1396,1416,1054,694,490,987,1286,1252,1464,1350,1126,1184,1258,1172,865,1322,1170,930,842,930,952,819,634,874,1246,1152,958,1024,998,720,652,801,988,1030,1254,1234,1240,1074,868,1034,1256,1404,1388,1174,1198,1170,1504,1544,1086,930,1170,1314,1180,960,712,738,742,800,731,587,980,1001,1036,1332,1522,1332,1276,1168,1052,1152,1026,1108,1134,1426,1282,1392,1050,652,825,1020,766,875,1150,1146,1312,881,494,448,426,447,556,975,1290,1360,1308,1254,1188,1380,1194,1248,1318,1344,1452,1214,1090,1012,996,1100,1324,1242,1162,1324,1394,1346,1398,1478,1472,1332,1466,1440,1350,1404,1348,1416,1392,1346,1254,1334,1242,977,794,1078,1394,1578,1462,1300,1280,1050,1076,1294,1300,984,550,369,374,380,321,313,335,364,370,356,444,458,318,319,325,333,335,341,345,343,339,340,355,352,328,335,345,341,360,368,378,393,405,419,423,419,407,473,951,1710,1652,881,559,446,408,402,410,357,336,313,288,291,296,292,276,296,307,272,304,347,551,554,353,307,301,276,279,284,286,307,378,608,388,303,294,283,267,275,284,281,265,258,273,300,285,273,274,290,295,289,282,276,288,282,285,290,383,703,843,556,307,290,331,363,463,489,375,328,346,391,370,328,300,299,358,511,488,385,401,391,378,439,590,792,1012,1250,1396,1484,1482,1548,1554,1494,1374,1240,1158,1092,907,727,562,417,379,391,382,369,391,389,341,387,418,326,320,314,371,350,318,288,294,290,301,321,340,338,332,338,343,347,383,433,403,376,372,493,861,808,867,1068,1170,1166,1314,1346,1470,1392,1368,1178,1118,1274,1432,1300,1110,882,1062,1532,1404,967,784,1194,745,416,557,1016,720,843,1306,1258,1388,1620,1444,1370,1334,1358,1400,1194,1182,1392,1454,1466,1290,1064,1132,1250,1138,1204,1314,1354,1512,1534,1270,779,959,1188,826,644,531,420,439,636,868,1001,971,1106,1274,1208,1482,1126,836,994,1170,912,971,1050,1004,940,990,1340,1184,1122,1074,843,1132,1168,837,573,510,508,498,526,475,310,313,339,365,351,413,580,756,1214,1510,1384,1416,1294,830,791,698,567,780,1208,1400,1206,659,505,838,1034,1152,1126,1074,1318,1180,743,408,372,353,472,484,937,1554,1284,892,817,662,777,1034,1290,868,858,1160,1062,839,722,626,527,651,831,967,1410,1412,1340,1456,1456,1376,1316,1054,781,803,930,1202,1156,972,670,451,524,688,662,1118,1282,1278,1314,1350,1160,819,868,988,940,855,739,694,603,1186,1356,1324,1284,1198,1266,1220,894,804,792,758,1054,1134,897,946,711,1072,1450,1422,1332,1144,956,753,697,1168,901,577,419,541,603,509,549,607,599,850,1042,1009,1136,1134,1128,1126,1228,1166,903,581,425,393,401,390,358,385,367,432,844,871,767,567,666,612,500,429,423,413,350,339,336,330,272,278,314,353,414,388,352,308,346,507,566,543,545,406,369,642,1046,1434,1570,1470,1272,1252,1626,1924,1902,1652,1980,2018,2058,1596,1544,1306,691,537,495,479,470,470,441,430,415,388,362,335,372,400,529,562,487,462,442,413,436,435,423,349,328,348,334,350,371,469,486,429,378,394,351,334,399,456,451,412,387,312,298,350,439,431,428,496,458,467,506,414,395,385,369,407,509,940,1230,1110,1120,1152,1040,1056,1078,1088,1003,929,932,1198,1136,927,899,987,1180,1198,955,973,1318,1278,1280,1306,1190,1132,1446,1007,675,520,363,626,1023,1278,1260,1232,1220,767,726,786,659,559,547,473,313,288,365,458,453,401,525,631,829,857,1398,1066,955,669,749,890,850,1015,1028,827,1068,1148,912,781,890,1036,761,545,517,821,1148,890,571,836,1368,1786,1216,683,397,370,384,387,368,379,435,465,417,403,480,583,536,716,872,616,722,769,616,623,625,605,465,442,436,508,491,477,419,427,592,974,982,1098,1404,1420,1548,1570,1550,1486,1512,1304,1124,952,648,905,1204,1015,742,621,593,799,572,455,486,477,474,437,402,400,451,503,779,1160,1386,1376,1450,1284,1436,1528,1764,1680,1230,789,733,533,340,335,300,344,434,608,972,1248,1906,1824,921,397,625,1102,1348,1064,829,891,903,853,1100,919,661,972,1082,1098,1021,1208,1050,647,865,1122,1094,1110,763,511,520,507,727,923,918,1466,930,518,525,325,371,625,962,1482,1670,1484,1456,1454,1444,1019,733,628,518,562,966,1100,468,553,974,1146,1560,1430,1106,758,480,634,1346,1546,855,539,681,573,419,479,849,905,708,551,624,664,891,1588,1726,1246,838,515,683,722,634,673,748,1013,1428,1348,909,758,1174,2024,2316,1544,1086,631,582,541,442,477,491,1013,1762,1942,1708,1122,1256,1436,979,722,870,722,413,347,731,1178,943,945,1188,968,854,435,402,388,434,359,362,667,687,658,647,374,507,728,1164,1672,1536,1582,1062,790,674,645,561,435,417,472,484,463,393,456,778,841,755,676,554,850,735,551,480,404,314,296,276,263,258,243,240,235,262,278,322,384,420,361,396,504,455,538,396,670,1158,885,1360,1236,1088,1364,1446,1032,764,703,590,518,886,791,583,962,885,898,1136,1152,624,363,398,423,399,373,359,399,412,389,376,378,304,310,378,381,345,374,422,486,405,371,945,1270,1122,1106,1013,806,829,917,703,414,399,362,378,535,967,1466,974,544,399,374,492,1112,1842,1756,1088,866,878,387,381,307,383,395],[455,428,377,401,401,486,464,428,410,396,370,352,339,343,331,287,287,298,304,290,270,257,252,252,253,253,258,255,277,409,510,519,466,344,350,419,439,409,412,371,329,310,274,292,284,352,393,419,381,372,387,460,490,426,487,759,1094,1176,881,366,247,255,246,295,297,287,395,501,637,625,421,653,849,704,601,707,794,1015,1438,904,407,396,393,452,501,461,358,315,358,377,395,446,444,400,559,642,807,702,664,1046,996,583,340,560,779,470,546,836,1024,871,1334,1396,936,947,913,1062,1108,897,547,399,374,358,387,377,399,461,586,902,1142,1023,949,595,507,502,804,1016,1418,1776,1530,1238,1216,1208,1130,988,794,471,434,737,1054,954,1001,977,895,843,978,998,985,936,722,809,973,637,512,701,747,912,1182,1394,1230,845,897,1332,990,767,854,1126,1620,1108,1102,823,792,1104,1216,1150,929,790,1152,1356,1074,1090,1274,1152,1090,1676,1382,905,640,560,590,576,681,960,1144,1013,1130,1088,1204,979,623,761,1210,1472,1108,630,386,388,626,824,767,1078,1001,1064,1146,977,1036,1272,1420,1542,1704,1142,1024,1130,945,1220,1090,645,479,466,678,848,667,714,796,778,808,1040,1214,1248,785,546,634,536,484,620,703,619,494,471,403,356,356,389,463,594,828,1080,1010,983,833,473,619,849,901,1072,1268,998,810,731,1038,1198,1304,1264,1054,888,977,1448,1192,1144,1108,818,1164,1432,1682,2082,2088,1598,1350,1300,916,1013,1368,1340,1232,1074,1166,1252,1278,1318,1230,1184,1288,1116,1126,1316,1118,1074,1168,1398,1174,1274,1286,1240,1152,993,913,1128,996,962,1538,1354,580,449,467,365,473,1190,1504,1130,900,712,309,280,298,377,726,1164,1222,1232,1174,1252,1078,1002,1108,1344,1446,1398,1268,1282,1452,1300,1540,1062,639,887,1356,1438,1234,1008,642,834,1286,1302,1198,1246,1446,1278,1388,1476,1068,723,841,1240,1220,1340,1444,1272,1374,1542,1490,1220,1202,980,1072,1264,1214,1354,1536,1412,1016,708,729,1188,1078,1072,874,904,616,575,735,979,1026,1036,1112,1024,1064,1110,1144,1316,1236,1016,1082,1200,1066,679,469,552,823,1116,798,705,922,1072,1102,1048,1250,1406,1104,910,975,1160,1660,1700,1786,2088,2012,1416,1054,1224,1128,1084,1648,1518,1188,1242,1250,1268,920,560,433,442,470,453,542,975,1434,1602,1318,1030,898,1116,916,1224,1218,1098,1304,1214,752,1028,1342,1246,1130,1220,1216,1230,1394,1340,1100,1158,1294,1278,968,613,631,986,1018,667,610,749,824,835,1428,1480,1472,995,1310,1494,1068,841,1046,1094,1120,1094,855,1140,833,662,684,766,649,490,583,911,1066,1082,1142,899,532,430,647,998,1036,480,317,332,334,326,305,318,425,697,807,711,691,796,817,869,984,755,525,665,1024,1404,1636,1236,1218,1210,1186,1340,1412,1218,1048,1226,1556,1518,1354,1372,1496,1496,1366,1174,796,507,410,387,462,595,790,780,999,1382,1294,1254,1168,889,1218,1078,684,974,1176,1036,701,596,618,569,781,865,630,845,1034,1058,741,792,924,943,826,874,827,735,674,648,580,628,1108,1628,1500,1388,1164,1248,1282,816,576,832,1366,1442,1288,977,697,835,1086,1172,905,630,977,991,661,376,405,780,1116,1390,1376,1014,1172,1322,1250,1150,740,915,985,1007,658,559,692,518,424,797,1162,929,669,827,893,519,316,677,986,1042,1178,1136,1182,1230,1290,1354,1390,1266,1244,1228,1366,1244,1028,879,758,871,1258,1258,1368,1256,832,787,659,788,699,480,802,973,1006,1388,1376,1178,1344,1310,1166,1174,1220,1076,1005,1234,1312,1270,1174,879,716,800,545,697,1158,1178,907,546,445,464,614,543,483,678,1200,1560,1346,1146,847,1258,1304,1296,1414,1274,1278,1320,1176,1272,1342,1274,1384,1294,1294,1462,1376,1052,1076,1174,1214,1308,1428,1522,1406,1348,1314,1400,1498,1412,1346,1328,1224,921,848,1148,1290,1200,1140,1588,1460,1096,1316,1212,789,584,449,396,382,339,320,328,327,335,332,345,356,351,316,301,322,327,327,337,334,323,327,335,355,325,305,324,325,345,350,345,354,395,401,401,417,389,399,444,656,1438,1816,1240,763,506,410,404,378,322,295,289,288,296,283,277,303,300,303,292,333,349,464,489,375,300,285,272,283,306,290,268,286,308,287,307,303,291,286,307,340,309,297,281,291,307,291,287,296,301,297,296,285,282,305,308,333,468,727,775,492,314,283,332,378,418,553,611,405,330,315,358,339,314,300,328,389,491,457,459,598,751,918,1106,1274,1286,1334,1362,1334,1352,1398,1328,1272,1156,1005,984,763,537,560,580,496,393,392,409,375,350,359,386,338,373,434,328,306,306,338,317,314,286,278,295,309,321,318,321,335,341,323,324,339,395,375,371,381,417,506,629,764,932,1034,1222,1250,1280,1498,1414,1222,1306,1276,1356,1510,1352,988,703,909,1256,987,753,477,926,1116,672,517,538,633,1278,1590,1460,1318,1444,1404,1428,1396,1370,1264,1266,1530,1476,1216,1150,1182,1288,1500,1534,1410,1436,1482,1242,1054,1192,1230,976,902,921,711,583,450,396,449,640,755,1182,885,772,955,1400,1386,781,624,909,1172,786,1256,1180,809,526,702,1246,1266,1050,724,470,449,356,298,332,551,514,412,575,830,455,432,542,519,587,807,1064,1226,934,874,1102,1384,1226,1062,788,1012,861,766,1088,1290,1140,963,724,689,567,635,860,922,1234,1300,796,591,625,548,523,401,610,940,817,558,502,486,778,1434,1792,1408,1256,1306,1238,842,473,426,467,504,465,803,1334,1172,1296,1576,1576,1318,958,649,728,949,1202,1714,1250,701,475,477,499,585,656,1134,1378,1226,990,763,949,829,777,924,980,1006,799,562,529,891,1050,1114,1064,996,1100,1080,576,741,820,727,694,528,536,674,677,1046,1596,1626,1490,1042,659,564,575,693,832,695,483,741,982,922,932,743,622,792,885,1132,1190,1142,1196,1216,1314,1028,526,445,539,521,390,354,329,367,348,353,563,759,722,543,430,511,499,418,418,350,333,337,320,333,335,320,338,384,385,347,313,296,361,463,540,612,661,446,417,709,1048,1322,1530,1728,1576,1546,1814,1918,1670,1476,1632,1684,1826,1548,1716,1204,530,476,484,495,449,453,415,427,412,413,464,523,609,637,607,607,674,625,450,354,343,320,305,325,307,339,359,382,386,405,539,582,373,377,425,404,430,564,602,712,476,250,278,308,386,409,435,520,470,495,439,444,419,404,386,532,783,1058,1260,1526,1538,1186,1096,952,744,756,738,944,1188,1328,1110,990,1054,1198,1332,1134,1198,772,1026,1238,1488,1350,1332,1710,1926,1244,609,473,520,972,1254,1306,1166,1244,1306,880,874,833,651,577,561,440,350,390,600,864,747,747,727,619,704,688,1096,1012,681,720,903,1262,1274,1118,1104,1072,988,926,1024,1112,1220,1008,641,604,788,1164,1316,1040,629,829,1046,1188,972,741,437,417,510,425,348,342,383,436,414,474,562,539,713,805,666,627,786,763,872,746,610,578,559,669,666,771,716,589,518,501,725,976,1130,1386,1198,977,1426,1578,1466,1360,1064,1032,993,918,554,683,1019,894,1044,805,634,781,539,429,454,477,511,498,437,426,487,614,869,1278,1300,1224,1236,1406,1094,716,1078,1198,1100,1012,865,476,359,292,305,348,409,466,697,783,935,993,551,302,744,1750,1732,852,1042,1674,1132,443,893,780,507,1064,1260,1042,1108,1406,1300,791,921,877,938,824,718,697,539,481,527,1156,1210,1004,943,828,814,609,452,488,962,1068,1152,1670,1752,1494,1370,918,577,568,593,737,1126,1616,1354,722,861,1190,1664,1248,1190,1188,691,926,1440,1232,598,727,640,493,428,520,604,643,721,706,623,581,841,1476,1376,1432,1258,731,755,1007,935,1046,1256,1528,1490,1084,985,906,613,659,1124,1042,727,607,615,768,709,531,438,800,1646,2072,1716,786,1004,771,496,716,729,404,408,576,1034,1224,1058,1332,1436,933,1015,660,691,753,547,343,346,838,1018,869,703,436,462,614,858,783,860,1082,818,762,747,599,539,462,396,398,438,438,357,366,552,768,636,492,436,805,916,554,357,305,287,280,245,238,241,246,253,254,296,312,322,328,326,371,586,655,559,809,595,526,968,1005,644,626,1260,1922,1616,982,949,843,523,541,890,1046,1072,982,1022,858,729,729,413,383,372,368,378,383,374,412,446,401,351,369,399,391,389,401,385,366,394,426,371,509,819,1056,1096,1015,858,768,843,1010,724,458,384,443,411,535,1338,1716,1160,605,358,343,570,1414,1492,759,805,477,390,698,519,274,311,389],[478,458,414,415,442,560,609,577,509,440,436,358,317,311,307,292,274,282,297,292,279,265,260,258,251,246,248,264,332,415,441,459,406,314,300,381,418,396,390,383,383,386,306,302,277,309,324,342,322,337,390,472,501,498,601,680,902,774,438,270,270,255,284,295,271,263,392,588,694,577,591,852,786,784,912,1007,1206,1480,1534,1050,791,704,670,632,771,807,533,330,328,362,481,479,356,310,505,663,530,432,423,636,727,433,314,310,305,338,460,779,952,984,1260,1238,1050,1058,965,936,735,676,603,452,367,327,331,434,514,613,856,1190,1134,1306,1344,806,647,571,910,1214,1212,1610,1666,1230,1216,1386,1176,1108,865,522,567,1060,1194,1016,1454,1424,812,566,611,886,1220,1074,1074,993,803,611,514,641,711,769,951,988,857,1032,1404,877,631,549,721,1122,1464,1516,1102,664,598,956,1140,923,809,752,1306,1572,1152,1116,1578,1302,1174,1090,884,843,538,525,698,954,824,768,1198,1112,978,1048,1298,1052,585,768,1472,1488,1234,1076,1116,1142,1378,1114,1044,1170,919,714,655,974,1126,1021,1410,1384,1320,1009,812,944,1090,1138,822,511,469,534,572,503,561,703,648,789,874,1060,1214,969,674,662,779,905,649,499,620,601,666,572,410,362,440,334,336,556,860,989,989,930,511,288,332,509,861,905,857,1084,1056,982,1266,1458,1390,998,1166,980,798,940,790,1072,1124,996,880,1232,1650,1758,1520,1186,1048,1084,720,729,777,974,922,1004,1082,1064,792,805,906,984,1358,1204,1282,1274,1182,1306,1084,1228,1170,1208,1382,1342,1240,1154,1164,1272,1012,1008,1116,1174,660,442,460,476,664,974,1238,1314,1170,902,433,373,324,442,755,1200,1402,1418,1352,1196,1166,1214,1110,1414,1296,1208,1300,1306,1284,1250,1532,1172,812,912,1142,1238,1114,1114,903,700,1252,1182,1226,1242,1436,1282,1350,1382,1176,1126,1128,1070,1178,971,1024,1198,1350,1572,1392,984,1021,921,1116,1370,1322,1286,1570,1708,1592,1044,642,792,1058,1130,938,782,642,603,532,514,509,725,871,1028,1100,1306,1312,1202,1064,1001,1060,1152,1009,752,709,621,992,1300,964,1054,1236,1058,1036,1144,1316,1228,915,959,1062,1218,1528,1904,1960,1794,1396,1222,1218,1092,711,1546,2364,2092,1742,1574,1368,1278,947,605,470,471,502,475,564,985,1428,1224,1132,1028,705,1062,752,805,1142,1340,1722,1112,539,979,1312,1092,1052,1120,1174,1104,1074,1322,1224,1250,999,803,529,613,1020,967,742,683,1224,1528,1136,1086,976,936,800,688,995,1234,906,698,882,1078,1098,901,601,601,435,576,687,721,719,816,1060,1000,893,1026,1190,1030,875,516,524,879,760,393,276,309,346,325,278,286,493,825,722,519,553,703,768,772,1050,866,535,948,1214,1246,1570,1358,1278,1278,1278,1528,1588,1170,773,963,1486,1550,1268,1400,1408,1276,1236,1530,1004,524,412,356,362,570,796,857,1138,1464,1366,1180,1011,791,901,1058,1030,1144,1204,1256,1112,897,760,509,723,847,649,1168,1344,1012,581,581,755,857,769,911,985,650,573,581,540,486,824,1620,1500,1316,1322,1384,1248,1146,970,1028,1346,1288,1007,1120,1586,1958,1634,1448,1198,742,629,521,342,335,554,998,1290,1354,1250,1082,1102,856,885,926,673,673,964,915,691,708,959,788,597,1144,917,604,415,589,596,574,581,734,1060,1304,1350,1214,1368,1270,1144,1186,1148,990,1204,1164,1164,1126,797,708,807,932,1362,1258,1222,1120,952,1098,834,795,1028,1188,1098,937,996,1234,1190,1386,1310,1132,871,924,1096,1222,1182,934,789,1146,1434,1136,968,902,668,737,821,1052,903,548,527,882,962,564,395,421,728,946,933,877,738,732,1122,1474,1514,1358,1534,1532,1332,1166,971,873,1204,1536,1358,1194,1152,1000,930,859,1086,1466,1314,1550,1538,1452,1122,1116,1234,1296,1260,1146,1144,1046,1106,1190,1250,1262,1060,1056,1084,1238,1128,681,517,492,444,419,371,310,315,327,323,380,346,345,354,354,333,315,313,331,358,366,354,358,351,314,343,315,292,303,306,314,329,332,332,368,381,391,385,397,437,463,495,1086,1710,1548,930,495,409,384,410,386,334,299,295,293,286,302,302,279,272,287,316,333,343,332,314,326,284,266,300,325,298,276,288,294,305,315,308,297,283,295,321,296,295,275,288,307,311,305,306,309,296,285,304,314,391,491,631,892,835,484,324,317,301,311,339,362,376,403,351,356,350,346,367,357,348,355,360,375,489,807,1144,1344,1358,1338,1372,1406,1472,1506,1390,1294,1274,1062,763,537,616,821,646,472,654,733,524,461,537,458,377,376,358,343,324,374,396,311,282,295,299,301,312,295,278,282,309,331,315,305,309,322,337,350,332,342,348,366,404,426,583,938,1072,1007,1108,1354,1606,1560,1310,1136,1250,1356,1290,1340,1400,1416,1472,1138,630,760,775,576,473,882,1212,897,529,474,834,1396,1640,1674,1194,1598,1466,1168,1200,1078,919,1040,1122,1058,1006,932,1118,1298,1356,1334,1340,1282,1236,1034,986,1132,1194,980,725,641,805,916,491,437,890,1484,1200,1344,1390,1368,3046,4248,2310,929,695,1204,1810,1082,1470,1570,744,413,471,885,995,844,689,514,534,510,416,482,993,741,418,592,861,544,592,1015,922,727,1010,1334,1162,840,1021,811,942,1106,1420,890,625,892,875,956,1312,1388,1366,896,900,567,696,908,720,834,1224,1146,1090,1078,785,468,311,413,510,529,517,607,587,642,1302,1384,1042,1080,1188,1174,1056,735,491,505,556,706,752,1016,1152,913,1186,1350,829,619,854,1046,766,840,1364,1692,1066,542,412,419,577,758,1228,1472,1178,1226,949,754,605,469,797,1410,1562,955,590,658,547,670,843,587,818,891,1092,669,874,886,815,828,772,812,1220,1132,919,1350,1574,1470,1104,784,697,605,573,561,380,422,833,1202,1162,991,655,753,1082,1274,1322,1322,1290,1270,1192,1148,1030,586,626,911,757,434,341,313,322,356,374,342,390,569,498,386,448,383,373,399,373,358,350,333,318,306,298,316,358,358,334,321,316,339,413,476,469,561,542,664,735,896,980,1462,1728,1424,1530,1858,1984,1788,1642,1818,1948,1848,1776,1692,985,596,496,454,460,498,586,659,724,713,655,692,751,675,684,825,896,718,636,397,364,323,301,317,301,297,324,360,380,354,421,818,942,626,457,491,453,570,626,656,760,498,303,319,331,370,406,397,481,498,500,481,477,446,493,437,548,1009,1302,1362,1504,1330,1122,1100,1178,788,427,548,1088,1326,1270,1214,1244,1074,996,1252,1190,1272,1178,1678,1616,1816,1814,2090,2494,2024,1384,804,822,721,1180,1198,925,874,855,894,1003,1068,1018,786,454,371,385,378,332,392,502,484,693,606,715,944,984,1078,1156,1148,995,1120,1528,1554,1164,1142,1180,984,916,976,1136,1088,783,554,734,898,1246,1019,939,1116,1023,1110,1256,1128,924,519,482,499,416,379,407,433,448,479,490,504,711,1036,855,498,670,694,694,1214,1214,960,683,579,610,562,620,648,614,529,550,898,1296,1232,1078,1090,1098,1332,1486,914,722,599,535,539,517,412,510,618,799,1582,1106,985,672,465,415,411,447,464,458,452,483,492,506,829,1488,1430,1248,1018,905,1254,1334,1332,1354,1112,935,960,506,485,653,748,482,448,547,748,579,776,1118,926,500,532,709,815,724,1232,2316,957,390,821,689,672,1140,1124,942,850,1196,1182,604,783,580,559,711,919,815,579,490,777,1210,861,897,1416,1506,1266,1182,1028,921,1052,903,1036,1504,1610,1394,1224,653,582,632,719,891,1250,1692,1768,1196,1112,1466,1344,816,1622,2004,1252,1130,1142,1416,1286,1114,984,887,530,452,615,678,778,788,684,619,750,2558,1726,1666,1716,1184,1134,1190,1088,1166,1192,927,782,794,880,998,847,647,863,1302,1018,660,1192,1738,1154,662,495,532,830,1794,1652,844,738,550,340,581,565,620,942,1304,1290,948,1114,1626,1816,929,867,824,810,818,557,408,405,507,619,662,779,607,596,890,813,580,692,913,818,825,777,662,538,492,444,402,398,392,368,319,375,496,420,400,646,1280,1376,647,328,280,296,275,278,266,249,243,252,250,268,313,362,356,370,540,817,999,783,654,454,562,973,1050,729,432,631,966,1040,899,1194,1270,626,415,573,956,1328,1418,1156,682,433,575,559,439,350,269,297,358,407,423,374,337,347,348,376,374,349,378,393,379,380,365,339,479,681,673,496,458,463,407,775,1204,774,566,546,505,508,474,514,574,684,482,339,349,851,1004,818,897,601,367,579,740,545,481,532,434],[495,485,453,437,469,566,631,636,568,422,396,339,319,314,322,319,301,279,285,291,264,259,264,268,265,271,266,273,355,340,278,328,369,309,266,297,328,357,405,412,427,445,352,412,361,356,367,317,292,307,354,423,498,557,759,709,802,573,322,283,294,298,292,265,260,295,431,527,669,552,788,993,850,1132,1164,849,1074,1262,1262,1410,915,630,1250,1100,795,1472,1164,829,671,650,699,593,679,534,361,353,353,325,344,438,517,407,324,272,289,312,432,906,1352,1316,1248,1302,1548,1268,777,647,609,638,671,576,495,477,494,679,780,1296,1306,1088,757,1216,1060,952,975,1001,1282,1410,1254,1454,1570,1620,1340,1512,1388,1216,1208,703,629,1042,1026,1084,1576,1312,809,518,767,1064,1416,1186,1102,1120,641,932,964,721,899,960,1040,1266,854,1003,1046,834,843,617,921,1258,1366,1362,1296,1196,576,750,955,1090,1144,887,1438,1722,1316,1102,1134,821,904,1018,1046,1180,926,661,944,1396,1084,985,1180,1214,905,730,1260,1570,1058,683,1102,1500,1524,1344,1450,1342,1476,1500,1342,1004,563,335,344,723,1018,1218,1062,955,860,814,1044,1162,950,686,680,655,784,925,642,581,1114,1202,1064,1078,921,864,1340,1410,1088,885,833,821,495,557,660,560,619,592,486,410,478,397,392,729,1070,1138,1088,695,400,313,313,282,667,728,680,1026,1136,1316,1776,1354,1070,1064,967,1050,865,802,1134,1078,865,893,901,1024,1296,1192,714,647,844,910,626,383,339,582,1052,1172,982,1112,902,850,1036,1076,1476,1088,1148,1190,1398,1274,953,1052,1210,1274,1184,1366,1630,1514,1324,1266,1210,1072,1042,1030,666,452,447,442,614,986,1152,1222,1232,1108,760,528,422,493,885,1288,1400,1306,1232,1288,1116,940,953,1021,1112,766,835,909,1026,1188,1232,1116,1016,1172,1228,1136,1160,1298,1154,656,724,737,774,1009,1390,1452,1420,1450,1296,1362,1520,1005,1110,1178,1170,1278,1720,2162,1828,1286,1052,1130,1308,1644,1592,1186,1666,1746,1832,1582,990,807,792,798,833,534,372,455,529,472,407,485,727,1092,1318,1250,993,1148,1266,902,727,1078,1036,997,804,735,1262,1230,1280,1360,1274,1194,1152,1202,1316,930,658,868,1138,1094,1346,1718,1678,1766,1596,1420,1412,979,979,1630,1914,1566,1236,1172,1104,1142,1016,750,497,460,460,429,529,821,1038,1120,1868,1296,821,1080,1068,1021,1270,1328,1534,1310,1104,1160,1156,1220,1382,1322,1362,1062,1076,1400,1454,1274,1048,934,572,647,945,1040,969,1260,2008,1978,1576,1370,1148,940,765,789,1009,1276,972,880,745,786,765,601,638,651,546,511,639,832,1044,1310,1268,1142,988,694,832,840,721,468,321,503,622,495,317,288,328,280,259,330,465,656,763,571,481,628,667,815,1054,695,551,844,1040,1304,1538,1452,1534,1332,1144,1222,1410,1160,780,1024,1326,1500,1410,1488,1406,1056,1296,1776,1388,819,481,398,416,436,589,1009,1098,1188,1442,1526,1186,839,1016,1070,913,1024,1196,1324,1130,1078,1040,728,929,720,655,1136,1244,827,493,527,740,822,589,688,977,705,550,653,767,802,1260,1686,1582,1378,1118,910,1018,1340,1392,1298,1144,1282,1028,1254,1708,1780,1460,1350,1242,1090,909,492,365,362,454,741,1074,1086,1076,1064,1088,912,1023,1200,984,737,712,644,693,636,775,1084,1058,1028,750,692,677,537,605,761,742,752,1001,1248,1318,1284,1310,1042,921,1034,1007,1032,1234,1112,874,668,574,546,764,1026,1256,999,872,924,966,1066,877,753,1042,1378,1324,1398,1492,1122,970,1076,960,792,547,590,1198,1592,1244,828,910,1122,1284,1032,1108,707,616,938,891,886,843,593,860,1682,1534,746,404,346,459,642,601,439,785,876,643,909,1320,1512,1592,1302,1132,959,805,986,1294,1320,1162,1120,1212,1007,885,935,1003,1130,991,1356,1338,932,885,1230,1238,1268,1026,974,1286,1272,1266,977,941,1350,1622,1194,1072,1224,778,534,488,463,479,418,347,316,321,328,345,325,333,350,364,358,357,335,310,327,319,334,426,491,366,313,310,305,301,295,292,300,311,306,304,334,372,381,362,389,433,418,419,772,1410,1716,1158,487,394,344,359,330,342,334,334,309,306,323,315,286,281,311,322,359,334,324,316,330,310,291,310,312,296,285,299,294,311,302,292,280,267,269,259,288,304,289,278,295,305,296,282,281,327,418,368,386,675,924,960,756,439,309,326,306,301,318,305,297,324,314,337,351,426,451,406,359,370,477,719,1023,1324,1472,1530,1562,1498,1562,1644,1510,1224,956,670,752,1058,1044,779,607,722,1038,811,633,727,761,517,489,586,513,421,419,395,342,318,394,389,340,303,294,312,321,305,291,290,298,311,314,305,308,310,302,329,350,351,368,401,409,401,398,422,694,1088,1178,1296,1154,1408,1384,1336,1302,1214,1168,944,969,1210,1292,1356,897,826,991,659,735,890,879,1078,1118,836,680,882,1290,1462,1272,1422,1544,1270,1216,1444,1174,894,922,988,1362,1392,882,970,1106,883,1122,1188,1122,956,990,1124,1022,984,1050,753,951,969,824,571,686,788,731,625,992,1572,1688,3208,4352,2322,1654,1432,1226,1318,1214,1114,938,550,398,546,1072,1234,1086,944,732,1248,1242,564,462,843,680,522,502,472,443,824,1432,1158,561,566,905,951,780,592,505,895,1340,1478,1098,947,1168,1160,1088,1378,1440,1076,727,867,1126,1344,1016,656,800,908,797,758,872,889,604,453,405,577,639,828,1128,1306,948,811,1166,1504,1498,1398,1094,1066,754,479,416,751,990,756,1214,1346,1028,1378,1258,791,822,1558,1502,869,679,808,1562,1062,431,569,919,1190,1152,1250,1172,1076,1656,1196,553,418,438,458,919,1304,1052,947,1017,651,580,631,742,890,730,683,588,508,617,879,1128,935,697,920,652,629,1184,1506,1418,1268,993,761,594,581,486,312,429,824,1048,861,688,656,939,1250,1322,1226,1228,1290,1322,1110,995,1072,835,750,800,610,405,324,350,364,343,348,331,405,537,511,402,394,355,333,343,361,358,348,344,335,314,295,294,317,318,345,331,328,349,383,437,455,517,872,1064,790,743,754,1560,1634,1360,1728,1550,1644,1738,1750,1744,1858,1896,1876,1730,1232,1172,1012,1016,1130,1218,1148,1132,1282,1526,1326,963,720,708,1130,1442,1404,825,579,427,677,707,645,625,468,398,377,372,413,474,574,660,982,798,511,421,623,848,688,642,712,556,373,325,293,306,371,411,434,443,538,587,595,760,828,582,601,894,1178,1314,1226,1158,1290,1254,1376,993,557,674,789,996,1384,1262,1118,1034,834,1018,1196,1244,1316,1504,1588,1844,2004,2380,2610,1876,1504,987,1152,829,792,888,1040,1064,720,604,993,1144,944,603,364,365,367,316,284,533,767,718,772,929,1150,1078,1004,1042,818,576,631,1138,1214,1290,1015,1130,1108,1050,1124,1104,1190,1230,1030,662,776,701,868,677,1196,1520,1144,1244,1258,1028,869,434,552,594,482,716,639,447,409,410,448,433,641,1015,886,576,681,482,899,1632,1910,1764,1214,758,581,529,519,521,474,446,496,637,850,702,877,1196,1286,1366,1238,1746,1932,857,362,514,608,480,466,502,637,764,1068,966,593,437,362,356,384,423,430,469,544,480,597,1032,1354,1548,1510,938,926,1616,1936,1474,1248,1009,1264,1336,1054,776,894,877,603,487,653,786,780,1188,1682,1328,561,438,667,1158,872,700,853,433,449,755,571,499,698,854,958,935,883,507,613,828,682,702,864,1178,1184,945,754,1032,1078,472,625,1472,1820,1392,1234,1090,1050,1318,1568,1490,1744,1626,1282,1002,539,612,722,705,1092,1540,1198,1176,1476,1652,2036,1406,773,1312,1584,1302,1190,1478,2322,1936,1670,1826,1360,807,414,520,666,758,764,747,701,562,785,546,960,1346,1130,947,1124,1204,1026,563,438,672,813,852,1178,1226,901,1398,1962,1318,644,935,1436,1378,944,539,499,709,863,830,880,677,489,408,488,773,980,1068,1272,1066,902,993,1454,1270,641,628,852,716,382,429,509,509,754,455,415,574,788,1386,1968,1458,637,485,692,833,868,845,800,597,513,464,408,363,332,339,330,309,315,384,733,1428,1582,1294,887,374,285,281,257,248,246,245,244,236,241,277,310,341,329,382,488,689,883,1086,916,463,634,1050,1180,735,385,365,567,986,852,851,877,562,424,483,524,810,1146,677,326,414,698,886,665,443,313,337,384,421,389,343,373,381,354,363,370,322,330,348,369,375,469,599,536,451,600,482,413,385,432,626,959,619,417,411,491,525,580,626,672,644,401,383,578,1348,732,461,570,483,473,607,744,730,864,1007,573],[484,473,439,467,521,572,616,587,563,498,519,458,370,335,349,345,321,281,267,289,275,281,283,285,287,290,293,267,314,342,338,378,376,303,270,261,264,374,522,491,468,430,379,432,373,338,348,343,361,282,287,332,388,509,623,640,653,544,377,292,306,325,313,283,274,329,559,501,926,1040,999,1132,1078,1162,988,458,471,786,1354,1326,778,596,1072,1058,906,1194,1084,1070,957,919,958,893,803,435,312,320,385,420,422,403,447,458,374,297,269,411,910,1240,1252,1384,1510,1412,1302,919,446,367,478,647,868,852,791,647,696,973,948,1154,1194,757,478,808,1204,1164,857,899,933,1010,1092,1370,1088,1768,1466,1336,1632,1978,1710,1000,870,1220,1232,1230,1406,1094,1005,814,1080,1060,965,944,1042,835,627,914,985,1078,1632,1212,789,1124,1234,1422,1028,1238,1076,1011,1202,1336,1454,1144,1116,1160,750,808,1050,1130,1242,781,855,1080,1118,985,757,729,952,1002,1246,1272,1236,1128,1708,1476,1026,1018,1046,1154,1100,1260,1654,1864,1366,791,749,1038,1130,1374,1352,954,1072,1400,1296,1012,698,469,326,555,923,1384,1134,796,948,1092,1076,1074,910,828,887,840,804,796,644,872,1680,1472,1044,1078,1126,1336,1478,1084,813,690,664,537,392,514,751,1074,1052,863,653,493,499,483,420,598,1078,1274,743,423,380,386,388,298,455,642,672,851,1198,1334,1180,758,924,1310,1098,964,729,935,1414,1282,978,1116,1068,969,913,1140,727,442,392,524,515,368,383,551,1062,1122,985,1184,1212,1038,1118,782,871,904,1032,1190,1274,1102,1164,1280,1388,1420,1274,1416,1464,1092,1296,1278,1248,969,740,709,553,547,680,558,607,921,1002,1330,1318,1268,1036,841,878,650,869,1200,1112,1076,1174,1046,922,865,945,1122,1278,1130,1110,852,915,1005,954,1136,1284,1416,1266,1238,1350,1130,761,718,1012,948,680,886,1396,1444,1256,1366,1316,1604,1816,1094,1116,1382,1350,1176,1362,1540,1510,1316,1078,1140,1250,1530,1620,1530,1688,1622,1688,1452,978,827,722,762,560,390,417,533,649,565,604,816,1188,1434,1286,979,955,1200,1230,1068,1128,1346,1132,1082,1144,1174,1290,1252,1142,1150,1248,1182,1076,1304,1180,1048,1066,1138,1236,1182,1478,1438,1512,1860,1918,1692,1296,1150,1354,1316,1450,1354,1086,697,641,890,985,755,597,509,413,465,636,871,1184,1406,1652,1222,988,1076,764,1178,1594,1488,1332,1282,1386,1196,1048,1180,1254,1190,1226,1156,1254,1384,1306,912,821,966,822,602,1082,1174,960,1292,1936,2018,1520,1318,1432,1064,828,920,1188,1194,1076,1034,865,844,972,945,869,1110,921,459,500,775,1204,1280,1278,1300,982,753,849,652,357,262,326,412,392,411,377,303,279,214,248,330,360,407,462,453,478,532,580,720,854,530,675,928,1018,1136,1358,1036,1019,1112,1060,1326,1464,1150,832,971,1246,1454,1136,1296,1542,1190,1292,1440,1334,1156,786,534,455,389,608,976,988,1038,1250,1370,1006,812,993,964,724,589,794,1076,1186,1368,1228,1016,963,561,450,615,707,663,543,446,716,1021,884,666,1248,1530,1144,1218,1274,1232,1374,1440,1532,1428,1146,861,970,1192,1370,1120,1011,1094,1090,1264,1676,2032,1826,1454,1192,1294,1282,561,387,461,373,337,615,919,983,1008,1096,1290,1400,1366,1318,1000,630,792,957,913,621,1078,1015,1026,1146,1184,1246,854,876,715,737,749,1006,1274,1290,1116,949,1198,1300,1282,1254,1316,1232,1322,1092,532,475,574,800,1092,1102,1026,1200,1138,1118,1140,1120,1260,1272,1456,1650,1622,1576,1378,1324,1108,1158,1007,623,792,1294,1488,1310,871,943,1232,902,813,1872,1504,885,1310,1240,637,810,894,1304,1554,1092,1292,974,538,522,710,568,386,556,563,497,628,905,981,1390,1396,1180,1126,1234,1444,1216,1024,1060,1058,1084,1296,1312,1534,1442,1434,1136,1136,1176,875,1076,1350,1196,1202,948,750,878,908,1000,1104,895,1016,1028,955,1144,832,553,527,444,463,437,391,335,321,308,315,355,349,325,338,349,337,346,341,325,325,320,331,456,475,372,312,288,285,293,282,287,315,338,345,350,368,395,401,368,364,370,374,400,508,1084,1802,1466,657,419,346,346,350,352,374,361,320,319,331,323,296,282,325,319,337,314,310,300,291,295,294,303,321,321,291,287,292,287,275,278,290,284,273,267,284,308,295,266,278,292,312,286,296,292,364,427,666,954,840,491,316,306,340,337,328,329,331,326,336,319,346,382,382,382,371,411,576,866,1122,1332,1410,1442,1400,1436,1500,1534,1612,1476,950,635,489,567,1070,1378,1216,866,725,1454,1738,1088,763,756,689,450,556,678,603,481,372,327,312,321,365,452,466,357,302,311,313,296,285,291,303,301,296,307,315,313,308,327,354,368,408,453,421,380,363,386,450,723,972,994,836,898,1023,1130,892,714,694,866,1224,1410,1544,1378,959,1130,1200,1052,1116,1104,1023,1284,1360,1009,1084,903,850,1180,1376,1920,1582,1168,1438,1438,930,741,959,1048,1228,1388,1278,1146,1052,1148,1226,1196,1366,1382,1256,1184,1042,1058,915,703,758,1086,1148,1200,1382,843,437,536,866,1246,1254,2132,3282,1934,1498,1328,1216,1278,1214,958,745,736,683,841,902,818,899,905,782,925,799,502,459,547,517,536,451,363,400,769,1324,808,417,642,1024,1384,922,654,776,1007,1388,1444,1264,1306,1420,1426,1374,1512,1352,885,1070,1586,1782,1522,933,851,1092,809,502,590,508,473,659,651,785,1064,1186,1154,1110,1210,1078,978,1202,1548,1218,1266,1108,1004,841,551,465,866,869,835,1534,1722,1578,1260,812,763,779,960,877,1098,762,538,898,796,628,980,1322,1240,1030,1038,921,593,498,406,332,492,848,791,827,1232,927,607,740,724,578,598,686,827,818,873,951,528,432,548,646,436,468,806,902,991,1230,1438,1258,897,824,802,643,567,509,432,387,653,1294,1426,1288,1100,1162,1292,1294,1188,1036,1120,1338,1180,1126,1054,974,1058,692,430,356,405,568,529,366,342,455,505,516,529,429,392,368,372,384,344,327,332,335,344,375,408,332,307,321,437,432,371,397,468,607,619,497,615,828,623,559,1204,1588,1388,1722,1738,1522,1600,1578,1604,1670,1646,1638,1884,1590,1526,1614,1584,1712,1754,1716,1648,1598,1700,1544,1054,1044,1002,1018,1098,1268,1078,689,552,629,1038,1132,964,1034,818,498,367,360,489,709,785,561,540,444,356,649,1264,1236,965,753,697,574,454,281,250,274,335,408,403,419,497,536,573,831,789,552,761,1096,1242,1272,1238,1266,1226,1108,1028,775,605,694,580,626,1198,1370,943,695,681,877,1007,1186,1308,1410,1744,1936,2408,2474,2464,1678,1436,1152,923,812,668,537,741,1272,1126,666,768,661,584,414,372,363,344,332,367,688,851,984,1266,1340,1130,797,745,987,839,690,957,1162,843,615,857,1164,1096,1112,1294,1030,1088,1134,1142,1120,809,814,934,742,899,905,772,894,990,907,558,703,1018,625,477,873,725,474,362,251,304,307,286,507,813,789,789,617,966,1550,2036,2160,1612,880,581,536,487,414,341,323,374,505,445,377,635,689,638,744,645,876,1042,778,621,577,771,667,483,425,492,586,805,740,501,454,380,343,360,395,378,448,459,428,506,687,1072,1472,1306,950,1006,1060,1388,1272,1276,1246,1436,950,946,893,870,1078,962,613,531,575,918,1580,1618,921,615,809,1110,1182,750,479,410,339,519,744,447,585,1278,1322,1368,1644,1198,641,651,758,845,709,862,1284,1196,1042,1138,1072,1088,757,944,1102,1096,882,987,1017,876,1216,1400,1212,1282,1192,1090,643,437,489,689,727,944,1110,915,1196,1608,1872,1786,1016,904,1015,1100,1346,1023,1164,1302,1102,1748,1660,773,512,479,573,649,743,719,705,651,577,632,701,801,893,744,1234,1382,1076,702,475,437,517,713,1104,1478,1416,1250,1332,1100,519,555,801,1534,1880,1270,800,847,1210,1124,1020,805,489,505,672,847,1034,1144,1234,1036,957,1236,938,646,549,508,507,771,970,540,810,1174,1098,1540,833,505,613,1362,2036,1836,1276,736,456,565,809,849,764,825,712,556,449,422,361,330,325,318,387,538,400,929,1748,1068,670,872,531,308,284,252,230,255,273,267,253,278,298,296,286,324,273,318,429,551,905,847,594,832,1208,1682,934,615,745,639,565,516,491,499,443,379,404,371,389,376,383,534,799,896,719,682,580,461,390,386,393,382,389,496,428,398,386,334,261,343,458,415,395,705,1444,1648,852,556,427,440,402,360,561,566,429,359,317,309,328,464,579,634,555,514,496,979,1126,763,799,1060,1158,902,594,746,957,997,822,437],[481,496,524,567,604,572,445,444,566,540,499,402,331,316,348,337,322,304,280,280,290,298,292,298,299,294,282,270,303,347,365,358,312,293,292,274,292,412,460,536,541,448,397,352,276,275,318,419,530,396,304,298,428,589,573,536,457,322,307,313,325,297,289,282,273,513,969,999,1080,1144,1252,1286,780,608,679,525,601,871,1616,1098,808,701,780,869,722,709,836,869,787,891,855,916,772,416,274,292,363,444,456,442,475,415,303,310,460,719,1208,1160,1586,1544,1488,1488,1344,876,594,826,925,830,1190,1040,1306,1108,1036,959,957,1066,1284,906,484,459,661,851,796,1150,1282,1136,771,1196,904,1212,1708,1486,1560,2088,1832,1296,1290,1484,1330,1252,1416,1220,1001,929,1064,945,930,1130,1136,904,879,1044,1154,1312,1766,1232,745,834,1376,1520,950,922,1332,1570,1570,1536,1290,1142,1086,1322,1244,1502,1184,1066,1190,787,566,893,1056,1194,1404,1322,1088,1030,921,1202,1340,1006,1328,1302,994,982,839,625,668,1192,1692,1792,1198,934,769,781,872,1178,1206,704,581,1048,1056,861,1148,770,393,388,708,1242,1318,893,728,791,921,805,1094,1194,1228,861,610,578,684,825,1005,1180,1294,1316,1554,1598,1168,1098,872,626,794,612,518,597,695,1204,1436,912,630,574,531,500,496,590,1005,812,440,416,389,361,342,265,295,580,1102,1220,990,904,803,888,1020,1068,854,595,576,834,1242,1076,1056,1106,1252,760,697,984,678,389,308,351,323,296,476,730,713,706,1268,1144,728,1080,1274,977,647,622,1013,1406,1402,1216,1234,1126,1346,1310,1296,1300,1180,1296,1692,1428,1240,1090,966,1018,678,454,487,372,328,369,911,1070,966,1096,1136,1262,1136,818,1019,1092,777,617,550,443,697,894,1004,1426,1482,1218,1210,1118,1062,828,771,1124,1202,1322,1098,1058,957,601,772,1134,1100,892,691,829,957,1072,1068,1126,1126,1272,1288,1144,1174,1308,1266,973,1032,1264,1332,1292,1206,1328,1416,1354,1358,1500,1564,1634,1676,1288,998,816,942,729,414,408,606,877,769,597,822,1088,1520,1576,1019,1204,1410,1214,951,1082,1300,1346,1282,1256,1350,1232,988,862,1070,1230,1110,1186,1112,1210,1036,1198,1280,1280,1354,1588,1478,1244,1354,1488,1896,1810,1648,1372,1230,1248,1306,1262,974,869,865,891,891,771,636,487,368,411,654,977,1112,1328,1162,1124,1088,877,897,959,857,1112,1322,1434,1550,1268,1340,1176,1004,1088,1158,1104,988,1158,1146,866,679,1011,1038,558,738,783,1224,1552,1544,1494,1344,1224,1244,1074,1298,1174,1334,1116,1194,1438,1284,1050,1108,1166,1358,1474,997,535,637,932,1244,1332,1332,1164,924,840,778,416,273,276,353,371,302,328,292,212,204,232,312,379,452,572,604,743,809,453,417,584,1076,1104,1228,1344,1046,959,1296,1272,1100,1270,1340,1424,1388,1354,1086,1160,1486,1138,607,738,1120,1190,1278,1246,1180,1268,1058,674,519,530,621,677,892,889,793,962,938,852,954,886,546,666,539,734,909,1222,1156,1208,799,454,445,425,435,497,454,448,688,911,737,650,1706,2126,1434,1212,1306,1344,1428,1304,1406,1688,1532,1028,1026,1258,1240,875,794,906,1066,1134,1218,1268,1412,1206,804,1054,1264,719,700,561,323,343,444,763,1144,1094,991,1290,1302,1294,1318,1015,641,767,612,479,778,1138,785,959,1346,1002,824,610,520,705,873,998,846,944,1046,988,1004,856,877,1296,1052,1100,1272,1504,1214,566,511,909,966,1026,932,1066,1286,1256,1368,1296,1252,1370,1480,1622,1732,1352,1226,1350,1420,1488,1430,1170,1023,1066,1132,1272,1284,1056,861,709,463,415,730,762,949,1338,1188,785,1078,950,1009,1032,1274,1782,1506,971,780,691,488,379,443,425,434,505,820,798,1222,1664,1656,1626,1734,1482,1108,1064,1148,930,1114,2196,1644,1550,1360,1252,1264,1042,1190,1174,1056,1136,971,1222,1072,608,424,593,641,1004,1362,1346,1018,1222,1130,586,499,479,438,451,384,386,375,332,315,331,335,321,315,315,334,356,371,375,334,337,337,328,356,351,331,318,320,298,318,308,311,329,346,337,326,353,362,372,373,406,406,380,387,453,760,1604,1758,976,477,391,390,384,395,394,361,332,314,335,317,315,307,376,343,299,303,301,300,306,285,279,313,332,331,306,291,287,275,268,278,287,286,289,288,292,310,293,268,287,303,353,382,347,316,343,569,916,837,497,329,329,331,342,370,347,339,337,325,310,328,374,359,382,481,655,948,1242,1378,1374,1406,1462,1506,1550,1470,1438,1372,1336,1164,557,642,952,1088,1006,1498,1478,1194,963,1808,1924,1242,707,496,496,541,484,606,623,559,389,318,319,325,321,377,409,387,327,322,318,294,286,280,284,293,299,298,304,308,316,333,339,364,428,448,408,360,337,358,508,556,810,905,683,702,1080,1152,672,548,632,817,1194,1328,1864,1548,1112,1216,1172,1160,1232,1284,1616,1534,1212,855,1344,1168,905,1222,1442,1578,1454,1396,1498,1322,1138,978,808,1080,1244,1418,1384,1122,1134,1334,1234,1180,1310,1250,1156,1030,856,681,815,957,852,1418,1202,1256,1578,996,511,530,722,971,1120,931,684,1003,1166,1126,1104,783,700,691,615,751,905,1130,884,944,1204,1198,950,755,678,539,492,494,437,516,600,794,553,610,670,621,754,1168,1190,913,637,720,866,830,1250,1364,1316,1288,1368,1162,1032,1044,921,885,1368,1540,1048,925,1070,1194,1196,838,654,805,894,785,723,594,626,998,1436,1384,1058,1226,1626,1444,1110,1348,1262,1026,1132,1005,759,606,496,780,951,1052,1562,1740,1152,582,523,564,619,724,802,803,712,496,664,1126,874,916,1010,791,471,689,911,534,388,451,371,435,591,531,860,1288,899,650,515,492,633,775,637,863,966,908,990,537,568,721,915,563,582,947,896,714,704,1166,1426,1100,901,855,614,691,614,526,557,724,736,807,1036,1142,1182,1180,1150,976,854,1096,1208,1204,1326,1192,1482,1460,797,529,465,500,568,492,354,329,492,509,553,548,532,481,392,366,370,339,341,335,354,398,411,510,414,317,313,445,437,347,374,532,753,736,579,462,557,584,1024,1666,1656,1512,1772,1554,1460,1662,1658,1542,1548,1456,1676,1708,1356,1410,1622,1604,1598,1742,1778,1692,1490,1226,1148,1294,1256,1382,1252,1013,895,673,513,491,658,1023,1078,1194,1478,1023,563,567,536,547,660,709,615,426,426,544,1013,1184,1080,1040,830,894,893,725,405,315,299,333,425,452,530,677,717,512,568,772,788,1128,1460,1480,1298,1182,1204,1242,1052,662,594,574,669,551,436,1060,1164,923,1088,1130,822,753,981,977,1204,1488,1560,1844,1686,1448,1228,1244,1196,933,840,1010,689,723,1322,959,545,477,527,888,647,410,377,377,371,450,796,981,1064,1284,1058,1026,1136,1102,1042,1090,1044,940,940,944,1092,1266,1092,1126,1068,1190,833,1156,1622,1454,1170,971,1184,1350,1166,1146,762,796,1076,935,751,545,930,1104,700,683,814,604,474,367,282,306,316,267,361,592,601,501,610,789,1060,1478,1742,1260,562,378,417,467,351,369,375,351,413,463,455,444,454,487,480,480,598,606,733,652,653,984,824,540,366,802,1208,1007,825,471,413,388,372,401,401,404,448,401,442,539,536,688,914,720,587,834,713,852,987,839,1074,819,515,1140,1468,1252,1154,912,582,518,750,859,1074,1042,580,694,1060,934,738,769,902,1064,654,661,714,400,694,1434,1556,1688,1944,1628,1262,703,575,897,971,1152,1548,1070,780,1017,937,1120,921,572,530,505,362,423,540,672,880,1242,1440,924,995,818,492,373,389,504,525,556,709,957,1498,1860,2002,1276,867,774,916,1376,1226,914,946,716,851,1250,880,1022,860,619,604,688,756,547,437,510,546,660,855,1042,1270,1442,1906,1364,1108,757,480,487,579,639,941,1274,1286,1338,1084,505,692,1538,1584,1494,1380,1280,1132,1144,1498,1380,789,473,391,404,726,854,902,1360,1386,1152,1288,1272,767,518,524,537,574,954,1294,899,1058,1258,1222,1434,1030,624,614,919,1080,760,891,941,623,508,713,843,666,786,837,622,496,449,356,321,305,333,643,963,450,496,508,357,300,652,671,388,256,259,240,258,275,277,270,309,366,387,312,279,262,253,269,343,378,438,622,888,1102,1212,957,910,977,639,441,449,442,424,383,360,393,332,290,360,529,659,804,931,909,812,832,861,486,357,378,415,409,401,396,338,319,313,253,388,553,452,373,612,1496,1870,937,493,473,482,403,342,299,267,321,339,315,278,291,338,346,343,402,456,462,646,742,756,883,1168,1450,905,529,840,1382,961,462,320],[488,448,672,722,619,548,417,408,500,455,397,408,352,306,343,313,319,314,310,314,308,292,290,302,303,290,288,307,328,332,328,338,301,309,315,307,318,321,349,433,433,371,327,300,267,246,291,377,517,550,474,413,476,604,661,645,424,330,326,336,325,263,263,338,393,517,884,871,758,963,882,758,803,612,595,720,984,768,1018,828,638,650,872,1009,985,947,1054,927,805,1078,919,930,685,383,341,354,378,421,441,440,446,346,445,520,819,970,1018,1076,1312,1360,1456,1610,1572,1238,1136,1090,1086,1044,1202,904,1023,913,1078,1023,946,1064,1138,828,477,409,355,414,694,1210,1070,1019,554,600,523,770,1618,1914,1580,1296,1370,1356,1142,1058,974,1252,1206,993,1200,1480,1206,995,973,738,874,932,733,835,1126,1136,886,647,480,858,1140,1098,900,1024,1526,1600,1330,1318,1274,1214,1376,1580,987,858,778,803,763,510,805,1124,1184,1668,1932,1754,1306,1248,1108,1430,1200,948,1072,923,744,692,420,417,515,586,960,1058,1066,875,794,901,852,929,982,861,841,952,1026,663,674,555,513,632,736,1004,1204,916,601,570,642,573,891,1440,1454,833,728,682,735,982,975,1136,1086,1294,1512,1026,909,891,615,579,849,841,758,731,643,849,1102,899,597,588,597,637,725,908,794,469,380,396,431,337,290,272,295,392,843,1060,824,885,901,868,1005,918,565,427,447,679,946,1002,1074,982,1170,668,420,320,318,299,308,350,350,357,635,1144,1090,1180,1402,1038,789,1038,1132,1007,856,769,992,1282,1138,1084,1308,1614,1494,1302,1278,1308,1238,1266,1102,952,1292,1514,997,766,529,380,405,395,358,388,871,788,606,867,898,753,732,734,1136,1270,777,451,403,361,519,644,844,1290,1248,1282,1510,1054,946,776,713,913,926,1304,1344,1006,604,668,1202,1208,1044,882,908,1034,708,891,901,1034,1136,1336,1428,1282,1180,1218,1166,798,938,1350,1410,1204,1086,1448,1416,1370,1230,1120,1388,1570,1434,919,894,717,685,480,347,363,678,799,577,673,1172,1268,1282,1120,1152,1686,1300,1001,808,1021,1296,1316,1422,1332,1166,1162,921,717,1072,1294,1078,1182,1088,1146,1268,1316,1358,1418,1366,1260,874,756,800,1278,1790,1784,1826,1614,1468,1428,1248,1116,1110,1328,1450,1086,910,1236,1170,693,1330,1236,1038,1100,1156,1342,1242,1036,800,869,1144,930,576,610,1038,1290,1312,1394,1370,1042,1216,1376,1290,1038,921,1006,1176,976,612,848,798,496,389,751,1622,1748,1330,1592,1448,1094,1132,1054,1114,1340,1278,1240,1302,1134,940,1034,1038,1042,1524,1434,1158,1106,1082,1158,1032,1174,1234,1026,816,899,637,306,290,339,341,325,343,291,218,219,250,310,429,476,537,576,578,797,830,401,462,696,977,1328,1548,1302,1146,1092,1158,1126,1120,1060,1040,1158,1300,1316,1006,1162,1278,840,566,846,1394,1538,1496,1216,1216,1206,1023,901,851,962,865,711,625,724,1154,1338,1136,1100,1158,1268,675,717,604,604,471,522,857,907,576,451,448,412,461,577,666,616,788,861,616,715,1360,1458,1162,1358,1396,1172,1188,1036,1196,1614,1414,969,785,960,866,735,794,922,1160,1180,908,681,910,583,391,741,927,1001,1072,756,554,517,433,590,1106,1021,711,902,1212,1456,1564,1278,935,805,662,624,960,1030,512,739,1126,580,328,725,553,603,802,1152,1198,998,909,1028,1178,778,1044,1160,858,980,1360,1132,980,951,1076,1178,1064,886,883,1186,1796,1626,1552,1538,1512,1250,1046,1472,1692,1296,1184,1302,1362,1250,1344,1268,1238,1144,1310,1458,1324,1078,990,730,408,368,375,562,978,1418,1278,914,681,666,530,668,1032,1292,1268,1114,985,915,603,367,417,434,417,595,783,803,1290,1704,1678,1556,1576,1290,1104,844,1142,1200,1730,2136,1444,1312,1266,1388,1372,971,1000,1180,990,753,744,787,944,634,456,591,583,868,1522,1476,1108,1272,941,498,422,424,418,427,408,403,404,372,364,329,311,301,325,323,318,367,397,411,360,364,362,336,320,333,335,359,350,301,323,318,324,332,325,321,335,325,352,509,620,581,444,401,398,428,539,1340,1818,1358,675,368,384,369,365,351,341,309,296,315,299,305,298,301,275,277,304,312,314,314,299,296,324,342,316,283,281,285,287,289,289,284,283,302,312,289,289,289,295,316,326,530,580,412,360,476,830,854,483,359,323,304,321,342,413,407,393,371,352,364,375,407,572,872,1152,1346,1462,1470,1468,1464,1376,1228,1086,964,981,1208,1346,1312,1366,674,765,998,1112,1050,1400,1488,1424,1372,1184,1214,1282,814,485,458,654,638,478,434,518,457,374,321,321,307,281,314,406,453,372,330,319,297,284,291,310,311,296,298,294,300,309,322,361,408,426,433,351,309,358,442,645,879,893,921,886,1260,1190,877,516,654,887,1258,1444,1524,1180,877,1001,1254,1238,1216,1102,1088,1234,1001,1206,1340,1282,1460,1250,1056,1324,1266,1442,1332,1168,1110,1434,1078,1190,1318,1506,1212,1060,1196,971,850,1172,1322,1186,625,519,524,397,484,676,1015,1130,932,1296,1614,1008,472,549,1182,1754,1758,962,730,1160,1194,1007,1090,987,910,655,553,711,945,1060,716,954,1494,1386,953,640,431,498,487,420,422,636,921,1030,919,1013,749,918,1104,880,731,578,433,504,405,443,1080,1318,1456,1324,1538,1284,925,953,1078,1020,1030,750,624,779,1196,1076,1354,1130,908,1256,1262,841,659,631,713,954,1322,1550,1518,1428,1316,1130,1028,1326,1220,896,1084,1408,1714,1248,666,625,745,890,1290,1056,508,367,497,658,516,545,591,714,761,558,625,861,669,735,860,944,639,742,908,661,499,438,459,428,432,456,618,799,653,486,376,399,511,623,684,838,1017,854,1036,946,1050,1292,1448,954,1046,1098,886,717,609,951,1502,1340,1018,1058,832,772,651,637,891,1098,1013,1114,1134,1096,968,941,1030,946,892,1114,1158,1206,1304,1090,1166,1048,834,766,443,393,386,357,335,307,324,345,457,546,500,464,471,468,518,475,358,348,349,362,386,523,576,432,339,394,382,332,393,462,513,680,530,454,932,1050,1246,1424,1350,1402,1654,1520,1404,1530,1444,1646,1874,1832,1794,1720,1564,1532,1644,1792,2240,1804,1362,1376,1316,1344,1450,1384,1116,971,1132,1270,1021,981,948,716,663,1082,1250,1420,1516,1094,805,951,1180,1118,678,544,598,422,391,617,1088,1150,1146,1084,848,913,1094,1017,601,400,369,426,535,474,577,611,728,786,974,1008,907,1112,1372,1354,1146,1092,1216,1338,1222,605,502,503,636,544,490,829,826,700,749,948,832,928,968,734,711,807,1148,805,505,584,792,938,1178,1056,977,1238,996,721,471,320,329,507,863,1040,759,504,412,365,360,547,917,937,1082,1230,1016,1138,1206,876,954,1290,1236,962,778,855,1240,1196,819,1150,1194,1114,1017,1212,1488,1156,891,854,1094,1192,1064,1210,871,698,777,636,449,615,996,1006,831,1038,928,625,531,505,569,432,330,345,426,477,495,468,399,563,767,789,887,762,397,364,459,418,372,374,376,347,346,415,437,398,411,517,621,652,569,576,557,413,455,614,687,801,959,914,846,670,625,485,430,411,417,395,426,468,435,411,467,520,549,484,487,453,449,683,930,872,680,501,527,531,801,1296,1328,1066,944,724,872,647,998,767,691,772,739,885,1042,787,704,1010,1224,1692,930,905,949,837,925,1106,1450,1744,1684,1530,1350,569,464,522,728,1394,1526,1452,1306,1136,1128,992,595,548,762,835,822,769,598,685,819,1490,1864,1462,1140,1116,799,440,386,423,578,670,911,1028,1390,1688,1578,959,747,647,619,864,930,825,609,471,432,476,444,629,561,589,604,605,435,252,223,397,675,953,1186,1394,1652,1180,944,849,1110,937,690,764,675,572,900,1360,1382,1534,1350,1112,2020,2254,1318,633,980,1506,1090,908,948,1024,962,618,404,373,484,786,742,961,1390,1324,1100,855,444,326,390,662,952,1164,1302,1344,1160,1032,1290,1468,968,594,698,617,772,885,1396,1520,887,536,556,531,454,710,938,763,475,393,340,338,461,590,763,957,659,449,366,371,466,730,738,536,270,270,275,260,259,266,276,378,539,524,355,316,336,331,385,338,369,377,453,478,778,1140,910,828,890,716,523,425,379,340,266,307,362,347,369,509,820,753,667,1040,1330,1274,1180,918,774,569,475,419,387,350,344,327,292,273,263,309,413,553,532,391,632,941,569,362,422,419,368,366,350,316,311,292,263,247,249,258,263,294,349,352,415,470,444,651,1032,681,683,580,612,637,954,862,661,590],[456,420,604,608,524,458,429,451,422,354,341,356,303,321,339,301,317,298,315,343,309,283,290,303,303,296,297,299,341,326,294,335,319,303,276,279,259,240,263,258,252,257,256,238,239,251,273,304,367,416,490,487,480,499,552,505,310,350,344,344,356,302,278,464,558,472,590,667,700,901,731,922,1792,870,484,512,595,449,554,769,843,933,962,1380,1092,589,861,967,785,700,969,1220,712,321,354,344,369,412,452,425,680,411,487,545,979,1106,969,1182,1220,1236,1446,1230,1066,1256,1360,1005,808,971,891,959,982,962,1126,1166,888,705,853,1178,641,461,408,384,433,583,524,406,326,337,300,626,1554,2102,1982,1246,940,1092,642,593,735,1328,1316,931,902,969,969,695,680,610,1023,1222,692,770,1202,912,700,807,866,809,802,1140,1038,1214,1406,1468,1200,1098,1136,811,999,1146,680,425,578,795,876,604,850,1126,1652,1886,1766,1450,1024,1096,1232,896,797,993,1046,799,537,490,427,520,483,485,477,619,792,668,648,742,935,813,1202,968,717,836,968,718,470,421,631,724,576,528,820,738,477,497,586,530,604,700,972,1180,1004,1032,1396,1598,1372,1272,1144,1192,1328,1024,1070,933,778,673,725,973,895,698,677,605,657,477,479,586,654,829,902,833,636,448,363,404,581,511,287,278,278,275,686,962,988,1010,814,667,736,619,521,385,422,877,1086,758,885,1024,781,800,641,396,358,358,359,342,318,439,797,1146,1186,1484,1592,1288,1023,1042,1108,1058,806,828,818,1106,1004,1148,1234,1594,1528,1432,1352,1416,1378,1100,1070,942,1202,1366,775,578,393,348,340,306,343,397,584,598,525,561,598,659,1124,781,965,1062,647,400,422,451,605,752,915,1006,756,982,1005,884,1078,1066,861,741,1030,1488,1516,1176,888,1066,1278,953,1152,900,1070,1300,1088,713,513,641,932,1282,1480,1444,1122,1206,1082,967,1040,1158,1260,1146,1316,1464,1282,1378,1238,1180,1490,1348,1296,1006,897,1120,1000,642,572,777,908,974,866,1080,1298,1098,1084,954,1436,1556,1312,959,904,1152,1190,1356,1656,1608,1438,1284,919,934,828,1042,1200,1086,1066,1228,1372,1406,1302,1114,708,589,992,1184,1342,1986,1870,1776,1924,1804,1738,1630,1444,1440,1466,1588,1408,1021,828,1342,1654,1470,2226,1840,1384,1420,1442,1250,742,466,387,579,1194,924,618,736,996,1294,1328,1382,1342,1144,1226,1254,1420,970,1018,1282,1302,1278,1002,1020,1106,880,389,572,1276,1282,1396,1644,1216,1228,1284,1286,1302,1192,1192,1230,1218,1224,1166,1366,1250,929,1604,1566,1368,1294,1182,1044,807,946,1240,1066,840,994,511,332,304,325,337,325,477,463,330,250,305,470,524,482,429,417,505,534,592,532,880,1092,1008,1322,1550,1450,1302,1440,1718,998,974,991,896,1222,1446,1306,1338,1318,1064,1028,768,855,1476,1432,1268,1238,1058,955,1058,1162,1048,747,621,716,532,780,1438,1294,1124,1182,1392,1192,645,567,637,487,431,478,498,613,744,582,507,410,452,1036,1294,858,996,1052,737,620,659,701,787,889,723,871,942,912,1158,1390,1366,946,647,849,842,741,716,759,1152,1270,880,545,433,354,403,653,1126,1356,1206,1148,909,665,467,575,1142,1082,816,1026,1480,1638,1644,1556,1448,1352,1060,866,1038,862,442,800,1108,945,858,869,638,765,1036,1042,985,1148,1146,984,1122,977,1362,1284,1208,1240,1362,1214,1204,1322,1404,1486,1238,845,984,1550,2486,1772,1368,1404,1198,824,715,922,1246,1218,1096,1148,1006,1072,1432,1294,1282,1310,1334,1560,1476,1112,959,651,468,625,521,563,905,1226,1154,882,574,381,391,607,1014,1206,1246,1236,1406,1336,1116,941,608,493,545,752,786,864,1024,1142,1300,1136,1506,1428,1066,759,750,946,2024,1850,1296,1310,1192,1252,1216,983,1232,1456,1390,962,978,1086,946,698,770,699,621,932,1224,1282,1298,1118,769,469,424,464,430,432,456,440,375,364,383,327,327,323,307,321,292,323,332,369,357,368,371,349,347,337,297,285,305,285,306,323,332,336,323,311,316,332,428,585,576,616,414,385,393,401,425,1054,1708,1666,985,426,387,338,334,294,290,280,313,321,296,283,290,290,281,311,375,397,519,379,303,309,307,307,299,274,266,281,290,293,289,286,287,308,319,295,308,312,308,315,315,397,412,359,414,688,944,653,363,325,318,320,351,361,397,451,458,379,333,381,564,849,1180,1366,1402,1428,1482,1476,1328,1070,769,585,831,1220,1394,1278,1400,1224,1704,1048,944,1112,988,896,1190,1354,1426,1118,1128,1220,1100,755,441,416,552,704,517,329,365,404,355,308,306,307,293,291,351,449,533,582,566,461,315,323,310,315,295,297,291,291,296,320,356,382,404,446,435,409,390,411,605,718,813,1220,1088,1202,1090,941,561,465,720,963,1154,1264,1202,1210,1012,1154,1184,1068,1126,964,1130,1160,1126,1196,1432,1480,1282,1028,1058,1015,1216,1272,1178,1284,1440,1336,1148,1272,1370,1210,975,662,653,647,716,849,608,393,388,412,408,452,756,1068,944,767,1134,1528,1034,621,599,1260,1700,1398,875,893,1202,1042,1252,1468,1192,1196,731,544,580,794,868,724,915,1066,780,573,553,529,1011,825,462,509,993,943,745,857,978,679,655,659,702,969,711,528,428,415,446,986,1298,1378,1348,1344,1138,1120,1306,1368,1372,1110,588,757,900,1180,940,1272,1204,1158,1464,1338,1198,968,808,959,1058,1274,1418,1186,770,697,1068,1180,1174,1310,1366,1352,1466,1292,828,913,851,1058,953,672,453,442,400,505,575,402,368,422,631,658,638,567,736,714,882,1032,1076,697,570,955,829,463,658,870,599,567,520,471,434,347,301,457,594,406,487,897,1114,868,484,725,1238,1288,1138,1186,1772,2174,1620,1358,846,710,702,1294,1560,1628,1498,1198,1160,982,811,1178,1234,1194,1152,1088,984,932,749,967,1148,1080,1158,1196,1210,1282,1306,1122,735,906,709,431,576,578,429,345,350,361,332,378,497,513,542,469,525,499,390,323,339,331,339,357,513,672,507,336,367,364,325,332,452,492,594,407,726,1338,1554,1650,1584,1520,1560,1584,1454,1576,1536,1560,1654,1782,1790,1650,1526,1700,1884,1526,1586,2018,1620,1494,1578,1372,1098,783,576,606,821,1110,1132,939,1312,1338,1090,785,1098,1350,1322,1122,952,923,1082,1346,1256,683,417,471,387,399,438,623,735,857,909,830,855,1284,1472,880,444,489,839,944,520,462,562,933,1920,2578,1722,1144,1188,1140,890,711,954,1084,1128,861,467,393,424,618,717,877,866,809,1078,977,1134,1244,1100,1042,959,768,959,1248,771,376,441,466,698,904,686,814,1076,943,730,464,391,430,518,651,760,673,499,386,325,337,717,915,769,621,896,1008,946,871,892,1202,1220,1176,1334,1136,994,1050,1062,1042,1274,1428,990,598,691,866,966,835,827,1084,1426,1414,1072,846,822,852,861,827,819,1014,1015,1060,1326,1118,586,478,604,954,731,395,349,502,561,602,526,451,545,641,474,408,459,441,400,407,344,299,294,329,350,344,360,376,416,404,501,611,592,540,530,508,498,598,687,541,783,1174,754,769,686,533,433,430,488,509,513,500,469,451,454,487,525,650,423,443,507,503,554,703,723,566,546,836,1136,1190,1192,1070,960,1048,890,714,591,748,854,954,965,913,846,867,783,970,1238,869,786,698,919,1312,1206,997,1144,1346,1460,1334,1376,1260,905,857,719,945,1282,1376,1542,1508,1070,688,745,949,1096,1036,1028,1158,1166,857,1001,1208,1456,1692,1294,1018,1372,1116,621,555,653,595,467,822,1316,1588,1698,1350,922,824,815,890,1152,919,556,362,378,441,457,394,370,535,644,565,409,263,278,440,720,817,894,1134,1222,1012,589,692,885,922,990,1136,805,443,426,608,956,1454,1754,1584,1494,1576,955,428,630,1450,1666,756,894,964,952,761,700,485,395,408,595,650,829,1036,874,781,762,462,455,585,921,1116,1352,1482,1548,1366,1162,929,729,680,601,544,524,732,1086,1716,1438,748,512,416,396,459,580,840,954,564,394,345,383,518,767,605,763,1060,714,322,337,448,575,797,547,288,275,278,269,280,279,341,400,474,453,339,351,335,446,565,572,475,362,373,462,644,785,897,779,711,581,421,441,516,404,360,359,397,405,413,635,927,916,918,1008,1242,1282,1094,741,675,804,723,530,456,374,352,358,342,305,302,330,746,958,752,514,390,390,298,279,365,385,390,392,389,303,266,324,328,253,309,395,340,323,319,377,642,722,598,951,886,556,570,631,665,698,759,616,618,560],[493,742,741,393,383,431,457,518,493,391,332,295,294,329,336,300,324,314,301,296,310,325,290,295,296,296,302,293,357,358,325,323,305,285,270,250,226,244,248,234,240,253,244,250,255,252,267,285,307,347,387,439,424,451,405,338,255,305,338,339,330,322,380,542,530,550,789,1242,891,700,496,525,846,596,412,319,317,325,412,584,833,963,1001,1262,767,444,431,612,764,908,1148,1182,780,473,428,350,359,433,539,625,939,542,532,557,911,1086,898,906,1023,1248,1858,1406,1026,1346,1036,626,594,664,861,1018,888,955,1132,927,689,609,736,1036,612,435,451,453,429,451,454,428,471,483,415,569,1312,1858,2084,1960,1184,633,502,730,1372,1570,1142,1108,1078,1178,1482,669,848,786,955,1260,842,871,929,728,959,1234,1148,941,1388,1660,1132,1238,1552,1470,1202,1060,936,623,672,881,686,635,586,597,788,751,1048,1266,1602,2022,1898,1202,670,913,1072,639,1009,1744,1502,958,465,407,441,501,523,567,511,483,480,597,703,861,819,506,825,548,1210,1382,742,564,495,430,537,496,544,531,479,379,344,442,758,902,839,705,1080,1356,1280,1306,1158,1072,1206,1102,946,1362,1544,1268,1222,1230,1132,1017,1250,1054,887,895,770,734,1048,698,694,915,978,1058,825,532,573,612,391,383,489,457,319,257,236,274,501,850,1094,1036,773,776,924,717,677,558,583,792,882,915,1148,897,609,575,574,488,368,402,395,380,368,499,1009,1080,1106,1372,1410,1290,1206,992,1032,1078,636,690,867,1128,1224,1342,1262,1136,1324,1438,1354,1200,1001,609,676,725,1118,1348,641,372,366,328,328,331,361,401,583,852,919,800,535,670,1398,938,605,673,484,399,376,373,533,797,839,832,1282,1306,1152,852,890,759,519,610,976,1158,1216,1196,1132,1232,1122,882,1066,1278,1412,1440,906,512,526,578,797,1204,1566,1534,1036,1040,979,997,1102,1316,1184,1262,1624,1286,1088,1322,1138,1096,1016,1192,1140,1526,1526,1276,1038,755,633,897,1208,1456,1448,1438,1202,1256,1017,1348,1492,1114,1100,1082,1001,1060,1122,1328,1638,1772,1514,1282,1128,1296,1136,1172,1062,976,1278,1402,1376,1426,1154,1138,1004,1262,1872,1930,2106,1946,1656,1606,1736,1904,1780,1500,1482,1454,1522,1894,1378,976,976,1230,1312,1558,1714,1646,1530,1370,1144,849,403,515,606,594,1046,857,863,1056,1132,1316,1330,1360,1326,1110,1072,1368,1422,1072,786,1120,1344,1450,1286,1094,1350,1306,586,597,1152,1314,1444,1230,1254,1370,1260,1328,1092,835,1138,1416,1328,1268,1278,1276,1204,1328,1282,934,1034,1096,1182,1270,944,673,819,819,490,547,442,391,278,383,480,445,476,572,473,276,398,523,447,428,436,450,458,523,717,744,709,794,1036,1388,1500,1514,1250,1288,1588,1036,893,1088,966,1346,1576,1480,1626,1282,1005,1206,1196,940,1058,1372,1306,1306,1198,1116,1028,990,1017,817,738,951,797,615,1023,837,1152,1152,1400,1316,779,539,551,477,583,440,524,943,888,896,774,639,600,960,952,611,854,1048,993,852,584,680,960,753,775,1086,885,852,1198,1322,1390,1218,844,872,939,995,935,866,1276,1432,1160,823,558,543,662,933,1232,1202,1158,1338,1324,946,755,979,1322,1412,1438,1404,1490,1502,1422,1572,1720,1570,1102,913,1168,1064,931,897,977,1304,1298,1156,1074,1166,1644,1426,833,848,1068,1178,1272,1334,1456,1424,1338,1372,1322,1210,1296,1344,1356,1296,1204,998,1112,1164,1186,1272,1338,1544,1216,803,883,655,729,493,576,892,770,937,1036,1248,1360,1416,1318,1290,1112,600,679,671,463,550,493,562,645,657,673,756,688,528,409,780,857,666,875,871,1064,1250,1406,1388,780,498,807,1202,1244,1224,962,1032,1230,1296,1148,1104,1456,1274,945,1120,1686,1466,1074,1068,1146,1208,1070,1142,1384,1292,1106,1160,1372,1268,797,766,980,826,699,913,1024,1368,1416,937,691,641,560,500,440,415,445,432,363,346,349,327,324,320,301,315,327,319,358,366,301,310,317,331,335,315,304,285,303,289,303,326,338,341,336,301,306,329,410,444,404,482,411,357,367,382,375,725,1434,1804,1316,600,392,354,360,321,310,295,296,317,317,296,283,303,316,375,614,742,1008,608,346,338,320,287,286,282,269,279,280,279,267,283,298,312,343,336,329,325,327,330,359,492,629,608,708,944,912,539,354,333,335,331,351,382,410,403,389,428,644,990,1316,1460,1482,1532,1594,1514,1232,897,693,600,381,401,972,1238,1454,1390,1300,1214,1210,1078,1154,1246,1300,1206,1318,1420,1366,1078,1190,888,971,756,460,444,471,504,416,306,299,337,334,313,308,298,319,312,318,363,552,898,1186,849,375,338,313,317,293,281,288,312,330,346,359,399,397,398,480,695,869,596,621,633,664,776,716,659,786,997,680,425,586,923,952,1128,1208,1378,1078,1066,961,1306,1588,1282,1372,1342,1084,1248,1432,1302,1302,1044,930,1150,1122,1236,1274,1340,1300,1186,1190,1230,1044,1642,1360,860,843,603,346,417,375,352,351,385,396,479,881,1174,1270,1080,1006,1064,772,566,694,844,740,747,991,1292,1378,886,895,760,903,872,902,692,392,445,879,1322,1002,602,705,503,543,658,1328,1158,595,536,1148,894,519,808,1034,821,572,372,424,428,528,766,673,624,847,1144,1344,1466,1514,1204,1005,1366,1400,1256,1268,1140,1036,1344,1334,1230,968,1070,1256,1312,1348,1534,2220,1450,774,899,1242,1220,1132,956,765,713,1072,1238,1038,1238,1422,1444,1320,924,1106,1244,1426,1470,863,585,626,666,679,514,365,430,499,483,601,532,544,435,429,705,952,738,484,366,477,1028,814,560,996,1080,629,526,428,310,266,243,311,521,671,603,670,833,877,561,385,439,725,905,896,1002,1882,2766,2350,1764,996,836,749,1272,1664,1636,1456,1372,1340,1070,780,1282,1226,1138,1114,1158,1132,1100,1086,1170,1176,1238,1418,1340,1256,1388,1390,1130,1004,922,605,541,686,670,451,349,378,354,325,380,532,509,586,473,418,374,341,315,317,303,314,324,390,579,623,357,355,353,410,405,503,576,530,530,1110,1574,1618,1628,1534,1700,1682,1600,1594,1520,1412,1350,1316,1400,1612,1666,1322,1442,1622,1936,1824,1228,894,756,851,785,553,484,543,865,1276,1238,1466,1342,1338,1282,971,787,990,1006,1136,1162,989,1048,1052,954,777,689,589,800,777,605,486,452,464,647,826,893,894,955,1009,897,542,412,531,907,687,426,496,794,2054,2514,1584,947,919,888,781,888,1158,1188,1170,861,552,579,976,1334,1208,967,750,786,1248,1328,1214,1306,884,622,757,998,1262,1276,862,392,384,407,634,952,580,516,891,977,951,693,700,931,716,707,707,563,429,357,348,352,558,670,609,555,889,1242,1088,779,979,1346,1122,1048,1366,1194,909,977,1150,1288,1390,1396,1001,788,899,866,677,912,1264,1242,1290,985,958,948,838,763,803,838,874,1092,963,1118,1150,1026,564,444,667,1042,878,509,506,714,808,803,631,572,645,628,535,467,538,512,413,323,269,255,275,309,341,347,389,560,563,409,529,535,402,448,540,550,557,753,726,450,573,631,498,584,603,503,410,434,499,495,468,521,494,411,455,523,466,416,399,468,480,460,440,462,653,801,753,1188,1622,1404,1574,1268,1056,1206,1102,749,515,450,722,1028,1128,753,535,496,636,1030,935,592,711,865,1282,1612,1226,968,968,1474,1318,1114,974,1168,1142,1016,886,993,923,1054,1110,1322,1406,939,1040,1408,1144,1096,1005,1162,1320,1096,1222,1466,1664,1776,1370,1124,1318,1186,896,1142,993,590,700,1282,1664,1818,1370,855,860,881,1306,1312,1104,530,364,394,467,807,796,733,662,543,528,501,425,306,520,773,795,560,523,637,506,315,339,375,685,1470,1810,1650,1186,679,577,768,1234,1662,1634,1504,1366,1038,686,896,1308,1894,1926,830,796,935,625,415,613,508,373,374,452,707,936,849,848,661,750,716,876,999,846,1138,1468,1328,1228,1084,1080,834,677,638,528,475,601,677,715,891,631,496,569,434,379,440,470,675,945,824,660,549,703,1128,1498,965,780,1148,879,395,374,364,469,1160,865,346,244,276,275,319,363,371,414,477,477,541,454,396,527,858,772,500,415,326,441,480,535,708,487,678,597,550,651,648,412,478,697,616,507,713,919,1066,1130,1220,1230,1242,1080,737,538,786,965,750,601,594,598,593,465,398,354,333,298,628,779,694,536,484,415,343,317,340,367,377,305,330,311,289,289,286,336,469,498,471,408,356,564,1360,1676,1204,1188,683,525,543,560,624,711,713,550,475,373],[764,1156,854,431,505,527,487,451,502,375,290,248,284,333,324,294,316,335,310,337,409,351,318,301,306,297,295,293,371,396,353,336,315,287,278,267,253,240,230,224,220,227,232,237,237,243,255,260,284,346,392,443,399,418,381,295,243,269,309,317,326,367,451,543,377,461,472,752,781,564,339,344,441,543,640,516,301,288,280,331,392,772,709,653,576,552,559,473,477,444,426,596,637,547,443,362,356,556,667,825,939,940,857,753,773,849,800,1012,1028,1242,2486,2272,1242,1152,1005,506,391,397,531,877,1094,1058,1254,1038,1050,619,455,622,594,573,696,675,558,456,425,441,505,526,462,576,1116,1728,2094,2298,1632,832,696,944,1096,1316,1404,1338,999,1534,1210,689,752,766,965,1280,1072,592,735,1108,1134,1026,897,1348,1786,1376,1052,802,823,1122,1238,1086,899,727,860,1172,1214,773,915,871,1314,1198,1538,1398,1432,1700,1708,1168,691,801,1023,735,1148,1654,1910,1452,741,426,407,447,523,562,488,419,361,573,741,927,733,522,478,363,615,755,541,362,447,498,592,500,520,458,399,375,305,485,796,872,784,941,1250,1444,1406,1472,1011,1260,1242,823,574,1124,1416,1388,1344,1260,1150,1262,1498,933,559,942,1050,1142,1178,824,854,919,642,554,654,573,484,623,487,386,352,362,305,295,361,440,589,800,954,1036,659,670,948,919,775,797,901,728,747,984,937,1064,752,546,722,539,394,366,363,361,390,543,979,1178,1180,1050,1007,1034,1180,1078,1068,867,706,821,832,894,1001,974,946,976,893,968,1242,665,424,417,451,445,707,807,435,292,314,350,397,382,331,389,478,708,925,929,970,1342,1544,890,477,482,391,322,316,306,722,1138,982,830,1200,1132,1001,878,841,792,802,794,1100,1114,1366,1324,1158,1044,1144,1094,1216,1260,1362,1426,1144,751,991,1570,1694,1330,1166,1238,1056,933,1001,897,952,1158,1168,1506,1516,742,738,998,937,870,767,1076,1526,1468,1380,1420,1502,1262,1023,717,1144,1354,1542,1330,760,821,1076,1452,1432,1208,1100,905,927,898,1166,1322,1720,1484,1098,1116,1334,1460,1230,1028,897,1090,1302,1236,1216,1190,1058,1198,1154,1670,1678,1522,1478,1246,1246,1294,1382,1680,1744,1682,1486,1526,2038,2278,1748,1412,1194,1272,1594,1488,1294,1378,1050,951,670,473,428,828,797,585,772,932,1174,1274,1224,1266,1166,1162,1214,1170,1310,1520,1322,1186,1018,1072,1278,1284,1448,1448,1270,1056,858,597,1030,1294,1296,1296,1264,1068,1026,1042,907,869,1168,1312,940,875,890,954,1264,1264,861,739,1168,1312,971,924,1096,998,908,707,558,418,459,425,365,491,515,353,330,431,480,461,545,437,394,403,500,521,467,568,800,709,462,502,670,1006,976,1426,1260,1052,1214,1048,659,504,659,1096,1412,1330,1282,1242,1214,949,1354,1320,1050,771,1050,1258,1034,1048,888,781,1162,993,876,892,1072,679,505,660,993,1108,1270,1340,1028,521,401,402,458,427,880,1104,634,749,1070,868,714,1136,1108,839,1072,1078,1274,1532,1032,1020,1152,1208,1092,1062,814,875,1220,1330,1492,1638,1524,1248,1406,1478,1294,1206,1322,1242,1158,1015,940,1058,1064,1174,1330,1290,1456,1656,1742,1374,1252,1456,1424,1194,1084,1074,1396,1526,1092,1216,1564,1496,1246,1282,1332,1324,1312,1256,1288,1338,1286,1102,1104,1210,1836,1666,1284,1158,1208,1310,1374,1416,1322,1142,870,885,926,1322,1282,1428,1186,742,909,990,973,905,943,1218,1178,965,718,548,534,390,516,397,386,807,703,671,1124,1388,1312,1344,1300,1312,944,531,557,605,485,401,458,669,705,554,439,708,1170,1088,669,933,1052,1034,1124,985,1356,1330,1130,1024,770,787,1164,1482,1604,1394,1132,1268,1354,1430,1318,1502,1500,1522,1526,1550,1582,1438,1098,1208,1294,1360,1154,1362,1496,1476,1484,1556,1534,1344,1130,910,985,1198,1174,1178,1178,1172,1118,805,730,832,800,594,415,370,396,396,365,355,339,308,313,315,302,323,351,343,341,336,322,329,327,318,318,313,333,329,311,294,304,321,304,307,344,318,329,340,341,338,331,372,375,347,343,367,382,522,1086,1764,1652,861,484,426,406,355,321,323,327,321,315,315,289,303,323,336,495,830,944,558,367,354,329,311,301,299,299,305,280,269,268,270,279,316,347,341,338,342,343,349,414,655,849,756,799,984,823,477,344,349,346,344,377,443,501,480,657,997,1278,1404,1432,1470,1592,1474,1156,843,789,973,1228,1146,486,368,543,685,1132,1392,1282,1166,888,1058,1296,1416,1338,1346,1296,1434,1148,1120,844,673,1110,1009,554,496,488,434,490,400,428,350,346,332,314,313,317,332,346,388,549,888,1046,692,375,330,330,320,300,274,303,366,402,378,386,447,420,522,585,800,1210,869,907,769,638,539,521,605,830,1156,852,728,611,765,764,1054,1102,1270,1024,1007,1298,2004,2082,1498,1356,1266,1246,1472,1332,1248,1026,1007,1288,1288,1294,1388,1494,1384,1232,1282,1300,1220,1590,1930,1604,1246,996,622,489,555,511,364,317,342,412,493,956,976,1210,1248,1232,1056,1054,922,568,610,800,1094,1296,1178,1120,728,833,959,1330,931,912,813,422,574,934,1272,949,986,1148,755,905,1240,1282,1216,813,655,1058,1118,760,660,782,1020,1022,623,427,433,575,797,1009,1536,1622,1240,1218,1356,1476,1122,1180,1220,1090,1092,1246,1272,1070,1180,1350,1272,1172,1134,1180,1366,1634,1586,1436,842,538,756,822,704,619,579,749,1028,901,896,936,926,1094,1456,1242,1010,1244,1436,1746,1360,703,627,874,1026,797,537,372,539,736,652,547,568,650,557,503,691,658,547,919,770,430,907,987,883,1014,757,415,347,310,298,261,273,374,470,556,940,953,581,463,407,446,527,523,415,557,804,1426,2164,2084,1504,1412,1156,1204,1588,1742,1632,1452,1242,1414,1980,860,940,1334,1340,1234,1184,1118,1009,1088,1258,1248,1144,1104,1166,1142,1132,912,982,865,753,702,688,745,587,426,370,370,402,349,350,559,550,670,628,459,392,348,328,330,333,332,336,327,393,455,384,351,395,440,387,420,537,506,532,1030,1350,1602,1520,1576,1720,1560,1520,1478,1578,1666,1434,1286,1238,1474,1376,1356,1360,1388,1668,1732,1726,1512,778,471,476,466,442,551,913,1382,1340,1390,1046,1032,984,700,610,606,610,877,1016,1005,1110,893,770,811,990,847,997,1072,875,684,570,516,601,754,988,1014,952,732,545,609,622,868,1160,919,573,587,918,1002,907,821,544,689,655,857,1092,1122,1162,1264,1100,794,868,1540,1750,1248,1018,715,800,1146,1182,1082,1260,834,569,858,1118,1154,1013,808,470,361,418,584,1080,1050,851,993,948,738,645,793,1142,972,848,492,432,390,376,354,406,418,447,672,756,586,720,692,669,954,1208,995,1354,1576,1188,978,937,1062,1318,1310,1324,1096,1244,1354,1110,994,1076,1306,1340,1138,1004,976,794,598,594,856,796,843,1052,796,1060,982,778,501,427,741,944,835,783,667,724,928,990,816,791,764,693,583,478,520,505,438,408,441,307,305,266,267,304,346,560,573,546,713,662,583,591,464,455,490,597,655,476,411,351,409,639,636,487,566,792,809,613,579,732,544,389,487,447,383,413,448,467,447,453,486,534,808,1122,926,1056,1028,789,991,814,989,1278,880,570,462,661,699,654,785,564,803,622,440,611,907,1052,1130,1200,1550,1588,1322,1472,1328,1562,1430,1572,1316,1114,804,940,938,722,590,501,534,850,1386,1378,1082,1112,938,990,1130,1370,1554,1350,1214,1400,1564,1208,1072,1272,1186,1246,1324,1316,1098,858,695,959,1624,1878,1294,691,913,1040,1460,1322,1300,954,741,709,1002,1274,1256,1076,668,501,360,368,735,860,966,754,597,436,462,674,571,401,393,398,774,2006,2150,1782,1236,1036,1001,1098,1013,1052,1436,1608,1674,1368,1094,1258,1326,1042,773,796,1094,1238,777,484,493,425,360,370,633,1180,1142,840,570,410,680,1034,949,600,458,818,1054,929,1108,1326,1678,1172,594,429,434,658,749,560,412,447,466,576,695,539,469,587,640,754,849,875,874,841,962,1248,1256,1078,974,861,769,413,351,423,450,865,930,513,238,281,332,422,505,821,1282,1038,1044,965,508,427,599,1046,1006,701,488,352,302,364,444,502,624,858,681,621,557,418,677,1174,1016,576,478,878,1370,1360,1230,1242,1274,1001,1013,796,736,904,782,413,419,536,652,541,477,368,317,272,280,334,620,823,703,600,550,351,256,282,428,399,420,480,435,378,275,327,479,661,935,1124,506,432,500,974,1422,1528,1032,531,532,490,584,714,780,777,693,496,379],[748,797,598,608,644,611,561,428,334,287,278,275,303,305,288,274,290,325,319,345,413,359,324,315,313,300,292,287,321,350,353,361,343,286,281,276,267,265,250,234,225,225,227,225,231,235,240,248,258,259,321,354,394,412,363,277,269,295,287,286,323,370,382,336,311,313,261,220,259,253,275,418,485,503,623,506,300,276,275,323,353,561,452,375,404,420,438,353,361,361,340,450,512,429,373,377,417,753,937,846,1009,1126,1054,1194,1088,998,962,1226,927,964,1448,1310,856,755,740,607,611,397,484,830,863,937,1096,1214,1322,836,659,934,914,894,981,913,523,328,348,333,341,402,477,565,866,1418,1920,2072,1952,1488,988,1046,1100,1246,1032,1074,929,1418,991,851,996,916,1272,1980,1472,849,861,1252,1084,731,887,1288,1556,1178,1168,1072,819,946,966,1008,1126,1070,893,1032,1072,1120,1372,915,684,1003,1112,993,1252,1272,1060,722,600,762,747,895,1136,1246,1754,1670,1060,530,426,470,454,447,420,451,441,785,1114,902,579,422,375,378,543,961,952,926,916,902,1098,684,468,394,426,526,356,339,452,602,1128,1654,1412,1284,995,1370,1318,1666,1896,1306,1188,1378,1426,1404,1172,1178,1336,1288,908,647,480,608,1054,1476,1378,1028,849,600,418,529,685,561,523,510,502,456,352,384,405,427,457,505,592,635,639,649,468,393,621,1030,926,833,1040,979,854,780,819,1212,1322,1232,800,554,441,382,332,342,364,462,647,993,1278,951,935,658,661,949,1108,797,502,678,784,699,796,879,831,662,568,1104,1436,713,405,461,487,444,389,347,307,350,383,358,375,358,344,371,475,608,850,1012,1146,1078,759,560,657,644,389,378,395,318,540,544,371,356,831,1328,1084,999,1142,1228,1070,1076,1004,894,1060,1136,1104,1094,1252,1288,1198,1100,1226,1282,1742,1334,1230,1720,1726,1212,1052,1100,1104,1206,1246,882,789,884,880,1450,1526,860,641,768,547,479,670,1112,1208,1194,1334,1266,1444,1626,1332,983,1152,1682,1382,1092,879,1007,1238,1354,1288,1114,966,648,932,1130,1052,820,1148,1134,1017,1190,1424,1256,1054,979,790,1094,1428,1472,1374,1234,1158,1152,1192,1390,1346,1356,1250,1194,1168,1036,1028,1396,1748,1742,1498,1448,1568,1528,1714,1892,1650,1180,1236,1354,1136,915,636,1017,737,610,783,1110,1062,619,643,1382,1654,1416,1382,1046,588,688,989,1062,1152,1382,1434,1658,1420,1044,1246,1328,1494,1558,904,799,1174,886,1038,1416,1400,1270,1338,1238,1122,1072,1006,817,876,935,714,745,598,788,1278,1388,1160,990,1270,1326,1182,900,1134,1246,1030,811,653,492,465,444,450,486,355,239,271,300,473,548,522,449,418,387,377,430,484,506,571,432,420,722,875,881,916,1292,1078,1104,1286,986,623,585,592,767,1080,963,999,1218,1178,1368,1468,1222,1018,827,888,898,693,785,601,850,1072,700,566,794,1122,755,461,602,564,737,919,847,854,408,471,384,798,896,1018,1020,749,861,1202,957,882,1032,944,1102,1344,1426,1156,1322,1148,1005,952,1178,1200,882,796,1066,1136,1378,1492,1656,1362,1344,1610,1570,1322,1408,1420,1128,1118,1300,1214,1310,1318,1496,1488,1442,1678,1706,1502,1266,1314,1446,1344,1206,1096,963,1086,1030,806,892,1278,1256,843,733,802,921,1148,1300,1204,1088,1076,1080,1224,1174,1394,1406,1162,869,1040,1100,1052,969,863,1018,807,723,1066,1564,1628,1762,1224,690,1022,1046,835,788,848,1102,919,623,458,411,372,641,872,628,468,676,819,979,1126,1170,1332,1358,1416,1394,1142,920,873,969,998,938,813,821,866,761,677,972,1210,1150,1064,1030,1050,1132,1336,1324,1296,1220,1164,954,1084,998,1214,1194,1410,1308,1240,1438,1560,1366,1434,1628,1510,1450,1294,1172,1440,1484,1518,1670,1572,1542,1538,1688,1668,1438,1414,1432,1438,1362,1516,1282,1001,1002,1070,1174,1316,1124,899,932,929,927,805,596,417,394,380,345,350,375,342,310,314,302,290,318,350,350,347,337,346,337,317,320,357,335,301,320,324,308,299,308,298,298,329,338,361,365,345,313,321,322,320,339,347,354,379,517,808,1592,1826,1180,648,446,390,346,354,366,333,315,301,279,305,315,336,342,322,495,493,391,357,358,339,309,297,299,311,283,280,285,292,302,305,322,346,352,382,372,316,415,697,774,545,552,782,834,587,379,349,356,356,360,363,421,689,1054,1394,1484,1484,1584,1594,1476,1182,882,841,844,1106,1372,1338,1252,664,356,301,393,880,1246,1198,959,982,1188,1208,1404,1394,1302,1382,1322,1136,1126,829,637,794,857,816,529,486,408,441,440,584,424,313,336,345,333,309,311,308,365,546,765,517,357,340,338,313,294,299,303,320,370,365,365,406,450,438,609,640,810,1042,1026,1005,998,1148,906,672,808,955,1142,1418,1314,787,691,1090,1404,1448,1444,1194,1210,1520,1842,1716,1488,1282,1092,1204,1274,1326,1290,937,1230,1636,1532,1464,1428,1354,1294,1456,1472,1260,1382,1574,1376,1232,1030,861,647,528,578,605,608,400,350,581,816,1188,1030,1006,1246,1466,1438,1572,1274,667,717,906,1172,927,1112,1090,750,995,1166,1476,966,558,511,563,818,727,737,846,565,587,568,685,871,1244,1390,1124,880,1038,1098,770,554,815,1198,1326,901,544,563,690,695,803,1013,813,833,907,884,953,616,912,1144,1268,1510,1644,1492,1218,1448,1680,1466,1322,1522,1390,1322,1226,998,1092,691,436,570,527,429,335,324,488,980,924,839,854,768,744,1072,1236,1346,1512,1730,1610,1238,1138,835,946,823,509,417,367,430,652,792,725,739,882,720,652,666,356,413,836,795,671,999,1222,1290,1198,807,428,383,321,297,240,274,350,442,484,641,514,533,621,667,625,586,821,656,652,1040,1366,1346,1142,929,886,989,1390,1604,1688,1686,1468,1246,1144,1482,1009,946,1256,1276,1180,1156,1094,1074,1158,1298,1346,1294,1340,1142,1092,1060,1068,1394,1190,1001,971,728,461,375,374,372,430,459,377,325,572,606,636,684,501,412,408,356,368,380,359,348,359,383,366,372,360,378,387,356,381,497,532,444,1034,1424,1692,1748,1636,1500,1354,1152,1152,1360,1378,1498,1302,1440,1724,1174,1302,1448,1470,1534,1522,1992,1532,634,486,656,603,550,913,1086,1308,1268,1080,882,832,849,768,499,451,582,768,835,814,705,659,924,857,691,765,1011,1010,885,844,874,837,945,1010,1130,951,935,788,702,756,717,860,1042,948,945,961,1050,1192,1200,906,552,600,480,672,795,578,683,1146,1240,1076,1138,1360,1164,707,575,445,650,1050,1240,1466,1418,972,680,603,601,586,660,561,370,371,389,576,688,580,566,642,554,365,365,493,643,659,659,468,394,374,371,354,388,477,580,814,848,415,397,610,698,965,1106,818,840,925,923,995,956,1036,1178,1242,1128,658,783,1094,1134,1014,1156,1512,1338,1144,1158,786,577,417,559,863,741,835,921,943,1020,1118,964,735,827,1021,859,856,850,792,736,839,1016,996,879,825,716,653,816,911,538,432,443,446,347,286,248,288,332,352,413,444,680,980,875,838,701,576,495,516,466,428,387,430,427,743,1102,674,466,648,917,763,636,586,557,447,467,509,449,397,439,456,426,443,387,436,676,945,993,883,635,401,416,678,699,846,893,678,616,681,1456,1062,830,774,625,1130,916,441,656,1212,1242,1224,1290,1588,1204,1170,1532,1198,1156,1642,1534,1370,968,536,730,959,1198,842,442,479,957,1198,1544,847,561,633,967,1212,1268,1230,1430,1512,1484,1146,861,541,657,731,1100,1072,738,767,767,945,1480,1462,1204,853,591,836,1160,1470,1478,1238,1188,1232,1282,1432,1182,1246,1013,883,725,594,613,916,786,553,577,674,931,1404,1054,597,475,460,565,581,1266,2076,1650,957,1106,1126,921,724,753,1126,1428,1318,1296,1216,933,722,586,720,1106,1642,1516,922,672,517,391,350,522,1184,1690,1598,1086,617,666,859,708,439,493,764,946,1162,1528,1610,1532,1632,1510,904,669,894,1098,978,704,476,489,586,626,669,630,750,846,839,886,924,874,862,822,861,1092,1110,1144,1122,1030,789,511,378,383,408,644,991,755,244,324,412,438,531,999,1622,1946,1892,1284,1021,1150,822,1022,1626,1154,495,351,332,421,561,635,1016,1064,634,553,549,502,544,606,438,525,515,560,1064,1410,1432,1338,1220,1102,844,614,619,517,368,339,354,374,653,702,647,494,417,411,306,488,739,1023,874,847,571,370,313,309,344,296,254,284,555,908,783,413,498,527,885,757,445,440,394,491,763,1030,843,504,504,474,529,686,763,582,519,429,329],[582,469,467,664,684,646,617,531,344,297,318,329,342,285,259,284,307,337,343,319,356,359,357,376,390,373,327,288,292,310,307,295,323,295,292,286,287,289,274,253,238,237,232,228,230,238,238,234,219,241,248,271,294,301,300,287,282,276,271,282,333,374,364,380,404,329,258,212,221,219,266,417,451,374,412,383,313,300,284,320,416,561,500,389,375,377,401,382,344,330,379,473,555,467,448,438,464,775,1056,985,908,1192,1176,1146,936,800,979,1100,879,702,408,526,737,686,593,879,1138,1036,828,824,837,837,910,931,836,661,594,608,736,836,900,778,558,365,314,331,378,368,367,427,528,944,1466,1698,1766,2096,1546,1212,1068,951,1038,1070,846,924,1144,1278,1188,895,1242,1272,1178,1058,919,1282,990,558,667,1226,1574,1256,1122,922,738,785,779,958,885,865,799,1040,1166,1280,990,681,701,789,1012,949,1018,1420,1250,769,571,661,783,965,1038,1026,764,776,822,930,575,527,446,410,567,619,472,580,835,971,840,622,761,972,826,1082,1150,1416,1016,1114,1318,652,314,368,636,875,449,372,318,420,826,927,929,1076,1130,1442,1698,1958,1838,1438,1696,1504,1542,1462,1338,1224,1260,1094,788,601,594,581,925,1296,1276,993,600,412,566,624,664,577,554,433,484,510,366,369,372,419,410,401,460,502,479,648,845,568,546,979,1048,916,989,1238,1250,973,1044,1582,2028,1932,1460,789,418,392,346,337,390,540,650,636,729,689,821,651,583,568,789,738,400,560,744,749,922,773,609,528,723,984,1052,590,372,435,477,489,480,395,357,459,377,325,349,334,402,614,776,678,956,1286,1138,893,766,874,1118,905,438,361,354,320,374,457,660,867,1216,1294,1030,1001,1306,1412,880,690,606,775,1138,1442,1440,1334,1148,1068,939,1070,1204,1192,1258,1098,801,903,939,808,813,940,1102,1252,1166,436,413,634,1004,1582,1448,1092,870,535,285,319,661,1076,949,1042,981,757,1064,1436,1354,1542,1438,1166,1058,1062,1090,1184,1152,1238,1094,1128,1164,943,880,1013,1008,622,468,607,864,1170,1220,1082,1216,1120,1108,1146,1360,1448,1332,1206,1238,1206,1166,1096,1174,1308,1300,1470,1138,1000,1190,1344,1722,1836,1656,1554,1616,1798,1646,1506,1424,1102,1274,1214,704,601,529,751,807,918,1004,991,917,765,1128,1974,1798,1606,1546,1206,991,926,840,647,1034,1434,1526,1788,1656,1310,1318,1192,916,1140,959,774,1014,1312,1448,1600,1424,1286,1290,1128,1144,1148,1060,943,803,858,1017,1052,918,705,893,1138,1038,1166,1190,1106,1188,942,914,1226,1078,662,494,486,516,607,692,559,312,273,289,322,418,449,458,489,484,454,407,413,394,360,362,402,416,614,899,813,1484,1722,1026,1038,951,677,782,805,587,847,1082,1296,1292,1188,1224,1294,1212,1136,1244,1196,818,828,709,737,794,849,689,740,630,782,932,478,425,599,654,775,828,705,735,411,687,869,1098,847,554,697,686,831,1094,1130,1306,1130,1114,1108,1278,1444,1134,1190,1220,919,789,1224,1362,1104,1142,1242,1346,1410,1080,1452,1466,1526,1640,1508,1522,1764,1636,1300,1282,1440,1458,1398,1472,1750,1680,1556,1432,1444,1306,1146,1160,1074,1236,1232,761,584,549,698,676,788,1108,908,560,684,684,640,1188,1254,868,753,865,941,1160,838,938,1116,886,1013,1266,1116,854,647,713,802,1050,1216,1252,1008,1510,1642,1214,808,758,785,771,899,880,1040,950,723,439,400,456,697,742,652,530,688,1470,1154,473,576,1094,1318,1534,1290,1460,1474,1448,1304,1376,1554,1376,1164,1130,1074,1278,990,1010,1180,1220,1024,1018,1282,1324,1260,1218,1250,1202,902,1282,1048,1332,1346,1288,1400,1378,1212,1172,1232,1310,1382,1426,1400,1132,921,917,1100,1566,1582,1388,1522,1636,1634,1324,811,723,490,752,1120,1438,871,825,1064,989,1040,1376,1426,1218,1042,879,1008,807,557,403,368,362,380,390,375,350,330,321,292,288,318,352,335,312,315,351,361,347,349,372,341,319,337,318,311,283,293,293,301,304,334,337,328,320,312,312,317,330,332,341,379,397,522,600,1302,1730,1402,858,435,372,360,399,359,326,296,305,300,373,368,347,385,412,377,384,386,367,353,314,330,309,316,320,334,360,367,373,365,357,352,394,425,399,440,520,695,835,773,678,821,888,686,458,369,366,382,403,441,645,1056,1462,1600,1528,1532,1600,1376,949,627,571,794,1190,1130,1114,1154,1218,1316,901,461,379,483,634,877,827,444,503,720,1102,1088,1218,1314,1376,1240,1094,955,1054,832,576,890,1194,709,527,448,378,417,576,487,325,383,412,348,320,328,332,357,547,650,442,380,373,331,284,274,303,332,342,379,387,418,428,449,414,456,814,1142,1116,1136,1094,1086,1130,1144,1032,1007,1152,1282,1478,1302,1086,1168,1382,1440,1488,1456,1238,1178,1154,1028,1228,1406,1426,1088,1050,1130,1246,1356,1252,1220,1396,1578,1484,1208,955,1120,1432,1472,1410,1332,1212,1184,989,834,849,520,402,581,1260,1250,656,448,731,1013,1168,1206,909,966,1338,1144,1072,679,473,731,1006,1070,731,1074,997,893,1136,1100,925,814,971,722,847,585,511,639,733,599,436,391,598,875,1042,1058,1252,1322,1116,827,548,635,1028,693,740,674,392,595,849,669,595,858,691,760,942,890,634,647,983,1204,1328,1268,1056,1258,1138,1078,1286,1096,1028,998,949,904,704,643,832,816,828,679,529,448,347,375,484,513,694,970,919,799,564,633,889,1052,1442,1640,1354,1444,1288,1050,631,387,402,415,382,320,368,642,875,700,726,708,937,988,445,325,362,622,1074,1252,1346,1356,1422,1188,622,457,463,481,415,318,310,462,512,467,537,692,655,680,476,440,754,824,994,1064,997,1140,1182,1132,1040,1122,1270,1236,1538,1690,1596,1532,1498,1526,1438,1364,1250,1216,1256,1194,1118,1188,1202,1372,1372,1372,1422,1164,1308,1272,949,1186,1312,1094,997,714,400,375,376,355,383,372,380,364,585,691,607,636,420,336,342,376,396,394,394,394,415,404,380,350,340,374,381,356,366,527,583,436,1212,1622,1734,1750,1692,1314,687,540,651,672,818,1050,928,1610,1492,1300,1484,1344,1296,1522,2032,2044,1214,1120,764,1028,968,786,930,1120,1092,874,749,847,805,818,890,592,641,771,828,1064,1076,760,686,1036,1026,745,706,836,682,698,927,985,979,1176,1262,1306,1122,1008,754,645,877,841,763,933,1136,1330,1490,1254,966,1036,953,738,592,551,629,761,971,1068,1212,1244,1294,1238,806,605,490,486,526,846,1030,1080,1216,1294,1326,1038,714,753,631,497,428,359,345,352,565,637,507,507,558,552,450,513,467,408,402,469,477,441,395,360,336,363,557,592,609,598,551,467,839,783,658,837,1009,1176,1152,1098,845,735,965,881,1030,1036,738,597,926,1316,1130,1186,1410,1232,1200,1042,803,750,426,792,1038,756,525,669,834,907,1146,1170,1380,1118,1224,940,957,656,880,1028,994,990,940,918,850,731,587,735,1132,756,364,319,284,250,246,265,265,266,311,362,452,819,1036,976,908,670,580,598,466,350,246,298,434,492,1052,1736,838,509,610,838,679,487,552,448,357,365,368,386,499,774,603,408,446,405,488,865,937,847,893,755,617,667,992,1034,841,600,593,490,925,1444,1374,1396,1082,667,794,642,436,883,1394,1144,1260,1392,1920,1390,1338,1030,838,1160,1402,1304,1220,667,384,412,538,613,729,727,625,1064,1472,1426,738,539,672,755,934,1015,915,1190,1460,1550,1080,554,318,542,733,937,809,426,431,448,741,1096,766,602,586,593,966,1498,1570,1354,1378,1266,1398,1458,1318,896,1017,965,951,789,788,822,650,488,535,568,555,954,1256,542,492,657,571,547,525,730,1096,729,818,1218,967,733,539,472,724,967,1544,1328,1114,815,510,460,503,914,1390,775,608,867,582,446,786,783,1072,1856,2392,1772,1130,1094,902,437,471,774,1008,894,873,1246,1306,1140,1676,1880,1284,1188,1084,935,603,524,505,612,565,543,628,632,733,789,796,829,807,723,668,620,691,969,1072,1058,1005,1334,1112,654,392,393,494,610,1004,1036,508,736,524,498,518,755,1542,2026,1854,1400,1794,2166,1064,1194,2054,1202,654,459,402,422,542,642,1052,883,431,388,390,455,373,359,539,627,539,385,520,1054,1498,1500,1206,1024,802,744,458,339,325,295,475,607,621,651,845,798,667,492,355,595,631,659,714,855,762,550,491,604,802,772,394,268,444,1015,1152,552,411,288,407,332,338,374,386,455,545,517,532,525,496,473,495,586,492,395,434,401,361],[576,509,461,559,698,716,637,529,391,295,284,288,284,280,289,346,338,336,349,338,354,386,447,488,458,389,330,297,309,298,306,311,311,295,299,300,299,303,304,297,275,269,257,272,258,250,245,241,232,243,261,269,267,267,271,283,277,272,278,297,363,401,401,499,480,337,268,210,208,227,262,337,392,369,341,378,418,351,260,269,351,444,436,457,440,434,369,389,320,360,416,473,551,567,514,392,476,944,1240,996,626,962,777,849,814,785,900,1050,1146,866,499,590,707,876,543,664,976,1172,940,843,1050,1001,1100,1210,835,720,695,619,750,796,755,1050,833,414,390,448,397,340,395,440,408,667,1112,1742,2008,2104,2062,1688,1036,1344,1606,1012,744,1028,1248,1268,1232,1282,1364,1044,986,901,874,1260,1200,812,738,1064,1120,1202,831,637,723,799,874,610,454,396,625,1098,1222,1048,677,531,898,1138,1336,1278,857,770,1044,1064,947,1008,996,947,1058,1024,724,871,898,1258,637,494,619,818,919,837,957,1020,833,1170,957,819,1142,1250,977,993,1148,1160,807,833,868,667,497,328,432,715,507,426,363,391,303,369,698,1170,1214,1196,1588,1466,907,1024,1542,1802,1822,1748,1622,1590,1560,1366,973,690,779,912,1060,1054,1058,881,673,486,512,555,717,749,632,434,438,492,367,373,358,451,409,393,422,419,530,1128,1346,796,653,1146,1268,1144,1028,888,1082,1270,1388,1758,1992,1946,1334,578,404,386,360,360,412,645,881,1120,1128,722,762,1286,1322,809,693,769,421,414,510,605,886,927,988,928,1044,803,399,405,435,458,461,430,453,409,372,317,356,358,411,646,749,832,890,1005,1320,1178,980,1044,825,1108,1262,837,438,333,348,393,413,663,1296,1434,1310,1302,1174,1036,1448,1366,1288,987,869,1172,1302,1330,1498,1452,962,1066,807,1218,1244,1366,1326,796,648,796,1060,1224,1290,1084,1140,1204,978,488,441,557,1158,1476,1244,1084,800,443,351,386,588,1036,953,769,836,1010,1302,1204,1372,1580,1448,1068,1118,1172,1316,1146,1104,1314,1262,1268,974,649,600,1052,1260,870,802,733,858,969,1214,1284,1246,1040,1236,1226,1272,1398,1316,1204,1204,1252,1204,935,742,960,1382,1296,923,1232,1332,1468,1810,1902,1886,1654,1320,1176,1064,1322,1448,1300,1148,733,424,414,405,493,602,628,767,822,794,1124,1136,980,1024,1274,1290,1390,1342,1010,766,1148,1560,1138,1344,1282,1038,1226,1286,1068,675,822,1282,1218,1302,1488,1432,1290,1202,1078,1066,1100,1210,1382,1358,1048,737,922,1056,1007,1134,808,901,767,732,1268,1344,1015,1176,1158,1042,1036,641,491,600,841,752,744,630,530,370,304,288,348,397,418,441,444,472,495,460,461,396,350,399,480,467,415,466,493,919,1017,691,805,771,1032,984,1056,886,1140,1318,1678,1538,1100,1030,1116,1216,925,1050,1084,1054,825,925,954,946,805,843,1158,1015,847,851,634,836,763,833,819,948,1324,1160,647,858,1266,1212,879,573,572,627,841,658,997,1334,1368,1354,1412,1294,1140,1130,1384,1362,1094,990,1356,1210,1286,1208,991,1354,1360,1194,1504,1620,1592,1534,1376,1172,1456,1460,1252,1360,1322,1512,1542,1478,1420,1390,1378,1406,1428,1218,1008,860,802,987,830,611,445,339,487,485,556,663,628,536,888,800,733,980,1040,811,855,1040,847,949,992,955,1044,1020,1050,1060,1102,742,490,502,501,641,810,944,1002,1152,1324,1118,942,990,865,564,651,799,1022,812,518,452,450,504,808,1048,1014,841,1010,2102,1296,625,515,560,781,1124,1108,1294,1554,1418,1158,1366,1466,1426,1009,1336,1482,1688,1326,1120,1072,1182,1090,927,858,985,1216,1218,885,968,1001,1050,969,1154,1326,1374,1294,1154,849,677,823,1058,1400,1488,1528,1190,1050,861,913,1328,1332,1268,1284,1294,1304,1114,670,731,419,344,836,1060,750,865,944,802,979,1022,1060,1034,1384,1056,813,785,594,428,364,363,392,394,356,356,347,323,303,295,315,335,328,313,323,351,354,339,321,329,316,346,324,297,311,289,289,295,318,319,319,320,321,310,320,308,320,337,341,348,351,389,451,482,1016,1642,1632,1168,522,378,363,394,339,339,349,332,351,373,359,455,661,744,694,602,481,402,381,350,340,332,329,353,487,651,748,847,923,821,648,681,698,787,891,1026,1078,1022,978,924,854,696,511,400,360,385,406,549,955,1332,1556,1576,1566,1654,1602,1146,733,644,590,905,1208,1498,1216,1162,1005,1036,1382,1194,649,512,836,735,661,463,346,379,348,789,995,1048,1256,1184,1202,1336,819,909,1116,951,1224,1150,1011,804,500,452,424,409,422,357,368,365,326,322,324,336,344,520,554,460,407,356,328,297,322,354,332,340,396,423,439,497,559,499,589,1134,1478,1284,1056,1044,1086,1052,1140,1086,1214,1188,1286,1366,1252,1268,1450,1440,1502,1366,1180,1140,1256,1148,932,1118,1224,1172,1038,1170,1400,1418,1488,1374,1280,1474,1538,1548,1150,1248,1178,1012,1232,1154,857,777,838,762,676,651,444,455,451,800,685,695,778,987,1254,1400,1212,901,761,684,435,455,453,639,1176,1298,1014,800,822,596,691,1017,725,722,1009,1396,1140,1334,679,489,1120,1214,968,858,649,754,681,785,901,958,656,449,433,531,634,747,940,984,726,686,810,530,620,867,1011,877,944,1004,745,884,1150,1322,1438,1410,1264,692,959,1148,1066,770,862,1023,956,1096,1078,1090,1094,701,922,1404,1184,591,408,327,381,461,444,739,990,822,642,645,651,521,741,1428,1192,1208,1282,1182,1356,1236,808,472,543,550,360,320,318,397,491,536,481,585,445,286,291,393,848,1204,1270,1384,1290,1310,1040,743,484,807,879,677,536,434,304,308,462,449,479,337,282,322,444,357,421,1032,1194,969,904,1072,1178,1134,1126,1098,869,1020,1416,1548,1478,1522,1564,1512,1238,1302,1392,1300,1226,1140,1048,1154,1344,1242,1230,1070,846,1346,1402,825,581,590,574,576,461,365,356,343,357,370,387,415,416,592,749,504,398,342,330,352,354,354,365,375,385,383,375,378,355,343,366,378,383,387,612,642,453,746,1152,1334,1472,1520,1208,821,623,596,647,1019,934,1026,1676,1350,1354,1540,1268,1376,2172,2358,1316,753,907,1214,1268,1186,1058,1032,1013,1013,944,1001,971,919,882,887,767,736,886,1076,1226,1438,1072,771,971,920,697,599,565,608,894,1058,888,962,1256,1354,1262,1134,1024,595,489,871,906,1000,1166,1376,1564,2092,1462,813,865,1152,1200,756,525,554,942,1666,1338,1110,1228,1196,857,631,720,890,830,890,1272,1214,1302,1360,1386,1678,1282,848,796,616,469,381,361,389,435,655,959,936,1042,985,1574,1218,1196,809,410,389,446,561,556,455,502,629,532,627,560,949,692,592,653,976,811,490,739,1218,1562,1274,1316,867,686,891,1066,1038,1170,1308,1130,1178,1194,890,1050,1306,1126,1346,1104,496,369,601,1320,1334,838,746,912,880,773,1011,1164,1368,1218,754,845,786,455,778,1042,1052,1036,991,975,877,940,670,461,724,910,485,283,280,237,302,335,247,298,379,386,606,938,777,794,674,557,812,648,375,259,222,281,399,605,965,1132,675,509,512,597,485,499,560,448,397,370,343,275,368,572,535,324,302,397,741,1019,1036,1202,1092,733,777,741,1054,1320,1348,907,646,649,1276,1322,1510,1328,825,689,802,709,444,462,824,1084,1174,1548,1444,1522,1286,829,1142,1382,1408,1434,1186,594,420,393,440,585,1236,1408,1352,1158,1050,1038,729,460,662,1005,1038,805,791,805,1154,1388,953,428,355,601,898,984,796,460,489,435,594,811,890,1202,1086,744,785,1218,1260,1216,1526,952,1306,1416,1036,987,1114,998,919,1086,951,556,408,480,485,489,462,598,503,468,492,796,847,606,528,814,757,583,1282,1932,1154,1005,752,661,665,625,1230,1626,1494,1032,724,437,423,520,819,654,1090,1072,785,807,1158,1074,1086,1782,1844,1266,969,826,882,971,1332,1230,811,534,794,1350,1866,2122,2492,2120,1278,1328,959,587,455,422,453,577,501,470,492,466,538,642,631,541,467,497,450,443,597,856,1000,1078,978,977,819,564,322,457,894,1154,1398,1494,1170,1186,669,462,484,537,1128,1440,1128,1024,1154,943,622,965,1320,770,523,497,395,599,917,771,561,426,356,337,501,525,416,469,691,640,537,546,568,713,1120,1354,1052,1056,922,1044,650,361,298,286,466,1028,1176,618,706,774,568,558,487,587,659,441,380,613,914,1008,980,1026,1266,997,382,303,344,478,518,437,358,326,357,378,313,310,334,365,416,492,440,448,476,501,536,503,358,401,522,532,444],[582,551,458,635,830,799,670,660,559,388,313,340,332,350,344,380,346,311,316,344,374,384,486,522,443,364,322,312,310,312,335,333,321,326,314,284,312,317,305,314,308,293,283,269,273,276,264,258,255,261,255,255,250,241,259,289,283,262,274,308,370,433,429,423,382,299,277,207,232,243,290,335,374,356,312,378,469,382,305,352,360,409,763,992,963,886,626,381,359,424,459,447,414,395,397,445,456,821,900,654,647,711,600,630,805,898,878,756,949,1052,1098,1014,780,1078,909,929,996,839,833,1048,1170,1278,1510,1770,1300,982,849,652,807,745,477,689,816,777,545,408,397,315,327,354,437,815,1206,1336,1472,1558,1982,1964,1408,1480,1240,703,955,1404,1438,976,1294,1344,1296,971,720,1224,1388,1328,1344,1030,1220,939,664,995,524,425,467,778,730,437,449,404,408,545,934,1284,979,520,515,848,968,978,735,886,1336,1252,1072,1222,1382,1208,1484,1588,915,871,1346,1372,834,728,904,1158,974,765,1344,1960,1232,1100,1023,974,1590,1290,1024,1130,955,692,608,874,1124,990,588,402,463,380,407,359,323,483,578,833,1096,1092,891,764,664,504,608,1001,1448,1716,1432,1332,1454,1508,1436,1114,988,1076,1166,870,873,1017,921,860,836,767,577,554,663,753,583,412,396,538,373,365,441,514,528,545,528,594,738,886,940,854,704,1248,1262,1134,1312,1328,1050,1016,1004,1009,1266,1480,1114,522,452,416,395,399,408,687,1692,1568,777,529,751,1182,1018,653,519,555,470,425,385,587,904,990,1184,1072,1014,794,418,433,428,414,460,389,390,412,352,320,407,507,792,1104,1092,1002,875,1024,1164,1494,976,917,859,953,960,646,433,347,373,351,486,796,958,869,1001,993,678,786,1005,1094,946,639,929,1396,1500,1390,1322,1324,1144,1210,1230,1254,1366,1486,1056,965,1144,716,864,1300,1556,1404,1032,1084,1052,538,443,852,1324,1356,1400,1040,525,378,390,388,491,783,1204,1184,1050,1272,1078,916,1002,992,1296,1344,1322,1414,1616,1188,1270,1516,1436,1224,965,666,673,1100,905,887,1170,1020,995,1252,1184,1162,1023,1014,1206,1302,1214,1013,1042,1288,1288,1276,1270,1306,783,644,1284,1206,1260,1500,1304,1284,1584,1874,1974,1792,1510,1334,1048,1214,1290,891,521,395,389,418,476,557,863,1150,1282,1348,1072,1112,880,478,808,1230,1296,1268,1104,1034,1038,1230,1568,1166,1046,1078,1258,1322,1266,1114,744,694,1086,1482,1650,1468,1224,1184,1172,993,952,1204,1264,1310,1190,1010,1130,1152,1058,1074,969,898,1076,1230,1536,1518,1188,1094,1302,1168,1080,1004,624,757,924,1174,984,958,798,561,449,434,390,412,405,475,493,486,468,433,408,444,441,443,518,510,425,428,386,360,709,1014,696,720,626,872,745,809,974,1019,1166,1446,1246,989,985,1112,1242,992,1252,974,1001,946,1066,1122,1088,979,1074,1166,976,1166,1246,1011,1056,1194,775,415,491,960,1016,827,1034,1178,1332,1196,743,844,939,863,811,1112,1134,965,925,913,825,683,976,1636,1366,1216,1278,1580,1596,1518,1208,1000,1174,1338,1470,1484,1502,1534,1318,1060,795,1124,1210,820,1170,1556,1622,1508,1374,1402,1338,1166,1150,1038,877,819,582,603,557,490,700,720,792,1082,1104,838,662,780,634,612,451,495,499,690,704,688,813,667,588,749,680,800,882,1054,991,935,1004,802,399,330,421,607,1084,1332,1372,1686,1396,1252,1250,999,517,624,1078,1146,645,344,405,415,523,1078,1424,1444,1360,1278,1848,1434,1001,661,540,890,1178,1100,1202,1420,1154,1174,1284,1228,1266,885,947,1174,1272,855,730,1005,1162,1210,1242,890,895,1268,1294,1150,1188,1128,970,994,1028,1220,1446,1216,745,517,589,505,792,1278,1380,1360,1246,1120,860,906,1050,995,1334,1476,1328,1310,1212,964,548,329,379,951,1162,833,845,700,849,1130,1128,1318,1604,1432,1038,818,778,726,462,358,376,355,350,311,333,355,321,311,307,323,354,347,316,313,327,315,323,301,337,343,312,305,294,295,288,291,307,320,319,288,303,299,300,301,312,324,354,333,337,350,369,403,424,736,1430,1744,1500,797,444,404,413,383,366,348,365,370,446,720,835,745,677,601,714,737,537,389,356,368,352,424,662,948,1036,915,797,721,838,979,1046,1074,1102,1090,1066,984,879,803,697,579,478,425,419,441,641,922,1342,1640,1670,1714,1736,1642,1406,1004,547,498,805,1074,1300,1460,1792,1548,1294,1150,996,1374,1234,824,726,946,827,802,495,423,345,379,819,1166,1324,1170,798,1026,1400,1015,1090,1396,1344,1466,1376,1284,1126,1032,1032,623,373,325,363,344,332,326,320,318,329,316,428,558,492,419,361,360,337,347,371,389,364,376,409,380,472,603,565,575,872,1072,907,595,738,1032,1050,1024,1234,1316,1266,1254,1256,1290,1306,1356,1298,1504,1476,1026,854,965,959,834,857,787,770,1044,1418,1394,1012,1078,1298,1520,1382,1354,1442,1268,1070,1050,1310,1104,701,511,541,647,550,442,389,345,388,321,493,640,708,998,1136,880,597,689,1146,926,484,408,607,1074,1072,1036,1078,911,806,884,425,478,691,553,940,1242,1456,1120,1200,878,625,1322,1698,1296,1032,983,1162,1066,928,866,656,487,430,367,475,694,1252,1640,1230,922,987,830,816,1338,1494,1312,1192,1174,907,805,1080,1244,1412,1348,1170,1214,1138,1428,1350,1360,1150,1254,1162,1140,1224,1152,1556,1558,971,1096,1268,1002,518,350,323,385,437,391,607,870,841,1052,1174,1188,857,1194,1238,1114,1040,1188,1354,1440,1592,1256,945,813,762,518,353,325,621,830,668,467,394,323,310,272,334,581,1090,1342,1364,1228,998,616,543,455,874,957,742,905,874,452,329,374,320,403,390,336,316,362,330,545,1128,1306,1050,1004,1246,1094,957,1074,1126,872,1066,1506,1604,1568,1324,1750,1926,1428,1318,1134,1122,1210,1104,883,1060,1198,1044,892,669,578,1030,1138,912,467,449,448,394,326,325,349,363,373,383,402,431,467,590,768,542,380,366,354,365,353,340,344,350,363,371,365,388,363,347,355,364,392,407,480,537,413,521,913,991,1062,1013,845,740,615,684,745,1234,1160,1368,1554,1238,1626,1544,1216,1198,1642,1692,1172,865,999,1168,1078,1068,1216,1156,976,887,990,1044,1134,1190,1028,995,976,830,948,1160,1256,1318,1068,861,843,730,631,661,620,919,829,752,755,814,1134,1364,1212,825,1094,927,723,880,905,1306,1988,1590,1648,1658,902,691,797,1082,1426,1178,586,497,1016,1240,783,800,1108,1011,830,1007,1216,1056,952,948,1096,1056,1394,1460,1282,1578,1170,788,616,505,439,473,655,612,528,625,1072,1310,1794,1368,1822,1208,880,681,437,604,665,496,462,426,521,829,816,656,580,868,763,719,849,1208,1094,668,739,1056,1278,1098,1266,777,576,736,992,1144,1154,1198,1170,1056,895,789,998,1060,1066,1230,1004,581,498,728,1276,1302,1112,1310,1244,974,1016,904,1038,1066,1500,1072,746,510,475,698,813,984,1012,988,982,728,852,944,641,498,722,502,294,313,318,346,394,376,438,475,395,1032,1524,1188,948,769,590,463,392,350,242,272,262,306,528,705,734,618,477,483,472,385,347,366,429,379,394,347,308,370,375,355,258,229,244,485,713,733,729,608,548,846,917,943,1414,1864,1142,608,631,809,1212,1236,802,513,494,711,823,803,635,941,890,680,746,930,1198,1128,1184,1432,1368,1554,1670,1260,1210,735,582,517,583,906,1202,1456,1118,733,1164,1626,1340,796,518,559,552,705,839,945,1008,680,385,374,459,871,858,789,875,1048,1218,1434,1210,1252,1286,830,550,539,565,666,786,1378,1152,1122,1274,1300,1412,1212,1009,1046,786,422,413,428,430,496,484,525,451,392,588,473,563,827,923,1008,1106,1166,965,1168,1560,1174,1120,902,1156,1242,977,1402,1914,1148,692,789,617,442,516,777,896,1224,932,826,1178,1544,1270,1152,1322,977,940,1088,861,812,922,1074,732,459,388,635,1374,2106,2186,2076,1800,927,919,910,587,380,363,538,659,525,422,421,453,633,535,370,332,345,426,407,447,568,709,799,941,1058,820,503,562,418,512,1164,1516,1462,1662,1664,1184,614,443,513,470,656,847,525,530,860,714,634,633,534,438,457,444,360,516,671,547,409,441,387,333,662,749,516,433,536,619,664,552,688,735,819,1062,1106,784,1021,1005,575,419,296,331,431,607,634,502,696,597,396,599,694,572,531,548,645,821,818,860,889,960,1038,808,431,493,689,476,318,420,428,391,353,312,258,313,272,294,310,545,463,387,395,444,542,440,368,396,503,522,385],[682,510,377,556,916,999,920,822,658,468,358,376,396,372,349,390,362,311,342,364,375,373,472,483,415,409,365,327,383,458,410,377,412,390,304,320,423,430,450,392,321,300,303,355,421,355,295,274,256,241,239,246,237,253,276,291,284,264,286,323,353,423,457,433,361,294,298,231,219,253,328,367,361,356,345,377,409,366,352,387,435,515,1464,2232,2418,2490,1544,440,430,439,443,439,364,448,749,848,575,461,807,853,837,971,839,627,552,689,732,715,969,1244,1302,1056,1180,1324,1610,1786,1186,990,1122,1068,1078,1452,1500,1400,1138,1262,1182,908,1050,890,668,742,966,1112,698,388,388,429,504,818,925,1154,1230,1022,1392,1444,1452,1888,2040,1330,644,720,977,1330,1376,1078,1226,1154,1198,973,811,954,897,1118,991,1015,957,560,467,419,369,379,529,789,527,402,468,358,309,283,374,589,1003,918,1158,1102,608,399,547,969,1246,1132,1158,1424,1312,735,1414,1570,1042,938,1136,1023,719,686,979,1278,975,581,644,1152,1160,1078,1216,1644,1890,1198,917,927,594,418,517,910,1268,1028,921,916,917,677,452,397,502,734,1056,1562,1126,987,880,504,537,761,1126,1288,1346,1466,1168,1046,1300,1296,1262,1400,1430,1198,876,677,809,920,807,894,1108,1106,957,720,524,594,397,321,348,512,432,353,478,685,725,644,684,716,700,847,698,454,404,579,697,766,902,1152,1342,1154,806,820,908,968,1022,620,525,459,426,447,479,720,1318,1094,813,840,860,1060,944,875,739,629,793,781,750,844,730,738,783,620,800,853,463,409,474,412,448,404,375,412,412,400,462,698,1032,1024,1066,1184,1009,1434,1716,2282,1216,897,930,803,612,426,387,453,515,289,564,1346,1046,888,1128,772,521,835,965,752,554,572,892,1352,1422,1304,1252,982,1196,1226,817,989,1334,1304,1112,1266,1068,795,1132,1534,1528,1604,1166,1108,1090,838,849,1296,1266,1002,1082,697,517,495,610,410,485,796,1094,1058,1046,1172,970,1038,1438,1560,1560,1288,1334,1438,1558,1386,1410,1438,1302,1400,1388,997,855,910,760,775,895,1086,1204,1186,1034,1046,1120,1172,1150,1064,811,925,1200,1578,1588,1334,1112,1300,1222,1152,1404,1424,1412,1334,1240,1218,1434,1626,1740,1754,1644,1540,1156,1540,1826,1224,701,458,429,601,879,952,1026,1240,1030,811,840,1070,957,572,790,1272,1412,1390,1218,1152,1136,886,1058,1090,722,851,1172,1100,1021,1456,1744,1306,1130,1472,1352,1076,1098,1272,1178,1186,1246,1190,987,892,927,1024,1146,1009,1150,1342,1268,1316,1476,1630,1758,1598,1214,1090,1072,1078,983,937,1026,1126,1094,1130,1074,1122,1130,810,587,524,462,445,447,475,493,531,518,495,428,372,398,404,410,413,393,381,404,355,457,536,561,766,658,1338,1296,659,742,813,794,1182,1318,1290,1378,1406,1212,1250,1328,1104,1001,1092,1172,1056,1064,1256,1260,1002,1158,1356,1168,1056,893,1086,762,308,226,407,527,756,1126,1428,1432,1344,1038,1238,997,1250,1250,1162,1054,1021,1086,870,707,855,1028,1506,1568,1394,1288,1268,1322,1328,1244,1136,1152,1342,1480,1390,1384,1578,1294,972,885,1118,1072,794,1236,1536,1312,1170,1186,1300,1376,969,878,747,1078,941,527,396,423,877,1394,1260,1328,1428,1352,1120,1072,858,825,737,657,489,325,546,908,810,531,448,364,439,753,753,592,571,619,467,677,599,394,517,644,731,1116,1180,1436,1602,1224,1478,1460,929,486,579,926,1052,658,375,357,355,488,975,968,1114,1308,1322,1106,768,836,789,612,1042,1350,1214,1232,1410,1228,789,1160,1268,1056,960,1011,974,779,501,406,615,926,960,1136,715,689,1192,1472,1496,1346,1156,1052,1004,1104,1296,1412,1166,885,608,625,479,542,820,893,860,911,735,543,770,818,1346,1362,1426,1360,1202,1108,1090,948,728,509,714,780,827,1142,1168,1152,1224,1328,1378,1690,1776,1704,1190,845,565,352,352,376,352,365,313,316,353,337,329,311,315,329,307,306,315,326,307,324,328,345,370,362,332,301,293,289,299,309,315,312,300,308,303,303,305,309,335,350,333,333,360,398,392,423,598,1122,1720,1734,1080,546,443,455,408,385,383,403,470,715,871,567,383,362,338,505,731,791,622,416,367,464,713,788,792,638,408,368,368,421,565,771,802,680,632,678,705,561,475,402,377,424,417,506,755,1090,1374,1564,1684,1794,1598,1136,741,513,562,545,836,1306,1472,1382,1444,1642,1380,1212,1226,1142,1116,1030,926,619,572,511,445,600,703,465,525,894,1066,1404,1170,1050,1168,1272,985,1050,1246,1288,1394,1296,1316,1230,1290,1246,700,675,539,479,397,326,312,326,318,314,324,450,655,443,397,361,367,363,366,403,415,391,449,440,351,399,415,402,439,493,620,724,550,933,1196,1266,1370,1414,1406,1298,1188,1250,1088,1160,1160,1302,1548,1520,941,598,531,455,493,497,451,534,818,1288,1150,669,838,1246,1382,1360,1456,1434,1488,1478,1322,1370,1194,821,543,517,457,394,383,339,300,303,317,519,568,454,728,867,458,357,732,1274,916,731,620,604,1058,1088,844,938,872,785,1078,654,398,615,836,1072,1384,1434,1162,1156,1084,963,1384,1700,1088,1015,1230,1218,788,504,441,477,619,570,451,556,607,607,858,744,796,1100,1206,1262,1666,1760,1370,1294,1638,1540,1358,1318,1498,1472,1300,1448,1448,1356,1498,1370,1198,1306,1370,1148,1244,1238,1084,1452,1258,798,836,943,810,495,375,437,434,518,455,489,730,906,1028,1198,1412,1190,1130,1080,1224,1164,1328,1638,1616,1438,1212,1332,1216,1100,750,415,330,714,1176,1194,1010,606,338,333,320,382,735,1198,1422,1418,1346,1040,645,482,546,720,724,552,566,679,527,368,303,250,257,274,289,279,340,341,509,1196,1478,1116,926,1013,984,684,694,864,1112,1584,1454,1360,1604,1182,1298,1250,1050,1072,982,969,978,874,675,613,633,495,422,539,479,892,1332,774,377,368,438,422,374,383,408,382,384,434,439,500,555,582,702,592,431,444,439,351,355,368,368,372,356,347,330,338,350,386,360,350,398,398,466,537,390,579,1326,1166,1042,1005,1264,1054,715,599,593,680,803,1448,1372,999,1312,1478,1136,1130,871,851,1126,1152,1084,877,815,968,1316,1548,1242,858,1032,901,1140,1356,1048,968,1050,971,918,1044,1112,1160,1196,1098,927,1096,816,791,883,936,908,1050,849,811,1044,1120,1182,1000,1080,845,1080,1214,1216,1600,1496,1382,1712,1290,871,745,836,1048,1254,1082,600,636,1158,1216,1038,1068,1070,942,933,1126,1188,1198,1252,1070,951,1148,1448,1456,1418,1334,1166,1158,848,660,432,586,857,819,797,634,936,1006,1030,1034,1138,907,738,566,462,755,934,509,420,385,377,370,467,580,833,1066,1208,1208,1074,949,828,1001,916,930,1070,1016,889,525,426,708,1058,998,660,642,951,996,942,836,893,823,817,1104,1266,1170,871,658,869,878,935,1308,1094,1268,1372,1024,561,653,1042,1080,905,899,1126,955,566,780,914,1028,670,561,820,1094,951,759,663,377,337,356,423,427,430,357,401,503,628,1144,1388,1176,894,786,580,428,369,271,273,296,282,245,433,492,468,417,387,409,408,408,399,495,477,403,391,341,343,308,247,222,215,215,227,242,267,399,639,623,741,897,1060,984,1296,1322,807,538,641,988,1314,813,565,500,490,483,612,883,1158,1098,720,546,465,477,607,896,935,1222,1466,1742,1684,1386,905,662,741,749,674,487,622,1068,910,689,1410,1860,1646,1668,988,467,439,513,576,651,837,1084,1148,752,868,1272,954,780,1362,1946,2010,1754,1344,846,458,383,389,416,434,600,703,1092,1548,1268,964,1244,1360,1098,998,854,687,481,444,364,348,524,498,473,371,366,404,379,453,801,1248,1214,1224,1592,1356,1300,1084,995,815,701,918,977,764,785,794,512,449,618,745,669,942,1248,1009,911,943,821,922,1224,979,997,1002,1170,1152,1076,722,535,505,437,389,401,374,468,782,1028,1036,1230,1124,540,634,1248,1074,469,376,718,812,586,458,464,536,624,491,367,338,369,412,369,495,574,528,623,822,920,879,737,1316,844,477,824,926,841,1532,1870,1368,797,439,512,380,401,684,680,525,844,776,526,439,453,517,487,414,379,414,499,515,561,511,445,385,420,634,866,810,437,567,867,518,573,633,737,996,1098,1130,1110,711,869,1013,410,370,457,512,448,451,463,398,324,423,617,462,278,441,776,684,675,951,890,757,1072,942,548,497,701,512,343,365,349,296,298,288,274,285,276,401,536,629,508,385,420,567,596,464,473,473,669,720,420],[762,537,351,482,879,973,922,808,655,460,364,353,378,367,346,387,406,426,485,474,385,372,459,455,397,378,406,379,459,647,650,498,480,408,389,430,533,534,566,438,316,312,285,397,516,360,292,286,272,268,262,266,271,290,312,300,289,278,293,341,340,415,469,386,314,292,318,263,229,268,312,326,324,341,375,414,421,430,380,446,615,835,1638,2374,2430,2208,1358,425,415,410,452,516,396,680,995,1012,661,664,1102,1010,979,1024,745,756,753,955,723,819,1180,1246,871,938,1516,1186,1366,1540,1040,1226,1312,1012,960,959,781,633,615,1019,1234,1196,1168,992,744,647,741,982,816,483,560,631,606,669,484,882,1156,711,835,926,857,1100,1972,1458,792,778,744,963,948,1030,1166,1128,884,547,712,858,1122,1090,1102,1098,602,475,589,509,392,517,661,637,499,502,529,420,296,308,292,367,544,794,1050,745,409,421,525,739,987,1268,1396,1340,1170,865,1028,955,866,1100,1146,794,579,711,869,1358,1236,797,689,1026,1058,911,982,1296,1218,974,1192,1208,902,559,863,1404,1416,1090,1172,1298,1332,933,449,366,512,737,1005,1210,1392,988,678,556,933,1030,1292,1290,829,1024,1230,1290,1212,1144,1212,1404,1328,987,799,768,774,738,899,1234,1226,1136,1084,863,647,423,314,316,320,476,486,358,442,596,741,804,827,630,646,871,680,460,390,336,399,520,523,611,891,1100,1202,940,736,697,629,590,608,506,470,474,477,615,732,745,800,1520,1108,1224,704,835,857,732,720,797,963,957,1142,1476,1042,908,764,655,468,452,540,446,439,486,540,603,616,709,816,729,860,1046,1160,998,879,1060,1270,1024,937,1180,819,578,605,491,457,772,821,619,587,1156,1168,1132,969,584,625,1024,993,710,617,955,1136,1190,1000,1088,1096,799,944,990,961,1090,1052,1076,1100,1196,1050,772,821,1394,1510,1224,954,648,665,1052,1426,1604,1470,1436,763,722,665,860,982,795,750,829,958,958,900,884,778,1224,1670,1938,1384,848,1074,1338,1498,1470,1504,1644,1542,1510,1406,1208,1092,1180,1068,922,1034,1148,1162,1168,1222,1148,1080,986,1192,1060,755,1128,1626,1654,1532,1274,1126,1246,1406,1504,1246,1278,1208,1334,1464,1398,1306,1234,1560,1942,1858,1608,1404,1566,1384,838,611,443,688,858,1072,1108,785,846,749,446,550,1078,1276,925,633,1034,1440,1007,813,1010,1172,953,1064,977,686,931,1100,622,585,1476,1944,1786,1622,1460,1496,1276,1021,987,1100,1050,918,1178,1186,1028,990,760,1018,1088,1438,1410,1164,1294,1512,1576,1292,1238,1208,1100,1200,1302,872,739,977,965,1232,1416,1276,1224,1042,768,623,491,517,610,534,468,534,602,561,525,440,381,429,385,351,362,396,348,403,397,502,626,865,858,762,1102,816,463,532,771,952,1356,1532,1650,1682,1284,1172,1340,1322,1116,814,724,1186,1266,1116,1142,1090,809,1232,1320,999,828,822,753,442,275,304,385,689,942,1136,1506,1224,1268,1264,1058,637,692,899,1036,950,781,916,829,772,991,1034,1316,1490,1350,1198,1212,1290,1270,1326,1280,1296,1434,1456,1296,1368,1578,1294,1072,1186,1216,1120,1210,1340,1266,1202,1086,976,1142,1328,1226,1068,989,1242,1013,648,503,558,1098,1416,1015,1340,1250,1126,1172,1132,1192,1458,1296,1007,747,575,768,912,555,369,303,322,501,929,943,944,597,350,446,431,341,462,885,1080,1038,1230,1516,1654,1312,998,1332,1476,886,456,417,695,915,548,397,377,434,628,1054,1088,923,880,1116,979,713,1090,1340,977,1076,1262,1526,1382,1208,1072,963,1274,1176,680,574,725,605,397,396,449,796,938,728,892,715,749,1046,1086,1062,1102,1168,1110,1076,1040,772,885,1042,789,495,495,487,438,494,595,550,489,558,764,990,786,1238,1240,1168,1312,1270,1154,1198,1354,1023,767,808,826,1026,1002,1156,1316,1416,1244,1034,1120,1418,1376,764,695,438,380,382,370,339,341,309,321,353,354,350,321,313,315,296,299,297,306,316,321,339,338,346,357,341,323,297,299,311,320,303,285,296,301,313,319,314,323,321,321,333,331,426,675,497,504,574,836,1570,1820,1374,803,500,527,455,437,421,510,740,882,720,469,423,392,354,381,548,788,890,872,731,641,683,500,469,411,356,368,357,350,472,604,506,449,569,641,565,433,386,368,461,765,1024,1264,1438,1496,1578,1712,1698,1522,1094,934,800,662,680,761,1116,1284,1208,1238,1064,964,999,999,893,1108,879,695,682,587,650,590,631,736,844,893,924,1080,1026,1098,1122,1108,1082,1154,1144,1208,1058,880,983,1036,1390,1454,1340,1174,940,1104,744,442,361,325,314,310,304,301,332,407,558,391,346,350,347,355,359,362,339,314,334,337,384,470,415,406,519,532,677,720,672,1034,1108,1056,1268,1290,1226,1001,1082,1152,976,963,1134,1114,1326,1456,899,493,527,517,449,399,466,622,645,801,918,731,554,912,1352,1428,1308,1336,1424,1456,948,1076,1418,1192,664,504,544,500,383,323,314,349,398,419,414,339,546,1066,657,341,624,1124,868,843,846,474,548,714,736,859,974,1012,1120,745,370,477,662,580,775,1322,1546,1280,1166,886,987,1064,896,954,995,1178,982,854,775,695,1021,995,598,586,754,898,1252,1102,1050,1398,1190,836,1056,1130,1011,1426,2032,1892,1356,1202,1372,1356,1360,1192,1164,1254,1422,1402,940,842,1272,1414,962,789,698,777,635,588,560,843,988,568,539,777,971,1024,779,767,1108,1196,783,874,1072,836,662,1026,1378,1266,1138,1450,1290,1160,1172,1334,1226,1268,779,424,354,528,960,1202,1074,645,376,422,418,441,949,1228,1226,1300,1384,1092,783,850,1021,892,713,403,359,500,463,388,340,296,302,323,315,327,372,375,389,738,806,606,493,523,605,530,429,507,1007,1436,1282,1178,1620,1338,1128,1150,1058,904,907,790,559,619,548,460,680,652,541,694,595,655,892,551,353,378,414,419,399,387,401,377,377,429,484,557,635,594,582,582,508,467,390,352,358,375,371,355,355,355,337,319,326,353,339,365,414,437,545,587,566,513,828,816,977,1224,1618,1552,1274,1234,1068,778,1011,1572,1266,1102,971,982,1024,1040,858,806,933,1130,1192,1100,965,950,982,1380,1184,1007,994,899,1274,1360,1134,1026,987,1154,1038,1058,1154,1084,1198,1146,1102,1082,838,730,767,862,840,784,712,805,1007,1270,1260,1078,883,833,1262,1366,1368,1380,1208,1488,1644,1294,579,478,824,1018,896,628,608,852,1180,1216,1134,1122,1086,1026,1054,827,582,828,941,1144,1078,1084,1046,1132,1570,1404,1196,1440,1232,799,503,481,805,1224,1414,973,831,777,672,834,646,582,796,740,547,968,1102,550,393,385,391,601,632,828,1358,1540,1440,1342,940,518,715,1136,1250,1078,915,943,707,354,460,719,741,824,534,798,1023,950,819,754,875,808,699,918,1104,1070,980,848,891,872,998,1086,1032,1334,1216,882,510,481,671,957,1142,1262,1434,992,727,846,963,804,556,731,951,1170,1176,920,758,377,329,327,358,415,403,329,457,568,949,1078,948,818,692,610,746,1040,362,208,301,321,405,477,490,444,448,558,451,360,416,422,425,594,702,772,531,401,369,289,231,252,227,209,233,223,310,509,853,974,797,574,654,639,653,795,781,720,1021,1552,1158,645,557,561,574,568,901,1166,1188,958,626,503,479,522,991,1312,1120,1234,1464,1588,1534,1328,775,554,780,837,877,692,812,973,785,689,1490,1556,1506,1592,996,503,438,477,446,465,845,1126,1238,1198,1654,1692,1084,685,1030,1416,1454,1290,1066,720,466,451,423,404,433,493,623,735,1238,1344,958,1146,1766,1764,1018,683,589,529,453,412,397,448,603,502,321,324,330,352,492,698,937,912,1378,1498,1556,1256,920,767,546,630,662,645,499,437,549,576,484,427,699,1056,1326,1360,1394,1178,666,547,677,1086,1210,1096,994,1556,1138,511,367,432,496,415,397,382,343,361,688,1036,1262,898,495,455,987,1686,1620,959,555,563,522,498,640,799,726,611,601,458,357,392,346,313,465,594,617,730,736,673,742,930,1306,847,418,418,444,410,901,1486,1522,1021,407,372,332,323,694,763,521,750,754,451,477,561,529,435,463,339,357,448,488,569,564,513,462,374,422,709,1034,828,528,741,465,383,682,971,1132,1134,1028,821,934,1354,778,352,378,575,673,607,393,249,229,221,320,422,390,282,490,741,551,1520,1436,1290,1270,976,733,605,451,383,290,383,415,349,279,275,293,296,261,459,924,995,857,832,596,431,677,630,803,555,591,1042,1168,832],[509,666,989,552,393,752,987,794,527,422,353,335,364,383,360,361,440,543,611,533,407,394,463,443,392,395,396,409,521,703,749,510,418,523,546,579,647,583,537,434,348,318,357,513,522,430,320,281,355,355,381,466,414,362,462,382,306,277,302,345,339,383,411,331,304,325,339,314,292,291,277,273,292,320,364,379,368,408,371,549,747,731,967,1238,1066,724,485,366,418,387,515,687,479,596,701,752,684,834,1152,835,857,970,752,681,831,852,1216,1360,1370,1530,1013,1032,1372,1152,1019,1054,933,1102,1064,880,650,521,564,578,551,734,1050,1170,1002,835,744,660,1108,1228,1018,877,921,709,671,799,532,819,1058,556,818,762,471,441,1272,1876,1352,889,748,924,1011,1082,1112,1044,1212,769,857,1348,1486,1414,1382,956,652,554,836,752,442,695,1000,709,537,461,474,414,328,280,339,417,362,666,1116,828,458,407,643,859,1262,1490,1454,1172,1052,1021,1048,1013,1060,1116,1242,978,583,545,741,1014,1114,1142,1294,1130,973,1082,1096,1012,969,1028,922,1188,1470,969,859,930,887,1024,1190,1092,1062,935,617,442,535,573,710,880,1016,708,770,807,899,894,1028,1148,993,780,771,873,924,1054,1015,1046,1056,999,1070,948,833,964,1064,1084,986,855,779,819,604,406,346,333,315,467,555,370,381,449,831,945,907,828,638,570,615,685,648,466,424,507,471,559,605,714,856,771,725,699,544,587,603,488,472,456,506,520,595,745,804,1170,1082,1158,804,1021,1010,742,872,907,938,1004,1194,1572,1262,1156,1098,1044,648,381,416,413,482,622,671,603,763,883,819,734,870,1018,1092,1238,1354,1112,948,1106,1194,818,668,966,952,718,438,717,1054,1082,984,1246,1384,1042,833,642,583,772,838,654,1030,1306,1274,1042,791,908,1324,1566,1002,1226,1300,938,950,937,1090,1138,1212,811,625,1146,1324,1140,769,633,530,911,1556,1438,1158,880,580,957,955,710,700,965,793,641,1042,1104,990,811,655,879,817,1012,960,648,638,987,1142,1108,927,1598,1866,2110,1440,1518,1582,1592,1204,1050,1274,1358,1168,1138,1226,1208,1140,1001,1200,1068,975,1506,1636,1302,1302,1212,1242,1378,1488,1360,1216,1312,1346,1488,1528,1216,882,1044,1572,1910,1852,1570,1376,1268,1044,1092,861,686,750,628,969,1009,766,760,762,799,813,1108,1604,1520,957,1238,1556,1328,1132,1428,1498,998,1007,1354,1124,1186,1060,577,616,1120,1272,1178,1096,1124,1284,982,536,786,1114,1192,1216,1248,1196,1124,1148,840,1024,1164,1322,1382,1366,1118,887,1072,1044,931,925,943,857,1076,1044,907,887,891,1128,1360,1208,856,753,760,578,607,1042,875,688,709,622,574,498,486,476,470,383,391,374,311,339,363,382,406,533,625,713,792,1054,1050,536,416,456,700,946,1024,1204,1512,1624,1328,1082,1152,1022,665,563,722,1176,1440,1416,1036,670,571,798,1202,1011,555,797,905,626,307,312,401,902,1072,1034,1024,883,1164,1316,847,432,516,527,615,716,951,1066,768,844,1212,1360,1306,1268,1154,1144,1456,1496,1248,1314,1238,1166,1324,1382,1270,1248,1516,1410,1272,1418,1394,1384,1518,1656,1270,888,741,646,1066,1378,1344,1156,1030,1028,984,885,609,540,987,1056,942,1023,1012,811,1001,1230,1272,1208,1088,901,930,996,1210,1050,538,410,645,550,659,778,1013,1264,926,701,823,521,410,546,984,1374,1154,1384,2186,1752,1218,1374,1550,1302,760,660,480,675,740,427,373,385,504,814,860,905,1044,976,927,951,998,1322,1518,1470,1286,1316,1506,1332,984,944,1230,1338,1122,859,656,737,909,585,431,698,999,833,969,1366,895,674,893,713,588,892,1156,1034,911,608,400,478,729,605,450,432,578,764,762,808,776,441,654,979,1088,979,1056,1092,1015,1216,1282,1200,1332,1360,744,677,700,982,954,927,1076,1204,1314,1078,901,938,659,534,527,462,388,386,379,342,311,308,305,319,333,333,345,325,309,303,294,299,294,297,306,320,323,312,312,312,310,308,300,328,328,310,294,282,300,303,309,321,342,333,308,317,311,337,552,828,660,669,603,633,1254,1792,1686,1110,543,657,532,426,633,904,932,775,559,457,414,373,345,368,427,465,574,615,545,491,374,354,396,359,362,375,418,439,433,497,499,484,440,399,379,381,399,502,811,1208,1418,1538,1602,1796,1670,1578,1136,868,988,1418,1288,1138,1064,935,1254,1512,1270,1300,755,800,927,572,758,1280,1354,1144,938,886,697,1088,1364,1054,999,1764,1294,1340,1240,994,1110,954,657,1028,1174,982,777,880,981,1370,1520,1460,1284,1180,939,777,618,374,332,314,326,312,310,321,355,377,496,391,324,357,336,337,351,338,322,291,322,385,443,456,393,352,365,554,1002,1052,774,953,1134,1186,1182,1240,1362,916,920,1088,822,972,1232,918,943,1042,772,857,838,704,606,556,450,389,584,645,874,824,700,1048,1354,1318,1278,1194,1176,1262,1232,1080,1128,1248,1076,688,507,429,290,297,336,381,494,566,493,362,459,771,612,437,631,1206,1294,716,606,738,713,777,957,1054,1028,735,927,918,448,287,330,390,705,1402,1852,1388,1192,931,1024,977,625,427,827,1140,977,1172,998,775,966,907,590,508,874,1400,1674,1380,1178,1126,813,777,969,752,739,1082,1114,1162,973,909,1184,1374,1452,1288,1430,1592,1594,1662,984,840,1244,1232,960,965,937,871,722,561,439,643,709,527,529,989,1408,1214,1258,1714,1428,964,879,1042,807,463,560,872,905,849,905,1260,1152,1068,1178,1302,1260,937,443,315,372,550,903,1005,1154,984,474,589,810,1072,1218,1204,1192,1272,1290,1036,944,1138,989,1108,1064,502,413,598,592,459,354,355,310,310,292,324,341,353,330,413,467,487,509,575,832,926,590,641,1050,1366,1354,1294,1522,1562,1376,1316,1330,1034,882,722,582,792,771,576,829,812,641,784,707,411,320,385,400,386,400,419,378,390,402,389,392,422,529,626,695,585,518,595,603,539,399,414,447,399,344,314,337,346,328,313,299,312,363,450,469,569,1028,1054,753,531,676,866,1021,987,1148,1328,1402,1716,1666,1246,1400,1478,1204,1368,1082,1028,971,867,962,954,1070,888,1088,1198,896,827,1524,1450,901,869,1007,1214,1426,1402,1200,1120,1174,1360,1274,1300,1038,935,1036,1172,1348,1198,1000,883,820,1208,1132,999,902,792,995,1130,922,897,880,1018,1234,1206,1318,1300,1206,1366,1362,1168,535,542,616,603,622,559,531,876,1158,855,921,955,859,1009,805,680,641,538,554,1024,1072,1010,1288,1196,1166,915,833,783,558,464,631,723,645,785,1086,847,734,818,848,922,446,411,576,725,607,769,977,625,424,430,502,600,719,1004,1282,1412,1466,1428,714,347,516,904,1136,1002,1068,1238,880,385,633,940,853,1046,832,1174,1158,713,579,572,725,870,753,691,715,786,766,1004,1074,1036,1026,960,1152,1318,1222,821,472,433,681,1144,1368,936,921,893,904,955,833,592,754,1128,1228,1106,1040,955,657,428,381,359,333,361,379,391,397,657,1104,1214,1478,1018,814,548,606,474,253,250,358,636,1064,993,582,403,582,760,485,360,357,372,358,434,597,742,792,772,674,376,245,219,218,218,228,245,385,769,974,950,675,490,485,468,550,753,813,1066,1278,1254,711,744,747,594,694,755,971,1152,1076,1154,924,850,818,673,1476,1686,1784,2414,1820,901,890,1090,1030,927,1058,869,993,906,991,788,554,543,712,833,1252,1576,1128,520,547,511,431,476,1048,1370,1752,1900,1600,1532,1584,1454,965,547,597,627,639,504,388,423,453,520,596,737,781,1020,1302,1166,1002,1104,1770,1490,822,581,509,689,751,719,480,530,641,435,317,325,332,354,410,477,658,882,696,641,751,476,530,544,397,470,478,491,502,561,582,519,500,463,574,913,1174,1228,1246,1362,796,723,805,769,835,899,902,1426,1254,535,459,487,540,459,376,426,361,503,1084,1218,1492,963,456,555,966,1482,1528,1184,792,484,570,708,799,1264,957,578,609,530,401,402,359,383,580,720,808,821,769,756,758,816,584,377,360,326,354,400,506,782,1078,645,370,316,359,347,457,764,833,728,783,477,462,560,529,439,422,346,397,473,527,587,606,493,472,462,440,415,754,640,399,376,365,401,784,1196,1206,1026,1056,968,1142,952,415,363,475,794,773,522,333,263,208,211,301,371,427,422,670,1050,700,1514,1600,1570,1350,661,425,511,597,505,383,407,502,502,349,285,321,326,242,443,855,1004,1066,935,610,460,663,667,886,581,758,1084,1134,924],[358,548,999,568,355,555,944,946,588,420,396,434,440,440,393,365,485,619,689,536,418,427,475,452,385,399,409,405,478,540,557,498,494,635,665,686,647,511,477,482,389,314,326,393,523,477,340,287,433,585,595,569,503,599,670,549,470,380,308,330,333,339,354,339,331,330,307,282,285,284,272,265,282,298,313,311,286,314,334,473,626,624,627,533,447,409,401,374,385,366,472,488,479,622,854,910,968,916,943,944,1152,816,1026,933,632,450,1524,1952,930,650,730,981,1222,1192,817,854,987,966,622,382,327,387,585,677,601,613,896,990,860,630,702,1004,1480,1070,904,861,654,499,559,637,464,733,721,525,810,888,585,491,711,1618,1936,1528,1248,1370,1124,1216,1204,1158,1240,773,955,1354,1428,1062,906,939,731,426,520,442,365,424,435,247,333,384,393,474,361,265,335,413,433,561,855,785,710,627,1170,1370,1608,1368,926,1012,1148,983,1058,1224,1188,1058,1120,916,1046,1104,991,661,750,1134,1108,753,978,1086,977,986,1266,1404,1232,1416,1478,1344,1222,865,750,1100,1312,842,753,1102,974,612,998,1050,1021,1338,988,823,833,782,1066,1136,1036,1130,1318,883,688,665,971,1588,1352,1050,1154,1304,1350,1136,931,1190,1368,1100,810,706,653,729,661,481,387,338,313,443,625,426,351,433,848,981,920,879,890,812,722,680,697,536,517,550,448,731,701,664,637,654,678,626,493,517,594,482,498,458,449,670,1102,1376,1544,1232,1110,1118,989,1086,1218,814,598,686,1154,1242,1234,1288,1144,1212,1364,1202,733,419,444,543,637,810,999,1011,1364,1284,1162,1114,1168,1168,1222,1488,1498,991,702,807,985,844,846,962,1244,1122,648,912,1134,972,1100,1096,1072,973,1108,958,774,938,661,481,651,804,1078,935,735,1130,2132,2236,1066,1090,948,1042,1284,1012,1122,1244,1314,1116,741,785,1016,1236,908,1144,1064,1200,1432,1206,1058,730,724,938,1284,1310,1046,847,537,747,1086,1154,1228,844,539,655,658,730,968,858,738,844,1021,1128,884,1328,1448,1558,1192,1286,1688,1718,1274,828,1216,1332,1136,1076,1286,1576,1298,1152,1144,899,946,1268,1148,1200,1324,1098,1226,1394,1478,1370,1378,1388,1406,1488,1462,1090,1078,1516,1566,1614,1864,1766,1688,1628,1442,1588,1300,1256,999,577,985,1214,938,991,847,1218,1472,1452,1510,1498,1418,1386,1492,1566,1732,2070,1660,810,1126,1616,1342,1264,836,525,659,860,828,1001,1200,851,844,1092,663,742,868,1040,1284,1148,1104,1032,1122,1122,1130,1120,1130,1334,1174,693,1062,1256,1220,997,804,679,863,1278,1210,866,905,1082,1186,1212,1080,736,647,867,653,780,1148,713,823,1216,1208,875,612,568,513,559,566,471,376,321,341,374,413,454,555,637,651,706,907,684,437,404,406,514,739,935,1272,1566,1356,1024,1012,927,644,531,758,982,1202,1420,999,681,549,456,469,621,720,835,1062,1200,833,395,492,677,902,1208,1272,1152,809,784,1282,1096,531,527,510,561,498,828,1118,927,1004,1230,1040,1084,1238,1172,1212,1550,1478,1182,1094,1102,1206,1264,1228,1158,1052,1220,1442,1476,1556,1448,1454,1644,1748,1372,839,686,630,719,978,1262,1236,999,915,1072,1300,737,463,777,750,856,808,713,623,967,1396,1166,1018,1098,1046,1158,1282,1514,959,461,454,947,1132,861,657,1198,1310,995,1070,1142,807,576,897,1256,1440,1190,1242,1398,1146,1086,1278,1178,935,474,612,612,994,1158,597,375,358,612,977,907,968,1070,1220,1104,960,1028,1494,1558,1670,1480,1542,1664,1432,1086,872,1050,1240,1120,1080,914,774,909,800,478,666,1068,932,990,957,681,852,898,622,356,552,869,877,1440,1246,520,390,420,423,394,397,570,935,943,763,775,444,530,933,1154,1014,1040,1072,1038,1158,1348,1262,940,811,855,642,498,893,984,976,896,868,1100,1174,854,841,724,555,471,386,361,372,357,333,321,337,339,323,299,316,325,313,297,292,297,291,289,289,289,275,257,286,284,275,286,304,307,304,300,300,296,309,308,295,319,307,368,341,327,291,337,339,428,571,811,980,741,592,1007,1668,1832,1434,786,843,780,748,946,843,648,569,540,504,425,370,360,356,379,367,351,470,473,437,402,379,365,381,373,363,357,341,374,343,417,460,417,421,402,506,810,1186,1528,1696,1736,1788,1760,1614,1050,754,555,850,1188,1332,1282,1462,1328,1116,1378,1418,1072,938,792,768,847,627,877,1106,1120,1226,1312,1448,1260,1322,1322,1210,1036,1390,1382,1358,1168,1002,1160,1132,1330,1088,1042,1008,897,1138,1186,1422,1378,1021,1086,1662,1468,704,538,380,345,330,355,333,333,331,354,405,447,385,388,390,340,329,354,348,330,315,311,345,383,377,364,358,366,568,1074,1144,963,1118,1172,1206,938,1004,1292,868,767,1010,1032,1110,899,788,1166,959,805,937,822,576,586,649,833,866,744,799,976,933,768,862,1004,1256,1170,1082,1176,1582,1782,1242,930,1132,1112,799,617,398,339,440,700,827,1019,718,515,485,421,486,750,818,805,1056,1240,1094,1222,1084,833,777,926,879,833,752,1110,1098,486,308,355,474,766,1096,1422,1126,1098,1126,974,708,482,629,1170,1322,1068,1306,1044,855,664,670,750,528,673,1266,1464,1212,1062,918,824,1136,1130,1148,1030,909,743,1042,1019,1246,1360,1374,1528,1192,1322,1322,1294,1588,1088,897,1028,1172,1272,1136,1186,1100,818,638,573,554,414,433,529,882,980,784,873,1306,1392,1068,736,689,572,461,598,896,816,778,766,940,946,855,1070,1418,1276,691,514,725,1210,716,943,1242,1474,1182,645,747,1240,1264,996,1310,1328,1384,1038,656,866,1074,745,849,1048,799,643,771,972,689,430,573,343,377,488,700,617,403,381,506,574,562,554,819,1390,1420,749,649,1074,1500,1416,1290,1414,1624,1548,1448,1416,1154,1070,958,756,827,714,589,645,558,644,827,650,426,395,430,413,428,397,402,369,369,404,419,429,401,440,618,667,517,499,578,571,612,434,336,420,381,326,323,330,310,308,316,302,330,398,470,434,680,1888,1994,955,489,615,1126,1584,1372,948,1106,1294,1282,1356,1406,1644,1260,1310,1344,1100,1288,1086,955,1056,1254,1162,798,708,604,717,803,1204,1108,1066,1136,1130,1190,1326,1340,1142,1212,1370,1334,1466,1564,1172,1006,1122,1246,1338,1350,1232,1180,995,1178,1294,1102,850,675,689,616,536,813,1200,1488,1346,1216,1354,1290,1256,1232,1274,876,569,551,531,509,581,561,508,651,880,838,950,952,1090,1244,977,766,696,539,503,859,1094,1114,1284,977,660,499,511,577,649,766,788,1030,932,490,498,488,584,851,882,871,505,393,751,969,843,1090,1124,866,866,952,1000,970,1162,1102,1158,1174,1138,1174,813,441,473,773,803,848,1118,1190,1130,568,862,1426,1328,1144,921,1098,900,525,526,780,933,986,656,676,925,618,425,708,967,1120,1362,1372,1284,1256,969,692,875,504,793,1320,1220,592,406,519,715,698,510,657,985,1202,1282,1056,1018,1170,1058,851,734,579,464,512,571,610,659,1032,1032,1008,1218,1118,813,650,610,344,227,303,598,969,1016,785,739,643,810,734,419,346,333,359,383,346,491,841,952,825,763,591,355,250,259,218,227,232,547,943,915,745,520,534,552,573,451,516,691,1092,1226,1266,1220,1110,951,877,675,673,917,1042,1210,1566,1200,1282,1374,1248,1250,1238,1048,880,1022,959,681,650,677,785,802,1070,1142,1104,1116,733,428,505,508,449,655,867,962,880,908,549,437,620,1060,1072,977,1088,1236,1440,1594,1390,844,595,515,480,615,568,550,745,1292,1344,1016,1460,1356,897,726,943,1152,1112,993,962,991,632,455,747,970,976,470,487,417,347,393,390,332,328,477,512,689,1058,797,477,444,511,1182,941,448,443,471,442,564,850,933,838,703,576,530,743,1296,1266,827,2290,1652,997,716,467,606,768,733,1228,1394,581,477,457,537,548,476,672,586,576,894,1058,1146,851,492,453,709,937,935,698,858,704,811,800,866,953,702,472,445,406,404,367,362,454,885,898,858,807,789,781,767,677,515,528,460,337,323,378,451,595,888,651,408,358,340,336,434,978,1432,947,982,535,449,496,465,395,379,429,446,483,455,447,666,458,515,608,564,419,525,660,459,264,286,380,731,1114,1202,1130,843,871,935,425,394,429,530,785,702,418,396,334,270,259,297,351,375,366,650,1086,794,764,1116,1284,1040,462,478,643,802,651,542,650,863,762,659,648,583,517,363,553,882,709,601,561,520,573,707,702,841,822,965,1198,1202,1066],[309,339,439,339,302,362,554,634,554,446,415,413,424,459,433,376,523,716,709,585,491,458,483,464,389,401,432,370,419,459,508,550,563,581,565,510,556,488,469,416,415,331,280,278,512,472,295,277,304,320,357,379,403,569,491,577,468,311,252,267,296,306,311,316,317,307,290,274,264,273,269,265,275,284,315,304,254,301,357,485,518,502,496,408,415,409,376,392,513,813,711,490,480,588,854,830,944,822,605,1036,1404,1332,1268,1030,934,547,1274,1900,736,629,792,795,1005,801,590,565,792,901,659,410,587,843,1064,827,705,1084,1344,1013,888,729,843,1108,942,845,890,802,473,352,385,525,539,543,484,480,694,863,797,992,1080,1244,2026,2264,1758,1306,1140,1154,960,985,1288,1262,1246,1278,1422,1362,1010,1012,741,346,288,261,273,288,261,306,337,378,485,521,378,327,421,362,438,473,606,638,1084,1020,1090,1500,1624,1030,642,673,827,791,1009,1248,1288,1072,917,946,1204,1112,992,980,999,1138,1146,981,1112,695,653,1208,1606,1496,1234,1172,1136,1228,1142,598,859,1432,1532,1176,921,1410,1250,882,1564,1550,1330,1304,1058,1098,796,788,1086,1428,1548,1250,1092,738,923,1090,1174,1498,1534,1166,1094,1254,1272,1146,1100,1080,1088,866,801,831,786,730,572,420,381,382,351,415,620,487,499,579,756,1042,1050,1060,1256,969,854,905,930,790,577,519,529,540,540,596,650,625,509,447,414,508,543,506,526,480,492,821,1224,1238,1166,1250,1312,1388,1360,1180,1116,754,502,662,1284,1188,965,1122,1250,1346,1250,819,705,805,1094,943,992,1230,1482,1344,1216,1374,1420,1238,1168,1136,1292,1262,946,838,963,1076,1082,954,664,901,1224,1102,991,1366,1019,900,1162,952,733,925,1064,822,792,927,614,513,573,792,913,954,1200,1378,1368,879,807,895,747,954,1180,1068,1270,1226,1170,1274,745,788,1114,1252,1238,1248,1246,1350,1160,1382,1246,898,863,932,1444,1550,1232,922,770,709,816,1154,1150,820,529,514,799,1106,1330,1122,996,943,974,873,1170,1310,1326,1390,1328,1516,1718,1794,1816,1492,1510,1030,1168,1248,1334,1260,1138,1252,1066,888,1118,1122,866,1152,1356,1578,1360,1328,1174,1214,1178,1144,1220,1356,1260,1148,1604,1700,1250,1440,1702,1834,1778,1870,1640,1612,1346,1250,1140,866,1114,1328,1094,1368,1278,1416,1452,1390,1094,805,1152,1410,1382,1384,1562,1688,1320,523,568,1092,1262,1244,1100,977,935,945,728,709,938,799,694,1110,1102,949,799,987,1138,1120,1294,1202,962,934,961,1240,1220,1206,1036,1062,1310,1406,1394,1284,943,891,1432,1726,1396,1008,1172,1310,1240,1004,719,580,713,1050,938,1334,1238,657,1007,1506,1594,993,640,700,951,936,749,595,454,420,408,385,397,464,593,664,625,614,571,472,439,411,429,487,796,1002,982,1252,1386,1252,1144,916,646,806,1300,1116,1060,1378,1038,632,590,669,479,404,688,1100,1102,908,679,632,730,709,834,1240,1424,1490,1050,585,760,724,542,535,518,717,808,1122,1786,1566,1086,973,944,1218,1274,1184,1244,1128,812,766,830,1096,1230,1264,1300,1268,1244,1178,1376,1638,1472,1472,2428,1922,1300,1278,971,616,507,507,884,1402,1332,922,728,821,1132,815,635,596,550,841,919,996,1262,1262,1332,1192,1432,1228,1160,1358,1242,1422,1096,646,598,957,1544,1332,733,1240,1016,1009,1178,1178,995,629,851,1146,1222,1248,1366,1510,1448,1198,1284,1068,756,742,730,641,1318,1262,595,409,369,761,1240,1252,1214,1098,1096,1246,1020,1454,1988,1500,1516,1688,1840,1812,1532,1256,1019,881,1220,1198,1112,699,472,638,677,424,597,1116,1382,1332,918,572,739,643,674,578,867,1134,1086,1348,879,390,378,435,441,394,394,445,767,685,648,779,776,716,962,1336,1130,924,1134,1362,1300,1392,1428,920,681,697,572,501,556,532,477,499,653,860,943,822,604,543,470,438,409,388,395,382,348,317,313,302,318,303,301,311,311,317,301,281,299,307,286,284,276,276,288,275,252,266,293,296,280,274,265,269,302,310,301,337,326,335,305,307,324,361,356,342,423,758,1006,866,584,813,1384,1788,1680,1198,1116,1078,904,752,572,415,425,479,447,443,380,398,407,415,413,417,484,451,398,375,362,341,350,325,348,335,337,375,381,386,410,430,536,819,1168,1450,1704,1756,1694,1710,1788,1612,1128,673,467,543,965,1370,1238,1100,1142,915,1032,1402,1172,733,752,831,661,702,768,923,1017,1122,1220,1244,1336,1310,1212,1324,1282,1418,1496,1336,1118,968,1270,1428,2136,2564,1366,1146,938,721,1046,1224,1366,1228,1124,1346,1604,1604,1326,713,600,466,450,377,324,328,313,371,487,444,381,352,370,351,328,356,355,336,331,320,341,346,349,354,383,418,691,1122,1122,1152,1430,1206,1090,1182,1692,1480,929,863,950,1194,1116,852,886,1016,1002,1100,886,689,461,389,500,824,1140,1046,893,786,662,556,513,943,1060,1128,1228,1164,1268,1024,799,923,1108,1064,1092,1038,511,380,370,1005,1360,1078,943,1044,900,789,733,782,921,755,892,1278,1550,1628,1140,852,941,912,886,851,747,807,891,441,329,355,470,915,1114,1282,1284,1196,912,714,678,549,779,1282,1124,749,835,677,811,552,519,795,620,585,959,1046,720,600,628,956,1562,1498,1642,1456,1156,1042,1020,967,1172,1286,1388,1506,1414,1422,1092,1130,1470,1238,700,718,1106,1244,1354,1316,1176,1220,1130,931,832,719,915,851,689,969,1258,1350,1412,1334,957,567,639,686,775,592,839,1256,1160,924,736,897,1132,1226,1548,1448,872,926,1592,2078,1058,775,1256,1704,1578,1120,1122,1362,1182,915,1466,953,1112,875,670,1090,1026,518,617,889,955,973,1064,927,562,630,964,645,602,873,1522,1168,605,679,628,565,584,545,810,1236,1040,582,610,895,1338,1492,1450,1500,1588,1542,1550,1390,977,890,655,634,784,668,619,455,391,747,922,612,472,517,749,854,614,401,371,365,389,423,411,377,363,411,511,567,496,496,570,568,595,436,336,339,314,316,332,308,304,304,316,312,353,382,516,672,802,1788,1946,1006,574,793,1154,1272,1354,1198,1210,1188,1178,1024,1372,1460,1098,1424,1386,1194,1180,1136,1034,1180,1188,949,705,539,490,742,1036,1146,1106,1192,1308,1254,1148,927,1104,1130,1148,1142,1176,1422,1382,1116,956,963,1166,1456,1460,1240,979,944,1152,1260,944,668,637,749,705,502,838,1388,1478,987,833,1168,1294,1238,1216,1254,1015,705,727,869,764,585,582,511,491,788,1264,1122,1094,1408,1266,939,841,676,533,518,727,1106,1254,1060,710,485,446,403,568,705,856,846,661,457,337,420,404,502,930,1134,1280,811,517,747,780,828,1040,979,1144,1194,1334,1438,1538,1300,1236,1356,1062,867,893,669,507,646,994,1064,1226,1476,1466,1466,802,1258,1476,1324,1260,1204,1212,919,830,1048,1282,970,1338,988,629,797,607,364,504,797,1180,1428,1462,1374,1246,990,1158,1218,857,1244,1448,1010,521,444,691,633,329,371,775,1060,895,830,761,652,955,1200,1146,1150,1022,749,823,940,940,775,1260,1074,1001,995,1078,930,873,691,391,325,495,896,1068,846,824,715,584,740,615,448,394,368,374,378,384,439,494,524,444,415,586,486,350,292,220,236,270,552,758,736,698,503,470,627,1048,788,607,520,689,974,1248,1292,982,1018,1150,789,869,1138,1144,1460,1416,1132,1336,1362,1188,885,694,436,346,506,689,603,603,543,410,462,789,990,1166,1114,633,427,449,425,361,503,631,1272,1636,1196,995,862,869,1084,754,680,1212,1778,1730,1650,1414,1300,966,869,1020,1244,1124,1110,1608,2586,1838,848,1080,1230,1246,1338,1482,1322,1080,845,674,915,948,785,863,776,666,463,469,397,429,561,537,387,567,1228,1382,1102,1368,1198,512,465,919,1648,944,454,419,449,630,839,962,1676,1652,933,574,489,577,999,1086,976,1456,1442,1062,490,376,477,583,546,702,658,449,450,731,995,820,581,722,703,586,740,905,801,547,373,333,357,465,622,478,677,670,588,493,451,459,457,390,402,389,385,358,369,421,752,918,877,788,829,697,537,592,543,554,519,352,287,393,663,769,1030,940,529,394,376,403,401,636,1416,1178,1090,702,502,480,462,411,365,382,409,378,382,509,901,683,641,570,553,491,442,424,319,255,260,343,568,754,947,1050,1178,1274,604,385,481,475,463,577,446,341,339,354,303,291,347,505,412,224,443,596,456,566,747,984,921,598,688,1260,1352,1076,790,650,705,804,961,929,474,446,461,521,646,443,383,613,720,681,966,1252,1098,922,1122,1104,1072,1378],[364,297,290,276,299,368,394,383,469,422,364,342,378,429,414,383,515,676,697,628,525,450,511,490,420,412,440,414,450,480,454,478,541,530,458,486,588,570,538,393,309,290,294,296,426,426,296,276,268,288,291,306,344,532,467,431,333,274,268,261,269,279,288,295,301,299,265,274,267,276,276,265,274,296,324,312,318,343,391,504,526,636,625,514,440,387,454,431,562,717,565,642,926,833,882,1368,1210,993,842,890,940,1284,1260,1138,803,474,728,1142,866,957,792,913,954,636,524,554,619,773,871,892,999,1208,1332,650,497,1110,1488,1368,1234,954,971,944,884,1318,1214,1036,480,445,417,407,436,414,407,709,1344,1460,1192,1160,943,1198,1810,1996,2060,1362,1236,1194,898,992,1404,1440,1460,1306,1356,1390,778,1018,647,363,262,259,265,273,263,283,281,342,678,969,691,305,327,291,314,439,529,491,859,1030,854,912,850,893,1056,845,643,620,924,1244,1158,976,1194,1488,1300,998,1184,1328,1412,1262,1194,999,1138,1010,1460,1798,1396,1044,1076,1188,1216,1038,935,750,1052,1390,1340,1260,1300,1510,1524,1472,1504,1284,1274,1180,843,659,641,948,1202,1516,1556,1262,977,704,754,882,1015,969,1186,1162,1264,1350,1296,1060,770,634,630,624,671,829,835,613,392,394,399,433,405,424,631,655,572,487,579,823,1036,1760,2166,1700,1170,1092,1106,995,922,905,784,592,489,493,549,577,537,487,506,564,556,596,628,662,689,870,974,1066,1340,1284,1214,1340,1190,1009,1090,982,1019,1100,1166,1066,651,634,1036,1442,1078,1070,1474,1406,1632,1222,1306,1426,1312,1296,1334,1360,1222,1170,1220,1460,1426,792,672,723,1022,1270,1302,1190,1218,1294,1260,1200,1178,1086,694,887,1120,1490,1328,900,964,801,906,733,397,408,531,862,1112,1368,1516,1334,1028,771,738,834,863,1144,1202,1146,1474,1354,1206,1220,1088,1010,1380,1566,1414,1428,1566,1074,905,1178,1116,1114,965,1076,1334,1146,930,1114,1036,897,1066,1194,1062,1014,1026,827,1102,1048,847,980,1356,1184,949,961,1262,1284,1314,1426,1324,1156,1370,1600,1434,1846,1612,1088,1426,1486,1102,953,1082,924,846,986,1192,976,891,1098,1416,1716,1462,1292,1202,1120,918,796,977,1206,1280,1260,1162,922,807,1294,1538,1698,1856,1782,1300,957,846,960,1114,1020,1172,1462,1388,1270,1158,1444,1278,1134,890,789,1304,1390,1282,1052,1232,1196,878,617,526,966,1162,1274,1476,1394,1236,1084,969,904,916,1260,1048,968,1068,1096,1096,1146,954,731,1042,1418,1412,1412,1306,1290,1148,996,1148,1206,1062,1278,1396,1368,1272,1324,1558,1558,1378,1326,1368,1180,1210,933,576,484,735,916,957,1282,1072,891,1146,1582,1496,1224,1140,1152,1346,1266,1052,784,482,478,469,332,347,370,447,573,455,438,458,458,442,472,496,468,705,845,636,709,1340,1256,1108,1012,1030,868,1214,1023,557,780,680,413,459,869,948,818,769,938,985,892,1176,1128,895,620,671,1180,1588,1400,1128,680,509,489,482,525,538,730,860,926,1070,899,666,951,1360,1212,1218,1284,1184,861,686,819,1252,1260,885,1158,1260,1340,1294,1086,1460,1814,1502,1400,1598,1312,1088,1040,1001,786,717,915,1112,1222,1186,711,543,728,980,919,996,955,1186,1432,1088,1294,1454,1056,1208,1262,1306,1318,1388,1326,1128,1160,1184,1036,929,1126,1128,656,797,1194,954,938,1072,1130,784,566,558,595,726,986,1216,1280,1114,1036,1302,1086,922,1180,827,508,960,1062,824,556,484,1168,1338,1282,1412,1090,1200,1336,1214,1344,1352,1226,1224,1398,1788,1730,1300,1252,1232,1074,1488,1360,1024,566,328,505,564,357,568,1088,1138,987,953,596,555,575,766,694,1078,1346,1204,1180,846,472,393,443,392,401,382,358,618,685,655,923,1005,767,1078,1808,1216,648,978,1336,1412,941,868,819,686,736,828,684,750,750,698,699,594,796,671,735,691,706,631,481,399,387,376,371,339,329,319,309,325,327,310,303,333,344,325,292,291,290,303,303,292,299,299,278,258,258,274,287,286,293,301,321,337,360,386,377,326,300,296,311,329,345,341,324,398,605,893,797,600,718,1046,1646,1874,1482,1204,1108,866,604,504,452,408,408,385,463,461,467,443,445,468,456,449,429,380,444,499,363,356,356,355,357,375,405,398,376,442,674,1050,1432,1672,1994,2056,1864,1740,1738,1358,746,552,625,821,1100,1172,1088,1066,1326,893,598,745,1152,1146,1015,951,918,964,796,694,1020,1174,1344,1300,1350,1436,1422,1238,1386,1468,1448,1352,1278,1118,964,1166,1000,2460,1868,1046,942,851,889,1056,1082,1264,1282,1282,1428,1490,1560,1366,798,720,585,495,397,324,336,366,527,644,471,334,300,340,363,356,365,353,342,337,336,333,328,336,354,373,438,773,817,811,1096,1256,1168,1110,975,993,1266,1362,908,642,941,861,825,980,912,1078,1254,1116,766,529,579,570,703,1062,1136,966,668,574,498,472,739,786,725,545,686,1010,1180,1218,920,1050,1216,1434,1036,495,358,316,761,1114,749,901,1566,1450,1094,1100,1164,1514,1238,1132,1324,1588,1604,1228,1015,877,766,827,871,821,781,919,529,293,322,429,978,1348,1182,1021,1004,882,841,929,617,626,1086,1052,960,846,623,777,711,550,544,585,660,618,584,447,371,489,977,1706,1796,1436,1228,1160,1126,974,1074,945,1062,1136,1274,1412,1136,998,1088,1306,1108,763,908,1268,1262,1056,1020,1424,1678,1472,1288,1158,1152,1264,1236,1194,1332,1356,1050,849,717,494,392,453,637,769,560,578,843,1118,1032,743,1009,1158,1360,1238,919,1036,1224,1506,1234,714,504,777,1064,914,1262,1660,1322,849,904,1390,925,783,795,952,1294,940,379,576,1162,1350,1278,1056,655,451,667,999,1140,796,731,1228,1192,1134,1102,926,554,538,549,476,549,497,556,567,677,1004,1138,1156,1270,1330,1668,1550,1122,1076,1098,869,769,741,722,593,578,786,948,872,655,426,491,927,1086,721,426,375,375,379,434,557,765,1012,739,598,554,460,469,561,564,574,495,354,347,332,302,310,291,321,318,362,406,423,401,489,602,659,891,1024,841,526,542,583,730,1094,1166,1174,1202,1110,1092,1572,1418,1184,1398,1418,1384,1316,1218,1058,1020,828,590,547,811,863,808,1106,1224,1268,1368,1338,1332,1116,847,1206,1282,1374,1396,1250,1236,1268,1242,1010,1006,1146,1452,1172,1170,977,843,1172,1176,749,580,764,1092,1138,806,977,1178,954,852,587,658,932,1256,1350,1268,1226,1042,1118,943,687,415,482,437,419,727,1056,1064,1030,1052,1082,1070,893,595,496,456,509,916,1252,1060,670,413,362,316,511,802,914,822,491,315,349,471,427,518,937,1238,1312,918,803,1118,1052,1026,1296,1184,1274,1002,1132,1704,1602,1392,1444,1412,1090,979,938,839,780,893,1068,1286,1342,1360,1400,1038,744,1214,1418,1392,1322,1294,1290,1178,1072,1430,1212,955,1310,1174,639,450,387,455,697,527,538,818,1140,1136,972,711,1082,1162,1004,1242,1402,1282,778,450,784,960,380,386,642,797,599,505,459,384,523,761,1064,1272,1266,1224,1236,1013,954,1021,973,1116,1174,1252,1296,1010,690,490,579,753,877,933,1074,1250,1072,813,844,813,752,753,544,344,358,393,428,429,447,478,371,397,429,425,517,533,454,403,396,401,443,554,482,375,401,594,976,1009,760,518,769,1092,1100,1072,845,846,951,1030,1332,1310,877,762,842,1064,1296,1406,1126,498,328,255,311,350,363,382,396,518,532,555,546,485,739,969,465,398,467,424,495,545,476,616,937,1092,1382,1372,1466,1368,872,813,1394,1724,1632,1686,1858,1600,1424,1368,1306,1614,1628,1390,1370,1708,1434,885,1094,1452,1204,909,1030,1210,1242,999,884,1074,969,1156,957,547,409,515,497,443,554,705,574,548,1070,1772,1428,936,1306,1558,1005,1156,1442,870,418,387,462,487,747,965,1042,1372,926,505,437,446,731,921,1230,1172,1098,1612,1296,578,411,433,473,465,449,603,868,1028,1418,1310,890,624,480,607,692,711,1013,651,493,386,326,314,411,633,565,491,633,594,343,367,373,406,405,415,406,386,346,397,477,622,840,836,696,550,388,355,523,637,803,583,471,605,943,1284,1148,1176,1098,589,444,542,596,625,599,1166,1340,1218,838,549,497,466,451,461,359,350,339,464,838,947,797,685,512,469,546,572,382,281,256,263,332,439,675,967,1132,2026,1670,896,820,657,416,353,361,659,1082,587,396,348,330,391,576,455,186,284,414,501,512,620,1188,1066,850,955,1694,1786,1284,914,824,1064,1015,1022,780,360,544,521,544,532,323,388,684,816,672,855,1196,1094,1008,1234,1418,1192,1990],[578,364,303,325,348,327,303,390,442,415,394,346,290,288,311,351,438,586,626,586,590,477,536,502,435,442,441,456,480,457,478,487,565,551,509,561,561,507,500,382,302,321,332,348,402,355,295,292,285,295,307,306,350,456,386,307,310,321,285,269,265,260,266,268,268,268,287,291,373,377,274,274,259,279,287,260,285,337,384,501,551,657,706,580,440,464,473,421,642,552,602,782,1254,879,537,743,872,1194,1400,1192,1072,766,873,1188,779,513,586,728,724,716,1128,1668,1354,840,556,415,394,430,952,1470,1074,1200,1104,483,242,925,1678,1556,1082,910,1350,1174,711,972,1272,1026,614,846,668,450,530,505,474,1084,1614,1074,1020,1002,910,1228,1432,1436,1818,1888,1766,1652,1268,1044,1068,1076,1506,1368,1632,1154,628,731,458,320,260,245,275,286,237,228,243,356,968,1622,802,277,272,292,314,379,422,443,740,929,995,1174,853,1010,1538,1476,733,496,801,1058,975,1106,1572,1656,1274,1096,1200,1186,1730,1356,1092,828,887,1128,1346,1302,1124,1002,1256,1106,987,1002,1340,1398,1112,1166,1218,1174,1392,1626,1564,1422,1512,1184,1164,938,1050,945,727,1136,1240,1230,1120,1048,847,491,541,588,716,662,839,1228,1078,1078,907,656,502,404,428,432,559,755,650,449,385,394,401,427,394,443,635,631,467,383,461,562,760,1476,2202,2026,1438,1164,1128,1009,1060,1020,681,489,492,466,506,506,592,562,528,498,566,641,685,748,791,880,1084,1236,1188,1284,1080,883,631,830,1240,1218,1074,1064,1308,1314,786,707,1582,1742,1324,1500,1232,1032,1064,1010,1078,1208,1324,1384,1426,1084,788,891,924,1009,1116,980,1146,969,1009,1048,1196,1408,1354,1304,1288,1332,1224,1102,848,808,1136,1508,1290,1064,858,579,470,372,373,440,535,835,1532,1726,1302,955,943,725,701,886,1004,1158,1114,1156,1368,1352,1100,1050,848,1044,1406,1502,1388,1488,1174,871,1122,859,558,571,717,778,1000,1030,1104,1184,1007,829,969,1260,1136,1124,1194,1009,833,655,444,965,1184,1156,1054,918,1096,1240,1162,1288,1310,1070,1130,1452,1656,1684,1306,1158,1358,1180,797,1058,1058,970,1172,1050,882,911,977,1078,1426,1554,1396,1334,1420,1072,576,588,919,1288,1288,1056,1136,988,1062,1334,1412,1538,1802,1750,1330,1038,1322,1428,1418,1322,1136,1015,1130,1232,1406,1452,1300,1166,944,1003,1332,1050,1264,633,703,969,774,614,645,1020,1130,1280,1582,1582,1540,1274,1180,1076,936,1262,1426,1036,960,1224,1266,1118,753,591,948,1404,1432,1400,1086,1044,1140,1146,1040,796,933,1332,1510,1416,1284,1420,1484,1384,1352,1292,1222,1014,815,683,841,890,807,1274,1224,1078,940,1060,1230,1492,1212,910,1044,1528,1966,1636,1192,976,697,638,604,398,320,307,459,475,386,426,440,435,490,582,512,324,416,568,572,581,779,680,1072,1224,1060,1040,1030,862,561,606,558,352,307,603,917,775,625,993,992,847,1148,1328,1192,554,443,729,1666,1412,1282,850,547,508,459,515,588,628,677,617,602,559,448,883,1090,999,1256,1454,1212,1042,1066,1328,1622,1372,1158,1224,1023,1104,1248,1274,1858,1744,1466,1790,1792,1390,1188,1270,1294,1258,1064,1344,1460,1268,1170,877,784,828,672,891,1110,911,1013,1340,894,1152,1212,1134,1412,1332,1218,1294,1176,1078,1102,1124,1192,1186,1044,1094,809,842,1092,1172,1204,1354,1384,897,480,535,672,651,729,930,810,926,1108,1232,1294,1168,1108,1084,1158,1336,1150,949,1094,970,977,1476,1442,1272,1330,1212,1082,1210,1460,1382,1220,856,941,1156,1260,1200,1242,984,712,765,1084,1206,1044,525,311,385,421,367,547,935,1102,964,893,728,671,607,550,658,1116,1408,1346,1268,1138,794,419,361,485,698,547,435,562,488,832,1162,760,804,1110,1058,607,338,475,1104,1236,744,604,714,813,1028,1108,886,911,549,604,866,731,619,719,667,560,781,868,607,512,473,403,354,349,355,335,316,313,331,316,393,482,388,328,302,311,297,323,304,279,288,298,284,299,317,282,281,290,317,339,363,379,380,356,329,313,298,302,309,301,327,335,415,592,883,929,574,556,738,903,1432,1854,1684,1246,997,850,588,487,461,460,427,417,464,494,521,445,418,460,415,390,439,412,569,578,428,377,377,359,370,426,440,477,674,1036,1394,1576,1688,1876,2004,1766,1748,1630,1116,692,655,692,769,1013,1042,1064,939,1074,1238,1005,641,724,1290,1424,1332,1298,1192,1142,1206,1174,1034,1092,980,988,1092,1316,1294,1200,1214,1302,1312,1422,1296,1472,1332,981,705,816,918,1142,1108,872,1024,1052,1220,1238,1038,1023,1142,1058,826,727,626,662,546,362,330,326,369,392,394,479,465,343,316,365,349,352,362,348,344,339,345,355,343,336,380,406,480,847,846,694,1072,1136,808,769,884,744,1190,1272,774,667,752,839,719,777,1026,1194,1230,981,660,787,1010,872,786,749,852,846,639,407,319,376,448,511,415,366,494,986,1302,1188,992,1278,1524,1438,932,664,522,481,901,1168,1124,1312,1290,1009,984,1042,1116,1856,1942,1504,1292,1322,1314,1182,1030,736,800,838,916,853,724,1114,752,360,365,515,1012,1246,1100,662,607,635,557,597,466,514,706,679,1180,1460,1072,1150,1098,733,541,599,645,659,708,557,456,505,1204,2518,2252,1218,1262,1366,1194,1138,1062,895,947,1108,1354,1384,1190,1246,1338,1390,1324,1080,993,1162,1028,715,811,1488,1422,1376,1510,1426,1318,1192,1134,1038,1015,964,468,441,559,671,464,408,527,500,617,818,853,933,917,680,963,1180,1226,763,594,937,1108,882,536,353,372,485,589,619,1414,1508,1084,1024,1096,1206,722,534,620,897,1178,804,578,670,1003,1166,1276,888,440,340,624,822,840,676,524,625,702,703,683,787,484,423,463,440,323,333,431,507,581,645,847,985,844,951,1556,1510,1520,1848,1644,1188,998,997,886,567,732,1058,1130,786,842,666,461,569,637,526,461,528,644,808,993,897,1098,1448,1258,905,761,805,708,603,598,571,555,399,338,310,285,295,316,347,362,375,412,448,473,479,459,487,554,736,828,736,933,675,811,1178,1464,1630,1618,1548,1716,1636,1234,1246,1260,1128,1242,1242,1250,1382,1100,734,566,530,676,755,1084,1236,1042,1136,1236,1204,1198,947,959,1272,1290,1330,1416,1118,891,1256,1178,999,1009,1150,1142,1013,1242,949,908,1332,1005,560,617,907,883,1060,992,864,949,974,724,495,494,868,1324,1198,1098,1362,1294,1152,824,429,339,559,555,437,719,918,809,834,841,1015,1176,948,638,648,946,683,852,947,714,475,346,370,533,859,999,717,745,500,432,421,570,489,542,850,1112,1202,999,874,822,700,1154,1626,1352,1206,1078,1204,1562,1534,1450,1544,1582,1526,1382,1328,1382,1396,1498,1408,1470,1442,1426,1362,1156,1206,1490,1614,1462,1408,1388,1490,1394,1288,1390,1338,1350,1368,1140,749,537,447,625,1060,1096,660,642,759,859,759,860,1616,1562,1118,1242,1234,999,618,441,552,478,317,414,498,528,442,370,344,367,414,636,1064,1250,904,1080,1276,1138,1064,1344,1262,1066,953,1134,1150,905,417,298,338,595,844,945,1128,1058,805,1002,1202,939,883,1012,690,417,512,536,481,489,538,483,455,513,496,462,501,663,623,574,659,626,716,544,377,357,523,725,737,661,576,580,978,1096,1048,963,1230,1196,971,1102,1296,1188,855,775,1040,1048,1132,1202,608,352,250,254,281,312,317,309,352,568,661,584,509,530,825,833,513,389,514,467,658,728,678,712,881,1240,1520,1470,1668,1282,835,596,649,794,1096,1154,1015,786,1248,1574,1456,1662,1284,840,1086,1066,1180,1206,1274,1150,946,893,777,778,770,959,1464,1390,853,1084,813,500,405,487,503,419,538,666,546,383,551,1130,775,623,705,1078,1226,1346,923,514,505,413,461,462,418,655,1148,881,507,449,380,550,957,1017,926,721,948,1660,1314,680,414,383,520,944,1316,1682,1742,1540,1376,985,643,752,953,1742,1362,686,873,663,481,373,328,303,303,513,539,367,528,845,429,330,340,392,425,455,432,395,388,477,488,462,577,547,421,373,387,355,469,608,579,500,467,764,1266,1422,1384,1322,1036,695,484,504,462,466,389,914,1266,1084,825,523,480,554,699,667,501,430,364,761,1140,869,702,761,568,476,550,572,306,281,305,305,304,316,517,720,1290,1650,1190,1198,948,492,326,310,403,1003,1552,1148,572,376,370,337,370,373,294,284,359,525,684,833,1008,735,631,767,1382,1650,1266,801,499,636,901,1252,628,305,453,498,691,532,386,577,935,1174,935,784,963,916,809,1058,1030,926,1476],[1048,912,723,398,387,415,353,369,395,398,413,403,336,280,284,308,360,412,478,561,673,512,532,570,526,518,552,565,487,449,533,519,533,527,516,531,488,425,375,305,324,345,357,355,393,365,340,325,313,309,316,297,307,373,395,374,343,287,284,282,268,257,254,255,261,277,287,336,492,437,299,286,259,276,338,378,404,409,372,455,421,400,506,503,509,508,436,444,651,552,651,516,655,583,477,589,649,999,1270,1164,977,512,594,641,532,523,549,615,716,1020,1562,1466,1019,836,476,331,315,348,705,1246,945,667,517,459,558,984,1116,937,856,954,1030,760,821,872,1076,892,916,996,727,456,426,422,681,1360,1562,1068,1118,1344,1344,1344,1188,1096,1324,1748,2134,2240,1718,1054,1162,982,1344,1556,1716,1126,765,505,365,371,309,249,277,312,351,356,300,398,800,953,555,454,390,339,330,363,420,579,1046,1054,1138,1224,691,1104,1566,1456,816,640,777,958,1142,1360,1428,1240,1250,1064,1122,1396,1592,1132,884,927,1022,1162,1350,1186,1224,1108,1344,1260,990,816,1060,1418,1178,1114,1086,838,997,1554,1648,1580,1498,1130,898,644,1318,1480,1220,1190,1000,986,987,1034,901,741,750,644,731,566,741,936,657,540,532,500,370,346,373,404,578,598,443,390,368,377,382,387,379,467,597,550,532,349,327,379,561,1158,1632,1614,1346,1009,1044,877,838,771,502,412,465,509,549,549,580,538,485,467,489,589,660,664,805,794,860,1272,866,957,858,839,844,980,1194,1050,1018,1084,885,838,919,683,623,813,1146,1066,1036,1060,1028,972,852,1084,1260,1236,1250,905,681,698,970,1124,1262,1360,1380,1262,1350,1436,1472,1688,1444,1504,1054,1072,1196,1132,1182,1180,1296,1272,1112,1144,1056,863,675,679,498,709,867,939,1582,1502,1178,1136,1178,1058,910,1056,1210,1208,810,1138,1290,1194,1236,1112,853,1056,1094,918,1202,1414,1166,871,1036,638,430,434,433,868,1252,870,688,848,1002,980,954,805,875,1114,1072,844,585,396,419,580,763,1124,1100,825,1222,984,1005,1230,1080,1152,1284,1270,1310,1266,1058,999,1038,792,691,1126,1074,1136,1260,921,1036,827,484,680,904,1072,1218,1206,1088,758,448,422,579,1212,1354,1184,1308,1344,1396,1378,1324,1500,1802,1808,1660,1586,1686,1340,1072,965,1002,830,727,1005,1216,959,1118,1070,1042,916,705,899,827,417,358,585,909,735,908,1344,1174,1194,1550,1676,1644,1284,1120,1200,1192,1200,1180,924,850,1030,1166,955,817,528,867,1172,1138,1080,1192,1216,912,858,1038,968,997,1000,1178,1114,825,1118,1222,1112,1292,1356,1306,1116,630,636,1020,1020,601,819,974,1070,1036,1074,1300,1412,1176,1044,1110,1290,1564,1400,913,1084,1102,787,520,534,527,426,468,420,384,427,434,440,487,547,469,336,421,490,535,571,599,915,1296,1084,844,1018,1140,1116,968,661,615,501,575,677,752,602,666,1064,866,666,1196,1432,968,570,541,521,1160,1434,1588,1188,689,511,422,588,810,621,465,517,694,648,690,1044,1054,1316,1510,1218,1124,1266,1416,1448,1472,1372,1188,1060,1040,918,1038,1372,1454,1438,1528,1532,1300,1510,1288,1352,1322,1262,1038,1216,1352,1160,1098,1088,1011,990,889,978,1132,891,853,992,834,1030,1076,1016,1052,1116,1210,1188,1044,1002,1174,1338,1172,1230,982,966,943,934,1200,1262,1230,1404,1352,866,583,643,1118,1074,1070,1174,1236,1186,1210,1422,1410,1324,1302,1038,1032,1190,1258,1090,1036,1132,1234,1254,1336,1362,1590,1768,1158,1092,1328,1328,995,690,780,828,1062,1098,1062,714,530,707,854,1080,1070,597,347,281,313,349,635,1096,1410,1344,1028,908,1096,797,821,1254,1190,1206,1176,1009,754,645,487,361,552,870,670,555,631,474,761,1146,953,1194,1168,878,862,805,1002,1318,949,894,847,858,1144,1164,1178,1186,927,691,810,991,1138,1021,593,443,498,799,746,549,666,597,481,352,346,344,333,305,296,331,429,575,487,371,299,294,332,337,340,292,285,311,307,318,321,327,293,298,343,413,393,372,367,373,365,335,302,295,301,311,331,314,295,343,594,905,597,364,541,710,853,1284,1722,1804,1362,882,768,579,456,421,455,492,492,446,560,580,418,435,460,409,383,415,367,528,552,434,369,394,404,386,402,536,878,1248,1500,1730,1956,1968,1804,1762,1854,1606,998,721,821,998,1104,1028,1042,1266,1278,1268,1294,1250,1170,989,1146,1404,1298,1252,1334,1252,1124,1334,1328,802,1004,1164,1038,932,971,1176,1146,958,1318,1380,1122,667,1130,1420,975,644,813,926,981,937,822,760,745,1122,1126,966,1096,1144,1164,1434,1340,797,498,368,336,341,347,366,372,341,401,529,405,381,390,329,360,369,356,337,308,357,435,368,357,369,484,578,1184,1432,1114,1196,1078,814,514,737,1022,1202,970,761,880,1126,1048,756,735,1012,1224,1230,908,743,1154,1166,1042,927,678,646,683,845,738,404,436,589,552,458,572,664,912,1008,973,1026,1340,1524,1132,822,960,775,912,1498,1578,1234,1140,937,882,895,817,773,1076,1234,1314,1364,1178,924,1030,1080,1214,1156,1012,1056,1108,954,1182,834,314,565,1021,938,755,802,491,306,330,785,805,446,420,509,409,858,1288,965,985,1015,710,645,621,645,705,834,802,778,902,1324,1890,1834,1160,982,1046,1112,1302,1102,876,854,969,1062,1190,1200,1056,1226,1288,1502,1498,1414,1106,1086,1192,1114,965,702,693,800,977,937,1076,1238,1050,834,745,433,382,589,917,645,318,410,505,590,962,1005,673,602,596,923,1194,956,520,426,642,694,611,532,331,453,763,921,1084,1284,1274,1044,1132,1280,1114,637,473,714,945,989,738,696,806,779,1001,843,531,420,472,818,954,1038,896,484,421,431,455,454,427,447,471,516,480,405,338,405,813,901,704,757,897,648,653,1154,1478,1528,1672,1816,1704,1098,1015,849,648,1164,1210,1238,683,707,779,593,491,479,763,892,984,1013,1056,962,645,746,908,896,865,989,1132,1018,865,706,538,534,474,374,314,301,308,328,399,481,488,463,464,472,480,439,469,692,897,938,628,772,762,765,1102,1390,1556,1844,1896,1914,1498,1196,1340,1230,1072,1086,1240,1400,1350,1188,995,675,758,891,917,1276,1230,994,1058,1206,1240,1172,1042,1066,1434,1432,1314,1146,1080,992,1252,1372,1258,1114,1122,1064,1266,1346,879,744,897,642,558,883,924,544,697,658,530,771,965,775,610,941,1388,1072,714,974,1146,912,675,587,412,357,455,445,434,763,1178,971,933,753,602,727,1040,778,698,781,543,550,517,450,540,688,695,848,927,1058,664,820,604,584,689,553,383,669,1024,1036,1172,1172,1136,1222,1236,1268,1450,1400,1288,1162,1208,1224,1260,1380,1372,1250,1184,1188,1264,1476,1464,1256,1172,1224,1340,1288,1230,1372,1534,1428,1328,1358,1394,1378,1566,1616,1438,1516,1532,1416,1418,1204,921,990,1024,1005,1206,1138,1007,1204,1156,984,973,1364,1582,1178,789,985,1068,869,583,653,1094,735,357,369,512,576,451,412,408,423,485,969,1164,1256,1134,1140,1368,1288,1124,1142,1272,1210,1038,1174,917,623,336,307,312,422,476,662,917,985,962,1001,1040,1098,1296,1182,819,636,534,598,480,433,545,555,565,573,610,611,595,557,506,452,636,779,766,486,320,380,603,807,696,561,338,404,688,868,919,1084,1406,1642,1864,1714,1090,773,939,1202,1230,852,729,583,321,270,255,276,309,282,298,323,338,345,356,392,392,495,1082,877,595,412,412,462,655,885,1122,1166,1278,1194,1144,1206,1384,1050,807,619,506,514,630,716,584,459,769,1124,1072,956,996,992,1094,923,845,698,920,1358,1292,1020,694,470,556,655,1016,1116,841,758,943,822,480,506,459,457,533,502,556,459,602,681,660,634,596,689,1066,1310,912,594,414,419,912,862,760,1250,1428,1060,629,443,433,753,1098,780,515,544,789,1156,1328,804,554,460,561,1196,1522,1656,1782,1548,860,889,560,869,1150,1838,1126,633,827,665,373,301,280,284,296,378,379,433,448,830,644,466,476,454,422,445,398,368,396,504,583,549,516,461,359,369,346,316,393,525,482,425,661,1276,1324,1350,1324,1344,1122,890,608,526,428,348,273,730,1058,918,865,816,621,615,842,658,538,485,386,543,1056,1212,880,822,619,433,491,560,429,357,350,357,360,363,316,327,607,816,893,897,750,362,330,420,563,763,1009,920,513,348,324,323,339,334,383,339,383,376,692,1092,1028,633,480,495,580,552,672,563,303,342,561,818,472,309,417,570,476,285,301,485,745,882,996,594,453,594,692,970,1198,1274,1484],[1340,1104,719,377,392,409,360,350,344,340,413,542,526,316,324,519,487,374,529,595,563,463,512,631,571,561,594,492,410,459,571,601,525,498,485,522,455,351,357,372,358,368,381,365,379,383,371,371,388,371,362,333,292,326,327,327,347,271,270,262,253,253,249,252,251,275,285,294,287,286,273,250,242,300,427,481,465,449,421,418,365,318,370,486,595,515,501,539,638,602,509,425,439,420,461,549,700,1052,1114,789,523,468,486,546,697,652,542,594,681,839,971,725,684,636,435,340,352,406,567,1106,976,660,840,913,904,833,943,1144,1302,1002,665,932,1204,987,926,998,925,749,506,363,387,543,835,1546,1526,1130,1146,1298,1432,1274,868,908,1458,1842,1628,2034,2236,1814,1484,828,845,1328,1320,1534,1332,714,724,830,519,277,265,314,616,414,324,352,366,468,648,569,416,439,473,522,532,769,1236,1110,1006,1050,737,977,1146,1050,771,632,1048,1532,1134,1182,1134,1002,1130,724,901,1570,1168,713,1009,1268,1380,1334,1292,963,1132,1362,1318,1112,877,858,1084,1142,1036,965,1094,1454,1480,1544,1604,1682,1600,1324,1074,795,1028,1154,1138,1216,1242,1332,1266,1122,1272,1348,1038,920,1060,957,1066,1108,835,580,532,597,576,389,412,414,432,390,368,375,375,386,381,363,365,441,555,472,606,400,329,350,415,680,875,1382,1596,1366,1200,1134,1334,852,481,433,469,523,562,606,579,512,467,436,441,565,728,807,860,796,904,852,574,807,762,920,1196,1254,1192,922,976,1126,908,904,1534,1226,821,1340,1390,972,792,875,1128,918,757,1002,1194,1282,1188,877,882,1082,1416,1390,1330,1356,1210,1390,1372,1434,1932,2574,1716,1084,603,769,1116,1304,1438,1250,1204,1232,1210,1116,1272,1794,1392,998,868,1100,1146,1110,1009,992,1164,1290,1360,1302,1152,1182,1342,1302,944,964,955,1052,1016,758,797,1120,941,990,1322,1316,1282,1252,1262,980,584,390,442,900,995,561,450,601,1100,1016,749,957,1068,1278,986,566,569,574,474,512,828,1186,1144,959,1282,1056,1166,1218,1134,1178,1240,996,902,1016,702,751,924,919,865,1074,1007,887,817,832,1250,879,406,531,625,840,1042,895,560,600,433,401,794,1336,1364,1216,1338,1316,1298,1224,1192,1514,1802,1730,1754,1666,1406,1056,927,905,761,764,766,765,944,1054,1190,1362,2050,1752,1224,1118,909,569,440,921,1284,865,636,681,828,953,1228,1210,1538,1200,1023,1162,1342,1180,938,1084,964,843,1144,860,1078,953,1036,940,984,1268,1354,1038,1048,1146,943,728,949,703,624,668,620,719,823,789,1015,1204,1066,988,697,1004,1520,1634,966,643,660,861,832,1158,1446,1226,940,992,1128,1021,874,1194,1152,1338,1180,730,509,694,734,521,457,457,386,376,356,355,404,483,456,427,560,622,631,616,781,998,1034,865,756,619,704,924,925,805,886,919,1106,1144,995,533,689,1054,728,688,944,1192,639,1028,1128,883,1076,1382,1546,1434,973,550,489,844,1504,1324,940,1326,1384,1078,1114,1130,1005,1130,1344,1236,1256,1196,1218,1156,1296,1334,1078,1140,1266,1142,1156,1252,1268,1270,1284,1556,1322,1300,1276,1072,1056,1114,1172,1142,1176,1180,1230,1138,997,974,645,662,976,1046,1078,992,1020,1030,736,498,562,793,1194,1178,856,825,967,987,764,1054,1050,1058,872,838,1264,1178,922,1234,1364,1118,899,897,1136,872,915,1192,1454,1418,1382,1444,1464,1702,1568,1088,818,971,1128,1100,1132,1286,1286,1246,1302,1140,1318,1368,1030,950,1252,1382,722,554,768,979,874,769,882,772,611,647,825,1026,711,449,367,323,404,452,822,1028,852,967,1050,1146,1312,1092,1216,1238,1028,1013,926,745,635,705,771,560,637,948,724,551,887,664,434,901,966,1005,1028,1030,1234,1200,1096,774,532,752,1012,1156,969,1136,1324,1384,931,871,1122,971,834,670,440,599,602,689,532,664,778,837,640,358,316,350,376,346,357,390,577,697,546,398,348,348,358,355,346,328,337,370,331,330,310,306,315,333,375,394,363,368,388,394,386,341,282,290,298,302,331,319,300,397,522,408,296,339,508,751,990,1248,1588,1854,1522,823,549,464,449,450,439,476,473,521,637,545,428,413,431,412,383,367,347,433,514,541,468,387,423,605,908,1266,1550,1744,1846,2014,2068,1770,1642,1806,1398,768,676,1132,1342,1102,1210,1278,1304,1322,1200,1284,1440,1264,1068,1100,1160,982,1021,1230,1228,914,856,1182,1138,986,1072,1392,1570,1080,788,1094,1402,1380,1460,1274,954,718,765,987,740,644,1096,1158,954,952,1014,746,669,970,1166,891,848,1088,1018,844,951,830,514,354,345,336,328,330,351,341,421,513,582,648,461,329,345,336,339,358,452,539,468,416,399,347,350,386,840,1212,1370,1648,985,761,491,602,1166,1230,1096,1130,1086,1076,1288,1048,689,839,1350,1262,948,932,1172,890,763,824,646,686,995,1250,1114,546,664,949,1306,861,992,839,770,735,948,1100,893,899,932,1124,947,828,1150,1498,1528,971,725,864,1156,967,820,1040,1292,1362,1584,1460,1190,1128,1396,1504,1504,1208,1182,1400,1404,1208,1262,1030,611,951,893,724,629,481,365,297,440,980,919,466,384,379,417,610,907,698,761,976,925,943,805,709,616,854,1174,1096,1118,1182,1212,1478,1288,1240,1412,1296,1256,1184,1072,879,904,1230,1396,1346,1356,1188,817,971,1064,1252,1358,1258,1110,907,565,427,540,874,964,836,1326,1208,1192,1040,1058,687,410,921,1238,701,425,389,411,411,641,645,570,480,742,1054,783,437,370,388,425,532,532,486,350,693,1130,1182,1354,1048,966,1412,1628,1388,1208,1044,702,1023,1172,801,649,768,819,1078,1438,1010,800,927,726,910,853,667,644,379,377,823,946,702,565,430,425,560,602,561,404,521,1066,935,710,761,977,673,355,823,1400,1370,1192,1376,1428,1024,1012,781,727,1190,1272,1162,839,818,838,856,812,823,1522,1550,1296,929,779,748,561,578,802,977,999,1074,1096,1016,955,788,566,608,679,551,397,353,337,350,447,545,534,498,513,487,532,586,607,761,1056,933,819,1028,869,899,1132,1322,1362,1632,1586,1712,1316,1160,1376,1206,1064,1106,1290,1406,1390,1076,664,684,1026,874,878,1086,1172,1206,1132,1168,1152,1070,1090,1158,1366,1414,1626,1366,1124,1342,1334,1378,1782,1570,1042,1088,1466,1460,1140,722,769,1020,677,832,774,618,651,494,415,615,766,703,730,1072,1250,787,778,1032,1016,756,599,509,360,397,403,339,423,534,977,816,652,496,432,691,1064,804,542,480,435,395,533,745,884,1114,979,830,1038,1262,759,733,583,498,866,1002,824,1078,1322,1056,1084,1316,1268,1140,1118,1026,895,794,559,585,881,1202,1312,1602,1400,1198,1310,1582,1328,1396,1314,977,778,844,1182,1328,1254,1204,1334,1206,1314,1244,1108,1216,1376,1456,1460,1376,1332,1432,1390,1236,1316,1336,1468,1346,1406,1184,1366,1658,1478,1034,1126,1004,857,879,625,990,844,870,710,728,742,441,396,440,483,456,372,419,421,416,735,1180,1168,1242,1262,1278,1238,1056,1102,1136,1270,1206,1198,986,764,410,304,317,292,283,351,533,707,663,809,787,873,1260,1594,1314,960,662,473,386,346,568,716,590,636,582,587,458,409,408,506,466,487,536,760,851,537,586,683,617,408,312,250,258,465,838,973,1132,1506,1694,1742,1734,1260,1003,1154,1356,1012,784,503,336,376,462,404,296,278,293,303,337,350,314,365,446,410,637,1012,908,758,835,736,767,1100,1152,1300,1986,1504,892,833,1232,1294,937,852,688,727,874,731,560,477,404,468,897,1032,1078,1021,905,1007,886,537,537,938,1254,998,681,561,490,562,556,639,856,929,724,836,1082,735,457,481,911,1114,836,592,672,1090,1023,769,700,524,556,1136,1698,1356,1044,615,916,1816,1154,941,1344,1188,977,822,617,739,1030,930,470,473,488,545,1002,1168,874,628,679,1026,1166,1698,1942,1854,1938,831,670,471,625,482,461,445,537,697,501,320,296,296,313,275,415,731,802,588,618,709,698,826,724,382,369,341,378,388,396,493,605,545,400,363,312,334,341,394,516,495,417,836,1746,1238,1284,1030,864,910,1148,1050,877,615,369,291,395,716,886,890,1172,1082,670,550,441,362,462,823,1040,1120,1290,1140,714,605,528,601,630,531,439,373,351,330,299,269,314,309,484,481,467,487,412,415,780,977,599,576,614,420,414,347,334,346,306,337,357,404,443,591,839,864,683,528,454,372,403,427,444,521,451,337,313,289,254,357,455,309,268,305,302,340,362,645,488,508,614,778,901,982,1084,1434],[782,621,395,344,375,331,295,274,324,495,506,487,466,367,339,550,455,376,532,543,470,432,521,561,465,496,628,463,446,499,570,607,571,521,466,518,488,457,491,349,349,373,399,356,388,409,350,366,403,380,388,455,419,429,374,325,290,270,265,244,244,258,266,261,258,257,257,248,255,260,255,254,279,280,390,475,462,466,462,431,392,398,381,428,553,658,623,527,568,499,433,525,494,731,1036,713,767,767,603,377,391,540,551,586,640,582,525,556,583,570,659,616,566,601,630,678,870,792,739,1096,1120,1088,1158,1102,801,786,1190,1470,1556,1124,1066,1098,1138,1116,915,841,720,576,721,545,525,607,563,976,1188,1050,788,938,1126,882,487,538,866,895,987,1356,1704,1944,1776,1082,610,1130,1142,684,647,582,903,1144,532,297,303,260,408,342,301,350,377,484,583,415,401,413,546,682,510,542,982,1182,1116,1062,1012,1030,1007,1023,1182,1234,1522,1490,1092,1007,1302,1266,827,501,619,856,611,558,934,1104,1470,1666,1490,1028,1130,1318,1152,1064,921,1110,1374,1332,1328,1208,1186,2150,1850,1380,1238,1458,1576,1512,1426,1062,809,948,1056,1268,1272,1376,1360,1176,1228,1196,1112,1136,1100,1072,1206,1392,1112,651,591,939,944,554,439,376,372,372,365,378,392,394,393,351,339,451,579,481,662,515,333,341,372,475,659,1116,1434,1042,1206,1782,1614,766,476,429,430,503,559,579,550,488,459,458,442,594,766,857,781,867,1208,955,731,725,789,896,963,1122,1302,1208,1252,1274,955,1010,1604,1650,1080,828,1100,1196,883,639,858,790,834,998,1274,1388,1282,1182,1266,1330,1226,1134,1266,1128,944,1248,1284,1436,2030,2166,1466,1184,980,1044,1110,1158,1088,959,911,1242,1268,1356,1306,1426,949,805,1136,1164,1078,778,541,842,1214,1328,1198,1234,1362,1074,961,1142,1226,869,683,762,792,745,663,1015,1116,1256,1296,1388,1390,1684,1782,1330,930,786,724,714,533,684,688,763,1110,772,521,939,1144,1140,833,625,696,803,731,760,1086,1414,1340,1294,1396,1404,1292,1270,1152,1102,1136,1014,1028,1112,949,722,925,1092,990,1017,942,1050,1038,688,586,534,616,866,932,1028,1064,1212,857,745,735,828,1005,1214,1178,1208,1252,1200,1354,1240,1300,1434,1662,1606,1844,1758,1362,842,767,913,694,547,742,619,1118,1488,1322,1344,1382,1582,1518,1268,1130,768,696,1015,1146,964,841,796,985,1018,1064,844,986,1330,1294,1050,946,772,744,975,1058,1232,1058,1032,1208,1198,1206,885,683,1068,1354,1056,1284,1080,1180,1078,1000,1138,1012,686,523,628,879,802,764,849,677,657,963,1436,1862,1390,694,586,656,613,655,1040,1160,1072,855,899,1156,1246,1122,1244,1102,1066,814,794,863,588,485,413,358,410,364,305,271,335,374,401,433,453,580,676,620,778,789,539,579,531,593,805,898,624,715,1256,1108,824,1098,1044,673,711,1142,1302,767,639,963,1013,857,1106,1048,969,1262,1388,1356,1392,1212,742,697,1106,1588,1854,1378,1240,1126,1104,1194,1122,921,977,1268,1368,1046,910,1204,1214,1278,1186,1288,1638,1476,1242,1044,1182,1336,1074,1232,1624,1512,1354,1244,1032,989,1262,1254,938,1026,1192,1328,988,1056,900,714,828,601,606,703,885,1058,888,612,551,741,783,921,753,717,1004,1140,1082,846,969,1088,938,1078,1224,1402,1296,1206,1240,1344,1096,838,907,1030,999,969,1184,1386,1130,1230,1174,1236,1426,1394,1032,974,990,821,1058,1256,1282,1410,1472,1180,1516,1584,1108,904,844,1254,1206,650,532,852,999,1050,1368,1376,1086,979,1064,1066,1134,692,376,327,354,438,446,500,521,639,939,974,1296,1364,1368,1328,1194,941,1056,1160,987,802,786,1015,738,537,775,635,494,803,565,326,419,733,1096,1132,1204,1082,882,774,660,594,713,1148,1210,1064,1128,1168,1212,1134,931,857,832,705,480,493,617,561,602,624,763,752,620,433,345,342,340,343,376,574,641,736,780,544,386,372,368,378,381,378,373,382,388,305,296,306,329,334,361,384,339,331,404,456,455,402,363,297,289,301,296,310,313,319,366,366,348,345,342,452,781,1036,1180,1370,1820,1846,1236,624,449,480,443,433,486,639,727,513,412,404,472,510,445,375,346,345,355,467,647,492,521,819,1182,1362,1508,1746,1956,2048,1968,1874,1762,1574,1132,741,887,1164,1548,1376,917,1202,1400,1376,1376,1424,1632,1632,1312,930,1090,1060,1005,1082,1023,1017,950,1220,1294,1224,1210,1090,1122,1054,1007,1064,1412,1526,1334,1332,1168,1058,1158,1150,1044,926,917,1172,1302,1244,1266,1200,942,878,1054,1016,796,673,877,885,653,669,772,529,368,309,298,316,326,312,321,357,358,411,458,376,312,286,306,314,363,640,821,691,488,425,392,331,381,491,664,770,697,730,849,659,800,1090,1132,1070,1016,1112,1234,1316,1052,697,902,1082,1184,1064,1180,980,828,865,858,978,1180,1114,1328,1494,844,1070,1230,1406,1140,1154,1046,1042,973,971,761,618,893,962,1346,947,750,1228,1454,1110,1108,996,970,1046,888,1108,1230,1232,1256,1414,1178,832,783,1334,1558,1476,1338,1272,1470,1432,1238,1344,1170,922,850,996,1680,1132,560,395,383,415,485,480,419,416,449,629,640,896,1052,1214,1098,839,735,822,807,722,857,1246,1228,1282,1258,1256,1370,1544,1542,1614,1470,1326,1464,1382,1080,961,1088,910,895,1070,1078,880,1046,1296,1352,1296,1142,1120,1228,1234,976,1204,1188,1006,1114,1488,1340,1186,1198,1288,966,753,937,1072,888,584,433,351,325,483,651,765,772,1102,1005,515,385,375,333,456,937,554,379,427,660,1052,1230,1258,1280,1246,1260,1470,1454,1384,1058,866,1170,1160,931,1003,1226,1220,1220,1196,1050,995,1088,605,841,1026,797,584,407,484,1254,1666,1404,1224,936,855,721,861,774,515,517,1016,886,641,922,1094,638,354,649,1268,1490,1196,1082,966,857,910,769,772,946,886,922,907,858,749,897,863,1150,1648,1570,1196,831,949,1138,914,804,1204,1484,1228,1192,1106,1060,1018,882,616,665,821,676,458,358,317,337,360,346,388,414,418,648,832,929,1026,1018,1012,724,622,792,1010,1300,1412,1372,1388,1490,1544,1550,1240,1220,1198,1008,944,1068,1368,1438,1236,1013,799,919,1038,790,973,1190,1296,1326,1188,1196,1156,1172,1104,1110,1278,1764,1718,1458,1300,1466,1428,1244,1226,1210,1246,1190,1484,1616,1480,1106,1164,1244,952,769,564,488,411,458,678,911,970,709,664,816,1010,971,1094,1086,949,668,540,519,400,465,449,468,735,692,545,390,359,509,466,493,618,537,595,467,533,576,684,686,733,1246,1122,853,973,912,892,1038,930,844,1208,1264,1180,1190,1162,957,824,1098,1188,1232,1246,1114,720,616,545,542,701,808,854,1252,1494,1372,1376,1366,1356,1510,1286,1088,994,904,1110,1300,1220,1310,1288,1238,1368,1262,1198,1226,1246,1328,1360,1402,1396,1300,1140,1262,1400,1456,1564,1560,1494,1414,1422,1368,1034,684,1216,1044,850,818,879,1074,780,715,842,846,636,537,539,508,373,379,392,401,360,394,937,1160,963,998,1382,1338,1070,1156,1314,1230,1090,1212,1222,776,454,381,337,333,343,317,406,662,732,508,451,469,710,766,932,1116,977,650,467,358,405,695,724,543,512,743,999,866,707,728,798,630,470,594,1007,1162,760,861,893,621,342,260,253,245,401,486,569,1062,1302,1096,1052,1136,1142,1200,1272,1358,1084,805,556,376,403,494,472,397,356,365,439,513,399,333,341,429,443,846,1066,777,852,910,780,1138,1140,1234,1550,2048,1402,1128,1202,1394,1114,744,648,580,817,771,607,594,615,639,759,943,1104,1160,841,645,1002,1140,662,798,935,752,703,539,464,531,540,603,675,675,858,984,772,1056,1128,553,437,805,1668,1676,1224,818,1144,1196,799,705,579,592,824,1202,882,791,859,1386,1414,657,587,814,814,747,787,946,1250,1560,944,504,465,507,915,1246,948,762,1074,2078,2326,1338,1656,2138,1448,586,366,375,426,604,567,578,922,1058,742,349,358,334,311,328,282,318,546,861,705,462,619,977,1144,806,374,327,355,396,375,388,495,586,509,863,968,449,375,331,346,475,455,440,984,1986,1208,861,766,907,1694,1960,1500,1190,901,559,429,359,587,966,1032,1020,1154,751,314,266,222,347,820,1288,903,732,1000,898,878,681,722,771,695,534,404,348,291,290,301,365,378,405,412,460,485,678,884,1076,1012,510,543,601,565,654,510,361,333,316,321,341,348,496,675,597,648,466,425,421,519,775,836,549,644,673,493,496,332,314,337,336,214,190,237,286,299,332,437,706,882,762,700,780,948,794,863],[445,383,328,305,311,356,318,315,466,669,730,730,456,336,335,318,228,312,513,500,466,436,385,429,475,513,618,549,505,477,505,544,535,507,509,613,598,595,492,447,537,503,466,412,386,426,357,358,387,375,444,636,574,461,382,339,321,325,296,265,260,267,272,263,254,253,256,259,259,262,281,285,276,288,346,399,452,532,530,444,374,475,498,437,670,760,540,404,427,393,557,1006,798,1006,1406,766,637,403,266,309,378,401,494,581,556,543,561,577,652,586,560,838,1015,1052,1088,1170,1042,803,933,1268,1350,1124,1046,1080,1436,1870,1638,1400,1472,1530,1648,1616,1340,1218,1130,1070,876,648,765,525,519,519,425,436,1058,1268,1024,1324,1384,1326,639,442,386,595,1056,966,1154,1654,2002,1986,1714,1516,885,653,572,551,916,1092,576,339,316,265,402,520,437,498,569,516,594,473,466,543,801,761,750,738,982,1224,1180,1162,1164,1216,1019,684,966,1394,1188,895,1042,951,1078,994,676,666,566,525,566,680,799,1092,1496,1832,1742,1216,848,896,1222,1282,1166,1336,1410,1366,1116,1126,1172,1714,1500,1118,1032,1314,1490,1460,1434,1282,1242,1368,1250,1456,1224,1094,1120,1042,957,991,1234,1270,1188,1182,1234,1384,1194,768,560,637,622,558,521,426,349,370,388,392,404,407,377,325,321,358,502,433,569,549,321,327,341,413,486,736,923,1174,1466,1342,841,454,413,378,393,457,501,535,567,664,672,559,502,640,724,817,632,749,991,1064,1058,960,992,1058,893,1128,1216,1208,1210,1254,1124,1026,1322,1428,944,644,875,1076,754,684,1016,1176,1290,1498,1604,1604,1650,1584,1360,1226,795,836,1294,1078,953,1026,1330,1052,1306,1416,1240,1154,1170,1218,1236,1158,1100,934,567,750,1076,1354,1330,1020,814,908,819,766,1018,1028,1044,1086,1022,1112,1182,1300,1278,1166,1112,1152,1160,960,549,421,625,1006,879,1062,1222,1196,1262,1272,1302,1410,1418,1302,1366,1016,923,1016,915,1110,960,1078,1114,988,1060,1104,1130,1118,1360,1318,884,794,788,959,1344,1530,1644,1336,1096,1088,1028,1026,1018,1001,830,1068,1230,1192,1112,796,999,1056,982,1106,1086,1146,977,520,477,663,1186,1286,1214,922,897,1110,950,689,828,1068,921,865,946,939,1436,1686,1638,1280,1176,874,852,1530,1946,1812,1508,894,865,1242,907,538,603,435,852,1170,1158,933,876,1188,1166,1186,919,860,1232,1476,1144,1202,1204,1360,1430,1182,919,863,1098,1360,1132,705,480,588,600,783,1100,1142,898,1208,1326,1166,1092,897,744,1048,1460,1656,1182,1058,1044,1138,1176,1300,1108,741,763,1116,1352,965,667,667,694,895,1338,1838,1592,835,529,521,675,653,819,763,713,918,853,930,1126,1052,902,861,948,869,676,1090,1738,934,509,376,354,379,329,285,284,300,308,387,425,416,560,615,521,718,572,440,427,494,539,733,720,428,548,1080,1364,1132,1184,1100,726,975,1328,1238,878,618,786,1002,854,743,969,1360,1312,1268,1288,1144,1414,1184,1220,1730,1780,1482,914,688,844,902,1154,1136,794,1138,1166,1360,1078,1218,1188,904,1192,1390,1310,1242,949,1112,1001,1074,1350,1174,1210,1406,1466,1378,1368,1334,1180,1168,1044,914,952,991,679,597,688,478,537,590,375,348,436,494,521,639,672,769,1108,1188,1056,695,785,1056,1208,1312,1128,1106,1168,822,991,888,1196,1414,1482,1110,1116,1206,1028,1052,1048,1108,1134,1146,1130,1122,1112,1046,1300,1424,1272,1042,1104,1066,1074,1146,1236,1364,1130,1100,1162,1516,1294,904,799,742,966,881,494,526,726,670,1013,1410,1442,1252,963,927,1023,1294,805,336,322,375,465,373,430,582,862,1100,1174,1274,1336,1268,1170,1084,877,1011,1028,890,789,810,1058,1146,656,554,369,384,412,291,283,362,843,1274,1302,1142,931,742,514,612,839,1112,1158,1130,1156,1118,1132,1188,988,659,733,800,560,378,492,474,459,495,508,579,600,510,379,358,356,373,420,400,553,678,741,664,476,376,376,353,368,378,398,374,378,360,313,319,331,356,346,347,374,362,378,427,460,446,367,338,298,279,306,303,294,304,315,320,315,317,310,317,363,492,883,1122,1262,1716,2012,1620,915,475,456,455,437,440,430,412,401,395,406,466,476,442,393,351,376,379,432,573,762,1142,1422,1558,1678,1866,2020,2014,1854,1848,1990,1742,1130,729,1086,1246,1116,1222,1148,1102,1324,1362,1312,1348,1390,1448,1146,1102,1306,1440,1218,984,995,1142,1070,1092,1216,1192,1084,924,1144,1316,1320,1350,1504,1578,1348,1338,1156,908,954,1216,1206,1256,1124,1318,1528,1286,1106,1066,1324,1050,1028,1208,1100,976,778,952,1052,891,746,651,441,339,320,285,305,323,333,345,332,307,333,387,350,327,311,335,329,354,578,867,835,589,475,402,356,369,403,503,814,839,898,1134,1010,1172,1426,1312,1066,645,676,949,937,966,867,1212,1142,1278,1152,953,883,865,1192,1200,1224,1344,1054,988,1114,1002,1198,1132,1154,1136,1188,1540,1556,1466,1234,1148,1048,1146,1144,1452,1452,1084,1142,1312,1356,1378,1080,924,966,926,871,834,1072,1406,1238,1256,1078,885,1172,1342,1456,1432,1234,1260,1360,1426,1132,797,681,708,1062,1780,1438,670,688,686,615,494,443,432,604,643,965,824,995,1252,1220,1044,841,740,738,633,642,607,886,1322,1308,1248,1182,1302,1460,1414,1440,1444,1440,1090,595,410,495,613,621,778,984,1076,782,830,1286,1366,924,897,1064,1108,1378,1148,1186,993,1042,1018,998,1128,1096,872,851,955,991,558,465,868,922,583,366,373,507,651,738,865,858,422,392,411,418,363,670,847,444,496,628,683,965,1009,882,967,1007,668,828,969,991,984,893,1152,1294,1316,1360,1248,1216,1050,713,651,642,686,685,1062,1226,1036,766,487,485,1196,1562,1294,1542,1424,1078,990,948,702,519,612,1114,1214,1016,1114,1066,593,595,834,1140,1484,1434,971,604,651,873,767,781,846,848,1144,1160,907,755,845,943,1272,1282,1212,1130,1026,1118,1232,1130,883,1114,1302,1348,1332,1166,1084,1116,1004,673,504,504,489,377,305,299,320,328,338,335,387,517,822,1142,1384,1322,1132,1116,700,558,622,785,1126,1452,1412,1518,1586,1670,1432,1194,1392,1274,1007,933,1084,1356,1350,1218,1128,1114,1040,916,821,979,1208,1412,1288,1164,1320,1400,1334,1040,1246,1884,2066,1552,1344,1250,1336,1444,1274,927,833,1058,1306,1494,1456,1234,1234,1346,1100,1026,914,522,631,637,782,1128,1028,847,827,753,865,1086,974,790,736,666,661,627,489,415,444,514,716,1108,857,499,490,706,917,925,977,977,777,1086,1084,1206,999,755,841,1136,1406,1204,1064,1272,1418,1378,1230,994,634,826,1148,1438,1316,891,695,601,720,1836,2518,1488,1952,1354,910,763,513,736,952,955,1310,1394,1412,1434,990,1090,1430,1166,1152,1024,651,871,943,1058,1176,1122,1160,1164,1248,1298,1172,1304,1216,1318,1664,1472,1001,783,979,1204,1376,1306,1368,1378,1400,1508,1528,1242,970,1168,1122,1198,1166,1036,836,726,828,998,813,705,836,614,412,353,406,402,373,304,307,569,945,980,1062,1570,1324,1250,1294,1392,1350,1108,1238,1230,794,442,407,422,403,381,372,403,634,645,430,410,461,523,579,854,1082,1016,611,410,288,315,471,465,423,409,747,1142,1238,1194,1100,919,681,628,760,774,788,621,564,766,814,537,340,283,282,372,383,461,601,474,541,786,784,744,665,789,793,937,1013,686,644,564,404,354,420,426,336,429,531,440,404,340,359,479,959,1226,832,821,610,557,959,882,769,884,1354,1444,1432,1274,877,930,834,502,500,1132,914,730,904,827,568,430,841,1360,926,590,824,933,1015,825,1096,1246,858,801,640,454,466,544,724,833,773,966,1056,977,853,1160,1048,671,607,1382,1720,1288,692,640,570,706,844,615,665,703,880,778,732,786,1166,1112,514,470,546,747,937,693,639,1210,1954,1218,516,447,475,907,1278,1076,967,1138,1598,1704,1026,769,1240,1266,615,394,771,839,592,515,467,709,739,576,361,414,479,388,334,344,324,344,368,354,374,523,790,502,344,350,409,419,420,375,398,612,766,741,1262,1570,702,355,310,321,413,478,473,886,1128,854,736,575,969,1800,2168,1710,1466,1198,684,460,378,468,1026,1384,1188,1066,764,280,293,230,245,407,782,741,689,701,719,584,547,744,750,615,429,387,343,314,303,326,396,475,432,380,452,670,1028,723,427,414,458,634,655,491,536,538,402,323,314,307,350,396,462,523,430,633,626,575,659,850,1132,1019,493,359,509,711,662,317,303,321,321,206,181,240,304,291,314,472,745,1048,1078,983,1068,1064,577,532],[399,362,325,288,290,360,307,336,648,611,702,664,373,304,339,331,308,343,469,465,462,457,412,385,477,680,701,545,491,459,469,504,448,422,651,628,444,565,455,429,575,582,520,518,424,412,403,403,401,414,577,704,596,439,375,365,389,383,329,283,293,289,299,280,262,264,255,257,271,279,280,275,264,270,280,312,327,395,460,461,418,456,494,549,694,839,982,683,393,363,425,678,707,685,745,464,244,244,316,325,268,286,456,573,568,606,648,655,658,608,513,753,1122,1178,1026,1084,849,1050,1226,1150,1100,962,802,692,1308,1412,1334,1396,1294,1390,1494,1316,769,919,1118,1076,664,415,321,408,462,402,341,522,1023,1116,1350,1392,1570,1636,954,455,372,596,873,1006,1366,1594,1420,1644,2106,2370,1890,1282,865,635,661,810,614,396,343,292,269,345,430,459,571,709,603,426,354,656,882,662,595,581,675,886,1086,1136,1036,901,832,459,962,1570,1034,655,772,850,897,796,747,1084,996,705,784,1096,1282,985,943,1570,1448,899,897,955,1328,1458,1548,1410,999,965,1116,1050,1206,1386,1292,1094,918,1056,1312,1408,1370,1214,1344,1526,1606,1610,1526,1438,1138,876,857,1016,1182,1064,1084,1334,1086,1116,980,860,583,446,530,595,616,628,537,471,400,408,455,418,367,317,286,337,430,505,708,649,405,336,329,367,388,406,441,672,853,930,639,392,345,332,378,390,404,443,637,891,888,785,814,769,753,785,804,860,1030,1536,1512,1482,1328,1154,916,1224,1100,1034,1064,1242,1252,1182,1440,1442,1072,928,1170,1062,1064,952,1248,1504,1594,1732,1782,1718,1450,882,593,892,910,606,732,911,860,741,678,896,1460,1444,1048,868,860,896,1004,1124,1304,941,925,1110,1054,1176,1380,1148,1224,1526,1005,795,882,1202,1326,1254,845,610,576,774,1044,1236,1186,1009,1042,1170,623,368,549,1076,980,1212,1256,1272,1176,1040,1002,871,1030,1268,1424,1330,1094,1100,1088,1118,1011,1112,1036,883,797,992,1360,1248,1446,1128,1078,1052,959,949,1082,1190,1284,1084,970,1180,1006,930,854,811,785,1122,1214,1204,1017,812,888,840,1007,1152,958,731,623,380,571,1016,1546,1520,1378,969,720,780,792,719,646,684,790,1044,913,662,1230,1528,1466,1278,873,737,1152,1514,1466,1504,1676,1428,1428,1548,1196,736,796,836,719,877,1050,824,1046,1228,1072,993,623,979,1222,1026,780,774,1128,1504,1556,1456,1190,1224,1304,1334,1060,940,633,756,863,888,1180,1412,1554,1562,1356,1340,1244,1058,990,1260,1494,1570,1260,1086,777,1062,1398,1082,741,781,1098,1318,1212,1012,952,1068,1080,1248,1840,1844,1086,674,756,729,1094,1074,1162,973,860,926,755,775,1023,1040,779,918,1268,1023,879,859,1190,750,785,607,401,354,347,329,289,273,286,339,365,394,510,500,444,412,401,411,423,554,599,576,487,482,482,813,1242,1140,1100,1152,1001,1062,1100,705,531,659,889,752,531,517,561,861,1140,1350,1492,1302,1542,1548,1490,1398,1250,1130,560,456,706,1036,1042,1014,916,1266,1122,1124,1208,1340,1334,1126,1094,1302,1132,850,817,1074,1244,1007,1252,1310,1286,1448,1398,1240,1256,1344,963,931,969,1230,1394,1246,618,369,499,612,540,447,328,374,542,670,616,693,807,929,1056,1190,1016,719,752,773,791,965,998,1160,1012,673,574,695,997,1076,1024,990,1230,1282,1108,1128,1276,1202,1176,1262,1194,1230,1242,1376,1316,1252,1166,1146,1202,1140,1046,1156,1082,1212,1214,1058,1290,933,852,865,742,645,621,574,462,487,744,738,1032,1268,1136,1302,911,730,1036,1242,729,329,330,397,455,309,669,1056,1182,1086,1228,1210,1288,1224,1152,1194,1128,930,834,1000,1116,924,1086,1310,861,534,386,308,267,260,233,434,974,869,1001,1390,946,755,608,688,1218,1428,1116,1068,1268,1220,1140,1204,810,476,528,553,381,440,535,458,398,381,383,359,376,402,400,389,354,417,440,433,412,461,522,574,563,408,398,354,357,381,391,388,389,335,306,304,295,314,309,294,313,322,328,341,365,399,374,372,336,294,310,317,304,293,296,317,301,300,311,335,351,458,780,1086,1208,1482,1916,1836,1254,668,532,547,426,394,400,415,406,377,400,435,442,442,410,389,403,499,766,1176,1440,1418,1432,1612,1788,1918,1954,1832,1882,1970,1632,875,605,723,1172,1122,918,1092,1274,1428,1356,1358,1368,1404,1728,1598,1284,1282,1332,1296,1312,1238,1282,1432,1360,1204,1408,1576,1134,803,812,864,1190,1454,1420,1148,1164,1148,905,974,1012,1158,1432,1300,1062,922,1180,1136,899,920,1124,985,1078,1256,1196,948,640,697,638,514,485,395,339,323,310,303,326,318,334,336,347,335,357,402,351,328,346,344,339,310,432,677,618,568,499,425,399,390,396,450,1052,1426,1312,1192,1108,1282,1450,1356,1160,995,880,1082,1114,1056,849,872,1128,1252,1062,1098,1158,992,1132,1340,1666,1246,1026,841,985,1164,1124,1088,1298,1200,1194,1548,1826,1766,1074,1174,1214,1124,1232,1534,1578,1422,1442,1474,1336,1194,1021,848,738,519,534,564,693,973,1256,1362,1190,1154,1312,1400,1546,1382,1360,1222,1578,1458,801,491,443,602,872,1524,1512,882,1070,882,790,772,727,742,827,713,977,935,930,1015,1015,1082,1076,761,849,1070,1234,1226,1184,1184,1102,1226,1346,1382,1186,1084,1126,1416,1334,549,421,567,642,660,619,617,845,738,446,745,1312,1232,784,971,678,529,823,930,708,816,951,943,1150,1346,1160,545,530,859,985,648,416,580,710,509,409,493,646,912,1013,1026,579,295,337,414,381,385,399,384,329,407,494,530,630,770,872,1052,1108,767,695,586,625,677,714,1019,1268,1242,1282,1070,735,622,562,510,566,752,1024,1248,1100,976,906,623,558,711,901,1176,1338,1414,770,473,426,400,441,712,1072,1122,1130,1040,948,905,1064,1350,1352,1556,1446,849,647,896,1094,880,865,1158,1262,1278,1378,1150,1013,985,1090,1120,1114,1162,1122,1126,1026,1144,760,514,962,1028,1032,1050,872,759,913,946,729,584,644,572,381,315,303,317,332,362,375,462,670,1058,1240,1314,1410,1344,1288,727,547,755,975,1148,1314,1472,1690,1760,1664,1284,1308,1410,1252,1086,1176,1276,1400,1324,1216,1164,1100,851,816,936,1108,1220,1340,1320,1204,1170,1290,1216,1158,1536,1806,1328,945,993,1168,1282,1400,1218,922,874,1138,1220,1244,1278,1308,1324,1236,1176,1114,977,686,713,828,1476,1338,1032,841,924,1028,1044,1068,912,784,553,571,712,753,672,454,375,398,600,745,547,447,714,1112,1322,1248,1274,1298,1242,1476,1438,1332,1154,1218,1382,1368,1296,1242,1140,1048,853,856,714,614,578,1024,1354,1566,1278,782,677,887,882,1588,2588,1748,2442,1342,956,974,915,1032,1017,1074,1462,1278,1006,1196,1084,929,1068,1130,1152,921,484,527,462,741,1001,894,1096,1322,1466,1298,1102,1244,1366,1390,1336,1322,1374,1500,1428,1310,1406,1166,892,1009,1360,1192,1302,1472,1394,1296,1188,1272,1224,842,721,1042,715,579,627,608,596,457,429,411,436,432,355,270,273,363,445,548,855,1192,1352,1310,1286,1426,1340,1170,1224,1118,620,322,424,512,472,387,367,379,456,436,327,520,716,680,469,482,590,686,421,482,372,284,313,436,390,509,849,1116,1246,1088,869,566,466,478,447,422,531,558,471,671,749,611,642,565,471,510,390,350,404,504,636,680,584,558,537,532,579,848,794,524,747,653,469,378,393,450,383,548,692,506,402,404,422,635,1172,1202,818,845,630,722,973,712,474,397,513,687,982,1128,1066,1034,921,644,579,836,722,791,930,701,494,404,897,1740,1226,808,998,934,855,973,1118,1098,1021,1092,837,486,527,577,679,769,1008,1246,776,567,625,780,1180,1005,825,1282,1228,724,524,508,488,861,1666,1236,664,821,830,654,625,482,626,877,571,465,561,993,1058,775,589,726,1030,843,603,437,424,592,1218,1568,1428,1264,1486,1572,1158,1048,1248,1156,650,393,678,656,501,637,404,546,744,620,382,360,395,368,359,373,404,403,414,417,398,423,650,618,511,591,838,901,667,422,391,767,1416,1332,1280,1934,1080,400,324,371,344,538,672,753,795,745,468,530,932,1494,1820,1464,1390,1120,571,412,369,378,775,1314,1446,1138,642,318,250,236,242,260,495,998,901,623,696,705,714,710,525,392,369,340,303,303,321,346,387,506,496,360,310,428,631,394,357,367,471,477,557,542,445,364,361,348,369,334,376,437,396,379,384,649,1084,1028,865,971,1018,905,615,458,530,612,470,367,392,434,359,236,204,255,282,291,360,564,800,1050,1082,1120,990,952,629,405],[323,371,297,301,344,377,462,720,1100,938,717,803,638,393,363,406,342,393,465,487,439,412,462,466,513,574,522,471,432,482,480,505,441,466,710,582,425,461,466,467,455,419,449,449,457,413,405,424,437,451,541,641,594,480,385,430,414,364,369,376,349,312,297,299,319,314,281,275,277,281,270,271,292,318,327,332,334,380,434,481,496,532,479,469,668,792,1040,1052,574,477,573,633,482,321,298,277,243,291,314,324,309,336,427,543,548,682,680,632,565,486,456,418,648,908,885,856,944,1134,1090,895,631,892,991,842,741,732,1290,1446,1148,1076,1208,801,761,1180,1064,1070,730,389,345,330,415,553,665,519,689,1164,1250,1164,1280,1758,1236,596,465,565,986,1256,1286,1338,1284,1180,946,1506,1946,2276,1910,1208,711,579,412,390,339,360,302,326,383,624,559,680,471,287,276,370,464,552,514,475,789,1226,1132,971,819,797,804,531,805,1060,839,726,832,888,963,995,1064,1444,1354,982,1424,1392,825,516,649,855,679,685,891,918,1216,1108,1424,1416,1176,1096,1064,1148,1382,1408,1110,957,733,977,1384,1474,1350,908,926,1312,1468,1296,1214,1252,984,908,1007,991,1296,993,832,1180,1042,873,923,852,549,462,527,591,762,840,787,650,476,455,433,405,367,356,356,307,323,415,464,500,495,405,332,322,332,368,388,385,453,478,408,375,382,368,371,393,429,459,728,910,904,930,973,948,949,918,940,1021,1318,1106,869,1482,1396,861,875,1268,1360,1220,1108,1106,1098,1132,1158,1248,1220,946,952,821,933,772,973,1564,1844,1726,1472,1296,1112,837,803,839,837,545,647,700,727,963,891,765,1104,844,733,980,998,1036,1001,1190,985,959,1252,1156,807,963,1332,1012,1082,1162,1052,1060,986,1198,1208,1344,1136,686,836,921,1258,1346,1062,975,1060,1400,1328,732,1003,1262,1232,1428,1182,896,768,651,746,960,1146,1306,1410,1194,1212,1096,963,1194,1238,1030,852,1026,957,816,1040,866,893,940,1114,1142,1010,1030,1062,988,959,926,926,1158,950,874,1011,946,859,942,915,1032,993,882,959,1016,1080,905,698,466,406,594,572,882,1476,1772,1420,771,468,594,927,1226,836,857,1072,927,585,544,942,1272,1312,1092,1184,1736,1666,1418,1694,1710,1738,1684,1548,1240,1126,1046,1130,1144,896,994,1316,1010,1007,1046,1138,959,835,1026,974,782,797,1100,1364,1572,1556,1632,1890,1544,1464,1550,1130,757,904,1406,1278,1054,1144,1470,1614,1426,1262,1100,1202,1136,1260,1654,1578,1282,1146,1038,963,1034,1382,1188,667,761,1148,1340,1292,1306,1114,1384,1250,1202,1500,1360,995,673,784,880,1138,1238,1140,1208,1054,897,794,716,1072,1344,1280,1420,1264,1034,740,672,689,800,1058,712,390,380,399,388,274,312,340,344,275,337,421,418,385,405,403,392,421,492,608,690,539,540,627,665,741,749,676,1040,1144,1300,1062,522,361,521,791,766,551,503,575,1102,1212,1296,1354,1284,1554,1850,1864,1572,1214,905,595,461,523,1298,1282,833,948,1208,979,983,1184,1254,1246,1022,865,724,940,1134,1088,822,770,750,1023,1260,1290,1420,1482,1512,1364,1258,742,795,1100,1230,1382,1184,708,454,572,618,601,676,567,644,654,814,885,836,739,625,786,1014,882,708,636,744,768,987,1094,1248,962,720,837,954,964,929,912,813,778,848,944,971,960,1224,1234,1310,1282,1260,1220,1372,1412,1218,942,979,1104,1154,1152,1158,913,1036,1274,1162,1186,1028,911,763,473,455,436,432,415,399,740,788,1152,1368,1114,1306,1404,1074,1152,1298,841,382,296,350,394,413,888,1036,1016,1084,1216,1444,1468,1378,1444,1284,986,733,806,963,1262,1048,974,974,907,716,368,361,378,352,299,424,906,881,893,1009,941,861,910,1086,1216,1334,1370,954,1254,1264,1264,1190,780,495,414,350,336,392,415,348,327,319,342,336,354,341,340,321,340,459,494,439,453,482,497,607,563,380,350,345,362,429,425,394,372,333,327,318,304,283,263,279,285,283,282,298,326,356,376,425,392,331,325,319,299,300,310,319,304,300,307,311,329,361,608,1094,1182,1324,1916,1916,1588,914,509,401,372,374,384,408,423,410,409,432,415,425,431,425,595,953,1196,1312,1384,1516,1694,1892,1994,1932,1830,1860,1796,1328,880,636,829,977,1238,1046,824,1206,1408,1502,1260,1290,1464,1504,1794,1608,1320,1122,1118,1272,1394,1206,1064,1290,1354,1270,1484,1570,1350,769,448,810,1190,1252,1230,1164,1282,1148,954,1084,1196,1582,1576,1388,1078,823,940,1150,1054,1114,1384,1156,827,904,661,425,509,545,418,382,374,366,349,323,316,304,325,334,320,335,398,462,469,475,408,344,360,340,334,320,361,449,558,637,588,490,437,569,508,446,778,916,1212,1336,1224,1118,1092,733,823,1178,1250,1292,1110,1250,1300,1560,1844,1046,674,1050,1070,988,1094,1296,1194,1072,1021,965,961,1048,1140,1206,1296,1164,1186,1330,1382,1372,1120,1214,1248,1298,1362,1310,1302,1246,1436,1278,1200,1136,1001,915,719,572,573,597,803,1070,1342,1548,1464,1198,1306,1274,1400,1546,1522,1178,1438,1378,977,741,626,747,756,936,1250,1212,1138,930,847,1058,829,668,634,547,532,595,825,963,1218,1430,1426,1350,1364,1470,1324,890,647,720,821,775,995,1360,1296,1240,1316,1824,1504,601,359,732,850,648,560,598,641,608,747,857,984,977,861,840,620,536,699,901,815,778,1078,1174,1402,1544,1268,563,615,1122,1504,935,435,521,565,464,496,549,540,703,866,1166,730,390,339,344,336,339,412,677,623,336,410,639,747,846,680,908,1044,913,566,331,436,550,579,722,1066,874,1170,1080,793,724,689,601,667,1014,1244,1272,1218,1040,744,495,748,558,493,1106,1172,1192,716,428,429,410,476,722,878,932,1078,880,1154,1346,1344,1548,1338,1290,1282,945,651,525,631,567,840,1222,1136,1082,1150,1032,941,1001,1018,1008,1146,1228,1284,1300,1234,1300,949,753,1005,977,929,840,601,454,563,598,681,626,676,511,372,340,339,358,379,339,340,405,908,1886,1676,1318,1152,1136,1262,858,627,715,1002,1202,1176,1272,1494,1674,1538,1078,1228,1426,1150,1100,1150,1224,1304,1328,1082,1062,1108,844,883,1164,1406,1088,1222,1326,1230,1388,1210,1052,1254,1356,1332,1250,1098,1148,1298,1218,1224,1192,1066,1144,1282,1170,1060,1152,1346,1340,1268,1122,1030,894,761,1180,1404,1436,1136,1214,1070,969,1108,1162,836,683,977,736,636,931,992,1010,740,436,374,386,413,373,425,628,980,1618,1350,1388,1318,1410,1682,1620,1394,1290,1216,938,771,1074,1376,1360,1104,902,893,877,825,836,1228,1334,1004,854,606,704,1152,1034,1052,2244,2408,2062,1166,1044,1168,1206,977,781,1284,1500,867,677,1230,1076,980,891,1036,1110,897,591,361,351,549,908,1034,1088,1064,1250,1250,1342,1306,1412,1462,1138,1015,1090,1224,1062,862,904,1054,840,1040,1222,1146,1344,1100,891,1026,1328,1220,855,639,817,1196,807,715,637,522,378,401,488,498,506,414,322,237,258,293,301,417,735,1224,1318,1388,1386,1332,1304,1164,1056,802,406,298,386,515,476,374,349,346,379,485,800,924,960,959,712,414,270,237,255,391,324,273,277,329,432,749,1246,1748,1760,940,635,390,397,412,371,390,470,442,442,608,637,447,537,543,561,543,395,380,517,642,700,537,437,495,547,542,564,656,654,808,994,850,659,646,594,494,408,666,957,852,533,422,409,717,1198,1130,1166,1076,866,986,1013,630,545,546,478,529,630,683,883,1068,1056,860,890,908,680,680,818,564,459,462,658,1190,741,503,806,1034,1001,943,898,1050,1172,1172,1068,709,723,775,796,897,1328,1780,1048,507,631,539,788,1100,1022,1212,1005,519,490,428,385,691,1452,1482,963,745,689,644,479,412,432,586,818,714,870,1122,1482,1476,825,497,488,688,619,408,418,442,869,1318,1268,1084,975,1056,1108,1384,1766,1652,1136,520,675,838,921,949,595,536,718,744,850,946,655,474,422,417,430,436,404,377,368,363,578,992,1036,998,1198,1308,860,659,691,758,1426,1456,1096,1760,1140,460,363,242,340,724,963,919,714,484,386,391,644,920,911,847,1118,1204,971,638,424,370,554,1026,1060,686,379,251,230,274,261,246,243,533,775,693,501,594,716,431,396,443,467,372,304,307,336,347,373,428,396,306,325,365,365,371,339,343,409,457,560,742,705,607,563,435,819,601,544,486,632,605,429,669,1164,946,612,644,714,713,629,724,735,566,393,376,406,391,329,232,208,261,274,290,391,466,545,514,924,1170,969,952,854,601],[393,327,258,276,382,421,684,860,939,1008,833,848,734,642,481,476,375,422,448,501,467,388,428,534,669,648,597,531,484,558,470,505,543,568,626,513,480,554,554,530,524,498,452,397,412,367,374,400,397,345,389,438,463,480,491,459,438,550,598,481,546,524,373,335,324,324,303,293,283,297,275,263,262,305,350,338,330,360,405,500,595,644,529,508,724,897,708,670,482,340,304,262,209,194,195,205,260,308,332,354,364,354,406,473,565,669,678,613,441,484,597,558,693,760,896,994,1032,774,815,939,818,1152,1252,1050,1066,1094,1452,1572,1282,1100,1540,1292,1174,1244,1128,1184,788,392,511,855,764,1019,1140,702,1094,1236,1106,979,983,1508,1302,924,764,1082,1400,1266,1240,1204,860,665,679,810,1594,1914,2058,2020,1658,992,487,412,335,299,307,254,294,571,547,637,570,392,376,446,491,648,572,641,809,1026,870,773,601,706,736,509,719,1166,979,855,1158,1258,1118,1002,1052,1032,589,960,1514,1036,554,669,845,556,771,1290,990,1086,1182,1504,1586,1274,954,728,894,1272,1498,1614,1148,1070,955,940,1030,1144,1274,905,868,1260,1284,1184,1116,1294,1118,1226,1228,824,1046,952,1024,1238,1136,889,863,772,677,478,514,667,876,916,693,634,504,445,503,459,406,550,558,359,319,303,228,285,501,524,498,419,357,361,376,378,390,392,378,370,368,392,398,416,410,521,805,938,915,911,989,960,821,728,969,1328,1218,543,444,1152,1254,920,988,1534,1616,1372,1230,1310,1382,1324,1114,1100,1396,1016,828,1110,1300,1184,1234,1470,1526,1448,1434,1478,1164,624,601,553,538,616,618,483,653,1352,1780,1015,959,655,852,1108,1466,1204,821,643,596,807,841,792,904,997,1278,1062,1013,1282,1396,1516,1384,1388,1406,1750,1532,1064,869,866,950,1096,1120,1226,1476,1632,1572,1246,1406,1474,1192,933,695,680,608,456,415,863,1242,1350,1252,986,1102,1007,1011,1184,1152,1048,850,1078,842,720,582,645,971,1068,1060,1048,973,1114,985,968,867,849,835,991,1044,841,675,500,583,741,604,678,954,1102,1078,929,532,565,481,554,482,456,481,690,1208,1576,1224,750,381,616,1188,1242,911,1108,902,885,1078,811,705,1154,1246,1172,1076,1030,1628,1642,2386,2162,1828,1780,1622,1396,1296,1316,1260,1272,1140,1232,1358,1222,1322,1438,1580,1498,1078,919,850,630,1162,2010,1310,1028,1110,1228,1906,1948,1268,1020,891,784,1252,1488,1166,1024,819,977,1023,991,1198,1266,1338,1244,1198,1232,1210,1192,1094,1108,1134,1124,1290,1404,969,921,1404,1486,1410,1044,983,1288,1208,1338,1202,944,874,959,877,506,508,1013,1280,1230,1028,952,977,745,1106,1274,1550,1366,1072,1130,1250,912,585,875,928,532,401,389,416,407,312,284,296,319,321,363,407,411,431,417,375,418,492,515,503,481,456,529,634,632,786,808,938,1142,1120,971,897,673,519,702,907,641,546,805,876,996,1196,1346,1422,1522,1880,2128,1832,1308,1316,1160,750,474,780,1386,1084,482,515,766,1018,1090,1302,1366,1074,696,508,402,548,827,1024,648,409,543,1024,1410,1294,1240,1340,1638,1434,1260,852,692,903,1086,1214,1172,1078,900,797,797,739,747,686,705,651,803,922,890,733,688,792,938,951,844,488,459,648,1008,967,1032,1074,1142,1420,1572,1398,1038,896,590,654,611,902,965,883,1346,1382,1276,1354,1360,1492,1582,1646,1482,1212,1162,1212,1032,1200,1334,1218,1238,1172,1104,1154,1056,872,574,368,381,416,401,381,354,546,952,1422,1366,1134,1510,1858,1284,1072,920,922,540,325,375,409,484,908,896,891,1122,1114,1390,1570,1626,1426,1007,966,1080,909,924,1126,1028,843,869,1090,927,614,529,367,341,328,593,977,921,738,874,944,866,910,842,705,1114,1614,1106,1188,1138,1054,1026,769,432,332,322,347,356,331,337,339,332,343,360,378,341,329,343,389,493,521,499,442,395,420,468,440,384,376,387,379,394,394,358,349,368,362,346,314,296,289,298,300,298,289,296,330,338,371,449,386,331,325,303,317,343,330,301,286,296,303,290,324,429,721,1150,1036,1152,1880,1890,1798,1180,589,422,399,379,381,426,496,469,450,436,391,451,727,995,1266,1376,1376,1570,1832,1876,1768,1874,1852,1804,1848,1656,1080,935,858,659,876,1150,1318,1186,813,1046,1276,1588,1344,1214,1242,1242,1320,1136,935,1060,1304,1288,1354,1130,1118,1218,1380,1686,1728,1568,959,749,882,1172,1412,1110,957,1120,1122,798,987,1116,1164,1238,1336,1320,1050,891,1032,1174,1122,1178,1218,771,517,502,416,430,676,669,444,347,329,319,322,301,310,392,407,364,368,406,459,491,478,510,445,354,357,350,340,328,341,362,572,695,666,592,487,645,666,448,519,668,984,1012,877,875,1006,592,678,1366,1598,1164,916,1002,1008,927,1228,918,622,935,1210,1228,1130,1212,1200,983,990,1174,1036,1244,1214,1164,1098,1186,1130,1122,888,897,910,1156,1322,1244,1076,875,972,1064,1336,1394,1348,1042,928,1186,1052,696,387,684,1402,1490,1402,1460,1452,1286,1380,1242,1312,1510,1738,1466,1142,918,927,1054,849,923,922,1302,1432,1642,1316,913,669,862,803,571,634,777,860,1050,1256,1262,1130,1174,1142,860,714,1100,1336,862,390,496,597,832,1152,1116,1170,961,969,1216,1124,561,328,631,732,622,570,603,725,1046,1224,762,518,605,663,581,805,888,752,1028,1174,817,1172,1072,1332,1388,1152,697,733,1058,1194,797,505,525,489,454,532,519,445,752,1232,1240,937,540,381,343,409,406,629,1068,975,528,558,744,816,854,760,579,526,653,573,497,515,666,691,729,1070,633,1004,1032,960,968,1074,818,783,1180,1236,1046,956,648,562,441,575,655,644,947,1092,1112,932,683,505,605,559,854,1021,969,1003,886,1054,1158,1134,1112,816,794,1308,1374,702,397,428,495,865,1058,1021,988,953,931,1036,1128,1174,1206,1206,1286,1360,1228,1238,1118,1044,1138,1294,1320,1246,1352,1072,781,920,658,689,625,594,508,389,352,333,365,420,653,951,891,1246,2338,2036,1736,1534,1462,1362,990,646,539,802,1044,1026,1242,1308,1610,1332,1310,1494,1620,1446,1300,1208,1236,1210,1174,1148,1180,1184,1124,1230,1240,1316,1012,1130,1192,1294,1394,1154,1094,1112,1208,1390,1324,1100,1134,1052,1198,1296,1236,1268,1328,1274,1234,1128,1138,1234,1268,1092,1284,1262,735,828,1222,1202,947,1142,1326,980,978,1224,1320,775,554,811,1032,761,896,940,1010,902,540,440,551,528,371,423,542,1052,1694,1564,1604,1642,1570,1310,1050,805,632,567,475,692,1322,1700,1490,1250,985,998,967,727,926,1372,1230,671,473,379,640,972,774,769,1334,1292,1332,1328,1268,1142,906,713,969,1372,1372,839,694,897,659,650,628,977,1260,1294,886,378,392,493,979,1346,1364,1402,1176,1226,1468,1230,1112,1080,924,802,823,750,607,599,640,841,900,776,841,1154,1098,781,579,541,769,1174,1296,1062,833,1294,1144,762,596,461,365,440,466,474,490,383,312,269,326,327,276,656,1158,1144,860,1036,1280,1224,1086,1148,966,466,298,360,412,476,462,397,351,351,408,838,1342,1064,985,666,527,336,280,276,306,302,272,267,315,416,443,902,1488,1450,1188,827,451,339,390,395,346,417,463,406,369,456,532,364,447,376,307,349,419,503,653,935,1001,576,361,393,471,550,534,529,791,1186,1280,988,765,828,705,539,505,460,575,850,790,669,646,1032,1238,1028,766,793,948,1520,1598,963,890,697,545,542,501,507,726,952,1012,1106,1006,991,865,679,692,544,528,518,603,765,632,459,581,711,852,934,1026,1172,1140,1108,1008,717,647,599,550,491,966,1698,1180,509,653,778,1076,1626,1626,1334,808,601,485,548,785,741,788,998,962,822,664,581,449,430,440,702,973,1136,1084,818,1250,1228,648,700,1170,1210,809,465,427,403,553,1234,1082,837,927,1118,1220,1196,1404,1490,1168,1034,1274,1116,1172,1062,686,845,1382,1386,1594,1700,1062,696,486,448,401,377,321,323,370,563,637,824,1214,1232,1476,1912,1392,940,655,707,1070,1108,683,724,520,390,384,991,1908,1390,1001,730,448,359,369,378,412,464,474,808,1146,1278,1112,686,380,361,542,1001,774,437,379,271,229,246,227,236,256,310,502,628,651,951,817,466,636,650,469,367,348,309,265,263,405,437,364,321,321,379,418,435,420,428,510,478,599,946,844,643,561,565,1208,1112,1230,1362,1306,1082,665,750,889,574,428,571,594,544,479,646,630,511,443,388,391,401,398,370,361,357,349,390,484,530,672,854,1158,1152,716,654,487,552],[325,261,350,513,510,558,878,887,659,1054,924,702,767,868,861,933,695,800,848,711,811,849,800,734,713,792,850,617,641,901,879,693,689,605,485,481,483,584,676,483,475,503,404,371,399,455,455,411,364,355,339,254,302,327,404,422,454,577,681,651,758,636,395,352,328,328,338,365,412,350,329,341,315,305,328,327,332,346,390,514,538,543,495,493,596,658,426,250,200,207,235,197,213,231,236,241,291,336,364,375,419,416,410,414,457,496,517,620,675,591,451,532,818,962,1058,842,685,596,637,868,1160,1248,1052,911,1032,979,963,1202,1080,946,1298,1382,1190,1160,1318,1326,755,621,757,1062,835,966,852,739,1030,1066,1362,990,741,1058,1064,1094,1152,1376,1180,1204,1364,1390,787,566,577,733,1266,1248,968,1216,1636,1848,1278,767,476,375,337,253,330,655,697,452,398,324,355,446,416,465,384,1022,1154,744,614,531,464,572,716,601,551,755,723,706,1018,1132,888,931,1310,993,720,904,763,534,441,613,969,858,905,1236,1308,1318,1132,1030,1144,1102,947,1102,1204,1046,1298,1244,788,1324,1322,932,900,1096,1316,1180,1078,1306,1226,1242,1044,1146,1510,1090,1094,1024,914,1012,1286,1450,1290,1018,1011,962,933,654,681,789,789,747,538,430,432,545,583,444,583,683,620,416,314,252,250,311,345,381,484,560,484,368,357,361,374,376,390,395,445,481,477,443,465,706,896,879,887,904,870,662,890,970,1216,1344,818,572,893,977,1011,1244,1112,1610,2046,1710,1798,1412,1106,1258,1324,1346,1404,1204,1302,1692,1526,1470,1474,1370,1296,1378,1072,1372,1046,852,1020,789,618,562,709,725,753,1134,1386,1110,1004,1001,1146,1252,1072,815,940,894,611,462,410,511,915,1256,1322,1388,1312,1504,1444,1410,1424,1502,1668,1554,1126,868,793,952,881,1040,1162,1264,1772,1692,1372,1246,1196,1126,1092,1084,996,1102,650,392,373,807,1056,1230,1262,1222,1188,930,1190,1216,1122,865,1023,1108,775,501,480,716,866,745,1015,1206,988,962,1034,938,908,909,811,1046,1194,1096,1056,870,761,846,915,1142,1108,1080,979,722,455,350,336,521,561,506,557,645,695,825,891,965,557,707,1120,1268,988,980,716,857,1570,1604,1082,1216,1240,1324,985,703,1036,1406,1748,1546,1678,1826,1782,1710,1410,1452,1402,1540,1500,1452,1228,944,869,706,1158,1536,1256,1130,872,919,1248,1622,1102,724,602,640,967,1248,1130,1017,976,993,1244,1152,947,772,687,1122,1222,1250,1434,1408,1266,1204,1184,872,833,1016,1060,920,1048,1208,1252,1266,1166,1312,1158,981,1052,803,797,1122,1140,1164,966,796,784,739,523,464,587,1082,1434,1328,1208,1180,1234,980,990,1204,1220,1180,1222,1154,1366,1364,1018,642,464,412,401,352,361,325,290,253,266,350,421,441,421,460,513,454,430,459,504,509,480,423,465,484,568,638,948,1300,1238,1292,940,621,554,605,677,655,825,722,646,883,827,758,1058,1420,1398,1494,1906,1936,1194,1114,1240,1178,1076,893,728,631,721,758,656,779,828,528,771,1082,1422,1118,554,394,410,888,1050,564,430,507,661,852,1072,1262,1274,1506,1498,1466,1136,891,916,927,843,1164,1288,1234,896,775,681,791,834,938,965,879,930,902,802,745,733,796,803,763,620,482,709,866,931,1010,1028,1322,1388,1394,1306,926,738,899,771,665,962,988,1046,1326,1166,939,1176,1206,1230,1250,1282,1296,1222,1050,1146,1420,1444,1112,1042,989,993,1186,1038,988,960,478,348,349,379,331,351,398,346,834,1414,1226,912,1376,1708,966,630,927,739,482,372,322,352,435,669,949,1130,1312,1232,1338,1366,1430,951,738,1020,1122,972,979,1206,1150,564,583,985,1000,1005,741,397,321,451,811,916,839,931,1006,873,836,994,1028,808,887,1228,1310,1368,1158,857,844,767,435,369,318,316,297,264,295,325,329,317,399,405,332,364,452,465,483,476,402,339,293,299,301,325,365,394,420,400,373,380,338,310,356,332,316,288,289,305,316,330,332,322,314,322,328,398,452,386,343,333,317,323,319,313,303,292,294,300,311,363,547,968,1026,692,817,1610,1876,1836,1614,1096,580,434,372,392,459,587,552,455,440,637,977,1290,1302,1208,1290,1636,1904,1942,1770,1660,1716,1780,1872,1602,1074,937,1166,1036,749,857,1098,1184,1396,1028,1032,1264,1368,1372,1320,1038,1150,1196,827,744,1124,1350,1482,1454,1136,1198,1306,1324,1688,1836,1516,1072,1316,1426,1356,1284,851,524,695,825,912,969,1166,1228,1158,1368,1266,1001,1058,1070,851,653,579,498,375,349,347,354,408,475,425,339,330,308,300,304,316,359,622,538,386,371,418,528,543,512,481,495,383,343,347,362,339,344,351,366,376,475,514,505,678,648,515,517,671,1126,1076,1080,1090,819,498,697,1238,1024,840,802,605,948,667,890,986,955,1300,1642,1484,1082,1064,1114,839,826,1072,1016,1336,1344,1206,1094,1308,1246,1060,806,686,753,963,934,1058,1422,1132,1007,1182,1318,1492,1494,1196,1262,1350,1106,744,674,928,1296,1086,1178,1570,1484,1246,1104,1134,1326,1404,1650,1804,1362,1156,1518,1208,890,939,920,1588,1598,1578,1586,1386,935,820,1094,1114,1180,1036,910,872,1044,957,952,1258,1338,1002,652,784,1092,857,496,693,802,973,1130,753,872,901,645,767,962,767,521,445,524,631,495,756,837,1062,969,586,473,478,477,495,630,1018,1338,1198,1082,954,1128,886,1204,1250,1020,774,806,1062,912,689,783,787,570,448,472,622,614,979,1086,1198,1140,782,475,429,415,345,593,878,706,501,465,517,669,692,686,688,692,664,582,607,581,753,727,686,698,561,866,1064,919,940,1102,845,827,1122,1126,846,537,423,771,749,714,805,988,1248,1158,1118,1056,722,655,865,869,981,988,1150,1050,1024,1096,966,1040,1084,513,580,1152,1532,882,509,566,794,1084,938,841,1088,1056,949,807,871,1001,1076,1004,1020,1086,1118,1017,819,977,1342,1578,1690,1714,1852,1256,723,724,662,679,654,536,469,466,415,399,557,789,1582,2270,2214,2364,2300,1720,1570,1470,1518,1438,992,602,487,596,984,1018,1288,1378,1598,1242,1118,1340,1576,1494,1158,999,1224,1270,1226,1278,1210,1286,1206,1216,1158,1068,1140,1132,1090,1232,1246,1248,1326,1178,1164,1268,911,757,1082,1160,1120,1144,1190,1366,1412,1284,1256,1218,1282,1060,948,1040,1298,1058,811,839,1044,1146,1092,1378,1144,818,1054,1122,1300,1294,1254,893,959,854,852,1116,1140,1030,916,596,794,634,534,756,780,1170,1476,1548,1476,1258,954,625,566,560,789,952,890,830,830,1340,1334,1050,899,857,600,388,650,1094,1098,617,347,394,579,626,512,567,1021,1256,1222,1322,1360,1346,1210,914,899,934,869,1006,799,714,868,910,1122,1310,1294,1240,761,462,424,567,1318,1852,1888,1472,1140,1310,1354,1092,1046,995,916,846,777,892,857,932,1072,1268,1388,1040,739,929,1114,1060,668,503,426,530,781,1128,1246,1390,1048,844,844,653,401,358,335,389,353,344,310,276,296,347,548,995,1384,1260,903,852,1248,1226,1334,1376,949,450,491,739,663,447,537,681,580,539,672,1202,1388,1320,755,415,370,317,280,261,269,276,287,267,309,462,731,1106,1354,967,918,792,480,398,415,384,334,378,398,372,293,268,303,380,395,362,332,294,332,573,725,758,753,482,405,424,473,532,558,491,763,1158,1344,987,682,721,629,605,655,551,487,711,908,1262,1328,1354,1354,1220,681,669,1094,1690,1023,904,1458,1706,1366,669,550,667,758,820,1348,1742,1124,1082,977,619,634,874,747,539,611,791,691,494,592,709,877,1064,1010,828,773,1232,1366,739,580,799,733,518,804,1272,1332,1042,1192,1054,1624,1814,1636,1340,978,752,679,796,1018,1050,774,844,1170,1402,854,570,479,450,462,632,636,831,847,560,672,564,519,783,1252,1300,1036,543,433,395,364,485,443,583,944,1248,1594,1282,802,888,850,1206,1464,1698,1868,1318,773,1114,1670,1526,1644,1904,914,650,472,422,395,352,354,303,473,794,597,644,1006,1176,1412,1438,1046,730,465,607,807,692,440,387,404,432,582,1526,2114,1306,784,386,302,357,614,555,380,424,523,863,1198,1230,924,604,579,505,583,1076,842,524,477,326,233,245,220,249,308,310,341,427,697,871,814,633,680,832,645,334,318,262,230,232,340,355,379,433,350,326,396,476,507,612,718,760,1252,1498,1040,508,371,440,601,958,1402,1436,1636,1840,1023,579,524,467,368,597,699,707,666,710,774,645,461,384,426,454,478,538,493,367,379,409,755,943,1015,1222,1598,1766,1246,1100,707,756],[408,345,505,713,580,416,696,857,886,872,821,514,857,865,987,1052,717,981,1226,1160,1016,1034,972,1028,815,985,996,808,858,1044,925,940,1112,925,839,846,760,852,871,560,576,646,567,540,453,432,373,375,318,280,309,318,294,289,433,524,454,429,546,760,733,472,364,393,349,327,353,388,417,402,392,399,370,308,283,345,356,345,359,444,478,553,491,433,476,402,237,216,221,214,217,179,234,248,258,266,319,367,394,404,440,447,404,385,384,399,518,1142,724,398,393,442,807,1084,1080,775,486,450,496,824,1040,763,920,1013,1028,963,1026,739,632,1005,1664,1666,1160,1306,1296,1218,868,996,1064,1100,1066,1250,1110,758,775,926,1046,921,510,642,1072,1410,1462,1444,1372,1440,1662,1664,1222,1060,902,753,1108,972,753,543,592,1044,1876,1950,1214,574,397,367,648,949,632,377,343,298,308,314,314,325,284,546,563,389,284,336,390,482,690,658,607,803,807,855,660,889,1014,1280,1496,936,799,912,963,924,904,1128,1152,1086,974,1284,1260,899,781,1076,1162,1108,1192,895,961,904,1120,979,681,937,1210,1122,1050,1224,1242,1068,1036,1236,1262,1240,845,974,1582,1500,1444,1114,689,710,1122,1392,1484,1638,1520,997,695,660,704,787,863,752,716,672,506,532,504,574,810,728,504,368,293,246,303,346,349,318,390,606,595,519,372,362,390,450,440,432,492,599,619,526,579,875,792,769,875,863,624,601,976,1086,1162,1162,1056,916,813,607,816,1086,1116,1354,1550,1472,1696,1296,1296,1384,1504,1428,1224,1186,1358,1732,1438,1366,1228,1380,1184,1078,849,897,905,1080,1372,995,650,524,644,522,499,753,1122,1356,1428,1318,1078,894,767,747,1192,1274,959,803,622,418,527,835,1104,1366,1550,1438,1050,1128,1412,1376,1262,987,1100,944,786,879,1009,1100,1064,1096,1382,1248,1214,1194,1134,1032,1152,901,736,566,352,320,329,455,767,1154,1224,1114,1062,964,1056,960,933,839,1198,1236,1010,727,491,545,626,689,1044,1104,803,716,932,996,1038,919,946,1146,1094,1009,1082,1058,990,871,916,1038,1048,912,679,480,530,409,321,421,429,444,487,456,382,588,1076,1142,1158,1370,1426,1246,1017,954,648,592,891,1052,1164,1166,1118,1042,1050,1019,985,1246,1360,1606,2188,1948,1758,1764,1584,1522,1428,1360,1470,1002,507,423,527,485,805,1306,1498,1482,1068,1010,1062,1132,1052,692,470,552,688,682,1022,1238,1098,986,1108,978,691,556,625,1090,1250,1472,1654,1502,1340,1224,1176,769,800,769,912,1234,1368,1272,1474,1196,1030,1304,986,731,767,736,865,1108,1116,1166,1058,1020,849,682,853,1030,910,1042,1378,1454,1152,1304,1230,1412,1028,764,854,1202,1180,882,875,1058,1082,673,469,419,348,362,373,301,247,254,317,371,494,654,495,494,536,502,496,489,515,522,478,440,425,452,526,569,746,1038,1009,1300,1086,1023,681,337,582,825,835,611,622,736,697,672,844,1144,1316,1454,1462,1298,813,855,1054,1234,1340,1394,995,596,619,767,664,830,981,747,534,774,1218,1090,662,419,346,369,378,464,562,904,822,813,883,1110,1166,1340,1568,1474,1378,1382,1130,1020,944,1352,1376,1146,1080,1180,1144,1076,958,882,883,809,767,780,850,658,605,586,556,680,697,641,797,988,1058,733,781,879,987,1208,1066,1064,839,814,825,973,955,1064,1018,782,930,1001,988,1007,1001,1180,1038,1024,874,777,954,1290,1262,920,957,999,951,1252,1021,835,668,469,415,478,497,350,440,582,316,516,918,1100,901,923,1132,944,619,524,370,353,376,291,325,422,461,849,1188,1174,1164,1216,1326,1128,1028,1074,800,503,542,794,1290,1170,848,697,904,1003,858,813,861,533,359,442,469,551,685,922,988,905,874,1284,1042,781,958,1056,1054,1144,1134,924,899,459,341,287,277,280,319,350,338,329,334,341,345,354,325,357,426,456,467,419,356,312,310,291,288,310,347,401,408,390,386,349,304,314,324,311,302,318,335,352,369,356,348,338,328,349,418,455,414,384,350,327,318,299,306,309,284,276,291,310,341,661,1088,828,487,643,1292,1794,1864,1848,1528,893,567,413,399,431,526,499,670,1216,1562,1556,1362,1270,1408,1708,1910,1804,1684,1634,1694,1846,1736,1208,849,1044,1334,1374,1392,1390,1362,1434,1360,1450,1306,1282,1302,1396,1498,1368,1278,1384,1340,1268,955,1108,1288,1294,1386,1028,1178,1394,1264,1312,1492,1328,895,1234,1138,787,629,436,361,567,1196,1666,1296,1144,1204,1138,1142,860,647,830,749,491,316,324,332,341,389,398,385,385,378,346,333,339,327,309,303,304,319,475,437,374,603,805,819,833,843,680,722,509,359,335,345,357,350,354,360,337,353,383,536,641,589,528,855,992,1258,1132,1186,1150,794,525,669,1024,808,1166,969,508,646,683,866,944,1114,1220,1148,1224,1284,1190,1316,964,814,875,639,590,855,971,1182,1332,1038,705,593,840,1005,751,633,1172,1484,1354,1236,1166,1160,1392,1480,1408,1258,1192,1186,808,1174,1376,1268,891,1180,1510,1456,1318,1236,1338,1466,1446,1522,1626,1592,1648,1808,1150,998,1202,1220,1486,1458,1420,1522,1284,991,880,974,764,640,566,543,746,1396,1452,1272,1126,1180,1148,809,802,907,827,700,1108,1100,1064,1204,876,760,766,764,1070,1062,1010,849,482,821,954,623,681,759,808,598,629,799,796,892,815,825,1182,1554,1300,1072,1130,1100,695,684,587,491,673,1192,1438,1084,984,1232,1270,1015,502,414,771,621,669,1056,1088,940,761,579,522,381,326,476,749,578,373,266,321,397,406,406,501,464,519,432,486,503,498,465,590,696,632,896,999,785,1010,1210,708,664,865,689,742,655,928,1550,1460,1130,1009,913,1176,1208,1316,1266,999,1130,990,1080,1114,1019,1136,1128,1005,953,1068,1166,1058,543,739,1038,1540,1192,1072,1192,1148,1242,930,750,1013,1009,1016,936,905,730,843,1062,1046,1062,1244,988,908,1310,1772,1730,1680,1606,1634,1090,682,788,739,649,693,565,477,452,457,477,687,768,1466,1838,1534,1334,1354,1374,1294,1160,1198,1432,1198,819,702,763,1162,1296,1236,1508,1486,1118,1120,1164,1118,1024,843,984,1142,1232,1260,1314,1352,1262,1056,1082,1160,1088,1072,1184,1076,938,1100,1186,1278,1374,1238,866,560,547,877,1084,955,1072,1212,1210,1164,1030,1150,1286,1160,605,502,1016,1076,919,765,661,1136,1302,1210,1242,1102,932,779,823,1156,1684,1668,1146,1052,1002,1260,1338,948,1098,1150,633,766,801,1042,1368,1400,1410,1280,1026,1034,967,701,600,794,597,641,1012,1064,833,739,1204,1312,1028,1052,781,420,356,464,806,744,474,360,366,469,450,345,424,756,1086,1086,1140,1196,1198,977,919,1522,1470,1196,1274,907,918,1270,1118,1194,1144,1166,1352,763,477,387,786,1288,2134,2154,1456,1276,1154,1084,1310,1274,1268,1080,1110,765,865,849,860,1064,1156,937,943,999,1176,1406,1266,700,402,351,491,576,694,1164,1588,1406,1294,1302,1003,450,379,443,388,559,716,567,419,316,451,828,1088,1192,1394,1386,869,984,1172,1428,1290,782,466,496,867,908,540,707,1296,1268,1015,976,1060,1328,1086,565,430,433,389,310,255,277,311,277,339,470,792,842,852,947,1042,1064,653,454,439,464,425,408,391,364,322,313,297,287,335,458,453,291,267,266,278,325,398,383,457,441,437,487,497,521,567,568,688,948,828,574,590,539,638,667,629,673,862,1434,1726,1628,1490,2050,2498,1074,792,678,927,825,854,1050,1108,818,547,717,983,1120,1378,1768,1520,957,868,706,672,850,1674,1390,661,650,882,1094,1000,1000,861,662,599,539,545,566,1238,1542,935,828,1154,984,979,987,1001,1144,1090,1192,734,1454,1944,1824,1488,1136,1003,1346,1328,1038,1007,741,597,1162,1526,1007,774,664,538,441,412,465,650,808,552,499,502,487,691,1534,1998,1318,558,411,406,382,427,450,496,801,860,1498,1992,993,621,683,621,725,984,865,691,956,1136,1418,1438,1426,1550,786,558,447,419,408,403,409,287,491,844,580,597,763,1008,888,664,590,752,741,658,648,546,445,419,430,408,512,1058,1078,861,577,363,313,552,1114,901,394,443,512,922,1378,1302,1274,1242,1438,926,555,927,832,489,497,377,244,221,236,242,300,421,390,356,383,443,846,949,550,485,445,292,237,256,227,224,259,242,268,329,337,345,381,430,676,1382,1230,1492,1794,1492,733,348,301,319,406,538,741,1046,1624,1908,1170,442,322,305,312,390,498,597,684,843,861,625,451,411,460,524,524,503,451,355,401,441,656,802,918,1102,1426,1572,1162,762,752,779],[682,478,570,706,618,328,432,656,954,1160,747,478,683,546,569,586,644,996,1232,1070,1060,1176,1170,1242,1034,1122,1108,1015,1130,1144,877,886,1190,1166,896,814,1044,1218,1048,720,814,891,876,871,528,467,383,339,374,314,300,358,418,492,767,820,633,570,681,701,460,431,431,437,374,358,388,405,415,420,393,416,420,397,333,325,318,333,355,367,415,550,547,586,663,321,246,210,198,231,234,240,303,316,358,408,430,419,419,429,444,457,416,380,328,284,645,1062,661,451,386,468,563,585,888,1176,796,383,515,949,784,754,1116,1320,1170,982,922,680,642,872,1296,1538,1420,1008,793,949,1106,1050,1044,1122,1038,763,611,655,768,681,735,816,628,915,993,1386,1388,1408,1526,1488,1704,1826,1600,1660,1556,1202,1064,658,593,456,425,352,667,1628,2054,1670,1050,934,1058,897,441,360,334,318,300,264,256,242,347,462,476,332,295,418,553,545,720,788,606,586,800,1062,769,688,653,919,1158,1124,1488,1154,942,929,1068,986,1028,940,1032,1394,1134,680,651,865,830,905,756,655,969,1252,1116,1060,874,544,776,880,742,1076,1320,1176,1064,1174,1226,1282,1090,1238,1514,1724,1628,928,706,763,778,850,800,1062,995,795,850,980,1048,1160,1138,1236,1516,990,652,590,489,643,803,642,400,300,282,359,355,328,334,337,350,493,495,523,464,393,454,570,589,546,506,646,674,691,792,948,885,715,781,924,908,1202,1180,1112,1198,1232,1282,1124,1009,770,1006,1164,1170,1450,1260,1366,1372,1274,1168,1260,1428,1092,1060,1158,1106,1378,1396,1318,1174,1216,1212,1368,1208,1184,1238,1180,1228,1200,794,595,781,858,679,693,933,1110,1128,1166,954,812,854,814,1238,1384,1222,1108,828,594,818,1094,1234,1372,1414,1512,1454,1368,1354,1266,1102,970,1078,1128,923,946,971,992,1044,1064,1428,1230,1126,1070,1070,1004,928,592,390,296,283,298,283,382,748,990,1070,1200,1116,1126,1160,1072,979,1242,1446,1300,1262,1050,650,497,564,641,821,887,604,641,726,866,984,921,1048,979,984,1090,1162,967,841,927,915,1013,1066,1148,932,904,1132,860,627,419,375,395,423,357,351,608,879,869,1140,1346,1252,1100,1384,1544,691,691,998,904,1184,1260,1042,902,1004,1132,1268,1372,1400,1512,1832,1384,1434,1644,1866,1636,1274,1100,1208,937,557,840,1244,1194,1242,1322,1212,1128,1062,1156,1256,1376,1198,994,805,793,1080,1206,1354,1072,1070,1144,1030,880,575,894,990,888,1070,1256,1340,1462,1344,1136,871,662,701,778,1007,1242,1270,1410,1372,952,1146,1474,1310,1046,1180,1106,1188,1062,1176,1214,1310,1268,1026,991,1216,1460,1196,1060,1036,1168,855,915,1110,1220,1222,1232,1218,1372,1148,970,713,563,852,749,527,436,371,358,342,318,324,411,503,442,689,853,561,551,585,529,497,509,624,645,526,395,412,426,484,595,865,943,703,766,991,935,526,348,418,521,501,545,563,719,806,788,862,798,984,1344,1304,894,720,692,747,893,1080,1266,1266,1038,821,566,603,798,955,1000,771,664,957,1168,803,463,404,416,457,608,625,827,919,1070,948,962,1146,1282,1434,1472,1290,1078,904,1172,1312,1146,774,688,1062,1280,1112,1062,944,780,740,616,568,735,888,624,524,516,513,546,464,406,418,590,639,530,538,427,642,1134,1100,1282,1200,990,1134,1218,1058,1106,1200,1158,1104,1050,954,1158,1006,954,845,1032,1134,843,742,723,641,494,660,1032,1082,1130,963,649,437,427,478,568,524,376,389,406,316,566,1144,1144,614,786,875,789,745,572,343,325,400,395,441,383,331,852,1226,785,1056,1222,1476,1812,1230,1210,1040,591,651,1148,1348,1322,1128,1002,1012,1042,963,1230,1224,659,335,478,681,639,622,1050,1150,1000,1044,1248,1038,968,960,864,930,892,988,645,521,348,309,287,292,355,408,397,361,356,385,393,365,354,323,350,420,459,439,470,390,286,305,334,345,358,357,386,397,397,395,357,302,304,318,326,349,361,359,363,388,375,364,355,361,378,400,429,426,400,350,313,300,300,293,287,293,322,420,600,836,1078,1014,661,497,771,1368,1918,1980,1884,1780,1570,992,612,493,463,566,760,1284,1598,1372,1254,1310,1444,1540,1654,1684,1664,1622,1658,1774,1574,1098,935,1060,1166,1488,1500,1462,1556,1494,1312,1348,1324,1302,1432,1508,1640,1548,1410,1344,1342,1368,1358,1396,1412,1244,1200,1282,860,756,1032,915,895,1274,1250,1026,1130,926,664,572,468,369,695,1448,1666,1362,1394,1206,809,556,430,424,502,507,453,397,330,316,351,391,393,385,345,328,311,267,275,251,270,275,267,321,382,359,333,418,484,737,945,860,735,897,665,382,340,333,351,344,347,354,352,363,401,634,702,572,569,821,1028,1078,880,1003,947,705,681,855,988,669,695,664,719,996,1108,1160,1276,1374,1468,1228,1126,1326,1218,1124,740,795,1064,946,794,846,819,842,811,857,764,956,945,1110,1172,1088,1286,1228,1214,1198,1032,1062,1146,1118,1021,897,737,898,729,919,966,869,910,1082,1266,1404,1290,1482,1640,1518,1386,1586,1662,1832,1780,1636,1436,1384,1266,1058,1048,921,1064,1332,1224,733,764,635,626,623,652,556,680,1032,1326,1220,865,1260,1310,910,830,1048,949,698,1042,1118,1084,1242,1072,591,446,799,1418,1078,1106,933,507,800,1208,991,703,1106,1188,714,698,866,810,969,725,763,1140,1248,1320,1250,1224,1026,641,491,445,454,631,1054,1146,1364,1338,1488,1318,1198,796,576,882,911,755,890,832,1062,965,642,478,393,351,357,344,433,385,270,293,270,314,405,471,429,543,519,478,384,539,783,1007,1136,1122,1206,982,926,1014,982,618,474,478,523,871,1018,1236,1602,1480,1226,1184,1202,1312,1216,1398,1368,1534,1232,966,1162,1240,1242,1078,1122,1220,931,759,919,948,922,1204,1140,1246,1202,1012,1138,1176,1104,963,792,924,979,1204,1216,1048,830,907,1186,1040,1034,1210,987,1160,1460,1448,1378,1270,1028,1170,1166,888,982,985,638,706,616,489,443,467,431,683,717,982,937,783,945,1176,1106,1054,1026,1204,1306,1224,872,889,976,1050,1444,1564,1648,1322,980,1054,940,1032,1036,1052,1144,1100,1140,1308,1454,1284,1258,1338,1236,1148,949,1062,1462,1044,946,1064,995,1196,1332,1140,1007,1066,957,954,1034,1094,1282,1092,962,1024,822,1054,1354,1009,550,704,959,885,853,735,719,1054,1192,1246,1054,930,736,580,912,1012,1126,1416,1496,1226,1034,1346,1410,1238,1174,1206,1120,1028,1154,1340,1184,961,1012,808,521,589,662,621,601,737,487,584,733,834,896,775,1072,1360,1042,996,915,536,481,860,1024,708,448,366,451,508,431,332,384,643,1118,1138,1150,1244,1156,803,821,1566,1470,1064,1214,1198,1158,1074,913,898,998,1188,1536,1238,1034,695,764,1118,1422,1462,1068,1216,1210,1240,1360,1310,1150,951,862,727,984,1090,798,607,675,727,921,1266,1034,916,1038,678,424,468,652,891,1034,1192,1338,932,966,1236,1334,941,808,820,692,889,1148,983,535,321,314,548,954,1328,1532,1238,803,1066,1592,1644,1338,1006,712,694,753,571,450,769,1236,1444,1124,1376,1518,1210,683,458,472,526,425,352,336,378,397,345,447,711,1017,1000,1011,1052,1046,859,599,629,488,548,666,501,512,409,397,491,429,275,337,477,388,209,233,263,207,225,220,316,386,413,424,415,424,482,667,755,558,591,580,460,502,438,522,577,593,619,678,996,1406,1514,1220,1428,1508,1460,1114,786,817,624,507,430,483,465,426,695,1212,1060,1176,774,505,623,590,438,619,790,1470,1444,783,776,860,802,603,528,468,495,487,562,619,577,1007,1328,1026,1110,1802,2046,1696,1028,810,1120,1346,1432,880,1068,1732,1588,1302,1182,810,1013,1534,1150,795,629,542,750,887,1390,1870,1462,723,562,488,491,710,702,510,471,463,436,608,1354,1672,1194,629,375,402,436,458,499,532,868,792,1394,1990,1064,506,547,476,458,522,585,816,1108,836,1023,1506,947,502,478,479,448,425,425,397,385,364,378,564,407,410,463,821,654,368,525,858,852,496,548,721,587,421,439,448,462,609,500,378,486,464,301,463,880,794,368,358,460,968,1126,885,1128,1676,1684,933,454,646,901,596,488,398,239,234,266,318,631,1074,1068,664,314,316,552,664,364,287,269,285,353,311,239,249,296,274,266,331,311,317,354,435,1232,2390,1354,1064,1196,962,645,581,340,379,437,412,555,792,760,1010,778,427,312,262,312,573,766,552,659,733,622,436,406,435,491,510,481,490,407,321,358,337,312,524,901,1076,663,654,805,766,516,278],[562,627,684,449,329,357,410,435,747,724,351,537,618,375,391,477,726,990,1192,1060,1070,1116,1164,1142,1066,1084,1018,1032,932,1202,1122,1076,1134,969,892,935,1088,1238,1088,995,997,929,887,860,549,484,498,483,447,385,403,545,779,926,955,976,1136,1100,1080,743,598,582,485,412,426,415,449,477,460,439,410,436,459,458,419,357,333,323,328,299,373,763,1026,1162,1126,431,258,218,198,202,216,268,366,444,488,497,481,463,460,444,435,429,375,337,346,346,1012,995,686,605,628,631,343,369,751,963,891,687,738,1066,1074,913,778,1072,1044,660,553,613,603,450,395,637,745,595,763,1090,1262,1324,964,766,1118,1050,830,675,733,993,776,930,1004,917,960,1074,1082,1294,1456,1500,1516,1446,1416,1788,1522,1370,1206,960,573,344,361,395,650,1168,1626,2042,2398,2272,1252,905,644,547,419,295,310,377,334,345,416,435,492,393,288,663,1058,670,727,1138,1068,818,1202,1458,1021,913,1072,907,883,984,1266,942,588,828,1112,1168,1214,1164,1444,1900,1398,676,775,781,625,507,593,868,1019,1284,1256,1136,964,577,416,424,601,1160,1118,1246,966,974,1384,1450,1164,1184,1854,1650,1086,977,931,847,825,748,681,838,1014,1064,1192,1426,1656,1656,1260,1148,865,921,946,784,625,644,644,469,293,265,395,489,430,379,386,379,343,390,428,383,396,439,504,553,675,702,640,680,697,720,899,802,706,804,883,792,922,1268,1294,1050,1076,1318,1466,1292,1122,908,1142,1190,1112,1132,1188,1334,1244,1284,1114,1130,1108,744,758,1086,1170,994,1290,1414,1242,1104,1140,1246,1198,1104,1192,1236,815,773,1082,1012,962,1156,1136,1026,1220,1224,871,1032,683,932,1106,883,1140,1010,1076,1080,719,494,568,680,847,977,1092,1180,1500,1294,1240,1154,937,846,907,981,993,1250,1294,1028,811,1094,1394,1288,1086,1056,964,780,830,868,593,402,315,346,325,439,744,609,832,1142,1078,949,1022,1034,828,933,1108,1214,927,966,839,620,694,753,766,811,799,831,750,872,969,1158,1250,875,977,937,910,795,844,785,757,1092,1172,1076,1080,1080,1136,995,999,430,329,352,336,328,386,506,474,484,793,1150,1186,1206,1504,1268,691,760,1152,1144,1212,1274,1150,880,697,882,1246,1260,1218,1044,1098,1140,1260,1654,1882,1798,1510,1238,1438,1412,830,991,1182,1108,1174,1350,1186,1072,1244,1324,1356,1504,1790,1694,1086,913,1078,852,748,703,865,925,991,826,564,695,685,602,847,1160,1234,1444,985,1138,1108,828,1005,1262,1306,1140,1170,1274,1050,1052,1420,1076,881,772,771,949,1130,1166,1146,1220,1410,1358,1350,1110,1162,1180,1432,1386,1164,885,877,926,1144,1258,1394,1310,1318,1360,1160,1406,1078,688,813,963,911,655,414,312,285,319,346,480,565,559,728,670,508,638,642,543,529,655,750,727,621,427,403,413,432,556,833,711,608,671,914,857,577,535,384,339,414,488,538,746,1038,1182,1290,977,715,816,652,458,676,830,574,616,1018,1194,1248,1140,1296,1124,977,905,1174,1438,1132,888,763,944,973,557,454,504,548,781,951,979,1052,1102,827,899,1216,1140,1316,1632,1322,833,983,1274,1288,1142,941,848,1001,1218,1005,1116,1046,859,760,698,781,1246,1290,803,589,524,692,683,423,445,415,403,439,646,574,452,382,431,784,1136,1078,1106,1216,1308,1242,1198,1342,1164,881,824,909,1010,881,781,630,946,1430,1013,647,423,466,498,450,655,850,855,1017,966,555,456,506,521,521,502,576,421,359,706,1242,883,474,853,1028,828,979,1078,603,423,339,383,466,370,388,460,678,757,977,1124,2292,2954,1164,1094,1196,1140,1230,1522,1314,1284,1172,1026,921,781,937,1218,962,609,469,675,820,1011,1013,1190,918,706,921,907,746,1021,1130,951,725,725,677,449,362,311,270,263,291,354,390,379,421,393,391,364,332,325,326,313,385,393,399,451,383,299,298,324,352,378,373,367,355,360,388,360,310,337,373,358,376,392,384,390,390,376,367,365,357,349,358,374,390,376,338,318,300,301,297,306,359,514,808,1028,1036,774,518,414,468,857,1450,1900,1948,1768,1546,1658,1412,1136,949,879,1024,1224,1308,1240,1252,1490,1678,1600,1550,1580,1594,1606,1676,1754,1454,958,883,1382,1472,1416,1544,1242,1108,1298,1320,986,753,619,698,1182,1438,1334,1410,1504,1416,1314,1274,1062,1020,930,860,866,875,697,453,520,510,690,1252,1246,1176,1158,1060,1162,1176,800,532,743,912,1054,907,1040,993,1444,1040,500,411,436,431,437,386,300,308,318,296,331,349,342,319,316,249,244,258,263,277,305,286,283,306,331,335,346,501,821,880,810,947,753,397,341,330,343,335,333,350,365,365,457,631,607,538,593,592,752,910,865,926,667,875,1011,943,914,671,444,604,1112,1380,1172,1098,1448,1346,1282,1194,1066,984,923,1064,908,722,865,1046,993,825,736,521,699,785,747,1086,819,814,1198,1318,1194,1226,1384,1130,887,886,1021,893,640,974,708,595,797,976,956,869,990,1126,1336,1584,1438,1548,1584,1410,1396,1626,1698,1470,1230,1174,1228,1288,1136,1110,1282,677,856,1204,1078,670,748,606,581,606,513,429,520,904,1180,976,1056,1438,1200,1154,860,786,763,550,733,1144,1204,1222,1196,594,644,857,846,1084,1378,1278,970,883,1212,1094,982,1376,1366,1072,957,810,570,622,642,810,1024,1204,1260,1194,1168,1082,572,399,378,451,560,550,557,879,1013,1376,1366,1338,1270,1002,1168,1116,662,625,715,829,636,519,434,371,590,620,321,448,491,364,425,436,386,381,399,498,634,571,495,718,1120,1268,1374,1548,1100,761,973,1388,1019,706,652,637,544,698,1094,1256,1362,1412,1288,1412,1308,1148,1128,1122,1064,1096,1376,1272,1212,1244,1238,1338,1166,1274,1134,577,408,637,937,1054,1278,1158,929,1296,1218,1216,1244,857,670,721,976,1204,1538,1512,1226,883,800,1080,1130,1062,868,957,1322,1404,1214,1276,1258,1036,1272,1416,1044,1242,1224,759,707,681,514,432,505,511,714,963,1017,965,888,1142,1302,1100,1010,1190,1160,1026,1156,888,805,843,1098,1494,1614,1602,1260,1054,807,808,952,1054,1304,1230,1180,1150,1262,1368,1242,1336,1318,1294,1026,968,1222,1396,1080,1162,1172,1202,1372,1264,1038,1204,1318,1246,1064,941,1104,1108,700,588,804,917,1062,1114,959,919,983,1096,1272,1184,857,832,1036,901,993,957,635,636,976,1204,976,769,890,1456,1144,1444,1470,1422,1352,1224,1394,1546,1454,1366,1238,990,563,529,473,540,594,612,937,923,641,707,661,489,654,706,519,850,1198,887,929,1036,838,888,1422,1188,555,436,474,579,455,486,517,769,1058,1416,1394,1112,1017,925,740,702,1054,1258,1118,1086,1238,1214,770,936,1086,1486,1856,1934,2014,1810,1001,555,721,891,1076,1182,1360,1306,1290,1302,1284,1194,1130,709,667,1019,1098,918,673,881,1052,1066,1124,771,814,881,574,495,599,694,943,1470,1350,1296,671,403,655,916,1168,1152,954,1108,1278,1164,958,504,329,454,535,941,1462,1094,1034,903,956,1334,1268,1050,799,641,772,1216,773,613,932,1170,1278,1146,1576,1946,1404,692,489,492,471,401,446,521,507,440,367,510,734,1005,1294,1414,1366,951,808,1192,744,504,543,632,852,801,528,396,615,673,361,459,562,411,248,267,243,215,213,219,260,409,547,461,393,390,521,914,1068,680,521,526,470,439,438,494,614,757,814,529,659,1228,1280,814,813,1058,935,571,623,772,757,611,556,460,370,439,844,1274,847,696,558,1268,1412,716,516,656,830,1126,1214,1096,1126,1064,669,568,537,502,502,470,585,680,647,842,1044,1034,1192,2086,2484,1544,814,688,1260,1542,1376,904,628,740,516,524,1010,937,583,811,984,746,589,589,675,900,1452,1748,1550,800,750,677,661,973,750,503,455,435,479,978,1918,2120,1516,781,330,386,433,471,854,1324,1318,839,980,1250,790,419,464,470,488,658,783,958,1042,649,770,1182,789,573,681,581,487,425,364,488,995,935,478,440,421,434,458,889,916,517,569,633,550,376,445,625,511,447,458,441,649,607,373,325,439,512,374,372,491,394,323,316,337,678,752,540,750,1058,686,401,441,455,902,813,538,385,261,254,241,304,922,1562,1424,935,350,280,328,291,215,348,371,332,393,352,276,301,315,307,344,346,310,283,346,345,1448,1442,658,547,566,422,708,1092,847,571,427,361,516,838,948,799,472,346,361,337,444,868,738,441,328,436,404,357,428,464,459,435,438,469,414,389,397,335,377,585,1072,1374,982,787,792,814,614,322],[916,1094,926,448,285,316,362,460,794,664,420,540,517,368,404,499,719,973,1120,955,900,1007,1032,1034,938,925,786,745,769,1252,1106,862,892,1013,1166,970,990,1122,973,1140,1156,1052,972,899,845,810,750,797,840,775,572,536,652,635,476,500,886,902,1090,1100,1084,995,685,455,463,481,569,536,517,395,438,440,424,414,401,448,434,329,341,337,348,713,1274,1422,1224,510,275,244,240,275,337,431,487,487,467,465,477,492,491,443,437,375,313,327,303,461,1020,1278,1014,730,742,961,710,714,792,695,731,654,598,684,880,750,708,1012,719,380,336,340,345,360,281,577,1068,1130,1034,981,1146,1266,964,800,948,1020,1062,754,787,990,1072,1292,1256,1112,1001,918,849,896,962,1018,1374,1252,1476,1596,1378,1288,1168,1136,774,374,406,654,1130,1444,952,807,1440,2462,2196,1820,1020,587,450,304,294,291,338,517,537,426,352,366,348,1234,1550,825,648,988,1078,899,957,985,774,945,1096,747,695,811,1042,940,905,1022,1000,916,1246,1326,1712,1620,1000,930,811,588,631,871,1114,1134,1282,1218,1108,1108,868,565,688,732,711,990,814,995,1128,1368,1446,1526,1182,1146,1128,1030,798,818,791,736,937,914,771,935,1054,998,1208,1138,1078,1418,1196,995,938,1214,1080,902,896,607,430,353,297,366,469,458,492,414,350,385,408,374,326,321,345,374,425,518,617,731,717,710,687,752,891,760,753,1007,1086,857,968,1106,1126,1170,1342,1470,1428,1370,1358,1382,1394,1246,1162,1158,1023,1278,1356,1126,1036,1164,1202,1046,758,940,1064,888,1270,1534,1426,968,974,1166,1028,987,1190,1412,1412,1058,1142,883,681,976,995,935,876,903,611,727,487,767,933,912,803,645,783,846,764,682,641,808,833,612,697,1216,1594,1426,1416,1264,1358,1418,1152,1100,1264,1298,1204,1260,1238,1218,1446,1324,1128,1272,1066,709,728,800,778,737,526,426,383,503,804,748,821,1008,1068,755,584,649,587,564,655,927,1026,929,697,522,936,1022,737,720,766,818,777,855,1028,1652,1340,1088,973,747,784,694,619,560,768,1214,1138,876,1030,1162,1046,983,937,1250,910,376,346,391,507,514,525,703,1180,1356,1324,1158,1328,1272,949,641,612,730,1012,1302,1232,818,1018,1214,1280,1166,1108,1074,1134,1236,1410,1644,1742,1766,1614,1472,1596,1460,983,1017,1188,1266,1124,1254,1246,1240,1146,1020,1284,1670,1960,998,887,973,920,1144,1362,1076,1192,1266,978,988,921,608,659,753,816,1238,1482,1230,1302,1740,1452,1412,1576,1306,1172,872,892,1120,1182,1360,1236,940,625,394,370,475,828,1190,1304,1320,1482,1106,1100,1156,956,835,1106,1138,1148,1264,1094,1170,1614,1498,1388,1242,1332,1370,1354,1426,1202,857,717,794,1166,1196,669,377,292,277,249,357,517,530,456,426,449,486,524,559,617,740,750,707,604,459,413,492,415,454,542,589,545,577,695,757,719,557,414,350,449,479,508,626,1060,1310,1330,1158,771,519,402,416,557,823,722,890,1190,1414,1244,1214,1516,1398,1234,1334,1390,1174,1019,999,612,593,1180,794,632,715,836,1072,1102,772,796,849,712,927,1142,1052,1310,1664,1328,765,830,1017,1096,1226,1266,1264,1152,1090,760,999,1100,1020,846,962,1090,1488,1378,742,659,773,1004,585,637,822,673,521,463,448,409,371,287,348,687,948,807,895,1214,1210,1158,1082,1174,1230,963,884,1005,1246,1264,1150,812,1116,1080,1162,838,394,448,546,522,758,1172,1003,913,946,555,485,493,476,481,507,559,478,414,646,787,558,430,635,876,893,924,1164,639,422,349,435,442,423,483,443,426,512,865,1542,1380,1166,893,967,1192,1358,1492,1378,1256,1328,1296,959,670,764,957,809,732,661,710,744,939,1126,1076,822,482,513,576,466,543,1086,1142,888,628,662,636,485,352,272,254,263,285,328,372,354,430,368,339,341,334,332,333,332,336,325,336,326,333,301,318,344,365,385,377,362,334,340,373,367,335,354,354,330,355,380,373,356,347,365,369,347,344,359,361,330,342,367,338,338,325,298,306,380,664,999,1094,919,600,392,384,388,417,691,1518,1856,1714,1724,1738,1628,1660,1646,1476,1474,1410,1236,1196,1484,1708,1810,1754,1592,1534,1590,1698,1828,1676,1148,756,747,889,1354,1710,1664,1384,1402,1308,1076,1250,1204,846,546,569,789,1058,1542,1674,1518,1382,1242,993,947,770,696,947,1068,1008,947,609,595,903,1430,1468,1282,1152,1112,973,1036,1278,969,772,900,896,1074,576,424,486,742,732,647,507,402,328,266,293,350,364,329,300,306,317,307,449,567,465,263,275,279,289,325,301,297,321,350,336,348,344,600,764,811,1028,808,453,325,339,315,324,337,370,368,343,439,514,417,412,516,440,405,423,423,498,684,847,709,671,739,525,383,558,941,1210,968,675,1060,1118,1190,1352,1446,1152,734,835,896,753,955,1256,775,693,916,606,582,800,760,745,624,880,1130,977,943,1032,807,648,1007,996,1054,995,1122,1398,1396,1144,1154,1534,1610,1470,1384,1354,1076,1016,981,1246,1372,1372,1298,1542,1520,1226,1416,1406,1028,946,1266,1352,1376,802,845,927,774,724,712,739,1106,1023,590,532,440,645,788,868,839,814,1100,1300,1032,995,698,350,619,1066,910,893,988,573,481,484,659,1166,1258,1146,1122,1226,1120,968,959,963,1086,1198,872,739,880,747,610,516,781,1070,900,724,721,1004,877,664,599,593,659,573,390,399,734,1250,1394,1350,1294,1100,1050,695,488,402,397,393,457,669,628,317,401,415,418,473,523,629,806,1120,796,768,990,893,863,816,893,1208,842,1023,1288,1522,866,554,929,1066,832,741,593,487,688,794,689,866,1350,1096,1096,1252,1196,1202,1224,1142,792,685,823,1122,1352,1260,1260,1190,996,1102,913,501,382,522,922,1232,1242,1234,1184,1508,1274,1162,1210,1060,921,1106,1220,1268,1328,1360,1456,1050,923,1196,1046,1054,734,820,1258,1332,1172,1096,1076,1362,1918,1836,1426,1466,1452,1134,804,670,510,458,552,836,1448,1388,777,731,688,912,1066,1084,996,1052,1166,1246,1246,1114,999,1010,1128,1444,1482,1404,1350,1226,839,924,1004,961,1098,1222,1212,1048,1212,1264,1120,1242,1298,1106,805,851,1186,1294,1470,1722,1516,1382,1450,1162,884,813,880,863,1086,1208,1086,949,717,517,810,1146,1064,1026,948,1224,1208,1224,1336,1218,837,758,848,892,1224,963,481,522,857,1016,1084,876,753,1006,948,1598,1428,1278,1482,1470,1332,1242,1068,994,887,674,449,487,496,573,622,999,1910,1684,963,940,978,881,644,492,386,558,904,930,1222,1384,1150,1070,1462,1198,722,525,605,760,663,739,957,1064,1236,1396,1230,856,674,855,939,779,1026,1186,894,724,1052,855,560,631,849,1404,1932,1946,1800,1294,650,560,580,843,1168,1390,1304,1048,922,1106,1005,1214,1228,818,859,1254,1422,1172,960,1202,1023,736,866,897,977,809,470,440,544,598,829,1166,1116,1104,505,332,406,466,827,1156,1188,1282,990,1232,1426,694,554,764,868,1202,1234,1016,1192,891,461,638,551,423,362,481,596,991,1178,1126,826,651,765,970,1384,1574,1134,865,684,600,529,472,469,534,561,575,583,780,940,1078,1368,1230,1004,813,735,864,690,499,451,451,600,720,873,990,918,540,420,490,559,368,263,258,213,191,201,227,240,337,452,376,386,382,431,780,937,662,564,532,444,437,443,505,670,926,1228,1184,1144,1252,888,595,599,709,816,688,429,391,426,693,827,660,368,455,932,1116,903,616,488,1332,1406,684,620,703,741,656,529,614,866,1168,806,560,611,721,819,807,936,800,595,586,696,840,1076,1522,1562,1084,729,615,963,1052,752,611,452,423,408,451,749,1194,932,884,937,777,589,619,674,896,1362,1132,880,621,611,608,777,1170,875,495,477,476,521,949,1356,1080,890,661,382,397,442,619,1098,1300,1015,785,990,1596,1450,497,507,551,504,648,862,909,1090,885,572,557,585,729,631,573,553,545,679,900,1820,1542,750,602,707,716,722,1078,1094,871,830,667,338,326,405,559,563,445,442,647,649,410,303,350,484,488,551,365,323,331,310,316,321,339,581,504,504,930,925,463,439,360,806,1004,647,404,337,270,224,303,669,771,531,595,305,239,310,326,295,490,617,411,311,408,389,397,318,300,354,335,326,275,386,365,386,371,491,462,433,351,451,763,843,577,385,465,680,1080,1362,1178,918,1176,891,471,444,616,537,537,573,529,310,328,417,436,411,393,368,341,359,421,353,324,469,545,1282,1672,1250,949,800,1078,828,365],[999,1180,810,393,286,272,415,847,1156,725,473,544,396,335,383,417,636,760,867,916,786,828,916,1015,845,897,1114,1066,849,1030,863,777,988,1186,1156,958,979,878,847,1114,1130,1130,992,935,945,861,791,766,702,515,334,313,329,393,346,359,398,469,700,767,1058,1376,1206,948,896,803,786,486,441,415,421,392,377,406,408,452,512,429,308,345,347,516,1120,1448,1302,682,327,274,309,336,332,423,448,438,428,465,497,514,547,492,408,358,337,341,335,444,743,1116,1198,977,612,871,1058,1074,858,648,713,712,630,489,490,470,690,735,502,486,334,334,362,340,271,478,840,938,755,770,916,711,849,978,797,1076,1064,981,787,785,1068,980,1114,1104,712,752,972,1004,1290,1496,1302,1158,1476,1330,1418,1356,1176,1164,1074,678,537,672,907,676,396,385,563,1294,2342,2418,1180,346,298,250,248,285,424,546,543,422,376,439,597,1236,1342,830,686,720,942,971,1005,802,591,890,1030,977,1086,869,836,1124,1244,1158,975,844,1002,788,1142,1320,915,1116,855,703,1108,1420,1376,1318,1172,816,1192,1068,970,725,1020,1082,814,761,995,1098,1272,1272,1306,1822,1134,1014,1072,1148,820,547,703,830,1042,1236,891,906,1050,937,892,1064,1296,1224,1276,1482,1396,1104,926,1236,1416,899,672,496,408,406,381,381,509,484,364,369,413,392,321,327,375,380,391,455,570,667,635,592,621,733,655,604,581,650,844,827,1092,1114,1048,1412,1336,1012,1216,1184,1060,1144,1266,1404,1278,1210,1272,1296,1354,1302,1052,1108,1036,1012,1144,1404,1312,996,1072,1194,1058,858,871,1048,1216,1354,1446,1622,1540,1248,1146,674,507,618,760,918,991,1302,1122,615,566,974,1448,1526,980,873,842,980,1013,1178,1168,826,738,705,800,999,1140,1184,1154,1260,1528,1738,1350,1252,1268,1424,1546,1488,1328,982,1338,1308,1004,984,865,781,740,509,752,987,1009,1005,800,601,756,1032,1016,925,847,657,592,631,808,882,937,958,1086,745,476,518,776,681,667,894,933,1046,1004,1032,1026,1136,813,955,938,886,1086,898,661,713,868,926,968,1036,1118,1001,1084,1056,1086,1660,1198,528,422,527,877,935,579,760,1202,1380,1400,1196,1228,1238,985,698,638,683,794,1122,1210,1012,1496,1356,1320,1132,1026,1268,1490,1416,1456,1618,1622,1666,1618,1544,1572,1556,1334,1306,1354,1210,960,778,714,1001,1208,1224,1288,1492,1648,1558,1516,1216,1260,1606,1510,1198,1250,1506,1318,1250,1312,877,728,605,666,1086,1496,1352,1526,1644,1236,1524,1088,778,745,671,957,1226,933,809,785,919,786,717,622,551,782,736,1260,1360,1158,761,966,1288,1084,998,1050,1106,1244,1172,1128,1606,2024,1754,1224,997,1184,1170,1222,1302,920,864,831,763,1162,1584,1076,503,353,348,293,259,336,395,426,422,419,416,503,516,639,942,841,674,554,462,469,468,447,430,693,854,473,550,401,422,579,500,497,432,499,470,431,692,1178,1128,1036,1062,753,449,419,398,388,911,1026,1013,1172,1336,1272,1152,1154,958,1060,1478,1496,1064,1106,938,607,988,1328,1004,889,1114,1186,1246,1028,891,971,794,620,619,1044,1218,1288,1614,1608,1396,1286,1178,1104,918,760,889,884,761,837,1060,1310,1436,1098,783,818,829,812,706,650,821,895,561,722,1076,928,630,507,400,400,430,367,476,836,1188,803,852,1138,1024,1054,1082,1158,1082,941,900,1004,1434,1618,1658,1064,1148,873,1010,760,384,576,905,921,1094,1272,991,641,368,572,744,558,537,477,433,480,465,391,417,445,413,427,477,546,637,542,710,532,368,353,264,350,589,763,683,483,391,634,1298,1354,1198,887,619,869,1198,1174,987,996,1196,1272,920,861,1062,1001,858,798,634,654,936,1140,1070,1012,889,421,403,461,445,415,703,663,611,521,439,474,418,300,282,275,296,332,355,401,466,413,351,343,331,332,358,355,318,317,307,286,295,329,342,363,368,354,354,378,399,390,383,371,372,360,364,367,348,358,382,389,337,301,340,373,380,393,397,324,278,322,365,336,342,412,525,596,792,1054,916,705,471,349,356,410,415,477,951,1684,1816,1744,1868,1826,1780,1908,1932,1752,1476,1268,1324,1552,1776,1864,1810,1758,1728,1670,1664,1702,1496,985,685,680,662,778,1216,1394,1350,1354,1420,1324,1132,1238,1218,901,782,601,487,546,1024,1450,1554,1508,1436,1692,1880,1160,824,1018,945,1142,1410,983,773,1174,1560,1378,1218,1056,847,614,623,916,949,1194,1294,1130,868,703,625,617,823,1104,1122,998,561,315,274,317,334,330,375,397,368,512,949,1188,1168,854,290,312,362,315,321,314,297,309,340,321,317,314,391,444,406,411,551,436,340,339,338,351,397,391,336,348,409,473,513,485,439,393,349,342,401,630,844,647,406,509,651,558,550,700,1028,1320,844,456,610,681,815,1086,1338,1170,983,1048,1078,1021,1242,1250,818,789,953,996,996,1062,993,871,657,638,634,524,710,991,982,819,1294,1206,1206,1460,1546,1520,1656,1620,1568,1648,1566,1410,1458,1272,800,681,924,1230,1338,1406,1474,1756,1770,1426,1516,1324,885,575,1148,1296,893,459,642,672,475,448,410,597,1128,1106,982,794,528,908,1090,988,845,1214,1744,1358,1015,1050,678,401,482,981,871,555,491,514,447,402,930,1306,996,672,843,1234,1120,1192,1110,1426,1244,1036,981,1214,1030,678,502,416,713,780,523,397,523,990,1360,1196,1352,1272,1144,1036,725,639,871,895,1122,1146,907,818,780,704,791,898,909,772,720,1056,1070,452,473,669,752,451,399,698,1050,1426,957,1094,1268,767,836,1042,1040,1140,771,1010,1260,1534,1094,926,896,683,755,858,730,547,797,896,778,659,965,999,1120,1158,1130,1166,1252,1164,712,668,796,978,1396,1382,1262,991,637,630,776,660,405,508,839,1322,1274,1078,1364,1554,1436,1234,1188,1208,1136,1124,1013,894,937,982,1076,963,861,765,580,705,568,625,1100,1312,970,706,709,1216,1810,1792,1698,1528,1546,1324,899,625,495,444,457,694,1102,1070,857,795,681,720,744,832,1064,1004,848,865,1032,1278,1394,1384,1308,1484,1742,1694,1444,1348,1290,1324,1116,988,1042,1058,981,915,1238,1378,1690,1364,1076,837,703,779,982,1198,1560,1378,1252,1332,1138,1084,1042,1008,830,769,1156,1174,811,933,930,560,802,1088,944,949,957,1198,1166,1194,1256,1344,1110,774,613,1062,1192,680,466,408,702,797,1086,1136,838,716,801,1168,1600,1714,1528,1278,1242,969,1072,949,624,455,495,474,524,1024,1802,2460,2408,1658,1294,1234,1152,814,667,416,424,753,868,808,879,1106,1114,1015,1336,1148,891,648,1015,1028,979,1192,1338,1340,1522,1456,1122,979,932,806,730,952,1006,922,1005,1116,1044,897,887,877,764,754,1078,974,729,611,521,902,712,814,1106,1138,1140,782,733,1114,1130,1220,1354,1194,1160,1456,1672,1278,1048,1224,852,494,883,1216,1046,697,546,456,771,789,916,612,866,942,541,368,365,453,941,1394,1290,1148,1198,1324,965,454,725,942,995,927,1086,1406,1472,896,551,718,631,394,298,392,772,1030,1174,1216,988,841,644,907,1170,1292,1098,1050,788,580,473,417,340,358,493,728,1016,1318,1316,1096,1046,1274,1344,1146,1036,958,673,458,416,595,1064,1062,971,717,459,270,366,394,410,316,248,228,218,221,228,234,232,287,354,281,256,313,319,452,564,509,504,526,491,476,595,940,919,684,990,1556,1520,1276,802,644,587,627,806,644,387,367,391,355,566,963,483,402,653,675,627,766,789,802,789,667,603,512,436,385,401,534,603,879,820,780,1000,1136,1146,947,1100,758,502,415,601,816,906,906,952,887,622,516,609,590,543,691,747,644,522,427,713,1338,1394,1100,902,755,487,615,1112,1272,1152,835,694,617,566,543,861,1258,959,581,535,508,487,414,336,608,1014,968,592,447,449,499,593,541,585,799,848,1218,1232,550,851,1178,767,451,541,730,1140,1052,617,876,1472,1070,545,575,535,676,918,799,926,982,803,767,937,898,908,1122,1026,922,807,792,491,355,449,654,732,664,619,544,339,329,338,365,510,567,910,524,299,313,292,297,304,319,358,311,371,779,905,460,397,392,759,953,628,412,379,254,207,283,344,412,404,343,239,231,295,359,434,434,382,290,313,458,441,371,310,341,344,300,306,301,342,372,359,469,591,397,383,439,504,666,1062,767,624,1010,1072,1130,1448,1396,1198,1904,1674,732,530,369,422,764,1194,873,357,335,408,421,419,391,370,335,357,393,349,305,489,483,617,603,751,896,538,699,659,374],[1082,1224,824,605,368,478,904,1296,834,443,487,865,772,744,573,437,596,714,954,1282,935,839,985,1066,1060,1090,1080,937,766,630,641,1005,1318,1250,1082,1062,1058,940,886,1072,987,786,695,649,610,647,634,472,427,366,324,326,367,445,322,308,371,455,425,525,948,1198,1062,966,1074,1019,811,499,415,490,445,356,324,358,406,430,503,465,336,363,372,420,1021,1474,1356,745,366,393,377,358,342,417,416,436,453,457,448,472,558,503,403,367,341,315,280,362,561,753,873,909,523,642,1080,1214,645,398,540,493,393,384,368,348,484,515,420,596,625,494,404,404,332,343,449,430,450,653,751,869,1146,971,712,802,889,1208,1158,873,730,624,929,1260,990,979,1302,1432,1294,1536,1248,1164,1134,1260,1350,767,716,941,1264,792,556,937,785,470,369,436,533,561,1264,2150,1666,475,313,249,319,365,531,496,422,501,400,614,982,1072,993,943,971,785,1148,975,898,1054,1208,1306,801,921,1278,1016,1001,1046,979,1194,1020,801,450,405,806,1074,999,1102,1038,888,1190,1382,1442,1256,1328,1116,1308,1132,1216,995,940,1106,824,846,1070,1000,1288,963,980,1130,1142,1046,995,953,747,894,1154,1208,1138,1334,1046,1290,1222,1048,1182,1372,1268,1038,1054,1362,1234,921,1126,1672,1548,1368,1108,821,894,614,408,413,437,416,346,378,562,533,336,342,393,428,402,413,472,545,548,511,655,666,566,573,526,528,753,1040,1162,1140,1180,1494,1512,1272,1368,1198,912,1172,1502,1328,1142,1114,1274,1146,1190,1416,1210,1176,1136,1128,1328,1584,1506,1244,1044,1140,951,1056,1054,1214,1172,1316,1300,1268,1392,1498,1522,1200,877,1096,1100,1032,1056,1310,1226,692,684,1082,1518,1884,1388,1204,962,902,1072,1324,1340,1220,1090,1003,979,861,984,791,1001,1346,1346,1594,1344,1506,1676,1716,1614,1454,1086,639,674,839,891,911,781,857,788,566,633,944,979,843,943,968,977,1108,1128,827,804,754,824,1062,1016,1130,962,836,951,843,714,694,653,652,885,868,948,944,955,947,973,937,771,843,982,1034,1188,995,986,915,935,968,1186,1206,1200,1146,1220,1242,1274,1306,1284,899,714,986,927,866,734,678,883,1124,1076,1120,1092,1074,895,760,878,949,979,1026,1100,997,1148,1356,1380,1182,1028,1126,1612,1322,1262,1400,1378,1654,1688,1536,1664,1702,1514,1360,1124,691,436,318,384,756,1176,1046,943,920,1124,1520,1502,1340,1400,1376,1388,1372,1436,1770,1144,939,1046,943,751,793,916,968,1394,1542,1506,1378,1378,1384,1266,973,733,583,1018,1084,652,636,791,794,984,1234,1015,712,565,683,1156,1492,1094,859,1158,1174,1096,1094,982,1156,1320,1312,1242,1346,1606,1410,1284,1054,1146,1312,1116,594,747,1126,1142,1226,1366,1270,868,482,405,357,280,264,333,508,596,472,440,427,480,551,705,725,552,478,451,458,442,415,402,428,675,610,543,535,361,327,350,468,605,610,602,517,495,848,1262,1156,1060,917,588,461,389,354,363,609,752,1080,1190,1326,1556,1348,749,717,1196,1602,1556,1286,1324,1013,982,1362,1438,1182,863,1050,1102,1130,1080,1252,1278,838,564,615,1005,1140,1250,1494,1572,1512,1290,1196,1306,990,1074,930,841,719,902,1494,1628,1578,1272,686,494,630,556,617,587,577,458,445,807,1086,881,626,543,491,507,487,460,421,585,1100,1138,1274,1208,803,839,1074,1250,1370,1160,1026,1138,1450,2764,2522,1248,760,727,980,696,374,644,1023,1094,1104,921,789,546,491,960,943,599,520,459,423,467,508,435,328,409,466,509,479,508,614,548,848,639,339,317,262,305,479,693,582,493,487,802,1260,1338,1164,885,904,1380,1450,1184,1022,1021,939,957,1004,1060,1148,1118,943,811,652,704,1002,912,850,1044,1206,553,413,484,563,423,359,484,585,414,385,415,349,302,258,271,289,340,455,825,959,681,410,335,332,325,344,350,323,308,281,300,302,322,350,380,385,350,346,373,399,385,377,358,378,393,382,404,382,357,359,359,343,289,330,367,379,383,397,362,324,318,371,533,797,1038,1112,1064,1021,837,451,306,303,349,370,436,457,527,1252,1744,1606,1830,1974,2012,1928,1824,1976,2014,1554,1458,1650,1784,1900,1922,1854,1754,1636,1728,1830,1598,1024,1044,967,994,834,579,692,1015,1480,1262,996,1284,1362,1444,1556,1202,1186,666,500,723,849,1198,1466,1372,1426,1364,1172,988,918,955,903,1204,1282,995,761,1136,1448,1310,1404,1086,655,431,404,753,1188,1242,1282,1234,1120,954,728,764,943,1032,1042,938,563,393,354,354,450,644,865,1026,783,575,1124,1516,1362,823,317,291,292,307,336,329,329,342,329,301,303,303,310,321,324,316,453,356,329,360,337,344,378,378,348,336,362,401,507,493,448,415,387,392,345,641,808,595,450,383,517,806,1042,839,1100,1196,952,593,469,507,689,991,1090,1102,1106,946,788,958,1138,814,585,775,1066,1192,1098,999,999,822,571,611,1106,902,1001,1222,1260,1180,1328,1400,1416,1216,1122,1334,1612,1508,1582,1268,952,866,1122,1236,999,1046,1346,1326,1166,1158,1338,1600,1788,1462,1482,1600,1434,865,955,1160,735,333,488,532,482,426,440,507,896,860,882,727,530,932,937,594,691,1098,1330,1292,1272,1044,689,426,407,652,792,839,837,694,497,537,689,893,972,670,738,1302,1382,1378,922,808,841,1042,1482,1486,929,641,507,465,392,330,310,323,357,684,1196,1344,1344,1232,1232,1214,1066,927,899,589,811,1244,948,703,673,788,1054,1104,1036,767,616,888,1262,982,874,883,1048,690,459,480,923,1048,536,718,794,714,560,1104,1360,1044,1142,1086,1120,1344,1360,1202,915,612,723,749,640,783,778,806,672,613,886,1248,1384,1296,1252,1160,1216,1220,1042,1002,1256,1212,1332,1366,1274,809,377,386,411,408,485,774,1200,1626,1454,1248,1360,1396,1358,1148,1056,1160,1104,1236,1036,855,1060,1124,968,764,650,522,468,443,397,572,1124,1374,1046,937,1210,1554,1664,1602,1434,1240,1238,1226,915,630,482,428,544,821,1090,1256,1120,1064,1176,1318,1096,1044,1200,1032,862,1026,1320,1100,843,1052,1288,1496,1714,1626,1634,1614,1576,1426,1292,1244,1262,1172,982,972,1360,1372,1626,1394,894,695,769,1072,1150,1124,1436,1370,1492,1154,998,974,962,956,1082,984,991,987,677,870,912,708,1002,1132,1024,1128,1192,1130,1252,1354,1498,1530,1344,1102,894,1124,908,631,466,339,464,1018,1288,1162,842,720,915,1410,1532,1252,1084,873,1005,921,1262,816,665,673,542,627,1148,1700,1950,1116,962,1274,1528,1076,708,725,846,673,467,619,722,805,1226,1360,998,861,954,756,827,772,933,847,1036,1272,1260,1126,874,949,1144,1084,1046,1052,1023,996,766,695,701,711,636,572,744,893,658,566,594,609,688,883,944,1466,1040,730,990,1216,1340,1078,919,998,891,1018,1476,1538,1270,1388,1414,1048,936,1032,856,849,1140,1444,1224,839,869,653,739,1060,1332,1086,1056,1064,612,530,421,521,963,965,1021,911,1198,1188,799,656,710,951,1064,1158,1732,1484,1130,1030,1038,868,631,363,270,334,674,894,980,1108,1170,1066,627,576,595,858,1174,1150,1088,697,543,574,426,323,539,1096,1376,1288,1194,1108,1007,1384,1474,1092,895,949,638,446,458,763,1312,1222,865,450,277,289,337,325,347,360,284,216,212,216,221,217,228,225,290,310,254,269,255,386,567,487,476,621,583,680,926,973,747,806,1258,1416,1280,919,594,623,470,447,561,456,373,411,482,465,381,576,414,414,520,420,338,385,408,541,569,443,387,378,378,392,433,587,684,713,721,851,1064,995,1278,1550,1364,894,500,367,468,583,589,657,889,841,738,530,473,522,630,944,936,692,535,613,1122,1520,1452,1166,701,528,466,573,971,1224,1009,739,625,689,653,627,905,1184,886,565,526,518,537,531,513,1068,1786,1458,721,522,529,484,490,625,723,841,635,597,523,557,1510,1824,866,368,427,794,1130,999,1052,1670,2248,1134,568,580,559,678,932,985,1094,1188,1038,1254,1322,1066,1200,1282,1134,855,530,393,439,405,647,859,730,871,681,310,355,364,332,332,370,1023,1268,683,355,305,305,349,397,387,376,352,344,595,852,706,886,1108,1150,900,600,476,521,383,260,230,260,377,337,265,257,276,250,338,483,514,412,418,410,386,481,352,311,345,379,346,308,335,307,356,462,557,557,462,896,1136,975,842,1074,901,941,1282,1102,976,568,684,1312,2050,1666,736,535,509,395,487,823,706,332,277,411,484,493,485,420,375,375,399,384,521,554,346,328,334,524,480,391,483,439,285],[1338,1544,1134,1086,648,769,1276,1256,655,601,774,1118,1212,951,535,500,615,785,772,941,1058,996,1172,1202,1118,1232,1072,788,698,706,929,1182,1074,869,859,985,902,760,734,764,620,484,527,476,418,438,598,495,444,405,366,332,332,312,321,343,323,430,440,536,594,582,628,870,972,803,546,397,415,512,502,432,357,343,369,409,461,446,354,361,417,395,787,1354,1498,1260,961,480,416,372,354,405,397,426,475,471,431,412,433,442,437,400,305,250,217,207,204,458,904,749,501,665,880,944,595,444,386,367,369,381,384,317,427,570,594,616,604,451,318,298,255,321,428,448,484,474,513,771,1042,973,820,599,554,956,1070,1042,1224,971,711,837,896,971,1074,1046,1206,1530,1436,1350,997,1034,757,683,1072,1196,580,424,601,929,639,334,381,457,470,488,852,1816,2192,941,363,276,363,423,481,477,683,782,590,593,790,1052,1396,1586,998,828,1198,848,711,1140,1376,1064,889,951,987,1348,1470,954,869,1152,1230,891,686,826,989,1050,999,1218,1236,1092,1436,1344,1318,1400,1134,975,882,927,1246,1148,1092,1070,1009,802,695,785,1246,982,959,1370,1294,1102,1768,1638,874,802,963,906,792,830,901,1114,1086,1124,1410,1302,1100,1017,1220,1140,771,802,1224,1278,850,1062,1178,1023,929,526,400,391,362,369,417,557,780,776,466,340,404,423,391,422,422,474,531,539,528,594,594,542,670,742,1100,1342,1016,959,1162,1340,1216,1228,1236,924,695,992,1292,1188,1080,1220,1338,1318,1450,1472,1324,1222,1316,1316,1338,1240,1360,1338,980,1100,1244,1216,1256,1034,1048,1348,872,1018,1388,1586,1520,1526,1266,1186,1230,1206,1124,1046,996,883,770,1128,1516,1764,1824,1400,1036,1088,1316,1368,1352,1444,1172,1112,1268,1300,1098,1050,1334,1660,1798,1792,1648,1636,1486,1216,1144,1110,998,708,680,944,919,1188,923,738,948,952,763,1058,985,719,874,1194,1296,1142,1013,902,1314,973,780,962,1010,1070,838,550,756,871,811,631,570,666,705,614,892,1003,1084,1060,1092,962,724,703,1062,1098,1058,799,804,796,832,1054,1368,1094,771,785,896,1222,1318,1238,1384,1180,963,1194,711,689,855,810,774,681,907,952,918,995,1046,1306,1226,985,1017,807,996,1068,1048,1116,1082,1108,943,824,930,779,930,1164,1318,1506,1694,1586,1340,947,929,1322,1150,659,372,337,375,459,561,738,865,766,948,1354,1472,1218,1074,980,996,937,1534,2100,1592,1054,842,917,1009,1038,909,909,1084,1522,1596,1660,1588,1318,1364,1262,794,530,1064,1028,778,1034,1100,1264,1338,1138,1208,1106,1001,1070,1310,1368,1092,1052,1246,1276,1172,927,1166,1302,1064,1378,1206,1112,1130,1202,1334,1250,1208,1306,1288,765,932,982,968,841,1074,922,546,537,428,296,323,441,491,465,462,604,784,543,529,714,680,561,484,420,452,458,555,761,550,495,608,579,739,459,352,327,272,436,548,484,490,478,611,875,883,819,790,626,485,446,363,388,446,606,1016,1220,1005,1378,1472,993,595,955,1426,1420,1106,920,1052,1116,1296,1466,1526,1380,944,985,1050,1012,1172,1310,1290,1102,850,1001,1234,1084,961,1430,1654,1638,1450,1366,1360,1070,1224,1158,1084,1208,1354,1388,1422,1278,879,801,804,860,708,615,675,626,426,375,484,818,1278,1528,838,664,632,547,551,614,897,968,1176,1506,1528,1138,1086,951,899,1058,1142,1134,1300,1260,2306,1980,1270,1074,874,606,483,486,646,1096,1234,1118,811,651,531,529,938,896,769,856,788,644,474,453,433,362,433,501,518,456,503,574,416,332,305,325,298,292,327,322,348,394,438,481,813,1118,1058,1102,1202,1410,1622,1396,1360,1216,906,760,1034,1164,1132,1056,858,598,665,868,999,980,537,434,474,531,467,436,428,435,453,430,592,643,382,351,326,316,298,285,276,310,441,807,1114,1017,687,389,344,318,302,325,361,336,292,292,318,284,289,318,335,367,363,378,367,375,379,387,350,370,410,398,426,424,363,360,408,436,339,343,372,343,345,359,375,400,382,536,848,952,1086,1074,875,643,413,343,338,358,361,394,468,516,775,1430,1666,1734,1960,1968,2058,1776,1432,1582,1462,1328,1604,1712,1776,1938,1906,1782,1730,1780,1770,1410,1009,681,996,1010,1282,1324,718,628,1296,1852,1092,1254,1382,1374,1438,1516,1009,719,600,661,709,774,1066,1056,891,1358,1456,1236,1003,870,778,878,1094,1050,636,757,1154,1472,1208,1092,709,476,406,345,624,872,859,1072,1176,1256,1376,937,899,1090,1100,875,492,361,333,349,421,1004,1694,1758,1708,1316,645,877,1240,858,442,301,300,328,339,330,342,350,358,320,294,315,310,304,332,351,354,416,370,306,335,373,362,357,369,336,350,328,333,462,422,418,476,450,380,349,483,763,969,617,441,517,803,837,555,578,777,981,822,602,845,1276,1238,960,1248,1188,1136,987,970,1026,767,558,736,1042,1015,948,659,526,367,409,720,1142,764,777,985,911,872,1186,1490,1482,1344,1206,1262,1266,1198,1356,1100,960,1028,1218,1356,1046,855,901,949,975,956,1238,1542,1640,1090,944,1358,1660,1294,1070,1196,866,364,369,524,754,662,611,694,1002,735,718,619,405,662,1056,1160,1106,807,838,1030,1146,1230,945,490,457,605,826,733,643,688,479,554,902,1114,932,629,674,1046,1044,876,1014,1022,915,1240,1382,836,407,380,398,443,350,473,608,476,303,584,1042,1108,978,985,868,706,1014,1346,1106,764,909,848,428,467,632,745,858,896,910,813,850,1021,1116,1268,901,691,796,632,502,586,1001,1003,642,770,896,869,665,1030,1030,816,1007,1198,1158,1284,1360,1186,1094,937,857,640,725,825,591,731,790,785,858,1170,1472,1416,1334,1152,756,1200,1242,1250,1174,1112,1118,1168,1124,664,412,346,367,691,791,1440,1790,1548,1486,1430,1428,1364,1192,1368,1250,1158,1134,1252,1224,1318,1418,1512,1160,898,896,694,646,623,514,582,1010,1548,1562,1442,1820,1890,1710,1516,1344,1176,1388,1336,806,658,479,424,514,851,1130,1408,1236,1144,1398,1502,1390,1306,1280,1410,1498,1310,1690,1132,793,940,1028,1446,1520,1308,1434,1576,1654,1620,1476,1394,1362,1296,1238,1296,1322,1296,1462,1258,733,572,656,1042,1164,1028,1186,1566,1548,1302,1118,812,727,885,1134,1216,1046,836,916,1118,1234,1168,1224,1114,1144,1162,1124,1352,1372,1194,1520,1406,1202,1088,1072,798,896,846,552,412,425,931,1242,1017,1017,1394,1512,1408,1282,1462,1326,873,753,985,908,787,883,695,760,1468,1910,1634,983,805,894,1250,1382,1076,958,875,1062,1090,634,499,705,938,1440,1366,839,595,517,512,1036,1040,774,624,726,895,781,665,410,582,846,961,990,872,728,713,704,571,455,571,672,618,750,906,697,569,631,615,990,1210,1194,1300,1032,974,1154,1212,1110,1208,1188,1140,1160,1110,1294,1342,1284,1418,1224,1058,1017,921,943,1152,1026,1206,1040,1034,1126,1176,1164,1114,1556,1484,1302,1206,735,697,653,1318,1600,1272,807,757,887,959,1150,1236,1023,1016,1036,1450,1910,1156,516,510,1128,974,483,329,315,289,434,773,1162,1128,1076,834,609,583,561,1078,1482,1204,825,519,574,717,525,376,626,1034,844,967,1220,1558,1260,1118,1208,834,630,923,641,442,495,1104,1488,1354,983,592,307,286,292,266,236,218,188,196,233,245,266,253,275,210,283,337,284,287,260,427,890,883,748,1066,1170,891,816,628,544,698,1088,1166,1028,688,412,389,380,393,352,369,372,385,373,375,359,345,317,302,345,357,334,387,398,357,339,300,324,374,395,390,627,1114,968,670,601,673,863,999,1380,1600,1244,756,452,346,402,494,444,597,991,808,568,497,532,448,736,938,695,903,1430,1390,1250,1162,1344,1250,866,591,618,643,644,759,944,1048,1160,1021,629,632,815,997,740,448,454,484,567,604,561,788,1154,1056,687,539,472,513,618,869,922,875,570,412,455,502,858,760,330,366,405,836,1120,1056,1034,927,804,619,543,680,730,698,825,965,1040,1088,1078,1106,828,553,635,1108,1208,1136,789,461,466,421,545,454,355,650,480,317,359,378,359,386,819,1738,1716,824,431,363,337,362,449,477,509,414,343,491,766,1148,1616,1814,1412,916,690,577,634,604,328,230,269,316,323,290,255,219,197,216,266,367,390,918,1104,773,558,472,373,281,335,371,269,283,301,316,396,419,456,777,1322,1494,1528,1564,1370,846,866,1010,894,631,379,549,1422,2022,1258,717,639,583,758,601,569,595,716,828,724,780,874,739,594,518,444,390,594,1148,877,337,309,302,560,463,724,655,386,280],[1438,1734,1132,1015,630,797,1246,1196,1098,1044,961,1062,1122,990,905,780,741,812,631,674,1052,1104,1124,993,1018,1234,1096,1013,1010,995,903,673,519,457,505,567,564,591,523,488,509,430,495,527,441,400,478,341,319,370,390,396,384,313,357,419,405,504,518,498,460,380,404,579,610,486,474,441,361,440,473,502,442,388,343,385,430,406,336,363,424,404,600,1146,1504,1416,1412,800,480,369,364,397,389,416,471,464,417,398,495,641,603,724,412,212,245,264,271,413,618,454,542,760,840,955,501,426,396,422,381,314,318,259,396,739,861,663,614,435,343,501,706,572,625,620,479,382,414,755,1146,1288,1200,703,418,557,705,877,1156,1184,764,477,630,770,916,1015,1220,1322,1212,1050,968,1426,1180,960,1040,980,660,625,843,1086,789,360,530,654,532,499,745,1228,2076,1678,731,343,362,382,503,894,1134,1010,708,725,684,965,1976,2276,1216,722,962,1134,1268,1344,1210,1068,724,765,673,940,927,609,630,996,1026,925,1360,1322,1007,720,684,772,790,1018,1346,1280,1170,1166,828,779,572,595,957,1370,1470,1038,1076,1274,1200,966,1194,971,789,1064,1070,1302,1428,730,778,677,608,883,959,682,830,958,923,1015,1032,982,1208,1278,1394,857,713,664,1186,1478,1060,899,838,862,772,467,434,392,350,405,554,755,763,610,370,321,385,397,413,444,447,433,426,481,605,780,737,598,788,882,860,739,774,1044,1106,1188,1168,851,533,549,832,1056,1158,1178,1272,1272,1216,1514,1650,1310,1070,1254,1420,1328,1384,1276,1634,1524,1188,1288,1260,1184,1194,996,1028,1074,603,924,1230,1228,1166,1244,1108,1028,1066,1128,1244,1164,1154,1184,1090,1254,1438,1510,1682,1400,1082,1144,1230,1310,1428,1272,1124,1350,1290,1434,1510,1452,1320,1614,1770,1726,1586,1434,1202,1142,1372,1013,974,695,803,883,995,1070,845,880,1224,1202,1162,1220,1418,1100,1007,1180,1184,1172,990,1302,1708,1036,764,1760,1940,915,727,683,920,847,583,430,414,573,631,645,677,1018,1308,1114,1160,947,698,667,977,824,716,689,601,729,1004,1084,1018,744,599,706,880,1150,1232,1396,1428,1440,1040,689,473,559,910,1372,1188,830,1009,857,1142,1292,1594,1648,1136,852,882,843,829,1004,1100,1128,1088,813,569,858,880,772,971,1144,1384,1470,1556,1606,1116,539,955,1364,1038,836,499,389,428,407,421,543,838,981,1166,1616,1916,1414,1226,914,822,878,1056,1764,2012,1778,1272,1176,1456,1152,764,954,664,1156,1606,2274,1680,1364,1340,1224,671,481,657,694,990,1246,1100,1042,1017,1072,1142,1202,1168,1100,1126,1206,1126,1276,1352,1332,1346,1300,1524,1468,966,1026,1366,1368,1112,1256,1310,1216,1198,1032,1270,1310,1300,999,742,688,924,684,537,531,338,339,379,456,499,456,508,761,957,694,777,938,732,689,764,548,473,422,480,683,607,572,548,484,390,367,391,371,387,478,489,426,495,533,594,740,618,538,513,497,518,450,396,492,666,1026,1050,1186,1166,1312,1152,710,565,1021,1296,1060,892,982,879,1000,1050,919,1368,1460,981,1022,1062,875,1012,1154,988,911,1004,976,948,792,969,1276,1346,1468,1510,1418,1210,1132,1220,968,783,1170,1160,878,1226,1062,1011,1128,1050,859,819,834,890,731,485,459,641,1154,1624,1802,1258,894,638,638,1244,1992,1528,859,1009,1278,1338,1154,1180,1112,1076,1222,1228,1120,1272,1214,1130,1114,1236,1120,803,604,640,592,512,569,1036,1246,1272,1074,611,477,562,644,959,1350,1468,1260,692,476,360,387,472,524,600,737,819,587,334,393,364,396,358,302,263,297,305,368,427,389,485,725,940,1214,1476,1430,1194,1114,1090,1072,915,889,944,1132,1120,856,630,706,854,1030,888,571,375,333,341,374,489,466,414,816,1150,629,506,440,349,314,325,337,314,294,304,396,565,778,821,681,432,316,307,293,280,300,315,298,284,295,311,302,323,342,314,360,393,420,413,412,403,389,350,354,383,378,410,416,352,359,377,362,366,349,355,342,347,350,360,389,466,847,1058,769,771,788,524,359,347,346,359,378,408,463,490,552,896,1578,1672,1954,2022,1766,1466,1310,1422,1610,1738,1992,2026,1884,1826,1816,1748,1678,1668,1620,1130,798,584,450,808,1122,1230,1198,679,805,893,1122,1190,1650,1246,1262,1352,1328,1070,703,818,1066,928,796,524,610,730,1180,1198,1258,1206,1034,880,718,1152,1110,430,606,1310,1378,1130,1104,913,727,529,346,590,797,739,797,774,1098,1132,764,1013,1326,1064,825,555,354,345,364,425,969,1788,1830,1620,1394,967,802,936,826,630,398,314,416,392,294,324,314,347,364,350,325,308,308,335,338,370,486,402,394,786,908,540,465,376,346,354,430,504,487,451,473,485,430,372,362,376,716,951,582,439,484,551,474,361,340,702,1382,1340,686,799,1218,909,628,1218,1220,1102,1028,724,940,1120,796,879,911,765,1011,588,400,540,477,639,938,905,821,819,653,741,1212,1630,1604,983,733,1007,806,819,1306,1368,1138,838,1001,1052,619,488,766,1082,1406,1204,1122,1192,1170,670,807,1366,1452,1130,988,1036,731,451,415,768,1350,1024,642,732,896,727,597,495,471,536,880,1356,1248,694,916,1056,1138,1360,1110,551,483,698,828,637,487,526,460,507,656,731,525,445,516,875,795,570,1048,1218,1232,1328,1166,655,312,279,288,378,318,559,813,612,307,377,685,847,912,980,908,700,1106,1434,1282,1256,1262,866,624,826,1030,842,839,811,1110,1340,1350,947,999,1130,574,373,383,488,518,491,636,830,869,985,915,711,691,854,1158,1236,1172,1268,1294,1294,1330,1320,1260,1106,1005,984,1182,849,737,1038,1060,1082,1038,1356,1326,1268,1366,1015,554,675,989,1086,1114,1108,1011,948,760,584,695,416,439,678,1210,2082,1720,1320,1378,1210,1392,1490,1172,1448,1266,1294,1326,1162,1208,1372,1310,1434,1294,1058,827,591,758,678,522,531,763,1398,1714,1570,1454,1474,1414,1450,1578,1356,1636,1338,674,672,517,411,396,694,1126,1256,1178,1216,1056,1013,1064,1196,1378,1362,1542,1698,1492,1094,920,1220,1576,1614,1328,1292,1410,1706,1868,1602,1648,1620,1592,1544,1440,1354,1260,1236,1268,1212,942,835,852,1048,1084,1052,1070,1372,1372,1208,825,619,1030,1158,861,1070,962,590,758,1005,1362,1266,933,934,1038,987,1218,1416,934,714,1536,1272,1015,1050,1046,680,1042,1058,659,649,794,1050,1106,1262,1462,1418,1132,1050,1282,1274,1174,787,605,636,568,782,857,624,677,1024,984,1450,1009,1030,1086,1030,1018,1034,910,926,1462,1562,733,451,519,837,1272,1008,614,566,425,512,1074,1250,1088,1140,1222,885,444,449,414,409,437,609,611,557,519,728,1046,634,372,440,719,1022,995,877,1252,1444,1230,917,1026,1158,1362,1428,1528,1358,1342,1030,1190,994,767,963,1148,1272,1420,1282,1170,813,785,983,917,782,1310,1304,1034,824,496,446,601,1356,1572,1068,1700,1414,1366,1476,1328,995,1286,2396,2166,1232,866,859,753,1013,1366,1164,1054,1094,1346,1522,1632,1238,719,396,794,1072,947,577,320,307,480,1048,1162,1110,1060,809,592,612,620,1176,1368,858,343,364,494,698,407,317,475,585,570,753,1096,1112,817,769,637,685,614,791,556,446,638,1166,1368,1050,878,705,338,267,242,308,338,327,264,250,248,223,237,261,270,270,354,369,260,235,256,534,1116,1200,1054,986,1088,912,662,609,495,459,583,890,1028,564,409,366,374,391,352,365,340,322,319,312,342,372,345,332,348,352,350,327,318,334,335,314,324,344,340,402,927,1576,759,458,518,498,688,1066,959,707,548,497,465,419,404,399,427,539,800,713,464,466,515,346,375,572,995,1726,1846,1478,856,724,1238,1358,1166,841,595,525,521,519,536,762,1182,1216,907,702,722,1070,693,463,470,465,556,613,526,567,1060,1234,1046,882,1366,1758,1194,767,667,695,611,548,509,457,656,746,416,374,335,545,841,1108,1056,789,864,894,813,833,827,739,749,1124,1296,1316,947,667,518,497,725,1058,1298,1396,975,472,385,267,289,256,271,553,481,350,393,505,465,294,744,1440,1250,598,453,424,373,327,370,401,451,375,299,368,702,1298,1838,1848,1178,1010,1112,1220,1096,937,476,248,261,273,274,246,215,209,212,216,258,328,273,694,1312,1422,945,505,387,311,369,372,361,351,334,332,336,404,653,878,986,1450,2024,2212,1390,673,563,595,763,748,709,786,1332,1802,1434,1044,850,797,772,833,937,872,922,921,863,825,934,767,600,574,499,422,368,376,526,313,257,305,360,361,550,459,340,275],[1646,1450,1296,1258,1138,952,989,1024,834,824,857,885,1064,1158,1090,907,775,654,767,998,1058,1004,965,900,853,890,676,663,752,720,505,400,409,374,422,434,440,515,495,421,417,412,462,520,373,335,430,381,339,353,404,427,438,482,524,469,435,457,477,485,405,357,307,332,326,366,548,479,324,372,407,457,406,360,355,368,389,366,319,372,444,473,597,983,1436,1436,1548,1132,613,383,360,371,400,411,429,399,371,392,655,693,917,1108,725,547,414,349,454,629,777,594,432,471,577,645,451,337,277,346,359,341,339,380,395,596,756,714,671,488,760,1078,1346,962,633,547,486,380,465,843,1180,1424,1612,767,419,425,674,932,1160,1200,734,371,309,444,851,1148,952,1164,1368,1262,1314,1358,907,724,609,832,908,546,581,960,835,395,554,865,885,578,585,727,1646,2074,1280,529,499,706,1038,1350,1130,1030,1002,1284,887,982,2240,2414,1204,825,1178,1270,1290,1084,868,1100,1020,948,581,536,1056,1026,766,1052,1112,1390,1526,1400,914,650,574,588,643,1296,1452,1190,1104,736,828,1068,703,630,1050,1366,1538,1320,869,808,1252,1230,1038,938,985,899,1038,1272,1210,850,916,972,849,761,1030,1102,933,935,964,1194,1102,810,1194,1270,1100,849,792,742,1346,1622,1292,1146,932,808,698,729,609,486,408,493,655,762,666,437,373,358,350,316,340,441,367,316,312,317,492,625,761,763,703,590,387,342,615,1166,1020,918,1230,744,321,593,877,1138,1012,984,1348,1094,753,1346,1374,1266,1172,780,1162,1666,1610,1406,1644,1584,1344,1404,1406,1216,1052,943,943,833,650,728,742,1054,1310,1148,1152,1244,1004,859,987,1126,1310,1220,1384,1360,1234,1238,1250,1084,1046,1130,1276,1420,957,780,1050,1400,1522,2182,1814,1508,1334,1498,1600,1430,1448,1516,1394,1068,1108,802,948,871,1028,961,1012,838,736,1078,1166,1184,1302,1344,1816,1178,1246,1308,1078,983,829,979,1088,710,1218,2434,1472,668,631,739,972,716,475,367,381,594,691,647,620,753,946,945,1016,982,688,599,835,664,490,594,683,894,1001,979,920,791,924,924,774,836,740,1190,1478,1960,1648,766,415,390,728,1444,1418,1376,1066,954,908,1298,1540,1230,1178,1188,987,670,686,1074,1188,1088,690,485,495,1190,1260,1044,959,893,930,938,1170,1610,1424,977,1312,1334,949,744,587,579,553,534,504,786,1218,1266,1312,1158,1338,1452,1378,1306,1108,858,712,831,1092,1264,990,1310,1494,1126,1046,1124,635,1044,1288,1306,1492,1302,1072,914,476,555,505,489,681,978,1154,1372,1384,1200,1166,1192,1168,1080,927,1096,1096,1144,1338,1118,1284,1440,1344,1250,1064,1028,1174,1076,1026,1290,1184,1052,1210,981,1138,1294,1430,1178,991,899,598,505,454,385,305,259,293,346,390,641,783,807,753,561,753,1040,1040,1008,893,798,593,499,711,647,551,511,456,393,365,359,369,428,431,470,409,380,450,514,662,638,505,432,446,514,532,516,554,669,969,1274,1242,946,1022,1118,894,636,687,888,969,828,647,725,568,642,1002,1130,1208,1378,1144,1182,1168,878,973,912,735,1124,1076,760,824,1018,1176,1098,948,1062,1440,1518,1390,1430,1208,952,926,1182,846,795,1058,1290,1018,876,1038,1142,1202,921,603,743,654,581,582,988,1280,1192,1248,1017,833,837,1306,1842,1488,843,847,1066,1190,1290,1364,1354,1306,1272,1144,1028,924,1009,1094,1136,1192,966,941,717,565,436,384,666,986,1184,1422,1158,475,473,475,477,576,888,1220,1186,653,405,362,403,468,548,740,819,698,419,341,370,363,386,329,251,253,271,317,311,292,352,423,655,718,1038,1324,1346,1492,1410,1188,1070,915,923,1074,1074,846,719,845,1136,1062,1028,749,529,723,976,681,414,486,437,403,600,721,475,372,301,308,316,300,306,307,298,331,422,564,656,681,603,434,341,320,334,308,284,304,314,310,324,339,327,330,333,346,385,397,412,441,459,447,430,410,383,371,372,383,347,350,401,426,413,389,371,366,363,352,337,359,457,791,1086,886,514,491,491,406,388,383,341,363,401,439,479,523,572,1015,1652,1880,2062,1888,1464,1400,1648,1876,1948,1964,2132,2292,1960,1782,1792,1714,1690,1310,851,534,498,506,476,691,1054,830,870,650,631,581,526,833,954,1088,1340,1238,1206,904,744,920,1096,877,760,520,872,1054,1001,1418,1596,1280,1156,1014,1058,1418,1214,775,1038,1352,1396,1322,1238,1288,1230,726,393,449,642,808,867,806,863,968,868,1004,1196,1046,813,547,413,468,515,486,759,1490,1566,1262,1052,1222,1398,1248,996,778,477,316,355,363,287,301,310,423,527,579,432,301,302,320,371,545,636,474,390,797,1052,783,721,483,341,382,543,607,677,810,692,504,463,407,395,424,745,833,582,543,539,432,429,422,548,986,1376,1522,968,932,1196,810,844,1306,1002,1020,1026,767,990,1066,816,711,528,613,802,722,626,910,810,601,946,1064,1072,709,617,855,1256,1566,1710,1404,1322,1088,788,1432,1554,1019,976,808,515,373,319,406,875,813,1562,1758,1202,829,903,1084,1364,1384,1214,840,689,882,517,733,714,666,1023,966,528,550,831,879,820,569,505,445,611,899,975,792,536,486,857,1626,1698,915,471,550,639,673,719,818,659,468,363,368,396,461,478,845,1084,839,984,1009,1292,1208,1044,554,280,251,268,378,343,382,573,569,422,535,854,799,1156,1344,825,566,789,966,1260,1506,1280,995,867,1110,1044,886,1026,716,946,1366,1460,1013,1078,1094,678,602,610,819,833,853,666,700,869,910,691,408,283,641,1310,1416,1372,1232,1278,1206,1356,1344,1328,1252,1426,1738,1518,975,1312,1776,1236,814,819,678,596,833,1118,1120,1011,1032,1156,1088,1076,1003,1144,1092,950,676,500,421,456,737,1686,1874,1238,1098,1094,1238,1282,1356,1244,1444,1494,1492,1256,1144,1130,1134,1032,998,1196,1126,590,589,711,690,604,719,943,1368,1600,1606,1810,1724,1572,1470,1576,1640,1408,1390,857,717,572,401,398,562,808,926,1076,1160,748,789,996,1288,1412,1422,1476,1504,1394,1238,1170,1284,1566,1614,1326,1450,1322,1676,1714,1418,1382,1490,1614,1722,1708,1506,1366,1378,1312,1252,1258,1128,1168,1252,1326,1354,1026,763,991,1234,848,985,1280,1118,1021,916,1032,968,1012,1084,1064,1072,1094,897,797,929,1060,1394,883,667,1098,1094,889,1184,1214,884,1072,982,764,1014,1036,1212,1310,1296,1150,1054,1088,1164,910,645,741,675,549,464,365,461,678,922,700,513,775,1384,1426,1156,1015,932,794,886,926,692,1152,1340,711,458,566,885,1252,938,498,517,489,501,683,1074,1206,1422,1358,995,517,383,396,499,725,764,644,518,541,637,741,449,307,374,644,786,607,824,1548,1880,1382,976,953,850,975,888,1050,967,1064,1074,1272,1004,789,898,921,886,1120,1222,1142,693,795,1010,820,694,1186,1094,1106,775,346,305,367,727,971,1064,1306,1334,1328,1354,1268,1132,1280,1716,2036,1382,637,1170,963,822,1068,1372,1186,1192,1150,1250,1514,1556,1064,594,694,1038,1312,941,508,413,654,1028,715,800,956,817,750,650,905,1306,1176,901,585,519,397,372,281,260,319,353,612,971,1015,825,714,430,524,633,575,571,525,454,766,1164,1322,1088,865,609,410,291,321,434,455,448,381,304,252,240,237,245,255,252,295,312,212,207,271,708,1028,1068,971,911,1130,1054,795,744,673,694,698,922,918,630,444,368,342,354,380,354,322,370,393,310,326,360,364,334,347,365,365,374,324,279,282,324,412,445,359,339,809,1824,1016,465,447,383,413,422,409,471,518,532,503,447,404,416,438,587,788,836,623,462,431,338,375,497,1015,1564,1362,1340,997,914,957,852,954,940,667,446,477,568,541,547,628,791,1526,1282,828,1001,872,612,510,452,447,607,707,658,609,940,1242,939,1592,1896,1144,586,448,553,817,755,716,624,607,620,407,328,407,1004,1204,1104,1084,893,890,1034,1244,932,923,983,1010,1424,1916,1636,1062,720,579,650,936,1226,1378,1260,1186,637,450,334,241,384,491,623,544,386,373,511,501,267,281,367,385,408,430,451,358,283,275,308,290,258,274,323,548,1124,1670,1700,1144,895,1412,1478,980,736,473,280,269,272,256,210,203,199,198,206,252,361,412,355,636,996,715,360,414,327,356,354,382,425,467,408,333,510,741,1007,1522,1794,1642,1924,1376,832,449,381,481,500,767,972,968,1062,958,785,736,973,908,822,852,932,1008,1054,1102,930,701,616,552,507,470,446,306,280,335,307,326,357,364,373,322,312,390,484],[1432,1270,1156,1304,1334,927,713,805,792,857,963,670,742,1021,1122,912,884,951,978,871,756,662,566,586,501,465,413,498,549,527,404,354,372,439,539,477,452,546,546,469,439,445,438,376,300,334,341,377,428,415,419,395,495,547,571,497,393,411,448,433,379,351,336,353,370,455,550,493,415,408,460,524,519,491,446,384,348,383,389,434,415,448,567,899,1388,1546,1570,1356,821,421,365,332,397,400,328,266,346,484,571,816,1396,1084,740,759,535,509,548,576,621,444,318,294,311,301,322,307,317,354,372,355,373,502,450,550,708,713,785,759,1062,1216,1092,944,722,520,554,675,989,1470,1340,1316,1538,951,623,671,1048,1130,1026,884,525,347,294,361,659,782,694,1182,1388,1438,1182,957,1094,1106,872,1148,1160,661,516,899,838,677,791,882,1244,991,792,821,1310,2054,1794,751,1021,1406,1316,1228,1122,907,999,937,546,749,1470,1422,874,1052,1224,1322,1036,907,949,1438,1576,1062,558,434,735,852,952,1132,1318,1134,1005,1282,890,719,745,1022,921,976,1220,1172,934,748,923,1046,929,543,876,1220,1016,974,904,1154,1458,1256,995,869,575,675,1118,883,589,505,775,995,940,834,1312,1334,1204,1258,1382,1820,1548,1274,1230,1238,1268,937,755,1160,1552,1334,1290,1306,936,859,783,932,886,582,370,464,548,672,655,432,417,390,383,377,393,336,312,286,283,272,373,494,645,767,905,796,401,361,456,647,666,568,592,403,360,487,659,1056,1188,1116,1234,958,738,1332,1234,1394,1194,818,1084,1338,1106,1254,1492,1416,1382,1328,1258,1178,1154,1144,1062,920,913,968,1020,1284,1418,1204,1296,1286,1084,989,1146,1122,1150,1230,1266,1266,1192,1164,1110,1208,1268,1060,1005,1208,749,518,841,1202,1544,1676,1346,1438,1474,1428,1370,1248,1542,1466,1288,1074,756,719,871,894,1036,1094,963,780,864,1026,1054,1142,1088,1388,1600,1160,1124,1074,1004,951,575,504,824,780,1078,1530,680,304,323,540,646,734,716,446,388,571,789,865,834,891,844,894,871,850,694,545,786,685,758,1162,925,690,594,752,796,1176,1218,1100,792,719,678,985,1320,1606,1668,1294,714,729,1023,1220,1034,878,905,944,784,955,1002,1112,1328,1176,882,786,858,1052,1082,965,576,358,353,720,624,414,468,519,616,616,717,1334,1662,1494,1324,1074,857,701,901,1028,719,590,649,800,990,1372,1322,1224,1356,1466,1334,1294,1308,1234,876,467,642,1036,1110,1158,1698,1826,1970,1316,815,1278,1148,833,1178,1374,1318,987,505,633,623,807,584,628,1136,1298,1046,978,1096,1206,1268,1096,819,907,956,1200,1178,910,946,880,1021,1226,1186,1178,1258,1072,1076,1278,1212,1138,973,1100,965,1048,1460,1298,1290,928,427,397,346,300,308,243,283,326,311,688,925,681,496,489,592,879,1368,1368,1158,1214,742,661,730,547,397,351,382,351,364,335,359,479,468,436,403,327,446,642,763,628,468,438,415,497,570,612,662,1017,1202,1188,1154,1024,1013,1009,864,740,1028,1136,1088,830,469,615,860,766,856,1220,1290,1278,1178,1300,1202,936,1104,799,860,1150,722,630,883,1164,1252,1074,953,941,981,1306,1490,1440,1364,1394,1268,889,649,987,1426,1562,985,899,1170,1408,1532,1312,692,901,1048,1206,946,969,1238,1214,1400,1322,963,1023,1114,764,576,527,601,924,1246,1226,1126,961,1034,1058,1070,1220,1009,999,1256,1248,1216,890,744,683,577,383,422,599,902,1256,1340,816,534,506,530,466,393,401,535,604,481,371,336,379,436,489,505,319,259,248,356,359,357,360,305,245,281,275,302,359,350,381,437,620,620,1034,1013,1046,1200,1220,1302,1138,1138,1254,962,664,750,803,905,1094,1028,905,960,979,1378,1554,861,485,414,361,339,336,337,372,340,312,314,312,281,283,319,316,305,346,439,529,693,579,465,398,345,363,339,300,308,305,343,351,339,316,333,323,337,357,399,451,452,445,424,387,389,397,373,414,414,350,366,416,424,390,387,410,412,377,334,390,499,784,941,797,546,416,399,397,388,388,363,346,380,420,477,559,507,681,1492,1628,1710,2050,1776,1426,1804,1968,1992,2022,1988,1926,2018,1954,1736,1700,1710,1270,664,396,373,462,631,833,1078,1021,664,846,1042,1138,988,610,410,602,1266,1390,1354,1218,1048,1110,1001,811,702,657,493,812,854,870,1490,1606,1284,1136,1180,1108,1226,1860,1616,1462,1358,1240,1376,1422,1342,1152,646,463,764,1186,1324,1048,988,1000,1062,1186,918,741,738,678,603,789,1202,848,680,964,1406,1268,833,763,1172,1420,1152,797,618,386,358,347,303,295,358,358,475,505,536,524,317,310,313,373,558,644,600,409,561,891,797,615,461,340,406,590,681,883,1098,852,562,507,417,387,454,832,1142,816,481,521,472,535,423,699,829,1022,1452,1282,1396,1484,1116,1434,1444,884,919,976,1062,753,644,657,687,586,699,718,907,970,1106,938,865,1066,862,987,696,896,1300,1414,1450,1642,1546,1306,1252,1466,1704,1238,804,642,1028,691,518,515,769,1272,1017,1276,1542,1240,1292,1458,1458,1324,668,781,987,1094,1011,926,1642,1400,714,698,877,703,541,549,793,1242,727,476,436,508,638,946,877,708,899,1566,2364,2084,1036,796,986,1246,1360,1250,1120,1015,636,416,462,608,902,1324,1238,1350,1356,1504,1328,866,884,871,438,393,354,327,385,365,385,560,501,518,590,970,951,1246,1366,890,739,909,797,1194,1428,1096,889,749,1160,929,807,675,505,612,895,1001,815,882,838,573,512,1174,1232,1110,1160,797,443,532,582,494,416,299,482,1042,1216,1174,1274,1078,1044,1256,1300,1294,1236,1394,1760,1422,1021,1382,1682,1278,612,453,406,481,775,845,872,1044,1380,1422,1274,957,714,907,1416,1632,1082,666,542,443,730,1118,937,794,868,1076,1250,1220,1382,1216,1278,1566,1426,1404,1448,953,933,858,772,1092,1126,913,952,918,963,843,976,1232,1460,1590,1926,2220,1760,1584,1478,1462,1654,1312,1318,1010,709,626,436,414,442,564,778,923,1052,1028,1056,1020,991,1005,1078,1238,1278,1224,1284,1258,1394,1648,1468,1412,1390,1144,1130,1170,1166,1186,1252,1274,1418,1560,1624,1600,1616,1610,1560,1268,1340,1390,1240,1404,1384,914,583,888,1038,1002,1128,1262,1132,1264,1012,1114,1254,1152,1024,887,1001,885,641,778,1007,959,1156,1148,1062,984,940,798,1026,1190,951,940,929,1080,1216,828,952,907,736,901,1216,1324,1162,724,395,499,543,519,613,611,538,735,877,527,493,719,917,1060,1046,859,954,1094,1026,932,781,1042,1080,833,659,696,714,864,836,580,441,436,428,522,1306,1438,1500,1500,1204,544,430,558,796,1066,1028,936,660,777,632,358,331,294,312,394,404,445,617,917,1306,1196,1068,681,371,385,634,1172,1116,885,869,867,978,1026,1218,1236,1122,1007,888,956,830,981,1066,754,829,967,1108,1208,702,396,339,336,315,357,555,824,860,1224,1352,1242,1206,872,631,854,774,844,1374,802,513,887,1598,1532,1516,1410,1304,1450,1450,1290,977,963,1110,1236,1290,969,802,847,934,848,732,828,848,574,640,1530,1556,1162,775,728,568,357,298,239,272,333,394,596,669,776,1028,694,341,364,567,557,594,580,559,884,1074,1016,806,722,750,1018,733,541,731,689,502,404,379,444,343,257,269,297,254,243,289,254,269,283,700,1124,1192,1038,756,828,1044,980,938,1106,1218,1058,1010,731,565,450,391,372,336,351,362,360,478,395,307,327,365,427,412,373,333,359,357,352,375,306,328,391,465,434,379,573,1562,1013,362,338,346,396,438,480,516,512,541,521,497,471,430,445,671,1010,1292,1017,499,392,410,458,425,541,1142,1568,1462,1362,1116,703,542,517,756,955,540,593,654,597,544,675,1334,1948,1434,1108,1246,1140,1009,985,692,456,646,896,890,702,785,979,948,1248,1188,717,554,527,619,771,537,598,650,725,968,846,812,855,1090,1005,828,789,662,1086,1646,1888,1282,1066,868,852,1182,1272,968,1042,1052,808,578,838,1076,1416,1318,1364,960,679,491,316,683,847,623,639,405,324,383,318,210,200,281,339,345,375,346,296,281,267,292,287,291,311,305,403,808,1250,1222,738,571,1034,960,595,455,362,297,305,301,282,234,220,207,201,221,219,239,310,398,441,392,341,272,357,329,306,296,314,417,549,496,507,568,479,720,1350,1250,966,1648,1404,664,357,376,410,439,579,510,449,498,425,331,410,871,1142,1130,1158,1136,1074,1040,962,796,720,586,513,470,499,432,442,479,380,321,323,326,372,407,374,428,741,785],[981,681,485,799,865,436,359,550,646,786,832,795,697,706,854,888,949,868,701,526,425,388,379,469,469,444,405,441,477,486,414,349,407,494,551,440,413,434,449,480,546,538,458,308,262,270,260,299,418,494,463,437,533,438,410,425,482,529,535,470,370,403,415,469,500,567,497,514,525,463,530,681,745,636,486,403,346,363,383,419,383,436,573,890,1356,1538,1530,1500,1060,481,396,342,380,362,261,277,501,686,536,646,857,832,677,613,634,670,529,358,234,250,320,265,227,254,316,404,477,461,411,309,283,487,526,517,693,539,563,637,806,858,847,1122,1160,1000,858,964,1098,1304,1184,1156,1066,738,625,1021,1382,1318,1156,1046,576,351,374,471,1086,1212,918,968,1276,1294,1004,847,1048,1058,1028,1164,1354,1126,732,636,717,1058,1184,1152,1278,930,847,1008,1264,1620,2008,951,1246,1434,1350,1005,984,915,1005,854,689,1050,1396,1320,968,893,829,988,602,546,608,1021,1186,1028,857,536,438,558,664,1011,1166,1052,1310,1322,1238,1054,1026,1300,1098,841,1158,1286,1100,798,595,482,677,603,940,1226,993,772,916,1322,1526,1314,1016,857,754,832,1018,652,449,547,475,752,878,799,848,666,714,926,1350,1552,1336,1388,1166,1104,1054,827,1124,1450,1398,1184,1290,1222,778,669,897,1068,956,619,382,354,408,611,707,453,357,336,344,353,377,344,331,303,300,312,307,374,557,732,819,749,401,321,284,361,295,282,301,309,352,432,786,1086,1320,1166,936,824,781,1050,1114,1040,1040,1246,1288,1208,1013,1360,1422,1290,1188,1068,1088,1134,1108,1172,1076,1130,1338,1422,1376,1204,887,686,651,678,700,741,675,492,642,912,1092,1130,1058,913,683,1176,1318,798,800,1000,1160,1208,1340,1284,1266,1296,1482,1558,1500,1218,1226,736,897,974,1020,1056,901,922,860,773,974,1136,1004,944,1018,1042,1056,987,1026,1410,1266,965,812,676,876,1021,655,428,552,641,745,761,431,260,261,411,402,464,589,432,460,694,841,884,883,684,430,459,571,808,890,723,719,664,557,481,349,539,523,686,758,1076,1104,925,779,849,970,1056,1198,1578,1520,1176,910,810,1212,1430,1082,656,626,890,1018,1028,1050,1154,825,858,1009,1156,824,871,980,1070,849,498,317,327,301,395,476,605,805,628,597,913,1566,1742,1102,570,644,772,950,1150,1009,802,788,581,667,1232,1270,1118,1282,1354,1248,974,920,1302,1216,791,861,1126,1628,1236,1294,1490,1470,1058,742,805,780,521,712,1278,1342,1052,739,746,740,1078,940,809,1296,1298,1058,1078,1216,1304,1212,1146,821,896,962,1454,1046,628,725,731,848,1052,1013,1098,1276,1340,1332,1392,1390,1406,976,999,870,800,1040,1196,1082,641,325,304,347,313,319,257,234,259,458,1100,1290,734,548,525,665,1234,1464,1226,1394,986,576,717,607,468,325,281,353,357,365,369,357,400,441,436,428,401,567,811,869,664,487,448,385,454,548,661,751,1124,1206,1178,1162,1124,1052,1120,1094,971,1236,1396,1178,679,648,1202,1398,932,755,894,1122,1326,1316,1606,1462,1222,955,709,879,968,614,721,1178,1268,1072,872,698,477,519,1004,1518,1384,1490,1428,1306,927,1108,1254,1312,1360,1120,1144,1274,1366,1418,1148,998,1184,1354,1302,962,1124,1256,1142,1026,1062,1228,1632,1616,840,604,547,513,643,1023,990,620,494,662,896,984,1166,1312,1254,1248,1160,1178,1130,912,970,795,389,598,1100,944,800,772,540,466,458,510,452,382,394,377,419,467,391,345,359,376,366,357,301,279,291,323,354,311,333,366,275,263,280,296,369,404,456,424,682,1004,1068,948,980,1030,1256,1370,1208,1268,1064,692,648,918,921,745,973,1007,902,1046,982,1054,963,571,456,459,457,375,352,343,372,361,313,320,301,283,300,326,306,310,296,309,360,468,449,514,536,490,507,404,330,297,312,354,368,366,346,348,313,314,314,349,416,401,385,377,358,371,412,385,371,361,337,343,398,421,396,375,383,395,366,428,731,979,1048,633,397,401,386,377,392,392,379,367,352,377,408,431,502,579,1162,1620,1358,1434,1732,1544,1528,1868,1998,2050,2072,1976,1892,1876,1868,1728,1708,1558,948,462,377,533,706,915,1166,1406,1200,956,842,826,1214,1342,814,509,967,1568,1162,1142,1146,1390,1023,657,908,1160,956,686,625,516,569,596,783,975,1312,1770,1556,1582,1666,1214,956,984,1088,1268,1284,1030,874,750,827,1090,1290,1232,795,824,1018,1158,1124,983,599,552,728,767,796,1232,1226,1118,1070,1250,1098,684,731,1018,1100,901,800,661,390,374,376,316,340,384,348,474,472,409,471,296,335,350,387,361,529,575,397,426,655,580,474,473,397,372,531,668,673,792,642,479,430,380,363,370,680,1214,1084,545,656,1032,1032,548,642,478,656,1064,1274,1460,1388,1218,1240,1124,838,669,1082,1518,862,574,644,642,523,735,798,886,1078,964,910,1188,1036,890,902,650,820,1015,1172,1180,1306,1098,757,1168,1804,1138,1312,1558,1028,961,1062,875,582,786,1260,1296,1204,1166,1212,1412,1324,1366,1278,596,724,1092,1290,1208,1312,1582,1424,842,975,1470,1306,846,433,449,630,605,518,496,637,712,838,926,719,885,1906,2520,1666,907,1312,1262,1324,1510,1246,840,674,607,697,765,980,1038,1452,1350,1520,1372,1156,1042,561,734,788,576,760,491,362,354,350,407,694,752,967,1136,1412,1512,1498,1412,1180,948,1210,1002,879,919,1098,1022,1056,1064,1003,1005,1001,1076,912,621,506,427,444,330,284,305,757,1294,1444,1324,1034,692,692,511,391,336,299,355,706,1038,1164,1404,1234,1168,1416,1350,1112,975,786,788,663,723,907,1216,869,438,300,536,747,693,904,970,758,802,1094,1140,820,948,1062,1390,1384,967,839,905,955,1102,1000,778,891,1198,1296,1366,1484,1772,1466,1134,1484,1610,1300,974,733,946,1017,1044,1212,1306,1222,1176,1202,1192,1076,1102,1190,1216,1622,2154,1974,1608,1638,1610,1542,1542,1350,1362,1166,719,691,440,414,445,661,921,835,842,964,1172,1302,1286,1084,926,1100,1076,1094,1246,1162,1338,1656,1268,1312,1394,1134,1013,1076,1034,1058,1182,1206,1240,1246,1388,1520,1616,1724,1688,1456,1488,1354,1236,1376,1248,1120,879,1232,1082,977,889,866,1016,1154,945,1056,1036,1066,890,921,828,729,843,781,933,1190,1302,1148,1148,1188,984,753,928,1092,1003,1021,927,1226,988,453,376,456,694,910,952,1170,1070,813,546,383,462,431,544,857,763,796,730,499,434,602,556,668,1454,1288,1098,1344,809,599,948,1350,1446,1028,576,498,433,535,919,795,471,453,411,404,785,1462,1534,1122,705,517,865,1023,1036,1128,1222,1484,1102,954,493,351,366,276,268,357,447,691,707,935,1260,1258,969,440,375,603,761,640,941,1072,717,761,1062,1086,1346,1326,1316,1214,976,1088,1032,724,444,542,900,1170,1158,948,491,390,335,341,560,915,758,523,614,1110,1470,1400,1152,753,775,1376,1658,1452,1322,1090,796,740,1078,1120,917,917,1100,1354,1704,1864,1378,1328,1260,1298,1310,985,1066,1062,1272,1300,884,693,718,691,1001,1700,1426,746,606,746,440,321,340,318,333,340,421,839,929,760,726,433,318,418,695,743,739,728,789,1100,1118,1120,727,628,988,1440,1422,1310,1170,777,423,297,340,548,470,380,377,362,250,220,252,320,395,455,650,769,943,946,731,671,880,1060,910,865,976,1044,826,607,559,433,371,351,337,387,350,313,401,375,319,315,383,447,426,363,357,377,387,482,513,457,426,368,383,413,398,389,450,333,304,328,372,401,400,443,481,504,560,621,564,534,577,540,601,814,971,576,408,381,395,368,396,362,762,1460,1766,1490,919,553,451,431,609,1050,981,1072,1154,928,658,781,1504,1704,1376,1072,922,647,888,1092,1066,717,735,1180,1122,909,1013,1040,875,680,506,577,488,500,778,666,539,539,664,1734,2040,1304,1042,741,705,802,664,603,658,1038,1664,1628,1196,952,741,548,615,733,919,1130,1184,843,648,908,1390,1370,878,854,1013,910,496,250,343,421,382,650,430,326,276,242,233,235,245,262,275,317,324,333,339,298,284,278,296,313,273,321,634,957,804,479,637,820,608,538,419,359,328,280,219,206,215,227,220,214,220,221,213,277,502,654,475,314,258,372,372,306,287,305,367,492,588,633,429,408,454,669,604,843,1416,1164,553,291,369,444,464,391,359,406,445,451,441,520,959,1224,1204,1138,1080,1074,992,788,732,774,566,506,492,544,425,365,339,303,303,312,299,322,390,391,382,425,297],[600,589,511,506,521,506,455,541,519,495,541,835,978,1028,918,758,683,512,395,345,333,327,364,438,455,461,428,388,365,376,383,386,427,390,412,400,482,491,440,446,518,543,478,341,256,245,274,275,374,508,473,441,404,354,365,427,511,568,544,505,438,440,517,573,820,684,449,482,556,539,568,592,491,509,422,389,350,343,398,374,374,415,498,807,1340,1520,1424,1306,1102,606,434,381,341,308,267,349,591,619,644,576,503,605,476,437,605,610,439,281,191,230,285,249,199,267,432,529,484,396,333,346,367,523,574,529,517,415,374,434,503,645,794,1294,1264,1304,1036,1078,871,1042,1260,1132,1036,970,913,1124,1324,1302,1166,941,630,414,485,487,1136,1304,771,729,1086,1206,1050,870,657,844,1318,1330,1124,1180,1038,681,831,1522,1498,1034,1046,1010,1086,1052,1628,1780,2276,1564,1384,1422,1262,877,721,973,1198,904,990,1228,1428,1452,1023,728,806,709,426,325,282,410,598,883,974,522,440,792,832,1098,836,860,1166,1134,1060,1044,900,901,1132,981,1046,1264,1204,863,578,568,667,858,1252,1354,1214,859,1130,1440,1426,1300,1432,869,615,516,606,480,711,911,619,632,649,499,565,646,650,868,1038,1174,961,810,639,634,735,1240,1556,1040,1000,1138,1474,1038,813,854,953,1246,1238,746,466,453,392,576,707,539,350,262,237,267,300,304,289,278,294,298,289,291,380,583,554,412,308,305,272,264,253,265,290,369,465,604,1168,1374,1324,1136,882,927,991,894,969,1164,1656,1694,1256,1104,1038,1118,1072,937,828,1138,1118,1094,1256,1406,1354,1158,1200,1246,893,426,303,269,315,379,330,244,299,511,664,792,975,1110,1366,990,720,1194,1080,892,1078,1144,1544,1564,1298,1366,1396,1550,1528,1498,1522,1046,1252,1062,1048,999,980,764,631,877,703,417,659,959,845,683,758,923,936,848,871,1023,1068,938,953,912,1080,1100,891,675,511,699,856,657,342,230,275,378,356,353,490,429,609,1012,1024,724,721,583,461,534,581,816,955,892,939,961,559,394,541,1022,839,626,979,1316,1192,1116,1184,1362,1162,912,881,1332,919,781,851,925,1142,1110,819,587,706,878,623,694,960,938,854,971,1013,893,941,1152,1158,1268,1334,846,302,282,308,444,512,586,705,496,449,826,1478,1686,1338,844,671,714,796,950,896,937,991,743,498,828,1130,1444,1580,1368,1388,1178,1072,1162,1242,1210,926,1001,1288,1340,1188,1000,1112,1406,1206,843,780,765,786,1030,1026,1280,1206,1088,1034,1174,1066,1070,1472,1240,1262,1074,1064,896,869,835,764,948,1314,1434,915,450,446,825,1136,922,985,1388,1422,1300,1414,1516,1516,1350,940,883,977,874,1210,1314,967,514,346,403,364,319,265,227,309,341,401,700,916,673,774,933,1106,1418,1242,1126,1044,673,790,836,418,398,301,300,321,340,343,361,352,389,428,473,504,518,692,688,661,530,451,414,380,434,525,666,729,811,1013,1188,1188,955,904,1046,1036,1186,1580,1396,1164,988,1066,1416,1354,993,922,1026,1142,1446,1758,1596,1324,1222,997,1064,950,915,854,1122,1426,1110,613,572,482,448,745,976,1338,1470,1434,1170,1090,938,1042,1140,1246,1138,1368,1220,1274,1382,1308,1162,1180,1150,1278,1182,990,985,965,955,1028,930,1108,1832,2170,1398,999,732,517,577,663,557,452,469,633,901,993,1082,1310,1266,1214,1084,1030,953,979,1015,898,675,937,1240,971,586,327,385,436,419,453,477,509,428,366,407,409,315,374,403,397,373,377,355,265,311,425,399,308,310,384,368,285,275,315,430,408,481,412,605,888,1040,1108,1018,938,971,768,722,713,683,679,787,1082,1132,888,796,835,979,1084,1042,662,511,406,361,394,430,386,374,365,378,372,329,330,307,300,328,357,307,300,302,304,421,557,568,586,565,524,552,462,422,333,346,368,401,411,383,365,379,369,319,323,375,379,344,329,346,367,379,389,375,380,361,336,396,445,436,422,579,617,596,813,1130,1170,828,476,424,415,384,397,424,406,349,373,356,393,404,390,610,1128,1522,1398,1342,1534,1470,1344,1732,1926,1964,2002,2076,2026,1880,1838,1832,1768,1686,1240,910,846,820,940,921,1076,1362,1308,1084,1184,1072,826,929,908,928,624,928,1404,1230,1082,1324,1328,934,731,987,1158,858,676,559,745,716,582,531,695,1546,1960,1594,1626,1268,973,1202,1360,1322,991,1078,1116,896,964,1082,1222,1400,1058,745,814,921,856,915,992,639,1013,1280,832,660,914,1176,1194,912,818,814,697,767,944,882,760,693,460,318,314,328,296,332,365,351,465,473,383,394,339,339,367,390,365,536,551,376,363,357,419,592,567,502,417,397,416,349,327,351,368,397,408,369,385,530,892,1028,642,760,1428,1624,954,585,536,451,408,636,1082,988,857,1008,1236,1072,826,1028,1208,780,523,904,1050,610,536,808,1042,911,759,1021,1364,1144,686,763,719,663,837,904,819,1030,802,824,832,1032,751,1074,1610,1298,821,928,944,716,515,612,860,1166,1394,1550,1372,1080,1656,1638,1310,1336,1422,1330,1376,1470,1180,895,722,1324,1452,1288,1060,544,807,1200,1024,604,743,1106,850,847,1026,1024,966,1752,2050,1382,1182,1056,926,1021,1176,877,566,565,809,1068,1064,949,850,987,634,1110,1130,1198,1216,448,451,507,413,642,470,389,353,359,445,591,799,1026,1086,1300,1426,1324,1104,1110,858,1266,1284,1254,1136,989,863,924,1284,1484,1328,1238,1034,835,483,392,360,355,328,308,290,543,1248,1562,1244,1156,1009,874,676,435,333,330,374,472,667,883,1182,1266,1360,1422,1330,1230,963,1005,1118,1116,781,645,716,581,410,521,879,849,574,856,904,662,776,681,753,972,912,876,1076,1104,1156,1120,1220,1220,848,511,583,1034,1308,1274,1316,1440,1492,1270,1192,1394,1676,1322,992,1074,1206,1274,1230,1238,1252,1214,1084,1028,1078,1088,1010,998,1140,1642,1864,1698,1558,1488,1432,1384,1392,1276,1140,1102,736,731,501,495,447,1146,1634,1610,1232,808,913,1172,1330,1262,1058,1136,1284,1136,1158,1226,1516,1594,1324,1388,1490,1302,1060,915,1002,1040,1023,1088,1312,1256,1278,1282,1204,1490,1624,1624,1548,1406,1252,1184,1292,1162,1114,1007,948,1086,1070,704,725,811,803,988,1066,1414,1200,1102,879,941,1023,919,982,1050,968,881,1028,1152,1124,859,1040,1092,891,690,697,877,560,382,481,576,804,802,669,1011,727,533,511,486,481,422,496,655,793,775,837,914,470,406,324,499,1748,1472,1086,973,628,436,521,1100,1576,1174,496,499,694,1284,1656,1050,552,513,573,456,722,1186,849,670,891,894,1298,1384,1158,870,952,1072,998,1302,1048,508,310,286,332,412,618,1094,999,1024,893,1296,1220,566,283,521,507,569,940,877,626,757,1062,1050,926,1188,1212,1188,1318,1160,948,1104,1082,791,1202,1916,1356,1178,561,421,372,375,719,982,785,547,547,807,1322,1292,951,580,802,1354,1374,810,677,843,1018,1174,1204,1130,735,769,1172,1088,1578,1542,1122,1142,1224,1366,1260,1132,1316,1322,1296,1044,694,484,455,447,860,1354,1104,645,800,612,329,453,446,368,346,424,742,1324,1512,1094,549,403,490,597,725,738,669,618,859,1246,1420,1184,1138,1078,1038,1400,2020,1932,1132,581,344,346,321,350,570,543,416,388,289,243,235,316,450,735,1026,968,998,775,699,875,992,794,583,735,1032,996,583,406,398,347,303,284,336,440,399,307,310,336,331,355,377,371,399,372,356,331,342,421,442,520,501,427,404,318,249,262,260,273,263,312,418,466,496,467,465,503,537,579,575,623,577,513,527,449,429,437,423,374,354,381,422,368,454,964,1346,857,557,557,459,537,634,799,1104,1478,1806,1740,1019,548,711,1102,1346,1070,659,572,532,766,1064,1023,1486,1838,1110,822,915,689,597,524,506,673,554,468,655,911,1003,720,863,2024,2058,905,659,482,578,800,677,564,519,701,939,1032,1128,837,443,446,707,1612,1932,1238,991,855,1026,1306,1594,1124,1168,1168,881,992,491,349,289,291,414,768,468,288,258,253,220,228,254,260,267,311,357,393,390,311,299,291,306,307,328,352,537,902,864,456,589,859,550,511,433,406,400,314,242,221,220,242,260,247,218,219,225,265,522,667,579,356,388,560,508,305,305,344,341,429,647,672,470,403,425,434,481,556,872,1170,774,406,478,564,518,411,383,470,521,529,450,547,781,774,689,688,686,706,690,673,732,626,436,453,530,552,432,380,363,379,451,348,291,389,447,404,311,365,355],[515,515,549,561,582,519,478,542,492,444,473,538,751,1038,735,639,507,427,386,353,326,342,373,397,386,361,362,450,475,392,462,458,374,380,383,369,426,462,419,432,499,557,543,428,303,285,287,273,335,486,492,437,430,430,417,353,427,477,459,478,509,572,782,803,755,613,475,439,536,581,581,545,335,465,430,388,346,350,377,376,358,383,477,753,1222,1076,728,497,603,601,508,436,350,376,379,372,397,368,553,611,444,381,400,400,384,355,316,220,211,234,194,187,218,286,416,432,405,382,346,408,584,586,445,340,369,486,401,362,343,389,502,1001,1238,1072,987,956,596,713,987,1092,1088,1300,1288,945,874,745,912,695,550,570,698,735,821,620,490,675,965,1146,1318,1378,1336,1396,1454,1590,1432,1260,1288,1072,1134,1648,1518,1032,985,1007,1034,908,1300,1630,2126,2060,1788,1514,1192,855,621,904,1304,1005,1134,940,1252,1412,1012,736,761,562,370,451,612,642,806,974,1324,885,539,453,629,698,778,937,609,634,720,610,583,811,1042,831,1544,1472,1148,1120,1124,947,498,557,872,1226,1666,1244,1394,1444,1078,1368,1554,941,600,639,664,753,803,847,778,719,787,624,781,809,672,678,830,882,704,656,751,955,1070,1420,1128,652,1074,969,1182,918,873,1036,841,955,1278,1252,802,579,382,418,506,508,412,280,239,262,298,354,321,276,281,280,291,274,271,360,416,387,333,294,261,257,269,295,344,439,708,951,1166,1220,1276,1214,1118,821,511,611,949,1194,1302,1352,978,828,1040,1444,1330,872,813,971,1023,891,949,1084,843,389,513,542,397,314,328,300,417,525,411,285,319,343,437,593,657,849,1180,1146,1088,1292,1146,1160,949,1019,1400,1208,1246,1506,1644,1470,1456,1526,1556,1094,1130,1286,1276,1144,1136,1036,871,1078,676,502,740,1166,1018,1144,1144,1110,997,938,1034,1006,973,881,719,709,905,1066,1030,910,767,827,863,700,458,363,432,493,472,547,625,675,705,827,809,521,631,932,1118,1038,791,943,921,800,937,782,529,476,538,807,729,698,1020,1300,1562,1238,1188,1356,1050,828,790,1230,1050,797,1080,980,449,543,607,688,1122,1426,607,363,852,874,895,1156,1288,1380,1422,1418,1396,1356,1134,688,344,294,332,335,471,889,995,676,628,1013,1288,1308,1444,1128,684,671,601,565,541,710,1023,794,546,1066,1638,1670,1426,1140,1322,889,661,634,984,1106,926,959,1202,1264,1180,922,718,976,1254,892,966,1174,1352,1412,1104,1040,1092,1066,1118,1136,1204,1358,1448,1282,1430,949,805,797,1186,1136,856,935,944,856,971,531,414,610,869,785,980,1400,1340,1116,1350,1544,1554,1358,1196,1316,1338,1084,1204,1068,1038,813,647,682,716,734,507,276,350,393,352,478,487,651,885,1160,1242,1152,1256,1114,642,773,1186,1034,568,402,321,334,339,330,325,343,394,513,517,489,518,484,706,596,586,521,433,377,405,473,618,756,765,825,904,978,1054,929,647,637,885,1034,1314,1316,1372,1386,1228,1370,1400,1288,1072,1356,1168,1224,1354,1306,1086,833,1140,1332,1232,1190,1144,1392,1296,951,493,399,399,540,935,788,824,1368,1508,1266,1226,1068,1098,1068,1290,1318,1388,1268,1286,1460,1212,954,919,1080,1176,1106,879,921,1178,629,750,986,973,1068,1546,1420,1010,706,503,506,504,453,374,339,398,486,778,1018,1023,1186,1178,1084,1064,1246,1288,1196,1122,966,1120,1190,1030,631,374,334,401,489,466,486,573,390,385,415,447,389,537,550,496,489,498,448,317,331,532,450,348,339,394,384,295,284,371,400,382,398,359,383,651,994,850,561,440,457,480,459,553,709,745,924,1144,1080,968,842,779,1046,1078,1190,733,474,373,353,348,334,372,430,403,368,341,357,328,305,312,356,376,302,283,310,374,517,579,541,471,429,379,398,498,453,354,346,375,430,451,405,417,470,439,325,333,319,326,336,339,357,361,363,372,372,385,379,346,382,463,531,654,973,1104,1122,1146,1034,749,466,362,345,439,458,490,470,410,372,393,428,529,550,664,1178,1424,1268,1274,1440,1576,1704,1836,2050,2088,1954,1852,1986,2050,1910,1872,1882,1842,1690,1036,1054,1180,1046,970,935,1064,1236,1134,1214,1544,1212,1262,880,701,1002,744,650,718,850,1166,1300,999,649,636,680,598,739,896,811,785,1046,1174,875,667,1346,1444,977,1020,1070,1038,904,919,1090,1098,1084,954,910,915,850,1142,1214,1010,988,910,648,642,1001,931,893,1468,1572,1284,1034,1132,1302,1234,1034,825,917,938,960,905,861,584,357,357,350,333,314,290,291,390,456,433,422,376,363,389,433,410,418,466,545,469,348,330,342,404,513,527,510,501,426,419,401,347,386,379,387,392,410,446,506,667,731,701,784,1228,1466,1080,805,624,356,339,543,928,997,814,1006,1082,1184,1124,950,702,714,661,781,1130,899,550,621,825,796,606,843,965,832,638,708,941,1036,1050,891,997,832,713,1208,1038,952,888,1146,1096,794,901,903,794,938,586,491,802,1226,1542,1542,1246,1454,1744,1474,1136,1204,1410,1390,1094,1142,700,431,519,1048,1474,1292,1026,677,597,1138,1304,897,912,1238,1098,1188,1308,1558,1604,1816,1714,1122,791,1130,1226,1148,1208,933,739,913,930,655,503,535,529,513,464,888,1172,1322,1232,388,360,362,388,536,409,367,354,410,566,532,755,1007,925,1100,1122,1302,1526,1234,984,1124,1096,933,699,540,509,818,1520,1696,1610,1192,1308,924,713,618,357,347,409,475,839,1178,1130,1306,1092,896,963,772,656,547,412,350,408,403,507,865,1106,1122,1350,1468,1294,1272,1134,1182,1015,1062,1013,796,828,876,558,634,893,608,490,615,554,768,1054,838,804,1104,1010,753,951,1306,1526,1023,934,710,526,549,705,800,822,1100,1516,1516,1176,1192,1362,1328,1692,1502,1256,1236,1336,1300,1278,1306,1194,1100,949,745,920,1080,1382,1712,1864,1814,1672,1610,1590,1516,1468,1396,1344,1270,1052,1454,883,721,651,557,429,1094,2036,2220,1400,724,736,1032,1112,1052,1038,1350,1434,1042,924,1278,1698,1676,1490,1426,1442,1404,1302,965,993,1106,1232,1180,1206,1200,1334,1180,1142,1406,1346,1432,1614,1692,1624,1420,1406,1194,1274,1186,1036,1096,1102,871,728,747,708,1280,1328,1076,1102,995,960,1132,1106,1023,1066,1078,1006,1008,1086,1124,1350,1426,1330,1368,1244,788,449,438,439,459,626,797,555,422,403,628,552,550,493,499,469,426,499,850,982,600,718,809,520,343,347,506,1790,1678,899,509,402,383,505,963,1474,1232,552,433,595,1076,1140,1086,729,535,613,635,805,857,944,1156,1184,810,1070,949,972,783,583,465,677,1196,1156,656,290,322,554,795,906,1582,1152,587,482,919,1019,545,294,298,260,490,1013,1126,668,729,819,603,641,1074,1250,1194,1218,1084,1358,2236,1974,948,968,1304,979,1026,547,343,336,388,485,460,340,333,395,487,971,1246,871,649,728,1062,1184,879,501,602,996,1032,1312,1412,782,537,628,812,1184,1180,1168,1202,1112,1154,1216,1180,1462,1592,1526,1078,531,469,427,373,838,1456,1338,852,651,500,557,738,711,525,486,579,925,1364,1494,1086,639,523,586,588,521,470,398,383,883,1302,1270,1030,1094,1158,1250,1102,1040,922,639,397,335,329,289,397,552,469,480,441,301,214,212,278,429,711,976,1060,1158,1026,874,1134,1148,933,545,514,908,1072,534,356,381,309,238,310,451,559,522,428,373,307,294,331,356,395,378,339,309,327,339,352,413,499,479,455,425,275,194,249,250,269,325,309,345,424,471,455,422,411,415,443,494,545,525,485,402,365,422,427,384,383,412,423,384,387,420,570,976,781,1340,1164,695,680,866,1182,1380,1334,1582,1670,844,543,502,513,918,836,612,586,579,808,1094,1266,1694,1408,752,1066,1026,728,619,441,622,758,754,700,759,1312,1516,803,520,778,965,508,659,867,852,832,716,558,516,595,728,1042,1320,1034,517,450,589,1005,825,615,825,871,764,609,675,812,1086,968,840,963,545,404,354,564,688,634,348,240,248,226,219,248,260,247,254,314,401,397,371,318,294,298,311,307,314,318,446,791,1100,875,808,873,550,526,502,464,503,376,256,223,234,243,238,230,205,227,229,238,522,649,436,253,327,564,594,418,303,331,403,778,948,664,524,756,769,563,504,447,665,996,754,482,571,855,681,378,350,470,495,479,475,550,522,455,367,363,361,367,401,414,833,768,418,515,650,553,403,403,417,579,597,339,284,460,579,744,637,376,311],[372,428,575,608,607,580,561,544,487,484,490,481,584,794,568,546,523,416,345,311,313,336,379,371,336,373,416,420,365,358,458,477,462,458,387,333,346,371,419,490,507,510,515,426,317,294,327,346,344,391,441,415,409,407,440,469,481,605,573,565,633,819,797,662,676,728,592,377,448,537,669,562,393,414,401,386,362,367,371,381,350,357,533,676,932,572,351,364,432,581,458,335,370,397,352,248,222,268,317,465,515,504,474,353,271,256,219,212,242,251,244,243,233,246,295,359,389,401,389,434,706,744,526,332,310,347,330,299,326,322,302,508,726,655,940,725,514,1002,1212,759,907,1454,1350,940,586,520,490,368,723,1288,1294,944,836,383,411,609,1132,1308,1456,1468,1500,1548,1454,1476,1596,1646,1348,1094,866,1080,1054,907,1080,1960,1296,687,599,999,1748,2088,1992,1388,930,771,722,925,1212,1266,1230,1050,963,1058,936,631,657,504,503,753,1066,1114,803,1270,1590,1016,572,669,836,787,1092,1172,596,723,815,775,755,784,650,846,1274,969,907,1016,990,646,316,387,844,1218,1298,1198,1346,1144,730,844,820,465,343,445,833,1110,789,1003,1204,982,1028,721,762,835,866,643,470,415,548,811,905,1026,1376,1482,1274,819,765,942,998,828,665,636,785,977,1212,1300,1122,954,537,395,576,647,390,314,294,289,296,303,315,268,280,288,283,272,277,302,352,392,427,387,345,357,368,372,426,546,827,1134,1206,1276,1470,1410,1182,1074,929,750,952,1074,1023,1144,902,1152,1256,1306,1174,1082,1110,1032,906,631,546,680,571,418,566,671,434,279,284,343,531,535,375,267,274,274,296,326,587,1056,1296,1254,1314,1306,1396,1326,1034,1404,1686,1456,1604,1714,1660,1500,1466,1344,1204,1094,1256,1410,1502,1334,1090,912,944,1140,969,1013,1232,1350,1252,1310,1090,773,642,745,750,760,857,866,735,849,777,789,917,890,743,590,664,863,824,808,657,838,879,716,642,760,801,1001,818,572,774,847,939,1104,937,925,977,969,1056,987,879,619,593,741,681,854,1196,1254,1490,1046,1412,1252,1042,1318,1234,1548,1528,1015,960,727,472,583,719,940,1320,1170,783,672,949,1212,1268,1308,1434,1432,969,1152,1488,1570,1060,492,320,294,311,289,552,1098,1224,987,1038,1146,912,883,1466,1420,868,634,748,1003,713,467,566,497,649,1346,1664,1420,959,916,1268,993,913,822,875,1418,1628,1086,1206,1242,1202,1162,882,760,979,1136,860,931,1388,1294,1168,1136,774,832,723,673,1144,1278,1282,1438,1588,1402,1190,1014,1016,1138,1210,1100,1076,985,1098,616,533,717,1372,1230,1072,1126,824,681,1004,1236,1208,1021,1240,1332,1224,1214,1202,1070,1050,944,949,1066,906,788,464,328,358,402,460,473,516,902,1017,1036,879,837,1180,1122,1124,1098,1448,1066,671,500,332,295,340,336,310,313,351,465,452,404,354,417,618,582,609,554,456,501,451,466,852,1030,875,813,753,781,909,870,531,435,599,918,1506,1414,1013,1190,1372,1426,1196,1076,1066,1392,1194,1186,1044,1258,1414,1190,1066,1266,1426,1528,1448,1376,960,466,302,376,449,593,701,604,901,1460,1580,1606,1704,1260,910,1182,1500,1588,1224,1380,1532,1092,1010,1322,1230,1106,967,955,1034,1290,896,519,766,1300,1414,930,611,583,427,407,406,400,455,375,283,301,364,350,486,612,786,1052,1094,1230,906,923,914,845,850,944,966,1088,988,538,317,305,338,460,479,432,449,411,446,430,363,421,580,621,571,521,568,546,390,348,584,487,363,368,426,423,309,398,487,387,381,355,388,479,606,531,628,749,1130,1570,1096,709,752,814,855,893,1126,1050,1126,1326,1294,1036,1078,1174,852,535,342,314,334,340,382,415,348,356,437,473,374,317,336,363,346,307,342,457,662,701,516,430,351,354,422,459,434,386,409,462,429,480,500,456,482,449,503,394,357,341,337,361,388,393,370,345,357,383,372,363,373,407,598,869,1058,1126,1058,866,670,525,389,327,304,343,462,501,458,434,423,399,407,437,640,982,1244,1268,1222,1390,1488,1454,1478,1664,1752,2066,2206,1948,1824,1914,1944,1960,1944,1890,1786,1526,870,890,990,974,893,1262,1494,1224,1132,1290,1274,1258,1262,741,1076,961,630,496,537,1040,1372,1338,993,404,348,310,331,697,907,961,1244,1566,961,783,948,1198,1126,1018,1320,1686,1158,1006,1056,958,1290,1422,1282,1462,1244,860,894,1164,1122,1220,1172,658,623,924,1088,988,795,1190,1452,1212,1174,1210,1200,1116,794,832,976,1312,1148,682,383,461,493,427,321,244,240,258,312,310,391,442,392,397,470,455,387,499,724,656,402,342,335,324,355,467,506,508,498,430,427,424,420,391,371,347,390,416,425,437,496,697,908,948,1180,1348,1296,1028,622,392,401,429,735,1118,1046,959,951,1020,1134,1012,775,1058,926,678,807,586,497,468,544,662,621,774,739,607,768,1054,872,559,560,780,1058,789,729,882,896,1040,861,754,759,731,763,871,708,797,948,885,1228,1496,1604,1602,1360,1252,1350,1432,1328,896,988,1432,1284,1350,908,546,583,756,1482,1338,954,756,477,943,1464,1256,1023,1016,895,1214,1226,1032,1007,910,912,847,786,729,795,698,850,984,1070,1366,1324,796,521,476,451,650,973,1126,1472,1592,1007,425,323,382,457,519,430,428,472,648,899,741,1132,1356,1290,1410,1440,1452,1444,1174,881,751,854,827,671,535,438,589,1472,2180,1982,1304,971,639,789,651,389,308,353,408,787,1280,1078,1132,1154,1384,1186,713,664,822,636,413,466,469,440,509,815,1130,1202,1222,998,986,1124,973,872,1006,1098,1330,1772,1310,935,584,459,324,356,479,503,777,999,916,904,1300,1236,923,1148,1438,1260,550,513,477,495,744,849,774,898,1152,1326,1526,1720,1626,1608,1394,1690,1672,1382,1180,1134,1102,1088,932,812,965,1158,1158,1506,1778,1864,1840,1788,1720,1642,1680,1638,1570,1510,1418,1382,1494,1180,1796,1170,730,617,473,416,594,1020,1154,735,488,539,751,700,619,791,1034,1320,1148,775,1180,1740,1656,1516,1378,1490,1304,1226,1058,1088,1132,1032,897,1012,1174,1224,1188,1286,1248,1126,989,1204,1288,1316,1506,1600,1488,1376,1238,1056,932,1072,1300,1394,1440,1013,1344,1340,1216,968,745,766,752,449,561,851,1230,987,771,921,1042,1330,1422,1404,1268,889,583,658,803,556,454,798,1013,503,295,484,809,815,640,507,444,532,564,450,808,737,556,656,495,419,410,368,374,1500,1548,507,285,394,429,524,777,1088,1246,902,985,1246,922,899,1292,1062,619,533,500,554,777,1396,1162,923,634,709,512,782,905,702,557,525,499,431,467,349,353,859,1180,980,1094,866,652,428,568,733,491,314,305,249,323,678,908,832,835,653,578,828,1078,1096,1150,1108,822,1362,1942,1558,1056,738,758,923,843,453,296,315,293,230,253,300,390,437,456,521,995,1158,951,880,925,1108,1486,938,797,977,1040,1490,1330,703,446,614,946,1114,1312,1180,977,1154,1600,1368,1222,1406,1492,1416,810,477,440,407,869,1480,1636,1496,768,602,567,795,1078,812,850,817,753,1144,1392,1048,926,1028,836,598,670,504,377,322,441,768,929,963,1238,1348,1300,1252,751,607,664,596,421,335,328,361,545,510,404,417,375,272,195,206,294,427,446,585,817,1016,901,993,1462,1850,1642,874,803,883,797,607,506,451,373,321,425,506,539,537,498,416,313,296,297,406,513,343,285,293,297,263,216,292,396,457,454,340,242,212,223,243,410,539,433,461,471,379,398,412,418,418,426,408,386,392,426,353,360,393,384,373,375,380,400,448,494,515,452,570,725,1282,894,583,692,1302,1494,1044,1068,1340,1002,561,496,461,671,1084,656,512,597,702,902,818,790,624,339,850,2058,1714,1268,919,755,883,1032,864,631,741,976,1046,866,902,831,730,491,747,1004,1142,1170,864,556,614,892,1178,1646,1664,1188,625,428,441,510,490,451,597,615,480,390,561,946,784,641,761,827,616,396,535,759,645,386,257,245,253,238,254,259,247,245,234,306,433,387,365,367,328,320,316,299,316,393,503,671,1058,1084,1074,1100,1190,1350,862,500,623,445,254,220,232,239,234,242,227,234,240,358,522,401,231,218,264,346,445,666,383,327,563,1158,1334,886,883,1340,1158,728,805,598,461,594,626,431,420,666,541,352,336,384,440,458,414,545,423,387,328,329,339,357,387,491,1212,1726,1210,1046,998,649,548,400,427,740,774,609,543,690,955,1184,1038,564,441],[384,483,594,646,649,607,543,519,540,513,507,482,664,591,488,513,477,467,431,350,351,342,364,385,401,453,433,399,347,343,400,414,430,391,283,312,434,404,383,392,395,385,461,438,374,387,498,582,434,396,416,377,367,384,407,554,919,1212,994,616,492,586,519,428,509,728,684,392,395,664,1094,689,343,375,396,399,409,481,483,468,383,359,485,538,813,821,647,635,846,731,417,318,279,247,262,283,277,288,344,344,367,448,408,234,196,225,206,198,192,197,199,212,221,231,279,381,443,449,428,490,694,808,708,394,343,278,247,235,223,256,412,757,826,569,393,320,429,858,1036,660,1034,1450,1546,1146,977,1094,641,589,983,1294,1116,828,806,411,359,457,1034,1122,1138,1072,969,1210,1368,1024,1050,968,667,753,769,1062,1224,716,575,778,670,501,378,918,1446,1616,2104,1552,948,702,912,1118,1011,934,1019,1292,1122,736,531,578,666,434,433,552,1032,1078,645,539,601,497,682,1160,1082,915,1026,921,735,619,518,1220,1092,609,642,1110,1146,849,739,711,1074,960,461,418,780,1009,1304,1258,1112,1238,1158,1005,567,336,528,560,1026,1194,946,922,1190,946,808,863,760,872,1106,775,362,348,430,504,600,1028,1310,1222,1254,1104,1022,1174,945,860,654,641,860,952,1200,853,870,979,731,435,558,684,381,359,291,281,325,312,284,275,281,318,306,279,304,307,299,290,390,485,451,466,455,423,407,516,712,1026,1248,1246,1390,1284,1194,1298,1394,1192,1064,1050,1282,1434,1270,1276,1066,1124,1182,1024,994,1242,1011,634,525,614,764,642,695,887,642,273,276,331,443,386,347,281,310,322,445,642,796,914,1122,1418,1426,1328,1098,1250,1446,1628,1760,1596,1390,1464,1578,1482,1294,1346,1322,1470,1632,1450,1544,1324,1194,1000,1232,1224,1028,1028,1162,1256,1152,971,788,459,448,681,603,528,721,766,633,597,596,683,700,537,505,648,741,682,515,475,531,872,872,656,802,857,906,1086,946,696,767,772,827,992,875,788,982,1020,1038,1146,1116,906,921,1250,1086,925,1001,1026,1110,1288,1300,1086,1266,1418,1396,1464,1586,1444,861,498,431,449,553,661,873,1296,1320,1082,1250,1316,1238,1360,1412,1332,944,1072,982,997,993,662,429,512,506,477,552,944,1128,938,995,1108,697,493,1102,1532,1192,717,814,833,606,706,636,573,632,930,1268,1678,1192,1408,1376,1192,1246,812,582,906,1162,1064,1172,1190,1224,1348,1021,637,901,1316,1086,1034,1186,1040,1288,905,634,726,495,658,778,980,1074,910,977,1140,1252,1480,1698,1378,1418,1434,1372,1186,1026,856,1004,1312,1498,1474,1332,1104,1038,716,784,1166,1212,1316,1260,837,925,1092,1122,1208,1050,981,1102,885,589,651,700,440,292,321,656,645,496,719,883,807,690,967,934,983,1242,1142,1252,876,919,996,651,435,297,280,306,302,293,409,411,313,354,478,565,570,607,535,403,405,413,532,894,1112,943,838,810,827,882,1040,969,847,714,996,1366,1272,766,1078,1172,1102,916,998,1260,1100,980,988,844,832,1148,1282,1028,1058,1310,1510,1408,1244,723,371,341,415,488,540,456,556,1064,1456,1256,1506,1434,1066,1116,1252,1312,1428,1424,1576,1238,897,841,1170,1168,907,826,833,741,976,844,892,1124,999,1068,911,602,430,331,336,354,351,416,310,309,402,391,374,553,755,897,960,810,985,822,554,713,919,1021,885,715,1036,1034,514,381,347,338,380,396,398,386,465,480,480,450,484,516,558,582,540,520,492,321,382,530,458,377,379,392,368,296,417,493,344,344,358,402,565,615,454,1488,1926,1828,1950,1206,752,742,713,760,681,1206,1398,1200,1274,1148,936,1001,969,924,765,419,355,384,346,372,349,361,379,529,485,344,349,357,353,353,362,360,507,632,558,406,337,344,369,365,382,448,394,375,377,365,432,455,465,458,442,460,427,391,367,370,419,441,407,350,351,355,329,321,374,401,477,814,1116,1104,853,552,383,343,323,314,331,321,360,430,509,483,450,439,424,420,499,874,1306,1434,1338,1456,1550,1534,1502,1478,1584,1734,1934,2074,2082,2136,2018,2038,2098,1984,1798,1736,1534,1174,1226,1326,1196,1162,1520,1642,1464,1068,978,879,1300,996,830,1192,939,485,711,1272,1304,1390,1594,1003,471,524,534,448,461,571,347,973,1096,511,423,711,1048,1168,847,1064,1830,1720,1342,908,692,1021,1074,979,971,894,847,873,1178,1296,1710,1734,869,587,648,765,691,604,830,875,990,1005,936,786,788,1216,1504,1458,1384,998,607,568,565,296,344,309,254,262,292,314,319,378,399,384,376,401,356,315,442,531,547,480,376,334,339,375,473,467,458,505,536,466,483,534,406,366,337,354,398,449,450,379,501,738,1078,1334,1390,1352,1230,747,433,421,490,908,1162,1242,1232,1092,964,871,855,761,1050,1134,697,448,407,471,511,512,756,1026,856,536,584,1001,1298,1210,882,624,818,743,838,874,834,822,728,517,576,1000,994,703,782,916,674,828,1354,1600,1416,1546,1584,1336,1196,1236,1300,1454,1222,1154,1586,1714,1590,1242,851,892,737,619,753,943,650,730,990,1104,943,1015,1172,1198,1224,1019,993,1066,811,617,637,741,607,453,388,569,979,1020,1128,1126,815,474,393,463,857,1348,1362,1526,1600,717,352,315,345,603,733,670,851,883,1094,1158,773,1346,1640,1542,1888,1866,1500,1254,1224,1005,1260,1550,1016,799,717,625,513,1230,1830,1604,1158,774,780,738,495,377,377,323,264,373,454,376,682,1116,1542,1244,712,752,1056,730,526,476,457,343,445,780,1126,1216,1064,911,923,878,988,1148,987,724,909,1230,1346,1220,753,448,368,373,421,533,909,1126,1050,915,845,797,532,763,1282,1244,647,468,502,707,1012,833,744,1084,1196,1248,1326,1772,1804,1454,1266,1516,1656,1488,1140,1134,1350,1354,1196,1334,1440,1576,1696,1758,1750,1792,1722,1696,1704,1702,1688,1714,1648,1572,1478,1444,1496,1236,1296,1072,685,630,525,548,490,510,451,463,548,527,550,490,559,956,1306,1404,1340,1202,1500,1556,1240,1252,1154,1188,1172,1122,1110,1196,1338,1212,960,1074,1058,1112,1120,1012,1190,1046,917,1098,1272,1118,777,939,1202,1454,1292,1023,1122,1180,1338,1288,1288,1202,1096,1140,1240,1166,852,728,579,485,728,875,1042,795,749,942,1072,1294,1448,1282,909,649,659,960,959,575,509,610,521,361,346,891,1328,1001,495,466,488,822,1166,553,484,401,695,1026,741,564,767,658,383,1064,1634,992,387,570,880,993,713,592,980,1238,1814,1704,818,650,1011,1124,641,388,355,393,627,1216,1288,957,783,704,744,1028,924,669,656,541,307,306,334,362,328,910,722,581,718,661,592,436,470,496,351,487,579,360,480,774,777,906,1218,1264,1106,1034,991,884,1120,1156,961,976,1110,1504,1009,561,846,1152,794,377,327,331,284,261,298,361,419,437,507,627,771,1082,1306,1196,1104,1656,1794,1086,997,1074,784,535,639,555,419,571,590,631,1064,1292,1084,1056,1516,1068,641,826,1192,1222,750,435,381,495,1096,1604,1780,1188,629,943,852,825,1056,740,662,802,742,792,684,676,1076,1372,971,694,700,471,369,303,739,811,521,810,977,878,1056,863,716,592,775,956,812,471,348,452,600,501,466,423,363,239,197,221,357,473,402,578,694,766,712,774,985,1268,1268,966,912,940,836,943,749,650,542,404,398,423,529,499,457,367,281,235,387,512,478,404,473,404,288,296,273,256,258,329,321,213,201,203,198,282,450,502,553,735,656,356,324,339,377,415,380,361,382,409,386,375,388,408,405,373,332,345,421,476,505,534,483,472,800,753,556,636,819,1202,911,603,807,1206,929,719,588,502,1070,1094,701,719,819,944,1256,1126,763,410,759,1760,1886,1530,1178,764,707,838,974,797,594,667,567,553,972,999,922,578,352,619,1862,2928,2284,1490,1156,1386,1998,1664,1560,1490,1284,742,476,457,407,400,472,481,437,409,382,448,756,558,513,360,638,907,940,799,552,331,300,280,313,297,269,258,252,254,257,276,342,386,368,375,390,361,335,311,314,329,316,373,560,1021,1208,1284,1474,1834,1702,841,493,510,390,305,278,250,245,253,254,236,280,396,457,368,236,245,268,307,379,623,916,575,446,458,775,1004,680,736,1130,956,612,784,849,761,553,420,424,486,436,357,361,372,389,459,464,506,547,445,395,354,310,339,430,458,602,1570,2258,1472,1200,1140,1166,764,456,469,764,1102,879,672,1038,1272,1088,1110,794,515],[488,525,593,674,641,605,526,489,539,518,508,586,643,450,386,362,389,455,475,380,373,372,424,528,488,465,393,397,398,398,433,472,492,445,292,302,383,353,320,300,317,336,407,454,494,516,562,673,459,426,378,344,376,394,584,823,1100,1226,1294,1096,549,461,446,490,728,523,429,370,329,310,534,481,332,397,389,412,452,532,515,426,360,358,521,557,706,839,813,879,830,661,844,384,254,205,243,282,261,262,309,333,338,404,375,227,183,212,176,174,203,233,257,309,300,304,507,824,815,658,718,596,522,787,693,492,662,529,288,260,290,433,714,854,679,487,472,382,413,576,711,874,1284,1498,1278,1226,1942,1338,1002,935,994,1460,982,591,612,476,399,519,863,957,1052,1102,944,918,1030,852,1072,623,447,592,950,1074,1282,1017,600,536,617,722,822,1164,943,1188,2036,1860,1092,813,1088,1126,916,931,991,1040,706,463,429,600,555,417,520,532,944,1216,1066,675,392,344,432,722,1058,733,854,865,669,390,234,739,888,806,952,1024,769,814,575,459,753,729,744,816,869,792,1184,1021,802,1284,1338,1186,688,627,893,603,1194,1700,1096,847,1088,963,949,824,927,833,816,650,414,380,442,608,693,1038,1016,794,1216,1298,978,1168,1098,938,1164,1118,1076,1064,1206,1000,672,612,617,495,526,663,430,448,314,228,316,340,296,279,308,348,369,369,327,280,280,317,293,411,513,564,456,400,343,351,519,844,1128,1100,1180,1418,1350,1676,1594,1260,1182,1142,1302,1372,1372,1204,1176,1402,1254,1030,894,871,833,791,666,894,875,508,429,700,802,328,280,257,385,325,312,517,531,746,995,867,777,663,853,1366,1462,1554,1438,1520,1434,1340,1254,1254,1294,1316,1410,1322,1344,1740,1600,1866,1656,1212,1434,1154,912,885,1038,673,1126,1838,1216,1186,1005,760,903,778,761,850,699,642,789,771,436,357,516,711,742,438,391,694,821,778,702,930,1144,1110,1026,913,1046,1082,1004,940,980,673,904,984,1020,1018,677,532,785,1064,1038,1008,1158,1228,1138,1324,1018,1022,1001,910,1188,1394,1316,1400,1302,1066,1140,1328,1260,1460,992,629,676,905,1110,1018,1778,2656,1868,1270,1324,1260,1280,1332,1428,1352,871,1166,796,514,759,695,589,752,743,947,712,1007,1484,1234,966,1056,882,846,1024,1366,1566,1164,864,852,1080,1428,1118,722,504,482,1090,1666,1242,1028,947,963,1028,687,565,437,511,850,1054,962,1258,1224,784,791,930,917,1140,1384,1250,1232,1046,999,654,455,391,420,538,994,1088,890,836,1007,1384,1504,1336,1082,1026,1094,1126,1240,1376,1334,1458,1650,1516,1634,1454,1328,1068,1074,1152,1310,1392,1520,1350,985,1236,1374,1288,1104,760,1070,1394,922,566,894,1036,689,536,835,942,805,744,803,1104,793,523,598,589,958,913,717,800,736,1098,1264,968,623,351,269,292,321,332,411,390,372,436,499,557,595,605,519,387,380,543,661,804,883,893,849,874,940,979,1202,1484,1396,1146,1252,1334,1244,1208,1348,1262,1178,1084,1098,930,697,669,778,724,820,1366,1518,1280,1012,1124,1438,1328,1126,694,406,399,436,474,579,437,413,672,1011,741,1084,1376,1744,2170,1628,1192,1252,1482,1646,1140,1206,1038,1164,1122,875,1046,1068,1066,1054,847,1132,1092,754,1296,1080,771,495,364,331,349,352,322,282,387,399,345,523,1066,1284,1114,798,630,846,962,682,792,1056,1088,1056,879,690,506,338,343,290,277,386,387,399,394,386,408,466,527,542,534,556,558,569,516,503,287,311,447,488,471,443,419,386,309,355,415,422,406,386,402,504,490,471,1616,1516,761,649,600,634,554,512,648,469,809,1102,941,1046,973,886,1130,1262,930,953,622,379,328,314,353,317,325,462,572,433,309,322,338,352,359,355,348,378,362,336,318,337,363,384,351,329,341,316,356,343,312,296,346,392,443,422,387,428,464,465,487,574,517,441,376,365,332,347,369,383,472,779,1007,849,677,499,404,339,350,348,336,346,366,373,451,525,509,463,437,422,559,1136,1562,1508,1422,1456,1508,1554,1574,1584,1606,1660,1766,1774,1760,1888,2008,2050,2076,2048,1832,1628,1744,1566,1208,1378,1508,1334,1334,1622,1472,1300,1012,922,1078,1050,805,764,1012,899,497,653,927,853,1376,1622,773,463,849,749,443,341,336,518,716,393,407,586,949,848,1126,1120,1272,1350,1516,1316,827,888,1170,906,987,915,846,807,780,1260,1598,1430,1152,773,697,871,805,598,646,815,675,764,1001,824,641,1058,1064,655,615,609,572,524,696,828,346,264,236,233,271,314,333,357,346,396,435,350,341,346,320,372,424,676,650,476,375,368,435,451,389,413,625,777,869,918,870,561,384,335,306,315,388,426,403,374,571,1056,1350,1598,1450,1372,912,490,414,664,1134,1260,1214,1090,843,847,646,631,688,1234,1174,621,480,511,521,508,576,913,1354,1178,947,1200,1238,1276,1556,1268,1160,960,631,695,1058,1304,1136,797,503,498,820,720,662,670,776,563,626,1216,1404,1222,1212,1136,1124,1252,1080,852,880,1048,1304,1550,1250,1210,1370,1116,986,630,603,934,1170,1134,1216,1124,734,675,959,1102,1196,1066,1001,1324,1106,614,705,1042,1098,756,510,444,451,749,737,705,1064,1352,558,401,405,579,798,892,1222,1026,524,384,303,332,543,854,1474,1252,1058,1144,702,667,1230,1510,1694,1828,1628,1106,1054,1164,973,1416,1540,1214,1400,1242,852,562,1054,1214,1122,936,737,586,586,641,915,1042,608,343,344,356,320,470,1016,1432,1168,759,573,709,542,625,397,453,544,498,505,845,797,665,880,1026,1236,1278,803,692,509,908,1230,1256,1090,907,825,618,438,584,1108,1782,1058,802,855,665,763,515,542,1096,1416,1148,753,786,752,572,548,615,1044,1074,1058,1048,1254,1472,1456,1460,1578,1586,1654,1404,1510,1736,1686,1382,1556,1802,1954,2038,1930,1836,1984,1914,1848,1742,1726,1714,1746,1728,1670,1600,1576,1562,1306,1294,1224,655,738,1056,1122,863,577,486,733,1017,978,848,772,763,886,997,1102,1226,1388,1696,1268,1120,1108,1220,1312,1228,1166,1230,1398,1246,1180,1224,1140,953,1062,893,904,1022,949,1032,1112,1274,960,694,664,813,1432,1588,1538,1334,1176,1188,1576,1664,1278,1168,1096,1058,1140,1178,1146,976,818,1114,1340,1276,1058,935,1114,1350,1316,1086,964,909,652,686,792,532,380,618,670,411,327,341,544,1001,1036,445,366,483,1074,1500,855,548,422,736,1010,752,505,764,788,554,717,1600,1506,580,521,662,752,627,485,719,1236,1298,631,470,735,660,739,657,480,471,554,864,1468,1554,905,641,595,533,540,407,386,644,838,603,347,369,506,571,875,713,445,556,695,641,473,438,465,379,777,843,789,844,1142,1200,1122,1370,1450,1160,1023,734,799,936,1110,1154,674,598,774,578,631,991,996,555,491,347,310,289,245,289,394,419,439,592,711,736,960,1140,1316,1016,923,993,981,1188,1154,908,791,639,458,402,384,437,702,956,916,573,525,658,582,498,565,771,821,810,626,620,858,1122,1370,1470,1364,1014,946,886,805,826,741,825,825,561,466,393,450,495,734,634,613,473,326,334,500,901,938,848,835,977,926,949,1000,1056,1062,761,1064,1400,1098,488,433,612,512,488,417,315,218,231,277,509,769,748,640,659,691,752,908,793,780,1080,984,926,736,808,1184,1070,716,500,428,334,348,490,377,383,340,270,322,436,472,360,371,585,531,357,328,383,378,293,325,250,204,205,203,242,280,286,316,451,667,617,314,257,260,282,344,320,308,378,394,355,351,351,381,398,376,335,365,441,485,497,514,544,477,586,771,776,650,626,557,494,536,719,1108,1168,887,548,843,1130,919,1000,1146,765,860,1196,1308,827,468,658,1256,1350,1472,1048,550,508,603,696,1017,1278,1058,662,860,1118,934,733,463,376,531,1176,1582,1544,1576,1372,1242,2092,1490,690,996,1380,973,521,537,524,485,442,410,398,398,399,412,491,474,454,434,518,879,941,407,355,316,312,356,468,408,274,244,256,339,383,342,345,394,385,365,339,304,316,296,323,318,328,413,703,1188,1422,1430,1378,1286,835,411,393,378,361,398,434,331,282,303,290,286,382,503,366,346,316,297,283,395,593,992,957,711,739,728,1132,1434,1062,735,916,864,797,944,1044,913,665,386,291,420,384,365,361,431,410,457,436,521,521,431,411,383,359,401,462,419,658,1726,2134,1620,1302,1736,1710,790,518,457,727,1260,895,794,1438,1674,1368,1212,1010,484],[390,421,592,716,720,686,625,592,582,532,467,658,607,393,365,359,421,427,411,409,395,410,425,485,540,461,377,462,485,379,388,456,354,286,294,329,372,356,312,289,307,311,349,441,514,609,645,666,453,405,379,386,441,453,546,806,999,966,1312,1064,521,450,431,423,481,404,544,634,550,399,338,313,319,375,363,429,519,536,526,403,325,323,424,480,454,413,442,569,472,474,959,602,307,241,252,260,270,260,253,273,203,202,232,225,212,217,235,259,250,224,261,388,509,660,905,1366,979,805,749,689,587,644,631,857,1116,803,393,278,415,643,815,764,657,454,989,935,699,600,736,999,1204,1366,1244,1896,2408,1404,1170,794,518,882,677,615,669,514,489,778,913,860,1136,1448,996,631,766,1166,1342,780,542,781,899,701,747,727,624,656,768,1005,1100,1126,1068,1392,1892,2160,1760,1438,1622,1416,1130,1216,716,529,413,425,450,598,462,354,763,1064,1172,1416,1502,1166,516,422,411,580,886,696,754,657,449,306,236,444,794,944,918,1288,952,891,745,489,1094,1288,1036,1088,1132,1021,722,435,543,916,1230,1130,868,1032,1036,711,1324,1496,1166,1242,1148,974,1046,1036,1150,849,825,589,419,475,600,676,555,609,553,844,1500,1720,1382,1324,1268,1048,1122,1222,1316,1204,1132,813,449,589,921,915,984,794,715,644,534,387,357,381,385,515,387,420,572,545,396,321,338,342,317,339,415,500,511,468,432,344,397,626,964,965,1130,1428,1254,1652,1342,958,855,889,1254,1314,1110,1290,1402,1182,1134,940,890,718,905,998,811,985,1060,684,473,517,671,415,382,443,512,497,730,1054,761,579,568,397,472,821,1344,1584,1500,1460,1524,1464,1368,1526,1316,1011,1070,1158,1082,1232,1764,2504,1738,1652,1196,1092,1116,1074,921,910,868,684,1144,1576,1260,1322,1078,888,952,885,811,613,476,579,836,862,532,415,464,636,825,538,426,589,697,933,827,1070,1264,1048,1086,1016,1028,1162,977,876,888,781,937,954,1140,1001,504,568,804,1036,1058,1108,1112,1266,1194,1068,858,1078,1300,1214,1160,1220,1340,1542,1346,1278,1356,1690,1446,1516,1266,965,1396,1910,1736,1450,1668,2008,1532,1214,1132,1044,1290,1222,1384,1184,816,1026,977,627,742,796,615,645,537,463,491,882,1072,884,865,1005,1130,1592,1598,1238,1570,1500,1246,1528,1726,1736,1288,878,624,495,676,979,1180,1060,808,844,1001,772,720,750,516,372,352,490,857,1172,1282,1342,1064,714,1026,1188,1164,1318,817,583,505,387,489,688,835,1134,1120,910,785,1238,1586,1172,616,399,407,504,487,779,1292,1422,1888,2330,1448,1552,2106,1816,1536,1472,1288,1216,1406,1528,1284,1094,1418,1508,1256,781,754,1250,1260,779,733,1038,1232,998,1050,1376,1021,1172,1214,1100,1216,795,674,520,674,1074,1102,1066,794,747,1222,1110,703,868,887,454,325,328,336,380,377,397,463,508,543,551,562,476,383,452,599,672,758,787,842,880,1058,1200,1260,1316,1410,1272,1166,1236,1484,1410,1532,1410,1188,1316,1356,959,568,546,853,1106,923,1094,1580,1674,1392,1250,1308,1288,1232,1074,694,449,401,409,490,514,460,487,678,1034,836,781,1208,1758,1742,1384,1190,1158,1238,965,794,1166,1206,1186,939,897,1034,897,1038,1358,1194,1338,1342,1126,1302,1068,586,371,307,284,288,313,344,437,526,555,570,558,1042,1192,1160,1004,932,1130,1182,909,941,1110,1132,1084,823,461,389,349,277,361,475,603,664,566,410,414,489,521,530,633,617,663,648,622,534,457,287,241,351,461,488,486,468,470,315,346,422,417,363,350,369,500,525,397,370,272,510,666,647,532,388,438,510,473,428,681,919,1086,1236,933,1046,1404,907,994,691,391,349,354,319,324,442,611,588,400,312,326,319,325,349,318,314,365,371,322,314,331,352,379,347,309,324,330,366,377,361,329,346,346,393,414,404,423,452,483,495,565,496,451,358,354,417,456,419,453,751,1026,765,470,391,409,428,359,355,347,328,345,369,393,442,473,444,434,496,721,1252,1622,1622,1548,1600,1606,1606,1622,1616,1698,1750,1754,1742,1708,1760,1752,1780,1814,1824,1848,1824,1888,1938,1542,1070,1250,1548,1328,1286,1410,1360,1160,1222,1196,1144,1098,980,1116,1438,1082,486,476,641,712,1114,1394,766,417,636,745,556,325,430,1072,1338,877,442,758,1186,1024,1280,1248,978,959,1102,1142,1218,1238,1108,796,977,1100,1174,1300,1214,1520,1544,893,477,572,635,991,929,714,786,1278,1120,805,1034,775,975,1266,681,534,896,870,649,457,587,650,519,355,271,252,290,375,401,365,341,426,428,363,347,336,316,350,442,566,601,562,467,473,544,573,638,816,968,960,1018,914,791,529,317,293,273,240,286,308,306,299,415,749,1046,1168,1136,1208,905,515,382,488,823,1019,1146,965,682,717,825,794,517,841,727,492,529,573,563,739,1128,1094,1428,1438,1364,1216,1092,1422,1400,1136,1202,998,834,818,943,860,908,749,586,678,763,596,904,1042,609,421,512,897,1310,1034,730,1046,1306,1132,680,478,570,876,1136,1228,1030,1230,1456,1228,1076,858,941,1126,1374,1410,1282,1182,819,738,1013,1178,1110,798,752,933,970,796,962,1492,1170,756,615,544,884,1234,1152,990,1220,1648,1009,471,413,484,806,952,1196,955,576,483,365,402,424,760,1592,771,691,807,872,943,1144,1382,1698,1790,1224,995,1160,1168,969,795,927,931,1196,1350,890,912,1268,1250,1354,1396,1478,672,399,618,1540,1702,1052,517,332,315,312,309,572,996,1100,968,890,708,821,804,464,453,614,505,521,675,484,444,848,1206,1240,826,505,695,963,1260,1120,891,734,684,1054,1064,694,586,848,1166,811,526,490,778,698,373,521,833,1126,1136,1070,1150,1112,817,902,926,1118,1232,1176,1230,1312,1332,1432,1488,1544,1488,1772,1766,1694,1600,1464,1106,1064,1528,1924,2002,2056,1792,1848,1862,1786,1600,1776,1854,1822,1836,1802,1750,1786,1820,1642,1414,1296,756,829,1440,1628,1250,1034,927,1066,1340,1262,1278,1172,1152,1082,1060,1076,927,1174,1408,1204,1284,1332,1296,1328,1344,1318,1224,1314,1238,1274,1382,1282,1134,1126,896,929,1052,1072,1028,948,902,706,891,1032,1166,1200,1168,1400,1542,1450,1292,1392,1462,1276,1158,1110,1040,1162,1292,1224,1088,1116,1112,1244,1372,1470,1506,1288,1120,1058,947,1146,1120,745,523,388,320,252,339,387,310,309,341,437,419,370,366,386,369,446,758,985,939,700,645,521,395,550,725,552,511,603,1244,1478,730,360,357,335,365,395,581,1042,1048,609,649,567,670,825,865,738,686,855,927,1028,832,695,959,887,528,420,414,420,594,638,641,597,477,711,976,968,897,705,861,1266,990,566,394,569,664,683,736,855,1030,1234,1366,1400,1716,1640,913,837,789,1072,1068,1064,1018,839,726,544,534,919,1154,1064,821,918,720,458,252,236,308,408,416,449,619,599,597,585,815,966,1260,998,999,1158,1428,1426,1278,1086,945,681,508,422,611,1044,1242,739,412,415,377,440,543,902,1268,1066,891,1036,1100,1096,785,868,941,1522,1358,797,939,1332,806,662,852,904,611,474,353,401,418,322,310,464,529,436,404,676,1176,1312,1100,861,857,1108,863,775,659,628,722,972,1294,914,461,422,516,471,411,336,252,196,221,305,644,1108,1108,906,966,809,896,1200,1108,862,918,755,933,739,618,943,1110,931,550,565,513,503,436,331,335,363,333,351,413,418,304,310,482,443,383,362,453,453,327,290,222,239,255,245,265,246,245,252,374,641,518,340,294,307,346,357,283,225,244,230,242,336,366,390,398,378,347,381,459,504,498,517,579,556,491,564,755,546,556,642,611,669,782,805,995,964,839,1118,755,719,1050,1160,733,624,752,776,561,468,462,423,823,1378,838,541,472,473,651,1344,1506,1306,1230,1348,1300,1056,694,486,532,810,719,922,1182,1218,1334,1810,2248,1528,923,1378,1778,1144,611,641,630,554,459,489,472,497,656,628,561,561,469,387,469,818,966,402,337,343,304,310,499,574,470,338,401,634,626,520,356,363,378,372,355,357,348,320,328,313,339,608,1122,1566,1850,1808,1502,908,464,360,397,411,414,377,364,321,256,310,468,567,443,532,535,621,475,372,473,585,679,882,1108,1192,935,1388,1742,2060,2214,1344,1066,1362,1502,1266,828,521,476,372,555,580,597,644,384,319,366,433,430,585,577,394,429,425,410,370,394,371,655,1346,1652,1296,1016,1358,1226,897,571,485,691,1276,808,839,1744,1792,1442,1378,1154,543],[464,465,627,711,755,825,719,589,521,502,577,666,533,468,431,417,414,416,431,443,427,411,410,457,493,463,422,446,399,375,433,483,352,286,305,365,396,357,311,278,285,296,328,386,439,618,753,677,440,383,385,399,446,497,528,754,1098,1262,1300,736,454,401,409,422,377,424,573,597,590,549,388,336,349,361,371,453,536,504,402,328,312,372,406,315,291,321,296,382,367,339,427,327,247,254,263,277,299,292,221,208,228,307,252,234,235,231,227,215,258,327,381,437,519,724,724,579,526,814,869,928,618,410,530,740,928,786,557,433,601,700,742,552,505,888,1346,1302,1202,1248,1354,1302,1256,1178,1490,1476,1220,1009,1116,937,678,503,640,673,360,331,651,1070,1002,752,818,1314,1122,807,880,1140,1302,988,767,724,610,580,567,669,962,802,929,963,1164,1368,1554,1508,1500,1854,2036,1674,1826,1822,1394,1446,1086,645,669,630,504,568,638,495,622,974,1208,1360,1286,1266,648,455,439,785,904,783,679,413,278,296,320,457,775,1066,865,1054,1110,1216,1066,645,1140,1224,736,677,739,803,529,508,741,919,1094,1130,1070,1282,1488,1394,1050,838,1028,1168,1064,1268,1005,738,1070,794,667,626,631,810,1002,969,766,776,688,1144,1606,1476,1174,1190,1032,954,805,927,1346,1532,1186,633,536,900,1102,1138,1076,1064,1176,1176,1142,736,413,312,460,711,543,714,555,521,853,768,460,396,404,393,315,413,590,620,521,433,415,466,643,717,1152,1362,1264,1202,857,665,755,961,1196,1054,994,1238,1266,866,899,1024,1122,1164,1220,1116,790,658,785,689,573,431,378,368,764,982,969,860,852,990,846,735,721,659,590,1164,1544,1438,1360,1354,1444,1326,1214,1464,1430,1110,1060,1310,1208,1368,1456,1168,1142,1160,1282,1328,1134,1146,1188,1102,1046,1272,1238,1268,1448,1318,1340,1142,1004,1094,922,504,341,454,742,887,706,849,588,449,554,591,526,641,820,772,602,752,636,758,995,985,1013,878,647,620,766,861,791,771,1206,1098,604,562,566,959,1234,1152,1068,1172,1212,1216,1160,1232,1196,1206,1314,1002,957,991,1048,1378,1408,1450,1318,1134,1148,1478,2252,2332,1478,1520,1378,1444,1380,1100,1134,1194,1020,1126,1314,951,785,776,787,589,580,730,690,629,637,703,811,971,688,446,632,896,1256,1896,1772,1156,1278,1710,1524,1614,1682,1604,1566,1376,934,550,534,861,1158,1366,1050,1136,1126,712,711,894,659,374,347,357,666,1118,1210,1172,1018,1172,1192,1226,1290,1504,1220,803,573,494,750,938,914,1220,1174,775,803,1226,1268,877,589,634,860,730,422,758,1338,1442,1374,1076,1104,1256,1986,1520,1344,1556,1180,1156,1548,1568,1224,1170,1244,1298,735,496,760,1170,1162,808,850,940,771,966,1446,1364,1298,1306,1152,1252,1128,1108,1212,905,813,866,869,829,612,673,1032,914,1028,1278,1090,648,393,316,292,321,365,407,456,484,516,500,486,370,361,468,589,667,684,724,774,932,1226,1352,1102,963,1310,1252,1064,1300,1578,1538,1482,1122,963,1023,988,689,497,550,957,1138,1268,1276,1478,1492,1336,1432,1452,1316,1146,949,748,609,535,678,617,427,570,596,589,610,485,662,1296,1510,1416,1268,1256,1390,1410,1158,1224,1390,1368,1290,1118,1009,1008,759,1018,1118,1164,1352,1212,870,877,598,369,337,332,321,373,624,819,561,477,567,848,916,969,989,1208,1180,1170,1340,1334,1288,1352,1236,1376,1126,790,627,525,483,426,499,719,916,1098,1192,755,554,561,512,577,645,630,657,650,550,467,382,263,350,430,444,488,525,480,492,357,368,425,389,418,452,361,430,565,388,523,623,613,629,543,420,422,479,486,426,351,531,827,1090,1128,749,830,861,697,779,586,471,490,422,308,354,493,558,437,320,307,306,298,314,331,305,293,342,355,330,327,332,357,370,333,321,319,334,377,381,336,339,340,326,365,435,406,386,424,498,523,508,487,480,445,438,463,527,617,839,1066,836,492,430,410,391,401,381,351,341,343,343,336,340,383,436,453,530,810,1220,1620,1780,1826,1792,1732,1632,1582,1598,1710,1738,1620,1584,1632,1642,1692,1732,1862,1862,1830,1794,1898,1986,2004,1790,1202,1274,1534,1468,1522,1614,1388,1122,1170,1326,1174,1064,1056,948,899,932,737,781,936,1009,1124,1206,985,720,835,949,653,345,476,1104,1094,727,349,684,968,1290,1412,1184,1238,1102,1174,1472,1594,1500,1334,1480,1578,1398,1490,1738,1702,1434,1466,1290,894,780,966,1178,1017,869,866,1144,1044,812,926,828,697,568,498,843,998,856,527,409,642,737,578,411,318,270,329,439,372,380,414,393,428,391,354,341,307,338,415,436,463,540,474,560,778,916,1005,1012,837,728,664,538,485,360,267,293,273,280,363,314,267,289,349,556,854,977,923,1007,972,645,369,358,354,534,659,523,358,477,767,780,713,730,747,555,525,573,571,719,1180,1404,1278,1310,1222,1142,1368,1562,1156,894,956,1030,929,639,669,429,496,645,775,1118,1230,1114,1692,1566,846,579,637,638,702,872,536,694,1014,766,522,483,744,1172,1090,720,977,1058,843,821,1410,1342,1072,1160,1402,1448,1382,1450,1180,626,774,946,668,505,667,823,1054,986,927,1208,871,494,594,684,784,1078,1294,833,738,700,584,390,388,441,957,1498,1494,1154,651,497,401,460,393,393,434,585,982,1070,1136,1318,1670,1866,1744,1182,850,1338,1574,1528,1206,851,972,1106,1208,1044,672,692,1116,1594,1768,1940,1586,919,599,542,1280,1722,1318,641,413,505,438,346,368,509,583,864,929,592,666,874,795,538,486,473,476,672,458,396,832,1152,1013,1006,1048,996,1004,915,729,741,698,446,940,1248,959,510,450,521,509,405,361,460,397,373,374,515,815,1174,1294,1190,1154,1138,1132,1128,1144,1146,1192,1286,1304,1208,1246,1248,1398,1512,1680,1640,1394,1166,1018,1012,1088,1308,1678,1754,1858,1792,1730,1792,2024,2042,1942,1906,1884,1886,1826,1744,1686,1664,1646,1516,1368,1254,1322,1550,1602,1426,1624,1432,1148,1066,795,730,872,1138,980,1028,1456,1418,1544,1440,1128,1358,1564,1196,1316,1096,1014,1016,1158,1236,1284,1408,1416,1356,1278,1096,1074,1142,1216,1020,737,690,949,1132,1042,924,881,871,1064,1248,1378,1494,1662,1472,1500,1250,1262,1348,1954,1588,1166,1034,1300,1296,1244,1380,1314,1104,802,937,1142,1142,1098,1020,805,746,622,361,282,297,339,294,275,310,308,245,347,456,520,430,509,691,1030,1054,983,995,607,439,833,740,610,477,498,750,1138,866,320,352,411,399,343,370,573,946,1032,964,830,708,792,898,725,739,800,565,469,551,1082,1244,971,617,450,413,513,709,735,907,1014,996,1204,1007,841,1134,716,956,1314,1192,736,436,499,606,781,692,535,604,728,898,907,1190,1336,858,624,656,853,1080,1184,1196,983,824,547,626,1062,1250,971,991,1206,1434,1002,518,451,333,390,369,477,800,1252,1394,1210,683,487,830,1170,1304,1374,1574,1478,1548,1494,1296,933,607,517,711,1332,1290,666,557,532,316,523,707,1026,1332,1212,1226,1178,1232,1064,926,811,796,1144,1294,977,1028,1372,890,839,864,1326,1134,673,364,347,373,287,279,348,396,396,500,852,1172,1290,794,828,1190,1066,713,691,637,1044,1394,1296,1282,910,561,498,522,488,455,348,221,198,273,397,739,1150,1230,1286,1366,1434,1200,1448,1500,1466,982,646,666,603,910,757,782,670,511,593,565,535,466,393,298,309,351,401,396,382,271,274,345,366,301,264,331,358,335,325,338,349,333,303,271,204,234,241,310,541,484,397,351,300,234,262,291,275,390,311,277,285,318,366,365,349,324,363,459,497,477,525,530,473,483,450,589,577,642,1024,924,745,819,582,606,995,1400,1066,579,832,1312,1556,1280,888,684,586,509,494,476,582,1406,2220,1116,651,473,547,935,1506,1714,1706,1432,1348,1514,1050,576,576,743,943,567,579,894,1120,1208,1098,655,498,729,898,709,635,836,661,510,631,796,879,720,574,696,747,536,409,348,458,829,761,1010,582,343,348,336,367,515,590,608,592,692,736,683,778,583,390,370,374,363,357,354,360,366,334,356,678,1224,1718,1826,1880,1656,1080,719,464,390,394,395,339,400,330,228,276,618,861,467,420,636,720,582,449,476,610,574,467,797,1194,1390,1708,1492,1894,2106,1464,1001,1312,1418,735,398,362,349,291,672,556,579,502,331,348,350,546,924,924,527,372,404,475,393,371,383,326,487,530,437,492,503,380,959,1898,735,558,686,1314,1228,1102,850,558,729,1052,873,625],[478,425,606,655,666,691,698,789,869,753,692,587,463,404,379,381,384,393,426,416,392,402,433,436,438,479,440,411,408,457,497,472,368,297,310,363,357,316,317,322,316,290,282,308,357,541,698,544,370,359,379,410,449,483,530,604,749,951,804,541,436,425,449,473,456,430,365,343,430,518,457,363,319,317,333,394,462,405,311,328,345,422,431,323,325,301,310,326,332,300,253,242,265,262,276,299,301,279,206,211,287,348,317,303,295,261,243,272,334,361,348,387,355,539,642,913,920,795,959,1078,656,395,425,567,829,788,627,661,694,603,451,485,566,761,769,925,1284,1186,1140,1164,1306,1400,1534,1806,1434,1196,1498,1142,949,768,435,370,383,591,655,828,1040,753,897,1110,865,1142,1370,1316,1310,1176,875,547,485,607,576,692,967,955,1134,974,1094,1362,1166,1188,1066,1030,1774,1824,1470,1360,1082,816,666,752,838,692,639,876,1028,990,854,767,918,1150,1472,1494,736,515,796,808,621,802,572,309,347,550,594,630,815,1146,1028,861,744,463,345,390,569,672,700,597,609,844,702,634,747,1001,1216,1334,1226,1306,1406,1238,930,980,783,1030,1184,1466,1068,625,740,689,541,464,663,1186,1346,1068,888,959,1128,1424,1822,1324,1266,1302,1136,1052,779,787,987,1352,1290,794,666,895,844,739,830,1236,1242,1246,1258,723,362,263,319,300,401,515,405,393,774,663,439,491,602,679,480,480,465,633,557,488,391,393,394,568,847,1020,1092,1003,752,520,631,747,876,747,932,1020,1120,901,763,1122,1554,1488,1062,863,912,718,735,591,381,285,332,686,1200,1388,1368,1352,1005,767,641,807,1112,1070,1064,1160,1252,1466,1392,1348,1526,1252,1110,1060,789,617,736,1142,1276,1430,1414,1282,1224,1156,1132,1348,1390,1214,1272,959,946,1018,1112,1306,1410,1262,1294,1062,858,1042,960,868,832,876,952,852,708,670,441,357,412,444,490,597,601,635,467,680,581,584,785,780,641,608,480,377,566,848,747,674,945,825,580,601,922,1140,1412,1258,1068,1332,1632,1536,1394,1324,1270,1160,1070,844,982,1004,1136,1364,1284,999,661,689,1188,1424,1318,1448,1114,1082,1112,1478,1418,1292,1282,1346,1176,1294,1400,1306,1224,687,390,398,440,749,1128,1112,1023,849,833,745,536,514,566,598,1032,1516,1572,1078,1044,1606,1724,1724,1658,1516,1376,1316,1384,1048,871,1132,1354,1306,1236,1338,1264,1104,799,569,479,457,460,508,930,1218,1092,875,971,1058,1058,1300,1316,1250,1514,1550,1032,856,977,851,874,1026,1014,843,969,1248,1262,1104,877,926,1108,962,469,708,1018,1020,922,676,806,976,1324,1172,1264,1584,1404,1408,1580,1564,1300,1198,1478,1340,883,624,695,1166,1212,837,683,568,444,664,1242,1478,1522,1148,1160,965,819,1324,1574,1003,796,689,630,685,602,700,1158,1118,1356,1026,616,628,491,345,299,336,345,387,440,508,538,548,439,342,408,509,622,641,657,695,755,841,1052,1272,885,1012,1338,980,1082,1572,1574,1498,1110,808,882,840,745,692,449,593,949,1154,1482,1322,1188,1168,1274,1478,1554,1608,1294,1152,824,625,674,869,704,644,628,504,397,329,488,995,1408,1418,1558,1504,1262,1470,1382,1274,1332,1320,1182,1124,1034,1386,1534,1158,1322,1310,1412,1506,1310,1058,855,525,386,376,376,419,535,648,559,549,602,567,1100,1438,1266,1244,1328,1372,1466,1208,1190,1310,1182,1220,1346,1216,915,1100,950,616,464,536,929,1026,1112,1388,1130,807,696,473,441,504,601,614,633,577,526,381,289,499,526,465,414,454,512,531,406,336,349,365,489,543,457,499,675,528,655,641,562,412,365,395,428,457,460,394,304,355,532,638,672,713,934,946,726,551,510,506,436,409,364,348,376,323,280,342,528,448,328,324,331,322,303,319,330,333,337,337,358,356,326,324,343,354,347,330,339,343,302,322,335,419,417,358,368,430,505,487,449,503,550,571,710,966,1082,1104,864,512,372,327,363,366,413,441,375,345,352,357,350,357,384,424,530,872,1362,1584,1660,1766,1840,1880,1802,1626,1522,1522,1642,1632,1684,1824,1642,1432,1428,1364,1354,1692,1924,1936,2002,1942,1946,1938,1550,1490,1474,1564,1604,1562,1582,1396,1284,1060,661,1032,858,766,592,762,1086,933,977,1236,1238,1246,1208,1272,1074,685,403,369,395,665,597,366,317,492,805,1340,1382,1206,1148,988,905,1312,1478,1388,1290,1708,1396,1244,1604,1820,1790,1564,1800,1804,1400,1176,1126,1200,1204,1017,1002,1348,1188,859,974,1088,925,650,634,915,1148,631,348,368,532,499,308,337,307,317,390,455,466,501,440,365,412,390,352,322,316,352,362,368,518,720,788,981,1022,1042,955,713,484,440,403,342,336,311,287,313,308,310,318,316,318,326,340,475,648,670,780,907,973,891,483,361,376,433,418,391,561,937,1002,982,1212,1342,1390,846,525,573,719,749,974,1096,1108,1316,1356,1296,1462,1372,1120,930,929,1188,998,720,630,428,461,572,590,940,1298,1466,1498,1044,1082,540,711,838,477,538,615,487,507,473,412,568,976,1294,1082,661,660,570,675,1142,1650,1730,1430,1214,1206,1266,1288,1418,1312,760,1009,919,880,932,974,965,1052,866,926,1200,1032,884,1054,1142,1054,1158,1460,858,433,463,561,494,394,439,911,1428,1464,1224,557,396,395,439,515,528,742,975,913,1072,1524,1768,2216,1952,1532,973,1522,1694,1642,1680,1612,1470,1110,818,848,850,791,714,948,1570,1720,1988,1476,1082,835,544,835,1472,1360,983,1021,1064,668,414,328,401,536,535,439,411,576,1018,1188,647,388,412,765,1034,800,611,855,1170,1350,1302,885,600,600,918,1074,1136,988,515,705,1212,1226,807,525,504,528,424,354,351,345,345,481,709,962,987,1262,1326,1222,1222,1248,1270,1280,1382,1398,1504,1600,1406,1322,1272,1538,1416,1628,1704,1324,1150,1094,1228,1382,1186,1370,1720,1858,1788,1788,1864,2066,1988,1896,1810,1712,1648,1534,1516,1354,1436,1376,1232,1196,1130,1098,1514,1664,1620,1624,1506,1408,1118,1080,1030,1096,934,802,931,1230,1434,1574,1384,1238,1480,1698,1328,1476,1204,1020,1108,1422,1368,1202,1248,1314,1350,1506,1414,1234,1092,1306,1036,741,706,1096,1272,852,694,844,1038,1456,1410,1034,949,1392,1616,1596,1484,1404,1620,1698,1602,1392,1280,1466,1392,1256,1064,1122,924,1032,1272,1266,911,724,766,747,1064,1228,557,362,353,332,359,312,293,257,274,336,422,483,493,472,612,789,717,885,1128,698,711,922,978,959,700,467,555,1114,1240,622,507,521,412,448,389,432,531,870,1170,1120,755,819,981,788,564,495,347,514,800,915,830,876,777,624,652,802,920,1030,942,1242,1362,1120,652,660,702,451,642,864,1048,916,584,581,661,731,478,432,448,456,457,455,828,1214,1104,905,839,754,655,750,1164,1168,1086,752,646,913,950,916,988,1026,996,914,1106,711,353,400,376,663,986,1724,2216,1788,840,589,608,664,1015,1250,1442,1616,1556,1488,1444,1296,1056,941,991,1434,1454,1060,932,1078,883,1084,1064,1150,764,705,965,1302,1282,1021,932,1016,1208,1230,1082,643,632,888,1154,1062,705,1154,1460,854,396,453,398,269,300,346,364,377,619,996,1144,946,760,940,1160,1170,1044,980,835,1282,1250,1346,1182,1372,1350,875,606,614,501,297,186,200,263,424,925,1278,1306,1290,1318,1358,1296,1178,1170,1500,1124,853,572,750,912,698,732,637,463,426,420,402,550,580,283,270,378,437,368,329,313,311,340,301,211,239,274,270,307,320,373,373,352,303,272,296,328,287,287,345,322,331,381,333,216,201,224,285,502,510,481,326,289,296,318,331,339,372,437,474,478,509,476,422,446,451,488,688,960,1170,827,544,596,497,548,864,1386,824,760,1366,1478,1700,1852,1372,1036,797,587,515,518,786,1638,1566,1150,768,395,347,395,728,1086,1350,1658,1756,1544,883,742,941,601,587,561,693,1090,1324,1160,772,541,602,605,497,415,683,981,1011,916,823,1034,1132,1013,850,717,817,1164,1594,1011,600,1042,855,996,804,445,317,354,408,578,633,626,639,669,684,766,830,793,592,439,385,369,367,383,372,346,303,334,524,1108,1534,1412,1090,885,901,1000,1068,749,437,585,520,565,394,314,456,690,901,580,374,444,467,495,466,433,443,517,555,489,752,1642,1732,1294,1360,1906,2280,1494,1001,777,475,385,370,357,276,326,327,276,234,278,384,471,594,938,635,378,422,370,390,389,359,348,337,507,650,588,524,383,443,1438,2420,1148,834,813,1444,1560,1260,889,634,735,920,960,861],[494,624,772,860,925,866,768,812,823,510,407,390,411,368,365,383,375,387,429,398,370,443,502,476,476,429,444,426,438,450,443,431,398,336,327,330,332,339,374,396,344,298,271,324,343,477,565,398,347,358,367,381,401,449,500,531,537,465,433,433,426,446,462,469,489,426,420,415,426,529,529,397,378,414,351,358,369,339,305,343,426,476,495,379,329,307,331,316,288,278,258,247,272,302,323,309,270,256,283,275,275,328,342,319,281,261,292,330,328,278,295,365,329,428,789,1366,1346,924,716,682,436,422,541,622,711,1060,861,834,713,483,748,965,741,771,581,698,1134,1274,1264,1250,1224,1168,1448,1896,1384,974,843,676,677,574,581,554,753,1236,865,608,631,688,1108,1322,1244,1472,1738,1642,1512,1324,700,455,427,506,905,912,647,584,645,440,771,1066,730,879,1015,1010,1484,1972,1504,877,684,611,614,869,973,1020,1094,1356,1008,930,879,708,722,692,1082,1258,1020,969,1136,993,695,801,538,451,466,994,908,1068,1038,824,696,713,609,277,293,324,342,423,502,759,860,1142,1240,1038,899,1138,1290,1210,1060,1096,913,1050,680,692,769,1112,1274,1464,1372,1078,1036,1050,615,391,705,1142,1232,846,782,946,888,1046,1009,833,1290,1676,1584,1126,1114,1224,1182,1266,1188,1001,884,939,938,815,938,1072,1078,1290,1380,1046,713,397,374,419,353,340,362,411,458,440,457,570,655,683,525,543,444,528,557,557,542,387,367,454,533,625,726,704,653,464,449,623,982,866,857,806,940,1262,1134,1146,1334,1170,973,767,905,693,500,402,315,247,409,558,813,1306,1266,1282,1244,1068,804,987,1294,1434,1412,1166,1200,1488,1206,1094,1230,920,646,688,673,586,617,995,1224,1400,1566,1404,1490,1520,1278,1450,1406,1228,1120,955,1158,1250,1194,1378,1354,1098,1011,922,926,1090,915,1084,1042,933,894,643,715,636,512,568,590,487,426,639,871,863,539,419,399,338,530,669,617,554,523,688,723,558,595,629,913,1004,785,830,1186,1190,1168,1174,1158,1320,1228,1288,1430,1252,963,708,612,830,1102,1224,1132,893,738,710,771,938,1138,1412,1310,1584,1248,1228,1738,1678,1292,1346,1380,1138,1184,1318,1472,1874,1484,684,369,357,389,853,1216,1128,1284,1300,987,561,457,495,579,729,1007,1136,1009,1204,1162,1296,1732,1822,1544,1252,1156,1284,1142,1214,1110,1276,1354,1196,1638,2042,1848,1280,801,571,527,567,727,762,1162,1106,959,1246,1354,899,1104,1294,1072,928,1312,1316,1302,1104,1180,815,1078,1196,846,732,1110,1434,1384,1226,1198,1232,980,880,749,951,1120,861,933,937,609,891,1306,993,924,1174,1330,1334,1508,1678,1526,1406,1352,1084,954,821,1046,1312,1208,1084,972,799,619,553,1172,1548,1514,1270,841,479,469,786,1220,1028,857,771,1007,1042,745,849,1194,1228,1280,897,706,996,806,467,335,368,383,426,513,611,640,549,389,470,549,538,559,594,643,697,816,870,1028,1180,955,872,910,786,926,1152,1023,1256,882,1160,1172,1122,991,951,795,830,1004,1262,1378,1328,1162,1114,1328,1484,1478,1478,1066,938,609,459,705,823,642,656,697,597,467,430,767,1294,1394,1278,1446,1566,1326,1306,1426,1262,1094,1172,841,1222,1080,1194,1128,1368,1270,1015,1174,1300,1212,1344,1130,783,540,530,794,879,743,810,626,692,877,700,1007,1448,1456,1498,1434,1274,961,781,831,1019,1076,1056,1268,1102,942,1100,867,724,764,648,854,1009,1100,1206,1206,1214,965,560,354,371,477,601,584,509,497,344,312,474,526,465,304,372,550,578,398,296,334,362,484,512,532,688,864,802,622,589,485,274,293,444,489,381,390,382,323,353,521,573,589,644,843,789,581,594,584,644,725,582,436,366,335,301,291,336,580,586,342,298,316,310,300,314,312,306,328,328,344,343,333,319,313,325,311,307,326,321,352,372,362,448,458,398,392,398,394,427,572,749,901,946,882,900,850,620,423,404,363,354,380,353,362,372,346,353,348,350,346,401,440,608,1138,1604,1682,1638,1710,1842,1936,1916,1860,1742,1540,1494,1704,1672,1466,1278,1092,1080,1144,990,1236,1656,1832,1808,1878,1864,1872,1880,1534,1130,1130,1482,1590,1506,1456,1214,1240,994,748,1096,864,832,682,829,966,703,893,1266,1332,1390,1246,1212,1216,1052,586,379,354,364,356,361,405,400,461,862,1094,1330,1384,1130,1040,1262,1650,1346,1126,1390,1700,1730,1618,1858,1476,1218,1536,1904,1798,1582,1404,1228,1116,1044,1164,1396,1280,1066,1172,1074,1140,622,413,557,742,672,608,604,819,749,588,514,357,369,471,487,491,401,316,336,363,362,381,346,326,346,337,384,671,927,982,980,942,791,590,445,339,366,345,357,362,382,302,292,293,272,299,322,314,328,323,433,579,544,744,812,927,950,619,331,306,393,448,608,974,1230,1224,1336,1508,1450,1376,1148,727,653,729,892,1060,875,762,1018,1026,807,949,948,1036,937,1036,1426,1350,1474,1318,682,420,509,508,650,1224,1786,1730,1005,982,836,761,756,600,512,440,434,455,452,800,938,928,1174,1256,707,486,696,1104,1376,1340,1178,1272,1594,1230,1072,1100,1076,1244,969,930,697,485,728,879,1013,1100,1050,1260,1460,1232,857,1126,1362,1268,1566,1634,869,526,1010,1378,960,448,502,973,1298,1246,1170,624,485,523,584,608,736,979,744,494,792,1340,1482,1902,1628,1602,1558,1680,1682,1618,1654,1780,1584,1100,1022,1044,987,915,1092,1544,1448,1448,1384,823,634,749,761,745,965,971,1388,1332,1474,1246,593,369,657,1032,973,721,512,431,537,787,545,507,844,1076,1144,1034,1128,1298,1196,1278,1140,824,718,986,1456,1106,1005,995,670,544,988,1256,988,825,765,559,417,403,382,388,419,604,877,1056,1132,1146,1278,1572,1506,1564,1580,1490,1440,1348,1546,1488,1404,1338,1390,1384,1402,1704,1802,1664,1328,1096,1226,1500,1124,1076,1548,1918,1810,1656,1850,1980,1844,1766,1406,1302,1422,1220,1222,1092,1312,1388,1170,1186,1054,937,1238,1524,1622,1696,1738,1576,1582,1682,1574,1438,1424,1316,1388,1686,1696,1720,1532,1522,1726,1808,1448,1350,1208,1198,1438,1566,1526,1282,1174,1316,1316,1556,1272,1216,1284,1250,981,944,767,697,775,568,554,651,718,998,940,714,509,811,1484,1716,1648,1550,1476,1536,1502,1256,1236,1428,1326,915,874,1274,1270,1252,1114,971,846,684,810,1158,1654,1876,865,449,322,299,346,307,268,270,318,390,425,445,478,470,411,437,535,861,1026,972,1134,978,974,1000,641,441,413,569,763,703,885,1244,700,730,678,484,437,482,765,905,794,840,1012,918,559,551,417,525,638,508,677,923,984,1084,1296,1398,1274,1312,906,953,832,647,541,469,559,567,616,813,789,995,825,784,695,609,535,505,555,502,444,465,581,588,700,984,1126,1166,1118,901,943,1134,1396,1382,1015,781,700,666,461,496,558,558,466,480,470,467,386,527,1156,1424,1450,1424,1016,1013,927,880,1078,1122,1230,1386,1282,1372,1524,1508,1400,1172,1050,1186,1256,1310,1226,1100,1020,1042,924,948,716,673,1026,1242,1036,794,827,1028,980,973,900,676,756,850,787,553,568,1444,2144,1892,1010,501,399,355,328,343,544,638,908,1030,1238,1102,859,1208,1394,1210,1216,878,664,709,1122,1350,1024,929,1003,766,540,502,413,244,185,229,274,532,1146,1570,1544,1122,935,970,1224,1202,1142,1338,1272,1156,917,670,480,698,910,812,601,486,465,476,637,625,322,336,444,390,363,367,369,307,321,293,235,281,319,298,304,326,329,414,427,358,264,268,324,297,273,265,242,267,342,336,276,242,254,345,367,600,678,417,309,403,433,342,327,314,353,440,454,437,426,441,450,470,463,680,1194,1028,449,719,1256,783,744,855,1178,1060,1104,1146,946,1400,1760,1240,1116,879,419,398,500,805,1294,1334,1052,610,397,361,444,407,343,567,875,1232,1238,869,841,910,693,686,700,834,1048,1150,1064,857,618,719,773,495,384,445,752,989,980,1050,1078,1028,912,620,463,806,1418,1638,1003,619,873,936,727,661,506,293,443,448,552,558,550,610,630,620,710,750,792,716,522,394,403,405,410,359,312,372,388,643,1206,1310,941,519,592,811,975,1070,817,629,700,888,755,497,307,405,427,663,742,530,429,345,382,457,399,652,1066,920,659,632,1208,1498,1506,1334,1184,1628,1240,755,472,426,357,346,325,322,311,341,348,306,344,631,820,775,1306,660,414,395,336,321,352,322,335,421,735,895,683,449,325,466,1442,2380,1638,1004,738,922,1154,1094,1222,1226,851,952,800,548],[707,726,719,722,647,576,535,578,657,483,410,417,393,364,358,366,365,372,415,409,377,460,520,470,486,509,499,513,490,464,519,596,519,334,313,313,308,323,341,384,350,350,355,385,465,586,550,354,368,382,373,353,366,407,462,505,479,446,458,428,410,405,409,423,466,444,424,427,406,494,567,470,413,378,280,276,294,293,322,366,454,473,485,522,505,427,334,297,273,287,260,256,300,339,387,326,280,296,415,404,310,398,398,284,321,331,324,284,279,255,274,307,346,450,753,980,1066,966,839,792,535,449,550,733,870,951,890,941,785,774,1594,1700,1064,880,796,757,1196,1176,847,785,897,995,939,1064,1290,922,926,1252,817,606,1036,1016,858,1104,662,471,546,757,1144,1204,994,1242,1370,1334,1040,954,990,879,599,858,1324,1002,510,385,397,480,938,1100,603,951,1250,1324,1214,1486,1654,1220,622,431,653,838,893,1176,1082,1296,1134,1240,1200,833,772,752,719,879,944,1094,1280,890,512,476,440,463,572,1046,1242,1560,1076,507,533,673,429,280,259,291,321,486,537,824,891,1108,1206,1066,1316,1306,1036,1176,1240,1206,805,755,458,414,511,816,1242,1420,1358,1114,920,747,575,839,935,836,927,781,666,717,664,597,429,541,1324,1920,1486,1150,1144,1384,1454,1438,1224,1015,977,995,1011,1056,1106,1176,1174,890,992,963,680,420,498,480,339,458,602,706,848,757,535,509,548,460,446,448,404,417,519,881,932,408,372,396,450,508,674,620,521,514,723,799,907,1078,1064,961,925,1386,1350,1116,1108,1230,1050,636,877,1164,972,614,417,486,481,384,471,1050,1302,1360,1588,1544,1244,1082,1272,1352,1412,1334,1246,1418,1400,1326,1246,1017,1086,1064,1190,1180,1058,1188,1448,1766,1710,1350,1598,1374,1414,1490,1484,1612,1054,822,1314,1340,1144,1164,1266,1210,1023,1002,964,960,1018,1144,1036,956,911,890,915,789,648,580,565,766,744,910,1210,866,531,700,774,509,594,1018,980,788,554,755,925,734,921,819,821,827,985,1114,1306,1200,912,1208,1426,1396,1396,1434,1136,1070,854,759,1015,1132,1118,1030,921,564,716,1408,1386,1078,918,1152,1442,1354,1386,1628,1462,1156,1074,1062,1236,881,1002,1334,1462,2052,1200,468,418,411,345,525,568,626,1072,1216,1016,985,753,688,897,1036,1262,1426,1590,1626,1084,1100,1586,1810,1464,993,998,1102,879,1018,1294,1202,1034,1248,1666,1982,1854,877,750,750,497,474,611,772,860,758,884,1754,1780,930,995,1262,1180,971,849,985,1064,1142,1258,872,1064,1086,728,797,1196,1366,1390,1126,1278,1302,1048,951,850,838,1026,976,782,700,720,1216,1310,1176,1023,1150,1144,1056,1256,1434,1364,1428,1360,1208,1144,1052,1328,1344,833,960,1256,1140,811,952,1312,1410,1408,1060,745,642,537,789,1148,1280,1112,662,760,747,786,1138,1216,1358,1542,1009,858,1202,789,569,386,343,392,437,518,617,607,418,375,575,602,536,505,598,714,800,849,993,1530,1434,1114,1132,1082,784,688,959,1136,1598,1532,1438,1036,968,1016,1042,818,739,959,1026,1168,1358,1316,1234,1322,1268,1352,1314,845,525,435,417,722,1180,1220,1066,803,544,507,492,893,1126,1330,1352,1418,1636,1614,1346,1282,1206,1130,902,588,735,641,647,935,1322,1164,890,845,842,722,992,841,981,720,976,1510,1062,774,1022,832,901,1082,907,932,1058,1162,1350,1440,1414,1178,1404,1192,1015,885,689,905,954,1090,1234,1128,915,1056,822,896,1188,1156,1122,1156,1162,769,516,394,435,487,615,457,354,432,325,287,336,327,303,314,396,541,516,305,334,390,375,499,666,683,796,831,758,605,444,361,357,317,461,550,415,363,323,328,419,558,500,446,514,651,669,619,649,584,863,1009,668,433,397,336,286,305,298,489,661,416,282,282,288,332,353,326,286,310,328,331,323,335,344,337,346,324,328,324,303,311,356,416,405,402,442,509,563,579,716,1006,995,848,718,571,514,459,408,375,361,338,338,368,368,348,348,348,368,348,334,383,502,753,1234,1622,1784,1742,1654,1672,1794,1874,1832,1780,1556,1528,1642,1540,1228,940,987,1116,1242,1406,1606,1796,1772,1912,1804,1866,1948,1942,1888,1598,1200,1011,1382,1614,1492,1450,1354,1292,944,710,1038,909,927,1072,883,839,814,1002,1176,1484,1500,1390,1308,1262,1036,678,444,308,384,518,766,888,455,467,591,942,1068,999,1054,1194,1396,1618,1696,1838,1504,1182,910,1126,1628,1868,2142,1914,1814,1970,1928,1666,1250,926,877,852,777,904,1132,1234,1278,1030,544,441,634,727,954,946,982,1268,1104,1066,747,450,577,604,475,455,428,338,366,401,421,392,372,357,359,333,354,634,904,986,901,673,426,392,375,321,321,338,498,385,324,306,286,315,316,319,344,342,330,252,392,580,518,583,664,1018,1332,1024,520,395,412,376,383,494,571,803,1260,1238,1252,1284,1444,1088,558,461,735,818,817,880,845,665,521,755,1026,877,800,729,987,1230,1294,1130,898,585,497,489,951,1334,1418,1396,978,1288,1500,1050,737,921,806,422,382,581,532,963,1001,790,1210,1392,904,738,866,875,929,1046,1282,1348,1636,1568,1460,1066,1024,986,899,639,390,380,387,504,989,1418,1314,1164,1242,865,529,991,1368,1404,1316,1206,902,943,1714,2072,1192,443,401,636,844,833,1074,741,492,570,568,735,835,778,692,470,744,1420,1562,1594,1554,1556,1252,1326,1716,1554,1454,1810,1434,1266,1009,1386,1090,866,1288,1566,1424,1520,1216,508,442,484,631,485,575,630,1246,1252,1548,1334,735,622,959,1200,890,695,499,500,521,616,795,875,844,1014,1258,947,863,1210,1222,1274,1206,1178,787,916,1174,1106,962,1106,908,555,912,1148,813,739,748,764,544,456,406,349,428,572,890,1162,995,796,918,1426,1620,1704,1600,1302,1146,1218,1260,1282,1296,1442,1584,1448,1694,1838,1760,1352,1152,1420,1596,1556,1174,1010,1350,1482,1246,1224,1456,1452,1376,1306,1256,1318,1288,1042,894,766,1158,1568,1420,1228,1034,937,1450,1578,1376,1442,1736,1820,1586,1514,1592,1740,1740,1642,1772,1760,1728,1506,1196,1068,1500,1670,1426,1090,1050,1438,1472,1366,1200,984,1250,1326,1382,1346,1212,1098,1112,1154,1146,1014,676,402,382,345,387,413,414,517,450,432,396,531,1188,1550,1490,1644,1642,1524,1400,1342,1354,1138,933,631,874,1112,1238,1316,1024,818,789,581,869,1344,1268,1310,1023,665,449,323,304,282,243,254,348,418,440,449,433,386,291,323,379,616,680,849,903,866,976,865,729,506,447,566,722,791,1218,1508,975,796,733,603,547,511,572,683,607,892,743,528,470,687,532,422,470,368,467,825,894,897,904,1382,1216,1272,943,487,403,488,507,527,838,877,755,1042,882,1038,1030,841,677,574,511,476,552,547,507,559,549,469,471,591,728,824,826,1034,1016,1112,1368,1494,1384,1064,774,954,764,515,665,683,383,480,528,432,355,363,816,1032,886,572,659,990,1240,1528,1358,1084,1080,1136,951,976,1296,1454,1346,1056,1198,1162,1224,1216,1422,909,500,658,1000,1206,1020,841,922,1084,1142,844,968,1032,792,1020,937,716,807,723,458,324,438,670,1260,1772,1588,1224,776,634,517,427,991,1102,750,819,1038,891,832,955,1096,922,1330,954,900,941,1358,1584,1108,714,832,946,742,498,442,338,237,240,266,551,746,1102,1376,1296,1272,1262,1350,1290,1238,1598,1650,1084,591,354,346,501,778,960,803,663,520,426,559,448,319,412,414,330,311,362,330,346,385,321,282,319,373,358,358,341,303,353,443,400,279,272,304,303,257,218,241,239,218,288,275,237,229,300,265,373,442,348,493,827,684,534,325,276,292,324,354,390,432,468,462,463,477,547,735,735,822,1280,1466,829,655,707,866,1126,996,490,729,1266,1026,611,733,758,500,396,403,504,608,854,818,636,679,654,759,760,754,818,883,1088,1118,971,946,800,941,1056,924,822,550,520,655,866,954,988,1070,967,1112,856,747,963,863,1240,1266,866,788,654,443,546,801,891,572,352,821,991,513,541,808,473,445,456,458,423,479,505,583,632,710,748,695,730,742,539,422,416,386,418,487,454,663,1142,1266,1262,1120,711,472,570,856,935,742,903,869,743,621,426,284,356,310,494,811,779,664,530,402,447,709,1402,1954,1768,1030,894,1668,1934,1544,1482,1094,1120,768,496,377,357,354,362,352,342,398,412,363,332,376,520,506,558,764,482,350,310,289,352,374,295,364,515,705,508,471,709,886,811,1426,2170,1646,940,664,728,966,1328,1376,1074,709,864,811,522],[603,589,582,536,504,537,503,485,559,483,395,391,380,354,346,349,356,386,424,443,412,457,536,590,592,525,485,553,576,578,616,542,375,247,258,246,254,319,323,341,386,432,377,364,446,588,601,388,378,405,370,390,374,392,443,484,473,422,424,407,408,393,369,393,384,361,367,408,455,498,483,489,466,338,297,285,294,310,330,414,440,431,527,706,782,692,436,340,309,298,287,289,333,353,393,339,261,247,354,407,312,299,355,302,407,353,254,243,268,256,262,294,393,573,658,845,1024,974,855,894,605,491,498,736,1050,978,889,1190,1148,810,1298,1296,909,617,598,754,1072,1168,764,564,905,957,865,1232,1504,1258,907,891,838,909,722,469,405,455,381,449,576,705,1252,1340,1480,1342,1090,1146,927,1015,1009,957,1084,1570,1404,632,326,382,474,904,1410,1124,593,648,919,1086,775,838,1534,1792,1150,753,722,593,631,970,709,865,1278,1324,1218,1148,1246,1188,1013,655,512,785,825,1050,1044,886,741,733,882,878,1102,1048,658,529,1001,858,364,247,240,296,324,416,513,640,775,1062,982,971,1140,1186,881,666,845,913,788,528,425,669,764,680,796,926,973,735,584,756,799,1050,860,524,583,664,573,458,547,428,454,758,1456,1290,861,747,1134,1410,1032,827,643,526,665,955,1120,1068,1132,1088,873,637,668,477,308,318,373,578,910,1214,1308,1216,1192,1018,720,522,494,495,469,427,442,447,476,616,654,430,340,384,620,799,802,662,574,640,842,839,890,1180,1224,1262,1148,1210,1023,851,1230,986,661,703,1104,1360,1240,712,388,638,1054,951,626,1266,2042,2156,1632,1302,1134,1118,1450,1512,1544,1282,1334,1554,1588,1382,1484,1382,1266,1228,1240,991,829,1220,1508,1814,1560,1520,1368,1234,1144,1252,1294,1490,1356,1268,1324,1182,1104,1052,1294,1156,1130,1060,1060,1056,1054,1246,1212,1054,968,919,835,976,887,661,624,641,690,809,801,568,531,1032,1276,855,722,1064,982,937,824,661,969,1070,1160,917,779,1086,1130,1218,1262,996,849,1192,1460,1298,1200,1108,929,1050,1078,1210,1164,849,587,626,778,489,525,897,919,984,1224,1210,1382,1552,1528,1302,1132,1340,1298,963,927,719,1056,1438,963,1166,758,303,451,518,392,415,554,625,869,1236,1140,1248,1192,1198,1366,1426,1538,1692,1740,1308,724,1162,1194,1644,1686,1224,906,861,1086,1480,1576,1292,1218,1412,1460,1460,1194,620,708,589,429,656,775,731,782,918,978,1252,1152,955,1152,1094,1030,1022,915,705,721,1284,1266,838,989,696,740,965,948,1122,1208,1100,996,959,801,1030,1066,904,1052,1026,649,932,1676,1512,1416,1248,1150,1094,903,907,868,795,819,1162,1476,1570,1516,1230,1166,856,741,933,1100,1048,1052,1264,1218,1252,1100,688,828,1023,897,1234,1426,1294,969,697,648,660,1058,1224,1048,1190,1202,803,670,752,699,587,425,392,440,458,478,551,530,365,381,504,580,529,594,663,763,816,792,1326,1752,1300,980,1108,1052,948,895,1046,1112,1756,1816,1060,730,788,937,875,584,686,916,862,1050,1300,1436,1322,1362,1420,1496,1388,1086,701,514,490,577,914,1082,1126,1018,577,566,542,833,1072,1278,1356,1224,1172,1562,1582,1382,1388,1200,816,643,733,1182,1116,1138,1230,1224,1062,737,629,587,872,1084,972,1150,1502,1412,742,487,791,1098,1056,1076,1448,1266,1024,705,1050,1288,1234,1138,1288,1206,1178,1082,1026,1036,1015,1142,1338,1540,1158,847,611,566,769,1034,1170,1506,1336,417,489,466,471,554,661,485,366,386,302,247,292,354,338,294,389,400,309,286,412,483,463,735,938,769,614,669,747,492,320,314,363,290,325,471,419,351,360,342,375,468,523,536,573,644,705,772,745,556,645,619,408,386,402,323,336,354,395,422,404,416,366,336,325,343,400,367,297,313,332,321,311,337,352,352,354,352,404,400,442,498,512,490,528,643,827,1020,1078,927,817,733,533,393,372,461,421,325,339,376,371,327,324,331,339,338,323,354,364,378,409,430,720,1300,1622,1712,1698,1562,1564,1614,1680,1790,1792,1706,1638,1642,1292,758,637,864,1116,1232,1532,1494,988,1016,1462,1594,1592,1820,1942,1962,1858,1654,1422,969,1166,1586,1466,1326,1322,1222,832,855,1052,940,771,894,662,780,736,1013,1186,1156,987,976,957,1007,949,744,556,405,496,549,1062,943,648,909,914,1013,1056,814,688,892,1256,1422,1494,1984,1790,886,514,429,644,1202,2176,2658,2410,2190,2002,1780,1620,1190,1134,1134,886,810,1146,1276,1222,1026,748,799,990,980,1078,783,788,1142,1042,1072,856,651,684,583,439,388,398,378,394,401,405,390,362,357,328,300,316,484,749,868,692,479,374,436,375,319,328,354,468,378,314,292,296,311,304,338,409,379,305,274,319,453,493,574,779,1156,1420,1156,741,446,425,502,604,760,731,614,865,1164,1306,1296,1210,937,645,525,641,689,962,1094,871,617,623,788,932,742,939,1021,821,872,988,897,845,654,499,433,967,1384,933,788,672,891,1368,1026,492,434,359,393,411,616,605,727,973,1182,1176,1040,908,769,749,612,954,1240,1264,1148,1078,1422,1726,1460,1170,1090,950,589,493,599,523,495,1076,1532,1142,900,830,650,811,857,949,1084,1246,1480,1246,901,918,1003,767,448,421,518,639,796,1300,1316,883,643,446,618,882,718,712,471,756,1246,1454,1508,1410,1288,1176,1294,1764,1738,1512,1470,1194,1182,1072,1236,811,669,952,1088,1302,1456,1322,1042,797,578,606,568,562,526,841,1116,1060,886,798,816,905,902,791,495,385,453,686,943,1240,1484,1278,1230,1472,1126,858,947,1150,1384,1376,1176,814,707,789,916,1092,1344,1112,707,815,1038,892,669,647,844,709,473,412,404,518,552,596,847,590,413,527,1378,1476,1368,1272,1174,1208,1320,1436,1416,1392,1454,1580,1544,1500,1638,1648,1548,1516,1710,1654,1350,943,741,744,763,782,897,1164,1248,1176,1110,1020,965,1058,1126,988,897,1026,1382,1094,820,1026,874,1202,1562,1962,2346,2286,1736,1390,1466,1512,1488,1390,1854,1930,1780,1914,1284,1062,1138,1554,1670,1278,802,602,577,709,960,1015,1168,1732,1488,1282,1226,1186,1030,926,1122,1260,922,485,364,255,300,350,368,414,420,420,401,399,411,836,1484,1558,1612,1432,1378,1450,1428,1400,955,698,651,907,1252,1460,1378,1023,739,559,375,519,730,1102,1548,1076,707,536,400,374,286,224,262,362,418,438,357,336,310,274,296,291,303,549,792,872,1096,1178,1192,1124,725,622,784,1148,1318,1212,857,685,631,713,656,660,781,587,479,461,752,708,423,424,743,752,698,804,563,830,1178,848,825,1164,1338,1144,1100,747,433,476,455,432,516,711,929,993,1174,1082,882,1112,1092,729,518,452,449,474,483,532,572,544,512,430,461,519,539,613,587,852,1326,1354,1012,846,792,626,724,932,644,624,561,370,472,512,419,451,459,302,402,494,324,309,421,755,1122,1374,1234,934,1136,1218,1015,1068,1382,1256,1238,1400,1238,1246,1146,1054,695,576,808,929,1030,1074,1104,1198,1344,1488,1058,1268,1368,1178,1184,933,708,822,1096,995,794,708,576,725,1132,1638,1506,1032,963,883,698,954,833,681,868,1302,1036,1052,730,821,1062,1060,861,1158,1282,1352,1458,1256,1170,954,796,583,488,352,211,224,244,319,626,836,1013,1386,1262,1498,1454,1348,1324,1306,1262,1074,589,284,275,464,529,542,872,1102,959,500,334,350,303,337,452,461,393,339,279,211,236,279,285,313,361,435,424,372,333,318,324,367,350,307,352,324,313,303,249,259,233,222,293,275,216,259,359,300,305,380,464,638,741,725,623,453,434,455,355,264,304,347,390,412,420,428,397,403,560,819,1023,757,514,613,598,659,893,1122,830,1028,1276,879,515,503,559,650,642,574,554,831,998,650,542,613,458,759,1002,996,853,921,1028,952,1086,1084,1108,1228,1013,1046,989,569,503,626,982,735,945,1598,1590,1502,1048,803,1202,1072,1294,1024,678,678,646,452,397,698,1094,844,477,906,1074,433,494,1058,825,540,532,610,524,539,495,503,601,705,771,747,695,765,705,478,406,421,771,1158,965,1384,2104,1870,1384,1184,1068,752,583,902,899,661,704,1052,895,507,343,349,440,539,508,568,719,627,504,401,358,554,1084,1788,1684,1018,907,1002,1248,1074,1044,927,1054,799,533,581,631,469,403,403,357,384,402,377,357,359,343,428,573,582,450,389,341,286,333,360,309,371,561,727,473,448,735,851,912,1170,1192,966,920,683,955,1156,1368,968,831,570,828,960,556],[532,557,536,490,442,478,443,362,439,482,413,399,384,364,351,353,376,417,422,467,513,617,687,733,727,456,329,380,334,310,448,354,286,219,219,190,214,289,300,294,365,400,364,416,423,522,497,405,416,413,386,378,371,407,412,412,438,440,420,375,402,387,346,366,361,352,375,432,509,448,376,431,502,339,283,281,291,349,364,381,409,402,480,619,643,654,540,422,362,319,304,332,366,345,339,330,267,222,287,301,277,301,319,361,347,287,293,293,254,222,213,240,340,588,583,664,898,976,641,482,418,487,536,636,802,812,910,1094,965,770,711,878,1026,1017,1096,885,723,1104,1154,995,1206,1090,1023,1118,1418,1338,889,728,1068,979,530,435,484,521,603,752,948,1015,1392,1230,1476,1262,1156,1220,891,885,841,766,1007,1362,1258,973,747,474,369,916,1296,1009,942,882,957,1006,985,858,1362,1986,1602,772,765,758,572,575,453,846,1266,1156,1140,1044,1124,866,891,869,1030,1260,1040,1180,1180,1220,932,866,1017,936,1124,695,469,658,1114,604,296,256,266,299,375,664,942,954,924,716,530,693,626,919,678,444,454,574,644,445,435,689,1098,1106,1174,1126,847,501,724,957,1090,1004,660,564,550,778,994,926,731,485,412,481,578,550,516,439,800,816,471,443,448,473,534,803,750,694,739,612,669,710,780,741,539,421,461,834,1554,1770,1826,1618,1406,1164,977,838,640,547,526,468,497,535,491,416,584,686,727,536,616,814,796,653,491,493,563,927,1228,1070,1376,1234,1050,1006,826,692,918,976,688,654,906,988,990,824,484,625,1128,703,711,1810,2222,1456,830,897,975,1146,1278,1192,1164,1310,1544,1460,1190,1154,1352,1186,1074,1236,995,907,1166,1256,1382,1510,1334,1344,1106,926,919,1354,1474,1432,1334,1412,1216,1026,996,1082,1196,807,1224,1210,1098,1001,1012,1202,1084,1028,1013,794,850,1162,1080,833,702,589,482,398,542,480,676,1366,1450,896,832,1026,1004,946,1042,859,1054,1146,1220,1098,861,1019,815,943,937,785,899,954,974,1052,1198,1434,1560,1346,1354,1252,573,379,354,523,718,717,946,917,1172,1488,1288,1194,1510,1836,1576,1368,1312,1526,1320,1182,886,680,794,703,455,496,419,348,397,419,315,312,428,554,666,1072,1422,1420,1440,1542,1776,1936,1920,1800,1310,1064,1064,1698,1454,1376,1726,1496,910,1248,1746,1656,1530,1378,1206,1152,1288,1474,1384,858,491,377,484,659,690,711,816,833,1126,1136,835,896,847,847,885,1280,1134,576,450,803,962,1350,1202,607,601,696,683,694,700,680,605,642,735,993,1240,1114,1104,866,981,1318,1086,666,866,805,761,586,693,922,677,780,1070,1426,1394,1552,1610,1516,1098,808,1013,910,817,880,907,987,1188,1254,899,860,1270,1276,1086,1218,1098,1198,1310,1100,840,949,1262,994,1080,1158,979,619,463,527,764,671,511,434,447,440,452,462,442,334,365,462,524,559,639,703,739,645,787,1168,1009,871,729,825,899,1072,1030,1028,1166,1750,1350,665,658,755,836,727,541,761,1036,1062,990,1232,1346,1376,1434,1350,1312,1338,1106,888,757,617,617,677,593,999,1150,681,507,491,629,1078,1486,1542,1616,1368,1616,1732,1686,1534,1384,1294,984,1112,1390,1176,1098,1140,1128,846,528,542,644,955,1252,1170,1356,1424,1021,560,610,892,1020,1168,1418,1376,1108,1238,892,913,1192,1354,1312,1234,1186,1104,1326,1434,1196,1108,1180,1262,1368,960,677,846,750,570,815,869,944,794,437,493,526,461,433,500,464,444,445,359,240,267,341,320,262,440,455,359,306,446,584,766,1009,944,716,541,546,544,471,336,273,290,292,302,455,451,396,367,326,348,395,437,563,572,582,703,692,554,499,639,661,426,357,357,405,513,419,523,449,350,340,501,431,325,344,379,340,309,319,335,364,370,380,378,364,341,383,592,846,924,885,874,952,1030,974,890,854,697,369,272,291,311,319,347,383,324,287,332,370,366,381,397,383,356,341,323,375,415,420,448,835,1466,1628,1528,1500,1504,1500,1490,1568,1620,1670,1730,1758,1482,1040,971,822,659,1026,1378,1632,1632,1280,659,511,871,1232,1432,1622,1866,1952,1918,1864,1766,1212,1036,1508,1632,1332,1156,869,586,633,835,971,800,823,697,661,555,536,611,619,564,619,690,955,1398,1408,955,519,541,703,835,728,982,1308,1350,1274,1122,807,390,579,1378,1764,1540,1642,1318,741,484,383,411,564,753,936,1482,1908,1766,1758,1844,1378,1260,1040,700,826,1066,1054,976,879,708,809,1072,1374,1440,785,677,979,944,882,807,781,585,400,412,429,415,369,444,416,366,380,403,337,293,311,398,573,769,885,849,609,408,408,423,398,376,369,360,341,328,304,309,307,308,292,403,438,335,333,318,423,539,566,809,1160,1100,1052,890,519,481,626,733,1134,1108,608,628,965,1150,1180,1042,978,908,774,711,1090,1100,1015,922,729,554,787,896,819,984,810,491,473,794,871,634,454,414,361,725,871,620,747,1110,1262,968,620,324,292,344,342,347,352,612,725,940,1362,1268,885,995,892,719,500,747,1302,1232,945,613,972,1542,1684,1562,1460,905,675,705,796,773,465,894,1244,1218,1100,833,829,998,918,1014,1390,1748,1768,1344,639,413,841,900,552,510,558,670,979,1334,1268,535,435,400,392,510,466,601,503,772,1422,1658,1614,1478,1214,949,1054,1572,1812,1474,1418,1174,1142,999,776,747,562,602,860,974,800,676,733,778,915,758,653,606,526,1080,1232,655,583,625,720,723,709,913,770,634,968,1380,1396,1368,1282,1252,1240,1372,1074,1038,645,1164,1308,1102,946,832,850,1042,1024,1210,1328,1080,678,695,1100,1184,910,548,553,777,684,412,346,338,508,736,700,408,442,1023,1652,1440,1362,1302,1296,1584,1986,1884,1524,1506,1400,1494,1196,1060,1400,1614,1784,1864,1608,1032,772,802,881,1036,1180,1112,1032,938,869,742,739,822,917,1158,1200,1054,1122,779,880,862,676,689,633,974,1736,2500,2818,2624,2092,1376,1120,962,935,1350,1706,1612,1876,1698,1202,1230,1376,1730,1762,1302,1152,1180,963,1040,1018,1080,1054,1178,1260,1084,944,949,1084,1196,1206,1260,785,465,382,296,363,511,529,401,454,433,321,303,314,534,1308,1596,1368,1260,1550,1318,1146,1078,957,971,998,1060,976,976,1020,648,451,335,320,358,316,608,749,567,450,395,326,293,258,265,271,314,370,390,279,275,300,279,274,261,368,728,898,929,921,1007,1076,1011,772,688,634,821,1090,902,753,755,521,532,481,735,1130,810,606,488,505,551,503,521,868,1206,1003,947,957,1562,1424,919,951,1156,1212,1022,698,532,433,482,476,473,503,602,865,1070,957,617,661,1148,1072,680,547,521,518,500,476,488,488,515,475,401,493,541,525,565,615,805,1096,1318,1034,711,774,1018,748,578,642,902,860,590,477,572,565,555,500,432,384,329,313,321,300,369,538,915,1154,1072,896,892,1316,1268,1506,1310,1384,1382,1272,1284,1422,1278,799,791,1116,776,920,1376,1448,1302,1640,1556,1180,1290,1520,1322,791,739,757,1054,847,943,618,567,808,901,1086,1142,1126,999,1054,1126,916,992,834,954,907,1226,899,904,1038,1108,1092,1015,1038,1074,1166,1520,1556,1388,1186,701,716,599,443,238,184,262,296,397,841,1130,1156,1282,1248,1390,1296,1182,1544,1766,1400,857,323,275,295,326,338,406,874,1332,996,613,446,390,319,482,618,496,428,361,242,222,253,256,293,377,476,536,461,365,350,333,287,278,310,328,470,412,366,357,292,262,253,281,290,246,270,390,548,418,435,788,808,584,389,511,736,805,782,742,575,299,262,302,384,332,349,344,326,407,430,455,637,637,460,464,527,613,707,1326,1166,1222,1242,722,458,433,422,549,774,774,657,904,833,562,464,465,486,922,1188,1488,1432,1182,1017,1062,1290,1180,799,1015,953,927,869,716,792,1062,1322,942,1140,1836,1586,1468,779,669,811,735,723,655,655,680,624,520,630,995,1516,1164,688,706,865,946,1312,1352,1186,778,516,495,487,553,504,525,610,658,628,713,742,758,742,663,632,795,1284,1404,883,1019,1650,1926,1628,1048,1148,1182,969,1124,843,578,647,1076,1412,1094,781,418,392,572,744,467,449,494,514,412,383,387,484,653,786,1006,998,952,953,961,897,825,771,540,469,615,572,492,375,411,433,372,417,463,372,352,380,382,673,814,467,330,298,320,347,303,349,375,467,518,417,397,448,567,761,810,653,515,798,946,1396,1604,1404,880,796,587,640,816,763],[571,601,525,421,385,517,523,368,429,512,461,455,425,383,401,455,531,575,595,604,530,513,445,384,345,268,293,288,244,283,306,304,308,295,302,332,368,393,365,316,366,453,552,667,593,600,548,416,394,411,393,403,407,413,436,406,422,435,405,385,407,401,389,366,353,363,398,483,490,352,332,390,482,360,287,301,321,389,415,425,482,429,398,526,500,472,466,392,339,320,309,362,405,359,335,365,330,252,325,352,389,389,432,436,293,258,261,255,223,209,192,222,222,418,536,492,841,974,727,677,657,646,673,583,558,602,648,747,536,744,658,724,869,1126,1316,930,728,1076,1332,1428,1400,1230,878,896,1384,1366,1292,1094,852,617,515,506,505,445,596,883,1100,1396,1268,1078,1116,968,1168,1120,994,1304,1198,1144,893,1040,1250,1478,1542,918,441,433,700,917,923,1056,1172,1440,1908,1652,1622,1926,1980,1202,918,1134,1032,760,722,1090,1274,1290,1394,1052,1058,827,757,705,1350,1716,1608,1152,1042,1024,922,1246,1158,923,1058,1106,781,915,643,293,286,292,294,365,516,823,998,1240,1021,710,510,558,811,870,542,398,443,852,988,579,477,420,740,965,1582,1920,1124,851,987,691,875,935,747,799,755,968,1358,1410,976,562,391,369,454,597,550,381,464,495,432,425,454,475,496,723,776,662,661,800,995,790,480,549,572,461,435,605,1346,1740,1904,1916,1836,1592,1314,1036,818,500,434,432,447,442,553,456,439,853,1184,850,587,598,714,724,447,514,545,914,1054,1340,1428,1312,1210,878,711,678,739,1092,1028,927,841,1262,1300,1080,643,612,771,529,750,1512,1422,894,755,1048,931,687,546,644,919,981,1150,1124,883,1036,1410,1220,1088,1476,1100,1146,1262,1428,1664,1204,1130,1198,1060,725,837,1226,1256,1408,922,860,1170,1372,1032,745,827,797,1068,1190,1038,861,924,1092,1080,997,1058,753,835,930,879,672,593,725,735,901,994,618,753,1034,1124,788,865,1032,1102,1012,1084,1112,1062,1006,1134,943,835,524,478,630,615,647,1036,1048,739,686,1108,1752,1614,1188,1128,1372,738,383,343,489,802,1242,1286,836,1228,1500,1220,1312,1484,1484,1368,1542,1592,1554,1418,1146,886,701,437,317,372,388,343,332,350,315,270,291,377,552,912,1436,1594,1528,1608,1682,1620,1652,1976,1804,1190,1092,1178,1626,1708,1240,1338,1628,1338,1376,1566,1570,1370,1070,1098,948,1166,1378,1394,1172,841,633,598,558,608,832,997,901,1152,1086,888,823,672,647,1004,1154,835,402,369,543,1040,1602,1126,610,473,447,446,543,570,548,578,515,525,892,1028,852,915,979,1286,1444,847,572,593,471,629,779,730,644,631,951,1424,1642,1332,1270,1390,1490,1170,990,1082,686,535,683,813,942,1204,1260,1574,1498,1220,844,775,1092,1328,1372,1330,1216,811,994,1258,860,1074,1026,1172,1124,711,837,1013,780,651,502,510,475,455,376,370,348,365,437,489,585,697,745,691,616,897,808,761,943,1032,946,1074,1248,1066,1042,1184,1144,662,664,727,767,778,778,688,815,1212,1246,1212,1314,1296,1424,1300,1062,978,924,771,909,837,662,794,950,765,875,888,585,462,516,825,1030,1188,1426,1336,1428,1472,1538,1766,1830,1712,1448,1162,1234,1188,1140,1310,1520,1298,838,639,924,969,969,1068,1050,825,742,835,623,871,1038,1392,1578,1540,1224,986,1182,1222,1074,1248,1364,1160,1122,1106,797,993,1272,1262,1170,1240,1290,950,409,462,628,536,581,858,753,735,593,470,498,515,473,461,470,481,481,430,309,234,235,261,221,212,343,346,285,301,444,549,637,684,716,633,684,844,498,358,277,262,275,253,311,408,454,502,423,338,386,395,420,481,478,487,572,566,497,511,634,498,338,324,341,443,562,519,509,368,436,539,527,393,331,340,364,325,311,322,335,370,388,386,380,378,368,597,930,836,631,552,514,521,488,395,394,400,330,302,313,321,318,286,282,323,309,302,327,321,336,363,373,363,357,354,368,417,471,654,1148,1780,1620,1578,1554,1472,1490,1518,1536,1610,1698,1664,1558,1426,1080,893,1328,1170,1204,1444,1340,1356,1292,1106,861,701,954,1350,1582,1572,1626,1766,1990,1942,1672,1354,1052,1316,1814,1774,1416,995,770,1015,979,942,1222,924,1158,1036,634,356,533,821,698,502,536,1009,1540,1464,955,668,785,855,563,571,1068,1576,1384,1354,1326,1304,740,977,1462,1692,1500,1266,879,584,448,373,484,619,534,570,919,1500,1648,1774,1840,1328,1048,900,740,1030,1140,1060,1066,1096,695,631,583,1072,1250,968,1130,1154,759,522,702,715,435,314,322,415,388,438,527,469,471,713,749,472,412,469,650,737,662,666,735,567,441,432,543,604,473,363,345,332,323,367,373,377,357,292,364,410,368,406,372,367,543,700,1160,1594,1144,1050,933,551,468,446,422,796,877,751,999,1092,1098,940,942,913,1248,980,749,1268,1240,880,899,959,942,951,897,1104,1196,992,692,444,494,768,597,343,292,324,657,1026,866,733,874,1312,786,350,245,283,354,338,309,285,415,624,857,943,896,584,729,675,450,351,564,840,780,522,480,678,1128,1916,2122,1782,931,868,827,893,891,495,491,1021,1346,1074,822,810,993,1001,1528,2412,2264,1346,893,639,573,670,519,522,890,1196,1374,1236,1256,995,459,329,343,380,348,336,494,464,730,1460,1610,1544,1080,809,948,1232,1752,1782,1446,1216,1124,1226,1120,928,967,591,456,571,669,614,660,987,1108,998,614,434,371,503,1056,945,607,558,508,652,676,621,793,780,822,1312,1642,1604,1262,1160,1254,1216,1216,1068,1130,1068,1408,1358,1212,1404,1230,938,1124,944,991,1180,828,723,1194,961,902,969,577,481,838,978,662,473,696,857,886,774,696,737,1292,1410,1164,1300,1454,1336,1390,1804,2108,1720,1624,1628,1532,1154,1322,1560,1656,1692,1870,1608,1134,1404,1412,1290,1156,1040,884,692,636,630,663,854,1094,1144,1005,1058,1018,1021,841,811,672,610,583,559,912,1582,2142,2508,2486,1832,938,569,804,1226,1778,1638,1560,1732,1302,946,1142,1208,1484,1598,1188,1306,1236,1174,1532,1334,1128,1184,1150,1058,984,719,850,1023,1202,1290,1360,749,466,411,370,356,767,995,670,461,476,469,313,359,564,1166,1394,1358,1328,1488,1340,1174,1116,926,854,1104,1260,995,764,648,442,385,376,328,307,339,405,632,797,549,426,339,294,295,313,340,318,335,318,297,310,289,241,262,362,543,1000,959,622,583,904,1017,880,838,736,628,868,824,849,692,728,540,437,846,999,749,581,538,679,822,618,550,617,923,1166,906,944,1332,1752,1584,1054,1150,1322,1150,639,481,527,483,487,525,694,689,571,753,839,706,794,1018,1146,1078,680,457,511,441,532,571,554,525,481,397,403,477,537,565,596,565,476,570,734,691,513,902,830,825,862,868,1064,894,511,366,498,533,550,512,513,511,442,377,371,323,331,373,548,951,1336,750,487,929,1216,1230,812,756,1050,1344,1516,1520,1190,1034,913,918,756,840,1158,1252,1358,1538,1340,1150,973,688,670,1015,1000,708,985,937,722,437,626,788,769,697,619,805,784,925,1009,1150,1252,1318,1454,1740,1504,1190,1090,1168,1276,1316,1458,1448,1164,1416,1516,1324,1234,770,559,681,722,501,208,214,284,350,651,1030,1058,1482,1174,1618,1306,1110,1076,1428,1870,1974,1332,393,310,307,309,392,452,664,1030,1100,805,653,635,565,731,694,418,376,373,258,272,284,234,274,360,371,389,381,320,317,310,313,279,228,285,408,444,397,381,357,318,322,362,316,307,393,456,491,361,470,1042,1048,619,425,451,626,895,837,478,346,264,267,230,234,250,283,294,323,405,397,339,439,585,628,495,434,535,1200,1786,1420,1576,1550,904,478,547,564,644,681,708,905,763,684,702,586,629,766,915,1368,1834,1606,1410,1198,1322,1108,932,1144,1272,1066,827,711,743,1080,1520,1510,1300,811,971,1272,1516,753,479,457,495,527,595,572,668,680,514,640,1050,1494,1130,853,801,680,1116,1600,1410,1252,996,561,438,460,490,500,550,678,753,574,619,732,772,767,869,1138,1426,1554,1096,930,1614,1538,1328,1376,1224,1708,1534,1092,1204,1116,650,566,1080,1500,1384,1066,478,417,437,499,359,485,648,584,483,413,422,384,400,524,949,956,1188,1284,1220,1268,1021,675,589,873,1112,567,625,835,860,655,510,419,410,356,339,398,515,832,905,415,315,318,335,333,351,346,351,397,413,397,373,417,627,788,820,671,449,838,1198,1446,1356,1007,713,739,632,586,1240,1510],[517,513,492,462,405,455,481,346,366,437,489,581,598,514,538,548,504,440,350,270,239,244,258,284,313,333,354,261,253,311,360,427,461,473,472,493,508,510,592,444,411,448,578,709,619,515,517,445,404,417,411,423,430,435,407,401,424,407,363,367,381,396,414,394,388,406,442,519,453,343,297,333,446,403,298,294,323,421,469,539,677,577,423,337,377,375,354,313,322,342,376,376,426,387,365,407,394,318,401,437,413,458,579,446,293,288,235,190,190,210,201,214,224,285,388,505,992,1212,954,694,965,928,734,434,482,885,758,681,715,1001,1412,1406,917,1230,1382,901,814,752,982,1306,1560,1548,999,833,1306,1276,777,631,564,404,508,709,602,547,767,872,1274,1374,1118,1013,1236,1414,1260,1194,1334,1310,1011,902,960,1228,1172,1500,1754,1556,980,474,717,1052,1096,1306,1252,1294,1572,1960,1808,1920,2106,1862,1642,1530,1294,1210,1302,1302,1078,1130,1110,989,791,1076,1164,973,1100,1616,1734,974,645,708,1138,1274,1108,970,993,1186,1058,1188,819,360,298,328,402,604,740,716,759,883,614,774,833,777,944,857,744,485,604,1052,778,379,383,329,581,1208,1290,1494,1134,1202,1254,993,840,787,943,1066,871,830,1262,1090,598,432,342,301,317,437,510,432,396,404,405,419,422,422,495,605,758,868,921,1062,1114,815,566,518,470,491,466,433,900,1522,1782,1772,1818,1760,1542,1020,815,594,497,437,431,416,479,436,422,731,859,684,483,419,534,616,736,848,868,969,808,1106,1378,1428,1350,1108,1058,865,932,1216,1290,1086,1208,1338,1142,1110,811,460,432,594,1104,1288,1112,1344,1134,1222,926,599,550,714,839,723,887,1182,1142,1048,1080,1332,1616,1440,1272,1278,1468,1592,1384,945,1104,1238,856,586,853,1242,1046,1404,992,850,937,1188,1076,658,557,843,1072,1200,1112,1018,999,1084,951,1202,1266,954,804,794,730,508,514,730,1070,1516,998,582,509,616,778,835,882,941,984,1012,1148,1366,1398,1018,1104,705,570,529,502,529,434,590,963,1144,1094,878,1610,2070,1204,1132,1494,2222,1316,839,941,1136,1354,1568,1406,1286,1406,1600,1876,1290,1202,1328,1254,1278,1502,1526,1050,633,867,1016,621,370,385,356,320,303,343,299,267,356,520,616,786,1194,1636,1744,1644,1404,1120,1252,1542,1490,1070,1026,1152,1138,1422,1382,1178,1620,1782,1394,1418,1350,996,1168,1332,1258,1172,1186,1278,1068,999,1028,860,497,700,1070,1384,1388,1348,1060,596,511,618,839,773,641,829,691,446,706,1326,1414,907,559,618,614,472,497,542,491,533,469,522,883,1036,1023,828,799,983,972,917,1005,765,453,415,457,647,493,698,1038,1110,1274,1380,1432,1384,1434,1384,971,851,725,623,821,767,958,1440,1876,2096,1528,825,440,489,835,1284,1296,1092,1128,968,1370,1044,588,667,971,1494,1362,1013,1106,1282,1098,744,610,569,473,368,279,312,348,373,426,489,554,639,643,576,583,692,463,633,943,1268,1372,1372,1200,1012,979,983,818,704,733,766,818,854,868,813,977,1248,1038,934,1188,1286,1230,1256,1224,1048,1152,1062,897,772,778,1138,1368,1214,1144,1011,754,548,711,1114,1110,1340,1434,1378,1526,1728,1896,1964,1868,1776,1508,1258,1456,1368,1206,1458,1484,996,580,633,833,959,1176,1340,1140,858,838,992,1030,1068,1268,1636,1384,1494,1318,984,1238,1242,1158,1222,1064,1422,1382,999,645,1064,1336,1224,1270,1268,1206,830,381,415,455,619,859,1098,833,572,411,401,432,451,444,414,462,485,466,424,279,296,272,255,231,248,280,244,271,331,394,422,466,556,623,557,559,626,415,302,277,317,338,261,296,366,428,444,427,427,484,449,425,435,422,433,442,493,514,477,393,297,305,331,422,492,451,420,390,326,391,505,458,338,336,336,340,321,311,328,352,359,367,354,351,367,527,910,812,433,337,282,268,332,339,359,377,336,329,329,311,315,298,275,294,322,327,331,327,343,363,362,345,354,365,352,440,536,713,1174,1660,1774,1706,1648,1614,1652,1614,1604,1634,1594,1422,1198,1072,1022,901,849,1130,958,1054,1074,1090,1194,1150,982,811,1278,1262,1238,1210,1224,1528,1766,1958,1934,1638,1404,1198,1226,1874,1932,1750,1628,1330,1390,1250,1230,1274,1076,1006,970,959,880,777,684,722,824,1002,727,732,730,628,719,1120,968,526,653,1272,1874,1362,1126,1280,1372,1370,1738,1312,877,913,875,775,804,767,433,550,610,524,519,594,861,957,1180,1416,1180,1130,1276,957,1174,1198,1238,1096,981,744,556,459,642,706,910,1126,1120,922,744,731,502,267,228,234,345,360,320,414,469,580,979,927,554,509,504,461,487,394,498,605,553,471,416,495,474,400,392,361,328,369,426,433,421,414,384,366,355,395,428,367,314,617,1040,1638,1948,1266,992,888,601,379,329,413,625,683,1015,1608,1404,1224,1058,738,778,1300,1046,739,882,971,1013,929,1022,1294,979,772,984,1032,1228,979,548,610,916,867,526,430,929,1358,1286,745,724,836,868,644,353,250,467,714,709,539,390,320,438,811,692,710,542,351,325,357,344,339,302,333,364,406,414,617,1508,2602,2806,1350,902,835,764,888,692,325,534,626,572,617,639,647,901,1186,1948,1426,741,702,619,487,547,691,984,1482,1686,1448,1214,1256,880,548,398,402,462,424,345,404,396,605,1464,1742,1772,1023,666,1106,1822,1852,1536,1482,1330,1472,1192,997,1040,733,491,523,399,439,487,605,636,758,857,605,533,432,428,320,428,479,482,514,688,652,621,646,512,580,728,976,1278,1044,1056,766,1026,1236,1018,742,750,1040,1346,1266,1272,1007,733,897,976,994,1224,919,908,1054,655,735,916,642,872,1062,1048,1054,812,915,744,739,1052,1015,749,866,1130,1168,1224,1332,1194,1094,1128,1870,1710,1246,1001,715,1078,1572,1606,1692,1590,1816,1820,1490,1322,1142,1132,989,968,877,683,653,669,695,791,861,832,831,922,813,733,692,659,683,918,1032,894,825,1382,1930,2486,2526,1898,1272,1068,1290,1688,1936,1844,1786,1650,1064,802,885,910,985,1500,1162,1082,1056,1242,1388,1270,1202,1216,1218,1248,885,568,634,740,766,1038,926,601,439,378,428,467,659,956,699,505,574,613,463,750,1174,1282,1378,1350,1148,1208,1124,1072,1076,1078,758,901,1160,1110,963,792,651,454,374,353,385,568,1008,1554,1442,788,521,480,392,331,318,331,377,501,587,458,299,254,254,316,423,563,1084,821,383,540,1058,1048,805,761,719,880,1222,991,976,933,934,842,868,1388,1322,607,372,590,893,809,561,760,1086,590,318,658,837,1216,1582,1224,1023,1322,1328,1134,547,558,470,465,514,677,1084,949,760,853,831,713,705,749,753,641,465,444,527,457,481,528,607,594,487,437,403,428,531,586,622,556,460,511,497,538,472,547,427,496,656,709,821,739,461,429,383,394,458,505,575,558,519,508,411,321,332,373,437,559,915,708,628,540,982,1244,1142,1200,1530,1786,1582,1504,955,871,1088,738,548,677,664,765,922,1206,1378,885,902,879,711,977,832,484,645,763,505,678,1172,1302,1178,761,477,425,463,720,749,949,834,1164,1838,2314,1862,1416,1350,1266,1384,1582,1708,1510,1438,1482,1310,1230,1142,650,509,605,621,453,314,337,336,419,924,1088,1134,1382,1454,1504,920,978,1007,676,1102,1778,944,346,286,303,312,365,400,349,624,844,745,674,520,447,653,514,309,342,347,262,350,386,290,288,305,258,248,237,282,320,307,330,290,201,280,375,385,385,423,412,376,351,345,287,312,416,385,381,798,932,955,1150,1044,520,350,395,623,607,294,243,218,212,185,199,227,266,297,309,323,318,354,436,461,497,681,960,1548,2074,1834,1560,1668,1588,1324,687,752,885,628,696,971,1250,952,729,720,633,816,1021,637,870,1144,1108,1148,1070,1108,952,1080,1214,995,941,810,744,844,1316,1834,1970,1784,714,499,974,915,585,454,468,448,373,454,579,730,764,909,970,923,999,1070,1158,1156,852,686,922,1066,840,1092,879,449,678,557,480,535,685,745,702,653,700,792,846,1216,1726,1620,1432,1092,1318,1560,1386,1096,837,1188,1768,1582,975,1007,1262,965,648,742,786,868,586,402,627,1206,993,482,724,974,986,754,416,397,361,379,383,539,828,1476,1578,1388,1442,1158,1028,1146,1268,1056,656,1250,1744,1516,954,650,518,472,497,311,448,675,1016,914,408,324,432,435,364,305,314,403,438,363,397,406,402,615,797,890,866,796,1028,1288,1138,739,582,501,630,701,647,1876,2034],[389,419,502,517,432,433,394,404,381,396,541,683,628,418,318,293,287,271,257,260,297,312,322,323,300,300,306,265,309,341,405,489,529,511,578,924,1080,1108,1138,661,458,471,491,563,498,391,519,418,410,418,425,435,443,471,408,372,415,427,360,346,382,417,385,370,392,439,508,502,431,357,312,324,414,447,327,295,312,412,599,598,597,538,500,408,312,347,386,369,328,395,509,397,355,322,315,346,410,444,420,447,448,391,337,289,303,265,219,193,193,208,209,213,222,242,288,371,459,659,1026,1378,1128,892,558,431,750,1168,996,851,725,840,1698,1546,963,1276,1418,1002,743,564,625,1026,1396,1380,1032,1042,1276,787,420,406,661,686,545,545,501,983,1450,1430,1312,1270,1322,1300,1516,1276,1090,1108,1016,1086,710,540,853,789,819,1176,1202,1192,1208,993,708,1170,1236,1266,1306,1080,1284,1594,1854,1860,1586,1716,1998,1624,1348,1442,1374,1230,1116,1002,788,632,687,943,895,1090,1286,1314,1616,1520,980,1110,1544,1876,1704,1009,1040,946,880,935,700,355,343,528,608,799,836,797,862,745,704,857,1040,1268,902,553,692,691,1007,1060,806,711,384,324,844,1422,1436,948,690,1180,1262,1170,1224,1188,1238,1106,1134,861,900,768,627,505,306,287,312,311,299,313,350,395,441,430,363,412,467,514,771,955,901,857,1010,733,461,458,489,439,439,428,609,1216,1762,1782,1816,1780,1678,1116,949,930,930,585,406,424,407,444,644,817,577,422,386,352,388,633,990,861,880,1082,816,608,834,1148,1248,863,829,688,865,1094,940,946,981,950,909,1146,1158,690,605,1118,1032,938,963,883,1104,1346,1290,877,662,836,1116,1060,866,1002,1388,1094,1310,1498,1342,1078,1208,1404,1484,1318,1038,990,1088,1060,749,799,929,1150,1204,1364,1248,1138,1134,1280,1338,1108,1020,1104,1190,1378,1116,1028,669,844,763,843,870,910,918,877,721,406,348,533,1078,1534,641,426,378,406,509,619,689,798,973,1112,1094,1368,1736,952,1010,838,940,848,536,506,445,673,1044,1184,1318,800,1072,1464,1192,1210,1254,1408,1360,1278,1170,1100,1140,1338,1296,1272,1224,2008,2172,1298,1092,1266,1358,1254,1214,1406,1238,697,792,1104,650,340,354,332,348,390,385,422,429,538,708,843,996,1308,1788,1896,1604,1262,1312,1344,935,1044,1206,1382,1294,1044,1298,1194,1124,1188,1682,1660,1588,1522,1166,1384,1684,1616,1234,1094,857,703,888,946,692,412,721,1202,1310,1114,1046,748,433,581,905,1006,866,938,1744,979,448,1064,1344,1206,1044,872,909,858,771,702,696,567,474,382,576,943,1134,831,434,256,312,526,899,930,844,703,454,341,325,449,772,935,971,1096,1370,1448,1272,1282,1632,1328,1094,1300,1206,1023,954,1282,1284,1368,1468,893,569,451,369,472,700,1074,935,1100,1332,1364,850,521,530,1028,1412,1284,1262,1350,1422,1258,913,678,724,930,752,411,384,351,308,318,407,538,636,566,541,498,405,368,654,979,1282,1560,1342,1204,1184,981,727,659,687,778,912,933,907,994,1130,1146,908,750,763,1010,1172,1066,1174,1104,1023,1126,1110,1038,1013,1050,969,1082,1328,1398,1294,983,808,744,1011,1066,1384,1670,1820,1766,1758,1566,1422,1196,1470,1826,1716,1516,1346,1268,1422,1444,988,505,497,576,913,1310,1260,895,912,1288,1382,1074,1144,1850,2184,2112,1730,1416,1194,1284,1260,1070,875,1058,1438,1268,1028,782,974,1312,1458,1438,1290,1166,858,618,577,484,588,889,966,844,626,419,400,430,438,434,416,462,461,451,426,346,364,322,264,223,263,277,283,301,273,382,405,463,611,702,535,423,388,297,292,314,321,315,278,307,418,467,403,370,512,602,524,440,420,432,389,345,359,393,413,368,360,346,336,377,443,416,329,296,314,363,376,324,331,346,344,325,319,328,339,352,372,370,350,355,454,857,925,498,321,317,302,317,331,325,346,376,395,386,354,345,336,325,282,314,328,344,351,326,334,363,361,363,381,373,361,433,752,1294,1662,1738,1610,1632,1668,1708,1650,1592,1558,1276,1072,860,798,842,915,908,716,781,767,572,717,1046,1086,961,805,685,935,823,975,861,868,1366,1754,1852,1928,1708,1196,1130,1194,1582,1834,1842,1614,1202,1112,1038,1042,1084,1088,1072,1142,1020,948,1009,948,1048,1224,1146,657,566,621,796,1072,1234,1072,742,707,1076,1454,1310,1186,1214,1218,1602,1774,1060,583,537,540,892,1044,919,561,698,585,509,507,487,539,605,602,639,799,916,1132,868,859,1220,1342,1226,1312,1162,705,596,531,511,662,708,630,557,612,499,388,254,232,244,295,327,310,358,404,448,656,536,387,467,512,426,437,454,590,702,685,505,388,393,391,405,393,349,330,368,390,400,404,403,410,357,347,408,438,335,451,1596,1432,1542,1554,1226,955,889,885,592,527,833,1194,771,773,1136,954,1262,1370,797,550,827,869,668,598,721,855,548,690,1100,941,813,703,662,797,552,555,1056,1370,1234,745,603,1294,1566,1030,591,513,677,927,882,562,495,826,1132,1130,887,669,417,427,636,701,553,457,615,880,857,558,327,345,421,542,610,847,772,1228,2072,2256,1288,852,686,742,1088,959,399,369,586,783,904,750,809,1214,871,798,657,633,777,1032,1226,1164,1122,1294,1658,1422,1252,1318,925,636,625,457,355,416,473,404,443,514,597,1370,1730,1772,1026,591,919,1438,1332,1170,1264,1244,1344,1166,1310,1082,930,839,653,383,400,375,319,395,622,592,1000,1204,873,599,439,360,367,511,779,942,833,835,700,670,467,459,498,1042,1190,1007,839,859,982,982,988,951,973,1342,1136,1132,931,760,838,922,844,1021,1172,1262,1140,1013,1112,1322,796,926,1052,982,1015,924,838,849,780,714,668,547,667,1080,1204,1126,1122,1058,1118,1030,1362,1428,1366,1236,1046,1188,1348,1524,1346,1542,1788,1910,1722,1386,1262,1380,1236,1122,1064,843,613,605,597,641,645,592,616,572,469,445,519,677,969,1216,1212,1088,896,1478,2000,2414,2272,1970,1710,1574,1542,1556,1690,1902,1806,1384,984,907,624,618,684,789,1122,1188,1046,1094,1144,1246,1246,1234,1242,1294,647,486,692,780,778,818,591,438,426,336,367,386,434,638,380,659,839,606,426,890,1278,1166,1312,1410,988,857,879,838,1076,1292,782,856,797,764,864,955,932,787,482,541,730,1005,1356,1390,1106,785,568,514,479,423,504,670,882,1010,1148,995,544,364,364,343,341,318,399,342,274,553,989,1017,759,650,1058,999,796,941,893,845,890,1056,1220,1196,930,561,398,556,813,514,318,716,1310,869,506,662,827,843,925,926,964,1202,1364,1017,497,458,466,505,558,800,1048,952,838,708,596,574,583,653,591,479,460,501,571,531,415,411,517,557,542,521,452,464,460,507,555,518,471,491,517,501,457,446,378,407,428,403,503,587,479,487,455,389,355,390,563,706,659,556,522,470,382,351,458,484,664,777,637,812,1160,1178,1396,1478,1516,1798,1434,929,574,561,800,648,522,442,365,659,995,1138,938,597,854,1056,735,590,563,515,463,377,443,954,1378,1288,976,557,405,369,397,408,459,543,637,952,1280,1486,1448,1460,1240,1460,1588,1418,1470,1472,1458,1918,1732,1426,1454,1204,908,781,660,371,269,284,352,478,830,789,943,1128,1388,1344,1126,913,619,351,444,603,421,267,229,242,237,269,297,290,397,692,825,550,421,495,503,408,303,321,324,310,314,288,268,295,267,267,277,207,328,385,324,287,253,235,264,310,368,405,450,433,442,419,341,292,291,376,372,326,639,940,1110,1250,1158,540,361,344,421,459,357,307,270,205,204,214,231,266,318,328,308,313,365,409,432,487,744,1388,1722,1182,706,981,1430,1416,1610,1118,737,1130,938,871,1144,1158,1032,711,497,538,736,915,568,561,803,1504,1424,1150,935,884,1230,1124,807,1008,932,847,1176,1302,1328,1344,1246,944,727,690,945,995,586,441,391,305,364,516,881,1456,2032,1136,538,599,833,1040,1120,1234,799,525,836,868,1042,863,455,891,688,505,544,538,642,713,606,720,856,976,1544,1962,1838,1246,1156,1290,992,1042,786,611,780,776,865,872,1078,1088,739,914,794,505,621,698,656,1366,1938,1170,926,1066,879,661,515,430,403,388,403,498,797,1146,1594,1596,1158,1110,1194,1470,1602,1378,636,651,1362,1478,1170,999,715,691,739,882,1074,1132,714,623,531,349,273,413,698,720,448,415,452,428,641,554,434,397,558,968,1352,1104,731,1246,2130,1604,763,471,455,648,880,800,1642,1762],[389,433,580,608,580,545,484,490,420,419,514,576,503,318,274,287,322,297,285,279,279,273,265,273,253,269,365,502,512,378,487,633,591,604,624,864,754,552,513,476,448,484,532,509,458,381,484,435,426,433,440,446,459,460,436,431,468,446,398,407,422,397,401,400,381,460,525,452,400,404,401,371,378,445,320,303,315,334,533,565,437,368,392,364,370,440,527,525,410,552,518,368,318,292,310,311,346,356,280,363,406,333,318,290,309,222,187,191,200,214,219,210,210,212,211,223,325,477,725,1042,1470,986,404,398,461,561,850,1114,891,478,566,674,1148,1088,1076,1390,1180,767,993,1360,1272,1028,820,839,1005,616,745,713,1256,1032,541,379,664,1182,1492,1486,1110,1068,1122,1064,944,772,867,788,720,989,891,760,820,749,728,850,612,694,1356,1468,791,987,1032,1023,1172,1360,1796,1958,1670,1320,986,1314,1794,1776,1686,1512,1574,1294,1132,1042,938,794,972,892,619,1000,1184,1112,1562,1296,766,811,815,974,885,1018,1096,601,567,689,554,359,556,619,621,735,608,553,617,720,1058,1446,1554,1422,1072,705,739,1012,1264,798,928,890,605,929,1568,1678,1636,1106,659,951,1013,921,1172,997,1005,1009,1104,933,554,514,469,351,273,289,323,335,381,384,326,355,415,396,377,381,402,615,908,1034,901,996,1604,1134,664,940,954,560,415,461,614,912,1772,1948,1886,1908,1774,1384,1040,1014,946,614,450,468,550,595,603,615,538,397,374,462,448,727,1106,896,711,974,974,848,978,1382,1456,1186,1180,741,764,1216,1094,725,786,929,956,1262,1402,1234,1202,1250,750,956,1226,804,609,1060,1316,1088,843,772,911,973,1382,1270,836,557,1078,1588,1434,802,828,1354,1688,1446,1050,1152,1082,904,1036,1056,1242,1212,1024,1056,1158,1164,1024,1054,1244,1066,1088,1168,1306,1282,1186,933,454,434,591,490,490,878,1094,901,597,498,433,451,857,954,594,550,444,473,703,758,771,918,973,1021,1026,1158,908,627,879,760,719,763,526,518,558,573,610,590,919,709,1026,1534,1120,1180,1348,1284,1276,1130,1274,1500,1428,1340,1224,1232,1322,1572,1454,1116,804,849,1018,946,838,1204,1360,842,465,448,328,307,331,361,426,419,507,650,686,805,824,1072,1328,1570,1906,1860,1346,995,1120,1062,724,714,1030,1066,1038,1058,1256,1120,896,821,1288,1676,1800,1612,1510,1628,1578,1448,1382,896,676,554,525,575,502,362,379,770,1166,1278,998,594,584,1086,1396,1174,1188,972,1276,686,614,1222,1222,905,839,877,1019,907,807,1005,822,737,736,572,839,1246,1022,645,404,318,296,353,536,849,1074,958,485,342,325,479,969,1158,733,554,1122,1244,846,1096,1588,1588,1340,1188,941,700,793,1060,921,844,1160,883,836,655,398,486,706,1170,1146,963,926,1094,1008,718,643,974,1184,1352,1412,1568,1258,1118,1148,830,1013,1576,1440,785,460,317,312,328,365,496,567,552,530,432,424,477,794,1108,1008,1122,1312,1214,1120,883,586,617,670,805,1072,1140,996,1138,1344,1158,877,883,908,700,664,658,625,821,1036,1180,1404,1346,1162,1126,958,1042,1290,1224,1422,1472,1214,846,813,1056,1174,1294,1516,1540,1418,1136,836,769,1300,1646,1798,1644,1372,1104,1274,1642,1268,888,1176,1220,1404,1516,1156,771,792,1196,1232,792,1286,1726,1576,1328,1416,1432,1306,1182,924,595,855,1280,1394,1334,1274,1180,1228,1410,1440,1418,1302,1320,1196,1070,927,692,602,739,908,921,670,469,452,472,478,420,430,421,437,440,434,374,289,255,222,227,259,232,284,347,267,284,355,387,463,534,433,393,374,250,297,380,382,333,325,384,446,393,347,389,571,703,622,401,413,452,354,324,328,308,452,505,450,352,300,296,296,283,304,317,338,368,431,455,385,368,340,324,331,342,343,354,387,380,375,398,708,962,557,347,342,305,270,280,274,265,308,382,421,393,320,314,329,328,294,328,364,375,363,344,359,361,373,398,368,375,442,915,1468,1610,1644,1698,1742,1772,1750,1780,1772,1418,900,631,722,697,847,714,602,664,609,719,825,769,742,987,1182,1152,1328,1348,1160,902,978,910,764,1013,1566,1792,1856,1766,1116,1002,976,1058,1598,1484,1168,1194,1262,1252,1064,1064,1292,1196,935,871,634,1092,1370,1278,1326,1208,881,752,874,901,799,543,500,561,533,527,510,855,1290,1170,1144,1650,1584,751,477,564,747,1482,1404,808,534,663,541,520,498,493,549,534,496,548,561,612,1114,1346,1096,1052,1150,1198,1310,1068,617,473,448,512,615,557,687,618,525,409,336,229,210,270,277,305,315,314,319,347,424,325,303,405,435,418,425,521,656,739,770,591,465,372,352,369,352,346,364,360,387,476,458,399,386,299,337,395,433,449,509,1366,1308,1070,1028,1162,984,612,672,846,959,1086,1274,1009,996,1236,1330,1244,921,692,789,888,620,598,932,959,935,610,775,1030,783,602,558,680,678,547,731,1288,1390,1274,896,602,833,1266,869,473,435,473,852,1168,852,853,915,884,707,597,556,615,713,533,550,728,775,877,1212,977,500,341,405,423,570,931,1040,777,882,1488,1426,890,713,529,571,811,713,474,437,866,1268,1260,896,878,930,734,473,529,797,944,1216,988,732,505,940,1286,912,1144,1192,810,857,929,618,550,664,735,807,892,1018,1086,1338,1474,1068,601,668,965,1064,1196,1044,987,1388,1236,1688,2142,2014,1688,1318,868,728,742,492,323,331,576,960,1246,990,761,614,431,370,388,568,949,1190,1036,909,649,753,620,669,762,1112,1050,870,797,640,783,1252,1438,1306,1198,1306,1082,1007,761,786,1100,1342,1084,772,1050,1422,1394,1290,1094,1170,899,980,1168,994,718,825,1248,1268,590,405,532,592,853,1114,1176,1166,1134,1184,1220,1174,1078,1082,1476,1694,1488,1134,1017,1336,1662,1760,1748,1774,1812,1672,1460,1160,918,1044,1144,888,541,548,557,512,498,507,515,554,546,450,533,844,1072,1206,1270,1128,918,1296,1604,1720,1732,1596,1346,1278,1386,1478,1812,2154,1884,1246,1310,1246,775,543,707,879,1214,1404,1130,1003,1188,1294,1222,1198,1212,1017,650,691,1002,1084,872,697,533,437,480,460,536,522,667,813,786,655,601,477,285,498,772,921,1026,1456,1064,839,511,470,825,962,1046,1060,875,763,620,795,944,988,937,969,1226,1620,1678,1418,1302,1054,678,541,458,476,761,1104,1356,1180,954,886,554,424,364,321,340,355,340,316,305,720,1282,1114,503,466,654,700,995,1220,1216,1274,1034,808,885,595,439,365,316,390,591,582,476,583,684,807,802,581,578,464,798,1388,1350,1202,1554,932,467,458,467,451,514,681,734,635,559,443,438,521,573,714,601,566,498,495,539,502,402,404,511,606,596,561,542,510,427,447,460,421,432,480,499,436,442,429,399,421,493,489,426,482,509,517,487,429,341,366,573,736,782,630,644,618,528,476,441,530,795,971,827,1094,1152,1102,1084,1200,1382,1296,1138,1052,773,434,558,822,926,694,504,439,697,941,650,580,605,612,662,696,577,547,747,858,741,938,1380,1416,830,418,349,352,367,412,399,597,1092,1338,1286,1408,1252,1370,1348,1556,1620,1416,1460,1338,1472,2046,1924,1596,1596,1356,1238,1174,623,316,272,280,401,650,1108,1148,818,962,1108,1046,1186,795,348,350,474,692,421,221,258,305,284,266,283,358,576,1250,1466,782,488,393,390,401,347,312,351,360,330,365,359,330,308,291,286,308,464,478,363,267,218,233,270,339,374,393,369,439,455,528,414,347,361,356,321,369,612,887,855,828,691,435,359,324,340,426,371,298,235,205,234,251,278,269,289,288,305,335,343,377,678,1094,1076,1154,1152,720,668,762,1322,1424,1570,1368,739,929,1362,1450,1180,943,807,553,414,552,866,1246,1180,972,1066,1484,1416,869,595,702,638,552,907,1554,1500,1274,951,648,676,890,1316,1172,825,1166,1776,1614,859,470,400,378,378,430,873,1166,1228,763,511,583,675,626,838,1066,746,661,929,1132,915,800,595,507,433,430,447,479,591,670,792,1064,1244,1062,1178,1302,1078,1206,1272,1246,1294,954,490,571,602,565,639,718,1100,1007,697,751,828,880,1009,831,940,1404,1428,1246,1182,1456,1024,570,440,591,560,431,558,912,1322,1260,1064,1062,990,1444,1632,1328,1068,847,538,1012,1932,1600,749,743,1058,1400,1490,1556,1960,1208,700,427,331,339,300,432,745,691,479,552,656,814,1460,878,408,477,850,1364,1508,1020,445,827,1526,1160,921,932,958,990,1166,1266,1444,1324],[448,426,624,728,745,667,498,431,398,465,566,561,520,345,296,276,284,281,285,279,279,288,294,295,265,276,509,950,998,571,738,954,622,552,442,309,330,400,487,525,519,522,562,526,532,534,470,458,464,440,455,494,496,458,441,466,479,456,445,437,401,387,387,430,454,533,517,376,310,343,389,362,340,475,382,314,299,290,325,310,271,284,315,314,325,376,539,540,432,422,339,296,302,326,397,374,282,238,281,319,287,254,246,236,282,247,212,202,201,221,227,213,201,189,202,223,289,435,678,939,988,564,429,429,309,445,725,878,732,607,688,991,1334,1196,1084,1510,1250,601,666,857,913,872,814,844,971,1028,1258,965,926,709,372,379,694,851,964,1146,1044,811,1068,1268,1214,1420,978,636,871,1282,1214,705,641,832,784,787,589,1008,906,428,412,508,1012,1328,1212,1244,1452,1850,1588,1346,1146,1436,1626,1850,1844,1722,1716,1484,1154,1076,888,944,1266,1168,738,728,725,820,1038,610,517,478,277,334,439,666,726,564,1108,1438,632,353,433,514,569,512,578,634,644,910,1122,1238,1422,1372,1088,1328,1532,1402,876,517,818,1098,1232,1492,1982,1918,1688,1104,719,664,722,1048,1136,1140,1210,1158,1328,1190,513,367,453,482,292,279,290,351,412,344,298,341,364,339,350,381,499,619,786,948,1254,1356,1712,1334,888,1300,1362,715,490,586,728,655,1714,2024,1914,1958,1836,1410,1086,1104,1076,722,560,659,647,500,442,497,455,401,400,505,487,496,651,684,667,880,916,1080,1328,1434,1468,1492,1508,1202,1124,1316,1272,1234,1310,1546,1038,1072,1198,1530,1346,1122,908,1198,1392,1244,1258,1124,1132,1222,1094,908,571,692,1250,1122,720,606,582,991,1084,680,801,1080,1494,1412,1122,904,844,985,976,705,1050,1240,1108,1124,1164,1064,1020,1178,1112,1106,1034,1020,932,1004,1200,944,589,553,692,449,648,1068,1148,859,878,581,470,474,762,892,884,905,797,765,745,835,933,1036,1258,1036,938,843,697,861,865,631,518,730,559,616,637,541,897,644,878,1102,1394,1334,995,1240,1282,1005,951,1074,1284,1374,1366,1434,1394,1418,1256,1042,955,726,653,630,527,454,524,1302,1374,1180,604,409,552,532,403,378,342,351,546,665,756,904,1232,1384,1662,1830,1878,1670,1136,849,1178,1400,857,415,508,780,1216,996,877,714,818,1264,1390,1594,1824,1620,1698,1848,1466,1440,1246,755,1009,792,546,600,794,684,353,619,1038,1350,1420,995,1210,1516,1362,1156,930,924,1180,1054,1005,1100,1076,1024,684,657,809,1108,897,864,875,808,677,681,1186,1176,653,404,409,715,647,496,951,1102,1005,753,426,331,354,827,1318,983,545,459,820,1312,938,1074,1216,1416,1498,1096,645,666,1007,1382,1132,913,1262,1364,1282,835,427,623,894,1060,1344,1226,988,1118,1160,827,738,1226,1628,1478,1390,1600,1446,1418,1194,1102,1616,1958,1854,1284,689,462,469,381,365,455,519,511,456,433,500,623,778,1156,2510,2916,1738,1084,969,664,477,572,706,933,1178,1194,984,1082,1184,1092,848,880,721,433,390,429,487,763,986,1064,1240,1208,1238,1382,1164,999,1138,1368,1412,1566,1378,997,919,1050,977,897,1040,1390,1268,1262,943,1158,1714,1782,1724,1792,1670,1298,1410,1606,1264,1266,1306,1726,1606,1080,888,1001,1160,1322,1100,750,813,969,1252,976,1056,1136,1234,1316,1198,809,867,955,1066,1320,1334,1334,1126,1122,1200,1250,1572,1562,1196,996,901,786,575,487,670,731,517,471,465,472,474,414,416,432,425,378,333,277,262,247,240,240,254,227,259,271,234,294,353,392,487,469,305,302,333,280,427,460,419,406,422,437,406,373,409,458,518,646,738,437,361,390,350,334,324,296,428,510,481,377,305,296,276,287,288,305,332,336,497,548,495,409,338,345,347,336,330,328,354,352,379,520,911,645,349,331,317,290,273,267,257,261,279,324,380,376,329,305,314,312,294,310,328,332,352,377,359,361,355,399,468,594,1046,1524,1610,1686,1742,1706,1716,1706,1626,1558,1214,777,661,803,862,1062,1192,892,755,659,558,745,1040,1028,861,1015,1556,1744,2088,1654,1120,1172,1116,1016,848,683,1242,1796,1698,1758,1516,1162,763,608,717,849,1152,1206,1336,1138,761,1090,1498,1254,747,914,663,902,1266,1230,1234,1422,1416,1288,1362,839,535,395,371,346,376,385,535,904,1092,924,1178,1614,1510,692,582,618,775,1442,1158,605,563,572,470,470,448,459,472,478,469,481,502,486,948,1340,1030,660,795,1056,1122,688,395,356,452,499,536,483,576,598,509,399,318,250,257,310,280,309,305,322,315,357,391,331,321,415,475,396,502,668,764,811,883,800,561,401,343,334,343,355,345,319,409,557,503,449,382,325,303,379,443,519,669,954,913,780,939,1001,890,730,926,1122,1030,1074,955,1130,1376,1404,1374,1090,634,550,526,576,541,547,1102,1266,1021,788,861,861,898,681,439,667,847,733,1013,1070,804,853,1032,866,568,569,451,373,442,716,1306,1190,825,861,515,323,313,332,341,488,710,544,379,732,1120,744,714,616,445,349,384,467,785,891,806,786,1112,1652,1432,728,872,491,673,997,543,547,581,692,1014,919,761,913,1112,1018,876,1166,1224,916,948,888,1180,745,960,1112,777,941,1130,1232,1016,1396,1434,1048,1222,1328,1362,1362,1372,1240,1268,1256,938,1372,1524,1238,1052,956,717,774,1312,1720,2216,2354,1962,1768,1512,1108,1106,922,602,472,442,492,792,781,720,988,901,726,686,469,529,842,1336,1458,1076,739,857,984,1084,1108,1108,1058,1058,1015,817,749,1164,1178,1122,885,1244,1214,959,774,831,1140,1236,952,522,720,1144,1294,1198,818,726,897,961,1060,926,696,818,965,952,601,526,835,1064,1072,1106,1068,1104,1126,1176,1188,1062,1024,1078,1350,1694,1600,929,921,1124,1376,1572,1660,1686,1712,1426,1072,1098,1272,882,842,739,587,547,497,458,446,567,792,966,811,532,539,875,1192,1290,1324,1044,747,974,1188,1160,1314,1516,1268,1162,1360,1388,1736,1968,1592,1256,1416,1412,967,621,758,1048,1194,1342,1360,1362,1238,1312,1348,1266,1362,875,540,729,1052,1092,783,633,430,433,553,756,807,512,606,1062,1228,1054,1024,681,283,399,556,881,791,1308,1144,770,708,665,694,966,1266,1202,1082,992,747,1260,1034,698,703,999,1288,1604,1714,1570,1300,995,987,1086,910,882,1156,1174,931,687,528,467,404,374,367,308,297,331,381,358,451,977,1492,962,500,452,594,935,1220,1420,1520,1260,623,486,603,431,368,427,419,463,608,559,547,533,489,979,1298,768,443,415,654,1094,1604,1686,1540,837,482,538,467,424,467,531,522,475,515,529,570,583,629,639,556,479,395,397,518,513,411,473,523,574,551,548,543,548,487,492,528,480,439,458,485,475,446,404,450,479,497,453,430,413,426,451,452,438,341,396,932,1354,1006,788,894,807,651,533,586,493,555,838,1022,1098,1042,1222,1094,1312,1126,1098,1208,1318,955,503,615,1102,1222,1094,1072,991,630,530,592,693,668,586,547,695,1052,1274,1048,1192,863,557,785,1104,778,436,407,415,392,406,406,629,1023,1344,1774,1638,1538,1116,891,1074,1282,1266,1128,1298,1670,2038,1938,1674,1530,1386,1368,997,535,321,283,317,462,781,1048,1048,841,897,916,1096,1302,1086,561,358,549,572,295,255,269,332,327,290,290,460,794,1394,1672,950,455,369,357,341,332,332,374,339,380,624,813,478,350,344,280,363,489,453,353,260,211,245,358,415,399,425,592,659,741,741,539,393,361,426,414,426,607,750,700,433,451,402,382,326,400,473,352,246,230,224,263,308,310,278,271,303,378,445,389,372,690,976,761,1068,1030,681,608,808,1200,1308,1108,1058,1074,1088,1074,940,883,772,593,328,350,786,927,1118,910,781,837,854,928,779,492,512,394,445,836,1416,1112,709,442,396,482,1044,1688,1394,1062,1334,1738,1578,842,483,417,403,387,385,771,919,814,676,549,498,501,437,483,556,931,1108,1100,1598,1538,1110,1015,794,386,356,379,382,464,610,946,1248,1684,968,702,802,776,1274,1554,1538,1166,1104,733,536,576,569,494,463,886,888,667,630,735,1272,1266,1046,963,880,854,1080,916,1140,1170,988,708,735,750,678,818,1130,1724,1152,597,698,890,1478,1330,1018,890,619,499,923,1594,1386,922,860,1464,1736,1856,1764,1834,1186,703,476,417,413,409,411,515,437,417,549,979,1058,1092,673,383,738,1288,1406,1570,1322,858,1007,1486,1266,1074,1226,1094,849,1240,1670,1642,1808],[448,437,583,633,539,466,432,428,442,516,608,561,480,394,354,320,318,316,307,306,329,331,298,310,294,319,477,749,711,811,1038,866,532,503,500,461,519,596,604,547,524,491,407,344,368,513,499,495,468,447,464,477,474,449,419,451,474,472,470,445,426,421,416,424,458,487,460,391,332,357,418,382,394,622,586,376,287,277,272,271,269,294,305,316,355,341,358,310,259,263,262,282,390,533,566,600,546,365,350,324,285,228,207,205,210,197,184,191,200,215,218,209,201,216,247,238,247,469,700,861,759,481,592,727,575,642,492,439,438,800,1126,1208,1282,1144,1138,1230,809,612,678,882,882,842,561,673,962,1050,872,660,589,447,374,406,631,841,865,1144,1272,1468,1654,1192,1268,1472,1116,903,1084,1324,1124,558,733,788,773,918,1056,1216,677,388,405,606,1030,1116,1238,1322,1390,1548,1386,1204,1244,1634,1650,1720,1878,1860,1642,1342,1148,1002,797,1076,1142,1294,1236,1106,946,916,922,661,427,445,353,376,513,502,303,356,739,905,574,421,378,429,402,427,391,431,560,788,881,951,1010,1040,889,1440,1484,1234,922,626,658,943,1264,1440,1762,1580,1158,645,628,685,725,1110,1378,1210,1376,1616,1268,1180,513,333,633,855,541,265,263,320,357,379,427,395,352,351,387,426,681,777,1196,1550,1614,1278,1218,1416,1034,769,888,689,454,470,584,484,1152,1970,2094,1854,1876,1660,1118,1008,1052,855,716,679,503,410,511,484,441,450,437,479,455,385,451,524,789,968,974,1340,1318,1420,1556,1570,1450,1354,1382,1404,1338,1236,1238,1536,1202,1244,1476,1460,1312,1268,1070,1070,958,872,1200,1030,1190,1050,886,1164,1074,927,976,1106,1168,998,664,925,1086,1020,1102,1038,875,1094,1396,1206,988,1330,1072,606,956,1230,1038,1220,1252,1090,1252,1134,1142,985,805,1136,1104,1002,907,886,840,769,959,771,1028,968,915,885,881,713,816,1024,1108,927,1090,1046,878,979,899,828,882,846,1108,1036,946,929,919,822,455,458,430,511,590,630,547,565,797,908,1110,1274,1560,1396,1160,1250,1200,1172,1156,1432,1544,1398,1190,1228,1094,869,658,528,460,374,572,864,771,438,393,795,893,1184,990,707,883,998,517,378,331,437,513,549,719,857,1316,1536,1672,1476,1212,1060,825,964,1340,1090,777,754,767,1076,1060,841,714,658,1278,1776,1546,1644,2004,1968,1932,1962,1638,1346,878,1026,1028,719,813,991,971,718,494,897,982,704,724,1206,1646,1472,1070,1288,1266,1108,1250,1170,1316,1214,866,714,746,876,1046,1176,1094,1166,1214,1320,1176,971,1152,789,352,292,714,1166,1116,968,1226,1042,790,672,421,365,534,1050,1332,955,780,561,972,1346,1238,1230,1192,1298,1358,1007,888,1084,1232,1104,782,455,862,1354,1324,840,444,520,931,1358,1178,1038,1340,1184,1322,1036,720,983,1406,1368,1418,1384,1200,1234,1098,1450,2132,2406,1866,1132,807,724,609,421,374,447,497,534,524,543,550,667,793,1014,1988,1958,1192,858,799,529,451,615,907,1022,1220,992,924,948,1042,1072,888,780,655,503,442,408,466,670,860,988,1250,1152,1288,1290,1140,1088,1098,984,883,1038,969,901,985,1366,1470,1080,1196,1290,1222,1354,1146,1096,1266,1500,1588,1628,1632,1726,1640,1452,1346,1478,1624,1766,1382,770,574,927,1290,1380,1440,1042,1002,1072,987,1252,1162,1108,1326,1494,1090,547,599,888,1058,1180,1260,1380,1132,1228,1356,1288,1412,1330,1278,1058,868,886,923,681,461,568,428,474,474,443,426,415,408,404,370,353,319,241,284,239,252,256,269,292,297,252,315,349,342,438,441,333,260,295,330,282,355,455,474,467,507,531,494,588,592,509,411,501,685,561,357,321,345,343,308,357,468,524,499,381,309,298,283,289,280,290,312,349,346,372,432,390,332,326,336,336,314,324,340,343,390,775,794,427,356,336,318,284,278,269,253,260,300,312,326,335,326,314,320,332,314,302,296,300,334,340,346,375,375,432,697,1182,1600,1586,1544,1636,1730,1760,1654,1714,1460,1012,838,840,798,980,1128,1140,1062,895,959,867,482,443,579,633,682,783,924,1086,1250,1106,1238,1358,1338,1296,1007,797,1036,1648,1730,1764,1532,1136,879,705,552,1076,1384,1158,1112,820,803,912,1006,947,830,833,615,533,805,886,868,1108,1108,1284,1144,647,462,359,393,397,395,395,444,614,673,670,1172,1742,1494,807,835,757,905,1050,692,480,581,560,473,459,437,389,439,478,512,511,495,537,827,1178,1030,562,527,536,532,442,336,360,404,391,388,424,464,433,399,364,283,236,267,285,291,344,299,307,336,338,321,297,295,349,399,387,620,659,794,846,935,997,758,569,524,441,441,427,351,353,408,520,566,536,420,337,316,401,609,712,987,1368,790,447,618,941,965,902,1158,1148,1074,1384,1282,994,882,867,1350,1662,783,547,421,523,329,526,1126,1260,784,791,733,603,926,940,444,488,599,756,1362,1110,610,691,1108,940,594,500,478,509,633,803,879,704,764,774,457,317,357,394,423,660,799,630,571,796,1222,1028,639,551,528,417,330,511,839,755,729,927,1180,1250,1360,935,949,462,525,691,593,949,999,694,565,438,645,1312,1606,1400,1182,1030,529,453,644,883,1034,716,744,794,613,653,865,1202,952,1288,1436,1122,1184,1234,1172,1146,1158,1044,1148,1370,1090,1338,1126,938,835,892,1148,1532,2222,2464,2534,2470,1704,1648,1688,997,548,492,602,795,962,950,795,598,654,707,703,872,750,641,773,621,1116,1382,1144,1134,1248,1210,1108,1122,1360,1312,1198,1158,1021,877,808,1212,1312,972,1202,1312,1074,1168,1160,994,725,784,620,600,895,1116,1118,966,857,747,641,897,1009,918,1012,1240,1288,1120,1013,1228,1198,1044,916,744,861,1030,1096,1100,1048,984,1116,1426,1432,1378,1092,1152,1362,1418,1550,1736,1776,1860,1638,1750,1734,1470,919,710,620,634,549,432,511,783,1388,1914,1950,1222,865,819,985,1044,1126,1260,1068,776,890,1240,1048,1068,1344,1426,1450,1646,1662,1738,1892,1524,1390,1500,1268,1034,857,792,781,894,875,1128,1344,1482,1452,1134,1007,1122,861,709,972,1282,1074,832,623,326,337,613,963,837,437,398,733,905,881,860,959,465,474,473,476,591,1052,1284,1274,1166,893,849,1098,1132,1116,1166,1182,1276,1282,834,680,967,1136,1162,1230,1206,1180,868,828,1260,1224,1028,1180,1028,656,618,775,608,404,397,308,335,340,344,328,495,506,480,627,907,661,537,617,1134,1782,1640,1538,1194,816,538,535,683,604,518,821,672,595,764,604,562,542,569,803,754,646,461,424,509,1038,1630,1792,1336,647,421,475,446,464,499,527,529,551,560,584,551,570,619,570,515,463,398,418,525,511,435,484,497,535,525,546,534,548,575,575,581,564,531,514,454,431,394,405,444,471,495,477,426,397,447,431,411,375,411,645,1562,1810,1007,585,576,695,743,669,551,505,495,682,1248,1236,1144,875,817,883,574,505,822,1194,1198,852,700,735,1104,1120,1406,1388,1096,789,592,637,535,479,469,889,1512,1732,1188,1028,547,319,513,988,1036,681,443,462,442,402,444,888,1112,1218,1926,1656,1526,992,622,557,824,980,762,1122,1214,1498,1742,1614,1274,1190,1282,762,462,546,507,499,631,789,830,1200,1256,910,789,872,1052,966,966,726,596,585,298,283,292,356,311,239,270,429,799,1140,1186,719,341,334,332,289,311,349,406,390,453,1044,1374,764,397,376,309,373,426,381,333,242,228,272,372,417,404,421,786,977,851,619,578,410,500,728,636,657,446,383,383,352,428,491,438,338,346,397,359,254,242,255,285,289,282,306,305,329,527,590,387,296,402,964,1150,1380,1292,779,604,1368,1492,1404,1562,1610,1740,1372,838,669,870,616,389,299,392,980,922,938,914,908,735,638,660,829,624,511,569,633,528,663,672,505,351,406,385,545,731,885,933,726,1086,1428,831,432,384,452,448,448,804,1180,945,923,723,551,479,491,529,719,1266,1138,952,1708,1764,1068,962,1116,661,369,331,341,572,628,791,823,753,561,670,586,525,669,1224,1428,1170,1628,1198,804,697,533,476,556,927,1010,688,673,1098,1522,779,1042,1110,982,1009,905,1014,809,758,1005,1086,912,920,775,777,1058,1654,1001,594,489,557,900,1084,1042,698,690,701,1230,1574,1182,1322,1532,1714,1432,832,1090,1394,1236,907,543,603,733,524,365,339,381,474,720,1146,971,512,455,547,1012,1422,1412,1400,1354,984,925,1160,1122,955,1012,1104,1210,1426,1744,1654,1882],[430,440,522,550,431,428,499,506,499,620,571,428,388,414,429,417,384,342,329,347,362,380,362,389,314,297,279,377,405,732,824,602,545,576,637,637,642,633,529,506,483,463,466,385,392,601,717,687,579,547,483,473,457,469,444,460,456,462,476,482,474,449,427,428,430,422,422,436,419,445,459,446,476,666,707,441,294,277,291,286,290,303,346,345,347,344,303,291,286,250,295,368,529,653,670,583,500,346,245,247,241,218,220,194,181,172,178,191,197,205,205,198,196,208,228,231,323,546,594,611,928,914,621,642,626,432,420,479,594,940,1056,1274,1334,1120,1058,921,586,976,1222,1190,969,695,416,774,1416,1138,563,674,776,481,545,607,914,957,895,1102,998,1152,1212,1102,1278,1220,1166,863,697,811,1092,845,1001,1066,1124,1166,990,828,637,433,375,608,993,1404,1532,1440,1436,1322,1196,987,1023,973,988,1432,1736,1874,1784,1528,1414,989,721,912,1224,1102,939,1306,1484,1088,744,563,489,419,378,318,410,470,349,289,430,418,661,915,674,398,483,569,441,647,601,410,464,872,1094,1148,1344,1394,984,1019,1170,1011,583,678,1200,1538,1256,1152,1324,858,580,819,1062,1500,1464,848,756,1166,1490,1436,746,612,843,1260,878,262,249,269,379,426,388,393,368,357,422,667,1007,1328,1466,1156,1042,1120,795,1256,1494,909,530,443,410,465,644,714,783,1614,2430,1990,1754,1434,844,771,751,872,733,571,645,661,494,412,402,447,484,601,449,385,409,372,549,830,1194,1282,1288,1362,1242,1218,1206,1242,1272,1350,991,982,1180,1122,1092,1374,1626,1488,1400,1298,1312,1316,1128,1156,1532,1300,1212,1072,1072,1356,1306,976,931,1180,1374,1296,846,1118,1326,1158,1182,836,531,761,1192,1378,1128,1242,1034,983,1162,1130,1028,1080,985,951,1242,1350,1396,1120,1078,1230,1130,1078,784,791,778,642,756,958,905,866,833,758,686,962,1140,1230,1106,868,1010,1032,1002,1064,1010,819,831,1142,1240,879,1064,810,700,789,634,529,475,597,699,706,750,981,1104,1088,1158,1180,1074,892,1066,825,922,1232,1150,1274,1574,1394,841,566,519,472,486,443,411,401,471,1028,948,545,549,919,1142,1192,1182,854,840,1134,587,453,476,520,533,614,710,995,1294,1288,1194,854,586,498,748,1128,1086,1040,1188,1140,1018,913,733,626,695,1090,1718,1760,1388,1570,1834,1960,1894,1898,1766,1124,831,962,820,814,933,1386,1310,724,888,1302,1420,864,721,1174,1390,1076,832,1130,1218,1188,1220,1110,1204,1258,976,1070,1168,1130,1140,783,673,913,1156,1438,980,498,533,459,314,282,450,962,1034,1050,1172,850,720,774,602,538,681,991,1268,1306,880,846,1204,1144,1116,1154,1262,1148,1264,1408,1108,918,819,730,697,689,877,1188,1332,905,548,474,726,918,863,1102,1238,879,952,1086,858,811,1082,1162,1346,1324,1190,1272,1494,1742,2142,1868,1032,473,644,930,778,646,694,487,487,492,526,546,563,702,755,890,990,1028,725,469,394,368,408,631,1212,1100,1046,901,924,962,1134,1170,986,955,915,612,542,508,648,741,840,1038,1138,1180,1248,1214,1146,1162,1174,940,844,882,716,713,1048,1484,1738,1224,988,1354,1396,1204,1166,959,962,1256,1362,1104,1354,1654,1810,1592,1628,1614,1522,1356,1212,938,846,759,1068,898,1004,1056,1284,1256,791,1186,1310,1128,1146,1296,998,799,852,1322,1294,1264,1230,1078,1132,1334,1180,1126,1118,1222,1252,971,1017,813,759,745,502,533,442,451,461,429,415,387,355,338,305,365,348,269,269,248,280,314,322,350,340,334,366,343,370,438,351,323,302,343,319,263,312,458,570,548,501,467,428,637,690,550,443,411,566,629,461,379,413,383,364,392,492,556,486,351,322,304,307,321,322,319,325,346,334,314,319,346,332,320,332,336,321,329,329,366,574,841,594,357,340,328,321,296,288,287,266,264,316,326,323,328,322,330,332,332,318,312,317,321,354,344,381,385,398,696,1382,1822,1610,1638,1692,1640,1696,1710,1254,807,725,872,1082,1088,1130,1268,1334,1023,1003,895,962,818,454,319,378,456,477,539,608,560,494,775,1250,1114,1172,1262,1074,1060,1102,1504,1758,1852,1666,1258,1324,1704,1228,1422,1015,781,1076,795,456,434,497,558,734,899,871,810,1132,718,582,843,1023,1152,944,754,709,659,538,441,435,423,434,342,339,778,1388,1742,1398,725,829,1126,1066,1004,639,480,611,494,480,458,408,400,427,453,495,517,546,534,501,719,827,577,413,301,361,404,354,374,432,417,380,375,423,457,480,386,354,304,291,294,280,307,327,352,342,334,337,309,314,316,318,388,486,440,555,722,875,907,677,540,596,675,661,499,498,401,380,466,625,645,491,369,366,424,603,791,934,916,492,350,305,725,1003,841,894,914,933,1268,1288,618,394,428,825,1756,1224,619,393,524,398,560,854,753,833,974,689,675,884,618,395,530,659,626,877,977,746,628,510,523,918,810,592,516,776,1188,868,721,626,536,328,305,397,361,503,788,986,1086,960,978,1136,1196,918,673,517,478,414,462,510,559,703,708,825,753,1172,1298,850,392,544,819,917,1306,1392,931,806,802,1110,1432,1272,899,771,863,888,757,753,947,711,558,397,369,445,602,866,1180,1040,1138,1262,1056,998,1152,1152,1170,1206,1216,1170,1202,813,612,811,1126,1200,1386,1622,1904,2196,2518,2612,2652,2064,1550,1744,1190,589,534,667,680,808,924,757,459,498,476,479,630,501,551,587,618,1028,1260,1606,1930,1632,1322,1086,1022,1362,1462,1226,1194,1152,976,761,925,954,744,921,1372,1464,1256,720,564,429,827,1042,757,768,962,1032,929,777,688,981,1376,1200,1056,1188,1186,1134,1184,1176,1312,1296,1180,1076,705,566,841,1078,1064,1026,932,1080,1430,1334,1034,967,1050,1190,1310,1336,1332,1498,1748,1534,1426,1382,1202,993,901,778,740,861,992,1196,1452,1558,1734,1582,1476,1516,1286,956,796,1058,1230,923,662,857,1312,1542,1560,1500,1396,1640,2016,1894,1758,1804,1584,1640,1540,1380,1284,938,749,638,720,868,1162,1140,1212,1346,1096,1046,1186,1204,1112,1080,639,473,650,423,302,355,536,689,544,361,367,475,767,990,743,664,711,738,573,618,660,808,1180,1294,865,647,698,759,893,1104,1232,1072,1050,1048,951,937,1286,1316,1354,1308,1288,1044,864,1052,1210,1014,789,526,404,620,1086,1360,906,434,405,404,461,522,667,584,724,766,627,539,591,636,666,604,814,1548,1608,1516,955,733,898,751,502,436,501,834,794,681,977,967,810,847,824,694,540,419,349,445,559,783,1318,1740,1554,556,411,364,389,358,425,453,444,478,585,589,462,499,535,519,514,482,381,395,481,472,447,450,435,436,456,502,501,505,543,534,510,626,648,584,454,394,372,395,429,459,493,460,393,419,479,450,448,388,438,578,736,809,680,548,484,505,569,639,676,641,566,560,866,1168,988,633,445,363,317,313,405,767,914,1152,1052,1017,1134,1030,1172,1036,786,624,568,505,472,582,583,919,1466,1424,810,469,321,408,993,1382,1066,692,456,499,530,346,411,568,792,1146,1432,1568,1440,888,803,654,987,1282,1040,1072,1013,1292,1326,1174,1178,1360,1170,617,710,1100,1050,829,781,851,1056,1384,1086,861,598,800,834,761,1178,871,681,440,330,283,310,341,316,248,256,368,562,819,849,515,341,346,340,295,451,399,404,483,782,1342,1310,838,634,367,315,367,424,390,334,274,289,345,368,472,545,531,854,1156,813,410,404,465,749,834,730,778,485,338,406,460,623,691,631,307,327,340,347,276,298,293,295,293,262,278,298,281,334,355,335,347,358,702,1026,1146,1300,994,845,1424,1510,1422,1576,1566,1500,1200,850,536,531,467,421,323,274,317,616,1020,1238,1252,761,753,527,766,861,672,619,693,608,603,941,949,491,458,375,336,374,680,755,593,904,1086,727,450,422,659,1024,805,1100,1472,995,736,656,713,725,590,675,1002,1308,1008,739,702,833,1019,1044,1116,1032,529,379,645,1023,861,743,664,532,603,652,493,473,513,874,944,1428,1610,1354,1376,1274,775,739,1100,1338,1102,612,656,921,963,649,1090,1358,1310,1114,987,794,650,611,689,1146,1548,1302,754,623,720,963,904,708,508,490,527,825,1058,967,952,598,724,1066,1332,1448,1472,1530,1288,965,905,786,557,473,482,554,543,426,324,308,362,468,745,1234,1308,1132,1180,1214,1072,1072,921,775,1234,959,712,1052,1268,1260,1044,1142,1280,1182,1150,1142,1236],[404,391,468,545,430,436,424,417,474,642,579,428,378,438,441,388,361,378,404,432,456,482,453,435,335,366,388,478,655,971,940,720,767,842,833,793,768,742,586,486,489,451,513,456,414,615,602,550,754,727,612,495,464,488,475,454,484,506,458,425,425,432,433,434,440,446,458,462,453,440,416,444,521,677,589,378,294,268,269,265,287,320,329,335,328,302,272,309,341,275,328,499,631,612,570,483,484,412,307,238,201,188,199,191,197,185,180,182,194,198,200,203,204,204,224,289,390,400,319,406,963,1112,813,597,561,464,509,679,981,970,811,1284,1258,919,930,494,499,1166,1290,1310,1384,914,621,1154,1714,918,460,575,589,339,581,745,892,1080,1182,1330,1166,941,993,1100,1150,771,718,675,439,548,902,965,1160,1230,1230,993,628,592,609,502,432,447,645,1044,1162,1154,1186,1128,1186,1122,693,514,754,1182,1604,1676,1938,1892,1786,1410,1018,744,828,671,641,990,818,536,350,336,283,294,378,314,321,364,341,352,405,467,812,1166,980,1118,749,495,496,837,722,473,432,623,593,607,1202,1222,727,867,1266,1284,1126,983,1418,1444,1040,1162,1019,899,708,808,929,1110,1076,951,781,1420,1804,1588,1018,692,836,950,565,280,261,318,437,457,365,348,434,634,822,1166,1570,1742,1466,821,645,1009,571,841,1472,1460,872,648,797,656,694,948,714,1054,2344,1978,1310,888,686,703,834,1090,988,707,726,665,394,375,447,513,561,474,414,400,349,381,430,819,1262,1368,1512,1274,1080,1060,1094,1220,1310,1058,735,720,1168,1300,1014,1166,1422,1448,1490,1188,1258,1524,1290,1338,1466,1244,1260,1180,1228,1358,978,658,944,1248,1052,1164,860,973,1236,1062,1116,800,1020,1238,1306,1200,1007,1212,989,1114,1164,1294,1460,1068,855,1028,1378,1290,954,876,899,982,999,948,754,759,693,616,732,950,1048,878,669,664,485,752,918,1048,1016,1090,1184,919,888,1100,1066,1018,1154,1144,1036,884,1326,653,727,1022,959,650,866,1346,1270,1110,1058,1018,1140,996,1260,1224,998,722,1100,902,933,1126,1072,1158,1438,1296,831,448,440,437,469,446,389,378,411,696,604,425,476,774,953,874,1086,1040,517,659,569,435,484,549,587,661,689,818,941,834,765,669,615,593,814,1126,1150,1266,1210,901,865,1013,835,683,1232,1532,1762,1692,1428,1186,1328,1700,1712,1762,1772,1366,1013,767,794,678,776,1020,1048,1060,1628,1472,1666,1410,1102,1342,1234,1028,988,909,857,871,918,987,1114,816,794,1274,1246,952,798,469,469,672,1015,1142,590,454,405,285,310,314,681,1058,971,1026,1126,1142,1021,867,758,912,1021,1074,1186,989,624,959,870,583,959,1564,1500,1264,1258,1316,874,600,539,767,1038,1204,1264,1038,890,863,785,1028,1114,974,1382,1654,1390,1018,869,1082,1080,1016,1226,1324,1130,1170,1316,1340,1390,1340,1406,1204,724,514,815,1176,943,1078,976,543,545,586,593,552,581,647,735,867,959,809,480,370,360,386,394,459,851,868,709,680,723,866,1228,1344,1104,1034,1130,839,619,642,813,756,794,1064,1188,1104,1114,1200,1010,783,962,1394,1422,1066,661,771,1278,1532,1448,1220,1294,1464,1166,1056,1294,1028,1108,1554,1250,910,1184,1310,1560,1738,1764,1622,1472,1400,1406,1440,1190,1090,1438,1076,968,1162,1268,1030,1154,1324,1226,1228,1240,1230,1404,1256,1154,1346,1262,1398,1310,1064,1272,1268,1142,1148,1054,1148,1306,1180,1104,602,490,908,677,415,415,456,448,414,429,446,392,372,354,325,268,276,291,325,348,358,373,348,299,301,388,351,422,386,293,272,298,322,295,263,323,497,625,615,548,452,360,521,608,572,491,372,455,595,529,478,488,415,390,381,618,880,700,413,341,317,309,314,320,319,319,330,337,337,348,374,367,346,342,332,332,346,345,440,765,804,431,354,325,325,316,312,307,302,287,282,314,330,338,350,320,330,335,326,327,327,346,373,368,370,389,477,882,1432,1772,1952,1754,1748,1758,1672,1444,1050,764,846,1094,1328,1220,1096,1048,892,1005,859,859,829,795,526,404,326,393,545,451,461,655,556,525,1046,1484,904,657,811,849,882,1140,1480,1650,1862,1776,1414,1238,1998,1152,762,850,785,747,756,602,414,483,490,673,1200,1126,890,624,457,916,985,952,1304,1150,810,701,683,559,547,452,525,712,610,719,814,962,1086,1028,721,813,979,769,1068,709,444,626,547,483,448,418,426,427,444,467,480,534,753,1028,680,423,562,504,451,470,581,705,815,764,707,806,750,795,730,615,505,387,321,346,336,307,317,372,377,331,367,369,324,326,358,335,330,335,343,380,495,644,612,458,472,441,555,619,479,482,405,346,417,572,565,407,372,395,408,466,548,441,336,355,383,328,401,538,469,521,784,866,658,642,534,348,378,397,610,1210,748,317,388,393,534,593,673,990,835,726,1046,755,390,307,382,456,393,451,587,569,555,541,608,1332,1848,1112,539,580,1082,1306,1088,621,384,281,321,388,604,1028,949,1134,1232,1104,1144,1172,1064,1007,830,494,459,481,441,355,363,442,662,1138,951,821,1412,1354,694,833,1038,749,861,1180,1030,991,1070,970,833,868,839,753,938,1432,1090,876,1086,879,703,507,692,745,1372,1482,1268,1108,1090,1298,1164,1044,1170,1230,1196,1152,1130,1062,1216,1080,872,1164,1184,918,1088,1434,1790,1838,2050,1972,2150,2010,1610,1572,1180,670,807,834,539,519,725,699,434,497,855,998,967,674,763,1001,1144,1304,1356,1374,1310,1196,1282,1182,1194,1342,1230,1132,1334,1224,1036,1130,1016,723,699,959,1336,1254,1072,761,469,457,583,579,491,537,819,867,656,750,952,1210,1028,1080,1088,943,743,962,1114,1136,1176,1108,1068,1096,915,874,920,1092,1078,946,814,852,988,1118,1262,1350,1186,920,1100,1122,1106,1172,1548,1616,1476,1274,914,694,610,717,1030,1350,1622,1622,1792,1648,1444,1116,1754,2224,1656,830,639,821,1058,683,515,663,819,1282,1746,1736,1544,1582,1648,1628,1766,1738,1482,1610,1550,1358,1352,994,715,610,652,1088,1442,1432,1456,1408,1240,1252,1276,1282,1120,827,424,336,300,261,387,381,321,332,360,372,372,501,714,795,783,803,1070,1126,947,893,614,511,921,1322,643,521,591,451,471,930,1152,952,581,778,1050,1386,1742,1498,1372,1338,1374,944,661,852,760,846,849,573,812,1218,1188,1144,855,582,427,416,650,833,1154,1001,745,769,1032,980,724,622,558,477,442,753,877,976,785,886,1322,877,384,484,644,599,677,852,1028,1158,1160,1172,872,844,724,437,366,450,452,532,810,1228,1418,660,430,362,392,433,437,412,425,595,761,568,406,485,566,519,473,438,377,415,477,465,430,373,390,457,480,411,427,418,412,422,461,591,617,563,465,378,345,403,428,386,395,392,319,400,426,434,474,457,570,709,739,774,711,561,491,509,495,472,555,710,673,579,588,648,806,728,337,254,266,271,454,625,465,401,634,1028,1202,962,1028,1013,560,490,453,504,516,662,675,602,844,1178,1050,605,348,358,698,927,748,786,641,469,397,314,631,524,621,1196,1208,1094,952,686,1290,880,1194,1180,1118,1152,1122,1406,1482,1104,987,992,976,980,1010,975,954,1270,1388,1390,1248,1296,1300,1210,948,1050,818,537,598,507,612,352,260,274,274,288,265,242,255,328,484,601,539,470,378,380,406,624,797,754,777,729,777,995,974,933,956,449,343,373,334,390,334,268,297,401,452,832,1146,830,1044,894,526,493,462,486,541,588,577,712,607,504,587,627,653,499,488,336,365,353,314,316,340,309,285,290,287,308,295,265,254,310,357,394,370,524,801,798,763,924,1094,911,886,1015,1378,1394,1152,939,863,829,620,764,904,655,360,451,648,803,835,875,938,1130,938,1078,1124,807,547,578,660,702,731,755,470,455,375,347,393,618,758,767,1046,1468,1178,544,487,854,1390,862,939,921,642,425,335,510,708,894,1078,1224,1002,667,717,531,575,751,910,780,1062,954,668,694,810,798,669,486,469,607,572,466,490,443,331,520,764,1136,1644,1768,1200,1021,1378,1608,1748,1034,563,543,633,681,796,906,1286,1494,1236,1296,883,680,581,895,1420,1134,998,1054,882,875,1220,1392,1172,876,795,533,543,811,1322,1058,516,464,995,1152,833,949,935,506,444,477,490,494,475,463,473,415,458,544,678,913,1028,1056,1236,1170,855,924,1436,943,1262,1132,695,1278,1262,675,949,1210,1284,1060,1122,717,655,742,1026,1154],[403,415,443,473,455,486,416,412,512,583,636,517,384,425,399,383,386,389,403,440,485,511,533,582,595,635,651,593,625,700,675,711,799,839,830,804,832,764,560,441,443,411,361,356,559,825,778,622,750,828,747,686,626,552,504,493,468,487,444,438,495,402,449,435,423,395,430,470,442,388,359,387,462,643,472,395,327,293,271,266,297,339,381,349,299,304,251,304,365,372,336,474,569,497,417,482,525,440,317,210,206,175,173,183,194,185,167,171,192,202,212,225,225,254,282,319,346,372,272,266,648,875,850,562,518,639,527,650,844,764,536,898,946,849,769,661,915,1158,1068,1580,1562,1040,923,1018,836,463,486,397,287,390,952,1312,1252,1510,1664,1590,1182,1048,988,979,1310,1138,1070,925,742,853,849,807,1022,1200,1148,935,727,570,583,570,600,724,572,655,913,882,1062,1108,1216,1366,638,392,499,1092,1778,1656,1868,2038,2004,1612,976,709,816,808,788,923,696,410,330,313,279,319,386,386,318,280,307,332,415,725,932,1052,942,1844,1254,647,794,789,528,482,513,637,549,637,1042,988,973,852,1018,1102,1120,1478,2194,1340,878,1118,1032,1232,1018,977,926,1024,1086,1230,1068,1242,1240,1312,1374,1001,459,287,246,278,246,380,427,439,381,444,617,735,980,1318,1428,1644,1608,1124,819,1058,614,535,1086,1502,1314,1100,981,897,657,684,545,567,1404,1442,995,807,870,764,724,763,679,659,770,511,400,374,484,504,531,594,569,430,390,476,440,558,756,1072,1340,1048,1080,1082,1046,1488,1284,714,781,844,1054,1252,1168,1450,1332,1170,1236,1150,1334,1432,1318,1218,1122,1272,1464,1194,1082,963,1012,864,728,921,1136,1234,1102,1158,1023,960,987,1132,1438,1676,1352,984,883,816,797,1018,1750,2156,1650,1108,835,929,1202,1250,912,1070,1202,1218,1178,1012,967,941,827,887,946,1094,1120,947,500,637,461,524,649,828,1058,1172,1072,832,939,1058,962,1062,1164,1006,998,1138,1308,815,747,717,895,923,1010,1394,1474,1458,1266,1282,1716,1126,1178,985,1226,1184,1496,1404,1013,1094,1160,1246,1418,1326,1140,637,435,393,413,511,561,734,842,566,426,347,413,448,478,628,1096,1300,668,857,746,619,600,511,590,640,618,648,832,763,743,756,685,569,648,929,1088,1098,1009,899,785,1112,1084,1017,1178,1094,1470,1372,1412,1292,1422,1498,1382,1568,1776,1754,1340,822,1048,966,901,890,724,962,1376,1308,1428,1354,1256,1386,1172,1340,1426,1340,1064,727,670,836,896,684,819,1294,1208,1166,899,673,551,866,1116,788,506,690,682,427,343,609,1009,1028,910,806,662,930,1108,940,805,1040,889,852,1250,1310,1062,1023,464,339,666,1432,1464,1424,1406,1490,1282,1116,960,976,1284,1200,1324,974,1032,1220,799,1124,1300,1316,1442,1428,1276,1240,1244,1266,1198,1188,1434,1382,999,1164,1418,1380,1236,967,998,1009,1005,887,1028,1350,1140,974,641,544,576,622,625,615,633,713,890,920,864,827,528,339,366,364,359,374,383,397,413,462,558,771,1134,1100,1262,879,957,908,808,828,789,781,812,872,1072,1284,1252,1013,906,983,821,1044,927,880,716,974,1250,1124,1204,1320,1426,1272,1016,1514,1864,1426,1418,1290,1060,1178,1256,1148,1028,1316,1616,1840,1698,1518,1266,1304,1188,1266,1344,1122,926,1116,1144,1076,1232,908,672,732,1216,1128,1354,1220,1120,1208,1210,1418,1328,1034,941,1228,1306,846,850,910,1130,1192,1001,661,534,543,433,375,413,487,472,448,431,434,435,396,363,324,306,315,370,409,395,383,331,300,300,294,403,430,424,336,281,296,301,292,292,274,313,453,573,636,503,323,325,467,502,553,547,478,482,563,488,432,407,393,391,478,883,1108,757,419,350,324,314,318,314,304,315,322,332,340,347,385,342,318,350,340,333,350,352,512,865,621,359,332,331,318,317,328,328,320,310,314,314,312,319,348,305,343,362,337,339,357,386,398,402,415,521,919,1456,1698,1864,2032,2104,1862,1674,1190,662,537,965,1372,1316,1274,1218,1316,926,506,795,769,683,749,691,502,448,352,403,664,631,452,635,643,627,730,966,962,742,734,846,966,1208,1180,1454,1824,1802,1512,908,1134,936,796,925,952,857,769,738,494,529,508,886,1524,1268,951,586,576,915,915,1038,1044,929,1012,646,477,684,781,581,799,1346,1094,945,850,691,767,931,781,478,562,957,1320,815,420,662,728,678,519,417,430,461,485,538,562,656,868,1054,827,564,695,885,861,830,992,1064,1078,833,1038,1266,1218,1140,875,676,501,342,367,424,390,392,379,382,360,313,327,339,318,352,393,351,328,335,334,330,384,444,416,442,481,428,396,488,495,418,371,386,385,393,413,351,328,358,366,377,388,360,386,364,309,295,285,301,395,480,625,897,769,440,331,339,351,339,384,560,421,273,341,485,587,436,562,769,498,554,713,455,338,322,334,380,451,477,512,515,610,849,925,1518,1738,772,307,330,566,1044,1001,458,314,326,402,418,728,1210,1394,1268,1058,1050,1078,1108,1110,1084,899,675,559,736,723,554,483,642,1002,1332,1080,914,1346,1582,1328,1066,787,647,731,1164,1212,962,974,1164,1182,955,1060,1078,1038,1122,691,709,697,577,679,764,795,729,1222,1030,843,1023,940,1410,1318,1348,1178,1018,797,928,955,909,1178,1328,1266,1426,1308,585,601,1170,1602,1354,1362,1484,1456,1216,1204,1332,1128,893,641,517,803,1234,1204,1024,868,873,1032,1016,821,692,844,778,914,1136,1236,1294,954,698,1142,1238,1042,1038,894,855,1136,1020,908,1128,1072,686,541,885,1132,717,1030,1046,631,576,584,584,462,588,642,532,536,756,1314,1398,1038,1082,1204,1210,1218,1250,1134,1102,1018,1102,1042,846,759,771,804,949,1026,807,716,826,789,1118,1364,1272,1146,797,896,992,1002,1092,1528,1750,1522,1042,687,818,814,1072,1374,1440,1440,1434,1678,1936,1708,1412,1726,1972,1498,803,574,691,890,839,786,677,586,622,897,1308,1548,1534,1500,1560,1720,1466,1432,1592,1598,1298,1356,1070,730,629,713,1178,1536,1438,1330,1212,1216,1430,1602,1300,842,663,541,470,505,660,673,475,357,311,352,406,388,584,578,566,686,867,1196,1160,1024,906,548,338,656,1332,891,528,505,444,365,529,786,676,368,357,509,986,1316,1342,1244,1286,1418,1046,872,901,576,584,819,1056,1278,1604,1546,1066,672,528,462,681,1190,1316,1042,732,645,611,871,707,617,591,526,532,565,673,760,777,863,1162,907,407,408,659,901,518,613,897,1040,1092,1146,1112,813,1154,1218,860,511,451,414,418,459,852,1186,605,387,397,455,598,586,488,586,686,498,396,502,562,586,489,468,492,426,415,439,422,382,367,418,558,611,546,583,502,414,410,434,437,480,525,474,387,374,444,437,401,351,325,338,399,404,430,477,496,640,752,771,790,774,664,586,462,458,488,489,509,605,695,702,647,700,485,299,273,306,410,828,924,516,300,433,880,845,551,852,947,897,739,607,750,790,824,1090,1034,649,869,1072,683,346,318,405,829,981,1110,699,529,455,430,747,746,919,1572,1444,674,529,642,1180,839,1152,965,855,833,796,1348,1310,673,559,469,705,929,972,758,798,1060,1394,1248,1112,1400,1488,1246,1142,1042,631,651,598,769,607,352,245,209,231,276,272,258,272,323,423,384,538,732,529,422,501,1015,1116,1021,1272,1168,495,434,483,531,586,446,409,421,395,425,348,328,373,471,573,757,986,835,807,625,493,526,580,556,659,805,831,938,787,596,604,625,483,400,390,412,387,312,321,327,338,370,314,241,224,283,274,281,276,280,318,372,383,393,413,450,568,829,1030,907,1010,949,1108,1562,1356,959,1150,1046,641,637,760,861,640,822,988,1074,1150,1306,1298,1448,1360,1238,1338,1114,763,762,1028,885,482,493,463,374,495,466,359,625,771,651,791,1080,788,448,458,562,758,581,590,1264,1100,520,436,399,544,877,1001,962,666,560,562,298,422,519,665,948,1272,1362,1248,841,634,732,740,586,411,407,529,511,623,563,436,489,436,724,1572,1500,697,1036,1660,1462,1560,984,537,813,1302,1142,766,772,1342,1342,785,916,1236,1094,938,1140,824,484,586,882,1262,1608,1626,1396,1064,1384,1376,827,517,499,730,594,493,680,1152,1108,509,672,591,478,451,444,479,650,663,667,927,1126,1076,962,816,745,741,789,971,1190,771,841,952,883,1672,1588,720,1074,1114,547,743,1262,996,983,1432,918,788,1318,1542,1296],[417,458,447,466,443,430,372,403,456,457,505,473,384,387,392,395,403,438,494,537,547,539,536,514,471,491,588,619,689,690,697,725,802,843,865,797,693,579,459,394,379,361,319,342,621,756,633,789,1022,1294,1122,727,695,719,562,487,455,468,506,462,421,412,490,447,385,352,373,412,412,371,366,398,387,499,406,404,335,307,296,267,302,336,393,376,311,298,290,328,350,395,364,344,337,353,390,419,432,428,353,207,188,173,183,183,176,172,172,184,206,230,270,269,292,309,361,437,451,417,326,254,411,713,849,625,877,1250,1040,864,935,946,647,675,736,909,901,933,1096,788,725,1012,1001,1154,1244,1172,852,816,1222,841,421,589,1108,1268,1312,1502,1628,1810,1556,1294,1228,1192,1324,1130,1144,867,617,880,1432,1372,1180,1556,1458,938,744,764,555,386,478,639,532,550,701,740,675,796,1382,1732,808,407,631,1432,1654,1394,1532,1670,1864,1932,1494,1005,1228,1216,680,539,446,378,296,270,270,320,394,332,233,253,289,332,401,625,821,896,954,1324,887,661,1070,1138,854,602,634,991,768,935,735,926,1144,912,659,808,989,1260,1188,795,920,882,941,1032,1232,1108,1014,1013,829,739,769,966,1058,1380,1388,1114,651,368,345,306,294,429,514,609,706,716,622,558,711,1218,1320,1544,1714,1476,883,636,850,1088,920,935,1172,1306,980,913,822,946,648,444,693,904,948,864,854,873,809,683,661,875,1020,708,502,409,423,417,466,559,552,457,462,433,388,386,395,685,1002,684,918,1476,1104,1354,1418,880,1304,1550,1354,1172,1288,1466,1050,1102,1040,1370,1240,984,1044,843,919,1606,1652,1032,999,1034,950,1038,993,778,971,1116,1368,1506,1302,1028,1106,1306,1274,1528,1334,1124,960,630,712,955,1382,1434,1218,731,594,999,972,1360,1434,1616,1458,1266,1162,1108,1036,877,987,1100,916,915,601,706,605,935,680,659,629,561,660,828,779,795,1036,905,1074,971,1016,1108,1176,1326,1152,939,794,539,758,964,1062,1440,1426,1134,1011,974,893,697,698,859,1216,1078,1196,1306,1250,1492,1454,1534,1344,1009,973,775,503,350,467,866,861,886,1024,434,393,528,605,423,482,704,963,1288,875,516,598,844,844,482,539,577,559,581,710,775,794,781,709,632,640,878,1106,940,865,1020,811,1028,1156,1162,991,1208,1570,1360,1528,1670,1538,1362,1314,1406,1772,1804,1726,1110,1482,1390,892,899,1005,956,1028,1344,1542,1500,1412,1618,1612,1434,1186,1184,1050,893,1198,1198,791,744,926,1278,1078,1454,980,755,544,703,1007,932,650,427,468,424,444,1001,1838,1822,841,503,522,669,1190,1054,1082,1278,1062,1062,1240,1250,991,662,404,416,677,1566,1476,1132,1112,1302,1218,1180,1206,854,648,1130,1168,1072,1434,1050,748,1032,1270,1470,1614,1430,1288,1358,1444,1228,1292,1400,1516,1330,1320,1424,1324,1190,894,780,935,1044,1206,910,1034,1116,1013,740,543,516,559,633,694,728,772,818,851,833,863,775,469,321,349,340,308,305,272,263,305,318,418,755,900,803,905,822,784,926,1230,1108,882,892,904,816,907,1228,1152,836,717,738,621,524,481,753,949,1120,1084,1023,1320,1023,1038,1278,1442,1794,1758,1544,1290,908,1052,1416,1542,1208,1374,1416,1616,1734,1934,1816,1614,1584,1504,1378,1336,1256,1160,1162,1106,1342,1274,882,943,995,1308,1350,1160,1060,1158,1202,1088,1114,1232,1090,555,968,1050,608,787,997,1182,1004,695,616,525,393,354,379,384,458,473,483,456,429,465,467,382,308,300,344,384,394,407,383,344,331,331,383,472,419,351,318,321,336,321,288,296,302,272,318,385,406,396,378,336,371,402,443,523,544,482,518,508,366,325,307,333,714,959,836,573,441,395,349,332,292,291,301,329,324,326,350,365,378,356,342,358,354,326,336,380,548,907,565,338,332,324,320,320,312,315,332,329,337,328,323,306,311,333,369,366,342,339,394,457,411,421,532,1018,1432,1512,1684,1836,1810,1572,1212,907,737,854,1378,2204,1796,1434,1236,1252,1300,1118,832,818,735,626,727,865,860,782,419,408,722,862,516,642,1100,1174,775,885,1023,789,902,848,1210,1350,886,1228,1704,1782,1682,1086,811,904,988,918,706,721,1042,1154,843,1012,1264,1380,1274,1236,1118,761,506,653,894,1068,1038,1282,1318,727,464,836,1076,788,807,1228,982,899,1116,1260,1456,1550,1108,466,555,965,1266,817,433,503,645,695,747,749,598,522,492,593,619,890,813,620,685,797,817,913,1024,1148,1310,1074,952,921,991,1046,1122,965,524,230,253,295,315,303,338,382,402,336,318,312,318,349,342,401,425,341,330,336,340,323,337,388,418,447,485,416,390,443,487,459,413,448,361,272,304,346,316,346,400,441,464,444,423,369,270,265,248,229,305,445,478,599,534,386,360,347,331,304,294,295,367,637,692,673,523,434,853,933,598,452,433,429,351,343,368,484,901,988,820,737,587,932,1032,1344,1096,479,389,332,337,482,356,311,321,345,397,371,458,809,1094,1064,1128,1218,1182,1046,1156,1102,683,929,1066,1358,1194,793,651,742,1028,1168,1298,1412,1382,1460,1466,830,1050,896,679,910,902,579,723,1144,1090,719,694,729,738,597,497,483,445,625,1056,883,516,446,506,521,754,849,739,1346,1448,1548,1074,948,1018,1026,1050,971,856,952,1246,984,717,535,462,711,1020,1178,1418,1572,1294,1108,1306,1340,1220,1272,816,466,584,768,811,1192,1088,791,672,696,610,793,839,546,869,1046,1306,1332,1080,1028,975,1058,1226,1112,746,667,968,1020,1082,1228,1224,888,588,925,1114,815,832,1010,1038,790,820,1023,657,704,629,700,572,611,804,813,1058,1082,985,1412,1582,1474,1206,1102,1180,1058,1002,861,723,988,1108,1026,990,749,690,780,921,1052,888,750,810,879,836,929,1070,1338,1606,1802,1736,1476,922,915,1528,1828,1696,1398,1240,1384,1566,1700,1514,1342,1306,1270,1260,785,789,1019,1104,1238,1140,764,606,606,543,671,800,1104,1320,1550,1724,1362,1390,1676,1572,1354,1346,945,659,716,711,987,1286,1216,1076,1150,1318,1368,1390,1224,726,525,590,681,733,1064,995,541,424,383,348,528,528,547,583,664,697,928,1288,1210,1222,1158,976,763,596,1174,1152,634,495,746,771,482,432,395,311,350,330,372,457,719,1154,1234,1268,954,824,894,846,896,796,899,995,1138,1276,952,695,555,790,937,1036,1362,996,539,754,945,600,467,487,543,537,537,611,780,879,873,883,734,523,467,421,685,1144,855,846,976,1060,1017,1248,1032,831,1112,1134,1292,938,577,538,455,444,662,645,372,359,418,583,749,597,565,814,714,442,496,543,536,554,561,565,586,539,465,467,438,372,360,424,477,525,517,519,509,466,459,477,464,464,492,463,456,478,489,472,435,383,387,372,344,359,429,478,547,738,844,835,795,748,699,630,467,429,412,388,436,481,558,635,580,522,440,337,306,343,462,631,607,410,316,677,1000,814,468,424,769,833,847,1007,1090,1288,919,655,826,813,971,1134,960,386,336,434,596,954,1208,1118,1064,877,613,583,454,494,927,1118,482,361,385,549,797,1054,957,1028,802,684,1166,764,426,361,325,376,601,496,581,709,999,1274,1036,781,1034,1242,1138,1072,975,896,976,892,880,561,436,494,477,237,281,255,298,326,350,352,399,513,826,783,499,628,1060,1084,996,1388,960,370,401,536,436,437,859,1086,715,540,472,424,524,508,535,738,875,1322,1182,731,654,544,496,646,729,949,1144,1358,1090,1074,876,842,681,491,410,393,418,345,324,421,383,356,411,344,265,255,290,296,290,297,285,308,382,397,354,341,448,656,839,985,999,1092,1122,893,964,1034,1094,1416,1298,556,306,701,1284,650,946,1278,1400,1450,1544,1372,1216,1102,1162,1408,1264,911,761,933,819,462,381,438,395,642,635,398,564,575,469,601,765,648,927,896,827,756,612,1094,1808,1488,1032,565,461,582,447,559,855,878,832,558,362,452,613,664,1076,1370,1328,1474,1308,973,985,1520,1396,674,388,533,632,654,583,559,496,380,553,962,958,769,1382,1702,1426,1362,1060,615,954,1400,1026,571,772,960,656,480,577,896,1220,1468,1108,563,673,657,664,1102,1302,1544,1228,861,1322,1356,1178,925,641,703,644,556,742,1274,1426,805,771,560,549,673,883,1180,1280,1210,1100,1114,1090,808,484,362,351,422,1062,1534,1460,827,664,857,918,1088,857,801,836,752,595,865,1636,1106,959,1512,1164,949,1466,1668,1462],[439,427,387,374,367,371,392,398,368,394,513,460,443,465,498,496,482,535,547,508,488,460,426,401,426,467,586,647,664,659,674,700,686,637,650,586,424,335,328,371,355,337,314,442,550,460,456,557,810,1178,1372,1338,744,564,556,506,541,541,535,469,389,448,506,439,365,303,326,348,375,384,379,382,332,480,509,403,333,315,313,325,323,359,372,359,331,300,309,321,313,340,341,291,297,337,349,375,382,409,368,233,180,177,200,200,185,187,200,219,239,260,362,320,297,263,306,367,339,271,253,259,411,818,1026,870,1134,974,1080,1130,1186,973,982,1076,1260,1516,1308,946,879,543,568,727,1084,1224,1344,1266,1164,1086,1338,913,358,473,649,827,1198,1284,1636,1882,1534,1618,1618,1564,1246,830,714,840,968,1004,1472,1598,1522,1778,1670,1174,935,684,563,681,606,403,405,507,861,1078,783,656,728,733,616,777,758,935,1424,1476,1396,1230,1482,1710,1880,1776,1672,1330,716,482,441,377,344,342,297,325,306,303,336,357,345,521,904,925,865,894,1108,1534,1538,1222,1158,1284,1126,973,883,1026,840,657,742,1112,1268,1048,635,520,813,1208,1132,1302,1220,894,1060,1250,1096,813,971,870,647,692,910,795,761,1224,998,754,591,409,377,377,418,582,748,779,680,463,449,505,580,1070,1188,1428,1678,1598,1282,1078,1404,1344,740,856,966,1342,1446,1014,777,977,675,650,894,984,1224,1572,1308,1180,1080,1056,775,1034,989,996,629,365,360,377,525,591,438,367,417,505,395,380,405,453,597,651,1066,1342,1076,1392,1698,2092,3094,2302,1836,1414,1440,1360,1310,1174,1212,1554,1450,1384,1394,1224,835,918,976,884,1110,1512,1012,926,1116,885,818,970,1222,1470,1736,1592,1460,989,576,936,1260,955,925,1016,1086,1284,1240,1210,1256,866,722,883,705,1306,1622,1600,1434,1272,1224,1122,965,877,1012,985,855,761,804,998,996,991,852,803,697,735,868,804,793,814,976,1013,1174,954,1038,1018,960,1120,1154,1026,781,520,481,597,930,1256,1378,946,932,843,664,668,846,1356,1406,1164,1136,997,994,1356,1322,1366,1156,733,582,737,636,381,409,655,860,1144,1360,634,582,768,835,827,615,530,519,887,1048,633,489,685,653,578,538,511,547,648,720,852,836,838,830,721,618,733,861,963,1023,1054,801,1122,1182,1576,1618,1632,1594,1332,1514,1488,1444,1176,1354,1514,1480,1536,1802,1500,1426,1250,929,787,882,689,847,1056,1534,1606,1394,1418,1464,1240,976,901,834,784,987,1052,1224,1054,975,984,850,596,601,755,689,784,989,973,731,674,557,695,482,772,1270,1410,858,653,697,918,1098,1001,1266,1366,1302,1328,1013,697,938,747,432,662,1158,1362,1056,717,859,1216,1334,1162,1240,815,525,782,959,1334,1430,1144,1244,1416,1296,1308,1416,1362,1478,1484,1478,1376,1290,1376,1434,1360,1474,1350,1242,1326,1156,761,619,548,869,1032,975,814,765,669,551,539,627,705,838,926,922,832,799,741,621,484,342,275,281,273,254,263,256,234,296,296,330,578,628,700,725,846,926,1158,1294,1172,1088,1036,1034,1046,1001,1108,1062,883,954,1058,691,444,410,648,1046,949,883,1021,1021,879,1000,1368,1592,1708,1682,1528,1310,1268,1376,1704,1824,1574,1620,1494,1604,1396,1484,1860,1880,1774,1496,1480,1678,1560,1306,1454,1538,1192,898,917,1178,1306,1334,999,818,1023,1054,779,740,1228,1404,1362,963,1138,1020,651,644,638,507,361,390,457,413,395,363,398,426,455,426,452,467,458,473,479,393,250,263,339,375,366,424,419,360,349,372,449,453,350,304,316,315,303,316,289,306,320,315,341,318,330,456,412,285,299,305,406,600,598,518,501,547,471,363,322,352,605,739,681,580,480,429,373,339,290,308,321,323,336,328,340,365,364,359,369,367,363,343,341,365,600,874,565,338,336,308,314,314,310,315,340,350,347,342,325,323,332,352,356,333,339,372,417,496,427,633,1218,1676,1622,1606,1794,1732,1408,1016,711,654,959,1258,1666,2056,1762,1538,1128,976,1064,1320,1036,814,1342,1410,615,626,838,616,333,440,813,944,517,562,1196,1378,921,802,782,689,1052,1182,1130,1086,767,803,1274,1672,1832,1486,1196,1174,1044,872,594,701,934,1488,1310,1288,1162,1056,1260,1310,1218,1202,1056,979,940,1142,1146,1114,917,550,438,603,777,848,1108,781,656,1056,1026,1318,1462,1590,1426,762,531,721,788,564,562,583,486,614,957,966,843,746,722,616,686,1094,1050,659,832,855,742,588,791,963,1100,1170,1136,1250,1224,1178,966,707,371,259,281,267,256,246,273,316,378,356,320,301,328,343,333,407,444,352,333,331,321,349,335,374,427,450,457,555,646,561,593,579,431,480,391,328,306,318,310,342,408,450,463,470,465,404,261,228,251,281,297,390,370,418,425,391,393,374,331,286,322,325,325,594,647,666,618,769,1072,1190,899,478,725,888,484,589,544,500,810,947,982,888,612,533,546,772,768,425,422,394,573,368,341,348,346,438,454,451,550,695,887,1118,1192,1226,1372,1084,1001,1060,909,827,1074,1410,1394,1240,905,782,1294,1434,1544,979,997,1384,1714,1244,1146,1086,1032,1268,1176,793,893,1068,1262,783,565,516,512,410,420,368,489,843,972,664,350,390,513,488,495,509,549,930,1005,1005,642,637,861,872,799,776,836,1170,1156,984,905,600,373,359,667,1208,1638,1548,1284,1200,1182,1118,953,1050,868,533,438,438,645,662,454,374,398,408,560,728,575,370,576,876,1270,984,924,1030,805,1042,1284,922,473,422,589,1003,1184,1302,1260,1006,728,797,987,909,821,1138,1166,855,688,696,601,602,611,563,573,606,583,764,1072,840,667,875,1370,1426,1196,1086,1264,1252,1358,1206,964,1154,1224,1006,809,716,788,885,775,603,626,832,1384,1410,1158,1410,1434,1532,1538,1744,1732,1470,901,704,1348,1842,1888,1324,1016,1400,1410,1274,1100,1056,986,1154,1344,1182,1214,1398,1450,1450,1284,940,698,656,595,764,858,949,937,1456,1470,1144,1086,1210,1308,1216,1104,746,639,786,594,583,649,665,734,967,1212,975,853,918,667,544,572,704,832,931,1088,689,519,486,346,467,485,418,442,526,729,1142,1238,1198,1098,1122,1072,1023,689,998,1312,937,661,1046,951,480,364,412,356,374,340,395,362,378,640,973,1062,865,976,924,998,1598,1232,946,703,862,1310,1204,951,915,1000,1019,1046,1076,865,854,1154,1080,568,439,426,443,443,512,768,843,806,972,949,599,722,470,346,499,918,987,940,1056,1068,1130,1258,855,819,1066,1410,1328,1336,1166,672,393,369,531,509,369,396,483,626,630,495,609,651,475,431,462,476,465,518,597,589,585,567,540,544,558,452,396,395,413,406,372,434,509,518,503,491,514,487,468,450,494,520,510,501,458,426,415,364,321,314,329,401,576,820,927,904,865,813,657,488,414,379,357,379,398,463,502,446,519,533,476,425,406,377,314,276,386,469,563,1056,749,480,349,343,568,461,475,540,760,1124,1324,1038,918,1024,949,1462,1088,722,612,792,969,1216,1452,1516,1632,1462,889,946,434,306,269,339,340,348,514,640,730,894,1050,932,866,999,1016,462,324,314,263,296,316,252,263,309,576,1124,1236,1042,927,675,960,1180,979,1068,1242,1108,828,769,780,815,818,288,223,245,318,338,364,391,473,589,865,1092,932,545,837,1042,735,646,506,579,869,647,464,381,691,979,918,658,406,497,540,605,846,971,1084,1408,1172,824,678,583,524,789,1382,1098,1302,1376,1162,1038,1196,1340,919,574,485,490,583,502,579,814,744,448,402,299,265,297,307,305,298,298,285,295,360,391,389,372,444,838,1128,1042,1042,1230,1238,747,750,1156,1352,1698,1488,746,415,614,1012,665,841,1322,1438,1310,1248,1144,1094,1186,1148,1130,1064,805,517,527,545,504,533,558,440,537,576,408,668,741,724,865,790,861,1532,1152,679,819,965,1490,1776,1428,1242,638,805,705,419,1120,1322,1074,882,738,559,527,544,735,1112,1160,904,1124,1020,1194,1176,1310,1210,989,888,756,689,724,807,981,729,678,707,992,1432,1164,1258,1704,1606,1142,1012,984,829,708,761,1054,1312,763,570,502,466,598,972,1440,1070,931,962,678,814,1408,1398,1314,1206,1062,1264,1204,1356,1202,786,802,670,583,719,1222,1516,1306,1060,995,1110,1064,1042,1060,1040,1140,1294,1188,1368,1292,641,451,414,491,1140,1422,1210,884,569,765,1010,1150,568,760,855,824,545,727,1112,972,974,1210,1066,924,1110,1054,704],[409,390,367,328,332,381,415,394,371,362,555,527,567,532,523,516,490,511,480,426,458,477,449,427,482,498,552,625,613,589,744,830,623,412,361,388,445,587,639,473,384,371,329,564,575,466,525,460,396,405,680,1050,756,542,511,571,591,614,587,495,505,537,470,408,378,340,355,320,379,439,397,377,315,380,445,399,399,380,337,344,368,396,390,377,366,336,333,319,256,254,285,274,307,315,323,353,361,392,357,242,189,192,202,206,206,212,234,252,266,261,326,285,273,232,232,301,301,267,237,255,428,733,886,1140,899,730,762,1034,924,866,995,979,979,825,686,823,705,571,700,790,694,761,1034,1316,1210,886,633,361,256,303,530,982,1472,1224,1594,2020,1172,1228,1632,1460,1222,999,832,1212,1184,1148,1020,1168,2576,2292,1402,1074,749,459,464,780,830,429,341,704,1040,1106,1048,1100,954,753,779,1104,1188,1286,1532,1456,1228,865,843,1114,1282,1810,1876,1594,1108,747,672,583,632,537,296,301,265,266,296,325,394,858,1368,1364,1288,1218,1128,1042,1232,1268,1026,744,1019,1306,1338,1418,1280,1148,1272,1106,858,525,448,606,1068,1316,1094,1422,1288,1088,1158,1230,808,533,621,456,601,993,1116,949,1046,1290,828,453,372,457,576,706,776,1001,1444,1270,647,550,605,518,475,778,1126,1344,1646,1650,1220,1096,1256,995,971,985,915,1128,1350,1212,974,890,921,1108,1300,1236,922,872,1024,1362,968,994,998,1007,910,747,476,375,346,397,610,609,434,355,367,435,413,404,400,380,545,721,783,880,952,1310,1924,2098,4168,4428,2830,1782,1462,1094,1194,1328,1454,1498,1276,1456,1578,1506,1300,793,760,987,1236,1266,1086,1208,1090,928,896,1005,721,1021,1568,1648,1458,956,501,696,892,798,1222,1446,971,1072,1230,1310,1272,1282,866,658,874,1176,1202,1224,1226,1076,1058,1102,854,606,691,758,636,888,1088,1262,1172,935,1016,1140,1003,1001,1054,989,970,689,809,995,847,731,752,592,497,900,1204,1262,1114,937,486,483,613,663,889,868,774,600,675,998,1302,1510,1380,1240,1326,1176,1094,1384,1626,1478,1438,1009,632,923,866,534,422,552,701,1488,1494,706,549,795,753,643,653,596,392,557,953,835,463,529,582,722,752,576,569,669,839,915,857,832,853,802,739,769,957,1380,1504,1272,1362,1344,1120,1644,1770,1420,1618,1390,1224,1052,908,749,1140,1444,1424,1370,1538,1782,1614,1486,1400,1308,1009,978,1302,1322,1472,1356,1288,1448,1372,1378,1316,1290,1266,879,719,1110,1362,1266,1216,871,839,700,530,696,929,875,823,854,522,464,515,952,652,652,1010,1138,1120,1062,905,1180,1010,833,1424,1462,1356,1148,788,458,1020,1208,762,796,1282,1168,828,594,713,1182,1466,1494,1440,984,619,466,762,1054,1094,1206,1390,1310,972,1048,1156,1278,1440,1544,1584,1466,1290,1086,1072,1360,1460,1296,1406,1338,961,641,505,570,891,1178,1188,1096,1032,853,615,595,741,899,995,999,862,781,808,642,451,345,307,317,316,281,233,226,237,284,310,303,377,496,517,630,828,896,999,1228,1426,1354,1198,1228,1110,1172,1134,1001,1028,936,1082,1094,686,539,642,698,838,698,725,1126,1104,1084,1236,1282,1422,1720,1698,1554,1494,1238,1560,1694,1688,1870,1630,1560,1468,1116,1144,1528,1832,1924,1520,1336,1566,1544,1362,1336,1204,646,433,791,1094,1016,823,727,780,1198,1108,692,949,1068,1150,1360,1126,754,550,553,500,446,404,425,427,441,352,335,297,389,414,369,337,386,431,455,487,484,396,257,270,289,333,368,419,392,343,360,431,464,380,332,329,327,320,323,325,304,310,322,332,328,309,346,431,397,297,316,385,608,893,784,589,529,582,498,429,435,612,924,849,648,606,524,454,389,375,333,338,347,353,344,321,346,357,343,370,381,396,369,353,361,331,633,888,563,334,344,322,320,303,310,326,332,340,343,347,329,327,337,335,342,335,340,435,417,505,898,1382,1698,1784,1786,1806,1536,1028,767,825,741,1005,1310,1338,1490,1384,1504,1382,1072,1048,1262,1266,872,813,1116,1324,763,493,619,547,418,466,852,941,575,535,1110,1436,1350,1216,968,846,1154,1428,935,612,673,745,946,1460,1874,1630,1042,735,973,811,610,892,1062,1538,1440,1080,689,570,899,1180,1118,1076,1214,1050,1186,1380,1170,1013,676,415,466,592,499,924,1334,544,716,1042,1124,1664,1288,1252,1056,838,711,392,294,365,480,414,562,886,976,965,722,824,951,959,998,1526,1532,1076,965,822,1084,882,709,802,1276,1230,1108,1144,1228,1192,974,616,456,396,341,330,390,417,442,422,370,393,416,309,310,319,332,402,395,362,333,336,317,343,342,337,374,438,565,799,918,765,719,713,562,532,457,423,382,327,321,335,355,402,445,492,493,456,328,292,317,314,318,317,277,333,365,365,398,410,315,321,318,293,240,323,481,854,954,1026,1110,1306,1140,946,1028,885,624,928,742,587,587,576,749,764,598,522,496,459,407,376,415,530,778,520,358,318,392,687,728,585,686,623,751,973,1038,1066,994,572,513,735,993,725,780,1234,1146,805,796,1014,1376,1128,1222,1132,1124,1390,1756,1422,1232,1544,1730,1760,1424,814,866,776,1036,765,445,475,463,411,416,393,431,645,839,709,583,561,542,423,433,405,610,926,926,930,971,864,963,1016,746,774,1134,2294,1532,1296,1190,691,574,810,622,675,1094,1186,1082,1090,1084,1118,888,1005,1136,850,543,463,460,470,393,364,479,422,537,324,385,860,993,1038,1038,667,680,783,957,1192,1108,752,467,478,641,673,832,1015,1188,1020,572,575,870,769,571,618,608,733,500,406,401,438,401,421,607,705,816,890,1106,890,832,721,763,905,1034,981,984,938,1046,1226,1106,1142,1178,863,597,756,852,888,691,706,830,960,1272,1094,663,800,1046,1230,1606,1950,1844,1618,1060,728,1158,1622,1794,1568,1272,1406,1308,1140,1164,1166,1242,1200,1268,1318,1296,1388,1450,1450,1268,1344,1134,816,1042,1218,1378,1460,1360,1608,1202,806,784,799,979,900,952,741,618,738,546,429,495,591,686,996,1314,1022,601,634,678,664,622,544,670,720,769,508,499,419,304,403,393,409,418,422,558,528,636,773,664,822,1064,1050,879,908,1236,1114,582,678,480,454,703,1080,860,502,368,340,329,333,353,513,717,893,1412,1060,688,1264,1054,981,750,1004,1432,1038,901,969,897,990,856,733,811,1116,1138,846,609,497,396,377,456,608,798,546,562,907,1040,583,479,427,327,363,603,763,921,1096,1158,1180,1158,749,866,966,1388,1462,1292,1078,748,514,499,554,498,398,437,543,648,509,509,630,448,383,479,468,433,487,593,689,697,637,593,491,500,517,502,475,461,468,403,354,420,514,532,525,501,491,467,451,448,491,487,470,488,466,429,397,392,406,364,311,362,608,830,893,896,872,866,846,773,559,401,357,357,390,398,422,379,348,453,544,530,440,426,349,295,355,470,808,1180,672,269,240,303,271,257,245,347,510,695,814,783,1218,1354,1184,1128,683,1064,1150,1148,1212,1208,1230,1142,1224,1042,1210,1332,551,293,265,303,349,512,841,948,714,786,1074,932,849,1152,650,367,362,305,279,262,276,322,317,241,307,712,897,979,678,706,1098,1254,1262,1218,952,711,548,715,717,534,354,260,212,302,356,346,384,543,668,821,1018,1064,764,383,619,892,1440,1280,592,843,1090,772,711,644,692,808,1005,749,456,782,1234,1278,1216,1021,965,1122,1086,913,825,653,735,1422,2194,1292,1076,960,890,675,639,682,621,553,538,824,1076,954,771,1062,1007,505,363,284,250,310,320,296,290,270,258,246,306,389,397,407,385,730,1188,1298,1150,1354,1292,1023,868,1118,1068,1122,962,678,516,439,540,781,1148,1416,1406,1158,1168,1078,1188,1340,988,1344,1292,843,524,442,575,660,622,576,491,501,490,322,471,816,1196,1332,1332,1196,1130,742,644,1162,1210,1310,1488,1460,793,825,1005,720,843,1926,2110,1140,648,772,885,683,816,1176,1218,1112,1098,1294,1090,934,992,875,886,1668,1760,1226,826,648,1190,1554,1166,1360,1230,1694,1924,1506,1272,1396,1318,887,829,821,952,871,985,1874,1920,1154,968,903,504,499,1076,1270,756,982,1492,1012,1252,1584,1154,975,1198,1376,1306,926,948,810,585,827,797,766,850,940,1078,949,761,1023,1070,592,755,1396,1610,1652,2004,1584,1306,858,601,651,501,370,451,470,912,1192,530,733,1484,1498,609,705,852,772,705,778,915,881,783,1042,839,627,1250,1532,1408],[384,374,366,332,341,376,396,375,334,356,569,623,534,453,441,458,469,474,450,438,477,490,440,396,448,496,460,468,448,432,667,753,499,321,327,439,542,648,636,494,383,346,347,524,533,461,461,437,391,391,451,843,1130,1138,920,782,645,647,706,687,617,482,383,354,398,371,327,294,367,430,423,368,309,383,428,463,433,369,364,318,354,358,381,407,387,374,354,336,269,274,315,279,278,291,319,343,342,338,272,208,207,197,206,211,218,234,246,247,255,252,264,273,291,248,223,262,259,234,264,375,593,915,897,774,489,632,872,1032,956,1011,645,509,519,488,678,806,573,800,1015,1016,866,951,1086,940,880,713,375,321,415,533,849,1272,1454,1222,1126,1028,585,599,881,1154,1392,1094,874,1124,1124,1232,995,722,1972,1706,846,578,471,427,420,484,551,473,430,696,730,596,745,1002,899,858,913,1078,1242,1252,1216,1816,1536,861,536,650,1038,1266,1346,1676,1760,1422,960,739,852,821,457,280,263,233,278,265,414,919,1274,1216,1158,1134,1084,867,1168,984,862,691,1058,1632,1648,1614,1316,1272,1278,963,751,727,808,1078,1330,1222,859,841,1202,1394,1132,1007,926,461,407,546,973,1070,1188,1386,1476,1142,861,714,767,877,742,700,810,1034,1672,1570,748,688,858,717,651,768,937,1516,1970,1842,1324,941,830,771,760,882,904,955,1284,1404,1334,1460,1256,1156,1160,1134,735,642,817,745,781,924,1024,1092,919,703,606,495,553,673,974,918,708,474,413,428,478,506,435,482,750,631,350,425,596,1610,1834,1048,1788,3096,2502,1572,1500,1370,1196,1246,1346,1418,1420,1314,1276,1410,1618,1218,991,1021,1142,1176,1162,1304,973,799,861,1046,553,1188,1536,1310,1250,1094,616,499,745,1008,1338,1396,583,619,993,1192,944,1156,1088,862,692,638,820,958,905,863,844,1018,888,886,1004,858,738,939,933,950,973,1042,1006,968,1092,968,1044,1226,1058,736,801,1172,1040,759,819,783,695,1226,1252,1342,988,729,470,467,660,1030,1202,900,649,451,576,990,1286,1256,1216,1172,1120,1144,1144,1168,1438,1660,1312,695,1058,1522,1284,773,530,564,722,1324,925,465,505,592,522,432,511,638,532,601,831,1056,669,532,535,989,1062,741,568,712,819,857,882,851,758,803,1044,1242,910,998,1026,933,1298,1366,1098,1124,1394,1436,1564,1400,1012,905,1064,1044,1100,1170,1360,1488,1580,1664,1606,1770,1720,1614,1400,1260,1144,965,1166,1428,1512,1434,1428,1372,1230,1378,1088,800,1294,1844,1360,1134,1028,740,780,935,908,943,1120,944,948,1102,827,477,456,414,563,884,1322,1256,1202,1210,988,1040,853,721,1328,1256,984,833,1178,1004,619,1044,1162,1294,1252,1188,1168,1020,1100,1522,1456,1416,1228,818,662,746,811,804,1072,1262,1114,936,1046,950,780,1106,1440,1598,1512,1460,1400,1234,1206,1094,1316,1532,1532,1466,1134,853,575,530,802,1244,1162,999,1244,1176,623,623,854,926,943,892,773,758,726,610,492,381,430,422,368,336,276,270,276,327,324,344,436,526,529,569,700,865,1026,1096,1482,1342,1224,1240,1262,1180,924,822,896,969,969,916,698,781,1090,724,494,658,613,724,888,1186,1368,1474,1702,1714,1564,1500,1576,1510,1484,1310,1454,1588,1208,1236,1298,893,1030,1342,1554,1648,1758,1744,1752,1642,1390,1276,1220,922,1052,1962,2274,1302,933,1312,1422,1584,1134,770,953,891,846,1036,844,534,728,778,490,441,354,350,457,481,404,333,309,360,377,334,333,368,397,401,410,480,396,278,273,258,287,337,357,340,327,388,524,491,379,364,332,308,308,320,324,316,300,314,329,314,317,327,324,304,313,321,391,512,658,630,563,557,537,472,471,430,517,689,697,511,487,370,302,321,334,352,385,394,405,381,340,332,346,369,399,391,414,390,369,360,334,671,932,487,351,340,336,315,315,322,329,336,347,364,357,317,315,330,347,371,400,400,451,535,976,1582,1772,1766,1720,1572,1202,833,700,844,897,1174,1300,1074,1276,1282,1104,1314,1410,1288,1174,944,1030,1150,1214,1162,1352,1262,764,649,587,516,652,948,1198,898,709,1286,1390,1308,1060,655,989,1148,1214,1094,915,891,844,850,1204,1774,1706,1226,858,1178,1256,994,941,1166,1542,1698,1428,1048,742,953,1156,1216,1166,1202,1236,1422,1170,808,663,550,520,551,423,372,698,701,495,959,1011,1226,1108,993,1126,986,1278,1154,597,625,505,469,437,681,1196,1280,1374,1208,871,860,879,745,1011,1164,1152,1076,1018,1009,1172,1062,1030,1240,1062,898,850,999,1040,1124,849,705,764,547,523,377,575,824,761,549,441,519,331,295,301,315,398,371,361,346,372,361,345,336,336,390,482,508,681,798,740,662,731,687,637,593,495,359,310,334,335,327,328,400,463,459,414,352,328,293,257,301,308,272,241,298,389,414,498,660,771,515,310,270,285,310,426,855,1064,812,1188,1238,1282,1392,1336,1154,1096,1005,899,823,715,840,823,848,749,580,485,361,420,421,545,926,995,578,338,460,703,749,797,879,574,516,666,863,807,651,508,418,546,666,466,572,758,902,940,1186,1224,912,930,1210,1164,1180,1346,1636,1568,1216,1182,1384,1586,1340,836,713,762,1026,681,377,414,415,428,448,414,318,367,540,885,933,559,465,617,727,644,781,1005,1142,1220,1192,907,1166,1126,1056,1236,1356,1302,1198,1394,1216,681,810,1176,957,570,816,1110,944,1100,1224,1188,1036,1088,1182,884,479,389,421,501,550,852,1158,666,381,469,538,793,980,883,758,915,1116,904,1076,1198,858,741,763,722,706,656,623,788,943,819,624,567,926,734,541,641,813,666,455,388,345,333,446,667,850,992,1032,1062,1194,985,984,1046,825,809,1017,1003,903,879,895,1126,1124,1146,1086,966,808,899,1021,933,683,644,769,845,686,866,1070,1476,1606,1664,1936,1896,1758,1714,1332,1220,1732,1892,1758,1382,1230,1248,1262,1282,1220,1182,1192,1058,1098,1260,1450,1502,1434,1414,1386,1634,1502,1007,1056,1306,1524,1560,1688,1644,1104,923,695,797,901,958,927,672,526,578,612,638,761,913,943,1054,1566,1202,554,518,605,703,766,671,572,604,538,450,441,342,320,399,519,493,444,412,531,548,565,533,586,836,880,803,792,939,1206,1302,638,413,360,422,838,1250,1054,551,303,273,317,349,376,400,415,502,889,865,699,1030,1484,1432,767,620,836,948,885,832,653,617,818,949,984,856,820,960,1004,822,703,626,646,775,1023,794,554,854,899,576,583,583,415,556,746,783,968,1122,1098,1196,987,794,954,1422,1586,1416,1044,1024,1106,999,1016,703,562,419,448,492,497,406,606,618,480,483,442,399,421,512,597,609,638,633,591,458,419,442,491,505,506,484,466,391,414,514,528,475,436,412,415,428,445,448,436,454,494,503,424,355,406,472,419,357,412,670,856,858,850,847,876,885,881,844,630,419,359,383,369,357,366,345,339,468,577,553,495,381,289,357,463,771,792,452,257,281,290,274,284,302,342,525,739,638,616,979,1234,1006,894,1088,1164,1294,1192,975,1484,2050,1786,1344,1015,1354,1022,572,409,271,314,421,769,1196,1520,1021,852,1001,1028,1124,1054,451,392,406,340,305,252,234,405,544,472,422,677,504,529,429,491,823,1220,1466,1278,792,798,413,413,307,328,344,279,294,365,361,328,434,503,448,612,626,557,576,455,516,1176,1624,1002,592,1050,1150,1190,1268,1190,1158,1202,1272,718,550,976,1350,1356,1094,910,1098,1130,975,990,843,517,574,1384,1642,1152,678,811,888,565,429,489,516,472,709,1220,1100,1100,715,688,551,357,390,366,294,304,330,303,335,298,281,249,278,376,409,412,375,612,1240,1180,827,1122,1076,1098,1064,1204,1150,950,1196,1606,1220,421,393,604,937,1272,1222,878,596,854,1360,1178,744,1428,1466,1044,954,695,629,698,518,498,926,822,518,370,370,1100,1466,1362,1688,1196,536,464,824,1296,1312,1188,1026,1005,855,1088,801,505,566,1003,1116,664,520,540,659,552,728,1172,1024,1132,1384,1198,837,546,820,1026,1156,1636,1748,1650,1036,617,1238,1924,1940,1758,1232,1216,1410,1572,1632,1162,1094,941,665,626,653,884,1154,1374,1334,1168,1404,1292,622,864,1504,1012,929,1506,1538,1104,843,869,698,965,1438,1370,1260,1320,1076,965,1390,1438,1238,1242,1232,981,957,961,630,686,734,523,849,1328,1234,1154,1334,1100,691,589,1013,1284,703,381,440,470,882,1464,640,622,1340,1184,929,1176,1098,700,653,546,478,417,520,1222,1034,630,1516,1992,1672],[401,381,306,316,361,377,375,375,354,343,483,557,468,422,414,416,430,449,424,428,404,377,345,334,345,332,293,312,348,381,426,401,358,366,334,409,500,468,502,476,362,299,379,605,506,514,444,417,403,409,456,550,882,1138,1166,1150,999,872,938,897,555,374,292,322,408,394,345,315,340,359,343,318,333,462,489,462,403,333,317,288,356,356,340,395,389,376,352,357,306,298,322,266,275,280,318,359,323,316,320,280,260,237,228,205,205,192,196,221,231,227,239,272,271,225,212,220,238,243,287,370,489,631,513,350,450,561,811,1052,1013,761,586,1008,817,844,990,824,515,766,1170,1080,956,1104,1158,1100,1060,634,423,336,501,888,1100,958,1006,1158,797,674,892,711,477,850,1140,858,1062,982,1144,1078,803,673,789,662,472,523,421,359,349,393,417,544,576,997,1192,894,973,1184,1142,1116,961,980,1108,1196,1334,1836,1476,995,630,583,1122,1246,855,991,1490,1716,1330,612,560,681,405,251,278,278,281,267,373,799,1220,1316,1042,1226,1240,1394,1568,1384,1180,1226,1268,1294,1464,1604,1288,1206,1268,1080,1052,1072,1056,1088,1198,1224,902,813,1102,1340,1174,839,839,458,413,664,944,844,685,475,349,465,750,878,881,918,794,546,479,485,953,1038,783,861,1058,1076,988,861,1070,1686,1494,1362,1328,1444,1164,823,641,761,926,1102,1220,990,1302,1646,1052,1092,1276,1210,922,905,928,919,1140,1300,1236,1072,762,775,767,775,996,1012,1092,1194,1172,791,441,430,543,601,455,383,425,333,296,462,789,1400,1236,1090,1362,1626,1378,1418,1352,1076,1322,1350,1202,1320,1588,1256,1250,1334,1468,1458,1316,1246,1324,1312,860,995,1088,1490,1692,1056,686,1206,1348,1050,1028,953,796,720,926,1072,1072,813,579,754,1182,1246,1064,1166,1278,1150,957,785,1058,1078,1013,1120,1208,1300,1094,1160,1452,1068,946,1046,930,1164,1066,712,624,751,1142,968,879,1110,1274,1016,974,1088,866,759,641,636,919,1266,1312,1372,1176,1144,722,365,650,1304,1332,1138,1074,542,610,922,1104,1044,885,982,1118,1188,1344,1442,1610,1472,1208,1558,2202,1928,1558,844,565,411,728,1120,785,405,385,590,852,949,940,1046,1116,1116,957,1296,1112,874,974,1046,1150,1138,593,671,714,781,791,711,765,796,1072,1398,1164,991,758,904,1422,913,718,839,1200,1218,1456,1466,1114,1122,1248,1210,1114,1162,1400,1572,1324,1380,1514,1756,1818,1832,1750,1494,1408,1378,1328,1418,1482,1474,1178,1140,1218,1218,1290,1246,1682,1840,1390,1214,985,702,680,999,1092,1016,1100,987,1382,1432,1324,1050,760,674,767,884,948,1104,1144,1104,1010,906,917,787,1170,1122,993,836,1112,1436,1072,725,807,1316,1002,1042,1238,1672,2010,1688,1158,1230,1328,996,735,955,995,1250,1206,706,519,595,941,933,866,1154,1456,1414,1418,1556,1592,1592,1468,1324,1698,2094,1846,1196,1132,1078,789,702,1028,1178,724,644,1021,1054,764,785,858,878,891,794,660,680,649,589,581,540,525,393,347,329,268,241,269,312,329,368,411,493,578,568,647,1116,1416,1330,1388,1296,1294,1344,1360,1120,855,694,730,873,992,996,857,1116,990,538,482,671,678,561,797,1306,1430,1616,1784,1526,1344,1388,1494,1574,1120,984,1366,1620,1372,1278,976,530,652,1002,1240,1312,1792,1782,1684,1672,1788,1444,971,1088,1402,1572,948,781,834,955,727,1140,977,624,649,667,607,706,1026,970,910,768,441,359,343,366,403,433,420,354,309,329,366,373,327,362,443,474,492,517,363,243,243,245,271,297,289,305,378,503,579,516,404,350,343,320,304,290,289,298,312,359,396,329,301,335,342,328,333,345,426,592,641,577,658,648,444,550,661,567,429,383,333,440,435,331,332,323,303,325,356,399,389,364,321,329,381,427,396,424,416,386,368,322,444,889,806,396,344,342,336,301,326,344,335,350,359,354,317,289,333,324,347,366,405,408,487,1050,1726,1824,1838,1886,1534,1032,760,665,691,680,753,1110,1322,1466,1454,1138,987,1262,1382,1318,1234,933,1132,1158,1192,1262,1236,1264,976,884,842,677,882,1132,1156,771,855,1156,1160,1128,1256,1170,985,802,912,1250,1222,830,933,1090,1082,1602,1746,1586,1490,1528,1378,1108,842,1260,1968,2004,1460,1162,1242,1302,1188,1064,984,1194,1372,1212,844,583,400,554,614,371,319,355,373,331,462,514,572,795,873,1108,1232,1290,1642,1440,1006,1222,876,578,424,374,858,1180,1188,1038,974,941,791,623,619,900,1500,1422,987,907,1174,1328,1656,1634,1362,1518,1082,802,864,1186,1142,879,654,522,548,418,437,579,658,501,393,346,323,295,298,302,356,359,359,346,347,372,376,369,396,477,539,391,537,625,654,576,642,763,801,761,571,378,380,374,334,317,306,363,436,448,429,405,357,300,293,320,286,241,247,345,614,578,614,868,946,650,376,333,286,293,491,941,905,866,970,920,1100,1476,1544,1352,1488,1254,974,973,888,1078,899,1562,1638,995,622,427,475,588,668,955,835,710,431,656,652,388,634,1012,725,504,538,498,481,471,361,404,631,729,647,499,488,779,1076,1070,917,824,936,1018,993,846,990,1216,1598,1440,886,823,1130,852,827,1138,1258,1176,704,349,502,567,430,387,376,367,392,639,1100,937,857,951,1166,1222,889,815,1013,1220,1280,1306,1070,1013,780,955,971,669,546,733,1078,1030,855,884,901,1007,810,1030,1220,1080,1110,1278,1252,1202,1250,1118,739,570,592,650,747,899,939,692,402,350,525,793,1110,1134,863,899,684,695,850,1096,1044,628,882,1278,1006,800,820,710,938,1094,819,413,495,744,664,836,1148,858,476,388,321,396,650,933,1206,1156,1250,954,767,1007,1102,1062,1062,905,783,981,985,874,771,667,1026,1204,1024,1024,1036,1112,1082,990,1011,764,493,619,897,1028,1346,1562,1698,1730,1766,1674,1526,1614,1686,1606,1654,2156,1952,1512,1278,1368,1482,1352,1268,1278,1268,1230,1120,1048,1356,1638,1630,1548,1554,1540,1656,1560,1144,900,996,1320,1514,1724,1816,1670,1488,1188,1108,995,1004,943,880,703,673,849,880,896,1011,1126,1120,1686,1296,645,448,529,874,1116,926,673,694,811,835,619,410,359,385,479,536,480,457,509,534,606,618,692,946,900,593,517,520,823,1362,985,479,436,403,509,900,915,451,325,315,351,388,372,368,360,503,764,863,897,1234,1542,1246,629,636,990,1158,905,787,606,508,496,996,971,664,919,1232,1292,1240,1702,1462,1060,1132,1272,1164,921,1002,1136,890,644,808,575,610,964,1060,1009,1118,1050,1188,974,954,1422,1660,1404,1054,959,1074,1236,1572,1736,816,479,518,441,433,432,490,644,579,513,531,477,411,434,453,468,440,470,578,549,396,370,466,513,496,477,514,491,398,414,487,466,419,394,392,402,440,473,421,372,403,461,523,473,420,431,431,412,406,483,721,774,701,816,807,826,864,890,900,736,429,339,347,354,366,379,379,382,461,490,536,560,472,379,402,389,418,366,280,248,267,301,338,309,291,282,503,966,1298,922,930,955,565,497,616,977,1234,1086,1250,1520,2136,1838,1220,1202,1122,609,510,508,393,553,872,1148,1030,1270,867,806,1206,1366,1306,782,425,420,419,420,348,262,297,657,913,797,703,889,678,960,1200,718,935,1354,1328,1080,838,841,430,340,283,331,330,325,300,286,343,350,454,440,372,325,210,240,427,490,498,897,1176,1009,955,1218,1268,1650,1436,1144,1018,1332,1212,813,642,760,1009,1260,1256,1148,1208,1118,1252,982,646,483,608,1024,1280,855,535,772,645,390,364,447,535,529,843,1036,741,540,507,452,388,381,417,376,303,283,309,320,350,310,305,285,283,375,410,410,380,444,657,517,664,1232,1220,1224,932,678,974,1248,1888,2844,2070,658,584,1060,1204,1268,1078,1136,963,1000,1330,1080,675,809,943,1108,1228,1102,1050,1126,1066,877,1216,1146,624,372,421,1166,1282,916,1348,1005,690,559,851,1076,1386,1116,781,1228,1544,1228,805,488,648,769,493,425,507,448,430,493,772,1066,1292,1450,1092,755,574,563,683,816,1104,951,1424,1432,1136,771,774,1520,1852,1298,857,1106,1126,1500,1620,1188,970,961,683,549,583,947,1398,1456,1412,1500,1560,904,568,1102,1476,1138,1078,937,987,866,619,491,408,743,1056,992,1238,1310,1084,1304,1130,1164,1340,1310,1256,1021,1206,1384,763,686,652,673,777,794,602,605,889,736,459,534,1252,1782,849,476,513,553,857,1206,850,782,878,877,727,1122,1224,458,454,476,465,437,549,1498,1148,550,951,1088,1142],[379,340,348,354,399,403,370,360,353,334,440,553,480,440,420,418,420,430,338,323,313,288,294,305,272,270,405,518,414,298,291,289,289,336,343,376,383,301,298,346,334,316,395,609,470,496,465,424,398,400,395,372,428,498,702,939,957,737,880,735,413,342,303,355,417,395,349,325,334,309,271,323,331,364,415,366,328,338,329,340,395,371,345,368,368,371,360,369,321,327,308,283,300,290,300,370,338,314,320,299,300,298,262,220,190,172,186,198,202,201,220,277,274,217,261,246,209,212,253,300,391,421,350,386,423,438,406,695,1212,1050,902,1544,1136,883,843,700,478,801,1336,1334,1286,873,1007,1412,823,532,500,527,692,1266,1318,923,1108,1072,534,575,883,988,644,617,831,803,1013,1394,1356,960,874,977,803,548,500,459,431,389,349,358,664,890,862,1242,1304,903,822,857,1138,1282,988,933,969,1278,1588,1488,1250,1268,1098,970,1023,1044,916,1206,996,1162,1736,1180,617,402,294,268,238,240,241,257,513,944,760,694,964,1390,1210,1340,1196,907,1172,1390,1306,1204,1348,1666,1158,1020,1432,1480,1250,1192,1230,915,904,1058,977,1080,1194,1286,1166,1062,905,845,763,673,738,805,599,302,338,372,441,532,780,1014,882,565,429,546,809,812,679,754,805,910,930,928,1236,1052,662,845,1202,1520,1388,940,561,579,880,1310,1522,1194,1242,1218,1104,1128,1076,1248,1258,946,682,919,1286,1350,1082,1062,1024,910,613,551,1024,1032,1078,1236,1226,937,481,394,489,558,361,294,343,326,387,918,1484,1670,1390,1366,1616,1400,1170,1388,1394,1210,1644,1448,1310,1422,1334,1412,1458,1180,1188,1590,1486,1136,1110,995,617,678,1096,1438,1370,1246,1023,898,1050,1116,1134,992,1152,1116,1008,597,680,589,625,921,1176,1334,1302,1282,1284,1226,969,984,1148,1188,1254,1252,1262,1378,1030,824,964,780,816,959,1112,1100,795,568,656,979,1160,1172,1096,1196,1302,1050,963,857,689,717,694,803,1330,1522,1568,1232,1168,1226,860,532,612,1008,825,1112,1128,624,795,1007,1054,1136,1204,1536,1632,1202,1050,1312,1470,1198,1030,1666,1816,1626,1296,919,625,415,597,835,911,946,803,935,1062,1210,1296,1244,1254,1126,943,1296,1416,1088,867,990,1282,1230,662,621,647,707,729,906,1262,1042,1023,1288,1346,1240,792,782,1136,761,1020,1010,1074,1270,1516,1400,1108,1004,1224,1200,1046,1400,1328,1192,1056,1346,1456,1452,1644,1814,1748,1628,1662,1604,1376,1432,1638,1392,1182,1234,1300,1146,1198,1182,1346,1312,1216,1112,1094,1324,1636,1432,1080,858,1100,1216,1414,1372,1428,1360,910,568,821,621,529,1090,1190,1202,1242,1150,1240,1010,949,1152,1306,1202,1022,1266,993,554,591,828,1054,1076,1076,1838,1976,1582,1522,1444,1354,1398,1216,1072,826,1114,990,771,741,798,965,1022,1140,1396,1404,1332,1552,1450,1556,1582,1578,1234,1418,1780,1346,1216,1554,1292,860,867,1240,1116,961,843,948,902,1026,1156,1050,932,847,709,576,650,622,556,581,701,688,505,410,329,258,240,281,338,373,431,472,566,641,596,764,1246,1506,1532,1460,1446,1484,1476,1214,939,869,728,705,805,974,1074,1074,1384,1312,1094,1021,1058,1256,1172,966,1230,1340,1422,1558,1320,1368,1474,1606,1482,921,599,1096,1392,1106,982,619,468,450,571,962,954,1178,1648,1656,1416,1356,926,800,1108,1454,1230,719,835,656,791,861,926,669,462,460,672,976,1080,1372,1230,1060,681,382,357,359,367,392,418,457,390,331,301,344,368,354,385,471,516,531,515,375,255,248,253,275,282,295,362,473,540,529,489,404,332,356,385,368,335,341,410,527,678,700,534,477,477,393,370,437,428,419,535,680,562,532,598,581,767,835,860,668,432,368,430,383,328,327,311,333,355,357,359,349,370,425,381,385,399,414,425,401,457,516,572,849,982,518,310,318,333,338,315,317,337,352,360,359,347,329,318,365,328,330,361,369,585,1200,1758,1826,1826,1776,1454,937,832,902,606,476,624,907,1132,1378,1338,1246,1062,976,1198,1306,1476,1436,1140,789,848,1094,1170,1048,965,894,938,691,516,735,963,1044,554,693,1042,1142,974,1398,1602,1118,902,864,1080,1034,832,1194,1310,1274,1518,1746,1700,2000,1978,1450,1206,1014,1066,1322,1358,1246,1228,1190,988,1334,1754,1594,1254,848,636,576,732,502,502,397,324,315,349,376,347,350,452,520,439,571,803,1118,1224,1404,920,876,947,753,733,656,645,766,952,1312,1218,1110,1172,1011,896,730,711,1432,1360,747,764,1032,1194,1238,1232,1420,1564,1200,966,1190,1300,1054,818,575,453,496,494,483,399,335,332,336,343,317,309,303,311,339,357,357,341,357,379,375,405,492,544,568,567,603,654,659,582,650,739,749,625,466,368,378,418,346,311,315,338,410,427,397,387,361,337,400,418,368,279,323,386,732,898,666,734,978,703,574,713,349,344,702,883,811,827,1021,1278,1272,1606,1660,1488,1448,940,763,786,1010,978,744,899,1288,1112,708,413,382,490,828,869,658,753,660,871,803,612,776,1072,915,552,444,370,434,529,477,496,526,816,915,771,727,877,986,646,594,1026,900,854,839,603,716,920,1360,1550,1104,985,1086,831,728,950,1132,1098,613,454,826,830,377,377,381,379,609,1028,1158,1252,1420,1096,954,1120,794,689,930,1220,1150,1166,1028,760,574,893,789,458,467,566,605,735,1328,931,685,641,672,1034,1104,931,1134,1328,1182,1250,1380,1130,1058,979,916,1090,1258,1052,539,532,795,504,521,740,998,927,1192,1246,714,864,1112,1022,716,485,641,1052,1110,1182,964,885,1116,1240,944,522,368,558,724,777,772,547,420,403,462,785,1078,1166,1316,1138,1158,937,699,922,1232,1110,884,847,785,913,1019,879,847,775,1024,1102,1246,1230,1188,1228,1100,893,1188,945,730,868,1036,1112,1296,1396,1442,1346,1250,1226,1400,1598,1766,1792,1748,1616,1278,1470,1548,1284,1168,1148,1268,1312,1338,1310,1318,1322,1660,1676,1622,1598,1502,1676,1998,1746,1194,879,1004,1288,1436,1752,1794,1808,1644,1544,1356,1454,1672,1680,1456,927,634,722,798,857,966,1302,1586,1996,1504,714,446,577,870,1007,776,577,625,733,714,525,430,400,453,511,468,459,545,607,669,653,730,825,865,808,669,447,406,545,1102,1204,689,455,415,421,493,598,449,301,318,390,388,328,320,330,747,1040,669,695,1268,1344,1036,722,908,1001,832,828,626,524,478,796,1284,845,538,519,647,946,992,1356,927,1068,1324,1042,971,1224,1312,1526,1452,1188,1366,1194,948,1064,1172,1092,1009,1009,1028,723,753,1042,1324,1304,1102,1492,1218,1164,1672,1512,808,545,457,414,475,592,648,531,444,528,564,593,518,458,412,394,418,420,512,529,379,338,379,428,447,396,416,386,361,401,451,440,437,437,451,487,477,491,427,377,436,479,420,459,507,501,478,423,372,534,769,753,757,810,772,725,676,738,761,545,358,334,322,357,377,373,355,366,418,418,400,481,558,531,452,435,379,355,340,323,324,347,384,324,311,331,531,911,1104,1228,1250,642,425,421,655,1252,1260,1028,1272,1234,1180,1240,1368,1422,1134,611,493,605,719,965,1336,1278,733,466,453,816,1410,1360,808,356,419,356,366,362,336,293,412,777,900,1013,858,604,612,1110,1332,781,594,861,1144,1406,1400,874,528,441,466,464,378,358,313,284,351,404,473,380,466,461,296,272,355,494,566,570,623,887,1258,1166,1438,1418,784,821,655,778,1024,1009,819,909,1126,1552,1566,1194,1346,1462,1278,779,766,684,475,590,736,624,870,1104,549,366,354,460,664,603,849,1038,683,402,435,390,357,302,339,355,344,338,322,276,306,339,358,349,296,341,397,399,394,339,421,730,1070,1314,1142,918,681,670,1026,1292,1602,1896,1402,1256,1272,1284,1032,1148,1178,1444,1368,1007,997,1176,1190,1001,921,1136,974,863,1388,1390,968,830,1124,1038,850,854,781,813,918,736,1054,790,595,475,515,537,806,849,1132,2030,1898,1396,872,734,642,559,497,733,1078,738,463,667,984,995,1048,872,1058,1002,717,580,490,459,732,1098,1328,968,1046,919,658,780,744,605,603,944,1042,1284,1240,874,801,824,764,528,650,1216,1584,1622,1636,1664,1344,681,514,1250,1010,797,915,1010,960,837,698,465,370,484,641,764,1066,924,801,1238,990,852,957,748,993,974,976,948,624,852,900,1096,1172,1452,1130,609,953,936,517,531,995,1358,786,669,928,821,920,1080,961,599,930,1322,654,1005,1472,639,441,510,400,386,511,959,765,488,443,490,883],[326,309,335,374,387,366,363,353,324,320,424,499,417,396,360,348,337,344,277,267,290,274,279,274,235,335,509,547,370,270,271,270,260,280,324,376,395,285,249,325,327,328,527,563,460,437,407,405,403,399,387,389,412,449,466,568,572,753,900,590,343,295,303,383,424,384,364,345,332,335,274,310,321,304,321,333,328,338,382,389,462,430,387,372,375,368,361,362,340,327,327,324,315,263,286,335,349,308,306,316,316,310,288,268,233,204,215,196,204,219,230,279,229,221,231,202,194,223,265,278,278,279,325,435,482,429,439,537,877,1292,1466,1208,897,858,608,484,661,741,989,1406,1372,922,687,824,874,813,650,664,1378,1968,1438,1038,1254,755,410,314,476,518,518,728,1106,1152,1166,1472,1502,1188,1064,1170,729,540,465,408,459,391,350,413,901,1136,1240,1456,1416,965,908,854,1468,1366,1064,1028,1112,1232,1462,1454,1188,1262,1500,1274,775,1128,1658,1350,852,1220,1636,1660,1388,748,335,297,229,240,287,326,525,771,755,689,982,1126,940,1116,933,868,1382,1542,1168,1212,1302,1468,1054,1004,1472,1488,1168,1178,1230,1114,1178,1074,1130,1130,1214,1382,1452,1488,1017,817,813,778,750,890,806,341,300,347,760,1024,1642,1404,854,591,499,519,764,885,706,631,576,767,1005,1080,1206,866,519,549,1070,1494,1436,1070,897,1066,1122,1426,1412,1076,1026,991,969,983,1234,1400,1096,645,608,909,1232,1188,1024,1244,1324,1082,703,674,971,1030,1098,1236,1198,852,441,359,422,423,397,381,373,344,414,910,1522,1760,1744,1590,1466,1342,1418,1100,1021,1034,1258,1274,1408,1472,1380,1334,1070,990,1170,1380,1178,872,1388,1224,777,945,1334,1094,661,811,876,922,1070,1100,1186,1080,1044,1160,1174,828,742,641,878,1084,1100,1482,1238,1328,1360,1320,1288,1302,1382,1698,1226,973,1128,904,843,694,839,957,792,792,955,894,739,930,1001,932,991,1100,1426,2098,1572,954,930,814,830,1040,1160,944,871,1300,1424,1164,1282,1380,1400,1146,786,728,589,928,943,775,841,963,955,1048,1198,1340,1270,787,686,942,1074,942,758,1250,1584,1294,940,960,1032,932,819,1022,1294,1542,1244,1084,874,833,835,920,907,739,931,1478,1428,1084,886,962,861,1028,852,638,644,805,1023,1226,1256,1388,1070,805,861,1070,600,700,1058,1188,1142,1028,1156,1372,1336,1324,982,710,1002,1292,1238,1484,1538,1384,1260,1322,1208,1202,1306,1428,1594,1742,1708,1706,1416,1390,1392,1274,1248,1334,1262,1188,1174,1244,1426,1358,1282,1236,1234,1334,1494,1414,910,778,949,1042,852,973,1440,1364,744,561,916,755,807,1268,948,1050,1336,1018,1036,1066,658,977,1274,1276,1136,1310,1086,784,487,478,767,771,977,1284,1272,1610,1748,1382,1426,1366,1084,1023,855,750,902,1042,974,787,988,1306,1486,1408,1206,1628,1414,908,1046,1266,1520,1252,1118,1098,1016,1266,1244,1082,906,1026,1188,1296,1316,1120,961,805,1072,1424,1268,938,763,659,541,592,573,547,570,706,655,557,474,333,292,321,331,369,405,466,512,611,688,724,881,1274,1574,1574,1490,1426,1506,1454,1298,1124,1010,814,779,849,960,1018,1110,1210,1136,1284,1370,1328,1466,1146,1048,1310,1192,1268,1008,733,1028,1372,1474,1630,1502,963,1304,1350,870,859,1050,678,433,669,900,651,601,1238,1526,977,650,593,764,1038,1536,1174,779,937,1026,1052,1124,940,573,378,455,697,735,1242,1002,694,803,673,487,417,379,351,392,419,439,348,323,283,342,301,261,302,415,489,454,375,314,251,260,243,252,283,310,431,506,506,499,453,402,358,365,438,461,316,350,598,738,844,740,742,719,514,402,629,666,457,427,471,584,556,456,627,813,771,651,677,611,476,389,350,315,308,308,329,360,373,412,391,354,456,502,391,365,359,385,373,437,628,924,1024,929,585,354,318,321,327,343,345,347,362,367,365,358,351,330,324,366,390,408,433,700,1260,1638,1740,1858,1776,1172,832,919,1050,827,511,577,1034,1168,1120,1128,956,858,703,930,1418,1518,1548,1460,1086,706,810,1106,1108,924,907,992,1166,1076,744,528,763,816,465,778,1230,1042,986,1312,1378,1198,1250,1244,1594,1610,1274,929,823,835,1050,1538,1804,1664,1568,1470,1078,990,761,839,920,829,863,941,740,1092,1626,1428,912,436,509,950,1362,833,403,272,301,330,370,396,360,326,500,624,415,429,554,950,894,1090,969,917,703,732,1112,1306,1474,1274,912,929,1220,1296,1388,1316,1007,781,894,919,671,645,793,868,1040,987,1100,1302,1266,1152,1318,1338,1028,811,593,504,487,572,487,363,355,355,335,328,343,309,287,298,326,358,352,336,336,386,397,453,634,631,579,587,639,688,629,498,470,510,590,717,554,381,363,379,379,318,311,321,333,383,410,376,364,356,317,388,397,385,329,356,350,581,699,418,484,709,644,819,1152,736,492,723,774,959,962,997,982,955,1248,1518,1998,1454,976,772,600,562,532,535,626,713,595,571,453,446,748,1086,754,537,625,812,999,1106,990,714,736,759,959,965,428,475,511,391,546,932,995,1072,860,796,1096,1024,712,822,1112,1015,1104,932,637,728,1094,1182,1588,1470,1132,1082,972,636,484,478,491,309,291,540,451,305,265,375,677,861,980,1136,1088,866,711,945,971,578,594,841,1136,1060,939,1062,1064,1112,1260,755,504,645,814,564,578,1180,1001,637,497,667,930,835,912,1064,1224,1196,1262,1366,1234,1206,1076,1064,1122,1262,1168,696,381,424,375,546,722,841,1172,1276,1046,800,683,673,483,380,373,457,882,1052,927,767,1164,1310,1380,948,453,408,617,869,778,721,620,674,682,726,1046,1242,1152,1110,1056,1076,1146,955,919,1200,1312,1048,749,700,905,896,827,1176,1222,1490,2548,2448,839,1034,989,1007,770,670,683,743,859,1126,1334,1288,1368,1478,1176,927,995,1324,1490,1780,1734,1428,1168,1200,1500,1384,1208,1276,1450,1548,1508,1452,1382,1224,1226,1396,1614,1644,1548,1560,1782,1888,1692,1288,830,821,939,1450,1842,1730,1466,1320,1272,1186,1310,1534,1660,1532,918,585,615,669,759,979,1294,1714,2062,1584,810,573,572,773,788,585,523,677,788,633,484,461,441,461,424,375,494,742,744,597,487,655,896,1036,1410,1023,417,399,427,796,1256,946,492,484,514,748,1294,720,374,499,488,424,350,321,539,868,548,647,857,1310,1428,937,844,861,757,656,568,427,433,491,975,1566,882,444,490,432,500,778,1036,945,1110,1148,1110,1258,1136,1082,1344,1376,1238,1400,1474,1172,1086,947,948,914,941,1017,700,736,868,954,890,709,1062,836,944,1184,1058,788,509,432,448,489,577,505,424,431,661,648,528,516,535,485,428,432,419,468,513,389,340,317,322,354,320,321,331,320,326,356,398,461,503,521,540,500,525,501,469,470,460,353,305,364,456,476,388,410,533,686,750,750,717,691,586,471,483,514,438,350,349,326,351,383,400,334,328,354,405,404,347,470,604,632,536,461,433,362,392,383,382,400,382,384,563,698,681,789,1074,930,550,392,433,810,1218,1194,953,1096,1054,783,830,1036,1256,1202,985,842,1140,902,1282,1540,1202,823,783,616,744,1054,1007,706,517,547,329,314,374,293,298,477,555,597,755,590,261,431,892,1272,1230,797,888,1054,1312,1218,962,926,824,709,585,404,359,376,367,391,440,472,396,454,428,332,323,313,301,393,604,542,847,1344,1210,1510,1386,814,473,388,695,1150,995,899,1146,1422,1392,1370,1160,1322,1450,1180,874,827,510,391,401,452,825,1184,1013,395,312,342,394,415,499,694,672,481,422,423,386,367,297,307,344,362,357,318,234,305,370,350,328,278,298,351,381,389,376,394,877,1076,1116,1172,984,877,917,1430,1510,1474,1626,1636,1676,1808,1656,1240,1208,1202,1240,1334,1406,1334,1268,1432,1294,1013,875,1318,1538,1444,1302,792,527,711,860,819,669,675,868,958,826,1150,1020,644,438,369,458,752,889,1462,1838,1650,1686,962,816,720,567,575,1312,1546,720,502,869,1088,1050,1082,939,1494,1430,885,630,429,454,476,677,1050,1006,1042,1222,1316,1094,642,570,1030,1252,826,928,1038,694,454,466,539,594,943,1024,948,1460,1716,1718,1424,1158,1138,1100,749,517,654,894,926,886,725,977,550,485,752,1132,1442,1410,816,634,823,664,625,509,612,720,921,777,881,1080,1122,1158,1082,1584,1460,717,1044,1048,864,998,1222,1046,735,952,900,760,1236,1398,1028,759,1024,1654,846,963,1540,703,442,458,459,465,713,854,548,396,421,536,845],[335,337,326,326,330,322,321,374,453,524,592,472,327,326,333,319,299,285,256,268,283,283,291,289,281,316,334,322,373,373,305,285,312,409,514,563,495,312,228,301,323,330,532,521,425,368,387,408,371,388,387,405,416,425,461,517,486,695,948,653,362,295,272,362,425,351,354,348,336,345,302,294,338,432,487,386,399,395,382,412,498,429,339,308,304,313,339,347,353,383,354,296,289,271,292,301,350,338,328,318,303,310,300,293,272,234,255,264,281,303,320,259,229,220,192,205,251,288,275,244,301,313,292,388,480,436,479,439,633,736,1228,1632,1172,1238,1032,530,821,950,1078,986,1136,1102,987,1516,1560,1076,788,1260,1986,1750,1260,972,1002,993,671,312,328,400,591,930,1048,984,989,1444,1340,926,1040,852,578,497,426,399,347,278,289,579,984,976,1208,1170,1088,916,1392,1210,1154,1140,1038,1182,1246,982,1218,1132,966,1019,1754,1216,646,930,1376,1100,718,1070,1432,1522,1522,1346,935,452,314,323,295,510,805,800,880,694,1013,1112,713,851,577,915,1544,1352,1418,1638,1406,1076,1072,1290,1422,1320,1210,1128,1192,1086,1368,1428,1390,1222,1162,1260,1260,1072,821,711,738,1030,962,1052,1136,449,337,459,889,986,1020,865,836,730,570,603,753,833,686,645,974,1242,1080,709,880,1042,907,1096,1428,1388,1308,1230,1354,1578,1242,934,1056,1104,910,965,1166,1312,1392,1328,986,886,879,909,1178,1282,1246,1272,1124,1156,947,678,936,1024,928,1092,943,700,423,371,457,452,511,587,537,348,462,1042,1530,1654,1886,1646,1660,1574,1570,1174,706,838,1098,1042,1284,1448,1360,1060,876,989,946,1084,1068,1136,1406,1504,1236,1182,1428,1062,826,663,1102,1764,1386,1428,1312,1056,1046,1328,1334,1168,912,568,736,978,1013,1116,1062,852,1466,1180,1218,1322,1412,1710,1266,1106,1042,828,789,653,839,904,913,879,729,963,1108,1074,1094,1194,1440,1178,1108,1328,1166,1354,1096,826,1024,1120,1212,1046,852,1274,1340,1198,1372,1494,1394,1238,747,653,825,895,706,656,1308,1802,1158,1014,1032,1152,1306,1054,1166,1280,1698,1506,1130,1438,1558,1334,1056,1066,1112,1021,1254,1372,1334,1390,1302,1178,1078,874,762,949,935,827,689,1218,1380,1130,1078,1226,978,1058,1054,915,1170,1242,979,1140,1478,1662,880,510,512,681,605,578,958,1114,745,873,1482,1418,1282,1334,1140,956,926,1152,1276,1362,1416,1278,1338,1234,750,872,1476,1420,1252,1434,1682,1732,1668,1570,1286,1232,1354,1206,1142,1318,1354,1340,1432,1414,1284,1310,1302,966,1021,1116,1056,981,637,463,506,869,1164,907,569,656,1098,1074,1066,1158,988,939,1048,1212,1286,1238,840,784,666,905,1022,976,773,790,640,569,650,808,1200,1088,1044,1460,1648,1144,1352,1040,938,1238,802,559,795,1168,1038,736,962,986,1306,1300,1146,1146,902,804,897,1152,1332,1266,1184,879,811,736,621,689,882,1020,1124,1188,1162,1300,1466,1178,1032,1250,965,802,718,672,434,426,433,496,617,712,716,619,460,332,289,318,318,343,400,476,534,611,667,809,1044,1248,1358,1514,1538,1580,1554,1346,1302,1368,1614,1116,869,855,846,1005,1218,1202,1278,1422,1312,1332,1240,1052,905,1072,1040,1015,862,695,1006,1438,1352,1532,1654,1448,1352,1098,996,1056,1184,794,476,440,529,531,790,1390,1650,1338,998,921,951,1190,1440,1140,797,1060,1160,1066,1220,935,609,438,663,915,1036,1204,670,417,498,650,617,465,371,305,293,378,407,383,346,326,348,328,336,352,389,431,393,302,283,246,238,245,317,340,346,476,465,430,469,420,352,337,350,419,517,386,361,553,702,792,766,669,543,372,380,665,726,486,453,485,547,475,383,639,774,542,455,685,839,650,392,325,323,299,284,329,360,399,389,397,381,427,450,376,360,377,391,411,608,806,781,600,424,331,333,361,354,332,349,378,401,396,384,380,368,357,348,370,417,427,423,768,1410,1706,1698,1688,1616,1136,757,708,825,733,783,1142,1184,1068,1266,1208,1054,827,932,749,595,830,1116,1274,1086,637,767,1052,1090,1230,1292,1390,1042,1256,1248,875,763,875,738,585,701,721,649,1090,1088,1190,1388,1252,1274,1370,1418,1024,568,432,536,754,1124,1690,1620,1480,1444,892,689,550,518,457,545,1208,1780,1174,664,811,1014,648,521,683,1150,1236,965,756,500,369,387,373,341,287,288,372,484,406,489,877,839,565,752,911,951,868,1122,1490,1284,1262,1140,913,1066,1009,1136,1330,1268,1068,1090,1094,604,471,769,980,1092,1194,1418,1454,1260,1230,1162,1390,1288,813,588,460,426,498,491,368,357,360,349,307,439,736,869,852,653,487,373,408,381,356,383,423,603,780,670,580,572,576,586,572,489,404,372,399,520,648,495,369,419,402,335,333,338,339,376,405,365,350,358,341,373,377,389,402,342,231,297,363,413,537,445,330,447,678,550,780,788,607,726,993,1084,766,639,821,1518,2056,1502,1310,1214,969,582,421,422,440,385,382,425,447,481,995,1250,905,616,567,736,930,1074,937,827,731,596,858,930,497,798,741,441,587,948,959,962,810,979,1318,1340,1180,983,478,658,822,1102,1116,1228,1448,1011,1074,1458,1336,1074,1130,1038,745,392,368,407,432,530,536,465,341,452,808,974,653,398,381,375,472,439,340,393,595,736,1064,1346,1266,1266,1392,1376,1164,811,954,1056,1010,763,722,1007,1038,875,840,720,1124,1054,1058,939,1005,1168,1274,1176,1142,1162,1128,1044,935,1206,1252,984,409,339,392,521,647,658,1001,1146,1196,1044,620,477,397,499,687,656,783,830,803,1144,1434,1400,1188,735,632,773,784,997,807,875,1124,1322,1110,899,1158,1276,1152,1250,1242,1110,1244,1220,1216,1212,1138,1013,740,571,785,789,1654,2448,1626,1620,2304,1780,1090,1016,819,862,824,786,838,935,1013,1086,1174,1284,1288,1218,1046,727,810,1144,1318,1410,1608,1522,1288,1212,1164,1250,1628,1598,1454,1404,1368,1248,893,818,1052,1274,1382,1404,1448,1458,1588,1730,1678,1524,980,772,875,1482,1646,1562,1638,1454,1314,1254,1152,1013,1046,1038,793,534,512,628,703,944,1226,1438,1694,1680,1172,641,469,730,949,616,551,671,656,496,406,378,361,426,418,426,469,613,656,594,437,552,902,1060,1178,829,427,444,424,545,1096,1230,628,484,595,1166,1670,867,587,957,894,600,413,484,661,601,457,918,877,849,798,722,983,969,589,550,683,567,804,604,697,1362,749,409,651,723,575,605,605,626,967,1184,1288,1476,1462,1196,968,1082,905,816,982,1026,996,795,1005,1126,1070,922,804,855,1012,931,837,781,677,703,786,787,897,853,800,780,625,525,536,435,455,555,846,682,496,468,536,743,739,491,381,436,576,497,452,428,454,449,368,386,451,460,436,369,348,433,455,463,504,483,505,570,601,505,413,389,329,331,348,374,361,440,473,484,642,715,704,656,503,394,390,412,396,369,361,339,366,379,381,345,339,347,392,400,390,448,508,595,600,539,410,361,384,394,445,456,456,552,813,836,689,543,491,508,449,372,337,444,758,916,808,927,1028,738,404,493,455,821,1156,1270,1366,1072,1532,1284,832,982,883,532,821,1180,1196,997,908,776,457,303,274,217,380,921,1088,839,616,370,280,373,566,1064,1038,905,1090,1194,1372,1238,1110,1238,1144,1028,935,549,412,412,398,390,515,548,436,354,299,332,330,259,301,368,442,602,988,1138,1332,1470,1172,774,505,395,702,1013,921,840,867,1310,1526,1296,1230,1290,1158,800,804,969,703,439,380,585,1007,1074,739,471,419,372,384,507,605,626,459,355,375,426,406,365,328,343,326,343,380,291,230,295,336,345,307,307,283,304,349,381,408,358,376,571,951,902,800,871,709,1250,1504,1732,1770,1430,1554,1672,1322,1196,999,1019,1244,1576,1230,1360,1188,1212,1192,838,550,1110,1090,797,814,712,548,861,1432,847,589,452,626,1324,1554,1078,1042,1202,798,529,539,749,1146,1798,1830,1724,1420,1278,855,768,856,822,1348,1120,524,705,1040,1346,1136,1138,621,894,1052,947,739,482,446,561,1172,1850,1370,1272,1338,1426,1384,1160,1038,1190,1202,971,968,766,657,691,559,499,849,1574,1356,995,1266,1240,1250,1302,1314,1202,875,662,630,962,979,1042,955,744,844,561,414,691,1230,1316,1190,882,457,495,620,684,688,532,444,431,657,815,886,1170,1156,976,1300,1332,1040,1112,814,688,644,856,1050,1392,1900,1454,1134,1606,1428,1002,719,527,849,611,516,485,386,418,473,495,577,1042,1180,549,482,491,610,848],[323,333,361,348,366,383,421,566,689,723,707,497,307,291,339,336,270,248,243,269,286,303,316,295,321,361,327,293,366,426,391,338,399,504,709,714,517,352,275,304,309,365,524,554,388,239,334,392,398,399,389,411,444,475,488,500,396,745,1270,1028,615,401,346,393,449,407,372,330,318,330,328,321,340,448,565,431,481,453,391,424,455,395,330,299,310,292,311,304,275,327,353,330,276,241,248,301,355,306,291,320,286,287,285,298,266,271,298,320,348,366,379,306,250,236,232,247,274,272,240,246,305,298,274,369,430,444,473,494,669,684,893,1154,1194,962,904,580,615,788,967,883,1274,1586,1388,1230,1194,1252,1108,1464,1538,984,774,924,1007,1426,1142,630,360,373,645,882,844,694,897,1444,1182,560,756,628,492,542,521,458,379,278,379,455,513,777,1036,1009,868,905,1254,892,766,907,853,993,957,698,705,540,863,630,1130,1158,966,1162,1240,1021,943,1086,1208,1208,1060,1346,1572,1112,523,396,706,1136,1306,1284,1176,1214,1338,1158,933,838,525,516,1005,1092,1358,1464,1148,1012,1350,1486,1606,1568,1402,1292,1368,1172,1064,951,1326,1382,1330,1182,1062,1078,1162,862,947,1578,1266,1150,1324,682,349,456,653,694,677,878,1068,684,483,598,482,546,402,557,1266,1510,1134,722,656,905,1260,1430,1270,1116,887,1184,1276,1724,1332,826,1009,1040,928,1082,1240,1226,1264,963,988,984,967,1068,1390,1368,1092,1156,1238,1316,1003,857,1066,924,803,943,863,614,447,442,512,521,612,945,1158,767,1046,1682,1572,1614,1582,1156,1394,1422,1314,1142,865,914,978,1028,1292,1306,1504,1208,1102,1170,993,1092,1158,1048,1154,1346,1136,1338,1402,1224,1060,815,1268,1870,1504,1466,1278,1202,1262,1252,996,868,1030,1076,926,866,1056,997,1316,1410,1522,1106,1086,1290,1338,1216,1174,1358,1118,1160,891,572,597,796,1030,979,854,1088,1202,1056,967,1410,1598,1126,1158,1278,1326,1466,1178,1136,1360,1262,1232,1016,736,1122,1344,1322,1146,1180,1072,823,631,581,703,848,742,835,1224,1208,1120,1294,1194,1244,1470,1438,1554,1536,1614,1380,1178,1188,876,937,770,1072,1182,1168,1288,1346,1126,1160,1412,1354,1190,1120,995,961,861,949,583,922,1244,1188,1208,1270,1046,1082,1386,1278,1252,1298,658,977,1432,1382,1028,638,822,1532,1172,664,1052,1032,801,1240,1618,1228,1344,1220,1288,1308,1266,1260,1344,1380,1216,1086,1148,1206,788,824,1236,1136,933,1472,1674,1812,1836,1722,1556,1428,1278,970,1212,1340,1410,1444,1350,1292,1112,1252,1516,1184,1012,1136,1008,793,497,419,646,930,808,531,471,672,966,1032,948,905,1152,1290,750,581,521,794,923,1022,1138,1370,1172,844,1142,1206,951,1026,1068,675,828,1050,1276,1350,1236,825,844,1064,1390,1028,671,896,1220,1266,991,980,969,1092,1234,1334,1286,1166,1212,1228,1312,1316,1360,1276,1094,817,897,957,743,638,712,1216,1450,1146,1011,1242,1658,1620,1244,987,766,730,644,474,329,336,378,440,536,636,569,525,430,363,316,340,343,361,401,428,498,613,677,783,1056,1230,1382,1584,1476,1322,1438,1294,1166,1238,1180,949,954,973,1015,1172,1384,1260,1434,1148,1218,1518,1376,1266,1144,1214,1224,1364,1576,1466,1366,1518,1304,1342,1464,1432,1398,1422,1196,942,1044,1028,552,391,473,751,1232,1506,1580,1842,1562,1360,1404,1286,1398,1410,1094,1168,1204,1072,1246,1120,766,448,833,1130,1224,891,473,444,521,529,507,483,440,399,332,350,360,350,345,362,348,342,369,351,395,401,425,338,306,267,225,298,392,389,390,416,380,380,423,387,352,344,375,395,503,455,335,387,452,440,420,406,351,306,318,560,730,587,528,547,601,422,300,388,401,349,397,651,856,534,351,321,320,313,308,309,334,372,377,379,381,366,346,331,359,356,405,550,821,745,440,339,343,318,330,342,336,313,366,420,444,420,406,408,401,408,381,378,404,491,965,1610,1744,1636,1712,1422,866,612,731,817,901,865,921,1296,989,1136,1404,1198,974,1036,1312,1078,748,735,872,1130,1036,944,1274,1015,844,1206,1288,1306,945,935,1106,1194,1116,892,662,713,689,684,824,1194,1152,1006,1268,1208,1390,1258,915,756,491,584,873,917,1076,1390,1426,1566,1368,860,531,514,552,514,662,1294,1310,839,664,703,1196,887,681,866,1114,1280,1366,1110,833,630,459,438,343,289,321,256,265,353,695,778,545,618,497,563,766,968,1116,1234,1216,1268,1206,1042,1156,1078,1210,1436,1288,1180,1202,1180,894,874,951,1216,1256,1228,1326,1246,1184,1130,1132,1340,1248,972,697,569,446,410,434,381,339,322,368,344,567,1384,1860,1814,1592,1090,636,641,572,520,465,506,712,816,695,568,557,666,519,487,452,428,379,364,383,556,588,411,366,327,307,319,346,356,395,408,373,362,354,368,390,395,438,428,285,237,365,481,458,476,352,292,308,250,394,642,551,681,845,854,753,485,609,539,607,709,1015,1230,1214,946,569,356,485,462,489,540,505,564,820,1070,1112,873,646,501,478,560,894,1258,1438,1440,854,635,709,489,639,598,530,668,673,768,1140,1212,940,1202,1250,833,1126,835,514,969,1582,1532,1494,1468,1028,787,1230,1662,1256,1288,2374,1226,670,750,648,621,804,723,552,496,568,810,1140,637,441,462,447,555,673,595,537,815,937,951,1316,1202,1016,1110,1005,906,1510,1744,1376,1040,870,824,839,733,867,1310,1012,1112,1068,796,880,885,886,1070,1156,1212,1210,1116,1016,880,1166,1334,989,877,575,381,507,972,1001,683,922,1216,1013,800,578,553,681,1084,863,525,696,1084,1348,1462,1242,695,639,1100,1232,1110,1262,962,1128,1494,1430,1148,1122,1170,1100,1216,1434,1196,1108,1362,1322,1188,1260,1042,968,764,521,539,714,1378,1476,1228,1586,1612,1252,1122,1096,952,1060,1072,1170,1394,1324,1116,1066,1158,1222,1076,899,891,852,1052,1710,1766,1376,1486,1644,1366,1288,1270,1330,1214,952,1070,1212,1074,1034,1204,1322,1354,1360,1136,1124,1260,1136,1454,1862,1770,1604,1248,855,1036,1548,1104,1036,1390,1262,1182,1013,1078,897,645,630,558,413,491,651,706,866,1230,1486,1522,1628,1236,610,494,639,730,496,496,488,429,458,444,393,344,381,418,453,461,513,666,612,414,497,609,608,555,465,443,444,445,500,954,1314,791,472,624,1300,1566,817,654,1136,1220,793,670,839,623,407,630,993,635,435,471,552,935,930,516,700,1068,858,1248,853,543,760,624,432,775,1240,1024,632,390,386,470,862,1244,1512,1266,961,904,955,803,964,1002,987,899,1016,1240,1180,1248,830,582,644,576,656,875,1068,1078,747,625,648,592,647,766,970,900,781,688,502,453,727,819,583,672,488,504,761,886,729,451,459,578,492,407,424,517,532,430,399,506,549,561,524,462,483,445,417,440,402,401,473,561,529,417,474,473,458,390,404,452,436,440,412,453,565,649,560,463,402,417,408,394,376,360,375,393,446,446,389,376,354,362,348,375,456,538,469,477,527,448,401,374,426,464,472,489,748,1224,966,850,627,457,406,424,363,437,761,899,816,1178,1418,1252,953,491,763,681,525,662,833,813,1030,1118,879,713,674,606,518,1094,1300,753,744,1044,951,542,258,218,233,607,1072,667,741,604,368,376,401,328,935,1198,1094,1216,1300,1396,1272,1714,1858,1444,1378,1102,727,670,567,414,409,546,667,625,467,379,455,440,356,376,392,379,841,1114,1204,1420,1344,1238,1126,834,521,527,647,603,528,735,1240,1522,1394,1472,1596,894,1114,1078,1302,1284,1026,593,757,1166,1318,979,695,506,428,859,1350,816,551,414,355,326,369,357,329,323,337,328,337,390,283,248,341,396,338,345,349,364,311,278,356,405,376,314,397,467,419,516,712,937,1114,1314,1326,1007,905,1318,1162,882,1180,964,933,1110,1170,661,761,839,980,1062,667,547,738,968,1015,547,481,515,761,1198,678,539,523,882,1794,2236,1676,1090,1238,1244,1222,836,810,1760,2070,2236,1632,1180,1358,1410,1090,514,683,1132,1024,861,1026,1132,1290,942,678,494,889,1270,1064,919,1009,611,543,1030,1744,1180,1050,1318,1454,1394,1388,1384,1328,1230,1176,895,556,550,650,652,877,1376,1470,1054,1094,1054,919,1130,1340,1038,1017,978,739,589,873,995,1384,1007,786,791,578,502,729,1140,1328,1114,735,469,403,550,868,1492,1358,599,440,452,361,441,624,825,1058,1394,1424,1512,1148,566,503,509,650,1070,1670,1700,1038,797,919,780,698,564,474,440,567,545,502,453,440,447,442,602,1100,1252,914,818,713,583,536],[575,681,709,571,481,465,492,604,695,735,738,547,300,270,324,327,235,245,250,265,301,326,377,401,422,409,362,365,446,512,496,573,686,706,662,612,512,406,315,275,251,375,528,488,392,310,345,371,406,396,383,397,428,448,456,455,349,448,924,1294,1028,709,424,365,397,367,319,307,306,313,324,338,358,375,507,465,392,353,379,413,407,399,351,303,319,274,275,276,295,301,313,342,325,292,273,280,318,306,321,327,249,258,269,305,274,288,301,328,358,350,343,343,308,291,283,253,242,236,238,315,327,294,303,361,402,460,499,698,1026,861,825,1001,908,581,455,449,442,547,738,731,1002,1182,962,1266,1406,1402,1628,1482,1272,1162,738,784,813,691,1001,986,770,871,1062,910,908,1142,1170,1074,943,1060,1080,609,365,462,516,531,453,376,472,777,1058,1208,1276,1068,905,1312,1210,496,620,1034,1080,1032,1044,747,645,749,713,692,987,1013,1054,1062,825,952,1012,1160,1064,1016,1008,858,899,1328,1086,1016,1090,904,1246,1396,1134,1490,1600,1428,1476,1362,907,631,817,1080,1378,1468,948,741,762,783,1084,1248,1310,1298,1194,1048,1174,1202,1174,1156,1186,1324,1302,1202,1314,744,781,1294,1312,1009,1036,905,700,626,567,708,735,755,854,680,767,493,285,345,313,454,1024,1454,1280,949,674,856,952,766,538,659,584,887,976,1292,1482,1334,1236,1234,1306,1238,1015,971,1226,993,907,709,649,871,1314,1264,936,1040,1114,1230,1054,993,1018,887,966,997,753,554,524,443,491,767,896,1188,1754,1726,1412,1750,1720,1598,1184,838,1114,1400,1192,789,930,1092,653,683,1012,1090,1278,1218,1318,1268,1212,1346,1136,797,1126,1190,1184,1310,1248,1166,888,651,759,1134,1082,940,1134,1268,1098,1032,582,615,1170,1780,1318,1036,1098,902,1144,1316,1011,984,1146,1240,1262,1208,1290,1458,1334,1154,851,818,783,935,1056,708,807,1098,902,841,889,1304,1278,1194,1288,1278,1036,1158,1514,1500,1342,1438,1514,1302,917,1148,1056,1166,1308,1044,745,835,982,990,889,1074,1003,1106,1210,1268,1440,1572,1466,2040,2166,1538,1194,1188,1210,1168,1198,1094,843,787,591,977,1072,1360,1340,1214,1268,1376,1460,1266,1080,1003,1080,1106,948,1028,882,1190,1200,1126,978,852,1003,1200,1500,1472,1078,1060,926,1136,976,988,1406,1226,1258,1594,1170,990,1084,1084,993,1216,1074,1064,1100,659,827,1136,1288,1200,1242,1200,1198,1324,985,928,896,926,722,835,943,1512,1522,1328,1588,1808,1826,1654,1282,1296,1432,1316,1356,1536,1368,1288,1088,1050,1378,1266,882,866,871,621,526,543,629,785,612,424,424,429,612,1007,1272,1094,1258,1124,648,466,494,648,857,894,1372,1686,1044,688,874,948,1132,1384,1318,894,1120,1318,1204,1236,1202,1036,1114,1270,850,625,907,1378,1566,1268,1118,1168,1180,1188,1144,1176,1120,1196,1234,1440,1698,1454,1302,1426,1338,1064,1140,995,605,543,724,1074,1332,1392,1202,903,1224,1386,1306,1136,845,548,429,326,276,431,737,753,628,594,630,629,609,407,283,287,320,355,364,409,538,707,812,839,974,1120,1478,1598,1418,1060,970,1130,1234,1320,1342,1296,1132,1216,1494,1510,1508,1190,1250,1362,1248,1486,1644,1460,1350,1446,1456,1704,1680,1608,1518,1300,1118,1044,1310,1288,1448,1246,640,661,946,873,565,430,420,739,1262,1420,1394,1752,1846,1732,1516,1078,1054,1198,1248,1140,1370,1134,1148,746,637,780,956,784,619,558,471,595,579,461,483,458,444,350,311,392,429,378,329,356,362,366,370,339,335,332,369,306,312,267,263,331,352,400,409,356,280,346,378,420,377,328,372,517,643,521,397,346,299,302,320,314,299,318,345,521,582,608,659,644,501,393,336,310,318,334,361,435,462,339,312,304,304,311,307,315,338,357,371,373,345,320,315,362,371,423,644,907,802,438,330,345,343,318,331,324,352,370,416,434,439,414,399,398,404,431,418,426,598,1092,1550,1650,1692,1616,1182,696,588,536,571,930,1606,1156,751,1320,1252,1332,1180,1088,1158,1242,1098,1078,1130,1074,1202,1172,1204,1308,918,808,956,1186,1382,1488,1078,846,1390,1848,1706,952,653,764,666,623,849,915,914,1144,1216,1068,1064,965,891,868,436,582,910,1152,1292,1360,1504,1528,1272,879,630,617,541,665,1042,1188,1224,1296,945,703,892,713,700,1100,1084,858,1064,924,1032,1110,1104,784,462,380,390,297,306,343,403,452,821,951,555,420,595,1094,1208,1126,1366,1600,1498,1088,937,1124,1354,1570,1238,1230,1238,1468,1530,1268,1296,1296,1038,957,1092,1246,1042,907,1134,1232,941,920,735,567,460,505,504,400,359,319,391,406,456,1166,1842,1942,2006,1752,1510,1148,710,481,456,487,621,662,686,710,628,727,621,528,484,470,393,360,365,480,622,544,415,379,349,313,325,373,424,422,399,385,368,371,364,313,372,304,207,263,397,486,413,314,302,292,291,360,756,810,634,861,1256,1015,548,395,477,493,485,555,796,1092,1284,1396,1218,511,480,478,574,692,698,853,1064,979,933,1234,1310,505,406,469,1070,2062,1670,1548,1158,741,654,602,504,532,682,899,889,966,1052,1180,762,791,924,1082,1438,1266,767,1082,1704,1344,988,1078,820,1070,1192,1444,1552,1456,1322,879,747,796,792,807,803,601,558,922,810,735,977,729,558,610,669,692,866,841,825,1017,678,707,1098,796,560,767,1064,1636,2214,1910,1532,1184,971,960,841,841,988,944,786,828,868,585,597,626,601,755,1092,1206,1158,1052,1078,1019,1194,1230,946,884,714,545,627,1050,796,518,629,1104,1256,1248,930,905,1016,1194,962,696,925,1090,1100,1194,919,518,547,692,868,1092,1250,1160,1164,1100,979,1009,1308,1268,1216,1318,1330,1282,1252,1222,994,1208,1334,1078,908,748,670,736,993,1234,1162,1038,1510,1578,1324,1262,1140,1042,1336,1412,1358,1268,1166,1076,990,1052,1126,1116,988,940,1028,1228,1564,1724,1506,1276,1620,1538,1440,1406,1302,993,1142,1418,1260,1136,1184,1168,1064,944,774,561,625,880,1154,1622,1952,1848,1622,1524,1224,1340,1422,744,605,862,1202,1308,1019,1032,883,630,561,488,440,504,636,672,720,1136,1502,1532,1562,976,587,787,945,807,565,450,450,489,568,449,433,406,395,403,453,535,626,838,724,472,509,489,565,462,441,379,383,392,503,951,1448,1224,805,897,1422,1560,646,704,1196,1482,991,1140,959,490,469,477,462,534,724,573,580,871,1046,935,816,1130,781,1324,1012,939,1316,815,422,705,1172,1108,785,341,390,416,402,736,968,987,912,1168,1172,1034,1038,1060,926,906,1398,1204,935,1068,756,775,774,616,670,709,1210,1482,832,444,492,462,506,576,885,776,821,995,940,594,609,705,1260,1438,816,655,853,816,617,488,522,552,433,299,336,408,451,417,362,470,515,463,464,533,497,424,455,520,465,406,385,474,558,510,490,535,557,429,428,474,464,425,405,400,435,481,465,462,456,433,373,356,374,388,393,443,567,605,565,466,368,364,364,392,430,489,451,400,355,437,519,469,396,404,441,549,1042,1192,1058,1046,923,847,641,435,339,466,758,624,440,843,1148,1216,879,477,1072,1166,730,553,460,466,520,568,868,1018,1011,769,869,1270,1120,613,631,865,796,555,397,312,268,388,492,451,549,394,419,650,616,772,1664,1586,1416,1472,1488,1416,1424,1690,2108,1228,1216,1238,971,1166,1196,814,388,422,569,565,399,383,773,835,560,836,698,486,977,1222,1290,1198,1084,1136,1218,1124,902,865,948,699,401,670,1148,1302,1100,1234,1550,1058,1306,1114,1350,1222,1013,883,867,1120,1186,958,653,428,579,883,1288,741,397,359,376,320,318,304,275,328,384,379,360,449,331,300,363,404,398,423,383,399,405,337,324,385,381,317,364,424,505,541,672,904,1038,1086,1068,976,1196,1500,1224,684,589,871,636,699,636,471,448,622,1005,826,473,537,682,1042,956,654,460,403,438,403,409,425,518,838,1126,1314,1164,673,730,1432,1426,1362,1416,1614,1862,2250,1714,1028,1004,1266,1052,766,659,880,1096,1340,1114,1023,783,651,540,591,1021,1078,800,888,1296,868,661,529,514,459,575,1158,1480,1426,1376,1440,1328,1278,1170,642,434,471,542,465,669,894,600,668,913,1072,1418,1310,1134,907,637,605,504,477,530,991,1318,766,553,885,1204,1034,833,872,1242,1304,874,490,476,539,977,2032,1606,523,401,433,589,489,322,309,400,829,1054,1338,1080,615,445,443,548,1028,1078,774,519,676,783,799,713,544,536,814,830,596,551,572,633,670,791,830,841,788,666,695,591,412,340],[752,797,792,620,505,473,490,594,684,707,708,550,302,266,318,354,286,276,288,304,303,336,418,460,427,358,368,459,535,607,681,706,664,521,427,370,346,298,242,228,200,402,532,480,485,425,405,407,409,377,360,385,407,430,429,445,587,1230,1196,1136,1062,929,625,519,549,393,291,303,278,287,304,305,323,324,470,707,630,403,346,365,401,357,346,302,284,253,251,256,261,291,285,312,329,302,265,247,285,328,363,354,296,291,257,270,283,296,308,315,310,307,364,375,351,300,289,244,263,266,256,303,302,319,356,340,365,440,482,901,994,741,684,799,720,530,580,602,569,934,1226,1068,1034,960,956,916,1330,1302,1260,1236,1224,1062,792,742,749,927,1138,859,1122,1150,1190,1116,1016,1232,1368,1154,888,936,896,661,596,543,547,555,512,509,591,847,1130,1344,1328,1058,789,852,817,466,383,636,836,689,890,516,517,739,644,515,359,518,836,1015,980,1096,1084,1538,1118,880,988,612,342,698,1232,1554,1376,1328,1398,1238,883,1066,1152,1310,1386,1278,965,808,965,1136,1282,1206,967,1116,1021,985,1164,1186,1374,1674,1600,1244,1360,1398,1170,769,644,894,1266,1290,1066,937,957,1138,1346,1144,973,1110,1112,734,586,670,596,973,990,671,925,849,522,364,335,406,750,1232,1104,888,945,1140,906,723,624,741,783,729,766,1236,1532,1360,1168,999,1210,1000,915,916,1240,967,661,486,433,605,938,958,1036,1264,1040,1150,1130,999,1112,938,908,965,683,563,519,469,917,1200,1066,1118,1406,1650,1328,1268,1514,1216,840,1034,1180,1194,930,711,724,785,422,352,708,933,953,1156,1256,1190,1428,1454,1100,1158,1256,1074,1007,1068,1168,1152,919,888,1080,1128,1032,1040,1284,1256,1144,1176,711,698,991,1290,847,822,808,612,942,1076,919,1178,958,1290,1404,1298,1152,1278,1244,834,766,975,930,1036,1005,458,397,527,669,882,1382,1748,1552,1174,1016,977,980,1346,1560,1114,1116,1670,1810,1436,1142,991,836,718,1040,1188,764,620,1046,1268,1034,921,824,789,926,1292,1358,1414,1338,1400,1414,1256,1290,1518,1420,1434,1418,1104,924,785,912,1126,987,1021,814,653,739,760,860,579,898,842,1026,1122,966,1114,1260,1386,1202,915,818,889,936,1128,1494,1426,1070,952,1202,1046,604,780,1504,1406,1010,1226,1426,1334,1282,1562,1130,1154,962,1156,949,503,447,631,759,1010,1428,991,932,871,566,740,1013,877,538,1013,1358,1374,1068,989,1350,1716,1712,1688,1684,1680,1486,1388,1900,1926,1388,1396,1240,1088,932,666,440,403,813,1050,999,1154,906,774,679,459,615,576,509,663,1108,1478,1538,751,656,511,420,686,1058,1168,1210,1106,877,848,926,1302,1284,1168,1011,1144,1152,1354,1430,1410,1360,1300,1244,1366,1126,1260,1174,1330,1316,1114,1164,1442,1424,1208,1092,966,1128,1358,1264,1434,1544,1454,1310,1342,1158,914,949,1007,973,874,911,905,957,928,1340,999,937,940,959,1040,875,656,532,398,543,949,1120,1208,772,487,743,933,828,512,349,331,347,359,356,467,662,807,885,937,1082,1236,1406,1500,1444,1202,1104,1172,1318,1304,1316,1612,1490,1330,1304,1408,1440,1064,1120,1356,1334,1434,1504,1476,1402,1314,1336,1534,1334,1378,1466,1068,991,1202,1248,1400,1350,880,577,575,526,477,553,720,680,753,1116,1378,1354,1636,1964,1752,1518,1166,896,1124,1420,1332,1508,1300,1344,1148,1144,1366,1242,1176,1178,798,571,586,541,458,435,421,402,360,405,530,612,546,418,370,382,354,307,289,276,257,270,281,262,242,288,322,419,483,389,333,318,364,365,477,494,380,398,711,830,633,518,418,328,324,308,314,322,360,370,425,511,583,615,549,427,463,526,426,351,339,393,391,321,323,327,307,294,304,307,305,305,329,365,344,299,321,331,365,421,685,966,863,466,314,329,331,336,343,325,333,390,439,455,441,412,363,352,402,427,463,435,618,1180,1560,1622,1766,1610,1140,688,500,455,454,549,948,1516,1046,869,1598,1436,1338,1362,1126,1220,1410,1316,1296,1276,1166,1150,972,1302,1400,1224,1360,1396,1336,1262,1284,1362,1494,1242,1262,1632,1382,1172,741,677,875,692,529,992,1334,1156,1072,977,963,910,848,590,480,830,1164,1272,1132,1362,1450,1222,1108,1007,996,735,1044,1510,920,858,1256,984,672,982,995,775,932,722,574,764,780,1080,1250,1346,1234,733,439,362,254,284,318,325,590,880,1060,785,469,667,1052,1208,1194,1274,1320,1320,1009,777,1132,1228,1460,1326,1284,1372,1204,1352,1366,1174,780,611,700,943,1262,1108,1110,1316,1246,731,556,567,542,491,492,471,371,336,317,395,395,644,1516,1770,1840,1750,1600,1718,1534,1150,803,450,499,678,612,610,683,666,648,564,471,471,473,408,372,362,415,555,669,505,478,414,333,342,387,388,383,375,381,385,432,399,315,290,233,243,257,317,391,343,291,309,325,290,521,1080,1112,1016,925,932,730,393,304,313,504,806,760,717,1112,1246,1172,894,534,483,724,861,992,849,900,785,786,972,1388,1506,516,328,446,807,1426,1294,1368,1410,1084,854,778,627,536,684,1234,1040,1040,863,749,495,513,926,1164,1170,1274,1112,1144,937,659,1017,1048,764,894,1188,1166,1524,1644,1108,639,507,720,1122,1074,760,709,670,1048,763,605,1028,1152,912,1007,1088,1048,1172,1038,926,847,613,813,1146,1066,1034,1316,1576,1972,2174,2108,1494,927,868,852,719,1188,883,532,469,608,697,521,451,491,461,539,692,998,1086,1098,1134,1146,1272,1186,1001,959,1084,1080,861,883,651,491,640,843,1134,1142,1062,1226,1224,1294,1240,1012,1178,1164,1256,1328,1072,598,484,666,1008,1148,1186,1494,1434,1028,977,1078,1248,1338,1266,1308,1180,1260,1246,1050,1130,1372,1166,1036,1017,1072,1046,957,1324,1262,1060,1009,1100,1102,982,1212,1218,1016,1072,1096,1230,1088,1258,1182,1228,1256,1150,1148,1118,1002,1158,1482,1618,1490,1178,1040,1620,1556,1442,1572,1426,1360,1498,1332,1138,1180,913,641,515,444,470,508,538,613,838,1356,1738,1620,1572,1510,1490,1540,1028,821,686,1068,1390,1322,910,1170,1182,702,543,445,408,438,511,634,648,1074,1426,1462,1436,1172,1026,985,984,812,606,462,513,578,714,511,422,403,488,445,428,555,616,725,733,581,617,960,819,600,534,678,665,414,497,926,1438,1550,1450,1588,1362,1164,789,875,1148,1190,918,1402,977,451,529,446,361,666,1194,1116,1040,1024,1724,1546,849,518,447,738,761,991,867,432,399,466,753,1138,787,354,463,761,610,469,619,780,1058,1234,1296,1274,1114,1152,908,1158,1434,1252,930,843,838,1154,1140,870,860,1030,1318,1210,751,392,366,522,531,667,838,733,659,932,1092,976,792,834,1648,1592,1482,830,763,756,547,490,604,634,511,445,471,368,309,306,392,473,454,437,490,433,352,327,414,531,477,376,351,348,445,490,491,529,543,494,455,480,501,470,420,421,443,431,399,447,556,478,391,388,381,383,397,469,593,689,717,667,552,466,419,419,475,493,424,379,346,362,441,542,529,423,477,684,805,794,1021,1164,973,717,574,410,368,473,498,484,849,1015,727,491,416,293,473,647,671,434,532,596,666,614,710,758,744,1060,1244,1256,990,642,628,710,652,723,466,380,421,510,420,357,382,381,545,1200,1266,1146,1674,1586,1404,1482,1660,1318,1028,1324,1506,706,519,531,825,1382,1472,841,499,501,498,438,305,450,1034,1194,948,1054,866,550,750,1048,1394,1150,1084,705,633,896,1118,1180,1268,1198,885,962,1100,1036,733,803,1198,1146,1302,1422,1128,883,830,985,1334,1372,1146,1324,888,743,1078,1230,1240,610,383,430,390,335,326,294,243,265,367,332,314,432,373,300,292,468,558,453,366,391,532,470,321,357,350,387,420,422,503,636,961,1300,1288,1536,1682,1730,1788,1792,1642,1176,574,347,530,803,800,590,586,896,1022,523,482,466,529,872,879,566,418,378,379,430,464,430,440,552,807,832,947,809,1072,1484,1514,1674,1468,1230,1374,1374,1268,1282,1112,1332,1686,1144,981,843,983,902,695,835,822,678,567,583,684,1162,923,834,952,806,724,599,496,488,785,996,974,1238,1304,1122,1070,1122,1032,841,924,940,798,776,806,703,648,994,1098,1134,1450,1196,1114,1296,756,473,440,556,603,616,571,652,662,683,1136,617,645,921,977,635,539,470,563,510,741,1224,772,345,346,499,830,476,281,316,361,399,469,528,623,658,659,586,1015,1458,840,641,951,1246,1242,1068,738,514,658,1028,1106,1074,950,726,621,766,889,698,568,694,911,783,526,590,583],[743,761,777,622,462,411,430,498,524,485,502,522,384,309,328,336,286,292,314,334,334,347,443,507,507,446,399,511,550,572,536,441,386,304,310,425,410,258,282,329,302,480,524,489,499,439,394,414,420,371,348,381,398,431,422,470,701,1314,1372,1198,1136,957,654,657,672,406,310,311,282,300,319,308,311,316,508,786,673,392,338,322,293,326,362,353,297,289,287,286,283,276,266,281,271,284,299,285,321,342,336,373,335,317,326,320,308,304,274,274,291,404,331,301,359,558,778,562,326,307,329,362,359,352,349,337,442,387,663,1062,736,620,574,648,628,453,543,556,736,996,1072,893,1028,1124,849,702,1094,1026,1003,1214,1172,1005,978,1250,1288,1556,1308,986,1042,1222,1142,1064,1274,1224,1134,1160,1400,1566,865,665,822,909,724,526,425,461,582,691,706,819,957,1094,1092,921,541,407,293,340,381,407,713,543,387,529,561,366,345,590,857,912,1120,956,1322,1578,1140,1008,806,474,358,379,645,1256,1508,1282,1380,1256,951,651,741,1122,1346,1120,651,711,1236,1072,1256,1224,1194,1418,1322,1434,1510,1542,1426,1604,1650,1500,1396,1332,1236,678,846,612,717,1130,1278,1212,1008,1066,1308,1352,1340,1222,810,616,872,792,536,832,1112,780,735,896,733,338,437,530,648,920,1182,1234,1430,1202,1168,965,776,985,882,578,576,921,1118,1334,1334,965,945,904,891,948,1017,808,546,468,532,735,922,1019,1042,940,909,1018,834,779,1050,899,888,1112,826,677,679,962,1404,1162,1070,1094,1434,1774,1516,1392,1330,1054,1028,1188,1174,968,751,693,630,485,407,610,1004,873,683,846,921,925,1302,1316,1236,1448,1060,852,1090,1100,1218,1266,1148,1260,1414,1306,1202,1192,1310,1260,1314,1162,663,843,1270,1226,887,820,752,700,1042,1204,927,922,812,1312,1492,1224,1098,1148,960,866,946,971,799,847,780,676,906,1050,1070,1184,1302,1426,1178,803,945,1210,958,962,1138,962,1166,1494,1682,1186,1260,1392,1150,923,1088,1130,835,555,875,1186,924,1050,1180,1146,1256,1238,1282,1434,1500,1620,1310,1096,1434,1500,1500,1794,1702,1378,1218,971,1064,1212,1146,1168,902,673,820,768,1048,1003,1232,1024,1017,1054,1074,1418,1644,1460,1050,954,810,1152,1286,1292,1576,1366,1152,1310,1142,754,788,1156,1412,1240,1192,1096,1116,999,1204,1242,1400,1296,1318,1174,727,516,567,720,572,714,1106,928,914,721,601,641,686,524,776,1368,1508,1262,836,1098,1064,1214,1524,1390,1512,1686,1748,1476,2002,2174,1396,1302,1544,1426,785,375,323,342,458,827,1248,1438,1238,1432,1216,572,691,744,464,486,588,1166,1228,822,872,843,524,594,903,955,1126,1148,1048,1236,916,1062,1244,770,554,692,861,1164,1510,1526,1378,1308,1286,1298,1440,1208,1272,1322,1272,995,1036,1342,1542,1388,1316,963,1238,1388,1424,1526,1548,1428,1390,1310,985,803,753,1162,1418,1360,1206,1007,787,853,1166,1506,1250,754,601,615,614,596,639,500,712,825,790,720,673,632,739,875,683,480,401,328,419,457,429,516,658,806,852,944,1064,1190,1246,1316,1422,1472,1332,1206,1358,1356,1198,1118,1418,2030,1638,980,998,1054,1278,1170,965,916,1166,1270,1314,1402,1432,1376,1470,1624,1296,959,1136,1232,1078,1158,897,643,515,490,651,876,849,951,1120,1106,1212,1396,1378,1770,1968,1534,1412,1148,917,1414,1650,1572,1610,1434,1306,1240,1302,1146,1176,1472,1108,1220,802,614,609,505,444,511,568,457,443,549,611,660,641,473,390,265,249,272,255,257,290,316,299,287,305,381,529,487,376,326,300,309,345,471,639,665,656,904,916,531,427,403,322,318,311,329,323,315,436,525,544,622,666,756,658,477,520,543,406,366,449,385,329,321,309,304,311,308,311,297,290,307,328,365,373,342,336,411,677,939,824,469,325,320,322,329,329,325,333,366,404,433,442,432,409,395,394,430,453,456,683,1318,1670,1662,1704,1530,994,594,412,436,491,551,828,1406,1230,630,787,1544,1788,1440,1160,1064,1130,1284,1304,1280,1384,1296,1178,1212,1488,1632,1540,1362,1354,1306,1230,1312,1382,1356,781,767,1098,1210,986,500,662,1094,761,363,750,1066,1010,1118,1188,1322,1514,1194,705,669,909,1478,1482,889,1224,1720,1526,1360,1132,1172,1224,1866,1730,897,691,1050,869,737,1356,1168,725,625,470,505,487,788,986,1080,1210,1302,1182,976,481,330,310,412,761,1009,649,866,669,452,587,1062,1280,1222,1186,1206,995,821,1016,1270,1124,1294,1356,1346,1400,1142,843,1096,1266,888,892,866,1154,1098,1072,1272,1510,1132,752,799,622,477,464,477,515,385,360,376,465,466,497,889,1220,1200,890,1005,1498,1384,1248,905,539,514,730,646,565,637,633,585,535,491,498,485,452,471,441,433,456,607,585,413,331,341,343,368,357,361,364,364,409,529,478,395,314,265,265,245,220,264,333,375,351,233,267,818,989,960,969,995,721,381,318,292,310,352,552,980,1023,1078,1172,1160,991,647,686,838,1056,981,637,653,704,1130,1184,1100,844,507,383,479,730,1178,1150,931,971,941,765,803,468,378,466,854,763,772,732,691,650,472,642,940,1158,1154,1088,1234,723,782,1330,1064,774,800,910,825,1132,1608,1376,875,799,843,907,666,561,598,662,592,490,543,866,1186,1290,1262,1174,1002,1140,1026,965,998,1052,1012,1216,1270,1166,1152,1098,1114,1004,650,425,810,982,1032,844,501,501,774,572,585,716,581,620,519,522,678,711,860,1066,1118,1146,1166,1132,1094,1021,863,989,1188,975,606,598,583,628,527,790,1094,1168,1194,1256,1220,1174,1134,1418,1344,1388,1472,1158,821,673,830,1212,1182,1128,1360,1390,1230,1164,1242,1260,1334,1314,1184,1001,1194,1328,1132,1086,1128,1188,1340,1288,1472,1304,847,1078,1266,1358,1246,1142,1094,1238,1318,1172,1180,987,966,1180,1222,1238,1132,1230,1296,1208,1118,1132,1214,1406,1494,1328,1036,823,932,1476,1648,1482,1204,1152,1306,1312,1360,1380,1296,895,626,584,517,517,551,699,890,789,822,1072,1334,1510,1290,1230,1356,1230,1064,783,874,1140,1013,822,1042,830,727,562,471,404,425,469,605,622,979,1416,1554,1278,961,790,718,817,841,562,376,571,610,519,415,409,514,773,660,447,551,682,681,546,481,514,943,838,856,755,1026,955,427,709,1114,1282,1602,1756,1924,1550,1188,1044,1009,1082,1052,1112,1216,735,442,536,422,399,577,861,1060,1050,1110,1484,1044,524,484,469,388,408,457,334,461,391,369,444,562,508,386,469,941,1072,711,653,1007,1172,1170,1294,1322,1350,1324,1216,1404,1428,1082,857,701,579,612,735,906,1194,1278,1420,1132,619,422,404,409,554,708,613,620,853,1306,1270,801,858,1118,1350,1592,1348,890,691,636,563,504,516,416,458,444,433,379,411,383,324,390,451,467,487,418,341,360,350,407,386,335,443,541,460,361,392,429,503,510,454,438,503,456,410,433,435,404,371,409,410,379,482,496,447,447,393,401,518,731,819,760,661,569,500,468,533,500,384,351,362,385,383,505,724,622,675,816,592,531,968,1258,836,613,613,480,452,508,490,485,1010,1208,897,837,667,342,293,323,355,403,826,1252,1060,553,826,700,454,756,1130,1252,1228,1044,826,755,664,664,414,446,661,914,686,490,810,1094,1250,897,872,1044,728,946,1042,1304,1408,1254,1108,1542,1356,539,365,383,583,801,1028,633,491,544,485,388,328,483,813,1021,941,696,713,784,753,760,1172,1264,1060,504,486,904,1214,951,888,1278,1416,1372,1296,1418,1021,764,1064,1236,1264,1148,888,604,552,904,1406,1362,1009,1250,1224,1276,1484,1446,980,508,391,420,375,373,366,309,408,386,432,336,286,388,369,333,341,422,388,324,408,463,351,343,394,345,327,399,430,415,520,880,1374,1572,1390,1882,1948,1940,1802,1774,1828,1748,928,462,661,1058,1188,797,1054,1316,891,488,432,444,449,558,504,452,487,427,383,379,417,398,496,615,694,909,1178,1284,1290,1124,1246,1196,942,998,994,1046,1058,1234,1362,1990,1702,1530,1278,949,921,700,535,540,690,700,695,449,423,1052,1290,1040,720,633,745,957,743,714,904,712,550,704,1154,1226,1270,1118,852,877,847,666,750,941,1086,1294,1344,1148,809,689,876,891,1288,1140,796,777,731,736,641,586,490,644,1184,1296,820,553,633,764,579,347,360,365,390,419,328,267,317,313,314,566,844,528,314,343,414,404,373,357,360,400,588,625,766,944,854,847,1272,1418,1312,1142,876,763,789,831,764,1138,1286,670,424,596,637,536,450,733,1168,958,691,891,813],[708,699,647,496,375,342,353,308,326,321,438,530,401,335,355,316,292,320,316,352,397,373,479,543,469,429,413,405,367,342,327,362,463,452,492,599,489,340,353,344,374,544,532,481,464,412,382,397,406,381,369,379,402,433,459,499,538,824,1220,1338,1220,899,630,487,483,353,323,287,292,339,350,323,316,352,481,618,564,346,376,352,308,297,291,365,338,295,296,289,275,255,260,298,358,353,346,329,321,334,348,337,331,321,320,359,350,343,300,355,401,456,328,354,417,1034,1384,977,541,473,454,641,849,513,387,340,572,645,833,956,586,359,330,368,392,537,846,735,1026,1114,1178,957,835,881,810,876,1096,1200,1458,1458,1188,1230,907,1188,1382,1048,970,1036,895,1082,1046,1192,1288,1106,1070,837,954,1262,692,594,660,919,1128,782,403,595,952,870,964,912,966,1110,1016,822,470,340,367,422,451,554,667,514,426,475,465,337,340,408,836,794,728,763,1226,1448,1350,1238,894,425,340,341,368,631,1310,1504,1448,1476,1398,1272,1236,1198,1292,979,748,890,1400,1020,1342,1236,1196,1334,1450,1164,1140,1370,1322,1164,1218,1376,1046,1336,1300,802,775,663,865,1374,1448,1266,1164,991,881,901,1054,711,742,1011,1082,945,828,812,720,821,926,762,607,399,561,516,580,700,1122,1292,1182,969,978,926,927,885,656,704,862,1294,1144,1098,1008,720,760,881,714,677,833,932,971,1072,1013,1010,949,1102,1196,1276,1144,918,785,795,832,891,1090,1080,1036,1100,749,715,1140,1172,1003,1096,1188,832,1028,1412,998,769,707,988,928,661,698,763,650,500,547,1090,1404,766,467,688,1070,891,1002,977,1116,1368,1216,1015,1074,1278,1224,1156,1192,1302,1344,1262,1300,945,1072,1076,1224,1176,952,1098,1350,1112,910,1164,1108,898,1266,1290,927,768,893,1482,1726,1306,1158,1200,956,901,866,887,648,649,810,1278,1322,1048,1098,1162,1298,1246,947,913,1070,988,868,918,1044,1100,1224,1484,1484,1318,1468,1432,1318,1076,1104,886,623,452,542,735,1013,1388,1414,1378,1474,1490,1694,1562,1290,1360,1382,1122,1042,926,1300,1448,1566,1470,1102,1064,1150,1276,1086,987,1028,880,1124,1048,1100,1232,1320,1190,1278,1434,1354,1284,1136,1064,1174,1318,1092,1190,1306,1306,1426,1418,1328,1438,1318,966,878,1294,1274,1228,1444,1532,1015,671,800,1128,1196,1180,1244,1050,1114,1010,917,1006,669,669,722,985,1202,1342,1194,669,321,411,744,867,1278,1250,1024,1322,1196,1066,1226,1384,1400,1442,1726,1698,1784,1596,1512,1248,1474,1856,1100,530,449,508,585,713,1030,1160,1238,1398,969,431,351,520,511,482,565,1007,974,748,1050,1262,874,697,1018,1382,1246,1072,1318,1442,1230,1312,943,514,544,752,1078,1126,1470,1574,1482,1278,1370,1196,1040,1104,1196,1108,1068,1248,1148,876,1096,1122,1208,1009,1126,1274,1412,1418,1426,1406,1380,1236,1224,1130,1148,1098,1290,1506,1342,1218,1032,922,1166,1498,1188,978,800,529,508,626,582,828,900,866,1266,843,770,944,910,971,766,500,465,440,532,581,535,601,750,834,884,925,1008,1162,1164,1194,1312,1448,1300,1296,1292,1302,1164,1086,1174,1566,1212,1014,1370,1330,1144,938,590,430,893,1084,1056,1278,1390,1206,1316,1474,1400,1512,1720,1530,1582,852,620,954,1068,1013,1072,910,756,1017,1276,1232,1278,1486,1536,1976,1970,1548,1476,1210,1118,1540,1678,1622,1578,1318,1150,1310,1240,847,1078,1118,993,1308,986,717,642,633,653,769,835,654,532,625,590,613,641,682,493,298,265,242,248,284,302,334,390,350,349,439,494,396,336,333,278,306,398,436,695,910,686,705,566,351,324,301,302,307,330,386,430,639,695,477,375,445,450,416,357,358,337,514,475,335,335,347,325,293,308,313,318,321,305,284,264,305,465,644,656,634,661,879,1054,862,471,321,322,296,313,335,341,325,339,381,414,416,420,417,404,401,412,393,455,867,1462,1646,1634,1688,1372,844,805,893,563,611,620,577,846,1328,1266,1038,616,836,1208,978,888,1280,1436,1892,1600,1628,1528,1444,1266,1188,1522,1758,1526,1418,1380,1306,1134,1148,957,571,415,629,882,808,502,351,594,1062,885,515,542,677,829,1050,1106,1198,1376,1244,1112,1140,1162,1322,1206,1050,1230,1672,1672,1166,848,1050,1594,1942,1732,1158,694,993,910,850,1020,852,653,476,471,564,578,872,951,868,1136,1382,1362,1292,858,651,519,731,963,766,559,491,511,693,886,1178,1248,1230,1172,1212,827,755,1046,940,1018,1242,1282,1300,1394,1330,973,1074,1007,1056,1320,1300,1172,1328,1202,1164,1196,922,926,887,520,322,299,351,431,411,343,344,440,476,409,375,329,385,481,623,821,1023,1002,823,588,485,625,608,498,537,569,577,585,612,594,519,440,354,339,388,394,486,623,577,430,416,378,371,362,357,349,358,362,388,463,486,444,332,265,241,234,236,282,418,440,300,400,822,637,525,749,993,766,449,573,582,470,363,349,526,539,497,589,680,612,458,591,701,714,432,384,361,417,625,839,675,433,466,386,423,699,946,861,501,498,616,701,949,545,395,375,503,500,616,781,990,938,516,382,639,991,1015,729,839,714,522,832,945,1062,1054,639,474,551,1046,1608,1450,991,771,780,733,586,433,644,810,691,540,608,929,1110,980,808,792,1216,1048,1050,1274,1388,1372,1262,1218,1306,1264,959,951,645,397,430,914,1005,907,731,567,951,1144,855,1036,821,561,611,471,444,570,823,847,816,954,1066,1080,1086,1100,1092,1028,1080,1138,900,614,506,603,708,763,957,1154,1342,1334,1278,1114,1278,1228,1444,1302,1238,1306,1172,935,667,592,628,651,959,1218,1798,1484,1324,1312,1268,1262,1276,1078,903,991,1068,1166,1222,1146,1030,1094,1072,1332,1298,1010,914,1204,1498,1346,1294,1302,1998,2050,1484,1310,1200,1180,1194,1188,1528,1994,1820,1386,1280,1282,1250,1378,1478,1390,1400,1476,1506,1346,1394,1506,1358,1080,1086,1166,1280,1850,1588,1082,725,690,834,708,539,743,1130,1466,1410,1286,1024,1144,1390,1122,1362,1288,1336,1308,1007,711,606,564,623,678,495,424,458,449,410,417,446,615,691,818,1294,1538,1104,780,703,1050,802,666,626,529,858,856,488,458,431,550,904,599,377,494,630,615,503,489,491,628,708,956,891,915,910,438,758,1132,1190,1488,1532,1290,1264,979,711,702,1136,1372,948,747,830,813,738,576,467,462,760,1180,984,764,741,715,860,727,506,540,448,308,312,626,715,545,583,604,415,341,511,1088,1364,1042,654,874,1070,1004,1046,1426,1376,1200,1208,1288,1076,912,771,612,511,402,592,981,921,923,915,832,555,403,361,412,598,725,800,814,1128,1554,1158,809,838,1110,1300,1300,1086,1116,1019,774,539,516,358,235,324,385,295,353,440,436,344,400,491,433,433,456,482,562,502,543,482,444,466,458,426,415,383,393,501,388,315,368,462,446,408,396,397,376,337,390,385,377,497,574,571,637,435,368,407,481,629,633,533,526,438,419,477,377,328,351,370,377,415,539,555,572,846,836,569,533,565,736,534,601,771,589,550,585,655,635,731,862,1010,1166,822,468,435,398,393,358,794,1374,1202,650,681,791,735,978,1076,864,786,1050,1246,929,695,492,318,504,583,633,605,792,1186,1546,2156,1312,772,880,687,1009,1206,1222,1132,1338,1490,1326,912,436,442,517,495,591,1062,641,449,572,499,406,451,548,469,572,603,565,707,934,1366,1468,1288,1404,932,402,559,1092,1126,645,1056,2306,1756,1318,1422,1296,971,786,1018,1166,878,930,866,596,577,984,1400,1340,1003,1009,1334,1470,1444,1202,1003,879,542,390,597,409,421,419,648,570,558,491,372,284,357,476,382,393,444,349,596,604,402,738,751,421,308,343,386,479,861,1282,1428,1568,1546,1628,1550,1394,1344,1376,1494,1428,1026,941,1084,1340,1434,1166,1224,1328,980,563,401,422,471,515,530,701,805,594,462,403,495,534,610,578,822,1306,1420,1246,1056,973,1032,1102,1220,1014,615,899,1234,1444,1584,1810,1186,907,969,1234,1252,980,744,495,398,451,594,702,639,818,1372,1350,1252,915,927,1446,1194,1066,762,525,507,476,703,1208,1086,794,881,1062,1036,841,557,671,1112,1180,1166,644,492,615,683,1076,1162,687,827,1062,1003,896,601,463,394,407,1016,1122,526,397,592,584,401,314,352,341,321,407,404,398,366,321,296,332,580,644,431,526,572,365,297,288,319,387,322,385,395,835,970,1066,1256,1094,878,810,788,675,618,556,466,603,517,356,406,535,533,493,428,577,784,686,805,958,862],[461,423,370,334,340,340,364,368,393,364,426,497,428,375,426,375,337,354,326,365,434,347,393,429,444,436,342,246,241,344,407,429,528,662,1138,639,354,406,720,513,331,506,476,446,450,432,401,388,380,378,381,389,412,444,448,501,437,509,754,824,782,557,358,365,387,374,387,318,295,341,357,336,350,483,594,547,495,380,428,379,305,283,275,307,325,306,298,279,264,264,282,315,419,412,434,637,515,327,329,324,406,448,325,330,323,322,295,297,390,290,273,387,670,1158,1406,1038,768,540,501,633,1032,774,571,413,464,579,743,770,544,321,313,359,386,538,921,625,782,934,1028,878,590,680,866,1082,1240,1136,1158,1220,1244,1416,1236,1136,1616,1308,1058,1260,1288,913,858,1318,1306,1266,1192,741,595,913,681,448,797,1194,977,481,377,803,1556,1152,1170,1100,1256,1118,893,680,442,337,411,542,650,695,992,1156,673,564,567,473,410,402,766,718,500,587,948,1304,1076,849,571,307,286,454,600,445,694,1342,1774,1886,1824,1444,1246,1282,1208,1152,1208,1018,773,680,1160,1254,920,1056,1224,902,922,1316,1162,1004,959,996,1004,1382,1488,1024,733,752,1072,1440,1320,1336,1186,872,711,814,854,549,1038,1162,931,891,1068,1064,587,750,971,566,485,694,807,973,841,598,753,1240,1400,1072,637,613,629,647,595,1050,1176,1038,894,689,640,689,756,716,595,661,727,677,924,1126,1264,1234,1148,1202,1192,1094,1156,1190,1110,987,1066,1248,1246,1246,1582,1280,601,597,1214,1442,1350,1474,1294,970,1294,1086,783,683,484,636,600,584,679,699,623,527,585,922,1011,581,509,968,1188,700,786,1054,1164,1230,1292,1140,1114,1326,1266,1196,1152,1072,1224,1028,1204,1038,792,993,1246,1252,1238,1036,1134,969,1048,1268,841,655,797,843,1206,1312,1212,1188,1028,1030,1214,922,795,884,857,799,694,637,689,1204,1396,1194,1098,1126,1260,1238,1090,921,966,1100,1234,1246,1012,1106,1378,1312,1146,974,1066,1284,1214,1066,1444,1122,688,553,434,697,957,1026,1130,1444,1454,1015,1204,1506,1434,1366,1492,1084,1007,1168,1288,1330,1378,1338,1208,1112,1228,1284,860,782,910,1011,959,689,914,1015,974,1058,1298,1200,971,1040,848,812,978,990,906,693,877,1042,1148,1476,1316,1208,1098,1006,991,1336,1262,1332,1396,1384,1140,759,863,1222,1338,1248,731,750,1184,1166,1166,1003,885,865,933,1006,1021,1188,1078,739,381,382,516,686,1152,1226,1142,1278,1216,1210,1194,1218,1532,1404,1294,1570,1722,1742,1628,1524,1484,1366,1086,703,485,552,772,1018,1186,955,704,503,499,514,412,461,601,633,759,1017,1076,985,998,960,1006,808,1370,1794,1322,791,1156,1450,1394,1142,686,840,1074,1001,846,1042,1466,1466,1512,1608,1608,1416,1412,1360,1050,1068,1222,1336,932,775,783,1028,1150,980,975,1106,1028,1072,1166,1132,1188,1228,1364,1116,1320,1294,1446,1376,1196,1186,1428,1400,1136,996,766,1174,1226,709,603,796,835,1034,968,1374,1612,718,475,688,745,869,1020,987,838,613,662,719,717,794,928,1011,971,962,1036,1170,1174,1186,1310,1372,1262,1184,1146,1162,1154,1130,1122,1166,1178,1328,1478,1332,871,1005,903,785,1066,1118,1248,1438,1296,1072,1052,1196,1598,1534,1572,1504,1244,933,583,883,1282,1474,1296,868,1050,1572,1574,1400,1588,1460,1172,1670,1780,1462,1222,1162,1142,1132,1318,1432,1324,1318,1080,1194,1052,1002,1146,1005,1036,1092,865,790,1020,932,838,898,1158,1220,1056,975,857,871,1170,1140,706,440,310,297,294,333,367,365,350,362,362,410,371,307,337,373,311,351,417,392,496,588,352,339,287,283,326,327,316,306,366,496,688,691,550,345,301,305,320,312,298,306,316,487,590,421,386,372,321,334,355,406,344,331,387,478,634,814,887,730,667,738,998,1050,866,496,300,312,303,289,301,325,332,332,355,379,407,405,390,421,407,425,422,514,947,1462,1584,1576,1576,1180,866,1326,1328,1356,1182,846,591,537,800,1138,1370,1306,1011,947,551,435,556,998,1196,1622,1918,1770,1414,1302,1154,1162,1410,1520,1356,1246,1214,1250,1186,946,627,376,256,505,877,703,383,379,401,564,822,739,698,731,1028,1304,1122,990,1084,1174,1234,1340,1478,1116,965,1200,1318,1404,1670,1428,1266,1662,1714,1266,1208,1116,1278,1230,916,797,907,821,785,977,1192,1154,1003,1122,1062,1062,1268,1224,1378,1320,1390,1290,1098,1200,1146,998,913,568,619,803,1028,1264,1106,1086,1188,1220,1106,1132,927,652,945,1504,1594,1282,1090,1180,1168,1192,1064,1194,1224,1266,1178,1116,1120,1050,880,948,675,437,362,312,471,524,474,380,368,540,639,556,420,366,362,507,612,532,494,513,560,566,550,534,578,594,504,584,600,575,591,598,628,578,426,315,318,331,330,389,524,655,604,484,443,375,378,387,377,358,357,416,458,488,478,349,292,249,246,242,279,419,431,380,738,800,631,590,495,469,586,454,492,693,630,395,357,345,398,441,382,353,301,324,414,357,284,252,286,300,295,357,426,341,303,408,387,318,469,881,1134,604,544,546,534,667,570,475,455,457,354,397,572,745,776,686,660,618,678,822,563,500,803,833,771,836,1082,1122,568,516,569,576,916,1428,953,653,686,642,584,541,494,561,646,605,498,594,525,489,422,852,1454,1252,1120,1326,1324,1190,1106,1202,1114,1062,1208,1494,1004,499,495,726,673,613,570,910,1218,1294,1048,1198,1024,647,453,442,479,448,543,680,784,818,962,1172,1084,1064,1170,1252,1164,1116,1166,998,733,645,729,969,1208,1354,1362,1262,1110,1282,1248,1142,1088,1002,1190,1338,1076,896,547,429,494,544,813,1142,1296,1164,1172,1174,1158,1134,1088,1023,1062,980,971,1172,1188,1007,1042,1042,946,976,1102,1204,1102,1294,1366,1112,1038,1202,1830,1870,1402,1238,1178,1190,1294,1346,1726,2504,2730,1496,1260,1384,1436,1422,1458,1368,1412,1524,1508,1386,1370,1444,1622,1422,1326,1360,969,1180,1314,851,539,804,1158,915,566,776,1182,1542,1372,1274,1254,1050,1168,1218,1406,1320,1302,1318,1146,780,532,484,486,446,450,531,514,441,449,490,508,554,596,586,867,1009,759,555,403,672,610,512,521,536,718,653,435,477,448,678,875,540,376,437,484,466,506,532,472,473,547,630,696,844,1122,738,1012,1015,1198,1468,1592,1242,994,987,796,664,864,983,772,888,867,963,1096,1290,876,607,897,1260,1124,836,687,692,626,546,467,553,725,460,287,791,961,702,927,983,525,549,1152,1700,1606,1410,1142,1084,802,498,733,1282,1432,1136,860,883,935,1074,815,613,487,377,730,1076,1334,1324,879,604,456,419,397,460,561,725,1284,1194,1560,1420,833,949,1380,1548,1620,1560,1444,1238,1178,1142,861,412,266,357,327,328,300,342,348,336,396,505,491,407,565,670,656,680,584,590,515,477,465,397,317,341,458,582,572,447,375,458,456,434,418,392,401,413,386,395,396,371,410,452,466,514,358,314,373,349,407,495,538,494,409,456,414,358,352,379,466,454,477,488,362,416,680,792,670,623,594,689,776,938,994,735,525,647,854,803,781,1019,1290,1238,655,478,470,456,479,440,588,883,876,642,861,1166,880,905,1054,635,423,540,808,1154,1124,818,502,435,335,417,654,633,686,962,1160,629,697,836,1152,1158,1044,1154,1128,1506,1378,822,395,339,433,530,785,956,976,570,583,777,762,720,731,865,543,395,458,439,932,1082,1532,1530,1270,1126,625,469,585,795,930,995,1334,1804,1586,1394,1378,962,625,628,945,948,857,1154,1198,1128,995,1290,1400,1604,1498,1302,1502,1650,1494,1452,1332,1288,994,771,935,538,555,536,505,669,728,586,521,337,498,522,438,332,343,313,514,747,969,1136,946,619,605,672,550,556,989,1004,692,849,1064,1007,1132,1370,1294,967,961,991,1062,1250,1542,1700,1534,915,1078,1142,1082,856,496,466,520,502,640,857,976,603,446,454,533,585,550,853,1304,1356,934,632,777,1060,1044,836,964,1013,904,797,744,1036,1610,1432,766,689,954,1114,1426,1516,1538,866,439,370,378,448,491,791,1060,1306,1652,1104,866,1196,1160,1028,736,547,564,651,927,1246,1196,973,778,937,953,977,772,853,1108,1344,1566,1102,696,615,561,727,820,676,881,1060,1220,918,843,621,532,529,710,565,422,465,556,633,611,424,370,332,378,451,434,412,412,395,386,367,468,578,701,1098,654,362,393,381,363,362,326,274,385,747,1376,1500,1208,1060,677,668,865,966,1060,665,716,886,626,409,446,546,528,458,393,426,604,694,943,854,670],[344,332,329,365,367,376,410,380,314,313,342,452,457,383,445,380,310,326,318,423,487,413,325,381,451,332,278,254,241,261,285,307,339,590,1190,631,360,684,1194,781,346,491,474,473,452,426,407,388,374,370,376,401,430,430,467,495,353,382,368,316,421,449,365,345,352,344,349,326,325,324,335,349,371,545,664,567,465,389,408,371,308,295,259,251,276,285,293,278,264,269,289,311,344,321,607,1062,955,731,553,419,395,525,441,318,266,276,259,231,258,297,300,403,896,1440,1420,1192,1032,858,853,980,1128,1248,1020,506,398,445,469,634,725,470,411,383,376,466,764,639,305,420,792,709,374,656,780,999,1240,1130,1058,1058,1040,1168,1390,1334,1262,1122,1210,1522,1522,957,897,1058,902,1142,1332,1324,1230,1200,998,796,1015,1154,653,417,526,1068,1660,1522,1268,949,1016,1178,1190,1068,916,845,772,965,1092,1100,1192,1070,907,879,1052,973,661,648,843,624,424,440,893,1001,844,1072,638,283,266,555,969,797,481,963,1446,1608,1600,1376,1592,1384,1072,1204,1474,1132,1182,1072,963,1278,932,719,894,1024,1390,1792,1160,1336,1354,1404,1560,1640,1622,1418,1212,1142,1190,1274,1390,1340,1238,845,669,823,724,939,1598,1442,1132,717,949,1048,711,618,782,865,1060,1012,677,760,985,775,589,814,741,824,535,506,537,685,780,919,852,677,592,594,611,587,619,673,645,721,811,744,644,720,919,1160,1304,1180,888,1082,1510,1396,1200,1132,1246,1296,1262,1352,1494,1194,839,1064,1454,1486,1538,1522,1422,1526,1342,955,963,751,519,503,486,514,592,629,642,609,572,818,826,761,532,697,807,634,796,815,710,984,1204,980,1028,1598,1538,1394,1488,1284,1194,1102,1196,1004,695,939,1240,1382,1100,614,679,785,631,574,683,1082,1220,895,993,1174,1372,1234,1106,1174,971,745,758,866,974,890,734,678,664,774,961,991,1001,1238,1244,1016,934,1064,901,905,1148,1210,1140,1376,1436,1122,1007,680,561,842,973,1132,1470,1114,1194,1056,591,666,814,1048,1214,1352,1384,1292,1466,1658,1482,1368,1312,1028,965,1096,998,1010,1224,1406,1380,1250,1114,937,1030,958,816,1002,1023,1332,1260,937,1152,1080,888,692,961,1452,1028,728,839,729,739,852,709,489,717,1190,1036,930,594,1066,1432,1352,1296,1456,1266,1036,893,822,1412,1628,1014,973,633,452,632,1060,1320,1016,868,894,994,1142,1144,1138,939,730,412,371,363,666,902,873,952,1186,1010,1020,1054,945,1112,1150,1144,1378,1510,1572,1768,1710,1484,1506,1368,1144,970,840,1488,1522,1272,771,490,451,813,948,877,896,959,995,1001,1372,1544,1164,874,845,1084,1216,1604,1500,1008,771,1136,1538,1454,1490,977,1352,1512,1680,1412,1538,1498,1412,1266,1234,1534,1690,1550,1096,832,1180,1344,1208,1120,961,1196,1136,1040,902,874,1052,855,1086,1186,933,961,1218,1090,1258,1310,1108,1174,1182,1160,1188,1005,778,747,844,1124,1002,841,1078,1042,946,948,982,1072,1404,1146,596,563,764,639,612,860,1064,1128,1020,859,816,827,854,902,1020,968,980,1106,1208,1168,1160,1320,1368,1260,1152,1152,1154,1160,1158,1090,1176,1248,1370,1560,1316,1046,1106,1128,1264,1376,1282,1268,1406,1392,1030,1014,1190,1602,1532,1348,1152,1218,1032,688,700,844,960,984,1082,1248,1686,1282,1190,1376,1318,1358,1774,1744,1300,1058,1118,1070,1028,818,1005,944,1204,1240,957,1090,1252,1032,711,799,1086,1114,947,1116,1322,1026,1014,1310,1266,922,828,778,891,1176,1100,805,662,430,426,383,381,407,392,372,383,359,331,335,373,384,362,314,332,335,378,355,333,318,349,328,318,354,336,307,322,336,540,849,467,630,477,320,314,336,321,257,276,313,355,428,494,469,537,564,491,524,590,596,660,689,762,946,852,518,350,412,463,570,542,398,296,296,300,309,316,314,343,362,359,393,389,390,377,372,421,457,459,539,1010,1488,1616,1730,1604,1188,818,1100,1326,1230,1284,1280,1082,742,713,1058,1388,1364,1158,1238,877,440,466,419,734,1096,1332,1260,1080,1198,1038,835,883,1152,1156,933,886,1064,1042,978,815,538,401,460,458,520,494,541,651,698,541,866,1046,1208,1176,1180,1310,1300,1082,904,1134,1056,863,929,934,1192,1318,1466,1542,1540,1364,1798,2498,1160,963,1048,1060,1346,1246,933,1074,1222,779,935,1070,1001,1084,1015,1122,1074,1028,1190,1130,1274,1332,1344,1282,1282,1388,1172,828,870,591,791,1021,1062,1272,814,755,1056,1034,1136,1194,940,749,1210,1758,1632,1752,1494,1152,1106,1034,972,1192,1102,1202,1466,1050,998,924,744,795,749,487,360,310,559,837,879,743,614,655,658,565,366,351,346,382,545,466,409,373,356,373,383,357,410,562,486,538,594,591,645,673,558,453,411,333,309,373,344,365,418,491,625,496,480,447,409,414,402,386,413,469,511,515,573,513,394,306,261,278,371,464,390,652,892,705,704,636,392,332,372,370,365,473,469,342,344,456,461,409,468,374,294,384,378,258,257,275,290,327,296,259,304,328,433,682,570,291,326,647,1192,672,458,422,297,433,706,597,467,539,528,405,460,767,814,722,695,611,866,1072,683,408,555,828,1054,1182,1518,1280,923,910,996,877,844,1360,1310,891,686,709,719,666,437,612,548,762,617,503,381,478,713,940,1128,1318,1588,1216,1082,1108,937,1162,1472,1744,1790,1854,1400,677,576,687,702,753,938,1240,1174,1204,1010,896,1180,1250,850,448,499,412,393,420,499,704,1056,1208,1040,997,1086,1130,1138,1144,1208,1330,1086,628,878,1122,1298,1372,1370,1222,1096,1294,1312,1076,1014,1340,1308,1356,962,847,502,421,462,542,919,1212,1156,1122,1078,1124,1198,1174,1110,1010,947,940,920,1030,1074,996,1096,1158,1272,1516,1450,1208,1048,1096,1154,1116,1026,1054,1216,1110,1102,1168,1122,1040,1160,1324,1562,1982,1708,1482,1460,1294,1108,1226,1348,1380,1458,1426,1158,1014,1210,1306,1734,1654,1310,1152,739,888,1122,849,641,714,814,790,1054,1282,1356,1504,1164,1242,1388,1188,1198,1400,1646,1390,1332,1248,1160,896,637,477,421,473,492,561,477,378,376,466,512,468,561,547,599,542,466,376,370,362,393,416,423,398,312,357,352,434,540,804,711,478,403,437,468,439,552,614,505,663,637,698,786,937,1180,976,974,1096,1268,1408,1602,1438,1098,1004,694,484,503,476,402,618,914,909,1066,1138,888,801,1020,885,639,877,677,502,396,451,515,1046,1688,946,408,821,704,510,867,885,466,497,971,1656,1614,1502,1456,1412,1096,640,760,1268,1608,1504,916,655,512,843,1010,695,500,480,654,843,1382,1426,852,576,555,533,488,495,463,523,1042,1326,1776,1260,664,1200,1768,1794,1660,1530,1226,1086,1294,1404,1214,798,599,416,248,225,273,364,390,392,479,560,595,568,691,664,545,543,562,521,472,462,446,427,302,306,415,500,454,490,546,558,470,433,498,460,438,447,373,366,372,324,320,328,321,351,368,388,388,408,425,441,456,447,407,442,407,375,406,425,444,447,469,436,356,404,545,664,717,672,660,627,722,778,888,748,485,634,898,776,642,807,1028,1060,732,583,540,542,596,596,564,603,625,597,775,955,905,933,901,667,531,488,681,778,932,1078,1104,719,478,741,971,722,712,761,695,917,1152,1278,1390,977,634,935,1172,1632,1392,676,475,337,321,372,618,1116,1390,979,941,922,941,829,664,810,480,654,747,585,1108,1248,1064,1194,1318,1178,955,1342,916,962,796,906,1015,1224,1396,1262,1116,1126,1038,750,879,1084,830,904,1188,1196,1372,1362,1152,1428,1382,1172,1280,1602,1552,1472,1450,1290,1234,1126,1070,959,1090,904,532,631,644,492,543,391,685,644,572,347,265,316,440,921,1354,1322,1066,671,657,752,525,536,1076,958,647,969,1136,1048,1100,983,1144,1190,1612,1520,1302,1408,1496,1496,1072,858,1274,1100,1042,1126,800,480,446,586,877,898,938,686,624,590,604,650,776,1268,1746,1824,1056,702,775,1036,801,540,582,908,1130,990,1142,1450,1422,1484,1146,1210,1228,1330,1420,1304,1336,740,389,375,362,354,348,440,560,769,924,640,594,849,1026,884,742,558,494,862,1450,1428,1132,1104,997,738,682,674,595,677,768,1486,1870,1260,951,664,476,892,1432,1032,901,996,1012,905,1154,1096,1011,943,620,418,470,438,409,558,675,524,323,260,370,338,311,383,532,722,672,575,450,638,1666,2344,960,475,477,457,448,364,330,713,1007,823,1568,1716,1422,725,378,507,525,655,875,835,1005,954,550,402,442,508,510,468,476,447,541,575,628,487,434],[379,363,343,372,344,349,358,326,312,331,418,559,450,368,438,411,268,250,290,446,459,381,340,433,544,530,516,390,228,248,300,292,344,502,613,475,379,910,1420,688,434,520,483,444,431,417,400,384,374,371,383,411,415,417,491,445,319,348,319,357,404,431,415,395,343,302,293,307,363,352,345,344,320,457,580,566,454,349,375,380,342,302,277,281,298,291,277,272,274,273,283,291,430,583,604,900,922,889,873,879,612,545,453,335,342,281,256,277,282,308,292,386,1013,1292,1050,1010,1076,988,1019,1206,1372,1316,1000,833,913,970,756,1050,974,646,765,614,445,418,580,486,270,342,426,389,451,953,1036,1084,948,948,1204,1858,1976,1300,1154,1120,718,683,952,1106,1052,993,930,885,1088,1332,1344,1412,1372,1232,1024,1046,1032,726,450,386,832,1334,1676,1780,1500,1224,963,1034,1270,1240,974,1326,1262,919,1218,1318,1278,991,775,922,1252,1170,813,864,959,517,471,633,1282,1248,1192,835,412,243,215,360,673,662,364,586,978,1352,1450,1490,1576,1452,1228,1282,1748,2002,1978,1474,1378,1416,927,758,650,863,982,1021,1230,1494,1596,1590,1444,1334,1134,901,933,1278,1272,1220,1268,1044,908,619,541,667,689,1148,1496,1252,1422,1232,1224,792,811,606,845,1194,1190,929,826,1088,1086,846,833,848,832,775,560,416,720,996,1164,1112,711,608,563,550,560,559,572,515,577,694,687,664,720,650,648,865,1282,1366,1130,1266,1302,1118,1142,1212,1210,1296,1396,1378,1500,1594,1412,1526,1706,1698,1334,1412,1494,1572,1202,940,894,678,557,584,588,536,504,600,662,677,623,554,721,752,706,872,763,749,804,751,783,928,1160,924,1078,1324,1450,1498,1452,1272,1154,1140,1158,1005,892,606,811,1004,1104,915,863,929,651,537,761,1514,1826,1382,1084,1009,1160,1238,1290,1214,1020,877,648,814,1294,1480,1070,1054,1052,964,1098,1212,1132,1278,1186,714,651,1028,1124,1322,1428,1268,1220,1256,1232,1060,785,592,428,873,1212,1272,963,656,1010,1206,748,626,794,1015,964,1136,1450,1164,1228,1306,1350,1312,973,723,847,1324,1414,1346,1400,1440,1284,1242,1266,1438,1426,1160,932,735,670,1144,1084,1302,1344,1224,845,683,1196,1354,831,780,982,848,1090,1046,800,639,615,983,1166,1001,564,775,1044,1108,1228,1328,988,1054,1298,1296,1498,1244,1216,1150,993,896,891,1244,1278,978,930,840,1086,1346,1302,1172,971,630,441,390,370,527,863,965,963,795,675,974,1040,1480,1220,1036,1218,1306,1116,1184,1628,1576,1550,1636,1564,1594,1464,1394,1814,1392,1100,974,791,644,759,919,1076,1478,1472,1214,1038,1114,1158,908,970,927,982,1268,1324,1152,902,868,977,1212,850,968,1050,1280,1218,1512,1542,1526,1378,1212,968,1004,1023,1182,1114,1316,1064,1208,1208,998,1142,1300,1372,1166,1206,1056,1114,1100,1096,1128,1218,1160,1180,1224,1082,1304,1318,1098,1124,1011,1278,1354,753,733,744,933,1238,1124,810,956,1128,969,980,1126,1344,1272,1260,982,858,1098,1130,874,969,965,1066,1096,800,846,880,872,910,947,941,971,1148,1200,1158,1216,1286,1268,1214,1170,1218,1222,1196,1042,991,1042,1072,1236,1250,1196,1244,1172,1192,1262,1282,1306,1256,1338,1354,1338,1492,1438,1360,1440,1636,1472,1142,1216,1238,1007,952,726,824,1184,1128,1412,1096,862,913,1238,1676,2004,1806,1416,1096,989,901,954,700,987,949,1198,1448,1400,1340,1280,1066,741,756,1038,1432,1142,1186,1522,1206,965,1184,1272,1013,893,858,771,1056,1013,659,594,852,634,385,378,414,397,392,408,400,336,341,419,395,327,314,335,335,349,334,323,332,335,310,309,310,306,300,310,329,684,639,592,838,534,308,310,330,296,241,288,399,405,363,348,314,428,480,529,577,526,460,419,359,467,656,512,448,446,407,376,357,435,409,335,299,306,334,339,321,344,367,380,468,446,381,361,378,430,437,553,1102,1578,1670,1654,1662,1114,783,1092,1406,1324,1320,1218,1228,994,727,1060,1294,1346,1382,1258,940,421,859,845,397,582,846,1170,1084,952,960,748,594,541,800,855,943,1058,891,816,883,815,514,632,1170,890,738,589,783,943,850,714,910,1356,1388,1428,1644,1516,1406,1186,1138,1110,1198,929,814,917,1120,1332,1372,1208,1336,1208,1278,1694,1002,1276,1384,1382,1304,1320,1130,1194,978,703,729,760,966,1276,1360,1396,1418,1378,1276,1142,1044,949,1016,1252,1356,1372,1174,746,631,678,1260,1132,1240,1220,548,391,807,1050,736,739,976,902,1144,1576,1512,1776,1404,990,771,703,893,1074,828,865,1036,820,599,1002,810,681,516,392,361,343,499,662,774,941,777,525,349,390,352,325,317,320,421,386,318,328,365,378,378,376,383,529,480,577,678,669,658,558,443,438,427,363,336,354,378,425,454,456,587,542,510,490,467,475,475,483,484,510,609,666,760,746,514,392,412,382,357,416,627,952,709,544,412,423,310,282,327,362,382,483,468,405,392,431,363,329,390,374,387,320,277,239,262,276,319,336,302,297,324,384,543,753,455,263,310,326,409,494,727,741,506,547,732,599,550,654,698,520,580,833,957,656,603,750,833,637,377,319,344,597,1166,1270,1408,1358,1366,1294,1186,1078,970,1058,1362,1190,850,790,747,686,638,770,894,1096,861,568,428,739,1090,1070,1006,1402,1566,860,1138,1326,997,1008,1362,1494,1488,1370,977,563,700,1236,1052,820,965,1056,1056,1158,977,899,989,1132,1074,601,517,439,409,477,662,927,1306,1252,932,919,982,1078,1196,1216,1468,1444,1178,1056,1118,1124,1122,1102,1346,1246,1086,1268,1362,1424,1908,1856,1470,1378,1186,973,775,706,638,899,1356,1318,1070,1160,1074,988,924,1044,1116,996,1022,1122,1248,1232,1114,1086,1232,1284,1262,1544,1572,1194,858,921,1218,1250,866,868,1084,1242,1226,1102,1160,1140,1048,1168,1434,1468,1116,1178,1288,1194,1124,1244,1380,1406,1416,1142,787,783,1372,1406,1740,1842,1546,1354,1124,955,1032,1040,910,747,919,940,1246,1240,1218,1418,1234,1350,1388,1310,1488,1644,1660,1074,1152,1186,1166,1010,767,514,397,468,541,513,416,355,330,376,402,407,518,532,458,363,344,365,369,316,306,315,304,273,242,314,411,567,692,614,454,433,456,473,479,472,518,512,594,887,707,1010,1021,1078,1296,1318,1244,1298,1296,1274,1460,1620,1324,1224,1034,800,607,435,441,606,760,918,1116,1072,783,733,822,652,502,657,687,462,349,468,490,881,1196,929,955,1004,561,672,669,690,597,557,1058,1028,737,1078,1332,1190,1038,543,523,750,1158,1262,871,563,383,587,837,602,350,317,304,496,727,703,636,517,460,475,662,517,441,554,648,677,965,808,631,1034,1666,1734,1826,2150,1434,1194,1392,1324,1104,1112,1042,648,289,299,292,359,519,548,547,582,673,720,749,617,465,482,566,575,544,515,486,492,337,352,446,397,307,386,486,519,449,442,557,542,444,396,393,406,387,356,338,330,336,381,435,400,390,474,445,405,401,435,395,533,618,533,460,438,442,444,447,404,406,400,432,509,586,702,750,736,634,597,665,651,547,567,735,597,481,520,722,859,868,889,838,739,731,680,575,567,545,541,455,502,631,655,786,1150,1246,1080,1042,760,755,700,914,1214,1021,1060,1512,1488,897,686,640,645,960,1200,1258,1212,1206,1058,1130,1238,948,922,940,698,469,311,355,873,1238,868,758,699,836,689,594,805,798,1248,1230,755,622,661,836,1032,960,1150,1390,1666,1282,930,778,869,695,1178,1782,1148,896,1210,1274,824,960,1256,1294,1306,1198,1146,1280,1120,1172,1350,1148,1410,1338,1484,1452,1526,1482,1616,1518,1248,1144,1252,1260,1003,671,831,894,578,574,394,677,786,935,882,713,639,640,861,1114,1170,1108,766,726,796,498,837,1348,1202,1036,1168,1318,1434,1626,1218,1442,1526,1900,1956,1930,1942,1680,1354,900,810,892,981,1146,1278,1112,691,603,846,1028,1124,968,773,704,602,555,776,971,996,1306,1780,1172,860,901,954,585,486,466,482,679,807,978,990,1058,1206,962,1246,1426,1562,1610,1384,900,491,491,539,533,428,405,392,404,477,625,691,702,847,1358,1400,669,321,372,732,1158,1362,1350,1120,1160,924,702,528,509,610,591,1058,1210,916,1304,851,564,1002,1072,848,928,1044,855,970,1146,1272,1638,1298,513,332,357,469,595,490,410,326,273,299,369,336,341,566,1044,1076,866,1114,772,600,1462,1516,708,483,555,621,493,382,534,803,896,503,642,1064,1064,493,343,339,299,373,578,799,973,853,518,514,465,484,608,558,495,617,694,665,584,460,492],[308,328,336,365,386,381,348,334,375,427,507,666,464,415,446,362,269,359,404,427,450,452,468,443,484,658,539,567,683,450,416,708,939,763,673,547,446,959,1500,515,530,518,495,488,453,411,390,386,388,390,407,432,396,417,523,389,320,345,326,316,361,395,418,411,350,319,315,315,366,403,377,354,305,415,556,602,498,350,329,298,263,259,277,292,299,289,272,264,272,264,307,306,504,1000,672,618,593,526,549,987,932,813,549,365,350,275,339,328,300,312,262,404,1050,880,811,687,841,1017,766,694,874,810,1164,1426,1294,1404,1180,1270,1064,689,655,764,601,399,443,414,296,273,284,400,456,816,1116,1116,788,695,808,1246,1248,873,998,843,711,760,739,799,801,932,977,1028,1350,1408,1244,1226,1368,1192,1114,1116,986,749,531,489,882,1108,1284,1454,1720,1622,957,866,991,1194,770,874,714,834,1228,1134,1102,1018,899,1164,1404,1164,546,775,758,479,449,641,1246,1020,605,364,323,287,252,281,299,282,264,416,507,609,1186,1544,1608,1252,944,888,1246,2148,2076,1330,1274,1232,1368,1016,716,711,873,1190,1298,1316,1460,1500,1316,1378,1412,1256,1090,1168,1532,1470,1250,880,730,744,642,900,993,840,999,1152,1152,1194,1142,974,1040,662,766,1180,1118,974,752,832,865,745,1122,1036,841,871,756,617,692,745,1008,1086,789,630,561,545,523,515,514,491,509,562,567,639,681,631,514,668,1118,1248,1286,1328,1356,976,947,1134,1300,1378,1302,1384,1508,1310,1394,1288,1496,1508,1428,1538,1594,1482,1016,813,868,698,542,575,567,577,509,529,628,660,670,575,557,505,641,777,706,793,798,756,694,881,1058,968,730,636,1186,1498,1382,1218,1072,1108,1264,1192,1308,997,1130,1070,1052,1196,1310,1204,947,881,1202,1664,2062,1908,1320,1116,1226,1206,1086,1156,1096,735,768,1086,1544,1622,1130,1152,1248,1248,1242,1068,1232,1368,1200,783,753,1134,1208,1366,1638,1670,1464,1038,1007,652,466,440,436,808,1042,930,897,956,1202,1246,861,641,658,678,562,922,1188,1050,1013,1140,1324,1172,1001,617,666,1100,1256,1256,1152,996,1078,1130,1428,1578,1158,974,661,633,725,1112,1492,1642,1054,949,1224,1212,844,642,518,585,823,885,811,684,791,586,765,988,835,524,378,497,995,1296,1358,1198,996,1302,1500,1340,1314,1172,1170,947,1138,1294,1374,1436,1244,1050,1116,1058,1290,1152,1386,1130,907,1052,1130,904,560,756,1172,1310,1518,1310,1184,1146,1196,1160,866,1262,1556,1268,952,1142,1224,1190,1242,1572,1562,1612,1514,1440,1334,1190,1108,1298,1432,1208,695,799,1094,1466,1350,1078,1262,1338,1242,1112,930,648,690,791,760,869,1046,987,802,833,606,832,1234,1206,1236,1466,1482,1484,1266,1000,1126,1396,1112,782,630,966,1322,1444,1346,1244,1270,1290,1210,1234,1220,1056,1368,1378,1368,1372,1344,1334,1272,1206,1118,1078,899,707,800,1080,1306,1520,1182,746,535,648,940,1356,1174,875,1082,1134,1064,1080,1262,1128,1248,669,660,1013,1278,1030,824,1050,1362,1312,995,949,1182,1258,1224,1178,1210,1272,1328,1292,1294,1234,1048,977,1052,1202,1230,1202,1144,1048,1062,1086,1030,897,854,1150,1316,1244,1094,924,1122,1206,1354,1540,1382,1498,1464,1108,1084,1392,1770,1636,1284,1350,1408,1470,1426,1144,1240,1186,1222,1376,1280,1002,977,1416,1802,2004,1714,1666,1154,865,977,742,643,1026,1290,1494,1534,1282,1366,1416,1144,959,1294,1186,1306,1200,1296,1334,1202,1082,1144,1230,1023,932,986,828,893,982,622,469,681,582,383,345,366,385,409,425,420,347,305,287,317,325,341,333,343,419,473,435,399,350,309,308,295,314,300,310,364,546,390,626,727,409,312,300,321,300,273,318,484,519,375,319,331,307,306,331,300,270,291,371,428,643,595,459,473,432,364,351,395,416,389,349,326,312,334,333,323,333,363,388,460,433,366,363,396,447,656,1224,1608,1490,1412,1442,1238,1192,1066,1110,1158,1184,1013,1094,1268,731,661,1054,1108,1238,1482,1388,830,1086,2040,1512,771,499,529,972,1030,761,866,849,540,493,525,547,830,1038,1066,1246,1336,1158,846,905,1404,1572,1566,771,572,810,1228,1284,1390,1686,1560,1520,1454,1264,1390,1452,963,962,1216,1092,979,1060,1170,1302,1284,988,1276,1448,1274,1418,1602,1562,1432,1362,1300,1188,1310,1212,778,758,987,1136,1144,1218,1232,1444,1648,1450,1154,1312,1144,1122,1378,1260,1100,1132,1238,732,398,452,1074,846,716,727,578,472,920,1378,789,857,1216,1262,1354,1556,1462,1400,1192,1005,878,726,701,954,666,872,1040,625,727,951,959,1020,736,563,474,487,741,782,560,833,881,658,416,356,316,312,335,342,352,365,367,340,352,355,354,349,376,454,423,551,670,606,539,507,441,421,385,340,328,364,364,370,428,473,510,542,534,473,497,490,520,501,482,463,542,577,763,659,441,440,442,334,243,334,692,902,656,616,665,457,293,271,277,329,472,564,541,558,518,586,514,376,351,334,363,304,277,285,281,318,357,351,334,358,336,383,371,355,275,265,298,336,354,584,827,637,408,391,420,434,365,336,375,352,667,845,725,626,654,893,976,419,388,370,522,694,882,1172,1382,1286,1260,1294,1188,1258,977,849,1434,1410,819,755,783,626,762,890,947,1013,1020,962,826,1216,1186,1014,1250,1518,818,539,1400,1690,1001,711,933,1256,1142,897,752,433,940,1678,988,614,555,719,976,959,762,569,589,831,1012,589,433,439,440,654,1070,1080,1054,949,851,941,847,945,982,1236,1592,1328,1146,1188,1176,1164,1210,1362,1496,1272,1180,1342,1236,1368,1890,1328,1194,1190,1304,1270,1136,1108,1096,1202,1294,1354,1104,1142,1056,949,991,1092,1088,1007,1001,1013,1090,1052,1086,1312,1706,1318,907,1122,1354,1222,1146,1150,1192,1172,1003,936,1192,1390,1096,1062,1204,1200,1158,1172,1312,1122,951,1194,1416,1510,1346,1268,1454,1336,1426,979,728,1080,1606,1692,1726,1776,1718,1382,1038,970,1038,1194,1038,699,864,1162,1284,1236,1322,1558,1370,1182,1284,1394,1450,1676,1250,1224,1282,1182,1094,1006,836,610,439,408,440,452,431,376,304,366,408,392,418,473,412,329,361,347,309,300,304,283,301,321,287,316,480,676,677,513,458,445,454,527,525,525,527,531,765,1009,971,1032,1078,932,963,1190,1332,1312,1278,1306,1414,1628,1204,1350,1556,1284,764,440,448,533,516,586,955,1008,735,1072,1160,781,532,612,665,481,351,514,590,579,792,1106,1328,1176,915,977,908,1144,993,694,873,891,836,1152,1344,1362,911,354,325,388,537,680,540,434,367,424,618,592,346,365,340,350,418,480,418,388,376,386,448,420,433,453,526,627,585,639,666,485,662,1068,1542,1642,995,1210,1386,1046,1242,1544,1184,909,372,302,333,447,649,667,662,616,626,709,709,625,560,597,591,594,570,607,589,563,415,458,569,485,348,340,398,485,502,570,596,584,437,445,462,440,426,387,342,328,342,404,403,340,384,458,407,388,396,392,447,689,846,721,519,450,442,482,473,496,588,530,451,444,477,492,597,812,773,594,684,659,594,661,671,561,489,631,796,817,862,1026,1062,986,927,895,769,668,570,525,464,524,575,583,628,948,1102,996,783,848,1298,1098,1015,1152,1372,1274,1220,955,678,678,623,544,669,638,927,1248,1430,813,741,633,406,781,1088,857,600,354,385,498,474,775,689,716,792,819,1166,1212,1198,1506,1366,1058,846,719,874,1022,1048,1396,1364,1082,1174,1148,991,1050,1130,1236,1240,1142,827,857,624,578,733,917,926,946,1118,1150,1008,1007,1248,1566,1942,1650,1446,1426,1186,1346,1764,1804,1472,1238,1070,1354,1052,1023,1278,1588,1616,1066,1000,943,1136,1270,1210,1086,874,575,505,657,743,810,1144,1056,820,677,508,743,1104,1520,1490,976,1138,1166,1136,1688,2006,1548,1492,1650,1898,1912,1684,1504,1484,954,506,655,833,1130,1088,938,852,813,1066,1054,726,630,623,520,623,1164,984,824,841,906,634,588,1064,1094,756,516,483,582,494,554,629,708,880,1112,934,1256,1268,1238,1462,1162,559,492,590,839,1396,988,650,464,413,477,833,1060,986,771,1268,1556,563,286,326,417,709,1248,1440,1138,711,849,892,665,518,622,965,1502,1076,1282,1136,910,996,993,768,848,1082,1074,729,830,1112,1574,1680,1186,452,338,429,650,1001,884,552,324,304,301,333,390,405,727,1256,1062,980,1628,993,484,823,902,683,636,830,723,538,895,850,1066,754,426,397,647,546,376,343,291,343,411,398,405,534,521,604,711,628,586,536,507,568,1078,1438,1017,570,430,558],[317,353,416,411,443,449,443,411,395,400,422,582,590,451,420,395,380,460,478,514,738,662,569,508,394,347,432,731,843,470,374,1054,1376,789,612,548,659,832,1013,488,582,537,509,486,448,397,369,384,410,413,416,423,397,460,470,378,357,357,314,320,346,361,378,331,339,342,335,334,377,429,399,356,343,407,449,424,380,355,301,263,256,251,244,258,289,291,267,258,266,264,286,336,645,1046,838,667,476,399,462,762,1168,1364,1082,794,449,317,304,254,246,260,228,309,787,717,604,734,864,1040,1074,1044,1034,1064,1434,1426,1212,1180,1072,1146,1170,935,757,774,626,466,290,266,219,268,288,379,527,631,868,982,846,675,526,583,604,490,749,921,889,641,977,1094,1054,1252,1228,1030,890,1076,1140,1282,1522,1248,937,805,984,851,553,571,1196,1578,1208,1318,1152,940,799,847,827,1184,876,912,987,989,1152,1284,1100,601,838,1346,1506,1636,811,1004,636,452,435,799,1170,983,690,335,339,335,373,385,311,303,307,358,276,302,525,1124,1608,1138,912,908,804,1230,1578,1246,890,964,1054,855,805,863,1100,1278,1136,1244,1418,1584,1428,1532,1288,1144,658,598,958,985,836,567,834,1210,1256,1356,1168,807,1160,1378,1158,1180,993,783,811,691,752,886,1080,1122,748,886,1128,861,973,1030,714,700,893,693,574,669,785,855,824,643,542,524,537,563,480,460,483,468,516,594,546,572,531,742,1050,1366,1660,1552,1340,947,670,951,1418,1400,1310,1400,1224,1376,1390,1148,1070,1340,1650,1578,1242,1048,821,734,764,514,440,477,670,668,524,459,522,560,532,508,544,478,581,744,744,615,651,655,508,650,1182,1246,743,691,915,1266,1526,1250,1064,1078,871,731,1036,1334,1362,1252,1212,1144,1120,1170,1284,1382,1320,1438,1514,1456,1200,930,941,1154,1266,1184,926,879,810,1003,1280,1166,1086,1084,1208,1278,1152,1252,1412,1302,1216,792,649,1076,1112,979,1226,1284,1372,1154,1050,779,547,451,536,967,982,656,894,1216,1178,1188,1232,953,729,639,625,693,660,882,1242,1324,1176,1038,1082,655,619,740,765,775,935,1268,1332,1262,1164,1102,1038,1148,814,889,1100,1252,1576,1354,790,819,1294,1104,442,538,795,513,419,705,865,706,483,689,1116,910,691,832,924,1110,1222,1296,1350,1118,1276,1438,1346,1444,1494,1320,1060,1242,1324,1108,1086,1246,1164,1096,1028,1009,1116,1230,1426,996,863,1288,1562,1192,556,482,766,1226,1544,1698,1452,1226,1240,1114,887,986,1132,1158,952,1013,915,1164,1090,1172,1302,1544,1632,1498,1512,1322,1282,1686,1542,1340,1130,1182,1566,1526,1242,1250,1252,1278,1468,1306,1046,840,605,515,582,960,1064,897,947,731,618,586,610,691,1042,1324,1338,1534,1404,1202,1346,1538,1526,1240,841,828,857,1038,1154,948,950,1122,1100,1290,1328,1220,1310,1346,1430,1222,1106,1272,1384,1454,1168,957,762,718,965,1232,1316,1494,1318,869,560,560,1142,1556,1346,998,1142,1438,1246,1098,1388,1586,1130,768,959,1186,1332,1140,760,944,1406,1448,1108,1104,1418,1512,1378,1526,1564,1484,1374,1334,1346,1172,938,951,1082,1182,1190,1150,1090,1050,1132,1132,1208,1164,940,1160,1334,1230,1076,1250,1174,1094,1126,1324,1466,1456,1302,1312,1368,1692,1460,1376,1602,1576,1362,1376,1102,814,1038,1110,944,891,1144,1026,844,1134,1602,1796,1502,1440,951,1124,1306,1020,1090,1374,1372,1388,1398,1658,1948,1484,1284,1226,1366,990,1136,1202,1054,1100,1260,1332,1192,1156,1190,874,612,948,1040,918,731,714,675,528,407,360,347,398,404,440,485,403,325,325,321,321,356,382,419,516,536,461,499,381,298,300,322,339,343,372,667,676,346,435,474,437,334,320,310,287,308,324,390,401,336,318,318,314,325,322,284,288,305,376,489,621,552,461,459,432,404,452,428,367,300,296,311,323,319,307,315,322,343,354,368,364,360,399,442,718,1284,1554,1602,1560,995,820,865,874,896,1080,1448,1324,995,1056,1356,1076,1038,1140,769,774,1108,1256,1322,1924,1674,1372,1244,619,470,575,1052,962,1086,1234,815,529,767,894,1004,1306,1506,1570,1404,1418,1228,1250,888,877,794,546,545,1030,1544,1434,1268,1266,1088,838,776,930,1342,1316,1172,1378,1284,958,1078,1656,1926,1452,1344,1208,1430,1518,1400,1350,1376,1350,1264,1032,912,1236,1550,1616,1362,1036,933,1200,1198,1146,1272,1228,1356,1192,1254,1076,718,873,1114,687,677,1009,1656,1072,411,328,435,422,361,423,562,789,1184,1418,924,1023,1318,1306,1246,1352,1322,995,965,1146,1210,865,476,503,575,1104,1204,730,823,800,1078,1116,691,504,390,366,487,603,576,696,599,416,350,327,265,252,282,329,307,328,386,345,361,419,371,338,383,426,409,504,573,475,415,468,437,380,343,300,296,327,350,359,414,465,473,590,598,452,520,482,498,478,451,529,513,468,512,447,532,595,587,595,324,396,635,628,844,1072,1184,1058,653,305,240,263,350,468,576,546,484,495,527,412,332,244,224,277,299,313,364,362,352,359,317,288,334,410,454,444,345,267,279,337,307,341,375,326,342,347,364,450,476,349,335,292,614,1032,1001,742,531,484,408,303,612,669,1110,1182,792,971,1378,1250,1144,1100,1066,975,557,642,1422,1586,1228,1454,1142,703,846,1174,1254,1144,1076,1176,1310,1548,1312,924,988,1216,1106,904,884,760,502,411,460,568,887,1182,925,453,386,608,893,973,796,906,1198,1008,930,560,884,1280,886,485,478,630,659,996,1304,989,861,1022,1146,1144,1126,943,989,1220,1398,1436,1494,1262,989,1158,1272,1290,1216,1182,1164,1318,1192,1088,781,842,1080,1310,1422,1240,1168,1278,1294,1256,1176,1418,1172,1068,1052,1144,1240,1246,1246,1222,1007,1062,1015,959,1192,1328,1222,1021,850,1066,1350,1400,1304,1194,1232,1268,1320,1023,1198,1426,1484,1480,1372,1282,1226,1186,1216,1132,1360,1878,1782,1692,1284,951,1122,1246,1188,1126,1300,1510,1728,1686,1522,1620,1776,1448,1070,874,917,1268,1278,872,1120,1392,1322,1284,1260,1360,1302,1242,1226,1516,1554,1448,1024,1098,1210,1188,1132,1058,930,723,520,424,405,395,421,381,306,343,383,389,400,462,450,365,401,368,353,336,265,254,311,357,391,459,480,491,430,401,394,388,426,588,623,567,567,529,705,900,950,1068,1160,988,1012,1094,1186,1214,1356,1384,1364,1584,1328,1316,1124,789,579,394,353,365,543,530,971,1066,968,1558,1628,962,576,536,535,461,442,612,696,794,941,999,684,517,685,771,858,1050,883,529,383,475,846,1158,1068,1378,631,320,356,417,367,328,293,317,394,438,489,701,362,339,372,295,393,476,439,420,402,376,436,532,470,349,357,417,526,1088,1003,614,615,695,771,643,802,1300,1344,1020,1416,1302,1164,1019,427,334,326,477,658,717,703,618,590,656,670,659,606,659,636,650,662,641,600,601,568,584,633,583,494,463,397,445,581,615,492,529,514,450,459,463,412,349,315,338,347,383,365,347,346,392,381,384,408,392,417,562,735,650,473,465,489,515,509,645,769,749,671,564,495,530,528,681,827,739,697,667,661,868,903,685,522,694,905,939,913,880,769,948,1362,922,715,663,736,748,655,627,583,585,438,438,518,543,531,1000,1570,1260,1490,1568,1356,1218,1164,952,633,670,722,593,672,673,853,1090,1132,833,441,299,276,334,393,436,426,482,778,841,624,686,979,948,706,984,1332,1094,1152,926,1064,1166,818,1001,1044,1466,1394,1328,1046,1042,1268,1072,1070,977,1064,1332,1266,1122,673,486,543,675,762,1104,1114,956,682,758,908,1142,1204,1416,1732,1674,1452,1108,1042,1442,1794,1570,1400,1396,1446,1432,1462,1500,1666,1626,1562,1316,1282,1300,1086,805,665,642,572,531,470,541,487,572,872,1100,919,664,554,512,622,1044,796,899,1452,1216,1032,1104,1354,1758,1484,1322,1602,1582,1348,1542,1988,1530,841,585,544,625,616,644,539,523,773,763,560,516,484,498,1302,1782,1378,1034,874,660,383,706,1248,1122,953,881,925,889,550,500,660,921,946,1021,1230,1306,766,626,1007,1136,730,528,583,1312,1904,1332,1404,1080,479,993,1780,1538,886,478,426,368,279,325,325,372,579,1194,1306,836,520,536,797,940,743,946,1526,1522,1090,1050,905,1152,1310,1196,1316,1278,1204,1426,962,984,1392,1468,1042,774,432,326,419,649,1036,1320,972,497,375,304,361,691,550,572,1008,755,583,836,632,500,822,1052,1013,1220,1650,1476,1416,1628,791,777,810,587,544,542,389,398,383,305,332,362,420,411,365,374,448,459,555,614,698,662,754,1268,1120,733,541,439,488],[355,401,442,385,459,522,506,386,394,490,523,808,706,370,407,427,437,461,368,354,537,587,739,686,484,365,493,613,422,303,444,794,925,664,842,1128,996,601,506,653,532,418,475,483,453,403,376,396,413,407,404,391,391,506,463,362,385,367,332,343,336,341,325,348,365,362,375,405,417,400,381,370,353,375,360,339,323,313,284,256,252,243,234,247,283,297,285,279,242,260,336,345,536,608,570,550,618,703,746,802,1450,1682,956,700,596,701,526,304,273,239,245,546,907,821,932,983,1078,998,1180,1324,1490,1260,1588,1504,1314,1290,1348,1324,1170,1134,1098,1218,979,576,326,323,279,301,318,298,287,415,879,1238,1050,573,471,603,520,466,755,1398,1240,862,1018,1080,1168,1218,1202,1016,825,923,969,1288,1624,1350,850,1146,1508,937,477,896,2114,2032,1264,1002,912,869,938,778,831,928,784,928,1098,1154,1394,1360,781,501,764,1200,1362,1408,1188,978,547,465,528,1004,1362,1246,933,337,388,377,350,308,308,333,341,309,298,373,363,828,1582,1812,1758,1408,1074,1464,1404,940,668,888,1100,859,859,1210,1410,1344,1060,1244,1450,1584,1294,1168,1272,1190,813,799,833,934,905,694,1434,1148,1068,1262,1026,926,1246,1168,1078,1328,1134,853,717,815,763,683,1118,818,517,919,1158,726,720,1013,960,1018,1196,818,719,891,886,868,821,687,584,538,559,488,411,445,546,1088,849,729,538,542,747,877,1072,1620,1678,1308,1112,940,726,1154,1368,1306,1152,1136,1288,1378,1246,1160,920,868,1406,1670,1198,1344,1246,727,557,434,450,528,866,862,772,615,550,442,420,524,546,392,407,426,358,404,518,504,427,602,1130,1368,1388,1066,924,1322,1468,1332,1038,875,708,692,834,927,836,865,1108,1242,1110,860,1138,1126,981,1332,1414,1742,1334,769,733,835,901,1003,808,1062,1250,1266,1106,1218,1148,1072,1494,1458,1390,1694,1630,1434,1360,976,1114,1194,1026,1002,753,745,1040,1232,1238,905,493,686,899,1017,980,752,987,988,876,1164,1288,1282,1318,1268,980,637,688,795,993,1238,1410,1640,1262,819,913,722,491,598,913,1310,1156,989,1246,1432,1386,1412,1202,1036,938,870,1028,1242,1230,962,1074,1180,544,447,510,397,347,579,1120,885,564,1009,1094,812,1013,1120,1426,1738,1036,787,999,1196,1482,1284,1258,1348,1268,1334,1378,1172,863,642,819,1158,1238,1188,919,685,948,1166,1024,969,1246,1302,1358,1268,1004,692,1004,1288,980,938,1084,1160,1080,859,797,653,396,644,593,827,1058,1352,1498,1268,1054,1148,1504,1672,1616,1432,1690,1946,1724,1182,1202,1666,2238,1706,1412,1578,1340,1076,955,1046,1174,1180,894,791,1508,2220,1250,817,613,457,650,595,496,422,513,714,1210,1250,1412,1406,1526,1646,1572,1538,1250,846,696,1060,1208,1066,771,861,1278,1332,1318,1236,1334,1262,1184,1196,1204,1362,1466,1444,1230,1246,1002,867,1038,1144,1278,1416,1238,1044,768,856,903,788,1038,1144,1438,1214,1094,1346,1880,1964,1272,1023,1272,1464,1428,1476,1356,1056,1110,1024,838,1124,1406,1474,1524,1522,1456,1494,1402,1382,1444,1256,1042,1008,1056,1098,1126,1120,1100,1230,1268,1202,1232,1154,1010,1160,1328,1294,1312,1346,1246,1316,1280,1086,1052,1130,1100,941,1130,1770,1568,1636,1660,1346,1470,1282,981,1038,1062,1110,854,665,894,708,597,794,1216,1654,1548,1428,1478,1538,1416,1478,1538,1368,1160,1278,1454,1714,1134,902,1388,1500,1402,1312,1312,1132,763,726,882,1300,1310,1088,1182,1017,731,965,1096,885,765,679,522,505,477,466,413,410,419,452,451,384,360,355,343,333,362,423,464,614,703,577,440,340,290,300,322,325,324,395,589,465,298,293,351,549,465,328,316,314,324,316,300,302,316,317,318,322,315,299,299,290,311,404,555,563,501,497,470,451,489,457,354,317,306,331,333,418,409,351,315,320,308,344,370,363,368,418,705,1278,1590,1580,1710,1464,838,531,644,1116,1246,1168,1198,1016,772,570,811,954,1380,1356,756,576,612,625,1256,1778,1412,1550,1424,807,462,393,466,492,682,988,897,818,1078,943,1048,1356,1488,1364,1338,1438,1196,1386,1160,907,1028,998,882,1106,1198,1024,794,938,1096,973,1050,1582,1794,1500,1228,808,556,600,1056,1746,1942,1300,1152,987,1236,1458,1524,1432,1322,1336,1192,1078,1758,1838,1324,1336,1378,1168,958,1158,1198,1212,1062,1046,1266,1320,1160,613,542,558,595,542,548,890,1174,786,397,344,309,308,323,381,449,1068,1222,1112,804,880,1124,1246,1086,1186,1300,877,661,941,1184,937,614,612,540,832,776,856,1110,1130,1026,702,401,342,233,319,614,612,560,515,359,287,304,305,246,239,248,301,330,453,541,382,326,373,342,325,391,480,516,503,393,364,420,411,345,351,365,346,352,355,364,367,400,426,493,665,677,500,541,508,481,447,547,777,777,670,600,612,682,709,800,604,354,482,516,495,897,982,959,1136,788,460,491,498,365,450,474,442,490,401,322,300,289,270,287,332,310,348,397,334,357,361,313,283,375,531,709,658,401,296,268,309,289,267,258,332,406,458,389,437,437,296,336,423,756,1106,1052,610,394,294,347,419,625,735,954,966,753,877,1176,905,736,1012,991,641,469,728,1300,1600,1294,1046,957,745,683,1174,1222,933,1048,882,924,1008,1094,1040,1064,959,1058,1144,899,882,760,686,633,587,918,1132,794,493,460,909,1114,1182,1130,990,1192,1122,1078,872,1184,1278,670,515,969,1100,1042,1270,1210,1090,1064,1078,1044,1096,1202,1014,1040,1148,1266,1334,1370,1302,1282,1346,1268,1256,1005,1112,1274,1298,1306,1220,1448,1420,1074,1112,1132,1074,1186,1472,1432,1480,1240,1308,1080,1036,1278,1284,1116,1138,1216,1144,980,1038,885,854,1078,1170,1138,1036,893,1066,1324,1332,1130,1134,1338,1374,1592,1304,1406,1444,2258,1902,1238,1072,1026,1076,1160,1116,1400,2050,1820,1302,1078,742,703,938,837,830,842,1096,1588,1644,1388,1378,1782,1514,1346,1300,1182,1106,951,793,1184,1578,1320,1136,1032,1104,1070,1080,1264,1436,1694,1282,976,1142,1154,1214,1170,1174,1232,853,631,438,414,416,380,359,346,368,395,416,433,470,498,440,502,473,394,348,250,257,309,332,401,448,526,625,430,357,336,401,499,591,688,639,522,507,617,764,858,1152,1394,1228,955,1090,1256,1158,1026,1114,1144,1394,1632,1510,1072,542,380,372,380,459,913,785,1074,1264,1260,1280,1028,754,691,653,619,744,769,758,830,1104,1036,662,446,365,350,451,538,558,457,369,319,331,392,603,671,974,559,342,355,325,342,376,317,331,524,692,673,752,411,383,456,463,522,703,639,474,412,420,577,608,443,413,289,320,426,775,924,1064,907,750,474,289,411,806,1172,1298,1378,1156,1198,890,454,315,318,411,560,623,603,623,635,659,689,713,712,689,650,636,608,563,584,640,629,606,606,594,515,468,430,460,691,647,385,460,534,469,449,408,343,329,340,375,362,365,442,405,352,364,360,403,461,452,465,473,571,556,490,454,475,494,509,675,813,767,797,769,655,547,532,518,582,692,736,766,738,996,1494,1284,658,598,743,995,935,625,522,699,1172,778,493,561,706,767,767,738,714,728,518,492,550,455,394,699,827,1210,1818,1704,1476,1044,939,1100,959,782,748,744,686,665,1016,1254,1166,668,364,352,352,310,326,398,393,657,1140,1058,691,619,864,839,644,1132,1332,1244,1634,669,554,810,889,858,1184,1368,1112,1180,1210,1288,1094,1038,1220,819,554,668,968,941,645,428,548,638,1040,1320,1158,1090,820,869,1366,1550,1013,1046,1120,1058,929,562,648,1202,1594,1506,1544,1536,1782,1620,1652,1700,1516,1476,1450,1284,1466,1426,819,591,475,511,509,436,432,411,394,423,599,861,849,521,438,479,442,481,382,697,1148,1632,1666,1218,1650,1990,1740,1430,1300,1232,1050,1506,2184,1782,1592,1080,575,526,477,400,473,802,622,581,564,652,660,744,1434,1358,1302,1276,1042,750,659,1102,1476,938,698,939,1278,1182,908,560,790,1350,1068,692,922,905,555,658,1250,1312,1152,951,769,1126,1266,1406,1876,1350,907,1554,1904,1418,845,576,543,458,465,462,422,438,484,906,1224,1230,1021,530,541,784,1226,1440,1704,1384,1038,808,1152,1436,1330,1192,1444,1394,1100,1332,1512,1426,1638,1480,1344,882,447,329,325,447,970,1300,1142,804,476,286,336,774,811,1098,1454,1194,709,774,912,517,494,619,932,1418,1566,908,902,935,551,486,724,694,427,335,340,304,285,320,316,416,449,385,330,377,421,404,381,436,489,526,707,907,868,761,656,554,642],[365,371,364,415,482,500,509,555,644,715,725,990,839,358,437,441,462,556,411,314,549,796,956,693,479,451,558,498,309,276,402,493,530,520,696,989,959,648,502,458,349,389,360,415,391,399,416,425,416,404,391,374,430,529,435,354,393,388,341,360,343,326,321,378,393,344,338,372,387,367,342,305,338,364,328,301,327,305,269,257,260,256,260,274,286,292,299,295,313,306,377,364,404,891,891,733,1072,937,761,773,1194,1218,613,592,543,977,898,587,384,253,242,537,796,867,1052,1222,1428,897,589,904,1310,1400,1448,1376,1188,1180,1674,1500,1244,1102,1190,1428,1256,1020,775,457,334,370,454,437,379,457,683,786,720,506,646,686,854,702,846,1226,949,633,817,1008,1158,1140,1352,1168,1166,1070,1184,1510,2088,1846,1090,1556,1730,816,490,762,1154,849,1228,1248,1118,902,1048,919,728,904,1004,850,788,846,1200,1208,737,667,753,945,1210,1340,1412,1024,449,379,501,992,1248,1288,717,486,435,317,271,292,343,334,301,274,326,569,849,803,1182,1484,1844,1676,1428,1592,1252,921,758,835,975,780,937,1324,1196,1216,1128,1238,1504,1624,1274,1058,1322,1388,1246,1013,840,1104,1276,742,1394,1226,1484,1500,943,833,1236,1208,1186,1290,1120,1224,1058,1050,1052,1124,1104,686,376,772,960,711,811,892,833,955,1256,1174,915,808,949,998,959,938,832,553,458,425,506,473,448,975,868,918,885,696,706,946,1292,1572,1622,1512,1252,882,1154,1272,1078,1240,928,1172,1344,1017,924,805,548,687,1310,1462,946,1344,1124,735,513,426,373,841,1048,926,986,612,550,433,346,474,554,396,424,348,276,327,380,401,332,442,783,814,1023,1082,1104,1420,1384,1400,1198,913,904,819,684,696,717,675,861,1170,1158,844,1100,954,821,814,1112,1256,916,1118,1242,1100,742,807,841,1204,1328,1304,1172,1274,850,1212,2034,1374,1354,1636,1690,1588,1516,1210,1444,1500,1358,1148,894,869,890,1120,957,794,738,1186,1428,1340,1354,1030,1009,807,782,798,847,1196,1108,1226,1144,820,1202,1190,1376,1390,1206,806,590,676,802,664,445,602,937,951,1144,1188,1344,1372,1160,929,927,1003,997,907,1200,1710,1532,1232,1238,1296,709,368,269,279,275,349,813,1158,1078,1082,918,689,933,1266,1404,1224,636,684,1070,1380,1238,672,710,752,733,991,1320,1018,548,392,440,778,1144,1238,959,933,1052,633,814,1000,709,729,797,895,1086,886,1136,1100,938,1038,1028,1062,1160,1007,665,421,416,453,455,938,1338,1500,1620,1504,1000,598,914,1090,1510,1554,1744,1702,1472,1098,940,1316,1626,1440,1550,1576,1450,1318,916,1040,1300,1266,902,952,2030,2220,1492,1094,669,608,791,650,581,783,629,836,1102,822,949,1072,1346,1516,1438,1474,1396,1172,792,1138,1506,1366,1328,1412,1368,1100,1186,1368,1424,1466,1312,1202,1204,1490,1418,1342,1442,1332,1156,1260,1132,794,965,1180,1122,720,594,1022,1064,748,855,1270,1442,1054,1250,1642,1744,1344,1086,1238,1446,1390,1314,1390,1418,1230,1056,858,870,1208,1492,1478,1416,1466,1514,1490,1516,1410,1246,1218,1096,1056,1098,1108,1140,1134,1180,1336,1136,1032,988,1078,1156,1334,1270,1208,1192,1172,1182,1154,1224,794,484,713,1268,1296,1368,1422,1388,1642,1520,1368,1460,1252,1188,1350,1272,1248,1030,872,807,597,917,980,1042,1540,1556,1344,1526,1564,1470,1436,1374,1422,1132,1036,1272,1084,730,824,1298,1372,1326,1404,1508,1098,643,1024,1114,1426,1406,1040,1040,1040,971,1030,1021,997,891,692,637,509,532,600,492,401,428,436,414,423,408,382,386,376,419,481,488,670,694,543,417,345,322,311,311,337,334,445,546,339,309,297,322,461,395,300,318,330,316,309,314,330,320,310,319,329,329,319,310,301,328,424,584,545,489,531,505,480,442,361,305,299,302,321,313,355,484,487,340,339,339,349,395,372,381,697,1366,1626,1568,1676,1498,1042,1028,889,705,1012,1376,1098,1034,903,784,538,623,914,1462,1346,713,747,579,611,867,1142,1346,1282,1418,1368,920,506,349,442,562,822,1078,1352,1286,1008,1272,1546,1610,1394,1466,1614,1550,1602,1366,1082,1034,1138,821,589,788,952,955,1011,1036,882,788,1194,1448,1324,1164,763,378,400,915,1376,1472,1264,1212,1112,1110,1272,1494,1554,1490,1410,1000,791,1246,1332,1212,1090,1124,1196,1162,1048,977,1082,1034,1156,1188,1484,1040,581,613,666,534,563,791,786,551,359,333,347,296,316,381,816,910,1100,1166,1036,976,1140,1246,1088,1072,1238,1072,922,1036,1014,1076,804,586,547,503,745,781,579,814,904,690,449,350,302,375,477,766,747,509,379,320,305,346,334,274,211,243,370,464,533,567,438,300,294,314,318,366,430,431,387,352,380,430,423,361,344,382,375,345,338,327,327,387,408,447,552,656,550,543,528,522,504,491,658,916,840,720,690,650,658,813,781,747,851,666,403,495,539,491,617,486,441,798,800,508,446,410,349,351,318,294,309,329,278,292,295,291,381,379,381,353,353,370,366,433,548,569,529,344,238,260,274,270,340,409,644,1068,1013,474,320,312,246,271,420,778,933,958,550,389,336,585,769,492,419,540,584,623,797,959,963,652,815,855,641,904,1058,1278,1612,1372,814,590,667,699,1030,1092,634,760,897,885,905,1080,1284,1130,634,558,963,1104,891,910,994,826,521,606,769,751,843,1050,1164,1182,1394,1410,1238,1172,1234,1256,1062,1120,1070,697,694,1076,1140,1220,1098,1078,1104,749,951,828,912,975,1108,1186,1210,1324,1320,1308,1272,1304,1158,1190,1180,1001,1214,1408,1332,1376,1866,2188,1636,1328,1592,1428,1274,1150,1406,1364,1354,1050,1046,1100,1096,1312,1210,1060,1080,908,836,864,864,861,894,1144,1158,1016,1021,1150,1342,1420,1278,1186,1204,1388,1448,1302,1226,1240,1174,1154,1036,1240,1372,1116,1182,1240,1196,1162,1604,1744,1328,1054,769,751,839,821,1116,1392,1488,1670,2014,1782,1428,1782,1740,1546,1410,1218,838,778,763,994,1526,1302,1186,1148,1108,1202,1210,1280,1392,1526,1184,1204,1246,1144,1136,1166,1228,1378,968,697,491,400,380,379,388,383,404,418,442,409,465,524,441,433,393,319,342,310,297,342,368,384,401,537,565,353,380,434,548,659,695,779,789,659,520,557,662,843,1104,1156,975,1700,1416,947,1026,1118,1298,1298,1448,1678,1428,1026,675,469,351,328,453,914,1056,1070,1104,1140,885,597,531,612,847,764,1244,1044,528,570,836,674,421,368,396,435,573,669,519,365,457,472,455,464,403,472,559,432,364,347,308,347,507,413,365,508,659,670,667,569,727,958,748,412,477,594,642,527,323,483,481,364,362,310,303,349,400,480,546,713,702,357,304,280,547,941,1188,1204,1184,980,564,400,371,417,453,589,597,504,512,641,681,693,689,663,655,608,601,622,605,630,659,642,594,620,624,481,382,445,559,613,537,536,577,565,520,471,393,346,360,387,372,371,435,495,411,336,342,351,403,448,553,596,578,603,607,533,405,445,465,417,462,568,744,845,820,826,729,573,458,452,506,639,842,785,666,997,1354,683,522,553,788,700,598,535,553,692,637,541,548,614,523,539,540,586,590,641,700,691,539,497,491,407,991,1654,1448,909,918,1028,1062,1056,1006,948,1048,1024,832,922,1332,1226,576,466,518,673,448,371,397,350,386,719,836,721,683,893,980,935,1310,1080,762,868,814,654,640,858,878,908,872,639,847,1280,1422,1258,995,1021,716,395,340,467,549,622,849,915,1082,1152,816,769,1056,941,1094,1194,1088,642,681,933,946,704,603,821,854,1352,1708,1522,1572,1746,1620,1642,1594,1382,1506,1438,1338,1418,1360,818,514,424,434,444,424,383,358,352,323,390,609,654,430,403,411,374,325,343,352,414,1044,1350,1270,1072,1308,1756,1018,861,1356,978,836,1082,1278,1592,1174,755,708,858,737,480,816,847,805,717,960,1009,1026,1038,1013,1132,1146,1412,1450,1216,1092,1002,644,666,900,1154,1084,1080,997,1064,1142,817,868,1015,1006,1166,990,1342,1094,1056,1134,1112,1080,951,1058,869,661,1126,1504,1276,790,625,924,987,588,437,442,378,406,626,822,661,877,1430,686,482,491,868,1296,1412,1136,725,754,1120,1248,1318,1362,1262,1252,1268,1832,1678,1588,1478,1564,1406,874,587,443,425,652,1024,846,767,652,408,405,647,1012,1328,1394,1628,1850,1122,929,981,507,401,465,636,1290,1110,604,601,588,574,615,774,407,311,280,307,293,336,312,332,347,401,425,360,384,427,376,371,417,484,493,442,485,533,694,865,796,966],[423,465,506,496,496,520,491,490,549,545,532,737,767,406,460,396,372,411,398,385,529,674,505,313,377,428,505,460,409,306,338,354,391,434,548,700,830,731,452,415,396,493,418,368,321,358,410,419,404,398,385,363,460,577,379,306,388,349,330,344,312,303,308,349,366,323,342,373,440,419,398,396,361,374,335,341,319,271,269,263,264,266,268,263,274,289,299,294,328,330,351,402,516,681,705,936,1162,979,932,636,713,689,760,713,742,835,718,796,823,596,451,758,739,1002,965,1248,1306,950,982,1334,1444,1342,1252,1198,1212,1418,1678,1544,1728,1156,1036,1114,1402,1354,799,570,668,659,692,594,484,451,475,533,514,610,769,749,804,768,820,878,542,505,633,1032,1034,848,1082,1050,1062,1080,1050,1088,1630,1510,1238,1238,962,487,455,834,927,1274,1272,1224,1074,958,940,845,950,1040,880,805,1236,1356,1396,1268,986,969,1362,1356,1158,1182,1402,1234,813,700,599,983,991,767,356,288,270,245,254,279,323,323,261,310,335,569,818,500,451,685,1536,1998,1882,1310,780,926,1086,1162,1038,786,1192,1304,1386,1452,1398,1268,1472,1550,1168,1266,1660,1448,1272,1038,939,932,1180,935,1292,1466,1424,1238,943,980,1106,762,1058,1158,1186,1002,803,980,1142,1078,848,649,498,798,1084,1022,915,879,1012,1262,1354,1394,1230,1304,1444,1324,1064,1138,1040,855,621,498,548,566,489,825,844,675,1242,1044,519,866,1258,1246,1290,1626,1546,1126,1326,947,930,1172,1156,1394,1260,1007,676,524,561,1136,1486,1460,1148,1168,844,686,561,357,410,883,855,547,552,456,445,518,464,358,387,391,576,572,327,271,271,283,235,334,531,495,697,1096,1104,1188,1046,1030,1038,822,794,966,1038,1028,924,630,610,864,885,686,848,1009,756,660,709,543,774,1184,1236,1282,1232,1228,893,855,822,777,968,1088,725,1042,1384,943,1124,1166,1500,1384,1252,1230,1306,1378,1406,1172,1148,736,493,984,1190,909,946,1250,1300,1168,982,720,766,878,609,479,764,1020,725,807,933,1156,1444,1158,1064,1188,806,468,510,532,574,819,797,752,1028,1120,1366,1418,1332,1306,999,847,904,839,1116,1298,1682,1736,1384,1268,1332,1526,1110,566,331,345,408,456,569,1156,1418,1426,1162,919,1170,879,782,896,1007,1208,1370,1380,1076,723,532,514,710,784,721,562,723,665,416,653,892,872,814,846,742,554,1032,955,1142,1016,720,741,902,1128,1122,874,943,1202,1290,1244,1062,662,505,438,610,953,793,741,1126,1266,1238,1528,1226,828,833,598,1226,1676,1664,1532,1216,1294,1090,715,1022,1304,1418,1388,1338,1338,1112,1196,1378,1324,1028,883,1068,1226,1324,1028,945,857,796,644,694,1082,886,1018,811,594,922,1106,1178,1440,1318,1356,1330,1362,930,1005,1446,1504,1584,1446,1230,1150,1236,1494,1578,1484,1518,1384,1272,1350,1412,1436,1458,1340,1318,1378,1272,1100,1198,1228,1152,748,743,1044,1338,1050,998,1200,1054,894,1446,1946,1592,1042,907,1182,1426,1422,1304,1312,1332,1284,1256,1310,1318,1346,1440,1512,1514,1464,1488,1538,1506,1324,1150,1120,1128,1128,1110,1138,1208,1182,1136,1132,1028,910,933,1238,1262,1284,1224,1180,1368,1464,1126,819,937,1060,799,767,888,1312,1732,1430,1230,1260,1178,1152,952,1023,1140,1252,1534,1440,1272,969,810,597,700,689,1006,1530,1506,1440,1436,1416,1384,1242,1210,1138,1088,1154,1294,1374,1190,975,1268,1314,1015,1222,1484,1172,701,905,681,1018,1116,949,1218,1228,1198,1352,1128,1080,655,447,413,399,420,525,409,331,364,367,411,425,390,388,411,428,478,488,524,615,569,450,358,352,345,331,385,376,462,551,421,309,276,296,305,370,372,320,314,322,316,319,320,334,328,322,326,344,336,340,339,369,380,504,694,499,562,568,436,348,338,327,293,287,314,307,286,323,439,514,429,379,341,346,375,454,866,1430,1600,1576,1592,1476,1102,1126,1344,824,616,1182,1648,1108,1036,1058,602,608,1102,1300,1500,1292,847,963,532,694,974,1074,1090,1292,1798,1638,1190,748,529,767,1078,992,1216,1438,1354,1324,1278,1234,1394,1410,1488,1390,1048,1118,1310,1158,854,1204,867,720,799,589,468,639,731,875,1114,1032,1110,1122,610,402,354,509,883,1030,1264,1376,1448,1404,1120,1034,1284,1572,1520,1446,1318,1562,1468,1246,1164,941,1116,1306,1104,810,697,737,940,1012,1134,1324,1013,854,799,653,702,933,984,833,510,339,311,365,303,269,806,1758,1654,1350,1318,896,742,1098,1268,764,610,958,1144,986,954,904,1110,1032,879,717,455,753,763,771,855,673,579,432,354,324,656,988,983,689,436,308,291,301,435,391,405,281,292,484,551,538,626,536,326,302,316,354,350,368,372,361,351,430,469,434,391,395,413,383,359,342,324,330,352,401,389,408,552,597,532,485,552,525,475,518,805,846,616,517,677,738,783,869,1108,1196,907,475,309,307,300,327,469,592,661,566,434,447,406,312,272,283,301,342,345,292,307,324,324,346,355,351,321,341,393,399,394,493,453,443,272,209,273,282,309,479,684,972,1166,995,482,409,340,314,325,390,555,667,574,408,449,433,453,491,487,500,505,675,833,880,1046,1288,745,584,818,921,1176,1176,1284,1610,1350,898,696,564,717,1003,1040,755,853,966,1028,1212,1256,1218,842,574,415,723,807,653,825,868,818,821,1100,1056,914,1210,1234,1036,1364,1518,1608,1166,1062,1200,1262,1198,1172,1134,852,882,1019,1150,1202,1048,998,851,624,836,893,769,832,1114,1136,1050,1052,1198,1574,2862,1732,1184,1244,1260,1146,1064,1256,1296,1252,1244,1538,1532,1466,1480,1448,1362,1072,1114,982,970,933,1166,1404,1202,1094,1076,1134,1230,1018,1080,926,837,902,998,1300,1252,1124,1244,1406,1382,1422,1326,1046,780,663,648,711,893,1060,1162,1094,919,1024,1158,1074,1156,1017,1198,1062,1174,1456,1196,1038,1110,935,825,831,1294,1032,1174,1700,2118,1970,1422,1578,1846,1726,1800,1526,842,814,620,790,1240,1110,1030,1202,1428,1426,1372,1300,1466,1422,1130,1520,1498,1470,1188,1394,1410,1538,1180,760,553,425,396,393,404,383,414,427,427,641,838,678,425,409,437,335,343,430,413,352,426,441,403,427,419,413,584,957,1072,822,708,797,735,597,533,561,646,897,845,728,583,1152,841,532,816,1216,1288,1156,1284,1526,1080,993,803,589,526,446,550,963,1224,993,798,829,624,515,535,825,1232,1036,1560,1088,506,501,709,847,616,427,565,404,563,810,613,432,451,630,542,413,344,463,809,694,317,416,654,453,542,571,486,384,520,561,498,410,749,1364,1036,361,449,510,532,677,401,360,350,280,351,412,354,362,399,326,284,280,243,287,319,347,670,865,1564,1764,1198,666,386,414,440,459,519,596,604,519,466,579,658,664,649,643,622,579,608,678,678,644,587,630,619,651,717,618,521,565,634,654,607,602,532,542,518,450,351,377,377,372,391,415,509,511,457,418,433,503,455,473,633,643,638,613,564,433,392,492,452,447,419,453,730,872,849,870,864,637,467,454,481,547,644,760,734,567,581,495,487,662,730,616,583,550,611,680,631,534,545,529,471,486,459,455,427,435,686,761,672,610,501,480,623,880,988,811,996,1428,1122,555,700,1050,1208,875,687,893,1196,998,475,499,715,647,466,493,466,489,703,647,544,819,891,797,712,1206,1058,828,919,1100,984,752,643,886,971,909,686,537,875,1078,1316,1009,678,836,979,792,756,892,687,597,836,658,893,614,389,688,1090,1102,967,965,1042,916,616,703,699,608,713,1202,1356,1604,1962,1604,1434,1488,1356,1376,1544,1360,1334,1266,1328,1414,1426,933,433,338,381,401,396,381,381,366,398,359,502,504,431,370,361,311,292,317,312,368,458,1006,1618,1166,900,1026,628,432,753,839,726,658,814,841,991,860,583,918,1122,645,459,802,948,1001,1390,1104,877,1010,1320,1254,781,905,1382,1742,1368,1456,1102,698,606,594,792,1182,1138,1270,1234,995,1015,1240,969,986,1196,1034,827,1094,1298,1410,1376,1220,984,585,753,1270,1252,883,488,324,571,696,532,392,355,428,558,772,835,822,806,994,545,482,460,506,890,1146,849,641,1046,1396,1300,1372,1198,992,1268,1820,1896,1584,1596,1586,1382,1202,1066,775,584,442,612,978,719,453,355,396,959,1108,959,1226,1158,1316,1524,830,458,579,511,603,718,1044,1166,771,637,586,619,855,1114,1530,714,492,453,382,355,353,336,339,341,416,456,372,389,437,398,393,430,452,404,518,550,421,395,446,642,778],[375,403,503,561,545,517,495,424,383,470,600,622,751,487,376,306,239,302,351,348,445,508,377,270,309,398,549,478,406,292,286,458,536,605,777,740,830,651,329,352,427,502,460,421,393,338,336,361,377,379,388,387,488,482,377,328,339,324,314,288,281,296,297,313,340,350,429,411,469,449,420,418,403,403,373,343,300,290,272,262,255,272,262,265,281,285,290,318,306,301,330,467,786,894,523,539,904,1104,985,715,811,670,631,634,707,746,1010,1088,885,938,689,1184,1136,1104,1019,1028,1190,1204,1354,1606,1354,987,822,855,1190,1316,1648,1636,1550,946,810,1194,1418,1298,967,1004,1114,1066,733,513,458,705,1072,1072,793,742,735,795,961,902,735,736,515,791,731,1104,1144,828,995,1046,909,1118,902,889,1266,1184,1186,1190,1018,662,758,1266,1324,1556,1310,948,1148,1080,625,819,1142,933,685,916,1332,1130,1138,1130,978,1000,1324,1290,1114,1028,1338,1226,1258,1336,1148,1232,935,426,256,264,238,239,248,226,276,356,514,367,318,304,283,336,450,686,1144,1562,1850,1448,742,941,1324,1348,1154,999,1148,1408,1482,1300,1434,1500,1562,1356,1011,972,1108,1358,1488,1382,1290,1009,1060,1030,1198,1508,1194,971,1158,987,896,1092,1222,859,902,705,616,804,1118,1058,745,809,658,642,933,902,836,1142,1344,1520,1572,1610,1412,1162,1422,1394,1170,1194,1110,1252,867,713,678,698,636,1066,1146,1066,1360,1034,905,762,627,912,894,972,1208,1256,1170,940,993,1100,1526,1986,886,589,561,576,858,1494,1850,1780,1500,1250,867,545,453,294,318,432,419,337,374,375,445,689,709,484,372,330,403,439,294,277,292,270,243,266,309,415,709,1003,1082,1178,1000,845,733,602,604,915,1040,942,703,582,723,733,688,717,1162,1116,772,901,779,595,875,988,923,1306,1362,1204,930,640,623,582,705,816,816,1086,1218,1180,1058,1224,1524,1144,721,944,1338,1384,1352,1648,2008,1122,657,810,1224,1216,1094,1216,1202,914,582,437,568,732,559,570,791,841,1026,1072,935,1196,1292,840,863,948,670,690,864,803,697,976,1078,1184,1230,1050,1066,1098,1130,1344,1338,1134,850,804,1015,1194,1488,1328,1382,1426,1254,1074,1010,877,559,431,605,785,493,785,763,1300,1400,1432,1226,708,636,981,1170,1408,1504,1408,1254,915,907,836,813,750,734,800,919,1028,1138,948,676,729,689,746,677,563,910,733,938,1194,1256,1068,1022,1198,1074,1222,1128,1142,1021,1296,879,390,337,326,572,919,815,643,849,737,639,929,998,1148,986,774,1196,1472,1562,1536,1496,1550,1316,714,874,1032,1252,1338,1300,894,918,1396,1428,1310,897,742,753,965,1146,1184,1494,1214,814,617,712,877,982,1202,891,811,1364,1222,714,1080,1416,1456,1354,1196,1021,1082,1074,1128,1376,1402,1346,1236,1312,1442,1466,1502,1642,1616,1504,1438,1536,1556,1398,1390,1438,1332,1396,1448,1192,1196,1028,940,819,1116,1118,884,902,1011,973,1196,1716,1692,1340,1280,1224,1264,1464,1530,1620,1404,1056,1200,1390,1288,1398,1470,1378,1448,1538,1476,1482,1544,1356,1172,1140,1160,1140,1140,1096,1138,1212,1192,1094,1122,1126,1034,1074,1132,872,805,1006,1242,1444,1478,1250,1206,1180,1268,936,862,720,854,1214,1262,1190,1310,1360,1170,896,822,959,1248,1534,1460,1286,960,676,478,401,414,861,1444,1434,1722,1526,1364,1236,1310,1266,1440,1422,1348,1460,1368,1058,951,1098,995,1018,1650,1486,1238,1004,741,612,985,1122,1042,1154,1148,1306,1402,1094,899,563,343,362,398,409,437,358,318,346,351,371,383,391,347,361,392,417,450,512,532,561,528,386,400,343,337,393,433,626,553,396,309,273,260,261,321,336,320,310,302,312,330,315,322,342,312,339,380,354,346,441,528,448,589,615,494,498,430,351,330,299,294,300,301,305,286,295,433,446,406,421,398,373,385,459,910,1500,1584,1552,1432,1108,917,800,832,1148,911,923,1538,1804,1184,1044,1076,698,933,1262,1284,1148,1194,1082,1082,522,482,716,1128,1128,1266,1672,1542,1270,639,440,712,985,966,1234,1316,1234,1236,1238,1282,1442,1432,1438,1436,1158,1132,1372,1162,1010,1188,741,686,716,492,436,613,659,1008,1272,1122,950,958,626,393,373,529,841,1162,1218,1282,1364,1364,1284,1042,945,1396,1566,1648,1776,2368,1650,989,1046,970,1128,1132,951,836,878,636,1214,1250,890,1146,1154,951,1030,1114,1284,1132,1200,997,537,427,400,393,345,568,1130,1624,1664,1474,1422,998,922,1098,1086,642,606,879,1214,1088,946,1062,1336,1198,731,598,607,649,561,937,1094,912,827,807,543,402,695,995,673,505,409,329,297,268,341,341,395,333,375,514,502,578,707,576,399,329,429,469,389,378,379,379,383,437,462,438,442,391,381,359,348,332,328,342,339,365,375,399,498,620,597,427,509,504,494,433,617,669,600,627,779,838,752,977,1298,1010,802,455,255,302,326,316,317,336,447,462,400,409,344,308,268,248,273,342,339,306,307,313,318,358,424,443,419,468,495,507,398,440,414,377,279,292,302,299,426,532,630,983,1186,1166,582,854,728,511,429,429,396,404,404,401,412,425,429,652,871,667,1034,1194,960,828,840,1260,996,681,1040,1190,1003,883,1220,1600,1044,547,408,368,553,1022,1044,780,932,1120,1122,1292,1162,811,494,388,360,538,595,582,758,868,725,792,894,708,980,1412,1338,946,1156,958,641,800,988,1148,1270,1168,1222,1288,873,882,1068,1108,1140,1186,1246,1108,945,966,945,977,1144,1168,1196,1406,1138,1222,1162,1666,1338,1276,1128,1030,945,1023,1250,1250,1316,1146,1778,1636,1280,1202,1296,1190,1076,974,840,910,1126,1408,1412,1352,1232,1232,1292,1356,1390,1360,1278,1506,1390,1120,1376,1452,1324,1204,1003,758,723,785,778,632,447,620,903,958,978,1216,1176,822,1352,1398,1234,1102,772,709,764,980,1092,1002,1108,1302,1272,1316,855,1324,1054,1158,1754,2128,1922,1338,1360,1900,1700,1350,1116,913,818,566,664,1016,1012,1040,1406,1586,1404,1238,1246,1632,1348,1244,1426,1546,1506,1288,1574,1578,1548,1424,973,640,458,390,372,382,386,396,444,683,1112,1021,745,520,434,429,323,512,843,609,419,708,547,495,566,590,537,686,1106,1166,917,680,760,681,834,813,670,739,825,666,609,778,833,780,691,845,969,1136,1220,1272,1422,1280,1094,761,805,914,840,805,1028,1328,1226,706,504,871,854,718,973,1140,1156,1302,838,351,513,880,1058,683,354,419,530,684,794,683,617,740,964,685,379,368,483,757,658,287,351,533,458,466,608,612,499,507,557,658,601,866,1500,1148,477,554,575,550,686,504,402,373,301,536,812,543,338,368,296,304,297,308,327,312,364,685,1272,1888,1412,692,465,452,408,422,543,600,618,635,544,435,548,608,530,571,634,621,565,648,686,645,621,633,660,612,639,710,636,637,670,659,684,647,595,474,523,563,440,338,413,464,473,481,611,680,535,554,697,634,567,484,438,530,626,695,703,648,458,370,398,448,461,483,564,755,808,805,864,756,505,421,442,462,489,575,600,675,715,611,525,592,720,605,591,569,542,666,664,578,539,508,461,495,508,466,406,410,556,640,568,613,709,615,545,493,523,792,1056,1144,1274,875,480,489,594,890,1274,1388,1498,1282,779,466,890,1436,1210,683,529,445,464,775,916,598,733,1112,918,977,1116,874,907,1100,1074,1126,1003,564,447,489,869,582,580,781,1072,1116,1001,1106,1150,1152,996,1144,979,912,1012,1410,1456,1146,752,547,797,1310,1184,825,1158,1280,900,566,547,725,1448,1004,1070,1274,1238,1296,1280,1308,1300,1408,1354,1542,1356,1208,1116,1450,1514,1188,642,476,435,357,349,366,368,363,358,343,334,375,399,370,323,296,251,270,309,310,298,322,587,896,1490,1016,469,473,478,493,698,916,854,858,953,1098,680,511,805,885,612,425,566,605,1130,1476,1216,1180,739,1302,1280,1100,849,828,1502,1538,2076,1750,921,641,610,1046,1278,1094,1316,1150,1266,1174,1146,855,773,908,883,725,790,1062,1392,1080,996,861,780,919,1268,1094,560,361,305,361,459,408,384,353,530,722,1019,1011,1130,1064,715,496,449,499,536,669,865,1018,1152,1670,1540,1338,1132,1122,1034,1378,1754,1572,1480,1720,1544,963,1188,1298,902,542,402,565,915,720,439,425,991,1628,1246,550,454,627,781,752,486,383,343,326,658,1018,1044,840,560,548,655,803,1278,1336,1320,976,1044,756,409,375,394,371,371,404,422,419,407,435,468,426,415,433,393,335,389,466,478,375,317,373,455],[387,490,875,1094,705,495,494,424,384,517,571,415,628,426,236,245,261,297,286,290,379,455,434,409,440,373,519,596,427,283,517,962,944,803,868,779,742,527,353,363,441,479,437,418,421,416,378,379,332,336,366,408,519,391,346,348,317,321,325,306,293,291,297,322,348,343,377,395,380,365,342,335,357,352,308,276,271,284,272,264,229,256,269,276,279,283,300,315,308,315,385,529,1052,1214,777,568,835,1476,1372,949,918,716,466,451,591,996,1552,1152,1001,993,858,1168,1194,984,695,1080,1404,1094,1062,1354,1194,1022,1048,1090,1236,1166,1546,1536,1086,880,1198,1316,1017,1070,1036,1144,1036,1062,653,530,733,1140,1384,1122,815,694,588,680,844,711,559,454,650,755,673,812,855,709,828,783,766,877,729,894,1184,1324,1138,1292,927,582,797,1148,1090,1192,1108,934,1216,1204,810,1100,1046,1028,1204,1242,980,830,843,1032,996,963,1232,1100,1066,1096,1372,1274,1252,1252,968,1009,968,506,280,242,234,230,249,242,262,642,1208,994,586,397,380,621,735,741,962,1076,1478,1786,1654,1350,1228,1146,1094,1192,936,1036,976,771,1094,1266,1368,1454,1306,801,833,1332,1256,1078,1026,1050,1208,1064,1078,1350,1324,1444,1268,675,1070,2114,1570,738,665,706,1094,1482,1252,680,648,1072,951,890,1170,955,887,1166,1230,1234,1316,1548,1454,1072,1232,1248,1490,1620,1242,1276,908,721,796,800,768,1080,1418,1458,1226,919,912,651,736,1044,1626,1642,1434,1278,1188,1168,951,880,1176,1250,561,491,589,765,1218,1382,1550,1564,1270,797,593,470,318,236,236,232,251,292,426,484,566,800,719,458,539,596,459,312,282,243,275,267,237,277,302,390,559,697,1084,1218,1130,853,355,273,571,905,764,768,733,698,667,772,744,726,1242,964,564,513,568,1034,1176,1082,1120,1384,1428,1350,1116,675,541,427,387,522,951,1306,1262,1796,1844,1354,1244,890,489,578,713,871,1194,1404,1424,1260,978,735,891,1188,1366,1338,894,584,478,435,450,611,527,457,513,710,930,1038,915,801,798,584,555,657,685,1130,1466,1158,1050,1236,1266,1372,1254,987,1004,1044,1166,1476,1322,1142,973,1142,984,839,1120,1284,1372,1214,1158,1116,930,929,851,628,619,902,829,1098,1022,1074,1150,1198,1474,1378,1058,971,1048,1238,1386,1308,1418,1284,1268,977,736,676,636,763,792,878,911,1158,1084,1068,709,739,598,539,950,1228,999,1023,1216,1190,1168,1206,1102,1340,1282,899,816,1070,774,473,349,384,493,628,647,449,320,276,406,504,429,758,803,976,1260,1406,1556,1170,1412,1584,1590,1372,1120,901,927,1318,1040,667,1124,1444,1318,973,671,977,719,912,1100,1212,1110,1224,1324,1016,772,813,1018,1214,770,973,1462,911,477,537,890,1340,1362,802,827,1220,1198,949,1072,1430,1558,1406,1484,1454,1384,1566,1674,1666,1568,1518,1642,1666,1600,1584,1418,1332,1504,1324,758,808,1120,1104,1010,1122,1011,810,938,1004,1122,1478,1636,1506,1384,1272,1328,1514,1554,1562,1592,1448,1250,1226,1256,1078,1416,1416,1492,1440,1378,1374,1448,1360,1234,1188,1150,1156,1166,1198,1220,1268,1272,1168,1072,1088,1078,1134,1218,1052,862,702,910,1100,1038,1278,1224,1246,1422,1206,1004,1004,670,557,552,544,754,1240,1528,1604,1346,1072,732,798,1072,1290,1250,951,661,399,715,1046,1246,1602,1508,1744,1548,1460,1188,1130,1102,1068,1136,1198,1194,1242,1066,946,1086,1042,971,1198,1254,1274,1222,1138,1200,1354,1192,978,913,1064,1264,1368,1310,1136,799,510,413,407,428,425,393,346,323,312,349,382,396,368,377,400,409,398,387,435,534,500,381,415,343,319,374,648,630,496,433,344,296,241,281,320,322,318,314,298,296,306,354,404,404,385,375,363,325,412,537,508,428,616,506,446,376,310,320,321,298,299,319,321,305,297,446,877,883,549,400,404,439,517,913,1570,1776,1634,1454,915,841,1196,1032,691,1072,1376,1552,1572,1368,915,860,1314,1452,1316,1234,1312,1268,1178,1354,1220,728,550,872,1360,1108,749,1216,1644,1110,602,498,500,741,1038,1172,1528,1378,1178,1416,1288,1290,1264,1210,1380,1664,1130,1178,1102,764,946,840,453,417,359,493,686,794,1108,1100,1140,689,709,649,479,492,686,1056,1202,1262,1594,1448,1290,1144,739,792,1368,1592,1646,1804,1822,1366,1156,1168,1266,1032,1030,686,647,672,684,1388,1404,1011,1152,1198,995,1018,966,909,1112,1456,1026,520,412,418,373,332,667,1158,1504,1606,1348,1466,1554,1246,995,875,803,640,730,1126,1182,908,919,1104,1110,921,894,526,639,767,761,662,514,721,899,583,521,448,615,402,362,331,305,272,311,326,316,360,360,386,433,422,530,578,582,555,562,542,442,435,389,362,379,368,385,412,408,451,390,389,377,351,346,353,346,332,365,401,426,437,517,647,464,449,474,401,371,484,501,487,519,750,894,904,1236,1124,1066,825,465,262,301,328,281,246,243,363,526,449,401,358,356,284,292,292,327,327,314,324,318,366,420,428,474,506,578,586,563,619,552,548,567,463,414,415,498,647,823,609,929,1476,971,543,866,624,425,402,357,348,332,393,574,753,925,1080,1160,780,446,813,879,616,519,688,991,1238,1076,1212,1210,921,918,1182,1570,930,387,375,457,683,955,919,594,921,1426,1174,1390,1112,662,382,339,419,466,528,606,880,1050,843,678,482,720,1046,1106,1110,989,949,581,342,479,683,833,967,1258,1398,1354,1080,1002,1114,1224,1288,1172,1230,1298,1250,1220,1254,1138,1106,1178,1230,1438,1204,1134,1216,1224,1176,963,716,872,984,1148,1102,1026,1052,1092,1338,1332,1250,1258,1272,1204,1132,1038,1112,1196,1316,1416,1482,1378,1316,1282,1276,1304,1370,1352,1360,1448,1324,1276,1242,1206,1094,1190,753,495,497,593,965,1056,666,664,923,774,754,862,861,835,1460,1366,1250,1158,747,450,684,1028,1138,1186,1144,1170,1180,1444,962,1164,1306,1266,1438,1626,1448,1004,1066,1840,1808,1306,1148,1198,883,647,721,884,1146,1402,1626,1694,1548,1294,1494,1630,1362,1322,1252,1152,1194,1372,1774,1842,1562,1576,1284,774,584,450,408,408,426,468,527,922,1082,905,1044,835,461,401,424,712,1070,713,789,1288,915,805,1015,918,691,921,1156,1146,1108,1030,796,731,1096,995,726,675,673,655,783,1005,949,789,873,790,990,1164,1122,1344,1458,1604,1494,1190,1030,802,575,737,1150,1168,1250,875,591,666,1148,1266,985,874,1114,1332,887,349,526,551,572,394,364,626,1080,1028,763,732,677,674,769,556,623,783,587,1194,1001,455,415,511,617,758,1116,1144,503,361,562,839,800,637,814,736,614,679,669,630,521,324,283,328,571,1152,1542,851,358,373,361,291,301,310,326,475,701,1336,2066,1546,894,529,439,470,440,508,643,609,570,550,502,491,581,568,413,492,586,584,554,604,657,601,565,605,631,576,607,678,609,582,588,648,681,667,566,548,479,466,459,448,467,454,466,651,926,842,729,695,824,714,494,391,362,398,527,670,771,825,547,387,385,403,477,570,673,731,713,693,670,601,444,387,399,401,436,543,584,505,567,706,709,770,674,535,494,544,645,700,711,595,488,423,483,479,451,451,387,444,583,538,467,541,630,722,643,575,493,680,947,1001,852,598,485,502,484,727,976,1386,1642,1498,905,651,1162,1526,1030,656,447,332,495,598,567,556,693,919,965,1116,1154,1252,1212,1206,1256,1416,1116,531,515,569,1170,1872,1238,502,828,947,841,1094,1242,1248,1023,811,637,702,1062,1376,1576,1496,1060,954,1266,1426,1300,1262,1438,1202,971,604,505,1088,1308,1086,1200,1174,1280,1442,1378,1098,834,1258,1334,1396,1432,1334,1170,1009,1146,1158,908,1022,726,411,336,391,426,391,379,343,305,307,301,282,297,282,258,315,332,323,360,300,386,514,1086,810,418,397,408,425,465,560,982,1188,1056,741,539,621,849,655,412,458,634,1094,1430,1376,2042,1434,838,1088,997,806,954,1214,1272,1310,1456,1156,957,836,781,1112,630,823,991,1044,1682,1636,1174,990,654,663,664,744,707,730,1158,1016,1040,1086,1196,1122,1006,745,450,405,317,308,302,298,345,331,547,933,1106,1122,945,888,1078,995,634,514,497,516,539,959,1272,1312,1160,1120,851,835,1210,1576,1514,1338,1382,1666,1388,1280,2172,1794,1180,858,650,988,1102,644,601,805,1230,1230,790,481,379,491,781,679,473,463,389,273,543,730,529,602,527,452,439,796,1222,1288,1052,1284,1340,669,396,378,393,373,434,441,418,362,415,415,410,422,440,434,378,368,429,451,448,367,300,282,396],[393,507,784,1074,669,525,478,384,301,352,335,250,355,382,279,307,373,334,263,282,399,500,494,485,444,404,421,400,448,432,602,987,958,676,720,927,802,446,356,376,401,421,411,426,450,431,424,445,367,297,296,522,530,372,340,309,312,325,329,311,288,283,286,307,319,309,318,318,333,343,324,317,312,289,259,265,279,273,264,276,237,237,257,266,282,299,316,304,308,309,367,534,1052,1186,1180,1168,744,1176,1300,713,871,984,761,673,805,1378,2708,1772,1086,1018,1378,1404,941,996,1208,1892,1268,1082,1332,1348,1268,1056,1322,1368,1294,1312,1524,1284,985,1016,813,725,1152,1202,1084,1228,1256,1282,1148,954,1116,1356,1074,637,522,464,398,489,544,474,465,426,444,671,842,744,749,708,775,760,728,634,508,766,1096,1362,1168,859,689,667,810,997,998,1334,1400,1176,1254,1338,946,1112,1220,1388,1748,1600,1190,1005,1170,1182,872,673,929,993,982,1230,1284,1084,1132,1030,946,1252,943,379,259,215,223,232,233,249,444,1198,1460,1272,1114,780,619,709,816,959,1152,1202,1424,1588,1592,1700,1534,1284,1310,1178,818,678,677,764,675,727,1230,1534,1366,803,969,1454,1328,925,924,1144,1338,1422,1238,1062,1124,1338,1084,876,955,954,618,507,565,710,1296,1668,1062,680,1300,1612,1112,796,926,953,899,1005,1278,1302,1212,1896,1964,1352,1136,1288,1396,1480,1172,1086,1078,861,694,709,783,1154,1202,1346,1252,935,818,725,664,993,1534,1556,1412,1262,1202,1126,932,991,891,549,540,505,585,1104,1428,1504,1412,1023,747,542,486,368,221,258,257,263,259,334,537,709,899,933,962,877,735,752,593,451,363,315,277,256,263,321,379,509,575,969,1382,1078,1284,833,367,352,536,691,709,789,1222,1772,1416,1114,829,889,1078,977,583,365,406,1068,1386,1180,1156,1240,1286,1042,1017,722,505,547,532,593,1042,1292,1034,1572,1742,1426,1392,1190,686,576,550,645,946,1108,1086,976,1020,1010,1228,1534,1154,959,544,419,422,372,390,502,476,480,551,660,794,1038,999,576,481,534,736,754,667,1056,1174,1248,1350,1204,1172,1478,1422,1254,1128,1114,1112,1032,803,1100,1426,1430,1100,1078,1044,1108,1282,998,813,841,858,1013,912,889,524,561,820,1084,918,955,1160,780,1144,1340,1406,1170,1232,1398,1338,1326,1148,1108,1084,835,779,757,627,660,708,643,561,897,1478,1490,1084,686,451,558,962,1228,1150,1456,1302,1222,1252,1182,1230,1256,1366,1194,1220,1230,1156,985,449,425,507,532,562,581,567,495,463,446,368,412,475,1020,1614,1570,1430,755,854,1410,1542,1706,1394,758,942,1470,1770,1896,1212,1262,1438,1100,899,787,554,654,995,1110,902,998,1286,1064,704,675,883,753,708,1126,1290,589,365,430,530,946,1010,874,1254,1214,1368,1176,1252,1266,1476,1648,1556,1470,1524,1616,1716,1816,1770,1616,1676,1676,1594,1588,1368,1200,1354,1015,788,948,890,836,1104,1140,1328,1332,1328,1044,1350,1440,1430,1394,1396,1312,1230,1282,1414,1534,1322,1382,1340,1312,1262,1334,1544,1544,1530,1542,1538,1430,1308,1160,1224,1248,1214,1220,1248,1294,1300,1316,1290,1172,1082,1058,982,1106,1278,1210,955,750,918,678,767,901,955,1162,1410,1304,1276,997,508,477,501,496,672,1176,1388,1466,1378,1052,642,577,699,1072,1124,951,641,620,955,1356,1594,1566,1482,1448,1284,1260,1196,1134,1134,1184,1248,1186,1156,1058,1019,1260,1446,1422,1138,1054,1286,1398,1306,1366,1562,1588,1350,1312,1286,884,982,1116,1284,1340,910,477,360,361,391,373,377,320,297,339,374,396,396,374,396,390,346,352,346,354,375,357,321,322,357,343,534,568,408,457,403,290,279,256,280,330,318,315,302,296,298,296,422,527,498,399,310,288,304,400,431,441,525,555,459,438,393,330,316,303,301,305,315,326,310,318,461,804,786,515,421,419,455,915,1672,1868,1662,1306,839,582,824,1208,877,683,970,1378,1202,1122,1462,1212,974,1436,1326,1226,998,915,874,1158,1422,1186,1118,1036,918,984,802,638,1182,1188,821,956,1058,968,1224,1118,948,1260,1006,929,1390,1382,1206,1118,1172,1784,1908,1348,1294,1148,997,1164,1054,439,327,321,400,501,734,1138,1136,1048,830,716,844,919,702,724,865,843,1038,1586,1554,1260,1088,1098,1402,1554,1644,1654,1522,1416,1316,1288,1280,1110,912,745,460,390,343,457,825,1132,1086,1144,1092,557,445,509,453,796,988,724,469,343,362,355,319,471,546,530,1110,1530,1572,1182,919,749,630,668,562,752,1482,1426,772,754,1130,1094,766,630,465,800,1206,1176,893,677,671,905,979,874,392,354,310,315,344,321,309,358,371,351,350,337,347,318,328,352,461,696,672,624,483,446,529,427,387,378,367,397,425,382,378,386,386,389,391,393,393,354,307,348,375,388,404,428,614,549,420,417,406,374,380,440,450,473,689,847,1050,1096,952,1084,907,590,431,360,265,256,244,252,282,390,419,421,371,361,317,284,237,264,309,342,370,370,420,487,460,423,573,698,764,902,973,799,905,1052,954,626,612,594,595,625,797,692,851,846,776,644,390,367,325,301,319,421,787,1062,1164,1370,1476,1158,571,416,1036,1446,988,742,739,781,1282,1412,1208,1270,856,976,1220,1356,919,574,614,719,1048,951,929,362,667,857,645,881,1054,651,277,289,345,482,705,1070,1308,1174,950,849,778,1066,1208,1128,1116,996,808,674,372,374,506,533,758,1146,1248,1470,1356,1118,1120,1272,1234,1058,1020,1264,1582,1320,1152,1016,1146,1218,1198,1188,1086,1014,1194,1260,1034,836,726,940,959,1204,1144,977,876,1008,1120,1218,1252,1310,1232,1076,1086,1040,1036,1064,1070,1372,1484,1280,1208,1262,1294,1206,1308,1288,1530,1360,1250,1106,1046,1096,1206,1212,730,436,704,977,886,835,658,711,846,575,571,479,492,592,854,1028,997,968,1014,1262,1246,996,1122,1230,1158,1094,1138,1346,1758,1660,1072,1030,1104,1112,972,948,1096,1730,1976,1482,1356,1346,1080,1158,1166,1046,1368,1650,1800,1566,1488,1418,1700,1450,1378,1368,1322,1230,1326,1586,1904,1996,1504,1538,1344,969,691,507,434,430,604,828,901,962,981,1216,1590,1372,725,496,451,610,1222,998,725,924,999,969,1278,1146,892,1274,1274,1180,1023,1040,730,870,1230,1030,851,963,1021,760,556,687,901,708,1022,695,856,1110,1156,1132,1240,1532,1612,1476,1284,921,798,875,1048,999,1086,1048,1070,1102,1570,1856,1450,1028,1130,1380,768,415,657,725,781,453,556,893,1136,1001,714,860,883,865,846,891,1122,1156,738,1108,985,920,822,604,869,1042,1064,861,494,508,743,1038,913,666,720,688,623,553,455,368,376,517,426,521,1086,1590,1532,999,426,313,330,286,293,290,382,641,961,1704,1840,914,1368,1484,723,439,521,587,644,579,535,580,567,569,597,563,445,561,562,509,481,551,645,619,594,634,671,636,636,697,676,675,612,543,612,658,617,578,510,534,571,579,547,522,540,778,887,767,730,753,805,634,429,412,410,444,534,595,678,703,512,431,419,401,403,542,689,711,713,748,568,442,411,426,398,401,425,497,553,516,509,569,762,919,691,589,560,585,739,831,824,580,389,389,470,493,427,418,505,585,573,478,419,495,564,697,761,694,615,794,993,849,597,455,409,493,561,676,752,1074,1390,1546,1412,998,930,905,517,420,349,329,477,792,723,650,1070,1182,1112,1108,1162,1408,1302,850,1034,1090,900,518,618,699,1021,1290,890,492,522,810,1060,1946,1814,1368,1170,990,770,815,958,1150,1100,816,800,1030,1378,1584,1582,1714,1544,1178,1074,892,1266,1604,1528,1504,1336,1368,1348,1344,1252,685,678,1178,1364,1556,1548,1406,1162,648,701,891,1332,1544,1005,435,378,404,441,441,459,466,368,302,278,289,242,204,235,318,321,353,408,368,352,361,387,318,377,418,502,448,405,377,565,974,902,615,525,683,959,841,513,544,996,1362,1050,744,1078,672,771,874,661,449,512,747,984,1256,1316,910,666,978,1440,1196,528,711,984,1386,2000,1602,1150,1234,852,886,629,618,597,1198,1490,1376,996,1140,1836,1504,965,667,495,371,299,283,342,339,380,396,645,908,1180,1172,973,1158,1432,1404,1218,931,512,437,480,578,1006,969,879,1007,973,971,1118,1462,1534,1300,1120,1428,1388,1202,1818,1752,1294,1018,973,1330,1020,547,633,1190,1126,816,763,886,621,745,1038,680,471,430,455,511,496,519,396,346,350,410,455,530,578,799,1160,1394,793,334,326,355,386,434,466,444,390,365,424,433,397,412,440,422,424,500,487,500,418,330,270,245,293],[408,552,683,1094,811,434,299,216,203,302,373,324,446,572,362,423,516,447,309,310,306,310,408,530,580,625,469,388,581,546,601,773,808,1072,1376,1362,824,375,341,393,409,413,421,461,462,370,376,376,329,327,336,542,473,339,316,293,303,313,312,293,273,271,283,297,319,344,337,318,354,369,358,323,300,289,305,311,294,268,256,278,256,234,257,251,263,317,328,305,299,332,385,477,716,647,1200,1662,1026,1032,1334,1506,1556,1204,1102,1090,1164,1048,1912,1530,1144,1042,1326,1302,1068,1264,1618,1666,1094,1168,1320,1354,1274,1100,819,822,882,1204,1328,800,710,999,997,644,1042,1086,1024,1248,1300,1348,1166,924,1048,1003,757,538,589,678,525,504,480,417,447,597,576,475,519,474,600,655,944,653,617,639,388,540,954,1244,1134,817,732,807,822,1060,1604,1708,1338,980,1204,1188,958,1204,1356,1098,1120,1538,1516,1500,1344,1024,1013,916,989,781,1050,1440,1182,855,880,982,1136,968,376,269,244,232,244,230,241,248,833,1642,1854,1324,1234,1140,980,803,735,1140,1482,1272,1192,959,677,1172,1802,1858,1512,1054,563,560,563,684,666,868,1212,1714,1526,1060,1034,1164,1198,1130,1118,1160,1386,1584,1344,1019,1009,1030,755,935,1204,996,618,520,690,880,1076,971,610,639,1186,1542,1460,906,827,1334,1028,732,1100,1290,1110,1600,1636,1184,1176,1354,1262,1322,1060,1078,1174,918,652,619,855,1122,1054,1286,948,589,746,841,839,1088,1058,736,763,938,965,900,979,1130,775,438,428,484,823,1282,1050,895,954,867,584,458,307,208,212,261,246,239,247,376,600,744,977,889,814,730,545,584,745,717,583,443,329,303,308,309,385,505,633,832,963,943,986,574,311,325,447,694,876,736,1052,1308,1072,1028,683,675,814,941,667,390,583,1296,1394,1136,1162,1334,1262,853,841,663,571,692,609,595,650,630,861,1036,1192,1176,1214,1180,734,629,602,612,629,996,1366,1410,1368,1206,875,866,643,619,561,532,415,347,392,431,402,403,491,626,779,700,680,590,505,699,855,613,792,886,980,1370,1216,876,989,1428,1478,1350,1290,1310,1134,673,793,1324,1428,1128,972,1092,1042,1034,1290,1288,859,802,1028,1216,1024,680,375,336,454,768,913,1036,1372,1064,1248,1274,1246,1394,1454,1580,1556,1378,1306,1100,792,879,1016,963,688,637,723,637,726,915,1284,1246,1144,1116,1068,735,709,933,1112,1496,1660,1548,1282,1005,868,968,1076,913,917,1264,1356,1262,402,301,342,352,431,861,1130,1066,1086,778,463,455,589,1023,1344,1300,1152,853,893,1004,1188,1412,1584,1390,1370,1840,2486,1838,1302,1504,1520,858,792,953,873,624,727,1050,1152,969,1246,1376,1234,930,770,480,455,695,601,318,286,437,536,566,751,1216,1322,1202,1344,1398,1436,1376,1516,1652,1624,1562,1614,1688,1752,1758,1670,1642,1626,1642,1600,1528,1384,1292,1260,927,861,1086,850,779,1042,891,1218,1376,1160,915,1208,1308,1316,1430,1528,1372,1260,1314,1404,1426,1346,1440,1120,1120,1224,1488,1708,1566,1378,1528,1574,1360,1300,1188,1212,1296,1354,1356,1350,1358,1416,1412,1388,1444,1290,1048,913,948,1013,1016,882,932,929,781,724,695,869,1064,1092,1007,1142,670,451,453,525,544,526,734,1086,1318,1300,954,741,755,763,938,832,772,797,952,1214,1378,1546,1534,1376,1316,1214,1350,1274,1184,1128,752,615,984,1192,899,882,1206,1396,1522,1232,991,1324,1282,1274,1354,1352,1320,1224,1086,1216,1130,856,855,1152,1158,690,367,356,381,377,385,421,369,329,368,405,396,380,397,423,405,414,503,399,325,292,298,313,309,311,413,538,364,343,420,374,343,480,377,277,301,300,282,286,295,299,354,459,469,390,343,312,257,289,385,414,536,639,516,448,426,392,327,317,302,282,352,349,316,324,334,340,435,412,365,394,477,1012,1754,1910,1736,1410,995,650,601,582,542,571,686,1102,1380,901,1248,1700,1776,1440,1494,1390,1294,1026,720,819,1456,1406,1134,1224,1112,855,877,740,665,968,1106,969,1044,1344,1300,1218,1274,1240,1218,691,835,2520,1844,1206,1108,1196,1454,1368,1130,916,1092,1146,1072,1238,711,551,442,428,477,664,847,793,809,828,922,1072,1076,781,552,637,711,1002,1310,1202,1230,1206,1460,1780,1416,1422,1660,1510,1428,1286,952,1080,1216,920,506,502,506,354,392,578,926,1122,1310,865,541,617,706,580,506,559,692,698,450,415,386,295,340,405,422,651,1246,1118,660,902,1174,976,728,477,574,1126,1014,789,933,1466,1346,1246,1042,616,605,889,1118,1372,1346,972,774,678,412,295,440,474,362,330,336,335,308,294,321,334,290,282,303,420,442,480,609,679,699,556,419,495,457,389,358,383,389,394,379,395,375,352,389,414,391,397,370,335,312,351,380,385,422,554,594,469,369,404,375,355,382,425,484,583,764,940,908,1256,1332,1052,1080,993,737,344,292,295,300,305,355,423,435,383,362,329,317,345,348,357,405,427,411,427,518,519,587,766,749,780,1258,1212,952,955,918,967,720,977,670,456,760,1130,966,750,734,936,831,517,407,278,331,343,432,786,904,736,977,1180,967,621,739,1502,1722,1500,830,507,863,1460,1324,1226,1258,1152,1268,1268,1232,792,702,933,785,739,546,473,311,475,440,422,789,830,462,284,282,279,473,955,1184,981,900,788,1017,1104,1138,1290,1070,680,705,806,784,467,430,645,747,918,1038,1068,1146,1268,1352,1230,1130,1104,1048,1002,1222,1506,1354,1266,1058,999,1124,1160,1360,1314,1126,1136,1136,1160,1236,866,800,853,902,979,970,949,1038,1114,1172,1098,1306,1380,1010,985,985,977,1032,1250,1432,1428,1300,1076,1116,1120,1076,1432,1304,1786,1384,1186,1118,1104,1190,1256,1134,811,547,477,378,454,444,481,791,1009,742,497,423,430,479,843,1084,1090,1052,1296,1658,1176,1036,1130,1252,1322,1580,1694,1824,2264,2034,1576,1320,1266,1246,1300,1544,1594,1742,1864,1594,1480,1378,1378,1572,1360,1210,1328,1366,1550,1424,1412,1630,1674,1420,1394,1432,1458,1366,1344,1450,1658,1692,1360,1536,1234,1134,900,597,531,779,1314,1590,1482,1268,1284,1438,1464,1504,1120,847,1168,1614,1896,1490,835,775,1162,1028,1182,876,990,1342,1228,1166,1248,1166,781,1012,1466,1252,1013,969,860,813,696,830,1070,919,802,753,949,1210,1346,1180,1252,1516,1658,1590,1316,1134,1176,1106,869,977,1144,1082,1260,1412,1550,1528,1358,859,944,990,553,414,699,1138,1044,522,694,902,887,841,762,875,1132,1464,1418,1512,1262,1132,1304,1534,1448,1542,1172,686,742,1002,868,489,550,698,980,1472,1240,830,733,625,588,579,475,362,464,789,753,1009,1086,875,1052,988,516,350,301,295,299,335,563,632,593,786,987,1078,3194,3698,1532,480,526,476,487,540,604,774,744,656,675,511,424,520,522,502,480,514,564,572,604,594,574,621,614,690,747,715,597,465,519,589,594,598,575,599,581,570,582,584,584,577,699,689,534,648,828,573,393,435,499,598,667,758,783,641,503,467,452,442,426,554,678,661,599,608,487,371,374,482,447,393,417,514,564,513,478,492,545,744,838,759,689,786,744,877,955,630,412,369,384,386,356,368,529,725,805,574,455,548,666,755,822,897,844,860,907,950,735,380,308,405,730,867,586,697,1182,1318,1234,1426,1274,922,605,452,502,657,906,1276,1100,805,997,1238,1096,753,995,1102,1062,810,638,842,909,765,697,767,977,1274,1072,528,441,935,1272,2092,1666,1264,1360,1554,1268,877,833,908,946,1044,1160,1378,1544,1314,1478,1564,1288,1288,997,1058,1510,1392,1506,1354,951,1074,1210,1498,1292,1056,1180,1282,1318,1338,1288,1188,858,634,634,698,1160,1256,762,380,368,317,365,423,474,514,474,411,295,321,250,229,264,321,394,415,375,377,336,265,258,276,345,389,480,465,425,428,497,826,918,865,738,838,1372,1710,1066,804,1498,1408,675,483,473,434,626,764,545,470,623,421,662,1188,1286,926,694,883,1548,1010,502,834,1188,1566,1570,1126,1200,1216,963,933,701,670,1026,1468,1246,1160,789,1126,1586,1140,949,864,551,415,396,339,376,383,426,530,911,1428,1716,1696,1304,1056,889,1360,1558,1628,802,477,516,451,662,1036,1356,1282,1446,1620,1318,1468,1514,1172,866,1122,1110,927,1374,1682,1544,1256,1154,1360,1015,658,1184,1490,1062,720,753,1052,883,747,677,550,868,630,611,1040,761,524,401,391,570,579,472,490,516,545,569,567,316,314,377,413,365,399,403,398,414,399,416,468,447,404,404,433,532,525,433,503,481,322,239,279,272],[412,501,636,946,734,430,382,328,302,419,424,230,319,562,370,418,570,714,473,324,305,361,517,564,520,404,371,441,607,428,320,526,808,1130,1208,832,393,308,368,401,408,405,398,447,404,338,343,331,322,274,355,459,372,325,341,292,312,309,296,277,263,261,267,296,337,362,372,343,367,374,338,305,295,294,322,305,271,262,261,291,289,257,269,263,289,431,452,353,298,317,369,565,797,941,1282,1674,1668,1544,1636,1656,1288,1012,954,1240,960,728,1074,1338,1056,1007,909,1216,1302,817,1250,787,855,1006,1378,1416,1154,902,991,1056,719,1114,948,714,650,908,871,498,695,741,848,1020,1102,1192,1050,1190,1166,869,767,759,566,562,577,477,417,416,430,581,598,556,624,427,416,390,462,407,671,619,357,381,500,676,792,761,639,600,760,967,1522,1232,930,966,951,809,861,962,1013,908,905,1388,942,1002,1132,1464,1656,1520,1256,912,1076,1242,1094,881,918,1230,1194,624,318,285,259,253,257,243,268,584,1034,1766,2740,1356,1334,1130,866,702,877,1218,1346,1024,655,504,463,521,894,1290,1798,1546,837,509,442,623,580,868,1124,1116,1150,1058,772,938,1364,1532,1372,1418,1494,1404,1328,914,788,672,523,880,1170,1176,755,736,894,793,903,1176,897,672,1126,1670,1548,814,856,1242,957,644,841,1009,1230,1090,999,976,1276,1224,1015,1192,1020,1286,1304,1084,677,578,884,1028,1272,1350,765,386,565,766,933,1164,1084,646,774,1050,1152,1144,1072,1088,1078,868,611,644,1208,1814,993,678,660,663,537,313,219,220,252,274,239,255,323,502,730,680,654,898,732,471,453,681,818,636,556,422,331,290,303,314,388,412,585,569,636,803,817,559,314,347,491,940,995,547,692,739,1036,1009,564,429,644,661,565,499,563,916,948,1270,1526,1108,1302,1048,669,579,607,652,694,911,850,550,505,600,1086,917,919,865,713,628,560,564,552,673,830,962,1002,1542,822,647,767,715,518,497,440,372,359,358,354,394,446,590,548,473,751,742,692,1010,982,789,941,678,496,504,514,531,710,1164,1334,1178,1076,1270,1262,854,877,1260,1582,1434,1044,1040,960,1156,1178,1228,871,603,525,632,727,637,332,334,348,475,875,1320,1194,1007,1104,1034,1132,1290,1396,1556,1588,1476,1270,948,1052,988,1026,1028,1026,938,731,636,922,1382,1316,834,737,1158,1340,736,567,933,1038,1174,1378,1426,1146,909,816,728,805,656,827,1098,1282,1826,677,322,376,389,468,902,1228,1318,1572,915,777,969,948,1058,864,757,1136,1282,1208,1302,1260,1142,1466,1624,1550,1854,2292,1156,1294,1526,1324,822,1005,1350,1188,949,1003,1116,1244,894,1022,1354,1218,1192,667,383,364,323,286,285,338,531,610,412,569,997,1644,1642,1476,1306,1324,1580,1566,1624,1694,1622,1674,1748,1770,1686,1538,1572,1556,1510,1504,1350,1184,1238,1286,1120,972,845,755,1058,1018,750,843,1032,1250,1152,1058,1318,1542,1600,1708,1626,1730,1636,1446,1382,1460,1476,1180,934,1015,1530,1718,1468,1354,1456,1450,1272,1344,1332,1274,1500,1622,1518,1432,1378,1434,1560,1616,1606,1428,1212,1013,955,957,957,819,869,1003,964,954,1120,955,1098,1232,1090,705,440,462,486,499,484,431,456,547,711,925,785,666,605,980,1170,874,545,544,784,1058,1164,1466,1594,1302,1234,1164,1278,1282,1324,1202,702,684,980,1210,907,910,1100,1306,1864,1776,1306,1298,1206,1316,1356,1266,1434,1328,1102,1304,1208,633,623,700,707,500,397,386,341,332,364,420,436,408,416,448,501,556,497,451,433,416,469,414,331,335,345,318,319,395,639,517,324,296,313,377,566,586,383,290,296,282,278,287,278,295,372,426,379,330,438,380,290,356,448,496,657,579,394,419,406,392,364,348,328,304,365,359,330,406,459,378,320,344,391,511,1056,1752,1836,1622,1428,1072,811,625,594,557,513,524,957,1318,1208,1021,1296,1100,1424,1452,1214,1188,1310,1098,594,539,919,1102,1116,1222,869,996,1094,956,904,950,1044,1019,1086,1422,1188,1146,1378,1188,1130,823,767,1604,1306,1130,1180,1404,1402,1488,1268,882,933,1130,1018,1150,977,911,936,735,552,669,668,457,528,603,680,849,1160,949,668,606,543,1026,1120,773,915,1110,1182,1256,1192,1328,1530,1534,1422,1364,1208,1282,1384,850,533,760,765,424,382,509,1112,1422,1494,970,733,877,1106,923,713,796,985,964,569,509,501,442,395,436,428,392,739,836,604,1002,1506,1158,838,546,450,478,687,642,904,1466,1678,1844,1692,1124,562,525,915,1308,1460,1460,1104,562,389,287,421,584,466,332,369,338,284,294,297,325,288,248,331,482,566,549,521,687,805,702,514,424,479,487,409,383,378,381,408,404,369,380,403,409,401,385,380,371,335,356,388,354,371,487,623,573,350,358,356,393,386,435,454,503,879,863,876,1454,1394,971,1262,1224,835,570,388,342,331,319,355,393,388,413,459,441,375,379,383,459,615,620,489,405,500,570,677,965,774,753,1270,979,882,657,910,1396,1250,1142,943,803,886,1082,1116,1030,740,664,541,484,342,375,554,520,678,599,478,680,1072,1194,893,769,867,1656,1880,1714,1023,934,1017,1318,1426,1282,1174,1148,737,839,1418,1266,1318,1130,666,404,404,398,390,458,385,683,892,414,274,340,325,336,345,852,1202,1074,716,586,973,1292,1162,954,624,475,625,681,661,504,534,645,837,1028,1010,972,836,874,1158,1190,1022,1114,919,1011,1094,1260,1194,1396,1238,984,1007,887,1338,1350,1238,1016,1144,1486,1064,694,744,825,1050,1216,908,937,1282,1264,1146,985,1108,1280,1078,1054,1060,808,913,1208,1338,1382,1276,1019,1294,1378,1138,1210,1066,1358,1274,1146,1146,1204,1104,1122,1166,962,676,528,411,398,454,691,578,397,508,472,455,498,498,719,963,1060,930,1192,1186,1015,1204,1150,1088,1208,1570,1878,1782,1588,1504,1472,1302,1422,1454,1452,1438,1418,1512,1676,1782,1596,1274,1410,1650,1596,1522,1340,1218,1118,1166,1400,1678,1720,1506,1396,1356,1520,1596,1538,1584,1476,1550,1556,1500,1332,1300,1130,736,584,874,1244,1522,1460,1358,1368,1402,1130,1352,1520,1498,1526,1596,1800,1642,1194,1098,1316,1376,1330,902,1048,1200,1198,1246,1350,1408,1252,1372,1234,1040,901,847,1058,1234,1172,1232,1280,1302,1250,1238,1180,991,896,823,1040,1266,1582,1656,1312,1176,1196,1210,828,724,914,835,883,933,957,1170,901,774,885,906,876,636,901,1228,772,738,1410,1396,1162,1102,1084,1112,1108,1172,1396,1384,1254,1376,1578,1364,1324,1358,808,830,1019,1074,1368,807,615,623,724,974,758,771,921,789,959,1454,756,470,607,800,689,792,683,430,681,625,422,379,327,270,321,528,799,525,341,306,447,646,1952,2104,918,506,438,361,419,578,690,836,735,517,514,425,418,548,574,523,533,520,509,523,611,596,580,645,574,593,673,670,623,616,597,616,639,633,617,512,401,537,590,553,623,665,684,671,557,508,610,402,403,557,767,781,833,894,953,760,543,448,398,401,419,531,596,556,459,430,366,363,444,490,415,386,462,630,670,620,553,548,783,1044,1184,1114,884,736,656,811,815,467,438,407,378,379,394,417,511,602,607,475,458,547,663,762,738,738,892,1152,1034,1114,709,397,365,370,627,703,512,865,1450,1308,1200,1124,1264,1318,1222,951,857,830,1016,1106,698,554,744,910,712,483,743,815,733,754,679,678,702,774,1048,1150,1158,1412,967,523,634,1076,1270,1218,1136,1208,1418,1488,1012,601,689,800,755,717,856,1098,1328,1136,1007,851,908,1086,812,918,1086,885,1072,751,743,658,870,1472,1536,1322,1202,1138,891,632,905,913,655,763,674,895,1148,1138,823,563,469,408,349,337,351,427,565,525,326,327,297,254,335,361,345,346,308,345,439,363,300,280,325,271,322,422,451,455,528,592,797,1034,1022,1116,2142,2386,1426,1044,1120,785,517,426,451,525,521,550,431,631,922,515,777,877,580,690,706,881,1018,666,759,1050,1378,1462,1011,863,1214,1044,957,661,650,1004,1220,969,902,1094,1136,1438,1362,757,702,915,1028,949,605,402,466,478,465,693,1194,1446,1534,1804,1476,1330,1136,1190,1378,1040,477,621,657,415,678,1386,1490,1084,1114,1654,1618,1560,1440,1120,822,1056,1110,872,1052,1244,1484,1170,1094,1666,1208,634,1023,1148,943,577,469,577,636,680,754,1066,860,752,866,1108,884,554,402,724,1028,695,643,663,484,517,388,324,341,293,418,554,497,433,401,371,404,376,350,391,446,454,407,473,543,434,356,413,406,281,235,261,255],[461,436,459,422,338,386,397,357,415,535,453,177,195,353,313,359,431,565,597,523,554,736,702,409,395,651,1190,820,555,437,344,413,457,486,579,514,368,385,453,466,458,433,384,393,318,307,307,294,297,297,354,363,342,339,355,311,316,305,296,284,267,261,262,276,298,324,366,362,371,372,317,291,299,277,290,300,285,272,268,269,250,257,285,337,374,435,398,300,286,293,427,736,866,1026,1294,1482,1732,1336,1282,1190,966,853,799,1001,967,832,926,1160,872,633,1026,1772,1208,938,1096,732,750,954,1072,1062,896,914,1036,756,597,877,962,1094,1106,1110,697,414,650,902,932,1042,1016,1240,1106,1170,1232,1100,804,724,582,428,384,355,390,428,364,422,611,842,805,501,414,496,601,564,691,675,408,393,438,389,427,532,696,711,716,949,1116,1074,1038,1116,1062,638,651,721,1110,1256,1118,1272,1176,1013,885,1638,1998,1426,741,789,1104,1172,1328,1206,1252,1266,1090,531,279,252,256,285,272,274,346,693,1094,1650,2184,1544,1688,1338,1114,755,725,1015,1248,1000,418,276,318,494,602,523,1158,1732,1690,1268,848,792,967,1204,1148,1074,1254,1023,558,624,1290,1466,1280,1460,1554,1434,1148,806,728,766,753,865,813,855,513,646,799,820,970,1194,948,511,464,678,837,951,1152,1124,1060,911,1134,1042,1170,1046,1024,1340,1340,1168,1108,1194,1004,1120,1168,1060,667,586,819,1168,1488,1130,576,440,527,879,1001,991,1078,922,1206,1370,1354,1292,1002,867,995,927,1034,1328,1932,2104,1104,747,714,659,368,192,204,233,261,267,250,275,372,593,759,633,558,795,661,450,442,594,681,708,561,390,408,586,543,512,694,709,493,399,403,450,445,287,339,453,487,721,760,550,580,510,647,744,552,439,457,426,498,535,402,598,1126,1234,1304,1198,1190,1019,1138,1082,658,649,610,814,744,483,529,770,1022,1168,1242,1028,965,907,730,502,545,501,538,648,738,1562,953,778,915,695,474,433,449,466,364,356,415,485,477,506,510,524,521,554,770,880,716,869,739,454,391,363,410,480,608,957,1222,1334,1274,1582,1650,1172,1188,1484,1324,1064,1005,1224,941,947,1192,1092,1024,951,835,542,536,847,484,375,312,364,520,720,774,789,840,952,1078,1246,1340,1214,1040,1412,1426,1130,1090,1018,891,935,1182,1278,988,606,757,928,1080,1110,857,1154,1068,703,691,958,888,1078,1334,1178,1090,1044,909,1005,1126,936,1019,722,772,926,599,525,626,982,1128,1004,1178,1184,1442,819,764,1498,1556,1078,576,509,1046,1578,1542,1388,1284,1086,1136,1456,1664,1800,1920,1566,1436,1390,1174,1044,1224,1268,1022,987,1088,1036,989,836,1052,1598,1510,1102,613,444,430,626,588,326,406,610,548,424,739,1268,1784,1422,1280,1382,1548,1632,1542,1630,1576,1526,1640,1762,1758,1700,1616,1550,1562,1588,1510,1244,1048,1066,1328,1382,1424,1100,861,1050,1054,858,739,1076,1452,1296,1050,1172,1500,1626,1538,1516,1504,1282,1340,1374,1366,1372,1366,1190,1036,1488,1756,1730,1710,1514,1484,1468,1384,1346,1398,1522,1586,1574,1500,1384,1394,1590,1662,1588,1532,1550,1318,1068,966,883,733,714,821,814,646,689,458,701,1262,1158,639,495,473,479,512,464,408,442,458,448,473,575,698,661,1138,1422,1060,869,938,761,700,914,1422,1542,1174,980,789,984,1072,1272,1174,712,675,1082,1214,1230,1068,796,1252,1518,1428,1308,1592,1738,1304,824,983,1364,1428,1328,1438,1132,634,498,474,517,489,437,372,342,361,330,379,482,482,473,554,723,713,669,562,456,404,379,327,337,473,491,357,343,434,547,349,293,283,328,549,645,452,299,285,304,316,306,281,288,341,421,405,326,273,371,365,344,455,523,594,594,396,336,422,493,463,395,398,419,356,319,340,393,560,656,412,343,368,497,1028,1760,1892,1654,1342,854,691,983,1296,1074,887,723,716,1336,1236,1242,1366,1214,769,624,759,1021,1424,1388,948,480,415,788,1238,1174,1286,1126,1236,1478,1416,1162,1162,865,964,1066,1096,1232,1009,1256,1276,1066,812,968,1034,1202,1274,1250,1454,1394,1384,1314,990,891,929,808,864,978,881,760,751,659,727,940,640,682,603,559,1040,1344,1212,1114,1058,921,999,901,865,1018,1136,1086,890,1009,919,1240,1552,1554,1442,1256,1316,1520,1136,632,452,503,625,484,661,1168,1306,1354,1126,813,910,1080,764,715,1072,1044,1172,709,413,613,973,943,590,484,697,1122,1196,995,1170,1054,894,690,532,486,534,636,670,987,1346,1584,1522,1200,1256,968,785,1028,1210,1206,1636,1210,521,392,313,335,355,374,369,431,353,294,329,350,344,317,372,408,351,376,406,519,715,747,743,675,457,422,492,421,350,367,390,415,416,373,395,402,371,346,344,401,400,376,376,374,362,329,407,570,661,426,403,380,410,554,597,502,589,681,573,720,933,936,740,894,879,624,611,508,413,372,353,340,347,351,427,505,553,500,453,474,644,700,700,746,885,937,642,698,980,702,673,1012,914,843,593,697,786,726,696,703,692,881,1001,1200,1228,663,564,499,504,401,370,572,624,825,756,612,963,1052,967,820,762,735,1400,1456,1466,1204,968,793,986,1180,1002,944,1166,970,1018,1478,965,1038,999,775,648,519,405,422,501,415,407,477,495,383,384,391,375,276,587,736,573,448,473,1066,1972,1230,558,346,394,693,764,583,480,678,744,828,891,1060,1138,1064,1200,1282,1316,1260,1182,695,673,1204,1278,990,1156,1356,1104,1048,1072,1444,1246,1284,1634,1384,1158,1040,904,791,802,1182,1320,1098,1026,1096,1054,1002,822,1122,1530,1218,1090,1204,1072,872,967,1222,1366,1274,1180,1516,1372,1176,1036,863,1040,1184,1166,1224,1180,1036,1192,1180,926,727,621,468,459,566,786,554,315,407,415,318,340,375,431,569,679,708,785,775,991,1230,1002,788,959,1144,1350,1244,1118,1304,1272,1472,1692,1792,1594,1260,1252,1356,1602,1758,1644,1372,1334,1294,1172,1254,1288,1136,1106,1378,1554,1676,1496,1026,1172,1320,1842,1634,1566,1736,1692,1628,1268,1096,1314,1416,1324,957,633,736,908,995,1178,1250,1224,1480,1664,1742,1776,1758,1610,1592,1328,1260,1074,1166,1380,1338,1194,1018,957,759,944,1200,1114,1388,1394,1344,973,774,708,800,1136,1268,1126,1194,1364,1234,1346,1450,1222,881,1066,1178,1108,1100,1580,1682,1440,1292,1132,1062,838,488,624,1048,954,910,698,816,799,745,542,844,1142,938,784,676,570,832,1330,1148,1184,1212,1186,1136,850,954,1248,1044,993,1438,1614,960,896,1022,699,686,1196,937,1022,1126,1234,882,610,685,389,574,910,960,1130,1874,1184,684,1004,1340,1004,738,561,490,459,415,396,396,321,342,562,621,634,471,422,451,430,368,587,655,464,415,373,453,611,653,644,651,625,469,396,433,481,571,589,532,522,503,504,547,605,579,584,597,598,591,620,600,565,579,578,645,658,647,642,473,387,568,686,659,698,733,637,609,707,732,507,413,560,635,611,741,890,957,874,644,569,464,377,382,372,478,580,507,458,423,385,378,398,436,396,418,514,651,683,642,611,555,865,1144,1250,1378,1256,991,803,738,557,474,416,457,423,423,445,576,633,491,385,390,492,527,506,594,651,575,613,950,1182,902,469,383,384,385,385,397,549,1018,1518,1332,1274,1054,816,959,1242,1194,870,669,745,819,547,505,872,1042,814,772,601,499,699,858,755,645,552,513,942,1320,1250,1028,792,724,961,1252,1400,1244,1228,1370,1472,1328,1034,465,525,882,886,819,658,821,1162,991,871,1090,1192,1068,1312,1220,1408,1214,1030,725,735,719,608,896,1324,1144,919,843,718,636,1056,1007,692,657,527,508,615,799,766,696,992,1028,875,680,725,546,418,343,269,293,299,297,359,403,365,332,339,349,503,573,328,262,261,194,276,428,457,444,508,572,588,664,1078,1108,1456,1460,1400,1422,1116,642,451,434,747,900,534,403,339,550,526,567,900,974,875,656,631,917,913,872,1200,1334,1598,1328,1162,1116,911,620,544,556,1012,1230,771,745,827,977,1166,1086,863,517,534,750,1278,1594,1268,727,531,571,512,890,1324,1372,1288,1278,1104,1136,1064,1015,979,530,521,940,933,620,1116,1534,1264,1096,835,1300,1378,1438,1528,1180,927,1236,1316,1150,1250,932,1044,939,793,749,723,973,1272,1232,807,545,846,739,897,1170,1262,1398,899,720,774,917,736,456,532,1044,961,690,800,809,629,491,360,342,344,319,465,647,608,626,618,508,403,433,414,402,486,435,434,474,453,365,372,411,311,220,185,237,251],[625,563,570,525,461,394,328,425,672,922,710,310,242,402,513,487,502,610,738,555,421,343,315,311,355,642,847,618,465,430,363,354,311,289,360,314,341,453,474,463,455,415,399,339,290,307,303,285,261,286,363,338,319,328,333,337,321,293,291,282,273,267,267,271,286,314,346,379,384,390,340,308,331,352,321,301,292,280,272,257,284,335,323,414,505,467,365,281,293,315,434,982,1218,958,1770,1574,1810,1638,1360,999,745,760,638,895,1206,924,1182,1168,995,650,822,1204,792,822,900,558,618,894,794,908,1018,1188,917,683,1028,916,1056,1132,1092,1082,817,828,1084,1208,837,903,1316,1522,1076,1010,1326,1414,1112,839,669,565,427,467,556,520,463,462,791,997,824,538,427,630,859,750,575,569,428,403,422,415,489,601,567,748,1100,1228,1134,982,761,749,846,664,559,534,739,859,925,1052,1084,1046,960,1196,1462,1114,861,1064,1334,1001,1168,1434,1372,1058,655,270,256,246,245,250,273,302,475,1036,1160,1002,1150,1488,1406,1484,1562,1324,1180,916,1060,921,379,287,540,901,868,505,750,1186,1666,1860,1686,1444,1622,1544,1304,1174,1162,1062,721,735,1184,1274,1196,1362,1454,1396,1118,834,741,904,750,949,1142,998,755,762,836,916,956,884,648,478,387,401,644,1042,1008,947,814,1068,1386,1508,1538,1136,1078,1102,1362,1260,931,851,1007,991,901,955,902,980,1164,1482,1480,885,700,625,805,1074,1224,1050,1034,970,1080,1196,1450,1498,981,756,632,750,1146,1280,1516,1316,1062,799,894,783,304,201,218,235,243,238,247,299,449,566,637,547,458,559,652,528,445,466,611,646,479,399,453,789,752,629,989,872,472,379,333,353,317,241,313,462,429,521,544,552,539,508,699,717,505,452,421,323,288,415,301,634,1210,898,623,1028,1254,1202,1272,1136,712,595,566,630,502,429,798,864,830,1070,1017,900,1206,1222,904,688,667,628,656,794,914,936,818,839,628,451,469,579,527,488,452,486,432,484,460,479,489,426,443,458,583,713,889,683,404,359,426,443,694,1010,1188,1272,1448,1510,1246,1136,962,1036,1262,1398,1422,1344,1202,1410,1154,741,564,918,1506,1344,1268,811,487,480,533,425,354,406,405,498,549,603,785,937,907,1264,1406,1296,1082,959,1264,1398,1444,1346,1100,1170,1378,1206,974,844,761,636,968,1290,1296,1222,1072,785,653,775,865,1318,1526,1208,1178,1120,1080,1292,1312,1230,897,660,688,520,416,590,1036,1328,998,622,777,1074,1122,843,997,1548,1418,802,498,677,1196,1448,1296,1334,1440,1268,1178,1076,1050,1212,1610,1566,1334,1436,1384,1024,843,1168,827,739,879,1152,1072,1226,1516,1466,1356,943,675,583,465,946,849,431,380,446,689,564,703,1322,1354,905,980,1318,1384,1378,1368,1326,1376,1356,1540,1726,1690,1614,1560,1572,1656,1624,1434,1252,1150,1192,1210,1512,1522,1364,1156,1096,1198,1004,880,1378,1552,1332,1316,1378,1440,1512,1444,1452,1250,1190,1410,1342,1346,1498,1594,1338,1214,1426,1650,1744,1604,1388,1446,1456,1268,1348,1666,1710,1628,1574,1586,1532,1556,1656,1590,1554,1550,1582,1392,1168,1074,872,741,673,618,727,499,368,310,310,560,549,465,449,482,491,542,466,456,490,449,418,434,538,595,807,1116,1268,1152,1028,1001,788,686,974,1456,1366,1122,1254,1082,1050,882,952,1042,872,872,955,784,868,882,1023,814,934,1294,1510,2070,2048,1388,1064,1072,1346,1372,1236,1476,1032,823,552,432,453,461,433,380,410,401,357,399,474,410,451,556,608,541,561,544,451,409,376,354,490,616,439,336,375,398,361,316,274,299,474,692,594,343,271,294,310,294,310,305,286,351,365,339,357,309,285,310,354,465,609,623,454,359,315,368,369,363,349,352,356,339,351,359,420,619,641,385,390,520,1094,1738,1814,1644,1290,713,511,767,1106,1522,1238,1092,1208,1362,1376,1272,1186,971,694,362,526,1046,1144,1274,1318,819,659,703,1096,1268,1244,1282,1280,1404,1780,1644,1542,1392,751,792,1018,963,1094,977,1138,1106,995,855,1232,1852,1562,1246,1306,1360,1200,1366,1256,740,738,938,1042,868,784,893,762,587,727,823,1214,796,680,554,528,686,849,1012,1302,1636,1398,813,537,694,1038,1184,1126,1007,1050,1254,1310,1482,1648,1500,1372,1144,1434,1398,978,722,642,696,530,896,1346,1248,1013,1038,866,755,691,702,702,958,876,849,666,629,782,1228,1424,1150,895,1042,1222,1366,1302,1015,620,866,792,534,512,749,904,850,918,1164,1380,1284,1144,1170,1290,1304,1238,869,982,1388,1042,561,353,315,321,308,305,412,466,385,378,364,323,327,367,378,427,340,368,426,511,692,746,767,747,591,465,403,392,372,368,399,427,432,398,414,396,369,351,375,401,408,442,433,380,363,338,397,516,677,552,448,422,428,530,506,510,701,536,359,554,716,723,675,671,851,815,752,707,517,417,473,400,405,479,535,547,505,543,438,519,819,855,973,1430,1854,1594,814,556,624,511,533,536,728,809,654,498,477,498,533,514,629,1116,1268,1902,1570,735,553,529,508,454,483,575,595,807,903,869,1598,1080,870,836,843,670,997,1190,1124,1098,1160,1138,1472,1276,885,1062,1152,1236,1200,1394,708,909,983,1122,1338,871,486,525,456,462,437,566,777,518,320,407,356,268,376,476,569,718,644,700,924,535,394,371,397,654,718,691,842,770,651,765,821,1138,1234,1224,1530,1418,1446,1406,1224,861,676,921,1230,1140,1110,1346,1212,1116,1350,1434,1168,1442,1826,1318,1078,1280,1274,880,985,1060,926,962,1015,1134,1086,766,735,1102,1220,898,859,1064,1062,1400,1520,1542,1532,1424,1522,1516,1344,1090,814,742,746,957,1488,1206,877,755,940,1110,1074,905,643,559,711,625,587,401,305,341,350,271,296,394,459,492,480,520,727,809,955,1114,1066,777,1007,1012,1086,1132,1278,1338,1134,1246,1528,1652,1320,1174,1152,1212,1482,1698,1742,1482,1034,779,927,1196,1282,1180,1226,1430,1626,1772,1390,800,1136,1252,1580,1218,1278,1772,1802,1402,1220,1318,1464,1432,1242,1096,764,662,846,1248,1744,1668,1470,1670,1656,1498,1740,1886,1654,1346,1196,1220,1170,1014,1072,1220,1176,1256,1196,701,658,969,1332,1434,1272,851,875,778,561,645,916,1132,1122,1160,1338,1220,1286,1334,1240,910,957,1074,1168,1218,1542,1672,1428,1124,1086,1046,880,473,463,649,518,689,592,424,669,823,732,820,1070,917,528,398,479,810,1054,733,897,999,1132,915,542,907,1208,809,928,1556,1480,1058,1172,1021,766,722,954,676,543,1206,1876,1416,1015,1140,467,373,684,758,807,910,796,703,962,1180,1013,764,341,338,250,302,404,432,580,728,611,451,368,457,920,925,383,501,908,1154,633,461,422,441,594,585,450,412,441,418,460,530,580,610,576,555,498,488,506,552,596,582,583,626,602,566,534,512,550,508,583,636,605,559,606,588,563,682,771,711,758,883,833,657,583,687,522,505,579,514,474,526,599,700,678,462,483,451,388,404,403,568,723,680,554,412,398,404,399,476,467,443,398,493,569,527,477,421,651,949,1320,1622,1486,1416,1394,972,608,535,508,433,392,402,451,626,740,668,458,469,522,502,510,692,584,581,602,618,697,666,454,390,401,318,282,376,775,1078,1128,881,690,566,561,849,1128,935,1102,1078,893,638,503,815,1122,950,985,1022,633,402,526,811,774,645,585,490,1122,1512,1438,1122,1252,1180,935,1366,1644,1472,1404,1592,1438,1124,703,430,525,797,1086,1112,892,908,841,696,935,1744,1852,1592,1276,1116,1260,1094,800,562,592,803,828,900,1282,1052,821,839,891,802,778,766,874,746,546,578,510,484,729,1014,1040,1162,1628,1010,745,495,423,373,273,264,313,352,332,343,326,358,335,324,412,432,313,274,254,240,312,410,432,434,456,511,493,446,742,848,751,1054,1444,1560,1572,865,578,511,1052,927,498,385,314,321,325,655,775,949,1196,816,711,695,686,1064,1448,1356,1132,987,1298,1288,728,494,452,617,1026,983,653,613,587,699,752,981,846,622,523,560,687,1158,1718,1270,571,454,766,1042,1118,1222,1048,905,832,742,538,544,666,634,686,883,634,491,725,877,1340,1532,1220,1190,1448,1628,1282,1232,1184,1238,1476,1330,932,637,744,1050,942,689,783,1288,1812,1378,1030,911,951,791,1294,1356,1186,967,649,387,508,673,550,720,1050,1178,716,618,563,576,963,637,342,364,371,389,561,699,609,712,762,519,457,529,502,457,473,509,492,420,409,390,424,361,246,238,232,266,259],[691,650,591,509,444,394,420,465,487,971,752,427,543,931,999,664,602,653,623,390,307,228,401,338,328,426,393,347,372,380,336,300,320,289,304,346,432,468,461,437,376,378,372,325,325,351,297,277,285,407,356,319,322,327,324,342,356,322,303,286,285,283,279,276,289,295,300,312,355,430,438,414,457,566,415,329,301,271,251,256,333,409,345,351,420,370,333,329,334,341,475,963,1200,1070,1142,884,1744,1872,1098,611,656,776,806,1122,775,901,1268,1178,847,809,722,891,949,593,419,374,456,575,852,1086,1074,934,886,1074,1364,1220,1108,1007,1098,1080,931,984,1038,861,900,1244,1538,1714,1644,1506,1324,1386,1280,1050,910,669,547,635,833,784,655,721,797,634,507,400,366,531,893,748,399,358,338,377,444,532,678,662,493,661,1008,1132,1088,1036,1070,695,850,718,554,626,778,835,862,850,988,1072,890,1172,1166,811,811,1274,1296,905,921,1234,1294,1110,726,262,287,240,258,263,255,319,702,1064,983,946,1204,1474,1334,1268,1472,1542,1376,1130,854,635,410,300,687,904,602,416,814,1374,1404,1444,1584,1814,1764,1584,1498,1288,889,860,1064,1316,1362,1274,1278,1374,1310,1248,1232,918,884,633,691,1174,1010,536,742,1118,1232,1340,1316,968,759,567,371,558,917,901,1068,1028,687,990,1292,1432,1400,1320,1910,1372,1306,1334,1088,754,760,745,703,870,1282,1520,1462,1440,1372,986,1026,1104,1066,1232,1110,1188,1366,1120,983,1120,1272,1184,807,603,835,1005,966,1138,976,919,992,938,933,562,264,229,272,253,229,233,286,393,529,526,477,597,689,645,623,468,432,468,926,913,595,454,430,752,940,1032,1282,771,446,380,365,386,362,309,403,544,510,497,455,471,414,530,829,749,499,526,487,368,282,354,280,523,1036,1032,752,1050,1072,1056,805,816,762,594,514,681,516,430,529,502,581,682,706,922,1202,1282,1052,1128,1066,1007,1076,1230,1019,726,857,882,610,563,465,536,597,533,475,441,401,463,493,479,422,405,454,451,583,758,816,551,426,345,383,724,1196,1418,1416,1270,1434,1332,1402,1586,1226,1200,1290,1236,1240,1236,1194,1096,875,892,526,533,885,946,663,504,332,330,390,495,643,546,384,438,630,616,612,886,1066,1216,1088,782,903,1080,922,1040,1368,1430,1434,1524,1374,1094,899,1140,778,613,922,1170,1320,1332,1184,816,738,691,877,1144,1062,1136,1086,1350,1242,1009,1068,1196,1058,1116,1346,1426,975,931,1256,1296,670,933,993,1232,1136,908,1082,1164,1054,857,714,980,1262,1152,885,998,1104,1146,1078,1162,946,800,1222,1544,1458,1406,1428,969,1194,1346,1172,959,1028,1224,1092,1372,1652,1390,858,650,918,621,477,1096,787,497,447,535,775,685,658,774,818,789,882,1386,1302,1130,1078,927,1036,1146,1354,1584,1576,1520,1542,1614,1648,1454,1346,1038,1106,1092,1046,1290,1392,1290,1166,1198,1274,949,1072,1314,1392,1392,1494,1554,1482,1374,1436,1570,1332,1178,1228,1314,1516,1522,1562,1218,1420,1562,1668,1644,1426,1276,1324,1450,1410,1632,1718,1666,1678,1694,1650,1662,1710,1646,1572,1534,1544,1490,1278,1208,1194,865,728,734,707,654,420,283,260,308,360,412,377,363,417,415,402,410,487,506,487,452,448,499,512,552,705,891,1090,1200,1126,977,866,1194,1672,1324,1124,1262,1320,1242,1170,1268,1226,961,879,674,739,798,769,789,796,1062,1226,1362,1512,1386,1412,1286,974,1476,1480,1162,1218,1054,882,624,534,557,530,458,415,459,460,444,479,508,447,465,498,531,524,455,401,386,389,379,387,562,525,342,347,438,343,325,324,300,360,569,586,375,283,301,290,283,278,318,327,274,303,365,400,398,316,278,343,398,490,523,469,426,369,345,356,344,349,332,319,329,328,336,369,363,404,436,409,529,1156,1782,1778,1536,1180,669,576,759,1140,1370,1566,1326,1214,1512,1420,1186,1192,966,723,701,415,532,960,999,1404,1206,634,673,744,938,1040,1140,1178,1208,1454,1360,959,988,1046,874,788,946,917,969,995,951,998,885,919,1212,1660,1418,1226,1282,1408,1200,1290,985,519,656,1180,1322,880,632,1086,1078,740,807,789,1068,678,417,454,485,469,753,1238,1644,1808,1652,644,835,813,946,1304,1418,1122,1144,1364,1346,1558,1676,1624,1522,1322,1468,1404,1256,1028,802,541,571,835,886,701,590,1080,1174,1126,975,919,1052,1036,691,404,616,1080,1292,1304,1428,1098,993,1024,794,1028,1222,1194,846,841,1152,950,589,756,918,673,822,1348,1276,1248,1250,1162,1300,1270,1146,971,897,933,718,422,357,343,311,260,317,375,412,422,372,364,388,351,311,334,420,382,430,412,416,653,751,750,772,715,589,430,435,490,472,479,438,405,412,413,376,354,362,380,382,407,500,486,405,350,326,410,492,611,653,537,426,442,419,451,720,975,655,491,532,534,583,723,728,787,971,1046,880,601,492,443,399,467,461,376,376,360,433,385,580,1140,1724,1952,2084,1884,1542,861,780,1260,980,969,931,810,771,612,529,762,959,1007,908,815,1066,1340,1654,1346,912,722,717,728,713,656,667,736,802,1082,1572,2364,1314,990,908,960,965,938,924,787,924,1550,1404,1544,1406,965,861,977,1070,1236,1218,628,547,775,1394,1656,1272,733,659,414,388,364,527,855,676,372,393,380,348,500,926,976,1080,634,611,690,805,833,901,742,598,662,729,898,700,480,718,929,1208,1272,1370,1348,1244,1290,1356,1366,1240,905,650,922,1140,1072,1120,1162,1372,1260,1056,1118,1308,1178,993,1074,1094,1015,779,718,641,610,741,979,1266,1112,797,1040,1104,1182,836,749,915,1430,2326,1718,1390,1396,1464,1394,1406,1218,692,579,500,481,767,1532,1208,963,849,970,1208,1026,1046,991,855,800,601,418,332,292,386,318,289,343,381,436,478,493,509,579,874,1176,1068,1020,983,913,1038,1176,1256,1398,1294,1250,1256,1306,1240,1058,1066,1288,1272,1420,1652,1758,1506,1080,1094,1230,1228,1234,1188,1232,1332,1652,1394,1048,1076,1102,1240,1300,1100,1278,1714,1724,1432,1190,1420,1594,1512,1286,1260,963,665,886,1430,1826,1770,1440,1458,1686,1886,1964,1922,1186,1114,1406,1394,1132,949,1017,1166,1298,1278,1334,1002,741,1146,1448,1396,1478,1072,789,713,647,705,830,888,998,1030,1126,1142,1092,933,1116,1158,1188,1252,1172,1208,1300,1442,1474,1042,843,813,738,404,424,353,279,390,427,450,540,613,502,412,687,790,499,499,647,1013,1218,1142,861,971,1278,880,430,679,1102,880,1016,1270,1142,758,688,547,611,949,1100,837,474,863,1700,1666,1302,922,439,389,698,926,836,714,882,855,853,950,904,1220,475,320,297,277,456,838,1148,1164,856,484,404,540,1062,844,599,1280,1260,1376,1132,792,568,573,613,505,381,325,347,416,507,607,653,577,533,538,542,561,583,586,623,596,565,594,551,539,513,454,821,843,668,623,484,321,431,600,633,669,693,730,880,913,946,811,737,666,554,551,499,380,409,509,539,554,492,392,412,406,375,401,498,713,797,752,730,678,573,473,400,492,452,497,475,415,412,444,382,391,550,835,1500,2298,1862,1632,1724,1454,1020,756,647,575,473,464,506,522,581,673,566,543,490,482,640,578,500,533,535,558,619,763,871,610,444,413,439,605,1034,1208,851,495,347,307,383,742,875,513,670,1216,1234,753,910,1494,1330,830,695,379,403,471,454,445,604,731,675,753,1136,1454,1136,902,1484,1624,1198,1770,1600,1220,1218,1322,1306,1234,764,475,679,1042,1272,1078,936,700,612,862,1170,1622,1240,1084,891,828,860,886,644,502,597,644,1144,1494,1238,596,506,774,862,723,565,514,551,525,653,979,1076,1078,1408,1446,1254,993,739,673,542,389,433,417,308,266,339,382,361,299,346,401,360,337,366,476,473,358,307,281,312,391,386,393,376,393,410,453,630,987,1066,1044,1266,1484,1186,638,730,673,742,556,627,760,549,363,599,1058,1316,1222,858,590,549,433,719,1206,1404,1222,905,935,1426,1402,702,556,458,461,715,698,575,567,584,557,661,682,777,902,598,555,696,1284,1576,1214,766,622,1030,1130,1066,970,804,767,719,539,420,460,552,673,917,625,404,358,530,1072,1510,1414,1410,1620,1614,1460,1156,1588,2056,1376,1262,1194,719,595,822,1166,1226,819,765,942,1226,1132,1296,1242,821,572,904,1280,1042,686,976,832,333,354,617,843,1148,1416,1136,922,792,915,1056,621,424,414,405,453,598,622,713,832,664,545,553,509,485,454,419,490,503,375,391,439,392,252,228,232,229,245,250],[596,589,535,473,407,368,365,388,472,555,414,478,647,722,766,509,380,431,526,447,487,423,342,271,328,376,419,470,504,440,322,269,305,333,380,462,477,443,437,371,338,360,348,340,326,332,301,273,312,361,313,314,319,330,342,359,359,325,306,293,293,288,290,294,337,351,322,317,369,524,478,415,379,551,451,355,317,287,254,258,323,365,285,249,297,324,338,356,338,364,437,727,768,954,919,774,894,1084,851,631,760,921,1164,1086,897,1278,1092,1174,1102,737,692,1064,1032,731,298,288,440,1026,1254,992,999,1058,1060,1072,955,857,1104,1104,987,951,1082,1050,799,505,618,1012,1360,1426,1650,1542,788,959,1070,1048,1242,1248,738,654,629,789,885,901,756,488,435,374,438,759,881,561,487,434,361,376,419,521,596,569,435,675,1150,1106,769,1198,1200,666,633,519,617,791,830,752,693,811,698,759,833,1198,1260,827,639,980,1138,919,680,963,1234,1182,804,282,257,262,235,229,300,491,862,963,1044,1200,1254,1270,1202,1252,1306,1536,1214,1007,982,695,379,301,361,337,296,304,677,1348,1274,1410,1304,1446,1716,1764,1680,1466,1230,1082,1134,1230,1164,1330,1378,1498,1462,1202,1142,813,938,719,530,725,724,758,963,1180,932,1015,1410,1114,863,641,798,1086,1164,1132,1432,1306,675,547,598,747,1136,1208,1454,1392,1286,1116,1296,1282,1118,948,774,922,1610,1852,1658,1578,1396,886,1064,1530,1342,1180,1270,1410,1454,1216,1224,1362,968,807,709,670,1064,966,666,760,969,1005,824,913,695,292,247,250,262,236,230,257,320,438,539,563,563,543,614,825,596,531,578,537,700,623,426,426,470,713,959,1306,1496,682,403,393,350,357,383,366,391,376,368,319,233,252,262,408,706,578,547,553,473,356,274,232,238,430,939,1108,846,965,755,733,788,878,689,442,436,459,433,581,713,568,529,498,764,993,1046,1050,1144,959,1050,1138,1066,930,661,541,590,564,531,532,490,441,525,505,429,436,479,462,454,416,404,410,513,847,1050,917,1090,990,616,452,728,1120,1356,1276,1072,1162,1720,1306,1266,1264,1196,1318,1460,1516,1562,1284,891,794,1238,1262,734,549,367,625,590,348,289,312,396,924,1098,661,411,534,850,1066,804,858,1264,1216,1058,1062,858,994,1036,1230,1602,1344,1190,1582,1562,1532,1282,1282,996,750,765,1026,1058,1136,1236,974,1070,1013,707,1050,1132,1154,949,1158,1172,1094,1154,1152,1238,1506,1470,1562,1304,1168,1228,1350,963,753,846,1100,1108,1218,1250,1022,1112,1200,1256,1144,1204,1212,961,817,956,1042,1048,1190,1132,1188,1244,1576,1642,1616,1502,1260,1452,1404,1372,1256,1130,1144,1140,1126,1388,1492,1122,980,1156,643,469,692,593,784,703,388,455,626,963,1102,814,1018,1186,1216,1206,1318,1236,1023,1264,1482,1432,1526,1578,1566,1536,1470,1418,1352,1126,938,1120,1013,1090,1418,1312,1068,1084,1132,944,706,1001,1216,1402,1406,1382,1388,1368,1244,1154,1244,1312,1272,1548,1750,1692,2204,1722,1202,1536,1716,1500,1228,1350,1364,1300,1372,1554,1758,1622,1730,1758,1700,1646,1636,1694,1726,1682,1544,1442,1326,1252,1154,961,780,711,557,541,465,352,292,284,322,384,433,475,496,418,336,314,388,411,395,446,489,446,436,467,450,494,655,987,951,747,899,1128,1342,1506,1440,1250,1256,1328,1288,1412,1394,1260,961,841,944,1054,988,856,931,1010,906,786,919,863,1194,1274,999,725,973,1418,1418,1712,1744,1092,650,644,644,560,520,508,515,554,480,437,455,446,446,437,459,480,442,424,417,412,383,393,388,304,344,553,486,343,358,328,314,359,471,420,339,320,299,275,275,281,315,328,273,290,361,357,343,321,399,406,476,504,441,418,390,353,364,336,329,331,334,317,346,377,391,423,438,499,525,625,1156,1754,1778,1532,1144,683,533,608,915,1100,1202,1684,1372,1282,1470,1360,1164,971,741,475,419,395,435,467,760,1322,957,639,780,955,1012,972,1244,1224,1328,976,761,781,662,560,1038,1112,1086,1136,1036,659,579,882,1086,1244,1042,1216,977,1104,1098,1010,948,1120,1100,951,1038,1238,1266,1088,977,1166,954,1066,915,1110,1106,567,428,427,547,632,717,1212,1732,1346,1060,678,1015,857,884,1288,1238,1100,1326,1240,1110,1396,1730,1750,1696,1588,1460,1278,1150,1170,972,645,722,574,468,677,586,995,1046,1078,998,722,634,558,572,784,894,1232,1444,1316,1338,1166,1106,1132,801,564,769,1028,775,801,1138,1036,927,901,743,456,448,916,944,957,999,1174,1294,1176,1094,850,807,936,601,341,341,347,296,312,362,374,430,375,323,386,455,436,486,430,476,463,458,434,404,550,735,787,807,726,670,572,458,638,664,553,404,348,378,367,354,363,388,412,400,453,478,581,429,353,307,435,520,518,655,705,484,392,392,493,955,720,461,504,450,327,350,597,670,562,748,968,741,558,461,394,392,472,419,321,285,317,373,381,524,1092,1554,1314,1180,1088,1310,1092,988,1072,853,821,893,830,930,924,915,1186,1342,1344,1028,894,749,710,938,1042,922,868,813,674,601,662,854,822,781,836,1438,1966,1436,1100,1096,1112,1017,898,1074,1346,979,1230,1078,1023,1140,925,708,1068,1006,1252,1362,666,619,1148,1252,1022,904,1104,843,642,667,530,360,625,652,361,332,448,429,430,548,489,494,353,561,988,1154,1098,980,694,675,641,605,827,912,658,799,924,1010,1298,1378,1208,1200,1250,1236,1262,1266,1136,748,789,1030,1064,1017,1206,1416,1040,789,1138,1236,1007,1014,969,838,783,731,600,604,750,1000,1088,1222,1196,957,1548,1126,1124,918,896,702,1132,1172,916,740,805,1208,1420,1610,1280,1116,1172,613,469,697,1076,1130,1162,1152,1116,1138,1188,1190,1308,1082,774,647,514,341,327,454,362,374,409,389,411,498,475,416,585,1136,1316,908,899,1106,1180,1102,1182,1362,1182,1080,1318,1226,1208,1046,1134,1108,1154,1122,1206,1434,1672,1620,1456,1466,1340,1232,1260,1244,1378,1594,1798,1132,1322,1570,1152,1178,1294,1420,1466,1550,1642,1576,1308,1448,1512,1452,1262,1282,1154,795,874,1226,1536,1452,1438,1578,1898,1810,1448,1400,1017,747,1002,1460,1640,1082,955,940,1250,1268,1272,1136,1108,1520,2066,2018,1760,1588,960,680,702,699,629,899,1166,1062,852,661,619,570,849,1019,1040,1152,1162,1394,1540,1392,1432,1108,821,496,408,400,362,304,232,352,587,595,435,632,586,426,641,787,691,615,718,1138,1314,1040,742,871,1160,901,544,677,1046,997,1096,927,639,479,454,407,584,1011,1444,1234,628,597,1444,2220,1822,1156,712,368,311,565,891,866,815,984,1382,1616,1208,1596,916,395,290,294,702,1326,1512,1522,1320,716,637,636,891,1204,1064,1312,964,648,853,807,507,581,688,495,430,365,372,416,502,581,590,552,544,503,524,561,573,604,637,592,541,544,493,490,518,649,1424,1322,691,507,450,327,385,545,597,574,612,631,760,876,913,941,921,798,705,608,467,390,413,539,582,537,440,391,423,416,376,437,653,833,788,795,947,1021,865,692,490,405,416,509,658,670,493,425,376,418,548,648,885,1566,2062,1974,1776,1690,1568,1248,976,850,694,605,513,453,433,487,474,495,564,689,675,533,547,506,478,535,509,683,811,561,592,602,653,578,567,607,510,507,390,468,413,489,440,384,418,962,1340,1082,1224,1482,1098,898,943,533,401,468,468,384,393,699,743,1005,1826,1720,770,637,929,742,1144,1760,1382,1018,1142,1114,1082,966,679,671,1020,1284,1606,1342,851,513,477,850,1538,1332,770,935,1186,951,786,726,415,434,708,839,1366,1234,857,566,440,441,792,1246,941,505,488,535,634,947,1158,1328,1704,1708,1684,1268,957,730,445,391,449,418,266,248,373,441,370,275,365,396,347,321,384,456,422,387,305,322,340,373,344,319,317,376,448,627,982,1432,1158,1046,1074,953,606,573,894,756,498,675,1046,1090,976,962,949,1276,1504,1250,842,569,662,684,641,806,1226,1138,817,1224,1238,973,852,675,519,513,804,790,653,624,531,543,593,557,870,1004,864,833,832,1902,1880,1156,691,869,1001,1106,1192,977,771,767,849,683,477,480,521,483,881,961,681,517,903,1278,906,973,1250,1454,1424,1540,1550,1598,1526,954,713,805,775,716,906,1236,1292,979,653,841,783,1144,1182,692,599,563,521,872,980,692,672,580,424,412,615,763,901,1250,1120,998,666,561,667,538,578,501,416,389,447,423,470,664,517,517,538,553,562,505,414,440,427,358,369,411,330,252,233,252,259,237,228],[417,429,463,451,326,265,205,455,849,720,295,343,347,271,343,354,366,325,355,412,599,558,356,337,371,364,494,568,531,386,291,300,348,381,416,457,460,486,463,381,331,346,366,359,344,318,296,283,325,301,292,317,314,330,360,376,335,296,291,286,282,283,298,313,366,392,347,365,425,553,418,349,340,404,391,358,401,368,282,293,307,317,285,275,272,279,309,348,358,364,445,561,688,827,949,902,1068,1112,760,529,515,556,838,859,1268,1352,1042,1220,1290,827,766,890,1106,677,282,236,312,556,728,921,1070,969,873,1100,1194,1312,1930,1490,901,630,930,1280,1140,677,381,634,922,853,1028,1052,1064,1346,1204,899,919,896,825,965,1134,910,437,509,617,523,480,456,448,717,811,686,640,472,371,416,454,454,513,552,469,727,968,857,780,724,498,454,469,548,742,812,763,602,705,944,824,1023,1114,1166,1060,800,1042,1190,1154,1278,965,794,919,869,455,262,232,257,251,237,442,761,786,632,587,952,1246,1184,1234,827,937,1116,1420,1516,1118,565,372,379,288,292,321,317,747,1440,1240,1162,880,1150,1454,1504,1544,1564,1558,1202,863,1186,1578,1284,1190,1308,1260,1116,963,645,677,543,519,624,875,1118,1498,1478,1042,962,1226,1366,1052,1236,1382,1136,1007,1256,1500,1174,721,473,502,806,760,1023,913,993,930,783,996,999,1234,1262,981,1198,1566,1296,1420,1506,1132,1072,1162,1178,1160,1038,1042,1330,1178,1028,1422,1496,1156,1422,1428,1086,839,672,460,472,763,924,740,614,618,370,305,293,266,236,269,405,503,445,559,575,602,548,489,907,931,981,851,622,461,427,377,350,498,614,717,988,752,435,378,409,462,465,467,505,437,326,264,222,222,264,255,286,476,521,527,494,432,365,287,246,267,380,633,837,952,871,715,640,842,991,756,617,503,406,573,635,528,514,491,444,695,724,807,772,825,766,721,948,1102,680,530,588,530,514,484,471,471,487,511,447,387,452,457,387,390,414,444,423,642,1410,1732,1084,595,908,1032,860,1036,1360,1460,1010,883,1196,1310,1154,1164,1290,1384,1384,1550,1436,905,502,392,563,1510,1136,955,847,455,374,328,292,290,357,871,1274,1021,449,440,642,959,1390,994,589,834,947,1150,1074,766,1132,1270,1554,1492,1080,1084,1410,1516,1400,1394,1426,1170,725,817,962,959,1005,1150,1076,925,705,516,669,932,908,1100,1278,1188,1100,1026,1274,1526,1612,1570,1426,1164,1252,1422,1422,1096,811,635,555,645,1084,1226,1104,1154,1196,1466,1378,1568,1442,714,578,890,1042,1216,1208,1190,1228,1190,1326,1100,1416,1670,1702,1598,1554,1404,1000,1058,1356,1110,1100,1336,1388,1450,1296,959,502,438,356,449,772,610,463,700,792,1146,1242,794,1058,1498,1296,903,1202,1440,1598,2040,1726,1312,1400,1596,1572,1586,1376,1378,1372,1046,881,1038,1122,1270,1456,1280,1036,1140,1240,1372,931,780,1007,1248,1360,1372,1256,1346,1494,1170,1046,1510,1576,1892,1696,1342,1626,1318,1248,1548,1544,1146,1026,1222,1210,1470,1534,1564,1500,1574,1744,1718,1654,1704,1758,1700,1732,1700,1522,1438,1418,1144,927,743,691,655,635,567,425,329,288,341,372,407,432,428,497,491,426,385,387,385,358,377,409,445,420,438,443,553,997,1202,833,622,735,1152,1486,1486,1208,1118,1124,1128,1136,1126,1144,1056,925,825,894,1104,1070,977,984,882,698,410,427,722,1252,1406,946,623,935,1230,1220,1808,2258,1516,879,866,706,630,591,590,500,423,391,390,388,378,378,349,371,417,441,438,426,443,397,370,364,524,655,596,432,342,369,393,320,339,328,318,292,291,287,286,294,309,346,350,308,301,364,443,440,401,410,463,495,483,462,418,343,356,373,312,325,332,315,324,334,336,415,527,603,526,608,1166,1712,1764,1570,1168,637,540,548,628,1010,1054,886,994,1078,1252,1150,1222,1186,1001,788,918,549,394,341,391,466,490,480,668,912,897,866,973,1296,1390,1496,1390,1340,1050,1138,1228,1294,1578,1552,1228,959,788,660,607,1114,1216,1250,1362,1042,1002,1040,1014,1184,1396,1414,1296,1072,995,1036,1206,1300,1306,1254,1164,968,1178,1162,885,684,755,860,827,1188,1538,1614,1132,955,1168,1078,909,1096,1376,1296,1496,1604,1282,850,1064,1490,1598,1594,1420,1308,1200,1148,1534,1386,852,738,530,507,642,591,781,902,1086,1028,913,905,715,830,1252,1130,1284,1208,1122,1096,1174,1108,1054,977,897,987,955,641,753,794,993,1110,1194,1018,822,519,420,580,794,885,942,1122,1074,922,848,1002,855,613,439,332,271,258,330,328,397,478,355,328,425,403,386,474,386,405,481,495,449,361,451,686,672,722,705,769,672,457,510,495,429,362,361,390,367,367,363,390,437,463,531,560,517,418,376,329,360,387,432,546,703,544,417,407,673,996,736,507,461,477,502,443,528,495,364,452,837,825,660,585,495,405,391,323,288,325,461,532,429,409,886,1030,909,875,895,1168,1166,988,917,616,609,1001,1160,1206,1184,1394,1492,1356,1290,1046,1100,990,1066,1410,1192,772,871,725,533,514,535,588,667,1406,1760,1444,1314,1156,1020,1112,818,616,834,886,1138,924,1012,955,768,1172,1128,705,669,698,1306,1576,1122,803,973,631,743,904,1044,879,716,936,895,637,667,608,462,438,571,406,298,350,356,412,478,685,784,613,598,525,400,566,871,1023,1290,1470,984,751,730,818,1078,1130,998,977,1278,1328,1180,1150,1138,963,980,1016,977,1036,1200,1278,1017,881,1009,1086,1126,1116,910,680,681,673,644,692,815,1088,1080,1086,1296,1042,1362,1056,1218,1154,998,732,788,642,600,646,757,1062,1226,1216,1172,1656,1616,891,788,813,974,1104,974,879,805,919,926,684,696,481,568,549,550,478,380,338,349,382,402,371,389,645,488,520,812,1272,1060,919,1152,1326,1344,1414,1476,1080,823,985,1072,1021,1212,1286,1304,1234,1170,1136,1322,1554,1656,1782,1716,1504,1268,1258,1324,1378,1426,1636,1544,1096,1452,1580,1352,1146,928,1276,1566,1444,1544,1570,1450,1344,1338,1378,1200,1144,1196,922,774,1128,2054,1986,1848,1700,1512,1210,836,1023,1108,697,697,1230,1584,1218,1028,1064,1238,1204,1066,1168,1510,1636,1510,1352,1428,1506,1002,840,767,647,542,726,840,879,634,549,624,535,716,906,1078,1284,1166,1216,1288,1168,1394,1232,741,460,766,706,367,316,308,455,778,1023,1118,1150,861,779,848,668,742,743,633,1013,1084,1138,829,752,854,915,550,626,792,664,418,262,390,736,918,597,450,720,619,444,480,472,899,1216,1132,1408,1106,416,302,417,745,1048,911,1144,1268,1460,1532,1964,1510,655,276,325,521,1019,1322,1306,1622,1438,966,1144,1154,1256,1100,708,561,559,509,409,391,474,545,526,500,522,517,453,487,543,579,593,537,541,553,568,571,570,609,609,604,570,458,443,461,693,1156,1036,544,436,516,547,460,397,426,408,554,619,649,712,805,934,999,913,913,838,651,507,431,429,489,463,418,422,474,455,416,555,800,827,780,809,930,977,901,692,488,465,566,700,900,1036,875,636,462,419,506,619,575,649,1042,1574,1810,1732,1758,1588,1468,1196,965,651,469,455,427,487,520,558,825,1036,893,648,536,509,506,542,543,684,515,407,403,452,610,456,307,289,393,529,647,787,425,597,792,603,622,849,917,1140,1152,758,968,1098,725,379,309,350,413,390,338,603,841,1092,1560,1462,859,626,737,602,711,835,875,951,1064,1084,1066,1318,1346,1040,1166,1348,1348,1516,1262,848,677,994,1184,1114,1308,1368,1122,854,644,688,391,331,529,774,858,668,1038,1200,901,704,933,1150,825,851,939,603,451,622,825,1140,1354,1642,1564,1068,806,579,534,888,590,399,229,224,341,535,441,291,351,324,301,386,484,439,400,352,319,375,421,358,310,321,348,324,479,937,1432,1240,679,659,811,814,561,846,1082,800,820,968,1010,1010,1416,1434,1330,1470,1288,1230,1072,730,932,987,833,833,1044,1030,892,1764,1448,1362,1256,1216,966,677,983,843,526,505,485,717,960,944,1302,991,1066,1410,906,951,1628,1444,1009,1042,1052,954,821,1094,973,734,814,658,609,538,461,634,1376,1476,1048,783,961,926,880,1156,1440,1316,1378,1424,1404,1400,1436,1200,924,1108,1248,1176,1032,1074,1044,1218,915,1058,951,881,717,611,609,505,604,1110,1260,990,587,662,566,484,644,890,816,807,1026,1042,766,684,527,594,535,721,626,548,460,331,682,705,430,419,401,492,569,556,410,358,350,350,328,319,265,219,226,225,246,229,208],[563,681,938,697,294,270,251,316,577,777,474,411,360,312,339,357,370,322,358,524,658,581,448,383,368,300,326,302,289,296,359,365,356,381,402,407,461,498,455,390,346,357,371,354,332,304,272,335,419,330,319,299,314,334,326,344,322,351,353,298,280,297,339,368,359,349,336,386,407,411,397,356,330,359,372,479,597,414,296,329,319,299,274,266,267,262,306,381,374,583,891,610,525,841,1262,689,558,916,742,440,411,549,529,630,1023,1096,1005,1226,974,717,857,785,632,305,234,331,456,462,681,1060,1070,702,552,808,918,1152,1348,940,463,400,485,811,1248,1126,644,762,919,774,1042,1078,1230,1328,1102,1001,1078,1068,1094,1358,1570,1040,542,480,551,550,518,510,467,657,1028,1005,626,386,439,536,408,347,557,677,573,487,573,711,714,698,547,403,398,529,725,748,603,537,749,641,1016,1448,1710,1278,767,913,1210,1060,1021,1266,1060,661,875,686,350,289,269,247,259,283,526,730,876,862,729,810,1086,1202,1360,703,433,633,1358,1682,1013,461,372,381,312,301,377,386,1146,1240,863,805,790,1100,1290,1382,1278,1274,1524,1488,1354,1302,1322,932,926,1106,792,872,1078,1048,973,807,959,1288,1236,893,1332,1194,1019,813,984,1070,985,1258,1346,1238,962,1090,1344,763,688,816,1052,907,673,846,681,596,597,769,1064,1114,840,884,952,812,995,1078,1176,1294,977,694,998,874,554,625,1038,1044,770,908,1394,987,940,1514,1628,1048,604,471,550,469,477,673,580,434,434,411,386,329,246,235,405,730,714,647,1058,864,574,606,474,699,815,722,687,615,669,620,424,485,933,959,697,673,664,469,403,443,607,628,517,477,411,300,272,258,257,266,288,477,707,639,506,515,506,435,342,332,365,421,440,732,839,792,738,669,853,880,656,662,544,419,529,527,452,466,577,542,666,708,647,556,592,586,536,828,812,576,481,494,576,525,457,458,444,490,551,373,323,440,383,378,399,421,470,477,540,1136,1460,937,553,887,999,980,838,1258,1324,698,578,969,845,974,1256,1366,1418,1494,1296,867,458,385,354,361,573,679,949,695,384,286,283,325,376,653,1044,1072,1088,766,808,745,966,1164,979,895,1001,1252,1262,1292,1332,1282,1532,1516,974,794,850,1208,1484,1338,1298,1382,1464,1400,1122,849,951,1122,1023,1200,1146,947,833,994,899,766,1212,1388,1150,987,890,1248,1530,1934,2026,1498,985,973,1166,1220,1188,1032,641,420,811,1306,1124,968,907,758,890,967,1394,1242,555,446,374,505,648,678,824,669,1106,1390,927,764,1152,1552,1726,1782,1534,1076,1318,1268,1042,1274,1478,1434,1520,1294,593,468,763,675,621,895,717,759,978,904,987,765,831,1230,1640,1558,1196,955,776,1326,1772,1438,1480,1410,1506,1610,1642,1538,1592,1498,1216,991,1030,951,1108,1452,1422,1250,1156,767,879,986,911,862,980,1096,1298,1326,1478,1506,1288,1312,1682,1934,1666,1430,1758,1774,1346,1162,1214,1164,1328,1120,1086,995,1222,1256,1252,1434,1614,1730,1744,1646,1726,1848,1766,1750,1588,1458,1526,1324,1034,949,794,698,683,700,562,450,331,313,384,423,434,414,367,412,468,473,484,473,432,365,387,419,398,385,409,441,634,1194,1214,644,434,720,1368,1544,1444,1100,1104,943,866,943,869,734,720,886,963,951,1154,1324,1514,1540,1274,991,637,744,1064,1520,1528,974,720,615,747,904,1292,1404,1130,737,681,554,538,602,557,437,389,416,426,362,345,363,380,392,422,433,424,451,489,500,440,488,589,496,371,393,360,319,355,320,332,332,314,311,304,283,275,291,309,351,401,313,332,411,590,509,393,456,493,452,448,462,477,406,402,423,359,343,322,303,314,320,332,372,483,521,654,1240,1776,1806,1626,1190,584,411,504,446,513,865,960,977,1066,857,1208,1116,1038,813,1046,1042,982,599,408,325,444,700,780,473,550,810,583,677,946,982,1178,1390,1178,1036,853,913,1152,1148,1498,1490,1002,1058,1078,823,787,964,1190,1482,1428,1240,1224,1204,1240,1368,1352,1298,1076,903,1172,1320,1162,1228,1194,995,1108,1216,1130,1072,927,867,1236,1362,2408,2352,1738,1904,1450,844,933,1106,1270,1388,1516,1332,1538,1502,1396,1094,940,1028,1416,1562,1274,1368,1458,1302,1436,1086,615,555,484,557,673,991,1334,1278,1198,1354,1362,1038,760,921,1158,1134,1086,1262,1178,952,772,564,734,837,904,1074,951,714,944,781,703,931,1222,1254,933,481,377,398,569,766,766,856,916,800,670,451,362,559,502,298,282,286,298,296,327,439,405,472,541,409,345,361,320,394,577,492,372,381,400,689,700,696,595,659,580,407,360,410,389,362,344,340,381,421,388,403,472,543,622,709,666,569,524,411,321,354,420,468,615,631,488,430,865,928,706,672,692,738,590,432,498,556,494,572,809,886,819,810,666,495,375,307,364,442,469,394,437,412,651,862,815,745,777,982,861,467,456,494,883,999,987,1018,1238,1402,1370,1432,1412,1376,1226,1060,1598,1724,1158,697,839,722,604,536,535,669,792,1682,2230,1484,893,940,886,687,668,762,960,957,993,819,958,1072,895,1058,1306,813,442,617,1522,1424,1312,967,922,922,1154,1134,1016,918,702,637,841,1136,897,672,588,779,882,474,321,363,554,813,730,544,613,658,443,349,406,654,1296,1592,1856,1772,1222,917,725,811,926,1236,1244,777,1056,1218,1216,1108,1140,1290,1324,1186,1272,1512,1272,1208,1098,1164,1140,1302,1318,1024,760,584,559,651,726,716,702,864,903,1072,1138,1021,1122,1238,1146,1110,1014,1058,1160,929,815,866,929,1036,980,936,1228,1132,774,875,1060,987,1202,1128,684,628,722,639,414,396,390,408,404,370,619,808,546,395,351,352,398,379,487,716,679,868,929,1108,991,932,1098,1142,1194,1330,1288,1252,1140,1208,1116,1130,1372,1350,1234,1226,1252,1448,1666,1604,1478,1798,1774,1728,1388,1290,1164,1282,1578,1764,1414,1100,1410,1628,1528,1023,920,1246,1604,1540,1636,1682,1520,1310,1308,1452,1428,1372,1322,1064,757,898,1826,1742,1272,1086,980,848,902,1202,1292,918,729,1076,1118,1013,1152,1184,1204,1240,1248,1210,1230,1146,915,1204,1272,1300,1080,801,727,741,634,701,791,683,547,502,547,477,802,896,944,1106,1172,1130,1196,1312,1486,1350,857,674,985,618,361,344,396,584,861,1376,1156,719,653,830,871,776,942,1094,801,1005,838,978,735,642,579,975,930,790,808,890,591,397,681,1276,1114,548,361,552,515,525,565,528,476,513,775,1316,1268,639,388,478,614,968,601,829,643,749,1146,1534,1482,806,383,347,365,566,730,625,1090,1470,914,970,988,960,855,663,690,886,553,412,409,478,541,580,671,945,835,574,565,601,616,689,595,601,569,678,636,594,604,598,558,548,476,461,483,487,525,545,437,444,583,615,523,438,422,378,455,566,560,617,656,725,861,858,938,850,763,723,574,453,433,408,419,450,479,502,512,717,899,818,785,840,857,894,827,632,549,602,730,947,1054,1088,1124,989,707,514,487,582,589,626,701,838,1146,1544,1632,1446,1390,1430,1230,686,417,462,497,499,456,635,988,1030,1070,943,632,513,515,468,630,566,405,380,379,559,610,366,362,297,351,451,839,918,494,731,999,765,526,463,751,1196,1346,993,968,771,432,365,367,339,420,464,423,517,665,901,1238,1013,756,669,634,421,408,751,1056,1114,1130,1004,1344,1472,1486,1188,983,1216,1344,1612,1396,1174,1126,1172,1230,1168,1152,967,1054,906,463,468,333,318,342,427,471,551,1011,1338,1216,1176,1310,856,775,1560,1716,1256,770,582,806,1120,1082,1042,1112,751,612,592,602,918,681,411,356,433,350,336,280,299,365,363,438,535,463,458,446,386,347,370,410,387,310,302,350,338,367,630,1112,788,521,774,803,754,698,756,791,936,805,644,797,1156,1454,1172,1128,1170,1148,1070,777,932,1274,1086,838,532,669,796,918,1240,1128,1634,1422,1332,1194,965,1009,1074,783,465,484,860,1350,1098,1350,1292,1204,1356,1015,786,1152,1154,908,763,886,727,500,1088,1272,841,637,540,599,750,724,993,1288,1078,985,742,966,648,828,1260,1566,1544,1550,1472,1324,1188,1352,1332,1356,1404,1110,831,508,479,517,921,1106,1064,1034,900,672,639,588,611,969,1262,1438,1164,1019,879,749,741,913,1148,1136,1152,1188,1110,1154,757,525,540,375,393,348,558,576,498,692,482,336,351,365,448,504,481,416,406,393,369,354,354,282,239,260,244,261,237,245],[718,585,742,666,381,322,238,246,435,517,537,590,583,430,336,377,432,487,581,619,709,451,345,267,304,288,272,239,253,297,354,392,401,379,395,407,489,427,386,376,406,402,371,352,325,306,294,401,472,389,324,317,314,328,294,314,359,363,307,304,294,312,383,420,377,373,388,350,433,478,461,395,335,346,361,380,381,317,287,327,321,285,279,277,265,258,324,377,336,416,466,436,576,824,1092,750,720,893,657,454,617,780,577,703,602,651,1018,1334,1024,669,619,587,346,247,278,477,1032,1256,894,869,1021,828,740,651,549,557,525,358,333,413,397,348,540,935,997,1042,814,1046,1082,908,1046,1030,944,1248,1300,1194,1280,1704,1496,738,625,565,501,497,473,460,500,742,948,769,517,442,502,397,326,300,414,447,814,714,589,608,668,763,523,361,358,460,556,612,484,440,527,660,1086,1362,1302,1060,893,934,1244,1136,1042,1050,924,918,951,678,339,307,289,260,262,385,662,777,1152,1166,1038,1074,974,1140,1318,856,505,579,637,648,431,357,302,289,320,335,437,749,1374,1116,857,1018,1582,1712,1358,1266,809,834,1092,1484,1648,1584,1570,1202,1018,1086,794,525,773,926,1014,1174,1246,1232,1290,1368,1192,691,576,566,707,882,1013,982,1136,1180,1132,1210,1022,559,670,886,1284,1144,577,536,592,507,651,1028,1080,1090,835,1104,1062,707,996,1086,1024,1128,1020,1016,1368,769,404,1088,1484,1044,980,1270,1122,708,598,883,1066,1005,742,629,870,762,498,436,430,472,529,522,427,306,264,339,694,833,612,860,1388,1080,848,629,368,614,780,666,656,659,808,437,381,486,974,940,822,1178,927,451,370,460,607,535,428,461,433,285,281,383,427,423,367,522,740,686,546,645,775,650,480,448,509,489,393,473,703,797,689,518,567,674,622,552,536,393,433,444,460,499,601,666,521,420,477,422,425,451,490,658,502,444,529,564,897,972,623,492,504,721,825,454,408,424,353,382,416,477,623,636,751,1090,1168,1168,1026,1066,691,658,1019,1164,1270,1058,676,755,914,988,1080,1428,1374,1112,680,576,487,324,321,319,274,481,522,403,409,320,370,448,614,1172,985,947,1354,1268,836,1032,1360,1270,1364,1104,932,1376,1282,1556,1348,1052,1274,1274,1001,814,675,1152,1614,1354,1408,1354,1396,1168,1134,1242,1048,870,1048,1132,1204,1338,1202,1090,1000,1048,1318,1360,1306,1232,1084,1346,1848,2114,1932,1226,890,878,891,1080,1328,828,947,803,1104,1650,1104,776,639,730,963,894,754,812,491,339,309,294,314,373,411,483,903,1202,1021,622,594,1026,1710,1876,1648,1476,1568,1494,1302,1376,1406,1180,1368,1294,770,619,936,1184,995,1120,960,700,827,1178,1062,749,1082,1498,1510,1336,1454,1190,875,956,1234,1164,1184,1212,1306,1428,1472,1510,1494,1642,1402,1098,1005,1005,1138,1378,1262,1228,1158,812,602,1046,1298,989,1023,1142,1166,1100,1060,989,1020,1354,1566,1616,1494,1842,2330,1866,1472,1314,1244,2158,2978,1676,1246,1210,1108,1130,1292,1496,1662,1640,1590,1558,1600,1632,1604,1568,1516,1412,1362,1134,1078,982,821,954,1110,921,577,464,401,407,486,492,546,517,407,419,459,470,550,554,468,390,359,353,353,350,362,425,767,1290,967,457,448,893,1552,1622,1586,1452,1298,1015,741,1090,1009,722,752,900,1114,1088,1036,1134,1492,1504,1588,1164,927,1312,1328,1642,1736,1408,1200,746,583,619,922,930,769,584,514,493,541,608,554,463,426,415,401,350,354,366,376,395,419,445,443,467,527,564,647,673,423,318,323,347,306,287,343,361,332,319,318,301,286,297,357,461,316,370,417,349,370,387,495,432,437,548,522,414,401,469,490,448,416,433,355,318,314,336,354,363,349,392,438,613,1244,1740,1736,1588,1108,656,557,555,471,499,546,669,569,745,1246,865,1128,1252,1144,1188,1300,1294,1142,623,379,324,414,921,1298,604,395,572,821,825,762,927,1136,1314,1182,1000,813,985,1328,1290,1178,1130,1252,1240,1114,915,997,1050,1020,1086,1094,1194,1044,1094,1102,1158,1010,949,1290,1412,1312,1302,1242,1400,1338,913,915,1216,1268,1274,1224,1260,1366,1344,2204,1848,1232,1554,1438,1114,1244,1286,1154,1292,1136,1028,1338,1448,1576,1466,1248,1226,1404,1634,1734,1580,1590,1432,960,913,621,400,437,511,714,1212,1378,1152,1182,1354,1310,1266,1168,1192,1208,1246,1136,1118,1124,1082,1084,846,1260,734,545,948,1202,1176,1050,654,532,989,1296,1276,1278,899,468,358,448,760,887,884,872,765,482,265,328,402,340,273,288,283,314,299,324,565,639,612,516,409,379,388,315,386,677,547,406,491,409,561,693,612,502,451,434,455,398,394,418,418,396,427,447,434,452,504,538,543,619,837,879,626,535,434,362,374,396,429,497,665,572,639,869,469,497,558,772,830,687,553,618,650,511,593,764,924,874,608,598,600,499,418,499,455,384,306,371,324,425,610,688,717,778,908,807,723,680,566,978,862,883,1070,1272,1058,1250,1654,1406,1416,1390,911,1132,1004,782,645,685,648,572,508,528,638,805,1246,1404,1002,984,1356,1052,739,843,846,921,976,910,952,973,974,870,868,1332,835,421,728,1626,1374,1156,1100,1054,1138,1172,1036,1038,1394,910,454,523,951,702,558,572,1042,896,479,536,560,733,982,608,402,623,793,632,690,843,1116,1406,1396,1412,1152,919,1008,981,824,833,1188,1218,707,710,1076,1266,1228,1158,1118,1304,1340,1628,1240,1082,802,1060,1276,1015,1030,903,579,495,505,536,640,757,903,793,704,885,1138,1250,885,973,1204,1210,1200,1162,1172,1272,1034,938,933,904,1128,1128,1306,1390,1248,1080,1023,1132,1058,1478,1294,875,722,997,913,672,819,746,417,356,390,564,774,702,785,626,478,417,486,808,1036,1052,1140,1128,990,879,877,1116,1334,1360,1144,1286,1458,1312,1130,1252,1472,1318,1116,1200,1354,1432,1578,1552,1414,1340,1598,1676,1630,1320,1100,1058,1290,1682,1708,1138,1112,1106,1360,1356,998,1180,1536,1730,1678,1624,1570,1460,1388,1250,1488,1642,1476,1138,1092,892,797,874,677,568,781,988,913,1188,1522,1192,1168,935,1108,1090,1072,1138,1160,1258,1224,1074,1114,974,688,503,885,1250,1366,1246,1034,864,850,756,768,857,730,546,394,443,470,816,1064,1278,1516,1546,1332,1060,1122,1266,1438,1318,643,613,542,444,566,652,741,780,951,803,609,552,689,751,860,586,550,628,1134,1304,1084,871,761,834,996,1186,1120,763,719,489,346,522,741,578,386,371,648,845,582,520,625,395,338,510,969,1100,628,447,547,557,627,633,761,603,560,807,1274,1118,770,505,433,557,457,307,284,433,380,353,544,832,894,625,510,586,1020,635,429,444,452,489,535,713,1064,1090,802,1036,1376,1076,822,771,652,563,591,571,583,581,553,558,554,467,479,478,449,444,479,550,639,697,659,604,590,589,470,416,539,565,604,601,691,714,865,941,705,623,709,578,445,463,446,467,470,428,475,582,821,897,753,787,868,822,827,733,542,673,776,855,1005,1005,977,1092,1036,742,525,484,520,553,616,624,523,580,976,1426,1454,1330,1260,1038,700,539,484,536,514,534,775,1090,1524,2054,1544,771,525,504,605,631,434,378,331,430,929,1003,560,356,334,355,345,596,562,437,684,919,691,445,467,983,1362,1402,1070,605,317,354,480,466,357,395,476,555,487,402,462,739,827,1006,769,433,619,860,1144,1234,1064,948,1188,1472,1346,1406,1252,1070,1104,1158,1416,1402,1396,1432,1528,1556,854,798,1366,1534,729,376,351,321,358,366,383,421,406,438,619,728,913,830,814,1094,1250,1404,1426,979,675,744,951,795,937,1034,793,544,394,310,410,590,462,466,588,385,321,268,308,383,390,405,433,382,418,469,440,375,350,361,366,343,352,345,343,337,303,441,565,552,788,759,460,520,732,930,952,573,468,644,1124,1021,919,1288,1204,949,885,690,665,854,1042,797,744,1400,1406,1278,1164,1022,1234,1226,1068,1318,1118,658,804,728,506,647,747,904,1018,1026,1190,1013,785,1026,1236,1160,989,1108,837,715,565,679,1080,1182,1190,955,654,625,874,1050,1062,1040,1240,699,521,662,978,1350,1714,1500,1444,1344,1372,1350,1330,1550,1436,1282,1086,1000,776,637,596,567,902,1078,1030,1158,1134,498,626,599,670,903,987,1536,1368,1082,1092,1074,758,813,1106,1316,1368,1120,765,605,610,525,509,420,367,331,448,582,847,672,354,349,379,377,390,480,424,417,436,417,394,371,334,293,289,278,225,290,279,258],[256,326,593,577,366,287,246,219,297,443,591,857,795,463,332,364,427,652,596,435,520,396,319,302,350,393,330,266,288,296,336,383,419,363,383,371,372,345,342,376,407,391,379,352,316,285,332,642,656,439,325,328,323,335,335,323,357,399,392,354,306,302,352,370,370,456,439,461,596,505,458,411,337,325,312,258,228,272,308,309,292,282,310,350,312,322,391,342,318,340,371,397,499,809,1022,1028,1054,863,547,447,796,913,571,755,850,797,679,1062,1030,777,510,368,318,250,245,356,818,815,588,577,769,731,770,786,612,438,371,461,585,457,514,680,761,596,820,1148,1432,1568,1270,964,926,769,980,1308,1276,1440,1602,1532,1176,824,650,686,728,620,570,599,724,752,697,663,509,458,455,355,360,339,377,370,426,417,417,409,429,389,355,350,360,453,502,462,438,600,708,702,982,1318,1194,1056,1018,1296,1266,1206,902,881,1046,1001,929,703,447,335,335,294,277,437,774,863,1016,1016,1048,992,709,672,932,971,782,633,382,364,343,297,285,248,271,334,526,1136,1334,1156,1144,915,1200,1316,1396,1194,1098,1076,839,1426,1612,1450,1524,1462,1398,1306,936,926,830,518,1009,1426,1538,1204,1212,1372,1344,1001,586,569,560,682,1214,1380,1354,1188,1180,1102,768,566,659,865,1218,1016,650,539,627,808,973,1184,1242,1118,841,1246,1158,872,1140,1042,1112,1176,1142,1024,828,687,677,989,1248,1318,1426,1224,1015,973,702,800,865,917,653,696,1021,1056,622,386,489,593,607,537,374,284,300,446,1032,953,539,747,877,648,581,485,440,640,1002,1124,860,787,732,397,374,460,664,528,696,1013,675,365,373,429,546,483,409,524,457,332,393,516,657,710,682,607,954,1132,929,633,673,539,462,477,431,444,386,491,760,842,647,563,756,813,758,563,454,401,396,362,408,430,438,412,300,306,296,304,375,446,350,414,462,435,507,787,1206,1156,766,622,706,898,797,547,494,383,398,515,498,561,818,998,1300,1282,979,1224,1116,612,400,455,951,1170,1222,1264,1130,660,1040,1310,1148,1356,855,354,421,760,611,308,269,290,291,261,263,361,473,328,320,390,608,1036,882,947,1204,1154,1076,1270,1048,1288,1482,1234,947,894,1120,1314,758,720,947,769,802,1122,1086,1186,1380,1252,1086,1266,1324,967,971,1172,1534,1194,880,1142,1360,1354,1354,1282,1048,1130,1460,1338,1302,1388,1346,1596,1946,1998,1384,1013,1220,728,846,1306,1632,1001,805,951,1094,1110,943,785,628,960,1432,1320,766,601,413,328,244,284,382,401,383,367,431,665,919,955,984,1208,1404,1614,1750,1730,1610,1470,1350,1572,1568,1310,1354,1408,1118,847,912,831,791,664,799,799,827,1294,1166,881,1262,1500,1154,1056,1212,1170,1128,907,1160,1400,1236,1100,1188,1186,1228,1444,1506,2448,2286,1396,1206,1206,984,922,1064,1260,1588,1384,684,1062,1368,1260,1162,1044,810,755,789,998,989,1048,1394,1542,1440,1616,1866,1534,1472,1582,1402,1974,1998,1538,1542,1484,1166,1044,1272,1486,1550,1468,1494,1526,1540,1550,1616,1676,1572,1396,1176,968,1096,1016,890,955,1122,800,589,552,477,496,585,623,565,477,464,415,455,464,491,513,514,455,367,350,338,333,328,339,716,1054,747,497,599,1098,1376,1606,1346,1336,1474,1000,531,590,614,637,661,624,570,777,1076,813,1128,1260,1272,1294,1244,1172,1150,1280,1354,1312,1180,871,641,631,848,701,644,566,500,509,526,509,452,389,385,401,400,361,370,398,419,436,413,433,476,486,494,658,744,534,324,299,303,315,313,307,339,350,334,325,327,306,312,318,367,542,420,408,394,423,391,379,423,525,637,565,469,438,380,397,377,401,412,401,344,322,347,350,374,377,397,427,642,1268,1748,1694,1512,1068,507,534,790,766,686,654,554,648,500,942,1134,1088,1158,1016,1058,1532,1252,932,928,590,598,368,336,510,585,485,390,543,1540,1578,1058,1154,1350,1304,1212,1236,1266,1448,1356,1258,1234,1022,782,738,1136,1218,1108,962,736,589,847,1350,1470,1418,1378,1428,1334,1050,1450,1612,1428,1334,1318,1430,1266,916,778,1122,1174,1116,1036,1010,1152,1246,1482,1432,1308,1250,1206,1170,1322,1224,1080,1124,1150,1240,1426,1426,1434,1706,1816,1434,1270,1414,1660,1734,1540,1316,1110,1232,927,452,395,523,877,1270,1108,1050,1156,993,885,1015,912,896,1108,1260,1028,865,1084,1206,1218,655,903,781,837,1174,1264,1334,1130,765,883,1118,818,742,1062,1168,788,457,412,739,1064,1212,1150,710,330,312,346,352,328,271,265,267,278,283,342,602,750,563,409,413,444,375,347,434,719,683,704,733,542,479,519,419,378,397,416,469,512,396,344,382,433,466,448,464,534,531,516,516,791,1142,1023,823,515,381,351,322,322,402,423,606,757,931,959,412,397,331,484,656,764,807,976,843,691,932,981,992,994,801,700,688,557,449,389,324,350,320,265,241,310,514,780,907,900,947,888,1372,1150,796,1066,1024,1013,1114,1026,769,768,883,833,961,959,619,614,431,544,616,623,653,697,731,636,679,858,1164,1072,831,1312,1768,1204,803,813,769,768,795,759,874,951,888,643,648,1200,904,443,915,1488,1344,1250,1048,886,944,1034,900,623,1252,726,440,381,710,694,550,705,971,709,558,1042,1188,678,648,333,317,561,742,667,747,852,895,813,647,837,1042,990,1018,874,649,671,962,879,716,929,1238,1470,1376,1156,1084,1402,1434,1394,1332,1166,763,824,864,597,419,403,393,405,422,476,657,1016,1248,951,819,934,1280,1130,830,910,999,1052,1366,1224,930,1086,1058,957,827,1182,1552,1326,1328,1376,1230,1126,1218,1474,1200,1384,1256,974,672,603,477,669,1052,902,421,405,456,475,549,817,1001,823,774,591,795,1256,1342,1354,1302,1166,1016,842,743,969,1418,1286,999,1230,1376,1208,1114,1324,1558,1272,1160,1390,1522,1512,1238,1302,1404,1390,1548,1734,1672,1378,1202,1188,1366,1666,1656,1134,1066,1028,1244,1398,1260,1352,1472,1186,1094,1300,1450,1232,999,1130,1304,1370,1346,1388,1382,1060,744,610,550,565,753,837,965,1268,1676,1364,1288,1048,997,1023,1036,1182,1334,1306,927,825,1074,1002,634,506,1056,1330,1072,938,755,621,703,726,860,883,973,695,692,771,793,1232,1318,1250,1232,1266,955,818,1344,1326,1338,1504,883,722,685,547,691,739,498,362,421,794,927,677,755,785,843,665,532,528,1072,1432,1194,820,689,972,1258,1310,1202,1018,1070,808,396,408,457,444,473,558,633,525,407,415,556,428,356,463,698,834,611,498,505,479,415,579,734,557,479,471,776,1468,1380,1058,825,717,440,274,330,374,378,355,438,733,983,797,517,367,517,439,433,379,421,793,1005,781,753,1210,1334,1918,2188,1664,1172,901,777,593,490,528,577,574,560,681,647,460,468,461,482,455,501,583,646,669,647,623,592,631,593,539,578,521,561,552,647,746,878,800,633,539,585,623,463,469,512,450,426,434,531,807,996,821,650,738,841,907,887,653,472,614,757,783,847,829,868,1024,840,585,553,490,539,598,572,514,505,539,572,838,1248,1336,935,583,536,682,635,529,525,518,582,810,1606,1870,1120,605,520,589,744,584,382,338,399,495,881,1072,1106,1362,943,336,453,633,619,487,482,947,1210,1124,772,712,922,968,1220,868,317,415,512,431,444,402,449,557,517,362,296,285,480,855,591,385,850,1370,1454,1228,1018,1190,1556,1340,1156,1076,1001,1064,1120,1328,1504,1372,1466,1436,1318,1356,757,1084,1670,1178,480,316,304,353,390,389,413,403,374,400,391,427,462,426,609,881,1130,1422,1200,820,588,547,565,617,1108,947,615,426,367,272,269,315,270,295,352,318,317,282,350,403,394,417,428,395,378,413,448,419,354,356,356,366,399,403,331,301,362,449,477,411,387,368,385,469,805,952,756,513,455,526,849,1002,1156,1028,785,858,1064,872,715,912,988,1006,1194,1684,1528,1566,1590,1262,1222,1344,1086,1146,632,508,569,611,807,893,852,875,857,984,1066,852,967,1168,1338,1182,1074,1084,1106,1282,1064,1168,1272,1356,1438,1342,1064,926,910,995,858,719,637,534,532,649,1056,1758,1648,1086,1174,1310,1462,1146,1306,1500,1550,1386,1158,966,756,884,1112,1156,1064,1294,1138,1106,853,641,927,985,1082,985,799,1144,1406,1012,1001,870,538,514,735,1058,1362,1318,1120,1084,821,584,643,670,555,480,549,560,813,447,365,386,401,390,421,464,460,453,417,415,396,388,255,246,289,278,263,292,276,237],[269,317,505,444,415,532,442,258,285,430,665,849,631,365,289,322,310,351,363,421,506,418,437,484,456,441,356,296,353,319,321,339,365,339,374,361,308,310,365,401,391,380,393,366,327,327,473,810,868,595,355,327,320,295,286,272,289,343,366,354,331,316,331,326,351,445,411,563,682,418,361,342,336,350,295,277,251,263,284,280,270,283,411,499,358,357,404,356,381,382,415,409,416,660,918,1168,1174,1094,1010,686,676,795,768,861,919,734,532,874,1162,1024,626,439,430,347,321,273,355,318,475,491,446,681,1044,1060,806,615,442,501,892,768,689,862,1286,961,907,1268,1396,1442,1296,1019,1164,1288,1260,1324,1380,1512,1416,1050,881,686,657,998,1110,836,736,923,1021,814,960,794,553,583,563,415,442,437,406,397,393,397,456,399,394,377,367,377,440,577,590,421,417,640,603,457,799,1418,1014,755,991,1306,959,860,714,807,1130,1206,955,541,459,469,515,412,402,742,1292,832,857,1062,963,827,602,478,859,1356,1104,641,538,500,384,300,305,292,271,328,685,1142,1094,1058,898,918,1158,1304,1228,1286,1152,565,838,1614,1594,1130,960,1380,1548,1674,1304,1144,758,664,1058,1310,1306,1252,995,1096,1690,1416,829,767,755,976,1788,1638,1318,1492,1360,1013,777,678,751,913,1400,1080,839,558,496,852,1236,1394,1496,1166,1020,1346,1120,1038,1280,1116,1142,1292,1260,1128,1012,993,884,907,989,1002,1048,894,897,947,958,919,1080,1128,795,690,820,658,483,473,543,614,640,611,387,357,639,829,1164,983,578,578,504,384,424,405,517,796,976,1574,1124,772,601,475,383,620,778,507,543,948,901,386,366,376,415,432,419,478,443,438,510,691,707,747,951,738,949,1186,922,520,530,561,699,650,566,626,581,555,586,702,613,630,752,740,695,495,340,352,361,349,347,379,359,284,261,273,272,295,507,632,518,516,510,487,604,745,866,1120,696,490,700,796,762,676,503,426,468,503,446,507,918,1458,1354,950,1023,1126,639,351,410,639,1132,1336,883,832,785,820,1342,1192,904,743,444,538,677,667,405,242,317,358,353,297,342,480,552,434,349,355,819,1064,1202,1278,996,960,1214,1342,1174,1224,1234,1246,1246,1172,1354,1222,860,1020,1056,713,673,1138,1182,1382,1374,1210,729,739,839,846,732,1118,1720,1306,728,636,813,1026,1366,1148,934,1000,1240,1400,1598,1516,1246,1428,1578,1440,777,963,1326,756,955,1242,1017,673,598,751,725,611,744,781,797,1392,1582,1260,844,417,350,314,254,295,273,302,372,361,346,543,811,1030,1260,1842,1186,1140,1588,1722,1722,1598,1450,1476,1310,1284,1262,1334,1306,992,794,792,921,767,744,857,996,1210,897,827,1146,1116,1102,997,1268,1650,1388,852,844,1194,1310,1196,1324,1406,1504,1432,1596,2258,2240,1396,1260,1076,756,943,1086,1320,1578,1344,714,860,1062,1208,1096,888,661,650,670,666,658,789,1102,1426,1412,1330,1444,1616,1566,1378,1288,1356,1468,1478,1524,1530,1344,1282,1212,1328,1268,1330,1522,1550,1538,1594,1620,1598,1454,1356,1202,1340,1512,1288,1174,955,833,708,666,633,533,516,684,744,533,463,422,436,433,451,473,473,618,555,397,338,331,316,325,334,389,418,481,515,877,1058,1286,1536,1242,1230,1368,977,596,506,586,575,501,444,501,843,1252,1118,1076,965,1160,1474,1240,1302,1366,1068,824,896,918,983,800,676,611,516,436,424,439,431,452,430,395,369,410,454,422,407,437,499,513,447,442,497,482,488,546,725,573,425,328,303,315,367,375,332,329,346,332,321,351,338,310,383,382,395,383,460,491,455,423,466,559,636,598,580,462,451,396,343,322,355,383,381,352,332,323,328,381,399,459,658,1256,1756,1704,1440,1076,570,358,393,465,534,579,636,689,538,822,1254,1208,1260,998,609,682,722,727,825,772,469,566,406,346,354,387,549,497,625,1036,977,891,920,1100,1162,1198,1210,1296,1082,1274,1196,966,875,794,1034,1370,1336,1216,659,643,545,975,1232,1410,1328,1456,1620,1510,1282,1140,1298,1210,1244,1412,1406,1252,1023,937,1076,1038,1128,1112,988,1084,1078,1286,1356,1398,1312,1202,1072,879,771,1068,1398,1346,1146,1262,1114,897,1240,1456,1230,1122,1274,1548,1788,1610,1372,1294,1312,1240,954,1026,1092,1346,1810,1438,1246,1494,1252,1026,1242,1272,1112,1172,1312,1148,1126,889,772,959,1070,965,1076,1190,1264,1104,1180,1342,1234,1108,1124,729,692,862,998,1098,830,504,601,950,1224,1202,524,368,352,335,398,339,271,275,311,299,307,428,594,559,472,451,378,400,354,338,375,672,744,755,767,675,656,528,382,437,458,477,491,580,495,332,334,392,419,466,542,532,469,452,594,902,1042,1222,1198,892,543,375,368,338,416,441,488,852,1092,824,670,716,400,334,590,763,846,902,752,551,708,711,678,903,896,907,895,716,491,367,320,292,264,237,287,289,452,758,871,805,1005,849,893,943,854,979,1158,1038,971,1126,1138,752,392,407,733,698,561,524,390,429,567,658,681,874,993,768,739,955,1058,1028,1130,1622,1690,1388,1023,691,653,621,684,672,769,964,1084,635,550,942,1092,780,1154,1506,1176,1112,1106,926,619,988,1048,974,1116,661,469,698,881,627,469,580,803,636,601,1112,1048,569,464,400,348,563,730,733,896,812,480,479,334,689,1128,708,859,792,833,772,901,1170,1146,1074,1232,1594,1140,1148,1158,1272,1278,1034,1256,1074,622,487,490,504,480,514,557,498,450,770,1246,1460,1246,1290,1046,1034,1236,900,904,995,1102,1166,1056,944,1144,1600,1482,1052,929,1242,1296,1276,1434,1414,1318,1184,1198,1312,1268,1340,1336,961,563,531,608,625,661,614,499,583,641,684,779,1058,951,921,951,595,687,1054,1216,1262,1260,1160,1166,1196,1344,1238,987,1074,1084,1200,1364,1198,1170,1284,1666,1322,1454,1528,1230,912,1044,1238,1224,1206,1350,1660,1688,1362,1180,1086,1332,1692,1580,1340,1268,1222,1278,1518,1754,1536,1474,1284,1456,1424,1236,1200,1076,1324,1470,1502,1286,1094,1086,875,708,562,533,502,717,833,928,1158,1628,1474,1114,1124,1040,964,1044,1232,1262,1084,921,988,1228,1068,800,785,1366,1426,688,794,839,764,778,661,650,675,1126,897,999,1040,1186,1340,1236,1234,1360,1298,780,982,1354,1278,1148,1444,1134,752,528,440,727,785,588,666,438,910,1158,595,498,631,724,765,558,514,1028,1350,1118,822,933,1256,1268,1194,1276,1270,1238,1026,555,372,538,816,1052,1134,808,519,446,557,736,829,851,800,1030,1236,914,527,431,403,386,469,656,552,601,625,865,1562,1676,1234,664,525,447,464,689,451,405,392,471,487,712,705,394,229,356,467,449,361,705,1556,1824,1554,1192,1924,2132,2066,2104,1760,1238,1160,1116,870,739,637,657,559,545,664,602,465,470,453,440,468,628,658,611,577,578,614,537,565,560,576,595,537,528,450,390,597,825,876,708,543,640,575,368,438,584,560,486,520,706,903,931,840,749,661,668,783,770,533,628,741,815,801,837,858,935,887,536,409,400,419,548,603,537,487,465,537,584,502,697,850,553,435,445,502,656,669,694,583,398,402,775,841,669,633,626,723,606,554,518,417,664,890,581,470,1192,2188,1512,426,525,562,626,811,578,905,1328,1462,1136,725,561,540,969,1080,592,768,1186,926,647,447,521,561,517,350,250,257,307,283,348,602,614,1158,1466,1412,1416,1394,1094,1060,1228,1182,1142,1204,1272,1344,1650,1508,1396,1418,1116,841,1100,1610,1496,774,415,372,349,324,375,371,405,405,371,339,409,506,468,395,381,463,755,1120,1326,802,484,456,543,748,877,716,527,421,278,269,349,347,284,228,228,310,299,292,368,389,395,442,447,410,373,350,404,466,412,396,395,431,408,413,408,368,434,506,434,447,427,372,358,601,1512,1058,761,825,693,774,844,936,1046,775,556,968,1560,1180,1224,1362,1144,1180,1086,999,1340,1616,1460,1038,883,1300,1692,1114,715,963,1062,695,731,930,1100,1210,1226,1252,819,722,861,786,992,1264,1200,1050,1152,1290,1182,1224,1544,1382,1292,1478,1108,841,690,667,724,700,624,654,625,645,753,948,561,527,883,1188,814,933,1340,1388,1528,1588,1270,888,702,903,1312,1264,927,1448,1082,1040,1070,1172,979,1288,1810,1788,1416,1344,1438,741,498,414,480,394,517,990,1576,1800,1728,1594,1254,821,550,633,730,684,647,770,591,374,367,356,405,483,511,518,542,522,434,443,418,360,260,233,251,265,277,286,310,269],[267,296,437,422,569,765,483,236,273,402,576,725,433,324,288,301,312,405,449,594,702,572,536,567,537,523,526,404,361,351,368,380,398,375,358,341,338,379,423,431,401,363,343,400,378,501,752,678,740,724,442,356,328,287,278,281,288,278,302,347,336,332,350,343,376,408,466,598,410,334,321,302,310,366,374,306,267,287,289,275,277,287,443,507,410,419,420,343,275,327,596,609,483,454,650,850,709,655,882,811,1168,1164,1068,871,626,587,643,948,1234,922,838,1108,1660,639,299,274,287,326,564,575,387,647,1026,990,891,1156,1072,749,1174,965,796,893,1074,1003,891,1182,1166,1003,1017,891,1040,1108,1384,1474,1398,1372,1176,965,838,832,867,998,1360,1378,1460,1218,1108,615,691,777,841,2022,2404,1036,596,433,359,319,339,383,486,369,342,371,369,370,437,492,455,409,491,521,457,519,874,1360,739,449,726,797,695,691,806,867,922,942,889,644,539,861,619,418,783,1502,1536,1132,1276,1698,1858,1410,843,790,1013,1528,879,478,527,520,408,393,417,307,295,369,845,1384,1020,807,1180,1218,1070,1394,1112,1100,1094,637,728,1296,1524,1338,1044,1488,1534,1674,1620,1490,1200,1054,1536,1812,1264,1444,1362,1472,1622,1406,1116,887,1012,1262,1670,1352,1346,1590,1450,1410,1198,1082,756,828,988,808,1090,849,620,1044,1202,1120,1146,1015,1120,1200,1124,1094,1190,1152,1194,1262,1340,1236,1324,1202,738,632,927,946,767,755,656,761,1001,855,913,717,478,702,603,320,420,587,673,730,789,754,709,815,1066,1068,971,861,589,433,480,576,515,389,620,1134,1432,1602,1078,993,907,424,562,769,591,416,478,509,561,390,345,356,397,426,411,408,422,525,949,1048,640,750,972,1040,1242,969,566,525,653,745,677,605,685,531,467,553,709,687,498,523,619,617,589,469,326,307,356,382,372,364,302,244,249,295,313,340,370,403,469,514,511,552,539,463,391,582,559,538,479,525,904,1028,735,738,909,825,501,523,758,1112,1146,778,874,732,521,539,635,937,1422,1418,1132,1028,559,1004,1510,1004,477,389,447,795,1034,900,532,342,379,433,385,285,285,445,491,396,343,657,1080,1092,1388,1512,1100,1009,1288,1298,1816,1362,1360,1444,1362,1412,1246,855,960,1102,996,1017,1234,1182,1134,1364,1180,886,595,533,877,1172,908,701,754,605,554,432,601,998,1076,1178,1350,1188,1340,1516,1710,1542,1262,1176,1312,994,659,673,877,870,1112,1136,771,546,716,894,755,948,1042,910,925,1180,1240,1011,584,337,288,232,221,281,325,451,400,314,362,741,1316,1194,1120,1510,1328,1420,1542,1618,1776,1810,1688,1472,1100,1454,1522,1400,1506,1176,664,651,979,1009,973,987,1216,1370,1005,1052,1326,1040,1072,1021,1050,1220,1156,807,776,885,940,1094,1410,1520,1294,1214,1366,1576,1498,1218,1200,1062,1148,1356,1064,1296,1326,1282,1078,730,762,1020,1112,836,573,526,566,664,816,863,880,1166,1354,1498,1594,1534,1452,1340,1232,1498,1686,1692,1310,1368,1368,1252,1214,1136,1080,1188,1368,1502,1612,1612,1548,1454,1366,1430,1320,1404,1512,1322,1298,1092,949,883,785,725,627,655,890,711,453,459,420,413,413,460,405,453,590,627,554,334,346,312,330,313,336,383,371,836,1534,1466,1466,1488,1172,1186,1122,823,686,579,551,608,578,562,580,832,1042,1052,1344,1514,1394,1356,1356,949,783,719,758,685,774,852,763,573,458,441,373,367,391,397,466,489,429,400,410,437,480,534,569,601,576,587,544,534,548,623,676,636,453,364,319,296,397,507,388,325,346,328,299,308,391,404,356,422,447,397,454,588,562,567,538,484,580,580,567,527,482,451,372,332,344,365,394,408,385,366,348,364,397,430,659,1316,1776,1770,1548,1040,507,358,385,406,409,370,407,472,547,501,908,1182,1156,1240,995,601,990,836,1000,842,903,890,769,794,662,473,656,653,441,812,1120,821,526,528,1162,1264,1460,1246,962,949,1246,904,387,461,656,908,1046,980,1082,782,667,747,982,892,1090,1372,1308,1418,1346,1252,1230,1350,1074,1186,1074,1294,1302,930,752,817,867,994,909,987,1282,1210,1422,1614,1732,1318,1312,1354,1238,1234,1176,1014,1018,1034,959,834,587,674,1074,1236,1084,1160,1454,1666,1630,1642,1604,1328,1520,1534,1482,868,903,1534,1268,1352,1546,1384,1322,1088,919,1072,1240,1296,1172,1116,763,605,1009,982,1198,1472,1332,1296,1384,1240,1082,1058,1100,1006,875,907,713,649,962,1038,811,858,934,932,789,472,488,340,291,400,356,343,352,333,305,354,554,574,386,388,443,369,379,442,429,382,612,794,741,721,655,687,519,431,541,435,461,536,509,467,420,363,398,459,504,540,491,417,500,1042,1164,1146,1274,1328,1074,631,499,433,369,398,456,655,1064,948,766,1024,869,431,414,523,915,1218,746,703,706,824,709,765,676,683,880,848,636,458,354,271,287,294,284,268,275,385,670,766,765,980,739,623,848,700,565,871,1150,1316,1438,1290,566,330,340,489,584,509,462,489,393,563,650,697,982,1094,1078,988,1148,1126,1124,984,995,1238,1346,1108,684,604,532,526,708,907,1050,1130,828,665,750,1092,1252,1372,1528,1344,1190,1092,637,674,999,1274,1608,1208,498,395,735,908,663,769,932,868,680,549,669,713,572,403,397,353,460,738,748,913,1020,532,442,325,468,830,814,879,769,578,544,650,943,1312,1326,1144,1186,1306,1410,1332,1150,1050,889,630,430,381,415,455,423,427,545,556,511,728,1300,1650,1512,1384,1320,1144,1130,1042,1003,1154,1084,1382,1532,1396,1380,1604,1764,1334,971,1010,1166,1204,1312,1346,1448,1316,1224,1090,1062,1262,1316,1338,1084,790,738,744,691,779,692,524,398,476,729,1016,1044,938,997,1008,1092,1070,1098,1160,955,1190,1162,1144,1156,1118,891,728,873,1090,1214,1150,1084,1148,1250,1404,1436,1444,1460,1244,963,1042,1150,1114,1096,1256,1556,1698,1568,1408,1216,1482,1632,1604,1740,1786,1732,1652,2120,2648,1646,1312,1228,1604,1364,1019,912,959,1238,1356,1272,1026,919,1084,1122,824,598,543,527,677,746,882,1120,1482,1302,985,1322,1122,1040,1250,1302,1062,1082,1268,1202,1146,1158,1202,1354,1858,1948,923,864,954,819,875,760,637,704,866,1040,1180,1104,1210,1214,1202,1202,1206,1110,787,1050,1158,1208,1096,1390,1296,718,411,483,742,832,802,1012,484,847,1232,706,440,411,560,725,514,613,1112,1362,1294,1024,1226,1204,1220,1454,1342,1120,1026,1048,751,455,482,634,1020,1282,980,716,450,607,948,882,733,728,1186,1802,1498,774,436,384,382,408,564,705,1074,1136,963,1300,1382,745,522,737,665,1116,1666,1108,530,459,469,442,469,522,350,244,488,547,383,343,812,1348,1580,2266,2126,2228,2106,1982,2062,2026,1810,1582,1360,1230,980,719,703,509,547,579,505,455,527,514,451,641,809,666,623,644,561,591,551,578,609,567,542,562,601,495,461,558,628,698,600,491,535,558,537,473,583,561,470,628,807,823,818,780,768,706,590,544,625,575,749,868,807,707,748,851,913,714,460,402,387,478,525,529,481,464,512,619,621,511,607,686,475,438,431,401,432,612,724,550,354,356,386,454,555,591,763,802,549,697,746,480,874,1022,579,470,776,906,542,538,572,501,749,1144,1006,885,1018,1086,736,507,413,357,605,1122,1050,667,807,735,515,534,631,591,498,322,241,267,285,305,312,390,411,1064,1340,1406,1134,792,634,633,778,963,1274,1240,1334,1504,1636,1500,1466,1356,986,913,1208,1306,972,482,417,530,631,341,335,354,419,430,401,395,431,456,434,366,385,406,428,473,766,630,496,533,651,679,592,502,475,430,331,315,324,492,464,366,329,350,305,278,324,343,359,427,437,413,341,238,275,440,449,435,449,476,437,408,394,420,458,420,372,647,714,611,498,954,1656,976,569,889,1072,1092,844,842,808,785,783,1636,1548,825,998,1200,1100,1142,1292,1252,1346,1070,847,1014,1218,1264,1766,2008,1444,1136,978,604,560,963,1228,1148,1070,1154,767,585,491,558,654,891,1106,1038,852,793,1150,1780,1838,1378,1502,1518,990,708,745,808,777,622,781,933,745,500,464,459,368,460,771,882,951,1210,1338,1360,1438,1404,1316,1124,815,1382,1436,1388,989,1018,1238,1290,1416,1436,1390,1770,2000,1810,1954,1482,993,564,425,353,338,453,787,1216,1494,1648,1750,1578,1370,814,472,457,516,671,721,709,455,380,364,346,401,423,445,516,539,494,495,513,411,370,343,260,265,329,303,301,270,273],[335,282,407,396,493,540,383,302,243,328,514,551,285,209,233,288,295,345,474,645,655,469,444,557,651,526,441,392,406,430,446,455,462,422,348,333,412,488,491,459,359,299,332,353,379,753,904,666,642,706,531,419,355,312,300,283,298,267,280,339,336,359,433,437,433,422,608,569,403,331,305,310,298,362,391,295,262,275,281,275,290,309,331,436,384,464,475,371,906,1832,1384,959,733,496,879,1162,938,1228,1322,1192,1258,1170,1248,959,726,994,841,919,1028,940,920,1168,1542,806,393,341,368,415,629,697,519,833,1460,1050,1132,1472,1080,895,1172,904,932,1030,1138,1182,1056,1188,1182,868,1172,1172,1278,1550,1434,1416,1352,1166,1078,990,1010,1198,1110,902,1142,1208,1108,1232,1554,1570,1368,1252,1428,2072,1804,864,454,283,281,268,311,500,628,579,556,565,515,402,414,411,405,396,435,525,521,528,662,770,524,357,368,496,507,534,656,637,623,634,806,905,1136,1001,588,528,860,1230,1418,1408,1456,1738,1974,1116,1142,1040,1064,1226,740,433,430,440,401,403,445,383,331,390,693,1154,893,918,1434,1388,1064,897,775,897,1040,877,750,1122,1494,1644,1610,1322,1438,1482,1362,1460,1608,1460,1490,1584,1624,1960,1940,1848,1842,1826,1312,1021,915,905,1036,1072,1256,1420,1418,1580,1254,1034,993,1296,1144,1058,1560,1372,931,1118,1206,995,907,911,1172,1174,1622,1734,1672,1364,1066,1282,1216,1240,1546,1230,963,1422,1176,1246,1194,917,634,841,918,727,767,606,424,591,482,315,507,525,594,637,685,759,830,916,1200,1136,850,838,564,505,568,775,726,1054,955,941,1270,1260,1134,1498,1354,783,946,758,818,853,682,376,377,377,345,377,447,469,427,395,403,525,1048,980,773,756,980,954,877,629,573,661,612,604,545,612,832,581,566,537,615,635,464,357,433,630,775,462,374,346,442,464,424,375,326,284,282,273,326,438,526,490,477,520,590,682,690,519,560,603,539,474,425,794,1408,1134,979,1007,1162,1066,835,848,891,1122,1202,900,533,395,456,816,1066,924,847,937,1360,1180,897,1096,985,612,737,700,393,697,1128,1000,501,317,314,348,324,312,317,350,376,385,476,828,1015,846,1306,1456,860,725,874,1194,1432,1216,1320,1460,1500,1562,1128,882,914,904,886,904,877,725,1002,1240,1188,1020,700,716,1202,1338,897,446,265,393,632,613,950,1214,1418,1350,915,1062,1052,1102,1416,1366,1542,1436,1358,1158,1148,1009,838,808,980,1210,1140,886,664,688,1012,951,728,878,1122,781,649,554,443,391,294,239,274,311,437,645,475,376,413,930,1290,1058,1013,1152,1418,1648,1548,1290,1536,1608,1666,1478,1220,1526,1736,1666,1626,1304,682,531,466,726,1005,810,1192,1190,1124,1390,1376,1322,1442,1376,1064,765,639,557,684,758,749,857,1021,1326,1376,1278,1316,1538,1444,1240,1116,1188,1080,1180,1332,1570,1666,2026,1414,719,763,1178,1236,866,791,586,533,807,1096,1246,1102,1182,1434,1636,1614,1478,1492,1296,1318,1524,1434,1222,965,1164,1440,1318,1274,1144,1112,1232,1294,1510,1626,1532,1600,1484,1324,1380,1444,1456,1516,1456,1334,1250,1320,1224,901,704,606,614,728,580,552,501,378,321,367,389,343,391,494,501,476,354,364,339,319,326,354,359,460,1152,1576,1402,1582,1432,1296,973,588,495,507,529,583,656,707,745,700,751,843,897,1282,1332,1082,1096,1126,623,437,441,595,566,463,467,513,429,394,346,368,350,374,437,493,473,429,413,399,443,481,560,720,792,633,621,672,766,709,648,584,532,468,380,309,343,442,423,328,321,318,315,333,320,377,381,364,375,395,391,440,594,557,562,517,617,605,667,656,495,442,401,318,303,327,361,384,411,385,374,341,365,390,677,1352,1830,1826,1566,997,469,372,372,385,418,385,409,494,535,512,531,894,1374,1288,1210,1028,721,844,486,480,509,902,1258,1368,1416,1010,1056,1766,1158,493,936,987,897,629,452,882,1015,1346,1246,987,1110,1428,1118,516,566,830,560,565,859,1198,918,591,620,704,608,1015,1404,1070,1180,1292,1348,1262,1036,962,808,948,1158,1164,1144,1084,1060,882,941,1142,1440,1404,1298,1324,1278,1126,1018,1232,1406,1434,1426,1134,756,711,626,650,683,650,552,760,926,947,1246,1678,1974,1764,1686,1392,1440,1778,1658,1588,1122,971,1096,1252,1460,1360,1296,1316,1100,922,1122,1156,1226,1294,1152,1072,1082,1092,1074,1076,978,1036,1330,1152,907,1122,1090,1116,1104,931,984,887,663,858,852,634,571,571,628,616,547,505,448,429,381,358,440,333,292,325,407,413,431,419,379,424,426,394,386,386,401,550,721,651,667,600,613,583,490,491,430,410,532,517,378,354,360,417,459,487,452,362,336,1054,1616,1488,1222,1334,1512,1104,760,582,475,372,378,448,742,963,786,708,681,458,301,423,525,583,724,906,978,995,1218,1086,999,727,636,860,817,599,554,465,315,359,324,296,253,290,330,498,698,927,1108,892,492,730,796,440,502,758,939,982,733,353,332,509,683,744,637,990,1038,461,541,656,799,956,1008,966,754,905,1164,1094,992,983,1230,1168,930,724,541,447,450,680,1202,1216,808,800,906,771,1044,1624,1760,1604,1410,1272,1168,949,1090,1178,1274,1330,854,658,1042,1318,1009,1106,1056,1164,884,630,471,413,532,492,353,357,359,561,832,600,657,930,461,258,269,469,879,1056,1016,719,411,549,660,775,1094,1218,1206,1356,1344,1030,810,920,1126,997,564,515,497,497,474,493,506,594,628,694,773,1021,1284,1300,1282,1268,1204,828,828,1006,1212,978,951,1196,1404,1232,1184,1248,1196,960,890,1280,1230,1200,1160,1218,1104,1122,1152,1130,1196,1414,1286,994,1052,827,657,821,1064,1336,1506,844,458,535,596,786,1048,910,1050,1098,1017,1058,1106,1048,1052,1172,1086,786,647,791,895,824,1144,1222,1122,1176,1272,1472,1670,1244,873,1186,1482,1346,1184,1134,1084,1150,1206,1450,1758,1686,1546,1466,1656,1610,1644,1856,1764,1742,1706,1526,1436,1404,1390,1604,1438,1005,974,906,914,902,943,1134,1772,1846,1804,1724,1030,652,570,509,628,694,879,1162,1272,1194,1262,1086,990,1042,1116,1003,1104,1556,1616,1294,1202,1136,1020,1038,993,894,938,1008,1008,839,695,670,610,734,856,886,957,1154,1298,1400,1380,1338,1512,1282,817,916,1092,1098,1138,1340,1344,926,469,517,666,881,636,999,802,982,1102,529,337,391,367,363,336,663,1104,1428,1560,1044,1034,1354,1322,1352,1440,1152,918,879,663,511,573,555,762,867,883,657,582,728,789,554,607,800,1094,1776,1880,1338,542,362,383,392,409,630,933,1024,1140,1184,733,358,523,750,547,996,1628,1572,855,532,428,393,535,689,531,445,439,377,291,286,543,984,1420,1992,1854,1826,2092,2214,2198,2280,2264,2176,1906,1606,1324,979,664,541,560,506,448,501,556,526,491,463,503,479,525,755,691,602,602,622,612,600,565,543,554,596,637,551,517,585,456,439,440,441,442,373,472,529,455,628,775,711,761,815,772,787,668,551,651,713,645,681,730,574,614,665,708,559,437,461,491,546,516,456,431,387,427,617,777,702,682,711,566,480,419,419,430,428,504,554,528,386,359,368,441,602,902,836,719,689,847,792,672,514,448,583,592,542,534,722,627,423,410,730,981,666,543,558,514,488,523,399,400,728,1212,881,546,426,444,592,645,612,507,348,498,352,365,329,278,388,428,694,946,1138,918,690,605,579,754,1040,1088,1244,1322,1306,957,955,1290,1322,1282,1324,1254,927,584,430,433,511,541,406,367,379,403,405,382,354,345,370,376,369,439,437,417,418,506,543,615,594,489,405,367,405,439,384,361,263,223,354,489,492,425,341,301,290,308,319,336,372,353,359,308,242,294,382,423,441,435,418,447,458,403,366,411,430,429,653,806,744,756,885,684,437,634,819,1028,1088,872,639,1040,1284,1168,1464,918,662,814,838,982,1030,1282,1266,982,797,897,832,1504,1478,1042,1260,1548,1264,550,505,650,795,932,1030,681,536,441,394,384,446,571,931,1304,1460,1224,1108,1310,1522,1550,1694,1292,985,581,521,564,634,742,797,901,994,877,552,480,499,432,759,922,959,1182,1268,1438,1380,1324,888,1094,1274,1290,2042,1438,1018,889,1020,1294,1394,1420,1130,1272,1696,1786,1906,1692,1316,756,537,487,404,461,556,698,912,964,915,938,772,969,570,416,418,433,482,556,471,367,349,331,335,380,463,445,431,501,494,531,512,333,359,361,274,337,381,271,312,288,335],[366,258,282,276,330,306,272,236,212,296,402,443,350,297,292,283,265,309,422,517,520,382,414,551,567,414,375,420,467,472,459,438,418,394,369,372,436,485,509,478,356,308,327,318,328,437,616,850,850,625,586,492,402,343,291,275,292,292,346,419,382,398,495,480,461,422,596,510,382,330,302,296,293,307,315,276,258,270,286,292,298,290,294,418,460,529,541,394,951,1636,1322,1338,787,529,672,998,1194,1732,1766,1568,1368,1360,1578,1546,1186,879,681,1028,1166,814,524,530,713,733,533,405,353,358,577,896,695,978,940,897,1190,1386,938,830,960,864,730,807,1350,1666,1722,1742,1438,1426,1510,1366,1318,1262,1136,1386,1448,1300,1290,1530,1544,1254,1522,1586,1224,1340,1516,1518,1790,2100,1794,1688,1772,1736,1392,904,473,330,313,336,343,543,559,545,666,644,561,484,510,454,408,399,388,374,444,496,442,443,462,554,567,567,494,507,528,596,604,586,463,557,753,631,577,711,800,713,709,791,955,849,1062,1206,1522,1310,1192,1100,874,683,564,549,525,440,455,549,496,442,425,818,818,717,1012,1268,1080,785,783,919,897,814,977,1188,1348,1142,1084,1124,1252,1336,1328,1206,1442,1624,1668,1764,1930,1820,1816,1788,1916,1694,1124,1050,979,767,811,828,656,813,999,1068,933,852,1252,1544,1520,1400,1094,1016,990,1258,1324,1152,1238,1202,952,986,1920,1802,1472,1254,1246,1296,1302,1378,913,1014,1132,1644,1686,1588,1552,1378,1040,1050,1068,604,525,331,277,315,310,357,554,464,516,884,926,856,1028,1190,1240,1214,1102,883,874,629,507,833,898,764,680,721,860,1172,1092,1146,1098,1018,824,591,758,812,546,348,398,466,480,579,603,469,459,419,470,506,553,760,1186,1334,1004,796,938,1046,968,755,479,484,747,686,820,1009,843,489,460,468,384,359,390,600,759,590,626,486,452,402,382,374,361,319,262,305,362,400,523,618,534,562,648,572,493,490,673,694,517,454,509,804,1156,1130,1218,1344,1112,824,1022,1001,916,892,814,789,490,392,552,1300,1502,797,472,601,984,1228,1188,978,597,498,801,875,596,561,855,635,398,299,263,281,316,375,416,387,399,535,678,804,1034,1114,1074,934,985,965,1066,1390,1316,1220,1298,1230,1598,1406,1246,1420,1282,1022,1026,758,476,398,669,882,921,1068,1002,1058,1354,1234,657,527,494,490,617,920,1082,1036,1162,922,980,1014,905,990,1038,1206,1202,1300,1506,1358,1318,1278,1292,1126,862,959,1007,1366,1328,1152,1208,919,863,1146,939,544,497,391,429,670,886,564,357,295,339,518,509,397,697,1296,1338,1094,1013,1284,1396,1620,1178,841,1302,1396,1722,1858,1600,1510,1616,1648,1600,1092,484,450,612,966,1064,1022,1482,999,736,965,1021,1108,1438,1596,1268,727,510,453,505,667,701,814,1082,1370,1354,1196,1176,1296,1278,1372,1226,1332,1212,1370,1332,1576,1788,2150,1888,1118,1074,1254,995,946,1013,700,612,875,1102,1240,1001,959,1198,1362,1372,1472,1494,1314,1382,1412,1340,1298,1154,1256,1394,1312,1440,1398,1356,1388,1322,1404,1610,1540,1320,1260,1222,1324,1434,1534,1592,1534,1342,1222,1314,1028,823,647,559,526,486,492,565,442,329,329,338,337,343,428,596,612,545,411,373,345,320,333,348,355,484,837,1206,1672,1670,1296,1406,1290,1136,828,783,875,872,814,787,816,811,642,831,1048,1158,1070,880,1138,873,480,363,299,308,382,404,437,422,405,370,331,365,367,411,491,562,526,493,448,395,404,479,671,505,443,412,436,467,542,489,382,450,558,484,380,336,461,448,324,324,314,297,298,320,336,381,434,460,457,446,381,454,495,538,499,560,616,580,594,508,412,411,370,364,370,321,323,342,364,389,393,397,406,716,1396,1776,1730,1530,939,478,386,347,336,397,436,420,529,556,515,567,506,981,1638,1326,1130,1358,1188,955,681,594,722,774,697,926,1056,750,792,1444,1038,662,1524,1126,1112,921,615,866,1206,1062,791,760,828,1078,1248,844,938,1448,929,656,853,888,577,492,654,785,788,999,1348,1184,962,1240,1316,1009,982,982,947,913,771,877,1234,1168,1168,1114,1236,1362,1486,1354,1206,1268,1336,1124,881,1003,1208,1408,1338,1068,802,739,716,699,610,623,509,523,787,1134,1158,1422,1954,1778,1660,1484,1440,1450,1434,1424,1330,1318,1302,1324,1042,1080,909,989,819,789,1013,849,971,1200,1238,1362,1304,1122,811,841,1196,1058,1150,858,957,1386,1470,1166,930,962,983,957,917,626,536,455,588,587,524,603,553,492,539,640,561,377,328,267,274,350,413,427,455,428,383,392,401,398,374,398,439,535,762,641,531,517,543,518,485,487,448,477,561,623,477,305,379,484,465,408,341,309,616,1244,1622,1566,1156,1054,1256,1334,1122,995,644,436,412,464,890,809,619,684,452,292,296,312,418,596,1056,1250,1234,1138,1160,1018,881,987,1104,1100,1042,994,1114,886,380,322,308,289,296,322,379,507,758,1034,1304,1272,1088,1122,722,427,435,497,469,410,360,285,508,951,1044,923,811,1364,1196,730,875,1056,1066,1010,1012,1056,1066,1222,1250,1128,1018,606,902,1210,888,770,624,469,476,576,892,948,766,800,987,976,1136,1678,1786,1360,1226,1310,1168,1182,1450,1676,1648,1114,678,998,1260,1212,1032,981,884,1190,1222,893,692,472,400,460,502,428,392,674,894,563,445,465,344,322,283,397,633,902,1038,852,499,525,744,817,843,739,662,604,565,549,664,986,1184,1076,545,626,678,678,828,930,814,691,580,517,605,776,817,733,598,596,637,529,635,923,1202,938,600,875,1470,1332,998,1178,1278,984,835,1144,770,789,899,666,601,781,1098,1222,1256,1578,1242,1116,1200,991,761,957,1096,1398,1220,538,336,334,397,563,660,707,901,1090,1015,1186,1090,874,818,832,951,878,953,1166,1058,1046,1440,1416,1248,1448,1732,1778,1332,764,711,918,1080,1114,1182,1120,1118,1282,1264,1366,1626,1692,1698,1728,1758,1456,1202,1186,1256,1478,1634,1152,1028,1176,1140,1352,970,563,618,598,615,821,1058,1404,2148,2586,1992,1720,1212,704,593,529,607,732,909,1200,1578,1496,1250,856,950,803,917,1072,1286,1642,1638,1278,910,576,760,991,1198,1086,790,648,945,893,700,648,606,844,878,576,650,1118,1346,1354,1240,1074,1196,1282,1052,1060,1234,1194,1278,1264,1230,1204,529,542,606,872,865,990,954,1034,1058,720,474,481,511,492,483,636,995,1378,1118,829,1386,1918,1384,1238,1430,1228,838,520,349,409,593,522,552,1026,831,514,661,698,675,797,1032,1316,1108,1488,1902,1786,822,407,382,384,374,609,927,1120,1232,1160,860,695,970,1064,768,514,808,945,689,633,754,710,606,588,487,521,347,300,290,332,485,701,1144,1210,1200,1712,2094,2046,2182,2280,2106,2018,2108,1802,1672,1214,775,618,627,627,563,518,501,495,464,463,455,447,632,755,695,578,531,565,609,636,651,646,630,591,573,560,537,568,393,402,436,377,485,500,509,555,542,681,758,666,720,697,706,728,600,617,785,684,492,522,659,704,744,797,738,545,466,531,550,509,435,393,391,350,359,550,805,739,614,681,647,475,390,388,393,399,407,473,566,553,388,339,420,730,733,1010,1372,1200,1292,1350,986,583,419,400,429,559,477,482,454,406,559,708,491,307,319,479,529,596,700,633,499,451,965,1086,652,411,602,601,497,451,464,746,1096,1001,793,495,414,530,635,519,534,722,709,789,808,690,1230,1084,841,1356,1666,1274,963,1144,1334,1378,1432,1400,1572,1194,810,642,527,371,347,396,389,385,382,402,368,308,331,324,468,435,455,426,395,437,487,599,661,555,440,395,400,395,372,258,258,235,224,266,327,438,489,317,288,292,310,337,385,413,329,313,396,379,309,365,417,406,398,437,489,460,393,411,514,519,538,728,673,586,783,1034,846,692,867,1034,833,949,984,763,965,1248,1182,590,467,1198,1772,1138,1032,982,1210,781,789,1126,1300,901,1152,1009,479,518,621,465,391,486,645,622,637,703,471,435,509,491,423,428,677,791,976,1310,1246,1152,1288,998,1376,1432,1304,1030,755,644,753,491,525,860,1034,1078,948,686,548,593,637,1110,1246,881,945,1314,1224,727,725,597,680,937,1014,1188,902,440,398,906,1250,865,937,733,1076,1112,971,1182,1210,980,571,521,639,627,599,735,1024,1266,1518,968,620,453,433,421,405,396,422,461,464,446,487,454,359,355,401,488,440,373,448,494,509,405,284,371,433,386,287,296,366,327,254,438],[334,278,254,252,302,238,228,263,266,320,366,391,421,398,298,237,263,367,481,539,631,511,501,505,380,359,457,495,493,492,444,393,387,393,403,422,458,457,484,473,365,322,318,320,325,348,400,571,620,470,550,563,472,394,350,334,321,309,303,320,341,349,373,462,483,478,547,485,372,325,300,276,287,306,288,275,262,281,292,305,312,310,345,452,543,641,686,478,400,377,548,565,565,573,677,963,888,837,1164,1114,827,935,1226,1326,1144,915,911,1170,1008,670,622,680,808,692,569,692,749,670,883,903,954,1418,1338,1182,1270,1124,665,565,632,655,616,736,1298,1996,2010,1970,1744,1996,1984,1758,1524,1060,1290,1732,1748,1738,1722,1886,1834,1282,1650,1860,1326,1114,1470,1666,1710,1938,1810,1822,1760,1576,1680,1368,673,398,393,357,365,429,379,371,435,438,489,551,516,365,339,414,460,518,638,513,435,462,492,584,583,608,645,591,669,650,718,756,581,491,484,511,576,848,811,641,604,603,580,538,874,1094,960,810,805,908,995,1104,919,865,786,798,849,884,796,589,677,1020,1102,1104,1112,1096,1084,948,890,968,891,943,1136,1428,1184,945,1007,1028,1166,1206,1314,1007,1232,1530,1402,1336,1458,1560,1748,1780,1738,1464,1250,1230,1068,799,848,776,677,620,578,609,586,579,732,939,1170,1302,1162,904,1090,1378,1492,1368,1380,1142,999,1062,867,720,877,1208,1318,1200,1342,1282,1180,1058,1070,1274,1460,1534,1608,1180,656,697,788,391,338,269,291,280,334,461,458,423,731,1084,1090,1164,1394,1208,841,1028,1082,1104,1092,709,521,705,767,581,708,1056,1001,1050,984,1210,1248,1146,723,583,419,557,891,682,455,562,609,633,582,445,493,549,486,488,592,735,994,1082,984,908,1024,1328,995,727,572,475,825,857,590,601,544,476,480,450,380,509,730,927,767,734,666,608,541,484,503,427,423,343,255,330,395,437,579,730,722,665,560,430,444,591,661,606,536,489,706,982,1252,1100,1108,1332,1202,938,734,705,900,806,577,566,509,639,728,861,964,738,583,494,876,1098,843,612,574,616,811,1172,1186,847,476,331,394,299,244,296,360,454,491,471,477,582,846,1018,1148,1404,1078,811,1170,1214,1302,1346,1294,1348,1306,1194,1388,938,883,1072,992,1174,1182,818,697,643,847,655,642,707,1060,1362,1130,837,670,802,709,531,675,860,908,1005,916,975,1322,1142,1318,1318,1240,1288,1013,962,1156,1396,1432,1322,1350,1110,778,881,1074,1356,1290,1276,1226,840,850,995,711,457,476,345,439,1066,1440,962,420,308,320,387,405,452,811,1218,1376,1202,1036,1208,1016,1404,992,1052,1324,1402,1594,1706,1654,1548,1574,1560,1412,745,432,472,723,1168,1066,1005,1128,809,514,564,761,744,1132,1336,1005,598,466,419,493,604,688,985,1368,1452,1332,1064,960,1138,1096,1356,1532,1482,1384,1202,877,1005,1444,1710,1238,969,1454,1366,1194,1048,975,1064,963,835,883,819,734,800,944,979,1062,1254,1266,1260,1334,1492,1326,1248,1302,1418,1376,1420,1698,1690,1562,1484,1450,1366,1668,1394,974,1120,1264,1290,1380,1492,1330,1348,1366,1460,1416,1010,805,637,523,473,405,412,408,368,354,352,347,352,369,380,463,573,504,438,389,336,327,339,343,352,403,603,1164,1706,1206,1180,1252,1250,1236,1040,1170,1344,1046,852,774,825,735,509,635,892,1216,1346,1274,1170,714,401,334,320,322,339,395,425,474,462,407,343,383,497,555,494,502,675,725,522,430,407,539,824,574,384,433,467,452,514,514,476,478,507,452,394,463,520,402,337,329,315,307,312,345,375,421,464,514,476,480,383,409,446,512,540,591,521,487,502,430,370,369,354,375,410,343,325,364,378,401,415,440,752,1388,1744,1654,1416,922,466,361,340,311,320,440,514,483,643,737,699,599,688,1144,1410,1122,1522,1560,1164,898,740,678,689,499,381,516,511,469,433,568,705,790,1282,1036,1112,955,771,1118,1356,948,608,583,802,821,1168,1064,1018,1244,1180,969,694,624,811,1015,1224,1204,1238,1346,1384,1158,974,1408,1380,1064,1110,1378,1340,837,629,470,714,1198,1352,1392,1520,1360,1422,1406,1282,1378,1372,1340,1086,1116,1154,1414,1334,1190,854,657,850,908,666,634,489,454,638,951,631,808,1062,1366,1452,1508,1424,1450,1582,1448,1378,1454,1318,1406,1152,1224,892,937,601,488,624,637,848,1122,1232,1488,1242,937,817,828,1356,1042,946,1034,1094,1490,1820,1262,875,818,719,758,843,608,591,954,1530,1214,728,557,532,600,644,703,694,595,451,354,368,423,430,444,484,467,458,459,401,395,391,398,486,653,838,672,553,493,486,444,371,341,353,490,490,550,416,272,400,539,454,279,271,544,891,1064,1446,1550,1568,1538,1128,1382,1172,1050,964,648,435,678,857,498,505,659,593,331,314,400,397,583,1324,1306,1224,1082,855,995,971,879,1015,1150,1001,981,1268,1328,688,345,330,296,296,347,439,538,745,1108,1360,1274,1204,1130,852,658,650,681,569,415,447,485,432,644,844,835,881,980,912,999,1222,1232,1176,1168,1003,1150,1434,1284,1044,716,524,413,675,767,814,1044,755,476,512,518,523,634,700,752,1166,1154,1266,1666,1728,1356,1362,1332,1152,1262,1446,1622,1496,930,800,1062,1266,1034,932,918,888,1374,1476,1230,1356,946,778,720,879,602,403,790,799,421,362,457,404,325,430,447,440,713,915,880,696,755,670,592,588,518,453,387,418,509,516,529,634,649,508,1190,1370,1094,1062,969,797,595,461,401,514,523,513,467,479,469,615,649,604,962,1084,1058,1166,965,1206,1400,1184,1162,998,955,1018,1340,994,949,1064,609,491,654,874,1282,1166,1198,1144,1136,1256,1050,952,1134,1228,1208,985,441,481,689,802,614,605,496,652,1028,1124,1400,1262,972,879,954,1032,840,882,1084,1054,1266,1376,1518,1616,1714,1648,1228,933,998,912,695,756,1040,1094,1122,1212,1354,1262,1226,1448,1708,1816,1778,1746,1382,1178,1028,1013,1064,1054,854,901,1009,1050,915,618,680,683,782,732,1294,1412,1572,1974,2398,1974,1730,1496,785,669,568,521,576,700,1304,1578,1162,1186,1236,1102,830,749,1042,1192,1316,1284,930,749,622,808,1290,1406,1274,1076,919,937,962,889,678,825,1112,953,784,647,694,977,1168,1096,989,1032,1068,1074,1104,1064,929,1300,1322,1174,1438,786,487,474,787,976,781,736,775,1076,1108,782,610,509,398,416,413,774,1248,1210,927,1130,1162,1276,1262,1232,810,496,375,439,572,539,408,552,996,969,918,1142,1162,986,1376,1234,961,829,1138,1506,1426,882,502,472,563,780,876,873,1094,979,1214,1254,1162,1338,1052,890,793,664,641,644,960,1526,1166,508,479,535,387,304,462,410,328,474,823,941,810,1110,1664,1630,1334,1694,1884,1938,2078,2010,1756,1644,1452,1032,586,633,648,555,522,508,528,483,449,485,483,613,658,605,509,515,618,634,653,610,588,566,514,466,535,567,550,407,433,474,363,440,569,592,610,582,546,698,621,689,621,567,708,651,599,637,489,465,499,472,447,444,662,720,547,517,585,573,480,465,427,435,379,339,488,681,607,505,612,570,438,374,348,373,377,400,424,417,614,588,539,763,726,409,669,1176,1494,1626,1556,1178,569,387,428,465,476,430,371,424,706,877,726,486,393,470,561,489,515,491,808,1030,798,768,1038,1056,739,1284,998,508,362,679,1232,1390,1146,603,440,501,539,554,504,544,494,478,968,1056,860,1112,778,767,1382,1438,874,877,1024,1118,1360,1550,1432,1398,1262,1246,1296,896,448,384,409,454,450,433,430,375,275,386,418,608,581,384,374,360,353,505,678,538,558,449,397,406,411,391,344,285,224,244,260,238,374,506,362,313,331,349,379,418,423,385,386,489,510,398,379,435,413,430,448,455,441,455,468,495,434,433,462,468,709,923,913,1042,1044,1034,910,1007,1190,1050,1009,968,885,717,412,469,999,1584,1102,893,645,797,778,792,978,843,502,485,524,366,394,839,918,529,539,637,551,500,449,456,546,611,612,584,593,870,564,471,582,827,1194,1104,926,1056,1234,1440,1472,1084,634,661,548,612,749,1060,1572,1476,941,658,660,810,1220,1220,790,1112,1312,736,410,457,550,543,532,685,974,920,519,319,688,811,524,583,454,434,495,476,447,673,947,945,717,774,865,888,868,859,1354,1494,973,924,831,539,433,412,372,372,433,386,560,730,675,517,456,452,444,423,406,414,447,445,318,286,323,367,300,279,266,359,412,358,402],[256,235,261,329,358,397,395,354,324,363,372,359,363,384,323,339,413,427,438,486,564,520,444,430,444,390,398,402,439,433,381,351,355,377,416,469,499,447,442,433,388,354,321,310,317,357,372,385,430,498,642,661,500,401,410,424,394,379,348,320,437,483,514,500,398,438,491,513,455,349,310,326,345,311,313,281,270,278,329,340,340,317,312,371,448,686,706,487,420,439,412,419,472,474,535,691,642,677,1124,1028,735,811,871,817,889,734,656,841,984,1040,870,846,761,601,514,811,1074,1086,1096,1228,1518,1832,1776,1176,952,1030,866,706,631,637,712,763,1102,1380,1776,2102,2094,1934,1794,1742,1744,1488,1674,1670,1606,1522,1350,1136,1052,1100,1232,1024,753,636,1094,1550,1300,1384,1328,1366,1184,1098,1146,974,655,460,383,409,427,444,367,341,411,454,471,464,410,386,403,455,431,451,453,378,411,441,488,443,423,487,532,458,482,504,566,612,577,492,482,573,684,1060,961,792,649,572,609,727,1108,1152,777,690,724,644,711,1090,977,572,678,905,825,711,687,703,674,882,1140,1126,1102,1110,1154,1218,1158,1164,1042,913,1178,1334,1112,1366,1410,1284,1346,1494,1456,938,1112,1570,1512,959,541,959,1422,1510,1670,1638,1652,1470,1410,1354,1072,800,905,699,446,459,466,493,581,721,789,723,915,1010,1192,1304,1414,1484,1318,1016,1186,1306,1234,888,528,633,966,1230,1048,969,1026,989,1009,1064,1090,1364,1592,1028,869,995,603,793,683,429,315,294,444,601,545,681,1158,1332,1184,1102,1386,1118,714,767,982,1726,1538,735,537,526,843,1078,1060,1190,1054,1102,1150,1146,1122,996,717,727,807,921,863,594,412,530,507,456,430,386,426,473,422,469,625,759,728,955,1202,1014,947,1422,1226,894,660,583,1102,1164,803,739,560,391,419,429,502,1384,1356,1010,799,693,475,546,567,432,472,491,496,420,418,438,461,552,741,786,714,561,425,426,489,680,720,633,570,509,583,882,1066,943,1186,1258,1088,1080,821,696,1118,1106,788,475,429,722,987,736,526,838,792,713,1054,907,517,469,431,738,1010,1224,1304,1122,832,658,395,322,267,267,276,396,447,499,499,841,1092,1252,1204,929,889,1072,1042,1198,1476,1332,1318,1214,1274,1490,1320,1046,1040,1226,966,844,741,684,753,633,1096,783,617,687,956,1038,618,451,656,834,698,530,548,641,890,1088,926,866,863,1290,1658,1244,1194,1194,888,877,1168,1418,1554,1604,1538,1232,915,993,1282,1628,1490,1230,937,663,659,792,1086,673,396,516,459,898,1224,825,389,319,308,295,438,735,852,1260,1536,1322,1140,1002,1250,1610,1318,1406,1528,1416,1434,1396,1262,1610,1698,1542,1116,634,533,603,890,1338,1048,539,742,954,819,872,1042,991,1176,1072,806,627,529,475,534,631,896,1340,1454,1390,1146,1044,921,1190,1186,1376,1648,1588,1368,1100,926,1094,1390,1300,1194,1188,1256,1312,1328,1164,1202,1268,1138,1084,872,855,1018,899,947,993,974,944,912,1290,1484,1398,1322,1246,1222,1382,1394,1404,1556,1736,1620,1556,1508,1312,1388,1262,953,852,1021,1334,1320,1440,1368,1158,1480,1694,1046,668,584,466,388,344,364,393,339,395,406,396,364,346,346,376,354,339,329,323,314,320,329,354,347,375,446,767,1558,1632,1404,1426,1028,1026,897,740,918,1112,916,908,595,490,450,503,561,741,1172,1292,1290,1050,637,381,350,310,332,347,468,445,451,394,322,303,386,503,503,429,519,830,862,611,445,419,629,786,537,348,395,427,451,489,478,545,539,467,507,513,543,428,331,313,342,365,318,343,396,410,474,517,459,468,542,511,441,458,479,493,519,463,493,524,452,395,352,341,326,377,373,367,419,428,413,455,754,1426,1766,1666,1434,873,416,371,369,328,332,354,432,458,483,688,820,897,832,1318,1358,1228,1238,1276,1038,822,871,843,604,583,406,306,291,380,329,300,318,400,546,619,558,488,460,691,633,658,620,445,583,672,477,848,1050,962,1070,1188,1144,1038,1268,1396,1418,1620,1260,1164,1386,1384,1260,1096,1192,1316,1294,1410,1546,1048,672,484,478,473,863,1222,1356,1526,1542,1558,1582,1914,1510,1412,1302,1128,1266,1314,1524,1554,1266,1172,836,740,1092,946,720,595,515,462,630,544,851,1202,1186,1314,1564,1508,1340,1376,1324,1180,1218,1230,1272,1182,1122,918,797,929,917,774,828,933,783,857,1166,1276,890,888,1308,1250,917,836,1012,1290,1572,1472,1062,879,794,570,706,800,750,883,1512,1626,1368,1268,750,524,527,469,636,708,701,669,487,377,414,476,586,691,557,566,584,587,749,660,579,622,834,820,571,457,475,517,502,426,439,356,492,458,586,529,462,475,418,375,316,420,959,1336,1670,1828,1592,1648,1642,1370,1344,1228,877,715,582,549,952,733,434,416,562,736,530,466,518,415,426,745,808,856,929,703,835,1186,925,993,1026,968,1042,1092,1294,960,477,374,308,296,320,433,554,619,950,1056,1066,808,968,1068,714,570,553,666,781,867,931,923,903,752,885,1050,1122,1206,1190,1168,1104,1074,1252,1136,1232,1700,1102,850,810,633,368,415,780,1306,1176,719,573,458,472,592,760,886,1286,1390,1176,1182,1700,1794,1436,1362,1292,1218,1236,1236,987,1284,1152,1036,1192,1224,970,1104,1022,839,1084,1054,1240,1444,1092,700,736,902,673,442,750,828,482,586,969,653,466,835,745,444,574,850,948,741,548,525,591,627,582,404,396,476,445,396,397,330,311,404,1136,1600,1486,1214,678,514,461,520,540,667,497,459,471,453,427,683,865,748,645,568,1166,1468,1148,986,1068,1210,1224,1152,1122,1064,1194,1102,1078,1268,1116,1428,1096,845,1122,944,965,1108,1342,1410,1230,1180,1072,1130,1150,1066,582,818,1090,929,660,651,527,716,1106,1400,1186,999,1044,1010,939,869,821,885,1038,1182,1252,1426,1864,1870,1664,1500,1408,1566,1136,677,484,617,996,1122,1196,1040,999,1210,1300,1498,1742,1918,1888,1710,1208,888,851,785,807,863,772,836,1058,1142,1078,1038,1080,1044,976,1138,1622,1772,1728,1732,1826,1704,1494,1346,852,807,872,1023,909,1050,1362,1822,1546,910,1024,1266,1234,871,954,1011,897,736,633,993,922,778,1180,1444,1294,1268,1328,1256,1356,1124,806,972,1118,952,893,782,881,1094,1274,1194,716,521,680,894,1116,917,678,862,1250,1304,1434,1018,594,655,904,955,629,588,637,1015,1250,1050,610,435,362,379,401,656,1012,986,915,955,833,1184,1192,902,519,372,526,1036,1046,539,361,513,800,898,1092,1338,1328,877,1190,851,644,897,1048,1070,1166,1066,796,715,877,1484,1116,925,1048,1186,1158,982,1244,1824,1848,1448,1062,1126,1508,1522,1526,1562,872,516,1018,921,612,599,527,345,365,672,990,1084,1338,1068,1462,1532,928,878,1013,1096,1722,1964,1726,1606,1386,1082,605,592,617,547,517,555,598,558,487,456,438,443,508,556,535,581,665,649,659,583,568,593,519,446,437,404,479,519,527,526,474,453,541,578,634,601,556,518,543,694,567,478,762,731,599,580,507,565,601,572,465,413,558,636,556,617,676,691,730,772,662,617,462,373,432,552,538,501,525,499,529,495,403,383,365,383,413,449,543,583,750,890,528,466,511,658,1006,1328,1312,777,445,386,418,469,426,379,372,584,959,684,656,480,339,521,584,452,746,944,792,902,1156,935,852,1376,1172,1584,1264,596,561,1015,957,904,781,536,507,656,548,503,505,531,580,575,626,1028,1416,1244,1016,1082,952,909,806,1048,1292,1012,1164,1314,1302,1272,1274,1528,1664,1124,616,411,428,508,557,451,415,374,396,402,621,1360,1232,389,449,338,301,452,617,483,536,490,434,405,452,498,455,381,476,615,456,336,347,405,331,321,356,360,376,388,383,403,413,415,421,441,434,469,446,382,393,415,419,423,437,441,371,357,485,700,1180,1376,1150,1170,1003,832,763,1001,1230,1080,697,774,868,559,434,405,806,1114,839,619,406,654,1098,1126,945,539,529,810,916,556,547,1300,1416,1140,775,824,943,667,499,438,610,833,698,639,791,844,589,420,724,1188,1106,634,540,771,1226,1278,1328,793,677,799,708,714,668,745,1284,1292,958,1136,1066,916,1308,844,703,937,868,553,412,371,415,430,409,381,487,821,988,607,611,794,688,553,492,364,393,406,357,681,1576,1808,1372,988,886,1011,1020,651,595,807,913,882,647,404,400,414,399,397,397,809,934,1000,952,811,666,525,454,435,615,655,470,367,279,293,429,454,338,323,285,290,338,333,320],[264,263,352,469,469,505,536,446,327,276,303,343,409,437,386,407,435,405,441,477,401,445,510,421,372,357,383,427,416,389,374,357,371,410,418,408,448,467,406,364,375,343,312,322,345,350,350,399,429,462,561,561,435,373,381,386,384,365,352,329,436,590,692,635,459,471,391,409,370,325,325,364,334,329,358,391,351,395,505,392,353,353,345,396,412,534,508,456,469,523,481,397,412,412,392,631,720,746,1228,1007,828,1036,1014,811,844,870,783,658,859,992,840,836,689,736,730,708,648,890,1280,1484,1382,1524,1510,1062,846,970,962,988,785,619,592,748,754,623,989,1526,1650,1568,1368,1106,1236,1302,1210,1046,792,675,615,571,571,706,655,518,473,443,581,1048,822,898,861,890,1328,1456,1152,940,774,513,558,530,568,548,442,629,532,370,327,321,331,328,380,403,346,341,319,371,529,611,512,460,442,406,470,485,473,566,455,493,520,550,468,608,985,1204,1086,921,599,406,429,683,1106,908,650,837,870,969,990,926,695,453,659,774,672,612,840,912,698,967,1194,1240,1054,912,705,946,1162,1206,1128,1118,1172,1354,1266,1368,1356,1448,1494,1578,1226,1294,1742,1622,1434,1062,591,946,1498,1396,1212,1486,1650,1528,1456,1312,1122,938,756,581,463,342,362,348,549,760,849,795,646,871,1002,1120,1280,1316,977,977,1100,1140,1044,857,487,539,946,1122,703,614,772,956,1052,977,1194,1438,1322,963,1284,1398,980,968,714,410,332,372,548,572,567,1017,1296,1428,1434,1344,1246,1134,996,733,872,1386,1254,781,579,583,1130,1266,1052,985,861,1058,1332,1002,883,1060,960,956,1054,1038,591,391,415,633,543,480,442,370,356,394,516,629,661,650,529,614,990,1036,1120,1082,827,820,649,771,977,777,591,707,621,357,377,722,1188,1468,1036,611,477,449,447,462,402,404,699,555,418,419,467,595,607,719,833,698,461,428,437,437,469,623,697,611,517,529,518,631,759,836,1100,1238,1168,1074,1040,949,1118,1144,873,484,350,478,561,515,702,857,660,680,925,1182,990,636,549,716,830,973,945,822,891,803,616,414,291,249,250,320,396,551,647,937,975,1007,917,838,1200,1300,1432,1626,1514,973,989,793,1320,1510,1522,1588,1334,1158,1064,948,578,490,830,781,1130,1060,611,727,905,830,811,806,686,614,519,539,527,610,1086,1260,843,616,475,1024,1246,756,862,1102,1170,1198,1216,1434,1650,1342,1166,1368,1009,777,797,960,1074,949,785,1106,701,802,1220,661,518,766,746,661,699,803,651,285,300,469,877,1192,1220,1306,1104,1166,1074,1004,1302,1506,1694,1808,1704,1302,1204,1202,1040,1216,1606,1676,1364,869,952,1310,1332,1460,1060,590,777,1116,1126,1284,1122,966,1009,938,771,648,565,462,501,818,1356,1300,1302,1404,1196,1088,1092,1214,1368,1482,1600,1652,1522,1408,1440,1372,1424,1198,993,1001,1216,1350,1208,1210,1350,1232,1196,1074,644,706,875,822,891,991,1002,1002,1234,1614,1488,1308,1386,1516,1410,1506,1532,1578,1646,1660,1588,1576,1510,1428,1514,1428,1192,1134,1200,1374,1500,1460,1140,1162,1628,1626,1090,703,454,343,287,307,372,380,375,399,426,394,368,372,371,374,343,308,322,320,321,317,386,366,367,452,550,1100,1676,1574,1980,1600,650,521,398,433,538,647,573,509,363,346,413,473,554,979,1362,1180,1132,866,708,407,326,292,341,404,431,404,388,350,338,390,409,383,402,378,479,784,794,614,460,459,702,726,462,451,448,452,483,446,508,559,498,435,515,567,449,333,315,330,378,393,346,330,333,373,487,582,466,521,627,579,500,486,458,466,488,446,480,448,419,395,369,346,327,387,428,409,440,433,422,747,1466,1780,1690,1434,852,438,362,357,340,322,326,335,409,471,458,594,662,754,959,1658,1538,1272,1368,1310,1152,1088,1246,1042,824,969,605,418,403,364,315,305,344,365,420,608,869,788,436,514,320,329,364,344,461,419,311,705,1058,875,937,1100,1136,1360,1382,1284,1268,1340,1294,1252,1284,1214,1180,1262,1230,1076,1338,1494,1128,797,597,520,656,743,745,625,935,1494,1486,1412,1586,1960,1284,1011,1232,1274,1316,1236,1438,1470,1302,1382,1104,953,1192,1144,752,619,626,692,913,753,959,1270,1380,1728,1942,1300,956,1066,1112,1094,1188,1278,1194,963,1072,863,598,1154,1062,736,748,805,677,664,871,913,803,862,952,1212,1182,749,1094,1296,1108,923,1144,1302,1266,861,864,1132,1072,1182,1508,1500,1802,1578,744,455,373,367,500,666,650,510,401,350,463,728,930,941,525,521,708,1124,1276,839,525,508,674,776,672,659,647,555,487,449,483,501,536,423,385,444,603,556,368,345,301,418,1150,1716,1958,1708,1636,1682,1756,1448,1194,985,725,655,582,765,1092,729,450,370,429,708,705,484,375,344,384,461,463,641,756,670,748,1192,1334,973,752,1152,1210,919,927,694,529,354,275,270,276,375,516,548,576,855,992,680,714,786,782,1104,1334,1524,1512,1178,1154,1240,1078,750,1090,1648,1634,1200,1042,1146,1168,1216,1556,1622,1658,1688,1418,1064,992,688,343,399,684,1004,800,730,835,505,639,712,695,1030,1298,1444,1368,1378,1910,1816,1384,1246,1408,1520,1138,949,878,957,996,1220,1382,1306,1182,1016,916,908,844,904,849,1092,968,536,433,778,977,729,828,768,417,449,876,673,843,1180,852,540,651,1006,1009,681,514,515,448,527,509,419,453,519,372,333,338,328,295,317,723,1294,1394,1160,585,447,312,469,650,662,440,416,465,426,435,586,814,902,735,539,1092,995,831,789,1010,1348,1454,1382,1250,760,803,1194,1242,1220,1126,1500,1234,1054,1174,981,998,1248,1252,1310,1556,1286,944,998,1142,1034,995,1140,1162,1674,2360,1616,786,720,759,949,1042,1020,907,1138,1198,1176,1128,1160,1158,1236,1440,1730,1756,1512,1460,1668,1418,1472,1142,713,522,585,838,1062,1074,858,1014,1252,1226,1380,1638,1830,1904,1704,1392,1312,1184,975,882,663,695,860,932,995,1024,995,1011,1072,1114,1278,1522,1504,1288,1488,1814,1636,1332,1244,1124,1048,1142,1124,778,893,1238,1910,1758,678,659,1128,1414,1176,766,517,480,569,580,716,803,783,922,1034,1080,1174,1196,1200,1272,1254,1042,941,907,850,913,996,836,946,1260,977,418,435,562,590,989,864,829,780,948,1216,1470,1366,997,837,930,896,716,535,590,877,1194,843,513,487,379,425,416,547,583,542,639,1174,1130,829,869,1009,865,504,792,1504,1180,557,601,786,1124,1136,1154,1340,1266,896,833,800,909,1023,988,694,601,998,1188,905,991,1424,1184,1202,1001,994,954,800,828,989,1050,1310,1094,1328,1562,1704,1588,1042,615,762,1126,1009,966,1208,1044,430,608,882,1090,1810,2192,1508,1122,1009,822,729,650,526,758,1252,1548,1698,1230,741,568,550,533,522,520,578,624,599,562,528,428,370,397,560,513,577,637,631,590,560,560,599,524,422,439,432,524,558,567,464,378,398,450,555,588,505,482,473,542,650,627,534,668,674,525,470,526,559,599,597,709,758,653,619,613,673,729,772,988,849,862,796,559,421,412,398,455,516,608,578,608,599,462,396,358,360,395,458,536,488,527,619,651,486,574,760,798,1042,919,510,430,393,428,442,389,388,455,634,820,622,479,502,475,475,452,376,712,881,725,576,777,798,693,1278,1332,1038,669,596,965,793,473,736,717,594,656,733,564,507,479,490,539,477,556,833,1178,1278,1306,1534,1224,709,869,1228,1204,1052,948,1154,1280,1228,1296,1466,1154,805,462,579,868,1042,825,630,558,453,420,367,486,855,920,609,612,487,547,519,371,382,430,492,469,400,420,516,498,546,917,862,647,477,322,339,348,398,408,376,372,365,382,438,390,365,398,403,427,443,425,419,448,443,427,417,431,395,430,650,708,755,1544,1772,1434,1050,739,514,557,967,1220,844,499,590,744,821,615,602,1296,1766,1416,823,411,619,1072,1084,1002,838,744,715,879,564,613,809,1304,1484,746,785,1380,1378,1126,659,794,1058,696,668,1026,1016,1108,1276,1418,1452,893,360,340,670,1186,1292,849,700,841,848,877,870,612,393,395,498,1094,1378,1144,1384,1218,670,738,816,572,456,453,446,472,397,329,315,379,683,1202,1028,755,884,786,834,802,503,380,381,403,825,1844,1804,1232,868,990,921,969,691,480,766,920,798,631,465,443,456,409,390,662,1500,1186,912,916,908,763,631,612,670,1150,1216,846,468,482,338,481,594,463,295,264,293,294,305,305],[447,433,507,468,384,462,554,419,288,284,379,383,439,441,383,360,438,499,471,411,356,373,450,510,373,389,394,414,426,444,453,452,456,436,399,396,425,362,298,325,355,332,308,297,298,320,366,378,348,353,373,366,356,354,362,359,336,327,393,418,448,458,466,522,426,401,329,303,325,334,314,332,300,301,405,514,455,375,409,356,289,297,322,377,381,431,479,456,466,538,538,461,413,394,467,921,1186,1124,1144,963,1076,1324,1272,1146,968,589,567,561,742,1048,678,771,802,819,1070,782,326,581,1078,1148,836,705,616,550,548,653,731,903,1044,979,822,909,765,514,664,1170,1236,1206,1092,915,1034,1054,1011,796,430,309,544,1038,1100,851,623,792,653,443,471,640,771,1154,1174,1011,1142,1086,996,1038,898,742,771,870,1332,1009,682,642,429,315,317,317,315,320,392,374,316,288,314,416,561,537,589,669,524,441,468,538,692,984,533,647,912,880,713,806,1120,1228,1184,937,464,355,334,459,792,894,543,487,794,856,763,647,561,718,1014,1034,945,1064,1276,1192,961,1044,1084,1012,940,767,593,598,775,771,786,1176,1498,1414,1304,1116,1186,1306,1224,1246,1186,1472,1716,1244,852,694,728,1112,1066,839,1040,1522,1780,1684,1558,1500,1218,1048,793,657,363,337,385,372,677,960,1072,757,824,1096,863,778,1038,927,570,763,988,753,591,595,514,458,734,796,554,587,697,862,1212,1294,1216,1212,986,1166,1296,1212,952,828,865,647,464,436,568,508,589,1070,1338,1252,1252,1450,1290,868,664,906,1100,994,1208,999,699,600,1015,1088,761,981,1052,1096,1144,962,1216,1476,1654,1752,1104,1005,580,374,453,565,550,495,416,395,412,458,425,407,388,408,445,442,681,841,859,651,832,948,820,997,907,839,666,766,677,493,727,1140,1456,1450,1050,712,486,433,491,394,334,334,646,573,436,409,405,401,504,668,722,652,487,466,496,472,472,530,550,487,475,526,491,544,852,1048,1080,1038,932,946,1300,1190,1140,998,713,598,618,477,473,579,755,720,639,770,988,1334,1490,1007,729,800,914,826,661,718,682,385,581,817,405,214,241,253,361,937,1214,1026,691,421,640,822,885,946,1398,1184,1106,930,1092,1156,1326,1372,1430,1562,1088,677,784,953,873,824,1106,1106,1016,1002,792,908,1068,1040,1044,1246,1190,706,519,478,436,681,1128,1218,653,406,502,743,613,448,745,1170,1390,1480,1062,1104,1278,1106,1136,1318,1444,1382,969,1038,1192,987,925,1090,568,680,745,448,637,814,808,729,587,543,571,350,488,833,1180,1134,1156,1062,1012,1116,1012,1072,1352,1654,1564,1344,1350,1316,1172,1582,1168,860,1320,1594,1588,1478,1202,979,1214,1660,1142,683,745,929,1118,1162,846,714,831,970,797,544,486,437,612,1196,1404,1132,1138,1278,1202,1220,1394,1538,1474,1322,1390,1542,1390,1366,1366,1082,1512,1440,1056,1132,1164,1007,722,760,1170,1382,1328,1274,904,583,623,796,871,963,1023,1021,1206,1372,1266,1434,1538,1622,1420,1498,1574,1636,1636,1566,1556,1582,1466,1346,1322,1328,1380,1382,1236,1352,1526,1390,1210,1250,1290,1250,1200,733,457,364,318,365,450,426,377,477,582,506,442,423,386,386,358,327,346,349,350,370,448,409,409,561,783,1428,1382,1042,1224,763,425,385,376,390,390,396,348,357,355,360,361,379,543,1012,1188,831,741,822,858,473,281,291,372,465,484,432,418,421,419,416,405,348,367,486,650,727,729,720,653,641,765,586,437,413,437,459,498,472,501,486,395,479,578,437,333,315,309,292,310,321,361,401,389,393,466,491,487,519,479,487,544,499,416,473,503,502,509,402,387,412,398,372,352,372,409,409,409,455,854,1506,1804,1652,1346,807,423,361,339,326,318,336,358,320,316,363,438,531,564,550,888,1508,1624,1420,1334,1248,1260,1170,1354,1007,1011,1304,655,267,361,364,383,374,311,369,456,743,979,812,510,531,405,394,341,452,570,401,328,517,1000,946,1009,1238,1392,1336,1484,1502,1466,1504,1398,1278,1116,1184,1250,1578,1484,1376,1306,1154,833,744,566,455,451,580,700,572,542,1196,1736,1412,1210,1030,1218,1292,1292,1478,1562,1370,1462,1514,1346,1346,1232,1222,1136,1096,813,699,705,894,1092,1116,1144,1368,1802,2418,2532,1442,1334,1152,995,1092,1174,1260,1324,1380,1216,733,589,1238,1058,598,581,538,502,467,454,448,592,596,666,1208,1282,1358,1200,1020,658,1014,1446,1346,1194,1076,1196,1394,1292,1230,1218,1288,1400,843,434,468,460,367,397,576,561,454,436,416,484,716,715,596,415,427,745,1122,1066,632,427,462,500,750,724,535,572,514,511,449,624,675,680,660,585,572,565,462,372,355,377,378,838,1596,1698,1644,1740,1762,1634,1566,1246,703,605,683,628,1010,926,761,590,439,364,612,691,386,342,408,414,448,422,596,857,778,719,1038,1406,1324,1170,1176,1136,907,913,686,590,511,322,262,294,304,401,519,488,645,933,1084,1084,1116,1224,1296,1198,1250,1082,982,1114,1080,982,998,1074,1184,1250,1196,1416,1498,2098,2172,1748,1556,1466,1268,1310,1334,1066,465,328,369,456,755,885,1018,1152,805,808,850,914,1150,1288,1506,1414,1450,1832,1780,1338,1148,1228,1158,1036,1050,1162,1060,1094,1156,1224,1512,1566,854,824,1278,800,624,1150,1450,1226,1108,755,820,1034,728,735,630,657,516,540,566,1222,1228,824,850,998,978,797,613,552,576,388,449,491,344,515,455,316,317,331,322,356,337,488,789,828,724,686,688,540,656,618,406,325,395,465,444,523,445,505,724,1140,906,976,739,687,606,680,1170,1292,1384,1562,915,788,1306,1254,1172,1176,1250,1322,1120,932,787,736,911,813,906,1322,1258,1238,1094,1146,1034,941,1034,1262,2244,2612,1864,1200,909,1200,1021,1194,1226,1060,1188,1146,1188,1444,1510,1386,1516,1656,1516,1312,1278,1484,1666,1388,1282,1132,984,832,911,1200,1226,1042,929,890,991,1007,1188,1580,1860,1896,1774,1592,1332,1160,1176,1054,882,1078,1108,993,1072,1132,1104,1054,1178,1324,1166,1114,1230,1310,1636,1816,1658,1428,1256,1302,1286,984,694,545,719,1176,1330,920,606,570,807,1188,980,580,446,473,525,586,799,977,1042,1032,896,1172,1364,1172,995,1104,1196,1198,1182,1222,1038,830,945,903,1234,1036,732,408,424,572,717,831,839,1038,948,958,1158,1224,1352,1074,616,697,1010,930,614,458,745,1048,846,836,742,477,671,653,787,454,428,679,1268,1084,676,921,1382,1264,749,630,902,767,883,929,904,1228,1338,1064,939,1180,1182,935,971,814,672,872,595,586,965,1290,1116,1090,1396,1316,937,917,1064,1056,949,580,514,527,603,774,1338,1992,2176,1562,911,635,603,636,1018,1274,1466,1500,824,927,667,818,1390,1816,1494,1020,899,670,583,530,490,540,845,1170,1036,678,486,507,529,509,521,561,693,783,724,728,762,514,393,545,680,404,461,517,518,477,457,507,521,467,392,437,487,537,506,530,502,480,405,392,563,623,598,619,633,636,637,682,610,597,656,631,625,607,616,667,736,840,669,565,617,676,703,711,764,988,1102,1032,884,684,422,398,393,422,440,686,653,549,466,469,461,400,395,395,381,402,483,448,415,591,572,672,951,1070,1074,767,509,401,385,448,441,398,388,409,631,767,693,408,435,531,494,467,471,430,328,404,365,446,505,427,956,1328,747,310,528,629,548,588,796,781,545,560,741,855,684,548,544,475,355,448,642,939,957,758,947,1162,1062,1124,1080,1258,1416,1170,761,587,774,927,1214,1064,670,516,563,789,1362,998,727,689,504,350,420,717,753,611,522,505,761,983,699,382,303,396,476,370,387,352,403,403,331,651,545,479,403,342,354,418,538,599,627,528,442,399,463,435,398,382,381,403,411,411,411,400,408,420,382,361,323,456,704,678,655,1066,1356,1042,821,903,915,632,1094,1164,718,662,581,939,991,725,822,1320,2248,2374,1148,463,484,1148,1896,1228,1118,1004,905,777,441,462,362,565,786,509,796,1686,1554,1146,1056,1612,1280,767,830,1070,1232,1760,1874,1060,674,575,478,387,525,1492,1356,1036,1102,1072,929,1003,1013,987,704,461,496,1076,986,893,1212,919,740,819,713,434,391,400,349,425,346,335,329,460,1154,1318,1202,1246,1312,1009,767,1308,1350,477,460,409,504,1082,1170,637,596,664,641,651,496,453,489,656,764,789,680,503,474,384,275,662,1106,1056,808,801,929,780,685,698,772,1324,1338,1126,1006,616,328,477,591,652,588,331,309,274,315,295],[448,462,455,351,323,359,474,474,390,410,478,470,470,467,412,433,486,433,355,358,330,332,338,536,518,499,430,423,448,451,455,450,451,417,406,371,306,288,333,357,339,337,335,308,329,379,361,347,344,345,364,375,366,362,350,333,343,354,397,474,372,373,555,599,570,451,308,280,294,276,271,257,254,283,311,369,371,311,285,302,275,280,300,337,361,460,626,650,518,392,537,463,409,388,561,822,821,869,953,1072,1204,1210,1044,1088,941,775,645,737,833,987,661,813,816,865,1368,954,319,414,832,912,678,536,499,730,677,612,629,819,1448,1542,1002,1084,1204,1070,811,1260,967,858,1086,1072,1188,1318,1078,728,854,864,730,1310,1170,1244,1142,1274,988,782,955,993,1132,1482,1306,1288,1306,954,1334,1394,1354,1140,918,1024,921,664,526,416,358,334,330,305,308,338,383,371,314,274,321,413,611,1144,1620,1552,1398,908,631,625,887,1086,647,520,911,1042,994,960,696,694,846,706,438,364,366,378,499,632,540,461,735,984,736,403,526,691,668,657,846,1021,1340,1162,708,781,1001,965,887,998,738,684,974,599,662,1188,1280,1438,1328,1064,927,904,998,1266,1356,1258,1138,749,444,436,486,666,469,612,1002,1358,1694,1508,1318,1412,1278,1040,776,934,481,351,360,332,407,886,1366,1310,1360,1230,724,656,780,805,724,516,644,612,524,480,553,602,684,653,503,527,493,712,980,1100,1140,1204,1228,1216,720,865,893,945,1014,555,534,439,457,595,574,698,1232,1270,1162,1350,1394,1044,579,906,1250,1272,1274,1502,1116,691,717,774,731,939,1013,1174,1324,1344,1262,1078,1370,1642,1180,1172,789,373,437,484,495,478,478,482,471,538,460,343,305,353,373,431,622,874,1128,1102,1098,960,929,903,952,957,828,794,645,639,1254,1482,1086,944,736,755,698,563,475,523,530,392,429,483,525,520,483,432,386,513,593,539,502,444,460,561,562,536,569,582,557,500,465,789,1228,1230,1306,1166,815,1042,1280,1256,1206,1086,909,979,1062,767,607,632,670,813,1080,738,487,806,1034,865,912,1146,1072,676,444,397,677,661,995,1036,479,260,262,277,761,1484,1378,959,521,767,1066,1060,1282,1252,1146,909,1126,1220,1180,1246,1114,1120,1100,1192,1170,858,952,1242,1360,1188,1194,1092,990,1216,965,899,809,792,684,1012,1048,574,448,497,483,759,1182,1003,491,412,772,1056,858,802,1108,1226,1228,1188,894,630,813,1274,1238,1354,1422,1236,1418,1438,1144,1178,894,858,554,374,461,381,408,647,762,550,552,494,324,303,948,1158,880,1050,1156,971,1054,1174,1156,1218,1444,1770,1498,1118,972,1046,1592,1886,1208,731,1056,1220,1084,1520,1566,1224,991,1346,1354,1230,1052,949,1152,1366,1428,1000,872,1062,1136,956,882,783,708,1304,1554,1512,1160,907,978,1138,1432,1718,1542,1382,1212,1418,1154,1086,1440,1332,1620,1440,1264,1032,661,787,955,1050,1434,1338,1168,1150,1134,895,808,927,1102,1228,1238,1264,1282,1248,1294,1416,1524,1594,1502,1540,1394,1258,1406,1500,1444,1440,1524,1428,1466,1456,1474,1350,1264,1440,1330,1144,1252,1188,984,1060,1090,656,568,408,406,611,602,466,464,828,1040,705,476,431,383,375,372,365,355,359,350,375,418,407,429,587,1202,1524,935,680,492,304,373,397,370,363,362,349,343,352,402,469,408,409,482,667,649,524,563,602,628,448,362,421,509,546,449,350,394,405,463,505,444,413,418,495,536,502,583,666,692,788,833,498,504,572,558,498,496,524,549,548,488,531,529,380,329,310,313,298,305,332,354,418,466,444,415,451,483,459,397,466,546,551,452,459,504,489,435,397,419,422,393,366,356,372,407,422,472,854,1534,1788,1638,1350,815,445,378,337,325,306,340,342,358,325,286,332,418,639,806,716,797,1256,1600,1632,1600,1330,1264,1268,1368,1019,1246,1360,688,263,317,326,367,340,333,346,402,798,794,420,343,428,436,462,399,504,711,654,568,449,951,904,893,1266,1352,1224,1486,1604,1694,1528,1276,1142,1034,997,899,1404,1238,1194,1136,894,807,744,538,372,396,595,846,610,396,616,1140,1390,1100,1090,1344,1390,1246,1368,1486,1414,1368,1404,1238,1208,1250,1084,1080,1174,1048,917,829,857,969,1176,1056,1128,1256,1600,1572,1078,1410,1340,1258,1258,1164,1250,1328,952,897,608,534,888,1011,766,716,565,404,493,525,585,699,550,725,1016,1086,1526,1202,616,639,1182,1290,1018,886,940,1122,958,822,1146,1098,912,583,496,480,507,469,412,541,646,585,547,510,431,413,455,469,719,747,436,824,1330,1174,725,331,367,480,826,722,481,465,568,745,736,600,634,811,841,927,1090,838,549,349,314,337,422,647,1076,1508,1666,1666,1722,1586,1414,1280,735,552,692,905,1416,1248,836,678,579,410,547,752,523,414,534,452,433,416,761,1044,769,556,830,1198,1204,1040,962,1032,1005,1084,1144,1164,1116,621,348,368,317,301,363,390,368,606,1068,955,879,1046,1464,1346,1078,807,872,1136,978,729,830,786,944,1242,1396,1632,1528,1432,1170,943,1104,1302,1262,1168,1258,1038,564,372,533,836,929,980,1208,1410,1046,819,1058,1206,1172,1318,1550,1440,1096,1104,1604,1438,1308,1170,980,940,982,1005,927,919,1166,1396,1246,1094,545,672,1208,688,631,1442,1520,1252,1270,910,921,583,711,907,500,644,697,500,493,670,645,648,826,916,780,680,623,786,783,524,532,483,318,302,335,328,293,272,339,408,337,356,449,503,625,781,960,1184,1021,724,785,536,499,658,769,830,727,530,437,642,934,895,623,668,728,920,1090,1186,1362,1698,1358,1296,1300,1416,1362,1274,1228,1216,1044,772,660,442,593,716,810,1202,1078,1036,1094,1268,1182,1058,1076,1400,2436,2714,1510,982,871,1218,1256,1378,1250,1172,1062,821,854,1236,1632,2008,1762,1490,1290,1216,1264,1278,1376,1338,1228,1076,950,966,1023,1238,1164,1144,1060,1068,1222,1126,1238,1656,1858,1852,1688,1594,1552,1162,1110,1168,1050,969,1021,1058,1126,1086,1013,1024,1112,1194,1088,1186,1306,1346,1510,1562,1472,1512,1202,1040,1102,797,583,504,585,1016,1030,693,544,561,623,1066,947,593,593,745,840,954,1068,1130,1238,1148,1036,1168,1214,1070,1014,1176,1236,1240,1262,1234,971,696,740,869,1338,1098,960,595,444,566,785,829,1023,1238,1122,1264,1108,985,1360,1230,697,681,921,861,634,408,728,1250,1202,1088,642,516,909,1102,1266,869,835,1152,1292,1080,1078,1410,1440,1228,899,670,943,849,1058,1072,799,767,767,662,599,720,888,1026,1036,741,767,1208,1030,1024,894,1134,1064,997,1132,1110,841,835,756,1180,1386,837,637,573,412,841,1642,2026,1660,1040,745,1034,1178,797,1558,1406,1620,1664,1254,1015,825,841,1274,1460,1084,1290,1226,615,484,461,486,644,758,895,658,423,412,500,516,550,564,624,860,929,897,782,725,476,394,427,375,389,459,464,474,464,453,464,446,460,463,466,516,520,420,444,505,529,445,388,500,548,497,590,604,642,625,567,591,648,686,688,677,662,667,648,562,523,544,592,662,811,816,692,727,885,983,1044,876,539,430,403,403,417,436,565,554,475,387,373,424,495,462,413,361,387,561,477,433,436,470,686,963,860,659,633,575,435,386,369,412,377,365,403,610,736,731,654,470,493,504,486,507,521,518,452,381,496,497,326,713,1172,894,501,594,619,642,777,835,550,352,400,970,1480,1238,801,580,423,346,389,586,972,692,425,565,1078,1526,1346,1116,1268,1410,1164,844,508,408,430,703,584,350,349,326,396,454,335,442,655,727,388,759,2004,1438,672,483,351,587,614,397,424,489,485,651,481,372,293,321,349,356,380,419,449,381,357,366,429,620,739,809,571,386,344,407,455,453,393,393,413,391,391,398,391,396,435,403,373,389,500,674,672,689,865,781,710,736,697,848,508,738,1150,1012,923,962,1570,1244,603,898,1178,1504,1510,544,422,531,1728,2712,1604,942,747,715,667,510,398,389,388,432,476,572,890,786,868,1204,1558,1426,1060,922,834,829,1302,1282,638,1042,1100,718,517,609,996,1082,1106,1112,942,709,739,674,1212,1472,714,393,658,648,694,702,723,728,658,562,468,487,547,511,381,320,350,309,819,1288,1394,1282,993,1062,1138,1088,1312,750,412,426,458,489,592,481,633,823,524,403,412,415,440,477,554,676,813,678,448,423,416,336,479,918,1228,1268,938,852,851,749,730,920,1222,992,807,902,579,453,513,470,977,1190,485,266,307,321,276],[446,365,324,296,272,344,483,600,546,486,496,478,466,470,421,379,331,328,352,318,358,366,376,455,600,606,434,430,471,442,433,419,447,440,394,343,318,351,433,428,346,349,393,400,369,365,351,361,370,373,378,370,366,357,354,378,422,401,431,501,386,484,666,637,559,442,323,305,289,254,312,458,495,386,472,388,383,317,300,324,336,346,336,342,386,526,724,583,461,262,371,447,693,876,618,919,1206,1038,1112,1328,1208,1130,834,1238,1194,1172,990,976,814,670,525,601,558,648,857,491,276,329,764,623,623,576,427,599,661,692,938,1214,1642,1274,922,769,985,1322,814,929,691,671,1028,1148,1072,1094,686,821,1522,1656,971,998,993,1028,1266,1160,814,840,1130,1134,1204,1226,988,1172,1232,1200,1390,1702,1738,1204,1058,1132,1164,970,594,495,371,373,335,303,404,445,409,401,343,233,276,388,529,862,1252,1988,2260,1670,843,738,933,895,979,913,781,690,824,913,556,702,790,717,452,388,409,386,429,462,506,522,615,693,530,435,518,763,851,505,714,841,1022,879,821,766,990,1206,914,977,823,871,927,839,976,1062,1120,1200,953,846,867,713,639,776,848,1062,752,426,321,420,432,394,389,630,983,1180,1278,1110,1188,985,1310,1432,1072,707,452,356,333,366,644,1108,1180,1094,1220,1236,798,652,619,763,790,561,429,512,639,587,582,532,589,637,557,717,691,614,764,861,1152,1234,1238,960,935,1708,1010,832,807,552,600,521,558,1001,1074,837,935,1002,1001,990,1208,1174,1044,904,1050,1098,1052,1458,1058,519,509,695,1092,1270,893,1072,1344,756,625,908,1412,1474,887,999,874,351,363,416,462,471,519,568,566,650,725,646,699,888,688,614,1009,1020,1110,883,1156,1160,951,661,558,729,695,597,515,602,1202,1500,1250,923,844,709,595,695,613,694,745,590,487,617,563,539,696,616,449,684,753,690,654,555,487,502,525,539,522,467,599,636,588,946,1266,1332,1300,1404,1206,903,955,976,745,774,1114,1336,1250,1108,931,590,521,788,984,572,340,487,583,636,891,1050,818,623,424,400,411,620,1138,1002,509,350,265,304,671,955,1056,992,777,1114,1148,1224,1318,1256,1330,1214,1276,1310,1256,1182,893,660,849,1060,1268,1034,1106,1272,1292,1106,1200,1096,1064,1258,767,713,965,631,418,583,760,709,636,633,627,604,837,902,641,601,1290,1318,1306,1012,1010,1320,1238,1178,1210,885,1034,1410,1222,1460,886,683,1310,1292,937,811,1056,1354,772,409,426,289,328,523,423,440,473,364,287,423,1202,1450,1154,1042,1000,918,979,1108,1378,1188,1220,1568,1316,1382,1520,1690,2236,2056,1160,1014,1566,1308,927,1158,1650,1576,1194,933,1106,1420,1354,1290,1352,1202,1028,772,1088,1092,1092,952,752,738,679,937,1414,1660,1266,902,889,1003,1410,1600,1404,1354,1400,1510,1522,1422,1306,1506,1574,1342,1252,1144,863,1010,1212,1098,1334,1104,913,1020,1212,1196,1116,1080,1272,1444,1518,1370,1268,1410,1522,1524,1524,1592,1610,1540,1288,1246,1464,1562,1366,1096,1340,1354,1414,1394,1326,1290,1330,1432,1288,1176,1128,1164,1130,1009,1052,806,713,789,808,959,800,464,647,1078,1130,717,442,413,361,368,371,385,391,371,371,386,397,422,480,926,1580,1096,619,713,576,448,394,374,355,351,349,347,343,365,440,401,393,442,479,469,456,469,440,403,435,488,533,619,624,576,496,434,406,410,425,392,350,445,492,505,507,448,500,524,621,844,724,503,502,517,511,501,520,595,681,681,528,506,483,374,337,336,329,319,317,350,412,471,492,472,374,373,451,501,464,492,499,497,434,469,524,505,472,458,456,444,411,383,384,394,437,475,876,1556,1786,1606,1334,799,411,363,340,353,374,334,374,380,368,333,299,335,444,754,1046,976,786,1013,1606,1818,1830,1516,1428,1520,1366,970,812,958,739,354,339,362,357,329,315,350,365,498,473,344,350,452,536,547,624,504,697,848,1018,657,1021,1124,1132,1116,1118,1320,1390,1404,1324,1206,1132,1188,763,664,752,1088,914,882,1092,841,700,765,740,463,467,750,874,573,513,616,1021,1142,947,1176,1492,1444,1284,1450,1538,1448,1422,1500,1212,977,1020,1138,1190,990,808,787,988,896,783,767,821,1142,1066,1064,1308,1170,1196,1318,1058,977,1252,1616,1644,1007,1144,1250,920,951,915,670,709,633,549,705,772,808,1007,1202,1092,1062,1134,1234,894,530,766,1019,792,612,574,594,710,848,915,935,847,720,667,583,443,384,433,646,698,703,615,501,425,351,349,308,499,1400,1644,763,537,722,1178,818,333,370,434,859,821,670,653,638,663,673,695,742,780,1104,1252,1011,799,692,537,390,366,435,583,722,946,1432,1768,1586,1470,1502,1378,1170,1004,714,1023,1566,1400,1003,652,513,412,478,703,703,555,482,456,539,575,753,828,638,497,697,756,752,924,902,977,993,1200,1346,1550,1454,1058,768,613,396,368,401,495,774,825,992,1160,1116,1082,1426,1420,1132,926,916,867,681,568,713,823,709,870,926,996,1246,1206,988,834,1028,1470,1476,1192,1146,1126,722,434,861,1180,951,733,1148,1754,1332,924,1130,1244,1706,1946,1424,1222,1128,954,1410,1568,1388,1164,1042,1074,707,499,683,824,1178,1044,863,763,653,955,945,525,940,1638,1388,883,789,697,670,522,632,579,419,610,813,822,811,839,729,637,726,697,507,483,510,563,496,437,434,379,326,302,358,316,282,320,331,364,372,378,468,570,693,764,999,1090,695,613,742,529,676,1009,1136,1108,1036,684,448,826,1288,898,536,471,785,954,1078,1500,1520,1344,1278,1056,883,1146,1302,1210,1132,1184,1132,774,556,526,528,604,799,1130,1012,1066,1328,1266,1314,1926,2260,2100,2278,2340,1140,537,797,1058,1130,1172,1184,1216,1150,1016,950,1148,1584,1510,1180,1021,1262,1378,1206,1052,1094,1244,1312,1178,1021,1142,1344,1736,1176,1114,1156,1252,1216,1048,1434,1740,1788,1802,1592,1538,1590,1224,1174,1142,943,868,854,905,1094,1310,1264,1024,960,1028,1024,1406,1626,1496,1426,1390,1420,1626,1566,1626,1618,1070,677,494,461,636,588,618,885,1224,1296,1290,1060,1036,1042,1222,1236,1232,1112,1042,1226,1156,1246,1290,1084,1028,1120,1212,1172,1272,1192,896,749,698,810,926,1180,1560,1488,931,593,647,707,626,623,610,663,850,849,777,880,1200,974,689,594,569,597,465,734,1346,1290,1162,562,487,888,934,907,965,990,1178,1522,1194,1010,1074,1118,962,884,969,1002,1034,1023,836,1172,1176,630,445,461,450,649,829,913,847,1003,1214,1074,914,718,641,675,679,850,1082,696,721,793,1536,1870,1490,1028,592,507,1156,1818,1692,1160,652,655,1024,1154,1078,1704,1284,1256,1224,882,763,810,1032,1384,1336,1468,1790,1144,648,498,423,462,513,500,804,976,721,467,507,527,521,491,709,992,1082,1082,884,691,551,575,554,450,440,497,464,463,455,479,478,497,486,446,451,478,499,507,494,462,408,507,524,480,439,448,580,571,604,609,583,573,622,648,599,613,696,673,678,601,543,686,761,816,915,841,613,589,786,915,940,697,442,375,377,410,395,421,454,436,419,396,396,463,584,499,413,346,325,513,554,469,367,308,785,1268,916,586,599,534,491,489,402,383,355,349,374,460,491,692,897,544,540,523,507,463,530,539,539,525,472,448,744,963,1076,1038,535,427,378,548,680,615,390,398,371,740,1356,1454,1296,929,611,401,389,448,589,477,375,479,955,1228,1410,1422,1178,1168,1224,1596,1124,582,421,469,378,319,303,335,370,317,319,369,506,582,766,1522,2280,1074,847,833,505,418,370,494,838,1158,1014,697,554,476,326,278,349,421,464,484,434,452,510,575,505,567,711,689,495,320,362,484,541,525,462,418,408,367,400,421,411,381,403,408,396,364,421,540,652,835,758,568,525,481,642,533,479,512,542,618,718,897,1090,924,764,1132,1070,974,693,406,396,664,1334,1608,1162,655,511,461,504,653,657,496,379,480,539,521,403,639,1230,1570,1184,673,671,771,893,783,1166,1116,938,1258,1272,1009,874,796,1001,1338,1152,780,791,741,576,648,1486,1460,780,473,610,719,565,610,748,572,618,686,566,631,702,505,346,339,350,458,748,1024,1186,783,921,937,670,1086,1136,612,389,444,664,825,696,531,913,1046,827,370,337,377,412,405,387,440,538,554,619,607,459,368,318,316,530,1013,1448,1198,965,929,937,831,979,1002,565,586,421,479,586,707,891,759,379,224,303,298,247],[419,332,359,467,525,517,572,615,552,481,461,456,465,526,425,318,251,437,389,328,390,404,395,374,532,643,503,462,487,446,436,402,468,415,344,329,354,427,535,538,404,361,391,383,341,341,346,357,359,364,365,356,361,373,414,464,477,385,373,382,448,599,614,525,421,350,311,304,304,289,349,541,402,506,763,616,458,347,306,336,406,455,385,349,389,491,591,476,452,429,374,322,1198,1444,760,728,929,1206,1178,1528,1490,1126,1224,1510,1448,1440,1364,1210,904,555,337,531,1156,893,383,271,276,266,648,992,870,437,365,521,417,592,1144,1462,1076,928,895,525,672,852,618,585,486,502,874,1130,1206,1314,984,1220,1470,933,722,1038,1344,1312,1074,841,710,630,1052,1116,921,763,1188,1468,1422,1400,1164,1578,1562,1190,1021,829,1048,1114,816,590,421,419,376,391,501,465,416,482,419,230,293,365,306,386,398,514,778,927,669,711,623,695,1016,1030,565,446,727,940,741,1156,1052,905,634,503,425,438,463,516,508,463,551,655,514,462,472,643,686,555,537,736,934,978,1098,698,547,592,721,816,794,1009,1180,1050,1018,968,1112,1034,777,762,882,709,618,856,1072,1296,911,675,631,505,384,373,470,888,1216,1198,1023,793,1032,1162,1170,1176,1352,1262,750,436,560,894,1270,1452,1692,1250,1344,1428,1138,649,628,770,625,453,416,649,865,914,756,497,605,791,717,660,797,778,1092,1470,1376,890,684,585,667,865,691,850,926,711,499,510,926,1172,922,827,954,1042,1140,1162,1186,1160,1148,824,1022,777,581,880,763,449,561,922,1148,1476,1054,799,699,564,651,1186,2090,1826,738,786,714,388,377,387,359,451,649,689,609,698,1110,1276,1228,1396,1174,1068,919,800,1140,894,958,1162,1104,872,543,473,490,497,568,744,938,995,1260,1426,1282,1062,766,505,431,420,540,717,983,1068,1046,948,589,466,507,714,791,761,791,798,702,590,488,404,332,320,394,541,693,902,1006,1092,1354,1700,1548,1066,837,673,521,546,1050,1332,1262,1206,1144,953,680,845,988,744,409,395,433,452,871,1208,1006,686,468,613,485,332,497,416,305,294,261,513,858,885,1058,949,980,1090,1152,1314,1266,1310,1394,1042,1148,1230,1200,1200,1010,839,910,1228,1390,1416,1364,1310,1126,785,1128,1192,757,614,582,720,914,748,656,713,826,1154,1130,964,1246,1098,1013,1170,1046,974,1274,1240,1354,1114,1202,1320,1013,1032,997,903,1054,985,1018,915,539,961,1444,1142,882,904,1396,1560,786,375,352,253,289,360,514,569,449,334,300,496,923,990,708,623,623,1030,1256,1394,1312,1018,1018,1322,1292,1416,1584,1404,1410,1124,750,1444,1952,2242,1602,1168,1446,1610,1688,1382,1084,1128,1068,966,1230,1216,683,1001,1184,1112,1140,848,391,582,954,1021,1318,1512,1172,1092,1116,1294,1450,1466,1474,1498,1510,1616,1616,1466,1432,1490,1566,1578,1228,1280,1026,951,1174,1250,1198,1090,1182,1324,1492,1230,1016,1066,1310,1542,1584,1534,1458,1536,1614,1564,1534,1488,1500,1354,1188,1650,1824,1582,1478,1246,1122,1202,1304,1230,1368,1550,1416,1294,1302,1320,1376,1482,1488,1308,1426,1212,1028,1204,1005,559,477,542,842,1182,1346,1190,573,426,459,422,356,362,375,380,348,354,403,433,619,1402,1504,1140,957,729,584,451,394,427,383,379,357,349,361,384,517,487,448,456,531,472,542,638,478,409,425,507,582,552,486,490,597,576,466,386,382,363,341,394,511,541,440,454,473,466,565,908,754,559,570,476,458,534,558,590,661,625,524,536,469,412,386,358,342,336,325,335,392,412,444,507,489,433,502,523,483,480,436,421,444,477,505,497,469,462,469,501,437,390,390,374,455,908,1582,1826,1668,1330,703,386,355,322,298,402,400,348,380,404,394,353,349,378,546,921,996,891,739,792,1478,1758,1814,1692,1566,1506,1368,1080,878,1372,1176,432,397,414,386,644,864,865,766,522,322,366,352,440,547,661,633,401,451,492,630,647,886,1344,1620,1518,1302,1180,982,1082,1044,1230,813,640,458,420,525,1014,1324,1428,1144,775,832,856,833,701,467,489,727,988,841,839,1246,1274,1096,1252,1516,1600,1510,1382,1522,1578,2256,1908,1236,1108,1152,1184,1052,705,565,860,1576,904,823,852,904,1246,1216,1148,1296,1288,1186,1296,1316,1314,1362,1686,1356,926,1152,1242,1108,1098,783,626,690,689,796,1036,1188,1072,1186,1352,1144,1128,1114,957,545,471,653,867,768,912,887,568,529,805,1038,992,785,865,1140,841,494,478,1028,1292,1016,756,580,466,477,718,840,544,356,918,1250,660,473,540,983,545,354,511,522,834,932,580,413,579,941,1118,1298,1428,1640,1798,1670,1246,883,742,637,462,415,461,519,601,845,984,1484,1556,1300,1308,1404,1386,1196,1200,1390,1522,1372,1048,545,391,391,453,555,758,695,478,427,740,918,896,1216,1128,792,604,548,651,929,1060,1114,984,1196,1362,1284,1282,1282,1144,837,537,388,440,539,1274,1238,1004,943,927,1028,1262,1484,1132,1015,905,608,605,582,677,1056,832,695,784,789,933,1070,1074,1013,1222,1236,1280,1040,1104,1021,660,417,756,943,915,941,1198,1656,1290,886,826,1284,2096,1780,1714,1522,1470,1402,1514,1694,1438,1100,839,746,510,533,771,1116,1116,990,1256,1342,959,955,1064,857,1330,1428,1152,1042,769,603,640,879,734,478,464,589,908,953,953,862,690,815,1064,1012,741,574,527,521,476,409,344,473,612,390,363,336,284,327,326,347,390,407,362,403,534,640,796,626,563,716,820,589,692,805,688,642,720,878,895,980,938,502,415,388,538,708,1050,1398,1638,1716,1230,555,592,1174,1414,1310,1230,1098,1082,952,888,763,711,1026,1124,1005,867,1015,1556,1316,1294,2176,2454,2430,2292,1892,1012,529,870,1040,664,760,1046,1164,1174,1296,1430,1430,1350,978,863,962,1128,1324,1336,973,925,1188,1202,1242,1314,1146,1134,1148,1044,1132,1232,1296,1130,1144,1718,1714,1782,1846,1672,1616,1596,1228,1158,1208,1058,982,996,1142,1192,1594,1382,1128,1062,1162,1366,1636,1688,1522,1300,1186,1380,1448,1370,1416,1354,1212,814,508,445,472,577,988,1648,1936,1866,1594,1024,1190,1256,1044,1080,1128,1208,1220,1210,1532,1960,1568,1212,1448,1422,1280,1172,1354,1086,741,645,738,794,931,999,1238,1424,1090,774,664,683,626,436,389,596,971,1144,812,594,1019,1166,608,577,850,755,528,764,984,1088,1234,835,787,814,579,519,954,1260,1576,1826,1122,825,835,835,785,814,960,1072,1366,1074,951,1298,1156,645,341,327,390,630,805,995,930,1358,1592,1244,1092,966,800,586,553,432,525,541,498,1184,1804,1652,1176,964,808,520,766,1180,1304,695,524,502,700,1070,929,819,971,1015,943,960,801,575,589,735,1138,1462,1046,687,857,835,621,524,429,486,652,725,630,521,485,519,505,547,821,986,1064,1060,929,792,697,635,592,473,405,439,423,429,455,440,465,498,477,456,473,475,502,535,527,509,471,510,545,538,510,583,614,592,573,567,592,604,630,537,582,680,719,697,689,646,620,637,708,812,880,783,563,463,651,859,689,465,415,397,363,383,425,451,459,454,451,348,354,505,581,488,393,343,321,405,551,590,395,677,1602,1314,775,633,623,670,770,717,458,337,362,414,444,467,504,802,670,483,507,476,474,458,493,554,539,505,416,650,1246,963,1086,1228,849,603,464,814,890,645,376,418,457,569,693,807,1002,1072,650,453,466,474,578,554,423,600,777,816,1252,1288,1114,1138,1188,1504,1328,835,458,342,321,261,265,330,338,297,335,374,433,706,974,1612,1160,818,1230,1034,782,563,388,400,882,1136,948,509,414,555,522,361,394,597,735,863,1170,1026,803,894,714,680,718,688,528,391,545,777,667,566,510,445,400,360,408,473,448,389,408,437,360,303,359,389,484,692,551,515,551,752,773,509,459,460,393,397,648,800,773,435,713,1192,752,797,1064,779,485,1021,1428,955,813,641,529,495,385,442,617,764,673,621,525,430,400,539,794,969,953,1048,860,645,801,730,886,1100,888,596,552,861,1140,1076,1172,1136,959,809,761,592,437,775,1418,1284,800,395,480,617,686,769,819,454,624,844,868,771,626,403,349,357,316,350,373,618,712,366,361,353,264,434,828,915,642,612,912,916,620,558,770,692,569,330,419,467,427,380,365,361,390,567,822,857,774,677,456,393,329,385,603,673,794,939,988,819,1160,1300,722,674,505,532,582,678,557,415,334,243,254,333,400],[282,283,449,609,591,505,497,525,531,510,450,498,531,462,373,302,280,743,646,368,417,443,429,445,467,490,563,490,462,497,491,487,438,369,356,376,470,555,594,469,377,408,374,303,301,326,337,365,354,334,344,343,375,459,541,540,437,366,340,378,599,626,528,451,378,291,286,289,269,270,313,329,264,291,446,485,417,416,386,393,455,468,415,364,346,480,625,736,875,620,615,884,807,957,1040,960,1006,1318,1150,1218,1080,1130,1430,1392,1296,1324,1384,1360,1024,510,497,839,1392,816,406,364,316,358,392,498,422,330,651,905,498,477,596,962,1056,1078,651,348,430,486,464,433,381,378,391,527,998,1152,957,948,825,456,452,815,1136,1014,1112,1332,1098,1000,1294,805,624,794,1294,1512,1512,1330,1272,1250,1224,1180,892,630,1178,1352,890,508,436,491,433,426,441,368,309,469,448,227,243,274,214,270,323,375,397,363,492,633,771,800,1076,1434,1218,888,852,847,1322,1148,864,773,669,627,728,738,593,484,415,414,495,617,541,420,363,431,509,582,661,894,1096,882,737,609,523,777,786,681,648,842,786,659,655,756,1200,1340,1240,1270,1122,1082,878,1166,1390,1060,695,741,786,809,777,597,770,1156,1116,1108,848,625,767,1134,1108,943,1246,1430,1216,890,1122,1230,1262,1560,1986,1556,1584,1588,1084,585,504,600,637,415,474,1042,963,927,741,1090,1228,1076,1158,1140,886,772,1019,1332,1164,845,650,541,625,568,551,726,887,894,704,716,1007,1278,1398,1020,1058,1240,987,897,748,792,597,567,865,863,977,1120,804,639,811,1322,1826,1554,927,618,517,504,630,856,1007,760,512,545,575,527,515,430,361,504,686,590,451,738,1220,1072,1128,1408,1198,1282,980,786,997,1066,1184,1118,918,624,483,441,357,403,637,1007,998,1078,1282,1306,1128,1110,801,457,480,512,526,555,891,997,1224,1076,580,509,611,670,721,741,818,821,796,831,692,523,333,334,454,520,644,842,865,904,1290,1688,1876,1884,1170,843,694,549,1023,1172,1200,1222,1594,1738,1256,982,996,1120,966,669,503,466,946,1432,1386,1042,924,976,632,326,294,305,290,266,291,635,880,1168,999,1015,1262,1150,1122,1286,883,794,952,922,1116,1182,1130,952,905,1002,1094,1232,1140,1102,1456,2010,1294,832,1090,1164,1062,1032,916,1032,1218,896,755,822,948,1212,946,927,1208,1158,835,1064,901,884,1072,1084,1100,1054,1310,1272,1040,883,1074,947,661,476,539,427,645,1250,1406,1084,1032,1076,1354,1112,473,314,302,318,331,319,447,509,349,309,322,318,582,895,619,422,683,1300,1456,1720,1464,1094,1150,1456,1342,901,912,841,801,557,1150,1952,1840,1846,1486,1368,1540,1640,1682,1622,1598,1246,883,905,1060,1108,788,972,1118,1056,1030,704,402,747,1108,1092,1272,1216,1158,1266,1376,1324,1372,1518,1554,1510,1538,1560,1516,1538,1514,1516,1590,1426,990,1184,984,1024,1248,1410,1232,1144,1168,1088,1268,985,716,777,1090,1290,1368,1700,1716,1654,1622,1538,1532,1450,1272,1202,1148,1406,1290,1382,1566,1558,1430,1220,1096,1196,1470,1420,1160,1116,1322,1222,1386,1456,1472,1236,1140,1168,954,902,914,655,670,951,1108,1352,1696,1094,536,489,662,620,410,350,339,337,354,373,409,469,954,1524,1260,1308,1298,832,473,368,350,384,392,407,350,357,380,418,590,648,598,541,473,409,567,771,686,628,569,467,397,350,329,414,624,798,609,357,347,351,342,364,404,409,388,435,461,484,553,855,780,530,560,570,575,573,560,590,609,576,594,565,551,491,391,368,357,368,364,376,453,489,509,532,500,455,465,466,448,394,335,403,545,556,514,486,466,469,481,475,460,457,393,439,930,1604,1802,1644,1310,719,404,367,340,326,316,323,330,335,329,339,385,349,375,415,604,949,997,858,715,598,1158,1734,1792,1692,1594,1544,1438,1166,847,1260,1126,522,382,578,614,922,1248,1182,1096,799,426,379,379,471,623,790,657,538,565,722,1094,1142,1058,1336,1614,1494,1120,888,761,839,607,937,719,435,594,546,544,885,1172,1160,722,856,1104,991,832,769,637,434,580,766,850,996,1140,1506,1386,1436,1664,1722,1454,1234,1412,1538,1782,1736,1450,1228,1228,1276,1072,1150,1050,1096,1826,1266,1220,1128,891,959,884,1224,1340,1278,1250,1390,1470,1396,1480,1208,671,497,639,771,879,985,761,741,750,647,897,882,979,803,820,957,1070,1023,959,793,542,558,389,713,1068,1472,1100,762,894,1026,1116,1198,1021,808,1252,1290,673,652,1440,1712,1272,783,549,510,740,1138,1003,685,420,423,335,424,514,448,502,626,653,1038,1082,907,1202,937,754,921,1910,2192,2286,2348,2404,2224,1992,1606,1118,715,520,392,412,439,520,554,639,483,823,1254,1060,943,1300,979,752,1226,1580,1604,1478,1120,652,424,373,435,524,617,694,674,467,578,853,1005,1110,1112,891,489,609,966,1188,1382,1184,788,943,1128,1160,1454,1750,1526,1056,585,418,638,764,932,797,816,946,883,833,882,766,619,890,843,564,846,1076,912,1100,943,913,984,539,567,929,1040,1126,1384,1264,1786,1272,1072,890,550,443,586,738,833,662,774,915,901,599,495,959,1158,829,1134,1182,1162,1290,1334,1674,1398,1044,852,697,671,767,697,1074,1150,792,932,1116,1144,1266,1182,1056,1298,933,1104,1412,1078,960,1224,1274,970,469,438,535,707,602,1126,1058,775,1078,1390,1456,1200,761,540,509,452,423,346,476,887,566,367,348,298,337,341,332,374,372,359,455,494,550,855,1150,1036,745,827,774,767,761,786,815,815,1158,1080,839,976,786,515,403,311,517,936,1362,1604,1590,1338,1068,1198,1550,1628,1358,1348,1132,1144,1192,1362,930,687,980,1086,1242,1172,1080,1698,1564,1288,1754,2250,2246,2052,1456,844,650,866,1118,904,1120,1150,1064,1344,1638,1670,1300,1042,913,904,1134,1280,1448,1514,1120,948,1188,1146,1226,1288,1184,1152,1086,1072,1156,1226,1186,1092,1352,1660,1670,1586,1618,1672,1666,1460,1156,1236,1298,1206,1116,926,1184,1170,1534,1490,1256,1278,1448,1352,1190,1244,1376,1360,1432,1570,1274,1204,1448,1290,1092,871,659,508,472,655,1352,2230,2008,1700,1336,799,1102,1106,770,894,1206,1294,1134,875,1140,1588,1666,1218,1464,1450,1298,1198,1284,1023,726,662,635,683,927,1021,1072,1154,1090,826,439,614,902,789,617,657,942,929,694,507,817,1264,644,481,888,877,677,720,881,1088,946,655,543,843,970,599,654,907,1128,1288,1180,1008,886,924,959,1017,1096,1260,1166,642,755,669,459,357,295,301,511,624,1062,1256,959,1366,1636,1260,1200,1328,1144,579,525,630,1360,1180,534,943,1316,847,583,1086,1262,772,645,1036,1232,819,579,409,827,1460,1192,745,826,930,852,701,542,492,449,430,460,596,366,791,1666,1782,1296,678,392,404,412,430,494,500,473,495,507,506,627,824,879,803,675,561,548,512,537,478,412,390,458,473,472,479,486,435,394,425,494,549,546,548,541,526,548,600,631,658,610,584,617,608,578,548,552,543,586,565,623,653,655,675,652,631,562,498,617,661,642,682,598,420,430,538,479,412,397,404,387,395,415,440,459,466,520,466,420,412,438,407,346,320,329,358,447,592,699,1092,1692,841,457,470,660,873,1196,1296,1066,670,420,496,514,498,557,724,541,456,461,458,470,462,527,565,469,450,471,865,1306,956,1026,1368,1108,640,744,1012,1182,982,658,551,470,473,391,462,601,615,676,677,484,545,711,797,661,404,502,1040,1202,1322,1228,935,778,816,785,691,422,346,317,314,298,263,262,290,294,356,518,792,1288,1216,531,582,705,577,749,797,557,536,642,521,406,350,317,466,664,697,766,1076,1021,857,992,644,769,952,769,626,623,639,514,393,464,778,701,674,573,523,433,376,422,470,444,413,437,432,338,307,375,385,385,418,409,451,783,913,815,655,356,351,310,432,824,779,892,485,678,941,641,792,1254,1382,1046,791,881,793,1068,1138,753,497,422,376,377,488,722,740,494,403,441,447,461,705,1072,1144,1068,814,619,907,1290,1066,544,390,404,581,962,929,1174,1010,846,980,788,592,430,601,879,1116,1160,825,707,706,798,772,614,631,588,763,1264,1322,764,432,363,597,1324,1014,592,712,646,423,313,358,366,317,496,905,1092,936,1122,1360,968,703,760,478,405,508,549,535,483,405,374,379,390,462,567,827,957,1050,1088,772,405,356,309,403,597,955,980,1058,1284,1164,929,864,579,562,514,463,381,400,467,352,319,420,491],[309,342,449,508,531,514,482,536,510,432,415,466,434,366,353,309,288,451,413,349,449,490,459,488,407,325,499,659,549,501,487,413,360,387,460,536,584,575,492,433,538,522,472,379,329,338,338,364,354,318,333,351,407,480,547,547,426,362,346,508,618,521,408,332,264,271,272,293,287,306,260,214,231,246,306,312,340,428,419,424,451,448,374,336,321,576,926,998,847,708,919,904,636,1276,1204,1038,788,984,906,708,831,1100,1274,1368,1302,951,1008,1176,928,509,588,813,801,633,728,577,519,670,549,510,470,717,1022,1017,488,369,529,819,1390,1346,781,599,462,406,313,309,378,422,468,650,1300,1336,1178,1010,816,752,514,694,1010,974,1078,1002,1036,1164,1260,793,906,1578,1572,1256,1440,1466,1504,826,926,1016,697,709,1020,1007,937,608,451,498,444,359,366,395,340,427,391,275,321,390,389,393,375,309,354,383,471,645,863,835,1007,1170,1040,887,866,1062,1114,717,742,1074,1242,1268,1276,1100,686,519,432,438,437,532,563,519,565,570,448,444,645,692,611,534,422,462,467,564,522,496,488,623,821,812,505,528,833,990,1176,1460,1344,1230,982,1034,1334,1116,599,509,585,858,641,702,1136,890,632,641,681,567,468,499,589,854,1312,1198,1264,1378,1454,1560,1490,1460,1358,1296,1456,1436,1118,963,543,518,670,763,590,603,987,927,877,1180,879,780,1046,1092,1268,1252,982,1054,986,1042,978,879,708,515,582,733,680,551,653,894,841,868,1184,902,1006,875,824,879,814,656,583,844,896,783,1072,1206,1154,1064,1005,935,1182,938,709,797,767,703,752,938,1174,838,600,594,617,616,557,447,408,485,549,532,488,932,1196,847,1234,1470,1440,1306,1274,982,805,937,1132,1190,995,558,391,445,426,395,623,894,1154,1130,833,722,706,605,435,547,661,685,605,563,821,940,1242,1078,1026,1046,863,713,747,786,793,751,817,901,855,656,379,274,410,536,568,639,705,651,889,1552,1958,1936,1596,1304,969,797,1032,1254,1300,1200,1005,1164,1166,717,966,1238,1478,1536,1070,508,558,822,1052,1122,944,717,448,479,383,351,296,303,308,477,880,1050,1064,1324,1336,948,775,964,1068,1011,1238,1078,1042,1172,921,575,944,1308,1310,1448,1082,932,1114,1256,746,955,1158,1404,1392,1394,1340,1294,1202,781,630,645,818,866,681,816,961,927,706,752,844,1104,1128,873,865,890,733,741,803,926,1134,669,333,294,308,364,492,850,1108,1250,1244,1502,1196,634,317,332,373,364,339,350,367,364,405,388,429,523,906,1130,1060,672,917,1320,1550,2338,2248,1528,1230,1292,1294,945,739,680,624,715,1230,1876,2072,1482,1158,1516,1640,1582,1762,1560,1620,1478,1146,939,1150,974,900,1098,1188,1294,1210,608,444,611,948,1232,1432,1312,1324,1172,1220,1136,1298,1738,1648,1474,1594,1504,1518,1262,1005,1376,1348,1030,1050,1206,1148,1212,1302,1386,1244,1260,1192,1154,1138,948,796,710,824,972,1312,1648,1688,1590,1484,1436,1354,1282,1370,1554,1278,1042,1021,1312,1466,1546,1632,1350,1180,1456,1476,1236,1232,1416,1320,1190,1244,1298,1284,951,625,914,1230,750,653,883,1204,1506,1324,1530,1404,702,440,633,861,766,480,407,398,376,368,417,499,750,1490,1350,1016,1168,972,597,537,416,367,387,379,368,322,387,398,380,464,499,490,440,424,403,441,495,585,649,754,612,421,349,332,330,368,442,434,351,318,336,323,336,332,364,417,433,438,446,552,790,691,413,466,576,620,552,504,686,644,530,555,511,472,420,366,368,396,438,407,450,485,449,533,557,461,437,462,471,407,375,370,419,532,539,486,466,471,461,463,502,513,440,496,951,1582,1814,1622,1272,813,526,404,334,322,318,310,323,348,369,326,312,319,351,366,352,576,1000,997,624,496,529,981,1604,1946,1794,1530,1274,1084,924,885,997,1308,1026,576,946,1140,1186,1268,966,955,856,611,816,641,698,667,496,479,641,797,1128,1274,1140,1200,1334,1382,1424,1190,1324,1024,583,511,851,716,687,922,1006,934,929,808,1020,793,658,768,1614,1452,982,1052,915,943,915,1232,1828,3002,2276,1282,1380,1808,1728,1630,1532,1588,1696,1664,1622,1560,1438,1396,1524,1476,1642,1446,1222,1376,1242,1334,1276,1206,1038,892,1434,1294,1294,1332,1308,1330,1214,1228,816,415,377,473,781,947,1068,900,935,613,407,568,601,699,752,799,781,752,905,821,713,719,811,535,847,1194,1228,1007,1106,1284,1098,1114,1096,934,792,1168,1100,612,582,1050,1160,852,630,747,919,818,795,524,571,359,383,407,446,637,847,1334,1312,807,1420,1532,921,1274,1356,1246,1168,2036,2258,2056,1926,2120,2446,2498,2104,1466,706,486,427,410,441,498,492,471,437,445,749,1088,1358,1204,650,763,1364,1634,1478,1340,1154,758,433,333,418,620,615,579,728,598,464,578,653,803,1036,747,445,854,1312,1196,1294,1172,572,622,847,740,1216,1496,1354,979,549,442,706,738,475,371,631,841,960,869,965,674,485,580,747,981,1182,1036,1092,1104,748,497,455,502,703,1038,1000,1188,1298,1708,1892,1206,799,798,931,1009,972,846,642,386,576,750,670,537,775,1104,811,558,764,1036,1036,1310,1270,1582,1470,1196,1112,874,1058,1256,919,872,851,522,577,778,952,861,899,969,1008,1017,1278,1332,1438,1978,1814,1134,954,661,700,767,946,569,1076,1072,965,1292,1414,1264,874,608,504,493,456,441,376,428,524,416,320,291,318,345,353,367,359,369,326,453,514,484,753,894,701,565,749,979,886,885,1226,1084,753,960,869,781,1024,908,683,516,453,561,862,1204,1222,1300,1176,1272,1418,1028,1102,1220,1336,1202,935,1100,1382,1170,1020,1090,1086,1216,1024,1206,1442,1378,1344,1398,1474,1626,1376,1009,933,893,1094,1318,1306,1290,1338,1432,1562,1284,1076,1070,1158,1240,1114,1146,1328,1376,1174,1102,963,1154,1166,1294,1528,1324,1102,1100,1146,1160,1088,1112,929,1538,1660,1310,903,1190,1642,1716,1478,1266,1128,1094,1138,1072,1158,1338,1378,1484,1472,1316,1454,1636,1564,1416,1310,1396,1616,1678,1542,1602,1478,1508,1284,984,843,747,618,521,594,863,1182,1344,1550,970,550,714,705,640,881,1090,1004,700,718,893,1138,1312,1100,1206,1356,1234,939,863,750,602,703,729,709,973,1009,926,1130,1248,1028,570,582,838,828,642,748,971,1032,978,672,756,1240,874,549,647,837,971,944,1004,830,551,557,611,1152,1228,856,765,885,899,961,1246,1368,1396,1404,1258,1080,937,840,655,350,381,307,312,361,376,285,381,548,948,1148,852,772,999,1178,1410,1572,1604,757,528,1058,1730,1460,776,628,695,637,684,797,949,775,821,1074,1184,1382,1000,950,1660,1816,1394,1140,1358,1126,776,500,378,405,447,432,427,426,444,954,1738,2056,1520,568,379,384,366,465,506,483,473,511,541,475,448,538,555,481,465,436,439,411,459,464,389,381,418,443,455,489,476,431,391,375,423,449,410,546,560,554,645,754,753,781,766,661,602,590,537,537,418,354,496,583,611,618,612,620,626,644,628,543,612,631,642,611,590,502,556,735,724,509,377,419,451,454,413,393,413,503,535,469,379,367,350,349,338,335,360,443,506,568,681,749,704,459,438,425,474,651,869,1292,1716,948,468,437,473,485,537,555,511,501,466,563,640,575,579,576,655,580,479,698,995,949,1020,1310,1018,613,919,1172,1250,971,987,1160,794,518,384,387,426,493,829,824,783,901,1011,1058,893,523,588,1080,1360,1452,1312,839,754,930,823,592,483,370,289,325,387,297,248,293,267,361,720,1082,1023,653,379,364,443,513,850,807,496,695,669,385,314,306,301,412,608,847,1023,1192,855,540,482,414,660,857,923,915,763,608,535,432,318,437,669,608,566,583,468,401,436,463,449,431,430,403,362,318,349,381,385,418,429,454,638,738,682,470,342,362,303,474,888,662,517,521,887,1100,688,582,1090,1650,1228,1184,979,976,1234,970,678,503,393,386,387,365,412,548,486,473,546,583,732,713,586,652,885,949,916,942,942,644,401,363,416,640,735,874,1552,1392,1110,909,594,466,418,406,527,1023,1390,1290,1160,912,775,784,645,734,860,1132,1616,1476,726,666,540,1418,2376,1824,1246,1032,672,427,375,411,426,355,374,436,730,1188,1360,1424,1230,1158,1140,807,830,717,359,365,558,576,445,416,453,572,786,1092,1009,905,1504,1246,460,351,492,625,667,855,651,496,605,819,852,645,422,349,301,286,343,426,440,351,336,322,319],[364,384,430,466,466,441,524,532,433,429,415,380,359,355,351,364,363,359,370,329,404,478,453,418,371,325,371,524,516,389,355,350,348,387,613,678,655,529,411,554,613,507,482,410,312,331,362,358,347,325,321,361,409,471,498,449,405,354,427,601,486,457,321,290,261,273,284,310,265,225,228,225,234,275,310,321,322,413,442,418,416,437,375,337,335,460,632,644,574,730,905,634,511,1220,1378,1288,978,883,703,615,598,649,910,1023,1102,876,914,1242,1056,791,731,673,797,739,572,599,900,1128,982,569,739,909,1128,1262,731,490,996,1262,1454,1444,1080,761,350,313,365,412,382,431,700,890,927,866,963,881,896,1112,951,952,1266,1394,1346,1188,963,1154,1170,931,1178,1410,1072,804,1102,1058,1320,631,460,425,449,560,587,756,818,640,505,393,404,469,455,462,498,516,542,369,292,524,552,513,429,390,549,553,589,666,631,742,1068,915,944,1011,976,1090,897,721,835,1246,1886,1718,885,900,2044,1730,813,570,433,518,595,597,902,860,590,425,538,600,505,375,339,398,449,445,441,455,462,606,714,832,656,638,842,969,910,1126,1172,1252,1302,1206,1212,969,634,494,634,1360,972,1058,1428,855,471,644,842,1009,931,531,719,813,1140,1082,1260,1372,1516,1520,1440,1406,1170,969,1050,1262,1272,1044,642,653,864,1013,794,991,1262,879,871,1262,1146,954,1146,1382,1582,1120,835,801,1040,1296,1432,1138,610,322,478,630,590,603,614,608,825,1014,905,637,718,687,692,879,1032,766,733,833,506,549,1018,758,658,1006,930,713,866,808,867,999,1150,1372,1354,919,936,1005,1312,1032,588,505,502,432,427,420,400,441,579,968,1202,1138,1090,1282,1248,1228,1306,1170,1003,785,622,839,1174,1108,548,533,597,718,911,912,837,602,560,971,1142,872,661,1252,1200,1018,933,1011,1046,2126,2246,1194,868,720,639,716,797,787,742,740,875,860,814,695,447,259,290,412,566,664,607,603,686,1023,1372,1508,1436,1250,1028,780,544,525,786,925,535,769,759,648,1246,1428,1498,1812,1618,1042,709,952,1134,1136,981,485,352,447,393,345,331,273,317,389,468,721,1114,1418,1256,954,858,756,673,717,920,1034,1038,1048,824,643,832,912,1162,1542,1506,1506,1434,1196,1058,1170,1282,1524,1376,1282,1294,1264,1186,877,775,858,729,706,839,868,959,852,561,601,1102,1360,920,679,544,741,667,754,794,821,708,409,291,340,460,639,535,590,930,1312,1440,1628,1410,733,367,326,321,288,290,325,281,362,485,659,820,817,1034,963,1024,860,1040,1150,1088,1368,1218,1528,1318,1396,1396,1030,820,706,844,1208,1154,1526,2014,1658,1264,1172,1578,2164,1824,1284,1340,1660,1658,1434,1444,1068,660,920,1262,1554,1784,998,556,717,1292,1660,1604,1484,1334,1114,1040,1008,1228,1666,1738,1626,1542,1418,1280,986,924,1128,1070,1012,1350,1280,932,977,1013,1250,1460,1418,1432,1282,1158,1015,801,722,803,1016,1246,1454,1470,1414,1576,1454,1178,1216,1534,1548,1332,1416,1412,1378,1410,1296,1334,1406,1554,1628,1338,1224,1346,1494,1322,1188,1324,1262,1034,1160,946,1174,1600,1110,1086,1182,1068,1170,1156,1314,1330,933,656,772,697,608,456,487,518,502,465,473,599,1178,1660,1204,792,797,816,666,480,412,380,372,374,359,334,390,372,321,332,381,433,429,404,424,436,390,412,409,544,542,413,336,334,312,306,330,366,326,297,307,303,343,341,315,329,383,444,515,704,890,653,440,436,534,619,564,488,605,586,516,514,472,413,397,415,462,470,467,509,542,485,450,539,537,473,448,482,462,399,451,406,394,496,507,447,447,481,488,484,564,566,554,944,1608,1766,1610,1332,700,437,497,424,339,318,304,309,315,321,387,310,285,299,322,327,339,545,813,677,436,386,428,655,1072,1722,1646,1170,1028,1050,1260,1424,1176,1194,1009,728,1062,1140,815,612,550,928,1000,670,824,943,745,480,597,846,775,838,1440,1490,1144,1200,1348,1216,1480,1628,1612,1144,686,1252,1918,1260,898,1230,1096,810,723,886,1358,1140,727,789,1402,1238,1252,1494,1362,810,745,1026,1180,1604,1218,1122,1242,1350,1720,1650,938,1238,1450,1348,1244,1358,1488,1478,1302,1364,1552,1500,1660,1770,1406,1404,1536,1486,1404,1508,1788,1890,1482,1360,1464,1454,1444,1268,901,740,655,413,630,842,1264,1268,821,382,304,354,390,537,969,1104,869,1462,1304,811,907,782,695,830,1160,1152,1060,1206,1438,1360,954,926,705,551,774,888,572,480,503,558,619,601,546,709,1034,1204,854,563,588,618,463,361,392,600,828,1050,970,601,1032,1018,877,1274,1548,1502,1268,1876,2522,2558,2648,2808,2972,2932,2364,1726,1060,585,462,451,431,533,631,539,493,498,514,694,967,773,744,1021,1178,1454,1284,1084,1056,767,447,425,517,626,533,446,621,747,604,545,488,625,850,830,709,926,1112,1006,745,921,667,639,745,770,1118,1316,1278,1032,648,486,564,613,484,436,655,1122,965,727,714,596,783,933,919,958,948,1180,1370,1160,728,477,467,776,915,1164,1316,1148,1058,1156,817,499,474,908,1152,1132,1242,1172,804,592,534,530,547,677,1014,1258,847,634,593,871,1224,1416,1406,1582,1406,1126,1010,1066,1290,1094,804,844,741,654,687,927,1152,1166,1152,1212,1204,1198,1300,1318,1264,1174,1100,1366,1352,1052,1134,1052,1252,1038,834,747,971,1084,946,810,751,577,477,503,549,592,515,483,416,415,390,293,299,295,310,366,337,295,366,520,681,631,798,744,664,821,1054,1310,951,608,711,736,711,739,584,429,462,615,624,451,413,502,770,1030,1210,1094,927,1084,1238,856,944,1224,1020,668,569,961,1136,1194,1150,1232,1286,1018,714,747,835,857,874,674,794,1244,1086,993,1222,1314,1342,1312,1200,1120,1568,1626,1116,648,692,984,1118,1288,1138,1044,1144,1432,1292,1094,1106,1138,1274,1926,2056,1312,1028,998,1204,1180,1114,1072,1184,1506,1604,1194,991,1336,1578,1772,1618,1208,1168,1210,1370,1490,1454,1484,1322,1152,1246,1294,1512,1582,1320,1320,1246,1470,1736,1628,1656,1728,1528,1300,1246,1150,829,718,625,505,595,670,626,838,933,678,501,591,770,831,910,962,841,763,1086,951,1104,1174,1134,1276,1144,868,885,901,773,655,632,616,797,1104,1048,1234,1396,1378,1244,850,535,506,496,865,1426,1526,1404,1144,661,738,1100,1214,1192,1208,1236,969,775,865,880,700,725,766,1250,1042,763,885,784,632,772,1074,1272,1100,1094,882,703,845,901,565,306,307,283,294,352,377,318,384,610,825,871,711,675,1372,1168,1178,1772,1666,723,618,1178,1366,1270,1340,918,567,420,451,550,550,370,877,925,1034,1430,1208,1372,2072,1628,828,898,2084,2046,1136,669,569,503,440,480,460,426,392,479,839,1364,1120,489,403,426,427,519,533,502,484,521,548,539,505,410,372,371,421,390,399,425,482,450,377,342,356,373,399,416,374,376,369,383,428,431,396,515,621,680,811,875,818,813,828,777,778,615,467,524,437,363,481,458,413,529,589,604,623,655,633,613,570,558,589,532,573,525,438,591,755,754,463,405,471,444,432,392,410,446,525,500,466,459,370,358,357,358,365,455,502,474,534,460,366,397,416,426,448,528,554,667,851,487,417,419,462,503,508,579,749,774,900,1214,708,593,571,571,891,774,571,838,976,979,1038,1270,1132,543,897,1226,1206,1058,860,938,1006,703,401,424,591,948,946,744,1116,918,936,993,863,647,556,866,1194,1084,1078,946,747,901,1046,635,595,937,955,446,301,308,285,279,302,408,737,1050,929,793,488,431,434,408,433,428,394,435,352,264,263,282,273,396,534,566,796,857,607,466,453,447,516,742,892,838,669,608,681,647,525,542,602,459,437,482,483,423,409,394,438,458,437,374,324,338,332,361,398,397,410,383,437,604,452,415,430,434,398,505,740,525,334,562,1132,1288,957,819,1414,1350,1060,993,1058,1028,988,751,579,482,506,436,369,361,417,543,437,409,683,1036,1056,736,500,434,455,599,804,1020,839,442,426,416,476,791,722,1154,1674,1650,1478,1152,974,554,498,416,768,1276,1001,993,1268,1180,830,658,813,1030,1140,1316,1284,1012,559,847,641,1586,1604,1232,1814,1894,1004,349,536,629,583,409,319,374,932,1290,1146,1168,1208,1202,1224,1494,1338,1032,563,456,475,443,498,514,501,492,732,1588,1614,973,742,669,419,453,782,939,976,778,533,421,381,490,551,479,437,370,483,1005,1030,552,358,320,341,341,343],[394,396,391,413,426,482,510,456,439,443,354,307,319,319,343,365,349,365,369,336,420,471,452,405,334,309,302,380,465,390,295,315,363,556,714,714,528,375,526,650,605,575,541,456,413,390,386,352,336,342,363,388,388,399,385,380,369,320,365,512,463,378,280,269,266,275,282,295,260,219,214,206,230,266,288,291,314,388,425,415,445,456,383,337,330,355,419,589,737,827,878,874,790,1110,1418,1322,1042,735,550,519,556,698,1060,875,852,635,487,884,1114,1220,1018,807,1188,1506,822,655,1172,1404,1396,1042,1015,965,951,1040,722,677,1366,1472,1260,1348,1378,749,363,513,688,525,370,411,657,785,708,749,612,772,896,1178,1184,1228,1376,1354,1248,1010,891,1202,1284,1282,1030,600,585,945,1186,1154,1098,673,443,415,483,473,426,402,427,577,594,503,507,675,562,422,455,608,713,485,323,335,367,546,657,431,525,613,869,1246,991,916,1128,955,836,1011,1194,1140,954,982,1046,1116,1360,980,778,791,1240,1062,996,741,631,636,793,839,937,870,705,562,662,703,669,563,421,418,539,517,678,621,698,695,475,345,674,893,670,584,879,1013,988,1050,1016,1110,1152,882,586,696,969,1218,1160,1376,1466,1098,929,778,816,1020,929,952,1176,1122,948,955,1160,1382,1620,1622,1616,1338,1000,807,926,1386,1524,1306,1164,1094,1366,1166,1030,1224,1174,954,742,811,908,872,1184,1380,1234,1030,1006,1126,1394,1750,1592,969,466,328,445,445,532,1082,961,475,454,653,625,513,492,575,514,477,488,514,485,456,427,647,872,924,1094,1266,1124,869,937,1318,1322,885,996,1200,1268,856,758,1001,1356,978,434,417,440,435,427,371,346,462,736,1038,1290,1092,656,701,810,931,993,1346,1376,1128,675,786,1212,1406,1194,730,826,1204,1122,952,762,629,812,1180,1176,820,923,1620,1692,1248,1078,1206,1054,943,850,782,857,834,567,620,808,838,770,706,710,696,735,725,576,286,263,289,396,553,514,519,720,858,1122,1266,1156,1054,902,709,493,447,461,473,563,797,931,1130,1406,1118,1072,1184,1302,1238,1456,1324,1070,821,616,399,362,408,391,441,407,259,311,361,371,601,879,1112,1066,773,959,881,763,615,603,1005,1112,1094,1034,1324,1292,1178,1588,1490,1392,1466,1344,1056,1074,1078,1186,1294,983,971,1010,1186,1044,954,888,846,891,750,616,742,796,794,734,495,720,1026,1160,1114,967,862,826,789,698,552,425,414,454,568,853,1124,924,649,739,1192,1510,1282,1154,1094,777,369,430,421,354,330,300,485,394,548,716,687,695,897,1078,979,1144,1002,847,924,628,1042,1356,1432,1338,1124,1090,1112,1196,1356,1304,1504,1784,1830,1290,917,1258,1658,1396,1200,1428,1730,1746,1698,1706,1412,969,1064,1626,1968,1702,952,658,1012,1660,1674,1288,1152,1176,1194,1392,1504,1538,1524,1602,1548,1310,1190,1013,1012,1116,1116,1036,977,1120,1174,1012,1108,1140,1282,1420,1528,1456,1486,1570,1168,742,650,752,1004,1246,1486,1534,1444,1470,1316,1158,1138,1248,1224,1306,1754,1580,1386,1178,1230,1510,1512,1512,1508,1284,1176,1394,1476,1360,1226,1120,725,815,1214,1048,902,871,1092,1366,1166,838,715,818,1262,1396,783,673,635,643,818,590,522,819,1116,880,595,915,1544,1564,1118,603,483,693,901,566,420,392,401,451,409,416,516,480,415,383,473,525,502,413,425,430,385,364,361,390,380,307,314,303,311,308,316,332,322,310,312,318,355,370,342,341,415,514,618,760,738,493,448,487,506,546,527,498,538,508,471,475,514,458,464,509,494,449,475,505,590,550,421,435,466,399,383,426,435,450,513,449,452,567,528,469,488,499,438,488,478,522,1032,1662,1786,1612,1286,668,331,379,472,446,376,346,316,301,298,283,349,317,293,289,309,306,339,372,320,327,393,399,442,496,684,1000,1116,1152,1038,899,1056,1220,1034,603,495,743,1090,741,393,379,503,698,730,528,563,698,534,405,632,818,998,1234,1410,1340,1142,1202,1282,1252,1284,1572,1716,1334,1080,1268,1328,1122,1008,1122,1148,1106,750,903,1242,1132,998,1160,1208,1072,1120,1400,1368,1078,1228,858,595,588,1088,1418,1164,846,1056,1042,716,1136,1176,1016,963,1180,1382,1592,1482,1362,1446,1354,1758,2934,1986,1494,1326,1100,1144,1282,1478,1684,1564,1664,1692,1566,1544,1496,1172,670,630,458,412,408,697,949,691,333,458,483,339,501,1064,1264,1130,1178,777,1126,1078,764,1122,1308,1256,1312,1156,1128,1322,1170,1064,840,502,408,521,529,471,485,476,425,486,520,483,629,901,1248,1312,1522,1660,1266,632,349,412,504,607,394,409,969,832,457,633,1168,1436,1528,1486,2138,2800,2706,2724,2626,2526,2292,1896,1686,1638,1064,604,465,414,505,693,730,816,703,605,449,424,449,888,864,566,731,787,757,842,735,535,438,401,386,358,382,498,715,708,691,575,501,635,850,1116,1072,891,795,830,1050,930,807,922,1152,1364,1302,1040,963,1056,780,720,984,643,698,660,800,803,656,655,1034,1338,1116,943,703,757,909,1064,1046,922,993,896,889,980,1001,1040,1058,1100,872,571,507,793,996,960,814,948,1086,1022,828,645,557,448,520,707,1048,593,459,397,897,1444,1334,1380,1576,1302,745,536,744,866,484,399,453,476,836,724,990,1162,943,1062,1278,1002,920,1010,973,1060,1034,1234,1472,1560,1276,1164,975,1052,1028,684,644,801,730,693,737,731,671,532,504,561,666,558,372,368,359,360,301,278,277,365,526,400,279,375,642,720,631,957,1102,1204,1128,1250,1402,948,711,673,868,1012,950,827,733,915,1128,775,486,382,590,713,964,1116,977,906,1120,1294,1144,1126,1188,882,846,579,629,843,1019,1432,1478,1204,971,832,706,575,706,1048,799,615,1164,1146,937,1336,1476,1260,1240,1240,1344,1378,1074,892,663,901,1023,1009,1202,1282,1166,1208,1282,1268,1170,995,1026,1092,1192,1324,1226,1250,1184,1007,945,1246,1278,1288,1512,1550,1196,1160,1312,1444,1720,1656,1238,1228,1220,1140,1078,1021,1206,1232,1042,1184,1208,1326,1608,1328,1364,1332,1688,1888,1764,1536,1362,1048,721,598,491,502,626,630,443,534,664,593,578,641,871,1048,1092,1186,809,685,794,1096,1021,943,904,1130,1232,1232,1108,792,1082,1312,1086,778,631,641,656,878,922,832,1040,1274,1326,1386,1236,662,466,581,1144,1454,1278,963,1100,1174,1086,1018,1168,1328,1420,1512,1156,764,1174,1420,897,727,628,668,538,383,671,885,778,722,1132,1290,752,844,495,562,1322,1158,532,330,389,396,350,328,312,273,341,573,1048,1456,1314,788,1548,1154,1082,1708,1288,583,590,760,800,1178,1404,1004,625,539,570,990,875,601,1094,1158,846,808,1110,1370,1702,1058,475,756,1786,1986,1744,1504,1454,1116,561,531,471,388,336,368,421,923,901,585,553,646,618,577,532,481,465,505,521,525,499,444,410,428,399,396,484,569,558,444,389,381,379,375,401,388,383,389,368,417,516,487,449,558,648,703,758,813,841,792,813,818,865,598,420,483,535,540,529,458,508,532,567,639,631,645,603,570,582,613,632,651,642,481,413,507,506,703,514,467,495,488,453,409,416,397,428,486,473,340,342,379,340,363,358,400,448,529,604,507,414,394,379,422,461,518,495,444,400,386,439,535,537,499,521,641,841,924,1152,1188,691,560,410,450,805,803,928,1130,985,962,1003,1228,1262,657,592,872,1304,1256,1076,910,990,1090,839,587,965,1472,1226,799,936,993,978,1160,1034,803,853,1122,1168,1130,1292,1394,1092,1090,1426,1280,738,949,792,397,301,281,287,253,297,392,802,1036,971,786,797,595,451,388,370,548,595,399,348,266,263,274,358,469,482,529,775,904,853,675,520,457,502,697,814,644,541,565,679,597,535,667,629,469,459,629,612,421,279,363,512,487,455,368,313,373,350,359,429,441,421,376,533,550,486,455,392,374,393,484,489,412,495,721,846,1156,863,566,702,829,1003,739,850,982,982,936,655,627,689,616,491,378,478,566,554,747,1054,1224,1334,1190,695,484,464,475,495,673,810,628,586,568,628,786,801,1170,1752,1892,1298,978,955,605,418,408,921,1094,785,1156,1598,1344,954,866,1064,1364,1430,1206,1034,778,440,661,574,666,867,870,1126,1594,1328,846,1023,877,722,430,361,443,979,1382,1320,925,774,804,927,1308,1015,1034,961,1126,635,481,626,680,936,925,999,1804,2100,1828,1410,991,660,613,578,585,780,971,856,575,397,392,389,417,467,359,665,1058,788,561,408,360,415,455,460],[400,369,376,428,503,478,424,435,438,394,346,308,296,327,354,341,333,382,423,480,565,542,453,371,330,314,328,380,445,467,365,368,563,749,681,517,418,551,650,640,656,615,487,535,609,512,421,360,339,365,394,408,388,354,335,344,348,329,312,331,380,317,258,256,272,271,263,262,243,222,211,241,279,285,280,271,329,391,406,409,433,451,377,362,387,402,469,611,1010,1046,723,612,616,897,1180,1198,1220,1218,1013,950,757,818,1344,949,611,552,539,799,1378,1538,941,669,1072,1820,1098,890,1390,1294,1146,897,882,827,1028,1520,1308,1108,1520,1614,1450,1512,1352,678,415,922,1360,908,461,381,606,886,1172,1470,912,903,836,1352,1584,1472,1166,858,752,801,1064,1312,1244,1060,728,1094,849,946,1170,1410,989,585,510,417,429,452,449,452,582,616,605,606,502,607,622,544,436,472,529,469,364,373,412,695,1158,709,558,548,915,1426,1302,874,783,914,890,1168,1220,1062,1012,901,1140,1158,1158,1200,1124,1102,821,822,1030,1088,907,945,1216,1470,1370,1244,967,912,928,844,582,563,546,450,558,833,1248,1026,1072,742,462,453,578,613,548,818,1096,1072,1300,1202,1042,793,656,683,703,1114,1250,1122,984,1082,1328,1214,1152,951,1132,1148,1152,1180,1472,1334,1168,1086,1110,1396,1418,1368,1592,1240,831,1072,1550,1972,1608,1384,1128,1186,1396,1222,1284,1444,1316,1406,1038,1013,908,632,720,943,929,1148,1426,1318,1230,1358,1220,1009,368,398,961,821,437,742,882,676,495,542,617,528,538,631,582,452,416,455,413,447,670,788,777,1130,1396,1208,1196,1156,946,1430,1316,1216,1876,1726,1222,1052,1005,837,766,615,376,383,420,445,393,367,424,507,844,1212,1370,935,383,352,548,805,988,1290,1414,1298,872,1092,1186,1380,1180,759,1102,1252,1160,1162,1064,973,732,670,573,811,1032,1314,1534,1284,929,996,926,832,768,722,673,523,374,483,621,668,644,647,651,688,734,709,661,354,252,356,415,426,464,488,642,977,1242,1048,935,938,799,592,500,466,338,284,501,496,415,828,986,1048,1318,1250,1112,802,1072,1112,978,842,592,387,604,861,579,455,487,418,359,393,555,791,905,753,724,800,777,771,886,609,447,872,1110,1100,1450,1742,1786,1594,1250,1024,996,930,1044,954,943,1007,1218,1464,1382,1148,1100,1320,1102,990,1005,1048,1072,706,574,670,576,590,739,543,363,528,957,1174,1362,1106,802,729,647,557,436,578,987,1088,1244,1046,567,451,359,675,1042,951,780,1134,1334,886,490,472,466,424,455,602,475,328,368,464,807,1226,1068,888,1108,653,535,511,581,1024,1238,1228,1218,1026,1094,1114,956,1096,1194,1218,1338,1396,1178,895,933,1108,1168,1288,1416,1352,1340,1388,1526,1658,1520,1326,2072,2522,1664,1012,1022,1334,1530,1428,1334,1100,1002,1286,1620,1684,1448,1424,1168,1186,1088,970,1050,1092,1222,1126,1182,1106,1158,1358,1292,1450,1312,1360,1420,1408,1414,1358,1136,835,725,678,672,949,1330,1628,1644,1542,1478,1446,1518,1310,996,996,993,1432,1390,1090,855,1158,1628,1670,1400,1284,1300,1434,1376,1250,1410,1294,1064,905,1248,1240,1316,1362,1242,1100,966,1124,905,633,871,1238,1000,632,483,559,865,1030,1074,1172,1226,1434,1382,1222,1418,1526,1302,860,629,497,586,843,660,468,443,437,473,493,512,629,732,693,550,548,465,433,408,423,404,346,362,381,408,365,316,318,316,308,308,312,301,302,318,321,324,353,378,376,386,475,500,641,899,623,405,425,477,466,422,431,461,503,504,449,440,509,472,466,504,453,425,482,531,574,512,437,447,389,349,349,442,477,481,505,471,452,449,452,491,502,419,388,431,509,1084,1710,1836,1622,1344,809,416,361,369,489,438,385,355,320,296,316,341,416,388,298,290,307,331,364,331,322,332,340,389,442,491,605,1024,1258,1146,974,810,966,1228,1400,979,785,683,602,484,383,343,351,371,355,333,378,481,418,601,662,754,860,1114,1160,1284,1140,966,1154,1088,902,1060,1306,1482,1300,1092,1122,888,789,987,1190,1356,1246,1054,962,925,1080,1278,1272,1528,1294,1172,854,1048,954,690,852,1064,850,706,691,732,1102,852,709,1444,1536,1222,1122,1100,1156,1038,891,1060,1502,1316,1546,3322,1918,1292,973,539,430,700,1056,1172,1322,1678,1750,1005,1276,1502,1182,585,584,1036,836,443,630,893,750,576,720,519,394,827,951,961,937,728,522,775,686,764,1196,1214,978,1208,868,637,912,1160,1272,938,571,429,438,496,517,450,463,464,510,799,968,916,992,1444,1550,1722,1366,622,440,394,348,484,1009,767,554,1600,1282,624,1007,1526,1638,1568,1670,1920,1946,1838,1946,2018,2008,1942,2046,2024,2024,1764,1138,557,473,546,820,1188,1130,1060,1028,537,361,725,1160,869,495,484,602,634,748,737,571,372,321,307,337,361,398,573,780,838,615,637,1194,1480,1246,1026,959,948,893,1140,1272,1072,904,1226,1716,1406,1172,1096,1600,1078,709,837,789,843,736,886,971,777,758,1023,1034,777,799,956,1160,868,749,850,888,980,923,1020,1184,1114,1046,1110,1268,899,516,631,940,854,1034,1222,1078,830,637,455,545,517,366,378,498,502,421,609,910,1672,1576,1214,1272,1344,1334,855,469,811,933,644,446,311,409,545,612,805,888,837,982,1102,926,930,1110,995,1228,1286,1418,1198,1072,1248,1344,1394,1362,1072,750,937,1166,1094,677,525,575,828,739,494,536,658,563,318,335,350,461,462,348,345,696,916,537,316,417,672,719,858,1086,1170,1224,1180,1166,1206,905,827,909,998,1176,1308,1128,853,609,644,583,649,533,610,713,944,1082,1074,1238,1332,1178,1202,1258,1246,896,898,651,770,973,1044,1258,1220,1216,1442,1230,751,695,719,882,671,681,1416,1384,1144,1278,1336,1356,1592,1638,1320,939,799,1100,1044,1400,1258,967,1058,1298,1370,1396,1200,969,904,864,807,918,1003,1262,1342,1400,1356,1011,933,1038,1030,1290,1478,1510,1330,1416,1188,1322,1582,1670,1488,1278,1078,951,878,828,1023,1276,1082,1092,1058,1222,1626,1344,1318,1662,1820,1908,1626,924,809,598,568,499,451,443,525,639,523,515,651,616,597,929,1490,1708,1534,1374,788,586,647,1062,1023,884,979,1092,1098,1094,891,587,808,720,792,633,508,558,577,661,749,980,1310,1466,1362,1328,1394,733,561,662,806,1086,999,836,894,879,1058,1202,1070,1462,1468,1322,1166,581,716,1166,998,976,1192,1272,879,381,505,639,521,515,940,1172,868,750,504,495,687,527,361,337,352,422,410,347,453,365,402,469,804,1246,1202,844,929,774,654,778,660,535,556,555,529,936,1062,1210,1152,1080,1066,1000,662,1078,1290,766,774,1544,2166,1896,1142,577,436,464,766,1088,1642,2126,2320,2062,1558,843,541,368,321,380,371,720,795,666,758,794,729,638,550,523,569,554,514,527,536,480,439,457,469,579,702,686,576,511,416,410,365,354,418,443,459,414,419,474,511,502,472,552,592,532,586,639,639,648,709,796,783,590,441,468,529,523,480,495,599,622,589,486,509,599,617,620,649,662,651,651,640,570,551,459,489,577,691,686,564,493,435,390,399,409,432,496,411,330,335,411,432,398,375,368,430,590,633,574,492,396,435,529,565,562,497,384,369,392,480,583,561,508,494,606,743,717,820,671,672,526,345,554,957,852,847,940,1092,847,847,1186,1284,832,558,615,856,1070,1108,1246,1578,1516,1030,772,1132,1436,1230,872,819,738,839,1242,1302,1498,1560,1262,940,897,635,1198,1344,1400,1542,1562,1170,735,385,314,290,337,343,411,357,444,740,990,864,937,975,631,495,518,582,730,612,413,362,286,278,319,343,399,502,896,1186,941,850,746,766,702,844,814,769,677,552,489,514,466,446,468,455,441,536,912,674,459,258,362,659,535,398,375,306,359,411,381,449,447,403,401,512,444,426,411,386,370,390,493,511,456,428,635,639,1074,785,571,541,803,666,547,711,763,952,1134,996,637,693,715,681,539,648,853,998,1362,1508,1572,1990,1860,1194,893,659,525,507,527,772,782,748,754,808,954,922,700,788,1084,558,551,548,561,496,551,645,549,908,1586,1566,1310,1240,689,756,1164,1686,1622,1432,943,648,452,366,609,1124,1494,1382,839,628,883,888,728,602,372,327,458,543,791,959,563,367,473,906,1170,922,1013,1021,1096,739,663,639,542,730,884,1166,1808,1892,2086,1780,1644,1406,959,522,387,545,827,1014,1116,923,503,493,448,554,625,725,602,464,368,343,412,617,860,658],[442,421,438,469,483,453,428,420,395,361,336,316,336,358,378,373,385,405,470,523,539,501,415,345,316,316,374,449,428,462,435,404,564,641,477,431,573,661,661,694,659,634,593,645,727,614,447,365,340,339,365,390,350,319,320,328,324,305,276,262,263,267,274,272,273,266,261,253,242,246,251,272,280,272,282,283,336,380,384,408,420,426,332,307,403,454,425,524,1154,1005,536,499,492,695,935,849,903,1054,1348,1514,1118,963,1212,875,521,602,959,1224,1562,1574,1356,877,871,841,612,636,966,988,727,916,1134,723,1028,1416,1266,1011,1090,1150,947,1224,1252,963,604,1084,1388,858,437,643,810,1076,990,830,629,652,722,1202,1476,1572,972,554,634,1036,1018,959,1070,648,597,948,672,515,846,1292,1180,1024,767,506,492,483,475,448,569,552,552,599,471,480,574,596,593,601,458,389,398,321,256,580,1112,785,523,647,1009,1274,1021,786,798,825,872,1042,1001,1132,1110,927,1170,1264,1228,1114,1362,1472,663,667,818,1296,924,780,1042,1036,1156,1312,1458,1594,1754,1070,692,676,575,432,441,792,1036,1130,1288,999,581,637,861,796,877,1168,941,655,904,1340,1098,504,378,527,860,1264,1388,1352,1030,1019,1292,1214,1052,1294,1296,1148,1170,1322,1432,1216,1104,1182,1212,1298,1228,1506,1776,1574,1130,1218,1702,1708,1376,1404,1350,1268,1298,1160,1246,1286,1276,1414,1394,1554,1326,852,837,1104,1230,1072,1048,1172,1310,1322,1208,848,381,383,915,714,339,364,725,1078,918,985,957,816,841,996,1088,789,467,368,393,415,724,946,894,919,946,907,892,988,1013,1364,1238,1398,1802,1744,1344,1148,1028,874,619,452,328,339,462,424,518,630,562,764,1072,952,827,661,381,414,744,970,1168,1412,1568,1356,851,583,642,957,869,966,1206,1236,1488,1764,1364,1228,664,376,605,886,1126,1334,1346,1088,926,966,808,639,714,869,1194,1026,504,433,499,452,536,608,604,629,681,582,573,368,259,444,468,436,573,811,825,885,988,927,650,608,565,453,459,385,250,241,302,302,346,384,655,1282,1444,1522,1286,1318,869,799,915,830,804,755,1050,1248,863,865,688,557,437,447,619,906,669,513,770,902,855,998,753,400,619,1178,1196,840,1396,1704,1714,1892,1358,944,1030,1040,1146,1412,1164,1300,1284,1260,1186,1170,1346,1860,1544,994,1142,1192,1070,822,783,854,790,800,1302,876,435,468,641,991,1240,1014,768,735,714,1090,919,1148,1494,1352,1396,1042,505,270,248,277,601,1110,1276,1316,1520,1510,898,521,480,613,449,532,650,651,706,827,999,1136,1001,952,919,518,647,1172,1184,1138,1376,1642,1418,1182,1278,1212,1116,1196,1082,980,1020,1210,1156,832,816,1017,1072,1194,1240,1160,1244,1114,1356,1526,1600,1634,1642,1868,1476,1110,1232,1488,1488,1344,1208,1136,1174,1284,1306,1366,1322,1190,1082,1312,1376,1274,1242,1488,1638,984,1142,1304,1208,1158,1536,1562,1316,1410,1404,1372,1372,1478,1340,1026,951,741,666,1316,1594,1660,1746,1664,1478,1522,1660,1294,1178,1306,988,820,668,598,808,1208,1654,1782,1490,1168,1150,1456,1276,1236,1140,954,761,875,1204,976,906,972,1214,1218,722,799,1178,1238,1312,1262,1180,1232,1036,896,1182,1360,1512,1942,1486,1132,1430,1722,1552,1402,1430,1104,762,533,623,888,743,495,475,484,501,480,497,617,764,728,647,528,381,373,386,437,465,383,381,391,391,318,285,318,334,313,308,316,298,286,310,338,347,358,374,394,402,488,500,642,773,539,432,516,511,384,372,401,475,531,508,444,478,495,422,450,547,526,507,523,533,508,421,466,507,455,400,367,396,440,471,461,444,437,463,460,499,511,497,433,558,1108,1686,1786,1594,1346,951,482,377,383,392,492,400,357,345,317,316,324,383,538,548,377,310,325,369,333,348,354,355,342,384,471,543,750,1344,1454,1286,1186,864,1026,1212,1222,1066,1406,955,714,621,328,310,323,333,382,508,835,1084,739,641,466,907,969,933,1146,1252,1252,1388,1326,872,1042,1222,855,1292,1510,1478,1526,1186,639,664,997,1282,1446,1296,1130,1009,1216,1286,1298,1404,963,851,830,894,1120,1080,961,990,924,1250,1184,1054,1158,885,818,1500,1542,1082,824,1116,1076,532,515,994,1362,1236,1002,1372,863,644,618,461,347,580,805,944,1256,1562,1798,670,839,1092,1258,1138,1070,1220,913,728,1034,1106,857,920,983,524,429,954,945,912,927,771,686,707,576,531,840,934,708,965,836,600,797,1040,1088,969,631,452,493,577,498,433,464,547,877,1332,1490,1132,1274,1606,1408,1172,636,426,456,470,488,617,782,787,811,1202,894,1001,1584,1538,1144,1038,1214,1114,901,918,1358,1954,2104,2036,2098,2108,2044,2008,1932,1112,663,613,743,1312,1142,1304,1444,938,602,987,1298,1116,614,568,618,676,738,644,475,377,346,324,325,325,353,481,707,728,501,656,1088,1192,802,737,856,808,750,1066,1278,1044,672,856,1350,1126,1276,1634,1398,1188,865,811,895,813,715,760,638,469,483,694,1036,1176,1202,1188,1172,1322,1240,1182,1094,871,1256,1494,1390,1005,908,879,980,808,702,606,598,740,1216,1484,1240,1010,660,405,634,463,477,411,445,531,877,1268,1326,1340,1322,1102,877,740,926,1202,884,844,1106,815,527,436,365,417,629,673,583,524,872,1048,1007,1180,1354,1454,1490,1042,770,633,597,761,947,971,1064,1068,799,951,1138,1028,810,846,954,1048,781,478,497,571,559,367,332,392,614,935,724,350,651,743,436,337,475,739,951,1130,1170,1256,1136,1338,1310,1026,739,631,681,929,1334,1234,929,1009,805,631,716,1192,1274,914,868,951,1078,1224,1418,1356,1192,1340,1238,1234,1030,906,815,1134,1208,1032,1106,1112,1094,1570,1364,963,1432,1168,833,776,740,1032,1252,1360,1354,1392,1578,1532,1148,813,974,1098,1176,1096,1144,1076,860,855,981,1174,1376,1268,1028,1118,1172,917,872,889,1194,1296,1276,1186,915,860,868,1224,1700,1482,1440,1508,1438,1206,1402,1610,1634,1650,1462,1200,877,925,832,874,1214,1400,1234,1068,1472,1794,1650,1824,1878,1446,1062,780,553,563,716,805,590,494,439,483,618,580,524,650,570,540,940,1432,1690,1474,922,871,637,631,939,888,962,1192,1256,1336,1332,1170,1018,952,828,788,573,479,632,804,876,1090,1302,1456,1642,1512,1324,1490,936,666,631,659,684,825,937,897,810,1136,1436,1140,1346,1096,799,569,368,527,877,896,979,1324,1604,1100,491,577,696,520,424,803,1278,1426,1034,629,506,397,432,433,380,259,322,363,595,805,688,582,461,318,980,1520,1204,1030,796,631,1090,1032,628,521,454,424,782,1084,1210,1300,1394,1512,1270,550,802,694,336,423,1288,2128,1628,826,532,384,387,568,952,1410,1644,1686,2028,2280,1594,737,421,374,418,390,632,735,529,535,664,733,783,639,678,780,687,549,577,581,552,536,620,731,702,683,617,610,537,429,389,360,362,423,471,480,420,499,576,415,427,561,816,861,547,463,573,569,524,557,554,550,590,626,577,508,480,469,480,502,558,515,404,507,621,614,634,664,650,573,653,650,641,724,734,705,799,854,721,554,461,415,403,409,439,435,428,404,360,348,386,377,382,423,403,451,529,604,592,539,402,454,663,694,590,473,379,358,375,424,455,439,475,460,481,591,787,714,647,609,546,469,621,1096,1316,988,1074,1438,926,600,925,1226,850,585,612,596,694,868,1310,1402,958,1082,1308,1009,1626,1232,683,694,605,764,1188,1624,2014,1626,930,822,922,778,777,987,1444,1462,1046,899,790,590,369,384,472,789,722,506,677,680,1106,1186,890,843,755,700,1184,1028,572,496,393,298,294,298,291,338,502,774,1130,1132,922,860,640,746,922,904,619,528,559,499,507,484,434,385,405,389,396,422,482,655,760,432,525,799,523,420,413,401,425,455,441,534,562,477,435,440,393,391,410,429,385,391,441,405,387,597,668,431,506,911,800,500,521,338,559,1009,817,843,968,960,905,765,666,619,718,988,1182,1410,1372,1021,1584,2120,1814,836,836,1056,838,631,700,802,579,536,758,1026,1146,1026,509,426,557,498,471,483,574,647,711,698,974,1448,1594,1284,1312,1060,1126,1028,1078,1266,1260,861,1152,1736,1066,408,479,789,1466,1362,728,557,651,864,802,491,343,522,771,491,400,365,297,329,365,870,1484,1482,1392,1124,982,865,563,401,346,459,991,1642,1522,1084,1376,1722,2158,1676,821,653,588,505,516,849,1682,1572,617,419,382,633,1015,1013,783,471,348,360,398,501,549,525],[421,452,426,424,445,468,458,416,342,307,310,323,370,390,412,397,401,448,437,378,412,375,352,343,336,360,408,432,414,393,419,395,430,496,412,577,694,655,686,712,700,713,733,751,697,494,327,320,409,453,382,349,318,311,317,328,271,283,296,276,269,290,282,280,274,270,275,266,258,273,288,284,273,271,271,287,364,380,369,415,430,437,368,311,434,496,644,926,836,582,565,564,543,871,1005,993,1194,974,1096,1294,902,791,1018,937,641,883,1738,1670,1540,1328,1042,909,811,401,374,454,677,877,576,944,1146,1196,1082,755,755,598,544,1004,1120,1002,1292,1474,1302,1062,808,1002,1210,1592,1440,1166,1050,946,664,385,628,1314,2220,2468,757,405,466,605,709,616,600,338,257,269,284,469,1032,1238,1032,824,677,550,830,803,861,671,588,531,562,645,611,554,562,602,545,422,518,489,545,640,698,992,1320,881,526,584,974,1232,1086,1028,1054,1222,1272,927,767,984,1098,835,605,748,1044,1538,2194,2188,1100,670,607,716,933,1030,1162,851,675,1114,1236,1774,2462,1012,634,628,487,388,437,636,946,1100,1200,1200,940,857,1044,778,823,1278,954,673,1206,2170,1344,459,568,816,946,1138,1098,1202,1002,714,889,989,1232,1560,1142,1016,1182,1282,1352,1242,1096,1090,1088,1286,1318,1826,1932,1708,1636,1566,1614,1460,1318,1522,1542,1518,1140,1094,1108,1246,1274,1016,1390,1536,1236,1384,1188,1030,1132,937,895,1042,1248,1148,1004,477,324,283,329,341,392,535,756,1058,839,624,696,839,841,1014,1426,1388,803,645,670,381,596,546,524,571,731,978,936,1008,1388,1504,1256,998,924,928,993,1200,1070,1070,1122,681,462,612,724,601,720,781,742,1120,1132,726,633,853,707,527,883,1038,1090,1512,1708,1140,637,507,571,991,1174,1418,1394,1440,1490,1334,1094,1126,1044,823,685,951,1466,1526,1102,939,1044,1030,1068,1102,1266,1040,840,610,390,502,559,386,550,666,685,739,632,488,450,339,332,544,577,434,579,875,886,955,916,702,517,459,435,428,412,293,205,247,247,279,294,390,883,1012,697,1112,1546,1726,1188,863,750,639,741,781,1186,985,912,1334,963,666,502,583,995,905,524,721,1140,1114,842,921,785,441,792,1458,1274,808,851,1314,1892,1770,1222,897,1054,1282,1306,1312,1266,1172,1050,926,1186,1386,1404,1688,1232,1080,1072,1050,1106,1174,940,921,1214,1230,1288,852,513,604,780,777,935,946,940,1186,1066,1404,1504,1510,1356,1150,1140,1206,807,328,444,899,1296,1034,1274,1426,1466,1332,1270,1096,780,495,405,427,770,1128,1124,1342,1218,897,773,772,623,624,881,1050,1130,1244,1482,1838,1546,1308,1088,1070,1174,1130,742,762,875,979,1060,931,703,1004,1218,1136,1190,1150,1178,1082,1266,1230,1470,1778,1764,1634,1604,1852,1608,1530,1570,1174,998,1312,1322,1274,1096,926,1036,1092,1338,1566,1632,1328,1358,1636,1490,1230,1418,1714,1562,1314,1212,906,1020,1188,1324,1398,1362,1704,1534,1384,1268,840,863,1550,1794,1650,1578,1556,1426,1384,1382,1204,1250,1300,1058,738,596,668,1096,1566,1612,1518,1570,1442,1180,1170,1030,1040,877,671,587,647,659,551,529,704,1026,1284,995,1158,1222,1316,1316,1318,1376,1290,1338,1222,1040,836,885,1462,1164,965,1188,1622,1554,1592,1468,1262,1144,877,788,911,607,434,443,446,463,390,393,464,522,529,525,447,359,342,346,389,428,373,355,344,296,292,314,327,342,313,290,291,297,287,298,316,339,356,371,360,418,516,608,742,692,452,460,522,466,399,415,466,514,534,499,477,511,534,496,494,544,541,544,533,498,428,438,475,502,483,453,455,434,469,449,438,445,452,456,437,463,459,509,640,1156,1716,1810,1662,1336,925,648,370,337,348,421,492,459,410,356,327,318,292,393,638,703,617,393,374,363,322,325,319,364,398,504,716,709,696,1104,1292,1376,1200,916,1054,1282,1174,1084,1250,866,656,556,300,362,363,403,655,930,1062,1200,1100,670,511,879,1046,1242,1322,1080,1180,1280,1278,938,1130,1166,730,909,1454,1590,1610,1488,985,781,1084,1206,1422,1468,1188,1130,1268,1122,1140,1180,833,863,987,1120,1288,1312,1188,895,1064,1298,1214,1266,1134,1066,1032,1046,1540,1494,1001,1256,843,420,442,1104,1350,1252,858,615,561,431,369,394,454,709,720,781,901,1140,1136,722,740,915,1246,1314,882,972,1256,1158,1058,1198,1002,924,1009,615,375,488,650,996,1130,825,677,977,890,551,792,991,893,1062,1108,1011,1154,1336,1208,960,584,564,537,501,469,463,459,490,788,1134,993,672,740,836,908,1020,569,418,388,535,819,926,828,759,743,614,453,697,1130,987,629,558,633,694,647,836,1060,1644,2158,2088,2088,2084,1738,1196,1892,1726,963,674,1118,1402,1164,1168,1276,1286,1028,1072,940,1002,644,551,509,640,576,457,430,394,358,346,346,365,361,422,597,786,678,647,867,948,811,835,877,703,643,974,1172,1222,835,603,503,876,1230,1308,1306,1428,1350,1172,955,626,539,527,483,629,908,1023,1278,1126,937,894,993,1138,1096,1590,1658,1060,1290,1142,1390,1162,975,858,824,769,681,633,545,643,1040,892,752,919,737,686,561,416,612,799,715,889,1324,1366,1282,1286,1386,749,499,708,921,1438,1416,1476,1516,900,573,429,405,586,957,734,504,469,641,982,894,986,1242,1622,1474,775,499,648,686,1086,841,527,484,757,888,799,613,554,658,654,560,588,481,378,403,405,401,394,337,337,487,789,688,371,321,274,403,450,469,910,1156,991,1138,1174,1015,1140,1010,558,421,426,438,588,825,793,757,882,1010,1248,1114,1202,990,702,764,764,926,1172,1224,1270,1242,1250,867,999,975,772,741,955,1268,1036,807,730,615,1144,1426,1698,1960,1638,1116,906,891,931,1166,1598,1778,1688,1440,992,916,734,716,999,1128,1084,891,633,588,813,1023,1184,1216,1228,1250,1298,1126,1082,967,753,996,1206,1100,1034,962,832,848,1506,1482,1434,1356,1310,1256,1442,1800,1812,1708,1786,1602,1480,842,849,818,935,1256,1576,1650,1464,1554,1650,1358,1180,861,644,533,550,661,775,1098,974,764,630,456,446,547,612,519,668,517,444,664,1188,1294,874,539,774,706,560,858,1026,1128,1348,1416,1366,1222,1200,1102,1074,822,574,518,627,1142,1534,1302,1356,1406,1432,1608,1382,1120,1364,1200,728,659,754,761,798,775,908,879,992,1350,1304,1368,994,599,605,615,754,852,628,703,910,763,639,674,756,1032,742,490,819,1160,1168,809,510,476,383,409,470,430,337,362,471,1140,1476,1180,946,797,778,1666,2094,1582,1112,711,608,1108,948,680,486,430,594,832,959,878,1116,1442,1274,1152,604,351,282,308,277,637,1212,1068,720,528,499,470,566,813,1130,1250,1034,1318,1940,2018,1036,423,416,433,476,634,525,480,457,513,651,924,831,908,1188,1126,847,672,563,551,587,610,652,620,557,410,437,452,415,388,360,409,478,499,488,443,462,479,357,489,595,742,921,628,448,538,554,521,521,441,463,554,713,605,499,488,445,432,417,455,498,526,607,637,615,615,667,663,616,642,651,635,651,694,754,754,666,568,532,529,439,445,476,420,371,327,355,369,389,392,378,412,447,450,535,599,623,510,471,416,392,549,597,468,472,432,405,372,350,374,453,458,412,394,558,660,623,588,688,856,557,487,918,1164,761,1042,1248,1376,1332,1178,1222,957,656,719,752,706,610,953,1120,692,731,973,1196,1302,863,546,567,530,516,758,1578,1830,1346,1060,958,1015,778,410,529,902,1046,991,884,880,968,847,790,603,854,819,774,781,813,1228,1324,1086,1118,1310,1208,2016,1438,1174,805,420,523,568,331,379,401,463,675,985,865,525,675,565,565,722,730,609,508,458,530,567,473,408,360,383,374,385,420,463,945,963,484,715,969,456,453,423,437,497,514,535,498,498,451,430,459,427,394,374,396,358,717,602,375,433,733,725,508,711,1420,1196,518,402,338,476,758,825,887,915,600,616,817,896,865,928,976,1156,1250,778,506,739,1142,1096,599,597,868,933,926,1128,943,458,492,748,860,1000,1394,970,652,653,547,499,561,589,571,561,525,605,750,741,959,1028,1068,1102,1316,1462,1234,1052,1009,1098,1182,724,593,472,433,748,1060,1108,864,757,827,639,429,528,1116,1342,1062,449,319,297,337,369,1354,1870,1268,1146,1328,1476,1174,626,449,392,508,705,867,840,641,1036,1876,1908,1036,435,495,625,736,448,724,1672,958,548,645,835,1040,1082,1244,1138,602,429,426,436,543,654,777],[303,373,379,435,440,430,424,379,318,334,393,386,430,474,458,419,394,402,367,329,329,322,316,323,404,426,408,398,410,402,393,394,339,402,609,720,733,739,691,651,689,735,748,691,568,422,320,393,576,557,397,342,318,322,309,269,279,321,305,275,259,274,282,281,269,274,278,274,289,298,292,285,276,272,270,283,352,344,355,406,430,443,415,364,462,478,503,584,563,516,496,539,592,665,963,1102,899,509,583,877,912,834,874,990,783,1022,1114,1310,1222,1152,948,738,542,347,414,508,936,791,404,669,1268,1226,693,418,395,536,466,705,1112,1244,1272,1478,1712,1368,1290,1382,1626,1760,1472,1202,1478,1252,772,642,965,1954,2126,1968,570,374,379,388,700,707,432,268,293,332,355,707,1122,971,637,497,639,665,966,935,1086,1040,692,473,487,633,627,666,713,713,539,389,489,934,1566,1730,1428,1810,2186,1188,791,625,892,900,820,967,1056,1298,1180,933,797,901,1056,828,503,536,910,1166,1516,1574,1124,1034,1162,1138,1256,1302,1130,921,777,1144,1230,1462,1692,1114,1028,828,502,389,378,648,1124,1058,1044,1174,1182,1010,1026,1140,1100,1098,984,727,681,697,602,514,797,1582,739,531,645,870,1044,1046,953,877,952,947,986,1228,1488,1412,1490,1356,1007,902,1044,991,1204,1306,1450,1652,1674,1740,1516,1358,1348,1378,1256,1182,1001,1212,1246,1360,1308,1082,1318,1418,1564,1776,918,895,1172,943,1130,1250,1196,1020,656,467,582,428,345,379,638,877,695,952,866,613,857,821,462,548,927,971,715,830,657,346,462,299,283,495,814,1018,955,1058,1418,1564,1288,934,844,992,1032,1180,1140,1120,996,703,706,816,841,858,906,833,995,1234,1068,786,899,946,955,957,949,709,981,1800,2138,1352,937,1082,1005,1218,1015,1334,1266,1334,1226,948,858,1056,1332,1184,1092,1234,1288,1180,1018,1138,1070,1226,1330,1072,999,738,536,572,477,420,461,312,346,404,600,740,609,454,401,344,353,473,529,576,537,771,1056,1304,1246,1110,834,533,425,423,369,283,237,248,256,233,228,298,606,608,562,961,1372,1446,1192,1104,820,586,652,762,1060,1112,1186,1180,1000,838,590,1656,2932,1350,458,684,1016,857,726,786,684,478,838,1230,1194,979,998,1394,1774,1512,1198,879,1042,1072,1358,1028,993,919,794,715,909,1174,1706,2250,959,915,945,996,1094,1136,1076,1042,1200,1302,1208,996,1042,882,990,1112,860,1096,1152,739,942,1418,1610,1460,1362,1296,1270,1278,740,448,521,1216,1310,820,847,1214,1396,1422,1350,1244,1210,1056,626,727,1244,1264,1282,1296,1240,943,966,1240,1056,824,952,1064,1200,1296,1526,1690,1650,1456,1062,1142,1144,837,705,710,628,792,969,772,471,490,609,778,1236,1278,1166,1146,1056,1042,1446,1714,1710,1664,1688,1762,1634,1232,1296,789,844,1376,1416,1346,1034,788,1080,1342,1532,1538,1490,1516,1580,1500,1216,1284,1448,1544,1428,1318,1106,843,1148,1108,1224,1230,1248,1470,1568,1538,1304,970,1020,1318,1582,1556,1498,1542,1526,1322,1156,1136,1134,1274,1278,1108,808,674,960,1550,1680,1486,1532,1490,1346,1278,1316,1362,1270,833,561,657,758,629,629,763,745,933,774,908,1296,1520,1100,1078,1202,1322,1250,1100,893,887,1008,1222,1084,1028,1420,1774,1780,1880,1650,1340,1458,1492,1194,1040,659,436,449,467,450,390,407,447,466,454,408,387,339,324,321,327,334,367,360,316,331,421,378,312,334,316,288,275,308,305,306,316,338,342,365,395,432,497,634,777,628,521,419,395,383,383,426,488,512,504,509,524,520,537,557,525,514,547,589,554,487,427,449,474,521,472,461,504,453,396,431,484,489,439,434,388,404,412,595,1228,1774,1750,1604,1338,886,615,576,394,358,380,452,492,441,404,374,395,485,489,470,691,656,707,518,387,320,322,314,325,336,406,639,846,733,598,741,1244,1326,1256,1042,1054,1178,1206,1064,651,485,430,389,357,343,381,466,785,891,907,1176,1370,923,683,968,1144,1294,1388,1298,1102,1292,1364,1186,916,1136,1150,850,1060,1444,1604,1532,1268,1190,1150,1312,1340,1394,1156,1136,1284,1236,1332,1294,1146,1088,1023,1224,1296,1236,1172,1018,1100,1244,949,756,655,894,1172,1178,1494,1216,1007,999,813,639,711,1468,1832,1470,748,524,479,515,414,551,899,907,817,1172,1310,1208,1096,695,567,987,1440,1294,810,1418,2132,1630,1134,1144,1110,865,661,487,399,495,574,999,1102,666,404,560,730,1034,1142,1138,1142,1148,1116,1018,1284,1538,1212,656,506,581,621,445,381,420,429,600,917,847,602,465,520,781,810,925,894,838,715,580,690,673,534,468,380,328,481,891,1254,997,629,518,591,612,630,750,783,1246,2024,2068,1990,1924,1252,713,1166,1021,931,890,1304,1632,1418,1086,1064,1184,1094,943,629,784,843,620,498,490,379,304,341,377,365,364,371,390,365,387,455,724,824,686,765,872,900,782,615,539,516,741,1126,1240,1160,966,794,892,1162,1322,1330,1290,1314,1548,1460,585,688,944,1066,1024,1206,1184,1140,924,722,870,1048,995,875,1344,1598,1132,971,702,1156,1288,1050,858,850,991,1220,1184,741,589,843,604,641,818,966,1262,807,619,866,1244,1392,1108,1194,1226,1236,1238,1026,414,330,683,914,1310,1622,1870,1484,637,525,420,498,550,869,931,946,815,761,962,1076,1090,1162,1246,1166,901,798,770,602,874,717,704,671,713,836,650,532,553,447,441,504,415,347,322,332,368,449,467,413,402,337,362,467,379,432,553,577,540,517,1160,1174,919,1170,1166,701,559,546,343,296,381,515,683,1072,1196,1158,1072,1106,1238,1015,883,1074,727,337,438,798,878,1102,1302,1194,1214,1122,1118,940,711,813,736,1098,1050,959,1170,1130,1248,1740,2126,1762,1306,1330,1370,1226,1356,1536,1862,1750,1312,986,935,1118,802,607,913,1320,1482,1302,1256,1510,1804,1504,1136,1044,1364,1292,1023,987,1166,1232,1034,1100,1278,1290,1154,1282,1112,995,1396,1538,1400,1226,1304,1490,1576,1682,1650,1576,1820,1616,1428,1062,1094,1021,1112,1296,1420,1496,1236,1312,1384,821,537,443,541,584,553,680,1058,1318,1144,938,675,476,442,519,636,558,694,564,456,703,991,860,611,503,612,715,517,535,590,903,1048,1084,1098,1056,998,987,1188,980,756,644,611,901,1534,1424,1406,1350,1290,1338,1412,1420,1524,1388,929,714,791,769,786,711,860,916,962,1136,1368,1372,1182,991,828,882,858,583,415,482,683,587,684,760,683,713,575,365,565,685,589,780,771,556,571,739,437,536,816,747,989,1530,1406,829,658,979,1254,1412,1484,1196,996,662,469,566,700,844,755,671,832,1106,1214,1200,1400,1088,611,749,670,381,304,286,344,846,1086,792,849,826,393,366,303,449,695,741,825,902,1130,1284,919,423,365,441,694,669,433,477,423,485,780,797,1140,1410,1542,1764,1388,1022,771,581,666,871,909,859,686,432,357,439,469,397,373,442,515,578,529,508,460,429,383,477,525,608,576,523,487,501,497,525,521,632,600,507,634,544,454,450,424,376,369,437,460,463,559,618,601,615,667,666,592,586,648,615,506,540,589,503,452,540,646,733,675,634,545,389,312,330,345,339,359,363,378,402,385,389,459,564,565,539,510,409,370,432,465,513,510,406,401,426,405,340,398,405,393,614,739,634,667,667,746,971,764,790,1076,860,603,893,1232,1578,1452,929,1094,1078,717,801,980,1098,792,642,770,709,455,554,842,869,637,530,492,434,481,715,1354,1332,1136,979,775,858,805,483,338,399,558,793,846,998,982,954,959,805,698,669,742,878,921,961,640,692,1324,1522,1350,1188,1274,1636,1004,523,1188,1822,1054,518,477,415,485,655,751,495,349,321,426,482,489,647,740,703,686,574,473,444,412,395,391,423,463,497,525,432,428,618,540,458,452,421,455,475,525,512,437,467,460,394,391,450,451,398,406,469,548,403,327,487,681,684,482,625,1066,907,487,361,362,411,453,797,966,742,498,432,677,1136,1364,1554,1176,1030,976,565,634,494,613,554,603,941,910,589,753,1068,1172,946,987,946,681,970,1762,1372,780,628,483,509,522,509,605,567,414,380,638,818,664,527,607,924,1238,1198,1080,1120,1056,844,681,498,571,522,392,515,940,1152,1088,845,563,442,469,630,1166,1394,1007,428,317,319,321,600,1784,2000,1108,1066,1088,1534,1276,1236,893,648,695,743,882,1374,1202,1210,1440,899,561,448,480,686,503,576,920,1064,637,552,792,1118,1138,1030,1038,778,537,552,478,522,697,985,1454],[281,361,456,455,449,478,398,340,362,382,374,385,462,530,536,456,396,380,357,325,297,325,364,448,514,452,414,405,410,442,455,434,450,606,747,742,720,698,675,684,712,750,683,561,568,563,473,525,638,527,362,309,314,312,318,294,295,313,284,279,279,286,282,276,273,261,254,260,263,263,276,282,273,272,278,300,325,344,368,380,397,415,464,576,608,509,597,664,738,527,405,457,538,578,799,873,821,782,584,713,1068,1136,973,822,949,1220,1050,1156,948,833,756,655,478,312,357,741,1114,509,758,1118,1536,974,494,536,638,661,520,455,505,560,1086,1360,1224,1114,1214,1756,2098,1548,1122,1328,1424,1108,1032,1208,1440,1756,1604,943,394,389,444,576,730,700,428,356,325,314,319,432,717,783,564,570,724,767,702,850,1252,1102,623,537,668,709,587,728,788,756,480,407,476,1082,1396,775,697,960,1238,1190,1106,1010,1098,997,852,942,953,844,1184,1340,971,1036,1026,808,576,673,983,1296,1440,1160,1062,1482,1514,1372,1438,1138,888,1228,1070,1102,992,1714,1686,1220,1170,965,610,377,391,675,1344,1026,885,1182,1174,1076,1128,1344,1260,906,575,513,585,435,597,714,983,1078,562,484,548,889,1228,1448,1400,955,750,943,1112,1180,1684,1340,1160,1232,1268,1230,1110,1290,1632,1406,1130,1398,1554,1642,1578,1290,1172,1292,1402,1316,1350,1294,1318,1378,1340,1350,1334,1284,1232,1001,591,826,1142,1122,1274,1438,1330,1020,544,480,662,482,479,583,860,725,659,1154,1258,890,731,631,429,550,622,633,663,609,377,328,370,562,545,582,942,919,814,970,910,863,952,905,799,835,979,1180,1120,1122,968,886,801,619,617,792,812,850,935,776,1102,1146,1052,993,1100,1164,1098,1052,791,1214,2180,1818,1072,1366,1446,1378,1266,1330,1144,1248,1272,1094,1248,1338,1312,1013,1362,1264,1002,982,1190,1202,941,1094,1028,714,603,564,644,576,509,426,353,300,351,382,403,457,509,494,404,339,343,443,736,815,487,642,1122,1266,1240,1284,1296,996,429,385,325,251,237,207,260,289,265,247,260,323,565,705,728,811,775,677,604,665,875,760,711,922,975,978,836,712,625,987,1180,625,479,451,585,595,663,679,524,458,545,909,1318,1248,1062,1092,957,1120,918,1102,1288,1120,1168,934,810,896,991,766,803,1042,1478,1812,962,641,724,848,974,1102,1122,1094,1074,1284,1256,1190,1400,1208,842,804,761,919,960,975,1122,1338,1430,1410,1440,1218,1158,900,720,662,655,1070,958,658,684,977,1370,1356,1242,911,1026,1370,1416,1302,1486,1470,1346,1476,1310,1208,1494,1318,986,912,1074,1190,1366,1390,1512,1674,1576,1408,1420,1410,1106,657,637,742,803,765,606,737,680,411,453,633,1028,1256,1304,1342,1248,1186,1360,1410,1626,1632,1630,1626,1520,1450,1236,895,943,1058,1188,1054,872,831,1064,1188,1256,1450,1500,1600,1428,1216,1226,1238,1074,910,809,946,969,1158,1178,1104,1100,1040,948,1112,1390,1432,1244,946,1246,1562,1598,1510,1524,1450,1432,1290,1190,1118,1160,1340,1456,1324,838,670,1007,1672,1776,1660,1580,1228,1236,1268,1128,1472,1566,803,511,663,922,959,874,1202,1256,771,475,955,1788,1452,769,780,675,915,1018,1021,932,980,1062,1334,1450,1334,1510,1554,1594,1870,1942,1704,1588,1628,1112,893,667,511,494,466,412,400,434,484,466,440,382,364,329,315,321,347,406,422,352,300,340,379,337,301,300,296,273,287,341,327,329,333,347,347,345,401,461,487,684,697,545,522,408,332,357,379,415,435,450,493,537,543,544,565,550,511,506,547,583,498,402,378,408,445,427,422,440,411,388,386,426,480,548,535,434,428,472,623,1214,1830,1814,1570,1144,699,541,549,572,446,399,415,467,516,530,555,574,602,811,706,652,785,652,603,575,393,319,322,328,368,431,497,563,608,686,624,597,969,1318,1296,1100,1088,1104,1196,907,556,398,375,413,433,438,438,370,475,824,907,947,1156,846,854,991,1028,1176,1328,1464,1306,1160,1120,1138,967,1406,1396,898,1112,1398,1248,1400,1336,1376,1500,1362,1298,1256,1170,1154,1216,1230,1424,1290,1478,1274,1226,1500,1504,1322,1164,997,955,874,625,535,854,1294,1400,1416,1198,1152,1356,1118,1016,1152,1096,1188,1634,1416,693,487,557,874,899,899,1238,1328,1162,1378,1670,1472,885,508,539,888,1286,1534,1628,1908,2182,1886,1350,1202,1338,1009,739,830,738,1010,738,976,1032,977,594,436,573,1062,1292,1046,955,1054,915,880,963,979,814,543,563,576,550,410,368,419,465,751,1076,872,703,551,1028,1498,988,780,1044,1042,725,666,777,759,437,415,424,449,831,1402,1438,1120,735,536,525,523,491,491,644,888,1572,2028,1926,1648,855,560,518,391,688,913,1164,1492,1616,1270,1166,1092,1100,587,472,889,830,508,440,329,298,263,283,352,337,348,372,397,379,396,396,525,686,767,794,877,954,869,824,876,758,819,991,1256,1266,1204,982,739,926,1116,1130,1272,1266,1410,1180,915,1144,1270,1108,710,788,904,958,1084,918,921,891,1246,1074,846,1114,1182,937,901,1176,1122,991,896,909,1054,1094,1020,1140,1028,1178,1060,1130,824,952,1088,906,1080,1056,1146,1434,1060,1158,1202,1112,1256,810,416,402,658,777,1116,1436,1118,1132,856,600,423,447,447,838,1152,1222,1330,1132,1008,1166,1172,1140,1015,1005,938,1006,924,656,688,689,668,607,661,745,465,575,704,588,627,607,426,369,324,311,384,453,452,421,385,353,378,427,448,516,916,713,498,597,1132,1268,1066,1360,1160,480,321,460,625,541,484,447,938,1222,1204,1230,1023,756,619,647,658,705,463,349,326,792,1070,1098,1244,1300,1308,1200,1186,1020,552,716,839,1058,1026,1240,1656,1602,1270,1372,1504,1354,1104,1300,1342,1118,1252,1560,1438,990,736,896,1056,918,646,703,800,1021,1384,1604,1730,1472,1496,1616,1162,1148,1310,1078,1054,1108,1092,1122,990,1050,1322,1306,1164,1302,1362,1268,1396,1554,1530,1380,1350,1570,1460,1378,1222,1330,1586,1696,1422,1162,1244,1108,1242,1456,1296,1122,1372,1642,1628,880,578,568,1032,1004,734,1080,1488,1246,1030,899,572,472,450,496,639,644,609,613,500,454,507,509,585,567,521,692,562,569,567,662,820,961,883,1023,1116,1122,1180,1088,893,709,589,623,1362,1424,1372,1396,1238,1310,1394,1188,1134,1310,1009,717,739,716,770,725,791,869,912,1036,1310,1372,1194,1100,583,707,1092,808,462,380,579,486,482,569,525,750,756,481,1106,966,478,868,1096,814,709,600,477,886,1422,1106,933,1120,818,709,680,1156,1418,1040,917,471,496,651,598,780,989,973,915,848,623,861,1096,1024,723,528,589,545,400,304,274,393,720,1012,1264,1114,1124,1118,565,432,292,345,669,898,917,786,683,843,948,731,460,510,739,435,384,393,421,633,951,860,1154,1584,1632,1944,1766,1334,1118,859,929,1082,1152,1042,812,649,481,487,653,600,649,661,629,633,545,505,497,532,484,456,540,541,499,577,555,540,469,540,497,591,669,597,595,490,422,388,320,336,495,537,575,490,559,650,637,651,656,659,598,540,599,632,559,579,579,511,464,468,467,802,908,711,541,406,318,338,339,342,333,323,341,384,381,394,425,470,456,503,499,419,421,442,489,655,510,476,479,528,531,418,367,387,589,871,891,891,680,694,883,1976,1500,1070,901,831,899,1268,1462,1048,883,624,1028,1252,959,1274,1044,980,839,603,758,829,578,595,688,391,300,419,413,383,713,1220,1462,1510,1048,577,623,680,579,493,351,301,336,481,816,898,763,845,878,783,763,571,578,987,996,780,473,403,871,893,799,858,1124,1088,941,885,1896,2618,2046,763,396,395,479,428,439,361,295,300,292,321,401,554,1050,1018,919,710,552,489,408,377,373,398,396,462,594,589,467,506,489,414,411,394,413,475,501,449,418,440,479,430,391,417,449,464,505,524,381,327,356,421,538,541,610,636,827,802,571,398,379,451,469,635,708,518,557,755,1004,1276,1512,1442,1330,1282,1284,919,614,450,445,347,535,1076,875,489,846,1108,1628,1974,1596,880,568,615,918,818,531,477,437,464,403,463,580,621,506,487,655,664,494,389,559,952,879,876,910,773,689,660,705,814,664,388,315,453,722,908,1080,757,483,439,428,562,816,1062,603,323,332,346,346,809,1778,1712,949,1084,1074,1372,1268,1330,1274,1112,1106,862,1516,2590,1684,1122,894,827,689,485,601,645,481,693,1296,1396,744,437,460,723,1234,1064,1056,854,650,606,538,602,937,1212,1124],[308,390,524,437,402,393,360,371,396,379,330,349,441,500,485,415,401,368,326,311,288,338,452,490,429,435,448,421,409,449,493,529,627,673,719,732,684,669,714,751,783,691,524,576,688,684,689,677,697,638,425,318,330,327,341,323,330,304,254,252,274,281,274,252,210,198,232,249,252,257,264,275,272,272,279,302,323,336,342,355,357,365,438,616,713,574,681,714,984,639,603,723,745,988,1100,1140,1168,837,642,1036,1204,1196,753,637,1012,1234,1246,1250,1072,774,666,593,449,496,399,422,570,400,816,1378,1390,1026,825,982,1318,1262,1036,530,706,917,966,992,1124,1282,1122,1618,1920,1296,1084,1378,1260,1106,1152,1476,1650,1568,1560,1396,1056,633,447,590,919,920,624,568,633,458,304,326,574,508,375,467,506,502,477,613,890,772,495,589,719,604,520,621,641,714,781,661,534,960,1144,455,486,346,902,2010,1470,1140,1106,1314,1140,993,791,783,1434,1492,916,965,798,719,519,773,1106,1404,1400,960,875,1294,1338,1238,1330,1060,1128,1434,1372,1104,1034,1322,1162,860,872,1184,1072,558,600,793,1588,1344,1032,1462,1074,728,968,1252,1346,976,545,372,453,407,443,575,946,925,865,796,786,1009,1256,1554,1466,775,800,1224,1050,887,1208,1134,1186,1428,1550,1350,1392,1638,1794,1432,847,1150,1462,1498,1750,1482,1334,1444,1234,1600,1804,1312,1284,1044,1017,1246,1214,1306,1058,941,943,860,691,639,744,990,1230,1026,634,436,461,487,448,750,1168,1224,954,1136,1460,1028,599,446,537,894,649,400,387,475,543,855,946,1248,1088,719,671,846,1012,974,811,799,852,902,922,814,943,1056,1096,1044,905,831,775,877,855,704,794,916,952,1130,1262,1442,1350,1322,1450,1226,1036,1082,856,823,1280,1582,1400,1194,1188,1282,1366,1266,1184,1386,1368,1500,1410,1258,1460,1390,1472,1160,1144,1126,1072,929,875,730,730,782,666,608,615,583,511,407,344,322,394,455,333,382,673,698,407,336,353,417,804,782,441,635,1096,1206,1188,1278,1472,1140,449,338,338,317,272,235,259,277,253,243,249,259,271,314,479,535,652,688,530,688,1134,1130,753,607,915,1212,897,705,527,631,661,571,421,431,466,435,451,444,432,485,653,919,1300,1350,1224,987,1016,1164,952,1092,1072,1124,1218,1172,1288,1230,1136,944,852,1018,1068,1024,678,602,754,908,1114,1214,1200,1074,1052,1220,935,698,811,940,946,921,934,898,1017,1046,827,1022,1362,1272,1080,1164,1736,1240,1112,1190,753,601,854,1092,850,886,1306,1196,1072,1084,1274,1296,1178,1009,1158,1196,1184,1362,1368,1410,1480,1266,1140,1090,1106,857,933,1166,1292,1656,1612,1246,1126,960,896,781,490,502,900,807,645,1058,778,400,505,547,752,1168,1212,1318,1318,1142,1106,1366,1448,1482,1532,1650,1690,1658,1360,1164,1072,931,909,869,817,802,899,995,1072,1192,1422,1354,1036,912,814,899,980,691,622,878,1178,1382,1186,1021,1064,1026,851,847,1046,1262,1414,1332,1544,1580,1594,1600,1556,1430,1268,1144,1140,1134,1250,1328,1348,1054,948,912,1330,1880,1824,1400,1007,889,1118,1256,1288,1254,978,566,645,879,1094,1092,711,643,997,816,573,943,1044,756,774,576,436,865,834,977,988,1062,1312,1572,1536,1516,1546,1346,1528,1722,1792,1532,1546,1628,1250,1100,1100,893,605,453,449,436,430,430,430,406,369,362,339,325,324,429,626,594,359,290,302,304,298,279,279,283,281,290,302,300,323,344,356,360,360,397,424,560,833,536,481,492,370,323,407,454,430,383,387,503,558,554,551,581,589,570,584,590,572,514,442,418,420,438,404,432,456,427,421,463,478,476,499,511,437,419,654,1278,1802,1826,1572,1192,662,501,536,589,579,448,401,404,422,528,752,759,707,538,666,656,858,1046,876,658,533,389,336,296,333,465,487,552,577,653,1164,995,844,1276,1318,1002,1040,1088,1120,1186,714,633,353,276,394,408,562,710,550,463,730,814,733,759,819,867,995,900,1034,1294,1228,869,632,869,899,908,1362,1019,845,1128,1244,1282,1542,1482,1288,1194,1276,1160,1040,1154,1124,1064,1146,1256,1434,1504,1372,1154,1654,1650,1126,978,1038,891,654,782,1228,1598,1284,1066,1344,1198,1160,1160,767,711,1084,1006,1142,1188,1206,1010,976,857,991,984,949,1096,1444,1566,1446,1446,1296,911,591,578,908,1394,1660,1916,1952,1706,1440,1266,1314,1434,1028,1026,930,956,960,702,753,679,764,667,495,671,1256,1640,1226,897,1015,1196,1254,911,700,736,636,509,534,519,404,411,429,518,761,1082,1078,810,628,980,1274,982,653,794,833,607,816,794,768,495,444,455,541,738,849,879,885,738,552,581,560,478,479,538,660,964,1760,1838,1172,566,355,383,425,402,514,974,1304,1574,1548,1066,1152,908,527,456,602,589,505,357,285,286,230,280,305,324,343,365,409,420,411,388,408,565,752,650,547,806,971,971,850,996,1012,783,913,1164,1124,632,566,761,896,1172,1450,1288,1292,1178,1096,1192,1232,1248,1026,897,1020,1078,1170,1110,1010,1556,2410,1598,973,1194,1360,1040,848,937,1034,1208,1178,1120,957,1054,895,854,919,928,948,1070,1076,1128,998,1056,1152,1234,1414,1342,1146,1172,1182,1210,1284,962,610,625,733,776,1002,1454,944,1040,988,606,636,1118,995,1102,1032,1007,1172,1014,990,907,702,617,814,970,893,1106,1042,832,701,478,373,331,486,771,581,651,1140,1302,1158,874,550,402,422,350,338,394,434,473,399,332,332,355,472,502,735,545,426,550,857,1254,1070,638,525,498,688,734,824,872,690,398,832,1086,1032,1152,955,797,579,592,638,1206,1136,567,512,946,1244,1232,1252,1282,1154,1298,1488,1256,1062,1490,1430,1300,1172,1146,1436,1366,1050,1042,1144,1312,1174,1338,1446,1356,1430,1394,1122,885,764,856,816,639,750,1074,822,1070,1300,1230,1624,2236,2744,2402,1642,1380,1156,1056,1214,1108,1154,1222,1346,1122,1106,1264,1424,1392,1110,1156,1496,1642,1578,1588,1242,1152,1032,1004,1010,1294,1572,1706,1314,1021,1196,1194,1526,1792,1444,1424,1642,1692,1720,1188,655,611,985,1104,1040,1322,1674,1106,843,598,501,508,538,543,657,691,686,743,626,508,434,494,538,587,634,908,800,648,567,520,598,683,676,853,1296,1280,1164,1196,840,773,751,625,1192,1520,1582,1470,1374,1440,1130,1088,1116,1122,959,755,688,711,736,711,771,835,943,1058,1128,1308,1142,1266,715,541,732,680,438,334,502,496,362,341,437,758,818,584,1178,1146,627,780,853,582,561,633,479,651,1096,1024,644,566,553,813,886,1358,1310,731,555,471,501,541,705,897,750,704,929,1888,1426,582,525,507,496,521,466,476,535,405,404,776,938,1206,1636,1560,1292,1330,1066,567,390,398,664,1112,1084,614,512,728,1076,1058,586,619,518,375,396,427,483,732,1158,1058,1116,1440,1764,1854,1878,1478,1410,1196,1156,1084,1036,959,877,890,736,594,926,1023,1102,858,757,717,692,668,587,570,568,563,593,548,482,522,512,570,510,521,460,524,576,607,567,416,424,448,296,362,412,537,602,624,669,698,659,616,603,625,633,577,505,614,622,583,567,525,513,492,491,723,838,680,526,369,314,338,345,362,374,346,374,410,431,470,507,467,416,406,457,431,400,451,473,520,480,480,463,500,534,471,390,458,968,984,803,1110,803,604,1518,2232,1676,822,522,775,849,985,1066,1078,881,610,716,1150,1150,1256,1005,645,610,599,409,409,371,385,369,296,300,314,386,409,1098,1598,1434,1228,689,508,507,550,471,523,607,448,398,516,678,710,645,789,867,898,1048,563,600,827,1426,1192,781,665,575,656,720,962,1026,858,1064,1360,1656,1312,1308,791,421,312,309,379,439,342,321,290,272,321,481,651,1044,1320,1534,994,539,437,372,357,341,362,391,388,482,561,419,386,412,400,407,401,419,434,451,490,502,432,470,459,440,446,479,506,510,412,298,350,420,399,403,501,913,943,1208,1004,548,385,525,955,992,645,518,681,846,935,1112,1448,1588,1218,1218,1654,1776,1298,604,489,590,545,758,1098,859,830,1040,982,1342,1974,1348,852,1204,996,692,453,400,460,451,441,424,465,430,472,450,397,458,487,421,390,433,641,861,847,857,794,669,487,592,1142,1098,661,830,938,796,794,1088,789,555,491,565,493,416,385,325,344,319,344,446,908,1354,1276,941,1038,948,934,1230,994,671,1070,1158,1030,971,1098,806,752,557,912,918,671,525,373,439,656,844,945,605,519,401,508,1330,1058,1154,1322,914,576,654,786,1058,986,1006],[451,461,500,445,370,354,388,414,369,318,316,354,400,430,414,388,369,327,320,330,318,348,408,417,415,464,458,445,451,467,555,656,650,650,673,661,691,761,811,777,658,563,601,686,713,705,665,649,720,625,384,334,327,306,280,319,387,278,241,262,281,286,267,239,218,215,227,229,246,264,260,264,268,264,274,289,317,332,307,320,323,340,374,583,829,777,705,963,1088,777,962,989,574,998,1312,1518,1162,563,776,1100,974,1082,1088,871,908,1114,1166,1130,1252,887,781,633,573,542,362,367,511,422,606,1024,1330,1520,1240,1132,1350,1040,1062,712,1964,1892,1142,966,1064,1222,979,835,1108,1310,1242,1280,1152,1082,1078,1336,1388,1258,1394,1622,1638,1304,1078,778,722,738,642,1068,1248,706,336,417,551,393,317,392,413,536,519,434,453,461,652,653,548,514,536,557,443,510,561,482,529,727,778,444,398,352,672,1086,1194,865,907,1464,1404,973,959,1180,1236,1060,907,1164,1176,808,659,1030,1250,1144,979,762,616,772,950,1015,1148,1130,1116,1176,1188,1130,1098,1050,945,874,977,1074,920,988,1136,1368,1582,1208,1112,1394,1054,707,1006,1468,1302,848,634,387,330,393,440,588,811,762,680,861,1004,1098,1110,1408,1246,827,1050,1144,1072,1320,1686,1518,1404,1602,1470,1324,1566,2108,1844,1450,943,993,1104,1110,1612,1740,1512,1356,1512,1786,1410,1240,1258,927,1042,1100,951,935,760,868,1010,767,658,768,780,975,1230,1392,902,662,584,454,348,539,882,943,966,1214,1214,787,545,431,415,713,510,325,326,592,736,826,923,1178,1156,945,611,843,1246,847,664,1005,1160,1007,1100,1190,1210,1252,1262,1136,807,558,563,722,814,825,846,865,865,772,875,1296,1774,1772,1554,1394,1294,1280,1340,1232,1088,1440,1386,1074,1066,1176,1334,1158,1328,1534,1362,1458,1500,1526,1562,1504,1266,1262,1188,1003,906,818,916,576,572,825,702,568,595,599,509,412,378,378,420,479,337,400,938,995,564,404,449,748,1166,871,389,638,1028,953,863,972,984,547,352,356,322,299,274,272,282,250,242,241,231,235,219,247,422,614,628,519,535,769,1246,1284,902,783,820,822,636,537,403,614,634,447,362,487,594,606,581,518,507,684,1072,1192,1248,1294,1009,629,778,987,1024,850,738,979,1098,1220,1020,1196,1032,1018,939,1011,1158,1072,1140,1368,1014,1007,1240,1262,1122,1048,1182,1188,1128,879,584,659,849,932,951,1318,1432,972,835,1124,1416,843,708,1570,2172,1556,1230,966,454,375,744,1068,915,826,993,1182,1310,1484,1442,889,659,943,954,835,949,1216,1560,1428,1500,1372,1362,1256,1330,1272,1306,1440,1324,1550,1530,1202,1064,965,872,901,672,726,892,948,1176,1062,543,440,645,689,818,1064,974,1256,1260,1182,1114,1310,1424,1350,1434,1584,1642,1604,1542,1356,1074,1016,1326,1268,894,905,871,1062,1162,1214,1416,1214,1144,1456,1112,781,850,844,977,1262,1480,1458,1234,1002,936,969,1056,916,934,1144,1400,1604,1628,1554,1596,1632,1484,1384,1352,1238,1172,1200,1506,1252,1196,1114,1274,962,962,1520,1486,1054,886,1009,1136,1412,1432,995,586,712,1248,1278,1106,824,462,419,577,759,960,810,842,624,622,467,494,858,1076,1190,1256,1248,1402,1600,1464,1488,1340,1580,1564,1498,1728,1540,1468,1538,1222,1126,1354,1332,839,518,477,455,472,447,473,418,378,369,352,335,340,437,568,491,353,284,301,308,289,287,287,286,284,286,280,278,315,342,371,392,375,361,440,692,680,427,442,495,414,398,417,363,384,393,363,399,495,562,622,615,576,557,579,574,594,576,525,505,444,466,399,451,460,448,488,477,504,561,568,509,488,668,1272,1876,1794,1560,1184,670,447,473,499,560,547,409,374,357,382,475,1206,1194,880,666,724,860,1118,1446,1194,723,600,616,388,346,402,473,423,475,561,861,1290,1074,949,1404,1158,905,1040,940,904,990,860,821,670,621,521,458,937,1226,857,616,651,486,518,834,1072,1232,1082,967,1138,982,700,558,632,887,990,1030,1372,1274,1270,1088,1042,1106,1222,1340,1190,1260,1742,1406,1254,981,886,865,1202,1190,1662,1750,1478,1284,1438,1202,758,604,866,1020,1042,1078,1814,2090,1462,1252,1348,1156,964,1048,900,827,862,1046,1100,995,1030,1212,1472,1230,912,973,1258,1354,1388,1402,1192,1344,1532,1338,1030,1134,1274,1438,1572,1680,1742,1640,1450,1462,1532,1416,1210,1016,716,628,598,769,697,513,604,766,811,985,1338,1606,1546,1324,1168,968,648,585,645,614,560,547,552,499,434,465,547,539,648,821,891,948,998,1070,1120,901,679,987,905,563,661,439,556,555,563,631,509,401,403,361,435,615,579,675,554,517,530,568,698,761,1476,1546,720,424,393,377,289,278,344,650,1298,1360,1262,971,962,681,512,482,444,466,384,352,313,300,301,329,303,300,267,291,387,433,412,399,431,458,605,769,919,962,640,670,927,894,669,716,911,1136,1110,850,876,1128,1162,1048,1114,1058,1128,1230,1190,1146,1050,950,902,998,805,715,1182,1366,1034,2814,3974,2304,1003,785,952,830,429,430,703,1078,1142,1172,850,727,543,565,742,854,1122,1064,1224,999,767,1032,1160,1224,1234,1024,991,1014,1128,1112,1106,1142,840,783,715,811,962,1524,1106,783,618,584,1124,1606,1412,952,511,701,946,962,966,656,507,435,646,1013,1046,1076,1134,1084,580,383,375,390,533,775,677,479,926,1222,974,770,634,448,411,318,348,431,475,463,512,478,327,436,636,503,345,360,477,554,572,778,970,665,979,965,788,943,1394,1356,1015,810,780,850,1152,1236,1158,1007,658,494,422,874,963,735,810,1042,1148,1086,1174,1288,1374,1490,1448,1374,1328,1478,1376,1274,1068,839,797,1034,954,728,601,907,1262,1580,1730,1616,1258,1060,1222,1236,1042,1108,865,739,648,798,1168,1080,1096,1106,2048,2658,2508,2096,1712,1342,1034,1466,1624,1312,1220,1296,1272,990,906,1180,1312,1148,1038,1186,1466,1610,1492,1324,1008,986,999,907,888,1056,1484,1916,1626,1138,1428,1632,1820,2150,1842,1634,1632,1672,1566,1238,996,825,590,954,1024,1400,1396,974,633,560,699,780,797,877,907,773,875,976,807,597,466,483,556,890,1128,1120,808,540,516,513,446,483,691,1060,1390,1186,1018,938,761,711,673,572,814,1202,1092,798,955,1422,1304,1372,1252,1172,1088,872,691,677,727,759,839,915,928,943,919,1015,1196,1388,1110,645,477,453,329,374,621,630,431,510,579,547,491,822,803,1084,948,925,741,539,819,833,563,464,1017,1384,855,670,816,1042,833,850,696,459,574,684,697,689,604,547,582,746,992,1718,1136,611,489,415,670,887,725,432,450,358,682,1356,1648,2124,2322,2166,1828,1692,1286,708,563,460,489,963,993,515,509,1042,1346,1068,727,537,392,386,397,428,454,799,1248,1001,1056,1252,1204,1404,1678,1690,1498,1276,1258,1228,1454,1722,1268,1100,919,883,1028,1132,1224,1182,1011,941,886,745,721,647,613,613,576,539,521,504,465,507,511,484,412,368,387,529,491,393,521,645,474,423,331,555,618,677,705,726,749,622,526,600,638,618,501,577,641,579,529,476,465,531,647,761,788,738,612,402,329,376,372,361,376,374,372,378,421,478,515,439,465,494,593,624,566,527,466,453,486,472,450,449,467,431,422,411,766,894,997,1064,611,362,833,1604,1676,612,433,861,936,688,589,1220,1226,734,664,1170,1160,1044,1226,871,789,622,399,288,303,351,463,464,338,324,422,505,1082,1444,1188,834,642,391,325,356,528,797,808,564,732,752,560,622,633,846,1302,1312,1254,698,938,1184,1484,1092,855,893,699,867,1116,1222,1052,913,1002,905,942,774,672,605,451,370,341,397,462,346,351,415,506,447,475,726,814,1023,986,548,377,354,381,336,314,372,413,459,505,510,423,382,385,396,414,428,449,460,484,575,639,492,419,389,398,416,417,416,407,361,327,379,491,506,466,573,668,812,1082,774,449,372,552,1100,948,603,600,795,681,599,1070,1404,1318,1282,1546,1616,1562,1366,852,683,877,1238,1208,1102,1230,968,708,775,1420,1638,982,1466,2322,1364,584,478,671,492,395,390,425,473,459,400,357,378,439,453,350,389,537,821,955,928,1542,1692,1190,786,542,728,977,747,1188,1160,1208,1206,1132,977,1124,967,759,504,256,290,276,320,320,303,729,1318,1142,899,1228,1102,557,593,843,491,664,959,669,637,855,999,871,550,474,688,839,729,428,399,632,902,636,705,794,764,647,644,935,1072,913,858,697,662,744,661,719,805,1064],[480,466,491,451,375,402,417,395,341,326,350,383,437,491,472,426,353,289,346,361,291,285,347,470,444,466,480,427,391,487,639,662,635,645,598,604,709,796,802,660,596,674,704,682,659,645,626,632,594,451,380,336,324,283,255,271,283,269,260,270,279,280,243,218,220,230,236,231,238,238,244,264,273,264,277,299,324,340,300,299,292,336,309,531,866,937,803,667,597,916,1284,1188,1236,1382,1136,1326,1140,816,1004,1022,951,1306,1292,868,780,1134,1172,927,922,801,797,603,430,393,318,547,780,656,767,1046,1148,1234,1200,808,1005,676,560,789,1742,1600,1376,1382,1188,1326,1242,1084,1232,1274,1086,941,782,874,1122,1228,978,1826,2884,1490,1354,1534,1466,1080,951,1126,689,733,987,620,297,431,597,691,681,459,362,453,458,436,445,777,841,556,491,666,830,754,367,439,461,469,572,559,791,659,458,471,627,642,619,648,849,1428,1566,763,926,1038,1028,1134,1036,1426,1354,1032,1272,1426,1456,1428,1256,818,719,751,1362,1384,1114,1130,1154,893,836,930,1216,1284,1156,881,763,803,847,1170,1272,1422,1248,1036,1076,1144,1216,977,1180,1430,1094,1162,1086,557,483,525,529,642,843,990,614,696,860,926,946,1252,961,980,1104,1192,1266,1604,1728,1438,1132,1310,1132,1078,1156,2082,1608,1290,806,723,959,1186,1410,1706,1578,1054,1230,1780,1392,1190,1404,1142,1260,951,855,909,724,655,692,527,585,897,1180,1358,1286,1920,1326,807,563,387,298,408,447,390,656,965,894,724,664,362,284,317,340,377,590,874,863,614,668,1078,1736,1434,1128,800,894,565,809,1650,1500,1144,1190,1236,1316,1290,1076,683,491,422,353,457,580,512,431,640,855,855,780,918,1464,1522,1380,1400,1338,1348,1368,1510,1578,1608,1634,1492,1200,1174,1288,1226,1328,1394,1524,1434,1450,1240,1284,1432,1322,1296,1016,837,861,811,921,1018,770,822,747,609,635,630,607,536,425,402,461,616,434,471,666,525,549,520,416,1056,1698,978,374,434,976,1108,649,543,477,311,332,375,284,253,280,283,287,273,266,245,235,219,188,270,479,634,641,541,476,615,844,919,891,791,514,523,529,394,365,602,598,367,292,357,458,603,604,572,547,655,922,1170,1078,807,808,860,725,648,698,825,1034,1080,1126,1314,1001,959,796,890,1032,1024,1178,1152,1230,1470,1042,850,934,942,902,1146,1316,1178,1172,910,628,666,937,908,612,938,1162,856,797,1218,1344,1144,1312,1672,1556,1340,1262,860,418,406,700,1032,910,680,792,914,969,1054,714,413,502,696,559,779,1122,1256,1472,1368,1282,943,1328,1494,1522,1520,1648,1702,1450,1530,1526,1430,1338,1088,1038,1026,847,1007,912,1078,1428,999,596,521,752,877,849,909,931,1168,1258,1200,1266,1328,1266,1324,1460,1556,1542,1588,1616,1548,1452,1518,1522,1356,1562,1596,1168,1306,1290,1124,1084,966,1198,1692,1128,874,1162,1196,1218,1392,1432,1324,1172,1106,1194,1178,1334,1278,973,1076,1360,1482,1526,1584,1650,1622,1498,1418,1296,1278,1266,1290,1400,1140,1160,1374,1460,1102,1046,1248,1068,970,1072,1008,1100,1490,1566,1170,865,1268,1320,732,634,632,466,490,653,866,984,869,694,666,669,535,785,1054,1054,1126,932,836,1280,1616,1444,1526,1532,1806,1536,1532,1710,1588,1526,1130,882,1108,1056,1050,882,951,813,734,576,453,463,415,391,368,338,335,383,372,385,346,298,278,300,291,279,281,277,281,277,285,293,281,315,362,428,426,387,350,371,667,656,440,558,530,466,499,410,360,405,435,426,454,500,545,594,608,568,503,541,535,540,532,557,498,485,523,476,573,525,462,506,506,561,650,636,523,659,1322,1876,1918,1656,1238,792,529,456,483,478,523,657,431,387,389,483,1314,2024,1650,1122,1060,1188,1170,1574,2046,1332,819,533,600,466,387,420,462,462,431,725,1232,1176,739,721,1088,843,766,1188,1290,1106,900,868,1392,1324,810,532,479,722,805,778,699,783,722,802,1040,1192,1176,1106,1214,1026,791,703,708,1064,1376,1310,1302,1184,1190,1302,1000,705,510,485,894,1274,1548,1720,1732,1628,1220,843,833,1058,1220,1308,1108,926,1098,1234,1216,987,681,745,1274,1262,1352,1418,1196,1060,1070,1088,1100,938,894,948,913,962,1116,1212,857,658,881,1176,1268,1052,1100,1280,1354,1356,1360,1104,1274,1598,1554,1438,1406,971,805,1342,1642,1516,1720,1526,1556,1196,1036,1172,1058,884,652,699,857,892,870,850,1102,1338,1360,1504,1582,1752,1678,1424,1608,1210,578,554,449,457,579,689,653,691,1128,1260,743,412,468,486,676,917,893,1082,1332,1160,1730,1424,727,381,337,466,510,705,763,614,370,430,458,501,672,601,761,757,677,636,991,1180,941,1196,1354,661,376,373,337,289,289,731,886,647,677,924,928,681,561,499,408,342,508,497,415,345,347,351,324,305,262,280,368,409,409,462,462,424,411,459,626,863,816,685,966,1128,940,894,830,789,972,1098,1182,1288,1266,933,807,1004,1278,1372,1338,1216,898,600,489,694,1108,1326,1226,1152,1228,1154,1642,1684,1460,1152,660,684,670,530,462,825,1534,1222,939,960,1009,752,757,816,856,1122,882,818,592,877,1068,1180,1166,1076,1096,963,767,905,966,1322,1362,914,995,586,542,922,1152,681,508,648,782,1418,1746,1124,495,370,735,1102,882,962,885,792,613,707,933,1076,1198,1060,1182,929,581,563,533,684,861,753,509,456,508,471,462,623,745,721,620,710,674,900,864,931,736,474,621,866,740,720,863,649,549,596,708,1140,815,991,980,832,1074,1148,1034,984,867,850,870,1072,1334,1212,866,734,564,394,775,1068,859,738,734,1046,1220,1302,1328,1340,1300,1376,1404,1108,1164,1642,1550,1076,807,1072,1224,956,761,741,1214,1656,1688,1416,1166,1158,1390,1428,1248,1210,1230,735,654,699,747,1144,1048,1020,1126,1510,1854,1542,902,1326,1478,889,841,647,724,991,1108,1168,1234,1146,1015,976,1180,1366,1356,1622,1562,1294,1072,810,925,901,724,961,1232,1412,1788,1740,1462,1532,1690,1970,2306,2462,1916,1610,1778,1756,1592,1246,1264,1102,1656,1288,908,823,915,930,980,1066,1084,991,996,929,818,970,1102,1010,631,494,583,885,1410,1454,1010,698,578,465,465,449,581,966,1108,1128,1021,979,785,691,701,656,556,595,622,495,484,712,1330,1382,1398,1384,1316,1272,1088,839,784,815,803,835,942,928,875,957,849,1024,1302,1356,902,416,422,473,515,493,437,476,576,496,406,310,778,741,778,1024,1040,966,1220,1300,860,700,622,1238,1318,900,776,988,1422,1122,444,374,432,421,350,728,908,433,258,341,420,592,710,729,956,882,462,570,1164,1432,809,370,509,1170,1870,1650,1356,2110,2706,2140,1126,664,591,725,658,453,422,463,377,416,760,984,955,677,436,395,415,417,506,713,684,777,933,1218,1328,917,982,1268,1294,1356,1354,1364,1242,1542,1434,1102,1248,777,917,1306,1150,1170,1478,1612,1422,1202,1200,921,690,885,885,702,631,570,524,550,519,522,550,481,369,339,412,448,453,631,648,591,412,384,636,739,860,936,779,772,645,512,597,644,561,545,617,624,594,508,437,605,854,847,788,731,691,590,398,333,378,412,398,366,365,385,465,436,422,462,445,529,543,702,767,680,614,514,481,465,446,444,427,457,448,449,438,399,535,678,582,433,379,313,429,507,422,745,1346,1188,728,642,1142,1312,1134,1272,1524,1288,1346,1344,1032,1152,766,429,292,317,534,1030,979,479,428,491,713,1302,1384,873,525,521,403,379,357,562,768,716,997,1324,1030,811,658,913,1252,1360,1346,1190,916,1294,1206,700,776,959,750,469,767,1174,1194,1130,1234,1092,935,971,777,672,656,511,515,452,341,335,377,599,782,778,781,669,609,640,601,519,437,303,323,366,378,333,362,387,530,647,612,573,565,425,400,434,419,446,487,503,513,558,479,413,389,360,399,419,409,401,371,311,356,391,489,532,688,604,634,724,465,417,432,452,820,808,728,797,599,500,558,742,797,811,1172,1392,1362,1660,1676,966,692,932,1444,1354,1256,988,526,448,781,1298,1396,1068,1146,1542,722,421,677,807,466,323,354,371,438,451,403,390,412,473,411,336,360,482,548,603,1022,1466,1204,1021,1140,932,552,526,539,944,1270,1106,937,780,796,1100,1300,1448,807,344,440,389,335,351,370,1202,1826,1064,472,604,525,308,420,464,368,859,523,372,434,729,720,866,846,597,478,628,639,332,371,1017,1238,818,753,1004,1114,879,874,1032,965,633,493,536,775,725,551,509,648,1212],[416,426,472,516,485,426,397,377,387,405,434,479,524,559,507,422,372,328,375,326,257,265,297,402,477,490,455,409,485,629,643,642,646,599,626,672,754,775,670,557,697,805,791,760,735,744,731,654,524,360,345,324,320,301,275,271,283,271,259,267,268,262,231,207,215,228,235,239,251,314,377,341,271,295,336,355,372,353,310,298,285,319,302,420,659,800,794,613,684,1021,1270,1106,1346,1096,933,1382,1386,1184,1314,1114,1272,1508,1208,1009,942,1236,1174,1186,707,535,562,432,328,290,328,373,485,771,1054,1378,1316,910,817,627,927,757,517,975,1366,1222,1248,1322,1262,1220,1282,1366,1296,1374,1158,860,776,845,955,924,989,1766,2590,1368,1450,1624,1484,1406,1532,1434,849,479,578,471,353,518,953,1482,1462,846,413,388,434,417,398,490,482,439,461,550,651,710,630,598,542,504,576,800,824,648,733,812,810,720,907,1048,777,951,904,862,868,835,819,892,1136,1432,1038,931,1432,1444,1614,1356,937,819,1106,1112,1252,1334,1146,1512,1868,1268,1024,970,992,1380,1494,894,816,1020,1356,1330,1260,1450,1266,1324,1394,1182,1182,1212,1362,1128,990,1286,972,513,651,831,831,695,687,927,722,763,1007,1002,692,855,1064,1072,894,980,1206,1106,1120,1198,894,1294,1256,1056,1200,1282,1132,1276,1104,840,1134,1416,1338,1682,1670,1388,1322,1866,1532,1346,1536,1110,783,849,923,890,835,521,455,471,549,936,1384,1388,1262,1512,1092,475,313,290,292,358,403,419,695,745,687,700,697,486,314,257,322,328,541,1013,913,448,400,777,1510,1264,1036,758,425,318,446,619,979,1374,1494,1438,1284,1136,1036,578,410,335,325,373,388,323,290,574,864,678,437,692,1052,939,849,1072,1190,1296,1346,1576,1794,1712,1522,1384,1114,1088,1404,1282,1372,1326,1252,1324,1346,1216,1306,1410,1252,1338,1480,1344,1414,1260,1198,1338,891,729,762,651,689,631,641,593,562,497,590,856,600,452,456,433,631,772,514,836,1472,991,738,758,1364,1032,539,432,424,360,379,350,247,256,310,291,272,253,243,264,265,247,257,333,419,490,540,458,369,430,532,650,735,612,484,529,518,361,350,484,487,332,236,212,287,477,505,500,529,645,994,1226,1034,893,1030,1202,1274,678,655,933,1196,1410,1466,1414,1076,1001,860,883,1204,1162,1130,1108,754,705,808,838,1060,951,849,1252,1350,1216,1007,608,602,835,1090,640,354,910,1130,816,854,1190,1610,1556,1232,1322,1302,1356,1094,1038,728,391,518,1056,1176,797,572,692,1072,1094,1021,1180,897,659,564,824,813,978,1194,1346,1316,1136,1292,1560,1422,1522,1440,1474,1446,1632,1554,1270,1186,993,1142,1092,949,1086,981,777,824,1156,980,653,880,1082,969,944,1096,1226,1228,1208,1068,1142,1382,1462,1518,1772,1602,1606,1644,1626,1588,1440,1406,1324,1444,1646,1344,1342,1362,1188,1028,864,763,794,590,916,1218,1218,1272,1440,1324,1418,1302,1340,1178,1220,1360,1168,978,1238,1480,1406,1408,1526,1632,1596,1542,1478,1338,1406,1380,1386,1302,1158,1274,1442,1484,1298,1158,1040,875,1021,866,592,771,1226,1182,933,1226,1614,1396,855,493,499,498,493,721,659,580,893,792,500,500,846,1352,1362,1015,852,659,809,1426,1432,1274,1390,1468,1390,1164,1426,1682,1234,1154,1080,1302,944,810,816,882,844,1078,1312,896,497,394,399,384,351,345,383,349,351,325,301,288,291,332,329,277,271,269,281,281,287,296,296,298,336,549,645,486,357,379,674,734,459,572,527,458,444,424,456,493,486,444,432,451,541,589,584,573,541,518,508,476,506,467,401,489,573,579,536,451,427,513,574,599,609,487,694,1354,1866,1796,1550,1110,739,727,770,634,549,706,774,720,491,585,623,705,1202,1550,1582,1224,1128,1262,1272,1542,1764,1192,1056,682,482,463,420,411,488,481,398,610,828,673,611,661,789,618,641,1005,1312,1296,934,956,1528,1484,717,415,400,403,516,659,871,1054,934,906,1330,1452,1238,1222,1138,845,1048,1182,1140,1176,1282,1162,1158,1200,1302,1248,785,449,443,536,658,818,1254,1388,1584,1368,1178,1086,846,744,791,996,1230,1176,1174,1180,1286,1268,1128,949,1064,1152,1336,1152,882,852,578,619,794,869,506,623,580,834,844,1005,885,659,885,1294,1086,882,1232,1336,1334,1512,1476,1394,1416,1388,1338,1378,1680,1640,874,1092,1486,1192,1292,1056,1216,1172,1040,895,952,988,1018,832,1018,1184,1076,1094,1240,1312,1256,1122,1570,2266,2186,1936,1500,973,485,429,387,412,557,687,926,994,1562,1670,976,651,628,362,405,670,863,1140,1376,1272,1554,1416,736,347,369,467,916,1120,741,631,514,644,738,719,789,857,1114,1020,743,720,743,705,659,749,970,1122,604,385,311,322,311,818,824,351,562,1196,1108,499,667,646,427,341,469,752,585,324,379,383,295,250,278,451,549,539,419,417,430,501,456,405,458,681,833,883,908,874,844,810,664,930,1472,1418,1440,1372,1220,1140,837,950,1202,1218,1418,1406,901,506,478,659,1056,1366,1248,953,1132,1494,1248,1190,1034,1072,869,896,845,684,496,695,1050,1054,1114,1346,1240,828,937,755,540,688,1005,693,534,871,1196,1332,1340,1350,1382,1344,1134,1044,1062,1356,1252,1108,1364,1010,965,1160,1028,629,415,445,714,1488,1408,1010,545,451,624,877,969,1450,1910,1728,978,638,684,1066,1478,1368,1248,1222,995,1156,946,746,833,841,742,603,383,432,476,602,649,779,958,1172,829,749,822,926,948,832,727,756,829,854,1058,787,677,597,860,1202,1516,1350,781,734,826,685,631,921,656,789,848,933,1330,1106,730,669,526,489,901,933,904,1036,1078,1104,1582,1296,1066,1166,1198,1376,1492,1210,1414,1730,1472,1180,1632,1522,1416,1296,1350,1448,1534,1544,1412,1416,1356,1218,1604,1708,1264,1236,972,680,816,1052,694,573,910,915,979,1486,2050,1694,880,1256,1854,1262,788,504,575,880,1018,1072,1240,1198,990,1038,1350,1770,1650,1608,1634,1504,1032,861,1000,1090,847,955,1116,1162,1542,1766,1688,1472,1496,1230,1526,2286,2176,1742,1808,1720,1462,1206,1148,1142,1292,1060,885,993,1058,951,1004,1164,1046,885,888,905,761,859,1046,1062,718,486,588,1009,1548,1450,943,680,720,500,470,633,849,1002,1026,1048,1084,1182,1132,908,597,532,421,445,538,512,495,623,1023,1412,1624,1432,1192,1224,1272,982,783,820,747,798,993,1002,982,986,783,808,1052,1238,1190,601,621,800,670,312,343,796,908,548,391,342,281,266,438,661,706,842,1124,1042,614,736,628,837,862,744,744,667,755,695,436,461,438,549,401,1198,835,316,284,346,412,327,253,608,1242,1302,777,492,780,1202,1158,928,908,1626,2210,1438,1296,2284,2248,1488,740,407,429,785,885,696,460,362,397,381,410,741,797,448,412,468,505,482,1122,1554,1092,856,1086,1570,1728,1552,1514,1604,1546,1604,1616,1632,1340,1252,1240,1282,1296,883,1030,1312,1136,1026,898,991,1166,1056,1218,1290,1156,1194,1252,1023,838,739,564,563,534,545,521,459,459,479,547,583,549,569,586,580,501,530,683,804,1076,1000,727,773,658,579,598,639,589,553,539,582,656,561,476,525,675,721,569,616,597,475,417,400,367,412,442,398,363,429,438,415,390,430,419,503,515,642,731,597,484,465,468,466,415,412,383,406,433,430,471,466,451,464,514,671,461,372,318,353,524,1158,1598,1610,982,757,1062,954,1048,1354,1340,976,1182,808,1102,1114,670,369,333,448,752,1136,998,494,507,651,1220,1450,1330,724,441,474,481,463,347,466,615,783,1194,1196,1012,1282,962,1016,1224,1402,1346,977,639,824,871,786,1122,1180,704,537,907,1094,1130,1084,1150,1266,1138,991,910,849,673,494,537,494,379,453,666,823,863,824,817,747,584,444,508,538,403,265,268,313,385,366,386,449,519,591,570,513,464,487,494,455,446,444,449,468,458,457,418,406,401,383,403,397,391,401,414,371,376,437,480,543,499,403,398,427,413,621,626,590,691,948,1024,669,441,495,527,530,340,634,1442,1360,929,1360,1418,874,765,973,1022,1068,1132,977,502,567,1152,1284,1104,911,650,725,586,453,605,644,436,341,376,352,382,380,360,298,261,406,383,325,383,541,498,572,951,1050,909,1062,1208,1200,612,301,289,663,1040,916,868,647,504,708,1228,1546,893,369,597,651,392,348,376,992,1158,567,327,368,359,386,386,335,684,674,386,357,692,807,563,818,1026,946,916,822,773,408,401,902,1100,1170,1268,1394,1184,1060,1312,1260,1092,706,813,1228,1001,739,664,824,744,544],[476,491,525,600,637,408,368,422,452,482,514,506,484,510,495,386,349,337,315,275,281,291,366,451,474,444,449,523,622,625,611,629,606,649,700,753,751,606,567,704,774,758,907,919,830,811,751,632,445,416,360,279,300,280,271,275,262,258,268,271,263,240,219,208,214,226,234,245,324,505,615,518,355,386,403,398,409,374,323,302,294,299,310,362,424,600,879,698,664,754,930,1028,910,524,552,1006,1154,1106,1202,1024,1156,1288,1444,1244,901,1090,1074,952,630,455,385,425,485,677,940,746,560,734,1032,1506,1612,1230,698,824,1236,888,747,1252,1072,1182,1138,1118,1132,1042,1110,1019,876,1044,913,865,884,938,1246,1072,1264,1246,1416,1062,1232,1400,1572,1820,1646,1236,966,904,745,566,753,825,803,883,1248,777,422,532,572,464,489,573,793,933,680,380,586,916,1130,759,431,469,545,681,601,696,1140,1192,817,894,1158,943,1042,1298,1380,1508,1330,920,920,1042,858,962,1116,1220,1420,1356,1410,1294,1196,1302,1370,1162,1138,1148,1322,1498,1476,1632,1422,1380,1172,1570,1248,852,1090,1448,1824,1830,1522,1378,1050,1374,1416,1294,1298,1226,1202,973,1094,1218,944,901,1216,1096,896,608,523,593,619,527,856,863,684,1012,1354,1190,1070,1090,943,647,1026,1140,1030,1104,1246,1048,915,1021,1018,987,1154,1366,1408,1400,1512,1598,1702,1716,1454,1470,1396,1274,1278,1160,998,1320,997,666,956,860,609,504,560,852,1178,1252,1260,1574,1288,466,338,330,317,463,843,713,834,724,617,575,588,564,397,314,292,299,451,733,1019,594,524,626,688,714,935,769,371,493,600,716,1042,1206,1326,852,562,963,1082,665,349,285,301,346,376,239,261,688,1011,767,583,868,1348,1554,1286,1082,1250,1176,1160,1168,1328,1438,1504,1462,1162,1003,1064,1116,1204,1040,1002,962,1030,1382,1434,1652,1506,1582,1822,1626,1836,1782,1538,1282,866,759,758,617,673,680,971,816,741,547,552,944,747,383,454,539,755,940,626,644,1156,1256,1196,954,1012,860,582,692,739,507,370,350,269,258,264,254,262,279,293,301,279,267,287,309,323,357,417,347,381,376,442,534,565,484,465,518,449,318,386,416,372,237,196,225,268,376,420,404,444,616,1064,1168,1106,1348,1316,1360,1184,558,514,548,845,1302,1278,996,902,1082,1198,1256,1086,901,1084,954,677,574,516,671,802,689,946,1332,1318,1222,960,717,681,752,977,687,398,770,1260,1316,1026,1124,1498,1448,1346,1194,1124,1040,1094,1196,1146,929,1009,1228,1234,906,703,639,505,613,1202,1484,1664,1268,1044,1236,1116,1082,1318,1274,973,1070,1260,1494,1272,1506,1826,1310,1116,1418,1494,1456,1376,1074,919,1116,1258,1098,936,896,658,1164,995,858,803,861,1172,1296,1324,1238,1276,1276,1238,1618,1428,1420,1088,1210,1510,1594,1344,1332,1588,1692,1634,1578,1632,1858,1350,1284,1310,1376,1276,1134,846,655,843,861,885,1100,1332,1332,1448,1502,1340,1344,1248,1432,1208,895,859,1122,1482,1432,1424,1478,1570,1620,1616,1542,1502,1390,1236,1190,1140,1136,1232,1394,1288,1100,1066,1004,636,641,515,458,441,803,784,644,1236,1426,1282,1148,717,533,464,517,625,660,711,1084,1058,569,549,892,1344,1094,1142,980,711,825,1238,1256,1156,1222,1244,1450,1122,882,1156,1178,1230,1454,1760,1314,1172,1266,1106,886,858,875,918,864,516,415,354,349,360,375,360,351,320,301,293,314,401,374,300,264,263,270,279,294,300,314,310,318,568,777,655,457,383,622,696,499,567,556,452,425,404,411,464,463,425,402,417,483,559,575,587,533,472,487,485,472,420,383,423,493,470,447,444,441,470,492,467,459,733,1426,1920,1824,1456,1050,838,874,747,804,1042,1002,1178,1186,1009,1278,1378,1054,1142,1246,1400,1532,1538,1372,1454,1320,1362,1222,1242,1324,955,523,404,473,615,800,808,558,585,637,928,1204,976,727,657,879,1232,1490,1396,1352,1092,1032,990,583,597,789,564,441,667,929,1112,998,968,1102,1288,1096,954,1200,1078,1116,1168,1084,1184,1438,1388,1102,1032,1264,1128,497,309,489,1005,813,452,864,1444,1546,1388,1312,1021,722,554,454,527,832,1346,1264,1272,1484,1512,1288,924,755,1058,1278,1268,803,713,574,459,444,536,428,404,460,693,750,899,1266,1086,924,963,795,1086,1482,1434,1212,1232,1388,1520,1460,1310,1138,1050,1646,1710,1100,1134,1166,888,1154,1416,1256,1240,986,788,1046,1094,1116,1170,1154,1072,1004,1188,1232,1252,1062,1108,1606,1792,2238,2032,980,530,497,498,461,561,973,897,942,984,977,890,778,755,655,422,423,597,871,1266,1224,1040,933,1078,1016,664,683,935,1274,1110,1078,959,666,710,738,637,766,998,998,845,815,805,619,605,539,505,463,935,910,546,342,338,364,433,373,317,454,812,788,556,810,728,440,380,416,717,642,349,388,341,293,291,412,582,766,603,395,365,741,904,570,414,440,539,637,703,593,473,484,478,489,833,996,1260,1488,1174,1108,1178,984,938,1074,1316,1498,1414,1272,1064,921,922,922,1220,1676,1266,1226,1482,975,1018,1156,1174,788,727,868,754,703,819,1164,1454,1550,1402,1122,763,1136,1072,749,691,711,570,913,1194,1174,1328,1638,1506,912,927,951,984,753,810,949,1234,1424,1130,1050,1444,1508,1302,684,563,618,885,747,692,637,558,587,831,986,1154,1388,1334,1302,758,710,1146,1362,1300,1200,911,817,1094,1056,736,755,869,659,601,431,459,401,440,347,505,752,805,741,740,827,954,1066,1000,846,584,451,444,584,558,629,713,813,1058,1036,766,1146,685,599,531,698,1036,698,755,913,951,1058,980,830,761,669,624,1110,1136,1192,1526,1372,1036,1036,766,775,1240,1464,1406,1474,1382,1330,1152,761,597,1730,1656,1582,1612,1566,1464,1176,1046,1070,1106,1208,1144,1118,1222,968,962,1004,1062,1088,863,455,463,814,961,1056,1428,1844,1566,1432,1780,2012,1550,907,656,741,863,1194,1112,1166,1126,1042,832,1074,1584,1720,1758,2352,1976,941,936,1114,1214,848,836,1040,1332,1680,1798,1728,1454,1070,742,957,1580,1806,1470,1600,1428,1366,1344,1050,791,966,1242,1210,1238,1116,974,1100,1088,913,904,898,940,897,760,704,684,590,502,578,908,1266,1058,719,595,763,637,865,1076,1021,1174,1090,812,1005,1306,1274,993,491,433,415,458,544,619,616,590,871,1276,1320,1021,834,1172,1498,1244,912,820,775,797,977,1068,1054,992,902,1078,1268,841,1080,1070,1030,919,609,763,1196,1546,1416,745,418,352,401,557,702,824,920,583,458,498,709,1034,761,722,844,814,708,460,635,822,832,775,874,1126,619,586,421,310,343,437,491,385,337,404,849,1006,1042,902,597,688,1132,1132,749,916,1300,1526,1924,2202,1514,736,576,480,421,807,861,789,574,346,408,375,506,925,940,673,548,816,758,735,1666,2116,2026,1792,1754,1778,1772,1772,1582,1614,1564,1682,1688,1802,1584,1252,1306,1272,1456,1498,1126,1232,1338,1284,908,664,661,753,848,909,885,980,1178,1132,1102,999,725,807,852,795,661,444,435,562,638,608,551,583,597,604,615,659,723,677,689,681,736,717,565,564,597,630,647,558,477,553,603,516,498,489,458,472,505,560,543,457,500,487,398,381,452,404,402,451,412,368,374,395,435,507,426,414,513,490,490,477,465,469,390,375,400,410,428,474,483,415,408,410,756,1076,843,678,555,492,543,898,1132,1322,963,826,1096,1234,930,726,795,903,1310,1230,1152,1036,813,536,323,479,708,1180,915,653,868,1188,1452,1560,1250,693,455,433,768,933,497,477,632,880,708,546,690,1316,993,705,858,1052,1072,912,882,741,644,1116,1178,833,755,722,921,1418,1212,612,996,1600,1274,1068,819,1018,561,408,475,473,433,509,636,737,810,799,741,664,510,442,463,464,456,497,377,291,327,389,405,407,488,751,481,440,439,584,491,471,537,481,447,467,473,457,374,360,401,413,409,421,389,600,752,535,470,506,462,484,420,530,419,414,459,503,634,728,782,837,720,589,425,669,1418,1256,738,1090,1378,979,663,783,1050,1194,1300,916,666,891,1278,1710,1072,1000,1262,1476,952,666,609,561,583,551,498,459,361,374,401,376,392,368,312,212,212,290,323,358,501,513,366,469,666,733,714,872,1074,908,453,305,396,749,908,891,970,803,530,595,816,987,756,444,410,368,319,367,400,443,370,354,345,354,436,470,390,449,716,491,347,416,526,471,731,1182,1116,1120,1266,1198,706,499,702,524,763,1172,1530,1790,1404,1280,1318,1144,1226,1476,1302,1274,872,536,495,768,1344,1362],[478,449,499,516,585,497,451,465,447,497,493,452,443,500,518,390,302,279,271,267,287,368,477,473,418,441,507,554,554,550,606,611,648,726,759,752,636,608,748,871,910,874,946,971,825,747,665,598,461,506,502,390,304,265,265,282,265,265,270,270,250,228,220,223,228,232,245,257,298,393,560,537,455,419,358,377,412,388,343,308,323,348,345,369,396,596,785,697,573,485,683,787,613,513,561,634,761,601,630,910,1180,1566,1532,1036,955,1192,1048,688,491,405,353,471,829,1380,1588,1504,966,800,955,1394,1670,1300,890,903,876,912,1154,1362,1058,1218,1338,846,561,704,1060,985,760,965,1078,962,947,951,1094,716,779,695,641,805,1126,1192,1386,1842,1732,1380,1850,1678,1208,1038,1332,1374,1136,895,730,524,633,760,721,466,433,619,872,1078,738,537,484,731,914,617,398,458,442,372,345,472,878,1056,851,1112,1196,1128,1238,1216,1368,1472,1284,1028,1062,857,568,705,1224,1310,1232,1098,1102,1230,1382,1810,1468,1042,1072,1254,1378,1506,1756,1582,1318,1390,1396,1366,1046,1021,1382,1540,1630,1744,1406,1172,852,1366,1236,1294,1578,1548,1256,1248,1302,847,1026,1330,1094,817,1184,791,472,452,424,438,522,724,875,780,1134,1226,1100,1088,1062,960,1170,1040,1054,1100,1042,927,790,755,919,715,1204,1394,1336,1454,1484,1532,1522,1672,1548,1270,1224,990,1038,1001,1072,1464,882,432,400,458,547,594,803,877,1034,1206,1152,1234,1078,723,653,655,498,514,789,779,814,717,930,1062,616,498,453,410,359,276,387,644,943,583,628,1048,1168,943,848,725,763,1230,837,1003,1112,1370,1444,935,521,547,599,462,301,326,430,465,389,252,321,888,1044,1332,1034,1194,1804,1748,1528,1466,1312,1154,1236,1023,958,1148,1162,918,915,1014,972,1028,1007,1015,1198,1216,1324,1628,1716,1906,1604,1492,1662,1504,1386,1344,1084,1068,938,710,521,551,534,558,611,619,623,611,714,765,614,648,832,1028,1110,916,608,483,599,946,986,966,1208,1034,802,985,796,826,383,327,255,241,251,259,273,280,274,265,251,224,255,289,314,316,308,318,496,410,402,532,592,552,533,543,620,523,381,341,301,242,268,294,292,357,401,484,536,880,1314,937,1102,1292,1184,1146,782,539,492,535,864,1224,1172,893,807,979,1012,1062,652,684,980,805,635,489,395,432,430,495,865,1130,1462,1446,881,794,728,618,652,786,560,306,519,633,711,1060,1278,1362,1222,1176,1142,1114,1194,1178,1322,1310,1166,1452,2164,1196,835,541,436,340,536,683,700,741,919,962,1090,1278,1500,1482,957,918,997,993,935,1166,1310,1068,1044,1310,1386,1158,1186,1162,988,1238,1144,1005,994,778,613,807,702,736,811,1042,1344,1462,1428,1058,1048,1316,1350,1384,1254,1164,841,1032,1384,1202,1005,907,1172,1582,1588,1620,1722,1670,1370,1372,1428,1470,1416,1460,1158,1011,1158,1130,841,849,1200,1498,1402,1136,1114,1132,1244,1328,947,806,858,1092,1448,1456,1480,1396,1348,1550,1636,1574,1384,1132,1162,1236,1182,1050,1102,1276,1052,1010,947,644,479,442,446,458,388,525,582,656,1068,860,847,1342,1130,697,530,495,658,791,884,1088,736,525,512,463,621,653,957,1200,801,577,1046,1096,938,1136,1048,1176,1054,1188,1054,1009,1332,1354,1340,1050,1023,1088,1058,1094,766,519,605,735,517,386,365,368,363,343,346,338,321,315,282,329,401,326,294,275,270,270,282,295,296,320,324,310,478,697,686,493,429,772,601,461,546,508,507,527,458,427,449,454,445,457,415,425,469,493,550,525,485,500,516,543,529,469,456,455,440,505,455,484,533,481,460,749,1448,1896,1836,1610,1136,742,778,1226,1021,718,1030,1268,1372,1240,1182,1302,1072,1030,1340,1316,1276,1328,1674,1556,1466,1252,1166,1304,1412,1232,913,753,594,529,703,755,883,647,590,544,1306,1306,809,672,863,1017,1094,1196,1316,1830,1538,1280,965,634,1005,1382,1216,1009,881,589,775,928,894,685,797,653,705,1004,1062,1076,1216,1282,1386,1718,1446,1062,1146,1250,1006,451,327,686,1272,886,398,465,1052,1626,1868,1542,593,350,462,473,354,922,1246,985,1048,1174,1098,1098,763,576,830,1050,1158,631,532,509,524,729,948,803,448,364,572,734,920,1276,1124,1006,1066,869,1092,1380,1438,1378,1396,1486,1422,1302,1420,1404,1368,1816,1372,1268,1009,819,947,1056,1200,1240,916,751,847,1800,1626,1013,1078,980,774,975,1250,1188,1126,1154,1570,1702,1632,1854,1444,775,479,605,705,536,659,926,871,816,915,933,899,918,646,497,448,499,609,873,933,770,948,1076,1010,1034,1204,1582,1538,1526,1248,1396,1366,1042,721,576,620,992,1170,1008,924,747,555,425,494,577,474,380,551,782,682,411,382,351,419,462,321,540,967,745,626,525,350,291,401,584,689,601,520,431,315,267,291,462,679,651,473,368,365,594,608,430,491,669,557,527,563,672,539,459,451,553,579,681,1032,973,839,695,817,1021,810,969,1278,1332,1300,1278,1266,1168,1114,1100,1166,1396,983,1050,1226,1198,1230,1158,1250,1142,969,838,886,953,1082,1294,1192,1126,937,801,579,1158,1130,931,828,620,874,1248,1236,1098,1284,1762,1682,1052,1132,1001,1036,733,492,749,1048,1172,902,1094,1744,1776,1662,828,444,433,569,536,412,647,729,807,924,838,678,889,1176,1138,907,1015,1284,1330,1332,1128,665,565,850,1060,738,693,767,620,539,556,590,535,569,533,694,979,957,1012,1028,864,752,852,854,614,398,410,527,526,480,574,730,866,1004,780,891,1500,744,480,434,565,841,688,672,894,1013,1114,1013,572,628,742,618,807,919,1168,1368,1350,1036,623,612,858,1194,1558,1490,1364,1346,864,732,883,1120,1610,1582,1430,1226,1144,1134,711,679,926,961,1172,1264,929,906,814,779,1016,1132,905,663,578,530,642,1072,1256,1376,1630,1802,1744,1494,1550,1454,973,637,840,834,1108,1094,1136,1012,926,750,880,1448,1750,1720,1760,1448,1156,872,796,948,1120,1284,1250,1252,1534,1776,1732,1532,1206,932,914,1226,1526,1394,1224,1274,1570,1384,1044,936,1094,1182,1052,1128,1021,943,1009,1154,1064,1054,1015,1030,901,651,574,703,604,491,520,620,620,503,481,480,639,791,1274,1378,1174,1216,1158,919,887,1072,1268,1118,694,624,578,677,668,526,525,580,691,791,949,816,749,1250,1544,1362,984,844,799,821,1104,1192,1042,987,1066,1072,1550,1070,850,1298,1212,808,630,907,783,769,830,679,570,541,867,892,931,1788,1892,828,408,355,486,642,719,895,1020,1160,749,657,888,1032,858,789,807,751,713,587,345,263,273,417,456,399,426,471,1158,946,868,1362,1130,883,1068,763,680,703,621,1009,1626,1560,1168,781,523,457,397,526,536,543,524,551,620,511,694,875,1210,1186,1024,1294,1326,1114,1346,1896,2270,2248,2100,1906,1724,1510,1384,1388,1438,1388,1332,1636,1492,1056,1154,1296,1312,1502,1300,1008,1264,1492,1254,654,464,634,727,725,764,801,823,1064,1346,1252,1244,1452,1648,1484,1102,601,457,532,613,597,578,606,589,601,604,650,709,612,530,608,700,643,586,589,593,631,634,563,552,531,550,531,550,525,469,659,691,555,473,518,503,430,386,369,480,505,444,410,407,390,395,399,425,441,400,366,395,559,681,565,488,528,490,451,492,474,401,425,451,399,447,825,667,493,732,630,554,451,450,482,683,1250,1124,891,703,625,626,684,709,789,1052,1282,1412,1572,1388,1002,453,521,586,755,930,1274,1450,1478,1374,1592,1394,811,656,576,1202,1042,529,555,585,940,890,924,858,859,634,477,743,1014,929,805,833,697,929,1172,1048,1040,1262,925,935,1362,939,478,906,1130,1016,765,559,858,619,448,370,403,480,487,574,733,814,799,763,730,583,489,451,493,728,781,545,479,444,401,355,397,465,582,538,595,467,418,407,431,475,508,500,421,401,407,412,385,415,401,366,412,480,745,814,494,444,395,415,423,441,523,462,427,440,473,644,739,754,673,603,669,967,2436,2976,2030,1308,1154,904,788,694,859,1182,1614,1772,1092,796,1120,1516,1462,1528,1416,1376,1038,603,590,591,538,495,538,606,547,396,376,398,384,346,337,365,316,276,303,357,473,509,383,416,575,759,690,637,868,1098,916,619,589,811,1026,981,1304,2164,1312,682,640,651,677,838,683,379,343,300,378,396,404,319,281,310,365,618,744,607,732,695,363,378,459,479,456,886,1104,995,915,1136,1404,984,670,691,537,496,656,1326,1766,1308,1182,1166,1292,2196,2156,1230,913,1060,885,716,716,941,935],[411,357,349,312,385,494,577,525,483,483,467,478,525,549,514,375,271,262,280,303,356,423,521,480,463,568,597,569,574,633,619,625,708,794,752,636,667,763,814,880,959,962,889,827,717,604,555,487,436,481,503,424,310,299,291,289,273,260,264,267,255,248,253,257,261,257,264,268,289,296,316,352,434,438,383,404,439,399,353,317,350,383,356,371,446,769,827,705,559,516,561,535,419,459,619,634,744,561,460,670,1148,1628,1264,971,1156,1112,824,614,475,393,336,398,1316,1708,1576,1384,1188,1324,1162,1078,1328,965,732,648,767,1404,1562,1178,1098,1466,1390,729,443,415,625,845,880,1274,1196,943,1166,1316,1108,811,580,733,913,932,1210,1446,1540,1580,1408,1140,1694,1532,1154,999,1042,1212,1362,1390,1214,1106,893,467,432,716,996,1090,868,849,568,486,558,568,526,469,394,387,385,394,371,479,763,885,977,1148,1112,1114,1100,937,1066,1270,1210,941,1288,1146,1090,1068,971,877,1082,929,1166,1360,1146,1262,1154,1156,1388,1350,1342,1222,1430,1566,1404,1194,1332,1426,1196,1336,1556,1460,1394,1582,1260,921,852,1130,1232,1252,1246,1290,1144,1016,1110,900,820,949,615,595,585,441,479,615,717,625,577,724,770,681,899,1400,1102,1238,1230,1162,1290,1066,895,1020,1306,1722,1290,994,1416,1136,1356,1390,1362,1426,1100,991,1144,1622,1652,1118,1162,1050,1018,1128,1758,976,528,366,307,375,346,470,632,608,708,961,1370,1784,1434,1140,1114,1082,776,592,485,491,616,814,1346,1500,1146,720,482,421,445,497,402,321,460,456,475,735,1116,1258,1732,1528,1318,1700,1276,1052,772,1054,1228,1080,901,611,402,559,332,349,513,486,526,422,358,769,1094,1500,1206,1080,1360,1444,1586,1372,1074,934,1222,968,711,747,705,722,806,838,1072,1234,1266,1066,1016,971,1406,1792,1734,1502,1418,1342,1520,1562,766,662,769,1044,762,650,505,479,451,504,479,399,393,560,886,950,741,750,875,1182,1184,935,571,498,562,677,857,1064,1222,1150,880,865,719,948,490,355,365,325,276,288,305,276,258,250,215,218,263,342,310,303,270,239,273,326,402,511,583,651,689,658,604,501,389,348,342,316,290,310,334,346,471,686,800,1012,930,885,1172,1142,1008,1030,837,565,496,637,930,1084,1038,1020,662,626,657,584,473,445,585,802,681,415,427,416,477,586,814,857,1166,1114,854,794,679,493,719,1056,638,353,377,747,685,958,1302,1262,984,1036,1206,1196,1182,1312,1214,1164,1162,1838,3708,1638,603,575,601,442,444,583,624,789,964,872,811,1038,1570,1736,1432,931,908,589,744,1054,1190,1344,1072,963,1274,1128,947,959,871,586,638,956,1080,750,552,657,641,414,682,1256,1376,1392,1228,984,1158,1370,1244,1212,1152,1252,1182,1156,1264,1046,1038,1136,1590,1478,1602,1742,1798,1698,1556,1450,1362,1144,1284,1418,1256,1302,1166,1024,986,924,1076,1260,1120,750,634,659,874,1204,886,738,901,1276,1508,1466,1448,1350,1288,1434,1476,1510,1488,1328,1266,1310,1322,1328,1428,1168,869,750,557,471,474,440,418,462,840,970,972,1086,1110,981,870,929,900,1114,1012,638,898,1016,1114,1210,1020,752,866,617,430,560,649,903,832,702,1284,1306,863,1074,874,771,900,1420,1448,1148,1202,1296,1272,1328,1504,1288,1134,1340,879,601,572,442,376,372,375,358,343,319,295,295,311,323,323,388,383,337,314,292,287,292,291,285,294,326,361,385,469,546,589,450,618,792,489,407,473,448,442,484,554,503,454,444,432,477,474,451,479,487,533,499,478,500,519,616,572,569,536,503,540,531,500,479,489,476,783,1494,1924,1758,1540,1268,969,996,1230,1266,1260,1092,1194,1356,1374,1198,1124,1078,1234,1212,1138,1044,1414,1488,1656,1574,1472,1302,1222,1278,1340,1228,1290,1318,1048,733,630,736,722,547,484,433,451,375,412,584,741,694,661,850,1606,1550,1324,1426,1018,885,1126,1252,1210,1310,1250,612,813,1144,915,918,589,474,841,938,1054,1270,1208,1222,1538,1716,1098,1088,944,954,1088,604,330,449,614,558,515,534,679,1430,1826,1132,458,631,868,632,458,1005,1096,880,974,1138,1250,1154,778,838,1166,1186,890,658,612,731,832,966,1206,1040,615,552,490,704,1004,907,673,1124,1372,1146,991,1112,1360,1440,1588,1460,1406,1416,1428,1218,1418,1622,1388,1388,844,482,799,1154,1204,1152,895,784,1188,2106,1426,788,727,780,806,916,1296,1500,1400,1384,1808,1776,1560,1384,1046,516,458,723,751,489,500,777,923,832,1348,1340,1156,916,539,450,518,506,478,749,1042,995,1044,1028,604,581,1068,1902,1694,1590,1612,1566,1498,1098,674,960,1260,1288,984,792,741,509,432,424,469,685,809,689,510,621,854,639,383,361,333,440,441,678,684,564,557,655,622,400,463,599,637,1076,1086,703,408,348,344,424,560,508,425,373,366,435,459,478,712,872,721,552,432,533,651,637,540,513,461,427,562,778,698,651,1017,1050,893,1002,1418,1612,1328,1166,1368,1246,1378,1848,1522,1274,976,933,1116,1360,1284,987,1034,1266,1242,1286,1288,1222,1190,1186,929,836,734,1010,1192,1200,814,661,740,897,1218,901,714,816,1040,1420,1370,1152,1126,1042,1076,738,643,1114,1184,1286,1160,1216,1616,1544,1616,1028,547,843,1466,1108,481,680,738,777,698,507,619,778,868,924,1007,1208,1272,991,1170,1286,654,462,521,803,993,949,853,647,603,610,587,592,647,490,615,983,626,471,680,650,692,895,726,451,437,600,662,654,600,536,688,828,882,785,1124,1398,716,381,447,571,680,596,593,932,1096,955,1042,1040,995,681,539,655,682,662,968,1466,1294,868,1106,1170,1202,1542,1636,1598,1648,1610,1632,1522,1668,1756,1492,1284,1270,1234,888,644,552,930,1114,1234,1138,941,755,480,523,880,923,839,1023,1342,918,578,943,1216,1376,1522,1502,1298,1274,1192,954,703,656,716,669,1138,1204,1258,1332,1348,1346,1244,1560,1672,1696,1726,1618,1300,835,656,1108,1430,1328,1260,1414,1548,1642,1756,1656,1300,904,807,1082,1296,1280,1206,1236,1256,1036,957,1017,923,930,921,945,1034,954,977,996,1100,1138,974,866,810,755,747,928,637,448,436,523,536,505,488,458,695,998,1078,1142,1268,1260,1224,1170,1034,1162,1104,1080,1042,857,700,763,661,605,724,605,587,611,865,1040,834,1054,1430,1484,1146,838,830,1112,1240,1046,1013,1020,1212,760,837,1158,982,1070,1308,966,545,602,488,625,735,893,857,711,878,935,1148,1588,1126,601,474,504,551,513,583,672,899,1142,1194,1266,882,853,915,725,452,536,620,396,266,242,279,344,399,397,434,1214,1692,908,829,1576,1616,1106,682,469,536,659,483,403,739,692,675,766,650,437,372,386,506,671,611,826,1098,1013,1268,1342,1228,1158,1130,1358,1384,1284,1252,1334,1634,1848,1746,1920,1738,1262,985,844,979,1128,1250,1548,1420,981,1106,997,768,1100,1122,844,974,1378,1306,822,700,824,1054,976,1056,772,524,746,999,1260,1570,1708,1654,1618,1212,694,667,557,461,505,589,620,600,575,574,579,622,598,626,712,705,625,612,591,597,647,607,608,578,540,568,505,464,465,632,790,757,737,538,485,448,398,393,434,588,620,472,409,402,373,366,386,394,402,362,371,443,656,769,720,707,670,509,462,481,438,350,356,379,350,727,1400,1194,691,565,695,955,1010,837,558,1028,1356,865,836,527,326,398,471,681,597,953,1708,1602,1534,1428,1136,682,557,542,1136,1794,1878,1640,1468,1328,1370,1360,1374,1378,881,1072,730,555,566,666,1032,1110,1276,1332,1058,880,682,727,965,933,768,880,692,994,1230,1268,1416,1464,1202,1060,1108,817,670,1104,828,893,815,789,774,684,499,442,474,602,493,517,715,786,789,778,722,587,484,427,425,622,689,430,388,592,434,425,500,511,467,592,609,379,303,392,388,335,401,454,418,313,301,366,419,473,446,381,435,537,682,614,522,489,432,401,436,464,434,443,448,403,480,684,717,562,458,510,712,1372,2206,2018,2174,1562,749,662,689,791,1108,1278,1650,1670,1422,910,799,1156,1478,1642,1440,1158,692,471,461,446,467,495,604,634,519,373,360,354,367,338,370,477,462,565,321,409,539,409,425,460,667,1013,963,761,932,1188,1078,960,891,974,1002,1172,1908,1748,966,635,502,565,525,562,521,325,331,314,368,397,462,345,285,351,489,854,1190,1017,942,753,463,408,408,402,414,536,567,814,1178,1444,1620,1276,953,683,439,588,859,893,949,1098,1014,1312,1124,1788,1986,1256,1188,1180,1046,1036,847,547,661],[298,278,258,233,271,425,582,503,486,436,432,444,498,516,511,422,339,330,340,421,507,453,456,420,543,633,623,610,637,605,628,652,683,747,633,607,745,772,803,819,876,870,790,731,648,581,577,496,412,366,343,301,258,296,288,250,240,259,267,260,254,266,278,277,277,282,291,289,389,491,428,385,457,499,451,443,473,414,366,325,333,365,344,371,406,723,857,630,470,439,507,637,473,377,407,511,805,709,686,850,1120,1338,1100,1150,1306,1498,1270,927,473,375,404,502,1226,1428,1394,1340,1260,1250,1019,1136,1234,672,426,495,1086,1330,1266,1390,1284,1238,1048,665,463,386,432,607,640,826,670,819,1266,1222,880,750,564,575,798,973,1028,1230,1564,1426,1200,766,664,672,742,930,984,1114,1330,1554,1552,1460,1340,1150,933,1330,1478,1284,987,767,418,474,829,861,662,503,400,376,344,440,477,568,670,744,780,1178,1360,1160,1222,1114,1416,1626,1400,756,752,1412,1750,1484,1100,1168,1260,1072,1312,1282,916,981,1238,1354,1302,1278,1104,916,1194,1616,1464,1136,1412,1592,1274,1252,1354,1470,1302,1400,1290,1094,1166,1248,1238,1300,1182,921,747,852,964,1046,750,491,559,601,508,639,679,974,1406,932,852,654,968,1616,1202,1470,1166,1140,1110,878,837,816,861,937,1196,1590,1660,1528,1250,1078,1084,1358,1570,1392,1190,1108,1252,1732,1896,1626,1592,1302,948,709,920,849,550,327,393,429,346,484,525,664,747,1028,1124,1332,1238,944,1023,1184,1044,963,890,782,634,965,1376,1242,1058,982,626,380,388,644,539,328,367,323,357,505,697,833,1680,1422,1196,1318,1286,890,655,964,1194,1172,1126,835,450,576,431,401,367,363,415,341,439,742,1042,1040,854,592,671,1274,1362,1302,1120,927,1017,735,422,392,642,827,780,604,951,1334,1334,744,653,588,897,1432,1332,999,1178,1136,1190,1446,769,563,508,681,526,448,458,503,544,593,552,619,521,493,796,743,577,480,646,684,846,994,831,739,603,755,993,1050,987,1008,799,838,708,606,453,430,487,443,340,346,352,317,322,315,258,260,253,305,297,312,280,264,268,249,297,382,466,575,673,618,533,520,532,489,431,397,378,383,327,374,501,626,1034,971,710,930,1146,984,622,538,504,459,435,485,800,927,738,702,587,650,823,766,537,461,570,615,503,398,378,436,607,580,1054,1042,840,822,786,759,692,733,1132,1244,702,645,650,1228,818,651,1084,1182,1282,1362,1376,1210,904,618,580,1002,1200,1126,1438,881,461,681,993,804,634,715,760,889,1236,1172,816,1054,1272,1250,1154,1132,1194,929,1058,1312,1410,1488,1246,1128,1430,1024,838,724,662,431,572,996,1114,1042,990,680,633,552,912,1372,1616,1404,1032,1188,1202,950,924,919,864,1052,1166,1238,1230,1082,884,1058,1186,1254,1402,1402,1534,1698,1608,1546,1362,1180,1426,1322,1472,1400,1110,1224,1174,1042,950,805,838,675,550,651,665,1080,1056,1038,1496,2070,1828,1522,1498,1412,1330,1286,1112,1162,1100,935,875,939,951,954,1268,1158,877,683,575,492,457,455,463,821,1670,1868,1766,1220,1340,1454,995,755,961,1362,1400,1132,1404,1316,1368,1278,1013,1040,1126,841,619,795,867,863,1156,1128,1040,1048,1102,915,547,375,850,1216,1230,1278,1376,1338,1394,1404,1370,1354,1200,1050,637,613,698,463,323,367,417,350,325,285,305,316,335,341,338,429,426,356,311,305,312,300,292,299,302,324,334,341,370,409,444,467,733,597,376,395,412,426,438,479,555,507,448,459,471,486,521,570,562,554,575,484,462,451,461,580,526,577,549,490,510,455,434,461,468,782,1528,1898,1760,1594,1250,985,1220,1216,1394,1598,1506,1296,1174,1242,1444,1234,1178,1072,1023,981,1005,1140,1276,1466,1948,1936,1394,1360,1286,1152,1264,1246,1292,1202,1178,852,964,871,669,678,560,422,429,436,469,716,773,630,612,636,959,1030,1296,1488,1142,902,1256,964,624,880,858,629,741,1134,1110,982,691,429,882,1218,1226,1196,1140,1188,964,568,508,973,863,865,886,462,285,302,299,369,656,877,764,1282,1522,1102,553,688,888,639,456,898,1130,960,1180,1220,1156,1076,1082,1424,1482,1698,966,565,739,834,795,661,797,922,666,666,737,867,625,585,1000,1314,1242,1402,1324,1202,1398,1506,1336,1276,1466,1430,1414,1372,1268,1224,1218,1018,673,572,647,883,1250,1316,1610,1500,1648,1662,931,526,546,860,939,794,954,1072,1250,1268,1416,1268,1224,1290,744,413,648,876,671,498,505,609,1012,924,1234,1023,990,786,430,443,537,496,783,1738,1898,1242,1084,841,451,427,825,1318,1338,1424,1656,1824,1842,1400,859,1428,1486,984,863,912,822,690,639,964,998,772,786,757,684,538,820,803,489,476,418,400,572,620,381,390,605,1100,963,595,541,611,965,1470,1446,916,558,459,383,430,429,435,565,557,409,433,454,496,760,764,645,644,589,440,523,628,665,515,398,378,534,691,574,822,866,781,818,975,1286,1272,1206,1222,1346,1298,1856,2040,1390,1116,1036,1056,1154,1124,1102,1054,905,1028,1204,1264,1172,1384,1094,1102,1032,703,708,963,945,656,454,608,558,720,784,473,629,1010,1184,1312,930,805,1160,1202,1013,1044,1102,1278,1152,1262,1236,1232,1268,1060,1420,1182,561,926,1414,946,487,678,704,610,777,607,572,664,646,926,1072,1012,1000,759,935,1156,760,771,686,489,1038,1282,1044,708,678,913,1224,1266,1162,776,767,1064,655,434,444,419,850,897,597,502,480,670,749,725,639,546,684,732,757,890,1162,1100,653,360,324,395,553,669,489,828,924,925,1206,1304,1226,824,637,782,698,433,714,1360,1374,1584,1926,1732,1666,1726,1738,1782,1580,1400,1352,1062,1554,1968,1690,1362,1328,1342,1020,637,597,944,1032,1034,1015,808,536,466,470,534,481,822,1178,1434,1060,622,733,1184,1486,1344,1146,1136,1284,1090,799,627,613,470,459,1068,1342,1516,1544,1450,1516,1616,1664,1456,1416,1426,1472,1446,918,531,726,1132,1356,1364,1450,1542,1528,1770,1776,1696,1404,1096,1120,1136,1076,990,951,1132,1140,1072,1160,951,874,826,961,1120,1010,989,1058,1234,1216,1032,983,1036,941,813,995,680,436,491,603,563,511,585,710,865,1066,1070,899,979,1054,1164,1124,1044,1122,1144,1310,1226,1005,1011,930,526,677,715,604,397,601,840,913,868,1032,1266,1284,1188,941,926,1114,714,434,805,948,736,399,615,1092,1090,814,1012,1178,708,758,1072,1312,1276,1074,907,807,763,804,1094,1204,1058,1140,780,464,452,584,531,469,675,820,1284,1230,919,1022,1216,1096,810,681,487,382,277,327,319,327,391,443,793,1528,1226,580,904,1232,1294,744,380,414,454,602,468,368,470,664,698,668,513,394,557,703,855,1010,627,1078,1304,1182,1130,1400,1544,1126,1290,1802,1584,1482,1792,1628,1296,1146,1284,1496,1550,1198,794,486,518,666,798,1172,1428,973,567,609,599,813,1020,1100,1028,1046,954,1017,1040,973,1268,1418,2368,1814,1116,852,742,1190,1520,1744,1472,1042,708,479,597,670,405,510,580,611,637,612,597,598,598,583,645,689,671,708,729,681,530,458,558,560,521,548,527,452,333,333,547,790,809,786,615,656,558,381,461,580,562,472,432,439,445,409,426,387,385,395,338,375,517,707,742,761,711,571,404,397,434,407,325,341,373,438,952,1496,1620,1198,860,838,751,803,1102,755,905,1130,1246,1326,868,505,496,454,609,764,953,1242,1218,1210,1198,1074,905,623,525,1210,1664,1638,1676,1804,1756,1726,1672,2176,1752,1120,759,632,571,591,891,1100,1002,997,857,838,1010,899,1018,1112,1086,1050,1338,1300,1048,1180,1382,1400,1472,1394,1290,996,784,729,911,1001,1005,1132,1260,1122,730,466,464,528,648,558,467,590,701,682,633,536,473,452,368,334,401,460,349,511,714,584,541,465,392,372,430,383,329,344,381,398,413,491,628,744,477,273,339,360,466,515,492,508,540,688,589,614,660,518,404,435,489,393,339,403,414,449,448,442,362,357,461,794,1302,1162,1396,1750,1190,761,544,525,1001,1410,1076,1072,845,974,603,420,671,1120,1388,1228,1005,846,507,457,426,492,532,594,585,463,399,413,425,438,385,421,585,969,1460,925,540,440,393,355,526,718,677,673,688,767,730,629,689,1290,1166,865,926,1402,1322,949,502,697,1270,1100,661,408,484,412,344,289,328,309,294,314,507,849,1498,1748,1130,970,1160,871,615,535,504,574,867,930,927,1248,1516,1344,628,684,885,810,807,948,1013,908,1148,1238,1214,942,898,1056,1294,1076,1130,1540,1130,866,450,360],[273,298,350,351,338,382,464,487,448,413,448,441,446,514,540,452,391,439,553,546,500,479,504,577,645,652,628,628,594,593,703,755,730,587,622,771,798,794,774,749,769,777,683,572,609,624,572,391,343,310,274,269,264,277,272,262,266,267,264,262,271,276,272,282,298,291,294,411,593,585,509,479,503,501,481,468,469,414,374,343,340,357,332,339,398,600,733,502,415,541,572,488,433,395,387,451,672,716,1146,1544,1456,1144,944,800,1182,1354,1144,800,475,401,338,527,926,1102,1106,1482,1444,1180,1034,1036,1290,755,434,460,814,857,1344,1678,1344,1084,1044,644,657,507,632,1406,1186,636,626,1138,1368,965,753,756,548,452,865,1376,1056,1086,1720,1230,789,671,618,672,877,1216,1212,1028,1160,1242,1312,1200,1416,1416,1578,1660,1448,1072,839,705,336,565,747,607,495,422,383,382,412,409,673,843,647,411,449,741,850,825,1270,1398,1378,1338,1318,1222,1316,1472,1498,1398,1428,1360,1282,1172,1018,998,814,1126,1166,1110,1278,1216,861,916,1156,1390,1334,1188,1220,1220,1366,1368,1274,1172,1282,1272,1318,1410,1300,928,855,1134,1250,1046,1134,1188,1110,1152,700,604,1019,1028,1023,1284,1238,1814,1868,1118,1090,869,1088,1418,1328,1310,952,803,902,744,513,714,1238,1262,846,1154,1322,1386,1172,1142,1152,1528,1894,1528,1472,1360,1454,1760,1892,1750,1548,1406,1122,689,926,973,487,342,469,496,422,487,611,1011,838,1096,932,1136,1272,927,1074,1232,1050,992,985,952,915,1318,1372,1344,1182,868,439,335,320,380,372,534,572,393,434,494,561,745,1214,1268,1244,1262,1354,1070,868,1060,833,661,677,583,483,572,896,690,342,370,444,388,434,759,1194,1404,1490,761,649,1072,1350,1396,1236,1084,865,611,518,643,987,974,848,539,802,1170,1094,657,483,889,1382,1482,1412,1044,888,1200,1406,1406,1094,726,487,444,488,486,496,520,611,766,953,1116,720,595,788,822,641,460,452,439,844,1202,1170,1042,596,518,917,1078,929,980,1064,988,816,733,605,466,467,474,447,383,400,446,415,341,359,357,315,275,293,365,324,280,272,266,274,246,276,283,477,522,448,458,525,495,426,419,455,476,482,584,689,791,1015,811,736,899,951,695,559,538,513,491,417,524,890,899,674,566,584,783,1118,1034,810,659,590,430,405,405,473,498,544,603,1334,1168,722,643,739,1210,990,905,758,752,761,1026,996,1110,904,711,797,1144,1150,1172,1326,1112,632,402,649,945,1228,1214,919,656,432,745,1156,943,718,774,707,921,1250,1190,936,944,889,692,769,1158,1292,1312,1426,1312,1360,1840,1522,1430,1498,858,793,724,520,397,526,1068,1014,646,530,408,576,691,993,1182,1332,1308,1156,1136,1142,1084,1066,1190,1148,1238,1256,1202,1306,1350,1120,1060,1080,1120,1160,1216,1308,1422,1604,1574,1384,1418,1244,1170,1406,1296,1232,1396,1304,1078,828,874,1004,870,716,1078,1294,1202,1278,1272,1256,1724,1864,1512,1416,1212,1136,1280,1114,965,1080,1144,868,786,932,825,869,1176,1076,606,516,568,499,525,987,1468,1654,1600,1164,761,1134,1288,946,870,1200,1294,1216,1250,1158,1096,1048,1006,1032,968,746,709,834,818,544,619,1230,1424,1182,1186,1190,783,468,308,510,858,1166,1448,1464,1456,1354,1484,1338,1286,1382,1288,900,705,611,412,329,479,612,431,325,314,392,418,434,362,301,383,398,358,328,295,311,297,291,305,288,303,352,442,385,377,347,495,631,467,437,371,389,392,439,521,556,465,427,470,474,480,487,544,601,566,558,494,519,479,491,539,589,639,563,476,487,477,431,482,891,1558,1904,1746,1532,1272,1064,1084,1240,1388,1522,1338,1096,1032,987,1162,1406,1296,1220,1302,921,791,1048,1264,1230,1402,2020,2014,1266,1112,1288,1334,1390,1044,1250,1296,1304,1156,1066,706,587,727,971,702,455,469,573,848,903,671,511,549,601,835,1062,1264,1256,1074,1028,738,499,609,918,1046,1042,1160,1056,1140,1032,913,1584,1476,1386,1028,1180,1178,631,387,415,1046,1060,922,891,372,271,254,254,362,483,528,514,662,969,1182,1142,890,617,461,571,1162,1108,869,1300,1050,1364,1428,971,936,1128,1298,983,948,1246,1238,1090,727,561,767,521,525,943,957,653,746,1168,1336,1210,1308,865,1060,1426,1362,1110,1318,1274,1172,1300,1404,1282,1144,1060,1021,1036,838,792,918,1174,1264,1648,1854,1722,1322,983,814,1028,1126,861,825,1068,924,1048,1028,916,1007,1322,1034,498,516,801,904,653,554,598,1116,1428,1222,916,874,1206,1002,858,1003,539,453,961,2014,1976,1318,1204,1017,636,408,689,833,1050,1536,1550,1646,1838,1636,1010,1034,889,750,902,1024,982,1018,1394,1678,1452,1072,780,822,1096,717,547,749,615,531,536,521,793,776,573,658,474,696,567,581,696,735,835,1092,1232,977,765,651,367,392,375,396,607,649,488,430,451,497,789,1009,960,1024,906,576,688,592,611,586,453,524,496,541,602,719,737,739,885,1122,1260,1332,1404,1426,1470,1015,1140,986,784,747,769,977,1146,1104,1366,1356,1172,1090,1102,1048,1132,1082,1042,1186,973,816,863,807,565,360,596,968,545,426,537,417,673,1062,1156,1134,828,554,984,1028,962,1190,1378,1256,933,927,1098,1246,1146,990,1372,1328,522,517,643,495,423,573,930,918,1114,969,857,971,989,1198,1146,912,1078,1156,1062,985,771,735,700,585,738,1306,1400,991,773,945,1224,1168,1400,1448,1352,921,544,475,484,597,722,726,697,547,563,616,664,673,557,559,670,662,558,675,716,491,433,387,303,394,554,794,509,903,1230,1242,1206,1190,1028,777,807,1034,854,727,1096,1522,1610,1682,1632,1596,1436,1222,1264,1510,1412,1172,1396,1306,1760,1542,1182,1166,1086,1102,1028,645,602,724,711,953,983,555,447,441,366,420,473,638,924,1116,844,506,724,1534,1494,1078,1116,1230,1210,1180,924,656,888,988,978,1092,1226,1528,1356,1262,1410,1698,1722,1562,1610,1574,1446,1366,1060,893,1082,1256,1296,1218,1023,1300,1488,1674,1754,1606,1248,1202,1268,1310,1160,1134,1148,1292,1212,1160,1178,1108,1120,1076,1023,984,1044,1070,1136,1126,1080,1076,923,988,1088,887,900,864,671,656,683,626,592,869,938,672,754,923,672,691,894,985,936,1012,1072,1276,1412,1210,1180,1238,1184,683,546,533,511,436,788,1042,980,852,1230,1206,977,1036,780,628,738,491,399,629,688,495,426,562,655,778,860,962,1166,1366,1186,1152,1326,1236,1130,997,767,875,926,813,830,905,1258,793,431,644,612,495,491,481,525,586,659,1001,1236,1238,1212,1158,872,445,363,371,398,381,397,468,610,891,1230,1168,1002,1182,1204,943,539,487,549,744,774,558,472,713,766,736,1066,932,651,1122,1250,964,711,381,628,968,1292,1336,1274,1352,1100,1188,1198,1426,1510,2020,1970,1934,1868,1438,1156,923,714,541,483,503,491,625,843,1200,853,440,448,482,684,845,953,1005,806,956,1282,1440,1132,1174,1516,2310,2172,1872,1606,1348,1216,1412,1782,1842,1366,670,360,341,412,604,694,608,510,597,655,628,616,602,619,635,588,550,645,725,741,630,514,557,531,491,529,538,453,269,264,302,565,742,675,656,841,813,673,724,753,539,448,499,523,541,465,453,437,410,375,358,344,525,677,625,628,405,388,380,393,383,380,350,347,312,580,963,1336,1666,1548,1268,1596,1274,573,439,554,813,1434,1260,884,678,576,603,536,789,943,839,1072,1150,1242,1210,998,936,927,1240,1510,1294,1500,1592,1734,1988,1826,1710,1914,1672,1012,658,610,547,544,628,1092,1254,757,1168,1456,949,908,1042,1156,1240,1382,1534,1274,1074,1226,1268,1306,1280,1208,1332,1244,888,591,480,645,826,980,1068,1168,905,593,559,506,639,659,525,526,572,532,495,460,488,458,382,379,386,469,750,1086,966,741,498,309,327,443,444,291,245,276,357,414,431,419,588,926,622,379,507,357,448,513,446,417,403,455,517,550,573,561,500,473,477,428,450,492,469,455,423,330,313,368,581,1086,1078,866,855,625,1170,1544,764,793,1476,1222,678,688,874,719,574,851,998,1098,1262,829,733,623,506,448,463,617,549,509,521,452,469,585,639,629,494,448,677,1594,2344,1660,799,502,416,445,735,701,440,487,587,677,778,775,808,1596,1796,984,663,824,919,763,401,540,1276,1808,1152,724,541,418,389,323,318,376,363,345,522,745,992,1054,846,769,1412,1416,991,875,803,819,1262,1126,766,999,899,615,403,392,609,1178,1546,1312,1208,1098,1096,1190,1298,882,780,983,1232,668,597,1050,1258,877,509,554],[450,465,457,432,389,375,389,389,440,445,413,440,496,505,463,416,400,491,571,499,438,520,600,621,621,631,642,631,629,706,803,706,551,616,784,855,821,783,777,791,778,724,604,520,531,536,409,314,281,261,253,256,259,266,264,254,254,259,271,282,291,284,269,267,273,293,296,451,608,549,558,487,488,452,422,378,372,382,373,356,346,350,354,364,395,464,554,491,532,630,572,427,419,497,518,480,824,1280,1302,1590,1614,1042,780,959,1286,1374,1436,1498,1348,599,436,390,750,1044,614,727,927,1226,1298,1298,1194,783,497,362,433,1026,1748,1600,1212,1160,901,661,930,763,866,1976,1740,839,824,1332,1378,995,754,620,367,471,811,875,597,964,1244,700,670,778,678,777,912,1182,907,818,1180,1198,1290,1216,1306,1846,2318,1956,1234,852,965,822,713,743,661,563,442,391,466,536,521,366,575,1001,927,593,379,474,495,810,1146,1178,1290,1418,1208,1052,1080,1140,1368,1226,1114,1372,1598,1360,1140,966,1260,1542,1322,1218,1338,1242,927,922,1194,1260,1212,949,716,1066,1354,1308,1154,1172,1092,991,1218,1222,852,711,813,1180,1326,1316,1792,1288,883,797,636,799,1180,1034,1142,1222,1232,1546,1372,1252,1126,1015,1154,1246,1326,1240,1048,995,716,455,427,670,1240,1168,818,1050,1588,1666,1142,1132,1200,1334,1472,1470,1636,1542,1354,1322,1648,1800,1620,1364,875,555,667,761,509,608,838,844,521,473,639,669,603,774,940,1244,1096,1082,1228,1158,1208,1015,957,1017,762,594,885,1162,1212,680,410,466,390,405,393,653,887,771,496,467,572,846,1015,1015,943,1098,1290,1054,943,738,656,728,477,428,628,746,904,767,483,399,337,339,447,636,901,1188,1198,839,745,1178,1540,1470,1436,1304,909,564,537,842,951,1021,1028,811,807,943,990,822,951,1338,1580,1372,1268,1148,1110,1172,1490,1582,1162,742,584,467,496,501,477,536,557,859,1132,928,519,657,860,901,754,555,395,458,948,1190,1328,1226,650,472,737,850,1022,1252,1156,974,1020,937,648,514,432,405,492,405,418,484,471,429,418,392,355,271,253,386,340,296,293,261,244,211,274,319,444,525,497,486,487,448,418,354,370,662,817,751,786,1002,991,751,637,604,504,441,488,530,530,454,393,499,572,698,753,693,719,990,1220,1024,1096,1156,889,636,614,638,724,525,380,622,899,850,833,776,1096,2042,1506,1502,824,690,938,1012,766,861,1262,1080,671,809,700,901,1038,1094,775,554,481,465,793,1056,1174,1070,836,979,923,863,654,673,810,1032,1278,1234,1314,1296,1160,947,902,1112,1330,1396,1648,1260,1268,1616,1188,1354,1466,879,650,559,358,369,729,1512,1520,1422,840,509,797,880,801,706,869,1112,1160,1278,1300,1212,1154,1510,1584,1440,1448,1288,1512,1714,1466,1200,1138,913,1018,1284,1174,922,1276,1534,1498,1520,1278,1136,1218,1376,1562,1482,1326,1050,929,832,1002,1290,944,973,1028,1134,1206,1286,1294,1280,1334,1406,1482,1282,1366,1476,1336,1088,1156,1390,1086,675,599,570,784,1142,1132,830,642,745,551,496,913,1302,1350,1154,1048,1254,1556,1394,1248,1032,1016,1184,1182,1312,1416,1346,1078,1110,1054,746,746,736,960,948,747,847,1176,1268,1228,1072,720,510,447,491,747,1038,1174,1010,1176,1352,1310,1252,1214,1252,1376,1664,1450,924,568,390,369,562,637,650,413,303,438,477,424,333,262,311,362,358,354,317,322,285,272,297,344,346,428,493,432,358,310,529,758,497,527,407,383,378,421,520,580,487,477,487,448,454,459,511,559,519,487,433,486,502,522,487,507,557,523,456,469,484,514,904,1604,1938,1768,1558,1248,1156,1518,1494,1318,1396,1334,1178,1296,1210,1174,1418,1316,940,1017,1118,1116,1146,1092,1146,1308,1372,1356,1328,1106,1228,1376,1196,1242,1212,1440,1490,1408,1268,1044,949,997,752,1050,1098,781,584,685,801,860,705,626,686,860,1110,862,863,1116,1020,960,821,689,898,1368,1330,1190,1072,942,1034,1094,1092,1400,1498,1340,1058,1176,982,474,327,361,592,581,662,674,325,241,278,283,299,318,326,321,351,652,1094,1400,1260,809,557,962,1230,946,1012,1252,1246,2122,1928,799,607,869,1104,1062,993,1021,1156,1021,1002,739,863,717,897,1256,1036,631,634,767,1078,1148,926,698,915,1136,1306,1346,1114,1026,1050,1100,1102,1066,1152,1408,1354,1268,946,857,807,918,1054,1338,1610,1350,780,819,628,818,928,900,821,775,996,1300,1250,1216,1182,977,777,685,690,988,858,760,738,698,998,1328,1154,838,966,839,750,973,974,467,395,545,940,1100,1068,1158,1144,715,410,586,742,989,1388,1376,1562,1322,1034,844,949,1158,1410,1344,1308,1328,1352,1780,1700,1650,1344,858,678,1032,899,564,709,797,702,595,755,1046,716,805,650,467,433,401,609,631,583,647,810,984,747,901,932,357,322,346,343,419,483,499,450,467,612,924,1194,1076,990,735,507,531,444,444,675,680,585,574,835,1090,1022,861,1026,1246,1396,1236,1164,1266,1302,1218,950,933,1004,1046,919,698,1010,1176,950,907,1030,1156,1088,1090,1170,1160,959,1026,1218,1050,1104,969,667,444,355,576,669,490,485,445,464,586,529,669,1110,1168,795,689,965,1202,1072,1162,1290,1019,713,821,970,966,948,1346,1344,560,454,543,456,492,716,1086,1106,1176,990,1028,1130,1180,1260,1190,1160,1188,1418,1262,949,998,1188,1264,866,652,1124,1408,1254,896,642,636,524,828,1038,1050,836,1036,1176,1038,1130,1214,1410,1096,591,785,611,600,749,769,728,852,1015,899,769,637,403,425,377,351,422,568,792,683,777,949,985,981,1004,1178,1212,1300,1494,1570,1592,1428,1166,1092,1088,966,1060,1210,1172,1300,1300,1306,1136,1250,1210,1396,1272,1160,1058,1024,997,876,597,572,580,599,654,565,481,448,414,496,599,800,799,645,756,659,474,551,1136,1340,1316,1352,1300,1322,1406,1294,1302,1480,1412,1224,882,783,1268,1322,1318,1416,1626,1672,1512,1342,1132,1048,1086,1144,1218,1242,1272,1234,1224,974,1040,1338,1470,1698,1750,1512,1428,1224,1182,1044,1328,1602,1316,1362,1304,1200,1242,1190,1026,891,996,981,810,1015,943,888,952,887,1122,1378,1064,858,933,958,836,818,876,844,940,948,753,923,979,768,573,480,551,800,899,1034,1166,1244,1118,938,968,1162,873,581,527,651,869,922,1012,1284,1280,1666,1094,625,449,305,334,483,455,559,554,499,595,777,824,649,515,824,882,839,1304,1410,1328,1206,1168,1170,927,568,849,910,889,805,989,1188,762,569,969,937,654,462,375,515,734,802,1312,1410,996,1098,1006,992,674,429,427,416,397,416,590,792,888,749,714,990,1070,733,533,547,520,448,586,777,650,486,837,708,509,1106,1344,1372,1404,1150,854,664,468,439,1056,1738,1680,1618,1600,1180,1074,1009,1216,1518,1574,1670,1932,1904,1704,996,461,432,384,443,473,355,530,614,780,635,571,462,409,666,771,776,468,440,764,1268,1406,1252,1094,1534,1828,1888,1848,1636,1672,1572,1466,1410,1810,1804,1266,760,422,460,469,608,548,449,560,618,564,569,613,638,615,601,556,543,583,644,699,577,433,395,443,490,531,440,294,268,272,399,554,582,788,921,898,900,904,681,428,459,516,513,525,412,403,444,408,365,361,402,508,565,410,383,379,388,397,411,361,359,392,383,341,364,548,1050,1784,1684,1486,1876,1318,597,364,396,975,1396,932,630,413,536,385,437,1050,1082,1140,1440,1136,869,1166,1322,1019,1138,1200,1086,875,1430,1574,1602,1686,1938,1798,1432,1248,1084,1328,1420,737,449,504,758,981,814,2080,2468,1562,1150,1244,1262,1200,1398,1268,1180,1026,971,1156,1332,1284,1224,991,850,888,871,675,725,683,781,794,872,1008,737,713,656,603,577,509,449,442,414,464,468,452,462,423,405,413,418,758,919,636,322,279,261,269,247,264,263,233,303,380,358,339,379,504,577,473,526,544,402,513,491,392,385,406,449,469,492,534,573,532,521,459,428,443,494,491,536,444,341,339,391,875,1170,632,568,858,1330,1834,1506,832,1096,1028,616,497,756,1038,980,1222,1432,1294,1246,1001,536,494,597,544,521,601,655,633,605,527,391,443,579,547,565,525,451,558,1316,1660,990,532,460,480,550,613,952,701,590,688,680,763,1156,963,814,843,708,737,691,600,599,643,523,760,1156,1022,1376,1478,882,473,458,401,502,496,292,420,595,802,1214,828,971,1794,1426,949,984,875,988,1244,1124,1032,904,691,516,436,438,409,479,1008,1532,1532,1266,978,926,1015,986,852,974,1232,999,793,1242,1412,995,754,869],[398,359,330,377,372,347,372,385,421,411,401,444,529,517,445,375,449,520,452,391,510,600,617,655,669,627,621,624,682,738,728,525,479,573,757,916,929,860,805,821,795,648,476,440,395,352,298,271,246,238,243,251,253,265,263,252,253,259,269,278,291,287,277,267,266,283,288,318,353,338,440,416,399,390,353,337,367,350,322,322,336,345,375,391,440,543,619,528,500,638,577,400,445,714,719,533,1036,1848,1150,1184,1098,1102,1268,1352,1252,1108,1118,2114,2160,844,576,574,1190,1250,815,1100,903,811,1104,1316,1038,925,672,425,728,1548,1570,1248,1416,1316,846,959,991,657,809,1316,1322,1108,1186,1328,1348,1054,662,468,416,393,500,540,473,540,569,644,734,608,612,698,569,677,585,834,1114,1164,1366,1206,1086,1522,1914,1780,1442,811,878,885,1186,1076,1072,945,797,652,568,706,536,326,530,1060,767,927,876,780,928,1364,1202,906,888,1162,1138,763,885,1172,1418,1428,982,1042,1212,1362,1544,1160,1308,1600,1578,1390,1360,1362,1106,960,1322,1436,1278,1026,1046,1062,949,919,1076,1230,1232,1010,1266,1274,983,990,1164,1574,1560,1362,1340,1152,1130,1436,1428,1158,1204,1054,1010,860,1142,1296,1188,1138,793,670,1076,1234,972,1040,1266,950,519,428,464,536,796,964,1214,1418,1384,1266,1166,1082,1122,1466,1408,1516,1698,1716,1220,1174,1528,1776,1788,1346,1023,772,727,637,545,651,764,662,478,530,559,535,666,620,670,1066,1248,1402,1428,1468,1352,1230,947,788,539,628,772,824,781,553,432,488,500,488,411,608,841,780,539,553,656,830,913,708,714,954,1144,865,949,666,706,753,888,1016,1108,943,790,723,718,393,297,348,417,529,779,895,906,976,1046,1262,1318,1340,1106,917,478,328,418,691,612,665,988,1184,1198,1244,1236,1218,1472,1390,1926,1670,1230,1098,1268,1342,1628,1650,1228,1040,987,628,435,410,479,486,495,688,1104,850,451,619,778,729,690,649,564,608,962,826,950,898,637,707,662,496,523,779,1064,1140,966,669,473,515,488,492,503,475,435,426,425,434,435,426,396,283,256,363,280,255,263,292,279,264,284,336,459,565,568,549,527,481,473,476,483,684,739,732,727,980,1318,1350,854,631,421,414,397,407,397,376,379,410,427,559,658,614,598,832,1020,966,1017,1274,887,566,519,551,525,404,309,449,744,1052,978,1092,980,1428,1474,1364,957,897,938,626,636,1124,1280,915,752,714,843,908,1030,1484,1122,689,691,823,955,951,1216,1128,1005,1080,995,571,478,455,561,738,1116,1086,966,1364,1438,987,871,1110,1316,1190,1296,1338,1356,1136,1060,1530,1600,1224,1156,846,412,583,817,1380,1410,1524,1162,691,791,996,1196,1378,1406,1238,1228,1306,1196,1174,1134,1258,1360,1242,1328,1356,1332,1426,1306,1332,1482,1098,1054,1138,959,807,941,1334,1550,1560,1494,1520,1496,1488,1498,1316,1310,966,805,656,971,1252,1068,880,624,547,640,872,1114,960,1074,1314,1268,1268,1250,1310,1322,1268,1272,1382,1208,844,622,711,1108,1216,1180,1174,812,710,689,828,1204,1484,1384,1302,1212,1282,1648,1454,1244,917,1016,1098,990,1016,1218,1182,1122,1132,791,754,1044,1012,1200,916,1020,1194,1154,1274,1138,702,509,434,451,648,1124,1232,1324,1092,1032,1094,1478,1306,1096,1144,1272,1406,1308,905,450,382,493,604,721,808,556,350,334,312,303,317,283,289,348,447,558,464,363,309,284,291,365,412,444,434,394,392,416,658,728,476,550,513,502,467,449,507,513,443,456,484,489,478,455,500,492,497,444,372,417,498,497,455,437,488,514,516,474,490,858,1610,1900,1750,1618,1318,998,1130,1418,1576,1722,1362,1372,1370,1346,1378,1378,1440,1308,959,984,907,812,964,1100,1110,1046,1274,1414,1316,1112,1270,1254,1228,1094,1078,1318,1524,1672,1322,1564,1484,1290,1066,1046,1088,735,570,642,689,736,750,777,799,957,1080,767,858,1214,1140,723,702,1118,1648,1510,1130,1100,1052,958,728,1052,1316,1300,1310,1340,1180,1198,849,453,345,312,330,428,458,316,243,243,327,307,321,363,345,324,426,642,598,714,894,930,984,1172,838,890,1270,1010,1050,1976,1576,725,926,961,795,869,786,553,825,1074,1088,1168,1288,1444,1580,1338,977,914,706,798,922,974,1224,1196,1250,1158,991,798,834,1072,929,615,658,910,1206,1512,1448,1056,736,698,634,717,1076,1354,1506,1454,885,674,381,579,987,912,804,952,1368,1426,1318,1538,1352,1054,1180,1404,1344,1062,711,632,746,818,669,769,980,1570,1584,692,797,879,584,371,347,356,429,494,780,1188,1166,929,778,756,659,874,810,977,809,700,699,783,922,1404,1804,1700,1454,1190,866,1158,1566,1198,985,894,620,847,880,640,636,644,701,633,1003,940,732,757,576,626,503,418,581,608,830,998,886,907,414,607,708,384,341,367,362,402,460,494,716,975,855,767,1124,1138,782,556,443,416,422,558,872,906,670,730,918,1190,1110,1102,1252,1384,1460,1432,1312,1178,973,868,924,885,847,808,833,933,1078,1172,982,769,667,870,1222,1930,1862,1062,945,1182,1366,1148,1066,778,541,469,391,455,391,451,602,639,632,570,559,756,1030,981,896,930,988,1094,1102,1062,968,717,681,1200,1314,967,693,1240,1532,767,618,910,1126,884,871,1002,955,1006,1078,1208,1192,1230,1198,1084,1021,765,1042,1276,1306,1288,1274,1150,998,1052,1324,1634,1240,905,495,367,354,510,465,462,536,891,1310,1340,1238,1202,1266,781,490,509,516,813,1011,974,815,818,1082,921,887,860,612,517,464,616,740,774,751,785,778,845,1174,1396,1448,1574,1516,1378,1362,1256,1066,1158,1278,1234,1490,1224,1011,1184,1092,1234,1182,1196,1136,1128,1298,1410,1384,1196,1118,1088,1002,730,614,610,451,545,432,324,386,460,483,613,713,901,937,593,691,761,608,444,778,1390,1458,1144,1004,1230,1324,1166,965,786,616,716,867,772,1034,1258,1260,1412,1610,1398,1180,1208,1274,1288,1198,1182,1250,1278,1324,1222,1258,1300,1332,1338,1318,1494,1746,1718,1492,1258,1454,1320,1450,1414,1154,1194,1120,1146,1242,1162,1094,1048,1200,1021,682,634,619,762,944,949,1018,1160,1118,903,941,887,799,970,932,852,1086,1318,1394,1328,1100,916,621,498,678,894,841,1034,1188,979,656,568,673,735,639,568,549,658,940,1032,985,1730,1608,926,508,367,329,397,448,491,512,730,854,802,553,661,1110,921,654,931,964,802,974,1402,1424,1132,1198,1236,1210,921,1136,985,1206,1218,858,835,944,702,753,962,895,515,409,500,736,626,905,1070,1120,1110,974,1436,1218,517,464,373,481,614,624,619,788,561,513,901,675,336,408,514,479,467,439,727,919,553,732,565,446,710,973,1170,1270,1040,771,805,661,666,1424,1830,1896,1980,1590,998,983,1192,1208,1096,1086,1522,1678,1476,1318,632,342,298,303,352,323,398,449,495,465,702,1116,841,651,803,775,569,424,391,486,612,830,945,999,1232,1464,1602,1430,1660,1538,1310,1280,1514,1756,1792,1870,1618,1114,648,434,443,550,856,1034,764,522,451,460,472,528,599,576,434,343,509,705,594,372,339,421,464,493,408,296,283,310,395,426,605,908,896,865,876,848,666,433,489,477,408,380,383,377,383,412,383,386,384,408,482,403,442,454,414,414,396,367,381,388,348,332,346,360,540,1122,1408,1536,1536,1224,971,560,344,633,938,747,595,472,490,403,420,940,1214,1318,1180,965,1011,1344,1394,1404,1708,1116,821,1536,1892,1804,1494,1340,1600,1642,1410,1448,1740,1942,1716,810,669,523,444,690,1062,1596,1694,1448,1248,1374,1346,1182,1370,1136,1166,1208,1282,1292,1304,1126,1062,844,708,1076,1210,929,996,919,1078,1224,1040,1038,809,534,477,436,418,466,466,437,373,419,415,410,410,392,403,412,418,491,521,333,250,266,245,257,270,296,279,283,326,360,357,353,371,479,626,581,780,764,436,394,415,390,381,405,400,372,397,476,531,531,523,454,445,463,452,491,514,441,406,395,392,509,570,366,414,662,1009,937,678,865,979,675,671,841,990,1114,1376,1772,1238,1224,1140,958,619,583,626,500,598,670,716,797,753,712,555,429,432,426,403,530,506,534,949,899,514,480,487,609,613,756,1530,860,705,1054,932,839,1232,1158,705,524,604,667,563,507,517,708,700,719,669,698,1164,1340,894,438,468,545,722,590,360,450,520,773,973,860,1218,1400,1288,1312,838,822,800,1096,1522,1210,752,819,639,396,427,403,347,489,886,1368,1228,1228,1044,585,713,1214,1392,1370,1064,871,1072,1226,1254,1078,943],[349,343,336,398,414,370,375,431,413,419,498,511,468,415,492,565,520,452,469,600,615,560,602,641,581,545,606,689,747,685,552,490,531,667,862,938,954,835,744,703,682,528,436,361,297,264,260,239,225,230,243,252,257,255,245,247,252,258,265,275,285,287,275,267,279,282,288,275,296,406,473,511,533,456,443,557,494,334,298,296,330,365,383,445,631,793,789,618,544,612,525,419,560,687,524,437,594,831,659,688,927,1116,1178,1116,985,1110,1158,1364,1184,1094,978,1022,1410,1320,1120,1226,1056,714,1060,1188,707,1017,1090,894,1218,1294,1142,783,959,1362,1202,1162,1086,825,1008,1198,1212,1210,1256,1122,1028,906,938,678,480,377,428,582,534,446,832,1262,985,631,621,558,453,528,495,657,688,648,880,949,1182,1212,1168,1132,1390,1020,1003,860,1188,1530,1500,1170,985,1026,1136,977,555,410,720,884,742,919,1578,1290,1086,1422,1260,1160,1402,1400,1082,875,1036,1358,1302,1322,1172,1020,937,1204,1522,1606,1422,1262,1648,1482,1476,1372,1036,1294,1382,1250,1208,1262,1296,1130,1080,907,1182,1254,1286,1402,1522,1324,1078,1020,1104,1214,1268,1352,1250,1340,1572,1498,1304,1080,874,1040,993,902,1166,1196,953,763,709,921,1494,1160,673,993,1452,1088,907,715,444,924,1838,1824,1410,1362,942,1212,1368,1022,1064,1492,1522,1578,1334,1188,1268,1366,1476,1702,1872,1598,1630,954,1036,1116,854,808,1200,1058,782,778,942,810,626,603,920,1072,1000,1268,1524,1370,1186,1192,789,484,492,811,1160,1240,968,1026,714,598,500,441,830,879,689,694,816,777,713,661,789,841,871,1026,1202,1140,863,698,678,661,803,1176,1260,1206,876,774,639,294,252,327,393,533,791,1088,1114,1054,1250,1324,1218,1294,738,480,639,625,462,505,512,901,1322,1262,1240,1278,1390,1274,1192,1110,1266,1440,1436,1350,1258,1186,1448,1490,1306,1366,1300,894,490,363,410,419,457,512,863,856,568,646,735,630,604,622,583,774,800,613,610,642,574,641,792,810,780,977,1152,1266,836,516,450,507,526,503,512,501,467,487,504,494,467,462,430,305,289,346,332,323,279,256,260,235,257,335,444,551,563,594,495,444,638,778,741,476,475,581,726,1100,1270,1454,1258,984,556,439,456,415,379,350,359,437,443,410,550,695,572,453,672,635,650,724,576,383,426,554,648,594,460,539,949,1114,985,1148,896,1048,1218,1102,1056,1012,858,882,830,995,807,897,1018,1136,1326,1102,1068,1372,1194,1048,1184,1326,1438,1196,1222,990,849,628,511,642,449,357,584,766,1162,1744,1656,1212,935,840,626,791,1082,1040,1196,1206,1110,1134,1200,1570,1498,913,998,1114,979,1180,1434,1366,981,791,471,318,393,627,1048,1290,1294,1166,1268,1114,1130,1138,1108,1098,1116,1144,1218,1210,1028,1174,1102,1414,1566,1078,874,879,1040,1168,926,1004,1434,1572,1594,1582,1520,1544,1576,1426,1280,896,578,473,814,971,1118,1130,663,461,447,658,1012,926,1120,1300,1590,1608,1274,1266,1366,1220,1062,1226,1126,1088,749,985,1462,1542,1156,1150,1114,1028,1136,1056,849,899,1208,1528,1268,1358,1714,1582,1272,883,932,991,941,1302,1488,1304,1248,1114,1062,782,976,957,1066,1188,1340,1268,1196,1396,1220,744,452,424,498,543,932,1090,1336,1480,1446,1398,1562,1520,1440,1482,1434,1364,1296,807,428,424,513,514,602,684,646,517,303,303,319,375,309,312,338,396,446,443,489,476,422,418,428,382,436,431,444,518,548,835,551,442,586,593,537,460,421,464,484,423,489,550,520,487,411,424,451,457,452,426,432,449,474,485,464,481,508,497,480,867,1620,1916,1766,1550,1058,820,1080,1162,1428,2050,2230,1542,1392,1090,1098,1236,1252,1190,908,902,1156,1204,1064,848,1080,938,866,1132,1310,1362,1286,1228,1212,1186,1044,1058,1238,1452,1698,989,1182,1196,1076,1000,1194,1070,546,419,497,583,691,777,778,837,913,993,911,1110,1154,1162,1064,670,785,1178,1136,786,995,1090,1172,995,1250,1482,1402,1084,913,1070,966,619,573,340,335,321,332,324,289,292,296,321,352,333,320,328,365,604,802,354,530,819,536,853,1284,1216,1414,1462,1016,1007,1204,760,814,1046,1264,1264,1156,1110,639,492,980,1376,1406,1340,1612,1572,1246,1005,1186,1050,1050,815,791,1218,1260,1138,1034,1116,1192,1164,1150,966,653,514,650,1080,1246,1134,849,638,536,653,1008,1328,1318,1304,1388,1018,551,460,770,1006,954,966,1072,1148,1274,1168,1272,1106,1186,1658,1746,1574,921,617,553,710,924,818,788,1015,1556,1270,623,651,626,436,373,459,766,1078,1354,1548,1330,1026,764,844,1258,1096,1009,745,782,741,700,642,674,1102,1482,1318,1276,1150,680,472,733,1350,1062,1246,1466,1150,1028,962,938,1192,1296,1302,1060,1360,1038,855,735,612,681,674,596,647,631,707,540,430,673,661,733,612,371,328,361,382,437,461,594,885,937,929,901,1052,1108,1240,897,525,447,618,927,1060,854,598,747,826,915,1028,1196,1462,1550,1448,1378,1324,1094,796,800,891,595,641,865,1300,1390,1118,987,888,781,795,929,1176,1520,1494,1002,883,1268,1312,969,713,462,351,383,453,445,388,342,416,841,1172,865,589,482,611,628,784,980,941,1011,1158,1013,983,684,530,801,890,1474,1338,1616,1678,913,647,1060,1162,640,727,1130,1266,1290,1164,1250,1046,1100,929,921,963,899,890,1112,1368,1188,1244,1360,1372,1252,1212,1098,1198,854,460,550,637,533,433,476,830,1302,982,960,847,703,551,466,446,403,546,859,981,947,792,774,988,1048,996,1080,749,437,393,632,876,932,1050,1274,1456,1570,1572,1468,1424,1458,1128,992,1094,1072,988,1330,1502,1614,1998,1568,870,858,799,918,1086,1222,1272,1424,1842,1744,1378,1108,1042,1015,963,647,549,393,357,505,445,350,486,784,965,783,789,911,889,515,752,913,659,361,677,1200,1324,1230,1194,1001,678,595,693,612,573,703,841,962,1238,1440,1612,1674,1554,1204,1188,1122,1092,1120,1296,1342,1376,1396,1318,1252,1226,1176,1098,1224,1266,1384,1680,1698,1436,1252,1402,1260,1082,1023,1076,1088,1005,1036,1152,1068,998,1034,1158,1078,779,669,739,893,976,1014,1240,1360,1194,957,1124,871,729,863,786,749,1178,1382,1366,1078,899,940,857,562,635,988,1172,1128,912,678,626,730,635,466,542,548,483,607,698,651,985,1456,830,409,490,386,343,479,802,833,564,627,910,846,589,543,745,773,1136,1472,1406,1260,1112,1376,1460,1194,783,1106,1382,1236,831,920,1400,1580,1310,1248,1160,766,725,869,976,783,565,1034,1064,725,848,1034,1224,1088,980,1228,944,455,658,630,800,761,631,542,814,842,651,466,320,386,489,465,640,792,515,763,1007,568,577,812,681,507,551,942,1360,985,818,730,619,654,933,1162,1452,1886,1174,709,940,1048,1050,949,1278,1444,1005,706,736,776,728,481,477,868,1058,689,423,347,421,1024,1466,1100,837,807,703,454,399,383,454,502,471,507,711,921,1172,1148,1044,1406,1420,1522,1562,1848,2070,2056,1838,1704,1600,1408,983,520,482,858,1418,1178,683,463,383,374,509,606,573,513,408,498,637,645,561,503,432,357,425,409,361,390,420,448,493,764,879,866,896,933,901,777,524,410,445,442,397,401,401,543,639,462,428,391,430,479,451,529,523,420,361,355,372,393,393,349,310,369,455,446,463,625,1002,1328,1490,1064,305,340,373,491,560,544,549,711,806,619,651,1132,1370,1018,944,1316,1416,1504,1550,1760,1368,1700,1982,1898,1648,1204,1158,1182,1346,1480,1578,1636,1364,744,784,1011,773,816,1238,1300,1300,1552,1268,1188,1380,1294,1322,1344,1198,1344,1466,1254,1266,1298,1104,1046,839,659,724,885,891,1116,1180,1060,875,924,1188,957,521,436,475,433,409,421,421,395,404,372,384,395,390,411,449,497,464,491,354,272,256,240,236,249,232,252,293,324,374,384,375,417,481,577,505,806,905,580,362,340,427,432,402,355,322,376,412,407,512,518,459,461,481,509,487,413,440,446,407,454,419,392,457,516,882,1042,758,602,784,800,511,673,918,843,735,1328,1402,672,666,910,891,792,941,683,630,597,572,653,756,809,770,727,611,537,496,409,568,653,609,618,543,489,527,575,677,616,596,630,584,769,1036,952,932,1460,1152,590,477,728,1086,1078,771,755,634,693,679,453,480,515,482,418,297,310,460,647,681,596,475,398,736,1038,1312,1574,1250,967,1054,1034,1068,838,1172,1166,799,786,901,597,452,490,401,405,454,524,955,1318,1438,1084,738,985,1128,1136,1150,734,722,1126,1352,1230,1254,1296],[300,314,344,404,465,476,505,541,495,463,544,502,409,420,526,575,517,510,575,559,540,610,625,597,551,592,711,760,631,486,513,641,682,753,792,858,815,703,567,484,503,437,314,250,259,276,274,242,221,227,234,249,265,258,234,234,253,261,258,255,271,284,250,281,359,383,356,374,568,833,933,896,744,584,515,589,479,340,303,285,339,385,376,419,604,675,636,675,644,498,476,500,472,503,466,448,475,536,713,660,849,1012,990,833,805,841,869,1146,1504,1344,1160,1450,1440,1246,1238,1320,1188,848,1066,1250,1262,1158,1210,951,881,1058,1304,1084,906,995,1038,1242,1234,1232,1250,1078,1136,1068,1158,1216,933,1044,1274,1010,707,477,653,725,546,557,998,886,1098,1028,845,580,482,460,423,484,433,752,1188,1036,1210,1194,1436,1382,1334,1340,1466,1010,861,1174,1214,1088,902,1204,1114,882,555,425,763,860,801,1208,1764,1512,1396,1508,1444,1332,1346,1066,962,814,948,1378,1354,1302,1068,816,768,893,1172,1534,1488,1078,1814,1736,1770,1542,1264,1372,1360,1302,1294,1238,948,783,1128,917,1054,1186,1368,1090,933,1174,1288,1182,973,739,962,1070,889,1158,1344,1108,1212,976,624,740,1078,1312,1158,781,604,558,781,1146,1394,930,682,1220,1428,980,1088,1216,869,1126,1608,1604,1178,1192,947,1206,1256,1009,1170,1344,1528,1582,1412,1304,1188,996,1132,1678,2006,1566,1378,846,942,1170,881,825,979,1150,1408,1676,1338,1018,1090,957,1202,974,1180,1200,1116,877,729,755,890,890,718,751,1102,1150,1114,1362,1048,702,510,616,1090,1140,837,783,1011,879,1056,1152,1013,930,767,1001,1224,1080,633,480,752,904,907,810,619,1064,724,412,277,267,403,419,657,937,1204,1560,1328,1092,1158,1208,1386,1456,1108,657,881,924,517,397,577,1072,1296,1162,1080,1098,1202,1108,1058,1124,1054,1402,1444,1104,1180,1304,1400,1104,1036,1248,1228,868,483,363,368,388,444,593,889,952,648,780,876,653,599,533,428,691,619,496,645,758,691,648,781,984,972,1288,1288,1268,1132,785,464,480,498,471,481,486,497,535,501,467,462,399,312,234,261,345,398,423,409,356,234,239,266,323,424,723,655,618,517,373,484,949,1158,626,512,623,816,1156,1206,1260,1432,1064,621,522,436,452,559,558,515,376,421,407,476,526,471,431,463,405,539,843,672,516,641,738,889,977,928,780,706,1001,847,959,1242,1306,1306,1194,1246,1200,1222,1272,681,858,647,1015,1326,1248,1080,1021,1084,1144,1208,1290,1184,1066,1032,886,833,950,982,608,668,905,582,426,645,692,658,1214,1324,1356,945,1120,718,573,1128,1442,1538,1350,961,1028,1278,1538,1514,904,1082,1200,1208,1278,1282,1306,1340,951,511,417,352,344,475,668,1018,1100,1174,996,1066,1200,1206,1024,946,988,982,1050,840,882,1010,1210,1090,1023,868,778,935,1016,980,1212,1378,1360,1520,1560,1566,1592,1552,1500,1348,983,664,793,822,701,952,924,691,515,609,899,1038,1078,1112,1108,1580,1648,1234,1152,1298,1268,1178,1558,1364,1260,767,562,1028,1540,1406,1218,1190,1498,1484,1100,741,769,1120,1416,1400,1500,1470,1534,1518,1248,1190,1230,1240,1394,1410,1282,1290,1076,1234,994,980,1040,1244,1342,1492,1544,1224,1294,1376,1036,694,871,676,623,964,1302,1494,1520,1454,1472,1406,1318,1416,1376,1228,1248,1062,683,467,446,449,457,567,682,699,612,373,311,299,340,310,295,293,281,287,346,412,502,564,562,429,387,497,697,736,625,726,809,478,485,561,456,388,401,414,453,492,438,500,563,460,395,369,440,440,437,475,470,432,437,463,495,442,441,461,546,991,1686,1970,1792,1546,1084,549,563,987,1338,1758,1670,1610,1458,1284,1130,1200,1330,1482,1262,1268,1228,1196,1174,1350,1096,1198,1054,1202,1376,1372,1398,1258,1146,1188,951,768,1018,1126,1168,1154,790,843,1007,850,808,1082,809,489,377,425,607,658,745,762,791,800,782,741,807,951,1140,1026,455,499,653,921,933,854,1034,1090,915,1052,1178,1180,1076,672,631,631,1250,1384,661,441,316,324,330,342,402,375,476,658,608,600,626,444,890,781,408,458,541,584,804,1168,1522,1524,1360,1142,1198,1005,989,975,1098,1238,1294,1372,1394,1090,1005,1240,1252,1156,1250,1372,1236,1272,1370,1354,1324,1028,694,772,917,1190,1054,904,1248,1294,1314,1126,1092,1038,897,799,1244,1362,703,764,785,829,960,1368,1316,906,951,1326,1194,825,788,1166,1368,1316,1074,891,1148,1086,948,997,946,1300,1598,1678,1310,678,519,618,883,1222,1074,991,1132,1404,1736,940,379,419,405,380,819,1260,1178,1134,1007,1312,1284,929,1021,1116,1216,1036,816,881,767,395,361,393,667,1080,1164,1176,1040,710,753,918,1206,1372,1678,1828,1610,1542,1582,1360,1518,1660,1798,1776,1350,966,1068,1124,1023,966,671,598,796,583,514,449,445,708,987,814,407,303,321,357,512,540,532,717,837,717,895,1100,1384,1404,1368,1096,692,494,526,714,948,714,501,602,832,850,816,850,1180,1328,1144,1080,988,953,1152,891,622,418,615,921,991,908,996,870,891,1084,1146,980,1064,1190,1110,712,585,904,806,715,624,405,346,403,375,403,456,361,265,469,1090,975,787,515,407,409,584,863,853,906,1076,1084,1268,729,451,503,598,1830,1764,1336,1374,1184,549,656,644,379,505,922,1054,1194,1178,1276,1050,874,754,929,1007,968,1023,1112,1172,968,997,888,760,603,617,917,1236,885,583,602,650,661,767,688,641,912,516,561,719,634,432,375,504,661,584,724,832,841,741,738,857,1136,866,781,771,811,1036,1302,1474,1556,1490,1442,1294,1408,1396,1318,1600,1616,1150,942,929,1240,1262,1001,867,1434,1974,1664,999,802,708,759,838,1166,1394,1548,1516,1230,1046,1034,1076,1180,1102,694,448,386,391,458,439,469,670,865,944,630,578,772,624,412,674,827,551,433,807,1320,1424,1106,962,827,476,494,882,806,708,660,637,922,1276,1538,1810,1836,1642,1360,1234,1172,1242,1336,1570,1634,1522,1410,1282,1228,1188,1138,1100,1138,1238,1378,1700,1732,1650,1362,1256,1178,922,936,1068,1108,1126,1114,1194,1120,1038,1058,1192,1200,1028,990,1090,1024,903,1130,1614,1512,1068,885,1198,1186,860,799,844,850,870,1158,1426,1084,858,837,995,796,941,1166,1256,982,532,423,635,836,698,642,786,625,469,463,522,565,1304,1572,864,943,922,370,380,576,777,822,611,511,775,631,573,543,513,499,968,1734,1962,1416,1204,1376,1382,1498,1024,1090,1384,1056,819,1146,1268,1406,1478,1308,1114,874,1068,1494,1026,796,1094,1852,1510,948,993,923,778,646,890,979,533,441,773,976,763,591,631,568,670,642,406,320,390,466,391,412,980,1236,846,500,561,590,872,1310,1114,651,496,805,1208,984,899,775,683,798,780,814,1002,1324,925,600,772,937,859,694,1030,925,659,550,631,881,697,498,530,1250,1822,1076,736,544,530,962,1290,974,789,750,530,397,449,509,588,645,587,736,569,534,715,890,1178,1344,1368,1400,1194,1040,1472,2168,2398,2122,1698,1584,1652,1262,716,759,1510,1660,1230,724,385,438,600,645,568,600,592,587,512,510,626,530,354,301,365,419,430,372,400,447,466,674,622,577,730,807,854,764,594,528,466,451,479,459,522,702,658,526,456,401,501,545,487,503,490,419,318,344,357,363,355,369,359,436,465,502,514,497,671,990,1096,710,332,340,325,468,907,1052,1052,1314,1264,891,841,1056,902,819,1012,1284,1536,1726,1836,1780,1362,1556,1408,1204,1328,1456,1362,972,833,1360,1530,1326,1222,1162,1018,859,875,1136,1434,1292,1246,1130,930,920,1048,1346,1500,1300,1116,1230,1428,1298,1204,921,676,733,995,852,746,938,929,955,778,580,403,631,987,902,483,525,584,453,428,415,421,427,369,366,408,423,451,459,495,623,485,436,391,332,293,318,407,412,289,279,361,398,415,394,364,427,467,551,674,852,725,681,624,364,394,381,344,336,358,419,417,438,525,550,473,450,473,502,468,415,397,381,388,434,415,404,532,607,665,604,564,440,468,601,688,716,576,535,764,1256,764,418,460,532,659,883,787,688,968,513,402,550,695,756,758,683,536,496,442,477,596,466,485,453,434,489,624,767,720,561,449,528,692,821,805,859,1312,2062,1286,811,822,1106,1784,2084,1938,1564,893,671,482,399,400,319,328,288,293,367,387,495,693,733,498,378,724,1001,1336,1302,1412,1200,1054,1230,1198,1250,1408,1342,1178,1005,683,421,445,468,720,688,764,572,565,1144,1356,1198,1072,1122,1186,1112,822,599,827,1910,1440,728,921,897],[283,299,331,382,467,522,456,416,444,516,531,448,500,519,473,428,510,609,617,581,591,632,585,563,631,739,785,655,535,548,577,648,735,864,819,813,662,544,434,354,333,303,280,284,269,277,270,255,253,241,231,246,267,257,224,229,246,251,251,256,281,299,267,306,409,494,538,642,855,997,1168,1015,856,836,705,475,415,357,331,349,398,472,435,529,805,717,599,539,508,503,524,477,399,441,526,529,508,664,946,1020,1178,1434,1246,1180,831,886,950,1406,1844,1476,1300,1374,1262,1384,1288,1204,1406,1276,1204,1278,1104,1032,1152,1194,853,782,1130,1342,1088,759,1088,1216,1224,832,842,753,1072,1266,1190,1328,1194,1088,1170,1202,1060,882,838,664,550,531,867,810,1070,1226,913,547,484,476,642,1004,573,927,1202,955,1102,1310,1426,1154,997,1120,1094,851,744,1005,1404,1656,1376,1376,1015,566,331,408,539,503,713,1408,1624,1722,1722,1606,1638,1274,1280,1182,1206,910,761,1158,1404,1256,1280,1466,1128,1202,1312,1786,2154,1838,1942,1716,1616,1306,1092,1144,1206,1398,1476,1188,935,698,1038,1248,1320,1346,1604,1228,937,1088,1138,972,1036,785,908,1000,1050,1310,1214,1086,1326,1318,940,817,1086,1336,849,497,582,724,612,685,744,664,808,1316,1220,674,828,1104,1032,806,796,734,1046,940,731,814,1256,1548,1604,1430,1282,1288,1560,1578,1334,949,644,1064,1742,1622,1122,599,648,970,1100,1118,1364,1428,1368,2294,1554,999,811,736,1106,1016,987,1082,1009,1080,1018,689,863,1340,1066,1112,860,747,992,1358,1088,669,681,937,1180,1128,1002,910,1202,1238,1082,1238,1230,1198,980,1106,1232,1014,755,628,986,1030,510,355,509,755,1018,868,670,609,486,402,669,1014,1174,1304,1188,1142,1216,1094,1124,1406,1572,1296,949,659,581,551,724,1122,1232,1240,1250,1208,1382,1338,1426,1582,1526,1760,1542,1194,1468,1354,1460,1096,829,841,1180,1036,698,611,458,390,430,509,747,1046,758,962,1210,829,585,516,411,613,686,588,642,627,652,1142,1218,1120,736,789,1136,1138,927,610,476,498,498,459,471,487,500,492,347,357,402,295,246,320,410,439,437,457,490,447,317,300,327,463,558,655,928,1168,833,500,506,999,1168,794,558,826,985,896,1200,1068,816,701,562,472,399,417,526,669,689,385,412,440,391,387,420,452,472,539,904,1078,535,543,673,719,929,1090,1034,1064,1010,786,617,965,1262,1096,1338,1344,1246,1352,982,569,563,821,797,1214,1344,836,630,805,882,1036,882,875,1096,1060,842,1026,1154,1278,1132,551,327,467,670,437,415,442,372,286,431,528,726,969,761,683,1068,1358,1382,1184,1094,1386,1530,1660,1632,1264,1560,1310,946,784,740,1190,1360,943,389,391,390,354,392,441,918,1290,1322,1090,1054,1186,1150,913,869,962,1008,962,962,1130,1586,1478,1106,966,794,695,749,778,899,1202,1314,1372,1388,1438,1536,1576,1578,1558,1498,1094,993,1418,1316,1050,713,639,985,789,968,1174,1184,1160,1058,1084,1286,1324,1222,1276,1324,1282,1178,1364,1456,1678,1432,850,973,1414,1426,1240,897,1194,1406,1010,1062,1286,1484,1492,1372,1186,1162,1384,1548,1586,1506,1268,1320,1298,1252,1278,1342,1180,1138,1304,1312,1258,1422,1396,1236,1124,1028,1376,1106,847,956,1178,1158,1288,1498,1526,1450,1196,1166,1408,1392,1384,1284,936,1021,981,755,559,480,430,407,426,526,710,617,419,310,292,325,310,293,296,310,297,305,349,420,539,567,511,379,368,478,739,913,799,841,705,425,474,456,378,367,391,427,447,482,475,501,504,448,398,381,373,374,410,451,451,418,410,429,462,514,491,554,996,1680,1952,1764,1476,991,694,573,466,642,1168,1480,1336,1186,1224,1168,1070,1094,1482,1918,1284,1246,1148,1186,1106,1138,1116,1228,1384,1520,1404,1248,1162,1198,1430,1330,658,555,619,874,1126,976,986,1126,1126,1060,1102,1226,1130,735,491,710,659,562,633,612,657,713,711,684,808,1005,881,640,458,544,673,1096,1132,1090,1284,1272,973,786,960,1118,1274,1056,1028,987,1504,1482,1148,890,550,344,389,516,607,501,483,800,1050,1138,834,1166,1170,625,369,387,426,855,1204,1228,1182,1234,1472,1338,1118,1230,1234,1116,1118,1078,1086,1258,1368,1342,1326,1238,1074,1204,1398,1418,1234,1070,1274,1532,1634,1260,1015,1146,1302,1408,1196,1168,1142,1326,1348,1122,1072,1124,1236,974,966,1026,836,990,721,1102,1770,1728,1306,960,984,1150,1428,1404,1210,1346,1470,1302,1066,861,988,796,670,706,1176,1488,1532,1574,1088,529,529,742,1126,1598,1936,1692,1048,1042,1372,810,446,482,437,610,1210,1262,772,941,1078,1454,1516,1172,1106,1120,1015,1114,948,817,739,388,615,614,1294,1682,1808,1598,1372,1122,778,750,1170,1658,1770,1826,1670,1432,1562,1528,1136,702,837,1268,1060,659,869,951,1026,868,594,537,803,612,753,644,505,808,1102,913,624,433,407,410,464,552,585,628,656,746,948,1164,1186,1126,1274,1106,836,807,908,769,896,722,814,900,853,745,669,670,965,1220,1048,862,787,831,1070,1312,1034,543,480,627,738,1222,1360,1042,1070,1005,741,982,1128,1100,1098,907,924,1046,720,595,609,535,577,513,364,556,809,532,365,317,605,1066,1238,985,726,576,640,685,713,755,751,662,686,552,492,495,667,852,868,948,1282,1448,648,412,418,388,350,544,935,1224,1274,1216,1204,944,799,1010,872,930,1056,807,811,735,865,597,334,307,360,835,1158,931,706,663,680,821,963,836,643,645,591,780,929,667,458,390,456,719,592,627,695,587,607,616,724,1060,1246,1358,1508,1582,1392,1172,1118,1174,1011,1212,1154,1154,1238,1238,1422,1296,1048,852,638,847,966,1032,833,1168,1406,1304,1446,1390,948,865,1009,1110,1504,1628,1276,1262,1212,1276,1190,1214,1262,1092,830,502,384,357,414,457,518,769,1011,837,537,521,445,451,799,933,865,944,893,1106,1238,1054,974,912,716,689,1144,1266,1024,1034,1013,925,1072,1122,1360,1636,1416,1510,1560,1442,1392,1328,1376,1288,1154,1156,1168,1118,1070,810,738,971,1110,1216,1538,1770,1708,1480,1238,989,748,840,1082,1086,1146,1168,1174,1204,1146,1042,1082,1106,1090,1190,1312,1094,901,1048,1010,883,976,973,980,1010,1005,922,869,866,1106,1238,1266,946,896,973,1158,922,909,1152,1176,953,593,388,627,922,709,693,775,661,608,756,817,594,1021,1196,960,1230,797,346,409,599,796,711,559,435,416,487,688,619,398,357,572,1278,1648,1274,1260,1238,1184,1312,1396,1388,1262,1188,1288,1166,1044,966,1230,1426,1078,675,902,1424,1156,629,812,1470,1362,942,965,785,752,923,814,865,576,505,780,1096,783,466,615,736,512,375,383,375,439,444,346,490,1030,1296,1434,1076,543,659,991,1048,627,498,474,736,1060,1023,957,953,774,682,670,821,830,594,407,378,451,767,754,716,583,699,705,557,833,1002,678,451,457,744,921,733,1192,1042,702,515,734,774,717,602,425,402,503,756,845,740,857,1378,1260,859,614,736,1150,1498,1454,1166,746,502,653,1068,1840,2276,1914,1642,1576,1582,1174,890,1346,1674,1420,941,573,487,511,613,562,583,648,578,506,479,542,559,521,475,500,521,491,401,468,502,413,430,625,572,535,603,701,706,661,622,521,542,566,486,462,589,496,425,383,378,535,650,603,527,468,430,360,330,304,338,332,328,454,532,492,549,628,731,860,843,828,535,354,318,297,670,1122,1074,980,1152,1258,908,827,995,796,738,1186,1438,1710,1752,1768,1616,1180,932,903,725,1214,1528,1078,631,564,1058,1168,1012,1394,1604,1214,1200,1178,1146,1108,1082,1030,933,1370,1152,1152,1160,999,1184,1212,1266,1260,1054,1154,797,631,619,948,1023,733,641,824,729,817,1088,769,1003,1042,862,693,979,809,521,456,404,430,419,336,372,477,544,574,381,415,558,625,667,579,417,346,356,433,412,321,355,410,411,398,404,376,382,474,755,1096,996,749,749,729,448,341,393,396,361,367,396,416,461,595,637,539,428,437,392,404,422,438,398,457,470,425,411,462,497,535,674,615,446,415,473,714,781,536,487,576,963,980,764,758,802,976,1100,688,802,934,528,410,478,439,486,599,561,422,355,343,402,460,391,423,443,430,543,846,827,695,616,556,735,861,890,996,1108,1470,1650,1256,822,908,1086,1366,1604,2142,2168,1144,583,434,504,415,297,294,260,242,387,405,427,576,628,616,472,458,566,791,924,988,1188,1040,625,888,1356,1302,1318,1302,1086,628,405,442,879,1902,1666,804,478,696,896,930,1388,1416,1172,1378,1714,1178,641,580,1078,717,426,495,473],[286,305,323,339,358,371,314,300,343,444,397,429,569,483,432,529,702,621,565,608,631,571,551,628,763,788,644,539,599,641,630,681,810,871,770,653,470,327,263,253,256,242,246,255,262,264,263,268,269,250,238,237,244,227,218,268,240,227,241,261,274,298,317,396,632,960,888,877,1034,999,996,954,991,880,645,433,369,471,482,407,545,588,514,988,1516,1068,692,489,463,535,529,458,452,570,570,482,453,561,945,1246,1612,1282,1058,1278,1001,1014,1126,1604,1854,1302,1092,1260,1100,1208,1034,849,1250,1282,904,1184,1374,1114,1120,1242,1050,687,570,855,1106,1010,1248,1064,774,495,857,1208,1592,1648,1298,1230,1236,1114,897,1192,990,918,849,579,401,589,1216,1168,539,461,675,826,667,576,858,1168,656,864,1026,919,1170,1306,1274,1014,848,966,1009,782,1028,1452,1802,1630,1230,965,897,653,369,560,942,690,822,1346,1328,1412,1506,1560,1620,1534,1372,1198,1272,1234,1200,1086,1126,1272,1576,1832,1362,1286,1332,1710,1588,1472,1332,1410,1464,1136,1140,1338,1332,1322,1078,969,1262,993,963,1116,1024,1350,1480,1144,1168,1146,1066,921,1464,1300,1282,1252,1162,1300,1150,1176,1376,1168,978,958,863,1032,627,723,648,635,447,397,615,871,1208,1480,1158,891,842,844,1278,1084,1166,936,922,974,789,665,1098,1568,1550,1404,1390,1166,1220,1236,1130,862,615,1140,1708,1570,1292,1110,908,999,1216,1408,1380,1064,952,1454,1444,1118,660,564,966,1210,1412,1174,1116,1298,1228,839,623,1012,1060,1122,1168,988,965,1100,807,669,813,1264,1140,1154,1000,780,1232,1344,1006,1034,1170,854,774,1080,1058,1120,1354,1056,858,827,528,385,538,778,783,727,1096,1174,638,452,471,818,878,1030,1296,1494,1376,1512,1842,1762,1690,1378,944,807,1060,935,902,992,1034,1266,1126,974,1228,1144,1070,1134,966,1478,1522,1484,1356,1428,1604,1378,986,991,1112,1008,904,697,480,404,407,473,506,886,910,988,1270,1110,914,741,505,708,948,804,615,455,398,912,1116,1124,899,877,1192,1212,786,574,489,510,506,500,517,481,476,517,476,437,347,236,246,321,452,466,498,512,466,375,364,346,459,927,927,573,838,1152,1028,1020,979,1252,1198,962,885,1068,1074,1068,1192,949,811,742,390,467,540,473,443,554,627,425,462,484,413,387,427,576,600,510,719,627,465,697,776,937,1016,836,974,1116,724,618,863,969,1246,1352,1542,1382,1158,1086,991,915,963,685,577,940,1110,905,954,893,485,719,672,637,973,1056,1100,1192,1182,1210,905,541,333,722,816,735,700,595,434,514,634,658,698,595,502,648,1302,1576,1466,1098,1188,1380,1426,1624,1498,2194,2566,1554,981,728,543,1009,1094,730,383,365,309,350,357,391,664,990,1258,1258,987,988,964,808,863,975,1052,975,958,1206,1494,1298,996,883,754,674,766,807,955,1302,1462,1494,1330,1174,1340,1552,1614,1604,1366,1102,1464,1718,1418,1242,1064,950,1264,1250,1056,1060,1100,1368,1584,1616,1320,1446,1538,1454,1494,1510,1388,1316,1314,1458,1474,1252,1178,1416,1330,1200,1298,1328,1520,1494,1610,1542,1440,1314,1320,1240,1070,1174,1372,1732,1500,1368,1250,1204,1218,1142,1332,1456,1302,1290,1594,1402,1518,1434,1156,943,1288,1488,1082,1122,1084,1164,1156,1044,1460,1428,1214,1094,1114,1354,1502,1424,1378,1650,1368,550,568,491,495,396,395,430,484,645,509,333,290,325,383,346,289,280,270,302,336,443,579,636,539,453,382,346,395,539,765,805,730,520,397,483,420,362,374,451,500,479,465,465,508,476,429,424,428,410,400,371,390,412,441,470,478,480,510,631,1024,1634,1892,1742,1576,1166,921,1132,825,709,653,814,1023,1176,1542,1614,1222,959,1094,1288,1532,1220,1306,1322,1238,1088,1021,1172,1314,1426,1482,1530,1394,1250,1146,1226,1106,865,957,1014,1368,1364,1013,1052,1164,1194,1152,1296,1470,1548,1180,886,1070,728,553,622,592,631,633,673,846,886,855,612,451,419,467,744,929,874,1104,1194,1092,909,950,1068,1154,1318,1394,1340,1344,1394,1134,984,928,683,426,495,733,774,922,1238,1192,1074,1218,991,810,706,681,531,475,694,1206,1306,1340,1208,1254,1244,1248,1158,1140,1017,881,935,1082,1144,1448,1492,1518,1520,1466,1410,1476,1476,1418,1052,655,1064,1654,1602,1328,1288,1486,1386,1190,1406,1482,1346,1602,1452,1162,934,915,1388,1162,1108,877,772,774,747,1042,1352,1258,1274,1274,1164,1130,1410,1570,1542,1380,1476,1254,1222,1106,979,770,612,849,1400,1552,1780,1402,742,505,642,976,1504,1900,1816,1508,1048,1404,1566,786,607,547,564,673,962,1256,683,724,1088,1158,1190,1032,973,805,659,1200,1498,1102,667,512,893,1018,1324,1534,1712,1516,1466,1212,764,880,1172,1352,1358,1250,1004,930,1176,1294,702,282,364,825,1018,557,659,751,667,542,637,457,753,697,655,591,605,844,805,599,705,672,899,692,465,514,514,617,841,987,1124,1176,849,648,1021,1172,930,1028,1210,1086,957,818,940,944,814,728,752,693,711,827,780,572,556,662,964,1508,1370,837,532,589,812,1138,1200,1056,1316,1224,1100,1202,1504,1460,1202,946,937,852,507,440,500,636,719,689,684,1070,1310,1070,643,412,805,1166,1424,1764,1328,1034,991,693,976,767,560,466,415,477,492,428,530,569,746,1096,1262,1314,604,427,455,359,367,801,1208,1368,1446,1360,1160,796,766,977,885,1116,980,652,702,792,800,614,392,315,324,440,525,836,842,752,804,941,819,784,833,890,1022,1374,1298,766,510,504,539,499,572,674,785,953,1196,1350,1476,1558,1498,1430,1512,1302,753,460,426,622,709,901,1128,1308,1240,1162,1216,979,738,700,593,651,684,1276,1410,1198,1015,1018,1424,1432,1054,965,891,1030,1054,914,1054,1258,1420,1350,1330,1348,1086,1080,861,527,333,324,361,378,508,811,785,624,573,750,968,1026,1256,1356,1348,1212,1240,1132,1058,1166,1190,1260,1058,888,1112,1092,870,1094,1158,1118,1112,1084,1294,1502,915,911,1160,937,748,850,913,644,706,1198,1700,1326,1024,1004,1050,1126,1068,971,1474,1804,1698,1588,1338,1096,805,809,1094,1100,1152,1178,1126,1120,1084,1060,974,1064,1104,1190,1104,1080,968,977,875,863,999,995,933,968,1013,932,996,1040,1030,1034,926,951,1066,1013,1084,1032,941,1018,1152,1352,1001,639,1010,1148,1178,875,642,605,705,927,743,434,529,681,539,390,301,370,509,832,1226,1144,845,651,661,679,625,520,520,604,764,1090,1282,1084,1124,1244,1288,1092,1288,1484,1304,1226,1009,873,968,753,1318,1552,1042,595,777,1288,1294,865,518,678,850,960,999,769,981,1410,938,695,640,510,623,753,586,436,638,689,425,367,351,359,415,427,360,728,1318,1744,1974,1376,451,577,670,612,431,444,493,1001,940,684,997,1030,873,899,976,1118,1036,832,787,900,980,865,677,650,560,540,562,839,1018,690,515,521,408,348,708,1404,1538,1162,674,390,543,685,637,474,391,370,464,695,716,622,1340,1560,1434,1094,775,630,878,1338,1326,860,642,568,579,587,814,1338,1738,2082,1926,1556,938,708,1182,1502,958,635,513,399,375,524,566,594,626,618,514,437,436,457,604,636,671,667,631,568,558,523,317,387,626,562,475,521,636,694,720,577,582,586,526,492,455,489,449,337,330,407,554,603,482,466,383,361,387,344,354,428,443,498,581,594,550,539,630,1062,1246,921,805,679,477,366,495,1080,1428,1032,553,635,949,554,414,562,746,1272,1388,1546,1716,1792,1800,1692,1074,646,940,930,1262,1206,1112,703,554,770,753,930,1262,1238,1262,1418,1266,1368,904,1178,1230,1130,1406,1246,872,855,982,1224,1332,1430,982,847,1186,997,807,658,753,839,799,997,1250,950,769,902,938,1278,1356,884,639,643,577,509,466,419,427,379,323,382,611,798,911,567,403,416,449,671,768,518,377,419,355,320,313,383,371,357,374,404,429,501,871,1246,1218,1130,1030,903,688,518,415,417,305,310,361,367,404,467,534,577,551,472,500,405,367,378,388,427,484,490,429,405,466,548,694,898,786,735,505,459,821,858,622,570,877,1284,1296,1100,1146,920,730,860,1024,1088,675,554,674,611,517,475,434,463,393,412,402,346,358,394,425,386,477,683,661,533,660,959,1021,1208,1204,1104,899,991,1034,1094,951,622,558,615,761,1340,1728,1424,1040,482,483,492,404,342,481,575,458,404,391,285,387,639,786,585,382,373,422,761,756,764,558,520,968,1130,1180,1450,1396,1262,785,378,422,1152,2054,1388,484,545,824,739,522,916,1344,1244,1416,2070,1948,1178,800,631,492,447,389,411],[288,290,293,306,318,327,328,325,341,379,375,397,438,450,597,663,609,586,623,628,585,554,635,754,752,612,541,591,761,728,725,695,732,704,589,465,327,236,239,255,274,263,243,248,257,256,250,247,233,227,242,245,233,228,243,302,330,356,332,334,365,394,514,776,993,998,924,1015,982,937,673,932,1009,1034,883,607,552,607,497,560,789,636,504,753,1332,1224,700,504,432,462,504,462,527,639,535,409,380,423,780,1196,1694,1310,1044,1040,1134,1180,1308,1604,1594,1328,1342,998,1034,1282,917,746,875,665,427,763,1030,951,853,803,1156,1302,858,448,954,1054,861,1056,1010,776,806,1182,1486,1632,1224,865,829,994,1132,1130,992,697,775,696,517,782,1130,941,643,653,1078,1378,745,562,1060,832,705,764,1096,1366,1344,1290,1128,1028,1158,1016,949,986,1366,1810,1716,1034,678,549,805,926,420,700,1504,1046,2094,1630,1388,1376,1164,1360,1470,1654,1650,1710,1534,1296,1370,1448,1442,1428,1438,1316,1062,940,1042,1128,951,809,935,1562,1568,1436,1504,1606,1470,1150,965,1100,1208,1022,1018,737,617,1266,1388,1284,1126,1194,1332,1418,1750,1648,1478,1384,1260,1108,1180,1266,971,798,969,1216,950,768,847,887,546,486,548,519,474,604,1222,1390,1216,1166,970,947,1358,1460,1038,523,614,695,557,503,699,936,1258,1456,1114,1136,1328,1410,1132,818,768,1015,1064,1490,1802,1460,653,456,667,1216,1200,887,740,1068,1402,1288,884,783,1005,1324,1296,1040,1250,1444,1376,999,758,659,563,727,999,1108,1128,842,828,1152,1174,1426,1098,1116,977,604,1042,1390,1166,1140,988,918,900,799,854,1094,1388,1118,769,869,599,350,536,684,614,523,750,909,473,642,453,418,651,1016,1146,1296,1320,1348,1406,1448,1660,1500,1074,976,1034,1020,1052,1104,1126,1078,855,822,1236,1082,633,724,955,1466,1448,1490,1402,1206,1338,1108,702,781,800,803,860,702,395,410,460,493,599,1009,1216,1162,1332,1476,1162,816,712,893,1090,1032,711,494,393,519,566,991,1258,1084,1322,1358,798,509,461,511,495,521,511,438,450,534,520,465,377,285,303,401,496,485,533,568,529,390,394,388,525,938,952,699,630,669,1262,1390,1312,1312,1260,1198,1096,1124,1224,1382,1090,935,807,753,532,599,833,644,552,550,521,544,545,454,516,532,473,762,974,850,854,546,639,833,1018,1126,981,1180,1584,1628,900,932,1130,951,1154,1334,1354,1050,1168,1214,1070,1056,897,586,401,573,1282,1998,1400,1294,777,667,754,689,578,565,733,907,905,840,819,618,359,1030,1130,1470,1058,760,716,791,856,757,885,819,536,715,1248,1326,1416,1412,1438,1254,1248,1406,1316,1180,1196,1126,858,675,673,1108,1058,538,370,332,302,326,307,399,449,654,1262,1214,961,1116,1116,928,1068,1250,1224,1220,1296,1236,1042,833,827,933,749,689,798,904,1080,1362,1590,1806,1626,1216,1338,1504,1534,1566,1596,1692,1652,1718,1474,1252,1352,1148,1246,1348,1200,1216,1416,1426,1620,1568,1370,1666,1670,1572,1362,1390,1418,1282,1098,1074,1192,1272,1228,1288,1100,1384,1534,1410,1502,1512,1304,1288,1282,1340,1606,1294,599,735,1012,1600,1532,1312,1192,1212,1254,1340,1426,1456,1534,1514,1616,1412,1538,1526,1246,1074,1316,1188,959,870,1004,1356,1274,1010,1224,1374,1246,1240,1236,1368,1428,1430,1714,2470,1664,390,477,480,466,386,404,448,482,650,519,331,286,321,381,333,295,292,270,336,467,460,523,460,379,377,369,363,394,464,596,644,774,456,364,392,414,372,391,471,536,568,494,466,505,418,431,432,418,383,412,425,405,481,545,532,529,502,644,1114,1476,1818,1772,1598,1080,894,1346,1354,1092,1142,833,760,943,1082,1636,1808,1354,1138,1468,1430,1322,1350,1430,1334,1214,1110,1068,1050,1050,1140,1462,1460,1072,1208,1208,1378,1418,1454,1108,971,1142,902,908,1084,1186,1256,1170,1232,1384,1408,1238,1112,1084,948,821,755,649,606,642,791,915,830,775,725,613,549,517,577,580,655,811,716,732,930,1446,1384,1230,1412,1386,1150,1174,1094,981,807,658,698,700,547,762,753,1144,1344,1174,890,717,720,529,492,630,637,691,884,1564,1474,1242,1248,1088,780,848,1030,1128,1032,832,1064,1380,1254,1540,1554,1522,1482,1438,1338,1436,1476,1312,959,671,1038,1294,1374,1456,1454,1486,1260,1312,1394,1086,913,1184,1308,1164,1086,1678,2290,1252,1316,1262,1290,1160,1004,1160,1358,1376,1296,1264,1388,1432,1414,1450,1582,1488,1316,1186,1154,1122,1142,1110,1002,1476,1742,1638,1560,1180,557,445,676,910,1430,1764,1882,1702,1176,1306,1242,663,558,536,619,1020,1206,1198,763,648,1140,1378,1290,1234,1080,876,621,725,995,824,718,962,1408,1616,1134,965,1420,1450,1142,743,846,888,858,1030,850,562,375,410,487,314,221,300,324,686,1162,739,699,675,569,655,872,546,470,765,926,848,430,385,430,609,794,1300,1696,949,454,468,514,628,769,978,974,912,836,798,1078,981,1086,1176,979,861,877,915,783,751,1021,944,876,734,677,558,610,521,543,923,1346,1476,1454,1362,933,1020,949,1058,952,954,1236,964,980,1102,1434,1194,820,918,601,570,754,656,532,557,907,984,929,1338,1482,1242,889,962,1218,1438,1682,1488,738,971,1208,874,618,572,674,533,460,547,624,833,697,533,885,1102,1096,1568,868,389,392,369,594,1112,1246,1226,1266,1266,1244,1048,1106,959,1074,1210,1016,814,929,860,730,805,571,591,537,432,351,754,741,601,681,884,1114,1360,1340,1122,1122,1386,1194,1076,980,947,1066,965,1116,1284,1246,1172,1078,948,945,1216,1324,1644,1804,1174,615,504,670,816,786,1036,1478,1482,1312,1104,1078,1210,786,713,639,668,732,1496,1438,1108,1230,938,1172,1344,1050,711,697,1126,1026,985,1060,1256,1450,1396,1528,1408,954,861,677,743,437,451,437,429,604,841,736,739,935,1064,1048,871,1042,1162,1266,1174,1078,995,1230,1222,1222,1228,938,731,739,733,707,813,798,836,774,777,1208,1426,759,695,969,702,598,1072,1040,526,501,882,1234,1001,947,1032,955,1062,955,752,1484,1850,1764,1654,1346,1078,865,730,933,1062,1106,1532,1784,1170,1188,1212,933,1052,1246,1406,1172,1056,941,974,1026,1007,1026,1023,1007,880,961,918,995,1078,786,852,784,1090,1132,655,678,1052,1018,953,1116,1322,1094,714,799,974,1442,1030,550,558,642,756,563,419,392,476,545,405,346,342,479,733,1028,1070,700,450,451,547,516,733,974,1062,1010,1428,1636,1148,976,1226,1272,1200,1326,1360,1382,800,637,943,976,761,802,905,983,904,698,800,1120,1186,807,966,882,749,705,591,811,1088,944,944,787,480,576,503,469,697,735,381,309,365,377,420,434,409,462,781,1244,1714,1758,923,493,495,558,498,441,408,822,1488,1292,1022,1144,1156,982,1126,1354,1448,1302,987,1198,1686,1488,836,806,819,626,527,655,961,1158,561,624,489,385,608,1850,2646,2054,1114,582,365,411,483,547,449,428,433,468,509,539,850,1422,1844,1462,929,886,733,515,1005,1048,655,617,571,538,582,600,583,887,1562,2060,1432,694,794,1072,1230,835,582,389,329,368,513,611,630,616,612,496,392,363,455,609,745,769,730,617,541,548,466,310,368,500,531,530,469,561,597,556,692,667,535,459,436,389,375,406,406,439,493,547,476,365,412,351,346,410,377,380,420,562,895,1112,943,865,1102,960,1470,1358,883,747,673,548,542,808,922,996,829,576,422,429,496,559,492,948,1472,1614,1582,1634,1750,1526,1712,1524,1382,1416,1352,907,738,865,794,1002,999,770,1062,1136,1052,1162,1140,1210,929,816,1400,1552,1192,1372,1368,606,808,1024,899,1210,1402,1086,1128,1158,1146,1224,995,824,989,807,732,1238,1092,1080,1070,686,969,1078,604,399,340,338,397,438,495,541,524,493,508,738,1162,1294,835,631,563,417,491,731,872,505,473,345,344,411,484,417,355,355,524,822,1019,1124,983,973,1176,924,1050,899,522,444,440,332,337,422,411,413,422,428,473,507,551,496,429,411,397,408,420,439,452,456,563,494,653,985,801,899,1001,750,755,1108,1017,617,655,1090,1360,1752,1214,1368,1562,1005,646,993,1044,683,633,920,1218,908,568,475,448,371,447,475,394,316,312,391,386,567,667,569,449,578,856,1054,1322,1009,875,659,652,1034,1366,1082,554,414,397,486,1094,1270,1232,1062,728,549,429,461,673,868,1080,884,356,340,336,348,367,597,459,365,382,347,634,1366,1190,643,635,1134,1074,1262,1220,1400,1504,949,483,621,1058,1124,638,510,863,1140,847,800,917,1404,1430,1164,1644,1836,1448,1032,710,438,387,406,438],[293,285,287,298,302,307,323,335,346,348,365,412,451,613,668,647,617,631,600,551,561,617,756,744,561,536,641,728,816,825,835,657,555,513,383,299,260,242,243,267,285,269,251,244,239,234,231,222,209,214,241,254,253,261,372,474,582,675,632,579,703,770,855,930,745,826,1152,1226,1190,988,794,1066,1204,1060,771,504,619,683,559,565,594,603,531,619,875,1074,990,636,388,450,446,448,466,511,444,389,373,354,491,893,1234,1400,1164,765,1084,1582,1592,1434,1446,1456,1312,671,986,1124,742,664,647,440,468,652,580,861,915,608,794,1318,1104,772,817,922,739,666,894,910,905,1082,1006,1234,1132,1110,569,604,841,1062,1426,937,483,433,583,829,1140,1078,792,1026,1094,1052,828,871,1018,832,880,892,1036,1282,1230,1124,1236,1282,1472,1360,1208,1080,1194,1858,1740,917,556,467,612,525,350,578,961,645,1476,1702,1328,1100,1100,1138,1820,2472,1798,1656,1114,1130,1424,1382,1250,1356,1342,1292,1132,885,983,921,940,1216,1340,1898,1750,1412,1402,1280,1154,1186,1220,1306,1252,1068,1302,1026,835,1070,1224,1312,1218,1416,1426,1196,1098,1350,1398,1248,1330,1182,1274,1404,921,593,884,1224,1270,1150,1312,1018,418,586,738,640,401,700,1332,1190,1044,1020,1406,1442,1204,1076,731,455,452,505,732,532,446,581,965,1224,1204,1428,1454,963,503,433,726,894,825,1422,1688,954,659,680,670,899,1268,1214,913,1188,1486,1312,1082,904,695,1005,1510,1408,1184,1290,1422,1120,1000,982,1016,932,758,986,956,685,713,783,1046,1296,1228,1240,1080,912,1152,1086,874,977,830,902,1208,915,860,1426,1370,791,656,675,476,500,813,573,713,965,830,738,588,533,428,361,751,1096,938,996,961,947,1224,1468,1276,1326,922,985,727,1002,1362,1372,1316,1168,1340,1304,1346,1146,904,1082,1296,1466,1390,1390,1444,1412,1378,943,547,565,563,848,1150,959,525,421,422,419,486,847,1226,1180,1194,1206,822,595,627,749,774,782,711,528,464,507,559,825,1188,1432,1532,1410,1038,660,465,477,517,518,507,479,532,581,456,450,443,359,320,335,409,424,514,705,603,461,515,395,566,1032,772,719,794,807,1508,1488,1282,1210,1260,1104,1218,1334,1028,1362,2348,2130,1290,1206,797,457,704,757,695,559,557,729,581,446,738,881,613,712,1038,1300,1070,817,935,932,1132,1318,1276,1400,1554,1410,1216,1370,1322,1358,1274,989,708,841,996,1038,1404,1648,828,483,655,680,1346,1832,1632,1400,818,602,570,519,386,339,490,897,777,769,812,558,320,496,1146,1294,761,739,919,997,1232,1023,1214,1294,1156,1058,1144,1108,1164,1094,926,1019,1214,1260,1362,1138,1434,1162,913,891,1003,1072,855,515,489,523,469,424,271,403,489,654,1120,1264,886,806,1086,1166,1268,1444,1396,1278,1278,1212,973,893,1070,1004,786,827,854,884,1202,1434,1504,1632,1344,852,1108,1418,1378,1384,1504,1588,1578,1498,1158,1166,1282,1172,1258,1334,1186,1366,1190,1188,1396,1486,1412,1584,1686,1352,1132,1284,1388,1456,1550,1290,1258,1302,1282,1284,1354,1382,1156,1346,1582,1528,1410,1346,1362,1654,1720,1262,757,1036,1126,1164,1236,1336,1220,1040,1270,1532,1472,1572,1608,1456,1352,1302,1318,1478,1266,1082,838,544,624,949,1310,1384,1262,1288,1448,1450,1326,1266,1282,1226,1200,1322,1484,914,364,416,428,408,378,390,389,357,357,477,416,308,288,309,310,291,311,311,297,469,705,659,454,320,300,338,390,467,451,440,483,541,754,453,385,450,448,408,460,509,514,532,531,477,463,448,443,402,370,409,494,521,510,528,534,535,513,584,1144,1674,1632,1716,1504,1212,825,862,1294,1356,1194,913,778,887,1050,844,879,1418,1242,1050,1500,1516,1308,1178,1212,1392,1284,1222,1058,833,558,728,1088,1098,808,940,1028,905,1214,1430,716,542,629,855,775,803,1058,1100,1060,1260,1282,1138,1212,1246,1172,1284,1024,732,583,573,608,787,1028,1015,860,901,874,810,711,548,572,688,572,514,736,1008,1284,1344,1246,1356,1206,1148,954,803,694,645,931,1092,1200,1102,754,783,1232,1460,1258,670,462,880,835,500,612,818,740,888,1290,1338,984,1046,1100,874,986,1252,1376,1040,965,1220,1288,1052,1270,1412,1388,1368,1272,1172,1256,1132,999,918,807,999,1260,1406,1454,1470,1236,1044,1140,982,610,465,628,1140,1324,1160,1236,1390,1013,1262,1424,1526,1504,1256,1210,1188,1196,1440,1498,1396,1334,1350,1472,1598,1282,987,981,1328,1432,1248,915,1096,1726,1846,1648,1222,875,549,805,1005,1054,1548,1528,1050,1028,1122,1476,1070,629,604,537,788,863,814,1028,830,923,1400,1306,1142,911,932,771,775,767,980,1440,1576,1506,1550,1582,1302,991,1250,1158,1026,1058,1072,908,593,366,300,339,255,241,287,268,309,309,335,922,1398,916,610,466,395,471,569,459,436,638,794,882,546,401,466,677,822,1136,1100,640,411,481,655,618,627,921,784,655,697,877,1084,1124,1288,1136,967,1136,1214,1172,1108,1428,1382,860,727,603,718,716,1016,988,998,1488,1498,1412,1304,1003,1028,1300,1042,1202,1228,1130,1110,1078,1136,1212,1278,1024,1036,1017,628,724,906,646,601,768,1394,1708,1160,803,941,1036,1142,1592,1544,1410,1260,1034,616,697,892,800,746,1110,1200,866,844,819,675,783,675,851,1048,1178,1282,1548,1013,607,897,855,894,1226,1074,1262,1252,1208,1190,948,1020,1268,1404,1332,1244,1040,756,611,545,574,669,1186,988,628,403,672,732,582,626,626,824,1236,1086,916,890,960,1042,1160,1322,1382,1300,1282,1332,1198,937,692,521,480,533,944,1136,1118,1538,1288,692,538,504,517,716,930,1220,1142,1306,1250,1258,1418,833,940,1190,1282,1108,986,916,822,988,652,1086,1418,1266,1262,963,1244,1376,1220,1080,1112,1036,954,1144,1406,1090,806,761,614,461,475,444,441,683,978,1018,1060,1110,963,1068,993,1324,1226,1244,1340,1108,1032,1140,1140,1112,1019,755,493,480,719,975,814,706,730,724,785,1312,1330,645,628,850,653,599,805,709,450,544,867,930,972,1094,1072,1040,1110,908,854,1312,1798,1754,1738,1522,1224,949,929,1064,980,1464,2610,2544,1412,1262,1272,998,1050,1318,1268,1072,1034,1018,1050,1068,1140,1128,1128,916,811,981,965,1104,1120,910,833,727,679,811,776,613,933,1238,1164,1104,1086,937,678,675,909,1022,726,487,451,495,503,422,403,401,417,401,310,312,378,534,808,977,670,353,361,357,325,504,861,1158,1166,1021,1238,1226,1094,1166,1346,1360,1220,1224,1162,1310,1148,1030,930,1466,1590,907,480,816,1118,1224,1306,1120,1186,1009,771,505,431,396,399,469,709,968,1108,910,709,607,599,727,795,504,354,357,389,379,395,381,343,666,1300,1416,1394,1444,819,764,455,506,509,437,395,843,1318,1318,1262,1314,1270,1182,1166,1110,1348,1286,1340,1672,1736,1294,709,603,538,579,708,919,811,922,582,600,544,511,1102,2252,2300,1216,1046,968,540,392,413,461,421,380,430,480,464,601,741,972,1332,1460,1770,1416,645,620,845,960,768,606,575,533,558,589,589,650,1256,1408,841,571,807,1340,1418,942,690,498,496,541,542,581,579,538,593,559,574,553,544,393,543,705,736,637,510,439,384,350,405,573,590,607,586,608,560,427,523,643,586,448,368,339,339,438,542,572,553,548,430,356,407,381,373,415,437,427,387,561,829,1064,985,1120,1224,954,991,855,617,605,608,513,883,1250,988,1019,837,810,799,655,1032,1020,673,763,980,1342,1408,1524,1632,1872,1908,1798,1784,1476,1170,988,974,970,1230,1478,1322,965,1062,1520,1606,1236,929,974,819,803,1090,1310,1226,1536,1542,592,473,472,580,1012,908,662,854,928,836,854,892,785,1017,763,1194,1328,877,854,921,905,1152,1086,763,465,325,327,382,393,393,411,511,611,796,1170,1562,1186,952,1154,798,608,482,459,444,390,403,361,369,447,490,398,345,400,670,1378,1486,984,891,1132,1484,1866,1448,694,477,518,524,422,424,494,443,399,370,375,424,504,478,380,387,424,449,452,421,412,426,382,440,458,668,874,854,777,664,598,594,646,594,503,492,826,1460,1914,1124,1064,1378,1098,752,748,758,733,709,965,1416,1300,994,806,549,404,444,419,509,480,323,387,547,755,717,558,455,438,908,1426,1252,653,390,393,509,782,1162,1009,600,397,412,457,824,936,1036,1338,1384,1021,692,694,1052,1016,1015,652,393,437,444,341,400,436,340,343,562,743,1642,2490,2332,1514,883,875,1142,1508,1362,1288,1290,695,637,1166,1312,1194,850,733,775,1064,1292,999,825,1332,1564,1422,1342,1340,1302,922,521,428,422,397,399],[289,286,287,305,318,321,358,357,350,363,408,397,517,655,624,615,613,594,574,573,624,772,717,546,579,678,673,724,802,834,731,513,348,262,251,261,240,252,238,257,270,263,262,248,233,218,221,223,223,228,241,252,261,284,373,403,493,821,909,790,1110,1466,1458,1142,893,1048,1082,1072,1124,910,700,998,1152,893,659,462,514,575,497,468,430,667,858,861,773,943,972,570,401,452,438,411,353,393,356,344,374,389,411,647,719,957,1192,1019,1210,1302,1062,1132,1466,1374,929,571,486,409,407,550,642,467,404,463,570,1116,1034,902,926,1154,1114,901,727,901,789,680,747,835,973,1226,1142,948,1000,1096,664,455,404,487,675,591,389,325,451,871,1252,1050,794,1074,961,739,853,1028,852,693,752,1056,1180,944,1076,1390,1498,1274,1226,1228,1280,1028,857,1086,1098,683,509,460,508,461,514,552,441,722,1932,2134,1244,744,633,849,1750,2280,1422,1082,682,963,1398,1598,1474,1396,1256,1484,1456,879,805,689,648,793,1098,1418,1520,1418,1280,1062,1146,1332,1466,1572,1448,1420,1390,1092,1050,1348,1666,1416,1290,1224,1060,1019,811,735,905,1426,1762,1322,1352,1302,1160,872,1090,1322,1464,1498,1310,815,506,411,452,527,382,529,599,875,846,944,1372,1462,1098,744,476,441,407,458,517,480,517,642,1134,1342,1250,1364,1194,773,374,465,806,1056,1104,1580,1694,1020,985,1052,810,683,968,1114,1122,1202,1224,1114,1234,812,550,616,900,1114,959,780,827,919,1184,1020,1020,777,993,806,614,467,453,372,611,1158,1532,1430,1014,1122,1422,1034,805,847,1268,1192,1174,1040,1150,1090,576,479,415,332,349,624,999,722,774,1196,1208,1132,1108,869,504,521,921,1166,941,784,620,849,1240,1472,1052,771,543,594,684,1262,1476,1204,1106,1306,1616,1716,1644,1388,1412,1290,1236,1400,1354,1346,1384,1432,1318,930,617,531,670,1072,1124,673,442,417,434,521,750,1032,1142,1082,1034,917,631,455,424,455,557,874,986,827,628,789,776,880,1100,1196,1328,1408,1170,978,632,413,481,493,459,469,484,502,490,468,423,408,457,466,464,467,531,611,586,520,498,378,659,1274,828,666,720,651,1014,1302,1322,1236,1178,1242,1476,1328,881,1152,2746,2100,1410,1460,1120,610,614,743,716,473,501,582,454,502,835,1005,951,938,1062,1378,1380,1106,1054,1180,1126,1266,1100,933,952,979,1146,1020,1068,1072,830,682,557,761,1188,1458,1490,1834,1268,1084,1202,996,1062,1132,1258,1018,875,846,767,1068,717,448,450,759,1160,1172,789,666,590,490,683,823,971,1196,1256,1058,1264,1094,1030,1176,1364,1198,1118,1330,1344,1076,771,930,1114,1340,1518,1152,1001,1042,1098,1356,1390,1196,872,427,394,480,393,395,422,836,610,554,800,819,670,769,946,1068,1224,1248,1226,1246,1178,1136,810,1052,1188,921,1022,1132,890,844,1142,1470,1548,1426,1442,1072,1096,1216,1028,1012,1300,1496,1664,1628,1494,1490,1628,1472,1364,1246,1054,1202,791,840,1202,1458,1478,1514,1518,1240,1198,1278,1356,1284,1352,1188,960,908,1036,1182,1368,1160,1056,1414,1294,1198,1296,1322,1186,1230,1090,860,1136,1394,937,613,713,1018,1172,1400,1218,1174,1424,1604,1460,1348,1348,1294,1260,1418,1422,1246,1082,1015,713,1224,1146,921,1136,1208,1266,1260,1124,1172,1224,1224,1246,1340,1342,930,597,438,370,348,357,378,326,300,333,301,296,311,313,309,287,284,283,290,310,522,771,744,457,345,320,342,412,606,594,675,678,619,513,470,465,438,404,379,439,492,523,545,547,490,416,408,404,357,351,458,545,528,558,578,505,475,617,1158,1636,1672,1688,1384,927,1130,1248,1116,1186,1350,1154,1009,1094,1192,1152,880,997,1320,1188,1144,1438,1400,1244,1062,1300,1616,1312,1368,1212,1046,797,961,1050,915,750,751,927,999,1238,1136,696,611,891,1016,1038,938,864,650,657,950,1016,899,898,1124,1152,1040,765,824,744,607,615,620,886,1002,818,711,837,1009,828,604,692,657,530,485,564,665,1166,1208,1112,1150,1166,1236,797,784,584,721,954,1082,1152,1164,959,1168,1368,961,759,730,607,852,642,398,548,792,700,1082,1236,1202,1170,1274,1246,1134,1256,1340,741,586,558,816,1007,980,927,937,1152,1158,964,880,979,859,768,779,928,1168,1132,1064,1082,1110,1250,1274,1086,793,763,875,920,1228,1470,1372,1024,824,940,1210,1230,1126,1290,1310,1290,1148,1170,1632,1488,1194,1250,1290,1470,1518,1218,823,857,1638,1522,1356,966,1484,1810,1858,1632,1416,948,519,647,796,1246,1558,1082,743,954,1058,1494,929,574,586,571,1028,1186,931,651,610,750,861,814,1076,900,1180,910,977,1256,1368,1694,1820,1544,1318,1080,1007,984,946,1510,1964,1384,933,727,409,248,274,279,230,274,279,265,287,315,481,1268,1620,1056,555,529,432,408,459,343,326,346,378,608,481,369,341,424,533,494,382,373,536,799,841,580,572,891,891,586,570,718,786,1012,1306,1116,807,1048,1330,1336,1172,1264,938,738,599,744,963,739,996,1162,1182,1842,1534,1356,1316,781,818,1108,1136,1234,1362,1328,1170,1218,1188,1158,1236,1362,1236,750,707,700,625,548,941,1274,1374,1104,919,853,698,754,970,1412,1478,967,834,1144,946,605,514,493,634,1122,1240,937,952,913,852,902,798,659,959,1206,1228,1490,1394,927,1102,1012,1140,988,827,1108,1360,1494,940,839,884,926,1292,1376,1478,1236,749,468,497,648,621,960,1128,838,413,574,859,678,648,664,822,969,1016,1116,1202,1394,1562,1528,1376,1098,775,673,716,803,794,868,760,792,816,993,1238,1298,1684,1460,766,472,443,710,1062,1106,1378,1448,1242,991,1020,1007,1224,1542,1412,1592,1376,1026,1226,959,877,761,1196,1314,1390,1226,1086,1432,1594,1534,1384,1094,828,689,1056,1558,954,594,659,425,329,513,720,954,1128,1122,935,691,849,939,1188,1094,1346,1260,1156,1200,1234,1200,1028,1140,1118,993,1011,626,579,743,960,873,822,925,890,1018,1512,1382,815,885,988,775,702,620,556,575,820,1040,996,993,1058,1020,1036,1224,898,969,1106,1484,1618,1692,1570,1176,1026,1264,1376,1166,1278,1236,1284,1240,1194,1464,1276,1142,1190,986,745,818,1026,1080,1062,1132,960,896,717,742,874,979,1136,946,776,865,792,686,647,592,483,634,988,1038,1088,1186,1076,973,985,773,545,446,445,440,462,437,387,387,404,394,357,341,337,342,338,484,761,641,464,342,357,518,586,776,1342,1348,1030,1042,1084,1110,1028,1214,1260,1212,1230,1070,1017,1318,1316,1516,2144,1942,1306,984,1040,1206,1414,1566,1280,1070,915,771,574,396,409,448,680,944,1082,1106,1254,975,699,703,644,603,586,444,355,393,403,373,309,468,694,1054,1512,1596,1114,817,653,349,407,493,437,485,631,927,1084,1304,1612,1368,1196,1062,872,818,1130,1982,2060,1450,850,591,480,549,760,982,1188,971,514,313,325,401,747,1078,1334,1268,909,1250,1356,736,441,387,366,369,432,449,449,617,971,1112,918,622,1118,1942,1160,666,764,1044,1012,755,746,727,636,484,562,612,970,1358,1124,772,494,706,1017,852,783,661,500,524,496,398,486,570,585,563,557,612,556,547,498,598,782,715,561,407,357,360,393,454,537,601,612,519,508,544,496,490,528,536,439,382,365,393,425,517,583,532,483,432,387,381,430,468,446,514,418,353,636,778,687,962,1108,785,647,714,912,905,629,510,778,1256,1392,1238,805,380,739,1058,824,799,910,1206,1412,1280,1432,1534,1926,1672,1852,1818,1648,1660,1586,1422,1610,1618,1264,1356,1334,1238,958,1086,1350,1262,1021,1026,1160,844,587,716,1292,1554,1700,1158,476,391,426,421,618,601,514,626,1028,1102,813,663,685,918,824,1005,839,465,428,816,905,728,880,943,507,286,288,372,376,371,389,552,624,565,887,1013,704,987,1294,1080,798,525,440,339,328,349,364,419,423,389,390,602,857,1068,1386,1168,924,999,998,1552,2018,1372,706,505,509,509,487,662,604,437,314,291,388,481,510,436,354,373,486,502,443,446,426,396,369,371,440,535,497,558,562,416,438,527,555,559,519,446,952,1368,1005,790,932,977,907,893,735,645,724,811,938,1184,1398,1338,1158,848,637,487,543,669,546,622,689,650,730,993,847,525,483,768,813,692,604,401,528,887,983,863,751,485,440,478,514,782,791,740,1222,1388,773,616,899,920,907,857,953,614,542,594,639,777,563,357,591,795,996,2266,2464,2298,1432,1212,1062,1120,1260,1244,1356,1144,750,1032,1506,1274,1086,872,1184,1522,1606,1228,623,659,1258,1418,1126,1114,1350,1094,654,475,460,421,478,664],[324,335,354,359,344,357,405,370,357,318,271,280,453,642,701,659,626,588,586,662,778,705,527,527,604,702,772,764,704,563,402,293,248,265,306,382,313,275,269,264,267,266,264,258,255,201,206,209,226,235,239,248,272,318,393,589,778,928,921,843,1220,1368,1640,1224,1230,1284,861,1014,1330,1202,711,471,518,602,530,480,673,627,535,626,647,797,991,869,566,581,613,432,398,387,404,363,363,437,389,351,350,390,491,499,454,543,620,670,957,946,750,698,1007,976,611,576,574,458,389,448,659,664,529,535,984,818,1005,1066,1030,1126,999,733,858,1108,957,986,1096,973,1268,1230,1166,1064,1176,1188,763,438,393,363,390,428,446,502,407,880,1023,781,943,1170,1152,976,962,1032,847,643,502,839,953,838,985,1328,1526,1310,1218,1224,1184,1140,992,925,706,625,512,510,500,536,463,475,590,979,1416,1266,1058,962,806,698,727,1214,1044,858,973,1262,1646,1860,1748,1400,1244,1620,1570,1172,720,515,577,719,851,1124,1244,1032,868,1080,1372,1312,1356,1584,1360,1392,1578,1312,1178,1374,1418,1416,1388,954,786,803,774,591,882,1722,1870,1330,1284,1386,1396,1240,1272,1506,1640,1438,832,463,508,357,357,323,460,656,706,709,769,962,1050,941,649,615,597,473,367,553,689,654,519,639,1080,1172,955,838,618,484,317,369,581,1132,1584,1716,1674,1282,1172,1244,1110,1126,1064,1288,1314,1312,1372,1620,1544,1268,999,758,992,1404,1262,1172,1168,1050,1256,1132,1088,837,986,826,692,405,283,337,558,894,1007,660,533,650,1050,1226,1028,863,882,702,640,773,1190,1206,769,370,309,278,343,477,709,637,763,922,933,971,1042,987,958,954,931,994,1106,1126,929,896,1290,1546,1206,741,591,402,724,1360,1498,1340,1246,1208,1440,1664,1490,1346,1440,1354,1478,1638,1428,1440,1506,1290,1122,1148,808,560,769,1007,693,400,437,452,542,692,907,1278,1524,1454,1284,1066,706,495,406,371,538,811,1094,1230,904,919,874,1011,1252,1434,1494,1300,1350,1434,882,351,353,415,425,396,344,410,475,461,391,430,534,573,582,586,611,562,618,599,531,454,674,888,761,691,618,694,916,1176,1406,1382,1182,1412,1364,1172,1098,906,826,1038,1322,1598,1350,753,645,759,725,577,753,836,552,698,948,935,886,979,1060,1088,1238,1050,907,916,1096,1430,1028,705,699,702,618,503,562,476,541,735,510,565,1056,1334,1344,1202,1128,1084,1388,1290,740,625,908,1150,1538,1216,648,954,1094,795,668,836,1068,1230,973,641,880,1252,1236,1226,1330,1158,1240,1172,1244,1086,891,794,849,1028,1274,1118,1023,965,920,1072,1236,1390,1480,1230,762,672,863,1114,1154,1116,653,328,278,327,246,288,692,874,558,511,669,607,549,639,750,859,1012,919,1030,1174,944,860,806,1028,989,898,1094,1070,814,809,1028,1344,1484,1266,1160,943,888,1068,1182,1266,1188,1144,1284,1532,1496,1574,1788,1632,1504,1013,963,1390,1204,791,1015,1428,1470,1302,1250,1102,1134,1140,1246,1316,1272,1180,1108,1202,1382,1384,1198,1074,1042,1188,761,807,1056,1322,1322,1166,962,933,1220,901,492,442,568,807,1018,1560,1478,1504,1406,1444,1428,1340,1512,1496,1308,1324,1260,1260,1512,1520,1146,1096,1028,845,937,1082,1174,1254,1248,1210,1356,1280,1007,1114,920,610,507,435,364,343,334,334,319,305,318,316,311,293,280,295,297,307,296,299,331,367,506,536,345,315,327,377,422,720,750,670,654,500,394,455,467,384,353,366,412,444,478,498,514,507,438,459,439,411,387,439,549,597,544,498,457,575,1092,1570,1646,1766,1590,1132,1144,1250,1082,1154,1154,1290,1104,1006,1118,1160,1084,1050,1100,1246,1382,1486,1484,1278,1384,1234,1506,1690,1308,1184,1138,1230,1270,1294,1224,968,601,694,979,949,974,996,830,629,1238,1628,1578,1352,1068,772,591,537,580,827,952,1278,978,822,1124,1500,1310,959,705,590,523,597,695,565,509,618,700,551,511,542,519,438,407,767,1154,1136,1340,1174,1218,1300,985,670,745,1332,1138,701,738,894,1010,1098,1182,926,579,642,840,804,572,415,473,769,1050,1198,1250,1318,1370,1412,1362,1276,1366,968,601,634,514,641,881,1048,944,796,917,749,707,816,944,954,1056,1182,1172,1142,1206,1266,1009,949,1230,1316,1046,1054,1232,1056,947,840,1238,1400,1112,1023,1076,1250,1186,940,1336,1522,1488,1152,1160,1062,917,1026,1260,1224,1162,1364,1436,1214,784,1118,1130,997,1266,1752,1868,1440,1272,1448,858,574,567,626,1017,1144,816,821,1160,1356,1390,844,554,539,673,1064,1200,1280,671,597,750,777,924,1454,1318,1052,931,1214,1450,1328,1326,1208,1162,1158,1092,1218,1188,885,1032,964,631,519,333,262,268,291,286,239,265,243,252,280,309,408,912,1482,1318,958,958,604,463,467,370,377,352,363,454,397,357,321,344,454,466,422,543,833,973,1146,811,760,1218,872,584,711,707,930,1082,1340,1354,1282,1400,1514,1262,971,1136,1070,969,840,1244,1426,881,1122,1158,1032,1086,852,1096,1320,899,736,882,931,1094,1316,1298,1004,1102,1032,1160,1192,1396,881,738,683,609,790,824,915,1306,1324,962,972,819,820,849,816,816,708,565,907,1094,882,760,637,509,454,714,1038,794,719,1048,1006,1174,1322,1092,1050,1236,1366,1542,1538,876,717,552,667,625,825,934,1246,1192,850,1102,1098,892,1170,1352,1366,1016,764,744,947,1396,1194,744,793,770,419,750,1260,1082,990,1180,1268,1394,1502,1454,1484,1520,1498,1238,816,538,389,327,563,787,1021,1156,1013,1194,1164,1086,1198,1284,1274,1080,695,700,914,1162,1362,1242,1092,1015,981,800,1162,1654,1770,1704,1274,1158,1020,926,1062,914,886,923,1100,1074,1034,916,1042,1412,1424,1240,1198,942,749,664,872,1034,728,492,362,417,670,758,826,1116,1046,862,768,586,693,829,926,1082,1316,1232,1028,1074,1338,1208,1098,1448,1166,816,638,586,743,947,1021,911,1084,1202,1082,1084,1438,1382,1126,1796,1406,969,868,948,1011,979,1218,1338,1076,1016,980,964,964,1114,888,893,1246,1510,1542,1640,1616,1390,1272,1274,1350,1278,1312,1244,1256,1158,1244,1474,1346,1158,1118,1138,979,805,949,1120,1174,1052,927,885,858,883,790,925,1082,771,680,780,730,521,469,458,416,480,903,999,862,1090,1009,751,530,402,397,443,630,528,480,473,457,435,407,380,367,368,502,380,379,395,940,827,521,413,548,838,915,860,858,975,998,999,1250,999,684,986,1106,1058,1630,1466,822,1030,1356,1664,1678,1204,1312,1302,1272,1188,1098,1120,1012,909,830,770,603,459,387,414,832,1062,907,1008,1314,887,780,810,472,317,489,808,897,774,486,356,439,1000,952,689,712,1003,699,608,530,455,1006,1218,653,614,591,697,946,2170,1656,1028,1152,1318,1074,843,1444,2178,1900,1654,605,466,512,835,1150,1152,1184,857,350,279,284,547,1310,1386,967,933,1013,891,1028,678,469,383,364,343,383,408,572,881,861,689,712,994,1112,1266,777,791,892,932,850,642,472,609,637,589,482,555,1124,1326,867,813,756,1006,932,587,687,797,556,596,544,429,521,581,524,435,477,461,421,467,576,933,1050,607,522,442,424,436,443,445,511,650,772,814,711,625,738,774,436,409,416,445,404,383,376,436,455,392,383,446,434,383,381,501,742,884,727,461,599,681,636,1076,1134,731,574,639,1194,1128,933,624,935,1056,955,993,728,365,605,966,962,946,959,1424,1706,1494,1212,1456,1652,1488,1562,1420,1228,1390,1600,1504,1608,1418,1214,974,997,1104,1268,1386,1432,1332,1102,1154,1276,1050,872,872,1134,1140,1090,876,593,394,350,428,536,760,843,849,806,1078,950,806,709,688,509,416,445,437,584,1013,1034,773,884,1146,718,403,319,367,447,568,532,579,661,544,416,408,556,1124,1702,1356,768,493,407,387,393,351,419,397,321,367,422,774,1192,1274,913,654,808,1232,1136,1028,1230,901,485,462,380,389,700,959,770,518,303,296,420,561,587,418,266,303,489,531,502,462,497,458,374,401,433,389,405,422,441,467,679,828,620,438,395,740,1418,1120,634,761,836,877,907,1038,709,508,530,658,728,1028,1206,1210,1118,822,709,692,863,921,806,935,810,536,467,732,979,829,620,539,470,415,350,364,945,1368,1650,1258,1054,660,486,527,679,849,799,823,866,835,532,605,636,802,1036,927,822,625,558,584,811,972,602,432,1124,1494,1392,1636,2172,2010,1588,1398,1414,1230,922,1058,1202,992,767,726,1100,1100,824,896,1120,2482,2632,1160,378,466,835,1106,916,733,1188,1156,719,530,428,484,641,775],[392,387,414,399,350,368,378,350,322,276,238,247,390,649,736,613,644,662,705,771,748,550,570,686,772,819,739,587,410,311,272,241,240,293,430,499,340,336,352,262,274,281,273,252,266,233,239,229,223,217,217,244,273,324,486,735,961,1390,1034,619,798,912,774,689,1182,1288,1066,1366,1534,1262,545,381,354,350,452,878,1120,843,623,537,607,687,742,831,716,703,679,525,422,397,367,349,435,515,426,382,387,432,512,474,464,464,514,472,583,648,546,641,985,865,651,569,729,511,385,421,650,701,703,741,722,519,791,932,1086,1334,1248,886,916,866,1044,950,1212,1302,1370,1432,1290,944,813,862,608,477,448,407,456,464,424,471,587,770,752,814,987,1060,1058,1016,1042,908,1092,1032,700,1002,1200,1112,1040,1120,1100,1154,1276,1048,959,1152,1246,1362,1004,745,539,547,547,513,459,468,631,1005,1162,1262,1174,1126,1034,1062,1152,1144,1174,1526,1494,1466,1594,1718,1974,1762,1734,1820,1514,1684,1422,1096,1096,1044,1058,1238,1094,1001,1340,1312,1450,1482,1376,1282,1408,1582,1454,962,868,1200,1344,1300,1246,977,871,969,908,880,971,1124,1220,1230,1376,1224,1180,1248,1190,1338,1294,1200,780,524,416,351,497,632,615,633,629,678,745,938,1092,849,745,725,637,476,393,546,872,866,679,990,1066,948,560,337,344,335,376,480,419,919,1282,1434,1610,1368,1444,1420,1240,1324,801,1246,1186,1228,1294,1576,1136,1036,1176,1076,1388,1504,1300,1420,1282,1084,1050,1080,1026,1034,989,918,769,469,331,321,449,637,791,750,754,814,918,863,569,722,778,568,660,958,1026,854,703,494,399,321,332,363,522,657,905,691,487,588,604,854,1112,1076,1328,1288,1248,1096,1028,1162,1668,1814,1334,856,688,479,770,1146,1344,1222,1272,1212,1326,1382,1242,1154,1284,1386,1262,1250,1284,1378,1266,966,1017,1274,934,624,594,656,576,432,405,360,586,979,970,1558,1832,1716,1436,897,550,454,382,455,639,930,1406,1296,788,908,930,969,1094,1228,1196,1196,1378,1328,943,361,289,340,374,321,317,382,380,390,356,359,427,479,532,540,608,582,622,711,632,468,726,835,749,602,561,697,1054,1178,954,1294,2006,1358,1268,1060,699,536,760,1108,871,692,687,476,414,609,590,692,1194,1480,1098,940,1086,1048,1023,1142,1164,938,714,560,664,898,987,911,727,587,536,464,363,404,443,382,440,547,726,549,637,1324,1708,1482,1146,1158,1302,1122,904,663,729,1256,1826,1158,825,1021,1288,1222,1026,1248,1480,1404,965,871,1007,1334,1410,1532,1310,1308,1506,1394,1328,1744,1682,1134,916,883,822,462,641,927,980,1124,1256,1454,1412,1294,1042,615,918,1234,1238,1174,578,363,292,292,317,448,1030,959,523,634,689,500,525,720,666,1106,1308,1110,1116,1120,875,797,871,914,875,826,851,809,761,741,771,1092,1264,1048,842,919,1056,1168,1404,1406,1176,842,760,1186,1606,1602,1660,1582,1360,924,1306,2122,1802,1015,1001,1338,1320,1198,1048,846,792,774,1134,1446,1414,1382,1466,1418,1188,1188,1260,1302,1154,1120,948,962,946,1276,1376,1200,1168,1170,1040,537,490,539,896,1142,1154,1582,1616,1526,1604,1622,1406,1280,1360,1260,1344,1224,1284,1372,1428,1276,1364,1342,1336,1050,761,735,929,1290,1280,1110,1324,1030,763,976,750,512,484,373,359,338,324,316,320,304,305,292,277,296,293,318,335,327,319,315,323,318,337,345,305,365,386,388,509,831,622,479,574,542,489,395,387,358,354,384,404,398,458,504,493,473,420,334,384,486,409,458,616,651,540,502,584,1060,1578,1660,1770,1516,1082,1252,1460,1126,1028,1112,1088,1272,1292,1254,1260,1178,992,1050,1172,1390,1578,1248,1182,1304,1328,1346,1300,1368,1292,1238,1198,1096,1232,1282,1186,1206,1168,1008,772,910,1021,884,760,663,760,966,1328,1302,1048,935,808,722,733,929,1072,1286,999,802,857,1024,1278,1258,1110,813,601,654,758,711,560,641,811,692,562,518,443,427,446,572,745,1068,1294,1158,1342,1394,984,667,727,962,1036,906,742,872,972,568,820,960,961,1106,1428,1486,982,544,604,1034,1404,1194,1214,1362,1266,1334,1348,1136,994,541,646,872,611,530,973,1100,944,867,1038,1226,1224,1208,1220,968,1034,1182,1014,1302,1788,1556,1408,1208,1142,1202,1262,1170,1390,1194,1034,1158,1484,1376,1268,1298,1372,1370,1000,946,1158,1306,1248,1020,1184,955,697,962,1228,1160,1100,1328,1394,1414,1180,1094,1122,1218,1530,1600,1532,1348,1818,1598,590,550,552,522,590,852,978,1040,915,1346,1486,817,570,539,757,957,837,811,680,662,907,968,1216,1588,1268,766,824,1066,1274,1358,1046,816,969,810,739,850,1110,975,770,706,753,899,520,375,385,288,253,254,273,246,267,296,316,452,797,1180,1428,1188,763,503,357,386,454,416,363,390,462,490,459,423,462,468,504,641,919,1196,1286,1444,1046,1138,1478,1040,991,1182,1108,1108,890,1252,1340,1278,1510,1634,1304,1252,1290,1356,1312,1036,1156,1274,1274,1340,1040,738,526,510,750,1186,1118,644,535,699,948,1136,1180,976,1019,1238,1266,1164,981,586,566,428,396,543,633,799,991,890,990,1344,1058,1080,926,706,666,606,811,1136,1023,915,889,1122,680,382,547,923,925,800,873,885,976,854,838,977,1122,1126,1190,1542,927,585,587,753,873,893,814,911,963,1046,1362,1482,1394,1360,1252,1220,1208,980,1004,1160,1472,1570,1180,1046,1180,998,1388,1636,1710,1574,1394,1202,1308,1584,1340,951,1102,1294,1148,1032,984,779,451,478,821,974,797,659,633,716,1002,1214,1236,994,947,545,774,737,879,1024,891,952,1164,1422,1508,1324,1256,1216,1250,1188,1038,916,698,806,814,778,933,1122,1226,969,889,1040,1384,1396,1152,1098,985,674,785,825,702,987,1100,958,921,1102,941,776,1036,1036,814,723,560,728,923,956,1108,1094,1196,1076,875,1186,1106,846,977,706,498,555,764,883,903,850,948,1300,1474,1304,1238,1088,1086,1154,910,655,944,946,879,1019,1056,1166,1282,1028,1028,1060,1068,983,1170,1050,908,933,944,1482,1714,1696,1466,1346,1152,1070,1120,1236,1200,1198,1124,1190,1452,1500,1266,1108,1200,1080,956,828,920,1068,1114,1146,995,849,828,726,877,1086,706,466,497,644,687,634,657,621,423,661,862,749,810,631,510,471,538,567,718,689,461,413,445,465,439,390,456,522,415,785,517,421,357,463,503,408,659,993,973,1070,1100,702,637,977,814,956,655,719,905,725,2986,5036,2146,893,1102,1310,1434,1256,818,1108,1316,1180,845,948,883,587,637,719,741,755,680,411,379,604,727,559,823,1340,1260,1078,830,504,462,510,1015,1290,1418,896,489,510,948,881,843,917,823,538,450,360,503,1458,1432,834,644,718,814,747,1288,1008,1192,1604,1264,1356,1180,1166,1478,1914,1088,559,540,738,976,1304,1252,1196,1052,747,389,332,531,1360,1450,1156,1244,1170,804,524,411,405,442,439,331,341,500,877,1152,995,772,753,942,1088,1013,837,1082,1190,1076,1576,1422,952,619,416,418,541,556,1050,1322,780,535,964,1280,777,630,740,1064,735,638,618,683,652,576,500,382,344,330,325,424,660,1072,1038,558,503,463,441,496,507,496,544,631,731,755,739,678,653,563,373,304,409,433,345,361,410,420,373,322,337,399,476,426,464,657,896,1192,1246,733,501,661,920,1232,1192,705,492,724,1216,764,1070,1150,851,738,714,741,697,718,841,1090,944,789,1100,1362,1176,883,1036,1408,1550,1802,1756,1374,864,875,1220,1444,1388,1572,1520,1174,875,930,1154,1202,1202,1152,1350,1494,1400,1170,1228,900,561,601,1160,1394,1032,559,340,364,462,813,1106,1138,791,1050,1278,1142,937,628,374,326,428,440,834,1396,1042,915,1120,1172,694,457,439,438,475,446,368,364,399,494,494,329,286,652,1210,1090,713,681,647,370,387,407,428,349,357,395,377,671,1009,1090,976,690,861,1282,1132,724,946,826,618,582,458,431,622,563,561,521,359,345,420,534,523,361,269,233,316,362,416,410,473,502,443,426,409,435,421,396,449,522,738,854,607,469,463,829,1034,600,639,678,717,714,905,993,748,692,587,480,501,639,776,1178,1344,903,916,857,948,868,869,904,614,463,386,468,836,1076,767,413,260,337,343,386,818,1458,1570,1654,1690,1132,515,529,897,1218,1020,1156,1256,1202,932,700,641,940,938,857,1002,858,664,619,1032,895,714,668,1234,1494,1344,1210,1420,1436,1454,1530,1594,1548,1026,946,992,899,562,488,736,762,1014,1708,1820,1948,1490,659,299,337,449,589,519,880,1052,1234,1304,913,639,843,952,940],[369,347,371,393,368,315,332,343,291,275,248,225,329,520,709,666,689,698,760,701,563,646,722,684,722,619,451,339,299,273,250,234,246,260,282,256,350,598,487,342,415,306,257,197,224,242,240,252,248,234,247,272,326,460,686,736,556,857,786,461,426,580,671,664,899,1096,1158,1146,1338,1011,473,332,344,344,375,938,979,680,580,543,814,736,853,1186,1100,1196,897,673,596,447,403,455,483,495,433,427,470,419,404,422,417,431,461,410,460,841,1088,982,984,854,822,742,969,575,440,499,650,709,689,717,623,476,491,821,1196,1270,1192,832,591,802,952,885,1070,1250,1346,1322,1110,934,799,881,557,374,457,482,496,508,543,519,525,652,794,846,885,1048,1056,1016,912,1084,1396,1206,846,875,778,828,996,1100,1504,1458,919,625,849,1196,1310,1238,1042,756,651,569,518,498,612,572,471,661,1013,1260,1154,907,879,1114,1310,1036,1116,1370,1152,1142,1256,1338,1476,1642,1802,1808,1748,1640,1704,1492,1300,1294,1288,1150,1122,1318,1504,1266,1394,1472,1356,1482,1524,1480,1302,868,632,1096,1266,1278,1358,902,484,411,592,665,786,993,1030,1294,1464,1148,948,1048,1120,1056,1017,1112,944,857,949,670,825,1018,753,717,520,561,579,628,991,959,1128,1210,985,661,547,601,948,797,669,1232,842,528,349,360,394,388,442,437,462,847,1026,1352,1728,1510,1688,1600,786,761,799,1142,1044,1068,977,769,506,490,847,1246,1246,1230,989,863,806,816,960,1156,1136,951,783,930,1100,913,403,380,496,720,994,861,889,1076,981,588,354,535,573,490,799,1266,1146,817,943,818,375,269,335,461,687,885,921,594,655,619,364,501,584,670,1224,1548,1496,1226,1154,1448,1638,1498,1248,1098,904,699,660,926,1228,1384,1288,1302,1434,1418,1208,1194,1306,1176,1312,1274,1356,1504,1604,1212,973,1068,961,814,628,733,816,596,425,437,708,1340,1400,1260,1356,1656,1430,965,864,624,448,545,509,929,1328,1220,1004,998,1054,985,1080,1302,1342,1334,1264,1102,1014,541,435,543,677,577,538,592,543,517,435,337,395,441,514,542,570,601,625,714,669,605,792,1021,1023,702,599,637,851,827,597,658,962,1092,1448,1070,705,747,849,1256,1252,1010,574,462,457,489,543,893,1266,1302,1028,981,1080,1138,1216,1344,1418,973,461,377,486,822,648,446,401,300,265,251,263,342,364,359,430,1382,1520,695,521,1208,1432,1010,777,744,867,1216,1180,774,606,993,1324,1442,1532,1108,1386,1614,1322,1340,1358,1278,957,1124,1126,924,838,1274,1130,1108,1510,1382,1334,1550,1356,1384,1248,772,683,760,926,1110,1038,959,1044,1392,1452,1390,1390,1108,962,784,880,1120,683,375,313,387,352,533,871,510,370,680,788,484,588,728,649,1084,1400,1128,1001,1152,1016,767,771,910,951,817,795,801,806,781,883,1300,1308,919,663,840,1176,1186,1316,1206,1218,730,857,1086,1326,1528,1722,1598,1488,1582,2008,2498,2436,1770,1432,1262,1256,1358,1066,622,515,548,1001,1542,1570,1518,1454,1086,999,1082,1300,1350,1232,1372,1156,889,1020,1300,1218,1028,1136,1396,1416,844,503,688,948,1198,1404,1732,1438,1162,1378,1592,1544,1318,1318,1284,1382,1288,1350,1430,1342,1214,1202,1180,1208,1198,840,500,619,1232,1340,1034,1052,1011,901,1084,927,662,530,377,356,343,328,306,301,292,287,283,308,327,327,355,368,377,365,329,315,319,333,378,401,412,409,411,542,625,515,488,569,554,552,459,350,328,345,358,359,359,353,384,409,377,382,369,409,449,389,476,578,542,497,568,1078,1604,1680,1774,1512,935,1166,1372,1336,1122,1011,1018,933,1068,1300,1144,1148,1326,1356,1572,1612,1544,1384,1290,1582,1498,1426,1222,952,1258,1406,1384,1308,994,1070,1176,784,748,1032,766,695,1180,976,553,750,1036,996,1140,1432,1112,1152,874,580,789,968,1020,1032,1018,1032,781,445,725,976,1034,1134,846,696,857,837,717,661,923,1204,999,780,601,447,439,491,575,639,781,934,1068,1350,1072,681,908,1132,1028,1404,1790,1480,825,636,631,993,1262,1208,1356,1748,1618,949,533,702,1212,1322,1266,1404,1162,1216,1448,1556,1154,544,363,462,633,536,451,924,1066,953,570,625,761,1116,1258,1174,824,808,1098,983,1170,1446,1356,1164,1172,1036,1080,1228,1068,941,1007,999,1266,1604,1454,1278,1264,1220,1158,854,879,894,1248,1284,1088,1208,972,880,1030,1228,1380,1382,1334,1516,1588,1594,1452,1226,1216,1194,1172,1320,1566,2102,1154,650,781,723,576,500,544,904,1222,1144,1440,1388,690,557,542,957,943,738,880,832,720,762,814,922,1158,1136,928,1074,1174,1120,1058,837,947,985,955,1084,1348,1450,1134,968,847,753,1094,977,437,289,244,243,242,247,278,301,295,365,685,885,865,1084,1214,594,498,780,977,752,424,485,776,1003,767,715,516,464,449,734,1114,1214,1306,1412,1488,1308,1134,1128,1376,1244,1292,1168,1190,1152,1248,1254,1278,1374,1134,1192,1494,1434,1286,1240,1118,1148,1094,1086,919,707,621,533,491,524,625,541,478,610,937,1074,1092,1180,1146,1122,1250,1386,1300,706,457,436,365,354,379,686,725,724,1110,1504,1302,1146,1248,1124,985,786,904,1122,1128,1138,1202,884,912,550,414,439,655,841,901,990,1180,1180,1146,1122,1024,1208,1296,1344,1588,1272,781,767,995,1076,1046,854,638,951,1064,1340,1506,1354,1326,1024,1044,1170,1010,1070,1164,1416,1530,1568,1562,1512,1228,1260,1516,1686,1212,702,625,899,1274,1142,900,1056,1194,1210,1176,1176,897,502,335,721,882,756,753,831,1168,1186,1290,1190,922,947,786,928,908,802,801,883,827,854,1328,1488,1078,780,828,1054,1148,1054,746,670,828,820,1132,1510,1326,1410,1258,1242,1136,1376,1490,1390,1126,866,603,781,984,979,1100,990,1036,1056,1084,1154,1084,1168,1184,1122,835,643,894,1050,951,1009,880,1015,943,860,970,797,725,799,661,615,626,854,1074,985,771,1058,1320,1486,1572,1368,938,995,1108,733,859,1322,935,902,1092,1222,1050,1194,1104,1038,1170,1212,1016,941,1036,1030,1066,1104,1656,1746,1710,1512,1362,1112,996,1086,1138,1100,1132,1114,1192,1174,1226,1152,1156,1214,1328,1236,988,1023,1174,1240,1138,983,818,695,663,844,946,815,528,464,501,545,560,688,658,467,598,905,779,789,557,550,753,850,826,979,860,628,619,576,589,569,478,1009,1130,554,561,648,562,451,422,383,440,814,1032,1094,1116,1078,956,598,789,844,690,448,475,683,981,4352,5916,1378,1074,1272,1256,1226,1498,1348,1210,1094,912,833,881,816,852,828,1018,855,743,560,384,325,413,445,429,527,883,1124,1146,1004,942,842,651,900,1260,1520,1194,724,694,948,1422,1618,990,695,483,451,357,483,949,740,626,865,921,898,664,614,977,1662,1566,1744,2018,1452,1148,835,962,825,612,698,963,1188,1352,1338,1384,1430,1362,904,821,514,702,761,1088,1588,1562,1198,673,339,332,319,342,337,462,809,1098,1116,1404,1452,1050,775,717,686,711,890,1042,1094,1736,1520,1252,656,374,350,384,396,758,1170,1092,689,1018,1268,670,694,659,853,702,585,579,655,573,491,399,305,287,427,318,341,539,957,1162,615,440,503,424,429,468,451,433,551,678,643,639,589,492,357,307,325,435,413,329,388,425,401,389,343,338,465,609,488,667,1016,1156,1086,927,805,633,595,612,944,1234,814,534,587,735,720,1106,1332,1054,580,505,752,669,489,836,998,807,843,1296,1516,1104,738,894,1190,1664,1852,1906,1676,1150,847,1102,1284,1394,1644,1456,1384,1264,1050,850,1024,1446,1310,1292,1146,949,1102,1006,640,402,459,894,1278,1136,709,599,574,767,813,959,1070,1112,1278,1360,1258,1006,732,590,376,396,504,1094,1246,822,920,1088,1040,710,547,573,527,430,335,293,401,443,607,448,297,257,301,534,741,731,722,960,731,420,450,433,333,397,414,334,477,769,1044,948,514,568,854,1074,673,912,885,946,716,528,577,587,534,477,324,297,370,440,454,418,384,304,265,257,331,396,413,451,497,510,416,401,452,366,388,580,545,590,625,552,549,451,506,573,674,767,689,599,624,1070,965,993,1080,923,706,454,380,393,596,845,867,1078,1050,985,782,813,811,629,453,388,387,432,641,732,475,318,366,399,386,440,752,981,1482,1764,974,503,698,911,1009,1298,1622,1324,1388,1162,746,725,858,699,718,1248,1324,1108,780,835,946,655,710,1052,1126,841,891,1328,1650,1658,1604,1932,2282,1302,993,1172,778,480,662,916,883,1260,1642,1762,1096,415,363,343,364,342,422,453,865,1011,1148,1422,1388,1308,1368,1318,1024],[484,316,293,329,334,294,318,338,310,267,275,292,314,391,639,693,700,730,636,490,573,678,702,709,573,357,284,262,248,233,231,245,265,292,295,256,338,558,387,342,403,258,207,212,224,231,254,269,255,277,278,312,435,609,952,759,650,882,666,428,411,486,650,709,841,634,636,569,1078,858,519,388,406,392,366,523,764,644,440,493,661,800,996,1256,1084,1094,1162,1268,1054,621,426,455,369,432,399,399,447,425,433,408,416,431,437,418,438,852,1316,1066,556,722,1000,822,594,413,423,445,532,616,655,651,618,561,570,750,1003,979,896,483,310,541,602,536,603,691,838,716,607,721,714,930,535,379,444,439,478,490,646,763,590,649,913,913,995,1060,920,910,1040,1132,869,749,865,1038,1016,881,1066,1382,1402,963,807,600,783,1086,1056,1036,945,1017,1024,1078,1632,1360,1510,951,677,662,826,810,875,895,1126,1258,1098,994,1182,1388,1182,1092,1194,1424,1508,1582,1532,1810,1708,1616,1668,1600,1506,1462,1194,1072,1368,1640,1422,1302,1476,1340,1320,1554,1478,1282,1120,805,863,1310,1234,1498,1370,654,382,376,349,408,656,994,1226,1242,1106,816,860,926,970,888,749,1028,1012,763,723,732,1007,1154,636,573,387,336,395,379,702,1004,1320,1654,1248,1042,1016,1004,1302,1260,813,868,631,532,446,374,426,461,453,411,549,1076,1486,1672,1720,1272,1294,1296,826,893,1002,995,943,918,720,412,359,458,875,1230,1104,1240,1018,778,783,921,1052,1176,1016,714,612,1116,1344,978,443,496,480,673,921,933,924,933,767,365,321,380,378,452,978,1252,962,607,821,697,569,846,636,625,990,1100,1140,933,1058,874,488,488,704,869,1188,1532,1376,1118,1212,1226,1202,1294,1072,1182,1218,1102,987,710,907,1246,1242,1482,1412,1146,1130,1560,1548,1132,1494,1416,1240,1788,1780,979,899,982,780,644,518,634,1372,1248,645,680,941,1220,1005,773,1338,1636,1184,1028,1114,791,614,694,511,841,937,937,1104,1212,927,785,1130,1230,1146,1120,1001,1124,1142,620,448,529,568,545,574,592,532,419,362,332,453,495,513,534,528,563,572,613,605,666,911,921,827,689,655,691,720,763,605,541,713,1114,1500,1468,1286,1134,1056,1144,1098,983,642,508,503,513,606,791,996,1098,1028,1036,944,1116,1564,1940,1946,1148,539,500,465,318,341,349,263,239,262,251,282,339,482,532,549,988,914,583,552,697,618,533,471,686,938,1142,1094,709,495,557,793,1510,1510,1060,1508,1370,1048,1080,1300,1316,1110,1134,896,550,594,1114,1316,1280,1332,1274,1494,1260,1190,1200,1074,637,549,817,1012,1044,971,708,764,1086,1296,844,1268,1452,1023,625,891,1176,756,477,452,448,404,577,672,317,355,419,529,437,598,772,956,1160,1396,1180,840,920,872,828,767,974,959,891,895,837,1096,1096,957,1130,968,741,653,968,1222,1302,1426,1302,1094,741,830,1164,1394,1600,1742,1702,1664,1620,1528,2046,2302,1844,1544,1230,1038,926,594,425,509,525,752,1300,1322,1212,1614,1372,1038,1256,1296,1192,1444,1490,970,564,751,958,1140,1044,922,1116,1258,792,622,935,1172,1292,1552,1598,1268,951,891,1060,1576,1494,1316,1346,1378,1212,1076,1190,1294,1252,1022,905,1190,1452,994,672,650,958,1192,839,807,1190,1308,1226,926,612,446,376,330,312,322,304,302,308,311,313,317,321,367,374,390,393,388,337,318,333,442,549,488,505,585,602,561,449,438,420,498,523,524,453,357,371,394,424,386,314,329,377,382,335,368,442,475,380,350,410,483,512,601,1058,1576,1614,1708,1616,1090,1116,1306,1210,1242,1178,927,901,935,1034,1122,1090,1150,1362,1560,1150,1104,1262,1228,1238,1356,1386,1448,1440,1278,1226,1346,1300,1282,983,907,1009,681,519,492,550,805,1142,900,821,1346,1356,822,959,1128,811,1086,756,453,532,760,863,897,1042,1022,842,462,452,635,1066,1022,1001,962,915,753,847,1020,1234,1302,822,537,511,440,424,448,534,535,636,919,1194,1010,649,661,874,1208,1344,1346,1576,1312,983,1114,1052,1214,1438,1280,1334,1460,1176,1070,716,936,1314,1246,1306,1266,1100,1310,1294,1276,972,455,398,368,393,304,430,850,1005,875,781,405,679,1204,1184,1320,1022,717,775,1062,1112,720,885,1064,1032,863,959,1062,891,664,604,774,1064,1254,1198,1290,1362,1154,1068,899,805,1046,1482,1398,1072,1122,1384,1122,1026,1280,1526,1730,1738,1638,1494,1512,1460,1512,1460,1448,1414,1144,893,938,568,668,1032,1076,692,453,573,893,1082,1054,1524,1260,606,554,651,1094,1060,922,957,766,521,449,525,736,867,818,802,818,855,656,472,578,656,731,1060,1052,905,972,1120,1070,1068,965,1438,1238,493,278,286,266,234,264,286,302,309,404,1058,1562,1038,716,1126,893,882,1164,1034,669,408,459,840,1016,661,951,589,423,646,920,1232,1326,1116,1013,1250,1334,1013,891,1288,1256,1188,1168,1262,1222,1258,1266,1296,1316,1306,1332,1324,1090,1154,1332,1222,1140,1146,1146,802,552,595,634,550,480,439,501,872,919,961,949,976,1068,1110,1194,1256,1528,1572,700,483,416,432,389,399,505,622,1188,1890,1766,1128,1116,1212,1242,1242,1128,1236,1152,991,1068,1104,902,637,436,501,609,817,1130,989,897,1192,1138,1036,922,944,1001,831,662,1106,1368,889,813,1104,1040,945,951,770,897,1064,1172,1294,1120,1005,1096,1314,1560,1660,1538,1424,1498,1550,1426,1316,1352,1152,932,1128,1358,959,648,924,865,884,1152,1170,922,1122,1200,1176,911,633,468,457,634,563,668,860,855,1244,1218,1126,1188,1150,987,1098,1166,1116,1068,1016,916,673,825,1040,845,662,636,711,888,1132,1136,940,915,962,839,809,933,987,893,1132,1356,1136,1270,1468,1630,1466,966,857,1072,1294,963,632,564,938,1110,1204,1164,1188,1224,1354,1622,1384,1284,700,672,843,949,633,653,720,932,892,663,1040,1144,849,995,872,1090,1354,1096,1023,1118,1108,974,1338,1388,1070,1096,993,774,922,1180,669,774,1026,1212,1194,1182,1142,1212,1194,1110,1076,1218,1314,1202,1262,1216,1462,1618,1666,1482,1268,1170,1038,1044,1088,982,999,1018,1066,949,1170,1252,1324,1300,1192,1074,1104,1186,1250,1204,1042,1058,954,826,765,789,644,519,486,475,469,476,447,442,564,669,534,765,686,748,810,1102,1432,1256,825,874,861,912,1104,1096,908,727,587,1182,1320,851,733,838,816,624,387,415,749,1184,1028,1058,1168,1274,1378,923,847,1080,1116,737,535,850,1100,1246,634,805,1108,1118,1292,1284,1202,1376,1342,1011,901,902,864,975,915,1116,1606,1182,714,409,339,383,490,516,393,514,930,1150,1340,1180,1102,1064,1216,838,857,911,888,863,904,783,954,1328,802,379,273,305,272,444,517,545,428,444,664,784,806,857,959,1306,966,1418,1418,1952,2120,1526,893,688,742,871,896,1158,1406,1318,1344,1394,1294,1206,1238,1040,616,807,1698,1744,1318,1248,805,547,430,336,329,466,786,1266,1224,905,1108,1322,1428,1314,742,443,554,665,993,1126,1450,1416,991,514,376,360,336,358,517,747,834,1124,1286,1284,1036,805,602,619,533,427,533,559,444,444,358,329,316,420,354,330,339,535,893,581,370,456,423,440,488,457,424,578,692,658,609,574,532,410,347,419,491,452,347,405,435,429,420,391,341,557,756,594,703,1216,1262,847,786,1010,1038,1050,917,1015,1072,859,536,395,557,720,1040,1498,1336,574,632,1092,856,595,567,598,816,749,827,1334,1322,1034,955,1384,1812,1830,1714,1314,1118,1170,1064,984,1352,1528,1448,1384,1360,1162,1096,1494,1632,1206,1162,1016,692,671,772,796,611,549,623,1098,1394,1158,742,896,1190,952,828,854,1132,1324,1026,901,995,1058,1090,631,341,619,1198,1292,963,904,1146,1058,768,633,767,609,495,449,449,420,596,971,828,458,292,282,383,695,996,888,1284,1196,744,605,518,423,443,440,523,707,667,839,939,879,536,926,1146,824,866,980,980,791,639,533,541,574,512,296,290,491,511,686,1094,766,239,287,272,350,426,438,450,499,509,523,486,396,339,616,786,560,489,485,415,401,375,370,461,702,695,669,533,525,686,847,1094,1166,1060,698,443,401,387,367,371,561,929,1106,1022,863,744,731,673,538,485,379,503,954,1074,531,390,419,420,377,373,412,630,1310,1518,975,740,767,638,536,1052,1324,1388,1430,888,591,629,639,604,631,928,1374,1134,656,371,575,752,655,759,857,615,1044,1554,1636,1340,1274,1982,1848,896,892,854,730,716,577,568,704,975,1334,1230,522,379,355,375,350,509,966,897,534,921,1456,1606,1620,1368,1582,1658,1638],[438,253,216,271,292,307,326,365,336,328,334,343,351,349,515,670,711,615,446,409,505,548,647,531,328,231,255,249,223,227,252,265,275,279,292,281,244,281,279,260,208,195,208,228,248,270,292,308,260,263,276,362,500,742,1040,802,814,902,666,417,366,608,1056,1134,1188,614,440,606,687,544,410,419,422,404,386,661,1334,922,788,987,942,1174,995,809,985,940,1336,1730,970,557,428,397,313,360,349,362,339,363,389,385,416,447,454,408,420,669,1046,605,376,492,824,789,499,384,386,446,535,487,578,611,583,515,623,545,785,1017,595,310,373,531,530,410,379,465,849,543,426,470,582,496,440,540,484,430,462,569,751,845,572,470,684,845,1066,913,787,759,973,1166,1106,960,1072,1064,1232,921,783,1112,1282,1098,749,711,1080,1130,1146,1164,1036,1334,1382,1172,1384,1190,1772,1390,1334,1362,1126,977,949,845,858,585,528,747,769,808,1068,1114,1316,1550,1736,1218,1390,2176,1726,1636,1640,1564,1284,1482,1492,1312,1496,1384,1218,1272,1602,1542,1094,1158,1450,1508,1582,1166,1272,1416,1378,1392,1412,1058,366,403,455,403,600,999,1232,1036,996,659,822,1015,1180,1130,836,1136,1060,660,735,948,1378,1378,619,429,342,304,411,471,648,678,1013,1346,952,1052,1150,1200,1042,794,842,885,809,718,597,464,476,568,678,549,509,1062,1310,1292,1588,1238,1358,1340,988,975,1034,1098,1206,1002,552,313,303,606,954,960,749,923,857,862,971,849,831,1144,711,746,949,1208,1318,1104,725,792,536,540,885,1122,974,697,509,364,424,540,518,510,689,901,858,658,725,843,951,1052,858,933,712,1026,1056,696,710,711,644,776,1086,1242,1170,1226,1230,911,975,764,764,1086,1140,1222,1136,1168,1009,549,424,514,737,1158,1292,1200,1312,1354,1432,1322,1226,904,1003,1462,1206,673,872,712,561,582,503,980,1566,1160,542,526,769,901,535,606,1186,1330,1284,1194,1146,752,559,706,687,623,730,744,703,850,1096,1246,1102,954,1300,1294,1224,1320,1108,558,303,325,393,475,508,447,373,320,305,305,332,362,421,415,395,444,490,497,444,587,1078,1284,1234,655,739,957,908,876,859,881,1015,1180,1448,1620,1558,1434,1296,986,979,1284,1114,711,563,476,554,563,863,872,957,1022,945,1013,1238,1870,2030,1428,1056,1224,694,377,323,286,283,280,335,381,516,752,971,735,536,767,852,686,658,653,456,408,495,1058,1116,858,844,935,715,413,683,1198,1180,1398,1302,873,1018,1074,1248,960,722,877,920,940,1042,1208,1074,1328,1286,1188,1378,1146,1172,1102,750,494,640,1112,1106,846,1106,1376,1300,1244,1412,996,1214,1282,1078,875,949,887,583,536,729,877,796,943,1015,767,642,502,373,552,931,1262,1438,1390,1420,1232,858,706,742,950,1078,1276,1078,860,833,908,1324,1142,800,917,713,563,634,1152,1262,1474,1418,1412,1072,678,838,1194,1190,1260,1318,1468,1638,1710,1674,1638,1656,1470,1170,984,896,735,542,437,422,455,512,552,618,570,1282,1348,1146,1266,1102,1032,1204,1112,1034,885,1112,1172,1280,966,934,1166,920,581,642,999,1218,1288,1302,1320,1222,1182,1064,908,1404,1510,1670,1642,1514,1466,1420,1296,1394,1378,1136,993,1220,1322,1238,1154,927,809,763,627,857,1168,1220,1176,868,598,462,367,332,308,310,314,316,318,314,307,292,313,480,495,462,405,360,335,327,333,462,484,479,707,669,539,379,404,373,413,467,480,494,548,512,385,407,519,470,386,313,326,390,375,354,394,442,413,379,404,521,603,990,1522,1600,1628,1580,1248,1134,1176,1004,1007,1090,1038,1064,1094,1168,1134,1252,1366,1344,1306,1374,1348,1362,1108,1170,1234,1166,1098,1340,1638,1396,1204,1370,1216,864,599,586,716,882,789,796,899,898,1100,1268,1306,1454,1164,826,735,871,972,989,688,541,650,797,746,703,930,985,948,742,650,1001,1116,1042,1210,1262,937,687,1010,1150,1036,998,608,423,553,498,462,449,441,383,443,965,1314,791,657,727,705,693,697,627,832,778,785,1007,1376,1660,1542,1316,1274,1170,1170,1216,1100,1278,1196,1198,1232,1120,1234,1254,1120,1296,859,520,397,328,371,348,378,513,451,831,933,728,1068,1023,1066,1312,819,634,736,949,978,768,943,979,830,940,1042,1010,1134,1114,913,1104,1036,1114,1140,1162,1228,1015,886,990,879,1040,1088,1166,1202,1432,1692,1242,910,1118,1418,1638,1772,1580,1454,1366,1214,1592,1378,1328,1340,1068,580,552,595,606,871,1078,902,681,748,1042,940,1046,1246,1046,845,828,844,857,788,602,404,347,347,351,393,460,408,390,400,416,391,349,359,630,700,625,916,1007,886,802,1074,1394,1026,996,1470,966,399,336,294,252,234,281,311,295,311,788,1448,1546,1004,622,966,1102,868,738,686,830,650,404,539,684,546,575,511,497,580,849,1222,1076,619,462,745,856,675,728,1024,1180,1234,1262,1210,1304,1348,1300,1346,1152,1222,1134,1092,1252,1318,1382,1342,1336,1182,784,532,599,703,675,528,504,728,1338,1856,1286,991,954,973,1042,1102,1222,1224,1122,1278,930,566,534,726,499,428,863,1448,1548,1438,1316,1168,1128,1080,989,865,1104,1170,1154,1154,1158,1108,1000,739,425,588,930,1060,1182,733,769,847,838,744,599,529,594,890,814,795,1328,1066,835,1072,913,644,777,805,858,1192,1300,1388,1210,1102,1506,1604,1600,1476,1368,1412,1232,1042,960,990,999,1072,1216,1296,1306,792,553,721,456,502,989,1250,1072,1318,1286,1116,814,547,563,555,905,789,937,1144,982,1372,1472,1120,1234,1346,1302,1320,1250,1176,1060,855,620,446,821,1082,776,550,619,741,818,853,1020,1078,985,1072,933,978,1242,1310,995,946,1252,1188,1222,1600,1598,1366,1288,1262,1422,1524,745,689,684,859,1038,1150,1158,1382,1300,1232,1572,1354,1380,997,788,844,854,519,414,520,761,862,776,935,1164,1158,991,852,1092,1238,1124,1230,1396,1026,699,1196,1448,1248,1190,1108,1034,932,783,767,930,1094,1156,1228,1198,1130,1214,1048,925,1028,1088,964,1230,1064,903,1166,1530,1708,1438,1256,1388,1088,1021,1016,937,917,1062,1076,1172,1304,1246,1136,974,824,958,1166,1198,1160,1026,930,837,868,882,951,875,590,536,616,498,488,513,615,606,769,772,537,715,749,630,632,745,1034,1166,1194,1460,1170,1042,929,930,800,874,906,1030,1090,1006,964,1114,1220,1074,502,604,670,789,915,1186,1220,1144,999,871,959,1282,1350,891,559,908,1060,838,979,1007,876,920,1086,982,696,885,1130,1468,1140,636,572,793,893,1516,1948,1350,663,466,326,331,378,395,444,775,801,917,1158,1082,893,809,1016,960,681,502,655,744,686,565,547,564,415,253,230,233,346,409,375,497,641,692,467,633,1058,1018,904,940,1052,1432,1802,2306,2314,1738,812,418,620,842,760,802,1226,1274,1484,1230,1200,1052,1278,1382,901,1318,1900,1478,1078,822,576,664,714,474,371,613,849,1084,1090,1021,983,852,1024,1150,771,465,659,838,1150,1280,1322,1230,773,468,388,381,378,403,523,673,803,943,1092,1228,1442,1384,1108,891,670,478,569,716,547,555,470,412,332,388,433,353,333,361,501,480,372,364,437,527,554,577,601,612,499,484,561,613,660,578,491,521,580,566,424,451,413,425,451,514,471,496,552,465,664,995,1126,938,950,1288,1252,1310,1416,1154,961,1019,935,1007,1054,1019,1238,1488,1248,653,1068,1416,1268,1094,889,666,667,462,650,1026,1168,1262,932,1366,1414,1384,976,602,599,847,1184,1328,1278,1484,1644,1572,1818,1378,1084,1230,1300,1332,1220,1144,1184,1066,1088,1102,886,605,440,643,1240,1256,1126,1250,1198,875,610,547,932,1084,854,818,998,1354,1166,511,290,389,675,915,814,948,992,722,439,366,517,607,665,788,689,514,733,919,648,521,462,347,466,730,1030,940,1246,1326,1012,860,635,515,447,397,647,1288,1550,1860,1326,1134,934,1074,1078,1220,1208,934,1242,1376,1086,749,889,735,657,517,528,781,904,1100,1960,1698,380,277,270,339,380,476,486,534,442,434,524,454,408,513,518,424,438,427,354,341,400,432,721,854,803,703,568,532,573,648,879,1084,1036,602,463,442,389,343,336,338,558,875,967,842,540,767,722,587,481,482,751,1190,951,458,379,496,467,382,371,327,470,909,999,1114,1158,876,1084,1450,1388,1166,1466,1366,681,684,589,484,487,607,835,1142,976,548,315,470,794,846,763,655,753,1198,1376,1650,1368,1296,1166,911,947,872,722,950,1020,554,480,466,406,656,965,691,375,365,383,519,945,1548,1346,972,1460,1614,1390,1336,1434,1558,1548,1460],[289,217,252,295,279,254,262,291,303,330,354,377,359,333,402,551,585,383,382,386,417,521,480,327,274,270,263,248,259,288,278,283,272,382,450,312,237,234,249,235,229,221,226,245,261,274,284,284,272,293,325,444,720,1062,958,935,948,669,545,391,396,628,856,1030,897,486,334,437,471,401,357,368,351,404,574,694,572,753,780,705,743,1242,1164,1108,1404,996,1352,1556,1318,798,495,475,434,367,341,343,328,381,398,411,422,426,409,432,525,899,825,432,341,319,387,365,327,379,374,421,520,443,494,518,474,390,449,502,582,522,374,359,547,860,579,495,476,418,478,374,361,722,835,572,614,572,437,359,376,733,914,1192,992,602,583,760,1064,1098,930,796,963,1320,1676,1298,1760,2336,1512,1086,687,789,1282,1260,734,780,932,915,1232,1256,1334,1914,2062,1172,644,932,1616,1676,1360,1194,1060,1244,1182,1132,1208,974,537,397,393,411,544,864,1396,1596,1550,1296,1506,1950,1478,1582,1494,1306,874,1282,1432,1021,1040,1234,1238,1368,1560,1550,1202,1088,1468,1484,1526,1522,1334,1154,1262,1208,1654,1404,474,794,985,808,1010,1188,1482,1282,840,738,1328,1340,1448,1590,1106,1148,1072,1038,1196,1168,1406,1019,545,375,321,464,692,718,778,1019,1272,1378,1134,997,1078,1100,1282,831,590,879,835,821,861,613,535,575,529,453,478,861,1178,1434,1538,1386,1274,1314,1418,1068,1118,1214,1284,1316,721,383,357,430,666,772,607,526,603,838,907,789,1064,1148,1076,1018,1015,932,1222,1158,1001,837,566,631,953,1224,907,576,519,480,580,834,678,544,593,688,754,835,836,962,1094,1188,1366,1386,1184,1106,919,715,506,559,977,1202,1156,1048,806,950,896,1166,1048,931,973,1009,1194,1296,1120,943,989,821,481,407,418,634,980,1394,1438,1258,1304,1250,901,634,534,528,534,427,446,732,842,827,767,998,1234,1106,692,481,649,774,464,425,572,761,1021,942,948,750,792,1086,805,580,580,540,711,960,1650,1524,860,1015,1254,1220,1254,1032,649,422,282,335,484,502,471,461,454,428,365,322,339,367,347,312,305,322,337,310,270,601,1294,1832,1732,1080,999,1316,1168,969,1202,1094,749,1084,1218,1294,1572,1548,1384,1304,1466,1468,1224,1036,970,788,691,599,757,686,887,871,951,1120,1086,1320,1736,1454,1266,1338,878,620,655,752,666,566,686,699,838,1128,1046,971,1096,658,603,836,1034,695,462,459,418,850,1154,794,556,896,889,548,689,778,1052,1478,1382,1192,1262,1086,990,863,730,829,1148,1376,1374,1428,987,1148,995,1000,1168,1136,1188,1058,647,421,694,1030,775,512,874,1298,1344,1310,1428,1406,1432,1246,1012,1062,1190,946,419,350,453,613,922,1130,1094,1118,1028,883,877,1032,1186,1190,1352,1396,1418,1312,991,758,866,1158,1282,1242,1194,1318,1172,1250,1324,794,557,623,591,493,648,1166,1184,1296,1194,1078,1064,1034,1132,1268,1122,1112,1068,872,1070,1394,1644,1604,1536,1472,1318,1192,1114,1042,863,560,451,446,370,386,597,551,693,572,724,1318,1378,901,707,915,943,1128,1302,1266,1184,930,948,1146,1050,785,795,865,1001,1228,1294,1358,1116,819,698,969,1534,1666,1532,1472,1388,1434,1356,1394,1500,1474,1266,1192,1042,1034,1086,1246,1324,1034,742,672,985,1226,1002,778,656,584,474,356,320,308,302,310,314,310,301,277,325,439,459,452,393,386,355,349,365,333,457,627,539,514,391,361,359,397,451,448,456,530,586,680,637,406,385,444,474,385,352,348,423,421,361,469,530,499,500,526,544,849,1460,1656,1726,1638,1190,1150,1308,1178,911,1086,1232,1220,1216,1260,1252,1282,1290,1128,937,968,1186,1352,1106,966,1092,1310,1396,1128,1128,1282,1262,1344,1348,1170,802,631,598,738,1036,1064,1094,1380,1364,1190,1132,1296,1288,1068,1072,1074,1118,1182,1122,921,880,962,924,827,663,904,939,1052,833,776,858,741,852,1118,1214,1046,827,962,1110,855,922,616,414,484,516,487,447,433,427,399,656,850,667,1204,927,688,721,647,539,787,925,778,1038,1654,1550,1436,1416,1312,1318,1292,1196,1346,1312,1148,1302,1378,1212,1260,1172,1234,1046,575,497,482,441,518,500,500,447,413,641,822,1222,1404,1092,1046,845,522,545,973,977,788,751,786,919,863,906,1054,1138,1176,1124,1164,1188,876,959,1062,937,1286,1200,1026,1212,1072,962,902,1009,955,1202,1412,1162,984,1132,1220,1366,1512,1594,1572,1402,1510,1852,1544,1296,1330,963,491,784,909,667,1036,1204,815,723,810,1260,1128,1166,1066,830,619,500,379,415,594,430,348,335,361,324,345,393,400,358,350,387,397,404,431,591,708,587,1058,1208,907,650,799,999,556,461,703,626,411,320,315,260,251,274,293,273,281,976,1760,1818,1384,1186,1152,1154,988,610,672,756,805,498,377,472,565,651,667,590,567,422,555,596,329,318,401,429,440,523,837,1021,1194,1260,1182,1212,1274,1304,1176,803,1026,1148,1082,983,1016,1178,1238,1162,1116,1100,859,882,847,793,574,711,955,1072,1108,1042,1100,1170,990,851,946,789,654,854,1130,1416,1126,907,824,642,703,1186,1632,1154,790,797,995,1038,835,547,697,1038,1160,933,651,810,1112,1122,924,525,586,976,869,621,461,434,536,1192,1400,922,782,721,841,935,777,1320,1360,1232,1094,826,1064,1004,717,916,1428,1660,1686,1604,1588,1310,1152,1240,1368,1108,1240,1232,981,919,979,775,634,968,1384,1420,651,433,558,705,779,1136,1346,1224,1322,1346,1170,1108,664,497,546,989,856,1068,1028,768,881,1009,1017,976,977,1272,1224,1126,822,568,639,612,422,512,777,831,964,1017,1072,1214,1052,1088,950,814,900,923,1114,1532,1772,1210,854,1112,1344,1428,1678,1502,1150,1080,1136,1068,1174,896,960,784,562,854,1182,1206,1108,1142,1462,1404,1290,1242,1338,1220,971,757,526,407,428,540,617,536,749,1358,1268,948,977,1078,1132,1440,1602,1556,1344,965,1508,1294,1072,1084,1058,1005,758,631,924,1036,1036,995,865,814,702,606,604,589,630,572,730,1072,956,813,985,1416,1714,1688,1658,1604,1062,923,900,921,1062,1214,1184,1156,1098,1003,1010,951,824,901,1040,1170,1204,1062,970,855,1158,1470,1348,1094,727,508,451,457,680,1340,1664,1206,850,733,601,538,595,621,516,625,891,1114,1438,1556,1272,1092,940,1372,1504,1406,1430,1426,1594,1492,1158,1328,1298,922,633,717,507,489,786,987,904,758,568,657,1098,1098,884,855,568,542,871,1100,1204,1002,950,838,814,762,601,705,684,1184,1336,1102,757,722,1440,1978,1938,1242,983,809,402,437,469,404,705,963,631,741,1130,1230,1006,965,1076,1164,1172,855,647,458,460,523,574,547,359,281,291,356,655,783,445,405,607,866,416,357,504,758,608,681,763,727,1372,2136,2238,1478,805,604,567,561,554,713,858,1026,1352,1080,819,1032,1036,802,641,883,1124,1136,910,656,674,643,653,810,929,730,470,470,735,956,756,644,636,522,477,558,785,807,1072,1210,1164,965,538,461,412,408,378,452,475,549,698,901,854,944,1320,1554,1572,1480,1268,746,650,776,613,811,700,504,666,790,507,361,345,394,387,470,581,559,405,458,575,615,601,596,518,412,425,561,640,597,628,584,552,551,449,432,417,385,442,531,565,615,440,458,633,695,1152,998,867,1136,924,932,1208,1200,1390,1336,1122,1282,1248,1388,1530,1498,981,780,1274,1620,1492,1204,1110,1086,821,521,602,647,787,940,972,1144,914,753,630,520,352,598,1072,1306,1056,1122,1550,1714,1742,1194,1582,1890,1502,1368,1296,1316,1332,1054,1012,684,857,560,399,422,725,1138,1230,986,871,874,1012,764,844,771,705,572,766,977,896,648,583,533,508,828,1334,1328,739,447,336,313,301,453,461,850,1034,685,705,602,410,629,754,489,689,856,709,578,927,1078,1015,1018,637,529,444,430,577,1394,1912,1672,885,1004,1050,618,887,1532,1542,1412,1894,1526,1094,761,963,871,792,547,436,816,971,890,1248,1011,376,271,245,339,512,618,539,479,358,381,431,434,443,454,494,514,486,465,366,327,357,405,572,637,626,660,586,678,948,661,592,690,785,557,435,426,442,401,352,318,444,698,988,966,551,612,440,316,322,624,914,1062,1144,875,423,513,466,433,362,357,473,683,1060,1892,1884,1514,1864,1920,1410,911,816,738,894,1078,1000,655,814,936,681,672,728,575,359,393,709,1182,1054,935,1030,1174,1024,943,1086,982,527,670,800,600,778,828,716,502,533,432,360,677,1758,1594,948,507,670,1090,1250,1324,809,647,745,792,727,1042,1402,1478,1528,1362],[297,281,301,298,283,267,336,325,271,285,324,340,322,332,323,352,339,352,400,363,329,387,327,279,285,273,264,299,272,289,283,310,263,365,472,365,241,223,214,210,216,217,239,262,287,274,295,314,305,351,357,461,895,1017,686,846,688,542,520,590,480,580,559,462,500,539,477,400,368,339,351,365,332,355,424,483,606,849,1056,1020,868,1054,1050,1216,1472,1418,1398,1446,1648,992,573,485,481,442,387,355,342,354,411,479,471,406,402,464,692,955,586,350,329,312,294,306,311,339,379,442,420,448,478,488,445,408,449,494,463,485,471,437,592,771,486,465,474,445,421,423,440,747,807,478,499,408,397,559,525,684,899,1358,1288,811,505,572,792,954,872,742,1112,1134,1222,904,1302,1620,1256,1306,1274,1172,1292,1186,842,939,866,1000,1130,1340,1352,1664,2518,1692,1116,1046,1162,1042,898,1262,1344,1168,1090,1036,1180,1192,786,614,489,321,366,758,1456,1680,1680,1648,1312,1422,1434,1538,1448,1286,917,1362,1446,992,1136,1432,1376,1446,1286,1142,1284,1172,1238,1290,1294,1390,1268,1144,1214,1024,1044,876,633,727,770,1230,990,948,1254,1280,1214,1314,1216,808,1318,1616,1422,1048,1256,1316,819,641,946,814,783,706,532,772,1162,1250,1166,1466,1578,1356,1204,1074,1212,1164,1214,936,849,988,995,997,1078,747,576,754,667,528,582,798,1260,1652,1628,1340,951,1116,1662,1322,1388,1334,1184,1292,767,427,426,469,606,676,557,520,659,819,749,886,1066,766,861,1110,1174,1072,1074,998,785,728,1094,1048,1046,940,591,704,958,854,977,1158,1112,1052,1142,1016,846,1074,1042,1250,1380,1368,1370,1308,1224,957,882,981,940,960,1118,1130,1074,1088,944,1088,1256,1714,1552,1268,1214,870,629,752,754,720,910,736,466,392,353,318,449,844,1138,1208,1176,1110,907,639,390,357,421,586,516,790,841,948,1150,1016,991,1366,947,719,882,939,558,465,505,511,525,579,865,1060,1228,1334,1412,1720,907,613,876,1112,1136,1050,1116,1356,1182,1034,1292,1048,1019,624,318,286,371,364,339,321,305,285,294,374,476,449,449,420,373,297,280,279,303,582,961,1356,1460,1278,1388,1442,932,752,918,994,982,1370,1246,1418,1544,1248,908,1002,1350,1326,1214,1230,1084,982,608,533,537,637,672,574,739,1022,1102,1020,1046,924,924,951,842,719,795,949,852,741,941,1012,822,751,689,893,1040,824,860,1192,1338,863,648,540,539,1022,1344,1072,667,775,916,891,805,524,675,745,916,1208,1338,1132,967,761,666,861,1354,1732,1666,1490,1136,944,781,914,1104,1122,1316,1338,769,354,487,840,646,400,813,914,752,1005,1310,1136,1028,1032,929,970,1017,733,682,502,375,610,817,931,990,1300,1158,959,1100,1300,1324,1318,1432,1396,1446,1360,1244,1048,1096,1268,1292,1134,1136,1336,1324,1450,1288,975,922,861,811,844,1084,1184,1084,1110,896,791,846,969,1192,1090,956,1108,1036,811,709,1158,1608,1560,1570,1500,1226,1166,1150,1230,1028,579,433,421,460,765,944,901,756,613,974,1454,1444,694,659,1072,1156,1232,1244,1316,1260,1142,1134,1116,1244,1296,1156,1062,1114,1306,1304,1286,1040,586,477,1062,1686,1678,1466,1338,820,789,778,956,990,1064,1120,1090,963,971,1166,1416,1454,993,1098,1212,1064,1102,1042,823,622,634,503,342,330,316,300,322,302,292,290,302,374,597,463,367,380,368,369,386,401,415,575,567,457,401,373,416,590,631,509,418,434,467,515,626,511,358,368,397,437,331,341,358,393,421,432,477,472,474,595,564,713,1362,1634,1716,1708,1328,1290,1378,1378,1208,987,1204,1362,1304,1036,928,1128,1114,937,1166,1212,1066,1088,1090,1088,1078,1001,1240,1198,678,713,1084,1512,1504,1320,1184,966,1042,1200,991,933,872,1316,1506,1476,1282,1288,1322,1248,1082,789,816,1200,1224,1062,1190,1114,799,804,1026,1060,1018,818,849,789,722,445,368,525,880,1248,1102,883,990,1032,1016,810,533,452,530,748,708,534,647,696,499,449,517,677,1390,971,911,1200,980,840,1088,1052,704,844,1194,1230,1296,1156,1108,1318,1208,1208,1272,1238,1298,1332,1280,1116,1238,1472,1282,653,598,611,648,555,700,946,773,346,445,603,673,927,869,972,1044,861,689,772,1038,992,967,1062,957,898,722,956,1260,1096,1112,1164,1280,1266,1030,1040,825,703,1278,1484,1366,1098,962,929,839,848,1146,1230,1001,956,1042,1028,1062,1194,1384,1354,1554,1520,1956,2026,1772,1372,1224,995,728,903,975,718,1400,1246,803,800,1001,1284,1134,663,464,434,362,347,355,488,664,393,334,322,347,330,362,412,408,351,341,364,350,410,630,632,600,515,921,908,933,1032,841,520,362,346,500,641,602,440,362,274,253,258,259,260,283,648,1248,1618,1794,1744,1434,1266,1158,648,731,681,664,508,348,449,568,783,1048,1005,957,439,415,792,536,331,357,426,538,621,588,736,1058,1356,1278,1140,931,1130,1044,1036,1338,1410,1122,1058,1322,1316,1358,1196,1098,1080,977,1074,936,934,727,760,955,977,940,767,780,1144,1050,856,719,520,561,1050,1206,1304,1192,973,806,901,1032,827,744,518,521,486,573,649,790,496,529,1056,1184,685,412,717,1008,1238,1092,789,583,608,475,335,565,743,644,1076,1318,1194,1168,746,601,818,653,1194,1598,1610,1622,1706,1748,1606,1546,1640,1556,1250,1042,1086,979,792,887,1294,1304,844,874,846,477,511,959,832,537,788,1312,1372,618,399,838,1178,1218,1306,1426,1382,1462,1470,1182,1212,584,318,363,505,543,648,730,766,844,1158,1432,1252,1086,1522,1218,1078,739,632,684,674,444,340,477,985,1658,1306,977,1412,1300,1206,1076,817,852,1186,1019,1274,1696,1290,1280,1248,1404,1448,1490,1156,1001,1036,1192,971,943,838,701,633,651,968,976,1058,895,808,1206,1300,1332,1228,1222,1190,1004,808,653,433,405,448,487,639,649,889,1216,949,675,895,1266,2100,2130,1520,1636,1508,1604,1018,761,1044,1188,1228,909,692,810,726,624,574,591,635,507,632,839,747,651,536,714,1028,944,962,1018,1312,1622,1784,1586,1332,1040,1038,1042,1036,1052,1140,1158,1132,1166,1272,1296,1194,1248,977,979,1208,1176,1192,1166,931,1062,1256,1122,1106,828,547,483,612,1258,1720,1742,1404,848,671,655,622,785,784,579,860,1290,1390,1488,1456,1384,1016,1054,1688,1672,1258,1338,1374,1708,1562,1144,1172,1144,1130,1054,874,639,447,692,807,573,808,692,489,890,1010,1072,1015,750,785,957,1044,1106,1038,958,722,583,502,617,771,558,647,922,1264,1298,947,865,1384,1244,901,1206,774,672,1008,1001,956,1062,906,871,1152,1320,1294,1136,1266,1318,1366,1408,1140,615,454,586,653,972,808,341,258,270,324,733,1202,783,520,451,467,381,311,280,448,631,833,1038,998,850,1428,1812,925,718,924,982,900,842,865,1034,1286,1622,1244,1084,1462,994,637,1038,649,775,908,703,980,1264,963,578,850,1162,674,406,490,799,667,420,481,485,453,431,632,758,905,1338,1134,910,877,468,425,465,410,511,551,429,417,440,569,673,721,902,1010,986,1176,1460,1220,1013,816,518,887,943,734,1416,1606,916,537,459,636,879,705,1262,1428,1150,1048,1068,1044,933,749,641,504,524,520,565,508,601,619,580,639,549,444,428,402,428,418,526,723,540,875,1046,1412,1550,1028,855,1066,843,891,1260,1370,1336,964,889,1328,1244,1180,1382,1610,1166,974,1290,1420,898,510,697,1280,935,399,243,223,513,1240,1378,973,753,727,910,781,401,618,910,1102,841,1011,1448,1642,1384,1426,2128,2002,1356,1338,1416,1422,1456,1124,1011,591,698,778,631,529,590,866,1022,832,892,1108,998,755,941,1036,819,886,973,598,663,993,1020,681,597,586,938,641,359,347,403,365,351,359,313,484,655,607,602,481,420,594,648,591,577,457,539,524,674,947,1150,1142,708,544,569,531,800,1382,1410,938,650,1070,1260,939,1364,1372,1240,1432,1578,1226,816,725,814,821,749,443,269,419,524,517,627,680,605,340,280,435,539,415,396,400,309,326,370,398,393,421,392,476,507,499,455,373,360,387,613,925,698,747,744,1014,971,668,508,450,430,419,398,380,400,383,387,418,480,562,1156,850,528,399,331,365,417,543,684,1130,1484,963,466,601,726,818,769,630,713,741,980,1498,1764,2156,1988,1506,981,585,452,376,669,749,1126,1023,944,1040,1001,731,592,414,284,313,677,1120,1094,1266,1730,1284,879,976,1092,699,527,821,753,511,626,702,741,536,508,466,415,1276,1962,1670,1268,979,981,1216,1178,847,462,347,292,418,625,1128,1400,1384,1492,1216],[302,237,312,344,322,386,529,471,332,295,280,314,309,338,302,270,325,418,377,331,314,303,302,306,309,292,301,386,314,308,294,290,269,317,438,397,249,237,248,235,235,234,258,259,281,239,284,345,383,410,412,632,1013,1282,1152,915,498,447,569,843,727,596,497,375,464,579,533,484,467,465,365,368,337,458,499,510,601,725,913,883,797,591,650,1050,1282,1434,1264,1194,1148,1168,896,639,843,776,550,498,422,423,491,582,510,424,383,552,939,705,376,341,338,317,319,329,297,307,462,591,616,567,506,458,437,444,436,411,479,542,486,484,511,441,410,402,467,545,474,429,394,438,454,480,459,545,808,1078,626,517,865,1064,1050,814,634,462,561,670,917,843,772,583,725,620,986,971,791,1178,1498,1198,827,969,1062,879,706,938,1124,1416,1446,1520,1420,1394,1526,1046,785,771,759,771,1078,846,1284,1004,630,513,668,1046,993,467,410,770,1472,1368,839,546,590,904,1450,1398,1576,1656,1656,1676,1480,1438,1228,976,767,1028,1152,1268,1172,1015,1084,1202,1308,1240,1005,1046,1136,1021,947,1094,1013,1042,1132,1344,1118,1178,1238,1254,1346,1250,1260,1106,1380,1526,1624,1284,1382,1360,991,894,897,1026,1324,1268,766,857,1218,1228,1354,1296,1282,1156,1196,1298,1406,1154,990,1092,1220,1176,1260,1158,1256,1018,911,1116,1021,886,927,991,1236,1630,1692,1344,1202,1220,1460,1616,1408,1296,1334,1166,756,464,710,970,832,1018,1076,811,711,872,953,967,932,775,830,1052,979,1021,1024,880,708,1038,1510,1274,984,749,581,833,1174,1204,1130,1332,1636,1472,1296,1112,1162,1256,1276,1554,1472,1350,1156,1074,1090,966,1178,1382,1308,1112,1096,1096,909,996,1168,1182,1326,1592,1410,1138,924,564,462,415,447,447,466,496,375,364,437,465,578,786,1228,1214,988,733,749,738,529,500,732,701,596,771,1066,1322,1062,838,653,1078,713,747,984,948,845,993,797,491,515,944,1430,1334,1160,1206,1338,1492,817,805,1164,1132,775,724,811,1152,1372,1192,1148,1052,910,453,312,269,321,377,373,311,297,382,379,459,679,725,576,418,362,269,252,219,389,516,633,1034,1136,1003,1158,1154,1482,916,690,872,1236,1288,1294,1336,1130,827,714,786,938,666,661,984,1013,935,656,540,483,536,601,548,573,742,658,577,655,940,894,830,957,805,723,902,900,783,751,926,880,857,809,845,1094,1334,1052,1166,1348,1088,714,659,967,1236,1190,1200,1012,1042,1078,844,848,1080,979,725,716,1100,1182,1040,1009,670,624,1010,1638,1842,1460,1046,927,786,790,1104,802,978,1280,1456,1018,438,354,329,321,276,454,463,644,1210,1180,702,784,958,1013,1318,1328,819,1160,805,775,957,974,1440,1738,1716,1246,1206,1104,1386,1426,1396,1448,1402,1444,1414,1346,1244,1192,1186,1236,1162,1126,1308,1009,955,1238,1264,1324,1218,1084,971,990,1112,1118,1042,715,715,775,672,858,1066,1166,1158,1160,1122,1009,1170,1318,1260,1588,1666,1272,1234,1100,1236,1258,881,619,651,763,853,1272,1180,877,1316,1558,1296,1234,959,1112,1356,1300,1140,1160,1238,1060,1184,1280,1368,1404,1190,947,869,1030,1238,1250,1310,1130,581,640,1166,1562,1582,1490,1410,971,783,578,443,451,594,613,567,771,1196,1452,1440,1394,1364,1328,1236,817,666,903,847,601,455,319,310,327,328,312,331,316,312,301,332,392,514,429,329,343,360,394,434,431,524,648,574,586,541,403,530,731,671,511,498,526,554,489,511,373,327,357,360,340,326,346,369,382,394,440,478,405,488,636,645,1250,1604,1660,1732,1388,1160,1360,1228,928,938,844,860,1120,1340,1256,1146,1042,620,653,1106,1352,1380,1274,1162,1412,1404,1182,1148,928,858,1050,1296,1468,1460,1376,1242,1068,1170,1324,1044,1146,1144,1256,1276,1244,1180,1158,1100,1094,1064,785,793,1460,1376,1334,1630,1552,1032,985,891,873,952,1015,965,1052,1056,641,511,655,1120,1306,1130,1036,1050,893,954,749,727,849,766,1130,1082,848,1166,1422,1052,572,437,451,524,484,708,884,821,832,1086,967,633,808,1118,1400,1242,775,728,1072,1206,1208,919,1122,1476,1426,1038,1086,1108,1424,1050,820,704,603,514,364,539,1058,836,356,431,455,369,383,601,670,599,719,833,755,1024,1072,1036,1072,1092,874,800,1128,1344,1338,1242,1200,1130,1028,1356,1288,962,984,1450,1456,1224,792,858,835,732,821,987,1011,924,1070,1086,791,1054,1378,1368,1200,1146,1132,1496,1778,1732,1666,1580,1514,1278,1112,1112,1004,1520,1042,692,944,1088,1208,866,403,432,403,379,364,381,463,582,399,344,327,322,323,376,451,469,411,365,411,439,472,799,1050,993,639,753,989,1028,1106,1194,867,695,462,524,524,474,454,337,248,249,278,305,292,345,561,1112,1490,1984,1824,1770,1482,1378,871,628,753,869,740,650,645,430,577,1098,1242,1166,603,519,883,664,435,449,643,1020,939,626,691,1060,1404,1240,1340,1188,1200,1214,1252,1238,1238,1066,914,1122,1248,1338,1138,1080,918,1004,1196,1160,1216,965,828,1354,1558,1248,788,764,966,1044,1023,840,922,999,1118,1090,1046,955,776,862,1072,987,976,1070,804,481,510,636,763,908,713,495,650,899,826,583,693,706,1076,1070,1058,1088,790,535,438,881,1378,784,674,1290,1328,1017,678,609,658,696,1186,1712,1806,1772,1606,1248,1140,1334,1216,967,587,577,554,370,536,916,1110,949,766,593,503,385,415,680,766,578,564,999,1344,919,486,655,978,1266,1224,1104,1152,1282,1550,1374,1352,854,472,595,811,725,616,592,616,855,1430,1582,1256,1256,1266,1098,958,713,594,653,658,456,392,402,838,1722,1298,799,1194,1188,1294,1316,974,889,1008,769,1114,1632,1406,854,675,1056,1204,1306,1176,1090,1128,1134,1136,1220,907,510,619,888,1086,902,1116,1042,1090,1288,1224,1172,1228,1204,1106,985,929,859,504,590,680,586,954,1204,984,972,716,541,877,1578,2370,1710,1248,1586,1768,1470,960,926,1074,1092,1046,889,926,907,761,524,465,514,520,456,875,1328,1218,1036,852,1080,1092,973,963,1042,1340,1448,1642,1596,1312,1148,979,745,769,897,1158,1192,1136,1142,1354,1478,1380,1336,1172,1094,1128,1180,1210,1104,988,999,993,1074,1154,980,811,729,1130,1794,1846,1876,1630,1034,1108,1528,1734,1642,1222,787,827,762,1015,1268,974,747,684,770,1130,1338,1334,1248,1036,1114,1164,1114,1270,1328,1256,1060,960,866,701,828,766,491,556,472,456,874,1144,1094,1122,1222,1232,1192,1142,1038,840,577,526,746,577,647,628,468,467,386,741,1422,1466,1302,1306,1058,1284,959,702,1128,1532,1214,872,955,855,741,894,1172,1178,992,1026,1108,1198,1226,969,473,448,516,473,536,428,264,257,277,311,756,1168,1006,701,444,419,427,385,357,812,1428,1196,1172,1028,834,666,969,875,686,1028,1462,1412,1306,1592,1548,1280,1312,1005,990,1106,1080,976,552,218,393,539,553,802,1094,1023,816,932,1110,755,494,406,566,540,600,616,449,341,310,502,842,1302,1692,1028,573,531,444,444,493,440,465,483,410,354,456,569,528,504,580,615,456,653,1608,1754,1762,1446,816,761,901,1494,2192,1792,1092,907,604,1011,1432,1380,1430,1750,1870,2024,2226,2236,2060,1532,1324,885,930,1124,936,495,395,487,555,601,594,516,383,407,405,454,698,767,1216,1448,1268,1376,1210,835,687,1164,1440,1166,1188,1286,1142,585,667,1488,1350,769,899,1288,1438,1282,1240,1042,811,901,946,938,549,372,367,468,584,853,1040,871,843,1160,1072,730,779,658,1026,1090,1082,1194,1320,1506,1772,2030,1682,1032,1072,1462,1322,1320,1362,1106,1076,1104,1150,1176,1005,780,681,952,1070,1088,1252,1312,981,647,682,1220,1094,778,573,361,403,655,918,531,808,758,603,386,342,388,409,443,436,424,422,425,534,730,706,636,610,545,454,474,413,347,382,381,549,910,1386,1356,1212,1182,997,954,1466,1388,1030,1044,845,767,1262,1194,1264,1286,1380,1316,1052,1028,892,819,664,550,408,319,250,277,244,324,757,1114,835,537,674,697,436,290,257,291,288,335,361,367,331,325,351,414,451,461,446,402,424,436,816,1214,957,1150,941,1162,1170,685,472,410,362,435,425,411,398,450,510,536,540,520,765,622,433,354,436,464,567,996,1252,1486,1268,572,382,573,967,1212,1092,662,670,686,601,804,1152,1682,1070,927,658,410,354,329,379,464,874,1246,1134,931,1296,1172,954,423,296,351,538,807,1136,1792,1666,902,946,838,869,562,734,837,724,626,642,618,583,451,392,366,391,754,1244,1468,613,818,1252,1002,852,550,407,421,363,422,619,1010,1244,1444,1528,1290],[345,286,285,358,404,376,410,410,354,319,303,331,307,334,321,304,345,381,345,305,296,294,299,285,309,322,315,341,317,317,302,281,272,261,306,335,287,312,284,262,240,242,265,271,343,529,524,566,842,746,496,728,993,868,887,667,461,576,684,708,609,631,654,377,452,560,554,604,619,633,462,378,471,869,817,493,395,476,702,1003,991,1048,1272,1184,1122,1266,1310,1198,1210,1260,847,647,808,756,756,698,467,374,451,599,560,500,408,725,879,487,432,341,313,310,323,329,316,296,404,480,550,552,469,403,432,488,475,448,623,591,563,636,635,441,374,368,524,589,469,392,372,406,295,378,606,892,938,1034,728,685,932,1074,867,814,880,586,924,1060,1318,1022,846,801,838,820,1022,1094,981,1050,1202,819,796,1078,1126,605,623,904,907,1118,1354,1374,1392,1570,1560,1404,996,1036,940,818,868,764,995,847,482,480,618,1042,1214,848,496,749,1446,1300,809,694,795,734,1066,1324,1400,1616,1600,1762,1742,1592,1362,1416,985,1032,1102,1336,1348,1228,1040,1032,1150,700,533,921,846,969,694,850,1094,1248,1174,1200,1214,1350,1278,1084,1454,1950,1596,1226,1438,1676,1314,1154,1324,1204,821,923,1362,1356,1344,1554,1122,1050,1262,1362,1506,1416,1250,1344,1290,1490,1650,1216,1096,1300,1564,1440,1450,1460,1418,1300,1202,1198,1226,1260,1470,1630,1550,1720,1708,1472,1522,1516,1674,1566,1356,1394,1446,1386,1210,852,1080,1216,1152,1432,1378,1168,850,1052,1282,1036,939,1034,1182,1276,933,1002,1102,1080,996,1238,1546,1214,900,977,999,996,1090,1062,951,1546,1792,1302,1386,1300,1260,1284,1206,1188,1222,1162,957,843,963,1198,1330,1210,1230,1250,1334,1218,1050,1122,1192,1136,1140,1182,1180,1202,827,459,348,339,411,393,543,747,543,319,495,772,775,544,825,1060,859,498,694,965,869,847,832,621,836,1190,1522,1372,947,894,761,1050,873,827,870,879,1162,1322,1098,952,1142,1262,1378,1032,918,1066,1170,1226,1060,1032,1032,770,534,469,424,746,1042,744,471,855,1034,747,411,345,391,362,321,329,318,371,322,354,418,468,374,321,291,245,220,225,441,617,524,668,957,1338,1118,1086,961,617,841,1256,1196,1100,1136,1040,1096,814,877,1102,1001,570,583,709,805,889,871,774,682,754,901,808,598,671,493,425,488,815,941,819,799,786,828,1060,1168,1214,987,763,693,1046,1019,732,998,991,713,862,1098,1256,1064,1112,1228,1220,993,1054,1080,1136,1048,653,921,1248,1060,987,1144,1112,712,537,483,570,775,1218,1338,1450,1270,706,995,1374,1732,1670,938,1140,1062,1304,1122,473,365,338,328,347,324,462,912,1180,963,422,547,622,723,952,926,714,1064,836,816,1008,957,1330,1272,1260,1318,1256,1126,1216,1294,1362,1410,1324,1114,1108,1216,1268,1140,1224,1126,1118,1044,1250,1074,1058,992,1116,1288,1064,900,794,901,1220,1122,1036,880,787,767,738,818,822,912,1162,1090,1010,1074,1388,1280,1066,1166,1682,1778,1366,1206,1316,1334,1308,1252,1394,1324,1078,1266,961,784,1296,1250,1260,1144,1017,1248,1362,1262,1118,1064,951,931,1034,1314,1620,1204,985,1152,1012,860,923,1072,1242,1096,660,785,1116,1200,1588,1476,1388,1346,1120,702,527,550,532,473,532,1044,1360,1322,1320,1286,1268,949,729,666,618,554,574,484,367,350,325,308,327,338,333,324,328,317,325,379,445,437,343,367,525,614,593,560,640,647,630,637,519,383,459,538,481,492,556,476,395,379,411,401,415,437,412,353,328,352,343,360,409,418,463,495,570,590,1072,1570,1600,1748,1460,1032,1204,1396,1322,1292,1380,1072,880,1094,1380,1574,1252,656,464,797,1060,1178,1294,1066,919,1428,1406,1312,1210,1060,1180,1218,1286,1494,1444,1246,1210,1318,1278,1204,1070,1162,1196,1262,1426,1310,1242,1144,872,799,1166,990,792,1140,1136,1264,1376,1170,1188,1072,772,747,855,937,944,1078,1170,978,855,1006,1274,1384,1058,996,1014,937,940,981,901,1004,1070,1168,1116,1118,1228,1846,1400,596,415,437,471,553,664,818,777,861,1100,1318,916,820,1346,1350,1372,1288,781,1136,1288,1066,714,1182,1460,1130,797,1080,1322,1112,830,902,785,547,362,377,626,863,690,394,339,308,481,773,872,678,499,692,982,749,998,1358,1284,1270,1340,1270,1168,1144,875,927,1098,804,676,1042,1990,1400,1112,1090,1252,1262,1216,917,930,921,722,602,559,802,1088,1086,1028,1066,955,937,1028,1196,1284,1260,1302,1318,1378,1736,1886,1854,1384,1011,1001,1090,1270,891,674,927,1160,1284,828,483,479,395,384,362,384,502,559,440,362,348,383,431,480,431,605,592,404,468,548,571,802,968,808,680,965,1278,1232,1334,1690,1182,830,412,390,292,299,453,381,271,280,381,521,495,455,706,1204,1626,1716,1760,1820,1604,1494,1082,590,642,814,857,968,1048,683,680,1060,918,637,447,662,810,691,634,594,1046,1426,1284,1254,1292,1526,1406,936,1028,1592,1598,1286,1202,1234,1274,1450,1250,1128,1018,1180,1176,1234,1270,1294,1298,1208,1058,796,781,861,883,1098,1010,1054,951,907,1007,1060,1021,1212,1400,1230,1158,1072,1044,1036,1026,1080,1302,1216,932,937,784,642,897,1024,797,546,623,902,880,514,429,480,811,1314,1514,1306,1096,664,422,798,1632,1268,794,1306,899,610,678,795,725,672,1066,1594,1664,1360,1094,772,1382,1576,1308,1022,526,499,502,421,529,862,969,604,516,431,403,326,389,437,536,582,683,814,1164,1054,421,520,867,1120,1005,1186,1214,999,1218,1172,1178,940,600,648,637,543,588,564,474,1062,1458,1376,1260,1322,1250,925,699,609,533,567,580,455,430,467,680,1148,1012,636,515,818,1344,1400,959,648,579,967,1578,1574,1216,697,707,1144,1346,1350,1202,904,885,898,900,859,1092,507,627,832,957,1062,1054,818,797,903,1078,1238,1282,1316,1372,991,948,702,692,1013,902,578,821,1174,1146,1114,1052,800,733,1706,2114,1338,1364,1796,1744,1508,1294,1166,1108,1076,977,903,1162,1138,863,481,348,359,383,432,858,1196,1124,920,720,1176,689,1122,922,1006,1370,1596,1780,1684,1334,1246,1152,987,889,976,1190,1316,1220,1288,1418,1380,1222,1120,973,994,1250,1346,1246,1188,1230,1200,1110,1028,931,825,664,865,1616,2038,1932,1870,1666,1498,1656,2176,1748,1316,1086,766,695,701,841,1019,1076,993,926,790,846,1058,1174,1156,1118,1238,1256,1196,1336,1252,995,1074,1008,897,828,897,796,634,957,1088,816,855,1170,1060,973,1298,1498,1518,1120,1002,835,515,670,988,906,901,663,429,369,480,1017,1490,1558,1572,1428,1592,1482,1244,1278,1384,1238,930,742,813,1200,1098,893,1050,1084,1256,909,997,875,936,669,398,423,399,332,299,364,349,360,328,270,714,951,979,660,373,428,381,362,488,1006,1532,1100,877,661,636,637,907,1136,1126,1076,1192,1098,954,999,1232,926,608,495,566,598,732,965,698,462,344,314,491,688,646,791,909,1078,1398,1128,517,299,296,322,620,871,761,496,248,340,861,991,1021,593,405,381,391,468,474,444,444,451,431,442,566,583,433,417,397,361,370,951,1950,2266,2272,2024,1668,1260,1266,2292,2210,1448,1050,1030,861,1166,1418,1576,1510,1466,1666,1914,2096,2272,2714,2458,2020,1546,1164,1354,965,502,389,492,587,531,579,716,579,554,499,573,799,783,1148,1622,1702,992,1021,1440,1254,1576,1848,966,578,839,1094,863,1124,1788,1486,807,747,1036,1356,1244,1146,1134,871,851,1136,750,411,742,734,688,910,726,684,992,1394,1438,1110,1366,1266,1005,1210,959,877,915,885,1354,1670,1650,1518,1034,1178,1680,1240,1023,1152,1308,1312,1168,1230,1704,1664,1320,1022,1036,1066,1136,1060,1076,960,741,708,1001,1260,1086,467,383,561,727,898,852,1174,913,485,413,456,434,399,443,484,522,449,403,373,415,705,804,689,414,254,298,333,345,363,339,513,688,1032,1272,1184,1166,1009,1426,1782,1286,1184,1304,999,690,836,890,1028,1196,1438,1230,957,923,1004,797,494,460,357,274,228,230,257,227,566,885,703,681,982,872,468,297,245,258,289,339,367,374,346,301,311,366,416,458,427,440,505,522,959,1296,1142,1062,858,1066,943,481,434,418,426,482,425,439,511,651,612,536,579,685,686,508,305,307,448,372,763,1296,1382,1366,1086,657,397,399,404,651,673,413,380,461,412,641,869,724,568,755,556,332,268,333,377,358,580,1080,1152,684,789,797,868,419,268,368,562,822,973,1324,1290,1112,1246,1040,1012,959,965,986,883,898,1028,888,554,342,325,304,319,380,461,690,466,393,691,681,699,617,683,712,635,497,669,1168,1284,1360,1306,1284],[367,293,319,372,401,360,347,312,274,306,361,392,411,371,347,366,416,424,343,284,287,310,289,274,303,349,346,428,466,322,294,283,283,261,264,309,308,280,273,260,234,275,314,320,659,886,656,928,1496,1072,708,583,618,487,365,373,499,734,735,615,975,1302,1212,575,495,576,574,622,636,639,582,430,766,1250,861,566,406,403,748,1019,1114,1614,1720,1290,933,759,1086,1494,1506,1302,894,802,967,802,1014,806,556,590,626,535,589,584,697,958,575,391,350,302,336,313,313,326,313,319,309,312,389,491,429,359,377,462,421,531,647,635,547,816,756,390,380,433,518,532,550,420,402,417,384,608,976,1013,1056,1042,798,850,1144,1364,885,1001,841,833,1014,1110,1094,932,1016,915,768,874,940,946,993,1009,879,548,797,949,943,480,535,854,846,992,1226,1148,1384,1332,991,1140,1306,1216,1222,1366,1166,1030,1156,1080,1007,1004,1156,1286,1366,1372,892,863,1318,1490,1472,1510,1362,960,907,1156,1208,1382,1376,1572,1542,1398,1440,1454,1290,1312,1286,1412,1628,1540,844,887,855,448,765,986,893,1003,995,820,1100,1414,1388,1346,1230,1736,2074,1372,1610,2186,1610,1284,1492,1410,1192,1158,1202,1316,1178,1082,1172,1238,1464,1610,1246,1192,1300,1128,1126,1370,1448,1488,1258,1622,1352,1098,1094,906,613,870,1098,1218,1344,1364,1158,1192,1278,1340,1596,1632,1600,1778,1772,1498,1234,1148,1284,1384,1206,1366,1422,1496,1532,1440,1432,1158,1328,1426,1162,807,928,1460,1500,1016,983,1282,1188,1312,1292,971,849,888,828,1224,1432,1076,955,1224,1562,1300,1128,962,733,1306,1636,1212,1005,1018,1072,864,850,1230,1310,1228,1130,852,1176,1238,1326,1438,1408,1322,1254,1134,1158,1120,1100,1122,1092,1096,1318,1009,722,672,436,324,374,415,611,965,969,608,603,857,594,350,826,1128,912,509,415,542,755,825,676,563,709,961,1166,1007,1138,850,912,1046,876,851,853,930,1180,1194,1246,1238,1384,1238,1202,944,1066,1090,1058,1302,1380,1106,1256,1258,607,532,781,1020,874,849,729,858,1110,790,597,839,574,484,415,430,332,267,295,267,241,281,279,252,259,327,401,339,736,1074,952,980,1256,1632,1128,1042,961,862,1144,1296,1144,1282,930,769,733,579,741,933,734,459,508,587,841,1156,1080,978,1070,1120,1200,1116,907,946,736,601,695,828,767,600,654,849,929,1068,1098,1158,998,636,532,521,601,502,529,446,474,866,1036,857,757,1150,1322,1338,985,1204,1086,880,1078,1015,756,814,1148,1194,1438,1126,694,786,582,724,1340,1412,960,1212,1088,711,1172,1294,1086,796,1050,1340,1120,1268,819,371,390,318,405,504,459,946,1130,865,1046,493,379,415,363,449,410,476,739,659,790,999,465,286,579,813,1162,1110,1072,1226,1456,1416,1306,1260,1176,1232,1216,1324,1190,1130,977,1238,1186,1202,1304,1186,1126,1238,1174,878,840,1092,1096,1370,1362,1244,1116,927,896,952,954,1034,1100,1066,1056,1100,1192,1312,1208,1388,1216,1416,1590,1584,1526,1568,1970,1834,1416,1552,982,950,955,703,860,1028,1064,1334,1216,1064,1236,1528,1328,1176,1252,1212,1076,1148,1216,1162,993,971,1084,1084,800,609,951,1074,788,695,943,1192,1120,1504,1522,1250,1248,1242,988,734,628,624,646,684,1290,1162,1166,1310,1274,1146,941,995,1188,1002,603,556,460,366,343,316,302,321,351,336,315,332,345,345,352,423,508,461,535,626,606,679,601,540,624,595,612,594,467,454,448,444,393,426,415,373,413,430,397,433,472,422,367,379,446,408,411,451,444,540,558,531,833,1476,1588,1648,1548,1154,1122,1184,1160,1188,1390,1194,1310,1346,1138,1246,1390,1224,946,863,1158,1074,1084,1194,873,792,1094,987,1086,1168,1096,1256,1232,1296,1500,1478,1238,1134,1414,1290,1108,1166,1198,1220,1246,1158,1222,1296,1088,1034,959,1118,1180,1234,1112,1070,1198,1368,1454,1354,1096,1116,1098,1058,979,916,1112,1246,1250,1202,1308,1464,1492,1078,877,934,880,1264,1550,1150,1130,1352,1340,1170,1190,1294,1134,628,458,505,451,513,846,886,767,714,985,1230,1288,855,1064,1770,1714,1698,1772,1178,1192,1144,961,985,1286,1278,947,871,1054,1344,1124,891,974,952,740,499,386,362,485,542,338,308,367,651,1013,827,383,282,489,827,952,1124,1200,1280,1290,1252,1214,1222,1190,1046,1052,1052,592,518,617,962,1038,1126,1130,1108,1122,1144,1018,1034,916,754,490,669,1036,1170,1158,1094,1152,1046,827,801,1180,1506,1602,1494,1088,1222,1486,1670,1590,1200,897,857,816,1003,883,742,1118,1294,1106,906,785,819,702,586,483,430,664,778,585,506,525,503,421,429,387,745,764,463,494,664,653,810,1022,867,733,905,1096,1118,1072,1352,1090,534,266,282,283,330,398,390,376,391,524,979,849,419,532,773,892,1040,1252,1284,1216,1268,1286,908,793,971,1132,906,1384,1418,1272,1092,786,922,1146,933,844,886,760,711,1194,1544,1328,1216,1396,1630,1478,1210,1234,1318,1146,1064,1086,1224,1338,1318,1122,1132,999,1078,1202,1074,1086,1268,1224,1074,835,578,691,718,1616,1428,1074,1134,1086,1026,1188,1021,826,1238,1448,1236,1274,1326,1184,1086,1198,1456,1406,1003,1130,1412,1228,1276,1076,630,519,473,593,617,741,489,409,505,700,1094,1136,961,918,398,360,651,1276,1240,850,834,968,990,915,1032,824,573,670,1318,1770,1648,1190,873,1846,1704,1248,1001,584,384,581,777,601,545,544,408,356,438,785,598,397,367,375,617,993,1024,998,927,390,422,834,834,985,1430,1302,1028,1106,1020,1005,1200,1011,805,777,658,727,1024,1092,1306,1274,1324,1292,1224,912,518,497,475,518,475,413,378,426,620,891,1084,1034,885,823,882,949,1024,957,736,904,1282,1478,1460,1198,965,1064,1344,1298,1266,1336,1140,755,721,927,527,527,516,907,1106,826,607,616,1001,1078,824,1006,1300,1186,1206,1374,882,1038,1202,1144,1098,841,544,680,785,764,780,1132,1214,1070,1426,1420,1196,1526,1864,1782,1610,1478,1186,1078,1174,1172,909,960,943,574,398,378,315,461,591,678,930,796,761,841,1114,978,1310,1172,1208,1614,1884,1824,1708,1602,1534,1194,1004,894,1030,1562,1538,1240,1428,1566,1490,1526,1372,848,792,1136,1262,1358,1296,1144,1019,994,866,614,580,644,848,1462,1958,1694,1548,1592,1522,1416,1544,924,426,612,740,805,1012,1084,1072,1158,938,830,808,673,588,776,924,1092,1326,1434,1288,1216,1206,1152,951,755,652,708,763,592,828,1414,1410,861,752,1013,830,845,1212,1660,1282,1100,1212,1130,904,1124,1100,889,1012,756,429,350,519,1009,999,952,1003,1156,1462,1556,1632,1580,1180,654,721,1040,870,1262,869,636,841,1202,1576,1206,1092,1210,846,376,375,505,698,820,686,500,444,703,769,556,493,749,1044,819,433,595,394,426,890,1248,1344,1192,1021,886,1044,1070,1102,1470,1780,1424,976,1088,1160,810,491,517,354,508,535,472,455,656,908,851,458,359,386,485,772,799,750,992,1216,823,379,310,329,326,469,767,813,669,514,689,1244,1220,905,465,368,394,393,383,402,472,520,541,628,533,515,421,372,387,360,372,462,980,1546,2030,2194,2060,1890,1700,1982,2326,1758,1246,1056,939,822,733,932,1158,1160,1356,1870,1872,1874,2192,2464,2556,1854,1372,1426,1152,703,539,594,636,591,524,440,541,739,691,603,645,710,680,699,1118,1082,878,1182,1856,1904,1466,1186,800,469,434,583,835,1130,1266,1166,1140,1044,1208,1108,1172,1272,1222,1118,1066,977,835,622,672,780,1042,1166,817,518,676,1366,1346,1434,1364,1078,1176,1028,1076,1244,922,778,1230,1566,1624,1658,1532,1470,1456,1260,1023,1190,1016,1124,822,845,1288,1588,1396,1436,1518,1340,867,698,839,946,811,678,930,1300,1124,636,398,456,667,1036,1001,793,567,454,441,441,417,325,343,412,462,443,427,419,381,570,813,656,292,263,357,398,327,318,319,378,561,683,768,1148,1286,775,807,989,934,1114,1148,871,566,726,945,913,1084,1288,1252,1176,944,816,544,490,491,330,317,387,354,260,198,305,599,818,713,603,663,536,284,256,295,340,378,359,376,396,351,325,339,437,445,441,458,490,564,582,640,574,581,580,625,595,417,428,429,404,428,501,514,612,653,544,575,648,637,557,433,263,264,343,487,911,1086,1512,1358,1036,784,562,439,400,399,436,386,430,621,546,532,585,553,978,934,480,301,294,337,302,348,711,990,861,660,570,530,426,280,263,292,420,482,457,670,720,879,883,1080,1040,891,872,879,829,1004,1188,1274,998,815,641,466,376,373,383,450,390,435,568,544,527,767,1280,1434,1478,1038,1662,1314,1122,1068,1092,1352],[359,311,360,324,335,330,329,276,238,316,546,762,650,441,457,531,554,478,360,280,283,313,301,301,301,365,440,613,624,436,317,280,258,253,253,265,258,247,263,265,278,305,382,669,800,492,447,908,1336,1156,809,557,480,406,449,436,424,609,585,612,1070,1174,1088,627,466,524,493,470,543,598,603,694,897,1180,914,985,681,514,659,692,618,825,1096,1268,1346,1188,1358,1610,1708,1586,1538,1172,1026,969,825,673,680,753,721,528,512,719,937,686,435,364,319,335,398,391,382,356,316,306,306,280,318,539,521,491,526,427,427,512,503,483,582,734,532,416,437,428,507,445,506,468,445,468,609,1124,1306,1054,1230,1430,1604,1276,1126,933,760,988,867,889,880,719,741,1274,1578,1356,1104,1048,922,1096,929,1036,944,771,893,858,814,699,558,869,942,1134,963,1132,1290,1322,955,1126,1216,1230,1416,1458,1398,1286,1260,1226,929,1108,1216,1266,1318,1360,1400,1280,1238,1346,1436,1726,1700,1104,954,1186,1402,1378,1502,1204,1148,1286,1134,1013,1134,1332,1534,1512,1434,1338,856,1164,1084,745,990,1056,933,926,897,745,942,1166,1140,1350,1238,1448,1494,938,1138,1528,1368,1228,1244,1096,1238,1360,1238,1288,1270,1318,1616,1656,1720,1606,1610,1618,1322,804,940,1366,1548,1260,1394,1562,1226,915,999,1058,957,646,764,1472,1724,1468,1310,1546,1600,1470,1288,1176,1412,1742,1522,1096,1122,1022,894,1164,1074,1404,1212,1230,1238,1250,1246,1394,1530,1442,1384,1332,1330,1554,1432,1048,1432,1386,1028,1304,1318,904,845,777,717,929,923,844,911,1136,1670,1504,1416,1126,613,749,896,833,879,1054,1070,864,912,1260,1290,1246,1200,1054,1098,1162,1320,1466,1346,1230,1003,935,1254,1282,1040,1098,1160,1154,1060,505,328,458,450,318,346,415,568,973,1124,849,973,903,505,414,967,1222,695,395,364,314,371,492,578,626,926,1248,1422,1264,949,728,727,779,1002,1021,940,921,921,815,1142,1282,1328,1290,1378,1308,1366,1322,1048,1212,1338,991,1206,1412,736,629,1190,1472,1346,1370,1278,1468,1480,783,613,885,691,622,493,419,304,286,250,274,327,270,288,320,447,904,1056,519,1038,1372,1408,1400,1460,1130,788,674,767,1206,1558,1270,762,849,638,664,594,661,880,655,459,519,507,577,966,1126,1108,1390,1384,917,683,816,1156,1108,678,504,598,736,677,622,661,797,979,1018,857,776,625,472,457,485,472,381,354,346,567,919,852,677,783,1322,1448,1354,1242,1152,863,802,1064,919,794,819,1166,1218,1504,1132,993,1152,806,930,1384,1194,787,798,798,1005,1166,1028,838,791,970,1242,1246,1208,737,351,378,428,668,1028,655,1306,1508,1280,1342,1014,1030,1048,993,1090,885,556,369,433,784,966,622,565,857,981,1012,1032,1044,950,977,1058,1074,979,930,905,918,1028,1164,1036,1019,1288,1196,1142,1180,1206,1494,1352,955,703,791,1258,1434,1710,1762,1504,1302,1178,1074,1044,869,1134,1322,1198,1228,1254,1266,1228,1078,1170,1166,1086,1300,1502,1692,1760,1924,1904,1752,1646,1248,907,677,590,847,1094,1246,1456,1478,1422,1078,1336,1232,879,850,1102,1036,1128,1106,1112,1200,1096,892,918,890,675,836,782,773,1058,1412,1238,1072,1362,1472,1280,1292,1222,1058,774,846,870,1034,1018,1194,1003,905,1017,1290,1238,930,962,1122,906,586,498,451,365,322,305,297,300,314,316,309,314,312,314,306,334,417,451,670,565,570,679,616,632,608,556,648,681,595,504,498,525,445,386,397,365,386,391,343,352,396,403,396,407,414,438,440,421,482,523,521,691,1282,1564,1636,1636,1278,1326,1200,1084,1150,1234,1538,1350,1198,1098,980,1180,1304,1408,1310,1094,1021,1064,1202,1268,905,659,977,877,1005,1520,1334,1150,1060,1222,1226,1328,1250,1009,1170,1138,1064,1146,1194,1124,1098,1116,1390,1518,1262,1250,1266,1224,1254,1210,1172,1222,1284,1362,1428,1628,1244,1224,1126,938,992,906,922,1188,1216,1284,1312,1302,1230,1019,1070,1156,1220,1374,1350,1314,1520,1400,1128,1132,1144,1094,775,573,462,490,525,520,914,900,1044,1164,1024,910,707,582,818,1204,1388,1052,903,653,917,1030,1026,1254,1344,1158,1064,1007,1013,1196,898,835,1188,1186,1064,606,400,404,392,331,299,335,459,767,852,547,323,294,428,755,959,1092,1476,1500,987,1104,1208,1238,1294,1132,999,897,879,916,896,759,889,1192,1172,989,926,879,783,975,1048,831,643,898,977,906,1036,1072,1066,1202,1094,857,1042,1420,1448,1454,1490,1388,1440,1656,1598,1118,853,995,886,899,1188,1460,1556,1298,796,655,734,847,930,779,736,736,827,983,893,549,523,485,477,441,408,634,675,481,438,509,565,690,954,859,948,754,907,1196,1076,1180,1046,477,274,366,350,300,350,495,498,664,861,1140,692,427,618,651,544,808,813,757,928,1104,1230,1204,1150,1080,977,886,910,642,590,620,655,1070,1362,1050,962,933,916,1178,1202,1396,1102,907,1342,1476,1168,1011,1134,1164,1070,1182,1228,1028,1178,1052,1136,1324,1046,952,1054,1066,1236,1436,1284,1110,771,891,927,741,976,1128,1146,1054,1054,1098,1017,822,951,1044,1136,1242,1176,1040,921,1110,1426,1366,868,694,960,1100,899,741,522,399,394,462,608,911,1022,834,692,883,926,584,673,767,681,465,512,700,684,871,1098,919,828,797,853,1142,951,985,733,1214,1336,1122,930,888,1376,1382,1218,1192,971,622,560,642,567,497,433,583,534,542,798,597,395,326,340,427,578,944,1118,879,576,686,836,697,1196,1798,1488,982,770,601,717,1328,1188,901,766,876,980,1072,1176,1356,1528,1340,1072,971,719,473,455,764,1178,718,517,502,629,945,1078,1122,1148,1064,953,901,757,978,1208,1170,1176,1188,1244,1346,1274,1274,1448,1252,996,1132,1344,1158,761,797,1124,758,720,803,935,1040,976,843,686,985,1386,949,1118,1094,1064,1036,943,942,1180,1236,1044,1140,907,573,673,885,816,709,897,1052,1268,1390,1318,1326,1548,1722,1676,1594,1554,1036,763,1224,1032,835,933,849,608,433,374,383,442,541,655,872,680,833,944,1214,1354,1380,1378,1252,1456,1624,1538,1642,1474,1434,1148,1054,1086,1242,1510,1334,1386,1568,1376,1296,1404,1368,849,623,752,1003,1166,1148,1104,1021,1100,1100,904,974,995,905,1182,1782,1730,1720,1658,1128,1108,1764,1578,844,673,753,874,993,1138,1100,1186,1032,926,687,474,441,615,996,1196,1260,1716,1296,1132,932,943,774,590,477,430,383,498,835,1100,935,505,476,619,673,869,1180,1288,768,799,1013,1126,1124,1316,1256,1044,851,488,360,306,275,420,626,839,943,872,982,1416,1632,1550,1350,973,966,1142,1076,780,434,352,687,1112,1228,1282,1398,1132,613,777,805,627,783,916,687,437,476,1020,1068,550,505,746,846,716,583,451,459,664,871,824,1118,1594,1358,1328,1548,1374,1196,1200,1312,980,913,919,854,671,449,326,356,600,677,512,438,635,772,721,488,403,417,452,731,731,662,678,857,752,302,349,375,381,440,495,441,481,874,1116,1330,1398,896,396,387,495,564,566,551,553,617,700,694,456,398,351,342,359,383,385,579,998,1226,2012,1940,1950,1852,1822,2092,1826,1228,1040,919,711,634,590,712,963,1234,1308,1722,1794,1542,1826,2132,2042,1750,1884,1960,1440,1172,998,723,531,449,477,521,534,529,527,455,617,1128,1116,1023,959,713,867,999,1588,1538,1046,1138,1286,949,449,647,1012,1172,986,1316,1316,1050,772,572,879,1032,961,1338,1388,1342,1680,1576,1350,1300,1614,1494,1072,704,656,675,716,916,695,779,1190,1184,922,954,800,738,1208,1666,1750,1584,1590,1410,1470,1374,994,1082,890,1280,940,755,892,1224,1222,1350,1296,1036,935,1084,778,708,794,1070,1178,1216,919,568,452,659,1752,2092,933,449,393,395,389,359,381,319,363,351,404,411,400,400,351,464,804,812,466,428,473,426,303,321,332,314,425,456,608,1312,1766,1048,777,648,519,776,980,709,503,651,759,904,1072,1015,941,1200,872,563,481,427,343,330,454,573,533,348,250,303,457,607,526,454,611,587,352,271,269,320,382,391,401,401,372,359,377,462,475,461,443,539,626,591,537,458,479,479,459,477,430,427,437,405,455,547,563,568,508,501,731,871,738,511,342,298,275,323,652,791,739,899,948,831,646,501,409,401,557,1000,810,702,784,647,653,750,1058,1296,854,561,407,303,283,275,289,522,949,758,474,318,314,306,329,324,313,298,246,240,341,733,965,686,568,458,382,596,829,877,638,766,1026,1156,1306,1484,940,559,452,490,457,435,745,1036,868,828,947,1498,2164,1816,1238,1494,1410,1432,1430,1440,1252],[441,366,311,301,322,284,298,291,300,351,482,623,563,556,644,758,645,439,332,270,267,290,294,291,291,368,617,730,572,423,310,254,223,242,277,271,249,267,272,302,350,427,568,691,612,374,332,780,1300,1104,725,732,558,471,489,462,352,358,398,623,1010,1001,702,534,548,558,422,352,460,560,607,581,553,1022,1136,1015,592,413,552,781,746,839,1078,1170,1588,1506,1246,1440,1654,1572,1678,1244,904,1086,785,540,595,656,890,810,573,901,791,398,399,425,349,315,344,373,400,333,305,301,296,273,287,344,471,583,566,417,394,395,423,514,536,517,501,501,463,550,529,393,370,387,391,465,791,925,995,1174,1068,1264,1544,1530,980,629,1024,1370,1302,1130,1084,1232,1272,1602,1516,1398,1620,1516,1186,879,773,997,1074,954,811,711,917,987,628,690,543,824,789,1182,1246,1266,1252,1314,1080,1230,1552,1390,955,1046,1016,1198,1180,966,933,989,1020,1292,1420,1260,1328,1252,1128,1656,1764,1004,1122,1398,1460,1656,1584,1044,1021,1286,1204,1056,1058,1234,1412,1328,1312,1294,1016,1208,1054,877,862,809,943,1066,570,567,800,1390,1450,1410,1262,1350,1328,1188,1318,1588,1280,1116,1246,1246,1276,1984,1388,1192,944,1124,1344,1362,1484,1418,1228,1184,1310,1114,902,1080,1750,1538,1516,1260,1250,1030,766,973,1250,790,821,1224,1130,1156,1446,1482,1256,1316,1230,1346,1624,1698,1408,1160,1198,1030,692,858,1138,1120,1092,1180,1024,1050,1472,1578,1450,1514,1452,1260,1272,1476,1484,1526,1760,1488,1218,1488,1354,973,806,623,747,1024,949,1214,1166,727,1002,1188,1038,790,494,372,375,550,900,1023,1060,1054,1106,1448,1342,1152,1116,919,959,1116,1218,1244,1106,1324,1236,1108,1134,1278,1140,1394,1486,1440,911,427,323,315,319,309,402,398,500,742,988,1076,943,902,822,544,1140,1628,722,460,413,266,305,448,709,606,677,783,1110,1272,1164,1040,900,1106,1400,1015,734,799,999,1013,1070,1488,1462,1396,1628,1522,1500,1288,904,1086,1300,1140,1098,1220,910,996,1426,1266,1178,1438,1564,1814,1628,893,425,375,579,1008,503,335,350,302,259,315,334,254,341,347,355,626,655,617,896,1138,1276,1448,1514,1284,1176,901,1028,1550,1654,1144,637,639,575,547,478,425,365,323,468,615,522,650,1060,1034,1142,1476,1306,788,805,908,982,866,562,476,525,514,628,681,661,651,816,944,933,961,962,938,912,783,669,612,565,574,626,536,550,937,1076,1090,1094,1170,1218,1388,1266,1254,898,904,978,1160,1344,1604,1594,1198,1174,927,651,889,991,907,538,580,790,951,1098,965,777,878,1294,1418,1130,858,618,421,440,396,584,892,651,1122,1346,1440,1356,1108,1122,1222,1001,1082,1196,709,353,519,917,1126,922,822,1128,1354,1304,1184,1018,738,506,625,673,793,794,586,527,702,940,1174,1398,1338,1106,1164,1082,1122,1422,1428,1138,913,999,1134,1370,1426,1466,1472,1408,1320,1040,847,1004,1102,1214,1114,1128,1156,1116,1122,962,830,851,979,1294,1238,1432,1720,1778,1748,1772,1708,1488,1302,1084,814,988,1116,1046,897,1146,1682,1388,1278,1078,843,754,923,1228,1350,1352,1194,965,1017,1050,987,724,622,694,861,1060,1046,996,888,741,1086,1350,1280,1242,1212,1140,825,903,1009,1142,1170,1288,1196,735,742,1382,931,564,528,586,462,395,432,419,358,328,310,302,301,308,306,306,308,314,335,316,340,376,551,631,534,636,658,689,727,605,498,425,453,448,395,481,549,498,426,388,375,427,361,338,368,375,393,422,398,395,419,370,425,546,606,730,1098,1528,1596,1780,1356,1614,2122,1594,1164,1084,1242,1332,1070,963,1136,1084,1208,1274,1300,1418,1230,915,1026,1132,1182,1044,1120,1354,1088,1054,1304,1114,905,838,1080,1198,1124,1064,1048,1154,1350,1286,1146,882,924,1176,1122,1300,1242,842,974,1302,1368,1106,966,1000,1044,1046,1118,1574,1962,1358,1124,1013,880,1070,988,1016,1344,1328,1260,1180,1294,1368,1122,1096,1166,1534,1366,1230,1272,1450,1294,1112,1176,1034,738,630,656,483,420,432,487,659,898,1242,1214,1214,1026,946,1050,996,1130,1158,766,535,500,803,1062,1158,1382,1366,1206,1086,1096,1200,1060,805,957,1190,1286,1290,838,469,364,347,349,356,394,774,894,615,343,268,278,479,854,1017,1804,3096,2464,1310,968,1021,1110,1272,966,908,926,1074,932,1062,993,767,984,1042,967,981,772,687,810,736,565,1030,2030,1742,943,1026,1100,1096,1168,1242,1002,1005,1258,1300,1354,1350,1252,1282,1400,1624,1380,882,919,878,1005,1588,1848,1616,1072,650,453,414,628,803,788,800,730,791,1082,1328,1104,853,614,772,763,613,650,515,392,372,353,396,655,902,714,636,513,938,1560,1254,1088,1028,422,282,325,293,296,391,475,629,785,881,1042,882,806,1148,1140,885,1022,772,468,558,1009,1250,1324,1116,765,757,854,549,393,555,843,749,848,1012,871,727,812,920,1112,999,960,1090,1324,1280,1021,731,660,655,879,1216,1306,1114,1090,1204,1186,1282,1272,1090,1122,1038,1148,1160,1104,965,913,892,1008,959,763,703,941,1098,825,801,913,984,937,1130,1178,1222,1108,971,1036,1092,1118,1310,1244,915,848,833,655,471,401,448,480,655,938,899,898,1162,935,579,988,1034,498,597,452,351,330,605,1046,1094,1104,1192,1064,840,807,874,1332,1222,1006,658,1140,1242,1202,1410,1328,1202,1172,1150,1180,1350,1066,1044,857,827,772,811,1088,1021,1148,1015,515,488,393,452,758,998,1050,1212,1048,672,920,966,669,967,1208,957,999,575,487,541,883,834,720,554,831,1028,1092,1122,1324,1438,1076,1001,943,911,624,449,662,1138,1154,902,755,741,827,874,1018,850,1021,822,926,1182,1300,1288,1152,1021,1136,1252,1272,1282,1068,1070,927,1220,1342,1294,981,561,717,1030,845,801,727,581,611,558,775,1010,983,808,825,1104,1276,1332,1292,1314,1210,1132,1122,1130,1366,1140,557,460,780,1120,1256,1116,933,1188,1534,1504,1668,1918,1818,1578,1144,1126,1092,748,951,1036,1274,1328,1090,855,641,482,644,641,615,703,689,673,741,799,1124,1312,1508,1564,1230,1090,1394,1514,1676,1592,1642,1282,1046,1088,1010,906,1160,1504,1340,1196,1076,861,639,526,498,592,857,1010,1094,1284,1346,1284,1178,1092,928,840,730,790,1330,1720,1822,1826,1548,1578,2108,1984,1272,675,867,1070,1066,944,893,979,1070,952,659,597,687,644,1016,1148,982,1084,964,1200,940,1013,1004,725,591,569,577,865,938,998,757,450,749,984,1080,1164,1184,910,707,644,642,626,820,1192,1148,1146,890,412,326,347,339,585,931,846,818,880,983,1444,1528,1498,1510,1446,1310,993,928,525,352,454,971,1226,883,969,1130,872,591,1152,1374,1220,618,538,466,320,606,1120,1008,393,326,308,421,455,807,966,832,745,767,529,1320,1886,1232,1388,1384,1356,1118,1106,1248,1154,1078,714,655,655,797,700,410,461,515,404,511,625,608,976,966,700,641,815,791,582,461,606,1056,860,312,311,327,418,504,408,352,473,950,1542,1586,1064,677,419,429,533,642,647,621,516,485,472,411,399,415,386,345,350,385,415,717,952,902,1440,1836,1864,1808,1922,1830,1472,1266,1322,1406,872,601,444,604,763,849,1086,1454,1400,1424,1942,2040,1906,1954,1616,1162,940,1114,1516,893,608,559,463,598,785,773,644,551,1114,1592,1466,1064,641,641,589,734,1066,1108,1184,1434,1468,924,696,1220,1618,1382,1074,1138,1042,725,529,683,637,388,471,761,961,1486,1576,1284,2052,1624,1292,1056,844,946,790,525,777,662,503,459,668,1034,768,517,631,647,973,1414,1582,1664,1700,1460,1176,1104,924,1118,985,762,741,646,997,1392,1402,1160,1274,1592,1344,1618,1304,1152,1236,1216,1168,1050,1206,1048,893,1238,1632,1366,619,509,420,306,235,258,324,355,366,381,385,343,307,316,335,448,579,595,358,382,411,345,333,312,291,306,335,376,380,677,1600,1436,584,343,364,796,1064,854,653,472,621,825,675,669,611,903,756,587,423,339,338,442,520,514,483,346,271,277,332,455,511,558,646,577,376,262,245,298,412,425,404,389,397,395,376,395,425,453,424,449,572,667,600,508,446,494,492,487,494,417,376,357,417,477,474,551,564,472,677,1118,898,481,388,373,333,446,735,783,689,662,671,561,419,379,371,368,577,869,750,769,1016,1102,1016,697,790,918,579,400,376,328,325,343,330,326,406,477,502,497,383,310,341,372,321,282,277,295,319,774,914,554,334,383,382,416,615,694,929,853,975,1362,1700,1614,1192,909,719,557,474,429,736,990,802,948,774,1102,1144,681,884,1002,1180,1200,1294,1418,1222],[468,413,328,294,285,251,256,281,299,323,356,444,474,669,689,665,469,338,309,295,284,312,310,316,411,520,763,619,405,291,244,231,238,261,274,276,297,276,306,521,642,767,971,933,711,586,714,1060,1434,1074,658,596,353,270,329,402,346,289,339,673,1144,1098,810,609,556,482,368,368,421,538,617,574,540,755,1036,1068,909,827,824,997,941,1124,1170,1208,1448,1244,1388,1404,1316,1322,1562,1194,939,961,655,526,537,680,786,741,850,964,537,321,455,552,386,309,310,406,353,354,351,321,306,300,291,314,342,405,448,459,402,375,383,430,433,514,554,452,426,524,488,414,371,524,844,858,945,929,1056,1184,937,1212,1252,1324,1044,780,888,1114,1260,1226,1204,1570,1384,1402,1370,1476,1634,1566,1410,1098,792,749,684,520,536,419,565,681,810,776,558,480,800,1282,1170,749,842,1294,1454,1336,1422,1418,1338,1400,921,875,1366,1542,1456,1170,828,746,966,932,810,678,501,1005,1526,1126,965,1252,1482,1470,1308,1210,1246,1348,1432,1422,1186,1230,1386,1460,1190,1232,1172,1024,713,436,498,618,997,975,619,795,1198,1410,1224,1044,1108,1144,1268,1194,1132,1064,1084,1718,1238,1216,1132,1256,1290,1290,1058,1234,1360,1404,1588,1572,1268,1330,1260,1170,912,1272,1820,1780,1368,1013,1200,1548,1488,1230,937,586,962,1290,1350,1266,1272,1116,971,838,874,1412,1838,1754,1356,1450,1056,953,780,947,1218,952,1272,1680,1226,1019,1286,1264,1114,1200,1274,975,1240,1376,1412,1300,1444,1538,1420,1472,1578,1562,1124,1002,873,781,671,1156,1156,919,1005,939,773,562,459,525,597,984,1432,1246,1284,1154,919,1172,1268,1300,1162,946,989,1024,976,891,927,1234,1392,1208,1064,1354,1262,1164,1019,840,592,538,516,348,334,365,479,392,511,486,728,1001,1072,1128,1066,772,546,473,357,445,322,257,320,450,711,670,821,994,1064,1058,1036,1070,1412,1620,1260,894,566,544,1088,1302,1210,1506,1466,1434,1520,1466,1064,755,650,1174,1322,872,608,840,939,1120,1344,1013,865,1092,1188,1192,1276,1104,559,373,390,340,239,356,372,321,280,291,270,274,342,329,359,482,882,1086,1000,1272,1410,1504,1364,1194,1514,1550,1516,1614,1450,960,677,565,456,420,412,301,278,301,510,624,519,808,1232,1058,954,1272,1322,1136,868,935,1052,745,546,861,926,667,688,694,623,642,625,914,1274,1106,1202,1134,1044,1124,1184,1110,942,697,527,505,678,930,903,781,936,1078,1238,1506,1486,1426,986,1034,858,995,1270,1266,927,917,1108,1136,944,1070,1122,886,501,749,691,586,625,507,528,811,1160,1304,908,892,772,485,403,356,378,364,498,1017,1506,1486,1180,938,1168,1046,769,800,1007,893,423,429,868,1150,929,873,1200,1204,1086,1082,998,675,483,671,484,784,939,738,672,788,1016,1332,1502,1472,1186,1250,1120,1264,1582,1440,1230,1238,1194,1108,971,874,1230,1266,1224,1212,997,869,1114,1198,1328,1260,1116,1136,990,760,775,769,949,996,1068,1214,1102,1266,1552,1640,1592,1402,1214,1136,1106,1016,1320,1298,1180,861,1032,1584,1170,786,762,756,756,1028,1272,1366,1240,1052,838,950,1074,994,778,899,1134,1350,1344,1102,1158,1112,997,1254,1034,1232,1226,1474,1514,1212,1182,1242,1224,1290,1344,1338,941,874,1550,778,495,487,558,505,397,398,419,391,371,337,339,342,328,306,302,311,310,316,311,345,381,589,705,630,669,644,696,702,658,575,544,433,313,345,357,386,420,389,386,413,375,344,367,430,383,383,435,412,379,352,372,486,584,523,768,1444,1560,1748,1500,1340,1652,1720,1440,1262,1188,1276,1360,1278,1062,1140,1122,994,1214,1288,1428,1440,1078,969,1118,1094,1032,1026,955,1116,1176,1186,1478,1076,979,1122,1274,1218,1262,1320,1208,1282,1264,1198,832,946,1254,976,1178,1176,1196,1216,1152,1068,802,681,770,872,974,1216,1478,1208,1074,1060,1052,1030,1042,937,991,1234,1206,1160,1009,908,913,1074,1110,1024,1138,1178,1242,1268,1298,1174,923,513,630,732,826,1018,836,700,508,602,792,1140,1356,1160,1108,974,1204,1044,777,756,968,747,491,669,1186,1240,1158,1308,1232,1070,1058,1118,1036,1058,1070,1194,1324,1384,1328,1080,581,367,387,379,469,824,1130,963,422,272,268,274,409,772,1021,1446,2176,1678,1394,860,1206,1126,1021,962,1144,1168,798,529,683,690,594,649,831,758,952,779,778,960,957,947,1360,2108,2128,1498,1004,1064,1142,1440,1336,802,990,1378,1276,977,908,1132,1352,1556,1682,1548,1126,698,868,1228,1484,1572,1322,860,499,430,473,486,591,706,758,684,800,918,1102,1582,1492,927,860,764,489,413,322,300,342,337,401,689,862,939,894,767,951,1028,754,1124,1350,533,323,367,416,529,661,799,852,791,962,1142,1152,1172,1262,1126,739,952,985,528,466,1138,1500,1468,1284,907,749,755,537,725,1064,1422,992,964,1036,612,363,684,976,1086,1136,1106,1272,1252,1166,1086,896,731,535,501,670,925,944,949,1180,1282,1172,1138,1194,1138,890,830,951,1122,1092,814,773,1004,1034,758,477,544,882,941,858,686,835,913,847,878,1024,1017,980,969,934,990,1202,1228,1298,1248,1090,756,574,553,713,897,897,865,866,861,868,631,550,472,323,355,633,868,684,359,439,683,985,1074,954,675,621,846,739,885,1042,980,872,1306,1346,966,995,1268,1522,1056,1104,1354,1438,996,912,979,955,940,1078,1226,1400,1772,1154,774,669,528,553,1062,1482,1322,1260,1308,1270,1334,1082,736,1030,1222,1142,1388,761,498,392,487,614,531,346,695,997,961,1178,1234,999,785,913,1086,1288,1028,774,628,931,1170,886,589,730,695,654,874,691,957,805,980,983,1034,1182,1136,974,979,1224,1256,1260,981,827,1090,1432,1272,1296,1230,836,737,839,700,611,698,642,556,671,1010,1334,1172,732,725,1019,1534,1700,1392,1192,1212,1154,1356,1042,1134,954,586,477,578,1138,1438,1078,1038,1396,1558,1660,1704,1764,1782,1438,1064,1086,1206,976,885,1044,1088,1194,1544,1122,988,670,812,828,862,1208,1470,1236,929,1244,1338,1438,1744,1642,1194,1122,1366,1464,1578,1616,1394,1004,847,969,1028,887,935,1182,1260,1116,1020,866,656,526,670,895,1104,1226,1192,1148,1256,1094,1060,969,887,785,747,659,884,1530,1968,2056,1974,1854,1716,1626,1168,702,1034,1224,1198,995,882,1058,1294,1158,965,727,774,673,773,736,819,939,953,954,1076,1224,1030,865,886,1078,1038,1056,919,902,985,880,1094,1206,1386,1436,994,783,747,612,566,599,616,1007,944,869,915,763,689,794,591,689,1060,1010,1172,1256,1312,1418,1418,1268,1466,1456,1344,1438,1158,819,546,636,894,980,1013,1444,1052,586,565,1008,1226,789,350,380,363,311,403,676,884,369,295,294,283,548,1222,1348,949,960,1000,1064,2002,1708,1112,1212,1414,1182,796,865,1298,1168,769,590,497,619,883,892,574,394,590,635,666,1016,731,744,1450,1332,883,938,864,594,397,414,459,277,256,318,342,428,457,478,447,401,752,1234,1354,1290,1172,509,445,484,594,589,543,533,502,405,362,370,349,370,341,355,368,419,561,641,849,989,942,924,1026,1250,1584,1758,1792,1924,2170,1904,1172,704,559,557,595,624,836,1040,1174,1304,1576,1410,1322,1494,1098,1030,1314,1876,1908,1636,997,756,1200,1184,1182,922,745,1082,1322,1088,544,402,613,788,717,604,719,1062,1184,1202,641,867,1494,1670,1100,1166,1290,959,559,459,476,481,485,723,1044,993,1136,1038,1534,2106,1670,1168,753,564,697,514,789,1100,598,888,529,449,631,501,374,512,544,672,1018,1170,1206,1534,1664,1448,1108,973,1322,1192,710,770,899,1088,1516,1450,924,881,1170,1122,1128,1266,1190,1152,1196,1330,1266,1070,687,964,1312,1126,727,440,323,326,272,266,239,297,402,517,534,441,356,282,296,317,452,520,466,387,335,357,464,399,294,294,312,324,337,348,349,659,606,385,575,1048,1170,826,730,717,673,1052,1146,800,722,857,1328,1252,1110,1048,517,381,453,466,421,381,330,298,265,308,364,656,941,1232,1130,695,417,386,406,417,343,340,381,376,397,409,404,406,391,400,501,572,586,564,474,483,536,518,502,505,432,383,376,361,370,365,476,648,641,497,672,548,449,433,387,417,763,926,685,648,809,592,501,383,332,422,412,544,807,866,650,663,890,1162,1276,1072,750,451,296,314,378,400,429,422,384,422,480,451,490,444,343,354,330,299,267,274,297,259,336,452,380,306,397,398,466,734,823,693,783,1084,1306,1598,1554,1290,1198,979,996,1030,727,607,600,719,671,368,733,908,818,899,1072,1456,1358,1266,1226,1076],[418,440,390,311,299,323,294,286,317,390,390,511,582,592,514,412,354,312,308,331,308,304,301,354,558,560,549,401,277,238,233,235,265,305,280,262,288,402,736,775,767,857,969,1208,1048,905,999,818,1238,963,555,381,387,376,356,342,369,374,422,825,1080,795,550,514,444,370,359,373,521,623,515,469,480,533,946,1306,1296,1450,1370,1274,1026,1448,1296,1316,1212,1260,1404,1504,1166,1062,1250,1324,1602,1484,1308,881,680,870,915,764,1040,844,403,336,403,490,371,310,336,648,525,418,360,330,326,316,299,308,315,318,355,420,477,479,466,433,356,348,534,547,379,372,408,404,480,772,1238,1166,1114,1214,957,813,840,1062,944,721,805,778,1052,1614,1302,1198,1416,1316,926,1166,1256,1200,1284,1282,1482,1230,728,469,328,231,308,408,703,542,479,660,980,927,879,970,745,532,899,1198,1128,1362,1166,1088,1378,1204,747,645,921,1252,1352,962,740,835,1120,724,381,368,297,541,1058,1420,1268,954,982,1170,1292,1312,847,812,1152,1356,1009,856,1250,1306,1034,1040,1108,847,502,396,543,588,1190,979,608,769,1254,1360,1212,1032,789,517,586,837,979,776,730,1470,1538,1668,1432,1420,1582,1338,1400,1426,1228,1360,1504,1362,1108,1204,1250,1214,1234,1290,1262,1430,1418,1194,1522,1764,1532,1494,938,689,1244,1516,1360,1342,1096,893,944,807,786,1284,1792,1604,1550,1428,764,843,1246,1470,1536,1306,1184,1132,982,1021,1158,1490,1170,728,1160,1388,1306,1346,1526,1510,1530,1432,1120,1248,1338,1306,1058,1430,1394,1316,1140,1140,1005,1186,1238,1021,1074,876,660,838,1072,1184,838,869,1264,1268,1148,1076,1148,1238,984,973,1198,1212,848,1021,1138,1372,1416,1212,1064,1038,974,1158,1068,792,396,410,405,352,473,429,391,355,372,420,555,814,1032,969,773,753,463,363,387,364,318,322,484,719,849,948,993,1070,1454,1322,1194,1250,1524,1204,1016,1250,1154,982,978,943,1274,1606,1396,1292,1334,998,742,1060,1026,1278,1302,806,777,1144,1076,1108,1032,668,750,968,922,650,830,904,703,691,713,531,346,420,477,369,277,282,265,281,346,408,455,860,1408,972,846,1318,1042,1120,1112,1062,1080,1238,1284,1484,1406,1023,687,543,440,385,434,379,348,297,379,502,508,1017,1238,881,1126,1378,1238,1214,1052,1068,1208,834,736,1010,904,697,694,813,943,894,745,999,1262,1022,1128,877,867,1078,1092,1164,1438,1318,733,579,668,751,786,799,1074,1310,1356,960,1158,1162,1194,1090,785,780,1048,1009,630,749,770,1032,1088,1134,1114,977,875,1108,855,491,465,422,451,392,678,1130,796,948,1007,1174,1214,802,496,464,482,1006,1642,1450,1406,1072,1042,893,854,795,961,777,421,373,700,1316,1506,1056,908,926,1124,1250,1380,894,716,779,764,828,757,822,902,1076,1272,1410,1440,1426,1222,1364,1292,1302,1400,1272,1220,1208,1040,1015,988,1007,1178,1246,1188,1036,749,607,977,1254,1276,1234,1266,1188,1018,575,552,491,719,951,1324,1294,1100,1104,1100,1288,1552,1530,1456,1332,1158,962,1378,1086,871,874,1074,1376,1032,649,545,469,572,926,988,1128,933,1040,856,858,1014,1054,1146,1194,1286,1646,1374,991,1222,979,1386,1640,1434,1280,1302,1474,1384,1282,1394,1246,1136,1434,1390,1352,1440,1536,1560,1034,669,499,537,494,397,450,515,371,376,361,347,325,308,314,319,326,324,311,302,323,361,449,567,677,699,672,630,661,648,640,698,545,361,397,408,373,363,481,445,417,339,365,398,426,371,398,479,446,436,455,468,458,465,542,1170,1528,1648,1626,1302,1368,1254,1166,1284,1246,1440,1432,1372,1318,1116,1208,1170,994,1116,1222,1554,1738,1316,1026,1116,1084,1150,995,977,1242,1266,1274,1180,951,1056,1192,1350,1186,1106,1212,1198,1086,1110,993,1190,1222,1274,1200,1200,1170,1288,1316,1056,760,840,938,829,692,946,1292,1300,916,890,1017,949,619,397,542,802,988,1192,1198,965,612,354,598,757,875,1208,1248,1094,1198,1296,1152,820,391,445,667,798,946,1134,1122,847,878,1134,1384,1310,1162,1144,1104,1242,973,1012,1006,724,488,457,669,1009,1044,1252,1220,1180,1196,1122,843,1008,1124,1222,1400,1514,1484,1348,929,467,539,504,433,561,1036,1166,810,395,290,272,282,342,783,1354,1308,1116,1032,1214,1112,1154,1040,1078,1060,1010,823,529,495,902,829,958,790,907,957,871,959,1096,1100,994,921,1170,1372,1456,1390,1146,1052,1003,1406,1456,1000,913,1356,1366,1094,973,1082,1200,1396,1498,1354,1032,646,909,882,994,1260,1050,538,411,521,612,821,859,706,703,664,699,681,738,785,851,899,892,963,808,405,472,952,890,462,568,698,695,622,659,846,996,918,927,1416,1470,849,426,371,686,962,1184,1312,951,631,1070,1688,1634,1118,1110,1046,651,719,792,678,658,1040,1468,1526,1388,1136,1118,1012,716,905,1246,1270,1226,1316,1304,758,351,511,641,706,955,891,1248,1162,935,1064,1108,844,559,492,483,576,748,1011,1216,1296,1246,1446,1278,1144,1080,1021,1060,1422,1462,951,752,925,1074,783,383,391,716,921,739,555,662,739,741,962,1128,1036,1013,702,739,988,1140,1050,1194,1148,1052,873,805,819,1132,1780,1398,1240,1040,680,440,501,766,634,409,353,512,836,794,431,339,826,1554,1198,1018,706,703,951,931,902,1200,1328,1274,1352,1256,1050,1118,1322,1376,980,1132,1880,1622,827,675,623,871,1240,1300,1340,1422,1284,796,759,568,633,797,1082,1438,1368,1168,1290,1180,1100,1142,1036,1106,1252,1114,1224,775,416,374,442,698,691,570,606,527,442,723,680,619,682,782,930,1036,1164,967,655,918,1298,985,597,551,372,688,1021,1116,1236,966,625,469,673,1094,1120,1050,1194,1310,1426,1450,1216,730,644,934,1478,1712,1284,1132,888,931,641,576,1078,1086,1020,1044,1150,1424,1072,686,777,1028,1292,1616,1664,1368,1338,1350,1444,1232,1252,1002,728,509,544,982,1192,1102,1364,1348,1466,1746,1738,1778,1620,1452,1362,1252,1184,1036,1032,1170,1144,1274,1818,1674,1244,991,930,783,879,1150,1498,1382,1132,1458,1394,1526,1570,1450,1124,979,1166,1288,1444,1626,1350,994,1072,926,874,784,816,1418,1638,1252,1110,1026,880,879,1072,1132,1072,1015,1114,857,893,966,1114,991,891,890,969,763,756,1084,1418,1682,1682,1682,1512,1368,1046,1078,1308,1318,1088,802,828,1015,1266,1001,818,813,710,901,968,723,713,1030,1050,688,735,1098,1122,1148,1096,1204,981,775,692,700,1178,1264,1234,1166,1130,1086,874,950,988,789,642,725,884,1056,1086,1214,1162,996,1236,1234,904,740,743,852,868,1382,1346,1256,1324,1418,1992,1576,1222,1172,1144,1218,1212,1096,658,678,1012,1282,737,415,565,716,716,623,406,354,310,343,398,473,830,679,350,267,353,521,921,1030,884,1186,1242,871,1192,1076,930,1072,1222,1134,861,1009,1344,1054,650,536,526,527,366,631,553,517,1021,1084,866,1082,1126,1390,1708,1390,1214,1050,650,554,364,305,321,346,319,371,409,557,695,635,645,524,691,606,754,995,1110,542,361,386,471,477,488,521,480,369,340,349,330,368,373,343,317,622,839,833,1136,1330,1294,816,516,512,700,1106,1668,2160,2360,2292,1842,1288,962,780,600,538,467,600,825,1106,1506,1136,730,702,1272,1826,2134,2358,2392,2174,1622,1194,1034,1110,1406,814,1338,1774,1676,874,673,1226,1354,907,682,714,1396,1392,854,724,676,937,1558,1204,543,851,1086,620,458,653,686,483,634,631,792,1302,1358,974,1278,1324,1134,1174,1004,433,427,512,982,726,384,619,500,435,518,529,453,430,445,601,832,761,778,1430,1716,1568,1406,1364,1402,1108,940,1178,1224,1142,1042,710,670,585,822,976,993,1040,1072,982,980,1080,1274,1152,424,608,944,774,517,374,320,288,241,235,323,375,390,483,509,414,347,305,328,385,375,450,557,651,489,285,396,426,354,314,310,305,343,328,293,351,385,429,905,1368,1178,993,860,631,819,1216,1430,951,793,771,971,1394,1716,1256,542,305,427,508,570,559,442,313,309,368,354,453,906,1248,797,623,676,520,496,413,330,317,355,378,401,408,422,418,390,393,506,543,486,454,411,449,504,487,456,427,380,380,372,335,341,339,389,619,879,775,537,418,443,448,529,855,1284,1015,667,529,640,615,597,611,741,691,622,883,1080,919,553,414,333,579,1086,921,550,488,391,317,333,382,457,469,440,546,639,411,345,390,315,280,647,655,315,276,262,227,255,303,353,412,567,526,746,765,944,966,939,923,822,1140,1466,1312,1400,1074,1126,1250,1074,905,847,719,476,311,634,852,713,1015,1144,1254,1110,754,775,854],[437,515,501,412,360,388,352,346,370,442,446,426,386,378,355,319,317,314,313,341,359,361,393,429,453,460,361,268,251,251,255,266,314,297,245,224,258,369,526,440,399,501,656,932,743,955,1098,629,996,762,388,356,444,473,386,351,368,402,461,731,874,661,557,523,413,367,356,389,724,772,484,412,688,814,760,695,919,1023,1200,1208,1104,1340,1174,1236,1378,1278,1596,1630,860,1005,1218,1452,1878,1694,1324,1222,762,568,623,841,1076,662,379,349,327,292,296,300,354,668,734,509,361,342,312,306,310,312,312,317,353,391,452,544,522,448,390,374,541,583,415,359,370,536,792,869,897,1056,1030,1064,1022,903,1003,1142,930,744,956,1122,1664,2320,1476,1232,1382,1250,1046,1318,1346,1192,1112,1118,1246,1106,791,420,333,266,256,263,566,770,642,562,836,919,835,920,891,660,1056,1092,1023,885,881,1108,1372,1382,1228,1096,1072,918,851,419,469,875,675,464,399,345,288,374,868,1432,1268,939,826,1021,1246,1362,843,617,999,1176,863,780,935,1238,1442,1134,1106,576,430,478,398,379,988,1104,879,1026,1214,1202,1038,717,613,391,497,1164,1408,1144,872,973,1180,1480,1460,1484,1394,1382,1516,1434,1322,1492,1426,1158,1216,1390,1352,1208,1290,1486,1424,1448,1216,1180,1542,1278,1184,1470,1110,1060,1380,1160,1002,1212,1054,865,905,939,1106,1352,1708,1472,1518,1076,814,891,1122,1422,1512,1242,744,694,745,1126,1296,1988,1470,951,1418,1516,1318,1362,1390,1318,1264,1410,1078,973,830,1114,1230,1504,1334,1048,1262,1474,1372,1440,1204,1172,1316,1194,992,980,1366,1566,1402,1428,1400,1366,1256,1072,913,1158,1512,1154,1005,889,662,871,984,1122,1134,1038,1180,946,799,1418,1278,1244,769,430,300,300,324,310,343,355,283,272,356,559,717,858,521,542,553,446,403,419,405,440,620,760,979,1012,748,990,1166,1172,1100,1046,1214,1080,1526,1872,1560,1182,695,659,1074,1350,1372,1226,1160,1246,1048,1384,1358,1206,1222,1066,1182,1192,926,1170,837,581,751,1274,1102,726,669,675,705,677,748,760,597,705,816,854,675,408,299,371,430,434,338,587,936,810,862,1062,1084,1240,1264,1304,932,651,1014,1582,1614,1244,897,905,813,666,875,644,357,292,359,648,871,1256,1304,1202,1394,1021,1212,1388,1126,975,1110,1106,1162,1002,854,847,862,883,949,930,1136,1406,1116,781,925,999,858,947,994,902,1140,1094,954,1208,978,652,600,722,645,983,1098,875,783,771,797,557,469,555,795,1056,1172,1036,999,955,944,951,1142,1236,1172,1164,1136,885,626,360,324,461,1038,1190,802,844,1094,1354,1356,902,412,406,545,1428,1860,1028,1268,1144,847,769,601,694,982,862,689,783,1090,1224,1280,1130,1190,1416,1060,1106,1330,1008,870,1078,1332,1124,979,857,940,1038,1138,1242,1400,1356,1308,1324,1590,1900,1550,1204,1232,1320,1196,1138,1126,1134,945,1166,1182,1030,989,961,1104,1240,1278,1366,1262,1098,1015,601,542,459,445,1012,1436,1288,1262,1272,1010,1072,1516,1716,1678,1464,955,1194,1682,1248,1252,1288,1122,1252,1232,1158,933,820,940,937,1056,1208,1218,1240,1042,1148,1318,1072,1002,1054,1418,1754,1306,1216,1086,693,1382,1608,1444,1378,1270,1230,1186,1362,1396,1204,1176,1328,1332,1344,1422,1282,1342,1376,955,555,639,546,436,482,494,369,356,346,328,319,312,313,343,360,360,372,362,345,357,457,550,619,599,565,621,680,692,717,685,534,392,426,433,354,443,571,452,358,325,354,393,383,347,421,541,503,513,554,543,596,611,888,1426,1528,1672,1302,953,1070,1190,1328,1218,1350,1574,1078,1080,1086,988,1058,1138,1198,1226,1434,1634,1526,1304,1108,1094,1114,1252,1110,1152,1312,1140,1108,1150,1021,926,1084,1306,1188,1240,1312,1154,1036,1168,1286,1336,1278,1350,1288,1202,1240,1098,984,913,548,785,1020,1114,1004,1252,1300,971,828,893,913,763,414,677,995,977,1013,1344,1246,1106,742,478,519,333,563,1112,1160,985,1354,1250,1256,1110,579,532,821,1100,1096,1072,1160,1124,1058,1052,1252,1192,1362,1076,1100,1088,857,1216,1366,866,698,607,600,577,626,984,1202,1208,1162,1204,997,815,811,972,1262,1450,1570,1490,854,468,495,551,550,851,1274,1084,537,325,297,276,286,346,933,1376,1264,1154,1138,1166,1318,1310,1270,1206,1114,1084,1240,921,908,1038,1017,919,961,1090,1094,1466,1786,1440,1162,1108,1066,1126,1078,1162,1316,1116,1024,1346,1892,2100,1466,894,1242,1318,1130,994,1074,1230,1390,1436,1252,958,655,507,586,961,1104,988,554,604,648,663,875,822,635,563,679,630,708,885,752,644,774,1072,1094,898,427,412,814,706,481,832,1062,775,446,534,544,630,946,1068,1122,1142,1005,544,544,1023,1252,1158,1112,963,554,742,1340,1544,1074,1136,1246,741,466,455,515,502,683,1080,1296,1338,1210,1046,1058,1042,850,693,1028,1280,1206,987,719,429,438,430,478,697,912,1520,1650,1232,921,874,691,514,509,490,535,731,719,927,1232,1192,1112,1216,1346,1280,1100,1078,1246,1118,1070,926,969,814,708,614,879,970,792,691,749,916,885,819,1000,984,1038,1176,807,1098,1330,1260,1202,1156,1138,1098,814,1008,1148,1204,1546,1290,1364,1250,753,730,919,905,554,384,505,377,438,608,676,727,1048,1262,889,1018,1006,923,1023,1102,1170,1272,1302,1274,1190,1256,1322,956,969,894,960,1154,2092,1606,684,829,810,804,1328,1240,1202,1406,1116,1158,1094,835,877,945,974,1208,1090,1106,1450,1356,1286,1400,1352,1184,1224,827,899,875,498,392,784,1080,650,450,396,429,372,416,548,637,706,808,1015,1216,1162,906,597,764,975,923,739,551,605,854,869,761,1015,1080,698,559,665,1013,979,1020,1224,1260,1566,1384,1182,824,579,953,1636,1648,1146,1170,925,896,637,469,649,1082,960,766,1026,1076,813,651,744,799,937,1196,1448,1430,1130,863,940,930,836,1092,1126,698,912,1170,813,827,1212,1428,1470,1780,1782,1688,1494,1556,1720,1508,871,934,832,1130,1210,1332,1620,1744,1228,921,821,946,1316,1376,1234,1026,1174,1286,1238,1316,1138,1094,999,874,1028,1286,1376,1586,1488,1356,1324,1078,1158,1334,1270,1396,1216,1015,943,839,879,930,1218,1160,1128,1086,1030,825,826,874,879,1058,1404,1844,1816,943,647,686,865,1174,1306,1640,1758,1640,1304,1312,1458,1398,1168,718,875,1072,1232,1072,700,665,529,866,1066,1038,989,789,927,885,940,1206,1250,1030,970,1018,1296,1200,837,1282,1692,1406,1262,1084,922,866,614,664,1222,1394,1014,1058,1176,1142,1030,1282,1320,994,1392,1332,1216,1094,626,572,1040,1382,1164,1280,1216,1496,1764,1366,1206,1082,783,620,893,1074,1290,1198,1232,1056,666,623,681,509,557,951,731,486,378,706,879,891,1104,847,371,318,388,438,475,684,946,1112,937,1084,1448,1005,586,681,1038,1152,1062,1228,1050,656,791,774,519,408,411,565,695,896,1050,1130,1098,1112,1290,1358,1394,1118,1082,669,449,663,574,373,286,384,505,469,544,1170,1466,1011,651,789,951,543,536,599,699,503,325,363,424,421,417,369,362,295,401,446,408,359,395,364,415,1096,1394,1190,1330,1614,1428,601,313,348,380,430,619,1078,1566,1670,1260,1282,1564,1200,844,580,444,511,687,842,1204,1280,1166,974,1444,2144,2370,2450,2270,2220,1930,1396,670,642,854,517,1074,1688,1550,892,738,1440,1448,636,520,919,1794,1816,777,437,543,705,965,783,623,1050,875,526,521,502,484,788,1326,1068,1066,1668,1214,578,794,908,801,912,1194,1044,665,509,628,332,317,373,362,400,534,630,592,519,511,875,852,691,813,1412,1688,1704,1624,1582,1608,1394,1240,1214,1034,1036,1218,1058,1112,1488,1836,1334,910,1130,1282,943,931,736,712,753,580,399,545,433,343,332,330,307,284,328,408,432,375,415,363,331,302,357,462,446,358,378,681,1138,921,295,250,433,423,332,328,365,330,336,436,447,463,648,751,833,1014,1172,835,757,1054,1228,1106,831,804,651,614,1102,1188,583,357,333,439,549,680,634,535,413,318,333,349,386,487,656,747,914,655,453,481,427,374,332,298,387,404,423,420,397,419,392,382,379,307,323,381,432,461,429,405,365,349,376,389,374,237,268,318,857,1302,1012,598,526,594,518,572,825,1086,794,554,534,486,511,607,764,1096,1050,827,940,1072,1046,707,437,404,378,727,645,473,483,351,284,356,395,430,422,499,874,966,644,541,480,324,553,1222,922,325,361,260,248,257,278,340,446,582,728,1324,1152,786,758,910,1015,971,717,881,828,1078,1218,853,909,940,960,901,882,599,365,450,468,477,970,946,745,922,690,536,684],[503,604,513,446,328,360,372,388,362,338,333,321,317,316,313,320,327,315,319,329,357,460,579,528,412,345,290,295,378,360,374,413,381,274,234,241,270,345,385,384,526,551,443,593,651,938,1108,930,673,532,407,339,400,395,357,350,325,354,482,703,784,741,611,554,430,416,364,410,675,736,550,649,1074,983,955,791,1190,1152,976,1018,1124,1052,851,824,949,1170,1520,1392,819,777,1008,1194,1484,1432,1130,1006,873,905,1124,1216,1166,742,481,388,396,355,323,317,376,583,682,522,356,354,340,314,323,325,323,332,341,341,379,454,470,440,440,489,501,476,514,461,488,631,966,1224,1502,1468,1194,915,668,896,1262,1264,945,731,1001,1106,1302,1074,986,1234,1238,1228,1306,1466,1328,1134,1015,836,672,1156,908,414,315,285,305,382,643,999,911,600,623,738,673,764,630,653,866,1056,1144,1070,1166,1290,1278,1362,1622,1514,1034,595,436,291,284,401,324,280,252,240,279,403,605,1130,1344,1600,1180,1076,1310,1308,911,571,678,842,844,829,653,785,969,888,828,426,379,396,355,359,792,1140,1108,1017,965,758,651,1015,996,693,593,944,1294,1390,1078,847,696,763,1152,1146,1290,1308,1272,1356,1056,1007,868,1112,1456,1318,1292,1332,1490,1554,1298,1112,1110,1286,1484,1380,1424,1482,1350,1482,1522,1138,942,1112,973,918,1032,1282,1398,1638,1506,1460,1274,1032,1110,1019,1160,1364,1154,1148,990,1096,982,951,1028,1668,1514,1306,1500,1438,1356,1376,1494,1190,813,1290,1200,944,644,767,1238,1440,1166,803,938,1264,1328,1360,1264,1250,1238,1354,1426,1176,1318,1556,1698,1706,1566,1608,1452,1362,1222,1400,1582,1070,696,556,603,674,620,637,624,788,1180,1260,1110,1170,1298,1226,1144,868,529,367,319,322,401,410,321,281,317,417,584,460,450,465,510,551,527,493,431,429,499,764,1104,843,760,1556,1326,1172,984,964,1174,1362,1612,1546,1454,1096,566,552,961,1194,1144,1174,1360,1416,1032,991,1268,1522,1078,951,847,1244,1178,846,483,335,356,520,670,705,596,670,662,456,589,840,1146,1001,1017,1178,796,452,342,378,392,383,329,395,606,1088,1188,1122,1118,1168,1126,1118,878,598,903,1412,1542,1490,1458,1446,1384,854,1012,764,375,340,461,644,1076,1510,1392,1736,1752,952,1394,2038,1500,1150,1128,1216,1346,1322,1026,857,782,720,579,709,1150,1826,1980,1268,985,1294,1146,872,930,992,942,951,1110,1302,1134,742,409,529,742,869,877,933,883,713,713,551,479,539,763,756,850,976,1262,1086,827,715,694,902,1158,1172,1382,1356,917,504,461,639,959,802,731,983,1062,904,929,831,529,459,435,558,597,836,1180,938,726,826,905,1082,1152,1112,1214,1090,1064,830,1156,1140,1142,1330,1302,1224,971,723,776,1070,1286,1236,1194,954,942,882,1008,1152,1200,1278,1404,1410,1308,1216,1164,1078,1120,991,852,984,1192,1152,777,769,1024,1182,1172,1220,1262,1208,1166,1072,892,1038,1060,788,626,412,714,1432,1350,1160,1178,1160,1050,1046,1326,1504,1606,1622,1530,1756,1678,1316,1356,1288,1130,1056,1122,1088,1032,1220,1238,1238,1342,1306,1350,1310,1076,1252,1272,778,865,1334,1248,1278,1166,1100,866,943,1554,1632,1514,1352,1154,912,690,1005,1408,1322,1190,1274,1426,1416,1168,1084,1164,1110,884,538,505,498,457,574,473,355,377,361,339,337,323,312,344,353,351,365,348,326,410,495,550,489,402,392,575,731,749,741,654,507,394,374,361,459,514,450,426,413,403,432,405,393,386,460,484,472,710,898,660,669,779,1258,1524,1534,1378,1038,1156,1184,1228,1140,993,1098,1300,1152,1142,1208,1230,1160,1094,1148,1432,1642,1470,1608,1798,1378,1226,1232,1294,1476,1476,1320,1100,1240,1396,1128,1030,1042,1350,1198,1400,1448,1164,1104,1206,1322,1262,1226,1310,1234,1266,1288,1028,967,717,560,912,957,777,750,1038,1156,738,750,807,855,1206,765,944,1192,1020,1068,1248,1230,1246,933,494,733,695,583,839,1072,1288,1332,1074,1146,1062,791,605,730,1104,1112,1020,1122,1288,966,767,901,1046,1138,1050,1172,867,675,1018,1160,786,1294,1112,899,586,486,795,1096,1020,915,1001,946,867,966,1084,1304,1520,1668,1400,759,495,507,549,682,1162,1412,879,317,301,303,323,307,376,925,1208,1136,1114,1100,1152,1272,1428,1274,840,988,1062,1372,1124,1256,1374,1072,792,883,1090,1210,1214,1174,1234,1136,1180,1206,1206,979,1198,1288,1170,1288,1836,2124,1782,1284,797,786,835,1038,1170,1362,1350,1232,1294,1164,862,975,952,739,1013,868,541,521,641,661,848,685,495,422,347,306,324,679,1132,1256,591,573,998,1142,918,521,436,561,500,512,826,1058,880,633,666,609,395,580,1062,997,1222,1346,1052,1023,1164,1098,1136,1162,955,573,499,778,1366,1094,1172,1090,509,433,397,426,589,809,947,1009,1108,1140,744,745,854,741,630,885,1626,1646,1184,1656,630,371,383,422,543,954,1444,1710,1658,1420,1018,610,519,608,486,466,505,499,879,1106,968,1080,1280,1260,1282,1288,1214,1246,1021,957,697,634,583,611,722,910,1038,1060,832,849,990,1078,1036,1132,1328,1332,1204,886,1122,1190,1286,1582,1376,1286,1344,1170,1206,1090,960,982,1256,1262,1028,645,719,1015,932,636,449,501,317,327,586,1110,919,1072,814,752,1168,1024,737,782,855,1030,1046,1222,1302,1366,1582,1486,931,924,922,843,962,1034,763,473,571,546,767,1302,1118,1104,1382,1328,1206,1142,1110,974,610,543,666,807,992,1412,1428,1286,1242,1124,1046,817,845,1226,1164,658,372,538,727,440,376,369,389,337,356,516,600,608,705,907,1234,1340,1116,874,601,930,1072,1122,917,935,796,406,477,963,1178,943,911,719,810,960,850,1096,1206,1126,1154,1190,767,644,946,1202,1332,1148,1134,1010,944,651,504,756,1018,979,813,696,601,619,875,1232,1124,1130,1136,1074,919,642,449,799,1164,1013,1008,1226,1346,1438,1001,630,902,1344,1494,1532,1572,1764,1616,1366,1648,1688,1510,986,1028,763,772,1017,1156,1232,1356,1286,1036,927,1120,1538,1574,1478,1390,1268,987,997,1126,1005,917,854,822,905,1366,1280,1552,1626,1446,1276,1222,1220,1404,1348,1294,1258,1184,882,655,693,847,1144,1058,1078,868,689,727,801,994,1418,1920,2050,1968,1724,1196,718,561,617,959,1340,1780,1946,1666,1172,1004,1064,1116,1184,667,704,824,905,1015,744,471,373,492,645,949,1118,877,758,973,1118,1116,1310,1160,990,1118,1166,861,1236,1512,1284,1334,1036,818,786,939,929,772,1146,1530,1472,1300,1152,1130,1134,1368,1350,1086,1120,1230,1358,1470,1196,1166,1304,1218,1310,1428,1192,739,853,991,1040,1244,680,397,411,535,825,1003,1230,1432,1254,1082,966,662,869,1102,974,540,369,553,939,1084,1242,807,407,647,590,569,627,771,885,1268,1028,835,712,564,515,617,1026,1264,1232,1120,808,548,679,772,669,513,441,515,855,803,819,1344,1290,1328,1498,1252,1140,1226,1284,1056,722,883,803,382,271,432,640,579,739,1430,1430,1046,756,624,539,439,433,538,540,377,320,371,404,304,321,256,253,259,429,469,461,462,416,379,589,814,570,689,809,939,680,479,412,334,335,451,435,277,702,1244,912,1050,1518,1924,2306,1188,706,891,769,694,974,1144,1294,1690,2060,2128,2100,2236,2118,2220,2018,1152,515,390,299,448,713,722,735,711,543,1102,1134,604,478,1104,1900,1350,536,474,474,429,569,787,1180,1034,613,492,499,453,931,1672,2006,1624,1224,1094,838,684,759,965,917,958,1214,1188,974,552,311,303,332,342,401,439,500,505,422,466,700,1606,1448,912,783,900,924,1312,1682,1642,1318,879,891,952,1030,825,852,1252,1290,1210,1130,745,698,897,955,976,1262,943,1028,1238,881,518,375,344,342,374,384,380,376,388,420,479,428,402,370,344,466,680,588,380,400,402,495,933,821,446,319,315,334,326,356,362,336,491,610,486,365,443,599,1014,1380,1522,1334,1218,1214,1212,1092,944,899,1046,1050,606,543,590,531,455,389,486,630,586,507,517,332,285,383,475,384,396,603,578,364,301,426,469,362,339,364,364,386,407,395,422,426,301,291,265,206,243,298,335,297,271,344,338,386,388,367,350,271,252,415,905,955,557,425,682,939,769,537,523,575,497,589,509,607,831,661,667,855,764,709,794,781,877,680,453,422,563,763,489,391,419,408,379,336,343,383,414,595,1246,1162,683,619,504,398,792,997,691,474,621,347,252,263,311,377,583,716,1084,1568,1578,1562,1482,1348,1004,823,533,496,452,496,869,1150,1030,1038,1120,1382,1334,836,497,391,374,552,785,486,634,942,663,461,586],[591,512,419,370,297,310,352,400,375,315,277,278,281,288,290,292,320,327,338,390,475,655,626,479,458,394,283,337,411,426,420,477,359,292,249,235,235,315,366,297,440,599,394,529,576,558,1021,878,523,514,484,401,396,356,322,349,365,459,595,595,917,932,893,730,421,378,350,356,422,631,636,734,1158,968,978,813,1104,1220,941,896,1086,1372,1410,874,526,643,1148,1334,1172,820,853,998,1094,1156,1166,1194,1306,1350,1588,1508,1098,841,894,624,502,394,325,316,318,398,491,424,318,283,328,332,336,326,334,351,366,362,387,432,451,483,597,644,496,483,491,455,795,885,1060,1418,1572,1328,1064,890,899,1094,1178,953,881,1048,1548,1318,1202,963,1028,1356,1314,1348,1432,1328,1104,1280,1404,723,516,786,624,361,279,314,356,480,813,1132,1144,606,686,1044,813,696,675,663,1042,1246,1034,1154,1420,1308,1064,1024,1550,1478,842,471,347,295,280,252,272,285,266,323,638,887,503,641,1058,1226,1226,1096,1160,1250,1140,771,654,1408,1248,927,742,505,465,480,506,377,317,470,430,512,1106,1362,1366,1070,797,651,579,816,861,840,722,651,1164,1296,793,666,495,628,1012,906,832,952,1340,1370,901,571,510,796,921,979,1406,1290,1508,1198,1030,868,1326,1326,1392,1252,1186,1230,1340,1444,1400,1226,909,976,959,1042,963,1124,1454,1536,1478,1810,1566,1212,1322,1382,1512,1684,1338,1250,894,1158,963,809,1202,1412,1340,1434,1376,1224,1428,1550,1604,1448,1438,1366,1290,1110,736,905,1244,1304,1206,860,713,660,722,1180,1314,1146,948,1030,1260,1368,1758,1682,1356,1470,1584,1650,1508,1496,1406,1470,1314,1154,1070,817,632,557,495,418,556,879,1034,1318,1322,1220,1150,968,1150,1236,1030,634,386,384,390,338,272,268,312,394,438,371,360,352,401,431,402,440,451,457,539,991,947,572,505,912,1360,1420,1252,1184,1204,1350,1356,1170,1406,1216,930,706,725,1058,1180,1166,1224,1294,1272,1278,1450,1310,1126,1030,843,1108,930,385,212,240,255,418,830,935,695,722,721,525,564,614,926,779,952,1064,724,512,371,350,378,387,373,706,1070,1246,1100,1148,1232,1344,1120,868,1074,922,766,1266,1378,1482,1482,1472,1412,1146,904,497,375,443,517,673,1128,1484,1278,1642,1358,920,897,1270,1180,996,916,986,1144,1548,1458,1408,961,762,938,1132,1050,1090,1364,993,885,1406,1018,698,743,972,1018,989,967,706,737,648,472,811,1244,1190,1080,792,896,1046,802,633,640,899,1184,848,597,591,678,678,692,716,644,791,1212,1418,1316,1172,818,579,572,854,1001,913,811,998,939,678,678,758,830,728,576,466,443,838,1238,1048,953,982,1076,1158,1208,1146,1180,1088,1036,1204,1354,1028,900,1228,1244,1034,883,584,518,965,1142,1216,1154,1190,1360,1078,1152,1308,1224,1268,1332,1404,1212,1324,1270,1034,1000,1032,791,825,1068,1068,872,966,1390,1500,1318,1254,990,974,1116,1178,1306,1134,1056,1192,877,415,773,1346,1256,1144,1132,1026,1122,1238,1340,1468,1434,1488,1626,1628,1498,1400,1224,1234,1344,1188,1112,978,1078,1394,1388,1284,1198,1080,1202,1388,1316,1246,1146,688,653,771,735,908,1226,1726,1740,1512,1676,1468,1606,1616,1412,1190,868,1260,1910,1602,1186,1280,1322,1136,1048,1208,1352,1276,741,503,429,414,437,686,604,417,379,369,352,333,301,313,336,331,348,314,290,320,339,556,556,344,314,344,559,728,762,805,736,510,352,370,455,624,595,473,446,378,365,383,386,424,383,362,424,469,722,725,475,458,915,1422,1462,1488,941,1064,1180,1162,1242,980,994,1124,1406,1376,1234,1260,1278,1360,1296,1350,1448,1438,1488,1512,1526,1436,1288,1198,1230,1264,1176,1154,1104,1184,1122,1140,1194,979,1092,1172,1356,1200,865,942,1294,1384,1190,1014,1060,1348,1284,1210,1032,923,806,655,646,589,487,459,773,1001,716,672,559,805,1092,706,828,946,701,725,1130,1414,1426,1144,808,1154,1224,979,1158,1438,1190,1014,1022,964,1108,1194,1074,1096,905,916,1230,1190,1372,1140,905,1056,1248,1084,1076,1044,703,683,809,668,803,1364,1328,864,559,530,645,766,882,808,650,526,508,618,969,1264,1412,1448,1030,529,413,483,533,710,922,912,561,329,305,308,314,298,541,1015,1148,1100,1072,1072,1240,1246,1078,970,869,1054,1172,1300,1398,1530,1686,1512,1140,933,802,914,1090,1060,1188,1318,1296,1250,1210,1030,1100,1076,1056,1382,1798,2016,1888,1590,897,882,1096,1278,1318,1240,1096,1092,1116,868,678,974,1078,753,755,498,352,428,415,458,716,796,575,319,293,332,530,800,879,893,534,553,887,1154,930,677,832,937,520,493,515,697,761,1064,1028,772,479,411,593,973,1450,1336,1052,1152,1102,1072,966,976,967,642,510,842,1280,1238,1236,1030,732,628,516,666,1136,1248,1166,897,831,1042,842,452,600,969,638,625,1574,1470,1238,1256,532,329,459,712,955,1050,1188,1438,1426,1390,943,592,733,900,645,490,453,514,969,1072,692,886,1164,1228,1292,1148,1152,937,969,921,668,481,482,596,795,892,913,910,779,1158,1344,1442,1122,864,1130,1120,934,1023,1186,1204,1470,1598,1162,1246,1308,1252,1188,913,859,1164,1398,1170,990,833,908,999,882,844,764,414,328,319,579,1144,857,576,586,867,1056,1064,1062,1118,880,1020,1100,1272,1302,1256,1498,1480,1248,1276,1084,711,828,1172,1070,706,716,988,1308,1394,1328,1200,1204,1302,1204,1248,1362,1174,625,596,669,810,745,1318,1394,1090,1096,1134,965,1246,1736,1498,1272,755,396,419,463,479,394,316,383,432,388,465,640,684,907,1166,1372,1472,1166,960,697,825,1118,1015,677,641,584,624,1052,1220,1236,928,854,626,869,895,754,854,932,924,1128,1298,1112,1154,1132,1154,1230,1312,1272,1154,1036,622,511,643,882,1054,915,884,709,488,764,1298,1466,1242,812,754,791,718,634,802,1046,1208,1294,1446,1620,1196,669,601,1120,1648,1874,1768,1478,1746,1578,1548,1710,1620,1396,1338,1200,982,967,939,788,777,954,1152,1244,1354,1278,1422,1484,1516,1592,1398,1302,1510,1412,1036,1021,1114,1216,1190,1318,1234,1504,1640,1244,1028,973,1084,1226,1360,1356,996,1094,988,794,789,1007,978,968,1072,801,664,958,1446,1970,2122,2028,1706,1526,1968,2000,1030,533,558,896,1434,1814,1920,1656,1332,1013,901,985,1186,810,592,608,525,644,835,830,694,539,703,1062,1052,963,673,1008,892,936,1272,1362,1204,1092,876,1254,1992,1458,1230,1378,1138,939,808,830,793,739,811,1122,1392,1124,917,1082,1228,1246,1370,1316,1084,1236,1272,1462,1504,1256,1092,1218,1172,1198,1216,926,673,677,733,858,878,673,430,531,650,509,794,1046,1174,1288,1342,1260,1114,1078,944,477,547,1412,1722,1198,1050,843,965,1536,872,777,1088,1011,1078,1254,1258,1023,744,725,815,1096,1182,1306,1438,1320,965,763,542,576,720,647,491,588,853,825,1007,1392,1244,1632,1170,938,727,966,865,846,642,524,503,300,385,631,497,439,687,893,897,667,491,385,459,460,434,412,325,332,451,481,436,342,327,311,358,328,397,450,422,479,367,397,689,645,480,376,350,357,338,439,583,469,357,394,333,352,812,1234,932,747,803,1688,1820,1028,1126,1606,1374,833,738,764,1062,1678,1992,2012,2004,1986,1898,1906,1722,865,434,357,328,451,653,752,523,513,672,1488,1470,788,469,632,807,688,525,519,484,477,531,894,1112,664,592,637,539,550,1202,1876,1854,1492,1440,1312,1094,836,784,1320,1194,1244,1012,535,363,255,268,368,364,317,418,441,439,434,368,366,516,1038,1312,1240,1122,813,841,1340,1590,1670,1432,1186,1048,1078,987,963,1134,1378,1072,985,1042,464,526,1036,1068,1360,1042,1092,1418,1080,576,377,272,325,317,321,373,401,388,426,486,462,439,462,488,536,698,716,669,448,466,456,387,533,532,424,338,326,346,328,309,349,394,428,383,329,349,381,657,1090,1356,1346,1350,1440,1310,1288,1232,1204,974,1230,1056,635,678,626,540,380,309,415,590,651,683,633,407,317,323,372,389,365,394,399,337,261,321,360,334,394,415,291,333,405,416,433,363,247,218,196,204,242,254,224,206,225,353,410,436,360,279,306,325,300,381,584,503,409,410,745,979,1024,685,408,417,462,496,415,622,861,561,448,510,511,604,700,696,804,670,687,918,1028,855,409,426,418,417,385,455,433,395,400,910,1456,1004,505,523,504,566,849,886,757,1003,847,516,367,306,316,378,702,902,774,945,1262,1434,1730,2124,1182,512,495,470,423,415,855,1244,1230,1274,882,945,1300,671,535,518,680,1116,862,541,955,1042,742,464,542],[724,560,449,408,350,314,360,401,387,318,266,248,265,276,283,294,332,381,419,538,667,687,525,418,405,390,359,391,324,343,322,243,256,338,362,279,223,266,340,296,346,450,688,737,767,969,1130,924,557,482,519,404,407,413,413,533,485,709,855,661,1015,1180,1152,850,335,337,350,288,357,726,866,857,700,905,916,685,910,1080,1034,989,979,1260,1250,1150,1011,970,909,1222,1266,1042,1162,1100,769,1050,1166,941,1216,1482,1754,1660,1528,1144,1112,1174,912,489,591,571,362,387,400,350,291,286,341,364,360,345,370,409,356,350,380,380,403,475,664,636,505,486,535,714,1002,1068,944,1028,1250,1042,943,926,626,876,1102,1048,1030,1118,1520,1546,1460,1346,1100,1122,1246,1486,1532,1076,1128,998,882,714,637,615,509,411,295,296,331,601,930,1290,1412,666,670,1144,846,568,505,546,1013,1134,1007,1350,1568,1144,1096,1352,1334,955,556,351,250,247,262,250,270,312,297,319,393,516,509,468,648,687,940,1214,1132,903,1064,940,920,1480,1188,1172,1312,960,565,363,358,293,336,436,339,591,1504,1182,1038,1062,1042,1190,1160,902,752,705,522,588,901,836,824,1082,816,620,778,803,749,895,1182,1376,1134,922,1142,841,635,824,1126,1144,1534,1368,1196,1296,1354,1262,1152,1078,1394,1346,1554,1346,1318,1324,1252,1102,1148,1096,1174,1426,1570,1454,1584,1626,1252,1236,1226,1356,1336,1614,1790,1320,1094,1448,1194,943,1050,1128,1188,1394,1468,1396,1460,1390,1354,1118,1142,1306,1384,1158,1190,1418,1440,1056,785,780,1044,734,637,675,655,1001,1216,1396,1324,1340,1590,1498,1474,1436,1366,1490,1512,1570,1512,1490,1268,1140,1202,1136,954,623,534,698,939,899,959,1384,1424,1396,1228,1164,1186,1342,1322,1108,1068,890,639,417,357,394,425,460,390,385,341,337,398,404,375,337,415,485,649,679,525,577,713,1128,1516,1286,1152,923,1082,1282,1118,1568,1594,1164,1028,915,1136,1282,1154,790,594,885,1072,1104,1310,1540,1336,1166,1366,1236,713,360,283,272,271,341,809,953,695,641,790,841,918,831,727,563,766,885,769,466,430,464,395,332,480,1104,1376,1444,1218,973,895,1106,1009,965,1358,1232,1188,921,1164,1672,1238,1304,1510,1086,904,723,601,500,522,955,1048,917,983,1026,1046,1100,1086,926,819,1034,1166,1106,1362,1064,1092,1226,870,871,1124,1840,1518,813,985,789,913,1364,1054,1182,1184,1012,942,1208,1076,592,553,722,777,947,1124,1090,1312,799,1114,1266,1060,1170,1072,1140,1246,1120,931,781,690,794,871,851,940,987,1160,1324,929,558,515,610,824,938,1018,1130,670,555,577,569,637,789,1008,965,689,588,513,802,1152,1028,1260,1126,1130,1390,1524,1268,1072,1078,1292,1454,1466,1294,1158,1386,1148,758,657,731,878,1026,871,929,1036,1220,1292,1168,1300,1354,1384,1216,1140,1050,957,933,747,690,933,1260,1260,1076,1080,1148,1034,1078,1476,1456,1132,1234,1186,1364,1520,1508,1454,1070,993,1152,692,473,786,1172,1246,1302,1262,1250,1404,1536,1682,1750,1630,1396,1232,1598,1710,1598,1358,1322,1350,1232,1084,1186,1316,1480,1482,1314,1250,1268,1360,1334,1278,1324,1194,843,768,565,439,669,977,1536,1868,1376,1344,1352,1516,1372,1358,1392,1368,1562,1676,1410,1138,958,734,971,1022,1236,1506,1298,772,523,425,393,598,881,743,419,377,331,320,302,299,319,339,322,323,348,421,473,537,633,431,356,356,343,395,537,673,768,694,451,334,394,469,560,669,614,494,427,370,339,416,424,381,350,349,476,569,475,425,597,1250,1450,1602,1404,900,1104,1192,1144,1148,1076,1074,988,962,1212,1354,1288,1282,1322,1296,1412,1406,1418,1310,1136,1324,1144,959,1218,1234,1214,1078,1158,1316,1028,761,1122,1178,1060,1546,1798,1362,1146,1021,1078,1021,1194,1112,1040,883,1086,1244,1072,719,705,884,814,709,475,448,527,939,950,990,720,563,652,641,627,798,829,767,832,1042,1404,1498,1210,658,906,1116,1004,1158,1222,896,957,1130,1152,1292,1282,1360,1284,1162,941,1348,1528,1534,1088,1048,1418,1342,985,733,595,908,952,917,668,987,1152,1220,1062,714,706,926,1120,996,739,732,466,361,430,574,881,1136,1102,828,567,461,423,686,922,734,610,441,280,280,285,277,292,597,1060,1152,1118,1024,995,1206,1278,1270,1394,1292,985,960,977,1134,1456,1476,1222,1108,1070,780,791,962,922,1024,1076,1058,1066,929,918,990,903,749,1040,1474,1754,1976,1910,1336,1282,1436,1328,1274,1070,728,713,612,523,717,976,1196,1048,843,432,334,411,456,398,445,437,426,309,388,749,1182,1236,994,994,853,745,969,983,869,830,963,1023,624,641,738,1098,1294,1204,1202,841,390,510,699,866,1186,778,519,571,967,1114,719,861,1090,830,763,829,1124,1538,1484,1262,1076,1064,762,949,1282,1284,1228,1100,1054,999,837,372,539,1080,811,511,565,730,1238,1154,642,336,596,1128,1500,1670,1826,1824,1174,1174,817,584,596,781,834,697,572,607,991,1106,622,770,1118,1142,1148,1174,1710,1214,811,975,877,522,509,552,633,724,691,765,869,1140,1368,1304,872,703,951,1212,1130,1190,1422,1428,1470,1622,1380,1532,1576,1432,1292,1168,1134,1248,1176,930,1090,1256,1332,1100,964,1196,1062,679,455,563,747,919,703,497,841,1142,909,905,1132,1148,1210,1116,1182,1258,1186,1094,1328,1600,1458,1150,984,1018,724,785,982,1036,1032,1372,1418,1390,1470,1308,1892,2640,1798,987,1005,1290,1310,1214,938,861,923,1352,1474,1186,1388,1478,1084,1192,1546,1342,1310,910,561,716,696,544,432,388,477,558,400,373,437,729,907,910,830,1200,1144,910,902,895,921,765,553,648,780,921,1182,1104,925,655,496,428,757,1106,970,732,745,964,1182,1434,1494,1246,1098,1070,1038,1288,1316,1154,1016,684,661,868,923,681,712,1094,899,596,457,777,1158,792,502,721,927,1058,886,966,882,1344,1444,1378,1342,1122,927,1034,1534,1726,1614,1524,1558,1558,1182,1326,1438,1534,1210,1064,1009,886,850,750,940,1168,1090,1052,1262,1332,1180,1158,1508,1670,1604,1420,1582,1716,1526,1272,1282,1412,1564,1356,1238,1236,1488,1612,1382,1294,1242,1172,1134,1250,1094,740,821,872,1130,1152,1046,1078,1146,1072,818,896,1262,1702,1638,1446,1438,1582,1688,1942,1708,943,636,654,753,1044,1240,1426,1476,1478,1136,842,737,1104,1054,670,644,870,1034,1120,1106,852,686,1130,1376,1214,907,916,1204,1136,1128,1328,1346,1220,1190,659,759,1422,1322,1182,1284,1478,1278,1032,1098,1162,938,670,832,1136,1174,937,730,1102,1278,1434,1490,1396,1158,1090,1444,1340,1264,1318,1238,719,904,1446,1226,628,446,416,705,1426,1428,921,733,561,557,870,626,706,546,1007,1460,1542,1562,1176,782,796,1316,1400,1022,766,1030,1246,1464,1070,1130,1166,983,756,604,758,1076,1190,1154,815,960,1092,1316,1542,1572,1052,987,824,685,601,548,573,751,798,861,606,666,1068,1472,1088,1038,813,771,966,956,588,412,291,326,615,1015,536,684,1216,1015,1001,1032,567,328,368,365,394,352,270,328,460,541,473,365,306,324,362,360,606,721,388,488,440,415,603,713,496,346,397,400,355,350,459,474,551,686,478,582,1040,1160,1294,1080,904,1152,1116,1102,1590,1996,1460,1005,941,860,1046,1214,1468,1744,1550,1388,1746,2110,1488,531,393,357,361,330,460,594,503,623,896,1530,1252,547,427,505,521,521,434,448,486,557,860,1096,840,1060,1428,1172,732,594,745,905,1254,1334,2150,1900,1066,904,937,958,941,1015,620,319,308,260,269,388,418,361,408,364,354,471,522,471,487,980,1380,1290,1346,924,828,1052,1404,1630,1608,1426,1596,1278,884,781,735,903,1032,1068,580,317,545,1108,1328,1266,1080,1312,1492,1026,498,391,326,375,362,397,397,403,378,427,506,493,435,511,689,979,1056,667,662,525,674,643,481,393,336,266,341,397,361,325,458,474,341,367,340,436,454,554,774,817,1074,1372,1334,1168,1340,1332,1300,1288,1094,950,578,607,739,649,403,266,271,432,561,669,648,521,517,486,355,371,427,372,345,383,337,335,339,415,521,364,273,240,275,352,421,443,345,261,269,257,255,248,238,243,265,264,347,441,472,406,356,358,294,328,398,457,390,355,372,479,502,838,661,344,384,408,443,605,866,899,547,493,588,708,835,717,738,1190,1250,1180,1526,970,501,357,389,394,360,601,1019,788,480,538,786,959,894,506,626,769,890,832,830,1028,1450,1192,788,481,445,409,435,685,853,685,782,957,1012,1206,1462,924,533,730,860,681,772,1494,1454,1296,1054,833,844,666,390,514,514,681,1092,855,651,1236,1766,1208,534,446],[717,572,400,315,332,364,385,382,404,267,236,236,260,273,316,332,422,549,585,607,607,546,440,462,430,396,368,343,297,404,398,310,550,999,813,388,216,238,306,312,351,402,781,1054,1032,749,802,899,522,379,487,505,583,659,775,957,1026,1124,897,669,1130,1384,1174,719,361,364,372,367,448,965,1060,1030,991,995,895,648,808,1182,1298,846,681,778,1021,1388,1476,1050,1021,1390,1362,1080,926,933,1158,1428,844,965,1168,1382,1472,1496,1708,1512,1108,1186,1180,752,780,927,741,527,361,344,333,342,365,394,452,427,448,525,379,327,386,356,376,418,530,456,491,546,794,1088,1084,933,896,1024,1166,985,1226,1236,830,730,972,1044,1126,1023,1070,1268,1104,681,781,833,1256,1412,843,1074,1290,1166,1266,911,901,1250,1050,569,321,262,304,426,680,989,805,524,990,1268,704,305,285,392,675,956,875,1776,2002,1326,1100,1198,1028,582,343,284,262,291,276,248,268,393,356,351,374,594,706,786,796,659,1190,1742,1624,1104,761,685,1170,1484,1482,1758,1738,1044,539,533,525,418,388,422,437,798,1486,808,393,470,644,845,866,768,785,673,397,381,531,1034,1346,1328,1130,924,1036,1066,857,800,945,987,758,998,1544,1120,863,842,1042,1376,1816,1520,1402,1580,1378,1340,941,1090,1512,1154,1042,1122,1200,1146,1246,1088,1182,1274,1356,1708,1618,1298,1454,1418,1238,1232,1026,1108,1074,1658,1902,1412,1136,1142,1358,1542,1230,1356,1432,1370,1412,1384,1144,999,1086,1168,1304,1434,1160,733,876,1170,1384,1252,971,993,1186,1078,857,671,652,988,1356,1204,990,901,750,1020,1122,1216,1338,1328,1354,1396,1504,1598,1504,1406,1214,1210,1302,1186,1216,1086,1032,1013,1214,1384,1454,1410,1322,1314,1328,1442,1054,1250,1512,1404,1190,804,634,772,838,642,390,341,275,281,332,367,380,393,470,631,651,470,470,706,856,1230,1236,851,946,1136,1216,1380,1674,1838,1024,885,1044,1118,1344,944,622,437,386,540,546,611,1005,1420,1210,1118,1292,1300,747,387,325,331,321,335,705,969,803,798,908,894,576,597,787,685,543,397,445,905,1034,963,593,391,644,1164,1388,1368,1110,922,797,1620,1376,1324,1280,1274,1106,839,868,1046,902,1294,1360,658,722,745,645,815,1009,1316,1220,1032,749,609,886,1224,1268,1110,882,1256,1328,1296,1386,740,764,794,508,525,886,1332,965,730,850,798,885,1168,1302,1422,1382,1200,1154,1394,1184,924,742,808,982,1028,888,982,1136,643,966,1262,1346,1360,1250,1188,1198,1140,1060,1214,1142,1026,696,1040,1154,907,794,862,913,859,751,786,905,731,710,685,522,519,724,741,741,803,919,792,904,1192,849,1042,1138,938,891,772,1021,1218,1444,1534,1096,803,998,1078,1178,1270,1252,1272,1048,747,573,888,1190,1326,1252,939,762,1040,1096,940,1134,1294,1574,1272,1116,954,888,934,872,759,965,1262,1390,1284,1274,1276,1166,1196,1404,1376,997,987,1232,1532,1584,1508,1522,1216,1114,1194,1160,692,830,1328,1282,1250,1350,1294,1434,1820,1820,1612,1598,1386,1274,1322,1532,1632,1644,1490,1408,1260,1086,1084,1052,1200,1300,1344,1312,1098,1174,1294,1272,1484,1432,1078,832,650,459,415,636,952,689,912,1400,1748,1606,1524,1356,1268,1300,1256,1350,1166,893,949,1042,1110,1116,1354,1370,1268,1112,879,601,448,692,911,713,466,390,347,317,299,309,317,328,322,330,389,496,578,705,598,523,427,360,328,325,316,425,540,549,425,350,509,744,774,849,775,640,560,465,397,419,417,401,385,361,409,421,422,498,875,1462,1512,1550,993,938,991,1182,1234,1184,1226,1058,905,794,1268,1316,1616,1360,1114,1009,1132,1156,1222,1208,1156,1011,829,1023,1160,1124,1182,1290,1460,1282,944,855,1034,1232,1090,1354,1534,1400,1366,1328,1220,1122,1226,1200,1154,982,1246,1346,948,745,720,617,674,815,501,337,453,1050,989,878,861,708,425,658,1234,1330,1108,1072,1174,1120,1088,1278,1092,609,838,1078,991,977,898,480,553,973,965,1022,1108,1188,1080,1052,1532,1668,1608,1450,1200,1384,1510,1194,899,903,799,875,888,749,695,983,1172,1262,1132,590,558,826,1040,1036,984,876,461,321,471,509,530,537,469,480,474,512,632,1074,1248,1078,659,386,319,307,287,312,376,645,1064,1214,1152,1128,1136,1466,1510,1332,1402,1384,1164,1128,989,810,979,827,660,761,1336,1422,1016,928,979,991,955,950,824,692,875,823,628,636,814,1436,1684,1910,1974,1570,1284,1158,1068,1188,1080,524,430,480,630,1016,1064,1064,1152,868,600,615,783,1044,951,799,680,568,474,471,597,768,1011,998,1180,1068,794,780,710,954,853,781,920,1152,915,854,1388,1692,1544,1372,955,592,740,1052,857,771,456,422,332,403,653,786,1009,848,696,748,572,744,1086,1344,1230,1206,1130,908,1300,1260,961,1026,1182,1164,1162,945,507,608,998,894,641,618,965,1198,1182,800,407,839,1262,1164,1500,1552,1386,969,980,835,670,590,590,729,965,1134,1068,1166,1146,869,1002,1106,1040,955,1070,1160,1048,1082,1140,996,603,525,539,483,670,889,1106,1472,1892,1510,700,544,710,1108,1556,1324,1180,1238,1224,1456,1750,1630,1510,1532,1530,1284,1140,1100,1144,1140,998,1210,1250,1302,1334,984,966,984,705,463,642,986,946,692,500,684,1262,838,767,1322,1362,1310,1086,996,1170,1228,1150,1250,1572,1478,1023,798,1010,865,636,916,962,872,1084,1242,1438,1476,1532,2856,3304,2128,987,766,1140,1346,1188,770,546,609,1028,1352,827,999,1288,1196,1092,1210,1282,1350,1090,933,906,616,516,655,580,696,850,781,477,559,810,888,736,658,969,1092,967,916,739,975,771,784,771,796,943,1108,990,624,393,388,392,714,1122,1017,767,850,1116,1154,1268,1304,1374,1228,1218,1210,1238,1228,1098,1050,1003,841,1048,1142,1050,1007,1110,1360,1392,820,456,484,446,491,594,654,930,1108,1324,1440,1528,1472,1222,759,785,959,998,1390,1628,1634,1280,1506,1738,1514,1318,1268,1288,1278,1272,1130,837,544,534,828,1154,1356,1294,1298,1390,1058,1288,1438,1180,1430,1160,1202,1382,1372,1384,1460,1430,1208,925,1042,1176,1384,1594,1520,1316,1230,1046,1112,1126,1068,1003,954,901,1188,1296,1208,1162,998,868,689,847,855,1244,1466,1522,1568,1484,1236,962,675,566,637,613,597,707,736,1094,1228,1102,922,989,841,933,1292,985,891,1030,1015,1132,1038,675,470,948,1184,984,932,1182,1292,1344,1316,1238,936,743,933,691,800,1142,1220,1014,1320,1716,1592,1432,1334,1126,807,533,699,1016,1090,965,814,1170,1232,1400,1534,1418,1180,1288,1284,812,769,680,592,455,847,1042,628,480,544,539,1068,1722,1388,1108,984,618,714,961,843,609,516,841,1158,1450,1528,1586,1466,1334,1318,1102,836,761,1044,1442,1278,1402,1516,1332,1328,1122,899,631,832,1256,1394,905,937,720,748,1096,1084,590,390,654,967,886,537,590,802,914,789,672,520,730,1162,1406,1300,968,1078,1424,1066,866,721,590,403,527,838,663,986,1390,1054,883,1019,593,347,365,478,452,393,365,344,354,331,350,321,278,292,305,405,923,1098,794,641,619,466,691,1023,789,641,609,495,398,351,477,441,374,383,549,1128,1090,1146,1566,1428,1470,1532,1224,1174,1642,1692,1015,929,1132,1180,807,510,739,1132,1044,802,869,1494,1410,604,395,322,365,354,518,694,567,769,1168,1254,927,508,444,604,540,442,503,725,872,1110,1182,833,974,1498,1594,1418,991,579,520,791,1354,1410,1610,1072,907,1126,984,601,330,364,618,601,334,313,338,365,417,408,405,360,331,419,484,487,547,716,812,874,1212,1009,911,1148,1296,1642,1784,1814,1778,1346,1066,998,838,698,1132,1040,485,390,443,624,860,1220,1468,1348,1132,622,428,389,395,385,390,403,402,443,396,370,507,513,524,670,915,1148,1050,762,712,678,813,760,614,511,355,290,372,309,325,383,689,698,381,363,632,841,880,1038,976,777,938,1584,1852,1172,1332,1412,1434,1162,1009,679,671,858,792,712,409,264,350,444,586,575,681,677,628,619,494,357,340,357,320,367,450,539,645,803,698,503,341,280,334,375,419,421,290,253,242,240,252,255,267,257,271,285,358,443,456,410,314,318,327,272,303,378,400,381,373,372,427,558,464,332,355,396,515,688,980,1102,878,843,942,901,741,590,652,912,968,1082,1058,464,435,451,435,376,642,1242,1378,952,804,793,570,785,857,818,1134,1040,1068,1040,1126,1206,1186,1278,980,497,514,630,948,1152,1011,739,510,612,773,929,972,745,724,995,1036,1132,953,1250,1296,982,973,844,894,731,538,515,591,610,552,493,533,866,1402,707,408,449],[603,379,336,350,361,397,410,412,366,251,267,280,273,280,361,472,575,623,625,597,571,517,509,530,457,382,331,289,261,307,386,454,700,1142,684,378,329,395,371,324,387,512,555,565,621,608,689,807,482,470,563,682,769,957,1114,1028,973,1078,1004,850,1132,1224,1100,632,431,415,501,622,606,892,812,691,746,827,938,669,883,1224,1068,588,529,891,1162,1302,1278,981,1080,1336,927,1001,1444,975,1164,1096,888,1114,1116,1266,1010,1004,1372,1336,1108,1194,1012,879,851,797,893,828,531,409,377,348,359,449,625,603,499,493,441,340,328,328,354,415,428,444,526,681,852,949,957,749,536,672,762,1096,1210,1186,1056,1048,852,669,840,874,818,965,948,979,935,980,1104,930,669,1192,1336,1228,878,630,929,1306,914,442,333,292,312,318,432,419,421,813,1208,942,470,332,493,558,498,966,1266,1648,1434,1366,1502,1308,803,637,424,261,317,357,297,274,266,312,307,328,379,637,720,810,803,724,1396,1650,1742,1710,1324,1266,1294,1440,1194,1434,1636,1290,1216,1084,697,818,812,943,643,912,1130,648,327,351,357,363,511,1128,1438,763,384,324,386,1196,2258,1842,1140,1278,1592,1160,590,1018,1378,1296,957,908,1160,1088,792,604,760,1134,1416,1328,1450,1340,1278,1716,1222,1490,1282,1102,1124,1410,1070,900,1224,1256,1350,1578,1666,1778,1432,1528,1444,1356,1202,1100,1234,1360,1136,1216,1400,1366,1272,1318,1700,1970,1470,1416,1360,1470,1602,1498,1340,1116,1062,1034,1142,1018,681,478,891,1288,1426,1504,1180,1009,1034,1028,1009,567,724,1376,1328,691,590,467,536,804,742,863,962,843,1004,1424,1512,1440,1462,1296,1388,1410,1472,1410,1622,1484,1076,1060,1162,1246,1372,1534,1514,1188,1286,1392,1166,1360,1338,1226,1322,1282,1146,1246,948,485,379,318,352,314,303,340,390,458,465,600,814,645,493,763,1372,1180,715,802,1222,1194,1040,1180,1498,1270,1096,1134,1138,1394,1164,462,343,364,388,440,563,644,1046,1142,934,917,1046,1204,810,473,399,458,427,350,670,1252,1492,1316,1250,1064,703,1016,932,896,881,871,840,1440,1322,1010,623,356,821,1312,1332,1176,1134,1260,1276,1480,1194,1208,1224,1228,1378,1306,773,711,1036,1048,1270,789,599,542,613,868,1098,1644,2112,1590,1006,917,1190,1382,1134,1130,1246,1242,1260,1470,1322,1208,1422,1260,867,799,1232,1048,778,915,1116,1130,892,922,1068,1168,1236,1026,1007,1300,1322,1342,1142,1204,1076,1354,1300,909,688,451,622,1034,1066,1070,1388,1402,1270,1202,1178,1318,1448,1158,939,1056,827,666,626,764,1026,1192,975,733,898,775,674,670,678,641,824,875,816,1156,1396,808,951,1274,1092,1110,1024,772,486,314,767,1362,1812,1700,1021,653,927,948,885,1100,1252,1248,1042,716,457,538,671,898,1070,982,917,1268,1236,723,844,1102,1328,1294,1340,1556,1248,947,957,848,828,900,1192,1378,1266,1188,1212,1332,1302,1260,977,908,990,1168,1230,1460,1554,1300,994,788,677,575,651,1044,1118,1072,1118,1082,1564,2092,2090,1530,1432,1320,1398,1216,1408,1672,1704,1486,1378,1314,1242,1150,901,691,976,1194,937,862,705,794,955,1210,1250,937,775,1122,828,526,531,658,629,1554,1834,1786,1602,1498,1312,1340,1316,1262,1240,1038,642,1015,1468,1466,1424,1302,961,1106,1262,1104,683,526,541,589,477,461,409,356,326,319,325,325,329,336,332,348,357,412,524,649,690,474,348,300,300,336,341,385,421,352,341,565,814,697,634,680,670,614,602,570,517,444,430,473,465,390,388,416,566,1294,1528,1652,1194,993,1116,929,1004,1122,1268,1286,885,875,1054,1378,1408,1304,1302,1302,1290,1226,1256,1336,1222,1042,711,1332,1676,1098,1010,1166,1342,1284,842,988,1114,1074,1130,1062,1298,1400,1386,1376,1404,1404,1360,1310,1256,1190,1072,1276,1324,1138,941,671,692,1040,936,576,513,620,1204,1064,550,874,1108,737,791,1228,1390,1406,1194,1106,1202,1096,990,924,931,800,817,1090,1082,1054,703,589,684,767,1094,1102,1086,1013,1020,1256,1366,1798,1854,1570,1432,1378,1005,886,1122,1036,846,669,608,722,977,1144,1424,959,701,589,614,690,739,820,520,321,308,346,407,431,440,509,638,625,524,862,1058,1182,1140,747,451,392,361,345,392,522,959,1164,1154,1224,1320,1356,1344,1172,1136,1334,1480,1382,999,561,411,799,628,573,778,1460,1416,933,856,995,1034,955,800,784,828,966,797,780,859,1054,1390,1426,1620,1702,1318,991,983,808,681,886,843,888,879,743,832,943,922,930,1134,1332,1382,1346,1338,1072,651,529,686,807,799,543,402,473,520,708,562,769,943,813,948,1114,766,932,893,904,960,1106,1416,1606,1512,1334,1002,1076,1010,533,409,449,407,396,505,616,748,935,631,651,595,628,742,588,803,1082,1248,1094,1064,1406,1246,891,966,933,768,1026,1152,850,1048,905,631,744,1020,1242,1358,1388,938,473,769,785,733,937,1098,1322,1036,748,580,547,647,692,661,805,972,1218,1326,1154,1108,1388,1238,949,896,1001,1020,971,1158,1252,1170,799,539,532,491,604,756,1032,1796,2192,1466,808,708,775,1114,1362,1182,1134,1156,1196,1426,1494,1494,1556,1632,1616,1288,929,624,935,1282,1212,1188,1136,1296,1208,954,866,621,513,559,762,1054,1230,1130,569,381,568,614,868,1200,1294,1204,1048,980,764,891,1140,1200,1476,1480,962,930,955,1090,1066,867,698,773,1094,1248,1202,1154,1186,1178,1334,1836,1514,1019,898,750,609,522,466,563,919,1222,883,1152,1308,1212,1162,1306,1432,1364,1218,1284,1180,758,616,662,713,938,1090,1108,936,997,965,930,823,865,1052,1154,1114,1200,796,747,537,780,899,802,996,1266,1146,735,478,584,858,957,945,1060,1026,836,678,886,1110,1050,885,973,1132,1244,1274,1023,1088,1090,1011,988,1166,1426,1276,1202,1650,2206,2054,1032,430,446,471,498,559,571,807,1216,1482,1388,1036,1246,1274,1021,927,720,713,896,1028,1322,1228,1704,1728,1278,1282,1126,972,1050,1152,1176,1034,669,855,858,906,1166,1152,1258,1228,1042,1238,1136,1040,1190,1094,1136,1040,929,1018,1074,901,811,855,843,919,1298,1554,1522,1340,1172,1118,1158,1110,969,969,1114,1158,980,1048,1072,994,934,1112,841,798,529,805,1208,1216,1068,934,881,932,920,818,668,506,523,561,567,670,839,968,957,1168,1036,958,1310,1238,874,766,907,1098,749,675,799,1044,1386,1192,903,951,1220,1294,1228,680,467,507,818,860,626,851,1448,1528,1218,921,1126,1318,1090,915,482,390,497,731,1114,1124,1124,1148,1224,1246,1202,1380,1426,1356,1042,724,922,827,565,462,754,680,377,623,962,850,896,1082,775,818,1140,1054,1040,1072,756,484,719,991,1158,1300,1080,1682,1770,1710,1534,1498,1234,1166,1266,1454,1426,1588,1466,1252,1196,1168,1190,1098,1138,1204,1518,1430,1002,638,632,586,506,375,372,563,1028,1268,1124,850,962,1410,1210,719,362,334,606,1009,1164,951,1402,1286,1542,1434,1007,638,669,533,412,587,987,1606,1194,586,466,499,409,484,645,533,583,537,397,318,404,537,314,288,287,276,598,939,960,720,446,399,360,574,821,1088,1172,729,518,369,350,423,406,321,321,474,984,1064,1080,962,926,1498,1866,1748,1428,1192,1104,666,704,977,827,453,295,654,1023,984,962,708,629,995,742,446,364,420,391,684,930,918,1078,931,655,487,418,605,727,762,870,992,1152,1188,1294,1086,722,815,990,1398,1632,993,615,502,852,1314,1360,1264,1100,1023,944,714,519,311,502,1234,1144,651,469,339,331,389,409,414,404,397,420,451,496,484,471,497,516,1166,1304,1116,904,1050,1506,1642,1730,1628,1572,1124,948,889,777,823,967,812,550,382,524,966,1232,1094,1058,1046,529,380,346,446,542,561,480,433,491,418,362,446,496,599,698,1104,1200,1086,974,866,750,709,733,586,614,563,394,351,364,314,249,506,630,648,834,1170,1212,922,824,760,742,1066,1302,1264,1140,1268,1390,1009,611,520,753,1424,1370,954,722,504,355,670,464,481,554,615,645,623,620,570,438,296,296,292,386,514,583,875,888,650,609,645,880,557,378,448,573,438,328,273,247,255,256,227,239,242,229,310,417,376,356,302,332,309,269,256,346,388,390,372,362,459,671,468,323,300,487,837,792,758,938,1026,1001,962,893,897,860,796,629,601,725,729,520,521,553,518,376,902,1628,1470,951,830,793,612,659,681,1054,954,607,549,849,1148,1262,1562,1324,814,427,404,678,1212,1318,910,634,544,669,695,717,706,647,760,943,1080,1001,954,1050,1200,1104,893,658,538,544,528,504,693,686,821,833,757,771,885,540,390,403],[469,510,395,405,407,399,385,338,283,259,295,312,311,328,440,606,683,643,576,543,576,528,543,529,453,359,297,267,276,297,360,498,578,813,770,513,647,578,392,415,453,475,437,437,604,689,892,794,496,554,606,655,861,1114,1096,847,718,988,1164,902,794,1084,1208,890,515,390,548,747,750,783,787,604,586,936,1054,864,1016,1226,941,633,516,944,1372,1428,1334,1232,1270,1150,616,1007,1298,1220,960,619,854,1058,1204,1202,1064,841,847,1128,924,886,927,722,688,529,756,937,753,459,357,339,373,446,634,737,506,403,424,387,363,346,359,382,398,361,378,535,752,980,1134,848,993,871,777,1144,1288,1192,1200,958,549,700,1088,1156,1002,991,1100,1160,1076,974,811,785,788,793,1011,1166,913,1022,1314,1030,588,434,519,557,435,329,327,532,905,1166,862,372,298,499,777,870,746,852,888,1156,1356,1380,1466,1136,549,554,409,284,295,281,283,283,276,276,253,249,293,339,337,428,481,700,1160,1292,1370,1386,1208,1170,1346,1436,1358,1328,1432,1532,1348,862,628,1010,1234,1019,582,911,1146,684,365,336,406,711,1030,1910,1930,943,401,297,302,897,1836,1634,1234,1462,1638,1234,671,1019,1312,1236,921,799,752,803,850,902,817,889,1136,1360,1480,1252,1158,1262,1210,1460,1328,1332,1114,1108,1064,822,709,731,1048,1528,1730,1670,1458,1598,1454,1288,1378,1388,1450,1290,955,998,1278,1354,1282,1412,1456,1460,1574,1490,1368,1656,1700,1546,1450,1320,1162,1036,979,804,639,488,877,1248,1366,1378,1334,1210,915,929,1028,549,683,1020,1112,965,763,573,738,785,514,472,425,352,568,1070,1340,1220,1268,866,1046,1398,1488,1514,1684,1584,1456,1252,1178,1422,1506,1512,1260,1226,1406,1346,1246,980,1110,1344,1416,1416,1250,1194,794,1102,706,409,401,372,354,398,445,445,446,761,948,618,486,612,985,767,658,1064,1296,1196,988,960,884,956,1562,1308,1312,1130,532,296,349,373,404,377,366,606,1158,1154,833,876,999,732,636,515,475,523,464,443,614,1222,1750,1432,1168,1230,1256,1162,529,759,948,811,741,743,743,630,427,515,1068,1268,1404,1332,1522,1712,1584,1430,1038,768,987,1104,1154,1026,808,962,1400,756,780,752,582,732,1092,821,686,1444,1694,1164,1200,1356,1416,1302,1144,1160,1158,1202,1118,1068,1412,1506,1214,1368,1210,1170,1328,783,738,966,1448,1330,899,809,910,1076,1026,957,722,789,1424,1760,1402,1288,1066,913,1012,868,491,478,756,980,998,1220,1554,1312,1088,1324,1280,1236,1238,1194,1328,1282,1196,1110,957,807,985,1052,1132,814,764,843,757,694,723,739,706,682,753,865,868,832,1086,1188,1012,757,825,624,415,495,938,1594,1780,1250,753,842,1208,1194,1134,979,1017,1144,895,440,310,455,620,622,615,958,1068,1236,1108,871,1136,1296,1408,1306,1360,1546,1184,1124,1074,902,1004,1032,1094,1310,1266,1422,2012,1788,1376,1312,1156,1202,1076,1286,1206,1428,1412,1350,987,848,713,498,747,1232,1026,1064,1126,890,1688,2036,1982,1360,1360,1300,1298,1504,1638,1552,1554,1614,1664,1530,1498,1354,1154,716,911,1108,939,749,571,519,775,812,798,676,587,630,828,899,907,1038,1366,1622,1602,1498,1308,1302,1378,1548,1484,1162,1042,800,521,972,1294,1290,1356,1064,841,1110,879,728,448,414,407,431,401,387,397,409,371,327,321,323,333,329,354,391,338,342,355,584,541,363,328,323,306,346,351,386,439,445,405,416,529,500,517,499,505,541,516,554,540,459,410,458,474,419,466,458,904,1492,1578,1696,1288,1046,1015,1021,993,905,1176,1364,1372,1448,1322,1250,1318,1204,1156,1378,1618,1400,1544,1424,1234,1002,1010,1388,1098,524,938,1500,1582,1194,1009,1198,1340,1530,1460,1284,1298,1234,1146,1190,1334,1466,1560,1434,1200,948,750,985,987,1112,808,674,947,1420,1262,1150,1112,982,1230,1001,460,652,1272,1288,1128,1218,1462,1290,1132,1288,1182,853,768,1006,1066,1102,1042,1158,1320,1318,1066,1078,827,810,862,725,825,955,1396,1510,1594,1832,1460,1174,1268,1232,827,884,951,1036,1114,991,858,1017,948,980,1408,1232,1084,1042,1042,856,599,474,328,312,305,336,357,394,447,480,758,795,821,827,883,1076,1026,879,743,670,772,709,771,807,1070,1080,1038,1186,1092,993,1020,1054,1050,1108,1324,1318,875,631,599,926,955,769,855,1006,781,576,695,1114,1030,858,890,1096,1082,1001,1066,956,998,1168,1088,1096,1216,1086,969,657,537,505,532,670,808,963,926,659,705,971,1016,990,1426,1522,1216,1088,952,782,522,461,741,1028,990,695,674,683,539,696,930,972,1050,972,1134,1228,950,741,581,663,738,1040,1192,1382,1510,1384,1092,871,539,408,416,421,385,328,529,795,753,630,587,628,507,865,855,633,528,783,1104,1042,968,1250,1104,1202,1130,634,728,973,1332,1254,1208,877,683,874,1032,1108,1176,1394,1015,480,842,945,884,612,1204,1708,1164,828,571,548,686,661,544,564,648,915,1094,1290,1400,1368,1234,1118,932,880,723,728,741,1015,1028,991,760,557,508,700,875,1068,1416,1422,1002,861,812,700,1108,1234,1190,1274,1294,1384,1534,1442,1472,1600,1632,1646,1328,709,475,967,1388,1430,1266,1068,1042,894,777,539,521,626,775,1048,1174,1394,1332,880,749,702,559,888,1480,1612,1334,1188,1003,728,683,827,1222,1646,1664,1186,1038,1068,1036,986,866,891,935,1078,1282,1234,1414,1482,1110,1264,1852,1786,941,523,396,634,849,1070,1136,1182,1260,1068,1174,1158,1126,1058,1176,1420,1234,1136,1158,1058,916,783,745,628,651,883,769,605,582,566,578,536,682,861,1036,1106,1066,866,771,687,827,1010,1010,1212,1264,1154,938,866,784,885,735,752,983,1106,752,571,849,1162,1186,1004,1044,935,803,1020,1088,1192,993,830,1018,1206,1160,1042,1158,1646,1930,1750,968,419,485,462,443,530,666,1036,1366,1482,1152,1064,1134,1010,1312,1378,948,1040,934,883,1070,1490,1886,1506,1178,1274,1007,663,983,1204,1013,1044,1068,1046,863,971,1074,1086,1168,1094,1034,1104,1084,1048,1102,1084,1152,1108,1024,1042,1110,1268,1344,1288,869,950,1410,1708,1616,1412,1176,1148,1056,956,962,815,982,1266,970,833,991,1130,952,756,708,932,913,927,883,764,869,1013,1174,1240,1056,1056,847,669,558,501,577,679,967,1086,1122,1288,1032,935,980,1182,747,513,706,692,550,774,927,1100,1474,1314,1126,957,1058,1130,924,742,839,701,666,603,777,1482,1824,1440,1248,1146,678,844,988,1000,661,473,384,412,704,1170,1310,1116,1170,823,976,1290,1028,995,1108,1062,1106,1000,868,733,714,448,378,522,797,1172,1432,1158,810,877,1078,939,1046,1086,618,417,922,1314,962,836,845,1512,1838,1966,1596,1150,1256,1396,1538,1456,1288,1406,979,844,914,1210,1208,1268,1196,1284,1552,1406,708,492,667,583,496,365,392,839,1410,1630,1278,741,817,1184,1270,851,571,339,322,438,550,647,1136,714,1192,1384,893,463,445,440,512,702,806,961,789,940,526,479,488,557,569,459,489,481,397,274,317,392,283,292,304,332,728,816,738,577,611,547,362,367,471,605,529,346,404,421,449,479,438,332,313,309,410,655,832,835,930,1210,1446,1292,1292,868,717,742,1023,988,547,373,296,473,780,924,861,818,552,528,747,557,341,378,408,802,1186,1420,1274,868,819,896,936,932,951,1040,1086,1130,1104,1056,1164,977,650,533,605,895,966,819,843,1030,1148,1021,919,1012,1008,860,816,522,466,501,699,976,977,1024,680,309,318,428,573,601,532,519,502,487,553,854,1192,1046,921,1224,1822,1824,987,908,1256,1470,1698,1646,1472,1062,768,813,847,799,1016,1224,890,457,726,1344,1202,836,954,1046,616,443,437,499,552,459,421,478,470,447,456,485,680,839,595,901,1142,1052,924,912,842,871,768,597,644,593,548,529,505,358,262,490,667,681,927,1128,1318,1006,623,863,1142,1446,1424,1328,971,962,1262,958,456,297,564,1162,1498,1224,604,525,494,661,441,259,363,545,709,689,695,616,577,474,342,289,350,559,547,719,1024,1098,826,782,1072,626,358,389,519,568,415,276,261,260,267,274,286,265,256,296,312,328,335,356,328,335,309,265,332,396,412,364,348,312,406,310,279,223,459,778,819,624,505,577,690,922,1148,1015,999,904,611,613,678,546,469,427,495,515,612,1060,1310,1824,1702,763,505,470,612,709,805,621,412,426,632,1030,1594,1814,1214,1134,791,431,619,894,1112,1003,615,731,1124,827,690,519,511,572,813,1150,909,925,1046,1312,1152,669,448,403,435,470,535,825,1324,1812,1542,1486,1356,961,644,695,787],[390,561,436,408,388,381,370,320,290,312,335,362,387,410,485,576,633,556,484,506,540,583,540,468,444,389,320,276,287,344,365,411,489,700,844,904,869,576,511,462,407,415,429,436,563,639,748,658,633,822,799,616,626,768,947,839,927,883,988,1064,986,1372,1394,1132,802,492,500,461,471,568,575,505,530,572,794,1106,1124,1138,1150,841,526,568,832,1428,1538,1168,1332,1134,673,1028,1444,1572,1158,783,717,1100,1396,1134,1378,1384,1028,1009,871,795,623,667,838,821,683,822,806,530,490,402,381,394,577,740,603,444,392,372,307,319,376,404,353,312,341,344,665,1122,925,781,1268,1508,1262,987,1170,1064,779,653,568,780,1126,1134,1108,1196,1376,1328,1116,828,693,695,655,665,744,955,1124,1176,1166,746,565,495,576,650,468,330,548,1042,1320,882,446,334,379,420,598,804,815,895,1060,1130,1140,1252,1270,1272,1007,703,449,305,291,300,312,321,333,281,228,238,325,379,389,332,631,1096,1360,1182,947,934,907,1048,1450,1454,1334,1158,1316,1382,1400,1248,997,1162,1374,1010,794,1248,1296,725,359,383,507,1078,1404,1620,1254,800,432,313,352,749,1344,1454,1490,1662,1220,930,609,972,1390,1466,1582,1542,1152,1142,1584,1542,1098,1050,1038,1112,1416,1470,1278,1100,1290,1232,1214,1198,985,843,1096,1168,923,1014,974,1416,1594,1398,1450,1578,1474,1366,1440,1338,1256,1152,914,1042,1186,1200,1264,1298,1188,1138,1416,1520,1288,1088,1256,1332,1072,905,838,843,769,764,550,646,949,1068,1252,1338,1166,1170,1226,1074,710,646,883,1170,1136,965,721,664,934,967,854,993,669,754,1210,1436,1108,1084,1260,959,1140,1606,1460,1292,1322,1076,1376,1554,1650,1568,1520,1308,1218,1288,1138,1224,1270,892,1164,1346,1482,1506,1364,1322,1166,1358,1178,794,469,427,377,406,473,458,565,824,901,716,481,855,868,708,875,1178,1290,1074,988,1092,973,1576,2004,1438,1466,827,373,328,313,480,549,360,411,822,1664,1512,1124,788,1196,1260,1076,686,534,544,497,496,480,648,883,939,799,1122,1094,780,509,390,452,435,274,507,790,464,444,544,1032,891,1120,1202,1218,1230,1248,1396,1040,703,995,1020,898,1007,799,1104,1102,799,813,678,494,514,615,468,493,1030,1352,1226,1156,1338,1280,1324,1296,1172,1114,1312,1174,1015,1322,1015,669,1296,1390,1448,1238,834,657,1036,1836,1454,1138,1226,966,963,1088,1202,1038,1114,1626,1690,1464,1356,1214,1100,1314,1146,883,764,775,874,1013,1312,1466,1126,1082,996,811,1208,1208,1198,1708,1842,1348,1354,1280,1080,1066,1100,1262,1126,1038,1084,860,699,866,891,629,493,514,556,816,966,844,803,869,968,932,687,663,806,1040,1156,1280,1062,723,917,1094,1012,946,904,972,1094,695,547,593,811,1056,952,883,898,954,1178,974,962,1408,1414,1274,1200,1302,1070,984,1106,1172,992,1184,1012,882,1060,1180,1148,915,1064,1446,1396,1634,1724,1296,1154,1009,893,1042,1160,1082,1058,1058,1054,1344,1466,1132,1386,1258,1142,1600,1932,1824,1554,1446,1154,1288,1772,1886,1672,1504,1470,1560,1670,1668,1496,1190,1238,1358,1340,1110,590,462,391,401,459,828,810,777,638,885,1192,1360,1128,1013,1202,1138,1342,1436,1522,1600,1680,1632,1350,1302,1032,656,610,916,1250,1194,1130,1130,1022,858,1007,614,465,470,406,377,371,376,389,377,343,335,344,326,318,513,552,384,318,323,406,410,314,320,354,401,431,408,420,514,537,451,343,388,435,493,471,434,469,506,503,424,426,361,382,481,491,470,607,1248,1538,1652,1644,1134,1148,991,1224,1430,1152,1246,1618,1600,1562,1266,1078,1218,1124,1160,1262,1268,1324,1232,1116,1124,1092,1232,1180,794,728,1140,1322,1416,1450,1214,1146,1130,935,1170,1160,1168,1112,1102,1242,1338,1256,1278,1274,1076,861,731,755,495,650,771,598,767,980,838,950,1030,1090,1242,765,423,689,1304,1376,1294,1332,1262,1066,1144,1292,1130,985,910,1020,1010,1132,1156,1242,1196,1078,1142,1136,1003,927,683,774,889,1424,1758,1640,1660,1436,968,917,1013,1092,880,680,816,1012,1138,1346,1015,988,695,774,1016,1220,1328,1326,1396,1013,518,483,416,345,313,345,338,380,407,394,642,871,916,839,1011,1011,930,996,965,960,1154,1094,1242,1256,1066,1024,1274,1220,774,971,1334,1204,989,1011,1274,1250,955,1070,1284,1114,836,971,1226,888,603,558,666,1074,1092,1050,1074,1124,1036,1054,1020,881,1003,1046,987,1030,1038,970,742,488,478,554,516,501,616,800,731,669,956,1344,1278,1080,1146,1342,1144,891,641,652,943,1194,1040,896,1040,810,491,556,1015,900,1084,754,527,750,1088,1214,1216,883,579,625,828,819,1136,1152,1236,1134,888,590,445,386,384,404,325,316,577,722,634,437,789,797,764,1018,1294,1108,671,807,975,852,1058,1176,1082,1222,963,727,908,1190,1420,1378,1222,1042,1176,1080,791,905,913,959,782,542,940,1382,1244,714,1112,1542,871,820,750,574,600,589,537,535,565,587,868,1344,1472,1348,1392,1144,826,1060,1146,862,846,1152,1110,977,933,1180,1402,1142,1126,1106,1060,1236,1010,900,929,974,1230,1272,1286,1538,1650,1450,1410,1510,1490,1528,1624,1632,1438,1076,956,1172,1312,1394,1212,1154,1072,824,664,469,662,622,579,853,1022,1142,1146,880,961,1050,695,862,1350,1318,1180,1228,1200,987,746,808,1368,1802,1746,1328,946,1007,882,828,973,1096,1136,1260,1476,1464,1314,1214,1126,846,935,861,495,461,697,1070,1166,1256,1082,1162,1232,1176,1248,1314,1356,1264,1328,1436,1030,833,848,832,929,861,949,813,545,529,593,609,605,373,355,354,475,866,1082,1054,948,834,944,980,1288,1550,1290,1380,1028,859,1092,1154,1092,880,818,730,929,1306,1038,832,946,1168,1168,984,783,913,849,1092,1142,966,772,613,626,751,829,1144,1126,1082,978,1102,838,534,458,443,608,946,1112,1102,1300,1424,1108,1038,834,650,622,886,1258,1260,993,1030,1332,1804,1732,1290,1158,1158,1102,722,1001,1005,836,945,1156,910,718,661,716,969,977,954,949,1030,1230,1344,1344,1242,1130,1212,1210,1142,1216,1306,1274,1334,1072,1540,1994,1970,1786,1430,1290,1504,1268,916,913,747,606,761,952,745,528,681,602,499,602,792,943,901,1015,1158,1262,1402,1276,927,816,1023,839,657,536,495,641,875,1108,1122,1328,1296,1064,951,764,987,884,553,512,666,720,889,1013,1096,1284,1260,1128,1274,1146,1050,1124,1098,912,795,737,1066,1534,1692,1292,877,887,1060,860,721,930,932,706,744,840,539,591,1118,1184,983,919,902,1136,999,767,1092,1304,1250,1118,1116,1184,1122,835,417,338,415,873,1438,1322,1136,852,1011,1120,883,1184,1202,662,444,866,1152,824,582,863,1176,1318,1690,1512,1188,919,847,1092,1350,1542,1506,1198,1058,1288,1438,1386,1304,1258,1450,1426,1112,808,639,529,632,986,744,613,1028,1366,1382,818,542,451,426,544,625,978,641,373,365,335,396,477,375,424,329,375,666,860,422,336,477,733,772,940,981,654,415,265,294,365,346,392,375,357,339,413,404,372,316,253,434,905,1110,754,495,539,461,388,326,438,497,495,514,506,475,495,519,439,335,317,328,322,355,378,492,900,970,1132,918,1008,803,516,661,951,642,351,384,550,733,511,558,432,528,833,691,795,786,512,565,791,1186,1212,1190,1302,1218,1056,1006,1158,935,625,595,628,784,810,916,1194,924,835,692,597,648,849,971,1106,1282,1130,985,907,871,1042,744,538,426,416,445,756,642,593,651,468,349,394,428,658,762,639,657,554,543,816,1278,1418,1406,1276,1028,1306,1588,1176,990,1380,1508,1602,1566,1440,1114,1009,1208,1180,775,625,807,778,579,944,1180,793,875,1148,872,501,456,520,573,582,440,488,530,628,493,504,573,761,976,736,670,771,673,931,1144,1072,1728,2412,1478,650,552,633,653,680,533,379,733,963,883,973,1116,1442,1350,976,1048,1324,1410,1210,983,753,891,1316,1132,495,447,575,430,499,702,452,321,300,299,271,284,291,432,607,658,746,705,664,624,521,384,427,621,545,658,934,752,409,512,538,361,294,325,325,426,409,287,236,236,250,278,295,286,286,317,258,267,302,341,374,429,380,300,358,372,347,350,350,282,270,267,259,242,543,822,655,444,389,381,376,639,1054,1128,1048,963,714,586,461,319,332,333,391,494,810,1032,781,1180,1200,570,375,413,353,308,481,578,502,494,538,944,1478,1516,1470,1452,1282,744,423,623,870,1076,893,1060,1296,830,554,484,530,444,782,1104,1144,946,925,1078,736,658,560,577,596,550,554,809,1478,1738,1512,1448,1318,1006,641,1092,1120],[377,482,436,414,466,412,290,272,330,331,313,354,442,482,513,587,605,520,489,502,488,484,459,476,472,435,373,350,336,392,436,385,472,830,909,885,839,529,609,561,417,423,446,407,407,474,447,539,728,882,786,679,893,827,572,531,990,979,1122,1638,1274,1024,1190,1386,1148,772,507,403,375,312,324,447,577,977,1098,1122,1216,1126,976,1210,891,571,791,1426,1302,1184,1122,1090,880,1160,1692,1500,761,565,676,1336,1528,1452,1114,737,656,910,1180,935,689,874,1090,763,488,564,692,805,720,574,385,358,419,520,581,501,408,370,298,307,350,426,401,371,371,375,435,552,436,622,941,958,908,878,870,943,716,687,579,745,1068,1140,1090,1290,1534,1294,926,688,660,590,574,546,498,659,929,854,516,463,557,572,510,455,386,556,1042,1324,1310,694,446,402,426,432,617,769,901,1496,1502,1216,1118,1208,1092,1372,1396,1256,922,602,376,332,325,350,356,288,246,285,392,453,416,444,822,984,1158,1190,1056,1318,1624,1178,1204,1005,993,1180,1268,2514,3150,2374,1564,1466,1288,1062,861,1162,1168,659,500,547,601,1106,1114,994,886,616,425,419,428,563,1044,1356,1346,1444,1120,847,878,1256,1476,1444,1578,1550,1412,1260,1378,1286,1342,1372,1284,1326,1122,1334,1176,1168,1378,1344,1328,1186,747,806,1014,1023,1396,1484,1388,1472,1308,1302,1454,1490,1490,1536,1418,942,1082,1084,900,1074,1250,1306,1432,1200,930,969,1032,1294,1240,1016,1182,1262,763,481,741,673,503,432,350,608,1060,1262,1368,1272,949,1144,1336,1060,929,1106,1190,1206,1226,1258,957,836,1032,906,761,781,763,1250,1414,1164,1368,1274,1150,1150,1092,1428,1402,1346,1498,1190,1074,1224,1292,1468,1530,1294,1266,1544,1484,1372,1538,1192,1188,1312,1352,1504,1372,1244,1220,1214,1374,1210,902,639,382,599,786,519,673,1166,1284,955,624,728,803,782,881,1256,1220,913,727,1062,1138,1372,1312,1492,1284,627,331,335,351,697,938,531,698,1224,1870,1350,940,713,1094,1274,1012,774,612,574,581,560,484,398,464,639,811,1172,1026,888,828,572,431,379,350,396,419,365,502,726,1044,1070,1104,1128,1324,1152,997,1278,980,858,1090,955,769,1020,744,850,720,976,826,321,288,301,305,354,506,666,861,1318,1474,1426,1322,1322,1190,1144,1282,1246,1272,1480,1290,876,633,983,1422,1382,1136,1212,1172,1382,1614,1078,1004,1064,1108,1102,914,1044,1019,957,1017,1206,1344,1350,1340,1208,1296,1190,1092,881,813,1010,902,947,1274,1228,1218,1066,949,1220,1208,1110,1300,1422,1564,1474,1246,1416,1196,1206,1354,1154,916,915,851,1010,1170,1134,594,436,456,498,610,564,461,553,824,1066,1052,786,749,525,675,835,981,705,703,957,1274,1418,1334,1140,915,1016,720,649,706,824,1007,795,550,541,1013,1318,1060,1192,1400,1334,1416,1356,1272,1128,991,1092,1096,969,1052,933,922,1044,1128,1162,1234,1276,1328,1402,1650,1400,1120,913,907,838,697,833,1220,1146,861,1202,1840,1350,1114,1470,1334,1456,1664,1942,2078,2126,1952,1460,1330,1590,1662,1496,1298,1454,1558,1584,1638,1696,1728,1832,1598,1338,1268,736,643,587,428,420,558,937,1048,1012,1336,1596,1510,1172,894,938,984,1210,1230,1344,1494,1444,1422,1360,1366,1298,1044,1038,1494,1422,1294,1270,1216,1070,1230,1316,811,594,512,431,380,388,373,348,332,350,362,339,326,304,618,608,349,350,338,307,306,274,336,377,386,415,387,405,469,494,433,364,388,407,393,407,473,565,540,461,458,428,370,427,502,551,536,875,1484,1584,1788,1428,1244,1348,1404,1372,1282,1222,1262,1516,1412,1450,1490,1418,1470,1308,1290,1510,1340,1570,1394,1212,915,1042,1230,1148,1072,1274,1306,1046,1248,1542,1112,1021,929,990,996,942,1012,1172,1390,1662,1712,1578,1484,1432,1402,1288,1332,1218,814,653,639,522,512,530,672,929,922,1318,1474,958,616,921,1350,1260,1144,1004,869,1046,1192,1136,1210,1528,1376,835,653,979,1009,931,998,1152,1134,868,893,858,1030,1378,1296,1600,1382,1504,1600,1254,1084,1106,1226,1220,1144,845,908,1116,1164,1118,1050,976,814,780,988,1260,1300,1536,1604,922,496,556,534,383,350,353,405,433,424,399,620,1120,1338,1176,951,733,755,996,1214,1360,1216,1320,1638,1618,1432,1296,1218,990,664,1020,1400,1136,966,1060,1318,1386,1082,1090,1284,891,757,1222,1488,1015,637,555,697,1042,1290,1452,1400,1194,1076,1052,1028,1120,1122,977,1050,996,959,644,449,555,724,659,456,393,472,646,791,714,1018,1116,1080,1026,929,1284,1318,1005,799,727,1272,1770,1246,769,1412,882,587,545,863,909,1013,676,389,722,1160,1162,1162,1023,1092,1038,870,605,1070,1320,1210,934,678,572,507,421,451,474,509,799,814,485,361,316,464,824,1104,1118,1158,790,625,859,982,966,909,903,1005,977,678,701,808,1024,1296,1152,1186,1202,984,639,532,562,585,445,670,1288,1352,911,869,804,835,791,540,501,655,688,896,890,793,805,833,805,1058,1260,1272,1122,1202,1164,1278,1434,1314,913,1001,1252,1318,1148,921,1318,1892,1328,1146,901,967,1204,1246,1272,1324,1298,1250,1196,1098,1272,1332,1158,965,1382,1498,1516,1520,1630,1642,1512,1358,1098,1009,1252,1054,1066,778,779,779,675,696,733,937,965,1032,1112,1022,1090,1272,1232,1094,915,1306,1296,1206,1202,1180,789,792,1188,1582,1746,1686,1500,875,753,735,764,995,1152,1382,1376,1414,1360,1166,1220,1108,721,452,539,577,813,1520,1578,1040,783,861,1132,1356,1470,1696,1680,1436,1126,1426,1596,1088,565,578,954,1112,1021,1064,1042,823,769,969,905,686,449,468,394,767,1108,991,791,624,700,899,1042,1348,1436,1372,1350,950,769,870,897,1070,1064,1082,849,837,1152,1023,1046,830,1130,1198,822,684,831,947,1096,954,692,818,655,834,801,600,976,972,879,913,1084,904,580,519,710,955,1058,827,1102,1378,1382,1142,1296,1176,722,720,1198,1588,1438,1168,1288,1578,1786,1580,1224,1030,1290,1158,1116,992,1013,1120,1248,1302,882,639,414,571,993,688,802,821,715,1184,1408,1340,1306,1218,1182,952,1106,1446,1486,1354,1202,1340,1640,1838,1838,1730,1548,1316,1310,1396,1348,900,653,551,735,931,613,450,553,625,878,1170,1158,1140,1070,1152,1122,1034,1310,1226,1007,1040,1048,811,605,616,670,817,1058,1130,1270,1400,1166,1160,1036,767,962,1052,777,888,1021,833,1058,1098,1100,1272,1300,1142,1164,1132,1212,1470,1372,1050,1028,1196,1310,1338,1212,785,664,981,1064,844,733,1007,1066,883,1068,1240,877,868,1042,856,868,1074,849,642,648,827,1118,1236,1336,1366,1142,1096,1166,625,393,471,542,1046,1007,612,513,754,1118,819,767,1736,1324,738,544,448,636,773,558,715,953,1272,1530,1288,1042,654,733,1011,1416,1438,1316,1440,1510,1606,1532,1562,1492,1414,1414,1168,830,916,961,931,770,971,781,752,828,952,811,434,400,337,337,357,589,1016,901,490,361,329,325,357,351,329,286,303,689,1118,469,335,314,397,572,1102,1162,882,554,348,287,462,689,540,322,349,377,416,357,275,250,258,576,1072,1044,577,420,451,398,416,317,409,489,597,638,597,484,356,288,306,276,232,269,350,432,413,429,361,491,912,921,699,659,623,813,754,553,674,945,1222,1088,849,896,1056,1128,1072,946,1158,1318,1310,1266,1160,1154,1216,1212,1252,1078,1015,1238,1446,968,463,508,509,534,564,719,1146,925,871,901,735,648,806,1050,1652,1970,1500,1192,1146,1290,1138,650,441,347,451,540,565,741,813,552,430,409,395,417,617,789,779,766,598,668,1042,1156,1180,1396,1262,1007,957,1152,898,1040,1264,1318,1362,1506,1588,1284,1288,1316,1202,702,425,427,659,653,922,779,646,951,988,786,514,369,428,565,823,905,830,1004,1704,1258,653,749,778,752,679,636,713,571,840,985,1240,1622,2354,1520,817,664,593,561,657,705,810,1000,788,957,955,1268,1394,1198,1282,1328,1194,1324,1302,983,873,1158,1468,791,531,854,795,339,261,454,424,265,312,402,350,340,389,415,443,554,688,747,756,651,550,524,579,785,586,637,962,967,516,346,320,285,292,337,364,347,298,273,229,258,281,287,283,261,281,312,264,252,282,323,398,473,398,314,357,362,322,361,384,348,344,344,299,257,364,513,384,307,346,338,358,381,556,974,1174,1032,700,422,347,343,365,314,339,546,697,720,695,1164,990,431,362,381,338,322,482,689,852,1001,800,1050,1306,1284,1032,816,836,614,559,664,576,778,1082,1178,1138,940,821,693,587,477,736,1028,866,841,962,1007,511,760,713,676,811,643,513,761,922,849,805,822,1140,1340,918,985,1044],[380,452,443,565,693,521,349,328,349,297,309,405,514,486,483,515,513,565,612,550,483,489,492,488,476,453,431,417,412,490,486,347,586,1032,890,1054,1064,560,535,708,555,421,409,473,494,586,725,667,781,815,832,721,1078,932,583,640,801,764,959,1270,1130,774,769,1116,1126,1134,844,583,410,364,407,489,999,1578,1358,1334,1318,1138,960,1134,899,797,1356,1440,1138,844,878,841,578,621,805,858,555,420,870,1426,1392,1294,797,527,850,1470,1412,1005,1060,1054,913,524,486,499,634,709,610,490,364,352,369,430,533,599,422,372,368,328,372,438,429,399,366,381,364,341,380,525,849,1148,1152,940,711,678,942,1012,1014,1040,1092,1090,670,822,1324,1438,839,647,534,520,607,610,522,475,787,819,468,440,495,748,727,398,305,355,668,1100,857,518,449,344,391,667,1100,1048,1172,1776,1388,1104,1124,1190,856,754,1032,1238,1150,796,506,329,374,432,401,327,319,324,400,393,434,663,938,880,1058,1186,1258,1412,1300,1030,1094,1100,981,772,733,1542,2446,2374,1416,1408,1188,1390,1142,1214,1224,1158,1212,937,797,1162,854,433,473,484,405,411,650,1084,1138,923,1038,1078,1170,1122,1294,1576,1230,1108,1566,1484,1456,1370,1504,1440,1318,1354,1330,1256,1282,1278,1158,1308,1538,1372,1252,1058,1234,1326,1052,1014,1350,1434,1484,1444,1252,1344,1302,1286,1086,1214,1320,927,1242,1214,1144,1334,1390,1350,1428,1360,1054,965,1126,1312,1396,1104,1152,1332,825,432,509,475,420,393,390,454,738,1001,1268,1250,1250,1124,1090,1150,1162,973,909,1116,1414,1578,1426,1184,1198,924,996,1082,757,1086,1300,1516,1610,854,742,1110,1256,1428,1312,1268,1274,1396,1220,881,1088,1332,1472,1600,1120,1454,1628,1708,1676,1338,996,796,1174,1396,1320,1390,1416,1370,1556,1256,1288,1040,811,1018,867,512,813,1282,1430,1406,1118,1108,1058,852,1100,1338,1096,991,1036,1174,1020,1202,1604,1536,842,422,277,303,360,551,640,680,1032,1312,1572,1382,1346,993,921,1094,872,730,717,615,569,566,496,384,514,763,1116,1100,1168,1530,1178,629,457,644,725,486,472,758,851,674,866,1104,868,852,1200,1260,1302,1066,955,1068,1202,1013,1001,1058,887,816,608,783,758,464,620,634,370,469,684,561,553,1132,1316,1324,1338,1238,1200,1238,1262,1076,1096,1338,1050,1152,1044,1136,1256,1228,979,988,1116,1042,833,615,803,1038,1118,1180,996,1122,1038,1028,1174,982,986,1216,1520,1100,1224,1384,1162,954,976,957,852,1072,1428,1342,1166,1032,807,702,851,818,1058,1302,1282,1130,1566,1686,1276,1258,1008,1076,1238,771,977,1272,1032,962,634,477,458,436,488,475,425,637,943,976,1118,842,694,508,449,616,659,486,447,594,963,1136,1190,1142,990,1142,971,671,454,499,587,670,645,657,1088,1294,1013,971,1196,1334,1400,1494,1760,1582,1106,1004,892,857,965,1074,1240,1312,1288,1324,1240,1192,1326,1384,1378,1130,951,814,830,1042,1152,1170,1472,1158,921,951,1394,1300,1270,1284,1310,1316,1302,1592,2054,2164,2060,1590,1228,1896,1568,1336,1368,1268,1428,1694,1768,1656,1788,1716,1460,1282,1396,1012,883,643,494,755,1146,1282,1062,991,1316,1484,1478,1126,1092,1292,1322,1164,928,1216,1476,1266,1288,1420,1242,1300,1244,1300,1530,1376,1378,1176,914,1104,1166,865,837,862,492,382,383,420,391,359,361,379,362,351,348,304,566,642,342,346,312,294,305,298,357,412,383,378,370,379,393,407,397,366,384,399,355,345,448,577,540,466,433,398,379,377,457,574,679,1210,1560,1550,1816,1328,1082,1262,1412,1384,1184,1058,1208,1396,1390,1452,1574,1348,1252,1376,1290,1278,1296,1390,1428,1368,1112,984,1120,1268,1406,1494,1302,1144,1108,1220,1136,795,742,1086,1168,1238,1652,1894,2018,2020,1688,1542,1566,1622,1654,1582,1608,1274,872,618,642,700,733,1120,1274,1007,1084,1368,1390,1222,1005,1084,1270,1228,1252,1298,1026,958,1136,1286,1440,1784,1488,1070,909,1186,952,821,1001,971,985,979,981,1066,1158,1023,1242,1340,1348,1506,1264,1090,1100,1178,1332,1190,1212,1178,1120,927,725,813,1004,902,1046,1210,1326,1432,1626,1986,1504,728,508,580,541,403,396,423,498,596,559,455,598,1042,1312,1240,1084,823,877,1420,1260,936,965,1238,1546,1466,1268,1262,884,686,742,864,1036,1232,1382,1290,1566,1750,1116,691,850,705,977,1172,1420,977,675,597,633,889,1338,1598,1348,1078,937,875,1030,1218,1248,1422,1234,1050,1234,985,771,803,833,732,537,488,572,956,1226,783,886,1042,1216,1120,917,1142,1238,1098,1074,1046,1228,1418,1430,1420,1792,924,529,385,502,776,637,455,676,1036,1352,1446,1052,946,1290,1306,1134,965,1130,899,576,529,575,525,498,474,537,543,427,634,552,529,770,617,558,1040,1088,880,645,472,567,714,583,713,880,957,966,841,618,418,434,814,1296,813,863,1238,1300,802,498,598,651,370,914,1898,1346,668,702,899,775,624,755,634,716,869,980,1208,1448,1860,1884,1202,1288,1130,1098,1214,1344,1288,1534,1446,1172,971,1082,1172,1094,1001,988,959,1164,901,943,896,948,1224,1432,1318,1340,1316,1138,1146,1150,1122,1098,1136,1194,1406,1522,1622,1576,1582,1696,1620,1418,1200,767,700,705,636,608,931,1122,1224,1120,1140,1160,894,830,781,1076,1218,994,1130,1002,1010,1222,1288,1336,1254,957,874,1214,1456,1820,1716,1490,1664,1150,868,898,1086,1284,1314,1294,1238,1324,1282,1226,1016,1126,904,636,821,716,1284,1750,1438,791,627,902,1262,1438,1350,1444,1386,1344,943,766,982,877,551,679,1122,1234,993,888,860,869,880,778,646,615,511,427,380,634,859,740,520,431,554,882,934,1160,1266,1320,958,618,779,942,784,833,1094,1128,856,904,914,1128,1470,927,969,1118,1028,1092,1202,1120,1188,1270,1058,1180,703,594,509,472,739,985,920,925,1062,990,1060,1054,1108,1192,1156,980,1428,1414,1350,1316,1484,1456,1108,1066,1454,1848,1810,1720,1042,1524,1734,1384,865,847,1318,1296,1334,1246,966,1058,1534,1600,921,510,575,793,854,724,821,772,987,1416,1244,1132,1200,1264,1320,958,1034,1340,1238,1224,1292,1288,1364,1674,1754,1702,1640,1406,1182,1230,1350,917,830,736,897,975,766,932,1152,960,838,1136,1412,1298,1108,1004,982,989,1158,1222,1076,1016,1064,976,664,644,711,865,1116,1024,1021,1088,1202,1290,1248,1222,1130,1312,1126,919,1022,1064,1140,1192,1238,1300,1216,1216,1246,1230,1286,1380,1328,1354,1172,1224,1184,1470,1436,1266,1034,745,753,829,1028,1076,1108,1252,1272,1162,1074,780,711,896,986,864,619,597,947,1104,905,830,980,1152,1020,963,845,484,407,612,908,948,656,704,727,943,1134,560,534,995,1015,1064,1212,840,658,739,674,525,491,897,1334,1062,833,485,566,760,1198,1090,873,1144,1698,1628,1548,1660,1678,1682,1620,1456,831,1040,1110,821,733,681,546,560,677,802,488,335,365,470,763,953,692,773,670,534,683,616,367,372,319,266,235,206,361,432,330,316,366,380,752,1316,1312,826,412,267,357,959,1102,769,741,847,872,840,539,406,465,376,457,536,588,438,434,472,460,433,408,372,464,585,563,526,510,435,385,376,317,302,308,370,756,919,946,803,709,865,829,950,888,952,1284,1272,1242,1280,1196,1176,1288,1188,1016,885,811,963,1290,1280,1028,1150,1174,1198,1368,1620,1282,1084,1236,1017,780,960,838,815,634,486,405,532,618,587,466,803,1180,995,741,809,1230,1570,1204,1112,1274,1100,985,677,551,523,454,738,933,739,774,1136,791,424,565,678,519,543,633,634,654,760,1064,1298,1260,1096,1278,1556,1272,1302,1030,852,927,756,865,866,1184,1462,1318,1228,888,983,929,589,343,475,719,835,521,675,1028,1062,995,672,467,514,501,670,738,783,1152,1772,1340,765,910,930,625,601,692,868,512,518,588,853,864,775,633,512,491,502,533,565,787,1094,1096,890,910,727,1016,1136,1084,1260,1090,993,1334,1258,1282,1648,1466,1166,486,380,619,472,239,338,661,728,547,489,567,449,342,364,512,476,448,571,648,669,713,792,698,563,623,668,577,901,1284,1002,543,328,358,404,318,325,307,280,266,275,295,268,247,249,261,273,277,282,287,265,312,386,427,363,297,335,426,464,417,400,386,450,474,402,318,305,299,312,322,302,348,376,358,539,923,1018,977,684,371,311,341,440,368,324,437,499,466,462,655,630,381,406,401,334,368,470,623,791,1138,1054,1158,941,591,455,417,558,605,533,483,495,634,586,582,760,703,961,1362,1104,538,446,523,783,930,837,691,447,517,664,583,501,340,460,705,577,745,952,894,999,1130,1114,1134,1294],[407,497,425,487,578,456,344,355,283,317,409,508,586,555,521,509,507,619,722,562,443,430,440,437,439,425,407,440,524,642,624,486,508,713,651,752,791,689,804,1088,899,480,355,489,616,820,871,759,928,832,992,800,1040,979,752,770,719,666,1009,1302,1260,938,871,1056,1040,1246,1164,711,404,386,432,549,1358,1802,1318,1200,813,1084,1274,1132,1086,1186,1318,1258,1306,1092,884,493,330,331,368,397,464,736,1246,1452,1312,984,951,1118,1432,1296,1156,1302,929,761,664,475,543,633,576,484,438,387,358,344,339,380,543,750,639,520,423,375,381,388,370,385,381,373,362,366,387,410,519,560,565,798,940,919,1124,1390,1572,1360,1446,1238,874,1550,1116,696,564,529,459,467,509,456,423,529,709,746,758,630,493,816,919,494,317,319,607,896,662,483,475,437,572,749,899,1020,1132,1340,1056,895,1130,1244,1214,1170,959,1100,1050,634,813,670,514,445,426,324,312,327,349,590,729,786,954,886,1012,1324,1482,1600,1416,1142,974,870,919,669,375,310,683,913,1116,1072,1300,1560,1214,1220,1358,1190,1300,1242,1316,1632,1138,592,472,473,560,535,993,1544,1534,1282,1100,943,995,1040,1308,1294,1090,1208,1528,1520,1148,1274,1544,1626,1420,1506,1428,1170,1272,1432,1438,1358,1426,1076,1150,1076,1260,1046,1098,1266,1406,1586,1522,1400,1310,1226,1312,1032,870,962,1174,1272,1344,1626,1732,1372,1006,938,1260,1324,954,1040,1402,1260,1088,1154,1258,1228,836,500,486,454,525,620,742,596,625,755,1026,1190,1264,910,805,1004,1072,856,830,896,1450,1498,1346,994,1254,1268,1282,1174,987,1110,1322,1492,1134,446,503,1038,1302,1274,1220,1190,1200,1334,1070,728,943,1238,1482,1544,1116,1328,1416,1230,1230,1324,1148,1160,1428,1370,1082,1186,1282,1362,1538,1378,1422,1138,1070,1028,667,497,875,1168,1430,1528,1224,1406,1244,973,1708,1390,1388,1264,1102,1078,818,730,1234,1468,761,444,364,333,341,377,537,982,1276,1256,1228,1224,1138,889,839,1015,927,1050,795,628,658,632,673,642,748,1542,1934,1450,1234,1050,965,722,615,666,790,827,1024,1023,602,637,932,720,567,941,1236,1370,1364,783,728,672,1182,1186,1082,948,976,1104,744,917,889,805,880,904,479,364,489,533,693,1017,1256,1290,1256,1404,1404,1184,996,1108,1324,1304,763,601,819,1017,1316,1314,683,591,703,1032,926,713,969,1028,841,896,1096,1460,1374,959,1032,808,898,1116,1150,1274,1192,1166,1046,1172,1152,877,728,783,811,1066,1076,758,546,657,741,875,1126,1376,1232,997,1482,1750,1212,997,1092,1328,1588,995,1194,1324,1058,832,589,500,451,448,483,440,401,511,791,873,1098,896,688,529,422,472,462,442,439,432,518,659,1038,1260,1196,1130,894,713,540,492,568,528,450,616,839,1126,1210,1302,1216,1294,1226,1736,2404,1972,1248,1286,999,897,971,1302,1500,1424,1222,1212,982,1126,1296,1318,1274,1284,1162,846,940,1104,1220,1344,1544,1204,994,1060,1136,1174,1070,1156,1220,1228,1204,1460,1994,2194,2374,2100,1686,1528,1246,1334,1372,1202,1238,1450,1516,1450,1552,1678,1598,1500,1470,1102,676,780,943,1114,1432,1474,1362,1252,1536,1512,1514,1168,1268,1384,1268,1138,1130,1444,1534,1312,1308,1452,1340,1510,1336,1482,1370,1340,1054,648,431,503,667,615,542,670,518,356,409,447,403,373,408,404,375,362,350,332,531,753,405,355,300,312,349,330,334,373,368,356,364,364,368,368,377,365,360,415,393,367,394,469,506,436,365,451,491,383,522,635,783,1490,1592,1704,1520,1408,1074,849,970,1096,1242,1096,1044,1232,1278,1192,1308,965,1020,1364,1316,1222,1242,1296,1382,1316,1248,1186,1432,1448,1376,1388,1270,1094,901,819,807,471,614,1288,1520,1526,1576,1622,1344,1428,1316,1446,1310,1272,1378,1432,1526,1526,1188,631,721,1100,1356,1688,1480,1088,1190,1356,1340,1302,1134,916,1028,1110,1034,900,614,704,1080,1018,995,1015,1060,1236,1334,1252,1162,1262,1188,1068,988,1124,963,1050,1106,1036,1062,1300,1494,1278,1060,1002,912,1280,1320,1312,1136,1098,1038,1112,818,827,1078,1030,1178,1328,1674,1560,1878,1764,974,567,580,604,547,478,411,465,651,719,833,1044,1015,1044,978,870,675,571,846,1388,1190,922,1042,1178,1274,1132,1100,1064,951,858,754,1023,1070,1054,965,1054,1620,1836,1316,901,943,1230,1166,1142,1222,803,675,634,835,1206,1334,1294,1136,920,818,991,1152,1162,1428,1880,1342,1182,1376,1126,1136,1132,1016,709,577,550,785,1092,1020,1144,1274,1426,1572,1360,977,965,1108,1242,944,1142,1324,1148,1656,1672,1394,1054,669,421,504,647,575,643,919,1120,1182,1036,911,1248,1418,1374,1166,1250,1196,687,834,680,559,614,711,562,808,943,1206,1064,513,686,974,1160,1282,1292,1170,633,598,651,813,615,373,379,547,793,1002,969,671,354,379,932,1042,629,485,894,1250,926,558,714,728,431,811,1390,766,508,634,914,843,873,1084,789,537,854,1144,1320,1566,2316,2002,1134,1284,1102,968,1090,1192,1192,1170,1148,1114,1190,1336,1336,1116,1142,973,971,943,896,1108,1018,767,1020,1302,1230,1376,1384,1294,1140,1048,1022,1176,1216,1308,1376,1498,1654,1664,1682,1722,1608,1362,1196,693,423,511,739,935,1160,1480,1614,1456,1346,1120,1218,1212,763,1060,1052,1010,1272,1244,1238,1360,1382,1200,1138,991,819,650,979,1610,1288,1306,1654,1560,1366,1218,1328,1410,1404,1260,1108,1050,1314,1250,882,642,604,648,673,561,1036,1238,845,789,1114,1042,1064,1300,1450,1434,1440,1440,939,497,579,715,586,576,988,1288,1062,896,727,491,408,420,519,615,576,646,991,1416,1308,652,527,661,465,824,955,1086,1152,803,554,594,632,556,510,653,949,1140,1140,1218,982,1098,1192,921,926,1096,1156,1176,1188,1166,1026,1252,1152,1188,1040,844,726,572,678,1028,1136,1148,978,619,946,922,991,1152,1196,1408,1512,1432,1218,1076,1310,1532,1422,1354,1294,1700,1686,1738,1328,1528,1626,1316,906,1050,1512,1424,1222,1190,1036,1096,1348,1288,886,669,590,728,1066,1056,753,692,752,997,1216,1250,1144,1254,1238,1282,1366,1264,899,838,1024,1036,1114,1446,1812,1784,1528,1268,1044,922,1130,1166,1032,929,1024,1023,1182,1618,1676,1023,777,903,1262,980,886,1020,1072,1150,1296,1334,1112,990,1064,1138,768,633,673,810,1048,1096,1124,1174,1258,1246,1496,1726,1186,1396,1216,691,872,1196,1344,1400,1202,1084,1158,1040,1009,1114,1090,1216,1406,1368,1098,1096,1184,1250,1068,1290,1346,1162,1188,1104,1306,1086,1150,1268,1178,1078,763,667,883,1154,939,796,1114,991,1084,1224,773,492,563,677,787,962,764,510,504,641,1023,1056,656,794,681,612,727,442,393,447,742,1252,1510,1186,773,646,698,383,299,484,949,756,609,518,431,318,423,618,654,1234,2854,2044,1252,1328,1404,1506,1624,1538,1162,1194,964,745,841,649,435,462,518,650,600,660,491,669,907,1058,1282,1172,677,862,1078,797,415,368,323,272,307,263,214,201,265,267,470,919,1404,1388,1026,554,488,390,656,1476,1316,799,603,753,836,739,688,1068,1076,656,501,429,437,482,442,586,686,556,391,330,419,434,425,482,531,441,397,598,932,692,381,360,606,939,1108,979,861,819,829,919,1282,1570,1550,1382,1007,1036,982,888,768,551,404,421,507,860,1440,976,766,818,1436,1388,1086,1298,1192,1220,1534,1034,824,847,925,1160,799,631,473,540,612,520,591,1100,1776,1428,808,567,915,943,580,1172,1384,1344,1090,924,973,852,559,712,1190,789,708,1248,1254,1106,979,800,499,386,342,362,429,478,535,768,1002,1014,1282,1148,1398,1538,1234,785,631,1086,1100,623,1034,1366,1280,1222,1710,1482,1148,907,551,383,874,1058,582,471,761,1142,957,568,527,1084,792,505,621,757,728,868,1072,944,663,822,631,481,510,474,475,440,542,667,743,761,574,509,516,564,567,518,665,852,1130,1048,927,1020,1008,951,1222,1268,1098,1226,1572,1410,1336,1542,1312,697,360,358,315,205,223,376,789,1094,779,543,600,702,487,580,1144,1110,719,479,527,771,1032,1078,730,502,822,922,641,719,1224,1354,910,447,339,447,318,313,289,332,381,362,338,303,280,286,287,286,301,323,321,279,299,416,394,365,349,415,653,697,497,402,404,452,454,395,347,344,298,301,328,324,363,367,373,818,1350,1144,982,775,509,363,348,464,421,501,542,604,1026,1090,745,550,451,462,388,411,454,460,584,1302,1538,1296,1118,691,420,369,373,588,765,529,374,365,443,650,857,912,1112,1838,2100,1550,905,631,809,794,754,852,744,613,720,868,847,643,539,522,622,558,750,1024,1404,1480,1930,2252,2154,2036],[408,412,288,371,484,444,325,292,319,426,539,564,581,652,700,616,524,597,742,730,550,428,425,430,426,430,465,529,659,731,628,479,336,437,714,686,536,811,1138,1126,877,743,534,547,549,547,585,604,708,580,910,1026,1164,1100,766,724,662,410,633,1194,1264,947,780,706,830,1068,1142,757,468,426,434,642,1126,1072,1114,1074,1030,1266,1178,1246,1444,1290,911,1150,1396,1082,728,909,670,475,387,414,474,949,1422,1630,1248,1008,1186,1144,1346,796,901,869,531,579,633,432,365,403,470,448,404,398,365,335,328,372,476,802,818,572,432,388,375,381,352,371,364,370,377,331,348,344,348,376,487,926,1504,1904,1648,1310,1388,1466,1152,1100,1262,1638,781,383,407,433,420,429,456,378,514,816,871,709,962,781,631,672,956,778,432,305,536,847,664,542,448,545,650,592,818,954,1096,1310,1050,799,1326,1854,1534,1332,1306,1206,738,660,872,920,764,570,421,368,367,341,341,559,756,730,1210,1092,942,1400,1720,1496,1378,1256,790,698,781,491,368,345,408,447,708,831,1044,1362,963,1104,1316,1009,1216,1312,1454,1562,1182,633,648,592,670,634,1036,1424,1422,1266,1134,1128,1013,764,1026,1482,1358,1302,1392,1262,985,1172,1454,1496,1546,1634,1312,1060,1360,1356,1588,1266,920,1032,1298,1268,1094,824,777,902,1266,1216,1262,1200,1456,1208,1384,1218,1130,1188,1222,1214,1312,1446,1428,1408,1001,1024,1056,752,572,1064,1388,1322,1070,1138,1328,1290,1232,1158,1140,644,534,762,1210,935,656,709,730,1028,1152,927,997,1108,1102,718,825,1220,1392,1412,1262,1158,1350,1422,1286,1338,1434,1312,1274,1284,774,641,663,1072,1340,1256,1204,1118,885,708,751,667,776,720,742,863,1226,1430,1256,776,824,1034,1152,1422,1606,1550,1430,1240,1202,1102,1090,1714,1416,1196,1250,886,556,503,705,966,1021,1180,1218,1328,1290,1328,1612,1326,1418,1392,1472,1458,952,690,583,625,860,999,705,452,379,405,711,1240,1436,1104,890,854,1068,817,758,1028,1070,1186,696,479,632,836,1000,932,1052,1150,949,1562,1482,1180,1532,1222,943,707,580,514,767,839,736,694,834,698,873,1023,1050,1180,982,974,1182,1170,1190,1144,1318,1162,1042,1166,1072,1058,1052,951,855,863,485,416,579,552,527,1013,1308,1262,1046,1130,1238,1180,1238,1340,1424,1190,738,453,540,1022,1666,1160,517,426,602,1278,1140,588,678,1036,1102,1190,1158,1450,1214,1062,1154,1080,980,848,979,1156,1110,1220,1196,953,879,1042,839,666,655,833,927,983,905,735,766,1001,1266,1376,1260,1152,1062,1252,949,744,1268,1144,1094,1348,1598,1410,1192,866,477,451,435,469,517,514,533,639,749,747,1022,885,605,508,442,462,477,475,446,496,509,522,750,995,1066,810,601,562,486,499,651,632,557,589,749,1002,969,1150,1034,948,962,1316,1868,1722,1166,1410,1020,1084,1242,1516,1436,1192,1112,1146,1180,1172,1198,1224,1278,1436,1322,993,1158,1320,1464,1426,1468,1224,974,1174,1490,1112,919,1362,1042,1050,1306,1388,1544,2454,3928,3620,2082,1288,1142,1156,1056,1100,1158,1100,1188,1246,1412,1582,1704,1686,1560,1064,810,951,742,803,1268,1396,1516,1438,1668,1700,1550,1274,1102,910,993,1048,867,1278,1400,1260,1316,1540,1438,1408,1410,1450,1138,1044,712,393,341,375,411,416,353,405,440,415,417,400,372,367,384,369,339,334,320,323,446,733,421,354,317,302,360,341,309,345,356,355,368,341,351,355,357,386,370,379,427,439,406,461,506,484,398,505,621,599,576,581,1028,1594,1758,1834,1400,1330,1064,608,655,1026,1174,858,981,1288,1242,1172,1212,838,1042,1400,1284,1228,1168,1382,1504,1274,1324,1274,1366,1238,1356,1350,1444,1450,1230,1072,1054,1158,1696,2008,1892,1814,1592,1858,1470,1340,1362,1388,1272,1360,1384,1200,1238,1662,1822,1572,935,893,1202,1282,1040,879,1116,1400,1362,1218,1038,899,1306,1466,1060,805,653,915,959,908,1410,1354,1304,1616,1432,1198,1198,1086,1019,1102,998,1110,1032,1136,1140,994,1122,1380,1398,1011,1172,1170,1086,1220,1246,1082,1058,1226,1300,1266,854,747,1300,1236,1260,1434,1532,1290,1888,1274,619,547,719,644,475,582,535,667,902,679,926,1256,1300,1244,1196,1074,1028,910,860,935,997,1122,1372,1194,1152,1086,1152,924,1160,1284,1144,1238,1072,862,1026,1308,1172,1404,1544,1880,1692,1484,1242,1023,912,947,929,935,1042,1046,1166,1066,1016,786,887,1017,1044,1182,1354,1238,899,1250,1460,1340,1262,1250,1070,593,444,525,828,1011,1100,1158,1148,1168,1254,1252,1018,983,1007,1374,933,901,1086,1196,1240,1044,1192,1208,804,785,721,840,969,1018,945,1246,1614,1174,964,1306,1282,1338,1192,1372,847,912,1270,914,827,910,872,899,1134,1208,1318,940,594,695,612,695,838,1052,1082,633,523,835,738,474,464,419,413,473,730,789,455,318,294,651,575,408,362,483,742,857,700,1010,1430,1140,1036,1006,1146,1262,1092,1015,944,1015,1310,1050,738,1050,1092,1304,1512,1594,1274,1130,1212,1136,1074,1244,1204,1013,1108,1210,1200,1256,1346,1278,937,1074,913,985,1330,1308,1136,1054,893,896,1007,1262,1332,1316,1510,1230,1018,985,1114,1282,1224,1254,1506,1764,1730,1704,1624,1390,1130,1182,756,540,572,970,1406,1440,1474,1572,1444,1330,1086,1046,1010,1040,1228,1424,1272,1120,1384,1526,1348,871,766,771,993,914,1112,1232,1490,1102,1180,1616,1686,1390,1172,1362,1408,1260,971,1198,1222,1252,1076,713,443,468,517,517,457,455,507,471,468,595,571,607,1146,1446,1264,1350,1500,1044,602,736,896,610,573,838,1064,1100,1030,831,569,469,517,716,890,886,1158,1312,1456,1380,935,594,624,583,1040,1206,1278,1194,706,621,749,714,574,634,644,660,958,1048,1004,822,1012,945,547,705,1114,1198,1138,1024,965,700,1106,1204,1174,1338,1076,783,705,650,948,1148,1130,988,856,990,1168,1198,1020,834,1018,1390,1330,1036,1142,1122,1248,1548,1414,1224,1370,1506,1460,1270,1532,1478,1188,1224,1310,1440,1506,1328,1180,1144,1284,1190,1001,1021,919,639,732,934,750,636,578,452,602,986,1082,1238,1492,1356,1506,1592,1188,946,1142,1180,1120,1204,1328,1624,1636,1654,2292,1730,1066,1422,1290,776,921,1056,1042,1310,1250,1058,874,902,982,1230,1178,1122,1232,1226,1190,1132,1028,942,977,1009,1180,830,632,653,819,985,1034,1026,1208,1172,1036,1264,1284,1072,1260,1208,816,830,1212,1322,1166,1008,1013,1210,1020,830,1062,1116,1338,1342,1142,1086,1015,1096,1094,822,1018,1250,1320,1216,838,1005,1082,1232,926,919,973,774,1024,1382,1216,915,1050,1556,1352,969,700,437,630,824,636,630,838,913,997,860,623,557,465,550,952,992,636,422,381,382,385,585,997,1280,922,511,380,444,334,387,656,1234,1186,637,782,865,330,424,857,834,976,1858,1300,1068,1094,1240,1552,1794,1766,1588,1554,1210,801,761,466,406,444,549,702,728,827,1015,930,795,1152,1600,1164,869,1274,862,515,393,370,325,361,380,333,282,311,375,374,529,958,1278,946,804,923,779,659,760,966,1122,835,369,263,227,303,393,793,1042,915,888,573,805,880,522,634,859,712,377,355,415,426,509,550,485,404,397,893,1168,954,856,489,395,438,508,697,490,383,469,879,1386,1526,1512,1330,971,761,866,1080,794,535,519,462,431,686,963,631,597,802,1068,756,741,1272,1182,1452,1620,1004,794,805,1312,1510,1162,902,567,543,566,549,545,941,1772,1544,756,479,498,648,561,738,1174,1064,832,877,1072,817,641,485,630,420,565,996,1114,1106,877,474,354,316,298,356,368,399,503,565,518,724,985,1284,1396,1104,984,848,899,1770,1572,851,1244,1454,1388,1280,1340,1332,1440,1300,776,769,1324,1296,1050,891,1086,927,742,688,1054,1194,725,462,440,531,722,949,1422,1086,550,688,619,358,401,428,467,477,446,377,396,484,469,469,589,593,566,577,558,970,1180,879,912,1004,619,797,1294,1242,1128,1226,1500,1412,1336,1428,936,375,362,501,432,246,245,293,344,686,532,491,513,641,573,618,929,1276,1212,1094,1094,1046,913,879,1082,733,619,658,631,801,915,914,924,686,383,354,292,299,315,435,471,385,334,310,283,300,302,302,328,335,357,304,341,390,374,362,357,334,422,569,502,405,414,460,403,327,304,275,264,317,317,311,363,356,540,923,1184,1126,1050,803,643,618,467,382,408,571,670,836,1346,1188,722,400,430,483,458,499,651,741,1398,2344,1802,1626,1240,928,467,382,447,689,794,676,463,410,514,826,1046,1202,1348,1468,1892,1190,1064,563,636,852,911,958,735,565,899,1352,773,626,659,604,653,551,621,778,1554,1814,1366,1042,1406,1610],[358,303,240,383,470,444,333,306,427,552,607,624,664,692,736,609,596,596,647,850,734,520,460,434,410,450,454,494,628,670,523,354,266,351,508,456,449,689,785,705,849,1018,833,943,659,647,661,536,570,656,1054,1152,875,576,463,503,595,343,480,896,959,991,1106,1002,619,652,819,723,482,408,387,630,1138,1058,871,969,1116,1202,1216,1108,1078,1024,1030,1298,1708,1188,1092,1870,1382,965,715,484,594,908,1296,1314,1288,1064,924,963,1228,1084,835,530,481,580,547,448,412,425,438,393,413,430,386,335,324,380,394,662,752,516,394,391,381,393,360,356,354,361,369,367,360,340,390,408,456,609,956,1506,1592,1320,965,1082,772,877,1010,615,350,360,354,348,352,393,489,492,924,1332,1350,936,771,806,830,861,1234,1184,853,465,469,745,742,982,836,836,609,549,1212,1334,1288,1394,1010,785,1408,2198,1962,1310,1188,904,686,860,810,634,738,695,573,524,432,318,355,678,763,486,1016,930,652,1040,1324,1290,1566,1300,1072,1178,905,595,460,426,778,885,919,922,771,848,997,1322,1122,1021,1160,1306,1142,1420,1382,1300,1168,885,1064,1017,1064,1380,1260,1160,1078,1084,1154,946,1086,1342,1486,1424,1516,1186,1062,1504,1294,1420,1594,1460,1354,1556,1272,1228,1264,785,592,1092,1160,792,668,794,688,921,1418,1412,1258,1226,1384,1278,1316,1250,1474,1664,1186,908,1240,1500,1614,1284,773,1036,904,586,414,807,1334,1208,775,737,1200,1398,1402,1590,1474,667,608,955,1154,938,855,949,910,982,867,772,945,958,1212,945,1034,1136,1164,1324,1358,1170,1224,1304,1362,1388,1376,1350,1068,720,760,839,1028,1346,1314,1374,1256,1074,771,446,403,390,737,755,676,896,1216,1088,762,855,828,676,809,1248,1638,1572,1570,1410,1364,1192,1184,1564,1482,1444,1392,1066,746,536,560,968,835,889,1084,1144,1312,1382,1126,1116,1354,1372,1578,1504,1003,734,904,936,1028,1005,1056,929,670,646,705,901,1013,601,488,452,680,592,877,1016,1204,995,516,435,497,691,1032,1118,1208,1136,844,1010,865,611,901,1150,1013,1052,1102,600,328,458,603,719,1166,906,1142,1296,965,815,944,960,995,1410,1370,1222,1302,1284,1262,1382,1224,813,879,741,765,712,394,601,834,713,728,1178,1320,1354,824,711,667,1058,1400,1312,1234,1186,866,547,678,1118,1316,982,619,394,448,728,719,502,868,1256,1168,1128,1004,1278,954,1112,1258,1324,935,681,1028,1240,1254,1324,1194,1108,1118,885,839,704,609,466,681,916,905,860,824,937,1420,1504,1340,1104,775,990,1098,901,1076,934,756,1254,1898,1802,1200,843,538,451,445,466,445,486,537,571,565,706,922,708,458,440,413,435,442,421,426,478,487,457,495,631,689,631,601,539,488,486,583,547,389,599,1019,1104,1150,1188,1356,1478,1104,1416,1332,1084,1146,1292,1196,1250,1366,1522,1476,1178,966,1112,1256,1306,1368,1208,1314,1362,1300,1166,1232,1346,1278,1412,1516,1260,1136,1224,1426,1190,1284,1212,999,1007,1322,1510,1454,2828,4896,4188,1902,1222,1092,963,861,1130,1190,1302,1686,1554,1400,1466,1576,1644,1648,1448,1150,798,636,853,1232,1464,1532,1520,1312,1416,1450,1176,988,927,924,1130,777,982,1328,1444,1592,1670,1522,1200,1522,1670,1242,768,444,383,378,486,417,346,369,361,366,397,390,369,344,341,340,335,311,332,311,299,379,669,443,316,310,288,318,320,321,328,332,342,383,354,360,368,376,396,387,382,443,452,457,531,500,513,479,489,642,703,607,694,1324,1696,1788,1578,1124,1294,1236,901,1082,1086,858,783,1000,1142,1130,1340,1292,1042,1288,1484,1622,1554,1184,1374,1514,1472,1294,871,872,795,1080,1396,1616,1704,1486,1512,1550,1470,1700,1306,1378,1714,1764,1644,1412,1322,1390,1484,1400,1154,1060,1006,1020,1226,1422,1808,1728,1590,1394,1360,1224,1094,1058,1118,1224,1284,1302,1190,1356,1470,987,849,1015,1246,953,1108,1472,1228,1504,1844,1474,1288,1306,912,646,1102,985,741,976,1252,1110,1078,1332,1362,1154,1114,1354,1220,1158,1268,1310,1154,1162,1298,1248,997,800,871,1488,1244,1023,1330,1304,1318,1320,888,672,810,820,849,1390,966,985,943,794,672,1422,1766,1324,1108,1142,1110,1242,1324,1244,1432,1096,1044,1102,1164,1384,1294,1346,1126,1102,1190,1088,994,1162,1650,1398,1210,960,1352,1648,2046,1604,1054,1122,1266,1418,1542,1284,957,1260,1150,1222,1058,917,847,970,1012,1028,1194,1240,992,718,1338,1126,1284,1186,1214,1064,667,445,592,832,895,791,552,825,1276,1182,1416,1186,1264,1246,1450,1418,1406,1418,1330,1212,1228,1138,966,851,894,789,744,738,857,915,1694,2248,1498,1164,1364,893,865,835,1060,586,845,963,914,1154,1294,1284,1240,1208,1180,1088,705,499,438,434,414,658,1072,808,707,751,681,490,554,473,357,421,557,927,902,520,336,258,319,409,487,524,436,408,445,644,1070,1678,1268,1350,1206,1548,1768,1302,1086,1158,1212,1214,1110,1170,1362,1232,1104,1368,1278,1136,1098,1196,1188,1232,1440,1234,1164,1178,1192,1084,1234,1252,1044,785,729,823,1012,1082,1296,1256,1374,1168,882,906,1158,1240,1390,1560,1302,1180,1064,1114,1180,1184,1248,1300,1404,1388,1362,1308,1174,1156,1204,898,669,761,1084,1268,1226,1260,1280,1250,1266,1088,1118,1130,1108,1060,1210,1116,938,1244,1516,1200,864,659,589,978,1028,1272,1450,1556,1212,1228,1578,1658,1396,974,1118,1188,1096,940,996,999,879,960,780,483,396,417,355,386,389,467,543,715,900,890,761,1184,1054,787,1120,1092,816,664,779,1024,855,701,842,933,1054,1005,1082,861,559,1092,1566,1350,1180,1226,966,805,741,751,717,828,1220,1664,1346,943,668,572,454,516,724,736,913,847,782,1144,1238,1168,1046,658,531,628,970,1158,1162,1011,1015,980,852,1044,1116,1048,1018,982,1084,1010,1206,1352,1064,910,1021,1244,1232,1370,1322,951,708,844,954,728,598,944,845,1064,1572,1096,800,1023,1390,1224,1102,1534,1254,1114,1288,1338,1206,1282,1190,1038,906,716,710,858,930,839,718,1013,860,458,525,626,708,1000,871,965,1434,1584,1376,1180,1214,1166,1072,1190,1340,1148,1226,1210,1376,1368,1522,1850,1382,1052,1036,1066,922,921,888,1058,1056,1084,1060,1018,988,1038,1212,1256,1124,1040,929,854,869,932,1001,1038,1066,1190,1019,799,661,719,882,909,724,1004,950,931,1136,1312,1226,1184,1316,1196,1016,1244,1272,1252,878,799,1152,1278,1170,1190,1224,1330,1352,1286,1020,777,656,660,883,1290,1210,1094,913,880,1096,1005,1042,1064,997,1070,1266,1402,1258,1072,1160,1044,1286,1132,1062,1052,778,949,1142,835,858,1080,1200,1222,1164,1174,818,583,827,1240,1013,697,563,462,508,439,473,665,805,568,563,716,495,392,466,621,1120,1212,841,862,801,358,370,479,847,1030,1130,1234,1248,1042,1216,1610,1904,1726,1388,1260,1422,1540,1306,904,658,565,756,813,800,943,1226,1324,1208,995,937,765,1052,1168,647,461,390,328,349,386,336,336,319,478,924,753,617,1038,1274,843,896,1226,960,838,1062,1134,845,465,333,310,327,283,301,511,672,620,603,668,922,803,462,601,1064,998,421,352,329,365,512,566,537,443,531,951,952,926,857,463,766,683,346,310,299,427,983,1252,828,689,880,924,741,655,542,639,541,777,728,514,537,487,398,475,641,735,829,610,986,1524,1334,1494,1632,1236,1046,1204,1456,1188,802,502,459,657,605,570,536,679,1080,1226,816,562,485,690,808,782,729,377,487,737,1232,625,487,405,369,377,529,948,1142,1192,981,540,327,300,336,339,345,402,384,454,949,1568,1462,1190,1298,1148,935,596,612,1484,1472,1164,1136,1328,1426,1250,1284,1440,1444,1338,1015,1122,978,773,875,1188,1490,950,730,559,656,807,781,833,838,422,533,724,1114,880,716,744,484,338,289,272,393,468,483,426,365,379,358,346,456,482,435,448,535,702,738,653,850,1042,822,1094,1296,1076,1278,980,1056,1162,1184,1196,822,449,334,380,314,312,321,252,254,318,497,613,522,630,575,524,774,1124,1098,1118,830,876,1030,962,993,832,673,631,648,607,780,987,1094,919,449,323,351,346,389,503,488,451,325,315,324,324,304,309,347,337,303,289,341,367,371,362,341,307,359,341,374,400,400,466,400,312,299,262,282,355,336,367,398,334,496,946,847,951,1078,816,780,806,611,428,491,843,767,701,1004,1094,798,472,451,416,505,539,814,943,894,1242,1066,1344,1056,1210,904,536,552,890,1218,987,663,608,677,1362,1368,1178,1410,1052,1190,923,760,397,636,1028,1078,1058,1042,954,1444,1882,744,494,504,729,802,768,669,511,1062,1888,2156,1910,1598,1474],[383,396,338,350,369,343,324,432,594,620,619,692,695,698,664,598,600,577,607,700,761,743,539,393,370,468,438,398,459,530,484,324,245,219,336,455,441,474,464,555,879,932,803,1174,949,712,694,792,981,1144,1194,1090,742,356,412,509,670,812,791,521,415,558,920,1023,531,440,483,634,467,363,335,588,914,1188,1021,1074,1050,976,1192,940,960,1242,1478,1660,2374,1426,891,1184,1230,1260,941,675,885,1182,1350,1044,1146,733,751,1048,1156,963,605,439,424,525,696,607,520,445,396,368,382,394,358,335,327,343,384,543,681,587,491,388,390,383,379,367,352,354,357,363,365,385,418,440,447,393,554,1172,1158,1322,1218,1096,1016,998,822,480,374,342,320,323,315,289,463,762,1024,1250,1272,1044,695,684,705,1021,1426,1192,901,775,646,929,1012,1020,1060,774,538,630,768,781,966,1092,880,564,1108,1720,1648,1214,1234,766,847,955,698,596,532,452,565,692,538,504,671,893,623,425,518,674,877,1148,1250,1330,1638,1350,1566,1180,866,752,774,689,849,824,930,869,621,700,1036,1234,946,1362,1522,1652,1226,1358,1302,1376,1278,843,1010,1284,1304,1280,1264,1218,1086,1094,1414,1394,1292,1250,1406,1504,1680,1228,909,1334,1142,1418,1404,1428,1482,1332,1152,1184,891,505,525,669,604,408,543,1260,1126,1282,1534,1416,1216,1370,1440,1416,1288,1250,1566,1676,1262,1128,1472,1882,1932,1456,689,630,606,440,353,658,1268,1554,1576,1122,1262,1466,1236,1202,947,763,1040,923,675,687,973,1052,952,763,673,635,789,748,1036,831,823,989,977,1166,1066,800,1098,1416,1316,1054,1410,1466,1272,902,1096,1266,1388,1302,1372,1432,1216,1214,1046,533,401,321,634,747,605,628,906,978,999,927,707,663,900,1186,1610,1636,1450,1330,1484,1526,1548,1554,1528,1524,1262,1636,1398,1062,934,1005,969,1080,1064,915,1158,1336,1186,1250,1492,1520,1354,1090,1092,981,822,604,742,905,1084,959,995,929,546,434,411,329,360,430,462,566,1006,1007,720,485,428,467,435,628,799,1216,1330,1108,681,589,526,470,770,1013,886,926,1086,736,352,390,586,1058,943,766,1136,1072,661,795,1019,934,1002,1416,1256,1382,1466,1648,1566,1584,1160,695,769,786,682,514,513,639,707,754,1204,1344,1378,1554,1256,999,910,1076,1132,953,1052,1118,841,926,982,883,997,910,514,303,314,364,446,902,1664,1350,1350,1172,1114,1038,929,1096,1522,1410,921,847,1040,1354,1344,1028,842,880,987,919,1016,811,593,596,546,883,1312,1260,957,977,1488,2124,1422,737,750,1186,1276,1286,1382,1144,926,927,1550,1738,1180,788,572,495,479,534,541,488,443,419,423,604,902,634,434,377,401,402,333,350,386,464,495,499,561,498,417,498,575,523,523,574,692,599,373,615,1136,1304,1184,968,1338,1214,873,918,722,839,1256,1250,1202,1242,1266,1160,1023,990,891,1168,1594,1274,1160,1148,1216,1236,1198,1336,1146,960,1084,1340,1340,1312,1268,1274,1498,1142,1040,998,1128,1216,1408,1406,1478,3020,4896,3908,1178,984,1606,1092,962,838,813,1302,1546,1302,1226,1330,1444,1554,1672,1776,1552,1164,965,955,1164,1146,1272,1314,1196,1178,1124,1220,971,871,1066,1400,1044,1078,1594,1734,1754,1688,1404,1214,1494,1376,814,447,368,355,375,481,437,380,400,393,397,408,368,340,320,332,322,301,294,322,309,296,362,596,523,317,313,291,297,299,342,331,344,365,375,378,384,364,355,372,387,402,494,550,543,576,491,401,513,440,503,612,638,968,1556,1806,1876,1670,947,1388,1020,815,1188,843,891,1080,1040,1106,1180,1244,1038,1118,1204,1422,1370,1268,1360,1470,1210,943,901,844,938,1184,1384,1438,1600,1748,1836,1856,1256,722,1222,1828,1764,1594,1284,996,1026,1146,1256,1716,1546,1076,1012,1096,1188,1394,1374,1344,1732,1892,1788,1444,1102,1048,957,1274,1238,1300,1296,1162,1272,1106,834,876,1104,1118,1196,1394,1308,1040,1226,1466,1396,1068,1136,1044,943,1218,1302,1018,888,1040,1154,1560,1870,1382,1136,1426,1316,1170,1280,1332,1290,1320,1288,1142,1013,631,985,1286,1268,1242,1348,1338,1338,1334,1122,761,664,719,606,1198,2620,1484,1184,1001,783,824,1288,1450,1188,1124,1174,862,852,977,1144,1344,1112,1262,1310,1250,1054,1178,1462,1150,1096,1198,1060,929,1234,1594,1416,1288,1156,1472,1666,1438,1140,1224,1390,1536,1280,1498,1286,982,1086,1108,1186,968,933,897,888,988,1034,952,860,824,607,883,717,707,865,974,896,602,417,566,841,1038,1398,793,1054,1160,1002,1398,1214,1146,1160,1244,1526,1760,1534,1284,1296,1334,926,602,454,487,514,443,390,462,816,1466,1490,1242,1174,1340,1070,818,569,814,962,949,1068,1270,1434,1444,1262,1190,1280,1176,1052,844,526,371,397,379,436,522,632,801,954,1072,810,627,647,540,516,814,902,703,605,499,399,441,477,767,1002,591,402,368,593,976,1494,1362,1360,1324,1586,1642,1346,1222,1138,1172,963,834,773,971,844,1021,1290,1248,1176,1194,1222,992,1138,1260,1278,1340,1350,1346,1256,1220,1068,985,821,587,888,999,1042,1502,1278,1392,1160,836,1018,1120,1060,1362,1332,934,807,943,1050,1088,1196,1192,1142,1232,1332,1356,1286,1290,1356,1222,1076,952,1154,1348,1144,1030,1230,1226,1054,1188,1262,1306,1226,1154,881,689,874,1034,1302,1262,1026,754,519,704,1062,1126,1260,1630,1510,1138,1184,1384,1664,1694,1322,1390,1320,1044,959,858,612,775,1064,912,541,375,394,483,852,510,412,488,754,852,611,756,1268,1022,574,783,885,1092,1008,1250,1190,758,474,645,965,1224,1258,1296,875,473,795,1110,1528,1958,1140,616,458,413,663,1148,1166,1204,1388,1056,825,685,479,424,440,415,487,675,820,1072,1158,965,1094,1112,612,702,1162,1464,1238,1188,1154,1136,1112,979,1028,1130,844,837,1070,1196,1142,2498,2216,1276,1248,1080,943,755,646,904,1138,1040,767,562,487,467,813,852,715,1104,1032,742,808,931,780,1024,1190,904,1480,1528,1294,1124,1040,673,664,747,443,419,626,837,958,753,942,598,358,496,763,871,1060,1021,1116,1332,1246,1136,1214,1284,1290,1274,1312,1434,1294,1312,1342,1302,1246,1406,1544,1220,896,783,1200,1364,1158,955,960,846,1018,1230,1316,1244,1062,1098,1054,1012,969,980,1023,1068,1124,1174,1206,1188,1074,961,843,616,637,877,776,642,986,996,996,1100,1152,1172,1252,1384,1460,1196,1156,1126,944,706,843,978,1058,1058,963,1116,1266,1238,1202,1188,1002,861,930,1164,1146,1378,1342,961,1116,1316,1006,884,1224,1178,1302,1522,1402,1100,1232,1192,1012,794,1038,1466,1346,1002,1282,1292,1178,949,1184,1210,851,743,1170,1360,987,932,930,549,415,418,659,1128,710,486,582,483,317,702,991,695,633,598,585,734,610,777,902,495,409,724,694,1142,1398,1076,839,1090,1224,1152,915,1210,1204,1136,908,1406,1758,1556,1366,1324,1192,889,805,935,901,905,1496,1754,1152,650,690,766,889,898,664,393,340,371,375,332,351,386,791,1390,871,524,907,1188,838,848,940,607,500,800,1026,678,448,374,318,293,292,265,452,777,789,695,615,536,371,335,335,466,458,490,488,415,414,437,463,529,576,725,832,617,500,364,470,731,557,404,381,596,1018,1032,618,445,518,681,505,440,527,631,546,735,1456,1244,868,778,760,587,686,1180,1350,1488,977,1310,1606,1684,1670,1818,1386,970,959,656,473,494,426,595,601,525,523,505,530,950,1400,1236,927,708,621,692,576,440,507,437,466,448,312,417,425,368,394,674,1032,1060,1186,870,580,484,338,283,322,490,520,377,799,1472,1908,1636,1228,1246,1246,831,458,408,748,786,1088,1264,1244,1268,1036,998,1246,1268,1310,1234,1208,911,658,1005,1572,1136,620,627,538,404,504,805,770,628,594,883,619,626,695,880,806,462,248,273,357,426,404,439,412,350,364,348,390,464,444,392,398,421,478,616,481,728,1013,1100,1194,1204,1280,1414,1160,1012,1070,1152,833,832,592,333,297,253,286,245,289,383,445,905,1300,1132,1318,1116,1264,1482,1018,985,646,386,684,985,929,669,672,552,494,474,427,554,1088,1772,1104,498,514,532,580,513,496,594,646,410,354,333,362,347,365,448,432,346,379,428,427,365,389,357,322,311,388,418,418,443,442,354,299,283,254,263,358,348,342,390,431,397,639,569,843,1092,1021,1042,1046,957,728,597,710,664,946,1096,1164,918,706,570,419,496,473,539,546,433,906,1038,716,537,1050,1364,880,641,991,1086,872,1058,966,971,1332,1254,1384,1878,1600,1044,744,734,695,633,636,692,779,1118,980,1578,1474,789,510,617,1068,1152,937,587,444,871,1704,1918,1382,1528,1728],[329,423,396,318,314,316,377,565,606,633,704,697,697,715,639,645,688,660,587,460,413,518,469,366,377,498,473,383,424,503,414,289,265,257,281,319,464,444,496,516,887,995,860,926,767,866,924,973,1240,1196,972,1028,715,371,327,349,507,1026,1086,624,379,391,588,775,641,559,723,657,595,478,357,433,962,1464,1120,673,622,843,787,601,856,1132,1312,1614,2074,1638,1150,855,880,980,657,606,969,1388,1400,1178,683,372,531,706,948,959,648,417,515,707,814,661,650,543,396,371,372,367,355,343,326,330,353,437,611,537,455,393,389,385,387,377,362,356,363,369,380,397,418,422,428,382,562,989,851,1002,1230,1168,823,544,404,318,338,343,337,341,351,370,642,905,909,908,1272,1412,1066,895,853,1192,1282,1170,1016,1186,1168,1274,1300,1178,965,741,695,897,879,899,790,944,1016,1096,1118,1226,1156,1230,980,637,657,670,692,601,387,417,416,529,849,911,1018,864,529,504,437,758,1230,1126,1166,1600,1694,1272,1606,1332,1092,988,996,833,659,642,842,752,587,618,592,680,896,1140,1266,1250,1270,1366,1480,1902,1562,675,885,1376,1048,1382,1520,1524,1462,1390,1514,1528,1422,1382,1356,1296,1512,1136,625,1166,1214,1350,1418,1440,1578,1260,1013,1156,987,819,588,383,396,502,1116,1508,1370,1478,1698,1404,1318,1428,1348,1430,1402,1490,1526,1246,1218,1198,1550,1880,1848,1506,891,466,447,407,317,537,889,1224,1290,1330,1226,1386,1013,947,789,767,1050,896,786,792,971,1280,1234,1158,1116,1192,883,758,1092,1088,750,661,670,987,1190,1166,1176,1204,946,1318,1482,1388,1442,1238,1368,1770,1934,1404,1414,1428,1256,1334,1412,816,451,416,498,547,595,756,1009,983,1354,823,595,557,836,1298,1698,1676,1490,1608,1604,1548,1722,1662,1412,1352,1288,1526,1384,1658,1544,1238,930,1166,1282,1066,1218,1334,1376,1108,1126,1492,1228,1166,1328,1120,568,545,752,979,963,1048,1013,985,448,336,460,463,459,427,399,762,1122,977,477,352,339,391,517,889,564,774,980,699,529,629,625,507,493,689,874,893,927,722,440,314,645,1160,1194,1208,1274,1136,1026,1196,1234,1098,1166,1434,1220,1370,1682,1466,1338,1336,1116,979,874,771,639,533,579,501,540,772,1360,1300,1200,1458,1528,1468,1360,1204,1098,1064,1262,907,854,996,791,781,858,690,577,389,318,352,384,891,1666,1242,1534,1384,1106,1064,885,897,1298,1312,1054,1264,1490,1704,1182,608,491,390,722,851,1400,1592,1228,933,588,876,1490,1596,1224,1100,1322,1982,1432,825,927,1166,1128,1218,1460,1162,1154,1036,1304,1176,962,711,637,588,503,531,563,550,568,650,667,669,810,460,366,382,449,462,374,281,315,461,530,631,542,467,410,488,576,553,583,635,777,709,517,738,1136,1152,971,797,1182,959,993,1208,950,967,1018,957,1304,1598,1398,1200,1116,1328,1262,1176,1198,1132,1116,1150,1344,1268,1007,1160,1222,1060,1144,1276,1142,1340,1252,1166,1134,996,1296,1658,1484,1180,1418,1268,1446,2922,4300,2746,733,764,1720,1194,855,746,807,1112,1108,1102,1194,1380,1402,1306,1356,1766,1930,1630,1232,1282,1188,1028,1384,1308,1212,1158,1102,1078,1018,1208,1444,1470,1414,1560,1566,1548,1546,1538,1130,833,1116,1040,680,623,444,389,390,469,467,378,379,423,465,429,349,307,321,305,311,305,296,313,311,301,332,558,637,385,337,302,298,371,395,341,342,359,356,400,415,364,357,406,413,387,481,535,529,522,404,361,376,358,416,483,647,1218,1694,1756,1892,1582,1015,1192,1218,1254,1074,857,1212,1358,1444,1296,1228,1044,919,1056,1170,1017,1180,1260,1464,1454,1134,951,941,1070,1234,1424,1236,1660,1622,1338,1140,1017,935,815,1500,2194,1978,1422,1164,1210,1038,1038,881,1376,1322,1260,1362,1274,1378,1466,1190,1012,1174,1710,1826,1372,1200,1272,998,1442,920,866,1140,1222,1308,1130,766,787,1154,1116,1266,1456,1314,1044,1282,1364,1266,1256,1264,1210,1242,1306,1160,941,1090,1034,1122,1858,2068,1278,900,1094,1240,1214,1194,1196,1168,1362,1278,1194,1178,1001,1102,1074,1152,1402,1326,1278,1306,1188,865,691,747,736,789,1218,1736,1304,992,722,730,841,874,797,837,1192,1424,1092,849,1166,1204,934,860,1194,1416,1232,844,951,1001,945,1132,1082,1134,1346,1512,1444,1412,1364,1246,1310,1460,1412,1450,1332,1306,1344,1390,1040,903,893,605,630,927,1002,984,986,1004,879,1070,771,609,832,745,843,966,978,868,833,835,764,647,750,1044,960,1358,783,891,697,722,1116,1196,1360,1610,1542,1504,1672,1542,1316,1136,1236,901,590,454,472,441,401,657,895,1072,1506,1452,1474,1240,1114,1040,800,554,797,821,783,961,993,1202,1394,1260,1110,1216,1130,965,993,698,395,365,328,367,413,434,719,892,802,540,620,860,829,946,1234,1098,919,913,757,672,454,634,832,1044,625,376,346,334,912,1420,1478,1300,1128,1024,791,843,1056,1050,1278,893,796,835,745,617,844,1230,1366,1256,1142,1136,976,1144,1390,1226,1214,1262,1324,1284,1116,1078,1218,901,803,1178,1170,1338,1314,1150,1266,1168,996,1106,1116,1112,1214,1244,1180,1074,1254,1068,1064,1164,1192,1174,1146,1206,1244,1218,1382,1366,1124,1182,1028,947,1212,1018,1092,1256,1210,1210,1220,1310,1328,1092,1128,1166,900,803,979,1124,1162,1218,982,771,1042,1342,1170,1390,1954,1622,1196,1214,1308,1560,1686,1556,1476,1292,819,921,1108,771,797,1046,692,402,368,411,643,1404,976,509,443,568,692,754,927,1360,1186,838,1470,1366,1338,1490,1540,1110,642,460,573,858,1116,1014,1012,675,730,1222,2040,2454,2022,973,466,586,738,994,1306,1032,1001,836,774,676,632,458,700,831,487,383,442,551,874,1042,1044,793,839,711,833,1004,1194,1126,1096,1122,1134,1198,1114,1230,1250,824,883,1192,1172,1009,1874,1530,1154,1060,923,891,709,401,820,1602,1428,580,357,317,417,903,1003,821,940,879,753,780,727,706,1310,1310,1422,1778,1434,1274,1192,835,402,455,605,399,350,610,1206,866,734,775,452,398,754,943,894,1090,1114,1202,1222,1074,1248,1428,1372,1382,1504,1132,1021,1212,1068,986,1232,1368,1464,1592,868,733,1262,1642,1588,1224,1070,966,974,1136,996,1202,1212,969,1042,1023,1019,1036,1096,1208,1280,1252,1328,1396,988,793,824,843,684,580,627,507,450,734,1092,1282,1318,994,984,1278,1458,1512,1102,861,868,875,1150,1094,861,864,1030,1100,1178,1238,1244,951,974,957,1124,1162,1102,1066,1400,1148,802,970,1202,1134,1010,759,1012,1292,1376,1532,1438,1224,960,789,772,1009,1216,933,742,979,1198,1406,1372,1364,1258,1116,833,694,732,769,798,535,428,354,549,1134,1286,846,648,722,521,298,502,536,553,999,1140,857,849,685,874,613,347,660,961,694,771,1146,879,738,1094,1276,989,1006,1208,1200,1148,1256,1854,1814,1140,913,1114,1372,1334,1260,1290,865,664,1506,1614,1096,719,565,783,1270,1360,926,405,402,350,330,258,309,452,784,1072,666,341,470,540,417,422,381,309,365,412,393,583,981,762,460,498,454,388,527,889,1642,1320,625,582,453,355,270,354,479,838,797,525,512,512,444,389,616,969,736,604,969,720,374,337,317,290,487,1072,1176,899,600,541,772,997,547,519,824,1116,753,500,733,989,999,702,550,532,673,1356,1376,1520,1172,1490,1896,1998,2084,1900,1222,1196,1390,805,478,435,376,385,399,495,489,389,738,1328,1394,978,767,690,580,394,403,306,340,365,317,349,488,508,406,325,335,486,665,452,420,272,334,540,475,405,605,912,734,818,1426,1448,1276,1030,1164,979,673,456,417,393,401,542,1088,1216,1056,1312,1186,1010,916,1106,1246,1198,1202,1090,1088,1298,1038,427,283,306,530,623,460,517,636,550,546,414,429,486,525,728,727,435,263,275,289,311,309,322,371,394,351,330,365,436,462,431,556,935,529,370,357,894,1274,1598,1604,984,1038,854,937,1020,841,794,602,829,853,528,388,362,252,224,312,451,673,1070,1350,1520,1494,1450,1404,1092,1058,968,518,419,478,743,793,625,705,546,369,373,398,442,813,1194,776,379,364,508,693,778,723,846,604,353,317,402,452,360,412,533,424,384,580,802,665,461,400,360,407,390,382,365,345,344,384,418,405,316,278,266,340,314,355,422,467,472,615,759,859,990,1074,1046,919,935,933,879,752,688,868,1074,1011,766,801,844,513,530,582,653,498,488,1484,1362,630,488,552,824,1048,1019,939,703,496,783,966,1152,823,805,1412,1618,1236,774,549,844,1174,1086,816,515,822,1100,962,1478,1408,759,491,799,1028,987,771,615,500,874,1400,1596,1007,701,841],[306,313,303,296,308,340,423,565,623,650,735,699,651,548,505,631,634,509,458,313,255,307,411,375,402,460,489,466,509,518,396,319,272,289,259,300,444,555,818,888,956,872,973,1009,1110,1382,836,711,938,678,656,632,527,345,273,297,457,968,1238,866,323,377,455,668,841,694,653,565,584,581,448,670,1542,1742,980,607,1090,1028,634,579,1170,1288,1226,1180,1148,1172,1128,996,1180,858,919,881,946,1094,1190,1224,930,699,621,794,1028,822,631,583,528,582,548,565,559,462,331,341,387,375,384,372,328,331,349,391,548,529,478,417,397,397,395,389,370,368,370,376,402,383,400,393,396,343,466,687,701,980,1274,1116,620,336,325,348,342,343,313,315,338,439,639,916,815,916,1782,1748,1326,1080,948,1266,1520,1216,1074,946,1122,1308,1228,1338,1490,1356,937,904,796,720,794,987,1336,1576,1332,1072,1246,1172,519,458,503,531,822,630,616,548,436,468,759,938,1021,984,740,518,610,878,1076,1206,1302,1422,1174,1262,1378,1412,1416,1502,1466,1258,865,845,927,821,717,762,596,576,893,788,892,1234,1416,1266,1286,1360,1136,542,511,532,617,1200,1322,1330,1412,1528,1588,1498,1290,1306,1346,1360,1306,998,684,1316,1544,1312,1328,1426,1646,1468,766,571,681,852,640,552,604,667,1266,1382,1106,1454,1472,931,1104,1288,1346,1512,1482,1394,1222,1038,1214,1434,1494,1442,1366,1466,1200,501,345,357,337,423,720,1013,1440,1456,1236,1212,1190,1074,718,602,625,753,1192,1088,1130,1328,1318,1220,1216,1316,1362,1362,1230,1148,937,834,865,1164,1434,1382,1188,836,1018,1408,1424,1606,1576,1180,1432,1698,1708,1432,1318,1256,1170,1340,1460,1011,600,631,587,750,947,969,1170,833,949,672,534,483,765,1384,1792,1738,1636,1638,1436,1410,1286,1116,781,683,1007,1392,1698,1636,1604,1338,1096,1426,1024,1142,1244,1390,1344,844,698,1058,1264,1322,1416,1104,631,544,764,882,1034,1262,1078,763,397,454,715,698,604,376,528,1013,1202,844,417,262,293,248,343,568,442,448,538,545,591,642,638,561,665,860,904,782,910,982,585,305,556,829,1202,1554,1304,1370,1320,1280,1234,1158,1034,1262,1352,1462,1676,1572,1306,1300,1230,971,925,708,555,514,516,578,532,956,1212,1040,1312,1448,1454,1372,1324,1140,1054,1300,1322,1120,1176,1050,649,500,401,366,423,325,310,300,314,472,970,930,925,754,668,991,1306,1244,1154,1418,1538,1588,1486,1384,833,700,666,454,578,692,1144,1834,1520,775,1038,1060,1210,1214,1422,1042,867,1254,1318,1090,1116,1124,1058,990,1186,997,1040,953,1200,1060,875,690,643,619,528,531,605,678,713,812,850,898,832,427,332,365,379,458,409,256,352,504,440,528,523,608,678,677,630,589,587,684,749,653,542,710,913,1040,1116,974,1028,1236,1310,1134,1144,1156,1017,1002,1356,1540,1384,1124,1114,1374,1276,1174,1280,1350,1350,1384,1396,1156,1001,1310,1440,1280,1198,1282,1252,1280,1196,1160,907,1082,1532,1940,1794,1104,1204,1246,1202,1758,2414,1478,774,924,1194,919,629,613,1056,1290,1098,1212,965,1142,1188,1110,1278,1556,1592,1614,1694,1688,1358,1536,1812,1654,1484,1334,1218,1160,1292,1202,1164,1280,1382,1168,1090,1252,1324,1150,699,849,1058,986,1190,869,410,372,466,540,488,388,402,463,561,488,355,318,329,333,323,329,329,329,321,317,317,396,523,547,401,327,343,343,354,342,335,332,339,381,405,377,393,432,454,437,550,527,462,433,387,354,341,350,411,479,754,1560,1892,1764,1856,1074,977,1120,1284,1348,1200,1310,1432,1482,2122,1466,1260,882,1156,1188,1324,1328,1504,1322,1410,1344,1350,1260,1072,1304,1194,1382,1406,1630,1338,1015,964,1124,1168,1454,2008,2164,1810,1444,1314,1122,930,960,777,907,1032,1118,982,1282,1538,979,781,836,740,1168,1450,1714,1836,1482,960,1004,804,791,1044,1122,1068,891,891,835,867,1164,1332,1428,1260,1272,1408,1220,1108,1400,1726,1320,1021,1256,1044,1007,1238,979,930,1272,1242,933,924,1362,1560,1262,1190,1250,1182,1250,1216,1174,1050,1072,1182,1196,1396,1494,1424,1282,1370,1318,992,926,936,1098,1112,1584,1494,1084,908,730,661,761,962,882,600,645,953,892,990,1204,996,1050,1442,1448,1372,1300,855,765,735,962,1316,1268,1350,1334,1422,1420,1184,1152,1168,1244,1450,1344,1174,1180,1250,1228,1162,998,985,825,522,669,923,1050,1172,1252,1058,903,1052,784,715,888,986,933,942,949,941,1054,1092,1028,965,899,952,717,623,570,604,505,849,1270,1412,1600,1792,1664,1560,1606,1794,1684,1610,1326,753,562,510,496,416,426,541,952,1538,1790,1570,1298,929,644,659,561,411,454,466,646,963,782,759,949,1156,998,1190,1288,1064,1028,868,484,339,343,383,377,437,527,440,359,553,1108,1180,750,789,1202,1350,1520,910,614,796,750,835,959,806,527,392,375,612,842,839,867,865,608,387,328,541,963,1160,996,633,724,816,641,599,796,1224,1544,1702,1546,1182,1088,1142,1566,1378,1144,1312,1338,1238,1090,1120,1370,1144,1230,1286,1168,1282,1160,1108,1634,1862,1078,1048,1074,1250,1310,1280,1308,1440,1444,1362,1202,1084,1102,1120,1410,1648,1358,1292,1400,1188,880,1178,1296,1122,1032,1134,1214,1068,947,874,1166,1210,1332,1224,1348,1376,1220,889,1008,1144,1015,1278,1254,885,1086,1238,967,1292,1612,1548,1316,1342,1362,1356,1492,1648,1710,1450,1160,1266,1098,781,965,1172,612,370,405,396,588,1384,1484,915,679,611,789,947,813,1350,1622,1356,1428,1098,1532,1776,1374,1220,803,524,536,643,818,904,1184,1362,1210,1538,1712,1406,1180,839,628,871,1044,1068,960,756,648,510,559,483,594,486,731,908,609,564,517,440,786,1506,1394,1218,1250,1074,990,1032,1158,1168,1154,984,1042,1100,1190,1382,1356,868,822,1116,1013,1074,1001,938,1003,895,961,963,918,516,858,1866,1716,949,579,441,572,717,767,990,855,715,860,755,548,949,1444,1248,1218,1142,1122,1208,940,718,441,345,462,448,424,503,894,770,791,816,529,653,1124,1076,886,1038,926,1048,1138,1252,1594,1426,1418,1506,1686,1378,915,915,948,1054,1488,1520,1482,1600,1078,1316,1690,1794,1616,1200,1128,1110,958,1036,1108,1148,1094,919,1017,1166,1256,1378,1450,1390,1222,999,924,1106,888,779,789,825,699,524,422,403,435,657,928,1162,1170,1268,1088,1160,1200,1240,1170,786,756,1056,1062,897,799,798,1016,1108,1078,1190,999,745,976,937,906,868,1080,1404,1332,734,652,946,1294,1286,1284,1426,1524,1050,848,1054,1318,1354,1182,1068,912,625,674,907,753,653,823,1260,1464,1376,1284,1252,1028,850,809,725,802,816,769,572,861,1180,977,697,604,652,545,423,379,364,450,852,1438,811,693,788,876,564,295,581,593,503,894,998,623,947,1106,1250,1138,1672,1476,982,964,1232,1484,1068,531,539,848,1104,1168,1108,1164,1284,1132,1007,991,792,536,599,1554,2050,1574,1132,618,658,824,519,311,306,464,604,877,690,346,383,368,472,522,326,377,487,554,489,628,956,603,462,716,564,750,662,755,1678,974,509,592,741,582,352,408,545,775,863,790,647,475,327,509,1374,1228,611,613,1152,893,517,616,406,418,1056,1382,1134,727,549,601,901,1114,616,581,1086,1184,689,416,442,486,626,669,633,452,475,846,980,1216,1050,1198,1566,1818,1998,1566,857,726,645,412,322,307,347,368,422,572,512,487,882,1220,1011,689,811,855,561,325,293,279,288,324,399,594,579,345,282,307,325,263,339,282,285,348,443,499,372,554,928,968,1152,1592,1716,1218,805,633,1009,684,383,684,905,669,466,606,901,1088,1104,1220,1330,1058,879,1044,965,933,1002,1014,1170,1124,579,345,328,392,470,694,633,589,615,506,416,312,332,421,458,458,389,404,315,261,263,246,284,351,390,335,322,320,297,318,352,335,465,731,641,572,579,955,1058,1764,1766,875,892,655,820,861,739,629,685,818,1098,812,375,296,274,307,399,597,865,1484,1808,1368,1324,1416,1106,1076,1586,1174,800,667,853,1156,626,641,756,518,451,499,559,548,436,461,425,431,492,661,527,776,937,688,435,647,803,620,375,350,356,518,456,502,675,1066,1054,894,626,440,465,449,361,302,370,559,616,531,507,439,311,314,309,317,406,410,367,404,647,708,650,821,1266,970,598,658,886,877,818,836,817,852,753,549,678,1070,1011,942,914,749,661,812,1456,1132,844,950,575,1023,1584,1368,1130,932,789,720,1004,957,590,661,991,1114,820,659,861,1214,1122,958,750,717,1016,1308,1652,1952,1794,945,831,852,555,550,621,818,830,1094,1204,1284,1092,1130,977],[313,301,294,298,273,280,318,415,485,573,661,626,518,371,435,686,535,421,426,343,304,309,303,345,432,510,494,439,526,510,363,339,444,373,293,372,405,784,1234,867,457,741,1114,1300,1184,1206,733,597,529,303,243,279,329,278,274,282,468,1019,1412,835,367,319,339,345,608,689,519,410,479,590,431,534,993,991,649,749,1226,912,581,1078,1532,1294,1266,1140,687,503,702,1048,1188,1002,1090,1350,1374,993,741,790,971,974,877,671,1038,730,642,805,619,435,303,355,322,277,279,319,369,390,410,412,356,328,351,368,442,516,516,452,405,392,377,384,376,374,376,372,418,394,388,376,455,449,426,513,695,894,968,859,448,332,334,342,354,363,368,386,781,1164,896,889,556,582,1268,1314,1224,907,910,1166,1218,1176,1078,792,1050,1232,1015,776,888,1270,1102,1015,879,711,710,854,1166,1392,1526,1388,1388,858,452,476,536,685,1058,910,824,575,712,792,802,1142,1470,1122,1204,861,1132,1198,1492,1278,1410,1218,1020,1074,1284,1456,1324,1374,1518,1438,901,952,1036,877,612,511,438,580,711,611,783,1238,1440,1158,1112,814,756,463,430,466,428,491,706,1088,1256,1186,1388,1476,1232,1334,1300,1134,962,1134,977,1212,1456,1282,1524,1550,1698,1176,667,509,521,552,636,965,885,982,1410,1342,1422,1748,1520,1082,1258,1162,1448,1528,1334,922,957,1450,1654,1406,1310,1496,1340,1174,1038,560,350,374,434,552,1032,1232,1262,1382,1230,1074,1220,1238,1056,757,775,1058,1252,1266,1276,1240,1236,1094,1180,1254,1620,1338,1076,1050,1190,1070,1172,1328,1260,1200,1092,1068,1226,1294,1332,1300,1294,1214,1282,1396,1328,1410,1328,1236,1308,1378,1434,1274,858,857,765,863,948,902,890,679,552,486,500,501,516,718,1174,1346,1432,1238,1015,803,625,582,604,594,854,1506,1664,1480,1404,1144,1300,1410,1116,1262,1246,1414,1404,1028,766,997,1272,1522,1494,1138,1096,807,1002,988,1036,1106,824,526,357,788,1100,736,500,464,762,1352,1332,603,383,292,261,260,266,280,283,353,436,394,504,503,587,632,521,863,944,1026,1244,1108,776,423,608,1016,1010,1086,1286,1016,929,960,963,872,720,982,1476,1548,1568,1534,1758,1698,991,917,829,547,565,571,590,645,730,1104,996,1088,1472,1602,1626,1814,1698,1228,730,817,1040,1196,1332,1116,759,426,340,349,311,337,304,279,309,281,444,700,824,632,423,634,1334,1472,1154,1422,1552,1450,1350,1088,915,991,1136,1102,531,431,582,866,764,667,1148,1005,896,1094,1314,1192,974,1106,1224,1058,1136,1026,767,680,627,528,553,592,827,984,959,803,763,728,692,620,648,827,989,1204,1234,1112,1005,886,788,626,481,531,461,347,386,476,408,440,450,771,957,727,508,460,520,664,605,539,539,650,735,753,819,706,624,834,946,937,970,986,1070,978,1202,1260,1334,1154,1288,1294,1238,1220,1344,1384,1306,1384,1310,1134,1174,1322,1144,1172,1344,1328,1164,1164,1356,1220,996,1206,1350,1268,1524,1470,1202,1212,1292,1360,1180,1096,1170,1108,876,703,494,514,922,893,1042,1192,990,1060,1146,892,1224,1584,1402,1664,1836,1836,1758,1752,1692,1662,1536,1098,943,1140,1110,1064,1100,1078,1232,986,809,1132,1112,869,1194,1102,849,883,888,540,419,438,480,563,575,448,429,450,531,485,350,315,325,354,364,341,317,313,338,343,371,365,372,586,528,401,354,326,320,341,345,341,353,346,361,398,380,397,444,487,507,412,363,371,406,392,368,369,375,491,991,1698,1964,2018,1806,1110,1102,1352,1432,1608,1470,1368,1256,1230,1256,1558,1322,1226,1262,1332,1384,1400,1322,1464,1598,1256,1182,1164,977,1416,1644,1634,1284,1096,1006,1072,1200,885,885,1498,1898,1736,1590,1376,1250,855,1026,1264,1194,1068,1100,1074,935,1262,1282,1030,974,921,965,1346,1770,1284,1488,1778,1332,957,995,1070,1136,700,807,1028,1180,949,736,899,1278,1274,1166,1296,1142,987,817,757,1324,1296,1300,1338,982,927,997,1198,1332,1144,1054,1076,1017,1132,1244,1280,1316,937,847,1002,1422,1428,1208,1154,1368,1730,1556,1324,1462,1500,1444,1368,1212,1244,1150,1378,1326,1104,1082,1021,776,698,741,738,868,792,547,519,702,702,835,956,822,969,1266,1374,1722,1366,1130,1130,1024,1158,1222,1130,1062,918,1072,1162,1188,1200,1132,1003,1138,1180,1298,1542,1314,1062,1140,1130,1170,1108,406,567,790,705,629,642,818,905,801,764,858,1060,1256,1332,1296,736,719,785,1010,1005,873,969,985,768,713,861,684,538,669,683,1094,1532,1834,1662,1340,1424,1594,1060,782,714,482,462,697,880,644,535,596,976,1320,1306,1188,929,562,572,991,969,648,629,768,716,918,785,923,1023,1168,1152,1262,1226,1078,1262,1206,678,329,354,437,404,499,492,489,525,915,1194,933,614,637,734,1120,1232,874,910,706,659,860,974,609,390,502,794,1058,810,670,726,626,357,345,378,867,1266,1070,609,516,728,826,664,795,838,1252,1450,1542,1476,1238,1244,1226,1344,1278,1226,1142,1256,1256,1138,1180,1222,1272,1438,1310,1146,1240,1108,954,1766,2114,946,899,1106,1176,1404,1390,1272,1298,1344,1312,1198,1180,1148,1186,1490,1520,1178,1226,1214,807,883,1206,1224,1184,1090,1216,1058,799,658,807,1030,1030,1144,1162,1434,1310,1254,1222,1242,1090,982,1154,1322,1424,1268,1108,1017,1080,1306,1402,1288,1434,1534,1398,1276,1512,1776,1548,1372,1282,793,747,1072,940,580,474,526,799,940,1180,1544,1324,927,664,566,562,699,1332,1414,909,963,1066,1622,1614,1356,1186,1003,1156,944,540,651,962,1210,1160,951,1090,1258,1328,1458,999,982,1018,681,615,433,432,582,532,398,381,503,586,675,778,897,1009,746,605,786,1258,1378,1218,1182,999,651,790,989,998,1030,996,1074,1034,1208,1122,1176,883,996,1282,1372,1432,1262,1196,951,642,828,1136,1204,670,922,1780,1636,1262,1112,800,639,528,525,642,710,582,803,803,574,1126,1282,1222,1290,915,858,1026,1050,949,664,480,557,498,613,873,900,809,1026,834,661,837,815,634,730,783,786,1050,1174,1092,1102,1234,1260,1306,1440,1110,717,719,985,1092,1278,1374,1412,1556,1470,1450,1490,1388,1226,1188,1168,1052,990,988,1158,1200,1184,1104,1126,1172,1294,1242,825,739,667,717,777,1052,967,808,792,883,785,565,475,502,536,657,746,1022,1064,1342,1304,1220,1178,1338,1364,957,769,968,1026,989,971,980,930,933,1038,1136,794,933,1084,1036,974,1130,1310,1406,1244,807,612,901,1282,1510,1594,1524,1284,1130,1218,1402,1550,1350,1114,1248,1268,940,634,788,768,730,705,1056,1328,1270,1170,1072,762,784,904,875,866,913,1568,1422,1005,971,1118,889,476,547,642,692,729,439,506,606,915,888,908,763,660,435,326,489,753,772,728,699,538,922,788,1132,1332,1252,1164,1146,824,838,1054,838,482,948,1198,1232,1142,746,796,1096,1202,1268,1296,1044,504,1130,3440,1992,1808,3038,1458,1186,1362,772,355,344,568,738,733,521,462,505,359,565,662,424,388,591,834,605,401,442,344,725,1626,1628,1146,531,514,794,458,368,533,1026,986,724,586,620,493,683,1128,1216,1096,979,898,1202,890,873,807,683,683,979,1168,872,1124,1280,973,1220,1154,895,715,776,941,700,620,880,871,533,419,428,532,548,694,805,571,477,603,784,808,783,839,1286,1942,2280,1488,689,463,430,371,310,323,367,326,493,799,603,408,474,580,551,662,1188,1280,879,536,399,390,357,358,419,488,429,216,267,321,305,309,389,389,349,486,816,771,318,337,540,968,1462,1204,1352,971,665,551,816,890,905,1376,1598,1036,540,463,592,775,908,1058,1228,1292,1428,1262,1098,1078,907,865,907,980,807,525,448,575,620,746,603,459,356,365,412,420,544,509,613,557,527,846,672,445,313,275,310,368,403,356,358,299,291,265,358,590,640,814,1160,959,714,959,1154,1116,670,525,630,588,595,689,763,647,579,693,1108,1172,709,347,279,384,599,661,563,880,1224,1204,1064,1148,1070,1434,1956,1330,1258,962,666,581,460,537,793,671,733,951,697,415,323,282,340,386,411,576,716,1058,1116,871,1050,1354,1252,781,617,611,361,495,615,590,746,916,967,850,526,396,428,388,304,343,647,926,1062,654,527,518,415,357,341,392,429,570,776,683,1018,918,823,1150,1556,1006,612,643,873,931,920,899,885,796,749,576,513,792,789,832,1034,932,808,796,807,926,1116,951,713,1188,1376,1210,982,941,1036,1024,1100,835,733,875,924,857,752,933,1036,1214,945,638,491,597,620,1208,1900,2070,2150,1092,786,738,496,403,462,460,722,929,967,1086,1052,987,769],[301,310,308,307,292,276,263,301,327,415,535,501,426,361,574,684,473,406,427,385,356,330,273,299,372,459,410,379,462,474,397,391,514,469,339,444,537,755,897,729,822,1094,1114,1380,1102,1096,990,634,341,253,272,283,266,294,303,324,428,636,931,561,329,323,365,415,719,889,898,614,503,667,495,416,842,864,576,727,912,623,792,1372,1404,1266,872,508,321,587,1050,987,771,1012,1022,1036,1226,1096,734,855,996,871,996,683,900,631,563,619,648,458,260,266,230,242,321,325,311,359,410,433,402,345,349,390,518,656,664,594,398,381,346,359,370,364,370,376,400,409,396,402,445,414,381,391,612,1044,927,471,316,287,323,359,370,342,431,626,910,980,777,698,534,462,814,1194,1306,1142,1354,1406,1324,1252,971,1042,1046,794,829,745,585,664,794,1044,977,1128,1252,1196,1180,1274,1472,1290,1036,695,462,462,521,819,1090,1206,957,868,1234,1244,1046,1566,2600,1874,1606,1504,1400,1434,1440,1304,1362,1284,982,929,1256,1454,1404,1396,1162,1230,1278,1184,1246,1318,771,363,483,758,707,586,655,1346,1572,1194,893,669,615,657,918,852,487,435,444,633,1014,1452,1320,1388,1390,1480,1530,1300,1206,1358,1026,1019,1422,1416,1358,1396,1318,680,699,545,423,552,805,774,556,951,1432,1366,1636,1744,1560,1520,1156,828,1154,1430,1324,868,918,1440,1520,1472,1494,1440,1268,980,916,705,828,880,790,819,1116,1009,742,1046,1186,1200,1238,1416,1126,1009,965,781,973,1380,1332,1060,909,1112,1448,1154,1432,1188,992,1008,1020,925,1158,1264,1286,1360,1320,1154,1126,936,910,1070,1208,1226,1218,1382,1418,1360,1114,1090,1018,996,1066,985,760,714,756,797,719,749,864,778,529,518,584,642,741,853,1194,1260,1522,1114,700,531,451,453,472,468,785,1124,1232,1280,879,728,975,1056,1368,1542,1584,1654,1638,1404,1192,1134,1160,1616,1636,1198,1268,761,779,1005,859,843,854,720,478,609,975,822,725,670,1028,2150,1500,611,354,296,280,289,293,292,324,376,635,561,713,526,645,598,547,1106,1292,1288,1192,1016,1076,1011,1358,988,756,927,1304,1142,1174,1356,1230,877,762,1252,1410,1326,1824,1570,1732,1626,700,536,659,677,854,921,998,1144,1017,1210,1102,1438,1544,1856,1868,1472,1382,1306,986,1005,1414,1750,1216,902,818,499,377,317,260,349,361,377,443,347,321,651,1036,999,683,681,1206,1284,1434,1538,1422,1368,1364,1244,1238,1134,1304,935,462,426,403,409,443,494,571,618,779,908,1002,1074,1122,1034,1164,1190,996,1009,860,597,391,307,339,332,376,620,880,904,1015,1080,1006,952,1042,1428,1526,1608,1676,1510,1370,1236,1284,1148,771,797,711,584,565,463,406,352,306,370,456,460,407,370,397,489,435,498,551,776,845,674,710,711,669,690,677,783,834,929,1094,1094,1346,1194,1126,1322,1592,1426,1354,1378,1192,1384,1606,1350,1396,1302,1344,1252,1128,1214,1226,1190,1060,1168,1444,1196,996,1140,1324,1444,1710,1614,1486,1288,1286,1470,1274,1108,1196,1005,749,758,483,547,1062,891,743,829,1536,1584,1120,814,1032,1298,1464,1584,1456,1628,1786,1504,1410,1356,1354,1178,1009,1088,1168,1003,885,749,1036,1164,1052,1190,894,730,853,672,526,584,476,379,522,557,582,747,645,466,433,469,522,398,303,312,321,342,351,324,318,321,350,342,378,381,382,488,590,486,324,328,323,330,341,355,377,360,359,462,430,446,469,566,554,405,372,346,383,373,380,405,476,605,1252,1780,1880,1946,1542,1028,1282,1288,1388,1466,1312,1204,1182,1148,1212,1356,1046,1144,1194,1528,1554,1118,1332,1510,1334,1342,1232,1250,1312,1392,1598,1372,1144,1130,830,791,1002,1100,1222,1672,2008,1332,1206,1198,1110,684,843,1260,1244,857,738,832,1024,1270,1208,1218,1204,968,1028,1374,1334,899,1196,1644,1756,1654,1300,1218,1092,937,1124,976,952,1396,1310,1048,1020,1008,1212,1208,783,1086,1090,968,971,1340,1492,1204,916,991,1208,1574,1630,1302,1042,1102,1106,1070,1350,1538,1418,1276,1084,1266,1584,1454,1222,1210,1274,1796,1616,1356,1242,1428,1412,1352,1378,1430,1392,1402,1114,852,813,960,1030,959,849,719,899,838,650,761,833,634,807,1226,1208,1236,971,828,1062,1178,1352,1290,1150,1180,1294,1524,1430,1180,1086,837,955,1006,719,628,944,1288,1610,1826,1624,1354,1138,672,738,932,477,583,840,761,611,479,821,1024,850,879,1120,1320,1438,1182,907,604,634,590,739,923,1300,1362,1004,779,843,933,645,712,891,663,819,1848,2626,1772,1080,1154,1370,1330,819,831,641,675,1124,1194,1104,901,976,1164,1144,1078,1156,1092,775,694,1174,1124,1026,1050,1058,773,879,1076,1186,1244,1246,1282,1260,1042,1190,1364,1322,880,411,624,771,530,511,847,968,885,943,752,438,483,864,484,922,1296,1572,1256,826,496,577,940,880,684,846,1184,796,482,618,883,745,508,431,714,1220,1410,1188,593,543,568,575,726,776,843,1328,1350,1280,1252,1266,1220,1168,1244,1212,1216,1024,1204,1122,1152,1282,1218,1292,1374,1246,1164,1052,833,912,1102,1088,895,742,885,1252,1236,1204,1256,1394,1270,943,998,1200,1266,1258,1300,1258,1176,1130,1076,752,935,1100,1338,1650,1384,1212,1072,985,830,1086,1062,1007,1180,1232,1262,1344,1300,1184,1078,1050,1242,1296,1386,1304,1238,1176,1146,943,1434,1614,1410,1500,1590,1312,1162,1512,1672,1706,1248,802,522,486,600,615,673,628,724,1154,1126,894,1146,1130,759,727,810,691,623,1236,1172,633,715,1298,1966,1516,1390,1256,1156,1124,711,598,783,1140,1360,1232,991,782,767,849,1172,753,655,576,430,498,792,1328,1462,839,466,554,411,469,733,995,1030,913,835,988,1062,1024,747,453,766,943,764,645,759,935,1082,1036,1130,1238,1142,822,860,1058,1260,1410,1416,1464,1246,977,665,598,771,828,735,591,988,1654,1774,1512,912,623,421,443,745,880,907,558,989,1242,1104,1246,1024,948,863,926,920,943,1019,1088,799,494,388,419,596,817,767,839,947,770,987,879,758,878,759,631,874,1114,1120,988,1022,1128,1044,1086,1146,840,723,806,889,927,1086,1382,1500,1510,1472,1332,1368,1174,1146,974,1034,967,957,1078,1284,1284,1250,1138,822,895,1090,1132,747,783,809,858,895,1042,1068,868,776,883,822,588,505,511,679,954,978,1122,1240,1350,1292,1252,1286,1268,1354,1194,914,968,1094,1258,1234,1186,1112,1038,1094,1078,861,860,1036,1132,1038,1198,1096,1172,1128,1062,1194,1310,1488,1708,1672,1366,1454,1814,1976,1636,1310,1178,1210,1188,1266,1334,1015,681,577,549,684,882,802,1070,1118,1005,620,746,976,1250,1096,1072,1888,1656,1028,1012,910,615,725,909,1038,1364,998,463,780,892,817,1066,1268,1358,1266,738,446,535,1256,1288,984,678,463,845,761,648,787,657,773,1034,755,594,595,700,621,1454,1086,590,385,454,681,763,738,961,1312,1330,1238,1750,4096,1948,1236,1044,813,1378,1288,655,414,532,868,898,532,352,339,385,301,339,415,424,402,778,1013,645,474,592,612,924,1860,1898,1052,612,645,653,467,310,825,1188,825,1064,708,703,642,607,830,995,1854,1790,986,642,800,1248,922,633,956,1218,1068,1270,1304,1098,897,952,1010,938,785,1134,1908,1442,781,634,634,491,478,577,546,549,556,469,552,733,686,565,852,1028,698,855,1248,1512,810,413,384,411,378,338,341,377,431,680,893,662,530,461,467,437,521,1068,1582,1470,946,718,594,437,403,346,361,394,317,298,316,424,401,329,351,348,548,969,813,372,514,874,1332,1288,1396,1674,1068,632,575,976,1476,1564,1616,1078,1015,792,624,752,581,717,990,1172,1152,933,1180,1480,1210,1174,996,618,803,1190,1274,850,693,816,715,556,550,382,367,367,596,875,542,557,565,864,1258,1072,615,354,280,303,339,370,336,378,295,250,230,456,858,873,995,1162,962,698,711,910,833,502,419,725,853,604,558,529,536,618,705,879,947,813,569,467,509,561,775,756,574,623,807,1242,1172,969,882,921,1250,1476,1108,816,1026,866,912,1262,1054,1202,1290,722,408,384,457,452,405,437,421,816,1110,1476,2126,2018,1526,1012,634,464,362,320,522,639,809,1106,1206,1106,681,344,313,318,403,427,483,832,922,653,446,465,455,393,357,382,419,407,551,918,819,1100,1210,1080,1494,1546,1130,992,1072,1008,1146,1234,926,909,844,664,492,643,739,717,965,835,642,788,617,444,674,927,564,893,1378,1290,924,766,943,1224,1628,1428,612,841,894,686,677,986,905,988,758,555,399,293,290,558,1590,1820,1624,1512,1094,981,731,592,596,637,418,636,1007,997,1234,1236,1090,880],[386,325,253,262,286,290,305,323,306,319,384,395,386,533,715,566,482,429,353,320,397,422,306,259,292,334,350,459,500,364,369,366,408,420,335,401,475,429,393,802,1380,1200,1246,1354,1140,1080,877,542,340,305,340,286,267,276,362,415,558,429,522,452,309,355,398,615,875,886,927,539,393,587,499,342,509,612,513,593,609,535,727,1028,1198,1108,429,356,339,522,946,1060,991,1046,872,1044,1214,891,607,824,651,725,1082,1158,1126,736,447,370,401,390,283,274,273,312,340,271,254,292,343,390,391,345,352,432,557,604,669,651,397,372,351,364,340,305,297,354,387,400,394,435,490,420,375,358,369,570,489,337,304,311,375,430,419,342,476,721,614,573,877,691,516,442,562,930,978,1007,1170,997,808,741,794,1144,1124,803,870,943,648,680,995,1140,1152,1324,1290,1390,1404,1382,1232,1232,1058,890,738,682,731,971,1220,1200,1112,1438,1514,1332,1274,1432,2166,1966,1772,1362,1212,1434,1388,1272,1494,1576,1088,790,1042,1074,1308,858,929,1300,1330,1372,1398,1256,858,479,669,1400,1512,918,888,1598,1504,1056,1182,1562,1400,1260,1312,1082,627,521,521,509,794,1102,1186,1526,1700,1544,1554,1418,1260,1396,1023,688,1062,1312,1368,1468,997,545,626,552,435,550,633,577,468,772,1266,1544,1764,1508,1316,1144,872,725,1112,1358,1276,1198,1042,1294,1522,1852,1538,1094,1088,1040,949,1142,1368,1274,1108,995,1102,879,797,900,1154,1126,1088,863,526,768,750,562,614,1048,1216,1108,1110,1238,1250,974,1224,1172,926,1050,1180,1164,1050,990,1008,878,758,791,1188,1300,1252,1262,1342,1276,1206,1238,1362,1110,954,962,921,946,1112,934,642,554,609,703,714,700,843,833,689,805,909,1242,1354,1418,1722,1896,1866,1142,634,591,523,498,442,443,626,641,860,971,623,535,643,671,1148,1512,1366,1276,1184,1160,969,764,802,1310,1506,1400,1516,1216,991,1160,1170,1014,974,815,538,399,651,792,955,792,1172,1846,1356,585,322,289,276,268,270,376,691,608,652,853,821,695,730,578,496,847,1210,1174,885,933,1015,1458,1664,1054,925,1078,1066,1106,1656,2126,1900,1506,1044,1194,1054,1104,1324,871,1086,1120,858,619,447,409,644,954,1242,1364,1114,1054,1402,1572,1714,1776,1704,1238,960,1226,1550,1310,1770,2786,1234,756,793,615,404,313,319,359,377,558,717,383,337,398,746,977,1068,1172,1216,1426,1498,1244,1196,1364,1324,1288,1104,1126,1252,759,553,465,739,677,463,536,462,530,855,1110,745,637,932,896,1124,1018,974,1078,1092,855,504,326,330,311,339,492,960,1164,1260,1272,1162,952,1244,1636,1482,1556,1598,1302,1356,1202,1418,1378,1176,1064,885,1012,923,823,736,437,308,346,368,366,388,376,405,407,375,457,771,941,877,959,1106,1162,1064,974,745,661,875,946,975,1206,1290,1068,956,1176,1714,2118,1768,1456,1306,1312,1476,1404,1636,1512,1370,1248,1262,1104,910,955,876,884,1280,1306,1190,1326,1392,1510,1460,1322,1412,1276,1232,1324,1072,1082,1184,910,777,799,640,782,1252,1114,849,880,1328,1572,1108,1056,1416,1212,1308,1392,1178,1384,1536,1792,1698,1590,1370,836,761,749,818,868,917,776,1076,1418,1234,1054,1262,1402,915,543,428,426,484,405,504,537,628,841,604,437,469,466,420,350,312,315,321,328,341,315,317,315,321,328,360,376,359,427,586,448,336,328,317,328,353,341,372,421,442,491,588,673,638,625,468,383,366,351,351,362,415,427,488,793,1438,1784,1904,1982,1456,1164,1368,1256,1228,1256,1140,1128,1460,1400,1316,896,686,861,910,1192,1318,1242,1598,1446,1344,1372,1406,1470,1654,1616,1514,1316,1274,1148,689,726,1106,1308,1654,2056,1632,850,999,1128,853,618,816,1024,927,527,391,462,902,1496,1156,1372,1152,846,1036,1222,973,1070,1644,1596,1490,1664,1820,1518,1340,1310,1174,775,833,1160,1066,1198,976,1098,1372,1454,1286,1122,1218,1318,1168,974,1056,1246,1188,1282,1260,1592,1540,1386,1290,1054,1054,1124,1390,1260,1178,1218,1004,1100,1332,1290,1372,1188,1130,1516,1338,1262,1502,1426,1328,1392,1492,1534,1466,1344,1186,1238,1152,1128,966,783,903,1046,1100,966,1114,1308,1170,756,995,1302,1606,1690,1384,1350,1404,1428,1450,1242,1050,1022,1158,1204,1240,1244,974,818,985,978,880,940,1130,1370,1562,1568,1350,1252,1268,850,881,1058,665,681,878,813,639,538,720,885,905,976,1266,1358,1316,978,816,623,531,565,612,788,1100,1092,955,1238,1058,1034,829,732,839,694,1001,2140,2728,1914,1188,1022,1290,1490,1262,1222,958,1038,994,1050,1230,1190,1116,1058,1032,1144,1204,1292,810,631,933,931,985,1254,1242,860,868,1194,1280,1216,1214,1212,965,1036,1338,1256,1460,1228,597,632,673,568,807,1178,1400,1284,808,509,337,404,588,813,1300,1642,1658,1344,988,826,630,999,987,897,1164,1268,922,557,586,1072,1196,880,671,889,1074,1156,1058,578,591,789,754,826,664,806,1092,1108,1148,1226,1282,1156,1078,1246,907,1132,1454,1374,1206,1256,1262,1238,1166,1192,1266,1214,1090,1052,1228,1368,1324,1160,1226,1288,1100,1072,1256,1152,1114,919,705,1074,1284,1236,1202,1174,1250,1146,1212,1146,1012,1096,1172,1576,1654,1286,1240,1230,963,882,990,885,789,980,1148,1338,1394,1226,1034,943,1154,1290,1350,1362,1208,1226,1220,988,1158,1548,1428,1516,1466,1286,1152,1438,1526,1570,1726,1236,669,505,590,509,633,1012,985,974,1098,1122,2460,3404,1478,541,639,688,461,579,1158,1050,681,783,1434,1952,1400,1290,1192,893,587,462,508,649,1032,1400,1370,1136,889,669,645,711,689,711,724,839,1208,1830,2382,2134,1168,630,706,521,444,662,1096,1204,1190,1206,1196,1108,1034,810,672,861,711,692,861,861,956,722,747,1011,1112,1001,887,943,1152,1234,1336,1222,1236,991,771,709,768,673,404,367,517,926,1474,1758,1432,460,309,408,680,992,899,562,574,937,879,1170,1392,1150,1128,805,973,948,939,954,1000,777,588,426,391,514,708,907,1070,1212,1196,1080,1194,1136,1128,921,870,1130,1220,1162,969,975,1238,1036,914,922,849,1003,904,915,1338,1598,1628,1316,1238,1468,1402,1386,1068,988,999,1002,1058,1120,1184,1360,1470,1544,1314,808,1017,989,1152,850,808,843,871,883,1030,1110,883,791,798,603,509,684,880,938,813,753,931,1170,1204,1040,1244,1372,1136,1404,1348,985,898,1046,1086,1338,1346,1046,922,993,1212,1096,1070,1068,1062,771,812,650,712,1078,1290,1272,1446,1648,1624,1282,1332,1854,1628,1682,1284,1144,1206,1458,1142,1114,1188,1026,948,845,572,819,1052,801,778,656,626,579,689,842,1062,758,602,894,1040,902,782,726,682,1040,883,700,896,543,295,616,929,803,484,755,1230,1206,844,423,383,666,924,1266,971,754,938,967,927,791,752,625,747,754,577,390,461,673,980,602,316,302,321,407,505,954,1376,1214,781,985,1332,1354,1478,914,414,493,873,991,474,388,616,905,817,437,296,291,289,311,301,419,424,354,516,642,732,1054,905,932,845,583,696,557,435,540,623,735,1084,1204,841,339,526,446,726,852,823,859,1200,2078,1700,777,474,779,980,744,1102,1052,739,1040,1234,1036,1320,1346,1017,869,1012,843,1210,1694,1068,456,593,659,653,801,762,628,469,362,327,449,604,562,452,658,1102,946,911,1098,1010,783,728,598,413,355,307,308,336,458,744,690,516,521,585,539,441,477,731,1166,1248,810,717,839,605,375,317,239,319,352,294,255,338,343,284,355,371,515,612,454,438,792,1126,1316,1324,1562,1264,637,583,910,938,898,1000,1390,867,828,791,756,780,645,636,875,1204,1228,949,1402,1406,1102,859,628,596,933,1192,966,624,700,848,885,856,1256,879,418,345,495,554,374,368,502,799,1034,844,496,357,302,334,319,307,321,390,315,249,236,420,598,672,866,899,899,681,466,401,359,332,384,423,367,391,443,476,567,664,599,503,547,599,557,704,651,818,1062,912,965,1148,1188,1894,1290,899,685,718,1017,1248,944,1050,1426,1152,1128,1188,1174,1390,1456,823,533,767,914,1040,965,625,666,718,664,962,1406,1020,1072,719,477,338,373,375,667,713,788,1226,1456,1218,627,351,316,301,742,658,567,922,907,558,447,373,367,306,266,339,384,412,503,623,639,650,594,697,1078,1210,1290,1400,1312,1134,1122,1108,739,971,993,774,723,665,617,1006,1170,701,744,929,602,619,791,916,823,880,994,893,631,799,988,1320,1748,1430,515,448,482,704,612,774,1018,872,464,420,438,363,441,888,2048,1748,2242,2010,1584,1172,1078,902,748,670,495,945,1242,1180,1312,1212,1023,1362],[382,324,286,313,294,257,265,269,289,329,428,586,644,704,634,503,469,447,389,348,397,449,385,325,304,305,350,481,472,322,274,284,332,390,483,587,492,398,389,841,1238,1092,1184,1246,1178,980,853,573,366,359,373,310,343,411,386,592,836,494,392,390,430,620,711,472,567,998,893,518,478,461,382,315,401,530,584,675,792,819,472,698,866,720,752,528,402,662,888,761,898,854,760,922,1114,843,902,1068,627,803,1224,1300,1332,1018,515,327,328,287,243,256,271,316,302,242,238,293,340,383,399,383,405,427,492,564,696,568,386,354,351,349,368,339,328,382,396,378,364,417,460,450,455,416,390,439,434,380,343,358,392,462,416,370,589,590,531,537,427,343,386,387,366,571,798,777,1018,1046,725,764,1320,1052,913,978,977,865,758,954,1250,1322,1196,1208,1286,1466,1488,1270,1164,1262,1416,1356,1244,1028,920,1128,1234,1192,1316,1506,1280,1066,1084,1050,1342,1522,1474,1366,1392,1366,1288,1342,1648,1490,1378,1260,1224,1182,1288,937,1036,1202,1226,1190,1228,1298,844,917,910,1286,1780,918,938,1246,1042,881,1636,2176,1742,1684,1620,1190,1048,1052,1028,826,946,957,1096,1528,1714,1612,1396,1284,1054,1316,1040,769,995,1504,1532,1356,1046,945,1116,778,517,536,694,977,657,924,1316,1720,1816,1376,1264,1410,1296,1070,1416,1324,1106,1052,1036,1102,1268,1312,1328,1144,993,776,844,1408,1484,1338,1238,1150,1406,1424,1040,1019,1015,1017,1162,826,663,878,998,991,729,1038,1206,1130,971,881,1060,1114,1256,1076,1016,1138,839,746,973,973,739,688,695,980,1312,1410,1338,1276,1254,1222,1234,1350,1378,1146,1326,1296,1048,871,1248,1054,692,742,797,846,921,886,1030,1122,982,1288,1146,1412,1566,1828,2146,2242,2086,1456,804,700,574,549,480,411,560,737,595,473,408,418,494,611,965,1188,1108,1256,1360,855,514,469,416,929,1172,1384,1318,1122,1386,1532,1066,828,1048,1009,1074,815,751,758,781,857,1180,1450,1258,819,493,301,261,305,347,501,1022,855,540,622,554,515,535,518,491,678,1100,1260,1156,1320,1190,1376,1156,1019,1058,1144,1162,981,1194,1942,1912,1488,875,996,804,900,984,759,792,979,978,692,391,451,589,781,949,1066,1005,999,1274,1562,1732,1676,1588,1542,1292,985,1210,907,1152,1632,1088,910,591,381,487,581,428,345,556,945,1068,467,368,365,507,659,919,1090,1144,1426,1442,1122,875,1054,1188,1216,1088,1230,1124,972,708,649,1090,927,499,509,485,552,736,934,805,827,921,1026,1120,1300,1322,1204,1084,781,467,316,296,306,382,659,1184,1266,1256,1362,1310,1010,1294,1428,1358,1484,1470,1304,1378,1136,1262,1454,1422,1062,881,1092,1104,991,907,772,521,505,418,361,372,391,444,480,451,422,421,429,622,891,1120,1276,1368,1264,1184,1114,1144,984,1002,1118,1074,932,851,937,1152,1444,1648,1400,1252,1274,1148,1252,1350,1318,1318,1340,1374,1268,1334,1268,994,819,1194,1144,1150,1332,1290,1178,1146,1332,1336,1032,863,1026,1242,1476,1512,1021,884,805,616,821,1184,1126,1202,1168,1112,1162,1032,1310,1236,1260,1148,1376,1482,1290,1110,1516,1794,1734,1378,857,590,590,805,1007,1086,1322,1718,1498,1184,1184,1512,1498,1148,982,690,501,448,458,511,569,835,1001,705,503,514,480,392,351,330,314,323,332,336,318,307,305,317,340,351,382,372,402,578,393,373,351,313,305,317,341,397,455,470,472,630,763,722,526,420,373,362,352,332,379,439,445,518,1040,1646,1776,1910,1936,1196,1426,1084,1074,802,1198,1040,1016,1390,1438,1214,725,802,1110,644,590,1003,1352,1446,1146,1076,1238,1636,1918,1734,1622,1682,1432,1588,1252,1036,813,1070,993,1572,1712,962,744,1238,1318,882,700,904,727,669,581,410,448,929,1576,1118,1009,1220,1328,1256,1278,1112,1226,1678,1792,1596,1432,1620,1744,1628,1078,976,1036,1116,1246,1100,877,1138,1318,1302,1536,1328,872,986,960,684,587,1072,1358,1564,2470,1528,1328,1372,1532,1456,1116,1082,1194,1158,1013,1068,1128,788,1008,1244,1094,1166,1076,1204,1180,1106,1310,1382,1206,1104,1152,1188,1526,1362,1374,1336,1390,1370,1274,954,1000,1184,1190,1208,1372,1616,1594,1310,1122,1522,1916,1910,1514,1190,1122,1132,1134,1116,1090,1196,1023,1156,1166,1292,1132,1092,1064,1034,1052,1092,1092,1168,1252,1182,914,1050,1224,1250,1234,1202,1182,908,830,739,526,449,618,677,585,638,717,963,802,738,940,1086,831,536,457,512,766,1056,951,1182,1972,1316,1232,1048,771,977,704,1013,2258,2402,1288,952,962,1162,1490,1464,1138,1032,1104,1128,1170,1178,1154,1278,1426,1178,1086,897,776,496,495,606,803,971,1126,1124,971,863,1132,1240,1308,1120,1388,1154,1130,1360,1532,1562,1312,821,501,536,736,714,760,777,675,473,452,797,1212,1358,1300,1116,856,1084,1356,1204,951,1023,1268,857,773,763,701,937,790,816,1013,858,899,1050,1282,1052,1178,979,672,995,1232,882,622,590,793,979,902,980,876,1020,1128,1040,1062,813,1182,1504,1310,1196,1232,1192,1194,1158,1238,1302,1286,1232,1224,1228,1068,1152,1256,1332,1340,1262,1078,1190,1098,1136,1082,985,1298,1084,1162,1246,1234,1220,1088,1066,1011,1168,1372,1332,1322,1416,1360,1060,865,818,788,793,767,922,1060,1216,1316,1108,1058,1062,1158,1316,1256,1184,1436,1396,1340,1356,1006,1028,1376,1110,1146,1166,996,925,1402,1270,1132,1540,1600,1064,745,792,557,728,926,1122,1098,1158,935,1068,1260,1042,1006,1250,1218,665,819,1384,1050,784,1096,1582,1496,1056,1130,1180,817,599,508,562,605,835,1542,995,854,1132,829,706,803,737,876,1092,1298,1710,2126,2132,1504,865,532,486,403,396,721,1016,1009,897,798,835,1070,1024,908,1076,1138,678,481,869,1230,1212,967,865,979,1042,1004,1013,981,1168,1300,1330,1388,1340,1001,762,818,1056,848,467,401,459,733,1278,1438,966,410,357,472,959,1300,1052,1104,1598,1248,873,1278,1396,1344,1338,958,834,1220,1356,1216,978,830,803,551,533,583,898,1186,1104,1226,1350,1206,1208,1160,1222,1176,1072,1046,1136,1042,985,1228,1416,1114,985,762,646,800,750,818,1023,1262,1526,924,1200,1534,1488,1278,1146,1080,1023,1036,1094,1084,1210,1510,1586,1760,1440,742,707,788,1104,966,877,981,1062,1132,1190,1048,790,766,806,641,554,700,695,548,461,437,629,973,974,845,1108,1400,813,869,1270,1126,983,1100,1202,1548,1496,1746,1926,1454,1340,1066,871,823,808,711,852,736,724,1062,1310,1330,1350,1570,1510,1446,1666,1656,1202,1124,860,876,991,1066,975,700,508,579,684,1144,845,805,897,1208,1330,967,836,908,1032,1224,1080,473,334,492,562,498,489,491,413,426,412,389,433,535,654,611,580,612,475,516,804,562,351,309,307,367,635,792,868,1174,1280,1302,1322,1170,1080,739,651,633,500,376,314,466,544,403,335,379,466,639,866,1164,969,1118,1296,1214,1007,1216,1312,1118,838,486,522,618,373,546,549,817,628,358,378,399,358,338,415,562,513,541,642,489,1136,1808,1500,1144,750,482,459,449,346,385,370,537,1086,1072,398,265,279,437,886,688,943,1288,1296,1346,976,512,463,683,730,882,1368,1306,1310,1294,993,1174,1736,1820,1104,604,942,930,1034,1046,807,470,546,514,653,855,1158,1216,529,279,401,666,346,375,534,729,1038,1120,962,904,750,486,595,654,669,487,430,312,311,573,554,484,436,431,447,419,416,577,651,754,728,687,688,696,677,431,256,233,256,269,306,265,259,303,282,371,423,603,480,461,747,1010,1090,1388,1906,1810,1126,582,573,935,905,850,628,1015,1066,971,722,720,1166,1218,790,1012,953,1276,1214,1360,1160,1082,915,684,695,835,750,584,535,745,659,931,1274,2142,1672,675,369,352,323,301,253,347,511,666,792,1015,743,339,345,357,353,386,399,309,272,328,387,413,658,974,1058,1066,669,503,422,365,300,311,378,413,451,618,866,818,669,483,404,350,444,757,842,757,842,943,1036,1056,1178,993,1340,1158,781,541,490,505,619,632,685,835,881,955,1126,1398,1466,1632,979,812,964,1004,1414,1460,983,673,387,466,506,636,939,920,1146,964,550,458,527,951,1224,1180,1254,1372,1188,626,379,379,588,847,547,459,697,752,738,561,384,298,264,269,304,370,397,472,517,461,429,419,468,556,907,1258,1184,1106,1554,1328,1050,1024,1116,1174,1250,1076,760,848,1112,1284,1070,979,1015,861,744,650,814,1042,984,885,724,675,786,722,691,582,448,344,288,314,354,262,284,415,483,512,631,763,936,614,700,1023,966,952,1492,1548,1060,965,868,758,1052,1182,910,1194,1294,961,1100,1300,1458],[276,281,298,310,293,261,267,279,288,434,671,798,724,586,495,493,646,703,535,503,459,474,503,522,415,307,234,276,361,335,281,326,523,633,509,573,337,292,276,498,703,985,1150,1256,1364,1288,1122,570,326,341,282,262,349,408,420,918,1009,601,501,553,749,870,763,682,639,878,718,516,553,521,393,344,342,399,503,619,886,757,576,594,525,401,612,646,805,1322,1302,1022,933,579,442,736,1446,1354,955,662,754,1168,1202,1290,1398,1224,797,325,331,278,243,250,263,316,311,270,266,294,399,429,428,415,399,409,507,599,618,484,384,361,361,357,378,386,372,365,350,373,367,420,470,507,519,471,480,501,455,407,407,431,407,471,395,349,430,548,871,686,359,290,316,372,383,443,603,747,991,1246,825,835,1164,830,908,1124,1054,1198,1164,873,746,1164,1534,1258,1382,1566,1488,1340,1250,1280,1298,1294,1336,1124,1100,1228,1090,1144,1244,1022,889,973,924,1120,1390,1274,1230,1344,1362,1382,1350,1176,1560,1454,1478,1082,885,1382,1550,1376,1308,1372,1058,901,1118,1266,624,724,691,875,1092,690,722,813,799,1022,1354,1466,1552,1606,1584,1212,1428,1612,1418,1066,1019,1138,1432,1578,1618,1678,1396,1282,1358,1696,1572,1152,1196,1538,1122,1098,1346,1312,1112,735,516,471,456,484,740,1120,1574,1844,1566,1362,1192,1268,1308,1360,1444,1078,874,852,1102,1140,1324,1384,1448,1176,666,427,744,1258,1122,1034,1080,1282,1318,1312,1204,1220,1144,1236,1312,1086,862,1170,1348,1186,1048,1106,1338,1272,1188,1118,1222,1336,1364,1132,918,924,778,779,976,1084,932,929,944,1134,1296,1282,1282,1276,1104,854,973,1024,1124,1350,1286,1206,973,660,807,841,969,1144,1170,957,810,924,1012,1001,936,964,1096,1164,1506,1958,1928,1714,1640,1574,1212,1368,1036,637,513,497,678,744,516,435,435,420,433,580,761,1046,1442,1384,1642,1052,548,388,491,766,890,882,1005,1418,1404,1230,1000,681,745,1384,1494,1422,1390,1182,1130,1246,1292,1336,1410,1007,648,420,321,316,299,468,778,622,529,547,587,547,511,543,518,591,940,1264,1426,1124,1156,1396,1482,1454,1344,1296,1212,1188,1338,1188,1158,1174,929,912,894,1078,1224,1106,1110,1080,1212,998,541,542,745,838,733,605,660,858,1378,1760,1728,1648,1716,1666,1200,687,813,832,1014,965,746,602,522,603,797,765,509,697,885,1120,1230,769,384,306,413,547,566,602,857,893,1046,835,429,500,803,943,885,1032,1054,1004,1050,1002,847,874,597,568,559,539,544,630,847,692,784,1132,1314,1390,1238,1230,1062,675,328,306,297,329,427,664,1084,1256,1092,1288,1376,1172,1170,1174,1330,1520,1576,1514,1550,1272,1242,1450,1368,1076,1104,1330,1388,896,692,916,1002,847,580,424,396,437,521,547,520,470,408,419,483,524,880,1356,1422,1236,1264,1274,1220,1136,1228,1288,1172,851,759,852,882,946,1220,1164,1156,1240,1016,906,1058,1252,1338,1218,1338,1312,1254,1134,1410,1114,907,1012,1116,1142,1276,1274,1294,1484,1220,990,728,956,1884,2030,1886,1034,456,662,792,955,1028,1146,1430,1332,1094,1102,988,1092,1232,1442,1234,1282,1482,1330,1176,1206,1458,1734,1636,1120,687,587,622,636,919,1544,1720,1560,1436,1418,1640,1538,1340,1192,977,868,1048,888,705,658,893,928,629,440,479,467,398,366,338,336,338,339,330,309,312,337,359,359,348,368,373,460,561,449,409,350,328,326,319,337,348,370,387,473,698,763,632,411,401,379,361,369,361,381,437,478,691,1322,1736,1826,1860,1608,1050,1090,1158,1258,950,912,814,863,1200,1376,1320,826,738,780,541,664,1019,1284,1298,1410,1296,1368,1842,1956,1638,1686,1544,1118,1074,979,1019,709,673,908,1222,1080,640,736,1164,1274,1182,1368,1454,813,841,873,672,596,893,1146,868,980,1572,1716,1524,1128,1176,959,1156,1478,1588,1562,1444,1512,1620,1600,1450,1276,1188,1410,1434,1094,1350,1472,1456,1606,1196,962,1010,693,415,456,886,1176,1528,1826,1520,1270,1304,1582,1542,1322,1360,1326,1250,1132,1166,1090,927,1120,1238,1036,1004,1214,1252,934,773,863,843,885,1284,1394,1596,2014,1542,1306,1224,1078,1122,1322,1122,874,1080,1192,1210,1528,1440,1302,1260,1224,1172,1196,1212,1005,783,982,1172,1274,1104,1156,1176,1086,1270,1310,1270,1018,1270,1254,870,1128,1544,1960,1218,1330,1272,951,1214,1350,1302,1220,1228,1194,1166,999,880,695,530,526,599,556,534,623,694,536,625,1074,1284,1012,746,700,589,802,1128,946,980,1318,1186,1128,912,830,756,596,1076,1622,1220,675,989,1110,1001,1318,1616,1264,1032,1132,1238,1218,1198,1146,1256,1560,1296,1182,1042,706,420,315,316,454,826,984,829,1046,905,1056,1092,1354,1338,1504,1108,1046,1450,1482,1284,1236,931,438,415,642,780,981,977,982,874,536,542,550,459,535,544,462,462,594,1036,1230,1098,806,944,1028,676,551,666,713,971,1232,1030,948,962,1440,1418,1214,1094,861,1086,1184,743,463,566,895,1064,1070,1108,953,1180,1088,1016,1184,1260,1182,1156,1096,1128,1196,1272,1208,1272,1286,1324,1252,1146,1254,1278,1358,1346,1208,1346,1312,1470,1318,1508,1338,1228,1228,1278,1250,1080,1174,1172,1110,1034,1024,1080,1092,1288,1266,1236,1186,1172,954,644,729,914,1066,1238,1186,1384,1210,1144,1098,995,1194,1250,1372,1604,1450,1638,1998,1324,986,1064,1034,1096,1292,1318,1274,1120,1192,1024,1012,1018,1104,1272,1504,1366,766,896,1062,867,628,801,828,855,673,439,607,1052,1606,1946,1700,1036,1054,1540,1534,1150,1364,1460,1428,1238,1324,1422,968,811,766,657,465,504,1036,926,871,960,847,886,882,728,619,839,1198,1560,1506,1482,1412,1228,552,332,369,450,640,745,665,583,485,662,1102,1019,791,1046,1174,1002,647,655,992,1200,1158,1058,1064,1090,1022,952,1146,1222,1210,1324,1416,1382,1268,841,796,1182,1014,486,447,658,801,1005,868,576,462,462,683,883,792,874,1634,1886,1288,1060,1414,1340,1190,1190,1038,922,1204,1236,1180,1078,1104,1244,836,674,744,894,1056,1134,1288,1254,1292,1312,1214,1262,1252,1222,894,844,906,993,1040,1168,1344,1078,637,551,562,546,676,1192,2260,1808,1168,1334,1552,1408,1230,1174,1086,1094,1126,1144,1156,1148,1316,1340,1618,1438,775,675,769,1032,1214,1136,1056,949,828,755,730,785,840,860,897,766,669,520,427,523,623,658,725,803,825,835,1658,1088,976,1300,1260,1080,1202,1490,1394,1472,1738,1444,1270,1094,884,757,713,686,766,828,932,1112,1262,1444,1196,881,1586,1470,1302,1522,1456,1462,1086,641,638,544,491,525,463,794,968,807,996,1066,1248,1066,1120,1288,1288,1028,1034,1050,1158,1300,868,565,369,390,447,585,645,548,472,419,374,396,575,788,965,600,396,406,606,600,406,321,298,264,374,569,747,918,1152,1230,1550,1600,1508,970,530,549,622,591,495,547,614,549,397,346,504,579,747,1072,1328,989,1098,1676,1564,1060,869,1142,1532,1398,1170,844,498,317,767,1172,1013,554,477,667,494,331,314,365,371,462,468,606,565,1128,1292,901,540,390,383,482,451,307,306,259,290,587,583,388,290,363,894,971,558,966,1256,1144,869,532,454,1030,1130,981,859,1128,1532,1354,915,743,829,1306,1642,1206,781,913,1296,1654,1544,1306,1292,1062,532,460,996,1500,1152,458,359,730,850,510,401,557,667,479,824,997,662,465,448,421,436,485,581,628,569,529,507,415,381,443,455,435,357,318,450,634,657,693,685,687,601,630,616,416,296,310,278,312,298,243,233,249,403,451,695,839,714,647,931,1334,1860,1542,922,805,611,553,545,645,693,578,802,1019,865,546,561,1048,1278,904,1188,904,1244,1426,1212,1204,1146,976,693,585,589,339,467,603,636,505,966,1134,1304,1102,504,327,321,291,254,261,323,422,597,695,939,645,361,323,349,376,414,479,443,371,502,764,793,828,1142,1246,868,556,530,509,428,292,274,299,347,450,888,1058,1021,821,531,458,466,688,954,1048,1186,1248,1116,1234,1178,1092,1368,1248,1013,810,507,426,442,576,893,601,745,816,1023,1344,1470,1342,1334,1102,850,733,780,1168,1134,669,460,358,386,456,525,478,548,921,837,569,511,564,1024,1366,1320,1296,1198,1086,653,474,633,907,700,542,591,473,576,1062,798,609,364,300,297,336,396,416,396,344,365,381,344,326,418,888,952,903,1160,1536,1458,1202,1336,1258,1248,1310,1300,1202,1168,1172,1232,1310,1188,931,880,727,482,505,694,700,533,702,978,1004,993,590,335,314,296,242,269,313,240,237,364,685,821,850,933,991,918,918,658,559,557,760,918,814,708,899,847,1394,1104,947,2442,2202,1290,1350,1440,1186],[299,300,303,283,271,278,301,312,343,609,763,671,533,445,418,642,1244,1180,785,597,591,629,582,576,512,415,288,285,307,348,343,423,904,1013,767,434,260,325,343,318,548,1084,1288,1256,1416,1410,1000,455,321,305,272,318,343,522,614,572,884,1166,1162,977,1030,1094,899,781,625,608,641,719,864,846,466,473,474,404,326,374,658,849,810,558,482,500,689,744,800,1272,1716,1578,1086,787,641,1132,1392,1142,1056,953,1084,1274,1114,1408,1346,1214,1100,465,311,261,228,240,263,307,307,287,321,404,698,454,423,419,323,283,354,444,499,490,422,379,383,391,397,356,338,315,267,378,414,447,461,488,497,458,451,437,390,383,429,437,362,381,463,1002,935,664,901,767,402,346,421,489,421,559,634,849,678,728,880,1024,1032,1142,1588,1392,1802,1908,1534,921,1046,1208,1340,1078,1106,1376,1464,1302,1328,1368,1140,1074,1134,947,1166,1226,1112,1204,1244,1400,1482,1154,966,1092,1428,1284,1202,1021,1246,1202,1306,1104,1156,1152,1400,1276,1096,1286,1454,1460,1478,1570,1130,988,1262,1172,714,458,378,718,844,833,928,672,1028,1196,1194,1302,1146,1138,1334,1246,1202,1378,1260,1210,1366,1598,1670,1578,1422,1598,1452,963,1182,1588,1804,1596,1468,1332,1080,1348,1508,1372,756,551,451,398,435,525,814,1308,1836,1748,1528,1308,1036,657,565,773,1080,1016,1030,1000,1208,1062,1001,1284,1296,1204,971,836,1184,1456,1294,1288,1294,1366,1514,1742,1388,982,1230,1306,1306,1296,1190,1250,943,773,989,1118,1276,1388,1390,1202,1188,1194,1298,1240,792,699,750,792,944,1116,1136,1122,1162,1246,1218,1174,1076,1009,928,664,591,763,907,1406,1484,1300,1062,785,644,800,1156,1198,1090,941,1016,1150,859,861,1168,1434,1306,1148,1434,1320,858,1102,1512,1504,1390,1798,1250,681,613,747,905,781,561,459,461,455,483,690,1046,1170,1556,1484,1322,1090,617,413,645,926,849,561,651,1072,1110,1168,1190,727,886,1362,1474,1514,1362,1564,1636,1606,1678,1636,1554,1154,1310,986,523,434,494,473,396,435,574,572,550,476,543,541,562,636,609,996,1394,1512,1532,1404,1482,1404,1440,1534,1372,1304,1422,1478,1160,1218,1378,1500,1382,1292,1166,1026,715,849,1062,1104,613,372,609,1086,768,361,419,750,1554,1872,1886,1454,1282,1358,988,735,862,991,982,821,511,338,349,509,810,822,904,858,861,901,1098,850,442,339,432,478,350,476,698,392,408,410,391,477,658,991,1166,1112,930,879,1306,1296,929,752,630,524,524,459,502,529,661,719,836,1072,1328,1192,908,952,965,703,361,273,287,265,381,594,938,1224,1228,1098,884,901,844,1136,1358,1446,1572,1692,1664,1532,1504,1542,1476,1368,1458,1344,1250,1002,851,933,1176,1178,802,494,459,503,593,626,607,530,498,501,471,451,734,1112,1164,1068,1094,1410,1616,1222,1172,1324,1220,1016,916,916,916,875,893,821,858,948,848,781,962,991,838,807,931,1166,1214,1136,1092,930,909,899,887,998,1286,1442,1384,1304,982,857,994,1414,1982,2170,1968,1084,415,551,692,780,955,1100,1312,1298,1172,1184,1040,1003,1160,1142,1178,1320,1252,1310,1212,1188,1342,1518,1686,1554,1122,740,547,780,1412,1600,1362,1316,1500,1680,1744,1672,1422,1244,976,963,1094,1126,950,585,612,599,532,414,423,441,375,339,334,347,348,344,312,302,292,318,337,362,355,347,388,613,520,410,377,314,316,328,312,324,348,378,422,647,709,689,432,362,393,408,407,393,386,415,471,554,903,1624,1826,1776,1840,1206,919,1012,1392,1478,941,666,646,811,1042,1238,1150,882,908,939,749,742,1114,1278,1354,1456,1558,1714,1896,1556,1274,1036,915,731,1042,1344,1240,891,905,1256,1172,1170,905,1140,1370,1212,1114,1166,1236,1340,1256,1214,863,525,738,941,949,823,769,1084,1290,849,523,461,628,811,1288,1620,1406,1278,1272,1500,1748,1444,1296,1534,1516,1388,1434,1476,1440,1716,1716,1252,843,395,303,291,566,956,1324,1372,1208,890,859,1086,1194,1362,1556,1542,1478,1356,1218,1144,1368,1194,1310,1196,1048,1262,1360,1332,1436,1212,1058,1176,1594,1352,1600,1860,1458,1158,1156,990,925,1284,1378,1088,1140,1376,1462,1678,1472,1232,1202,1016,1003,1334,1230,1036,1706,1766,1382,1672,1438,1266,1170,1268,1204,1011,773,661,893,974,783,935,1658,4028,2074,1482,1352,1126,1210,1280,1312,1378,1348,1360,1246,988,831,713,631,605,741,724,545,629,714,568,718,1348,1466,1314,1256,1172,1080,1158,1152,899,841,1050,1030,740,813,988,857,943,1136,1134,801,727,1114,1376,1902,2342,2182,1708,1258,1232,1348,1244,1144,1028,1250,1426,1228,1124,779,457,418,435,436,413,667,996,847,840,774,1160,1282,1290,1366,1226,922,930,1180,1302,1328,1286,1001,1068,1296,1450,1272,919,632,506,459,386,369,378,487,631,556,449,420,655,996,1382,1300,1016,952,868,640,462,401,472,636,891,1120,620,528,881,1004,1188,1110,724,721,869,722,595,750,1308,1174,1338,1394,1334,1136,722,693,1118,1278,1268,1116,965,752,847,1040,1250,1292,1244,1244,1136,1136,1284,1392,1488,1332,943,1164,1172,1440,1436,1634,1410,1122,1060,1194,1140,1106,1200,1274,1266,1216,1230,1080,1026,1162,1162,1168,1230,1120,1023,1005,1138,1174,1148,1280,1516,1426,1322,1566,1328,1030,1200,1360,1462,1510,1368,1682,1764,1154,974,938,825,1244,1170,1396,1548,1252,988,879,988,1070,964,773,1290,1584,938,592,626,415,421,556,516,419,433,553,604,713,1252,1638,1760,1166,1288,1252,1284,1176,1468,1630,1646,1288,870,1034,949,1284,1240,766,497,386,427,493,707,1001,1232,1144,990,820,586,1080,1556,1456,1058,1170,1238,843,470,377,399,449,517,565,587,645,485,462,680,737,700,916,1096,1172,1009,824,982,1144,1096,1176,1102,1050,905,943,1124,1128,1144,1226,1118,1102,907,644,817,1026,841,467,576,863,1038,780,451,654,836,778,959,926,968,1019,1005,1096,1428,1566,1408,1352,1328,1288,1050,886,1188,1400,1112,890,793,960,702,664,871,826,864,1086,1100,1078,1182,1274,1284,1416,1062,848,640,527,802,748,577,677,840,819,772,605,517,583,823,1184,1354,699,1116,1526,1788,1654,1238,1116,1168,1144,1048,1164,1214,1112,1346,1410,1590,1494,930,631,739,854,891,771,698,698,752,818,881,888,874,814,648,587,653,570,422,583,703,747,869,973,1015,828,1202,1128,1196,1288,1270,1116,1066,1200,1284,1412,1456,1334,1250,968,809,902,890,784,796,987,1266,1144,1052,1002,644,543,832,982,968,1350,1318,1098,770,644,700,520,475,592,477,706,891,1001,924,1322,1216,901,932,1142,1001,946,1064,967,1052,1294,1238,750,374,340,465,779,894,857,761,554,427,663,797,725,800,832,562,443,387,429,445,353,392,657,642,481,819,1140,1506,1626,1612,1592,1410,820,519,489,780,914,556,477,456,612,474,604,850,830,1114,949,741,899,1174,1368,1338,1178,871,1182,1252,1172,1302,1372,1116,892,1266,1340,921,601,625,640,408,421,423,520,419,421,532,608,694,814,440,285,436,414,399,635,592,362,333,332,414,612,563,459,375,368,690,708,599,814,1066,938,720,642,985,1252,1356,1344,1026,1252,1208,779,740,799,638,568,1066,1188,1144,1082,1506,1822,1578,1548,1670,1142,667,529,647,948,568,328,418,634,674,644,626,833,791,484,537,529,433,410,444,454,429,432,443,506,678,644,437,461,422,421,456,399,303,339,356,290,442,655,783,1048,828,414,550,535,270,300,321,299,279,326,278,246,410,733,887,829,688,650,1510,2268,2120,939,813,1056,795,557,452,498,520,522,662,877,901,558,459,620,1150,999,1014,900,1082,1252,1212,1150,988,786,499,434,565,335,542,703,416,281,415,627,716,783,952,343,332,396,715,557,597,589,529,380,332,335,343,315,337,350,330,355,457,376,418,718,1098,1178,1246,1050,615,469,505,524,552,438,336,302,282,375,789,872,851,684,552,647,666,888,874,1110,1256,1410,1418,1444,1324,1418,2024,1560,937,825,714,490,537,726,822,632,940,1018,1158,1302,1274,1174,1304,1048,688,547,535,962,752,516,404,342,412,480,500,495,469,505,606,796,977,927,1224,1506,1382,1140,1138,1016,654,450,700,1016,607,637,519,456,547,1066,1050,674,361,323,378,380,393,336,293,297,300,350,369,387,479,874,1001,788,719,1200,1256,1160,1204,1254,1332,1104,1318,1036,1064,1166,1238,1280,1016,872,830,727,454,362,419,407,392,561,850,966,912,537,346,333,330,284,299,316,322,338,339,397,791,1156,1332,1074,1382,1918,1764,1284,944,856,946,921,899,910,844,1246,918,957,2016,2066,1488,1220,1348,1092],[329,316,299,270,253,290,339,345,485,676,590,423,349,358,447,1040,1444,1324,1062,753,681,731,732,564,433,449,437,378,361,445,902,890,991,957,733,384,277,327,372,329,375,667,1048,1290,1158,1152,1072,626,368,309,356,425,428,583,417,472,1040,1384,1260,1246,1168,1023,803,708,800,771,761,981,1408,1250,763,808,801,545,310,482,643,838,782,807,883,547,396,398,554,1242,1564,1154,957,1830,2158,1590,1182,1002,1074,789,1068,1312,1182,896,1104,1224,1078,557,305,283,260,248,263,296,302,280,381,412,479,412,436,423,345,302,321,361,440,512,434,390,408,388,376,395,428,414,371,399,428,428,428,435,425,404,384,368,386,427,433,442,364,323,298,1384,2040,835,473,485,357,414,484,713,736,871,807,678,578,720,813,908,1116,1212,1180,1198,1802,1268,981,994,1100,1156,1138,1009,1040,1390,1368,1284,1568,1318,988,1186,1144,736,982,999,1017,995,983,1456,1310,914,1074,1434,1294,893,1040,1098,1124,1198,1282,1236,1082,1042,1050,1016,768,663,1086,1396,1618,1520,1418,1322,1350,1302,969,661,902,966,898,1210,940,740,1124,1172,1320,1350,1164,940,1260,1460,1490,1374,1260,1414,1346,1554,1338,1432,1152,1240,1562,1526,1290,986,1188,1438,1432,1124,903,1418,1700,1686,831,643,630,432,628,1020,1288,1644,1720,1474,1512,1066,966,784,783,580,694,959,1082,1114,1234,1068,989,1150,1268,1328,1332,1170,1276,1382,1218,1300,1316,1212,1572,1672,1428,1374,1454,1372,1512,1530,1456,1326,844,624,801,1070,1190,1330,1184,988,1250,1362,1394,1246,819,703,656,730,877,1021,924,908,1160,1254,1216,1090,879,899,795,638,619,544,628,849,888,1028,920,663,661,839,846,901,983,979,892,824,969,1264,1390,1484,1518,1480,1440,886,612,1006,1788,1726,1604,1544,1064,666,633,757,867,715,477,507,659,1076,1164,1268,1288,1258,1400,1224,1272,1272,756,462,525,769,924,869,936,1028,1210,1290,1118,960,1132,1236,1346,1252,1164,1548,1586,1502,1220,1284,1386,1426,1544,1270,933,986,1090,764,693,555,569,610,581,434,504,483,502,487,399,704,1144,1456,1602,1334,1316,1510,1534,1692,1356,1228,1672,1762,1332,1088,1036,1216,1338,1298,1144,1086,694,752,722,1226,1210,682,952,1654,1414,667,791,1238,1730,1744,1546,1050,638,817,1003,1000,946,1015,1108,788,469,312,274,285,410,627,792,980,1140,1196,1330,1013,622,472,687,703,424,652,554,376,304,305,294,425,780,1102,1122,1130,922,648,987,1048,1050,653,486,469,434,412,491,568,848,1154,1188,969,869,792,830,792,783,554,346,294,283,283,378,755,1162,1324,1284,1150,763,748,631,939,1368,1664,1598,1388,1440,1498,1220,1170,1296,1252,1272,1276,1140,1246,1112,997,1021,966,738,547,536,565,662,667,661,655,597,583,568,602,927,1146,1046,1058,1264,1388,1302,1202,1578,1438,1236,1194,1134,1086,1186,1172,1072,974,938,878,806,747,885,811,738,741,688,1072,1300,1154,911,998,1134,1050,793,692,1114,1296,1182,1184,1130,869,839,1322,2046,2160,1822,920,458,539,579,807,1178,1118,1100,1198,1362,1324,1162,1100,824,672,963,1274,1158,995,1206,1236,1144,1154,1448,1720,1648,1296,1000,1496,1862,1704,1600,1776,1774,1824,1644,1572,1598,1292,982,955,791,880,831,548,449,412,430,442,463,435,396,370,378,415,406,359,328,347,326,340,353,355,364,351,366,429,367,345,380,364,325,313,338,379,387,403,433,507,612,523,365,359,395,444,452,443,443,425,430,541,1248,1788,1708,1818,1780,1066,854,1216,1478,1420,937,759,794,1124,1152,905,781,1040,1074,1114,1162,1114,1178,1158,1270,1428,1676,1802,1548,804,825,657,594,684,1058,1090,1112,982,765,991,833,1300,1118,1052,998,1050,1020,977,1202,1326,1352,1282,913,880,763,764,1132,1258,995,897,1046,1038,694,614,571,644,910,984,1050,1400,1266,1108,1372,1766,1814,1636,1500,1532,1520,1414,1880,2710,2084,1262,815,432,420,587,843,946,1238,1450,1098,830,1064,990,973,1202,1320,1376,1368,1316,1130,1348,1362,1174,1362,1344,1208,1366,1140,1072,1334,1284,1432,1526,1654,1560,1624,1456,1174,1132,1054,1046,983,1094,1250,1324,1418,1562,1348,1001,752,869,1452,1556,1078,1144,1036,816,1352,1354,1354,1390,1282,1314,2246,2356,1226,837,678,525,644,832,939,1110,1390,2850,1766,1356,1194,1002,1016,1094,1158,798,692,991,901,872,891,768,744,683,921,1004,893,1002,904,1000,983,1426,1440,1290,1306,1198,1284,1238,1174,1136,1104,1296,1168,964,1044,906,890,868,873,985,1262,1250,1364,1544,1812,2004,1986,1780,1504,1194,1266,1100,1132,1094,1122,1140,1130,863,468,437,592,822,783,598,742,942,1002,946,1016,1318,1278,1238,1328,1116,857,719,1108,1474,1506,1202,836,1072,1154,1146,741,374,516,741,632,468,450,436,401,391,405,414,448,722,1220,1304,1176,1356,1272,786,563,405,418,783,780,711,630,480,441,491,616,919,1034,713,531,954,1136,760,734,1044,1226,1316,1302,1162,987,823,868,1190,1158,1214,1238,1390,1004,841,713,1110,1246,1126,1210,1376,1254,1064,1160,1186,958,621,852,1108,1298,1302,1306,1202,1174,1220,1214,1188,1068,1021,1228,1338,1342,1122,1044,1144,1106,1160,1188,1096,1122,1108,1166,1210,1202,1278,1686,1686,1484,1482,1336,1007,899,1174,1328,1410,1432,1232,1334,1312,1172,889,960,933,1362,1230,1294,1320,1250,1384,1126,774,703,586,811,1372,1546,1448,863,422,371,431,488,486,455,451,464,513,725,943,1078,1180,934,1376,1078,700,786,991,1338,1534,1328,1614,1692,965,1294,1242,1094,695,435,354,499,1009,1434,1322,1138,1112,882,741,977,1004,1012,819,762,839,897,782,748,697,874,629,588,736,885,752,720,826,948,995,1104,1106,1238,1182,1078,1102,1052,1023,1116,1070,958,1016,1154,1188,1166,1230,1294,1054,898,850,888,1164,1114,847,624,636,767,897,809,524,492,691,722,845,1005,1028,983,908,1336,1480,1116,1120,1422,1294,1084,1102,1452,1666,1434,943,674,703,673,592,548,713,780,799,955,1086,1100,1122,1144,1228,1340,968,606,491,624,681,467,421,536,596,871,1182,769,639,810,985,741,484,949,1626,1744,1732,1706,1348,1274,1128,996,1044,1080,1096,1056,1186,1648,1934,1508,940,602,707,767,767,784,849,895,911,881,825,784,745,620,544,570,785,749,523,629,695,706,1026,1424,1062,623,1007,1520,1396,1214,1244,1108,1038,1102,1418,1388,1222,1074,1188,1136,901,1021,1342,1316,1194,1144,1230,979,631,406,328,336,254,428,600,883,1030,758,447,548,586,518,737,965,803,510,734,925,1066,1354,1072,766,602,777,1004,1142,1114,1023,836,998,1186,739,608,615,540,869,954,924,898,789,435,679,1178,951,620,847,990,809,509,587,887,914,770,1288,1494,1372,1230,1128,1288,1748,1776,1470,1206,999,738,413,631,733,361,292,339,594,1042,1676,1260,985,1242,944,593,799,1116,1144,739,1052,734,1076,1142,1260,1018,1008,1132,1312,1366,1182,957,688,823,885,632,847,900,524,360,345,700,886,1003,1358,1184,763,487,417,558,494,476,541,619,592,751,925,710,668,642,435,661,735,636,535,657,564,432,561,910,1086,1408,1434,1194,981,821,1104,908,661,505,330,656,1160,1048,589,755,1136,1118,1182,1588,805,506,484,568,864,567,328,376,544,749,846,995,930,651,398,476,407,380,393,415,454,550,539,486,482,790,980,622,590,440,385,371,393,353,402,388,311,368,473,753,1152,852,478,498,527,377,317,287,287,282,265,204,229,324,799,1144,642,514,514,1270,1638,936,791,836,886,742,555,461,338,446,561,613,791,851,563,418,401,655,880,889,912,1040,856,899,1218,999,651,538,379,328,241,542,796,533,283,245,315,410,932,1156,400,487,737,1720,1346,724,614,565,378,294,342,351,323,354,680,683,420,344,494,522,738,1154,1278,1038,650,327,361,412,502,621,678,486,338,340,393,548,765,983,1042,1212,1556,1084,901,763,996,991,1178,1270,1184,926,1344,1766,1090,955,1028,1013,726,813,1020,915,651,846,1100,1178,1364,1318,1064,1024,802,1298,983,619,706,719,551,372,398,478,512,523,590,482,469,485,650,988,1172,1252,1312,1222,1188,1350,1158,558,585,1016,1282,831,663,500,414,786,1208,790,338,287,483,700,534,447,311,346,336,291,316,330,384,468,640,764,727,770,824,938,1208,944,1090,1060,1100,1320,1086,1312,1286,1328,1368,1038,885,854,951,666,328,345,404,663,837,848,846,779,656,532,357,382,373,340,335,339,330,360,496,809,1114,1432,1356,1384,1688,1846,2192,2200,1516,943,838,819,704,785,898,653,583,677,772,1222,1414,1214,1120],[334,296,275,266,278,386,526,557,581,567,450,307,315,382,556,1350,1514,1334,1114,865,875,833,750,491,377,331,407,482,406,494,1166,1268,919,721,639,647,483,334,381,378,381,504,1024,1250,988,1050,1302,890,343,368,531,537,586,810,565,618,1015,1250,1148,1156,1001,796,710,821,790,782,893,938,969,1186,1358,1432,1124,579,339,642,1104,1009,675,1128,1066,441,342,528,1110,1290,1186,1056,1026,2142,2192,1344,1252,1048,1130,954,738,960,975,675,910,1064,980,618,394,325,305,301,346,314,302,266,359,420,443,444,434,415,380,369,370,393,524,550,386,383,415,430,462,485,483,457,441,432,409,397,399,390,380,387,365,374,410,496,510,475,381,302,194,469,734,521,367,379,402,423,450,598,683,1000,960,655,808,1064,800,763,1786,1044,599,766,687,514,613,1036,1246,1182,1270,1372,1362,1436,1312,1210,1160,1294,1368,1248,1028,1066,1094,1136,1394,1566,1280,1152,1021,1144,1452,1484,1156,1007,1122,888,994,1302,1376,1236,1074,1184,1188,1282,952,881,1180,1332,1296,1270,1268,1376,1450,1430,1013,829,1412,1494,1222,1660,1582,1274,1310,1482,1388,1284,1158,1126,1340,1556,1396,1234,1276,1392,1404,1448,1404,1404,1282,1538,1822,1984,1556,1150,1560,1460,1086,707,854,1322,1606,1760,1158,998,824,584,798,893,1334,1716,1624,1620,1334,1090,971,883,1196,949,786,1096,1182,1106,1090,993,671,706,1110,1328,1266,1226,1194,1050,765,897,1098,1182,1388,1288,1312,1702,1432,1296,1270,1188,1300,1232,893,698,803,995,1023,1246,1136,1036,1294,1236,1042,782,854,962,962,917,950,1038,852,905,1090,994,1354,1086,755,731,649,595,632,574,460,442,460,520,441,533,542,612,722,818,1064,1310,1250,1130,1248,1344,1278,1212,1364,1284,1336,1286,997,952,1426,1710,1642,1584,1418,1164,1142,988,1044,871,702,557,702,1136,1606,1606,1210,1108,1092,1122,1158,1126,804,446,617,805,930,1228,1106,725,814,908,705,708,861,942,879,961,1484,1096,983,1166,968,932,1296,1538,1340,1454,1526,1454,1538,1622,1392,858,633,632,593,458,476,507,521,480,450,836,1330,1400,1460,1408,1288,1598,1406,1304,1244,1238,1566,1584,1336,1218,1260,1306,1112,1274,1410,1246,861,905,1005,1542,1418,971,1368,1798,1856,1246,1214,1604,1620,1690,1512,744,361,371,573,854,953,1062,966,1062,890,473,364,315,341,384,534,711,678,984,1362,1318,1246,876,1008,1218,615,481,492,577,482,343,431,603,931,1144,974,934,726,611,965,1108,1056,673,448,473,472,493,551,667,1034,1172,1152,949,979,1004,1019,907,990,798,391,302,289,315,390,717,1116,1336,1304,1162,1068,1034,856,913,1406,1730,1432,1102,1288,1358,901,805,861,816,1110,1176,1218,1114,769,896,1072,1208,1030,728,590,615,698,667,704,706,642,627,621,781,1028,1034,1112,1212,1086,1198,1250,1274,1702,1384,938,1078,1178,1218,1350,1190,1108,1172,1192,1018,1158,1140,1046,797,677,662,712,811,872,939,1150,1382,1040,804,679,692,919,1102,1274,1374,1100,818,748,1122,1804,1772,1476,661,475,485,525,1138,1294,887,944,1222,1180,1142,1438,1404,1072,866,786,1084,1264,1334,1378,1236,1288,1312,1462,1650,1672,1746,1654,1734,1472,1562,1738,1872,1778,1764,1576,1370,1202,945,855,1072,1168,791,599,588,455,395,377,410,460,470,500,470,449,521,450,413,402,401,368,362,359,351,362,357,342,333,343,355,368,356,344,343,387,403,384,471,563,498,392,328,363,416,422,426,484,479,459,427,469,669,1406,1754,1722,1864,1650,925,813,1001,1208,1440,1418,1148,1010,985,948,923,809,868,844,965,1090,1182,1236,1202,1236,1326,1504,1642,916,522,549,472,504,455,579,955,1196,897,836,1214,1020,1084,1078,711,466,796,982,1018,1206,1148,1076,1190,1166,930,980,1164,1036,927,813,989,1230,1300,1570,1272,700,824,1140,1422,1146,1222,987,1142,1372,1542,1668,1772,1816,1622,1488,1614,2024,1894,1572,1208,1102,932,828,1052,1002,842,1290,1472,1082,1020,1160,1228,1202,1282,1340,1290,1244,1154,1130,1268,1232,1208,1262,1296,1326,1188,721,515,839,1068,1292,1262,1142,1116,1044,863,835,766,692,781,724,907,991,1212,1340,1528,1172,610,744,1240,1528,1552,1226,1096,1246,1178,980,1100,1000,929,1096,1144,2178,2656,1224,907,927,741,868,1036,1017,1234,1320,1024,1004,1178,1012,605,538,728,1222,750,604,669,907,1148,1060,1001,882,710,1022,1106,1352,1648,1310,1666,1426,1238,1290,1298,1176,1324,1672,1476,1338,1192,1232,1376,1288,1268,1268,1030,977,902,789,999,1166,1068,1472,1544,1418,1660,1918,1994,1760,1300,1212,1216,1324,1336,1108,1128,1224,785,525,658,700,1092,879,907,1224,1382,1346,1394,1452,1410,1240,1308,1484,1528,1432,1148,1378,1560,1290,1140,787,680,802,945,894,668,696,788,675,447,426,415,396,406,359,384,599,680,934,1360,1312,1434,1444,1312,855,451,487,961,1078,872,666,524,491,491,473,571,785,599,678,1330,1242,959,795,930,1174,1316,1278,1126,1076,1010,1316,1350,1260,1096,1176,1362,1254,1014,835,1026,1210,1232,1344,1438,1202,1108,1046,1098,1042,681,856,1166,1294,1252,1082,1088,916,918,1042,1188,1254,1154,1172,1126,1152,1204,1384,1238,1086,920,870,1005,1056,1046,1072,1226,1206,1230,1364,1482,1440,1362,1316,1080,955,1200,1286,1426,1150,969,1070,1222,1190,1074,1182,1220,1274,1064,760,950,1342,1422,897,550,692,905,911,1248,1444,1684,1448,749,330,387,532,572,391,406,380,467,679,800,919,984,1094,1376,1094,877,1168,1192,1003,1007,1002,1678,1582,930,926,721,565,599,755,800,758,1028,1298,1150,1138,1266,1256,1140,1002,736,621,591,501,778,1320,1360,1200,788,813,576,619,965,1058,1038,1052,1264,1432,1262,1210,1044,1208,1116,1064,1106,927,906,943,872,951,1130,1168,997,1050,1150,1358,1238,1238,1264,1042,932,1040,987,763,729,890,927,1009,646,555,711,760,1064,1118,1044,1224,1304,1520,1572,1310,1208,1416,1332,978,1005,1598,1612,1530,926,514,632,643,586,580,596,641,705,649,1032,1020,918,868,1046,1156,946,739,572,551,637,657,728,762,659,1124,1180,917,857,980,986,805,1042,1616,1836,1520,1470,1720,1478,1370,1202,1128,1222,1126,1078,1092,947,1206,1556,1422,1252,643,670,822,878,893,858,764,679,604,517,625,959,1202,1084,908,1058,903,680,560,496,584,964,1556,1338,626,1144,2066,1642,1274,1184,1136,1062,1166,1292,1290,1242,1160,1210,1290,1266,1110,1156,1490,1506,1086,760,484,314,251,280,311,373,357,402,498,574,644,703,621,555,495,740,1096,918,647,967,1040,973,896,789,715,612,836,1208,1023,796,899,870,833,838,686,755,1003,825,887,813,784,769,736,851,821,886,824,807,1118,1312,1224,914,1058,1572,1560,1260,1344,1546,1356,1106,1252,1160,1098,1019,1090,1152,1212,643,502,377,377,404,389,433,593,1600,2208,1368,824,587,724,744,1008,887,957,479,535,1020,1114,1264,1300,1302,1154,888,1024,1228,1422,1232,897,660,664,501,846,965,593,414,400,477,567,976,1808,1606,952,510,487,670,666,665,678,1082,1190,1018,741,460,464,562,377,400,440,449,462,543,494,397,574,877,861,894,988,980,576,700,1310,1168,756,428,296,608,953,963,1400,1678,1288,809,842,1080,583,337,340,391,380,325,331,383,730,1100,1028,1015,1023,665,785,871,577,396,409,390,475,607,609,635,640,984,1138,1194,861,542,390,388,426,398,394,347,298,291,299,380,577,539,479,517,455,529,412,282,266,285,268,250,277,283,454,745,684,747,452,687,877,714,828,883,939,700,648,480,577,814,754,591,807,908,977,963,1007,1254,1710,1496,1148,1218,1176,810,1282,1252,1038,1122,592,241,192,311,474,490,314,336,386,477,624,455,465,988,1023,1488,1164,700,615,529,551,372,274,372,382,410,1138,1186,787,703,860,956,1120,1112,1046,912,423,344,358,385,438,504,643,509,478,493,448,501,496,444,597,1306,1590,1270,930,1020,1218,1218,887,611,604,554,1000,1390,886,755,1110,1272,1060,1112,1017,907,680,428,576,965,1316,1322,1346,1344,1282,1766,1270,844,612,553,484,447,566,656,701,691,662,471,394,424,481,556,802,1080,1230,1302,1306,1310,1166,752,1292,1534,1174,1015,1110,697,388,601,688,465,267,296,503,767,689,538,408,351,306,314,314,358,376,370,406,420,456,521,528,761,831,946,1070,730,788,928,1062,1270,1230,1252,1222,1212,856,680,690,612,357,325,422,494,521,683,927,938,802,538,402,455,515,462,451,756,909,613,741,897,849,1060,1202,1448,1116,1358,1732,1738,1290,953,833,624,628,821,628,455,438,518,525,570,720,995,1174],[356,301,280,304,362,502,537,438,469,447,404,625,600,487,660,1074,1108,830,618,783,1058,783,502,472,374,471,698,887,684,672,1180,1192,880,896,972,695,731,443,528,419,315,316,522,816,1005,1076,1176,860,362,441,813,746,545,539,500,731,973,1194,1288,1138,1106,1000,954,1038,969,1034,965,781,766,1370,1586,1360,903,617,595,496,686,790,763,1108,807,347,404,880,1368,1318,1354,1188,1128,1478,1772,1732,1130,897,1080,835,448,615,667,709,788,951,1060,700,444,401,458,357,358,371,331,293,314,338,413,448,409,389,387,370,375,383,458,526,372,359,400,436,469,457,450,435,393,368,368,377,376,367,396,374,315,363,461,514,559,628,446,205,184,195,276,336,337,379,348,423,521,477,491,586,555,681,876,965,650,752,1622,763,532,687,883,836,799,1200,1290,1184,1486,1764,1408,1172,1234,1314,1190,1456,1828,1416,1242,1230,1154,1400,1322,1482,1106,996,1196,1328,1320,866,788,969,1320,1282,1272,1324,1334,1278,1294,1152,1304,1446,1322,1334,1198,987,875,957,1084,1212,1176,1324,1310,1386,1140,1478,1234,1250,1250,1262,1438,1502,1522,1398,1232,1332,1344,1426,1212,1076,1350,1516,1472,1296,1422,1388,1372,1404,1556,1694,1410,1472,1508,1114,668,459,774,1054,1216,1516,1564,1250,813,1050,1434,1348,1520,1522,1554,1422,1056,1120,1110,1158,1184,804,697,835,967,896,645,1011,791,1076,1416,1288,995,1034,1140,898,563,730,1192,1216,1274,1262,1300,1444,1466,1132,1052,1128,1162,1220,896,690,977,1158,1050,1150,1126,1154,1148,962,929,1026,1334,1318,1012,876,1256,1180,1021,775,772,1138,1398,1302,1072,724,573,582,641,571,415,457,437,475,513,538,603,716,874,913,991,1282,1250,1482,1732,1372,1422,1366,1294,1266,1572,1626,1422,1192,1416,1690,1552,1506,1430,1364,1612,1382,1466,1322,1006,732,628,577,702,587,437,498,673,935,681,767,907,858,777,619,861,1252,1268,1026,882,1072,966,886,1250,1124,824,1015,1670,1084,655,756,973,1114,1260,1392,1452,1628,1520,1460,1496,1610,1458,1098,695,666,615,459,519,586,526,406,546,1226,1416,1394,1272,1118,962,1316,1340,1416,1448,1482,1604,1480,1430,1484,1482,1476,1506,1522,1440,1404,1036,926,1362,1484,975,675,1190,1760,1978,1078,939,1340,1442,1488,991,416,295,266,311,333,469,668,574,973,861,534,402,377,359,330,379,391,527,719,1266,1562,1428,1346,1168,1134,888,610,428,509,658,749,658,638,669,768,794,692,560,639,1180,1592,1434,908,515,547,736,512,554,561,674,902,1088,887,1028,1234,1040,826,1094,996,720,733,633,620,706,763,1034,1278,1094,1114,1342,1368,1252,1292,1396,1406,1296,1060,1376,1290,880,784,833,829,1026,868,979,1134,886,998,1218,952,750,694,653,675,736,706,728,691,621,667,826,1034,1350,1332,1342,1302,1138,1340,1380,1368,1450,1244,909,1080,1242,1154,1298,1304,1200,1016,1202,1120,1216,1280,1010,736,656,636,661,621,573,623,793,948,744,837,794,666,631,652,608,661,749,736,748,642,744,849,792,487,399,407,497,1020,1296,1023,1052,1402,1348,1280,1374,1456,1342,1362,1166,1614,1614,1598,1434,1182,1400,1300,1384,1600,1450,1530,1790,1720,1742,1604,1864,1926,1722,1666,1478,1204,1184,1184,882,1112,1456,762,512,501,400,383,369,380,440,518,641,655,519,574,432,358,370,419,397,370,351,339,348,347,331,333,346,336,327,329,329,350,387,379,416,610,690,549,358,377,404,413,384,451,462,448,440,433,458,843,1482,1726,1796,1874,1490,1132,1108,960,862,1090,1344,1148,1152,980,809,919,1082,1098,927,1122,1070,930,913,1098,1136,1456,1822,1422,615,446,546,583,437,334,402,737,985,924,1070,1314,1354,1168,1086,655,364,711,873,802,1126,1138,985,934,930,972,1248,1134,921,990,1176,1352,1228,1264,1332,1130,901,865,1098,1580,1562,1114,1122,1276,1382,1512,1476,1582,1536,1780,1760,1848,1632,1298,1384,1230,1284,1526,1448,1182,1098,1040,1528,1522,1258,1106,1180,1484,1352,1170,1162,1104,1030,980,1044,1144,1186,1194,1270,1238,1422,828,561,582,690,733,696,597,583,590,478,423,429,479,683,814,733,879,1054,991,909,1180,1194,741,1056,1204,1052,1086,1072,891,1154,1420,1188,1184,993,926,1274,1186,1584,2030,1298,1048,1176,818,987,1214,1096,1164,1160,1009,935,831,971,636,711,694,858,670,653,893,1170,1324,1194,1088,1118,1092,1096,967,1522,1614,1434,1838,1666,1400,1212,1338,1206,1250,1406,1222,1114,1050,1236,1314,1050,895,1032,1112,919,756,717,933,940,918,1472,1324,1210,1484,2026,2254,1858,1472,1314,1296,1464,1404,1178,1338,1570,1021,815,574,461,565,709,1140,1442,1670,1736,1650,1558,1528,1560,1498,1426,1492,1294,848,1352,1708,1220,1088,1056,921,1024,1174,1036,884,926,868,572,308,374,431,397,380,367,609,953,903,1200,1778,1698,1376,1262,1666,1534,914,640,828,1028,1176,1168,846,652,588,567,811,781,756,937,1120,1240,960,571,742,1276,1622,1532,1528,1206,1028,1376,1394,1186,875,1034,1152,1078,1040,1074,1092,1200,1174,1162,1186,1090,1158,1234,1254,1108,862,1005,1320,1538,1354,1182,962,863,896,1021,1052,1142,1172,1126,1058,1106,1392,1246,980,1060,872,823,995,1064,1278,1224,1228,1310,1672,1862,1484,1214,1260,1450,1498,1142,1086,1270,1134,813,983,1246,1338,1350,1348,1316,1352,1516,1120,667,738,895,752,529,540,907,1246,924,1028,1442,1682,1614,1114,390,562,979,636,427,410,391,799,1010,902,1148,1526,1646,1558,1072,962,962,846,828,602,868,1400,1136,957,907,600,466,579,899,1104,710,804,854,985,1007,995,1180,1104,880,994,805,528,433,635,1250,1238,813,526,630,534,595,842,1040,1138,1042,1116,1318,1092,1042,1100,1208,1252,1328,1248,998,1040,982,901,1090,1052,1036,1102,1188,1072,1136,1168,1032,1112,1040,849,909,867,884,1046,1150,939,852,532,688,732,750,984,880,859,1176,1202,1001,1290,1526,1284,994,913,597,515,579,743,890,661,512,569,745,1009,852,563,645,812,745,855,916,871,919,1030,1038,1032,1030,955,717,747,980,963,1046,968,1244,1128,1038,1068,1088,1032,1086,1152,1380,1764,1384,1272,1728,1620,1288,1248,1086,993,1060,1084,1060,960,918,868,1088,1074,636,687,771,707,636,550,522,533,516,453,550,946,1238,1010,895,861,836,711,539,458,533,882,1432,1516,863,1036,1340,1222,1148,1108,1270,1218,1208,1244,1164,1170,1476,1570,1270,1228,1064,1011,1310,1336,662,360,409,415,354,294,414,579,477,349,443,474,699,663,538,404,337,420,658,776,929,1072,1032,907,1426,1516,957,851,916,1096,1114,790,857,1122,833,716,962,996,692,1218,1124,917,626,509,806,1364,1362,1154,899,968,1198,1234,1654,1692,1694,1532,1252,1064,1144,949,666,864,1362,1372,1204,1150,1114,1138,1198,1036,922,495,413,865,1001,749,670,1532,2460,1592,877,432,530,829,1118,1100,971,522,814,1120,1220,1356,1172,1582,1412,951,647,632,891,1152,1238,1114,772,516,600,705,598,634,519,506,398,853,1168,729,587,412,351,379,576,658,932,1510,1432,1116,758,653,458,413,337,318,424,433,417,523,485,395,767,1094,829,1014,1272,939,675,753,894,832,840,1066,924,502,479,805,2104,2144,1150,818,844,877,666,395,372,362,328,337,362,516,948,1322,894,744,874,822,1074,977,603,463,419,425,572,638,585,626,630,986,1144,1278,976,724,630,537,402,393,410,368,290,250,309,355,440,493,457,486,416,415,426,332,265,293,280,254,295,345,427,698,946,1038,673,899,1008,1020,1032,1094,992,724,914,757,1058,959,792,639,1013,1112,1404,1754,1482,1656,2270,1338,943,1166,1470,1250,1224,1242,1098,766,407,318,264,238,389,558,397,403,411,498,429,625,1106,1252,1050,986,1050,1036,922,708,553,461,347,323,388,435,1042,1154,960,1144,968,725,859,915,561,461,347,312,315,349,426,577,531,413,463,496,368,251,269,320,375,626,966,1218,1040,876,1276,1482,1040,646,440,593,1294,1646,1164,897,993,1090,1040,1018,930,1058,1132,536,501,751,1007,1128,1630,1798,1432,1386,1488,1666,1272,452,492,555,697,722,755,709,735,571,455,411,444,421,469,645,844,1080,1126,1230,1482,1606,1862,1618,1118,965,1110,814,568,568,431,370,288,325,447,529,492,509,462,413,402,332,352,428,380,360,379,397,391,439,467,575,590,714,786,624,642,932,938,1046,1366,1410,1222,1054,1036,839,712,687,539,510,639,645,436,521,936,1018,808,612,698,826,897,939,841,1138,1214,1050,1032,805,580,659,1294,1330,1234,1660,2198,1912,1264,1072,938,620,700,924,524,375,404,673,578,334,370,850,1108],[327,278,326,411,484,578,405,350,383,422,430,581,546,508,769,1154,1018,813,912,1074,1002,855,716,678,684,895,1120,1424,1088,698,917,1038,950,1260,1426,1054,1078,653,708,617,334,267,293,522,706,520,702,886,631,505,688,829,583,438,620,648,658,1082,1236,980,1180,1166,1268,1244,1146,1086,870,652,781,950,879,823,843,662,894,805,539,561,957,1262,818,439,452,813,1004,1146,1080,698,728,1064,1534,1444,1024,946,731,460,324,435,537,568,618,872,976,573,480,938,803,451,669,676,353,289,322,338,384,480,419,343,387,337,343,390,433,511,418,356,372,394,422,392,397,379,393,397,387,374,380,372,420,437,372,440,572,492,446,487,373,188,205,211,255,354,417,356,303,481,593,496,542,487,408,591,827,736,472,384,351,532,776,703,764,786,612,613,872,1156,1642,1472,1264,1288,1356,1196,1156,1374,1382,1410,1646,1220,1154,1218,1386,1072,1116,1204,1102,1126,996,866,771,1202,1892,1516,1348,1394,1294,1256,1390,1256,1142,1048,1162,987,671,570,735,1126,1134,1344,1630,1448,1426,1580,1098,1124,1240,1628,1942,1778,1644,1486,1572,1526,1588,1614,1450,1400,1492,1584,1478,1360,1274,1136,1138,1272,1352,1388,1732,1612,1394,1388,1322,796,411,363,522,764,944,1312,1828,1528,1160,1580,1768,1648,1600,1458,1482,1284,1258,1122,865,1050,1134,761,415,491,700,767,500,668,688,1500,1824,1190,976,1086,1206,1226,1174,1268,1338,1050,1174,1076,803,1078,1310,1044,886,746,891,1152,985,813,976,1156,1144,1260,1332,1002,950,1260,1302,1396,1774,1428,1278,1240,1184,1160,1138,1004,951,1152,1122,865,803,858,659,563,592,529,443,430,462,496,546,637,762,896,1196,1226,1078,1150,979,1346,1814,1278,1244,1526,1644,1490,1432,1488,1420,1478,1764,1338,1314,1252,1228,1246,1252,1202,1198,1224,1342,1252,895,769,588,520,414,409,619,924,681,741,935,800,752,904,1196,1350,1424,1388,1154,1214,1240,1194,990,1188,1076,1396,1506,1034,896,987,1048,772,685,1188,1488,1356,1354,1474,1622,1530,1538,1444,1116,744,555,447,509,629,608,437,838,1532,1726,1512,1366,1410,1274,1108,1478,1764,1440,1512,1490,1354,1498,1448,1190,1284,1580,1540,1410,1224,1036,1066,1516,1478,854,807,1214,1600,1824,1372,1282,1378,1274,1040,553,276,310,336,301,357,601,505,884,1242,919,490,386,547,527,333,289,283,453,838,1102,1318,1382,1522,1332,1112,1130,878,532,526,893,1034,967,616,415,515,675,644,547,714,1348,1698,1426,833,727,779,837,521,479,666,1000,1010,1064,1056,974,1013,1066,1108,1348,1120,1058,1188,1006,1018,1172,960,1080,1288,1020,936,1188,1440,1394,1528,1470,1310,1386,1080,1326,1384,976,774,852,822,660,600,689,777,971,1030,1112,788,619,637,681,754,796,764,740,683,645,762,1060,1272,1534,1440,1550,1224,1118,1424,1526,1478,1566,1296,887,1230,1290,1354,1318,1256,1200,845,912,968,914,946,855,726,700,710,695,639,564,533,451,615,868,1076,1015,747,567,594,622,705,791,722,713,502,417,397,412,441,420,397,524,985,1278,1056,1160,1538,1474,1296,1342,1384,1460,1322,995,1354,1386,1296,1320,1332,1344,1284,1458,1614,1262,1306,1654,1778,1716,1670,1842,1870,1730,1428,1306,1450,1198,1248,1548,1366,914,585,476,390,390,410,376,358,416,479,615,627,548,532,385,322,343,378,379,361,346,335,350,360,335,338,341,355,352,341,326,341,375,359,462,697,703,488,377,376,386,390,380,449,437,394,399,459,593,1114,1692,1794,1772,1744,1116,1036,1050,1104,883,819,890,1064,1156,977,1007,1144,1326,1344,1252,1260,1130,725,913,1144,1192,1548,1862,1344,619,719,1118,728,407,346,374,942,1176,1144,1102,1206,1332,1080,822,468,526,951,1084,1172,1324,1394,1044,797,923,1340,1342,990,1126,1362,1156,1102,923,1072,942,930,892,743,958,1744,1708,1284,1412,1306,1432,1262,1444,1642,1376,1304,1570,1550,1576,1706,1600,1456,1328,1388,1142,1042,1382,1526,1360,1152,1318,1130,1222,1516,1248,981,1016,994,1058,1104,1374,1588,1378,1252,1280,1188,879,559,586,615,599,608,631,616,601,594,543,531,596,720,866,879,764,886,1122,1062,1030,1074,1038,745,1046,1015,1248,1226,1130,1066,1310,1480,1276,1192,1286,1262,1350,1148,1126,1416,1694,1404,1278,835,802,1170,1118,973,643,925,1023,954,1122,1005,1168,1088,822,584,659,1196,1432,1136,1168,1516,1482,1178,983,1150,1454,1110,972,1038,1304,1360,1396,1562,1300,1138,1182,1100,996,935,988,1186,951,769,891,844,795,749,764,706,728,776,1050,876,911,1016,1216,1350,1482,1624,1574,1454,1612,1622,1514,1626,1318,1164,1166,973,800,683,779,921,1226,1420,1370,1346,1286,1368,1466,1290,1122,1254,1220,981,1506,1914,1360,1194,1532,1348,1130,1282,1156,850,734,531,387,362,438,474,404,379,369,469,558,818,1176,1470,1322,1208,1508,1634,1444,1334,1274,926,1028,1498,1408,1244,780,655,717,1046,1352,1496,1266,1126,1056,693,642,953,1242,1264,1394,1382,1068,1078,1288,1290,1088,1132,1224,1294,1334,1286,1098,1100,1056,1112,1184,1340,1180,1090,1102,1124,1108,883,839,1020,1362,1346,1272,1170,1176,1208,1208,1128,1176,1174,1074,1112,1214,1250,1108,1152,1098,993,958,933,985,1178,1158,1224,1336,1378,1404,1206,1080,1034,1112,1270,1426,1408,1274,1056,658,736,1250,1332,1210,1150,944,912,1470,1296,1078,1110,1136,757,540,525,601,662,697,942,1012,1194,1500,1522,815,624,874,572,572,765,1038,1418,1376,1142,1296,1392,1406,1538,1216,1017,854,817,651,438,838,1268,1138,1116,1058,591,518,758,1102,974,854,1196,973,877,771,615,945,867,761,1038,788,603,559,927,1188,645,356,372,430,609,780,646,595,808,920,984,1190,1132,1082,1122,1254,1252,1152,1134,1160,1096,946,935,962,982,1052,1258,1458,1220,1258,1658,1552,1328,1220,1096,1426,1180,1146,1244,1404,904,648,570,493,505,489,462,613,984,1288,1030,735,1298,1382,1178,838,535,579,718,673,855,910,709,562,891,1166,1382,1146,738,688,833,805,857,995,1026,1094,1140,1288,1136,1012,993,938,924,987,1004,1136,1110,1038,1050,1176,1152,1124,1104,1194,1278,1494,1882,1656,1504,1682,1684,1390,1190,1146,1168,1126,1132,1164,1274,1068,922,900,940,974,929,702,561,577,549,549,533,488,467,514,760,867,702,725,844,749,595,627,504,461,675,963,1382,1088,1164,1034,937,1076,1228,1434,1354,1068,1102,1126,1126,1496,1372,1134,1172,1312,1476,1600,1100,469,294,408,697,691,459,440,442,496,409,477,524,691,571,430,321,308,398,650,897,1110,959,1036,669,899,1346,1212,1005,1120,1316,1208,822,758,764,443,747,1056,1015,669,1130,1078,882,702,631,939,1256,1062,1016,1050,1332,922,1294,2056,2200,1448,1314,1086,990,901,571,483,655,1096,1354,1506,1242,935,1222,1150,927,627,498,540,811,883,620,639,1058,1600,1006,588,431,377,586,1066,1184,907,743,952,802,1162,1506,1540,1920,1456,705,620,771,723,555,747,1124,1318,1044,828,656,352,309,503,825,661,588,599,552,463,396,317,235,273,332,586,1204,1284,997,917,739,698,711,609,468,350,369,366,428,407,382,756,1009,805,1102,821,600,583,886,1214,836,765,1682,1488,930,685,662,1320,1146,642,684,813,1284,1256,744,589,364,334,344,489,903,1104,1015,586,882,923,968,1096,761,530,479,425,525,821,1078,698,624,591,669,601,550,456,426,505,486,402,346,428,435,355,314,289,309,354,385,401,445,422,384,435,387,340,295,259,219,302,450,394,391,698,898,915,922,954,1190,926,807,709,896,865,869,839,730,582,458,471,533,904,1568,1482,1476,1316,852,658,827,1174,1170,1102,1248,1316,904,452,441,300,237,228,295,443,406,443,464,345,755,968,804,785,824,1204,996,1030,952,532,594,548,398,366,454,800,1046,1052,937,550,433,630,759,396,315,391,382,344,319,369,464,458,508,775,1030,655,672,554,513,396,613,976,1190,1116,1044,1390,1252,1130,1200,894,903,1072,1458,1110,984,1062,1184,1214,1174,1020,1100,1126,726,470,911,1214,1384,1500,1330,1192,971,1122,1948,1640,514,561,613,754,627,681,620,512,600,564,466,467,388,442,523,505,622,880,916,1102,1286,1354,1512,1266,952,1040,928,930,845,553,525,509,521,458,557,532,538,494,433,497,477,437,428,402,417,370,386,395,581,825,749,626,680,691,670,713,758,730,1136,1346,1120,1090,1009,1184,1220,906,524,481,612,681,615,399,684,1088,1208,1260,1278,1202,1216,1324,1194,1062,1084,764,562,744,843,742,750,1180,1076,800,959,1362,1386,1228,1154,991,855,724,545,390,308,573,1094,1126,887,661,869,1050],[261,284,358,508,584,558,442,468,398,399,468,472,473,513,824,1294,1168,936,1060,1198,1100,1076,1160,1024,1062,1260,1240,1270,930,845,535,625,918,1422,1336,1212,1166,871,835,761,447,362,326,340,433,576,844,1078,902,606,575,941,1064,1004,895,755,668,670,657,586,654,808,966,1040,979,973,897,961,912,711,539,583,633,418,917,1194,1046,1332,1508,1314,801,561,566,570,880,1284,1152,675,890,776,968,800,1021,992,681,518,319,330,402,447,361,549,648,583,608,672,524,347,681,761,516,579,490,363,318,455,404,313,375,422,460,482,453,471,446,392,397,396,402,376,347,303,368,383,378,374,361,380,515,574,437,409,405,357,379,379,314,200,227,239,273,352,465,546,450,408,349,363,487,428,370,547,813,709,481,383,458,648,681,542,609,624,540,435,390,730,870,955,1070,1260,1346,1168,1106,1046,1030,922,1124,1028,1100,1088,1384,1266,1368,1212,759,772,781,736,586,756,1264,1344,1220,1220,1102,1078,1264,1300,1018,936,1088,1170,1372,936,901,1126,1266,1428,1152,1142,913,807,837,928,1154,1522,1554,1570,1656,1542,1448,1428,1432,1456,1448,1508,1544,1572,1390,1338,1162,957,880,1080,1204,2004,2662,1620,1272,1350,1166,589,381,388,451,768,983,1120,1630,1846,1726,1868,1854,1716,1426,1388,1290,1404,1522,1284,774,836,947,942,631,716,1140,1166,709,725,930,1188,1488,1334,1228,1236,1262,1260,1314,1226,839,587,995,1114,866,858,938,1024,1116,1174,1170,1058,933,1014,1228,1124,1124,1316,1298,1108,1066,1242,1396,1120,1274,1190,1378,1262,1162,1274,1368,1472,1300,1216,1060,673,621,717,544,529,615,545,450,410,469,556,662,808,979,1100,1062,1194,1188,1238,1272,1506,1296,1124,1354,1480,1424,1538,1760,1672,1642,1544,1682,1426,1534,1520,1122,908,1084,1120,1070,1184,1500,1634,1272,1112,797,729,541,455,631,873,863,999,1084,926,913,1148,1266,1224,1142,1136,1252,1194,1174,1216,1214,1078,951,1440,1372,1012,1015,1108,860,536,660,1030,1476,1238,1324,1310,1260,1478,1538,1580,1666,1500,1246,841,755,678,616,588,1168,1592,1700,1428,1502,1738,1626,1342,1206,871,987,1522,1412,1444,1498,1490,1554,1568,1434,1422,1298,1108,1036,897,1302,1490,988,1094,1500,1716,1924,1766,1660,1476,853,529,321,296,310,327,317,481,965,795,714,1144,1158,554,585,722,777,485,568,542,972,1234,743,636,761,904,965,1156,1412,799,564,767,1098,801,589,606,543,539,601,644,583,612,863,961,937,520,555,697,590,474,442,474,503,499,695,1015,1112,1144,1410,1302,1148,965,820,986,1054,1092,1100,1092,1302,1288,1024,973,1108,1296,1070,1164,1498,1364,1270,1072,1354,1572,1402,1574,1654,1256,688,697,715,735,837,1044,1110,875,742,698,702,776,848,818,792,751,713,844,1074,1410,1578,1438,1310,1028,1244,1584,1482,1518,1648,1266,1016,1226,1134,1424,1230,871,758,738,930,1156,1122,1108,817,863,1112,1092,938,995,845,572,517,717,750,670,754,767,656,694,744,700,716,688,681,502,403,381,371,393,393,382,524,1102,1284,1172,1474,1788,1648,1984,1750,1398,1542,1196,824,1007,944,1232,1552,1628,1582,1552,1548,1468,1300,1368,1360,1370,1672,1842,1842,1814,1632,1368,1476,1482,852,1052,1634,1270,808,593,462,434,479,475,468,451,551,536,551,495,481,397,343,355,334,333,345,366,384,368,345,346,330,345,356,363,366,362,355,358,362,374,459,633,641,456,437,407,379,397,405,439,431,386,413,456,697,1416,1746,1786,1880,1718,1334,1550,1430,1200,1050,800,844,1122,1152,1058,872,824,1188,1288,1338,1302,1080,703,745,965,1202,1614,1764,1146,684,659,945,563,446,605,684,1202,1170,1158,1180,1126,1078,805,706,683,688,894,1088,1152,1216,1178,1090,975,1052,1208,1102,1116,1330,1294,1260,1352,917,821,1006,1126,972,968,1366,1960,1668,1272,1328,1312,1184,1184,1466,1520,1168,1224,1414,1272,956,955,1548,1788,1578,1420,1232,1274,1584,1486,1366,1300,1214,1072,1078,1244,1190,1009,995,1072,1166,994,1438,1516,1146,915,940,812,561,536,590,597,594,568,561,571,625,605,562,621,663,692,675,608,602,765,933,1224,1672,1334,992,1058,1084,953,1056,1080,972,963,1152,1218,1196,1034,1216,1084,1188,1210,1520,1996,1740,1266,1338,1256,1064,1176,1370,1586,916,1370,1274,834,1064,1218,1296,1222,826,597,778,1118,1220,1124,1332,1584,1352,1082,990,1264,1220,1009,986,994,1058,1060,1034,1023,1050,1040,1178,1040,993,925,1010,1180,937,765,919,1044,890,637,662,670,819,736,528,534,634,688,834,1058,1268,1480,1586,1602,1692,1598,1426,1364,1502,1486,1264,1320,1210,1048,1132,950,1070,1128,1424,1452,1356,1418,1220,1072,928,1050,1272,1052,1114,1372,1102,1266,1328,857,901,1054,765,524,604,514,317,371,412,393,328,339,362,387,508,905,1046,986,1021,1300,1344,1070,879,891,1280,1458,1444,1506,1556,1218,738,757,1310,1700,1816,1738,1344,1262,1020,673,803,1068,1214,1420,1556,1368,1144,1108,1222,1062,933,1284,2054,2362,1582,1310,1334,1212,1078,1264,1406,1302,1214,1290,1228,1186,1050,1020,1078,1026,1176,1328,1406,1372,1378,1452,1278,1134,1230,1132,1068,1200,1120,865,1068,1038,1021,1120,1314,1228,1052,1204,1178,1110,1098,744,944,1060,916,808,964,1196,1500,1344,1164,1178,1096,1252,1386,1022,1068,1186,759,781,1246,1506,1450,1436,1294,857,548,454,610,1012,1152,1274,1196,1330,1466,1638,1368,988,916,969,993,998,1470,1730,1108,902,1106,1316,1536,1376,1316,1142,1090,821,420,373,483,601,702,944,1028,537,773,1192,1282,1168,1054,1017,1078,1130,992,833,1086,1008,1194,1144,1036,913,711,921,1056,755,542,448,645,1260,1736,1240,928,689,676,926,1274,1284,1066,948,874,874,1068,1182,1168,1082,1234,1268,938,685,786,1078,1448,1468,1512,1802,1670,1202,1060,772,1328,1426,1180,994,855,877,1016,855,458,483,532,404,563,1116,1412,963,1005,1268,1120,1248,1180,794,889,901,721,929,937,901,533,636,829,739,511,472,524,636,728,910,1042,1104,1248,1384,1508,1032,920,1048,1072,935,1126,1394,1158,1108,1076,943,1146,1064,1068,1166,1278,1376,1164,1216,1422,1404,1470,1698,1604,1454,1374,1078,1092,1080,1086,1264,1256,929,798,1056,1142,999,691,605,771,817,601,520,576,623,559,594,618,818,1023,941,767,487,597,557,458,769,1408,1562,1172,1156,1164,968,974,1312,1462,1226,913,1138,1152,1178,1220,1174,850,918,1394,1584,1256,772,547,386,426,725,891,683,498,489,494,450,761,922,706,521,462,293,282,365,620,1096,1146,851,699,419,405,745,872,913,1150,1412,1188,686,1026,933,634,622,866,1128,916,733,739,675,611,602,802,1009,1044,1028,1182,1436,943,1210,1460,1094,586,855,1238,1302,788,667,535,728,1138,1404,1354,1050,1242,1428,1015,581,395,537,803,922,692,854,828,981,1462,1090,644,422,365,394,597,785,772,966,838,582,1048,1928,1990,1572,1260,855,780,894,776,468,536,844,1200,1314,1360,1038,508,404,640,778,883,892,861,897,631,351,295,271,296,303,398,733,1040,1158,1252,1064,1050,1026,937,649,459,393,357,398,401,317,435,778,1144,945,508,852,1088,756,648,555,1158,1920,1306,1344,857,709,896,797,689,596,724,1310,1468,1070,1032,658,366,282,539,1388,1302,701,546,771,738,694,631,738,788,484,406,532,644,823,678,672,666,662,556,460,387,353,367,466,440,376,424,464,396,330,267,287,366,396,382,419,392,407,472,457,465,375,322,281,316,373,371,380,440,627,1092,1174,890,948,848,721,559,709,576,615,455,330,454,395,335,554,686,1208,1180,956,964,924,592,487,659,863,1056,1232,1372,954,645,926,637,321,246,285,385,350,386,462,366,484,993,1266,771,884,1208,1180,891,805,842,1082,971,615,451,619,1001,1246,675,395,310,445,1000,681,369,372,437,484,404,478,724,800,659,767,1260,1264,1018,996,667,603,667,916,1130,1096,853,1204,1248,1060,1252,1334,1456,1224,750,906,996,907,1021,1210,840,794,859,869,1086,1116,890,1040,1400,1600,1290,1122,1310,1302,1534,1766,991,599,544,473,539,517,619,706,684,615,498,442,458,426,436,466,508,612,529,561,688,711,688,788,762,532,490,555,973,871,485,616,682,631,702,682,561,591,578,476,537,528,432,392,421,393,365,380,398,548,823,796,656,689,653,713,684,637,675,587,639,681,794,1066,1232,1128,869,439,433,481,509,614,813,1158,1260,1288,1300,1376,1366,1366,1302,845,568,685,589,371,464,815,911,985,1096,963,694,549,602,919,1016,946,672,847,880,467,344,295,418,777,1266,1154,773,502,623],[267,278,338,495,606,493,469,468,422,483,623,546,522,530,560,871,1054,908,1120,1304,1142,1232,1274,935,736,1072,1140,745,692,777,431,529,928,1136,1050,1024,954,683,538,561,534,463,363,300,400,638,944,1144,893,632,758,1160,1218,1116,1026,1122,1052,584,366,318,290,434,803,1220,1330,987,752,877,1148,1144,614,515,580,475,559,940,1136,1288,1448,1078,547,432,475,739,1188,1376,924,919,963,905,1056,1142,1370,1044,633,396,298,353,375,365,331,464,512,632,560,659,664,553,770,777,803,913,572,401,435,498,396,314,379,437,547,618,479,443,477,405,379,355,352,356,330,303,320,321,338,363,361,396,514,550,432,329,309,360,379,359,334,273,235,240,267,346,500,565,473,413,433,383,488,537,633,880,866,590,401,397,470,521,471,449,644,664,454,351,368,455,470,713,1021,1186,981,825,705,1001,1174,870,800,1116,1100,1210,1116,1014,1478,1162,841,1160,1134,1004,546,410,511,670,559,606,702,645,950,1252,1084,1021,1158,1426,1522,1010,646,745,1212,1520,1366,1174,689,405,509,662,1102,1394,1122,1176,1100,1180,1144,1126,1252,1420,1340,1246,1448,1482,1446,1648,1576,1384,1086,902,1088,2052,1856,1122,1118,1612,1368,700,595,455,610,1264,1358,1144,1248,1432,1702,1876,1810,1560,1466,1404,1360,1330,1376,1644,1160,1202,937,1116,887,918,1180,1046,953,1182,1126,973,1260,1464,1158,1068,1174,1040,1070,1142,1038,1000,1044,1106,1164,1314,1146,1016,1040,1294,1302,1256,1162,886,803,908,1052,1216,1190,1124,1160,1120,1250,883,1188,1248,1418,1396,1268,1238,1422,1396,1354,1396,1154,752,572,554,543,655,665,536,454,445,509,635,776,985,1194,1322,1296,1294,1206,1156,1312,1420,1192,1007,1182,1238,893,1256,1382,1068,1136,1258,1406,1394,1592,1516,1112,1070,1346,1392,1460,1572,1674,1566,1212,1044,694,513,454,536,719,976,1274,1496,1386,1236,1308,1234,1326,1236,1100,1382,1580,1166,1050,1146,1476,1396,1128,1176,860,913,1174,1074,755,501,535,902,1412,1294,1308,1110,929,1192,1338,1632,1854,1660,1072,1204,1264,1138,653,831,1454,1804,1704,1290,1594,1522,1188,760,517,484,833,1482,1394,1400,1450,1450,1332,1094,1360,1594,1394,1318,1094,983,1152,1182,977,1302,1748,1886,1876,1772,1516,1332,644,427,262,268,293,304,321,519,873,990,1058,1314,1272,957,924,877,847,654,789,604,1170,1216,552,470,578,669,586,642,742,596,596,767,1054,767,521,484,549,565,475,615,719,593,499,560,591,459,375,457,471,451,445,475,504,473,524,866,1166,1286,1346,1218,1100,781,690,962,1148,1110,1012,1200,1240,1106,921,821,1156,1238,923,1046,1528,1478,1284,1288,1472,1670,1728,1910,1998,1508,749,626,568,681,861,1156,1184,1178,1256,1116,1050,1092,1008,943,868,849,779,912,1078,1404,1542,1734,1700,1282,1422,1592,1524,1814,1748,1158,1164,1212,1372,1472,1040,747,767,787,1018,1140,1028,1108,960,814,828,1134,1162,975,725,643,666,713,512,330,395,542,637,688,549,545,592,567,617,563,419,403,401,360,360,395,474,716,969,1268,1684,1732,1576,1458,1352,1258,1122,644,658,902,1064,1526,1456,1676,1444,1282,1444,1422,1318,1230,1350,1422,1502,1608,1832,1804,1580,1476,1606,1230,707,812,966,832,798,651,581,570,503,482,506,543,595,455,378,412,382,301,313,322,318,338,335,370,490,371,326,357,349,332,335,345,368,393,382,364,353,420,479,457,478,415,361,369,418,440,405,401,436,424,475,546,802,1450,1772,1892,2012,1548,1436,1876,1594,961,673,650,956,1124,1142,1252,875,910,1380,1458,1502,1332,1218,888,541,585,835,1280,1758,1202,1218,1182,822,637,786,1108,1034,825,841,1088,1126,892,633,944,799,1140,1118,1126,1098,1060,1296,1332,1212,1094,1128,1124,1230,1422,1454,1444,1524,1274,1130,1078,1004,888,998,1252,1286,1066,1214,1330,1360,1388,1176,1170,1252,1122,1042,1308,1510,1260,677,550,1003,1554,1738,1752,1360,1538,1634,1332,1338,1230,1016,1266,1510,1222,1274,1276,1222,1046,1142,1248,1224,1168,1250,1200,816,606,567,577,538,568,639,666,700,667,649,680,680,707,689,656,664,705,694,883,967,1390,1340,1214,1074,984,921,989,1190,1312,1218,984,997,960,933,1004,1110,761,914,1440,1542,1026,823,1074,1516,1362,1162,1156,1428,1634,1234,1148,1246,830,885,1214,1150,880,734,639,794,925,1106,1230,1028,1132,926,995,1200,1184,1202,1044,1078,1180,1182,1092,957,1052,1122,1244,1318,1178,917,894,1036,1144,901,622,777,1112,988,829,680,681,752,623,584,581,518,558,846,1194,1322,1822,1642,1730,1636,1466,1492,1656,1736,1588,1434,1242,1042,1334,1272,1114,1328,1450,1776,1548,1106,660,581,800,932,1230,1322,826,609,749,714,985,579,380,555,595,623,802,1114,815,471,591,633,481,565,361,361,500,622,792,910,944,1078,1060,856,639,777,1350,1556,1522,1594,1562,1302,1012,936,1152,1470,1426,1536,1516,1414,1514,1362,752,907,1280,1536,1592,1472,1280,1242,1182,1074,730,599,1026,2984,2818,1454,1174,1232,1226,1136,1320,1334,1108,1316,1356,1290,1186,969,1158,1344,1238,1238,1476,1890,1774,1418,1312,1312,1352,1358,1370,1452,1216,937,648,691,804,947,1090,1072,993,1198,1188,1094,1122,955,709,991,1156,1216,1402,1416,1292,1320,1282,1200,1228,1726,1612,1002,617,956,1208,877,1078,1246,1474,1590,1302,1246,1088,618,727,1048,1015,819,1090,1268,933,696,1058,1420,1288,924,1058,916,894,1832,1892,938,1052,1416,1396,1450,1186,1088,1126,910,600,390,467,514,502,513,642,768,569,978,1282,995,1224,1362,1260,1238,987,1078,1168,1104,1072,1140,913,1160,1084,649,611,623,589,741,599,639,1282,1914,1492,1310,783,574,841,1234,1120,803,746,615,555,894,1062,1144,1009,831,766,550,385,467,710,1024,1288,1350,1574,1542,1038,736,514,776,748,909,798,591,490,675,739,480,537,601,632,719,868,1232,965,1252,1296,1340,1352,1070,738,596,607,722,659,516,437,375,499,727,673,488,516,549,536,595,805,874,875,1009,1016,1162,1112,1214,1230,1206,1028,1128,1212,1086,1204,1198,896,1122,1268,1258,1164,1072,901,900,1092,1208,1192,1312,1720,1708,1328,1042,1007,950,925,1021,1110,1126,940,940,913,879,821,630,593,899,1012,698,567,536,606,603,531,524,711,805,689,634,536,636,601,501,615,983,1330,1262,1164,1292,1132,926,1212,1270,1250,1194,1162,1250,1236,1262,1336,1102,1118,1366,1182,832,641,675,654,492,589,757,491,575,1128,1148,894,1104,1174,826,394,372,355,303,311,404,623,1007,849,496,336,516,706,600,774,1166,1218,861,491,708,950,1018,739,786,962,1022,1042,774,632,671,1062,1310,1170,816,785,1068,915,1062,1396,1102,547,641,1224,1178,1268,1230,1072,1046,1112,1266,1272,1056,1172,1428,1084,597,352,351,512,639,752,1166,1604,1240,844,1038,1278,947,581,426,412,503,538,811,1016,825,696,962,1628,1400,959,933,1030,1160,1152,904,572,646,1064,1088,966,1214,1396,1232,918,1080,1144,926,902,979,1106,755,473,368,359,342,341,433,909,926,866,1044,1160,921,699,700,735,1124,901,633,437,383,297,379,940,1176,696,580,954,1324,1006,846,518,1078,1108,577,831,1028,938,713,890,1170,1156,947,1396,1406,991,1004,661,407,362,379,716,667,625,752,667,449,374,493,1252,1262,626,416,452,408,383,532,565,501,833,1026,672,559,436,490,483,440,373,436,458,433,378,338,350,404,410,429,424,368,390,434,435,477,540,437,284,291,332,377,559,953,926,948,1020,1328,1038,900,793,619,632,524,412,374,320,302,301,491,1184,1126,1009,938,719,1030,871,482,422,541,844,1004,875,1198,1112,753,1182,1036,490,291,286,317,305,487,927,732,373,940,1178,943,1542,1762,1148,760,795,1005,1216,932,675,1094,1048,642,648,563,469,401,684,1015,681,359,410,477,454,435,486,573,754,928,1234,1324,1216,1226,918,788,889,861,1012,1136,1176,943,1336,1270,1242,1376,1556,1770,1396,1186,955,805,996,1318,868,516,902,1082,838,1018,940,876,789,767,841,536,622,1100,1290,1568,1432,775,602,467,387,369,378,493,656,639,506,378,348,403,436,419,379,434,469,427,562,647,516,481,472,445,344,339,516,774,617,484,616,533,516,579,692,924,946,825,576,497,495,440,435,422,420,409,375,386,427,535,570,758,877,745,623,622,656,673,644,618,608,601,556,501,633,741,498,564,711,882,807,915,1116,1202,1226,1126,1060,1230,1384,1260,647,423,387,397,385,490,625,823,830,858,1158,1074,810,1007,1160,827,666,477,814,797,439,343,313,333,611,1014,982,939,657,688],[285,265,340,493,502,431,404,446,632,764,840,616,541,494,493,680,778,914,1652,1616,1072,1250,927,543,443,601,934,683,409,301,361,564,891,1052,1102,1056,608,306,271,357,447,421,334,308,345,444,870,1010,752,567,660,1148,1011,864,807,986,1180,753,390,282,315,634,1116,1250,1050,912,957,574,761,866,728,559,473,570,644,840,1016,1066,1100,871,1016,799,992,1114,1028,1066,592,490,569,1076,1354,1362,1278,766,444,539,365,451,419,305,415,652,511,538,825,861,816,961,1164,1068,971,838,539,381,546,576,452,339,373,475,523,517,425,436,477,376,356,368,358,345,336,347,320,268,302,357,377,342,385,430,418,285,253,321,332,300,286,278,237,234,256,309,450,458,469,423,410,430,513,464,703,1012,737,454,377,359,442,404,348,364,567,550,418,400,406,423,435,505,672,955,995,844,726,841,1094,1138,1100,1312,1284,1232,914,1236,2158,1636,1262,1338,1166,1048,866,954,888,836,541,420,487,546,993,1158,833,811,1082,1076,1078,908,599,792,1110,1350,1250,761,526,356,501,785,984,1424,1400,1146,706,869,1158,1400,1500,1354,1186,1212,1420,1436,1512,1526,1336,1092,932,819,1032,1092,1023,1098,1052,1468,1516,1318,1058,605,985,1594,1358,1052,1130,1322,1646,1754,1474,1350,1536,1320,1434,997,830,1296,1238,1005,922,951,796,809,981,1112,1196,1210,858,648,853,1080,1092,852,778,791,851,1062,1176,1140,1080,1019,1302,1382,1007,899,1032,1140,1130,1136,1160,943,657,722,681,606,548,640,915,1234,1420,1058,1224,1288,1296,1288,1196,1058,1378,1234,1394,1332,926,572,471,507,591,725,710,554,478,536,684,836,1036,1260,1418,1410,1442,1332,1322,1372,1466,1450,1302,1196,1222,1224,1062,1374,1202,1128,1440,1646,1476,1476,1626,1442,1332,1376,1160,1108,1440,1580,1954,1708,1332,1007,771,683,618,524,835,1200,1202,1388,1280,1324,1426,1416,1506,1360,1260,1304,1316,1266,1226,1210,1358,1260,1412,1656,1100,1322,1532,1644,1498,1013,830,1210,1422,1266,1430,1274,981,1144,1460,1368,1708,1368,902,795,935,1274,1324,1492,1954,1968,1592,1284,1534,1542,998,462,582,755,1096,1226,1142,1514,1650,1478,1250,879,1286,1394,1318,1216,1204,1064,999,1056,1001,1230,1682,1734,1808,1714,1404,1268,590,451,378,283,298,343,350,478,674,794,1182,1156,1420,1388,1306,1158,721,664,640,646,1084,1008,538,522,615,646,422,401,428,517,387,548,752,868,996,897,955,813,636,898,813,673,537,495,486,461,432,462,472,539,805,1080,1011,479,414,767,978,871,999,1204,1256,1062,912,952,908,1116,1222,1204,1124,1410,1220,1060,1248,1338,1078,1116,1414,1440,1376,1238,1420,1688,1610,1506,1620,1260,841,781,721,669,796,1030,1136,1338,1394,1356,1382,1376,1092,1152,1120,1021,924,954,1132,1448,1454,1238,1128,1278,1440,1648,1520,2166,1830,1054,892,887,1180,1272,874,748,693,812,1148,1224,1146,1300,1222,1028,832,885,955,692,578,651,608,554,443,371,343,318,369,421,476,542,526,510,495,389,419,448,477,370,351,383,615,815,1164,1842,1700,1426,1332,1432,1598,1232,855,730,697,890,1098,1472,1528,1814,1422,1422,1550,1404,1206,993,1114,1294,1370,1376,1638,1688,1704,1558,1362,1294,1200,1390,1616,1234,743,668,659,703,589,440,344,375,404,359,342,361,357,340,346,292,300,348,343,393,465,364,385,388,350,375,366,374,391,413,412,373,341,453,509,406,404,437,432,401,417,403,400,421,432,424,441,513,1084,1626,1744,1870,1826,1278,926,1198,1206,1168,869,788,1190,968,875,1302,1226,1108,1158,1410,1486,1368,1284,870,626,742,1204,1288,1440,1272,1224,1152,917,927,1196,1388,1356,940,922,1002,1013,689,527,734,876,1098,1014,1086,1222,1244,949,813,1096,1130,1096,1078,1290,1654,1346,1070,1052,1142,1494,1418,1190,1282,1206,1352,1294,1196,1366,1380,1350,1230,974,879,957,1038,1202,1390,1360,1286,1058,854,1228,1378,1538,1842,1738,1570,1422,1530,1536,1070,745,1418,1678,1350,1378,1420,1256,1146,1118,1292,1370,1188,994,1048,831,839,713,713,756,965,1040,991,966,970,1050,1096,1046,1005,1005,1156,1198,1136,1072,1234,1182,1326,1520,1492,1576,1432,752,1122,1416,1126,1032,1176,1130,1002,670,940,1164,793,858,1738,1944,1236,1110,1182,1274,1010,786,824,1108,1108,904,1058,1302,1316,1464,1346,938,546,509,592,680,634,614,540,488,814,945,1190,1388,1412,1464,1238,1102,1226,1340,1236,1060,1134,1228,1226,1266,1194,1076,1062,1144,1026,824,773,822,765,927,966,736,713,680,570,586,652,849,799,831,1106,1120,1870,1654,1782,1826,1676,1582,1614,1438,1354,1516,1282,1382,1506,823,722,755,765,792,763,519,461,728,839,1013,1298,1024,448,372,607,688,1124,928,638,778,1030,1092,1180,1266,851,832,1082,1152,1306,1180,586,505,661,607,833,1124,1044,1090,741,614,749,1108,1430,1482,1418,1386,1522,1460,1280,1132,1290,1520,1334,1516,1476,1376,1354,1074,835,1144,1336,1284,1382,1362,1300,1210,992,952,517,443,532,894,844,991,1218,1278,1188,1098,1192,1158,1278,1302,1256,1312,1160,1148,1164,1176,1164,1228,1578,1814,1678,1310,1216,1216,1368,1470,1566,1484,1394,1270,908,785,787,797,1094,1074,792,1156,1194,1274,1098,819,888,997,1028,1270,1838,1980,1494,1344,1252,1170,1482,1440,704,565,660,758,988,814,1084,1316,1300,1332,1254,1232,1124,919,1086,1046,708,642,950,900,481,464,683,1284,1564,1110,1015,883,930,1312,1304,803,1106,1382,1146,1300,1032,898,930,728,524,492,612,628,789,873,686,680,756,875,837,1001,1294,1392,1454,1312,983,978,1230,1202,1204,1242,1050,1170,1196,855,551,569,816,1030,718,569,902,1170,1124,1154,1021,858,986,1260,1198,757,863,733,546,550,764,1036,792,672,644,597,737,786,760,788,1228,1240,1272,886,641,735,927,1506,1636,1046,598,437,490,728,717,800,1084,1116,1001,1038,953,965,1264,1264,1094,1340,1116,966,789,716,926,973,643,479,426,558,817,1001,862,716,613,657,850,794,972,879,845,958,963,1052,1402,1642,1396,1162,1140,1128,939,1140,1168,1166,1082,1160,1316,1226,1008,830,835,1052,1290,1322,1252,1590,1680,1690,1410,1128,968,794,724,729,673,551,619,783,703,691,629,603,527,570,543,556,559,484,608,948,631,514,568,900,868,946,1246,921,659,540,443,533,789,1026,1166,1296,1284,1122,1168,1302,1298,1322,1284,1284,1354,1500,1550,1506,1168,973,616,547,540,548,628,548,642,627,503,598,930,1120,1128,1001,926,749,591,647,433,325,485,592,747,1196,1228,915,586,694,746,544,466,585,605,463,429,637,694,515,696,966,832,856,1058,1062,1100,779,1028,1224,1218,947,817,763,675,739,720,470,361,692,1408,1086,1146,1386,1236,1212,860,873,1030,654,527,577,356,330,412,377,337,430,646,1626,2002,1462,976,1234,1124,845,1124,807,378,512,699,1194,1122,955,1104,1256,1578,1402,948,822,1005,1534,1422,1060,971,602,888,1007,1108,1114,976,968,1200,1476,1402,781,666,576,623,480,447,437,374,290,306,405,442,355,424,561,455,267,270,357,641,1194,1508,1180,687,474,459,797,1116,960,809,799,749,668,505,387,289,360,502,559,642,972,869,557,965,1422,1524,1156,1070,1144,1058,877,569,403,377,334,290,272,371,673,620,487,424,532,1094,1088,898,797,615,443,426,625,695,552,1110,1356,885,722,661,477,399,385,402,466,470,447,397,404,397,422,412,478,412,368,376,413,419,448,542,487,437,340,291,549,1232,1602,1372,1020,731,695,636,659,658,720,686,428,395,290,294,301,280,340,592,567,886,979,621,476,484,466,477,669,612,574,690,1152,1086,576,741,773,412,255,338,454,343,460,1026,846,500,973,1276,1490,1700,1386,728,592,957,1128,891,678,480,1246,847,364,487,721,582,387,468,564,562,451,438,325,303,473,439,392,533,905,1114,1013,1068,1088,974,1126,1116,1262,1140,1164,1242,1316,1200,1314,1358,1284,1506,1302,1208,1520,1256,955,1230,1276,618,369,794,931,1010,1272,1266,871,402,295,357,479,862,1132,1326,1360,733,485,467,385,370,336,363,412,453,392,395,362,335,356,366,357,328,370,453,511,554,484,403,456,384,372,360,306,405,492,436,689,792,455,471,499,636,1082,1136,835,586,533,511,451,408,392,445,456,419,392,426,615,764,786,850,755,677,637,602,631,667,673,623,598,576,600,626,797,1024,968,1096,1016,901,1064,993,1166,1100,974,937,1034,792,589,289,295,338,343,434,485,862,1484,993,947,1094,955,639,993,1126,948,763,803,1116,860,430,365,391,504,659,915,819,753,919,1028],[278,295,401,488,414,322,394,750,1116,817,697,921,863,627,455,728,1048,966,1134,1338,1512,1556,1030,906,840,519,602,572,393,386,435,509,747,1016,1206,1052,738,376,321,329,350,314,355,372,333,293,485,794,761,750,666,912,943,607,412,490,697,525,347,339,403,830,1376,1416,1154,1178,1340,670,629,1128,1090,669,433,474,478,599,733,1016,849,767,1050,981,1388,1032,598,760,833,473,494,892,1692,1516,1140,456,330,516,311,340,384,354,395,427,310,372,823,1432,1742,1268,1308,1456,1472,1284,658,361,436,499,463,345,321,418,393,388,378,430,479,373,327,339,331,336,339,345,329,281,291,336,371,403,484,474,426,419,398,318,305,280,253,275,245,226,286,319,488,508,468,434,434,489,515,504,652,689,571,498,450,425,506,403,384,351,400,441,414,394,430,418,364,435,376,645,1036,721,597,696,1062,1186,1130,1152,1124,1204,980,1326,1682,1750,1342,1262,1174,1226,1328,1252,1202,1078,601,380,414,607,1076,1312,1072,780,754,727,1034,808,416,686,1044,1140,918,415,285,401,581,982,1068,1054,1214,1256,1150,1266,1394,1296,1448,1376,1222,1236,1454,1246,1334,1494,1194,708,610,987,1166,720,886,1288,1346,1418,1646,1698,1244,805,1184,1686,1478,1282,1436,1562,1650,1550,1266,1476,1342,1322,1332,1124,1082,1284,1418,1754,1500,951,1068,1082,1214,1228,1017,996,764,674,852,974,1092,1028,959,837,735,798,870,1106,1162,967,1262,1354,867,868,1054,944,1028,1052,811,767,865,744,409,307,346,383,657,1112,1248,1450,1518,1226,1158,1228,1108,907,1156,1346,1244,1142,716,473,442,419,496,535,525,518,585,700,862,1262,1360,1328,1346,1232,1310,1520,1722,1482,1296,1404,1426,1420,1460,1096,1378,1654,1686,1646,1922,1782,1216,1268,1514,1500,1458,1600,1478,1430,1482,1396,1552,1482,1310,1174,1036,1118,1116,837,1348,1616,1246,1566,1202,1302,1468,1188,1154,1304,1144,1174,1348,1426,1660,1658,1418,1074,1166,1314,1216,1670,1538,1690,1716,1480,1322,1288,1274,1344,1726,1572,1224,1856,1502,984,1470,1156,788,1034,983,1136,1716,1804,1856,1764,1660,1650,1784,1560,1200,1196,1074,994,1208,1262,1252,1500,1444,1422,1390,1268,1354,1404,1690,1582,1174,874,767,655,760,1300,1498,1554,1644,1450,1346,1218,802,863,835,481,326,308,292,389,533,760,1122,889,1466,1338,1278,1232,1084,1014,742,706,1074,1318,1009,940,751,483,386,386,529,587,476,677,948,1342,1926,1916,1498,1100,935,995,891,695,570,626,656,579,514,509,434,615,1130,1270,1100,684,472,648,818,672,934,1360,1382,1124,1150,1070,961,1004,1258,1322,1250,1334,1172,1140,1200,1190,1120,1176,1212,1300,1412,1192,1366,1624,1736,1590,1426,1166,1044,1094,1100,866,681,736,749,855,1110,1322,1466,1390,1240,1246,1222,1048,874,996,1282,1462,1494,1458,1224,1200,1396,1584,1450,1618,1358,985,1090,1230,1086,929,778,734,816,985,1356,1238,1220,1340,1148,975,987,893,791,731,678,720,621,445,373,373,354,336,356,374,405,463,465,471,462,440,454,445,497,395,404,413,579,697,1026,1316,1300,1446,1234,1650,1924,1434,1023,997,1188,1230,1472,1538,1592,1616,1500,1710,1568,1404,1324,1208,1478,1668,1648,1478,1448,1554,1756,1694,1406,1246,1312,1234,1450,1166,774,841,792,696,541,419,340,413,448,373,381,350,348,336,334,296,287,340,427,602,546,417,412,375,388,385,347,355,353,383,417,364,324,339,379,388,382,466,480,419,366,376,385,421,436,437,429,782,1482,1638,1668,1754,1710,1234,877,1032,1112,1011,1011,1022,1416,1274,1318,1556,1312,1108,1176,1180,1246,1318,1340,888,597,785,912,1146,1250,1198,1122,1208,1368,1234,1142,1316,1458,1260,1316,1224,1252,739,522,618,994,980,833,1072,1136,908,742,995,1134,977,872,1174,1170,1524,1278,910,971,1478,1764,1434,1316,1158,1130,1346,1296,1368,1356,1312,1248,1314,1140,604,499,935,1328,1378,1166,1484,1152,1034,1260,1346,1438,1560,1830,1870,1510,1308,1110,771,979,1454,1504,1414,1420,1384,1238,1282,1290,1100,1128,1092,1122,1428,1294,1086,1066,1172,1300,1396,1342,1170,1222,1212,1090,1008,998,1110,1134,1042,950,942,1052,1124,907,984,1458,1364,1510,1364,865,1242,1308,777,826,1152,1384,1274,1744,2056,1224,773,981,1394,1566,1396,1062,1128,997,662,540,726,1164,1366,1244,1288,1544,1738,1696,1492,964,496,453,457,350,356,415,480,434,563,1184,1446,1240,1112,1126,1190,1170,1158,1306,1206,1004,1144,1160,1068,1126,1160,1036,928,1172,1082,1042,1090,1162,969,1030,901,739,780,717,810,1242,985,971,1074,822,1098,1282,1374,1332,1546,1692,1564,1538,1626,987,1020,1290,1116,1036,1192,811,907,1192,910,456,373,456,744,759,785,822,749,416,333,310,486,1080,1644,1418,1208,1472,1426,1120,1114,1002,1124,1184,973,1020,1098,712,477,582,833,1072,1174,1272,1230,990,653,643,788,899,1206,1750,1710,1230,1238,1368,1496,1416,1510,1984,1750,1450,1506,1546,1322,1304,1224,1202,1320,1272,1116,1208,1190,789,512,455,407,397,402,641,926,1132,1218,1352,1172,1038,1212,1206,1220,1200,1120,1088,1030,1174,1192,1158,1318,1484,1512,1418,1312,1508,1382,1100,1158,1284,1318,1344,1526,1360,1164,1174,1052,800,1046,1108,961,1086,1294,995,656,807,1114,1162,1152,1220,1616,1688,1344,1120,943,844,916,511,332,603,540,448,483,617,1070,1178,1042,911,1090,1136,1152,987,721,584,545,791,1082,727,749,1028,782,1154,1626,1498,1380,1168,980,1064,1032,866,1216,955,976,1406,908,914,873,767,528,698,796,658,770,1019,980,860,1064,1498,1318,1328,1198,1170,1012,1024,875,855,1070,1114,1220,1198,1050,1150,1060,1184,1023,757,849,1042,815,669,969,1274,1188,1144,1198,1226,1186,1108,1030,643,803,826,715,577,660,697,576,542,706,927,990,843,881,645,1156,1170,1242,1394,1290,1060,990,973,762,718,1028,969,1050,1176,962,861,1040,1212,1054,963,665,527,1019,1066,859,1056,1128,895,596,768,1182,877,661,639,575,825,1102,1004,1032,1440,962,754,1454,1614,1406,1114,1132,1166,1140,1182,1292,1432,1396,1460,1432,1238,1194,1248,1058,1048,1050,851,875,1036,913,897,1438,1572,1474,1238,1400,1518,1624,1784,1486,983,684,458,465,508,557,554,608,709,791,992,739,583,525,504,502,487,493,483,942,1740,874,600,1012,1238,1182,1396,1422,967,662,524,426,487,573,809,1082,1262,1342,1172,1198,1286,1398,1504,1540,1454,1490,1632,1650,1450,1034,887,595,491,483,502,519,586,630,585,605,700,510,620,855,805,959,808,767,951,795,565,739,918,1064,1356,1252,984,641,728,605,699,590,521,531,459,416,557,513,438,642,1002,793,836,1266,1316,1250,1170,933,788,963,1122,1096,1080,939,677,470,340,334,658,1058,1058,1282,1256,1232,1196,662,608,1007,840,524,518,499,558,851,559,375,454,727,1388,1700,1282,1204,1202,1013,1306,1618,1156,429,455,1054,1148,926,922,1294,1596,1576,1268,1010,825,859,1376,1268,1202,1322,908,847,912,852,850,694,511,680,1066,1292,1068,597,381,370,409,337,306,375,509,434,403,420,462,438,346,257,320,365,433,882,1100,1138,1072,648,561,965,1046,994,1664,1862,1410,1252,680,440,361,310,307,442,537,524,589,605,642,794,1158,1162,916,1040,1296,1086,747,462,487,658,703,553,409,459,802,791,974,650,424,477,764,1196,1352,1160,623,553,780,993,883,1194,1138,777,869,1136,744,391,425,434,460,450,441,466,445,443,376,423,495,463,336,308,377,404,452,494,531,642,435,697,1834,1832,1362,1122,871,672,554,466,544,738,685,425,282,400,335,363,308,266,305,344,357,681,960,747,441,472,500,448,443,408,487,664,1158,1424,1028,593,429,247,240,329,415,305,343,755,471,402,796,1296,1778,1542,1015,679,599,701,830,465,343,280,349,384,344,361,682,895,1001,1144,572,452,575,535,338,317,459,437,443,413,484,696,807,966,988,1040,1332,1400,1474,1360,1406,1332,1162,952,1250,1284,1174,1170,976,1268,1500,1284,1304,1742,1098,532,395,377,554,816,994,937,379,259,276,259,477,525,602,807,697,498,523,461,332,289,288,341,370,344,360,431,450,388,330,318,329,304,361,442,477,459,450,401,392,389,377,366,325,314,330,374,476,491,425,494,550,636,1094,976,547,519,606,465,401,388,487,468,458,451,435,542,703,897,871,771,648,725,758,664,636,670,770,755,642,583,632,767,940,742,553,725,719,1028,1070,621,919,1015,1003,919,805,378,223,282,280,279,336,492,589,1168,1798,1644,1502,1334,891,558,710,674,724,1202,1422,1102,801,623,536,559,663,808,1302,974,695,861,897],[328,373,461,415,345,350,400,636,946,848,750,993,1568,1482,582,764,1136,819,844,1130,1564,1428,1244,1440,1066,485,469,595,596,593,531,637,782,950,933,657,471,511,423,277,300,314,373,347,339,339,560,1012,972,841,717,816,1072,656,340,358,339,299,302,317,390,818,1118,1266,1026,1058,1216,905,1009,1356,1218,692,396,480,417,311,422,532,473,554,591,750,1138,1248,843,939,1194,491,354,435,1070,1378,970,542,520,458,295,357,427,412,388,424,359,389,828,1420,2026,1546,1332,1528,1876,1458,591,443,402,410,391,345,303,400,408,431,407,418,466,379,303,307,314,335,339,333,314,300,304,328,344,430,462,408,339,336,336,271,303,301,277,272,270,286,347,337,435,484,443,402,415,466,534,556,619,626,713,824,767,730,760,547,346,312,304,412,476,489,481,445,455,650,572,569,730,528,583,780,825,897,882,1002,870,983,977,1348,1274,1332,1220,1282,1320,1324,1224,1062,1224,1148,972,778,741,954,1114,1244,1322,1074,700,701,1034,818,412,634,1023,1158,669,557,562,918,1038,1016,614,669,1334,1460,1134,1360,1396,1204,1426,1310,1172,1460,1452,1474,1438,1262,1014,655,650,1302,1192,781,918,1234,1626,1506,1360,1266,1176,882,852,1284,1604,1526,1526,1636,1614,1492,1340,1258,1036,1106,1324,1314,1198,918,1202,2050,1618,1362,1468,1340,1318,1232,1108,877,786,801,824,856,1072,1192,885,655,948,1000,802,1064,988,876,965,969,813,742,769,725,907,1004,823,816,781,795,574,402,415,450,571,724,791,1112,1244,1322,1180,1032,1238,1192,981,885,684,681,686,756,800,473,471,420,424,536,673,793,1152,1408,1306,1278,1378,1372,1364,1674,1876,1462,1236,1258,1268,1516,1506,1246,1344,1594,1748,1644,1320,883,711,628,1026,1296,1366,1352,1364,1462,1492,1350,1390,1358,1346,1472,1302,867,957,1130,1614,1344,1024,1268,1210,1292,1262,1078,1230,1348,1054,1036,773,1218,1498,1480,1476,1404,1338,1206,1356,1690,1642,1402,1372,1324,1318,1350,1362,1450,1524,1476,1184,1494,1434,1506,1690,1028,680,1013,1036,1304,1870,1500,1624,1742,1796,1772,1924,1692,1644,1802,1712,1498,1272,1298,1410,1390,1402,1378,1414,1584,1694,1918,1936,1594,1320,1050,1054,600,587,1106,1190,1512,1500,1312,1364,1288,939,796,788,668,431,501,521,374,615,824,822,1154,1642,1462,1300,1326,1392,1434,1236,1176,1380,1302,1096,1118,825,763,991,1044,844,680,574,826,1228,1888,1754,1620,1198,1146,777,494,724,800,793,700,715,593,529,559,425,583,1172,1342,1296,1092,772,813,983,1034,1009,1214,1368,1152,1230,1146,1236,1158,1140,1058,1194,1166,1001,932,1088,1198,1188,1372,1406,1438,1344,1130,1364,1502,1486,1376,1306,1122,1074,1250,1230,945,728,692,684,730,1176,1606,1550,1378,1362,1344,1268,1166,1028,1010,1208,1392,1502,1410,1332,1382,1412,1426,1354,1216,950,921,1278,1356,1188,963,836,781,1044,1120,1104,1152,1282,1196,1026,755,689,626,736,806,1005,1136,936,573,375,396,445,450,469,490,472,410,381,383,391,393,416,419,458,486,453,489,565,521,772,1060,1086,1162,1034,1212,1284,1015,724,807,960,1032,1288,1542,1626,1532,1772,1904,1864,1334,1326,1552,1854,1670,1162,1008,1236,1476,1602,1736,1670,1514,1290,1204,1322,998,1024,1162,1112,696,380,389,414,555,497,404,425,416,349,337,322,312,312,358,692,954,544,394,349,355,345,341,350,338,349,358,347,333,323,317,345,338,367,424,401,397,395,432,412,456,425,404,473,1082,1654,1746,1834,1650,1692,1242,1210,1188,1134,1508,1816,1520,1316,1084,1328,1440,1142,1096,1252,1262,1300,1466,1500,848,765,1240,1238,1534,1652,1426,1378,1350,1326,1122,1236,1328,1130,980,1206,1152,882,789,917,1056,1384,1354,1216,1218,1146,966,1064,1054,868,580,537,731,664,706,1058,1190,1158,1262,1358,1274,1284,987,1180,1266,1332,1302,1220,1322,1260,1272,1232,1078,832,977,1246,1266,1188,1396,1620,1456,1138,1288,1354,1326,1582,1772,1486,1430,1148,1062,1490,1472,1416,1466,1366,1282,1380,1422,1322,792,764,625,619,618,657,713,708,598,562,901,1040,599,543,505,550,581,624,511,487,520,579,592,524,747,982,1242,1438,1254,1028,1272,1188,2156,1742,1058,1088,1394,1376,1276,1840,1902,1224,1024,1220,1356,1516,1684,1332,1256,959,557,461,715,1116,1224,1116,1532,1626,1386,1260,1406,1150,626,490,480,447,507,557,521,483,545,1302,1542,1936,1100,833,1270,1588,1172,974,1158,1178,1112,1040,1210,1074,885,1015,955,968,1078,1136,1376,1256,1021,1044,966,884,843,863,1306,1762,1024,755,1012,875,1142,1378,1202,1260,1422,1652,1714,1530,1404,1154,1248,1210,1136,1184,1108,932,1128,1170,913,608,477,380,406,397,534,664,551,456,455,619,944,1280,1394,1436,1436,1460,1290,1062,1362,1202,991,722,494,574,484,389,411,380,620,963,939,1012,1226,998,661,614,652,527,744,1438,1434,946,1138,1102,1282,1696,1748,1830,1720,1248,1256,1342,1310,1282,1058,1104,1226,1196,1140,1280,1070,703,502,445,422,379,436,504,647,897,962,1028,1144,1616,1586,1190,1066,976,888,878,871,1052,1282,1404,1388,1330,1286,1382,1448,1466,1318,1162,930,1017,1192,1332,1422,1240,1230,1090,938,805,709,872,1084,1114,1152,847,669,981,1230,1234,1106,1272,1426,1366,1216,929,846,977,764,412,356,356,368,457,503,551,863,671,701,842,1152,1192,1236,1110,653,604,838,1038,933,1038,1542,1040,730,1064,1436,1630,1214,667,940,1512,1220,918,1040,885,1186,1534,1182,1094,1100,1130,820,858,950,841,830,823,919,925,1001,1414,1206,1068,801,947,1244,1190,894,912,1050,1134,1132,1134,1244,1204,1044,1120,1128,808,686,623,644,711,1036,1266,1038,965,1186,1092,988,834,830,673,580,775,899,927,834,697,557,502,439,478,629,484,577,869,1316,1134,1282,1512,1258,1176,973,630,677,966,1180,800,1206,1140,1006,1144,1174,1196,1206,955,498,631,1186,1086,1174,1164,872,805,553,683,988,779,634,725,800,1100,1120,876,962,1468,929,763,1238,1294,1166,1026,918,1130,1488,1208,1030,1166,1310,1668,1548,1196,1052,1184,1200,1090,952,797,869,1005,966,855,1023,1034,991,891,1396,1642,1642,1822,1564,1174,907,520,584,800,917,904,760,748,897,800,560,556,551,484,480,473,460,465,660,1026,991,755,1510,1786,1542,1444,1216,1038,742,514,431,483,592,813,1023,1230,1318,1184,1102,1256,1510,1606,1678,1642,1650,1616,1428,1350,1274,1230,984,733,593,488,484,565,824,905,975,1088,691,768,995,963,1078,1136,1148,1084,1046,997,834,955,1072,1196,1310,1222,818,565,565,1004,1078,925,761,758,951,868,412,439,560,921,814,886,1012,1074,1096,1166,1088,893,829,654,729,1028,1360,1338,939,534,385,636,916,1038,1180,1174,1232,1224,792,659,979,1128,1244,881,865,1144,1258,1022,756,546,826,1288,1190,1068,1138,983,1124,1350,1512,1234,660,735,1052,736,584,641,750,772,708,569,638,702,652,1068,1090,858,982,1202,1312,1218,750,495,428,407,494,637,993,1222,1252,905,657,492,353,393,819,1166,664,876,1012,716,504,409,384,572,752,841,1220,1300,1090,1002,608,665,1066,852,1344,1930,2216,2066,1326,628,420,325,263,332,419,467,459,1012,1794,1210,751,932,1086,1008,839,608,658,656,758,991,1092,1132,991,913,869,788,835,1064,723,420,434,626,840,1208,1626,1078,778,809,793,743,771,761,626,857,1144,777,326,313,415,484,422,483,587,528,510,473,458,498,483,360,292,327,400,402,437,498,581,684,1232,1754,1054,808,786,670,792,785,717,617,758,651,619,602,448,361,320,299,309,311,314,300,373,568,499,402,498,454,414,451,672,720,661,895,1220,1286,576,325,396,350,272,258,285,310,623,606,379,526,903,1002,918,1001,895,888,462,450,384,305,272,450,651,594,491,636,1072,1470,1412,494,483,550,476,384,483,503,497,516,444,741,1082,874,894,705,1090,1252,1352,1384,1506,1354,1328,1356,1310,1382,1336,1310,1222,918,1238,1432,876,940,1476,1248,792,583,459,525,686,827,711,336,312,303,253,276,311,317,471,613,425,427,552,433,311,287,289,316,371,403,498,520,422,334,339,321,317,342,406,427,388,442,393,407,432,386,365,352,355,424,395,366,466,541,517,491,658,1136,1296,945,700,549,465,472,479,491,459,473,514,553,644,713,749,833,754,582,651,708,725,612,598,778,724,598,607,569,735,786,529,418,297,397,633,566,456,994,1184,904,621,557,340,280,359,313,300,299,349,439,879,692,971,1012,1021,590,413,606,630,884,1538,1356,753,442,666,633,727,818,989,1240,940,816,847,800],[454,440,477,475,468,426,556,891,781,747,946,984,1392,1560,1080,865,942,1266,1100,1034,1192,1188,1174,1106,753,419,527,565,701,898,805,594,503,692,860,611,576,1023,746,311,274,273,280,280,298,303,468,999,1190,1188,897,813,909,656,358,360,334,312,227,284,292,393,524,922,1130,1276,1134,923,960,935,1050,963,802,755,602,442,372,346,509,1064,1176,659,656,915,707,785,769,458,405,393,822,1206,793,686,941,885,496,358,357,348,355,412,412,389,735,1242,1722,1588,1344,1366,1442,1090,523,437,423,381,366,336,317,386,407,444,400,381,426,359,305,309,341,351,337,329,311,320,332,406,448,341,298,311,291,290,339,254,300,335,321,283,306,355,409,344,308,397,399,407,487,529,568,542,498,469,695,954,940,977,948,609,467,385,325,360,478,527,447,394,507,649,573,659,636,472,785,1098,772,794,847,957,795,721,891,951,1116,1288,1080,971,1246,1252,968,1168,1632,1298,1168,1156,1072,1005,1110,879,740,811,680,730,1208,872,569,743,1082,1100,576,775,1146,1398,1044,618,535,696,1242,1360,1346,1356,1188,1012,1296,1116,1212,1508,1422,1526,1314,1042,1080,993,824,1344,1090,829,830,1150,1526,1498,1364,1442,1434,1216,912,1021,1542,1430,1456,1632,1542,1590,1444,1288,1218,1232,1170,904,688,696,1023,1374,1532,1362,1378,1294,1410,1440,968,612,603,477,435,542,818,869,964,630,732,786,939,1036,836,915,1058,1134,1100,842,862,915,936,1052,1074,891,822,872,599,391,539,661,567,561,673,1064,1172,1314,1102,739,995,1180,940,781,838,940,918,1114,1200,634,450,392,411,559,750,1152,1356,1142,1170,1390,1460,1434,1342,1422,1290,1116,887,834,1042,1488,1532,1424,1370,1392,1476,1522,1336,828,930,1062,1224,1306,1266,1326,1424,1504,1390,1478,1538,1374,1536,1572,1338,775,839,1120,1422,1142,993,1136,1268,1384,1538,1614,1356,1344,1188,1294,1108,1348,1730,2018,1792,1588,1630,1888,1926,1660,1198,1048,1266,1312,1460,1314,1094,985,751,957,1140,1178,1132,1340,1586,823,534,542,562,825,1170,1456,1672,1586,1616,1482,1570,1994,2066,2020,1908,1858,1550,1360,1360,1284,1570,1440,1502,1816,1946,1720,1566,1494,1290,1306,1284,555,383,455,607,896,868,860,1112,1158,1003,1132,1122,1090,505,486,634,577,965,949,837,892,1074,1316,1268,1156,1358,1410,1430,1096,1072,1072,1082,987,938,1194,1560,1470,1086,898,915,1176,1126,1378,1494,1080,819,984,681,463,523,704,924,810,990,978,780,597,475,497,796,1252,1282,860,966,1278,1100,1082,1162,1172,1186,1056,1282,1040,968,1106,1122,1086,1222,1270,1112,997,1402,1424,1356,1394,1272,1266,1370,1382,1466,1390,1009,1012,1116,877,881,1138,1198,983,793,721,724,861,1372,1722,1686,1472,1408,1450,1368,1094,1142,1074,1200,1454,1484,1382,1362,1290,1208,1310,1526,1484,1108,1046,1438,1428,1486,1240,932,804,935,1162,1090,1030,1120,1072,918,771,692,586,550,667,1128,1376,1144,766,406,438,598,838,855,908,645,429,388,369,386,416,407,386,422,424,411,492,613,512,503,455,693,832,841,750,590,482,404,437,525,548,707,1350,1628,1790,2040,2136,1680,1212,1152,1594,1718,1118,728,830,1130,1400,1442,1112,1396,1726,1678,1454,1010,1036,1412,1600,1528,1122,566,428,430,408,366,388,413,462,404,361,323,312,365,415,662,1020,460,383,343,364,362,354,334,326,356,370,342,339,353,352,350,351,382,376,427,405,402,426,409,408,399,392,668,1398,1602,1852,1826,1686,1604,1228,1084,1056,1100,2054,2286,1648,1366,1270,1570,1430,1152,1230,1596,1362,1304,1500,1556,1080,910,1144,1264,1710,1774,1596,1480,1448,1390,1276,1512,1434,1164,1290,1388,899,615,799,990,1106,1404,1474,1694,1302,1328,1186,1088,810,676,777,807,973,1148,934,937,1174,1250,1058,1360,1410,1366,1318,1252,1272,1346,1122,873,1188,1248,1420,1408,1578,1314,1166,1202,1240,1366,1378,1430,1232,1188,1148,1404,1500,1706,1538,1310,1666,1688,1682,1698,1616,1542,1384,1180,1322,1354,1306,1158,811,443,455,535,589,559,511,509,549,592,695,935,519,553,557,625,528,550,535,616,604,526,544,594,767,1030,1007,1058,1190,1000,1288,1246,1534,1312,1148,1176,1200,1236,1292,1326,1602,1414,1234,1188,1306,1386,1506,1382,1314,1032,678,583,761,1120,1350,1304,1310,1192,1086,1072,1062,1088,803,628,742,578,593,879,1006,668,585,1136,1270,1622,1110,810,1023,1068,931,991,1252,1160,1098,1168,1204,1090,1076,1092,1052,1214,1256,914,709,854,858,794,800,943,859,1062,1492,1328,670,538,679,677,921,1306,1294,1628,1700,1734,1782,1720,1394,1242,1242,1054,1096,1308,1064,808,758,581,747,827,652,502,371,372,686,695,637,753,793,1076,1506,1522,912,857,1072,1276,1272,1350,1394,1042,662,473,514,539,430,389,427,372,450,623,841,1026,1190,901,584,582,586,633,763,1078,1022,1028,1092,1188,1498,1622,1566,1604,1764,1628,1298,1226,1530,1410,1224,1272,1088,1000,1210,1252,1026,755,531,440,435,412,471,437,425,539,821,1152,1126,1756,1542,1152,863,599,681,830,1036,1244,1446,1404,1202,1034,1158,1304,1516,1336,1290,1292,1152,1168,1180,1266,1318,1316,1144,666,620,650,684,830,883,774,670,664,751,830,1046,1282,1144,1432,1268,1264,1023,1052,1254,1254,977,702,481,501,457,505,568,685,637,571,822,1194,1582,1290,803,600,440,691,1138,1244,949,1442,2094,1346,1058,1244,1366,1616,1440,930,982,1310,941,816,974,1021,1394,1374,1106,984,986,1094,1114,1206,1320,1252,1009,794,786,960,1206,1208,998,740,589,729,987,1130,1072,761,710,1064,1246,1064,871,1036,1306,1214,1150,921,592,393,383,563,962,1134,1036,866,1002,1354,819,706,683,459,673,1026,928,1007,1064,844,507,395,377,429,719,732,1011,1290,1244,1070,1056,1206,1246,1250,1080,748,703,686,934,1192,1112,641,851,1174,1216,1294,1272,1264,991,1038,1152,1032,1062,1005,735,852,908,876,1005,916,633,654,670,867,867,838,849,1014,946,983,1332,1522,1292,1230,896,835,883,815,1074,1220,1320,1342,1256,1082,1076,1230,1144,1078,1012,1026,1096,1138,1096,931,913,943,1004,946,1062,1174,1332,1748,1656,1418,1114,810,912,887,1046,1076,665,603,846,816,706,586,562,482,472,513,613,518,636,1013,1138,838,1144,1376,1146,1310,1344,1250,934,597,459,451,538,842,1118,1212,1336,1276,1148,1356,1564,1698,1708,1730,1708,1570,1362,1290,1318,1314,1390,1496,1042,846,618,738,1028,1362,1932,1011,933,897,764,883,1032,1074,1212,1138,1048,1060,852,1088,1142,1222,1298,1372,1003,539,671,1016,998,909,1054,1400,1594,899,471,542,811,958,706,537,588,686,802,946,943,1010,1066,852,910,1442,1532,1344,1134,943,631,597,929,1170,1186,1092,1028,802,549,761,835,816,1052,910,1080,1304,985,828,804,764,1162,1158,1104,1230,868,1096,1406,1560,1136,1044,1042,1132,739,462,487,456,543,624,569,533,848,940,744,791,739,568,752,1126,1238,1284,1178,664,324,458,911,806,617,739,982,1278,1272,869,356,468,1040,1116,880,1570,1792,1168,725,817,796,713,973,1328,1578,1152,1148,1254,1044,1086,1010,974,1344,1128,852,960,801,397,289,266,290,326,327,393,365,1550,2280,1648,925,816,1042,966,628,558,515,538,845,783,933,1032,777,698,1001,933,886,849,561,355,381,459,598,840,1372,1122,806,716,669,673,688,661,539,488,441,377,328,368,399,369,286,397,525,457,446,513,482,401,419,421,370,391,393,358,381,366,645,1078,1324,1082,758,731,792,828,1015,836,1054,797,606,469,899,1074,619,278,251,279,301,304,290,318,363,368,332,493,598,412,426,973,1126,625,717,1000,793,1192,946,703,680,620,443,309,311,266,541,830,742,741,814,617,597,525,688,610,643,815,722,472,257,372,501,689,987,536,604,975,933,729,628,463,384,406,507,576,471,413,573,1204,1218,1052,913,540,584,895,1264,1294,1126,1140,1152,1288,1358,1384,1350,1340,1346,1224,1260,1084,625,522,936,1330,1188,864,891,990,1444,1534,846,433,446,457,343,331,387,388,404,433,520,541,526,423,366,298,268,326,426,402,392,440,471,422,358,307,321,336,369,370,361,394,365,372,401,372,382,369,361,477,467,444,482,574,571,608,776,1042,1190,1008,796,732,614,469,443,430,417,451,555,655,717,741,727,675,658,737,717,611,615,558,589,667,586,565,576,597,685,479,423,314,339,334,344,400,427,971,1268,1048,786,659,387,264,368,345,317,325,371,455,782,541,321,379,428,369,343,409,416,469,680,601,471,439,581,506,565,620,703,688,716,738,732,709],[521,427,381,429,435,397,777,913,626,763,926,979,1174,1180,1302,1166,1098,1356,973,773,850,1005,1066,1062,1130,738,514,509,597,698,813,913,849,908,938,596,665,1001,767,572,319,296,248,239,286,318,321,736,1122,967,492,366,571,772,573,410,385,384,266,234,291,329,380,741,1238,1336,912,767,822,977,1128,1044,792,710,944,818,700,577,487,990,1158,638,642,589,466,468,457,477,428,470,890,874,684,734,839,719,401,511,709,656,528,545,471,538,652,816,1260,1340,1270,1260,1146,1002,591,408,419,392,356,334,326,332,388,441,418,381,351,305,302,357,397,350,408,494,416,365,342,422,495,387,341,366,316,276,348,317,333,331,308,300,322,379,393,264,298,377,362,352,495,543,478,473,465,407,639,910,936,1042,855,404,360,355,419,393,461,413,410,408,412,426,447,447,405,371,539,916,1078,1076,725,635,725,766,1118,1316,1354,1320,1140,1162,1342,1236,1058,1366,1356,1042,879,1156,971,879,1148,866,662,700,579,794,1134,625,537,922,1326,1230,1084,1200,1324,1478,1500,1290,1019,855,882,1230,1332,1366,1350,1412,1406,953,1142,1388,1394,1578,1312,1094,1106,1023,1220,1344,1112,1182,1214,990,1028,1128,1338,1440,1418,1392,1388,1484,1360,1296,1470,1514,1478,1532,1400,1340,1362,1540,1316,1082,843,940,1166,905,1180,1460,1256,1092,1332,1356,1202,884,539,444,473,527,555,492,600,632,550,469,604,730,728,830,1026,1272,1212,996,1004,1068,1082,1076,1064,800,683,649,635,842,1003,912,830,877,828,859,846,1226,1088,856,1208,1322,1208,1410,1282,1094,766,955,942,572,469,418,501,700,1072,1488,1310,1320,1386,1606,1364,1354,1562,1488,1386,1108,1082,1228,1246,1314,1448,1320,973,1192,1398,1126,1196,1094,1188,1300,1202,1322,1386,1380,1356,1250,1332,1714,1734,1526,1528,1350,990,828,766,974,1206,1252,1354,1256,1150,1338,1444,1252,1234,1378,1404,1634,1712,1252,1274,1774,1986,1576,1550,1742,1566,1360,898,836,1248,1406,1224,1198,1230,1332,954,681,1100,1488,1456,1400,1512,634,480,592,683,722,839,1252,1520,1486,1372,1418,1476,1516,1692,1670,1478,1686,1666,1740,1706,1688,1654,1574,1590,1400,1328,1156,1334,1512,1360,1230,742,391,327,310,367,409,448,742,1170,1184,957,1322,1316,1306,668,543,693,979,1202,1054,937,854,995,1178,1298,1454,1418,1218,1342,899,742,1096,1228,999,1090,1242,1406,1102,949,834,1168,1416,1288,1144,1332,1152,877,763,497,428,447,498,584,582,1232,1566,1028,528,447,437,452,623,921,1306,1306,1280,1004,1026,995,1306,1428,1450,1292,935,849,1122,1214,1122,1130,1276,1140,1122,1406,1454,1476,1410,1246,1200,1404,1544,1666,1540,1256,1384,1364,1362,1206,1092,1334,1232,1026,1020,997,1092,1390,1538,1580,1440,1384,1500,1340,1036,1124,1210,1426,1578,1446,1262,1284,1312,1268,1222,1470,1350,1168,1124,1324,1390,1510,1396,990,904,1202,1422,1372,1058,1126,1290,999,983,781,565,608,782,1076,1084,1134,1134,576,516,721,1078,1104,1256,858,631,558,444,384,372,389,448,447,408,414,446,507,562,593,572,666,780,808,694,615,553,420,380,432,485,710,1060,1290,1678,1996,1852,1288,935,888,1050,937,631,675,859,1026,1104,1076,696,839,1328,1672,1598,1336,1382,1502,1260,1404,1472,797,436,410,454,404,375,371,397,422,393,387,391,421,413,511,940,506,345,328,328,333,349,362,354,346,337,319,322,342,344,350,374,416,399,435,419,392,378,380,399,395,462,930,1610,1770,1876,1616,1660,1290,923,938,1021,1136,1258,1484,1522,1374,1282,1158,1380,1268,1242,1338,1272,1400,1368,1288,1114,974,901,923,1524,1794,1550,1384,1336,1404,1438,1454,1298,1180,1356,1238,744,649,988,1236,1268,1374,1306,1256,1318,1186,1158,1338,1124,912,952,1086,1126,1226,1006,720,989,1172,1242,1510,1256,781,899,1444,1628,1318,959,678,974,1140,1366,1388,1162,938,1062,1122,1166,1310,1360,1202,1136,1258,1148,1338,1594,1544,1056,962,1170,1386,1494,1648,1664,1542,1300,1236,1304,978,945,873,595,476,530,522,518,495,541,552,555,517,530,957,696,543,508,527,523,564,583,538,522,538,577,588,693,1064,1318,1534,1352,1224,1120,1224,1364,1210,942,882,968,1094,1132,1236,1822,1642,1072,953,1018,1021,1021,1018,1042,1074,1005,912,868,745,833,1154,1260,1286,1352,1230,1070,1150,1046,803,722,474,672,850,788,587,643,1060,1490,1604,1272,1098,1088,988,1172,1100,1314,1324,1234,1390,1084,882,846,641,773,1166,1176,898,905,1274,1298,959,694,760,762,1006,1100,769,465,402,581,827,1094,1290,1272,1482,1658,1592,1554,1594,1736,1642,1178,966,1082,1060,573,667,949,819,1066,1082,1252,1172,775,598,599,482,510,599,717,1001,1386,1526,1110,1040,938,1226,1712,1654,1128,803,590,492,452,490,572,389,420,496,467,550,784,1260,1260,740,688,712,595,800,790,1146,1100,993,1122,1218,1472,1544,1334,1480,1648,1584,1410,1532,1422,1316,1390,1410,1094,1040,1156,1040,748,456,454,411,393,394,452,445,435,474,610,1010,1078,1220,1286,1126,968,756,618,760,1006,1400,1416,1204,1152,1168,1164,1244,1318,1368,1416,1288,1216,1200,1502,1398,1278,1230,909,533,401,401,459,434,415,418,471,706,804,730,694,1036,1252,1338,1042,847,686,865,1298,1524,1300,941,789,714,621,646,637,1052,955,660,829,1118,1396,1178,876,880,556,551,834,1036,1005,1054,1428,1284,1434,1490,1290,1318,1472,1366,813,780,616,547,623,948,1510,1100,1004,1198,975,1106,1432,1416,1412,1222,799,675,499,852,1350,1278,891,760,804,935,1140,1202,1130,1120,1316,1394,1076,865,616,748,1046,1023,796,673,687,536,433,802,914,1020,1124,1140,1250,1256,932,717,474,423,865,1310,1098,1232,1240,780,513,406,520,757,1026,858,806,994,1068,1164,1050,979,1104,979,1122,654,506,590,689,1164,1246,787,662,900,1226,871,891,963,1001,1202,880,993,984,806,907,1224,1238,1078,712,484,626,988,1176,992,785,1003,977,975,1228,1404,1748,1956,1138,1086,989,754,678,1082,1210,1246,1298,1172,1066,1080,1278,1266,1236,1176,1086,1015,1026,1114,1164,1096,1004,1044,1290,1354,1272,1104,1186,1736,1762,1376,1130,1062,987,677,976,1076,766,899,1296,1356,1068,643,523,470,487,613,797,719,702,981,1156,999,1256,1418,1132,1316,1434,1638,1442,818,505,462,474,954,1390,1262,1318,1304,1152,1434,1672,1820,1708,1620,1602,1568,1496,1462,1234,1340,2222,2258,1282,1164,899,929,1098,1220,1472,1246,1252,1084,1007,1188,1022,717,913,930,1005,1440,1310,1108,871,1036,1116,1122,1040,946,919,903,1070,864,664,1246,1198,597,867,856,864,908,896,1112,1026,877,832,708,932,1332,1017,789,1136,1284,887,738,1042,1346,1114,595,536,669,885,758,905,735,594,658,590,572,742,1082,1310,1064,783,868,1021,1146,1332,1118,1278,1108,1012,1086,1248,930,590,838,1164,925,479,452,447,421,407,461,577,710,962,1034,880,559,348,428,568,935,1372,1544,1310,647,356,375,742,698,481,489,748,1114,1044,1140,925,630,482,545,869,1408,1598,1312,1044,1318,1520,1180,1020,1236,1256,1072,1108,1360,1260,1186,1062,888,738,625,548,505,525,616,329,269,230,241,389,476,373,740,1130,1186,993,902,938,1013,796,422,417,402,464,535,1132,1296,585,454,854,1132,1136,796,758,638,440,446,625,661,703,618,518,538,539,567,602,576,457,393,441,405,396,495,465,378,305,315,355,382,425,431,473,361,407,516,416,443,424,370,381,518,921,1142,932,796,991,906,839,810,781,492,487,1001,840,470,626,686,427,245,278,286,320,322,333,403,753,955,1040,1040,672,400,432,815,1186,951,686,976,792,1003,1272,965,629,625,505,342,284,253,321,583,980,1040,1278,853,900,532,458,694,944,1042,1130,829,348,292,318,674,791,402,433,512,795,993,637,370,376,375,452,628,469,436,936,1206,1134,1094,916,500,344,742,1132,1082,963,1046,1144,1310,1268,1454,1268,1246,1350,1212,1262,1182,847,758,1266,1336,1236,864,1040,1240,1302,1132,848,745,974,897,466,344,372,496,506,485,467,464,395,545,590,377,325,536,695,509,415,399,487,449,404,343,363,450,451,391,375,388,343,303,349,380,374,451,419,403,440,433,474,594,645,625,536,518,638,555,516,708,760,443,400,477,497,487,525,569,577,651,671,619,684,828,783,667,602,566,619,634,566,543,561,691,722,325,307,305,309,297,299,346,327,429,678,875,1094,967,579,279,289,255,261,282,307,328,484,468,414,451,307,322,283,269,312,319,328,399,391,391,545,708,883,878,707,619,769,643,619,566],[599,488,382,428,448,481,629,545,550,693,775,827,1076,1146,1278,1286,1272,1120,979,794,535,686,1162,1288,1198,1264,863,589,650,603,642,882,794,650,725,556,731,910,610,486,327,338,246,223,244,258,258,574,1002,978,922,720,877,1152,1098,764,841,963,650,372,404,453,480,678,918,901,698,1194,1056,1170,1252,956,608,542,550,617,667,652,767,858,769,722,835,491,514,482,469,435,407,483,596,677,632,500,579,597,602,899,1058,802,465,371,382,860,1026,814,1282,1366,1188,1228,1346,1504,785,439,446,405,378,341,334,379,414,393,388,399,341,292,286,311,288,286,413,462,398,402,367,399,538,592,449,403,346,290,337,383,393,365,331,341,358,401,332,264,381,398,339,332,550,504,391,467,424,408,599,825,807,1013,792,336,250,264,366,419,392,373,374,396,405,411,480,598,436,379,402,463,919,995,683,655,783,996,1270,1190,1394,1566,1346,1262,1208,1288,1152,1098,1048,1011,857,849,735,822,905,939,893,735,596,584,681,453,606,1072,1326,1358,1346,1290,1272,1312,1486,1406,1146,1021,935,1124,1126,1284,1148,961,1104,1174,1188,1134,1052,1324,1066,1190,1252,1184,1596,1338,1316,1370,802,439,624,1652,2756,1522,1340,1284,1282,1278,1232,1260,1334,1398,1530,1306,1284,1276,1021,1158,1214,1332,1172,902,1224,1364,1560,1522,963,702,999,1374,1824,1546,1238,835,523,507,588,552,618,670,670,618,497,494,574,841,802,918,871,666,687,828,868,884,827,673,581,525,741,1104,1064,1310,1388,1388,1282,871,840,1146,1036,949,1224,1256,1260,1178,1062,1116,664,824,1050,883,616,481,510,667,1002,1064,1032,1574,1444,1416,1426,1426,1500,1346,1404,1450,1370,1230,1264,1300,1400,1494,1348,1354,1508,994,1160,1250,1322,1400,1266,1090,1176,1350,1114,855,1456,1494,1450,1494,1440,1194,774,818,926,846,916,1146,1332,925,944,1378,1406,1256,1322,1362,1582,1766,1722,1540,1328,1238,1456,1548,1418,1352,1410,1346,1118,1013,1438,1512,1384,1216,1222,1392,1130,971,1286,1662,1476,1438,1466,1254,1252,1180,1250,1058,880,1092,1410,1420,1368,1360,1122,1126,1396,1490,901,750,1378,1814,1340,1234,1582,1690,1660,1488,1096,1256,1450,1512,1444,957,554,647,473,326,357,342,371,691,1376,1132,872,1114,1212,1308,888,655,876,1152,1118,1220,1096,824,694,756,1126,1378,1274,1238,1080,839,770,876,1386,1530,1368,1470,1602,1244,1186,1274,1316,1364,1322,1108,1246,1046,803,835,464,464,400,408,477,612,1200,1432,899,565,486,515,713,1036,1102,1136,1178,1162,789,805,1126,1468,1272,1014,1036,1122,1030,1066,1104,1066,996,1290,1462,1360,1514,1464,1400,1450,1296,1292,1374,1466,1594,1588,1612,1638,1400,1416,1256,1292,1462,1340,1366,1432,1350,1384,1596,1594,1474,1434,1482,1656,1442,1328,1354,1340,1444,1482,1424,1330,1316,1394,1410,1332,1384,1110,997,1064,1278,1296,1288,1186,910,1172,1444,1392,1286,1003,1258,1388,1294,1214,782,600,839,1094,1186,971,918,1064,877,592,872,908,1054,1188,792,537,473,416,375,354,435,572,561,516,437,432,390,430,397,395,434,548,633,597,583,692,568,489,454,444,547,636,821,1136,1430,1250,788,711,545,427,427,738,991,904,774,1098,1030,637,582,838,1264,1708,1752,1778,1534,1462,1720,1470,922,512,437,433,437,433,389,404,416,371,397,416,454,435,516,836,542,328,334,326,337,364,372,359,328,313,316,323,309,330,361,401,411,386,390,394,382,367,354,384,404,546,1198,1566,1712,1770,1598,1550,1068,871,1012,1110,1110,1314,1516,1450,1166,1108,976,1007,1062,1144,1162,1300,1424,1374,1406,1246,1170,1334,1152,1262,1682,1550,1152,901,1092,1344,1186,891,1206,1476,1460,1230,1158,1414,1340,1226,1360,1288,1272,1076,881,1166,1368,1174,974,793,1172,1344,1166,828,894,1036,979,932,1068,1052,749,805,1106,1314,1072,1096,1032,1032,1042,1206,1290,1188,1084,1054,895,1090,1282,1446,1188,1172,1112,1212,1332,1598,1054,469,399,764,1238,1370,1534,1470,1500,1440,1310,1092,742,611,671,626,649,598,599,639,704,678,617,622,719,761,1136,980,733,760,843,815,771,791,894,942,924,891,907,969,1116,1146,1120,1240,1082,891,1100,1202,1292,862,870,1118,1136,1024,1018,1512,1272,800,979,1038,987,1008,967,824,1001,1106,1112,1018,909,938,1236,1528,1504,1512,1304,1064,1182,1210,1098,744,523,676,613,431,418,518,749,1128,1282,1138,875,1128,1164,1094,1082,1178,1262,1294,1366,1011,844,952,628,802,1124,1028,1160,1496,1860,1648,1238,1130,1026,963,976,904,775,451,504,605,888,1204,1094,1190,1452,1772,1564,1394,1456,1582,1424,1164,847,962,1046,553,1306,1478,1094,970,1046,1190,1258,1188,660,430,634,529,475,724,905,1001,881,1106,1318,1054,1110,1458,1270,1154,1188,748,576,541,469,573,500,455,444,421,397,863,1752,1576,926,590,677,952,1314,1206,1394,1126,1052,1302,1482,1576,1328,1342,1252,1220,1648,1648,1676,1564,1550,1354,1192,909,840,926,705,445,308,383,375,381,414,465,618,819,744,644,886,1158,1390,1460,1260,1200,1072,784,916,1150,1160,1178,1438,1498,1296,1266,1346,1238,1086,964,1136,1042,1102,1456,1244,1036,938,580,365,330,345,373,360,368,398,487,629,773,629,519,875,1172,1110,841,514,502,624,1023,1476,1066,739,999,1108,1262,1322,1052,1252,1108,703,1007,1108,1216,906,1128,1356,910,673,735,966,1042,902,955,1090,1230,1416,1224,1012,1306,1602,1013,639,492,485,863,1334,1522,1278,1324,1324,1136,1023,1288,1226,1742,1438,918,620,442,720,1132,1220,1126,1096,1170,1160,1288,1216,1214,1278,1382,965,490,763,1152,1024,854,1116,758,611,1060,973,827,909,1136,1262,1138,1106,799,702,998,910,865,888,808,1076,1120,1198,977,760,806,713,782,996,1144,940,647,1015,1338,1242,796,703,1238,1334,1372,864,560,703,739,821,560,390,465,761,1001,830,957,885,1023,984,844,1146,1128,1032,1260,1858,1658,1352,785,521,896,1266,1476,1208,1152,1382,1238,1338,1870,1874,1758,1792,1402,1174,1214,1114,1224,1212,1080,1088,1052,1042,1298,1338,1348,1194,1166,1338,1206,1082,1122,1106,1048,1048,1082,1252,1562,1632,1538,1152,1202,1640,1772,1500,1340,1218,822,813,1044,846,987,1082,1246,1322,1094,728,580,594,736,851,913,825,695,943,1158,1046,1082,1412,1484,1690,1750,1946,1786,1100,568,501,422,771,1402,1266,1288,1268,977,1274,1632,1686,1578,1534,1670,1586,1582,1732,1354,1522,1950,1558,1280,1130,875,1114,1326,998,955,1122,1088,1216,1232,1023,1040,850,1078,1074,932,1192,1470,1000,922,1300,1268,1066,940,1194,982,653,1032,865,716,892,770,578,890,991,803,713,883,1386,1114,1290,1100,798,1180,1268,1122,802,830,1154,994,885,1432,1350,777,458,396,517,1013,1032,1078,1092,1030,617,308,496,958,1338,1168,948,749,824,1086,1072,1144,1324,1174,999,1050,899,858,633,433,728,1076,868,551,412,403,443,421,426,466,497,518,601,549,366,302,384,433,817,1748,1876,1036,431,332,287,420,441,359,357,505,810,610,694,971,1304,1082,921,871,1007,962,815,1116,1286,1260,1096,985,1028,1188,1360,1394,1296,1036,856,772,811,691,666,636,456,597,664,353,285,264,312,544,712,616,833,1488,1194,985,1292,1136,1086,736,408,456,414,439,652,1450,1618,783,631,897,941,829,571,805,882,673,564,548,556,869,1006,598,403,432,462,488,646,458,385,407,444,416,394,450,468,373,341,357,393,499,561,859,640,503,630,514,437,474,503,487,615,820,735,686,655,782,747,575,691,661,551,689,1238,1426,1134,891,613,315,280,289,306,334,337,363,569,1062,1172,1296,1272,854,705,527,553,890,795,577,800,1098,1082,1272,1068,703,616,671,524,356,277,321,335,672,772,1330,1438,1114,714,581,669,821,959,1142,1158,706,366,275,415,365,357,431,386,450,457,339,424,390,368,430,614,685,370,569,772,1058,1226,907,427,552,897,909,1060,1390,1486,1388,1314,1138,943,1024,1324,1050,871,1412,1522,1214,1190,1296,1306,877,744,1114,1472,1082,494,624,754,1026,819,463,285,317,473,528,536,449,286,370,833,865,448,448,861,1144,973,588,542,492,425,419,531,798,684,411,375,397,389,330,296,414,398,430,599,460,372,405,393,438,521,568,521,418,409,458,376,309,590,524,366,422,506,538,549,554,512,494,542,503,598,763,819,720,585,634,681,618,553,534,579,724,735,479,321,316,314,305,289,278,298,323,402,425,435,547,625,480,306,274,266,274,303,429,625,733,565,442,487,626,577,416,296,263,302,354,357,367,487,632,857,811,855,941,885,615,473,506,662],[544,567,418,351,514,536,361,404,569,484,644,843,1140,1452,1404,1294,1250,940,891,679,496,623,1110,1400,1186,1354,1019,667,930,1094,922,849,775,814,1026,669,858,699,393,516,598,425,384,326,241,264,265,482,976,1246,1442,1424,1192,1234,1172,1024,1286,1484,1098,624,450,481,477,735,1152,977,771,1274,1158,1382,1754,1124,452,511,764,984,979,596,526,893,1078,1074,823,739,645,488,454,431,405,379,440,748,814,673,749,663,494,451,655,577,359,379,665,1170,1470,1116,1432,1584,1440,1406,1880,1970,1007,440,432,404,387,345,335,373,431,397,348,338,350,299,271,296,311,314,336,368,391,397,430,592,686,592,475,451,401,321,336,417,433,337,324,373,444,464,370,266,412,449,448,508,685,511,355,444,480,495,707,753,630,894,686,313,261,283,328,341,321,327,342,440,352,412,361,412,475,452,451,492,556,833,995,1004,1058,1020,1216,1088,1434,1444,1021,1030,1268,1330,1212,1160,1170,1148,925,658,782,842,832,927,1120,959,999,749,706,826,936,1082,1236,1250,1266,1230,1200,1182,1604,1320,1258,1174,1130,1158,1308,1372,908,627,789,1104,1304,940,658,928,1030,1192,1322,1448,1462,1296,1338,1114,536,443,518,794,1134,1236,1348,1290,1272,1342,1360,1342,1364,1694,1722,1312,1018,778,575,659,969,1234,977,1110,1480,1502,1250,1084,1158,1096,1102,1300,1530,1354,1400,1108,886,944,990,1022,940,654,691,669,717,706,637,822,756,777,672,558,527,554,589,597,560,490,465,509,633,738,502,634,1112,1284,1110,1078,1222,1038,807,777,832,1005,1126,907,1280,1062,841,961,962,808,560,480,484,442,442,501,661,879,1182,1364,1464,1426,1450,1350,1242,1272,1310,1332,1218,1318,1166,1730,1944,1538,1646,1400,1144,1080,1132,1194,1172,1250,1360,1494,1558,910,699,799,1284,1598,1520,1174,743,800,953,972,1078,1140,1246,1015,1116,1398,1444,1508,1498,1614,1882,1938,1742,1212,1366,1282,1142,1196,1174,1364,1608,1464,1094,895,937,1252,1490,1716,2178,1522,1500,1406,1206,1366,1346,1352,1330,1408,1490,1446,1372,1152,1036,811,925,1318,1528,1544,1384,1240,1332,1356,861,847,1614,1814,1488,1528,1810,1748,1558,1520,1414,1418,1332,1142,1420,1156,802,1132,651,394,463,495,513,857,1498,1068,1009,1052,975,1104,995,887,1204,1112,740,1128,1300,1314,1088,813,847,960,1016,1122,1020,708,873,1242,1348,1556,1510,1438,1382,1310,1318,1426,1540,1664,1330,1009,1148,796,954,1036,480,354,396,402,420,537,946,985,684,535,387,566,813,1268,924,977,1208,1226,993,1152,1528,1412,1076,995,1260,1386,1122,952,788,943,1013,1206,1274,1234,1326,1142,1056,1322,1266,1464,1730,1576,1770,1570,1428,1282,1052,1250,1366,1412,1500,1446,1328,1394,1404,1462,1538,1672,1622,1356,1378,1482,1388,1346,1296,1344,1514,1370,1438,1450,1344,1450,1448,1370,1412,1130,872,966,1064,1042,969,873,940,1386,1276,1132,1268,1338,1268,1248,1362,1362,1130,934,1004,914,912,972,1010,1040,994,1023,1222,1054,1164,1120,641,400,419,398,375,381,467,526,549,517,419,359,373,369,356,351,412,651,836,615,680,843,594,543,588,566,478,560,611,461,622,730,492,440,353,399,374,449,437,385,425,678,667,477,473,622,1028,1344,1626,1820,1702,1734,1686,1562,998,572,581,454,462,467,413,448,465,374,613,588,554,560,611,662,473,356,343,332,322,344,330,322,321,316,310,399,413,343,357,413,430,375,374,388,390,404,380,380,459,786,1334,1594,1766,1668,1616,1388,636,543,933,1156,1242,1218,1268,1196,1340,1176,954,791,800,1348,1636,1340,1072,1134,1314,1170,1218,1338,1134,1300,1770,1534,847,878,1172,1336,1098,749,1186,1252,1282,1376,1268,1380,1424,1340,1214,1230,1100,807,1044,1098,1320,1294,1210,1092,1278,1336,1298,1108,1216,1208,1178,1114,1030,1088,1088,864,1104,1174,1128,1350,1104,862,969,1056,1154,1200,1124,962,608,769,1302,1742,1266,1238,1366,1396,1566,1316,607,466,631,1138,1200,1360,1404,1360,1556,1262,999,1116,940,1144,1400,1210,1186,1278,1394,1322,1236,1212,1334,1382,1308,1242,1448,1508,1438,1312,1190,1174,1318,1340,1306,1174,1154,1284,1388,1248,1116,1254,1438,1242,788,802,1164,1534,1622,919,963,1078,1056,951,966,1236,1072,1040,1298,1152,1140,1454,1132,817,937,1340,1246,1142,1112,1600,2474,2238,1550,1172,1100,1003,1194,1240,1070,776,662,800,658,513,717,980,992,1236,1162,1196,1020,1122,1082,928,1038,889,912,962,1118,1126,1050,1064,774,1146,1218,1166,1158,977,1262,1398,1288,1208,1194,1390,1356,1018,585,464,579,602,626,915,1250,1578,1780,1664,1492,1520,1432,1440,1332,821,577,893,791,782,2054,2376,1696,828,556,495,690,849,611,630,826,536,367,712,686,634,713,791,870,924,1016,1278,1278,1546,1488,883,535,460,418,511,654,604,417,422,379,529,1394,2022,1432,899,1092,1320,1472,1332,1276,1298,1346,1378,1250,1013,1154,1614,1386,1252,1470,1666,1668,1592,1310,1122,1082,797,606,600,525,385,385,424,421,438,460,530,775,1100,1116,691,808,1144,1372,1598,1338,1108,1080,923,919,1042,1156,1220,1250,1266,1144,994,1172,1268,798,695,998,919,944,964,761,778,720,469,375,360,364,336,372,346,382,444,555,674,609,525,633,844,1046,847,502,607,806,955,999,796,740,803,975,1208,1214,952,1064,761,433,645,906,843,590,610,1086,1206,872,611,778,771,586,761,959,1322,1996,1450,1194,1466,1620,1514,1026,653,797,1080,1462,1648,1490,1362,1312,1152,886,867,1090,1658,1166,998,892,622,695,987,1004,906,974,1206,1030,1156,1164,1272,1308,1388,1082,786,1026,1208,878,859,1380,921,763,1234,1100,948,1130,1422,1194,912,964,923,839,1040,979,973,859,825,1170,1130,1260,995,910,1150,1350,1244,948,1250,1252,1098,1372,1524,1276,840,838,1460,1598,1464,1364,1142,1060,1040,861,485,440,522,1188,1788,1866,1934,1612,1318,1158,1012,1182,1180,1104,1228,1868,1566,1266,1058,816,900,1156,1366,1342,1342,1404,1032,1098,1676,1548,1604,1980,1818,1290,1096,1194,1250,1136,1120,1048,1026,1100,1284,1328,1290,1096,1202,1376,1250,1028,868,783,848,1096,1166,1080,1164,1388,1444,1316,1436,1656,1752,1606,1388,1086,688,833,1160,925,1040,958,1038,1056,934,879,912,1126,1224,1009,1050,910,745,831,973,836,1007,1232,1574,1924,2066,2026,1846,1344,670,556,492,600,1328,1650,1614,1122,1050,1358,1412,1402,1428,1442,1614,1628,1432,1296,1450,2868,2744,1726,1274,1136,978,1132,1256,973,802,1124,1138,1084,1100,910,1202,1274,1200,1030,1054,1158,1036,958,1174,1202,1116,976,866,957,662,536,809,1152,896,626,1013,1410,1428,1030,767,613,556,770,1100,1616,1346,1190,1132,1160,1328,1116,1182,1708,1362,1270,1372,1002,643,586,545,416,448,649,835,792,768,738,431,500,721,772,919,1378,1438,825,1012,1238,1172,1134,1019,962,825,717,1140,978,640,727,694,814,1048,780,454,468,499,494,696,935,711,365,285,266,261,285,405,742,1300,1348,874,549,414,319,370,403,325,315,343,434,469,694,855,963,1238,1374,1224,946,799,1004,1292,1146,990,1030,772,810,1444,1542,1356,1136,1044,997,816,865,857,954,848,695,448,351,346,300,279,439,597,602,514,1170,2270,1482,1216,1344,1474,1484,1180,799,584,409,448,973,1572,1146,699,883,1026,846,585,561,1032,1124,1126,948,592,623,1142,1504,1252,923,525,385,446,557,417,398,421,441,457,542,619,623,497,377,365,325,491,753,1164,946,536,484,456,477,783,996,865,787,490,473,560,713,796,598,519,594,478,741,930,697,1154,1814,1748,1062,560,353,287,334,523,571,977,1178,1007,1278,1280,1168,1084,1124,1466,959,821,894,761,936,1298,1330,1378,1374,1100,680,618,615,457,270,290,318,468,491,517,741,842,694,599,620,716,904,897,1042,926,559,350,279,273,318,433,605,857,895,436,661,793,497,532,727,602,645,948,770,834,1116,730,591,697,791,722,1150,1738,1846,1448,1102,1072,999,1032,1190,1058,1030,1416,1614,1316,1316,1216,1248,935,922,1320,2014,1508,718,692,907,566,366,437,398,341,401,465,371,328,476,645,524,459,386,523,1096,1466,1386,860,735,730,573,391,753,1280,1128,568,390,352,365,352,343,390,368,418,478,400,385,390,376,407,474,571,425,369,433,480,356,261,330,374,395,395,540,701,746,750,608,486,468,415,532,684,752,668,573,598,599,587,521,512,654,822,643,355,311,320,313,294,292,279,281,299,378,422,396,356,379,368,271,216,249,292,287,426,965,1120,795,444,418,389,541,538,375,263,278,323,429,743,1068,1102,1226,908,660,764,823,504,444,486,562],[680,714,459,327,509,474,343,420,542,452,486,691,1024,1212,904,884,1180,855,841,756,669,1144,1064,1010,1136,1114,963,760,909,1166,912,653,1084,1288,1112,569,448,360,316,709,892,875,875,561,297,243,298,428,899,1278,1326,1238,1142,1232,1266,1252,1386,1594,1274,656,461,424,467,732,1356,1058,769,897,1262,1780,1556,838,417,508,979,1009,994,835,1338,1018,985,963,785,740,514,406,358,366,392,360,521,1084,1204,892,778,632,579,751,986,791,420,941,1230,1126,1400,921,1232,1736,1944,1870,2176,1930,1034,411,378,361,376,338,329,340,436,440,391,393,426,329,264,289,310,348,375,383,405,441,586,776,756,580,471,444,396,380,391,434,412,374,539,615,654,620,504,388,534,661,483,578,719,478,379,484,521,499,761,611,523,621,459,321,278,295,378,350,290,275,396,573,394,413,409,383,424,397,397,435,648,1036,1118,1018,761,783,1118,1188,1274,1126,948,1156,1228,1156,1274,1068,1012,1058,929,857,901,972,1007,909,772,990,1110,988,1182,1296,1182,1190,1346,1250,1320,1300,1166,935,1210,1386,1398,1244,1090,1076,1232,1298,1078,1116,994,1198,1202,1086,850,985,1060,1174,1260,1278,1334,1346,1242,1020,625,527,565,500,657,1019,1274,1312,1340,1472,1600,1554,1510,1666,1122,1254,819,512,606,932,1206,1354,1246,1094,996,770,649,960,1282,1208,1582,1624,1490,1172,1162,1314,1410,1256,981,1046,1054,950,774,713,1176,1040,845,938,1066,1008,917,810,616,637,472,483,492,438,465,486,605,592,487,724,1038,1011,824,868,888,590,483,528,621,847,1090,990,1404,1520,1400,1190,816,760,553,511,448,404,381,459,499,535,629,799,970,1346,1454,1146,1150,1354,1478,1174,1132,1334,1100,1248,1362,1472,1704,1528,1178,1084,1046,1244,1370,1754,1834,1602,1380,1144,907,794,1086,1142,1010,810,692,762,910,1100,1128,1078,1140,1266,1418,1416,1482,1542,1476,1672,1834,2094,1516,743,829,1122,1168,1238,1408,1570,1482,1356,1362,1172,1170,1162,1510,1986,2286,1598,1376,1070,882,1156,1468,1494,1042,924,1468,1468,1366,1072,1016,1074,1404,1652,1594,1344,1266,1352,1288,1220,1208,1320,1582,1650,1632,1672,1492,1570,1482,1258,1284,1426,1374,1362,1400,1136,1206,1366,811,771,939,1100,1310,1378,1284,1206,1324,1132,919,1338,1258,833,894,971,738,778,1028,1332,1498,1228,966,912,856,1019,1360,1090,1412,2216,1384,1200,1244,1360,1532,1500,1318,1498,1452,1406,1272,1224,1650,1236,1200,874,507,469,377,359,430,669,922,824,699,616,465,473,666,1364,1294,1178,1220,1180,1238,1288,1019,772,835,1034,1236,1074,1156,1090,972,1140,1200,1200,1270,1208,1116,953,1016,1164,1276,1468,1622,1662,1814,1474,1052,901,933,1268,1632,1648,1604,1394,1204,1310,1466,1676,1698,1658,1598,1390,1244,1188,1404,1482,1404,1282,1394,1460,1786,1500,1404,1622,1512,1358,1310,1002,846,864,951,1274,1232,999,1096,1082,929,1020,1394,1490,1230,1122,1140,907,896,1132,1044,1242,1810,1504,1346,1015,812,1110,1458,1392,1158,1001,659,520,568,500,484,480,509,516,511,478,425,379,374,379,380,398,518,838,1232,1044,810,684,447,405,433,498,522,536,551,560,611,592,492,442,420,413,364,368,408,406,386,402,414,399,429,737,1126,1216,1484,1702,1716,1802,1774,1408,777,805,939,538,461,455,589,718,671,648,1028,814,561,594,681,717,519,336,326,336,326,349,337,324,324,338,394,561,498,346,352,359,410,402,435,430,382,394,382,427,543,1046,1500,1636,1628,1636,1584,1144,642,641,863,1060,1134,1176,1260,1248,1274,1108,969,757,1106,1820,1236,903,910,1060,1350,1122,1156,1330,1350,1480,1694,1404,789,1198,1398,1444,1106,1036,1264,1206,1158,1360,1266,1144,1104,1248,1328,1198,847,728,984,926,1214,1224,1230,1242,1170,1264,1342,1296,1282,1434,1360,1252,1076,1168,1240,1146,1618,1580,1240,1134,1060,1002,1094,1002,1064,1070,1084,1050,997,750,1036,1376,1116,1088,1312,1488,1500,798,484,567,1062,1216,775,949,1168,1172,1156,1015,895,881,1064,1160,1106,1148,1194,1118,957,918,982,1038,951,841,854,917,968,1042,928,799,849,871,807,706,714,771,791,724,644,735,938,962,1210,1244,916,979,1136,1314,1108,945,1172,1142,957,783,855,905,747,776,1026,950,975,1142,1018,1004,1290,1398,1192,1122,1026,1246,1324,1438,1834,1392,1138,1272,1494,1376,1220,905,833,1007,1220,1648,1548,2108,1508,1648,1294,1218,1138,1186,1086,1128,1110,803,660,800,1174,1128,1048,955,989,1308,1246,1336,1162,1072,1426,1488,1346,1058,965,1268,1326,1186,1124,886,809,760,836,1005,1262,1642,1740,1414,1360,1570,1128,1028,1218,891,736,611,421,944,1680,2032,1480,767,628,700,681,764,717,609,555,458,374,404,304,382,758,1124,966,755,741,993,1368,1716,1590,1198,685,462,549,705,902,752,410,437,449,409,736,1570,1268,1156,1300,1204,1182,1202,1256,1418,1200,1068,990,1152,1334,1506,1418,1302,1412,1492,1528,1592,1632,1458,1266,697,558,705,642,493,438,430,432,435,434,642,791,887,1094,1040,1178,1136,1342,1498,1242,1126,1066,915,966,1028,1000,1210,1472,1418,1180,1114,798,781,573,458,619,664,601,568,616,689,603,445,395,356,366,339,335,348,427,485,564,576,533,440,457,730,1046,929,675,735,1017,1042,594,446,497,494,491,653,802,805,1176,496,361,452,856,804,754,1206,1510,1186,854,603,475,478,467,567,1080,1512,1578,1144,1182,1428,1444,1644,1606,1442,1406,1278,1560,1610,1600,1592,1402,1074,1266,1286,981,875,894,1108,1216,1018,1013,1238,1400,913,966,1154,1126,1190,1124,1128,1186,1144,1068,1246,1514,1094,1118,1144,1056,786,588,871,1194,1054,1152,1486,1258,838,709,839,1108,1140,805,694,724,841,1130,1272,1268,1212,1148,1206,1338,1100,866,1384,1402,1194,1238,1340,1198,1164,1122,1144,1166,1208,1384,1152,1162,1266,963,574,478,467,1015,1544,1606,1654,1520,1282,940,1114,1092,1092,1256,1910,2142,1380,1012,968,936,1074,1406,1420,1490,1248,1182,1112,1266,1282,1246,1448,1572,1300,1152,1208,1204,1464,1384,1278,1126,1088,1210,1126,1248,1180,918,1023,1342,1346,1004,813,988,1208,1296,1338,1100,1062,1158,1204,1484,1624,1606,1760,1686,1434,1236,993,822,1208,933,936,1140,1378,1316,1164,1124,1230,1552,1622,1064,1204,1108,758,736,908,1009,1112,1023,1216,1472,1690,1898,1618,1156,743,563,609,608,1242,1490,1184,1228,1472,1296,1150,1362,1238,1218,1512,1524,1324,1330,1356,2212,1920,1122,1116,1344,1122,1004,1396,1258,875,927,935,1038,1156,1042,1058,1198,1206,1028,1106,1144,1084,1096,1272,1346,1452,1166,966,993,939,667,659,973,763,421,652,1082,1152,974,820,905,708,879,1444,1416,1040,794,725,1021,1262,1294,1422,1560,1292,1540,1326,887,747,728,547,445,411,466,661,808,838,601,536,485,620,869,834,1124,1007,634,1216,1654,1046,741,955,764,697,1134,1388,1184,874,501,513,1084,1584,1370,1023,576,520,596,952,1282,912,474,381,272,234,243,517,1250,1832,1686,1278,1164,872,827,820,484,322,295,305,329,432,703,905,1124,924,1016,1364,1406,1244,1422,1344,1204,1230,1528,1324,1052,1172,1422,1366,927,1096,1036,824,616,736,793,736,601,393,306,378,448,384,541,592,495,648,1644,2096,1504,1292,1206,1358,1562,1622,1450,1188,830,490,655,1004,480,570,677,1188,1252,710,866,1288,1376,1508,1396,1106,903,1003,1088,1408,1504,761,371,463,423,376,383,405,463,596,747,610,727,1020,572,345,350,542,566,449,433,386,298,455,1066,1626,1684,1582,1544,701,393,519,730,932,948,794,543,634,1396,1632,1148,1328,1588,1078,990,722,453,375,451,651,1120,1670,1154,1204,1708,1212,1384,1124,1186,2094,1642,977,962,774,886,1314,1288,1344,1408,1274,1076,655,638,615,450,290,307,521,623,590,780,943,828,653,487,593,834,841,726,698,564,375,388,438,509,747,736,871,879,572,981,1090,511,317,587,700,680,805,648,736,935,868,615,544,697,918,865,1036,1314,1244,868,474,584,852,977,1140,1174,1176,1066,940,948,1072,1132,1194,1302,1282,1062,872,764,976,1021,953,655,700,680,641,769,680,328,487,838,849,447,390,591,732,1242,1470,1186,786,673,698,596,464,719,1120,937,445,378,368,320,344,352,378,382,387,403,388,406,406,354,391,410,500,379,393,454,412,299,288,301,308,302,357,417,542,792,858,773,692,529,403,425,489,566,583,642,650,580,526,521,586,654,756,505,279,289,304,325,289,299,288,307,300,300,341,359,313,341,344,259,231,275,279,296,449,852,827,731,440,424,409,323,373,443,338,287,359,577,727,760,931,1108,1078,864,1138,871,753,915,603,603],[991,709,502,486,517,536,779,1188,818,458,517,545,701,860,756,984,1548,1332,930,1104,1250,1220,921,1023,1150,1148,975,668,698,571,639,1990,2102,1276,1058,805,567,476,626,964,1162,1206,1034,667,373,280,312,333,798,1098,1206,1122,1116,1256,1360,1294,1208,1566,1250,558,396,357,411,555,902,917,750,658,995,1218,772,854,606,386,348,479,544,742,2264,1930,865,661,647,566,406,328,246,275,442,672,915,1052,959,880,869,811,639,952,1364,1018,644,1404,1240,1098,1078,605,594,1500,2074,2024,1880,1378,780,402,352,344,365,346,335,359,449,475,412,457,546,336,275,284,287,339,387,365,402,445,612,714,666,505,376,358,352,396,422,484,347,368,530,602,550,532,757,874,947,1098,655,888,1268,964,518,412,487,503,571,451,394,357,336,381,348,340,388,384,354,337,425,500,414,425,499,460,343,328,350,442,724,1016,1344,1090,654,913,947,850,1058,1252,1130,907,792,1136,1256,811,898,1042,1012,1056,978,1005,1048,677,559,894,814,888,993,929,1116,1256,1246,1278,1344,1276,1386,1234,1192,1338,1426,1302,1146,1296,1250,1316,1352,1270,1140,1232,1206,1166,926,728,897,1010,1088,1272,1236,995,1346,1556,1054,778,854,915,1342,1522,1284,1260,1294,1424,1608,1638,1498,1518,1262,1222,952,874,1054,1188,1384,1444,1052,750,789,1002,971,1160,1418,1110,1350,1586,1360,1018,1188,1418,1274,1084,872,847,992,994,722,767,1000,1268,1472,1298,1306,1284,1088,918,807,852,563,520,582,496,467,535,673,591,504,522,559,561,582,821,1007,1082,1116,688,520,875,1310,1452,1714,1980,1780,1436,858,914,571,416,331,289,254,352,503,559,582,504,525,878,1192,1488,1238,1226,1158,1138,1278,1320,1302,1452,1542,1476,1444,1324,1214,1320,1358,1344,923,1356,1590,1606,1416,1338,1262,1040,923,1026,1230,966,886,1048,940,1017,908,862,842,1002,1166,1332,1470,1476,1444,1302,1023,1466,1506,1148,1076,1384,1520,1556,1554,1408,1220,1144,1246,1480,1384,1324,1556,1446,1512,1556,1408,1224,1005,1314,1616,1564,919,908,1296,1522,1636,1052,1042,1392,1722,1590,1226,714,654,791,694,786,1244,1602,1538,1620,1810,1322,1122,1374,1378,1322,1268,1360,1460,1536,1514,1476,1434,1284,978,791,1017,1378,1426,1400,1440,1404,1396,1142,941,1482,1324,887,897,1142,1202,1030,1100,1210,1108,1034,1120,1284,1562,1454,1312,1210,1412,1410,1396,1402,1096,968,1504,1672,1388,1312,1208,1138,1324,1454,1704,1354,1584,1218,469,694,459,422,552,1016,1140,1060,788,608,509,501,602,966,1228,1274,1192,1252,1244,1026,685,573,725,1003,1196,1264,1310,1268,1046,960,1232,1354,1378,1202,1002,1056,1478,1070,1126,1316,1424,1634,1662,1396,1034,1098,1056,1156,1488,1540,1536,1400,1350,1248,1450,1628,1554,1624,1548,1444,1532,1432,1788,1722,1588,1364,1300,1446,1498,1032,1090,1414,1394,1262,1280,960,880,844,961,1122,1090,1108,1178,926,856,1262,1512,1234,869,1086,1188,880,628,1144,1136,1694,1686,1326,1140,807,952,1212,1360,1240,1224,971,704,578,587,552,527,498,460,481,484,446,429,386,410,447,406,427,532,1012,1360,915,492,408,358,363,447,541,498,511,519,681,727,574,465,422,404,402,378,383,359,348,354,361,376,368,395,809,1224,1322,1482,1682,1670,1736,1920,1588,1000,955,767,466,424,384,658,761,888,1290,1512,1314,984,612,567,739,565,356,316,332,336,341,343,333,345,336,494,729,564,399,363,380,376,432,468,441,371,374,412,411,715,1306,1568,1688,1610,1512,1598,1138,1013,1118,1036,1246,1312,1316,1142,1104,1104,1064,1030,979,1314,1482,1074,906,982,1070,1036,919,1098,1128,1218,1340,1490,1610,1170,1246,1186,930,716,1206,1652,1306,1032,1378,1324,946,650,1116,1452,1486,896,823,1084,1172,1324,1288,1338,1296,1298,1418,1310,1180,1224,1560,1548,1580,1334,1208,949,1208,1404,1400,1152,888,925,938,1042,921,1266,1720,1522,1360,988,625,573,961,1232,1294,1366,1448,1122,564,741,987,1506,1186,728,577,969,1184,991,658,747,983,1038,791,753,637,612,617,681,645,544,503,536,584,642,568,624,713,725,781,691,678,674,763,757,709,658,686,788,901,1068,1080,1208,1242,974,860,1070,1042,780,1011,1262,991,616,513,647,659,789,915,925,742,794,967,1098,1334,1628,1260,1102,1418,1418,1490,1528,1842,1974,1770,1432,1390,1498,1460,1478,1368,1036,761,1120,1862,1548,1852,1154,1240,1224,1108,1020,1214,1318,1246,1194,849,671,682,772,1142,1386,1624,1598,1570,1404,1356,1202,1080,1286,1370,1352,865,747,1324,1336,1406,1412,1264,1126,1138,1346,1290,1314,1632,1762,1444,1440,1368,1019,917,1010,1246,1176,762,1054,1650,1260,1244,873,708,684,902,888,830,688,572,582,492,550,619,462,418,612,1084,1128,1082,724,714,1218,1612,1472,1056,763,754,874,1164,1332,851,413,497,579,509,540,708,667,921,1114,1058,1162,1316,1406,1266,1140,1056,993,1276,1406,1348,1194,1072,973,1106,1246,1476,1632,1632,1460,969,1362,1182,661,580,530,444,442,440,549,870,861,1188,1132,1230,1360,1494,1414,1338,1238,1080,986,916,1046,989,938,1158,1506,1472,1316,1178,976,848,592,469,537,578,567,634,720,949,714,550,503,405,371,369,338,432,486,480,553,509,463,439,471,437,560,819,795,668,808,1012,660,334,368,379,384,407,479,751,1074,438,321,331,833,896,804,1266,1020,789,1044,813,491,446,458,408,766,1454,1516,900,794,994,1088,1230,1676,1566,1190,1284,1654,1534,1542,1592,1300,1274,1390,1013,945,1064,809,679,471,619,1018,892,880,738,744,888,1058,1052,904,1090,1288,1044,653,1016,1340,902,1034,1152,747,455,326,606,1078,1012,852,908,1086,960,633,858,1084,771,599,684,705,614,824,1070,893,1116,1168,1308,1154,1154,824,1042,1196,1058,1234,1252,1006,1082,1004,691,642,874,936,1166,1340,1262,1094,705,407,416,790,1314,1448,1414,1220,1322,1005,1038,965,806,1130,1564,1478,1186,936,981,1026,1154,1402,1294,1320,1152,1128,1176,1250,1380,1306,1166,1100,1048,1482,1760,1376,1478,1356,1194,1206,1280,1220,1076,1178,1164,891,954,1432,1460,929,918,1296,1490,1340,1396,1248,1056,951,962,1114,1246,1510,1714,1676,1494,1308,1368,1090,1106,995,1228,1804,1972,1616,1290,1232,1354,1328,1306,1094,1154,1094,738,747,995,1170,1176,1094,1242,1244,1274,1574,1416,1202,909,600,803,871,1140,1274,1414,1554,1338,868,954,1396,1158,1058,1340,1370,1316,1372,1400,1610,1510,1246,1292,1220,918,839,1110,1196,889,791,1062,1132,1130,969,769,951,1194,1164,1128,1140,1116,1162,1158,1456,1472,1228,915,683,726,702,488,501,492,397,419,489,656,841,934,1014,940,1048,993,955,1066,559,606,893,1144,1318,1504,1194,1368,1238,1106,1082,887,656,683,677,575,697,1094,1850,1132,838,817,835,1130,1188,827,500,413,396,760,1040,470,407,704,566,544,1152,1010,811,595,495,537,818,1015,1266,1526,1100,663,729,1302,1572,970,561,401,312,335,310,489,1004,1636,1618,1118,932,1124,1360,1228,645,489,459,374,323,443,589,673,823,548,562,730,1262,1498,1486,1472,1340,1302,1144,984,826,1003,1534,1396,975,877,655,574,563,583,637,715,586,376,303,313,308,368,592,520,471,639,1352,1510,1044,1090,1394,1274,1304,1318,1340,1450,1220,695,720,724,632,800,717,1020,1112,871,1007,1198,1300,1436,1504,1246,959,1404,1070,1026,1036,597,474,481,376,381,401,412,487,762,835,840,861,1266,867,401,515,617,337,340,424,284,446,1242,1802,1610,1416,1918,2086,1192,478,503,601,794,1164,1102,687,1270,2090,2246,1864,1384,872,736,1028,764,532,515,480,658,1352,1346,1300,1546,1770,1350,1132,1210,1216,1380,1238,1098,1144,962,1018,1462,1414,1196,1294,1404,1388,984,667,588,613,457,304,385,546,697,1108,1112,872,759,736,523,566,698,859,929,739,611,635,716,824,920,607,541,408,516,905,864,494,355,789,938,482,508,748,844,900,855,784,885,839,1086,1082,818,992,1136,737,384,476,800,1102,985,941,973,774,705,929,1230,1244,1282,1036,920,985,1344,1009,1366,1438,1158,998,1066,1224,1358,1250,1024,636,808,835,616,534,1006,1322,1488,1736,1346,731,553,525,549,710,593,785,829,538,377,397,373,345,329,273,342,392,388,361,375,422,406,366,362,368,372,364,395,382,329,275,293,281,348,340,363,378,375,509,602,659,655,557,537,588,482,489,581,627,725,624,529,527,618,720,802,554,306,291,285,256,241,276,268,296,325,300,333,362,329,341,283,246,256,366,451,449,630,731,454,340,343,382,396,303,382,431,429,357,398,574,529,392,289,545,830,874,855,727,998,1028,606,670],[1084,672,729,880,758,554,983,1128,619,493,480,506,650,769,905,1366,1550,1166,987,1512,1674,1256,1230,1168,1166,1174,1182,543,532,493,441,1422,1662,1336,1124,1092,683,741,1140,1262,1564,1366,978,735,483,282,283,290,602,866,1044,1264,1240,1212,1360,1296,1070,1340,1074,520,336,322,379,503,586,584,566,577,1064,1178,932,939,700,463,308,656,850,986,1242,973,736,532,567,487,362,322,260,296,613,1019,1310,1224,1146,957,824,1044,846,808,1120,1198,1292,1138,799,1100,965,527,552,1036,1506,1586,1500,955,503,438,475,450,404,374,361,374,385,393,418,546,615,317,290,281,267,319,364,339,337,353,505,574,458,404,382,375,398,417,451,476,318,298,371,445,580,791,1262,1442,1150,1350,1130,1416,1952,1294,554,492,637,673,561,446,423,419,469,374,341,362,354,401,367,388,486,489,488,565,608,565,383,349,296,321,597,770,1009,693,472,918,1034,862,887,922,948,966,742,857,1284,1380,1072,1198,1052,881,1021,1192,902,449,589,948,774,818,854,859,1068,1170,935,1112,1394,1480,1428,1318,1208,1270,1444,1438,1362,1626,1318,1272,1320,1204,1074,1146,1256,1180,1048,1148,1056,899,967,1184,1278,1360,1274,1013,933,1096,1208,1462,1478,1224,1180,1340,1272,1388,1448,1546,1538,1360,1274,1324,1122,1054,1274,1274,1230,1074,1076,1180,1132,1338,984,907,1194,1280,1306,1274,986,841,1294,1514,1322,1296,1310,1212,1444,1200,797,827,877,1454,1698,1278,1234,1434,1216,1128,1116,1016,584,821,984,639,622,758,830,724,680,602,494,597,814,1194,1028,1398,1558,922,550,804,1190,1416,1470,1438,1348,1158,747,630,514,307,291,307,292,357,498,532,528,518,613,848,1180,1294,1238,1404,1320,1310,1360,1438,1404,1262,1282,1282,1168,1064,1344,1404,1452,1350,894,1114,1494,1606,1460,1402,1134,1108,1014,1144,1542,1466,1312,1468,1302,954,990,1023,968,939,863,955,1046,1066,1194,1200,902,1146,1336,1310,1310,1316,1284,1346,1434,1378,1294,1170,1266,1626,1470,1346,1238,1186,1294,1388,1524,1310,985,1260,1626,1784,1396,1096,1382,1594,1594,1088,933,1106,1240,1410,1062,536,739,731,710,962,1176,1154,1290,1390,1450,1318,1346,1222,1220,1176,965,1170,1334,1386,1530,1346,1194,1262,1360,1136,1174,1348,1110,1170,1378,1404,1578,1308,1026,1622,1582,1280,921,896,1294,1506,1526,1512,1380,1238,1332,1466,1620,1366,1128,1216,1444,1434,1396,1324,1054,1046,1272,1344,1432,1230,1086,1204,1066,985,890,795,1764,1656,554,572,470,427,579,1066,1148,1110,683,433,432,601,681,786,1248,1290,1164,1366,1180,902,908,659,662,1368,1632,1438,1290,1252,1208,1162,1392,1344,1182,1286,1264,1286,1476,992,1022,1288,1388,1458,1552,1436,1240,1588,1664,1224,1126,1384,1360,1312,1354,1266,1476,1652,1578,1616,1408,1170,1088,1180,1662,1742,1650,1482,1412,1516,1330,1074,1034,1294,1426,1340,1466,1130,1074,1218,1230,1364,1434,1374,1400,1304,1358,1570,1404,1384,1470,1284,1324,1318,1044,1144,1144,1378,1224,1108,1264,1270,1196,1174,1282,1260,1412,1044,824,719,641,684,642,518,432,430,562,540,501,477,486,435,445,468,568,1010,1138,731,419,444,381,395,526,574,448,413,418,426,454,456,493,469,435,434,387,381,372,372,354,345,359,392,410,531,808,1094,1376,1422,1144,1082,1514,1766,1722,1194,706,531,413,586,850,778,1236,1610,1694,1832,1376,822,543,613,461,330,310,319,331,343,332,322,334,362,619,916,860,760,488,375,397,398,361,381,392,369,397,550,1028,1476,1656,1718,1628,1500,1404,1122,1084,942,1056,1188,1260,1238,1054,1224,1420,1196,1114,940,917,940,1100,1132,1023,998,836,633,639,921,1152,1392,1606,1606,1194,1266,1192,1002,1012,1576,2764,2304,909,974,726,566,431,934,1188,1232,1082,1042,1220,1162,1132,1270,1152,1274,1606,1670,1334,1308,1580,1666,1626,1522,1454,1150,965,836,963,1410,1064,811,628,532,578,623,1046,1450,1654,1226,894,755,673,1192,1414,1376,1538,1430,659,545,996,1074,1066,1262,1188,781,623,885,1248,1028,1126,1128,764,613,664,649,700,628,557,612,602,636,656,638,716,666,670,632,608,828,836,662,632,810,1006,869,896,963,1038,1036,1180,1404,1284,1216,988,764,922,1088,865,858,1148,923,530,507,727,769,910,921,891,751,735,1026,1248,1332,1362,1108,1290,1514,1506,1556,1616,1772,1792,1716,1286,1364,1670,1582,1648,1714,1378,1009,1136,1364,1258,1234,1030,1166,1400,1350,1244,1260,1360,1426,1376,1046,1118,1108,918,1404,1582,1762,1714,1698,1666,1518,1412,1202,1212,1368,1410,984,1086,1488,1362,1236,1268,1230,1134,1350,1434,1270,1350,1676,1606,1516,1448,1304,1240,1132,1294,1616,1564,1484,2208,2514,1754,1384,826,834,881,896,922,929,758,753,921,972,929,939,650,453,539,1088,1350,1390,949,664,954,1316,960,523,706,775,1144,1560,1198,642,415,511,577,538,493,487,674,1018,1222,1434,1406,1192,1042,899,1046,1009,807,1015,1328,1158,1108,1262,1098,1023,1015,1230,1460,1760,1628,1418,1472,949,621,595,550,520,467,521,705,1048,1154,1740,1654,1600,1522,1720,1638,1208,1168,1082,935,921,1186,1302,1194,1154,1166,1260,1404,1256,1250,1130,677,527,615,777,608,789,1226,1478,860,570,576,457,350,326,326,460,512,385,486,536,467,432,406,389,431,541,602,478,662,881,597,355,394,398,400,380,437,990,902,421,358,325,789,849,611,844,749,1038,1032,733,545,393,372,493,650,1140,1136,724,564,517,539,977,1466,1694,1334,1350,1654,1606,1454,1298,1108,1140,858,432,570,547,299,277,280,430,803,716,611,921,891,737,1120,1146,985,1210,1430,917,540,652,897,714,850,862,436,296,239,426,740,800,725,648,1042,929,803,958,1008,764,619,597,551,476,602,943,1082,1334,1244,1304,1202,865,786,1042,1262,1376,1472,1238,888,611,695,587,481,573,562,779,865,808,891,832,637,520,861,1488,1928,1550,1368,1244,758,799,1018,912,1010,1150,1208,1064,970,977,888,1070,972,959,1106,1132,1150,1250,1252,1084,906,903,983,977,1140,1364,1270,1100,1044,1264,1302,1238,1250,1158,1166,1170,858,802,1428,1290,953,1328,1422,1230,1104,1052,1036,1016,1064,1250,1218,1420,1550,1674,1730,1640,1392,1182,1050,1176,1418,1722,2154,2182,1812,1418,1282,1302,1412,1312,1122,1162,1040,716,719,896,1136,1302,1180,1202,1368,1460,1744,1742,1804,1312,796,783,1098,1298,1260,1232,1342,1132,985,932,1210,973,893,1200,1360,1278,1346,1742,1874,1434,1112,1158,1017,977,1076,1056,1112,1024,758,812,1108,1144,1072,1046,1098,1300,1196,1092,771,946,1152,1108,1108,1176,1222,919,570,427,404,331,333,393,488,558,515,530,931,1068,927,979,896,997,1350,1596,797,519,900,1005,995,1068,1310,1408,888,737,932,1076,951,849,961,828,615,783,1258,1188,1214,852,1040,1426,1214,736,385,390,272,263,240,250,303,433,510,368,415,624,730,738,960,997,525,730,1248,1372,1090,852,988,1306,1254,753,440,367,505,455,378,433,412,872,996,745,783,1202,1272,897,717,656,468,436,514,425,605,531,484,446,415,697,1224,1130,1220,1378,1438,1184,1050,1216,1116,1210,1180,1346,1204,811,582,515,495,1023,1308,642,399,288,294,328,409,434,543,513,444,419,695,923,944,1022,647,758,922,803,1118,1194,830,583,799,861,850,1252,1404,1170,1016,744,825,858,1116,1354,1404,984,1021,1368,995,813,875,729,564,449,409,446,457,473,586,1178,1304,1484,1224,977,886,655,633,505,223,259,326,453,688,940,875,987,969,1192,962,548,332,314,474,773,799,712,520,1016,1528,1644,1194,836,958,1144,838,551,661,973,725,849,1400,1354,1140,825,1216,1222,1056,1068,1068,902,729,902,1162,1396,982,1362,1260,778,1088,1454,1390,1214,925,761,1010,674,347,347,430,445,914,1078,955,893,878,722,557,474,538,811,1166,1506,972,821,756,505,546,664,581,547,648,657,380,313,390,401,279,314,473,813,991,996,915,527,338,572,691,957,1188,1238,727,576,763,1074,1278,1250,1024,957,1126,1072,1198,1392,1226,1294,1070,1078,922,1076,1246,1320,1164,1078,1212,1382,1236,1102,979,977,1058,973,702,566,415,927,1806,2298,2042,1326,579,518,513,674,835,1084,924,538,406,393,368,332,359,378,279,300,403,390,321,379,477,424,372,354,382,420,484,497,413,337,343,329,337,347,340,422,417,368,360,389,474,543,522,557,688,581,621,720,663,664,569,518,521,553,745,815,339,266,266,252,289,261,269,277,299,316,276,298,319,335,379,291,264,349,679,888,941,1096,809,431,305,262,263,337,478,566,514,612,411,300,396,345,310,337,395,426,388,412,648,1122,1016,768,747],[633,724,1196,1520,1344,991,800,635,605,890,635,584,704,651,821,1110,1088,1066,1094,1592,1716,2040,2004,1492,1116,802,893,596,460,412,360,559,1358,1356,748,659,493,684,1068,1332,1360,1070,808,584,383,249,273,298,472,724,856,1066,947,1270,1168,959,1174,1258,883,425,294,333,452,625,678,653,527,536,899,1114,784,404,470,430,322,432,838,1270,1038,870,750,714,573,459,331,292,296,468,718,940,970,1046,1130,568,663,968,732,662,1150,1076,1290,1334,1002,1024,832,391,410,757,1042,708,516,412,418,445,448,413,377,368,381,410,388,393,589,781,587,350,346,354,319,314,325,351,366,405,524,490,354,344,385,388,400,328,382,432,326,312,395,631,1074,1162,1226,1428,1318,1422,1076,855,1446,1016,587,644,858,1058,749,525,451,428,471,354,334,356,403,455,461,462,462,484,536,625,652,561,408,375,295,266,430,503,440,352,510,767,780,572,556,732,885,842,664,892,1440,1498,1132,938,907,758,802,972,861,677,882,1092,857,1198,1086,818,990,1028,940,1086,1170,1080,1174,1428,1554,1202,1340,1600,1562,1604,1432,1276,1104,1090,1060,963,1120,1260,1214,1360,1138,1270,1290,1260,1524,1726,1332,960,971,1194,1182,1348,1240,1046,1156,1358,1244,1166,1262,1488,1428,1194,1166,1214,1148,1160,1094,896,1070,1046,1264,1122,1358,1338,1006,985,1166,1362,1350,1238,1146,929,1150,1158,1158,1144,1338,1324,1266,1096,1003,949,1013,1310,1350,1136,1202,1394,1206,1064,869,647,440,1150,1310,647,550,705,803,979,757,653,805,1048,1118,1238,1156,1058,896,749,679,892,1180,944,913,963,764,626,520,486,391,327,313,284,285,371,526,505,525,700,891,1288,1390,1428,1396,1320,1216,1204,1184,1604,1510,1258,1504,1418,1266,1252,1246,957,1242,1354,1100,1266,1514,1622,1550,1694,1218,1332,1332,1572,1610,1486,1444,1400,1202,1084,1138,1072,1188,1378,1396,1062,1176,1178,1340,1256,1144,1324,1164,1094,1222,898,957,1202,1298,1442,1352,1554,1522,1500,1466,1212,1184,1136,1007,1220,1456,1344,1202,1278,1468,1614,1434,1056,1288,1472,1506,1330,1402,1294,969,1076,823,633,828,893,1176,1390,1576,1560,1444,1318,1098,1074,1188,1150,1140,1266,716,405,786,1090,1172,1003,959,1003,1104,1140,1248,1272,1226,1284,949,752,1260,1490,1222,1726,1752,1182,1116,1222,1432,1628,1556,1580,1456,1698,2108,1572,1098,898,1005,1232,1224,1136,1392,1554,2128,1328,916,1072,1130,1304,1160,991,917,799,738,732,1070,1124,750,545,500,436,457,620,912,740,489,477,486,666,835,993,1312,1100,1074,1300,1184,1068,1316,1222,1100,1312,1526,1434,1382,1332,1360,1350,1236,980,1248,1466,1526,1406,1318,1130,1156,1242,1286,1344,1570,1608,1588,1686,1858,1404,1206,1562,1644,1588,1570,1418,1470,1588,1652,1624,1362,1104,990,918,969,1264,1360,1376,1538,1560,1452,1410,1198,1384,1434,1378,1442,1340,1284,1414,1310,1200,1262,1384,1428,1406,1700,1792,1146,1004,1280,1560,1626,1378,969,922,1132,1300,1200,1136,1212,1328,1160,1368,1344,1404,1252,971,820,690,658,688,662,561,483,526,762,767,883,1108,1098,1044,988,788,781,1066,1090,664,382,346,348,415,547,618,503,387,386,412,424,463,484,443,426,422,364,362,385,372,380,390,390,421,454,446,501,792,1106,909,585,552,758,1244,1788,1782,1264,852,576,854,924,971,1720,1532,1482,1582,951,1044,631,636,505,337,347,337,332,344,343,343,333,458,717,918,990,874,500,368,350,372,464,484,401,384,410,608,1278,1542,1676,1674,1532,1566,1234,1034,1170,1001,947,1072,1302,1356,1274,1248,1296,1204,1094,907,828,988,1056,1066,1080,870,953,776,764,1244,1312,1358,1786,1422,1060,1710,1854,1512,1356,1278,1648,1154,619,997,691,426,331,1016,1142,1096,1108,947,1130,1068,1256,1468,1300,1328,1472,1528,1316,1310,1570,1538,1564,1614,1266,1072,1074,697,781,1180,896,631,393,352,426,743,1094,1206,1102,835,844,777,915,1358,1602,1594,1768,1426,973,932,963,684,556,890,1256,1186,779,626,878,1266,1230,829,656,669,720,721,677,510,456,626,479,502,586,619,554,466,437,436,529,1090,1288,974,966,1378,1852,1318,1320,1308,1294,1570,1570,1468,1290,1054,955,801,1126,1636,1272,1082,1232,1026,673,686,843,891,868,991,1012,816,883,1098,1228,1010,999,1356,1256,1204,1420,1452,1366,1378,1570,1394,1138,1210,1372,1488,1522,1714,1506,1490,1556,1384,1388,1324,1080,1332,1332,955,1298,1512,1668,1764,1366,1448,1710,1630,1484,1200,1176,1288,1266,1386,1440,1522,1302,1274,1476,1416,1358,1346,1446,1494,1328,1282,1486,1244,1396,1720,1666,1324,1634,1866,1892,1630,1354,1222,1220,1378,1544,1484,1588,1652,2092,1510,1482,1218,744,1054,1288,1064,890,861,749,711,733,686,708,839,781,544,525,1290,1650,1222,827,578,716,1098,988,1468,1636,775,968,1128,667,365,379,446,474,459,428,466,692,999,1204,1170,1368,1316,880,708,995,1200,1208,1410,1332,1094,1238,1206,1324,1294,1206,1318,1986,2250,1886,1598,1330,797,653,709,890,1042,677,927,1080,1010,1414,1782,1672,1398,1638,2412,1904,1066,1158,1212,899,1054,1226,1232,1030,1190,1256,1242,1394,1418,1320,1080,592,495,644,1006,836,1058,1688,1490,772,486,474,383,326,355,342,397,525,540,546,480,434,403,330,350,370,465,700,902,1028,971,952,995,895,733,766,896,948,1348,1106,524,436,347,400,359,613,967,945,691,697,684,533,620,501,598,995,990,714,764,551,479,743,1326,1470,1760,1654,1758,1804,1500,1262,1174,1114,1017,672,437,643,486,337,285,318,445,965,965,777,949,871,561,1064,1396,1314,1224,1318,1023,954,714,774,739,702,591,409,536,673,858,879,898,647,651,862,917,857,1078,1228,882,881,888,688,602,603,720,1184,1274,1296,1362,1290,1114,900,1188,1992,1808,1424,1086,1010,830,988,763,560,473,443,550,606,707,968,1272,1230,933,1146,1440,1822,1548,1406,1042,795,1028,1072,1088,1096,1016,1007,1130,1152,1112,1048,1086,952,941,1136,1194,1134,1100,1064,1062,1038,1076,1072,1098,1005,979,973,978,1314,1522,1306,1226,1332,1208,1274,1244,1013,677,951,1108,1028,1030,904,977,1222,1204,1238,1130,971,1005,1062,1428,1310,1500,1714,1204,646,925,1334,1556,1500,1466,1858,2036,1780,1354,1418,1622,1846,1366,955,1078,1038,786,640,836,1186,1216,1156,1290,1542,1780,1896,1828,1842,1532,1066,958,1254,1480,1350,1098,1184,1023,1176,945,1072,1001,847,1100,1262,1272,1534,1740,1520,1238,1262,1198,1108,1068,1068,1186,1244,1232,1144,1142,1108,1150,1116,1064,1005,1302,1196,1142,979,1192,1216,1204,1132,1204,1326,1170,860,521,354,315,339,421,491,507,516,789,1090,725,568,645,707,1018,1398,1246,909,836,642,560,547,684,1078,1202,1148,820,574,524,979,846,607,779,945,907,723,871,1102,996,892,905,630,468,432,346,249,235,276,306,280,454,666,547,565,991,1001,1234,1318,1164,609,608,946,1080,850,697,724,691,596,469,426,536,1011,1001,706,760,528,767,1066,811,836,1192,1202,866,546,595,587,616,703,382,470,331,409,560,413,1018,1638,1432,1278,907,1102,1322,1318,1620,1620,995,749,1078,1260,939,610,424,569,1296,1754,1078,435,354,353,497,765,738,769,705,412,626,979,613,832,1366,837,452,576,758,764,869,739,554,534,570,745,1294,1638,1354,882,529,711,970,1534,1638,1242,767,637,656,615,703,822,682,577,405,431,463,511,612,1112,1678,1900,2010,1396,763,861,805,775,451,219,187,266,533,659,453,433,659,1132,1126,617,478,336,281,309,412,336,310,315,472,801,717,432,522,1224,1556,948,547,437,601,823,887,901,1004,835,763,814,988,1042,1084,931,882,1092,894,1076,1448,883,1048,1072,984,1126,1402,1264,1014,1114,1112,1266,1032,508,755,1023,608,585,825,975,996,913,830,739,500,338,639,998,1636,1126,992,838,659,1028,1490,1290,667,634,651,369,346,273,290,351,376,383,601,993,1482,1158,514,765,860,954,1720,1154,1246,957,711,766,880,1080,1168,775,777,1007,1202,1246,1392,1310,1344,1146,1310,1122,1106,1538,1484,1354,1342,1326,1358,1142,1150,1052,1122,1252,1062,817,848,757,691,1122,1706,1544,1060,594,522,486,648,983,1232,858,411,388,344,298,280,350,395,347,378,422,393,316,365,465,438,401,378,376,435,477,349,333,372,398,375,369,404,704,892,626,447,425,390,466,1054,969,678,548,459,440,557,644,572,509,614,591,565,780,856,365,249,229,247,258,254,260,277,312,311,289,276,274,285,279,288,287,520,929,903,1100,1090,665,376,234,237,266,454,759,532,458,620,435,264,288,303,294,324,355,296,276,291,475,679,683,729,553],[866,1254,1576,1786,1844,1818,1274,877,790,1130,989,897,676,1005,1248,597,484,771,1144,1622,1478,2088,1876,1500,949,824,1122,789,394,375,323,382,665,476,351,289,488,850,1072,1488,977,977,805,342,286,262,307,346,428,574,623,935,845,1170,1156,1414,1504,1268,849,397,353,518,736,797,1066,784,775,823,969,1156,743,458,460,508,469,354,509,858,990,805,633,777,600,377,324,506,634,796,1128,1202,1156,1166,975,900,1112,966,630,653,1170,929,710,869,1028,1098,893,474,440,951,1118,633,417,520,539,445,417,421,390,383,349,413,470,457,648,814,483,310,383,414,348,313,327,328,363,515,520,449,413,376,411,391,343,312,326,340,351,410,471,639,966,918,1092,1076,1226,1306,1146,1038,1102,948,753,895,1138,1090,842,796,714,491,403,424,461,558,689,597,518,504,506,454,455,461,480,467,397,353,248,240,308,339,296,275,298,345,401,416,428,454,531,508,511,819,1034,1130,1030,895,962,780,971,1226,1358,917,1017,1194,1015,976,1002,942,1124,1322,1380,1218,1212,1364,1332,1310,1398,1058,1072,1276,1338,1212,1192,1078,933,952,920,738,1136,1274,1212,1260,1278,1170,1154,1196,1718,1718,1338,1188,1104,1448,1456,1156,1284,1372,1260,1096,1064,1036,1178,1480,1454,1100,1186,1260,1122,948,868,992,1062,1280,1346,1130,1190,1280,1412,1332,1500,1642,1544,1332,1282,1226,1204,1070,879,1011,1302,1238,1292,1342,995,802,833,1054,1494,1176,1010,990,1188,1226,877,604,890,1182,924,661,622,754,865,864,852,982,1108,1015,943,1146,1406,1238,822,755,651,1098,1144,760,664,666,564,467,386,320,276,319,314,278,289,371,491,487,603,698,844,1204,1314,1222,1310,1278,1188,1236,938,1496,2208,1542,1428,1438,1364,1254,1112,1026,1312,1556,1622,1350,1438,1632,2020,1758,1494,1664,1666,1472,1294,1214,1172,1144,1013,1004,980,938,1054,1194,1064,1094,1074,1058,1118,1021,1005,946,637,907,1282,791,921,1234,1324,1370,1328,1406,1376,1344,1202,1044,1064,832,854,1302,1466,1124,1158,1390,1546,1634,1334,1278,1532,1730,1462,1404,1552,1388,1116,1004,801,789,843,1074,1348,1440,1482,1450,1374,1278,1120,1146,1060,1182,944,881,769,537,612,864,782,661,791,882,898,1100,1290,1344,1454,1226,750,552,895,1032,921,1342,1410,1132,1120,1272,1640,1786,1690,1538,1498,1774,1796,1190,908,1038,1350,1554,1494,1258,1372,1430,2068,1628,1334,1428,1274,1202,1062,772,916,1013,874,799,1005,1230,951,626,524,579,650,1072,1302,719,432,442,500,616,897,1162,1560,1150,1254,1296,1096,1116,1174,1372,1322,1160,1714,1492,1350,1230,1196,1204,1156,917,1090,1418,1384,1226,1104,996,1208,1314,1334,1320,1484,1602,1586,1512,1532,1512,1492,1614,1604,1412,1504,1526,1688,1438,1232,1350,1238,1134,1066,935,930,1062,1082,1072,1210,1404,1606,1504,1224,1284,1316,1394,1506,1336,1270,1362,1288,1084,1140,1202,1256,1296,1210,1252,1096,1134,1360,1444,1322,1190,922,1042,1304,1572,1086,1042,1160,1444,1382,1296,1174,1116,921,767,714,667,642,567,642,486,440,503,601,827,1246,1428,1460,1424,1192,860,951,1300,1234,542,389,568,809,716,631,621,565,444,361,405,443,475,436,379,368,387,368,351,368,365,376,392,396,421,448,461,468,554,696,543,474,463,499,670,1172,1782,1988,1508,1064,1102,1036,1284,1686,1442,1316,1322,1028,802,482,604,550,338,337,337,347,380,402,373,328,588,664,615,771,696,419,349,298,361,529,592,507,422,520,1136,1454,1594,1654,1704,1766,1708,1266,1064,963,634,703,1258,1516,1308,1230,1132,1148,1324,1272,917,771,916,996,898,1026,601,733,692,718,857,995,1408,1954,1678,1300,1660,1576,1064,999,677,538,401,597,1104,730,468,504,741,1102,1350,1406,1522,1626,1070,1034,1202,1500,1292,1294,1320,1280,1220,1230,1384,1434,1320,1098,1092,1124,938,1160,1038,1076,1002,766,489,630,1068,1198,1112,899,1134,1246,1126,1098,1210,1472,1704,1500,1506,1542,1318,774,606,524,610,902,1520,1226,824,589,803,1202,1178,1060,1048,949,933,973,699,619,1009,653,439,560,619,546,473,511,606,709,899,1156,1334,1358,1606,1950,1432,1346,1418,1234,1698,1728,1586,1782,1528,1188,860,1144,1340,1226,1270,1290,1274,1110,1021,1072,1034,850,961,1142,982,815,710,837,1168,1362,1188,1110,1284,1256,1158,1304,1522,1540,1272,1212,1240,1498,1488,1374,1606,1666,1572,1610,1644,1648,1266,1282,1218,988,955,1498,1556,1610,1822,1516,1614,1594,1610,1378,1032,1346,1132,1434,1260,821,1038,1466,1722,1576,1378,1482,1556,1416,1512,1394,1326,1276,1156,1402,1626,1638,1692,1822,1764,1706,1440,1298,1194,1030,1018,1164,1322,1500,1614,1386,1388,1252,872,1064,1598,1716,1330,850,661,428,330,471,628,692,871,857,543,348,985,1558,1250,970,814,882,1236,1272,1560,1013,601,634,509,423,387,392,435,506,508,410,445,657,944,1146,1224,1334,1132,725,683,1214,1446,1230,1248,1250,1262,1444,1170,1156,1254,1152,1134,1360,1892,1644,1368,1410,1206,779,653,772,928,905,1078,1120,955,810,952,1186,1208,1238,1144,1056,1000,1116,846,932,1076,1132,1100,1058,1208,1282,1112,1194,1328,1230,1030,633,554,601,778,664,927,1226,1021,619,450,398,342,336,351,342,404,554,650,543,474,415,376,381,378,381,422,593,695,985,1086,1060,1020,873,1310,1714,1764,1568,1502,1346,895,839,786,736,612,809,814,694,571,776,821,709,687,550,543,773,806,709,869,638,508,600,1118,1266,1384,1754,1978,1680,1256,1126,1186,1328,1170,855,838,1005,799,630,460,466,802,960,818,902,788,709,508,927,1066,1005,1190,1160,951,972,912,818,901,977,647,550,768,868,858,1046,1078,800,1002,1156,987,742,898,1098,1026,1048,976,709,555,513,608,1032,1092,1238,1432,1432,1132,767,1062,2104,1500,1204,1062,1096,1028,1044,977,909,723,688,756,702,861,1290,2030,1476,1160,1240,1532,1966,1824,1366,932,770,865,854,1116,1044,1036,1064,1322,1160,1066,1148,1138,1126,1232,1208,1190,1108,1138,1262,1196,1106,1196,1244,1236,1010,935,1028,1292,1588,1394,1230,1206,1230,1168,1542,1362,1104,934,1034,1178,992,828,839,1208,1522,1262,1170,1011,875,940,1238,1478,1376,1424,1584,1180,981,1510,1418,1134,1100,1304,1378,1142,868,1282,1832,1918,1844,1368,865,901,825,708,695,736,1002,1454,1382,1256,1396,1710,1846,1848,1788,1474,1350,1476,1576,1600,1398,1274,958,1036,1158,969,1062,1032,758,870,1088,1262,1114,1094,1178,1194,1236,1438,1424,1026,1094,1416,1360,1190,1248,1208,1048,1080,1296,1128,971,1192,1322,1142,1174,1196,1136,1180,1070,1132,1130,1294,1078,610,405,339,452,536,501,524,730,1122,821,441,264,278,633,1016,1278,1098,1116,1162,850,508,469,567,563,752,1068,715,501,354,400,683,807,1056,1230,1310,1192,1016,946,1248,873,542,419,411,342,272,230,220,242,232,411,822,974,771,1130,1062,734,1278,1544,924,563,681,670,857,885,695,611,607,450,346,633,758,1016,1290,1192,1064,577,695,962,713,776,1204,1378,840,818,1008,943,937,706,369,267,208,437,633,411,809,1460,1382,907,706,619,1108,1504,1754,1560,820,660,1023,1074,988,1110,922,620,675,932,645,367,361,346,424,495,604,795,675,361,564,896,714,659,736,481,368,396,601,667,848,1236,1366,1344,1046,953,1042,1552,1146,1392,1008,837,1368,1748,1540,1132,910,829,561,492,645,715,849,841,455,405,464,495,1162,2024,1802,1140,1164,1182,877,786,754,704,447,245,227,277,469,435,387,651,1042,1310,1192,754,433,380,339,260,265,295,293,319,310,513,756,735,766,900,746,564,578,502,429,764,642,543,637,872,1030,980,860,1076,1536,775,557,885,971,1134,1164,1210,1228,1378,1356,1050,1288,1112,691,981,1194,1100,689,440,726,1092,1156,709,437,655,854,860,849,785,517,387,391,710,929,898,1174,1204,1124,1348,1648,1382,630,553,508,410,280,268,312,407,440,546,634,816,1042,835,533,1068,1050,1009,1556,1304,1288,1340,1252,1086,920,800,821,695,642,524,881,1138,1224,1194,1410,1498,1420,1152,1428,1644,1464,1360,1248,1286,1344,1396,1010,913,1222,1138,827,896,1224,1230,1092,1150,1482,1440,1434,1048,562,383,401,668,1005,828,412,310,277,277,283,372,344,338,385,402,438,378,374,443,418,347,374,458,404,380,255,299,341,364,393,376,653,1288,1444,1404,1026,761,633,446,1130,1356,1376,1052,629,491,411,441,446,482,576,559,602,902,668,299,214,241,304,281,223,243,321,370,331,348,310,304,366,336,276,248,416,681,819,832,794,977,488,245,230,232,320,496,326,268,345,353,289,237,263,287,259,283,283,288,270,264,247,303,401,425],[1594,1592,1570,1852,1968,2072,1862,1308,840,770,999,1003,621,547,507,385,429,671,805,708,974,1180,1264,1382,1038,1094,1214,755,529,419,390,467,948,742,399,315,478,899,1196,1260,761,467,489,345,348,300,397,440,378,433,590,971,978,1120,1274,1370,1450,1230,748,379,433,680,858,1372,1738,910,816,938,1140,1236,1090,854,530,822,634,440,429,736,1272,1440,1072,923,991,750,518,650,840,947,924,842,1310,1340,872,738,1114,1246,830,535,884,1060,1056,1180,1216,938,890,814,841,1054,1276,1018,617,580,593,441,417,380,377,391,389,669,828,579,469,474,347,278,327,374,325,321,380,344,336,455,443,392,439,454,463,426,391,378,393,429,430,436,518,633,748,604,724,939,1064,1224,1720,1694,1178,964,866,1052,791,826,943,1160,785,598,563,647,833,905,877,509,413,491,508,460,404,419,442,483,448,355,300,317,309,310,312,282,287,252,288,324,307,322,341,700,947,828,1002,1158,788,473,433,675,841,1144,1294,915,861,1126,1160,1112,1282,1322,1250,1154,1226,1240,1014,707,651,771,1098,872,580,965,1198,1278,1354,1226,984,1005,780,833,1350,1210,1078,1422,1372,1236,1202,1250,1564,1250,1020,1076,1250,1462,1564,1282,1516,1816,1432,969,1032,1390,1212,1218,1386,1378,1242,1108,888,717,891,1026,875,1084,1298,1222,1138,1192,1378,1340,1538,1600,2122,1468,1282,1698,1476,1256,1032,792,899,915,928,874,806,1070,1152,1216,1218,1250,1182,1142,1290,1456,1192,698,916,1188,835,808,542,580,893,578,761,841,606,604,796,1570,1624,1298,1122,1256,1392,921,620,605,557,474,437,442,380,325,269,316,313,292,296,328,403,412,706,1036,1300,1492,1462,1418,1394,1190,960,738,936,1346,1628,1282,1356,1358,1308,1454,1466,1216,1258,1572,1804,1546,1506,1358,1502,1542,1538,1802,1642,1454,1614,1378,1166,1048,962,1190,970,822,1058,1078,827,940,1108,1080,955,1078,1072,1048,629,823,1310,944,913,1100,1342,1158,1036,1382,1382,1009,851,611,500,524,1046,1516,1390,1230,1406,1502,1650,1650,1596,1594,1368,1356,1216,1292,1632,1434,1382,1222,1202,1254,1276,1284,1312,1406,1384,1240,1370,1364,1328,1298,1100,982,864,790,566,354,512,901,1208,1116,916,907,868,1160,1358,1400,1396,1168,875,770,843,667,889,1322,1384,1376,979,1136,1516,1598,1494,1532,1518,1442,1336,1104,1013,1300,1632,1360,1176,1100,1272,1286,1584,1512,1470,1808,1462,1080,951,670,629,773,664,725,829,1220,1070,713,590,711,815,1050,1346,711,418,395,465,626,868,848,842,871,1160,1362,1354,1240,1018,1196,1156,1274,1378,1232,1318,1240,1372,1416,1292,1100,1046,1200,1256,1360,1260,1422,1434,1428,1334,1312,1422,1570,1548,1612,1690,1596,1548,1576,1528,1510,1632,1616,1666,1234,1202,1224,1052,1242,1366,1062,969,1190,1412,1386,1274,1410,1318,1162,1146,1234,1276,1358,1376,1354,1346,1254,1180,1007,1020,1002,1088,1100,858,809,1180,1422,1354,1120,985,1126,1278,1294,1228,1446,1274,1190,1184,1626,1478,1142,1324,1286,915,637,681,794,800,735,741,669,505,432,505,902,1262,1224,1308,1278,1150,868,1226,1268,1038,508,356,959,1190,1026,885,623,666,573,541,761,758,558,422,360,368,397,378,348,361,387,387,368,376,414,399,404,439,504,486,433,438,448,601,752,779,1026,1522,1854,1920,1602,1406,1582,1620,1406,1442,1488,1488,1054,515,568,636,336,328,325,348,420,466,393,519,661,513,394,468,450,369,333,289,320,498,651,626,555,760,1240,1530,1692,1638,1644,1710,1662,1234,1170,949,677,680,1084,1402,1268,1248,1290,1296,1418,1184,520,565,903,1120,749,813,625,588,593,631,733,841,1204,1778,1636,1306,1372,984,814,1110,886,554,438,678,742,667,979,1176,1334,1650,1546,1412,1164,1106,1052,1038,1122,1252,932,1194,1334,1126,1040,1144,1262,1314,1124,1114,1042,1218,1292,1300,858,767,903,683,579,1116,1350,1206,1058,1096,1676,1634,1096,1088,1021,1448,1436,1056,1004,1122,1350,893,602,565,550,559,952,1346,1224,776,552,749,1050,1144,1192,1382,1382,1312,824,586,630,454,522,648,814,682,554,820,1019,1356,1534,1106,1360,1304,1248,1362,1278,1196,1262,1074,1302,1642,1678,2094,1290,1086,1086,1460,1310,937,1011,1062,1152,1160,1034,908,929,731,938,1250,1276,1144,850,817,1290,1168,824,860,940,935,1146,1316,1344,1328,1286,1270,1430,1412,1342,1964,2424,1830,1300,1406,1788,1944,1336,1860,1096,973,1504,1622,1368,1224,1256,1240,1052,1080,1316,1260,1174,1606,1202,1444,998,658,704,1038,1190,1274,1268,1198,1302,1334,1412,1444,1394,1312,1376,1410,1584,1608,1798,1648,1384,1400,1544,1376,970,756,799,1308,1458,1198,1430,1534,1558,1210,782,790,1166,2034,1454,703,738,620,402,419,663,911,1002,728,451,535,906,1086,1238,1298,887,821,1102,1292,1356,1036,1094,901,529,387,381,442,441,492,492,450,509,684,767,1074,1440,1362,1200,849,948,1130,1360,1436,1192,1094,1278,1498,1190,934,982,1180,1194,1828,2388,1268,1218,1544,1460,1284,1460,1292,921,869,811,1398,1484,704,667,952,1226,1324,1322,1122,787,790,790,854,963,1009,1068,1172,1188,1138,980,963,1110,1148,957,599,488,521,510,573,741,979,976,607,441,379,379,357,360,358,372,571,621,498,469,428,411,440,400,482,413,416,369,460,429,422,439,713,1492,1810,1622,1400,1278,1008,1200,1566,1348,680,743,1122,1098,954,923,987,991,726,479,639,645,716,514,569,617,545,583,679,830,967,1242,1694,2046,1686,1286,1578,2010,1386,1048,1070,1042,803,806,818,635,763,1072,819,599,641,556,576,804,1126,881,819,976,886,953,1108,981,969,902,1016,725,534,755,838,628,939,962,647,619,818,982,724,495,442,689,724,619,500,456,357,450,755,994,1148,1218,1340,1114,846,894,1528,1440,1326,1206,1166,1148,1116,1194,1214,1150,1212,996,605,849,1218,1606,1256,1088,1188,1476,1692,1522,971,707,682,671,869,1156,1248,1232,1106,1338,1296,1192,1214,1160,1348,1736,1344,1256,1004,1028,979,955,932,991,962,962,1076,1244,1372,1284,1370,1258,1142,1184,1302,1294,1198,1108,1096,910,746,847,933,772,697,1158,1290,1244,1186,1011,1034,1234,1456,1516,1396,1358,1500,1226,861,1368,1390,1710,1702,1412,976,1142,1534,1772,1756,1592,1840,1522,853,847,800,874,904,841,926,1302,1164,1138,1418,1614,1958,1982,1648,1480,1476,1316,1244,1570,1816,1444,1136,1290,1076,830,933,1023,656,662,933,1334,1326,1218,1036,1146,1242,1500,1534,1248,1240,1386,1362,1284,1226,1112,1126,1094,1302,1200,1026,1360,1370,1212,1374,1226,1118,1262,1270,1138,1156,1318,1218,1068,836,618,565,695,837,626,799,1096,430,280,240,309,458,829,1068,815,878,1164,1090,636,539,436,361,388,361,436,426,360,343,429,846,1278,1438,1272,1326,1390,1132,846,576,451,380,370,284,255,249,242,289,435,558,856,1028,950,1270,1138,913,1302,1542,1432,1142,820,630,639,763,639,708,1038,700,308,466,603,506,1028,1060,688,556,805,1092,799,791,1124,1332,776,846,948,912,1012,685,299,274,235,322,497,471,407,545,520,400,759,820,848,1340,1510,1426,1368,991,629,657,943,1194,871,588,705,649,385,279,268,291,331,344,371,644,982,503,455,777,872,664,617,448,339,326,456,702,1150,1864,2408,2648,2052,1184,918,1112,857,1286,1148,1038,1136,1172,1180,905,935,881,473,493,758,796,1028,814,413,393,415,701,1696,2332,1406,886,601,866,1023,830,869,778,541,326,247,257,325,362,710,1340,1360,1266,1058,855,594,426,350,393,374,316,321,358,401,408,567,938,1274,1388,716,548,532,526,711,764,562,500,566,810,1192,1128,929,1078,1356,1012,580,485,598,741,1136,1372,1216,1468,1316,1009,1152,938,618,1036,1260,1268,852,522,417,508,631,568,376,337,459,647,784,782,578,568,383,431,599,684,1068,1372,1692,1572,1226,1402,1140,538,435,531,410,351,330,297,455,769,841,913,991,1180,864,576,742,1188,1444,1248,1094,1108,1192,1224,1122,805,746,1106,911,836,1001,1434,1504,1214,1334,1546,1528,1260,1234,1214,1178,915,901,932,1080,1250,805,629,971,1152,1076,783,984,1406,2032,2212,1674,1284,1494,1100,495,401,405,419,456,485,510,429,320,296,314,350,282,262,282,353,415,428,440,455,464,359,356,472,426,362,287,304,324,320,328,301,722,1486,1860,1426,1023,1208,1188,1086,1294,1548,1866,1444,996,684,459,459,462,554,540,538,695,735,373,241,235,244,295,283,220,249,325,390,310,344,329,362,415,313,224,235,252,307,412,420,498,811,382,234,224,207,220,239,235,233,254,271,202,206,245,253,277,270,262,245,241,224,245,254,254,254],[1772,1600,1672,1882,1992,2074,2028,1952,1490,949,880,735,729,750,497,436,549,1012,849,767,931,1100,1360,1192,949,1094,965,813,908,814,829,526,676,866,658,556,885,1274,1176,832,854,1308,1344,623,415,453,783,946,705,626,711,752,709,841,919,1110,1272,825,482,321,341,482,477,1178,1350,673,442,789,1034,1152,1402,1114,669,736,465,431,658,960,1200,1294,1232,1082,830,662,692,704,933,1014,1168,1100,1344,1280,1062,1072,1058,1098,921,564,709,1132,884,539,641,517,777,912,894,1026,1300,1188,1030,633,536,418,409,392,357,364,367,561,691,501,379,397,341,269,308,317,340,339,398,389,373,400,384,435,536,600,550,484,472,448,430,468,469,524,739,1228,1332,819,778,1021,862,1166,1702,1594,1322,1026,926,823,686,551,648,814,738,800,796,988,1138,1156,920,621,755,499,383,471,612,612,579,602,502,400,347,365,348,324,307,252,216,225,299,336,359,371,405,901,1296,1158,1088,1132,742,618,589,1001,1018,1142,1274,1070,814,830,871,989,1276,1228,1110,1048,908,973,790,574,541,667,877,648,592,995,1162,1190,1078,1014,760,820,706,841,1044,825,1009,1542,1446,1380,1390,1478,1252,1192,1216,1248,1232,1320,1280,1164,1544,1648,1362,1216,1270,1566,1130,1088,1182,1442,1400,1166,904,1104,1274,1266,1326,1228,1186,949,1032,1000,1192,1380,1058,1412,1780,1338,1422,1372,965,806,717,535,542,950,1250,1224,1270,1272,1082,1004,1152,1498,1682,1410,1404,1504,1268,974,1098,1084,931,819,483,414,475,569,837,880,933,789,1208,2142,1752,1036,962,1224,1238,743,512,518,448,417,398,388,383,327,292,328,289,282,290,323,387,438,591,1050,1394,1400,1306,1296,921,657,974,1034,1168,1494,1494,1368,1444,1406,1242,1310,1432,1030,1086,1518,1410,1352,1344,1294,1340,1398,1538,1626,1442,1384,1380,1430,1512,1304,1064,1192,845,777,940,758,670,919,1060,856,1003,1170,1176,1076,925,1144,1238,1086,1332,1226,912,862,991,1148,974,627,799,559,402,572,1130,1316,1286,1298,1384,1524,1630,1804,1892,1572,1230,1178,1192,1394,1598,1358,1450,1318,1364,1566,1468,1234,1228,1242,1226,1194,1146,1136,1354,1392,1136,886,866,697,380,445,624,879,976,1076,1114,987,1026,1148,1218,1206,1078,1206,1228,822,816,608,1015,1236,1262,1246,1192,1236,1284,1302,1174,1064,1098,1344,1408,1322,1416,1534,1550,1408,1266,1360,1476,1460,1466,1328,1516,1474,1021,960,764,637,755,864,824,972,941,1060,1005,724,711,913,1070,957,1204,906,722,859,821,758,1138,1340,1238,1194,1016,1284,1654,1294,1064,1236,1274,1318,882,941,1178,1360,1548,1322,1132,1292,1312,1256,1404,1556,1330,1356,1146,1164,1238,1356,1622,1584,1418,1512,1458,1450,1430,1486,1550,1526,1484,1570,1442,1184,1170,1166,1084,1338,1494,1154,1017,1042,1122,1196,1392,1422,1166,1044,1044,1174,1260,1296,1234,1116,1128,1150,1306,1344,1264,1044,952,1024,1094,1126,1216,1282,1274,1218,1068,919,1272,1178,1112,1358,1318,1274,1328,1410,1216,1023,1068,1220,895,661,739,787,894,802,792,990,800,505,457,783,949,959,1374,1288,1236,854,1282,1136,816,548,589,1046,1322,1730,1638,683,648,678,785,1360,1268,707,397,368,358,351,361,346,340,367,360,340,382,387,359,380,372,435,521,481,581,968,1218,1094,802,782,1180,1826,2100,2060,1914,1706,1654,1598,1606,1626,1354,896,561,613,579,357,348,328,389,471,416,371,518,480,379,400,382,359,412,338,300,314,396,546,642,803,1198,1506,1762,1850,1662,1614,1594,1476,1006,1052,946,587,567,872,1254,1344,1220,1202,1472,1360,1007,460,477,693,699,498,672,886,1050,1026,764,994,1412,1486,1870,1466,1244,1158,698,779,1042,1088,916,862,955,1034,1190,1426,1494,1294,1240,1220,949,1060,1468,1256,1186,1282,1162,936,991,1050,1108,1428,1458,1294,1146,618,888,990,1130,1346,1094,683,676,700,495,774,1308,1202,952,880,1412,1578,1260,946,902,1268,1616,946,515,394,661,1034,1256,874,670,525,567,576,911,1274,1208,815,631,573,577,699,839,683,730,690,528,434,497,639,720,778,822,863,1002,981,1140,1208,1114,990,1262,1416,1410,1256,1252,1302,1000,1372,1810,1592,1790,1660,1650,1226,1218,1206,1028,1012,1132,1130,1270,1260,1114,1214,1100,1208,1142,1902,1842,1184,935,927,1052,1042,1032,1084,1480,1792,1556,1290,1250,1314,1352,1576,1498,1428,1682,1598,1372,1134,1226,1340,1364,1526,1706,1048,1056,1298,1420,1590,1582,1372,1250,910,835,994,1092,1180,1242,1154,1390,1098,831,981,1144,1046,1178,1176,1070,1132,1422,1430,1520,1424,1758,1722,1656,1648,1774,1766,1432,1460,1710,1692,1450,1022,747,1024,1694,1500,1242,1320,1424,1656,1294,891,716,806,1614,1118,538,649,751,481,326,437,663,852,805,722,1200,1322,1354,1340,1356,1196,1384,1112,1276,1434,991,824,580,567,422,422,442,456,555,559,653,745,930,962,887,1038,1224,1342,1118,1336,996,1262,1416,1326,1434,1522,1354,1202,910,1092,1332,959,835,852,1210,1428,1606,1612,1434,2136,1988,1340,794,741,1562,1852,685,769,1026,1090,1170,1248,1080,867,755,846,1030,1010,1052,1148,1186,1102,1054,1138,1134,981,1190,1074,765,722,610,519,603,661,930,713,498,473,432,422,404,404,370,333,419,456,433,459,393,395,420,368,448,566,538,445,442,592,813,779,954,1132,1016,878,1060,1360,1028,1044,1190,1032,932,1004,1136,1250,1262,1378,1392,1208,855,1042,1318,891,763,890,803,593,639,764,716,688,907,1224,1588,1838,1870,1422,1758,2226,1438,1416,1828,1196,661,720,748,739,659,700,533,430,433,662,943,1106,1202,908,758,1016,867,949,843,738,854,883,956,874,691,697,547,432,617,843,930,453,680,1188,858,460,354,522,546,517,464,436,422,584,1068,1180,1176,1080,1180,1272,1262,963,1134,1216,1230,1284,1208,1174,1078,1132,1328,1470,1736,1532,804,1000,1538,1482,1236,1188,1246,1580,1666,1316,731,723,1106,1090,1210,1146,1094,1078,1190,1376,1298,1210,1108,1094,1142,1226,1068,902,846,987,1034,1064,925,781,1036,1394,1432,1626,1666,1236,1007,1006,1190,1272,1194,1206,1124,1202,1406,1122,839,877,1140,944,705,1023,1140,1342,1214,1310,1248,1164,1654,1710,1290,1290,1516,1350,1078,1422,1580,1726,1388,1184,1206,1788,1882,1384,1060,1086,1394,1484,949,918,959,904,915,899,833,830,858,1114,1472,1688,1772,1528,1444,1402,1084,747,918,1488,1798,1386,1122,1152,893,762,858,1256,1140,984,1186,1250,1224,1066,981,1162,1230,1322,1242,1218,1178,1332,1344,1282,1226,1228,1090,1062,1224,1186,1082,1280,1116,1142,1154,1100,1116,1152,1206,1174,1196,1236,1102,946,903,819,545,659,741,739,898,592,282,313,328,323,649,1136,943,829,1230,982,871,685,437,309,374,346,313,308,326,383,445,609,826,1078,1366,1166,1174,1300,1142,728,494,456,448,367,380,450,399,214,348,687,766,662,741,1058,827,1140,1690,1570,1506,1596,1428,1306,1052,810,774,576,810,819,576,357,370,382,503,1009,1240,973,647,713,1256,1150,1252,850,829,877,797,779,802,803,532,316,299,288,639,1042,859,401,671,913,1016,1200,948,963,1266,1014,985,1224,1348,1186,718,612,833,642,707,879,660,341,271,287,341,370,440,471,873,1316,920,426,548,767,771,778,692,614,702,512,563,1228,1960,2082,2374,1678,788,531,538,755,716,645,1056,1028,694,613,735,973,775,459,456,719,665,471,374,398,432,436,722,1662,1832,696,475,530,697,922,968,723,786,809,392,240,298,343,672,1248,1746,1746,1690,1604,1310,962,623,330,386,364,396,473,651,470,532,532,672,1072,1007,600,452,443,722,957,883,875,725,979,1324,1908,1754,1462,1438,1232,901,600,474,458,626,1224,1394,1456,1542,1660,1332,1190,1194,1172,1280,1118,1276,1308,825,579,685,744,499,373,422,355,345,520,675,607,587,599,659,672,452,644,1070,1550,1416,893,1198,1034,430,406,524,394,380,344,268,344,544,844,1050,1196,1238,940,615,549,922,1270,1218,1482,1242,1332,1058,808,563,630,1066,1134,1206,1040,1114,1216,1064,1184,932,1072,1126,819,709,651,831,746,756,1306,1566,1360,1252,1470,1278,1292,772,881,1242,1922,1792,1212,1126,1438,926,447,412,415,397,398,405,400,480,519,385,322,361,298,280,322,352,346,382,420,430,420,388,446,502,438,342,300,274,273,300,325,327,898,1422,1798,1300,1450,1426,1392,1478,1332,1816,1788,1214,1044,619,445,425,507,677,507,476,709,526,264,221,229,246,260,229,227,247,261,291,280,337,348,385,443,337,258,300,282,240,288,251,294,379,306,238,225,229,242,277,271,238,247,276,208,252,292,270,269,276,276,257,242,246,247,244,244,204],[1580,1638,1722,1892,2192,2266,2030,2170,2160,1400,667,498,713,1152,850,633,648,835,792,943,1082,1306,1132,1094,1208,1086,1114,1266,1526,1242,1442,1120,963,1404,1076,933,1228,976,586,577,709,1202,973,817,687,792,1230,1312,1082,860,698,801,741,528,565,587,516,390,354,441,455,551,539,689,711,366,486,930,883,1272,1388,1138,1050,919,664,778,1062,1052,853,601,799,1278,1078,756,470,677,890,879,1066,1266,1298,908,916,1218,1186,1228,1140,633,677,1064,689,391,403,496,722,1112,1262,1322,1248,1052,1094,658,425,397,406,411,413,453,500,538,442,337,445,538,405,296,323,299,299,314,383,492,515,419,375,476,631,576,530,577,622,541,368,313,342,558,1009,1740,1734,1156,1094,1178,1062,1266,1362,1192,1196,853,666,647,769,661,380,396,711,816,658,1064,1118,1746,1182,1416,1892,899,323,625,843,682,562,642,536,487,477,321,289,301,310,295,261,281,335,353,393,371,398,692,1017,1114,1182,1260,978,874,871,1146,1168,1118,1206,1078,897,565,495,920,1120,1004,927,606,536,998,850,614,636,502,641,869,968,1172,1192,813,552,538,469,565,900,1044,999,820,849,1296,1404,1102,1090,1312,1094,1212,1450,1378,1244,1228,1080,1023,1256,1236,1280,1306,1332,979,781,868,1264,1512,1520,1418,1140,1248,1354,1272,1324,1124,1034,685,919,985,1260,1484,1234,1310,1354,1376,1494,1140,946,853,637,612,728,1062,1226,1094,1262,1186,912,957,1202,1380,1356,1216,1430,1716,1350,1208,799,599,733,583,405,473,447,563,779,1028,1230,849,1260,2012,1948,1066,771,947,753,487,419,450,420,421,437,369,372,317,321,348,283,281,332,319,372,430,453,615,638,1160,1204,1112,855,747,921,1064,1156,1400,1466,1444,1232,1158,1302,1246,1530,1302,1106,1224,1044,775,625,990,1366,1230,1384,1570,1380,1368,1162,1300,1336,1306,1172,988,885,921,925,823,745,794,969,1136,1256,1188,1038,1200,1238,1318,1158,1056,1274,1202,829,832,997,902,897,566,735,634,372,344,745,968,1174,1256,1218,1460,1804,1828,1746,1476,1340,1124,1086,1412,1554,1596,1606,1514,1378,1336,1358,1040,1150,1196,1120,982,786,1108,1672,1678,1366,1184,914,527,673,1070,1252,1234,986,929,1290,1346,1094,1015,1284,1440,1502,1328,1400,1444,1382,1108,1240,1204,1248,1398,1134,807,1042,1168,1208,1058,1034,1238,1360,1304,1450,1270,1328,1400,1246,1440,1636,1634,1572,1616,1294,1128,1054,937,891,906,1064,1198,1160,994,832,964,988,780,824,843,740,878,1078,1278,1074,1060,936,697,1238,1548,1234,1058,748,656,1232,1242,1150,1314,1312,1288,1140,1084,1174,1116,1162,1220,990,1106,1096,1370,1310,1362,1346,1298,1284,1332,1224,1340,1578,1440,1296,1270,1212,1432,1484,1460,1560,1454,1460,1484,1428,1332,1282,1310,1152,1284,1394,1102,1076,1030,1052,1310,1572,1456,1266,1228,1274,1262,1168,1288,1248,1128,1144,1350,1310,950,819,962,1124,1216,1376,1346,1228,1272,1440,1584,1766,1228,1114,1004,976,1016,1134,1208,957,850,1046,1134,1252,1294,993,982,847,762,691,612,877,1162,960,714,662,968,800,798,946,974,1136,1324,1400,1360,1226,894,983,1224,1316,1744,1530,834,661,778,842,1066,1204,848,415,381,373,353,372,362,332,328,343,372,425,428,376,360,408,607,651,484,749,1408,1488,1340,1204,1494,1730,1842,1694,1798,2042,1872,1694,1492,1328,1504,1326,1296,854,789,518,363,359,343,405,433,382,403,440,377,391,371,391,404,374,325,310,322,351,363,528,1006,1510,1600,1788,1736,1694,1610,1754,1164,759,1042,949,685,703,961,1202,1292,1066,1200,1402,1222,1168,672,515,654,540,423,661,1104,1218,1032,1080,1616,1928,1678,1874,1306,1160,955,945,1234,1292,1190,1136,1144,1024,850,901,926,1228,1112,708,686,691,966,1112,1092,1198,1302,1390,1416,1068,1058,1002,1390,1338,1356,880,655,901,699,843,1294,1176,952,1180,1038,822,965,982,904,848,912,1252,1028,1013,1118,1090,1416,1072,484,401,438,588,810,1328,1284,894,613,547,477,567,887,1390,1258,830,611,666,714,783,708,601,602,680,749,624,593,769,755,1034,850,868,1208,1306,827,444,541,907,907,835,703,774,923,1132,1522,1592,1436,1248,1300,1576,1274,1300,1484,1046,946,1296,1246,1382,1256,1282,1356,1254,1250,1124,1458,1310,1122,1013,1148,1278,973,971,1262,1520,1306,1194,1242,1312,1276,1242,1514,1528,1484,1534,1544,1584,973,979,984,1388,1402,1288,1294,1650,1764,1498,1672,1598,1342,1214,1312,664,787,1088,936,799,1060,1418,1428,1146,1188,1282,1134,994,969,1278,1230,1274,1206,1142,1186,1438,1660,1706,1572,1830,1880,1900,2002,1618,1436,1272,1172,1100,1172,1362,1400,1406,1374,1318,1570,1292,1290,1476,910,722,653,507,647,810,473,439,705,790,558,741,1284,1450,1296,1250,1140,846,1116,1480,1026,998,1366,959,528,459,489,441,412,453,522,499,512,762,908,999,1228,1180,1112,1188,1222,1556,1522,1380,1334,1292,1294,1658,1648,1036,865,761,925,1062,764,739,1098,1450,1220,1284,1398,1414,1662,1522,1009,561,536,708,825,638,1146,1326,1194,1144,1250,1336,1100,749,855,1050,1030,924,1030,965,1128,1244,1196,1056,1002,1192,1216,1001,927,806,593,589,597,684,471,433,478,486,455,440,444,418,365,325,329,349,370,345,381,437,532,611,644,555,416,419,858,1120,1066,1092,969,796,788,984,1172,886,626,526,677,1052,1096,916,1096,1206,1338,1294,1076,987,1164,1518,1112,901,980,824,707,854,929,1108,1122,1042,1474,2106,1894,1892,1448,1260,1230,1116,1512,1702,1324,1212,945,858,1192,822,796,590,684,987,1152,1240,1232,1184,1144,1328,1536,1160,1168,1184,1104,996,922,855,666,706,678,417,443,721,972,1062,879,866,1096,840,459,407,478,509,542,513,651,820,1060,1336,1322,1240,1066,1112,1240,1044,928,1204,1306,1256,1184,1104,1152,1138,1268,1402,1492,1570,1126,813,1094,1412,1288,1124,1226,1206,1536,1364,702,653,756,907,843,1012,985,948,1021,1092,1076,959,991,999,952,1026,1013,1066,1074,1064,1102,1078,1228,1152,866,1072,1324,1196,1918,1666,1142,1132,1232,1310,1316,1260,1278,1124,1266,1358,1170,1154,1106,1188,1088,1252,1450,1384,1368,1294,1422,1252,1026,1252,1212,1138,1276,1426,1440,1394,1568,1572,1350,1220,1134,1288,1410,1230,1070,1060,1023,987,963,899,912,990,928,772,760,769,823,952,1278,1438,1576,1556,1572,1358,1166,860,604,909,1414,1412,1100,1062,1164,918,831,1116,1574,1754,1554,1522,1332,1120,1040,1188,1390,1362,1286,1272,1270,1342,1578,1520,1320,1226,1086,1086,1086,963,967,1050,1202,947,1194,1154,929,929,883,880,1012,1194,1232,1178,1042,973,919,616,433,644,1032,941,467,315,340,397,626,1130,1098,887,1144,1754,842,652,743,428,316,302,266,306,313,345,472,578,918,944,784,875,1176,1258,1158,1166,1194,921,633,380,394,626,852,805,373,399,531,707,786,1118,900,614,1430,1944,1438,1438,1358,1410,1466,1450,1306,769,561,1090,858,472,382,319,501,905,841,526,456,504,608,868,967,1292,978,703,535,360,365,452,403,318,304,307,318,582,671,616,498,780,962,1080,1070,890,1090,1060,1270,1346,1212,1072,1238,1152,952,894,757,585,755,977,691,410,389,403,412,930,818,897,760,508,342,463,742,755,886,1134,1234,1448,1280,1324,1202,1598,1776,1678,1044,616,454,472,691,750,841,847,809,647,495,630,824,599,455,518,644,550,360,350,369,537,614,865,1758,997,418,288,507,1009,1066,738,481,413,573,442,369,417,511,1290,1556,1742,1620,1696,1840,1366,1160,1013,466,393,447,532,813,1206,781,557,494,440,684,719,561,383,693,1386,1324,1454,1576,1448,1754,1978,1598,1368,1102,959,971,1104,932,651,727,1108,1016,1130,1558,1582,1502,1258,1332,1502,1338,1012,865,924,1282,1188,803,983,1184,616,672,583,487,485,487,558,503,679,1178,1150,1210,589,409,841,1712,1434,1440,1666,1132,558,436,598,546,438,364,294,294,339,774,1090,1240,1204,993,811,689,881,1096,1294,1784,1192,1070,1200,738,321,494,935,1088,840,537,486,882,1224,1334,836,1210,1254,1194,1162,1124,1186,1110,1210,1474,1400,1614,1672,1554,970,1030,1154,1046,1078,1232,1070,910,1514,2054,1282,709,452,402,373,365,384,379,379,558,623,528,541,320,336,372,399,367,393,419,441,397,383,478,608,527,310,285,276,376,384,323,357,368,728,1130,1306,1592,1610,1546,1200,1274,1854,1536,1334,1100,562,395,366,382,494,658,765,711,326,252,234,274,281,246,234,250,234,259,282,329,412,377,462,602,352,281,305,321,319,314,275,246,268,287,260,225,237,261,316,304,291,280,294,248,253,268,250,264,285,276,267,225,232,254,223,220,195],[1122,1352,1694,1942,1858,1742,1948,2142,2402,2164,1016,651,880,885,904,720,693,775,1000,1001,1150,1332,1058,1120,1118,886,895,1278,1580,1584,1518,1196,1288,1140,717,979,749,477,408,520,563,957,1104,1230,1132,856,869,865,861,1034,1088,1262,1290,676,471,375,370,368,440,716,689,556,494,549,511,428,467,686,769,1368,1394,1256,1344,1348,948,1002,1166,1392,1210,821,573,1106,834,470,326,357,474,631,955,1350,1346,1048,967,1128,1246,1234,1234,809,514,550,613,521,350,358,522,904,1088,1052,979,968,893,639,477,454,456,465,492,546,479,451,390,392,540,605,498,410,368,303,271,301,386,479,532,394,447,766,698,593,465,479,603,453,291,306,331,435,544,618,755,1096,1376,1510,1290,1230,1238,1440,1660,1106,653,961,1290,839,543,811,1558,1662,744,789,755,992,789,1294,1430,752,441,593,899,719,657,1074,722,493,458,319,246,235,301,308,243,236,293,351,431,369,381,413,670,1738,1670,1176,919,1100,1194,1110,1162,1308,1108,1214,1030,602,468,506,872,1116,1266,897,726,1019,677,437,395,619,716,974,977,1298,1248,917,790,774,642,507,653,999,1378,1176,1070,1098,1440,1250,1122,1282,1162,1238,1514,1378,1042,879,952,1338,1382,1120,1076,1088,1112,736,713,775,1168,1464,1676,1576,1410,1394,1314,1230,1316,1244,905,961,1296,1136,1142,1738,1844,1446,1372,1566,1266,1194,1124,1170,825,801,979,1182,1206,1310,1416,1190,1152,1164,1388,1013,727,1186,1514,1126,862,915,932,807,674,661,786,881,738,772,919,955,836,651,811,1600,1930,1168,854,1048,889,713,644,480,393,388,456,483,429,326,350,372,295,246,299,314,375,421,475,575,786,1234,1306,1172,1184,1023,1072,1372,1362,1262,1096,1316,1346,1132,1360,1412,1482,1242,980,1038,1176,852,549,789,1256,1268,1402,1438,1220,1278,990,807,995,1046,924,1028,1044,1056,1252,1120,987,716,744,1136,1202,1036,983,1166,1246,1362,1284,1278,1162,1262,1230,1280,1046,916,796,562,554,523,430,392,600,1136,1394,1064,1168,1560,1758,1584,1544,1404,1344,1110,1172,1426,1602,1556,1314,1180,1298,1124,1284,1224,1250,1244,1228,1024,935,1282,1556,1464,1332,1190,1050,927,1170,1198,1438,1294,1094,851,863,1110,848,702,1104,1648,1742,1418,1404,1470,1648,1362,1218,1184,1142,1214,836,534,543,604,677,772,1180,1320,1352,1270,1366,1448,1440,1284,1312,1306,1290,1346,1422,1438,965,886,1116,979,1052,1156,1038,969,599,585,818,1034,850,749,580,432,331,923,1270,1318,1146,1046,1044,836,785,927,887,1046,611,404,940,1342,1184,1178,1226,1278,1266,1284,1348,1196,1432,1228,924,872,866,1072,1222,1460,1578,1452,1484,1412,1244,1416,1576,1482,1288,1302,1434,1480,1398,1430,1454,1322,1194,1304,1570,1510,1362,1316,1136,1248,1196,1038,1020,1038,1156,1244,1336,1384,1304,1370,1400,1338,1224,1268,1268,1214,1013,1096,933,758,717,799,992,1058,1176,1176,1190,1304,1274,1490,1340,969,964,1032,907,888,1148,1366,1154,1256,1284,1188,1382,1396,1092,1007,959,742,607,615,720,770,705,632,1082,1136,835,755,835,889,854,1164,1434,1456,1370,1128,1114,1094,946,1198,1180,988,706,719,680,720,1236,1226,521,419,387,353,365,354,346,368,390,390,376,398,449,485,546,652,592,500,669,1220,1588,1548,1422,1394,1198,1198,1146,1362,1832,1910,1800,1426,1212,1472,1346,1532,1242,854,525,367,374,427,454,385,367,460,485,406,371,358,354,366,354,339,332,334,344,383,549,1174,1540,1664,1804,1824,1758,1626,1766,1218,788,1022,1004,913,1062,1268,1328,1476,1100,1126,1015,1013,1162,1004,760,794,735,686,915,1130,1182,1052,913,1102,1492,1600,1720,1320,1188,981,1368,1752,1448,1318,1388,1380,709,634,907,1168,1410,1326,1001,944,988,965,967,1108,1308,1350,1400,1394,1138,1198,918,1017,1196,1220,852,662,655,498,631,1216,1318,971,1246,976,1078,948,666,934,1180,1378,1220,1122,1292,1080,1344,1366,588,517,518,569,663,968,992,1042,1148,890,534,526,582,619,968,1290,1288,943,656,704,941,894,835,957,999,1272,1158,825,894,1036,1338,1232,1120,1522,1858,1286,590,736,962,1152,1208,835,708,901,1314,1504,1550,1328,1280,1352,1378,1310,1214,1332,1072,876,1026,1028,1092,1054,996,1534,1926,1904,1466,1068,1498,1880,1244,1176,1280,829,893,988,954,1044,1424,1340,1204,1196,1264,1364,1344,1440,1188,956,1232,994,730,654,905,902,1116,1462,1222,1482,1654,1552,1382,1360,1354,1392,772,746,954,780,717,1210,1776,2062,1260,1204,1164,921,742,713,929,955,1110,1282,1130,1108,1300,1278,1328,1460,1748,1536,2126,2190,1384,1246,1216,1246,1344,1186,890,1086,1138,1280,1376,1562,1520,1504,1964,1504,788,714,681,601,479,584,727,818,701,612,942,1536,1448,1146,830,642,587,954,1406,1058,875,1020,676,414,364,407,436,409,451,665,791,627,783,1266,1254,1312,1224,1066,833,1098,1494,1526,1416,1236,1268,1052,961,1214,995,687,562,769,897,822,1018,1304,1058,888,1330,1450,1478,1414,1372,1228,708,526,466,622,980,1432,1522,1282,1114,1382,1430,1062,760,935,974,1210,1144,1296,1132,1184,1324,1204,1102,965,977,1144,1076,1007,1064,745,587,573,534,447,444,472,468,466,486,439,401,385,363,335,323,318,327,337,448,530,477,462,471,370,298,431,456,716,1001,937,944,907,873,1008,867,584,520,641,772,1122,1074,1110,985,1140,1126,1122,1250,1144,1172,1216,1276,1288,1180,863,973,962,1082,1021,1178,1416,1538,1640,1572,1306,1178,1184,1252,1046,1076,858,651,584,805,1244,935,690,661,906,1138,1222,1298,1316,1278,1792,1324,1332,1226,1164,1246,1328,1110,922,675,412,567,527,438,363,374,822,1188,1232,808,854,795,559,801,795,802,963,1220,1622,1146,951,955,919,1100,1018,1004,1226,1262,1206,1290,1282,1208,1232,1202,1200,1136,1222,1246,1408,1244,930,884,1076,1100,1094,1130,1122,921,1246,1402,941,711,622,662,656,631,909,1080,1094,1072,1060,1074,1154,1164,1150,1252,1192,1040,1062,1128,1066,1006,1084,859,948,1156,1466,1330,1428,1194,1170,1300,1154,1190,1348,1814,2046,1170,1106,1510,1318,1368,1340,1344,1370,1494,1616,1402,1394,1378,1220,1058,1342,1546,1272,1312,1338,1482,1632,1592,1530,1490,1550,1428,1152,1330,1054,917,933,929,922,894,828,828,771,849,959,985,1050,1198,1230,1182,1534,1614,1590,1516,1254,1150,1328,1164,843,879,1350,1322,1080,1004,1188,946,804,1198,1664,1814,1746,1608,1348,1232,1202,1228,1272,1264,1388,1278,1160,1138,1290,1326,1406,1528,1258,1018,780,699,846,785,1024,893,1070,919,704,819,929,902,1066,1202,1152,1180,1038,1015,943,599,520,1032,1166,733,383,339,365,386,672,896,750,951,1498,2002,1120,671,580,417,372,317,361,412,357,528,781,526,824,1092,1280,1038,796,1074,1086,1102,1394,1288,818,375,597,781,883,530,624,587,474,533,947,969,546,495,789,966,1134,1426,1180,1192,1424,1384,1108,651,704,993,791,454,337,271,449,843,547,363,597,988,886,674,904,907,856,728,529,467,299,299,291,253,305,294,287,596,989,895,719,990,1318,1072,800,807,647,632,1021,1310,1228,935,648,915,1334,1332,946,548,673,1042,924,691,336,325,497,1192,1492,1186,641,556,402,493,684,640,705,1076,1316,1434,1418,1550,1202,1156,1592,1476,841,337,372,390,536,784,836,697,682,562,376,391,466,417,459,637,747,537,390,404,548,619,575,532,447,423,440,585,906,1270,1076,529,333,357,523,464,417,503,1060,1826,1810,1700,1578,1556,1226,913,1312,1206,736,491,528,678,1262,1346,928,565,413,427,459,493,582,735,1278,1432,1742,1886,1792,2036,1514,958,872,701,639,642,720,833,745,561,619,990,738,846,988,949,781,815,1068,1238,1322,1542,1536,665,752,894,1078,1020,872,572,648,538,375,535,959,959,697,921,1012,937,1538,1262,659,406,851,1316,1664,1366,824,705,422,515,672,734,687,411,302,438,789,867,997,1468,1490,1210,1098,1098,1180,1420,1116,926,1062,952,527,384,450,496,466,367,388,637,857,1104,1346,1278,1338,1100,937,1000,982,1078,1404,1134,1023,1344,1578,1284,1284,1194,999,910,712,655,659,668,1158,2088,1664,833,904,703,447,373,399,421,406,320,551,946,1084,956,488,337,467,601,437,391,467,471,448,436,495,508,415,276,303,378,505,602,473,417,412,820,1704,2080,1742,1356,1602,1380,1838,2072,1908,1692,1362,801,466,374,353,874,1428,899,903,777,557,408,337,255,253,273,278,250,273,267,331,462,469,681,722,372,262,309,431,379,288,268,273,275,291,283,245,284,331,310,270,315,280,240,241,246,269,283,289,268,252,262,255,260,258,217,210,226],[1172,1086,1526,1942,1918,1692,1948,2034,2352,2586,1640,877,904,1152,1404,1238,953,655,659,1020,1548,1000,741,1005,1156,895,809,1316,1530,1352,1020,854,987,668,691,763,390,293,348,558,832,781,1042,1510,1316,1064,1006,992,972,1224,1292,1352,891,464,352,366,449,394,724,1378,1362,875,502,620,472,393,419,416,781,1340,1528,1338,1430,1302,826,1040,1104,1228,858,819,846,814,670,415,328,380,369,670,1400,1426,1288,1366,1290,1246,1218,991,1034,886,689,697,886,863,648,828,785,730,1164,1224,1098,719,569,465,475,494,447,505,673,638,381,375,381,403,483,532,580,519,358,263,285,343,405,710,958,537,913,1398,1062,661,427,466,467,372,469,564,444,454,328,328,486,976,1396,1512,1280,1190,1314,1458,1442,1216,802,746,1028,909,982,1234,2264,2170,1170,840,1066,964,516,343,282,351,395,526,819,554,611,1032,641,401,378,298,235,246,287,279,249,245,353,353,354,301,373,596,1688,2558,1740,1030,946,1126,1324,1360,1280,1522,1498,1262,742,486,515,602,854,1096,1252,905,655,581,445,445,532,965,1148,1194,969,1272,1324,1226,1344,1418,1162,596,483,671,1242,1108,1386,2280,1726,1274,1320,1378,1398,1460,1268,1070,1070,1054,1284,1502,1410,1238,1174,1154,1222,1380,1222,965,1144,1450,1708,1610,1696,1534,1268,1168,1560,1392,787,934,1298,1068,556,893,1688,1692,1432,1262,1362,933,1009,1160,1204,1300,1160,1005,1216,1816,1544,1412,1160,954,1028,994,869,1304,1194,756,676,668,974,1018,990,1016,916,1216,1326,1226,1026,905,683,507,656,967,1182,1020,1082,1194,739,1088,807,519,410,414,448,475,410,360,380,377,379,313,348,336,356,426,480,567,714,1142,1416,1154,1134,1116,1172,1176,1266,1158,1162,1412,1532,1412,1552,1656,1418,1302,1210,1332,1632,1230,850,999,1218,1226,1368,1516,1464,1238,742,741,946,800,905,1226,855,874,1166,850,581,659,679,800,1028,1060,995,1102,1186,1344,1162,1088,1088,1238,1324,1600,1318,1438,1352,912,813,719,510,510,578,1050,1384,1324,1074,1594,1658,1302,1206,1198,1306,1252,1196,1176,1304,1246,1120,1312,1324,1228,1360,1282,1176,1164,1136,1202,1410,1410,1448,1356,1260,1116,1162,1244,1544,1410,1148,1184,1154,841,932,1266,1218,1174,1034,1344,1362,1180,1390,1516,1488,1132,1038,1192,1226,1246,814,420,443,508,411,886,1274,1444,1500,1518,1572,1566,1540,1298,1082,986,872,1017,905,1108,1182,979,1038,1162,1510,1350,927,833,749,847,1134,987,552,644,589,410,405,865,1144,1182,1160,1184,1190,1082,669,742,563,532,480,408,913,1392,1262,1136,962,944,1048,1216,1322,1410,1368,1184,999,888,1052,1382,1416,1520,1586,1394,1248,1264,1194,1320,1528,1480,1278,1332,1404,1368,1466,1586,1472,1204,1148,1328,1588,1452,1294,1214,1058,1112,1094,1136,1226,1306,1310,1144,1144,1098,1146,1306,1318,1200,1184,1150,1198,927,667,641,602,573,563,662,1120,1246,1050,1116,1106,1344,1356,1208,849,705,890,971,952,1194,1312,1410,1600,1606,1266,1202,1344,1300,1009,977,1068,1116,1102,733,519,721,1140,1052,1306,959,824,918,943,1048,1214,1288,1288,1228,1212,1188,1332,1188,808,1108,1182,790,531,502,408,570,1384,1654,701,426,372,361,372,373,358,376,412,432,448,447,443,476,484,536,696,959,1260,1546,1476,1106,833,638,534,802,1266,1528,1786,1910,1888,1848,1662,2004,1648,1804,1436,735,485,367,413,473,425,410,440,513,532,428,354,353,338,351,395,414,416,375,382,572,744,1498,1544,1770,1898,1912,1792,1742,1788,1232,913,1292,1550,1272,1180,1204,1186,1214,885,1003,1060,852,916,1198,1194,1038,955,1142,1268,1262,1268,1020,988,868,1230,1698,1612,1456,1354,1092,1286,1436,1526,1704,1742,1730,1076,926,1280,1582,1366,1120,1112,1266,1300,961,716,834,1040,1214,1146,1328,1328,1258,1104,1348,1472,1470,1170,883,940,888,518,831,1358,1232,1238,1046,1114,1050,902,1046,1342,1240,1040,1472,1412,1380,1586,943,619,567,748,825,901,1066,915,877,949,1216,857,624,544,598,565,794,1242,1290,908,636,787,1162,1526,1440,1272,1306,1024,927,811,1050,1272,1150,1198,1460,1432,1082,1016,1242,1190,899,937,1060,891,1078,1174,1444,1432,1180,1626,1660,1152,1038,1096,1096,1114,949,835,844,1100,1096,1110,1772,2584,2520,1628,1178,1376,1588,1324,1268,1276,1388,1324,1214,1122,1146,1230,1294,1262,1340,1360,1272,1290,1388,898,808,1200,930,532,571,754,813,1174,1388,962,1210,1310,1236,1286,1302,1392,1126,902,1122,1160,971,710,1076,1412,1852,1416,1222,1184,1044,875,785,1172,1432,1160,1262,1358,1272,1162,675,832,1238,1584,1410,1274,943,1001,1184,1288,1500,1624,1520,1106,1138,1158,1250,1390,1644,1566,1464,1454,1164,802,659,586,632,488,1090,1026,601,412,486,684,919,799,536,595,786,714,726,1030,1030,899,653,479,372,333,390,583,616,711,1222,1462,1126,1236,1828,1784,1556,1120,1032,969,1120,1444,1530,1216,1094,1082,963,1224,1412,1232,861,602,559,679,1000,1302,1130,750,1132,1390,1302,1396,1374,1372,1418,1212,753,594,960,1304,1390,1348,1362,1568,1738,1410,1202,940,1026,1148,1308,1302,1120,1072,1384,1404,1332,1208,1134,1076,1188,1028,863,960,666,428,398,380,392,434,461,443,451,448,439,443,444,423,369,311,283,308,320,386,448,443,444,418,329,302,350,455,794,1380,1360,1178,1040,879,674,639,505,624,788,618,1015,946,1000,1124,1154,1132,1416,1302,1108,1250,1258,1460,1450,1256,1154,963,1009,1080,1134,1412,1244,1406,1540,1076,907,1124,1404,1294,966,1013,833,705,702,755,910,836,702,727,702,908,1176,1130,1106,986,1120,875,972,1086,982,1168,1294,1148,1118,852,565,426,445,600,415,309,772,1228,916,505,906,1156,680,970,1216,1756,1628,1960,2076,1120,946,874,702,949,1022,821,1017,1300,1268,1238,1294,1418,1350,1236,1148,1136,1158,1324,1312,1058,938,1048,1150,1026,1040,1076,935,677,1040,1418,1054,854,778,899,1122,1146,1240,1136,1050,1028,1036,1098,1166,1116,1150,1202,1036,955,1036,1144,1078,838,751,762,1200,1544,1434,1122,1046,923,1120,1220,945,1082,1150,1262,1144,807,833,1262,1350,1606,1472,1502,1698,1832,1772,1416,1422,1312,1170,1320,1500,1470,1240,1166,1406,1718,1692,1598,1302,1170,1232,1248,1318,1322,990,933,923,838,774,735,805,932,1194,1310,1058,1088,1162,1388,1318,1330,1438,1454,1308,1316,1448,1422,1394,1286,1198,828,1016,1162,1104,985,1284,1122,846,1130,1552,1834,1798,1518,1358,1646,1418,1184,1228,1162,1170,1094,1248,1288,1384,1524,1378,1284,1212,955,980,1914,1212,822,989,864,873,905,748,811,987,1034,1198,1142,1078,1148,1190,1070,702,581,879,1004,769,488,307,314,515,678,643,996,1036,1042,1596,1728,1200,817,514,348,298,338,457,454,379,755,1050,824,937,1186,1250,858,461,662,1040,1340,1334,1184,653,326,483,621,535,500,1062,1005,670,848,1078,648,498,413,393,589,838,1156,991,803,933,928,767,612,372,415,447,327,291,296,359,468,469,784,1246,1282,886,1438,1782,642,660,669,662,469,254,296,305,291,262,277,298,379,541,802,904,1172,1398,894,776,739,680,1172,1124,929,784,702,584,469,650,973,1288,1194,836,711,568,559,393,365,638,1130,1540,1106,482,532,492,336,362,635,438,532,733,890,1072,1198,1192,1246,1350,1150,564,341,301,368,408,409,452,515,541,455,400,396,326,355,444,621,874,762,634,551,863,644,436,584,1024,885,631,1072,1240,1138,852,767,398,359,367,380,413,398,1042,1398,1532,1764,1448,1236,926,796,1462,1164,713,479,421,552,1176,1370,1098,712,497,404,395,346,342,864,1726,1288,1398,1532,1648,1704,1200,1294,1144,558,558,623,608,596,453,389,550,757,908,1196,1015,499,451,573,656,954,1318,1902,1704,867,775,887,1100,1128,1120,946,786,572,557,399,609,1108,901,672,419,730,1254,1530,1128,630,586,951,1256,735,642,739,722,703,753,1384,1384,788,402,726,1108,888,890,902,1324,1752,1648,1414,1352,1288,995,1028,942,582,505,724,927,814,744,647,806,1112,1152,1002,1090,1104,1016,955,705,602,605,852,1032,866,931,1016,1350,1502,1936,1772,886,526,416,419,539,918,1154,1426,1013,1102,1510,1194,783,502,531,591,456,366,564,978,1400,1056,687,546,662,636,462,472,546,533,499,477,519,425,316,347,531,529,548,733,665,644,722,1266,2076,1956,1720,1806,1890,1708,2000,2148,1878,1770,1698,1334,795,605,561,1218,998,868,847,788,760,1002,875,637,486,347,291,261,282,275,317,347,484,723,546,323,262,290,386,384,339,297,336,382,310,231,237,267,299,259,254,308,275,253,274,256,269,268,251,257,258,223,267,287,230,211,226,206],[1136,1172,1078,1480,1740,1776,1736,1658,2204,2492,1392,729,954,1322,1238,1028,793,802,802,1054,1246,785,653,1258,1272,1264,1294,1114,1162,1098,814,937,1004,1184,822,669,727,459,384,829,927,644,797,1016,982,1142,1084,965,1030,1188,1210,1302,789,352,303,375,354,417,1162,1380,1238,740,489,551,468,380,393,422,854,1416,1484,1422,1444,1418,1054,739,1094,999,1234,1332,1148,811,601,425,339,387,433,758,1648,1216,1244,1444,1378,1306,1130,1142,1266,1040,1030,1224,1116,940,1070,1274,1005,666,1016,1286,1194,703,366,366,508,751,781,934,1208,856,505,408,371,444,437,445,467,471,379,338,347,363,578,1288,1446,1106,1358,1550,1982,1704,1032,693,454,530,792,805,904,1040,441,296,309,596,1038,1346,1396,1300,1132,959,1054,1180,1098,1026,1350,1176,848,889,1502,1272,921,896,1023,988,741,619,461,305,237,299,310,349,752,999,743,447,342,286,291,276,298,338,284,284,427,412,362,313,550,730,1017,1032,812,910,960,982,832,960,1284,1316,1072,1108,1196,1184,1284,1380,1092,951,833,951,697,445,444,622,538,816,1222,1252,1296,1426,1278,1013,947,1348,1368,737,515,613,868,858,1134,1444,1138,1100,1272,1382,1610,1202,846,811,1114,1246,1544,1396,1188,1100,1270,1584,1326,1116,1062,1078,1130,1338,1544,1554,1622,1662,1454,1290,1536,1338,1008,845,945,1062,823,882,1222,1600,1490,1468,1480,971,1036,976,940,1084,1152,1002,1254,1482,1498,1754,1296,1009,858,1082,919,797,781,919,838,894,1005,736,750,1226,1080,913,1064,1396,1312,1296,1182,905,598,644,800,1106,1224,1012,640,626,590,532,445,459,519,522,441,441,432,474,535,514,474,415,379,406,485,646,661,938,1164,958,1316,1354,1198,1412,1494,1384,1376,1438,1490,1486,1450,1364,1414,1322,1048,1390,1558,1330,1080,1178,1054,924,1372,1578,1334,1054,797,857,1009,1048,898,1034,974,1026,1214,832,596,667,793,727,671,876,836,1106,1124,1406,1128,757,1058,1328,1462,1416,1252,1352,1292,1238,1308,846,465,467,409,742,1216,1248,1284,1618,1494,1322,1290,1236,1240,1100,1406,1154,1122,1250,1180,1258,1244,1370,1356,1090,1028,1168,1328,1248,1234,1294,1426,1260,1278,1412,1204,1288,1608,1344,1116,1070,995,993,1064,1400,1334,1214,1176,1384,1384,1190,1442,1416,1020,1042,1246,1420,1362,1554,1112,507,398,399,541,1106,1234,1346,1778,2074,1972,1394,1448,1214,991,612,590,664,765,1220,1424,1444,1274,1178,854,816,1080,1072,1198,753,807,618,333,457,557,664,781,968,1414,1410,1216,1302,1330,1028,644,612,595,521,567,692,1084,1354,914,865,855,836,627,879,1240,1394,1252,1064,1005,994,1218,1234,1116,1256,1434,1356,1190,1218,1154,1430,1774,1428,1230,1382,1416,1410,1520,1590,1450,1190,1072,1092,1418,1394,1376,1262,1074,1012,965,1032,1296,1552,1522,1372,1284,1172,1204,1278,1164,1030,1009,1192,1140,785,628,598,637,557,551,804,1406,1316,1122,1028,1066,1416,1532,1272,1024,1005,1012,958,1086,1136,1238,1556,1694,1332,1032,1026,1222,1232,1078,1082,987,1046,1112,655,367,406,718,1010,1208,1046,881,924,954,1076,1300,1234,1250,1248,1228,1160,1468,1194,1026,1350,1140,707,599,435,360,400,1106,1798,1010,526,397,378,406,386,425,474,407,509,676,561,557,788,1034,1288,1360,1248,1160,1072,751,426,374,404,436,566,1001,1348,1638,1662,1560,1726,1734,1834,1722,1686,1276,695,482,371,397,424,365,511,495,486,487,412,358,392,386,349,377,433,454,430,419,508,1116,1506,1618,2054,2270,2092,1774,1648,1560,1068,1268,1144,1434,1500,1306,1088,967,1094,947,910,924,771,799,1050,1178,1240,1156,973,1202,1268,1104,1024,1150,1056,1340,1716,1500,1258,1216,953,963,1200,1320,1814,1758,1090,860,1148,1286,1410,1392,1234,1090,1224,1382,1168,1112,1078,1148,969,990,1052,1222,1464,1520,1282,1246,1358,1370,1584,1394,1122,548,527,1302,1412,1256,1206,948,645,642,874,1292,1382,1504,1380,1258,1666,1128,713,735,653,856,1058,1064,1130,1164,948,618,945,1200,928,666,579,553,547,941,1360,1186,763,868,1386,1494,1292,1056,843,1194,1312,1166,1214,1050,902,1164,1676,1636,1686,1526,1550,1152,954,991,1017,1001,1064,899,1266,1414,1034,1274,986,916,738,748,788,899,917,885,946,1009,862,852,1294,1678,1174,1036,954,1024,1394,1526,1446,1138,1114,1144,1132,1130,1158,1128,1310,1280,1382,1348,1416,1346,1246,1080,1016,1032,908,720,670,795,1108,1464,1172,985,1104,1174,1412,1226,1238,1528,1138,895,1112,1116,1082,944,876,761,902,1340,1450,1318,1406,1616,1450,1384,1286,1072,1148,1044,977,962,832,750,1368,1332,1284,1128,773,955,1162,1402,2032,1908,1852,1278,915,974,1152,1288,1324,1294,1198,1254,878,569,763,814,1044,897,1056,878,460,358,375,509,589,488,422,504,770,654,598,1184,1428,803,496,448,423,455,899,1450,1290,1594,1578,1516,1184,822,1366,1456,1246,1206,1398,1404,1188,1274,1248,1340,1294,1126,1054,1178,1304,1336,1058,736,503,700,1184,1384,1360,1248,1422,1288,1148,1334,1390,1312,1408,1544,1254,1023,1202,1312,1256,1286,1300,1820,1360,1170,1202,1114,1222,1102,935,957,1002,1142,1474,1368,1290,1238,1386,1206,1262,1064,738,876,797,429,426,491,412,507,563,380,383,405,439,475,448,480,401,311,344,340,315,322,318,315,335,367,368,337,341,398,656,987,1016,870,1094,1268,780,566,469,539,775,692,532,554,752,964,948,1418,1856,1170,1338,1340,1192,1276,1400,1456,1366,1064,1212,1110,1460,1638,1426,1694,1594,1088,1048,1052,715,624,588,529,529,486,438,472,463,437,427,570,772,979,1028,977,973,1066,822,466,677,990,1094,1040,698,1166,1376,1226,922,441,340,531,443,244,440,727,689,498,738,1476,1140,1176,1688,2642,2026,1898,1492,965,1112,1018,751,738,1050,833,1100,1266,1154,1268,1256,1158,1080,1194,1220,1222,1326,1144,1054,918,868,942,948,1082,1058,992,1076,836,1166,1354,1062,1060,1010,1062,1068,1104,1150,1152,1268,1198,937,921,1132,1274,1264,1222,1126,1080,1048,1152,1048,831,671,857,1246,1450,1302,1156,1172,999,1094,1234,1096,1110,1046,1202,1450,1354,1154,1200,1324,1444,1434,1706,1740,1516,1376,1454,1194,1336,1374,1542,1344,1302,1266,861,1196,1794,1782,1492,1150,1023,1086,1056,1148,1102,1112,1084,788,756,856,937,1056,1292,1830,1852,1292,1354,1298,1216,1398,1542,1438,1148,990,1396,1460,1224,1136,1166,1114,789,973,1184,1108,1190,1470,1162,810,966,1294,1678,1744,1558,1396,1302,1266,1274,1194,1124,1166,1240,1190,1142,1230,1350,1268,1076,1004,880,1370,2136,1502,1190,1228,919,915,1064,797,976,1226,1296,1482,1424,1264,1250,1076,989,1012,999,1250,1146,656,348,317,442,1048,1100,1040,1440,1500,1344,1266,1316,1144,646,323,377,772,928,725,386,316,533,919,985,905,928,814,583,572,821,1260,1154,670,632,405,359,458,355,278,642,1202,1192,941,1178,916,632,644,581,439,548,451,357,450,427,600,698,610,554,294,254,238,264,257,273,312,402,592,864,912,754,648,914,1038,583,527,549,704,430,345,422,329,280,250,286,305,265,512,925,840,1102,1324,1174,1056,976,1184,1524,1708,1684,1388,1094,738,608,504,601,896,1032,1284,1144,667,385,373,489,650,747,703,583,526,680,487,335,536,626,433,579,538,546,735,950,1072,1280,1230,1042,719,574,396,393,398,330,309,383,513,434,419,468,409,397,411,703,891,961,945,765,802,565,352,940,1704,1110,824,926,1352,1186,838,724,414,340,370,372,482,580,582,681,1250,1108,733,908,1003,907,747,696,655,443,476,689,981,1260,971,550,461,426,404,397,386,488,1144,1802,1864,1460,1440,1340,1570,1830,1030,471,505,613,581,568,441,374,478,576,869,1410,1332,922,837,1002,849,914,1144,1106,1034,996,705,500,481,709,1064,1328,1316,995,967,531,411,502,582,490,420,414,659,1092,1184,753,492,625,843,687,771,783,922,852,794,905,1168,1178,1013,1076,1084,960,951,739,1332,2060,1664,1316,1178,1148,1270,1108,1030,888,725,740,1214,1208,1056,1015,1138,995,957,1078,1042,953,1046,994,720,705,653,590,653,1096,959,626,1066,1576,1836,1436,889,803,530,469,521,653,547,1066,1518,1804,1340,937,1026,883,937,792,450,633,609,405,623,601,668,688,471,396,400,434,525,716,482,438,499,448,500,618,546,652,853,696,585,790,1194,1614,1780,1842,1960,1994,1756,1188,1200,1548,1722,1784,1724,1144,786,1032,834,916,675,1015,828,497,921,1478,1294,896,520,392,378,362,438,361,356,323,394,477,361,332,401,504,543,426,384,380,365,333,298,260,229,221,248,246,305,367,267,239,300,251,217,212,212,215,244,268,347,336,247,252,254,239],[646,1164,1194,1150,1458,1758,1576,1720,2254,1658,655,651,1015,1422,1132,556,599,1318,1312,1196,1084,1136,1146,1084,1000,1172,1013,709,1128,1096,1166,1154,1198,1006,796,888,1020,690,508,592,520,443,546,731,1132,1332,1320,810,645,988,1032,738,434,359,401,569,420,625,1454,1354,1332,910,519,435,441,409,378,510,956,1416,1506,1478,1478,1466,1228,1014,970,1054,1298,1380,1088,605,450,338,293,370,525,652,838,940,1120,1032,1210,1344,1208,1246,1234,1036,903,957,1126,966,819,1268,1084,1226,1656,1502,1236,789,483,676,883,1232,1318,1488,1256,871,637,504,466,433,441,482,497,600,610,479,343,558,1008,1382,1190,1034,1090,1322,1698,1428,1166,1016,526,681,1040,983,1136,990,431,346,381,364,695,1202,1338,1012,797,636,975,1028,1166,955,812,799,773,684,754,926,1040,626,567,552,569,705,503,299,240,296,323,482,870,1346,1166,582,346,309,294,256,234,269,262,331,390,358,351,540,885,901,932,888,724,634,536,719,821,1013,1036,879,1000,1282,1510,1396,1090,1060,1124,952,631,564,739,948,1136,1338,859,674,1040,1226,1164,1124,1108,1158,1272,1312,1114,645,494,683,688,882,1144,1306,1210,1118,1372,1528,1648,1012,962,886,910,908,1184,919,746,922,1304,1510,1274,1196,1192,1324,1338,1378,1562,1626,1428,1562,1560,1356,1338,1230,1088,1005,1015,1194,1380,1202,1526,1498,1290,1502,1468,1262,1192,1118,940,943,1138,1009,1028,1222,1450,1242,1132,1182,1152,1058,749,562,510,429,419,637,604,546,866,1144,814,769,1320,1562,1428,1626,1992,1526,763,634,785,981,1074,735,673,877,1024,904,549,448,580,559,433,415,435,498,607,630,716,682,535,423,469,707,993,1064,1422,1288,1250,1284,1382,1562,1134,1184,1328,1338,1372,1390,1278,1128,1302,1396,1044,1192,1220,1464,1362,1316,1276,1278,1554,1440,1206,1220,813,953,1172,1390,1256,1372,1256,1042,844,731,777,741,720,539,471,564,541,655,838,1394,1268,972,1122,1268,1228,1040,1212,1322,1268,1328,1114,705,488,368,327,610,993,1156,1410,1612,1480,1404,1252,1332,1118,1040,1384,1334,1044,877,974,1214,1296,1384,1218,1252,1262,1226,1636,1546,1376,1532,1368,1110,1248,1400,1116,1070,1194,1190,1332,1348,1424,1294,1128,1302,1228,1262,1240,1184,1200,1338,1254,946,969,1200,1164,1344,1236,1274,1072,653,544,606,1320,1960,1396,1270,1726,1718,1548,1122,929,873,896,661,550,642,969,1224,1434,1498,1200,1092,1124,983,1104,931,736,577,719,598,371,356,586,1056,1162,1096,1326,1168,1212,1376,1410,1248,1090,972,888,777,794,1018,1032,962,517,738,783,771,760,822,930,1262,1286,1144,1158,1204,1320,1042,1024,1021,1260,1346,1344,1300,1810,2746,2468,1598,1452,1470,1494,1526,1542,1504,1444,1356,1354,1270,1432,1356,1306,1288,1048,1044,1196,1094,1322,1594,1548,1460,1364,1306,1260,1350,1398,1192,1112,1084,1024,794,596,582,711,667,565,814,1172,1396,1354,953,913,1188,1252,1130,1170,1060,929,683,837,1078,1132,1378,1216,1054,837,546,719,759,758,989,1032,844,770,581,388,284,371,677,1106,1140,1214,1182,1122,1134,1100,1122,1280,1114,1044,1080,1019,979,1220,1296,1172,1074,941,498,412,375,850,1952,1422,628,503,430,419,519,839,899,615,620,963,1082,1154,1166,1042,813,507,365,405,485,489,447,402,387,408,410,617,1138,1458,1168,908,1140,1426,1748,1762,1548,1332,916,574,444,422,409,350,446,472,405,417,418,360,371,390,375,384,430,428,435,449,520,1262,1572,1736,2150,2238,1934,1696,1504,1440,925,1252,841,858,1400,1416,1084,1042,885,651,573,650,813,822,863,998,1128,1222,973,1356,1154,963,1152,1152,1006,1260,1620,1486,1446,1370,1120,1030,1360,1430,1400,1526,1216,1128,1400,1528,1262,1322,1410,1440,1242,1236,1490,1506,1296,1432,1380,1320,1140,1060,1404,1610,1360,860,875,1374,1550,1068,737,492,435,814,1114,1202,1218,1134,822,589,732,1356,2698,2366,1542,1594,1422,673,557,667,659,759,1216,1212,1240,944,492,461,537,966,1192,933,725,769,642,608,810,1246,1300,1254,1214,877,1048,1052,838,1210,1444,1324,1416,1194,1118,1216,1786,1968,1736,1686,1336,1036,1322,1346,1170,1444,1516,1118,1192,1358,1354,1546,1090,912,902,1036,1506,1422,1120,1316,1136,620,554,575,1056,1640,1122,1030,991,1028,1094,1013,1011,1118,1244,1306,1392,1378,1182,1176,1354,1312,1334,1710,1334,888,964,997,782,899,924,943,1062,1096,1048,1338,1176,1090,1410,1398,1328,1292,1130,897,1134,1126,909,1138,1350,1322,1390,1170,1160,1466,1510,1376,1222,1246,1390,1180,982,1046,791,499,672,1404,1244,1130,1522,1112,948,881,946,946,1224,1324,1636,1562,1478,1118,1078,1072,1108,1274,1216,1192,860,1092,720,480,865,842,861,761,874,789,452,332,354,529,430,336,309,361,477,502,803,1474,1444,973,680,634,706,858,1348,1556,1370,1078,841,1034,937,744,1106,1210,1172,1432,1642,1578,1366,1230,894,1148,1268,1302,1188,1144,1374,1430,1108,756,464,616,932,1388,2052,1606,1082,1013,1290,1462,1500,1710,1582,1542,1534,1456,1334,1336,1272,1234,1112,1422,1184,1094,1036,1126,1232,1142,900,838,1134,1354,1452,1356,1280,1296,1226,1178,1242,1270,1188,1526,1672,883,639,599,467,849,1110,648,495,425,403,472,444,418,357,289,349,401,353,330,355,402,360,395,401,331,357,618,922,1092,989,843,995,1302,834,656,598,435,556,626,725,692,725,926,801,1346,1554,769,583,943,1178,1184,1392,1478,1140,1106,1230,1338,1466,1212,1590,1812,1466,1268,1484,1468,996,707,595,500,580,470,351,319,318,341,361,419,729,824,628,595,824,1176,1116,631,709,959,1246,1470,993,1114,1158,976,1020,708,345,351,371,288,281,415,584,490,513,1218,1130,690,832,1630,1580,1450,1310,1036,943,910,833,686,972,1118,1158,1094,1228,1490,1252,1090,1064,1122,1268,1250,1218,969,951,800,830,822,905,1222,1182,1206,1242,1084,1344,1480,1886,1288,1208,1078,1116,1082,1070,1076,1250,1178,867,938,1204,1332,1294,1412,1406,1284,1100,1178,1506,1302,751,847,1036,1264,1420,1158,1128,1066,1094,1136,1256,1364,1308,1238,1558,1636,1322,1028,1094,1400,1430,1536,1386,1202,1394,1368,1186,1274,1244,1268,1228,1378,1196,657,930,1426,1616,1542,1302,1144,1134,1232,1286,1084,1144,1262,1112,1017,1098,1218,1448,1354,1344,1600,1398,1230,1310,1370,1424,1324,875,665,1072,1576,1236,988,930,886,778,681,825,1160,1190,865,757,792,742,884,1250,1600,1686,1476,1268,1284,1396,1438,1360,1356,1432,1564,1362,1362,1284,1230,1204,1344,1352,1216,1180,1248,1154,1166,1238,1116,1026,995,1076,1260,1306,1106,1178,1658,1452,1146,925,1012,1250,1322,1306,1022,596,395,436,861,1288,1152,1470,1636,1632,1592,1632,1470,791,382,465,637,998,1136,592,317,306,338,451,498,539,610,727,1160,1028,901,1020,630,648,791,584,299,278,461,758,885,747,867,1096,1288,1068,999,1172,1150,1188,1020,661,462,308,319,448,628,637,716,366,279,375,364,520,477,304,492,774,929,982,697,755,871,1100,1070,995,930,724,419,594,627,364,252,307,297,291,667,1038,1064,873,938,1046,715,861,1152,1252,1568,1926,1854,1344,1052,844,668,631,656,670,554,794,1200,1256,918,543,409,479,532,609,761,851,1006,698,436,705,610,481,450,432,414,516,994,1244,1422,1092,860,996,746,358,326,363,352,322,560,747,505,472,434,432,418,608,1086,1084,1013,767,792,914,564,461,1174,2240,1404,816,554,969,1008,980,954,725,566,446,387,424,636,827,868,1056,636,639,424,553,658,467,898,1338,846,462,546,657,766,558,547,627,624,524,443,412,365,585,1180,1322,1108,1090,1138,1018,990,502,385,552,799,631,490,602,647,701,993,1066,1318,1410,1338,979,1036,1238,935,889,980,1086,929,582,371,393,682,575,1098,956,763,778,639,430,367,505,517,403,432,373,455,630,566,395,551,1050,1254,1084,1240,824,521,661,819,1026,1312,1260,1040,688,963,1052,1220,1672,1482,1090,1174,1052,1202,1270,968,1094,1384,866,457,700,910,1188,1238,1266,1094,819,1068,1198,1054,931,1040,974,769,595,472,763,1228,1070,567,678,1230,1506,930,1072,1454,1052,910,880,733,553,1210,1742,1284,760,937,837,962,1148,631,321,547,402,248,328,399,582,669,715,885,598,457,708,965,888,700,505,430,639,697,690,1050,874,536,538,594,796,1126,1236,1598,1726,1642,1332,1010,999,1268,1842,1864,1526,774,692,1010,1236,1044,1086,1162,989,804,1550,2126,1330,928,446,368,462,471,517,462,370,399,399,344,364,518,798,827,498,406,282,257,283,249,272,275,221,221,260,263,329,363,276,270,294,261,219,223,226,217,238,257,279,264,234,276,287,226],[290,550,1114,1238,1162,1476,1946,2150,1798,753,587,819,1032,1446,1186,965,1060,1102,937,935,1168,1224,1028,951,816,824,830,836,1082,938,1262,1432,1432,1152,814,582,500,390,406,378,324,333,367,436,895,981,827,771,1002,1294,1192,744,536,379,460,797,650,940,1252,1490,1456,969,657,437,432,565,538,626,1007,1194,1194,1230,1418,1278,1670,1642,1064,874,1086,1224,1032,686,680,415,368,532,690,913,922,1028,973,924,1256,1258,1344,1320,1312,1094,1030,892,1022,1056,1138,1312,1196,1346,1240,994,1030,641,558,1010,1152,1302,1110,964,771,651,541,440,465,506,439,466,453,515,572,434,539,1028,1110,1072,1250,1342,1006,933,985,749,1208,1192,871,637,493,498,705,451,325,509,615,709,781,995,1120,757,965,819,962,1136,858,533,425,349,590,1162,1336,1352,1460,944,745,570,541,379,311,235,271,501,741,625,886,1118,863,519,346,283,290,264,209,246,259,278,328,337,299,498,801,678,929,1156,984,547,392,441,490,838,1122,1218,1542,1692,1454,1176,938,1018,669,816,871,522,955,1302,1344,1428,1042,727,1076,1294,1170,938,925,1098,1256,1330,1088,786,861,819,891,1076,1218,1322,1122,1202,1454,1362,1284,1372,912,1334,1466,1176,1084,725,829,1214,1188,1086,1384,1318,1318,1426,1592,1724,1732,1690,1520,1554,1748,1688,1608,1476,1222,1206,1054,1206,1394,1434,1592,1480,1404,1582,1726,1526,1378,1480,1196,1017,955,1094,1162,999,938,749,890,1184,1130,1218,810,570,580,514,472,404,458,456,742,816,686,910,1110,1038,948,1030,1118,1024,874,815,675,450,526,469,505,722,880,885,622,543,528,456,407,429,425,434,523,724,890,844,703,482,420,706,1174,1032,1410,1372,1278,1230,1260,1176,1126,1146,1224,1310,1396,1328,1218,1060,1238,1270,1176,1112,918,1240,1316,1168,1418,1576,1402,1130,1176,1330,1114,1240,1082,1100,1424,1422,1050,753,620,835,816,717,606,420,368,372,399,381,563,908,962,1021,1154,1120,965,1054,1354,1470,1542,1240,912,673,549,458,330,353,634,1003,1348,1658,1334,1248,1194,1312,1266,1358,1440,1412,1306,1272,1198,1162,1090,1302,1306,1190,1354,1300,1544,1416,1622,1548,1146,1116,1026,912,948,1002,1208,1302,1464,1656,1886,1396,1023,1252,1260,1224,1234,838,783,1138,1178,1066,1230,1124,1294,1576,1476,1290,1262,1216,1132,1382,1754,1650,1064,986,1390,1226,916,733,648,668,1000,1174,1003,1084,1126,1182,1344,1202,1194,1302,1578,1354,948,767,699,648,583,741,612,631,745,894,993,1110,1328,1338,1086,863,800,855,876,738,692,814,780,766,543,642,655,833,898,1004,1009,901,1013,1384,1294,1272,1166,1118,904,941,1005,979,1046,1186,1434,1526,2012,2272,1864,1674,1656,1622,1622,1514,1512,1522,1648,1620,1530,1542,1620,1362,1152,1206,1066,963,932,970,1384,1484,1352,1368,1138,988,1070,1306,1454,1382,1150,842,845,761,626,618,918,985,787,741,980,1278,1326,1318,1296,1200,1030,1296,1042,708,890,1007,1368,1392,1236,1224,1036,951,593,604,687,645,797,1046,1005,1172,1346,1192,924,525,440,948,1246,992,1148,896,658,673,878,1042,1108,882,767,745,651,633,1046,1268,1212,1096,974,668,488,412,642,1684,1658,929,789,684,558,566,1156,1458,1246,1302,1504,1510,1252,799,498,408,368,400,440,422,466,444,390,373,404,430,559,908,969,720,783,1001,1256,1606,1660,1776,1654,1294,843,628,519,425,374,387,419,413,460,443,387,368,414,421,409,432,436,459,445,867,1416,1582,1912,1978,1858,1730,1628,1570,1158,709,760,1058,959,1040,958,918,1007,786,774,655,1108,1204,1100,1080,1132,1146,1218,1254,1264,1144,979,822,757,1015,1400,1750,2052,2002,1712,1478,1346,1188,1198,1264,1508,1720,1478,1178,1374,1024,1230,1536,1356,1108,807,905,877,1004,1334,1456,1390,1114,940,1212,1454,1192,630,838,1194,1242,998,542,395,475,639,973,1306,1112,1082,1070,763,938,1278,1690,1322,1442,1648,932,487,491,688,958,1172,1252,1038,1134,846,534,574,574,656,978,1172,963,833,575,650,879,1284,1478,1316,1168,932,875,1192,1166,1102,1170,1030,1306,1316,1478,1268,1338,1482,1406,1490,1424,1174,1224,1374,1440,1264,1009,771,889,1136,1380,1526,1274,1174,1106,1434,1826,1404,1064,1506,1174,725,1060,930,830,1186,1196,1268,1404,1330,1110,935,1138,1316,1484,1594,1688,1444,1546,1970,1942,1332,1194,1300,952,590,626,926,767,796,1013,1080,1136,1118,1154,1214,1222,1320,1208,1234,1118,1226,1062,909,1234,1356,1118,1096,1260,939,1136,1236,1252,1418,1506,1390,1236,1186,1412,1254,890,938,954,1310,1584,1552,1406,1486,1438,874,1090,1172,994,996,1162,1186,1064,1158,1023,933,1238,1306,1504,1700,1390,1334,775,737,764,559,687,586,485,620,855,786,477,427,470,426,229,207,257,319,454,549,727,1026,1264,1160,974,993,1058,1262,1456,1180,742,440,604,713,604,769,1180,1156,1200,1414,1494,1422,1282,1170,985,1202,1356,1434,1372,1282,1464,1446,1002,648,546,530,703,1256,1488,1086,893,1132,1298,1068,1418,1972,1880,1382,1400,1500,1508,1488,1302,1188,1130,1244,1220,1007,973,1130,1158,1124,1080,999,949,992,1086,1180,1274,1168,1172,1120,1262,1292,1236,1638,1936,1240,791,712,794,935,827,469,451,441,386,427,442,413,358,304,390,444,391,369,378,369,356,369,354,375,584,991,1260,1090,922,883,898,1034,795,658,504,376,457,886,1172,719,611,893,584,511,801,973,1172,1362,1306,1376,1426,1174,1168,1302,1162,1230,1382,1122,1556,1728,1062,973,1328,1510,1118,839,743,720,1034,928,673,569,415,354,335,366,855,1784,1500,745,842,863,836,795,616,720,904,767,969,1096,1036,990,998,821,504,387,400,295,274,343,503,477,445,763,669,629,784,847,1003,1074,1116,880,957,886,789,816,1288,1400,1140,1058,1402,1490,1184,1178,1018,942,1017,838,677,717,741,846,944,1009,1134,1252,1248,1164,1164,1192,1492,1150,1438,1192,1150,1144,1136,1058,1098,1090,1120,1158,1076,1028,1084,1154,1290,1414,1384,1228,1198,1260,1926,1742,764,774,944,1214,1600,1318,1230,1136,1158,1256,1274,1414,1412,1302,1388,1346,1090,721,767,1086,1458,1478,1324,1232,1350,1342,1344,1052,874,1007,1096,1118,1088,900,864,1222,1660,1698,1498,1272,1186,1162,1136,1044,982,1330,1438,1224,1054,1080,1158,1144,1054,1268,1340,1336,1406,1296,1206,1114,709,791,1296,1500,1194,880,713,592,599,661,747,1028,1130,791,742,749,755,830,1054,1500,1726,1484,1188,1060,1130,1256,1440,1726,1656,1756,1750,1590,1282,1284,1284,1432,1354,1194,1204,1114,1058,951,1102,1064,988,1048,1064,1018,1040,1011,1256,1504,1352,1248,1036,1186,1320,1412,1148,949,551,513,823,1154,985,1268,1644,1648,1742,1836,1886,1152,512,489,995,1252,1246,971,519,324,312,384,462,500,514,549,499,993,1254,1052,726,577,610,891,988,706,375,571,1072,1276,879,887,1266,1190,1500,1416,1124,1172,1504,1606,1302,744,410,359,400,819,790,708,419,321,494,437,357,354,318,471,773,904,798,688,750,984,1240,1450,1604,1456,980,695,808,865,767,422,363,329,437,1024,1174,1200,1024,1023,968,618,666,927,1206,1242,1410,1292,590,440,454,394,482,593,539,510,592,700,886,1074,1182,810,552,417,592,1342,1204,876,744,622,593,434,488,560,550,507,988,1542,1830,1466,1140,1116,991,469,274,355,441,397,378,644,774,630,429,409,420,452,753,829,837,791,459,519,439,262,537,1256,1042,965,762,732,1240,1076,977,1094,1174,1118,870,455,336,550,771,766,739,643,420,320,367,503,635,1238,1798,996,446,371,354,306,394,904,1054,916,699,566,456,414,451,508,565,671,1007,1190,514,441,483,455,642,728,642,744,1018,1210,1001,1222,965,1220,1570,1172,604,716,969,681,650,974,1018,670,727,524,518,788,647,1068,1244,726,451,660,672,525,682,757,571,502,385,372,511,576,500,482,1028,1426,1630,1204,476,413,477,572,1028,1108,1066,1420,974,905,1136,952,1122,1310,988,926,1230,1164,1068,1120,930,977,547,323,445,846,1172,1054,935,759,713,971,903,944,791,920,932,843,703,633,734,1080,1346,811,502,869,1266,788,962,1334,1498,1558,1332,1118,765,883,1560,1770,1052,785,772,858,976,731,472,332,272,274,274,319,531,1042,1156,1120,721,777,1088,1034,1024,994,819,519,371,347,529,960,736,422,469,602,777,731,596,711,934,1284,1388,1090,1006,1676,1924,1720,996,614,803,1350,1568,1548,1308,1296,1386,1130,1490,1698,1154,922,460,354,497,518,418,430,445,518,557,452,374,645,996,742,332,301,249,225,253,237,261,265,206,246,263,224,230,244,251,262,253,253,243,247,250,241,231,243,241,251,256,284,239,211],[220,226,580,1108,1218,1112,1400,1368,899,453,661,1134,1222,1376,1112,1242,1346,1058,922,969,1172,1114,805,598,693,831,828,927,924,1178,1208,1194,1296,1242,953,435,362,472,375,330,293,304,321,332,548,930,1288,1136,1042,1486,1578,1048,1174,824,561,710,879,733,948,1524,1506,1244,918,437,650,1164,1008,916,1122,918,861,1196,1232,948,844,839,790,775,1178,1284,1174,1080,1010,604,508,980,1076,1032,908,851,968,1108,1078,1116,1200,1206,1260,1240,1214,1058,1009,1054,1168,1164,1120,1166,1052,1194,987,569,735,1364,1190,1050,904,656,579,545,422,414,430,523,419,367,294,310,299,318,662,850,912,1026,1144,1366,1296,1098,1266,1074,1576,1376,1136,885,533,405,665,558,350,569,958,1013,745,666,731,599,931,1098,1218,1326,979,567,539,401,664,1070,1132,1042,1310,1312,1992,2436,1106,314,327,282,370,992,1332,526,546,812,822,386,265,275,310,275,257,262,272,330,358,342,280,302,462,665,904,1208,922,547,420,418,502,722,1070,1200,1376,1436,1208,1046,1012,1062,855,948,980,866,957,1086,1200,1330,1208,1116,1208,946,865,1086,915,1020,1310,1430,1226,1322,1478,971,821,1024,1302,1140,926,1310,1346,1290,1468,1346,750,968,1230,1136,821,946,1130,1124,1236,1422,1622,1402,1298,1472,1492,1524,1542,1492,1390,1472,1440,1236,1698,1836,1598,1296,972,871,1104,1288,1188,1294,1410,1416,1394,1234,1206,1278,1260,1134,872,960,1328,1302,1042,964,1194,1210,1126,1348,897,686,560,531,524,426,450,482,626,677,705,657,814,1092,746,863,943,1160,1154,1154,842,517,375,389,547,770,622,710,762,511,409,405,411,457,586,543,444,574,636,753,867,603,531,650,861,872,1042,1156,1088,1106,1244,1284,1398,1410,1342,1032,1028,842,869,1310,1440,1218,1007,803,605,796,1076,1086,1456,1654,1244,965,1048,1352,1454,1298,1052,801,869,1112,1220,1042,808,736,522,628,628,431,350,349,343,355,407,510,601,756,1118,1172,875,999,1308,1302,1212,1320,1154,902,854,459,516,800,645,614,937,1610,1334,1270,1030,878,1122,1436,1378,1234,1356,1328,1200,1410,1440,1178,1324,1308,1436,1434,1344,1338,1282,897,717,1001,704,664,1048,1032,1104,1354,1390,1208,1436,1344,1118,1216,1284,1056,1180,882,886,771,738,752,1078,1066,1222,1598,1606,1274,1276,1196,1474,1724,1476,1548,1136,904,935,789,725,720,626,513,907,1460,1288,794,903,975,831,861,1068,1748,2144,1142,606,845,854,841,711,670,530,619,699,935,1100,1194,1368,1202,790,530,407,431,358,375,430,685,830,775,736,849,802,904,1164,1096,888,801,828,1250,1078,1086,1192,1114,987,1164,1248,1186,968,1078,1382,1426,1504,1488,1526,1664,1534,1582,1576,1554,1664,1664,1638,1706,1716,1714,1690,1580,1580,1464,1376,1360,1342,1458,1572,1526,1388,1300,1216,1108,1092,1428,1472,1350,1098,828,771,775,729,915,1290,1296,1102,953,1010,1246,1816,1886,1518,1482,1426,1450,970,828,1174,1212,1234,1324,1256,1156,989,630,604,693,612,482,537,769,826,917,1032,1216,1280,934,495,495,641,830,916,816,695,576,942,1108,934,828,691,596,549,546,985,1288,1210,1252,1084,854,626,457,558,1082,1366,1232,1310,1264,1196,1302,1638,1674,1562,1476,1280,1308,1294,857,381,372,375,366,396,397,434,426,393,387,377,366,418,521,519,434,475,852,1354,1592,1650,1788,1892,1654,1224,816,515,485,569,575,721,497,440,408,382,400,442,434,444,448,422,474,702,1282,1558,1562,1760,1770,1650,1556,1502,1646,1054,539,648,814,641,495,527,918,983,1042,1086,865,1234,1222,1334,1384,1366,1546,1888,1876,1510,1476,1176,1018,837,1394,1904,1830,2216,2238,1738,1432,1098,931,1256,1248,1286,1518,1628,1434,1208,1052,1412,1306,1066,952,912,766,752,1068,1490,1488,886,709,655,786,1104,1052,808,833,1074,1418,1290,834,650,625,547,919,1346,1348,1240,1042,886,1044,1186,1086,1084,1454,1134,513,419,475,879,1268,1302,1250,810,697,505,388,500,570,511,594,987,785,876,1076,1274,1150,1186,1536,1512,1544,1410,1014,1094,1142,1378,1384,1284,1306,1602,1550,1400,1318,1408,1236,1472,2010,1636,1802,1904,1510,1066,782,568,888,1276,1140,1046,1120,1088,1104,1428,1704,1410,1176,1438,1072,907,1316,1288,1042,1192,1234,1502,1834,1610,1576,1312,1098,1432,1454,1428,1550,1426,1444,1350,1224,1176,990,977,818,747,1096,1172,1326,1550,1324,1230,1416,1300,1168,968,1046,1240,1264,1656,1648,1312,1172,1180,1268,1224,1180,1296,1116,867,1374,1774,1574,1390,1860,1600,1482,1646,1672,1248,827,691,1102,2106,2054,1766,1510,1476,1023,573,878,927,905,791,800,1034,1106,1126,1138,1182,1166,1224,1556,1432,1352,1540,847,601,982,1146,1042,819,637,536,559,408,408,483,473,308,206,235,276,339,470,611,576,686,1166,1342,1334,1282,1298,1424,1362,1128,661,647,902,767,632,805,1214,1042,1068,1392,1396,1150,919,1013,1324,1370,1272,1302,1112,935,1156,1230,1210,992,707,558,746,1142,1296,1132,920,977,1124,948,1064,1434,1380,1238,1372,1416,1620,1556,1468,1318,1434,1722,1360,1058,1094,1158,1148,1138,1178,1130,1096,1062,1012,1236,1210,1142,1023,700,1004,1116,1322,1364,1346,1288,912,864,907,727,608,501,410,433,443,450,464,415,346,328,489,491,405,396,394,367,346,322,273,288,350,641,1050,1124,818,699,1021,1042,904,838,619,414,384,792,1152,996,895,872,694,543,840,955,1070,1172,1252,1442,1220,1182,1322,1222,1148,1154,1284,1234,1542,1688,1260,864,971,1244,1032,503,424,769,1050,1154,1182,1032,720,523,514,607,1240,2242,2028,1240,811,702,787,995,746,574,780,922,1152,1072,951,1084,1034,955,741,730,922,548,397,383,417,410,415,487,418,464,667,777,1044,1216,1206,1122,1044,974,946,1318,1670,1340,1194,1240,1186,1046,1066,1134,907,727,588,589,818,1054,1238,1278,1192,1286,1210,1202,1178,1252,975,1256,1390,1094,1172,1120,1120,1178,1122,1144,1234,1290,1316,1190,1352,1130,1158,1188,1168,1102,1078,999,990,1118,1366,1298,985,799,977,1286,1496,1312,1322,1250,1164,1336,1470,1310,1192,1282,1240,993,1021,1024,689,890,1352,1504,1392,1288,1220,1304,1218,1080,1030,995,1090,1142,1406,1234,1200,1556,1798,1732,1536,1278,1134,1106,1192,1212,1004,1174,1158,1152,1022,919,1208,1324,1100,1242,1450,1446,1240,1064,1084,1178,983,797,1074,1350,1190,979,844,740,673,615,681,936,1216,806,730,706,770,849,930,1324,1646,1444,1220,905,1064,1344,1626,2074,1998,1820,1800,1938,2062,1814,1238,976,935,1030,1232,1034,952,1054,962,969,978,927,1013,1072,1003,1078,1360,1492,1122,1172,1098,1404,1456,1204,1098,1054,807,867,1110,1062,1200,1676,1686,1782,1908,1858,1256,570,366,667,1136,1116,745,530,466,352,386,412,421,451,436,462,462,582,1005,1110,762,630,599,594,865,1178,858,436,720,826,772,1088,777,632,967,1160,1044,879,1280,2070,1328,719,554,704,938,1064,730,534,449,367,470,486,295,296,327,560,992,1486,1160,838,785,1074,1198,1200,1180,977,803,826,984,824,731,426,365,401,730,888,800,764,797,1056,972,918,953,771,714,832,1024,803,453,353,337,325,309,376,551,557,400,420,452,510,814,1194,1148,845,1040,1712,1280,1072,1280,879,443,547,951,1144,974,645,1156,1758,1632,1350,1110,753,601,389,323,473,525,347,398,427,493,546,565,504,485,533,594,477,526,396,278,415,413,579,655,711,422,802,1384,1664,1144,640,763,548,696,1096,997,426,518,641,645,625,788,1013,678,320,415,679,957,1334,1156,830,615,401,324,343,363,650,1050,1026,640,544,550,400,437,509,456,429,1092,885,625,858,806,807,965,799,822,766,738,837,890,1132,849,1096,1240,817,502,860,1100,723,808,966,916,637,662,657,714,844,1068,938,1010,1074,1012,1092,1078,812,1232,1720,1016,720,508,404,538,605,677,912,976,1328,1184,533,406,564,643,534,1007,953,840,828,633,980,1344,708,601,1058,1098,772,1152,834,1188,1090,1010,960,568,423,610,1080,1408,1352,826,662,1230,1474,1100,1054,1300,1122,697,731,833,663,614,739,1090,1132,899,822,949,735,623,884,1536,1506,1164,1346,1716,1264,1158,1474,1322,836,902,1024,1070,1032,681,328,334,326,334,325,361,458,508,562,573,915,1278,1082,918,1160,853,522,246,272,424,519,438,390,422,483,633,648,448,355,574,1394,2008,1340,1200,1838,1782,1642,865,657,1088,1472,1668,1506,1250,1182,1294,1116,1184,1170,805,418,353,432,525,450,391,456,478,439,536,454,359,616,743,416,308,364,309,287,313,296,280,245,196,222,249,234,236,240,235,224,218,224,247,252,238,219,196,239,235,223,301,319,244,234],[230,255,347,668,1082,1220,732,455,466,600,688,1154,1334,1202,1000,1044,1164,1356,1078,697,833,1098,961,563,540,603,878,1048,1116,1332,1102,679,713,960,831,466,634,659,401,304,289,402,478,592,683,805,1214,1274,1278,1374,1500,1064,865,936,842,1434,1610,1002,1104,1494,1484,1206,829,538,943,927,902,1032,951,832,742,883,1001,1072,1072,919,839,824,1354,1284,1290,1432,1252,839,702,1068,1046,1028,1162,952,661,780,658,1021,922,1060,1274,1400,1122,825,719,813,1072,1176,944,684,682,971,665,588,694,847,783,815,778,641,753,609,427,386,436,577,495,402,323,322,283,285,433,619,982,1028,908,1050,807,1078,1558,1486,1284,1142,1220,1306,1054,856,865,861,653,615,739,548,415,359,574,677,1102,1714,1440,1260,1242,822,739,479,605,791,985,1542,1694,1352,2164,1948,668,334,299,336,399,769,933,434,403,618,464,273,254,285,320,330,309,290,308,335,342,289,288,349,475,739,875,810,559,489,479,468,594,561,576,610,764,1024,976,822,670,727,972,830,694,1082,1282,1300,1346,1302,1162,1142,1210,1076,1030,1078,1066,1194,1144,1126,979,1028,1086,824,1003,1326,1394,1002,779,970,1216,1392,1366,1032,647,902,1216,1056,771,997,1316,1508,1322,1268,1438,1194,1080,1190,1254,1338,1158,1124,1060,1324,1418,1382,1394,1470,1548,1550,1402,1344,1416,1352,1202,1362,1384,1328,1400,1222,1268,1238,1122,1009,723,689,877,896,1024,1338,1356,1060,952,1176,1023,850,525,555,574,452,415,550,777,697,767,729,970,1382,967,962,985,862,1078,1186,839,558,593,818,673,855,847,728,541,381,369,418,435,618,890,623,546,738,778,1015,1132,768,568,579,550,623,696,968,1108,973,1008,1138,1334,1328,1218,717,568,618,578,980,1356,1384,1002,755,815,1144,1434,1476,1680,1600,1154,778,937,1346,1438,1260,1032,764,840,1132,1196,1384,753,558,512,659,683,475,375,385,361,336,393,462,600,844,965,841,1036,821,730,1098,1452,1496,989,749,573,504,866,1272,1009,680,1138,1520,1228,927,842,922,1332,1666,1380,1306,1370,1568,1332,1450,1490,1238,1332,1372,1536,1440,1310,1250,1064,1124,1004,902,686,885,1332,1370,1274,1284,1030,1046,1368,1544,1464,1184,1430,1240,1376,1208,921,650,577,626,1016,1198,1244,1590,1422,899,1174,1242,1142,1072,1023,1162,844,618,520,531,563,608,651,816,844,969,1014,675,621,824,1012,1108,1064,1200,1110,657,612,671,704,1278,1144,738,671,774,818,919,958,977,943,1042,1030,826,446,623,583,731,1086,1094,1058,1072,932,968,1116,1180,1200,1166,1168,1184,807,1112,1082,1656,1512,1106,1092,1286,1478,1240,765,843,1336,1384,1344,1374,1506,1580,1382,1406,1442,1408,1410,1482,1614,1538,1406,1366,1390,1374,1234,1260,1344,1366,1328,1376,1504,1522,1400,1444,1584,1584,1432,1638,1706,1568,1468,1416,1276,1190,1176,1226,1108,840,916,1060,1094,1262,1366,1330,1009,1218,1346,1276,1372,1484,1446,1342,1234,1300,1878,1362,1208,998,1214,1126,769,530,512,666,918,1098,1186,1158,1030,877,711,538,459,854,933,885,929,1204,1240,1126,1066,955,762,614,677,822,844,790,935,1080,939,885,891,654,761,1428,1482,1610,1572,1510,1372,1238,1300,1244,1230,1350,1320,1438,1450,1196,554,385,358,353,384,412,430,408,376,368,356,340,334,358,387,360,373,582,937,1262,1306,1394,1612,1714,1704,1380,826,749,960,721,565,477,433,404,401,407,438,442,422,425,425,579,1005,1576,1580,1610,1594,1638,1588,1452,1604,1560,930,543,472,364,366,375,521,1046,1052,1176,1190,983,1176,1636,1638,1418,1440,1618,1814,1682,1454,1358,1154,1056,1138,1544,1866,1568,1454,1382,1256,1194,1146,1036,1050,1248,1344,1176,1058,1570,1526,1412,1644,1366,894,758,915,871,1046,991,1100,1138,1032,824,591,729,895,1042,938,808,1036,1078,1090,1160,798,876,1078,1026,1206,1366,1152,860,786,926,1170,1294,1304,1296,673,516,485,619,778,1172,1956,1560,761,606,405,501,531,536,774,1040,1418,962,1058,1288,1034,1044,1386,1588,1486,1208,868,912,1256,1224,1536,1516,1584,1326,1288,1416,1510,1454,1390,1226,1488,1852,2104,1670,1132,984,1044,844,900,1158,1210,1034,810,847,1162,1260,1250,1474,1286,1256,1538,1312,1116,1176,1252,1336,1278,1244,1368,1650,1500,1352,1216,1110,1662,1504,1272,1276,1236,1362,1130,879,961,1020,875,789,1154,1508,1286,1078,1214,1326,1296,1286,1226,1070,796,1116,1128,1046,1428,2976,1776,1228,1264,1134,1098,1086,1162,1122,1258,1510,1404,1394,1456,2272,1588,1316,1636,1556,1144,879,860,1504,2260,2396,2174,1682,1412,694,429,449,486,548,509,749,1076,1252,1164,1224,1142,1022,1078,1256,1208,1242,1352,1060,873,1038,1360,1330,1136,1182,743,468,440,434,611,801,554,275,271,299,369,515,581,547,544,778,1200,1410,1446,1410,1154,1106,1208,928,999,1332,1124,1024,855,1308,1382,1270,1330,1222,1042,958,1068,1004,722,718,866,1128,1340,1064,1142,1456,1246,973,1052,1582,1670,1230,1366,1228,1158,1698,1146,946,1274,974,1015,1382,1552,1648,1638,1556,1356,1520,1726,1450,1130,1134,1094,1120,1050,1064,1036,1042,919,954,1180,1062,890,618,541,604,841,880,978,1062,1014,807,869,860,855,1168,1050,479,409,415,443,433,410,393,301,365,451,430,402,365,280,282,274,246,262,237,323,587,720,703,839,1136,966,584,660,625,402,540,533,746,1322,1120,872,622,474,612,792,1110,1180,1184,1458,1320,1034,917,2042,2000,1396,1294,1402,1654,1606,1424,1382,1188,1184,1214,653,692,1009,1009,1168,1204,873,562,647,985,974,1042,1390,2308,1678,555,647,1046,1138,717,651,713,693,1034,1019,929,1120,1152,1130,867,783,1042,833,667,630,482,348,393,418,440,551,670,835,1108,1244,979,961,1106,1092,1130,1324,1146,1022,1234,1430,1522,1224,1040,653,386,419,571,750,1014,1352,1604,1446,1284,1310,1302,1308,1146,1296,1134,1438,1272,1156,1246,1250,1278,1210,1144,1296,1230,1280,1398,1160,979,868,940,1015,1214,1248,1206,1162,1052,1144,1226,1360,1392,1198,1358,1534,1582,1384,1208,1080,941,1124,1194,1274,1426,1490,1280,1032,1318,1358,790,863,1300,1528,1564,1396,1176,1182,844,1052,1202,1294,1368,1288,1256,1282,1412,1548,1460,1434,1666,1510,1648,1820,1588,1300,1138,1106,1122,1048,1094,1072,1222,1422,1458,1496,1326,977,1086,1176,1256,1310,1258,909,820,1154,1280,976,747,802,698,578,568,736,1052,818,744,758,782,874,874,1142,1502,1272,1192,937,1510,1542,1376,1402,1436,1488,1388,1344,1740,1732,1070,693,580,805,1316,1154,1076,963,1024,1102,972,1021,1308,1264,1164,1256,1390,1328,1017,1316,1156,1306,1384,1058,991,875,746,1056,1150,1234,1602,1684,1710,1622,1632,1318,628,387,346,564,1004,1013,605,623,522,436,471,418,448,437,424,502,514,401,564,752,756,634,442,692,1122,1078,978,804,542,505,1009,890,455,622,924,974,1184,1268,1058,1264,1014,883,693,988,1268,1072,738,591,530,448,548,525,449,578,557,825,1094,1318,1148,749,704,1002,1002,774,633,576,607,478,590,557,559,540,451,584,836,701,714,1002,1092,871,845,661,648,510,740,1078,1226,980,647,464,272,251,304,714,1086,694,569,671,547,710,679,671,1092,1382,1274,749,590,1122,1252,783,415,559,933,1226,1015,932,1228,1516,1266,1186,1162,810,592,391,383,512,497,501,648,593,561,561,471,470,458,516,422,340,356,317,325,437,591,1110,1282,1023,564,517,1260,1904,1288,775,594,334,401,839,655,654,644,511,673,532,653,1104,784,325,477,912,990,894,880,926,785,505,321,313,329,453,710,725,572,874,1102,648,477,494,464,458,507,345,421,618,752,987,1110,739,966,1108,634,513,614,480,491,669,591,437,425,862,1152,780,902,928,1086,623,423,554,962,1276,949,562,615,834,1324,1364,1256,1104,1888,2218,2010,1328,915,937,951,688,1096,1422,672,844,927,523,514,1190,1216,939,1046,1428,1450,1152,1164,1136,1100,521,634,893,1214,1446,1082,811,935,1040,1266,836,499,670,901,914,1078,1570,1294,1198,1432,1702,1476,1166,1158,927,725,590,930,951,758,781,922,896,556,515,839,827,771,775,913,900,618,965,1628,1526,1018,955,1310,1206,1054,926,611,560,529,452,351,430,583,412,290,321,581,730,700,800,1158,1146,1250,1074,446,293,263,279,330,358,476,511,499,562,855,850,464,424,568,946,1406,1042,1072,1268,1510,1470,1062,739,827,1182,1316,1170,934,945,1017,963,1196,1038,576,313,487,688,633,437,398,386,395,382,445,452,365,592,566,350,406,431,306,326,297,348,352,300,271,249,228,219,253,248,214,233,235,227,227,266,251,212,230,277,235,218,295,275,230,290],[254,288,342,462,574,1084,1202,857,673,754,890,1136,1396,1306,1080,886,968,1290,1028,879,808,644,777,734,831,1070,1208,1126,1106,1226,1332,1224,808,687,626,559,824,982,748,399,399,554,630,943,752,746,1010,1338,1522,1068,789,650,755,637,815,1492,1458,1058,1096,1402,1410,1110,1136,775,998,762,976,908,779,1140,1312,1282,1046,1430,1808,1062,908,907,1236,1166,1210,1306,1152,881,791,959,915,1118,1450,1001,463,492,808,791,642,855,1118,1188,1070,1005,902,579,903,1094,846,535,460,481,586,660,525,529,750,963,937,880,781,574,423,384,412,578,544,403,279,309,505,566,593,536,669,788,1054,1244,972,1058,1280,1152,1294,1678,1578,1084,886,752,785,1076,859,576,462,397,469,548,938,1086,1616,2358,1622,948,867,685,590,423,739,1370,1486,1524,1384,1372,1470,938,405,321,294,500,757,555,654,495,574,702,515,356,361,358,279,300,330,292,337,354,374,371,358,351,485,579,622,576,439,420,454,466,691,713,579,518,601,966,1190,826,725,963,833,664,633,1204,1500,1468,1194,1338,1212,1208,1210,1023,899,732,821,937,899,944,846,670,929,735,642,1074,1262,1110,831,482,775,1056,915,737,639,952,1262,1110,1204,1338,1358,1256,966,1062,1252,1148,962,1090,1020,1036,1072,1224,1080,1278,1442,1482,1262,959,753,844,1212,1582,1718,1698,1592,1586,1476,1366,1350,1186,1180,1304,1304,1021,917,816,702,693,613,1078,1346,1400,1222,1040,1044,868,489,555,545,534,548,533,450,450,501,625,1006,1262,1009,938,807,542,860,1084,806,653,702,951,747,662,763,756,653,437,361,443,432,490,642,753,914,851,965,1100,1110,843,590,562,583,462,457,775,1016,891,1050,1498,1598,1250,1128,891,960,846,495,983,2006,1824,1154,1082,1252,1538,1418,1310,1520,1330,698,618,1022,1276,1338,1200,1082,1134,1284,1334,979,1350,881,687,607,609,703,613,473,637,573,653,918,787,861,1170,1168,984,1074,826,906,1398,1232,937,683,1282,908,954,852,976,1102,1036,1670,1616,1288,1354,1324,1292,1360,1332,1304,1274,1470,1656,1478,1458,1448,1318,1230,1250,1334,1348,1310,1314,1184,1354,1300,1260,1544,1476,1400,1484,1260,1032,1188,1220,1294,1310,1698,1098,1360,1338,1184,999,755,573,490,559,808,1082,1126,1164,1230,1186,1366,1316,1138,893,772,621,520,532,624,883,1064,1132,894,982,761,597,1100,1108,923,1022,1021,948,962,807,742,609,499,490,763,1216,1110,1018,728,784,1190,1172,1038,886,949,1316,1296,1108,733,906,675,811,1206,1158,1150,933,794,849,937,971,1058,924,1021,1326,1092,1172,1138,1590,1400,973,1108,1302,1288,1202,790,751,1254,1246,1210,1174,1238,1364,1458,1562,1532,1410,1370,1422,1416,1346,1218,1114,1272,1280,1082,1180,1152,1072,1180,1216,1264,1314,1236,1198,1074,1290,1456,1498,1454,1476,1642,1654,1436,1550,1710,1532,1428,1450,1450,1388,1340,1366,1358,1422,1222,1218,1294,1296,1334,1336,1034,1216,1266,1210,1744,1256,875,867,1266,1104,744,726,948,1086,1152,1320,973,941,750,853,635,395,456,713,827,673,940,1670,1638,1324,982,938,943,924,1042,878,552,589,922,1116,1142,1013,1036,741,1134,1946,1702,1662,1524,1242,1182,1220,1316,1240,1208,1448,1376,1532,1622,1456,761,413,390,364,355,390,424,396,334,340,348,334,342,342,349,336,365,413,515,738,736,678,921,1308,1594,1814,1586,1208,924,667,588,524,458,424,437,477,451,394,409,436,528,802,1324,1572,1554,1686,1712,1668,1620,1534,1588,1552,1046,997,932,890,622,452,707,1100,973,984,1216,1102,1448,2272,2154,1528,1376,1424,1610,1422,1208,1332,1224,1044,1284,1664,1586,1340,1238,1374,1478,1234,1410,1248,903,1256,1372,1230,1382,1920,1620,1310,1186,849,943,980,1130,1004,954,1088,771,854,1038,790,890,1260,1316,1272,1130,1084,1128,944,1134,1186,646,766,1226,1112,1296,1448,1172,801,747,1068,1414,1264,1334,1328,796,693,696,796,703,951,1340,1140,1132,752,502,509,556,789,1212,1296,1466,1290,1316,1242,1174,1416,1256,1112,1214,1140,744,1244,1584,913,786,1406,1530,1352,1484,1566,1260,1154,1238,1382,1136,1112,2054,1448,941,993,1154,1320,1494,1302,1080,1015,916,889,1058,1142,941,969,914,1272,1506,1194,1148,1426,1714,1548,1202,1308,1250,1208,1280,1402,1512,1406,1584,1432,1368,1290,1176,1416,1306,878,1082,1494,1122,858,1146,1070,1002,810,983,1570,1512,1332,1146,948,1042,1568,1048,599,1068,2248,1612,980,869,1024,866,938,1202,1180,1520,1172,1156,1144,1478,2018,1564,1300,1330,1338,1232,945,1070,1426,1678,2092,1752,1520,1070,878,715,422,397,324,464,811,919,1274,1028,1122,1132,1046,1086,1242,1294,1186,982,953,1060,1056,1222,1528,1318,1390,1106,658,518,437,586,983,960,582,286,309,429,666,678,619,600,883,1246,1338,1238,1140,988,1176,1614,1262,829,1506,1650,1482,1268,1312,1386,1854,1624,998,874,803,760,633,515,489,557,1084,1522,1366,1314,1300,1366,1758,1744,1718,1426,1168,1602,1590,1302,1490,1264,1296,1434,1392,1534,1604,1508,1456,1408,1616,1632,1598,1500,1278,1138,1120,1136,1120,973,1014,1010,867,662,1004,1250,1200,872,872,788,535,563,588,623,775,855,775,791,847,1094,1252,944,544,575,534,437,391,457,454,350,326,349,331,303,269,180,194,241,265,254,288,345,361,468,840,1118,1014,753,758,853,633,406,964,908,794,1144,1150,917,726,749,1078,1308,1400,1276,1346,1354,1396,1044,735,2020,1896,1472,1510,1486,1684,1570,1392,1270,1396,1630,1452,794,624,806,1018,1260,1250,1018,949,1052,991,985,1242,1186,1710,1726,710,465,588,401,326,678,736,441,700,930,1082,1170,1028,1308,926,1398,1672,1009,684,573,451,379,382,498,700,1007,1150,1300,1140,990,750,759,1100,1058,1002,1194,1206,1040,1126,1032,1046,1018,822,513,448,590,858,1116,1296,1544,1698,1636,1826,1746,1542,1250,1052,990,1244,1452,1214,1204,1170,1126,1164,1162,1094,1268,1206,1258,1176,1042,1017,1011,875,903,1444,1432,1294,1152,1280,1360,1190,1186,1204,1174,1228,1292,1418,1250,934,973,1406,1960,1394,1540,1548,1194,1034,1422,1644,1414,1194,1118,1172,1336,1282,1260,1300,1130,988,1226,1536,1688,1556,1356,1256,1416,1248,1394,1564,1712,1706,1528,1420,1204,1190,1080,1078,1096,1064,1344,1644,1236,1128,1404,1478,1428,1288,1072,1178,1190,1214,1178,1196,1240,1136,960,1028,840,625,617,615,591,565,667,880,809,742,814,772,843,926,999,1184,1016,1154,1112,1402,1284,1318,1512,1558,1510,1300,1140,1310,1100,836,608,476,629,1020,1214,1120,1130,1324,1144,1021,1172,1448,1162,1154,1310,1298,1296,1294,1444,1202,1214,1286,1068,1100,1274,962,963,839,1004,1408,1620,1582,1424,1254,778,443,363,319,601,1180,1192,765,572,454,498,506,439,468,434,430,582,593,451,472,689,921,915,661,966,1128,796,761,1180,985,877,1072,593,509,962,1196,883,885,1322,1192,1110,1488,1084,543,764,938,907,714,634,641,683,655,448,783,869,1026,1268,1226,1188,946,551,792,1274,1010,828,871,845,675,439,871,662,597,1026,1088,860,1034,1124,827,922,1004,695,731,730,752,641,748,884,1084,1042,865,731,477,521,471,1030,1510,950,786,1006,739,929,837,469,599,827,1011,1112,1018,1208,1178,572,430,665,869,841,904,1007,1128,1168,1058,824,903,983,609,350,397,511,512,608,945,1142,1118,879,657,499,414,408,320,323,349,322,315,502,711,1016,1208,1108,859,614,908,1992,2116,1048,827,665,569,858,739,735,547,333,343,301,463,568,353,401,458,608,805,920,937,916,854,514,304,338,359,350,524,737,626,748,960,772,539,424,493,579,494,446,346,327,387,499,1021,1036,1224,935,583,625,634,523,418,326,346,386,545,778,951,1174,827,854,855,535,539,911,1440,1162,949,1288,1160,1007,1176,1366,1318,1362,1554,1274,1694,2072,1918,1398,1074,848,925,1232,660,440,367,404,574,1166,1914,1730,1001,1306,1340,1458,1254,1054,696,426,494,742,1082,1562,1250,814,729,794,946,584,687,1122,1188,1054,1352,1498,1484,1346,1086,1132,1064,827,789,893,856,484,771,1090,716,604,756,746,722,1252,1550,1310,1050,640,887,1322,573,394,1102,1278,1272,1092,1078,1094,955,677,554,459,717,892,664,755,1106,623,273,304,543,921,1012,1094,835,705,1080,1007,525,314,302,274,265,476,627,543,460,478,751,577,414,436,514,1056,937,719,718,1130,1478,1354,1010,955,1456,1274,969,1316,1330,1428,909,830,1028,1122,860,374,446,658,854,650,458,384,386,405,451,497,390,494,510,382,437,421,341,359,545,1394,1060,514,387,337,314,300,307,276,228,242,218,232,222,244,230,235,270,279,230,239,281,266,218,286],[287,258,378,506,443,595,1112,1222,984,910,1060,1300,1510,1112,692,781,762,825,559,683,705,508,448,501,885,1226,1130,874,713,918,1218,1740,862,693,849,896,835,1096,1166,599,619,730,487,733,819,1202,1124,1302,1372,1148,1132,1070,954,959,1008,1082,850,940,977,1230,1296,1260,1098,1064,1298,1172,1042,869,1216,1574,1386,1246,1368,1394,1182,1040,955,1108,1320,1410,1374,1094,967,1494,1278,1090,1104,1180,1236,604,341,535,1166,1140,708,801,1066,1048,1142,1336,1338,744,1164,1056,735,696,697,566,641,725,544,385,581,1272,1452,785,610,680,566,522,453,448,447,345,276,578,1086,745,582,633,952,817,1064,1200,1066,1104,1015,817,877,1310,1100,947,844,761,1108,1112,1352,954,449,577,919,1152,1402,1476,1634,1588,936,401,332,468,732,388,733,1044,982,1170,1110,1070,1138,947,381,321,420,808,1388,1246,1148,985,921,859,709,391,415,481,363,294,342,309,374,395,378,385,383,488,584,493,504,495,501,394,350,411,640,683,591,488,488,912,1076,798,1060,1436,1066,686,522,721,920,1244,984,1082,1144,1068,986,698,539,430,442,725,1138,1124,1048,1021,1028,758,635,953,1116,1126,907,574,770,773,638,645,488,624,1100,1382,1452,1346,1494,1682,1406,1122,1006,1120,1094,1402,767,556,666,627,884,1290,1428,1310,1260,1130,739,628,592,819,1388,1606,1452,1500,1452,1434,1388,1334,1220,1236,1106,1015,1246,1036,1766,1522,891,935,1188,1064,1092,1118,832,824,608,508,513,521,543,436,298,334,326,491,951,1112,948,1072,959,774,722,717,785,758,541,894,896,755,809,985,1044,577,432,402,368,454,501,996,1130,875,751,975,1130,781,500,525,531,469,440,675,995,1000,1170,1394,1278,1288,1480,1522,1250,1003,567,821,1282,1296,1128,1228,1230,1472,1432,1100,1246,1456,1084,762,1104,1360,1362,1214,1506,1412,1468,1410,1188,1180,1164,1007,682,508,605,745,819,1126,797,960,1192,1246,1170,1182,1170,1074,947,808,1040,1354,1212,1021,671,1536,1556,1074,708,694,1154,1516,1560,1552,1652,1612,1404,1486,1316,1288,1390,1280,1412,1406,1274,1362,1454,1318,1224,1316,1436,1316,803,683,798,1152,1374,1528,1656,1346,1294,1294,866,1056,1636,1204,1280,1340,1494,1088,1252,1208,1048,838,714,694,686,683,882,863,827,754,912,1284,1478,1282,1076,800,563,548,624,771,1062,1288,1094,869,949,1080,1112,971,1208,1262,1122,1322,1152,776,1350,1236,965,618,566,962,1014,883,911,791,775,961,1246,1248,987,805,926,1252,1232,1110,778,890,582,560,623,529,537,686,1042,1118,927,742,1038,1170,1134,1262,1164,1154,1190,1252,1228,1222,1332,1510,1740,1426,1108,850,1154,1026,962,943,1023,1296,1384,1458,1434,1306,1206,1088,1040,1198,1218,982,1104,1196,1012,1042,1092,1098,1148,1026,1108,1208,1064,990,1204,1416,1396,1454,1428,1382,1728,1720,1266,1018,1366,1538,1566,1562,1568,1636,1560,1576,1632,1574,1576,1480,1418,1482,1250,1262,1094,1272,1262,1282,1030,916,769,735,836,761,886,1160,1764,1512,1234,1072,1146,973,1026,1232,732,451,580,926,988,756,785,1154,1350,1294,943,926,980,1168,1006,722,697,871,1166,1378,1392,1396,1544,1498,1614,1566,1556,1392,1046,1040,1394,1586,1378,1242,1012,1388,1644,1434,1520,1410,717,344,328,358,397,412,405,391,331,333,334,321,336,344,344,342,331,345,374,452,515,500,578,941,1212,1468,1750,1692,1432,1036,682,570,643,735,984,1098,885,791,648,515,617,968,1538,1562,1606,1710,1686,1648,1668,1626,1670,1604,951,946,991,1242,1094,681,647,1064,986,957,1366,1068,908,2004,2410,1754,1684,1382,1268,1282,1454,1634,1372,1088,1518,1722,1284,1300,1232,1332,1424,1264,1170,859,574,728,960,975,1224,1628,1512,1340,1224,839,916,1024,1282,1494,1306,1066,858,926,987,982,1188,1312,1246,1218,1056,1234,1338,1310,1116,963,863,1019,1080,1196,1500,1448,1168,1098,898,908,1194,1182,1384,1422,1100,1116,1122,775,547,840,1160,998,1332,664,489,467,677,1136,1312,1252,1272,1412,1418,1356,1328,1186,1116,1288,1470,1380,918,1410,1278,717,838,1042,1144,1184,1130,1132,1216,948,862,1116,1414,1832,1784,1372,1522,1462,1338,1162,969,881,930,916,896,694,679,956,997,1074,1048,1246,1302,1188,1336,1470,1722,1278,1278,1390,1402,1372,1328,1552,1480,1330,1620,1704,1670,1102,1102,1456,1282,1042,1260,1602,1788,1932,1720,1106,898,1078,1080,1086,958,1100,952,1042,1026,1338,952,552,501,739,1222,1370,988,1246,1050,954,1210,1386,1584,1322,1308,1248,1250,1284,1422,1426,1226,994,937,800,1160,1448,1404,1280,1268,1228,1001,1096,924,590,330,267,365,516,706,1086,1204,1250,1222,1226,1162,1120,1134,1016,1146,1340,1552,1260,1262,1480,1238,1198,1004,907,856,739,995,1194,943,1010,664,416,406,647,788,899,1200,1382,1192,1054,1288,1534,1466,1646,1402,884,872,1488,1476,1172,1288,1044,970,1224,931,854,860,685,595,611,527,471,460,828,1392,1644,1532,1306,1758,2334,1738,1514,1520,1412,1556,1622,1506,1548,1586,1670,1612,1416,1378,1366,1444,1366,1446,1432,1384,1472,1540,1178,1180,1134,1192,1212,1052,1130,1058,1022,1021,1314,1256,1256,1048,1114,1044,715,850,984,760,828,1004,1060,987,917,1009,984,889,841,985,973,648,425,507,512,468,432,414,326,283,277,233,246,276,291,337,495,484,459,837,888,903,967,842,1078,1160,934,606,852,736,846,1438,1304,980,738,818,1396,1288,1202,1346,1264,1078,967,1100,1088,1342,1548,1484,1506,1374,1618,1484,1114,879,1232,1452,1170,882,758,833,1028,1196,1278,1152,1056,933,1138,1438,1488,1290,1238,1176,662,335,333,309,425,572,661,666,963,962,872,1102,1274,1034,805,1366,1438,1038,805,605,641,612,509,714,895,1170,1172,1186,1124,1001,888,986,1268,1136,1013,1332,1222,977,1023,833,763,753,694,847,957,865,888,1322,1340,1650,1880,1918,1990,1652,1364,1194,1144,1132,1382,1376,1122,1182,1106,1100,1114,1162,1176,1534,1420,1202,1024,1136,1276,1156,1146,1212,1390,1246,1134,1032,1084,1160,963,957,1070,1032,1003,1138,1344,1050,803,1088,1162,1024,908,1248,1254,994,1158,1590,1590,1274,906,824,973,1016,1156,1056,1003,932,1034,1276,1404,1194,1350,1378,1362,1630,1384,1416,1658,1666,1640,1488,1236,1262,1194,1007,1050,1214,1368,1456,1572,1304,1394,1496,1274,1132,1134,1112,1196,1274,1212,1144,1252,1316,1236,1170,1242,887,844,681,604,709,755,731,838,837,720,839,755,796,896,827,1006,1302,1374,960,828,1092,1352,1494,1482,1390,1318,1130,1084,895,1350,1230,663,714,1078,1284,1200,1296,1328,1362,1362,1112,1134,1168,1214,1332,1316,1384,1396,1290,1210,1288,1158,1010,1086,1138,1042,1010,925,1050,1050,1038,1278,1414,1021,722,537,420,412,694,1030,924,874,791,618,658,640,462,390,472,723,857,550,408,500,718,1056,1186,756,1007,1116,1206,1216,1232,1328,1306,1036,611,554,948,922,712,818,1056,993,1170,1560,990,476,441,605,798,527,516,522,469,407,304,791,868,904,1106,1074,1188,771,767,1398,1374,1064,1184,1114,1132,775,376,510,447,536,987,1084,866,1128,1318,1188,1114,569,591,821,1242,1026,523,412,431,570,1018,1084,858,714,1094,839,1052,1490,901,738,879,603,642,639,382,399,599,970,980,1224,1486,1210,645,517,585,805,1072,926,705,1046,1198,1142,899,927,915,528,367,324,429,494,744,1230,1544,1440,1424,1114,631,544,347,273,263,287,296,315,366,432,543,774,792,775,709,803,1024,1278,1072,1228,960,777,786,495,383,433,471,504,641,575,333,286,527,567,467,642,583,439,658,687,441,346,382,433,344,372,718,971,1014,1005,846,624,407,512,678,653,840,725,697,669,634,1048,1324,1580,1106,591,584,665,758,675,460,413,411,627,979,1056,1178,785,469,348,517,599,895,1538,1208,1190,1208,1326,1630,1246,1194,1268,1246,1005,873,974,2126,2454,1210,680,519,783,1228,791,383,312,560,934,1114,1324,1340,996,1294,1366,1794,1376,1238,1060,922,733,976,1116,1064,894,941,837,794,966,903,1180,1430,1210,1238,1178,1188,1444,1246,1036,1262,1018,942,818,576,419,440,740,970,772,473,435,683,1202,1572,1454,1256,1042,862,1042,1286,760,440,518,893,1004,810,930,937,670,505,492,688,1126,1064,1208,1434,1138,517,343,414,361,582,821,863,780,781,904,955,516,356,342,295,283,430,546,523,427,418,458,268,352,594,582,637,1038,962,852,1570,1926,1548,1122,1244,1504,1536,1388,1486,1610,1428,1072,1088,847,465,281,331,520,788,1218,835,455,356,435,413,401,444,402,433,413,358,437,422,629,521,816,2700,2238,805,452,386,394,355,341,314,289,319,307,253,247,247,246,235,252,257,229,238,307,287,218,281],[385,343,394,446,466,572,805,1154,1350,1262,1386,1522,1320,968,1206,1286,871,643,824,1056,907,799,401,574,1022,1460,2056,1544,784,990,996,1042,738,1216,1412,902,777,941,883,775,865,1094,625,697,1246,1356,1282,1344,1220,1328,1442,1324,1194,1382,1226,1266,814,672,1011,818,888,1110,1070,1234,1304,1264,1144,1096,1456,1396,1330,1438,1622,1554,1240,983,914,971,1030,1092,1108,1218,1162,1734,1622,1356,938,1038,1188,877,755,810,758,700,830,1050,1196,1188,1200,1122,1018,818,1066,1256,924,628,727,721,664,701,543,464,497,1362,1356,601,506,610,648,606,512,410,373,356,307,392,576,417,460,801,766,633,666,874,1346,1504,1310,1226,925,1110,1082,1292,985,1204,1368,1274,1748,1348,603,774,1194,1544,1820,1340,1134,723,537,309,250,353,461,267,315,292,301,445,513,888,1250,1232,785,705,1116,1282,1122,994,969,933,965,1106,867,700,841,1044,645,426,360,301,317,304,288,304,339,457,545,511,425,352,446,340,279,273,394,446,413,429,652,1008,912,953,1050,777,1021,774,576,777,1010,1238,1022,1126,1152,926,882,557,444,542,731,1118,1174,948,913,973,1021,1120,1018,827,1010,1260,868,611,1132,975,883,650,580,1044,1582,1414,964,710,1020,1528,1406,840,797,1218,1178,1438,903,426,447,471,936,1464,1068,686,1094,1316,1130,1058,782,818,1302,1454,1460,1350,1168,1017,1168,1500,1486,1516,1250,989,1318,1204,1534,1180,794,763,989,1116,1142,1005,747,990,758,543,621,733,874,742,417,307,315,430,628,919,1032,1120,1114,862,431,412,573,503,552,990,1144,1130,1100,1038,922,455,446,371,385,458,437,455,712,778,603,866,1176,1003,989,687,463,573,496,525,796,745,813,1012,1198,1284,1432,1368,1200,1184,695,695,1004,1214,1210,1142,1146,1528,1622,1284,1182,1464,1454,1184,1290,1300,1092,1114,1560,1396,1484,1364,900,1074,1340,853,609,508,559,697,1064,1268,956,1120,1274,1190,1128,1266,1242,1040,1068,1158,1306,1458,1594,954,567,811,835,786,756,711,1064,1354,1584,1650,1762,1372,1350,1418,1346,1510,1548,1288,1234,1160,1042,1356,1324,1134,1104,1424,1476,1066,514,408,762,1222,1416,1610,1414,1340,1754,1492,758,901,1560,1314,1346,1542,1148,984,1214,1250,980,680,813,755,607,634,993,967,841,719,1034,1322,1476,1256,737,496,529,542,912,1262,1324,1346,1218,1272,1468,1462,1082,1130,1388,1156,966,1224,1023,1048,1522,1312,828,662,771,1068,817,496,393,406,800,1021,1236,1058,597,811,1086,1244,1164,883,544,532,623,623,367,378,574,935,923,1146,1340,924,1023,1013,830,957,1144,1222,1268,1362,1260,1194,1272,1302,1472,1186,1050,1078,1242,1054,821,749,952,1444,1428,1454,1484,1664,1614,1444,1288,1152,1284,1066,871,902,847,839,924,1216,923,801,1016,1060,1013,954,1118,1260,1274,1506,1432,1462,1760,1512,843,638,1096,1360,1340,1550,1444,1342,1322,1028,888,1216,1480,1400,1582,1694,1440,1578,1736,1686,1594,1594,1344,1112,922,775,744,832,1046,1368,1100,888,894,1074,1570,1216,1019,1144,783,766,987,1444,1390,836,613,792,832,905,798,501,589,883,947,1060,1186,1200,1344,1512,1610,1566,1492,1340,980,913,1240,1184,990,880,1308,1478,1015,1092,999,1052,1088,765,760,700,439,335,326,369,390,359,354,378,319,301,318,317,317,338,333,316,325,355,357,393,437,462,498,763,724,863,1336,1832,1926,1664,1390,1228,1252,1366,1496,1514,1466,1300,1232,892,626,1182,1602,1556,1654,1686,1572,1576,1636,1556,1842,1584,1052,916,848,1116,1196,788,838,1238,1068,1007,1050,1086,1019,1642,2186,1780,1500,1244,1248,1370,1332,1354,1432,1328,1560,1426,1138,1216,1028,940,1430,1334,1060,836,557,659,882,1010,1216,1474,1456,1410,1408,1138,1050,916,1030,1064,888,876,1004,911,783,642,995,1300,1258,1334,883,1298,1486,1198,1164,1296,1372,1248,786,709,984,1404,1212,1214,968,722,927,1196,1152,1080,1234,1190,905,777,685,587,569,441,514,426,372,566,1110,1318,1458,1454,1300,1400,1296,1496,1274,1218,1460,1474,1344,1180,863,999,1074,989,1134,1466,1470,1344,1112,949,1072,1012,966,1246,1356,1638,1418,1676,2096,1402,1146,1160,996,1124,1198,1098,1198,984,975,1116,1180,1426,1616,1214,959,981,1060,1168,904,1282,1470,1276,1522,1598,1436,1356,1340,1382,1688,1514,1290,1274,1446,1412,1162,1374,1532,1500,1480,1284,1304,1210,1100,1200,1216,883,641,746,645,794,832,832,888,625,739,1156,1262,1238,1388,1772,1460,1296,1212,1280,1336,1376,1316,1376,1316,1378,1506,1184,862,621,532,771,1162,1328,1324,1294,1424,1070,632,807,881,582,348,350,398,455,824,1230,1284,1236,1216,1280,1202,1038,1080,1192,1490,1464,1588,1300,1164,1124,1132,1148,1028,1060,1030,1048,1182,939,619,796,1015,739,659,929,1078,1142,1254,1244,1076,960,1272,1580,1670,1650,1542,1136,1122,1078,684,589,664,614,792,894,799,946,1036,1062,830,694,572,498,489,603,1062,1570,1614,1428,1506,1694,1686,1738,1664,1384,1388,1504,1390,1128,1302,1662,1526,1532,1410,1360,1506,1370,1308,1316,1206,1212,1420,1402,1328,1084,1130,1188,1090,975,932,1102,1166,1148,1150,1158,1282,1278,984,794,967,1156,1238,1072,1026,1088,1272,1354,973,1064,1042,983,1190,1072,734,462,499,561,532,519,523,395,369,381,297,285,289,343,763,1228,1018,817,792,605,917,1284,1180,1136,1068,960,780,825,698,852,1454,1306,1098,900,807,968,861,899,969,905,923,782,699,1007,1620,1578,1450,1272,1246,1580,1208,819,641,741,946,916,811,1007,1128,1214,1302,1252,1021,1036,657,751,933,1154,1226,1222,1298,1052,692,450,375,605,723,804,800,810,531,566,871,990,940,844,990,1208,1142,1146,850,945,888,669,847,1072,1102,865,887,1110,1120,987,973,1226,1084,1086,1356,1010,724,646,647,633,584,938,1374,1446,1130,1036,1466,1530,1770,1970,1788,1768,1514,1224,1278,1192,1092,1510,1284,1194,1198,1268,1226,1134,1144,1168,1218,1142,1080,1194,1454,1488,1044,1084,1028,1019,1204,1130,1072,968,1020,1112,1202,1130,996,921,1076,1138,1028,962,1114,934,710,870,1226,1184,871,1038,1322,1340,1032,564,693,1042,1068,1009,1036,1256,1224,1011,997,1098,1282,1378,1096,1218,1740,1558,1244,1284,1248,1516,1428,1450,1776,1382,1168,1118,1196,1368,1282,1294,1356,1436,1484,1368,1206,1242,1322,1402,1426,1316,1220,1226,1134,892,969,813,944,1022,706,610,822,912,770,778,827,683,831,678,735,788,738,1124,1590,1468,968,843,1132,1382,1422,1276,1310,1284,1146,1098,764,2340,2562,1040,1056,1150,1196,1396,1382,1232,1518,1454,1150,1178,1148,1292,1332,1280,1274,1188,1204,1398,1400,1310,1184,1242,1230,1190,1106,905,941,974,769,1032,1244,678,628,546,491,473,521,852,1086,1158,990,811,830,722,450,466,714,1182,1044,616,440,528,483,624,676,802,1050,1036,1074,1060,1148,1410,1328,1304,995,659,743,832,1064,1140,1002,636,879,1324,1104,1052,918,790,620,506,479,380,371,463,419,624,678,629,720,852,1276,681,700,1110,907,1194,1424,1434,1486,893,296,314,293,371,788,1294,1326,1224,1262,1226,743,421,418,530,678,602,329,377,557,627,1142,1180,759,1018,1284,863,829,1007,535,424,495,454,390,372,569,581,843,986,709,661,978,1200,1268,937,598,716,1100,795,898,1004,1052,818,489,965,944,739,664,435,417,321,395,705,1138,1318,1526,1204,747,444,340,328,300,283,353,364,364,366,294,496,642,688,892,825,426,628,739,797,620,419,433,421,365,388,497,718,827,521,368,387,579,778,738,477,322,338,415,413,388,367,397,420,343,457,774,1202,1462,1296,1172,935,573,488,430,515,834,695,716,1036,1188,1050,1050,1304,1084,838,739,882,1158,836,576,595,536,568,838,893,648,397,329,405,524,480,675,1254,1332,1356,1114,807,957,1052,962,1030,1188,1066,1130,1616,2426,1512,633,393,346,429,564,437,392,372,547,1076,1410,1090,920,996,1410,1530,1108,1200,1238,1136,1114,1062,1102,1100,709,559,824,1088,1218,1216,1064,1190,1158,1138,1370,1156,1056,1272,1240,1150,1388,1208,1168,982,598,429,602,724,725,667,599,652,1094,1590,1438,1284,1240,986,858,1152,1074,657,500,871,950,520,573,969,1048,594,446,595,1174,1252,1122,1102,908,930,1356,779,720,556,1296,1342,785,532,570,873,879,959,869,531,317,329,387,433,429,374,340,309,304,399,612,662,1017,1476,1382,1716,1742,1926,1056,1194,1214,1120,1264,1286,1258,1146,1082,1182,1236,998,480,296,332,681,774,930,815,658,563,433,383,415,457,405,431,358,301,343,535,818,924,1030,1654,1226,651,453,334,319,321,370,368,294,355,404,418,388,323,328,323,282,282,286,346,390,272,235,323],[312,360,356,439,753,883,717,837,1118,1410,1396,1434,1330,1396,1616,1510,1252,1058,1212,1192,1026,1138,534,763,1108,1424,2230,1450,860,1192,854,473,606,1118,1118,571,717,975,922,1050,949,1200,1276,1150,987,892,775,608,960,1110,998,1358,1366,1424,1294,1180,747,683,991,937,997,1192,1162,1052,795,1022,1054,1184,1202,959,1180,1572,1484,1290,1402,1394,1134,1072,1180,1312,1048,1188,1180,1350,1302,1148,956,1023,1180,1216,1164,1148,569,661,1144,1326,1400,1292,1198,822,759,1078,1414,1344,888,451,683,867,504,462,439,460,589,1074,886,543,322,440,605,539,418,434,440,435,379,354,323,342,419,559,579,596,753,1140,1264,1394,1410,1378,1194,1386,1456,1426,1240,1250,1362,1540,1554,1080,919,938,890,1190,1288,1134,1021,645,420,310,247,241,240,244,276,337,298,464,802,882,1118,1268,1126,1242,1450,1186,637,461,478,727,1218,768,486,753,1084,1622,1098,598,383,292,323,300,335,368,351,506,582,535,371,277,344,346,318,315,357,377,371,393,744,1186,1122,1180,869,671,877,977,719,584,872,980,968,933,772,1286,1088,926,1048,1090,1240,1268,1122,1342,1466,1372,1388,1356,1256,1180,1236,900,562,701,1388,1242,1046,910,804,1174,1340,1084,730,478,594,1232,1420,1082,2018,2284,1418,1422,1080,543,513,536,725,1218,1202,1274,854,1192,1478,1334,856,930,1302,1318,1246,1262,955,715,682,940,1238,1372,1378,1290,1274,1312,1086,1028,1244,1242,1236,1432,1294,1362,1034,1070,718,507,927,1274,1350,977,361,294,383,614,637,1007,1110,1454,1350,666,339,444,552,506,493,710,966,1182,1130,991,722,495,583,520,456,444,424,413,493,522,549,875,1100,880,849,565,618,886,844,619,544,531,610,927,1210,1498,1462,825,1142,1356,1080,1040,1194,1198,1350,1322,1202,1538,1566,1114,1242,1442,1756,1608,1610,1376,1220,1252,1332,1268,1440,1482,1256,1312,1356,840,484,464,553,537,608,805,844,935,1230,1208,980,1088,983,893,1226,1362,1268,1498,1498,953,932,984,780,764,894,926,1058,1188,1616,1660,1632,1426,1440,1520,1418,1258,1226,1262,1174,1002,904,1192,1310,1166,1152,1426,1466,1116,847,818,1216,1262,1128,1168,1017,1118,1732,1642,928,1036,1400,1320,1438,1774,1580,1278,1322,1416,1156,992,891,688,595,660,868,1054,763,707,1062,1098,971,850,628,660,808,1092,1302,1272,1182,1106,927,1250,2284,2352,1106,1050,1068,1022,1114,1050,800,883,1007,1208,1314,1400,1284,1166,835,544,448,533,839,1050,1216,1284,838,585,679,982,1056,855,1042,1092,1128,972,641,797,892,1130,1001,1398,1390,1066,1005,940,805,798,1172,1500,1222,1294,1344,1070,1256,1240,1368,1146,792,1150,1388,1042,784,811,937,1364,1282,1384,1358,1458,1464,1656,1416,1036,1062,983,927,919,846,788,938,1454,1192,923,868,891,1024,991,820,870,1050,1212,1246,1230,1176,1068,781,662,892,1001,994,1040,1060,1206,1246,664,470,578,899,1216,1346,1470,1736,1622,1532,1598,1670,1638,1438,1438,1476,1510,1376,1322,1510,1560,1128,1168,1200,1368,1614,1168,560,747,710,1013,1432,1610,1374,996,819,977,1172,1132,763,442,651,1056,1290,1438,1482,1472,1180,918,1034,1130,1198,1252,957,887,1110,897,1124,957,1114,1160,737,825,880,611,469,398,379,322,302,326,346,408,366,311,340,345,313,307,323,305,309,343,322,327,342,345,365,377,379,420,523,733,630,548,840,1442,1768,1870,1878,1896,1654,1594,1686,1620,1528,1298,1088,794,998,1456,1440,1438,1516,1622,1622,1678,1598,1512,1814,1444,1013,941,1130,1372,1152,844,777,979,1116,1062,1296,1404,1072,1282,1546,1216,1040,1102,1234,1294,1088,1162,1530,1476,1370,1236,1224,1372,1152,1388,1702,1268,791,578,520,463,642,1148,1248,1410,1306,1000,1294,1366,1028,1026,1164,1230,1170,957,910,982,1002,791,905,1096,1198,1286,1001,1238,1412,1272,1354,1290,946,678,453,418,675,1366,1302,1360,1072,905,1226,1344,820,709,993,877,530,469,719,720,595,512,472,436,453,865,1048,995,1178,1158,1116,1242,1380,1452,1168,1286,1228,1106,1044,851,692,771,1054,937,1176,1536,1716,1604,1480,1402,1194,1074,1190,1350,1298,1100,1046,1442,1392,1096,1104,1366,959,1162,1124,1090,1002,833,1015,1268,1252,1238,1262,980,882,1236,1314,1028,859,1428,1482,1270,1208,1418,1598,1284,1498,1112,1304,1294,1226,1620,1642,1170,1136,1510,1242,840,928,968,980,804,1042,1112,1236,896,705,645,678,955,830,708,832,634,717,907,1182,1168,1360,1436,1300,1334,1328,1418,1472,1288,1264,1256,1194,1302,1390,973,944,939,700,1050,1360,1318,1252,1084,1048,635,361,432,691,587,426,376,592,711,884,1172,1414,1460,1326,1222,1228,1122,917,960,1354,1202,1003,830,881,1162,1368,1396,1192,1184,1164,1124,1410,1402,1002,735,1290,1262,799,899,1170,1106,1116,1005,1108,968,1234,1776,1708,1396,1352,991,968,825,496,488,562,623,775,1004,1086,1082,1108,1206,879,629,518,457,479,540,740,1080,1544,1602,1686,1660,1522,1288,927,933,1302,1500,1398,1092,1206,1574,1748,2002,1390,1144,1082,1142,1138,1212,1116,1080,1116,1252,1410,1338,1242,1164,1150,1166,1178,1234,1138,1404,1342,979,1134,1236,1015,932,1148,1248,1548,1202,886,814,1080,1092,927,974,863,1020,1130,844,566,391,457,509,503,508,472,377,358,368,331,306,333,356,766,1372,1412,1124,789,538,1090,1056,738,766,858,813,775,738,741,618,1017,1440,1218,938,918,703,555,736,874,885,926,1104,1252,1226,1208,1076,1182,1094,1214,1522,1208,859,676,760,1104,1250,1062,1272,1024,885,809,912,1012,1122,654,647,991,1100,1158,1228,1332,1252,1018,634,566,731,769,940,1046,801,470,617,1032,1150,1130,892,952,1020,1030,1094,1001,1222,962,630,763,799,721,731,951,1206,1238,1023,1228,1290,1260,1168,865,738,756,642,721,711,772,1182,1234,1318,1034,1384,1496,1420,1586,1720,1724,1664,1338,1288,1238,1158,1268,1604,1338,1350,1224,1216,1238,1246,1234,1276,1268,1226,1204,1276,1188,1302,1092,975,995,1046,1114,1086,1112,1102,1042,1136,1208,1094,983,861,832,835,1110,1004,1062,1048,995,1168,1268,943,601,858,1110,1260,1172,1032,945,891,1068,1162,1013,865,879,866,780,893,1148,1086,995,1222,1794,1546,1032,1042,1206,1496,1548,1392,1738,1534,1416,1284,1228,1224,1418,1400,1526,1638,1476,1346,1196,1300,1508,1550,1388,1362,1178,1098,1009,757,653,625,669,635,583,670,797,780,689,713,702,686,796,630,686,866,824,908,1178,1346,1024,863,1088,1402,1470,1560,1394,1194,1226,1226,875,2346,2998,858,929,1136,1162,1268,1390,1442,1338,1120,1052,1184,1086,1072,1190,1214,1224,1148,1212,1412,1358,1222,1126,1100,1182,1124,1016,865,912,1086,1166,1152,839,525,560,529,454,401,381,697,957,1019,1052,1036,792,594,677,889,1130,1440,1070,769,531,405,456,566,753,1058,1021,866,1017,1198,1340,1252,1226,1306,1186,1122,1048,1146,1368,1288,781,705,1023,1230,1120,1392,1350,1038,901,845,800,961,1114,1012,1034,1090,663,544,693,894,1314,834,618,547,600,1100,1368,1464,1372,835,329,293,336,680,714,1012,1282,1328,1268,843,448,372,351,463,631,944,481,541,726,791,1086,943,547,778,1108,767,556,641,407,412,292,325,313,389,680,502,489,531,450,661,733,559,903,1314,1290,995,727,962,1178,1048,1068,665,424,644,537,611,640,531,442,322,340,339,368,655,966,1034,660,391,372,371,384,375,415,359,350,446,373,539,998,650,979,818,391,443,612,718,714,630,377,330,311,374,460,488,564,464,406,413,490,733,695,285,314,361,352,334,355,347,343,411,449,610,844,1078,1126,967,769,705,745,854,509,335,282,397,476,563,929,968,779,1158,1288,1216,911,631,974,791,658,780,855,821,692,541,417,305,364,362,415,577,590,736,1106,1374,1286,1086,924,1000,825,973,1430,1310,1228,1944,1316,1078,929,893,688,499,483,339,372,372,532,924,1258,1188,1076,1264,1354,1246,813,972,1104,1046,1058,749,814,914,606,646,991,1034,1108,1208,1346,1208,957,1110,1192,1104,1064,768,1014,1144,1324,1234,1030,840,608,544,805,956,733,736,1422,1262,1296,1198,1132,1328,1440,901,752,1100,1166,1001,822,970,838,442,548,963,1360,995,711,949,922,990,1314,1238,787,1686,3486,2316,858,855,1764,1926,1104,535,973,1078,806,960,1272,1124,469,372,382,419,380,336,279,286,357,395,443,440,500,739,1294,2438,2020,1040,546,823,712,788,1084,1230,1202,872,745,577,734,717,397,301,351,611,797,1062,1106,973,784,442,392,484,499,482,419,309,280,314,470,985,1334,1186,1024,948,747,334,226,271,350,414,408,273,307,364,419,442,470,525,476,386,321,265,307,318,253,218,272],[321,373,357,438,797,891,560,568,562,1023,1384,1566,1446,1384,1302,1284,1306,1310,1236,667,788,775,648,1068,930,867,894,686,617,576,600,544,691,934,730,824,972,1120,995,1144,1144,1344,1354,1120,791,543,540,761,1080,925,1154,1418,1194,1294,1254,873,490,951,1674,1586,1308,1192,1020,747,518,933,1136,1152,1284,822,731,1384,1534,1292,1232,1080,1162,1306,1392,1208,1244,1210,1180,1222,1230,1298,1338,1234,1194,1060,1018,1244,856,929,1052,758,789,720,713,888,1078,1226,1156,941,723,540,842,903,434,352,744,1144,1392,1198,988,1028,530,513,469,448,459,461,489,404,387,456,480,498,522,556,625,721,1054,1278,1324,1198,1274,1194,976,960,1240,1318,1012,1104,1342,1384,1040,1270,1430,1092,596,888,1210,1506,1194,504,305,303,256,239,246,315,343,323,305,777,1118,854,831,919,1066,1066,715,733,658,896,930,1100,1446,867,531,365,523,731,559,429,307,351,503,375,454,520,537,863,852,487,304,363,414,380,393,417,467,450,451,394,513,591,861,1228,879,750,782,880,988,896,642,597,846,826,689,1060,922,1042,1130,1070,1118,1007,961,1422,1756,1674,1490,1304,1064,1266,1576,842,463,794,1308,1144,1098,1248,1024,931,683,664,707,597,476,908,1320,1270,2238,2164,1420,1186,993,903,902,949,834,1005,1294,1394,1124,1278,1350,1276,1092,926,1048,1248,1334,1036,595,584,563,960,1178,1260,1366,1278,1338,1438,1394,1410,1356,1540,1532,1638,1306,1362,941,745,579,609,1060,1198,1200,980,436,320,433,709,694,741,799,966,910,525,313,374,369,423,601,630,1108,1498,1396,1222,752,577,630,517,409,413,434,417,393,370,552,975,1294,1040,896,725,780,1044,1122,972,667,544,643,1234,1410,1716,1538,1178,1138,1322,1416,1324,1234,1228,1352,1416,1306,1508,1256,859,1356,1852,2006,1780,1750,1422,1250,1310,1150,1068,1272,1618,1318,1350,1220,747,452,475,501,478,594,759,608,500,590,653,675,800,773,796,964,1134,1178,1368,1404,1464,1486,1180,960,1122,1162,1108,1140,1116,1426,1574,1382,1128,1338,1552,1398,1332,1402,1208,1336,1260,1346,1404,1350,1142,1070,966,957,1208,1194,1246,1638,1544,1310,971,1020,1256,1598,1278,879,1078,1412,1614,1714,1666,1322,1282,1306,1354,1416,1206,786,554,508,517,644,643,431,425,562,656,615,865,858,950,1104,1140,1172,1262,1328,1290,1028,1384,2362,2272,1122,1080,975,1014,1274,1098,1180,1332,1440,1348,1182,1242,1468,1552,1244,765,644,803,1038,1270,1628,1312,648,381,482,924,1258,1066,1272,1124,924,604,536,833,1021,1100,1070,1098,939,703,904,1164,1262,1424,1348,1288,1026,1334,1138,910,1142,1344,1554,1188,720,980,1118,889,913,1002,982,1396,1342,1306,1604,1674,1266,1072,1076,1130,1050,855,899,954,864,844,991,1202,1140,1038,959,907,999,957,796,942,1022,833,767,1182,1282,1018,815,889,875,798,901,1005,1116,1204,1416,748,733,613,579,884,980,1484,1710,1332,1406,1546,1246,1192,929,950,1244,1554,1300,1338,1400,1274,1372,1510,1466,1610,1594,1356,1148,1256,918,945,1416,1510,1286,1374,1434,1288,1204,1108,1024,801,1138,1442,1614,1558,1372,1120,732,708,955,1048,1292,1224,819,810,994,691,926,876,819,801,554,473,461,418,423,383,343,329,314,287,308,402,377,321,318,313,301,308,315,294,298,336,307,346,368,357,353,352,361,357,521,654,561,617,697,1028,1552,1852,2010,1840,1746,1704,1620,1522,1504,1274,742,722,1266,1506,1410,1482,1590,1670,1670,1736,1594,1660,1760,1246,857,974,1360,1686,1282,1126,933,952,1202,1080,1446,1268,1062,1402,1464,1272,1188,1024,1212,1178,1078,1306,1368,1220,1146,1096,1296,1274,918,922,1074,1094,992,753,668,665,784,1144,1108,1070,912,924,1108,837,715,900,979,1136,1142,916,719,777,768,1216,879,637,878,1028,794,846,892,963,1234,1176,539,410,495,699,997,1366,1388,1048,836,1072,1416,1290,806,532,644,700,589,467,534,698,838,703,514,452,827,1488,1272,1023,1080,1208,1524,1352,1316,1272,1314,1202,881,1156,1204,876,654,786,1110,1158,1512,1394,1576,1488,1716,1572,1148,1224,1414,1364,1310,1208,1226,1530,1502,1254,1238,1196,1054,1202,1122,1010,876,923,982,1182,1005,1180,1202,1462,1240,1532,1524,1058,869,1016,1136,1214,1028,1278,1700,1436,1446,869,1048,1080,1338,1570,1534,1338,1280,1308,949,593,738,924,919,843,930,985,943,769,700,763,934,963,691,702,742,650,891,1132,1432,1556,1540,1290,1100,1028,1106,1266,1268,1068,1220,1006,1160,1076,1050,1106,1232,1296,1268,1336,1376,1466,1448,1300,1282,634,532,553,522,466,366,423,876,1202,1224,1312,1566,1374,1346,1230,1266,1300,971,809,959,1044,919,677,788,1486,1538,1506,1310,1052,1142,1230,1336,1354,1268,1248,1344,864,428,511,745,758,865,990,1010,1144,1222,1686,1676,1232,952,914,1064,845,598,554,576,592,702,855,971,922,952,833,583,516,491,453,480,544,540,745,1412,1586,1422,961,714,785,609,843,1716,1826,1566,1432,1440,1838,2442,2318,1422,1018,1019,975,1044,1158,1114,1003,927,1152,1222,1614,1416,1196,1152,1262,1294,1224,1306,1390,1026,578,1034,1332,1118,1042,1196,988,758,641,775,780,1108,1334,1142,1082,1052,1272,1056,724,474,395,458,479,460,446,461,445,400,402,355,303,360,326,514,895,763,587,803,892,1110,1012,1060,1354,1166,814,894,808,742,556,1116,1576,1410,912,672,674,717,668,604,811,976,1052,927,1156,1092,1021,1072,1268,1540,1478,1118,890,954,1126,1344,1198,935,1126,821,619,637,902,1064,1096,776,721,996,896,913,953,1004,964,715,436,504,793,922,1090,1126,899,774,948,1154,1264,1052,1050,899,861,1009,902,833,984,879,662,614,381,422,649,1058,1400,1394,1194,1224,1100,939,798,835,1224,1262,890,722,590,823,1278,1340,1250,1048,1388,1390,1396,1428,1384,1676,1740,1538,1234,1222,1172,1530,1652,1438,1308,1252,1272,1354,1376,1202,1278,1288,1364,1166,1214,1208,1228,1186,1013,927,976,1009,1086,1060,783,664,892,865,1100,1112,1090,1048,891,904,1058,1224,1230,1166,1136,1238,947,823,1084,1674,1444,1148,919,927,1054,1246,1222,894,563,843,1023,685,681,924,1100,1188,1180,1556,1484,1218,1424,1510,1502,1746,1380,1272,1422,1664,1534,1454,1460,1386,1316,1550,1338,1224,1290,1224,1152,1162,1234,1302,1178,701,924,1286,1068,640,515,529,496,529,587,696,737,949,978,812,733,759,655,543,646,714,706,771,1022,1012,974,992,1202,1274,1394,1130,858,867,902,967,1500,1716,918,994,1272,1262,1320,1474,1378,1114,969,1000,987,915,1064,1180,1324,1376,1246,1218,1286,1208,1250,1204,1246,1216,1046,1068,1082,1019,1042,1226,1050,577,527,1232,1200,389,427,480,531,558,971,1154,1136,1036,901,1118,1406,1456,1560,1386,1050,607,293,393,510,832,1158,1026,776,880,1366,1582,1234,1506,1432,1316,1298,1220,1358,1458,968,647,946,1232,1020,896,1230,1256,827,906,1030,1072,1282,1366,1108,1270,1250,719,633,656,572,739,861,995,753,614,1166,1342,1464,1324,916,483,451,584,774,832,1074,1170,1238,1034,696,556,558,419,518,673,1072,648,770,1096,578,312,357,313,379,355,279,432,496,423,379,396,321,316,391,372,239,264,339,481,814,846,520,453,671,1140,1386,1294,1316,1274,1262,1009,525,655,1082,829,984,1472,1154,496,295,306,299,305,287,437,546,417,334,383,356,361,382,437,452,390,395,404,588,761,990,1042,446,385,447,575,525,785,789,614,433,324,399,458,477,536,653,670,597,550,867,576,303,340,340,370,597,536,357,363,451,669,1038,1052,890,574,467,539,437,525,705,506,287,268,445,460,332,533,957,818,995,1152,1064,1104,878,1040,913,805,849,1092,1370,962,475,375,264,367,397,356,548,575,614,1078,1252,991,819,910,915,1013,1594,1304,1200,1404,1366,993,1294,1036,711,883,1092,619,383,323,326,460,839,818,935,880,779,927,1070,1228,1126,805,910,1092,828,684,744,857,940,934,1058,1382,1722,1530,1216,1184,1178,1052,1144,1018,534,730,1208,1290,1042,1110,1252,892,598,809,827,819,1266,1696,1354,1388,1416,1598,1534,1224,1194,1332,1154,1142,1296,1020,670,871,807,831,1432,1874,1296,1023,1096,946,928,1050,1278,1380,1626,3108,3288,1818,1360,1388,1240,756,513,531,820,876,623,558,525,454,440,381,491,507,432,375,318,359,504,489,424,436,429,637,1294,1072,592,549,661,675,913,951,1196,1290,1238,1017,639,551,441,375,298,367,577,893,1258,1220,952,693,394,381,487,536,528,393,386,433,403,590,1104,1182,954,641,733,688,272,218,267,343,420,376,300,358,420,403,442,490,418,359,421,369,297,294,272,265,258,252],[415,419,377,623,1050,869,544,634,606,600,1074,1400,1310,1246,1368,1570,1360,1376,1538,985,665,354,633,963,826,727,670,819,961,763,807,922,1208,1342,1144,1248,1172,1372,1538,1304,1338,1348,939,914,983,823,498,617,1026,1320,1488,1466,1202,1062,1120,766,476,954,1452,1148,1404,1068,712,479,438,895,1172,1292,1198,624,514,833,1166,1013,861,1092,1290,1426,1428,1366,1296,1150,1328,1346,1224,1490,1440,1274,1286,1156,1058,1082,1246,1768,1204,635,674,469,531,685,1042,1256,1272,1074,1009,654,1158,1136,471,412,832,1080,1192,976,776,743,374,318,272,357,375,363,466,470,517,725,993,916,709,672,648,841,1350,1370,1268,1226,1282,1264,1024,939,1210,1178,1042,1128,1340,1300,1138,1498,1228,896,724,973,1120,1050,659,286,274,301,274,252,221,269,326,384,427,802,971,896,872,659,777,951,876,973,1152,1332,1260,1168,1052,952,785,640,626,481,435,372,343,318,372,449,677,705,647,1100,1108,604,453,535,492,415,385,385,481,475,479,369,364,551,827,941,844,725,559,605,894,738,476,586,863,810,713,852,786,969,1088,1058,1044,960,932,1166,1294,1388,1294,1268,1040,1146,1202,711,507,654,1038,1260,1300,1392,1104,708,518,559,581,533,712,1316,1614,1440,1360,1344,1346,1010,937,1052,996,1136,1624,1668,1466,1204,1180,1126,980,1126,1346,1148,1182,1260,1382,757,517,517,588,916,1076,1190,1348,1454,1560,1426,1520,1500,1324,1432,1530,1632,1278,970,808,597,482,681,874,749,1108,1166,702,470,470,651,727,691,752,914,897,527,395,350,348,488,968,792,903,1460,1546,1050,687,747,721,462,420,476,503,441,397,405,900,990,1442,1390,1058,890,971,1116,1128,1156,1032,756,721,1250,1482,1104,1216,1472,1466,1520,1548,1498,1404,1322,1280,1392,1410,1180,885,840,1130,1858,1970,1698,1578,1762,1824,1634,1366,1404,1610,1430,1060,1288,1240,827,517,489,513,539,813,943,641,442,374,380,507,738,805,710,566,706,975,1100,1226,1388,1282,1220,995,1032,1040,916,1054,1382,1564,1452,1482,1624,1452,1260,1200,1294,1408,1282,1274,1226,1290,1268,1202,1052,1058,1094,1078,1096,1260,1226,1250,1190,1418,1312,1280,1402,1566,1128,786,941,1023,1368,1356,1388,1292,1184,1240,1344,1294,898,648,519,401,390,340,294,315,337,398,616,774,1132,1090,1015,1156,1190,1196,1166,1318,1444,1344,1388,1424,1192,1230,1544,1344,1158,1468,1272,1090,1230,1180,1138,1090,1164,1246,1372,1188,1090,1328,1284,1244,1368,1380,908,467,382,576,1015,1588,1398,1714,1007,426,296,311,317,516,1021,1268,1208,1104,973,1214,1190,934,1013,1130,1058,1098,1366,1332,1338,1410,994,1184,1036,763,749,842,1100,1408,1346,1178,1444,1510,1458,1682,1688,1282,991,974,1188,1100,877,901,1062,1098,969,1062,1054,853,931,1036,1042,1088,1054,1236,1084,958,709,656,1048,1210,928,643,747,842,875,1064,1188,1358,1140,975,479,415,583,525,572,1052,1610,1496,1216,1094,1294,1004,1284,818,610,1023,1274,1114,1096,1166,1054,1024,1003,1230,1426,1048,971,1032,955,769,1072,1422,1546,1538,1482,1448,1416,1282,1286,1356,1372,1314,1282,1234,1140,933,875,843,675,874,816,1114,1128,980,802,675,562,904,885,547,483,422,392,405,398,361,366,361,326,312,294,300,343,351,333,311,293,289,307,309,303,307,317,320,351,384,352,343,357,394,399,550,588,473,502,475,597,1268,1604,1716,1874,1922,1840,1744,1506,1354,1074,755,1066,1556,1578,1504,1550,1652,1614,1592,1684,1606,1736,1750,1090,772,772,1032,1312,1014,921,921,1080,842,1162,1372,1242,1506,1516,1362,1278,1252,1188,1454,1282,1174,1388,1438,1340,1058,952,1196,1240,1048,864,965,1096,1314,1154,998,1002,897,906,1007,1338,1344,1308,1354,1198,854,670,869,1176,1132,1164,1005,956,1128,932,703,882,1156,1180,792,890,732,596,1034,1005,604,756,1046,1084,1028,1322,1516,1310,1180,1470,1682,1418,1282,730,500,980,1172,761,522,544,681,780,602,744,1030,1360,1292,1224,1500,1404,1302,1176,1152,1402,1566,1054,734,1015,938,1064,854,1186,1264,1606,1758,1262,1048,1168,1272,1152,1418,1516,1444,1256,1496,1228,1186,1174,1146,1040,1100,1086,1288,1322,980,1150,1324,1130,1068,1310,1262,1344,1394,1478,1292,1334,1434,1078,738,885,1014,1146,1252,1072,1294,1418,1310,922,888,1001,1178,1360,1708,1610,1434,1214,758,723,1138,1208,1196,1582,1512,1178,1036,1052,1068,1324,1382,1376,1080,1158,1088,1010,1004,1138,1506,1508,1092,927,863,596,664,808,855,1134,1202,1134,1200,1090,963,1074,1114,1222,1666,1418,1132,1242,1412,1622,1374,1058,1174,1078,624,425,381,485,876,977,989,1216,1180,1086,1120,1222,1370,1730,1512,1128,1248,990,1064,1236,1009,1474,1412,1334,1476,1354,1222,1220,1262,1360,1208,1224,1290,602,432,333,319,537,848,1070,1003,1142,1190,1202,932,703,860,816,691,803,838,660,576,612,617,678,664,576,599,580,482,470,495,481,495,467,733,1196,1394,1258,1334,1188,681,634,655,820,1636,1720,1422,1336,1400,1712,1922,1570,1078,959,1098,1268,1320,1090,1174,998,1144,1200,1334,1360,1412,1396,1228,1238,1168,1146,1078,1152,996,769,1334,1386,893,855,879,702,496,771,936,801,1266,1202,1166,1318,1054,1021,1276,935,514,382,474,484,466,436,462,478,507,464,377,345,326,320,379,445,481,567,842,1194,1426,1186,1684,1708,1324,999,951,917,908,803,957,1222,1294,927,753,964,926,548,646,971,1256,963,1076,1114,931,964,1284,1538,1640,1438,1358,1108,1030,1224,1232,955,1052,1156,813,627,1050,1426,1208,1306,1260,1640,1338,932,815,1028,1238,1156,601,316,608,1116,1522,1640,1386,1226,1338,1388,1244,1032,978,1036,743,598,541,491,512,533,504,483,460,274,325,588,1070,1212,1168,1002,863,871,1016,1102,1120,1412,1238,863,691,608,677,1034,1248,901,932,1430,1446,1452,1246,1510,1504,1416,1324,1172,1132,1240,1586,1522,1312,1222,1396,1412,1294,1200,924,1090,1078,1108,886,1018,1192,1276,1108,766,776,817,862,999,921,614,702,881,919,1104,1316,1392,1238,1042,1064,1220,1288,1224,1346,1418,1236,1030,1096,1064,964,980,954,924,1013,1096,1192,1186,709,541,1236,1486,881,525,879,1306,1292,1108,1068,1126,1324,1490,1506,1376,1664,1448,1362,1560,1728,1642,1576,1382,1142,1400,1578,1208,1094,1328,1354,1262,1304,1350,1148,649,949,1662,1666,1292,1234,768,735,712,795,886,1036,788,1028,1036,812,722,735,672,489,486,488,557,633,899,1176,1040,932,983,818,748,749,947,922,814,915,879,674,764,853,1106,1290,1382,1454,1200,893,965,1064,1142,1084,1190,1134,1144,1144,1152,1146,1218,1202,1196,1224,1210,1322,1226,1054,1072,996,1072,876,653,589,602,2776,2770,883,495,629,667,659,1070,1316,1294,1448,1196,896,803,1050,1654,1842,1530,962,325,279,393,722,921,950,702,991,1424,1234,1220,1468,1566,1438,1198,1152,1284,1194,905,1028,931,909,818,758,1022,1104,936,1068,964,1246,951,1098,905,979,1034,733,634,738,618,760,863,843,1020,879,1248,1512,1496,1274,965,493,607,879,896,1082,1056,1042,1094,973,792,1042,1080,852,612,590,1030,678,551,568,334,300,311,288,329,385,300,316,313,262,263,496,1056,1198,715,415,377,427,300,312,506,837,830,545,736,959,1050,1296,1500,1402,1230,788,499,993,1410,1048,1268,1230,1012,486,345,431,352,295,320,373,432,277,236,318,318,286,235,316,395,360,360,482,550,463,810,840,521,611,579,528,370,584,960,1004,731,509,465,531,464,664,1330,1302,1170,866,1196,977,599,417,328,358,645,628,352,373,480,642,1130,897,472,372,302,300,293,384,458,346,303,319,383,411,316,480,965,817,614,717,853,1356,1394,944,706,737,854,1210,1346,907,579,536,507,437,358,343,369,509,785,945,789,855,999,1042,1001,1636,1600,1130,1030,1444,1434,1266,966,634,827,1332,1186,818,644,468,421,421,459,651,811,574,547,755,903,1286,985,741,864,1114,1464,1256,1068,1286,1214,1102,1370,1484,1474,1302,1216,1252,1118,1048,1306,1330,1015,778,908,1066,1060,1198,1126,859,740,912,1180,962,656,835,1156,1334,1340,1524,1578,1430,1408,1234,1021,1017,1046,681,651,766,705,614,1318,1750,1378,1450,1202,966,1106,1118,931,1222,1174,1926,2034,1578,1722,1450,774,401,431,525,900,822,540,530,407,443,482,555,897,921,574,393,411,511,1378,1590,1056,654,494,727,825,698,592,719,788,725,1060,1148,1418,1258,1418,1108,641,441,396,368,340,424,613,648,599,781,868,592,442,368,408,427,378,316,393,492,459,685,1186,1110,949,905,720,472,327,283,262,305,396,414,457,583,572,470,487,410,305,297,417,446,332,245,241,260,256,187],[451,491,445,799,1242,954,620,799,869,781,1040,1318,1378,1348,1484,1408,1218,1370,1598,1566,1182,834,800,763,544,546,839,1180,1338,882,786,1218,1294,1186,1126,1218,1060,1684,2000,1486,1480,1148,807,844,1152,1056,822,1144,1446,1512,1418,1512,1396,1174,1166,741,553,997,1116,747,951,535,386,351,337,620,871,983,1084,1114,855,792,794,590,534,891,1266,1498,1378,1272,1264,1450,1496,1180,1346,1540,1268,1262,1192,1058,1102,1060,1044,1406,1208,998,980,392,338,390,873,1366,1670,1272,940,627,832,841,619,591,818,803,774,633,555,476,453,326,297,441,485,445,449,480,549,912,1300,954,819,639,814,1140,1196,1003,1084,1040,1142,1302,1128,1048,1170,1190,1256,1134,872,878,1252,1146,1242,1256,1074,1158,954,645,305,297,339,367,317,255,280,418,547,647,755,903,965,860,885,668,495,824,1238,952,700,479,695,1021,1100,1056,998,1060,1134,1090,1072,589,455,374,310,608,938,993,1064,1164,874,473,525,567,505,393,378,331,438,440,413,371,344,772,1196,1046,1124,1356,1060,773,631,491,743,916,690,582,572,463,472,598,819,1066,1042,1016,1116,1344,1458,1512,1376,1244,800,854,1009,982,912,595,788,1060,1100,1218,1023,628,547,578,611,628,607,881,1042,1064,1092,1216,1262,962,1272,1366,1186,1162,1600,1798,1748,1356,902,1094,1028,1058,1450,1582,1478,1398,1216,800,612,495,436,477,558,778,1118,1312,1256,1188,1430,1282,1084,1328,1324,1108,1118,1332,1202,1164,1164,1012,995,892,739,1160,946,772,955,1018,998,1138,1162,1042,901,741,662,423,321,408,576,849,1019,1130,1068,722,538,649,703,402,453,495,473,410,377,445,1021,1266,1476,1896,1542,1372,1312,1392,1224,1094,1204,1050,799,1066,1462,1354,1468,1512,1472,1510,1634,1510,1438,1320,1322,1174,1094,1052,879,671,1076,1664,1790,1656,1376,1750,1648,1322,1296,1680,1734,1424,1142,858,1010,1080,834,818,800,672,932,944,671,491,492,487,472,561,663,590,423,419,458,593,1046,1092,1108,1268,1142,998,685,948,1118,1130,1396,1362,1526,1424,1296,1094,1142,1230,1138,1186,1086,1130,1186,1376,1412,1156,1172,1362,1520,1170,1328,1250,1372,1414,1382,1450,1502,1494,1478,1282,1082,1094,997,1256,1194,1160,1234,1090,1090,1316,1202,706,468,503,502,409,345,344,367,420,474,794,932,899,919,911,783,842,1104,1714,1314,1072,1182,1362,1440,1426,1560,1972,1576,1090,1134,1060,1042,877,789,1074,1152,1250,1324,1350,1242,1324,1430,1302,1224,1406,1144,662,637,545,951,1602,1824,1152,1338,865,358,333,321,296,466,975,1164,1194,1356,1390,1536,1420,1078,942,1172,1014,786,1164,1264,1228,1298,1124,1232,1096,990,1178,1186,1288,1420,1346,1396,1504,1540,1306,1188,1080,888,1044,1112,1072,868,785,833,993,1007,833,996,1054,824,795,811,843,832,924,1150,926,814,694,871,933,777,870,890,1140,747,860,1040,1122,992,866,468,274,335,391,567,739,1005,1576,1650,1088,819,1028,1270,1368,1032,760,847,1026,891,1032,1272,1192,1180,937,1210,1208,825,589,450,593,708,645,890,1294,1176,1210,1510,1440,1090,923,1296,1442,1262,1021,1112,1354,1158,910,835,572,529,599,974,1040,1008,918,634,433,657,702,545,426,341,338,371,361,330,319,302,328,333,321,323,308,305,322,316,321,333,317,305,317,338,355,343,362,368,323,323,367,410,439,614,486,544,622,488,449,1092,1362,1372,1776,1998,1930,1820,1618,1596,1386,1428,1614,1710,1590,1556,1648,1614,1604,1560,1542,1648,1898,1636,874,728,944,1210,1168,1034,1042,1246,1004,697,1228,1362,1404,1516,1284,1212,1184,1454,1344,1400,1096,907,1220,1472,1322,1054,1060,1172,1398,1194,880,725,811,922,1056,1292,1076,889,991,1070,1340,1376,1192,1198,1338,1250,836,1084,1158,867,1292,1406,1366,1296,950,995,1302,1302,1258,954,1001,749,570,1086,1104,599,587,1050,1042,813,1154,1490,1552,1578,1744,1692,1696,1560,1132,1017,1894,2242,1530,841,569,506,577,870,1196,1190,1324,1544,1516,1416,1224,1368,1142,916,1290,1248,954,620,646,805,1142,974,1062,946,1042,954,916,1034,1072,1114,1214,1394,1268,1498,1392,1120,657,1001,1390,1484,1360,1094,980,1328,1350,959,1082,1366,1120,1262,1288,1494,1434,1264,1102,940,1026,1218,1052,908,772,928,1184,1376,1020,1058,1328,1286,1250,1220,1124,1330,1244,1416,1384,1090,1136,1082,1128,1238,996,1010,1236,1182,1088,1170,1142,944,1292,1274,1024,941,1470,1510,1214,849,834,1274,1410,1428,1180,1040,525,810,703,636,948,938,1014,1082,1058,1066,1278,1208,1019,1534,1332,1192,1376,1570,1720,1302,915,1294,1302,772,628,624,585,638,491,803,1266,1180,1286,1282,1274,1462,1800,1580,1062,1268,1136,1080,1120,966,1274,1422,1298,1310,1302,1118,1086,1214,965,686,1021,1064,590,431,266,249,552,855,1122,1234,1158,1100,904,780,742,924,1134,1060,940,811,615,568,585,557,529,521,497,507,547,513,528,524,493,505,844,1230,1330,1408,1364,1370,1332,908,711,615,1082,1386,1508,1384,1284,1368,1230,1052,1114,1009,883,1178,1400,1328,1404,1372,1276,1538,1390,1374,1360,1408,1430,1416,1288,1230,1474,954,951,1034,889,1166,950,615,666,628,494,610,894,794,1136,1990,1556,1162,1396,1150,1021,1178,1170,720,440,529,570,502,491,467,490,499,484,422,340,325,316,330,408,757,1190,1140,999,1388,1126,1258,1280,1302,1080,797,769,918,1148,1024,831,946,867,834,1150,820,479,642,1194,1340,951,1118,1028,599,647,788,1001,1516,1406,1516,1148,1176,1288,1080,714,997,1138,797,641,1114,1368,865,1082,1064,1376,1110,1076,1036,1182,1368,1310,857,640,797,934,1174,1584,1566,1326,1342,1342,1086,860,1090,1056,625,517,477,439,418,410,351,339,317,386,398,872,1122,1076,1278,1274,1116,1146,1236,1290,1340,1324,1358,1366,991,632,831,996,805,775,1148,1614,1378,1650,1378,1770,1458,1290,1388,1388,1172,1354,1618,1522,1296,1244,1624,1420,1162,1084,913,988,1015,811,818,999,1208,1322,963,447,555,708,783,835,841,761,668,827,943,868,1140,1428,1212,989,982,922,925,885,1236,1144,839,789,938,1009,1042,1066,1094,1194,1204,1222,1034,1086,735,536,932,1194,716,625,1082,1240,1148,1066,1001,1104,1234,1398,1496,1444,1648,1486,1438,1504,1304,1138,1212,1244,1076,1110,1268,1046,957,1306,1476,1512,1462,1182,921,1154,1940,2190,2730,1698,1450,1176,1007,977,1042,1019,1070,997,1118,1274,974,778,770,584,458,506,497,573,639,930,1180,905,799,819,574,489,643,1080,1302,1542,1152,677,689,917,927,1106,1302,1350,1296,1023,957,1230,1184,1172,1208,1128,1036,1064,1092,1136,1216,1148,1120,1216,1116,930,1098,1100,1130,1120,872,786,723,860,750,639,1078,1334,1266,775,479,372,588,917,1188,1266,1260,1060,765,762,1268,1958,2084,1888,1648,879,464,540,946,915,741,919,1328,1044,613,615,938,1326,1204,1144,1108,877,820,652,590,623,803,1108,1076,1082,1016,758,871,1009,1100,537,445,682,1050,959,677,695,746,689,904,1084,929,1096,886,630,568,600,680,652,591,655,775,1040,1096,1044,1112,878,1014,981,1132,1054,836,518,442,505,483,504,698,751,349,248,316,487,521,405,398,353,338,317,485,1230,1670,1256,535,404,353,268,292,363,670,717,540,724,1076,1046,1124,1278,1378,1360,1028,673,1304,813,1172,1400,736,510,434,375,354,315,276,275,337,350,328,274,308,271,218,194,249,307,313,298,396,533,501,534,536,692,1152,1282,858,456,411,598,886,979,657,559,484,547,1226,2018,1410,1276,1294,1326,1366,850,455,505,391,403,382,255,344,384,443,563,396,328,338,300,289,324,454,436,266,278,289,274,319,310,501,827,811,677,604,853,1566,1498,720,681,719,708,1054,963,757,614,919,1001,762,593,422,357,435,742,904,758,1192,1350,1494,1454,1766,1790,1324,1288,1036,1052,1526,1350,926,1232,1388,781,781,686,536,416,423,504,763,927,678,882,1050,661,971,918,936,1030,1182,898,760,947,1084,1092,1274,1124,1180,1116,1314,1210,1266,1138,1116,1015,969,1108,880,673,921,1220,1070,871,1132,1034,901,1088,1176,1024,1296,1670,1328,1058,1362,1430,1444,1448,1566,1088,966,784,728,741,444,430,568,812,1052,1570,1432,880,1005,1094,1003,740,971,1360,1632,1320,1202,1478,1354,981,533,449,571,486,358,455,561,383,420,465,491,729,854,530,364,430,788,1690,2280,2192,1216,561,752,841,706,639,845,1008,950,1244,1336,1228,961,1005,739,547,597,486,318,300,371,572,685,667,838,891,530,277,247,243,245,276,275,275,309,477,870,1350,828,929,1218,871,479,334,337,323,405,443,412,428,530,533,423,404,386,320,326,417,399,293,213,221,223,213,217],[485,643,547,628,957,796,463,578,846,975,960,993,1120,1374,1376,1274,1346,1294,1474,1466,1528,1418,883,624,738,858,1112,1294,1252,905,1316,1682,1678,1350,1448,1244,976,1498,1384,1072,1314,879,849,1104,1082,933,892,907,864,1142,1322,1154,1340,1406,1294,722,577,1210,1050,1058,862,517,417,335,324,364,487,620,716,952,1240,1044,854,587,465,673,995,1060,1001,1200,1162,1124,979,681,989,1044,1214,1098,971,959,1250,1310,1156,1284,1116,932,700,404,460,542,715,793,859,867,643,516,811,1146,1044,855,870,711,809,1016,1044,849,598,397,344,412,522,602,510,482,703,1142,1192,865,803,524,781,877,676,691,881,1014,1364,1582,1340,821,815,890,658,503,469,435,762,1092,1218,1023,1234,1296,1308,1026,490,329,392,382,328,292,411,677,799,910,1009,941,960,1009,1092,642,411,961,1040,768,447,346,816,1408,1572,1194,932,954,1056,1072,922,755,624,730,806,642,738,1422,1656,944,678,494,471,508,433,360,322,318,384,390,389,387,304,496,981,1196,1292,1306,1158,958,729,632,1064,1092,866,849,642,650,743,716,892,896,996,1016,1102,1220,1328,1078,1016,1152,1001,1032,1108,1202,1106,747,705,850,1136,1362,1376,935,711,831,1080,1100,764,942,847,926,891,1086,1060,896,1190,1104,1026,1230,1306,1258,1284,822,1060,1342,893,674,1186,1650,1542,1210,1086,1202,1136,956,554,464,529,720,1042,1124,1216,1022,1268,1144,1082,1386,1300,910,782,1032,1232,1602,1250,1470,1494,1444,1124,1150,1110,1074,1336,1324,1384,1164,968,749,648,768,787,583,533,633,541,710,1116,1136,1030,799,620,491,447,458,588,525,430,392,369,536,1170,1388,1460,1672,1612,1656,1650,1548,1264,1036,1132,1058,657,916,1046,875,1194,1166,1172,1484,1464,1256,1174,1218,1326,945,752,906,995,828,1044,1422,1518,1658,1528,1374,1072,1256,1280,1412,1320,1366,1206,829,1126,1450,1340,1390,1078,945,1020,1010,848,719,638,588,523,409,487,601,424,305,353,356,604,982,1280,968,560,435,476,885,1146,1244,1350,1322,1344,1050,912,1015,948,967,1282,1176,1126,1374,1410,1500,1462,1274,1192,1290,1268,1026,1214,1268,1372,1060,977,1266,1274,1246,1218,1270,1594,1368,912,1136,1226,1186,1038,689,634,976,1154,745,433,550,630,451,395,391,552,637,868,1320,1036,734,832,827,684,987,1138,1100,1244,1046,954,1300,1400,1390,1446,1474,1350,1030,800,1005,1220,940,1020,1090,969,990,887,992,1100,1036,1152,1392,1390,1506,1304,1138,926,838,1234,1550,1336,813,1058,1062,538,316,294,287,391,888,974,1218,1306,1260,1328,1248,944,808,1005,834,856,1306,1234,910,982,1058,1028,1015,962,1156,1322,1458,1266,1142,1312,1368,1352,1046,1160,1344,1230,1150,1086,936,910,924,729,901,1190,938,864,868,816,692,664,695,670,782,1038,1044,708,554,703,894,1003,1186,1164,983,722,726,703,808,929,832,531,364,386,758,1360,1214,717,723,1096,1138,1188,1326,1636,1528,1304,1314,1110,854,908,1144,1308,1324,1384,1250,1162,1021,903,869,634,449,605,624,791,1210,1019,1054,1058,831,679,552,863,1242,1190,1208,1290,999,1204,719,529,585,636,780,1058,1224,1256,1256,927,487,412,440,401,352,352,398,414,375,325,302,306,311,305,318,320,303,297,309,309,325,339,320,305,309,421,564,537,484,440,436,397,419,449,473,593,502,516,556,438,470,1102,1118,596,1001,1660,1982,1974,1896,1770,1746,1660,1708,1776,1670,1654,1732,1738,1698,1610,1630,1636,1936,1594,915,800,895,1240,1282,1230,1228,1116,995,814,1152,1300,1130,1244,1252,1160,915,1072,1210,1278,1140,1216,1312,1440,1204,1104,1370,1428,1450,1046,1050,1232,836,547,601,606,431,664,1015,1198,1272,1230,1040,1274,1230,1046,987,1194,1242,1114,1268,1350,1438,1302,1100,1104,1252,1130,882,714,947,880,974,1074,834,461,412,789,952,821,846,1184,1596,1704,1716,1714,1814,1634,1316,1336,1864,2532,2304,1482,677,468,696,1372,1240,1170,1246,1072,1164,1030,795,1052,1124,971,855,592,529,543,790,1026,888,868,933,786,672,781,1102,1308,1192,1352,1490,1064,1180,1490,1136,716,696,965,1094,1158,1148,915,1018,1146,997,1188,1284,1500,1382,1126,1208,1458,1344,1238,1352,1422,1298,1474,1622,1572,974,999,1154,965,974,1202,1276,1272,1490,1132,1154,1188,1064,1282,1332,1316,1438,1490,1392,1150,896,769,742,781,795,874,800,667,947,1042,850,943,1484,1506,1180,1082,1088,1154,1036,971,1192,799,426,825,862,908,825,965,1260,1106,1268,1224,1216,1142,1052,988,1220,1284,1592,1708,1692,1158,929,1404,1114,687,796,927,778,715,546,448,775,1064,1162,1132,1010,927,1066,1236,919,1030,1002,845,826,842,960,1296,1050,764,1158,1372,1114,952,761,951,1116,700,511,347,236,273,382,556,957,1282,1216,1012,858,869,681,943,1104,952,795,570,533,642,661,577,521,512,500,524,534,516,498,481,516,838,1260,1348,1450,1490,1412,1330,1302,1240,1218,1104,1230,1214,1342,1368,1388,1456,1192,1110,1162,960,849,1148,1318,1476,1564,1206,1324,1456,1238,1284,1400,1262,1396,1380,1554,1514,1372,1110,938,1005,807,778,629,486,565,595,479,633,658,444,871,1524,1548,1338,1134,940,828,967,1188,849,510,788,906,572,499,472,469,454,478,417,348,321,312,364,809,1592,1564,1068,901,1134,1088,962,1015,965,823,656,612,1110,1566,1040,731,821,1100,965,918,926,1010,747,936,1074,952,891,897,824,724,557,614,1328,1512,1516,1194,839,850,859,596,469,465,565,722,1090,1044,678,543,680,1338,1334,1070,1036,779,586,846,772,791,706,760,967,1446,1394,1304,1416,1362,1098,1102,1484,1152,533,462,421,431,440,443,399,366,488,667,805,966,996,1230,1204,1150,1118,1122,1248,1336,1390,1224,1174,1308,974,694,1416,1762,1346,893,1314,1414,1268,1492,1146,1224,1310,1214,1360,1568,1500,1580,1532,1356,1192,1182,1328,1220,1136,1112,1040,924,774,845,963,1092,1472,1610,1250,755,927,1032,834,780,803,800,935,935,790,902,1040,1124,1166,1076,1252,1108,739,525,915,1268,1090,789,716,696,903,1092,1146,1122,1090,1226,1350,1092,783,901,1044,720,524,728,893,906,923,1005,1036,1046,1238,1190,1262,1532,1690,1556,1460,1362,886,1004,1412,1372,1252,1240,1290,1014,868,1094,1402,1460,1354,1298,1228,1494,2050,1672,2008,2082,1232,1064,1094,1090,1174,1322,1460,1534,1616,1538,1048,774,618,504,481,524,601,639,778,1132,1346,982,641,559,514,497,521,668,865,924,710,597,785,971,1078,1112,1180,1218,1182,993,1028,1304,1264,1198,1188,1114,1052,1042,1184,1404,1250,1134,1300,1180,1114,1200,1196,1216,1252,1114,950,885,910,1023,855,754,1122,1566,1160,807,461,515,620,681,991,1094,1030,833,624,969,1532,2142,2254,2210,2098,1636,829,642,1178,1190,971,1258,1234,661,571,547,771,1186,940,960,922,640,517,419,363,401,539,648,905,1174,883,700,684,764,635,472,495,886,1152,948,659,627,741,655,816,1018,794,800,599,419,407,394,388,471,675,716,755,824,923,1256,940,700,806,811,769,670,419,320,313,303,390,404,600,685,386,255,303,422,424,440,462,431,438,378,425,602,731,1003,486,269,245,271,355,373,373,537,744,759,742,911,930,935,861,1282,1458,1442,1310,742,973,921,667,850,816,631,350,256,223,244,328,373,295,291,317,309,279,245,271,296,305,302,302,389,626,742,643,836,1440,1330,803,604,462,340,563,634,422,498,565,1042,1554,1394,893,1202,1220,1048,1290,1038,703,907,524,315,352,299,280,312,336,347,390,361,316,296,284,292,441,491,404,333,255,299,334,287,343,705,831,630,573,618,1110,1052,597,798,1132,749,625,719,688,660,1196,1294,982,1007,704,480,512,713,999,1092,1132,1064,1348,1156,804,787,1310,1730,1480,2750,2168,1584,1562,1412,1254,1156,797,678,750,488,393,468,757,799,643,1006,1060,666,738,910,1036,1088,1034,705,518,662,1016,1488,1586,1154,1018,962,991,1017,1108,844,742,979,1116,1316,1120,634,637,1148,1088,957,955,904,1154,1704,1824,1248,1484,1272,821,785,1234,1180,1278,1346,1546,990,885,942,1030,1136,803,839,998,914,1328,1390,1098,894,974,1266,979,848,1274,1296,1354,1780,1536,1226,1324,1730,1076,486,452,709,796,810,587,377,383,380,349,381,507,392,431,648,725,716,1186,1430,1003,623,577,655,742,765,965,1078,1001,1017,1164,976,663,532,602,1050,1028,546,368,431,466,599,730,791,957,986,556,233,233,237,236,258,275,328,373,487,943,1172,1028,1023,1028,882,599,543,527,398,395,426,397,350,444,435,362,371,375,344,366,387,331,257,239,212,239,259,258],[371,489,506,467,628,540,428,452,547,609,775,805,946,1118,1274,1578,1426,1458,1752,1656,1482,1256,826,587,423,626,1140,1310,1300,1220,1154,1432,1672,1674,1682,1222,1156,1438,1116,1128,1178,1188,1256,1426,1398,1124,979,872,836,1368,1388,1300,1616,1488,1396,1036,1222,1288,1110,1200,885,631,542,332,303,324,308,322,291,325,571,905,1096,857,709,678,790,1021,1060,1212,1258,899,779,756,1036,1410,1280,906,786,893,1262,1350,1374,1072,813,920,664,513,516,789,658,449,562,727,651,644,998,1138,1020,940,749,720,1050,1406,1444,1190,981,739,576,408,624,1042,642,389,651,900,1028,1050,758,645,730,695,805,1206,1192,1044,1124,1198,1148,612,440,322,335,398,451,481,629,942,1112,1100,1218,1542,1290,1074,596,329,375,397,390,321,472,871,1054,1090,1198,975,1344,1378,1260,786,681,1110,1310,1026,602,511,988,1318,1296,824,859,996,885,767,728,763,832,1042,1088,833,1046,1714,1476,1050,809,745,473,383,338,288,244,302,377,421,422,382,309,355,727,1210,1302,1312,1228,863,570,594,739,796,964,923,1204,1296,1188,983,1400,1434,1190,1086,1140,1072,1206,1136,957,1162,1266,1116,1134,1266,1124,1036,958,1021,1302,1474,1326,1176,1216,1318,1190,1106,1192,1484,959,730,854,1150,1116,1090,1098,947,732,1094,1240,1058,1032,528,617,1050,844,667,1286,1670,1548,1288,1184,1410,1484,1310,687,870,825,883,1180,1224,1128,921,943,982,1084,1210,954,610,560,954,1410,1504,1384,1372,1284,1222,999,1338,1368,1330,1516,1260,1334,873,456,857,1164,1174,992,1074,1208,1192,888,913,1366,1064,877,628,467,404,393,529,658,608,497,395,389,450,616,787,996,864,1516,2146,2012,1572,1288,1088,1106,890,491,523,489,576,923,977,680,1094,1168,1000,1184,1412,1354,1238,1126,1340,1344,1186,1180,1378,1446,1614,1452,1266,965,772,730,1116,1400,1422,1482,1178,1282,1188,1240,1396,1100,1096,984,960,1140,1166,857,767,749,431,356,479,514,354,401,383,432,923,1318,1023,414,394,771,883,1078,1050,1212,1312,893,843,949,868,753,805,930,1086,1074,971,1164,1366,1488,1448,1332,1302,1294,1162,1204,1268,1260,1306,1122,1236,1136,1212,1352,1462,1268,931,689,889,1234,1248,910,734,568,760,957,790,676,753,736,597,519,620,728,1172,1982,1712,980,976,795,808,1080,1576,1808,1272,1390,1202,1278,1426,1328,1310,1268,1094,1362,1176,838,854,874,876,1290,1386,1028,913,995,988,984,1366,1322,1360,1390,1560,1354,1146,920,849,867,1014,1028,915,905,1023,674,345,290,308,450,972,1278,1396,1262,1154,1124,1252,1212,993,1068,1038,934,853,1052,913,1164,1254,1118,715,573,709,913,1166,1318,1330,1300,1342,1360,1094,1226,1258,1234,1066,1076,1246,1276,1096,764,927,1280,1366,1382,1240,996,746,686,635,620,631,758,970,800,493,534,894,1284,1298,1256,1334,1410,1358,1048,1022,1154,928,495,368,464,1278,1816,1568,728,476,561,900,1348,1312,1332,1342,1128,1308,1328,1288,1306,1432,1230,1222,1274,1036,916,1015,1096,1110,790,945,1382,1144,1084,1334,1466,1354,1112,886,833,589,599,897,1074,1236,996,840,1070,701,402,379,833,974,956,1158,1152,1048,909,604,421,405,373,341,352,390,383,337,302,300,308,316,318,320,308,315,323,319,313,318,319,334,338,405,637,677,547,589,528,440,472,431,402,578,500,460,482,455,374,502,1056,1208,528,542,932,1686,1954,1940,1808,1572,1638,1658,1594,1694,1760,1744,1760,1742,1728,1786,1604,1842,1534,913,860,1104,1344,1009,928,1216,984,1046,877,846,1060,1288,1562,1432,1194,808,576,1058,1236,1092,1098,1166,1302,1202,1262,1326,1294,1262,1040,1030,1036,764,451,640,930,689,479,589,599,955,1172,987,1056,1112,1468,1412,1152,1017,1052,1166,1058,1388,1398,1454,1372,1228,1108,1066,786,766,772,636,667,642,312,343,513,621,753,940,1108,1482,1856,1722,1666,1730,1488,1450,1258,1364,2160,2554,2122,940,467,796,1380,1390,1290,1244,1108,904,923,1202,1808,1058,644,470,436,547,756,1100,1296,998,866,1138,1114,921,1184,1550,1302,1192,1290,1498,1408,1320,1224,1142,1050,1234,1188,994,1056,1198,1074,1340,1250,1286,1708,1660,1414,1260,1164,1490,1494,1324,1404,1548,1634,1402,1442,1586,1504,1426,1416,973,690,913,1294,1398,1430,2188,1154,813,846,1046,1030,1058,1194,1296,1310,1236,1116,1190,1458,1226,1140,1096,843,599,710,1032,1122,886,947,1230,1334,922,872,1100,1338,1072,1023,962,520,552,1032,1388,1448,983,880,1005,1220,1726,1084,813,1048,780,598,1056,1362,1272,1456,1696,1508,1300,1380,1070,618,924,1290,1638,1418,774,495,693,883,1009,1248,1280,1306,1260,1372,893,723,958,1108,1066,1078,1242,1324,1142,891,1158,1450,1156,1062,1018,902,693,447,377,319,374,332,287,340,570,819,886,944,669,391,448,857,933,781,702,673,606,654,702,664,518,500,486,513,551,530,471,485,807,1246,1382,1476,1340,1136,1262,1136,1090,1042,1172,1396,1490,1532,1294,1294,1274,1378,1138,967,932,1168,1270,1192,1278,1288,1316,1164,991,975,1007,1434,1424,1140,1454,1406,1538,1522,1322,1116,1052,1096,979,854,601,573,594,684,474,502,882,634,767,1220,1790,1626,1008,893,922,863,1158,1152,721,858,1078,692,447,433,451,437,411,356,318,341,306,326,550,872,792,613,1042,951,784,977,1222,1240,1090,1066,670,753,735,577,681,697,783,912,696,1064,1294,870,465,668,999,881,1190,1344,1076,766,1015,1622,1666,1422,1250,1006,773,822,546,397,423,552,588,498,463,465,347,450,1114,1318,958,978,872,531,529,447,473,455,420,818,1290,1354,1238,1118,1230,1186,1116,1140,756,501,571,610,534,465,410,457,651,732,784,901,771,728,1202,1170,1166,1170,1278,1318,1268,1268,1126,986,927,656,802,1666,1824,1454,1238,1586,1352,1140,832,705,870,961,1070,1370,1550,1438,1568,1196,762,882,1140,1064,1056,1066,955,1076,1178,1054,929,851,734,868,1140,1084,1021,1154,1130,974,826,755,654,680,675,515,583,566,631,897,1210,1234,985,872,999,1124,1152,1334,1132,850,705,639,837,786,785,1098,1200,1190,1015,760,995,1112,858,799,893,901,761,846,1246,1360,1220,1262,1376,1536,1602,1664,1718,1510,1068,1328,1984,2164,1598,1166,1142,1132,1052,1142,1344,1282,1190,1438,1500,1360,1404,1300,1382,1228,848,740,905,1204,1426,1606,1648,1498,1230,1068,912,717,723,601,527,484,569,602,497,645,985,1486,1030,650,525,477,453,460,468,569,648,629,807,990,813,900,1080,1344,1204,1196,1108,1040,1144,1202,1328,1224,1046,1182,1206,1330,1642,1340,1250,1224,1188,1310,1192,1122,1146,968,808,963,1204,841,738,644,473,814,981,1112,882,832,1030,832,669,891,944,824,386,367,1058,1948,2160,2374,2460,2302,2184,1550,1138,1218,1356,1528,1508,1194,511,397,363,469,661,658,661,711,686,602,600,502,438,645,756,1108,1246,1044,1460,1682,990,515,864,1306,1266,1192,1076,650,431,491,438,660,740,718,869,682,457,381,418,409,606,864,722,752,754,980,1106,995,857,683,579,453,360,325,399,471,413,467,362,342,330,277,289,271,272,269,264,276,366,439,369,351,344,422,822,518,297,276,249,287,313,266,446,848,825,513,713,597,1084,1272,1234,1194,1242,1374,1172,837,634,836,1202,918,618,317,208,214,289,337,359,363,349,357,352,290,291,262,207,236,298,344,536,819,925,725,1006,1350,1098,724,644,474,265,330,333,357,535,1018,1702,1482,775,712,1088,1198,799,1012,878,977,1134,973,637,325,258,249,293,328,391,392,345,474,448,283,336,587,835,839,533,364,363,298,263,329,652,861,779,991,692,522,550,565,669,1024,691,420,563,590,643,935,948,1142,1376,941,670,708,958,1328,1148,892,818,944,709,396,397,658,1108,1512,2072,1530,1322,1390,1384,1412,1344,1114,930,982,819,736,794,1064,756,560,827,700,465,494,960,1212,1004,841,865,841,753,1198,1544,1406,1340,1090,763,767,850,873,821,897,1236,1410,1528,1220,1004,864,985,1148,1048,1010,1488,2092,2480,1650,888,802,629,432,460,990,1278,1274,1336,1254,922,1096,1198,797,816,980,1366,1096,748,643,633,995,924,1092,1334,957,689,1046,1294,1356,1786,1454,1128,1166,1642,1366,731,607,854,1108,832,412,354,261,335,287,274,347,333,505,571,505,695,812,821,803,693,818,1094,1044,890,932,855,1024,1154,973,593,479,513,527,905,1076,592,390,554,586,823,844,703,924,851,500,319,259,258,289,487,750,585,411,503,1130,1692,1520,1124,1072,1052,1108,1404,1114,464,314,519,482,384,439,426,455,400,351,357,353,365,357,242,235,255,308,282,272],[459,908,1104,643,454,448,469,395,493,952,1826,1672,1008,732,971,1364,1566,1646,1776,1742,1538,997,691,669,767,844,872,788,819,903,792,1007,1350,1344,1446,1156,1214,1260,998,1130,1318,1510,1610,1450,1262,1020,880,603,650,1040,1266,1530,1482,1422,1384,1380,1600,1272,977,1044,786,604,556,398,407,304,285,349,384,348,357,432,450,639,985,744,529,1080,1150,1340,1516,1508,1302,893,1046,1432,1218,997,938,1346,1666,1634,2054,1464,1030,1166,1138,698,497,565,346,397,717,959,885,925,784,692,969,1122,879,888,1284,1516,1448,1118,893,891,860,476,571,978,589,315,581,933,1010,750,727,1098,1126,1144,1158,1520,1050,726,861,566,469,566,558,426,378,407,391,485,669,701,602,907,1056,1290,1236,1004,448,311,365,412,440,390,458,748,673,748,984,1054,1248,970,585,590,892,1244,1218,877,493,577,1176,1334,1188,895,937,959,1028,805,531,666,793,1078,1448,1152,1314,1416,1302,1334,1028,763,431,318,317,263,262,388,413,432,389,358,341,328,807,1336,1134,1078,1336,965,512,815,602,450,445,556,1160,993,1020,1108,1280,1258,1088,1076,1130,1078,930,937,1078,1310,1372,1074,1120,1440,1498,1266,1015,854,1134,1334,897,1178,1144,951,1174,874,899,908,728,948,1212,1100,1080,1072,997,1164,1150,1710,1708,1256,815,514,512,926,836,698,1066,1422,1376,1306,962,1312,1452,1376,1146,1328,1164,1118,1262,1122,921,945,1030,1210,1236,1020,543,455,557,702,1198,1190,1166,1274,1526,1328,988,778,850,1184,1230,1332,1534,1282,700,696,1210,1302,1114,1232,1350,1064,909,1130,1428,977,425,341,336,317,339,471,590,694,609,522,527,452,497,607,775,1332,1744,1894,1742,1526,1288,1154,1156,847,509,422,431,715,824,789,875,1358,1232,940,1158,1382,1408,1402,1294,1254,1368,1480,1494,1322,1314,1426,1526,1558,1330,894,913,1288,1306,1212,1462,1176,1114,1138,1414,1278,972,1020,1106,1136,1356,1482,1306,1324,1098,601,493,393,412,353,358,375,501,917,1348,1196,654,581,1350,1034,1294,1204,1484,1342,900,882,1080,1072,995,1128,1206,1088,922,834,999,1396,1434,1256,1270,1192,1190,1038,868,1080,1232,1400,1104,1208,1224,1324,1382,1376,983,843,709,777,1304,1356,911,1106,713,762,892,860,883,816,734,669,612,637,586,670,750,770,1052,1314,840,924,1090,1466,1104,808,855,917,1226,1238,1218,1136,1404,1238,1254,931,912,913,634,586,1028,1334,1158,1174,1282,1390,997,1478,1342,940,965,1100,937,1058,1152,775,527,746,1184,1408,1090,1200,790,418,342,360,513,913,1234,1238,1154,1182,1316,1690,1516,1326,1172,1102,1015,750,661,585,626,633,496,440,561,605,673,1070,1420,1298,1036,1234,1116,1110,1220,1222,1304,1218,1132,1346,1320,1010,705,957,1146,1058,915,1026,915,843,825,610,539,518,628,1056,1007,780,660,698,935,1096,1098,1200,1654,1824,1454,1406,1372,755,412,360,399,805,1202,1072,672,528,515,900,1236,1136,1266,1172,888,952,1188,1372,1428,1440,885,849,970,618,662,949,807,854,1002,1380,1986,1866,1336,1354,1450,1282,1132,1015,841,663,695,634,922,1136,1316,1182,1196,809,439,637,1132,1250,1314,1480,1322,1168,830,511,439,445,411,368,409,411,357,342,318,306,329,337,343,323,305,313,319,319,317,317,303,326,343,404,601,518,415,473,413,440,481,432,482,519,422,446,436,404,422,418,732,1324,850,600,520,1090,1788,1954,1658,1814,2070,1660,1594,1534,1604,1836,2056,1866,1800,1710,1584,1804,1444,825,810,1144,1306,1110,1136,1240,921,930,891,1060,1052,1158,1416,1188,920,758,708,1158,1218,1278,1146,1184,1104,1132,1210,1000,1032,1338,1260,820,666,539,378,695,984,929,433,429,343,712,711,617,894,1052,1108,1356,1194,999,1162,1448,2080,1644,1366,1350,1238,1080,791,688,809,875,827,846,1014,823,365,523,680,878,1078,1180,1214,1484,1892,1852,1556,1616,1686,1606,1048,935,1328,2032,1786,917,603,719,1100,1328,1136,941,1060,897,1114,1384,1184,644,526,487,511,550,925,1330,1360,1096,994,1236,1272,986,1184,1574,1216,1370,1516,1616,1600,1198,843,1396,1692,1648,1266,1070,1088,1446,1538,1462,1218,1522,2046,1592,1058,946,1013,1736,1570,1350,1368,1432,1462,1316,1244,1164,1026,1406,1446,1132,1222,1262,1266,1430,1360,1816,1202,756,658,670,655,750,1148,1334,1316,1312,1260,1332,1308,1284,1096,1146,1118,1160,1064,969,1023,1080,999,899,1246,912,988,1228,1710,1698,1480,979,690,775,976,1284,1208,686,555,610,1028,1550,1064,1216,960,444,536,880,959,944,1528,1476,1664,1652,1428,1146,1044,1288,1426,1802,1430,655,369,499,681,916,1122,1174,1270,1216,1316,1142,1172,1318,1210,1120,1092,1228,1332,1332,1082,1142,1376,1280,1172,1052,1074,817,548,330,499,830,703,430,381,343,336,515,539,389,369,493,711,946,943,929,802,656,670,702,653,532,517,534,550,557,533,573,884,1302,1286,1194,1378,1266,1212,1416,1116,827,801,1132,1282,1682,2214,1410,1766,2036,1582,1214,1052,938,1238,1180,1110,1194,1278,1508,1282,1108,891,938,1382,1324,1378,1460,1318,1360,1368,1332,1282,1400,1140,935,946,998,885,730,614,379,736,998,835,878,980,1140,999,993,949,1224,1015,1110,1368,1058,1100,1038,673,518,414,372,340,283,275,260,315,295,312,415,784,729,567,1078,940,728,995,1458,1628,1262,1224,695,725,763,777,783,867,998,1026,1054,980,684,514,378,595,997,1084,1230,1284,1262,1108,1368,1382,1306,1382,1388,1274,1138,980,588,519,831,803,797,560,453,636,637,647,987,1148,973,1021,1048,756,507,375,329,451,469,846,1276,1210,1122,1184,1096,962,1084,1192,601,422,550,603,514,407,351,517,682,568,621,878,564,593,923,796,678,860,1048,1023,915,936,1262,1182,800,593,637,1013,1498,1260,1270,1312,1238,1028,683,705,794,827,1072,1200,1236,1506,1472,1292,1260,1338,1354,1356,1302,916,841,1384,1734,1590,984,968,914,651,972,1186,1268,1198,996,869,886,712,478,578,651,621,802,664,558,985,1384,1246,1084,1196,1312,1282,1278,1578,1388,1102,875,810,609,587,844,1180,1190,1136,978,636,711,998,999,961,1260,1344,836,861,1368,1410,1232,1368,1656,1744,1664,1642,1680,1588,1396,1972,2200,1892,1594,1454,1174,946,1018,1226,1200,1072,987,1322,1134,1310,1448,991,956,929,944,1084,1160,1538,1556,1394,1124,879,689,665,593,561,678,619,500,460,527,551,418,463,666,1322,963,642,548,502,520,503,472,437,455,605,939,1008,893,860,1010,1264,1144,1150,1178,1174,1116,1040,1180,1252,1102,1256,1424,1350,1232,1144,1012,955,1122,1214,1200,1350,1158,761,605,686,1056,776,600,361,353,632,992,1120,966,788,835,1054,1088,947,799,983,714,574,1458,2108,2220,2444,2480,2428,2392,2112,1562,1322,1556,1652,1604,1406,664,354,328,308,304,610,883,694,494,446,619,805,573,805,899,927,786,1012,1680,1670,964,729,1288,1676,1266,1122,918,676,663,712,555,559,548,807,971,764,625,432,393,557,1026,1250,813,899,1028,879,636,681,577,455,461,412,375,351,371,521,491,425,399,367,330,352,342,286,312,311,301,272,301,393,472,616,650,658,712,518,393,329,258,295,296,328,334,400,534,764,882,829,1138,1252,1456,1570,1066,893,1174,1356,1100,703,755,606,428,295,220,242,324,324,340,353,310,343,395,394,283,228,222,261,343,543,696,544,540,982,1324,1098,857,775,620,386,237,398,516,472,498,991,1650,1444,1146,973,682,532,803,1292,669,626,859,1104,677,342,339,320,250,342,527,657,419,489,473,372,477,891,1042,871,705,727,738,854,736,381,438,999,965,1116,977,547,427,414,481,441,341,394,431,482,542,744,774,926,1020,819,649,553,886,1192,1328,1124,870,995,542,407,453,548,754,1011,1166,1266,1388,1152,1082,1312,1532,1506,1306,1230,1436,1324,1282,1030,791,882,855,579,571,1009,1164,1118,1005,917,872,714,711,1116,1442,1448,1392,1078,816,1100,1052,952,966,974,1188,1490,1444,1120,977,605,589,925,1204,1396,1240,1418,1948,1142,664,552,771,525,342,588,566,608,833,860,803,1342,1478,1390,1372,935,1404,858,412,412,827,1110,1246,1212,841,780,578,686,974,1340,1390,1398,1226,1084,1194,1040,808,639,791,972,517,339,306,302,347,322,311,328,560,913,788,539,678,767,781,727,793,1088,1310,1120,1188,1076,955,1222,1280,730,502,507,718,482,477,735,772,563,322,307,678,822,1012,902,617,450,318,280,279,314,653,895,612,363,590,1180,1272,895,1122,1420,1200,1430,1814,1216,435,317,509,642,681,691,806,1170,1066,786,437,346,343,328,272,307,396,343,240,271],[383,694,1262,984,574,435,457,375,497,985,1394,1066,586,626,1108,1060,1410,1542,1736,1708,1120,608,522,774,1376,1184,506,354,424,559,677,944,1338,1182,1256,1216,1340,1388,1336,1548,1434,1426,1270,825,600,783,912,789,697,773,1152,1324,1316,1498,1582,1548,1488,1208,1023,1370,1124,837,728,630,581,340,252,444,686,607,554,532,469,870,2122,1340,407,542,1036,1346,1318,1206,1210,857,459,491,728,948,871,1170,1404,1490,1738,1484,1284,1344,1296,761,527,333,771,1846,1124,1015,870,828,530,846,1104,1268,969,718,1038,1180,1282,1136,702,563,738,547,563,857,603,370,786,1148,996,613,633,1108,1072,987,1196,1412,1418,1176,885,459,318,709,993,526,307,367,397,492,637,474,415,551,929,1012,937,692,518,464,568,764,677,651,454,503,497,489,590,927,1300,1024,591,771,1026,1094,909,861,894,869,1046,1260,1214,1050,976,941,1138,1066,613,531,707,1021,1376,1424,1322,1250,1434,1244,1072,834,382,351,321,295,322,397,370,375,348,319,407,458,547,791,697,544,883,945,841,1005,547,418,579,695,735,1009,1248,1260,1134,875,969,942,744,1014,1044,1114,1288,1434,1538,1362,1054,1272,1250,1005,1140,961,577,487,512,929,830,553,924,677,495,614,694,833,1068,1272,1442,1406,1038,1074,1294,1612,1454,1234,1076,727,480,470,569,739,980,1284,1126,1100,1152,1398,1322,1070,1144,1150,1194,1346,1448,1440,1324,1484,1270,1018,950,764,444,433,408,639,933,1014,987,1013,1124,1188,1376,1142,920,691,717,852,1088,1268,1030,1088,1470,1314,944,773,1246,949,810,1586,1448,787,463,374,336,310,339,342,401,504,569,1096,997,639,659,727,931,1308,1344,1464,1736,1706,1268,1170,1146,736,469,430,429,454,409,497,894,1132,1162,1284,1400,1288,1294,1246,1188,959,801,796,1036,1188,1340,1466,1662,1642,1566,1322,1128,1150,1132,1384,1658,1334,1016,1284,1538,1132,803,966,1304,1628,1630,1602,1498,1166,1003,805,558,329,276,321,345,333,560,953,1120,1008,601,414,834,1066,1320,1212,1396,1310,1032,988,1100,1146,1102,985,1222,949,1122,1144,1266,1404,1130,1098,1228,1212,1176,943,643,932,1214,1094,872,944,1132,1138,1240,1278,1086,1000,995,1190,1250,984,880,1100,855,759,795,769,774,653,517,473,433,464,525,601,677,897,1114,1232,1180,1002,847,777,715,1074,1234,1146,1372,1514,1350,1208,1310,1300,1182,1036,1404,1294,957,1100,938,960,1312,1594,1300,1306,1124,1268,1180,846,843,727,723,1180,1282,897,835,711,1126,1478,1172,1048,800,486,415,550,597,665,978,1042,837,935,1158,1692,1430,1316,1262,1164,1066,810,652,844,858,730,688,688,726,858,812,1092,1232,1088,870,1146,1152,1068,1482,1672,1346,1396,1228,1202,915,730,635,1072,1278,1005,808,835,966,1078,937,580,535,544,607,734,702,673,671,1015,1230,958,661,692,796,923,1152,1434,1318,799,569,377,350,970,1126,828,676,511,548,816,978,1116,1354,1094,858,987,1164,1242,1490,1414,1001,882,1058,784,541,685,566,648,1160,1336,1444,1300,1306,1494,1430,1306,1144,996,844,722,1112,1146,954,954,1188,1142,1092,753,444,1004,1736,1772,1644,1516,1166,1058,724,460,422,426,447,423,386,343,338,339,345,331,338,320,329,321,320,319,318,323,336,344,331,320,325,327,446,508,475,386,418,451,512,509,542,512,411,438,420,388,415,427,462,965,1224,969,553,747,1480,1714,1628,2336,2084,1460,1332,1374,1434,1578,1834,1886,1844,1638,1486,1786,1620,1014,877,1144,1180,1138,1124,1032,730,725,1013,1268,1120,1076,1011,714,890,953,750,1126,1172,1164,1252,1220,1074,1174,1166,1064,1200,1526,1274,633,600,457,436,821,1011,1026,730,596,608,955,1136,816,639,919,1154,1182,1244,984,1082,1332,2246,1542,1218,999,799,850,692,872,1228,1036,1030,1178,1180,723,720,989,1015,1216,1430,1226,1378,1666,1742,1782,1834,1802,1686,1456,858,845,1218,976,475,461,574,852,1294,1216,1206,1124,1268,1216,1184,1568,1080,902,866,814,932,996,1076,970,965,1108,1374,1364,1282,1088,1146,1170,1598,1598,1394,1462,1508,1278,937,1660,1428,1360,1142,915,1052,1310,1412,1296,937,1070,1318,1138,896,773,878,1556,1500,1208,974,791,1138,1258,1154,949,1007,1342,1238,1242,1364,1438,1364,1424,1020,686,846,1234,1372,1254,1096,1010,1048,1098,1498,1228,1540,1438,1286,1378,1216,1230,1544,1672,1272,1218,1146,1208,1262,1094,966,807,1066,1342,1674,1958,1566,1040,930,869,1004,1058,661,609,682,1019,955,464,583,905,749,555,463,585,648,1202,1476,1346,1340,1622,1594,1268,1130,1030,1144,1196,889,711,410,609,697,866,1202,1146,1168,1300,1256,890,1004,1260,951,965,792,796,971,1166,1298,1450,1438,1478,1362,1246,1138,832,618,396,622,937,1023,572,358,316,294,278,264,321,471,543,618,912,1034,771,577,605,586,595,585,574,574,565,563,532,552,964,1306,1430,1370,1268,1406,1314,1126,1230,1136,1138,1330,1298,1198,1382,2070,1510,1638,1624,1272,1284,1306,1198,1204,1270,1692,1686,1208,1356,1228,1296,991,910,943,1026,1362,1302,1326,1506,1328,1038,984,1154,1068,822,1066,1154,825,661,526,494,1030,1082,708,818,932,729,729,1504,1296,1052,800,747,952,1036,1136,865,728,844,496,315,284,263,228,235,297,361,425,595,1028,797,703,1148,1056,1126,1146,1556,1484,1428,979,1118,981,831,856,805,926,1122,1200,1130,819,579,811,717,779,1184,1506,1300,1242,1320,1378,1406,1074,1030,1280,1332,1174,1074,747,490,500,1028,863,913,904,612,692,766,766,1130,1128,1126,1278,1408,1342,861,421,306,396,513,893,1330,1218,1068,1001,781,584,693,719,466,431,622,714,555,380,371,482,514,408,582,849,733,784,769,489,414,492,466,564,580,559,700,840,826,966,954,1208,1642,1306,1118,1318,1284,907,682,782,888,933,1358,1616,1366,1650,1642,1600,1354,1258,1422,1448,1190,1172,1188,1260,1368,1576,1324,1316,1366,1166,1350,1520,1362,1084,763,558,836,633,532,760,897,969,858,769,910,1104,1304,1368,1640,1686,1342,1226,1346,1716,1070,900,1068,1060,810,850,849,775,1024,1118,840,847,992,1070,938,870,928,918,810,1226,1436,1256,1414,1560,1406,1534,1506,1490,1594,1706,1728,1792,1576,1344,1652,1866,1442,957,1154,1190,978,1030,1034,1130,1038,872,957,879,820,1312,1702,1638,1274,1052,1070,1076,855,784,686,575,580,644,612,565,443,390,440,477,442,442,589,1148,984,653,556,502,479,502,517,486,531,538,852,926,948,886,1046,1196,1162,1216,1244,1240,1378,1592,1490,1312,1268,1456,1572,1364,1140,979,928,934,1142,1186,1304,1328,1260,936,689,516,677,712,510,469,529,685,1064,1294,1284,1218,1038,1190,1212,1226,969,1000,907,891,1808,2248,2332,2526,2588,2382,2324,2156,1714,1514,1562,1566,1506,1412,900,412,319,313,335,585,836,576,707,836,772,1026,841,700,591,700,542,455,957,1504,1128,1000,917,1088,780,508,418,410,447,585,633,463,515,860,884,634,829,1150,717,838,1186,914,702,1048,1072,619,498,514,456,371,383,396,356,318,338,529,456,415,440,432,391,353,292,320,390,301,311,353,394,404,380,783,763,646,747,498,412,362,288,308,292,341,296,271,736,1058,901,842,1094,1088,1306,1510,1184,749,483,963,1262,1246,1050,760,433,324,288,288,313,426,577,626,548,542,385,333,330,306,301,368,626,896,746,324,398,782,1012,790,752,574,594,433,323,428,422,623,926,761,619,892,1420,1454,912,852,1038,1028,570,462,706,690,473,373,464,455,292,421,828,1554,769,381,417,391,610,760,683,690,947,1294,1072,1424,898,588,603,1068,1058,794,502,426,399,350,328,309,333,369,312,353,370,454,531,902,910,707,586,649,829,1264,1696,1676,1256,1360,779,572,507,456,721,960,1280,1226,1222,1130,1120,1406,1582,1378,1562,1628,1570,1508,1224,938,958,1018,1028,1026,1414,1396,1316,1252,1096,1146,783,434,626,908,1140,1206,1388,1242,1060,1056,872,757,898,999,1178,1454,1436,1210,752,392,486,884,1096,1162,894,727,1030,1376,872,584,713,566,599,881,847,696,906,1070,1058,1292,1286,1212,1172,1152,1009,521,429,750,951,1042,1098,765,519,625,927,1060,1266,1346,1300,1266,1132,977,824,881,1036,500,938,952,521,365,286,273,252,283,322,400,805,1246,1104,652,618,619,628,641,572,1009,1017,616,820,1018,997,972,968,922,932,843,1504,880,558,785,884,604,263,410,621,691,976,648,392,458,563,491,365,509,882,912,580,325,505,767,618,534,870,1212,1326,1826,1842,822,301,393,592,814,760,802,1032,1266,1480,991,408,291,370,367,318,332,346,324,263,258],[331,379,548,778,755,771,629,405,341,603,949,1040,809,944,1332,1262,1336,1456,1612,1562,1110,615,612,947,1152,887,466,331,361,424,624,705,1028,1192,1322,1290,1212,1148,1288,1338,1220,1424,880,636,631,1002,1118,1248,1058,836,901,909,877,1344,1528,1406,1490,1272,1156,1594,1460,1094,639,751,753,407,303,462,631,475,618,806,647,871,1650,915,495,672,1054,1372,1360,1116,1260,1154,639,558,521,755,620,943,1062,1290,1586,1312,1172,1322,1052,1005,899,499,785,1510,1150,1186,911,545,367,412,683,1048,730,537,886,1254,1350,1140,783,706,821,875,830,879,642,533,1126,1013,929,904,844,1056,1148,1126,1188,1124,1318,1284,876,606,580,622,776,341,297,401,516,524,548,560,615,546,703,1013,995,1016,840,691,664,1007,1202,901,529,574,604,681,696,605,712,855,890,1024,912,1122,1044,1021,1120,903,1036,1112,1170,1284,977,670,680,611,512,869,1018,995,1358,1542,1648,1632,1278,875,890,862,404,327,336,350,351,300,325,409,386,296,353,420,410,436,361,436,792,1114,1418,1074,724,741,1150,989,693,922,922,908,1124,937,1013,929,573,690,1058,1450,1338,1422,1832,1750,1444,1378,1266,1282,1240,1042,738,468,633,885,879,538,343,379,456,574,622,539,742,1246,1444,1288,1244,1164,1324,1590,1252,1048,1028,611,480,686,727,952,1190,1094,818,1042,1162,1404,1226,1004,1060,1204,1500,1410,1512,1592,1542,1722,1074,615,619,505,357,343,346,403,505,763,1017,1224,903,1256,1608,1092,826,743,785,890,963,972,949,996,1350,1524,1350,1124,1272,1312,1202,1654,1282,705,379,395,515,412,384,376,351,387,569,1208,1007,686,832,1088,1390,1350,1254,1406,1598,1610,1344,1198,1066,608,404,374,375,402,426,608,1120,1414,1330,1254,1064,745,1124,1294,1276,960,614,780,967,1396,1428,1232,1470,1484,1344,1176,1062,1040,1292,1518,1098,890,935,795,683,543,610,642,871,1216,1478,1626,1410,1046,1028,978,711,498,379,350,366,611,734,986,1194,1030,607,447,886,1148,1154,1278,1426,1296,786,739,1032,1122,1074,1005,797,736,1210,1266,1344,1426,1336,1426,1484,1318,1110,796,756,1140,1032,770,547,746,1001,886,999,1244,1288,1206,1224,1578,1262,763,954,1242,904,733,670,773,910,869,484,499,492,518,631,984,1274,1202,1003,1134,1260,1104,885,734,954,1136,1322,1128,1416,1216,963,944,1120,1250,1080,935,1228,1142,949,1156,997,810,1100,1018,1112,1396,1454,1494,1304,937,915,1024,1168,1396,1378,1106,954,749,1046,1252,1214,1332,966,506,575,832,785,867,1124,1250,886,930,866,968,912,1178,1328,1182,1060,752,813,1472,1714,1856,1092,1023,1248,1292,1108,1112,1194,1148,1042,1278,1270,1124,1486,1504,1021,1030,1402,1096,855,775,599,839,1210,1400,1182,1042,1138,1316,1140,839,733,595,662,990,691,475,600,780,1140,964,601,659,974,716,1009,1400,760,477,564,448,450,648,744,991,992,920,999,1032,1234,1320,1374,1138,1034,1324,1496,1456,1416,1322,1220,1210,1284,954,541,456,443,698,1202,1378,1262,1154,1162,1300,1284,1282,1124,1220,890,544,877,1044,992,907,979,1120,1007,800,805,1156,1256,1644,1392,986,960,1188,826,503,440,419,448,440,383,359,375,394,343,343,337,332,320,307,299,295,303,315,327,335,350,327,320,368,518,581,426,337,398,446,515,531,547,415,436,411,381,388,398,473,483,489,932,1144,706,608,1262,1730,2138,2460,1732,1450,1410,1500,1570,1588,1614,1534,1672,1654,1468,1744,1820,1422,1168,1068,1080,1054,861,717,794,772,822,1112,1328,1294,1196,825,857,1018,1048,830,1074,1202,1310,1072,1076,1186,1106,1166,1064,1122,879,838,979,500,401,855,924,842,930,817,667,937,1288,1016,552,754,1058,773,1062,1104,994,951,1040,1011,1392,1482,728,838,965,1142,1396,1178,879,817,1002,1064,1112,1102,1028,1424,1648,1316,1516,1614,1174,1204,1836,1720,1516,1290,1090,1222,1072,675,533,425,472,661,1144,1112,1218,1278,1324,1492,1720,1902,1214,703,799,902,997,987,684,637,759,1206,1236,990,979,1082,1026,1126,1216,973,1020,1266,1458,1178,969,1394,1324,1480,1178,950,986,901,1096,1238,1001,1011,1372,1388,1116,1028,1066,1180,1242,1206,1024,840,742,926,1144,989,1188,1364,1202,1268,1322,1822,1636,1148,787,818,1298,1468,1310,927,1216,1512,1388,1100,1272,981,1376,1532,1290,1156,1340,1358,1274,1192,1350,1604,1180,1282,1260,1042,887,984,1302,1470,1644,1548,1328,1002,882,925,1382,1324,1050,953,755,776,683,446,368,428,784,892,468,442,750,1288,1118,1050,1074,1368,1586,1500,1224,1020,1272,1322,1202,1005,439,439,437,750,1120,1116,1056,1019,976,648,767,1058,1009,946,753,779,1036,1100,1162,1240,1184,1288,1350,1150,1102,885,633,503,539,871,772,433,309,283,267,292,306,372,487,478,553,672,754,564,478,560,591,613,590,579,565,561,546,605,977,1224,1116,1348,1440,1262,1320,1194,944,965,1082,1288,1378,1288,1274,1390,1456,1236,1094,1172,1208,1192,1146,1198,1316,1532,1932,1842,1122,1220,1226,1158,879,975,1084,1172,1250,1132,1288,1294,1060,854,952,847,1320,1218,1216,816,479,684,827,920,1730,1874,713,599,784,944,869,1402,1528,1188,846,948,913,746,608,778,1070,1580,722,402,393,384,309,296,336,382,430,567,756,704,797,1130,715,957,991,1484,1730,1964,1366,1394,1218,985,1060,1204,1476,1550,1214,858,646,1054,1744,1562,1160,1376,1390,899,801,875,1146,1426,1066,1072,1212,1194,904,641,511,576,584,452,382,708,1034,787,989,872,633,1240,927,1024,1232,1234,1170,895,591,442,689,1048,869,1058,1200,1058,1096,883,696,748,593,422,496,642,593,447,379,420,418,404,418,849,1024,1204,1014,574,494,461,449,428,422,400,408,521,657,823,770,1054,1496,1516,1326,1256,1316,1108,758,822,1108,1176,1202,1470,1542,1624,1658,1646,1676,1562,1302,1118,1026,814,827,1042,1058,1284,1346,1226,1220,1142,1208,1386,1484,1232,1005,996,711,743,845,783,796,951,1021,1110,1120,861,720,662,836,1522,1500,1336,1614,1588,1206,778,604,908,980,781,767,797,766,1288,1156,1302,993,1042,1015,1182,905,539,616,877,1178,1080,1104,1350,1056,887,1478,1824,1688,1600,1672,1566,1608,1920,2188,2266,1844,1506,1006,1262,1518,1248,973,1038,995,796,719,841,820,1104,2480,2282,1446,1404,1608,1622,1360,929,690,677,762,966,955,605,541,408,305,390,462,437,436,503,883,1013,709,589,535,452,463,509,521,533,560,695,714,784,804,963,1182,1162,1172,1182,1142,1336,1676,1820,1478,1422,1376,1234,1310,1170,941,878,1182,1458,1142,1098,1076,1042,818,547,429,403,456,492,556,619,666,791,1140,1544,1528,1124,1074,1048,1246,1190,1284,932,1040,1878,2294,2456,2588,2698,2592,2220,2010,1960,1636,1092,932,1082,1390,1266,763,412,539,388,478,537,530,871,1084,977,1154,1090,664,457,528,599,492,650,897,916,977,549,591,708,678,498,393,522,659,546,364,426,594,625,633,1250,1670,1364,1064,844,596,718,1012,721,434,430,469,401,334,339,341,324,325,365,449,397,365,453,490,412,372,339,401,455,376,367,382,376,382,384,595,792,776,951,559,396,311,303,327,310,286,265,311,657,949,854,886,1216,1130,1490,1064,723,524,442,615,760,964,1316,1240,859,487,408,224,208,356,665,912,768,711,458,303,369,468,572,735,802,828,628,322,372,766,775,554,511,410,416,408,352,401,524,840,1122,1194,537,487,1032,1674,1544,1488,1034,456,365,366,378,498,621,605,904,505,336,599,1062,1626,767,288,351,443,583,567,859,1148,835,1368,910,1080,742,417,841,1126,1054,819,602,472,405,354,297,260,274,287,509,502,462,410,365,633,969,1054,1150,1076,933,1230,1350,1266,993,1108,912,728,612,826,876,951,1136,1202,1364,1252,1180,1018,897,809,1048,1448,1644,1586,1360,1184,1168,1326,1318,1360,1846,1544,1428,1168,974,1066,1202,1034,675,1116,1430,1426,1546,1554,1646,1238,1184,1070,967,1146,1514,1458,1178,871,599,430,476,848,1010,1132,1152,1030,1010,1096,827,775,767,597,674,1124,1078,970,1180,829,963,1240,1136,1016,1062,913,620,473,832,1100,1086,1120,1138,849,828,1078,1228,1044,946,1070,1013,852,949,691,479,602,624,350,879,908,548,477,528,405,256,306,324,455,990,952,724,554,572,502,593,742,740,984,1005,957,880,630,592,735,1118,942,1154,1192,1376,1090,841,780,604,432,300,452,656,578,752,587,429,528,707,547,335,613,897,767,449,497,584,1048,1110,937,847,1010,1172,1354,1248,604,355,418,556,713,632,662,907,1110,1340,902,464,381,461,439,314,286,292,274,229,210],[323,461,631,927,936,703,800,694,427,613,854,779,659,1070,1260,1282,1382,1388,1448,1516,1346,1074,986,839,975,995,834,577,415,433,817,851,856,922,1080,1190,1204,1086,890,736,1206,1244,826,1007,1124,1278,1172,866,801,801,830,906,841,1026,1084,1258,1124,999,963,1136,1192,1248,1028,875,661,448,316,365,275,264,307,313,290,555,1146,1250,1030,1022,877,807,1172,1414,1242,1230,1302,1256,818,691,687,1034,1023,1322,1562,1114,1210,1284,1102,1306,1144,739,422,638,1160,1214,853,461,355,332,456,630,623,553,1216,1586,1312,1104,1050,1009,921,824,1090,1156,688,547,875,1078,1176,1228,1166,1021,929,1130,1166,874,701,1010,1120,825,548,471,336,283,296,637,704,489,435,586,699,637,725,837,745,760,601,767,805,1228,1154,852,686,612,789,1098,1148,910,852,1018,1130,1088,667,978,912,899,780,647,1007,1140,1152,1234,1238,1066,851,658,423,611,781,1128,1410,1256,1454,1470,886,514,419,483,455,372,327,391,375,335,511,785,622,331,300,281,348,611,644,975,1370,1780,1728,1009,541,752,950,768,858,1248,1056,1066,1076,896,866,928,738,722,1078,1466,1456,1356,1388,1394,1430,1440,1032,769,577,636,841,953,1266,1228,908,570,340,352,381,394,426,604,650,974,1166,1230,1020,814,1066,1504,1332,912,656,512,513,891,781,1102,1298,929,776,903,1134,1376,1216,1210,1274,1376,1424,1410,1600,1730,1790,1492,745,597,939,835,513,319,382,426,639,916,1294,1250,957,1438,1382,1184,1268,1278,1504,1388,1362,1368,1144,1212,1474,1492,1246,1226,1444,1656,1524,1310,1086,825,533,518,807,577,640,453,369,373,397,733,635,567,951,1428,1500,1124,1042,1360,1466,1386,1356,1242,1092,821,674,533,388,436,419,473,857,1116,802,1007,890,919,1072,1128,1138,846,943,1166,1272,1342,1096,957,956,1188,1066,1154,1082,834,1278,1572,1012,1002,946,657,583,591,702,774,1003,945,1230,1448,1162,761,883,1090,843,772,833,790,777,761,735,803,1104,1154,995,956,1100,1040,1074,1300,1460,1146,722,950,1236,1106,946,1044,842,818,1152,1236,1230,1460,1546,1656,1098,774,615,675,1026,1224,800,618,661,978,1186,1202,1234,1152,1328,1182,1108,1328,1118,1015,1696,1378,633,636,913,1442,1500,1456,630,521,509,513,766,1376,1748,1438,1060,1086,1116,1150,1176,1202,906,1062,1102,832,992,780,590,940,1100,926,916,799,984,1142,1018,940,946,805,1162,1250,1336,1550,1522,1244,843,832,1086,1522,1240,1070,1140,1180,805,482,610,679,694,817,855,965,1200,986,963,1108,971,1042,784,1168,1152,879,1017,1242,1282,1120,990,1056,1194,1620,1410,1412,1128,1030,1156,1092,1036,1184,1282,1172,1194,1570,1462,1312,1356,1202,849,699,1126,958,820,799,576,604,742,1016,1274,1092,838,944,949,1018,884,570,480,568,442,427,561,894,1176,864,570,796,1118,851,1192,1356,962,719,708,765,965,1084,818,959,1108,1023,1056,1058,1374,1534,1482,1246,1072,1232,1470,1538,1394,1072,1002,1226,923,789,714,508,544,913,1336,1348,1016,977,1116,1052,923,1110,1172,1288,877,610,844,836,599,614,869,956,797,1023,1120,1202,1118,1180,833,487,795,1126,1002,765,651,484,440,433,377,375,552,587,456,369,339,324,317,317,308,307,313,312,329,346,344,323,311,391,525,517,356,317,370,454,484,496,502,428,446,423,405,402,398,436,536,509,563,863,896,552,1148,1744,2186,1872,1538,1454,1444,1442,1476,1498,1570,1678,1698,1616,1470,1628,1826,1708,1318,898,713,802,932,771,554,839,868,907,1282,1100,1154,1072,942,1010,1104,1160,1284,1288,1156,907,930,857,670,781,765,1040,775,705,704,589,655,1036,908,615,849,967,797,954,1064,1088,833,915,1142,915,1058,1412,1334,1172,1270,1034,1132,1540,851,811,755,700,859,1034,921,871,1202,1206,951,1136,1252,1012,1052,1330,1556,1122,583,664,1508,1786,1470,1222,1424,1332,865,741,601,412,438,634,1046,943,1072,1396,1692,1662,1436,1372,1314,1180,1064,885,920,820,628,573,822,958,1046,1094,1058,1090,1122,984,717,1210,1460,1188,738,956,889,658,838,938,785,881,819,815,1128,1122,1060,1038,1150,1144,983,1182,1270,1258,1366,1164,967,816,552,880,1362,923,816,1094,1322,1462,1606,1738,1348,749,662,1380,2204,1730,999,796,1338,1686,1666,1554,1248,883,1156,1440,979,948,1220,1308,1260,1092,1498,1578,1023,1036,1126,1166,1174,1354,1904,2952,3376,2014,1036,1034,1152,1176,1362,1106,1040,1136,1070,1078,755,478,455,935,1220,1012,516,480,1024,1092,998,990,1120,1542,1656,1416,1428,1222,904,1130,1174,1096,633,717,887,1036,865,618,880,927,1013,937,1252,1076,1122,982,800,949,1124,1124,1224,1474,1556,1398,1282,1172,717,585,796,607,499,754,631,360,318,318,297,286,302,332,357,377,536,610,577,485,502,529,596,673,588,579,569,558,547,789,1184,1120,1320,1412,1382,1376,1470,1336,1248,1112,1128,1168,1260,1350,1340,1362,1252,1172,1174,1340,1388,1188,1088,1162,1462,1428,1120,1180,1200,1082,1182,1098,1104,1414,1336,1294,1170,1194,1158,1030,833,905,1332,1406,1180,1320,1424,1017,743,1256,1350,998,1156,1400,784,746,567,833,1206,866,1130,1078,1036,1456,996,664,533,722,954,1092,700,576,735,567,404,438,367,370,445,741,965,1078,1007,746,446,799,714,1036,1580,1938,1548,1130,888,845,923,1314,1566,1428,990,755,804,1070,1230,1222,1068,1312,1230,618,460,387,833,1222,810,922,1112,1504,1556,908,483,714,915,596,442,850,1162,781,843,752,680,1074,799,771,882,1001,922,728,722,498,644,1078,1126,1222,1158,971,1130,1046,1040,975,586,435,473,497,473,386,390,430,400,381,601,968,1162,1324,857,459,466,455,472,470,454,467,486,509,695,860,875,1152,1280,1374,1494,1544,1332,1198,1140,1168,1300,1284,1282,1450,1542,1366,1158,1178,1124,1142,852,658,860,995,734,882,1198,1202,1020,1316,1538,1350,1278,1092,963,928,627,554,738,709,987,940,996,1108,907,691,421,383,445,544,620,858,973,1110,1364,1322,1150,870,727,730,518,506,526,600,800,869,1188,1664,1220,1028,984,960,729,770,892,833,1088,1106,1050,1001,935,1488,2166,2280,1836,1590,1686,1570,1886,2410,2360,1998,1400,997,846,1136,1516,1280,924,786,774,907,796,719,816,973,1540,1704,1290,1488,1568,1352,1094,928,1144,1268,1316,1346,1132,647,508,448,357,407,463,444,455,492,894,1230,685,603,643,584,580,574,491,489,620,667,543,678,840,984,1144,1050,1064,1106,1168,1112,1290,1408,1290,1220,1230,1278,1284,1250,950,1015,1286,1186,1146,1088,1116,905,543,371,430,480,491,497,426,451,618,988,1154,1144,1180,1372,1122,954,975,1000,1056,822,941,1358,2056,2410,2570,2674,2464,1864,1986,1942,1552,1036,661,875,1136,1112,980,548,913,772,524,408,527,776,1036,1194,1344,1064,618,548,641,854,780,807,993,997,858,624,849,1202,1030,588,435,861,999,845,670,824,949,932,825,1302,1578,1688,1486,854,615,1038,819,496,456,396,420,396,372,353,335,335,325,355,380,345,377,520,498,432,349,391,572,557,468,427,372,339,343,343,636,1048,647,684,528,351,281,276,321,347,393,456,474,709,1032,774,569,805,1338,1446,780,431,495,631,701,858,1044,956,993,1286,1312,717,247,235,249,388,667,782,615,486,461,479,613,717,682,647,659,416,322,415,739,692,646,663,437,355,412,357,450,1290,1496,1106,1214,1094,678,655,954,1160,1038,570,350,355,320,397,628,564,442,455,445,462,554,800,772,372,318,347,470,841,860,818,993,556,548,564,505,445,617,1172,1446,1220,991,952,617,554,442,294,261,419,819,1018,714,471,438,601,952,1005,973,937,541,323,506,754,579,421,427,521,599,824,1272,1292,1024,861,1376,1072,664,760,711,690,664,753,984,1318,1646,1616,1372,1234,1216,1258,1360,1334,1358,1404,1202,1222,1258,1612,1584,1238,1294,1124,1218,1288,1182,1368,1558,1774,1338,943,1132,1464,1436,1152,641,520,575,468,541,1344,1348,1038,1656,1948,1418,1224,926,659,582,664,1184,992,1272,1360,1140,1028,1306,1426,1310,1356,1078,806,755,1278,1072,1044,856,977,1260,1268,1142,1046,827,799,810,802,933,774,626,604,434,368,350,670,667,383,618,919,602,333,335,303,526,1012,766,543,563,559,536,686,835,1082,1074,1068,1368,1186,696,456,567,730,866,1260,1104,965,1252,1214,944,596,425,442,813,863,680,783,547,547,549,420,413,389,470,559,497,788,1136,1082,1092,938,815,976,1142,1134,1436,1130,487,427,476,629,1324,1236,898,912,1694,2042,1142,448,512,510,386,366,428,359,226,204,232],[248,394,683,1068,977,765,1066,918,615,725,659,428,353,868,1460,1274,979,1258,1490,1494,1308,1174,1208,858,1122,1184,1366,1118,624,406,563,885,974,978,960,977,1132,1384,1226,1023,1386,1326,1036,1106,1060,1064,1264,1056,690,607,877,1009,906,1186,1340,1298,1028,1034,1202,1013,959,1226,1017,932,908,637,475,598,617,432,440,392,360,596,1186,1396,888,816,909,731,1296,1558,1302,1164,1800,1398,566,606,853,869,899,1550,1362,1184,1260,1044,1114,1094,1082,846,724,877,942,973,701,404,358,333,323,437,601,575,1086,1442,1236,1114,1142,1096,838,619,899,971,908,655,668,912,1142,1226,1150,1040,892,812,972,1066,863,780,1154,1050,702,460,401,472,655,871,728,502,415,496,577,514,477,401,514,583,417,676,942,847,571,716,822,927,1170,1476,1476,1015,912,1096,1498,1056,840,1210,1098,914,515,479,803,1064,1178,1354,1246,1152,996,1150,945,680,717,990,1044,944,1114,1268,871,738,593,371,386,307,283,467,594,554,858,1220,843,437,373,287,342,753,871,1306,1484,1432,1194,659,346,370,497,734,1142,1314,1260,1238,713,772,814,645,747,844,961,1376,1502,1402,1620,1814,1358,1404,872,468,370,629,977,887,1062,1374,1230,969,469,310,345,341,336,643,855,1202,1542,1418,1011,973,1182,1382,1410,1072,527,664,677,785,921,1266,1388,1372,1186,805,1090,1452,1448,1092,1236,1140,1038,1316,1328,1394,1622,1338,830,795,1050,865,751,680,924,709,800,879,1184,1082,948,1092,1036,1426,1522,1378,1670,1196,1040,959,1108,1360,1400,1328,1116,1004,1184,1324,1344,1254,1324,1476,1280,890,1226,915,975,745,597,667,552,431,459,586,910,1288,1290,991,1064,1294,1158,1198,1294,1272,1196,1144,1046,721,639,705,481,399,597,876,1100,1280,1260,1144,946,1016,973,877,1166,1332,1288,1142,847,973,904,1230,1244,1236,1200,913,1106,1430,1312,1466,1104,823,720,824,1002,1452,1428,1300,1466,1338,1098,980,1202,1434,1312,1764,1616,1376,1116,744,634,657,1144,1708,1526,1208,1168,1324,1282,1334,1378,1110,944,1300,1392,785,561,941,1244,1306,1242,1200,1242,1376,1412,1708,1132,802,680,783,1164,880,593,593,579,781,897,1202,1198,1204,1396,1258,1214,1316,998,1094,1406,940,678,667,782,1376,2160,1824,857,570,574,577,933,1416,1390,1170,1114,1176,1426,1214,1310,1400,1028,737,597,714,957,847,854,1138,838,888,986,680,1038,1118,1160,1246,946,805,1266,1586,1354,1208,1328,1226,1014,1100,1140,1214,866,955,1152,1236,932,480,492,650,594,681,874,1196,1458,1298,1312,1168,842,924,1023,1458,1448,1054,732,758,841,591,469,633,515,444,506,962,965,548,512,561,636,754,959,1108,1096,1372,1442,954,1052,1274,865,763,1218,1188,999,888,835,738,582,558,642,565,615,1018,1114,919,854,711,491,371,346,378,314,388,439,349,376,882,821,946,1354,1182,1040,1106,1318,1344,1042,1086,794,1164,1060,1074,1372,1336,1346,1432,1464,1048,778,930,1344,1432,1110,1030,828,679,635,948,959,684,716,1116,1494,1108,705,802,984,1048,872,969,1176,1290,1162,1078,1032,1048,705,584,569,694,965,1328,1166,968,993,1028,760,580,714,875,952,808,739,562,424,440,470,450,467,519,480,410,325,317,313,331,344,333,333,343,359,367,343,333,327,325,436,508,362,386,430,483,473,549,477,428,431,408,391,375,383,476,628,666,482,569,1036,630,1015,1590,1762,1628,1512,1396,1400,1424,1424,1440,1474,1576,1642,1654,1496,1562,1834,1770,1440,1007,684,601,664,612,509,910,1106,1018,1398,1230,912,954,1208,1388,1346,1274,1346,1286,1044,662,826,716,475,536,1038,1172,708,541,833,1040,1068,1096,849,725,976,1242,957,1148,1324,1482,1134,771,842,982,1178,1400,1282,1150,1268,1034,786,1256,1296,846,597,651,1066,1198,908,827,1112,1040,1108,1384,1344,1188,1362,1484,1334,694,467,469,1066,1732,1674,1614,1700,1028,749,642,509,536,475,602,1074,1212,1424,1656,1630,1334,1172,1166,1072,1032,1408,1124,961,878,896,1015,1128,1046,997,1222,1292,935,941,864,960,1762,1918,1648,1346,1400,1132,905,1316,1534,1362,1350,1340,1302,1158,933,781,719,1206,1246,780,1007,1274,1126,891,681,804,913,681,1202,1556,1082,673,835,1178,1186,1100,1106,1022,534,637,1630,2006,1572,753,747,1180,1500,1572,1372,1017,849,1378,1520,956,1272,1542,1494,1350,1188,1368,1170,973,1102,1076,1046,1282,1508,1798,3216,3752,2104,1442,1656,1592,1382,1214,986,1142,1152,1406,1146,915,805,631,819,819,586,418,770,1188,1132,1166,1054,1198,1456,1474,1200,1132,1296,1232,1188,1094,1001,826,771,1002,1172,671,513,976,1158,1302,1122,1010,675,865,1098,1218,1178,1082,1288,1378,1618,1704,1524,1160,1296,1142,1148,1148,945,877,803,466,341,284,286,321,261,314,354,345,408,501,501,567,565,534,691,1096,765,606,578,583,530,698,948,1144,1318,1192,1034,1214,1348,1506,1150,1268,1334,1314,1240,1314,1336,1374,1400,1276,1230,1170,1060,1144,1202,1172,1098,1390,1342,1168,1278,1242,1116,1262,1262,1266,1236,1254,1382,1182,1152,826,639,527,815,1352,1210,1062,1356,1430,1556,1396,1474,1432,1368,1178,943,1014,1044,717,720,872,724,904,869,1148,1480,1068,803,648,861,931,666,475,653,1078,875,751,792,396,343,339,521,890,1346,1238,670,539,858,938,996,1296,1418,1086,893,564,757,714,1078,1394,1362,1032,1092,1146,1124,1314,1015,720,769,703,550,494,503,985,904,768,1056,1032,1438,1522,742,479,530,717,504,682,1220,1408,1100,664,457,505,497,516,654,882,1144,1236,823,922,739,497,683,1164,1366,1266,1358,1280,1124,1266,1002,512,497,456,462,588,487,338,362,415,385,731,1132,1138,1132,675,526,497,514,555,609,556,556,590,612,761,930,1094,1314,1222,1532,1866,1550,1124,1366,1274,1214,1312,1296,1344,1494,1658,1350,1056,1118,812,903,1001,904,1164,1516,1120,935,1194,1084,833,1024,1412,1332,1132,1050,882,730,437,430,542,658,945,886,714,957,963,572,368,440,446,763,868,928,921,855,1074,1194,885,738,669,606,529,511,780,857,796,703,1310,1484,1266,1172,1028,639,599,1044,1006,1166,1470,1320,1108,1368,1982,2402,2386,2168,1770,1488,1704,1642,1812,2266,1910,1786,1392,965,858,1013,1166,1032,822,675,875,1015,863,786,929,1114,1216,1382,1398,1368,1376,1456,1136,1008,1388,1174,1200,1194,1108,673,583,524,354,364,434,484,511,519,890,1404,655,523,937,839,722,800,638,479,746,911,596,609,805,1030,1154,1172,1023,1094,1174,1188,1518,1646,1368,1236,1308,1234,1216,1324,1066,1284,1306,1218,1160,1120,1000,966,932,733,782,916,640,678,529,484,663,901,1268,980,1026,1154,1096,1042,823,928,828,691,815,721,1028,1842,2366,2498,1734,1460,1930,1700,1650,1814,1412,1164,994,851,1074,767,1009,1316,939,703,766,888,896,992,1202,960,771,515,414,612,963,1078,817,890,1072,919,1054,1010,525,360,401,832,872,1034,1066,1094,804,733,719,974,1354,1542,1516,1040,1005,888,521,511,440,418,413,407,394,352,336,327,325,356,377,427,389,423,381,314,266,359,541,512,397,386,356,329,335,368,615,953,655,497,462,355,277,298,336,487,973,1082,880,822,868,456,420,844,1332,949,536,374,559,850,793,1052,1358,838,410,648,1202,1116,560,273,243,261,431,534,432,480,637,796,890,811,514,446,525,350,315,437,628,672,738,667,430,378,334,395,1086,2458,2014,1512,1388,1382,1412,1032,655,736,551,408,338,272,333,558,921,871,502,573,825,642,397,442,465,330,343,393,540,964,998,571,577,511,695,649,603,656,783,1180,1494,1444,1460,1098,771,615,475,355,346,577,896,975,782,610,665,872,882,694,473,451,443,420,512,537,478,368,335,385,468,717,1015,1038,957,725,908,637,375,371,922,1210,806,777,1180,1440,1254,1014,1011,1236,1380,1316,1274,1246,1370,1260,1390,1592,1268,1128,1232,1310,862,580,604,892,962,970,1606,1768,1154,1032,1214,1158,1314,1152,709,576,533,460,452,929,1206,1494,1958,2548,2008,1400,827,698,623,530,963,1252,1172,889,632,639,1114,1618,1412,943,1042,843,605,988,1015,695,495,636,1044,1226,1212,1016,804,518,518,686,850,671,656,752,671,525,551,931,1100,1026,762,477,408,327,328,306,797,948,797,586,620,559,795,1246,870,601,736,826,980,1204,803,466,582,489,337,469,492,730,1304,1206,961,927,523,336,1112,1278,1122,845,500,593,505,314,408,451,471,447,522,990,1338,1368,1326,1216,903,1126,1128,747,598,625,562,476,511,855,2046,1622,1056,1208,1606,1804,1024,568,498,452,334,382,443,393,270,242,249],[296,289,468,806,1000,1106,1140,797,748,944,1042,647,358,1082,2072,1526,932,1218,1450,1450,1594,1426,1268,957,1136,1238,1332,1232,1246,861,659,916,669,634,947,943,899,1362,1510,1350,1390,1428,1312,1186,903,727,1182,1400,1166,1052,1056,1054,1300,1462,1280,1266,1178,1050,1126,951,871,755,490,612,1050,1013,731,918,1013,569,446,529,523,681,1046,1578,1362,1464,1602,1490,1490,1494,1386,1186,1472,1104,540,694,715,794,1158,1698,1246,1132,959,921,799,821,933,1032,1180,1024,1052,995,685,749,500,341,359,376,430,379,589,1114,1406,1500,1400,1202,1002,1078,963,859,1011,680,680,641,618,901,1094,1146,1128,1066,1060,1050,845,1100,1366,1246,915,653,542,569,936,992,718,499,387,375,435,408,329,376,496,601,670,690,694,648,860,1024,1044,1142,1280,1310,877,563,518,516,794,833,1122,1236,940,880,499,438,767,1266,1268,1432,1380,1022,619,850,821,559,431,548,782,754,823,1160,1056,1030,938,534,326,490,510,544,795,774,911,1090,959,497,401,422,349,631,814,1158,1154,787,569,415,420,617,653,521,609,842,1110,911,649,700,636,753,970,1070,1168,1108,1158,1482,1330,1318,1314,1372,1108,733,483,840,1218,864,904,1330,1316,1116,541,361,365,303,285,716,1022,938,1058,1054,844,899,1013,1412,1368,1240,697,1052,985,757,1122,1328,1190,1454,1284,1148,1042,1128,1616,1082,1344,1294,1036,1150,1144,1092,1164,1276,1264,1240,1146,979,800,841,1080,1352,1382,1106,1108,1274,1264,1234,1474,1534,1294,1196,1134,963,976,926,1002,1130,1182,1268,1146,901,1136,1410,1032,792,1440,1516,1496,1532,1572,1604,1632,1326,1188,1144,742,585,765,935,1200,1396,1250,1302,1180,943,1064,1274,1306,1356,1332,1298,1244,771,673,837,625,480,634,854,1110,1312,1260,1228,1150,1142,916,671,913,1266,1090,1266,1246,1388,1464,1498,1506,1700,1612,1308,1202,1262,1134,1176,1232,1400,1470,1236,1026,1300,1214,1134,1310,1258,1162,1126,1254,1758,1624,1624,1316,1072,678,562,636,620,1172,1934,1714,1272,1126,1310,1220,1130,1398,1194,1094,1382,1282,888,736,868,1156,1350,1268,1316,1308,1322,1418,1348,1338,1340,1126,1152,1022,579,514,532,422,444,642,953,863,1026,1242,1276,1318,1182,896,1322,1148,769,1138,1084,1000,1304,2048,1622,883,533,504,559,897,1422,1334,1318,1312,967,800,691,1022,1074,793,588,622,1048,1444,949,639,844,944,877,479,410,949,916,1070,1152,1032,1098,1542,1854,1284,1080,1322,1412,1314,1184,786,727,993,1058,1042,1350,1134,630,888,1124,899,758,899,1138,1206,1316,1302,1206,1086,981,1030,958,794,874,631,750,655,455,513,424,368,444,588,1096,1092,613,516,496,478,589,908,998,824,1116,1412,1036,1004,1016,786,845,1114,1018,984,1040,1392,1170,905,615,672,593,598,1168,1326,1058,890,604,487,449,494,489,332,411,406,335,368,505,624,1044,1338,1202,1256,973,985,1122,1102,1042,960,1218,1244,1244,1260,1314,1358,1330,1316,744,669,931,1284,1074,1106,1500,1286,827,815,1032,886,1020,1092,1244,1512,874,456,625,929,1082,780,728,1078,1326,1528,1378,1220,1206,1100,934,641,794,1058,1046,1038,1230,1302,1166,1146,1174,1040,958,1019,774,535,389,401,469,480,421,415,412,385,385,333,311,321,416,415,307,301,341,346,345,343,335,328,328,360,411,351,365,433,446,477,510,431,398,406,394,393,426,408,529,664,639,474,461,1138,869,938,1566,1672,1568,1576,1512,1478,1444,1410,1442,1434,1502,1582,1744,1594,1660,2044,2076,1810,1376,877,562,516,724,789,859,1002,944,1078,1038,901,973,1230,1530,1444,1462,1520,1230,733,623,750,642,540,502,883,1019,794,744,985,1180,1018,821,866,997,1017,1192,952,1108,1436,1478,1164,940,866,949,1082,1036,1338,1252,1270,1002,746,1152,1236,966,940,1007,1102,1136,742,527,561,899,1222,1362,1176,1466,1632,1466,910,682,847,678,691,1322,1660,1204,1082,860,973,711,698,665,479,675,1192,1466,1456,1608,1772,1494,1300,1032,747,866,1574,1380,1132,1592,1746,1366,1360,1286,1034,1266,1256,1042,956,1032,1212,1316,1450,1378,1176,1300,1180,1148,1276,1344,1472,1412,1560,1446,1254,1034,1068,1296,1470,1244,890,951,833,655,680,820,955,882,889,1534,1838,1596,1106,1054,1128,971,923,1078,976,645,695,1054,1284,1416,1028,952,1334,1674,1470,1040,796,910,1324,1288,1274,1424,1322,1202,1176,1184,1072,947,1170,1350,1004,839,1250,1578,1490,1338,1490,1146,1238,1976,2020,1228,1150,1382,1576,1296,1354,893,1052,1202,1018,932,733,555,500,785,738,617,805,965,1124,1274,1154,1034,778,977,1114,1126,1126,1134,1256,1013,913,966,644,593,875,1090,1250,1156,988,965,1108,1230,1344,1194,1228,1398,1294,1296,1376,1306,998,938,1202,1342,1204,1096,739,490,348,263,266,284,283,273,260,308,532,919,933,606,580,506,512,638,803,764,650,541,545,899,1110,968,909,995,1178,818,780,1326,1288,1224,1230,1236,1356,1208,1232,1246,1196,1260,1178,1172,1046,703,1118,1366,1274,1200,1288,1368,1374,1230,966,923,1332,1434,1300,1140,1194,1364,1228,818,530,452,428,741,1088,1076,1610,2030,1710,1548,1592,1440,1324,1288,1080,858,1044,1376,1096,707,714,623,689,618,735,948,1134,1200,1120,1212,1120,847,492,585,926,709,502,589,460,360,346,436,1021,1406,1112,725,755,1064,1158,1010,967,745,720,794,847,1334,982,913,986,1042,939,960,988,1017,858,763,774,521,437,689,558,619,1166,1118,1028,1144,960,1238,1438,713,493,604,741,580,1005,1440,1534,1304,834,421,368,374,410,680,947,1302,1814,1352,1094,1017,832,908,1228,1240,1204,1194,1274,1202,1254,859,504,404,440,603,791,563,422,578,564,397,648,985,1178,1019,555,511,539,557,564,605,654,655,625,646,822,1070,1200,1170,1096,1218,1780,1450,800,925,1046,984,1080,1088,1432,1648,1618,1310,1490,1346,946,941,1013,1070,1036,907,874,1118,1084,860,1014,1114,987,1100,856,737,763,620,563,697,805,829,894,834,450,929,1226,1038,797,811,688,779,724,835,1072,930,1170,1256,1194,1030,910,812,725,915,1290,1250,1018,798,722,871,827,955,1142,944,789,886,960,1376,1572,1316,1078,1466,1956,1722,1116,963,1238,1478,1656,1706,1598,1928,1476,1198,1162,1090,1070,1042,807,675,650,646,784,796,821,719,738,859,1164,1406,1432,1422,1334,1248,1056,1160,1096,1098,1256,1390,1396,871,577,540,296,312,445,481,490,486,835,1140,681,388,799,982,1004,1023,777,528,641,857,698,644,730,988,1010,1050,886,805,923,1040,1192,1194,1140,1220,1344,1246,1246,1246,1256,1274,1186,1154,1110,1094,1050,1021,1048,858,719,954,959,923,835,655,634,911,1070,1056,1146,1266,1296,1310,1086,990,568,847,885,741,949,1110,1558,2020,1774,1802,2020,1700,1536,2232,1774,1572,1450,1684,1914,1058,681,760,755,903,1100,973,691,616,859,1024,1070,888,649,892,1354,1450,1018,868,988,957,1058,869,480,343,373,814,1130,1021,1148,1184,900,653,478,639,980,999,948,1004,919,559,432,448,422,397,398,417,394,376,414,411,384,402,425,469,413,325,319,299,276,321,425,452,403,379,323,325,357,343,697,933,656,552,642,435,293,319,366,639,1268,1072,952,957,665,425,369,722,860,602,502,371,568,905,599,567,727,410,276,320,467,786,883,776,547,266,319,365,577,899,1016,1014,988,897,752,486,322,274,304,484,668,745,706,479,368,325,332,545,1958,2574,1842,1500,1284,1454,1916,1512,1004,553,401,411,371,283,323,449,917,880,496,764,932,652,454,507,444,409,481,442,592,916,940,908,1060,1110,966,762,809,859,822,1162,1406,1534,1086,714,907,719,545,547,644,810,1046,907,634,772,745,612,803,1048,554,413,405,383,411,432,458,376,404,394,570,736,667,544,563,597,785,659,485,554,1056,1182,907,874,1146,1080,995,598,441,650,1120,1342,1334,1366,1360,1172,1454,1472,1410,1438,1154,741,422,408,436,384,445,664,1030,1290,1306,1210,1284,1094,1104,808,533,520,444,404,617,755,957,1142,798,1480,1664,1610,838,758,918,908,1009,1006,820,652,737,1042,1566,1750,1326,785,889,771,560,598,494,384,345,365,582,1036,1332,1122,767,411,584,850,808,850,1001,1108,1108,680,713,1192,1424,1418,907,570,434,374,339,264,361,678,778,830,1050,814,991,1394,892,692,621,550,583,765,623,444,545,519,302,321,369,554,699,639,855,1086,681,400,901,1164,1052,715,444,612,540,375,359,311,312,374,441,455,623,823,1146,1048,673,1066,952,515,383,882,837,550,414,546,1005,803,840,992,531,519,472,525,467,418,465,545,570,431,291,258,278],[283,263,307,571,858,1410,1586,1160,975,1092,992,546,290,743,1296,1278,1500,1242,1334,1338,1650,1714,1472,1122,1102,1402,1282,1274,1418,1088,1010,1382,902,733,1238,1230,849,1182,1636,1500,1340,1400,1344,1070,1078,930,1244,1352,1456,1622,1330,1268,1412,885,636,833,675,542,604,805,675,504,470,575,549,738,648,815,930,717,833,692,634,991,990,1586,1542,1516,1278,1476,1450,1358,1310,944,744,843,1106,1044,715,967,1554,1132,670,671,663,526,490,592,548,718,989,905,1072,764,954,1023,589,359,370,367,363,332,530,1140,1362,1494,1282,1092,1178,1122,809,608,530,582,800,772,631,775,1036,1234,1184,853,868,740,676,1228,1224,910,712,766,775,697,1194,1042,1064,625,430,401,400,415,443,719,816,976,1023,816,744,855,1252,1142,909,872,821,488,299,338,386,433,570,746,852,668,698,662,524,519,991,1408,1360,1322,1154,678,679,865,774,624,688,774,1320,934,848,857,676,651,742,495,304,431,568,718,916,857,752,698,924,603,347,405,330,397,647,965,806,436,355,340,484,999,778,469,528,901,1180,779,458,673,1120,1418,1172,1010,1086,794,935,1340,923,1140,1538,1394,1312,1094,949,1372,1468,714,1098,1214,1024,1106,938,538,334,346,345,617,872,782,838,1002,877,855,1005,1312,1360,1042,1090,1316,1066,1078,1304,1296,1422,1714,1144,1196,1180,1196,1236,1200,1232,921,711,857,862,612,632,754,983,1404,1332,1080,835,840,1164,1204,1436,1420,1144,1186,1092,1348,1848,1554,1482,1360,1136,1144,1114,1072,987,1050,1240,1154,720,533,800,714,907,996,1444,1422,1360,1334,1364,1390,1264,1450,1294,890,1184,1484,1432,1374,1472,1472,1294,1322,1242,1220,1412,1388,1382,1334,1226,1322,1472,1146,1242,1416,968,880,1130,1066,1260,1696,1496,880,743,728,870,1044,1238,1246,1172,1182,1372,1688,2060,1804,1588,1550,1418,1142,998,1015,722,525,748,910,936,841,877,1160,1310,1300,1130,1019,998,1044,979,1382,1306,813,589,651,597,549,626,812,1172,1550,1542,1178,1124,1074,1019,857,1112,1120,1090,1466,1544,1136,1062,969,1068,1402,1222,1138,1234,1340,1186,1278,1666,1576,1284,1120,640,529,455,418,356,365,477,847,1042,926,1030,1204,1430,1506,1122,1232,1296,1132,1348,1388,1278,1638,1732,1220,777,461,426,440,589,1072,1362,1246,1362,1444,1082,875,1158,1120,725,519,678,1174,1396,1144,1154,1382,1684,877,432,573,816,957,1009,885,822,783,926,1064,892,1009,1230,1504,1272,972,598,528,788,697,713,949,758,738,919,850,905,939,910,1202,1220,1154,1126,1062,836,700,902,833,491,736,937,1226,1040,968,979,735,653,813,905,1098,1178,791,779,695,628,548,524,627,724,1102,1318,1300,1428,1350,1218,898,1130,1228,1114,1028,1180,1206,1064,756,749,608,698,1248,1074,767,728,484,444,383,536,454,332,437,383,343,462,575,510,542,886,1206,1230,979,564,581,721,891,983,1114,1182,1158,1046,1086,1122,1388,1060,824,850,1023,1007,1130,1322,1246,1102,789,544,733,697,768,988,1332,1338,901,533,528,738,849,525,529,1094,1606,1846,1356,995,988,1178,1058,670,936,1092,971,1106,1222,1134,1100,1742,1726,1396,1290,1394,991,582,439,497,477,435,389,398,428,448,489,429,361,369,416,359,303,307,321,335,337,327,315,315,323,317,309,343,332,423,438,496,463,370,406,512,499,512,654,576,547,533,477,468,443,982,991,725,1276,1830,1766,1712,1824,1668,1560,1504,1484,1512,1594,1666,1774,1708,1620,1810,2018,1960,1628,1128,789,784,946,1122,1028,720,825,1112,1104,1054,1026,1050,1254,1202,1632,1460,1166,1004,842,698,477,488,838,1070,1032,965,1000,844,1001,1054,861,1012,1124,1152,1144,915,951,1078,919,841,679,877,1116,961,793,1238,1224,1290,1238,1296,1242,1178,1196,1262,1420,1388,1272,813,858,979,1172,1246,1134,1146,1174,1268,1112,651,739,946,836,541,860,1648,1498,886,866,1002,727,614,590,532,748,1246,1440,1340,1484,1590,1294,910,867,876,1030,1434,1286,1202,1584,1764,1512,1640,1482,1288,1112,880,1042,1164,1158,1116,982,1170,1248,1136,1390,1276,1488,1378,1192,1284,1506,1622,1544,1532,1468,1580,1560,1318,1310,1478,1664,1158,1122,1298,1248,1132,1172,1338,1482,1456,1282,1222,1316,1096,977,1184,1260,1078,847,1021,1130,1188,1330,1266,1182,1266,1428,1372,1286,1098,1040,885,849,1028,1102,854,858,1106,1100,1166,1190,1434,1248,951,766,1224,1388,1382,1570,1390,1362,1630,2070,1948,1024,1120,1272,1172,1284,1454,1230,1252,937,851,1018,1012,1002,884,990,893,775,896,875,1038,1384,1184,922,868,1002,1062,1168,1218,974,982,1020,948,1048,920,1000,1070,1162,1274,1208,1064,1324,1368,1384,1644,2012,1528,1368,1220,1142,1009,1278,1416,1126,1184,1342,1006,674,398,404,361,364,345,302,237,243,454,961,1462,1714,1366,785,631,478,491,559,529,584,556,558,515,714,1140,1172,850,586,790,834,945,1080,806,1144,1224,1132,1256,1248,1212,1040,1140,1188,1164,1354,1112,781,847,1260,1282,1166,1428,1706,1428,953,715,948,1138,1322,1310,1270,1332,1268,920,557,464,432,424,623,893,1146,1504,2004,2198,1710,1796,1676,1414,1396,1100,792,1100,1382,814,732,1030,615,462,721,1134,1210,1320,1692,1540,1216,1019,788,684,802,921,472,398,593,686,461,653,822,811,949,927,658,769,757,658,1054,794,636,636,766,1010,1292,910,570,536,581,916,1316,1100,901,919,669,407,412,426,940,930,677,1050,1340,1526,1470,1026,854,910,786,505,592,1074,1070,977,1228,1282,1248,1122,542,486,534,425,590,862,1132,1300,1160,963,781,794,953,1052,1118,1252,998,1126,1206,1144,879,604,440,435,570,568,479,788,1052,954,719,501,495,715,667,500,470,500,576,582,540,594,574,556,572,864,953,1172,1256,1056,1152,1328,931,550,907,1186,1220,1504,1476,1642,1824,1658,1562,1396,1104,1068,1150,1166,1162,821,601,904,1320,1100,1010,1376,1390,1084,1038,779,831,890,835,988,987,1042,908,997,898,749,1294,1544,1246,993,1048,1042,1032,766,789,930,1090,1256,1302,1314,1190,1178,2044,1878,1278,1406,1366,1110,773,755,615,479,536,1172,1244,1042,1000,1356,1666,1570,1060,855,1100,1306,1118,843,755,1030,1492,1660,1702,1324,1218,1320,1242,1252,1162,1006,1126,920,857,797,722,816,930,908,796,869,1008,956,1138,1328,1378,1328,1056,1172,1528,1332,1346,1438,1440,1374,937,553,580,430,425,501,472,469,455,949,1278,785,362,639,972,833,841,845,669,756,942,745,622,566,823,1050,1206,1118,658,703,1092,1310,1236,1144,1024,1120,1106,1144,1204,1158,1090,1184,1368,1250,1274,1202,1088,1094,930,543,796,981,893,824,576,487,489,766,1276,1206,1306,1272,1338,1142,872,633,854,1015,905,948,850,880,1518,2156,2204,1604,1320,982,2242,1766,1370,1710,2022,1732,1058,546,303,430,802,1074,702,705,763,803,1130,1074,988,766,694,929,924,681,724,896,1015,1344,1110,721,516,764,1021,939,965,1148,1112,694,552,546,806,830,698,842,999,624,458,433,447,451,433,418,412,407,369,384,398,391,421,467,486,423,399,400,339,333,290,289,361,383,368,314,311,341,285,531,626,437,718,1021,487,320,348,381,857,1202,1023,860,539,377,430,528,753,619,447,631,742,913,733,365,340,371,312,324,309,245,336,591,876,927,893,730,782,1058,895,1064,1310,1314,956,550,367,297,310,289,404,626,681,641,531,362,275,318,375,888,1146,1344,1488,1322,1372,1748,1422,1388,913,415,325,326,263,300,393,531,497,601,679,595,558,410,383,423,534,622,592,542,441,470,608,751,963,1030,1168,1134,1134,860,965,1274,1208,748,943,897,529,593,659,800,991,1054,898,737,933,637,417,959,1224,924,715,404,460,391,323,398,376,419,346,501,839,782,512,347,507,860,1080,979,860,1060,1132,1144,1094,938,1162,930,526,357,368,608,1100,1532,1498,1306,1410,1570,1404,1356,1250,867,598,602,508,436,426,390,423,672,964,886,852,888,982,1060,1024,785,564,483,615,904,1108,592,511,421,560,1344,1716,1582,1296,1154,1126,1166,1372,1196,1068,1300,1348,1830,1598,1008,861,1240,1015,648,665,656,633,526,462,582,625,991,869,561,426,535,875,952,1074,1122,1124,1106,664,594,626,899,1146,1036,674,471,472,404,327,350,513,385,549,918,1018,1206,917,540,395,458,520,486,618,722,594,547,490,293,329,458,536,474,592,799,1052,802,480,800,836,835,1076,928,982,1140,949,575,416,435,416,379,396,369,466,820,751,683,1262,971,573,490,946,1036,677,435,442,401,369,641,854,774,504,564,570,388,314,492,649,653,478,322,230,296],[339,284,286,308,406,1012,1106,1082,1144,1114,873,518,617,848,953,1204,1358,1222,1472,1470,1622,1556,1324,1360,1238,1092,1222,1544,1354,1256,992,1418,1064,763,768,523,475,1017,1312,1134,1318,1394,1426,1436,1644,1502,1458,1242,1402,1694,1308,1288,1268,834,645,422,328,349,433,797,584,522,642,745,570,446,551,976,1242,1148,774,799,1001,1178,1040,1476,1526,1001,760,773,662,1028,1148,813,825,2088,2498,2138,1604,1306,1008,565,418,673,753,494,545,772,509,745,870,1015,897,1007,959,662,517,421,475,526,406,395,628,1278,1232,1188,1278,1048,938,951,948,656,586,769,987,1001,894,732,1128,1248,1142,827,713,755,1058,1334,1114,705,772,979,710,773,1234,973,1012,635,424,679,877,542,417,684,857,894,609,816,916,1032,1558,1382,878,634,667,522,391,411,371,371,430,548,1160,1684,993,599,479,584,869,1230,1268,1019,747,608,983,935,1020,1348,1350,1292,1660,960,387,322,370,397,296,352,377,364,673,946,916,1005,1344,1050,1015,747,373,402,388,424,480,565,804,488,359,364,357,689,804,1001,910,880,1016,800,586,739,1106,1428,1268,1218,1314,1302,1118,932,791,1328,1476,1400,1490,1578,1534,1880,1546,703,595,499,751,1028,915,564,330,303,310,539,1060,1094,1130,1714,1566,1200,1216,1172,1366,1136,1062,816,855,1142,1356,1066,1034,923,979,789,835,1064,1214,1338,1214,893,737,827,718,471,546,635,1015,1444,1416,1180,1060,1236,1382,1312,1314,1162,1158,1118,1092,1672,1746,1666,1770,1578,1534,1394,1390,1582,1406,1276,1236,1270,1040,604,575,622,1160,1152,1132,1136,1136,1232,1272,1094,1023,1228,1007,841,1306,1376,1232,1458,1722,1512,1204,1228,1310,1302,1282,1448,1422,1394,1412,1382,1544,1404,1676,1776,1230,1170,1466,1144,1230,1576,1354,1184,1428,976,1058,1430,1368,1478,1392,1130,1198,1644,2532,1820,1578,1528,1320,1058,1184,1144,774,588,570,427,416,568,1000,1196,1130,1009,761,812,749,966,1013,1388,1504,810,558,705,878,1128,1250,1438,1362,1194,1184,1274,1214,1011,782,711,994,1214,1224,1216,1200,727,1058,1086,1124,1322,1262,1188,1300,1372,1284,1624,2070,1652,1486,1144,597,480,430,397,464,532,478,659,742,636,633,642,1128,1402,1216,924,1032,1324,1234,1146,1396,1712,1312,943,803,556,433,402,464,898,1306,1208,1132,1382,1456,1386,1354,1418,1040,657,954,1284,1418,1378,1152,1640,1484,672,661,1054,1148,1116,826,536,416,420,505,738,938,1200,1252,1502,982,597,737,850,740,364,359,636,994,1258,1134,818,744,695,796,983,1138,1206,1106,948,803,755,830,702,400,537,917,1142,1208,1264,1206,1034,1242,1550,1180,1034,1202,1242,1178,827,744,817,774,748,824,1080,1406,1334,1536,1494,1402,1164,1236,1414,1196,919,975,1024,974,916,655,504,599,639,587,770,825,642,485,443,671,558,378,336,332,319,485,625,514,339,468,662,747,722,927,1098,738,718,1060,1260,1004,961,928,916,951,1015,1268,1528,1116,805,695,691,796,752,629,899,952,941,751,828,1200,1204,1148,1012,1042,824,711,992,885,791,959,1148,1464,1126,905,1146,1218,1016,771,636,588,939,963,710,559,680,1582,1572,1066,948,1068,1164,878,455,401,447,535,474,463,446,409,456,483,468,429,424,383,335,325,331,335,332,332,374,368,342,386,399,375,367,435,493,492,412,467,620,756,778,782,860,720,547,432,482,483,569,1058,938,551,976,1698,1718,1628,1742,1762,1728,1686,1678,1716,1736,1716,1728,1616,1466,1800,1984,1876,1650,1160,990,1120,1170,1162,873,618,717,778,592,576,625,695,1048,1290,1456,1246,1150,1054,826,646,516,763,1066,871,1013,1016,1236,974,1040,1134,1005,1058,1112,987,850,833,838,841,825,1052,1104,1278,1104,759,578,1010,1252,1060,1262,1692,1518,1262,1106,1072,1001,971,1108,912,1188,1268,1184,1116,986,981,1010,956,758,974,990,744,863,857,717,1332,1600,1076,726,697,654,801,841,846,1088,1498,1628,1498,1204,1366,1290,1068,905,875,962,757,685,1202,1500,1772,1680,1506,1434,1460,1404,1118,1262,1428,1318,1224,1030,1080,1226,889,1056,1082,1138,1026,1212,1408,1488,1514,1456,1528,1576,1534,1236,1260,1334,1568,1726,1442,1370,1458,1412,1260,1200,1298,1374,1326,1014,1018,1038,747,524,592,881,919,1050,1260,1030,811,864,1132,1188,1178,1058,1434,1288,747,426,474,830,1180,1164,1158,1188,1316,1354,1262,1092,1034,1144,1114,1012,1308,1368,1356,1314,1344,1406,1306,1544,1498,1086,975,1094,1180,1100,1332,1246,966,544,448,685,1056,1294,1410,1176,1188,974,714,637,1110,1236,916,1042,1104,1086,1066,1208,1128,762,988,1120,1068,931,703,765,943,1208,1080,978,1384,2858,1948,1530,1418,1496,1448,1242,877,614,865,1534,1542,1220,811,1098,1036,522,445,528,527,492,411,381,347,417,850,1274,1378,1192,876,720,540,498,519,534,571,616,638,622,597,543,727,1046,883,585,531,660,1108,1240,985,965,1082,1120,1322,1542,1448,1156,1252,1306,1148,1056,861,852,1156,1308,1118,1068,1414,1876,1628,1182,754,1194,1250,1302,1400,1322,1268,1234,883,495,477,467,463,491,735,1180,1364,1340,1780,2000,1844,1230,1260,1490,1274,865,961,1152,574,507,893,547,434,791,1348,1218,1056,1366,1528,1392,799,634,727,735,707,462,629,867,679,510,988,1182,1013,1440,1384,803,1064,1004,929,1962,1234,736,709,637,718,908,925,688,553,558,1058,1512,1338,1138,1196,905,805,886,699,1001,1134,918,1288,1312,1434,1532,1346,1238,908,590,466,496,858,1110,1156,1072,827,897,998,596,584,727,653,713,1013,1202,1242,1106,811,819,998,800,771,1188,1322,1216,995,1152,912,564,465,424,450,479,411,506,917,1292,929,622,520,412,499,582,549,503,493,538,519,487,474,456,475,553,847,904,1050,1050,954,1046,875,628,558,738,1028,1314,1346,1594,1574,1260,1192,1266,1268,1108,1092,1122,1226,1192,976,1023,1298,1486,1362,1222,1104,1023,1074,1198,1288,1142,912,849,875,857,773,854,1300,1410,1044,1322,1682,1376,1066,1046,1250,1322,1080,852,862,1100,1292,1300,1150,1076,1112,1572,1532,1386,1226,1404,1226,980,962,653,547,521,557,938,1056,1034,1088,1136,1340,1130,779,943,1418,1346,1152,1026,1072,1242,1576,1814,1534,1378,1516,1472,1640,1650,1150,1164,1100,1132,1019,860,835,927,955,916,982,1164,1100,1138,1294,1208,1028,841,1374,1732,1366,1158,1232,1284,1340,1090,604,581,490,428,463,469,470,472,957,1146,647,587,888,1008,569,494,608,541,694,886,904,1002,1034,1328,1672,1714,1438,934,858,1502,1748,1836,1778,1028,1052,1166,1114,1232,1290,1228,1272,1322,1118,1146,1084,1100,1250,1178,1005,880,575,689,655,408,476,557,882,1598,1194,1044,1116,1204,949,548,447,720,947,864,548,522,606,1064,1764,1872,1100,730,449,1206,1296,1270,1660,1670,1368,1036,749,385,456,977,1016,698,770,948,1140,1210,1162,1038,866,766,825,995,1124,1400,1238,1112,1140,926,990,762,927,1164,852,1017,1104,957,656,695,727,1070,955,965,1160,799,516,493,705,842,713,471,402,360,400,365,362,390,393,400,431,459,467,481,396,354,312,228,192,270,355,368,311,303,317,319,303,245,315,586,864,534,444,374,422,1130,1346,1068,705,507,558,517,697,909,412,323,582,744,997,828,545,412,286,282,338,309,272,328,381,322,716,1106,1400,1458,1338,800,696,1090,1380,846,338,262,291,362,305,482,652,693,667,672,518,342,307,332,403,559,781,949,1100,1040,1266,1318,1592,1194,586,386,386,458,503,427,337,557,662,404,352,363,357,363,376,456,534,471,404,510,538,402,748,1310,1248,1390,1122,936,776,1088,1288,1088,1044,984,635,577,1020,816,843,1032,866,904,786,808,604,486,1068,1232,1142,1150,588,481,421,413,471,432,524,518,406,504,440,294,347,419,730,1290,1306,1246,1186,1136,1280,1007,644,996,1070,592,310,371,532,908,1366,1694,1376,1328,1368,1354,1144,1202,1206,1148,1210,807,449,449,469,474,552,873,723,427,386,621,743,752,949,930,605,913,1272,1236,827,818,621,966,1454,1672,1808,1642,1910,1406,1216,1328,1406,1334,1428,1338,1222,1048,994,1224,1406,1080,810,1004,828,962,772,550,847,1060,1152,1018,938,708,496,612,692,1042,1028,763,743,608,601,419,532,864,935,815,752,580,386,332,456,819,530,487,746,1042,1202,1078,752,563,681,437,495,710,595,479,688,648,360,341,445,537,467,483,557,921,1140,941,1100,938,896,984,1266,1118,1432,1448,1116,905,748,821,602,325,338,462,920,822,926,1246,871,526,486,768,1009,875,761,699,977,954,772,1366,1310,816,612,476,364,331,458,827,977,526,392,257,327],[446,279,258,301,323,526,1074,1604,1378,1140,702,594,1138,1468,1254,1378,1186,1294,1608,1438,1210,739,529,797,1160,1612,1674,1496,1592,1584,1260,938,827,805,651,594,909,1140,1100,1144,1094,1210,1168,1322,1632,1534,1324,1086,1206,1200,1138,951,586,756,912,401,343,375,469,627,470,429,576,718,603,413,567,846,1378,1516,876,921,1058,1110,1078,1262,1304,1156,1030,689,824,1200,1182,873,833,1564,1858,1942,1760,1448,1108,940,946,802,694,607,828,963,777,969,1130,1042,797,990,935,801,910,830,969,1038,746,619,886,1304,1160,950,961,904,791,854,743,544,629,695,808,831,680,666,1116,1076,1100,1120,1094,1138,987,920,932,639,805,896,816,948,1144,1250,1232,764,644,993,791,514,352,388,498,510,535,932,848,1020,1034,1170,1182,1090,1024,596,419,473,442,286,338,515,702,763,680,611,567,907,1268,1318,974,529,479,792,1011,963,1080,1198,1352,1424,1152,718,644,606,763,754,487,503,359,424,1005,1242,983,780,870,874,1052,857,389,326,327,565,1148,788,860,615,530,450,654,751,831,935,627,460,355,576,670,568,927,1334,1368,1334,1284,1172,1152,1054,1330,1516,1456,1780,1648,1604,1510,1542,1384,980,558,448,656,766,697,548,314,305,429,453,996,1156,1326,1616,1614,1440,1252,1890,2334,1566,939,597,710,1038,1364,1198,881,706,697,659,644,851,1154,1190,1198,1376,1092,885,760,614,727,795,1290,1406,1288,1322,1432,1548,1622,1376,1080,1162,1218,1244,1206,1316,1256,1504,1582,1600,1582,1412,1276,1440,1412,1510,1208,1310,1246,879,600,643,866,1048,1214,1052,1036,998,1058,1030,1228,755,681,1096,1306,1418,1328,1334,1490,1466,1418,1362,1376,1068,972,1182,1248,1160,1284,1498,1506,1428,1670,1760,1406,1298,1454,1332,1358,1524,1338,1636,1610,1152,1188,1470,1586,1520,1448,1448,1420,1310,2060,1622,1484,1436,1250,1264,1490,1286,948,808,778,447,509,579,778,954,930,907,974,1015,1023,1078,945,1484,1784,1022,731,1146,1358,1322,1076,1058,1184,1102,1328,1378,842,650,736,914,1124,1444,1468,1410,1112,766,1182,1236,1268,1148,1016,1060,1102,1352,1352,1352,1746,1704,1362,708,458,494,473,455,650,924,1202,1013,396,497,714,592,1138,1356,1178,1156,1250,1316,1316,1320,1452,1354,879,1092,1001,685,502,497,492,790,1232,1236,1078,1218,1438,1360,1114,1246,1242,985,942,1308,1482,1232,1040,1182,1126,1001,1090,1300,1352,1310,855,421,429,863,955,1050,1246,1332,1320,972,522,485,534,842,668,406,299,649,1048,1166,1112,888,676,961,1210,1170,1324,1184,1142,1378,1310,1116,1200,1190,747,548,823,1170,1226,1194,1210,1152,1328,1230,717,821,1142,1242,1216,1104,1188,1340,1322,1080,1102,1222,1350,1098,1152,971,885,1152,1160,1090,1162,1292,1238,1248,1704,1152,611,547,631,758,636,886,1013,962,742,752,841,603,385,347,383,505,597,614,550,358,266,292,342,371,863,1188,968,1088,1294,1176,1202,716,617,919,1254,1007,1152,1514,1172,790,582,520,568,416,368,508,921,1132,650,676,927,693,433,691,1007,735,1124,1140,925,827,603,722,1302,1296,1162,1188,1146,1126,1116,832,571,945,747,606,490,488,724,1054,1208,993,900,1238,1180,531,576,670,766,724,625,489,409,423,444,436,412,385,342,323,321,325,327,331,332,367,341,319,383,433,404,441,485,486,501,562,873,1268,1282,1120,1094,1208,1194,1034,1006,1174,1356,1532,1486,869,672,744,1430,1632,1502,1494,1556,1678,1782,1858,1754,1590,1588,1576,1614,1710,1964,1862,1844,1772,1314,1096,1462,1650,1190,891,821,717,612,490,612,618,630,980,1368,1368,1266,1178,919,927,861,843,1052,1056,740,1014,1148,1166,1028,1154,1152,997,1064,1064,885,790,794,733,916,1008,1034,1094,976,987,952,857,1082,1074,848,964,1550,1600,1188,1198,1086,834,1096,1300,1154,1282,1288,1076,920,1013,1060,1246,1088,630,915,1264,1040,1042,971,616,832,1520,1572,869,940,1678,2116,1508,1074,1250,1388,1458,1284,1334,1300,1010,918,660,869,769,526,700,1092,1438,1190,1090,1178,1356,1476,1508,1400,1132,1060,1058,1170,1162,1272,1180,933,1120,951,967,991,1212,1408,1376,1284,1246,1404,1336,1402,1074,1102,1318,1384,1416,1362,1234,1204,1278,1316,1594,1780,1412,1316,1290,1238,1238,997,834,946,885,592,838,1056,710,407,612,1154,1266,1308,1370,1410,1244,759,403,505,1072,1404,1170,1210,1412,1402,1310,1286,1320,809,904,1088,1236,1378,1322,1250,1482,1394,1250,951,955,1108,1306,1348,1456,1214,1066,1148,1114,1300,1072,760,579,772,1098,1362,1016,893,906,780,720,913,742,630,1130,1232,1312,1224,1338,928,781,769,553,716,587,502,518,658,1013,907,828,1364,2208,1662,1290,1296,1284,1142,876,559,420,600,1156,1436,1202,888,1008,1130,741,495,644,689,494,475,561,536,702,897,1102,1364,778,487,828,1144,991,688,562,544,699,1048,841,894,963,929,1070,750,458,519,675,1144,1568,1316,989,1202,1052,1148,1232,980,866,855,837,775,847,719,619,717,916,1174,1036,1212,1622,2272,1654,1144,1164,1082,1234,1194,995,1166,1400,949,506,404,437,413,433,525,811,1019,1214,1574,1764,1094,850,1476,1454,1158,1358,1290,999,579,481,881,872,760,1184,1570,1144,825,894,707,624,522,566,671,675,938,799,611,709,570,492,831,887,738,1328,1468,1286,1342,879,874,1952,1494,713,647,570,596,876,1154,770,494,384,702,1012,1338,1090,755,885,1200,1406,1188,717,742,1062,1378,1206,1192,1306,1378,1430,1370,933,457,499,852,1206,1212,943,857,977,1092,907,622,699,869,907,879,1044,1382,1238,963,1152,1332,1182,905,1310,1288,1090,1144,1160,734,436,443,455,433,416,341,399,449,802,686,665,496,403,495,533,458,479,508,530,527,531,500,507,613,735,969,1140,1016,767,888,1114,750,727,569,571,877,854,1086,1558,1372,838,608,1038,1406,1334,1308,1230,1234,1108,1310,1136,1204,1262,1106,959,1144,1208,1090,1118,1094,769,817,813,855,1019,824,933,1156,1206,1136,1332,1482,1380,1110,959,1064,872,669,786,1144,1290,1290,1216,1286,1224,1222,1268,1132,1028,1160,1258,1044,987,1028,752,484,421,670,991,863,792,997,1050,1198,1214,1498,1384,1356,1298,1224,1116,1130,1188,1414,1786,1616,1298,1466,1866,1444,1354,1208,1128,1100,1024,1015,938,856,803,781,755,786,868,1070,1164,1262,1188,904,828,1368,1682,1390,1290,1368,1368,1328,1152,666,529,410,395,430,451,469,466,843,1190,732,963,1284,1126,684,730,772,567,661,985,1178,1262,1136,1072,1332,1508,1486,1456,1156,1112,1070,968,755,845,1354,1314,1174,1082,1236,1442,1382,1262,1058,999,1166,1200,1262,1236,1166,730,401,440,513,430,425,509,1064,1476,1672,1122,860,1024,764,496,452,578,1076,1136,705,752,632,1092,1804,1512,1162,943,770,1212,1382,1396,1562,1464,1460,1154,1036,531,641,1032,1316,1202,1106,1066,772,884,1166,950,796,871,932,1046,963,587,450,713,821,947,1080,775,940,1100,933,1092,988,960,1005,1062,984,1024,1026,1154,904,564,619,1050,1382,1286,794,543,437,384,411,396,374,381,370,378,422,436,430,458,329,317,240,199,251,266,324,359,308,272,276,290,285,306,299,362,678,1312,1302,952,963,1260,1422,1212,936,683,766,585,682,868,522,317,436,799,1146,1062,753,394,231,262,310,384,350,476,588,607,1007,976,789,1086,1316,1210,912,993,1146,922,638,411,339,619,508,486,627,687,691,682,504,339,534,806,681,735,929,842,880,956,932,1050,1382,1104,419,393,508,593,873,908,578,634,452,335,338,358,389,392,351,462,526,370,317,394,483,469,697,907,1100,1162,972,1009,1064,1388,1642,1242,955,737,574,545,1020,1176,977,1096,1058,771,661,650,471,536,993,976,1030,1196,1056,564,441,436,471,821,1192,1034,628,401,359,391,557,469,456,658,948,1466,1288,915,796,841,1094,1052,522,351,352,353,445,772,1312,1554,1604,1472,1278,1246,1054,1060,1282,1594,1446,688,449,451,428,545,757,811,681,573,454,475,432,539,743,924,859,1116,1094,1078,1250,998,960,1556,1516,1484,1468,1600,2148,1456,1256,1102,1318,1468,1256,1172,1104,1068,1476,1568,1288,970,746,1054,1106,1108,873,832,1108,1170,1374,1428,1286,860,488,658,976,980,527,340,636,769,818,629,554,724,879,667,720,464,325,429,427,495,703,870,1300,1322,1058,1030,865,991,1042,526,580,892,499,425,595,475,343,314,608,1094,1196,1026,681,975,1458,1316,1196,1060,1294,1182,1276,1166,1214,1144,700,554,661,796,531,336,329,432,764,610,514,749,722,520,524,675,716,734,797,824,1490,1246,926,1238,1148,730,561,658,638,483,422,536,621,511,446,297,305],[642,458,297,299,290,305,578,855,830,990,1026,869,1042,1478,1478,1390,1136,1352,1724,1802,1184,398,377,492,861,1424,1664,1582,1804,1758,1064,752,1026,1108,1044,845,1130,1062,700,670,687,879,813,1002,1292,1476,1216,968,990,1046,1240,1038,652,858,684,371,335,565,841,618,444,591,639,650,560,658,1026,808,861,1384,1422,1021,1328,1772,1554,1344,999,1112,1196,954,991,1252,1428,1138,977,1062,1084,1178,1520,1560,1106,1120,1318,1278,794,550,1024,1078,883,749,802,732,547,864,1340,1288,1390,1214,1198,1324,810,559,950,1086,916,725,706,828,949,959,460,363,416,668,820,766,606,865,946,985,1252,1202,1272,1338,1026,1148,1246,1082,1038,1406,1196,779,913,1274,1370,988,763,716,457,532,603,667,525,595,755,850,582,719,768,925,1206,1222,790,455,395,474,510,339,306,612,588,735,990,755,631,811,979,918,829,428,644,1232,1266,947,832,918,1146,1194,891,1034,1268,1074,931,1052,585,420,407,826,945,1054,1007,926,1284,1390,1016,594,327,317,348,534,1078,1009,756,807,878,854,952,944,904,558,406,553,643,757,942,779,729,1128,1288,984,833,1094,1001,980,1374,1278,1510,1828,1654,1340,1384,1092,1274,1220,763,451,610,871,1009,696,507,422,432,475,860,1078,1024,1032,1406,1594,1418,1388,1578,1704,1152,1206,1296,1432,1504,1394,1100,774,647,728,803,960,979,878,874,1132,1000,748,695,764,829,1134,1316,1188,1198,1318,1336,1520,1714,1266,892,1154,1196,1178,1070,752,1064,1562,1656,1574,1258,1160,1260,1100,932,1316,1438,1154,1262,1172,814,1102,1392,1240,1320,1140,987,597,677,918,1064,839,904,1152,1128,1166,1240,1296,1342,1496,1338,1028,1354,1250,1316,1424,1274,977,1192,1378,1274,1328,1370,1450,1520,1584,1598,1772,1738,1744,1772,1676,1536,1582,1650,1596,1456,1296,1364,1506,1412,1482,1560,1506,1478,1514,1400,1388,1434,1168,922,696,671,766,714,592,637,765,767,732,1012,1178,1224,1484,1458,1390,1324,1228,1432,1852,1546,1288,1260,1278,1256,1021,1074,852,536,549,1086,1512,1376,1398,1262,1460,961,730,1206,1306,1204,1256,1096,1028,1230,1438,1216,1170,1256,1378,844,476,548,532,466,576,870,982,1084,978,604,547,1016,868,1248,1350,1268,1618,1576,1436,1532,1594,1100,586,698,1204,1046,684,605,696,560,546,1042,1380,1306,1282,1362,1252,1042,1124,1354,1280,1426,1498,1180,910,949,1142,1306,1260,1172,1268,1420,1376,1168,675,425,954,1324,1268,1224,1340,1214,734,344,542,565,450,404,362,357,505,874,1214,1234,996,599,825,1072,1009,1376,1023,1034,1388,1322,1164,1264,1210,884,755,1023,1300,1316,1354,1216,952,1020,1180,1044,1152,1316,1404,1410,1380,1288,1296,1252,1128,1230,1440,1412,1116,1028,826,1120,1218,868,728,1007,1404,1224,1434,2026,1290,736,695,929,1188,1354,1354,1254,1464,1578,1270,807,696,803,553,530,890,844,644,577,453,336,358,437,412,394,615,849,1276,1013,1058,1224,675,488,744,1132,1136,1016,1064,1104,1596,1306,675,706,508,450,404,489,563,548,885,1032,688,436,684,1124,1188,1322,1070,976,760,443,557,1116,1362,1042,952,894,1074,1226,1062,655,1124,705,356,395,491,487,642,900,788,794,1082,1015,905,1082,893,780,648,617,481,415,443,447,393,365,329,317,295,325,331,343,346,323,319,319,312,360,403,382,463,466,539,558,714,1130,1134,750,651,754,754,696,941,1334,1516,1480,1104,1320,801,656,733,1384,1548,1430,1432,1456,1464,1538,1626,1476,1390,1414,1644,1856,1976,2020,1866,1736,1570,1366,1262,1462,1482,1032,1128,1172,949,667,469,572,612,732,1222,1520,1270,1146,1138,995,1110,1106,1254,1434,1466,1130,1130,1102,1234,1446,1620,1360,935,1022,944,957,1172,1016,859,1054,1098,897,1009,1104,1130,1012,1078,1118,962,948,1064,1368,1438,1118,1286,1050,630,484,727,1138,1338,1404,1144,938,1182,1142,1206,1054,773,817,1126,1312,1058,775,910,839,1118,1854,1478,1106,1534,1874,1330,1028,1370,1574,1412,1150,1250,1136,914,897,751,1050,820,702,1001,1028,1026,844,1023,1290,1270,1296,1532,1520,919,771,998,1308,1332,1460,1672,1456,1158,1006,927,1102,1392,1510,1612,1488,1492,1432,1412,1504,1292,1220,1216,1310,1344,1330,1166,1096,1168,1056,1344,1436,1600,1368,1012,1068,1160,973,1015,1572,1778,1009,1023,1122,764,469,625,924,1094,1162,1192,1248,1166,712,370,665,1144,1084,1378,1228,1290,1164,1346,1316,841,628,927,988,777,924,904,951,1254,1376,1226,1238,1268,1350,1404,1416,1428,1328,1302,1434,1350,1522,1644,1404,1052,758,1214,1366,1152,840,681,1152,1116,743,630,650,1114,1422,1332,1028,1132,930,888,735,448,502,565,936,941,1162,1178,1180,1260,1414,1360,1078,1064,1308,1086,746,495,435,481,502,991,1504,1170,1076,957,1016,982,702,627,680,495,460,576,922,1104,960,860,1009,680,491,963,1472,1372,1026,747,582,971,1088,972,1036,934,756,660,511,409,497,786,1276,1658,1436,921,1108,1212,1264,1005,755,703,622,577,659,642,529,504,511,714,996,1015,1236,1136,1078,940,1180,1186,1076,1268,1194,1007,1058,1282,736,457,382,377,377,393,373,461,737,1140,1526,1532,1174,1084,1512,1232,1152,1248,1426,1108,590,551,838,882,1076,1268,1154,866,771,622,610,689,725,640,720,892,1282,1094,642,562,644,667,520,455,523,1100,1230,1432,1390,769,433,777,650,503,682,596,601,832,1080,1040,732,489,679,1130,1386,975,765,884,959,1218,1328,1206,1180,1236,913,891,922,977,1140,1270,1284,942,378,561,1016,1064,832,710,991,1200,1332,1310,877,543,753,1060,1068,1310,1560,1242,1110,1208,1242,1226,1310,1324,1136,1188,1042,688,473,426,408,443,403,404,720,686,612,542,622,661,481,490,485,471,359,430,495,598,608,687,771,590,703,937,1092,1240,1080,959,954,900,810,1078,894,772,949,877,961,1218,1438,1058,510,663,1032,1220,1158,1228,1250,998,1090,1170,1346,1184,838,1038,1114,880,731,790,999,1004,1152,951,970,994,945,932,998,1244,1318,1298,1192,1042,723,487,431,439,588,668,849,1146,1236,1366,1622,1530,1362,1382,1116,1036,1140,1196,1190,982,916,760,472,696,990,988,755,780,594,693,924,965,1040,884,893,1122,1218,1162,1094,1224,1498,1658,1606,1362,1578,1810,1606,1238,1090,1124,1002,1030,1142,1044,1038,743,732,878,948,850,978,1154,1362,1310,1274,1354,1592,1642,1420,1230,1298,1290,1334,1266,823,503,384,356,399,477,505,516,855,1352,896,1216,1404,1306,1086,1160,1164,1004,1009,1116,1106,1036,966,980,1058,1354,1610,1600,1210,977,894,797,807,1274,1518,1220,1274,1250,1460,1604,1412,1278,1134,997,1040,1064,1164,1432,1168,371,308,371,419,417,415,598,1272,1582,1542,1100,1238,1094,793,605,625,950,1422,998,569,859,1064,1606,1618,1092,1028,880,705,578,551,1042,1458,1506,1594,1204,1108,675,865,1280,1472,1380,968,513,396,780,962,716,619,550,519,768,851,709,530,634,1066,998,825,737,1058,930,489,717,939,999,785,750,971,971,872,704,533,524,556,1152,1466,1220,725,570,497,453,444,416,408,395,391,404,401,485,432,414,376,314,194,199,288,326,335,323,297,274,280,298,284,252,331,437,810,1762,1704,1324,1322,1354,1584,1318,1230,603,490,567,579,610,528,454,694,978,927,865,686,351,246,290,357,472,403,435,708,915,839,595,524,519,813,1196,1420,1188,1096,1130,799,552,396,661,648,734,777,637,613,565,485,515,813,1098,722,650,924,899,897,797,931,958,930,858,785,555,376,419,740,1028,896,535,345,331,350,348,345,368,375,353,371,362,365,421,462,379,461,544,987,1130,937,1144,1334,1294,1700,1320,845,733,573,962,1636,2070,1386,1084,1036,932,1005,774,550,540,1076,1276,1344,1334,987,796,853,680,859,1396,1232,944,669,332,308,475,564,458,417,521,578,926,808,709,875,1294,1588,1224,691,411,343,423,471,943,1230,1338,1490,1486,1528,1346,941,709,1072,1720,1196,570,469,443,483,648,726,610,780,994,678,554,734,613,460,543,619,622,690,1150,1538,1032,758,1242,1015,728,747,1314,1236,1272,1348,1320,1214,1100,908,1040,1102,899,1064,1144,1078,805,574,800,1082,880,872,1242,1232,1146,1440,1310,1009,720,491,653,935,723,486,411,496,760,952,941,650,505,783,972,601,307,560,1019,750,428,696,995,1378,1566,1138,717,731,624,578,543,893,962,896,916,761,402,313,312,692,1258,1334,1062,984,1070,1036,932,690,1013,1216,1056,1318,1274,1100,753,470,484,750,484,349,339,321,582,852,678,514,830,1310,1214,561,420,366,475,606,665,617,588,839,1422,1522,727,619,844,843,462,302,259,289,293,251,257,278],[1020,922,460,319,308,336,462,381,441,1010,1152,910,926,1220,1474,1328,1320,1878,1854,1574,630,452,678,1011,945,1208,1538,1682,1688,1032,714,1068,1324,1342,1102,1013,908,756,661,611,517,529,824,1136,1300,1572,1312,1180,1214,1338,1278,1324,1356,1038,495,363,390,422,436,491,695,498,798,862,806,677,766,691,719,1288,1582,1400,1690,1826,1404,1310,1126,1088,1070,1020,1050,1318,1264,1178,1086,933,1080,1322,1288,1304,1018,1278,1226,1386,1074,894,1496,1400,1020,870,811,882,864,1070,1462,1362,1378,1416,1340,1294,985,679,549,663,675,467,428,449,589,730,463,384,542,977,875,765,954,985,1032,1094,1202,1398,1368,1214,1096,1186,1422,1272,1052,1228,1060,745,836,1218,1216,1074,610,514,571,906,1224,1086,552,590,1024,906,662,1020,1054,968,1084,1090,1023,595,368,393,413,412,485,834,940,759,745,823,800,662,1136,1526,1172,592,863,1448,1356,904,684,727,1042,1192,1212,1278,1434,1128,791,752,544,433,771,1044,628,757,1082,1176,1096,987,879,913,690,346,285,472,837,1292,1234,833,706,882,1214,1162,1070,646,469,668,729,954,819,679,723,832,1104,1112,860,1132,1090,1188,1296,1028,1324,1410,1288,1170,772,600,1018,1446,1350,830,952,1016,971,792,706,491,419,468,784,996,839,911,1015,1160,1384,993,1356,1714,1466,1004,1094,1226,1058,1062,1022,701,615,712,730,850,839,771,853,1122,1162,850,665,700,912,1338,1362,1384,1366,1148,1028,1370,1612,1416,1080,943,1080,1316,1013,760,1212,1156,1212,1164,1194,1108,1498,1100,769,952,998,869,1050,1162,1356,2106,1942,1528,1626,1348,1214,866,659,657,1005,1254,1146,1224,1326,1390,1270,1248,1398,1350,1056,744,1138,1356,1592,1656,1128,1007,1320,1384,1284,1360,1550,1668,1168,1286,1550,1660,1552,1388,1412,1500,1466,1592,1742,1730,1638,1466,1450,1406,1390,1576,1532,1448,1386,1390,1424,1416,1294,1066,890,946,1066,1148,1044,1124,1028,1038,978,875,1026,1310,1460,1610,1378,1312,1236,1148,1088,882,727,1018,1112,1112,981,745,937,964,485,446,854,1122,1258,1536,1422,1300,996,956,1246,1274,1318,1382,1116,1230,1266,1212,1216,1188,1228,1098,683,518,499,475,473,671,848,900,909,919,744,822,1004,847,1206,1236,1116,1430,1430,1434,1610,1622,1152,1066,990,993,1108,1008,753,745,547,500,933,1292,1154,1196,1390,1198,1250,1372,1170,1172,1558,1392,1046,1068,1222,1054,1058,937,1030,1362,1492,1338,1152,837,675,863,894,644,716,885,973,919,466,554,605,527,636,578,701,718,854,1046,833,1086,988,909,1200,1118,1324,1080,1160,803,589,813,1040,1172,1040,897,1092,1250,1390,1366,971,688,788,938,968,986,1134,1230,1152,1016,1102,857,883,1136,1260,1248,1388,1242,1130,1154,1122,1070,902,700,931,1400,1224,1588,1538,1052,807,1001,1252,1356,1204,943,964,1428,1760,1162,841,928,1208,1158,972,1042,848,527,631,727,475,418,416,361,374,513,999,1320,1096,978,861,468,522,919,1136,1078,1064,822,1024,1448,1386,1017,760,484,401,354,342,484,843,991,698,833,663,705,1088,1376,1508,1005,984,1012,589,711,1172,1220,775,937,745,948,1258,1180,697,850,843,680,607,521,464,579,670,802,1166,1390,1108,782,730,716,703,955,868,444,413,413,407,369,380,355,331,310,336,342,354,378,378,395,368,351,404,461,415,429,505,492,616,724,1050,1020,705,631,562,525,673,966,1238,1560,1620,1228,1240,766,517,852,1464,1584,1522,1550,1484,1452,1468,1456,1588,1686,1488,1508,1666,1846,1908,1898,1774,1536,1334,1072,936,990,1136,1296,1470,1034,512,440,518,503,681,1204,1456,1226,940,1036,1036,1096,1254,1332,1276,1234,1282,1128,960,1198,1484,1368,1122,819,541,848,1146,1398,1354,1108,1304,1186,1040,1258,1198,835,778,1122,1226,1160,1100,1274,1350,1322,1024,917,908,707,404,487,880,1288,1194,946,1162,1300,1158,1254,1096,919,927,972,1230,1268,959,979,739,648,1506,1876,1300,1134,982,1080,1130,1304,1642,1550,1316,1266,1036,1001,1224,948,983,828,851,970,1080,1216,1238,1368,1326,1204,1360,1356,1110,1042,1058,1478,1598,1388,1422,1630,1414,1242,1240,1064,1260,1352,1240,1478,1294,1280,1534,1436,1406,1338,1019,1044,1288,1276,1238,1096,1140,1272,1242,1382,1008,1496,1426,1214,1382,1192,954,1170,1496,1680,1186,1086,1034,683,414,660,1056,1422,1312,1158,1506,1206,619,435,872,1244,1184,1490,1498,1376,1148,1286,1160,929,1072,1080,995,1086,988,730,578,901,1088,1050,1120,1382,1598,1358,1094,877,988,1230,1558,1278,1406,1372,1352,1272,1032,1180,1288,1298,827,764,1186,1110,803,666,848,1098,1266,1005,981,1160,1124,1366,1400,1094,510,591,908,1122,1152,1040,1076,1156,1316,1390,1130,965,1082,830,553,514,616,546,450,869,1114,932,855,829,875,980,1036,637,463,424,596,1088,1538,1170,763,582,493,361,443,996,1518,1172,918,967,877,965,661,704,915,774,604,671,695,545,506,735,1001,1224,1100,730,976,1158,1206,980,749,789,794,717,683,639,605,534,514,678,1070,1342,1090,691,790,957,1146,1242,1238,1340,1368,1264,1300,1194,681,471,405,371,368,298,308,334,459,788,1308,1438,1100,1350,1256,1104,1168,1100,1256,1290,825,483,476,670,1074,971,704,516,497,513,1024,1294,1016,1026,1028,973,1128,1080,1074,684,943,966,552,455,514,1066,1003,904,1090,735,353,315,333,444,489,558,585,1102,1366,1232,946,659,776,1166,1158,937,1014,931,861,1104,1310,1410,1678,1314,567,526,932,1264,1606,1508,800,842,557,1013,1140,903,996,1002,1032,1356,1640,1496,1164,794,611,943,1154,1244,1418,1086,1228,1348,1198,1250,1368,1034,838,1038,924,735,406,390,378,424,458,691,959,1076,1208,1005,886,476,346,356,373,336,374,536,549,767,990,1208,1068,693,875,1106,1138,1272,1304,1108,1034,869,931,1394,1264,1036,1078,1170,1206,1212,1454,1170,766,864,1170,1074,1108,1132,1080,820,724,1090,1260,897,952,1494,1224,771,777,1100,1222,1056,1082,985,1046,1094,952,839,1002,1222,1454,1470,1042,601,330,315,275,379,605,842,959,971,1130,1304,1404,1484,1356,1240,1272,1488,1318,1296,1484,1242,802,809,768,938,738,656,555,666,618,493,520,515,507,580,796,1120,1108,1028,1042,1324,1558,1634,1690,1422,1136,963,918,985,1182,1118,951,1050,1206,1242,1100,839,951,1216,1102,963,976,1366,1818,1554,1554,1572,1642,1438,1100,1160,1412,1502,1552,1444,1034,585,392,336,383,484,560,647,891,1214,1198,1292,1316,1080,986,1060,1052,1036,1066,1100,1140,1140,1242,1058,1050,1380,1418,1248,1242,1288,1374,1460,1348,1224,950,887,1300,1418,1478,1448,1346,1210,1094,969,902,1054,1172,1230,1048,480,324,282,368,494,406,613,942,1160,1044,1120,1458,1178,995,1196,921,1188,1204,788,787,1146,1490,1744,1164,880,969,844,547,321,365,796,1348,1742,1866,1168,921,849,699,797,893,861,703,359,359,555,661,766,653,653,788,827,958,1168,727,603,1072,1138,921,898,1260,1144,636,747,859,868,788,600,745,1138,1084,589,356,361,420,1032,1542,1178,678,523,519,499,471,446,437,380,391,423,416,697,642,562,609,439,216,232,295,369,357,283,288,278,312,320,365,605,701,617,976,1366,1226,1088,1048,1022,1306,1246,1023,522,415,504,424,506,596,595,1078,1704,1356,760,423,323,353,328,404,526,476,399,488,747,834,711,731,717,431,605,1152,1456,1208,1076,648,382,321,326,361,714,948,630,420,393,407,380,568,636,449,647,892,684,558,664,877,979,814,590,589,422,520,510,756,1001,662,379,357,305,286,331,364,364,360,321,327,370,394,412,392,336,422,544,593,669,919,1322,1188,797,1014,993,877,910,1216,1662,1824,1310,565,612,742,721,671,657,544,364,661,1108,1270,1060,604,527,935,946,815,969,844,938,946,619,431,453,510,425,402,600,566,418,415,518,797,1312,1396,1230,1376,777,417,376,753,1086,1072,975,763,913,1534,1492,1060,769,896,1300,965,893,722,497,654,718,540,588,805,973,770,648,691,666,662,734,719,569,827,1312,1362,917,642,882,642,634,1186,1566,1142,1086,1252,1184,1072,1060,825,1104,1374,830,881,1240,1086,845,730,1001,1094,1024,1028,934,1108,1260,1356,1328,1110,1096,790,733,803,620,510,473,489,769,758,664,376,347,389,526,469,332,538,845,622,394,505,705,1122,1356,668,505,541,423,513,630,1056,1222,1042,994,855,481,358,350,567,835,824,810,1060,1106,660,567,783,1056,997,993,1282,1204,1578,1003,468,623,923,656,377,327,312,596,1006,1002,726,912,1516,1522,765,393,387,397,432,600,818,862,706,1090,1192,677,611,1220,1198,487,289,281,280,309,270,260,270],[980,1046,786,412,414,411,771,717,681,1152,1250,1092,1080,1108,999,745,1080,1692,1778,1078,558,612,875,1164,1060,1110,1288,1498,1416,733,708,985,1246,916,714,1040,1034,1050,946,650,650,748,899,1162,1456,1466,1252,1016,1102,1212,1288,1044,894,719,417,367,374,421,335,442,849,612,651,703,932,912,1076,1152,1282,1598,1612,1550,1440,1016,1128,1898,1456,979,987,1180,1332,1366,1234,1180,1282,1216,1128,1282,1038,990,999,1158,1162,1438,964,995,1568,1340,1326,1302,1216,1098,866,1124,1384,1294,1474,1448,1158,1240,1282,1019,840,808,425,331,366,433,401,416,569,513,692,1032,874,984,1182,1104,1194,1238,1478,1310,1154,798,987,1048,1009,906,896,1136,1030,640,865,1180,1124,780,604,871,987,1182,1498,1160,781,733,780,911,888,794,835,824,869,799,859,625,401,408,419,562,753,934,896,565,486,753,767,803,1434,1658,1104,577,911,1266,1044,929,931,1200,1266,1128,1148,1290,1210,873,651,495,604,584,893,828,542,1010,1522,1226,1076,1016,1062,1494,1136,557,401,657,711,851,848,523,532,821,1138,1094,1112,1032,1086,1156,1284,1032,630,862,967,611,701,790,1128,1722,1568,1592,1472,1436,1566,1378,1166,959,681,451,523,1022,1146,1056,921,684,802,921,824,600,420,424,567,771,700,698,739,1050,1202,772,894,1390,1642,1346,1340,1230,752,828,702,482,439,713,850,1294,1316,1162,1084,1232,1400,1150,879,811,1142,1340,1306,1296,1126,1088,963,1170,1146,1228,1230,1158,1362,1506,916,1062,1272,1152,843,911,1028,1458,1526,968,861,1021,1120,1028,926,1212,1300,1844,1250,1890,2098,1490,1504,1356,846,614,1172,1520,1304,1362,1448,1294,1192,1007,1152,1308,1206,952,1034,1196,1330,1268,1024,1208,1376,1376,1198,1396,1604,1200,915,1200,1400,1488,1278,970,1186,1178,828,1023,1216,1328,1268,1252,1468,1646,1742,1636,1514,1528,1566,1520,1556,1626,1490,1250,860,897,1122,996,1172,1272,1402,1510,1334,1284,1230,1354,1304,1318,1562,1296,1184,1118,1246,1064,740,851,1320,1428,954,808,916,842,518,424,485,738,1152,1450,1392,1168,1200,1390,1530,1420,1376,1268,1186,1306,1284,1144,992,1152,1332,1192,1064,672,403,451,551,991,1094,1136,1288,1146,1088,1356,1264,1138,1292,1200,1206,1422,1366,1346,1504,1150,943,1386,1466,1190,1200,1082,987,833,456,543,781,1034,1134,1184,1266,1362,1472,1256,1184,1372,1336,1426,1442,1134,975,909,1048,1080,912,1034,1192,1232,1126,1060,1152,993,554,529,647,642,832,927,731,594,502,548,571,593,818,717,608,853,1058,1180,1098,938,575,667,1282,1556,1200,824,647,713,926,1056,1094,1322,1100,998,1122,913,702,843,906,807,796,885,1250,1434,930,627,1056,817,691,1230,1432,1398,1596,1444,1300,1306,1198,1212,869,1026,1146,1296,1476,1590,1496,1240,1310,1464,1418,1236,883,808,724,1012,1300,1082,1130,1242,1140,1168,1196,1194,1124,989,738,661,492,492,496,468,480,828,1574,1562,976,769,564,437,695,1194,1114,998,707,542,864,713,1142,1310,1009,717,447,312,460,781,1310,1100,616,836,980,1106,1374,1542,1422,880,741,905,970,1172,1294,1170,724,944,844,961,1076,993,879,944,1132,1184,906,809,756,1130,912,988,1512,1406,1032,908,953,888,930,908,633,439,375,429,448,390,386,372,348,341,351,348,362,417,504,551,384,391,485,498,435,406,523,437,628,762,713,775,631,595,608,630,888,1056,1422,1784,1612,1356,1098,698,590,951,1604,1758,1744,1808,1798,1610,1498,1544,1672,1274,788,684,825,1208,1620,1830,1842,1772,1454,1200,1102,1360,1372,1210,1346,922,513,562,598,584,727,1192,1352,1094,872,922,1130,1250,1178,1232,1082,1174,1370,1078,1078,1416,1262,1214,1102,1042,717,998,1130,1208,1388,1306,1098,959,1078,1164,1150,1060,986,1150,1242,1002,1140,1470,1524,1082,735,971,1158,891,408,426,778,1072,886,764,1344,1238,1044,1206,1030,756,691,896,997,1390,1180,893,882,802,1042,1678,1520,1262,1306,1316,1334,1478,1522,1410,1074,862,638,1078,1590,962,910,1166,1078,992,1280,1406,1312,1230,1192,1310,1366,1092,733,908,1148,1214,1007,1015,1240,1456,1372,1404,1138,872,1020,1402,1314,1396,1310,1274,1194,1026,1074,1232,1256,1354,1242,1248,1516,1324,1108,1172,1194,1146,1036,1072,1186,1182,1234,1344,1180,1190,1032,820,995,1006,875,672,567,765,1060,1362,1216,1266,1572,964,813,716,929,1212,1334,1346,1438,1378,1284,1318,1124,1356,1482,1262,1186,1028,1094,1038,845,656,555,758,985,1140,1136,1044,1013,868,1020,1084,1370,1252,1018,771,813,975,1256,1002,893,1094,920,929,927,1118,1100,901,1072,1174,1124,1198,1246,1166,1376,1642,1558,943,811,823,961,1136,1158,1114,1016,1188,1404,1344,1260,1274,1286,986,697,892,896,642,530,645,703,692,912,1040,1062,901,1162,806,572,687,859,1044,1354,1102,528,476,529,645,844,1228,1290,1194,947,1020,819,728,722,651,917,1090,883,1098,1858,1098,576,531,505,431,481,608,824,876,946,913,849,911,780,643,645,675,662,574,625,897,1214,1302,912,728,959,1044,1220,1154,1234,1222,1188,1068,1136,965,585,542,490,406,362,308,324,334,416,426,804,1296,1192,1246,1414,1400,1156,1158,1388,1498,1298,1096,695,826,910,633,771,943,766,739,1096,1166,1102,1544,1332,1030,1244,1300,1272,741,644,645,628,679,755,1052,894,1013,1534,913,467,394,393,369,346,521,641,1146,1084,844,885,1082,1250,1112,1148,1148,1466,1152,954,1010,1208,1364,1614,1144,587,965,1266,1110,1444,1166,687,757,755,939,875,975,1226,1218,931,1036,1342,1144,1348,1298,965,1272,1232,984,926,1014,1400,1472,1160,1188,1164,1066,1034,1164,1170,952,477,376,324,385,391,550,706,1028,1186,1028,886,350,341,336,330,288,388,590,618,694,960,1304,1018,760,1028,1250,1310,1300,1240,1118,1146,927,1090,1476,1510,1500,1280,1238,1262,1218,1546,1076,625,496,631,1054,1508,1272,922,885,857,937,947,858,992,1112,1076,1056,1404,1584,1136,723,731,781,858,1024,1216,1058,1108,1072,1132,1066,672,334,282,289,283,391,565,623,598,1056,1216,1228,1274,1204,1080,1108,1172,1202,1286,1474,1732,1362,833,1134,1098,1088,748,475,462,650,601,498,485,472,619,663,838,1066,1050,1023,981,1148,1260,1534,1724,1324,877,785,952,1286,1708,1204,1106,1092,1126,1246,1258,1198,1170,1224,1112,993,843,968,1626,1716,1642,1656,1486,1256,865,1046,1354,1448,1522,1474,1058,628,396,341,381,481,538,636,939,1212,1062,1058,1086,1030,1240,1268,1246,1260,1616,1434,1344,1322,1376,1126,1078,1196,1036,1030,1100,1148,1424,1544,1648,1606,1316,1406,1260,1190,1294,1324,1500,1460,1216,1054,961,1066,1038,710,845,714,514,463,491,415,425,734,799,524,511,878,1240,1332,1180,1340,1196,1158,1050,748,779,858,1058,1382,842,1114,979,696,422,323,328,700,1272,1630,1598,1114,980,1046,624,432,354,387,393,312,333,285,314,464,503,808,1164,945,832,1003,484,384,525,930,875,839,888,733,512,504,621,580,580,653,860,1244,1214,1001,599,426,530,959,981,694,575,618,561,507,487,494,495,430,390,408,401,448,497,642,733,565,274,276,293,337,325,305,324,283,304,284,597,970,847,959,1218,1162,1144,1178,937,777,1020,1220,825,438,344,328,491,844,865,938,1786,2490,2026,1154,833,617,449,450,481,748,893,633,563,739,953,1084,1262,991,437,439,725,1013,1378,1442,1150,679,414,308,305,386,468,372,324,356,349,407,512,444,398,651,862,689,398,528,686,666,402,422,376,528,845,698,740,983,822,466,379,356,442,410,367,359,363,312,296,327,338,378,404,363,405,524,567,697,895,1104,1056,1023,935,1108,1046,1070,1398,1382,1132,616,523,896,1332,1050,587,451,344,290,377,439,501,606,614,738,1005,924,556,455,536,698,1038,771,469,348,514,554,604,717,477,540,689,619,1158,1074,830,1092,1296,1140,671,520,1050,1410,1262,771,473,528,1190,1716,1234,932,711,738,1018,1015,678,686,1032,1015,1003,1086,1048,714,694,792,678,780,1118,1444,1354,824,836,1100,1048,1012,1050,1240,855,866,1406,1566,1230,898,634,496,724,1422,1310,865,901,805,788,864,995,957,901,1134,1284,1194,808,740,998,1015,1196,1100,1146,1212,1062,1028,1058,636,354,323,563,946,605,741,660,398,309,302,363,329,329,374,394,428,432,475,639,997,830,789,533,521,574,839,1244,1190,1004,805,560,560,511,418,394,535,862,936,957,922,699,949,1416,1422,1250,1512,1384,1538,1982,1232,786,1874,2118,1096,387,361,494,716,1244,1378,1150,813,939,998,563,354,357,357,319,543,1186,1098,516,524,662,603,434,821,727,478,388,314,291,324,301,294,300],[986,1404,1332,836,771,821,1084,1066,979,1198,1352,1172,996,698,589,521,859,1232,1334,898,922,869,703,916,1026,897,1110,1590,1506,1238,1146,1160,1154,691,680,1004,1158,1306,1220,1262,1224,1316,1216,1642,1674,1244,1262,1092,1152,1354,1310,1011,614,594,428,391,352,378,403,417,491,488,467,837,966,1122,1438,1388,1360,1452,1152,1112,1206,695,927,2262,1858,1106,933,1042,1510,1668,1606,1618,1250,1166,811,840,993,938,1092,948,715,783,780,1104,1162,862,1228,1216,954,849,825,1096,1054,969,1146,1126,1044,1210,1290,1218,1164,1166,667,362,288,493,595,517,535,683,1007,1040,999,965,684,821,933,862,1192,1324,931,806,1026,820,848,995,882,960,611,473,862,904,1056,659,689,990,1005,1062,1166,1118,1142,791,728,852,936,514,373,675,675,626,1036,832,583,692,642,1005,1328,1194,853,661,783,872,932,1124,1346,1510,1204,629,725,909,919,1028,1036,1236,1332,1262,1122,1164,938,736,496,370,372,510,967,1026,1120,1162,1050,791,913,1023,1003,961,959,686,645,756,486,567,650,585,954,1370,1104,1054,1032,1166,1320,1342,1406,913,674,468,440,414,516,889,1576,1752,1296,1506,1576,1308,1406,1296,1400,1434,716,624,794,828,862,716,690,938,1466,1350,1022,871,476,504,712,1000,850,619,688,1096,923,620,643,816,1120,1310,1396,1120,770,813,879,720,537,760,992,1200,1526,1776,1402,1296,1376,1394,1226,1136,1480,1438,1334,1426,1460,1238,958,1002,1156,1266,1044,1368,1478,1328,1160,1328,1302,1316,1026,812,694,1052,1086,667,561,831,1376,1276,1234,1302,1466,1338,897,1418,1454,1316,1470,1468,1086,1044,1246,1206,1356,1582,1526,1356,1310,1394,1336,1330,1340,1128,1208,1474,1472,1522,1512,1430,1476,1472,1268,1484,1602,982,789,1256,1536,1620,1210,1084,1270,1084,645,644,723,1042,1294,1228,1262,1466,1302,1300,1382,1554,1584,1630,1720,1836,1796,1594,1572,1582,1110,951,1246,1376,1610,1404,1086,1288,1288,1208,1094,1234,1380,1214,1114,1404,1550,1302,875,973,1214,1304,1128,1156,1306,1048,625,449,389,634,1184,1406,1278,1296,1336,1284,1484,1450,1226,1174,1192,1248,1354,1110,1042,1276,1334,1196,1086,745,415,440,695,871,1140,1354,1344,1116,1086,1068,1034,1058,1202,1282,1210,1300,1312,1256,1038,698,949,1090,770,857,1060,963,871,784,473,486,772,1326,1458,1346,1052,1015,1118,960,1184,973,993,1584,1774,1322,1023,1076,1178,1198,1124,1108,1188,1258,1010,1178,1004,825,539,543,581,703,644,789,861,638,375,392,428,305,375,627,535,504,832,822,600,510,666,970,1190,1302,1068,1100,761,658,639,821,1194,1650,1180,696,814,944,954,1072,1172,1228,1218,1246,1454,1730,999,716,1110,1194,951,1206,1474,1534,1604,1352,1162,1154,908,1090,1180,1454,1450,1392,1378,1396,1372,1272,1340,1284,1216,1196,1046,1140,835,767,860,831,791,795,1014,1190,903,887,1284,1246,879,587,520,819,1034,895,559,1160,1976,1508,885,932,503,719,663,692,692,882,852,733,573,902,1394,1186,1017,839,822,536,472,657,1122,930,695,901,1254,1434,1372,1400,1400,1254,1154,970,897,1011,1282,1292,912,801,832,1009,1104,1324,1310,1156,1266,1296,903,929,952,1040,989,1300,1632,1368,950,1018,1058,1050,1152,995,984,783,742,759,537,404,407,386,358,349,348,349,351,391,474,454,388,467,490,414,370,446,504,451,701,735,523,635,661,574,608,582,941,1232,1444,1642,1430,1340,1158,786,779,1166,1560,1838,1870,1846,1882,1748,1522,1572,1338,741,597,690,1036,1446,1580,1770,1856,1896,1848,1508,1406,1376,990,898,1062,1060,1001,1040,960,980,1040,1394,1494,1184,1144,1188,1360,1332,1200,1142,944,1238,1218,1182,865,879,952,1346,1242,947,861,1190,1200,1282,1366,864,1068,1050,1036,1086,1322,1454,1196,985,966,1062,1144,1380,1494,1116,964,1122,1062,833,612,680,983,978,794,981,1524,1404,943,725,1013,843,681,974,1072,1518,1480,1108,1102,1024,750,1324,1772,1506,1118,942,1296,1558,1394,1124,792,557,419,754,926,884,1024,1064,1088,1350,1530,1188,974,940,1238,1434,1302,1224,1064,1050,963,929,1202,1204,1140,1270,1060,1112,851,806,963,1132,1240,1294,1290,1358,1308,1088,962,914,1028,1254,1176,1356,1418,1344,1242,1376,1316,1086,1122,1208,1294,1282,1236,1100,1132,1210,1054,796,833,1110,1256,1072,955,948,944,1005,996,1116,1216,982,958,825,1003,1454,1408,1222,1240,1222,1160,1156,1368,1350,1180,1102,1260,1522,1566,1316,1082,697,628,835,902,988,658,647,843,1454,1262,847,683,682,587,478,461,810,1132,1028,936,1156,1316,872,1044,1510,1372,1214,1154,1088,1166,1248,1174,1256,1332,1234,1164,878,1076,1220,1262,1134,1132,1184,1260,1324,1350,1286,1264,1366,1126,946,1164,1296,1062,622,467,560,537,738,957,862,874,913,962,1005,899,805,924,1054,1272,1106,742,674,643,976,1060,1208,1278,1466,1230,1142,935,889,842,778,1266,1554,966,1386,2012,1132,1096,965,570,615,775,811,952,899,951,1184,1266,1454,902,533,494,514,551,556,677,888,1092,1126,942,672,767,1082,1284,1310,1328,1288,1218,1190,1104,749,499,522,491,411,280,315,310,326,380,363,397,763,861,1064,1624,1674,1532,1746,1744,1666,1530,1396,1210,1110,944,726,964,1078,1144,1152,946,1015,1274,1542,1296,1320,1302,1338,1302,783,500,517,661,686,857,1320,1040,1272,1480,935,841,734,445,503,648,686,857,1126,1300,1316,950,1028,1130,1172,1056,802,854,927,954,902,1136,1376,1354,1196,735,841,774,644,636,744,876,879,746,692,730,744,897,1136,948,897,925,1158,1448,1260,1154,948,920,774,767,1082,1312,1332,1228,1094,987,995,1168,1200,857,498,385,349,379,375,320,339,350,463,709,897,622,320,280,316,380,365,444,557,678,772,948,1278,978,976,1084,1124,1326,1354,1494,1528,1194,951,1014,1142,1422,1576,1262,1010,987,1312,1664,1412,1136,693,612,1144,1672,1322,667,531,954,1096,1160,807,863,995,993,963,1032,860,594,512,619,885,794,912,1238,1142,915,960,1078,1292,915,393,358,413,483,488,820,857,572,984,1224,1234,1272,1126,995,1015,1100,1254,1340,1448,1464,1272,1074,1252,1230,1016,972,822,808,966,811,630,703,832,821,755,895,1054,1021,970,969,1240,1378,1544,1692,1502,1100,1044,1494,1682,1932,1416,1378,1202,1108,1194,1278,1264,1242,1224,1042,854,835,941,1324,1236,1248,1466,1556,1560,1438,1274,990,1064,1502,1926,1122,702,434,337,361,466,535,542,818,1254,1278,1060,732,771,1190,1290,1248,1238,1376,1282,1202,1206,1202,1122,1202,1278,1140,1134,1164,1050,1556,1728,1564,1754,1898,1738,1146,1008,1266,1282,1322,1364,1224,1096,1044,985,1118,954,1120,1302,1252,995,559,336,425,550,466,415,522,540,811,1144,1166,1130,1074,1204,1132,723,519,611,979,988,723,992,1052,668,400,354,333,562,965,1210,1036,843,984,998,572,320,346,415,332,290,276,285,294,314,408,714,1028,952,946,1160,759,649,615,1102,1196,794,419,355,320,403,706,1040,1086,868,1180,1372,1418,1286,1021,695,642,722,772,1040,1040,912,717,572,571,520,562,495,433,448,444,437,502,529,572,584,300,264,337,294,318,337,340,333,321,456,748,623,622,1144,1090,949,885,1064,1168,1056,1164,1064,556,370,358,442,735,912,793,1058,1890,2096,1396,1104,996,595,361,571,728,740,1114,1512,1118,752,746,919,1062,627,396,410,648,1038,1288,1260,1226,1288,1040,648,434,363,390,458,559,443,306,502,819,803,566,490,751,957,475,363,485,517,541,353,459,721,819,768,867,1156,1216,544,392,656,1158,896,605,460,394,352,324,291,316,402,396,376,451,493,523,776,1009,1150,1692,1692,1186,1422,1360,968,1023,988,1038,671,484,892,1310,1208,805,487,375,370,387,426,507,574,647,766,781,952,726,499,580,555,576,478,488,465,470,535,688,608,601,813,1023,1124,1520,998,474,642,1118,1324,1090,1114,1238,1220,1040,684,447,355,752,1582,1376,786,490,746,858,753,792,1106,1278,1100,1282,1250,1196,821,585,613,703,1064,1736,2108,1534,972,597,905,932,1026,1158,1230,976,994,1394,1438,1130,720,456,419,443,1096,1484,957,648,624,521,395,593,831,705,672,734,1256,968,729,579,628,893,1094,1150,867,618,642,886,505,353,332,447,658,601,960,939,504,340,502,668,711,460,381,403,440,458,425,397,739,1146,932,824,938,741,1066,1158,1356,2126,1376,706,677,1060,829,490,740,1054,1058,1058,927,772,810,1154,1362,1286,1466,1294,1440,1400,1178,1236,1382,1312,977,446,437,716,756,1388,1492,1015,608,745,730,448,345,370,451,485,432,575,533,397,735,659,313,301,403,430,441,413,419,459,491,444,287,319],[1112,1698,1392,1084,913,643,606,713,755,1078,1252,1224,1021,625,696,940,1156,1354,1232,1096,990,1004,1062,1070,1114,928,1570,1682,1284,1302,1290,1246,841,498,613,767,1102,1328,1202,1598,1460,1332,1028,1216,1294,1216,1396,1366,1938,2008,1350,1292,1120,864,586,558,419,498,482,385,321,342,749,1240,1100,1005,1478,1528,1260,1338,1148,1110,1206,845,891,1278,879,647,577,799,983,971,1786,2236,1434,799,488,664,984,1116,1056,669,420,426,715,909,1126,1222,1082,1050,1128,872,954,1170,1178,977,821,877,1108,1340,1328,1246,1322,1076,744,439,318,684,952,734,590,677,1180,1288,1212,901,546,496,686,810,1134,1158,905,1116,1144,1006,927,794,906,1001,731,802,1090,991,1430,1106,510,885,1190,1214,1188,1134,1076,1023,810,1192,1180,632,486,571,427,420,550,569,917,1164,1082,700,1128,1174,763,1001,1212,1112,906,863,1180,1452,984,538,615,1013,1214,1003,1152,1368,1376,1322,1378,1398,974,445,321,301,399,651,1060,1336,1456,1062,597,517,580,591,645,828,993,733,739,555,451,386,466,960,1434,1514,1096,693,818,1510,1650,1494,1678,862,711,616,966,1112,902,1164,1340,1528,1318,1172,1102,996,1011,1058,1104,849,615,1256,1510,1052,1010,932,807,918,1274,1142,1110,1044,539,552,844,1032,991,926,1072,1188,848,498,517,526,579,977,1376,938,705,948,1388,1005,691,716,973,1250,1672,1788,1214,1212,1378,1364,1064,1288,1564,1474,1482,1460,1450,1288,938,675,1048,1986,1628,1142,1366,1460,1544,1376,1388,1376,1090,811,688,577,594,500,498,910,1324,1266,1406,1384,1464,1386,1700,1444,1170,1288,1170,1184,1078,1082,1024,1296,1420,1478,1582,1622,1498,1450,1456,1572,1410,1036,1428,1562,1352,1574,1564,1346,1314,1430,1182,958,813,743,1080,1712,1658,1426,909,670,918,889,500,409,556,961,1430,1606,1394,1168,1150,1352,1312,1376,1382,1302,1336,1478,1300,1286,1654,1680,1626,1620,1612,1622,1544,1272,994,1268,1410,1152,1090,1302,1422,1152,1064,1410,1438,1216,908,1298,1268,1560,1738,1432,1296,1178,744,514,508,837,1302,1420,1100,1232,1160,858,903,1262,1374,1720,1752,1250,1224,1250,1386,1224,1284,1194,966,744,447,535,1086,1226,1050,1084,1154,921,1068,1122,1064,1094,1260,1182,992,1226,1286,1082,913,905,1086,1070,1162,1178,963,737,674,756,904,1036,1096,1218,1320,1376,1270,964,764,896,865,980,1282,1226,1556,1542,1292,1100,968,907,1142,1376,1296,1074,586,639,708,687,540,524,526,507,513,445,516,493,277,303,339,436,813,1480,1028,557,709,609,599,1074,1664,1356,622,559,811,1066,778,594,758,987,990,1106,1094,1020,1048,1078,1122,1282,1368,1272,1030,1070,995,697,370,649,1196,1162,938,1114,1366,1622,1526,1250,1098,1040,965,999,1088,1302,1092,1064,1388,1490,1350,1316,1398,1316,955,1100,1354,1296,965,660,600,554,364,355,628,1050,1011,1004,1620,1062,999,828,662,1100,1266,1110,887,959,1003,765,1002,965,930,1398,1478,1010,929,883,980,1134,1090,1414,1362,1230,851,706,1001,854,602,582,705,775,993,1216,1406,1396,1250,1506,1626,1340,1300,1202,1212,1324,1252,1086,1268,1176,865,1258,1404,1630,1436,1080,1118,1130,1040,810,728,694,895,1156,1362,1364,1140,1258,1250,1122,897,782,1038,1198,1070,814,554,390,398,389,351,341,351,351,320,315,386,497,506,486,442,384,373,463,450,400,614,594,505,583,656,619,587,662,1064,1352,1610,1612,1366,1228,1088,952,802,1308,1648,1776,1798,1820,1918,1798,1620,1560,974,582,624,1056,1528,1644,1666,1748,1860,1876,1888,1864,1632,1064,724,935,1030,1126,1084,1510,1238,1220,1354,1520,1344,1164,1272,1338,1192,1050,974,991,1012,1202,904,1206,1122,1026,1060,1136,1110,855,874,1050,1044,1164,1600,1710,1280,955,847,1076,1120,1252,1312,1228,1428,1390,987,1078,1776,1998,930,572,998,1246,1366,1150,1026,1074,1180,1262,1136,1332,1342,1258,1606,1230,1082,823,817,867,1182,1498,1636,1224,855,1216,1764,1648,988,1118,1442,1488,1132,873,725,589,426,578,919,1134,1168,1350,1282,1328,1202,932,916,1026,1222,1330,1410,1440,1314,1274,1240,1324,1312,1370,1296,1064,1054,804,871,1326,1404,1160,1274,1396,1426,1560,1348,1258,1150,875,1142,2078,1356,813,1086,1442,1510,1260,1146,1110,1094,1268,1050,1068,1114,1026,1196,1422,1416,1028,755,980,1126,1208,1248,1048,1168,1206,1410,977,905,1042,788,485,940,1326,1292,1280,1472,1410,1070,1164,1128,1044,1098,1238,948,1344,1824,1370,1056,834,1216,1278,1228,1416,855,634,1020,1614,1190,574,397,308,332,396,580,1174,943,639,815,1218,1152,852,1092,1228,1224,1338,1224,927,850,975,1166,1268,1188,1062,952,969,1024,1044,1036,1152,1286,1176,1246,1216,1316,1272,1194,1156,1034,1098,1216,1166,980,779,957,910,696,1076,1214,783,783,878,637,914,1040,618,587,689,530,405,637,954,954,1110,1030,972,1338,1672,1290,1016,816,737,716,741,1066,1196,711,502,386,440,808,755,572,964,1416,1434,1064,797,951,1188,1386,1350,923,582,534,572,551,561,741,1140,1408,1320,1266,869,707,1188,1210,1252,1334,1352,1382,1362,1130,835,524,420,414,382,289,319,282,310,357,385,340,563,999,1286,1362,1294,1552,1582,1510,1458,1224,711,766,1210,1238,991,924,908,1020,1274,1256,1284,1296,1700,1560,1472,1312,1084,996,803,725,497,651,684,975,1380,843,1011,1106,1278,1412,1016,847,1142,1066,761,1020,1278,1178,1034,806,817,894,856,541,418,448,476,555,607,686,815,1060,1234,835,949,877,677,610,794,935,947,791,703,650,609,591,736,685,637,895,1338,1062,781,956,1078,903,572,910,1298,1012,1302,1618,1192,1346,1370,1456,1548,1009,410,358,332,455,433,330,321,401,485,586,810,495,330,313,323,320,448,695,760,970,1010,1014,1422,1356,1098,1184,1178,1146,1108,1242,1372,1204,1066,1108,1034,1216,1536,1344,976,863,1350,1494,1616,1644,919,779,1212,1720,1184,745,752,1134,1220,1058,786,891,1052,723,548,639,483,520,868,1036,1018,974,1076,1308,1108,881,984,1102,1174,929,442,351,595,1032,576,628,868,841,1023,1015,962,1158,1278,1276,1172,1268,1238,1168,1150,1078,918,1046,1168,1096,943,999,1084,1084,1023,785,736,880,990,938,953,980,1170,1256,1150,1142,1202,1232,1474,1716,1664,1316,1096,1296,1356,997,1250,1750,1350,932,1015,1106,991,1090,1104,1200,1550,1424,1296,1316,1230,1136,1166,1430,1608,1832,1622,836,907,1368,2176,1278,706,489,347,366,451,527,510,662,1078,1030,838,548,596,1023,1214,1274,1354,1338,1304,1350,1404,1426,1344,1284,1402,1140,1026,1044,995,1526,1424,1118,1384,1434,1078,811,882,1234,1190,1106,1292,1238,1196,1222,896,873,969,1100,1400,1412,943,521,474,814,758,430,411,510,537,841,999,1162,1280,1324,1436,951,529,485,916,1410,894,946,991,1242,1174,632,356,278,255,499,1060,1250,975,1044,1100,775,394,355,522,433,290,321,306,309,331,365,589,811,786,733,816,1009,933,896,1500,1540,738,303,407,378,338,614,1156,1456,1408,1334,1416,1364,1360,1214,919,728,758,752,1300,1264,977,791,797,704,745,705,538,506,407,451,461,468,429,485,474,260,295,396,353,376,337,310,340,389,731,1054,964,954,852,848,944,974,1166,1290,1122,920,637,448,670,658,616,683,771,957,1000,1058,1108,1132,796,302,239,290,658,1238,1778,2042,1528,786,688,777,731,545,417,407,458,702,1064,1332,974,786,1088,1360,1334,1022,571,514,886,973,894,821,896,1268,1036,655,706,814,1064,667,405,329,640,776,651,901,1052,932,924,1078,1098,777,381,500,956,1019,1110,1038,790,706,557,374,284,289,298,354,371,377,537,706,963,1072,1226,2052,2042,949,1202,1306,1136,1328,1148,1580,1544,679,546,682,973,1010,716,607,464,404,390,504,419,477,824,878,1164,1300,1054,706,559,518,556,484,688,849,726,547,609,924,1034,1160,1272,1062,667,433,456,617,984,1348,1550,1466,999,532,509,632,482,1064,1802,1678,1314,1012,1170,802,682,1050,1158,1216,957,1070,1100,1076,954,751,637,604,624,1100,1300,769,752,573,893,941,948,1080,1036,1050,1170,1252,1116,745,601,501,441,365,583,1156,1112,576,413,528,454,405,510,1148,1068,843,1166,916,511,529,905,971,982,1100,647,369,426,491,361,305,320,351,389,511,758,798,603,508,562,735,1172,731,409,371,460,492,411,379,439,637,776,867,755,777,1158,1236,1300,1458,1070,903,835,1058,730,544,1004,1270,1318,1140,1166,948,519,717,1112,1178,1178,1226,1320,1356,1290,1134,1122,1250,998,749,619,703,509,811,733,504,539,670,617,401,417,482,555,679,695,629,558,422,614,636,454,298,331,391,487,500,653,860,879,686,301,252],[1118,1296,863,813,832,858,579,818,871,1144,1086,1098,956,845,1216,1534,1388,1070,1152,1294,1232,1268,1290,1166,1180,1052,1254,1202,847,876,1258,1348,830,407,593,886,1180,1350,1566,1174,894,1030,1052,1138,1048,1136,1250,1322,1330,1412,1392,1446,1240,1400,1340,991,562,535,524,405,353,463,885,1266,1112,965,1272,1280,1338,1604,1280,924,709,573,1034,1228,730,455,577,1028,987,949,1932,2054,1118,505,525,608,617,811,669,525,503,448,763,716,982,1290,963,980,992,926,932,974,959,884,825,856,1138,1428,1262,1172,1190,1144,875,613,487,560,546,725,785,589,927,1102,1188,1118,957,752,847,1100,1302,1112,772,952,874,930,764,672,1216,1064,797,830,955,919,1368,1400,539,689,1198,1502,1248,1118,648,708,1020,1498,1450,1036,908,786,364,380,556,545,808,979,1134,874,1104,957,866,973,1018,1266,1332,1448,1932,1598,694,852,887,1578,1570,1182,1864,1892,1256,1090,1058,1122,834,505,359,338,601,1230,1166,1036,1438,1316,890,639,605,684,1022,1132,1412,711,671,508,330,294,416,946,1310,1256,1108,1048,752,1136,1252,1434,1086,666,669,1028,1230,1286,1374,1360,1058,1146,1218,1228,1248,1202,958,939,731,760,619,1188,1058,641,682,808,720,947,1422,1196,1200,1054,582,532,560,608,576,534,637,857,713,534,590,568,590,961,1330,875,624,929,1136,879,733,712,1046,1190,1204,821,726,841,1228,1250,1004,1044,1023,1322,1446,1090,968,1080,777,532,781,1466,1706,1158,1532,1638,1572,1510,1328,1376,1282,1064,1118,752,481,509,669,1240,1290,1268,1152,1388,1362,1376,1392,1388,1506,1170,1084,1376,1268,932,1296,1428,1140,1242,1598,1656,1492,1732,1394,1454,1632,1344,1494,1452,1500,1616,1428,1394,1550,1400,821,494,343,498,1038,1676,1412,1140,1019,803,872,673,348,391,590,1011,1230,1426,1470,996,1186,1250,1058,1180,1214,1152,1308,1376,1118,862,789,1050,1474,1532,1526,1668,1562,1400,1490,1586,1498,1432,1376,1446,1442,1228,1140,1240,1340,1338,1342,1534,1550,1828,2062,1484,874,716,706,631,788,984,1346,1350,1040,1196,1236,695,429,891,1358,1556,1466,1426,1490,1238,944,1234,1006,817,886,664,321,535,1056,1160,1162,949,996,929,1166,1168,1286,1164,1142,1256,1086,1106,949,636,725,991,1302,1270,1632,1696,1094,753,807,811,1102,1378,1120,998,1288,1414,1604,1614,1346,1046,941,1186,965,899,965,950,890,719,615,518,761,1046,1050,982,1032,1070,861,632,632,783,783,884,756,272,278,300,367,478,708,807,1130,1820,1220,540,601,577,639,964,934,490,485,740,1042,805,553,696,926,755,553,777,1013,928,629,939,1072,1088,1162,955,991,959,708,551,425,589,893,1152,1224,1186,1282,1392,1510,1178,1208,999,561,708,1116,1144,996,927,1294,1560,1344,1172,1268,1160,1078,1036,1172,1346,1198,869,750,549,465,395,461,1015,998,958,1280,751,631,641,899,1178,1074,921,908,675,375,321,579,750,1152,1628,1666,1284,982,1108,1346,1138,1011,1190,1230,1112,643,591,965,1152,926,711,808,1122,1352,1462,1362,1506,1542,1572,1224,1160,1174,1126,1162,1162,1015,1018,1356,1334,1114,1366,1574,1510,1382,1360,1202,1176,1224,922,713,805,1086,1306,1360,1168,1122,1240,1364,1246,832,612,899,1036,694,493,456,398,359,349,337,339,325,336,310,313,350,454,504,498,496,411,401,495,418,378,606,580,565,591,597,532,465,918,1480,1426,1636,1610,1372,1418,1150,938,1038,1434,1658,1816,1836,1842,1870,1770,1618,1554,806,549,867,1436,1616,1758,1692,1652,1688,1670,1786,1858,1814,1444,1005,845,984,1160,1090,1114,1280,1152,1248,1412,1372,1226,1130,1472,1450,1268,1068,892,1172,1250,965,845,1168,1318,907,683,922,990,1084,1116,1058,968,1246,1686,1360,1007,735,908,998,1052,1250,1476,1542,1066,590,772,1254,1242,799,802,1246,1410,1252,1000,1166,1478,1592,1468,892,874,1044,1192,1392,1100,1260,903,860,1082,1248,1636,1634,1446,1090,969,1226,1772,1490,1472,1490,1444,1254,993,904,876,740,952,912,944,1230,1156,1186,1246,1302,1322,1392,1404,1198,1222,1374,1250,1272,1338,1404,1392,1732,1578,1328,1178,1156,1074,1088,1234,1252,1288,1296,1406,1414,1568,1334,1324,1124,1112,1350,1930,1260,790,1100,1512,1566,928,963,990,791,896,894,1860,2110,1404,1334,1404,1212,1074,1066,1152,1386,1416,1208,1160,1366,1216,1184,995,946,1172,1060,810,853,758,981,1032,1250,1332,1094,819,815,1064,1172,1348,1376,1372,1238,1004,866,1292,1608,1440,1620,1630,1236,855,796,1062,988,574,430,342,349,411,705,1144,904,662,904,1140,1005,872,1008,1078,1038,1282,1152,752,802,1042,1134,1252,1010,815,935,992,1096,651,516,871,949,992,1172,1212,1036,1090,1108,1023,1046,1192,1544,1280,1090,1076,1306,924,994,1370,1278,1090,1038,780,479,698,1162,768,418,519,516,440,523,745,865,1244,1630,1302,1124,1150,1108,1434,1296,1362,955,617,542,656,792,785,709,698,669,600,641,721,824,832,669,722,898,1124,1448,1178,744,530,522,639,795,930,1056,1322,1310,1288,1376,1170,916,969,1058,1082,1170,1294,1346,1148,874,639,491,454,388,388,433,430,344,348,372,341,329,760,1382,1424,1174,958,1240,1570,1312,874,588,386,385,630,1028,1210,965,684,948,1208,1160,1030,952,1382,1578,1510,1156,1348,1238,650,845,678,677,628,1172,1192,953,1122,1238,1416,1278,901,921,1390,1362,787,1028,1064,797,833,928,702,563,506,547,727,931,970,738,733,799,793,1196,1144,969,1028,959,725,755,720,936,1364,1318,826,793,1050,702,490,466,744,1172,1013,692,774,907,969,900,741,965,1516,1330,1704,1344,711,916,1354,1328,1368,1072,362,328,323,405,393,416,360,367,498,690,570,330,300,282,282,344,618,841,965,1007,751,1060,1626,1350,1038,1134,1180,1196,1018,1038,1102,1140,1248,1460,1108,1206,1500,1372,1140,1136,1540,1398,1252,1464,963,805,1354,1494,1290,948,782,837,870,1058,1234,1040,687,424,465,733,1036,1142,1164,1100,830,1009,866,789,945,1068,1052,1066,955,951,522,481,550,821,510,403,628,954,1340,1140,756,960,1444,1412,1158,866,563,560,630,708,1009,1432,1206,1074,1432,1350,1007,932,879,599,794,909,1036,978,938,926,1086,1148,786,801,858,887,1168,1586,1754,1568,1232,1200,1236,933,1124,1538,1482,1198,1198,1486,1346,1416,1510,1688,2170,2020,1582,1466,1508,1170,952,1070,1234,1662,2116,1168,929,1212,1810,1322,745,540,376,396,462,481,511,627,1044,963,754,610,702,1044,1158,1052,965,987,1180,1388,1452,1422,1210,1278,1422,1118,1428,2008,2050,2020,1732,1504,1482,1396,1302,1250,1324,1218,1154,1194,1322,1314,1282,1234,1056,929,762,781,1032,1030,861,800,914,1158,690,491,587,698,815,960,1270,1248,1220,1386,1376,684,405,519,1238,1288,966,974,869,1228,1346,675,341,304,327,498,1042,1086,936,1052,971,588,375,461,548,405,324,354,464,500,373,371,449,524,634,781,1078,1266,1006,1032,958,836,738,421,329,371,346,488,1018,1454,1396,1432,1396,1278,1278,1162,1256,1028,1005,898,1084,1102,912,1126,1160,902,999,988,1082,963,689,717,688,649,552,530,420,301,377,415,392,399,398,372,358,411,883,1152,1464,1009,824,974,1090,1298,1142,899,832,379,306,419,727,888,649,579,714,742,758,687,718,780,440,215,248,253,446,1390,2858,2124,905,794,886,818,810,661,505,501,615,725,940,918,705,682,673,755,1132,1390,1256,1312,1324,1036,1320,1258,1252,1494,1136,736,488,600,726,490,358,314,415,519,744,1250,1302,1120,1052,1042,720,453,459,797,926,894,1242,1342,1028,848,395,365,503,573,495,646,617,517,747,980,871,863,1302,1968,1976,848,1246,1224,1168,1564,1350,1366,1338,1054,688,523,636,598,712,815,437,405,418,548,691,680,999,1182,1528,1642,1252,1190,1088,743,594,574,919,1132,857,608,604,888,795,860,1206,1158,905,593,529,525,514,724,1040,830,671,598,842,1100,700,1034,1738,1528,1560,1013,996,904,975,1194,1304,1056,886,1190,1302,1021,1260,1172,569,520,469,426,492,908,1318,908,897,1018,1278,1488,1230,1386,1238,969,662,465,440,535,640,719,583,568,747,602,422,516,393,338,490,1424,1416,1248,1008,556,380,469,673,643,521,504,424,376,407,347,358,353,346,433,716,915,924,1002,928,620,559,948,1094,803,509,484,617,591,434,458,652,897,1004,888,691,825,1042,1368,1308,996,1184,1304,1122,989,655,874,1212,1296,1434,1168,1108,827,419,586,1104,1112,872,820,768,1072,1310,919,1009,886,947,772,621,780,735,545,406,446,497,573,515,421,462,457,507,754,1080,1034,768,597,829,1086,727,327,298,348,417,391,547,632,611,361,252,321],[977,652,868,1268,1144,1288,1108,1088,1050,1112,1038,814,633,780,1140,1294,1178,1021,1304,1226,1388,1434,851,749,1010,1346,1270,1126,1052,958,1044,1250,1230,769,551,904,1402,1426,1320,1066,1112,1148,1110,1188,1416,1328,982,1316,1318,1494,1230,1344,1144,1208,1516,1260,805,741,656,498,551,856,843,1028,733,1028,1074,1032,1282,1440,1448,1178,705,719,1152,1226,889,551,688,839,861,1252,1854,1560,982,849,1032,554,383,429,376,604,725,1002,990,774,1036,1170,1122,1152,1166,932,843,901,626,684,691,774,1068,1196,1154,1002,984,1152,1176,1240,949,687,522,589,849,702,870,993,1062,985,766,708,962,1252,1206,1076,703,769,686,715,747,777,1021,915,1122,1094,786,799,805,615,426,650,1144,1324,1396,1090,510,616,944,1012,1122,1118,871,783,401,664,1190,924,597,618,528,753,1142,1044,1040,1122,1316,1538,1544,1748,2052,1260,857,1019,735,881,969,970,1306,1456,1440,1214,866,673,1106,886,480,404,598,1038,949,535,641,1288,1422,814,985,936,1226,1272,1534,876,475,349,293,336,523,760,1007,1190,971,1096,979,866,773,1190,687,460,775,1360,1082,763,1196,1178,805,833,959,1002,1062,1284,1152,879,457,561,936,939,512,539,669,687,620,919,1126,1142,1046,1022,734,529,850,962,647,566,735,792,539,535,564,552,570,1044,1132,778,655,972,1250,1316,1202,1180,1146,1186,1238,858,751,937,956,858,1244,1204,1048,1582,1582,1234,943,1088,609,489,1050,1230,796,626,1174,1374,1446,1440,1382,1390,1242,1360,1240,1118,885,641,1094,1322,1021,856,1212,1302,1200,1374,1400,1338,1302,1094,1350,1508,1410,1204,1212,1142,1228,1368,1494,1316,1562,1970,1590,1662,1598,1482,1538,1532,1662,1552,1390,1498,1590,1088,505,420,505,524,1116,1532,1338,1092,1028,1056,1036,661,371,422,544,1028,1256,1446,1514,1074,1114,1228,1252,1260,1194,956,810,1150,1412,1262,1230,1424,1372,1246,1262,1324,1330,1434,1572,1552,1732,1700,1538,1594,1458,1454,1538,1586,1538,1450,1516,1488,1456,1886,2294,1666,849,799,1182,1074,1212,1220,1404,1388,1174,1062,781,548,340,475,965,1274,991,1204,1482,1278,854,921,617,358,419,337,310,721,1384,1172,857,1004,1021,1180,1030,849,1246,1194,1224,1424,1078,1086,905,829,821,788,1266,1404,1706,1560,1154,929,766,702,966,1216,850,1074,1544,1548,1794,1854,1706,1310,1270,1130,987,824,468,397,383,290,257,307,450,833,1178,1320,1116,1118,1166,854,839,852,961,1324,1108,693,474,642,963,800,889,1040,988,998,757,496,597,704,726,693,466,385,615,1014,1242,934,575,554,551,432,380,680,976,1050,998,1228,1218,1026,1050,1198,1278,892,617,708,619,420,485,755,1116,1116,1094,1011,1418,1420,1386,1058,398,509,935,1078,1124,1004,1276,1484,1332,1356,1324,1086,1102,891,710,796,1024,873,861,1076,936,621,461,633,907,849,454,345,763,1208,1300,1304,1192,619,456,483,414,377,438,708,965,954,1196,1182,767,1202,1332,1094,952,918,1148,1066,850,845,1106,1340,1224,1158,1088,1152,1190,1356,1494,1494,1610,1542,1350,1156,1250,1382,1262,1056,1098,1286,1282,1026,838,965,1274,1230,1328,1574,1442,1206,1222,1194,985,879,1012,1020,763,1032,1194,1308,1268,1256,1013,819,779,656,423,478,578,499,429,379,339,333,336,318,307,337,353,390,433,423,403,375,431,485,453,441,498,516,584,648,597,451,432,868,1208,1116,1340,1394,1400,1398,1078,806,1232,1584,1722,1916,1916,1882,1842,1736,1528,1284,746,568,1078,1532,1642,1678,1594,1586,1562,1512,1456,1540,1926,1976,1728,1300,976,1226,1248,1078,1082,1066,1254,1418,1396,1294,1320,1524,1410,1314,1358,918,893,752,728,968,1015,957,833,446,677,1104,1224,1232,1376,1422,1366,1350,1244,1168,905,897,1102,1058,1005,1268,1174,854,861,943,1178,1018,780,764,868,933,938,1042,1444,1634,1666,1174,577,760,1354,1222,1042,1104,1214,978,786,946,1258,1702,1344,816,491,394,537,1416,1610,1482,1522,1400,1224,1318,1392,1232,818,550,530,1070,1418,1406,1448,1486,1522,1376,1248,1252,1146,1190,1208,1390,1810,1582,1738,1810,1750,1500,1256,1154,1190,1236,1166,861,840,1084,1058,1272,1338,1284,1200,1360,1150,1092,1182,893,841,1124,1162,1420,1376,945,1016,1230,1010,926,953,1272,893,714,1224,1096,679,796,1400,1210,1140,1144,993,959,1094,1094,883,739,954,1268,1312,1126,1086,1002,739,951,1080,1266,1176,576,684,1140,1242,1356,1256,1290,844,721,1034,1538,1490,1334,1514,1320,1098,966,872,1040,1100,1084,634,447,415,444,1046,1406,1272,1072,1194,1188,1088,1104,1350,1188,969,1126,888,844,1050,1152,1060,859,645,651,930,992,849,622,625,852,1152,1324,1290,1122,816,841,918,962,1340,1450,1226,1150,1262,1386,1500,1256,1150,988,833,815,839,705,791,1124,1478,1044,491,390,608,629,756,812,771,1268,1744,1318,864,793,1346,1824,1400,1818,1252,630,452,483,499,491,592,726,1014,1070,1040,801,687,613,595,620,817,1214,1342,1080,861,772,926,1200,1306,1236,1086,1210,1406,1798,1606,1148,1068,1218,1146,1172,1356,1266,1224,1194,964,712,542,491,416,375,514,560,481,406,356,314,430,1152,1166,1112,1438,1362,1470,1334,668,337,323,412,354,361,518,864,1126,882,1018,1150,1164,1188,1172,1334,1412,1184,1278,1596,1164,676,780,550,703,551,1232,1268,1114,1070,1022,1072,995,961,1062,965,1146,847,914,827,848,1142,1154,773,636,570,703,1054,1188,1190,1130,1216,1248,951,1066,847,762,868,644,605,761,622,884,1842,2114,1164,996,1202,780,585,603,781,964,899,861,852,802,1108,1088,902,968,1098,1100,1466,1080,811,971,922,624,532,406,322,337,327,393,479,584,518,619,624,595,410,320,431,484,311,359,617,494,592,568,514,946,1270,1136,1144,1086,883,965,963,813,615,908,1274,1196,1022,1388,1440,1158,1156,1486,1748,1642,1240,1182,811,823,1390,1086,1262,1310,664,493,702,837,865,844,605,398,568,807,1202,1420,1278,1248,1118,1009,708,630,948,1023,887,1050,964,724,566,581,412,320,429,596,774,949,1468,1418,963,1064,1362,1226,1126,753,541,490,448,501,733,815,746,1186,1262,786,727,930,852,819,965,1126,1102,1220,1432,1114,894,1076,1144,905,775,1032,1440,1634,1710,1360,1112,1176,1280,1388,1498,1616,1578,1334,1532,1778,1686,1632,1680,1700,1814,1664,1170,1240,1728,1376,780,664,897,1366,2306,1734,1334,1312,1528,1392,792,608,421,434,494,514,574,691,1092,967,725,666,580,593,696,753,822,872,1052,1228,1288,1298,1252,1452,1412,1144,1900,2498,2486,2590,2522,2260,1940,1688,1476,1544,1548,1266,1208,1262,1330,1332,1268,1172,1180,1008,587,548,825,966,657,749,1232,1016,450,562,711,668,451,792,1510,1334,1094,1070,993,815,661,952,1298,1116,1070,1044,1136,1210,774,602,445,369,605,733,953,1021,861,849,708,485,425,499,390,327,350,598,1200,961,560,482,542,579,782,988,1184,1330,1262,1160,869,833,910,538,350,354,367,509,1060,1482,1598,1648,1434,1412,1406,1028,1154,1068,1015,929,1056,1186,894,976,1066,1042,1142,1178,1260,1368,1138,1024,1118,1222,996,921,838,620,469,433,442,424,411,376,372,394,886,1100,1228,1334,1396,1032,1076,1148,999,914,926,508,496,454,485,588,516,624,672,643,721,675,421,258,195,218,304,458,406,797,1670,1244,781,818,785,670,913,892,635,860,861,731,934,897,841,890,839,913,1028,1058,1200,1448,1312,1122,1216,946,1128,1294,1088,966,595,455,445,324,457,545,393,422,1021,1490,923,882,673,629,495,408,637,960,811,759,1006,1306,1120,781,427,407,517,527,605,941,907,613,663,1021,1016,774,1076,1106,756,681,1126,783,969,1294,1208,885,1290,1652,910,481,445,374,410,532,748,490,420,644,966,1172,1006,972,1378,1082,850,1214,1122,669,468,490,596,785,794,713,630,955,996,893,969,1330,1340,745,490,397,356,282,401,466,791,951,1154,1120,824,1272,1734,1346,1492,1234,861,1098,1138,1156,1328,1056,996,1476,1708,1246,1500,1396,712,705,875,899,624,554,874,1216,1100,650,885,1130,1354,1362,930,680,695,586,383,477,688,857,648,385,565,803,506,527,636,692,563,574,980,956,555,435,383,441,817,926,834,839,515,362,376,440,509,386,488,811,912,738,690,1100,1230,938,735,1180,1242,1140,836,532,642,540,415,509,732,918,1026,1162,1266,1136,1174,1204,1228,1130,1264,1294,988,828,1036,1322,1090,1078,1270,953,804,577,566,850,1058,1032,1334,1184,803,960,1214,870,1052,1028,858,772,830,1132,1208,722,437,493,381,347,341,377,383,363,397,482,509,670,774,603,711,552,366,542,366,339,408,437,445,393,309,394,444,354],[775,997,968,1168,1036,1274,1428,1028,1028,1194,995,628,733,949,1192,1080,1064,1242,1236,998,1168,999,734,608,1134,1570,1206,1262,1196,848,803,1028,1382,1312,1054,1136,1918,1516,943,1304,1384,1412,1630,1128,1396,1182,854,1350,1290,1302,1344,1358,1228,1268,1364,1164,1056,1180,1158,947,989,798,720,1060,709,680,869,1198,1146,1050,1498,1352,1210,1126,1144,1186,1140,1086,1028,882,919,1574,1828,1238,938,1194,996,385,444,363,321,605,968,1212,730,329,689,1116,1146,1106,1300,1316,955,615,581,916,1021,844,805,1012,1194,897,774,1162,1448,1402,1172,1194,1044,821,844,761,858,971,797,669,661,823,999,1396,1002,891,874,1074,1044,840,863,1036,937,783,1088,1172,735,809,938,609,323,643,1058,1220,1396,912,603,928,1206,798,633,722,971,1050,590,1010,1282,946,786,623,594,1212,1444,1142,1168,1108,1003,893,1066,1708,1970,1270,937,855,546,502,627,871,884,1108,1620,1382,1106,797,951,1036,819,556,669,721,390,264,362,838,910,854,877,742,954,951,1036,949,516,222,223,306,689,766,557,857,986,1028,1378,992,1104,1068,810,619,628,996,1086,1114,1178,885,750,1080,1256,952,890,866,828,609,401,430,552,733,637,659,661,711,926,975,739,780,880,885,802,603,661,781,603,526,783,677,564,558,529,516,588,1090,1188,805,863,1194,1260,1452,1582,1530,1284,1278,979,985,1160,1354,907,770,1310,1306,1266,1438,1562,1356,933,689,714,545,887,1236,888,619,983,1350,1224,1088,1298,1360,920,1074,923,1108,1160,817,946,1262,797,696,1202,1344,1512,1456,1416,1242,989,926,1182,1566,1592,1528,1518,1536,1458,1582,1394,1258,1566,1304,1348,1558,1482,1498,1322,1268,1506,1456,1528,1598,1488,719,422,361,447,532,1156,1534,1522,1396,979,888,1136,824,492,483,700,1144,1190,1160,1308,1300,1260,1166,1194,1122,1048,1100,1116,1096,1152,918,929,1116,1382,1372,1354,1474,1478,1396,1452,1604,2020,1522,993,807,720,1272,1616,1594,1606,1732,1654,1614,1714,1854,1920,1660,1298,1232,910,772,1017,1268,1410,1260,1218,974,501,514,564,613,686,953,1094,1268,1382,1250,1120,1060,651,314,371,330,362,741,1194,1078,1036,1420,1124,834,882,1192,1416,1224,1144,1292,1142,1322,1216,1226,1200,916,1488,1748,1312,1190,996,898,871,833,963,1318,929,915,1384,1426,1334,1082,1240,1320,1015,1160,1732,736,325,305,345,303,292,385,329,605,1078,1272,1260,1452,1122,905,1288,1202,1246,1372,1126,946,1020,1302,1308,790,541,565,491,574,750,861,871,969,943,805,664,543,545,870,1268,1142,805,873,735,385,324,583,592,683,930,1130,1170,1046,1038,1238,928,547,628,811,1036,725,741,911,1372,1344,1148,1200,1494,1354,1042,1028,960,1018,927,962,1024,891,724,909,1168,1202,1202,1202,902,423,458,608,742,848,927,1160,924,471,327,427,873,1096,748,722,1212,1482,1438,1294,1060,470,308,427,493,449,475,807,842,672,1046,1019,839,1062,922,1058,996,1158,909,854,1230,1290,1140,1146,1342,1662,1324,1092,1224,1434,1356,1208,1430,1558,1484,1310,1120,962,1158,1392,1548,1458,1340,1268,794,730,1180,1352,1300,1384,1310,1010,1290,1360,1028,984,857,837,737,874,817,896,1168,1254,1228,1218,1038,738,445,443,437,419,519,543,414,307,327,326,310,332,360,443,518,441,418,388,505,464,484,497,479,500,489,497,474,399,412,633,780,966,1158,930,1100,1160,921,950,1342,1636,1856,1904,1852,1872,1880,1576,1502,1042,720,852,1154,1480,1700,1652,1598,1538,1526,1602,1540,1140,1520,1918,1974,1902,1522,1120,986,1114,1224,1226,1324,1556,1448,1338,1316,1168,1062,1338,1378,961,813,877,756,1007,1148,1092,924,606,750,1094,1264,1516,1594,1568,1468,1322,1246,1190,1040,1206,1288,889,755,1072,984,830,1112,1086,1138,977,940,1096,1086,956,1144,1212,1322,1182,1294,719,491,988,1494,1172,1082,1290,1272,1144,1032,1220,1186,1482,896,570,644,543,373,821,1486,1718,1616,1584,1562,1600,1312,798,447,370,595,1104,951,840,1236,1410,1294,1206,1100,1064,1202,1202,997,926,1376,1672,1682,1672,1614,1416,1202,1150,1306,1236,1130,1028,1048,1066,1134,1116,1122,1013,996,1278,1256,1158,1138,1050,1224,1276,1254,1502,1384,1314,1176,1160,1148,851,763,1104,1204,1068,1094,741,510,673,1108,1322,1522,1438,1034,733,839,1116,830,867,1006,1260,1418,1182,998,1028,819,776,929,1244,1192,961,832,1178,1228,1092,730,686,673,1010,1220,1362,1274,1228,1286,1212,1296,1146,1422,1310,1258,1316,1150,928,663,873,1330,1404,1168,1028,1200,1126,1005,1302,1504,1302,1236,1206,948,1070,1200,1312,1384,1060,833,610,754,974,1058,1032,974,952,964,1130,1188,1096,974,817,830,1026,1350,1316,1278,1380,1186,1202,1244,1306,904,509,422,536,962,868,1012,1130,1260,1234,800,471,600,805,990,1060,1038,1414,1386,905,655,819,1592,1950,1250,1414,1194,648,494,525,484,463,473,732,1284,1968,1960,1402,1122,1032,882,800,1082,1232,977,959,1178,1310,1156,1154,1312,1270,1252,1021,2002,2664,1612,1138,1038,1226,1160,1064,1346,1426,1380,1414,1264,1078,709,534,582,506,372,405,484,410,415,365,446,984,1130,1552,1638,1202,1116,792,404,410,703,1007,494,329,304,386,898,1146,1080,1132,1378,1294,1128,1814,1848,1480,1654,1032,522,433,403,473,583,717,1272,1042,706,703,587,730,796,763,1078,894,658,663,936,971,1184,1494,1158,602,620,869,995,1098,1238,1234,1136,1190,1160,1072,1172,724,689,954,608,503,575,558,576,1228,1420,974,694,664,703,1004,1020,628,938,1108,1080,992,1030,1278,1222,788,930,1046,1038,1038,1156,1458,1360,810,402,312,307,469,408,312,375,817,973,930,843,640,578,342,387,700,801,484,505,894,1152,886,645,622,937,1252,1210,1134,962,516,583,750,540,547,1206,1360,1006,879,952,958,846,924,1494,1502,1698,1526,1132,700,728,897,888,1306,1234,694,531,503,591,598,802,757,456,581,544,888,1146,1116,1009,966,977,771,881,1058,1040,1096,1108,839,675,541,541,568,587,495,668,841,838,1422,1626,1426,1362,1172,954,918,803,838,812,655,515,602,623,760,1082,1202,941,893,975,1122,1372,1552,1296,874,1150,1056,796,975,1098,1190,1018,929,1158,1466,1722,1642,1410,1430,1460,1626,1866,1834,1754,1844,1618,1518,1850,2066,1998,1994,1776,1424,1052,973,958,1412,1494,1208,867,780,1122,1968,2392,2196,1518,1296,1434,843,660,520,478,491,566,620,632,1058,1162,754,634,617,934,1228,1304,1332,1350,1430,1492,1530,1558,1448,2018,1868,1168,1876,2510,2510,2476,1730,1422,1368,1188,1000,1320,1672,1580,1390,1466,1448,1328,1356,1234,1042,842,613,642,769,925,814,883,1178,938,480,468,499,611,507,627,1228,1112,822,735,818,1200,1312,1382,1084,855,890,1078,1772,2212,882,588,476,680,1068,780,792,850,568,501,515,520,573,543,343,390,526,1104,1378,871,560,552,525,603,1044,1078,622,1068,1298,1106,1060,788,713,514,365,399,424,760,1274,1400,1544,1490,1434,1276,1424,1448,1248,1122,984,848,1232,1280,978,1188,1328,1086,1338,1422,1276,1334,1196,996,894,1026,1160,1112,1184,1106,583,485,516,466,420,371,361,343,916,1344,1146,1300,1242,987,1196,908,1066,1348,812,480,468,445,677,688,581,681,600,560,827,821,305,203,236,253,375,735,807,566,545,735,715,653,642,518,621,976,999,1260,905,739,946,1226,1118,1114,1144,1220,1288,1058,950,919,1206,1400,1366,1118,1114,908,714,881,829,595,612,436,669,742,596,551,722,1522,1400,716,396,374,372,512,858,918,932,755,737,799,792,562,642,896,807,590,586,763,785,532,624,1190,1324,971,1005,843,497,777,1180,780,504,625,767,821,1128,747,604,696,432,349,419,714,1432,982,827,1138,1166,1140,785,637,719,449,549,1228,1088,640,655,597,626,549,644,827,813,964,1416,1356,1140,1052,1196,1062,700,391,312,321,350,312,404,692,1009,819,946,1242,1458,1698,1608,1490,1400,1220,1110,1364,1304,1148,1374,1576,1886,1648,1108,937,944,1018,1044,1162,806,543,1116,1610,986,899,2004,1378,1184,916,1100,1080,720,524,461,387,444,527,374,328,324,412,438,612,964,846,488,456,691,985,990,656,488,667,1156,1174,786,797,498,462,564,642,704,735,1028,1302,1378,1152,1146,1432,1438,1094,1052,1268,1274,1268,860,418,447,370,376,406,397,350,543,662,965,1108,1140,1418,1490,1368,1510,1300,878,659,954,1060,974,1090,1056,936,823,554,489,730,791,662,1021,986,811,1034,1076,730,1050,990,619,578,793,1338,1286,777,424,502,346,311,311,311,381,375,311,341,343,506,713,472,479,606,797,827,456,403,565,524,394,359,597,1114,1162,1156],[550,1110,1118,811,474,606,807,1048,1134,1104,1102,1020,943,985,1019,685,553,875,1134,1072,1003,1026,952,859,1252,1332,962,1064,1000,881,1056,1274,1244,1310,1440,1610,1866,1402,1102,1368,1240,1326,1618,1322,1520,1422,874,1258,1260,1232,1418,1338,1284,1244,1340,1380,1434,1116,942,1066,1280,772,756,1240,1160,828,905,1112,872,905,1488,1362,1336,1048,1016,1084,1080,1172,1106,1062,926,828,839,803,749,969,491,347,391,328,539,880,977,887,703,459,720,1060,1106,894,1128,1648,1044,520,595,1346,1908,1454,817,936,1070,968,663,1022,1400,1204,1116,1036,1056,1174,1144,1084,1072,963,607,756,922,783,791,1174,1100,966,1266,1560,1348,1058,1038,1058,992,837,1296,1262,830,872,987,607,413,858,1456,1970,1562,616,477,777,997,466,338,687,1028,1156,856,875,1004,1062,780,501,744,1058,841,965,936,718,1120,1388,1452,1774,1866,1274,1246,1372,1260,1218,968,1082,1310,2048,2438,1610,1236,1100,893,1018,1144,850,673,581,328,332,381,448,770,1038,928,657,616,704,714,740,422,268,271,279,552,508,423,503,579,587,557,679,1166,990,982,866,641,820,1034,1078,1150,736,619,1060,1298,1134,844,634,720,822,953,612,390,493,616,616,631,608,750,649,451,481,661,933,992,646,590,539,580,732,778,753,793,680,518,511,619,1090,1372,1394,1354,1426,1280,1346,1412,1156,1266,1082,1076,1256,1454,1310,1206,1172,1352,959,1160,1122,1108,1054,961,976,969,661,533,515,626,1112,1424,1438,1176,1182,1176,1310,1348,1376,1298,1342,1288,1356,1468,1428,724,564,797,1200,1650,1534,1322,1046,973,1058,1148,1220,1270,1632,1786,1542,1422,1544,1502,1638,1528,1228,1013,1026,1444,1346,832,839,1256,1510,1480,1472,1110,529,440,389,380,644,1328,1628,1404,1238,1166,1022,1182,1204,958,703,769,838,688,1044,1450,1346,1208,1230,1362,1013,720,1082,1206,921,986,1272,1334,1338,1470,1350,1310,1342,1600,1396,1362,1510,1968,1364,969,909,872,1036,1166,1142,1074,1218,1362,1350,1256,1364,1628,1290,1162,1488,1112,778,1012,1288,1340,1310,1272,1034,802,1004,1104,871,642,789,1009,1314,1438,1124,890,794,507,288,274,358,596,908,1020,1272,1590,1570,1112,810,903,1015,992,891,1026,974,966,1090,1070,1086,1070,732,1118,1764,2248,2030,1078,885,1026,1102,1021,1290,1190,945,1140,1376,1312,1138,821,902,767,742,1094,742,365,276,529,485,377,373,329,443,826,1186,1166,964,866,1040,1582,1400,1328,1372,1070,1004,1094,1040,999,669,353,375,375,590,999,1028,924,774,662,634,744,752,576,680,1170,1460,1402,1342,927,655,468,427,516,645,769,758,744,882,807,955,913,720,761,980,1074,815,721,574,614,1040,1270,1404,1466,1236,816,730,1082,1056,705,980,1170,1094,785,919,987,973,841,927,961,704,692,952,1076,1152,1114,852,601,391,303,684,1408,1230,763,1007,912,1296,1232,1128,908,563,375,367,458,503,437,530,523,598,1146,824,774,840,969,1222,1198,973,576,577,1058,1440,1200,1038,1230,1430,1560,1344,1324,1478,1372,1316,1336,1322,1340,1112,1030,987,962,970,1244,1270,1422,1376,858,860,1218,1382,1382,1284,1224,1230,1378,1132,1009,1182,1074,1196,1208,915,785,1012,1098,1240,1428,1324,1076,822,449,411,393,374,454,503,391,322,330,330,336,357,424,608,768,711,574,507,515,444,457,474,479,469,393,383,397,422,509,745,809,916,918,721,880,1146,892,1114,1576,1706,1898,1902,1894,1926,1770,1578,1354,1074,1160,1028,810,1180,1652,1624,1604,1616,1642,1626,1404,1034,1256,1592,1788,1942,1866,1622,1368,1222,1182,1192,1090,1350,1388,1432,1502,1232,1158,1190,1026,755,719,1034,1252,1136,1052,1312,1282,1316,1256,1220,1330,1498,1378,1262,1238,1120,1062,1202,1230,1250,1276,959,1262,1562,1190,846,892,1232,1466,1506,1522,1374,1470,1236,958,1094,1007,1038,878,561,565,869,1160,1008,909,1022,939,925,1038,1232,1244,1048,672,1094,1168,935,626,603,1318,1882,1730,1542,1326,1034,697,431,395,359,312,464,446,453,679,880,1208,1298,1186,1222,1504,1744,1746,1454,1444,1502,1384,1280,1046,1110,1260,1256,854,813,841,858,834,967,980,877,1060,1058,1003,1176,1158,1018,1214,1216,1156,1166,1064,1180,1364,1488,1214,937,1060,953,907,959,1146,1152,863,489,359,620,807,1018,1262,1120,813,1046,1218,1238,999,1040,1074,1288,1114,857,931,1306,1424,1170,1128,798,691,869,1080,1230,1194,1036,1132,908,1086,1372,1274,1394,1228,1188,1124,1148,1050,1028,1504,1218,1172,1230,1356,1382,1376,1624,1494,1054,958,1132,1154,1196,1144,1350,1336,1154,990,821,1007,1236,1008,1002,844,830,789,1202,1208,1142,1130,968,774,667,855,880,771,1074,962,610,710,1038,1182,1330,1378,1044,879,742,795,954,760,583,411,758,1188,1030,1092,832,914,1284,1130,728,688,966,1152,1242,1092,1414,1300,1054,1122,913,1356,1700,1302,986,706,557,542,579,550,521,704,1224,1306,1632,1472,1306,1312,1204,1158,1226,1360,1316,1300,1270,1418,1498,1300,1196,1404,1316,1250,1292,1682,1842,1276,1100,1144,1224,1236,1146,1314,1488,1480,1472,1536,1416,1108,915,714,478,346,361,498,534,489,384,335,554,1112,1650,1364,965,720,592,379,408,644,960,843,634,453,424,454,684,1124,1266,1454,1876,1608,1730,1494,1316,1122,1036,621,345,506,764,643,764,1228,697,612,822,545,759,811,686,847,818,711,980,1354,1464,1400,1438,1052,442,506,1034,1098,1074,995,1056,906,883,839,1054,1312,932,835,727,500,351,444,616,702,1150,1234,1152,921,585,616,931,1154,995,1506,1458,1118,1084,1028,983,828,907,1032,1024,1184,1142,1078,1360,1170,499,455,579,441,442,426,377,442,857,1352,1404,1170,863,379,360,333,436,449,507,871,1208,1318,1312,1066,667,574,941,1138,1102,929,540,796,781,573,776,1186,1188,974,721,830,1124,1078,1118,1554,1736,1806,1612,1098,1166,1280,955,1000,1128,1126,905,641,547,602,664,848,764,463,396,357,549,689,761,1156,1476,1038,613,723,978,1206,1354,1222,1102,948,628,529,676,616,603,1009,1003,861,1034,1362,1468,1350,1016,1002,984,925,1256,1332,844,713,1416,1482,1022,1038,1382,1354,1066,787,1012,1278,1344,1082,995,1176,723,913,1096,1204,1322,898,771,968,1118,1404,1690,1834,1658,1610,1510,1670,1444,1330,1400,1250,1288,1804,2018,1858,1898,1734,1298,989,901,846,1026,1268,1492,1350,1068,1019,1350,1766,1776,1404,1256,1522,913,675,594,517,535,541,606,620,1026,1288,715,511,689,1184,1490,1638,1614,1608,1642,1586,1530,1578,1380,1416,1406,1124,1844,2510,2508,2394,1182,791,985,1050,990,1154,1430,1444,1282,1240,1172,1092,1292,1128,857,639,917,1005,780,590,683,714,681,586,456,616,692,535,423,613,789,655,688,771,870,1202,1454,1370,771,798,614,1030,1712,2266,1192,447,384,593,626,571,832,1042,870,396,420,635,827,817,749,1008,802,664,725,472,529,582,659,664,809,873,1076,1704,1322,932,1060,1086,959,676,428,438,559,1066,1280,1374,1540,1566,1430,1320,1554,1562,1090,956,1112,1098,1134,1238,966,880,1046,1214,1428,1340,1284,1310,1036,737,696,945,1194,1180,1284,1166,628,479,495,469,461,401,353,424,916,1180,956,794,483,754,1310,1026,1130,1100,560,371,324,452,689,651,714,810,561,479,560,516,246,258,286,337,369,489,595,674,722,659,623,659,584,546,456,579,945,1212,926,587,1520,1886,1064,1086,1354,955,1162,865,739,534,486,852,1278,1500,1372,1006,781,766,1013,960,885,591,1030,844,570,629,437,797,832,460,390,372,433,771,1250,960,727,830,728,576,505,410,788,1318,1176,941,846,695,612,549,566,883,1100,1030,1074,1046,630,1058,1646,1316,639,720,985,848,601,612,936,1250,844,508,855,1366,1720,1362,1142,1356,1184,1198,1152,920,914,611,467,746,573,418,556,665,573,464,498,669,706,1230,1562,1538,1528,1368,1148,1224,766,301,309,500,617,484,300,357,547,610,692,811,1160,1902,1976,1686,1632,1126,879,1258,1300,1472,1294,1192,1222,1000,738,712,824,725,707,919,875,1072,1296,1080,614,1040,1516,1274,974,638,880,1136,843,662,568,445,512,524,783,591,346,354,462,850,1220,839,446,486,549,733,698,888,905,979,873,794,691,509,429,574,812,899,1134,1002,890,1196,1284,1440,1406,1512,1388,1042,1148,1478,1350,889,596,392,412,462,467,454,543,510,502,691,1124,1208,1316,1714,1544,1312,1336,1334,910,941,1124,1042,1054,1001,927,962,957,502,364,478,450,471,462,672,966,1252,1070,785,672,522,713,757,601,1007,621,428,477,499,344,284,274,275,348,377,284,333,436,656,694,443,370,577,653,487,405,420,375,336,300,391,956,1554,1444,1106],[662,1028,900,429,324,508,959,1202,1104,799,886,832,548,504,550,681,594,738,1184,957,794,808,719,664,990,1304,1246,1020,963,1168,1396,1252,796,825,1240,1516,1494,1554,1610,1652,1208,895,1086,1422,1286,1116,1028,928,686,745,845,1078,1416,1250,1304,1564,1330,1024,881,1050,1170,999,1166,1400,1258,1116,1220,1150,1200,1200,1518,1302,1086,971,982,932,993,913,698,982,879,614,463,575,1180,886,444,424,331,492,919,968,630,664,963,812,867,1134,1180,1042,1246,1260,965,883,998,1308,1716,1352,1056,1100,788,783,692,1216,1392,1228,1216,866,731,1104,1246,1094,886,902,816,1126,1005,841,903,919,1160,1484,1798,1782,1388,1156,1092,1100,1070,1144,1434,1572,1318,1070,1009,763,591,866,1186,1042,573,386,351,411,476,475,606,1026,1182,1304,1230,961,963,993,683,630,823,840,664,1092,937,1144,1392,1694,1726,2132,2174,1718,1906,1880,1454,1498,1478,1182,2002,3098,2392,1530,1284,1088,1016,1284,1348,835,440,351,319,325,363,781,1354,1108,1058,951,949,1192,918,935,638,283,271,340,662,618,501,566,455,695,839,964,1162,1038,1172,1262,1016,940,1292,1504,1284,667,633,857,905,964,980,1214,1138,936,929,678,457,595,894,761,597,631,635,583,694,826,987,1002,1116,576,521,569,807,996,844,774,790,688,651,775,667,1114,1328,1712,1410,1182,1354,1362,1172,1226,1180,1038,1064,1015,1322,1296,1304,1338,1512,1110,1070,799,744,969,1050,1164,1040,489,366,406,700,1174,1416,1090,1144,1268,1262,1398,1560,1382,1342,1390,1326,1340,1672,1648,1090,732,636,983,1428,1522,1544,1422,1416,1664,1242,943,1016,1496,1532,1356,1154,1428,1528,1340,1324,1212,992,1190,1198,539,518,808,1034,1184,1146,1052,860,766,664,420,348,636,1190,1326,1262,1102,1446,1242,1076,1294,1296,901,625,673,768,1194,1362,1134,1156,1013,1434,1062,695,1254,1672,1064,1094,1788,1654,1328,1322,1166,1236,1590,1506,1282,1584,1818,1582,1266,1278,1244,1206,1144,916,1046,1318,1572,1218,1022,1364,1412,1404,990,1016,1244,1102,1400,1598,1670,1632,1578,1488,1378,1094,1216,1202,937,912,1030,1286,1428,1260,803,756,1011,659,362,342,362,780,1240,1232,1182,1220,1164,838,953,904,762,625,570,835,795,1001,1192,873,986,988,637,1042,1286,997,917,913,775,809,749,1040,1522,1654,1184,924,897,871,1098,873,851,663,649,919,1050,759,375,464,677,559,352,569,707,865,1184,1184,1470,1708,1290,1256,1168,885,882,1274,1466,1230,996,1220,748,460,433,445,406,620,472,664,747,545,689,726,625,723,663,869,1162,1236,1206,1066,1212,1005,718,776,744,688,613,393,510,544,898,1122,962,697,811,1050,871,675,578,616,1068,1100,1250,1430,1310,1246,1362,1590,1290,1162,1230,1246,958,882,1250,812,626,664,953,1114,1206,1200,965,838,984,947,637,502,410,384,675,1206,915,555,671,536,708,1072,1234,1038,556,357,327,363,491,623,638,496,788,1168,736,510,785,1158,1382,1436,1120,760,1068,1382,1752,1406,1220,1032,1156,1550,1462,1434,1440,1300,1304,1236,1220,1394,1132,1056,1023,939,1136,1126,1098,1462,1500,1302,1286,1116,1146,1214,1294,1240,1250,1364,1090,1138,1256,1346,1398,1342,1478,1708,1230,1346,1380,1270,1146,918,763,480,375,364,321,311,332,321,312,312,320,357,382,456,685,883,852,686,621,531,432,408,452,504,433,529,490,444,563,701,1015,1272,1216,1122,1080,1082,1190,835,1100,1610,1808,1868,1870,1926,1964,1666,1562,1312,1048,1452,1528,1090,979,1324,1570,1610,1598,1544,1432,1320,1176,1232,1474,1676,1722,1846,1960,1880,1500,1214,1202,1130,1324,1498,1532,1508,1576,1440,1098,871,1015,1086,1150,1502,1446,1150,1316,1460,1302,1300,1226,1126,1080,1007,1224,1344,1224,1190,1426,1416,1342,1248,1358,1792,1764,1592,1454,1320,1510,1560,1344,951,888,1286,1246,1198,1084,938,954,642,597,703,833,933,669,636,1021,675,722,873,1032,1196,833,1028,1158,860,1104,960,543,896,1768,1822,1420,1346,1394,1012,597,430,301,342,399,449,572,688,653,1014,1214,1026,1164,1452,1824,1954,1666,1370,1258,1256,1278,1062,1302,1336,1270,1178,1294,1134,1012,1062,1166,1032,1080,1326,1234,1070,1110,1140,925,1072,1068,1202,1038,726,1032,1232,1078,861,778,861,1126,1294,1092,1104,1086,890,787,714,525,470,633,839,886,855,1340,1232,922,1050,1276,1280,1202,918,815,989,1194,1448,1578,1480,799,527,703,1132,1154,1114,1190,1148,1026,1350,1336,1230,1306,1232,949,950,1260,1178,1210,1232,1004,1080,1098,1066,1180,1526,1712,1368,1174,1158,843,764,733,951,1212,1218,1218,1021,655,692,695,461,531,469,883,1174,1736,1522,1194,1002,836,741,600,729,815,893,999,1018,977,1116,1264,1280,1232,1096,1011,797,471,475,642,955,798,745,794,928,1142,1160,913,1012,1204,1284,1130,923,1088,1324,1466,1326,1050,1450,1776,1586,1003,1044,1214,1028,1024,1222,630,588,589,559,642,1042,1520,1512,1288,1084,1198,1294,1224,1156,1230,1236,1120,1134,1326,1466,1354,1136,1130,1344,1222,1290,1556,1286,1222,1268,1072,1076,1108,1088,1240,1426,1384,1274,1440,1588,1752,1610,1434,754,455,363,344,800,1388,1180,780,790,863,1366,899,780,789,478,410,327,327,429,650,1100,1178,857,694,386,384,561,1116,1526,1866,1816,1422,1298,1332,1392,1600,1180,787,922,1126,899,818,1228,612,684,710,489,523,608,699,1021,1068,1048,1210,1306,1178,940,985,703,379,602,973,905,800,869,1160,983,650,627,1028,1492,1472,989,616,649,565,496,656,789,962,1288,1504,1056,536,603,677,973,1222,1466,1586,1072,910,1116,1272,1192,1176,1242,1324,1124,1176,1082,879,745,427,502,714,633,550,609,807,1144,1072,1410,1318,1148,861,535,409,320,343,419,801,1226,1282,1316,1246,1160,969,689,1028,1090,947,763,933,1116,1094,1138,1230,1230,1186,772,685,619,954,739,1190,1410,1526,1780,1342,887,1160,1166,967,1212,1100,1398,1038,940,899,922,544,550,971,948,794,659,579,597,613,962,1152,1134,733,684,947,1080,1224,1144,895,900,797,488,389,397,871,1286,1736,1568,1098,1010,1114,1138,1138,1222,856,747,988,1042,772,1180,1752,1512,961,1184,1344,1184,956,775,953,628,794,1108,1064,1078,990,1018,1108,1176,1130,935,702,547,553,637,1264,1698,1520,1288,1302,1350,1342,1654,1522,980,1054,1406,1390,1250,1470,1594,1154,1007,808,899,1210,1412,1502,1628,1650,1312,1088,1098,1032,971,923,1152,915,741,591,527,529,560,604,599,940,1572,1132,1042,1148,1252,1346,1520,1498,1354,1316,1218,1094,1066,1058,1100,1152,1018,1786,2444,2498,2388,1634,1234,1332,1218,1076,1044,1154,1294,1212,1278,1242,1290,1430,1262,828,1240,1512,1020,705,767,994,776,476,375,532,1004,901,610,521,521,744,898,976,926,968,988,1260,1182,630,737,516,675,1158,1428,763,327,368,403,577,915,861,764,792,647,420,534,873,1104,1160,1260,1100,1134,1172,544,508,467,739,761,686,1108,1592,1694,1226,962,1036,910,912,957,615,573,644,904,1130,1666,1680,1498,1356,1332,1366,1062,672,755,1150,1248,1182,1098,872,1014,1284,1232,1062,927,1015,1066,908,908,1132,1376,1432,1394,1254,1060,672,469,455,411,383,380,365,390,510,641,772,708,480,782,929,955,1466,1220,449,305,351,517,476,438,803,895,591,407,282,242,263,329,356,391,382,362,480,621,622,703,642,594,612,510,467,625,828,1096,875,424,539,709,791,839,744,1294,1418,666,439,399,482,689,889,1306,1454,1440,1372,846,789,893,776,681,976,725,413,451,691,1062,1036,689,508,392,619,776,1060,1344,1238,841,689,558,418,317,517,796,685,813,796,602,457,503,561,653,1015,1140,1234,1176,1128,1410,1546,1494,724,509,1044,1072,838,743,1040,1402,1100,816,1350,1634,1374,994,1110,1154,1052,2004,1582,1062,1132,711,399,435,379,415,1032,1260,608,447,652,836,1028,1644,1204,1166,1372,1654,1600,1036,494,319,480,788,762,431,299,327,342,472,694,765,847,1448,1554,1274,1704,1336,841,948,1154,1356,898,1022,1286,1230,1070,891,924,727,524,637,1056,1332,1346,1208,961,1044,1300,1460,1134,734,722,769,648,912,720,541,499,579,1250,1200,600,346,528,816,827,555,392,624,561,612,786,1168,1212,883,614,670,664,565,716,946,956,1154,1468,1252,1130,1090,855,980,1138,1250,1186,1220,1332,1172,1268,960,705,433,472,568,615,1076,1180,755,691,1007,1200,1328,1316,1186,1180,1494,1230,1244,1482,1544,1246,1218,970,639,735,771,669,538,807,816,574,369,341,570,798,802,712,709,584,447,716,754,530,995,543,472,781,568,343,290,299,309,328,375,307,318,450,768,891,717,785,1128,938,472,421,386,339,371,375,738,1246,1236,1152,731],[596,1070,1108,612,587,1112,1302,874,917,865,1030,674,615,744,714,843,689,927,1374,1448,1498,1044,672,547,844,1088,1284,1208,985,1076,1182,857,542,507,783,1308,1590,1816,1856,1404,934,854,1358,1504,1452,1632,1376,1068,760,741,922,1144,1416,1110,1132,1298,1854,1710,866,895,1094,1254,1210,1100,1060,965,954,1146,1188,1212,1444,1272,1166,1246,1086,905,1094,1124,708,1009,1296,819,663,851,1012,630,495,559,503,949,1224,1078,624,548,788,851,831,1002,1158,1238,1260,1184,995,804,975,1124,1242,1000,955,1212,912,655,715,1086,1132,1038,1060,670,885,1164,1060,1000,1122,1088,843,1218,1064,1009,869,676,643,833,1360,1626,1354,1100,1012,1064,1170,1162,1180,1562,1386,1120,1232,1282,1030,1046,1142,698,506,450,480,500,944,1058,934,775,681,974,1146,1218,949,808,724,681,554,793,1106,1226,916,1116,1480,1320,1582,2322,2432,2150,2270,2020,1450,994,1148,1066,1526,1774,1646,1532,1042,885,1328,1668,1290,739,454,426,434,412,396,537,475,470,861,972,885,916,744,696,442,328,403,382,474,568,615,905,806,600,897,969,758,1042,1284,1338,1110,743,1066,1372,1166,1098,1194,857,468,490,932,1152,955,669,512,602,578,949,1350,1150,705,758,805,929,1228,1230,1026,785,894,586,581,832,1050,1052,1136,843,525,582,702,869,735,1160,1250,1498,1252,871,1278,1368,1108,1226,1250,1242,1074,688,902,1318,1064,912,1003,908,1016,1064,922,812,675,795,702,413,433,720,844,922,891,1042,1144,937,984,1192,1406,1254,1130,1224,1312,1270,1406,1498,1398,1318,1012,851,962,1186,1428,1384,1558,1566,873,771,985,1192,1490,1210,834,1284,1368,1152,1234,1158,927,929,640,407,401,604,640,763,884,816,657,519,471,265,255,383,458,608,991,1316,1610,1142,855,1208,1260,874,897,1144,925,1284,1086,1009,1140,932,1202,1050,739,705,879,1078,1378,1446,1404,1540,1308,1166,1150,1416,1204,1008,1318,1632,1802,1650,1460,1376,1260,1090,913,1166,1046,935,896,1204,1948,1450,719,979,1272,1182,806,879,1432,1544,1560,1812,1838,1776,1720,1654,1236,1170,1366,1524,1592,1338,1400,1398,1228,1254,1118,860,691,547,920,1228,1224,1142,1184,1106,667,512,433,792,776,1476,1682,1200,1382,1260,1094,1696,1152,681,792,833,773,922,786,392,371,337,860,1550,1522,1234,835,552,885,1236,1208,949,801,833,949,1610,1590,769,915,878,610,651,764,924,1034,1008,1188,1738,1484,1058,1262,1462,1192,1038,1766,2358,1500,1080,865,532,477,443,443,399,390,423,750,992,838,901,1040,896,828,933,1256,1212,1242,1316,1278,1246,1042,1036,1098,1068,986,887,524,620,769,858,998,735,447,549,762,701,657,897,939,1156,1170,1028,1362,1356,1538,1808,1568,1218,1150,1102,1074,873,727,814,774,732,788,827,808,1152,1148,990,835,564,558,468,500,537,446,616,921,742,501,578,585,514,646,971,1068,501,378,397,506,890,1030,761,861,1290,1308,1030,826,815,1013,1222,1332,1190,973,1096,1236,1754,1486,1242,1202,1294,1340,1096,933,1048,1246,1256,1320,1478,1506,1178,943,1064,1356,1256,872,1098,1458,1438,1356,1364,1176,891,905,1076,1180,1214,1264,1308,1310,1256,1346,1208,1184,1302,1516,1060,1118,955,913,997,891,610,441,446,491,368,344,342,336,320,316,362,388,420,566,772,852,777,609,596,477,505,496,597,576,544,717,548,658,840,771,893,1200,1172,1122,1174,1330,894,782,1224,1576,1812,1942,1952,1926,1846,1650,1574,1094,1068,1498,1604,1508,1068,1036,945,936,1134,1036,1038,1246,1294,1288,1424,1484,1268,1418,1758,1926,1866,1574,1402,1310,1316,1498,1600,1532,1722,1476,1344,802,990,1158,1480,1506,1466,1270,1274,1424,1292,1312,1176,1306,1362,1090,1300,1256,1260,1160,992,929,1132,1140,1168,1364,1442,1508,1114,1204,1272,1324,1046,880,1128,1268,1372,1488,1098,1006,705,490,608,803,761,686,500,736,1208,975,869,966,1178,1210,1152,1140,1064,669,988,955,556,553,1344,1802,1600,1398,1568,1310,771,403,331,338,572,832,622,474,444,641,1014,1290,1364,1226,1180,1272,1310,1264,1324,1404,1330,1296,1182,1146,1248,1294,1042,1050,1126,1186,1256,1138,1306,1188,873,641,731,841,884,870,1021,1396,1280,1122,1190,1174,954,787,938,974,995,953,893,948,1122,1130,1172,1186,765,536,906,910,746,1090,1162,846,973,1100,937,911,985,780,816,1068,907,845,827,865,752,758,645,690,1030,1346,1360,1146,1104,1242,1350,1896,1482,1140,1460,1558,1448,1242,1106,896,736,800,680,722,758,1023,1544,1378,1212,936,485,309,412,841,1016,813,903,927,701,638,612,598,532,411,594,1018,1422,1224,1058,1092,1064,1016,855,608,660,911,1001,1164,1284,1344,1396,1372,1212,1068,1106,1042,800,544,720,1124,1015,809,666,901,1238,1086,1078,1134,1180,1332,1432,1212,1304,1402,1244,1206,1096,1320,1526,1126,987,1496,1626,1392,1356,1128,643,596,586,550,612,911,1216,1340,1238,1362,1334,1318,1336,1234,1032,1094,1158,1382,1420,1372,1388,1364,1372,1290,1246,1394,1350,1348,1444,1320,1128,1020,916,1120,1432,1408,1104,812,1108,1280,1284,1384,1346,662,436,377,292,602,1030,976,1254,1544,859,838,459,537,348,348,342,316,262,373,910,1474,1188,948,880,374,397,546,879,1114,1534,1158,1007,1106,1416,1652,1316,1002,854,1015,1060,805,1011,1194,1088,1142,677,448,574,591,555,703,801,816,768,1092,942,599,517,672,907,1342,1172,746,695,990,1394,1394,593,426,935,1402,1322,1096,872,818,740,689,1304,1686,1102,1282,1448,1202,1180,1208,1122,1172,1272,1116,1282,1290,1088,1016,1288,1196,806,1056,1128,760,629,631,838,933,601,491,563,586,1020,1174,851,1090,890,1042,990,929,766,862,756,566,400,404,912,1224,972,1110,1250,1306,1198,959,1082,1246,1054,876,977,1058,1076,1122,1262,1218,1164,798,828,963,1080,816,916,709,728,1114,1140,1068,1182,1009,905,1128,1310,1214,1154,1048,1004,963,551,621,769,935,1194,772,499,590,603,816,1674,1974,901,606,787,821,907,1004,927,1086,901,789,535,472,853,1128,1348,1244,1108,1230,1508,1200,1330,1430,783,539,730,598,709,1082,1274,1192,1076,1206,996,996,959,858,1116,666,875,1182,967,872,1072,1090,1172,1188,975,848,700,586,483,515,998,1594,1534,1206,1366,1558,1448,1526,1282,1172,1078,862,771,827,1018,1612,2248,1796,962,971,1028,1058,1262,1836,1936,1532,1076,915,855,926,1644,2124,1678,1010,618,526,474,520,577,572,840,1552,1238,1164,1126,978,873,933,919,837,900,984,1140,1130,1254,1023,1156,955,1656,2372,2476,2396,1916,1584,1486,1100,910,1210,1878,1714,1208,1040,1206,1202,1170,1180,857,793,991,862,620,917,1308,887,558,366,574,987,895,696,518,345,461,834,1052,1106,996,880,1178,853,772,847,498,311,413,401,334,373,379,468,733,747,595,709,827,693,561,726,961,1080,1130,1196,1302,1290,883,547,645,621,831,904,907,1318,1472,1136,932,847,808,833,1220,1386,971,974,707,655,1106,1370,1334,1338,1260,1154,1232,829,579,735,1102,1042,769,601,990,1454,1510,1198,835,983,955,1034,1216,1202,1294,1242,1184,1048,875,811,576,417,426,361,354,397,527,498,421,359,431,537,701,823,767,792,1015,750,481,369,541,597,524,444,668,680,617,376,228,310,362,383,427,423,406,428,539,666,833,937,777,866,884,756,696,780,897,831,457,407,780,1234,988,938,882,861,649,354,296,282,455,711,623,775,824,1030,1356,1302,817,785,732,805,875,825,792,659,637,976,1222,1438,980,877,831,573,393,691,812,816,737,613,738,902,457,312,310,448,590,433,351,390,503,678,893,1168,1416,1360,1626,1564,1134,1346,834,451,690,930,700,445,593,783,823,1266,1572,1250,1208,952,818,738,994,1578,1318,785,558,536,443,429,335,443,905,1016,915,731,797,1092,1156,955,844,1164,1284,1372,1562,1278,894,452,652,928,660,349,320,362,330,436,860,976,778,911,1038,1140,1674,1434,1024,902,918,854,708,864,1178,1490,1192,949,1166,985,585,452,849,1210,1346,1310,1144,1266,1590,1442,1144,866,728,736,835,1166,781,518,641,846,1160,1200,843,603,830,970,742,491,446,800,1044,844,872,1188,950,529,465,523,695,816,824,952,1282,1550,1540,1374,1262,1007,828,756,856,1196,1166,1136,1252,1468,1376,1336,896,467,481,445,806,1886,2106,1378,824,966,1074,1490,1278,1015,1234,1308,1088,915,1046,1064,1092,1160,1158,698,807,962,660,812,1214,1206,760,392,368,481,795,913,638,660,527,459,473,454,483,491,383,785,1142,950,618,302,358,328,273,402,419,363,551,1158,1146,761,818,858,633,420,451,339,308,357,462,867,1052,1184,1266,782],[504,683,899,854,717,1066,1434,1056,1001,946,954,684,980,1190,833,539,437,755,1318,1468,1450,1052,867,651,835,894,1032,1098,1088,1070,747,545,758,642,420,792,1284,1586,1814,1262,990,1028,977,1198,1512,1424,1196,1140,1072,1021,1044,1224,1370,890,887,954,1224,1256,860,647,721,1098,1238,1116,1144,1088,956,839,907,1250,1508,1418,1472,1368,1036,940,962,1106,1184,1528,1758,1320,1174,1060,1128,1058,748,708,932,1410,1422,1354,985,733,765,669,634,1578,2270,1200,1146,1168,991,822,778,940,1128,946,1062,1070,847,702,755,997,820,605,655,583,972,1176,1186,974,1078,920,1023,1606,1478,1178,1058,868,691,863,1214,1206,1118,1054,739,782,1056,843,562,502,562,852,1188,1266,1426,1376,1272,863,681,489,771,1050,1252,1224,955,506,413,533,637,800,970,1130,953,753,615,895,1198,1202,929,1054,1134,1042,1716,2094,1960,2016,2136,1804,1224,985,988,1208,1322,1062,1138,1036,744,1108,1348,1276,1112,1118,959,619,488,496,561,620,462,503,796,989,1174,653,538,436,384,364,446,480,583,476,484,914,1054,1116,1023,869,611,1078,1182,985,853,724,1144,1192,764,1130,1230,568,465,630,688,758,707,601,639,1046,1108,957,1158,1178,740,539,719,1200,2010,1376,628,487,532,572,737,982,921,1086,1162,504,439,464,451,608,685,1120,901,658,676,710,853,875,989,1144,1270,1232,921,879,1008,1090,893,547,446,775,1138,899,746,760,922,926,454,345,545,1021,1260,1182,1092,1090,866,574,480,710,933,710,579,1100,1302,1240,1017,1030,1214,1302,1296,1284,1042,1112,1282,1020,1246,839,582,734,764,838,1270,1118,803,912,1140,1172,1262,1086,659,678,943,761,458,438,615,803,736,821,993,644,346,342,304,343,339,378,522,786,927,813,963,1296,1102,1116,1162,1100,691,1110,1024,1216,1110,1276,1506,1384,1038,599,895,1276,1230,879,1216,1510,1294,1252,1410,1622,1338,1154,1238,1488,1764,1570,1692,1494,1013,917,1230,1210,939,860,1020,1310,1628,1264,689,1030,1256,1146,717,737,1244,1416,1278,1232,1352,1472,1580,1664,1730,1710,1736,1932,1638,1096,1542,1594,1021,893,838,1070,1194,1086,1454,1280,1188,1092,1188,1044,772,480,466,594,678,1416,1610,1270,1056,850,611,1028,820,635,569,857,1120,1434,875,353,426,359,711,1464,1636,1592,1078,1094,1344,1272,1384,1286,805,608,879,1860,1616,656,838,641,545,791,990,946,713,677,1042,1260,1222,1378,1688,1700,1490,1366,1598,1780,1180,1208,894,559,488,463,452,424,409,447,746,1152,1110,1178,1374,1262,897,1050,1036,1016,1432,1354,1208,1292,1308,1354,1324,1260,1019,621,430,921,1290,1054,875,833,862,871,730,462,611,1036,960,1042,1082,884,1278,1260,1208,1398,1384,1294,1256,1009,988,1158,1044,942,1218,1230,1220,1036,713,995,1070,981,661,351,330,419,451,420,426,449,471,489,507,585,599,572,497,592,678,409,413,487,785,1122,1170,1236,1386,1402,1422,1236,755,514,781,1182,1456,1330,1340,1362,1416,1462,1292,1100,938,1172,1322,968,695,811,930,1144,1190,1358,1556,1520,1340,1284,1262,770,561,914,997,1176,1428,1368,1056,969,918,965,1206,1170,1108,1282,1316,1320,1280,1294,1446,1324,938,985,1044,896,895,1158,1262,951,733,577,459,372,372,344,321,318,307,348,393,456,667,760,708,642,563,570,500,563,554,539,550,695,863,886,691,503,544,717,1023,793,886,940,1200,840,758,1266,1636,1790,1974,2018,1972,1828,1588,1466,992,1198,1256,1308,1262,1154,1174,947,791,607,518,680,824,1086,1306,1236,1166,1034,1108,1266,1600,1874,1944,1840,1572,1328,1350,1468,1430,1656,1512,1152,1136,1284,1252,1500,1450,1292,1130,1282,1400,1550,1448,1152,1076,1190,1158,968,773,887,909,800,695,886,1250,1298,1378,1290,1348,1460,1572,1328,1318,1005,960,1298,1290,1554,1488,1206,1170,497,387,492,624,509,421,359,604,982,883,639,599,843,1386,1776,1148,1306,926,1216,949,590,415,796,1570,1644,1292,1550,1350,1094,566,615,689,1056,975,571,502,517,659,1144,1464,1326,782,769,1114,1136,1108,1226,1336,1202,1001,1066,1154,1230,1116,1034,1144,1074,1142,1332,1224,1282,1023,883,580,408,408,486,478,604,897,1012,971,720,797,1132,1114,1104,1028,696,539,738,1108,1216,1144,1218,1120,876,832,1116,1028,1002,1340,1158,793,670,606,540,639,979,1054,984,943,1174,1166,1100,1108,1252,1064,625,609,1070,1290,1386,1244,952,1014,955,1252,945,801,1388,1496,1446,1470,1192,1050,879,681,665,888,803,1032,1506,1816,1576,843,372,331,479,1048,1088,656,852,955,822,988,1168,957,680,597,908,1598,1664,1108,1188,899,544,869,815,508,452,795,1006,1124,1330,1398,1384,1338,1076,839,963,1202,1226,962,1026,1134,998,1002,1032,1100,1090,876,918,957,1206,1296,1288,1272,1472,1432,1044,945,1242,1372,970,1180,1330,1672,1986,1676,1096,718,532,542,682,794,814,801,762,1120,1064,1214,1288,1284,1228,1230,1324,1326,1322,1250,1262,1324,1314,1416,1600,1398,1288,1206,1354,1476,1554,1334,1026,906,1080,1712,1548,1388,1092,569,609,766,825,1004,862,568,411,336,318,316,449,640,838,1060,548,398,376,344,363,509,597,578,468,366,616,730,750,929,904,424,371,735,908,654,857,1076,1174,1228,1726,1676,1336,1182,1136,830,1028,822,1248,1282,1340,1448,961,638,1040,1296,650,400,455,528,544,692,482,376,664,1386,1736,1528,1068,566,611,767,965,990,681,490,890,1176,904,880,995,1070,1026,970,1304,1292,1072,1202,1542,2054,1716,1396,1050,987,996,1023,1062,966,931,744,1066,759,861,2106,1692,1040,724,492,422,636,893,767,666,773,1260,1378,774,826,841,835,662,452,591,868,862,744,552,531,664,782,890,1090,1092,959,1074,1002,1104,1284,1040,868,626,686,763,985,1344,990,910,716,782,978,835,946,1072,713,564,880,1164,830,1096,1001,969,1040,1052,1015,1072,937,1100,1144,946,743,430,580,736,634,684,957,1017,908,2248,2126,856,583,616,721,721,998,1144,1186,899,1002,894,715,785,962,980,1028,1146,1294,1434,1074,1420,1650,961,853,789,525,647,677,825,1104,1098,1202,1098,831,802,959,1130,857,1078,1166,870,888,983,1042,1326,1070,976,1038,1052,869,597,526,861,1534,1528,1260,1704,1708,1394,1756,1278,1232,1030,722,737,835,1244,1798,2476,1924,1220,1024,919,886,973,1446,1784,1640,1224,909,739,907,1560,1776,1356,989,622,537,468,519,566,537,771,1320,1240,898,847,953,913,869,944,1078,1258,1264,1410,1532,1454,1176,1282,1060,1330,1938,1932,1766,1452,1600,1778,1142,710,1262,2014,1770,1120,731,845,945,908,1176,1438,1060,1015,777,771,944,954,902,733,375,557,1078,1048,623,421,340,458,662,905,955,825,1086,1084,622,800,889,514,255,377,506,551,716,794,521,434,317,310,576,893,1050,984,958,1030,1230,1238,1294,1448,1650,1088,752,753,946,1118,1152,1460,1596,1366,1210,1064,825,1096,1742,1986,1676,1410,1338,1212,1268,1328,1228,1238,1023,885,971,1040,620,511,575,1005,1216,865,551,860,1132,1218,951,498,584,616,1042,1404,1208,1308,1434,1272,786,543,626,473,380,430,363,311,448,849,847,486,343,371,601,941,937,866,831,820,769,558,533,626,573,490,458,477,506,552,451,378,414,408,375,381,388,395,410,586,833,1054,1070,988,1001,1102,1088,1114,1042,1009,939,659,649,722,747,973,966,999,1017,705,293,263,274,351,343,362,396,467,626,944,1252,1412,1336,1076,995,1114,1052,1146,1086,560,713,1550,1808,1470,1074,683,569,454,500,995,1264,744,666,1360,1664,1136,548,383,336,726,677,451,468,541,563,589,1224,1522,1274,1476,1246,1118,1106,857,700,976,1234,794,584,664,625,700,1234,1372,1360,1376,918,605,930,987,792,749,577,565,565,566,659,419,296,319,471,835,1010,861,1044,1310,1140,1108,1482,1396,993,886,1164,1412,853,742,767,530,390,289,313,315,370,697,1050,1202,1012,1192,1366,1736,1858,1450,1266,1318,956,661,637,696,851,658,911,1158,1334,743,430,777,1140,1316,1228,919,1100,1418,1220,1396,1048,937,839,1026,1324,967,596,827,1166,1048,990,976,857,938,1184,964,651,620,1038,1230,937,957,913,698,424,408,536,1100,1100,905,1272,1724,1888,1640,1354,1226,1080,837,640,747,1024,1268,1334,1566,1716,1352,1276,861,437,470,487,866,1476,1824,1782,1278,1034,930,1214,1130,1124,1210,1376,1470,1252,881,882,1480,1356,1520,1152,1034,976,924,896,969,1090,678,393,390,396,781,976,630,536,436,418,554,921,1094,1120,1088,816,642,612,532,327,364,303,326,450,482,414,412,561,482,394,491,419,329,318,557,576,439,368,625,1210,1448,1062,669,568],[471,456,628,830,458,415,947,955,640,686,720,574,927,1142,1023,538,386,623,952,770,916,889,895,671,697,1090,1340,1410,1282,1134,670,802,1214,1196,567,603,1260,1550,1602,1522,1426,1158,606,796,1394,1254,1614,1166,852,922,1034,1198,1462,1358,1188,898,668,1019,769,559,632,1030,1372,1036,996,1080,959,1134,1348,1294,1424,1234,1352,1278,1064,884,894,611,1084,1386,1296,1304,1114,879,1238,1280,1108,932,1198,1340,1578,1210,698,568,849,1110,829,1392,1728,1220,1432,1294,1136,1166,1007,984,966,805,817,703,589,587,848,1023,561,472,498,632,807,780,800,833,1018,933,1192,1340,1194,1076,1238,988,833,810,1148,1154,968,1086,940,890,1026,882,672,769,626,844,1204,1270,1338,1256,895,520,419,468,796,1176,1278,1010,887,406,486,965,754,439,546,754,865,938,943,951,1184,1134,1092,1234,1056,1268,1664,1904,2338,2050,1988,1666,1362,1300,1064,1508,1320,728,872,680,899,1300,924,955,1238,1226,1116,904,618,579,632,857,555,656,778,908,792,540,524,425,375,350,277,338,483,503,579,810,1204,1584,1226,1072,1128,1180,982,756,630,711,1030,1028,855,1506,1680,792,739,1136,912,1019,1058,897,866,734,940,1110,828,739,614,404,637,906,1204,675,337,610,963,810,1003,1112,784,1118,1013,533,540,572,515,542,699,1052,1152,890,437,500,719,800,818,1076,1352,1064,837,1156,1054,720,571,585,577,1004,1522,1110,872,976,1320,838,584,1372,1864,1548,1376,1230,1418,1182,951,765,764,739,536,465,593,665,1001,1182,1042,1030,943,981,1284,1436,1212,1003,1015,1026,1304,1078,854,965,944,1024,1220,1332,1184,941,1300,1422,1028,580,691,1136,1208,859,557,407,503,669,676,921,1128,778,414,354,389,366,362,351,329,334,465,730,1040,1478,930,1122,1136,943,884,1114,1204,1114,903,955,1100,1342,1186,677,882,1220,1022,684,982,1034,1098,1274,1260,1017,868,1182,1246,1028,1448,1478,1488,1106,1112,1360,1312,987,1040,1214,1426,1472,1188,940,680,783,841,798,519,594,1076,1278,1064,1166,1336,1202,1558,1648,1420,1390,1614,1730,1670,1460,1630,1580,1302,1042,717,776,1000,1320,1730,1372,1005,848,1190,1176,1244,1088,634,552,693,1010,1296,1338,942,878,495,576,848,753,625,1070,1548,1410,705,375,336,351,641,1460,1320,1204,1154,1228,1308,1360,1646,1472,912,861,1364,1780,808,396,543,591,499,505,979,1340,1092,1104,1226,1062,1106,1204,1586,1420,1390,1448,1450,1100,1118,1272,844,544,529,411,374,522,749,667,1144,1158,898,882,990,1004,803,915,1044,1182,1322,1216,1260,1350,1148,1256,1206,1244,1110,752,488,713,952,807,705,717,768,780,986,554,561,1050,960,1028,978,970,1278,1328,1262,1338,1262,813,980,1010,1052,1188,1218,1332,1510,1062,992,913,633,880,1034,1013,478,336,297,343,335,437,453,362,415,525,490,455,469,519,569,492,431,444,443,395,783,1240,1628,1750,1298,1076,1394,1080,622,462,545,918,1466,1594,1676,1566,960,597,843,1004,741,962,1296,1162,753,705,996,914,772,1098,1278,1352,1406,1354,1102,939,544,468,684,1064,1196,1102,1238,1840,1620,1316,1300,1176,995,1220,1218,1108,929,1122,1214,1174,1054,1150,1180,1160,1094,1138,1246,930,903,679,438,357,372,353,323,314,309,348,393,507,824,878,748,586,621,473,383,462,480,456,477,475,572,698,761,847,833,866,1196,979,907,1160,1304,914,842,1348,1666,1832,2036,2056,1992,1726,1620,1140,879,979,927,1068,1136,1196,1170,1126,1204,969,717,696,882,1158,1064,901,917,1005,1050,1022,1102,1406,1804,2010,1972,1772,1442,1464,1446,1550,1304,1110,1078,1110,1192,1172,1168,1246,1274,1432,1338,1394,1534,1400,1264,1264,1044,791,777,681,805,1138,1106,1246,1224,996,1338,1186,1224,1532,1690,1160,1082,1294,1418,1306,1322,1420,1486,1568,1130,848,733,482,397,439,559,516,524,601,476,391,461,1102,1640,1782,1088,906,1120,1088,776,615,414,453,1110,1604,1482,1622,1328,1350,1028,1028,1170,1260,1138,731,584,659,781,1148,1220,1394,725,888,1336,1446,1332,1178,1116,908,980,1272,1344,1184,1158,976,895,918,1086,1178,1142,1270,1066,803,744,838,759,455,521,491,424,486,631,642,585,1088,1168,1290,1120,775,571,560,725,889,1112,1304,1208,1396,1406,1140,1088,1138,1258,1314,1126,893,941,1138,1001,938,1008,771,1064,1136,1188,1023,1054,1412,1488,1166,749,1001,1024,1242,1264,1234,1226,790,604,882,1036,1020,1122,1296,1584,1302,1050,924,788,1013,773,610,1108,1488,1520,1450,949,375,353,475,1108,995,976,902,941,803,880,1024,858,825,908,1048,1484,1536,1490,1146,660,446,756,959,796,774,936,1021,1108,1114,1454,1340,1306,747,554,631,941,1096,778,787,879,908,1050,951,951,908,1110,909,890,1218,1346,1424,1606,1608,1532,1544,1382,1660,1626,1048,1348,1472,1744,2196,1872,1314,796,465,590,1034,1266,1194,828,545,913,1166,1266,1166,921,907,1072,1198,1328,1246,1226,1334,1012,1118,1318,1346,1282,1222,1242,1244,1194,1496,1152,954,1032,1448,1868,1538,1260,797,546,550,507,634,595,523,661,725,503,380,358,445,617,833,977,780,842,819,708,766,614,568,999,920,687,730,628,602,697,632,382,510,852,866,688,582,684,1042,1418,1868,1620,1562,1540,1198,658,673,805,1258,1012,822,1160,1236,988,1220,1520,650,371,400,397,445,308,266,311,692,1398,1666,1674,1190,617,427,628,636,626,576,805,930,651,603,734,918,956,1110,1100,1066,974,1476,1680,1428,1516,1330,789,527,624,792,1116,1084,765,563,432,863,917,1872,2652,1892,1042,724,748,559,654,1222,1152,883,962,1036,1036,932,788,771,868,600,357,379,544,747,655,653,695,1172,847,767,904,929,940,1092,961,894,983,675,585,414,559,556,857,993,960,1068,927,932,966,806,1064,944,691,482,1026,1194,727,1040,947,1098,1210,844,645,830,1188,1302,1019,1026,794,998,1148,959,966,1068,1003,1116,1334,1290,1140,1018,912,720,682,882,1166,1050,1194,1100,1142,1376,1007,598,965,1266,1038,1062,913,786,1030,1336,1152,1024,1190,1072,888,666,471,563,1023,1078,984,998,865,922,987,1058,1146,1336,1046,631,832,1050,951,1172,1046,744,946,1254,1138,1090,1056,1138,1534,1450,1036,1104,1230,1486,1590,1272,1274,1242,1218,962,1034,1360,1638,1794,1188,1204,1214,1050,976,962,1019,1290,1340,1428,1348,1194,1208,1276,1606,1578,1194,691,558,543,574,571,578,804,1288,1396,1032,966,1260,1134,1026,1120,1192,1260,1274,1448,1648,1516,1228,1296,1186,869,987,1042,1114,1426,2062,2130,1280,857,1026,1134,1040,1144,915,692,843,1160,1250,1112,1302,1019,689,1048,1102,986,1284,1172,711,640,686,511,316,366,399,617,558,585,799,794,1158,1020,924,1098,855,509,377,568,705,969,1152,908,512,314,276,303,426,836,1082,767,774,1146,1206,1260,1350,1264,1362,1122,1001,788,1036,1422,1300,1810,1704,1274,1150,1014,1136,1404,1886,1870,1628,1430,1240,1410,1272,986,757,801,852,522,867,1014,800,738,855,1290,1376,905,615,714,762,850,831,609,628,753,1082,1222,954,1026,1238,1152,1046,1086,786,348,345,332,333,321,448,945,1066,626,354,394,588,750,797,808,677,684,695,610,560,524,477,373,380,482,556,632,700,540,402,419,437,441,477,441,408,537,756,909,1044,1084,1068,1052,1002,1258,1246,1060,875,1122,1328,1192,1068,861,738,857,813,631,314,276,249,353,383,412,329,512,1030,921,709,926,1328,1440,1262,1068,1032,1158,1262,1140,989,1144,1210,1398,875,425,357,391,703,1264,1328,1086,849,1562,1548,1524,984,354,291,361,368,420,397,526,832,593,1003,1052,1288,1038,1042,1292,1248,1158,1044,1202,1072,634,604,865,904,803,1013,1250,1872,1772,1154,1040,1166,781,628,582,504,931,1684,1190,983,593,310,293,383,489,879,1066,843,759,883,868,972,1160,851,808,1236,1550,1304,993,647,582,653,493,312,303,345,543,783,1322,1266,1330,1518,1804,2026,1842,1606,1390,993,944,1058,984,689,616,756,1046,1094,677,591,832,1250,1384,1332,1242,1194,1294,1526,1358,913,969,996,930,1023,1286,980,565,684,739,1094,1332,757,681,920,705,635,788,1009,1072,1188,1384,1152,894,638,434,623,1386,1258,1184,1466,1876,1894,1438,1416,1654,1132,821,1106,1144,1166,1272,1076,2880,3040,1266,1208,1164,649,555,771,1072,1214,753,694,1015,940,762,835,930,858,845,1070,1268,1064,810,891,1302,1312,1230,902,962,1272,1326,1256,1274,974,442,630,711,489,660,784,615,533,508,522,988,1432,1136,912,1106,607,317,339,401,396,366,290,354,460,463,401,335,354,350,374,383,375,343,324,624,1128,1011,720,1158,1428,1168,902,683,726],[449,444,550,594,516,459,574,546,549,602,852,929,963,1005,1108,508,583,1044,706,726,1120,1170,1084,1062,1284,1224,1346,1762,1212,890,963,1322,1340,1178,662,922,1578,1408,1484,1584,1484,1444,957,1046,1180,1634,1792,1072,847,1224,1188,1002,1414,1268,1140,930,752,1102,1044,907,1014,1070,933,857,1158,1186,1088,1408,1408,1320,1260,787,984,1296,1222,917,766,625,779,1082,1030,1076,1320,1384,1124,1536,1184,693,1032,1482,1456,871,558,601,1102,1248,912,905,1013,1138,1270,1316,1294,1284,1214,1078,708,526,561,536,419,509,766,473,373,472,550,499,469,491,393,601,898,998,981,984,1016,854,829,1048,1178,1086,1132,1074,968,1088,1152,1144,1110,959,1100,1254,1064,1032,1008,1110,1378,1136,686,446,485,730,890,1138,1208,1204,940,644,580,916,630,605,703,727,689,876,1028,1354,1262,1026,1402,1170,852,1068,1428,1574,2266,2198,1938,1864,1354,1204,1240,1596,1410,1020,1132,1116,1256,1246,1108,1044,998,1060,1110,1054,948,943,906,1230,806,804,861,838,556,636,986,809,349,320,292,319,362,565,611,931,1360,1550,1210,1094,1210,1060,802,923,1396,1506,1394,1160,1482,1770,1204,659,966,1220,898,956,1312,1502,1382,1032,903,687,599,1088,829,498,596,665,619,484,493,1244,1988,1490,1196,1296,1090,1124,1080,790,480,416,537,713,918,1098,1106,803,458,646,937,1182,1104,1208,1448,1316,1120,907,889,927,690,493,677,1042,1054,1013,874,1028,1134,927,949,2114,2376,1364,871,625,1002,1366,790,807,1200,893,521,607,706,619,1112,1508,1296,1228,1300,1188,1160,1322,1318,1248,1236,1180,1326,1130,959,1378,1062,1242,1450,1606,1052,971,1256,1068,831,796,1050,1234,1114,735,426,388,541,570,619,942,808,458,292,313,472,782,888,713,546,439,434,465,571,1092,1136,1204,1108,1078,1164,1330,1458,1056,717,760,877,1210,1290,921,1240,1478,1162,771,1118,1148,1052,1180,1248,996,924,837,1134,1202,1620,1522,1556,1510,1298,1208,1150,995,1318,1612,1628,1510,1174,1174,978,954,905,846,566,552,889,918,730,737,903,1142,2160,1700,1280,1338,2174,2042,1322,1416,1480,1508,1786,1720,1488,1388,1250,1290,1614,1628,1064,902,1290,1244,1234,1332,1228,1096,860,962,1340,1214,626,750,687,883,1238,936,648,1005,1472,1202,488,365,364,405,639,1280,1284,1376,1324,1038,1122,1300,1350,1336,1150,1088,1182,854,490,353,482,502,441,554,728,709,924,1416,1472,937,714,840,1016,756,698,1080,1078,850,937,888,559,439,420,371,408,411,750,847,1184,1188,1080,906,739,856,912,1180,1446,1338,1158,1072,1054,1344,1304,1328,1204,1144,1042,853,830,969,867,926,948,700,590,678,721,654,768,1007,1206,1164,993,1284,1512,1214,1192,1188,976,637,808,929,1256,1360,1212,1338,1000,586,1050,1386,1026,865,892,711,407,332,293,332,364,396,415,435,454,471,456,505,480,482,537,466,582,882,824,620,922,1408,1422,1326,846,757,1208,1084,767,549,353,417,919,1388,1330,863,568,487,543,913,930,995,1172,1044,743,753,722,522,711,1116,1518,1700,1448,1196,902,992,714,514,749,1058,1154,1010,1040,1130,1386,1780,1296,1228,1112,1110,968,886,745,654,965,1284,1472,1478,1302,1212,1122,1118,1228,945,605,495,401,353,365,351,341,339,324,370,430,531,710,772,645,582,559,403,361,410,422,438,440,325,306,335,372,488,550,549,587,639,860,1332,1388,739,854,1462,1604,1834,2000,2044,1882,1604,1446,843,696,908,912,1068,1158,1062,1088,1412,1738,1292,1090,997,1154,1210,997,978,888,709,866,1010,1007,1166,1548,1736,1960,2054,1860,1582,1550,1624,1464,1162,948,1006,915,774,900,1444,1476,1410,1334,1300,1460,1506,1460,1336,1003,1176,1486,1046,574,793,1198,1238,788,679,1118,1146,1260,1342,1128,994,1046,1216,1368,1258,1210,1148,1416,1448,1066,1024,966,687,559,789,1024,1090,880,492,417,420,594,844,1162,1050,922,672,503,502,670,711,552,547,793,1438,1498,1502,1054,1156,1354,1214,797,851,1174,906,696,667,807,921,978,1030,877,1112,1230,1188,1182,1274,1190,892,830,984,1304,1332,1498,1142,830,863,1170,1312,1264,1288,1158,1082,1060,1156,971,816,1188,661,405,388,550,802,667,747,805,878,1230,1338,943,746,648,879,1222,1440,1214,1290,1272,1066,1078,1102,1202,1310,1260,1028,1186,1250,1050,778,895,1116,1426,1274,1102,1004,1020,1196,1482,1206,923,860,894,1228,1276,1190,1232,1146,1014,1266,1414,1378,953,772,973,1070,1212,904,689,996,799,618,1074,1306,1130,1048,878,584,484,630,1186,1042,702,611,757,580,458,455,497,864,1068,1220,1238,1260,1484,1012,803,783,899,1052,1036,1002,986,1090,1132,1350,2172,1474,1052,608,561,695,1070,1007,516,451,541,1038,1208,975,896,996,1080,888,1016,1212,1494,1550,1500,1542,1668,1920,1866,1282,880,1152,1058,897,1456,1832,1744,1620,1198,728,1162,1482,1408,1340,716,584,574,756,1124,1096,840,991,1272,1328,1378,1234,1290,1268,1080,1084,1222,1238,1146,1150,1134,928,1342,1722,999,1062,875,1122,1300,1286,1206,825,597,505,523,534,413,514,847,1188,932,548,414,539,870,867,1132,1652,1968,1532,1368,1440,912,702,1080,962,1020,843,984,805,628,584,576,760,751,823,1164,1082,930,1122,1216,1582,1074,1110,1204,1044,1078,971,1092,1276,671,488,841,1416,1294,1360,1182,598,373,444,463,428,344,330,480,706,775,928,1036,1023,627,482,809,977,809,530,968,1210,1072,1106,793,823,1015,1462,1016,724,757,991,1144,1011,1102,991,524,508,484,592,761,854,1222,865,560,999,1232,1766,1880,1376,969,793,747,633,557,959,894,631,599,852,871,909,747,636,639,647,583,379,466,704,488,422,716,1238,1160,738,444,426,725,965,845,807,928,631,387,400,499,820,900,849,949,843,855,1054,1050,852,1336,841,669,873,1214,794,905,1168,937,1212,1264,683,430,755,1350,1282,1082,1052,849,1062,1146,1076,1030,1086,1212,1228,1066,956,1144,1200,1098,858,775,1240,1278,1062,1288,1268,1013,890,527,473,1052,956,805,1070,790,565,932,1062,865,940,950,771,1060,922,926,794,684,731,748,905,791,697,865,960,938,976,878,757,852,1038,828,976,1124,725,909,1292,1252,1190,1218,1234,1404,1488,1250,1236,1330,1300,1138,1054,1130,1316,1408,1220,1236,1284,1354,1212,1030,1128,1610,1498,1258,980,648,508,579,821,1290,1584,1512,1176,1418,1498,1010,692,569,481,452,521,550,764,1252,1340,1030,957,1250,1060,917,1020,1120,1208,1244,1452,1692,1580,1372,1324,1204,1068,1136,1226,1238,1374,1364,1312,1338,1172,1204,993,886,1236,1086,1040,1046,1336,1132,952,1220,978,650,729,878,916,1016,879,583,481,427,408,346,349,397,738,567,408,532,973,1180,845,934,875,453,484,532,756,1152,1254,1030,652,485,468,407,486,766,1012,962,568,631,1056,1306,1198,945,937,1076,1170,1378,1350,1426,1528,1420,1776,1560,972,1074,1386,1382,1334,1620,1564,1440,1300,1382,1190,694,705,944,1084,1384,901,626,569,914,1264,1196,997,745,680,620,1008,1396,1186,1172,1098,1013,1194,1130,841,708,736,1094,1086,1052,1058,915,578,604,530,604,555,454,816,1106,749,506,620,677,799,802,741,792,828,657,563,538,522,449,420,549,613,622,706,880,847,696,733,691,623,580,480,442,427,465,625,821,906,899,1042,1182,1428,1454,1376,927,1036,1290,1346,1312,858,616,724,756,770,425,264,196,459,590,515,357,805,1250,802,480,628,1038,1078,1324,1394,1282,1332,1486,1722,1258,652,915,1048,589,399,377,470,628,1288,1338,798,638,1290,1454,1354,896,392,334,303,305,263,261,404,791,629,451,505,926,1302,1320,1258,1366,1158,879,1052,774,586,527,951,1252,921,597,771,1378,1660,1574,1524,1164,715,588,682,835,1176,2050,1466,746,388,303,380,475,444,771,1124,1074,1116,1340,1266,935,918,1478,2100,2008,1780,1500,1234,930,824,875,747,452,336,493,674,514,876,1278,1368,1610,2082,2136,1954,1678,1494,1198,1202,1044,1058,930,760,630,838,1140,1102,724,536,1266,1582,1068,1152,1460,1230,1210,1092,1009,912,747,615,834,1402,1450,836,973,626,904,1250,900,828,769,501,443,445,676,1304,1744,1626,1180,910,854,594,418,926,1410,1494,1434,1752,1368,1080,865,626,507,695,1228,1312,1378,1224,841,1776,2228,1326,883,829,594,874,1272,1416,1368,1138,932,871,738,617,492,466,466,521,536,556,453,452,651,717,678,643,482,644,763,633,892,951,599,394,703,859,625,686,682,502,459,421,678,1272,1308,792,813,854,416,358,407,398,402,378,368,412,404,371,393,427,379,290,292,272,322,403,387,534,734,617,959,1418,1116,959,769,541,577],[1010,802,1004,1220,886,502,592,1066,1480,851,934,872,1042,1060,760,397,738,968,726,885,1274,1252,1224,1270,1416,1356,1362,1332,1068,1028,1056,873,703,595,452,645,872,767,1570,1804,1628,1392,1350,1552,1402,1484,1292,1038,790,876,913,1118,1558,1270,1508,1640,976,894,1088,1258,1216,1042,898,776,1148,1032,1230,1650,1506,1560,1426,905,982,1226,1144,974,1036,907,855,941,756,720,1152,1498,850,719,579,621,904,1084,1028,1050,977,844,880,938,896,1008,1182,1362,1230,1282,1398,1332,1272,938,424,374,386,334,381,433,480,365,379,375,373,378,436,443,443,772,923,1056,1208,1072,709,800,956,1023,1262,1324,1028,1016,1080,1005,1184,1262,1174,1150,1656,1254,1060,1138,1142,1030,966,893,569,441,670,848,715,786,735,875,1054,943,926,703,549,681,789,933,874,920,683,766,1048,1272,1606,1132,1362,1500,1516,1918,2400,2160,1968,1808,1358,1246,1252,1442,1206,846,823,1076,1054,713,605,700,640,884,1150,905,969,988,1008,1276,1064,724,705,830,826,1164,1290,956,449,383,438,518,612,797,818,1172,1668,1530,868,865,911,714,941,1950,2116,1816,1598,1444,1538,1638,1382,991,957,872,610,778,1246,1378,1192,1164,960,713,934,1424,763,657,926,880,602,458,662,1088,1464,1030,880,918,1014,926,1244,1012,550,719,993,1316,1448,1330,923,641,558,874,1238,1190,1300,1428,1228,1224,1274,963,1090,1226,929,612,619,1176,1134,1034,1106,1188,1009,883,774,802,1322,1040,1030,774,998,1342,839,915,1007,909,902,724,412,595,1120,1140,1258,1484,1668,1458,1274,1300,1356,1356,1268,1252,1256,962,1032,1458,1204,1258,1406,1362,948,1016,1038,1156,943,687,1015,1322,1176,777,442,527,589,538,505,584,445,310,346,356,398,677,955,1020,772,491,404,463,419,517,737,717,785,1214,1366,1310,1360,1084,904,1114,1346,1260,1042,1028,1394,1418,1034,944,1078,1232,1262,991,1170,1194,1076,681,888,1078,1438,1714,1600,1240,787,785,1188,966,1180,1484,1542,1542,1354,1276,1182,1350,1222,909,811,932,905,604,642,787,583,1112,1536,1246,1066,1194,1880,1570,1242,1330,1188,1322,1176,1372,1624,1628,1642,1714,1772,1792,1568,1284,1260,1226,881,1184,1434,1252,995,1148,1278,1232,816,697,803,1048,1013,666,594,810,1186,1136,725,709,490,425,738,1228,1500,1722,1672,1338,1318,1352,1448,1426,1316,1116,1264,1560,979,518,847,1054,725,600,700,614,722,927,1290,934,607,728,706,739,1005,997,567,390,433,559,703,612,491,383,384,351,505,999,1580,1502,1148,943,956,1186,974,1146,1110,1190,1498,1126,895,1146,1154,1168,1202,1172,1210,1090,988,1118,858,875,1054,912,772,846,893,1160,1198,1052,1116,1001,1092,1268,1488,1144,1176,1160,1164,1015,1060,1124,1198,1052,1020,1066,879,963,1278,1290,1058,980,1208,738,375,401,361,390,410,390,365,367,331,456,562,597,548,513,528,529,799,1017,771,603,747,995,1146,1138,776,752,837,1006,1200,914,488,393,822,1400,1450,1188,875,732,719,959,1240,965,794,849,755,571,603,988,1400,1304,1268,1426,1422,1200,1202,1274,1054,868,886,915,1038,1102,1044,1052,1300,1334,1296,1286,1278,1302,1094,1012,948,723,1070,1418,1422,1376,1266,1230,1284,1344,1318,944,515,396,377,396,408,374,380,384,326,381,455,637,819,805,626,543,461,367,413,445,424,427,465,311,311,330,320,489,422,289,314,345,346,818,1192,596,888,1446,1544,1780,1908,1848,1608,1528,1244,696,854,1068,1011,1046,793,810,1116,1464,1604,1158,980,924,1132,1142,1084,1236,976,504,796,1262,1222,1432,1348,1330,1516,1758,2062,2072,1910,1888,1572,940,868,995,884,831,918,1098,1106,1276,1312,1534,1708,1206,854,883,1238,1472,1524,776,475,940,1278,1142,816,838,1074,1078,1020,938,1216,1368,1222,1282,1206,1170,1554,1460,1282,949,740,1052,1342,996,887,1222,1432,1396,1210,637,594,558,515,723,623,412,574,608,647,674,821,774,751,681,526,1042,1328,1528,1108,1138,1532,1464,1076,831,852,1052,781,775,902,673,979,1250,1322,1272,1074,1100,1190,1310,1360,1344,1154,894,993,1268,1438,1148,1152,1280,1390,1396,1290,1300,1236,1120,1102,827,726,921,1198,753,549,491,409,650,1009,1108,915,760,1009,990,946,1122,1036,837,1188,1446,1254,1410,1360,1166,1100,974,954,1276,1446,1196,1518,1388,1158,1086,1202,1318,1318,1352,1438,1204,1088,1048,1266,1158,1478,1228,1044,1046,1302,1410,1234,1350,1426,1354,1294,1254,749,669,773,1016,1292,1056,1238,1442,1028,868,1208,1268,1284,1176,960,922,831,1009,1208,1168,1007,1012,1015,861,582,437,513,807,1040,1218,1094,1024,1020,918,844,915,933,959,900,948,1146,1202,1252,1176,1130,1206,1048,1012,1001,798,945,922,706,546,584,778,709,594,649,939,909,798,855,1194,1550,1282,1264,1428,1584,1874,2040,1164,1017,1432,1594,1620,1770,1766,1700,1854,1954,1560,1766,1548,1556,1354,735,631,474,430,750,1096,1116,1182,1262,1194,1246,1296,1194,1236,1206,1136,1186,1122,1228,1282,1011,877,1098,1104,963,1092,844,1234,1192,1016,988,736,730,702,673,575,422,422,561,666,653,497,436,469,649,1070,1282,1534,1982,1902,1634,1780,1230,1114,1302,1078,910,624,613,724,897,681,655,573,447,631,746,828,1304,1260,982,1082,1020,1030,977,996,927,722,1136,1384,786,778,1023,1446,1404,1294,1162,677,630,816,672,495,396,353,422,669,943,1058,831,692,542,561,635,725,709,700,1062,1122,1066,951,784,1023,1060,1132,780,399,407,505,762,974,908,611,662,633,495,573,937,1016,1216,1032,1012,1168,924,855,1026,1256,1268,1158,995,629,445,386,374,365,633,939,998,1106,949,852,926,837,825,606,877,691,413,315,377,600,825,814,653,619,995,983,821,953,944,455,267,457,551,731,795,714,636,754,770,1184,942,1148,1158,991,720,534,689,656,930,1062,1048,1408,916,426,411,541,971,1110,1044,753,838,1074,1064,1084,1023,1194,1186,1230,1064,872,846,986,788,744,1078,1352,1412,1374,1360,1252,1130,877,652,682,1220,825,946,1138,840,897,1330,1172,774,1092,1776,1456,1486,1007,1084,934,660,570,767,918,716,601,736,752,602,670,854,939,933,1018,1038,1148,1176,1072,940,1005,1154,1230,1178,939,1140,1572,1462,1250,1340,1442,1250,1060,1090,1210,1142,1124,1316,1356,1078,1009,1174,1076,1482,1692,1248,697,447,520,558,578,1021,960,1354,1440,1472,1438,978,615,560,479,441,502,489,611,1128,1294,1198,948,1130,993,858,1036,1160,1182,1250,1328,1646,1694,1422,1218,963,1064,1080,1144,1250,1172,1066,1206,1158,1108,1270,1146,1074,1188,1090,1206,1204,1642,1376,1344,1224,944,731,499,682,816,832,749,752,767,542,401,558,958,874,668,836,918,1180,1364,1354,1854,1586,999,601,563,913,1142,1170,969,592,524,637,652,603,1003,1296,1084,1004,778,733,1010,975,528,341,655,1256,1514,1620,1716,1614,1628,1662,1780,1688,1294,1404,1612,1474,1528,1614,1458,1268,1190,994,684,561,937,1052,1342,1568,1018,525,428,602,1094,1198,885,648,717,771,1340,1592,1516,1574,1432,1238,1196,1058,942,957,843,1256,955,875,814,993,965,1138,919,764,731,578,818,1162,893,619,716,682,1038,1198,1360,1594,1352,830,617,555,479,387,593,901,906,769,817,920,1124,950,993,1236,1170,933,915,658,522,464,360,421,484,574,770,940,1054,1030,1032,768,788,1214,1274,1350,1210,894,624,422,449,449,387,293,405,660,654,410,562,886,897,587,913,1110,825,931,1328,1490,1416,1382,1426,1015,711,752,643,666,946,920,987,991,1126,820,502,361,744,938,548,344,377,337,319,314,338,326,532,768,999,1018,1186,1492,1482,1346,1424,1440,1166,883,1226,1324,755,594,1007,1148,896,568,487,966,1738,1766,1674,937,1104,797,1100,1366,1176,1484,1610,903,420,311,333,292,395,930,1366,1384,1386,1254,1226,1294,1346,2144,2456,2040,1762,1528,1368,971,972,1028,1112,736,524,629,912,1022,1082,1168,1236,1194,1388,1540,1772,1606,1504,1476,1056,831,1044,1246,1312,1172,1092,1164,927,721,677,802,757,634,761,1022,903,1050,1354,1186,1102,1310,1410,1030,977,1344,1528,1194,615,583,788,1078,1358,1068,855,692,766,850,1366,1536,1100,799,913,951,712,517,547,1016,1182,1050,1108,1168,1284,1158,902,863,1108,1312,1196,1108,1216,1188,1288,1772,1194,789,806,710,1080,1250,1150,1144,1094,1062,1050,845,626,358,366,361,401,639,816,664,905,1050,643,816,1180,910,1026,717,488,490,530,341,282,385,476,477,655,618,394,393,379,608,1420,1338,1192,690,416,522,495,338,423,519,457,387,366,325,343,390,449,387,290,277,348,793,1080,838,606,565,624,860,683,445,591,558,383,455],[1366,1226,1284,1324,924,659,840,1406,1476,751,756,805,1228,1140,883,868,825,588,785,808,1042,961,1080,1078,1264,1408,1410,1340,1196,1246,1028,774,620,378,406,872,1050,990,1578,2070,2004,1660,1680,1634,1636,1772,2122,1896,1030,1138,1100,1238,1520,1498,1794,1738,1082,879,1124,1474,1374,1224,1376,1054,996,820,1116,1722,2038,1818,1240,1034,1168,1170,1158,1030,1168,1126,1128,1014,802,618,1023,1312,863,468,417,461,518,577,919,1070,1140,1042,900,1032,983,1162,1352,1484,1260,1198,1001,830,937,595,412,411,423,375,395,393,351,338,358,356,293,323,414,439,466,561,720,1005,1462,1142,611,448,593,829,1328,1330,916,893,928,850,821,813,920,1222,1366,1216,1220,1108,995,1070,944,921,831,684,667,649,528,710,610,823,1088,1034,1170,1086,872,636,753,1286,912,786,731,762,968,1126,987,1015,1480,1500,1474,1568,1642,1142,1334,1146,1178,1096,1080,1198,1176,917,815,995,937,867,689,516,400,491,964,1009,1001,1076,1356,1510,1394,870,516,728,894,1120,630,537,435,421,640,748,1118,1168,1022,1138,1450,1250,637,828,876,625,500,1126,1382,1528,1466,1332,1366,1800,1964,1222,817,571,564,597,1048,985,903,949,664,600,1212,1282,639,485,781,1128,1130,695,465,532,887,846,589,437,590,899,1108,629,515,894,1018,1314,1476,1200,714,656,662,951,1116,991,1118,1136,1102,1162,1234,1504,1566,1054,657,558,495,987,1218,1192,1324,1400,1208,908,796,690,993,841,1532,1116,910,1132,1388,1268,915,999,1004,999,694,567,656,826,1430,1274,1360,1408,1356,1382,1264,938,1054,1256,1072,1078,1216,1278,1358,1490,1432,1166,1018,962,1252,1802,1080,749,1050,1200,825,472,412,655,789,830,581,345,332,350,357,350,428,468,821,691,675,645,758,624,428,409,391,418,852,1318,1342,1010,860,1192,1368,1522,1616,1180,641,756,921,901,1162,1246,1018,1088,1048,830,1138,1438,1226,1013,884,1256,1904,1742,1042,433,393,677,1054,825,1188,1584,1644,1478,1362,1528,1464,1232,1172,1014,1302,1286,1098,602,568,713,550,926,1156,1088,973,1206,1346,1142,556,491,933,1282,1082,1418,1488,1412,1488,1280,1298,1628,1684,1596,1672,1574,1324,1430,1566,1540,1338,1346,1266,1204,1180,1072,941,1074,1110,805,920,923,873,760,879,972,966,966,991,1248,1266,1188,1250,1244,1334,1396,1332,1266,1334,1192,1166,1330,1098,706,982,1346,915,409,615,940,959,841,805,741,747,1072,1164,1140,1350,955,531,404,437,498,597,910,667,429,360,475,753,986,1230,1348,873,582,978,1478,966,808,1106,1656,1832,1240,1004,1094,922,904,1170,1146,1144,1104,1054,901,993,1166,1306,1010,778,728,824,1166,1188,937,695,1017,1366,1282,1390,1274,1118,1112,1348,1470,1266,1144,1060,1042,984,802,1178,1220,840,629,615,694,927,767,496,476,340,383,416,433,453,426,388,404,533,529,533,600,656,735,916,967,725,530,750,927,902,778,698,680,658,959,1244,1023,576,573,616,971,1456,1572,963,976,1238,1116,1114,1166,917,849,1476,1506,1062,1160,1400,1342,1476,1500,1402,1320,1250,1198,1180,1212,1224,1102,1126,906,996,775,855,1028,1288,1290,1104,1166,1154,1060,1170,1374,1400,1306,988,1250,1464,1358,1472,1334,1036,645,389,400,395,429,437,375,346,353,325,343,428,596,758,825,733,582,388,350,419,469,434,437,394,327,309,309,355,463,403,303,327,315,410,943,991,568,1036,1546,1772,1914,1884,1732,1522,1456,955,589,623,659,1106,1212,875,854,1158,1222,1013,1076,971,852,1062,1274,1278,1246,850,595,916,1210,1168,1426,1432,1314,1180,1256,1580,1896,1932,1936,1614,1332,1120,943,726,896,1118,993,944,1080,1220,1192,1108,835,835,930,794,1156,1238,843,448,800,813,962,1112,1040,1026,1148,1052,1030,1366,1478,1404,1450,1804,1622,1800,1610,1456,1384,1086,966,1264,1290,1030,1310,1472,1294,943,792,970,745,369,868,1013,459,421,487,745,596,552,666,675,473,308,856,1316,1360,1354,1410,1424,1350,1164,1013,799,1180,1324,1318,1242,764,955,1392,1426,1316,1094,838,809,1232,1400,1340,1248,1358,1132,1192,1276,1150,1266,1280,1264,1304,1224,1384,1346,1198,915,698,958,1154,1182,789,425,373,350,513,725,868,854,1070,893,878,778,807,761,752,1058,1210,1230,1278,1102,1254,1560,1470,1258,1246,1260,832,1140,1370,1298,1338,1408,1304,1178,1146,1204,1280,1444,1158,1158,1302,1384,1694,1776,1356,1210,1128,1076,1152,1234,1142,1144,1120,886,631,641,1013,1232,1272,1250,979,871,875,1390,1332,1150,1158,1378,1612,1532,1322,1186,1174,1218,1282,1172,1134,993,712,576,502,760,833,819,710,667,672,671,971,992,1052,1032,1152,1134,1086,1176,1334,1366,1266,1080,1114,980,711,613,943,1040,949,687,538,667,695,744,924,1076,1322,1610,1406,1272,1100,1340,1412,1508,1810,1494,1124,1410,1744,1806,1654,1836,1916,1866,1870,1926,1684,1554,1680,1656,850,461,479,368,371,546,878,1270,1252,1224,1190,1338,1488,1284,1248,1180,1140,1148,1206,1190,1070,766,958,1324,1106,1176,1300,800,933,942,892,854,619,771,874,836,690,539,519,419,340,346,408,448,483,539,680,775,733,1038,1642,1676,1652,1176,1182,1396,925,474,467,445,731,897,609,670,454,441,497,402,863,1368,1168,965,825,1050,1322,1300,979,505,573,1058,1080,1138,1114,985,1312,1272,1200,1114,774,808,789,723,492,379,372,394,518,874,861,653,491,503,555,534,610,643,739,1198,984,636,640,912,1154,1288,1448,1042,484,379,361,368,343,388,469,522,608,655,916,1068,1086,1126,963,999,1036,1032,965,694,694,697,965,834,511,337,254,254,460,1134,1346,923,1182,1412,1210,783,855,1214,1062,750,568,421,389,432,449,490,689,529,675,1164,1230,993,937,690,413,358,405,543,599,718,1011,1106,977,826,1054,674,1068,1013,894,612,602,1070,1058,1166,1104,1228,1250,481,309,346,548,772,836,1050,877,853,1256,1100,926,1054,1340,1005,1126,1264,1318,993,862,683,874,1228,1164,1252,1180,937,1084,1062,1058,1010,946,956,864,997,1056,1046,1158,1168,785,576,1004,1676,1558,1028,899,900,948,981,827,890,991,1066,992,957,930,1030,971,1032,1086,1174,1216,1268,1208,1106,929,803,1150,1144,939,735,524,886,1500,1300,1174,1534,1416,1224,1118,1072,1236,1148,1268,1490,1252,966,1124,1236,1242,1426,1198,695,513,481,607,697,574,1054,1050,1382,1616,1454,1242,911,534,531,546,465,474,532,596,1106,1414,1290,955,899,865,817,917,1104,1136,1234,1312,1510,1656,1368,1086,902,1092,1244,1324,1336,1254,1200,1190,1162,1282,1244,1122,1164,1252,1202,1294,1284,1620,1464,1248,1282,1110,835,843,963,826,725,996,1036,990,714,449,638,1066,1094,1180,1512,1248,1186,1424,1636,2236,1666,971,687,812,1240,1240,1180,943,543,528,581,798,1060,1224,1058,984,670,459,488,801,880,624,460,698,1194,1314,1368,1462,1312,1432,1466,1636,1768,1554,1268,1136,1188,1438,1428,1226,833,888,919,662,635,890,1132,1376,1324,774,458,477,542,711,1114,1122,943,749,850,1130,1110,1236,1366,1554,1542,1016,793,876,1312,1128,1326,1015,902,1062,1222,1202,1274,1098,636,877,1106,974,948,950,853,891,849,1064,1272,1396,1376,1120,901,692,562,489,433,810,1312,1360,902,850,1020,855,803,1306,1452,1360,1276,1344,1142,1142,923,411,326,354,386,366,498,518,464,667,669,826,1410,1684,1572,1318,1108,1120,711,431,438,383,305,277,399,521,389,423,593,872,638,999,1084,1046,1124,933,1005,1336,1248,948,849,847,751,563,786,1214,1534,1516,1428,1058,625,456,345,373,427,320,307,318,330,319,360,392,355,475,813,1162,1266,1424,1466,1310,1332,1516,1582,1416,995,1172,1366,847,440,431,405,573,876,1050,1228,1840,1312,1184,1476,1534,946,1318,1654,1350,1572,1806,1416,700,402,378,257,340,948,1686,1770,1338,866,810,1198,1760,2148,2164,2024,1630,1478,1290,1238,1572,1556,1420,1306,1021,881,943,1240,1146,996,1078,1316,1388,885,1206,1588,1484,1370,1276,1000,1096,1464,1564,1534,1100,1128,1160,1204,988,572,509,642,785,930,1022,1276,1420,855,1144,1356,1272,695,514,1112,1300,1082,834,597,722,1216,1488,1584,1810,1460,1390,1154,1040,1210,990,629,758,805,543,711,654,789,769,952,1058,1250,1386,1130,910,1030,1302,1500,1330,1302,1096,1202,1428,1606,1094,1032,1272,1304,1564,1476,1106,1178,1272,1278,841,798,468,267,321,399,449,732,1013,797,819,669,516,1015,1560,1184,1210,1036,744,674,565,556,614,490,443,509,543,384,298,397,401,777,1908,1676,1392,681,439,965,968,508,514,563,481,347,298,278,322,359,417,390,301,265,463,969,1214,1094,780,488,811,1152,790,603,551,761,629,400],[1332,1278,1564,1966,1032,897,1102,1190,872,570,599,874,982,1076,1216,1170,948,599,852,1052,1250,1010,1114,1264,1272,1180,1228,1094,1140,1158,818,700,540,480,1104,1462,891,840,1132,1522,1660,1612,1644,1604,1604,1836,2626,1858,1218,1606,1254,1202,1376,1414,1620,1504,1126,954,1036,1246,1194,1072,1130,1092,730,852,1005,1534,1938,1612,1102,1158,1224,1252,1142,1078,1116,1236,1280,1394,1032,920,1178,1170,907,682,475,433,507,502,519,868,1086,1152,1178,1220,1338,1222,1144,1114,998,1126,979,761,982,643,432,401,405,366,383,397,350,333,373,362,325,402,421,404,550,591,594,846,1007,874,641,549,428,623,872,780,1060,991,758,1042,758,449,687,865,870,1176,1484,1374,902,1138,1060,822,929,977,1048,1036,598,475,647,862,755,788,1260,1074,825,666,804,1296,804,595,788,832,1050,903,739,1152,1288,1096,1500,1021,1026,1070,1452,1380,996,651,962,1216,1242,1114,870,832,1084,1302,957,593,387,684,1404,1356,1034,1108,1408,1620,1238,579,381,602,1132,1012,811,478,436,828,751,521,727,931,1012,965,1110,1102,900,930,794,662,596,1074,1382,1528,1610,1434,1266,1366,1544,1298,841,514,558,937,1430,1184,1194,1026,526,517,860,798,619,957,1410,1660,1808,876,532,564,851,1228,1262,872,619,890,836,498,626,897,1086,1210,1516,1174,931,938,839,929,987,1004,957,921,1010,1136,1332,1432,1356,1064,820,652,619,921,1094,1068,1148,1168,1102,1588,1354,991,850,1224,1614,877,504,939,1472,1234,957,1048,881,641,461,390,359,622,912,771,974,1288,1514,1488,1362,889,1258,1194,1482,1302,1180,1358,1570,1574,1346,1146,1348,1188,1250,1390,1172,1018,1234,872,714,607,431,474,543,497,370,345,392,340,368,454,801,946,900,764,582,704,1118,995,624,465,519,402,444,830,1116,741,623,1030,1148,1350,1528,1256,926,921,1108,1298,1318,1066,999,766,1016,1068,1180,1526,1484,1174,966,1098,1470,1696,1070,416,494,702,966,1015,1362,1588,1452,1180,1210,1452,1406,1256,1262,1124,1370,1138,932,844,592,413,405,522,667,604,656,933,1058,744,401,427,793,1272,1046,1394,1562,1318,1007,1042,1310,1530,1580,1396,1180,1394,1618,1556,1704,1744,1618,1592,1620,1556,1530,1582,1354,1032,1164,1116,1136,1470,1670,1224,973,1202,1388,1106,1028,1250,1106,1064,1010,792,865,1100,1284,1402,1360,1312,1410,1322,1006,807,854,790,509,372,458,841,1084,1012,856,572,715,1378,1322,1330,1444,980,1026,939,901,636,550,753,595,458,418,461,795,1272,1292,1232,1002,650,557,838,792,776,1018,1118,1026,1015,1194,1186,1246,1136,1170,1240,1130,1182,1344,1088,1072,1252,1220,947,700,670,742,1098,1136,959,661,973,1314,1474,1366,1176,1138,1048,1244,1302,899,874,971,966,1204,880,1098,1138,786,657,832,855,916,613,381,397,286,360,425,645,575,504,495,485,490,458,516,572,719,864,1030,1082,940,851,1168,1052,621,446,445,373,445,775,1090,1034,881,785,752,991,1070,1144,716,794,1286,1236,1164,1440,1272,1064,1442,1284,1158,1246,1224,1334,1356,1388,1370,1260,1234,1348,1238,1076,974,1028,1196,1044,1046,586,373,484,910,1410,1298,1172,1310,1356,1372,1528,1294,1268,1190,1194,1172,1222,1272,1210,1110,741,440,403,357,364,424,366,318,319,308,319,363,398,441,483,572,537,417,491,443,395,398,456,385,311,309,299,374,491,397,301,303,315,407,1058,781,526,1084,1520,1816,1982,1910,1700,1534,1404,744,1084,779,614,943,924,776,971,1250,1160,1040,1094,989,836,828,1078,1068,1102,1048,803,1008,962,1032,1256,1312,1040,973,1394,1698,1516,1860,1922,1800,1658,1716,1472,1200,1432,1538,1466,1266,1256,1250,810,859,1100,1096,952,572,962,1472,1212,919,875,725,869,998,932,1120,1232,1196,1148,1394,1502,1470,1318,1470,1480,1242,1276,1546,1470,974,670,968,1312,1204,1650,1972,1652,825,479,672,644,540,756,804,363,430,509,517,386,320,439,436,571,688,1046,1512,1358,1314,1178,1328,1184,1116,1206,1130,1318,1486,1440,1332,1124,1186,1260,1294,1130,1050,1186,1350,1394,1344,1520,1576,1242,1015,1074,1019,1080,1456,1410,1226,1170,1294,1282,1176,1294,1162,934,1196,1320,1364,1142,649,576,511,432,459,571,783,1036,1180,889,821,1038,990,880,1042,1042,1102,1070,954,1246,1760,1484,875,921,978,952,1130,1040,1154,1026,1108,1158,1040,944,1064,989,977,872,901,1012,1246,1512,1336,1290,955,774,716,1009,1256,1316,1186,1076,773,572,781,1080,1252,1326,1172,828,756,902,1226,1344,1150,974,933,885,1026,1116,1060,1074,1094,1228,1294,1228,1134,1048,853,788,724,848,1094,589,544,555,608,913,1001,1146,1008,985,1078,1134,1294,1302,1120,1092,957,817,825,752,781,1078,1074,1026,705,586,797,982,945,1002,1388,1480,1338,1238,1162,1184,1326,1478,1522,1672,1488,1378,1544,1538,1228,1506,1702,1768,1940,2020,1902,1514,1288,1308,970,459,399,320,349,559,688,691,878,977,1232,1172,1268,1256,1212,1316,1242,1216,1036,859,1036,905,791,1220,1360,954,1198,1186,805,1046,1004,940,681,561,756,724,692,543,681,1078,1152,851,606,514,476,483,604,746,546,386,460,776,1094,1124,1094,1572,1804,1110,703,638,601,484,517,520,808,679,523,395,350,830,1194,1216,940,1006,1206,1396,1216,1160,1100,1062,1290,1148,1230,1084,1068,1184,777,653,830,891,1021,977,815,518,386,463,658,946,996,689,520,443,513,568,589,440,455,736,1126,1166,1076,994,1148,1572,1600,1208,805,462,391,379,390,351,313,327,440,585,866,1138,1032,1158,1444,1032,978,786,1182,943,634,566,558,476,361,371,301,301,390,750,1112,1092,1110,1122,1398,1228,1160,1084,1082,846,501,498,440,400,406,363,406,760,823,995,1294,1334,1154,1294,1272,844,547,662,885,1130,1342,1354,1220,905,958,797,751,1072,872,611,506,927,1130,999,1056,1040,1086,617,353,441,430,586,688,612,659,633,591,904,1142,984,1064,1206,1246,1144,1230,1170,1030,1052,766,1136,1418,1072,1036,1116,1404,1458,1134,1080,831,681,817,854,714,997,1013,923,795,965,830,616,686,1072,1156,1138,902,934,979,860,739,791,789,1034,1236,1238,1132,1064,987,1128,1320,1238,1086,927,890,628,723,832,665,561,610,560,918,1564,1534,1428,1542,1316,1122,1140,1280,1470,1316,1312,1106,916,1028,1160,1236,1336,1330,595,543,515,535,610,646,541,1048,1268,1158,1192,1182,1120,977,497,534,580,474,492,635,656,1046,1416,1182,912,904,905,885,763,894,1058,1180,1302,1388,1482,1350,1186,1072,1184,1176,1042,1042,1270,1254,1184,1230,1414,1222,1244,1236,1064,1194,1278,1348,1430,1226,1042,1046,797,744,949,1234,904,779,1016,1010,1010,840,617,631,923,1166,1016,1102,1300,1358,1178,1230,1298,1056,917,933,1202,1016,748,1064,1286,860,896,1148,1264,1072,891,1036,1268,969,532,608,1182,949,695,633,1068,1094,904,1196,1278,1180,1316,1360,1488,1738,1714,1560,1480,1278,1344,1116,604,514,565,1044,1020,551,761,1282,1178,830,477,527,860,807,629,1074,1160,848,657,818,961,1178,1390,1144,1398,1412,966,819,1010,1444,1512,1356,1192,919,702,870,1048,1070,1218,822,908,1356,1274,888,687,471,444,807,890,667,578,605,827,997,785,802,521,425,952,1526,1128,713,1012,1154,982,1430,2196,1790,1506,1184,1160,1306,1352,1019,526,332,352,360,386,385,576,601,452,431,581,813,1214,899,620,733,844,584,377,363,361,316,274,343,431,416,404,357,444,610,817,968,1050,937,658,554,987,1524,915,785,835,608,586,1160,1460,1416,1282,941,701,849,808,370,351,361,319,319,321,288,363,431,436,404,375,685,1202,1428,1458,1372,1310,1322,1510,1288,1044,1168,995,664,524,430,404,430,445,565,927,1104,957,752,1098,1468,1246,1144,1312,1284,1182,1152,1130,1338,594,502,470,325,402,661,1238,1454,1498,1448,1256,1418,1564,1542,1764,1776,1592,1350,1242,1834,2004,1510,1350,1264,915,943,1164,1566,1230,1064,879,972,824,510,823,1450,1560,1286,1244,1244,1576,1512,1244,1388,1168,1072,1132,1270,968,511,673,1058,901,1068,1430,1700,1632,774,676,959,897,802,814,1088,1370,1416,1036,911,778,1016,1208,1528,1704,1398,1332,1372,1368,1488,1200,766,908,728,636,906,1080,962,976,1104,908,858,1028,1007,996,1158,1206,1346,1222,1152,921,885,1086,1246,1110,905,1266,1426,1406,1372,1348,1346,1450,1015,453,433,339,285,313,452,587,613,597,1224,1042,434,498,800,897,674,811,1070,1168,918,572,808,944,622,504,509,430,323,326,364,367,1216,1798,1346,872,540,635,870,725,404,442,492,471,324,281,275,283,317,413,437,360,278,377,697,785,736,824,722,1098,1270,1130,1082,1154,1326,1178,997],[963,916,1396,1478,1194,1186,1058,1124,922,714,739,759,832,1068,1388,1194,866,1094,1506,1560,1476,1302,1104,1334,1268,1042,1054,939,933,1074,962,576,444,721,1318,1144,673,739,1032,1172,1290,1450,1692,1678,1612,1556,1360,1332,1992,1814,1074,1202,1206,1144,1324,1554,1370,1224,774,786,1011,720,832,884,810,979,1180,1484,1748,1460,1162,1152,1124,1080,906,877,1017,1278,1332,1396,1234,1094,1098,1104,1001,897,696,798,861,785,843,1128,1448,1486,1164,1120,1148,822,817,966,653,816,1013,1372,1384,715,481,509,367,253,285,319,297,339,385,347,351,420,397,410,472,534,536,529,489,512,740,1098,577,454,590,749,780,891,792,919,726,655,844,749,679,1100,1654,1438,1072,1350,1480,821,650,738,1138,1368,804,373,610,884,630,508,1118,1066,805,567,822,1110,944,805,769,799,943,810,902,994,1168,813,1300,968,1104,1422,1522,1512,1054,784,1288,1516,1288,1100,1252,1316,1318,1320,1058,825,589,775,1100,1202,1250,1032,703,864,743,468,457,885,1032,864,935,641,945,1362,857,307,541,1316,1422,1316,1016,823,898,724,574,483,453,703,1044,1288,1350,1003,1058,1011,979,745,611,496,690,1190,1166,1078,1324,1102,701,810,879,678,1060,1510,1502,1384,1410,947,635,740,1112,1244,1208,1082,1004,691,637,940,919,898,1092,1194,1354,1164,1262,1466,1250,1060,1152,1048,867,855,855,1126,1294,1328,1106,991,1186,1168,995,1288,1190,1228,1088,778,821,1562,1322,1030,812,1194,1202,783,505,807,1056,889,973,1004,901,747,587,473,452,757,872,765,913,1144,1424,1556,1328,995,1292,1260,1334,1200,1200,1188,1098,1162,1030,916,1110,1212,1212,1008,1078,746,666,477,494,521,547,575,514,577,516,502,745,763,739,643,819,1082,1068,938,703,755,946,760,732,518,973,903,542,564,882,813,839,753,532,822,1104,1064,1146,1286,1160,1152,1278,1158,1014,1120,1554,1486,1352,1538,1510,1076,911,888,862,1294,828,512,496,731,1046,1228,1392,1504,1450,1252,1130,1214,1428,1196,1156,1116,1002,963,1086,1080,974,797,480,385,383,601,910,951,918,509,356,312,573,802,824,976,911,885,646,662,1080,1228,1262,1136,1140,1344,1446,1466,1328,1206,1278,1374,1306,1264,1370,1412,1352,1422,1470,1308,1418,1656,1628,1384,1100,1074,1258,1082,927,1148,1078,1470,1136,570,797,1260,1592,1714,1408,1360,1414,1196,952,862,709,806,515,444,402,482,641,888,906,516,771,1844,3038,2788,1710,1628,1886,1592,1440,1196,986,867,514,498,463,430,661,1324,967,690,873,869,612,648,713,764,843,792,770,941,1360,1390,1304,1238,1230,1296,1372,1268,1246,1140,926,1068,1172,1042,929,1046,1048,1378,1296,1482,1302,1128,1278,1418,1300,1212,1260,1174,1250,1170,860,514,910,1050,1244,1396,1262,1286,1318,1200,1124,1064,1040,753,371,316,409,444,448,611,498,523,662,659,573,555,572,649,745,855,1080,1104,689,789,1160,1005,534,375,346,302,409,760,1172,1038,839,712,984,1188,1152,1226,1066,1036,1244,1348,1284,1382,1494,1326,1214,1170,1278,1308,1296,1316,1226,998,1122,1286,1394,1604,1518,934,651,933,1178,1296,1176,627,339,311,714,1424,1354,1272,1394,1250,1296,1366,971,969,1156,1248,1190,1040,1001,1100,955,847,539,378,320,320,314,338,370,343,306,316,351,373,353,345,521,416,412,425,466,417,395,462,387,309,317,307,368,525,341,299,309,301,505,1009,804,591,1050,1534,1760,1908,1848,1692,1488,1180,756,1140,736,511,586,654,678,714,831,987,1204,924,755,570,615,1250,1038,719,989,951,789,879,997,962,1032,850,936,1732,2094,1698,1572,1624,1764,1764,1726,1716,1860,1920,1510,1106,869,1240,1328,1100,1398,1394,1282,863,505,846,1390,1214,796,875,1204,1146,1116,838,1030,1268,1158,697,1130,1692,1488,1250,1526,1598,1044,844,969,1090,939,872,924,1014,1600,2254,2308,1494,661,453,362,423,614,526,466,456,459,748,670,562,496,365,602,1306,1372,1050,1538,1400,1252,1180,1362,993,1072,1248,1144,1212,1298,1180,1192,1166,1134,1124,1414,1068,889,1148,1284,1410,1324,1430,1394,1212,1058,1090,1014,1436,1666,1582,1594,1634,1578,1468,1146,1172,1256,1240,1302,1114,1206,1112,1002,714,648,481,438,445,677,655,612,424,538,1032,1170,1010,1082,1086,1001,700,751,1228,1368,1048,940,1184,1206,1362,1620,1474,1476,994,655,855,711,519,708,612,639,910,1038,1194,1270,1066,963,1284,896,698,684,957,1348,1230,794,664,693,613,559,673,987,983,995,747,769,978,1098,1252,1142,1009,898,791,1228,1376,1210,1006,1132,1234,1252,1246,1172,908,846,1166,879,666,930,772,756,589,480,697,949,1146,1128,1005,1052,1274,1306,1248,1286,1238,1220,891,796,836,995,969,882,822,666,850,1066,933,836,1016,1142,1092,1102,1268,1310,1346,1528,1544,1370,1492,1658,1658,1366,1194,1254,1598,1532,1182,1450,2062,1854,1288,1188,1214,1010,594,418,810,1050,869,901,651,465,749,930,964,1194,1100,1282,1446,1110,1036,1078,1004,1011,920,746,1086,1262,952,1072,998,948,1216,1214,1190,900,977,943,849,884,1050,1104,1196,1440,980,447,577,495,658,921,817,560,398,380,694,1060,1040,639,852,1056,1070,1456,1666,1072,776,708,541,692,905,975,835,876,926,1104,1194,838,1064,1286,1234,874,1182,1346,1446,1652,1410,1174,907,791,914,617,602,623,878,745,896,829,609,472,719,1160,1488,1146,714,499,725,996,971,1007,901,793,939,815,798,1090,1188,1176,1532,1504,966,500,404,396,395,369,297,299,343,325,490,999,1292,906,906,1232,781,1048,957,834,605,700,862,764,465,365,462,409,367,538,1074,1026,1176,1254,945,935,725,1050,1348,1054,777,875,670,466,414,504,596,738,999,1262,1322,1188,1098,1060,1282,1184,1188,821,859,1100,1400,1400,1244,1046,837,848,641,645,717,625,514,537,1110,961,1110,843,1004,909,425,408,462,396,632,891,880,678,766,886,846,738,1018,1392,1390,1264,1204,1136,1032,1068,1016,550,834,914,913,1004,1066,1226,1282,1096,905,850,779,1034,985,839,1214,728,666,588,510,676,625,430,649,1050,1070,669,764,949,985,653,800,827,835,976,1128,1000,792,824,1072,1130,1314,1206,772,628,542,617,759,792,695,632,725,1130,1560,1738,1608,1306,1098,1194,1428,1356,1104,1208,1234,1166,1252,1182,1170,1504,2174,2016,886,649,619,672,600,542,573,958,1388,1312,1042,1152,1142,944,485,524,642,561,527,679,632,912,1436,1248,939,912,928,988,775,797,937,1196,1316,1324,1492,1542,1090,1068,1164,1088,987,1158,1186,1078,1070,1174,1318,1194,1212,1144,1154,1262,1218,1140,1050,927,702,628,731,886,968,1100,756,893,1166,1023,1016,976,885,700,852,1048,1084,975,1446,1232,721,884,1056,756,661,1116,1378,813,876,1390,1476,933,730,653,581,618,874,1118,1168,1080,806,782,1038,843,707,885,1170,962,902,1132,1110,1070,1248,1400,1414,1586,1408,1416,1716,1538,1210,710,453,497,529,703,781,608,733,1292,1260,555,433,498,1012,1108,1074,1374,1296,1048,892,829,799,728,1013,951,1052,1106,1236,1392,1342,1358,1440,1472,1450,1096,652,489,516,627,888,976,1230,1516,1572,1242,999,659,518,900,1074,740,692,818,1096,1172,968,1072,597,351,849,1434,1106,875,1208,997,890,1356,1794,1432,1202,1102,1316,1364,1272,1238,833,421,326,413,477,495,908,1094,661,466,318,380,666,565,403,458,570,483,360,293,286,305,318,339,447,477,419,428,746,1028,888,800,719,954,884,941,874,1384,962,547,624,715,1062,1490,1488,1228,1144,736,924,990,595,357,352,310,305,381,312,410,730,800,666,480,405,595,1176,1498,1366,1344,1446,1432,1312,1132,1174,1320,959,440,344,486,519,473,440,389,483,739,647,487,871,991,698,880,893,938,982,863,650,631,534,521,457,373,359,500,871,1280,1466,1620,1866,1692,1394,1368,1472,1566,1614,1362,1684,2186,1734,1260,1402,1510,807,568,714,1036,1318,1072,979,1168,977,880,1015,1348,1724,1316,1348,1590,1630,1350,1068,1080,1368,1288,1346,1390,1028,704,615,924,622,928,1234,1062,949,647,510,756,1018,1208,1160,1100,1122,877,1122,1494,976,818,1072,1160,1208,949,826,1072,1300,1336,1168,1060,1326,1160,884,1036,1042,942,1044,1136,911,722,949,1026,1144,1370,1138,1240,1756,1318,791,618,850,1694,1584,791,930,1040,1346,1152,1172,1260,1306,750,430,501,575,636,716,650,691,541,875,2978,1742,858,801,1052,901,529,643,931,957,784,550,677,781,707,491,484,347,350,378,355,525,1494,1706,1094,1114,1050,775,421,359,593,757,605,534,388,265,248,278,272,361,432,335,279,564,908,574,372,516,538,660,917,896,761,947,1076,1072,1132],[998,905,1448,1362,1152,1294,1226,1228,1158,916,622,778,1074,1068,1466,1248,776,1382,1942,1432,1240,1290,1058,1116,1156,1166,1178,1032,1080,1056,936,722,658,765,728,854,1021,1158,1508,1612,1408,1296,1444,1642,1704,1652,1434,1300,1628,1608,1336,1192,1172,1238,1006,1172,1044,924,894,896,619,477,588,495,553,1062,1542,1674,1526,1426,1162,1004,896,1110,825,839,1198,1354,1426,1290,968,937,1210,1234,1238,1104,913,866,801,959,1472,1748,1770,1620,1216,1176,1068,511,493,512,473,472,546,934,916,636,683,604,354,287,270,283,268,299,290,282,327,344,313,323,353,329,316,357,362,353,449,565,612,441,564,745,649,523,481,484,537,761,856,890,929,1132,1484,995,1058,1312,1198,814,644,565,830,991,690,383,649,910,719,674,1048,904,720,710,639,653,705,706,742,597,1066,1294,1046,1202,1356,1328,1390,999,825,1262,1672,1406,1116,846,1188,1456,1248,977,1238,1268,1230,1112,860,803,798,681,802,861,1142,947,477,444,416,417,458,698,695,780,820,819,903,1001,751,646,635,639,691,1206,1144,916,827,777,744,1064,1234,819,890,973,859,781,1360,1260,1174,1228,1278,1016,836,1020,1262,1358,1158,1112,752,926,843,597,977,912,1182,1206,1074,1050,1034,944,1284,1470,1306,987,1052,636,739,1054,942,860,772,976,1168,906,1140,1282,1274,1348,1456,1404,1580,1170,741,712,965,1190,1110,861,938,1138,1234,1302,1302,1554,1214,598,554,774,973,820,749,907,930,1088,753,777,648,653,838,869,1180,1402,1088,814,531,522,650,890,910,1068,1334,1440,1388,1400,1214,821,954,1212,1260,1230,1112,1102,982,1018,1156,1456,1400,1106,841,576,377,338,396,514,812,740,475,829,850,917,1050,1156,1150,927,1015,1042,803,1054,1082,1232,1334,925,746,572,606,990,981,819,715,594,938,883,560,946,1378,1522,1378,1216,1354,1390,1354,1338,1252,1372,1382,1108,1302,1510,1302,782,652,670,687,854,752,563,424,893,1478,1454,1244,1216,1366,1302,959,1002,1302,1242,1248,1342,1332,1342,1274,959,1006,743,376,321,432,1001,1318,1148,1208,978,531,344,491,499,688,1042,811,598,805,991,1160,1288,1078,984,1114,1196,1278,1354,1316,1266,1290,1288,1248,798,666,819,1204,1050,805,1178,1410,1350,1644,1716,1464,1338,1526,1272,1038,1344,1266,1438,1196,868,1318,1910,1918,1714,1334,1444,1744,1706,1270,1120,707,644,580,493,592,735,910,1054,938,694,957,1760,3428,2834,1672,1690,1764,1556,1614,1356,1072,1130,613,569,435,400,724,1152,902,830,1218,1282,1142,1020,807,723,674,969,1094,1116,1298,1310,1344,1450,1374,1128,1204,1294,1266,1252,1204,1388,1360,1342,1330,1474,1416,1304,1344,1488,1236,1048,1156,1344,1384,1362,1380,1320,1158,1136,1190,1036,1284,1266,1202,1334,1076,1120,1286,1238,722,683,895,913,495,320,428,490,475,503,610,868,1202,905,565,641,618,688,727,796,947,1021,708,597,978,897,431,403,372,330,361,731,901,749,643,811,1050,1172,1278,1310,1094,1146,1244,1322,1104,1130,1164,1266,1108,929,932,970,976,943,1010,1138,1154,1344,1282,1244,1398,1192,1015,1230,1294,1238,1046,513,345,325,561,1094,1328,1354,1130,899,993,1136,1118,977,839,669,564,461,640,966,808,971,634,393,330,319,321,343,368,358,353,318,359,429,404,379,562,454,425,463,482,420,438,501,336,311,312,309,405,466,320,291,319,290,648,1021,758,763,1250,1644,1786,1848,1758,1558,1668,1102,700,619,504,592,567,463,463,409,382,531,1040,919,529,567,667,803,714,618,772,894,891,1036,899,1028,1160,989,1005,1548,1500,1228,1286,1384,1482,1688,1920,1918,1832,1902,1708,917,698,1130,1388,1168,1108,1036,808,543,476,772,1228,1162,738,788,984,1106,1298,1346,1144,1372,1300,1074,1404,1604,1238,1246,1360,1220,845,724,832,1196,1108,902,879,1130,1764,2160,1970,838,442,491,578,567,389,486,664,756,669,789,794,720,643,527,573,1122,1062,736,1314,1758,1912,1826,1352,833,1011,1290,1156,1136,1154,1148,1430,1236,1206,1310,1356,1130,885,1144,1450,1342,1314,1208,1248,1246,801,924,1236,1700,1600,1518,1548,1370,1490,1616,1242,917,753,872,969,978,1308,1116,797,637,719,671,602,525,478,439,384,371,441,752,948,933,805,1054,1144,1052,1194,1272,1140,1058,1104,920,1110,1408,1406,1226,1318,1116,592,673,597,338,405,497,739,994,908,1230,1234,1344,1312,1574,1012,915,1174,1154,1278,1310,1324,1122,1076,919,701,905,794,728,854,1094,1184,894,836,967,780,924,1020,1016,1062,1252,1274,957,949,799,814,1032,872,774,899,959,871,692,855,930,716,622,945,1140,1184,1362,1168,893,1052,1180,1184,1108,1013,1262,1220,1064,1084,1000,1006,1017,1070,1202,1138,1162,1282,1132,1224,1100,670,760,1122,1316,1272,1190,1398,1678,1320,1466,1704,1688,1426,1408,1432,1188,907,733,1036,1232,1013,1154,1196,1114,1142,856,441,1015,1066,843,815,700,525,810,1202,1190,1120,1100,1100,937,807,730,710,867,1054,963,748,980,1072,778,854,802,1020,1174,1214,1296,1096,1124,854,853,1028,1406,1506,963,1114,804,390,295,306,837,1192,1056,753,580,499,597,1226,1186,391,348,428,698,956,1436,1834,1426,633,460,755,1412,1512,931,897,929,963,949,1010,1184,1156,1028,1104,1378,1180,1206,1616,1596,1382,1090,972,799,657,882,616,836,1200,1222,1004,888,702,791,1260,1192,567,728,670,799,894,1150,1296,1206,1456,1186,705,590,636,947,1106,1026,752,440,387,402,435,412,326,303,350,371,312,451,918,1236,973,751,791,579,872,735,549,628,926,1108,812,678,721,868,530,393,514,716,935,1300,876,575,550,449,574,1108,1214,1400,1660,1044,506,426,527,871,1132,883,728,645,687,908,971,1046,1172,1202,993,836,735,898,1116,1236,1366,1380,1126,741,563,523,618,609,793,1011,852,930,890,1042,676,416,662,752,607,448,589,942,1306,1028,1015,1046,586,524,954,1004,962,1013,772,937,919,583,465,668,698,1038,1172,1130,1072,1070,985,916,805,598,913,959,839,1122,690,644,697,808,1010,633,487,882,961,731,637,1086,1194,802,482,705,1007,1036,1088,1254,1208,959,889,995,1110,1528,1058,668,604,688,784,943,866,758,767,847,1100,1406,1666,1284,1040,1088,1504,1732,1302,1160,1318,1306,1410,1340,1260,1192,1826,3002,2250,1332,735,580,772,772,666,852,966,1362,1438,998,965,919,792,503,441,634,622,507,594,659,956,1518,1448,1068,998,1078,1194,1096,1106,1226,1198,1146,1156,1366,1328,1014,1226,1140,1258,1378,1430,1204,1108,1114,1146,1148,1108,1026,1088,1040,943,1020,848,709,482,367,469,513,643,883,911,642,833,998,980,925,922,951,743,901,1258,1550,1760,1794,1204,807,865,1058,750,1156,1606,1272,1308,1128,1554,1514,1016,622,493,552,743,1080,1050,1140,1072,907,1036,1322,1250,1124,1058,937,906,938,981,1216,1358,1510,1414,1340,1380,1214,1360,1660,1480,1204,1007,716,653,673,438,440,443,552,1038,1156,779,580,517,838,1094,1350,1400,1154,1338,1340,843,804,749,1014,1200,1138,1152,1218,987,901,1196,1328,1396,1434,1204,778,550,420,555,930,1086,1276,1600,1472,1378,1552,1002,454,880,1112,697,540,703,882,1056,1132,1100,733,505,888,1318,1050,997,1512,1034,1060,1202,1318,1366,1158,994,1256,1390,1338,1246,713,650,663,584,455,621,803,786,519,329,266,310,405,423,359,361,498,496,278,256,271,292,401,465,509,432,325,445,776,916,796,666,639,1236,1080,937,722,1232,1164,560,397,677,1092,1278,1664,1046,1092,1548,1694,1007,670,608,452,349,516,588,419,720,1298,1708,1290,625,453,674,1262,1340,1272,1476,1500,1250,1236,1182,1076,944,572,423,382,741,836,709,531,423,386,570,819,938,1144,1376,920,661,749,927,743,559,578,558,544,473,428,413,362,374,626,1017,1328,1128,1021,878,831,954,1116,1244,1274,1372,1786,1692,1410,1354,1558,1178,591,526,827,939,1182,1090,1200,1710,1786,1434,1218,1294,1730,1440,1430,1412,1368,1396,1098,849,1001,1258,1402,882,678,945,824,818,1110,998,872,1144,1164,936,935,863,876,1074,924,714,960,845,1190,1214,735,1132,1510,1324,1186,1094,741,587,730,1028,921,609,842,1208,1036,1066,968,754,878,1042,858,815,808,641,758,1078,1248,1410,1542,1254,1038,973,1262,1696,1248,633,590,810,982,999,1006,986,923,615,819,1366,1594,1840,1678,875,652,495,583,3020,1710,1372,1330,981,1324,1122,877,1190,971,685,553,720,905,966,549,441,544,680,692,738,1100,1698,1654,1266,1416,1252,844,703,466,802,1224,1040,571,379,383,316,291,257,311,370,311,341,789,954,668,462,402,613,815,405,286,376,802,1204,963,765],[1080,1104,1160,1032,957,1064,954,1124,888,587,334,429,667,932,1136,1132,1306,1792,1656,1242,999,802,973,954,1258,1682,1704,1262,1476,1448,1320,1136,857,579,570,968,952,1144,1470,1620,1130,1050,1216,1566,1776,1644,1456,1414,1444,1636,1664,1678,1686,1284,844,864,694,506,517,487,470,838,1120,785,662,1034,1362,1184,1224,1172,984,1007,940,1024,861,774,846,1046,1154,1050,717,717,1116,1124,1190,1114,893,725,900,1180,1206,1192,1348,1182,1019,1180,798,473,464,370,418,480,480,621,811,777,724,487,339,302,273,283,280,306,297,280,378,437,366,346,322,320,337,316,336,344,302,356,336,263,561,848,832,750,464,392,458,371,438,758,941,888,661,541,701,766,682,694,655,725,707,684,711,419,507,923,884,937,1124,1112,1040,961,869,892,919,671,692,674,1013,1042,1074,1400,1550,1764,1606,1192,981,1168,1456,1398,1376,792,1015,1336,1106,1048,1294,1152,971,1023,839,483,502,544,775,792,966,594,472,438,370,434,754,805,738,991,1104,933,739,665,694,1158,1268,957,634,788,989,802,709,841,830,1150,1228,1026,863,944,693,660,1200,1142,1130,1184,1192,1176,1296,1752,1568,1238,639,704,764,946,714,692,789,839,1248,1698,1592,1104,1288,824,715,870,949,1086,830,637,1004,1015,769,866,963,976,823,758,1124,1440,1410,1526,1370,1242,1294,1242,975,741,808,781,1036,897,584,763,1080,1070,1268,1452,1068,601,455,641,850,949,987,936,861,653,844,769,520,418,489,853,1582,1640,1298,1180,673,579,883,1290,1128,1382,1516,1456,1356,1386,1426,1412,1316,1156,1178,1378,1164,1196,1208,1018,1056,1170,1078,806,825,976,742,396,502,950,1098,951,701,1066,1040,943,908,1090,1150,1078,1234,1160,937,672,762,961,1322,1138,814,669,634,987,1126,1154,885,730,966,675,582,1222,1176,904,901,1184,1560,1444,1292,1490,1558,1450,1156,812,1216,1588,1334,1024,862,1004,1106,1114,1084,845,909,1362,1568,1360,1338,1166,995,959,852,1168,1178,1026,979,1134,1252,1362,1272,973,1268,917,459,869,988,1028,860,868,1180,1116,924,745,530,544,899,1114,830,670,968,979,843,1058,1130,937,1005,1350,1328,1208,1018,912,1038,1346,1224,800,778,979,1178,832,685,930,915,984,1512,1596,1450,1438,1164,1244,1522,1562,1516,1670,1686,1556,1716,1772,1544,1606,1586,1590,1542,1234,1088,1058,770,694,682,747,847,838,1020,1040,1108,1130,1082,1236,1318,1164,1278,1560,1360,1608,1880,1346,1198,922,694,535,400,522,1010,1124,1010,1326,1490,1200,1108,818,690,993,632,1007,1376,1386,1350,1272,1230,1324,1220,902,1078,1190,1048,1252,1404,1522,1470,1594,1512,1438,1316,1356,1428,1274,1162,1266,1282,1566,1302,1236,1300,1092,1130,1172,1288,1450,1686,1558,1274,1162,936,1192,1294,886,586,419,538,554,427,362,363,388,368,527,758,996,1398,824,594,641,626,658,655,680,799,922,785,674,902,862,427,351,356,353,337,521,598,491,494,747,943,1020,1040,1076,1304,1438,1142,940,927,1050,1192,1450,1162,824,977,902,840,1002,1104,1080,1056,1120,1092,1156,1410,1440,1352,1426,1352,1074,999,979,730,430,477,905,1366,1152,708,699,890,1064,1178,1021,815,594,488,583,839,1062,746,585,459,381,349,312,330,349,325,328,345,331,339,339,346,496,514,429,478,397,379,453,460,479,332,317,315,301,454,434,307,299,319,316,700,1001,564,761,1452,1476,1556,1676,1666,1522,1522,1020,676,521,515,749,654,424,442,429,407,411,1018,1166,839,727,693,707,853,930,935,767,937,1236,898,1162,1202,998,857,1240,1422,1308,1376,1390,1312,1634,1750,1898,1844,1810,1806,1390,1038,1164,1520,1570,1228,740,535,437,645,911,1186,1102,1084,1242,1138,1126,995,1228,1544,1526,1350,1268,1588,1450,1260,1508,1364,1438,1364,1192,1110,1218,995,800,846,1290,1670,1828,1714,538,354,359,525,506,332,438,719,923,981,921,766,616,664,548,623,715,658,551,880,1540,1596,1356,1011,716,844,993,796,941,1126,1156,1290,1236,860,773,838,1066,1162,1088,1010,917,1002,1084,1158,1256,944,1048,1290,1764,1744,1602,1556,1576,1546,1466,1090,906,1042,953,1058,1290,1206,1054,991,877,795,1022,1176,1068,904,755,435,488,544,755,1024,1388,1176,1074,1128,1026,1013,1224,1276,1136,1144,1002,1284,1410,1148,1254,1258,1021,724,924,992,688,935,1232,1360,1060,977,1346,1358,1308,1228,1786,1678,1190,1268,1400,1382,1324,1586,1478,1130,1128,1150,1134,814,701,780,929,879,1036,1094,769,766,679,727,1130,1268,1216,1192,1028,949,839,749,1034,811,854,710,564,576,619,923,1072,893,820,1024,998,998,1092,774,823,1132,1182,1084,1080,959,1028,975,774,752,894,1146,1116,1222,1426,1674,1406,1396,1388,1456,1114,670,846,1202,1212,1100,1030,1180,1178,1252,1430,1538,1668,1552,1504,1176,1044,1086,883,778,604,590,838,917,676,820,566,483,613,694,997,1020,708,609,1060,1302,1338,1013,1218,1092,954,1015,919,847,939,1070,1242,1292,1528,1128,736,595,617,708,842,1178,1266,999,819,639,640,673,658,601,892,1104,670,390,315,315,812,1408,1296,736,556,514,725,1100,786,367,298,387,394,509,755,918,745,519,350,541,1016,1036,464,518,692,997,755,681,927,994,1080,1278,1396,1250,1354,1560,1470,1364,1210,663,637,602,713,626,1140,1962,1678,1180,1146,777,602,770,690,560,703,785,907,1021,1250,1294,1376,1488,912,678,735,777,1017,1048,641,375,339,364,402,423,381,300,315,371,362,281,488,1158,1300,1260,832,518,615,841,814,757,833,854,576,644,1005,879,952,794,539,574,589,606,713,837,657,426,361,365,601,1148,1452,1402,988,735,1092,1408,1328,961,681,446,410,591,966,811,626,1116,961,824,988,991,1114,1496,1866,1716,1452,1346,1106,724,580,507,404,688,753,645,614,1007,1134,782,760,1002,1112,735,472,555,867,1138,1104,1001,864,630,810,1344,881,702,664,825,821,671,560,954,882,643,882,1052,998,987,838,811,1078,948,850,800,684,609,876,803,726,769,974,959,606,622,1054,1098,816,706,1340,1330,966,694,692,938,1076,1088,1142,860,559,788,1076,1224,1262,1098,789,645,723,736,798,881,990,1030,1246,1594,1544,1670,1266,1100,1236,1546,1548,1158,1376,1396,1298,1482,1362,1322,1610,1966,1856,1566,1072,631,568,760,904,982,1016,974,1224,1562,1338,1412,1214,819,479,375,558,679,555,536,593,946,1460,1640,1360,1252,1356,1438,1410,1296,1276,1356,1242,1346,1574,1478,1338,1402,1178,1022,1098,1122,1162,1164,1078,1052,1112,1106,813,997,870,812,981,1128,905,490,378,554,709,669,821,1016,927,885,736,708,761,788,883,836,1082,1526,1874,2082,1806,1242,1278,1146,1013,879,1644,1324,1356,1842,1628,1396,1180,1012,795,612,610,904,952,982,1282,1094,1088,1142,1344,1516,1444,1210,1013,952,1022,1182,1366,1210,1066,1252,1256,1110,1056,1148,1354,1298,1224,927,794,1076,1086,555,747,663,612,1028,1416,1124,836,662,798,1216,1180,1052,1306,1322,1232,922,1009,1184,1238,1090,871,713,803,869,905,1336,1240,1158,1174,1072,727,523,367,625,1010,1310,1504,1252,1128,1284,1388,906,584,583,750,728,669,648,828,989,1162,1356,1094,652,618,840,1050,851,1218,1288,1230,1376,1610,1592,1476,1456,1370,1222,900,991,588,585,605,633,658,833,1046,1106,872,676,707,610,478,429,347,324,360,438,369,282,296,333,405,537,529,440,422,531,579,540,571,586,527,776,697,445,487,1116,1286,570,407,532,912,1092,1096,967,1336,2090,1730,1144,932,913,811,417,506,757,810,1070,1338,1970,2202,1200,718,792,887,1092,1400,1674,1288,1001,1420,1364,924,465,507,455,578,1170,1400,1296,899,495,495,527,790,1094,1378,1332,1378,1228,977,775,544,474,541,567,545,446,386,368,357,393,416,429,793,1200,894,472,603,623,642,951,1072,1232,1450,1236,1272,1482,1934,1400,636,502,1046,1484,1496,1120,1090,1158,1498,1550,1388,1034,1572,1572,910,824,1182,1364,1166,744,786,1284,1686,1424,995,1252,1446,1418,1606,1128,601,738,852,820,785,583,598,682,744,866,1378,1006,672,503,879,1566,1550,1178,1108,1388,1188,663,506,834,787,753,1170,1352,1192,1206,1080,856,1116,1102,760,638,471,383,397,490,925,1054,937,1116,973,849,1360,1910,829,578,883,1118,1214,1484,1252,1236,1264,942,1228,1792,1804,1706,1522,968,576,514,586,2232,1598,1200,1092,1136,1542,1336,923,1280,1390,746,415,487,1110,1110,589,403,612,957,1248,1230,1204,1670,1624,1104,1019,968,725,600,577,1007,1376,1144,549,431,424,354,303,303,266,270,311,374,767,959,672,503,513,645,846,440,359,900,1282,1220,661,843],[1150,1150,1122,832,686,1128,1172,1352,772,690,705,426,766,1162,1242,1250,1648,2048,1584,1362,1164,898,1188,955,1172,1298,792,797,1358,1436,1316,1226,1070,940,1058,1474,1302,1172,1154,1076,1026,979,1170,1410,1528,1290,981,1362,1632,1492,1558,1902,1766,1150,1174,1042,642,445,489,537,638,1078,1350,1170,1158,989,1248,1534,1630,1370,1202,1058,858,891,845,803,692,813,899,1000,988,1054,1070,1232,1288,1058,990,1150,1086,850,675,932,1374,1186,843,871,672,661,838,876,778,609,451,466,567,691,559,350,378,360,311,303,300,308,281,287,438,502,390,399,386,345,347,341,394,444,441,475,431,432,739,951,1046,988,647,543,538,550,407,459,541,574,555,459,489,447,540,424,404,529,523,806,912,535,514,968,1040,855,933,1080,788,762,1066,1164,1104,620,553,825,1080,887,946,1516,1626,1432,1712,1428,1196,1350,1248,1274,1124,620,710,1054,985,1058,1360,1110,774,628,512,355,307,411,706,1084,991,507,417,451,339,504,888,746,544,822,1252,1240,1710,1372,1108,1232,1218,1096,1096,1194,1180,876,693,715,682,918,1380,1400,1064,1200,1096,1016,1018,861,861,953,1240,1284,1534,1922,1308,935,641,1126,1278,759,612,862,820,822,1130,1804,1884,1516,1592,977,622,545,549,761,826,856,1134,1110,1088,989,1150,1344,885,1126,1001,921,1086,1194,1112,1348,1452,1094,1112,996,1176,1182,1202,842,766,597,678,917,1256,1454,1244,942,735,734,871,1172,983,940,1170,1013,896,1130,975,493,711,1244,1456,1296,1274,1176,831,880,1012,1023,1058,1440,1484,1280,1272,1898,2424,1200,1208,1274,1444,1396,1002,987,1154,993,973,1046,969,862,1078,1152,930,637,981,1240,1300,1286,1054,861,866,637,550,913,1064,923,1102,970,805,656,1015,1062,1418,1640,1368,941,862,1194,1456,1454,1256,1056,933,647,456,868,909,590,792,1316,1482,1540,1448,1564,1642,1428,816,694,1148,1444,1368,1396,1178,896,772,1086,1338,1174,955,1038,1216,1286,1372,1074,794,650,673,865,869,1008,1230,1434,1526,1500,1164,1054,1196,912,593,1182,1456,1482,1072,821,836,800,1214,1186,724,599,957,1130,1192,1116,1462,1406,922,822,1122,1246,977,1150,1366,1002,1176,1116,875,883,792,893,1062,1194,1210,1134,1366,1210,701,998,1596,1652,1470,1282,1002,1002,978,1002,1258,1158,964,1078,1558,1696,1740,1736,1752,1730,1528,1340,1332,1134,905,755,662,860,1060,701,666,664,825,1384,1502,1394,1478,1128,1062,753,670,1128,1694,1714,1342,814,951,786,597,1134,1382,1202,1300,1274,813,653,1034,1036,650,1088,854,1072,1222,1296,1388,1130,1032,1242,1184,1178,1320,1360,1042,1112,1288,1340,1232,1354,1372,1186,1162,1218,1272,1194,1194,1396,1522,1744,1656,1610,1438,1318,1284,1224,1260,1308,1362,1152,723,705,749,1272,1356,733,636,711,430,348,484,592,416,383,447,651,901,1264,1258,685,490,451,522,623,660,716,901,1072,733,504,629,651,393,365,409,398,417,439,509,522,432,529,612,912,1072,1142,1388,1396,1228,957,817,1044,1312,1378,1214,981,1058,1130,1060,1017,989,948,1130,1056,1094,1376,1442,1434,1302,1252,1302,1172,863,1010,883,537,377,708,1156,962,460,456,921,1152,1170,1010,880,923,738,1048,1290,1164,851,639,451,398,361,340,365,400,349,326,334,324,316,294,330,532,517,412,459,394,481,569,506,451,349,319,301,319,465,424,294,310,293,348,753,885,528,707,1448,1446,1350,1356,1352,1562,1402,762,617,569,598,650,620,467,413,364,372,360,729,1084,1136,857,556,618,703,902,1126,814,662,803,1102,1200,1076,1028,883,845,858,1013,1416,1860,1302,1378,1278,1462,1702,1790,1888,1848,1420,1282,1592,1556,923,497,716,725,956,732,980,1102,1358,1416,1404,1288,1052,1236,1350,1444,1338,1420,1502,1276,1430,1132,1292,1648,1484,1198,1178,1404,1276,781,730,1396,1842,1592,1036,715,697,550,469,331,477,685,706,922,1072,993,581,492,592,396,448,757,1098,710,667,1294,1418,1064,855,472,391,438,429,688,1018,1030,1284,1256,1066,1338,1274,1244,1284,844,910,1026,1086,1021,1034,1188,1266,1354,1314,971,966,1424,1568,1878,1838,1590,1146,1078,943,703,675,807,561,642,1026,1092,929,1258,1248,1302,1174,1046,1066,1086,1017,1084,1170,1216,973,939,1188,1152,1164,1360,1426,1366,1360,1378,1558,1182,980,1080,1170,1186,822,780,1166,1350,1638,1206,1640,1528,1538,1410,1004,926,1184,1660,1678,1240,942,1162,1074,774,951,1062,1048,960,986,900,668,641,543,586,940,1294,1290,1112,796,548,713,998,1001,838,826,807,913,963,690,719,541,495,454,460,407,613,960,1116,1216,1180,1094,705,665,692,613,1042,1588,1350,997,1226,1400,1358,1192,775,629,832,1284,1260,1524,1510,1666,1502,1378,1260,1222,1084,931,1272,1434,1114,1142,1068,1108,1198,1338,1382,1458,1526,1282,940,838,795,517,468,359,340,426,676,659,678,861,969,1024,836,854,871,585,403,754,1368,1328,1212,1096,1260,1072,1192,1518,1428,1238,1338,1112,1094,1348,1404,1078,724,641,908,1178,1232,1342,1372,1158,875,602,523,631,696,642,696,743,506,390,451,493,789,1298,1172,542,451,794,717,783,599,346,329,407,412,592,553,379,480,642,498,589,628,537,520,517,567,777,608,385,416,661,915,1134,1318,1082,1132,1192,1376,1996,1410,840,994,837,625,563,1010,1314,1007,926,942,759,675,641,610,565,619,907,1042,875,903,1160,1390,1328,766,780,901,1012,1044,850,530,365,284,343,444,434,347,315,377,354,348,427,626,1198,1484,1304,728,647,971,777,576,752,763,603,496,862,1106,758,728,948,764,711,724,678,872,1266,973,549,405,340,387,1040,1294,1404,1128,975,1462,1500,893,811,989,978,730,852,1072,874,825,1192,1130,915,955,957,920,1092,1612,1340,1622,1306,1174,785,611,483,455,599,655,702,801,1406,1190,738,621,816,809,496,436,514,741,952,1192,1078,658,365,695,1360,825,494,459,714,814,650,664,1124,1170,643,600,657,885,924,561,754,1080,1152,977,580,384,368,537,874,1186,1332,1372,687,742,735,968,969,988,984,926,742,648,670,692,885,1094,1070,767,511,396,588,858,1040,1124,1118,846,839,954,950,938,1378,1242,1290,1432,1450,1372,1604,1368,1072,1212,1208,1368,1362,1378,1324,1282,1268,1208,1382,1686,1694,2154,2172,1290,970,862,933,1096,1162,829,987,1324,1388,1438,1560,1072,554,374,359,477,709,644,521,513,1052,1428,1640,1766,1738,1750,1634,1566,1644,1610,1822,1632,1474,1398,1334,1454,1470,1106,1096,1344,1278,1170,1118,1128,1076,990,1028,1009,996,861,1064,1166,1078,761,495,429,670,971,784,912,1048,752,929,835,752,829,918,828,780,995,1218,1350,1440,1290,1460,1366,1154,1038,853,886,1096,1540,1832,1852,1490,966,836,845,738,749,900,941,1012,1012,1030,1186,1052,976,1172,1354,1170,1074,1152,1392,1220,1212,797,694,1164,1172,1068,1262,1348,1196,1112,1306,1188,1350,1348,1366,976,807,862,915,1011,974,810,1070,949,868,1110,1038,948,1002,956,1036,1188,1302,1336,1114,924,905,913,918,1228,1428,1356,986,1116,1056,709,565,442,345,669,1160,1556,1832,1452,1504,1364,1436,1440,1232,792,875,1454,1490,982,869,864,1098,1566,1592,1542,1036,1024,1156,1218,1230,1858,1808,1344,1434,1452,1664,1836,1134,844,827,1212,1024,746,772,1336,1478,1328,1454,1520,1394,1130,1062,1038,975,610,412,388,408,520,491,269,327,354,443,725,1116,1302,977,964,722,633,955,1290,1017,957,766,407,505,991,1426,579,455,477,709,1162,1300,1220,1356,1406,1318,1418,1132,987,834,455,459,781,1118,1494,1484,1908,2302,1572,1188,1250,1276,1282,1376,1346,933,1023,1152,1298,1494,1020,607,456,510,1026,1486,1492,1124,576,504,609,848,641,641,1116,1550,1320,965,774,546,514,504,511,569,426,351,321,326,321,362,407,430,639,545,500,796,1007,1068,1332,1172,1160,1230,1290,1202,1636,1650,1214,667,711,1510,1692,1352,1382,1188,998,957,1296,1398,1232,1734,1772,1176,1050,1206,1376,1198,594,683,1396,2204,2118,1812,1532,1368,1450,1462,1136,932,1388,1036,661,755,936,883,750,894,1278,1726,1416,744,805,1426,1318,882,1086,937,1072,1154,691,453,705,923,923,1090,1166,996,1284,1306,1278,1508,1104,762,575,441,346,357,370,589,648,576,592,370,327,624,754,434,507,1150,1224,1462,1836,1838,1826,1330,1462,1338,1546,1644,1680,1650,1364,761,506,669,1036,1068,852,1052,1422,1164,1108,1002,713,738,483,335,552,1028,923,511,438,527,861,1366,1342,1360,1742,1254,582,456,700,721,461,558,833,1108,1036,622,472,369,316,304,305,379,389,350,383,558,702,670,599,594,399,381,336,260,905,997,592,399,518],[1096,998,941,558,562,1072,1820,1454,1216,1184,860,546,550,562,940,1204,1664,1666,1550,1116,898,966,1054,1040,1144,1060,890,1254,1530,1500,1158,949,1034,1178,1482,1416,1438,1408,1186,968,932,947,1102,1268,1262,1128,1076,975,1350,1548,1644,1620,1350,1356,1506,1078,691,833,683,478,695,1012,1322,959,1208,1144,1230,1506,1566,1382,1318,1036,705,944,1036,973,1013,966,723,919,1148,1252,1214,1094,1030,964,885,1132,970,860,587,1078,1338,1490,1005,781,876,957,1268,1234,1250,1078,701,536,1000,1232,918,570,422,383,346,368,413,339,320,318,444,548,488,462,448,420,342,320,422,576,759,778,728,724,1020,1164,1124,949,865,857,1076,1170,843,706,698,786,790,705,696,641,805,398,327,328,313,397,561,475,694,1344,1288,861,1034,1212,1072,994,1028,1110,963,800,569,854,1138,830,648,819,974,1388,1734,1432,1334,1590,1208,1050,713,713,940,1038,938,935,1342,1222,914,533,390,347,471,419,535,1140,1102,548,364,400,407,595,899,586,379,436,955,1162,1394,1362,1268,1198,977,665,886,1240,1156,965,921,639,608,1020,1648,1632,1288,1262,1244,1236,942,691,806,1194,1364,1394,1290,1434,913,503,740,1404,1284,733,672,1084,1230,1082,1428,1786,1766,1668,1460,1332,1001,713,745,1100,1100,797,803,616,825,1144,1366,1298,989,1194,1022,1090,940,813,830,877,1019,784,907,945,901,1156,1202,993,972,806,678,695,1136,1510,1560,1322,1122,882,853,787,698,603,858,1296,1344,1248,875,523,1120,1372,1118,1054,1218,1294,1098,1342,1368,941,1009,1206,1288,1136,1270,1626,2470,1508,1286,1456,1532,1478,1306,1228,932,808,1078,1352,1342,1176,1013,935,1005,954,1108,1080,1142,1102,1009,1148,1256,793,670,1094,1140,765,756,739,866,1096,1494,1348,1322,1456,1394,1358,1154,1586,1984,1790,1242,1052,1534,1108,578,689,656,538,946,1288,1422,1394,1156,1294,1586,1596,1210,796,922,1058,1324,1432,1210,1078,913,934,1078,1248,1076,938,971,1334,1422,1036,774,747,761,752,1084,1640,1772,1738,1494,1658,1268,1072,1168,990,735,820,1328,1568,1046,706,792,711,1210,1120,961,824,1092,1224,1144,1288,1512,1388,1296,1010,1114,1236,1298,1446,1462,1288,1510,1550,1146,631,587,858,1094,1166,1154,1072,1090,836,501,1008,1526,1362,1078,1048,1084,986,662,832,1078,762,585,1019,1422,1504,1512,1388,1322,1376,1246,1294,1454,1368,1428,1394,1166,1170,1422,1086,918,945,863,1186,1510,1496,1428,1162,1248,725,586,475,622,619,794,783,932,793,637,1146,1232,1074,1024,1162,1072,852,996,1088,906,937,694,673,774,1036,1446,1352,1318,1090,1296,1532,1500,1386,1168,1118,1214,1048,1012,1286,1300,1326,1390,1418,1166,1182,1206,1340,1548,1678,1544,1626,1724,1656,1430,1008,988,1504,1450,1114,662,742,662,817,926,675,846,868,454,453,783,1013,585,471,901,1046,973,1086,786,799,831,634,649,840,846,1011,1278,1280,797,563,549,422,371,428,461,464,494,640,673,622,526,504,688,1023,1052,1070,1150,1172,1362,1356,1140,927,866,1174,1136,1036,996,1086,1186,1138,1100,1116,1122,894,824,943,1084,1160,1118,1066,923,695,832,1007,799,535,485,520,727,973,798,789,1108,1098,1142,929,775,818,1012,1132,1023,943,999,857,486,408,369,357,352,361,349,325,330,316,310,317,393,539,430,407,407,407,424,486,494,407,331,330,310,349,458,401,295,310,300,351,949,833,527,861,1498,1454,1260,1292,1384,1478,1150,608,549,555,642,554,584,470,395,376,391,388,497,762,896,667,428,519,818,1362,1668,1606,1198,1080,1308,1188,935,974,1009,946,754,705,1626,2184,1406,1202,1294,1366,1438,1588,1828,1838,1670,1650,1838,1650,724,483,586,746,1226,1068,1228,1398,1300,1274,1322,1336,1478,1356,1368,1360,1478,1506,1500,1440,1352,1122,1366,1396,1034,930,1322,1830,1306,628,951,1484,1866,1452,1284,962,773,1018,766,490,797,1000,695,899,1026,1036,524,356,569,602,461,693,838,503,558,1134,1428,1120,1102,707,472,519,514,688,1032,1230,1402,1214,1278,1334,1204,1170,1094,1007,1272,1352,1338,1030,831,1086,1340,1268,1300,1222,1280,1322,1490,1684,1634,1024,1062,1108,704,482,442,374,532,856,896,1166,1044,1332,1552,1242,1348,1118,1028,1296,1280,1236,1130,930,904,1086,1286,1422,1488,1468,1498,1360,1164,1262,1380,1234,1172,1142,1248,1258,1270,968,1104,1616,1742,1308,1122,1428,1654,1312,1019,1220,1230,1166,1011,795,874,1256,1058,956,1024,1062,1100,946,1076,1200,760,879,718,498,1154,1154,890,706,607,663,797,758,852,800,435,615,883,815,558,597,648,686,799,872,857,923,934,1010,1152,1088,947,782,834,891,733,1096,1434,1200,996,1256,1418,1356,1290,972,651,736,1050,1007,1007,1360,1628,1394,1142,1122,1068,1009,1124,1366,956,864,1216,956,1058,1344,1392,1620,1730,1578,1274,829,612,610,455,505,472,601,689,717,651,624,648,713,871,858,896,736,536,486,1128,1450,1278,1044,1052,1134,1190,1412,1372,1406,1310,1364,855,791,1088,991,863,728,717,781,944,1188,1272,1380,1274,986,600,579,713,837,855,872,871,774,819,1042,996,972,1262,1256,643,585,1104,1458,1410,715,383,428,568,919,1010,544,326,358,613,915,1220,925,599,592,592,752,893,710,434,305,344,644,1306,1588,1132,1498,1390,1560,1766,1332,1038,865,755,670,480,692,708,754,1212,899,754,631,515,492,631,973,1370,1418,907,555,758,890,1076,1042,1210,1070,777,838,1048,818,422,305,409,474,405,384,350,375,348,330,519,498,716,1128,1186,796,708,968,691,493,799,656,648,753,980,1226,891,769,1003,1001,934,650,559,794,1046,1066,514,405,404,375,755,1154,1266,1208,1320,1394,1268,809,1018,1076,1134,988,1010,1030,1112,894,722,817,860,871,857,847,636,1032,1286,1244,1256,1130,675,659,549,615,510,359,379,847,1564,1038,541,478,478,417,382,401,557,827,1050,1224,1164,601,368,364,474,502,449,543,558,424,485,702,1234,1318,619,633,586,625,470,561,824,1164,1324,820,484,469,542,589,1098,1666,1316,1019,703,951,966,909,775,1066,1228,852,570,522,828,755,1166,1362,1390,746,462,576,722,831,1066,1160,1011,660,932,958,1034,820,1246,1192,1490,1516,1422,1632,1780,1372,950,1154,997,1058,1390,1338,1288,1226,978,1094,1368,1434,1844,2328,1920,1440,1204,930,1028,1342,1070,669,951,1136,754,813,912,685,484,392,390,526,710,718,531,517,1182,1560,1696,1784,1670,1754,1518,1664,1536,1254,1168,1078,1092,1152,1282,1368,1376,1252,1284,1250,1216,1168,1194,1148,918,899,1058,1172,993,967,1052,989,893,711,714,566,547,723,788,814,733,1484,1664,1254,1124,1058,1188,1082,1052,1238,1454,1428,1438,1060,1312,1160,954,1050,985,946,1156,1428,1354,1260,1266,986,876,886,626,646,860,948,775,608,724,785,675,916,1186,1200,1196,1180,1324,1244,1196,1382,1146,991,1072,1132,1344,1592,1470,1054,927,973,1086,863,673,949,846,694,1158,1410,1058,766,628,1176,1142,1078,1246,1250,910,702,600,725,935,999,1118,1160,1266,1346,1236,1058,1168,1028,644,538,628,639,684,533,365,428,901,1376,1366,1390,1404,1382,1368,1454,1478,1332,1368,1332,1160,1180,1148,780,716,903,1284,1336,1460,1198,1250,1470,1478,1694,2352,2146,1504,1472,1498,1366,1412,1122,1202,1226,1470,1560,1192,956,1220,1528,1484,1414,1442,1122,623,899,1004,765,533,476,521,645,811,738,521,692,374,449,678,1362,1372,1002,1068,901,788,1110,1182,1174,1420,1288,1013,947,1112,1488,839,571,515,568,775,1112,1268,1204,978,1026,1126,862,540,403,392,617,792,954,1442,1474,1324,1250,1410,1534,1328,1250,1458,1130,1282,1224,1158,1268,1500,1584,1308,953,623,487,771,1208,1166,1060,1132,1009,1030,1046,849,675,828,1078,1112,1122,876,585,555,436,455,633,541,399,368,370,333,348,385,327,436,421,385,509,866,927,1264,1222,1042,1166,1168,1576,1938,1566,1172,664,698,1354,1084,1120,1316,1266,1302,1432,1272,1180,1378,1716,1936,1870,1656,1460,1416,919,639,765,1200,1520,1530,1774,1686,1594,1620,1462,1410,1460,1602,1292,987,892,1072,1308,1266,1278,1510,1616,1484,1010,1264,1418,1004,955,1460,980,654,625,629,607,858,1032,1004,828,602,536,734,844,797,889,656,570,492,409,592,708,571,811,930,777,398,407,373,410,364,356,716,1360,1268,1134,1434,1754,1656,771,729,1284,2096,2340,1576,990,1194,914,420,673,1220,957,594,1714,2248,1306,1636,1170,572,612,588,505,403,378,421,334,445,521,524,690,741,650,727,539,388,301,519,752,550,444,747,1252,1088,765,487,319,292,309,280,399,482,495,658,688,761,789,774,779,783,558,372,365,479,390,352,409,565],[755,799,891,598,539,931,1334,895,744,735,528,817,988,772,985,987,1108,1288,1504,870,570,796,1120,1292,1274,1072,1154,1564,1622,1888,1500,1376,1062,1160,1260,1021,1172,1318,1208,1144,943,962,1102,1224,1312,1154,1198,1202,1360,1492,1664,1620,1346,1344,1380,1136,1146,2376,1648,784,720,990,1164,1015,1005,1106,1092,1128,1336,1440,1296,1016,841,1158,1204,1130,1380,1122,816,1024,1248,1334,1112,593,393,518,576,769,754,792,635,974,1092,1176,1288,1522,1278,1108,1204,1180,1316,1214,1106,847,1180,1196,945,648,437,349,343,533,616,469,420,390,503,623,576,484,415,361,314,339,395,482,698,994,1026,837,1182,1824,1282,671,838,976,1250,1378,1184,1030,670,752,794,861,662,557,703,536,434,389,385,414,464,344,567,1584,1604,1017,1100,1076,1234,1104,1060,1466,1460,861,459,652,896,774,648,490,702,1538,1528,1264,1716,1660,1160,1084,987,1104,1024,826,1086,1280,1124,1188,1116,813,537,607,904,795,792,1058,775,835,786,470,479,758,1104,906,555,365,636,1114,1224,1112,995,840,634,477,660,1044,1000,1096,1062,645,667,1262,1618,1376,1310,1308,1346,1434,1114,901,888,1072,1188,1050,946,1272,1152,869,1212,1382,1250,1030,882,1202,1184,1130,1476,1418,1786,2034,1642,1392,1180,836,855,1490,1396,1054,811,705,805,1168,1408,1162,844,720,692,721,725,970,1272,1036,938,644,950,1098,907,1012,1090,1188,1102,1068,900,859,1256,1606,1266,1250,1406,1108,1038,785,426,465,971,1390,1180,882,604,600,1144,1396,1428,1434,1364,1264,1380,1516,1092,877,1098,1176,1092,772,907,992,1506,1352,1092,908,1182,1532,1526,1306,963,971,1246,1328,1300,1130,993,1094,1224,1172,1166,1009,804,830,1352,1290,1170,1256,1014,1270,934,453,456,600,709,946,1202,1226,1324,1408,1398,1260,1318,1698,1716,1466,1112,1146,1362,1050,990,1112,819,644,832,1028,1164,1186,1516,1534,1412,1354,1236,1226,1170,1002,1238,1172,1226,1150,1060,957,862,1186,1594,1192,1060,1346,1278,1058,855,807,931,968,1388,1702,1640,1492,1514,1614,1276,1170,1144,826,593,980,1398,1400,971,877,1086,1032,1516,1792,1536,1164,945,969,1182,1266,1344,1392,1558,1394,1246,1196,1272,1152,1130,1086,1082,1502,1428,1226,1015,1210,1368,1274,1098,697,659,716,822,1008,971,832,965,1050,1126,900,568,1084,1318,639,541,1504,1476,1122,1314,1026,879,782,650,576,729,962,1040,1068,1126,1362,1446,1512,1664,1474,934,913,1278,1356,1190,1158,1154,833,891,559,411,401,481,623,969,949,623,1068,1062,770,871,892,1076,1150,891,703,905,1030,783,860,864,875,1236,1194,875,534,1158,1410,1005,837,943,1274,1630,1224,1102,1100,1332,1754,1260,1172,1232,1478,1628,1482,1584,1624,1406,1642,1534,1642,1550,1340,1290,1626,1576,1064,783,530,485,1316,1616,469,442,383,367,629,816,938,681,805,1252,1001,815,636,689,1382,1304,951,845,1024,1202,1422,1572,1402,1036,812,758,577,372,417,552,717,664,665,522,714,549,369,620,997,1058,1078,1182,1152,1232,1220,1218,846,642,1048,923,832,934,1204,1252,1072,1086,996,625,606,955,772,1110,1092,1070,1128,1072,905,1140,1394,1206,978,955,811,688,1218,1278,1340,1318,1250,1214,792,518,644,925,1028,953,691,615,567,448,385,362,334,302,323,322,312,322,322,308,328,414,569,387,381,436,560,498,436,456,377,319,325,315,376,484,357,305,299,293,415,1066,994,579,944,1488,1372,1350,1398,1332,1338,792,598,502,457,499,481,475,462,414,406,448,446,401,450,458,397,392,679,1120,1996,2320,1856,1214,1032,1272,1320,832,577,604,867,1084,761,1134,1214,1058,1168,1266,1344,1366,1210,1460,1690,1742,1814,1684,1600,1390,804,467,750,1104,842,843,1230,1346,1278,1208,1100,1222,1212,1376,1246,1390,1256,1184,865,755,983,1400,1294,1064,1158,1528,1526,1004,572,1184,1490,1414,1720,2030,1290,596,646,706,704,766,1030,798,755,989,1046,571,343,694,940,691,368,457,661,850,984,1520,1300,1152,840,529,541,779,1546,1876,1468,1426,1262,1302,1206,1132,1166,951,1224,1472,1246,1170,1011,786,1116,1368,1244,1316,1262,1268,1002,1328,1374,1344,992,725,736,678,659,602,519,1046,1422,770,882,1276,1476,1832,1220,1098,1098,1242,1290,1112,1068,904,1052,1188,1032,954,1126,1296,1296,1138,776,643,771,1007,1200,698,516,443,551,927,1428,1506,1768,1630,1290,1292,1254,1268,1466,913,991,1102,1102,1200,1100,1102,1282,1166,1192,1176,1070,1008,905,1420,1578,1112,1046,947,716,1376,1290,814,1618,1886,686,628,647,890,905,575,644,991,1260,750,714,932,1098,1136,1146,1252,1294,1148,1084,976,915,907,889,1058,998,612,904,1454,1306,1142,1256,1418,1332,1268,1114,1168,1068,1156,999,883,1260,1532,1246,675,839,988,743,911,943,532,632,869,579,629,880,1298,1748,1564,1074,1186,1322,733,721,808,630,692,930,792,719,719,482,533,903,1172,906,703,630,611,735,1162,1316,1290,1106,1226,1324,1310,1372,1364,1334,1494,1334,1072,872,940,1086,988,900,925,872,878,1050,1204,1432,1254,886,558,484,706,885,854,956,1080,1090,1164,1206,1128,1122,1294,1450,1042,872,1220,1182,813,595,455,416,486,958,1240,532,285,322,375,1072,1426,880,529,569,707,841,821,589,343,336,479,1036,1390,1472,1410,1520,1582,1652,1392,976,724,775,681,516,465,743,775,925,1142,708,425,486,653,622,717,1054,1286,1076,631,471,502,651,1094,886,839,831,624,863,1242,1002,455,300,389,405,543,674,530,436,385,464,579,461,416,560,581,495,511,730,899,496,470,550,838,902,816,863,799,773,882,1017,1236,915,680,556,963,996,620,564,602,418,641,1118,1112,1110,1366,1072,652,705,778,994,1330,1352,976,785,749,500,459,406,485,566,888,1434,1136,1144,1588,1394,1302,1026,622,598,487,603,581,372,502,988,1268,1164,847,441,365,337,404,491,723,849,928,1188,1110,553,385,336,286,619,794,589,500,509,534,748,1340,1310,633,540,661,572,463,725,835,1274,1416,544,477,571,708,789,1338,1440,998,1013,863,893,869,657,619,893,1009,1238,960,706,874,752,1208,1426,1238,744,522,591,588,680,1078,1086,1014,795,752,957,1064,828,1176,1322,1490,1784,1936,2136,1876,1620,1080,1052,1001,1200,1502,1560,1384,1048,935,1104,1218,1632,2154,1886,1376,1104,810,627,548,933,1058,697,852,1072,698,666,637,579,511,422,391,419,500,645,585,534,1182,1732,1628,1688,1566,1484,1416,1406,923,680,586,642,761,1062,1570,1720,1550,1270,1272,1120,1058,1094,1082,1248,1160,1052,1160,1170,1011,1068,1166,1036,1122,1246,1036,542,497,468,778,855,694,1410,1514,1232,1124,879,905,915,1076,1274,1298,1498,1146,982,1114,1042,1348,1488,1182,1208,1102,1032,947,1011,1013,1212,1208,1066,911,948,980,675,495,432,408,417,503,698,840,1268,1344,1180,1312,1372,1462,1398,1110,987,745,1021,1522,1406,1302,1282,850,512,585,459,398,636,991,1466,1972,1804,1180,931,777,900,817,988,1044,1002,937,797,543,491,518,710,1172,1282,1266,1282,1144,1236,1366,1009,508,602,969,1280,1238,709,417,354,573,1028,1056,954,1082,1096,1142,1262,1248,1296,1472,1402,1244,1400,1148,656,619,583,612,805,896,1036,1300,1394,1346,1504,1580,1510,1360,1274,1340,1470,1444,1288,1804,1800,1366,1270,1244,1240,1398,1534,1454,1334,1366,1204,890,905,811,681,678,528,588,702,529,522,700,851,408,361,656,846,724,961,1280,1038,798,1128,1242,1184,1432,1218,1066,1034,1504,1548,1102,672,672,739,731,1088,1204,1020,1007,856,871,824,612,628,909,1188,1116,1092,1268,1332,1142,932,1208,1004,980,1496,1964,1136,1228,1304,1312,1766,2002,1526,1362,1308,1208,1023,962,1368,857,676,944,1016,874,881,1064,1106,901,1050,1270,1302,791,473,505,470,444,487,407,350,371,390,363,444,462,561,976,601,340,336,436,542,878,1168,1212,1224,1312,1516,1346,943,827,579,616,714,743,791,902,1246,1312,1230,1154,1248,1340,1692,1672,1628,1558,1520,1504,919,944,1172,1218,1314,1534,1444,1252,1594,2338,1812,1476,1434,1466,1434,924,771,1152,1388,1314,1374,1388,1114,1072,860,1210,948,675,1004,1220,943,697,824,860,642,838,865,863,931,843,627,790,705,501,422,448,461,355,330,582,993,879,985,1146,1092,621,470,421,419,533,523,864,1366,1146,968,1058,940,886,646,490,1320,1666,1550,1064,863,1228,1021,384,576,1058,660,473,1784,2078,1542,2156,1448,739,971,942,707,461,323,457,403,475,637,562,639,1017,1126,727,459,475,344,530,814,495,331,530,563,542,515,386,313,320,323,363,544,714,869,1038,1013,1422,1460,1108,753,822,653,430,495,474,312,330,413,778],[929,955,977,621,515,836,957,747,748,732,400,769,810,720,647,644,671,1388,1284,681,570,846,1122,1244,1270,966,1318,1058,1370,1676,907,851,1058,1250,1162,1130,1264,1332,1076,1094,1030,948,1098,1182,1172,1222,1246,1506,1362,1290,1728,1834,1620,1476,1506,1360,1370,1976,1306,875,883,1126,947,651,861,1108,1054,1250,1316,1330,1182,1076,1094,1120,1284,1444,1574,1310,905,967,1184,1166,917,593,454,393,383,346,383,497,534,539,597,767,1282,1316,1234,1062,1188,1438,1144,1074,923,859,1032,851,554,430,369,286,461,750,665,503,482,616,644,528,531,496,422,746,1282,764,767,866,1108,985,921,806,1066,1662,1168,550,728,1032,1166,1252,1216,865,537,590,722,897,728,888,889,921,996,411,509,689,844,747,465,667,1112,841,658,593,769,874,906,1246,1310,715,459,542,736,625,752,652,622,1318,1174,1044,1562,1580,1354,1236,993,1288,1242,943,1200,1208,948,1130,1412,1386,963,874,1224,1182,1090,951,616,1005,921,509,810,1252,1198,936,593,404,702,1070,1230,1206,775,350,328,589,634,783,978,959,596,523,682,836,1034,1386,1656,1648,1586,1456,1372,1178,1268,1396,1500,1196,1220,1562,1274,1408,1698,1346,1158,702,882,1300,1326,1506,1592,1306,1384,1518,1248,1238,1118,1084,1066,1288,1290,1290,950,1054,1300,1426,1266,802,698,705,522,421,469,888,1436,1012,702,848,1216,1338,1388,1132,1202,1338,988,859,1200,1368,1400,1344,1192,1310,1546,1172,594,381,349,485,893,1146,816,568,452,431,788,1262,1656,1632,1402,1328,1290,1050,1013,1500,1400,854,546,415,442,595,1116,1238,840,651,920,1200,1498,1380,1372,1666,1406,1098,1232,1426,1406,1318,946,981,1156,1186,997,1214,1578,1360,1050,1066,1006,977,616,415,552,700,601,609,970,738,811,1068,1300,1084,1366,1500,1504,1448,1288,1316,1180,1064,1306,1282,905,952,866,911,1268,1248,1420,1460,1288,996,852,1444,1532,1010,1092,993,1216,979,939,1460,1290,1272,1394,1230,1324,1366,1246,1212,915,695,745,992,1262,1280,1092,855,848,826,1140,1556,1390,901,756,857,1068,1222,1578,1568,1400,1042,1252,1534,1314,1110,1134,1158,1162,1356,1392,1418,1436,1520,1156,1134,1130,665,679,914,768,964,1332,1428,1102,1306,1296,1312,1180,766,480,708,1017,1170,1252,1290,1208,1096,858,521,510,1166,1238,806,807,1306,1162,950,1240,1002,1036,473,516,555,681,857,870,647,508,819,1274,1500,1346,1130,514,543,1020,1384,1292,1368,1288,907,745,602,477,498,568,650,851,836,1056,1326,1262,738,1066,1242,1194,1112,975,835,1042,1328,1262,1118,781,774,799,946,846,558,633,867,746,756,820,1140,1284,1276,985,795,988,1068,932,1024,1440,1488,1500,1720,1646,1648,1634,2082,1946,1872,1820,1674,1766,1870,1742,1242,903,800,767,1522,1666,709,537,608,539,417,515,828,1114,1206,1005,726,632,566,919,1394,980,758,803,988,1104,1212,1242,1198,1360,1408,1200,1108,628,458,717,805,718,766,684,811,548,311,450,771,927,1136,1266,1322,1216,1232,1212,1078,996,1250,985,980,1190,1146,1074,1066,1294,1011,613,724,1432,946,765,871,924,1080,1132,1066,1136,1108,1152,980,920,827,811,1506,1342,1198,1194,1208,1306,1198,987,928,894,1050,1152,900,753,586,462,406,380,350,343,321,309,326,335,338,334,340,461,481,355,352,431,526,484,455,451,355,323,316,319,398,471,346,298,298,298,520,1110,1182,698,985,1692,1444,1306,1438,1400,1148,549,472,458,442,465,443,402,406,440,494,466,485,397,424,447,379,368,641,1094,1866,2068,1578,1180,1344,1184,1112,1198,965,492,535,934,805,858,1150,1026,1034,1124,1160,1280,1056,1214,1428,1654,1838,1804,1670,1754,1290,802,1122,1236,843,749,1168,1010,1172,1280,1096,980,1188,1242,1124,1013,1064,959,547,475,750,1604,1650,1306,1308,1588,1670,1190,608,744,834,1222,1882,1686,1094,745,604,708,630,544,617,630,766,958,918,601,350,428,547,439,465,938,1048,885,743,1324,1256,783,477,346,383,768,1594,1684,1322,1312,1292,1260,1454,959,1024,1028,1262,1126,980,1284,1168,1066,1130,1274,1170,1230,1366,1492,1168,1166,1390,1338,706,340,354,514,862,1021,1362,1126,1142,919,967,1152,1224,917,394,459,771,927,957,912,799,653,642,820,755,505,675,971,1130,1064,820,882,1110,1376,1316,720,749,742,446,631,1116,1254,1484,1384,1270,1188,858,1166,1382,1154,701,952,1282,1240,1064,1146,1182,1172,1256,1346,1230,1050,819,874,763,653,688,782,1154,1560,1268,921,1172,1062,549,453,594,540,524,450,418,778,875,474,495,879,988,788,1086,1216,1078,877,738,800,907,1044,932,875,681,555,938,1130,1214,1294,1282,1434,1240,1154,1154,1222,1250,1310,1384,1340,1122,1298,1432,954,896,643,561,650,585,443,522,626,775,977,1236,1378,1598,1100,827,996,1430,1246,1122,1152,795,764,1226,1154,925,878,563,559,772,703,395,416,556,750,954,1184,1736,1366,1202,1488,1426,1304,1384,1312,1334,1572,1472,1066,669,852,1150,971,885,1086,1272,1194,1011,1102,1506,1284,719,534,622,921,1086,1154,1156,866,836,1124,1180,1086,1036,971,1374,1186,1102,1544,1114,761,865,792,659,549,608,648,414,412,455,333,686,816,651,703,894,911,1004,1122,622,455,384,346,735,1090,953,1140,1404,1422,1346,935,542,650,741,711,767,714,1300,1134,798,632,692,966,1360,1356,688,786,874,848,630,511,578,662,769,1124,913,633,696,717,835,963,842,744,581,475,434,540,780,838,600,426,661,852,697,638,738,407,365,485,511,511,365,321,472,763,771,1010,987,739,506,492,769,971,913,550,404,850,1050,943,926,709,321,526,883,1204,1262,1134,1096,893,750,739,1054,1406,1294,1011,923,1250,683,454,437,633,767,802,1400,1480,1328,1692,1960,1450,773,647,625,514,469,553,375,716,1252,1084,1002,836,502,498,554,956,775,1054,816,735,1092,858,627,600,438,333,720,922,855,984,760,440,678,1012,834,526,626,805,745,647,681,748,885,919,480,402,490,736,850,1017,965,1842,1950,761,543,623,689,981,1092,1076,1306,1004,1068,854,818,1220,1482,1156,654,547,586,514,498,706,1026,968,900,719,1100,1200,1154,1654,1810,1730,1786,1810,1978,1808,1776,1350,1080,1094,1314,1362,1300,1200,1020,1013,1268,1330,1682,1862,1518,1098,835,640,600,569,772,989,759,738,1060,826,901,1030,767,661,568,425,379,450,582,608,610,1148,1792,1462,1632,1732,1498,1268,878,768,840,813,906,1005,1276,1716,1754,1644,1252,1250,1176,1130,1122,2116,2776,2002,1444,1258,1168,1082,1192,1274,1176,1190,1324,1030,816,1096,1256,929,556,719,969,1040,1178,1146,954,868,1070,1066,864,987,1296,1088,1036,1100,1070,1158,1456,1334,1238,1324,1226,1126,1050,1034,1172,1128,1208,1258,1168,940,584,391,292,297,356,451,616,811,860,962,1246,1302,1308,1324,1108,795,745,659,997,1368,1466,1542,1434,1140,899,771,643,535,688,899,909,1326,1230,1082,1120,1064,1116,1002,896,1082,1376,1228,920,541,439,509,810,1090,1010,1204,1376,1126,1094,1106,711,462,686,1114,1388,972,674,390,338,518,819,925,1005,984,959,1130,1242,1370,1310,1260,1112,973,778,920,937,989,866,1023,1532,1628,1306,1262,1408,1262,1332,1462,1628,1320,1246,1286,1464,1250,1248,1756,1542,1114,1352,1272,1450,1506,1256,1334,1450,1478,1366,1072,867,745,681,756,667,780,642,459,308,447,841,903,751,760,665,614,821,1134,1170,1034,1146,1018,907,1220,951,1058,1362,1622,1504,1066,810,853,815,852,1188,1376,1246,1250,991,923,997,1046,1074,1162,1196,1356,1582,1462,1348,1222,962,827,765,912,934,1222,1334,1368,1256,979,1336,1648,1378,1250,1376,1662,1202,951,1096,706,411,926,1246,714,359,656,1058,1216,1564,1500,1236,674,456,400,454,473,430,291,244,308,371,443,492,376,460,849,441,305,364,393,472,431,568,1024,1326,1038,647,573,714,636,767,855,763,847,839,1030,1090,1013,1312,1248,1240,1276,1770,1776,1686,1558,1516,1458,1230,1288,1268,1408,1622,1444,1080,1054,1350,2096,1816,1356,1450,1880,1678,1144,1332,1536,1460,1580,1332,1402,1314,842,1108,1194,821,543,543,695,884,1076,1172,915,518,525,782,1034,1250,1410,1110,1016,977,675,377,474,406,265,329,366,478,686,1136,1534,1226,665,478,404,426,506,573,993,1174,1200,1278,1138,701,465,445,437,437,345,457,547,830,1254,1128,454,356,453,454,383,618,653,876,1230,1216,1162,1026,773,562,524,412,398,353,419,457,501,689,965,950,682,967,1104,579,630,602,415,334,503,423,349,354,340,343,305,309,348,510,649,957,1064,1100,1452,1660,1102,447,472,432,352,355,399,361,330,361,586],[695,717,823,835,645,711,1034,802,540,502,332,439,406,379,452,623,878,905,641,603,708,962,724,802,1284,1530,1524,1444,1590,1322,963,965,1048,1030,1152,1336,1360,1238,1100,1224,926,683,786,1088,1374,1328,1468,1596,1064,1202,1814,1500,1512,1692,1594,1416,1384,1258,988,977,1154,1294,1168,1036,1144,1288,1102,1286,1056,913,1102,1188,1314,1162,1122,1250,1416,1340,935,968,1010,962,687,522,752,772,642,523,445,484,540,586,752,1026,1470,1346,1660,1152,1318,1266,1002,999,906,844,774,601,526,644,694,389,708,951,962,890,873,1118,906,489,539,516,540,1086,1786,893,1238,1600,1532,829,494,631,912,1190,1094,799,881,1294,1472,1496,1440,869,592,808,1144,1064,877,1144,884,1058,1320,376,367,719,1194,1021,646,884,1064,699,773,721,540,632,793,980,756,554,432,428,417,543,730,525,487,733,766,1016,1324,1226,1240,1340,1005,847,844,824,1064,1040,1090,1108,1124,1162,1188,1154,922,1018,1086,774,686,659,534,781,1188,1534,1472,1144,574,458,491,570,974,1064,519,302,321,908,885,732,921,761,560,445,498,492,639,1348,1678,1600,1236,1200,744,705,1316,1654,1530,1190,1306,1580,1438,1372,1314,1236,1216,833,825,1022,1228,1258,1450,1350,1130,1140,819,1146,1356,1880,1684,1360,1332,1224,1154,1232,1364,1418,1072,818,703,695,638,615,625,719,885,933,943,1086,1166,1288,1270,1048,1358,1144,1044,1072,1216,1378,1322,1218,1288,1324,1250,822,465,459,350,418,532,706,854,506,446,470,416,760,1332,1482,1500,1264,1064,682,788,2250,1702,595,393,480,454,451,764,1056,1160,1116,1286,1058,1466,1556,1556,1532,1338,1316,1170,951,920,886,534,717,818,886,1052,1290,1258,1328,1336,1084,957,896,714,686,910,806,712,803,1248,723,736,960,1154,1180,1354,1534,1672,1478,1318,1252,1150,1088,1216,1072,1116,1356,1092,953,1188,1158,1206,1356,1372,1278,963,1266,1560,875,946,1088,1240,1016,895,1018,1064,1194,1260,1094,803,1100,1096,1136,852,747,971,1088,1126,1038,655,587,750,993,1288,1396,1356,1240,1284,1180,1144,1352,1474,1470,1376,1206,1274,1152,1052,1368,1432,1478,1360,1374,1354,1372,1260,1020,977,1204,1222,952,1018,1652,1290,1282,1358,1234,1146,1340,1298,1266,1248,1030,651,577,876,1366,1230,1102,1188,1152,780,444,463,918,1102,1007,784,703,969,1178,1210,1260,1138,437,856,955,642,789,789,543,456,619,830,910,768,818,532,554,715,773,932,1210,1346,1476,1502,1300,1011,636,615,446,477,547,999,1124,1258,964,871,1104,1124,910,997,1188,1290,1450,1316,1210,1414,1284,719,666,852,753,508,498,484,546,670,943,678,923,735,869,786,765,913,1248,1766,1638,1878,1920,1734,1726,1898,2084,1936,1832,2002,1984,2036,2034,2046,1932,1544,1140,894,1156,1102,1166,1028,978,807,816,781,900,1184,1124,1064,1148,825,589,1026,1082,860,972,1242,1098,764,740,738,778,1116,1130,905,1146,622,648,896,841,926,769,758,882,584,501,845,1100,770,1042,1298,1272,1350,1384,1238,1226,1230,1318,1268,1080,868,992,938,678,675,541,364,562,845,844,989,921,902,1074,1178,932,1021,940,1062,1142,1030,734,972,1406,1244,1162,1212,1238,1348,1334,1110,962,862,1144,1350,1330,1032,668,483,376,408,393,353,332,349,372,363,359,420,384,521,487,347,375,446,463,426,454,446,339,322,319,310,430,437,339,302,316,312,662,1330,1120,605,1015,1520,1418,1324,1318,1426,906,464,402,383,395,422,449,436,471,454,503,521,460,387,435,415,377,372,393,528,830,1152,1228,1172,1474,1100,1086,1308,801,496,570,867,876,1228,1666,1342,1068,1086,957,1058,1116,1218,1356,1378,1650,1898,1888,1964,1478,978,907,751,1028,1310,1246,1034,1148,1194,1178,1256,1558,1566,1174,764,774,722,557,768,963,1312,1230,968,997,1272,1512,1280,891,652,608,1044,1632,1402,1042,1186,1082,866,441,357,321,453,779,1072,1162,880,590,631,618,367,446,823,608,417,583,1162,1138,563,397,375,406,591,1114,1216,1274,1296,1318,1402,1340,1088,1138,1098,1112,1124,1110,954,692,816,1098,1286,961,1518,1820,1478,1264,1266,1404,1198,738,540,713,1092,922,1066,1606,1164,981,960,990,1192,1368,1136,525,426,760,926,738,626,512,852,1282,1864,1550,958,755,883,1130,1244,895,982,1186,1368,982,860,1088,855,530,836,811,566,568,828,1030,1566,1444,1456,1154,1334,1054,971,1208,1266,1170,1182,1160,1232,1232,1200,1296,1334,1096,802,1114,1270,1100,894,1180,1554,1244,823,655,418,407,462,582,612,600,462,316,451,428,323,422,753,1118,1023,1056,1176,786,735,841,608,628,754,836,750,402,511,1018,1130,1326,1462,1356,1412,1220,1058,1122,1188,1138,1188,1338,1372,1298,1616,1732,1408,1140,662,579,833,800,866,1162,1290,1198,1138,1110,1254,1660,1242,943,859,1306,1572,1382,1216,1012,959,1334,1188,878,757,625,586,681,877,702,434,550,806,619,646,1214,970,1104,1346,1294,1218,1216,1368,1376,1344,1576,1362,1098,1180,1224,974,814,1140,1378,1282,1294,1386,1546,1202,677,446,647,1180,1146,927,1036,664,559,805,867,1026,846,636,1066,1098,1372,2144,1750,620,679,829,638,520,502,434,448,457,443,423,456,478,525,797,1172,1218,1360,1110,789,592,421,458,985,1412,1062,808,1058,1074,802,438,390,730,689,478,650,1016,1168,1020,761,604,951,1448,1794,1678,890,938,998,630,432,380,600,616,588,832,926,1001,1208,1228,1088,708,558,797,746,517,718,843,694,687,695,534,692,794,743,929,1096,727,463,446,329,199,350,383,397,527,501,683,691,490,343,688,668,758,868,502,352,582,979,1058,915,650,450,573,698,750,820,1068,1278,964,597,659,933,1250,1216,1004,834,1114,874,968,728,785,1026,968,811,896,1344,1664,1544,1010,586,568,582,509,522,578,517,883,1378,1110,691,767,662,741,742,989,929,1160,899,685,682,1023,1510,1136,504,531,889,673,689,555,598,550,835,1116,799,509,913,1206,1015,1022,865,761,576,525,726,905,713,587,550,670,813,1236,1158,713,700,893,1010,1292,1350,1142,1007,1158,1234,1040,993,1104,1064,727,596,530,612,639,623,928,1015,1260,1316,1138,1388,1268,1266,1500,1510,1428,1376,1522,1620,1822,1810,1650,1478,1180,905,1001,1116,1208,1180,1252,1214,1362,1626,1732,1524,1166,809,662,628,592,740,1042,821,680,1038,885,907,1056,826,752,694,481,383,479,669,669,755,1482,1854,1466,1768,1998,1654,1242,923,988,1108,1214,1248,1394,1550,1826,1772,1648,1260,1354,1222,1220,1166,1522,1752,1886,1554,1294,1170,1050,1058,1152,1176,1372,1478,1370,1072,1164,1476,979,440,785,1144,1262,883,997,1310,1190,1572,1542,972,1160,1390,1208,1182,1186,1250,1218,1372,1344,1456,1456,1374,1228,1058,1152,1206,1208,1264,1126,1126,991,1060,606,393,336,383,763,912,797,729,977,1450,1432,1454,1250,965,1074,1050,1016,1152,1428,1546,1316,1200,1088,1082,1112,1078,756,615,555,670,667,594,860,1028,1030,1186,1302,1146,1188,1154,1136,1044,886,542,437,768,882,979,1346,1404,1098,872,769,738,612,534,521,445,395,457,300,282,487,767,1009,929,896,1316,1428,1258,1352,1238,1416,1210,1182,1202,1074,1556,1670,1114,1296,1444,1430,1336,1242,1282,1484,1566,1570,1428,1238,1276,1290,1418,1390,1202,1498,1588,1416,1206,1196,1232,1266,1242,1348,1438,1406,1336,1272,1296,912,417,484,573,866,858,639,516,669,1172,1312,1090,890,905,1058,1014,1078,952,1268,1176,839,922,1242,1048,952,1210,1592,1538,1148,1234,1324,1092,1138,1158,1416,1436,1316,896,930,1272,1264,1202,1062,1054,1034,1346,1472,1148,934,1168,1078,1198,1234,1040,1160,1234,1172,936,563,824,665,789,1026,1484,1454,1056,819,977,937,526,772,897,745,614,432,562,1232,1630,1522,988,568,464,481,509,495,348,192,225,292,323,394,380,317,265,332,288,285,357,380,353,325,362,775,1196,774,509,398,609,569,442,572,881,1224,1246,1206,1086,1014,1294,1208,1322,1412,1750,1846,1794,1406,1456,1672,1756,1524,1106,1278,1562,1400,1282,1268,1140,1366,1450,1318,1636,1854,1220,899,1404,1744,2146,1730,1290,1410,1224,972,1176,1020,716,492,507,699,817,1138,964,516,398,572,1146,1500,1300,1212,1054,927,1196,932,539,520,355,318,341,326,385,803,1376,1454,1210,974,549,392,427,389,458,878,1188,1192,1342,1240,681,320,301,325,354,392,372,415,802,1322,1226,540,302,372,408,366,343,446,452,487,736,594,463,351,356,495,491,323,308,335,458,788,883,1082,1214,902,1118,1226,750,565,337,264,299,458,473,382,314,343,316,306,326,369,740,839,659,736,1054,1238,1376,1021,433,446,485,361,312,322,388,382,373,440],[380,552,618,461,474,792,1048,855,592,471,362,309,281,314,546,893,1190,857,560,792,1002,1058,960,924,1074,1538,1644,1628,1390,1078,972,1013,993,866,1312,1488,1450,1324,1302,1294,1166,1024,721,731,1102,1116,1216,1332,1158,1360,1506,1184,1400,1614,1530,1564,1620,1600,1506,1496,1452,1376,1270,1142,1124,1188,916,984,1316,1572,1466,1258,1256,1328,1194,1074,1220,1186,817,677,558,498,405,380,761,935,677,487,433,363,439,502,647,1182,1366,1276,1334,1478,1552,1376,1274,937,891,917,1050,874,875,1054,1118,745,823,1030,1482,1562,987,921,893,703,702,673,670,1052,1288,764,1046,1510,1230,767,547,743,1268,1418,1084,976,1172,1426,1594,1726,1448,1142,955,883,990,735,658,921,705,787,951,622,586,689,841,786,767,964,814,667,932,1134,902,629,1160,1450,1132,845,574,374,330,313,281,295,541,803,836,1118,1314,1442,1152,1080,1202,1110,1346,1354,1076,839,894,906,694,437,660,1036,858,899,1082,1256,1200,813,818,1028,1196,1152,962,1240,1372,785,660,529,872,983,540,292,266,429,410,797,951,619,504,585,534,482,645,1294,1538,1568,1042,893,863,822,1118,1334,1314,1414,1472,1436,1238,1100,1044,1220,1120,600,376,858,1372,1266,1478,1294,886,739,1208,1258,1446,1740,1616,1470,1374,1430,1350,1498,1606,1114,982,1116,668,521,655,797,801,868,893,1208,1310,973,1106,1428,1310,1386,1738,1362,988,998,1052,1074,1154,1170,1282,1292,1076,637,491,401,497,612,525,835,1004,593,583,830,905,921,1090,1226,1540,1088,1000,746,719,1316,980,543,427,450,502,658,924,1288,1198,1066,1186,1200,1360,1418,1560,1448,1282,1092,971,877,953,988,515,534,836,1188,1338,1326,1338,1318,1144,1056,1150,1234,999,1108,1298,1150,1282,1054,780,913,1204,1104,1005,1272,1570,1684,1510,990,1322,940,905,1164,1178,1152,1434,1502,1382,1154,1360,1726,1678,1432,1280,1168,1016,1140,1512,1158,976,1023,1042,779,878,1192,1136,856,909,961,1008,997,1150,1350,1050,946,1154,1106,1466,1376,596,706,1094,1152,1272,1092,1038,1182,1298,1190,1194,1402,1436,1356,1290,1380,1402,1340,1314,1696,1378,1246,1282,1250,1242,1266,1254,1242,1252,1160,952,838,825,1294,1146,912,1050,1302,1438,1406,1334,1366,1420,1496,1182,797,1166,1378,1372,1170,1196,1114,848,508,401,688,969,1090,1142,1212,1310,1372,1428,1318,811,405,725,653,615,749,423,330,432,466,536,559,436,430,649,991,897,850,985,976,1090,1216,1382,1472,1488,1416,1300,992,742,472,630,1015,1152,1060,977,1015,992,996,1056,1096,1224,1230,1090,982,885,642,433,633,995,817,468,391,437,379,550,1070,886,908,980,882,860,1012,1256,1470,1702,1506,1852,1666,1720,1670,1888,1920,1804,1830,1950,2038,1976,1714,1570,1498,1424,1272,1272,1170,1194,1064,852,1062,1156,1076,786,694,650,683,556,518,579,797,1032,1306,1516,1494,1544,1290,848,758,788,758,1122,1166,961,1140,626,793,1128,1018,1082,958,821,745,747,995,1114,1220,1023,960,1406,1314,1202,1182,1058,1064,1074,1118,997,859,815,1058,837,541,589,473,374,511,437,702,1044,970,1092,1138,1158,1144,1104,1158,1244,1322,1202,1040,1204,1240,1100,1168,1190,1088,1136,1220,1116,1010,940,1022,991,1068,825,547,424,462,445,398,349,347,354,362,418,490,647,608,555,529,443,462,476,479,426,419,412,330,327,331,318,446,438,319,319,331,346,711,1462,1336,866,1390,1584,1510,1360,1356,1332,732,396,387,382,336,423,464,499,521,442,486,558,424,374,415,411,368,374,393,423,679,1000,1106,1021,817,657,1084,980,510,444,805,1294,1396,1440,1466,1396,1070,877,1158,1122,1130,1228,1160,1062,1502,1694,1718,1800,1632,1310,791,1140,1742,1480,1086,1148,1194,1152,1262,1510,1654,1700,1210,667,880,927,760,1178,1216,1274,1290,1076,994,987,1248,1418,1376,1194,794,619,959,1005,930,1196,1202,1019,822,563,472,523,648,678,683,774,655,708,597,383,433,549,659,833,826,996,1304,586,371,386,528,734,1038,1142,1070,1218,1296,1460,1312,1214,1374,1120,940,930,1228,1104,1148,887,1386,1418,1064,1272,941,838,1152,1230,1376,1542,904,920,1176,1364,1244,1106,827,858,1322,1300,1088,1352,1184,766,454,393,491,495,476,378,328,709,849,1028,1566,1614,1832,1896,1398,1336,1276,1298,1396,861,427,492,695,650,756,910,722,650,646,1148,1024,1036,1800,1764,1166,1088,1208,1002,1056,1340,1094,846,932,850,1080,1240,1366,1214,1084,1262,1388,1354,1386,1226,1474,1680,1326,815,628,599,539,601,824,808,711,608,410,369,339,346,548,864,1010,808,721,1096,883,764,722,600,836,646,421,524,569,572,701,944,1108,1036,918,1184,1306,1114,1068,1214,1316,1306,1170,1244,1242,1278,1294,1318,1144,633,722,1074,1124,1130,1252,1406,1182,1114,1110,1372,1788,1426,996,1003,1114,1460,1578,1378,1576,1604,1750,1466,1228,1280,879,835,980,1124,1088,747,577,757,475,369,539,913,1210,1346,1246,1310,1360,1360,1110,1064,1492,1470,1444,1196,1140,1086,955,1246,1346,1226,1060,1190,1380,1106,662,459,562,866,778,611,749,536,525,678,691,875,1052,1074,1022,981,1346,1660,1318,620,609,681,569,535,529,502,444,514,452,364,419,420,420,385,661,1580,1258,897,901,478,373,486,875,1348,1198,840,493,425,370,332,579,718,479,401,409,467,775,998,780,667,1140,949,1280,1318,1030,1206,1178,611,381,386,343,339,630,1222,1232,1232,1572,1466,990,667,523,579,506,477,876,1180,877,437,499,623,1002,963,746,930,1274,949,462,365,258,235,280,399,406,349,406,791,855,744,593,726,797,808,654,368,354,504,902,907,752,883,626,547,608,419,428,767,1023,809,612,538,882,1248,1322,1066,511,469,832,886,669,546,589,674,616,943,1692,1544,1212,797,583,632,741,826,894,834,672,719,1248,1284,626,795,877,614,849,1060,1021,1116,860,481,692,1562,2054,1302,708,640,1106,778,572,428,707,923,1138,1336,1036,617,725,921,754,1142,905,741,451,480,1030,1344,816,530,612,727,926,1050,847,599,985,840,754,1022,1418,1288,1270,1226,1092,1244,1272,623,787,647,644,656,772,951,783,957,1140,1318,1246,1346,1280,1142,1052,1056,966,1028,1100,1170,1420,1634,1680,1632,1496,1292,1064,1460,1554,1384,1254,1198,1092,1206,1500,1690,1654,1428,1038,836,709,850,981,1180,948,744,1068,977,907,1005,958,902,727,451,459,523,702,774,1188,1752,1858,1544,1712,1880,1616,1136,1010,1556,1722,1764,1632,1698,1846,1930,1810,1642,1226,979,1064,1192,1218,1382,1988,2310,1378,1236,1182,993,1168,1270,1290,1518,1832,1820,1590,1260,1284,596,509,764,1048,1024,746,723,763,844,1144,1164,985,1348,1224,1194,1244,1222,1268,1240,1126,1202,1422,1376,1354,1154,980,1124,1180,1394,1508,1378,1224,1130,1166,836,568,494,852,1252,1106,893,948,1112,1164,1050,1042,1246,1244,1316,1306,1438,1328,1396,1302,1096,1126,1040,1076,1160,1010,988,650,517,637,521,438,714,944,811,1092,1502,1438,1448,1284,942,954,1062,703,362,716,910,1134,1390,1276,1214,1086,1048,1174,771,424,363,323,388,395,333,340,490,620,792,764,908,1076,1146,876,1086,1162,1440,1472,1274,1140,1104,1538,1584,1118,1034,1132,940,882,972,1250,1512,1542,1410,1312,1220,1200,1304,1464,1252,789,818,1080,1144,1154,1224,1358,1382,1314,1368,1346,1376,1354,1272,1396,1202,582,484,498,892,1110,1040,1017,1208,1574,1594,1362,1330,1346,1050,979,1002,1106,1266,1090,953,990,1014,924,985,1208,1510,1410,1168,1418,1488,1384,1322,1532,1520,1334,1404,1114,1064,1122,1236,1118,1170,1182,960,1104,1274,786,769,1232,1094,1016,1038,1232,1322,1208,1124,968,589,774,560,475,563,1132,1054,869,632,741,870,553,580,642,966,970,698,418,384,854,1108,748,490,623,690,565,482,372,278,301,306,306,366,389,362,269,274,290,288,346,321,293,333,381,523,559,448,335,300,565,617,413,385,570,839,902,1116,1174,1058,1234,1458,1418,1510,1780,1660,1282,1148,1390,1672,1804,1380,1208,1288,1410,1484,1520,1366,1202,1202,1266,1462,1670,1366,933,996,1120,1872,1526,1076,1184,1258,1102,1238,1310,893,789,998,789,584,477,719,603,486,477,747,1310,1410,859,717,885,948,964,717,1010,902,505,409,559,601,656,977,996,885,1154,1104,599,440,404,372,549,933,1244,1252,1222,1114,788,349,324,333,333,337,357,377,486,1082,1150,592,329,380,405,360,358,384,440,521,683,406,319,344,364,408,366,314,365,312,451,899,1096,1388,1300,648,374,385,496,417,350,369,334,387,334,323,258,256,249,386,512,505,765,780,622,780,1174,1682,1750,1296,688,643,620,378,304,310,367,374,433,485],[361,603,794,964,861,927,1124,954,613,539,445,385,408,447,476,515,593,490,516,783,978,998,803,568,871,1264,1478,1396,947,971,1036,1158,1086,745,850,1110,1402,1438,1460,1206,794,669,691,823,1232,1024,1208,1194,1230,1284,1176,1316,1526,1272,1282,1526,1672,1802,1612,1596,1626,1484,1506,1434,1174,1076,844,1022,1716,1962,1724,1378,1130,1094,1210,1270,1164,1192,852,603,480,733,933,571,552,661,539,744,863,1056,999,1046,1007,1318,1286,955,825,1070,1070,1130,1056,808,789,883,794,910,1042,1048,1022,924,888,847,1012,1106,654,499,733,1005,1062,587,632,1126,1112,851,1138,1300,1204,1028,803,769,1120,1126,700,797,1184,1606,1346,1278,1312,1308,1224,1080,1114,637,671,658,448,398,645,593,990,1406,1242,869,964,1286,1164,633,595,857,635,686,1334,1378,1052,781,536,361,328,339,355,404,457,821,1088,1106,1086,1023,843,777,956,1168,1074,1066,1034,910,810,497,428,450,434,451,553,884,1284,1538,1260,904,872,905,1064,822,615,772,1094,1278,1013,741,881,974,633,355,334,289,543,1003,755,488,407,604,488,526,1084,1516,1628,1654,1648,1860,1432,1128,1316,1444,1752,2012,1538,1052,1034,1046,1284,1742,1308,484,561,1274,1654,1620,1242,1004,780,1024,1454,1308,1082,1064,1208,1112,1246,1390,1496,1752,1556,1015,1182,769,374,357,412,469,752,1084,1186,1322,835,848,1312,1514,1005,1188,1832,1836,1142,1046,1272,1308,1182,1180,1526,1630,1206,753,452,411,508,715,951,1078,731,476,706,1168,1500,1336,1310,1300,1038,1226,1302,919,830,1076,1208,907,485,515,755,1058,1190,1130,958,1128,1124,777,756,1072,1354,1556,1432,1078,1248,1007,683,502,434,591,1046,1346,1468,1492,1384,1320,1248,1274,1114,1086,1005,1090,1220,1300,1334,1470,1198,1208,1332,1026,1226,1562,1322,1184,1544,1136,1204,843,644,622,730,1258,1538,1396,1458,1338,1424,1430,1518,1308,1410,1246,1156,1332,1304,1446,1218,946,864,530,504,636,811,541,445,1136,1302,998,969,1140,1130,1146,1174,1274,1396,1360,698,682,940,798,1062,1146,908,1021,1208,1204,1214,1282,1300,1338,1282,1260,1294,1226,1416,1588,1284,1220,1534,1458,1146,1224,1248,1462,1400,1400,1044,546,369,400,648,616,741,1022,1118,1012,1218,1200,1428,1404,1028,1054,1372,1318,1346,1266,1015,697,664,580,350,529,775,742,1098,1748,1592,1312,1460,1262,667,339,370,439,596,463,270,332,476,424,521,418,376,438,703,943,776,639,819,887,1270,1238,1498,1224,1188,1210,1236,1418,1462,1194,733,552,809,1200,1032,1256,1194,969,1206,1410,1404,1082,1080,1206,1028,670,389,438,600,413,401,361,405,409,606,1118,972,923,929,1106,1140,1236,1192,1256,1130,1242,1356,1330,1576,1542,1584,1780,1914,1926,1816,1794,1714,1396,1008,1136,1174,1312,1562,1144,912,764,1013,1494,1326,747,597,625,654,581,415,393,608,811,706,686,1076,1398,1362,1344,1422,1310,1162,1094,1418,1384,1118,1164,1046,1204,1152,1010,1021,1076,1278,1146,1360,1356,959,993,1092,931,964,1082,1324,1354,1158,963,1084,1376,908,714,655,620,551,623,819,599,356,388,359,455,570,605,962,1192,1222,1326,1188,1172,1298,1382,1316,1144,988,1090,1294,1096,1148,941,841,982,1356,1134,955,1009,886,674,501,483,508,588,478,403,418,370,328,346,478,594,735,763,718,669,608,523,585,561,478,424,403,334,312,332,358,472,446,318,321,324,378,822,1556,1688,1502,1758,1608,1356,1248,1418,1272,528,401,398,374,337,393,430,494,468,436,515,464,379,361,364,383,355,360,405,518,716,970,949,954,959,865,786,551,478,483,746,1086,1516,1438,1338,1228,912,956,1138,1118,969,811,972,1302,1576,1332,1332,1444,1714,1740,1444,1772,1750,1210,1210,1296,1316,1470,1538,1622,1690,1526,1012,963,1168,1158,1246,1288,1288,1202,912,968,1142,1090,1352,1276,960,1216,1268,929,728,675,837,968,1172,1488,1410,1306,1116,740,836,717,597,738,496,341,361,358,503,962,1252,1164,1210,909,1384,651,400,436,634,789,831,881,1066,1026,1032,1428,1292,1354,1334,1102,1324,1186,845,963,1088,673,816,932,941,1148,802,794,1202,1126,1298,1288,959,1050,937,789,775,786,565,551,1078,1252,1214,1062,628,443,426,416,343,356,441,410,375,601,849,1232,1794,1932,2268,1864,1426,1406,1450,1242,1066,614,638,808,584,658,935,962,684,693,637,942,969,869,1516,1750,1338,1362,1702,1242,1086,1462,1362,896,738,791,858,969,1000,791,1002,1462,1574,1274,1620,1618,1566,1582,1278,1138,1098,1018,919,1016,1086,1015,1018,1026,584,404,409,361,679,858,1001,851,651,906,964,839,519,695,822,566,472,752,1172,1236,1322,1306,1050,899,1084,1020,901,908,1102,1316,1404,1308,1198,1208,1186,1194,1076,1092,940,595,764,966,991,780,1108,1394,1370,1202,1274,1572,1728,1372,808,788,806,1204,1592,1606,1976,1932,1918,1554,1476,1512,1352,1038,1042,1214,1324,1316,982,840,540,450,606,1016,1364,1394,1248,1180,1302,1278,894,1152,1098,1178,1062,662,700,752,1054,1314,1302,1282,1110,1324,1362,1020,570,473,487,500,581,491,466,497,487,436,339,579,1242,1382,1376,1300,1176,1304,1168,727,777,885,894,948,980,808,772,750,553,494,593,480,408,469,603,1346,1106,1238,1172,474,562,869,1072,1086,1008,1208,612,401,408,413,439,448,577,831,583,331,471,764,995,1010,1508,916,935,1144,1019,1080,1012,558,365,335,358,397,792,1438,1020,800,1246,1166,1172,1021,576,430,558,863,889,836,660,429,376,469,852,954,843,956,1226,874,426,359,214,263,363,747,670,521,480,780,935,955,624,524,700,708,603,558,314,315,566,794,664,1038,838,579,622,411,382,484,938,984,885,681,938,1100,1232,1214,835,801,937,932,844,708,691,582,658,1116,1676,1330,879,745,818,858,883,1044,1078,1021,783,595,898,1284,1021,1076,971,812,779,677,492,574,648,447,648,1204,1516,1014,894,775,1168,1066,953,952,1102,1266,1262,929,863,765,602,615,754,1034,755,564,662,905,1218,1038,838,1154,909,651,860,1082,1180,1160,1024,618,854,1268,1324,1504,1674,1106,1013,1160,1410,656,777,1026,836,696,800,750,586,628,779,885,1126,1138,1140,1178,810,901,970,731,792,1192,1406,1512,1562,1666,1716,1702,1216,1578,1882,1564,1380,1086,948,940,890,1064,1440,1638,1396,1166,930,1018,987,1200,1236,965,802,785,850,772,751,857,807,427,445,513,676,1080,1470,1516,1640,1370,1334,1854,1754,1080,1296,1790,1776,1792,1582,1378,1222,1430,1706,1640,1290,966,1072,1086,1226,1286,1332,1406,1204,1210,1098,1148,1226,1214,1368,1572,1830,2230,2328,2082,2068,1156,576,492,829,1362,1646,1550,1466,1162,1048,913,897,1296,841,1028,1068,924,990,1012,912,1152,1350,1394,1390,1186,996,1108,1274,1458,1392,1436,1272,1146,1120,993,644,763,1206,1024,689,719,929,1102,748,588,1092,1484,1454,1470,1556,1422,1302,1228,1104,1250,1388,1344,955,1134,988,928,638,513,626,679,520,615,865,951,1020,1640,1914,1698,1322,737,604,577,383,405,550,583,689,708,851,1596,1478,985,950,750,502,438,385,364,574,655,596,1082,527,430,739,1272,1414,1486,984,952,1076,1294,1332,1268,1402,1368,1302,1130,1116,1142,1536,1140,780,776,1098,1332,1312,1280,1256,1246,1140,1088,1158,753,405,336,753,1266,1620,1506,1344,1416,1422,1186,1058,858,810,961,1216,1058,588,500,479,763,804,905,1256,1348,1574,1328,1246,1438,1358,1268,1300,1050,1186,1108,774,1024,1302,711,551,834,1100,1428,1376,1220,1274,1486,1468,1376,1876,1782,1480,1370,1256,1122,1086,1104,966,1118,1216,1130,1176,1244,800,532,504,569,833,835,1078,1210,1104,937,1142,868,800,697,478,629,877,827,645,491,685,913,810,657,563,969,1144,1026,537,406,546,655,623,525,678,631,441,397,349,313,286,294,333,404,441,405,315,293,251,264,264,245,284,319,355,383,386,392,378,333,390,385,298,356,529,594,533,1208,1256,1052,966,949,1014,1394,1918,1620,996,950,1236,1332,1694,1588,1470,1452,1322,1316,1572,1476,1072,946,1080,1524,1750,1324,1004,1118,931,1478,1376,1282,911,711,1017,1172,1162,1164,1168,1072,749,474,419,460,624,717,944,1290,1418,1596,1013,927,1332,1210,855,873,1258,1038,841,878,1013,993,695,678,603,742,1086,823,531,438,438,386,849,1426,1406,1218,1106,1246,1230,1086,681,350,333,403,370,502,646,788,818,662,366,416,409,357,412,382,397,387,600,482,402,414,390,373,296,343,459,433,532,902,800,984,1038,549,356,462,470,330,452,664,466,613,733,429,234,264,289,385,659,723,735,774,886,1058,1356,2078,2036,1522,987,1308,956,433,337,280,318,318,350,415],[382,660,1032,1068,753,918,819,594,550,445,418,396,473,509,520,843,557,358,355,421,543,572,555,419,904,1660,1582,1200,711,684,937,717,478,509,495,755,1078,1112,1190,1048,628,809,941,1152,1130,995,1186,1274,1310,1184,1074,1330,1298,1136,1492,1472,1422,1448,1714,1758,1674,1656,1610,1656,1418,1398,1494,1516,1756,2112,1572,1322,1136,1128,1118,1214,1268,1188,827,713,536,743,1206,938,691,566,792,1136,1320,1680,1440,1368,1370,1260,1336,1276,1112,894,811,1274,1005,1054,1180,1110,943,1054,1162,1248,1336,1214,778,462,416,507,500,528,673,1084,920,482,564,790,681,662,912,1152,1026,654,588,633,636,691,687,675,1148,1832,1486,1088,1028,1008,1026,1282,1114,1010,1096,787,617,541,564,570,1020,1426,1204,854,729,996,1040,434,330,429,535,700,1032,1190,904,497,559,706,464,430,383,564,532,933,1256,879,796,785,744,683,755,834,902,1204,1222,1160,1180,1050,755,894,845,673,613,858,1282,1204,854,619,483,566,816,577,603,985,1116,1178,1200,1284,1266,1013,591,438,288,376,921,1092,1036,626,456,597,462,512,882,945,952,1170,1178,1028,633,1244,1690,1528,1566,1528,1152,876,970,1198,1506,1426,1284,1104,867,1394,1210,1268,1186,942,913,1246,1510,1516,1406,1252,1222,1264,1418,1396,1644,1638,1084,1080,1094,615,500,478,347,407,819,1112,1102,1084,1172,1288,1344,1226,885,643,836,1116,979,921,1050,1158,1136,1362,1214,1262,1162,938,786,595,395,510,773,971,882,658,719,965,1116,1340,1276,932,706,1310,1402,1146,1272,1260,1132,658,525,684,1058,1250,1042,923,944,1322,1162,625,706,1072,1292,1316,1510,1492,1448,928,467,360,444,666,1030,1124,1210,1330,1418,1386,1454,1448,1256,1360,1032,792,1188,1220,1302,1524,1266,1700,1848,1142,1244,1314,1250,1021,1334,1376,1160,1128,775,474,530,835,1118,1388,1506,1168,1206,1302,1400,1454,1472,1388,1274,1174,1156,1020,832,1001,773,447,405,415,904,871,740,998,1106,1060,977,955,969,1268,1446,1478,1110,1184,893,849,926,1108,1390,1444,1378,1338,1388,1578,1368,1402,1216,1346,1310,1294,1342,1328,1550,1838,1526,1320,1250,1146,1048,1326,1150,1492,1412,2078,1684,1003,614,417,404,453,617,682,879,1072,1202,1216,1750,1602,1166,1250,1394,1252,1116,1176,1168,789,482,403,367,553,850,595,744,1086,1238,969,780,745,594,294,250,314,439,302,270,382,448,399,386,351,451,655,646,781,819,619,691,739,839,1132,1224,894,780,831,894,991,1432,1474,1460,1350,1302,1492,1402,1432,1106,973,1354,1256,1018,1082,1196,1416,931,812,896,713,483,351,313,325,593,655,728,879,949,1268,1478,1548,1300,1268,1476,1294,789,1028,1234,1266,1500,1372,1090,1538,1784,1834,1714,1630,1580,1550,1168,1298,1218,889,940,858,803,882,841,725,822,780,589,426,436,422,425,466,440,624,780,701,830,1116,1200,1316,1606,1520,1256,1212,1334,1280,959,919,1160,987,952,1216,1292,1410,1328,1160,1642,1532,929,927,1186,1190,1026,982,1302,1376,1290,1142,1174,1360,1058,788,698,637,601,762,913,700,524,641,767,766,617,706,993,1214,1296,1326,1150,1080,1306,1490,1520,1298,1002,985,1388,1250,1294,1158,1122,1250,1318,1216,1160,897,596,522,577,717,780,666,643,467,435,423,389,390,422,509,546,652,678,498,500,689,814,750,572,473,407,314,316,315,364,487,391,325,308,318,354,976,1594,1712,1742,1682,1494,1318,1288,1410,1136,472,404,387,357,379,418,383,375,414,443,398,390,383,367,383,415,379,396,410,494,678,886,710,519,427,403,418,380,411,483,707,1068,1902,1562,1298,1166,956,992,907,963,928,948,1164,1282,1132,1152,1196,1270,1666,1852,1760,1814,1618,1434,1642,1826,1830,1632,1628,1672,1396,1284,1222,1154,1009,1204,1394,1320,1180,784,739,974,965,1152,1270,1160,953,744,863,1060,1004,1008,1019,749,842,1036,1100,1306,980,844,805,1012,943,864,678,608,550,482,578,890,932,839,883,737,1338,862,567,697,651,659,882,1088,1202,1206,1028,1168,1180,956,926,1036,1176,1100,1010,915,853,722,794,949,746,931,1000,1060,1356,1308,1238,1144,1096,946,711,701,1009,1052,898,611,539,799,995,641,427,550,619,492,446,602,468,474,496,647,1108,1440,1418,1582,1962,1572,1538,1584,1456,1538,1238,611,727,739,811,698,766,1152,885,502,563,838,882,980,1350,1408,1306,1424,1612,1348,1064,1344,1370,1120,978,1074,784,656,843,1160,1308,1336,1356,1532,1736,1692,1384,1400,1092,998,1294,1264,1232,1264,1202,1104,1082,1052,596,554,456,504,909,969,1036,1058,962,1058,1106,962,802,837,717,629,626,1009,1704,2070,1848,1504,1346,1346,1338,1086,968,804,1194,1346,1308,1228,1028,906,901,1048,1086,1098,1042,875,966,1078,1106,847,1003,1278,1368,1136,1216,1392,1132,1003,810,998,1178,1414,1598,1624,1770,1866,1610,1480,1380,1340,1404,968,1038,1356,1428,1314,1228,938,677,650,736,913,1086,1282,1492,1284,1212,1102,886,1084,891,865,829,700,623,567,966,1274,1142,1028,758,1126,1286,998,573,519,536,503,532,452,492,587,406,311,351,428,805,1010,1122,1228,1142,1210,1090,1262,1620,1602,1426,1346,1488,798,706,900,962,915,858,750,754,708,950,1144,1154,1376,1032,656,926,1376,1172,783,792,879,582,526,583,570,357,379,708,959,608,378,574,749,756,1106,1370,901,684,1086,1218,976,666,397,311,319,328,359,948,1158,830,645,802,954,1212,1416,1160,635,594,976,774,743,686,688,569,365,462,891,1118,896,691,557,580,349,234,324,351,742,867,659,540,471,698,649,332,453,877,612,744,772,423,392,406,650,890,1028,795,743,1024,1096,749,676,918,1034,1002,1005,1013,1230,1378,1180,958,1058,1118,1128,959,889,915,578,831,1064,1056,1132,1198,1210,1110,1040,1196,1152,814,842,735,568,647,866,1007,1208,1238,897,571,560,652,824,923,771,894,1030,1196,888,947,1252,1352,1236,1208,1194,1306,1216,1078,1120,1058,968,968,971,1007,1154,1040,959,1040,760,778,828,1224,1208,1005,670,861,1324,1456,1340,1036,722,687,879,1005,1076,1318,1236,1002,920,1042,676,817,1122,1072,728,508,611,725,728,769,856,1009,1170,1300,1260,1030,910,890,638,841,1140,1248,1558,1548,1662,1770,1852,1146,1320,1718,1280,969,969,1206,1054,656,582,783,1368,1606,1498,1312,1418,1466,1518,1476,1170,778,577,604,513,542,708,758,541,457,617,889,1486,1384,984,1318,1352,1376,1812,1838,1162,1794,2060,2104,1752,1118,938,909,1272,1632,1468,1284,1338,1278,1202,1224,1148,1138,1334,1354,1284,1130,1174,1050,822,1082,1056,1626,2498,2502,3250,3086,2402,1378,785,766,1346,1828,2100,2226,2120,1600,789,1206,1134,1648,1484,878,774,1038,1012,935,1274,1362,1520,1512,1330,1240,1184,1252,1344,1212,1390,1500,1390,1360,1256,925,901,536,525,620,971,1130,1012,684,626,1080,1394,1414,1530,1372,1090,1206,1228,1342,1326,1508,1256,711,727,591,393,346,367,403,366,416,590,702,758,847,1666,2032,1716,1256,656,361,394,354,367,428,386,501,804,828,1316,1094,799,809,739,613,671,614,503,719,791,824,1202,527,343,590,813,1462,1560,944,833,994,1318,1284,1152,1516,1594,1338,1142,1092,991,1224,1142,1132,1334,1366,1344,1134,1023,1160,1058,803,1238,1044,605,648,684,684,1116,1576,1494,1332,1230,987,722,568,343,325,804,999,572,315,401,483,580,584,583,834,1032,1484,1358,1468,1160,1152,1626,1400,883,813,894,1090,1342,1070,472,576,725,1300,1582,1588,1360,1332,1692,1438,1362,1620,1350,1366,1382,1230,1130,844,827,921,932,1182,1228,1308,1446,1148,741,535,533,1080,1254,1248,1372,1276,1208,1312,940,792,767,718,907,1066,969,876,885,884,1118,1228,850,550,636,962,861,479,438,590,606,547,480,451,470,404,412,313,259,269,341,510,558,409,364,355,311,241,254,299,300,314,324,326,334,384,409,404,354,280,297,344,323,536,628,466,743,815,708,611,808,1044,1430,1966,1614,1168,1188,1234,1126,1394,1660,1688,1526,1300,1692,2574,2252,984,1260,1156,1880,1974,1170,1072,1196,1200,1296,1324,1158,776,955,1398,1370,1244,1192,1172,951,735,418,381,406,599,859,1234,1864,1834,926,1068,1236,1488,1180,851,945,1024,937,1294,1518,1388,1282,1248,921,905,976,1274,792,650,601,449,513,1030,1402,1212,1222,1160,1350,1338,1254,695,377,372,407,470,1042,1368,909,783,905,533,486,595,658,874,585,368,422,609,568,442,430,453,489,297,404,673,649,1162,954,503,587,661,540,526,584,525,605,798,930,533,630,756,488,291,320,330,589,943,886,845,1312,1338,1156,1256,1626,1864,1604,1250,1424,1044,735,684,385,388,393,365,350],[332,501,656,555,503,737,653,703,782,330,353,378,496,640,566,915,573,404,380,373,378,353,346,446,1130,1604,1282,739,653,554,822,764,633,876,860,915,1190,1100,1086,1264,1005,1024,808,997,789,558,752,1158,1342,1134,993,1009,1046,1482,1496,1172,1276,1400,1570,1570,1746,1772,1682,1578,1444,1622,1826,1644,1814,2478,1518,1346,1192,1160,1250,1360,1420,1274,959,735,669,871,932,1042,1174,656,661,905,1244,1456,1268,1370,1266,987,1174,1198,1056,924,1044,1672,1378,1246,1262,1009,952,1068,1206,1296,1144,1090,626,519,681,685,549,547,522,614,526,448,437,532,586,524,647,1034,933,519,504,601,601,708,1104,1130,1496,1774,1102,791,947,775,849,1048,1238,1416,1306,1392,1310,782,752,995,1174,972,796,660,877,931,598,376,329,417,717,721,796,1170,1192,869,894,916,544,455,393,492,473,984,1154,734,619,638,716,800,516,543,837,898,1210,1190,1316,800,1050,1528,1546,1170,656,676,1148,1005,1136,800,477,490,747,713,875,1282,1354,1344,1606,1538,1088,627,692,875,641,744,905,1112,1434,960,534,604,590,525,802,1138,1005,931,608,584,651,1666,1494,984,795,1116,1306,1009,999,1388,1468,1038,1324,1288,1070,937,1050,1510,1456,1332,1518,1720,1572,1378,1724,1694,1672,1636,1348,1684,1970,1306,693,693,716,842,890,692,482,570,1036,1120,917,1013,1508,1444,1032,1076,1306,1204,959,774,1026,1328,1192,1122,1236,1406,1264,1312,1268,1084,1034,895,693,600,667,1028,1124,907,931,1182,1013,1160,1376,1384,982,897,1023,969,1282,1304,781,895,1288,1150,1344,1340,1162,1080,1322,1386,1036,732,593,739,988,752,1082,1368,1286,894,547,451,573,729,881,1172,1226,1292,1458,1310,1372,1264,1596,1610,863,663,893,664,749,826,689,1224,1414,898,1124,1138,1256,1292,1348,1212,1344,1460,938,436,378,466,661,968,1192,896,854,686,1042,1224,1008,963,1104,1076,1138,563,450,665,613,897,566,363,741,1064,1078,849,1126,1350,1318,1284,1278,1182,1400,1328,1046,909,1160,1248,1274,1500,1610,1544,1536,1462,1472,1420,1366,1274,1204,1296,1338,1434,1288,1104,1538,1844,1508,1308,1124,1036,987,1166,1390,1450,1338,1860,1644,1064,730,591,597,1012,1226,908,1066,1340,1376,1588,1870,1726,1332,1078,1036,1064,1138,993,1116,1002,901,741,918,899,899,744,629,897,1094,615,436,474,448,334,294,344,280,278,329,430,446,379,350,373,534,850,652,753,703,755,999,987,516,882,851,496,570,898,1222,1296,1168,1376,1566,1598,1598,1648,1660,1394,1126,1140,1238,1160,1234,1218,1372,1178,781,1218,1228,854,521,418,364,514,1034,1007,857,850,817,1048,1476,1240,1470,1458,1550,1136,676,749,847,985,1384,1366,955,1336,1484,1630,1740,1706,1562,1476,1448,1430,1204,1008,1114,861,840,1100,1232,904,502,503,416,398,406,445,550,608,702,907,939,951,970,1130,1240,1328,1394,1370,1224,1162,1252,1310,904,1086,1388,1188,1009,984,1310,1368,1442,1442,1246,1116,1246,1224,1068,1272,1428,1324,1220,1174,1354,1340,1212,1202,1142,1018,928,948,950,1064,1088,1023,1072,1136,1114,1126,907,861,1228,1342,1188,993,967,1302,1284,1346,1388,1366,1246,1158,1262,1192,1326,1564,1454,1272,1250,1234,1148,779,846,857,865,865,964,977,722,471,459,550,540,490,367,330,353,675,721,773,758,949,861,623,463,473,457,355,347,334,372,484,350,330,314,330,397,1094,1470,1312,1406,1554,1344,1258,1432,1478,885,454,386,374,383,408,383,359,341,421,505,398,446,412,390,451,488,450,420,425,455,518,667,659,455,324,411,462,393,493,1066,1324,1338,1448,1410,1452,1194,907,939,1016,1036,1096,1188,1368,1122,1090,1138,1334,1786,1862,1650,1610,1768,1760,1826,2008,2418,2460,1738,1598,1428,1007,1430,1354,1092,1116,1120,1204,1322,1096,811,1098,1126,935,1110,921,942,1030,954,1074,1284,1368,1510,1384,1076,758,712,711,701,814,1122,1270,1166,965,1019,1082,1013,1150,1184,800,816,702,821,807,999,1560,1118,930,1222,833,736,1086,1550,1518,1168,882,911,1102,1028,833,848,863,918,1018,1066,1023,789,735,948,1312,1588,1446,883,865,1170,999,954,1066,1000,907,908,833,588,757,518,477,628,525,605,956,916,755,668,968,1250,669,518,524,540,752,718,727,864,1282,1366,1626,1794,1620,1500,1026,576,744,826,818,650,650,889,828,872,1094,1214,1192,810,959,1022,756,861,1318,1274,1158,1140,1156,1084,1098,1158,1072,1160,997,1206,1220,1162,1064,873,1224,1390,1128,1054,915,844,825,1044,1434,1204,1118,849,771,775,735,992,889,717,938,875,647,609,785,973,930,925,1004,969,863,833,741,883,1410,1590,1422,1216,1340,1326,829,555,743,952,1252,1432,1208,650,428,450,443,678,966,1190,1150,741,720,1262,1132,882,1106,1186,1138,836,921,999,882,888,669,919,1340,1346,1178,1340,1538,1520,1718,1948,1236,612,709,827,658,796,1012,960,939,902,830,738,858,1154,1568,1756,1544,1236,1230,1218,1078,1030,1050,1144,1128,1034,664,635,1120,1146,1066,1100,1044,1256,1292,1120,926,879,857,714,478,416,462,427,330,338,335,364,434,578,732,812,1118,1324,1198,1494,1710,1462,1324,1454,1310,564,343,733,943,1054,943,727,553,627,1064,1120,1176,1026,1092,1136,1106,1158,999,846,991,824,700,791,783,558,396,483,571,563,397,421,980,1200,678,648,1100,1202,778,666,674,511,366,311,260,304,342,407,1068,1216,920,686,944,1528,1170,1250,1316,1016,724,692,458,588,589,871,859,737,1084,1136,882,862,784,1426,1418,716,474,432,463,1212,1362,806,669,794,927,525,423,912,1076,692,656,592,420,409,402,462,551,598,797,933,883,1352,1592,1130,872,875,885,929,1064,1350,1244,1116,1018,1138,1170,946,478,477,749,741,789,785,1008,1300,1288,1026,863,1007,1562,1276,988,815,711,564,512,602,883,1408,1552,1058,1002,1092,1112,1136,1186,867,1026,1138,1296,985,751,1176,1422,1166,1204,1230,1202,771,633,1206,1008,951,1003,962,1032,1234,1412,1252,1058,599,542,741,1152,1021,916,836,990,1258,1330,1330,1184,904,621,896,772,717,955,1076,1154,1288,1194,1246,1396,1015,1110,969,689,694,868,907,909,904,1086,1368,1238,1058,926,1004,1138,1260,1306,1464,1478,1526,1502,1680,1770,1748,1146,1192,1358,944,1008,1548,1760,1194,1048,935,791,1050,1958,2052,1606,1504,1526,1540,1442,1242,999,637,706,828,791,728,775,614,448,638,1142,1640,1286,672,1044,1472,1746,1864,1924,1632,2018,2172,1854,1328,1236,1372,1394,1592,1654,1590,1320,1284,1350,1380,1296,1206,1252,1280,1248,1244,1142,991,828,835,1096,1244,2054,2312,2302,2380,2718,2658,2232,2310,1748,1664,1664,1814,2198,1808,946,961,1556,1448,1356,1166,854,661,933,1034,832,1168,1262,1386,1482,1278,1328,1336,1376,1404,1240,1188,1278,1182,1160,1019,822,767,610,761,870,892,1030,1122,976,987,1278,1278,1438,1574,1144,1198,1274,1288,1202,1116,1188,863,543,471,427,364,376,376,360,372,510,507,499,543,706,1220,1432,1182,842,592,370,395,441,416,427,498,573,749,825,839,830,960,1114,1174,1158,1200,1112,976,862,575,873,936,407,250,489,672,1162,1250,776,771,732,1062,1238,1009,1360,1402,1168,1126,1110,1106,1222,1166,1390,1540,1478,1226,1015,1048,1104,931,882,1560,1296,735,896,854,546,924,1314,1420,1230,687,372,316,387,411,354,596,847,583,319,289,304,558,808,694,1116,1376,1500,1338,1230,1216,1354,1402,1224,1064,1156,1174,1324,1170,752,1028,1062,763,998,1506,1548,1228,1290,1322,1276,1362,1340,1350,1456,1454,1172,1046,921,1024,871,922,1260,1260,1314,1292,839,547,708,748,1052,1270,1290,1406,1558,1616,1488,1062,888,1090,857,713,1106,1320,1272,1130,1124,1224,1360,1032,973,1102,728,510,511,400,505,463,449,482,482,557,490,478,477,390,324,405,608,717,653,557,585,573,339,295,330,333,348,352,343,353,359,375,376,360,303,328,360,298,531,688,509,490,597,540,628,951,1252,1488,1874,1532,1250,1490,1356,1086,1218,1540,1660,1630,1424,1910,3144,3072,1360,1360,1330,2004,1826,1114,1136,1446,1438,1318,1260,1280,1022,1232,1414,1254,896,705,836,1108,1036,622,373,377,469,830,1068,1512,1534,1324,1448,1216,1312,820,494,847,1072,970,1192,1300,1554,1328,1370,968,948,1152,1258,941,926,768,652,1118,1488,1174,944,1100,1168,1160,1226,1096,764,476,436,546,716,1214,1506,1350,1712,1546,926,842,1080,1118,1136,856,681,581,617,579,382,373,442,453,373,427,929,1198,1128,661,541,570,670,656,622,662,543,708,1060,1062,593,546,446,314,375,448,602,926,1012,836,672,1242,1162,974,1376,1428,1472,1432,938,965,968,861,708,447,408,383,390,310],[335,317,341,370,562,930,918,709,625,433,331,289,440,574,639,599,554,618,488,408,395,329,307,635,1130,1156,1003,843,846,849,720,460,594,901,1030,1130,1274,1166,1278,1346,1226,871,802,990,791,666,883,1028,1170,1142,1190,897,744,1302,896,917,1168,1326,1426,1420,1550,1628,1504,1584,1688,1662,1704,1716,2024,2138,1842,1736,1464,1212,1286,1478,1586,1304,1108,1010,893,866,984,826,826,695,912,1244,1442,1222,1048,989,1024,1013,1096,874,585,423,587,1150,1030,937,996,899,1152,1204,1036,1050,2084,1788,753,717,803,645,656,638,525,436,408,500,478,500,496,516,800,915,880,812,836,854,796,808,1092,1144,1178,1024,988,918,1140,1440,1654,1350,1128,1184,1160,1488,1154,625,884,1186,1172,1138,816,494,838,685,361,344,290,499,716,589,892,1264,1234,984,932,887,549,457,448,566,410,410,555,570,641,697,556,640,334,777,1440,1164,1012,1010,898,832,1144,1486,1466,833,688,771,959,695,916,863,507,519,669,698,959,1324,1408,1312,1692,1224,931,944,1168,1312,1009,736,902,1023,1044,1152,1102,762,616,694,1156,1506,1304,926,788,748,531,952,778,607,930,1384,1350,1048,955,985,910,1054,1296,1246,1120,906,1152,1210,883,857,1028,872,465,438,850,1042,1292,1422,910,1382,1836,1280,780,590,559,719,905,1021,1096,931,1152,1072,830,877,1256,1332,1106,1274,1456,1474,1196,747,813,1194,1216,1260,1484,1426,1124,1206,1236,1094,1234,1238,1070,1056,799,923,1096,1180,1104,1050,950,953,1118,1390,1358,1108,1178,1098,1274,1282,1036,1200,1406,1494,1586,1416,1130,1450,1792,894,964,883,614,599,644,602,1068,1426,1308,1172,1078,874,794,832,1142,1494,1432,1232,1274,1278,1426,1272,1572,1432,769,647,545,695,1022,885,880,1136,1376,1146,1368,1244,1124,1340,1138,774,925,988,558,428,625,926,753,715,883,883,868,880,833,796,861,745,1064,1118,1076,495,471,753,976,1336,760,364,666,1086,1202,1598,2406,1584,1400,1450,1308,977,947,1028,972,962,1150,1142,1132,1086,1298,1322,1312,1296,1394,1156,1172,1074,1186,1186,1312,1366,1190,1124,1246,1288,1328,1216,1404,1476,1100,1258,1454,1094,1096,1350,1034,963,1054,1086,1182,1372,1166,1130,1310,1292,1316,1462,1526,1432,954,559,792,1232,1116,700,655,777,1090,1136,1450,1192,677,727,890,1076,1166,513,465,442,327,286,247,299,313,304,343,355,417,488,368,373,584,676,694,781,752,768,1092,1166,869,873,735,438,593,1056,1234,1084,849,1152,1048,1322,1538,1436,1662,1518,1236,1260,1176,1182,1328,1230,1334,855,926,1016,687,524,471,367,345,747,1126,1124,1062,688,562,643,788,1078,1144,1280,1428,1166,752,588,633,1072,1348,1364,901,973,1284,1450,1302,1122,922,1058,1356,1484,1382,1162,1044,905,1036,1318,1688,1234,615,408,374,447,467,456,563,609,671,899,1002,920,1134,1230,1356,1288,1178,1246,1162,1034,1038,1064,831,1348,1374,1274,1046,1016,1326,1452,1496,1356,890,874,1360,1452,1262,1134,1170,1174,1009,975,1138,1204,1220,1194,1228,1050,883,959,1074,1188,902,1136,1184,1168,1246,1258,901,944,1332,1332,1334,1388,1378,1592,1234,1100,1204,1324,1346,1198,1116,1066,1202,1354,1076,823,901,1058,976,585,616,988,963,965,927,540,413,455,527,616,602,503,381,376,422,645,569,519,487,498,538,478,437,571,672,544,514,504,478,530,447,383,355,333,529,975,794,582,902,1626,1478,1260,1414,1440,761,415,383,354,379,387,430,475,408,450,511,415,414,515,499,527,561,536,511,484,415,407,558,555,350,433,601,577,463,874,1470,1706,1576,1376,1288,1322,1242,1028,1214,1140,1066,1082,1252,1346,1184,1202,1356,1716,1682,1426,1396,1578,1550,1678,1830,1858,2154,1976,1976,1632,1226,949,952,1009,1004,1406,1434,1188,932,932,894,897,747,876,952,713,705,1076,1416,1534,1398,1378,1432,1504,1340,1322,1186,913,677,655,932,1228,1284,1152,1082,883,738,881,1164,1148,941,921,829,669,1058,1672,1350,1120,1544,928,928,1412,1798,1572,1136,850,765,1190,1362,1062,948,969,977,965,984,1072,1506,1528,1296,1390,1362,937,545,678,902,955,1122,1126,1042,1046,954,786,722,668,635,1044,1294,956,955,1298,1148,697,967,1402,1346,658,501,627,658,553,510,535,584,775,1194,1670,1630,1478,1124,811,739,910,977,913,714,633,878,717,880,1450,1152,1126,683,788,730,388,373,1182,1256,1002,1132,1040,910,1216,1354,1220,1566,1416,1282,1188,1192,1218,1130,1330,1382,1160,1028,1226,1230,993,1026,1078,1134,1082,763,819,823,778,1005,731,581,1180,1266,814,561,987,966,864,1150,1186,1009,1106,1001,590,741,1098,1060,1074,1376,1744,1252,760,666,899,1270,1488,1348,848,619,337,301,330,489,927,1324,1390,1034,866,1152,1126,1154,1356,1482,1350,1036,995,1140,1130,909,517,550,823,905,985,1070,1354,1686,1750,1622,1082,722,1038,1208,1016,789,825,940,889,866,844,840,1188,1862,1772,1878,1368,1282,1340,1202,1138,1104,1116,1052,1108,1122,569,720,952,963,1118,1108,1026,1168,1092,1013,1128,1204,1094,820,435,386,394,359,330,372,376,354,452,489,647,889,973,850,1158,1594,1420,839,737,691,506,489,556,879,1146,1104,1028,744,492,488,756,1034,1296,1036,1168,1176,1396,1566,1262,1238,1306,867,1226,1654,1560,998,457,348,486,547,482,440,861,927,527,573,904,1138,1044,748,512,500,338,311,297,319,337,599,1264,1390,1130,839,1238,1644,1082,941,1158,1430,1486,1022,652,514,407,753,974,1070,1542,1094,559,587,932,1616,1448,867,735,695,477,757,1142,922,943,801,875,473,495,1026,1608,1416,791,455,528,498,421,412,364,461,686,1094,937,1074,1424,1124,945,901,990,1202,839,750,693,955,1344,1274,1030,938,703,497,634,822,769,628,1124,1246,1116,1146,1034,965,1252,1046,1098,1284,896,508,485,507,800,1140,984,907,1106,1028,932,1090,1340,1144,1158,1100,1072,1052,1024,1232,1174,847,656,596,563,572,825,1228,1102,1112,1050,1112,1332,1162,1150,1044,855,419,263,397,685,879,991,1054,871,1034,1574,1580,1094,1046,1086,974,539,640,949,1672,1526,1262,1250,1328,1510,1005,726,926,755,730,951,1146,1122,1032,1102,1164,942,542,687,1009,1138,1410,1246,1376,1334,1244,1526,1702,1720,1754,1346,1162,1718,1656,1490,1600,1498,1340,1270,1346,1272,1112,1672,1588,1084,1188,1368,1256,1198,928,1264,861,957,1094,1013,954,958,833,584,787,1394,1740,1112,619,839,1448,1874,2170,2308,2178,2150,2096,1930,1832,1858,1814,1798,1746,1648,1680,1378,1312,1542,1562,1386,1240,1298,1368,1508,1418,1704,1009,909,1174,1148,1390,1760,2004,1936,1860,2580,2468,2394,2922,2956,2432,1864,1582,1402,1230,857,1130,1536,1370,1154,1100,891,859,879,990,880,921,957,916,1010,1154,1240,1162,1256,1258,1034,1042,1204,1222,1158,1032,1026,708,581,802,943,1072,1150,1098,1008,880,966,1202,1384,1244,997,1160,1138,1136,919,807,788,592,440,418,473,393,406,461,454,455,580,551,628,930,1082,1176,1202,850,532,418,357,383,485,478,445,565,593,730,1015,1098,1086,976,1106,1374,1316,1116,889,787,711,1020,1364,841,537,520,408,599,998,1180,1062,644,623,748,1108,858,811,1132,1086,988,1244,1250,1234,1005,1234,1284,1584,1322,1266,1436,1282,991,904,1134,995,723,641,790,969,910,849,1222,1076,912,524,328,469,576,534,669,922,558,416,354,408,1116,1256,1204,1338,1482,1574,1468,1502,1528,1334,1252,1522,1344,1294,1188,1286,1176,1158,1332,1124,959,1118,1542,1582,1276,1404,1212,1098,1064,1092,1346,1426,1352,1216,1032,1036,1182,814,687,1108,1522,1326,1126,936,669,789,1198,1120,1056,1232,1368,1506,1626,1406,781,927,938,622,796,1278,1486,1196,1136,1140,1220,1328,1196,1602,2104,1528,1072,689,505,521,516,450,547,656,641,614,605,570,512,376,404,552,891,1244,928,666,585,380,289,289,307,356,393,393,452,406,362,383,338,329,303,315,369,555,639,471,373,446,651,901,1114,1338,1516,1866,1504,1266,1430,1444,1284,1200,1300,1378,1562,1714,2022,2436,2094,1216,1200,1434,1692,1410,1030,1298,1286,1032,1196,1238,1172,1166,1356,1192,1070,932,792,800,959,1092,999,491,509,732,1264,1248,1332,1478,1534,996,1104,1066,661,565,979,1218,978,638,820,1362,1426,1384,904,555,682,661,606,830,1092,1024,1054,1074,1210,1306,910,805,974,1394,1554,1228,871,1012,948,740,988,1370,1434,1842,1678,1346,1286,1178,1212,1036,919,1188,901,686,544,437,677,754,636,466,386,741,1064,851,692,691,794,990,813,670,712,583,692,933,951,662,502,428,438,450,508,661,712,701,690,770,818,603,723,1426,1466,1632,1462,523,624,637,566,593,568,536,472,451,481],[327,281,313,487,1004,1340,984,516,666,823,626,449,450,426,451,752,1228,1036,472,484,336,375,375,764,1104,1072,794,750,821,896,633,359,371,590,1116,1460,1316,1130,1468,1620,1386,773,610,976,894,702,705,683,773,1108,1278,841,532,819,901,973,929,892,1046,1418,1838,1556,1882,1374,1466,1610,1780,1828,1824,1774,1736,1798,1644,1332,1320,1354,1466,1278,1196,1098,1078,1138,1002,720,615,860,1172,1312,1160,1082,1446,1088,1334,1358,1172,680,598,679,752,996,1021,722,599,922,1226,1096,741,813,1890,1462,710,597,624,763,979,659,461,427,473,548,469,409,328,420,494,511,588,819,940,907,869,659,720,1082,601,675,1240,1170,1418,1590,1534,1400,1240,824,839,1320,713,553,707,968,1256,944,548,463,519,418,340,361,334,423,418,591,1078,1202,1092,1028,896,818,594,510,432,487,386,339,427,450,462,665,799,711,415,691,895,675,838,946,650,666,560,741,822,767,1100,1130,950,948,1164,828,616,725,592,783,881,1112,1278,1076,1472,1086,1008,1016,1078,1108,1048,1076,1328,1152,930,926,1176,1262,848,1066,1182,1008,1080,887,626,509,462,380,333,454,788,1128,1028,1264,1370,1068,1028,1262,1238,1338,1320,1262,960,553,407,314,350,351,322,353,410,411,478,562,467,787,1496,1932,1706,1276,939,808,965,1068,1090,1028,972,800,847,1054,1410,1272,1072,1262,1378,1432,1130,883,849,1118,1160,1244,1368,1376,1432,1382,1350,1304,1294,1166,1216,1428,1198,1234,1396,1376,1280,1282,1326,1302,1052,1011,1262,1322,1686,1426,1480,1372,1272,1112,1316,1434,1472,1274,736,861,1030,571,590,514,599,922,1021,1204,1306,1320,1366,1366,1292,1372,1124,1108,1294,1434,1310,1548,1732,1584,1538,1316,1246,879,679,646,559,759,904,1160,1268,1442,1348,1080,1154,1358,1484,1534,1302,806,561,662,735,625,950,1266,979,1240,1412,1192,1260,1622,1638,1030,976,719,984,1266,1134,677,664,878,1140,1306,930,491,534,855,907,1088,1482,1400,1428,1116,977,937,782,1026,1150,991,1038,1030,944,814,761,1009,1126,1230,1198,868,1032,1236,1116,1020,1204,1088,1338,1302,1346,1412,1362,1376,1476,1448,1172,1001,1034,1062,1050,973,749,1232,1130,1226,1360,1294,1180,1268,1270,1096,1010,1098,1260,1048,893,619,1224,1532,1356,902,628,709,922,1124,1104,795,792,869,539,715,853,468,503,431,263,237,233,272,296,308,335,446,560,515,406,368,526,612,665,714,752,764,999,1224,1005,731,676,579,797,896,1084,1036,850,796,952,1724,1768,1386,1628,1404,1588,1510,1502,1434,1290,1318,1240,939,1064,1017,642,598,524,556,553,750,986,1272,1096,764,665,549,483,547,769,1082,1236,859,596,583,766,1052,1500,1354,1001,919,1032,1188,1202,1340,1390,1278,964,1074,1354,1152,880,641,801,948,935,567,403,429,426,469,438,415,474,500,515,850,1026,739,1096,1108,1150,1308,1348,1450,1296,1026,598,689,1088,1344,1096,847,813,1013,1326,1274,1208,1360,1192,1324,1376,1526,1460,1104,947,1248,1136,954,839,697,684,1152,1186,1114,1228,1474,1312,1310,1064,942,1034,1304,1316,1172,1208,1290,1088,1007,1462,1440,1290,1362,1368,1232,1256,1470,1432,1218,1250,1230,1188,1250,1332,1076,1158,1308,986,556,530,772,957,1003,722,456,472,525,540,583,541,458,469,468,602,642,484,519,484,460,567,478,504,631,723,619,622,589,551,562,543,523,534,473,636,985,529,513,1128,1640,1482,1322,1476,1322,709,450,378,363,372,379,381,432,454,472,483,490,574,664,552,516,522,558,525,501,474,380,380,365,462,662,714,558,593,929,1274,1538,1300,1100,1116,1360,1254,1052,1238,1450,1150,935,1194,1246,1218,1218,1374,1452,1474,1256,1238,1230,796,991,1336,1576,1856,2148,2120,1498,1044,926,1086,893,550,879,1332,1244,1038,1218,1306,1294,1114,772,716,919,930,935,882,986,1122,1021,1180,1404,1460,1280,1204,1332,1172,1034,832,742,891,1138,1188,1152,1106,1042,1192,1322,1122,944,957,700,533,1050,1334,725,866,757,973,1556,1588,1242,997,896,772,811,1030,1206,1070,866,701,1066,1010,876,875,1198,1294,1258,1172,901,752,871,899,1040,1282,1002,893,1016,659,497,567,883,1064,1350,1414,1001,929,966,1158,913,1200,1058,722,474,474,776,921,691,547,454,453,547,974,1432,1444,1524,1058,717,806,1078,865,633,521,668,1118,997,720,1180,879,788,733,787,539,407,323,782,991,908,1246,1164,1142,1414,1440,1302,1548,1460,1258,1282,1388,1442,1550,1488,1318,1102,1122,1054,966,1038,696,622,929,1010,1042,1090,855,824,878,492,758,1524,1506,1194,927,1126,1046,1146,1318,1136,1274,1416,924,731,833,1054,1202,1020,955,1484,1338,905,1090,1246,1328,1424,1126,480,357,362,426,415,698,1122,1264,1354,1200,866,861,1064,1060,1168,1428,1526,1278,1168,1228,1042,700,544,671,854,752,874,729,1060,1366,1282,1378,1356,1116,1174,1384,1570,1504,1266,1174,879,824,844,933,1062,1314,1250,1232,1242,1400,1456,1296,1116,1188,1066,806,1114,996,858,1100,844,910,1198,1098,1106,1266,1004,872,1218,1400,1054,630,391,367,401,412,383,381,369,350,403,488,716,1300,1118,600,735,1160,1112,776,746,694,579,617,869,1108,1042,725,890,673,670,700,547,688,902,872,892,1009,1240,1342,1108,1140,1224,728,1332,1834,1736,1170,560,339,345,406,571,530,468,424,326,558,755,774,915,1078,846,526,300,277,314,373,401,818,1334,848,860,997,1488,1844,1348,931,1005,1602,1664,976,832,777,731,863,694,641,899,600,426,486,774,1046,1017,750,648,734,717,509,460,689,991,780,534,376,719,1142,1342,1324,963,440,553,516,394,368,403,396,460,930,1078,1338,1606,1080,785,778,698,803,853,924,602,983,1376,1160,800,994,976,777,774,741,799,653,1005,968,1044,1170,926,916,1226,1282,1338,1344,836,458,547,700,847,799,748,859,938,962,899,996,997,938,1080,1206,1252,1120,941,909,536,334,550,536,430,787,1098,897,998,1112,1260,1464,1334,990,499,692,803,430,297,446,679,658,744,962,821,976,1310,1096,1068,1146,1160,822,495,566,1020,1444,1236,1070,999,1162,1146,680,431,728,579,436,688,1011,938,910,1010,1184,984,471,536,966,1176,1122,992,1110,1184,1262,1284,1298,1706,1846,1610,1208,1798,1896,1572,1406,1312,1226,1144,1414,1608,1492,1200,592,514,741,999,1246,1172,678,1092,1112,1024,1160,1360,1230,966,915,727,1082,1350,1724,916,527,680,1290,1798,1996,2154,2362,2320,2272,2154,2042,2062,2040,1932,1842,1656,1428,1290,1360,1310,1242,1272,1160,1256,1582,1832,1226,1542,1110,1074,1196,1180,1428,1576,1830,2014,2042,2352,2142,2468,2492,2730,3006,2830,2438,1924,1460,1034,1310,1648,1362,1228,1164,1154,1190,1210,1148,1116,1060,922,1040,1188,1242,1260,1288,1160,920,1016,1318,1356,1602,1396,1342,1322,846,747,1152,1290,1372,1078,951,886,1092,1084,1284,1038,985,1330,1330,997,824,618,440,426,430,418,457,422,390,438,491,413,428,748,1028,1270,1250,1130,1116,1072,608,451,413,363,363,560,576,586,710,673,766,897,1001,1092,1011,1118,988,831,718,531,484,501,1032,1106,955,1032,750,459,679,488,730,851,602,634,1048,1292,1040,996,1130,1144,1142,1256,1304,1272,1009,1168,1414,1548,1356,1238,1128,951,556,402,624,947,1128,975,1190,1374,1180,1032,1506,1350,907,607,386,369,542,913,766,496,316,580,697,786,1440,1392,1544,1502,1498,1612,1448,1310,1232,1042,1058,1416,1336,1296,1368,1442,1328,1216,991,951,1040,1108,1528,1640,1348,1280,1190,1044,838,891,1278,1390,1252,1304,1126,983,1178,597,421,602,963,899,988,1166,1180,1644,1838,1406,1188,948,973,1082,1026,1190,1144,1282,1234,1354,1226,1816,1628,1010,860,933,1228,1260,957,1052,1250,1270,1374,949,780,719,569,447,521,511,530,643,602,565,625,626,669,826,1086,1036,641,435,325,286,279,284,347,463,469,484,489,416,330,435,536,468,338,365,429,555,686,552,438,404,850,1444,1618,1522,1698,1918,1490,1092,1194,1456,1338,1240,1314,1252,1310,1736,1808,1342,1019,831,976,1262,1330,1198,1013,1234,1164,1132,1148,1182,1172,1340,1578,1296,1090,1166,1009,964,1034,1134,1046,854,953,1146,1246,1316,1360,1376,1312,1406,1514,783,509,630,951,1380,1236,695,932,1130,1168,1296,1148,708,625,469,655,1268,1612,1192,968,1350,1692,1664,1160,889,1074,1312,1426,1388,1118,1328,891,535,622,661,963,1186,1164,1088,919,816,931,827,805,856,805,771,534,737,1202,1202,756,406,471,493,445,439,657,613,539,589,636,704,791,662,559,509,574,723,701,471,517,575,644,750,791,834,1110,1130,830,628,813,1166,1388,1544,1160,646,1034,1216,1184,1092,978,1000,1164,900,669],[301,303,506,955,1440,1432,813,391,365,625,769,548,365,330,310,507,875,655,423,452,335,393,587,1017,1330,1064,565,590,941,1036,744,361,333,392,782,1262,1248,1170,1416,1516,1400,1048,567,615,500,440,331,360,415,752,1023,861,851,1036,1194,1106,870,802,835,794,1120,1238,2026,1440,1584,1862,1562,1310,1548,1762,1804,1670,1624,1560,1638,1620,1328,1376,1280,1142,1208,1342,1086,984,1186,1001,1050,1230,869,1174,1632,1126,1404,1434,972,534,563,962,1134,1170,937,819,729,1272,1284,1242,950,982,1230,1152,915,984,1124,799,667,464,289,383,459,443,476,458,386,475,789,815,627,943,1220,627,879,1114,648,634,615,861,1192,1610,1500,1072,1010,1192,1416,964,854,1074,644,590,662,926,1164,678,375,347,450,563,480,496,566,675,590,605,777,1046,968,606,585,720,745,620,503,503,448,363,322,381,678,838,1008,779,688,788,786,799,943,839,561,419,364,497,418,635,814,1028,1180,984,714,818,1078,940,702,1192,1172,1234,897,946,1372,1144,991,1324,1338,1004,816,974,1017,969,1062,877,767,1106,830,957,927,1092,1392,1126,571,341,444,444,742,1112,1280,1416,1016,1001,875,641,929,1378,1560,1460,1414,1354,570,343,533,524,490,387,352,445,592,653,650,503,434,712,1290,1680,1948,1974,1486,1124,1222,1194,780,659,638,692,933,1180,1070,753,740,1048,1296,1520,1360,1260,1130,1016,1152,1360,1204,1174,1370,1376,1356,1440,1512,1408,1340,1166,1302,1468,1394,1364,1106,918,1282,1212,1140,1196,1218,1202,1790,1444,1224,1354,1266,1198,1288,1136,1366,919,471,441,411,412,330,466,691,755,1126,1520,1278,1184,1628,1486,1282,1182,1136,1108,1236,1492,1390,1806,1840,1470,1352,1370,1294,1102,1114,1198,807,792,1600,1804,1532,1210,988,1092,1158,1478,1722,1614,1324,1100,735,752,844,643,892,1252,1013,877,1356,1418,1216,1222,1164,1023,1015,656,787,924,961,647,630,952,1254,1258,834,344,387,591,479,744,1108,1446,1392,1434,1540,1138,731,879,1170,1184,1070,1036,749,882,702,861,1074,1284,1142,982,1182,1110,935,966,1060,1142,1508,1428,1528,1478,1326,1254,1184,1172,1098,1016,1096,1368,1258,874,1268,1888,1148,1034,1246,1246,1270,1372,1388,1404,1244,1202,1056,924,1036,680,1098,1308,1354,1232,943,759,796,1156,1298,900,808,752,804,565,375,429,540,382,255,297,317,360,375,346,356,496,585,484,500,529,557,581,544,572,629,640,692,887,721,430,510,659,1050,1144,1134,1240,1026,574,711,1186,1144,1138,1336,1134,1056,1034,1158,1466,1578,1576,1524,1206,1050,963,754,599,561,867,594,433,698,989,930,1052,1038,895,800,939,1098,1172,1092,556,496,930,1368,1306,1446,1300,1176,1007,1015,1274,1312,1654,1332,1318,813,995,1272,1246,1178,797,586,668,608,391,331,416,416,395,358,421,536,581,572,730,1021,1250,1188,875,961,1172,1170,1118,1108,1082,837,1042,1366,1394,1252,1202,936,716,1070,1094,1224,1630,1424,1560,1428,1196,1164,927,881,1114,1238,1168,1072,959,861,1322,1212,1246,1090,1172,1322,1344,1372,1276,1172,1350,1224,961,1094,1334,1128,901,1146,1370,1284,1158,1158,1100,1178,1372,1320,1146,1296,1308,1260,1314,1256,1046,1232,1372,1184,1040,874,780,698,515,451,443,456,556,516,533,521,468,516,569,696,646,487,485,543,535,712,615,572,613,613,581,664,690,585,576,568,517,497,517,694,951,517,436,1272,1592,1296,1124,1432,1258,570,439,370,357,362,357,383,504,518,503,492,502,664,683,561,515,544,611,663,938,682,435,312,451,735,861,724,579,791,781,915,1294,1098,807,1272,1456,1184,1308,1408,1396,1128,1176,1450,1354,1322,1328,1230,1578,1550,1228,973,782,758,788,722,1158,1706,1842,1618,1448,1030,804,1152,840,727,599,849,1436,1572,1474,1620,1614,1116,860,666,552,497,781,598,398,486,757,1172,1410,1120,717,1218,1396,833,775,864,844,819,1134,1120,1046,1102,1072,1082,1304,1196,725,734,841,835,1044,1466,811,604,523,791,1146,1192,1180,936,769,817,769,933,1023,828,633,460,747,915,907,735,668,824,1190,1112,540,470,713,849,755,927,830,874,1148,1182,819,619,845,1017,1372,916,658,635,581,1100,1196,1070,1432,970,396,616,816,810,699,816,628,672,702,697,747,969,1068,1132,950,797,730,673,688,661,795,1001,807,647,665,819,775,639,466,474,597,420,512,1038,1320,1130,814,1054,830,1066,1246,930,953,1346,1478,1390,1328,1490,1254,1324,1152,915,770,548,751,818,840,883,890,955,935,919,952,808,696,796,866,1023,1192,1088,1009,993,1134,1046,1058,1324,1172,786,766,792,967,1036,1146,907,1076,1352,1180,1244,1208,1290,1394,1088,608,562,659,717,719,924,1100,1108,1032,719,640,910,938,782,773,994,1238,1074,1088,1388,1160,706,908,1180,1266,800,854,1154,949,1202,1290,1268,1178,1038,1023,1150,1328,1140,972,1122,1126,1020,1072,844,794,1012,1086,928,966,1098,958,713,685,898,760,528,636,832,905,785,788,979,1146,1124,887,1040,899,807,929,1080,905,531,366,372,374,393,410,397,386,415,501,546,805,1638,1316,933,670,1430,1472,918,1354,1850,1224,726,819,767,601,623,976,764,625,550,545,450,778,941,739,977,1238,1626,1128,814,908,572,802,1210,1238,774,708,626,285,321,429,487,356,272,448,797,1382,1246,890,1026,993,749,459,252,361,375,502,1122,1390,1074,805,814,1296,1554,1058,471,488,1112,1132,704,588,780,834,811,848,725,549,419,377,570,860,1222,1128,825,681,544,535,642,849,1060,1294,963,456,527,1084,1234,972,685,630,456,564,498,379,334,357,358,380,734,1094,1426,1272,1032,977,846,557,825,1076,1014,657,1108,1592,1542,1272,1054,933,908,764,857,837,883,1164,883,1058,1220,921,997,1080,944,973,1102,1156,1172,1186,1170,1170,1094,893,595,634,583,416,475,593,532,852,1222,1388,1210,897,778,461,642,1256,1188,904,1392,1332,572,916,977,731,946,1352,1056,585,635,530,332,322,583,1004,935,558,634,1048,1108,1076,981,1072,1240,1126,791,700,853,1030,1040,1172,884,783,1007,1062,671,422,565,639,844,1074,985,948,1070,1118,1248,1204,1186,906,796,868,860,1078,1396,1496,1332,1010,991,1548,1570,1722,1240,1672,1830,1636,1466,1460,1574,1600,1534,1560,1532,1168,751,579,462,701,1192,938,587,981,1188,1054,1368,1620,1294,1080,952,770,922,1572,1584,785,546,648,1032,1492,1388,1800,2238,2192,2288,2142,2136,2130,2206,2234,2032,1730,1560,1502,1378,1204,1192,1174,1080,1202,1304,1176,931,1009,933,1072,1302,1554,1582,1798,2630,2656,1732,1592,1994,1958,2202,2360,2526,2822,2890,2734,2436,2110,1500,1430,1360,1322,1326,1384,1134,979,1011,1150,1180,1132,1086,1154,1296,1258,1010,1086,1164,1328,1446,1554,1780,1512,1332,1200,923,1564,2468,1676,1466,1188,1178,1132,1248,1190,1174,926,1214,1570,1264,746,522,425,360,398,422,410,405,365,438,495,411,284,509,822,1007,1028,612,414,475,776,576,443,502,526,701,802,678,968,1210,1023,976,984,1054,884,688,858,868,844,852,1236,1136,684,725,473,523,710,536,415,691,663,862,933,944,959,1104,1084,1058,974,745,974,1280,963,1162,1252,1196,1306,1318,1232,1264,866,445,424,486,455,443,1032,1306,1194,1238,1236,1156,915,1468,1528,980,866,858,756,641,729,404,338,382,461,669,913,842,1038,1352,1322,1320,1382,1392,1396,1266,827,880,946,854,1060,1406,1380,1142,1202,1376,1358,1180,1332,1634,1592,1390,996,993,1018,907,999,1154,1272,1346,1318,1180,1088,1003,696,527,373,412,393,717,1112,1158,1326,1488,1272,1338,871,757,711,725,968,1504,1584,1914,1732,1504,1642,1086,967,847,1184,1810,1324,893,1070,1168,942,875,870,1204,1256,702,439,500,439,500,529,532,533,700,985,1308,1430,1186,674,372,351,309,294,370,551,502,984,1100,919,621,483,383,522,913,918,537,444,577,427,479,568,627,549,952,1580,1768,1512,1654,1894,1412,1174,1504,1654,1500,1436,1610,1302,1282,1372,1452,1460,1232,1052,1058,1226,1294,1232,1346,1322,1023,1009,1180,1238,1136,1246,1542,1332,1126,1106,893,1094,1062,1292,1182,1118,1286,1504,1358,1508,1464,1092,952,1146,1230,1094,1140,1176,1514,1810,1502,1130,1266,1476,1368,1360,1362,642,537,469,645,1168,1180,1104,1232,1482,1566,1556,1310,1284,1486,1540,1190,960,865,1116,966,923,1030,803,800,922,839,831,800,872,766,694,624,585,655,822,575,459,822,1170,989,653,519,366,538,723,984,602,492,923,1164,1186,1214,1198,1236,1336,1246,998,1050,987,1068,1038,968,1046,1296,1346,1262,1162,977,819,916,1004,1092,962,761,642,919,1046,1013,769,656,640,643,506,502],[350,324,670,843,1030,1050,566,372,490,568,513,436,444,490,561,422,371,382,424,473,499,581,827,979,1156,1150,822,945,1076,1166,980,433,258,300,498,1144,1350,1064,972,976,1180,1118,684,371,302,270,288,335,341,559,857,936,1044,1250,1184,1188,1240,826,619,789,1026,1102,1570,1506,1510,1880,1594,877,932,1404,1698,1428,1538,1600,1562,1766,1276,1386,1498,1146,1198,1234,1138,1482,1606,1010,1148,1118,905,1306,1502,1005,498,411,456,490,877,1142,1064,1086,1052,926,873,1296,1346,1030,862,1144,1146,1038,1148,1670,1700,888,466,330,322,435,443,424,445,489,398,632,1344,1300,833,1076,1012,619,830,855,517,439,635,894,777,762,973,1040,1066,1512,1470,1012,1028,1090,854,930,1152,1124,873,696,516,724,1312,1296,741,697,1042,1150,1008,588,552,627,686,644,584,716,725,1009,1148,953,778,493,318,542,954,929,1064,1024,774,809,1074,1200,894,495,594,468,511,491,419,580,994,1148,1044,630,476,875,1250,1124,1128,1086,1164,1060,1076,1206,1024,792,557,702,1214,1444,979,1388,1126,817,1016,1228,674,621,617,498,601,897,936,858,661,484,440,549,898,1534,1552,1448,1178,832,494,423,735,1322,1550,1708,1670,952,400,405,700,617,634,692,601,695,685,717,730,688,442,832,894,758,881,1332,1536,1664,1570,1182,684,692,803,699,680,882,910,585,791,1024,1196,1378,1414,1328,1220,1222,1516,1556,1388,1354,1222,1382,1278,1482,1512,1436,1286,952,918,1092,1236,1272,1086,932,1360,1144,1084,1258,1266,1672,1700,1294,1320,1268,1038,980,843,904,1154,665,441,389,340,353,470,760,836,612,860,1230,1078,1324,1808,1404,1310,1492,1182,785,1080,1376,1330,1496,1454,1488,1262,1306,1296,1200,727,684,517,832,1440,1448,1376,1114,1138,1158,816,859,1318,1278,987,813,658,857,738,529,903,1304,952,896,1322,1176,868,1120,1272,1590,1418,1162,1260,1284,1212,907,806,1112,1208,1282,826,411,430,468,360,631,1120,1224,1198,1490,1556,1040,659,784,808,880,847,827,844,1013,1005,1134,1240,1250,1066,913,1154,1078,866,1092,788,1340,1650,1434,1290,1360,1344,1304,1452,1384,1274,1204,1216,1196,1240,1058,1346,1426,1078,1120,1178,1108,1266,1360,1352,1346,1190,1198,1186,1100,1030,882,1040,1238,1390,1426,1390,1358,1152,1180,1138,769,539,531,1516,1112,397,572,697,392,245,266,298,314,386,367,375,510,571,532,563,469,435,563,534,540,546,393,279,325,366,513,773,946,973,991,1108,1244,1182,1028,955,1354,1206,1798,1948,1054,1012,1104,987,1216,1466,1680,1714,1338,1164,1350,1100,586,944,920,514,418,561,732,974,1182,1128,1116,968,1318,1144,1080,879,582,661,1322,1718,1578,1540,1418,1208,883,927,912,922,1350,1294,1404,1156,1120,1124,1166,1290,1140,758,594,530,430,394,443,372,339,353,418,452,516,535,514,693,860,904,854,1042,1190,1324,1166,1092,1132,1092,1362,1476,1116,860,1011,919,564,968,1108,1286,1512,1234,1376,1260,1276,1170,712,703,817,1082,1144,1060,758,897,1140,1260,1202,863,913,1266,1384,1360,1366,1426,1434,1258,990,930,1240,1388,1254,1370,1608,1290,901,943,1054,1040,1184,1070,987,1110,971,984,1068,1120,1126,1244,1260,1150,1142,1190,1156,794,473,442,456,501,517,503,505,464,441,492,586,748,680,555,665,769,620,678,690,623,593,586,564,671,716,606,631,603,532,529,525,821,858,498,505,1206,1610,1272,1096,1372,1072,521,482,450,383,375,359,379,437,536,563,528,557,534,486,531,562,577,556,666,1034,1028,608,488,721,877,921,777,799,882,650,650,797,1082,1116,1378,1364,1384,1132,990,1240,984,998,1132,1064,1176,1262,733,1188,1344,1282,1020,943,1132,1144,1062,1054,1526,1760,1788,1566,1220,1012,1108,1020,1144,1036,1386,1804,1512,1340,1162,1010,1048,1246,815,639,742,1138,927,866,861,711,1132,1510,1124,856,1130,976,460,487,931,1206,1160,1244,1400,1034,587,515,779,961,1172,858,737,604,655,1036,1556,1086,546,427,735,1002,953,617,659,599,646,767,1142,1142,850,608,602,741,715,830,964,600,472,844,1150,1002,911,977,1138,1184,1066,1404,1408,1102,1270,1250,1108,910,785,1250,1150,787,401,380,901,1066,944,1238,747,529,879,787,722,922,878,1078,1178,1002,866,711,634,648,955,1416,1346,920,601,516,542,784,1044,771,653,792,988,1210,1104,700,489,485,401,538,993,1296,1250,1416,1534,1088,1020,1184,899,1048,1462,1594,1492,1384,1368,1202,1128,975,873,620,425,721,1114,1276,1188,929,758,538,698,874,814,991,1026,917,1070,1088,1050,1204,1204,1220,1218,1252,1420,990,763,680,764,874,1176,1210,903,1096,1322,1116,971,1108,852,875,813,636,697,746,736,938,1222,1284,1240,1172,980,1092,1098,1046,916,960,1054,1072,1366,1610,1386,1178,951,1170,1074,1017,929,1130,1522,1030,1054,1404,1432,1108,1066,1112,1034,1208,922,902,780,902,949,794,634,698,864,894,811,803,977,997,844,632,477,480,584,888,1098,955,761,645,775,1252,1298,836,850,1402,1682,1246,1078,1028,616,352,392,377,384,397,395,391,412,544,554,714,1001,796,746,1060,1900,1486,742,1242,1842,1060,741,658,684,875,1162,1368,1064,1204,1356,1190,963,918,1196,1066,1040,1520,1740,1162,951,890,551,436,684,785,858,1226,799,358,477,1004,1040,473,402,442,485,811,690,576,592,550,737,863,692,433,392,662,1380,1522,1518,1007,803,938,912,675,457,673,1096,952,536,631,776,776,688,602,668,717,502,587,897,965,1128,1318,924,707,509,449,896,1150,1552,1484,617,263,558,983,1258,1040,743,847,667,585,518,370,329,356,446,673,846,1104,1218,830,927,1322,1010,669,814,996,772,603,1058,1574,1668,1586,1246,809,901,798,1018,825,988,1282,1308,1482,1202,949,1164,1232,1214,861,709,1142,1316,1206,1230,1338,1044,520,329,296,273,334,561,733,530,738,865,1044,1138,1090,836,477,778,1162,1076,1013,1216,1192,1112,1234,1126,606,489,855,1278,1280,847,448,303,393,776,1286,1312,818,913,824,762,803,659,840,1296,1354,1262,1376,1220,1038,958,974,694,650,685,601,506,481,462,558,888,927,739,916,1056,1124,1106,1192,1504,1296,865,694,893,1204,1352,1506,1034,768,738,1366,1504,1678,1234,1484,2000,1800,1506,1592,1864,1928,1664,1592,1400,968,725,525,414,459,495,467,518,930,1272,1154,1438,1716,1418,1150,1182,1058,1016,1532,1394,991,1262,1182,972,1360,1290,1290,1294,1422,1582,1732,1870,2040,2208,2262,2188,1956,1720,1520,1438,1284,1224,1106,1080,1048,1258,1382,1188,977,1092,1013,1036,1188,1334,1796,2496,2626,1598,1658,2154,2030,2020,2070,2220,2300,2540,2786,2840,2166,1590,1268,1396,1260,1148,1212,1266,1306,1176,1134,1390,1642,1136,1234,1316,1410,1006,814,836,1140,1318,1306,1482,1502,1194,1238,1338,1642,2290,1488,1074,1021,1210,1354,1386,1274,783,794,1164,874,515,333,334,372,393,414,392,385,385,370,419,405,280,433,669,652,806,1009,931,725,564,664,776,624,529,738,1180,1296,1136,1098,1324,1230,1252,1322,1304,1106,995,944,918,1126,1158,1052,891,799,607,466,420,389,380,407,578,851,1010,1007,900,753,630,833,944,1088,735,905,1028,727,715,1052,1232,1224,946,1019,1158,698,302,365,553,489,371,822,1370,1432,1266,1272,1108,904,916,935,895,1048,794,759,810,1044,631,594,862,752,524,484,683,1092,1524,1284,1005,923,927,1078,830,563,753,966,1064,1134,1230,1300,1338,1412,1404,1262,1096,1456,1770,1632,1350,1052,895,658,650,762,924,1244,1474,1160,1154,1102,853,783,659,586,786,1005,1044,1017,1036,1112,1212,1284,1456,879,940,944,750,789,1210,1482,1696,1654,1766,1794,1086,1146,1126,1396,1832,1120,1070,1350,1294,1212,1106,807,805,901,534,362,430,428,424,554,618,499,700,1250,1572,1290,901,815,665,517,392,421,590,1002,670,1246,1790,1448,847,547,449,597,970,1196,606,620,995,750,677,979,886,772,1058,1232,1164,1120,1474,1794,1074,1312,1700,1660,1380,1338,1426,1456,1510,1558,1710,1582,1240,1024,1208,1424,1728,1622,1598,1192,1166,1272,1186,1412,1574,1438,1594,1542,1404,1246,1460,1332,1360,1368,1474,1368,1204,1196,1146,1354,1424,1344,1354,1440,1414,1440,1456,1546,1664,1636,1448,1274,1436,1762,1682,1458,1216,723,698,659,734,1138,1314,1314,1474,1614,1554,1442,1094,1082,1306,1288,1288,1156,938,916,1092,1260,1236,991,868,973,1112,1312,1226,1084,1138,1204,1304,1224,1200,1272,1100,1052,1202,1150,1106,1036,907,485,492,466,779,547,511,800,945,1022,891,836,728,598,523,463,697,529,359,560,649,686,768,617,532,897,1104,965,1011,1264,1458,1594,1302,627,339,428,518,482,325,268,375,484,601],[534,587,555,495,965,1120,639,390,453,371,355,537,808,695,944,748,561,526,474,512,432,460,666,630,786,1032,1019,995,1144,1200,894,461,366,434,756,1222,1216,918,814,655,946,1368,1042,532,361,354,397,391,401,644,861,753,786,1140,877,1158,1416,1050,982,1296,1268,1294,1472,1404,1612,1912,1700,1290,1322,1278,1272,1178,1428,1656,1664,1688,1496,1616,1638,1506,1548,1622,1490,1634,1350,1094,1100,1076,1348,1526,1442,876,379,356,388,608,1060,1170,1104,837,885,835,1070,1290,1366,1236,1116,1034,863,727,966,1348,1136,713,575,460,441,492,479,449,547,744,688,807,1316,1662,1164,1218,860,565,468,412,388,554,883,982,621,522,716,513,735,1648,1230,838,968,881,788,1154,1356,1034,904,946,757,1076,1326,1048,655,722,1026,1306,914,460,540,664,865,733,747,1196,1238,1120,1310,1340,1068,525,324,682,1098,1228,1278,1074,827,667,796,1006,862,524,511,559,569,532,562,647,870,1100,977,590,645,664,1011,1346,1252,1094,1352,1220,1158,886,532,460,378,415,970,1544,1150,1144,1160,1332,1248,1152,914,578,510,444,383,425,440,602,877,701,494,546,650,1136,1404,1268,1202,988,577,682,1148,1360,1322,1732,1148,420,309,359,617,692,907,1030,933,1108,987,985,667,686,607,634,472,449,502,596,887,1234,1610,1432,902,807,1118,1023,712,601,633,637,837,913,892,1090,1388,1306,1234,1186,1344,1454,1440,1168,1040,1294,1368,1302,1412,1484,1252,1078,952,996,762,769,1126,1322,1418,1310,1158,1266,1390,1372,1254,1672,1798,1192,678,778,904,1450,1804,1252,733,520,431,419,455,636,865,670,907,1106,1002,843,1204,1274,1344,1474,1318,1042,1144,1316,1290,1248,1362,1520,1428,1416,1448,1023,455,406,500,741,828,802,963,872,1050,1010,685,564,718,550,435,472,908,1314,980,838,1394,1072,603,968,1480,1188,1158,1172,1212,2036,1946,1266,880,968,1368,1318,1023,1186,1346,1432,1056,567,487,560,482,798,1248,1160,1116,1222,1350,892,1034,1104,1024,979,774,680,969,1196,1228,1378,1150,1242,1194,1152,1116,871,820,865,1024,1262,1394,1482,1460,1536,1478,1366,1190,1212,1196,1208,1250,1116,1494,1728,1604,1204,929,1156,1220,1160,1074,1308,1368,1310,1442,1346,1432,1418,1384,1332,1204,1318,1476,1394,1370,1330,1350,1384,1208,1070,865,753,836,483,306,390,406,333,411,832,502,307,359,381,339,465,572,575,583,467,457,648,598,532,507,322,313,326,277,423,736,902,706,816,918,946,1086,1426,1384,1432,1174,2274,2256,1262,961,938,1036,1322,1366,1288,1506,1556,1540,1424,803,714,717,624,791,706,489,596,943,987,680,612,772,790,831,708,531,654,937,1188,1234,1286,1350,1316,1102,910,807,846,899,949,1202,1138,905,995,956,769,987,1060,780,522,460,481,424,417,394,353,375,441,415,422,465,495,633,877,1066,1174,1310,1188,1704,1484,959,980,1220,1338,1244,1020,586,692,959,757,1136,1198,1318,1452,1428,1394,1086,953,871,603,508,601,907,995,780,765,990,1076,1228,1220,1150,971,1074,1302,1158,1306,1468,1410,1172,967,1262,1440,1380,1344,1284,1007,734,702,915,1086,940,1334,1060,865,811,664,640,876,1024,1032,1098,1122,1019,949,1076,1210,959,596,482,559,599,566,613,570,489,444,432,484,830,956,818,824,758,781,860,763,632,597,521,525,648,578,554,597,570,506,510,472,854,788,393,590,1238,1586,1252,1080,1430,869,473,426,409,390,355,354,372,363,432,488,522,571,553,526,517,586,631,683,775,856,670,509,658,830,795,741,1030,1166,695,541,597,658,930,1196,1056,1208,1422,1005,1016,1060,842,906,872,1228,1328,1280,1116,1296,1322,1452,1308,1150,1212,1490,1322,1288,1376,1504,1650,1730,1620,1252,1222,1208,1210,1224,1304,1260,1300,1418,1220,1124,1346,1642,1364,1224,1184,1154,689,818,824,375,740,1182,1340,1300,875,674,658,921,1158,1186,1198,1224,1046,1130,1306,1130,959,799,916,1090,1144,1032,701,824,1390,1156,464,501,727,894,766,536,579,495,486,612,984,1094,885,534,500,625,587,825,1052,855,636,806,1130,1404,1164,1190,1366,1372,1256,1330,1064,818,1013,1574,1816,1420,1226,1546,1444,1104,724,503,989,1112,736,494,456,510,750,734,825,1016,1017,1356,1372,1020,709,666,706,655,883,1528,1616,1708,1262,863,610,709,949,1140,1026,793,1162,1284,1164,1066,701,335,336,650,716,842,1210,1250,1232,1232,1074,1274,917,1186,1456,1650,1462,1494,1378,1318,1186,1164,1202,839,530,883,1108,1032,1194,1194,1322,994,893,1018,929,957,1078,1216,1278,1396,1410,1358,1252,1124,1000,1154,1228,824,560,706,869,1036,1096,939,1142,1416,1412,1284,1190,899,444,303,414,648,888,797,714,869,983,1172,1316,1272,1362,1394,1354,1354,1178,1108,1082,1114,1550,1524,1334,1132,1100,1020,932,965,1008,1184,1272,1068,847,1116,1578,1384,1456,1388,1230,1324,1003,966,827,906,1144,821,501,493,582,667,774,1002,1036,1406,1664,1378,1072,799,797,1106,1132,877,852,707,1096,1366,1208,791,732,1760,1870,1268,1056,1050,651,361,387,383,393,429,441,435,421,503,558,654,744,780,774,1200,1478,807,597,773,1370,749,693,755,715,854,1330,1418,1272,1482,1410,1338,1216,1396,2316,1338,824,1528,1642,1180,1086,863,399,482,721,504,819,1092,519,590,711,852,872,603,393,380,356,478,509,330,296,369,509,789,1040,992,701,1120,1406,1476,1410,952,680,720,855,697,589,583,904,1128,680,591,736,691,761,988,933,849,753,802,916,932,758,1262,1446,944,541,621,755,770,1058,896,306,381,612,527,961,1258,1136,1432,1164,794,636,462,386,390,713,1196,1242,1194,1080,993,971,1142,805,800,1284,1320,1088,962,642,914,1042,969,906,1128,1198,1008,987,787,890,996,1114,1294,1194,880,824,860,1138,706,451,914,1206,1220,1358,1462,1094,717,493,421,352,405,569,708,482,470,706,879,812,966,901,405,583,750,730,786,1386,1686,1392,1076,796,529,375,667,1134,1096,982,885,670,511,689,898,963,1204,1390,944,710,561,637,836,1108,1204,1176,1014,882,938,742,550,383,506,453,384,453,450,398,449,713,760,571,735,990,1262,1170,1120,1266,1306,1234,987,980,1092,1278,1154,916,1023,901,1324,1554,1576,1202,1260,1804,1628,1470,1704,1748,1598,1628,1614,1496,1450,1164,1040,888,652,612,521,529,1023,1372,1262,1272,1310,1312,1262,1328,1082,1030,1512,1416,1056,1600,2114,1338,1260,1486,1532,1440,1124,1042,1013,1160,1530,1686,1708,1714,1842,1858,1488,1560,1436,1054,898,995,1084,1058,1230,1368,969,1118,1378,1384,1266,1172,1182,1792,2138,1520,2106,2710,2596,2530,2360,1972,2110,2216,2352,2296,1720,1650,1680,1730,1574,1254,1064,1152,1194,1100,1230,1352,1348,1288,1218,1358,1360,1016,727,677,960,1226,1080,828,1058,1022,1058,1428,1338,1206,1090,981,1142,1610,1592,1426,1346,1236,1134,1062,536,420,346,303,321,378,399,354,354,366,332,374,545,866,799,704,786,1096,1108,990,893,744,615,547,572,640,641,821,917,739,502,846,878,894,1062,1132,1296,1522,1230,835,951,1086,933,784,882,669,468,700,660,461,444,666,882,841,713,841,650,691,951,837,1096,880,907,1086,1016,1006,1122,1242,1038,896,1066,973,566,397,376,428,437,348,371,858,1112,984,976,1038,1042,777,536,446,758,425,254,716,1080,700,724,1090,1156,892,1024,938,830,1306,1500,785,610,679,780,781,721,907,1098,1086,896,1170,1318,1394,1418,1302,1256,1344,1606,1738,1634,1276,822,498,432,381,507,1336,1478,1338,1092,1124,1156,1262,1005,815,995,1240,1410,1406,785,596,650,1138,1426,1516,875,688,673,577,766,986,1296,1402,1674,1678,1738,1322,1338,1546,1642,1396,952,1042,1256,1390,1750,1808,1138,721,543,514,419,391,432,535,919,1002,642,544,989,1418,1182,815,987,1224,1204,883,651,849,1160,747,1228,1992,1628,1100,775,1064,1024,805,933,748,605,888,1148,1296,1302,1015,1009,1234,1208,1252,1316,1666,1886,1420,1494,1460,1504,1456,1452,1676,1842,1728,1696,1780,1610,1546,1486,1846,1884,1882,1864,1892,1760,1750,1698,1758,1814,1794,1716,1616,1710,1692,1526,1760,1698,1748,1670,1616,1426,1224,1294,1314,1450,1390,1248,1296,1382,1506,1562,1494,1412,1244,1098,1168,1404,1302,1312,1148,1230,1258,1230,1182,1276,1478,1500,1494,1456,1534,1714,1748,1610,1132,919,1160,1094,1126,1240,1304,1288,1074,855,841,999,981,1056,973,824,831,846,1130,1318,1338,1410,1534,1330,868,810,913,940,683,411,294,299,320,323,441,379,437,503,478,648,449,322,347,383,372,469,557,459,403,412,448,644,836,828,705,793,783,660,1116,1344,1282,1690,1856,1052,327,365,540,468,430,422,422,465,469],[937,1152,916,617,774,1086,700,527,529,474,474,563,845,948,1076,977,701,579,547,534,600,627,838,461,477,1074,1148,1015,1144,1198,897,661,690,785,1048,965,926,1000,996,916,976,1188,1202,935,627,484,433,411,400,659,1322,1380,1066,1086,881,1068,1136,1046,1098,1262,1344,1526,1552,1406,1602,1314,1180,1200,1328,1356,1296,1128,1126,1288,1600,1482,1472,1608,1738,1700,1648,1722,1380,1376,1282,1228,1166,1100,1198,1378,1362,780,598,583,573,1224,1534,1204,778,659,717,797,1064,1354,1488,1614,1302,1354,1064,966,755,667,489,547,550,422,477,503,421,434,832,1410,868,1114,1448,1654,1450,1216,1028,791,697,763,742,914,879,703,494,506,615,452,686,1348,1278,947,1156,996,647,969,981,631,963,931,730,891,913,802,517,548,631,924,904,726,825,1078,1310,925,991,1290,1312,1278,1298,1214,844,422,469,973,1452,1542,1116,1336,1310,761,886,1142,1018,778,605,596,639,741,806,846,978,940,975,680,788,788,994,1262,1092,1106,1408,1390,1150,1019,522,504,460,437,558,723,698,525,938,1710,1204,463,553,464,464,454,367,375,473,733,794,576,491,517,655,1021,1356,1346,1186,995,946,1378,1288,1142,966,1154,848,483,348,390,634,865,1106,1060,1042,1444,1498,1186,865,1120,1090,642,471,483,533,637,648,750,950,1282,1148,1076,1412,1402,1148,1046,1030,996,913,834,698,900,1206,997,1168,1316,1196,1188,1356,1306,1278,1302,1340,1356,1476,1266,963,890,964,799,646,781,1456,1668,1606,1394,1206,1240,1250,907,729,1308,1630,1500,885,1042,1474,1622,1672,1410,788,661,797,547,544,860,1116,935,921,968,834,741,826,1054,1404,1404,1366,1384,1446,1524,1240,1278,1394,1510,1412,1570,1766,1248,589,480,703,792,704,632,578,501,536,599,698,704,502,350,379,570,1020,1050,948,1876,1950,874,582,824,1036,1036,1436,1356,838,1116,1452,996,763,945,1448,1252,1128,1182,1350,1294,1184,869,776,866,943,1288,1320,1158,1114,1118,1116,946,1302,1368,1090,1021,875,708,984,1140,1032,1094,961,974,858,729,719,945,1182,1136,1182,1140,1362,1494,1426,1338,1444,1478,1400,996,763,1054,1174,1280,1544,1350,1156,1238,1014,1244,1228,1122,1330,1390,1356,1292,1298,1228,1438,1666,1350,1232,1138,1328,1412,1220,1138,1272,1352,1302,1170,1076,890,684,588,551,439,272,334,486,623,1102,828,824,650,360,316,412,539,491,492,578,636,733,716,662,665,624,618,465,409,497,734,892,702,955,1076,789,829,1148,1358,1380,1148,1516,1654,1132,621,663,941,1042,1068,999,1148,1260,1460,1518,1108,987,615,456,796,973,598,622,846,878,574,662,1116,1122,817,617,637,848,1188,1272,1068,990,1440,1402,946,1162,1326,1006,743,786,816,508,497,792,979,626,614,845,797,514,425,425,419,453,515,474,373,418,455,432,519,653,917,1196,1108,1168,1290,1164,1148,1144,981,862,1038,1264,1386,1248,942,860,748,886,1240,1320,1188,1130,1436,1464,1212,791,739,669,712,930,975,1182,1102,1382,1366,1238,1338,1384,1328,883,1166,1250,942,948,1056,1346,1192,1044,1212,1246,1238,1368,1310,943,737,692,830,860,950,1258,1152,871,1062,1240,1056,1011,760,813,743,790,825,641,792,1022,775,519,488,599,643,628,645,584,487,424,427,604,939,1010,976,1092,960,766,762,655,614,626,530,532,622,562,507,534,537,529,532,532,780,697,347,511,1208,1560,1258,1330,1478,761,365,371,371,381,390,363,369,395,432,411,486,547,601,568,593,659,633,687,854,906,773,466,406,560,662,699,1310,1096,924,841,786,836,1238,1488,1250,1412,1074,801,1078,1370,1174,1312,1118,1236,1242,1086,1238,1470,1410,1268,1218,1324,1302,1298,1296,1486,1230,1278,1472,1490,1500,1550,1408,991,1176,1468,1240,1240,1416,1656,1638,1152,1140,1592,1636,1340,1424,1304,737,983,876,630,667,874,1152,1340,1278,1062,1058,1202,1172,1228,1374,1156,769,855,1260,1402,1422,1336,943,786,776,847,869,794,1218,1354,618,521,879,941,1114,969,731,637,976,1246,1232,1102,871,642,460,494,668,1026,1318,1358,1001,775,1094,1404,1424,1310,993,1130,1378,1324,983,1200,1270,1632,1758,1726,1602,1390,1430,1614,1262,986,1240,1212,1078,654,803,562,542,746,772,746,866,1058,1212,1156,874,612,497,558,979,1670,1890,1848,1588,1174,1032,1120,1252,1376,1064,1088,1464,1218,1134,1238,850,492,558,886,938,808,909,1013,988,1194,1126,1322,1190,1280,1216,1416,1550,1470,1208,1136,1240,1284,1108,793,716,1036,1222,1316,1310,1338,1068,843,972,1094,1034,1090,1250,1412,1528,1688,1412,1304,1130,847,628,832,1056,840,714,821,902,936,1020,1334,1418,1272,1362,1284,1152,855,593,641,685,861,1266,1410,1306,1318,1188,1108,1282,1296,1256,1224,1244,1312,1166,1026,993,1108,1362,1282,1230,1066,801,632,839,988,1046,1064,1128,1254,1078,863,1342,1530,1520,1336,1342,1416,1300,1126,826,837,1042,852,641,563,450,463,747,1082,1156,1388,1534,1642,1568,1190,833,870,1120,1010,1080,739,986,1136,1254,1050,790,870,1234,1260,1106,938,473,396,401,423,457,458,460,550,669,712,544,514,673,916,803,893,1020,998,700,747,1082,940,889,930,1100,1074,793,799,866,996,1138,1190,1318,1580,1810,1184,984,1400,1430,981,973,874,451,905,870,803,1200,930,664,864,745,468,730,729,536,596,648,509,464,295,317,438,604,695,701,859,1204,1552,1504,1496,1250,948,725,916,1404,877,585,493,613,655,551,599,599,768,1472,1764,1130,1001,889,651,764,1015,1338,1378,1362,1276,1188,886,854,583,392,332,294,549,735,693,980,1021,1046,1368,1144,844,634,455,449,628,965,1198,1426,1472,1348,1288,1050,959,813,1001,1208,1068,1202,1256,1036,1458,1418,1352,1338,1316,1292,1248,1078,846,752,708,1028,1300,1508,1142,944,1005,1192,945,701,836,1062,1206,1326,1342,1304,1104,783,543,560,491,491,736,667,536,780,1058,939,889,962,523,729,724,681,669,1120,1224,762,660,681,550,418,716,717,644,541,707,1005,968,767,778,1152,1496,1220,1490,1366,617,433,529,777,747,839,682,593,775,725,561,500,506,399,376,417,416,491,1094,1066,877,680,800,1020,1034,879,848,1040,1220,1162,830,1082,998,1302,1098,1110,1238,997,1064,1498,1684,1374,1116,1646,1598,1544,1378,1108,1392,1878,2226,2070,1704,1694,1554,1158,1348,1146,1038,1300,1624,1582,1332,1144,1016,1005,1196,1340,1266,1262,1572,1480,1304,1418,1592,1236,977,1064,1524,1682,1522,1470,1278,1068,982,1042,1110,1486,1632,1632,1786,1694,1478,1106,788,767,848,910,1242,1294,979,972,1230,1334,1482,1582,1742,1964,1870,1746,2238,2636,2814,2730,2668,2678,2288,2146,2146,2090,1706,1512,1526,1724,1688,1356,1246,1020,1052,1174,1340,1244,1116,1300,1240,1358,1260,904,780,832,888,1120,1066,946,1258,1206,1102,1338,1220,1176,1178,1120,1256,1396,1196,1262,1430,1246,1338,1236,638,404,370,298,292,350,390,360,328,369,546,479,720,1040,758,785,962,954,1018,1204,1122,951,918,828,877,649,584,594,733,637,711,874,805,601,611,1003,1374,1404,1118,631,777,1292,1298,1182,1116,788,748,1168,1078,734,496,475,723,789,650,824,854,877,1156,938,921,1164,1332,1436,1278,905,739,999,633,691,745,574,561,634,514,397,394,343,289,377,400,377,382,456,565,487,372,314,335,304,246,970,1630,1138,937,982,1006,1192,1302,973,728,804,957,811,977,1118,1044,841,844,1072,1016,1005,979,1234,1266,1116,739,1054,1268,1144,1144,1448,1592,1194,547,314,314,463,554,1216,1492,1450,1210,1148,1196,1336,1384,1310,1134,805,823,912,706,780,1044,1356,1338,1354,970,596,604,788,1100,1390,1588,1418,1360,1324,1570,1528,1200,1242,1326,1023,777,1136,1328,1518,1916,1560,975,791,972,774,558,551,472,590,1036,1068,671,460,943,1506,1300,1021,1094,1440,1516,1400,1060,1132,1432,989,1112,1798,1626,1212,1030,1440,1170,556,453,724,890,897,942,1186,1432,1418,1432,1272,1250,1746,1726,1884,1814,1672,1642,1560,1444,1476,1604,1556,1506,1456,979,1300,1602,1582,1238,1316,1742,1700,1688,1612,1638,1664,1548,1394,1180,1264,1116,1060,887,886,1126,1372,1404,1404,1354,1158,773,800,871,1160,1418,1076,659,635,825,1178,1234,998,933,918,813,844,756,566,645,534,552,528,742,1114,1438,1460,1314,1368,1276,1132,1498,1676,1626,1200,939,1106,839,641,1030,1264,995,891,786,721,875,670,506,462,426,512,577,816,1188,1344,1362,1418,1126,893,923,893,770,403,356,382,307,474,798,763,494,463,625,597,575,526,451,398,408,444,669,984,946,469,372,478,671,822,918,912,959,660,438,902,1124,1110,1608,1874,1094,289,334,536,408,401,446,461,509,735],[1066,1278,1102,643,536,848,877,944,1042,852,675,501,702,973,1174,1144,788,574,680,670,741,692,767,475,361,793,855,946,1070,977,708,419,417,772,977,1004,1188,1003,633,722,857,1009,1136,1130,1096,1007,570,554,562,1122,1722,1260,1178,1126,1012,1128,1110,1036,1118,1130,1038,1266,1338,1448,1562,1288,1390,1452,1394,1274,1066,1010,1130,1640,1918,1352,1566,1366,1468,1422,1306,1490,1504,1496,1506,1592,1520,1344,1386,1280,1278,888,957,1030,982,1390,1398,819,476,771,1026,930,1108,1352,1388,1494,1744,1992,1170,1021,854,555,423,448,423,402,530,417,307,394,797,1290,769,1052,1026,1016,1256,1182,1042,926,896,817,965,1248,1064,767,542,419,391,382,761,1258,1170,1026,1334,1250,1112,1176,1202,866,827,569,820,949,973,739,789,966,793,1250,1382,1134,894,865,1162,814,1086,1312,1614,1584,872,460,456,346,588,1172,1264,1088,964,1314,1230,1018,723,559,759,829,895,805,661,855,1120,1110,1082,957,1016,688,684,811,1098,1236,1019,1082,1272,1286,1138,911,507,466,466,439,445,460,584,633,602,1084,1282,440,501,538,581,405,505,772,825,686,502,491,529,518,590,775,932,1250,1418,964,880,1250,1396,1506,1172,802,678,408,446,565,466,599,1124,1084,696,1200,1504,1322,1126,1512,1436,1112,899,833,966,846,629,612,677,643,518,652,1158,1386,1332,1336,1224,1016,1050,1054,771,850,1034,846,1094,1198,1098,1300,1472,1432,1316,1366,1604,1636,1180,838,580,543,872,774,661,987,1676,2122,1798,1206,1178,1174,1056,932,792,615,1156,1612,1416,1232,1254,1248,1428,1370,1088,1206,1236,758,960,1250,1210,1118,982,993,1132,1146,964,722,981,1222,1009,1104,1342,1406,1438,1504,1472,1500,1334,1282,1486,1460,1088,699,732,794,575,502,582,527,408,412,778,985,731,480,456,683,765,836,1098,1530,1342,880,803,1048,1180,1304,1444,1088,1142,1470,1332,1188,873,875,1188,1236,1166,1158,1128,1206,1194,1066,853,982,1478,1250,1414,1386,1692,1222,650,778,1274,1174,1028,1122,928,770,724,876,750,908,954,929,1118,796,615,1076,1362,1370,1340,1306,1350,1324,1520,1426,1484,1416,1072,609,625,1086,1298,974,1220,1096,890,955,1230,1448,1188,935,991,1076,1256,1168,1076,993,1258,1542,1522,1488,1374,1454,1180,998,1264,1346,1356,1384,1348,1204,885,841,910,1188,782,390,336,404,510,458,491,588,400,293,301,396,525,507,497,608,681,754,744,676,594,764,1034,822,463,877,1190,1002,787,953,1002,789,647,642,914,1202,1194,1378,1516,1088,570,606,984,946,1144,1084,1080,1182,1326,1386,1486,1448,1086,664,599,707,768,1034,1262,1076,717,578,763,960,960,930,891,948,1346,1488,1014,971,1408,1096,758,763,907,926,907,1290,1200,435,462,602,946,979,909,761,867,767,517,429,471,578,689,604,402,377,401,500,729,857,1082,1120,998,930,1070,1042,1028,937,849,1092,1054,1130,1146,1238,1236,1238,1274,1274,1244,1168,1196,1138,1294,1314,1312,1088,728,586,636,727,1100,1400,1292,1354,1434,1360,1092,1050,1026,1278,1676,1394,1188,1007,912,1142,1238,1284,1300,1086,941,1180,1328,1378,1102,892,948,869,1060,1170,1136,1120,1172,1268,1380,1238,1250,1140,937,766,645,529,480,475,461,415,475,578,659,733,677,604,549,494,492,722,926,938,966,1013,919,552,434,453,601,597,503,587,658,623,543,562,564,519,498,564,729,491,350,489,1338,1754,1628,1614,1362,687,343,373,394,410,419,387,402,426,436,429,479,456,474,601,792,793,717,746,832,870,789,403,355,391,520,1078,1164,740,979,1300,1296,1144,1378,1440,1032,594,463,674,1034,1130,1430,1338,1176,1236,912,874,1166,1238,918,989,1288,1404,1392,1320,1372,1384,1212,1322,1476,1290,1080,1376,1484,1334,1316,1416,1318,1388,1290,1646,1776,1206,791,1090,1462,1334,1338,1306,1116,1188,1406,1372,1122,1314,1262,1013,1028,1252,1200,1007,1164,1360,1150,991,1120,961,1126,1166,1442,1470,1522,1466,1240,1196,933,908,1358,1614,1246,787,888,1102,1476,1354,1040,951,1342,1576,1290,1015,1062,923,637,593,993,993,1338,1386,780,581,925,1178,1310,871,423,583,797,1011,1252,1324,891,964,1162,1460,1544,1406,1208,1268,1298,1332,1272,838,881,912,785,521,718,1188,1158,930,974,1162,1216,1320,1042,691,556,636,1176,1084,1066,1368,1262,1282,1288,1182,1340,1118,779,1334,1572,1080,1080,1232,1034,808,830,1224,1600,1032,808,1390,1314,962,952,1142,1276,1292,1206,1252,1454,1302,1072,984,1132,1234,1222,1118,1046,952,922,1038,1188,1428,1692,1304,591,921,970,1072,1200,1256,1300,1292,1372,1740,1490,1028,746,706,868,837,913,1004,821,899,1210,1888,1910,1588,1338,1021,969,1186,1154,949,675,719,1260,1482,1328,1356,1328,1160,1252,1416,1366,1168,1026,1114,1174,1226,1282,1224,1246,1266,1218,989,733,869,1052,900,816,742,907,1088,1086,805,1128,1432,1298,1266,1302,1424,1406,1040,761,997,1082,1014,807,905,625,481,586,948,1230,1354,1512,1458,1250,1080,967,1094,1468,1430,1306,1001,977,1082,1142,1510,1334,1092,1548,1368,1322,1126,693,550,509,551,489,433,451,492,956,1246,518,494,1114,1428,857,1062,1090,1272,998,1366,1744,1282,930,959,1286,1168,515,391,508,972,1234,1130,1222,1156,918,840,952,1160,1246,1015,979,858,433,656,624,1136,1478,1084,775,560,345,379,562,644,619,889,1116,583,397,352,583,803,504,477,537,434,689,1050,1440,1456,1098,1015,896,1344,1926,1456,1160,1070,874,536,418,458,514,927,1412,1222,1052,989,845,808,692,1170,1576,1674,1504,1242,1532,980,832,525,500,363,436,645,687,868,1178,1110,1128,1092,757,527,497,591,541,583,901,1232,1306,1458,1556,1434,1252,1290,1324,1310,1384,1298,1636,1396,1380,1650,1672,1686,1668,1714,1624,1478,1448,1218,818,943,1260,1244,1396,1262,1166,1162,1206,1021,632,634,982,1366,1348,1094,1268,1084,911,698,808,717,691,1126,1208,858,827,1114,1106,1114,966,877,910,640,498,628,1176,946,396,468,733,736,433,605,583,500,441,382,485,727,1050,1264,1556,1258,1022,1758,1376,966,654,753,782,682,940,841,748,960,948,613,537,495,435,388,359,402,583,1230,1240,841,637,963,1078,628,497,594,874,1064,972,766,912,944,1160,1232,1132,1216,1154,1112,1560,1572,1106,1062,1638,1496,1296,1362,1656,1744,1838,1982,2064,2104,2126,1784,1076,968,664,865,1396,1752,1832,1582,1566,1612,1388,1250,1520,1716,1614,1584,1450,1196,1372,1686,1376,872,709,1180,1788,1806,1744,1670,1556,1300,1064,892,906,892,1298,1694,1672,1316,844,586,759,925,1000,1300,972,937,1112,1500,1520,1554,1982,1974,1808,1704,1910,1898,2040,2354,2686,2680,2620,2802,2618,2482,2182,1592,1188,1164,1234,1350,1348,1306,969,979,1196,1400,1144,937,1098,1300,1416,1300,1080,1158,1011,863,909,1048,1316,1446,1266,1152,1316,1290,1156,1262,1282,1362,1240,1112,1360,1558,1310,1412,1516,966,467,392,362,339,409,485,462,392,484,985,931,684,474,790,1080,838,516,688,1134,1392,1146,805,668,1056,1013,1030,982,837,608,830,1080,1003,911,908,1158,1238,1384,1266,784,852,1194,1216,986,948,881,988,1224,1050,940,639,572,618,621,914,796,750,899,1128,1118,1210,1024,1040,1290,980,831,815,725,990,1282,1013,1122,1212,1008,710,406,264,245,288,305,262,274,276,265,312,318,293,296,280,286,347,1072,1650,1244,1282,1294,1250,1390,1136,673,549,679,900,1250,1356,1306,1186,930,921,998,981,964,1250,1350,960,562,468,889,1384,1302,1302,1584,1466,1224,738,339,350,489,785,1138,1298,1184,1100,1138,1104,1274,1142,1074,1080,631,720,827,842,1054,1506,1390,1154,1350,1262,1152,1346,1182,1102,1438,1528,1388,1136,1248,1626,1472,1328,1494,1428,844,669,1444,1452,1432,1572,1094,1042,893,943,966,736,675,744,756,998,792,821,984,1310,1584,1400,1296,1438,1704,1566,1384,1130,1040,1436,1116,957,1488,1388,902,890,1154,910,726,712,921,1118,1108,1102,1372,1620,1474,1466,1456,1634,1808,1792,1730,1556,1368,1380,1500,1180,1292,1362,1230,1372,1456,1028,1178,1430,1378,905,1744,2586,1806,1742,1668,1462,1730,1728,1160,876,1092,967,580,355,576,1044,1170,1140,1288,1232,996,693,908,610,1024,1442,998,717,749,884,996,793,849,1116,869,982,1136,657,420,492,467,438,601,893,1354,1620,1360,1360,1416,1326,1610,1782,1654,1670,1244,1296,1722,1158,846,1090,1036,1126,1540,1438,1342,949,521,348,300,346,442,518,717,1126,1130,907,1334,888,568,490,447,453,419,490,354,211,413,690,757,633,418,536,1108,914,741,784,1116,1160,703,587,892,844,330,368,438,709,1224,1138,976,1104,778,434,835,1112,1164,1456,1344,824,340,304,432,407,414,363,604,987,1172],[1202,1190,966,523,376,550,944,1026,1150,1188,938,695,927,1050,989,974,602,449,778,749,762,671,530,466,511,523,619,835,563,440,669,440,374,314,417,559,704,633,511,639,894,1000,971,1182,1334,1266,924,991,1202,1258,1086,1134,1166,1178,1244,1178,1132,1112,1108,1142,1056,1013,1158,1262,1184,1312,1476,1406,1342,1306,1160,982,937,1164,1388,1378,1464,1208,1210,1096,926,1078,1284,1446,1666,1776,1736,1802,1764,1388,1218,1054,1184,1138,1224,1228,904,598,573,853,1124,1028,1326,1312,1068,1112,1246,1116,869,888,833,794,583,436,389,338,433,364,287,348,326,328,468,692,648,807,1114,1124,1132,940,946,896,1494,1518,1238,920,664,544,511,485,642,1056,1470,1304,1148,973,1132,1092,1354,1066,775,696,888,1118,1118,1156,1674,1584,1206,1350,1596,1228,963,767,844,931,1294,1674,1804,1334,925,647,675,547,811,983,844,609,895,1054,1082,987,651,566,468,689,1130,965,743,709,796,761,984,1172,1170,899,879,1048,1272,1274,1138,1226,1436,1326,1072,694,511,490,468,454,452,610,946,1020,668,690,959,697,943,968,481,291,569,966,949,651,461,414,487,711,910,1144,1268,1334,1656,1344,1282,1538,1768,2098,1682,1150,955,402,644,590,354,381,875,1572,1532,968,1018,1198,1432,1582,1366,1312,1122,1210,1224,1094,709,608,689,646,636,649,719,772,1005,1306,1434,1288,1374,1058,1166,1302,1186,1030,997,838,685,955,1392,1410,1392,1384,1430,1268,699,514,400,539,886,1070,1023,1122,1426,1464,1176,1052,963,1122,1122,1350,1128,784,933,1450,1582,1154,1154,1174,1042,856,798,854,1094,899,1308,1386,1126,1140,1108,1056,1346,1424,1184,1070,1156,1280,1164,1314,1246,1150,1310,1350,1390,1584,1470,1294,1428,1524,1556,957,771,771,628,503,610,760,677,515,623,703,660,512,622,1084,758,797,1312,1374,926,616,777,913,776,1126,1250,1028,1178,1250,1416,1636,1120,836,1230,1400,1378,1446,1450,1268,743,571,425,772,1284,946,1542,1836,1874,1404,960,1044,1224,1066,1048,765,486,653,915,1142,1310,1054,877,1242,1346,1040,898,1094,1422,1102,1228,1314,1330,1356,1226,1480,1438,1454,1262,913,794,1038,1282,1162,1650,1550,1180,1220,1296,1302,1162,1196,978,1094,1504,1380,1144,1236,1296,1412,1604,1450,1450,1460,1218,1274,1136,925,1068,1122,1094,960,642,860,957,1176,855,504,504,802,855,510,362,474,370,346,299,499,554,495,516,580,630,616,586,581,502,596,1134,1072,715,781,919,1116,982,1130,969,954,1009,769,896,1140,894,1040,1306,996,656,667,991,989,886,925,1088,1108,1126,1134,1104,1388,1488,1344,959,733,834,1008,807,788,989,835,697,877,1216,974,836,922,1090,1156,870,1017,1228,1013,727,498,696,1136,1142,1410,1068,584,502,676,794,943,849,667,1040,1212,880,604,736,869,707,537,508,481,516,816,1134,1288,1000,904,1028,1084,1304,1192,1228,905,734,930,692,766,1136,1592,1290,891,836,907,1140,1040,1226,1116,1034,1318,1216,1208,1108,705,419,570,979,1192,1276,1022,940,1009,757,568,626,1092,1328,1290,1296,1298,1368,1250,1152,1266,1394,1154,825,912,1102,1296,1082,1126,1178,1094,1126,873,852,1122,1176,1236,1284,1158,1154,1202,1194,1028,949,858,516,391,395,385,442,557,681,752,808,938,959,878,838,845,769,763,789,957,1196,700,481,440,652,642,586,614,566,532,525,549,560,485,456,529,788,457,367,483,1330,1806,1772,1654,1190,539,432,491,506,448,378,354,371,386,401,442,445,447,499,625,832,1050,975,963,943,749,637,446,430,407,425,643,677,540,540,905,1322,1470,1560,1284,796,789,800,883,1252,1412,1306,811,826,982,903,1288,1356,1094,927,1094,1330,1362,1326,1456,1592,1426,1176,1368,1516,1262,1432,1522,1310,1106,1524,1588,1426,1394,1404,1554,1478,1112,1202,1346,1556,1448,1190,1336,1392,1418,1444,1266,1312,1344,1218,1072,1078,1328,1356,784,777,1054,1138,796,597,829,1370,1410,1502,1744,1486,1096,1288,1296,1462,1636,1716,1848,1526,992,953,1252,1456,1300,1070,1148,1304,1484,1290,1130,1312,1310,929,1092,1416,1166,1130,1046,868,953,700,683,845,484,329,312,351,661,832,966,878,780,943,1286,1508,1620,1274,1184,1296,1494,1316,1054,727,838,878,671,654,1015,1306,969,662,924,984,1068,609,484,529,1032,1840,1756,1202,739,749,679,704,964,1072,792,511,943,1306,756,930,1298,1194,1062,847,918,1015,474,511,1204,1212,1052,1180,1176,1066,1202,1216,1364,1516,1396,1378,1310,1082,981,1054,1188,1054,840,877,1028,1044,955,1134,1058,910,875,664,976,1164,1164,1218,1226,1316,1350,1318,1194,719,584,684,610,558,827,1240,1148,1318,1842,1738,1426,1212,1092,1146,1268,1220,1092,1010,1174,1364,1262,1208,1372,1412,1350,1360,1408,1304,1182,1094,1142,1172,1012,1066,1132,1098,1132,1332,1264,1056,1160,957,680,638,576,721,993,1036,935,1234,1446,1290,1204,1326,1290,1202,1056,1032,1328,1206,875,818,1118,1015,686,634,1002,1330,1450,1434,1354,1007,961,1098,1116,1302,1130,992,887,988,1082,1314,1328,973,991,1284,1112,1240,1106,955,766,694,669,618,657,746,771,1010,1328,720,534,728,937,704,1058,1186,1368,1316,1936,2158,1152,705,728,1208,1210,932,529,584,1198,1664,1372,905,659,564,661,779,744,843,926,983,666,632,760,1034,1256,1128,952,891,626,427,565,835,871,608,948,1106,664,498,410,774,935,484,302,332,633,919,670,1021,1410,1304,1070,1142,1580,1554,1174,1118,1013,691,475,425,514,785,1166,990,891,1200,1190,1028,990,751,996,1240,1080,750,887,1120,902,536,302,249,305,557,528,648,1100,1036,943,1256,1062,1080,1018,807,783,924,1030,926,651,933,1076,1017,1324,1318,1080,1070,1248,1330,1246,1410,995,1140,1352,1124,1084,1230,1216,1194,1162,1116,1252,706,675,894,800,1044,1172,1094,1028,987,879,451,385,749,1206,1288,1180,1238,895,811,875,759,526,904,1544,1506,1058,1168,1420,1314,1324,741,766,776,565,523,801,1166,868,444,366,555,612,412,818,807,488,415,396,319,359,716,1196,1094,919,611,781,742,1072,931,918,1130,979,813,770,824,954,1048,964,477,427,647,540,445,425,675,1126,1086,616,495,704,761,551,678,600,680,738,720,766,807,799,926,1086,1104,1284,1284,1070,1440,1590,1402,1532,1550,1440,1506,1758,1718,1572,1648,1760,1892,1794,1950,1866,1218,807,533,409,752,1406,1526,1060,1084,1062,814,739,1182,1174,1034,1328,1274,1142,1118,912,823,735,624,872,1616,1804,1782,1672,1704,1564,1488,1402,1234,1092,953,1142,1288,1020,859,747,971,908,919,1142,814,743,1084,1530,1352,1510,2016,1700,1578,1538,1898,1998,2040,1812,1980,2240,2490,2596,2806,2778,1946,1552,1246,1242,1064,1310,1246,1092,1118,1110,1080,1280,1208,1048,1024,1048,1186,1368,1294,1220,1218,941,957,1100,1290,1364,1322,1312,1252,1280,1354,1262,1318,1278,1202,1294,1624,1498,1262,1366,1430,1136,733,421,431,389,451,434,460,397,583,951,1072,839,545,689,872,819,650,870,977,1164,1100,662,550,466,492,980,1296,1258,1092,1094,1150,993,1060,952,822,771,971,903,735,904,1348,1398,1120,1148,905,623,785,1021,938,751,719,563,600,966,1798,2004,1400,1218,750,911,944,869,852,775,1170,905,541,1500,1860,1318,1338,1410,1092,613,471,357,279,255,281,285,288,269,256,293,347,308,286,287,281,432,1010,1368,1106,1001,1194,1474,1476,1482,992,486,607,1072,1248,988,969,1384,1248,988,849,714,730,1258,1498,790,343,400,727,1344,1210,1230,1546,1478,1324,834,451,352,534,948,1004,980,969,1017,900,1015,1426,997,879,943,745,719,702,727,1080,1296,1088,1262,1104,954,1040,1360,1096,1166,1426,1356,1282,1212,1482,1538,1426,1422,1170,1078,802,607,1138,1556,1350,1126,858,841,858,1120,1520,1404,1118,1174,1042,1272,1022,850,1204,1498,1400,1340,1252,1346,1664,1490,1256,1152,738,825,932,1172,1230,1332,1288,1308,1282,1252,1288,1326,1456,1492,1522,1698,1606,1722,1498,1412,1540,1460,1426,1556,1578,1452,1262,1440,1780,1570,1766,1290,1212,1406,1378,1194,1322,1506,1440,1088,1202,1542,1432,1210,1052,1306,1622,1456,1352,1422,1302,928,624,400,517,957,944,1060,1274,1052,811,919,970,634,575,617,689,863,928,785,675,648,924,1314,890,1068,1098,711,463,456,481,418,430,655,1306,1644,1216,1146,1352,1132,1204,1384,1554,1442,985,750,728,726,935,1090,1170,1206,1346,1224,1066,742,377,243,259,322,355,408,463,1012,1488,1122,1094,863,875,1026,902,563,397,406,290,251,311,342,364,292,380,538,660,466,562,789,1246,1498,908,390,432,434,314,404,432,713,1172,1168,885,943,931,879,1052,686,772,1210,944,609,335,275,386,372,338,456,704,694,950],[781,829,999,678,460,776,908,717,663,1010,965,835,916,1208,1220,1082,504,462,613,951,1208,1114,1084,1023,983,675,816,838,727,681,896,554,425,366,303,288,334,353,511,931,1092,821,699,1330,1516,1108,977,1044,1496,1312,1144,1290,1066,1152,1142,1158,1172,1152,1282,1254,980,685,763,709,830,1168,1204,1162,1334,1384,1202,1082,1220,1310,1424,1368,1294,1296,1262,1106,875,742,767,1142,1650,1702,1648,1682,1628,1562,1082,664,866,1200,1472,1144,536,540,876,945,969,1098,1148,1104,1046,932,838,750,641,744,592,747,604,386,330,316,387,346,261,318,419,528,631,776,932,1004,987,926,883,710,738,803,1316,1618,1140,659,563,481,691,973,910,1396,1818,1034,925,999,963,1176,1238,922,843,902,1152,1264,1142,1142,1294,1136,1402,1730,1764,1640,1512,1420,1618,1664,1656,1882,1916,1416,1218,1005,749,994,1190,924,725,671,1058,1184,919,735,782,620,805,745,1068,879,599,533,745,775,844,1136,1230,1152,1180,1088,1266,1292,1330,1276,1584,1326,1252,846,491,504,541,691,924,1084,1182,1480,1120,645,464,625,826,714,472,451,576,652,716,729,670,696,954,1360,1346,1346,1442,1552,1566,1576,1838,1942,2018,1992,1914,1726,1316,625,717,1022,771,571,491,976,1084,761,954,1428,1576,1434,1626,1028,843,1176,1118,991,681,523,432,564,870,1116,818,446,437,814,1164,1514,1336,1142,1104,1202,1274,1086,1130,1684,1562,1154,1316,1356,1166,1210,1132,760,467,438,440,524,871,1134,1108,1400,1288,807,1094,1198,973,952,917,1254,1380,1198,1296,1606,1386,1192,1232,779,439,421,452,508,483,703,1114,1334,1250,985,1122,1316,1302,1096,824,1208,1366,1504,1390,1380,1246,1134,1536,1656,1490,1460,1394,1338,1446,1382,1282,879,1010,1024,807,727,610,881,1164,883,1108,874,547,456,690,590,590,761,817,984,1012,797,880,639,488,839,1042,1322,1284,1386,1504,1694,1396,1304,1610,1408,1274,1406,1598,977,481,545,1009,1282,1244,1324,1648,1582,1362,1166,962,996,1158,1180,891,612,680,1158,1434,1448,1486,1030,780,900,861,1064,1318,1488,1184,909,1186,1256,1312,1410,1588,1586,1376,1372,1262,1108,1070,1246,1368,1336,1216,1220,1254,1256,1194,1152,1340,1466,1232,1180,1520,1266,842,1204,1130,1340,1572,1372,1142,1106,1172,1064,808,747,928,981,968,1023,832,800,910,1054,918,638,568,861,978,739,381,400,359,374,327,503,612,561,551,567,599,607,552,541,561,597,571,507,947,1076,1598,1522,1202,1178,886,792,1082,1200,1094,1108,816,720,967,1124,1160,1138,1048,1042,976,1028,1086,980,1232,976,966,1158,1266,1400,1554,1210,838,752,739,762,1086,960,749,966,977,969,997,774,651,675,801,1130,1224,938,927,775,966,1332,1368,1232,967,652,557,685,580,553,572,728,1154,1206,1118,1036,1013,862,542,428,715,656,721,1084,1810,2190,1344,988,1112,1198,1320,1162,1112,1094,1060,937,578,466,962,1556,1380,1086,957,926,1202,1070,1226,1124,1068,1412,1282,1268,1312,857,535,807,959,951,1152,1088,979,1178,663,489,630,676,713,1004,1262,1478,1446,1366,1264,1558,1592,1354,1072,852,1152,1454,1268,1182,956,811,932,678,628,946,1256,1232,1068,1048,1038,948,924,863,849,861,523,444,416,368,485,566,682,744,818,955,1032,1048,1005,842,655,596,502,749,1150,952,560,516,675,611,623,744,832,662,585,601,682,507,471,635,859,499,338,517,1302,1798,1632,1510,1142,446,466,600,573,461,383,363,369,379,418,447,441,494,658,694,687,901,998,1318,1104,830,710,563,510,454,424,437,514,710,740,673,742,1418,1338,818,518,757,943,1026,1240,1358,937,471,616,929,1044,1384,1242,755,841,1068,1084,1092,1142,1176,1400,1460,998,805,924,1044,1632,1570,1556,1390,1500,1648,1692,1572,1466,1530,1478,1262,1242,1344,1470,1314,1166,1302,1558,1662,1254,1156,1278,1236,1240,1074,1236,1116,1252,1582,1386,1212,1188,753,586,963,1294,1278,1262,1310,1082,812,1030,1011,851,1192,1506,1640,1698,1524,1224,1162,1238,1284,1386,1578,1444,1428,1188,1552,1428,1520,1372,1222,1350,1432,1272,1048,1080,860,557,576,540,404,292,312,573,635,625,806,830,858,845,1062,1130,1246,939,938,1136,1480,1192,891,746,849,776,792,670,797,940,1002,837,763,752,992,732,446,406,792,1194,1664,1504,775,825,851,1086,1168,1004,867,624,558,604,918,1554,1562,1292,1290,855,645,742,661,617,1066,1236,1148,1402,1418,1210,1312,1366,1568,1378,973,933,899,761,985,1118,1218,1176,1074,1142,1158,805,444,708,807,753,804,805,1092,1026,1170,1358,1390,1250,666,807,993,725,738,618,513,629,1080,1078,1092,1720,2014,1544,1328,1038,756,771,1108,1222,1112,946,930,979,1132,1202,1156,1132,1252,1310,1274,1138,1194,1358,1338,1296,1218,1086,984,1046,1092,1290,1344,1158,1072,1134,828,944,1216,887,862,988,929,1094,1354,1378,996,1200,1304,1288,1156,1226,1384,1074,834,947,1098,1224,1310,1114,1140,1194,1262,1440,1222,929,1013,990,1138,1136,976,931,925,841,1008,1746,1114,690,682,765,775,608,505,614,611,554,600,739,771,818,819,905,893,600,460,533,758,690,745,921,859,946,1488,1588,983,672,543,1148,1080,1058,700,647,875,1114,1060,646,561,714,479,439,488,531,830,1156,725,675,999,1220,1202,1001,1092,1056,644,733,777,1140,1282,798,645,813,782,641,533,707,599,365,331,303,657,1430,1308,939,976,1318,1430,1446,1198,851,1032,1082,520,454,395,452,1010,1364,1270,896,1158,1694,1568,1294,856,793,1158,1036,559,636,1116,1144,907,554,332,271,516,754,545,780,1016,680,466,667,836,1090,1196,863,996,1132,1262,1152,1042,1616,1422,1050,1390,1042,855,1146,1880,1166,501,639,774,1400,1676,1152,1200,1182,1150,949,939,786,817,769,733,703,668,979,1244,1244,1224,966,1128,799,759,788,1158,1246,988,760,436,379,541,787,1122,879,825,904,752,996,1372,1212,1032,663,469,426,536,506,457,472,406,336,357,328,312,357,632,572,417,395,390,356,449,847,956,614,484,839,816,813,1026,827,1104,1382,921,542,611,756,739,529,569,378,518,623,647,793,709,645,999,986,525,441,388,427,691,848,929,1023,766,816,990,952,869,1046,1180,1340,1322,1350,960,1160,1654,1640,1226,1438,2020,2092,1870,1688,1600,1718,1998,1860,1710,1740,1620,1058,539,419,398,485,900,1084,540,433,468,444,470,505,626,648,714,1186,1766,1570,1234,1180,821,607,664,1252,1666,1734,1628,1606,1632,1728,1690,1582,1396,1298,1256,1088,1056,816,796,927,767,872,945,784,712,913,1124,943,1324,2008,1812,1236,1438,1638,1794,2014,1742,1356,1464,1734,1968,2302,2078,1706,1500,1358,1302,1302,1294,1284,1290,1236,1220,1306,1368,1392,1272,1086,1114,1180,1362,1274,1152,1078,943,1208,1370,1244,1106,1340,1590,1462,1350,1340,1298,1350,1220,1162,1278,1590,1392,1278,1494,1382,1250,1262,462,449,404,390,416,416,336,447,607,807,954,1072,1176,810,693,631,750,585,625,593,636,542,445,395,657,1186,1418,1428,1386,1104,833,1028,1024,645,707,861,755,763,1094,1346,1252,1172,1262,763,468,780,1258,1048,905,945,753,866,1554,2280,1874,1294,1160,521,601,855,1156,1021,933,1472,1120,584,1204,1376,987,1224,1190,987,755,844,653,416,300,301,338,319,315,291,325,351,294,288,281,311,468,730,968,873,783,1246,1456,1502,1598,1013,520,437,650,1106,1310,1218,1676,1308,759,612,672,785,1094,1003,622,389,364,581,1040,822,1040,1460,1560,1248,1020,813,651,900,1118,995,932,669,672,742,992,1300,1328,1228,1198,1114,1056,1044,906,717,628,1005,1256,968,706,686,611,741,1194,942,805,1358,1372,1234,1272,1700,1488,1180,1010,856,532,484,700,624,662,714,744,552,535,1170,1672,1214,1208,1042,1188,1296,1296,1614,1482,1018,996,971,1234,1468,1184,1038,1108,1044,1130,1494,1614,1594,1616,1454,1088,766,867,1470,1594,1470,1152,1368,1498,1360,1490,1300,1332,1348,1172,1282,1610,1680,1484,1054,1144,1334,1762,1846,1354,1400,1440,1322,1406,1412,1452,1542,1370,1048,1210,1114,1272,1426,1970,1778,1202,1182,1356,1260,665,412,378,426,849,897,960,1024,986,1011,1060,875,613,799,851,600,620,599,619,486,607,824,781,750,998,1190,1026,724,724,926,849,716,770,1000,994,645,936,1294,917,551,790,864,669,631,562,487,750,1066,1112,1352,1102,991,896,788,518,369,328,377,396,307,383,435,611,1130,1160,1072,998,1054,1350,1072,602,543,443,391,306,312,333,407,377,439,611,581,530,603,1068,1302,879,731,405,384,415,386,477,498,551,853,858,561,634,646,572,1078,643,777,1600,1800,941,356,357,315,391,716,1072,980,912,1352],[609,626,753,722,975,1050,869,665,566,732,916,816,658,787,924,789,686,706,644,1013,1234,1194,1236,1316,1416,1124,977,836,1152,947,631,387,363,375,346,314,308,361,559,832,715,495,748,1522,1426,1260,1322,1048,1152,1252,1208,1260,1194,1316,1066,1142,1046,1068,1400,1364,853,501,375,402,688,848,801,901,1208,1378,1136,1326,1298,1274,1162,1056,1274,1360,1194,1094,922,833,685,1244,1584,1756,1802,1378,1216,1404,1368,1224,1122,1138,1288,881,519,650,1018,1015,975,827,689,1034,1472,1318,1208,1216,851,959,558,706,509,357,342,334,380,328,305,321,477,780,804,664,848,796,826,1042,1180,1068,744,678,1270,1548,1068,880,695,579,992,1374,1066,1406,1606,931,971,1082,963,1244,1396,1378,895,934,1020,1080,1158,1314,1374,1494,1616,1328,916,1046,1086,1318,1426,1346,1422,1558,1620,1720,1608,1324,1106,1140,1028,904,711,908,1290,1040,466,694,1196,974,1050,957,1334,896,645,932,911,680,687,1218,1360,1040,1058,1108,1288,1464,1408,1240,1388,1100,993,794,513,578,821,1212,1592,1304,1050,1530,1126,769,746,872,982,982,1000,1108,1184,1302,1188,1052,1036,1214,1334,1428,1228,1418,1584,1392,1152,1084,1206,1816,1918,1382,1300,1558,1866,1346,718,735,664,500,395,545,781,839,1142,1902,1460,1096,1316,1306,1104,1056,950,698,479,408,442,533,582,883,766,541,478,442,429,644,1238,1484,1392,1590,1648,1490,1236,1626,1180,1122,1244,1174,1238,1182,1015,912,836,687,509,605,1072,1280,1272,1294,1104,681,707,814,868,835,639,911,1340,1368,1030,1090,976,1200,1094,577,377,377,752,933,519,542,937,1322,1174,1086,1278,1446,1318,1048,822,1218,1516,1592,1612,1516,1340,1350,1398,1304,1444,1274,1332,1262,1358,1370,1192,1170,1310,1108,956,1044,739,1116,1228,983,1108,974,562,381,443,433,778,886,518,608,1000,1058,830,443,494,670,856,1142,1362,1296,1314,1724,1516,1236,1144,1238,1508,1346,1116,589,724,1198,1560,1754,1594,1446,1438,1572,1378,1218,1082,1001,994,1134,1346,1334,1242,1436,1364,1234,1310,1082,896,751,1112,1350,1548,1626,1188,1004,1338,1534,1484,1572,1594,1550,1446,1294,1268,1244,1344,1242,1316,1124,814,1134,1396,1206,1308,1434,1396,1344,1286,1062,1314,1124,825,1007,1058,1156,1478,1294,739,766,995,1002,961,666,773,992,991,1150,990,840,921,1015,996,629,426,697,865,689,437,475,395,323,287,371,456,495,583,583,571,562,538,543,533,860,711,756,991,1140,1118,779,949,1140,694,776,1168,1282,1050,1026,1042,852,971,995,1164,1322,1108,946,944,1242,1098,1242,1330,1330,1054,1152,1390,1526,1496,1368,1286,1060,724,678,936,891,991,810,631,877,1066,1162,791,459,635,1013,1266,1076,1280,1017,965,985,1104,1198,1078,1130,1216,1162,1092,875,580,974,1574,1588,1162,1166,1010,621,526,730,919,719,752,1030,1352,1760,1236,952,923,854,928,933,1106,1334,1406,1080,581,356,560,1158,1276,1042,743,600,939,1076,1290,1134,1088,1360,1284,1170,1174,824,772,821,744,599,524,850,1160,902,439,558,961,983,801,1136,1228,1088,1316,1432,1358,1604,1468,1316,1230,1062,1176,1236,1354,1056,752,647,618,711,915,1238,1294,1194,1130,971,919,1122,995,644,735,1110,927,668,477,377,500,678,808,877,908,969,1048,1050,934,751,543,452,496,643,849,745,487,523,531,281,333,683,827,433,446,761,778,578,550,845,844,454,339,616,1368,1594,1400,1486,960,436,442,565,515,444,393,365,359,383,398,405,418,483,673,822,886,932,1238,1236,802,682,695,636,622,542,454,437,548,960,1314,1202,1362,1616,1110,598,505,444,476,662,858,802,568,501,756,1100,1274,1350,1216,888,918,962,885,1032,1126,932,1003,1246,1064,1003,1011,1136,1304,1560,1614,1526,1364,1372,1646,1614,1660,1516,1332,1188,1146,1288,1444,1344,1336,1306,1572,1504,1160,1232,1350,1346,1158,1166,1180,688,542,926,1280,1612,1318,724,729,838,807,959,1142,1256,1240,953,794,969,952,1288,1474,1498,1556,1454,1492,1522,1428,1430,1474,1378,1454,1260,1310,1254,1136,1276,1312,1318,1248,1344,1294,1128,1134,581,625,622,610,447,322,478,683,626,778,999,792,830,877,825,787,942,1256,1032,835,1062,1248,1166,898,915,615,523,696,916,821,949,983,1212,1090,1218,1338,1072,771,548,423,495,366,363,519,653,695,910,876,822,792,749,718,1116,1644,1202,955,1130,915,709,778,1138,1310,1334,1330,1412,1504,1398,1266,1368,1548,1548,1362,1164,1088,720,440,777,1070,1178,1182,1376,1212,1126,840,744,1222,1164,785,731,957,1072,1016,1186,1038,1142,1170,1164,933,729,719,728,595,549,786,860,1016,1438,1314,1202,1156,1130,791,766,913,1086,1060,985,1118,976,890,1188,1102,1294,1374,1390,1284,1230,1136,1370,1494,1332,1202,1258,1062,732,666,686,1044,1362,1104,977,1194,738,837,1186,1168,1126,999,962,1068,1048,1468,1240,1508,2064,1610,1286,1278,1350,1130,1062,1198,1212,1190,1270,1182,1318,1146,1070,1092,912,975,1060,974,992,1102,1158,1146,1422,969,804,1220,849,738,792,759,656,563,534,516,503,457,481,601,551,569,610,813,600,325,339,526,739,585,439,508,525,687,1010,949,680,542,501,858,1150,1228,914,684,692,744,721,324,347,404,298,318,381,443,722,1266,988,717,911,921,1324,1456,1306,1021,1094,1288,1030,731,569,435,372,572,882,970,897,1310,1086,521,394,496,618,1194,1552,1120,796,1088,1440,1458,767,423,548,623,665,879,737,608,940,1190,1064,1294,1812,1630,1188,951,788,734,1070,891,456,952,1204,1150,899,551,424,393,764,863,922,753,586,389,345,379,606,826,775,865,1114,989,779,841,1356,1954,1616,1788,2222,1368,932,1278,1502,914,454,633,963,1440,1848,1342,1482,1074,799,809,914,683,567,1038,1062,784,884,1028,790,779,1168,1212,1216,1450,1590,1046,811,777,800,719,366,497,717,1078,1638,918,521,426,415,407,444,597,669,512,496,548,722,580,408,419,502,656,769,501,366,299,325,410,497,489,410,317,402,669,569,756,654,614,800,1100,1250,1260,1506,1184,727,514,497,653,564,377,353,471,706,867,871,755,715,544,683,911,780,675,534,558,987,1226,1782,1654,857,799,1013,977,1266,1438,1394,1286,1360,1420,1104,1194,1632,1288,883,1756,2304,2136,1708,1694,1632,1898,2166,2148,1760,1112,830,600,451,407,376,426,571,944,822,798,828,852,914,797,695,683,604,1042,1830,1648,1410,1154,850,612,564,1009,1454,1576,1532,1548,1508,1334,1164,1158,1208,1184,1172,995,850,834,957,1036,846,777,908,830,720,934,981,1088,1662,2476,2060,1406,1468,1478,1532,1504,1226,1014,1052,1282,1554,1534,1392,1600,1510,1564,1426,1284,1326,1386,1372,1176,1108,1218,1272,1420,1512,1378,1452,1354,1614,1284,988,1082,1082,1194,1344,1306,1214,1296,1450,1378,1264,1174,1138,1240,1360,1252,1364,1406,1368,1224,1168,1138,1194,976,432,398,420,387,390,362,339,614,946,868,854,1282,1334,1096,783,544,796,1152,946,838,822,509,558,521,738,1028,708,849,1272,883,495,641,877,789,840,920,976,1062,1266,1276,1114,1066,999,749,713,1058,1206,1098,938,951,898,1216,2090,2556,1620,1328,955,1007,873,969,1294,1256,1050,915,778,503,716,1064,1230,963,816,923,689,818,1019,622,269,282,286,319,383,361,325,307,278,275,266,275,509,647,742,805,860,1174,1556,1556,1230,1034,719,469,670,1184,1434,1400,1284,992,805,813,853,844,733,883,910,736,749,799,901,886,1026,1444,1636,1448,1164,1070,1570,1398,1172,1009,1070,1056,1000,1068,1136,1200,1312,1356,1288,1234,1328,1338,1102,1116,1438,1786,1456,1086,749,552,318,618,1252,1046,835,1246,1366,1240,1336,1410,1172,1114,1140,1092,678,401,409,497,601,666,629,461,528,759,1060,937,1132,1126,1062,995,1156,1636,1566,1022,1040,1126,1158,1384,1484,1638,1776,1752,1532,1388,1454,1340,1096,1124,1016,733,769,1368,1254,1132,1534,1952,1566,1378,1294,1144,1144,1284,1232,1176,1256,1538,1484,1208,1314,1584,1466,1310,1228,1200,1200,1092,1021,1118,1362,1416,1210,1228,1356,1646,2172,2200,2046,1816,1462,1056,868,1166,975,474,406,383,731,926,825,719,905,990,925,932,729,647,454,403,380,314,402,440,419,579,717,600,615,880,778,838,980,1018,864,1104,1276,785,399,362,420,480,608,720,893,825,717,984,698,416,485,929,1340,1520,1102,709,901,786,568,444,361,368,452,402,431,565,747,1140,1408,1516,1262,1158,1428,1084,742,786,555,397,280,310,382,462,491,630,827,726,678,653,1030,943,590,577,403,442,525,631,760,569,383,511,568,430,357,450,382,544,596,745,1156,1360,921,479,473,390,619,967,1220,941,1070,1208],[625,733,633,696,1096,1110,863,670,523,792,1013,843,661,640,630,610,767,864,658,511,627,975,1158,1238,1410,1438,1136,1036,1174,841,404,469,830,810,371,306,284,383,797,980,931,682,914,1498,1456,1384,1226,941,979,1296,1532,1604,1506,1344,1264,1122,1172,1036,1122,1174,1058,742,504,538,850,658,642,761,921,1092,1164,1178,957,965,930,915,1296,1462,1332,1218,1120,778,949,1388,1598,1904,1748,1324,1148,1058,1188,1274,1500,1506,1336,880,604,1058,1076,1000,1124,1112,1056,1200,1238,1226,1388,1614,1194,1023,615,856,626,393,350,379,430,403,364,380,535,914,993,673,754,919,977,986,791,667,572,741,1422,1502,1494,1342,948,857,998,1158,1256,1732,1526,947,893,901,1068,1290,1706,1834,938,807,1102,1036,1021,1344,1552,1644,1330,902,1214,1482,1218,1566,1610,1144,803,767,1116,1424,1482,1378,1402,1404,1390,1142,773,742,1172,1072,466,532,735,1202,1150,1166,1216,738,948,1122,631,703,932,1318,1656,1472,1402,1388,1260,1388,1436,1602,1542,1122,865,605,475,549,980,1354,1172,1028,1288,1698,1526,1438,1348,1174,1082,1176,1310,1376,1176,1034,742,744,1068,1282,1388,1488,1308,1150,1042,1212,1274,1078,921,1724,1446,1266,1156,1372,1410,1722,1668,1358,803,653,676,562,555,753,846,1332,1070,1168,1272,1448,1294,1250,1358,1196,682,469,634,621,416,448,617,579,493,436,339,412,675,789,936,1282,1648,1666,1460,1490,1498,1414,1484,1408,1308,1152,1160,1216,1152,951,832,998,1172,951,741,1094,1044,872,838,517,504,630,694,888,1198,1368,932,1001,1130,904,638,418,496,451,650,658,575,924,1110,1256,1032,1024,1288,1280,1142,972,1060,1394,1534,1582,1648,1302,1040,1222,1394,1588,1360,1312,1418,1260,1332,1276,1150,1206,1072,922,915,1262,882,921,932,1268,1522,1172,567,343,372,491,882,956,601,702,1048,1248,791,653,1052,838,1076,1244,864,990,1232,1528,1548,1262,1118,1356,1556,1406,1074,750,921,1302,1358,1284,1404,1368,1446,2036,1568,1312,1120,819,977,1048,1226,1260,1488,1624,1316,1096,1180,843,1066,683,880,1168,1600,1358,1288,1260,1208,1104,1114,1350,1400,1418,1236,1288,1164,1254,1252,1194,1452,1292,941,1084,1332,1310,1530,1462,1312,1362,1346,1134,1052,1042,952,1020,1146,1090,1404,1484,1220,818,725,988,1013,805,744,838,741,672,645,767,958,1136,971,481,484,1076,1052,526,400,444,347,290,281,321,429,517,582,585,568,534,534,550,560,1017,1114,1058,1088,1184,961,681,847,1404,879,1296,1056,976,991,1268,1054,779,999,1126,1124,1156,1278,1200,1328,1216,1120,1434,1276,1554,1238,1026,1118,1008,1074,1276,1488,1418,1410,1224,921,615,846,766,658,719,807,802,587,620,701,1116,1338,1294,1376,1190,929,782,943,995,991,1120,1021,1001,1084,1001,735,1180,1798,1940,1758,1678,1476,1118,964,1080,1056,722,553,897,1094,1024,1007,991,661,725,772,797,1038,980,963,1064,710,431,423,797,1116,838,584,647,888,954,1226,1374,1174,1316,1001,910,900,852,1080,875,505,380,395,626,690,485,433,683,889,529,613,997,841,817,1222,1368,1306,1256,1216,1256,1196,1354,1434,1396,1560,1086,865,1042,1054,1096,1056,1186,1088,1020,1158,914,838,1232,929,565,759,985,926,591,426,387,541,814,901,937,943,951,1005,990,877,725,561,484,487,514,523,491,436,484,496,292,344,774,614,334,332,713,590,330,336,750,858,406,346,597,1416,1416,1344,1570,814,370,399,418,377,346,346,354,370,361,397,435,442,469,778,999,1174,1208,1186,845,469,559,823,749,554,491,565,762,702,584,1005,1172,1258,1512,1536,1302,827,613,515,442,530,650,737,645,944,1130,1150,1308,1296,1100,1048,1084,951,1146,1212,1070,969,1200,1206,1106,1194,1144,1236,1544,1334,1134,1164,1220,1234,1094,974,982,1240,1266,1050,1274,1284,1366,1556,1360,1436,1240,1164,987,1064,1180,1009,1260,908,445,373,369,922,1754,1438,701,770,894,1050,1368,1124,1166,1190,725,507,830,1144,1282,1394,1540,1384,1390,1388,1516,1612,1676,1596,1474,1318,1116,1272,1198,1028,892,1001,1178,1304,1306,1170,1208,969,706,727,529,416,361,497,849,822,745,1096,1366,1292,1240,1138,1052,987,975,1348,1118,565,547,882,1248,1078,937,689,579,644,784,665,572,810,1012,901,827,1124,1374,1316,781,800,628,420,518,516,447,368,442,736,821,530,677,716,764,725,520,647,806,973,951,1082,1312,1318,1158,1166,1454,1528,1196,1190,1300,1526,1538,1378,1004,820,619,621,948,686,880,1202,1312,1072,998,845,730,904,1076,1216,933,964,999,1080,847,563,885,1980,1858,1262,839,1015,1140,741,709,833,757,960,1126,744,908,954,1216,1104,1150,1104,947,915,1021,1208,1182,908,922,1104,1262,1188,1386,1322,1052,853,857,1054,1102,1017,1046,936,696,719,803,1005,1092,830,887,1206,995,459,595,1218,1296,1028,929,1038,925,1560,1616,1654,1646,1422,1418,1522,1288,907,922,1186,1662,1534,1330,1082,1204,1218,1076,933,996,1210,1504,1588,1350,1236,1202,1288,1248,832,824,810,899,1156,1154,818,598,573,555,561,574,489,489,571,478,409,506,672,526,457,498,592,654,579,596,490,488,832,1266,871,448,400,460,1048,1572,1074,776,982,801,393,309,275,319,310,328,466,558,484,505,925,1096,1001,1054,1004,1628,1832,1284,1044,1348,1426,1232,714,422,438,379,437,602,800,1080,1738,1648,805,513,662,771,1004,991,991,1240,1120,1310,1316,1005,610,595,1108,1482,1192,884,694,644,689,927,1266,1332,1128,972,520,863,1104,965,810,589,940,1216,1078,879,763,596,720,968,1294,1038,600,349,308,336,566,1076,1017,678,913,1282,1194,753,930,1188,1015,813,1132,1334,944,799,1138,1190,641,529,673,1094,1236,1208,1100,1250,1118,1138,1200,1250,930,855,1454,1554,1216,874,884,626,442,836,1116,1122,1476,1342,887,916,996,974,824,426,543,948,1532,1682,775,527,497,404,390,433,725,798,599,687,742,1048,824,491,564,757,888,799,623,455,321,370,509,887,763,522,430,549,767,672,584,434,421,480,661,1009,1236,1400,1232,1180,937,702,659,467,398,433,536,802,1046,1192,1074,603,589,857,1472,1534,1100,912,870,791,1178,1974,1722,745,660,897,830,1482,1598,1376,1336,1456,1490,1250,1246,1622,1338,927,1712,2120,2096,1810,1634,1274,1550,1786,1540,879,410,484,559,447,494,400,402,438,954,991,1064,1196,1182,1202,1013,718,667,556,854,1750,1600,1504,1358,1132,749,543,824,1214,1226,875,796,692,704,717,704,702,689,1162,1208,1172,1094,971,1088,1074,1024,1094,945,874,1068,922,1174,2024,2608,1784,1416,1582,1532,1508,1422,1294,1436,1506,1296,1088,1276,1216,927,766,974,904,1036,1334,1274,1434,1210,1184,1388,1454,1542,1656,1396,1236,1256,1498,1316,1078,1206,1202,1176,1304,1434,1208,1112,1140,1236,1324,1464,1102,1038,1466,1680,1626,1278,1112,888,687,624,924,758,458,372,386,387,387,337,382,740,956,799,555,969,659,531,502,684,1018,1066,698,833,1222,1060,908,747,855,852,467,582,823,700,567,912,872,640,725,909,1098,1256,1230,1090,987,751,791,733,517,733,1230,1368,1272,974,888,1448,2240,2404,1442,1180,909,1022,822,837,880,974,1340,1560,1466,580,494,903,1420,1054,904,847,548,986,1412,666,282,305,318,431,630,744,437,362,332,296,275,219,493,672,659,1002,1078,995,1490,1270,918,967,1180,1216,1136,1388,1508,1228,1036,1224,1274,1114,1024,1066,1240,1410,1286,1204,1262,1038,960,1094,1172,1460,1648,1648,1268,1122,1484,1430,1494,1194,915,1108,1374,1538,1188,1046,1334,1066,941,835,646,704,804,1224,1464,1296,1336,1222,924,686,744,1086,1400,1152,1042,1028,1366,1274,1176,1226,1144,1258,1410,1332,1180,1198,1340,1378,1188,1068,1064,945,822,902,1130,1234,1176,1178,1162,1206,1346,1522,1346,976,808,926,1013,1158,1332,1406,1312,1068,846,985,1372,1346,1076,947,1076,982,602,556,937,1164,1390,1344,1190,1144,1228,1202,1019,1046,987,1256,1200,1478,1372,1132,1126,1140,959,1052,1340,1434,1260,965,848,646,988,2354,2796,2436,1968,1776,2072,1996,1808,1828,1320,844,708,1056,1084,729,526,442,563,662,833,843,1028,1244,866,760,577,479,458,392,345,388,410,455,511,699,951,799,828,817,608,580,601,466,418,956,1188,621,304,365,351,314,502,992,789,559,498,844,700,523,499,857,1180,840,733,1138,1534,726,573,533,419,352,397,355,451,553,677,1015,1152,1152,1212,1208,818,616,987,946,597,431,330,301,366,430,433,548,831,1084,1480,1046,495,370,565,525,400,542,602,642,698,449,381,512,437,350,352,366,346,552,769,852,1070,1192,1130,848,871,736,553,561,819,982,1190,1328],[750,1005,899,861,967,702,768,755,581,860,848,775,796,913,849,577,531,619,532,488,591,1282,1214,1066,1202,1316,1246,1134,851,517,466,560,1007,1038,374,276,305,436,824,970,767,590,1013,1362,1376,1442,1310,1007,1116,1208,1322,1334,1094,1108,1148,1124,1274,1340,1154,976,1344,1060,622,553,622,657,867,686,791,1134,943,613,952,1478,1414,1136,1038,1110,1316,1362,1262,916,1136,1540,1682,1580,1180,902,772,998,1202,1454,1428,1290,1360,1356,1462,1372,1118,908,908,1248,1072,980,1074,1098,1007,1228,1142,1130,1138,870,486,697,932,620,537,488,449,671,835,977,1142,936,783,837,763,769,907,750,545,721,1028,1122,1916,1268,1006,915,859,1222,1672,1764,1532,1290,747,605,668,879,1284,1456,1210,944,1180,1090,962,1328,1786,1324,854,1212,1588,1438,1378,1678,1614,1042,851,907,970,1308,1164,717,916,1230,1418,1486,1350,1238,1464,1076,822,996,1274,1394,1242,1300,1248,1182,1288,1248,1020,1376,1676,1852,1910,1906,1780,1302,1214,1490,1506,1266,1194,1278,1200,612,562,804,1166,1256,1088,1246,1410,1176,1094,1252,1164,1186,1380,1290,1250,1096,1122,1324,832,676,1120,1340,1422,1428,1282,1140,861,1366,1404,1306,1658,1426,1602,1428,1290,1304,1214,1360,1604,1980,2106,1526,971,529,482,727,908,1288,1368,952,932,1234,1278,1390,1628,1730,1304,710,504,543,600,463,509,582,558,484,446,503,697,793,916,1076,1206,1368,1596,1404,1100,1244,1488,1390,1336,1412,1500,1672,1598,1246,1146,1318,1272,1007,1050,1270,1230,1314,1050,435,441,622,883,573,786,1180,1296,1666,1236,638,499,694,878,571,570,583,809,1046,1058,1136,1132,1076,1140,1270,1060,821,1268,1444,1538,1604,1662,1322,844,1042,1326,1504,1278,1296,1302,1344,1388,1126,1208,1382,1598,1298,1036,882,755,543,702,944,1282,1390,858,373,366,550,999,854,570,891,1130,1254,1078,1150,1178,936,1132,1172,952,1482,1436,1454,1456,1294,1432,1168,1026,1070,1220,1224,1162,1130,1294,1520,1654,1350,1172,1346,1416,1360,1236,985,683,745,1034,848,1046,1248,1210,1190,1256,1100,1108,1050,1188,1200,1262,1168,1226,1246,1332,1013,1044,1310,1526,1220,1148,1208,763,987,1266,1446,1618,1396,1166,1214,1338,1370,1396,1224,1310,1414,1360,1226,1068,1342,1172,751,924,1192,1330,1416,1366,931,959,1296,1120,811,868,832,631,558,677,780,1046,1242,1048,516,388,971,868,440,404,445,382,328,319,314,386,472,516,565,582,549,530,529,571,795,1064,1360,1518,1146,1082,1004,985,1116,804,1042,1226,1152,1202,1148,927,933,1222,1202,1136,1082,1306,1334,1284,1026,962,1088,948,946,952,970,966,1023,1204,1450,1394,1856,1786,1522,1098,944,1026,993,944,1036,1098,1044,824,836,832,1290,1174,1248,1542,1544,1302,1082,882,885,1140,1422,1142,1112,893,891,1100,1172,1318,1364,1482,1626,1522,1362,1214,1176,965,645,442,1003,1282,1126,1292,1212,796,960,1022,785,883,870,863,1020,786,616,435,501,692,620,850,1252,1260,1046,1182,1282,1108,1114,761,653,722,944,1120,813,464,419,670,930,582,410,504,839,1084,794,805,1082,1001,969,1234,1426,1250,988,1150,1268,1042,958,898,1280,1346,1290,1172,1130,1180,1226,1182,1378,1380,1192,942,1060,1100,976,849,807,759,940,865,508,410,401,550,897,950,929,948,974,1021,946,834,808,732,603,541,524,535,565,465,531,419,292,331,780,571,314,392,633,466,213,355,761,766,373,354,633,1534,1354,1344,1480,756,368,419,408,430,387,348,361,397,367,346,327,338,554,711,1034,1124,1010,1036,803,486,539,621,552,446,425,644,1009,1060,741,617,601,681,996,1406,1700,1642,1346,829,624,652,719,689,660,844,1009,1204,1388,1280,963,653,865,995,1294,1220,933,1003,1302,1218,977,1126,1108,1190,1454,1262,935,1152,1096,1208,1266,898,573,1007,1520,1572,1448,1234,1186,1246,1038,1352,1110,1042,781,1064,1124,1032,969,630,375,355,452,906,1228,714,515,757,807,1374,1674,1110,780,775,665,494,759,1184,1294,1228,1278,1340,1454,1320,1346,1338,1382,1696,1736,1304,1036,1192,1084,1196,854,1090,1252,1522,1440,1250,1222,861,590,492,377,351,512,786,827,901,1166,1250,1092,1074,1190,1186,1084,1434,1576,825,810,811,459,542,960,854,1134,985,930,1038,854,648,645,614,830,904,673,717,1158,1484,1092,1096,910,630,713,613,377,431,531,742,731,401,525,626,674,650,646,436,647,952,1038,1174,1009,878,786,1021,1390,1598,1408,1290,1394,1454,1456,1426,1172,880,843,929,1162,1116,1168,1202,854,608,745,686,490,477,1094,1476,920,1080,977,1152,901,1000,1720,1708,1290,1322,1134,1196,1140,819,996,1158,1012,1360,1230,722,849,1170,1284,1166,1160,997,958,1158,1050,1146,1262,1078,1212,1410,1334,1226,1318,1284,1023,708,721,866,1106,1096,1046,979,764,939,951,871,832,946,858,837,954,585,527,949,928,572,694,866,781,1354,1692,1436,1280,1300,1424,1622,1242,1112,877,1360,2112,1880,1266,913,1026,1210,1026,860,1034,1384,1596,1496,1582,1466,1344,1282,1440,1140,857,1026,1056,1102,1096,615,543,542,497,475,500,462,484,495,435,343,374,416,408,431,483,581,694,853,901,593,592,866,985,694,429,345,473,830,1032,945,760,1252,841,442,345,314,319,302,269,642,1114,979,637,980,1114,1114,1064,1494,1730,1518,1334,1166,1232,1476,1304,927,758,728,474,485,597,915,1214,1450,1398,1032,735,789,915,789,812,1222,1302,1122,1170,1058,1354,1262,1196,1454,1680,1486,1054,879,796,932,1176,1054,987,1007,608,567,932,1434,1152,1074,1352,1356,1216,879,799,696,713,1010,1054,1630,1568,1208,607,358,380,810,1278,1020,880,1246,1434,1450,917,785,1086,935,523,797,1466,1054,397,577,651,660,910,785,824,1256,1478,1114,1278,1602,1616,1448,1328,761,620,1290,2046,1700,1314,1260,828,686,872,975,1156,1176,868,943,1322,1068,857,619,350,534,847,1742,1548,672,501,415,394,367,466,904,615,547,581,692,972,752,437,712,1044,951,649,706,640,404,383,419,591,546,560,478,574,904,1062,772,422,714,857,796,793,1370,1370,1376,1310,1242,1334,1278,1005,831,796,551,538,630,709,783,668,642,1138,1694,1376,977,1090,1038,808,913,1288,1142,1044,982,816,1354,1672,1320,1418,1536,1322,1488,1376,1336,1600,1692,1316,1494,1714,1572,1372,1152,807,973,1242,1100,654,372,420,713,775,752,448,372,509,1066,1168,1054,1092,1050,1076,990,683,645,537,631,1532,1664,1696,1546,1252,854,564,693,1094,1146,647,697,702,697,697,668,678,814,1124,1288,1494,1428,1022,903,1058,1058,1500,1280,1160,1009,916,1206,1812,1858,1466,1616,1610,1616,1596,1450,1194,1464,1556,1300,1058,940,1106,928,623,705,753,918,1128,1040,1352,1316,1260,1306,1262,1328,1430,1294,1056,1021,1152,1250,1262,1396,1298,1300,1258,1300,1152,1122,1216,1268,1484,1602,1048,1078,1324,1472,1314,1370,1070,656,479,493,717,803,583,446,615,800,590,509,490,618,517,472,538,554,515,536,496,597,775,951,1056,1086,1204,1282,1510,1298,886,504,441,738,1030,829,574,688,871,786,542,533,813,1100,888,845,1038,819,701,939,1042,1130,1488,1322,1372,1220,1116,1360,1914,1432,1106,1050,719,467,432,585,693,879,1222,1294,1484,741,543,811,1354,1092,761,985,1154,1758,1926,612,292,382,524,705,1060,1108,651,436,364,289,382,458,585,858,774,957,683,970,1528,1514,1346,1042,1234,1356,1288,1376,1372,1208,1090,1068,1186,1476,1358,1194,1366,1216,1442,1592,1346,1110,1012,1192,1430,1610,1600,1694,1466,1516,1466,1506,1648,1432,1328,1266,1440,1708,1512,1444,1352,1050,1190,1202,1146,1096,1114,1376,1484,1426,1428,1406,1324,1364,1390,1286,1214,1232,1350,1448,1362,1220,1364,1576,1570,1348,1216,1290,1356,1190,987,1034,1312,1514,1366,1206,1284,1460,1476,1108,871,1282,1306,1132,1022,1222,778,390,460,577,535,477,589,896,1050,1076,1048,1118,1280,1044,525,454,960,1308,877,758,1154,1296,1256,1248,1034,835,1134,1002,853,683,708,974,1162,1514,1384,1036,1058,1056,935,1148,1138,1018,782,1228,1268,607,1184,3538,4720,4628,3566,1760,1870,1918,1686,1286,1116,1110,1090,1252,1056,1072,1064,959,906,740,1116,1152,1126,1406,979,675,521,499,481,673,967,769,477,502,650,684,726,637,1002,847,563,1056,1162,614,279,839,1196,565,369,365,248,311,484,1040,755,539,522,399,414,563,676,742,963,694,1003,988,1102,529,595,735,547,322,332,317,370,454,897,1572,1536,1542,1052,1276,992,702,1024,1072,813,630,387,348,375,320,287,448,587,924,999,813,585,461,476,396,431,572,553,534,465,348,320,532,463,331,361,373,374,698,982,860,659,543,544,1046,1326,1192,921,794,856,698,766,1130],[536,785,801,715,686,723,815,674,440,537,490,536,740,842,720,543,357,383,678,931,835,1062,884,948,1224,1132,1074,1114,700,411,536,503,425,371,477,597,507,409,716,835,754,1076,1176,1152,1418,1584,975,1108,1338,1156,1078,1208,1066,1021,974,891,1248,1494,1034,805,1248,1007,584,444,466,683,917,1032,1086,1130,923,673,860,1224,1344,1042,753,747,1190,1336,1144,1224,1480,1582,1652,1330,862,956,875,946,1196,1478,1276,952,989,1148,1314,1438,1362,1196,1164,1024,708,1036,1354,1442,1552,1240,980,1014,1044,788,579,643,604,483,497,540,579,651,948,1112,1050,969,998,901,703,771,1001,635,670,672,507,1090,1460,1048,1007,1013,995,1204,1490,1284,1054,943,541,449,425,763,1122,1258,1120,1078,1186,1240,1322,1664,1686,778,804,1490,1862,2088,1802,1482,1082,902,1200,1298,1192,1266,1002,937,1108,1244,1328,1230,1366,1658,1364,1132,1208,1256,1328,1060,754,890,744,494,635,1017,1015,1482,1996,2066,1848,1776,1530,1180,1268,1522,1560,1744,1646,1058,872,695,948,1224,1290,1064,705,774,972,904,1026,1030,1274,1324,1284,917,926,1015,1018,871,595,847,1174,1368,1324,1296,917,1204,1194,1428,1516,1692,1832,1756,1750,1252,1172,1108,1130,1406,1400,1444,1714,1884,850,525,716,1226,1472,1444,1606,1336,886,877,1176,1214,1466,1514,1378,951,959,1110,971,624,474,571,645,589,551,630,1006,1200,1180,1090,1042,1324,1656,1576,1534,1500,1222,909,786,1184,1410,1562,1426,1322,1096,1114,1088,1266,1544,1402,1398,1452,963,576,417,778,1172,832,943,1200,1296,1432,947,489,477,678,752,531,535,865,1294,1394,1104,952,1032,1220,1302,1432,1378,949,1412,1322,1466,1412,1586,1450,1268,1456,1512,1520,1440,1356,1284,1262,1374,1300,1474,1426,1160,924,1142,1160,796,736,821,569,799,1170,987,951,845,960,863,540,684,1050,1112,1076,1172,1194,1328,1296,1114,1110,1304,1400,1466,1622,1376,1360,1394,1072,1488,1822,1206,1206,1470,1348,1504,1614,1410,1200,1003,1122,1178,1260,1102,974,989,832,1104,1324,1328,1318,1274,1608,1254,937,1146,1332,1202,1248,1042,901,1268,1418,1138,1316,1198,1250,1574,1324,1208,1114,972,1070,1302,1422,1510,1176,1298,1462,1398,1268,1286,1244,1356,1366,1352,1204,1252,1364,872,503,621,913,908,1226,1330,1168,875,854,973,979,1184,776,558,598,736,711,1124,1336,1044,717,741,1136,1168,719,423,374,382,351,375,377,444,443,488,546,560,546,550,511,519,667,894,1294,1446,1060,1228,1138,921,850,970,1316,1380,1182,1174,1042,1122,1032,1358,1254,1194,967,1200,1122,904,786,858,1034,1028,944,1018,1144,1060,1184,1148,1220,1080,1620,1666,1382,1410,1450,1494,1438,1366,1302,1048,1310,1288,1166,1202,1348,1086,1110,1588,1592,1258,1156,1206,982,985,1130,974,1110,1016,1266,1344,1222,1246,1106,1294,1638,1374,1260,1294,1584,1274,834,709,1044,1128,1138,1190,1032,1036,1234,923,620,631,839,788,636,677,720,539,502,619,703,1066,1424,1344,1300,1196,981,890,775,763,714,882,985,1012,841,633,584,951,1034,565,497,784,959,1120,761,820,1288,1240,1180,1490,1422,1240,999,1214,1294,1070,886,930,1246,1294,1094,1074,948,959,1196,1118,1084,1070,1092,1102,1158,1006,806,927,1064,982,1136,1092,806,432,426,624,902,919,895,910,943,1012,915,824,813,751,704,644,620,521,532,515,622,407,272,421,717,521,273,414,578,374,258,377,896,692,394,347,685,1456,1324,1374,1354,651,437,451,564,557,498,460,401,396,405,453,816,1256,1040,719,904,1064,981,1042,935,603,532,424,383,525,709,964,1112,1248,1166,645,533,511,519,817,1194,1434,1616,1064,743,729,697,722,719,752,989,1438,1316,959,714,552,821,960,1256,1222,945,1019,1310,1124,969,1006,1122,1314,1532,1332,1206,1154,1166,1554,1316,1011,975,1026,1318,1420,1644,1606,1284,830,1046,1484,1722,1344,1082,1266,1256,1246,1082,603,495,382,434,910,987,531,586,662,614,1078,1238,998,609,438,619,835,1026,1144,1390,1170,1212,1420,1364,1238,1350,1372,1510,1572,1902,1660,1372,1126,1005,1174,1064,1258,1536,1616,1316,1268,1352,1154,893,408,336,467,730,705,686,943,1142,1328,1232,1190,1396,1338,1050,1258,1188,544,742,954,768,568,943,1001,1050,1066,1124,1128,688,525,672,958,982,866,806,902,905,1262,1144,914,640,464,597,570,380,338,295,313,534,519,886,800,658,689,537,378,566,786,930,1176,1092,1114,1126,1208,1384,1552,1448,1256,1242,1240,1382,1400,1288,1118,1160,1144,1176,1232,1276,941,606,500,439,506,714,663,964,1012,1036,1152,1202,1214,1396,1708,1844,1280,748,702,1128,1406,1404,1136,949,1070,1322,1484,899,498,689,1064,1156,1202,1346,1338,1198,1310,1038,1176,1146,1126,1412,1490,1324,1208,1146,1312,1314,846,763,915,1236,1040,783,588,687,766,631,405,606,882,755,951,1166,782,493,623,765,495,423,874,951,1054,1468,1456,1526,1506,1314,1120,1614,1866,974,1216,1692,1556,1060,854,1070,1078,586,551,968,1400,1400,1194,1098,1009,1104,1140,1382,1042,633,855,680,375,311,306,485,455,379,375,480,547,500,416,375,310,381,401,419,743,1432,1888,1896,1750,1500,971,933,1102,1270,1282,1026,785,1324,1376,1632,1382,670,781,603,360,314,301,333,429,369,502,1084,1188,585,852,934,1004,1023,1424,1328,1106,1378,1274,1176,1454,1248,1472,1230,935,700,530,803,1128,1124,1224,1854,1688,734,895,804,634,1009,1120,836,887,1002,1324,1122,1098,1354,1330,1466,1646,1542,1162,832,855,1082,1036,781,924,580,478,879,1186,1152,1312,1312,1030,982,679,825,750,844,937,1244,1206,1514,1600,890,531,529,798,828,838,742,747,1248,1956,1236,752,1005,811,374,648,1184,749,481,379,533,1060,1264,873,818,1148,874,824,1256,1592,1724,1368,1007,564,558,566,872,1142,884,758,828,836,1013,805,662,841,1186,1208,1220,886,887,639,432,552,835,1310,1130,485,387,372,375,392,455,716,656,776,745,488,466,413,542,883,1054,1122,539,596,503,338,342,321,356,392,414,326,419,858,1152,901,704,1058,1156,983,1042,1468,1426,1304,1332,1322,1126,1344,1572,1328,1382,1390,1098,879,821,616,614,645,993,1246,833,849,1216,870,639,870,1038,875,785,885,1234,2080,2118,1400,1448,1556,1224,1476,1360,1126,1376,1742,1686,1396,1320,1180,1013,841,510,518,729,957,507,438,612,1023,698,420,415,324,602,1186,1162,1058,1148,1186,1202,1108,637,534,522,469,1070,1622,1680,1214,1114,1308,778,607,818,1040,788,756,739,677,682,706,684,805,1042,1140,1294,1248,900,784,985,1122,1166,1206,1228,1228,1198,1076,1240,1224,1394,1544,1610,1632,1622,1238,821,916,1050,1056,857,978,1476,1328,892,735,794,739,1090,1296,1396,1344,1230,1262,1400,1488,1346,1200,1072,1114,1262,1290,1326,1276,1360,1516,1274,1278,1146,1048,1382,1584,1466,1274,873,1302,1408,1300,1250,1214,772,525,518,607,782,849,404,522,1126,1466,1444,1266,1060,789,464,459,453,361,475,428,411,379,480,753,1016,1206,945,775,783,893,730,425,359,601,900,869,1040,860,789,887,908,919,1138,1146,1018,963,755,694,735,1176,1926,2272,1816,874,1226,1180,977,1322,1226,948,1024,1110,832,600,644,594,550,821,1196,1486,1588,923,636,853,1288,1086,677,996,1092,903,798,675,440,691,1028,1174,1268,1176,1044,890,541,317,344,581,819,1018,993,1142,755,1019,1548,1582,1494,1402,1148,971,1140,1370,1334,1384,1696,1742,1452,1510,1334,1202,1228,1256,1612,1494,1088,1246,1224,1404,1572,1584,1802,1770,1698,1750,1600,1554,1538,1576,1628,1624,1526,1490,1616,1588,1440,1324,1134,1198,1346,1316,1290,1396,1476,1484,1492,1516,1162,689,566,791,1020,832,559,716,745,709,1046,1436,1346,1088,995,1064,891,499,658,925,1246,1250,1114,1274,1390,1360,1370,1116,812,1132,933,622,1236,1952,1056,588,795,637,583,617,527,547,726,1004,1022,1126,1188,854,413,402,695,838,730,777,1192,1268,1058,1250,1106,1066,1070,805,585,518,865,1174,1266,1460,1384,1196,1206,1186,1090,1114,1078,991,782,1382,1376,619,1122,3282,4720,4488,3206,1912,1950,1732,1676,1304,1176,1120,1032,813,642,958,965,935,1044,950,1324,1660,1340,1676,1472,740,487,475,478,765,1068,909,631,659,799,540,518,441,412,378,331,610,868,724,362,484,635,366,328,390,333,409,662,949,672,531,542,528,489,486,500,565,939,1194,1316,811,449,651,1016,1064,949,926,634,345,359,319,767,982,977,887,447,921,1100,1074,1264,1210,1064,959,576,453,358,278,298,445,501,802,922,835,689,477,462,395,334,423,487,521,441,426,357,484,525,457,398,356,493,982,1001,759,709,524,424,639,857,762,733,927,844,774,1003,1212],[776,921,931,913,866,667,968,881,520,431,422,467,524,488,382,381,307,303,438,486,500,480,481,587,490,371,740,1208,480,346,432,432,397,379,566,1072,1238,987,1082,1094,941,1009,928,1286,1444,1276,939,973,1038,1144,1118,1132,1204,1060,933,662,1001,1120,981,759,951,1166,938,741,724,735,1005,1266,958,1178,902,1042,763,744,831,1064,966,916,1236,1332,1178,1036,859,1078,1498,1456,1042,870,1038,1030,1050,1288,1252,1006,959,1018,982,1088,1324,1466,1490,1518,1400,1474,1530,1726,1872,1584,1154,859,607,893,926,677,541,719,786,761,594,493,915,1266,1082,1048,1054,923,835,818,935,566,934,830,444,667,733,847,988,753,771,1007,1282,1204,1036,1042,885,821,724,1026,1274,1102,1034,1252,1286,1338,1686,1870,1556,1226,1028,1164,1568,1692,1392,1212,1112,1102,1034,1098,1404,1396,927,1270,1422,1428,1384,1094,1136,1244,859,722,763,724,1028,781,639,625,510,586,824,1001,747,1110,1956,2124,1776,1422,1126,1100,875,1334,1430,1554,1360,688,481,592,791,897,820,649,554,838,1120,1078,995,795,1108,1013,725,615,722,722,802,722,507,642,1036,1406,1034,749,751,813,1268,1860,1926,1846,1512,1356,1284,1346,980,853,1088,1232,1150,1268,1422,1378,802,767,835,856,775,568,846,1278,1532,1256,1012,1388,1378,1240,1138,1080,1372,1578,1260,721,554,644,777,783,679,810,1466,1712,1490,1228,1058,1600,2062,1626,1544,1638,1342,1018,1052,1266,1340,1088,913,664,370,388,637,1192,1394,1352,1310,1474,1378,1102,833,827,1174,1274,1322,1244,999,734,510,377,427,546,495,500,731,1240,1156,784,813,1042,1116,932,877,1180,1384,1088,1252,1034,1476,1584,1558,1482,1604,1628,1368,1302,1346,1438,1432,1156,1180,1468,1564,1412,914,820,1256,1434,1388,1304,955,593,971,1130,938,941,803,965,1020,941,998,1238,1248,1248,1290,1290,1360,1426,1472,1418,1404,1282,1568,1450,1158,1382,1356,1214,1530,1486,1090,1426,1280,1216,1070,1001,1009,936,803,988,977,1042,1204,1354,1272,1014,1086,1234,1276,1278,1448,1438,1142,1108,1278,1366,1150,976,899,1040,1318,1148,913,1020,995,1188,1538,1642,1506,1316,1306,1260,1160,1114,1238,1438,1584,1338,1182,1314,1462,1552,1512,1286,1084,1142,1118,905,547,539,594,600,997,1296,1148,913,534,377,430,683,1300,1382,1110,840,638,611,1342,1956,1566,1152,1192,1326,1192,867,630,596,467,425,468,421,367,377,428,487,546,540,532,536,631,944,1013,1178,875,1130,1340,1082,719,624,759,941,913,850,960,854,1290,1318,1208,1202,1232,1019,860,644,430,534,747,839,781,824,957,991,981,869,846,1044,1200,1316,1220,1372,1426,1240,1354,1514,1550,1384,1112,1404,1516,1610,1594,1296,874,836,1052,949,1108,1100,1108,859,914,946,793,827,1096,1306,946,868,1122,1088,968,1182,1246,1156,1268,1514,1136,871,688,549,698,941,795,769,1192,1276,813,485,436,955,1460,905,649,969,819,656,819,985,1084,963,1162,1346,1354,1078,987,745,688,913,1118,1002,882,921,733,456,749,620,395,635,1152,1272,1164,957,929,1128,1282,1402,1570,1302,1230,1050,1118,1274,1238,1106,1134,1482,1190,710,658,760,970,998,724,716,745,886,1168,1130,1050,1036,1206,1436,1416,1266,1250,930,536,419,588,805,895,897,860,935,987,852,770,779,794,788,644,672,583,582,667,615,383,254,529,798,462,316,418,696,347,289,407,920,591,361,326,812,1430,1286,1394,1188,491,419,426,468,549,711,576,426,420,551,804,1262,1274,1012,947,805,1186,1306,1478,1106,615,515,468,391,603,1126,1364,1090,1324,1216,620,561,603,619,561,585,819,1138,895,877,1072,962,789,797,1006,1472,1318,1023,846,612,525,689,669,844,786,629,1086,1332,1090,1030,919,1304,1454,1442,1132,921,1056,1290,1394,1290,1354,1420,1500,1562,1262,1460,1588,1670,1388,1256,1342,1720,1294,835,1138,1334,1222,774,352,459,418,664,940,1003,664,644,696,913,1056,968,773,560,639,758,982,1162,1320,1358,1292,1298,1402,1308,1210,1172,1342,1592,1460,1662,1432,1312,1318,1182,1068,1078,1376,1776,1576,1230,1260,1170,1268,1204,604,435,665,800,479,619,888,1210,1384,1250,974,899,888,908,948,905,623,795,977,982,648,872,1032,1001,1044,1196,734,396,462,562,644,454,551,731,651,807,1284,1302,1340,943,487,384,431,309,485,591,860,900,514,344,349,457,460,470,603,816,905,749,807,1016,1116,1126,1154,1366,1460,1350,1484,1328,1144,1426,1512,1256,964,1106,1148,1224,1238,1138,892,719,958,653,594,1009,896,1008,1278,1382,1136,1250,1368,1312,1146,1184,1282,786,572,1050,1502,1312,763,700,649,1072,1246,711,413,726,1138,1256,1256,1476,1344,1310,1340,1278,1146,1168,1078,1028,1196,1260,1296,1202,1344,1374,1060,1026,1266,957,774,681,547,526,529,502,590,491,542,812,1094,875,777,568,477,567,535,591,1064,1240,1216,1288,1374,1590,1544,1314,820,1128,979,589,797,1214,1230,788,727,839,646,375,384,438,857,988,723,572,675,912,1164,1118,579,331,382,318,271,285,303,402,505,502,424,484,679,680,404,422,418,387,396,339,1190,1832,1748,1652,1882,1548,1060,1278,1428,1632,1480,1468,1384,2026,2030,1968,1526,763,517,386,306,301,265,296,430,320,326,579,722,562,1042,1009,929,957,988,814,652,930,1204,1242,1182,1402,1682,1320,945,720,602,664,794,951,1330,1996,1866,1190,1046,673,689,1094,888,659,856,1017,1028,851,1050,1316,1338,1330,1226,1362,1022,680,703,716,722,1001,1450,1003,462,838,1098,1258,1364,1106,1406,1544,963,735,874,1110,1244,1318,1264,1262,1130,855,661,824,1054,1007,877,755,611,1344,1936,1164,787,1042,753,430,804,1026,505,416,498,796,1174,1290,970,1003,1002,825,879,1118,1214,903,930,792,497,410,603,801,949,1064,1310,1146,662,625,501,658,996,1196,1128,931,922,1044,993,709,518,496,528,630,376,358,383,392,395,617,645,841,1086,995,613,458,518,781,777,1086,967,459,461,426,362,319,418,488,419,498,455,304,524,630,612,966,740,588,601,1574,1840,1290,1416,1356,1224,1430,1590,1528,1240,1288,1346,1202,792,654,1010,1164,895,1094,1198,951,1007,1194,728,688,950,952,1062,949,932,1250,1672,1516,1166,1200,1260,1604,1432,1678,1364,1234,1588,1702,1446,1324,995,590,468,323,357,439,1017,837,812,1042,1112,694,416,484,420,713,1400,1156,1088,1038,1054,1126,922,653,622,496,411,719,1434,1580,1056,1882,2288,1578,726,610,693,742,761,761,736,694,716,702,784,1064,1300,1696,1476,1056,846,1012,1220,1168,1252,1282,1194,1044,1122,1222,1054,995,972,1270,1400,1394,897,512,604,872,1003,952,1188,1412,936,970,950,786,630,1104,1230,1240,1170,1100,1348,1406,1404,1036,879,1164,1238,1136,1242,1356,1220,1418,1372,1274,1354,1148,1194,1576,1466,1264,1236,1216,1208,1190,959,1028,941,655,664,783,914,992,1138,468,713,1410,1602,1598,1556,1554,1334,854,550,504,406,539,431,514,690,661,671,833,1028,1252,1334,1230,1004,623,534,568,739,978,864,1046,966,919,1138,959,887,1088,973,1058,963,605,1058,1102,1084,1620,2402,1826,1308,1266,701,890,1394,1406,1006,611,977,1210,1120,796,814,1106,993,1134,1514,1388,1016,1032,1018,1246,1504,1150,1036,1100,897,1110,1366,931,1052,1246,1236,1196,1076,1036,869,465,291,388,931,1122,777,927,1188,860,970,1504,1670,1548,1404,1384,1414,1448,1412,1516,1522,1422,1528,1292,1238,1344,1316,1360,1648,1800,1224,954,1530,1728,1792,1812,1750,1798,1782,1742,1786,1668,1566,1470,1482,1340,1368,1266,1188,1354,991,673,629,882,1256,1214,1019,1218,1422,1484,1378,1346,1354,970,608,593,937,1394,1230,823,686,818,1036,1258,1340,964,802,1052,1372,1070,698,846,1082,1194,1130,1154,1366,1428,1676,1674,1166,671,821,860,648,1396,1566,772,819,984,653,564,809,655,799,818,1026,1022,1058,963,565,355,418,418,350,413,753,1262,1242,1094,1428,1178,1244,1228,1036,616,477,962,1320,1266,1418,1076,891,972,1202,744,706,766,833,876,1158,1264,1208,1676,2756,3392,3414,2792,1902,1764,1704,1692,1182,673,682,796,723,733,940,714,633,960,1172,1450,1530,1464,1936,1616,824,503,569,572,550,604,892,938,1068,984,523,371,387,391,391,407,569,647,774,539,423,380,357,481,641,569,662,905,742,543,541,543,498,500,385,381,458,868,924,658,574,642,955,1130,998,929,1254,737,363,389,350,450,635,849,641,371,563,934,1186,1332,1384,1138,919,824,550,356,314,285,299,285,739,1090,855,720,499,523,448,400,475,449,475,445,439,478,532,572,481,431,422,406,422,400,511,788,938,811,497,439,420,511,645,537,639,937,1882],[727,1204,1344,1376,996,602,754,678,514,455,380,371,330,320,322,317,268,269,333,351,350,398,446,487,406,364,412,448,287,288,322,391,503,486,547,861,1036,1206,1420,1236,1160,1064,1200,1410,1036,724,1070,1126,879,1062,1056,1300,1230,1178,1118,850,776,918,1142,1021,875,932,1052,838,480,464,804,1001,594,857,799,939,971,1270,1324,1210,1078,1015,1026,1148,937,828,951,808,1046,1244,1172,1018,988,1120,1092,1060,1062,1064,997,1176,1218,1356,1156,1370,1108,1130,1490,1598,1608,1780,1904,1708,1366,1192,936,1318,1346,1094,889,948,821,640,509,443,741,1222,1154,1142,1212,992,847,835,916,933,1130,929,685,869,1096,985,907,810,1076,1482,1398,1214,1086,1404,1132,771,931,1178,1080,979,1013,1122,1182,1508,1672,1466,1218,1294,1352,1336,1318,1062,1156,1158,1042,1168,1174,1064,1422,1226,880,1084,1023,1056,1028,711,764,1001,849,990,860,426,539,522,802,855,666,683,799,951,720,819,1382,1670,1614,1230,844,875,1174,1154,1040,1456,1604,1026,753,1228,1388,942,615,637,544,885,1128,849,768,615,639,602,648,760,841,788,900,814,675,647,1076,1214,1130,1140,1292,1040,1144,1688,1986,1578,1198,1009,957,1314,1096,658,640,769,914,1088,1426,1560,1036,818,789,943,1002,594,588,637,1262,1528,1274,1164,945,800,987,1504,1570,1484,1240,971,775,806,834,860,727,793,1682,2100,1854,1620,1386,1642,1902,1458,1616,1898,1294,985,952,1026,1028,977,929,626,355,363,730,1192,1094,1224,1196,1182,1256,1504,1532,1296,1284,1502,1378,1176,1056,616,524,473,458,505,508,572,805,1094,920,671,709,1212,1716,1124,898,1054,1254,1372,1204,881,988,893,1023,1326,1280,1224,1466,1590,1622,1246,1007,743,823,1250,1412,1272,1052,1062,1120,1240,1304,1316,1268,809,965,1198,1044,1136,940,593,1154,1402,973,819,929,1274,1538,1296,1170,1550,1530,1430,1452,1532,1526,1236,1256,1272,1214,1254,1156,1182,1368,1330,1130,1278,1130,860,751,744,914,943,979,1158,1176,1246,1212,1080,1170,1336,1266,1058,1334,1466,1450,1418,1422,1354,1356,1118,1190,1312,1282,1376,1076,901,1090,1122,1288,1522,1708,1164,1124,1328,1000,1138,1294,1376,1272,1286,1280,1382,1448,1418,1282,1086,991,700,485,545,493,614,812,858,1288,1732,1250,774,688,590,628,609,844,1232,1176,925,583,553,1166,1630,1434,1334,1246,1294,1282,1162,918,883,1001,919,671,484,344,293,336,437,534,531,506,543,943,1072,952,1168,977,853,984,1038,576,488,729,1124,1216,1072,1154,1116,1186,1260,1222,1200,1174,886,586,409,362,354,393,411,435,676,996,893,770,677,923,1166,1220,1186,1484,1488,1070,1086,1220,1198,1354,1458,1458,1604,1522,1426,1534,1356,789,1082,1390,1196,1252,1038,960,871,734,613,645,781,1082,1124,891,944,880,950,1002,1036,1174,1238,1494,1572,1266,844,554,700,1066,1228,967,805,736,1034,1036,577,641,1216,1490,1036,638,643,409,414,509,807,985,1156,1312,1532,1398,1290,1080,724,803,1028,1032,968,988,990,676,452,439,686,974,1224,1476,1522,1438,1180,1038,1336,1416,1460,1474,1324,1184,1114,951,1020,1142,877,916,1426,1094,910,475,518,806,979,821,929,974,1036,1180,1242,1178,1332,1408,1660,1564,1314,1028,925,638,459,404,497,666,720,798,929,897,794,656,672,818,833,695,662,692,703,791,979,869,548,708,923,415,308,513,689,326,246,527,824,525,345,372,897,1464,1190,1440,1098,475,381,413,435,634,507,410,411,390,516,910,1178,1136,1116,1106,1006,1170,1252,1388,1246,874,685,647,521,760,1370,1538,1200,1510,973,576,565,621,604,661,579,559,761,873,960,1290,1368,1134,984,1038,1104,1058,1128,926,596,485,460,579,649,669,1084,1328,1078,1070,1064,1160,1258,1238,1260,1120,1076,1428,1414,1116,1070,1148,1228,1370,1372,1246,1266,1328,1412,1478,1556,1428,1390,1398,1110,1208,1686,1208,816,605,561,516,954,1196,1120,891,678,945,1256,693,619,993,1402,1090,1046,960,1202,1252,1228,1352,1346,1244,816,633,673,1042,1454,1732,1300,1032,1228,1324,1246,1384,1266,1364,1434,1370,1248,1378,1364,1126,812,763,526,796,823,614,659,777,875,695,807,532,505,747,908,875,750,774,623,721,697,393,542,985,1160,953,821,455,442,528,455,381,523,727,824,869,1262,1634,1366,1356,1170,1076,881,567,803,966,1184,1312,966,589,363,401,446,536,782,1114,1164,982,626,749,1052,1001,765,963,1434,1582,1568,1714,1494,1182,1226,1376,946,954,1196,1294,1294,759,683,899,800,656,568,797,1104,1064,1130,1296,1356,1144,1290,1290,1040,696,969,1104,753,684,1086,1284,1260,1230,938,547,769,966,705,412,602,930,1432,1400,1388,1262,1286,1344,1366,1232,1208,1120,890,819,1007,1280,1110,1170,1216,824,725,871,796,811,772,745,711,523,632,922,944,835,821,1030,1026,814,542,447,629,733,639,917,1294,1378,1272,1470,1570,1328,1290,1334,995,588,540,737,1220,1208,1058,1214,790,436,392,401,395,634,708,525,592,758,1146,1152,787,601,339,254,280,326,302,295,383,473,454,410,416,525,619,556,559,449,355,459,439,1252,1660,1544,1400,1164,890,739,971,936,878,649,532,649,1238,1396,1250,844,482,357,282,388,527,667,507,346,311,303,344,475,777,1316,1112,858,1046,960,517,344,431,666,996,789,1128,1528,1242,606,383,507,657,615,783,1268,1520,2194,1802,1114,1238,1168,1158,1012,747,805,977,1021,931,1302,1430,1154,1288,1396,1210,880,781,871,593,586,980,1162,984,1024,990,586,693,987,1332,1188,1280,1036,672,1078,1316,1122,1074,1080,1050,1064,678,541,856,768,535,596,606,656,1434,1820,1194,976,1168,1114,1074,1336,1316,778,445,566,887,1284,1294,1142,1296,1076,760,734,770,1007,888,845,627,389,387,440,384,555,686,514,347,328,283,495,1140,1406,1314,1494,1242,931,1252,1438,670,476,448,501,532,424,425,424,425,470,924,1174,935,778,773,615,518,714,1040,1140,1248,947,777,553,531,511,426,556,564,441,620,641,550,516,462,778,1052,628,358,592,1404,1482,1362,1574,974,929,865,966,1108,922,1074,1284,740,359,631,874,860,826,1044,1458,1578,1320,907,480,653,853,857,958,1008,1098,1112,1216,1232,1378,952,874,1318,1060,1424,1310,1146,1518,1518,993,742,600,480,527,470,460,421,1112,1308,1374,1310,1058,855,408,484,592,756,1614,1124,1068,1122,1098,942,573,681,935,608,440,596,1162,1144,1560,3072,2678,1688,825,583,619,788,843,814,814,800,785,834,912,1030,1448,1924,1676,1088,847,1022,1070,1032,1130,1176,972,851,905,919,827,885,987,897,991,958,589,467,558,810,1050,1032,1186,1114,641,863,1118,918,734,1182,1434,1422,1200,948,1056,1062,1158,1078,927,1072,875,1152,1390,1252,1058,717,803,1064,1106,1202,1386,1648,1340,1516,1682,1574,1450,1410,1011,814,676,610,938,1058,857,1350,1090,458,898,1378,1354,1360,1506,1528,1498,1152,523,545,589,687,594,916,1396,1366,1234,1260,1338,1424,1386,1452,1358,696,587,472,567,925,886,808,1096,1276,1230,1023,952,1004,864,887,592,585,1282,1294,1082,1666,2272,1842,1628,1128,625,577,788,1144,1076,807,854,1228,1186,1216,1398,1214,1012,1082,1340,1484,1528,1306,1000,1176,1386,1166,1078,1330,1506,1888,1814,1266,1118,1286,1328,1248,1072,805,709,794,801,940,1432,1506,1110,1098,1230,1042,1122,1438,1562,1576,1630,1754,1792,1696,1694,1740,1672,1642,1762,1716,1650,1648,1732,1754,1744,1720,1366,896,1380,1478,1350,1476,1512,1526,1510,1504,1600,1520,1234,1338,1686,1192,1224,1182,1382,1578,1190,907,938,1108,1376,1136,966,1212,1356,1186,1210,1130,883,592,628,722,775,968,778,685,589,913,1324,1470,1468,853,533,781,902,885,873,1004,1204,1098,995,1094,1438,1470,1450,1482,1138,652,1156,1318,839,874,780,530,579,637,551,789,1106,533,1042,1484,1282,808,641,554,367,276,272,366,447,544,1000,1300,1212,1256,1100,1082,1360,1332,1026,664,829,1178,1332,1434,1524,916,770,779,740,520,504,991,1296,860,794,837,1166,1418,1212,1738,2182,2038,1732,1782,1670,1400,908,641,949,1118,828,874,1086,810,885,852,1009,1386,1416,1132,1018,1126,918,514,473,466,523,495,615,813,983,792,429,422,546,554,395,514,1102,1072,849,535,374,402,388,485,636,613,604,677,476,400,369,607,990,960,529,356,384,750,736,588,877,1010,913,529,576,756,913,885,722,630,525,439,390,372,341,347,667,1232,1356,1428,1332,1098,1156,1422,846,336,346,304,465,965,1332,1242,948,721,467,419,404,407,461,540,590,497,395,323,366,523,564,441,476,441,420,517,673,876,1422,1450,897,728,797,669,762,620,626,642,1968],[497,965,1144,1015,886,952,635,400,367,367,323,351,489,433,289,227,219,279,302,282,373,472,469,476,489,367,311,307,334,343,310,363,442,505,589,665,887,1136,1866,1364,1154,1005,1196,1230,788,626,836,891,694,883,971,1346,1186,1272,1192,898,1013,1116,1152,1286,1326,1402,1166,764,374,366,408,742,661,659,694,767,1036,1340,1214,1088,995,832,739,1078,1048,1100,1302,1018,982,1018,1126,1254,1406,1444,1154,1013,1009,1172,1214,1174,1094,897,1017,1214,968,1082,1260,1388,1538,1636,1678,1708,1608,1620,1466,1302,1470,1522,1556,1382,756,474,447,505,713,1024,1106,1288,1178,1082,716,792,827,803,1154,1166,832,973,1136,1160,915,1023,1180,1466,1274,1328,1384,1206,666,553,1136,1366,1186,1042,1194,1120,1372,1748,1818,1500,1248,1218,1136,1296,1362,1486,1792,1726,1426,1144,1044,1021,1138,909,796,632,576,836,974,862,838,990,1034,1196,798,355,251,368,551,619,465,379,389,304,344,794,1450,1688,1498,1440,1338,1248,1252,1078,1026,1286,1476,1074,642,807,739,563,733,1066,741,800,731,758,738,630,586,604,883,1009,1066,948,1126,816,825,909,1096,1068,1154,1224,1316,1358,1312,1558,1740,1248,1372,965,615,684,876,918,1046,1012,1146,1182,1534,1564,861,576,634,1240,1364,1060,865,580,645,1036,1358,1182,628,496,860,1660,1694,1380,1196,1120,747,882,768,880,1194,1268,1414,1738,1678,1230,1202,1234,1214,1246,925,889,879,766,870,1052,838,923,805,472,309,409,1023,1172,1090,1408,1328,1250,1362,1250,1332,1392,1156,1496,1368,1154,1196,959,604,495,476,730,1114,1006,833,771,671,821,655,734,1240,1172,1268,959,708,601,459,487,476,425,554,924,1104,1184,1268,1330,1946,1664,1294,1108,1184,1454,1318,1282,1262,1100,1190,1332,1366,1458,1596,1170,979,1164,1238,1440,1322,1012,1042,1015,863,656,942,1246,1246,1066,1170,1236,1298,1464,1412,1342,1198,967,1284,1080,822,1114,1214,1106,1010,1036,1180,1132,920,759,623,854,1210,1494,1502,1562,1478,1614,1544,1166,1102,1290,1104,1064,1200,1290,1392,1428,1306,1012,1124,1212,1242,1198,1200,1460,1264,1216,1244,1278,1162,1044,1250,1164,1048,1020,1086,1054,1116,1230,1294,1224,1328,1386,1462,1578,1450,1194,1202,692,467,472,480,568,813,926,932,1110,1276,1244,1046,1160,1168,724,720,625,480,411,360,505,955,1302,1114,924,709,637,866,1080,883,983,1262,1176,784,397,286,292,286,387,487,506,480,495,849,968,974,981,924,724,747,909,717,793,1182,1332,1202,1218,1156,1154,1174,1228,1338,1242,1026,655,395,314,359,395,356,275,258,307,436,583,560,684,860,1000,1060,1294,1576,1228,904,1164,1384,1114,1086,1406,1496,1576,1780,1816,1670,1562,1328,2144,1952,1560,1252,929,684,634,521,419,523,746,993,917,850,1056,998,767,872,1298,1308,1298,1394,1222,1200,1056,711,912,965,1230,1120,971,857,957,893,631,833,1332,1270,1100,664,519,307,274,282,546,1246,1476,1444,1556,1296,1242,1260,998,854,952,701,910,1260,917,562,446,661,1382,1548,1378,1482,1468,1412,1388,1284,1254,1362,1836,1988,1356,1012,1052,1156,1100,948,850,785,856,631,631,319,509,568,475,610,814,983,1100,1256,1318,1174,1372,1526,1860,1700,1382,1008,763,525,483,500,412,375,411,513,572,569,651,645,700,854,898,669,511,572,589,792,1094,894,999,1094,1016,910,902,970,818,603,439,677,857,470,363,397,925,1504,1228,1498,979,454,399,506,606,553,407,389,372,397,507,940,1218,1576,1486,1238,1202,1252,1390,1444,1426,1238,929,990,1208,1494,1462,1660,1682,1692,1072,590,554,600,673,865,831,636,625,525,579,823,1132,1138,994,923,1020,1118,1136,935,587,508,423,500,484,631,844,1018,1248,1240,1114,1098,1116,1172,1434,1460,1492,1412,1160,1102,1238,1198,1094,1084,1122,1150,1122,1194,1262,1094,907,1304,1602,1538,1216,1398,1904,1202,1050,1182,915,787,1048,1094,1106,1112,1050,1300,1240,1100,756,1146,1526,937,918,1188,1358,1294,1354,1358,1318,1396,1280,672,433,885,1484,1342,1038,927,1158,1174,1182,1422,1296,1272,1384,1570,1530,1420,1252,823,857,809,441,441,379,441,592,589,431,453,824,529,444,813,1216,1094,756,827,925,906,575,392,385,591,832,739,663,595,563,563,463,750,1194,1048,965,974,865,904,833,608,716,1198,1406,982,1126,1324,930,514,530,599,445,477,434,583,979,1130,1224,1009,853,880,1007,1086,987,1170,1504,1650,1836,1782,1694,1340,1310,1270,1004,1246,1334,1742,2496,1702,608,879,892,728,641,952,1072,1074,1204,1552,1428,1002,988,728,1256,1318,965,722,751,952,1268,1214,1104,1204,885,473,729,1001,797,457,458,707,1164,1316,1522,1390,1158,1300,1360,1346,1404,1260,949,726,901,1194,1120,1200,1092,615,529,605,652,816,877,749,852,836,835,690,1086,981,722,866,862,664,625,563,703,931,709,553,1178,1350,1194,1278,1408,1396,1540,1684,1364,879,689,926,1362,1030,1116,939,466,363,395,372,364,655,802,511,652,800,1108,835,572,655,421,316,315,347,314,285,410,544,544,499,454,492,869,979,830,625,1040,1224,865,1074,1180,1023,805,832,723,691,706,603,556,711,502,466,814,1120,1142,650,396,348,519,814,930,1038,700,381,287,300,398,563,966,1330,1164,979,1032,727,472,385,338,406,567,401,455,844,623,336,330,357,468,673,1060,1184,1272,1532,966,702,1208,1304,1542,1558,1106,1086,1066,961,1208,1264,1128,919,680,891,1236,1003,793,891,610,472,938,1080,912,1096,1086,807,673,713,1002,984,948,669,716,1080,1238,1378,973,924,1080,857,484,455,631,543,417,419,394,470,824,1284,1356,1334,1214,1376,1560,1636,1812,1244,630,621,706,1020,1210,868,925,884,650,714,825,883,850,636,495,555,592,478,636,825,791,442,449,693,646,663,1206,1316,1164,1120,828,733,985,1302,862,602,557,570,822,619,576,713,818,952,1086,1288,1174,1138,1658,1264,984,1258,1434,1276,1008,1230,1226,789,601,551,632,558,453,754,788,610,723,946,712,897,1042,732,419,854,1542,1516,1122,1280,972,1132,844,565,849,879,858,740,537,829,1068,1026,1218,835,852,1338,1346,968,682,455,601,993,1048,1012,1402,1580,1332,1300,1440,1520,1005,923,826,1026,1504,1410,1302,1592,1410,651,436,535,556,509,432,451,378,891,1300,1354,1346,1023,957,506,495,713,863,1564,1230,1052,1134,1074,970,634,538,727,572,486,499,1002,1300,2192,2902,2968,2154,1056,572,702,807,669,642,865,1112,1088,1176,1422,1296,1628,1968,1660,1118,804,838,955,916,908,985,988,929,910,927,908,800,857,966,891,810,765,750,728,774,947,949,1176,913,672,1011,1114,926,968,1266,1638,1726,1310,943,833,863,1188,1096,919,1134,1220,1470,1470,1268,1162,565,798,927,959,1054,1370,1366,1102,1386,1656,1622,1672,1742,1664,1342,719,608,943,836,1072,1440,808,557,893,1134,1170,1154,1328,1512,1468,1120,440,408,587,595,684,1136,1476,1656,1614,1400,1212,947,803,882,713,531,706,454,283,547,796,803,986,1232,1162,1126,1108,919,698,798,614,864,1334,1300,1024,1246,1262,1005,991,932,926,946,978,1208,1102,916,733,885,993,1166,1226,1242,1248,1304,1286,1252,1246,1200,1324,1456,1520,1466,1456,1576,1636,1548,1338,1182,1258,1472,1400,1184,1010,1266,1410,1272,1216,1378,1520,1562,1450,1422,1522,1628,1624,1434,1488,1622,1670,1672,1412,1216,1228,1440,1548,1454,1428,1376,1276,1194,1512,1444,1312,1388,1392,1332,1360,1009,921,1013,1005,1178,1436,1506,1384,1560,1340,1440,1780,1306,1122,1210,1644,1832,1646,1452,1086,827,1212,1021,790,966,1072,641,581,494,549,750,838,1126,730,462,423,459,792,927,809,932,1112,701,442,501,753,1124,1094,1260,1306,1118,957,1256,1154,1160,1190,1064,795,525,890,1176,968,761,543,489,346,368,741,1226,878,786,1376,1528,1362,1022,724,420,347,302,318,433,578,723,803,793,705,841,885,1116,1550,1314,688,625,948,1554,2496,2262,1682,1058,828,755,639,621,600,780,1013,609,566,763,922,681,1088,1200,1064,901,1090,1226,890,617,473,766,1096,1010,943,1102,1302,672,636,692,634,1112,1482,1268,859,796,687,788,575,440,555,504,888,1358,1124,658,402,576,822,856,515,596,1244,1066,664,416,337,404,378,321,379,480,633,884,668,368,391,1114,1360,1228,816,396,462,563,688,1082,1288,808,652,610,932,1302,1360,1458,1166,710,629,482,278,289,265,300,706,1336,1360,1198,1258,1232,1666,2136,1226,380,318,296,601,1382,1648,1226,653,590,470,448,479,455,461,512,523,505,631,1054,1114,891,876,543,444,390,379,427,508,763,1102,977,891,951,1013,1074,856,675,608,411,700],[456,637,761,653,508,926,819,411,428,436,337,368,529,491,352,248,267,328,286,277,417,490,440,557,640,411,282,296,368,412,374,414,426,543,582,677,835,1634,2026,1368,894,883,1132,1030,824,883,665,459,447,722,1050,1134,1296,1354,1174,1252,1316,886,787,1064,1242,1428,1200,1034,504,435,484,903,1400,1206,916,918,1007,1208,993,884,717,600,730,1354,1460,1504,1414,1290,1276,1206,1192,1038,1186,1250,1216,974,1042,1072,996,895,896,871,955,852,864,1100,1138,1344,1578,1410,1312,1440,1600,1748,1736,1648,1700,1792,1852,1342,700,771,904,782,875,1086,1118,1182,1148,857,541,748,720,1144,2092,1382,893,964,984,1238,1054,1058,1318,1316,1202,1212,1186,1038,597,650,889,875,954,1050,1292,1410,1730,1520,1556,1386,1136,956,868,1106,1164,1112,1436,1548,1246,1426,1396,1254,1110,946,885,682,519,730,1040,1208,1044,961,1044,1134,720,376,334,325,257,310,372,497,618,650,692,996,1700,1830,1654,1660,1660,1480,1290,1156,1212,1560,1478,917,695,867,494,477,993,1236,1226,1142,1040,1268,1018,578,549,605,1104,1306,825,595,776,894,1148,1108,1174,1226,1120,970,1036,1196,1310,1724,1594,1172,1506,1360,817,895,709,879,1368,1436,1290,1226,1674,920,882,606,467,946,1242,1364,1306,1078,1082,1210,1288,1406,822,579,747,1306,1380,1152,1396,1004,733,830,783,1013,1534,1842,1548,1574,1482,866,1114,1338,1088,830,541,493,570,671,995,1046,605,691,641,722,491,625,1238,1274,1302,1268,1138,1106,990,941,1358,1354,979,1226,1428,1410,1470,1164,691,470,369,574,1054,1232,1188,861,769,1300,1110,1040,949,999,1082,705,403,352,340,375,339,386,373,694,1272,1192,884,1052,2092,1988,1136,941,1504,1468,1376,1348,1428,1340,1316,1272,1404,1462,1298,1212,1434,1510,1338,1284,1232,1164,848,646,941,868,1172,1178,1076,1166,1184,1236,1394,1534,1140,1288,1410,1292,1324,781,599,1008,1286,1390,1312,1166,1176,1124,810,714,839,1074,1140,1254,1408,1400,1354,1470,1476,1314,1344,1344,1344,1422,1394,1540,1372,1546,1072,865,1212,1560,1452,1138,1240,1216,1144,1228,1102,1288,1206,1134,1192,1166,977,1390,1528,1148,1013,1084,1188,1158,1530,1530,1614,1780,1610,1372,1184,924,686,621,809,811,637,659,742,786,1214,1192,1150,1122,716,669,769,469,311,343,353,341,528,485,300,235,300,290,612,839,969,987,750,819,677,461,430,357,326,386,486,470,502,675,780,796,868,960,816,849,1036,1042,1196,1238,1396,1118,1054,1296,1052,999,1186,996,1028,933,1222,909,354,322,318,381,372,311,323,346,392,371,393,623,850,885,952,1458,1372,1134,1012,1188,1240,878,941,1282,1328,1334,1446,1532,1616,1704,1532,1654,1664,1456,1130,757,632,781,969,772,645,819,1010,874,952,935,1096,970,938,1232,1284,1316,1482,1256,1302,1324,968,811,874,1088,1082,1094,1058,863,725,741,653,677,603,979,800,606,427,420,492,689,1096,1274,1388,1450,1294,1428,1394,1196,849,736,748,828,885,575,498,586,990,1442,1388,1358,1308,1432,1588,1396,1310,1152,1178,1870,2140,1568,952,851,1070,935,885,768,607,584,1112,1250,970,799,536,325,350,576,914,960,1268,1346,1342,1472,1526,1864,1970,1668,1112,822,526,455,481,497,392,350,374,404,552,584,532,602,811,778,500,427,412,473,720,851,595,574,644,768,809,773,1016,1106,871,786,992,911,405,363,399,1036,1394,1324,1496,879,425,464,574,759,744,461,447,393,393,476,741,1042,1256,1462,1282,1132,1280,1344,1360,1356,1372,1224,1402,1376,1550,1136,1278,1554,1658,1160,632,600,652,721,956,973,771,649,479,471,547,617,885,926,739,752,922,1190,1158,689,565,470,430,596,934,968,1288,1574,1490,1466,1484,1070,1208,1560,1700,1526,1152,884,1078,1194,1132,1158,1294,1320,1162,1168,1250,1260,1180,898,874,1412,1560,1534,1714,1666,1124,1013,1206,1124,982,1208,1244,1158,920,1162,1260,1208,1272,1046,1130,1248,1092,1050,1102,950,1062,1092,1098,1232,1350,1286,1152,894,1252,1408,1140,1130,1134,1020,1050,1122,1023,906,896,1130,1428,1498,1534,1466,1168,998,601,431,431,448,516,544,588,509,593,1208,1338,1214,1354,1538,1410,888,493,886,1432,1002,731,538,366,471,630,716,651,664,796,828,816,743,869,1013,1030,785,493,431,434,687,736,1050,1372,1414,1136,940,617,497,566,744,567,401,583,937,1120,1194,1080,825,606,772,1138,1132,970,728,1274,1676,1648,1432,1200,1234,1102,1094,1380,1208,1638,2424,1268,668,1003,1092,1078,900,1020,1148,1286,1200,1312,1186,1022,1090,1144,1810,1454,1142,930,860,1146,1400,1222,985,1142,921,623,910,1178,961,729,596,1532,1912,1558,1598,1362,1206,1308,1412,1396,1520,1134,1050,737,988,1236,1082,1034,902,644,826,800,803,935,794,681,962,1224,1294,1316,1048,674,572,853,922,944,1074,840,553,645,684,533,837,1314,1348,1154,1316,1326,1366,1398,1236,885,1226,1296,1220,939,867,625,452,394,365,344,364,601,933,521,487,481,620,504,477,463,405,383,366,325,249,253,457,607,558,495,465,400,639,786,735,535,728,901,672,592,700,1072,1068,1242,801,559,526,371,382,582,418,387,801,1316,1112,550,325,295,442,746,896,643,590,532,428,489,532,648,989,1400,1682,1346,1216,1148,910,677,459,470,480,410,496,499,367,342,325,335,371,519,718,814,843,935,871,719,670,1114,1984,1528,1120,1152,1176,982,1248,1094,896,945,605,521,1064,1166,1096,987,848,517,619,652,679,855,1094,963,995,1006,998,859,427,507,984,915,791,748,673,1009,1100,731,471,633,714,509,660,593,465,422,483,1042,1218,1160,966,891,1116,1422,1426,1052,788,742,912,1118,881,621,589,807,839,1009,1092,1238,1038,670,503,742,738,443,698,1044,908,533,539,935,745,560,906,1208,1060,691,642,706,771,1148,1198,1190,938,719,1038,760,783,1150,1007,1268,1434,1380,1202,1178,1766,1724,1406,1366,1418,1206,1007,1214,1198,767,520,539,980,958,1012,1048,1072,1136,1256,1076,735,677,839,722,482,1062,1476,1182,868,1236,1138,946,772,803,960,960,898,636,811,1108,1356,1382,1060,905,1036,1288,1330,1038,943,797,499,557,663,996,1206,1144,1156,1418,1260,1266,1482,1306,1062,1178,1262,1254,1336,1614,1462,726,388,509,570,477,428,453,414,609,1036,1236,1398,1122,1106,871,719,623,985,1564,1166,935,1156,1152,1018,681,410,483,510,452,440,995,1834,2956,3398,3250,2964,2010,755,899,991,1124,1144,1400,1616,1594,1802,1918,1624,1654,1622,1218,990,669,523,560,763,954,927,904,962,1028,1094,1064,873,849,935,785,708,880,942,929,907,872,922,1180,846,528,680,761,851,952,968,1088,1380,1312,921,1094,1244,1002,739,908,1256,1310,1322,1326,1396,914,538,783,1007,1016,1068,1322,1216,1200,1396,1422,1434,1648,1584,981,937,641,554,624,882,1472,1124,551,622,995,1232,1256,1132,1358,1544,1524,1372,796,409,399,459,458,528,824,1082,1114,902,699,661,760,836,781,534,828,698,317,584,917,843,969,1708,1442,1182,1246,1112,813,1032,1216,1168,1094,1292,1354,1320,1360,1338,1296,1466,1458,1400,1252,1284,1350,1368,1360,1410,1388,1294,1402,1538,1590,1364,1130,1354,1534,1398,1280,1496,1594,1570,1380,1238,1336,1356,1030,799,877,1040,1288,1180,689,754,1072,952,1024,1272,1146,1130,1306,1438,1412,1260,1296,1396,1506,1282,1252,1158,1048,1017,962,1478,1558,1394,1416,1003,937,935,1672,1608,1128,1372,1512,1360,1178,1130,1142,1038,1180,1260,1478,1384,1246,1530,1436,1410,1322,1238,1224,1096,1410,1508,1380,1032,1144,1166,1322,1256,1044,1112,1124,713,509,514,623,925,738,1070,678,357,361,397,1044,1216,1312,1164,676,563,539,457,835,1220,1144,1314,1406,1180,1138,1456,1282,1346,985,494,463,469,924,1038,1046,690,508,404,357,659,1188,898,454,927,1338,1332,1252,941,1172,818,416,409,411,446,611,778,702,546,537,793,1174,1202,1162,961,428,501,1013,1530,1948,2316,1942,1128,858,728,781,1206,1078,672,928,764,735,636,506,431,352,383,516,573,677,406,409,422,460,688,784,614,685,883,811,554,860,934,733,984,1222,1076,1424,1064,758,1138,1096,717,547,491,891,1532,1242,651,727,1200,971,843,574,548,810,647,408,307,319,377,308,327,327,373,720,880,643,421,437,772,696,993,1088,510,458,437,470,440,350,389,478,733,1034,1310,1518,1622,1230,851,930,534,281,250,267,287,543,1154,1432,1388,1294,1030,1118,1176,866,531,571,338,397,973,1748,1264,602,416,419,444,432,459,505,512,415,518,1260,2238,1922,1552,1064,559,438,446,426,440,550,957,966,1246,1592,1372,1282,1502,1082,792,661,437,345],[486,442,508,491,678,892,641,339,330,345,349,366,299,256,308,245,291,313,216,285,457,493,419,377,318,305,304,299,379,376,434,428,409,514,546,568,875,1534,1676,1112,628,764,915,837,1082,1134,1132,829,544,657,993,1204,1368,1362,1302,1274,1178,1013,1009,1192,1086,1332,1428,1404,833,789,805,1046,1490,1142,789,886,1094,1120,821,405,462,632,907,1186,1346,1426,1274,1110,925,907,1122,876,816,949,1200,1246,1252,1176,1042,941,895,975,1050,756,697,988,1180,1220,1432,1332,1160,1136,1342,1508,1650,1694,1736,1754,1580,1005,715,1346,1548,1170,1030,1108,1166,1060,1058,908,659,564,517,1144,1682,963,1054,1094,935,1166,1144,875,947,1200,1310,1242,1800,1672,999,815,727,809,1084,1318,1628,1730,1332,1084,1340,1082,704,410,617,1000,870,1136,1394,1052,1110,1282,1266,1226,1038,1106,1036,881,609,645,1106,1076,1260,1340,1012,1040,1003,590,418,388,455,532,554,566,795,1046,974,868,1268,1538,1466,1502,1742,1686,1314,1284,1400,1354,1620,1128,1286,893,430,762,1092,1170,1744,1728,1374,1164,1042,1134,1036,744,1144,1208,705,509,507,883,1188,1184,1216,1298,1068,901,1002,1220,1606,1840,1406,1082,1196,1484,1510,1262,1164,1568,1602,1322,1350,1572,1370,760,680,631,515,475,682,1001,1284,1348,1216,1440,1316,1124,662,626,635,930,898,1202,1214,775,752,635,651,833,1310,2020,1664,1340,1060,857,1040,1028,697,489,473,363,367,475,711,792,584,616,1088,1264,950,1130,1366,1242,1208,1160,1086,944,818,933,1168,1428,1286,1316,1068,1122,1382,1274,921,729,755,818,687,913,926,710,693,1080,1288,1508,1256,1005,1005,755,338,306,288,339,415,531,442,455,1108,1342,1226,1162,1176,1280,858,946,1248,1176,1338,1546,1234,1356,943,858,1138,1244,1278,1344,1604,1362,1034,1178,1344,1258,822,799,1146,1070,772,675,998,1252,1266,1152,1007,1188,1082,1396,1410,1556,1546,1180,1058,1110,1278,1812,1952,1782,1196,1356,1612,1166,1142,1236,1228,1344,1512,1378,1314,1350,1366,1242,1306,1464,1914,1476,1504,1656,1366,1328,1274,1288,1454,1462,1192,1182,1410,1426,1192,1180,1210,1066,1003,1222,1422,1292,1130,1338,1506,1388,995,1162,1464,1400,1456,1476,1436,1362,1368,1288,1296,1116,796,835,755,570,584,744,962,750,1010,1158,1208,1274,950,540,440,403,316,329,298,221,324,335,251,263,293,237,335,648,1066,987,470,433,371,705,946,876,789,656,516,488,515,811,968,904,816,1062,1088,1003,1250,1308,1336,1422,1604,1156,1148,1476,1104,1058,1386,879,695,933,694,366,286,305,297,341,523,717,622,499,521,482,522,515,893,717,694,1060,841,534,564,754,907,869,910,1036,1142,1080,1216,1138,1168,1442,1620,1644,1470,1160,941,609,770,929,1256,1042,1034,1052,962,855,909,898,796,688,951,1314,1354,1360,1592,1278,1070,960,996,745,706,1100,1422,1352,1260,1052,835,643,658,1078,624,859,1050,1058,842,724,913,977,944,1248,1320,1122,831,842,698,1114,849,724,1036,942,740,689,594,858,1354,1292,1226,1270,1238,1128,1344,1272,1340,1220,1118,1338,1428,1362,808,907,1084,596,354,407,592,875,1474,1654,1378,1116,877,509,450,660,1138,1124,1356,1340,1244,1476,1484,1130,1290,1386,1200,808,494,522,494,462,407,352,353,402,576,594,472,555,806,755,512,456,413,418,788,815,643,568,800,759,539,574,697,687,542,561,699,777,397,357,393,1186,1366,1282,1418,860,420,441,473,744,955,724,625,556,615,912,764,824,1050,1214,1262,1194,1334,1498,1422,1444,1488,1350,1164,1054,1442,1416,1248,1318,1494,1320,1028,1176,1126,975,924,856,686,565,511,564,559,881,1212,989,847,649,536,544,710,607,538,549,529,702,1148,1372,1214,1442,1458,1136,1164,1214,1344,1416,1434,1232,1234,1142,1090,1030,1096,1188,1312,1388,1198,1194,1158,1234,1214,1094,1122,1312,1312,1318,1548,1570,1256,894,1036,1096,1022,1228,1238,977,1064,1222,1074,1150,1216,1274,1256,1192,1102,1342,1084,858,1052,1100,1100,1156,1204,1396,1476,1440,1352,1338,1440,1344,1084,777,903,993,811,796,831,911,1114,1128,1318,1338,1262,1210,1005,786,561,627,613,653,581,771,814,1142,1346,1220,1114,1140,1126,786,681,1005,1350,1268,1474,1238,655,472,506,603,569,729,969,813,809,679,714,834,929,668,872,764,631,1078,1188,1132,1714,1842,1228,1238,623,474,509,827,726,818,1144,1080,793,854,811,561,678,1268,1324,1058,1068,1010,1344,1328,1362,1538,1418,1258,1162,1204,1280,1246,1266,1538,940,617,800,1354,1118,952,1146,1324,1500,1304,1106,1216,1042,1090,1264,1520,1318,1428,1522,1342,1300,1346,1086,930,1066,1036,1064,1164,946,942,1008,910,1218,1360,1384,1344,1396,1264,1312,1574,1582,1566,1372,1054,611,813,1372,1432,1082,950,688,524,521,865,1110,797,696,1080,1356,1372,999,968,1060,971,1148,1030,1358,1426,992,630,672,683,529,629,1090,1270,1292,1492,1244,1342,1388,1316,865,1172,1206,976,761,533,509,548,432,408,367,422,689,1015,666,496,451,396,404,430,449,460,448,417,316,271,377,521,634,710,602,394,352,404,393,482,536,485,480,493,410,611,998,1012,1060,747,550,468,340,352,312,308,312,488,824,744,442,313,461,550,737,862,805,731,563,678,1006,895,922,877,1100,1582,1400,1180,1056,1304,1180,607,473,543,604,397,319,273,272,321,324,360,662,937,863,938,1024,938,935,895,1382,1678,841,930,1110,1010,931,941,802,924,984,777,818,898,783,1120,1324,1436,1003,768,620,369,521,711,1300,1840,1366,1152,1003,583,880,916,825,752,957,912,768,966,933,778,958,1016,848,1490,1058,751,548,569,849,1028,1038,681,474,724,988,1048,1056,978,833,1000,1126,868,778,774,866,1268,1142,1003,1410,1260,790,402,519,505,428,525,736,694,545,507,491,416,525,1252,1948,1574,1004,1094,1162,1078,1316,1232,1110,784,726,830,788,1230,1434,1090,1416,1406,1532,1252,1122,1416,1468,1160,1044,1126,973,1096,1162,943,666,538,811,1312,1112,827,858,904,829,737,492,296,304,429,416,738,1386,1688,1626,996,954,969,542,582,849,881,847,888,832,1001,896,962,1136,1226,1146,1176,1292,1210,998,903,642,400,448,904,1278,1160,1060,1034,993,938,1162,1292,1130,1172,1378,1360,1302,1332,1560,1528,891,422,490,591,583,542,445,407,477,860,1158,1394,1188,1208,1196,1090,722,1010,1568,1038,984,1114,1064,1012,706,514,489,497,456,446,942,1672,2326,2736,2472,2166,1542,732,739,949,1476,1786,1882,1998,2058,2136,1984,1690,1578,1562,1308,913,655,736,733,816,894,943,1009,1064,1028,1062,1052,986,876,828,789,701,875,960,922,968,942,1154,1328,837,684,730,776,655,775,948,844,703,827,703,830,1126,1178,1009,778,1116,1182,1316,1390,1626,1062,646,663,778,923,1244,1292,1206,1324,1224,1136,1382,1496,1608,1088,628,528,719,856,1100,1254,1010,525,644,1294,1610,1324,1368,1550,1520,1512,1498,963,382,323,440,471,436,475,511,687,813,779,737,720,720,813,719,1130,1282,982,1254,1522,1460,1478,1896,1766,1516,1534,1534,1594,1612,1406,1376,1444,1530,1614,1584,1540,1484,1532,1434,1400,1288,1160,1100,1400,1340,830,1021,1232,933,993,1158,1346,1042,853,783,1068,794,930,1504,1640,1648,1272,1678,1750,1528,918,749,1086,1240,1152,1086,805,718,999,1160,1172,1232,874,960,1432,1472,1136,1086,1136,1268,1418,1264,1178,1048,818,999,1202,1354,1384,1300,1196,875,1004,1150,1550,1402,1162,1496,1396,891,780,1066,1005,847,1026,1082,1232,1288,1230,1494,1620,1584,1416,1270,1086,1228,1340,1354,1336,885,1564,1558,1146,1012,1212,1416,1244,1012,849,815,695,960,536,396,419,362,368,580,827,932,1330,1438,1088,1023,781,501,819,1086,1098,1276,1354,1200,1212,1404,1772,1710,970,725,649,748,892,730,836,557,579,407,398,955,1230,774,625,671,706,818,855,937,1330,1378,760,457,506,513,486,601,840,790,968,1190,1406,1084,792,859,620,713,1268,1636,1738,1748,1424,1078,883,673,1106,1682,1332,1026,970,579,576,519,469,527,503,560,492,775,929,511,453,440,440,346,350,354,393,497,484,926,1482,1522,1208,1376,1015,648,806,1236,1324,1330,1322,1116,1022,1252,1150,1560,1128,688,1116,1450,1288,1224,994,630,403,357,341,354,324,352,508,402,477,562,895,630,448,484,390,582,848,825,574,344,344,339,335,305,363,473,519,965,1294,1266,1512,1644,1322,1158,1234,579,329,334,346,246,624,1530,1868,1594,1180,877,678,893,1026,733,767,484,438,917,1476,1172,669,484,444,386,395,403,448,546,420,422,1204,2228,1936,1350,1015,677,478,428,418,720,1386,1848,1536,2088,2212,1388,1106,1134,954,741,579,490,333],[400,352,536,697,890,1114,1068,694,341,360,341,318,255,265,390,259,246,254,210,305,456,450,375,338,325,342,335,292,344,383,480,405,387,503,582,675,961,1194,1262,948,915,1118,808,755,1142,1138,1174,735,596,736,796,904,1102,1212,1188,1084,896,1142,1198,1242,1360,1622,1472,1332,1228,1232,1198,1178,874,1102,1168,1128,1178,1128,1034,571,497,808,1052,1196,1464,1382,1228,1082,835,962,1128,960,769,839,992,1410,1534,1190,1002,948,1036,1168,670,502,600,1102,1104,1202,1198,1180,1144,1218,1388,1526,1820,1614,1666,1650,1636,1556,1314,1666,1398,1062,1086,1116,1110,1170,1368,1280,697,438,713,842,944,1140,1400,1090,891,1236,1236,1126,1108,1170,1538,1386,1518,1036,1034,1190,1396,1656,1804,1764,1624,1344,1048,1062,1354,991,980,824,838,1158,929,1270,1134,716,1030,1096,921,846,1023,984,1088,1230,818,802,943,973,1288,1268,1040,1140,1122,825,616,752,1072,969,714,725,661,575,620,626,794,976,1005,1302,1728,1606,1262,1346,1332,1448,1636,1186,1340,1206,1034,1318,1184,1116,1276,1130,872,927,1102,1756,1472,1009,1206,1226,946,680,751,1040,1212,1144,1021,1476,1510,1198,1001,1408,1862,1772,1466,1156,1030,1106,1234,1386,1404,1088,1214,1572,1382,1636,981,615,623,754,689,562,542,549,672,733,781,958,834,585,493,616,684,686,816,1140,857,543,468,368,430,428,619,1258,1346,811,790,1010,1230,1032,508,601,988,645,641,611,885,1178,1084,1094,1532,1478,1186,1488,1470,1440,1460,1178,758,803,1124,1021,1013,1134,1272,1522,1216,1056,1354,1456,1400,1432,1564,1444,1384,1262,747,614,910,1048,1078,1328,1286,1246,1312,918,403,349,302,376,780,712,428,456,764,1426,1932,1452,1134,1382,1304,1042,1084,1338,1488,1386,961,1176,1188,1019,949,1070,1136,1226,1388,1476,1236,1250,1266,1256,1064,916,756,784,883,845,760,766,926,1058,1038,1038,1280,1384,1256,1280,1342,1262,1368,1034,916,1090,1764,2138,1380,1042,1248,1440,1204,1018,1086,1182,1262,1286,1146,1432,1406,1278,1254,1490,1556,1506,1522,1516,1390,1244,1254,1384,1438,1326,1132,1192,1350,1840,1450,1136,1240,933,1021,1440,1374,1206,1166,1328,1318,1344,1296,1406,1354,1098,904,1054,1184,1240,1154,1015,1228,1184,1024,1078,584,378,406,607,871,681,879,1226,1128,1094,680,297,257,305,224,256,255,272,323,303,242,275,292,269,269,394,939,845,448,367,347,717,1050,1136,1262,987,678,838,628,923,1044,1056,951,1204,1360,1330,1358,1294,1224,1260,1342,1042,1238,1268,1070,1088,1572,998,699,901,629,486,390,340,455,628,669,729,588,763,865,912,865,610,568,498,437,567,590,756,893,929,1152,1001,1140,1140,1046,960,881,828,800,1300,1970,1672,1378,924,618,545,993,1094,1120,886,969,1074,969,1046,1072,949,789,626,851,1094,1144,877,896,822,776,619,677,806,1214,1576,1644,1556,1264,1228,1102,849,817,822,737,885,1044,1154,1170,1176,1218,1114,1114,1168,1244,856,492,515,706,1200,989,805,937,823,974,1142,1076,1400,1450,1246,1164,1224,1188,1272,1270,1118,1090,929,904,952,1128,1428,1036,836,778,605,525,419,478,570,545,536,700,1070,1344,880,741,672,786,1015,1350,1272,1216,1302,1250,1346,1366,1102,904,688,459,539,559,535,438,350,325,390,551,551,519,608,774,725,615,428,388,409,800,890,821,786,819,744,616,620,790,651,505,438,756,656,387,378,433,1164,1400,1284,1382,655,434,451,512,884,1186,1072,813,679,935,1338,1040,989,1334,1404,1554,1488,1416,1532,1440,1302,1384,1476,1210,964,1246,1498,1346,1354,1496,1384,1412,1494,1508,1478,1158,670,481,434,533,650,648,889,880,786,766,667,721,602,500,481,576,681,744,664,788,918,988,1416,1194,1074,1254,1206,1248,1408,1270,1234,1138,1138,1132,1023,1218,1356,1386,1294,1188,1202,1260,1326,1404,1416,1294,1266,1434,1392,1050,1272,1496,1372,993,642,875,1062,1080,1130,1310,1338,1306,1280,1274,1378,1234,957,769,871,785,942,1070,1172,1070,1034,1128,1302,1556,1494,1342,1400,1172,1236,950,943,1140,1108,1032,1072,916,822,1078,1034,991,918,601,688,1142,1156,1204,943,709,627,672,1120,1236,1050,944,1110,1082,1066,1116,877,725,1026,1210,1152,1306,929,795,737,488,497,624,813,991,959,1036,1013,730,706,974,1108,1266,1114,881,1172,1208,1246,1676,1798,1614,1418,763,700,870,840,974,1218,944,714,744,886,655,747,1116,1712,1394,1366,1382,1466,1544,1240,1352,1478,1318,1270,1286,1136,1210,1338,1276,1208,910,673,1130,1316,969,879,1098,1144,1168,1214,1104,1360,859,805,1062,1316,1620,1552,1262,1260,1274,1078,783,918,987,899,1170,1078,894,1021,1120,1366,1736,1528,1328,1390,1434,1142,1194,1444,1630,1520,1362,1252,1040,1100,1256,1226,1246,1062,977,696,870,1036,1048,971,973,1080,1230,1184,1011,1356,1336,1212,1048,772,937,1138,877,540,463,454,373,482,882,1350,1372,1374,973,1066,1222,1112,782,944,863,573,438,401,539,706,797,896,705,807,962,1118,854,531,401,368,376,392,431,458,491,364,254,403,706,662,600,700,526,310,354,424,536,857,1052,827,608,841,633,618,716,595,781,777,488,437,395,363,320,318,309,370,395,670,640,493,567,802,898,971,1526,1336,666,1180,1454,911,968,1246,1550,1688,1422,1232,1190,1430,1294,560,397,581,894,528,332,267,290,263,297,436,734,781,852,1372,1414,1007,915,895,895,1034,820,1012,1136,1010,1230,1130,858,1013,894,884,944,885,869,659,749,1422,1416,1202,990,742,543,528,1158,1528,1472,849,653,722,1128,724,717,868,1142,883,796,1220,1110,970,1274,937,948,1420,1248,1020,792,741,762,910,966,847,435,302,417,538,954,1042,1064,991,782,893,1008,896,897,853,817,1302,1284,937,505,391,365,399,439,502,573,498,440,413,363,416,417,691,1004,1098,1050,1044,1148,1188,1009,703,540,430,615,618,727,1266,1262,1088,1240,942,892,1102,1152,1264,1360,1290,1270,1190,504,409,735,971,1032,713,1172,1444,1130,719,484,427,406,463,371,287,273,292,452,916,1280,1348,1500,1098,951,1122,749,403,531,789,883,994,848,858,693,618,902,1122,1112,1236,1242,1278,1196,813,496,393,534,1068,1023,886,1188,1094,842,913,1164,974,806,920,1334,1482,1432,1378,1592,1726,1158,492,484,513,471,463,366,345,385,785,1108,1406,1272,1084,962,853,705,1058,1678,1019,1072,1168,1142,1032,798,577,461,480,449,413,866,1526,1798,2024,1722,1528,1394,860,600,878,1604,2000,1984,1924,1776,1726,1674,1640,1606,1600,1580,1019,808,843,982,1198,1032,967,1166,1288,1160,1064,1142,1122,1046,1082,1009,1064,1098,1009,1024,935,879,1218,1320,737,836,872,810,839,784,802,727,844,974,659,675,1176,1650,1496,1122,1007,1054,1178,1180,1308,1154,1056,844,517,608,1014,1164,1238,1232,1256,1402,1498,1356,1434,1104,628,532,908,1182,1130,1472,1296,579,791,1412,1558,1490,1596,1488,1432,1512,1482,1026,498,472,491,451,450,696,917,1052,1100,1132,1176,1306,1456,1528,1426,1358,1384,1620,1814,1528,1244,1284,1236,1004,1162,1250,980,1080,1064,877,1080,1238,1184,1356,1368,1340,1230,1302,1428,1606,1394,794,883,1926,1924,1238,1058,1058,1013,1021,965,911,881,996,857,895,855,958,1310,1554,1710,1582,1606,1322,1086,944,995,1294,1240,1062,1086,901,1050,1152,1240,1238,1224,902,1158,1394,1090,1214,1422,1222,1070,1146,1156,1268,1194,706,747,972,871,729,791,774,755,1080,1218,1300,1056,1042,1266,907,753,1106,1086,1254,1132,814,922,1310,1256,1152,1326,1614,1660,1418,1258,1136,1338,1486,1288,1152,1210,1362,1370,1232,866,1138,1362,1274,995,644,922,922,966,749,509,406,404,351,680,1190,914,962,998,1009,1130,810,675,932,1206,1210,1154,1136,1100,1118,1190,1212,1252,1312,1164,740,782,752,745,573,590,598,491,556,928,1384,1128,1304,1056,636,951,1126,836,955,1172,817,404,427,503,548,915,1214,944,781,807,1072,786,879,1188,1238,1262,1448,1576,1546,1416,1432,961,1002,819,1040,1534,1360,1332,935,502,755,929,717,926,811,785,447,762,1122,656,530,555,459,358,303,317,386,430,776,1522,1664,1278,999,1240,942,905,1064,1094,1070,1202,1368,1334,1646,1904,1660,1504,783,726,1258,1426,1314,1544,1616,949,416,382,384,347,425,677,1146,694,633,716,762,633,766,971,602,650,933,1062,823,402,336,367,349,397,536,494,430,745,994,1030,1036,963,791,809,676,351,271,298,306,229,438,776,1050,1394,1358,1011,964,1226,1021,691,621,803,901,882,994,908,731,792,647,455,419,419,418,473,446,390,902,1628,1652,1372,1198,877,603,462,400,813,1488,1678,1294,910,790,856,924,933,860,552,357,365,428],[309,310,479,514,467,669,967,778,386,374,367,294,339,362,339,286,252,257,246,272,357,361,322,325,318,309,330,314,330,478,490,362,517,716,547,672,1056,912,725,854,1082,1278,738,832,1090,1148,915,567,571,844,975,688,792,1100,1104,1110,1262,1019,1064,1180,1278,1458,1440,1322,1094,1184,1296,1410,710,997,1126,1146,1058,850,631,487,441,701,1130,1450,1634,1316,1320,937,774,1478,1280,830,933,888,794,770,795,908,1098,745,581,536,310,305,461,660,761,1076,1130,933,1042,1322,1494,1814,1992,1448,1622,1664,1638,1566,1542,1566,1426,1384,1406,1394,1256,1118,1168,935,594,506,882,1048,1110,1220,1306,964,858,984,1062,1236,1254,1216,1340,1254,1040,995,1426,1654,1644,1664,1598,1578,1314,960,1230,1444,1286,1096,1052,1104,1122,1286,1270,1312,1130,991,1096,1114,1300,1192,1282,751,883,1152,960,935,904,1248,1404,1174,1250,1162,1292,1174,891,951,1316,1328,960,934,934,561,422,394,472,739,1015,1188,1502,1336,1060,1160,1142,1058,1354,1322,1068,987,962,904,854,1350,1084,1005,986,1348,1610,1984,1354,915,1078,1256,1448,1376,1340,1046,1154,1314,1100,1438,1268,845,1268,1796,1780,1616,1544,1060,836,935,899,938,968,724,1082,1146,1478,1230,815,879,925,924,814,640,565,645,711,770,1134,833,498,515,558,538,533,480,569,606,448,375,336,299,321,365,418,833,1148,1002,1008,1274,1296,869,617,836,1112,832,1132,1202,1556,1606,1362,1208,1302,1422,1622,1904,1522,1480,1268,1072,760,791,1332,1588,1360,860,908,1154,1052,1182,1372,1028,857,1362,1432,1528,1522,1174,918,1158,1588,1358,1142,1246,1134,1186,1334,881,520,322,264,365,674,588,626,752,499,841,1440,1346,1600,1604,1516,1230,1130,1246,1482,1068,628,1001,1440,1404,949,574,716,1266,1648,1470,1320,1132,980,1076,959,598,340,495,589,625,594,666,930,1200,1522,1316,1296,1316,789,724,1098,1176,1100,923,984,970,1290,1150,1162,852,957,1452,1376,1230,1296,1206,1350,1234,1288,1336,1276,1392,1414,1410,1434,1408,1400,1476,1356,1308,1172,1320,1338,1248,1182,1172,1734,1778,1262,1284,1500,1252,1138,1228,946,835,1040,1348,1372,1414,1572,1186,1206,1198,977,1134,1130,861,763,961,1148,1100,1070,918,574,372,397,685,951,836,1110,1242,966,1021,822,384,299,372,577,437,283,300,360,397,260,244,286,274,345,424,806,639,401,384,369,502,662,784,990,901,780,1144,810,941,1106,1102,725,825,982,1284,1278,1168,1240,1266,909,1058,1252,1108,1186,1518,1466,1046,1026,1104,866,686,450,417,572,816,549,358,388,548,673,733,880,704,700,697,401,478,629,940,1296,1068,1034,1316,1588,1630,1296,833,841,1038,888,1264,1964,1510,1584,1470,963,744,1118,1318,1154,954,1140,1090,850,843,832,940,1058,1005,719,655,688,496,532,637,563,625,501,577,855,814,1170,1576,1192,1232,1124,1086,1056,901,878,967,1122,1250,1560,1416,1256,1046,1284,1196,1182,933,621,554,850,1274,1212,839,694,701,871,1240,1210,1296,1226,1078,1156,1174,1090,1314,1244,1300,1222,1124,812,1028,1432,1396,976,854,947,1019,922,749,572,553,487,437,447,688,1094,1198,1158,940,893,1206,1498,1284,996,906,1108,1318,1318,1148,788,609,517,558,568,536,416,340,338,438,654,555,529,692,728,631,545,411,648,715,767,1130,1196,1001,801,869,800,715,827,677,639,585,842,664,387,351,480,1086,1344,1326,1220,494,354,393,545,977,1178,1172,1188,978,1016,1190,1220,1240,1310,1356,1538,1510,1434,1538,1220,1028,1382,1576,1324,1040,1228,1402,1376,1298,1298,1218,1162,1172,1238,1386,1284,999,818,596,529,605,767,847,576,576,519,567,686,749,618,477,542,669,669,576,766,1092,1064,1314,1040,1186,1394,1208,1180,1338,1426,1346,993,872,729,781,1166,1410,1512,1386,1332,1370,1368,1262,1240,1426,1500,1236,1340,1330,1182,1190,1450,1620,1584,1404,1174,946,871,1140,1476,1476,1506,1136,720,1076,1244,766,619,786,787,728,827,1256,1338,1018,1028,1410,1514,1212,1294,1158,1140,1268,1140,1282,1284,1054,677,746,1024,1266,1650,1284,951,716,415,413,505,637,953,1214,1146,937,1050,1404,1160,1420,902,895,792,866,1226,1190,1096,1404,937,599,679,473,441,855,722,607,684,844,816,813,775,898,963,944,915,1050,933,940,983,1168,991,1344,1656,1494,1144,1194,992,1100,1576,1260,980,922,752,980,1130,1156,943,1094,974,944,1548,1928,1598,1772,1730,1416,1394,1380,1218,1282,1328,1096,1184,1232,1152,1246,1104,930,935,960,907,986,885,611,816,1392,1238,941,696,702,1003,1240,1522,1328,1228,996,745,1126,1214,1276,1050,932,924,896,1026,1024,830,1098,1360,881,845,1216,1270,1252,1344,1302,1246,1200,1334,1412,1388,1450,1256,1300,1346,1134,790,1058,1384,883,809,1176,1182,908,837,960,1256,1294,1218,1066,1032,819,706,954,998,627,461,411,345,379,474,764,849,1106,1316,1164,1206,1013,645,753,689,574,426,426,463,596,1008,1190,1226,1280,1252,1254,990,594,380,334,339,364,417,508,485,300,232,662,982,705,499,458,328,306,288,363,569,973,1118,988,741,837,628,572,874,901,827,658,385,412,380,380,357,435,530,587,571,704,677,429,421,890,1122,1188,2242,1960,735,699,761,508,1078,1300,1382,1714,1512,1148,1110,1226,1416,608,382,772,1006,676,381,313,311,313,338,439,447,378,509,719,854,1236,907,624,370,562,754,935,943,1006,1208,1144,960,869,748,1002,997,1058,835,507,517,800,1202,1252,845,1038,1086,906,596,788,1470,1186,776,1058,1064,935,985,1058,1136,728,818,1250,1162,906,1174,877,1426,1454,1274,1140,777,772,1040,1214,1250,1120,616,389,510,850,1042,1334,1764,1432,1014,1220,1110,1038,1074,913,1168,1598,1334,692,480,692,530,332,425,478,462,297,377,582,758,832,495,365,590,792,1074,1254,1182,1320,1013,424,338,290,367,644,558,852,1007,1268,1422,1078,1042,1078,1136,1360,1236,1384,1130,861,534,592,676,879,779,613,915,1082,987,656,512,498,517,445,517,456,383,311,434,685,585,706,1076,828,952,1154,987,639,630,937,988,897,840,765,750,896,1026,820,865,1150,857,863,1194,1302,845,717,838,899,714,773,991,896,967,944,1044,999,988,1046,1188,1368,1426,1390,1440,1510,1100,566,457,423,390,368,345,359,342,718,1005,1278,1336,996,756,414,393,1052,1750,1108,1080,1138,1068,976,691,489,517,512,505,441,901,1526,1396,1470,1494,1452,1470,1050,636,752,1194,1438,1428,1236,1170,1664,1722,1704,1646,1532,1360,808,722,755,862,1062,1028,1116,1132,1042,1016,935,1028,1046,992,1188,1104,1013,1104,1230,1106,1048,1204,1346,1178,840,773,848,936,1080,837,806,886,888,972,638,639,1194,1750,1398,1046,843,1182,1192,1046,1122,1274,1394,1158,818,776,1144,1352,1310,1300,1300,1226,1016,1148,1396,1132,727,651,897,800,1192,1616,1744,1338,1274,1210,1152,1210,1322,1260,1302,1470,1356,1126,1066,1142,1240,1306,1272,1378,1390,1304,1360,1418,1368,1214,1026,952,938,1084,969,1130,1404,1050,651,767,893,796,1042,1248,1186,968,879,891,1022,1274,1276,1200,990,1046,1216,1332,1560,1776,1518,986,929,1540,1420,976,1232,995,955,993,1118,977,907,774,582,998,1260,1019,906,837,941,1256,1144,971,1140,1086,849,877,570,783,1470,1176,1094,1490,1634,1410,1210,927,1328,1340,1768,2038,1108,1094,1072,1144,1162,1214,1032,799,786,978,908,880,1332,1266,935,1144,1296,1396,922,957,1218,1066,1202,1194,1018,1220,1152,724,469,580,763,1030,1300,1656,1586,1354,1212,1316,1422,1474,1422,1152,1146,1222,1198,1326,1320,1358,1152,1214,1002,885,1094,968,816,774,501,371,430,322,575,998,700,1040,1126,918,879,616,582,811,1136,1234,1202,1232,1078,963,844,758,825,1158,1188,980,1019,1344,1152,625,730,674,707,790,977,1592,1590,1592,1312,841,1050,1470,1260,1102,1246,1032,589,678,661,853,1228,1296,983,564,460,509,873,1100,1094,1328,1396,1256,1178,1302,1410,1506,1050,855,818,856,1048,1200,1180,830,713,860,1030,859,1140,954,870,488,848,1128,733,553,598,470,382,386,413,408,804,1262,1440,1262,931,739,648,930,1328,1248,825,730,861,1038,1390,1400,1456,1536,1534,1198,1152,1372,1418,1736,1824,1558,914,680,724,487,428,872,1450,1302,912,1058,1108,943,805,755,954,860,899,1252,1450,1024,500,500,853,779,529,596,495,343,400,473,635,446,483,435,364,291,255,242,247,279,287,269,380,618,936,1238,781,1007,1640,1426,648,624,1194,1266,846,601,501,830,1420,1134,792,762,695,653,739,697,515,669,932,927,786,811,906,597,394,330,426,455,589,513,437,662,836,784,717,792,678,600,748,711],[280,292,299,309,325,350,436,527,524,517,434,293,335,371,332,290,285,292,298,300,339,331,366,342,304,326,326,341,358,418,394,416,802,1078,647,843,1078,629,514,593,841,983,969,1108,1138,1108,1046,681,499,876,910,874,903,941,1021,1168,1292,1058,1154,1306,1188,1180,1276,1490,1310,1364,1250,1230,920,709,564,772,1058,878,418,478,498,657,988,1460,1660,1280,1256,1120,1068,1482,1376,1344,1360,1042,880,536,604,892,894,526,352,316,318,350,623,707,542,726,853,797,904,1182,1122,1432,1796,1498,1306,1508,1610,1610,1610,1554,1404,1438,1430,1462,1422,1386,1294,1094,1056,966,1200,1470,1326,1258,1050,974,994,969,1062,1288,1282,1266,1082,1394,1672,1698,1766,1558,1394,1290,1224,1566,1356,1076,1062,1286,1416,1816,1682,1180,969,1180,1346,1260,1134,1264,1444,1460,1366,1318,1184,810,706,933,1244,1002,794,1048,1248,1096,1170,1242,1292,1212,1072,811,1072,1256,1054,1182,886,484,470,262,307,498,1026,1098,1304,1022,750,1054,1140,1052,1388,1622,1354,743,611,389,563,1252,1290,1388,1388,1506,1600,1748,1234,722,709,1142,1542,1546,1666,1214,1178,1362,1262,1178,1078,1230,1532,1654,1464,1672,1732,1174,913,827,687,713,591,673,799,1140,1468,1108,1132,1516,1274,902,946,773,681,846,990,942,976,698,470,507,504,427,438,481,522,478,452,438,351,339,333,410,484,762,1220,1078,1052,968,1100,1166,871,1002,1290,1436,1482,1474,1512,1402,1368,1268,1188,1382,1172,1296,1350,1322,1270,1146,1028,846,935,1082,934,612,729,827,560,833,1430,1242,1178,1194,719,806,1300,1594,1594,1932,2084,1544,1228,1094,1076,1328,1328,1166,874,438,341,365,370,415,676,1044,690,476,920,1302,1344,1328,1274,1400,1498,1402,1212,721,653,523,764,926,1186,850,1000,1480,1642,1394,1226,776,487,462,428,329,456,841,831,689,507,764,948,1030,1144,1142,1312,1314,618,655,1160,1546,1392,1250,1148,965,831,1250,1438,1010,1050,1424,1524,1666,1716,1522,1406,1064,1250,1274,1306,1144,1284,1316,1266,1324,1280,1198,1216,1306,1254,1300,1172,1246,1392,1368,1466,1360,1432,1480,1526,1336,1106,834,729,762,1094,1098,1212,1342,1340,1238,1184,1074,1136,1023,1202,1286,974,1094,1158,991,858,1005,852,516,573,927,1232,1362,1446,1162,786,769,792,467,314,364,422,347,328,272,263,285,328,315,367,383,522,642,525,452,446,374,326,548,1134,1054,955,987,834,1058,846,670,845,924,653,438,846,1354,1284,1148,1118,1084,927,1046,974,838,998,1320,1472,1268,1176,1272,1288,1050,514,427,468,511,447,419,407,401,357,466,578,463,412,353,374,746,899,903,1078,837,692,747,993,1366,1070,579,773,1416,976,1230,1950,1720,1448,1438,1384,1340,1156,1086,1064,1100,1126,890,750,800,518,471,601,674,630,838,960,684,491,448,656,879,610,459,522,783,1148,1204,808,935,1178,1144,1058,1090,994,933,1168,1002,1098,1204,1182,1054,1252,1216,1082,1004,985,1072,1046,1096,1266,1100,640,771,727,1036,1272,1350,1266,1220,1236,807,891,1180,986,1106,1260,1238,1094,1272,1396,1260,844,615,803,841,700,922,1120,1106,887,612,626,861,1340,2042,1654,906,949,1140,1316,1136,755,897,1374,1396,1042,872,729,594,548,479,426,430,414,348,352,502,689,655,615,673,554,530,515,487,722,707,857,1440,1472,1410,1098,1398,1398,1310,989,859,854,733,800,609,401,339,483,1108,1272,1354,934,437,369,390,596,1040,1290,1616,1780,1376,1152,1272,1396,1344,1226,1440,1376,1326,1480,1508,1282,1244,1252,1400,1414,1010,1296,1510,1250,1200,1052,1034,910,1100,1220,1398,1430,1322,1300,1138,621,603,990,746,503,545,533,517,547,571,532,446,343,343,455,623,967,1176,1378,1466,1216,1172,1182,1066,1200,1388,1406,1336,1152,898,780,963,1254,1334,1368,1208,1176,1444,1522,1384,1144,1326,1456,1130,1158,1114,1072,1418,1572,1358,1478,1742,1644,1370,1262,1538,1604,1246,1302,1358,984,1078,1160,907,553,800,1006,930,1388,2214,2008,1522,1322,1468,1384,1066,1246,1138,1092,1152,1278,1300,1086,924,760,891,1138,1388,1490,1106,998,575,415,479,421,367,401,693,1304,1466,1442,1274,933,1252,1074,932,737,726,966,1248,1384,1292,692,501,330,319,444,960,724,882,1003,741,825,819,547,516,979,1166,889,911,723,756,932,1050,1142,1340,1756,1316,762,966,1020,1218,1650,1374,963,852,1076,1060,1023,1142,988,1284,1480,1316,1734,1792,1648,1744,1656,1344,1284,1270,1302,1484,1384,1126,1096,1018,1116,1362,1252,944,861,919,924,1168,969,724,729,914,953,882,731,848,1074,1074,1410,1226,1262,1104,836,1070,1322,1208,1062,1160,1036,1026,1026,730,419,608,686,478,541,900,1158,1334,1232,1064,971,1300,1670,1316,1366,1384,1222,1284,1246,1096,709,572,458,379,573,973,1140,886,594,1052,1354,1272,1332,2016,2160,1194,650,788,806,738,642,411,356,362,375,477,704,1052,1416,1500,1580,1324,751,798,1184,1038,516,413,571,772,955,1082,1426,1604,1380,1290,1100,774,434,334,330,359,407,508,481,312,222,533,796,555,419,403,349,304,311,481,544,860,1001,884,636,644,645,721,982,752,694,569,753,821,673,604,428,523,1092,1202,644,517,748,644,567,752,966,886,1622,1702,981,704,546,478,1104,1214,1028,1454,1646,1286,1070,1170,1492,894,497,697,871,546,373,385,363,359,321,383,386,371,498,399,422,609,805,576,548,738,601,628,833,825,750,884,906,843,855,1046,982,1021,896,807,703,554,836,1172,1206,1174,868,776,803,1072,1284,1218,1276,1452,1246,1302,1228,1188,1162,690,668,930,1116,796,820,1034,1282,1036,915,1128,969,788,1096,1324,1388,946,646,658,819,1064,1060,1194,1440,1116,1018,879,851,1048,1156,1011,1362,1576,1108,494,487,762,606,414,462,372,300,272,358,507,816,753,440,449,775,851,1130,1364,1074,1015,980,586,369,296,316,485,449,613,635,1090,1450,1460,1396,920,885,1076,908,847,531,527,922,1122,1028,840,698,720,984,1015,1334,944,698,568,516,440,490,604,587,593,569,528,471,636,797,935,1052,1170,1236,1021,1044,1292,1086,852,802,1012,1322,1134,858,490,705,903,521,650,1078,1376,1102,902,792,763,837,1122,1106,971,872,1098,1222,1062,745,883,1054,1218,1526,1470,1132,1356,1454,784,436,396,393,345,295,280,314,651,993,1144,1400,977,617,400,391,1122,1664,1158,1004,1142,1114,1015,705,515,655,546,603,481,899,1464,1326,1310,1362,1276,1262,1100,713,716,1436,1680,1202,984,1226,1696,1630,1670,1640,1482,1230,920,924,980,935,904,1028,1108,1132,964,940,996,1090,1174,1108,1110,977,820,819,935,899,986,1154,1470,1136,929,1000,950,1030,1114,850,946,1132,1048,1162,865,897,1160,1566,1378,932,858,1060,1106,1094,1180,1340,1326,1252,1034,1000,1390,1290,1238,1306,1264,1166,996,997,1296,1258,1156,985,926,828,1484,1522,1510,1328,1260,1222,1232,1388,1550,1394,1238,1392,1498,1522,1698,1466,930,713,792,883,772,870,1126,995,800,693,675,730,717,1008,810,905,1056,998,704,459,584,922,1216,1376,802,847,1176,1078,1172,1272,1308,1180,949,993,1028,869,1314,1544,1212,868,733,706,875,1102,1188,1112,1192,987,854,1016,1128,1050,865,1250,1246,1038,1009,788,877,1108,1490,1354,1226,1224,1056,850,610,728,1328,1554,1268,1382,1356,1216,1118,1040,1072,973,1400,1432,781,784,799,910,931,1212,1204,1118,1000,608,442,922,2060,2486,1406,1238,1176,1009,971,968,1404,1474,1300,1092,1112,1112,1040,897,963,943,1046,991,1478,1656,1444,1470,1438,1336,1440,1548,1642,1574,1522,869,818,1080,1180,1120,1019,810,927,1184,1312,895,601,822,623,516,581,572,737,720,762,1300,1100,702,621,502,502,546,603,929,1316,1312,816,811,651,906,1116,1126,756,632,686,935,973,591,648,780,894,912,1110,1582,1656,1174,1230,1148,1282,1246,889,1062,1410,1288,1246,1244,954,1078,1504,1706,1126,1003,1118,797,952,990,965,1300,1158,944,900,1078,1198,1432,1262,692,541,935,1090,1160,1126,1050,1218,797,558,797,1160,1078,784,596,950,1284,919,443,435,384,353,432,561,605,816,987,880,761,762,725,698,916,1214,1180,849,764,943,1007,1172,1502,1490,1282,1172,1023,1208,1372,1658,1966,1822,1300,860,823,822,488,580,1526,2132,1572,1472,1864,1344,910,1306,705,508,520,673,1188,1278,1062,689,637,1056,1334,1066,381,286,290,398,587,791,576,446,387,355,309,233,238,280,305,290,243,300,363,434,926,893,1528,2762,2138,720,536,542,361,318,271,302,923,1940,1704,998,763,695,777,986,957,796,818,845,851,792,821,1001,875,719,708,650,426,405,366,496,625,755,904,888,874,868,728,914,755],[346,325,350,404,308,306,528,626,517,335,282,286,350,410,347,301,305,308,287,300,328,329,417,437,362,365,350,380,472,424,330,430,470,493,619,1138,947,514,474,591,782,969,1082,1108,979,818,984,937,830,873,829,838,762,923,1011,944,663,554,700,812,653,933,1168,1130,901,1430,1274,1312,1160,502,578,880,1134,827,423,579,833,988,1252,1572,1638,1342,1116,1192,1328,1260,1234,1188,887,641,775,794,794,987,638,380,358,351,366,617,1038,1268,739,335,344,528,549,774,742,819,1332,1594,1564,1492,1284,1304,1450,1268,1226,1350,1448,1444,1464,1592,1506,1490,1544,1418,1384,1150,1008,1234,1312,980,805,928,1050,1058,1098,1152,1260,1632,1500,1120,1088,1098,1146,1192,1242,1416,1192,1238,1170,897,1060,1432,1568,1384,1312,1252,1316,1146,1138,1092,1272,1226,981,978,1044,977,825,1170,1508,1050,1202,1060,1264,1328,1588,1796,1140,952,1238,920,822,985,977,1202,1132,593,307,238,286,321,471,744,1158,814,534,902,979,878,1054,1288,1194,1044,1218,716,493,938,1466,1316,1184,1358,1418,1478,1028,891,1058,1648,1556,1372,1346,1282,1336,1148,1058,1054,1152,1536,1584,1302,1264,1790,2002,1498,1344,1154,847,774,841,698,768,1484,1748,1408,1230,1582,1340,817,792,615,581,636,694,632,518,449,472,412,431,422,473,483,536,564,528,448,291,298,366,750,1178,1552,1648,1444,1228,1001,1184,1134,1124,1130,1390,1614,1450,1242,1114,1350,1220,1078,962,1240,1086,1260,1272,1254,1174,1164,996,695,610,672,872,706,840,860,709,1056,1362,1100,1178,1058,562,464,642,1146,1746,1844,1722,1302,981,883,998,1222,1152,1090,746,360,286,284,298,379,480,1001,805,658,1114,1462,1250,1162,1360,1666,1516,1324,1118,781,893,742,544,618,988,1128,1378,1620,1426,1294,1172,833,524,318,344,392,460,756,749,946,1092,1074,1172,1302,1204,1100,1476,1466,1044,696,1132,1770,1208,932,885,553,357,987,1496,1240,1288,1308,1362,1354,1550,1462,1260,1220,1252,1514,1410,1182,1410,1396,1318,1660,1328,1294,1422,1300,1376,1278,1344,1328,1228,1246,999,992,1470,1406,1310,1300,1272,1264,851,550,686,976,1020,950,1184,1256,1224,941,1006,1186,1334,1390,1212,1188,1238,1170,1184,1356,1296,885,648,656,990,1334,1466,1240,824,574,413,335,307,277,286,345,414,279,239,283,388,558,514,345,579,700,514,406,359,382,382,386,973,1288,991,952,846,902,809,761,729,683,928,977,1078,1346,1370,1230,1070,833,1018,1108,1104,978,1384,2216,2160,1308,1196,1152,1052,644,422,518,556,450,408,373,369,343,321,321,296,348,310,344,424,877,1204,1126,797,770,734,479,461,516,479,472,692,1164,897,1102,1368,1262,1324,1188,1188,1402,1468,1188,940,807,1042,905,863,669,684,1126,1290,1270,1116,1158,1154,923,710,667,839,663,595,418,353,580,896,968,709,823,1122,1006,1060,1110,1070,677,669,538,736,1011,1182,1180,1246,1382,1522,1142,750,686,817,827,921,1082,946,1090,1070,1142,1266,1244,1210,1092,804,683,1284,1488,1198,1288,1346,1238,1638,2010,1466,885,688,401,466,530,697,863,1400,1750,1528,1098,971,1288,1670,2126,1666,830,982,1184,1276,1318,1208,1274,1274,1256,1010,817,763,745,711,604,628,451,497,392,392,606,617,608,600,522,455,479,439,468,696,641,965,1490,1536,1454,1198,1520,1698,1604,1048,806,925,877,884,529,409,381,487,1244,1242,1352,855,408,399,441,709,1166,1444,1490,1506,1356,1178,1330,1538,1286,1226,1386,1340,1288,1390,1528,1756,1656,1340,1180,1368,1272,1400,1488,1068,1144,1354,1138,1116,1284,1314,1388,1240,1224,1460,993,721,916,1066,687,525,533,534,504,457,465,428,309,276,283,364,664,1106,1158,1190,1272,1210,1100,1088,1036,1376,1466,1212,1176,1106,1158,1144,1174,1294,1302,1222,1174,1390,1474,1498,1384,1074,1322,1200,1162,1102,1116,1182,1572,1484,1202,1416,1450,1340,1626,1738,1660,1312,1226,1384,1616,1232,1082,1156,1076,1130,1274,1230,1192,1648,1932,1974,1948,1558,1416,1294,1208,1328,1324,1174,1030,1188,1218,966,940,1324,1338,1174,1414,1288,872,966,1120,1168,888,455,397,472,943,1374,1656,1422,1342,1252,1322,1338,1084,1120,950,950,1266,1228,1218,1114,879,469,371,378,356,361,666,915,865,1004,1188,1152,967,1130,955,1188,1072,803,937,1180,1078,1054,1182,1298,1278,1080,841,799,959,841,664,842,1084,971,804,924,980,907,1160,1412,1432,1426,1438,1778,1672,1394,1240,1378,1294,1946,2588,2020,1218,1084,1015,1032,1356,1304,1340,1388,1002,998,1208,1188,1144,983,843,852,1036,1040,997,1360,1308,1188,1478,1444,1182,1266,1292,1088,1180,1078,1182,1188,1062,993,669,534,594,647,483,705,1042,1238,1406,1366,1070,1054,1076,1112,1010,1246,1294,1258,1238,1194,1166,927,672,488,405,372,532,659,818,1026,1370,1372,1320,1596,1952,1574,747,542,562,443,604,1010,652,375,376,388,427,688,1152,1342,1308,1184,1398,1060,833,1072,864,616,640,1005,1288,1272,1182,1378,1678,1522,1412,1212,938,547,357,336,373,372,495,541,400,315,412,579,477,471,412,437,351,487,857,879,925,1054,1102,969,825,858,787,896,1118,1198,870,1020,1432,1274,878,624,653,1166,1390,585,304,513,866,778,571,921,678,940,1380,1015,615,429,382,681,1084,1376,1518,1614,1498,1258,1278,1180,1116,882,592,438,441,476,461,359,381,287,346,384,483,914,1021,843,919,832,416,530,654,414,477,796,839,766,757,919,1006,1138,1158,993,1082,1196,935,445,587,1298,1005,1154,1310,997,1154,1100,860,827,787,1176,1280,1306,1278,1252,1206,1082,824,752,891,714,475,619,717,712,568,678,1216,1256,1056,1046,1192,1244,802,655,805,641,708,709,454,472,513,888,858,1021,1238,1176,1162,1516,1366,792,453,331,342,352,412,445,359,375,416,439,371,325,341,471,607,897,1016,916,692,738,787,1166,1080,552,370,455,597,960,967,521,743,1308,1476,1260,738,615,863,810,821,824,869,905,1036,956,888,1015,894,1206,1270,1448,918,758,921,871,690,538,357,477,775,826,891,710,747,810,908,946,1340,1390,924,1090,1068,672,653,1062,966,1338,1100,539,449,554,531,349,600,1328,1542,1114,803,889,1002,1152,1180,1262,1204,1136,1360,1322,948,628,745,1017,1210,1364,1522,1172,1204,1422,824,442,383,378,337,266,295,398,609,969,1038,1470,1096,604,398,441,1078,1648,1302,975,1098,1028,963,736,580,546,492,539,468,834,1494,1418,1194,1314,1266,1276,1282,927,670,1294,1582,1420,1452,1646,1864,1780,1746,1814,1380,1116,927,1154,998,791,860,840,864,897,854,1062,1100,1100,1114,980,1076,938,824,832,933,997,928,1136,1318,863,771,893,850,983,1084,852,1007,1196,1304,1454,1008,955,1196,1526,1438,1072,1058,1202,1126,1023,1226,1472,1430,1308,1220,1094,1082,1274,1354,1428,1478,1314,1120,905,1338,1017,1422,1312,965,1038,1332,1504,1512,1588,1666,1636,1504,1340,1226,1050,1188,1542,1318,1282,2098,1628,573,348,418,474,372,792,1438,1186,991,997,1096,956,904,940,972,1132,935,837,808,432,423,499,702,973,783,1112,1342,1118,1202,1282,1224,1268,1218,1188,1196,1156,1522,1360,786,833,1030,1098,910,942,1042,1282,1262,874,672,802,916,1020,1294,992,745,803,893,754,810,1210,1450,1236,1046,1230,1214,896,720,880,1284,1482,1360,1514,1220,760,786,1096,1150,949,574,788,857,858,662,602,928,1296,988,798,750,628,576,736,1316,1550,1184,1344,1024,853,1274,1020,1144,1410,1236,1146,1136,1082,1026,1026,1082,1324,1338,1140,1196,1426,1512,1548,1310,1156,1420,1524,1666,1486,1364,1070,997,998,1052,1200,923,727,1018,1536,1582,853,604,1084,1030,713,677,595,943,1140,1022,1036,886,646,545,501,563,664,719,848,1756,1944,1192,976,1007,1015,1178,1048,584,451,678,849,1064,962,667,756,981,1026,912,1324,1516,1276,1252,1450,1330,864,783,1038,1166,1092,1418,1488,1344,1464,1602,1592,1478,1536,1394,1186,1032,935,1146,1010,947,900,973,1284,1320,1364,1306,728,490,872,934,1068,1328,1410,1374,910,534,720,1154,1042,642,580,788,1118,871,456,463,708,613,444,503,520,525,458,496,574,549,633,891,943,927,1054,1130,854,1007,905,844,1288,1466,1260,686,764,1268,1506,1916,1958,1686,995,869,944,583,343,662,1330,1832,1908,1892,2002,1466,1144,1076,870,679,626,642,610,767,857,579,709,978,1054,1015,447,361,308,543,906,955,612,328,342,332,291,230,256,307,387,275,274,289,344,396,705,738,1048,1518,1146,527,473,318,298,275,260,305,901,1788,1424,722,492,462,632,771,731,711,723,810,820,715,725,901,1056,1358,1660,1364,1164,1030,850,805,625,700,823,729,852,758,507,601,614],[420,384,420,370,271,357,489,398,272,242,345,457,517,490,471,406,287,241,252,303,293,259,287,354,375,339,341,412,512,392,372,383,381,402,792,1076,710,456,483,550,765,1088,1212,1214,964,631,607,733,1074,832,638,671,764,747,781,672,563,470,430,536,594,1042,1246,999,825,925,867,1210,1074,461,438,578,694,560,529,633,852,989,897,1060,1414,1414,1204,1058,1148,1146,1138,1118,924,655,835,905,960,880,664,615,684,630,629,982,1088,1138,561,352,314,368,375,491,422,536,1190,1670,1642,1516,1382,1660,1800,1242,1326,1418,1340,1234,1356,1462,1500,1650,1662,1582,1428,1222,1194,1096,1256,1086,1096,1210,1198,1088,1188,1374,1498,1368,1074,858,963,1202,1042,1056,1030,1108,1130,1184,997,772,763,1003,1322,1042,1272,1274,1216,945,1062,1138,1154,957,941,1120,1100,986,871,1114,1240,879,661,821,1202,1368,1476,1500,1186,1244,1404,1036,890,1212,1246,1136,982,534,304,321,317,448,475,514,703,544,508,706,948,1168,1110,799,733,1021,1222,1106,1054,882,999,1110,896,1104,1508,1242,1130,1076,1240,1138,1160,1328,1170,1478,1748,1212,1170,1384,1522,1722,1476,981,1108,1322,1456,1338,1272,1140,972,1072,1013,799,1080,1760,1934,1918,1734,1620,1526,1138,926,752,612,493,496,482,440,446,451,400,386,434,466,513,590,593,486,360,407,483,411,735,1112,1606,1316,1130,1152,1302,1390,1310,1296,1264,1214,926,977,868,853,1188,1154,792,810,1152,1258,1360,1256,1168,1174,1210,881,767,802,1020,1074,1074,1188,1013,1038,1206,1132,973,983,760,464,457,397,559,1086,1488,1530,1140,1090,1278,1154,853,943,919,666,399,383,337,321,357,379,855,1058,1368,1658,1580,1440,1646,1328,1172,1154,986,1088,1184,1058,1124,940,1066,1304,1256,1392,1588,1700,1910,1444,1372,1230,720,441,390,458,981,1154,1412,1820,1486,1372,1246,1096,868,1404,1292,914,948,1102,1302,944,614,610,692,814,824,1390,1378,1268,954,1268,1108,1344,1362,1316,1444,1308,1260,1338,1312,1228,1146,1058,1206,1328,1472,1440,1262,1212,1120,1044,982,1166,1066,1066,1152,1468,1128,1324,1330,1204,1060,758,563,648,1196,1222,1200,1642,1484,1412,952,965,1324,1322,1524,1406,1282,1384,1336,1178,1228,1338,1090,695,739,1046,1052,1244,968,589,459,390,430,612,736,544,320,264,268,251,287,452,951,893,486,539,628,434,354,491,576,478,284,330,528,550,724,805,731,687,811,1001,946,1192,1244,1216,1148,1210,1342,988,820,844,715,655,862,1324,1888,1794,1210,873,901,850,581,471,1236,1450,667,455,339,349,379,296,274,289,338,319,337,540,848,1154,1094,865,780,532,380,348,420,529,466,618,1056,1318,1516,1136,834,1052,974,1036,1454,1252,1170,1224,719,864,954,1078,864,675,603,1192,1654,1342,1422,1390,1038,710,720,937,726,661,761,854,911,885,863,881,860,782,645,937,1030,944,587,611,767,790,1030,1404,1482,1412,1222,1260,733,465,403,745,966,766,1128,1366,1284,1284,1210,890,897,1348,1326,1216,1224,1670,1640,1424,1382,1476,1552,1784,1952,1516,1034,810,695,716,858,622,680,1106,1368,1338,1056,1154,1622,1466,1378,1348,1106,990,1034,1192,1340,1310,1190,893,902,941,886,1026,1174,924,790,724,492,481,465,509,648,655,564,483,448,438,464,465,617,703,574,1130,1494,1568,1362,1306,1512,1582,1490,1009,769,984,959,930,485,385,388,579,1238,1298,1324,877,373,507,684,839,1248,1592,1648,1300,1048,936,1122,1288,1230,1270,1652,1866,1410,1534,1504,1588,1356,1424,1286,1372,1144,1032,1190,1076,1090,1256,1264,1018,949,1038,1092,1014,890,1050,1140,1224,1250,1026,826,767,702,587,576,494,514,389,441,388,305,340,702,1028,1078,1106,1128,1208,1306,1288,895,1232,1300,1220,1170,1172,1372,1318,1358,1312,1182,1150,1268,1360,1356,1492,1300,1480,1370,1274,1438,1306,1318,1194,1118,1005,1318,1480,1212,1028,1386,1720,1612,1604,1538,1548,1688,1470,1434,1354,957,1244,1362,1148,1370,1782,1916,1744,1644,1364,1272,1300,1296,1194,1128,792,734,1018,1298,1262,1130,1172,1252,1154,1442,1364,823,921,1354,1138,589,396,392,692,1072,1376,1538,938,697,847,1226,1342,1406,1602,1434,1400,1238,761,581,982,982,637,440,433,434,484,642,835,1005,1130,1126,1013,1236,1186,1124,1210,1500,1242,1148,1172,982,1038,1070,1202,1086,716,698,971,924,672,700,1280,1390,954,865,1152,1062,816,719,750,1130,1418,1658,1526,1356,1448,1606,1394,1228,1636,2026,1876,1228,808,1118,1092,1302,1350,1562,1706,1416,1234,1286,1310,1336,1312,1130,698,828,1122,1228,1314,1236,1150,1522,1530,1344,1996,2152,1390,1228,1358,1306,1274,1136,1060,1050,830,978,1204,882,659,838,1334,1452,1304,1164,1230,993,667,721,993,1144,1346,1354,1366,1374,1244,1244,969,565,803,775,700,969,1218,1080,811,1152,1302,864,633,609,554,651,579,494,902,788,424,433,492,552,835,1114,1012,975,1232,1472,1290,807,466,462,686,844,946,1234,1340,809,862,1504,1260,1342,1332,1098,692,415,404,432,390,471,577,543,522,585,675,553,509,405,432,531,767,1052,1164,1066,1046,1240,872,605,1056,951,1076,880,811,985,1100,1154,1004,778,582,789,1770,1936,830,349,314,681,932,622,728,666,962,1436,1078,514,426,678,916,1032,1108,1290,1252,1446,1448,1250,1172,1054,964,932,498,552,823,704,419,342,285,377,407,653,1450,1800,1550,883,590,370,405,382,343,586,898,805,887,858,797,1122,1574,1324,1046,848,793,638,571,830,1332,811,700,1074,1268,1246,765,474,483,830,1096,1026,1234,1200,1228,1212,1184,955,691,625,666,753,561,385,453,558,966,1166,1224,1032,955,1019,1048,706,726,828,464,509,590,377,547,529,439,653,918,1068,998,1182,1396,987,590,470,470,487,348,476,585,506,466,477,442,368,485,856,797,661,1194,1072,749,474,791,948,1116,1018,642,439,608,750,973,995,1001,1042,1152,797,978,896,606,739,860,875,963,1005,1028,947,819,976,876,869,1250,1210,1034,1194,1158,1128,1168,904,823,618,706,782,1015,870,868,747,802,1028,979,1194,1070,724,883,622,483,1138,2170,919,571,608,392,512,771,533,264,608,1288,1274,903,769,970,1172,1642,1484,1242,1274,1518,1542,1194,815,755,830,980,1258,1330,1478,1402,1124,1338,1110,532,375,394,345,317,386,433,588,962,1094,1600,1372,719,431,535,1136,1700,1344,957,1096,1100,1096,834,583,414,497,619,567,890,1528,1480,1218,1358,1328,1290,1310,1120,702,748,1208,1420,1324,1494,1908,1854,1742,2136,1582,1196,1011,1252,1226,1148,1036,850,747,712,971,1088,1032,1078,1032,1038,1013,1042,824,817,899,925,897,1282,1274,758,796,734,791,1019,1134,908,968,1386,1696,1502,1158,1164,1240,1496,1478,1224,1176,1180,1188,1036,1246,1470,1504,1236,1013,994,1360,1576,1560,1570,1512,1494,1434,1228,1512,1590,1754,1664,1548,1664,1656,1478,1278,1062,905,985,1058,1176,1466,1704,1642,1710,1344,1024,1736,1650,730,686,629,528,396,860,1396,1388,1021,772,904,888,965,1008,1054,1098,695,847,1042,543,461,385,451,492,662,1134,1268,1096,1007,1124,1322,1376,1370,1236,1158,1326,1232,1060,1084,1288,1350,1204,1052,942,1042,1216,1112,1108,868,498,645,976,1034,973,719,573,930,1176,1024,1005,935,807,747,965,1048,1134,1082,1078,1178,1218,1228,1208,1006,738,693,1040,1168,1132,743,1064,1228,1208,973,822,1092,1332,1026,761,613,807,997,919,885,987,1172,1326,1306,1232,1286,1090,1042,1276,1252,1412,1390,1128,855,1354,1436,1226,1114,1202,1208,1452,1664,1556,1264,1172,1086,1242,1614,1578,1270,1036,1192,1196,1052,1190,1216,1004,991,1160,1036,580,603,839,929,689,563,628,1166,1202,638,621,745,451,386,405,619,721,850,894,1632,1798,1108,902,1096,1256,1346,744,458,571,977,1036,1242,1144,833,636,823,1040,783,775,1192,1338,1208,1568,1582,1204,643,1132,1030,723,1052,1396,1342,1490,1656,1642,1656,1422,1338,1538,1472,1158,1166,1122,1015,735,929,1222,1010,1194,1250,711,539,1216,1502,1164,1212,1248,1470,1116,583,788,1294,1226,706,478,585,653,804,496,419,499,462,472,540,539,546,683,1040,874,542,600,813,1064,1094,1240,1330,1286,1222,979,1244,1300,1214,1484,1007,645,1114,1584,1888,1718,1070,985,1316,1080,662,589,772,797,1274,1460,1526,1532,1308,1300,1288,1242,909,491,430,382,542,709,591,1030,1228,684,405,345,408,316,736,1366,1262,753,368,333,276,261,235,255,319,384,299,254,323,445,485,496,407,432,484,463,388,384,311,453,641,729,506,518,734,776,559,401,533,659,567,542,564,554,536,523,556,551,555,827,1208,983,977,1868,1556,1488,1138,819,630,537,473,625,714,482,397,440],[409,405,372,318,274,297,275,231,407,618,731,761,821,554,511,383,278,230,270,347,377,325,264,305,347,350,350,419,437,363,386,346,335,442,763,821,692,569,523,609,709,860,1074,1266,1108,771,755,867,786,606,545,748,912,725,661,628,540,352,448,698,765,960,1072,1134,1202,1010,900,792,684,431,410,345,255,387,389,311,411,702,850,1100,1472,1518,1354,1252,1294,1298,1334,1296,854,728,924,692,654,1023,1196,1030,1021,1042,929,1122,1160,729,413,343,298,319,360,382,298,550,1488,1954,1476,1272,1290,1600,1486,1278,1362,1414,1290,1192,1226,1306,1192,1392,1474,1582,1566,1550,1514,1322,1160,1140,1202,1298,1340,1358,1546,1560,1304,1178,1118,990,973,981,720,761,1034,1278,1222,1100,1040,901,728,1014,1382,901,806,1122,1090,1028,1094,1296,1274,1108,1034,1202,1262,1298,1238,1030,916,1100,1034,1104,1292,1270,1208,1056,1210,1464,1516,1250,1302,1558,1396,1060,664,464,374,396,374,489,530,363,332,402,444,358,532,690,948,1046,792,756,850,1274,1600,895,832,1130,1294,1412,1572,1524,1434,1312,1078,705,1030,1458,1192,1306,1528,1134,1122,1804,1718,1710,1088,824,776,933,1062,1130,1478,1548,1264,1174,933,1004,1618,2028,2182,2126,2084,2026,1914,1674,1278,885,568,337,407,510,490,448,395,418,378,439,529,540,652,696,607,471,455,665,818,529,895,1166,1126,1174,1250,1238,1268,1114,778,908,1280,1322,1396,1094,1344,1244,848,639,993,1212,1274,1394,1238,913,899,1144,949,962,1216,1156,1122,1198,1154,1174,1194,1260,1278,977,808,487,464,376,357,424,521,1023,1548,1498,1334,1538,1400,960,1152,1532,1242,701,587,447,334,365,473,758,1298,1526,1222,959,1138,1534,1358,1118,995,819,1280,1548,1106,747,867,1068,1130,1298,1306,1328,1460,1394,1346,1288,1094,1128,826,667,838,836,878,1350,1824,1648,1506,1202,853,789,1456,1338,1192,1408,1218,1034,935,815,766,821,910,1114,1524,1338,1276,1016,1034,977,1042,1222,1442,1444,1030,1032,1192,1246,959,861,1270,1336,1172,1170,1090,1178,1172,958,794,912,1610,1128,1080,1166,1204,1178,1152,755,794,822,922,946,849,1310,1410,1538,1770,1418,1196,897,1042,1126,1076,1238,1344,1408,1398,1326,1354,1268,1162,910,1030,1328,1284,1140,1118,702,435,436,440,539,985,1064,602,331,305,302,315,325,565,934,835,676,852,1016,535,429,506,619,539,307,272,415,639,977,1048,634,592,747,1200,1088,1070,1086,1044,966,1362,1402,998,919,803,517,511,818,1038,1372,1566,1378,1015,981,967,683,667,1588,1666,923,592,378,369,460,341,317,444,499,437,443,691,974,1152,1150,1200,741,365,354,399,486,473,433,581,935,1250,1334,1132,909,1104,1162,1056,1302,854,602,816,873,1040,1026,1160,1172,994,727,1060,1040,1102,1482,1246,1030,1020,1036,1090,948,880,966,1182,1148,822,896,1088,1150,1080,813,791,865,782,816,933,973,932,1102,1526,1500,1490,1188,921,774,633,774,951,761,653,1074,1488,1536,1224,1196,1294,1260,1228,1648,1466,1060,1112,1284,1334,1370,1382,1384,1368,1032,899,877,904,866,984,955,584,479,887,918,656,811,1102,1412,1340,1021,1388,1264,1198,908,895,1078,1302,1390,1154,885,651,750,989,995,727,749,610,505,558,574,661,770,678,501,452,455,508,539,487,652,583,455,1021,1448,1510,1288,1216,1576,1620,1472,909,774,942,905,835,543,393,340,767,1282,1310,1366,835,396,401,514,949,1230,1574,1698,1440,982,892,958,1001,1238,1202,1316,1340,1294,1600,1302,1020,829,1184,1256,1178,1238,1376,1256,1170,1056,1108,1346,1038,894,1106,1072,959,925,939,1080,1282,1384,1360,1004,843,863,634,622,542,593,551,597,602,581,466,694,902,1064,1252,1302,1094,1236,1276,1124,1094,1294,1432,1308,1352,1372,1372,1412,1348,1334,1314,1348,1260,1214,1412,1288,1568,1374,1400,1458,1258,1010,1102,1272,860,1316,1112,905,1220,1154,1134,1234,1450,1538,1628,1618,1506,1466,1218,891,779,955,1000,1682,1992,1946,1730,1482,1366,1312,1252,1310,955,813,390,406,645,1258,1318,1256,1202,1164,1152,1204,1154,915,908,1250,689,399,377,400,609,876,1248,941,1100,1278,736,813,1388,1560,1506,1362,1438,1352,843,612,761,864,764,846,1013,838,634,782,1078,899,1164,1136,778,983,1184,1158,1224,1356,1254,1168,862,579,724,1010,1338,892,639,839,1100,1220,1086,1170,1158,988,1188,1152,942,714,644,741,725,1234,1754,1740,1500,1402,1650,1720,1372,1404,1408,1286,1372,1230,888,1005,1230,1236,1270,1288,1258,1294,1328,1344,1270,1234,1240,1240,1136,1058,1126,1268,1320,1250,1140,1212,1308,1322,1832,1690,1498,1318,1268,1236,1136,1013,1074,1142,1154,1134,1162,1328,1256,767,935,1248,1090,937,1009,902,850,993,951,1042,1366,1422,1316,1260,1266,1452,1242,888,1110,1112,1122,1126,1078,971,694,952,1014,904,779,796,1122,1242,848,469,670,778,489,518,677,824,1160,1148,948,1058,1286,1284,1374,1054,439,419,625,727,897,1278,1358,762,526,832,687,728,811,715,528,523,516,421,411,506,603,563,442,602,708,609,463,408,482,712,1044,1368,1376,1372,1250,1362,1042,788,1026,925,927,907,1032,1120,1036,827,638,404,438,669,1634,1582,814,378,312,813,883,470,535,619,823,1466,1268,969,1096,1348,1036,1015,1066,1204,814,1062,1456,1352,865,655,987,1046,450,611,1142,942,488,331,320,367,328,930,1676,1560,1494,379,472,628,580,533,464,705,887,633,680,807,849,1300,1470,1058,916,621,525,711,1007,1166,926,982,1028,563,750,1134,1166,684,766,1036,1064,1148,1132,1202,1318,1250,996,872,778,720,863,948,655,508,430,587,984,1140,1086,1104,1186,1124,1058,749,666,666,518,523,484,455,950,703,464,1026,1160,813,926,987,969,637,418,459,824,728,443,581,606,420,338,355,368,332,511,843,697,974,1434,1236,884,569,924,960,1011,1426,951,570,714,566,681,894,1296,1440,1098,856,1036,874,714,712,855,728,820,973,1124,1050,1052,1070,825,810,1260,1138,1023,1386,1306,1238,1284,991,782,919,1040,846,893,877,1080,815,709,998,916,852,639,497,609,779,512,733,1096,875,611,388,419,677,717,428,452,449,750,1188,780,689,899,1138,1298,1058,974,1172,1316,1064,1104,1038,788,875,1080,1250,1410,1690,1650,1302,1422,1338,672,418,388,378,374,382,407,661,979,1034,1316,1208,714,500,739,1218,1774,1466,1152,1216,1380,1368,909,391,450,670,659,507,844,1498,1448,1154,1178,1192,1136,1090,1156,896,608,960,1208,1294,1476,1652,1656,1426,1904,1732,1308,1148,1326,1598,1494,1134,941,652,668,968,1044,1052,1284,1144,1098,1019,982,722,602,803,931,935,1294,1228,743,786,789,812,1058,1104,974,921,1230,1598,1432,1188,1076,1120,1512,1574,1450,1404,1340,1450,1470,1560,1714,1714,1564,1412,1496,1674,1688,1772,1838,1916,1918,1776,1682,1810,1736,1512,1390,1438,1484,1044,1017,1090,583,482,1052,1134,1026,1058,1278,1460,1564,1548,1458,1340,921,583,760,772,670,398,916,1224,1244,857,514,541,515,849,1128,931,893,528,964,885,568,523,504,465,411,594,863,845,998,1278,1426,1582,1352,1372,1262,1614,1652,1220,966,788,893,1176,1182,1198,954,1312,1582,1504,1390,1020,729,839,802,913,1284,872,553,879,1406,1312,913,661,695,1002,792,837,1009,944,820,838,850,1062,1064,1224,1028,847,1036,1140,1218,1232,1394,1370,1214,1036,841,1036,1262,1124,1132,919,985,1276,1286,1632,1622,1418,1638,1744,1572,1692,1640,1272,1398,1262,1050,1170,1198,991,1134,1056,968,1216,1246,1052,1302,1470,1510,1104,1192,915,841,1068,1586,1450,854,1001,1086,1060,1152,1210,1068,1178,1342,1158,668,576,1013,1260,1054,856,863,1072,1102,785,926,835,453,665,803,778,648,739,901,1356,1762,1324,885,1002,1136,1240,645,475,899,1146,1005,1330,1338,1102,816,713,803,805,783,857,1204,1632,1648,1402,930,697,1044,1364,1088,786,1008,1238,1416,1374,1258,1004,1092,1400,1480,1364,1390,1284,1156,1238,1090,1118,1246,1332,1360,1008,853,630,1240,1250,1170,1274,1332,1488,1262,586,665,1180,1566,1048,933,1166,1416,1246,645,429,480,447,496,592,485,455,820,1074,959,743,609,814,939,882,993,1058,1328,1308,1112,1400,1218,1118,1422,1492,875,918,1258,1434,1040,937,1542,1404,1078,934,727,927,1144,1076,1280,1034,965,1182,1362,1340,1354,1034,357,312,326,339,454,397,531,632,484,323,331,393,351,504,589,310,290,299,278,249,250,219,235,302,266,231,230,323,523,550,532,434,618,752,560,420,362,691,940,1244,1218,601,395,772,1178,909,721,644,659,712,1122,1168,926,896,869,777,715,838,1088,1226,962,841,1244,1498,1768,1358,873,601,475,395,533,796,571,390,478],[386,374,326,302,313,469,560,784,1090,803,935,764,863,584,440,381,283,318,378,398,487,406,270,339,369,398,372,392,383,350,314,313,392,694,849,739,716,632,673,694,662,918,1000,1116,1013,867,811,733,755,633,875,759,516,460,560,661,477,296,376,546,717,1106,1202,948,910,762,718,727,625,410,369,328,340,408,419,438,686,1152,1068,1026,1358,1414,1342,1072,1140,1256,1332,1164,916,1054,1088,883,1004,1376,1274,1148,1158,1152,990,1126,1150,764,549,547,597,575,560,471,443,569,1070,1212,962,1188,1132,1058,1032,1146,1204,1068,1166,1368,1250,1238,1128,1180,1160,1174,1102,1362,1582,1512,1448,1378,1270,1266,1562,1560,1278,1104,1228,1294,1012,1013,1094,868,750,850,1156,1290,1028,960,1068,722,614,777,1062,942,1122,1094,1070,1212,1472,1632,1380,1108,993,1102,1266,1404,1344,1306,1250,1310,1344,1336,1332,1338,1146,1532,1924,1450,1348,1168,1346,1476,1316,899,586,545,533,515,341,311,377,273,313,375,433,371,399,434,910,1136,943,788,544,1062,1306,686,1152,1380,1346,1670,1482,929,792,1412,1520,895,1023,1448,1230,931,1246,1160,1222,1616,1672,1300,850,830,954,922,872,1092,1582,1920,1558,1194,877,1282,1804,2178,2178,2028,2026,2048,1980,1760,1554,1252,600,333,319,474,505,431,366,376,419,619,768,808,760,659,847,625,641,1260,1444,1022,1088,1202,1430,1400,1260,1250,1146,722,685,1058,1432,1566,1482,1362,1470,1036,840,1050,1142,1066,1066,1340,1238,882,934,806,796,1206,1354,1224,1428,1286,1008,1118,1018,1216,1392,1084,770,554,413,349,384,420,444,577,939,1342,1594,1572,1216,882,805,1350,1094,1404,1708,983,464,622,808,914,1274,1268,759,1022,1492,1528,1536,994,743,807,987,1390,1448,879,954,653,514,615,949,893,1036,1070,1448,1302,1278,1210,724,977,1078,631,766,976,1446,1744,1630,1182,1040,1220,1228,1170,1394,1320,1116,898,836,957,1015,1228,1038,1076,1138,1166,1316,1158,973,921,1196,1416,1478,1434,1248,1448,1562,1396,966,830,1142,1134,1284,1222,897,1110,1178,998,988,1250,1576,1184,1178,1248,1274,1346,980,450,395,607,886,1122,1618,1536,1346,1458,1534,1316,1266,1192,1280,1522,1440,1238,1248,1128,1056,1248,1248,1176,1162,1026,1090,1170,965,1190,1366,888,725,749,492,572,871,907,516,338,439,449,400,427,345,322,402,580,836,946,754,695,726,769,633,508,593,760,883,1094,1072,659,572,780,1108,794,729,1154,1076,1088,1412,1234,900,1019,998,639,471,841,1004,1152,1194,1268,1326,1210,912,788,934,1434,1344,1118,576,375,412,420,359,392,565,628,598,725,920,1152,1172,1114,996,666,428,428,482,593,478,637,1064,1100,946,792,979,1070,1202,1504,1526,1238,982,919,729,689,606,780,1116,1212,1176,1164,1148,940,1368,1418,928,894,1010,1044,879,1004,1282,1212,1174,1054,777,932,938,1166,1182,749,637,545,629,1108,1176,728,708,1208,1408,1100,938,894,1266,1342,969,858,632,272,539,1402,1896,1458,789,911,1344,1306,1294,1568,1282,913,1003,1096,1116,1080,1290,1316,1274,739,650,898,857,772,720,595,507,538,709,630,684,889,918,1174,1066,997,1326,1294,1292,1080,885,1106,1516,1404,1220,1013,719,753,1001,1023,792,606,548,548,526,527,696,779,704,502,408,411,469,455,484,536,478,554,1122,1488,1422,1238,1250,1610,1570,1490,853,842,941,899,752,498,421,368,817,1400,1284,1382,623,385,387,452,1072,1344,1508,1394,1246,976,759,861,1216,1252,807,800,744,875,984,1084,1220,1284,1122,1082,1224,1362,1416,1320,1090,915,1108,1230,1412,1264,1272,1250,1150,1268,1296,1206,1302,1372,1462,1196,883,662,592,579,603,616,611,571,555,519,463,543,785,1224,1418,1344,760,922,1516,1522,1334,1422,1464,1400,1292,1318,1416,1260,1432,1450,1348,1372,1176,1242,1290,1382,1426,1384,1406,1284,1314,1286,1318,961,1124,1274,907,1178,1328,965,1018,1506,1388,1224,1520,1650,1650,1256,1250,1404,1238,993,1280,1802,1912,1808,1678,1538,1592,1288,705,789,777,630,412,386,586,791,972,1086,957,1044,1052,1102,1180,1396,1294,1312,637,413,365,362,430,833,908,865,1400,1310,975,977,1318,1032,1282,1478,1454,1426,1296,917,596,673,904,1328,1850,1194,502,642,1102,973,1248,1228,1056,1102,876,857,1216,1478,1392,934,535,314,408,777,979,653,479,546,866,1344,1426,1052,433,591,1020,1108,984,614,604,836,700,1096,1562,1326,1258,1446,1662,1456,1350,1414,1316,1508,1602,1470,1154,1188,1356,1350,1310,1174,1088,1134,1320,1584,1430,1328,1224,1260,1398,1452,1338,1152,1324,1382,1272,973,1216,1308,1236,1246,1272,1252,1340,1224,908,747,814,1152,1256,1013,1005,1244,1174,813,966,1040,930,962,847,805,880,749,894,1202,1234,1396,1296,1218,1138,1296,1282,1190,1050,895,1096,1436,1314,1196,925,965,1038,1106,1016,1126,1642,1824,1306,630,582,940,882,819,824,822,1246,1368,1090,894,974,1054,1230,1294,760,466,553,786,1276,1298,1224,1126,1004,974,662,391,504,570,482,777,602,406,429,420,552,639,568,635,680,610,568,512,547,626,770,1007,979,891,808,763,574,497,486,594,761,648,633,959,1001,988,727,602,546,487,532,567,508,304,344,624,672,602,585,414,619,1352,1538,1330,1154,1092,860,944,1134,951,782,854,924,1372,1210,816,1076,694,401,954,1488,1094,615,540,508,366,419,1032,1354,1098,927,379,399,775,947,683,473,536,462,507,717,672,995,1392,1304,1022,924,705,478,610,1002,1186,876,1016,1132,494,464,752,1298,1082,1242,933,855,983,1194,1232,1276,1208,766,665,729,889,744,860,797,908,576,713,1234,1670,1644,1418,1432,1182,855,583,475,620,658,846,625,529,847,750,725,1306,1396,868,1030,873,624,478,344,371,406,359,413,425,364,446,489,453,530,367,382,388,740,1220,1366,1270,1050,780,881,873,1218,1904,991,379,394,394,595,867,1072,1212,1004,841,708,685,628,736,1114,898,948,1096,883,706,904,1034,846,517,694,888,921,871,1072,1352,1030,644,520,549,633,821,1148,1184,1140,929,910,1114,647,734,515,495,842,891,683,907,1112,1058,818,549,490,679,745,854,1268,759,871,1382,965,1028,932,765,765,877,1252,1400,1040,584,895,896,745,973,1104,1136,1350,1520,1520,1494,1610,1440,802,478,423,372,358,354,335,607,852,716,623,546,380,423,931,1288,1566,1186,1096,1196,1380,1766,1268,419,443,473,518,437,671,1382,1434,1162,1188,1156,1017,963,1242,1036,532,678,1094,1518,1318,1428,1600,1444,1746,1648,1278,1216,1236,1368,1390,1076,688,473,610,900,1142,1250,1386,1084,1058,1176,1382,1340,675,952,1120,1182,1438,1272,907,875,924,1028,1214,1296,1362,1330,1256,1294,1334,1466,1460,1532,1534,1502,1558,1660,1682,1586,1476,1458,1608,1696,1690,1766,1622,1708,1840,1742,1700,1782,1754,1594,1642,1730,1324,910,1040,1438,1550,1378,1396,1296,891,711,985,1170,1132,1064,1162,1278,1444,1264,1088,1092,1064,849,853,867,980,588,706,935,1170,1392,1042,818,1014,1228,1178,953,984,971,1152,881,528,503,437,457,509,659,828,526,650,1188,1354,1406,1282,1224,1234,1312,1246,1214,1040,753,941,1246,1318,1230,992,1226,1562,1458,1324,850,804,1232,976,822,992,742,611,925,1198,1162,882,598,960,1376,926,615,1076,1154,535,430,442,822,1013,1252,1254,1062,1206,1200,1194,1426,1454,1296,1150,1010,618,849,1002,1194,1448,1180,1030,1132,1564,1750,1372,1250,1528,1584,1438,1494,1580,1448,1416,1494,1302,992,842,800,681,480,706,1170,1266,1054,689,878,1434,1306,1330,1056,833,955,1422,1330,1168,1206,1052,920,816,985,844,927,1318,1588,1124,789,974,1246,1298,1176,1186,1274,1244,1238,1142,953,1021,1654,1530,805,517,750,999,1236,1524,1132,897,1124,1156,1186,658,435,1108,1316,894,1013,1246,939,849,991,772,724,783,836,1012,1298,1438,1048,644,992,1376,1542,1412,1076,1020,1420,1396,1346,1166,851,1210,1264,988,981,1380,1528,1374,1500,1306,1132,715,651,484,429,728,874,1214,1184,1102,1244,1326,1464,1360,752,737,1114,1770,1582,1396,1192,1094,981,677,499,553,565,537,484,424,457,723,568,643,1120,935,681,606,540,554,594,896,1013,992,1074,1062,1194,1200,1382,1256,1048,1324,1618,1458,1616,1660,1134,1332,1376,871,1152,1628,1308,800,619,1332,1764,1290,1010,1192,1108,556,398,337,274,365,406,366,380,379,324,340,384,366,299,281,305,288,309,322,298,276,252,275,299,253,240,300,298,454,515,486,366,407,468,443,380,361,479,735,1212,1060,524,386,567,819,716,686,709,757,793,1082,1214,1188,1086,943,998,1134,1210,1242,1294,972,888,1216,1390,1088,1066,1140,756,513,414,518,827,636,362,661],[372,378,391,359,443,682,731,1060,1116,979,1058,791,811,931,809,534,352,337,272,258,273,279,249,293,404,535,540,493,444,375,342,317,368,502,653,991,871,568,604,660,605,863,1112,1024,693,765,1048,1152,1008,695,1024,665,404,430,783,902,474,336,566,641,607,969,1032,810,891,921,894,798,689,476,448,535,501,583,811,967,1228,1696,1616,1640,1492,1290,1166,968,1038,1120,1068,926,941,874,803,1108,1376,1814,1434,1296,1242,1140,1178,1350,1248,1054,1224,1226,1130,1246,1268,1020,971,789,701,673,656,1060,1030,626,849,1156,1168,1046,1023,1240,1122,1044,1003,1168,1230,1266,1230,1412,1580,1592,1560,1578,1552,1610,1834,1536,1094,1202,1440,1350,1144,1104,995,1023,1194,1378,1326,1090,1072,1104,1068,1015,831,855,1052,1006,935,911,1260,1310,1196,1264,1304,1144,1338,1222,1238,1152,1148,1276,1284,1290,1246,1234,1274,1272,879,991,1178,1286,1216,949,1164,1078,772,544,462,593,557,513,452,327,264,256,333,371,458,833,922,594,954,1156,1102,806,571,966,1066,1013,1212,1290,1340,1652,1520,876,825,1572,2110,1738,946,1216,1534,1184,1116,825,1224,1512,1304,785,762,883,982,1134,1260,1164,1132,1296,1188,1158,1052,1404,1844,2236,2142,2060,2102,2088,1918,1736,1620,1150,619,423,399,464,527,470,361,340,390,541,917,1144,1021,1021,1312,1150,1250,1434,1274,1124,1052,1232,1228,1336,1294,1300,957,795,866,1748,2388,1852,1138,1260,1476,1086,969,1282,1272,1046,861,1082,1002,979,960,742,839,1278,1372,1172,1226,1070,858,998,997,955,1172,1160,990,651,346,355,417,456,474,497,500,440,677,1360,1478,971,589,461,685,1188,1366,1240,1004,1172,1194,811,1001,989,540,733,1292,1634,1504,1084,1060,1192,995,879,1170,1044,1092,612,642,1086,1250,931,830,1078,1208,1160,1338,1064,735,897,799,642,1302,1362,1686,1854,1848,1436,1222,1208,925,1072,1420,1306,920,937,1032,905,1040,1358,1316,1254,1220,1318,1322,1144,999,1384,1626,1332,1318,1354,1396,1422,1490,1444,1238,1226,1324,1528,1622,1378,1240,1310,1148,1248,1016,1104,1428,1388,1172,916,720,868,1023,520,486,592,426,739,1134,1308,1638,1610,1664,1708,1676,1570,1598,1486,1268,1116,969,1194,1160,1210,1180,1058,1013,980,969,1019,1184,1460,1338,867,824,831,595,655,984,1110,851,681,864,924,675,519,401,441,385,415,685,901,935,768,910,1176,1184,1150,1140,1060,1112,1120,935,631,608,941,1144,930,949,1134,1110,1298,1524,1240,1222,1004,816,576,638,1128,1015,956,1024,1072,1504,1622,1072,1190,1074,1220,1148,937,732,727,668,652,658,577,637,652,681,717,916,1230,1154,1240,1278,1044,883,661,560,589,479,664,967,833,736,674,959,913,974,1262,1422,917,785,1050,871,682,726,608,719,1248,1318,1248,1264,1208,1612,1478,1003,628,705,653,601,970,1238,937,989,703,631,957,1002,1086,972,844,764,532,344,603,873,481,491,1054,1368,1144,936,854,962,1052,1150,1240,970,433,524,1122,1576,1328,772,528,708,1058,1306,1362,1280,1062,952,865,1272,1334,1498,1268,915,813,829,991,1116,943,684,612,564,807,893,763,937,677,641,893,969,897,752,971,1312,1296,702,1084,1180,1132,1272,1328,1052,920,835,736,621,532,563,505,470,460,713,593,432,439,408,387,473,505,534,564,553,696,1208,1520,1438,1146,1396,1596,1488,1324,814,853,918,850,698,422,400,430,901,1394,1316,1316,567,369,388,652,1248,1568,1488,1444,1598,1084,745,1104,1446,1268,892,987,964,789,869,1164,1416,1372,1172,1136,1266,1092,1166,1324,1166,1452,1246,903,1342,1434,1228,1106,1032,983,1040,1040,1238,1266,1256,1200,943,756,771,719,635,541,589,746,651,505,477,510,830,1222,1244,993,691,944,1440,1446,1330,1382,1456,1522,1398,1356,1464,1244,1296,1372,1266,1210,1226,1170,1244,1456,1362,1118,1236,1504,1544,1248,1184,1106,1296,961,653,778,943,1005,1466,1434,1134,1080,1390,1554,1716,1732,1786,1764,1516,1064,1238,1638,1730,1620,1576,1556,1738,1220,633,680,944,1072,929,681,666,642,949,1124,1108,946,647,999,1302,1260,1234,1072,1094,812,533,671,1060,1274,810,926,926,855,1180,1280,1096,662,1070,1454,1526,1476,1132,580,391,610,995,1148,1346,880,451,440,645,907,1342,1376,1084,897,749,922,1268,1394,1164,838,411,330,393,794,891,796,759,744,930,1120,1266,1080,771,955,1124,1084,1180,932,531,513,505,691,1036,1080,1192,1238,1414,1334,1024,886,1092,1374,1420,1270,1015,1114,1208,1146,738,586,816,1100,1290,1498,1562,1734,1548,1372,1270,1260,1268,1162,1030,1230,1250,1092,1206,1484,1542,1390,1322,1386,1296,1112,963,763,499,919,1128,1154,1252,1598,1376,1078,1124,1030,1036,1118,964,737,749,713,919,1206,1184,1154,1282,1296,1146,1092,944,951,999,974,979,1023,1288,1338,1316,1142,939,813,774,988,1308,1728,1590,900,725,998,1011,935,1052,1176,1272,1256,1160,1003,1074,1234,1015,1208,1216,795,573,767,1028,1062,1104,1114,958,580,429,403,750,1174,877,1020,636,384,380,362,485,557,525,511,536,658,684,658,514,429,485,645,758,518,351,362,528,641,408,408,588,745,1064,1023,919,1132,1160,897,639,464,505,800,695,350,434,566,831,962,1086,845,915,1574,1680,1234,1102,1180,1132,944,576,748,1386,1146,1164,1324,1520,1384,928,476,473,1260,1536,749,543,940,949,750,612,1114,1158,1118,666,411,464,630,762,677,610,447,404,819,1214,737,592,809,1188,1262,863,523,362,349,606,847,680,667,880,472,375,391,769,1452,1672,1262,979,971,1134,1138,1042,905,633,328,342,624,595,843,1112,1216,882,872,1372,1700,1778,1744,1366,758,626,700,440,412,586,625,570,666,742,743,708,792,818,1030,1122,834,743,508,393,391,353,361,476,481,490,528,711,645,581,401,552,770,976,949,974,1068,1184,1154,861,651,828,1052,647,407,386,375,634,869,890,1007,897,720,733,596,596,843,868,988,999,993,752,719,796,970,735,478,498,564,519,540,921,1134,931,960,802,547,564,962,1328,1254,1178,1324,1542,1274,850,761,736,875,963,865,786,795,797,595,542,786,779,583,555,844,1244,982,928,1044,1182,1310,779,357,525,871,954,1044,688,797,1156,1034,1356,1336,1001,1348,1492,1202,1316,1468,1640,1554,827,451,390,363,343,331,324,489,603,448,368,348,368,374,720,1102,1254,850,800,911,906,1414,1432,508,445,402,487,502,583,1148,1392,1308,1372,1362,1348,1302,1202,796,529,555,944,1356,1454,1758,1880,1460,1574,1576,1182,1072,1092,1154,1278,784,521,502,784,952,1160,1432,1444,980,944,1070,1354,1510,998,1102,1242,1382,1616,1626,1534,1468,1476,1620,1714,1638,1600,1648,1608,1656,1440,1290,1122,1296,1266,1236,1306,1132,973,910,844,851,1258,1590,1386,1520,1546,1740,1666,1300,1346,1642,1578,1392,1468,1510,955,982,1494,1712,1378,1510,1194,957,1054,1080,1060,1134,1172,1252,1404,1302,1130,922,922,856,846,955,997,854,880,673,586,797,874,1136,1042,747,797,785,911,982,1038,1007,1460,1356,912,867,742,778,742,994,955,604,641,890,1362,1522,1300,1240,1206,1068,1040,996,1048,1098,1156,1416,1422,1346,1202,1178,1154,1348,1460,1028,857,965,1026,1020,924,744,811,1068,1194,1320,1266,924,1058,1310,976,632,733,804,548,590,727,1040,1406,1388,1230,1015,1028,1184,1308,1328,1302,1352,1256,1330,794,833,807,1126,1460,1216,946,1072,1910,2934,2556,990,927,1042,1058,1736,1996,1698,1246,924,836,740,593,704,548,487,631,898,1164,1158,725,818,1350,1404,1372,1262,1005,1140,1428,1358,1562,1358,1234,1348,1036,1017,694,677,1324,1712,1472,1126,1164,1398,1290,1126,1206,1222,1354,1412,993,762,925,1412,1396,1108,1268,1288,1338,1126,875,752,763,1038,1370,1370,883,791,1112,1114,796,810,826,915,1090,944,951,807,744,884,879,803,800,580,646,947,1160,1554,1280,645,799,1258,1438,1186,885,901,1170,977,763,1226,1476,1306,1076,867,883,868,455,459,431,440,561,772,998,1000,942,869,765,1164,1186,871,940,1086,1604,1560,1488,1452,1040,799,620,475,475,592,579,429,417,553,827,655,518,561,571,619,564,640,554,480,565,788,1086,1326,1144,1206,1328,1388,1402,1350,1350,1622,1554,1556,1310,1390,1658,1694,1594,1656,1496,752,368,733,1650,1644,1210,868,967,897,637,408,258,358,449,400,329,340,372,310,322,370,339,251,266,266,258,305,289,262,271,272,312,317,277,258,278,283,469,523,612,448,293,321,360,313,373,485,395,648,893,776,534,512,564,523,430,479,443,422,516,573,491,463,496,567,547,576,674,774,719,819,1106,983,615,621,642,487,412,366,402,724,811,634,684],[395,477,451,339,351,407,539,877,1122,1472,1288,874,818,744,450,373,351,283,249,292,265,272,268,264,404,662,680,641,586,539,431,360,331,292,505,796,627,459,442,458,462,503,525,456,427,650,1232,987,590,555,571,375,380,388,607,597,376,484,799,961,854,1226,1222,1138,1050,933,832,844,913,911,1136,1240,985,1038,1122,1230,1354,1510,1632,1556,1268,1216,1052,855,895,1054,772,591,852,797,761,1196,1274,1152,1218,1522,1280,994,1276,1586,1410,1058,1050,1172,881,944,899,1162,1222,1011,918,742,631,966,941,517,785,1062,1048,752,874,1172,1184,1196,1134,1304,1512,1494,1406,1202,1086,1334,1248,1338,1484,1640,1722,1594,1450,1416,1398,1252,1158,1102,1160,1198,1204,1492,1456,1140,1274,1264,1104,988,726,949,1216,1118,1058,912,1122,1038,1162,1350,1212,1102,979,1152,1188,885,902,998,1106,1068,1002,1138,1208,863,921,877,592,755,1180,1104,985,868,592,451,438,390,390,355,394,354,281,230,276,325,625,1438,1312,1130,1214,910,1122,1152,1092,1164,1242,1262,1158,1134,1350,1466,1410,1108,777,844,1186,913,534,890,1404,1342,1206,1021,1188,1584,1062,755,1082,1040,613,497,593,701,684,746,862,1004,1342,1542,2076,2314,2114,1964,2054,2038,1860,1782,1470,968,680,613,534,536,605,571,455,365,485,825,1354,1234,943,807,1016,1268,1298,1288,1286,1112,1146,1176,982,1186,1042,918,717,1048,1136,1648,2010,1756,1216,990,1230,1288,1184,1212,1284,1110,1208,1132,919,805,697,644,603,664,657,709,774,665,875,1028,1122,950,894,1030,1036,623,361,361,424,510,430,457,436,327,384,624,1174,1610,1400,906,881,1028,1310,1460,1404,1332,880,623,660,595,738,1288,1732,1660,1486,1542,1500,1520,1406,1316,1532,1218,918,612,606,959,1180,1226,1244,1284,1256,1140,1050,827,887,1026,1098,1010,817,1042,1656,1988,1908,1370,1094,696,636,968,1164,1222,1124,1116,1021,797,970,1316,1216,869,844,1070,1208,1186,1500,3030,2574,1240,1024,1280,1540,1504,1602,1598,1390,1390,1600,1584,1626,1478,1412,1248,1190,1354,1160,1210,1596,1384,871,1012,951,713,1070,1002,772,641,562,818,990,1136,1408,1656,1744,1820,1560,1440,1444,1324,1134,921,891,1214,1168,1274,1332,948,752,1102,1326,1294,1472,1542,1378,1332,1152,1013,1032,1118,1180,1072,887,986,1300,1362,850,447,386,372,294,315,578,1030,1146,876,1020,1072,1128,1136,1018,946,1012,1021,902,672,649,830,1052,1082,1080,1146,1168,1146,1338,1284,1412,1052,808,839,947,1036,1146,1104,638,703,1158,1096,737,959,1178,1226,1172,871,912,1148,993,872,838,987,785,551,484,500,667,1040,1112,811,735,945,865,794,1092,771,484,473,543,717,778,587,810,759,659,908,959,504,589,928,729,664,751,1026,1018,1324,1526,1548,1310,1130,1164,1290,1106,622,700,755,792,868,601,358,391,536,853,1014,1052,838,767,1234,1148,595,368,371,605,505,429,771,1084,1066,946,804,567,839,1252,1258,786,469,680,1140,1274,1378,1018,882,1326,1506,1400,1388,1238,1094,842,717,903,962,1006,1028,998,861,735,970,1154,1214,1368,960,785,1246,1110,908,1118,1042,752,651,954,1194,1186,1178,1268,958,951,1050,822,864,1040,1122,1082,1118,885,690,715,633,632,514,404,546,669,479,445,545,514,409,457,490,538,694,754,778,1362,1568,1562,1142,1440,1602,1584,1318,874,921,987,937,696,434,365,429,1070,1368,1456,1230,639,455,396,809,1442,1698,1708,1604,1376,835,555,753,1092,1122,1156,1320,1266,993,941,1098,1114,1290,1060,1206,1186,1108,1250,1266,1236,1594,1256,1062,1368,1414,1364,1694,1546,943,922,954,1280,1576,1126,738,694,710,730,645,493,474,648,971,1040,691,592,533,683,947,979,758,837,1238,1206,1001,1021,1308,1346,1506,1256,1396,1520,1324,1252,1422,1398,1414,1450,1438,1438,1520,1376,1386,1466,1544,1342,1252,1418,1428,1304,1292,1178,915,1116,1432,1698,1554,1488,1298,1394,1882,1812,1470,1458,1656,1690,1546,1464,1472,1660,1476,1542,1532,1524,1256,1054,999,1102,1180,1136,1218,881,633,1116,1330,1116,792,490,1104,1354,1152,913,699,802,760,868,1256,1386,1326,880,740,428,849,1256,1166,785,601,1030,1416,1426,1474,1360,991,703,813,1038,980,875,1036,860,630,854,923,1066,1126,1058,1208,881,885,1282,1214,1090,853,514,687,1002,952,927,1152,1216,1150,1180,750,1020,1184,1172,1156,1224,1302,1334,1108,676,644,775,1220,1208,1130,1086,1098,1046,1014,827,805,1124,1172,1178,1138,954,871,956,944,691,768,1130,1184,1624,2054,1972,1848,1476,1372,1300,1492,1316,1134,905,1182,1196,1246,1452,1654,1540,1268,1292,1304,1214,1226,1104,1086,814,1208,1228,1284,1436,1448,1272,1104,1034,1246,1240,1134,1004,593,505,696,1030,1026,908,859,1028,1094,845,672,458,540,987,1060,984,1142,1266,1620,1644,1338,1316,919,675,999,1108,1442,1726,1488,1106,783,681,933,1058,1012,1048,1036,1118,1090,1030,1226,978,1064,1230,1076,812,614,590,1100,1114,805,719,467,344,372,639,978,916,916,588,351,314,325,382,407,369,468,786,766,602,522,393,458,572,579,631,604,480,422,496,508,384,448,580,681,1500,883,547,532,686,824,701,469,529,616,605,385,445,586,757,961,868,873,1278,1664,1492,1256,1266,1252,912,794,487,1094,1738,1656,1372,1003,1058,1306,1212,792,547,920,1054,681,774,1348,1382,1324,990,1214,1382,1146,624,495,433,368,453,636,755,617,850,1256,1180,625,775,1086,1154,977,623,380,358,373,431,472,577,940,765,439,354,264,799,1508,1612,1472,1202,1340,1218,947,692,955,848,433,370,409,455,830,1172,1156,993,1218,1422,1154,865,1202,1078,780,717,769,641,448,415,375,471,645,805,613,619,872,902,1316,1128,747,604,463,540,794,789,469,522,404,405,448,562,696,566,423,964,1502,1208,893,1020,854,888,1116,730,493,476,458,460,388,431,468,568,603,765,1114,1100,1058,971,683,824,1296,1030,891,1072,1040,1200,1296,1130,1130,625,615,480,513,435,514,967,1058,1148,1228,844,583,719,827,1090,1164,1384,1346,1238,1002,969,886,1054,1170,1106,1240,1070,719,521,708,1066,1166,966,719,608,796,891,719,749,969,1592,1504,879,609,482,511,477,901,1028,1052,1060,1044,1504,1260,696,1084,1494,1314,1244,1278,1264,1402,866,436,375,363,344,339,341,354,368,343,368,362,359,397,742,1422,1510,940,821,902,1052,1388,1568,612,426,405,492,656,600,794,1078,1194,1044,863,794,725,686,597,535,533,818,1330,1492,1432,1494,1454,1576,1466,902,1092,1288,1288,1316,795,542,595,1050,1218,1274,1428,1294,1096,1088,1154,949,1032,1126,835,1076,1474,1798,1786,1644,1592,1492,1332,1088,942,990,1066,1126,1168,1106,858,839,1068,1002,1224,1334,1042,969,1009,891,878,1112,1342,1182,1182,1268,1610,1640,1290,1344,1658,1692,1556,1360,1534,1062,1350,1720,1562,1274,1172,999,1032,869,791,778,741,808,919,953,890,828,843,891,952,987,1003,1015,912,732,598,552,828,948,1110,1222,1158,1034,1142,905,701,717,1015,1298,1180,1220,1308,984,859,792,1021,1066,826,665,641,1102,1358,1168,1254,1352,1248,1176,987,882,1266,1044,1010,1210,1460,1558,1362,1260,1502,1472,1400,1372,808,982,1196,1020,1098,1246,1266,1248,1376,1504,1344,1354,1438,1184,997,692,637,814,898,1162,1278,1214,996,1028,1346,1508,1576,1294,1232,1234,1248,1216,1270,1014,1102,1134,1118,1166,1266,1190,1076,1908,2786,2032,935,800,828,701,1112,1352,1374,993,559,703,984,958,929,885,1128,802,698,954,1054,897,913,1278,1474,1222,1026,1010,1278,1162,1358,1692,1222,1148,1410,1372,1526,1182,828,1100,1368,1260,1162,1176,1154,1186,1120,1248,1422,1388,1426,1192,827,824,933,1096,1090,1102,933,1296,1260,971,1212,1138,1056,1732,1898,1264,1338,1226,980,692,644,612,910,948,615,797,827,677,898,1034,698,510,393,703,542,619,1003,741,428,347,688,1012,800,652,719,705,605,719,1072,1488,1324,1304,1202,900,899,717,480,336,452,585,745,1258,1464,971,631,689,810,715,645,696,763,893,831,921,1054,857,717,606,390,440,630,632,473,562,627,572,628,532,501,812,778,717,608,443,477,733,725,790,1058,1080,1126,1162,946,811,1264,1426,1484,1472,1592,1682,1758,1864,1990,1606,1482,997,437,391,448,1104,1310,1024,745,881,930,1036,571,234,352,418,524,644,372,411,385,340,364,353,303,238,234,239,260,297,332,378,404,467,427,393,402,368,389,361,567,747,491,358,661,714,393,315,361,310,350,547,802,1034,933,818,830,929,957,821,839,704,601,548,625,631,731,694,594,520,436,526,432,401,438,533,477,448,503,538,561,555,764,1014,855,600],[401,559,432,376,455,756,883,959,1284,1266,1112,1060,788,455,360,370,385,258,267,356,348,388,423,333,626,1058,922,647,619,630,414,356,310,321,492,425,319,329,346,313,331,344,330,359,359,344,511,423,461,584,620,590,423,332,357,505,805,881,905,885,1011,1068,1604,1482,1168,1008,929,941,887,1000,1456,1380,1098,1142,990,1018,1252,1386,1582,1372,1122,1164,985,843,877,1138,788,668,869,944,1182,1410,1106,569,785,1250,1272,1208,1310,1322,1210,818,1074,993,503,447,634,946,987,1062,1296,1186,875,1028,1058,586,836,1086,1050,907,1140,1242,1094,1066,1228,1320,1356,1322,1236,1230,1136,1178,1142,1216,1200,1312,1382,1614,1714,1720,1760,1462,1238,1186,1184,1021,1050,1346,1334,1118,1156,1106,1278,1176,905,1112,1152,1214,1002,990,1028,972,973,1094,1050,813,647,909,974,873,950,859,893,825,921,975,979,845,803,671,541,867,1294,1202,790,499,416,372,386,384,361,315,264,233,236,248,348,422,861,1622,1290,1606,1596,1108,1234,1272,1268,1152,929,1046,1050,1026,1190,968,856,913,1070,1068,916,727,1015,1186,1188,947,880,1086,1406,1424,1164,1108,1036,1064,662,457,519,428,406,536,584,1052,1360,1108,1256,1606,1940,1918,1982,1876,1892,1976,1698,1094,656,662,547,566,685,704,484,590,995,1158,1412,1158,831,540,618,822,908,1144,1264,1086,1192,1234,1454,1224,654,407,594,1250,1476,1228,1086,1166,1148,1012,1030,1166,1036,1204,1058,933,1090,1048,865,799,783,785,620,415,457,638,791,995,1172,1166,1212,912,700,908,807,480,455,527,587,511,365,448,461,319,298,282,480,1088,1498,1460,1136,1106,1400,1228,1272,991,650,584,587,576,677,905,1156,1284,1560,1578,1554,1708,1534,1510,1312,922,646,423,379,409,565,1032,1296,1382,1476,1206,1021,886,1134,1260,1388,1484,1172,1176,1422,1614,1774,1472,1130,772,734,1020,1084,1132,1374,1172,1504,1534,1090,1218,969,762,700,650,794,792,1324,2708,2020,1448,1312,1428,1678,1628,1548,1406,1224,1242,1296,1068,1202,1232,1202,1290,1308,1294,1278,1310,1304,1188,1100,1278,1460,1212,1250,1296,992,726,810,1168,1398,1450,1590,1670,1712,1852,1750,1576,1332,1346,1354,1294,1150,1042,1040,1118,1094,1034,965,1268,1366,1192,1314,1504,1432,1338,1268,1332,1278,1300,1196,871,810,970,1104,1272,708,326,336,468,452,315,441,944,1240,973,1186,1132,711,731,1010,1162,886,875,882,814,952,1070,1332,1280,1060,1090,1216,1250,1220,1236,1290,1328,1278,1234,1162,1212,1422,1230,703,667,867,848,796,1032,1324,1324,1192,1108,1012,974,868,1001,1154,1654,1134,793,630,562,683,940,749,455,526,733,677,778,1060,674,434,367,480,846,778,602,592,573,728,913,1020,648,858,811,525,554,676,1390,1668,1512,1526,1602,1478,1338,1130,912,1084,848,791,917,893,639,314,275,276,274,393,765,971,661,693,1066,873,443,316,412,832,813,510,365,605,1062,981,659,773,1058,1094,1074,835,632,843,1015,1038,1216,1074,1188,1574,1438,1306,1258,927,1062,831,630,555,455,633,1156,1412,1036,698,909,1040,1216,1130,815,1106,1374,1240,1148,1158,946,727,597,885,1122,1378,1058,951,626,622,852,835,833,1136,1074,801,898,857,735,711,625,459,393,404,648,633,494,429,579,628,458,469,419,509,683,711,876,1462,1600,1494,1226,1392,1522,1602,1418,1120,1144,1058,1052,612,398,353,442,1144,1338,1390,1042,500,462,507,847,1394,1628,1680,1644,995,620,473,866,1368,1292,1186,1342,1130,922,1134,1020,957,1082,988,1318,1250,1224,1234,1132,1212,1236,976,1050,1270,1414,1298,1314,1486,1586,1276,938,1312,1566,996,658,794,791,559,539,545,816,862,915,971,945,1028,977,879,1018,1286,1005,873,1182,1360,1023,932,1140,1030,935,1001,1204,1344,1412,1454,1480,1466,1508,1644,2214,1594,1500,1296,1356,1404,1310,1122,1208,1302,1246,1220,1482,1376,1228,1258,1906,1412,1206,1344,1274,1402,1886,1608,1104,1152,1348,1576,1576,1628,1692,1618,1432,1296,1390,1340,1172,1170,1146,1036,962,1110,1532,847,532,623,1032,997,640,411,683,881,1118,928,468,419,429,813,1588,1466,1178,716,407,640,1176,1142,824,748,887,1216,1382,1438,1494,1426,1484,1178,921,954,913,993,1394,1034,534,720,1052,1158,828,902,1250,839,608,999,1334,1346,998,837,839,897,989,1344,1118,868,691,890,883,1036,919,903,673,692,1082,1272,1040,640,858,1374,1426,1036,988,935,947,862,966,947,966,1246,1238,1100,1028,1136,1015,878,1088,1054,1020,1224,1282,1692,1800,1250,1390,1404,1390,1428,1274,1170,852,657,782,978,1288,1452,1308,1092,1036,1102,959,1130,1366,1470,1264,1210,1194,1230,1364,1366,1214,1118,1120,1226,1280,1136,1122,827,515,491,918,1132,766,596,599,729,879,656,786,646,576,915,1001,1346,1258,982,1402,1492,1456,1590,1306,1070,1310,1312,1254,1268,974,644,689,881,1038,1116,876,818,1046,1216,1364,1210,1338,1260,1274,1404,1168,788,576,890,1150,839,676,487,434,491,398,514,486,487,621,486,328,314,308,351,398,437,926,1003,609,479,433,401,544,760,720,590,662,541,415,426,382,415,392,475,512,823,622,436,312,576,1018,857,462,407,301,353,411,444,494,546,780,915,1154,1362,1268,1012,1009,1118,1007,769,771,729,1484,1394,1160,944,933,728,758,1108,1274,865,603,686,619,1004,1614,1858,1572,1482,1788,1844,1220,530,493,450,401,708,1160,1021,835,786,973,885,758,1306,1536,1160,870,793,631,386,332,452,471,670,809,715,675,470,477,1002,1066,1066,1450,1620,1748,1338,852,816,1216,700,379,403,383,375,378,574,756,977,1176,1072,965,890,1270,1364,1346,1344,1206,930,835,670,509,812,768,865,977,720,581,665,980,1234,1192,720,456,541,784,736,414,471,362,351,392,550,697,531,394,715,1244,1019,671,759,695,539,765,681,497,539,627,540,480,448,720,1510,1428,886,936,868,1092,1236,1076,956,1238,1132,1072,1126,991,985,1220,1378,1086,628,673,599,570,609,758,944,1002,1098,1310,1188,698,449,424,810,1210,1512,875,615,823,918,1058,1252,1036,797,1052,925,905,686,973,1548,1134,1013,1054,940,1092,992,872,987,899,1324,1144,1558,1470,929,630,716,1048,1042,924,1009,1218,1208,623,400,572,1056,995,995,1160,1076,1396,1344,751,360,341,341,346,346,333,336,343,324,336,331,345,656,1152,1202,1126,1230,1334,1530,1562,1594,722,412,429,491,688,652,547,707,948,915,1028,1176,1176,1144,1116,697,502,656,872,1028,1176,1380,1518,1736,1498,935,1342,1190,1142,1032,1032,921,791,949,1092,1182,1082,1064,1300,1132,1236,1142,1224,1218,1410,1632,1566,1616,1536,1268,1188,1112,927,869,965,803,770,848,899,1148,1014,967,1060,1128,1170,1266,864,823,1132,1158,1224,1224,1204,1188,1238,1278,1492,1610,1194,1146,1552,1752,1534,1268,1534,1202,1364,1666,1360,953,637,805,1074,920,858,821,752,742,718,738,753,803,796,757,762,893,1134,1170,982,837,636,495,802,878,903,973,1118,1794,1478,563,675,1122,1280,1138,1072,1052,955,709,664,827,865,814,807,863,1005,1018,692,723,1060,1294,1340,1326,1230,875,1092,997,832,1066,1236,1386,1246,1284,1386,1198,1130,1178,944,717,921,904,982,1240,1252,1400,1326,1362,1284,1013,805,935,1032,974,965,875,1066,1344,1274,1172,872,955,1334,1396,1344,949,778,978,1052,1292,1376,1192,1144,1134,1186,1234,1148,1112,1132,1152,1188,990,876,816,810,875,1021,1226,1306,1050,533,461,774,845,782,738,706,456,511,588,670,667,635,1154,1420,1166,1078,942,1196,1048,1136,1246,897,905,1186,1454,1920,1664,1604,1224,1228,989,1078,1292,1082,912,874,971,1228,1366,1482,1228,781,810,998,1094,921,856,756,1110,1256,1600,1804,1338,1172,1512,1444,826,877,886,732,435,375,541,1038,1170,684,462,641,702,489,550,893,1256,853,586,414,512,509,386,338,350,372,455,694,804,490,367,376,501,1138,1462,1018,662,711,816,946,848,610,384,502,566,431,474,816,769,942,1152,1021,893,809,756,605,515,356,377,444,461,626,702,442,434,493,480,453,514,534,647,672,480,589,850,658,688,769,620,647,860,736,661,808,1014,935,727,591,518,733,1356,1226,1360,1718,1882,1958,2954,3116,1954,1250,944,792,443,353,652,898,977,1018,993,1084,905,505,350,360,344,471,1084,515,308,297,347,382,384,314,243,257,231,257,286,456,575,552,600,797,778,637,590,526,383,382,493,434,343,489,482,303,263,289,341,357,520,880,1218,1222,892,780,771,1026,1278,1230,1316,1468,1400,1368,1482,1814,1526,969,1001,980,1050,577,505,580,749,769,827,1102,1172,901,783,990,1142,982,559],[318,385,442,633,792,1019,903,897,1250,1376,1278,1074,857,1082,720,404,321,273,365,506,588,917,875,472,1028,1632,1286,812,750,601,441,397,319,390,432,333,306,319,339,292,304,298,309,328,317,312,292,260,308,402,579,682,432,386,401,464,506,785,1134,1108,1404,1638,1896,1566,1274,1246,1258,1126,855,1116,1826,1316,866,929,836,741,1056,1466,1348,791,887,1038,946,948,891,1230,912,679,1100,1094,1070,1374,1180,816,576,576,977,1328,1216,1214,1224,984,875,904,758,650,583,581,811,886,1128,1302,1256,1140,1160,1084,1226,1218,1184,1216,1148,1050,799,700,996,1094,1306,1226,998,830,912,1246,1294,1102,1088,977,973,1230,1616,1772,1772,1648,1632,1494,1178,1206,1234,1256,1094,1114,1076,1054,1488,1436,1340,1102,1156,1266,1272,1328,1214,1206,1228,1094,1050,1292,1012,752,932,746,658,883,784,691,696,975,1246,1318,1010,616,792,1318,1174,913,530,361,405,403,374,356,358,378,359,302,308,323,381,462,629,1344,1696,1608,1422,1250,1490,1400,1252,1250,1190,1030,915,612,666,833,916,937,1144,1278,1108,1013,1104,1058,1021,908,805,1322,1400,1019,1042,844,658,792,565,417,461,455,472,495,744,1354,1306,1084,882,828,1136,1328,1650,1742,1830,1824,1396,973,702,662,519,536,609,536,452,687,1176,1362,1190,1070,901,581,594,622,922,1294,1210,991,1250,1186,967,756,451,267,382,751,1021,739,497,641,965,891,862,1042,1040,1088,940,756,866,701,559,1068,1402,1340,796,474,563,653,709,1007,1110,1050,1009,749,799,1021,784,740,760,866,704,449,311,361,373,306,331,327,401,680,836,1172,1364,1484,1452,1386,1142,1108,902,576,683,768,789,841,876,712,1046,1090,1518,1620,1560,1256,970,760,400,360,449,516,574,996,1032,1078,1126,1040,1076,1026,1350,1512,1306,1302,1224,1226,1378,1474,1414,884,602,926,1076,1098,1152,1438,1402,998,1108,1208,977,1078,682,728,680,513,591,948,1270,1428,1338,1334,1448,1332,1064,1130,1328,1362,1500,1378,801,512,519,623,930,1212,1224,1230,1060,1084,1216,1174,1660,1488,1334,1182,1336,1314,1268,1212,1218,1324,1508,1190,1452,1688,1794,1886,1628,1526,1440,1364,1250,1080,1016,1084,1200,1092,979,1288,1526,1322,1226,1350,1594,1424,1216,1232,1282,1356,1316,1326,1242,1014,1082,1092,1104,1052,816,792,819,833,796,430,463,927,1190,992,902,1062,960,902,1012,1040,1084,1310,1156,1084,1158,1384,1306,1218,1172,1212,1348,1364,1222,1078,1164,1340,1428,1304,1046,1196,1598,1170,741,792,1908,1782,1178,1126,1322,1362,1200,1372,1426,1220,948,946,1018,1380,1348,1368,1166,665,806,1178,923,837,673,822,522,460,513,404,444,606,1148,1240,881,920,886,906,1240,1024,1130,785,628,520,431,633,979,1338,1494,1262,977,1228,1346,1454,1510,1332,1066,766,966,1080,704,354,303,276,272,237,378,854,971,845,963,978,529,359,368,425,750,695,462,441,688,1086,1128,904,916,1164,1122,1194,1064,921,896,904,1066,1054,962,1146,1316,1132,1284,1306,1158,1234,1234,1066,838,704,838,1160,1084,818,561,580,1122,1340,939,818,908,1266,1484,1278,689,778,990,824,951,1148,936,632,472,458,592,765,752,939,1218,975,622,562,581,542,490,524,445,353,424,589,551,501,520,705,819,571,480,507,518,579,601,990,1456,1570,1324,1202,1444,1488,1510,1420,1290,959,1030,1056,565,363,368,498,1082,1350,1322,922,383,397,415,593,1084,1184,1274,1064,844,787,846,1086,1318,1154,1056,1376,1362,1150,1172,736,1016,1108,1066,1250,1306,1300,1346,1292,1230,1276,1142,1268,1426,1444,1548,1350,1664,1782,1350,1448,1458,1052,1042,1056,831,687,595,613,685,1108,803,621,606,832,971,1144,1220,1106,1018,945,886,931,873,845,1242,1332,1076,821,666,562,687,779,1132,1376,1464,1400,1144,1582,1612,1470,1566,1820,1560,1194,1390,1510,1294,1230,1470,1432,1240,1328,1754,1806,1400,1310,1354,1352,1346,1238,1004,1132,1356,1432,1528,1466,1404,1516,1582,1444,1332,1386,1356,1100,987,921,924,851,1140,1586,902,716,736,711,654,565,411,439,892,1316,936,471,514,529,842,1514,1286,1188,751,471,1062,1388,985,838,1016,1262,1318,1318,1412,1380,1454,1544,1350,1162,1124,1060,1274,1350,880,421,574,1022,1262,833,969,1602,966,434,971,1300,1178,1264,1214,971,972,1046,1250,761,676,758,676,941,1206,911,593,569,619,715,976,1140,741,648,952,1092,980,906,890,810,928,1168,1132,1116,1190,1264,1094,974,1212,1268,1130,1196,1092,855,1122,1256,1320,1394,1390,1386,1520,1318,1390,1322,1388,1230,750,561,883,1164,1252,1266,1054,1104,1170,1074,1112,1418,1346,1122,1046,1172,1338,1224,1124,1110,1438,1588,1524,1278,1218,1270,891,650,556,677,657,558,708,737,766,1044,1000,821,536,719,799,751,966,868,813,965,1072,1448,1382,1240,1190,1362,1312,1106,1064,905,666,786,1023,1030,880,581,656,1050,1026,1240,1546,1566,1422,1360,1548,1592,1152,664,941,1038,1152,839,556,855,798,454,436,406,422,546,437,345,361,413,440,455,844,993,526,391,433,408,450,652,926,886,614,648,549,454,441,498,455,380,388,572,702,622,463,387,437,670,673,477,379,427,437,407,444,654,561,530,968,1164,1094,1080,980,1104,1108,694,740,714,926,1272,1054,571,735,830,633,600,549,855,1240,1172,800,678,1030,1462,1644,1326,1090,1198,1576,1072,500,370,336,377,721,1082,996,741,559,599,785,1070,1204,1102,1066,1072,1214,1100,622,405,385,387,628,752,930,988,631,725,826,561,640,1068,1200,869,890,627,624,603,370,362,332,407,567,437,477,689,946,618,509,948,1176,1404,1668,1672,1770,1526,1182,1198,754,559,739,653,893,955,1048,1260,832,424,874,1172,636,586,810,564,431,396,427,364,368,440,641,612,483,458,357,538,563,671,1017,938,612,715,948,792,733,802,670,466,496,755,1468,1652,1326,941,535,529,821,1064,1202,1312,1216,1224,1082,930,1017,1186,1332,860,736,704,493,691,835,819,965,952,809,927,902,828,641,565,836,1188,1040,648,673,652,635,846,805,863,1152,1182,1078,921,794,821,753,620,681,774,763,877,1084,1210,1278,1232,1190,1134,1428,1196,927,702,883,1148,943,767,712,879,626,428,538,692,899,767,933,1512,1816,1560,1488,894,343,357,355,346,332,339,333,354,336,342,327,408,615,818,1026,1142,1288,1472,1632,1622,1664,979,487,443,476,612,615,483,927,1578,1710,1804,1792,1608,1548,1440,804,350,505,826,1378,1536,1502,1332,1674,1406,921,1230,977,753,921,1240,1338,1156,1058,1172,1144,1110,1262,1394,1136,1186,1252,1368,1528,1610,1316,1094,1504,1778,1332,1086,1096,911,885,887,818,836,840,1018,921,804,997,892,817,867,1038,711,677,1144,1310,1388,1432,1456,1324,1288,1278,1362,1324,727,746,1156,1242,1164,1144,1504,1354,1254,1318,1070,827,746,801,960,944,749,612,562,600,674,692,707,727,693,693,736,802,1070,1114,980,858,535,442,813,832,767,891,951,825,504,570,711,1009,1362,1378,1354,1130,883,622,589,682,645,900,1170,1252,1260,1156,1212,1068,1078,1078,1312,1346,1178,1124,1208,1002,1010,1256,874,951,1176,1332,1432,1426,1312,1212,910,707,1136,1116,988,1060,1430,1426,913,830,1162,828,536,842,954,988,1212,1356,1484,1544,1206,1244,990,821,987,1180,1428,1028,739,700,809,1276,1366,1118,740,721,1216,1416,1334,1356,1344,991,904,952,1208,1322,1188,1118,883,583,698,959,533,359,450,636,772,522,358,448,628,655,928,919,949,1210,1152,914,920,930,799,974,1124,1128,864,868,1282,1180,1478,1460,1614,1458,919,977,1180,1090,1076,1136,757,825,1274,1346,1232,1004,1068,1066,1064,828,832,686,539,805,1162,1750,1908,1404,1428,1322,1172,714,588,595,470,372,411,390,838,1318,1028,296,530,1150,880,854,1474,1800,1026,609,601,655,630,400,359,343,303,380,720,997,731,477,705,845,1306,1338,980,832,800,971,1076,780,425,394,430,518,472,418,446,546,807,1023,1208,1132,1042,929,564,503,348,331,318,429,516,720,642,399,383,464,427,441,468,608,595,504,757,1482,1104,681,806,733,849,896,687,760,974,996,591,493,491,561,456,947,1180,1182,1478,1576,2204,3606,2438,1548,795,858,1054,665,484,531,655,861,1002,935,1316,1486,1248,491,401,444,329,705,442,235,266,316,368,354,312,254,241,243,259,248,239,229,323,446,618,536,442,517,629,358,269,343,360,322,354,347,300,321,374,401,582,949,923,699,594,689,812,755,1010,990,1000,1118,1230,1312,1632,2076,2132,1620,1280,1458,1434,1324,785,849,1370,1784,1780,1438,1276,1098,761,716,739,825,1032,960],[397,508,536,765,1108,1246,1128,1034,1218,1080,854,836,965,1350,891,552,390,409,587,554,757,1062,885,692,1478,1546,1246,918,1066,1088,838,556,304,400,463,328,280,269,293,295,279,261,274,279,304,332,276,239,271,346,563,564,453,507,847,736,505,769,1004,1302,1318,1612,1956,1526,1226,1196,1166,1114,982,1086,1376,915,750,929,1008,1168,1444,1552,1008,490,602,847,936,1132,1188,1192,1036,1062,1218,1252,1334,1362,1290,1228,657,374,716,957,777,793,973,1106,1124,1222,1092,797,742,922,901,595,723,857,988,754,962,1228,1248,1140,1034,1082,1002,923,957,969,1268,1140,1140,998,859,638,662,1036,993,664,703,924,1138,1112,1290,1556,1706,1644,1738,1720,1572,1546,1452,1204,1098,1120,1164,1144,1416,1578,1434,969,1106,1268,1396,1338,1372,1312,1180,1126,1058,1584,1256,727,670,572,626,794,817,681,537,567,916,1318,1052,808,1310,1328,819,498,358,352,374,407,357,353,364,365,414,383,383,340,296,450,611,1220,1468,1592,1534,1428,1516,1394,1066,1044,1208,1126,936,882,790,825,1004,1112,1300,1336,1194,1028,986,807,1080,1254,1354,1516,710,461,577,496,420,426,335,333,430,504,517,625,1166,1188,1060,1084,1052,927,789,758,852,796,1046,1138,682,585,751,743,566,522,542,532,792,1009,1238,1268,1024,1016,1094,762,362,360,666,1102,1162,1130,1486,1102,574,433,290,258,275,324,397,328,386,675,821,836,787,993,1134,988,860,792,982,645,585,811,1032,1338,876,708,793,675,651,1042,1126,803,752,686,763,969,694,808,891,910,631,396,288,279,308,295,295,319,346,482,722,775,966,1260,1306,1094,984,1236,937,609,765,928,1346,913,922,723,865,1292,1692,1602,1600,1556,1432,921,503,455,647,1048,791,966,1019,1132,1214,1288,1394,1108,1328,1632,1324,1220,868,977,1386,1296,1094,884,1026,1214,1394,1394,1566,1744,1522,1496,1092,763,1332,1388,742,662,779,848,888,973,1174,1528,1386,814,941,1072,717,1078,1256,1444,1644,1546,1286,1028,807,598,965,1023,716,868,863,1168,1124,1018,1146,1086,1028,1194,1324,1244,1122,1138,1284,1346,1532,1226,1576,1780,1810,1918,1826,1730,1622,1450,1182,1138,1144,1092,1138,1200,1230,1224,1402,1216,1216,1494,1646,1434,1262,1426,1516,1376,1416,1334,1152,1024,1001,996,872,681,745,1068,1058,1028,1092,730,526,897,1148,934,851,1044,1120,1106,959,1120,1232,1380,1268,1152,1110,1048,608,713,954,1130,1188,1176,1094,991,1078,1012,1104,1246,1234,1310,1492,1448,1220,1354,1898,1582,1122,1188,1328,1224,1160,1448,1250,872,1158,1023,1006,1118,1204,1296,991,858,979,1124,951,893,599,623,423,433,416,365,493,822,1222,1312,1118,973,745,789,985,1098,1023,1078,945,644,583,879,1114,1146,1196,1074,845,1208,1208,1274,1412,1556,1516,1202,1264,1296,794,328,261,245,304,311,353,591,588,463,1126,1302,653,491,520,505,631,516,802,1114,1044,1068,1174,1308,1294,1174,1018,935,940,1021,989,1098,1044,728,849,1184,1448,1416,1224,1276,1226,1326,1486,1226,1112,1068,1016,1060,693,484,455,423,1024,1318,1176,1028,1072,1188,1374,1242,846,960,1242,1034,943,1092,1070,818,502,493,794,1010,1050,1234,1344,1092,827,510,475,432,403,452,447,349,458,623,571,479,479,640,741,588,524,541,567,628,611,1050,1498,1500,1290,1126,1456,1444,1428,1168,1122,1138,1324,1050,545,381,315,558,1144,1294,1386,863,426,377,346,456,806,1023,1076,993,891,1050,1224,1170,1134,1072,986,1042,1104,1266,1086,913,1042,1094,1150,1170,1186,1220,1332,1326,1234,1326,1096,1256,1360,1430,1470,1382,1296,1009,987,1240,1424,1390,1148,1021,819,702,705,883,1036,1007,632,493,463,471,621,847,819,879,887,890,828,856,761,1298,1578,1644,1266,734,805,915,850,711,706,1114,1194,1086,939,1156,1372,1434,1520,1628,1448,1352,1594,1292,908,1096,1542,1362,1144,1286,1772,1594,1346,1208,1214,1278,1362,1218,1102,1013,1198,1496,1490,1258,854,871,1110,1448,1570,1572,1552,1176,1068,1086,929,848,1398,1470,1312,1268,1186,1110,952,848,763,695,1194,1512,1232,882,905,703,805,1012,1068,966,558,692,1454,1400,1488,1306,1162,1160,970,1172,1194,1126,1470,1210,693,1080,1460,1474,1294,1280,823,418,659,1034,1086,943,875,922,625,490,899,1102,1330,1366,879,990,1134,1134,869,561,591,622,642,908,1208,1076,822,811,947,700,956,1090,992,678,645,1034,828,717,822,725,1186,1196,1108,1218,1212,1258,1170,1112,1236,1092,814,952,880,937,1318,1210,1240,1452,1408,1432,1368,1178,1124,1302,1524,1502,1134,945,1060,1232,1232,1402,1394,1390,1276,1206,1422,1576,1386,1182,1152,1264,1208,1140,1076,1200,1390,1446,1468,1194,1170,1244,1084,1104,1116,1158,855,729,735,548,559,744,1120,1028,653,750,751,655,628,843,984,944,1084,1382,1312,1072,1028,1196,1222,1228,1372,1162,731,551,835,1110,953,695,791,1048,1376,1404,1346,1460,1192,968,1150,1208,1410,837,814,938,1112,742,596,820,784,644,571,482,442,612,452,347,323,429,469,420,653,615,453,408,411,372,404,733,1198,1060,694,683,497,683,1015,949,683,571,729,952,1015,800,465,420,444,441,631,556,553,541,505,455,572,875,807,677,977,1078,770,671,987,1342,1072,804,643,516,840,1168,838,537,816,681,833,661,322,311,639,1270,1300,1328,1512,1472,1148,1058,1420,1642,1802,993,446,318,340,548,759,785,634,807,1013,975,673,585,459,683,1086,1080,1176,946,661,539,386,314,626,954,968,861,751,1010,1326,721,509,891,872,890,1056,719,427,396,300,297,418,801,680,513,783,1052,910,733,711,800,926,1128,1188,923,1448,1490,1100,744,453,444,536,654,575,563,799,1036,816,504,791,802,512,581,1022,582,391,510,421,285,348,506,533,488,404,405,401,552,884,1134,1154,1016,698,705,980,899,841,1212,1028,552,763,860,1284,1234,1102,609,406,592,940,1108,1212,1274,988,1320,1260,724,616,749,893,1002,1186,807,606,1050,1162,998,1128,993,1038,984,1018,1236,1226,1013,1062,1310,1184,887,824,573,709,703,619,916,1396,1338,1270,916,711,924,1050,986,1152,1162,901,869,1102,1032,949,1012,1092,1158,1154,990,926,949,1094,812,888,913,555,421,357,422,778,843,554,647,852,1172,1544,1438,1504,787,382,364,378,376,387,378,381,426,510,487,398,441,566,808,1040,1096,1190,1450,1604,1680,1742,1192,551,515,472,563,644,450,1196,1870,1844,1716,1672,1588,1490,1416,939,396,490,733,1296,1390,1422,1428,1664,1330,846,1076,968,821,1274,1348,1316,1188,1188,1272,1300,1422,1470,1344,1282,1294,1368,1592,1526,1394,1302,1166,1392,1654,1308,1019,1082,937,862,867,1060,991,921,1158,1052,857,987,800,705,822,830,731,856,1064,1290,1708,2030,1910,1656,1600,1674,1840,1208,635,641,750,876,1096,1224,1462,1306,797,642,664,781,708,789,851,846,722,620,579,588,670,689,677,695,688,691,706,741,869,992,1044,745,406,406,790,1238,1552,1318,1108,907,977,912,895,912,1094,1342,1412,1082,705,563,628,565,445,794,995,1138,1168,1110,1376,1378,1136,1124,1296,1204,1178,1190,1182,1080,1188,1326,1038,850,1186,1454,1384,1438,1368,1048,867,1156,1344,1310,1512,1082,1380,1416,1198,1005,1176,907,702,940,1356,1598,1212,1128,1350,1466,814,1172,1122,943,819,1096,1096,871,1050,1006,1124,1384,1560,1130,1023,1138,1154,1324,1324,1180,1068,757,709,962,1090,935,879,752,435,411,401,578,459,546,614,938,779,421,411,581,784,592,788,1034,1078,1018,1116,975,1122,1296,990,767,609,557,700,879,958,940,1204,1232,1058,1630,1322,1128,1354,1204,1392,1500,768,1054,1512,1494,1266,998,1036,1270,1142,898,1130,864,485,697,1330,1602,1606,1202,1158,1210,1164,894,781,662,424,363,383,343,401,601,509,265,608,1090,1248,1098,993,971,645,491,560,975,1048,630,433,386,286,378,593,509,611,675,1062,1174,1078,1028,1013,1066,1186,957,1048,912,450,570,563,384,331,292,332,550,999,1260,1052,759,776,621,415,395,409,430,477,587,769,987,809,558,406,547,708,572,752,982,921,909,1040,1404,1160,807,921,785,829,965,839,836,654,417,391,447,420,473,545,705,999,1342,1028,1288,3052,2430,1468,995,967,1136,1276,1110,716,424,560,1250,1520,601,937,1058,766,421,525,788,557,516,378,276,315,332,383,328,339,266,260,237,229,252,245,246,223,310,619,932,634,299,360,277,239,241,292,284,374,385,330,435,548,678,880,844,550,394,455,541,705,584,998,1344,1456,1300,1028,905,1258,1860,2090,2022,1854,1706,1588,1506,1124,1380,1624,1484,1136,794,834,949,713,669,623,877,1488,1410],[575,693,613,650,752,815,1108,956,960,644,574,786,1082,1300,1274,1042,720,665,957,932,891,704,832,1074,1334,1218,1098,968,1124,1230,1192,948,554,462,386,393,273,269,258,269,254,257,277,236,266,299,259,317,286,321,543,661,853,955,1378,1066,853,923,1114,1258,1126,1272,1206,1078,896,1080,1108,897,951,1032,1206,994,1005,1128,1076,1334,1704,1368,1004,774,801,948,1015,1054,1005,959,1088,1138,1134,1054,1122,986,1124,788,305,306,604,993,1046,1013,1126,1056,1044,1050,992,871,684,865,1052,756,736,865,823,663,970,1108,1130,1128,970,1178,1456,1414,1112,1220,1384,1252,1010,866,830,611,447,557,497,380,372,471,754,1168,1108,1206,1452,1426,1460,1638,1738,1936,1622,1280,1124,1108,1036,816,985,1072,874,922,1124,1356,1282,1160,1346,1152,1222,1026,819,877,714,783,733,616,525,501,662,807,647,614,749,1014,1504,1092,1007,988,969,713,438,356,338,362,357,329,314,304,359,370,428,322,267,427,523,561,709,1160,1372,1158,1184,1470,1312,1278,1262,1230,1500,1180,821,1074,991,1011,1302,1472,1548,1316,1190,1098,1242,1198,1376,999,505,344,350,359,382,406,333,410,453,505,526,916,1182,811,581,622,636,706,868,855,786,809,833,730,771,836,912,834,741,626,488,586,893,1022,918,1001,991,843,922,811,719,779,775,1058,998,822,995,693,346,268,263,256,273,311,342,480,612,614,493,884,1106,1186,1094,621,581,762,1194,945,630,412,569,940,960,799,684,724,612,803,1072,900,909,858,962,785,570,544,771,870,647,461,341,274,309,299,309,336,279,401,752,850,659,607,884,1020,1132,1106,913,963,1146,762,880,710,933,766,885,1344,1556,1656,1562,1426,1350,714,673,477,681,1246,865,876,1064,1152,1202,1476,1710,1282,1362,1356,1188,1320,1090,1172,1048,905,1112,1372,1366,1172,1008,863,1332,1486,1658,1688,1152,988,1722,1642,822,656,882,1042,1066,1146,1522,1304,886,624,958,1302,835,1130,1112,1278,1276,1260,1208,1234,1082,882,1030,992,804,875,786,1228,1194,901,885,1028,1242,1334,1306,1418,1116,983,897,1170,1582,1750,1880,1770,1688,1814,1864,1648,1560,1636,1528,1288,1128,1017,1274,1366,1196,1072,1078,1021,1056,1282,1424,1256,1192,1240,1366,1322,1134,832,717,684,720,832,592,470,768,1174,1180,1038,1070,1148,1148,1240,1316,1026,959,998,860,1001,965,974,978,1090,1278,1488,1196,1009,918,965,1212,1168,936,874,1011,1130,1186,761,776,1110,1354,1328,1404,1422,1398,1518,1368,1162,1224,1588,1454,1422,1300,1342,1162,866,921,655,488,575,813,903,530,742,969,889,846,668,378,419,506,524,478,407,622,1134,1194,1244,1114,1060,694,620,1008,1134,780,730,595,361,593,910,608,478,659,771,1040,1318,1198,1108,1080,1044,1156,1432,1584,1466,663,359,307,314,401,337,294,473,798,666,1015,1182,606,510,687,692,745,654,1042,1152,971,1112,1256,1256,1240,1192,1138,1036,944,1011,1138,1086,1004,765,924,1314,1590,1362,964,1007,1018,1276,1490,1134,902,801,811,670,439,376,550,789,1138,1798,2016,1154,835,1008,1294,1212,1136,1266,1260,947,727,1013,1510,1176,554,570,984,1246,1310,1220,1050,1098,865,499,400,430,410,413,416,350,417,628,600,499,478,480,472,534,640,691,697,582,544,1010,1490,1490,1328,1222,1474,1518,1430,1148,959,1050,1168,777,437,379,340,656,1334,1318,1300,618,389,377,389,377,705,1015,1110,1014,967,1166,972,836,839,988,872,976,1212,1240,1056,918,884,1042,1194,1168,1212,1310,1374,1404,1440,1234,1110,1242,1294,1452,1462,1532,1226,681,820,995,1092,1142,946,995,819,923,1090,1066,1068,808,444,386,362,418,410,455,453,507,673,990,965,899,1046,1322,1554,1688,1190,751,868,974,1100,937,1016,1252,1214,1068,1228,1398,1466,1488,1348,1278,1288,1116,1236,1078,1158,1482,1570,1438,1250,1476,1550,1400,1400,1424,1164,1078,1354,1076,805,1009,1114,1310,1300,1014,979,1070,975,1162,1328,1404,1330,1470,1318,1146,979,902,1306,1404,1394,1442,1396,1294,958,1042,1030,1040,1120,1001,1188,1240,1378,1646,1224,874,1114,1074,563,807,1288,1146,1278,1274,1270,1198,841,1022,1270,1240,1176,1254,1270,1300,955,1124,1414,1034,693,713,853,927,874,1086,1040,468,346,358,551,1064,1240,1106,667,827,1164,1272,992,735,779,1080,999,1038,1198,916,546,724,1098,1009,767,631,1130,974,859,992,836,758,863,878,910,813,916,982,1078,1228,1166,1458,1996,1536,866,889,1074,874,891,1178,1372,1396,1376,1236,1200,1188,1116,1064,1100,1044,1007,919,913,1166,1244,1448,1458,1470,1444,1280,1342,1366,1362,1248,1130,1110,1114,1270,1526,1462,1236,1342,1336,886,706,882,899,1284,1196,1110,949,925,943,801,738,651,736,855,866,797,645,836,1024,1168,1220,1118,1288,1438,1346,1118,1068,1542,1626,1338,1344,1208,830,628,658,969,1013,868,1005,1466,1704,1560,1446,1218,761,815,1210,799,1086,875,836,812,935,675,517,788,1012,860,731,647,694,719,442,339,303,498,585,461,450,639,677,493,409,458,499,680,1284,1390,1144,1174,829,728,949,935,728,505,625,731,824,907,841,509,433,423,506,698,810,727,796,739,702,982,785,796,970,720,477,379,646,891,924,929,637,474,814,924,674,577,527,379,402,344,262,275,433,841,1182,1440,1556,1598,1348,926,1234,1772,1430,805,498,425,474,695,907,811,621,968,1172,1142,644,559,544,674,1168,1300,1009,750,885,936,673,418,704,922,731,643,899,1082,1546,1442,1194,1216,1002,1202,1302,1166,861,476,321,329,401,869,822,685,969,1042,552,463,665,846,988,937,978,1046,1584,1426,747,373,386,488,601,652,927,1196,1166,1194,750,767,1136,822,555,476,613,436,346,429,461,419,476,522,570,516,364,375,362,553,689,874,1246,1316,982,798,1062,1128,1050,1328,1018,745,1030,996,1258,1394,1124,595,515,778,1086,894,707,695,545,808,1094,880,742,738,603,913,1292,807,632,1120,1232,1304,1118,1178,1306,1290,1174,1162,1216,1136,1108,1202,1126,950,884,850,786,703,849,954,1178,1274,1244,1022,1028,1072,1028,1074,1268,1086,1068,1194,1500,1284,1070,1019,1032,1252,990,897,1162,1300,1692,954,1116,1110,824,472,379,633,1030,1078,836,720,662,619,998,1400,1554,1050,580,463,437,378,360,380,415,484,566,497,388,411,688,1126,1196,1156,1212,1410,1586,1678,1772,1282,589,554,531,612,659,475,1108,1730,1698,1594,1692,1622,1538,1594,1086,441,420,537,981,1342,1394,1214,1492,1440,894,979,1072,1166,1534,1396,1376,1324,1222,1258,1278,1576,1786,1660,1572,1516,1654,1460,1422,1716,1798,1470,1392,1462,1284,1106,1176,1264,1212,1268,1454,1310,1194,1450,1180,886,985,775,714,778,1032,1236,1408,1350,1198,1520,1610,1666,1786,1744,1606,1416,976,700,711,781,918,1124,1252,1418,1222,476,240,328,446,544,724,805,813,661,591,645,625,681,747,734,725,725,714,693,793,908,960,940,814,556,468,841,1230,1320,706,522,464,1017,829,676,843,838,914,1132,1108,896,882,955,695,614,671,747,1116,1274,1256,1308,1186,1180,1372,1216,1036,1144,1246,1302,1332,1172,1192,1332,1166,1270,1122,1244,1742,1266,990,1368,1488,1496,1450,1206,1224,1224,1164,1116,1074,1068,769,434,488,969,1280,820,823,1266,1364,800,840,769,775,840,1032,776,518,823,1214,1404,1166,1908,1354,1400,1758,1276,899,905,771,654,1136,1230,1118,954,858,1064,509,282,520,462,392,410,568,1062,1264,745,558,640,760,1015,1026,855,963,1092,1216,1296,1186,1098,1130,894,544,499,551,606,664,617,775,798,797,794,1160,1252,1278,1700,1744,1064,1028,601,1050,1534,1644,1332,933,1022,1192,772,841,1382,1009,582,773,1568,1534,1662,1152,901,822,661,492,492,467,361,387,362,379,346,300,303,389,642,791,1032,1340,1274,816,468,364,705,1184,1264,1005,571,337,290,336,700,556,390,566,689,673,697,1054,996,930,1448,1118,1015,711,576,1032,811,434,356,324,361,688,1188,1032,766,674,672,614,539,584,599,524,626,971,1252,1216,838,694,439,454,780,748,1176,1590,1212,870,843,878,996,879,805,790,821,937,755,507,391,358,384,420,437,441,507,610,892,1260,1140,1384,2384,1034,474,633,818,1026,1262,1146,677,429,351,738,1202,635,581,742,568,433,943,1152,698,448,322,292,284,327,404,350,348,296,241,259,277,273,254,236,236,269,579,1001,608,269,225,235,230,263,258,238,260,281,388,605,807,969,487,325,355,336,365,351,453,409,405,667,1160,1474,1276,749,683,1256,1734,2052,1994,1734,1278,1074,1236,1332,1132,1018,904,857,1160,1354,842,586,634,858,1460,1616],[872,622,618,585,711,965,1164,958,653,525,843,1146,1054,952,1140,1180,1058,1010,1362,1274,968,737,907,951,813,918,1030,1011,794,521,729,984,889,611,402,409,367,340,275,252,240,247,232,216,229,244,285,394,313,299,684,889,854,1282,1368,1262,1400,1270,1338,1332,1180,1286,1038,1005,1074,1392,1406,1202,761,526,487,639,994,1144,1296,1700,1750,1528,1756,1194,855,784,861,918,935,1098,880,630,827,702,711,545,545,405,291,346,694,1036,1012,1144,1316,1244,1372,1166,849,1004,991,942,1042,840,883,934,623,720,975,946,907,927,901,1232,1268,1170,874,904,936,761,529,631,925,691,492,617,384,348,401,355,477,703,823,985,1170,1078,998,1466,1566,1626,1630,1444,1390,1230,999,843,1034,1262,1230,1114,1216,1474,1280,980,1118,1168,1050,977,668,585,720,858,848,688,643,487,692,1214,1880,1606,827,775,1250,1164,1042,1164,1180,708,405,421,377,305,420,447,386,430,402,367,355,354,462,537,624,724,828,1110,1214,922,1230,1560,1478,1352,1274,1176,1220,845,781,1094,1096,836,725,1266,1310,1124,1174,1176,1094,1280,1192,618,514,468,431,334,379,405,431,505,486,537,677,1140,978,569,456,436,411,415,471,462,564,678,577,592,692,620,556,639,735,745,745,667,777,1098,1092,1246,1216,995,641,752,1222,1326,1226,1214,781,621,874,767,530,318,282,258,295,318,522,698,576,393,367,672,1116,1278,1206,646,518,916,1266,999,447,288,346,419,654,575,529,985,922,865,1016,1038,1058,983,1188,1024,853,832,952,941,700,571,411,343,338,269,216,241,239,327,673,833,511,355,375,465,991,1282,1548,1500,1378,836,538,860,1116,810,637,835,1160,1172,1001,1036,894,641,901,980,794,802,868,934,1038,1396,1354,1398,1410,1056,1238,1216,1280,1226,901,1096,1468,1534,1338,1294,1090,772,935,969,1312,1378,1510,1352,1026,1200,1510,1252,904,1052,1072,827,835,1214,1616,987,646,658,705,903,827,1212,1060,661,883,1096,1122,1258,2216,1650,1282,1514,1392,1148,817,976,981,1072,1142,939,1108,1234,1346,1522,1292,821,852,1298,1688,1838,1804,1686,1722,1914,1942,1652,1688,1850,1836,1598,1180,1028,1282,1416,1340,1210,1128,993,1172,1532,1470,1116,1134,1232,1372,1148,938,832,648,486,601,753,343,398,871,1078,1248,1008,906,1120,1246,1260,1384,1158,730,621,667,595,769,998,1152,1184,1194,1384,1136,910,1024,1286,1614,1378,1312,1190,846,832,855,746,785,930,1158,1506,1500,1238,1220,1410,1416,1344,1598,1616,1716,1638,1600,1374,1026,921,927,750,517,451,500,560,452,820,1146,813,547,433,463,559,559,534,513,589,833,1008,957,987,1014,1108,1076,899,981,995,631,436,378,323,405,534,375,352,344,488,919,1080,1048,1090,1088,1068,1122,1050,1230,1450,1226,742,448,473,479,345,300,496,794,681,605,1056,1064,767,870,954,940,703,990,819,678,1126,1312,1266,1140,1162,1222,1190,1182,1242,1086,869,1011,1202,1310,1376,1700,1488,860,1132,1316,1324,1448,1354,1514,985,539,566,611,675,883,1046,1490,2170,2060,1086,962,997,1114,1060,1100,1360,1180,1118,1015,1003,1300,1254,947,937,1344,1274,1186,1010,734,777,681,431,411,407,410,429,390,345,379,600,537,477,459,433,447,558,696,757,703,501,688,1212,1436,1500,1244,1328,1532,1656,1496,1218,923,938,1084,689,396,361,373,769,1310,1350,987,579,462,393,370,347,444,747,931,1028,1336,1222,993,1184,1224,1294,1052,1172,1288,1160,800,622,872,1005,1124,1266,1236,1150,1384,1328,1392,1246,1038,961,1134,1232,1176,1040,1074,922,977,1060,796,674,671,751,934,1368,1306,816,598,465,395,328,298,397,395,669,846,641,840,1350,1208,1008,1240,1442,1468,1390,860,571,656,818,921,801,1000,1412,1334,1180,1262,966,1332,1534,1172,1052,1072,1138,944,1874,1858,1356,1610,1494,1450,1676,1376,1300,1268,1252,1009,1342,1466,1376,984,846,1224,1350,1158,1182,1176,1480,1372,1070,1116,1040,850,989,1226,1440,1532,1416,1494,1476,1390,1334,1436,1340,1202,1070,1040,1052,909,988,1052,1068,1560,2092,1738,1316,1282,1292,939,967,915,1058,1236,1356,1390,1346,1206,1048,1170,1270,1054,1516,1760,1284,1114,1090,879,1164,1360,1266,854,572,549,884,1096,877,459,393,497,1074,1018,971,951,928,1372,1614,1208,877,776,796,918,1230,1244,880,866,1011,928,918,741,959,1178,885,885,862,654,455,708,1182,847,774,1072,1110,1278,1326,1276,1444,2050,2090,1490,824,949,987,706,847,1176,1310,1286,947,858,853,1084,836,1172,1092,1240,1056,1052,1076,1142,1238,1152,1198,1196,1042,1238,1276,1482,1550,1368,1060,1178,1400,1714,1532,1128,1252,1256,841,576,576,696,1128,1566,1604,1266,1186,1204,1062,983,820,599,661,1010,1244,1007,1009,1220,1234,1005,1084,1350,1192,1068,974,1050,1760,1546,1066,1230,1318,1138,716,487,626,640,531,935,1572,1664,1460,1246,613,443,585,807,650,937,1021,962,1082,1050,569,479,729,894,569,448,415,469,537,420,320,329,463,558,568,602,871,767,554,398,390,498,505,924,1270,1276,1408,1296,778,655,740,695,452,419,512,703,804,909,695,483,406,452,848,1166,929,1066,1216,795,846,836,977,905,630,431,287,403,686,907,794,461,309,535,618,524,432,300,257,270,263,270,274,339,532,662,885,1368,1478,1478,814,806,1266,961,625,635,589,514,583,668,577,504,825,1001,806,1082,1050,882,868,990,1064,957,941,1178,1158,1064,826,640,551,574,689,570,723,1460,1974,2060,1460,1012,935,906,1040,1250,855,406,314,563,1048,1116,721,1044,1458,600,448,883,1120,1410,1280,858,1052,1328,937,479,388,412,714,1000,803,1036,1172,1192,1080,511,825,959,658,620,576,456,456,574,784,845,611,515,557,655,496,401,441,388,361,336,709,1326,1220,977,891,1100,1302,1262,1354,980,1086,1290,1060,1228,1370,1096,615,827,974,788,707,810,780,803,756,918,1144,1160,1028,840,906,1058,806,778,1002,880,1238,1452,1366,1188,1186,1172,1274,1312,1156,1154,1264,1256,1260,1144,992,1096,1018,787,888,1058,1198,1198,928,990,1170,1368,1144,1218,1132,1324,1318,1432,1482,1318,1154,1216,1222,679,801,913,997,892,591,883,1100,856,403,529,847,822,681,774,619,583,492,1004,1472,1656,1340,830,615,567,591,636,639,470,398,364,396,411,524,1030,1562,1420,1130,1296,1398,1560,1642,1824,1324,695,612,584,605,537,639,1212,1612,1568,1488,1548,1486,1436,1280,686,346,351,486,917,1064,858,838,1328,1616,1040,1032,1048,1236,1542,1722,1530,1320,1274,1242,1288,1600,1730,1644,1696,1572,1374,1282,1560,1422,1542,1588,1456,1404,1296,1086,1152,1434,1768,1560,1164,1100,1004,1378,1196,894,863,718,705,967,1306,1538,1552,1440,1158,1058,963,883,844,1050,1092,955,927,944,1044,1110,1040,1152,1248,1346,1290,637,417,435,465,591,712,739,771,775,762,733,689,686,771,711,714,766,759,759,811,939,976,847,767,746,591,974,1392,1544,1050,760,645,888,514,339,488,527,834,1172,1626,1156,990,838,824,793,647,774,1298,1496,1398,1296,1102,1174,1416,1092,1136,1144,1176,1136,997,965,1078,1130,1250,1334,897,980,1378,918,933,1412,1422,1496,1294,960,922,1110,1300,1346,1304,1184,950,357,355,404,441,578,952,1200,1294,1148,1048,963,846,1106,1412,1126,675,736,1278,1348,857,996,1002,1050,1198,823,473,817,886,675,1526,1230,985,818,1206,1152,473,406,955,824,449,563,580,831,1152,767,772,913,846,940,1274,1176,1036,1368,1372,1202,1056,594,534,541,582,621,442,386,364,407,554,590,524,489,542,609,629,1072,1242,966,741,495,984,1366,1210,1072,1160,1282,1332,1038,639,1046,1188,915,921,1458,1196,898,627,484,390,344,353,361,356,398,460,412,385,332,250,337,407,490,781,1238,1616,1548,1320,1074,692,797,1244,1434,1378,674,303,280,311,409,344,444,426,330,433,952,1412,1318,1126,1440,1216,906,546,700,968,678,499,418,368,442,808,1426,1488,753,511,671,586,482,439,451,626,678,882,1028,835,980,957,593,662,635,503,565,642,631,760,734,633,889,1024,782,683,771,1054,865,445,389,308,281,388,546,489,474,601,977,832,1152,1064,670,458,403,365,383,515,641,587,509,466,338,396,795,736,1017,1320,801,540,980,932,413,262,320,554,653,390,405,380,354,311,262,263,258,258,232,230,247,233,335,453,406,258,237,209,221,250,231,225,248,301,471,797,926,815,404,349,338,323,359,362,410,445,434,514,609,758,1000,1012,605,846,1226,1306,1438,1202,576,495,869,1250,1294,1238,1192,1048,1118,1106,614,368,386,498,917,1052],[816,546,638,561,827,983,1044,1020,825,761,875,1060,916,865,1126,1356,1232,1296,1298,825,744,651,855,1110,1198,1144,1130,1128,574,412,449,838,1282,1011,539,444,448,412,339,249,215,270,294,230,260,317,389,430,416,399,830,964,744,803,952,1202,1282,1304,1354,1544,1192,1166,1078,1054,1144,1346,1410,1216,811,519,307,397,818,1098,1444,1368,1240,1510,1550,1212,985,911,1078,1228,1214,1050,647,612,1002,787,381,330,296,287,252,405,929,1262,1312,1224,1058,984,1278,1096,673,604,607,681,819,672,680,724,704,959,1108,1188,1172,1140,1072,1256,1244,974,681,687,700,609,547,931,1144,1104,948,938,476,327,342,308,325,330,563,890,1011,955,902,1186,1410,1566,1760,1682,1634,1366,1188,1256,1328,1384,1154,1132,1226,1146,1062,985,1278,1476,1338,1106,911,991,839,724,717,565,703,688,864,1216,2116,1078,962,1154,1088,1192,1430,1646,1346,616,461,533,489,399,426,624,601,837,769,536,414,410,513,500,432,545,841,1190,1266,1302,1216,1398,1488,1186,1224,1262,1070,1074,865,672,799,772,846,854,821,931,1118,1130,1058,1332,863,514,495,488,562,514,398,340,361,404,491,560,964,1150,737,457,418,395,418,398,462,486,365,452,524,524,458,465,496,481,470,509,562,808,1158,1422,1350,1582,1244,993,907,1192,1184,875,1034,1044,756,886,1228,1156,683,443,336,281,326,353,650,799,500,330,290,463,1060,1384,1044,813,739,1012,1684,1110,278,302,290,621,952,664,806,1154,993,831,1030,1352,1262,1066,1052,1034,968,946,1023,910,631,508,429,505,506,345,266,258,256,257,376,389,270,377,492,375,428,868,1494,1636,1412,991,885,1158,1010,657,716,533,508,426,512,650,684,906,972,1036,990,765,614,706,1024,1926,1086,843,976,962,1382,1438,1530,1120,935,1374,1650,1470,1238,1408,1244,874,1248,1384,1302,1208,1328,1116,790,1036,1030,865,1030,1294,1280,750,827,1332,1184,926,717,749,800,730,697,812,789,744,961,1152,1146,1974,4968,2670,1708,1628,1590,1410,980,1018,1252,1172,1072,1186,1460,1692,1772,1498,1524,1264,1228,1450,1696,1810,1786,1944,2204,2166,2140,1942,1954,1974,1920,1998,1700,1288,1270,1258,1262,1210,1154,1116,1300,1564,1662,2320,1792,1172,1454,1192,890,812,686,633,744,800,395,397,1012,1252,1160,1140,1086,1058,1058,1068,1096,1088,877,653,543,590,877,918,1020,1166,935,865,1234,1262,1208,1210,1528,1354,1488,1546,1052,919,976,861,906,905,846,1074,1162,1380,1438,1578,1378,1270,1280,1524,1622,1444,1312,1292,1296,1118,1110,797,641,745,760,499,515,789,939,797,667,427,381,344,401,531,462,496,980,927,674,976,1050,945,877,722,792,890,610,390,363,361,399,377,328,331,344,382,760,1104,1098,1080,1078,1104,1242,1054,1100,1054,1122,1324,1068,854,581,330,362,562,728,800,939,1660,1490,951,1026,963,749,692,1076,903,749,1136,1284,1138,1042,1130,1180,943,808,1014,965,892,1106,1274,1166,1124,1114,987,948,1102,1324,1264,1170,1144,1696,1656,1206,1032,1166,1094,960,833,1490,1584,1460,1378,1210,1176,1258,1076,1206,1320,1296,1412,1270,1060,1310,1338,904,822,1010,1176,1150,919,885,957,914,741,579,544,514,476,448,422,402,553,513,439,437,415,448,563,592,679,772,609,823,1212,1230,1280,1220,1378,1478,1570,1510,1178,897,1106,1244,750,430,383,358,928,1232,1284,973,667,568,393,375,393,755,1068,984,1274,1312,1218,1174,1320,1468,1184,848,880,1030,927,723,870,1188,901,1216,1244,1234,1182,1158,1206,1268,1072,963,1018,1124,1058,1218,927,1204,1382,1258,1140,703,477,557,628,893,1256,1050,505,400,376,350,284,330,390,414,838,1240,1056,1084,1238,1132,957,1272,1484,1394,1200,835,810,967,951,871,962,1330,1512,1280,1120,1154,877,1158,1346,852,645,874,1236,1188,1418,1154,1184,1530,1450,1354,1386,1332,1274,1258,1278,1300,1316,1510,1650,1284,1160,1434,1442,1142,1132,1182,1266,1009,1078,1218,935,818,878,677,884,1486,1654,1758,1714,1468,1284,1526,1434,1396,1106,1176,1248,1086,1004,912,897,1210,1578,1530,1312,1320,1202,1088,1086,1160,1256,1306,1256,1346,1526,1348,1282,1254,1088,1236,1376,1054,733,1154,1080,766,911,1278,1404,1304,890,727,853,1204,1210,882,642,455,656,694,893,1194,1196,1360,1412,1052,921,843,632,922,1182,1090,910,839,862,802,706,913,1382,1016,800,855,688,427,365,498,654,613,1132,1372,1520,1718,1608,1260,1222,1464,1680,1166,680,752,828,813,1100,1372,1546,1344,1052,900,906,1248,1304,1344,1278,1316,1158,961,992,1070,831,810,1100,841,869,1312,1376,1392,1448,1422,1266,1334,1362,1466,1308,1216,1152,1246,723,502,828,1158,1044,1016,1130,1148,1234,1234,1108,870,668,703,762,957,1252,1044,1026,1132,1062,1078,1368,1366,744,463,480,738,1052,805,521,930,1262,1272,883,532,425,400,453,614,951,1368,1532,1306,716,569,702,698,758,1084,1232,1204,926,839,555,419,454,408,372,404,371,372,503,499,364,335,383,381,499,585,786,554,434,423,395,659,793,790,914,944,827,1024,954,844,819,715,503,395,364,353,426,604,744,691,477,480,646,879,1110,1306,1238,1019,940,919,960,1030,846,417,278,336,558,630,472,272,200,255,310,424,343,207,188,216,239,293,402,400,719,899,1090,1140,1424,1516,930,905,1238,865,431,504,606,717,677,600,480,431,352,368,766,1264,1146,891,674,542,387,363,611,902,1066,1844,1606,978,730,802,928,771,697,1023,1316,1538,1160,1248,881,740,1036,1348,1088,554,458,590,652,661,568,874,1300,1005,670,839,957,1264,1094,1060,881,575,458,444,440,482,1048,1260,979,1013,1438,1140,607,448,982,852,565,893,940,573,578,585,741,790,703,579,554,508,447,448,418,410,448,652,1004,964,869,946,819,792,993,1144,1276,1001,1272,1384,979,1174,1104,774,428,683,1138,1266,1266,1210,1192,1332,1406,1434,1500,1430,1332,1230,1222,1008,935,1280,1212,1108,1404,1472,1256,1262,1522,1616,1486,1376,1454,1486,1496,1520,1708,1638,1382,1402,1300,963,980,1176,1036,745,499,529,940,1454,1236,1170,1016,1520,1478,979,1392,1592,1444,1494,1290,735,603,689,995,879,783,839,1206,1284,1044,1050,1194,1084,818,825,678,863,1112,1520,1688,1652,1560,1356,1244,1302,1144,939,721,533,402,362,380,404,525,960,1600,1560,1088,1288,1346,1562,1594,1754,1314,737,593,573,488,451,792,1052,975,1034,1034,1014,1110,1324,721,281,318,396,484,687,828,927,987,1236,1668,1588,1578,1188,1218,1616,2596,2552,1900,1356,1322,1326,1578,1676,1664,1642,1266,1202,1722,1792,1306,1250,1416,1368,1410,1346,1092,1096,1374,1624,1212,878,750,792,1040,984,920,888,784,1074,1182,1072,1352,1334,1682,1438,985,785,695,691,745,777,772,824,974,1292,1600,1306,1270,1280,1376,1338,944,689,671,650,554,622,662,714,706,664,650,689,706,686,672,663,681,698,691,754,918,958,787,684,739,846,1134,1550,1594,1238,1130,1196,885,463,620,780,632,476,933,1656,1224,945,833,783,569,1042,1550,1322,1360,1480,1378,1180,1180,1430,1338,1198,1302,1154,1156,1102,1086,1009,1174,1188,929,654,582,696,896,1007,1236,1510,1484,1394,1084,888,1296,1428,1356,1118,937,768,400,343,331,437,506,977,1298,1322,1194,1198,1204,884,951,1126,1146,1216,884,798,730,667,946,1106,1142,1062,970,631,738,728,640,868,938,1140,1046,679,327,313,455,868,923,501,680,882,663,736,548,684,868,631,552,899,1028,1023,1006,724,1044,1246,827,639,691,1100,711,316,314,292,346,376,296,300,317,301,383,376,430,670,894,1080,897,918,1194,1350,1414,1478,1238,1262,1356,718,752,1000,852,759,763,643,603,585,449,348,318,384,344,363,455,960,1008,671,415,289,387,428,377,487,762,985,1072,1352,1606,1396,1007,1152,1072,830,449,294,241,299,290,317,383,334,376,656,1268,1510,1600,1476,1318,1220,1028,514,451,655,819,706,456,336,497,610,991,1158,816,639,609,533,530,585,507,626,553,1023,1166,601,697,990,1060,957,752,433,354,349,390,727,674,828,771,849,684,513,497,1126,1334,709,411,307,319,336,523,464,434,571,788,680,973,1124,805,410,419,335,309,379,394,388,415,348,394,740,846,726,1284,1586,903,404,619,728,328,355,577,1004,1060,557,329,354,373,303,262,263,243,226,239,239,258,252,256,236,236,241,242,205,225,259,239,221,236,325,586,684,513,364,367,427,379,341,366,393,455,479,363,341,311,295,383,449,543,856,1202,1130,1005,724,385,697,1194,1482,1620,1642,1382,957,1034,905,434,352,403,516,748,555],[615,582,830,888,1476,1498,956,852,739,799,664,680,539,664,969,1256,1384,1500,1442,1074,869,807,892,1274,1724,1004,948,1044,511,390,568,1104,1520,1270,885,575,396,348,307,324,389,496,411,321,417,735,763,650,578,525,660,866,867,974,1060,1394,1372,1466,1460,1450,1262,1312,1296,1156,1130,1070,1058,1260,1086,572,347,334,769,1084,1306,978,1210,1278,800,709,767,955,1398,1392,959,522,417,667,1042,779,433,462,489,372,300,441,1018,1302,1306,1180,814,595,969,1056,533,312,456,730,663,610,716,771,1002,1202,1252,1122,1032,1240,1254,1098,1070,745,830,761,799,756,838,1017,794,937,1026,1036,793,616,403,321,344,357,554,719,657,567,905,988,1108,1312,1492,1532,1594,1456,1396,1562,1650,1354,838,1046,1192,1240,1616,1664,1344,1144,1088,953,1086,1044,681,582,641,557,597,552,524,1106,1406,769,925,1072,1134,1438,1656,1686,1764,740,426,365,535,555,575,578,738,965,903,954,756,506,396,366,388,435,518,881,1174,1356,1328,1470,1588,1368,1210,1011,783,756,777,579,653,794,649,509,613,735,848,879,1186,1068,499,423,436,401,392,357,291,262,298,435,563,804,1154,966,672,495,498,421,408,441,463,487,459,488,496,505,595,682,547,473,441,443,493,892,1184,1268,1798,2074,1344,981,1200,1262,936,558,650,592,559,630,1132,1030,635,440,423,407,350,323,495,580,422,363,311,338,826,1202,1252,1070,838,910,951,527,288,323,533,1116,1224,946,1112,1130,1066,890,1092,1180,930,962,1028,1224,1152,1008,1218,869,745,612,540,673,667,483,316,241,254,305,430,398,448,525,586,484,415,403,900,1460,1676,1522,1356,1462,872,442,803,913,778,644,561,603,792,1312,1362,1001,562,423,387,481,698,830,532,778,1106,1032,1266,1636,1538,1438,1656,1182,779,828,876,975,1036,1194,1274,1444,1488,1262,1340,1110,1096,1372,1038,1116,1182,1208,1130,750,763,1228,903,551,616,660,717,794,837,875,1004,1194,1242,1336,1016,1292,2178,1850,2176,2270,1864,1664,1374,1198,1090,1424,1484,1532,1472,1672,1570,1622,2042,2160,1744,1394,1692,1874,1798,2042,2248,2094,1930,1800,1888,2054,2282,2456,2116,1210,873,915,1206,1254,1248,1326,1256,1424,1558,1678,1142,1074,1438,1198,918,921,1260,1084,766,547,418,668,1148,1294,1134,1013,948,1056,1098,1100,943,1126,1206,1272,947,804,1082,1184,1222,1260,1064,969,1086,1228,1416,1266,1222,1252,1572,1436,1188,1052,893,701,829,920,864,1036,1138,1344,1410,1404,1394,1354,1110,1150,1346,1454,1216,1174,1168,1118,1098,902,1166,1140,721,437,532,962,1070,852,919,565,486,374,467,952,716,606,1092,1074,868,968,1040,1021,924,777,597,543,512,393,323,333,393,373,296,280,357,422,518,864,1028,999,1192,1140,1162,1248,1172,1198,1106,1172,1412,1366,884,431,525,853,1042,985,962,1166,1202,1018,928,692,391,553,819,896,979,991,1094,736,912,1138,1242,1180,860,912,1262,1158,1178,1178,976,772,573,617,736,844,971,995,1084,992,1094,1378,1370,1378,1390,1246,962,993,1548,1504,1444,1406,1288,1370,1144,1015,1372,1316,1262,1142,959,928,884,1014,565,498,846,1230,1070,940,1030,1110,1204,1144,880,505,401,427,475,481,453,541,558,483,448,415,451,503,437,585,633,625,763,724,558,627,773,845,883,1064,1242,1136,849,1194,1078,524,365,389,373,1004,1338,1200,929,585,487,388,334,522,1488,1312,1250,1302,1300,1242,1220,1266,1154,879,666,659,726,662,823,948,1023,1001,1178,1158,1222,1212,1056,1178,1222,926,910,1046,1116,1184,1146,1013,1276,1388,1290,958,554,522,565,751,1162,1312,807,436,353,368,346,304,330,387,456,843,1102,937,686,663,991,1100,1248,1346,1290,1208,1004,947,955,918,864,1146,1460,1396,1532,1054,1214,1252,1236,1256,833,590,1044,1542,1472,1272,1318,1284,1426,1528,1344,1438,1344,1350,1416,1360,1430,1462,1574,1538,1224,1260,1342,1284,1256,1296,1256,933,772,1098,937,509,602,889,1042,1286,1384,1384,1272,1548,1622,1428,1506,1308,1200,1136,1216,1284,1284,1242,1128,1142,1158,1236,1298,1186,982,915,806,908,1058,1098,1236,1294,1408,1568,1336,1214,937,881,1122,842,546,722,984,865,897,1352,1416,1392,1050,1240,1260,1250,1314,1312,1248,1072,904,832,703,946,1154,1272,1128,1472,1192,1188,1332,1072,893,890,911,788,811,1094,1048,1148,1406,1308,1092,838,827,615,678,762,553,459,734,1142,1258,1102,1276,1250,935,1174,1180,949,614,687,935,966,894,896,1330,1366,1428,1538,1390,1328,1286,1288,1346,1264,1212,1076,741,828,1102,1010,996,1522,1148,936,1056,1448,1332,1144,1124,1090,1138,1050,1240,1136,1166,1188,1242,623,640,869,1422,1338,543,641,991,1258,1338,1266,1246,1102,1018,872,709,946,954,1036,1298,1620,1728,1646,1096,558,403,467,563,552,463,422,606,1052,1374,1128,764,478,411,529,625,806,1122,1152,703,628,952,1238,1058,1080,1222,1184,927,487,511,634,453,387,337,467,565,378,356,459,494,395,351,407,383,376,393,465,415,398,392,348,764,1364,1198,742,871,1070,877,979,612,673,729,525,399,341,508,759,738,592,682,750,709,603,588,908,1110,1108,1232,969,534,631,955,828,408,345,300,444,390,262,183,174,160,175,256,232,179,182,207,281,379,494,623,915,959,983,858,1130,1530,1432,1136,926,666,390,412,657,1078,1140,840,644,470,338,340,860,1324,1192,682,337,324,328,346,458,653,857,1364,1604,1238,726,550,808,1082,1090,1222,1156,1192,1336,1500,842,710,1102,1278,833,422,580,590,300,411,910,972,888,1100,957,869,612,827,1158,1192,719,416,317,426,461,418,654,756,1416,1646,1786,1408,702,704,1046,770,760,980,1066,587,551,601,694,643,681,609,584,513,470,553,502,510,516,1021,1210,1156,1184,919,664,518,769,780,590,913,1368,1202,951,720,565,389,335,411,804,703,545,818,1246,1326,1062,1182,1372,1058,922,752,951,717,656,816,990,1142,969,904,1082,1234,1344,1124,995,1240,1348,1162,1354,1556,1510,1672,1778,1698,1558,1322,1362,1182,1019,844,709,762,1180,1444,1444,1520,1512,1500,1344,1248,1460,1588,1604,1606,1374,932,1080,1122,1100,1062,723,927,1404,1514,1526,1476,1484,1284,1086,1158,1238,1320,1100,1242,1550,1550,1686,1632,1392,1412,1212,957,742,523,394,360,406,418,486,987,1608,1616,1220,1284,1350,1422,1424,1742,1394,776,568,535,550,564,789,847,832,904,869,807,1078,1090,526,332,416,429,444,557,767,1084,1036,968,1322,1560,1600,1326,1228,1428,2124,3238,3018,1356,1322,1358,1588,1654,1418,1380,1322,1722,1932,1678,1296,1204,1214,1104,1086,1024,964,908,1266,1436,1360,1150,995,868,775,701,868,936,711,816,866,1023,1336,1192,1202,1322,1005,644,556,530,604,670,647,566,709,1216,1528,1206,1246,1260,1364,1322,976,737,641,724,534,591,684,728,748,673,621,669,678,641,622,591,598,644,708,781,854,876,822,798,673,709,688,810,815,841,1084,1026,474,475,671,613,458,480,1030,1160,1060,902,794,755,608,926,1330,1238,1200,1384,1438,1478,1442,1318,1204,1236,1212,1250,1208,1084,1116,887,1316,1044,888,780,500,519,891,812,955,1464,1470,1294,1194,1306,1422,1336,1102,741,774,513,409,322,343,451,615,1050,1260,1282,1070,1084,1116,888,692,903,1428,1498,876,492,776,1288,1418,1314,1222,1148,1290,1086,705,409,469,594,756,841,783,558,388,374,315,465,606,720,1152,964,610,588,612,836,1003,698,406,533,863,1114,865,638,827,1186,805,533,659,828,515,320,300,265,307,304,339,311,256,305,410,369,312,571,946,1368,1380,972,1220,1298,1194,1186,1570,1578,1396,985,656,495,682,790,601,495,460,431,393,347,358,363,385,426,544,1176,1406,1154,1006,816,794,778,566,562,420,481,807,1294,1458,1460,1272,853,658,538,373,290,272,286,318,354,318,346,379,835,1332,1610,1654,1560,1428,1352,1160,602,374,544,1084,1144,588,300,357,302,343,421,480,580,593,477,458,727,622,571,509,1316,1116,495,550,873,775,691,937,1001,940,525,311,404,549,539,355,475,477,492,510,740,1306,1272,802,748,401,342,448,409,572,728,676,631,587,828,725,418,353,332,359,358,346,364,335,338,488,848,974,941,1244,1330,948,647,643,579,368,709,1023,1432,1212,369,282,325,301,292,271,267,283,272,252,253,288,270,234,276,268,232,223,226,254,259,258,291,401,691,759,480,333,338,479,648,512,401,373,370,443,525,476,425,390,341,275,287,321,543,917,1218,1208,944,512,880,1332,1358,1406,1036,593,580,1088,1170,744,557,529,554,816,883],[612,805,1284,1226,1428,1368,929,624,340,359,315,375,384,722,1064,1134,1162,1438,1368,746,466,651,979,1312,1410,1102,1314,980,520,407,890,1368,1500,1772,1686,980,806,458,355,369,572,954,858,569,639,813,763,585,466,389,382,570,897,922,1158,1252,1322,1442,1472,1332,1214,1388,1546,1338,1026,1206,1408,1084,871,695,403,347,570,805,997,847,1021,1005,672,758,713,736,1372,1220,745,811,724,569,675,721,629,735,824,589,429,411,944,1202,1010,962,942,1194,1242,643,363,539,806,978,557,678,1080,858,946,1008,1198,1284,1170,1476,1302,842,906,764,847,798,1376,1520,1614,847,408,534,615,806,1074,1078,663,390,626,648,630,565,541,582,774,759,937,1180,1302,1568,1672,1418,1470,1540,1498,980,819,1134,1152,1002,1634,1750,1068,1026,964,929,942,638,505,495,528,489,480,449,672,1422,1438,1134,805,429,524,963,1312,1258,1446,860,481,465,833,905,1212,1226,924,1106,997,789,855,996,955,877,598,502,507,821,949,788,1094,1326,1386,1074,1026,818,596,509,426,401,498,717,780,490,314,397,462,816,1102,548,404,361,419,387,280,218,232,313,406,496,698,1042,1112,933,1034,706,644,537,436,412,420,429,415,401,473,550,603,608,520,454,411,474,582,688,889,1172,1542,1464,1088,965,1002,867,697,611,663,636,614,648,809,578,448,484,594,477,315,330,417,483,460,405,351,308,690,1134,1146,662,634,807,484,311,321,387,886,1238,1332,1214,1222,1172,1220,1316,1324,993,805,1182,1158,1050,849,1028,1340,1056,1040,872,626,608,575,410,321,271,268,294,356,408,786,810,543,400,315,496,904,1116,1420,1682,1592,1262,783,576,952,1262,1852,1540,863,701,890,1432,1730,1284,480,347,521,861,1040,589,522,1058,1312,1130,1260,1440,1260,1538,1710,1108,975,1076,996,1036,1086,1344,1152,828,854,1100,1404,1094,933,990,1082,1436,1230,1023,1080,1102,1250,1530,1196,825,651,680,651,905,1072,1202,1424,1580,1360,1180,822,686,1120,2002,2710,2732,2144,1908,1536,1648,1570,1780,1730,1196,1410,2140,1996,2036,2298,2122,1540,1368,1788,1992,1716,1972,2196,2192,1938,1838,1946,2092,2414,2640,2208,1242,1108,1456,1606,1318,1356,1876,1434,1026,1362,1102,1084,1212,1140,1064,1150,957,1152,1042,851,813,982,1100,971,1018,1044,1044,855,1068,1142,961,760,840,903,1250,1100,708,807,1006,912,1032,1070,1046,894,1148,1450,1338,1188,1192,1188,1358,1232,791,714,785,932,783,703,1088,1266,1372,1472,1348,1350,1360,1158,1146,1506,1600,1294,1102,1128,977,1110,1004,977,1116,850,515,545,817,766,725,659,461,433,379,410,692,796,904,1108,1138,1004,941,1134,1038,896,1015,999,626,495,378,350,465,457,407,480,453,466,521,450,883,1180,1374,1318,1138,1194,1324,1164,907,1002,1238,1272,1318,1320,939,860,766,977,1030,793,955,1170,1110,1130,1000,708,574,827,1272,1340,1136,976,984,1188,1110,932,865,748,969,1450,1266,1124,1030,952,780,838,1058,1232,1019,716,895,1104,901,915,1022,1202,1272,1388,1356,1308,1236,1170,1312,1454,1288,1404,1510,1212,1132,1288,1192,914,800,1014,814,719,772,696,666,806,947,902,1005,971,1100,821,780,711,437,354,376,409,415,437,553,549,415,386,433,497,435,396,566,588,558,619,547,422,335,332,388,423,520,688,753,750,1046,869,490,334,354,448,1020,1366,1124,736,520,418,389,362,824,1290,1280,1380,1210,1036,947,1166,1186,926,1192,1124,948,744,740,780,762,876,968,857,854,1230,1480,1536,1390,1240,1088,976,1140,1136,1248,963,1158,1618,1346,869,637,547,602,588,879,1252,1046,824,771,474,305,295,274,318,345,524,852,872,755,412,350,473,782,1236,1236,1186,1138,1032,1158,1060,848,944,1158,1492,1564,1328,825,883,1002,1420,1750,1372,991,1392,1654,1484,1494,1396,1234,1066,1280,1360,1278,1252,1476,1488,1326,1352,1344,1466,1482,1282,1254,1410,1318,1300,1334,1306,1134,902,814,840,877,648,888,1498,1612,1598,1280,1021,1122,1484,1768,1736,1560,1406,1308,1260,1384,1592,1432,1316,1480,1248,1216,1322,989,789,812,704,705,935,1180,1256,1556,1412,1246,1002,689,599,841,954,680,490,648,762,703,924,1050,1248,1296,725,801,1180,1368,1482,1544,1346,1074,1244,1302,977,976,1352,1288,1360,1386,1146,1104,1082,1114,1174,1152,1172,924,966,1172,1198,1466,1668,1112,800,649,580,608,1050,1220,863,854,606,579,1214,852,998,1326,1286,1352,1636,1478,1034,944,826,839,1122,995,1260,1256,1314,1400,1510,1378,1104,1150,1296,1132,1110,1238,1186,1066,985,1021,1310,1502,1194,863,1160,1678,1332,1182,1094,1354,1190,810,747,621,774,1264,1274,930,1084,1144,1428,1592,897,983,1150,1230,1244,1176,1300,1454,1250,921,724,761,944,1088,1180,1750,1738,1262,729,482,385,472,613,565,450,422,447,771,1370,1386,1184,640,495,605,914,947,1026,771,418,478,755,781,688,967,1160,998,716,655,473,465,389,386,340,526,735,424,404,510,515,445,399,406,495,544,452,394,379,362,364,390,581,1032,1102,666,752,1166,978,828,548,395,357,403,385,375,534,716,706,563,862,1014,1042,858,707,727,890,905,936,1066,846,777,1138,1030,661,391,321,290,244,199,180,165,164,182,189,207,181,173,221,346,458,664,949,1114,1058,1108,1100,1070,1396,1484,1460,1244,770,466,511,1009,1378,1230,976,777,637,514,422,572,871,945,727,491,360,335,393,536,669,964,1120,1188,1018,576,423,592,946,1052,1144,1038,1092,1242,1372,1060,1088,1284,1116,669,536,416,769,827,825,1250,1138,1260,1308,1630,1280,547,550,783,702,401,427,395,438,395,356,348,448,869,891,931,1166,1120,1142,861,587,518,630,839,604,619,703,765,783,703,622,641,665,664,637,649,780,596,1166,857,502,402,312,436,783,1162,855,679,1116,946,587,519,480,480,404,361,389,525,483,449,955,1516,1472,1236,1466,1556,1284,1202,1140,902,717,739,739,929,850,744,712,879,865,918,1088,819,820,1160,1015,807,962,1220,1396,1496,1698,1202,1174,1212,799,486,471,688,838,1058,1252,1332,1490,1438,1248,1226,1054,1007,1330,1312,1360,1084,777,1100,1108,1124,1364,807,539,996,1154,1188,1376,1278,1009,1248,1232,1156,1088,775,959,1394,1664,1494,1634,1450,1486,1074,841,838,691,460,415,433,373,526,1218,1678,1816,1568,1360,1356,1296,1346,1528,1292,860,583,627,782,612,618,800,843,938,1124,1194,977,536,378,461,507,436,440,512,657,1060,1108,971,1342,1586,1640,1442,1204,1290,1522,1808,1710,1356,1576,1614,1586,1546,1850,1754,1492,1750,1802,1564,1356,1300,1130,921,1070,1310,1202,1124,1310,1106,959,1154,1130,781,713,648,702,738,706,723,745,1038,1104,983,1015,1094,822,532,455,466,503,535,639,615,573,899,914,849,1132,1264,1350,1366,1112,1000,558,714,544,537,626,713,733,683,664,694,683,677,670,646,666,655,714,741,783,833,705,615,700,538,405,548,728,951,890,831,613,573,670,647,435,570,1220,1194,1050,1292,1360,1178,1028,1026,1372,1282,1216,1250,1346,1428,1300,1100,1096,1198,1334,1360,1146,1146,1106,1234,1434,1118,1258,1136,965,1108,977,682,1048,1434,1512,1060,1318,1370,1336,1138,1120,1012,771,479,428,368,459,656,856,1386,1370,1204,944,1098,1192,1068,736,904,1214,1062,823,841,1120,1618,1408,1242,1336,1606,1244,1354,904,481,469,592,654,654,626,396,298,330,305,343,454,932,1162,787,503,540,700,1066,1350,886,527,434,889,1150,1210,1118,782,1068,941,583,722,880,670,335,418,508,631,637,852,751,854,668,411,383,475,720,878,1016,1248,1158,1382,1394,1190,1282,1782,1604,1274,1042,733,635,1004,1332,959,671,544,407,375,387,391,393,620,841,937,1298,1292,1252,1546,906,841,780,793,749,420,496,832,1056,1282,1474,1114,738,781,634,504,311,352,386,409,332,361,372,361,552,940,1340,1554,1596,1514,1282,1072,696,471,360,563,727,480,401,404,473,555,480,576,655,555,383,339,473,590,507,465,1042,1032,504,558,675,518,807,1034,1162,1070,599,354,457,539,401,509,778,599,497,551,719,1526,1750,1378,1468,679,390,474,385,631,901,616,458,547,738,481,414,320,328,422,384,419,448,351,374,574,626,697,931,969,722,609,935,994,775,945,1562,1608,1922,1406,336,422,665,852,788,471,320,269,252,266,273,244,200,253,291,303,403,446,469,415,430,395,395,403,524,451,325,368,385,564,806,554,429,381,386,427,538,562,488,437,365,278,261,265,387,871,1322,1108,1224,977,996,1226,1310,1102,767,786,886,1250,1284,916,730,680,849,1176,1420],[805,738,810,958,1300,1318,932,496,296,257,300,386,351,616,1060,1300,1274,1406,1072,526,489,567,1018,1286,1206,1122,1108,808,548,528,847,1208,1698,2648,1934,1294,1104,590,393,336,489,880,1082,957,636,584,637,364,364,347,295,321,400,417,872,1242,1548,1322,1200,1332,1268,1200,1328,1244,1082,1478,1234,891,690,543,411,817,997,937,1216,1032,1090,1076,1010,1112,901,1012,1182,926,818,1012,1024,746,672,797,777,850,893,676,529,471,935,1194,1130,1006,1072,1322,1176,549,415,736,836,778,570,674,1152,1108,1338,1692,1782,1454,1290,1364,1232,973,1282,987,746,863,1076,1024,947,592,564,608,492,667,935,1058,938,610,1166,1020,1028,799,751,1000,889,765,938,1166,1294,1386,1422,1324,1302,1450,1462,1256,1120,1216,1272,1132,1316,1452,1046,983,953,929,627,446,451,472,683,641,424,344,725,1328,1656,1532,820,438,310,498,714,718,830,1132,860,549,806,1154,1388,1128,973,1510,1422,848,968,1036,982,789,683,991,1174,1414,1234,674,938,966,1186,951,852,783,739,577,449,380,321,443,494,386,500,419,709,1038,615,400,382,421,425,386,329,249,252,325,404,625,1026,1162,830,634,890,1000,1052,872,473,421,381,378,355,358,401,430,445,369,335,439,652,940,1246,1198,1066,1306,1218,710,886,1130,981,1130,1176,1042,1036,1138,899,1038,912,432,560,484,561,453,475,357,374,343,371,379,352,327,623,1158,1128,546,650,572,372,353,384,733,1316,1302,1230,1300,1258,1160,1224,1304,1278,912,708,1062,907,725,897,925,882,1082,1210,936,593,518,521,304,258,300,303,266,321,379,899,1130,920,841,447,645,1006,1274,1528,1560,1604,1598,1170,860,1030,1272,1440,1246,1162,869,885,1546,2308,1530,894,654,661,853,861,580,528,681,830,1166,1174,1206,1310,1432,1502,1050,957,1306,1174,844,999,1084,927,526,595,996,1190,1072,786,809,971,894,749,1092,1656,1726,1874,1758,1764,1814,1188,661,685,1346,1392,1284,1312,1174,1306,1282,867,954,1694,2658,2954,2396,1686,1930,1742,1670,1774,1776,1676,1376,1486,1626,1694,2096,2034,1572,1216,1378,1886,1722,1600,1984,2340,2402,2144,2072,1996,1892,1982,2038,1464,1090,918,938,1144,1324,1518,1846,1682,1138,1284,1202,1324,1462,1102,1214,1322,1116,1013,870,1090,1310,1216,1072,1013,1074,971,891,777,867,866,713,669,650,954,1304,915,724,875,737,724,998,977,1106,1250,1302,1436,1378,1360,1256,1356,1436,1426,1314,1136,971,1072,887,855,995,1284,1378,1204,1328,1380,1248,1150,1238,1584,1528,1246,1156,961,819,973,918,872,933,998,1086,831,642,830,1026,614,396,386,440,371,363,480,642,927,1142,1104,982,839,974,1001,1100,1034,840,616,459,485,593,488,604,760,832,769,697,784,927,1020,1184,1084,799,886,1204,837,780,1212,1090,1164,1288,1468,1444,1490,1094,930,1013,1106,1206,1188,1024,847,1036,1158,601,486,624,821,979,1054,1260,1466,1476,1072,584,546,1060,1466,1418,1256,1086,1100,1010,987,1274,1300,883,764,1013,844,583,807,951,1108,1306,1388,1174,1206,1094,1004,1350,1230,962,1258,1426,1368,1310,1440,1180,978,976,890,709,648,656,894,1028,1204,1170,1130,1310,869,888,643,587,575,429,320,314,349,372,418,561,464,355,379,532,544,400,321,381,426,451,466,449,370,318,303,306,341,399,514,448,412,497,608,485,351,327,523,1130,1240,1194,652,433,390,378,349,643,1120,1540,1154,829,512,701,1120,1122,804,1208,1156,1084,1064,1102,813,602,632,573,437,523,1062,1236,1430,1296,1312,1402,1256,1030,1074,1294,1184,1234,1374,1216,751,744,756,693,563,855,1102,896,1015,1024,518,342,345,458,707,598,814,1060,1238,938,519,369,358,469,832,839,1021,1178,1266,1372,1380,1136,1220,1234,980,788,924,1042,997,995,1284,1790,1682,1496,1594,1584,1604,1698,1472,1350,1344,1272,1322,1360,1422,1396,1402,1410,1282,1302,1210,1392,1350,1324,1208,1116,1216,1364,1374,1350,1276,977,794,987,708,1042,1448,1506,1634,1468,1254,1240,1384,1538,1482,1534,1708,1628,1478,1432,1478,1188,1296,1370,1216,877,741,788,754,981,721,440,724,1220,1266,1510,1412,1334,1122,814,889,1124,1250,1048,605,515,506,601,554,873,1502,1408,1000,1072,1040,858,1094,1466,1572,1182,1148,1258,969,804,1694,1450,1266,1168,1164,1023,847,1084,1180,1170,1340,1188,1160,1164,1350,1636,1426,1134,1174,1040,1013,1180,1162,1023,1018,670,394,566,1016,1112,1578,2002,1658,1402,1670,1796,1560,1104,958,938,996,982,1050,1112,1232,1498,1466,1322,1286,1034,816,1036,1066,1192,1102,1234,1050,780,899,1044,1015,888,1015,1318,977,1168,1140,1292,1224,926,653,672,922,1120,1256,1282,1246,1072,1256,1298,1396,1568,1340,1228,1286,1568,1604,1346,1088,879,839,966,1094,1178,1044,906,1136,932,1026,807,427,497,558,479,412,406,384,482,1048,1400,1322,839,577,711,817,896,1096,843,486,353,561,1248,1248,1114,1124,1046,958,946,672,350,440,738,596,466,662,621,666,605,473,438,709,734,766,686,433,415,362,338,321,413,434,601,754,624,720,1038,924,664,609,485,435,441,388,395,516,493,547,547,896,885,841,822,720,907,965,547,486,670,750,872,1013,691,440,444,319,196,180,225,241,189,213,239,241,217,172,170,285,469,525,882,1030,889,1154,1364,1454,1604,1564,1006,832,1192,1268,914,816,1624,1640,915,951,1324,1372,699,463,410,716,871,1104,766,449,312,607,832,923,981,877,993,1206,827,608,925,987,1148,1258,1220,1128,922,848,885,1092,1346,1182,890,825,528,897,844,783,939,1230,1434,1256,1238,957,766,734,472,425,463,416,429,410,299,412,464,727,1336,1078,867,1392,1456,1242,619,714,777,807,811,768,804,823,858,883,832,758,822,814,693,581,689,774,616,1114,1398,1058,534,361,361,525,861,837,857,912,645,554,563,557,528,518,487,510,608,448,426,961,1078,1154,1192,1606,1682,1560,1886,1692,1076,1011,1036,737,844,917,1019,1350,1138,1098,1098,1322,1144,1134,1306,1008,962,1124,1190,921,1013,1602,1306,1272,915,919,774,458,703,955,1050,1252,1062,1148,1296,1144,1084,932,1716,1954,1362,1302,1198,1130,1478,1310,1144,1010,875,829,1118,1070,1058,1252,1208,990,906,888,1046,821,1200,1504,1396,1288,1296,1664,1518,1200,1010,995,1172,1014,594,434,407,472,774,1120,1354,1364,1068,1160,1366,1258,1128,1114,1196,998,597,507,766,529,474,749,839,962,1132,1008,722,437,520,704,656,486,478,512,556,920,1130,1234,1360,1516,1648,1392,1228,1250,1434,1482,1392,1576,1394,1432,1360,1438,1970,1820,1586,1842,1874,1688,1742,1600,1408,946,949,1294,1286,1290,1060,714,866,990,963,633,605,488,475,496,551,654,789,857,780,844,1116,936,566,437,380,400,413,430,504,508,454,504,585,682,876,1082,1284,1394,1188,1286,707,698,648,543,524,574,696,746,686,669,686,686,717,774,791,736,751,705,646,592,621,799,774,561,542,694,910,1005,735,643,793,926,976,1086,714,493,1011,1146,999,1152,1168,1278,1284,995,1366,1250,1196,1164,1212,1328,1166,1062,1162,1272,1500,1340,937,915,1021,1360,1328,893,1066,1306,1314,1240,853,1082,1256,1274,1332,1272,1390,1382,1144,1092,1418,1390,1140,751,474,479,615,965,1250,1528,1322,1266,1080,1004,1098,1088,1110,1240,797,564,847,1038,834,1076,967,1144,1288,1368,1126,1328,1196,880,650,547,708,473,448,356,317,303,515,682,450,481,579,628,616,493,637,962,1180,990,1126,647,624,933,984,891,617,894,1018,632,865,1044,687,416,611,802,1178,1430,1374,1076,1050,702,389,612,824,1214,1162,888,1060,1098,1234,1218,979,1086,1324,1594,1470,979,1064,1320,1096,1016,841,656,642,593,466,381,439,393,1032,1732,1670,1704,1612,1794,1396,793,921,1156,1208,761,565,700,786,840,1038,1144,1220,839,847,981,1056,594,399,674,885,626,326,295,321,491,668,792,1234,1258,930,1194,963,521,422,437,539,631,760,647,573,928,1098,663,633,816,637,417,462,569,501,347,387,777,882,531,555,544,368,560,850,733,696,547,424,504,456,390,736,1116,1104,550,553,1074,1790,1722,1410,1076,596,408,423,442,816,1188,787,370,491,817,652,485,427,450,455,519,666,637,369,340,471,549,749,745,538,450,509,816,1166,1378,1906,2160,2222,2396,1550,683,752,1186,1550,1124,772,775,882,850,603,413,543,794,803,593,885,1172,1000,930,667,530,435,347,387,393,327,373,476,643,1013,1246,695,412,426,490,459,469,526,516,454,379,306,270,262,348,833,1256,1256,1250,905,530,700,1230,1208,1186,1446,1638,1750,1542,1058,979,1176,1340,1446,1610],[846,798,940,1200,1488,1336,1190,694,375,301,322,318,283,357,680,1122,1270,1344,1204,993,741,459,752,1098,1424,1138,565,561,606,469,736,1214,1084,986,866,985,776,466,352,251,379,780,1068,994,752,772,769,393,340,339,366,493,536,501,759,1068,889,717,1124,1058,871,1096,1342,1298,1462,1594,1324,1146,1144,947,626,1152,1414,1150,1114,1108,1152,1224,1306,1312,1264,1300,990,655,648,667,722,780,759,967,1136,1254,827,637,783,775,918,926,760,882,1176,1094,1132,480,403,635,768,1004,1072,940,1102,1122,1194,1572,1848,1928,1912,1496,1348,1184,1288,1060,838,853,836,738,777,939,1020,966,900,707,866,1080,833,731,1020,1080,1218,867,846,1072,944,1202,1108,1138,1312,1332,1278,1232,1262,1500,1692,1560,1424,1338,1260,955,797,1270,1122,1046,778,576,423,430,515,544,805,811,450,362,453,621,1042,1302,647,354,262,321,466,493,796,1122,872,773,1170,1390,1198,1080,1346,1384,1150,834,1010,863,631,563,798,1078,1312,1604,1462,902,930,980,1198,1322,1244,1018,935,858,661,486,487,361,355,710,1028,863,1136,833,505,394,409,408,371,349,375,341,338,328,352,554,1066,891,593,532,782,1012,1390,1428,1156,993,570,418,365,342,357,366,331,260,283,478,899,1228,1312,1050,940,1048,1146,899,857,1030,965,1226,1230,1032,1160,1190,1328,1908,1290,451,481,556,407,312,501,422,352,308,272,335,473,514,606,1088,1202,790,767,448,437,524,532,954,1358,1394,1332,1284,1250,1290,1216,1018,1030,885,902,1104,816,614,694,564,568,974,1390,1052,449,439,432,278,302,262,241,361,399,319,828,1466,1412,1214,463,808,1352,1448,1636,1528,1410,1692,1644,1340,1038,1080,1046,1176,1382,1308,1044,1004,1238,1412,944,534,441,435,536,733,1118,1056,837,1184,1244,1412,1466,1288,1200,1054,939,1378,1434,1108,1128,809,1036,1110,689,671,827,711,997,1346,1009,543,411,1298,2214,1722,1736,1556,2022,2438,1826,1368,1962,1934,1336,942,780,965,1314,1458,1112,1042,1756,2574,2602,2116,1638,1826,1868,1824,1902,1700,1712,1644,1188,1032,2092,1580,1180,1322,1266,1688,2040,1820,1852,2104,2318,2434,2264,1904,1452,1148,1132,1200,1230,856,653,797,933,1252,1290,1526,1384,1378,1268,1146,1098,1216,1132,1450,1616,1280,962,885,996,1170,1162,1342,978,801,688,533,448,638,845,744,555,737,1028,1142,667,741,941,582,781,1116,1164,1280,1192,1074,1060,936,944,846,1260,1286,1282,1098,899,912,960,1076,1168,1228,1292,1234,1246,1394,1592,1344,1378,1452,1506,1418,1362,1130,716,571,804,1003,772,849,1154,1296,1288,1116,872,853,551,368,401,422,341,342,527,958,1272,1314,1120,1214,1092,1116,1142,1112,1076,799,472,383,386,385,546,846,782,686,683,814,878,764,591,593,715,610,901,1294,924,1116,1144,805,1015,1334,1446,1378,1398,1506,1366,1118,1236,1350,1106,915,894,1056,913,455,322,372,588,944,979,905,1258,1368,1192,1086,1070,1220,1424,1404,1278,1062,1110,1009,880,1078,971,788,799,1092,673,558,976,1020,1178,1278,1242,1170,1322,1120,1050,1090,951,1134,1064,1238,1298,1310,1484,1268,1216,1110,966,1132,992,896,930,1006,1144,1120,1246,1142,729,776,773,643,475,364,290,298,316,311,349,563,471,398,484,557,525,394,334,336,359,350,345,333,313,318,287,301,331,339,352,363,342,350,337,338,340,312,510,1278,1232,1116,634,415,406,377,423,818,1644,1652,833,837,934,1136,1332,1224,1224,1482,1290,1160,1180,1170,804,405,369,458,495,666,943,898,1098,948,1184,1472,1456,1324,1340,1346,1280,1005,774,1186,1062,1172,922,545,414,901,1260,1068,1074,858,379,342,406,747,1272,963,1013,1184,1324,894,475,339,332,893,1312,897,1152,1226,1268,1278,1336,1404,1272,1796,1786,1118,1024,1168,1208,1272,1056,1208,1306,1200,1390,1432,1566,1616,1352,1362,1390,1292,1362,1258,1284,1370,1754,1678,1462,1390,1040,1182,1376,1400,1250,982,894,944,1328,1298,1240,1108,858,672,794,1212,1378,1094,1082,1112,1074,1248,1076,1182,1294,1312,1144,1586,1746,1588,1516,1338,1074,918,1068,970,947,744,922,1246,658,347,481,1110,1508,1454,1222,1296,1354,932,967,1212,1416,1146,884,675,805,1096,1158,1450,1708,1604,1136,1114,1062,853,756,987,1312,1638,1484,1522,1140,990,1290,1320,1274,1252,1236,1062,913,977,941,1042,1204,1164,927,1052,1572,1670,1182,1018,1206,1188,1236,1042,857,943,982,657,474,443,778,1140,1770,2092,1618,1432,1396,1676,1534,1236,1314,1268,1094,824,675,698,1108,1518,1432,1612,1494,891,638,1058,1106,1198,1224,1290,1170,1048,1186,1244,1148,1146,1154,1208,1060,877,922,1204,1350,1005,749,954,949,1006,1314,1246,1236,1154,1272,1074,1230,1180,1222,1486,1642,1486,1434,1208,990,869,1086,1228,1252,1240,1162,1005,1234,1124,1040,973,695,564,466,426,430,408,387,436,654,1086,1256,933,1088,1318,659,565,901,858,632,445,737,1190,1324,1332,1302,1090,802,972,1142,745,839,1282,1030,500,435,821,814,509,361,434,850,1162,1124,1020,928,589,412,350,314,355,306,407,617,677,772,1198,1196,582,659,816,803,642,493,426,498,633,683,630,571,385,602,1036,1152,1166,1184,775,448,631,802,820,664,470,524,490,258,206,210,241,253,233,237,215,166,141,174,188,368,592,541,724,926,898,1266,1200,1286,1520,1282,845,666,668,988,1260,1254,1416,1440,1036,1132,1914,1900,861,499,367,576,839,984,945,789,502,697,1114,1007,724,990,1052,1318,1184,833,856,1150,1488,1394,1480,1376,756,466,572,943,1036,1170,1044,730,669,1028,696,704,1023,1390,1506,1322,1504,1064,737,737,552,459,441,378,422,481,491,482,404,838,1466,868,1092,1550,1444,1074,655,749,1080,1402,1302,965,731,733,790,879,941,908,833,693,561,533,595,689,634,937,1444,999,445,502,775,633,530,901,678,716,846,613,504,513,467,544,614,684,648,409,515,845,851,1108,1310,1680,1550,1624,1822,1536,996,893,1082,807,972,996,769,835,604,688,902,889,843,1023,987,742,799,790,927,720,1394,1772,1366,1130,966,1084,1001,972,1316,998,855,1178,1046,1140,1248,1330,1360,1344,1578,1498,1254,1176,1084,1044,1210,1018,1142,809,764,994,1086,1042,829,819,948,675,573,990,998,948,1234,1420,1454,1218,1202,1510,1388,1116,1272,1082,874,581,493,346,331,404,650,652,795,1110,1240,1488,1528,1388,1506,1606,1654,1102,633,503,632,455,403,678,819,922,931,628,483,558,1042,922,808,646,661,583,503,708,912,1018,1204,1600,1648,1582,1574,1290,1272,1428,1516,1368,1050,1484,1688,1422,1444,1332,1310,1322,1352,1408,1504,1434,1508,1086,821,961,992,943,733,571,802,941,1020,708,639,655,596,656,761,905,960,915,801,758,832,569,391,378,348,330,359,418,448,422,392,429,487,539,570,788,1146,1400,1108,1250,1000,671,601,679,689,746,744,667,684,745,885,939,866,827,846,834,842,662,452,438,555,824,719,491,561,675,673,691,753,708,798,885,1040,1182,785,617,1062,1108,1058,1144,1166,1234,1152,988,1246,1314,1248,1268,1328,1192,1160,1402,1500,1450,1450,1356,1282,1060,987,1230,1222,1230,1374,1346,1234,1142,1032,1226,975,1009,1348,1332,909,1346,1296,1174,1422,1360,1276,978,877,880,1014,1092,1160,1250,1138,1138,1204,1166,1272,1188,1052,1066,713,430,513,933,743,541,677,985,1220,1156,1138,1400,1362,1019,484,581,919,358,349,420,402,374,868,1256,812,511,679,951,954,877,992,1040,1368,1142,1262,980,774,843,836,640,348,574,1026,820,1138,1418,1172,764,680,854,1044,1290,1368,1110,781,557,800,880,595,1056,1144,596,736,620,901,1054,927,774,1132,1648,1534,1080,1366,1506,933,447,549,464,555,890,694,340,409,543,1158,1590,1516,1150,1550,1554,1160,961,1114,1210,966,847,1168,1248,971,909,1168,998,949,752,843,1092,1054,533,276,519,896,747,254,247,289,364,375,305,584,676,658,997,727,359,377,444,584,800,1028,938,521,839,1060,878,857,940,805,721,721,647,634,505,590,732,624,709,891,625,434,581,843,716,550,614,520,412,333,538,888,824,1302,822,466,837,1454,1300,758,446,410,428,486,825,1748,1500,1154,812,1044,1262,717,477,761,902,659,815,1164,1021,484,350,339,380,447,379,401,483,462,622,824,1042,1528,1480,1884,1910,1422,1204,891,1434,1584,856,722,1072,1158,738,523,777,1272,1636,2012,1756,1916,1496,808,822,844,656,458,370,445,473,435,502,865,1164,1354,1526,803,459,547,529,504,504,489,473,466,377,321,274,293,296,499,877,1246,1090,490,324,655,1314,1406,1322,1432,1608,1886,1770,1504,1480,1578,1796,1944,1742],[1019,1130,1632,1556,1550,1306,791,437,359,280,300,348,333,335,470,997,1126,1122,931,1180,885,408,485,718,825,545,300,444,467,534,850,1332,971,759,822,791,545,379,366,298,398,797,1026,967,739,789,621,362,328,426,693,929,838,781,1058,938,799,1194,1318,1138,1000,1174,1316,1502,1782,1786,1576,1378,1640,1756,1250,1438,1346,1114,1021,1048,1136,1224,1190,1208,1194,1170,1052,846,858,777,768,1012,1118,1190,1210,1378,1044,1064,1316,1250,1028,873,821,855,1172,1182,1052,489,325,451,872,1108,1114,1178,1132,1068,1208,1252,1164,1658,1888,1510,1282,1272,1154,1526,1430,747,783,955,938,1100,1108,838,807,905,987,910,563,552,704,980,1020,1020,1110,1202,990,1378,1088,1112,1238,1370,1416,1220,1110,1484,1370,1216,1354,1448,1396,1260,1246,1286,929,877,688,467,420,498,617,658,742,725,724,595,513,457,566,835,753,484,313,312,304,615,1240,1406,1242,832,1322,1430,1032,1100,1432,1230,774,850,943,858,739,452,711,1134,983,1316,1454,1326,1180,1352,1378,1326,1160,1038,1154,1108,1050,1030,903,543,661,1300,1562,1374,1268,1294,901,521,449,426,371,380,380,364,364,386,400,733,988,645,487,612,783,936,1190,1422,1574,995,479,317,340,340,325,315,292,302,379,739,1090,977,965,1015,1021,997,1062,1078,907,756,795,814,882,1078,1174,854,996,1088,802,419,369,511,490,422,423,390,337,332,347,326,454,484,576,1034,985,936,612,585,1032,1003,848,1080,1060,1240,1260,1186,1318,1344,1138,659,618,879,1074,1086,737,455,491,362,468,1007,1302,1010,538,407,266,234,269,235,204,314,341,305,568,1044,1130,1062,506,866,1450,1550,1528,1316,1384,1748,1808,1702,1152,1104,1023,1142,1674,1490,1007,1015,1290,1510,1178,613,447,736,1062,1368,1466,1312,1302,1224,1288,1434,1350,1284,1276,1350,1224,1230,1410,1378,1198,1172,1328,1440,1212,1158,1064,669,850,1048,765,596,625,789,1298,1548,1662,1626,2096,2520,1952,1666,1484,868,676,689,735,1236,1496,1268,1192,1122,1570,1970,2008,1698,1426,1460,1426,1580,1632,1356,1654,1844,1116,1162,1782,1268,1242,1500,1542,1814,1908,1736,1898,2204,2030,1864,1804,1318,933,944,1128,1240,1206,781,666,796,969,1534,3536,2514,1760,1606,1366,1218,1178,1240,1194,1450,1302,756,895,1021,934,1098,1864,1880,803,568,907,1078,967,952,1092,1046,805,821,840,927,919,993,829,440,471,908,1230,1210,1048,1048,917,676,991,987,1196,1296,1334,1126,848,763,880,1164,1268,1256,1200,1094,990,1264,1492,1428,1346,1302,1212,1300,1260,962,971,656,702,1100,910,914,1154,1106,1268,1312,1322,1130,645,365,390,338,292,297,588,1670,2068,1678,1180,1112,946,1024,1186,1040,875,892,637,661,712,838,1009,832,624,448,486,644,751,675,613,519,603,491,987,1264,1284,1288,1224,935,1098,1318,1192,946,1082,1224,1390,1522,1558,1620,1422,997,905,878,610,399,407,406,639,1076,1204,1058,1116,1062,938,1152,1086,967,1064,1142,1060,1060,1212,1088,1124,1148,864,779,872,1194,980,648,598,1528,1898,1306,1188,1080,1072,1072,1240,909,900,1068,993,1152,1262,1190,1013,1086,1260,1072,1058,1230,1394,1108,689,883,1186,1272,1338,940,660,763,973,808,471,317,290,308,326,324,374,618,545,386,451,545,523,396,356,369,387,362,336,323,324,329,311,306,303,329,350,347,340,349,358,320,308,318,610,1248,1328,1011,617,503,443,420,659,1100,1294,1064,1100,1040,1298,1312,1304,1288,1300,1324,1250,1100,1078,1266,953,437,619,990,870,897,937,808,976,1086,1294,1532,1534,1392,1438,1294,1206,1108,990,1128,1166,1308,1026,688,642,844,1154,1266,1080,1182,1240,440,404,728,987,867,838,1010,1044,882,965,758,465,882,1294,1380,1280,1132,1234,1690,1934,1586,1498,1930,1636,1360,1490,1374,1206,1186,1392,1250,1144,1218,1398,1410,1394,1330,1256,1358,1360,1180,1250,1264,1230,1190,1406,1388,1394,1108,1188,1466,1422,1404,1144,946,1012,979,1214,1074,1050,1202,1332,1368,1176,1180,1208,902,772,875,1180,1164,1098,1102,1178,1134,1156,1556,1500,1448,1560,1554,1328,1042,854,952,1262,1192,1284,1188,864,586,772,1290,1560,1560,1298,1222,1116,938,897,1072,1294,1264,1284,1104,1134,1212,1450,1262,1086,1005,595,710,1009,847,750,997,1592,1506,1410,1558,1544,1418,1200,1148,1054,1124,1204,1244,1186,1208,1160,1142,1118,1222,1132,1248,1554,1364,1158,1012,1054,913,1170,774,495,738,800,1128,861,397,781,1310,1466,1758,1606,1416,1268,1324,1278,1242,1252,1074,996,896,656,639,872,1038,1160,1182,1004,912,719,900,1248,1332,1290,1200,1136,1322,1320,1218,1158,934,1062,1144,1096,858,751,1108,1354,909,706,1064,1118,999,1116,1136,1188,1126,1180,1200,1126,1088,1290,1766,1762,1052,1168,1182,1010,905,1001,1062,1274,1354,1416,1336,1354,1110,862,970,1200,1100,752,487,442,423,415,439,626,1058,1204,1100,1252,1284,768,384,433,578,757,995,1344,1354,1088,828,774,563,452,684,1178,1282,1210,1310,1168,779,668,863,885,641,410,514,953,1282,1138,1044,983,552,431,335,343,379,310,331,525,703,783,936,1088,488,680,891,940,719,449,501,569,525,575,615,491,629,991,1272,1340,1374,1362,941,950,987,573,500,559,455,379,388,320,246,268,236,187,234,298,278,175,146,168,236,430,608,682,896,1104,943,1098,1172,1192,1248,723,645,810,814,702,780,1080,1366,1146,715,1021,1468,1108,1013,723,442,434,552,748,951,908,827,809,986,635,596,772,908,1044,1146,937,756,1016,1222,1160,1284,1072,854,796,940,824,729,1080,1112,813,952,1116,896,1023,1102,1340,1452,1480,1598,686,515,932,833,591,433,389,501,530,500,420,334,533,606,787,1214,1292,1332,884,838,1116,1374,1562,1334,813,602,611,699,800,718,660,568,502,482,463,508,674,645,592,684,466,367,451,647,689,1072,1024,775,953,873,516,467,539,546,741,769,733,568,397,455,612,691,867,1396,1542,1510,1802,2032,1778,833,670,775,547,791,808,893,1052,642,565,960,967,761,705,683,631,570,534,700,899,1584,1622,1124,1013,1164,1092,1019,1302,1600,1150,874,1062,923,1142,1348,1266,1290,1264,1004,1046,1166,962,647,869,1164,995,1188,1092,926,832,895,1072,737,497,496,416,568,905,1046,944,912,1164,1234,1038,899,1228,1242,749,938,995,813,543,457,387,339,386,637,669,885,1238,1404,1584,1602,1654,1832,1900,1716,1174,737,539,502,499,712,867,832,942,1019,600,611,871,1478,1022,836,912,702,516,537,608,939,1322,1488,1714,1454,1158,1466,1386,1272,1442,1376,1214,1524,2060,2122,1632,1660,1606,2050,1430,1214,1506,1734,1328,1004,885,689,553,504,574,700,623,824,955,1192,1004,960,976,941,1026,1112,1136,1019,952,962,890,824,569,435,364,349,331,343,371,388,397,392,403,452,703,813,1026,1096,1318,989,794,822,648,561,510,620,811,807,870,902,951,898,824,645,669,686,546,585,578,394,437,535,613,532,535,644,735,708,681,742,731,638,747,1146,1166,780,814,1194,942,1026,1144,1104,1166,1084,1116,1190,1140,1148,1238,1196,1136,1232,1428,1388,1274,1092,1208,1450,1426,1368,1262,1230,1332,1338,1204,1214,1258,1364,1182,990,1084,1416,1344,1048,1252,1340,1208,1294,1114,961,903,978,1080,1108,1156,1110,1226,1176,1100,1228,1284,1350,1300,897,661,411,328,436,771,811,834,1022,1192,1226,1200,1100,1002,1302,1070,817,783,735,402,419,694,626,433,825,1092,912,951,984,1044,921,1406,1322,1126,1200,1246,1250,1316,1316,1260,1252,841,468,797,1202,1136,1230,1132,859,907,1130,1260,1314,1418,1434,1232,628,401,620,392,279,611,658,390,379,428,591,1188,1712,1134,1178,1242,1482,1162,1204,938,524,361,311,310,375,767,1080,680,459,739,1472,1708,1318,1114,1810,1610,1150,741,909,1060,802,874,1468,1288,902,897,1116,1088,880,788,758,645,479,350,348,444,506,358,285,281,296,336,295,290,342,407,475,799,915,622,529,419,451,507,554,529,424,485,574,647,678,664,663,796,1003,1256,1160,699,1108,1688,1546,1490,1164,591,377,347,536,706,924,954,778,491,320,452,664,625,738,763,634,700,929,651,404,396,389,441,465,771,1426,959,944,891,1256,1132,499,430,659,890,926,843,1054,1260,860,443,408,406,350,352,370,400,354,417,586,636,910,1382,2192,1816,1360,1446,1140,1378,1132,579,538,612,540,379,402,404,969,1670,2486,2026,1500,827,390,502,508,470,483,469,558,646,577,650,1138,1152,1572,1616,769,448,451,481,513,492,465,487,430,436,428,384,352,339,446,824,1382,1316,621,321,493,1007,1274,1160,1220,1484,1786,1700,1488,1250,1472,1720,1948,1842],[1312,1152,1424,1584,1404,979,453,341,351,326,353,525,741,847,475,498,885,948,503,526,530,451,357,458,505,416,396,426,529,874,819,998,1072,1038,1036,942,526,366,394,360,334,902,1624,816,593,903,772,435,383,717,1026,860,770,801,1284,1134,1108,1340,1374,1178,884,1023,1140,1242,1566,1594,1672,1566,1262,1286,1186,1366,1186,1078,932,681,971,1376,1538,1390,1148,1054,1002,1094,1144,1234,1240,1262,1162,904,1086,1256,1102,1312,1262,1144,1102,1378,1482,1352,1272,998,608,376,275,391,705,1184,1620,1304,984,1001,732,809,948,1120,1478,1054,904,1210,1284,1644,1628,769,613,613,591,469,722,1050,1015,879,811,747,811,683,709,913,921,1010,965,971,1144,1288,1272,990,993,1154,1158,1180,1350,1506,1106,974,1076,1566,1654,1610,1438,1206,935,1116,965,769,685,666,788,948,780,827,1028,1198,754,460,760,984,1013,745,401,325,344,671,1546,1760,1310,776,915,854,795,1292,1334,943,996,1278,907,905,616,427,568,783,609,948,1032,1007,1122,1296,1316,1250,1214,1098,833,552,810,1180,1266,893,891,1350,1620,1372,1472,1662,1188,1220,746,612,513,461,380,374,387,380,524,987,897,431,362,479,558,738,853,1208,1250,669,408,325,358,352,304,329,334,329,618,1176,1188,1094,1142,978,829,920,1076,1482,1700,1336,936,549,643,960,1040,655,690,623,626,520,541,611,619,590,484,449,472,544,568,453,400,336,521,883,1222,1282,724,684,1058,1006,1032,1202,694,777,954,1106,1036,870,1072,883,835,1064,1112,1048,807,577,646,466,408,820,842,642,556,365,230,251,288,297,223,243,260,270,322,422,468,480,430,713,1228,1302,1208,1442,1558,1526,1628,1722,1162,1216,1352,1632,2014,1602,1010,1056,1248,1376,1560,1264,915,953,1054,1234,1172,1116,1208,1232,1396,1422,1444,1438,1526,1752,1366,1070,1102,1224,1284,1572,1236,1256,1346,1068,887,762,981,1224,1042,891,1074,1148,1194,1452,1626,1670,1922,1824,1492,1450,1012,572,662,912,1130,1786,2284,1832,1300,1264,1206,1320,1404,1310,1282,855,792,1262,1380,1320,1608,1866,1714,1748,1534,1556,1820,1940,1780,1704,1412,1686,1882,1970,1658,1260,1056,1074,960,1146,1306,1188,1160,885,1022,1092,1282,1324,4592,2598,1590,1604,1454,1316,1238,895,763,1172,1106,985,1260,1310,1432,1256,1396,1134,805,792,955,1178,1144,954,631,567,730,845,984,1126,1202,1326,997,658,914,1132,1178,1250,1244,1086,1104,766,1066,1248,1346,1372,1336,1172,1094,992,904,1076,1132,1120,1176,1164,1200,1180,1062,973,1158,1770,1764,1500,1198,1138,1186,877,625,813,948,924,1044,1112,1334,1334,1206,951,564,324,347,320,344,411,567,1384,1910,1568,1128,1016,860,914,1122,910,897,1170,1076,995,1042,1572,1328,713,511,778,648,316,492,512,561,501,543,473,631,945,1046,1300,1402,1182,1288,1272,1064,904,959,970,1274,1354,1528,1676,1592,1212,915,681,509,474,419,511,797,924,1294,1234,1284,1218,1096,1158,1140,1134,1156,1170,968,1092,1280,1172,1352,1166,954,926,1256,1432,1228,841,785,1418,1544,1248,943,807,682,636,742,999,1202,1138,1098,1104,1152,1116,903,1080,1242,1056,951,913,1316,826,506,1056,1382,1454,1280,903,717,699,793,728,451,348,311,294,318,340,401,620,591,398,487,557,538,429,367,405,380,354,338,318,325,329,329,317,320,349,364,373,351,340,348,323,311,305,800,1266,1290,1052,554,419,420,500,882,1478,1368,1122,1166,1064,1334,1230,1310,1368,1218,1348,1078,722,613,599,518,469,890,1188,1112,1204,995,980,1244,1322,1434,1630,1450,1382,1366,1376,1412,1294,1246,1290,1410,1288,969,1028,1230,1288,1592,1290,955,1644,1662,770,601,861,958,1026,1044,1216,1116,714,756,647,499,441,462,753,973,1250,1484,1766,1948,1652,1636,1866,1402,1084,1542,1470,1160,1332,1344,1260,1180,1288,1272,1192,1200,1066,1294,1482,1476,1226,988,695,1234,1510,1496,1380,1078,1023,1230,1486,1462,1208,639,740,841,944,918,987,1260,1120,1072,1184,1174,1202,1168,1050,794,1380,1594,1306,1140,1170,1072,1015,1100,1062,1032,1034,883,1094,1412,1630,1294,853,1024,1116,1056,925,697,849,1050,1080,1270,1202,1174,1266,1088,1114,1100,1042,957,946,974,1232,1386,1128,758,750,885,510,369,480,648,563,625,886,1432,1260,1176,1524,1688,1560,1356,1228,1132,1272,1400,1380,1294,1202,1086,1106,1094,1086,1220,1534,1702,1336,1150,1080,944,1004,1096,878,744,540,592,902,657,370,672,1284,1426,1526,1670,1460,1334,1384,1390,1368,1324,1050,598,852,930,907,1178,1656,1240,549,675,1100,1156,1210,1334,1134,1174,1122,1164,1230,1216,1150,1116,942,1046,1038,933,860,946,1078,866,831,968,1134,1114,964,990,1194,1350,1382,1332,1250,1216,1096,1072,1222,1406,849,995,1216,1258,1208,1218,1004,1162,1706,1930,1262,1162,894,910,928,981,1372,1062,704,493,385,426,495,1054,1588,1312,1160,895,637,576,633,636,917,1366,1444,1412,1552,1182,565,511,623,854,1312,1448,1534,1332,1054,1088,1186,1366,1122,753,745,692,632,717,1034,1066,1001,796,621,637,447,361,408,346,296,430,579,729,879,1130,708,672,858,922,683,616,782,747,625,568,504,578,1030,1246,1106,1244,1282,1322,744,766,821,787,720,386,365,404,406,373,312,286,212,186,190,230,183,134,160,187,307,572,814,941,1026,974,819,844,968,917,777,477,410,662,978,866,680,491,808,1224,1056,1126,982,744,843,647,559,592,430,454,728,923,1130,995,914,816,839,774,979,1146,962,638,447,531,924,1206,1290,1028,779,986,1074,742,647,869,1202,1318,1206,1082,871,963,700,711,1128,1020,1020,792,785,1302,1360,815,542,374,406,546,447,397,342,339,606,1382,1364,1260,1260,864,824,1132,1602,1774,1584,690,382,376,574,614,523,504,507,587,664,799,753,703,717,770,488,370,445,400,504,1060,1058,677,802,1168,1172,572,477,599,702,1001,1100,757,451,425,419,483,466,463,675,1222,1792,2122,1996,1216,489,687,622,669,1082,1052,1018,863,593,794,1066,1182,944,895,771,716,767,671,696,861,1076,1068,897,785,1020,909,774,876,1212,1284,1522,1632,1108,1038,1242,1168,1152,1268,1142,1076,949,992,720,787,1080,1188,1208,1164,1086,830,709,916,620,454,344,402,797,709,932,830,664,977,1218,1294,830,1158,1542,1336,1230,1224,1050,800,820,797,659,670,896,850,1128,1198,1512,1854,1908,1892,1918,2004,1790,1250,818,557,522,557,733,722,852,1001,993,534,565,1070,1538,1204,875,1100,1028,649,733,596,796,1284,1390,1550,1578,1108,1288,1606,1492,1162,1156,1640,2072,2116,1762,1450,1318,1222,1196,1108,1106,1070,864,673,660,649,596,805,1019,651,588,612,708,688,1058,1186,1030,1028,1056,1050,974,858,959,1032,1036,860,632,558,418,319,334,321,318,321,377,397,393,393,392,690,971,1094,1052,1262,1054,659,598,607,713,692,448,558,528,666,760,757,675,684,774,733,511,409,436,417,374,362,368,362,413,566,747,802,834,827,755,753,822,926,1224,1112,839,1138,1318,1020,1108,1146,1038,1009,1054,1162,1078,1226,1260,1234,1188,1192,1088,1314,1924,1748,1122,1100,1234,1382,1272,1230,1314,1262,1142,982,896,952,1106,1058,1082,1122,1268,1302,1032,930,1214,1376,943,567,783,875,839,684,873,1164,1034,1020,1142,1266,1318,1420,1416,1322,949,681,570,447,518,794,1074,1292,1694,2078,1490,1248,1038,839,1312,1150,799,803,722,388,502,903,863,757,954,1194,1218,1210,885,775,696,969,1110,1132,1146,1304,1378,1326,1260,1074,958,757,477,720,1017,1216,1052,763,894,1294,1520,1470,1328,1410,1258,1186,728,420,344,337,290,341,332,303,384,479,505,875,1794,1452,1236,1212,1238,1180,962,876,845,466,401,427,346,694,1578,1406,678,939,1692,1802,1584,1536,1476,1340,1058,926,704,582,431,579,955,978,1208,1130,1120,1194,827,555,548,599,565,425,409,455,360,274,289,294,346,409,436,533,514,465,560,843,1056,1146,1256,1180,837,773,810,624,544,585,463,417,534,529,503,516,534,521,764,610,1032,1350,1064,973,821,713,669,492,491,762,1344,1144,1350,670,352,420,544,505,365,541,495,350,458,449,408,422,412,401,447,665,785,554,502,725,976,569,465,780,933,826,1190,788,619,789,523,329,414,352,301,354,317,322,346,365,536,702,876,1544,1776,1554,1428,1622,1236,610,484,527,420,454,564,503,463,415,452,980,1784,1704,1290,1088,628,437,394,488,474,496,520,566,569,798,1184,1332,2112,2066,797,506,469,522,476,435,377,481,464,438,499,528,495,527,510,553,1122,1244,731,390,389,799,1194,1296,1380,1614,1796,1600,1280,1184,1300,1514,1742,1566],[1066,1340,1382,1114,1082,1284,778,283,316,359,430,458,905,1040,546,496,1028,926,569,446,921,1046,800,756,948,767,637,785,985,935,935,999,1013,1040,960,614,444,363,284,248,254,514,992,742,668,995,1114,716,625,1104,1284,979,1002,1204,1546,1262,1094,1126,1092,1140,1007,1050,1021,910,1374,1650,1638,1622,1260,1374,1528,1482,1242,1060,972,1002,1120,1484,1948,1496,1028,1044,1042,1198,1198,1242,1226,1072,761,667,1134,1296,1132,1094,1100,1072,871,928,1028,1146,1112,739,363,316,460,736,728,1136,1630,1332,819,775,810,941,1026,1196,1272,805,674,992,1100,1372,1330,982,726,813,998,743,671,1030,1146,1036,836,855,1098,863,684,705,839,1020,871,1054,1262,1384,1650,1140,864,1012,1146,1050,1256,1210,993,922,981,1510,1658,1700,1656,1242,1220,1394,1444,1960,1466,1009,962,974,589,703,978,1002,669,743,946,818,655,816,802,458,420,702,1438,1648,1130,572,465,434,426,899,1434,1126,916,902,535,626,519,448,624,995,833,1052,1336,1182,1172,1238,1206,1266,1310,868,414,287,691,1108,1188,986,1098,1530,1470,1360,1756,1254,1266,1458,1418,1292,945,739,488,337,341,395,811,1052,606,374,376,476,548,551,481,714,678,483,401,354,377,352,311,347,374,359,493,562,840,1248,1422,1042,513,617,663,874,1114,854,872,865,943,998,740,694,594,533,665,713,708,639,680,700,689,714,760,820,780,686,433,326,517,702,777,647,597,645,742,860,1002,727,476,493,570,857,760,705,949,1020,1194,1260,1162,1108,884,985,842,642,430,424,528,580,546,351,296,332,277,213,241,249,262,297,322,334,346,405,353,456,821,1054,1306,1420,1464,1426,1256,1494,1386,1410,1572,1582,1860,1836,1156,995,1270,1342,1794,1558,1216,1082,1278,1560,1480,1278,1238,1434,1586,1504,1536,1480,1426,1434,1206,879,1080,1256,1428,1322,991,1268,1310,1016,1074,884,1026,1124,1072,1074,1284,1332,1152,905,1206,1576,1360,1086,970,950,1046,901,814,962,1272,1372,1866,2310,2042,1410,1048,1058,847,721,918,929,1072,1368,1322,1184,1542,1842,1786,1428,1456,1556,1802,1854,1534,1266,832,1060,1120,1362,1412,1428,1540,1164,763,929,973,728,864,933,993,724,1004,1078,1892,1622,1522,1604,1464,1392,1238,621,627,1036,1082,1048,1256,1548,1472,1152,1124,1210,1100,1078,1036,1084,1148,848,909,824,915,900,973,1092,1118,1250,1074,1012,1028,1114,1198,1306,1306,1134,1094,825,960,1102,1208,1484,1252,931,1094,1178,1058,1124,1186,1148,878,821,1188,1084,847,709,1104,2202,1964,1424,1230,1320,1228,991,708,641,915,1011,699,641,996,1218,1212,887,529,485,427,341,346,420,415,632,1112,1300,1346,1374,1186,1132,1340,915,917,980,1090,1154,1108,1078,1048,652,390,803,824,346,335,409,452,420,456,623,647,855,1056,1306,1374,1208,1158,959,969,1214,1460,1248,1396,1278,1400,1426,1186,930,904,793,552,783,667,586,887,1090,1340,1262,1228,1174,1250,1198,1060,1128,1128,1352,1326,1440,1482,1196,1114,999,926,1026,1260,1262,1130,959,853,999,828,675,887,1090,986,871,1038,1294,1376,1372,1274,1196,1148,1074,1024,1128,935,608,760,980,940,512,549,927,1100,1136,1116,1072,921,953,557,462,412,370,335,312,300,320,375,523,605,461,527,553,493,452,400,445,396,339,348,359,364,336,335,320,331,338,368,383,369,375,378,384,340,391,914,1324,1188,995,613,515,513,603,907,1476,1292,1070,1100,1126,1190,1198,1418,1316,1092,1120,908,675,524,421,568,689,1008,1130,1252,1170,986,1302,1382,1304,1402,1478,1404,1430,1134,1072,1216,1280,1456,1760,1784,1054,981,1146,1414,1454,1556,1124,707,1106,1190,860,865,1166,1126,932,966,1410,1290,956,1010,794,542,753,1214,1192,1078,1298,1606,1802,1676,1372,1642,2440,1730,1378,1438,1418,1208,1272,1188,1198,1108,841,825,1154,1220,1060,1262,1274,1314,1042,999,814,1306,1780,1858,1384,865,1019,1068,1250,1094,836,536,502,506,825,935,1188,1506,1290,1052,1148,1248,1184,1192,1180,1070,1614,1424,1076,1138,1134,1046,1162,1184,1086,1208,1023,802,830,1005,1520,1594,1504,1474,1042,886,808,723,938,968,935,886,904,1007,1104,1308,1062,1144,1172,979,948,867,835,1023,955,664,735,959,569,404,608,668,816,830,968,1218,1312,1320,1426,1514,1462,1472,1434,1438,1302,1244,1116,1210,1230,1112,1162,1096,1154,1476,1588,1798,1558,1216,937,777,1080,1118,894,619,484,761,1040,744,596,934,1090,915,824,1042,1124,1166,1254,1308,1300,1108,756,716,1034,922,926,1312,1242,624,446,689,1074,1224,1302,1260,932,1028,1048,927,915,1234,1192,1084,1114,1132,1112,1090,890,1017,1017,921,1052,1034,1074,1154,1156,1108,1114,1122,1224,1132,1086,1140,1088,1021,1278,1354,983,863,1298,1384,1170,1122,1144,1110,1642,1716,1220,1566,1472,1258,1094,1150,1280,1078,972,742,500,503,764,1506,1688,1312,1168,821,535,569,1230,1140,900,1282,1282,1052,905,833,650,1104,1486,1796,1884,1622,1480,1332,1116,990,1340,1610,1280,944,1026,1158,954,719,713,965,1340,1152,1013,965,663,473,401,386,360,441,485,411,579,1030,834,558,539,463,635,973,879,814,666,750,919,1160,1108,1058,1020,1182,1220,1052,568,420,902,1526,1262,494,326,608,757,462,369,269,167,147,138,146,138,136,154,227,454,824,966,991,855,541,800,794,929,1504,1226,503,308,445,627,693,558,416,404,585,1046,1332,1204,921,615,473,692,881,598,439,405,735,996,550,765,944,646,699,1006,999,716,594,671,630,990,1144,1202,1262,996,1250,1222,792,833,1046,1106,1140,1130,902,594,596,593,521,628,886,1258,1118,702,877,879,575,707,786,751,667,457,351,352,868,1444,1680,1692,1438,1144,662,820,1094,1682,1838,1582,886,616,491,545,799,1310,1498,1272,1082,818,888,1112,1092,1074,1078,1042,993,970,739,990,1100,680,689,895,1330,1015,608,518,546,717,1196,1188,619,318,389,421,344,365,408,532,1490,2116,2194,1576,910,565,625,728,720,619,894,1136,1138,1048,893,920,934,847,888,849,837,761,718,661,728,739,634,1030,1050,900,855,858,833,1036,1126,1218,1130,1066,1050,1116,1188,1058,1312,1394,1268,1162,1080,1052,1166,1284,1368,1288,1372,1320,1026,639,744,935,772,438,628,904,557,595,560,514,676,591,729,606,805,1334,1354,1454,1386,1070,1024,988,1002,978,800,1064,714,710,797,1578,2112,2220,2296,2390,2530,2154,1308,909,628,645,531,383,472,794,1013,814,526,494,684,1042,991,708,1186,1342,797,814,670,680,1098,1300,1488,1386,1178,1400,1346,1124,1408,1970,2066,2042,2032,1638,1078,960,1230,1132,825,700,746,771,804,724,712,747,1300,1206,1026,1050,1098,932,612,863,1172,1032,1011,1050,965,932,916,936,1034,1016,775,568,601,587,484,385,344,372,353,402,423,427,458,698,1007,1122,1162,1250,1406,1138,774,756,747,763,743,588,532,498,507,486,500,514,561,593,564,466,431,407,390,340,332,317,331,408,505,627,829,969,793,678,686,781,933,1140,1152,970,1154,1200,1076,991,1009,993,1044,1140,1294,1258,1190,1194,1162,1274,1156,1152,1358,1694,1620,1340,1198,1350,1458,1256,1170,1352,1252,1152,969,769,1048,1272,1228,1234,822,709,891,1132,1108,1186,1142,1094,777,724,1094,1222,756,798,1124,1098,1188,1388,1444,1098,1282,1266,1112,1018,691,507,537,862,1482,1520,1312,1576,1920,1422,1350,1006,697,974,1002,554,497,739,622,558,913,1194,1226,1306,1340,1186,988,710,587,944,1294,1300,1354,1172,1202,1140,1078,1106,718,936,1188,915,1034,1388,1492,1322,1198,1276,1274,1220,1230,1318,1378,1276,1270,912,407,278,335,289,287,303,346,414,426,483,537,1598,1562,1028,1074,1374,1486,1160,1116,1126,529,472,505,798,1180,1312,1250,981,1450,1658,1590,1710,1734,1538,1306,1300,1816,1532,671,390,434,479,693,1368,1130,876,1042,847,345,425,585,696,396,309,299,338,323,335,342,415,426,622,1013,1120,831,587,1021,1084,1422,1562,1584,1524,1456,1364,1276,1288,1144,822,505,581,626,603,924,881,750,967,929,1002,929,725,583,587,634,551,617,1022,1188,1632,1786,1450,723,420,365,445,648,726,743,386,337,369,645,749,513,400,442,565,877,905,603,568,401,415,365,526,1036,1138,702,896,921,670,409,336,362,514,544,416,311,280,318,339,440,595,871,1252,1620,1714,1522,1078,973,574,493,574,505,399,359,505,414,370,551,705,1228,1640,1238,1618,1762,778,433,416,459,433,469,440,433,521,764,1082,1442,2180,2154,1298,886,675,660,564,435,383,518,551,540,554,564,506,525,574,536,906,1406,1252,937,885,1070,1264,1304,1420,1572,1384,1178,1166,1056,927,1122,1364,1330],[713,1202,1100,556,558,1092,1224,391,337,385,509,526,741,934,891,1354,1550,1066,913,766,1338,1600,1194,786,1164,963,775,1042,851,751,1274,1334,1068,874,501,389,396,363,342,367,261,227,364,415,364,624,999,803,968,1360,1326,1292,1108,935,937,874,924,693,590,914,953,768,924,1130,1276,1390,1168,1690,1508,1494,1494,1380,1368,1066,930,885,1136,1336,1434,1248,1192,1206,1294,1258,983,942,1160,960,773,705,722,812,836,744,1166,1172,778,481,594,830,974,681,328,361,742,1168,840,1080,1376,1434,1262,1230,1410,1290,982,974,1072,884,998,1015,1088,1370,1358,900,741,1208,1416,1082,1001,1128,1110,973,766,910,1060,940,753,672,911,1078,1042,1454,1400,1194,1294,1256,1084,1216,1526,1258,1180,1040,1004,1238,1338,1418,1476,1664,1864,1780,1626,1378,1370,1932,1716,1446,1268,941,611,568,798,760,769,1122,1114,952,773,821,896,482,539,866,1334,1302,891,404,431,584,647,846,1080,720,598,541,687,1040,742,421,645,1112,1068,1138,1394,1256,1196,1342,1242,1234,1162,901,909,707,915,840,696,1054,1234,1400,1322,1688,1488,1394,1688,1244,1234,901,1120,1406,758,341,346,530,989,847,451,370,325,429,519,501,467,442,412,402,387,327,347,334,309,273,300,325,367,487,924,1076,1240,860,532,722,527,681,1064,927,1068,1294,1136,860,934,866,723,872,792,740,880,843,755,737,1006,1036,875,977,1016,854,491,307,490,712,748,905,995,1072,888,961,1001,639,500,539,666,886,943,873,787,747,1114,938,1072,1142,892,846,659,522,438,621,912,907,850,499,433,361,279,276,299,223,237,308,374,365,363,427,469,499,761,1128,1520,1296,1138,1142,997,1368,1662,1712,1654,1704,1574,1872,1388,813,1172,1294,1504,1396,1296,1332,1206,1190,988,1011,1304,1494,1368,1406,1356,1230,957,716,685,905,1100,1001,1104,1100,1266,1344,1230,1156,1013,826,1122,1086,1036,1072,1130,1148,1110,850,884,974,666,969,895,597,777,766,613,589,1104,1226,1252,1744,1802,1504,1120,924,724,576,941,1254,1476,1444,1190,1290,1340,1530,1558,1144,792,1050,1290,1392,1034,1140,922,919,1224,1324,1170,1592,2046,940,658,788,957,760,926,1048,850,684,969,1174,1248,1346,1484,1556,1268,1332,1204,888,927,1098,1284,1298,1212,1162,1196,1202,983,1066,1174,971,1098,1210,1010,700,1038,912,622,486,777,1078,1023,1180,1114,1112,965,1030,1106,1382,1354,1350,1246,965,982,1094,1362,1614,1336,918,975,1092,973,1094,1180,1072,908,982,1042,767,882,947,1250,1432,1094,1180,1136,1118,1242,990,608,763,1072,968,819,679,1180,1362,1574,1094,695,506,455,449,384,408,433,558,771,902,1170,1638,1254,1244,1320,851,816,975,1188,1266,1170,1118,861,446,284,305,298,310,424,411,435,422,463,713,841,1015,1346,1284,1308,1320,1366,921,1036,1052,987,1080,1188,1082,1188,1462,1340,1198,1122,1060,548,669,651,550,734,1048,1202,1256,1278,1122,1198,1204,1266,1274,1042,1032,976,1028,1058,1120,1124,1092,991,1074,1316,1334,1284,1132,1064,1186,860,834,1236,1416,1082,977,1338,1400,1228,1464,1310,1162,961,905,1152,1250,828,717,989,1202,935,514,653,1042,1302,1196,1116,1176,1078,877,554,401,365,349,330,316,322,318,333,470,683,604,558,582,496,457,406,383,336,318,333,343,382,414,391,322,337,342,348,350,357,335,440,489,364,484,1056,1348,1316,913,753,679,600,571,650,984,1042,1158,1256,1096,1182,1210,1226,1098,1074,1016,1140,1120,852,519,553,1008,943,911,1162,1094,1090,1488,1318,1338,1618,1454,1358,1442,1300,1220,1106,1440,1876,1674,1366,677,871,1086,1242,1426,1424,1262,963,707,933,1032,1023,1236,1206,1198,952,1380,1006,869,727,622,742,1202,1438,1136,1009,1168,1618,1532,1532,843,1174,2030,1386,1266,1490,1444,1318,1508,1490,1284,1174,1001,925,1080,1040,1188,1230,1394,1138,968,1036,1144,1128,1110,1416,1398,980,722,961,1196,1162,859,488,448,499,601,882,1350,1582,1336,1242,1636,1120,1052,1222,1338,1708,1522,985,863,963,908,774,871,1140,1112,1154,778,975,946,1108,1428,1360,1306,1474,1516,1118,631,601,744,879,934,849,865,959,1162,1346,1246,1216,1266,1166,1024,957,631,449,437,432,588,617,445,525,1222,1494,1270,1310,1016,1090,1936,1826,1306,1326,906,998,1460,1694,1470,1168,1284,1532,1340,1268,1090,1044,1102,1230,1610,1544,1374,1324,1078,965,1052,1013,799,521,520,919,923,719,683,1346,1224,561,727,904,744,885,1028,1046,964,885,632,719,1030,901,971,1618,1256,526,627,804,1080,1172,1240,1018,816,891,1104,771,535,904,1204,1028,1140,1110,1166,1396,1100,1082,1100,1354,1134,1106,1192,1250,1188,1054,1096,1042,1194,1066,1004,1122,1234,1290,1274,1076,769,863,1238,1116,784,905,908,839,1416,1434,1158,1338,1122,1260,1394,1434,1162,838,735,666,596,610,839,867,633,877,1368,973,711,679,962,954,1002,1388,1290,929,509,423,612,1234,1490,1572,1406,1258,1126,1188,1340,1278,1380,988,944,1192,1160,1018,693,483,436,589,1028,1112,880,762,903,615,420,504,448,445,433,351,312,533,675,680,444,524,1058,1026,675,782,799,1136,1176,1082,1130,1194,1280,1284,1152,734,354,507,1168,1442,1260,835,615,769,808,535,404,260,195,190,174,161,152,158,162,216,486,902,899,852,716,501,747,811,910,1352,1364,802,516,424,269,293,354,400,350,296,436,868,1338,1274,908,683,670,822,641,672,707,618,542,546,756,614,393,512,774,658,491,721,1274,970,951,1068,1002,998,1140,1228,803,624,1056,1028,824,1015,944,661,398,686,939,741,554,825,1118,1104,719,656,749,877,1168,1466,1032,832,633,407,550,1362,1744,1636,1570,1412,952,880,1108,1001,954,929,888,916,738,775,1038,1578,1776,1368,1262,836,466,715,702,431,600,788,938,1004,808,886,1124,736,677,1010,1094,1068,642,452,466,439,466,626,732,758,778,760,605,553,462,521,670,899,1346,1388,1186,1166,1038,814,802,690,730,882,1005,1170,1222,855,760,798,864,680,788,1023,954,763,581,698,637,858,1152,1078,714,633,745,898,1112,1144,852,864,1228,1158,1366,1392,1050,1130,1230,1190,1126,1120,1156,1112,1648,1842,1376,1304,1272,1022,846,905,1134,1218,728,778,814,444,551,607,872,1018,868,895,844,979,1412,1356,1504,1432,984,955,1028,1136,1288,1244,1166,724,544,725,1728,2486,2576,2562,2480,2504,2160,1246,880,599,519,458,492,643,769,944,910,614,514,807,1354,1368,1470,1420,1018,654,625,618,635,836,1042,1162,1372,1638,1380,1246,1524,1970,2142,2068,2042,1586,1344,1184,1058,1142,1160,991,903,927,855,802,774,724,836,1362,1430,1842,2242,1878,1246,827,916,1236,1274,1050,1044,935,894,837,912,1012,902,771,869,1036,1164,1182,957,532,445,426,491,538,621,821,1086,1106,1146,1284,1344,1494,1190,786,749,794,807,781,651,487,458,472,490,492,457,489,655,717,583,417,399,427,362,320,309,333,397,462,502,639,716,701,625,742,1021,1060,1064,1134,1208,1278,1136,1102,1470,1850,993,888,1180,1378,1318,1170,1178,1210,1270,1404,1460,1462,1362,1130,1020,1282,1484,1378,1250,1302,1440,1168,1024,918,958,1368,1596,1306,1106,700,528,756,1198,1320,1220,1142,1286,1246,1108,1274,1446,1182,1134,1114,1428,1506,1238,1262,1062,1246,1344,1320,1190,1088,1224,1048,1098,1548,1330,1346,1496,1354,1360,1476,1362,1050,1001,1108,741,670,1028,1028,1036,1156,1448,1274,1216,1262,1320,1206,1062,774,930,1256,1378,1450,1274,1210,1166,1118,1032,624,507,841,1023,1194,1256,1116,1340,1424,1466,1464,1396,1134,1230,1284,1240,1152,737,318,332,353,387,433,444,375,392,438,480,386,1058,1378,1212,1442,1310,1090,1120,933,678,428,476,738,1166,1274,935,723,863,1132,1486,1686,1688,1566,1588,1122,1230,1340,863,422,448,590,588,448,521,541,545,973,1226,766,840,689,1001,625,347,365,397,496,528,444,580,687,1190,1608,1474,1028,796,1090,1428,1596,1596,1560,1506,1494,1446,1422,1500,1606,1620,1210,1004,1174,975,1160,1168,1268,1452,1534,1426,1268,1176,910,730,541,383,719,1248,1094,934,913,892,846,846,604,554,957,888,636,331,301,428,1248,1444,792,505,684,863,1140,912,585,566,347,336,380,325,676,775,562,580,858,921,513,353,585,1034,1034,753,352,261,325,303,477,727,776,993,1216,1410,1820,1076,689,468,415,469,464,394,439,544,440,500,790,1250,2010,2070,1556,1494,1630,720,392,345,376,390,414,417,432,534,864,1252,1418,1828,2154,1676,1042,559,637,600,529,480,566,558,717,628,468,471,593,718,703,688,1104,1236,1210,1138,1076,1266,1128,984,861,615,586,798,783,503,711,931,810],[432,656,662,384,362,841,1120,605,628,777,738,681,981,1232,1024,1084,1016,999,1180,1082,1214,1234,1036,730,767,736,844,795,650,934,1134,930,866,787,402,370,423,373,482,590,422,277,319,335,291,357,694,1004,1062,1250,1310,988,590,467,404,430,540,467,320,278,464,569,865,950,823,984,926,1294,1434,1126,1124,1206,1152,730,758,955,1021,1072,1078,1062,1052,1282,1248,1150,875,755,939,791,689,763,1224,1090,766,526,866,1212,979,738,666,791,996,614,473,462,798,1018,796,949,1266,1720,1592,1108,1142,1194,826,808,1168,1194,1266,1200,1216,1270,1344,1028,857,1218,1318,1322,1660,1262,833,876,576,559,894,1072,1028,947,961,1024,1150,1184,1216,1240,1366,1238,1034,1224,1486,1296,1110,993,938,1080,1382,1482,1522,1772,1830,1824,1674,1502,1416,1496,1422,1614,1720,1174,655,769,723,781,964,1266,1482,1084,869,750,534,353,650,1152,1240,1180,923,350,395,492,579,541,785,797,1036,850,971,1416,1084,609,922,1276,1154,1234,1444,1238,1228,1168,1286,1074,1086,1114,978,765,719,585,681,1104,1424,1486,1410,1606,1174,1550,1476,1456,1288,1084,1474,1458,622,346,374,745,1076,676,462,428,368,604,793,807,792,529,437,440,476,339,351,353,340,353,379,485,487,767,870,814,1090,899,717,872,673,853,1072,1224,1146,773,711,992,1210,1003,965,976,702,740,871,714,672,617,886,774,807,1090,1112,993,603,353,499,655,682,833,935,981,944,904,895,988,974,1048,1060,987,1028,894,1112,797,780,739,958,883,704,515,388,450,517,816,1176,1108,1110,921,744,469,257,244,272,242,259,311,345,365,401,519,569,586,772,1160,1494,1302,1404,1498,1366,1410,1670,1782,1804,2414,1282,1384,1338,1066,984,869,980,1154,1384,1276,1454,1602,896,1120,1306,1456,1456,1296,1005,1102,926,593,540,730,667,930,1468,1316,1322,1064,1172,1234,1040,996,1218,1046,1086,1282,1108,1080,1013,1020,1220,901,771,1366,1144,775,481,566,667,756,1208,1538,1628,1660,1708,1390,816,781,714,585,798,1218,1532,1466,1460,1550,1422,1398,1220,914,740,913,770,1174,955,1130,1194,959,818,928,1036,1009,996,728,647,773,941,689,483,645,749,913,1192,1324,1310,1262,1454,1494,1216,1026,1222,1250,1268,1156,1110,1044,1056,1232,1290,1306,1056,971,1128,609,836,915,735,872,1118,1060,714,396,770,1272,1276,1160,1198,1250,961,645,906,1240,1266,1268,1202,1222,1178,1194,1310,1216,1170,1044,936,706,852,1024,984,1180,1166,1042,1252,1514,1254,1126,1312,1224,1030,1066,842,785,961,745,624,1164,1238,927,1168,1396,2642,1606,1084,832,602,456,328,315,349,333,510,628,591,589,1122,1580,1290,1278,952,705,850,984,1228,1088,1011,984,781,429,301,297,342,365,379,360,379,332,371,468,640,905,1104,1154,982,714,1292,1156,1350,1450,1260,962,743,782,1074,1070,1166,1548,1498,1180,810,643,692,517,546,970,1162,994,1019,1080,1074,1182,1366,1278,1152,792,798,1022,1134,1166,1228,1404,1448,1344,1444,1226,1122,1298,1278,1400,1013,887,1076,957,855,1066,1332,1384,1122,1220,1332,1058,654,672,996,1064,1060,1122,1186,1360,1054,752,792,1046,1142,974,779,709,631,462,380,377,341,314,318,318,312,318,315,462,786,714,634,647,530,437,397,364,348,350,324,312,306,355,343,315,338,346,345,342,345,339,372,440,442,510,1128,1316,1404,850,574,624,860,850,634,651,851,1012,1010,1144,1326,946,952,1112,1124,1152,1142,1032,927,800,1056,1416,931,701,731,1040,1232,1248,1176,1218,1418,1438,1368,1340,1354,1354,1174,1684,1460,875,483,436,831,918,979,1266,949,926,1110,874,962,876,999,1206,1280,1396,1214,1220,891,939,836,606,709,1026,932,902,1324,1432,1710,1582,1564,1282,1372,1366,1308,1292,1410,1404,1190,1256,1128,1036,1274,1316,1266,974,1154,1392,1424,1350,1316,1132,915,1112,935,761,1428,1730,1584,763,758,1116,1140,930,747,593,550,647,1054,1404,1420,1274,1356,1178,835,1028,1260,1382,1564,1314,673,608,1130,1990,1136,1116,948,938,1002,917,930,816,1094,1376,1186,1080,1226,1408,1412,967,574,589,596,718,804,960,1156,1138,1194,1150,1206,1290,1230,1060,917,610,508,446,374,429,400,401,755,1364,1374,1164,1346,1354,1590,2060,1994,1878,1456,717,572,949,1420,1190,807,1388,2006,1990,1582,1140,938,1078,1506,1698,1630,1564,1290,1246,1284,1040,764,892,1266,1052,1132,955,782,709,1072,888,728,1104,1116,1152,1016,1124,1116,983,998,809,954,1112,1011,1054,990,582,539,744,922,1168,1158,1108,952,936,704,550,457,496,1250,1312,794,1098,1078,1070,1015,1164,1256,1192,1240,1028,1120,1172,1004,919,921,862,1066,1012,943,1024,1194,1166,1328,1256,987,872,965,1176,1114,859,1120,987,857,1136,1340,1434,1036,612,777,1066,1338,1126,946,543,540,601,753,846,537,473,638,856,706,739,765,497,556,837,971,791,395,354,367,390,406,637,987,1072,832,709,1110,1424,1019,797,1070,1358,999,514,417,421,507,512,619,899,734,504,421,684,512,464,591,528,411,385,404,391,376,558,948,1028,1264,1310,1038,840,812,1034,1174,763,727,1104,1296,1242,1232,1078,594,369,399,659,692,1003,1150,890,747,520,297,280,184,211,238,248,236,203,150,133,152,277,427,511,663,619,658,991,1004,1116,1274,1202,437,537,609,402,296,344,361,328,294,327,599,797,1116,1202,783,503,447,534,897,1182,831,720,1008,739,530,538,787,695,682,489,514,1013,1128,1322,1444,1346,1246,1180,896,531,954,1482,1052,641,664,509,436,461,675,899,830,730,691,707,841,1124,737,626,748,1410,1458,893,686,714,575,663,1050,1216,1228,1162,1384,940,739,914,794,1034,1374,1388,1052,910,1266,1416,1618,1376,1334,1378,1064,672,803,574,354,539,879,1054,838,1120,1270,794,558,620,792,878,689,432,290,289,492,1310,2162,1946,1300,960,1007,1040,988,846,840,881,874,872,789,779,913,1018,1134,1144,610,700,519,700,875,913,1026,913,750,881,601,511,649,728,919,587,517,545,1262,1396,957,845,1005,899,750,1000,1056,931,1192,991,973,1032,1001,990,1092,1156,1138,1264,1224,1150,1060,1582,1512,1388,1512,1410,980,1034,1158,1248,924,617,1028,1290,990,999,849,1152,1290,1208,960,730,1050,1508,1504,1520,1450,851,950,1376,1658,1248,886,981,926,871,1200,1772,2280,2198,2166,2160,2194,1944,1124,737,573,603,487,671,930,781,931,963,683,746,1252,1910,1784,1712,1288,1038,846,722,558,532,661,912,1240,1510,1278,1180,1712,2040,2062,2120,2220,2004,1502,1638,1516,1278,1196,1418,1120,996,772,739,855,789,646,681,991,1232,1792,2334,1960,1842,1530,1230,1196,1190,938,1018,1064,1168,1192,1078,943,791,910,1026,1400,1478,1412,1310,709,436,461,525,656,919,1178,1172,1094,1286,1238,1454,1534,1120,775,684,744,795,764,631,505,447,441,450,476,486,462,531,574,548,400,372,359,338,345,344,358,404,491,556,677,716,681,618,947,1120,1058,1070,1010,1102,1088,902,846,1200,1378,1038,915,960,1080,1100,1050,1208,1334,1356,1312,1324,1404,1362,1312,1368,1426,1356,1110,1092,1394,1314,1178,1136,779,1088,1792,1310,1256,874,684,509,865,1374,1368,1270,1324,1354,1436,1454,1174,1072,944,1076,988,1122,1142,1152,1330,1170,1112,1404,1410,1142,1226,1354,1200,1202,1218,1186,1288,1522,1420,1322,1446,1524,1304,1188,1178,777,1015,1164,1112,1000,982,1248,1222,1168,1294,1272,1350,1506,1298,1174,1408,1494,1336,1322,1238,1166,857,926,882,588,713,938,1194,1230,1015,1072,1382,1316,1238,1210,1236,1312,1130,924,886,561,349,378,427,514,591,533,436,414,433,405,365,432,503,1056,1578,1232,994,1042,993,656,538,546,650,770,946,968,888,1172,1622,1628,1592,1534,1538,1392,945,1450,991,360,612,596,600,695,617,866,957,799,965,1158,1264,1270,1020,1160,1028,661,392,455,931,1002,612,806,1140,1704,1626,1072,938,1028,1082,1354,1630,1636,1490,1438,1428,1444,1456,1510,1730,1816,1622,1230,1146,1196,1242,1376,1422,1444,1730,1582,1668,1596,1214,1116,908,611,755,918,766,603,608,718,658,823,891,1176,1188,624,462,433,369,493,1060,1158,641,521,1005,1056,1206,697,354,290,332,357,323,271,398,447,408,430,687,1001,935,568,868,1214,803,453,303,307,310,277,348,467,476,422,610,1132,1974,1490,754,446,410,486,498,432,465,528,588,679,776,1154,1404,1356,1484,1596,1310,675,374,333,413,513,466,541,591,741,1188,1342,1302,1272,1190,1060,728,500,589,566,586,517,484,511,595,560,451,383,442,543,619,816,821,750,707,689,623,505,379,386,408,369,388,508,560,400,408,401,443],[356,456,669,472,400,797,1068,816,675,791,883,667,735,924,785,872,833,886,1164,938,702,650,825,978,1005,1026,1292,681,430,505,751,807,828,845,620,494,534,486,609,947,815,357,359,533,461,468,805,1174,1322,1360,1082,582,459,444,419,407,453,438,341,680,904,859,625,625,618,812,1246,1804,1868,1346,1220,1302,1318,899,659,742,713,739,946,992,1001,880,833,911,477,450,618,890,764,738,1028,1148,1156,958,897,956,901,1126,1232,1194,1210,865,562,458,564,1144,1104,830,1294,1584,1318,882,1368,1700,1508,1252,795,926,1136,1242,1158,1306,1506,1290,1116,830,951,1660,1934,1122,762,569,536,760,1136,1228,1182,1110,1090,1134,1056,1062,1070,1116,1238,1310,1138,1008,1011,1074,1052,1048,1116,1184,1194,1228,1266,1528,1536,1654,1824,1722,1576,1538,1522,1610,1432,695,642,789,741,730,1072,1310,1542,1092,1102,912,561,788,998,1090,1300,1050,680,393,474,636,479,514,696,895,1194,895,807,1292,1144,674,942,1558,1582,1448,1656,1180,1050,873,810,691,752,833,943,734,580,626,633,1116,1340,988,1336,1162,1250,1332,1350,1512,1306,1134,706,579,375,328,412,952,854,540,495,480,467,594,954,1552,1484,659,456,429,455,445,389,353,467,531,642,728,724,1254,1394,1356,1352,827,641,868,960,1048,1034,1322,1264,922,914,1166,1184,791,937,858,687,863,980,830,833,738,741,652,798,951,877,922,392,330,571,722,727,762,728,513,875,1058,1116,1376,1400,1142,1038,823,881,825,858,654,697,1248,1438,1106,1082,845,569,807,804,706,963,1160,1026,1274,987,483,283,241,251,267,268,300,393,345,365,399,429,474,849,1266,1334,1366,1344,1366,1426,1328,1248,1572,1560,1270,1230,1348,1186,1086,989,910,1120,1420,1456,1460,2008,1808,1106,960,1148,1226,1030,656,731,1336,1474,1038,479,488,383,846,1252,1042,769,583,733,841,1084,1184,1290,1222,1082,952,780,855,589,844,1476,1260,830,1036,1310,1090,631,390,500,741,961,1156,1246,1120,1276,948,451,423,427,408,532,1013,1482,1594,1550,1264,1256,1354,1290,1312,1100,1011,786,924,940,1023,1194,1354,1130,1080,1084,988,1188,1326,1246,1082,780,546,419,458,565,625,1282,1626,1454,1238,1498,1426,1314,1140,1314,1418,1416,1176,935,1150,1482,1432,1264,1322,1270,1286,969,734,887,738,672,909,828,913,880,670,970,1410,1100,846,1030,1360,1178,780,874,1130,1240,1204,1312,1416,1362,1210,1184,1186,1158,1306,1372,1038,912,1028,1172,1078,728,747,1268,1118,706,694,838,871,855,884,661,590,706,1004,1356,1118,1074,1186,1178,1204,1682,1238,1060,764,613,621,472,354,381,439,686,855,925,801,1120,1118,1122,1300,974,863,880,1016,1168,966,1094,1110,937,563,456,406,371,390,560,715,656,657,750,549,700,617,901,1146,792,554,539,879,1290,1170,1102,860,606,686,876,853,1082,1274,1510,1686,1328,1064,861,560,661,1036,1368,1282,1424,1404,1024,1092,1362,1280,1062,905,1088,1156,958,874,891,871,1042,1086,1252,996,919,1346,1134,963,800,658,509,520,645,998,1110,989,1112,1322,1222,1098,961,1176,1364,1274,1500,1300,1048,1138,1136,852,793,830,750,708,626,441,401,419,362,324,302,308,318,298,286,296,291,473,837,711,433,438,453,433,385,375,382,353,327,317,303,307,305,303,335,363,365,343,332,337,351,363,436,590,1224,1338,1272,877,622,753,1018,1002,888,1144,1208,1030,900,1174,1005,616,586,884,921,709,803,898,879,1310,1376,1124,1074,953,626,787,995,833,996,1326,1404,1312,1220,1286,1266,1084,1316,1590,1148,636,511,408,561,813,1150,1230,869,739,694,818,1200,976,1132,1344,1448,1288,1030,897,942,1134,1394,1372,893,916,855,1262,1698,1616,1370,1572,1478,1346,1484,1332,1146,1084,1248,1036,1036,902,1078,1202,1292,1322,1454,1370,1418,1384,1322,1438,1574,1234,848,901,1150,728,1114,1592,1438,843,718,963,984,1178,1136,741,677,758,1156,1404,1806,1548,1120,857,895,1154,1250,1146,1298,1186,942,796,1100,2038,1426,1242,1046,977,1110,1142,870,909,1144,1172,963,1070,967,993,1526,1530,1120,770,764,1354,1766,1616,1246,1094,1108,1010,1080,1222,1274,1052,700,758,1132,944,792,920,716,567,622,613,952,1026,885,1102,1662,1770,1616,1904,1422,909,985,935,953,927,1015,1350,1778,1726,1512,1284,1108,1364,1696,1648,1624,1664,1228,1078,1312,1017,733,945,1308,1346,1248,1324,1324,1158,1024,944,976,1015,960,1150,1070,866,612,915,1098,1076,1258,1172,1011,988,694,750,753,749,816,1072,1230,962,760,1015,1148,1042,788,751,1030,1256,1310,1526,1416,1328,926,1015,1182,1050,905,809,854,886,616,807,1026,846,1066,1258,1188,1138,1004,1078,1276,1162,1078,999,1015,1080,1078,1206,1320,1266,1320,1466,1574,1702,1184,669,686,739,1142,1394,1374,966,942,1002,1040,863,810,1036,876,431,591,1052,846,671,726,763,857,857,568,397,341,322,499,780,894,781,650,737,1366,1726,1360,1214,1332,1090,604,648,792,710,670,556,597,940,969,619,684,692,752,728,526,509,485,471,407,429,512,534,718,1128,968,770,781,631,872,1154,807,461,585,895,999,1001,1036,981,601,374,305,343,756,1322,1276,708,429,302,287,279,179,236,300,296,304,291,208,195,193,233,472,865,1000,998,1170,1192,955,1156,1058,938,433,318,637,641,345,285,267,284,265,405,612,397,479,897,1160,916,591,660,955,938,758,1019,1244,697,812,898,1142,809,474,423,388,630,1184,1490,1550,1302,1126,999,582,383,730,1330,1278,869,603,419,448,576,821,957,774,631,702,765,617,952,1036,670,486,724,945,818,569,634,547,647,912,1026,744,1180,1126,1036,805,906,1352,1446,1054,838,1002,1508,1582,920,778,891,1166,915,619,661,803,735,625,491,644,822,931,1230,835,535,531,744,974,964,679,308,341,507,547,718,868,955,1192,1750,1564,1240,1460,1682,1218,874,1082,965,797,910,1042,1138,1332,996,577,681,616,719,1001,996,1000,1108,1038,1056,615,494,404,391,472,433,354,351,747,960,849,975,1096,803,572,809,1444,1312,951,795,983,1001,1038,1012,1054,1248,1312,1272,844,963,1232,1118,1224,1222,1340,1214,749,581,1126,1400,868,1170,1472,2332,1528,1082,968,969,955,790,758,837,895,1422,1374,1244,1456,1154,1224,1162,1288,883,597,1084,1150,954,1340,1444,1626,1710,1788,1716,1616,1516,1056,684,670,612,449,594,813,717,901,908,739,1086,1456,2002,1478,866,1118,1188,854,803,650,590,752,1214,1364,1018,1092,1712,2132,2156,2104,2098,2216,1766,1638,2080,2008,1606,1596,1604,1824,1588,810,623,693,646,579,550,631,689,1008,1262,1018,961,1178,952,1064,1126,1018,1102,1220,1404,1428,1072,756,765,1126,985,1250,1252,1262,1184,686,444,489,633,929,1082,1250,1368,1396,1408,1304,1312,1222,889,697,822,869,805,916,874,711,497,468,465,474,495,518,579,636,503,366,361,366,404,426,386,384,448,519,547,602,601,551,685,1060,1244,1366,1156,956,995,898,689,586,807,954,1088,1240,1096,957,1162,1208,1214,1294,1268,1020,1050,1190,1270,1262,1304,1318,1234,948,932,1116,1124,1346,1290,727,815,1512,1262,1110,1152,958,597,726,1132,1474,1386,1310,1318,1144,1186,1108,1044,1122,1042,851,837,1154,1362,1216,905,980,1518,1388,1172,1182,1366,1350,1316,1362,1356,1304,1288,1200,1156,1136,1106,1020,1142,1076,644,809,841,1018,1074,1172,1278,1344,1408,1388,1336,1438,1460,1432,1304,1344,1396,1466,1434,1226,1120,916,887,887,550,714,842,963,929,872,904,1270,1090,959,1182,1600,1816,1486,723,509,362,353,350,366,462,646,589,459,406,379,343,315,341,384,572,905,1094,1158,953,1192,984,714,647,687,1018,1534,1382,1044,1746,2110,1558,1522,1700,1670,945,699,996,649,714,1128,611,543,814,963,891,1070,984,1019,831,850,992,1090,1404,1584,1256,846,1076,1544,946,785,1084,1132,1278,897,535,642,923,1078,1110,1622,1690,1474,1432,1456,1472,1482,1494,1550,1614,1596,1232,949,1182,1444,1522,1500,1400,1804,1658,1840,1612,1432,1506,1130,946,1224,1398,1208,693,729,647,655,1542,1402,1242,962,472,386,587,752,473,438,710,878,719,1036,749,531,359,347,369,366,330,301,286,297,324,385,580,919,796,1106,983,741,641,480,390,334,286,273,241,269,339,421,370,408,538,1030,870,743,685,491,544,586,545,498,554,728,758,697,953,907,950,1366,1636,1620,1190,592,362,466,606,655,863,1014,1003,862,837,715,531,485,678,548,534,558,545,519,501,430,400,492,633,528,401,410,419,397,777,648,490,419,395,385,400,422,424,474,440,408,389,377,332,351,427,636],[397,354,627,666,505,596,784,650,525,775,930,781,413,521,583,743,1106,1184,981,726,606,486,414,858,1542,1406,1302,916,479,656,1030,993,767,564,419,430,479,513,611,902,786,398,465,966,881,966,1246,1548,1600,1402,1024,589,450,408,359,416,499,513,454,803,847,795,714,756,869,1072,1482,1566,1176,1454,1374,1246,1226,1194,844,696,872,960,889,866,1156,955,1114,1070,710,828,864,1010,1002,1144,1320,1248,1005,904,745,740,915,1124,1418,1932,1828,1308,756,524,480,1030,1092,748,838,1088,1230,892,1158,1616,1856,1446,1054,902,908,1152,1114,1228,1288,1392,1368,1570,1826,1588,1224,979,850,704,922,1210,1236,1312,1186,941,1078,1186,988,1114,1104,1236,1666,1556,1058,912,792,718,968,1224,1198,1300,1019,969,1118,1528,1708,1682,1844,1502,1100,1384,1550,1556,1212,795,1000,1034,1260,1112,1374,1504,1100,969,1282,945,772,1021,964,966,1344,1238,775,473,364,843,956,924,1012,1084,1192,1234,1064,1268,1116,660,565,1046,1366,1078,1054,1246,1266,880,786,1074,977,670,930,756,681,789,921,1256,1110,974,1094,1244,1312,1228,1488,1412,1324,1017,814,970,708,406,614,855,555,366,372,369,390,370,468,724,819,509,425,394,440,473,407,387,652,824,781,677,814,1462,1378,1492,1244,733,753,939,1178,1312,1384,1438,1430,1424,1434,1370,1088,698,672,601,669,796,1002,927,799,841,901,1080,1256,1236,1001,797,307,373,611,744,704,721,652,600,887,807,551,847,1216,1144,1120,894,843,1170,1114,1070,1158,1404,1434,1304,1522,1256,1154,1220,1038,793,692,786,936,1104,833,523,361,363,311,300,300,315,546,345,371,365,356,554,1040,1054,948,1150,1064,1272,1372,1258,1106,1576,1732,1478,1534,1600,1312,1026,960,1034,1286,1324,1432,1554,1446,1162,1114,1294,1274,1021,924,861,1062,1208,1532,1744,893,824,565,731,1210,933,610,694,817,885,913,959,1404,1608,1040,449,389,384,379,513,753,957,1100,1090,1068,1266,1148,623,499,439,488,733,1070,687,649,699,518,458,568,691,654,944,1404,1800,1970,1338,1058,1250,1426,1794,1730,1212,936,995,1078,817,882,1148,1204,1368,1184,1158,1234,895,1034,1302,1236,874,520,576,847,845,1180,1528,1606,1462,1538,1484,1362,1366,1504,1504,1332,1248,1088,1074,818,1170,1312,1346,1368,1294,1210,1244,1028,697,673,959,1068,1290,1296,906,858,1058,998,916,891,1124,1216,962,871,1086,1204,1120,1504,1394,1396,1240,1174,1204,1266,1454,1386,1172,933,815,1034,984,749,1002,1150,781,538,460,553,594,882,965,549,521,810,1508,1842,1108,1078,1028,825,730,852,1224,1230,598,525,698,593,416,374,426,455,477,807,1028,1302,1406,1288,1228,1040,926,1118,1260,1078,1007,1070,1190,994,819,924,969,654,591,958,1060,838,1324,1322,952,954,1050,1270,1250,926,681,652,1028,1298,1222,1346,1212,706,649,930,1034,1013,1038,1316,1462,1246,919,797,641,846,1138,1312,1368,1260,965,925,1064,1172,1236,1220,1288,1294,790,821,887,897,830,1242,1134,1186,1015,649,666,799,758,712,971,777,655,727,796,817,1002,1090,1220,1256,1256,1256,1324,1106,1202,1386,1350,1001,1078,1180,776,588,600,502,451,425,402,415,391,359,353,341,339,320,315,321,310,298,464,787,718,400,411,439,488,459,451,498,475,466,468,371,303,324,321,330,339,343,347,365,367,372,344,360,669,1240,1424,1246,991,969,908,908,992,1176,1218,1142,1178,1164,926,775,740,631,705,684,537,946,1208,1214,1472,1140,1052,1160,1202,1078,832,935,1001,1132,1488,1272,1042,1242,1310,1116,1064,1382,1158,866,757,834,734,790,1050,1158,1056,580,428,584,1088,1018,985,915,1230,1518,1476,1380,1134,850,948,1368,1394,1015,943,902,1636,1092,747,957,1406,1582,1482,1378,1332,1068,1156,1344,733,825,979,1440,1548,1582,1598,1378,1238,1312,1260,1242,1362,1378,1346,969,1070,1074,665,860,1318,1382,1208,970,827,1144,1948,1592,1164,1054,835,940,1164,1490,1488,1384,1314,1270,1314,1196,1254,1338,1206,1188,1044,1013,985,1190,1302,1094,897,1116,915,628,841,1108,1138,1078,1350,1232,1136,1472,1764,1456,1166,1042,1084,1266,1410,1094,1116,1050,936,962,1050,946,624,496,827,1076,815,589,940,940,529,480,684,1114,1064,791,1382,1858,1708,1632,1422,1084,1004,1160,1144,913,744,891,1268,1438,1510,1632,1390,1356,1638,1762,1704,1338,1474,1244,1098,924,891,777,719,954,809,853,1190,893,796,918,1204,816,915,1166,848,1054,1108,1040,1066,905,950,1174,1300,1180,1204,931,933,1106,1272,1070,911,1023,814,463,749,1084,1072,1094,1178,1009,1300,1282,1198,1084,1182,1007,1001,1152,1034,598,547,578,747,451,657,1052,1102,1132,1206,1216,1082,973,1218,1100,938,1032,1096,1164,1210,1142,1294,1536,1840,1922,1854,1726,1726,1300,716,686,775,1172,1340,1346,1178,846,822,724,711,848,919,815,816,952,751,456,489,417,708,745,601,492,374,368,422,577,847,1208,1066,919,849,1406,1744,1584,1230,754,446,493,767,943,915,669,392,386,507,898,1064,1858,1628,1282,1070,738,560,503,487,429,403,426,399,431,688,624,491,405,541,844,796,720,644,563,688,985,1040,1038,1152,852,526,398,380,541,905,954,585,446,352,472,503,361,368,346,397,789,752,362,403,409,331,565,906,991,1164,1274,1180,1132,898,927,927,431,396,662,619,354,270,260,262,262,554,523,359,333,424,830,1188,1162,800,637,586,997,1738,2308,1638,1370,1448,1108,656,506,307,438,968,1176,1204,1246,1142,1032,622,522,458,521,1094,1414,1288,796,522,482,672,915,939,678,411,599,695,724,741,832,860,727,596,810,739,560,519,824,788,901,774,927,1148,916,736,644,1230,1866,1482,686,747,1472,1118,645,607,1007,1492,1190,787,793,834,1006,1120,1050,596,428,788,1160,854,771,998,1156,1200,1013,948,749,408,467,830,700,356,348,436,1062,1496,1082,1194,1858,1726,959,1224,2018,1500,1500,1524,1694,1556,1450,1096,913,996,913,728,748,880,960,1001,980,835,574,509,434,410,409,415,481,472,432,441,527,605,923,1120,855,1030,1658,1576,1114,918,995,857,908,1278,1066,1196,1358,1140,1054,1136,1194,782,892,1134,1106,1130,828,621,1076,1156,845,1188,1388,1842,1580,1438,1196,924,686,464,669,896,819,1390,1362,1322,1310,1348,1318,960,840,671,540,988,1098,753,1116,1350,1802,1890,1904,1970,2046,1992,1288,642,619,631,567,498,600,689,866,902,739,939,1372,1986,1556,595,912,1528,1294,787,511,639,1132,1650,1300,1098,1242,1492,1808,2046,2174,2066,1896,1554,1978,2076,2100,1564,1476,1820,1848,1338,802,623,649,653,634,515,526,602,656,610,660,644,619,708,1136,1218,1086,1116,1148,1104,1214,1166,1050,959,1390,1021,666,799,1128,1268,1023,965,1108,1306,1352,1194,1204,1130,897,832,916,1005,1226,1214,1054,1266,1214,1202,1528,1450,894,622,631,624,645,700,769,817,772,700,744,778,719,721,783,855,902,700,536,554,583,555,548,825,1176,1274,1294,1238,1110,860,895,937,942,937,983,1060,1210,1156,885,1086,1082,1110,1178,1228,981,1202,1254,1254,1282,1242,1194,1138,958,860,1000,1146,1532,1328,938,792,964,1204,919,825,705,735,1042,1188,1500,1346,1284,1476,1200,1120,1240,1242,1156,949,781,971,1278,1194,970,718,1010,1468,1064,918,1056,1160,1015,1246,1418,1412,1466,1314,1296,1182,1146,1250,1023,1094,937,620,479,608,924,852,787,987,1134,1266,1444,1472,1354,1366,1260,1170,1214,1288,1510,1438,1144,1116,1234,984,801,926,1232,752,730,1150,1011,810,1148,1220,972,1028,1414,1406,1116,680,313,266,330,344,338,362,508,560,536,491,371,272,247,328,284,293,443,633,858,1056,1098,792,714,841,1138,1346,1436,1020,887,1522,1466,1606,1704,2172,1540,764,569,514,455,608,781,492,398,506,695,908,816,850,847,973,1212,1084,1258,1354,1278,1330,1368,1390,1084,840,780,1068,978,922,675,473,485,829,922,946,1442,1448,1342,1344,1334,1354,1438,1498,1498,1538,1494,1140,1012,1220,1378,1112,1300,1316,1574,1470,1466,1518,1672,1418,777,760,1058,1772,1986,1252,1432,907,747,1364,1302,1252,1036,980,857,792,1264,711,392,539,827,778,729,558,407,473,455,354,392,308,313,329,311,327,659,969,1098,696,700,1004,780,443,482,448,391,301,269,250,273,363,375,342,361,400,507,615,976,1042,608,603,749,631,530,508,576,619,850,1298,1260,1192,1578,1924,1876,1610,937,541,475,725,1072,1316,1222,1072,656,413,423,363,454,698,641,555,545,471,463,492,452,443,503,684,567,430,407,430,437,615,598,528,536,469,339,401,482,445,444,390,375,398,391,348,361,389,583],[392,314,458,792,712,350,445,469,456,735,705,542,353,421,381,657,1136,1224,929,494,702,638,403,691,895,795,789,799,955,854,945,1076,851,601,449,518,623,648,556,556,449,690,931,894,1112,1346,1330,1346,1324,1236,1152,1158,667,330,335,422,449,398,385,485,595,866,918,725,918,1100,921,888,1050,1288,1274,1090,1044,1034,752,833,1194,1092,936,705,953,951,1104,1144,1126,1130,1046,935,1026,1148,1414,1136,724,977,814,1200,1340,1242,1216,1344,1574,1266,1078,1002,596,635,933,964,753,577,815,976,1080,1352,1526,1040,854,998,1122,971,676,844,1114,1308,1094,1396,1280,999,938,1046,866,668,799,940,1006,1138,918,747,1140,1144,1012,1238,1238,1316,1406,1026,836,850,744,643,987,1322,1386,1338,907,1092,1388,1696,1804,1802,1826,1410,794,847,1056,1468,1338,1324,1364,1768,1890,1488,1316,1354,1028,1084,1300,926,1070,1196,1194,1048,1106,1268,1064,747,522,804,1004,1088,1182,1312,1200,1096,1130,1152,1232,786,501,806,1120,861,910,1410,1106,821,1058,1022,896,650,487,522,669,1108,1496,1388,1534,1576,1096,1038,1096,845,969,1162,1202,937,1134,1672,1516,1024,736,452,449,364,349,361,386,390,348,391,434,389,344,401,458,425,378,344,382,464,647,669,502,628,802,1172,1252,1462,1468,1352,1422,1446,1374,1406,1522,1318,1378,1506,1114,686,497,549,632,651,781,752,628,670,797,872,728,639,742,462,275,330,589,751,650,630,558,621,987,1001,632,580,973,1242,1454,1260,1156,1324,1110,1158,1312,1206,1098,996,1104,1252,1410,1376,1330,1316,1162,769,416,405,426,593,628,661,564,608,401,346,354,285,364,407,377,644,1156,1076,1014,1416,2208,2382,2636,2208,1542,1464,1352,1338,1588,1554,1302,1236,1296,1160,1220,1286,1314,1438,1362,1074,1044,1182,945,672,733,1076,1108,928,1222,1292,728,950,694,845,1448,1072,617,982,1276,1230,1002,1013,1736,1852,1058,684,514,395,383,372,306,725,1252,1178,830,907,902,955,864,531,424,705,895,740,838,914,780,883,968,1052,1116,1254,1368,1556,1870,1494,1178,1322,1496,1626,1556,1278,943,816,1042,732,874,1134,1300,898,758,901,916,922,1048,1102,1376,1416,591,769,1062,1114,1418,1748,1426,1278,1442,1390,1284,1194,1122,1204,1518,1424,1340,1612,1596,1496,1218,1162,1426,1366,1228,1356,966,639,863,1244,1490,1380,1118,694,600,1020,1224,1020,841,882,1004,1174,1190,1102,1052,1018,976,1118,1354,1222,1064,1094,1282,1284,1316,1274,1194,836,579,636,981,1316,905,535,464,460,474,594,1158,1006,654,579,661,931,887,928,1084,1172,1136,1210,1226,966,707,532,537,670,525,380,406,483,472,349,530,1005,1372,1276,1094,844,976,752,778,1168,905,886,1066,1258,1258,1066,940,1009,694,718,753,558,457,917,1164,1158,1126,1412,1518,1186,1016,999,801,992,1262,1276,1210,1106,689,553,841,1010,993,1130,1218,1344,1460,977,755,822,1098,1380,1232,1148,1190,1148,1168,1086,905,1023,1240,1580,1424,1182,1230,1010,769,681,1026,1044,1134,1354,1256,1052,901,1058,968,1128,1005,855,777,813,884,977,1096,1318,1414,1260,1224,1094,949,833,914,1052,1054,1198,1220,784,439,455,439,395,393,382,361,329,342,362,371,351,329,321,326,329,315,450,804,767,486,457,505,483,533,619,625,555,514,438,335,342,391,355,321,329,327,344,358,354,377,416,471,860,1300,1340,1208,776,807,860,751,799,979,1066,1156,1266,1212,1120,1004,930,1098,987,1060,1030,1384,1362,1332,1422,1060,982,1014,1098,1108,799,901,1222,1260,1312,1330,1068,1018,1326,1534,1542,1394,1100,951,1024,1066,1074,1100,1136,1128,1090,652,657,1072,1324,1062,1092,1010,1176,1236,1118,1228,1294,843,814,1368,1212,987,1064,1418,1892,1616,1274,1152,1194,987,1204,1372,1456,1058,1172,1348,1036,821,1146,1382,1260,1318,1172,981,807,1048,1152,1160,1154,1230,1102,1076,1182,1128,833,845,1302,1404,1086,1210,900,942,1274,1792,1970,1762,1304,1316,1300,1172,1272,1408,1284,1086,1188,1312,1444,1402,1256,1118,1058,1088,1112,1268,1588,1444,1012,1146,819,514,430,550,875,1005,1320,1366,1044,1338,1546,1476,1428,1088,566,668,1058,1088,1050,1070,1005,1012,978,869,536,421,403,408,364,363,614,848,492,439,797,872,868,818,1184,1666,1658,1366,1318,1650,1744,1462,1064,943,973,1030,1198,1150,1104,1160,876,1050,1584,1942,1698,1546,1768,1598,1336,1190,1070,760,929,1148,654,819,1040,833,989,956,977,807,979,1142,871,936,1182,1390,1194,1180,1282,1792,1720,1338,1376,980,1044,1436,1474,1144,995,1180,1007,598,689,795,1092,1160,1196,1122,1086,979,928,1140,1216,1118,1130,1142,1058,972,822,624,681,553,815,1102,1100,1130,1130,1118,1094,955,1110,1212,1023,1052,1152,1132,1130,1156,1106,1966,2842,1824,1710,1638,1770,1294,681,565,933,1558,1472,1312,894,443,513,741,866,980,1040,1046,1120,1096,560,530,565,592,992,1009,744,651,862,1290,1100,767,810,1430,1268,1180,997,1260,1336,1184,1390,1100,782,701,580,619,866,976,823,606,432,610,1088,1336,1266,1116,849,1072,733,695,983,714,432,334,336,442,591,562,371,478,627,668,680,658,617,573,530,802,915,988,909,758,642,471,370,454,609,668,615,527,460,659,1138,1054,626,430,426,688,578,305,377,458,387,1013,1234,1062,1030,1306,1338,1066,677,791,782,463,449,562,417,322,307,314,265,407,480,318,305,437,584,542,697,1080,1386,1120,1044,944,1084,1406,1660,1334,1108,973,946,764,433,858,1262,744,1015,981,1088,787,641,838,725,669,985,1400,1344,615,503,722,950,864,641,556,558,588,911,1284,910,417,653,1046,897,695,583,544,575,847,705,723,727,1030,1116,931,778,841,1676,1572,972,1640,2018,2128,1538,1838,2416,2620,2202,1306,724,705,814,736,626,814,482,692,1001,696,520,954,1384,1480,1326,965,828,703,450,358,422,422,289,555,861,973,828,694,907,966,740,688,1482,1652,2196,1878,1604,1534,1108,1276,1522,1138,733,745,758,904,846,1166,1216,1088,1202,979,652,464,487,465,391,456,383,441,427,589,605,837,1212,936,1454,1952,1832,1342,812,860,1090,1124,1452,1112,1280,1224,1224,1306,1208,983,823,956,1090,978,1088,723,680,1272,1394,1304,1118,987,951,1150,1330,1184,769,801,829,728,681,739,1296,1604,1504,1316,1224,1272,1258,1018,563,480,1003,1168,736,1088,1314,1808,2062,2062,2054,2060,1990,1384,636,563,640,556,465,510,698,919,949,784,866,1206,1550,1512,652,645,943,1218,1148,1009,1400,1316,1166,1110,1178,1172,1386,1470,1594,2032,1830,1436,1856,2178,2154,1864,1204,1048,1136,894,656,595,686,776,775,817,619,514,508,538,599,641,718,814,1005,1180,1308,1258,1160,1204,1242,1564,1310,1102,979,1162,1158,1122,1246,1422,1670,1742,1776,1608,1398,997,849,1016,1140,942,982,1298,1296,1146,1164,1188,1472,1520,1534,1414,1274,887,808,865,950,1046,1042,1054,1110,1086,1086,1094,969,738,1014,1196,1184,1042,785,652,624,640,561,675,1028,1184,1418,1484,1274,1188,952,1136,1350,1196,1104,1108,940,850,1120,872,822,1080,1088,1122,1322,1394,1328,1242,1120,1116,1142,1066,1216,1212,1030,1001,1194,1386,1128,1118,1080,1158,1228,1052,829,589,647,1040,959,1252,1162,1332,1438,1144,1278,1302,995,791,608,742,1015,1130,1068,964,727,880,1110,900,681,796,921,1106,1374,1396,1362,1396,1228,1154,1166,1238,1196,996,1196,901,556,481,715,966,675,403,674,844,1096,1686,1464,1226,1298,1168,1180,1164,1072,1150,1228,1134,1100,1176,1174,1084,1052,1090,843,1128,1284,670,557,912,1290,1150,587,789,581,431,423,274,289,349,335,332,316,367,492,577,498,407,259,266,264,210,286,342,526,750,1134,1308,934,731,1006,1168,1015,1322,1870,1266,1316,1280,1152,1670,1792,1114,1036,1152,935,599,454,450,397,380,350,506,733,620,747,799,808,727,780,1174,1138,1200,1046,1206,1378,1088,736,685,771,782,778,729,636,583,938,764,922,1194,933,929,1026,1058,1052,1004,1038,1128,1214,1116,884,1284,1636,1390,1228,1282,1026,1340,1494,1450,1500,1538,1726,702,650,942,1348,1416,991,915,777,949,993,1136,1398,1334,1252,1238,771,904,732,498,563,558,477,518,559,493,445,412,412,389,322,321,307,308,288,705,843,970,983,838,986,999,656,550,476,394,269,220,262,345,369,308,336,330,413,677,1028,1108,1252,900,709,962,681,487,495,672,1100,1848,2160,1806,1520,1864,1784,1282,1082,1176,882,630,901,927,792,883,769,630,467,501,470,586,750,609,482,460,407,473,474,461,441,389,398,404,466,530,500,397,361,376,424,463,462,343,322,338,344,302,346,535,732,716,586,436,376,423],[360,306,408,884,972,471,388,385,490,600,522,313,378,563,473,753,1152,1040,982,504,484,405,439,845,638,732,760,691,951,863,1114,1016,902,842,872,824,708,879,1188,1188,876,984,1156,1324,1282,1152,1186,1100,1440,1258,1312,1240,864,415,290,335,413,367,343,545,989,1650,1354,758,880,872,827,995,1118,1166,1224,1013,876,1030,1086,978,926,767,869,977,1212,1216,1142,1264,1362,1400,1300,1128,1050,828,1038,826,764,1098,1104,1780,1550,1354,1222,972,902,1026,1286,1184,761,861,1368,1304,850,419,425,605,860,1276,1226,899,843,1080,1160,843,618,891,1218,1330,1017,907,874,935,1048,890,765,569,543,746,1068,973,913,966,1190,876,602,760,1011,1260,1130,926,1064,825,778,640,1010,1188,1468,1400,1080,1272,1482,1770,1930,1780,1460,1346,955,596,657,1196,1484,1640,1942,2040,1982,1602,1194,1286,1194,1256,1262,918,1200,1306,1026,905,1032,905,1050,1062,880,925,1028,1260,1124,1350,1021,947,1754,1484,1144,877,688,733,865,983,1094,1094,566,753,996,963,1054,803,713,681,810,1266,1310,852,947,1390,1682,1188,905,767,803,1008,1066,1054,1118,1750,1900,1560,1212,788,808,860,527,524,571,532,511,412,359,336,320,392,467,436,339,257,316,467,475,524,346,467,805,1118,1454,1890,1926,1538,1370,978,1228,1466,1636,1390,1166,1274,1222,719,461,441,484,583,563,492,512,666,684,560,460,372,300,313,317,326,516,744,805,828,709,789,1102,1386,793,753,1058,1250,1324,1040,1136,1192,1124,1092,1094,995,984,953,1072,1232,1268,1148,929,980,1242,850,373,354,371,463,450,577,901,934,723,683,544,319,339,406,455,622,1090,1124,1100,1420,1982,2210,2054,1510,1438,1458,1324,1442,1870,1692,1534,1516,1412,1384,1302,1226,1324,1482,1538,1412,1148,1036,963,737,753,990,1044,1234,1262,1302,1040,998,833,736,1066,1112,755,1216,1700,1704,1270,1258,1306,1120,1021,1182,1066,732,451,357,561,1054,1076,1332,1296,910,715,1086,1028,623,755,1132,1316,1306,1116,1302,1354,1164,913,863,1210,1154,1118,1242,1138,1152,1354,1338,1334,1248,1322,1140,930,1194,1386,1130,771,749,841,604,338,451,625,841,1102,836,592,735,788,1160,1244,1268,1352,1184,1036,1232,1274,1112,1108,1032,801,1338,1980,1478,1282,1642,1598,1170,923,943,1310,1384,1126,1170,926,733,717,1206,1502,1404,1338,1028,838,1242,1294,1172,1030,1078,1005,1146,1376,1302,1148,1170,974,995,1260,1274,1144,1322,1304,1284,1248,1216,1180,937,888,825,1120,1396,1200,1026,774,587,571,988,1332,1182,822,569,480,648,823,834,959,1160,1208,1400,1106,881,788,492,548,592,473,392,415,503,487,477,771,1060,1252,1134,1108,962,1040,777,716,973,910,863,1138,1260,1112,1092,702,543,361,348,379,397,400,477,832,1250,1324,1186,1172,952,970,984,961,1032,1270,1360,1122,1017,706,513,1036,1352,1076,1110,1368,1510,1526,1534,1516,1430,1382,1534,1386,1228,1256,1246,1158,1036,795,1228,1384,1654,1332,1358,1404,1190,791,626,854,897,1178,1416,1260,1052,1078,1192,1062,1098,1106,1208,1003,888,1040,1064,1138,1360,1272,1186,1138,968,1300,1060,695,648,738,657,584,518,382,414,436,426,412,348,357,373,391,383,369,361,339,326,321,347,358,427,808,744,470,394,383,381,499,543,413,348,340,318,295,346,387,388,389,379,338,320,329,359,411,454,504,839,1356,1278,1200,1142,2444,1614,1072,800,634,608,980,1276,1110,1204,1014,883,991,705,974,1210,1214,1362,1566,1516,1384,1290,1082,1178,897,451,597,1138,1276,1318,1346,1410,1148,1276,1466,1538,1528,1510,1556,1426,1054,1346,1432,1368,1100,1007,934,1104,1368,1248,1130,1300,1550,1380,1204,1318,1220,1144,985,960,1346,1290,1256,1242,1586,1660,1450,1242,1070,1144,782,1021,1218,1288,1158,1422,1350,1196,1138,1268,1218,1108,1054,1054,1256,1170,1222,1208,1316,1298,1196,1080,1250,1346,1258,827,649,1108,1074,678,791,761,881,1004,1160,1558,1696,1542,1556,1518,1570,1470,1280,962,821,1098,1414,1298,1272,1194,995,1018,1096,1180,1226,1410,1372,1100,1160,941,872,1021,888,685,730,1130,1242,1190,1394,1160,1094,1316,1452,1048,1068,1114,1062,1023,1076,1296,1262,1184,1176,814,544,634,806,441,366,344,340,360,528,661,841,1168,1120,1066,1298,1208,1230,1340,1432,1602,1444,980,767,900,1050,1252,1194,1044,1130,1188,1426,1620,1932,1992,1836,1814,1682,1544,1512,1230,1017,1094,1300,1046,942,880,1134,1160,1186,1198,1306,1454,1460,1252,1174,1346,1300,676,979,1316,1856,1560,1250,964,795,1132,1334,1142,969,770,644,579,897,878,1050,1516,1114,868,1102,847,542,814,854,806,725,640,611,567,620,865,1026,1104,1236,1324,1200,1094,1136,1282,1268,1116,795,1066,908,828,1170,1328,1238,1092,1042,875,1270,1966,1138,1124,1212,1330,1106,778,756,1126,1282,1166,969,542,694,1296,1346,959,1106,1578,1632,1190,932,843,942,1020,1084,1050,1140,1034,1048,1084,1150,999,836,871,1302,1544,1426,1028,1150,980,997,1550,1322,1178,867,969,875,1038,1178,1124,874,436,556,976,1236,1362,1180,1072,1284,739,1198,1918,1398,692,379,385,594,1020,1192,690,742,1116,995,624,491,494,644,577,438,572,816,733,401,335,497,430,583,501,705,797,511,458,662,1194,1086,595,299,305,329,433,391,333,317,289,691,990,1180,1166,1202,1134,949,681,886,524,469,465,419,348,348,329,283,291,517,489,307,349,559,800,558,555,597,979,1566,1528,814,449,669,740,604,705,751,978,547,583,1002,1544,1338,716,475,620,755,1007,1048,822,706,932,1032,805,439,543,819,785,658,496,523,667,822,1244,1354,843,544,779,837,1007,982,736,567,530,457,771,899,713,1048,945,1066,1422,1218,1484,813,456,892,671,493,1120,1416,936,745,827,1040,1116,1074,902,892,667,590,656,1170,962,576,592,780,1118,1206,1064,823,678,544,377,410,412,636,1240,1510,1078,543,747,1092,1138,1122,832,999,1464,1250,2086,1520,747,1015,1372,1498,1074,832,973,984,884,1176,1076,728,667,778,874,987,952,741,555,493,414,371,288,412,561,736,842,1046,1042,928,1220,1472,1622,1172,945,954,1114,1356,1382,1340,1324,1146,1218,1218,1078,1008,903,1028,1210,1026,1200,847,789,1416,1570,1296,888,673,579,737,1404,1464,616,807,1062,1058,786,539,914,1430,1608,1390,1148,1244,1292,906,496,641,1130,1058,819,1146,1390,1810,2194,2260,2364,2458,2398,1640,797,764,767,608,462,468,666,882,948,837,850,1198,1670,1722,1040,702,675,1060,1478,1594,1346,770,678,1214,1488,1252,968,1320,1588,1750,1434,1498,2058,2196,2122,1526,1005,1180,1326,1188,903,886,702,760,925,1066,1042,705,481,496,482,535,660,945,1088,1034,1192,1296,1162,1228,1162,1292,1284,1212,1046,1072,1342,1560,1606,1392,1456,1430,1688,1444,1246,1020,790,1074,1434,1238,1174,1260,1206,1108,1250,1350,1926,2564,1692,913,1046,1130,1126,1011,1005,1132,1164,1172,1224,1186,1202,1166,1044,964,1138,1266,1208,989,952,927,1016,1212,888,1130,1146,1212,1484,1500,1288,1192,1230,1224,1156,1054,954,1042,967,912,1196,1038,988,968,1120,1164,1144,1260,1392,1548,1290,1218,1230,1228,1356,1110,893,691,1032,1126,1056,1084,1068,1126,955,788,919,700,687,935,905,1182,1234,1028,1080,1178,1266,1138,1048,1024,662,949,1064,1138,1322,974,673,547,530,571,659,730,851,1084,1336,1378,1366,1378,1088,1042,1172,1182,890,720,977,941,809,491,686,944,918,460,633,1116,1346,1622,1454,1128,1154,1184,1218,1448,1136,705,1312,1390,1320,1246,1208,1238,1228,1182,996,1294,1538,1054,956,1062,1166,1048,587,752,491,328,350,295,321,330,304,322,398,379,453,629,531,415,241,241,249,245,280,349,568,852,967,1220,1370,1354,1178,1342,1694,1722,1598,1256,1310,1680,1532,1348,1148,1112,1216,1676,1626,1190,908,538,355,345,348,542,828,1050,994,844,1178,1192,955,919,1262,1324,972,1236,1460,1404,1236,927,748,702,739,836,875,813,1196,944,1048,1190,866,902,1166,1250,1040,860,848,804,623,692,907,1526,1704,1332,1005,878,1007,1442,1712,1804,1718,2074,2986,2212,1186,879,846,849,965,1036,1162,1210,1378,1218,1372,1064,834,1218,885,644,618,650,768,574,504,604,496,464,488,464,525,399,330,340,280,322,390,592,583,809,1338,1198,1114,1016,874,559,455,533,600,620,559,639,662,844,814,718,1178,807,721,559,828,1124,1058,1232,907,632,718,957,1788,1918,1892,1570,1376,1360,1198,1240,1478,1188,781,717,720,403,337,710,786,691,512,473,428,540,704,501,437,443,383,466,426,359,303,274,247,243,264,267,247,231,257,330,361,386,361,354,313,300,280,322,584,1118,1462,1166,819,635,455,367],[360,360,464,891,1044,871,529,379,391,581,527,304,524,771,735,1058,1116,988,878,504,495,492,756,916,450,1180,1482,1134,1104,1156,1009,893,581,436,335,267,367,828,984,871,979,1070,1076,1050,904,1110,1156,1116,1274,1242,1388,1210,695,315,268,234,287,260,292,351,753,1588,1542,1172,1154,1076,1466,1470,1016,1064,1170,1304,1286,1150,1015,980,919,871,882,1104,1360,1196,884,832,949,1252,1300,1394,1214,913,895,890,993,1144,1062,951,1018,1100,927,876,894,1162,1134,1126,1044,854,982,1136,780,453,428,473,918,1172,883,1090,1160,1094,1116,1080,1015,1228,1316,1302,1118,912,901,869,872,810,1005,1034,976,998,1136,921,802,917,860,576,518,602,988,1100,817,741,931,860,711,728,1060,1210,1416,1298,1270,1406,1266,1278,1306,1222,1224,1166,1240,839,803,830,1178,1666,1668,1656,1598,1506,1404,1284,1094,1138,1370,1338,1130,1054,883,1015,1364,1206,859,922,930,921,1152,1720,1582,1322,1015,1426,1810,1266,1086,850,615,830,818,1038,1132,1074,814,1022,1019,1250,1130,852,853,824,1100,1536,1064,515,541,767,990,1254,1324,1096,1274,1378,1146,1154,1458,1910,1648,1450,935,883,1212,1154,583,388,361,545,566,339,298,334,328,334,388,412,344,448,304,234,313,301,259,426,816,1032,1056,1346,1682,1032,1166,987,1224,1370,1316,1400,1290,1230,1032,567,433,444,540,683,518,401,431,535,568,515,466,294,445,669,487,410,453,761,800,959,1268,1044,1106,1228,877,1020,1198,1190,1160,1100,1118,999,1248,1172,859,713,711,502,563,835,796,762,748,575,706,874,579,328,406,474,386,647,1015,954,877,1072,868,477,838,1074,921,1146,1446,1152,649,492,507,840,1164,1460,1450,1328,1258,1406,1994,2022,1904,1788,1732,1740,1798,1688,1642,1664,1540,1544,1594,1868,1418,1036,990,849,1306,1664,1318,1208,1128,918,952,658,585,913,880,1378,1166,779,688,1060,1068,941,1270,1418,1252,1298,864,482,606,1080,1288,1428,1410,1250,1482,910,620,793,952,1200,1488,1494,1164,1196,1082,799,579,538,933,1106,1094,998,685,729,1042,1080,833,862,890,595,859,1242,1454,1204,648,485,767,761,474,445,499,755,895,724,546,509,810,1064,1010,1140,1244,1280,1312,1482,1404,1294,1114,886,625,1054,1360,1352,1152,1116,1270,1208,927,811,900,753,1023,1122,1050,957,875,1146,1318,1186,1092,986,902,1252,1196,937,987,1202,1268,1146,1184,1230,1152,1090,1036,1128,1019,911,1104,1346,1240,971,574,800,933,1062,1208,1114,1196,1126,1096,1192,1338,929,859,806,865,982,695,591,714,703,789,825,924,1090,1122,1190,812,752,658,468,559,523,384,351,385,572,903,638,1178,1204,1074,1116,1234,1400,1194,790,1020,1672,1304,1110,1290,1272,962,1017,595,405,385,330,332,423,589,675,818,1021,1072,1164,1242,1014,1422,1610,1250,1268,1904,1970,1256,803,579,439,530,768,799,833,1238,1188,1200,1502,1820,1610,1338,1416,1374,1204,1162,834,588,742,661,1114,1328,1384,1368,1464,1284,1296,1408,1182,1080,1148,1254,1354,1352,997,1192,1072,922,1152,1494,1598,1166,883,1028,1060,1274,1318,1234,1332,1092,887,1118,935,570,499,624,746,727,633,432,418,410,405,383,361,404,431,414,356,348,377,357,339,321,366,376,397,776,773,493,383,378,385,417,373,320,320,294,291,289,330,413,437,414,401,365,345,341,343,346,334,420,796,1314,1288,940,1224,2894,2320,1586,1458,1026,888,1252,1212,1042,1184,1042,703,567,593,1030,1130,1188,1820,1988,1466,1600,1544,1300,1334,806,610,887,1222,1396,1604,1602,1466,1360,1348,1354,1446,1318,1190,1302,1600,1354,1460,1320,1404,1282,1002,987,1144,1156,1114,1058,1202,1366,1106,1232,1284,1440,1262,807,980,917,844,1118,1342,1586,1628,1550,1418,1068,945,885,1082,1254,1218,1126,1220,999,871,946,838,695,974,1176,1226,1256,1288,1170,1126,1290,1394,1154,1009,1158,1122,841,558,724,1024,990,564,553,484,666,888,824,862,1166,1708,2188,1862,1470,1406,1364,884,667,1058,1500,1490,1310,1100,1002,941,873,1368,1412,1520,1384,1430,1296,1132,1194,1184,1160,911,541,544,774,1005,1208,1174,1160,921,1480,1530,1278,1186,1106,1021,1190,1286,1180,1226,1102,1338,1226,1078,1104,692,421,394,465,676,966,913,1034,1434,1396,1082,1136,1444,1418,1222,1130,1232,1310,1023,740,889,1076,1180,1128,1064,1164,1258,1628,1556,1764,1892,1704,1616,1426,1478,1700,1548,1408,1352,1344,1290,1290,1058,1108,1152,1064,1296,1384,1274,1136,1202,1266,1240,827,525,799,1102,1296,1404,1348,1232,791,658,814,834,935,917,666,612,765,568,897,1390,974,728,1186,863,375,361,307,338,337,344,420,541,666,981,973,836,894,959,816,926,1013,958,978,905,1004,957,1019,1174,1118,1194,1040,895,666,584,628,733,700,770,1174,1514,1300,1140,1272,1112,1308,1274,684,388,854,1592,1028,737,1110,1340,1338,942,731,1104,1462,1400,1154,966,1562,1700,1368,1202,1404,1416,1254,932,1090,1478,1124,816,1048,1078,1582,1592,1284,1046,1218,1544,1278,1136,1090,1152,912,329,405,628,938,1112,1288,1532,1362,698,1152,1820,1570,791,466,682,926,778,1144,1148,964,1138,919,688,576,493,683,715,541,415,505,495,349,286,510,681,553,563,886,724,440,454,577,706,792,712,376,286,431,991,744,473,327,244,371,597,829,1148,1124,1006,1120,1098,919,524,543,524,420,324,320,348,316,320,397,324,331,454,1102,1508,930,626,522,799,1146,1264,1086,675,696,607,597,689,641,673,400,525,1054,1732,1598,871,420,441,769,949,774,619,627,623,669,603,524,613,687,502,473,396,372,531,890,1054,1288,1292,1004,1017,639,667,1220,1182,710,383,555,1336,1436,689,911,791,1120,1600,1726,1474,736,536,552,403,403,529,548,498,529,615,1122,1366,1226,1260,1082,591,644,1172,1082,709,744,524,472,665,648,550,438,437,401,412,487,401,667,1284,1776,1400,514,450,1032,1138,980,530,1122,1438,1368,1968,1596,720,901,1332,1500,728,616,659,1044,1028,1036,1176,785,415,549,603,538,736,1102,775,595,536,453,442,631,853,739,610,716,882,1202,1306,1314,1034,914,1356,1070,745,1001,1244,1436,1306,937,825,1152,1154,1086,1414,1666,1198,865,1086,875,797,1050,1292,989,482,723,816,645,1480,1794,799,678,1078,1232,897,555,783,1388,1506,1258,1268,1226,1310,957,636,949,1318,946,729,1112,1532,2264,2698,2744,2742,2710,2632,1698,924,797,781,627,490,495,622,908,991,954,830,1156,1532,1564,1196,896,1288,1760,1770,1584,1126,641,1086,2200,2464,1964,1426,1178,1296,1368,1320,1822,2130,2140,1864,1270,930,1254,1480,1410,1040,1017,1180,1220,1282,1318,1068,708,529,503,507,659,905,1200,1042,1026,1070,1172,1122,1116,1120,1152,1124,1122,1118,1086,1144,1524,1666,1356,1100,1294,1604,1434,1104,1007,1112,1344,1412,1224,1334,1158,907,1216,1440,1294,2010,2720,1656,937,1340,1340,1362,1418,1288,1216,1216,1230,1322,1290,1298,1212,1148,1076,1015,1128,1116,1007,1202,1164,1296,1682,1616,1390,1156,1244,1318,1412,1372,1256,1284,1470,1366,1152,810,1110,1314,1270,1174,1008,914,1118,1376,1158,977,1090,1312,1418,1224,1220,1142,1208,1034,683,727,932,1062,827,772,988,1168,1204,1054,1160,1262,1102,1096,1130,914,987,1042,813,902,913,1176,907,792,1200,927,928,1044,1148,948,764,603,370,482,576,521,649,689,747,1170,1302,1320,1434,1180,1232,1376,1362,1084,790,847,930,804,741,1090,1090,1072,606,535,1076,1224,1142,1040,835,999,1170,1016,935,1002,937,1312,1486,1468,1412,1318,1190,1054,1005,1023,1286,1510,1156,1392,1346,904,1080,760,720,617,362,354,355,368,342,326,440,609,591,430,594,593,424,277,254,297,326,527,736,1060,1722,1392,1166,1202,1498,1686,1898,2194,2014,1594,1048,1096,1514,1520,1642,1096,901,1010,1484,1452,1618,1248,602,348,357,626,786,668,1050,1116,1070,1778,1516,1468,1218,1422,1240,1084,1380,1496,1506,1256,951,1000,935,752,729,817,1009,1270,1188,1204,1180,1240,1362,1252,1288,1060,1003,871,965,850,859,1406,1790,1526,1228,1142,968,1021,1470,1526,1718,1476,2078,2850,2646,1728,1023,754,1058,1292,1698,1736,799,1166,1086,902,1152,990,1152,1276,1024,533,480,601,471,459,533,368,376,654,457,369,430,409,346,318,426,673,910,626,595,1108,970,1130,1298,1454,1156,1036,993,886,709,600,664,975,1466,1534,1772,2006,944,711,656,550,693,1404,1444,1148,1318,2022,2552,2250,1894,1746,1460,1278,1260,1190,1144,996,492,291,478,645,528,487,564,556,464,409,481,555,546,534,380,346,308,239,219,244,274,262,226,219,230,227,235,232,239,239,290,290,301,283,271,256,342,334,299,597,1208,1486,1198,926,779,493,332],[394,337,360,519,834,1162,925,569,341,472,584,356,310,453,843,1021,730,889,1076,1010,1040,826,1016,897,400,469,670,1152,1066,1448,1158,724,354,229,238,276,582,863,630,421,648,1204,1012,1116,1136,1178,1384,1488,1144,954,1030,962,577,287,282,261,273,265,294,319,448,1072,1328,1202,1138,1086,1242,1274,1272,1506,1276,1052,1002,617,475,515,566,836,783,974,1292,1002,516,436,432,559,1064,1390,1388,1174,1072,1072,1146,1042,803,895,1078,1003,812,946,893,1010,848,1138,1182,752,736,855,545,454,495,837,1252,1070,714,854,995,1008,1216,1342,1194,1250,1322,1234,1118,951,889,675,883,969,969,872,1001,932,767,674,755,797,822,702,719,750,1208,1114,1026,948,879,937,705,901,1418,1368,1326,1512,1568,1370,1246,1036,1192,1250,1246,1162,1038,841,963,905,1306,1710,1566,1672,1556,1324,1390,1242,1108,1404,1888,1680,1018,617,650,951,1350,1396,1194,2156,1670,1204,1230,1594,1324,1190,1098,1410,1520,1064,1250,1172,927,842,721,1084,1262,1254,927,1028,1204,1168,953,997,1003,1021,1376,1300,622,524,703,744,833,957,1210,1226,1448,1754,1780,1160,1140,1414,1400,1082,567,794,1322,1156,752,456,355,421,402,292,310,411,588,621,579,543,515,669,462,300,324,296,313,378,451,716,615,597,685,819,1310,1482,1194,1314,1322,1348,1394,1270,816,459,513,532,492,573,447,430,397,394,542,659,447,267,715,1021,907,642,803,1350,1174,1288,1488,1674,1716,1562,1528,1236,1076,917,734,1156,1044,979,1007,1018,705,467,581,502,449,616,440,386,414,521,521,998,842,429,548,736,581,561,848,822,757,720,652,743,990,1356,1352,1712,1714,1108,802,790,775,782,944,1142,1078,976,1180,1464,1646,1854,1818,1686,1700,1716,1742,1854,1806,1422,1456,1776,1740,1848,1628,1432,1432,1074,1350,1766,1560,1148,869,728,1086,869,675,811,796,1018,739,545,529,591,676,914,1202,1188,1072,1130,1082,874,776,1132,1518,1388,979,984,1064,628,641,1040,1164,1188,1220,1354,1450,1432,1372,861,546,797,1444,1664,1236,954,1034,955,1200,1162,1130,1148,1100,936,1126,1148,1020,920,841,709,976,891,860,889,677,761,794,775,819,579,633,670,681,910,984,978,1176,1456,1338,1072,992,884,726,852,1074,1282,1284,1090,1282,1262,976,1064,768,540,1038,1262,1164,1132,1110,932,1096,1520,1021,724,812,997,1082,1007,1034,1172,1370,1202,1032,1076,975,801,1286,1376,1118,1028,863,1172,1400,786,371,546,741,975,959,872,926,824,835,897,957,850,835,683,667,693,554,669,818,669,639,780,1064,1266,1314,1188,753,625,538,431,463,450,383,284,315,555,920,889,1002,1108,1028,1114,1254,1132,913,811,1000,1510,1210,1118,924,976,1036,956,575,425,410,375,368,717,1126,804,1034,1076,1318,1288,1294,1130,1260,1454,1318,1260,1504,1520,1152,800,666,480,398,513,860,962,847,657,974,1288,1412,1704,1604,1386,1302,1168,1066,594,428,418,521,1012,1204,1216,1362,1374,1462,1512,1250,1162,1274,1556,1206,1296,1410,1284,1236,1078,1118,1296,1192,1230,1098,949,1146,1296,1608,1550,1434,1844,1600,1001,951,749,472,585,645,605,504,578,410,387,370,426,423,393,401,408,375,314,321,375,343,336,320,398,409,379,719,810,512,405,405,374,348,383,351,321,315,289,283,365,460,450,396,368,358,357,339,354,371,343,481,1000,1250,1274,854,766,1328,1280,1382,1670,1142,961,1084,831,1132,984,904,948,961,957,1154,1252,1478,1896,1738,1188,1124,1144,1476,1634,1296,1178,1266,1268,1364,1528,1492,1364,1360,1566,1798,1582,995,1056,1360,1242,1212,996,1230,1662,1598,1274,1084,955,1020,1116,1188,1286,1086,1024,1202,883,924,1036,1068,912,463,519,716,976,1334,1384,1392,1412,1372,910,885,955,1094,1150,1168,1082,692,662,812,958,712,797,1156,1216,1140,1000,838,1140,1386,1108,1009,1310,1260,1268,902,598,811,894,958,788,531,372,371,531,855,938,1284,1642,1700,1536,1404,1372,1104,1264,1372,1294,1440,1414,1298,1246,1138,1112,1164,1298,1708,1628,1208,1318,1214,1158,1190,1200,1178,822,475,666,935,1130,1274,990,1034,803,1108,1552,1406,1170,1118,1220,1224,1228,1238,1238,1178,1332,1268,1316,1236,848,633,787,845,910,1184,888,906,1440,2216,1942,1892,1808,1652,1410,1108,1062,1078,996,890,940,1174,1076,963,990,1144,1248,1470,1470,1640,1622,1416,1506,1388,1184,1410,1490,1612,1638,1376,1316,1354,1272,1072,711,857,1058,873,1005,1092,1202,1290,1140,850,847,1312,1280,980,979,1148,1148,651,658,819,625,666,805,806,625,337,292,596,896,703,988,1094,674,630,598,440,330,393,543,761,929,1056,973,733,621,591,708,811,1222,1124,1015,905,730,971,857,846,1038,907,717,543,468,461,458,468,515,662,951,1320,1598,1428,1642,1750,919,1012,1074,833,577,643,806,745,1010,1400,1058,693,671,733,1108,1312,980,754,1162,1466,1154,1120,1548,1616,1148,957,884,1058,1182,645,621,836,1232,1508,2150,1450,703,1136,1462,1116,656,550,681,728,437,438,580,1114,1224,1216,1584,1622,983,550,833,942,481,601,960,843,369,886,1308,1262,1218,1040,969,726,482,537,603,632,512,402,411,353,320,393,561,532,705,773,492,547,844,810,681,871,587,337,255,423,951,1030,778,427,404,553,636,882,1226,1204,1204,1128,1112,699,505,529,531,420,336,359,346,304,333,383,333,371,592,1234,2088,2164,1344,638,1094,902,792,1028,1318,1016,670,620,553,663,528,366,348,819,1144,1012,968,828,631,531,474,361,477,568,532,594,866,1036,925,777,415,377,379,471,624,700,610,1076,1376,1280,1088,724,952,1314,1009,852,864,707,1382,1298,1062,954,636,833,1362,1632,1224,642,465,504,512,560,908,1246,722,526,420,1034,1178,1034,911,505,506,1082,1100,600,593,761,530,525,467,375,413,365,335,360,394,396,329,353,454,517,405,566,609,1088,1144,913,595,929,1576,2426,2306,1708,1230,1262,1366,1332,1072,1104,806,676,756,735,716,576,541,827,666,618,676,838,876,728,541,552,544,874,1168,885,491,491,861,1414,1624,1576,885,599,766,836,874,1080,1216,1244,1086,1050,1250,1544,1338,1104,1776,1808,1136,998,926,739,841,819,969,750,559,888,1272,916,1656,2102,1040,664,827,900,1092,1078,647,1206,1366,1376,1442,1158,1202,954,799,984,949,684,607,1072,1542,2334,2564,2498,2490,2518,2464,1790,988,692,771,656,452,453,552,916,1024,984,992,1292,1250,1180,1334,1628,1754,1654,1526,1382,1140,704,1224,2630,2932,2404,1696,1272,1178,1190,1514,1920,2052,1806,1266,981,1000,1152,1126,1046,933,1042,1360,1372,1470,1272,797,673,659,623,597,709,905,1042,1100,1140,1200,1300,1360,1432,1270,1234,1096,1090,1082,1021,1052,1444,1698,1418,1114,1164,1318,1316,1072,1234,1444,1672,1628,1642,1462,1244,894,1176,1350,1122,1334,1880,1418,949,1064,1132,1028,1068,1136,1218,1224,1216,1324,1404,1310,1238,1172,1052,1018,944,821,919,1480,1716,1594,1526,1482,1274,1300,1532,1604,1564,1516,1460,1406,1466,1298,1204,1144,1238,1334,1356,1268,1090,1002,1270,1272,1094,968,1062,1312,1194,1102,1156,1054,1072,716,658,960,1008,1062,1094,1120,1512,1588,1308,1434,1440,1154,1178,1274,1480,1160,977,1334,851,868,827,1048,1050,1028,973,925,1028,981,1060,1188,1142,788,380,386,503,471,537,467,653,1156,1056,1130,1348,1274,1296,1410,1296,1222,784,850,1106,784,601,931,792,758,694,825,1026,834,583,748,644,771,929,1056,918,936,1212,1216,1236,1356,1404,1358,1188,1036,1082,1300,1378,1434,881,1196,1230,1108,1300,1023,661,460,373,330,287,336,525,965,1078,712,780,695,438,392,393,333,273,367,689,1030,1186,1470,1984,1800,984,930,1774,2270,2172,1910,1670,1440,940,1626,1478,1288,1218,1228,885,538,588,959,1060,670,379,374,521,775,946,714,519,844,1182,1626,1426,1260,1520,1672,1480,1398,1394,1204,908,743,849,1330,1214,895,768,681,940,1278,1252,1144,1182,1332,1248,1446,1312,1254,1444,1114,857,1104,1015,1118,1598,1398,1174,1410,1017,1460,1450,1306,1480,1296,1758,2278,1836,1284,843,926,1584,2166,2210,1692,624,568,573,989,1448,1108,1058,1106,657,370,386,352,398,475,472,657,601,484,381,321,411,446,457,592,729,975,1354,1172,694,822,827,1092,1558,1692,1124,517,389,357,456,542,593,871,1104,1596,1714,1122,613,908,1170,987,980,1322,1534,1798,2034,2162,2042,1816,1420,927,841,1118,1344,1282,910,487,310,273,292,538,648,545,436,454,477,501,489,454,346,287,279,284,267,249,250,281,277,227,224,233,237,218,225,222,224,237,285,271,256,239,210,250,402,430,265,469,959,971,969,960,962,691,555],[316,327,305,507,957,1078,982,1028,724,571,538,473,335,408,1160,1124,945,1004,970,973,1188,1294,1252,777,859,691,550,545,525,856,827,458,263,232,278,322,480,596,494,367,991,1374,1106,1056,1192,1126,1398,1432,1158,882,577,498,389,266,290,281,292,305,332,287,453,875,1013,864,832,966,857,1130,1610,1688,1396,709,417,322,344,332,440,517,488,718,979,954,492,400,329,313,813,1200,1262,1184,1122,1164,1216,904,707,915,1066,783,780,1092,1190,1128,1084,1200,1092,844,979,717,464,430,750,1136,1026,681,658,650,916,1258,1296,1302,1564,1766,1264,1252,1056,833,836,622,681,599,549,586,684,853,872,1062,1186,1040,1122,1110,959,1094,1192,1062,1032,758,563,678,633,1032,1736,1470,1312,1466,1708,1406,1416,1308,1120,1282,1444,1522,1226,868,1080,1272,1216,753,697,1068,1450,1448,1370,1410,1390,1674,1454,1023,976,497,462,789,993,1098,1042,1676,1450,982,1032,1276,1226,1318,1302,1296,1348,1088,1158,1214,890,726,818,1132,1074,813,969,1160,1072,844,933,1066,868,1150,1432,880,539,559,794,1168,1436,1026,914,1414,1350,1496,1712,1342,1428,1136,1306,1294,891,1072,1188,915,774,811,412,330,350,400,352,392,684,583,417,461,574,646,548,422,343,259,278,302,464,780,524,472,761,1100,1414,1360,1292,1498,1378,1482,1380,1096,786,516,481,491,492,420,361,368,387,391,444,510,367,309,750,1034,965,680,1154,1362,811,965,1250,1812,2220,2236,1900,1028,893,964,748,884,1070,1242,827,494,433,414,466,478,599,632,390,352,472,727,773,815,671,559,796,1334,1206,680,758,700,864,569,666,868,968,1468,1332,1362,1408,1050,1034,847,854,850,653,660,705,1046,1580,1708,1750,1650,1442,1286,1202,1296,1498,1478,1562,988,1416,1848,1676,1628,1552,1526,1492,1538,1786,1538,1338,899,599,519,895,708,445,397,584,908,1098,1084,851,474,395,717,1218,1262,987,808,1013,1032,1230,1542,1450,1048,838,905,887,709,580,1076,1236,1176,1256,1326,1600,1466,1082,805,675,764,915,1015,557,608,969,1236,1418,1023,1322,1492,1384,1320,1268,1184,966,619,810,744,707,586,947,1100,921,943,844,960,871,607,653,883,1170,1494,1116,1204,1244,1428,1416,1234,1144,921,739,801,678,997,1096,919,1178,1306,1182,1198,1044,833,944,1246,1250,1176,1176,837,985,968,1050,1023,1010,1180,1256,1206,1054,1098,1288,1332,1192,882,605,833,1158,1238,1360,1166,1080,1380,1424,1104,706,589,860,841,637,793,1036,909,821,954,1084,909,683,532,489,393,401,674,640,471,450,723,1094,1270,1288,1016,656,617,484,355,377,403,361,328,321,495,945,1148,1184,1150,1104,1098,1058,1052,961,827,869,670,746,955,929,1034,1302,1058,601,461,415,459,477,678,1018,817,1128,1184,1196,1158,1202,1106,987,991,938,955,1044,1023,1144,1180,1078,599,666,942,1292,1358,971,754,1058,1224,1128,1672,1980,1546,1170,1142,1192,816,636,628,660,979,1224,1162,1146,1072,1176,1132,948,1238,1382,1252,1256,1204,1140,932,902,1098,1126,1136,1204,1200,1310,1274,1266,1388,1450,1466,1422,1322,1010,762,988,841,432,571,467,356,342,468,432,369,351,365,404,472,444,358,350,318,339,367,346,339,336,415,433,393,631,807,531,389,383,371,416,473,373,323,297,286,300,372,425,394,350,349,317,316,325,372,366,323,487,1104,1300,1186,886,584,897,1588,1488,1502,1176,1226,1218,977,1164,1154,1198,1378,1132,833,965,1044,1224,1358,1208,1332,1202,1184,1368,1288,1106,1212,1214,1224,1566,1552,1272,1296,1274,1520,1706,1186,796,739,897,1178,1274,863,921,1490,1376,1086,1168,1074,998,1146,1144,916,795,830,996,955,971,1160,1260,915,862,669,489,705,1170,1180,1694,1776,1456,1232,977,885,1048,1174,1308,825,674,526,684,789,559,880,1238,1136,951,830,755,966,1084,764,871,1168,1296,1572,1234,972,886,698,796,885,578,377,356,374,705,933,1314,1550,1266,1164,1378,1262,1072,1406,1460,1506,1454,1246,1236,1390,1166,1124,1214,1116,1548,1444,1286,1364,1262,1166,1062,861,621,890,757,808,1178,1176,1154,949,634,317,596,1226,1608,1256,1284,1296,1100,1172,1136,1208,1160,1174,1288,1230,1290,1250,1172,962,1001,1068,969,744,879,1098,1892,1766,1810,2012,1734,1088,1044,1034,995,1118,973,1200,1344,1250,1078,1110,1346,1542,1580,1616,1706,1600,1174,1272,1466,1676,1332,1238,1424,1540,1698,1564,1382,1398,1246,1024,1056,828,739,807,1019,1218,1188,1088,1072,1086,1284,1388,1390,1170,616,275,386,662,770,691,677,757,1036,824,337,369,692,882,595,885,863,1098,920,821,814,561,491,747,890,929,689,836,959,875,760,924,859,1080,800,598,534,776,1222,1230,1638,2174,1358,681,525,476,485,482,486,436,547,890,1192,1226,1376,1726,1382,725,945,1132,1180,899,846,809,1068,1504,1378,1062,954,1114,1070,819,847,966,1366,1204,871,971,1258,1490,1282,988,865,729,927,1460,877,1096,1144,1146,1796,2046,1270,797,559,687,626,332,354,400,699,741,873,737,1120,1252,1094,1394,1552,1216,594,475,798,957,1005,850,480,312,520,694,1082,1456,1342,1058,702,480,447,465,532,659,542,424,344,366,379,387,434,441,381,382,555,680,840,882,824,540,482,484,426,527,783,834,502,801,1182,1172,1162,1214,910,821,728,742,871,839,558,452,372,386,385,318,303,368,373,419,501,1186,1672,1594,2200,1918,982,1124,1152,1232,1138,1360,1426,1060,732,771,1082,818,446,531,852,771,659,739,1034,936,594,536,389,558,664,627,600,1200,1564,1252,1330,500,383,544,690,1082,648,653,1152,1176,1144,1060,888,1074,1132,744,843,1252,1182,1298,942,913,810,630,732,1096,1240,747,596,945,1272,1214,1386,2030,1456,560,386,363,727,935,799,501,508,1042,1082,648,565,738,838,1272,1528,1320,1106,730,371,359,371,427,443,284,351,451,393,383,431,664,1011,1016,822,719,1014,2998,6136,3332,1656,1406,1592,1486,1428,1422,1460,1182,869,631,451,477,594,863,1530,1188,717,634,457,1086,1114,595,644,824,1108,1162,1003,776,712,904,1114,1098,1106,731,505,697,833,881,1078,1238,1116,1066,998,1074,1186,990,913,883,708,859,1394,1466,1202,1116,1108,1094,598,462,749,940,626,1158,1194,637,754,910,995,1304,1366,709,1170,1426,1390,1066,959,1118,999,1188,1184,966,1074,589,981,1460,1668,1716,1804,1796,1672,1672,1584,984,567,676,730,495,590,778,1024,835,782,854,883,918,1174,1538,1750,1682,1520,1322,1240,1130,760,1266,2558,2916,2396,1870,1706,1582,1470,1436,1436,1706,1224,921,1142,1122,1042,1048,1076,1076,1284,1396,1388,1174,1011,822,794,703,595,638,883,1086,1110,1172,1142,1210,1310,1470,1532,1222,1116,1092,1086,1016,1168,1064,1334,1666,1296,938,1012,1098,1050,913,1272,1466,1482,1484,1488,1094,1009,1068,1220,1334,1030,1086,1554,1108,760,794,1084,893,757,927,1198,1246,1228,1432,1510,1254,1015,863,762,755,828,994,1306,1622,1846,1752,1562,1416,1294,1354,1434,1276,1244,1262,1152,1140,1262,1310,1204,1038,1026,1214,1280,1326,1316,1282,1452,1420,1274,1016,1128,1296,1104,995,1134,1019,706,544,823,904,848,938,1232,1400,1770,1744,1478,1350,1196,1356,1332,1188,1408,1144,1088,1528,836,933,1258,1376,1198,1108,1148,1172,1170,1152,1162,1170,1238,975,576,755,1064,683,472,384,832,956,912,932,827,925,910,990,965,1316,1128,1158,1058,863,919,883,623,468,570,788,874,897,466,617,598,880,1168,1336,1304,1186,1005,877,1076,1166,1042,1164,1146,1190,1262,1432,1372,1336,916,1040,1274,1108,993,1164,759,660,433,354,402,455,663,1266,1736,1120,799,883,559,335,364,322,365,691,1360,1388,1212,1306,1654,1360,628,600,1188,1892,1918,1870,1514,1234,1240,1696,1116,859,791,950,756,411,460,644,527,358,346,419,788,982,985,1080,704,1013,1332,1340,1238,1344,1482,1212,1228,1286,1410,1546,1206,812,1012,1426,1450,1318,1090,860,973,1114,1028,1132,1234,1252,1174,1388,1146,1296,1558,1378,1146,1308,1128,837,1007,1114,1090,1304,816,940,1054,924,787,783,1100,1334,1386,1286,999,1120,1812,2192,1764,1174,551,361,328,566,988,1096,777,567,402,373,368,271,375,402,350,636,620,477,410,391,379,581,936,955,956,980,1300,1134,940,944,1072,1372,1360,1296,1084,453,395,371,434,482,533,569,664,1334,1003,484,546,661,1214,1180,889,886,1544,2166,2204,2126,1952,1494,675,514,577,812,1186,951,476,274,259,263,308,426,541,606,607,680,786,655,431,331,309,282,273,265,250,245,275,350,277,225,231,241,230,213,232,226,258,320,335,289,252,229,220,228,297,420,326,314,568,676,769,973,1010,851,652],[243,274,299,445,689,590,463,703,1114,1080,1062,783,466,694,1096,859,1016,1092,602,877,1302,1216,1072,612,593,439,360,306,337,425,345,238,205,227,281,299,240,229,343,643,1038,1072,1146,816,721,1001,1128,1210,1444,933,390,336,296,248,320,346,297,306,356,324,362,538,692,651,704,877,830,1188,1506,1338,1444,1130,702,448,265,276,375,412,360,599,1284,1334,750,413,326,297,617,1032,1178,1262,1318,1152,966,865,1150,1180,1212,616,720,1224,1152,1106,1306,1312,1042,769,1004,793,659,748,1009,1070,924,936,975,960,1252,1444,1292,1270,1860,2094,1332,1166,982,680,897,805,580,586,830,966,1122,1416,776,871,775,734,984,1128,1182,1152,1026,1005,828,474,356,437,448,616,893,1005,1426,1714,1602,1482,1580,1500,1278,1556,1752,1412,1094,1222,1512,1360,839,507,721,800,1362,1758,1732,1704,1580,1638,1490,1312,868,529,468,566,587,964,1176,1250,1242,936,693,888,1028,1246,1316,1260,938,1404,1226,1136,810,796,944,1072,1128,1252,1402,1100,999,865,1048,1028,863,1302,1216,833,649,565,1023,1708,1314,680,1072,1548,1168,1384,984,1256,1162,973,1188,1472,1460,1272,913,864,981,1154,466,322,346,495,583,736,828,474,346,359,462,539,487,405,350,271,281,307,401,588,487,442,708,963,1218,1162,1116,1074,1222,1390,1512,1310,1032,603,430,479,491,433,396,379,414,433,553,559,255,249,483,893,845,701,1272,1070,500,644,765,1122,1322,1134,1326,1060,881,728,728,812,1212,1592,1122,706,523,451,371,454,542,362,270,313,460,486,645,760,950,1001,1090,1540,1400,585,498,678,720,759,1086,879,799,1012,995,1210,1236,885,786,750,743,879,849,977,1028,1258,1526,1776,1660,1368,1378,1392,1178,1318,1440,1108,1132,974,1334,1700,1758,1672,1404,1306,1222,1384,2076,1736,1256,1138,895,484,644,600,477,706,944,930,1124,1322,997,719,491,752,1292,1466,1106,923,881,922,1282,1502,1180,626,673,1062,1132,1136,825,1023,1236,1332,1438,1148,1350,1454,1208,1032,774,609,689,749,561,771,902,712,722,906,1310,1166,658,871,1156,1054,835,482,426,569,752,801,858,772,705,818,1096,1226,996,792,917,1114,1264,1294,1062,1150,1244,1312,1294,1338,1282,1054,966,1015,1096,1058,1028,1182,1360,1322,1244,1178,1042,648,680,1168,1070,944,1094,1220,1278,775,897,920,926,1028,1216,1220,970,943,1180,1192,1164,981,857,1262,1554,1376,1248,1250,1394,1388,1350,1086,1028,1256,1446,1166,785,1230,1330,860,878,1030,988,943,779,870,682,471,472,524,452,407,412,789,1170,1246,1224,854,468,579,481,379,528,729,748,538,438,650,1086,1196,1184,1260,1216,1168,1274,1018,990,904,821,799,904,893,811,921,1013,839,521,477,423,447,506,722,886,894,880,978,1194,988,763,893,1038,1196,1174,1122,1122,1114,1220,1348,1230,962,847,749,1296,1484,1240,1064,1194,1292,1248,1450,1766,1704,1156,985,1004,927,1136,1186,826,829,989,1104,1250,1180,1158,1108,1244,1222,913,1126,1244,1158,1220,955,1034,1100,1058,1104,1156,1056,1000,1056,1252,1370,1270,1274,1254,937,786,861,1114,991,470,367,418,445,407,430,419,365,362,326,353,444,391,340,321,318,333,336,354,354,339,369,365,421,655,862,623,467,405,391,480,505,398,317,305,316,359,376,367,385,323,323,323,356,356,362,346,393,609,1106,1372,1158,771,645,1056,2154,1698,1456,1200,1144,1180,821,1088,1470,1218,1194,987,773,1240,1142,1148,1306,1268,1298,1256,1290,1352,1184,965,1098,1346,1316,1310,1256,1366,1222,1170,1238,1166,800,699,756,779,1194,1730,1250,771,1218,1494,1384,1266,920,992,1216,1206,916,934,1066,1048,1013,1200,1430,1518,1160,1254,974,860,924,1244,1312,1802,1878,1412,1418,1400,1342,866,1226,1328,1234,1011,810,610,803,1118,1070,994,966,1060,974,721,415,574,738,641,753,1078,1236,1098,877,775,853,982,846,760,475,351,357,594,1005,1220,1344,1066,980,1058,933,1314,1652,1500,1456,1388,1312,1224,943,1036,1344,1520,1404,1216,1272,1256,1256,1248,1256,1224,722,533,1003,955,1086,1428,1208,874,734,514,549,846,1288,1708,1412,1152,1042,1152,997,902,1272,1220,1122,1300,1346,1618,1578,1360,1098,1490,1432,1152,1174,1252,1090,1044,1202,1472,1842,1396,724,940,1132,1182,1038,899,1142,1300,1348,1232,1172,1294,1420,1428,1512,1602,1512,965,974,1306,1468,1372,1362,1256,1260,1362,1388,1494,1494,1424,1382,1106,1094,1376,1266,1118,1116,869,819,1038,1088,1194,1332,1226,668,551,452,347,516,590,842,1122,982,663,738,466,536,910,922,736,874,795,749,728,949,995,933,1152,1218,967,672,451,993,954,799,868,948,827,628,448,423,498,813,1516,1654,1938,1990,1212,692,551,528,471,446,479,440,432,531,769,1042,1988,1346,849,1036,1130,1382,1198,986,911,1023,1562,1670,1452,1186,1108,1052,1198,1154,1290,1560,1520,801,551,842,1332,1542,1182,1042,1102,913,980,1330,1004,1252,1092,631,1180,1654,1464,1196,695,471,484,394,567,639,811,1048,1134,893,1010,1124,1028,852,765,872,683,591,750,789,713,967,953,551,532,477,730,1330,1532,1390,1017,529,466,495,428,645,700,528,370,410,403,382,431,437,462,538,652,636,745,855,965,854,874,965,776,540,337,302,433,938,1350,1268,1114,924,584,718,722,705,1158,1378,620,445,469,529,398,342,361,384,378,426,785,1418,1592,1118,1058,1068,1078,1040,1704,2126,2292,1722,1376,1404,1140,841,747,607,463,700,1020,748,780,920,1028,996,1088,1028,621,502,545,500,745,1494,1418,1112,1036,611,509,710,1494,1568,925,987,1270,1256,1090,1060,825,711,897,912,1060,879,1128,1406,1354,1154,797,781,1020,1004,946,929,854,1454,2072,1466,1434,1646,954,732,907,539,454,791,716,597,987,1122,697,537,559,865,1562,2376,2446,2192,1908,1172,476,413,373,362,327,283,338,391,419,456,525,634,643,780,747,653,1268,3854,6476,3362,1344,995,1108,1412,1448,1338,1388,1404,1126,605,572,957,880,1408,1918,1606,1116,775,913,1606,1214,574,821,916,963,869,1009,1146,822,933,1124,818,687,846,983,904,1110,1072,1266,1496,1144,1023,844,905,965,843,642,532,479,469,1024,1332,1246,1038,1198,1060,534,520,736,726,767,1110,775,585,861,1160,984,1294,1212,933,1324,1502,1302,929,666,703,977,1344,1132,892,1106,628,928,1278,1602,1882,1862,1856,1926,2056,1854,1003,595,555,724,543,547,915,1212,876,782,826,720,1254,1838,1726,1660,1454,1402,1408,1356,1260,812,1180,2402,2788,2164,1632,1710,1760,2652,2754,1482,1184,1013,1156,1390,1224,1260,1350,1152,1074,1278,1390,1230,1030,1052,1019,956,785,712,649,868,996,941,1110,1268,1306,1274,1208,879,1064,1112,1122,1005,1074,1196,1102,1134,1210,980,755,832,857,956,852,1110,1282,1172,1028,1034,984,926,1112,1350,1450,1310,1466,1516,1338,1058,852,1019,1062,1028,1098,1202,1178,1204,1298,1252,1142,1011,1108,1106,1202,1260,1302,1444,1454,1338,1248,1232,1162,1116,1190,1278,1274,1134,1026,1058,1110,1182,1196,996,686,659,944,1050,1236,1464,1448,1432,1498,1310,1202,1362,1256,983,1007,1080,1060,1048,700,727,770,899,1116,1142,1718,1754,1282,1200,1182,1262,1208,1152,1078,1266,1402,1108,1260,1132,1100,1314,1292,991,987,1248,1274,1240,1168,1256,1316,1230,929,847,1170,1070,731,550,505,673,663,743,802,846,1144,846,948,1142,1430,1372,1142,875,775,738,832,1036,842,593,527,650,1136,1206,1308,1068,1110,1240,1302,1370,1220,1030,1094,1298,893,695,1056,1226,1032,1032,1362,1366,1362,1532,1422,1424,1208,1064,1296,1172,1182,776,515,817,818,660,1132,1794,1424,1076,1244,985,451,538,636,621,717,1210,1418,1166,886,930,673,368,442,828,1654,1830,1770,1686,849,944,1052,959,1019,1128,1130,681,357,403,612,923,841,493,678,836,857,952,874,727,951,1126,1084,782,1126,1396,1184,1072,1074,1504,1782,1516,967,808,1118,1428,1554,1534,1234,1290,1422,1322,1158,1104,1094,1140,1114,1098,1042,1050,1274,1300,1360,1248,1210,1346,1194,1060,944,793,1046,1170,728,548,671,767,1422,2004,1576,796,929,1392,1378,1298,1110,589,453,654,854,1068,1146,592,443,462,425,346,285,328,343,287,285,322,353,408,597,589,675,904,971,962,927,1086,1136,974,810,1072,1416,1058,846,1068,545,457,249,238,312,339,534,920,832,526,483,533,432,571,581,461,436,1134,1902,2150,1920,1616,1324,528,493,443,399,599,491,270,238,263,302,352,337,393,617,725,509,494,484,344,314,295,252,248,247,265,279,323,454,354,291,256,234,221,216,222,217,259,356,365,260,268,228,228,222,242,339,338,323,518,631,650,725,880,882,615],[291,272,338,354,325,368,551,762,902,1016,1092,1240,1015,1158,1310,1000,1160,1078,495,711,1236,1094,628,529,400,300,277,389,523,432,286,240,215,253,232,223,239,263,278,484,737,952,835,727,1092,1250,865,604,736,619,333,302,270,236,289,358,324,326,397,466,405,653,763,775,933,761,565,1023,1236,1208,1314,1084,695,547,474,676,832,732,404,401,786,810,656,412,316,272,392,722,912,999,1034,1009,908,976,893,1200,1196,752,1026,1548,1292,916,1160,1166,797,496,541,802,1086,1218,1156,1170,1318,1340,1052,990,1196,1288,1314,1440,1720,1354,1428,1282,998,1038,971,843,1011,994,998,1132,1190,1454,598,674,540,505,890,988,977,986,927,980,824,415,319,361,478,662,719,771,1140,1354,1384,1516,1616,1606,1714,2172,1844,1108,1064,997,1096,800,539,610,940,1108,1490,1532,1234,1376,1404,1540,1514,1282,1076,776,760,1204,882,774,1348,1464,1114,673,583,844,922,1154,1366,1302,976,1218,1162,1152,825,797,1146,1174,1116,1382,1440,1002,991,1018,1286,1262,1454,1478,1002,827,885,664,659,869,608,790,1456,1288,874,709,1168,1340,1064,935,897,1188,1158,1048,844,929,1194,683,362,371,311,329,560,1336,1256,463,354,336,491,554,503,558,452,352,373,415,475,579,515,500,586,827,1136,1072,1332,1058,1222,1200,1346,1536,1188,637,460,478,484,411,396,402,393,526,599,427,241,377,498,628,761,853,1156,1018,518,505,549,770,735,503,737,1028,914,851,750,689,1264,1350,965,900,849,583,396,401,458,371,407,523,383,367,482,750,1005,1056,990,781,625,338,453,687,631,921,1132,954,1100,1220,1296,1304,1310,1132,790,689,886,965,951,1064,1294,1438,1548,1712,1396,1256,1246,1244,1180,1188,1100,901,1064,1300,1386,1238,1356,1592,1670,1460,1438,1402,1602,1774,1594,1294,1013,961,995,814,669,1020,1050,749,1092,1192,1390,1078,539,943,1294,1360,1072,891,919,1102,1300,1106,688,576,766,1166,1478,1624,1132,819,830,1176,1434,1278,1350,1042,931,941,730,915,996,922,942,924,758,769,1150,1380,1382,1246,930,941,1210,1186,608,293,336,459,686,1082,1290,1040,946,1000,1132,1015,991,1250,1120,1192,1138,1122,995,872,1178,1306,1282,1356,1158,1252,1304,1500,1386,1186,1226,1368,1384,1404,1288,1272,1182,860,805,1216,1032,716,982,1354,1314,1078,1060,1206,1094,908,1092,1334,1216,814,884,817,791,1044,1308,1396,1188,974,1172,1394,1378,1384,1290,1114,1238,1496,1428,1174,1012,1186,805,585,1152,1230,1266,1240,927,955,644,695,687,577,512,508,525,804,1102,1238,1048,769,463,528,520,465,612,973,949,591,639,1016,1170,1136,1136,1192,1196,1080,1172,1176,1072,965,1144,1380,1376,973,651,918,1092,866,447,382,390,447,397,495,630,879,1042,1074,1166,1214,1290,1128,1198,1324,1308,970,1009,1230,1228,1302,1066,1015,948,790,1328,1324,1312,1388,1154,1106,1204,1378,1252,1226,1286,1254,939,1096,1360,1318,1094,1152,1278,1588,1464,1056,1188,1228,1208,1116,1202,1404,1020,1092,852,787,818,1050,1158,1516,1472,1012,828,1082,1226,1174,1116,1100,1340,1352,1226,962,933,746,442,510,717,706,499,501,443,420,383,369,365,358,312,320,309,344,372,343,380,419,397,386,395,430,734,902,680,539,441,426,425,405,357,299,315,333,350,360,389,407,338,335,356,411,414,380,400,445,703,1180,1274,1148,642,601,1458,1870,1336,1242,1262,1394,1434,1166,1342,1312,1140,1400,1108,1152,1516,1252,1294,1324,1262,1322,1222,1126,1262,1372,1188,1158,1404,1284,1158,1414,1272,1058,1118,1174,952,608,465,525,807,1306,1284,913,674,792,1126,1488,1390,1023,1160,1476,1464,1216,1142,887,1226,1104,1210,1284,1318,1452,1316,1134,1088,1018,1304,1360,1000,984,1104,1404,1292,1584,1278,1386,1280,1222,1242,1214,1021,1124,1276,1094,937,901,984,1032,702,385,713,1184,1110,1126,1356,1454,1368,637,574,683,839,600,1040,818,653,554,518,786,1206,1242,1108,1262,971,959,1430,1498,1460,1486,1384,1390,998,792,1092,1196,1352,1364,1122,1296,1326,1192,1208,1350,1322,883,792,926,972,1064,1142,836,590,790,1130,1434,1742,1858,1780,1560,1366,1318,1256,1066,1086,1320,1402,1266,1166,1308,1376,1436,1098,1023,1144,1021,984,995,955,828,1023,1346,1540,1176,1066,968,808,1180,1266,940,971,1038,1160,1274,1328,1230,1212,1126,916,1048,1194,1212,825,1168,1542,1344,1212,1224,1438,1604,1672,1332,1038,918,854,1344,1302,1316,1432,1206,1124,1094,891,861,781,714,1108,1458,1326,991,1048,673,701,1016,897,941,1272,1152,517,557,498,558,656,498,714,1004,1014,910,905,1060,1038,993,862,1088,1136,738,696,1032,1013,837,691,619,658,744,807,928,1136,905,1180,1368,1334,801,650,669,688,688,706,774,651,548,506,439,586,823,1332,1096,891,971,1176,1306,1162,1306,1124,895,1144,1388,1390,1011,738,592,872,1258,1528,1632,963,521,586,683,1144,1272,874,803,724,835,908,855,904,913,584,340,423,524,712,1048,819,648,1007,878,631,608,932,1050,996,1040,1074,810,605,451,499,539,662,752,818,698,390,1024,1638,1188,643,566,754,977,1278,1582,1312,631,455,536,568,557,603,568,441,414,348,299,350,430,848,813,568,683,720,756,1001,1094,1080,951,933,793,506,402,461,715,1030,1180,1246,835,437,572,706,797,1050,1060,546,445,796,1066,902,540,363,349,278,604,1084,1062,1190,662,766,1120,865,1232,1484,2200,2862,2388,1472,1306,1384,1152,509,469,517,699,1010,998,902,1166,1084,875,962,933,580,438,470,509,932,1598,1094,763,733,1334,1098,675,784,711,834,937,1070,1268,1296,1288,741,899,1542,1350,1108,703,895,1332,1578,1388,827,594,1050,885,544,737,610,800,983,1106,896,482,868,2054,2392,979,513,752,913,1160,1206,743,508,539,618,722,1180,1792,1698,1328,1042,716,609,545,485,393,336,331,322,341,345,374,530,593,440,707,733,643,920,3958,6036,3262,1124,750,717,981,1114,1023,1114,1328,1262,614,749,1114,951,1384,1894,1654,1204,1176,1742,2072,1003,480,979,1154,901,823,1024,1064,909,1001,830,651,813,1170,1062,620,1021,1180,1362,1176,949,710,605,789,927,767,517,495,404,469,775,1224,1088,653,1072,1058,1036,1278,1194,1014,915,1198,960,899,1000,1130,1011,959,986,955,1100,1248,1280,1588,1264,621,822,1007,970,902,1156,694,856,1180,1478,1990,2010,2044,2004,2008,1920,1046,688,648,664,543,438,779,1218,1124,915,761,946,1808,1844,1666,1272,1054,1272,1530,1382,1370,998,1102,2376,2832,2250,1622,1810,1838,2130,2232,1732,1454,1196,1052,1050,1070,1240,1224,1118,937,921,1168,1306,1015,949,1011,1004,913,763,632,758,1002,902,1026,1326,1202,1102,1021,987,1130,1250,1404,1310,984,731,656,597,551,650,624,579,590,709,616,719,909,915,864,1222,1338,1164,1236,1362,1510,1324,1450,1740,1786,1306,1056,1234,1350,1214,1134,1242,1148,1208,1298,1236,1258,1404,1466,1306,1266,1206,1166,1144,1040,1078,1332,1656,1134,614,756,1070,1192,997,971,1110,1136,1192,1114,916,694,613,987,1430,1606,1548,1428,1410,1398,1318,1266,1256,1150,1058,1068,1024,1220,1070,814,604,747,1152,1252,1148,1310,1284,1152,1322,1258,1198,1130,1216,1132,1242,1122,984,1670,1814,1482,1178,922,1114,1112,1210,1440,1360,1310,1410,1260,938,730,887,974,982,1088,1019,799,593,639,1038,1570,1066,1015,1094,888,1094,1340,1124,833,819,684,479,724,966,671,766,554,541,789,1007,1064,1036,1116,1074,1190,974,891,1056,1340,1138,1013,1094,1226,1104,977,945,1288,1456,1188,1188,1106,1310,1090,1088,941,1196,1362,1152,1116,1416,1338,846,815,977,914,1570,1998,1528,810,656,689,631,782,982,1024,713,584,1058,867,372,308,433,1186,1930,1870,1260,539,406,480,727,1005,1464,1864,1118,900,473,581,1184,1310,1258,2436,1992,858,602,503,593,871,995,615,480,761,1192,997,799,1118,1402,1290,1114,733,700,1194,1378,1406,1318,1206,1020,1058,1290,1140,895,860,903,1162,1158,993,1318,1500,1448,1390,1414,1396,1366,1334,1300,1019,969,1108,1030,806,728,696,992,2132,1948,1092,572,918,1124,1002,1362,1286,598,560,716,975,1004,1128,633,567,780,511,303,376,340,264,260,330,489,692,786,654,742,861,925,897,980,1224,1436,1424,1188,850,1230,1466,1084,628,953,787,348,377,372,340,312,421,656,413,384,634,728,590,429,367,327,365,688,1384,1936,1230,932,960,616,405,343,320,328,306,268,262,273,326,435,383,385,424,676,493,337,462,511,374,280,259,245,245,247,228,298,422,349,268,232,219,215,211,218,224,240,266,273,375,388,252,246,271,328,446,516,631,822,860,722,612,708,775,746],[299,351,453,425,576,698,939,1036,922,758,781,982,913,1042,1336,1208,1134,774,516,456,987,1072,664,478,385,354,349,425,504,370,286,243,283,296,241,227,275,307,305,474,709,592,522,762,1158,957,694,432,371,317,288,278,289,276,288,281,269,291,401,472,352,754,1204,1252,1004,719,626,953,1138,1132,1418,1286,449,387,462,565,811,691,475,394,417,452,382,308,293,258,288,439,901,1112,1001,1192,1224,1220,1048,1022,1068,1040,1580,2702,2120,1100,1022,982,638,465,406,818,1210,1368,1384,1414,1490,1152,866,735,755,997,1180,1562,1582,1174,1226,1068,959,1028,786,771,1012,1116,1011,986,956,805,429,401,381,543,916,924,795,975,1028,1064,732,499,343,312,466,603,734,913,1300,1296,1154,1192,1406,1664,1524,1820,2008,1005,786,823,578,415,487,724,844,1040,1396,1136,1192,1422,1350,1634,1488,1208,1056,930,1230,1666,1206,797,1106,1216,876,602,586,725,597,858,1158,1208,1238,1304,1240,1256,1082,869,975,1238,1212,1304,1152,805,713,667,638,971,1470,1328,1268,1376,1516,1212,654,466,562,1140,1296,1430,1284,1050,1420,1256,1140,811,563,792,843,591,546,611,619,314,320,341,332,510,935,1246,832,441,727,473,526,560,505,667,619,514,495,483,570,650,632,786,860,852,1124,1338,1526,1232,1302,1340,1450,1570,1240,668,547,466,437,396,398,397,558,788,511,234,409,822,820,617,633,666,1056,967,568,505,658,897,695,542,757,847,844,792,445,483,935,738,625,554,659,980,814,559,788,686,646,736,363,345,567,1070,1007,1076,932,533,359,334,538,661,585,857,762,902,1214,1284,1366,1292,1226,1250,1238,1088,1032,1040,1170,1202,1290,1530,1772,1640,1456,1366,1244,1192,1218,1130,839,758,991,1166,1144,862,1130,1360,1626,1738,1606,1440,1798,1870,1610,1132,1023,1428,1336,1013,1018,1110,697,470,840,991,1152,805,536,711,998,1236,1250,1156,763,971,1058,1090,754,571,962,974,1120,1302,1074,962,902,1232,1468,1228,1348,1432,1250,1032,1118,1166,1214,1122,919,658,461,557,940,955,1168,1242,843,984,986,900,634,399,404,738,1104,1288,1482,1294,1144,1396,1222,942,986,1280,1284,1376,1232,1124,1208,1128,1170,1324,1276,1208,1040,1088,1122,1106,1036,1048,1228,1362,1048,1182,1240,1344,1394,1160,899,929,952,647,828,1202,1154,854,951,1268,1334,1274,1274,1230,1154,996,1120,995,755,807,1004,1276,1306,1212,1462,1384,1266,1208,1212,1214,1448,1570,1210,1140,1380,1010,686,792,1134,1172,1324,1134,1150,1234,1418,1228,837,639,722,842,866,965,1108,1176,1022,949,908,882,665,687,869,1110,1098,1056,1028,1106,1140,1172,1022,1009,1144,1140,1230,1236,1136,994,1222,1582,1524,1122,1013,1026,1120,702,356,331,346,393,379,370,672,1296,1542,1376,1388,1428,1354,1068,952,1058,992,860,1056,1180,1126,1136,1060,642,857,749,830,1160,1184,1078,1034,946,813,1023,932,768,1328,1498,902,976,1202,1072,1146,1472,1598,1644,1378,1322,1526,1470,1152,1112,1322,1032,835,1218,1108,1082,1030,1202,1234,1324,1250,997,944,1032,1166,888,808,912,1296,1388,1292,858,890,793,479,489,740,765,493,537,449,464,534,550,506,409,340,375,375,390,397,332,351,435,475,499,438,389,717,878,630,456,414,401,398,348,337,300,301,295,312,322,363,373,337,339,384,436,413,425,521,443,642,1266,1224,1114,581,534,1182,1254,974,1104,1382,1502,1490,1390,1428,1300,1318,1142,1128,1424,1728,1332,1208,1242,931,691,689,799,831,1068,990,1242,868,888,1182,1390,1330,1144,988,932,677,521,472,406,543,777,631,531,580,529,890,1324,1294,1164,1098,1242,1438,1220,1064,1206,1522,1312,1272,1256,1268,1312,1078,784,659,839,1430,1318,853,1140,1296,1282,1178,1230,1412,1450,1578,1654,1530,1350,1332,1100,1090,1100,1174,1015,843,799,717,520,622,1060,1204,1324,1612,1652,1318,841,943,932,1028,751,964,1122,1198,797,524,835,998,1194,1440,1466,1050,1214,1560,1470,1344,1338,1318,1490,1186,1028,1216,993,1036,1208,1224,1090,1256,1104,1206,1354,1332,1348,1398,1310,1244,1074,965,553,846,1174,1448,1722,1704,1626,1726,1810,1520,1180,1162,1002,1017,1148,1250,1196,1152,1026,1032,1214,1124,1260,1212,1034,1023,1070,944,870,1010,1110,890,877,1154,1156,979,1001,850,904,1134,1242,1428,1278,1426,1272,1280,1282,873,781,1100,1490,1208,1222,1308,1186,1198,1210,1282,1410,1330,995,810,737,1013,1300,950,818,1146,1166,1018,1236,1246,1268,1282,1200,1026,1126,1078,963,787,651,755,981,1032,954,918,776,598,570,484,501,430,466,869,1092,1050,1290,1458,1046,1062,1024,755,751,1019,985,1128,1164,904,709,473,457,686,1060,1356,1246,1466,1554,1516,1542,1244,777,714,761,888,948,1120,1270,1146,1094,1028,782,871,1122,1350,1484,1210,756,942,1078,1202,1350,1138,592,645,1010,894,791,791,767,852,841,910,1054,513,462,580,783,939,597,419,641,706,653,637,820,917,541,408,529,451,345,407,656,574,396,683,1032,807,556,834,975,1238,1246,1300,1000,594,641,731,692,524,627,1066,940,379,599,1542,1620,586,480,794,1024,849,1066,1098,634,447,453,409,323,422,461,437,380,350,375,375,453,1026,824,470,563,600,559,644,923,773,518,539,653,648,500,452,577,832,1048,1007,713,716,867,942,1180,1260,907,766,837,987,883,871,791,440,402,427,749,964,997,1312,763,877,774,520,679,591,1034,1846,1992,1604,1514,1356,1410,1008,744,705,919,1090,1086,998,970,733,543,654,587,343,431,547,575,1028,1308,1086,869,1326,1952,1556,983,503,506,579,576,951,1262,1306,1182,727,1132,1446,1376,1134,796,817,1072,1480,1484,1152,709,1038,1306,940,556,589,1038,1788,2056,1214,439,527,979,1166,995,819,871,1274,1312,788,466,525,573,611,575,635,798,572,415,419,531,565,585,598,463,448,451,391,434,423,419,384,375,335,686,758,747,901,1842,1872,1146,948,671,583,809,1028,1124,1056,1036,1007,913,1122,1052,1001,1350,1624,1406,1182,1298,1726,1980,1206,775,1008,1222,1218,1046,654,777,1072,952,690,797,971,1062,637,478,803,955,1134,1108,852,694,727,836,1144,864,542,434,438,741,902,1104,883,887,1248,1092,1021,891,795,852,767,978,1052,1032,1054,1098,800,700,1160,1148,1144,1380,929,1534,1542,651,543,1030,991,803,1096,767,715,1174,1476,2128,2164,2244,2344,2402,2198,1176,630,612,660,647,564,876,1230,1172,1114,965,1342,1584,1488,1348,1244,1260,1512,1494,1218,1262,943,842,1816,2172,1970,1836,1770,1674,1680,1782,1716,1742,1648,1512,1086,985,943,964,1094,1252,1290,1546,1466,1318,1208,1056,1006,822,700,708,905,978,793,911,1072,1178,1108,1144,1302,1192,1046,1118,892,652,645,678,701,714,747,706,696,718,774,607,589,989,1096,852,1372,1326,1236,1090,1262,1488,1308,1384,1766,1722,1296,1296,1372,1424,1230,1092,1360,1482,1534,1566,1560,1490,1372,1228,995,899,1114,1184,1130,1216,1110,1180,1214,901,569,595,935,1146,1044,1001,1006,987,1186,1224,956,615,587,1010,1300,1604,1714,1960,1858,1470,1466,1332,1460,1330,1262,1260,1416,1224,1005,932,747,874,1134,1330,1330,1310,1200,1252,1694,1272,1188,1286,1298,1072,1086,1050,957,1398,1456,1072,931,1212,1344,1152,1288,1494,1416,1394,1316,1604,1400,1080,1094,1032,1130,1258,1220,796,644,1018,1508,1492,1072,1106,1332,1128,830,927,838,616,688,622,288,304,294,257,427,311,273,296,380,761,1566,1472,1034,1002,1130,1212,1438,1606,1178,1152,1324,1266,1146,1324,1298,1228,1216,924,998,960,1152,1003,904,720,1190,1310,1076,1234,1364,1190,738,742,875,1616,2054,1942,1324,800,569,492,474,556,586,495,454,738,968,610,329,288,281,750,1490,1644,791,402,419,405,532,762,1188,1314,1096,879,713,727,1106,1238,1550,2510,2480,1624,810,843,786,868,956,558,434,499,773,1132,1288,1218,1106,1180,851,616,1152,1272,987,849,670,715,586,680,1404,1246,693,667,674,885,715,651,1022,1332,1118,1240,1508,1412,1174,1152,1206,1116,1090,1058,968,1088,1270,1244,1484,1812,1240,748,651,792,817,744,841,650,446,616,879,1324,1306,1328,1140,1344,1412,789,517,754,683,538,306,404,544,1021,1510,979,781,725,698,763,1026,1334,1444,1086,1366,890,832,709,498,438,774,896,369,375,318,325,383,416,437,421,425,639,767,746,639,396,365,377,445,935,1362,1001,735,529,385,330,326,328,349,352,301,303,282,330,467,537,466,398,605,607,468,590,720,508,292,261,259,237,217,193,208,275,264,231,216,218,222,232,230,217,225,276,604,745,689,542,529,635,709,677,548,587,729,703,604,509,539,521,461],[926,1104,1086,686,688,858,1080,1104,1104,1244,1274,1070,800,707,1128,1356,1150,927,921,1054,1310,1150,755,518,399,354,323,421,405,281,276,311,349,260,224,274,304,320,467,870,995,702,912,1168,1150,811,632,451,415,585,499,350,300,281,274,246,270,357,401,325,819,1278,1302,1124,819,730,714,662,816,1096,1444,1228,504,300,269,311,387,328,439,580,549,401,342,260,265,245,285,652,1042,920,1050,1188,948,763,739,847,1166,1152,1572,1922,1460,1148,1080,861,682,597,613,836,1106,1446,1340,1516,1572,988,950,977,797,855,1180,1350,1312,1266,1250,1062,1160,1158,1300,886,722,758,676,695,771,738,813,899,843,809,865,1020,935,832,908,996,966,849,448,371,603,674,689,1172,1554,1376,1226,1010,1052,1460,1510,2416,2666,1036,477,575,665,611,549,782,728,884,1138,1246,1426,1390,1242,1406,1474,1364,1114,1040,1136,1250,1078,966,968,940,863,654,536,741,707,539,893,1224,1234,1188,1220,1202,1082,1036,1296,1124,884,1278,1168,953,1074,1156,1164,1366,1146,984,1474,1540,1678,1540,1005,618,987,1320,1086,1306,1104,1242,1354,1216,911,442,422,450,617,686,655,641,486,332,355,320,494,891,671,710,564,383,554,396,465,675,772,868,950,1064,1128,1158,1140,1017,1112,1504,1542,898,1154,1524,1390,1088,987,1268,1628,1474,1316,717,581,538,518,430,449,720,877,590,330,228,300,700,948,709,488,529,1084,976,615,489,1036,1482,894,494,504,518,667,555,346,482,899,826,590,563,818,1118,829,807,1126,878,797,723,426,443,647,1116,1200,938,828,700,453,336,526,750,1112,1576,642,781,833,861,1128,1196,1054,1184,1252,1146,1046,1158,1352,1310,1472,1760,1658,1350,1450,1376,1202,1114,1044,839,826,943,827,941,1368,1390,1348,1488,1482,1628,1672,1538,1602,1538,1282,698,695,1021,1324,1350,1050,890,1014,902,1005,977,800,670,570,793,1252,1752,1582,1132,930,841,568,792,648,821,1108,1001,1100,1084,1122,1382,1106,1194,1434,1370,1418,1578,1270,1128,1192,871,628,810,1096,744,619,678,488,618,952,998,807,857,692,614,594,502,425,817,1352,1310,1294,1020,1258,1768,1280,1394,1434,1184,1338,1490,1290,912,1170,1346,1346,1440,1400,1344,971,772,1096,1084,958,1266,1248,1446,1296,1296,1374,1328,1158,928,828,1038,1090,1002,1132,953,879,1012,1026,879,1382,1392,946,1005,1116,1086,1032,961,1172,1118,1018,938,1238,1560,1700,1306,1250,1400,1296,1362,1578,1400,1080,1124,1480,1188,1224,1254,1070,1050,1170,1198,1106,1250,1408,1108,918,778,934,1036,1152,1164,1162,1130,1086,1078,1318,1250,1230,1442,1378,1332,1108,1202,1376,1142,1020,1184,1140,1198,1130,965,1042,1214,1172,1116,1144,1198,1198,1090,1164,1330,1282,748,519,506,418,461,551,608,832,1218,1172,1202,1342,1350,1274,1054,833,662,733,855,887,1068,1240,1898,1746,940,965,940,1312,1294,1246,1152,1040,957,864,805,749,1224,1570,1422,1516,1256,1106,1260,1296,1254,1404,1368,1182,1240,1338,1318,1138,1236,1338,957,808,1060,1156,969,1146,1282,1058,1086,1260,1084,824,662,865,738,598,857,956,850,804,766,914,808,440,445,686,792,584,494,550,675,859,814,634,464,358,397,389,354,355,318,334,383,416,472,502,438,653,876,656,416,352,340,377,323,315,288,294,299,307,301,322,385,396,417,460,413,362,354,363,424,716,1296,1306,949,492,596,1080,1252,1120,1374,1646,1448,1348,1616,1644,1538,1390,1306,1242,1290,1548,1294,1144,1116,938,432,443,607,675,573,832,984,893,1026,1232,1284,1320,1110,847,731,454,329,442,498,496,393,403,498,535,533,915,1224,1280,1232,1038,1021,1324,1280,1044,1206,1246,1136,1180,1328,1354,1284,1190,1028,1058,1138,1312,1146,1100,1294,1368,1202,1266,1232,1058,1192,1448,1584,1644,1434,1138,915,1328,1094,1276,1128,968,787,602,532,516,734,1188,1274,1188,1306,807,622,1150,1256,1164,736,393,717,1042,893,977,1308,1098,1300,1338,1210,1086,1288,1394,1316,1368,1272,1316,1384,1266,1050,1108,901,1218,1360,1226,1322,1386,1300,1310,1412,1384,1424,1558,1344,1394,1214,928,849,1278,1456,1520,1368,1260,1190,1210,1480,1576,1106,1204,1184,1248,1268,1214,1408,1210,778,999,1296,1372,1216,880,738,962,1288,1382,1256,1132,1001,688,941,1148,1380,1238,702,771,1184,1190,1214,1368,1346,1432,1328,1034,1048,984,1120,1636,1654,1440,1528,1270,736,623,829,933,1198,1288,1140,773,980,1336,1278,899,506,752,1318,1438,1284,1328,1378,1344,1146,948,933,1162,853,718,985,764,716,860,724,935,1080,926,729,821,791,602,847,1204,1260,1290,1458,1434,1160,1014,988,885,678,935,1146,1260,1046,568,384,498,916,1136,1336,1384,1498,1592,1634,1500,1824,2134,1124,855,845,978,938,1058,1312,1484,1556,1530,1166,1046,1336,1670,2018,1678,1168,940,888,1226,1248,805,442,460,546,634,755,771,730,788,605,393,566,684,612,794,692,641,527,391,457,521,495,518,738,720,585,667,1278,951,443,284,352,408,370,386,608,971,959,861,1015,1128,818,952,713,864,836,761,936,722,616,1072,1080,607,488,1066,1318,875,580,504,963,940,768,739,523,525,566,482,415,389,378,424,375,372,401,369,345,379,347,472,785,911,680,601,775,474,525,397,433,560,452,386,500,819,1152,1212,1036,932,1052,971,1078,1092,792,738,961,838,637,982,909,570,620,476,556,1170,1330,1234,1014,839,394,354,389,440,662,926,957,1170,1478,1554,1238,1156,1356,1268,1086,1148,1378,1240,1002,541,407,655,662,380,392,453,683,884,924,729,882,1484,1538,1280,909,512,495,334,364,608,899,1104,1128,887,1322,1630,1120,1060,858,669,1130,1184,860,608,773,985,1332,1366,996,720,1116,1500,1052,725,829,1140,1454,1332,1086,1021,1168,1021,769,714,537,455,462,548,664,889,861,676,535,708,741,574,621,689,639,565,510,404,353,333,358,306,319,319,477,413,567,1060,1626,1574,835,987,1146,1018,861,1088,1598,1372,1014,885,885,1036,1046,864,891,977,1166,1374,1310,985,1234,1150,749,1001,1166,1560,1476,735,1106,1808,1244,561,785,796,942,812,832,890,918,830,788,865,976,819,1108,1262,789,454,317,518,763,1007,1078,755,1022,1052,698,1058,1238,861,807,910,1158,1388,1190,1092,1052,764,933,1550,1418,1316,1448,947,1344,1490,745,422,771,991,1130,1126,650,576,1188,1664,2426,2600,2654,2636,2576,2322,1374,560,605,822,810,639,913,1140,1252,1410,1578,1554,1252,1150,1262,1470,1430,1284,1356,1192,855,724,574,1122,1664,1694,1656,1614,1508,1552,1560,1648,1632,1670,1804,1476,1236,1022,911,951,1054,1504,1660,1526,1436,1122,1026,920,767,779,717,811,1011,1140,1096,1152,1248,1178,1164,1200,1256,946,739,629,638,697,680,676,725,742,756,681,931,1228,688,719,1100,1196,893,1322,1222,1182,1240,1254,1388,1350,1246,1556,1722,1420,1354,1274,1198,1390,1462,1582,1512,1330,1226,1234,1166,1154,1290,866,873,1318,1246,1166,1260,849,537,408,428,368,448,755,935,830,987,1096,1094,1324,1314,1122,623,566,854,1013,1288,1632,1862,1716,1316,1332,1268,1404,1282,1260,1328,1534,1434,1312,1188,1074,1154,1302,1300,1302,1328,1208,1498,1554,1248,1252,1312,1262,1098,1216,1152,1054,1038,1014,824,1170,1242,951,666,633,1086,1498,1554,1402,1226,1017,1138,1176,1056,931,732,758,661,718,1284,1326,1108,1244,1248,1332,1318,930,858,670,760,775,557,304,304,330,355,385,343,385,669,494,810,1532,1140,1014,901,1152,1410,1674,1470,1280,1390,1330,1182,1336,1346,971,741,861,658,830,1068,1476,1590,1212,981,1334,1408,1250,1252,1216,849,690,786,1774,2194,1632,1196,842,626,563,462,389,377,397,442,460,586,637,341,243,298,276,441,1194,1336,494,414,340,398,597,974,1034,786,904,1180,1294,1206,1364,1138,1124,1568,1570,1410,781,1056,1094,802,588,420,359,386,891,1514,1632,1292,1052,1412,1218,1208,1616,1198,1166,1346,1318,1090,751,777,1070,917,673,709,1005,1100,1030,1066,653,525,658,1158,1194,1062,960,551,757,888,830,756,806,1186,1608,1736,1488,1156,1102,1032,1166,1302,1018,875,817,507,469,532,1154,1326,1382,1338,1062,1306,1486,982,914,1780,2072,1090,420,363,523,825,837,843,805,686,561,588,1038,1208,1182,1434,1644,976,438,376,388,406,774,1009,454,387,322,349,360,586,650,552,421,517,1064,1762,1378,570,382,328,451,703,965,807,441,414,406,358,332,341,407,451,458,432,329,391,474,495,436,392,445,522,677,865,789,532,376,271,254,241,221,215,203,203,220,223,219,210,181,212,230,255,317,600,996,970,951,888,895,906,826,834,947,800,633,713,678,454,457,547,636],[999,1013,966,653,501,601,709,650,1122,1888,1344,624,487,573,938,1306,1112,846,844,1070,1380,1108,709,428,373,357,487,639,453,292,271,281,280,247,285,328,391,337,416,686,851,1052,1728,1456,1258,1044,746,495,819,1136,871,565,302,324,265,265,300,643,691,394,910,1126,902,987,1180,1122,807,655,762,933,1166,1052,528,331,431,388,343,499,518,739,861,508,396,380,382,279,205,819,1028,563,647,1142,878,542,742,860,1076,975,1210,1010,959,1080,943,779,1110,1180,1080,1150,1128,1232,1224,1434,1348,1116,1166,1318,1230,1132,1080,1102,1050,996,1003,1034,1218,1252,1610,786,403,466,541,765,833,920,1224,1274,1098,1126,995,1196,1076,993,1060,957,1017,794,394,479,623,475,698,1020,1050,1064,902,816,801,1068,1132,2232,1924,808,847,1026,1032,848,506,700,720,1068,1005,1104,1128,1108,1194,1172,1354,1616,1542,1396,1234,1366,1218,1096,1232,1008,769,558,508,857,802,653,1134,1268,1208,1030,1036,1058,1158,1266,1382,947,512,782,873,999,1396,1430,1500,1254,602,947,1464,1388,1272,1200,1156,980,1354,1320,1294,1340,1140,1618,1306,1144,591,365,348,279,653,1050,811,600,636,713,685,541,675,1008,597,808,896,609,410,327,644,1170,1414,1472,1308,1556,1588,1544,1458,1510,1742,2308,2166,1198,995,1244,1282,1068,863,1007,1374,1194,1412,987,683,580,532,557,691,720,468,289,245,279,597,813,730,709,599,578,1180,1106,633,573,977,1022,691,514,399,655,987,1013,755,675,836,844,910,886,931,908,628,836,791,556,849,745,702,785,849,1084,1426,1332,1010,637,403,348,467,591,1206,1168,685,680,688,827,1248,1324,1184,1296,1372,1064,1120,1296,1448,1328,1522,1650,1422,1448,1280,1034,1007,1208,1324,1130,1122,1110,1184,1338,1522,1484,1280,1216,1306,1508,1590,1680,1664,1490,1230,822,797,699,1058,1224,860,1013,1310,1332,1212,977,1016,1028,857,784,1001,1654,1280,996,908,713,586,493,657,1042,1182,1196,972,1126,1316,1320,1214,1114,868,1144,1228,1032,1130,1394,1392,940,765,704,761,651,782,724,489,869,827,961,1174,971,839,894,597,550,422,859,1494,1724,1556,852,1378,1372,1092,1738,1560,1046,1082,1662,1454,756,851,700,835,1366,1378,1060,776,636,1152,1584,1174,1168,1204,1282,994,1024,1246,1354,1312,1104,837,1048,1164,1188,1120,913,888,1148,1254,1214,1322,1252,1016,1098,1116,1108,994,1030,1254,1290,1134,1324,1414,1378,1482,1408,1376,1310,1460,1932,1880,1650,1294,955,907,1278,1500,1456,1134,1094,1330,1312,1050,1062,1038,1108,1400,1372,1500,1074,955,1012,1050,1122,896,780,1214,1428,1200,1300,1378,1148,889,763,1240,1118,1060,1188,1258,1400,1220,980,1056,1210,1124,1340,1352,1226,1260,1304,1256,1428,1448,1078,1028,791,686,765,844,871,887,841,869,1028,1036,1116,1164,1164,1064,919,711,577,725,1126,1324,2142,1654,1356,964,733,855,930,1278,1482,1178,1156,1090,1058,1162,1698,1666,1298,1354,1450,1522,1570,1480,1410,1600,1772,1468,1266,1256,1296,1406,1338,1016,834,832,829,802,910,1080,1028,1048,1320,1400,952,685,637,825,980,610,752,915,831,849,980,1384,971,475,430,667,699,697,641,811,771,969,1088,710,403,367,367,351,337,351,354,420,461,505,512,477,356,550,879,738,485,363,334,343,320,299,286,310,341,342,321,341,392,399,387,440,426,410,413,412,483,855,1246,1268,971,581,764,1136,1488,1516,1524,1666,1466,1372,1340,1412,1560,1434,1240,1086,1120,1042,1044,1030,984,893,489,542,496,518,577,988,1092,1102,1168,1464,1384,1206,1026,1256,1238,753,474,506,536,501,685,805,731,587,675,999,1098,1300,1130,1326,1554,1434,1236,1160,1180,1194,1404,1534,1324,1534,1150,1066,1170,1220,1092,1116,1146,1100,1056,1130,1320,1368,1044,709,959,1256,1474,1364,1428,1314,984,1015,1150,1326,1240,1116,952,749,692,670,722,943,755,629,761,563,528,886,1023,838,559,444,651,937,1152,1350,1174,1088,1250,1310,1060,1256,1636,1478,1028,1086,1114,1336,1374,1296,1020,1013,1112,1398,1324,1114,1334,1782,1848,1528,1532,1388,1280,1302,1356,1302,1088,781,541,933,1428,1492,1452,1284,1052,927,1048,1636,1366,1344,1366,1282,1240,1234,1180,882,793,961,1094,1044,1000,932,688,1294,1700,1282,1166,1200,916,819,805,803,1258,1172,850,827,1240,1272,1324,1322,1224,1350,1196,987,1206,1334,1660,2002,1526,1148,1410,1392,657,446,420,543,726,1050,1036,758,927,1046,1076,1038,870,644,724,1340,1476,1528,1632,1462,1246,890,804,1112,961,1050,1144,890,1026,910,929,1430,1470,1182,1206,1154,850,625,777,850,832,932,1206,1350,1222,1017,1076,944,904,1074,1030,1058,809,488,711,1142,1102,788,918,1114,1366,1390,1426,1540,2114,1982,964,854,821,1028,1188,1360,1448,1572,1662,1628,1486,1320,1366,1590,1990,1676,1318,1324,1062,1106,1114,698,444,484,552,620,664,658,709,695,541,412,487,554,583,891,1024,898,763,670,602,764,641,525,724,549,375,478,863,789,535,421,485,368,479,673,560,716,1112,984,714,588,630,1024,1011,830,736,974,1290,874,664,898,779,726,530,541,573,1009,963,580,862,785,578,583,467,607,589,563,505,408,362,369,397,409,370,342,289,294,280,414,453,398,408,463,409,476,598,441,325,295,302,335,455,901,1198,1178,1214,926,875,947,847,769,512,518,724,660,625,976,793,684,919,966,602,1040,1208,1023,1050,736,344,409,401,410,768,990,832,586,839,1054,977,1062,1156,1354,1268,1100,1606,1434,1042,628,382,624,679,583,686,587,614,841,645,390,515,801,1098,1202,916,1060,714,530,565,866,1068,830,732,934,1488,1602,1102,1088,724,727,1322,860,764,796,903,1118,1326,1474,1404,1348,1360,1324,915,1392,1566,1470,1290,791,839,928,839,666,532,727,860,584,519,658,1174,1408,1114,822,694,1016,998,667,799,783,522,420,440,321,261,262,293,295,365,417,480,477,461,597,818,681,496,786,1378,1198,969,1007,1206,1010,769,611,354,491,692,843,863,621,852,1324,1124,725,879,1166,1224,1220,1248,1226,816,897,1164,1634,1190,591,673,832,808,807,985,1228,1164,787,1011,1410,1450,1042,876,943,937,599,476,564,547,836,1010,799,1004,705,735,991,1007,718,755,843,978,935,880,922,716,695,1190,1524,1356,1110,1496,1172,1332,1428,826,402,436,841,1274,1158,663,588,1224,1874,2342,2414,2190,1940,2032,2084,1478,567,592,902,991,838,905,1258,1562,1578,1616,1368,1232,1562,1656,1518,1254,798,881,827,611,587,534,1128,1664,1584,1528,1600,1588,1598,1550,1420,1400,1560,1492,1472,1556,1316,963,926,1080,1238,1192,1068,983,918,921,782,641,683,649,598,1028,1356,1240,1320,1348,1178,1086,1200,1262,1024,746,658,616,686,752,767,727,681,776,926,1184,1212,633,598,823,1166,1138,1416,1384,1414,1332,1154,1338,1370,1262,1386,1582,1990,1336,1290,1400,1478,1372,1304,1126,907,968,1184,1192,1102,1260,915,901,1100,1008,1128,1054,764,637,531,446,444,456,539,626,610,829,1144,1338,1366,1412,1188,624,397,536,951,1294,1190,1234,1166,951,863,959,1122,988,1032,1132,1290,1454,1322,1320,1332,1382,1312,1164,1244,1104,1260,1416,1344,1404,1354,1304,1266,1416,1368,743,600,752,1120,902,910,908,686,477,511,701,1098,1616,1574,1502,1236,999,850,705,566,483,750,1007,1224,1400,1272,1246,1228,1176,1026,955,750,769,1005,1138,1198,742,439,501,478,342,357,284,609,1218,1076,839,1130,1290,1366,1218,1512,1780,1562,1334,1280,1362,1376,1266,1676,1494,835,567,592,644,1116,1590,1712,1418,1114,1168,1566,1504,1430,1262,1362,1178,1080,818,1106,1096,828,789,702,670,636,510,411,293,294,328,331,538,775,553,329,313,298,364,647,842,475,430,362,387,724,1270,1056,591,567,828,813,1050,1382,1328,1210,1510,1202,761,766,1002,1062,1038,646,365,346,644,1294,1744,1688,877,985,1140,788,887,1166,1036,1292,1482,1296,1078,971,1246,1520,1130,929,788,985,1186,1612,1418,718,524,713,799,682,684,900,711,838,707,623,597,813,1438,1692,1808,1596,1088,1030,1032,979,975,662,829,903,483,474,644,919,806,1030,1134,663,525,673,780,952,1792,1866,982,680,457,471,550,651,866,880,533,462,807,888,1234,1044,905,1010,577,339,333,335,525,937,1078,590,379,360,350,361,573,794,771,527,552,990,2036,2096,1034,434,328,590,962,1400,1124,551,421,425,389,368,345,387,553,636,527,380,419,470,486,453,418,424,441,463,691,755,465,439,372,323,296,244,244,292,337,331,364,312,378,476,533,504,487,614,880,1032,1058,1042,1054,1034,842,659,763,1162,1116,949,1252,1250,1068,1168,1294,1098],[561,713,753,556,487,575,771,573,1050,1694,1003,460,392,383,512,640,616,459,407,960,1482,958,689,521,386,338,625,864,623,333,275,380,536,318,419,586,554,434,620,604,713,971,1476,1278,1222,1372,1288,1018,860,952,932,576,281,383,412,346,415,738,652,361,388,413,482,826,1000,1250,814,689,668,766,966,933,566,366,581,714,826,971,618,757,1090,879,625,524,474,448,279,542,868,629,546,1042,786,527,703,844,1200,1182,1308,1354,1154,915,566,664,1064,1012,1260,1166,1030,1172,1336,1110,880,875,966,1080,1148,1230,1316,1258,1008,721,489,577,894,814,799,502,358,423,524,761,1042,1060,1202,1324,1168,1158,1160,1108,1048,1216,1244,1032,914,721,460,546,473,337,380,439,550,651,610,566,582,907,1018,821,722,795,913,1140,1080,773,496,613,845,1150,1015,1002,1118,1206,1320,1302,1388,1330,1268,1492,1420,1238,1094,1086,1284,979,818,796,669,653,613,789,1200,815,784,1040,1128,1130,1302,1340,1298,1094,628,539,637,1058,1162,1228,1368,775,878,1296,1436,1316,861,1172,1432,1296,1514,1272,1470,1202,1592,1378,1118,795,462,442,399,361,657,648,462,880,1154,830,735,758,767,788,951,1044,1154,886,436,447,758,1058,1138,1092,911,1312,1356,1184,1056,1440,1960,2178,1924,1322,714,939,1250,1332,1150,1028,1140,1378,1722,1286,1017,974,831,775,719,515,259,236,407,516,776,776,688,814,712,714,1314,1278,789,700,583,377,497,476,407,697,1154,1210,933,620,406,483,568,540,562,454,474,890,735,533,971,939,711,811,837,714,800,1236,1166,606,321,325,586,593,1046,1098,839,759,763,882,1322,1244,881,890,932,1072,1286,1352,1530,1544,1638,1324,1080,989,910,910,918,1092,1256,1100,803,1022,1282,1230,1132,1054,1062,1024,1246,1456,1518,1448,1606,1682,1220,992,742,522,709,934,946,825,866,953,979,1114,1054,808,1064,1160,715,1054,1001,935,747,859,766,505,681,859,862,996,951,930,881,1062,1382,1088,542,852,760,522,821,1510,1584,818,457,305,300,424,656,799,514,402,707,1132,1250,1184,1120,1146,983,817,735,1034,1013,807,708,857,1448,1564,1810,1686,1264,1028,800,1330,1248,800,786,747,1038,1410,1328,1020,593,422,821,1184,1024,1040,1356,1460,1244,1024,1178,1306,1302,1104,991,1034,1218,1318,1278,1278,1236,1096,925,1026,1174,1254,1220,1220,1330,1244,1036,960,833,1142,1202,1086,1060,1060,1070,1354,1300,1156,1654,1806,1494,1584,1366,1180,875,990,1462,1392,1032,1112,1148,995,1072,979,813,1038,1300,1406,1428,1092,1398,1396,1140,1198,1118,818,894,1044,1138,1023,1140,1156,1106,984,1100,1050,1098,1186,1352,1368,1284,1238,1100,951,990,1268,1228,1200,1180,1284,1376,1884,1896,1252,1274,982,871,879,1042,1112,1208,810,954,1106,1019,1084,1106,1092,1104,1132,1080,982,1064,970,1054,1460,1300,1108,727,714,1114,1148,1166,1432,962,1144,1250,1362,1724,1864,1506,977,910,1304,1640,1672,1490,1450,1592,1676,1434,1284,1412,1664,1636,1394,1116,1032,1112,1146,1158,1192,867,884,900,1066,1146,1056,1088,994,1136,1164,919,1048,1252,1236,1174,1172,1328,904,441,373,514,560,694,869,913,1052,1818,1066,741,385,379,400,359,345,401,401,420,494,554,557,448,340,437,818,763,532,363,337,332,326,314,301,315,339,346,325,335,428,471,465,601,592,535,522,697,787,1032,1318,1144,833,500,684,1138,1438,1454,1540,1316,980,985,1023,1164,1174,874,1036,1304,1202,785,1090,1100,1282,1250,934,913,811,508,770,1102,1184,1244,1162,1446,1404,1224,1218,1416,1360,1076,935,792,608,869,1220,1320,1280,1264,1044,807,688,1066,1178,1494,1418,1258,1214,1130,1250,1310,1392,1454,1328,1644,1022,961,1456,1324,1190,1290,1198,1062,920,907,1184,1278,1252,853,1346,1450,1100,1020,1358,1310,1172,1346,1344,1156,917,1054,1023,1068,1118,841,811,803,825,892,1066,1040,857,836,745,642,501,514,745,1032,1118,1108,1036,1108,1158,1204,1268,1392,1540,1560,1054,998,1054,1100,1036,1168,1158,1244,1428,1406,1406,1346,1296,1644,1848,1494,1294,1426,1432,1514,1462,1384,1336,1154,774,736,1040,1046,866,755,976,1136,1304,1648,1652,1552,1386,1254,1176,1090,1036,1036,806,828,721,618,695,840,863,1616,2044,1488,1226,1266,951,722,716,747,1019,1122,1062,1032,1264,1312,1262,1254,1238,1222,1142,1102,1116,1228,1442,1718,1638,1106,1050,918,522,502,582,583,439,760,1036,798,759,769,673,677,852,1192,1268,1164,1106,1328,1636,1378,1036,922,993,1084,1242,1126,926,954,1060,929,932,1306,1234,752,1074,965,683,546,394,338,578,960,1358,1372,1046,832,920,1158,1072,786,733,608,465,502,843,1044,908,689,717,976,1070,1044,1156,1368,1534,1352,921,1023,1196,1192,1246,1454,1412,1168,1122,1360,1538,1554,1478,1450,1794,1666,1370,1262,1102,1218,1084,638,473,648,613,706,623,594,532,509,502,628,620,485,501,767,1104,1324,1080,767,814,992,817,494,400,326,260,315,367,447,520,760,743,589,537,849,768,541,1092,985,508,541,772,835,873,991,1086,1034,1172,962,1034,858,666,1072,1178,750,367,846,1188,1294,1176,741,502,482,389,651,624,520,438,399,394,352,342,348,348,332,297,283,404,511,483,391,348,284,360,486,476,526,337,205,210,272,340,636,795,874,1316,1328,1122,1044,1028,1042,783,667,719,897,617,487,456,578,598,586,394,411,672,1004,876,608,453,397,388,317,661,1118,1008,716,653,526,711,802,578,839,1396,1378,1128,964,932,872,509,535,872,976,948,812,946,852,379,364,737,882,1152,1294,1042,800,1090,932,503,634,635,302,305,466,541,770,1064,986,565,944,1106,751,1098,1592,1516,1320,1272,1290,1156,1348,1626,1522,1224,1340,1210,1038,979,1152,1266,797,566,662,478,522,886,1152,1098,1128,1608,1788,1726,1324,1090,1604,1722,1592,1488,1370,642,377,276,355,322,264,266,276,369,457,397,379,358,345,386,393,296,387,857,1036,987,720,694,746,750,642,332,388,705,978,1036,886,651,850,1068,1038,982,1052,1324,1438,1230,1154,1034,1444,1304,1282,1378,922,548,648,851,1168,1252,1500,1300,830,1058,1400,1356,1084,724,926,1011,816,1026,948,659,653,825,1122,1030,919,1003,825,681,528,614,962,1018,815,656,709,786,978,1186,1454,1538,1404,1438,1050,1116,1534,1166,498,392,490,687,843,869,711,1316,1808,1808,1880,1536,1302,1626,1536,1276,720,1122,1528,1488,1448,1432,1682,1640,1132,905,1124,1530,1762,1698,1362,757,491,406,369,449,479,515,1004,1580,1654,1678,1746,1714,1588,1550,1338,1384,1482,1312,1372,1606,1350,1058,1176,1230,1218,1140,1112,975,769,763,743,581,491,508,634,841,1034,1068,1236,1212,1146,1134,1162,1234,1023,766,662,662,726,774,841,862,833,1100,1542,1242,811,684,814,1018,1186,1278,1412,1396,1176,1064,1082,1268,1302,1278,1398,1320,1520,1350,1416,1410,1198,1074,1088,991,1026,1238,1236,1074,960,1182,980,881,1124,1032,979,865,711,749,806,763,548,591,706,936,795,944,1166,1356,1286,1240,1050,737,571,631,1170,1376,1018,1216,1124,884,658,774,1026,1050,1074,932,923,923,973,1202,1258,1376,1288,1374,1318,1122,1208,1324,1516,1520,1620,1670,1518,1518,1172,604,616,923,1194,1186,1058,670,401,415,487,545,737,1216,1478,1162,1152,730,639,703,546,753,1194,1134,1028,952,862,850,939,1252,1216,1160,1248,1038,724,883,1034,677,368,471,518,353,349,361,738,929,924,821,1062,1114,1472,1466,1230,1312,1414,1394,1268,1302,1434,1358,1402,1450,1280,877,506,609,1300,1940,1638,1192,926,1050,1504,1426,1510,1598,1640,1274,1130,1142,1534,1588,937,644,530,586,684,638,513,355,292,265,258,390,549,524,371,325,323,373,719,789,516,395,422,415,547,563,396,388,546,561,553,652,863,1302,1316,939,783,567,560,771,1240,1148,551,680,1016,961,1180,1288,1162,698,975,878,654,630,661,886,1108,1214,1152,1074,954,1136,1228,706,543,669,915,1176,1044,763,1078,1098,697,855,827,920,1148,1492,1458,1178,1054,1158,1290,1676,1582,1284,1326,1238,781,800,675,592,485,488,438,342,446,698,656,685,1346,1544,729,597,758,661,723,677,603,1268,1372,620,430,530,761,1118,941,504,453,951,950,965,935,752,540,305,317,296,442,806,1284,1366,738,397,473,459,442,666,1086,1132,714,595,1092,1924,2474,1758,823,479,555,985,1296,1246,952,460,409,372,357,362,427,562,658,524,371,359,369,434,421,384,384,376,403,542,727,485,485,636,523,462,451,482,552,743,869,1036,738,664,670,554,494,534,709,828,681,634,909,988,847,541,566,557,728,734,991,1444,1404,1588,1734,1528,1076],[555,626,783,700,554,576,601,511,661,877,655,467,432,440,414,492,666,498,511,1346,1432,699,590,724,757,748,754,912,708,445,437,702,850,596,862,896,518,378,713,959,733,875,1154,1180,1466,1438,1068,998,948,1052,642,417,337,369,448,617,817,858,575,321,410,377,380,667,729,1208,1154,1076,832,805,1044,1054,742,574,811,1260,1362,1005,623,617,930,1178,1126,694,508,418,330,323,516,531,477,610,755,570,418,459,830,885,1048,1212,881,547,345,692,1252,1102,976,859,1050,1220,1448,1344,1160,1086,920,936,1324,1206,1040,1060,1078,742,555,613,749,645,480,427,358,444,570,752,1064,1005,1128,1290,1402,1650,1636,1266,1062,1086,937,736,572,580,550,494,369,369,402,492,554,783,666,394,420,519,739,871,848,824,1124,1238,1260,919,521,540,898,959,860,1052,1136,1182,1222,1282,1262,1126,841,988,1188,1306,1264,1106,1072,1002,1084,1138,1120,891,962,777,662,496,740,958,1138,1216,1336,1234,1070,1116,959,825,695,1132,1082,1292,902,587,1060,1234,1210,1046,1012,1692,1540,1108,1019,1370,1242,1184,1398,1190,962,516,609,880,536,378,577,593,624,1462,2020,1678,693,399,550,782,1180,1206,975,640,532,705,818,698,992,1148,1150,1350,1432,1306,844,998,1614,1682,1866,1554,927,849,1102,1314,1200,986,1188,1256,1256,986,794,669,502,404,290,290,262,422,734,866,774,661,726,940,755,621,940,1186,916,733,594,458,429,443,655,890,1352,1328,1206,836,391,415,481,389,352,261,337,429,344,484,830,1013,1042,854,659,477,606,1060,828,453,294,298,334,673,1046,939,736,939,798,749,1334,1132,854,802,795,915,1206,1484,1606,1632,1518,1278,1032,789,756,1044,750,691,887,783,811,897,775,893,868,877,1252,1462,1620,1446,1296,1072,1248,1648,1466,1128,964,747,617,832,914,1074,1078,946,1080,1148,573,299,606,1222,1284,1158,1236,1152,1012,929,607,553,615,910,771,772,988,1138,1316,1444,1252,841,610,416,341,726,1140,1340,1118,680,333,250,355,439,620,794,570,568,1004,1192,1108,988,1126,938,930,1062,1096,1013,789,701,647,852,961,752,748,687,638,564,476,433,775,1208,1338,1472,1590,1494,1288,1088,776,581,774,1316,1460,1414,1652,1810,1686,1354,1046,1168,1262,1368,1492,1374,1436,1532,1606,1350,1274,942,606,680,902,1344,1190,1346,1478,1232,1132,910,808,1146,1390,1180,990,850,922,1290,1270,1408,1494,1032,1140,1288,1410,1396,1208,1138,1070,1012,952,1122,1186,1236,1250,1108,1158,1432,1526,1636,1652,1466,1700,1858,1024,1048,1262,897,918,973,1244,1001,962,935,942,1086,1184,1220,1258,1218,1352,1184,1058,1030,1021,1006,1120,1274,1142,1078,993,1066,1284,1402,1548,1450,1070,933,1136,1208,1288,1376,1098,622,783,950,1020,1164,1192,1098,1102,1218,1306,1282,1318,1064,1030,825,681,826,805,946,1618,1512,1164,1380,1172,1328,1748,1698,1624,1700,1588,1542,1396,1290,1512,1704,1620,1662,1522,1346,1542,1490,1684,1626,1256,1146,1226,1192,1610,1538,1196,1018,968,799,771,1268,1078,926,1148,965,1096,1520,1444,1276,1126,893,1015,918,969,900,525,481,564,888,1156,1222,1208,1136,1360,996,959,664,795,586,379,418,601,818,680,404,432,441,436,576,531,830,823,588,410,346,334,337,326,327,328,326,321,341,346,465,514,484,495,573,568,717,1350,1512,1202,1418,1164,708,489,495,752,1168,1422,1508,1312,1042,948,1106,1218,1112,812,978,1286,1012,802,1122,1007,1248,1340,1046,1098,1094,791,1050,1252,1374,1068,1156,1134,1284,1126,1312,1236,1224,1238,1274,1058,816,1312,1476,1586,1484,1420,1326,1068,641,916,1214,1438,1392,1354,1416,1296,1200,1228,979,1012,1156,1084,1054,1158,1278,1606,1714,1244,1078,1234,1202,1005,1144,1186,1270,1144,1358,1182,855,806,904,738,833,1220,1166,1024,988,1096,1004,1017,1006,864,1080,1060,1240,1286,1176,941,1066,955,622,592,648,685,667,1074,1214,1007,1184,1346,1432,1378,1160,1284,1424,1366,1044,1238,1224,1232,1470,1460,1168,1362,1444,1094,1096,1414,1384,1460,1554,1342,1270,1536,1508,1246,1238,1278,1160,1244,967,643,902,1196,1138,1154,1108,1244,1372,1556,1414,1058,1056,1021,805,645,819,1001,711,558,816,861,954,897,846,1322,1542,1376,1408,1356,1088,736,792,643,782,996,1166,1070,1052,1050,1064,1132,1138,1236,1252,1178,1074,1288,1470,1542,1620,1338,1382,851,445,600,879,905,722,1308,1740,1384,1013,824,812,630,614,1402,1566,1100,966,937,1262,1384,1372,1246,1204,1132,1264,1250,1172,1156,991,786,866,1498,1152,873,983,728,564,540,457,436,714,1168,1382,1266,1020,957,1002,1122,847,904,908,521,407,443,546,563,570,672,743,812,1046,1278,1162,921,1192,1434,1294,1242,1092,1064,1302,1432,1256,1042,1068,1412,1268,1456,1510,1272,1754,1848,1554,1088,790,1098,1134,908,645,932,821,931,598,520,554,469,438,680,781,611,873,1160,999,1340,1158,919,991,854,584,463,482,393,371,489,502,425,468,688,702,555,403,794,765,506,999,1124,694,790,705,884,996,1264,1490,1114,872,1032,1072,729,1008,1750,1878,1078,395,896,1598,1272,742,480,379,454,429,543,513,444,441,446,399,337,341,312,354,320,291,286,502,569,504,598,659,486,405,332,430,510,333,253,210,228,259,650,805,1118,1654,1358,1050,1034,961,986,1176,1268,1244,1258,778,580,636,479,239,328,379,391,675,1086,1138,846,555,602,573,423,586,946,882,706,671,684,968,988,397,578,1204,1546,1402,999,820,1070,962,711,839,1126,1246,880,1036,618,334,317,525,857,1022,1066,886,947,1404,1062,487,584,404,343,348,375,414,694,1104,761,441,753,906,1020,1132,1262,1010,1292,1270,1144,1304,1192,1242,1270,1052,860,835,1011,1258,1178,791,494,468,488,427,484,678,1220,1306,1310,1412,1754,2088,1668,1544,2186,2164,2104,1728,1564,1042,655,481,427,371,357,338,334,364,346,319,428,403,376,378,380,369,646,900,766,532,738,935,966,960,1066,653,641,1048,993,985,956,763,1038,1232,1238,1088,1044,1250,1200,1156,1170,1244,1566,1244,836,1078,1108,549,497,991,1276,1078,887,796,666,772,789,728,696,565,573,686,752,1188,1364,783,567,952,1112,1088,1126,971,594,443,520,857,1098,911,777,764,833,794,857,1130,1438,1594,1462,1366,1230,989,1388,1138,570,391,562,742,886,830,686,1140,1376,1328,1716,1664,1566,1874,1504,1292,1054,1430,1466,1516,1714,1714,1414,865,515,473,854,1520,1582,1546,1116,881,1034,664,353,412,446,495,891,1576,1766,1812,1700,1592,1540,1516,1388,1556,1622,1382,1376,1550,1240,1124,1264,1340,1184,1002,830,763,739,794,780,755,734,737,730,550,805,1040,1202,1192,1172,1156,1100,1244,1072,802,872,890,815,976,1220,1182,1072,1100,1122,865,801,667,888,1020,1142,1272,1346,1506,1156,1064,1056,1170,1266,1256,1386,1470,1526,1484,1232,1078,1102,1168,1046,985,1158,1176,1032,952,918,1220,1000,894,1072,968,929,824,542,758,885,907,539,556,1074,1324,1038,914,1054,1318,1274,1034,929,960,830,764,1272,1294,1252,1252,1064,838,545,552,786,1126,1076,808,820,811,877,1092,1284,1422,1190,1224,1360,1278,1240,1496,1588,1394,1462,1484,1426,1328,1188,948,875,982,984,1002,949,516,405,422,328,394,536,1456,1718,978,811,763,669,771,720,740,1036,1132,999,693,598,613,758,1126,1400,1560,1278,771,564,656,618,429,325,350,372,511,979,798,821,786,644,667,688,794,1198,1242,1144,1252,1304,1252,1376,1342,1278,1294,1252,1286,1224,1100,1104,819,1054,1438,1146,938,678,735,989,1186,1190,996,783,788,1062,1274,1664,1628,821,505,735,1096,1278,1044,623,348,294,275,263,296,307,292,288,311,321,413,1210,1460,925,437,416,425,399,324,350,473,634,532,575,895,1424,1422,1066,806,733,543,409,535,833,766,655,1224,1104,1350,1416,1148,976,990,874,759,818,661,826,1118,1090,1092,1188,1184,1076,1178,997,723,708,736,1018,1252,836,661,1220,1406,1150,1320,1208,1232,1242,1466,1702,1572,1526,1672,1880,2148,1526,1252,1534,1274,651,623,482,609,1007,716,312,399,408,511,687,952,1200,1100,600,622,719,654,573,336,576,1182,1412,777,754,711,868,1300,1184,772,782,918,667,684,680,623,654,1070,792,415,487,935,1214,1122,836,713,977,729,428,703,1262,1190,1005,833,1558,2304,2686,2140,1282,744,486,571,612,1005,1080,576,399,359,323,344,390,448,510,493,414,344,325,368,399,373,358,360,421,491,659,556,358,434,451,402,337,272,312,915,1208,1156,778,612,497,369,364,346,553,772,583,523,808,844,717,617,805,673,502,509,838,977,970,1164,1180,1198,949],[427,470,651,818,687,578,489,445,487,517,474,423,411,425,433,539,719,702,680,1250,872,572,865,828,733,1024,1312,1198,838,647,550,957,684,688,908,707,506,719,1168,1172,682,749,1112,1164,1752,1482,994,547,825,786,412,402,395,291,466,872,988,893,485,625,777,490,334,559,899,1280,1424,1346,938,740,1114,1478,1284,1072,1168,1268,1352,1282,819,531,680,1108,1140,1108,952,537,392,311,486,802,844,974,1138,809,462,369,526,727,952,1078,946,468,332,765,1460,1174,683,540,654,1046,1490,1470,1502,1318,1146,1074,1420,1240,918,1086,1046,785,795,645,608,835,767,467,353,412,554,750,861,716,951,1282,1538,1892,1928,1336,994,1068,747,470,399,428,397,380,360,331,327,351,713,1088,645,406,335,382,642,919,902,833,1082,1160,1250,1054,693,607,900,922,919,1068,1368,1326,1128,1178,1196,1076,975,792,766,1114,1450,1396,1234,1318,1376,1172,1036,1214,1042,842,519,508,729,984,1186,1048,1002,1200,1368,955,1180,1072,919,1032,1268,1088,534,451,643,816,894,1106,1532,1502,1370,1260,1092,1296,1168,1386,1304,1216,794,434,848,1132,487,348,378,427,546,830,1224,1052,566,454,765,1290,1422,1272,624,356,529,1358,1534,1074,1020,1174,1324,1556,1498,1276,1118,1144,1450,1556,1672,1248,1494,1140,1296,1272,885,873,1266,1394,1110,765,629,502,399,327,404,759,803,874,839,899,1030,1012,1026,1162,1116,1010,958,1184,952,791,578,415,363,450,919,1394,1410,1122,939,743,543,478,431,360,382,354,335,280,280,339,634,1094,899,701,903,619,637,1042,730,346,271,293,381,790,1070,922,986,1156,662,783,1488,1362,1184,971,1274,1644,1570,1606,1438,1150,1264,1320,969,1180,1078,1172,735,675,598,623,1050,888,771,1198,1098,840,1232,1460,1578,1438,1230,1132,1136,1286,1506,1602,1372,804,700,1094,898,859,926,1148,1208,857,394,301,393,708,998,1208,1146,1020,972,1036,558,463,474,763,772,797,1038,1154,1418,1512,990,910,666,518,523,908,1430,1196,754,541,354,269,281,354,443,333,538,1220,1454,1042,698,893,1052,985,1084,1194,1106,871,599,565,670,724,673,513,483,385,357,333,442,523,949,1232,1040,1176,1168,1246,1284,1132,955,1056,1292,1816,1824,1616,1770,1716,1422,1250,1116,1282,1162,1280,1214,1164,1190,1278,1352,1372,1386,1206,1108,1019,793,1028,829,974,1260,1412,1466,1134,1210,1374,1138,922,968,916,794,1030,1294,1654,1426,1116,1294,1376,1366,1284,1412,1354,1120,1246,1324,1336,1158,1248,1158,1246,1362,1428,1658,1856,1828,1368,1382,1582,984,1156,1174,1328,1274,1212,1172,1058,828,498,536,952,1288,1356,1414,1290,1180,1102,1010,1056,1184,1013,1164,1154,899,905,931,1082,1116,1142,1274,1542,1116,1072,1208,1348,1540,1538,1104,1012,974,862,1192,1196,1180,1152,1128,1158,1176,1236,1024,823,946,825,754,866,742,747,1226,1266,1282,1672,1578,1338,1486,1266,1124,1460,1676,1642,1084,1184,1528,1464,1642,1496,1226,1500,1636,1546,1462,1086,689,767,1088,906,1324,1170,902,1030,1001,613,690,1106,846,753,981,844,765,907,990,1050,761,500,984,1028,1146,1184,1034,882,783,1005,969,1084,886,989,636,908,1124,986,897,535,418,492,676,988,783,426,395,389,421,696,684,817,872,703,534,398,352,353,337,338,342,376,392,434,401,399,438,427,462,473,477,774,1224,1256,1280,1330,1224,648,375,623,839,886,937,1164,1294,1170,1234,1248,952,725,782,1074,1150,948,1009,1030,931,975,1158,1374,1290,1116,971,1026,1196,1310,1068,865,825,971,1076,1300,1260,1184,940,786,938,816,939,1308,1688,1472,1290,1318,1188,929,1050,1342,1604,1540,1340,1150,1152,1354,1268,736,823,1074,1046,786,811,957,1088,988,827,982,1444,1290,1038,932,1044,1270,1098,1038,993,1130,1288,1232,951,700,1001,1136,912,1308,1256,968,1182,1138,1038,1234,1726,1798,1210,1166,1112,1236,1096,659,542,762,839,898,1222,1214,1156,1182,1266,1332,1148,1144,1180,1610,1220,852,1017,1110,1306,1448,1226,1064,1156,1238,864,673,1020,1290,1346,1250,1360,1306,1314,1262,1230,1408,1308,1230,1522,998,651,868,1208,978,829,947,1170,1266,1472,1252,653,861,1046,844,791,731,836,636,775,1013,1076,1322,1176,988,1164,1180,1316,1356,1306,1268,1240,1312,883,817,847,872,962,1042,724,730,857,1202,1350,1742,1456,1318,1584,1890,1716,1598,1220,851,740,793,916,885,796,899,1720,1720,1608,1052,835,852,898,1198,1372,1202,1110,863,651,980,1198,1438,1376,1284,1222,1172,1021,996,1000,816,837,868,1506,1110,828,949,869,747,572,459,659,952,1140,1198,1114,1100,1188,1176,1244,1126,1472,1202,572,404,454,454,473,615,805,795,1034,1406,1374,1068,841,1240,1246,913,614,450,714,1296,1504,1286,1336,1938,1890,1204,1290,1258,1246,1870,1874,1462,1058,923,1482,1186,901,695,839,936,1480,1180,710,691,643,442,392,423,524,791,935,929,1850,1456,1304,1162,683,467,558,703,607,603,667,419,383,703,833,631,390,362,547,462,432,1154,1394,876,1202,939,1158,1184,918,1216,1138,1222,1356,1100,932,1186,1172,1015,734,444,439,359,178,224,336,379,403,429,411,436,493,443,394,386,396,377,341,391,363,304,356,487,520,537,769,939,766,466,383,485,377,263,279,290,247,273,590,718,963,1224,1112,1140,1054,878,939,1396,1506,1026,774,580,692,1074,760,338,397,505,501,800,966,1222,1150,920,1052,1056,783,582,704,746,504,466,781,1100,923,430,633,1009,1394,1604,1422,1164,1272,1612,1650,1492,1110,1396,1234,1396,642,347,338,439,497,334,416,498,706,983,818,462,502,422,396,412,683,763,874,1038,797,488,574,1048,1636,1382,797,894,1160,1212,1166,1180,1290,1294,1266,1122,935,999,1216,1170,700,586,567,517,441,334,544,854,1284,1400,1186,1100,1240,1172,1140,1468,1538,1344,1040,962,1288,1020,686,744,419,340,504,637,630,544,395,432,554,472,369,279,219,407,1007,1428,973,562,1001,1566,1410,793,865,980,1230,1284,781,752,953,1084,1282,1438,1376,974,861,1208,1232,1074,951,948,924,809,649,800,941,597,663,1005,747,575,421,362,412,462,648,683,513,596,697,776,823,814,1001,978,867,1274,1212,1102,1250,1009,697,651,671,834,980,780,609,839,851,692,798,1196,1540,1594,1512,1348,1094,607,799,810,671,714,779,806,844,685,637,1040,1098,681,1402,1660,1368,1386,1428,1278,1290,1318,933,1052,1416,1206,700,544,548,492,708,1342,1490,1520,1362,1232,1222,839,434,435,444,524,902,1516,1606,1322,1394,1616,1622,1458,1432,1514,1542,1510,1484,1246,1138,1216,1350,1374,1104,954,838,728,767,967,1116,1066,1184,1028,793,755,927,1128,1248,1228,1176,1134,1122,1278,1188,1012,1246,1088,879,904,912,1006,980,926,899,814,687,770,1032,1078,1146,1154,1186,1286,1278,1224,1144,1408,1442,1376,1476,1422,1378,1282,961,1062,1212,1206,1156,1156,1162,1050,1118,1282,1444,1328,957,971,1036,949,812,764,634,877,954,1122,713,461,1048,1146,752,644,889,1390,1212,1018,968,1178,1106,1006,1152,1160,1302,1096,737,515,404,434,805,1398,1290,1080,762,632,1054,1164,1386,1464,1128,1096,1234,1248,1466,1620,1334,1412,1452,1372,1288,1476,1412,1200,1018,960,996,924,1198,680,468,422,280,307,505,1620,1346,551,806,1212,923,681,866,1166,1098,1362,1404,1224,805,722,924,1030,1454,1654,918,510,702,960,845,528,325,318,285,424,1056,1240,1100,984,999,1080,1052,1021,1208,1248,1208,1132,1226,1110,1200,1260,1362,1336,1252,1402,1394,1312,1836,1013,576,523,424,371,379,672,944,1094,941,941,1042,688,1302,1848,1418,1044,607,423,720,1058,1354,1250,789,437,339,289,269,254,232,253,276,264,271,359,759,1380,1046,474,444,467,619,430,395,611,818,713,794,1128,1656,1706,1146,851,852,586,394,500,691,758,969,1208,1480,2004,1570,1142,1308,1352,1012,821,813,685,949,1214,1124,1060,968,901,1096,1350,993,1048,1232,832,696,572,465,742,701,686,794,1190,1368,1228,1102,1242,1350,1246,1188,1254,1392,1762,1468,1380,1470,927,483,581,606,1066,1588,1098,405,364,401,501,719,954,961,695,557,531,455,418,311,332,394,435,799,775,595,433,749,1180,1062,847,922,844,664,1007,1078,971,766,987,767,520,557,927,904,819,1104,1116,1326,1034,611,480,860,1212,1366,1200,1168,1634,1926,1548,1248,938,485,413,532,636,636,605,477,342,342,319,325,372,403,454,366,323,310,316,374,388,367,362,358,398,541,487,322,315,284,231,215,229,261,763,1136,1238,965,730,532,394,364,436,517,628,526,466,812,1030,847,1004,1122,769,860,1084,1136,923,869,1016,1470,1350,841],[405,407,452,675,778,672,610,660,561,413,367,359,335,380,434,479,576,721,750,810,576,716,1132,968,724,1310,1514,1150,777,712,828,968,854,593,401,607,836,954,1294,1190,648,827,1098,1320,1286,1228,865,408,780,713,406,468,427,315,498,855,788,711,885,1384,1266,884,683,751,1070,1192,864,824,657,627,1032,1278,1296,974,1070,1110,1376,1328,1162,946,869,1110,1230,1270,1162,932,557,353,475,740,933,1270,1370,988,491,572,895,1052,1232,1154,1100,642,330,696,1110,1026,528,525,633,1186,1290,1370,1424,1112,1128,1128,1134,1172,1240,1208,1001,900,526,304,356,476,414,329,331,384,409,461,498,498,840,1362,1416,1544,1514,1058,1001,1158,854,601,429,376,376,363,359,343,317,463,976,849,444,398,304,571,1013,1240,1028,996,1108,1110,1044,1000,888,675,891,1108,1122,1526,1770,1322,1124,1172,1076,1124,970,703,839,1188,1164,1454,1448,1374,1376,1222,1056,1214,942,638,464,419,555,880,1228,1196,1068,1382,1410,877,1044,1074,1300,1528,1286,656,441,437,437,518,657,1210,1406,921,943,886,717,690,976,1064,1148,1180,634,535,554,561,364,368,356,349,346,347,611,914,789,558,879,1252,1354,1300,669,600,673,1426,1436,1244,1282,1198,1202,1516,1408,1262,1526,1388,1344,1376,1474,1374,1590,1194,1222,1390,1116,982,1284,1372,1110,1078,1068,616,426,294,666,1082,1028,990,956,713,926,1294,1216,1262,1156,930,1052,1366,953,704,583,410,374,689,1294,1586,1416,1162,964,796,444,363,300,286,290,287,282,271,285,268,443,901,939,538,735,607,683,630,441,374,363,341,516,811,894,763,959,898,739,1094,1222,866,885,1088,1498,1520,1372,1550,1560,1108,951,962,836,1136,1320,1308,813,879,935,767,1048,1142,1026,944,1011,1114,1358,1472,1382,1252,1038,1050,1148,1114,1296,1530,1678,1196,987,1286,1268,1252,684,803,866,563,456,406,415,703,1020,1134,910,766,960,1368,927,938,788,882,888,922,1222,1130,1448,1368,1126,1214,832,828,753,816,1250,859,326,276,282,284,309,595,498,303,563,1354,1664,1200,644,647,1052,1352,1334,1154,1058,1007,875,825,910,840,799,935,778,536,412,331,415,625,811,995,1034,1008,692,1060,1282,920,573,976,1400,1758,1796,1768,1478,1222,1096,1312,1056,989,864,862,1050,1122,1148,1086,993,1080,1260,1376,1312,1290,1034,842,662,1026,1390,1382,1126,1170,1344,1360,1328,1200,1030,777,722,1023,1376,1470,1534,1532,1408,1404,1442,1302,1282,1150,1192,1296,1274,1296,1310,1134,1124,1276,1412,1436,1506,1964,2230,1556,1216,1168,1268,1270,1078,1082,1174,1310,1224,1142,1052,679,675,1090,1260,1262,1330,1076,843,965,1021,1046,1056,935,1116,1078,909,763,811,974,1120,1514,2066,2282,2098,1640,1158,1172,1366,1254,1024,1018,849,894,1290,1130,1166,1438,1242,1148,1208,1024,654,592,986,1188,989,950,932,829,1102,1094,980,1010,1144,1154,1150,1222,1478,1836,1546,1188,987,1466,1634,1512,1496,1480,1588,1420,1306,1378,1474,1338,832,778,1042,784,965,1028,1120,1216,1152,800,634,925,925,884,1040,987,733,1068,1234,1282,948,753,1064,1010,949,1002,1098,1015,957,957,795,974,857,631,475,550,644,750,670,484,426,430,585,971,742,439,369,370,512,815,720,727,914,749,552,462,403,369,340,333,337,366,383,412,383,377,372,334,387,497,514,786,1332,1078,1340,1300,1152,688,445,689,1088,997,625,771,944,948,1150,1178,697,536,1030,1332,1428,1312,1242,1240,1208,965,1290,1554,1670,1656,1506,1038,1290,1546,1284,910,861,962,1084,1302,1486,1252,828,803,1218,1142,966,1262,1434,1348,1246,1196,1144,1176,1300,1434,1152,1114,965,822,1202,1306,1270,920,948,1138,1118,1046,890,615,639,578,538,631,815,669,527,656,949,936,899,1056,1038,1038,912,1038,1172,854,757,1078,921,946,1118,1194,1396,1544,1418,1318,1336,1392,1368,1482,1352,1474,1214,688,568,902,1054,1192,1298,986,977,1011,1108,1036,1600,1030,965,1468,1078,700,639,769,983,1072,1072,947,893,1058,833,717,940,1326,1396,1214,1236,1318,1290,1262,1518,1340,1382,1406,1312,1172,933,1022,967,708,661,854,1128,1226,1440,1462,955,969,1142,1032,1318,872,959,894,724,789,838,887,1126,1204,1082,1092,1322,1228,1244,1268,966,630,777,926,957,897,957,935,617,648,822,1236,1340,1570,1358,1176,1384,1556,1664,1636,1124,833,626,708,1005,891,886,952,1054,1094,1162,747,707,1008,1106,1102,1136,861,537,381,885,1310,1088,1038,1282,1400,1406,1192,807,527,736,641,511,436,662,951,778,877,1026,894,506,443,834,993,938,1182,819,1005,1154,1106,1188,1258,1274,851,438,398,425,472,625,609,663,857,1296,1466,1302,1130,1168,1240,1030,603,525,612,811,1274,1412,1522,1474,2570,2750,1688,1384,1090,1042,1544,1422,1318,1278,1496,1480,1232,1072,623,739,1216,1622,1380,922,922,1016,835,525,428,442,490,555,698,1260,1030,1154,1023,706,836,833,606,743,908,692,308,327,468,458,571,984,1034,547,434,691,1236,1536,1040,834,814,932,952,1014,1120,930,891,1130,1156,1210,1180,957,926,1001,650,412,441,465,392,392,413,340,349,364,430,413,376,283,352,444,404,375,412,395,398,436,437,470,580,835,940,872,511,527,644,503,341,299,330,287,342,563,627,870,963,923,792,636,876,1150,1478,1450,960,656,514,599,644,307,361,904,1370,1018,666,872,1114,1074,1070,1418,1594,1094,839,660,503,328,362,667,901,786,597,525,746,1172,1426,1528,1466,1478,1322,1366,1506,911,1172,1432,1262,631,364,381,401,375,319,315,362,529,890,759,468,616,683,561,678,1172,1496,1366,1300,1294,1066,593,965,1658,1340,731,1102,1166,895,1108,1348,1392,1498,1458,1344,1208,1236,1100,1058,628,542,486,445,582,763,796,944,1040,913,935,1056,890,655,771,981,730,635,631,1064,1592,1076,546,772,533,399,476,572,638,533,402,431,463,444,358,291,224,342,791,1350,1110,648,690,1606,1382,1084,946,921,1202,1122,709,783,985,774,1140,1340,1148,909,1290,1666,1338,1030,1040,809,641,824,768,518,545,567,561,673,564,442,348,362,372,551,1078,1270,852,1228,1100,1440,1186,808,890,1120,1332,1208,891,1202,1064,776,784,836,595,739,943,770,716,875,941,1238,1672,1832,1742,1518,1370,1306,843,467,563,705,1208,1532,982,552,655,604,643,1046,1058,571,905,1352,1252,1258,1456,1200,1220,1296,926,1284,1516,862,576,565,568,468,724,1288,1390,1566,1586,1286,1306,959,601,574,586,561,1118,1452,1300,1278,1838,2072,1870,1892,1846,1676,1732,1800,1282,965,1098,1566,1632,1174,730,730,737,705,813,978,1256,887,648,793,757,972,894,935,1044,1100,1116,1122,1164,1268,1190,879,943,982,930,808,850,857,739,680,795,926,893,976,1164,1158,1106,1152,1102,1210,1460,1476,1404,1572,1532,1392,1394,1466,1484,1338,1096,1238,1192,1166,1192,1108,1036,967,1002,1260,1478,1382,1318,1188,1028,1116,1146,1078,970,877,917,980,778,665,786,911,582,572,990,1360,1152,1220,1174,1180,1142,1152,1176,1324,1326,1001,858,556,465,588,1116,1322,1170,1226,871,908,1218,1180,1282,1242,1070,1024,1036,1296,1400,1192,1250,1464,1366,1220,1308,1502,1380,1180,1116,1104,1152,941,1196,879,929,810,478,464,479,644,777,836,841,1194,1130,910,766,1142,1168,1132,1358,1384,1214,1110,1078,1058,1476,1766,1290,609,661,730,857,756,613,453,396,358,595,934,1190,1182,1320,1276,1180,1076,1009,1174,1342,1260,1238,1084,1134,1384,1442,1406,1342,1452,1368,1182,1574,888,412,345,357,361,624,912,1007,1186,1002,715,656,510,1196,1426,1060,610,372,373,412,519,865,1302,1266,622,342,299,336,307,279,267,245,265,284,354,783,1234,824,461,455,743,1346,1128,672,1066,1376,1180,1288,1394,1458,1258,768,838,849,606,483,733,1144,1272,1362,1256,1592,1792,1352,1256,1378,1516,1214,845,542,482,832,1096,1126,1120,1090,674,871,1268,935,1036,1244,1080,1050,887,845,880,510,328,671,1196,1368,1150,1126,1288,1088,1134,1270,1148,976,1404,1366,1142,933,727,617,829,1162,1017,772,898,640,355,365,465,733,1342,1454,961,717,477,361,334,267,334,424,422,540,841,692,315,612,850,658,684,921,651,631,941,1368,1254,737,526,564,626,641,714,557,563,1164,1188,1146,1412,1030,596,741,1116,1650,1576,1052,1116,1030,1152,1042,881,642,356,422,448,447,653,672,382,347,327,344,364,343,373,360,355,325,305,321,318,345,382,373,450,532,368,328,400,382,308,246,237,244,485,1132,1252,694,637,534,748,818,586,456,457,466,466,785,1458,1616,1144,1005,719,950,993,913,857,844,872,1007,773,434],[411,404,400,482,643,695,677,689,715,579,361,379,376,363,481,625,665,648,647,566,483,676,938,896,606,833,1234,919,572,524,833,987,898,816,543,507,649,545,880,1296,1010,994,986,1015,784,947,785,414,433,455,413,396,350,383,528,1118,1200,974,1110,1254,1186,975,647,497,621,812,648,638,621,624,919,1194,1342,1112,995,1036,962,946,1162,1092,894,1005,1240,1106,1306,1066,647,440,505,778,1172,1522,1524,1092,506,725,1012,1152,1200,1150,1058,700,617,1222,2356,2038,583,634,750,1296,1124,1548,1620,1392,1396,1162,1204,1256,1262,1128,985,1142,613,330,295,231,237,266,294,357,342,445,883,998,867,1230,1134,1428,1092,984,1023,1098,1019,800,422,329,344,344,361,374,340,408,747,485,423,451,345,454,863,996,982,1190,1166,1056,1007,1074,975,1078,1260,1132,1198,2200,2358,1610,1438,1276,1166,918,619,602,868,1216,1116,1216,1552,1670,1554,1288,1276,1260,1068,1038,929,719,662,800,1138,1186,1015,1196,1007,916,1032,1070,1364,1526,1106,943,738,487,416,384,560,973,1004,848,581,412,353,471,681,986,1232,592,506,534,591,582,420,313,358,353,371,387,615,984,823,856,888,1088,1064,677,529,648,891,989,930,1248,1300,990,1274,1690,1578,1276,1172,1216,1196,1434,1560,1606,1494,1036,1015,1266,1150,943,1292,1314,1290,1312,1260,944,646,647,1134,1538,1508,1262,1424,1518,998,937,1150,1228,930,838,1042,1298,962,708,588,400,434,855,1086,1094,1168,1084,877,705,394,281,292,245,241,239,273,343,285,264,367,811,842,543,600,672,1012,910,434,466,868,819,1050,965,1088,1144,959,828,921,1146,1116,963,1070,1374,1510,1158,1352,1550,1562,813,549,680,836,1048,1148,801,453,741,987,907,1142,1150,1220,1278,1506,1344,1230,877,904,1140,1126,1250,1230,1136,1290,1202,1264,1510,1604,1600,1450,1312,861,636,514,647,738,680,433,626,897,1156,1166,974,742,852,1092,1184,948,932,792,897,1172,1074,1538,1360,1282,1310,1164,1362,1150,742,914,734,357,368,472,376,464,1132,897,414,402,1088,1482,1206,844,777,1072,1284,1166,1146,1324,1176,1110,807,791,884,835,1098,1310,1148,722,417,353,388,574,821,1260,1038,636,1006,1266,916,710,861,1198,1708,1648,1868,1334,1038,1010,936,628,573,636,619,752,1104,1346,1162,983,1009,1340,1338,1198,1172,1136,904,1060,1268,1306,1174,883,785,893,1338,1342,1226,1416,1194,965,1068,1170,1306,1570,1664,1474,1296,1246,1062,1142,1252,1312,1396,1224,1276,1258,1112,1236,1360,1332,1388,1700,2304,2296,1412,966,1250,1372,1080,785,717,816,842,786,889,1011,976,883,1019,781,892,1028,1176,1106,1056,1226,1416,1090,916,1242,1184,1086,753,741,758,872,1154,1864,2266,2234,1516,977,1013,1198,1118,910,815,722,949,1188,1208,1256,1332,1050,953,1148,1062,737,706,1118,1142,974,1128,1342,956,703,869,969,1054,1276,945,991,1130,1376,1722,1618,1272,1290,1526,1688,1756,1466,1464,1736,1448,1392,1390,1380,1426,1240,1038,1078,957,1010,1138,1000,965,1080,817,673,842,672,578,1026,1318,1116,1278,1202,1388,1382,1064,753,412,574,703,869,979,1078,926,797,1044,852,448,377,398,454,552,597,474,355,369,533,816,795,628,565,601,684,756,659,661,960,794,564,517,436,386,386,371,328,315,414,514,435,356,347,501,730,927,1140,1188,1542,1206,1306,1372,1070,625,639,876,854,797,1054,959,692,673,821,1024,887,930,1130,1184,1124,1112,921,800,1202,1410,1484,1688,2098,1836,1282,1112,1310,1526,1556,1370,1028,988,802,1013,1418,1312,1178,1040,1274,1404,1250,1236,1328,1416,1202,938,910,1158,1238,1294,1146,1060,1050,943,1140,1406,1600,1236,1056,1292,1238,1372,1318,1156,923,867,882,671,500,694,749,923,1210,1248,1368,1266,918,804,760,647,733,1244,1314,1406,1206,972,1078,904,835,1344,1406,1372,1538,1468,1344,1452,1264,1188,1106,1030,1040,1234,1290,1404,1190,1150,1338,1038,969,1042,1840,1442,1316,1386,1174,1098,996,955,886,1013,1282,1222,882,1168,1198,990,1084,1250,1198,1060,966,1272,1310,1262,1450,1234,1266,1300,1366,1338,1090,1026,731,426,516,794,1076,1212,1390,1472,1046,1011,1154,1168,1192,949,887,827,762,774,901,653,1066,1176,1320,1312,1260,1188,1200,1180,1146,1126,934,962,1100,1040,1013,792,884,952,1086,1146,1160,1202,1238,1226,1284,1234,1510,1598,1126,977,798,662,682,1136,1400,1158,916,849,606,445,494,550,516,589,1026,875,541,624,1372,1312,794,618,805,955,1390,1272,796,596,807,958,597,477,715,1024,1126,1216,1252,1130,858,992,1194,883,787,1026,957,1106,1204,1132,1216,1390,1488,723,379,369,429,479,666,625,555,738,1072,1236,1204,1198,1302,1214,985,681,659,958,2248,1930,1282,1406,1542,2132,2216,1824,1816,1520,1288,1000,676,889,1054,1322,1028,1256,1314,767,840,1226,1174,1015,1084,1138,1052,905,548,483,472,455,610,877,892,884,997,613,737,1106,976,689,728,524,421,462,638,776,852,1132,1438,964,575,858,1042,850,1248,1236,626,503,923,1216,1162,899,752,605,499,722,1044,1036,1174,1264,1128,703,542,525,482,381,387,367,332,354,369,387,383,371,277,401,430,354,394,412,473,578,598,507,472,475,760,1090,979,606,654,637,495,540,546,478,490,744,1074,982,972,1122,1042,883,747,969,1270,1462,1196,837,717,686,557,502,467,322,642,1116,874,503,818,1314,1218,828,986,1214,1078,908,658,495,429,555,525,631,761,650,595,816,875,1150,1408,1278,1518,1434,1154,1506,1112,933,1072,1036,706,362,332,296,332,417,394,405,811,1402,1144,533,486,650,735,985,1170,1464,1734,1938,1522,1160,705,780,1354,1162,1142,1400,1072,1054,1522,1360,1338,1732,1720,1538,1152,638,561,821,591,437,581,736,907,802,667,857,698,606,613,865,766,600,701,785,703,590,613,894,916,604,564,829,665,652,590,634,555,417,380,383,502,532,336,404,380,429,698,1216,1256,917,939,1214,1094,790,880,1174,998,998,1118,822,786,432,802,813,1060,1372,1300,1098,976,1144,1188,1100,583,489,569,670,658,435,459,588,490,388,375,398,357,531,1126,1248,736,905,1021,1892,1570,1000,1108,1394,1446,1342,1298,991,734,924,1326,921,579,959,1130,859,688,859,1174,1310,1304,1216,1284,1366,1366,1538,1126,601,725,1138,1578,1756,1184,559,777,703,780,892,1112,929,874,1206,1356,1172,908,937,1256,1272,1034,1284,1462,739,633,714,672,461,814,1328,1232,1504,1560,1238,1482,1066,767,661,633,534,1032,1372,1406,1524,1854,2100,2008,1948,1902,1950,1950,1884,1011,898,1334,1794,1692,983,597,913,1086,962,1100,1062,1138,775,745,868,1032,1228,1026,939,1070,1010,921,1078,1100,1194,1376,1024,990,1028,1014,871,763,785,784,917,1134,1198,1074,1272,1286,1404,1220,1306,1350,1534,1770,1664,1382,1256,1272,1160,1218,1442,1340,1330,1210,1220,1240,1194,1060,1180,1062,769,850,1068,933,1250,1332,1110,1068,965,1142,1248,1084,959,912,866,877,1016,670,697,606,832,1128,1194,1052,1208,1304,1206,1208,1218,1252,1486,1252,971,1078,905,677,812,1186,1114,1074,1124,1056,1214,1144,1158,1132,1060,1284,1210,883,1206,1322,1026,1072,1224,1260,1332,1310,1366,1282,1246,1282,1062,1084,1064,988,754,1160,1084,857,941,734,619,644,1009,904,1202,1128,1021,893,1308,1208,800,661,980,1454,1594,1312,1290,1600,1284,1252,778,477,607,626,752,938,939,666,629,719,851,1340,1344,1284,1324,1306,961,602,887,1396,1470,1366,1294,1284,1190,1140,1338,1418,1400,1230,742,707,519,365,350,341,357,692,1146,1132,1092,1074,1056,869,534,825,1036,1094,756,377,330,330,509,849,1116,1328,767,328,311,429,377,285,256,230,237,321,354,523,932,604,485,663,1012,1242,1038,641,1368,1572,1094,1114,1206,1072,899,799,623,692,822,858,1216,1452,1278,1438,1204,1034,1268,1424,1402,1272,1536,1506,1356,890,533,508,924,1158,1058,1004,915,1060,1028,1182,1284,1074,1180,1532,1554,1678,1390,867,729,697,986,1222,1072,952,1182,1172,1344,1644,1344,1104,1710,1726,1352,1390,1196,999,894,653,393,354,773,769,421,451,696,1132,1378,1202,1009,733,543,387,330,331,316,345,462,547,713,571,416,830,725,462,749,1342,1009,760,1228,1796,1468,992,984,662,609,602,539,527,476,1090,1334,1390,1874,1606,912,885,1284,1554,1250,1118,791,606,1334,1750,1662,1052,487,397,395,375,576,747,629,368,332,308,294,292,299,317,360,366,348,326,295,319,368,443,609,448,314,287,345,368,380,352,282,250,467,1038,933,580,650,528,645,739,554,453,451,452,413,542,1170,1198,645,749,869,869,865,904,1138,1248,1038,828,761,839],[351,354,364,382,466,537,524,503,641,601,406,335,379,425,474,608,694,788,833,692,519,532,631,804,891,958,883,529,467,576,894,849,764,882,807,930,707,600,1118,1390,1278,1194,1120,1320,1310,1118,933,539,465,708,473,324,315,364,650,1194,1324,1242,1292,1184,1136,1142,1138,1012,1050,1036,1060,1058,1036,849,821,900,772,780,1021,1021,515,467,688,1084,930,925,1332,1194,1250,1134,728,460,553,901,1194,1296,1216,991,844,786,536,863,940,1076,1196,933,1100,1606,1644,997,937,954,994,1350,1064,1248,1444,1480,1394,1286,1272,882,863,1019,1066,1106,756,358,277,250,282,315,322,325,306,534,1142,1042,664,680,667,999,871,930,915,887,1136,973,490,367,353,344,362,396,353,393,365,486,455,350,341,356,556,748,888,951,1044,1054,1020,1005,846,1056,1222,1054,1250,2106,1936,1416,1418,1222,1124,848,742,769,797,936,942,1206,1470,1672,1658,1396,1330,1246,921,1076,1234,1238,1096,1218,1162,916,932,1150,1266,1250,1222,1376,1544,1278,1240,1444,1082,1001,891,824,814,766,962,835,525,583,455,412,604,1164,1038,583,645,622,598,874,716,440,408,425,480,357,410,626,1100,1208,1102,961,957,718,479,591,851,846,851,1204,1292,1198,1214,1398,1368,1286,1312,1316,1300,1510,1658,1620,1266,1011,1058,783,686,891,1304,1436,1220,1036,1046,1186,1010,1058,1434,1602,1588,1456,1562,1708,808,609,799,769,816,1086,1352,1284,816,659,528,548,799,1032,942,929,949,940,1156,1166,633,277,296,290,233,249,273,431,566,471,353,639,646,579,788,1204,1304,938,628,962,890,905,1086,892,1144,1390,1316,1134,877,975,1410,1362,1416,1360,1252,1316,1636,1730,1376,910,622,521,684,820,816,752,891,753,586,724,775,979,1046,1086,1200,1256,1078,485,511,745,984,932,1216,1368,1316,1204,1246,1412,1634,1756,1680,1478,1266,974,740,818,714,886,505,533,942,985,1056,1198,1092,927,937,713,588,483,420,737,700,779,990,1116,1082,1278,1332,1466,1150,717,838,782,489,481,723,701,506,826,890,533,503,765,812,819,755,820,794,1082,1256,1316,1438,1136,1102,985,1196,1124,638,666,1072,1164,1009,452,354,397,489,527,686,636,648,912,1170,1024,611,989,1168,1652,1296,1086,1080,880,813,804,531,469,664,752,784,948,1194,1326,1066,974,1250,954,693,730,749,987,1440,1294,1134,1184,1152,715,846,1294,1306,1178,1138,879,720,855,1098,1206,1414,1494,1320,1216,1176,1120,1236,1126,1138,1400,1404,1350,1130,1110,1276,1340,1348,1360,1492,1658,1564,880,456,827,993,587,480,462,458,481,725,1346,1072,999,930,854,1098,1228,1086,1100,1068,1032,1372,1604,1366,1164,1438,1436,1548,1050,667,799,872,1138,1386,1206,1268,1040,1048,960,883,976,821,816,943,1082,1148,1042,1112,1260,913,1056,894,711,684,769,1190,1084,825,989,1198,898,627,880,1214,935,1086,1108,1134,1042,894,975,1206,1098,1128,1340,1368,1376,1348,1370,1338,1514,1434,1342,1326,1370,1192,1084,1074,1030,1030,872,579,595,558,599,661,688,614,729,962,1124,1008,932,962,1064,1140,1074,807,523,611,709,922,1278,1216,1172,1270,1128,684,447,417,446,448,591,670,467,374,447,616,1010,1204,885,761,763,668,570,578,568,889,877,644,561,440,357,358,348,319,308,394,495,435,441,396,606,814,1064,1204,1030,1128,1240,1312,1230,1036,631,642,733,927,872,1222,1280,969,792,918,948,982,1158,1198,1194,1136,1102,799,1044,1182,1248,1276,1314,1576,1466,1100,1174,1296,1246,1214,1300,1074,1166,1056,863,1202,1358,1376,1212,1302,1494,1500,1242,1110,1396,1154,868,1036,1100,1240,1072,978,1316,1478,1354,1344,1466,1420,1200,1040,1202,871,1172,1286,1430,1246,1001,951,649,1158,1662,1124,1116,1230,1064,1344,1204,915,819,962,760,926,1238,1166,1258,1048,941,1236,1126,832,1214,1344,1372,1598,1482,1302,999,675,601,821,1200,1410,1336,1240,1342,1154,1492,1484,1202,1250,1176,1036,1140,1360,1202,1206,1152,1176,1250,1056,1398,1736,1286,828,1184,1214,1132,1292,1162,1070,1114,1148,1316,1254,1034,1174,1228,1218,1270,1290,1244,1194,1064,734,368,420,620,961,797,1074,1358,985,1023,1130,1028,1048,1064,1124,1024,883,1086,1168,946,1296,1400,1368,1056,930,1212,1464,1416,1310,1126,625,960,1120,1122,1021,939,1090,1160,1112,1074,1016,1082,1102,901,907,1244,1502,1604,1362,1082,1034,696,643,1126,1328,1460,1384,1254,796,780,1024,957,682,739,1080,951,733,1042,1238,1010,716,466,530,725,1000,1498,1260,991,848,734,482,541,873,1156,1318,1378,1372,1184,1080,1164,910,603,644,677,867,1552,1476,1418,1514,1384,1406,766,394,331,415,508,605,542,626,882,1056,1356,1382,1278,1244,1246,1021,964,880,1012,1694,1432,1242,1336,1466,1664,1710,1598,1762,1686,1316,700,481,593,847,1058,1160,1408,1242,708,982,1274,1188,985,1148,1090,882,812,658,490,480,529,726,941,1078,1058,1100,827,824,955,589,527,487,437,549,530,655,1040,1232,1494,1476,610,599,1184,1048,596,653,1090,861,511,979,1350,1224,946,762,601,451,987,1034,750,866,1292,1026,643,655,596,440,331,354,361,367,365,365,344,342,311,306,377,358,367,377,377,520,535,477,491,467,432,866,1280,927,514,719,848,702,630,689,866,992,1238,1350,990,1234,1174,876,883,908,1036,1256,1292,849,500,511,648,615,761,793,471,571,741,525,645,933,1200,1202,1005,725,900,1242,1122,1090,919,1000,1120,875,617,637,768,919,967,991,1198,1392,1394,1236,1344,1426,1848,1594,951,627,839,866,582,352,357,294,318,349,438,724,1080,1024,526,316,315,521,881,962,1040,1090,1338,1118,751,818,1088,1428,1492,1426,1326,1278,1408,1314,1296,1520,1660,1494,1508,1015,578,499,479,396,532,819,923,747,417,546,655,543,538,552,808,840,739,675,640,651,575,766,799,339,267,510,788,683,749,656,580,499,368,365,400,599,555,339,401,408,497,926,1364,1366,1158,998,1036,1238,1012,1218,1238,1082,1080,1078,1170,992,722,935,1114,1306,1344,942,1134,1044,1294,1170,1332,825,529,618,743,669,588,775,901,381,361,437,453,496,506,597,632,916,1056,1042,1286,1428,1290,1228,1278,1076,880,1086,783,758,1168,1152,728,821,1124,1064,641,484,844,1254,959,910,1062,1454,1800,1738,1642,1398,872,661,932,1350,1616,1166,530,891,927,775,569,1030,1164,955,980,1070,1030,954,1096,1554,1200,899,865,1072,792,869,1046,961,881,1224,1650,1552,1608,1672,1544,1764,1488,1082,739,552,497,670,796,733,808,1056,1272,1334,1430,1584,1686,1750,1362,705,861,1372,1632,1416,804,557,962,1248,1084,1116,1138,1126,829,631,978,1508,1360,1204,1172,1210,1088,918,1156,1152,1476,1638,1360,1146,941,899,841,910,1262,1168,1214,1300,1238,1092,1546,1834,1632,1414,1478,1524,1528,1490,1328,1244,1202,1252,1230,1456,1386,1130,1190,1334,1148,1220,1266,1112,1250,1204,847,775,991,1094,1194,1034,1058,1068,979,1242,1284,1054,877,776,1028,996,1138,918,709,647,972,1146,1182,1116,1184,1274,1246,1292,1384,1360,1316,1128,1120,1266,993,827,1084,1252,1170,1240,1172,1090,1206,1232,1198,1032,1068,1188,1138,972,1094,1176,1210,1232,1190,1108,875,1128,1284,1262,1174,1202,1228,1232,984,762,628,788,1104,1182,1106,1010,1062,678,1116,1448,1652,1308,1082,1128,1040,1052,1024,836,1190,1334,1606,1390,1484,1098,521,613,984,739,481,595,647,875,866,813,1200,1290,1396,1228,1350,1268,1302,1406,1162,626,728,1256,1382,1354,1288,1110,1005,1402,1372,1454,1300,1036,730,701,749,472,360,419,632,1130,1284,1124,1028,1202,1144,858,612,788,893,789,547,277,303,370,546,731,567,974,872,459,336,417,343,240,249,254,230,332,547,802,965,635,542,1064,1510,1358,903,913,1324,1190,1238,1224,973,662,1054,1146,838,607,971,1184,931,619,917,1322,936,1018,1358,1286,1128,1224,1180,1214,1384,1046,605,579,826,1152,1194,1040,944,1220,1013,1566,1788,1464,1136,1194,1332,1740,1616,995,924,1122,1554,1364,1034,1078,1204,1170,1298,1624,1432,1322,1766,1870,1720,1658,1080,1164,1090,684,450,559,696,516,441,777,1290,1484,1528,1262,1066,811,767,661,448,345,365,498,422,276,362,313,427,850,584,404,610,1284,1144,606,811,1396,1470,938,1004,588,597,554,811,1002,872,1102,1312,1098,1230,1380,894,1058,1362,1002,804,1396,918,542,1412,2382,2096,1050,645,521,364,317,378,614,1021,606,321,280,282,289,298,317,339,373,388,354,336,323,362,640,614,342,296,307,316,349,458,542,539,350,346,738,873,718,422,435,437,373,380,438,450,431,397,394,579,623,750,989,1266,1200,1128,1334,1466,1594,1664,1460,1152,1170],[309,359,382,364,408,451,480,488,488,547,581,475,445,470,549,671,713,810,903,657,476,460,684,787,1042,1262,780,441,533,463,457,656,1000,927,642,583,850,985,1078,1110,1444,1400,1216,1332,1356,999,693,486,471,605,509,494,493,368,609,1044,1162,1284,1392,1160,1118,1406,1924,2128,2030,1620,1462,1594,1678,1484,1210,823,489,705,1026,1060,536,434,788,1210,1024,1146,1070,610,712,909,708,419,453,800,1140,1098,918,917,1028,859,594,732,969,1456,1666,1070,1310,1676,1456,1148,1224,1200,1324,1410,1272,1344,1442,1604,1416,1156,1009,990,1094,988,907,921,686,343,283,274,326,360,325,371,441,675,899,564,638,628,752,1090,999,912,995,922,1023,1074,642,416,508,636,557,477,335,332,407,647,596,404,425,443,478,502,520,564,833,1018,1122,1032,814,1062,1286,1150,1438,1616,1470,1426,1388,1376,1328,1009,866,768,858,1118,1126,1104,1224,1360,1410,1442,1442,1420,1148,1398,1488,1632,1448,1300,1088,1013,1104,1142,1212,1056,1094,1422,1396,1026,1360,1364,1040,1180,1358,1348,1032,521,530,486,654,760,640,634,1078,1450,1576,1116,875,694,841,1264,1116,682,508,611,489,568,518,515,989,1021,973,822,813,739,709,696,904,1011,908,1146,1468,1132,951,1274,1266,1140,1100,1122,1208,1298,1362,964,888,1020,949,661,742,1234,1284,1334,1240,972,1102,1504,1478,919,988,1242,1650,2002,2104,1610,821,813,956,865,1176,1374,1438,1358,659,546,487,1013,1282,1090,879,954,752,890,1102,622,374,253,262,276,228,243,267,386,642,659,379,350,390,446,867,1084,1144,1230,1228,1526,982,744,898,837,1020,1152,959,960,788,764,1260,1368,1536,1384,1522,1562,1666,1422,1114,1070,796,832,1074,1188,1064,1426,1780,1312,1176,1072,613,682,796,928,956,1114,959,562,559,565,667,778,896,898,946,1136,875,866,1344,1476,1574,1710,1656,1244,1114,1222,1386,1188,958,917,747,713,791,1036,1196,937,838,661,650,661,488,849,697,591,849,948,880,1034,1354,1354,901,794,960,756,736,779,916,1100,745,599,577,521,656,499,526,796,863,867,734,1082,1428,1542,1266,1192,1044,810,1248,1306,766,404,463,463,648,645,593,618,708,554,426,464,550,629,985,1332,877,1278,1258,1390,744,447,621,605,547,415,339,393,451,487,635,886,970,813,553,792,1122,1188,861,730,842,1132,1362,1164,1256,1476,1274,607,615,1202,1408,1348,1224,965,685,791,1224,1224,1512,1606,1688,1488,1116,1082,1070,1122,1394,1378,1318,1302,941,1158,1224,976,710,1090,1254,1190,1366,1112,721,715,589,323,409,494,430,486,910,1272,891,841,791,728,1048,1306,1238,1294,1366,1390,1492,1490,1422,1332,1302,1310,1230,1024,890,849,1028,1308,1278,1034,901,1066,892,1040,1006,767,951,1188,1046,1194,1350,1096,1174,1194,921,1066,977,722,597,915,1142,949,766,980,1250,995,911,1294,1324,926,1266,1344,1282,1316,1222,1184,1250,1242,1208,892,714,791,857,1005,803,1052,1356,1318,1202,1174,1012,968,1052,1258,968,728,687,667,700,711,800,741,603,717,752,792,860,836,707,651,781,672,634,680,737,953,1244,1174,965,1023,1144,1007,774,605,511,766,794,789,737,643,518,537,599,778,797,708,728,733,661,581,619,594,847,923,766,655,511,351,362,370,326,305,346,489,547,549,447,427,598,743,578,667,898,1166,1394,1266,1066,772,785,823,1028,810,916,1064,937,1112,1422,1288,1042,1388,1378,1234,1256,1188,1016,1176,1158,1208,1236,1300,1550,1532,1426,1426,1244,1332,1162,962,1224,1346,1178,1174,1382,1454,1400,1252,1368,1404,1180,946,855,1194,1196,1062,808,865,1140,1138,1194,1714,1990,1688,1686,1630,1486,1332,1208,1264,1232,1312,1394,1576,1572,1180,875,899,1414,1598,1200,1106,1376,1214,1166,1296,1148,995,1166,1200,1374,1400,1258,1150,948,925,1078,943,830,1156,1368,1352,1432,1476,1422,1003,650,651,741,991,1282,1092,1214,1170,1130,1274,1178,1184,1354,1250,989,1042,884,789,1088,1162,1310,1160,1023,1146,1364,1130,967,1202,1276,1378,1346,957,832,1008,1222,1264,1378,1790,1932,1448,1244,1378,1342,1260,1206,1296,785,375,430,822,797,477,951,1458,1202,1148,1346,1256,1054,1048,1118,1166,1316,1454,1178,1106,1242,1356,1112,991,1106,1160,1380,1400,1208,1015,734,1078,1238,1160,1272,1344,1304,1250,1140,1064,930,1016,803,532,761,1270,1520,1594,1350,957,994,1020,1214,987,610,932,908,989,981,1468,1616,1236,1040,1148,1190,1120,794,738,1158,1080,1044,951,647,918,987,1160,1360,1338,1160,764,761,1040,1084,894,739,1030,1506,1162,1086,1174,982,695,799,900,1578,2358,1366,1152,1212,962,464,401,384,359,453,494,578,741,874,1052,1332,1672,1386,1294,1178,1244,1246,1116,1068,1246,1218,1288,1374,1368,1238,1382,1688,1686,1556,1426,1106,687,466,563,839,1142,1404,1632,1416,876,1056,1188,1098,1028,960,678,635,1028,982,623,881,915,965,1052,976,1054,1294,1528,1150,755,664,527,424,589,579,382,514,563,745,1120,1348,614,697,1136,1088,897,738,995,1102,797,671,695,854,955,929,693,451,915,908,577,682,831,751,760,785,734,399,287,255,317,325,335,354,363,352,315,339,368,387,396,433,501,697,822,608,587,531,360,585,725,588,634,988,904,931,850,893,1046,1108,1009,781,633,846,723,684,970,951,1021,1216,1282,690,424,566,543,495,665,908,878,750,736,389,596,931,1026,1272,1332,1174,1250,1392,1338,1070,883,945,1114,1154,825,959,1294,1094,907,1150,1298,1142,1294,962,607,1048,1516,1632,1314,943,1009,1206,1005,496,361,415,367,314,394,733,1164,1058,543,397,381,470,583,792,809,626,1010,943,743,830,919,1410,1658,1786,1254,1288,1306,1182,1688,1546,1400,1292,1354,938,498,727,830,775,980,974,1072,931,502,430,585,578,528,548,775,930,648,477,538,469,360,659,460,255,301,379,495,517,541,522,451,353,267,325,443,663,612,454,465,458,617,979,1186,1026,1026,876,850,1270,1374,1196,725,830,1216,1238,1188,1262,1088,1220,1338,1009,946,886,902,1062,1256,1258,1544,1286,941,756,544,648,766,793,1042,578,814,767,589,923,655,342,733,1180,866,521,871,1920,1980,1112,922,591,505,749,705,849,1076,821,619,891,1202,1058,837,666,792,1092,974,1282,1332,1534,1852,1678,1550,1482,932,566,798,1426,1708,1222,703,976,1262,901,447,789,1080,909,811,897,890,960,1312,1452,1216,1038,782,827,906,1192,1430,1354,1152,1116,1284,1056,958,1012,918,1002,1230,1070,796,742,590,528,561,471,400,437,359,444,550,634,809,1016,886,595,631,1019,1242,1204,784,559,870,1076,868,983,1136,1062,833,608,969,1380,1282,1364,1022,1044,1138,1024,1100,1186,1442,1556,1330,943,913,1036,1058,1060,1614,1414,1182,1122,1270,1176,1456,1720,1538,1408,1376,1342,1178,1112,1100,1230,1614,1318,1200,1468,1214,954,1132,1214,1106,1104,1180,1182,1236,1212,976,1078,1026,909,780,846,1092,1050,989,1030,972,1038,976,920,1128,1072,1194,1190,778,773,1070,1068,1190,1244,1260,1320,1444,1126,1076,1192,1126,1032,990,885,776,866,1090,1192,1406,1346,1182,978,1272,1332,1218,1094,1015,1156,1174,1232,1278,1122,1076,972,1030,1104,667,539,961,1302,1484,1350,1090,1021,965,883,866,766,842,713,957,1556,1438,983,1362,1560,1594,1408,1314,1244,1021,985,1023,1078,1346,1306,1082,1048,1368,829,346,375,625,590,566,626,450,542,593,1104,1404,1356,1576,1328,1178,1350,1504,1382,1186,948,1072,1378,1396,1134,947,1098,1266,1418,1402,1432,1134,952,1036,1144,1270,619,422,639,636,709,737,744,792,1030,987,728,697,807,621,426,316,269,264,317,400,458,449,623,814,636,301,363,380,356,262,264,301,406,750,969,1294,1106,1050,1734,2142,2054,1822,1456,1222,1222,1232,916,706,457,755,783,693,548,759,1036,866,663,725,883,1034,1436,1448,964,1088,1520,1200,863,1050,890,873,1170,1208,1232,1274,1078,1036,1158,1218,1820,1866,1550,1238,943,1106,1586,1412,1023,753,991,1298,1344,792,504,801,841,865,1013,1032,1274,1506,1594,1516,1324,1076,1220,1308,1062,683,393,391,462,932,1462,1638,1360,1160,1432,1282,963,952,904,692,582,596,585,412,390,332,344,339,350,342,375,401,866,958,522,611,1034,1426,1042,1090,789,673,677,955,881,537,688,1050,829,502,570,594,933,1240,1532,1734,1948,1338,624,865,1292,896,476,550,633,490,390,487,645,897,679,416,291,311,298,299,288,293,353,395,426,368,422,660,714,398,261,267,333,395,384,387,496,622,531,477,795,1028,847,637,622,517,370,354,382,420,379,340,321,433,854,1136,1174,1346,1484,1528,1368,1328,1308,1314,1228,896,813],[289,351,373,359,378,403,426,429,407,473,586,637,608,523,619,631,650,695,725,489,379,441,501,447,576,625,387,440,474,406,428,580,763,698,554,554,535,803,1005,1064,1218,1242,1196,1130,976,762,572,524,650,565,456,777,949,728,851,1186,1276,1228,1066,497,557,1414,1936,1926,1772,1496,1390,1578,1814,1854,1416,1006,469,676,1166,1224,621,452,1106,1262,1084,1112,785,637,861,1032,932,727,800,1013,1224,1128,1140,1094,1052,833,598,690,914,1704,1738,1212,1482,1532,1178,1174,1288,1322,1138,1210,1702,1524,1226,1366,1394,1138,858,802,996,820,447,611,563,300,293,328,391,430,454,505,591,1118,1110,804,784,872,921,1020,877,739,1088,1218,1058,1084,871,629,706,830,665,515,383,234,291,393,479,607,501,525,486,419,438,623,916,1188,1048,960,978,1056,1108,1344,1762,1562,1824,1534,1532,1294,1090,857,675,858,1124,1168,1040,984,1082,1232,1090,1178,1408,1640,1786,1748,1716,1796,1708,1334,781,950,1396,1466,1324,924,1020,1422,1196,1003,1162,1124,953,891,663,824,957,554,373,383,675,1130,902,982,1560,1482,1528,1510,1194,937,1144,1320,1356,960,711,641,534,927,761,666,920,999,896,922,995,1082,1296,1084,995,1140,1216,992,966,760,885,1288,1236,872,1032,1366,1220,1138,1216,723,921,1174,809,610,648,1048,1050,970,1116,1190,1416,1514,1256,855,1206,1220,1464,1396,1714,1562,985,1104,1234,945,981,1108,1354,1260,670,473,801,1328,1204,1064,946,1015,948,924,905,386,313,255,265,270,295,273,269,329,525,607,464,376,483,566,929,1026,1066,1050,1046,1006,763,475,646,988,1202,1086,963,841,980,818,921,1332,1542,1422,1546,1710,1688,1182,971,1264,1378,1218,1036,1090,977,1642,1956,1488,1046,799,765,543,517,729,1012,865,1058,688,662,605,753,894,938,735,589,667,647,963,1338,1212,1252,1358,1562,1528,1378,1444,1400,1290,1338,910,539,560,565,874,1003,1020,880,780,720,761,614,669,778,811,669,695,772,638,934,1240,1114,1296,1426,1074,1030,1056,1042,763,661,935,592,356,436,471,619,589,487,518,905,1144,1114,775,769,1276,1384,1130,852,731,741,386,390,385,397,1046,1184,1174,1322,893,554,561,655,772,1106,1400,1372,1542,1484,1170,648,405,333,406,384,379,486,393,359,458,1012,1116,970,737,632,637,943,1154,1080,1216,1074,1066,837,1334,1526,1466,1324,946,973,1254,1382,1438,1090,1066,1122,1136,1200,1120,1472,1596,1742,1500,1258,1186,969,1082,1412,1516,1368,1334,1300,1278,1254,829,401,832,959,714,806,999,1238,996,504,359,458,768,599,634,1054,934,740,835,874,848,1108,1372,1146,1224,1250,1188,1244,1282,1294,1340,1188,1032,980,1032,1204,1102,1216,1400,1218,998,872,830,913,1342,1400,1068,889,688,756,1001,1230,937,941,971,1018,1058,1054,891,793,1064,1170,1086,987,1162,1224,1256,1216,1528,1370,1322,1268,1046,854,954,1234,1362,1410,1486,1256,742,588,558,543,669,786,810,1274,1556,1408,1264,1024,857,1010,809,615,735,914,889,813,646,730,741,842,965,713,577,612,830,760,636,736,670,863,866,836,1260,1438,1182,1064,1086,1296,1260,1096,821,724,1128,1036,792,651,582,460,474,501,630,677,735,678,699,599,570,622,647,863,946,799,703,640,383,362,386,332,312,336,581,638,495,636,917,858,679,642,861,687,913,1478,1444,1046,746,1050,1188,863,502,713,952,1002,1282,1450,1212,1130,1196,1084,877,768,934,1274,1228,1224,1392,1404,1524,1584,1282,1274,1176,1072,880,872,1098,1250,1248,1022,1114,1246,1160,971,1128,1426,1296,1230,1140,1092,1130,1004,924,779,913,1150,1380,1448,1446,1508,1368,1472,1506,1404,1214,1230,1448,1404,1508,1588,1420,1104,929,1076,1472,1886,1382,1362,1328,1458,1228,1019,1346,1176,927,1204,1212,1268,1376,1086,989,882,960,1034,818,777,1208,1412,1382,1222,1394,1576,1230,1017,1050,974,852,1226,1002,788,1112,1288,1290,1296,1302,1382,1320,946,907,827,711,988,1190,1020,576,709,1036,1208,1294,1228,1018,915,1118,1162,949,763,1230,1510,1356,1644,2496,2432,1710,1324,1382,1340,1300,1298,1582,1190,709,896,1112,1120,1154,1468,1714,1458,1192,1418,1390,1086,1290,1174,1056,1048,928,826,825,908,1120,1186,1158,1222,1112,1220,1238,1328,995,1148,1238,1192,1076,1224,1422,1106,1070,949,745,659,888,880,1048,1232,1250,1392,1542,1154,828,1058,956,801,688,764,1016,1182,1222,1278,1348,1184,1072,1084,1018,1106,1038,495,473,954,742,673,686,789,1028,1218,1206,1072,1328,1460,1088,886,1072,1012,953,894,1050,1460,1296,1220,1007,648,675,908,918,1114,1400,1048,1144,1208,810,554,561,544,489,590,570,713,995,1134,939,1420,1804,1496,1400,1450,1428,1406,1162,980,1104,1162,1304,1178,1358,1278,1222,1390,1450,1268,1208,1192,968,673,699,753,1148,1322,1534,1316,1292,1144,1272,888,797,944,740,631,1126,1000,942,1754,1324,924,1009,858,902,1382,1612,917,540,785,812,653,492,408,475,751,590,1080,1230,1166,776,800,998,979,935,990,1134,1072,1152,668,943,1202,940,681,440,389,438,393,403,604,676,796,933,1132,774,502,529,505,421,342,347,326,344,369,385,417,381,439,430,457,481,615,849,789,839,731,474,505,508,523,914,1094,903,708,625,821,990,915,731,660,644,532,517,865,1038,978,1138,1130,908,697,710,606,500,407,506,1152,1356,988,1066,682,646,902,719,720,1140,1510,1432,1416,1206,1100,1176,799,785,1172,916,1106,1310,1030,1006,1148,1130,1114,1450,1021,592,916,1200,1574,1406,1042,1352,1272,1282,855,408,347,359,430,538,847,1150,1112,741,558,388,289,484,780,995,868,1130,980,615,607,693,1284,1196,1124,723,882,916,1010,1470,1332,1368,1522,1372,1009,556,904,1112,1200,1350,1324,1090,1100,717,597,904,798,575,636,926,1368,817,523,429,396,362,403,301,346,422,453,491,529,585,603,568,491,393,558,647,599,494,512,588,591,653,858,998,821,880,802,703,974,1406,1174,809,672,980,1172,992,945,1094,791,498,817,749,1134,828,853,1160,1172,1034,1003,968,821,571,756,817,681,785,553,856,1072,802,883,721,547,1066,1454,984,538,824,1750,1618,1152,1200,813,720,914,779,615,647,625,658,1066,1164,1238,1308,1120,1140,1274,1238,1320,1200,1404,1604,1312,1282,1582,890,563,769,1356,1626,1416,907,912,1412,1190,724,1100,1194,943,827,912,1094,1362,1402,994,905,919,788,905,938,1128,954,1036,811,691,741,680,659,670,712,749,862,958,840,697,633,562,596,488,476,599,526,390,418,572,620,634,703,610,568,656,675,708,676,669,971,1066,933,1100,1166,954,967,978,866,1008,1288,1470,1084,1068,1172,1184,1106,1038,1138,1366,1384,1152,1362,1378,1114,957,1408,1464,1416,1260,1314,1426,1504,1512,1406,1324,1138,1168,1050,1021,1046,894,1066,1020,1204,1426,1286,1366,1488,1160,1072,1060,1023,1108,1228,1238,1040,1094,1062,819,815,1064,1214,1011,999,897,1050,1094,1086,1218,1228,1168,1156,1046,681,678,962,1058,1214,1218,1238,1392,1556,1090,1052,1042,1074,1062,850,687,769,824,1118,1342,1332,1282,1178,1176,1262,1310,1406,1196,1028,1098,1168,1302,1278,1180,1250,685,1036,1286,810,578,1012,1390,1424,1290,1032,922,1104,1244,1160,1050,585,362,523,1118,1470,1582,1338,1444,1682,1448,1308,1100,588,501,754,1370,1366,1266,850,653,650,486,361,345,543,945,835,698,488,448,722,1044,1040,1514,1686,1188,1026,1472,1706,1294,1260,1364,1322,1472,1358,911,913,1032,880,1064,1354,1334,1104,808,852,825,985,714,570,700,735,601,631,644,598,755,841,758,672,587,384,334,356,303,238,380,468,533,541,402,639,656,337,385,527,618,391,296,356,524,659,985,1458,1226,1152,1382,1398,2002,1858,1368,1040,1160,987,698,450,335,376,478,727,899,807,951,1048,1298,1168,1001,1110,1110,1072,888,1368,1904,1528,1094,993,918,1146,1378,1302,1338,1250,893,900,1018,1134,1486,1472,1060,949,1030,997,664,1050,1116,676,823,826,1092,758,468,841,860,653,932,911,600,1186,1186,1066,1140,1188,1234,1268,1176,832,500,449,501,994,1530,1476,1186,1017,1214,1274,1092,1015,706,760,748,623,508,673,822,539,339,324,350,377,350,361,533,651,670,734,873,974,1296,1544,1196,780,708,775,700,568,523,796,940,522,529,729,1064,1760,2256,1902,2002,1870,842,337,234,255,349,341,670,888,785,569,553,551,585,540,299,238,233,279,298,301,332,331,364,551,927,1306,1070,557,464,491,478,491,624,621,674,666,633,853,894,955,1072,888,802,688,404,326,321,332,311,320,382,710,1014,1013,896,670,787,865,667,651,836,1150,1570,1240,1144],[361,363,361,303,257,316,393,397,404,452,535,650,677,589,566,512,477,439,409,374,356,394,412,375,391,469,433,402,368,404,366,343,411,385,447,536,645,1156,1324,921,1352,1060,992,1032,894,761,669,489,558,495,478,949,1240,1148,1015,901,1082,1258,942,574,754,1106,1344,1620,1792,1902,1976,2222,2306,2114,1234,1086,491,696,1226,1074,549,502,876,940,805,749,743,767,724,660,727,855,1112,1058,985,1244,1406,1216,1160,1142,1096,1120,1100,1414,1318,1340,1610,1554,1146,1108,1338,1306,932,1074,1356,1262,1132,1148,1326,1214,847,549,500,381,255,347,368,344,325,341,374,456,764,831,742,824,998,1005,859,1017,1026,968,898,808,1046,1126,1072,1018,1000,702,505,508,580,797,651,260,294,301,408,752,517,702,744,479,515,1024,1284,1044,864,1058,1188,1050,1098,1714,1774,1230,1504,1782,1802,1224,1009,889,621,849,1110,1186,1252,1174,1576,1382,1106,1116,1230,1556,1756,1704,1678,1512,1444,1266,987,1110,1518,1690,1444,1358,1434,1344,1082,1030,1244,1084,783,971,941,710,833,588,364,308,434,777,714,1202,1402,919,769,893,1084,996,1002,1176,1136,1216,1260,898,682,1009,1004,649,544,799,1015,1192,1194,1070,1262,1230,1226,1478,1360,736,680,987,996,1158,1098,795,829,927,948,934,1078,841,954,1246,945,599,605,781,912,832,805,1206,1698,1466,1126,1562,1680,1158,1144,1456,1572,1122,637,767,1004,750,569,618,1044,1004,641,911,1368,1030,730,1134,1310,951,1013,1242,810,385,334,325,281,276,254,223,248,242,329,463,542,565,1026,981,1072,1164,1130,1054,877,664,460,344,650,1266,1384,891,743,1102,1080,702,617,722,917,1108,1268,1546,1698,1438,1262,1574,1722,1224,1018,1310,1226,1756,1994,1590,1208,1132,1008,579,671,569,901,786,949,936,760,779,1040,1052,1106,992,776,957,839,777,1176,1142,1268,1052,851,1286,1556,1672,1604,1498,1104,558,433,516,806,1322,1338,1116,745,543,606,760,1004,881,709,938,744,1204,1114,949,768,1011,1154,1236,1150,1156,1084,938,918,682,715,978,641,386,435,518,565,538,568,713,970,1042,726,642,1102,1322,1212,984,571,441,458,358,848,684,579,1388,1418,1104,1454,1152,884,1168,1128,1056,1150,1234,1384,1486,1482,1214,756,390,328,406,384,462,381,375,433,693,957,955,965,871,785,621,546,761,1218,1194,1244,1130,899,1028,1018,1248,1514,1158,933,1110,1306,1276,937,1184,1332,1364,1242,1184,1300,1372,1462,1462,1476,1238,871,1058,1462,1480,1310,1320,1014,800,941,631,378,922,1120,535,405,998,1436,1454,846,460,465,637,601,799,1146,1088,910,848,1015,947,1156,1312,1170,1288,1160,1004,1174,1426,1454,1238,1192,1230,1324,1184,1360,1272,1316,1578,1494,1340,1182,959,1174,1388,1142,1146,1018,647,486,544,650,552,841,1046,1166,1170,866,543,759,1108,992,1156,1104,1112,1302,1534,1186,1096,1246,1220,1166,1090,866,1134,1290,887,1068,1274,1118,788,613,577,617,1023,1328,1054,1090,1494,1450,1240,1074,871,1094,914,788,697,836,1013,930,623,494,830,1370,1072,660,465,430,552,696,702,663,788,1054,922,924,1310,1346,1250,1202,1056,946,730,690,768,989,1148,1172,902,597,538,491,489,495,683,680,650,739,796,636,489,419,571,834,949,896,672,623,388,327,300,339,342,390,685,974,819,922,1256,1242,1320,869,897,736,1068,1390,1330,891,669,957,963,743,705,922,1128,1282,1394,1456,1198,1194,1132,1190,1222,1164,1146,1388,1524,1468,1600,1598,1402,1438,1342,1256,1192,1048,753,1026,971,949,1300,1246,1232,1172,971,918,1220,1312,1296,1392,1260,1086,922,666,541,529,626,799,1284,1820,1450,1346,1238,1398,1494,1496,1404,1386,1568,1504,1576,2050,1744,1666,2092,1366,1404,2020,1312,1166,1214,1404,1470,1292,1278,1013,1003,1110,913,1290,1418,1082,926,736,547,625,929,1232,1284,1460,1428,1378,1786,1670,1162,805,953,1078,772,1034,1246,1282,1290,1376,1236,1360,1364,1392,1138,828,930,1026,863,863,1134,1178,836,730,800,955,1100,1058,913,720,981,1340,1314,1156,1276,1604,1470,1782,2248,1710,1486,1542,1536,1196,1218,1206,1318,1266,993,1246,1572,1520,1710,1786,1798,1528,1168,892,871,672,942,805,821,1186,1132,943,808,763,1232,1410,1202,1214,1150,1168,1126,1130,969,983,1136,1136,1170,2128,2352,1334,1136,1052,730,767,736,706,1048,1320,1298,1386,1440,1132,917,1013,1106,870,1005,1278,1454,1378,1474,1198,813,683,658,799,775,1024,947,491,438,448,387,371,486,995,1210,1182,1246,1246,1260,1316,1516,1096,794,972,1224,1300,1342,1342,1312,1166,806,810,961,1058,1102,1176,1342,1272,1068,926,902,804,767,897,938,894,844,1056,1316,1078,578,968,1144,1196,1304,1292,1350,1250,902,692,656,849,1112,1106,1206,1238,1274,1394,1306,1198,1172,1234,1021,1164,1230,899,1372,1240,1226,1104,939,798,924,894,918,1124,1018,902,1106,849,1500,1988,1276,1030,1030,568,604,1166,1038,527,711,1080,1076,1011,902,802,636,810,654,920,1224,1092,795,677,924,845,732,915,926,926,1216,878,829,985,1030,747,621,509,329,337,551,770,764,944,816,709,585,746,659,494,455,385,352,328,375,448,457,461,383,471,618,613,595,597,508,563,720,778,760,698,673,802,973,1040,587,394,469,481,616,859,917,829,703,803,714,873,905,1010,1390,1290,760,1124,1250,730,733,537,800,1548,1222,1064,800,661,724,684,489,489,1152,1484,1186,1046,964,1188,1260,938,598,686,920,1032,1026,1246,1360,1370,1180,1106,1244,957,1021,1140,959,1206,1498,1528,2004,1736,1646,1398,857,600,370,390,513,998,1288,913,700,550,440,350,359,829,1416,1466,1324,905,717,664,843,891,754,691,639,692,895,978,1028,1038,1244,1366,1396,841,679,1256,1536,1146,1086,1268,1064,1078,784,664,874,744,601,689,1114,1456,943,591,486,450,612,742,651,498,517,539,505,621,640,668,1011,700,470,772,1054,1122,886,616,662,902,1172,1044,1034,995,1136,1160,934,984,1168,985,776,585,783,1216,1019,794,1080,998,766,1118,684,715,750,941,1294,1046,789,1066,1072,958,680,590,746,516,463,425,866,1190,991,903,974,1082,1268,1230,923,799,907,1076,1000,1190,1294,1192,1382,1202,579,525,852,789,886,1218,1042,1194,1396,1288,1474,1448,1170,1156,1192,1494,1758,1588,1306,1478,1120,629,692,1216,1584,1314,820,996,1390,1054,751,1038,1012,868,948,1218,1404,1356,1306,1238,1156,905,778,1012,786,1096,1168,969,776,877,939,915,954,1044,1072,1034,1208,1844,1316,731,611,725,677,458,408,648,667,446,412,432,534,697,788,852,620,475,519,811,804,751,933,990,930,1156,1134,951,1036,1132,767,982,1132,1234,1272,1132,1154,1196,1054,1004,1248,1412,1490,1248,1184,1150,1092,1100,1344,1538,1546,1586,1612,1382,1250,1224,1292,1476,1172,1162,947,927,988,753,605,858,1242,1454,1242,1236,1224,1164,1036,1060,1228,1210,1206,1258,1082,1106,1084,1044,1102,1092,1078,1026,1021,1028,1318,1220,1136,1206,1040,1009,974,824,586,549,877,1110,1126,1030,1004,1140,1132,1144,1194,1202,1260,1068,1002,1040,933,853,1072,1278,1214,1242,1340,1348,1086,1044,1158,1136,1246,1212,1244,1240,1164,1086,1013,661,866,1194,1264,1062,1180,1300,1174,1224,1124,1134,1164,1226,1272,1238,858,483,367,724,1432,1684,1530,1560,1548,1484,1290,923,619,564,641,1100,1168,1006,847,722,563,414,484,648,850,1322,1100,1110,955,601,781,980,1098,1482,1296,1128,1260,1390,1382,1320,1322,1318,1290,1406,1334,1188,1204,1206,1274,1466,1480,1450,1296,948,670,663,719,698,943,794,877,1068,1020,968,890,701,775,710,790,642,345,286,443,590,501,335,347,544,712,450,562,757,623,488,473,698,521,482,573,547,499,860,1232,1164,1410,935,542,1306,1432,1368,1216,993,758,590,469,412,400,513,962,1464,1220,1190,1158,1286,1168,1138,1158,822,419,522,955,1098,990,1092,927,1032,1194,1126,985,1080,1060,806,1010,1294,1300,1860,2082,1234,689,841,901,599,1212,951,676,1116,1308,1212,952,518,738,806,887,895,899,596,951,1080,869,844,893,1046,1410,1018,727,616,502,477,570,1214,1434,1262,1170,1080,1100,1158,1132,810,619,636,455,383,1082,1362,771,336,305,303,346,326,336,389,527,660,730,1021,1228,1346,1700,1772,1140,800,904,960,1170,790,818,1110,704,736,927,1182,1464,1058,1246,2262,2172,750,352,325,349,305,236,394,771,781,426,456,806,1154,733,487,424,513,492,443,374,306,345,727,1280,1402,1498,1774,1484,1001,885,973,1124,1288,1120,1030,1066,1174,1374,1082,703,647,689,912,799,399,319,318,304,312,298,603,1274,1404,1128,828,450,385,702,1078,1136,1220,1338,1636,1274,1032],[442,349,343,311,266,317,384,398,420,476,561,565,605,581,520,505,414,338,419,475,408,373,322,346,433,518,461,354,323,376,329,316,337,351,481,567,807,1344,1082,719,1284,1134,865,959,1174,1292,949,599,457,409,582,854,979,932,891,875,929,1066,1005,728,785,689,673,1012,1460,1598,1472,1466,1550,1582,892,944,628,583,1021,1094,861,801,724,532,460,457,477,353,340,396,469,675,1007,1182,1178,1184,1230,1198,1176,999,1104,1208,1266,1390,1620,1570,1776,1810,1416,1350,1298,1210,843,851,1340,1450,1516,1426,1200,775,450,411,415,359,278,302,306,400,401,394,439,554,883,1116,965,650,806,880,814,1274,1188,943,1142,1011,959,1060,1112,942,677,502,400,417,656,781,543,301,311,328,322,667,651,726,865,650,760,1300,1262,1152,1058,1032,1104,823,632,894,1174,1003,910,1208,1370,1154,1376,1264,1030,962,1080,980,1150,1116,1848,1506,1062,896,1054,1360,1620,1760,1756,1484,1410,1456,1048,1208,1480,1632,1448,1418,1290,1212,1402,1454,1430,1180,809,1312,1040,719,1016,847,426,302,401,428,824,1474,1134,645,587,580,633,616,683,796,791,1106,1376,1010,753,944,944,749,620,816,1021,995,930,835,975,1114,1258,1220,1056,677,638,855,983,1230,1186,1058,920,969,995,770,850,934,962,979,869,736,807,901,1138,1464,1172,1614,1672,1382,1572,1864,1360,1130,1310,1404,1432,1088,647,688,725,875,816,844,1108,914,857,1144,822,549,480,822,1454,1318,1226,1360,956,451,354,330,274,314,288,256,303,283,283,298,400,566,678,696,874,937,1228,1236,915,849,673,536,963,1116,1116,932,821,832,849,1096,1354,1202,1122,1054,1262,1554,1594,1330,1444,1388,1300,1360,1262,1230,1264,1458,1398,1030,1184,1316,1058,589,702,513,340,807,728,500,489,659,905,1070,1206,929,712,808,684,961,1100,1310,1478,1078,744,901,1392,1642,1742,1484,804,453,469,431,774,1132,1372,1176,736,509,492,693,1104,861,803,880,858,1406,1250,1300,1076,1044,1066,872,944,1036,1028,821,736,670,408,515,473,359,372,836,994,663,647,986,1056,1186,1144,949,1310,1204,654,416,263,266,424,829,1088,665,641,1206,1488,1284,1492,1026,826,1184,1270,1108,1122,1244,1296,1378,1448,1328,1096,583,399,367,288,317,402,510,491,769,999,1062,1162,835,1064,1044,763,843,1104,1128,1588,1384,1174,971,876,985,1174,1090,1262,1196,1324,1168,1122,1198,1270,1390,1240,1164,1262,1484,1506,1252,1214,1021,971,1324,1574,1404,1216,1180,877,681,830,736,861,1172,1084,798,537,913,1266,1334,786,382,366,397,478,698,1016,796,971,1154,1034,1142,1460,1162,1124,1108,960,1130,1234,1386,1164,1146,1432,1544,1242,861,1076,1272,1254,1376,1266,1172,1310,1278,1284,1098,919,1228,1330,1009,570,341,386,422,463,654,831,854,843,832,756,1019,851,1130,945,995,1304,1432,1126,1158,1300,1092,1054,1126,1202,1460,1274,973,776,846,849,897,882,718,798,1314,1618,1184,902,1184,1494,1490,2076,2220,1554,1106,876,745,697,651,675,707,735,799,999,889,670,529,699,731,699,689,810,1158,1096,804,772,998,1270,1216,938,892,724,553,480,668,924,951,882,661,545,470,472,440,387,485,457,461,772,876,667,519,496,558,719,931,973,713,592,411,359,305,309,442,530,686,1009,948,906,1058,1216,1122,695,821,902,1280,1346,1168,705,545,876,1054,916,813,1398,1256,1158,1102,1242,1418,1298,1426,1440,1462,1582,1512,1498,1544,1634,1654,1548,1386,1446,1288,1166,1188,887,760,1028,889,958,1440,1410,1090,997,923,1330,1240,1168,1312,1390,1302,1222,945,566,582,744,916,618,711,1456,1564,1270,1136,1440,1520,1440,1394,1434,1544,1290,1252,2110,1924,2182,2934,1536,1160,1334,1202,1021,861,1150,1252,1250,1222,945,923,738,752,1350,1364,1048,901,763,506,667,718,757,999,1356,1438,1344,1298,1110,1140,1126,1260,1086,1112,1416,1372,1234,1310,1510,1308,1406,1200,1312,1138,870,1162,1296,1094,1172,1478,1370,1092,926,861,593,441,582,775,581,451,794,1274,1156,1548,2222,1544,1522,1560,1228,1338,1574,1408,1336,1298,1040,1052,1172,1330,1504,1456,1422,1496,1462,1664,1534,1254,869,904,876,902,860,966,1094,973,917,946,1088,1428,1368,1330,1240,1310,1252,1152,1148,1046,987,1158,1460,1334,1278,1204,1556,1206,1174,927,655,777,789,913,1246,1286,1354,1476,1254,1198,1248,1474,1472,1500,1368,1262,1250,1302,1226,1186,1090,815,713,647,799,885,651,585,480,403,449,892,1322,1182,1198,1288,1232,1432,1346,1176,1286,1230,1088,1190,1312,1238,1474,1406,1150,1076,1318,1032,1056,1192,1032,1220,1296,793,647,975,999,876,1246,1122,790,958,1070,1007,729,531,621,661,835,1126,962,841,1272,1216,1020,937,1146,1242,1096,985,1074,1404,1528,1450,1346,889,919,985,1242,1268,1028,1224,1154,1368,1050,740,883,1052,1110,1318,1472,1108,1120,1382,1292,1362,1450,1132,1092,1098,729,544,987,939,677,1206,1528,1272,1244,1100,1024,672,651,926,1242,1394,1550,990,620,955,937,803,1019,879,1078,1186,1186,1009,765,744,658,924,654,426,351,430,413,595,872,708,381,404,518,411,405,478,439,392,426,453,394,430,434,424,684,908,808,700,564,451,444,468,874,1308,1196,1023,1020,850,677,409,415,522,531,614,926,1058,737,661,755,664,753,843,854,1116,1212,1064,1242,912,795,1158,1082,1198,1372,1003,849,573,489,411,298,306,341,424,718,913,852,1020,1180,929,1021,955,987,1082,1160,1214,1282,1426,1474,1320,1160,1240,1060,1334,1184,872,991,1388,1630,1748,1570,1522,1410,1160,823,430,513,411,466,534,462,463,765,756,413,359,686,1148,1426,1040,859,931,739,526,392,462,593,498,808,1310,1280,1062,969,1124,1046,1288,785,1050,1430,1124,660,993,1296,1230,1016,664,555,678,616,717,878,1132,1126,783,448,444,713,1120,1392,1284,768,641,531,462,478,397,446,547,450,463,871,1096,1220,1246,874,845,885,1256,1272,1092,985,1142,1376,1274,1344,1470,1400,1412,856,1038,1338,1110,719,616,864,1001,1062,854,906,1030,1148,1122,962,978,967,1108,1002,826,567,856,932,684,492,951,1432,1066,903,1174,1148,1130,1168,789,965,1104,1074,1166,1102,878,1308,1676,1050,661,777,1310,1074,1180,1166,1180,1162,1072,1208,1366,1212,1036,990,1396,1746,1842,1716,1250,1400,1232,689,589,1160,1650,1572,1180,1054,1194,896,951,1326,1238,1122,1326,1476,1378,1310,1570,1592,1412,963,704,1021,657,814,1368,1338,1062,941,973,949,976,1012,982,952,1116,2320,1790,1418,786,744,687,421,596,818,689,464,431,435,697,720,866,809,567,511,719,1052,1172,1118,949,1044,1118,1232,1444,1308,1042,1194,916,800,1124,1360,1246,1180,1194,1034,955,1034,1160,1274,1424,1288,1188,1050,1100,1180,1374,1552,1496,1512,1244,920,1096,1064,1002,1036,1194,1208,1050,1210,1278,1020,1012,1100,1226,1592,1148,1026,1100,1230,1092,951,1250,1388,1360,1316,1106,1324,1204,1082,1154,1166,1148,1098,1046,1164,1260,1172,1260,1220,1214,1162,1046,1042,873,763,985,1042,997,982,849,938,1060,1009,1016,1118,1152,1064,1090,1530,1122,1132,1304,1208,968,1206,1416,1302,1346,1502,1352,1352,1244,1206,1274,1150,1090,1188,891,778,628,727,918,626,1028,1204,855,944,1272,1314,1396,1482,1428,1318,1042,541,358,725,1186,1023,1210,1444,1426,1432,1292,1086,905,907,745,576,558,506,512,613,789,656,818,746,646,617,907,1406,1184,691,742,898,925,1218,1260,1246,1140,1202,1084,1248,1248,1272,1296,1308,1190,1019,1098,1304,1232,1266,1138,1406,1258,993,930,998,1096,920,988,891,749,904,840,1034,1048,590,528,553,960,741,419,361,351,567,571,295,264,373,840,891,645,666,780,582,299,298,357,544,785,861,667,676,865,816,935,587,380,520,639,930,1048,769,547,634,946,852,768,451,796,1400,1288,1176,1358,1560,1128,797,832,464,320,340,382,493,842,1232,883,942,1098,1206,951,951,1026,843,1142,1400,1007,1328,1370,807,621,604,411,393,669,634,1040,1160,1246,1368,1248,1378,1648,1494,1242,1048,748,655,998,1202,1050,1166,1234,956,1174,1042,1040,677,554,614,577,878,1032,1020,1202,1092,1112,1092,688,675,700,610,383,663,1486,1632,850,404,339,374,313,295,363,404,455,646,950,1160,1340,1262,1176,1338,1192,1420,1376,1005,1034,780,777,1202,1460,1230,725,827,1072,1198,2138,2062,1184,444,319,307,284,369,388,447,771,572,341,376,814,1490,790,629,666,650,519,526,500,372,406,719,1302,1244,963,1034,778,623,716,901,1348,1394,955,1050,1136,1050,1404,1240,851,491,488,674,696,418,317,322,298,307,365,797,1356,1308,1080,493,396,535,663,986,901,817,1024,1422,1296,1005],[422,365,356,335,345,360,411,428,469,516,549,631,615,566,512,473,427,401,456,531,457,432,353,346,356,405,333,304,272,282,297,346,364,347,464,580,467,550,736,1172,1350,885,633,939,1324,1140,636,585,640,909,919,880,1020,1126,1206,1148,1134,829,534,604,516,303,412,500,624,605,537,589,669,636,610,1088,1118,700,777,1110,1072,774,493,415,394,425,447,368,324,349,371,615,1102,1314,1232,1168,1208,1236,1262,956,857,1072,1524,1532,1230,1462,1704,1622,1502,1442,1220,930,886,994,1254,1350,1384,1262,1005,474,306,353,311,260,288,329,404,478,693,864,915,921,930,890,820,744,740,668,581,886,917,1058,1222,866,798,1062,1130,818,491,565,455,447,835,1002,618,386,491,571,404,738,874,655,826,925,1060,1146,1170,1192,807,630,977,1058,762,801,1020,915,697,857,987,1384,1782,1502,1066,1264,1226,962,908,1058,1350,1124,778,741,1014,1536,1968,1748,1426,1698,1736,1636,1036,1005,1122,1398,1554,1246,1120,1282,1532,1856,2036,1810,1302,1432,1210,938,1266,1320,898,483,416,671,1260,1226,880,641,750,828,712,722,888,756,741,1140,1238,711,686,870,843,1013,882,787,802,645,689,982,1144,1464,1554,1272,1338,1012,1034,1196,1142,1062,1310,1160,1076,985,831,639,757,1072,1040,600,691,798,612,658,1172,1674,2068,1938,1492,1400,1620,1350,1050,1312,1394,1514,1332,885,781,708,558,832,1062,1260,1350,1156,1330,1290,670,569,550,514,912,1098,949,1182,1007,461,316,282,300,335,321,288,312,315,317,303,409,899,988,961,1028,1170,1278,1078,913,1094,1050,777,849,825,728,668,594,787,980,1716,2210,1548,1362,1278,1334,1638,1490,1242,1246,1458,1390,1058,955,1136,1216,958,883,1034,1454,1472,1126,773,846,572,407,836,861,603,628,583,625,760,999,741,412,301,711,1344,1166,1342,1284,995,948,1070,1430,1466,1458,1436,1362,993,612,482,406,500,1038,1294,839,524,606,722,925,986,1011,868,591,713,1068,1322,1194,1244,1040,865,797,479,657,926,998,1148,835,711,436,342,410,771,927,524,708,1418,1132,1246,1282,1060,1416,1015,420,254,253,272,332,525,590,499,335,496,686,794,1240,855,707,977,1142,1056,995,932,822,772,1192,1142,849,999,703,395,325,346,517,639,547,835,1322,1422,1170,630,659,895,1100,1062,802,878,1090,1104,952,707,937,688,685,835,898,779,1092,1218,1098,927,1328,1562,1374,1232,1284,1420,1388,1286,1042,1002,926,857,1014,1188,1012,824,647,458,555,772,1242,1338,1060,951,780,882,990,944,621,546,595,515,653,785,857,1176,1384,1338,1080,1192,1548,1594,1548,1138,799,1100,1272,1190,1046,1216,1370,1534,1024,742,1216,1516,1334,1172,1120,1202,1354,1192,1280,1256,1086,987,1040,897,568,568,588,353,285,295,393,816,1182,1056,866,759,546,714,954,899,1144,1356,1124,1280,1322,1164,1023,1006,1034,1250,1534,1500,1236,1134,863,717,781,1019,1594,1538,1878,1266,872,907,1468,1528,2836,2836,1698,1134,933,780,801,870,1052,1108,1192,891,1052,1264,836,534,688,752,673,772,1023,1118,1064,706,518,866,1220,1114,932,1042,866,763,846,903,823,538,429,413,487,452,487,444,365,359,357,416,573,647,618,576,597,578,687,956,901,782,644,471,375,360,395,509,619,798,1020,941,909,1016,1170,701,658,817,829,1216,1390,1150,563,417,795,1548,1664,1542,1628,1506,1322,1318,1032,841,1120,1212,1072,1200,1236,1240,1236,1304,1476,1272,1322,1594,1284,1122,1330,1116,927,1264,1276,1088,1272,1272,1310,1082,963,1054,1254,1214,1312,1440,1356,1236,1410,1090,944,1044,1114,1204,843,783,1028,1400,1318,1206,1396,1556,1540,1252,1186,1164,1092,1274,1686,1620,2136,2074,1454,1180,1078,1262,1272,1144,1390,1404,1460,1312,1100,1134,1078,1190,1454,1346,1296,1794,1668,868,949,725,709,1005,905,1012,1268,1196,887,1042,1108,1016,1034,1074,1362,1546,1354,1562,1420,1316,1078,1250,1686,1728,1328,1100,1170,1190,1566,1742,1314,890,824,1064,711,494,438,500,505,405,711,1106,1038,1028,1242,1280,1242,1298,1086,1266,1282,1220,1484,1272,916,1158,1282,1300,1416,1590,1602,1316,1296,1610,1616,1332,1136,1112,1062,1332,1816,1686,1132,657,717,1092,1390,1414,1570,1434,1234,1250,1210,1328,1328,1106,888,852,1138,955,892,1254,1550,1340,1036,684,894,1360,1134,952,849,1148,1224,1520,1194,1368,1858,1964,1744,1152,730,690,630,668,634,705,978,863,912,747,789,991,1064,921,606,484,697,1310,1394,1198,1224,1074,1110,1330,1214,1056,974,1188,1456,1226,838,1128,1544,1418,1390,1730,1342,969,1050,1122,1028,1212,1024,516,637,1152,1162,970,1138,1004,1100,1028,697,713,1007,938,870,908,877,1048,989,570,813,674,829,1216,1346,1228,1138,1146,1070,1272,1506,1450,1386,1102,974,795,1100,1066,1134,1144,1088,1116,681,641,808,1206,1144,1172,1252,959,1066,1560,1884,1700,1118,970,983,847,824,579,826,1188,1078,1390,1440,1172,998,1114,1110,920,1046,1270,1478,1926,2238,1582,968,711,839,1176,952,509,517,721,1060,924,526,521,577,575,456,406,351,394,381,670,1023,747,350,338,444,388,401,438,494,544,565,475,405,457,492,526,624,672,601,643,913,720,543,576,959,1094,1202,1354,1318,991,599,533,494,631,918,850,824,800,1030,1396,1028,716,843,1001,1042,1060,1026,873,980,797,871,1242,1296,1200,1174,1028,716,464,396,332,345,433,416,325,483,769,1142,868,598,852,1364,1500,1246,1208,1378,1664,2036,1610,1350,1388,1042,926,946,1048,751,685,1042,1038,1174,1544,1370,1350,1308,1206,707,551,658,437,323,374,301,332,629,703,643,772,842,1068,1296,904,959,1098,994,910,920,722,547,642,1300,1660,1246,1248,1044,1156,1186,1136,975,1488,1478,1130,985,1172,1386,1216,886,1007,796,664,578,809,814,700,753,750,713,765,989,1050,914,819,897,830,735,615,447,542,525,377,338,569,1040,1062,1136,913,751,877,1228,1430,1492,1336,1218,1166,1158,1160,1150,1206,1332,1620,979,758,529,437,364,263,484,924,1118,995,1054,1034,1074,683,774,1070,1294,1270,881,520,529,962,1350,1040,610,1224,1948,1164,778,1036,1200,1210,1388,1148,963,901,1014,1232,1062,1096,1394,1342,955,886,1078,1368,1306,1146,1108,1412,1184,1084,1388,1384,1076,1156,1368,2144,2076,1732,1330,973,1234,1368,781,618,1166,1550,1892,1234,707,838,990,1228,1482,1556,1556,1560,1368,1130,959,1334,1484,1360,1032,722,1008,746,1096,1712,1482,1048,812,827,836,842,871,908,969,1030,1874,1518,838,564,764,883,625,718,1062,760,484,482,565,705,648,667,581,559,557,755,1086,1216,1238,999,1084,1226,1302,1616,1334,1120,1178,793,592,957,1336,1280,1200,1012,971,1224,1302,1116,1274,1606,1506,1440,1388,1384,1496,1462,1410,1340,1176,1078,899,1154,1134,1050,1186,1344,1208,1098,1236,1244,1110,1024,968,1060,1322,1062,966,1200,1468,1526,1176,1074,1158,1304,1274,1124,1268,1132,1156,1314,1270,1080,1048,1084,1094,1044,1144,1198,1258,1312,1268,1236,1384,1450,1306,1284,1228,1128,1144,1096,1230,1226,894,975,1160,1154,1228,1222,1376,1230,1184,1470,1448,1356,1656,1380,1336,1964,2294,1652,1328,1228,1174,1208,1182,1140,1015,662,590,534,661,758,745,1252,1362,965,979,1208,1302,1324,1360,1348,1174,992,634,759,1110,1410,1132,1410,1578,1614,1426,1114,1118,1092,1052,825,568,463,532,495,536,678,783,850,653,495,463,871,1066,955,785,587,658,589,841,1346,1408,1398,1466,1236,1230,1322,1278,1278,1372,1358,1134,1152,1396,1362,1418,1354,1262,908,976,844,868,1084,706,551,715,920,616,744,1368,946,422,309,359,506,492,491,438,300,288,282,296,400,468,941,1198,957,612,655,598,282,248,382,659,794,1112,1174,1160,1184,902,592,407,405,744,804,589,648,642,512,821,1512,1160,867,488,512,626,891,1132,1294,1368,990,593,489,363,384,320,341,402,473,680,764,669,804,1226,1396,1380,1280,1478,1322,1380,1146,1266,1296,824,700,617,530,808,1106,1178,1126,882,689,1028,1402,1736,2036,2304,2010,1160,609,578,906,1372,1322,1310,938,691,692,854,850,697,692,763,816,1006,792,687,888,955,973,800,673,915,864,487,245,447,1040,1192,733,773,583,451,318,345,385,358,380,832,1278,1098,1208,1220,1104,1258,1638,2020,1500,761,576,522,563,1066,1466,1108,796,907,1066,1346,1560,904,407,331,305,317,333,389,569,1232,1526,754,411,338,410,689,487,387,477,957,1102,664,626,786,848,691,788,1180,1214,709,432,482,609,901,1152,826,601,702,618,654,1019,803,679,512,392,399,566,514,454,463,548,741,951,1350,1446,1080,1158,786,824,1192,1064,722,466,597,971,1222,1230,1308],[564,437,345,373,477,440,420,434,444,506,549,624,620,549,469,434,430,421,450,493,511,501,373,311,342,420,417,348,276,294,301,325,299,305,391,506,564,901,1614,2438,1958,671,633,916,1010,981,628,601,502,705,857,832,739,626,677,819,839,758,704,942,1006,910,876,833,819,935,971,973,1072,859,576,891,1162,1020,736,900,915,905,633,463,404,404,390,346,284,294,309,523,1046,1236,1136,1184,1196,1136,1017,794,815,1198,1738,1488,1326,1696,1460,1086,1019,838,836,823,870,1042,1240,1406,1262,1018,766,404,326,290,267,267,370,641,602,821,1432,1456,1168,1042,1078,659,570,644,963,939,674,900,1082,1324,1366,1012,1038,1148,1010,858,722,948,871,470,608,641,383,401,868,1012,603,780,970,742,852,1100,1206,993,1128,1188,1114,863,1168,1226,841,1162,1428,952,858,1224,1086,1584,1708,1250,884,1024,1120,922,709,872,991,827,771,852,1200,1520,1782,1472,1174,1466,1742,1698,1238,814,664,1122,1362,992,883,849,1170,1794,1774,1610,1476,1664,1720,1568,1418,1224,1348,871,710,1112,1058,963,894,714,755,659,608,743,758,495,431,641,830,709,1011,1058,915,1040,1190,1074,974,1062,1190,1160,1356,1690,1426,1296,1314,1278,1174,1272,1140,1020,1162,1092,1082,994,785,541,802,1162,1076,659,733,1136,839,601,1156,1674,1688,1614,1664,1714,1472,1082,1184,1152,1126,1428,1056,784,740,822,796,932,1170,1124,1136,1450,1298,1154,747,632,695,1005,1536,1334,951,1278,1026,390,328,300,300,314,343,474,365,308,291,311,437,1056,1376,846,643,1028,1146,1216,726,561,694,1010,1136,770,523,487,586,492,350,991,1690,1594,1538,1736,1752,1422,1232,1110,999,1208,1208,936,1046,1166,1186,1260,1009,1294,1494,1288,967,910,822,743,884,661,709,744,818,473,473,525,515,455,428,492,917,1204,1248,1252,771,484,664,1136,1488,1416,1290,1070,1340,1472,1454,1074,575,513,1116,1338,1168,860,1094,1026,921,1060,803,845,678,557,1060,1096,830,1022,1208,1052,854,467,583,988,991,988,1038,822,637,777,622,583,478,387,777,1448,1198,1324,1230,966,868,565,366,310,284,329,321,280,255,273,250,263,383,543,783,888,800,557,566,943,1068,860,719,586,1028,1332,1306,1390,1060,560,437,543,736,615,769,1198,1412,1292,776,523,792,1224,1304,1082,997,1164,1286,1058,771,491,422,397,783,1046,823,668,749,1044,1364,1470,1456,1440,1392,1206,1400,1512,1354,1718,1772,1554,1142,633,537,697,965,1176,908,483,393,585,1004,881,1044,1138,1007,1114,1038,739,582,888,907,717,852,1116,987,999,1098,1302,1100,737,1544,2800,2032,1062,662,743,1202,1332,1418,1390,1510,1404,1130,1176,1442,1542,1296,1066,1174,1170,1230,1178,1458,1330,1292,1174,963,515,511,769,778,418,299,404,487,709,1036,1007,1012,871,736,866,1114,1354,1830,1368,885,1050,876,1082,1088,1256,1170,1168,1330,1166,1170,1398,1272,968,763,1118,2270,2610,1700,1056,954,828,1122,1572,1766,1590,1368,1182,1176,839,1020,1416,1460,1340,1186,1052,1186,1124,886,680,717,821,724,911,1152,969,930,952,868,1120,1332,1132,1188,1448,1332,1272,1204,1106,1094,974,759,448,406,380,379,369,357,356,336,362,521,654,744,733,587,535,726,810,764,781,720,562,368,379,416,461,745,973,914,926,806,702,655,440,626,656,749,1188,1290,1204,576,486,902,1310,1376,1336,1566,1576,1804,1928,1226,1176,1280,1138,1124,1014,743,722,940,1456,1526,985,1316,1652,1292,1504,1692,1228,966,1042,1160,946,1212,1246,1170,993,1124,1232,1072,1106,1622,2018,1676,1638,1936,1722,1486,1232,1306,1414,1032,785,848,1208,1442,1468,1424,1426,1256,1238,1274,1172,1108,1462,1714,1568,1804,1962,1736,1164,724,802,1304,1228,1416,1422,1524,1156,1252,1454,1208,1256,1452,1322,1170,1286,1278,962,924,949,1222,1232,832,758,1142,1196,965,969,1174,996,1050,857,1234,1290,1420,1534,1304,1240,1272,1306,1426,1702,1462,1072,1186,1692,2900,1594,1454,1052,779,907,956,944,564,411,650,980,878,911,1192,1178,1290,1254,1009,1150,1208,1128,1186,1274,1290,1182,1164,1146,1172,1204,1330,1388,1382,1232,1312,1516,1598,1352,1168,952,788,970,1378,1346,1064,520,717,1142,1122,1360,1744,1526,1422,1388,1328,1384,1524,1478,1152,908,739,712,1068,1234,1288,1448,1316,1256,1746,1676,832,818,1000,1186,1500,1680,1312,1382,1616,1454,1230,1018,599,524,850,819,684,466,611,697,853,1046,1292,1282,1278,1184,880,659,901,1174,1124,1192,1266,1086,1124,1316,1310,1372,1232,996,1202,1304,1196,1406,1418,1656,1630,1300,994,987,999,1019,1212,1300,1018,792,973,1266,1096,855,1054,1042,1040,869,694,930,1312,1270,1256,1262,999,885,793,835,1136,933,822,1056,1268,1310,1496,1560,1268,1534,2604,1664,1416,1424,1040,644,962,973,1074,1288,947,823,818,547,759,1170,991,1060,1188,1120,1082,1052,1352,1418,936,1006,910,653,922,951,872,1021,1110,1116,1136,1094,1094,1252,1084,906,1024,1448,2082,2498,2536,2200,1126,565,826,1068,952,572,345,536,1040,1146,803,718,702,542,588,446,688,977,663,701,1054,648,301,305,353,302,521,897,772,624,590,444,392,376,430,505,528,526,584,789,1196,1016,767,840,1114,1214,1048,1002,1262,1116,724,642,673,886,1044,1056,719,647,1108,1316,1246,1200,1096,1044,849,871,828,672,786,703,990,1252,1166,931,925,925,579,345,357,325,368,437,388,279,347,647,1054,818,631,924,1496,1646,1200,1272,1786,2108,1816,1230,1196,1244,794,872,1007,896,655,530,733,595,792,1392,1330,1576,1386,1162,1015,631,440,464,581,543,335,324,433,558,904,1008,830,1016,775,719,859,1090,1112,972,1003,716,525,446,670,1060,765,876,941,969,1512,1366,1112,1390,1344,1346,1128,1480,1120,747,728,1414,1080,500,404,631,614,574,841,1108,822,736,694,714,784,560,703,834,811,755,676,651,785,826,729,821,1178,1250,1128,716,714,857,1380,1636,1536,1250,1140,1250,1222,1208,712,705,1230,1432,924,466,510,946,861,507,430,804,1300,1204,1388,1422,1410,786,891,1001,885,922,616,416,665,1116,1492,1112,1026,1290,1758,1790,1098,1108,1204,921,856,1016,1248,1094,1122,1274,1180,1042,1316,1270,997,700,820,1122,1086,934,1356,1470,998,1138,1080,1034,1212,1298,1454,1976,1946,1550,1300,1254,1346,1400,899,684,1024,1172,1424,937,683,799,1010,1166,1542,1798,1516,1406,1102,1032,1120,1114,1306,1252,983,742,940,842,828,1386,1362,912,930,1028,1042,1036,989,1002,1044,1102,1356,1148,808,675,746,893,816,957,829,592,497,496,589,553,516,524,542,586,601,677,748,948,1060,855,1034,1376,1342,1166,1180,1250,971,589,702,937,1240,1214,998,866,1011,1122,1112,1154,1304,1268,1360,1582,1478,1368,1256,1240,1190,1416,1224,1152,1032,1134,1278,1170,1080,1166,972,827,885,991,1024,927,709,664,1306,1256,1204,1290,1534,2332,1982,1116,1302,1418,1100,1012,987,1090,1042,1042,1086,935,709,683,849,947,974,1046,1272,1254,1180,1144,1246,1384,1456,1382,1130,1072,1258,1272,1184,1254,1042,1226,1166,1204,1096,1015,1076,1160,1266,1532,1772,1746,1958,1218,1216,1456,1710,1624,1298,1172,1130,1138,1074,1084,780,504,420,455,553,545,1054,1206,1312,1328,1238,918,1022,1158,1298,1384,1252,1032,1030,1282,1318,1588,1670,1848,1504,1436,1174,722,581,557,635,635,654,413,433,445,544,559,663,523,622,770,653,513,791,1182,1314,1028,708,677,691,865,1188,1390,1322,1190,1322,1340,1224,1400,1294,1422,1760,1530,1450,1364,1154,1212,985,566,564,552,666,816,672,577,528,832,582,498,775,906,789,677,609,512,395,365,348,345,308,321,302,507,606,772,1162,1052,543,604,691,356,327,623,1128,1198,1278,1246,1424,1638,1402,844,473,469,725,860,802,702,425,441,538,782,647,400,456,503,466,794,1236,1148,882,558,421,364,384,368,357,331,352,363,617,769,680,850,1262,1264,1132,895,1224,1320,1528,1632,1516,1266,599,683,809,523,905,1132,672,707,644,577,912,1232,1418,1462,1064,1023,883,946,987,1222,1976,1476,849,530,599,597,571,813,1068,953,1002,1174,1412,985,681,1134,1176,996,872,767,786,700,441,325,321,436,410,481,646,582,495,372,425,492,495,579,1322,1610,1168,1266,1206,1228,1350,1682,1582,1462,989,535,672,771,949,1074,727,939,1058,899,674,625,398,356,431,407,371,399,509,986,1660,1542,872,759,434,289,305,343,393,511,996,1222,644,439,840,1076,962,494,797,1170,835,495,421,493,677,672,477,421,391,379,444,468,566,717,544,361,521,726,777,949,912,1003,1012,960,1178,1142,1150,945,883,1344,1540,1172,772,641,745,977,1009,1108,1436],[718,540,383,420,518,525,490,506,442,480,529,508,529,536,458,392,413,439,500,490,468,410,338,292,378,496,500,297,256,316,337,315,311,317,359,401,772,1216,1728,3466,3852,1130,629,991,1356,1178,666,636,418,738,891,533,323,311,310,267,335,642,574,768,1184,1150,1176,1354,1606,1636,1178,797,803,680,502,731,1260,1310,979,1088,1194,1134,821,532,386,372,387,398,304,285,290,497,1070,1022,761,834,767,816,1019,1094,1288,1536,1696,1318,1648,1608,1274,1036,956,738,708,914,1004,987,1140,1238,1240,921,539,466,477,468,341,323,651,1218,1102,1338,1614,1038,713,725,1016,898,929,891,1068,915,709,702,602,838,1092,1003,1136,1078,1012,930,673,601,655,455,332,338,325,414,792,949,742,821,896,819,902,1278,1242,1212,1080,1178,1366,1030,813,795,926,1124,1318,822,632,800,827,1138,1036,985,1006,1036,1106,1023,971,843,854,890,755,892,1216,1262,1418,1254,1144,1122,1260,1484,1666,1484,1116,1308,1188,875,597,591,541,416,383,754,1122,1392,1738,1802,1422,1256,1522,1094,1166,1070,574,813,1064,948,836,832,852,885,779,602,550,652,745,1092,1011,1050,977,987,1012,1074,1110,976,828,717,1040,1378,1074,1018,1092,1300,1072,1120,1176,1180,1152,1158,960,946,1001,785,917,1328,1140,704,549,888,1240,1142,1168,1500,1720,2060,2092,1902,1176,1046,1288,1448,2062,1450,828,830,795,768,778,987,1080,1042,1024,1396,996,1162,954,913,877,1160,1432,1098,1001,1226,752,361,333,308,279,331,560,841,568,496,357,316,402,776,1074,721,655,938,1054,935,1030,942,927,1034,984,981,634,487,451,355,356,626,1088,1278,1400,1748,1406,1072,1086,894,953,850,1100,1015,1009,956,1011,1082,925,1118,1180,1108,1000,1026,985,1132,1290,1102,1198,1042,683,540,629,855,1020,747,557,860,933,1001,1232,1230,971,776,1194,1246,1392,1244,905,1156,1408,1376,1460,1670,1286,1020,1132,939,1224,1308,1232,974,1021,1174,1094,1068,698,527,795,881,1068,1212,1250,1104,1262,907,738,948,1076,1180,1160,852,577,938,1200,1050,516,367,479,821,1140,1046,758,947,1048,750,565,452,347,347,335,307,273,284,278,273,326,450,703,901,663,331,593,908,812,590,794,1150,1400,1522,1580,1580,1126,575,638,898,1078,666,730,933,938,703,575,796,1034,1376,1252,955,987,1118,1286,1218,1108,886,601,623,1162,1194,901,788,647,771,818,1116,1294,1386,1428,1500,1462,1392,1344,1488,1540,1792,1450,703,581,619,826,1356,1224,883,656,538,685,576,574,786,1522,2416,1272,1144,917,1234,1282,926,1058,954,830,858,1078,1344,1348,1076,1284,2042,1302,768,662,909,1296,1438,1244,1350,1498,1250,1156,1412,1494,1426,1270,1280,1244,1202,1132,1150,1344,1352,1168,1212,1072,611,656,781,725,382,311,365,412,679,1064,1140,1042,1154,1114,1003,937,1224,1738,1034,764,912,791,899,1144,1338,1268,1172,1250,1282,1242,1272,1376,1190,911,995,1606,1822,1250,980,1050,897,983,1418,1638,1494,1522,1552,1346,949,998,1214,1362,1356,1126,1124,1170,1100,1074,953,838,954,996,1003,1100,1007,1130,1390,1282,1344,1600,1272,1013,1354,1272,1128,1390,1208,933,904,738,447,343,331,333,325,332,340,371,406,578,625,658,623,535,474,550,581,667,768,728,642,439,395,336,360,498,522,436,677,651,491,428,404,440,495,772,1266,1202,1098,644,684,990,1152,1024,1250,1396,1176,1526,1644,1410,1376,1338,1112,832,806,955,1050,1238,1524,1486,1338,1654,1610,1354,1594,1262,857,1118,1042,1108,1118,1420,1438,980,703,933,1176,974,566,1266,1864,1638,1438,1620,1852,1416,1248,1524,1470,1112,691,533,907,1318,1412,1364,1372,1418,1660,1676,1396,1166,1334,1588,1664,1636,1576,1482,945,734,856,1284,1200,1416,1324,1284,1278,1252,1170,1188,1274,1460,1482,1234,1184,1286,1024,984,1007,1062,1182,1142,1038,1182,1384,1094,957,1154,911,678,1084,1308,1512,1676,1344,1158,891,998,1090,1250,1320,991,836,1188,1760,1964,996,926,662,883,1240,1272,886,488,455,778,1050,919,1070,1278,1188,1188,1148,1034,1082,1136,1314,1510,1350,1338,1338,1276,1334,1330,1524,1512,1432,1388,1294,1174,1252,1462,1018,990,956,902,959,936,1072,847,641,910,1242,1212,1196,1214,1160,1282,1174,1266,1302,1376,1322,1080,1092,888,769,1001,1050,1138,1216,1194,1132,1430,1272,1108,1568,1704,1470,1454,1570,1358,1078,1408,1332,1346,1388,846,803,1106,1024,955,799,852,914,880,1152,1166,1009,1186,1000,1076,1126,1064,967,1148,1342,1438,1282,1244,1376,1362,1378,1142,689,728,756,1120,1404,1602,1632,1330,838,858,1021,754,916,1232,1344,1054,1046,1150,1018,744,860,1108,1132,1114,1048,1122,1108,1218,1174,1166,1214,1034,959,1005,1132,1064,841,922,1152,1320,1228,1320,1274,1252,1416,1660,1354,1366,1282,918,641,720,875,1026,1164,909,887,1172,835,883,1058,724,706,951,1024,995,805,765,1124,955,820,642,742,837,775,937,658,686,915,1074,1154,1318,1312,1076,605,529,949,1178,1528,2136,2692,2032,814,580,832,838,483,410,515,790,1030,1126,876,589,628,706,734,946,1068,813,702,835,854,644,640,666,691,1444,1858,1021,611,697,523,465,418,407,446,527,532,606,921,1186,1156,1288,1506,1116,1214,1306,1132,728,695,743,615,695,1036,1136,1182,834,750,1018,1120,1234,1334,1188,1124,758,927,823,672,725,696,669,819,882,753,785,905,514,360,357,341,344,312,279,280,245,398,774,1066,1118,943,1048,1396,1106,1064,1430,1418,819,825,1092,1162,1084,1194,1204,1102,733,692,774,878,953,1302,1508,1412,1092,1164,1162,779,717,831,839,473,276,298,447,464,559,514,856,1166,886,912,949,979,852,497,505,538,484,449,407,434,448,417,545,902,1436,1238,1122,1294,1368,1330,1312,977,537,716,1032,1434,1186,911,1252,1478,1134,1202,1500,1316,788,508,691,785,708,509,667,799,686,969,1158,924,1156,1488,1570,1208,960,963,1290,1294,1068,1004,896,1102,1326,945,814,1754,1822,1202,453,367,699,824,736,675,943,1360,1007,550,393,568,1126,1272,1462,1260,1106,953,1208,1050,596,717,765,1048,841,1116,1464,1234,1520,1452,1838,2558,1764,1386,1382,724,589,841,1014,660,1068,1042,992,924,1248,1306,1020,869,1009,1116,964,1042,1072,1102,714,766,789,886,1060,1202,1352,1290,1236,1130,1192,1194,1372,1534,1324,717,682,738,978,1046,920,812,943,1340,1594,1432,1380,1136,647,579,1005,1034,1012,1016,767,688,948,940,590,1136,1170,826,707,691,819,822,696,608,710,860,796,851,801,678,558,555,717,982,746,535,599,693,725,659,613,561,634,634,745,692,700,756,841,864,1072,1196,1118,1274,1406,1288,1042,741,918,1102,1302,1244,1178,1044,1023,1114,1286,1440,1308,1250,1494,1566,1318,1134,1156,1256,1284,1450,1284,1112,1120,1110,881,670,842,1064,932,850,990,1046,882,947,700,650,1196,1314,1372,1344,1484,2326,1608,1003,1050,975,1040,1112,1160,1154,945,876,1009,1102,922,721,866,1009,1108,1136,1072,1034,1014,1200,1166,1096,1210,1118,1088,1094,1118,969,1010,1238,1132,1220,1068,1074,1058,1011,1158,1274,1234,1264,1430,1366,1354,1126,1088,1122,1178,1260,1340,1162,1116,1066,1122,1050,669,489,393,417,492,857,1046,1134,1252,1256,1060,1036,988,991,1332,999,1134,1104,1248,866,855,1470,1716,1418,1236,1262,880,554,420,513,579,613,602,379,383,551,476,339,355,476,545,654,874,947,1116,1294,1444,1472,1328,894,667,635,680,912,1080,983,1082,1156,1314,1442,1324,1350,1322,1302,1320,1430,1390,976,614,507,430,514,1140,1252,659,448,343,317,483,713,1030,1184,1110,1050,1060,664,584,693,662,512,561,626,513,489,432,522,846,1000,584,633,838,655,522,832,984,1332,1302,1246,1336,1416,1062,586,546,368,338,680,696,457,432,486,425,405,456,520,615,905,900,937,1394,1514,1460,973,468,421,383,330,448,502,420,404,563,785,862,982,1154,690,557,871,1110,1202,1210,1300,1432,1182,607,1216,1302,579,1076,1542,1050,800,605,528,846,1170,1404,1262,992,1116,1005,1098,1114,1098,1642,1314,929,1042,974,780,824,810,1140,1074,1086,1212,1190,791,437,700,733,827,990,866,763,728,371,372,433,413,350,336,409,545,500,398,547,918,1058,1238,1552,1180,1036,985,1036,1218,1252,1128,1114,1400,1194,628,851,922,740,882,784,777,963,880,579,650,521,391,485,457,359,414,538,592,998,804,509,427,332,306,312,329,355,375,500,624,670,416,348,645,620,378,456,508,492,599,574,544,543,594,526,390,352,442,439,409,725,857,610,482,629,981,1418,1594,1068,1094,1048,1024,1064,938,988,817,760,1086,1316,1262,1124,1034,988,933,1184,1500,1342],[821,689,499,448,471,466,522,499,449,493,461,444,589,571,489,397,404,440,495,450,397,402,335,304,401,492,500,262,226,292,334,313,351,379,408,487,619,769,1021,1390,1034,346,436,813,1136,990,528,337,410,749,899,669,340,309,294,319,445,828,921,952,962,857,1070,1444,1472,1268,904,745,1005,899,844,668,1013,1190,1106,1142,1210,905,607,498,391,369,328,285,288,285,293,492,885,773,508,521,523,736,1208,1384,1686,1838,1892,1836,1818,1346,960,714,691,675,558,746,1058,1082,1028,950,1106,716,713,755,1023,1086,753,617,1036,1284,1152,1234,923,410,368,419,720,1050,1052,775,639,688,822,727,563,738,709,758,1296,1148,856,854,739,771,867,621,574,675,502,348,409,746,875,908,1021,1062,1034,1124,1160,1504,1664,1358,1428,1130,779,822,1206,1214,1220,740,505,577,864,1162,881,667,828,1164,1262,1172,1074,991,919,910,858,905,1023,976,844,1026,1038,998,1050,1256,1678,1880,1816,1732,1396,1120,842,813,624,534,469,608,1042,1444,1610,1726,1438,1692,1748,1272,1252,871,708,1262,1438,954,862,887,752,980,741,787,752,935,1266,1492,1262,1294,1294,1236,943,869,855,937,1088,981,883,1296,1400,1300,1218,1290,1238,1040,1038,1142,1244,1296,964,1130,1080,1002,1112,1282,1086,753,666,1196,1820,1460,1122,1138,1556,1966,1896,1554,1070,1178,1400,1896,1702,989,910,844,785,771,757,778,876,1128,1036,1364,1136,1178,1008,777,901,1068,1108,1066,1160,1166,738,417,306,322,333,496,1288,1210,825,832,415,350,514,739,1050,962,838,1010,851,836,1146,1154,1230,1094,1108,949,520,421,313,335,375,677,1004,1130,1332,1614,1260,889,797,996,1090,954,1108,961,753,792,857,876,1116,1198,1150,1218,1100,1023,1328,1542,1324,1362,1184,1182,1026,685,875,1174,1150,802,626,889,745,1046,1102,953,1106,1236,1328,1316,1302,1036,837,1208,1478,1456,1646,1918,1692,1644,1552,1230,1436,1490,1364,1158,913,1174,1438,1380,863,664,590,869,1080,893,849,1017,1300,1206,902,1012,1312,1256,1070,1042,788,851,1150,728,341,247,309,605,936,968,950,912,1060,988,873,948,669,455,339,280,246,259,298,333,319,364,629,873,807,576,481,477,405,553,1144,1588,1582,1440,1414,1418,1078,542,895,1042,966,684,477,601,963,801,817,1110,1404,1456,1090,1036,1226,1628,1506,1198,951,990,863,1052,1094,714,916,890,852,796,453,551,849,1282,1662,1694,1512,1386,1462,1474,1542,1584,1164,979,784,899,965,1226,962,871,813,535,617,871,808,735,1196,2106,1198,875,826,1002,867,637,781,860,884,1062,1256,1300,1268,1226,1072,767,805,779,786,907,1256,1282,1184,1278,1152,970,1130,1578,1332,1224,1172,1268,1328,1314,1166,1296,1344,1188,1256,1120,1090,1140,1086,1046,880,736,565,467,452,858,1180,831,714,1158,1194,1126,1150,1042,1092,1168,1042,819,968,1116,1176,1290,1144,972,898,985,1042,1058,1246,1082,819,1106,1440,1412,1260,1086,1002,919,991,1366,1708,1568,1534,1502,1354,1170,1284,1464,1544,1448,1316,1432,1492,1270,1146,1096,1214,1242,1188,1200,1170,1094,1142,1232,1144,1142,1302,1018,879,1114,1066,1400,2258,1666,694,463,398,350,357,367,378,362,348,329,367,442,524,536,542,472,388,364,388,504,622,798,780,696,517,501,397,301,273,339,433,568,596,502,424,378,440,553,745,1176,1312,991,689,672,899,1152,1312,1164,800,891,1080,1176,1296,1206,1106,1172,915,1056,1316,1500,1316,814,960,1318,1510,1566,1620,1306,741,647,1034,1284,1212,1176,1358,1176,720,618,922,883,737,711,1302,1340,1310,1148,1378,1626,1344,1262,1578,1144,1058,768,907,1302,1386,1340,1368,1650,1592,1560,1418,1176,1158,1306,1498,1570,1616,1448,1314,1019,884,659,1036,1284,1584,1388,1208,1246,1036,618,691,951,1202,1258,1166,1268,1078,1082,1220,1236,1204,1202,1398,1590,1454,1356,1186,1246,1264,823,447,639,1024,1740,1550,1052,1020,702,495,570,965,1186,999,930,1138,1280,756,749,899,899,1086,1136,1092,844,536,612,865,883,973,1090,1250,1322,1260,1198,1158,1192,1344,1836,1826,1532,1450,1320,1284,1300,1280,1296,1388,1516,1460,1598,1454,1322,1572,1246,1274,1216,874,744,933,1018,902,943,947,940,1036,1160,810,588,666,764,1184,1158,1052,1070,1350,1418,959,913,1004,1204,1276,1076,1126,1238,1498,1422,1338,1298,1132,1132,1174,1392,1354,1088,1588,996,884,775,975,1386,1304,1174,1160,1074,1160,1021,922,1158,997,832,1170,1058,1318,1360,1028,929,1062,1086,1126,956,898,1064,1410,1658,1568,894,711,725,643,1005,1274,1284,1216,1044,1042,1062,741,733,1014,1284,984,997,1226,1102,916,980,1074,1072,1238,1016,1006,977,1088,1094,1248,1286,1318,1136,1058,894,655,686,1036,1184,1320,954,1088,1254,1280,1252,1142,1212,1324,1214,806,673,736,778,702,680,905,1076,1274,1036,852,794,596,778,1066,1054,1382,1456,855,646,508,566,539,694,612,799,951,593,514,743,1114,983,1138,1060,527,321,326,820,1204,1322,1384,1748,1642,934,802,848,581,384,517,541,676,1090,1400,1098,618,461,675,1112,1096,912,756,756,879,990,582,544,682,737,1458,1632,845,750,758,513,489,429,398,420,491,549,642,1018,1512,1410,1598,1890,933,613,606,1015,870,811,716,585,930,1290,1368,1238,1074,840,695,749,1150,1134,1174,1074,1010,1192,859,551,560,711,819,775,800,847,962,650,436,369,351,357,327,315,312,303,301,359,645,1196,1546,1160,1076,1140,697,651,992,1152,836,863,1110,1222,1310,1216,1152,1174,1026,898,886,1052,1062,1256,1598,1490,1136,1080,1206,1020,909,1112,1072,658,380,559,620,469,486,570,1120,1172,871,1144,1176,1015,532,319,383,419,387,372,547,584,434,401,394,666,1140,745,890,1230,1358,1384,1594,1434,915,997,1144,1226,1422,1154,898,980,1392,1504,1610,1086,999,995,1078,833,478,545,783,792,580,933,1268,1134,1082,1234,1282,1078,836,800,821,652,808,1120,767,673,805,1036,839,1368,1434,941,583,587,816,719,647,783,634,436,328,345,376,408,1034,1226,1194,1284,1210,859,794,785,769,940,1046,1218,805,849,1136,1428,1652,1334,1596,2046,1748,1774,1748,816,578,524,672,912,1017,976,721,703,1110,1208,1016,849,1026,1156,1164,1106,967,1000,683,532,549,773,930,1100,1216,1072,1210,973,1172,1268,1384,1540,1460,937,703,659,924,1214,1046,987,1484,1408,1064,1318,1694,1216,608,372,767,920,987,1158,861,630,993,1290,1028,871,857,660,532,481,474,424,446,433,418,437,719,1144,851,620,555,579,730,874,739,614,594,669,807,655,693,627,705,802,960,704,677,719,807,955,1060,1026,1102,1330,1300,1232,1198,1122,1007,1128,1228,1200,1238,1104,1140,1232,1316,1314,1358,1458,1438,1256,1184,1036,1076,1184,1244,1268,1196,991,940,784,527,502,686,1072,860,839,982,980,912,953,938,1108,1342,1296,1206,1044,1130,1026,788,1362,1284,1118,1092,1150,1312,1250,1242,1276,1088,1058,969,1066,1188,1172,1166,1078,1092,1062,1038,1116,1122,1208,1238,1236,1224,1144,1106,1120,1138,1150,1050,1094,1156,1122,1062,1048,1062,1028,1012,1066,1126,1212,1260,1184,1162,1212,1162,1244,1296,1112,1144,1256,1168,801,503,401,314,489,786,1102,1232,1300,1228,1120,1164,1678,1306,874,874,1062,957,1028,1009,728,896,1452,1528,1116,1192,1158,694,644,738,738,615,471,460,393,373,456,454,365,356,587,611,525,753,987,1260,1216,1470,1526,1512,1038,528,475,619,1078,1158,679,554,630,918,1348,1570,1514,1370,1348,1310,1486,1278,959,742,457,446,429,1328,1064,431,466,593,656,530,576,1052,1412,1376,1290,1052,472,562,924,802,1038,1186,934,941,739,507,447,390,557,506,650,883,1188,1050,995,1144,1236,1296,1302,1102,1036,702,493,644,404,459,893,910,614,509,539,499,373,590,893,905,1244,1436,1194,1256,1246,1406,1023,488,445,455,426,535,653,579,571,511,846,798,1268,2054,1766,937,727,742,695,720,985,876,855,744,752,1238,912,1106,1350,990,672,548,835,1284,1606,2010,2002,1704,1344,1188,998,608,597,789,767,868,1196,949,1224,1592,842,907,1256,1410,1282,1274,832,345,422,447,532,774,848,838,783,416,386,511,517,456,414,684,945,791,482,509,1044,1286,1740,1186,777,833,1042,1204,1172,875,738,856,1026,968,1072,1374,1224,1096,1396,1372,966,880,668,715,1122,822,387,415,409,380,361,647,551,595,1052,1110,513,350,310,372,466,351,368,338,338,365,289,259,339,347,323,397,618,971,1322,895,745,703,992,916,493,453,658,585,474,658,696,736,602,725,1210,1566,1282,920,1050,1318,1322,1015,726,827,953,758,998,1248,1226,1194,887,1466,1026,890,1294,868],[866,735,636,637,587,539,547,499,474,489,447,462,501,497,496,430,406,422,443,387,352,375,319,329,416,484,482,360,292,320,351,329,327,399,513,551,557,695,913,848,480,358,323,709,807,508,329,283,288,307,409,348,304,341,310,325,449,1250,1488,918,738,774,956,844,589,1001,1268,1202,1414,1182,857,661,725,857,836,730,595,491,467,464,399,354,307,306,307,293,310,341,471,480,431,525,850,894,1034,1484,1750,1920,1944,2010,1680,1230,906,610,463,493,531,894,1018,1252,1066,956,1158,1078,786,843,1334,1508,1316,1206,1302,1234,1400,1114,789,546,509,725,944,1066,918,628,663,725,962,841,709,890,694,619,921,880,814,926,933,1018,1148,876,946,995,708,506,637,833,1036,1011,1296,1494,1244,1142,1092,1440,1672,1272,1322,1044,1032,1110,1234,1410,1394,1122,927,1003,1344,1328,932,928,991,1076,1300,1758,2002,1222,943,1002,1072,1072,1116,979,863,1140,851,937,1060,1142,1076,1274,1744,1848,1532,1058,769,614,461,414,685,872,998,1154,1610,1398,1258,1144,1172,1360,1394,1388,1188,1296,1248,696,755,1002,794,694,572,615,1080,966,845,862,856,891,1034,1238,977,1010,1104,1112,966,982,1312,1548,1354,1312,1280,1246,1274,1250,1196,1232,1180,1032,897,1198,1204,1122,1180,1176,1062,1001,973,937,736,540,751,822,1342,1336,1346,1322,1214,1322,1604,1692,1140,755,841,920,804,800,727,755,868,968,747,1078,1138,1112,1274,1134,1142,1176,1278,1348,1142,830,796,582,433,371,342,332,533,718,1034,1011,505,621,867,912,842,787,1070,1130,930,980,709,609,1015,1064,996,581,529,445,382,347,451,743,913,1046,1466,1476,1066,1132,1086,1042,965,1176,1416,961,785,792,823,921,1038,1064,1146,1324,1136,871,1268,1346,1098,792,550,796,923,899,1018,1186,1330,1160,958,1124,988,745,668,679,1208,1506,1378,1172,1072,1010,1120,1310,1498,1464,1716,1750,1334,1452,1660,1656,1738,1562,1462,1360,1024,1180,1230,1286,1118,786,1146,1344,1124,945,1012,776,698,945,954,1192,1368,1184,906,1100,1138,905,796,558,333,289,484,847,1030,1294,1180,574,484,520,672,776,696,487,321,321,300,282,278,292,322,504,923,1430,1332,1082,688,423,357,464,875,1208,1228,1042,1136,1156,1248,659,778,841,618,534,583,791,909,963,1004,1144,1456,1328,1164,866,1270,1662,1372,1056,880,775,908,1482,1044,448,688,887,1082,677,419,471,603,979,1470,1580,1494,1398,1730,1764,1544,1312,1114,935,889,960,1158,1272,1054,1108,1030,716,681,931,1324,1020,928,1036,786,784,723,648,545,470,772,1116,960,1118,1214,1206,1194,1214,1188,990,1064,1072,1068,1036,1013,957,952,936,936,733,932,1254,1460,1316,1024,1146,1394,1288,1174,1250,1324,1306,1272,908,731,948,925,1146,1126,1084,976,829,840,1004,1116,1003,995,992,1128,1130,1184,1360,1118,1100,1086,954,1042,1240,1316,1376,1214,1072,561,526,568,755,1004,959,1008,1356,1482,1382,1130,1134,1182,1222,1556,2234,2320,1802,1274,1098,1264,1378,1358,1368,1420,1554,1348,1464,1384,1378,1230,1052,1320,1284,1256,1412,1274,1246,1372,1218,927,917,922,1021,1104,1062,831,1114,1636,1168,559,411,385,340,329,346,369,354,341,304,431,714,836,772,664,506,463,485,425,498,538,781,815,691,464,417,400,344,332,328,342,397,377,400,518,550,516,544,890,1240,1334,913,572,860,1426,1722,1642,970,987,1188,825,1040,1266,1262,1218,1114,904,955,1080,1234,1110,855,1148,1366,1422,1534,1526,1060,568,548,655,775,891,1104,1002,958,1194,993,1064,691,590,866,1130,1276,1168,1342,1666,1774,1366,968,1378,1410,1238,1124,1036,1088,1300,1426,1382,1438,1518,1472,1040,662,760,1210,1696,1620,1628,1528,1154,1012,901,1054,1310,1456,1558,1492,1320,1262,1040,683,689,702,548,560,780,1286,1174,1020,1052,896,1084,1334,1372,1544,1334,1186,1078,1228,1130,924,776,535,989,1700,1604,1021,1078,1068,520,395,601,1074,1102,1158,1176,944,827,874,779,952,936,883,1022,1046,756,932,1058,1116,1256,1244,1244,1122,929,1050,1074,1242,1324,1252,1158,1388,1478,1462,1348,1098,1140,1350,1460,1302,1204,1338,1260,1468,1634,1342,1262,1484,1128,750,948,1038,962,1003,738,610,905,1052,578,406,420,924,1202,1144,962,635,781,879,813,1034,1084,1356,1288,1138,1108,1136,1052,916,1112,1422,1396,1472,1546,1522,1428,1142,1738,1428,940,910,1352,1348,974,857,763,825,1120,1044,1244,1324,1007,1000,957,813,1028,1180,1086,1128,1166,790,783,971,1042,1042,1494,1632,1664,1194,860,830,1004,951,769,1344,1472,1038,967,1050,1050,796,723,1108,1210,1088,928,872,946,713,671,768,1222,902,848,1088,1348,1614,1516,1344,1244,1132,1180,885,816,938,816,887,1310,1124,1246,1346,1302,1188,1144,1114,1070,963,662,551,494,388,403,457,824,1190,1216,695,640,1008,958,1050,1346,857,1104,1838,1466,694,622,877,902,944,702,739,1362,902,441,463,1040,1238,1196,792,645,548,439,512,771,1042,976,1090,1150,1058,639,664,465,381,602,601,982,1444,1340,1196,890,554,833,972,1076,894,800,1015,1056,754,547,908,916,510,758,1220,928,594,488,456,458,429,406,405,464,529,560,894,1464,1576,1672,1422,867,505,716,1208,1268,1290,1212,1136,1048,1218,1250,1432,1734,1208,600,518,1582,1540,1368,1098,749,915,1024,809,576,612,654,845,1120,1132,946,656,948,1044,777,524,400,370,323,283,330,446,821,929,1094,1246,1250,937,840,628,753,1058,907,930,1082,1240,1038,938,1044,1102,781,631,919,1184,1318,1656,1748,1594,1500,1194,1276,1166,815,908,957,832,678,1192,1372,1009,696,857,1248,952,1080,1160,1086,684,422,346,452,735,568,432,604,528,386,346,381,608,1028,664,910,1170,1266,1680,1560,1396,1296,1206,1570,1806,1588,901,1172,1578,1112,626,1354,1208,998,1005,957,643,531,760,706,708,527,877,698,823,1104,1208,1298,1200,1030,972,1072,1254,1056,929,621,883,797,935,839,667,625,592,542,678,827,505,497,670,625,474,438,422,424,364,832,954,969,1136,803,477,472,679,864,797,783,856,911,886,974,1622,1756,1140,995,1242,993,976,1166,692,565,399,725,996,795,768,524,570,1000,1058,817,716,910,1072,1058,861,855,918,763,587,565,650,871,1186,1260,996,1132,1180,1088,1202,1216,1444,1334,767,733,851,861,1260,1438,1480,1468,1066,1001,1456,1728,1660,1070,554,539,573,648,738,610,547,953,1154,1054,1190,1084,773,521,457,502,564,612,580,583,714,1018,1054,729,588,565,542,615,685,687,641,557,656,822,607,641,659,627,880,1030,894,672,697,883,1042,875,518,673,1152,1236,1438,1350,1230,1208,1196,1286,1644,1572,1158,1248,1018,757,1294,1474,1216,1158,1272,1236,1152,1118,1072,1152,1124,988,972,702,469,418,514,586,969,890,891,956,1038,1136,1096,1092,1274,1532,1250,987,1082,1312,1188,1128,1158,1112,1174,1074,1082,1194,1358,1766,1472,933,1034,1158,1262,1282,1278,1204,1108,1104,1116,1112,1038,1216,1438,1348,1126,998,1040,1140,1216,1258,1164,999,1056,1252,1276,1144,1060,979,905,963,1088,994,1076,1372,1350,1282,1212,1174,1272,1328,1316,1206,1340,1144,638,315,318,390,609,1072,1328,1362,1242,1252,1104,1023,992,1282,1028,682,1002,1236,1068,709,643,680,1160,1246,1124,1154,1154,870,769,590,586,836,645,367,290,298,436,769,692,412,510,462,543,832,1414,1388,1394,1488,1422,1302,1048,633,469,610,772,896,894,816,832,871,1298,1552,1412,1482,1298,956,1372,1400,1406,1376,1082,924,642,495,300,323,469,824,1066,832,517,888,1394,1388,1256,1100,610,457,643,914,1534,1246,527,568,578,664,551,460,612,747,858,998,1286,1172,1160,1350,1252,1130,1140,1252,1036,1024,809,979,731,835,1068,989,786,674,733,579,490,639,766,905,1246,1220,1292,1158,862,874,560,351,395,449,446,558,689,555,558,521,550,598,903,1336,1170,747,375,334,360,348,352,336,551,735,827,1302,1376,1644,1580,747,459,544,1070,1672,1672,1762,1816,1454,1288,1180,804,686,800,630,491,783,1064,1094,1174,1704,1402,1200,1272,1218,959,788,656,444,411,343,426,526,559,522,562,537,480,390,509,479,451,731,1060,961,634,465,1248,1676,1290,812,727,661,785,1001,908,742,779,803,885,823,1434,1408,1066,1188,1638,1632,1172,733,479,553,805,912,416,372,375,362,481,774,694,725,1416,1500,604,363,659,1178,1282,641,360,302,329,367,439,586,572,578,524,625,775,855,1200,1136,1052,971,1080,919,512,532,644,503,498,664,678,1100,907,750,1208,1184,1284,1314,1220,1368,1226,789,546,582,639,747,1032,1120,1134,1334,1188,1410,965,781,1048,940],[879,641,628,681,645,622,536,460,463,508,450,531,532,510,536,508,396,355,388,393,563,630,352,365,420,449,426,440,423,396,383,351,340,437,626,695,680,730,805,623,337,338,437,741,822,445,281,298,331,325,588,403,379,362,411,408,434,1194,1462,960,599,808,1220,672,973,1214,1086,951,1072,947,638,472,445,531,655,552,406,474,528,469,409,352,336,390,406,350,317,501,653,401,351,400,611,616,780,1390,1734,2046,2138,1964,1402,889,798,628,455,520,707,1030,894,1018,1050,802,982,1194,1278,1298,1354,1288,1104,944,1188,1208,1086,930,916,758,615,1082,1152,965,752,467,634,868,799,595,509,738,805,717,562,692,777,855,1032,1078,1028,840,936,887,673,915,1026,820,802,933,1288,1260,1006,1170,966,1066,1048,1252,1288,1056,1238,1262,1290,1150,1058,1228,1136,1172,1318,1218,985,972,859,1136,1260,1236,1526,968,995,1230,1064,1192,1262,1184,866,837,611,748,933,787,873,1011,1204,1652,1724,1514,1208,721,458,647,1266,1284,1266,1078,983,816,971,1226,1408,1372,1448,1874,2012,1058,841,653,954,1176,784,491,496,775,1154,756,461,662,807,495,658,901,1076,1050,1232,1023,986,1106,1202,1220,872,957,1286,1308,1182,1236,1128,1368,1208,991,959,926,924,1134,1186,1152,1218,1354,1354,1124,535,576,651,809,1556,1430,1432,1420,1540,1874,1404,1366,1556,1246,1052,944,811,778,810,835,894,839,569,731,1148,1292,1504,1300,1078,1036,1184,1056,728,596,712,1090,995,442,336,404,478,575,689,605,406,797,1298,1432,1210,1026,1102,1072,1011,879,745,687,913,1060,1150,868,799,679,446,426,650,991,1038,1290,1576,1274,1094,1226,965,905,1122,1234,1224,1066,945,1306,1262,1024,1322,1324,1013,1278,1220,1004,1152,1040,754,597,545,557,755,944,1094,1564,1948,1606,1332,1488,1528,1288,909,991,1382,1390,1290,1066,863,835,1390,1426,1490,1306,1172,927,1076,1222,1340,1578,1738,1768,1622,1396,1268,1328,1154,1282,936,559,1012,1088,672,616,833,599,544,1150,1284,1140,1082,868,1036,1246,1370,1184,833,588,362,426,741,1226,1182,1290,789,545,622,471,459,426,507,582,447,310,304,366,355,355,449,616,1072,1632,1484,1312,1042,600,298,325,415,675,1048,626,717,1126,1366,1114,888,802,927,841,690,901,960,1026,882,1290,1158,1206,1006,810,1204,1240,922,715,811,799,685,1044,886,480,545,825,680,575,594,516,402,660,1086,1282,1328,1150,1556,1602,1694,1488,1462,1098,936,1008,1102,1150,1064,1082,854,622,630,869,1238,961,1048,878,1028,1360,1118,642,585,575,948,1098,886,792,913,1262,1344,1330,1158,1010,990,1130,1242,984,923,1009,1020,1298,1074,796,980,1306,1316,1212,1190,1330,1350,1288,1406,1410,1396,1238,1146,969,744,691,886,1224,1322,1196,1084,1226,1270,1023,1140,1264,1262,1182,1154,1400,1406,1400,1280,937,1160,1442,1134,814,794,1094,1198,783,436,490,480,653,842,919,1104,1408,1376,1204,1294,1114,1322,1312,1366,2280,2436,1790,1390,1290,1550,1470,1266,1346,1412,1726,1418,1376,1240,1134,1090,1076,1318,1368,1142,1314,1372,1252,1078,803,650,909,979,1108,846,849,768,508,423,413,487,444,388,368,343,348,390,370,363,407,480,675,905,937,774,559,493,478,448,451,469,711,805,707,497,382,385,370,375,374,403,481,424,527,781,769,799,768,1011,1326,1198,799,552,808,1266,1494,1160,1009,1318,940,582,1006,1324,1244,1212,1144,1072,1118,810,705,907,1066,1216,1140,1552,1484,1034,855,711,625,705,769,832,1356,1296,1200,1300,1278,1390,1090,985,1178,1102,1170,1310,1532,1644,1366,1024,1016,1478,1498,1178,1272,1234,1244,1394,1522,1646,1696,1616,1600,1238,1002,893,1170,1790,1588,1440,1284,859,800,821,948,1340,1300,1124,1108,1166,1208,1036,799,773,762,719,604,629,934,1042,1036,875,690,929,1162,1296,1220,896,830,934,1030,896,1124,1152,1008,1378,1510,1078,1013,1190,981,875,702,653,979,1194,1154,1140,1072,979,893,1028,1156,828,927,1110,744,712,1088,1190,1050,915,915,1256,1440,1258,1284,1250,1312,1358,1338,1300,1316,1272,1262,1196,1136,1222,1216,1152,1138,1166,1224,1240,1388,1476,1252,1544,1854,1388,1028,957,576,463,673,688,860,1003,869,497,353,764,1522,1578,1494,1072,578,607,767,1032,1086,1076,1118,1160,1214,1568,1422,670,769,1138,1346,1336,1610,1710,1426,1376,1534,1998,1656,743,389,572,529,393,450,444,445,729,1202,1828,1668,1060,1066,844,544,767,1144,1214,1172,1112,872,818,1158,971,784,1194,1378,1418,1386,954,624,805,644,688,1394,1534,1272,935,1060,1026,974,1122,1154,1202,1114,589,555,548,475,536,777,922,1050,1118,1228,1308,1438,1360,1290,1230,1274,1206,1152,1118,1210,924,1006,1300,1272,1188,1194,1156,990,1054,806,576,670,577,448,386,335,392,612,918,1112,955,551,630,965,1046,901,1354,1554,1948,2352,2244,1256,679,873,804,720,452,608,1268,904,956,1036,1378,1666,1290,968,854,656,548,419,464,645,920,1060,1252,1200,589,669,558,370,573,730,987,1216,1106,1158,1252,822,838,672,523,661,981,1292,1260,774,577,713,564,383,417,928,833,518,423,456,428,398,389,423,467,500,519,700,1182,1282,1448,1534,1100,915,1110,1030,1082,1200,1210,1108,1170,1220,1180,1368,1404,985,597,584,1282,1328,1230,1152,719,666,941,858,617,577,650,746,829,1058,1064,954,1120,1116,938,515,393,374,336,298,286,516,1050,1044,1110,1066,799,854,1256,924,705,855,965,923,916,932,692,760,1144,1174,864,886,1094,1218,1566,1770,1604,1528,1636,1474,1108,775,844,1118,1170,933,1020,1574,1776,1884,1664,1426,1266,928,1302,1390,934,447,425,383,925,1382,1040,866,720,465,426,349,397,824,1056,1080,1178,1278,1654,2078,1788,1508,1426,1298,1572,1288,1178,1076,1378,1560,943,973,1744,1390,689,630,552,428,566,999,906,797,790,1174,856,977,1302,1380,1326,1170,1062,1230,1190,1508,1274,987,753,947,984,988,792,540,663,776,708,949,974,463,469,703,697,509,484,473,453,363,562,936,1168,1366,978,652,506,514,603,572,449,618,1198,1126,818,1066,1030,560,707,1006,709,895,1174,998,873,586,904,1009,766,828,849,1032,1256,1018,656,770,791,608,709,973,941,763,721,789,863,977,879,910,1134,1082,1120,1150,1110,1164,1144,1386,1304,554,516,644,766,1378,1572,1412,985,1342,1626,1520,1622,1776,1502,1184,585,424,398,434,498,612,1008,904,670,1080,1448,1158,870,1092,1130,1146,1212,1288,1328,1296,1094,791,618,571,542,529,623,1026,1026,828,875,959,1182,769,600,644,656,800,1116,1196,885,786,841,1046,976,654,863,1636,1472,1298,1102,1090,1232,1170,1358,1644,1652,1312,1170,1134,1024,1374,1306,1322,1408,1392,1300,1274,1168,995,1078,1038,723,608,365,337,546,659,732,1040,1204,1082,913,1001,1066,1208,1290,1466,1588,1104,986,1172,1224,1142,1206,1392,1272,1036,1090,993,1060,1440,1648,1310,1374,1576,1340,1148,1134,1156,1084,1056,892,944,1248,1522,1438,1380,1256,1168,1146,1312,1244,1088,1102,1154,1032,1160,1224,1154,1100,1062,1122,1076,1070,1194,1118,1238,1428,1284,1148,1188,1128,1210,1318,1230,1210,1294,1015,583,385,403,529,922,1246,1340,1094,1222,1350,1128,1152,1200,1298,952,650,664,888,1142,1128,1094,958,1252,1140,1112,1012,840,1001,937,622,703,954,658,415,336,333,448,908,847,655,478,412,672,1216,1436,1354,1532,1426,1418,1292,1242,1130,952,742,502,813,1242,1340,1278,1094,1200,1394,1432,1504,1184,1021,1340,1328,1388,1332,1042,1194,1106,674,661,628,590,786,1120,1458,1010,1112,1280,1184,960,627,442,417,639,1344,1838,1228,487,324,380,438,541,725,1021,1310,1532,1508,1088,992,1390,1394,1294,1278,1368,1076,1014,1146,1136,976,877,1122,1112,996,782,746,1222,1160,816,689,542,946,1316,1154,1188,1070,1060,841,345,401,388,486,505,538,587,540,488,614,623,538,506,530,755,883,623,455,392,391,416,390,464,694,745,963,1422,1926,1946,1246,593,535,1086,1512,1482,1626,1784,1616,1396,970,657,860,1020,860,745,965,1584,1916,1166,1262,1274,969,792,576,457,452,468,489,446,374,389,468,432,419,594,1017,933,606,514,488,454,744,1210,1322,793,450,672,958,916,708,664,573,526,630,752,750,685,1082,1516,1258,1136,921,595,670,1090,1302,1252,994,540,462,674,899,519,349,329,285,519,749,822,1028,1164,1170,648,473,1284,1908,1742,1086,594,715,1172,954,964,1376,967,760,743,628,663,595,755,910,995,797,677,562,445,612,652,631,616,681,830,880,669,578,998,903,985,1216,1022,910,581,419,447,543,705,1102,962,930,1274,1440,1070,777,939,1100,1130,1352],[749,715,694,598,586,596,571,523,507,475,448,546,619,612,581,549,390,339,368,532,932,926,532,441,424,412,413,433,462,444,408,387,378,508,618,634,751,683,571,427,320,404,441,481,513,369,306,340,405,454,452,465,421,336,391,350,358,608,973,1220,767,799,897,471,678,832,839,735,655,736,484,339,403,454,438,494,438,372,448,428,416,416,461,553,469,330,330,414,503,362,341,447,448,355,805,1360,1494,1738,1802,1606,1150,625,628,550,493,550,923,1046,1066,1374,1130,758,859,1124,1262,1052,1144,1096,998,916,1126,1226,1166,1126,997,750,727,933,1152,1005,456,552,589,779,828,602,452,885,986,891,854,760,719,769,801,844,830,803,933,1004,797,876,984,881,905,1003,1142,842,792,1024,941,1168,1180,1194,1098,1136,1186,1190,1306,1084,831,877,965,1318,1286,973,912,979,1084,884,882,709,662,658,899,798,563,751,987,1164,949,909,886,782,951,766,809,861,924,1506,1620,1604,1710,1412,1176,1320,1272,1382,1548,1496,1182,701,907,1424,1470,1322,1172,1384,2282,1206,568,854,1228,1180,973,738,556,989,1160,816,943,905,809,617,834,971,1040,854,1030,969,1034,1166,1222,1286,714,888,1046,1210,1264,988,884,1016,1154,1008,860,757,822,1038,1078,1162,1240,1226,1114,1034,627,487,520,791,1136,1218,1408,1282,1218,1300,1096,1412,1362,1026,824,877,953,880,875,916,800,583,443,570,1166,1196,742,643,861,1110,1186,969,936,1013,1104,1300,1152,803,517,639,946,756,548,417,435,701,1384,1462,1034,1072,975,662,891,799,810,637,644,697,621,703,1050,954,761,857,802,1024,1166,1510,1580,1320,1284,1134,1104,1170,1308,1296,1148,763,859,1318,767,638,1374,1360,998,1100,1298,1186,1078,1036,825,839,956,1036,1178,970,1062,1576,1832,1550,1470,1338,1190,1244,1178,1260,1344,1056,1014,1164,1192,1196,1170,1268,1284,1340,1186,948,1030,1048,1140,1320,1384,1670,1748,1660,1450,1362,1084,1078,1124,936,741,791,740,672,616,479,560,979,1054,854,941,684,489,858,1326,1128,833,680,531,594,594,832,1198,1254,1060,1138,1040,731,602,562,717,810,668,407,789,601,664,991,1158,1288,1054,969,1224,1290,1270,705,293,360,362,520,893,597,955,1350,1490,1576,1268,1060,1278,1274,1218,1292,1062,953,1102,1418,999,838,860,850,863,1006,918,716,908,957,693,679,921,1036,803,775,739,639,577,428,395,680,1178,1284,1118,1036,1284,1586,1714,1398,1146,914,1090,1232,1003,1009,888,620,727,669,770,1032,1122,1154,1230,1206,1142,1288,1158,565,472,542,825,951,993,892,905,1172,1162,1178,1298,1220,998,1164,1218,1168,1274,1236,1134,1186,969,1023,1246,1230,1224,1374,1332,1362,1426,1572,1774,1378,1144,1092,1138,968,786,641,722,1148,1120,1044,1400,1206,1242,1222,991,713,861,1194,1274,1226,1164,1238,1216,1016,1246,1018,946,1112,800,754,739,445,559,672,653,758,675,871,1116,1048,1142,1170,1174,1128,1282,1290,1178,1402,1246,1176,1496,1474,1172,1248,1304,1348,1376,1274,1300,1284,1114,1164,1338,1114,1298,1398,1170,1126,1328,1132,1098,753,592,747,700,662,683,772,639,448,451,404,466,447,386,388,385,372,340,325,390,493,506,463,666,900,780,552,478,482,446,395,391,626,833,792,633,438,373,346,353,394,416,457,523,670,719,768,1060,1076,1114,1382,1192,684,730,967,951,919,684,1094,1378,764,576,1082,1194,1046,1228,1446,1374,1216,756,816,1132,1244,1366,1362,1634,1426,1040,1080,1007,969,714,762,975,1264,1304,1272,1054,967,1194,1130,1200,1282,1328,1466,1446,1440,1486,1224,1196,1214,1236,985,1128,1374,1340,1188,1266,1410,1592,1550,1148,1048,910,717,562,835,1384,1378,1322,1316,1168,1156,1210,1092,1262,1350,1340,1172,1118,1048,966,658,669,929,995,976,875,814,992,939,590,590,839,1062,1322,1338,1270,1280,1190,888,754,1222,1314,1354,1220,1246,956,1320,1212,1132,1244,1042,846,910,979,791,1110,1198,1122,602,836,1238,1028,1038,1100,994,967,1238,1292,1064,886,959,1388,1492,1654,1520,1388,1642,1598,1358,1378,1334,1188,1030,999,1216,1180,1356,1346,1316,1330,1236,1174,1450,1528,1498,1720,1532,1080,919,728,350,301,370,717,974,975,729,454,274,475,902,1432,1552,1118,1126,940,809,839,743,747,836,1030,1100,1404,1272,1184,1576,1920,1930,1298,1236,1390,1534,1656,1422,1104,794,393,330,466,622,736,433,299,375,525,1560,1512,1088,1226,1128,882,598,915,1216,1190,1068,982,807,999,1272,1156,990,1074,1188,1218,1272,1048,1074,968,834,1326,1632,1326,1412,1500,1418,1218,1282,1264,943,1194,1214,788,608,553,861,1152,1170,1086,1098,1196,1192,1116,1216,1172,1380,1310,1202,1082,1024,1350,1608,1444,1356,1308,1184,1026,952,850,771,933,768,608,758,666,610,451,285,401,703,1238,1320,991,968,1066,1246,1068,793,1188,1976,2184,2216,2298,1616,908,835,802,593,459,711,661,640,927,1258,1600,1482,863,576,581,680,576,594,584,1236,1392,1192,886,465,436,630,505,632,1118,1222,1206,1096,1158,1046,1262,1180,755,605,702,808,991,1186,1480,1092,531,368,281,509,773,920,1194,978,549,426,413,401,430,478,516,524,528,646,1222,1464,1520,1444,1294,1272,1238,1064,902,886,1102,1102,1280,1208,1154,1262,1380,1054,564,528,951,1094,977,1200,819,732,1264,1186,912,665,614,716,708,951,1048,1130,1196,1094,752,433,474,410,372,341,332,631,1140,1154,988,1092,1036,1122,1488,1278,1130,1082,969,580,501,598,536,577,931,1013,899,1136,1202,958,1490,1392,1210,1340,1542,1230,658,667,1208,1438,1230,838,948,1598,1666,1498,1664,1554,1108,869,912,1106,902,716,526,689,1504,1698,1366,1256,692,405,392,377,426,1066,1224,1352,1708,1660,1776,2122,1880,1532,1136,933,1008,1010,1050,829,794,943,918,1248,1776,1592,1434,1306,577,433,821,1190,854,772,983,1372,1122,819,1088,1432,1170,1112,1344,1518,1380,1228,921,1038,726,852,1394,1404,1188,850,906,1248,1364,1256,1026,721,676,707,619,567,549,476,436,403,419,841,1214,1064,615,531,585,390,401,603,607,699,813,750,787,401,646,482,397,578,638,738,852,912,787,800,1118,1068,1234,1218,1348,1618,1282,1056,1120,972,677,680,973,1222,1108,863,847,1288,1238,1138,909,730,952,1140,1250,1242,1216,1272,1224,1384,1384,772,571,824,1352,1572,1252,938,1190,1578,1586,1302,1362,1754,1742,1594,758,431,467,496,570,638,956,998,633,1028,1554,1426,1196,1362,1468,1494,1520,1438,1320,1256,1080,783,666,649,612,629,678,1080,1196,969,1086,1016,908,713,659,743,892,1002,929,813,855,1092,1003,958,905,943,2064,2508,1598,1198,1042,1190,1042,1170,1382,1332,1452,1360,1302,1462,1582,1466,1358,1326,1208,1150,1128,1206,1206,1098,1034,995,836,706,505,393,585,711,830,1146,1244,1104,1064,1150,982,1092,1254,1440,1442,1286,1356,1296,1176,1062,1180,1432,1412,1158,964,954,1218,1284,1206,1258,1392,1218,1046,1130,1052,1080,1086,1252,1318,1252,1360,1698,1436,1250,1376,1300,1224,1372,1160,1106,1114,1118,1086,1110,1084,1086,1042,1188,1288,1176,1124,1004,1030,1172,1164,1366,1300,1132,1274,1252,1240,1108,1198,1274,880,473,451,612,1042,1346,1372,1240,934,1264,1224,1218,1238,1098,1104,917,943,839,661,998,1354,914,826,861,860,772,714,774,855,849,582,548,738,446,457,467,508,495,583,808,1011,670,557,673,952,1232,1278,1420,1484,1328,1272,1244,1296,1094,1150,1068,1058,1334,1274,1082,935,1186,1432,1466,1590,1372,1278,1274,1234,1428,1250,969,929,612,684,979,645,456,450,918,1278,928,1086,1100,1110,894,732,831,883,1050,1208,1272,1254,777,409,376,452,626,864,1020,1250,1560,1500,1072,805,711,944,1068,1044,1072,751,854,1174,1312,807,578,737,603,792,1316,1282,1898,1676,1124,940,779,915,819,584,457,586,841,649,326,322,363,413,473,459,504,555,723,1005,1092,963,603,709,1038,1058,1062,1054,910,683,451,426,673,885,1028,1160,1368,1712,1476,1194,650,521,945,1418,1604,1784,1710,1716,1628,1036,876,867,923,1144,1350,1488,1886,2208,1526,1048,834,650,620,484,342,418,508,488,454,473,455,421,422,508,1172,1656,1034,626,496,636,776,944,1108,1294,816,452,495,879,1044,659,642,581,624,807,789,681,680,1532,2072,1724,1144,619,458,559,1306,1722,1576,1412,743,556,962,1038,664,414,400,379,466,691,1730,2142,1408,1482,1084,514,921,1108,781,755,886,1300,1990,1048,872,1228,736,731,707,584,679,536,602,741,630,653,571,442,483,946,1256,1208,1004,875,1007,915,629,676,985,946,801,784,736,623,424,383,507,666,944,1078,918,988,1174,1034,708,920,1160,958,1340,1378],[708,785,897,838,759,691,630,698,746,545,452,555,598,626,628,557,422,374,475,501,829,1250,905,443,426,420,433,485,516,458,440,459,410,494,608,703,700,529,460,379,346,355,323,293,345,367,331,351,393,390,435,528,491,446,424,341,391,350,525,658,645,569,585,579,983,963,850,1074,1218,1108,716,415,397,510,630,694,507,395,550,586,438,340,388,547,482,328,341,330,376,422,334,599,612,350,612,1188,1912,1912,1246,1110,954,651,619,593,519,769,980,1056,1268,1206,1084,986,974,1134,971,743,966,1148,1108,1136,1320,1180,1198,1306,974,557,705,649,686,519,648,987,916,920,1216,955,631,767,827,910,1136,1224,1422,995,765,515,575,1004,950,809,979,1120,871,941,1074,1260,1312,1138,1184,1004,865,940,1092,1220,1316,1336,1262,1272,1428,1372,851,513,688,1016,1046,851,822,819,772,547,577,827,841,890,999,637,429,842,1070,1366,1276,1086,1030,1002,1142,1100,978,1013,1084,1396,1630,1312,1250,1486,1600,1346,1064,1296,1582,1636,1418,1048,1236,1622,1888,1328,784,648,782,549,580,1192,1432,1064,969,874,841,1280,889,857,969,872,691,984,1042,937,1068,937,720,674,936,1156,1260,1412,792,675,780,1132,1172,1086,893,1005,1214,1058,1010,1036,1052,1116,1146,1260,1128,677,486,505,576,506,599,1128,1314,1274,1242,894,747,975,1430,1128,888,1174,1052,1010,1160,968,802,761,562,377,391,416,949,954,463,499,966,1300,1150,803,963,1290,1380,1084,1070,1150,846,871,1005,1108,1042,745,558,899,1316,914,619,992,733,426,579,877,1004,708,678,832,711,774,1048,901,1056,1018,782,984,1222,1538,1316,1130,1150,1108,1128,1278,1238,1026,1124,998,1036,1064,862,501,525,941,1220,1416,1390,1182,1024,1042,1019,1034,994,1230,1260,1264,1146,1000,1044,1450,1666,1384,1188,1236,1338,1288,1360,1260,1094,1044,1428,1476,1058,1122,1562,1620,1344,1194,1016,962,1017,1007,1306,1584,1604,1646,1682,1558,1276,1272,1218,1158,1322,1122,804,1024,1236,885,811,990,907,586,672,623,366,714,1124,794,436,426,766,718,996,1348,1404,1294,1396,1222,857,980,860,628,648,645,752,513,571,767,952,1140,1162,1116,1038,1174,1218,1212,1340,694,357,353,334,343,555,935,1164,1216,1532,1744,1464,1232,1270,1586,1678,1170,1001,1108,1206,1188,1122,1086,1066,802,537,943,1266,1198,1308,1068,634,611,1244,1482,918,668,830,558,435,451,580,752,1076,827,993,872,943,1300,1300,917,749,874,1050,1378,1334,795,570,614,1066,1060,1150,1320,1174,836,808,1130,1492,1426,948,745,561,504,833,1046,989,837,1030,1350,1130,1162,1282,1230,1066,1202,1256,1206,1242,1216,1174,1122,1180,1448,1456,1344,1354,1254,1372,1374,1426,1454,1490,1122,1106,1094,1021,735,604,483,746,1282,918,695,1170,999,1198,1322,1046,735,621,850,1122,1160,1140,1066,1046,1104,850,818,1170,1388,1015,1004,852,720,978,1042,1170,1122,755,641,789,746,984,1276,1188,996,971,1086,1248,1382,1218,1252,1454,1650,1484,1536,1526,1246,1134,1378,1484,1470,1474,1688,1762,1142,1204,1104,940,969,1210,1130,1098,821,733,960,900,528,499,514,410,449,404,338,401,475,457,392,384,366,361,382,352,377,435,413,783,908,689,583,677,728,654,456,339,514,791,825,714,492,382,375,390,429,391,336,434,557,731,1001,1204,1130,1208,1452,1378,764,894,1072,1290,1142,702,877,1204,1062,798,1044,1172,1180,1454,1284,1172,1076,1050,1078,1262,1380,1252,1218,1488,1490,1154,1324,1570,1306,736,781,1274,1516,1244,1148,1180,1250,1302,1350,1334,1378,1522,1428,1238,1324,1336,1296,1326,1076,1036,1228,1320,1442,1394,1188,1186,1324,1344,1366,1060,661,462,431,452,708,1120,1316,1402,1210,1272,1618,1476,1492,1376,1510,1448,1192,1164,1188,922,553,682,637,554,728,757,978,985,594,658,889,842,1106,1364,1226,1336,1304,1016,1002,1044,919,1236,1102,907,1300,1210,1054,977,1120,1188,944,827,1060,1024,739,946,816,750,883,859,851,1086,1160,1196,1076,1068,1300,1246,1278,1100,1200,1504,1498,1428,1278,1214,1312,1296,1226,1220,1186,1120,1007,1028,1256,1120,1372,1338,1280,1322,1218,1362,1572,1594,1594,1444,1116,1050,1052,736,587,477,456,650,612,534,468,561,364,550,670,1374,1342,1330,1378,890,728,616,502,664,819,966,1009,1402,1296,1958,2040,2160,1674,977,1018,1198,1528,1614,1160,907,760,572,562,523,664,857,483,340,321,572,1232,1074,1044,1184,966,816,943,1102,1184,999,745,845,1112,1300,1310,1256,1388,1592,1392,997,1164,1192,1334,1034,1052,1188,1058,1028,1256,1492,1542,1432,1300,1290,856,1028,1256,1058,1018,730,955,1360,1242,988,939,864,1122,1232,1206,1202,1354,1374,1136,957,854,1030,1302,1344,1422,1286,1098,992,1028,955,1118,1028,813,724,855,830,667,509,348,435,591,1070,1292,1078,832,779,777,796,715,742,850,832,1276,1844,1714,1354,763,918,799,623,779,852,884,954,993,1280,1226,659,608,672,816,808,601,529,933,1320,1356,811,413,597,823,861,1126,1366,1412,1350,1094,1048,747,935,1214,1046,1106,1250,796,813,1060,1354,1278,591,404,578,881,1028,1005,1250,1254,724,413,426,473,499,476,486,506,559,660,1158,1354,1282,1426,1374,1116,1186,1162,1098,1098,1666,1382,1312,1316,1302,1294,1300,1086,557,575,1052,1216,1108,1116,1232,959,1516,1626,1048,569,554,628,798,1013,955,1250,1166,963,714,733,835,863,1062,855,542,607,845,1034,1130,1354,1526,1574,1698,1384,1228,1312,1106,623,453,499,473,558,895,999,864,1272,1310,984,1180,1190,1138,1218,1232,1144,905,769,1082,1008,700,835,1174,1560,1704,1396,1400,1270,1142,1152,1160,1204,1284,1288,1192,1610,2084,1604,1062,876,415,380,368,334,551,1102,1214,1312,1516,1506,1554,1578,1042,780,797,860,1160,927,394,504,708,1140,1584,1494,1876,1896,1276,1172,1052,1090,1246,867,869,1088,1208,1290,1046,1018,1374,1718,1296,1021,1248,1210,1168,759,535,895,892,980,1320,1430,1592,1282,1288,1088,1130,985,758,742,867,756,534,479,473,441,388,372,348,814,1360,1174,695,740,855,517,396,588,730,1011,832,606,717,467,934,786,395,379,656,714,483,545,840,1050,969,1416,1404,1076,1188,1190,778,713,1260,1438,933,844,1090,1246,1494,1088,977,1306,985,699,670,762,905,1112,1274,1140,1080,1384,1512,1526,1484,1252,1222,1528,1642,1510,1292,1268,1498,1420,1506,1322,1007,1432,1726,1564,735,430,454,446,587,692,924,1106,605,811,1422,1482,1308,1428,1466,1410,1428,1464,1456,1416,1132,708,625,631,620,526,628,709,721,693,904,1138,1014,717,756,928,910,684,505,464,590,744,780,949,1030,1446,2172,1796,1314,1266,1152,1474,1428,1646,2046,1482,1212,1196,1442,1560,1336,1474,1556,1236,986,1124,1092,1072,1142,1062,1088,1150,1092,1194,932,438,433,472,563,1086,1162,1074,1146,1218,984,1023,1212,1354,1334,1406,1542,1242,1080,1001,1128,1228,1234,1110,1044,1166,1236,1170,1192,1298,1288,1174,1042,1194,1118,1188,1122,1366,1642,1594,1410,1346,1304,1200,1262,1158,1040,1116,1126,1156,1096,1124,1100,1078,1090,1122,1110,1058,1080,1300,1454,1118,904,1084,1422,1778,1666,1246,1528,1498,1218,1140,1326,1296,802,481,528,1002,1250,1346,1498,1194,1108,1440,1328,1260,991,602,688,890,921,1056,1066,1180,1184,1005,1052,861,628,630,962,1144,1060,1048,919,764,766,559,372,362,703,537,450,563,393,439,739,648,484,637,1064,1366,1438,1050,1078,1184,1234,1152,1348,1022,824,1174,1030,948,858,899,890,1492,1716,1240,1276,1262,1186,1368,1340,1192,1104,889,765,703,421,463,504,459,521,700,1160,1476,1318,890,982,1396,1426,1348,1122,1036,892,642,502,726,835,812,960,1230,1354,1360,1454,1502,1024,1136,1072,1044,1254,1212,1128,978,919,1126,911,573,332,370,1004,1412,1518,1794,1460,1160,1136,1144,1016,783,597,440,388,300,365,370,410,392,380,416,442,441,491,781,988,1258,1244,940,797,1062,1108,1208,1322,1124,774,403,494,644,706,803,763,987,1298,1348,1138,686,630,887,1186,1474,1682,1864,2076,1554,782,650,520,1009,1446,1544,1324,1092,1260,1170,874,638,568,539,445,372,379,423,448,462,452,397,460,494,709,1782,1628,1046,956,713,501,692,689,745,681,414,370,790,1354,1340,957,896,935,852,912,850,708,546,1112,1696,1632,1340,908,587,481,1050,1748,1478,1404,922,585,719,695,596,606,634,477,506,607,904,1070,813,959,697,401,353,305,313,464,778,1314,2194,1086,437,432,329,540,758,751,577,437,414,529,601,708,530,476,924,1440,1558,1300,1466,1252,1044,1038,808,895,1020,956,1168,1240,1118,693,438,470,612,620,647,831,1162,1116,1034,958,1018,1160,1102,846,988,922],[780,758,803,888,1012,906,764,875,967,634,488,525,668,562,525,523,482,456,444,369,438,554,435,430,484,432,451,520,523,456,444,464,422,403,455,688,712,413,410,365,344,343,350,301,355,398,331,318,321,312,337,393,440,432,357,404,403,347,467,819,903,695,642,714,875,648,444,681,1158,1260,831,426,370,470,662,694,644,677,977,1070,569,337,368,500,546,354,307,297,368,455,420,468,388,393,594,813,1288,1268,1044,1180,927,631,569,543,466,757,915,1028,1504,1152,986,1054,1186,1240,1070,1028,1226,1166,995,1206,1164,1034,1004,949,659,459,457,528,778,720,947,1122,1019,835,877,959,841,667,792,1108,1196,1152,850,875,882,738,1198,1440,1036,928,1124,1013,937,1176,1402,1406,1256,1178,1146,921,837,1001,1236,1276,1238,1436,1456,1380,1356,1530,763,487,681,952,827,809,1048,1190,903,445,717,1132,1044,1066,1076,844,536,685,900,1128,1038,916,1256,1384,1112,1112,1158,1052,1058,1418,1612,1250,1142,1100,1274,1454,1320,1232,1514,1342,1166,1152,1348,1572,1496,920,523,602,1044,1016,927,1578,1342,1068,1044,849,967,1042,806,967,1042,1176,1338,1426,1130,1023,1134,1208,989,847,1126,1324,1416,1232,1156,970,845,814,998,1060,822,1023,1126,1166,1058,1080,1300,1268,1212,1302,841,422,501,902,1118,819,927,1176,995,714,774,565,518,764,1058,778,842,1302,1448,1096,1032,1126,785,622,492,458,394,350,708,863,515,371,533,625,629,681,920,1198,1236,911,890,891,830,952,1118,1392,1312,944,799,915,1070,789,612,617,665,554,468,490,573,680,901,1186,923,872,1108,865,1214,1050,718,1015,1402,1598,1192,835,885,879,1230,1460,1390,1224,1348,1438,1240,1108,821,457,688,1064,1214,1282,1160,1142,1064,1180,1136,1154,1052,1206,1024,1100,1256,1194,1340,1692,1596,1488,1312,1116,1234,1350,1298,1150,727,995,1188,1106,1094,1354,1644,1142,1120,1404,1148,1092,1246,1152,1228,1376,1230,1003,1296,1656,1534,1424,1240,1300,1496,1008,538,861,1210,1003,1114,1294,1078,972,972,835,498,825,782,543,363,412,705,631,978,1482,1366,1206,1354,1294,1062,1052,1056,1024,1066,930,968,742,641,969,1040,900,991,1070,1122,1360,1060,940,1196,940,657,480,354,578,1080,1318,1312,1374,1216,1232,1340,1422,1332,1274,1134,1001,1124,1304,1178,815,927,1178,1212,1128,919,1240,1046,1188,1326,984,603,704,921,806,543,623,841,718,802,749,929,1052,876,647,854,973,1007,1284,1274,605,774,946,934,1214,1176,683,543,889,1258,1378,1396,1212,868,729,714,1018,975,926,809,1054,1222,1082,1500,1720,1272,1282,1240,1296,1098,1218,1028,1112,1168,1158,1028,1150,1236,1138,1186,1142,1256,1700,1432,1418,1332,1104,1354,1504,1516,1456,1272,1122,1258,1652,2032,1280,984,908,844,1296,1094,907,843,893,1078,1334,1436,1116,729,781,949,626,595,1072,1098,1100,844,831,1122,1168,1282,1084,580,698,1042,1324,1642,1382,1256,1384,1001,1021,1328,1290,1140,988,976,1048,1138,1112,1268,1322,1272,1360,1368,1622,1770,1372,1214,1302,1174,1266,1396,1324,1288,1018,814,662,499,631,943,1132,1336,1148,752,803,777,441,369,351,353,372,374,375,368,431,482,400,354,318,333,364,333,341,382,352,673,872,586,500,740,1056,1086,653,331,413,720,810,772,686,612,568,612,661,549,390,390,691,1092,1080,1015,1004,1258,1314,1348,1023,995,998,924,766,702,921,1110,1198,1001,1230,1388,1686,1610,1310,1236,1184,933,920,1228,1492,1588,1528,1560,1618,1136,1120,1492,1176,1000,1130,1472,1644,1284,860,792,888,1184,1660,1322,1272,1264,1238,998,1348,1474,1450,1476,1188,913,1210,1520,1464,1474,1314,1140,1080,1164,1334,1462,1096,719,609,533,819,1330,1290,1276,1142,1410,2376,1978,1522,1372,1454,1280,1058,1198,1232,871,526,971,977,858,907,668,636,694,631,941,1170,1104,1324,1462,1064,937,751,949,1128,1172,1048,1154,902,1266,1662,1334,1166,1032,1008,1036,822,677,1136,975,613,930,787,612,649,601,832,935,767,1036,1096,1224,944,749,1176,1204,1278,1372,1234,1332,1466,1312,1350,1522,1328,1122,1168,1246,1270,1274,1106,1001,1114,1172,1248,1168,1084,1156,1194,1524,1478,1292,1388,1458,1076,636,680,793,832,909,995,913,452,704,825,912,941,1122,1148,1074,844,708,633,400,371,640,690,875,1248,1736,1798,1856,1508,1534,1256,738,708,1008,1192,1168,1142,1005,711,602,1084,872,543,463,360,343,326,677,1164,1114,1096,1010,1054,1286,1224,1122,1222,1346,937,1026,1532,1390,1104,1448,2204,2428,1908,1408,1238,1230,1194,1054,968,890,1036,1076,902,869,1012,1226,1288,1594,1328,1134,1258,1130,1180,998,760,967,927,829,777,533,796,877,904,885,1156,1316,841,749,861,993,1206,1496,1478,1234,1146,1262,1294,1220,1214,988,859,911,1158,1094,834,817,479,411,458,809,974,966,1018,1144,1098,1114,926,767,609,811,1114,1674,2054,2064,959,664,719,586,590,765,906,841,1003,1390,1308,829,855,839,1003,1228,788,455,623,971,1116,820,547,560,859,1300,1476,1266,1140,1024,942,973,1056,1094,1088,1118,922,1132,969,913,980,1322,1230,946,1036,930,550,724,1142,1330,1186,739,528,543,535,456,435,463,440,473,596,1026,1410,1258,1234,1110,659,588,696,1090,1088,1416,1042,1264,1396,1206,1196,1088,973,536,584,1142,1066,1034,979,1058,813,833,1015,727,566,663,727,1013,1150,793,695,610,539,539,977,1104,1000,1154,987,540,750,1272,1338,1074,1240,1742,1554,1346,1016,915,1234,1170,828,633,526,584,554,824,868,644,1460,1412,772,703,952,1122,1184,1098,1136,1214,908,708,1064,1132,1324,1120,1384,1584,1514,1518,1162,1100,1424,1312,1256,1472,1312,1152,1784,1830,1510,1284,738,311,322,310,283,654,1314,1344,1378,1244,1106,1042,990,561,577,960,1072,1586,1556,655,619,676,1168,1922,1814,2156,2446,1720,1318,1238,1504,1340,899,1224,1328,1300,1604,1504,1244,1718,1788,1322,968,1062,1084,1130,1218,1072,1001,1056,1210,1322,1504,1422,965,626,523,521,711,923,952,827,656,521,526,525,472,406,396,340,692,1090,1018,995,1274,1204,680,399,492,749,1005,918,692,767,583,661,569,453,638,880,1156,741,486,965,1058,924,1312,997,785,1030,1036,919,801,1032,1300,864,988,988,1090,1570,1250,1114,1088,977,916,803,787,727,843,1202,1166,1190,1586,1594,1566,1570,1644,1626,1534,1534,1588,1650,1330,1184,1534,1570,1210,861,1346,1860,1550,733,421,454,492,624,883,1026,1168,666,670,1290,1594,1508,1426,1468,1520,1470,1440,1298,1126,1009,822,725,579,531,488,646,759,684,741,1086,1296,1082,866,803,708,548,441,560,619,659,747,930,1214,1266,1194,1026,974,1290,1228,1216,1354,1488,1602,1710,1458,1422,1432,1516,1306,1396,1644,1324,1170,1098,1228,1007,989,1140,1306,1338,1132,1056,1162,1118,823,580,458,511,1034,1110,1026,1010,937,937,1078,1206,1372,1454,1332,1378,1344,1206,1296,1262,1240,1168,1050,1122,1196,1156,1056,902,1166,1520,1644,1338,1176,1230,1078,1056,1188,1122,1292,1556,1250,1110,1116,1236,1078,1052,1226,1298,1420,1446,1324,1252,1378,1152,980,1036,951,980,1164,1370,1190,1030,1158,1194,1742,1554,1158,1300,1238,1140,1322,1636,1136,716,614,792,1244,1102,1194,1288,1354,1452,1360,1412,1164,763,615,819,1090,1098,1148,1252,1394,1214,1078,1172,1186,920,792,969,1186,1272,930,973,664,425,321,243,279,388,381,480,494,423,753,1246,885,503,543,927,1132,843,919,808,669,963,1390,1290,677,529,634,504,576,631,772,873,3582,3518,1502,1422,1182,1140,1450,1444,1436,1160,1042,628,659,918,1190,1176,855,617,944,1432,1516,1416,1202,1256,1296,982,763,549,393,430,543,824,1290,1344,1368,1244,1420,985,1274,1682,1714,932,564,554,922,1368,1488,1378,991,727,1084,1142,1126,1000,1022,1276,1256,1284,1196,1122,1012,973,1000,924,976,845,781,554,407,422,421,443,430,415,414,386,334,389,475,618,1178,1114,869,727,1046,1304,1392,1262,1074,864,503,388,468,462,391,419,995,1272,1268,1182,973,996,1246,1396,1268,1544,2046,1874,1372,943,829,1036,1510,1506,1306,1001,1112,1102,882,576,467,454,401,368,474,454,362,377,346,310,409,538,619,738,1060,929,1506,1262,559,370,318,358,414,403,418,437,739,998,1022,1282,1274,1074,813,785,813,639,596,709,1074,1176,1142,860,655,597,828,1498,1428,1382,983,491,513,590,1048,1152,944,632,541,604,530,503,367,337,383,483,370,325,343,572,970,1302,1960,1150,438,287,255,376,883,1078,582,370,360,402,413,475,716,1100,1588,1590,1440,1754,1996,1436,974,957,1040,1023,1008,1134,1286,1510,1526,964,577,610,771,597,436,711,1030,1009,1052,1030,885,909,802,749,703,913],[924,733,691,749,782,828,847,894,707,540,510,508,883,634,503,552,465,390,413,428,338,371,405,443,565,504,462,484,471,449,435,426,391,359,362,415,415,501,461,354,315,323,381,361,394,341,277,311,295,298,313,318,336,365,317,323,341,410,530,861,1040,959,875,857,810,743,825,774,846,942,716,462,362,347,374,463,528,664,1346,1592,1062,489,440,565,612,444,352,341,322,388,527,422,365,397,524,514,681,848,1032,1382,1120,703,574,529,587,993,1244,1224,1166,828,785,1016,1254,1176,1012,915,940,788,849,1064,1058,1308,1198,748,404,396,683,919,1026,795,830,1015,899,788,825,930,1180,1098,1014,1156,955,933,1078,1056,944,1044,1126,918,971,1090,1036,1318,1506,1376,1638,1656,1314,1072,1126,1100,883,952,1274,1512,1344,1208,1034,863,694,618,376,398,655,921,805,691,965,1266,915,488,948,1166,1084,998,763,580,561,727,818,764,695,858,1158,1322,1194,1492,1194,1202,1250,1600,1490,1114,833,682,690,1012,1480,1640,1576,1192,1286,1196,1220,1198,999,708,551,882,1502,1520,1400,1676,1212,1104,664,516,836,849,890,1290,1428,1456,1578,1284,1226,1310,1112,1200,1186,1108,952,1078,1146,1134,1262,1124,1023,1128,1376,1260,769,767,982,1132,968,963,1218,1188,1226,1094,708,597,595,1070,1400,1158,1368,1130,735,667,577,474,483,598,484,749,1394,1406,1130,937,1224,1310,882,640,627,711,554,370,579,900,723,357,360,479,599,565,671,908,1160,888,604,585,828,902,877,914,986,1036,974,1084,1100,936,786,671,785,791,742,451,379,524,849,1178,1150,999,1130,879,1298,1600,1198,1166,1312,1040,933,872,838,755,951,1038,1094,977,1196,1378,1302,1138,924,865,907,1100,871,1296,1550,1504,1208,1118,1202,1086,968,683,728,1064,1182,1216,1228,1374,1324,1300,1376,1166,1166,1204,1294,1220,841,788,781,762,1120,1348,1326,949,1094,1282,1220,1394,1476,1162,1120,1126,1056,1040,1106,1418,1644,1622,1484,1322,1100,1540,1272,755,647,740,1160,1088,985,1028,1148,1266,640,546,625,653,541,497,741,840,1158,1486,1192,1264,1170,1158,1056,997,1176,1204,1160,988,1016,1286,1396,1370,1142,841,719,681,1018,1350,1036,1132,1288,1162,1030,761,672,1094,1460,1410,1276,1438,1270,845,1130,1496,1418,1282,1112,1008,894,1204,1388,953,648,902,1198,1250,1208,1072,861,906,1086,1024,763,641,491,394,481,634,863,924,1030,1058,1152,1296,1140,680,739,1174,1058,1176,1001,494,531,588,818,1192,1310,1068,895,1015,1258,1176,932,761,846,1044,730,796,930,830,702,818,946,974,1604,1964,1446,1314,871,788,1076,1126,758,1098,1266,1220,1140,1023,1138,1120,1072,1064,1496,1780,1268,1166,1050,1054,1168,1420,1438,1526,1434,1214,1372,1494,1630,1662,1656,1312,1166,1146,1116,1156,1078,1005,1122,1488,1328,863,472,454,500,363,396,717,869,874,973,1074,1019,1106,1388,1124,966,924,1156,1120,1318,1212,1174,1188,1166,1248,1278,1306,1296,1196,1216,1132,1078,1224,1390,1186,1036,1002,1316,1770,1572,1194,969,1048,1154,1334,1356,1194,991,722,511,503,513,519,579,797,1050,732,392,428,455,416,383,382,390,415,407,398,339,325,379,360,353,341,382,347,386,385,407,350,421,478,437,435,581,994,1192,755,365,371,663,779,765,761,754,711,716,772,720,469,429,797,1288,1278,1234,1038,1204,1344,1230,988,985,1011,1052,1006,918,1144,1322,1416,1144,1208,1272,1212,1112,1228,1108,991,822,929,1176,1622,1472,1384,1382,1582,1186,1118,1078,789,809,986,1012,1012,1262,1064,1024,1274,1234,1428,1324,1412,1438,1398,1194,1532,1684,1420,1582,1848,805,957,1470,1534,1434,1376,1134,1002,1004,1166,1454,1588,1422,1220,1166,1001,1296,1206,1104,1718,1582,1994,1876,1472,1134,1140,1056,966,1286,1252,891,716,960,1080,1090,921,573,633,669,508,717,991,1042,1007,1240,1198,794,742,1228,1226,874,793,914,995,1404,1354,1364,1378,1188,1156,1028,918,836,1216,1116,816,838,908,717,466,621,1044,914,586,871,1292,1170,668,780,1068,1136,1466,1376,1174,1438,1662,1562,1440,1290,1232,1210,1122,1232,1478,1434,1136,883,760,1001,1072,1032,1258,1112,1238,1632,1594,1432,1446,1496,994,536,832,935,880,1092,1028,897,547,783,994,870,769,804,1054,1176,937,603,426,428,513,858,1038,1012,1572,1910,1930,1202,694,970,1116,672,580,993,1342,1108,764,728,593,791,918,693,536,572,700,586,519,754,1074,971,1234,995,1138,1300,1044,937,1138,1250,915,1058,1244,1290,880,1390,1948,1858,1654,1310,1098,1242,1146,929,703,910,1092,1070,796,698,615,943,1226,1628,1604,1314,1238,1074,892,833,665,846,784,1166,1086,691,591,636,830,737,900,915,778,1016,1088,1050,904,1164,1218,1158,1196,1132,907,991,998,895,916,925,1030,929,862,893,518,396,419,1054,1328,1104,1052,1054,1112,1148,1168,1154,1005,993,1196,1532,1814,1302,539,443,499,492,586,870,956,973,1220,1430,1424,1244,1288,1256,1222,1230,995,897,869,843,866,689,574,576,912,1498,1584,1086,1032,1042,686,729,1160,1226,1224,1440,1392,1386,1334,1374,1388,1122,1052,1134,1172,1086,802,962,1020,968,902,665,626,636,515,408,412,468,466,473,694,1118,1050,845,866,820,822,913,891,717,969,1074,810,1182,1480,1108,1194,1032,616,405,626,1214,1154,722,722,997,934,899,815,550,627,810,936,1338,1032,719,633,698,959,990,1044,1246,1192,1058,567,460,689,1072,1416,1026,1038,1306,883,844,888,936,1328,1250,1128,1020,706,881,721,705,835,595,678,886,926,637,658,855,943,1005,1208,1436,1558,1190,1322,1038,651,980,1340,1248,1406,1396,948,1290,2012,1782,1472,1346,1256,1250,1404,1488,1426,1114,688,299,301,351,336,628,1372,1536,1316,816,868,1308,1114,597,487,880,1074,1238,1264,738,909,1242,1440,1738,1946,2176,2042,1300,1112,1410,1428,980,997,1220,865,1122,1550,1308,1264,1826,1942,1310,783,1088,1176,918,1224,1206,760,683,1276,1250,1272,1148,778,823,1132,1014,1076,1334,1138,838,762,642,550,492,441,406,407,333,544,838,933,1172,1374,1078,788,810,579,1026,1558,1414,776,816,769,718,771,579,689,855,1086,733,703,1262,1126,1076,1011,846,975,1005,937,866,752,780,766,438,710,935,1604,1930,1508,1348,1152,897,1034,1122,1128,1098,1294,1626,1416,1342,1672,1770,1764,1714,1528,1210,1380,1684,1704,1612,1384,1080,1188,1076,758,748,1300,1502,957,541,588,634,597,651,865,1052,1230,799,652,1172,1626,1642,1572,1698,1564,1272,1184,1196,1268,1230,919,767,588,561,654,652,735,769,918,1162,1128,965,908,998,734,659,753,751,850,1122,1058,702,1042,1250,1262,1126,1148,1252,1298,1544,1686,1432,1454,1720,1682,1498,1438,1300,1350,1870,1942,1516,1350,1102,1048,1026,857,977,1266,1036,871,1012,1020,981,990,720,435,511,1140,1234,1092,1110,1100,1052,1094,1160,1178,1470,1242,1174,1242,988,1134,1388,1360,1180,1078,1060,1066,1064,1082,1048,1092,1023,776,886,1082,1378,1268,1013,1110,1148,1674,2326,1300,1262,1178,1070,1048,1096,1298,1314,1338,1390,1220,1332,1368,1144,1156,1148,1068,847,962,1180,1212,1040,1066,1084,1096,1024,1076,1220,1100,1004,1234,1212,621,434,604,991,1040,984,1180,1358,1604,1340,1314,1144,971,973,1102,1280,1274,1212,1204,1296,1378,1376,1194,764,943,1326,1118,1020,1028,908,643,879,673,335,254,270,264,260,318,388,450,659,907,1160,798,711,818,1246,1004,714,1058,938,664,987,1486,1144,949,703,566,631,786,756,962,803,1210,1362,1534,1236,1166,1478,1502,1472,1340,896,717,676,854,1132,1600,1808,1328,1050,1438,1682,1530,1514,1376,1186,977,589,354,326,299,496,733,893,1242,1484,1570,1170,1136,1060,1312,1494,1412,1116,1048,680,601,1078,1526,1416,1170,795,1244,1106,1184,1622,1202,1176,945,1064,938,846,932,990,800,894,1270,707,667,900,698,469,440,397,407,430,413,383,332,324,306,375,509,517,422,690,1188,1144,1120,1194,1158,835,376,330,380,382,412,623,1070,951,751,1238,1382,980,1012,1266,1328,1528,1312,1106,1324,1570,1628,1450,1466,1450,1226,1064,1198,1024,562,427,412,428,368,310,397,426,359,401,389,383,397,407,448,677,669,647,1094,792,426,388,441,513,606,642,508,506,550,728,1016,1424,1410,1150,1017,1100,1172,703,508,640,996,1284,1210,915,787,692,563,753,1260,1474,1284,707,513,790,1394,1238,1076,980,754,509,535,494,328,356,625,927,678,433,794,1528,1584,1246,1108,742,451,235,232,323,612,664,442,437,458,427,391,399,825,952,1023,1124,996,1238,1114,1110,1086,1482,1438,1288,912,1146,1312,1478,1368,1302,1032,711,811,715,570,777,1006,1132,987,883,645,734,955,1152,1038,880],[1088,746,649,513,579,643,624,742,715,749,773,565,532,475,489,499,477,380,337,382,343,410,403,398,470,550,595,503,430,441,424,405,389,365,392,381,397,552,511,379,326,338,375,385,405,365,303,274,293,287,291,318,344,361,346,341,398,613,961,1232,1252,1102,1168,1052,849,1038,1140,951,755,818,776,553,425,351,388,636,633,467,1068,1490,1372,690,420,513,576,467,338,340,325,342,412,352,359,395,386,475,505,575,928,1392,1186,618,546,485,517,999,1240,1186,1017,832,769,971,1240,1228,1056,749,572,613,778,980,1164,1090,1068,655,316,502,813,899,876,642,565,763,882,763,653,681,1056,1007,1094,1156,1005,1046,1260,1042,731,853,794,456,716,1028,1028,1130,1282,1286,2094,2016,1086,1226,1338,1015,789,739,918,1526,1268,855,1014,872,592,400,392,466,761,1064,868,868,968,948,610,402,682,922,1154,950,662,623,785,1142,1022,686,568,631,847,1006,1240,1196,1186,1616,1798,1644,1368,1230,692,473,479,607,802,1382,1736,1694,1178,1088,1120,773,548,507,542,925,1252,1158,1184,1190,1288,907,567,794,981,863,913,1156,1226,1090,1152,1130,1208,1206,1138,1338,1490,1346,945,795,1028,1240,1140,970,971,1090,1296,1180,882,898,887,808,506,506,792,970,1244,1284,1144,1015,1064,1322,1622,1982,1558,913,713,638,574,587,755,848,692,673,1130,1250,1126,869,1314,1408,1138,702,591,564,435,438,611,933,974,523,713,913,1046,725,805,1036,1260,1302,970,788,1021,910,782,601,959,1070,1100,1162,1136,1152,946,1021,952,565,536,519,524,592,712,912,1142,1016,1086,1000,1256,1364,1134,1404,1490,1046,1078,875,689,849,786,594,860,1132,1282,1114,1172,1130,730,1202,1598,1400,805,1278,1850,1780,1384,1078,1138,1200,968,968,938,1146,1204,1011,1238,1456,1404,1180,1268,1092,967,1060,1860,2836,1908,933,736,716,1166,1134,1156,1400,1418,1238,1278,1556,1416,1196,1198,758,648,845,1120,1702,1608,1664,1724,1404,1326,1838,2208,1748,653,647,1146,908,1010,1134,1006,1130,596,728,1216,1216,1324,1370,1178,1186,1372,1462,1188,1422,1196,1350,1252,1168,1160,1180,1100,829,1232,1864,1622,1474,1214,777,715,956,1286,1434,1040,836,971,1020,1040,969,849,966,1164,1306,1444,1460,1200,1166,1282,1384,1516,1552,1340,932,739,1096,1490,1013,559,479,1044,1266,1422,1208,913,935,1152,1148,1056,882,612,445,472,588,754,753,804,910,894,1132,1240,1012,1128,1354,1150,1252,1284,816,482,404,525,821,1040,1076,1138,1360,1394,747,643,676,733,962,781,808,1054,972,891,799,835,1024,1372,1366,1276,1256,1118,1042,1230,1092,714,1072,1356,1356,1294,1164,1246,1172,881,1124,1636,1652,1168,1024,1396,1294,1070,1328,1272,1244,1256,1158,1158,1116,900,1214,1536,1268,897,777,954,1023,970,910,899,998,963,559,354,352,288,286,356,602,704,853,1140,1011,912,1178,802,660,882,1092,1116,758,510,782,987,876,1046,1152,1182,1270,1236,830,592,1038,1302,1310,1076,760,681,852,1246,1586,1400,1216,1340,1430,1460,1470,1016,683,751,698,514,559,577,438,446,525,716,546,381,350,354,378,392,382,375,380,401,454,376,336,378,360,344,347,382,347,352,382,403,419,438,459,514,481,505,703,875,736,412,298,549,748,761,723,631,541,524,564,672,538,565,781,1028,1082,1168,1242,1328,1410,1218,841,1028,1316,1418,1174,1188,1072,1252,1416,1216,1208,1390,1158,1342,1466,871,608,661,954,1248,1540,1226,1102,1216,1578,1188,1015,1064,976,1028,1142,1168,1340,1568,1466,1330,1418,1432,1356,1194,1220,1462,1432,1460,1548,1426,1236,1212,1532,1216,1232,1450,1308,1296,1350,1316,1142,1058,1224,1340,1434,1670,1762,1294,1188,1504,1360,1230,1324,1030,1023,1302,1372,1210,1120,1032,1216,1344,1066,777,790,904,1064,1126,938,912,885,633,408,502,771,1070,1021,1074,949,750,1066,1242,1168,1009,1092,1278,1432,1542,1364,1138,1234,1162,1230,1284,1448,1386,1194,1156,1340,1278,1092,964,816,816,788,618,609,1028,1284,1128,965,1134,1050,907,1346,1164,1070,1224,1356,1418,1420,1258,1266,1230,1028,1015,1230,1270,1142,1016,1094,1220,1050,1036,1324,1530,1704,1796,1686,1448,1342,1296,928,883,1030,1344,974,1038,910,708,730,857,657,593,861,1102,1054,1122,1278,1158,1048,1050,1068,1200,1156,1502,1494,1284,1108,667,566,1014,1180,559,537,1028,1268,826,934,1196,1003,880,952,1176,1032,955,1088,1074,868,961,1034,876,882,760,921,937,985,979,825,940,934,1254,1198,1218,813,1176,1306,1160,1184,1056,1108,1122,959,1098,1052,1162,1012,919,697,576,650,782,673,1058,1522,1506,1378,1226,1228,894,646,1009,1094,1110,1064,1013,834,675,796,869,1028,938,996,1252,1312,1100,897,974,1078,1198,1228,980,959,957,738,701,851,792,608,579,746,635,567,606,723,982,1218,1324,917,707,1058,1026,1184,1088,947,1044,1196,1282,1372,1036,733,738,590,640,742,891,957,1122,1372,1490,1250,1046,1182,1288,1250,1282,1134,797,974,1080,794,566,496,849,1148,1324,1260,1224,1602,1570,962,466,545,851,1324,1214,1328,1368,1216,1030,783,875,1314,1126,1038,1362,934,793,632,558,559,606,551,448,415,419,415,450,501,453,667,915,825,1096,1148,684,691,1009,856,554,942,1206,759,803,1498,1346,1438,1420,873,439,695,1170,1348,982,671,807,723,862,693,814,1138,1516,1746,1532,1108,910,855,869,1010,963,1078,1218,1158,1262,899,918,743,509,903,1134,1118,866,690,766,921,1208,1598,1200,1068,1294,1086,847,616,547,816,877,641,781,899,540,455,719,754,883,1244,1300,1606,1654,1354,953,689,878,1154,1154,1422,1316,1078,1336,1708,1562,1198,959,1112,1400,1524,1616,1064,477,362,290,364,499,714,732,1130,1444,1416,891,902,1324,1372,1034,772,906,1072,1026,1344,1404,1218,1266,1178,1446,1600,1720,1694,1338,1170,1384,1374,738,596,623,608,1160,1272,1015,1072,1768,1948,1172,860,1180,839,589,850,592,350,523,1250,1396,1196,1098,846,991,1714,1460,1278,1602,1118,1064,1158,597,410,465,410,383,378,376,541,821,946,972,895,810,1106,1252,683,1018,1904,1470,677,632,703,1010,948,473,552,895,1007,1018,1166,1202,869,700,714,887,1048,778,680,827,929,789,565,508,579,1146,2268,2244,1616,1468,1394,1134,1304,1510,1344,1242,1378,1398,1472,1732,1810,1716,1754,1774,1440,1380,1496,1438,1444,1378,1288,945,637,512,517,1007,1618,1192,547,477,611,643,590,644,826,1048,1334,1088,854,1274,1594,1330,1360,1436,1220,944,1146,1140,1182,971,761,929,791,710,871,966,1068,908,832,789,803,720,729,982,775,885,1208,1024,1098,1416,1368,838,753,1036,1162,1240,1148,1332,1366,1546,1502,1140,1306,1544,1644,1606,1372,1206,1330,1356,1910,1910,1484,1092,1048,1044,755,1034,1146,1184,1214,1406,1288,926,1002,959,593,461,813,1134,1122,1118,1124,1122,1114,1106,1148,1390,1092,1062,985,693,880,1318,1296,1132,1016,995,996,941,702,969,1180,819,750,1092,1100,1148,1224,1078,1132,1268,1512,1494,1114,1376,1296,1118,965,1054,1300,1230,1202,1172,1178,1328,1306,1152,1256,1638,1288,912,980,1166,1190,971,1040,1142,1112,1062,1144,1216,1274,1266,1168,777,489,502,836,1096,1132,1172,1186,1334,1358,1316,1208,1230,1124,1816,1736,1316,1200,1134,1184,1266,1334,1312,1158,799,912,1466,1326,1278,954,847,919,1044,863,464,322,303,294,384,467,505,717,1162,1202,1006,1032,1108,1178,1322,957,744,758,955,1072,1528,1434,1130,1074,844,791,891,1024,1234,1236,804,714,1114,1284,987,1032,1300,1396,1502,1302,1140,1146,1004,739,980,1352,991,788,1328,1678,1696,1440,1344,1304,1130,840,511,395,389,314,483,695,775,1030,1220,1290,1021,1348,1928,1726,1428,1396,1518,1656,982,708,913,1238,1072,926,619,1308,1356,1380,1214,1208,1122,1042,1136,1086,606,602,842,660,1320,1322,562,647,921,715,615,488,523,628,522,466,361,346,333,310,303,326,391,418,725,1158,1030,1030,979,937,602,336,324,324,464,951,1238,1146,832,577,931,1112,661,750,1084,1100,1390,1160,1252,1570,1754,1760,1466,1368,1442,1280,1272,1252,749,464,464,409,421,387,327,361,498,428,390,378,392,383,343,452,611,508,524,505,375,389,354,479,657,749,892,716,834,688,666,976,1312,1218,963,1070,1342,1382,973,658,740,1126,1282,1074,957,797,663,525,859,1454,1472,1458,877,657,1102,1766,1710,1332,1448,1304,885,1003,893,431,357,472,952,1208,754,1290,1822,1336,800,569,663,724,371,286,350,542,620,727,750,546,420,436,401,538,728,1044,1180,922,792,786,1186,1334,1322,1026,931,910,1050,1318,1490,1390,1384,1296,1072,897,969,873,1100,1114,912,974,1013,978,1402,1506,1444,1018,655],[1382,906,683,553,554,604,590,623,722,960,839,499,417,434,357,311,368,350,346,336,374,368,414,412,405,494,579,573,465,416,415,405,416,376,403,403,393,419,435,370,332,341,333,341,371,362,330,301,302,296,285,356,396,368,359,390,434,561,891,1138,1026,854,1234,1290,1382,1314,1112,1224,1158,982,884,623,462,401,795,1266,982,693,1286,1144,920,634,337,411,458,387,300,321,335,336,314,340,359,398,412,480,478,559,928,1252,1062,619,652,709,608,1050,1160,1100,1070,792,760,1013,1100,1005,872,662,669,963,903,1324,1528,1016,648,429,321,354,415,399,397,306,324,499,771,722,445,645,852,730,916,1068,1070,1234,1078,596,459,727,651,611,744,773,835,1164,1446,1318,1598,1462,1108,1074,1016,620,475,592,642,1066,1010,814,975,1015,745,514,402,497,825,1060,897,953,1056,1230,973,558,465,835,1186,1108,1070,1030,1098,964,611,615,642,675,874,847,1018,880,1128,1570,1584,1444,1338,1368,1120,703,528,501,468,771,1378,1810,1720,1512,1556,1184,564,502,705,959,1046,1230,1364,1340,1252,1204,1296,1170,1134,1066,916,927,1122,763,977,1056,988,1100,1290,1282,1138,1242,1102,880,964,1062,807,771,1118,1186,1310,1100,995,950,771,508,308,352,416,691,1206,1368,1384,1064,1018,1254,2270,2372,1236,681,562,737,962,957,1206,1102,947,564,695,1164,1272,969,824,764,914,933,691,392,398,495,677,830,1248,974,990,824,952,944,943,1164,1428,1330,1056,1054,1140,931,908,1006,1146,1164,1164,1032,1278,1380,1150,1098,822,440,519,1080,1324,1005,798,1060,1330,1202,1152,1058,1096,1262,1406,1524,1264,1034,1106,991,767,779,664,793,1076,1260,1246,1210,1322,1144,645,897,1306,1330,1130,1404,1268,1074,1190,915,789,874,716,1158,1200,1562,1302,1048,1116,1318,1190,1120,1238,947,917,1300,1596,2514,2850,1128,442,544,725,1014,1228,1400,1438,1396,1554,1458,1220,1200,827,402,323,477,1007,2280,1786,1384,1528,1666,1504,1338,1428,1206,527,474,880,714,730,1224,1150,1028,698,1088,1496,1266,1332,1574,1340,1324,1428,1512,1326,1260,1064,1266,1248,1172,1178,1162,1108,1042,1482,1924,1338,942,960,840,1220,1742,1612,1484,1166,1076,1216,1144,1202,1114,968,1094,893,1074,1258,1198,1354,1388,1320,1440,1506,1578,1260,846,803,1488,1388,1278,1032,665,827,1246,1448,1294,1070,1116,1222,1234,1200,1108,933,668,722,951,927,774,775,968,986,984,895,987,1086,1226,1240,1334,1310,982,729,448,411,609,849,1104,974,878,1028,1006,904,636,675,803,796,931,1064,1136,1160,919,1040,1270,1382,1390,1106,1044,1338,1372,1368,1224,926,948,1242,1432,1498,1480,1384,1404,1122,1558,1924,1580,1132,1098,1324,1150,918,960,1088,1290,1130,1204,1023,1020,1234,1146,1152,1234,1076,920,1106,1144,1120,780,637,781,786,504,399,402,481,514,413,423,559,750,1208,1176,827,996,693,670,973,948,650,501,442,632,955,1118,1034,1224,1260,1222,941,659,867,1400,1340,860,650,653,652,737,965,1512,1744,1470,1312,1202,1282,1242,831,578,608,628,761,893,766,482,460,471,536,555,577,505,417,426,400,360,398,425,390,365,376,361,409,387,369,347,316,300,347,462,521,452,517,683,609,503,514,527,646,722,500,277,452,745,847,754,556,436,408,418,451,448,516,767,880,959,1166,1286,1494,1366,1168,865,1058,1074,1020,1040,1126,835,755,764,744,936,1164,1108,1348,1412,1216,941,869,843,1044,1350,1212,1034,1404,1738,1530,1362,1366,1506,1510,1650,1626,1494,1416,1404,1366,1572,1516,1388,1408,1398,1412,1432,1480,1428,1444,1222,766,648,1090,1306,1358,987,843,1086,1242,1300,1392,1254,1200,1180,1332,1692,1100,1148,1596,1448,1460,1398,1312,1522,1676,1292,1252,1158,1146,1252,1228,1184,717,711,1017,1242,1222,983,1086,823,708,440,407,1092,1456,1108,1096,849,949,1128,1054,995,1048,1220,1338,1294,1200,1354,1462,1576,1328,1198,1396,1440,1346,1344,1366,1484,1250,1380,1332,1042,1036,1080,814,747,973,1108,1350,1226,1102,1120,1080,1308,1044,1644,1720,1508,1420,1372,1470,1534,1432,1312,1158,980,990,1246,1310,1180,1816,1744,1198,1186,1318,1512,1704,1594,1352,1390,1368,1232,1366,1470,1212,777,836,782,673,863,745,465,568,1036,1012,738,789,1278,1148,1226,1196,1106,1084,1072,1106,755,554,761,801,480,803,932,830,1076,1220,1015,564,881,1392,1388,880,747,1246,1346,1252,1102,795,879,1138,1170,1032,886,836,914,1088,1040,1138,828,735,818,1062,1142,1172,979,1736,2010,1116,910,847,626,716,992,1208,1136,1158,1168,1001,758,609,572,677,705,875,1088,1620,1592,1354,1366,1230,1108,1268,1268,1180,1090,1028,1013,964,1196,1158,1116,1172,1138,1260,1228,1015,1062,1218,1028,991,1164,1206,1130,785,523,592,867,879,732,603,562,542,635,857,1052,1054,1440,1540,1098,704,974,1286,1064,1048,1001,1098,1272,1282,1116,893,999,966,706,794,735,852,1078,1288,1556,1380,1052,910,727,843,1182,1376,1416,1078,1436,1174,595,408,698,1130,1208,1090,889,1120,1608,1698,1444,507,305,633,1302,1180,1188,1406,1176,865,803,1040,1316,1096,1294,1190,634,467,536,743,920,854,512,368,399,441,471,424,441,531,907,1196,1258,1322,990,416,431,791,787,684,1030,1218,955,1086,1130,1178,1132,1015,901,727,644,777,1015,962,864,1036,700,866,799,930,1064,2124,2156,1468,1092,912,852,671,865,866,1042,1018,1064,1110,1406,1138,668,433,468,838,970,843,788,575,821,1400,1482,1236,1330,1476,1296,1072,807,510,588,730,715,706,637,573,520,822,1230,1294,1200,984,1144,1608,1434,907,908,1110,1092,1160,1448,1248,1146,1216,1232,731,501,537,740,1204,1530,1350,608,328,364,373,433,771,940,1046,1156,1116,1340,1378,1082,1078,1240,872,995,977,719,570,662,711,669,915,986,1005,1182,1448,1500,1596,1230,974,916,548,674,710,982,1366,1062,988,1360,1966,1826,1194,1188,1498,619,449,619,387,265,681,1194,1362,1234,997,874,1044,1544,1314,1310,1698,1228,1212,1194,651,457,455,418,388,396,397,418,701,1148,1146,962,846,984,1005,683,1026,1428,975,579,581,810,1094,1272,841,666,683,879,1170,1198,821,688,612,415,470,916,907,738,1208,1162,989,824,792,706,1298,2362,1938,1390,1356,1306,1210,1858,2078,1372,1228,1454,1792,2198,2092,1798,1588,1580,1640,1378,1394,1350,1432,1112,1032,1222,995,665,431,665,1360,1406,837,476,473,448,569,590,643,818,1042,1366,1222,713,993,1356,925,1054,1024,886,1096,1344,1224,1400,1090,670,843,732,646,680,984,1068,855,688,860,887,635,562,736,776,928,1128,954,1028,1524,1498,929,591,854,982,1120,1158,1196,1372,1440,1252,1244,1200,1194,1610,1506,1254,1306,1172,1306,1738,1660,1240,1076,1054,952,719,1130,940,1160,1254,1244,1224,1328,1450,1266,735,608,971,1258,1142,1130,1070,868,1004,1094,1180,1328,1186,1038,1056,1152,1226,1260,1146,1238,1228,1026,1132,1562,1200,1124,1356,1438,1416,1236,1070,724,734,932,1298,1200,1108,999,993,1074,1152,1058,997,1074,1048,1018,1007,1122,1340,1298,1246,1086,1614,2736,2254,1216,1222,1238,1196,1100,1238,1126,1194,1128,1078,1332,1246,1268,985,578,447,738,1110,1092,1140,1134,1260,1180,1154,1272,1282,1444,1290,1378,1208,1198,1208,923,1016,1318,1200,1164,1202,1080,1208,1352,1366,1254,1172,1206,1088,981,828,677,401,345,691,962,769,699,978,1394,1458,1440,1524,1356,1244,1372,1082,991,803,1152,1334,1442,1158,828,792,933,1082,1216,1104,1120,1274,1058,1036,1096,1284,1072,949,1090,1210,1306,1380,1376,1538,1300,875,837,952,767,952,1440,1638,1670,1430,1272,1184,1114,999,764,594,524,433,363,442,585,1004,1216,1158,1314,1622,1692,1588,1422,1136,914,1090,796,896,937,1172,1126,907,982,947,940,1066,1058,1202,1366,1270,969,704,499,480,480,422,859,760,393,607,810,479,616,512,520,467,454,539,462,354,363,365,367,399,388,452,761,829,827,601,556,573,464,422,406,357,596,1110,990,847,738,688,616,585,525,551,772,1023,1132,1356,1512,1262,1344,1166,1208,1256,1346,1288,1250,1320,867,568,465,492,502,381,339,499,1014,897,505,438,620,553,395,575,686,809,988,948,453,422,364,478,777,624,613,568,723,859,1005,1116,1298,1180,1418,1510,1418,1009,861,1016,1004,1008,894,1128,1344,891,658,640,1078,1424,1356,1266,1005,694,870,1216,1376,1288,1266,1112,692,894,1046,697,408,375,666,1098,943,1104,1336,1052,888,735,710,1030,903,441,735,1184,1274,1340,1132,781,761,843,550,464,723,874,1078,786,453,781,1294,1608,1214,715,880,1130,1108,1294,1410,1418,1212,1492,1510,1038,832,557,631,854,930,1202,971,850,1102,912,777,531,404],[1288,891,715,649,601,768,733,583,516,493,426,378,368,361,360,341,332,331,302,359,408,349,257,267,384,445,437,426,435,392,424,445,442,420,424,424,391,374,368,356,352,338,310,320,341,349,313,347,329,310,321,457,526,388,365,369,429,468,570,733,578,708,1054,1134,1014,921,1044,1008,875,1126,1212,700,458,823,1594,1708,1320,1338,1488,808,475,411,328,327,354,332,287,296,354,387,386,390,390,403,502,573,432,597,949,1086,988,606,686,949,741,926,1166,1228,1068,890,973,776,773,830,753,759,972,1202,1028,2360,2454,1274,780,533,434,358,338,354,371,329,339,561,730,760,499,603,814,937,1064,1084,1010,1190,984,675,608,890,1004,1140,1174,1150,1282,1430,1488,1486,1354,1028,668,429,514,410,475,711,772,998,891,642,774,860,678,465,441,372,509,829,1068,975,1336,1466,1148,1026,846,696,841,966,1092,1168,1214,1216,1004,873,788,831,1088,1054,939,1040,1194,1162,1090,1340,1032,958,1278,1476,1244,787,472,700,1013,1190,1490,1808,1964,1302,771,740,1080,945,695,1058,1364,1490,1216,1164,1102,1015,960,1104,1130,1146,1023,861,1372,1216,1132,1290,1044,626,662,678,689,772,988,1096,820,505,657,1214,1324,1280,1162,1042,1028,673,299,342,342,445,965,1092,1226,1154,960,1454,2086,1532,1046,909,745,869,1062,1084,1124,1166,1013,742,700,684,819,1072,1005,774,602,941,1064,659,469,590,567,628,1050,977,716,506,688,1015,1074,1260,1412,1224,1084,1186,1246,1224,1092,1342,1310,1318,1242,990,1280,1230,1122,1096,598,444,796,1078,896,932,1162,1544,1606,1384,1106,777,1076,1422,1532,1524,787,795,1154,1056,828,821,1070,1216,1088,1134,1278,1504,1486,1416,937,776,1172,1246,1154,1188,1074,1005,1242,1212,1158,1050,821,1230,1354,1304,1130,1108,1268,1356,1174,1094,1122,977,796,1194,1490,1534,1300,613,436,482,866,1312,1348,1306,1166,1248,1538,1376,1242,1280,993,572,431,460,836,1166,1150,1100,1238,1578,1712,1598,1484,755,414,362,461,533,692,675,655,679,783,1140,1318,1294,1332,1222,1282,1310,1406,1360,1310,892,498,568,753,1092,1064,1016,996,1242,1624,1748,1290,1246,1212,1070,1490,1366,1110,1322,1320,1444,1104,1088,1144,914,999,1136,1102,1304,1104,982,1212,926,1054,1400,1418,1498,1322,950,931,1216,1108,1344,1360,1005,923,1132,1224,1282,1336,1396,1368,1254,1074,1080,951,868,1034,988,907,886,1082,1150,1056,858,802,1110,1316,1338,1316,1204,1042,1160,1110,562,381,482,757,1062,972,1158,1114,1196,1102,783,787,868,1024,1110,1128,1048,1036,1015,938,1088,1182,1206,968,853,1036,1262,1466,1174,1094,1266,1340,1456,1760,1514,1282,1228,1007,1080,1354,1242,1090,1120,1023,1102,908,677,703,1034,1164,1260,1176,863,850,1242,1422,1460,1878,1496,1322,1260,1068,736,761,896,650,411,450,558,456,394,364,336,421,480,874,996,718,794,742,907,1056,678,512,766,786,528,649,1018,945,1078,1144,1228,1118,979,1358,1476,807,470,576,706,563,489,681,1214,1668,1526,1302,1400,1448,1224,772,610,671,913,1005,692,477,370,353,401,516,794,896,655,456,398,364,354,433,438,361,371,321,331,424,424,424,476,455,378,392,589,633,521,677,794,659,662,608,584,726,820,572,322,400,705,828,800,672,589,475,426,426,460,584,811,726,690,777,963,1470,1482,1074,751,862,998,992,1148,1188,980,912,1010,969,723,1100,1464,1566,1618,1662,1416,1088,1176,1328,1532,1450,1310,1494,1554,1590,1320,1346,1346,1624,1614,1440,1334,1302,1310,1252,1352,1412,1296,1154,1044,1222,1378,1264,1138,1108,1172,935,626,783,1220,1576,1392,1256,1122,1422,1490,1366,1256,1160,1240,1156,1434,1414,1308,1326,1482,1440,1348,1402,1498,1524,1272,1134,1156,1330,1320,1174,1038,784,951,1192,1262,1256,910,989,772,950,812,534,1544,1804,1448,1284,970,1152,1550,1560,1210,1168,1278,1208,770,699,987,1594,1716,1440,1272,1290,1274,1290,1470,1398,1032,1096,1360,1250,985,886,965,898,1032,1248,1362,1470,1262,1128,1230,1216,1326,1278,1548,1498,1202,1056,1252,1396,1342,1282,1132,1224,1126,1176,1294,1464,1124,2292,2284,1260,1240,1230,1388,1666,1606,1338,1694,1332,1332,1300,1470,1128,927,817,453,646,802,460,550,581,932,932,1078,1130,1234,994,990,1100,1136,1114,1160,1002,791,706,659,681,498,685,1080,1732,1952,1682,1190,910,724,933,1030,613,722,1190,1224,1288,1072,780,974,1332,1350,1308,1288,1030,883,1216,1204,1594,1260,825,840,1011,1166,1122,1066,2056,2360,1152,970,600,433,741,1124,1128,1230,1072,1270,1178,778,771,838,1216,1266,1576,1524,1544,1648,1622,1540,1442,1294,1296,1246,1302,1164,1110,1144,1144,1178,976,1036,1278,1204,1136,888,582,848,1178,919,930,1158,1334,1312,977,623,676,994,1006,757,524,416,417,551,688,794,708,1132,1222,1098,894,1042,1184,1052,1102,1228,1178,1036,1050,877,1050,1050,821,611,623,601,644,838,1108,1158,728,911,1150,933,1192,1234,1142,1198,1100,1064,730,456,658,1024,1132,1230,1130,742,869,1506,1414,1156,667,452,596,818,654,899,1300,1166,774,1058,1194,925,1070,1270,907,626,518,749,1058,1122,982,653,445,396,477,545,641,702,853,1268,1118,688,727,720,455,626,994,866,913,1154,1296,1156,1148,1050,1026,986,939,1012,892,742,902,881,829,1028,1015,960,985,1124,1174,1138,1272,1004,701,702,903,828,654,1092,1130,1192,1126,1120,910,809,574,568,590,559,708,982,1100,1007,772,919,1054,1058,1246,1576,1476,1216,1226,993,531,426,806,1000,807,904,783,591,855,1250,1324,1294,1252,1190,1086,896,662,843,1132,876,1276,1172,906,759,1604,1796,885,761,572,414,576,927,922,417,387,509,486,400,620,484,738,1032,977,1502,1660,1116,717,1200,988,852,794,695,577,698,945,1172,1124,802,761,944,1040,988,1422,1086,659,623,655,861,980,1832,1918,908,1060,1414,1714,1514,1340,1770,1596,658,420,702,533,291,926,1526,1144,1176,1046,684,1146,1488,1372,1350,1514,1206,1194,1094,522,395,486,446,417,377,384,338,544,1178,1090,794,609,904,1366,1306,1188,1052,1478,1158,654,942,1172,1230,996,747,650,594,1036,1236,700,824,642,502,526,723,844,1034,1100,863,1007,1118,1102,1005,1056,1672,1516,1472,1482,1186,1114,1770,1688,1376,1730,1780,1622,1898,1832,1646,1346,1602,1682,1526,1432,1158,1400,1198,1064,1114,819,549,576,998,1382,815,468,415,471,501,593,596,662,857,1034,1354,1120,698,908,1026,968,1352,1576,1578,1810,1638,1294,1394,1078,639,678,708,998,933,982,888,592,815,1204,1220,1188,998,1004,975,1050,1032,871,966,1402,1538,1192,826,756,867,1058,1158,1046,1202,1212,1242,1376,1234,1338,1582,1278,1512,1410,1194,1234,1208,1232,1402,1328,751,618,688,1110,1136,964,1200,1322,1338,1218,1260,1292,866,950,1466,1512,1146,976,787,680,865,1000,1068,1206,1202,1182,1394,1598,1204,1142,1188,1092,1188,1110,1260,1412,1124,1136,1304,1476,1382,1430,1106,560,577,971,1060,987,1072,1228,1192,950,905,925,1126,1270,1162,1134,1106,1052,1186,1284,1244,1072,1262,2436,2302,1216,1168,1264,1158,1216,1306,1162,1190,1152,1056,1074,1096,1001,648,466,572,1092,1100,978,1108,1166,1414,1192,1088,1262,1502,1540,1294,1140,1184,1442,1364,1218,1100,1138,934,1064,1264,1236,1015,1228,1554,1348,1044,880,810,973,946,908,774,780,971,1060,1038,856,825,1152,1340,1266,1122,1308,1408,1240,1056,1158,1472,1538,1416,1222,988,717,576,850,1052,1158,1154,1046,1224,1290,1328,1224,1274,1038,955,1172,1208,1156,968,1082,1534,1278,1004,921,1072,1232,1338,1384,1498,1676,1656,1438,1052,893,819,888,949,783,555,404,464,511,656,691,910,1390,1550,1350,1406,1430,1005,674,1274,1038,1044,1088,1182,1005,678,717,725,537,478,671,1018,1266,1274,1196,894,543,425,365,359,383,331,331,442,607,488,525,471,495,481,447,491,469,427,449,433,443,512,626,545,889,589,666,532,356,464,616,617,525,472,598,1012,882,615,579,524,513,567,524,443,709,975,882,1240,907,1036,1530,1170,1054,1216,1376,1050,945,1096,1212,1138,796,550,467,375,356,431,942,1160,819,643,722,601,531,629,639,844,1204,1332,639,547,436,713,974,766,606,482,381,509,963,1386,1410,1282,1810,1830,1282,804,1142,1462,1134,975,992,1604,1768,1224,996,840,977,1246,1042,1005,1012,849,587,453,549,584,807,613,459,742,1368,950,435,338,362,678,774,759,772,1005,1444,1108,891,1680,1708,869,1100,1596,1520,1214,921,1126,1396,1262,728,507,625,464,729,527,553,1110,1526,1764,1352,1036,1494,1478,1350,1744,1554,1416,1278,1290,1328,1003,649,373,402,602,943,1108,651,784,799,436,305,351,320],[1322,1034,822,694,708,768,614,389,354,393,452,462,394,378,417,415,356,322,338,372,364,280,224,230,347,411,386,375,375,380,437,440,433,429,432,395,378,380,382,387,387,358,340,367,357,383,441,430,341,323,359,470,521,418,393,452,688,728,839,836,618,591,613,554,496,698,919,684,879,1724,1590,905,747,1003,934,813,772,964,850,375,365,332,331,317,296,306,299,281,374,494,494,414,384,418,525,788,896,749,840,1148,883,611,726,841,624,621,874,968,990,706,727,630,747,820,912,997,897,919,1132,1500,954,800,940,773,497,468,400,368,327,287,424,677,656,490,356,516,728,778,1009,1080,766,888,1166,1008,918,845,677,869,1092,1118,1104,1286,1398,1290,1126,876,489,383,429,400,430,610,830,996,951,565,549,645,596,460,367,367,557,853,1016,1214,1448,1426,1298,1188,967,686,483,805,986,1132,1082,1110,948,1122,1122,1390,1900,1318,1072,1178,1068,901,775,1060,954,681,948,1366,1318,864,491,861,1194,1036,907,1366,1670,1534,977,809,1082,1064,864,837,1168,1240,1018,1042,1028,1072,786,740,815,836,833,1054,1448,1532,1404,1256,996,888,769,660,930,1108,1216,1312,1278,1104,889,813,963,1202,1214,1214,1058,791,376,344,336,402,1028,1276,1174,1080,1010,1276,1354,1184,1236,1260,1842,1362,1304,1278,1026,1154,1024,764,705,568,558,754,1040,949,778,1190,1226,1090,702,553,443,515,656,698,672,581,1028,1436,1178,1128,1168,1174,1328,1328,1260,1216,1266,1428,1218,1192,1048,833,965,1064,1196,935,437,317,526,691,803,857,1244,1808,2066,2318,1326,962,1136,1454,1720,1560,950,943,1094,897,758,904,1172,901,824,728,991,1230,1364,1322,749,648,847,1176,1250,1234,1404,1372,1306,1296,1306,1060,1086,1246,1214,1156,953,780,786,1156,1216,882,861,1003,1160,1296,1418,1420,1312,1102,592,592,1010,1264,1390,1124,1104,1348,1422,1338,1288,1192,1046,810,651,642,803,1234,1152,1078,1342,1578,1650,1392,1584,1394,893,475,394,677,984,981,716,451,564,866,919,1414,1332,1026,1282,1312,1478,1546,1228,838,759,846,980,1360,977,919,774,1106,1736,1664,1108,1158,1226,1320,1548,1506,1628,1360,1178,867,898,1170,1036,694,784,905,1138,1404,1236,1001,974,757,735,1220,1426,1444,1572,1156,694,780,890,943,1226,1202,1328,1220,1288,1270,1248,1340,1296,1021,874,925,786,641,670,645,850,927,1174,1134,915,1086,1110,1202,1186,1300,1380,1258,1128,1108,911,736,728,772,951,809,800,900,925,1240,1222,930,828,897,1238,1390,1018,1198,1432,1262,1040,689,538,912,930,814,912,1152,1316,1130,960,1228,1242,1508,1854,1480,954,766,642,917,1246,865,890,1202,1058,1116,912,822,902,830,923,1190,1262,1332,1406,1388,1614,1356,1052,1358,1390,1334,894,448,407,448,689,913,713,751,466,389,437,492,581,523,1172,1270,823,926,1070,1005,887,583,763,1218,1058,625,629,954,930,1021,1238,1370,1310,1172,1202,996,610,381,433,514,667,756,1572,1768,1534,1622,1362,1344,1194,1078,929,861,904,1132,969,543,366,350,350,344,401,503,477,453,435,466,431,366,396,396,332,355,326,340,442,455,487,674,835,896,611,626,639,604,715,747,730,808,829,788,913,1018,657,330,347,616,762,794,709,670,567,485,448,584,972,1056,741,739,730,1056,1302,1464,1198,913,901,946,1128,1328,1328,1192,1146,1246,1366,1036,1182,1394,1550,1616,1696,1400,1158,1242,1324,1318,1236,1254,1388,1328,1512,1324,1268,1258,1552,1430,1334,1338,1344,1212,1130,1274,1318,1084,769,861,1280,1476,1356,1310,1076,1001,1040,1232,1852,2208,1976,1476,1364,1204,1472,1406,1228,1232,1086,1076,1196,1584,1852,1610,1400,1570,1504,1282,1272,1202,1306,1274,1100,1122,1304,1308,1190,1182,1140,1322,1232,1140,1176,990,1130,980,860,860,700,1172,1416,1270,1116,995,1266,1728,1520,1176,1244,1274,1017,935,938,1376,1724,1430,1434,1454,1264,1166,1256,1314,1192,1092,1246,1350,1024,814,852,730,824,1108,1134,1418,1448,1540,1488,1372,1308,1412,1346,1126,1040,991,1064,1310,1376,1290,1256,1278,1340,1206,1412,1424,1248,874,1011,1050,1090,1322,1184,1410,1766,1650,1412,1528,1310,1204,1174,1234,1112,1142,1005,398,473,511,601,693,709,1114,1262,1204,1032,858,968,1336,1424,1262,1004,1186,1156,931,985,642,572,866,896,1212,1752,1798,1232,879,962,463,557,626,515,540,664,745,902,1056,1114,1378,1566,1488,1528,1370,1084,1040,1122,1064,1130,1014,828,828,1072,1154,1040,1102,1276,1170,1160,1088,756,868,888,977,1042,961,873,1236,1344,943,771,691,1268,1176,1013,1134,1514,1634,1612,1634,1506,1250,993,1048,1306,1196,1394,1206,1023,1058,813,825,1090,1152,1172,830,423,610,1136,1134,1218,1470,2614,2430,1384,824,579,602,735,822,805,895,750,597,670,922,902,743,664,872,908,844,1023,1182,1220,1230,1182,773,800,767,596,594,692,590,579,558,544,497,771,781,364,611,985,759,810,1023,1017,926,730,594,423,522,1026,1066,999,1034,885,689,689,924,910,1144,1028,558,609,715,702,907,1588,1506,1017,930,749,868,1258,1188,702,444,521,1014,1388,1262,1036,729,619,550,491,619,713,524,641,717,532,666,726,671,550,539,700,988,1076,1080,1300,1294,1180,1096,1100,1116,1054,756,538,548,735,1048,1050,1216,1226,1036,1072,1370,1356,1412,1420,891,430,587,856,752,692,992,1010,1070,1074,813,527,468,549,708,788,821,1001,1358,1384,1072,996,1198,1050,1012,1152,1268,1312,1196,948,740,794,683,631,721,743,922,912,909,864,819,1001,1230,1180,1220,905,530,839,1026,860,934,1396,1166,1048,955,1458,1252,535,622,499,356,352,659,664,411,490,886,694,321,289,241,577,1110,1172,1582,1710,1220,714,1160,1224,959,1004,1040,1030,1274,1460,1482,1228,766,779,907,1090,767,1092,841,684,655,616,734,855,1380,1384,1048,1005,916,1202,1300,1376,1884,1508,689,346,353,300,449,1144,1476,781,771,835,874,1208,1510,1380,1074,927,791,969,1016,448,442,730,763,513,386,429,388,614,1028,857,656,780,1038,1492,1600,1012,623,1250,1344,713,807,877,971,1222,1230,1310,878,828,954,899,1000,997,966,1030,1112,770,510,484,603,1032,1152,1028,913,669,1088,1062,1172,1160,1076,1056,1318,1518,1512,1580,1770,1666,1672,1642,1168,812,1374,1660,1516,1378,1390,1464,1482,1578,1458,1146,795,956,1382,1262,760,472,432,450,505,550,553,642,919,998,1334,912,629,764,579,667,1021,1262,1452,1744,1654,1262,1006,688,670,732,792,1028,1132,998,619,566,972,1078,1114,1232,1278,1172,1122,1356,1032,750,811,1092,1212,1166,1090,845,1005,1622,1402,1038,1224,1212,1152,1256,1372,1450,1252,1294,1386,1244,1206,1214,1132,990,1372,1318,813,822,1088,1200,1088,1030,1088,1312,1352,1290,1200,1228,1050,1010,1358,1434,832,504,450,451,713,1096,1190,1216,1046,1194,1296,1428,991,1040,1050,1072,1340,1278,1198,1140,1164,1218,1278,1228,1140,1130,783,573,588,915,1180,1230,1082,1044,932,554,645,841,1110,1132,1238,1222,1130,1110,1150,1180,1172,1015,1062,1252,1076,1090,944,1068,1184,1266,1220,1164,1208,1174,1162,1194,1196,1080,850,678,775,1218,1098,1200,1178,933,1100,1168,1142,1178,1306,1440,1212,1216,1400,1248,1232,1340,1170,1166,1274,1276,1354,1314,1040,1184,1312,1346,774,560,721,995,1208,1250,1426,1208,927,1066,1182,887,703,1072,1126,919,726,1062,1212,1322,1146,1086,1346,1424,1376,1216,1166,1018,781,859,1142,1074,1120,956,965,1074,1136,1120,1186,1042,990,985,1042,1192,827,1034,1164,1288,1182,1094,1290,1374,1408,1366,1378,1606,1560,1376,1152,1024,864,1074,1100,786,620,505,434,490,542,703,1030,1070,1634,1370,1674,1490,1044,769,1036,940,960,1420,1438,1386,1340,901,691,384,291,332,630,931,1206,1282,1024,893,597,396,318,348,385,321,370,356,383,373,371,386,424,412,387,556,901,704,518,402,451,675,716,973,854,673,571,568,689,650,613,633,519,494,810,1080,866,634,533,521,509,489,433,582,828,711,738,491,918,1084,998,1272,1450,1112,860,1162,1344,1454,1218,1006,1076,811,498,378,345,608,901,885,640,583,580,630,581,509,678,1742,1454,1144,1136,664,641,688,650,600,409,433,740,1048,1190,1438,1252,1338,1166,1019,950,1156,1238,904,1000,977,1748,1722,1334,1352,1670,1914,1360,751,756,1062,1258,935,544,543,644,825,865,590,524,983,782,463,335,368,439,427,507,543,957,1372,1009,931,1794,1874,1026,914,1020,831,614,424,578,575,731,802,646,611,731,790,625,785,982,1350,1428,1090,1202,1086,1172,1486,1622,1166,1015,1126,1618,1784,1262,977,837,357,350,632,1116,1352,1130,903,677,633,530,320],[1350,975,520,370,346,322,366,352,435,537,625,649,461,370,381,355,336,323,358,426,365,268,284,306,404,421,380,361,350,426,487,517,493,430,443,394,379,390,385,378,369,357,370,379,338,390,519,485,362,325,351,386,331,323,346,463,637,637,828,810,556,468,407,357,327,541,761,645,750,823,838,703,564,561,524,397,392,480,437,339,350,381,343,337,298,319,340,357,457,537,492,366,328,443,583,1005,1682,1154,1074,1510,997,580,722,728,589,880,982,897,853,544,608,582,633,572,717,791,554,487,714,808,742,788,703,860,657,524,402,321,318,466,558,584,565,655,503,637,944,1200,962,631,714,1026,996,866,1092,998,729,902,923,862,753,1138,1194,1132,997,753,450,326,362,398,561,755,742,930,1102,1078,742,827,1036,891,614,458,780,1050,1118,1330,1222,1136,1136,1007,905,791,392,868,1114,982,874,848,860,1054,1238,1236,1015,614,1011,1186,1218,1042,749,1014,1092,915,918,877,975,976,896,1250,1432,1166,742,678,1102,1614,1522,1036,957,1154,999,995,1240,1056,1120,1192,1220,1013,765,933,946,647,780,836,838,1024,1194,1208,1256,1346,1366,1232,1384,1518,1456,1470,1440,1452,1108,677,763,902,1064,996,667,672,514,340,406,667,1156,1350,1168,982,962,1026,1013,1144,1282,1542,2162,2458,1992,1366,1110,1024,895,852,797,624,564,542,688,819,1118,880,1032,1586,1388,752,470,434,557,589,502,527,889,1028,986,1032,1154,1306,1392,1432,1306,1158,1302,1186,1176,1220,1120,969,1038,1372,1486,1116,650,397,357,662,931,744,1026,1344,1738,2008,1544,1500,1366,1542,1696,1402,1184,1122,958,807,843,1001,1208,1028,1011,588,851,1300,1322,1128,979,907,891,1376,1156,1220,1180,1222,995,1090,1362,1302,981,969,1120,920,703,697,527,978,1206,608,573,755,1260,955,897,1180,1366,1114,657,872,1050,1246,1238,793,1058,1340,1268,1256,1086,689,716,734,578,905,1230,1378,1108,996,948,1220,1418,1370,1228,1354,1462,1100,828,1162,1262,1084,1018,736,645,1064,960,1416,1318,1038,1198,1388,1430,1322,1216,1270,1548,1466,1114,1228,879,627,852,1048,1428,1462,1106,1242,1188,1252,1348,1396,1314,1202,930,774,966,1400,1448,1032,864,1230,1492,1380,1350,1312,988,1082,590,769,1198,1322,1556,1512,1180,1016,986,918,926,1090,1506,1168,1048,871,873,1144,992,611,693,838,546,378,341,632,1208,1444,1530,1296,1026,988,958,978,1132,1258,1238,1226,1274,1078,886,869,797,953,792,576,559,662,1128,1244,1052,1178,1058,1064,1206,1128,930,951,965,1068,1118,955,1094,1382,1222,1124,1062,1138,1232,1080,1094,1334,1188,1156,1262,994,872,819,656,823,913,1062,832,1120,1206,1066,1088,1258,1340,1168,1278,1400,1284,1256,1302,1384,1434,1320,1290,1546,1444,1366,1042,561,433,377,613,916,760,836,822,760,717,1040,919,537,824,795,804,1212,1090,942,1238,678,1058,1266,998,704,706,919,985,1080,1130,1226,1336,1280,891,789,560,405,487,828,1230,1198,2170,2228,1342,1626,1512,1574,1388,1250,1094,927,747,646,662,544,379,340,355,332,352,407,467,548,564,644,630,451,423,413,332,333,338,364,466,565,580,893,1020,1126,812,640,593,589,741,809,743,940,972,820,908,976,570,290,273,547,752,834,810,721,631,522,556,568,751,930,819,1092,1088,1272,1310,1402,1290,1158,1144,1182,1182,1268,1336,1226,1302,1228,1270,1144,1170,1180,1268,1456,1478,1256,1266,1424,1366,1216,1980,1366,1318,1434,1504,1570,1422,1318,1510,1552,1388,1388,1528,1300,1282,1400,1108,1070,1130,1106,1240,1360,1148,1040,1042,1148,1188,1224,1658,1608,1266,1050,1100,1130,1142,1350,1270,1116,1028,998,1278,1588,1630,1606,1368,1258,1422,1426,1526,1382,1506,1400,1130,1028,998,1112,1148,1246,1238,1412,1298,1170,1166,1021,1062,1002,858,962,1003,1100,1324,1116,842,916,1296,1652,1456,1370,1176,1238,1240,1096,1288,1612,1486,1372,1272,1392,1350,1250,1060,885,1002,1192,1160,1005,890,908,954,861,1120,1360,1264,1282,1394,1648,1460,1038,1006,1200,1180,1050,1196,1260,1368,1366,1410,1250,1124,1318,1224,1074,1086,1114,1140,1038,1220,1208,1240,1306,1182,1384,1720,1556,1322,1266,1254,1238,1338,1478,1168,955,850,423,356,493,924,540,594,731,687,772,809,828,816,926,955,987,1108,1220,1056,927,1070,862,951,1021,908,1206,1742,1490,897,807,852,568,780,825,832,817,577,356,440,606,747,951,974,1262,1388,1454,1650,1708,1246,932,1220,1326,919,783,1162,1178,861,954,1015,1146,906,984,944,736,765,1164,1344,916,716,1052,1366,801,735,644,749,1015,871,930,1296,1396,1232,1346,1592,1412,988,1056,1022,1140,1312,1094,820,815,578,543,833,1044,1172,894,438,370,617,1108,1334,1262,2380,2434,1538,1114,738,815,1124,1380,1224,1164,975,695,859,1004,1018,794,445,584,901,1170,1216,1188,926,819,788,752,710,794,709,617,558,597,492,577,568,391,763,683,440,442,498,372,637,820,839,775,628,529,373,493,891,744,626,623,708,705,656,764,953,1140,898,494,539,949,982,1328,1530,1322,1332,1204,1100,1006,940,867,628,501,589,1019,1380,1422,1502,1330,1002,491,346,499,611,558,496,730,920,670,629,845,626,636,692,911,1100,1178,1126,1048,1166,1284,1266,1214,1166,542,358,633,833,1030,1102,1178,1152,821,1038,1398,1366,1494,1302,964,827,855,1102,814,800,816,642,678,639,475,476,644,535,392,619,1130,1228,1244,1310,1172,1276,1302,1152,1202,1216,1206,1218,1036,634,558,813,1032,668,588,845,1032,1028,803,669,550,709,1168,1240,1080,1168,783,643,874,832,1196,1318,1188,1278,1196,997,536,645,761,350,313,378,551,689,514,504,781,728,355,343,383,474,1020,1266,1488,1522,1228,706,692,786,877,1003,1005,1126,754,952,1514,1500,1048,1090,1120,1136,793,897,1084,1032,880,874,668,496,960,713,717,1196,1462,1172,1344,1850,2204,1874,916,522,594,753,1052,1394,1442,795,590,655,692,516,516,508,478,424,367,549,685,688,756,977,1092,756,504,499,523,877,1182,777,781,1046,976,1438,1290,570,548,917,833,448,804,860,658,907,1136,1446,1130,980,1154,1162,1106,1064,876,1362,1766,895,421,420,491,1070,1306,1118,864,709,1048,1320,1178,920,992,1144,1216,1512,1464,1492,1672,1542,1404,1736,1478,1124,1478,1606,1370,1460,1590,1562,1448,1354,1466,1400,1028,1002,1162,1030,589,359,421,471,584,562,604,625,980,988,1254,865,608,688,586,581,795,975,1260,1782,1672,1238,1044,900,942,846,774,973,1162,988,574,659,1086,1006,999,1138,1532,1222,1312,1320,1048,1021,910,960,1146,1090,1058,1036,913,1178,1064,1058,1166,1290,1328,1240,1418,1378,1456,1864,1204,774,800,1154,1112,940,1152,1284,1108,1178,1428,1288,1004,854,708,985,1058,1340,1412,1216,1034,926,1112,1180,754,432,530,496,666,792,922,1320,1100,1218,1222,1338,1106,877,918,1152,1274,1230,1210,1028,808,1036,1236,909,1026,854,584,513,544,911,1202,1166,993,743,473,487,527,622,913,1214,1286,1176,1078,1114,1096,1082,1090,1120,1158,1138,1164,1066,835,1038,1264,1188,943,926,1114,1224,1200,1180,1272,1196,1116,894,1114,1206,1316,1426,1398,1378,1262,1196,1222,1152,1102,1162,1260,1410,1212,986,1170,1202,1118,1298,1466,1208,1108,1260,1182,1018,875,982,933,796,1096,1208,1128,1228,1430,1410,1116,949,1082,1210,952,1162,1158,760,771,1082,1366,1362,1312,1250,1072,1078,1270,1328,1372,1032,1122,1198,1300,1232,1294,936,675,922,1192,1390,1300,1110,1156,1122,1120,1328,1196,1274,1188,1316,1284,1094,1122,1172,1146,1268,1592,1632,1460,1334,1194,1212,894,1106,1354,1396,1354,915,423,425,520,680,1442,1732,1550,1820,1888,1506,1398,1188,1194,993,700,1152,1318,1404,1668,1030,549,343,343,351,423,402,861,1146,937,1172,979,498,328,363,365,300,307,296,312,340,352,368,356,291,307,534,1068,1248,1034,777,563,451,646,1102,1010,630,730,1044,1356,1116,1064,1026,952,673,799,1286,1444,1172,922,771,720,668,581,572,802,913,693,598,743,738,984,1362,1216,824,542,824,1134,807,722,1176,1284,1020,818,566,507,665,803,720,481,624,584,721,881,662,1192,1722,1056,1040,1016,736,649,468,621,710,761,584,805,1230,1292,1146,1080,1216,1262,1318,1346,1176,965,1120,1248,749,813,686,538,1013,1766,1798,1144,742,788,1324,1444,998,637,586,557,897,1112,750,464,444,539,609,417,516,404,328,387,428,502,690,748,1042,1440,1242,807,695,597,452,480,510,448,394,544,636,661,631,1060,1138,794,899,857,822,929,1168,1216,653,909,1266,1356,1384,1128,1042,1534,1622,1278,1252,1030,455,785,1188,1466,1422,1038,922,1058,1250,989,485],[640,464,379,492,492,435,461,348,587,847,922,979,709,435,364,320,295,321,388,422,365,314,357,382,410,422,397,368,399,541,613,574,444,443,421,393,357,355,377,391,379,381,375,360,332,333,422,448,466,398,362,357,349,333,338,351,365,428,625,836,662,490,426,430,341,393,655,700,588,440,410,410,379,426,455,423,466,530,515,444,458,498,508,452,385,402,430,417,404,425,441,403,347,392,693,808,778,496,739,1202,1040,538,612,677,681,1064,881,730,531,479,732,730,615,522,479,463,431,439,444,542,765,674,673,786,802,582,359,400,791,839,458,589,933,844,499,412,819,1260,884,451,641,916,858,546,569,587,737,1214,1392,1260,791,1158,1116,984,933,665,463,484,415,591,811,353,351,610,813,868,733,1100,1236,789,601,434,734,1106,1094,1406,1468,1180,984,921,825,578,426,690,909,877,752,658,468,678,1234,1274,1120,800,954,1200,1276,1082,952,1080,1064,946,987,1064,925,1046,1206,1202,1286,1003,642,472,558,854,1058,1208,1350,1168,869,769,772,796,839,1004,1016,920,871,1510,1650,835,827,962,1026,1208,1412,1360,1232,1128,1194,1266,1340,1350,1506,1418,1252,1228,1052,1166,1166,990,1114,1306,1008,838,635,453,560,896,1284,1386,1120,1084,1134,1007,1046,1220,1366,1638,1830,1860,1476,1060,986,1350,1410,1098,840,703,610,589,488,528,714,709,962,1646,1648,1015,572,398,625,668,407,426,515,518,648,698,1048,1302,1352,1432,1164,1246,1340,1074,1306,1254,1264,1054,1098,1288,1268,1234,1084,775,750,958,1088,711,637,768,1260,1620,1824,1886,1678,1676,1554,1282,1286,1222,1262,1188,942,1138,1298,1202,1258,933,1066,1242,1110,1054,899,772,750,1046,1048,1174,1270,1128,922,1090,1360,1052,761,1426,973,577,555,521,645,1152,1084,559,512,994,1348,1142,1122,1224,1212,1188,1120,1284,1120,1042,790,955,1290,1378,1298,1168,1132,960,547,536,692,1128,1156,1003,1112,1124,1068,1164,1446,1520,1044,781,1338,1658,1508,1384,1244,1244,1013,932,688,974,1122,1202,1244,1372,1318,1440,1384,1250,1272,1412,1578,1570,1412,1230,941,772,851,1072,1332,1312,1102,1108,929,1084,1158,1136,1042,1102,974,844,956,1196,1406,1400,1118,1456,1580,1340,1248,951,868,1094,761,655,1032,1296,1572,1686,1530,1328,1264,1136,1248,1686,1322,949,1016,1134,1032,993,789,504,505,615,409,362,374,903,1478,1340,1368,1360,1028,659,645,964,932,993,1376,1198,1064,1154,1238,1120,1012,961,788,739,672,636,966,1144,1306,1562,1312,1248,1200,836,666,802,1068,1228,1270,1188,1188,1416,1388,1021,1186,1204,1166,1246,1754,1702,960,656,744,739,778,739,568,544,715,976,901,1206,1454,1394,1332,1322,1034,819,1116,1346,1278,1172,1306,1462,1252,1398,1354,1170,1192,1214,1202,1006,733,743,790,767,672,774,929,911,966,1490,1238,551,525,594,798,982,901,951,1028,787,1166,1274,1108,930,844,1052,1314,1376,1008,1062,1300,1382,1384,1118,576,530,974,1494,1486,1090,1180,1542,1504,1576,1520,1614,1512,1362,1312,1240,912,756,973,973,492,366,350,350,390,418,450,577,643,792,711,538,497,415,343,349,382,420,586,932,1136,1138,1182,1058,818,999,1250,1094,913,982,916,973,867,888,939,1060,617,324,308,479,720,861,883,761,768,753,779,819,829,797,780,1196,1064,1192,1428,1382,1222,1084,912,1228,1312,1592,1396,1184,1118,797,1060,1220,1256,1456,1454,1362,1362,1274,1282,1562,1372,1130,1552,1272,1190,1376,1612,1656,1494,1478,1534,1484,1338,1464,1402,1138,1102,1094,902,1050,1196,1200,1308,1226,1166,1168,1306,1200,1011,1212,1630,1772,1402,1166,1034,915,1110,1246,962,710,778,934,1090,1296,1474,1576,1466,1554,1590,1572,1670,1526,1442,1324,1202,1013,1132,1288,1250,1210,1246,1394,1570,1528,1410,1368,1232,880,803,1278,1124,1078,1302,1226,1186,1017,1160,1276,1272,1254,1112,1210,1318,1294,1440,1398,1312,1454,1174,1330,1378,1166,953,797,923,1044,895,747,930,1040,1230,1340,1246,1544,1454,1194,1346,1524,1374,1240,1138,1256,1202,1248,1444,1334,1562,1482,1340,1296,1202,1224,1322,1192,1110,1214,1098,1092,1282,1150,1124,1204,1324,1472,1710,1594,1186,1116,1142,1318,1432,1474,1126,831,812,457,326,383,528,641,895,929,785,684,637,815,560,524,982,930,1050,1172,1064,1216,1196,1020,932,750,760,1384,1680,1015,848,706,694,841,1178,1506,1544,1000,405,473,596,511,393,372,417,792,1018,1252,1934,2028,1246,1078,1494,1408,1020,972,1102,1090,752,692,873,1011,1066,1274,1208,1160,1184,1294,1096,973,1096,1268,1348,921,988,844,854,1142,1258,1164,1230,1198,1042,1028,1100,1478,1532,1642,1220,1004,1392,1322,905,780,846,846,818,1168,1084,816,702,781,582,812,1290,1302,1398,1324,1360,1266,1036,1128,1128,1146,1080,816,721,745,949,1064,975,841,551,507,710,1001,966,951,606,499,851,984,678,681,884,1011,1066,1044,735,1020,940,619,689,499,508,529,360,369,477,556,620,688,703,600,426,405,619,403,456,575,606,521,569,889,1048,982,840,448,523,1088,980,582,353,596,1190,1484,1204,861,875,1128,1032,876,818,968,1030,1166,1684,1678,948,504,464,603,514,618,716,971,1266,978,1064,1132,824,857,1040,1156,1220,1264,1238,1064,1036,1298,1236,969,1008,543,377,777,1096,1290,1206,1116,1002,746,882,1076,894,979,1116,1216,1168,1108,842,686,907,792,836,1104,657,488,880,1062,661,343,419,833,1034,1228,1096,990,1278,1268,1110,1184,1104,1024,1194,1018,880,905,888,840,913,1118,1322,1466,1140,596,484,559,1086,1246,1306,946,932,948,625,558,1100,1540,1342,1428,1364,1150,849,502,478,484,373,389,462,538,547,448,622,1072,1128,373,417,536,423,579,1262,1620,1550,1172,747,874,1070,1230,974,1104,1250,741,764,1428,1548,1186,970,1058,1034,998,1106,1012,938,1084,1174,1056,913,1160,1052,1256,1676,1478,1000,905,1116,1530,1518,1118,1376,1310,1460,1666,1766,1504,941,731,998,974,650,752,356,307,431,303,420,737,721,467,641,803,733,828,872,710,974,1366,901,586,456,696,998,583,459,828,1262,1140,687,879,987,852,1072,1046,1078,1146,1420,1238,1130,1172,1054,1070,1480,1612,696,408,361,480,1030,1106,824,785,1024,1218,1310,1178,836,738,1176,1200,1004,1290,1702,1614,1040,799,1292,1438,1412,1586,1576,1356,1462,1530,1456,1458,1338,1462,1606,1180,890,963,700,424,425,458,505,695,583,570,535,657,838,1142,866,579,718,626,613,856,922,1212,1744,1648,1110,840,874,1000,944,781,871,1042,973,716,893,1120,913,843,1056,1172,1180,1268,1076,1158,1414,1392,1250,1332,1272,1106,1174,1028,1180,1304,1246,1152,1370,1484,1484,1514,1372,1420,1548,1174,679,507,691,824,859,1102,1428,1366,1220,1198,1176,1248,1122,910,1046,1152,1326,1146,1054,995,955,1166,1368,987,679,811,587,664,455,653,1300,1312,1238,1152,1122,1040,956,1082,1254,1326,1178,1238,945,629,598,786,952,1194,1078,755,467,606,834,891,1122,1066,788,510,548,537,720,973,1004,1084,1156,1172,1132,1104,1192,1240,1144,1076,1116,1196,898,1007,1288,1256,1048,922,1082,1024,1138,1116,1118,993,1028,1088,1088,1286,1262,1274,1312,1342,1212,1178,1206,1212,1228,1296,1210,1298,1376,1288,1236,1200,1266,1368,1272,1208,1146,1106,1136,1064,896,886,835,807,1168,1322,1023,996,962,908,1082,1068,1052,1394,1518,1184,999,946,957,904,1008,1206,1312,1478,1420,1360,1172,1042,1360,1382,1138,1072,1344,1260,1224,1248,1018,871,1054,1152,1188,1180,1236,1028,1072,1166,1160,1238,1448,1390,1454,1526,1180,1009,1052,1160,1188,1636,1776,1526,1214,1070,968,1024,1616,1550,1412,1214,1007,500,418,480,556,1226,1582,1548,1500,1482,1662,1462,1112,1186,1036,686,1142,1528,1005,1186,1322,845,442,374,447,437,417,828,1192,1094,1096,975,479,473,486,357,281,287,296,314,340,333,336,415,376,390,558,945,1334,1282,901,602,559,777,1268,1084,457,742,1406,1488,1362,1268,1622,1728,1110,1040,1576,1678,1138,1058,912,1080,902,886,990,1174,1180,762,670,1090,1256,1116,1332,1332,1044,502,383,601,646,624,884,887,888,918,954,1144,1094,625,440,584,766,735,1166,1488,1012,881,959,770,661,906,1268,1224,737,592,727,1056,827,956,1168,1001,1066,1376,1598,1432,1394,1484,1404,1182,1332,1252,851,702,573,503,963,1772,1650,1342,1274,1120,1144,1482,1156,740,548,515,682,786,943,610,411,445,782,738,575,471,379,386,397,413,612,868,915,601,588,728,769,679,730,919,1032,756,418,412,583,729,774,904,976,714,822,860,860,1224,1224,780,684,888,1018,1056,943,880,795,800,991,1314,1316,1028,733,877,1066,944,850,918,934,1106,1116,833,949],[363,482,556,636,587,574,610,365,467,631,780,1009,864,547,362,306,298,335,461,453,404,386,431,448,439,426,404,382,463,626,671,655,597,519,427,400,378,395,478,444,411,468,358,350,353,297,337,402,438,364,348,365,358,368,374,404,605,545,653,1006,1030,731,465,378,367,404,588,660,604,506,424,409,387,403,386,439,465,692,966,739,514,523,536,454,381,421,423,386,396,415,433,430,432,392,551,559,521,521,481,818,1214,1218,1230,1004,736,872,940,758,612,657,923,1062,1164,883,527,394,395,419,464,477,520,872,1058,910,792,702,614,916,1150,706,452,838,1080,1048,642,644,1098,1258,816,517,644,878,673,386,304,313,523,1164,1460,1064,830,1102,813,720,808,577,688,912,614,762,648,361,325,388,764,827,759,2134,2608,918,980,677,772,886,678,1022,1302,1070,888,725,440,438,534,622,882,778,560,540,479,824,1266,1166,1176,1186,1244,1048,864,1002,931,834,1062,945,884,981,1038,1180,1018,933,1262,1240,669,468,838,1018,1054,1080,1490,1544,1164,970,900,608,825,1356,1148,888,811,906,1074,932,907,1068,1003,1220,1426,1338,1110,921,897,1146,1228,1278,1492,1406,1262,1050,945,961,1028,1126,1258,1086,1080,1140,803,508,582,968,1378,1268,1322,1394,1202,1088,1050,1116,1252,1334,1254,1148,1208,1136,975,1174,1152,1066,939,879,961,875,597,566,602,622,928,1216,1098,893,463,372,450,483,463,460,473,407,345,676,1356,1322,1426,1480,1156,1206,1284,1316,1212,1172,1172,984,927,1130,1498,1540,1354,1190,1134,1210,1102,924,841,677,996,1560,1890,1780,1580,1638,1486,1212,1250,1230,1374,1148,740,713,902,1154,1230,1070,1040,997,1054,663,452,466,707,1090,1148,1328,1354,1032,945,951,953,675,724,1660,584,336,307,254,393,637,519,352,406,736,1214,1444,1114,1040,1320,1368,1406,1372,1384,1122,841,1244,1396,1252,1172,1038,1298,1366,836,779,852,1016,876,893,1208,1354,1184,1220,1426,1322,1252,1172,1496,1428,1572,1598,1582,1194,1188,1416,1076,736,970,1168,1338,1694,1600,1410,1358,1372,1238,1098,1178,1334,1340,1136,1038,1000,1070,1320,1450,1168,1130,1208,1088,1392,1528,1292,995,1208,1118,688,733,1042,1368,1620,940,852,1148,1132,1198,1202,921,817,718,473,529,749,1122,1260,1282,1538,1426,1300,1274,1074,989,1374,2048,1972,1484,1122,738,537,521,682,535,447,677,1222,1278,1072,1206,1130,825,586,1104,1610,1116,1236,1438,1026,973,1350,1368,1374,1274,1020,996,1134,1086,974,1196,1180,1448,1350,1270,1278,999,742,718,801,1015,1188,1168,1234,1000,971,1362,1100,1234,1324,1076,1372,1952,1738,1246,884,547,789,1092,887,887,1013,984,993,1068,1266,1542,1576,1452,1218,755,705,1204,1384,1214,1190,1428,1448,1268,1378,1356,1346,1268,1098,975,1188,1044,929,1160,1072,1030,1012,808,915,1276,1626,1238,764,548,670,839,692,865,1200,1110,818,1012,1262,1370,1314,1238,1248,1344,1340,1222,1330,1578,1484,1344,1030,836,1052,1360,1544,1160,874,1236,1562,1478,1314,1516,1626,1444,1566,1742,1556,1200,1136,1252,1114,626,436,420,391,379,419,415,471,573,548,527,650,577,456,362,349,416,433,822,1836,2154,1478,1248,1386,1420,1488,1668,1418,1108,1232,1368,1268,1052,949,1216,1386,844,333,338,433,708,851,919,776,716,794,839,830,777,801,811,757,856,1220,1390,1400,1032,1244,1064,1220,1062,1170,1202,1200,1250,1142,1222,1220,1274,1262,1114,1250,1400,1368,1252,1256,1044,1168,1232,1132,1138,1434,1670,1570,1410,1432,1416,1260,1282,1326,1394,902,758,824,653,783,997,1112,1332,1478,1378,1112,1100,920,925,1224,1388,1750,1810,1450,993,1016,1034,886,594,621,460,543,711,796,1032,1234,1340,1416,1344,1494,1578,1462,1420,1322,1184,1192,1322,1314,1228,1324,1460,1466,1568,1450,1346,1408,1460,1460,1090,911,1003,1228,1384,1198,1007,957,1214,1322,1312,1406,1486,1550,1468,1360,1582,1446,1350,1284,1358,1570,1538,1312,923,621,789,877,808,742,1005,1074,1128,1076,1126,1338,1300,1202,1180,1232,1310,1354,1034,957,930,1150,1440,1318,1182,1056,1022,1232,1300,1284,1316,1130,994,1040,956,1074,921,1064,1180,1296,1516,1416,1546,1636,1312,1352,1398,1372,1146,1126,1190,943,829,797,860,982,1066,1168,1204,1013,1076,1078,885,779,522,607,1250,1272,1130,1108,1026,1064,1118,1106,767,821,738,1456,1005,629,756,1126,1466,1600,1654,1846,1938,1536,784,583,745,877,675,444,405,492,533,724,1296,1302,1021,1192,1444,1266,1034,1124,1180,1086,905,634,788,994,1340,1528,1282,1338,1166,1016,733,798,1170,1394,1480,1534,1318,1040,1022,1232,1368,1238,1282,1172,1060,1042,999,1118,1362,1646,1412,1268,1318,1226,997,763,1108,1200,875,1094,1074,757,756,694,399,687,1302,1236,1204,1162,1182,1242,1242,1292,1222,1058,916,832,1020,1080,1136,1214,1224,1306,1204,894,1166,1376,1002,955,872,571,788,1021,955,1100,1098,1440,1662,1007,894,1058,1126,810,583,653,1030,932,523,516,520,742,691,561,413,479,533,603,717,572,494,544,511,378,463,598,578,764,750,468,382,564,542,402,378,404,781,1340,1392,1276,1526,1542,1376,1284,925,684,425,897,1682,1306,745,800,743,780,495,475,574,680,777,689,738,880,789,772,974,969,952,1084,1316,1242,1282,1266,1192,1358,1384,851,701,965,1278,1306,1120,1106,1052,855,634,884,954,667,841,938,1206,1316,987,997,1056,1068,1040,816,618,478,797,1322,796,326,384,830,1456,1396,998,991,936,1086,1214,1246,976,858,1108,1170,1230,1284,948,640,1004,1224,1300,1310,835,462,511,729,1015,1021,1060,903,628,594,525,466,1050,1530,1146,1246,1466,1066,569,594,768,684,411,352,400,499,559,554,814,793,836,450,498,569,449,705,1308,1404,1330,1292,1184,1418,1160,1052,994,1584,1388,979,652,915,1236,996,595,647,949,1172,935,827,930,895,1226,1174,979,1021,930,1084,1470,1512,1336,1178,1314,1360,1060,1290,1402,1244,1448,1584,1728,1518,1032,860,1158,1068,881,874,426,628,687,351,608,1178,827,521,832,934,924,1046,1274,1062,760,989,1080,939,803,1042,991,516,446,773,1176,1100,879,706,884,825,1104,1110,922,1178,1428,1166,1044,1176,1214,1442,1900,1532,680,378,332,480,1001,1100,1026,1088,980,1034,967,766,508,910,1314,1114,626,918,1268,1248,1144,1019,1023,1198,1316,1300,1630,1542,1412,1288,1296,1284,1076,1156,1282,975,778,858,517,458,475,495,667,730,597,555,724,760,732,977,867,581,709,632,681,915,915,1144,1730,1744,1266,1024,827,754,851,728,885,1056,1000,868,1024,1126,1112,1046,944,975,1174,1110,1134,1042,1046,1128,1190,1404,1326,1224,1348,1346,1326,1390,1310,1132,1260,1404,1642,1488,1220,1284,1366,1216,762,689,1060,1162,973,971,1106,1256,1234,1160,1100,1344,1120,1266,1340,1208,1146,1052,1078,1112,1230,1356,1308,882,915,890,706,662,520,655,1210,1362,1168,1190,1330,1208,1076,970,1186,1072,1188,1204,1044,764,439,356,787,1026,673,412,461,796,868,1074,1128,1112,1062,916,682,482,633,732,1038,1520,1332,1324,1202,1272,1332,1380,1200,1184,1196,1088,901,1036,1214,1248,1042,1070,1176,1054,1092,1080,1112,869,955,1084,1182,1228,1130,1070,1218,1370,1216,1226,1106,1168,1158,1176,1332,1302,1328,1372,1240,1212,1216,1158,1122,1106,1130,1202,1170,1140,828,859,1054,994,1108,1208,916,707,825,1096,720,864,1178,1314,1300,1236,1116,1294,1296,1032,1162,1346,1440,1176,1046,1254,1254,1210,1318,1180,1026,1254,1376,1096,899,1192,1328,1082,1076,1186,1038,1324,1096,720,830,1140,1062,1026,1144,1142,1282,1570,1164,1064,1088,1120,837,1284,1574,1448,1062,799,766,1028,1360,1308,1288,1178,1116,623,390,480,600,944,1372,1660,1616,1534,1606,1116,853,1288,1206,943,1258,1570,1170,1216,1400,1132,642,376,368,385,561,1013,1156,1334,1270,949,674,542,494,340,312,380,425,406,357,310,336,435,437,673,1098,1380,1224,1038,698,503,719,1126,1236,1006,725,1330,1576,1330,926,1084,1918,1766,1394,985,1058,976,796,1076,1388,1172,855,1148,1394,1428,1144,805,631,997,1214,1100,1384,1346,1148,758,441,396,529,635,662,543,597,828,1326,1938,1544,1132,816,815,720,1009,1496,1680,1606,1462,1612,1322,932,1202,1324,1350,1204,979,1074,1296,1018,676,758,1276,1832,1888,1722,1588,1470,1122,996,1092,1194,920,803,853,720,585,832,1470,1208,1292,1498,1244,1352,1870,1444,818,694,1102,1044,649,1052,876,509,597,963,875,549,566,488,404,368,550,988,1140,730,368,330,492,838,911,1026,1096,1142,907,445,543,638,503,497,760,871,616,583,801,1150,1576,1394,836,622,672,642,587,393,330,314,397,691,918,933,1158,1052,703,618,602,775,1064,1098,1026,924,796,945],[348,532,603,653,648,617,606,427,403,401,486,650,476,345,332,293,271,343,444,461,458,440,429,450,436,426,428,423,532,668,683,662,739,644,469,484,542,536,647,664,667,757,487,401,373,333,332,379,357,349,345,327,326,333,308,550,1015,736,755,941,988,979,681,467,482,492,519,566,705,624,450,402,418,422,494,537,478,670,857,640,471,472,462,350,269,335,397,413,411,390,386,389,417,451,538,565,570,653,718,997,1238,1184,1428,1230,658,430,457,745,894,820,939,1350,1642,920,450,379,395,407,418,548,688,774,912,720,466,599,936,1224,1007,654,489,903,1048,1268,1036,907,1044,948,659,597,943,811,336,275,383,619,615,845,1208,909,885,965,667,678,650,559,1015,1060,830,830,512,391,521,767,901,834,999,2258,2520,1106,894,797,1007,887,595,906,1152,1026,1042,928,534,392,580,976,1072,700,603,666,855,1130,1286,1218,1148,1082,942,968,1034,1078,1048,971,1168,1362,1182,1100,1244,1284,1124,982,1160,1174,775,679,995,1152,1274,1340,1390,1402,1382,1246,1084,777,948,1152,812,879,800,640,1012,1182,1005,827,1138,1516,1328,1258,1186,944,990,1194,1194,1246,1158,1344,1196,1328,1206,944,960,1160,1182,791,865,1090,1042,882,957,1122,1154,1142,1220,1144,1194,1162,1032,1162,1338,1332,1206,1142,1244,1168,1186,1194,1284,1150,1152,1154,1178,1020,888,907,819,1048,1202,875,956,812,518,550,460,453,568,613,636,582,401,778,1578,1340,1426,1366,1362,1254,1238,1286,1294,1348,1138,927,967,1400,1774,1794,1378,1178,1144,1288,1094,1034,1238,1230,952,1178,1386,1316,1584,1594,1370,1086,1216,1334,1522,1344,996,1124,1294,1070,1126,1148,1298,1342,1112,582,427,440,679,1064,1026,974,970,881,914,878,795,452,450,714,325,313,326,288,262,300,287,378,564,730,1256,1250,1148,924,1314,1460,1298,1216,1316,1076,1036,1278,1146,1054,1086,1080,1300,993,805,865,754,868,887,1066,1344,1214,1120,1396,1466,1820,1528,1100,1070,1160,1030,1336,1616,1322,1276,1500,1308,871,1090,1216,1256,1092,1208,1340,1360,1428,1550,1476,1182,978,1080,1072,1078,1110,1392,1284,1488,1284,1066,1088,1430,1588,1644,1392,886,1060,1178,1078,1168,1122,1322,1502,1086,1038,1112,1084,1136,1144,919,703,526,372,348,389,756,1130,1338,1410,1470,1540,1470,1456,1476,1732,2254,1930,1374,817,609,650,861,915,701,790,1122,1254,1102,1094,1346,1246,933,708,1992,1758,1250,1236,1226,1046,1015,1074,1320,1384,1100,1000,977,1058,1342,1406,1176,782,880,1176,1290,1204,1088,1042,1013,1001,1009,1252,1216,1504,1438,1398,1296,1104,1206,1166,1114,1262,1648,1554,1310,957,489,382,311,462,866,1206,1052,872,1078,1352,1374,1234,1270,1058,827,1028,1230,1318,1152,1056,1350,1408,1278,1368,1128,908,1166,1102,973,1414,1390,920,990,974,1156,1204,1038,1020,1106,1128,995,910,579,1034,1114,901,876,1034,1015,924,1296,2070,2072,1404,1246,1212,1218,1226,1126,1246,1354,1374,1340,999,780,1262,1218,923,745,1005,1256,1188,975,835,1310,1632,1696,1704,1382,1160,1252,1388,1368,1306,1100,683,533,597,576,567,533,435,486,506,522,530,527,503,438,416,452,398,766,1512,1654,1570,1450,1246,890,1262,1442,1528,1914,1588,1396,1510,1278,1354,1550,1272,803,356,310,382,689,812,935,855,635,689,797,703,605,705,974,1124,1116,1328,1286,1216,790,1152,1310,1382,1122,989,901,1258,1440,1302,1296,1290,1434,1136,986,1114,1218,1028,917,926,1020,1138,1300,1536,1214,1306,1358,1476,1638,1644,1360,1142,1046,1356,1534,888,511,645,714,764,1058,1086,1182,1438,1206,1132,1224,1214,1498,1552,1410,1620,1870,1566,1134,1250,1204,1040,677,993,606,521,614,519,943,1322,1220,1316,1324,1378,1344,1380,1254,1028,1204,1188,1242,1334,1362,1392,1334,1462,1544,1038,928,1288,1432,1662,1534,1692,1560,1278,1128,1166,1248,1158,1388,1538,1488,1532,1484,1478,1528,1378,1472,1636,1584,1608,1742,1760,1704,1458,1178,803,574,527,855,1052,1194,1130,1168,1102,1106,1224,1324,1382,1200,1354,1358,1242,760,753,1056,1092,1282,1266,943,822,805,888,1274,1296,1302,1260,1166,1158,1078,880,703,872,895,1090,1256,1148,1444,1650,1332,1222,1256,1162,913,1054,1372,1138,993,1118,1130,1050,1168,1178,1050,908,1012,1090,984,1154,1462,1302,1220,1254,1134,946,733,841,810,696,536,537,1070,1182,565,459,1122,1814,1810,1688,1598,1666,1760,1720,1154,574,536,614,480,401,348,393,403,457,527,566,839,813,1028,1104,962,955,839,730,673,755,799,708,1346,1598,1314,1372,1278,967,941,985,1062,1134,1488,1522,1326,1208,1120,1048,875,981,991,1112,1096,1032,1060,1001,1052,1272,1258,1208,697,888,1088,903,1188,1106,1022,1098,900,724,588,518,365,620,1262,1108,1290,1306,1306,1272,1242,1362,1356,1154,1188,1416,1218,1310,1572,1622,1546,1504,1594,1428,1488,1376,1100,1224,1094,664,976,1060,1068,1188,1134,1554,1440,729,739,1013,1206,918,509,689,1186,1194,550,509,708,886,638,408,487,657,753,995,1422,1442,675,456,395,391,499,650,524,587,467,475,434,328,407,535,502,326,432,827,1332,1316,1346,1196,1180,1104,655,385,387,393,572,810,844,1030,769,484,488,724,644,499,453,738,1078,1114,1008,902,1078,1116,943,1078,1296,1122,1114,1270,1184,1410,1382,1112,1110,1036,1106,1248,1021,1166,1102,1106,1032,1140,1028,692,810,979,1232,1374,1332,883,655,912,1020,769,610,367,449,993,803,361,365,542,757,608,642,1002,849,1102,1224,1246,1222,1404,1440,1192,1098,1126,927,711,874,1058,1266,1166,923,854,1068,990,670,673,991,912,484,386,333,615,1404,1270,1108,1112,934,567,548,933,1064,717,443,503,489,411,674,913,1114,594,401,480,559,610,507,601,1076,1218,1400,1628,1736,1666,1276,1018,915,1102,1040,742,503,533,544,484,384,616,1042,1088,832,804,641,501,838,1172,1678,1760,1322,1190,1236,1228,1414,1560,1548,1570,1428,1532,1290,1448,1958,1984,1864,1584,1146,1208,1186,774,885,547,405,819,621,353,962,1188,759,849,976,935,1478,2050,1986,1914,1350,1406,1158,1072,1366,1376,1112,1009,791,737,895,780,1082,783,735,738,1286,1550,1396,1456,1320,1036,806,829,1056,909,1526,1514,828,591,536,498,986,1196,1120,1050,728,733,612,553,631,1017,1114,1020,651,481,836,1160,1018,867,1028,1202,1456,1580,1628,1500,1370,1338,1310,1142,949,803,669,679,841,762,529,469,489,567,788,695,540,571,725,785,711,969,912,595,655,615,716,908,923,1154,1736,1738,1106,907,883,1046,1316,1100,993,1000,1032,932,982,1248,1344,1208,1104,1290,1194,1192,1450,1206,1064,1158,1102,1180,1244,1306,1288,1242,1124,1190,1268,1340,1198,1408,1594,1284,1244,1298,1332,1246,773,782,1264,1316,1230,1240,1338,1222,1092,1116,1180,1454,1470,1454,1310,1272,1214,1256,1278,1168,1256,1176,1018,955,1172,915,988,897,583,898,1338,1198,1158,1260,1294,1006,973,769,717,558,966,973,765,440,315,278,389,557,603,448,382,861,1110,1322,1230,1150,1132,1074,777,514,579,727,1518,1928,1552,1416,1080,997,1226,1376,1164,1019,1126,1126,1052,1270,1388,1428,1250,1196,1182,1176,1206,1224,1196,1036,1034,1108,1118,1174,1160,1098,1218,1240,1260,1312,1176,1102,1084,1240,1258,1184,1256,1362,1560,1382,1364,1256,1324,1282,1206,1240,1428,1204,596,492,824,1100,1110,1344,1226,724,817,1116,973,1064,1146,1126,1336,1356,1300,1350,1162,1184,1416,1324,1240,802,532,864,1114,1274,1280,1218,1332,1370,1296,1130,885,1264,1112,1188,1310,1013,1009,1228,964,693,678,1050,1002,767,908,923,783,855,672,916,849,506,372,1216,1128,1011,1094,898,879,1054,905,901,1190,1152,1268,946,635,839,1206,1288,1230,1612,1702,1410,1246,1064,1056,1622,1722,1390,1666,1692,1394,1394,1046,590,525,469,401,480,937,1108,1244,1332,1138,1272,1018,800,865,554,340,414,417,414,428,377,416,444,504,771,1108,1290,1324,1346,642,481,526,1066,1178,1082,1176,1324,1194,1214,1142,955,1278,1304,1192,902,1001,973,969,1188,1678,1412,1150,935,964,1414,1184,1112,911,1100,903,942,1001,1020,1106,824,421,321,476,705,1004,794,440,733,1650,1674,1220,1270,1176,1016,978,1220,1412,1266,1290,1542,1542,1022,675,813,1034,1144,1260,1246,1400,1472,1390,1228,1776,1864,1738,1354,995,854,905,818,614,874,1254,1196,1180,1166,1046,847,866,974,1086,1032,1412,1212,922,1162,1162,927,778,761,652,450,745,968,795,834,1136,1044,559,432,579,438,379,503,1021,1234,687,537,659,586,644,880,878,634,722,763,393,494,440,326,312,566,830,653,432,860,1160,1036,731,420,379,445,387,340,264,283,377,762,1060,996,1030,1296,1260,1122,1066,1028,1074,881,972,926,703,654,639],[372,475,537,587,571,590,580,479,401,397,413,419,379,342,360,325,288,399,448,441,445,432,464,480,429,434,404,494,606,665,658,661,667,600,446,428,423,349,508,774,774,914,843,715,450,339,346,346,382,381,322,293,283,303,332,731,889,822,746,651,572,755,722,547,495,492,630,715,915,637,434,391,424,491,513,531,449,418,477,455,440,451,484,405,258,252,274,247,249,269,271,256,291,457,708,644,552,716,854,865,1222,1252,1118,838,518,400,385,508,720,558,421,612,743,520,376,392,384,339,471,647,537,661,769,713,461,636,1040,1154,840,457,546,641,833,1076,1064,1054,760,871,670,739,758,416,287,260,499,802,760,969,1152,1098,1084,1005,841,618,595,449,471,558,628,744,897,929,1004,1232,1094,832,839,1304,1378,936,677,713,771,612,668,1013,1130,810,632,779,625,362,471,708,782,692,833,929,909,846,1054,1174,1224,1006,824,1084,1168,965,901,1118,1256,1432,1158,932,1066,1090,932,854,888,940,993,980,1002,935,1362,1636,1232,925,920,1130,1372,1046,1100,1284,835,808,785,922,1184,1246,1156,818,1100,1440,1192,993,968,1072,1218,1188,1046,1032,1078,1262,1126,1274,1122,844,917,1200,1324,957,875,1054,1160,1072,1046,1196,1030,1136,1174,1220,1280,1050,908,1136,1098,1214,1194,1224,1236,1178,1146,1300,1316,1078,1182,1382,1382,1208,1252,1324,1234,986,918,713,971,604,632,1104,1036,819,802,758,846,645,512,941,1306,1078,1080,1198,1394,1296,1094,1048,1466,1972,1294,1048,1192,1416,1428,1736,1650,1344,1268,1210,1056,966,1344,1562,1092,1080,1284,1382,1716,1522,1328,960,1202,1322,1296,1434,1234,1328,1302,1128,1252,1168,1448,1254,1050,603,406,451,659,1070,1256,1102,1034,1048,1056,1020,803,392,274,234,272,298,320,289,292,313,261,481,1314,1026,1086,1070,1282,1070,1294,1418,1346,1224,992,931,1222,1244,1102,1100,1100,887,1006,944,982,912,956,1002,628,766,1120,1146,1396,1212,1530,2298,1610,1028,965,1066,883,880,1326,1548,1368,1158,1116,658,763,1064,1146,1068,1192,1228,1236,1516,1698,1526,1236,626,620,916,1102,1116,1270,1208,1328,1444,1496,1542,1526,1434,1484,1330,1182,1084,1406,1266,1000,952,958,826,695,765,1100,1238,1048,1052,1026,560,444,335,331,502,790,1100,1042,1011,1134,1096,1072,1216,1288,1280,1188,1120,1414,1258,975,842,1050,1086,941,1302,1438,1442,1017,1122,1212,1238,1254,902,1322,1338,1358,1244,1030,1108,1072,891,1314,1278,999,987,1110,1144,1628,1628,1264,954,933,1440,1476,1154,1162,1316,1350,1384,1268,1334,1434,1558,1468,1384,1260,1288,1362,1260,1296,1268,1324,1214,1158,697,420,373,277,334,753,1068,720,749,1222,1364,1100,1060,1284,1104,772,669,744,1036,1088,1028,1108,1110,872,996,943,1132,1272,1058,1186,1408,1234,1036,914,1156,1126,900,1026,1136,1044,656,898,1262,1016,1134,1106,898,1058,1086,982,1092,1306,1680,1534,1400,1294,1186,1230,1368,1376,1356,1334,1344,1470,1276,973,1092,948,762,663,683,699,798,744,767,1248,1546,1570,1192,1132,1146,1274,1370,1368,1274,868,760,713,621,800,814,619,519,494,591,683,799,730,653,653,745,799,529,940,1762,1858,2206,2182,1490,735,690,1576,2144,2424,1726,1324,1416,1206,1156,1466,1268,1100,401,314,374,688,816,893,908,730,636,734,701,546,578,883,1158,1212,1382,1342,1066,651,910,1186,1100,1192,1186,944,949,1142,1440,1340,1144,1007,865,1058,1100,1108,1176,1198,1100,1164,1178,1346,1750,1316,1026,907,1314,1700,1484,1322,1262,1234,1654,1722,1184,692,439,615,915,1350,1206,1220,1158,1074,1132,1202,1272,1362,1394,1488,1736,1992,1760,1382,1342,949,940,854,1028,670,596,811,833,1208,1378,1404,1526,1452,1302,1102,1348,1178,824,976,1022,1184,1506,1556,1416,1026,1096,1282,1168,1302,1888,1600,1638,1686,2000,1662,1378,1296,1166,1278,1296,1516,1560,1158,1048,1156,1258,1210,871,947,1338,1448,1344,1460,1460,1554,1654,1422,951,824,739,954,1194,1100,976,1044,953,1086,1248,1372,1384,1214,1378,1308,998,1054,1132,1068,1190,1508,1948,1760,1116,752,808,1098,1350,1226,1150,1278,1116,867,829,880,864,873,1058,1178,859,1496,1650,1328,1500,1484,1280,1040,1060,1260,1078,1112,1106,1090,955,1208,996,891,998,1100,1104,1104,1322,1404,1296,1292,1332,1286,1156,951,883,758,593,688,896,1188,836,643,667,1300,1790,1776,1716,1632,1686,1600,1272,1156,702,498,401,334,330,318,330,273,286,371,454,716,806,1126,1130,899,868,1072,1050,904,951,739,556,1192,1454,1304,1188,1204,980,807,1020,1136,1090,1326,1380,1440,1164,1178,741,696,1021,1244,1082,963,1190,1186,924,899,1070,958,1038,932,1088,794,708,864,794,936,982,1052,989,561,537,547,517,937,1062,1184,1250,1326,1328,1272,1344,1396,1260,1362,1686,1432,1648,1622,1496,1306,1250,1316,1318,1184,986,1012,1256,1082,1368,1900,1144,912,1172,1066,1038,1052,771,571,957,1412,1240,1088,1090,1188,979,505,581,631,497,474,417,482,660,924,1382,1758,1436,842,450,275,351,342,623,789,724,647,613,451,543,789,905,822,368,366,371,786,1146,1144,1066,762,529,565,705,833,424,499,829,664,502,616,624,692,854,908,852,576,818,1172,1180,1220,1110,1062,1092,1252,1186,1132,1016,1013,1208,1254,1180,1188,1006,957,1160,1198,1152,1098,1296,1214,996,1256,1354,699,657,658,815,1062,913,905,663,413,454,515,462,389,324,396,737,741,425,370,368,404,504,576,678,898,1174,1076,1082,1368,1622,1538,1050,671,698,994,779,548,760,1130,1268,1054,1324,1454,1060,632,699,1124,1136,568,519,492,1142,1554,1054,961,695,570,552,628,955,925,626,593,832,693,619,1134,1366,1170,792,547,566,714,747,587,623,969,1206,1472,1600,1436,1532,1324,1118,996,654,679,692,568,680,622,464,620,463,559,963,1306,1266,1056,967,863,1248,1746,1472,1312,1126,1064,1350,1740,1666,1620,1586,1506,1504,1256,1438,2064,2208,2306,1720,1042,1310,1040,937,968,680,491,542,828,974,839,788,904,991,520,661,1760,1954,1716,1736,1730,1754,1400,849,1036,1390,1356,1118,1058,984,919,1220,1414,980,847,864,1346,1790,1562,1638,1326,983,875,916,1078,1226,1830,1494,915,928,680,820,1032,879,1094,995,751,963,754,604,606,756,1009,1364,1292,774,813,1074,1064,944,660,800,1270,1572,1658,1554,1418,1588,1816,1804,1374,1098,1108,1114,1316,732,474,551,540,644,783,747,644,604,700,775,601,979,928,649,643,638,609,791,936,1064,1622,1730,1236,1422,1452,1514,1342,927,880,860,879,848,1015,1316,1194,1162,1282,1288,1244,1328,1506,1332,1244,1240,1178,1234,1312,1290,1208,1196,1426,1538,1592,1574,1462,1656,1522,1154,1188,1236,1418,1396,1052,994,1218,1182,1084,1256,1098,1044,1056,1098,1350,1734,1686,1068,841,1214,1372,1312,1198,1166,1068,1002,1000,1098,1154,939,998,898,500,741,1296,1210,1236,1326,1410,1162,803,973,836,761,844,962,817,373,357,345,312,365,402,328,509,955,1182,1146,1009,987,1040,1020,685,783,730,1005,1456,1402,1454,1404,1200,999,1180,1284,1132,1062,1064,974,1248,1480,1450,1242,1260,1300,1172,1232,1326,1238,1098,1050,1084,1100,1150,1192,1108,1236,1200,1150,1206,1124,1120,1152,1190,1176,1172,1210,1282,1434,2104,1494,1372,1150,982,1162,1384,1502,1610,1466,1044,838,783,868,903,1224,1276,1174,791,796,1092,1154,935,944,1196,1256,1406,1410,1318,1328,1336,1222,1064,577,386,590,830,1008,1126,1234,1246,1098,1046,1056,1132,1246,1002,1160,1306,995,984,1034,955,815,791,1208,899,513,564,753,1130,952,777,1042,1342,1046,894,1250,903,1106,1528,1272,1070,986,728,519,467,529,692,655,645,904,1258,1202,1142,1410,1494,1418,1278,1250,1288,1560,1670,1330,1268,1216,1316,1466,1126,863,892,553,493,765,1100,1096,1044,1005,1278,1282,886,1240,1346,1078,557,404,385,423,504,469,420,400,504,647,733,918,1144,1362,781,555,705,1096,968,714,614,705,798,1506,1918,1042,900,1288,1278,922,613,494,607,597,940,1498,1310,843,931,1176,1102,1176,1240,984,733,621,604,760,742,517,349,393,427,618,1318,1202,1028,1416,1732,1222,1228,1400,1058,877,1314,1358,1294,1112,1292,1612,1108,547,367,465,793,1238,1328,1604,1664,1366,1338,1276,1248,769,560,558,594,560,649,753,819,1318,1584,1576,1450,1008,1064,1194,1102,1178,1416,1264,1316,963,692,968,1282,1046,631,670,840,691,754,783,1002,1096,894,933,782,907,1162,634,440,494,800,893,616,722,1094,749,571,758,512,393,468,464,316,383,408,361,652,984,1070,872,749,909,875,702,328,272,333,361,382,377,391,387,590,1246,1784,1520,1142,1290,1328,1142,1202,1152,976,697,784,587,662,814,543],[579,502,476,555,526,555,580,574,481,423,505,432,413,375,328,290,311,406,448,448,408,413,466,482,478,433,473,648,687,650,634,614,614,547,349,361,441,434,401,498,492,717,996,976,595,347,366,400,458,362,317,303,351,341,407,561,799,772,772,888,789,689,597,604,685,894,789,835,1064,924,537,405,511,543,453,456,426,367,390,383,419,449,448,364,276,244,231,241,249,241,223,211,256,391,861,922,566,592,759,863,1122,847,479,572,497,404,417,460,542,309,210,270,339,401,385,411,534,740,1074,1132,925,919,824,1026,733,852,1110,1082,769,492,395,408,538,666,985,1164,904,1124,858,738,361,271,331,339,623,660,686,917,1110,1030,855,771,1042,780,928,869,629,527,421,501,901,1174,1136,1126,1076,968,865,993,927,893,831,587,433,507,775,902,963,774,633,545,396,440,463,697,976,1052,953,1017,1048,956,1152,1162,1252,1406,1434,1250,1138,957,901,1158,1034,982,1072,805,866,1100,1126,905,757,1068,1310,1178,1152,1070,1328,1242,984,1070,998,963,1290,1372,1228,995,1090,984,1020,1306,1476,1360,995,739,977,1192,894,847,753,826,1072,1128,980,1148,1228,1290,1278,1284,1160,1040,894,976,1076,773,715,944,1146,1214,1132,1162,1196,1254,1278,1252,1188,1098,1023,983,1058,1134,1100,1190,1148,1204,1056,951,672,543,794,1204,1330,1248,1262,1136,1024,985,819,695,963,845,762,1180,1216,974,764,645,709,698,741,1296,1216,849,839,1224,1700,1772,1276,1294,1732,2148,1306,1148,1020,1128,1166,1340,1384,1322,1316,1230,1340,1482,1476,1498,1170,1078,1102,1440,1460,1470,1288,867,1118,1180,1486,1642,1170,1286,1156,915,981,1064,1282,1244,1006,630,688,995,1074,1332,1388,1334,1180,803,875,1048,895,543,318,316,296,258,263,246,318,384,425,771,1384,1064,840,857,813,1021,1250,1142,1304,1362,1080,1013,1162,1288,1098,1136,1262,1122,1152,1102,932,849,810,921,844,762,987,1466,1562,1424,1710,1590,1136,986,1110,1142,1086,1048,1256,1304,1604,1500,1174,721,515,873,1256,1228,1260,1344,1246,1164,1128,1326,1296,949,834,1312,1230,1404,1506,1416,1164,1026,1214,1238,1406,1496,1686,1604,1744,1366,1388,1202,1138,1128,722,452,544,636,1072,1300,1094,1009,1100,769,478,326,381,502,871,1156,902,765,979,727,846,1052,1194,1154,909,844,1126,1340,1346,1320,1246,1346,1350,1456,1390,1014,971,1340,1198,1074,973,608,514,771,1158,1340,1004,1078,937,1150,1344,1276,1168,1412,1532,1366,1428,1250,1240,1160,1162,1672,2008,1580,1476,1402,1406,1248,1114,1256,1516,1496,1380,1322,1434,1422,1474,1174,1018,1028,1114,1086,983,547,344,364,281,442,889,1032,974,1346,1492,1296,1174,1328,1460,1288,991,898,973,1122,1196,1290,1286,1216,1036,1086,1284,1244,1132,1102,1288,1220,1102,1250,1106,942,928,944,1088,893,564,507,877,1096,1078,1338,983,699,959,881,1058,1336,1476,1444,1300,1556,1354,1112,1202,1360,1432,1442,1362,1336,1346,1128,969,822,1006,1106,713,406,451,640,769,929,1190,1302,1698,1340,1282,1340,1356,1376,1390,1214,1044,1228,994,633,927,1282,888,553,611,1510,2026,1918,1372,1014,1126,1328,1224,797,988,1544,1470,1762,1794,1304,925,689,1428,1846,1412,1078,1330,1390,1422,1468,2066,1790,1388,534,319,386,664,863,899,992,898,632,725,669,621,602,687,854,1054,1298,1392,987,494,649,894,958,1102,1126,891,537,993,1482,1404,1134,837,1001,1044,968,1350,1598,1538,1282,1128,1202,1308,1310,1116,1042,879,1154,1512,1588,1562,1374,1304,1572,1772,1514,861,477,500,956,1494,1220,1324,1080,801,1058,1426,1498,1088,1546,1820,1598,1966,1808,1438,1484,1484,1094,929,1086,800,722,963,1160,1326,1404,1560,1388,1432,1038,987,1368,1054,805,1078,1176,1112,1262,1466,1222,890,800,767,1050,1538,1766,1494,1552,1636,1440,1130,1050,1020,1262,1194,1278,1276,1334,1338,1322,1212,1172,1172,1054,975,1090,1332,1156,1146,1240,1412,1532,1088,799,991,987,1122,1490,1262,886,618,657,830,1252,1240,1096,1204,1334,1236,973,839,691,816,1150,1392,1786,1888,986,597,708,1011,1250,991,871,1094,1050,860,982,935,999,1064,1162,1310,1120,1578,1754,1562,1544,1390,1284,1148,973,1084,1108,1098,1028,1066,1032,954,792,783,880,973,1196,1400,1394,1278,1168,1202,1394,1392,1318,1296,1194,707,413,763,1290,847,515,626,893,1568,1756,1676,1458,1410,1310,954,728,556,421,423,295,269,332,318,334,255,289,339,280,515,720,787,833,738,716,1106,1078,1162,1238,793,456,932,1368,1134,922,992,857,725,948,1212,1092,963,989,1128,1138,1248,970,1001,1100,1134,890,805,902,680,728,1026,1136,928,681,1158,1490,1142,876,910,980,961,965,1234,1024,796,1021,959,819,935,778,633,637,967,1350,1402,1360,1328,1042,1182,1194,1108,1096,1124,1130,1164,1112,1084,1064,908,832,869,1052,1044,1376,1502,1304,1015,1246,1568,1052,408,462,481,847,999,872,756,791,921,611,481,809,705,521,705,581,386,654,1042,1484,1582,1290,796,471,359,439,529,676,854,728,504,332,332,499,828,828,512,312,299,282,307,628,1076,1172,612,361,614,962,1024,633,567,650,552,416,666,890,930,857,1056,905,404,672,984,919,854,750,638,845,952,905,949,1064,1104,1266,1312,1220,1090,770,833,1162,1130,1022,1066,1102,985,1001,1522,1456,615,766,820,1160,1104,711,459,410,437,434,583,701,626,443,397,466,501,669,796,783,996,693,589,789,1110,1106,869,808,742,1050,1350,1004,539,813,1082,662,459,794,1188,1082,1038,1384,1284,795,584,738,980,858,794,750,644,1400,1372,1048,845,536,622,978,828,934,916,720,714,925,703,579,1060,1146,852,874,728,440,582,777,810,618,1048,1246,1466,1382,901,1168,1418,1134,1030,1056,1162,1220,1102,1100,952,1028,969,646,719,1276,1664,1464,1278,1340,1114,725,1028,1240,1032,679,1050,1280,1582,1494,1578,1406,1130,1246,1376,1466,1608,1882,2014,1278,683,985,767,914,888,1015,1056,788,1188,851,437,646,1118,1240,812,893,1432,1670,1860,1450,1238,1414,1526,1028,1062,1066,923,869,1054,882,1334,1574,1048,1013,951,824,1150,1422,1550,1582,1440,1144,1023,1015,915,1434,2198,1498,1028,1050,677,1056,1004,927,1318,970,1050,1382,1126,669,635,938,1076,1398,1694,1472,1150,905,875,1136,747,814,1390,1576,1686,1582,1220,1380,1628,1628,1344,1196,1302,1498,1370,689,527,593,607,744,810,786,716,643,603,551,505,995,928,642,711,713,621,778,943,998,1576,1798,1716,1704,1642,1648,1130,706,817,908,940,957,962,1216,1224,1296,1416,1326,1460,1342,1324,1228,1412,1342,1172,1300,1250,1138,1148,1116,1462,1522,1366,1230,1520,1642,1380,1330,1288,1260,1358,996,1108,1216,1208,1152,1172,1190,1212,1188,1070,1150,1234,1278,733,479,805,1218,1298,1290,1340,1274,1162,1023,1023,985,1032,1176,1094,1016,1046,1108,1386,1362,1204,1202,1202,1228,1172,1108,1136,1184,1080,1188,991,755,579,300,270,327,280,317,667,977,1030,918,959,947,993,823,589,1070,957,1334,1398,1148,1090,1192,1198,1122,1136,1120,1104,1262,1212,1310,1388,1354,1318,982,1052,1214,996,959,1098,1226,1244,1220,1112,1194,1300,1184,1188,1294,1322,1252,1144,1108,1130,1294,1596,1396,1372,1392,1366,1512,1456,1256,1252,1096,1134,1186,1002,1188,1446,1440,1366,1518,1266,1328,1018,878,1064,1232,1040,871,970,1088,932,1023,1090,1288,1234,1218,1260,1198,1124,1174,930,468,426,539,568,760,1172,1300,1254,1180,931,1120,1376,1212,1032,1090,1150,958,814,877,990,1072,1152,1078,608,561,671,999,1100,944,944,1104,1136,1048,1004,1430,998,1148,1136,948,1416,1406,897,497,291,310,375,550,918,691,803,1028,1140,901,1130,1438,1622,1478,1346,1312,1136,973,977,1060,1406,1260,1206,1328,1406,928,966,1022,1026,1060,801,1022,1198,929,694,1280,1322,1172,1022,788,475,374,412,388,385,363,504,556,744,807,1224,1450,1658,1320,1038,946,639,656,787,724,959,1914,1406,865,816,825,919,629,454,363,347,342,528,812,793,803,862,1058,1272,1272,1376,1182,791,514,549,639,648,764,983,658,481,861,1428,1472,1440,1674,1258,788,1044,1128,617,722,1472,1162,1330,1384,1520,1344,1262,1056,596,435,595,952,1322,1596,1612,1268,896,750,675,549,469,456,609,683,593,836,1078,1638,1678,1358,1046,952,1310,1488,1280,1352,1268,666,381,487,671,914,1406,1194,815,916,919,902,814,681,1244,1482,626,585,681,900,1272,1002,509,316,406,426,425,502,498,446,689,716,667,455,506,447,359,372,354,549,968,1070,1048,1116,1104,1266,1106,911,591,478,411,319,298,321,355,412,514,857,1216,825,687,1172,1232,987,1104,1082,824,708,647,708,1050,1042,686],[379,347,470,655,576,574,597,611,450,359,446,412,363,343,338,306,275,288,350,444,422,420,469,482,458,420,551,709,692,651,643,626,572,564,520,571,640,655,457,346,367,429,524,615,529,396,389,507,604,484,345,425,650,583,535,426,572,740,980,1106,764,763,589,567,645,964,879,924,1184,1144,639,431,544,503,369,394,470,433,441,435,447,440,415,399,382,336,315,317,310,280,255,235,323,485,923,1018,752,566,666,948,1116,849,439,542,533,441,504,489,368,244,241,237,272,364,370,389,720,1244,1258,899,658,441,766,1106,774,646,920,1054,946,728,380,350,450,918,1136,1023,788,939,1010,545,294,320,340,647,933,880,758,827,1044,897,901,639,712,858,1086,1013,932,1026,918,730,968,891,1042,758,852,1056,1144,859,806,1218,1068,546,399,465,637,743,917,1028,909,719,487,414,615,1002,1224,1046,831,1056,1206,1192,1236,1288,1468,1382,1324,1096,963,1116,1212,1248,995,771,1238,951,736,1138,1100,905,735,984,1034,871,905,984,964,848,776,993,1118,1210,1046,1154,1394,1244,1096,1044,1270,1388,1248,1140,1032,871,710,861,692,794,706,716,639,735,1128,1236,1108,1182,1312,1184,1030,1054,638,713,868,774,704,799,1046,1094,1080,1250,1234,1194,1050,1078,1126,1448,1560,1142,1005,1054,1178,1140,1110,1012,786,829,695,564,816,1234,1230,1292,1174,990,819,1030,1176,992,960,888,703,949,1172,1168,797,621,691,926,1002,1078,1184,1019,940,1196,1772,1736,1172,1400,1392,1446,1138,1084,1028,1208,1074,932,1072,1256,1246,1178,1190,1226,1442,1604,1366,1456,1404,1480,1196,1200,1348,1060,1276,1204,1198,1070,1178,1262,1194,1068,929,1128,1248,1188,1050,884,1019,1120,1234,1348,1116,1160,1140,898,1068,1134,866,568,284,279,269,245,265,253,408,435,594,1200,1116,953,1068,808,612,970,1190,1026,1190,1336,1282,1180,1118,1030,808,803,1026,1238,1378,1418,1142,823,623,896,785,554,832,1562,1924,1630,977,869,899,944,863,998,1144,1332,1158,1294,1388,1554,1526,1076,692,982,1404,1312,1266,1346,1304,1112,1066,1220,1084,908,1248,1590,1292,1240,1324,1284,1030,981,860,1124,1268,1358,1538,1498,1450,1428,1376,1274,1366,1258,973,522,509,583,1210,1334,1106,736,784,731,445,357,491,700,930,1204,982,623,1036,855,917,756,646,861,825,906,1288,1272,970,1270,1534,1678,1556,1274,1262,1248,1360,1396,1138,760,515,658,929,901,673,1180,1350,1248,1230,1880,1618,1160,1100,1160,1158,1178,924,672,892,1052,1050,1496,1446,1332,1578,1426,1262,1210,1154,1320,1356,1256,1408,1422,1450,1296,1308,762,481,530,739,1114,1182,900,648,435,403,527,1182,1896,1850,1554,1498,1206,979,1130,1312,1266,1204,1294,1462,1382,1178,1136,1498,1776,1500,1350,1318,1086,1021,984,1072,1126,1090,1194,1026,1048,768,811,1102,1034,823,535,752,1100,1164,1448,1212,1146,1198,1010,1136,1400,1598,1380,1250,1166,1060,1234,1396,1306,1170,1228,1294,1356,1172,1220,1162,839,745,703,473,387,397,488,725,981,1182,1144,1600,1382,1262,1494,1418,1318,1348,1268,1282,1210,843,839,1180,1198,784,608,567,854,1422,1696,1266,1066,1368,1174,1082,876,1068,1318,1262,1394,1402,1130,1236,1328,1420,1616,1130,769,1368,1494,1388,1638,2364,2150,1470,595,324,412,647,894,935,1026,1070,724,669,678,646,547,644,803,1116,1400,1350,962,475,464,631,755,962,1019,610,745,1094,1350,1338,1382,1408,1448,1344,1376,1796,1856,1670,1422,1488,1512,1538,1470,1328,1376,1284,1216,1442,1712,1750,1652,1502,1588,1594,1388,952,629,472,868,1548,1460,1244,963,698,968,704,554,789,1722,1788,1712,1762,1614,1410,1568,1548,957,858,1036,807,953,1238,1362,1290,1268,1252,1316,1432,1318,1478,1448,1042,1016,1428,1362,1150,1082,993,728,979,1080,941,1306,1772,1522,1276,1472,1460,1214,1005,715,990,1068,1160,1366,1234,1188,1460,1520,1290,1082,1072,1108,1290,1086,1040,1128,1346,1532,1460,1390,1382,1226,1005,687,968,1432,1252,988,670,651,731,1066,951,644,967,1366,1424,1406,1012,809,1036,918,1282,1720,1334,941,1062,1284,1436,1478,1362,1182,1013,1120,1046,899,896,1028,1050,1258,1448,1444,1650,1800,1560,1294,1216,862,933,1112,1240,1046,877,890,1266,1204,893,851,808,863,1021,1244,1278,1252,1196,1296,1278,1234,1086,1138,1350,1130,608,325,821,1020,678,625,568,902,1598,1672,1268,1096,1216,947,511,325,360,386,319,301,325,493,480,382,275,284,361,417,501,662,718,657,752,804,1170,1304,1214,1284,1038,854,1162,1124,589,622,880,818,1136,1248,1254,1122,951,751,952,788,854,1094,1130,974,767,683,784,867,949,1128,1372,1128,955,844,1096,1548,1522,1278,1164,1036,775,904,1036,1056,1005,1142,1212,1300,1090,804,521,547,835,1342,1388,1380,1102,888,1364,1686,1372,974,1052,1238,1112,1066,1174,1110,881,854,730,948,1007,1176,1042,1014,1242,1532,1922,1440,477,369,383,591,514,667,1476,1316,1272,1007,519,666,723,640,714,633,454,750,1040,1056,1015,973,720,563,595,576,563,797,754,546,606,432,311,316,421,408,351,412,381,372,364,362,595,933,694,395,673,627,687,680,483,449,440,335,515,908,893,656,728,741,595,905,822,510,505,535,547,599,634,714,744,1010,1140,1196,1136,1316,1418,1320,1094,934,960,966,953,827,602,839,1166,1152,1018,940,1144,1208,966,602,518,730,749,737,870,1134,1086,1096,641,413,438,952,1294,1048,859,682,600,567,553,485,643,651,466,1078,1308,681,453,779,1136,842,528,750,1088,1126,1110,1266,1358,619,703,765,1018,1324,1478,900,1036,1738,1604,1354,1182,935,1152,1738,1524,1536,1574,905,727,895,867,585,559,688,516,452,357,386,567,625,688,707,1184,1256,1230,1726,1754,1216,1142,901,905,1086,1338,1156,1058,1122,1136,1566,1380,1054,1092,1334,1456,1038,641,825,1108,1138,1312,1110,618,346,507,943,1122,1066,1240,1096,826,791,954,1318,1378,1396,1470,899,664,772,771,756,772,1430,1532,1252,1426,609,465,1002,994,1088,1182,1106,824,1326,1890,1040,1044,1284,1572,1614,1306,816,738,956,869,798,1416,1204,601,882,852,697,943,783,1186,1334,1376,1468,1204,973,1015,1550,2130,1324,843,754,705,1026,960,964,1164,1180,1294,1454,1186,918,1140,1110,1134,1574,1328,1302,1466,966,633,594,461,807,1142,1296,1638,1516,1156,1036,1106,1132,1021,949,879,1206,1082,594,612,539,581,754,847,789,711,649,566,493,527,933,915,585,749,808,719,908,966,985,1518,1750,1724,1680,1776,1796,1262,719,747,828,982,1162,1130,1112,1260,1422,1356,1346,1388,1414,1302,1060,1112,1176,1092,1256,1434,1208,1112,1132,1284,1292,1154,1470,1858,1476,1308,1554,1314,1156,1128,727,908,958,1008,1094,1122,935,1007,1116,1244,1210,966,667,525,625,1046,1232,1092,914,960,990,974,790,764,837,868,952,1334,1506,1752,1614,1698,1638,1362,1282,1288,1268,1074,1046,1212,1192,1080,1011,651,705,524,312,307,310,290,337,512,868,1112,999,1176,988,658,423,522,1012,1172,1448,1810,1654,1166,1156,1128,1106,1058,1146,1160,1318,1450,1526,1302,1216,1186,1004,1013,1013,863,780,878,1106,1290,1244,1164,1212,1178,1134,1166,1240,1270,1222,1164,1088,1134,1216,1466,1346,1458,1458,1438,1542,1382,1322,1366,1274,1202,1136,915,949,1294,1352,1300,1150,1058,1146,1074,1080,988,894,966,921,735,951,1052,964,1122,1288,1072,1012,1096,1142,904,695,733,618,419,405,505,1040,1124,1224,1212,1210,1168,1224,1130,831,937,1274,1452,1382,1570,1572,1084,1060,1158,1234,1142,858,985,1238,944,772,919,905,743,778,1162,1542,1188,967,675,955,1482,1386,1066,622,338,372,384,448,651,713,960,1626,1260,772,900,1654,1848,1312,1406,1398,1278,1238,1180,1472,1634,1316,1152,1268,1188,968,1466,1736,1340,885,706,717,974,838,846,1070,1068,1146,1108,872,796,689,533,488,493,647,916,789,764,852,1146,1448,2244,2208,1682,959,594,593,702,959,1214,1350,808,1146,1388,1011,648,805,698,366,361,395,545,631,674,778,966,1076,1306,1384,1208,965,686,460,705,1066,1078,1162,1672,1696,1280,1248,1080,897,1174,1512,1320,985,863,639,551,845,1060,1290,1622,1502,1236,1282,1616,1410,961,894,863,832,1003,1340,1998,1166,599,625,634,521,419,441,553,630,784,1282,1244,1450,1542,1058,626,623,933,1178,1108,1248,1098,544,501,542,736,1250,1644,1570,1316,989,807,715,690,583,641,801,533,504,484,349,594,677,494,455,437,377,477,710,747,719,689,577,838,618,897,842,467,393,424,728,1258,1234,846,886,695,1018,1378,1052,763,673,533,350,285,311,349,396,319,379,590,647,594,880,891,639,757,1024,1028,1134,1192,1082,1054,935,697],[398,358,469,716,716,635,597,601,419,271,284,352,393,383,394,363,306,315,388,479,462,411,458,484,466,468,578,713,725,728,717,648,477,559,603,685,962,823,551,505,421,433,535,464,425,360,376,504,532,481,408,469,561,513,467,388,344,444,933,996,761,856,736,605,506,642,1040,1178,1136,1015,551,496,530,492,374,352,426,435,416,389,379,372,375,410,435,410,378,352,340,323,349,354,351,465,769,908,908,832,508,651,1030,1090,691,661,621,432,445,474,331,254,276,262,251,304,286,328,610,957,1007,709,441,309,577,1102,1278,1024,1140,1262,968,938,822,567,738,1112,973,955,803,1054,1005,503,278,243,307,601,843,1094,691,648,857,1005,971,495,328,559,956,1102,1228,1328,1428,1200,1158,1190,1058,604,681,1015,1066,844,702,758,724,684,368,382,422,604,1050,1242,983,806,604,624,827,824,875,527,535,946,1234,1272,1180,1192,1206,1060,1082,1106,1144,1210,1124,1160,1194,861,985,919,590,730,1068,1158,1020,1114,1140,1090,1110,949,857,1040,1028,1146,1003,971,912,923,1178,1534,1604,1300,1202,1170,920,1202,1288,1180,1114,1198,1122,866,684,893,786,772,1114,1040,755,828,1168,1046,776,827,755,1026,1130,1090,1090,957,932,985,1166,1308,1144,1010,1007,926,1032,1284,1426,1158,928,1056,1050,897,1104,894,874,1272,1374,1084,1268,1172,888,1036,1086,1014,968,951,1032,1150,1242,935,798,1190,1318,1058,801,854,951,1150,1036,1072,1224,1180,1182,1282,1436,1250,1360,1610,1284,1368,1354,1126,1048,920,979,1040,1034,1176,1178,1144,985,677,713,1254,1322,1210,1516,1602,1124,1080,1464,1338,1376,1332,1050,937,1234,1250,1362,1382,1250,1204,1128,1048,795,808,1240,1216,957,922,875,1056,1378,1302,1242,1007,814,536,275,269,277,231,284,285,425,562,897,1224,1090,990,1294,1013,832,773,1042,1246,1082,930,1284,1212,950,909,967,1170,1416,1498,1620,1278,1190,1232,978,1248,966,559,753,1246,1472,1174,1090,1220,913,601,418,505,956,1158,1202,1256,1270,1312,1418,1534,1418,1368,1542,1460,1396,1312,1300,1208,1302,1350,1108,1016,1498,1686,1078,662,714,1040,1350,1042,722,876,1048,1198,1348,1396,1372,1478,1456,1212,1334,1378,1344,838,868,1146,1482,1276,1010,873,995,804,321,345,749,1346,1224,1138,799,552,681,733,652,468,547,700,758,1088,1436,1560,949,667,922,1444,1432,1440,1352,1140,1158,1310,1210,803,617,717,777,720,818,1322,1234,1046,1102,1410,1318,1092,1208,1298,1230,1190,743,745,1132,1278,1240,1316,1360,1312,1222,1196,1252,1296,1282,1390,1466,1306,1416,1352,1100,703,903,996,881,836,617,625,684,980,1080,1032,974,829,1262,1758,1848,2000,1830,1232,1000,1174,1320,1162,1192,1142,1338,1164,700,621,1448,1740,1492,1530,1510,1362,1188,902,855,883,1120,1220,1128,1186,852,652,739,949,813,588,877,1120,1288,1164,1242,1594,1356,1262,1460,1340,1164,1302,1234,1350,1586,1390,1310,1394,1228,1230,1384,1282,902,923,1058,834,626,528,528,434,430,434,521,963,1188,1130,1428,1368,1284,1302,1234,1122,1166,1048,1264,1500,1054,900,1014,1118,1034,778,912,1534,1712,1130,802,912,1234,958,1028,821,1072,1494,1562,1458,1290,1042,892,1106,1484,1550,1030,713,1268,1482,1220,1290,1456,1726,1492,673,328,486,855,900,977,1019,1164,896,680,649,662,650,738,828,1138,1444,1300,991,836,735,730,698,948,1148,1262,1434,1578,1602,1520,1478,1440,1446,1476,1548,1566,1554,1264,1434,1404,1072,1094,1336,1512,1376,1476,1572,1558,1670,1862,1940,1668,1718,1426,1342,1074,772,659,924,1534,1416,1458,1160,716,755,517,474,856,1052,1017,1062,1360,1354,1060,1362,1672,1062,1060,1334,1536,1054,1200,1170,1156,1404,1396,1262,1260,1402,1504,1356,1030,1216,1732,1254,1078,1048,767,606,811,989,833,1002,1560,1472,1208,1120,990,1110,1066,843,1032,1242,1278,1250,1017,972,1338,1298,1108,1040,1228,1090,1176,1142,1130,944,1310,1592,1344,1272,1320,987,1054,778,1274,1514,1528,1306,1228,1216,1126,1068,1190,946,612,922,1300,1278,1188,1134,1166,1238,1524,1504,1302,1170,1222,1378,1552,1574,1610,1314,721,595,694,736,742,941,899,1310,1826,1838,1882,1792,1548,1432,1354,1018,1092,1212,1264,1038,724,709,1094,1164,1100,1044,896,800,910,1114,1318,1140,1166,1322,1120,1142,1280,1498,1562,1322,1082,817,1026,813,970,707,537,1018,1502,1284,935,775,644,851,767,520,560,750,706,403,433,609,524,273,212,298,388,431,428,533,542,591,922,948,1176,1456,1268,1122,918,784,833,544,275,487,1058,1052,1356,1268,1130,1118,942,1024,1164,1078,1134,1104,1084,871,863,933,1028,1013,1152,1382,1312,1022,887,1070,1406,1294,1182,1462,1166,963,789,1156,1238,1154,1116,1064,1080,957,1100,1252,899,832,1116,2080,1744,1380,1276,1512,1648,1432,1148,984,976,1146,1070,1282,1214,1072,856,780,731,895,762,666,466,597,1194,1474,1142,930,692,457,513,758,831,1140,2150,1670,1028,820,527,658,847,482,664,576,575,628,441,360,450,411,354,433,581,576,590,667,503,548,971,873,469,303,251,217,434,623,438,401,364,304,425,688,691,670,924,654,468,434,422,447,451,479,513,565,785,1108,773,1026,1094,1130,952,647,614,600,572,554,494,563,738,744,988,1164,1108,1208,1154,962,949,979,872,597,601,617,1005,1522,1632,1406,1102,814,991,1070,866,466,437,854,1464,1216,1072,1018,1400,2182,988,442,477,933,1294,1120,917,839,686,725,692,447,747,843,747,1044,874,614,564,739,882,730,553,550,893,976,839,857,1100,648,644,937,1326,1654,1494,1100,1452,1584,1382,1212,1104,910,1510,1790,1598,1280,990,579,511,604,606,463,466,606,628,412,304,487,1036,926,645,981,1478,1514,1148,1308,2054,1500,1032,800,737,1088,1200,1054,1100,1110,1288,1546,1384,1158,992,991,1132,1076,1078,995,1188,1318,866,487,683,852,598,825,1184,871,545,504,450,474,605,591,971,1356,1316,905,766,756,940,850,1272,1516,1072,835,1040,985,866,1078,744,742,1032,1058,689,944,862,854,1078,939,1402,1300,1134,957,1042,1136,645,741,978,797,594,1148,1110,906,1116,868,1116,1312,1013,1018,815,596,783,972,1394,1286,1018,833,993,1050,882,890,1048,1182,1180,1180,1164,1396,1428,1170,1284,1492,812,794,1036,661,623,831,808,1156,1400,1552,1620,1568,1276,1284,1424,1178,976,975,1072,1256,886,624,574,587,658,769,843,751,713,651,547,486,553,892,935,536,644,750,894,1122,1058,1068,1502,1836,1752,1494,1518,1616,1188,739,713,974,1002,921,990,1208,1396,1444,1476,1598,1412,1220,1188,1158,930,1192,1200,1200,1226,1266,1234,1230,1238,1248,1250,1636,1814,1152,1236,1388,1280,1426,1484,1154,883,963,1226,1232,1012,1090,1170,868,755,736,792,794,954,772,1152,1248,943,807,625,561,476,490,743,960,1036,802,1166,1400,1686,1646,1356,1186,1354,1360,1370,1222,852,1058,1058,1058,1134,836,504,689,561,514,643,495,313,282,351,669,1021,1076,962,881,599,387,576,1024,1278,1482,1860,1564,1162,1090,963,891,995,943,1124,1290,1144,1046,1140,1230,1204,1206,1170,1176,976,767,719,799,1024,1168,1170,1102,1076,1142,1160,1222,1114,1156,1244,1076,1228,1244,1216,1366,1338,1210,1286,1306,1310,1238,1186,1158,1134,1430,1584,1023,1036,1254,1390,1090,982,1122,1196,1096,988,860,871,1168,937,671,1026,1278,1278,1230,1208,1266,1308,1078,630,579,917,882,561,623,904,1156,986,1022,1130,1188,1160,1148,872,419,607,1210,1516,1350,1308,940,1068,1148,1386,1272,984,722,680,678,691,1013,1064,948,1066,1116,1410,1724,1936,1904,1580,1360,1204,1166,1058,600,509,656,463,458,490,664,942,1256,1078,910,1094,1812,1732,1556,1412,1498,1544,1332,1023,1003,1322,1388,995,808,759,690,1170,1428,1390,1152,1108,902,1154,1118,1134,1104,1018,1102,1008,906,954,1066,1068,1126,1042,1158,1182,1212,945,1030,1316,1632,1718,1266,1154,712,570,641,635,670,1036,1030,1046,1306,1454,993,796,1384,1238,653,484,407,446,432,400,577,674,894,1322,1240,1000,686,520,496,1030,1682,1928,1650,1516,1600,1778,1406,998,969,684,837,1176,1044,1060,1084,1296,1216,1096,1366,1620,1444,1186,1338,1194,1114,1168,717,740,1054,778,789,1188,946,562,601,719,651,527,516,541,741,1172,1344,1132,1354,1556,1266,830,581,819,1104,933,1256,1238,1014,880,511,558,1200,1604,1690,1322,836,560,493,559,572,545,509,477,433,375,350,322,318,345,472,484,440,519,775,1048,1094,835,659,824,735,1064,1260,757,475,566,794,971,747,583,792,877,1058,1340,1176,848,581,372,350,462,497,368,363,355,375,382,666,597,647,898,709,789,1100,1270,1472,1558,1162,738,617,902],[325,300,395,503,558,576,508,480,428,309,305,336,336,318,375,375,356,312,356,412,400,367,386,372,359,474,593,672,729,822,872,828,439,326,383,449,625,563,476,468,443,443,577,428,376,319,317,366,389,395,412,419,258,220,343,355,340,411,958,1424,1208,772,843,893,742,803,1094,1218,1216,1036,527,491,442,448,419,389,357,372,380,380,380,392,437,467,458,434,412,403,380,377,430,446,432,464,734,979,946,917,831,893,1260,1036,889,720,603,494,429,396,355,293,265,268,299,358,355,361,418,594,775,522,340,389,584,1056,1146,1072,1288,1160,708,930,938,839,1194,1312,1192,1064,1152,1026,420,306,221,247,257,298,307,709,785,893,825,909,698,378,399,608,819,1026,1106,970,1066,1426,1390,1364,954,685,861,1120,1202,984,438,386,561,1112,640,451,380,365,860,1112,886,769,698,818,702,475,686,411,479,1064,1288,1232,1120,1021,1036,996,830,1074,1192,1056,1250,1284,1376,1244,1060,912,667,536,781,1072,1236,1376,1286,1326,1482,1246,1084,1104,1268,1398,1011,855,1042,1172,1200,1388,1582,1644,1298,1382,1412,1342,1036,1490,1438,973,1090,1070,894,724,742,769,810,816,618,774,992,1140,793,618,813,1164,1312,1368,1162,808,925,1180,1120,1178,1082,718,740,689,986,1206,1182,1154,1300,1204,919,742,1118,946,1124,1340,1576,1316,1136,852,781,990,1016,1032,1068,650,836,875,763,622,912,1238,1286,1310,1474,1022,874,1450,1466,1260,1172,1072,1186,1498,1578,1288,1274,1382,1092,1224,1266,958,644,799,944,1028,1310,1476,1414,1328,1054,754,870,1384,1462,1526,1726,1680,1230,1132,1154,1242,1340,1420,1424,1482,1450,1490,1424,1342,1448,1210,940,986,813,603,821,1070,932,992,841,931,1418,1520,1196,989,651,473,354,275,261,252,284,321,413,672,906,1002,1158,1332,1266,1278,1250,1212,1328,1186,940,870,1192,1180,995,1050,1120,1074,1290,1420,1578,1146,1002,1136,1190,1116,778,512,623,1084,1172,1044,1458,1666,1172,633,422,532,924,1082,1192,1166,1194,1144,1246,1506,1630,1716,1648,1524,1462,1218,1342,1180,1274,1370,1232,1168,1084,1094,780,742,1038,1298,1394,789,811,1013,1130,1292,1300,1244,1098,945,1094,1084,1262,1400,1276,1300,1276,1144,1230,1178,1108,1234,1346,1012,604,760,1084,1242,1078,1021,953,880,655,699,702,521,910,999,860,1108,1306,1532,1058,608,453,574,795,1332,1524,1102,1052,1300,1222,580,625,747,841,894,946,1086,993,902,796,877,1138,1156,1126,1116,1368,1214,940,987,1238,1284,1266,1176,1100,1362,1576,1136,885,1036,1302,1390,1400,1206,1188,965,673,521,610,877,1200,1162,886,667,656,902,1166,1242,1340,1056,1078,1240,1362,1410,1334,1284,1936,1476,1250,962,1019,1340,1596,1260,893,995,1242,1102,1306,1504,1410,1408,1074,959,653,691,1108,1010,1086,1044,933,953,844,927,771,849,1100,1090,1074,1112,1290,1332,1184,1180,1576,1550,1058,1180,1294,1300,1302,1266,1346,1556,1464,1632,1708,1428,1092,1104,1266,1262,1004,546,503,527,460,409,430,953,1422,1394,1310,1534,1540,1254,1214,1156,1160,1088,1274,1474,1204,1088,1138,1118,971,1234,2094,1824,1910,1378,942,912,1013,965,1032,766,737,1228,1376,1058,1009,935,574,888,1376,1428,1166,820,1170,1394,1144,1326,1608,1810,1864,769,398,642,1044,968,929,996,1188,1090,794,694,798,796,852,1074,1292,1156,1078,796,778,901,1160,1368,1552,1602,1622,1680,1586,1292,1328,1292,1136,995,1194,1376,1266,1396,1372,1688,1234,502,435,821,1078,777,1082,1202,1076,1404,1528,1694,1638,1540,1428,1442,963,630,677,988,1434,1222,1128,1040,597,492,515,498,852,948,669,982,1788,1610,1268,1512,2018,1262,1334,1394,1152,1019,1036,913,933,1102,1308,1360,1268,1182,1246,1236,990,1304,1558,1100,1021,825,634,758,907,826,555,881,1560,1370,1378,1606,1340,1294,1202,1228,1260,1368,1330,1140,849,947,1448,1382,993,1140,1584,1640,1300,1250,1152,982,1019,1050,1238,1300,960,584,1052,1166,1302,1438,1308,1098,1132,1110,950,826,882,717,633,677,882,1094,1236,1312,1406,1484,1608,1580,1300,1206,1296,1180,1158,1162,1192,944,620,549,623,767,771,860,891,1166,1412,1508,1598,1766,1570,1522,1380,1264,1254,1160,1102,769,449,723,1114,1004,899,664,909,1162,1202,1326,1224,1020,1340,1332,1080,1192,1272,1356,1664,1604,1386,922,771,952,977,643,568,848,1032,799,654,691,745,989,752,363,418,651,758,405,282,417,336,179,235,312,366,419,424,638,737,635,630,761,1086,1270,1186,1023,956,727,435,481,345,474,988,885,937,1006,1098,1172,1154,1266,1378,1408,1304,1246,1152,882,956,1060,1164,1080,1318,1348,1072,1100,1116,1360,1348,836,1140,1432,1378,1248,1188,1638,1488,1074,1118,1188,996,742,1106,1326,1182,1186,1070,1912,1652,1750,2020,1794,1538,1096,732,928,965,999,1088,1292,1194,1218,1036,688,521,620,662,451,454,529,664,735,491,612,717,597,608,951,1162,1134,1170,952,897,659,626,698,808,590,1076,945,858,670,366,336,441,651,771,791,742,498,480,695,826,970,717,469,498,354,266,306,397,516,349,301,336,451,437,429,368,717,1168,1272,1013,595,422,458,671,836,966,720,807,1290,1128,940,988,912,669,548,654,713,600,528,480,814,1028,885,979,1146,1184,1186,1011,810,1013,1120,866,660,642,829,1476,1526,1534,1472,1040,648,806,901,689,649,628,974,2060,1556,1796,1066,1384,1842,1100,952,947,1040,1164,1094,1174,1144,657,1266,1438,794,1274,1410,987,821,898,995,947,1188,935,589,695,765,914,1030,800,796,850,792,667,783,1240,1604,1604,1582,1588,1070,1306,1094,979,1276,1488,1360,882,510,454,436,417,394,341,392,518,603,658,473,340,394,1054,1204,699,471,749,1254,1382,973,1322,1466,1396,901,821,1072,1017,1034,1046,908,1000,1064,799,800,1046,805,979,1220,1216,1042,1222,1038,567,340,630,820,667,697,1023,858,364,275,308,415,555,481,564,968,1198,1304,1028,975,936,728,1398,1518,711,552,678,911,1202,841,478,865,1434,1222,595,685,896,719,545,763,1398,1090,954,938,612,645,402,503,752,855,727,1232,964,847,1140,794,1264,1996,1578,1140,969,477,622,800,857,1084,1122,974,1216,1128,1094,1046,1132,1380,1190,1164,1284,1322,1340,1354,1122,958,697,482,371,342,601,1114,1434,1432,1380,1520,1570,1510,1244,1300,1356,1116,1028,1402,1548,1146,741,701,595,704,698,783,860,755,749,892,799,669,577,902,937,620,607,670,1224,1528,1570,1506,1538,1830,1648,1310,1346,1504,1160,804,637,930,897,872,1048,1200,1340,1404,1456,1390,1330,1102,1016,1336,1070,1264,1474,1380,1216,1232,1250,1180,1190,1258,1262,1526,1432,954,1376,1422,1156,969,1006,1036,987,1280,1502,1178,855,1154,1338,927,1058,863,774,973,968,960,1244,1174,1124,1052,728,768,412,526,803,896,880,901,1324,1450,1354,1268,806,893,1426,1250,1130,998,684,790,703,672,962,771,473,407,512,757,814,511,304,302,444,787,814,1116,1110,1090,995,633,554,775,1002,1324,1294,1019,1056,1124,1092,870,1026,813,744,1019,1056,1044,1096,1020,1098,1354,1318,1182,1040,872,792,891,1258,1432,1200,1042,1214,1136,1068,1162,1154,1068,1068,1088,1296,1284,1160,1328,1360,1222,1304,1308,1300,1106,895,886,1382,2270,1790,967,943,1246,1378,1320,1230,1086,1012,1032,1252,955,728,1022,1210,1036,1282,1346,1208,1306,1340,1388,1332,813,509,696,966,796,699,831,839,893,874,839,1017,1222,1168,1310,936,472,786,1246,1280,1296,1202,1236,1190,1496,1568,1220,1034,868,626,541,875,1228,1262,962,919,1216,1568,1672,1742,1936,1986,1684,1396,1340,1116,766,800,858,651,644,609,807,1168,1212,1130,1236,1268,1736,1650,1396,830,1048,1152,943,739,812,1068,1238,1036,813,965,1208,1534,1260,1092,1234,1248,921,923,1138,1005,932,1138,1100,1084,1376,1376,1068,1005,1172,1046,1070,1202,1302,1112,1015,1152,1450,1176,942,797,1066,890,737,750,753,651,785,1046,995,664,535,1013,1742,1480,1162,661,368,321,280,307,372,359,612,1034,942,729,548,519,483,803,1830,1910,1838,1372,964,1248,1252,1238,1090,784,880,701,515,888,1410,1426,1154,1184,1304,1408,1318,1326,1460,1312,1330,1032,483,866,1334,940,836,1340,1150,486,529,617,634,597,466,405,565,1052,1228,1278,1500,1324,1120,1050,987,1446,1488,1188,1422,1440,1680,1448,762,757,1098,1234,1418,1212,835,619,449,450,514,591,614,702,855,1106,988,572,578,838,873,549,415,377,670,1028,1084,794,720,1046,756,687,1009,907,615,666,773,727,628,655,901,999,962,1034,1030,956,636,389,451,1038,1278,907,536,398,378,590,896,886,908,853,1007,1270,980,1088,1248,1256,1132,612,706,1054],[354,403,412,469,565,569,440,362,384,370,390,336,334,308,319,376,425,392,357,317,302,301,313,320,312,368,397,462,568,658,709,866,666,477,504,541,490,552,535,373,404,626,591,378,307,301,289,288,329,329,335,367,481,708,683,572,469,517,1050,2250,1968,875,752,860,835,883,868,758,808,586,368,368,372,383,375,380,373,357,367,371,379,426,455,451,430,430,430,452,425,368,374,480,498,433,601,910,1000,954,1003,1468,1802,1088,629,525,685,789,562,369,412,416,376,361,387,383,361,346,407,566,568,423,460,662,880,867,735,960,999,698,801,1046,634,642,1102,1386,1294,1190,1080,586,304,519,620,414,306,320,380,708,814,614,601,821,1001,780,530,829,866,1014,941,755,1078,1384,1280,1384,1324,1052,1032,1226,1216,1060,796,631,588,1124,1066,921,735,473,609,893,932,797,633,609,396,334,354,276,622,1118,1356,1304,1028,988,1104,916,556,719,894,1052,1306,1364,1342,1070,919,1048,999,781,909,1028,1144,1262,1234,1566,1642,1518,1464,1440,1598,1540,1172,1136,1388,1354,1332,1472,1426,1420,1530,1582,1550,986,682,1426,1462,974,937,1138,1150,786,1050,772,802,936,1007,1290,1168,939,601,653,988,1156,1100,1184,1172,848,1001,1370,1266,1126,1136,910,849,957,1046,1074,842,1106,1488,1164,1022,725,1022,1030,1012,1112,1350,1274,1042,877,951,1084,1090,1106,1212,857,816,665,777,828,969,1294,1454,1828,1938,1382,1148,1362,1082,937,1020,1128,1360,1514,1450,1272,1290,1070,781,943,1019,1044,927,1078,1023,1026,1268,1540,1588,1306,1152,1142,1202,1248,1328,1632,1600,1638,1378,1166,990,1084,1254,1264,1426,1544,1488,2008,1376,1124,1340,948,636,994,1100,633,520,867,1080,961,714,998,1666,1902,1082,1004,876,983,579,266,292,303,292,316,393,533,764,885,1244,1422,1226,1312,1250,1322,1340,1146,926,1044,1238,1388,1296,1308,1308,1144,1166,1224,990,966,992,1090,1330,1184,832,760,901,979,1094,1272,1442,1390,1532,1462,919,876,978,964,1188,1240,1194,1058,1180,1360,1406,1174,1394,1388,1124,1266,1588,1620,1598,1236,952,992,957,768,865,1074,946,950,630,661,1156,1168,1144,1436,1322,1216,1078,790,944,1154,1128,1136,1162,1254,1050,1028,1316,1244,1304,1294,1234,1100,865,647,936,1130,967,969,940,857,605,743,732,552,550,455,588,808,1034,1306,993,554,448,477,758,1288,1660,1366,1262,1348,1268,922,868,911,967,1110,1318,1322,1140,1144,979,1152,1230,1216,1528,1542,1288,1346,1182,925,931,1011,1234,1104,890,1152,1686,1080,651,651,1076,1192,1040,1104,1224,1012,846,916,677,1148,1310,1156,1200,1112,1058,1080,944,998,1136,1192,1242,1310,1426,1478,1372,1210,1494,1474,1098,896,1308,1550,1452,1472,1474,1584,1678,1172,1144,1468,1342,1418,1204,1094,828,1014,999,629,718,649,710,868,841,739,456,841,1090,990,827,1172,1116,953,1190,1302,1412,1454,1208,1264,1340,1260,1092,1202,1648,1672,1648,1672,1398,1336,1062,1264,1192,959,1006,663,495,543,480,418,374,655,1232,1388,1288,1418,1578,1284,1170,1294,1148,1180,1212,1156,1202,1396,1500,1454,1028,1310,2130,1434,1444,1510,1100,944,960,846,816,635,602,1007,1356,1542,1566,1296,800,990,1248,1500,1104,894,1258,1356,1262,1310,1572,1982,2134,789,505,1012,1080,1022,946,935,985,886,700,666,746,833,990,1094,1188,1166,1302,1440,1520,1520,1380,1260,1114,995,1086,1148,1242,1224,1318,1332,956,720,955,1264,1332,1346,1294,1332,1290,734,546,975,850,1094,1134,1138,1244,1422,1354,1460,1478,1494,1620,1592,1236,731,603,1152,1402,1310,1350,1344,1028,866,621,421,719,1092,971,1282,1854,1692,1234,1224,1614,1116,954,936,857,894,916,993,988,924,980,1021,943,809,1092,1296,1324,1892,1716,1114,1070,827,497,542,764,686,554,951,1040,930,1150,1494,1482,1228,1194,1224,1182,1432,1212,1242,1326,1370,1482,1446,1148,1158,1296,1526,1142,899,1138,1198,982,870,1200,1296,1114,887,1050,1094,902,1154,1090,813,860,789,764,421,481,444,401,584,720,930,1216,1388,1310,1278,1314,1194,1248,1428,1292,1088,1005,1098,935,930,819,810,882,725,857,905,937,1234,1556,1476,1212,1534,1822,1642,1394,1434,1316,1202,1136,704,444,771,1030,923,1036,689,980,1210,1120,1344,1266,915,1122,1400,1544,1370,1156,1058,1116,1216,1470,991,636,723,870,742,521,645,794,701,577,666,750,865,615,290,262,348,475,379,284,359,281,256,281,340,388,546,537,596,706,596,401,381,550,973,1172,1018,1088,671,607,805,389,732,1120,861,869,1056,1030,871,1108,1194,1468,1386,1442,1332,1244,1180,1048,1112,1148,1042,1204,1272,1042,1026,928,1068,1042,938,1432,1592,1268,861,1009,1562,1456,1102,1178,1340,1104,846,1076,1230,1228,1254,1224,1134,1110,1380,1478,955,843,952,1128,1138,900,940,1400,1288,1132,1296,1104,1050,1005,947,1124,821,913,645,410,417,396,609,1054,881,524,814,946,865,788,758,1026,724,670,657,982,859,991,1036,846,550,314,341,520,991,1126,1274,1124,628,501,761,954,1036,683,634,882,670,440,410,346,321,356,351,409,746,653,374,304,388,652,1112,1306,812,432,446,713,651,652,649,893,1162,879,552,585,590,596,600,966,1144,939,767,910,1088,1188,1256,1156,1236,1264,1070,926,741,833,1114,1030,1102,1208,1288,1406,1144,940,1198,1082,661,756,667,653,832,912,1210,1848,1636,1862,1236,980,1042,1016,1130,1200,1142,1104,996,1190,1308,824,1344,1686,1240,1538,1458,983,824,926,1260,1238,1434,1396,1052,986,887,660,807,1026,818,460,420,470,672,896,1142,1584,1702,1438,820,1112,976,916,1158,1132,1062,936,778,487,458,428,446,420,469,492,346,412,524,484,429,644,850,711,559,652,1094,1366,1152,839,1218,1618,958,563,873,994,948,868,822,810,672,546,653,828,861,810,664,535,954,1090,709,577,504,400,371,422,478,484,550,357,271,294,339,450,591,678,713,839,1164,1122,805,794,695,901,1406,1152,847,872,1050,885,706,1002,1376,1434,778,502,587,969,932,622,868,1116,664,871,778,568,671,627,562,616,588,714,1036,752,631,716,595,1186,1518,1110,963,1162,724,821,964,1004,1288,1034,980,1066,821,973,1088,1316,1352,1050,1130,1250,960,1084,1044,852,863,528,462,409,332,395,742,1434,1572,1582,1616,1574,1368,1036,889,932,960,856,1694,1648,1112,875,647,615,736,725,749,802,717,900,1328,1108,655,516,892,930,647,696,1034,1538,1846,1952,1686,1462,1788,1470,1264,1626,1556,1116,783,648,785,735,798,874,858,1180,1378,1254,1310,1396,864,792,1056,1112,1102,1232,1414,1296,1194,1266,1350,1588,1374,1406,1614,1364,1114,1326,1404,1092,874,976,882,835,1228,1334,1266,1036,978,1224,1048,1072,1007,854,758,670,889,1216,1019,955,1136,1228,1294,919,844,760,545,806,1172,1242,1140,1166,1322,944,987,1240,856,787,910,670,721,656,600,963,1112,1066,864,848,713,730,601,374,304,515,840,790,751,766,954,816,497,601,700,584,968,1038,892,1040,1204,1036,1122,1228,741,582,850,1120,1182,1140,1172,1208,1260,1316,1310,1144,839,949,1222,1274,1328,1264,1128,1076,1078,1172,1198,1190,1144,1118,1158,1372,1398,1288,1504,1580,1308,1482,1892,1344,1078,893,959,1398,1350,1174,1202,1052,1080,1120,1020,1262,1170,786,916,1190,885,724,954,1346,1484,1360,1188,1044,1090,1148,1196,1346,714,426,491,640,580,744,896,940,993,907,819,872,1010,1030,1150,643,349,510,811,1372,1218,1296,1562,1350,1490,1138,1128,1188,1382,1252,912,1280,1260,966,780,931,1362,1622,1646,1622,1688,1826,1574,1386,1374,1488,977,619,528,474,571,514,547,1030,1418,1274,1444,1168,1056,1166,887,736,984,1128,935,737,833,1005,1052,1086,1268,1276,1334,1152,910,1112,1236,1318,1110,1106,1026,799,756,868,658,1001,1332,1156,1126,1266,1186,1026,1070,1334,1256,886,854,974,1336,1290,993,906,1174,1202,1126,944,733,569,554,775,1066,956,636,741,938,991,1082,674,478,416,297,336,361,370,555,828,1030,1268,953,800,554,548,1454,2054,1748,1164,748,692,940,1202,1260,1244,916,807,968,1144,891,769,1206,1520,1408,1294,1526,1786,1604,1520,1398,953,583,673,818,701,647,873,645,593,816,663,607,565,633,805,992,1580,1808,1570,1390,1254,1228,1390,1334,1440,1322,1178,1324,1264,1340,1300,1017,1017,1090,1220,1500,1338,1088,959,595,525,576,751,938,985,1028,1052,1210,1136,1532,2070,1898,832,409,320,531,852,879,586,787,1236,631,386,524,669,574,558,847,672,825,885,741,792,633,653,933,1088,626,565,680,1034,1318,1574,1316,948,917,850,755,873,1128,1334,1356,1212,844,1086,1116,977,692,351,608,797],[410,477,448,389,397,452,403,325,349,429,368,324,378,365,329,350,420,455,424,337,325,315,316,306,279,260,268,273,296,364,390,615,803,543,403,465,416,475,412,330,306,614,619,492,411,334,319,307,313,331,358,425,799,995,1114,767,683,1096,1372,1582,1374,899,574,584,628,536,555,518,749,530,355,359,371,349,324,366,383,377,457,371,394,466,473,426,400,404,425,434,422,324,287,421,415,406,632,885,1202,1082,873,1468,1814,1582,1150,970,1094,1112,828,597,551,568,515,391,333,289,318,364,410,519,567,626,890,1020,926,536,464,520,724,523,488,822,872,554,828,1222,1322,1340,736,329,283,916,946,517,401,361,366,572,902,1312,965,1084,1554,1546,1196,1252,1078,808,681,777,1210,1284,1360,1602,1440,1250,1208,1238,1086,1040,1082,799,606,866,1142,1188,1026,556,390,589,758,597,616,546,361,320,320,284,673,1072,1106,1128,927,868,1086,948,769,755,951,945,1046,1001,968,1078,1186,1450,1592,1196,1072,998,1130,1230,1316,1300,1298,1476,1494,1360,1420,1476,1090,1048,1136,1100,968,948,1332,1472,1628,1644,1604,1256,907,1224,1384,1184,1408,1318,1228,1216,1128,736,999,1216,1130,1192,1404,1210,647,756,1054,1288,1316,1106,1120,1086,1176,1342,1308,1294,1274,1007,802,927,838,991,852,1300,1274,994,841,959,1072,967,1008,1176,1256,1098,1140,1146,1230,1026,1182,1268,1558,1274,1026,725,778,920,1120,1232,1172,1370,1098,1404,1312,1196,1082,1034,1082,1246,1188,1642,2172,1706,1310,1128,811,838,1060,1094,1010,1017,1030,1060,1280,1570,1428,1036,918,1170,1338,1020,1090,1542,1726,1532,1516,1616,1416,1262,1240,1044,1190,1542,1544,1998,1194,1168,1378,994,830,1046,945,586,428,470,655,573,653,859,1078,978,760,592,518,784,678,310,343,303,284,311,396,487,525,742,1426,1340,1246,1260,1166,1294,1492,1262,876,1021,1122,838,926,1220,1234,893,1007,1166,1020,1100,1086,1166,1240,1184,861,893,1044,913,1048,1314,1280,1364,1632,1766,1434,836,659,879,1562,1260,1036,1204,1166,1146,1122,744,648,990,1490,1750,1802,1824,1614,941,694,818,941,1132,1178,1222,1034,727,414,770,1158,1080,1106,1416,1310,1300,1024,832,1032,1184,1090,976,941,938,900,1258,1544,1276,1186,1146,1122,1204,1302,1722,2938,2428,1204,1192,1258,1626,1366,986,957,885,638,628,789,833,986,909,461,377,501,906,1636,1736,1814,1722,1510,1468,1276,1344,1494,1274,1104,969,1082,1142,1184,1278,1478,1432,1240,1208,1512,1216,1156,1620,1554,1220,915,1132,1366,982,1104,1130,1114,991,763,862,966,844,1088,1186,1082,1116,1182,1322,978,1186,1256,1140,1122,1090,1312,1194,735,643,979,1344,1172,1138,1354,1510,1230,1160,1244,1266,1056,1098,1184,1136,1152,1238,1198,1316,1500,1126,1206,1148,995,1180,1104,840,544,708,1002,814,979,662,536,713,730,544,452,537,1082,1094,847,1074,1004,931,1003,943,1146,1202,1130,1368,1444,1366,1172,1134,1334,1422,1352,1236,972,1240,1294,1264,1032,880,1005,948,832,674,538,486,508,703,1162,1454,1248,1162,1510,1374,1328,1374,1160,1146,1198,1244,1282,1396,1404,1474,974,935,1162,1192,1256,1374,1142,1100,1088,897,922,805,781,1050,1772,2084,2310,1772,1284,1256,1264,1378,1130,1086,1402,1454,1338,1382,1678,1804,1664,964,642,1270,1308,918,769,794,911,1012,1096,1142,1130,1182,1362,1446,1582,1552,1416,1100,863,753,813,896,908,1028,1242,1234,1286,1454,1162,1066,967,998,1086,1274,1366,1208,1172,1246,1544,778,478,1015,1144,1310,1256,1136,1200,1216,1288,1474,1448,1478,1448,1532,1510,1538,1294,1350,1534,1704,1904,1814,1638,1342,772,572,910,1078,939,1784,2008,1738,1262,1324,1512,1222,1050,1104,1220,1512,1560,1426,1136,952,776,666,636,608,716,940,1256,1522,1284,1180,1188,868,644,598,586,730,798,1260,963,833,963,948,1050,1156,1048,785,1098,1736,1238,1106,1282,1360,1388,1108,916,1098,1486,1406,718,735,1156,1194,1042,831,1266,1400,1258,1084,938,910,958,1108,1020,966,986,974,1134,685,608,490,514,784,1058,1168,1060,1102,1328,1350,1384,1340,1416,1310,1230,996,1156,1348,1140,1030,996,1246,1224,855,1076,1080,1022,1108,1362,1264,1230,1554,1828,1470,1472,1666,1324,1168,1198,722,473,723,868,999,1288,1009,1042,1152,1094,1436,1394,980,1094,1240,1238,1280,1240,1398,1162,1246,1320,774,518,341,635,872,738,521,720,778,639,505,403,539,467,291,279,400,570,547,417,442,311,307,354,383,354,505,530,498,453,411,395,335,313,541,872,722,854,919,1106,1062,652,1142,1346,888,1036,932,1046,1082,1042,1062,1432,1258,1230,1180,1074,994,1036,1282,1368,1304,1098,1092,902,1088,1086,956,845,1132,1320,1414,1052,471,663,1206,1630,1366,1308,1340,1178,954,1094,1152,1206,1220,1072,1170,1250,1368,1406,1076,798,1170,1442,1298,856,760,1068,999,975,968,904,1038,973,1058,1290,922,661,588,555,787,912,1328,1626,971,514,770,1032,1190,856,670,574,386,432,766,988,959,1058,667,530,573,411,443,518,1016,969,1296,1240,711,491,629,927,954,612,800,1124,795,466,382,358,311,357,472,628,827,797,495,334,469,585,666,995,1216,726,583,613,534,632,819,1010,1023,794,855,990,879,755,966,1162,1250,1136,862,991,1198,1284,1260,1300,1350,1122,954,966,853,770,1038,841,767,932,990,1022,1100,1158,1158,877,623,624,1004,969,857,820,779,939,960,956,948,1278,1724,1286,1208,1218,995,1060,848,976,1258,1036,1258,1504,1024,776,1018,1094,1268,1288,1314,1174,1162,1274,1062,777,926,926,969,1032,666,348,398,667,1402,1582,1714,1824,1678,1124,562,923,961,558,730,838,1030,1238,1128,557,487,444,437,433,453,388,340,543,678,433,424,378,426,622,840,762,915,1108,1268,1160,1220,1306,1146,1162,1154,1044,1005,811,515,571,482,533,809,1266,1308,1032,716,677,1212,1092,758,944,1130,1044,875,623,535,425,287,288,313,358,358,450,889,1158,913,812,761,1024,1304,1356,968,1176,1670,1162,805,1005,1064,698,529,1068,1266,1200,858,731,775,1334,1544,990,781,955,811,1126,709,675,645,639,593,472,467,514,555,514,623,633,388,728,872,894,954,1158,769,840,1110,1210,1272,1188,1160,835,580,758,1084,1318,1350,966,661,663,858,1294,1256,1046,952,543,547,372,323,439,593,1122,1338,1390,1514,1590,1346,791,562,492,613,1004,1642,1280,836,694,605,684,782,725,587,579,554,883,1064,791,431,412,960,1078,749,1262,1882,1882,1870,1748,1388,1340,1786,1552,1504,1608,1416,1102,812,807,1086,1048,961,1012,1058,1334,1504,1192,1288,1252,969,772,720,909,843,877,1198,1236,1246,1316,1570,1532,1736,1792,1520,1478,1632,1432,1262,1242,1258,1088,1138,1220,1230,1268,1266,1019,1001,1146,857,1086,1258,765,708,974,1218,1326,1208,1288,1396,1250,1236,1066,730,654,792,1138,1314,1208,1007,1148,1394,1184,1016,941,673,795,1222,911,777,860,985,1162,1188,1292,791,477,325,622,572,384,280,395,660,816,783,977,974,781,558,1026,972,778,774,951,827,955,1174,1100,1260,1190,677,673,882,1100,1015,1186,1144,1066,1126,1544,2194,1886,1004,1120,1374,1214,1256,1110,1172,1140,1354,1280,1252,1226,1250,1200,1162,1360,1370,1248,1264,1296,1218,1212,1106,817,1070,1124,1190,1444,1504,1548,1372,1224,1222,1316,1122,1362,1370,903,842,1026,1360,1354,959,1006,1184,1368,1302,1058,1092,1260,1194,1346,894,415,337,419,713,1038,890,904,904,879,773,691,645,835,838,554,360,335,363,905,1296,1404,1302,1260,1196,1052,1136,1026,1108,1140,1100,1204,1168,1088,1030,986,1458,1626,1342,1356,1780,1854,1326,1268,991,1310,1034,455,602,561,484,477,677,1248,1406,1294,1284,952,1108,1013,943,1122,1012,996,966,1017,1158,1134,1112,1178,1382,1382,1154,745,943,1210,1042,1030,788,656,705,1126,1004,854,666,994,1266,1076,1168,1428,1448,1486,1518,1352,1208,865,1086,1028,1242,1300,1021,828,746,891,1248,1404,1184,882,665,791,1162,1094,912,789,694,606,458,380,449,460,360,349,379,371,739,819,873,1128,708,609,794,697,902,1072,833,846,919,847,875,833,1178,1400,1180,922,1270,1484,1178,988,1484,1300,1332,1146,1446,1656,1604,1450,1330,1356,1236,1064,1216,1274,592,482,538,775,831,680,689,916,1232,1218,1270,1864,1952,1666,1434,1434,1222,1182,1222,1416,1960,1782,1258,1120,1202,1170,1090,937,1122,1208,1410,1382,1208,892,710,651,447,706,1046,1042,1032,1034,1076,1050,1642,2260,2002,993,415,342,499,717,662,683,601,792,565,601,636,741,595,707,1064,896,997,967,818,1070,865,861,1013,976,765,813,991,898,1016,1360,1406,1460,1336,935,729,658,1148,1440,1354,1180,981,946,904,710,413,299,436,651],[513,475,440,356,335,466,409,318,307,367,356,311,342,356,303,339,394,417,404,349,324,321,334,291,269,265,283,301,338,372,332,390,405,342,345,310,314,333,325,311,346,342,318,470,501,393,406,395,335,348,615,857,558,485,952,904,803,1186,1406,1340,1286,991,675,690,832,762,789,852,747,484,381,346,357,370,335,340,388,374,376,310,425,493,426,398,390,406,395,380,390,351,363,410,444,500,698,791,809,821,1086,1478,1720,1666,1816,1838,1286,1058,1122,1068,928,1034,776,340,236,220,287,334,363,475,642,1030,1136,1140,779,386,347,458,596,444,381,696,832,714,1021,1001,813,1040,835,567,545,993,736,427,708,691,324,408,758,1130,1026,1166,1130,1326,1332,1452,1296,970,846,986,1232,1238,1248,1312,1404,1460,1210,1116,1066,1130,1282,1354,1242,1188,1376,1272,1174,561,336,667,655,519,442,336,304,351,340,318,641,1118,1044,943,743,972,1160,1094,1192,1166,1072,1010,1052,908,1002,1190,1178,1432,1500,1304,1246,1136,1288,1394,1404,1338,1278,1328,1354,1128,1330,1586,1068,972,1248,1156,905,775,1090,1158,1344,1482,1670,1516,1438,1628,1450,1270,1202,1094,1158,1110,1013,860,849,919,883,818,1270,1300,1258,1500,1454,1338,1282,1132,1186,1208,1178,1238,1622,1736,1246,965,1070,824,857,1266,1532,1422,1134,1040,1102,1318,1160,1120,1150,1104,916,772,999,1162,1110,935,1180,1284,1310,1218,1188,1005,866,838,1036,1072,799,1048,963,1400,1322,1092,1154,1230,1246,1250,1136,1064,1598,1498,1288,1602,1306,1030,854,1052,1176,1018,1001,1170,1350,1388,1140,1044,1044,1334,1172,1028,1248,1592,1450,1278,1364,1328,1200,1254,1104,1014,1114,1306,1678,1688,1440,1494,1494,1228,1112,1252,985,742,578,659,639,716,689,611,578,468,366,359,363,629,775,374,345,274,302,368,465,482,725,1428,1604,1362,1262,1282,1320,1466,1626,2100,1438,1164,984,767,1026,1008,938,841,921,1084,1238,1244,1058,1300,1030,872,630,1152,1178,847,834,1018,1080,1408,1540,1480,1094,981,704,816,1598,1080,919,1262,1156,1060,1384,1290,672,536,1098,1578,1766,1854,1674,1290,1102,1058,1072,1228,1282,1234,1130,802,533,841,1020,948,1340,1470,1216,1316,1250,1256,1162,1090,1332,1336,1282,1254,1140,1042,921,1140,992,990,928,1076,1512,1848,2420,2244,1416,1366,1172,943,1356,1266,1216,937,588,935,1462,1152,959,775,525,511,607,1366,1922,1890,1902,1820,1764,1670,1516,1630,1434,1150,1224,942,811,1328,1324,1308,1386,1220,1168,1202,1118,766,927,1494,1588,1134,1084,1262,1274,1266,1202,1234,1256,1332,1188,1170,1232,1240,1274,1056,916,944,1086,1294,1128,1130,1312,1126,995,1136,1342,1160,651,553,1114,1344,1082,1132,1364,1274,993,1180,1390,1310,1366,1274,991,1010,1052,1064,1188,1100,1026,893,985,834,1204,1332,753,459,426,468,728,826,1164,691,469,341,422,595,680,693,1156,1274,1146,1158,1068,974,780,545,772,1208,1314,1472,1624,1350,1122,974,857,783,738,1116,1030,1013,1208,1310,1316,1298,1242,1268,1152,810,668,886,836,1150,1290,1360,1228,1180,1478,1486,1310,1108,1052,1026,1130,1102,1108,1182,1366,1350,1154,1318,1372,1238,1218,1374,1316,1352,1288,1058,1106,1007,837,964,1740,2086,2614,1902,1198,1318,1248,1246,1188,1258,1528,1508,1444,1488,1454,1556,1522,1306,1136,1510,1672,1484,1514,1476,1392,1272,1182,1126,1162,1130,1007,1220,1390,1336,1208,970,1001,898,1023,1080,1122,1180,1428,1516,1362,1274,821,910,1200,1218,1224,1202,1286,1318,1182,1230,1420,708,512,813,890,997,1136,1146,1144,1158,1280,1374,1388,1620,1794,1454,1402,1372,1434,1498,1594,1810,1918,1882,1720,1472,1160,1178,1232,890,786,1324,1168,1158,1300,1230,1226,1410,1584,1422,1166,1288,1476,1444,968,1464,1538,951,716,663,904,1426,1510,1248,1182,1356,1340,1084,953,749,834,1302,1252,1158,1001,1084,1090,956,835,866,498,420,1146,1594,1316,1252,1308,1116,977,871,940,1222,1222,1206,1060,1062,959,966,799,898,1360,1468,1212,916,790,723,803,1014,1014,888,826,833,864,741,997,874,758,1092,1332,1106,1028,1396,1704,1282,1322,1218,1234,1214,1334,1538,1660,1338,1180,997,1016,1218,1007,848,1050,1180,1078,951,929,1096,1246,1534,1554,1132,1148,1398,1214,1072,1144,686,469,677,965,1200,1400,1270,1108,1250,1406,1300,825,980,1162,1226,1212,1396,1478,1444,1486,1628,1080,947,897,507,753,861,788,442,565,584,458,392,338,400,384,274,302,311,475,715,487,341,256,249,276,319,316,307,419,536,487,379,355,395,355,397,678,630,616,624,1102,1144,602,905,1002,579,1026,945,968,1078,1074,1072,1376,1340,1136,1112,1009,719,699,1208,1264,1344,1298,1218,1021,1228,1230,1084,1018,1118,1118,985,741,938,917,838,894,1184,1090,1108,1048,1004,1092,1236,1366,1198,1034,1106,1030,1240,1244,1076,1236,1506,1396,1106,775,670,846,1046,858,686,673,681,877,681,661,597,554,798,905,1076,1282,1186,990,825,830,1028,979,865,548,497,436,468,628,909,1036,1106,1192,618,396,448,549,647,467,714,593,1070,1358,1032,781,822,1023,1098,671,733,1168,1136,868,833,736,626,504,673,1172,1296,1060,738,441,529,742,948,943,1072,1148,1008,1017,1492,1430,898,786,877,631,1026,1306,1424,1182,1066,974,948,725,628,891,1226,1300,1122,1005,1064,1036,1066,767,609,753,1046,722,669,894,835,901,909,768,937,818,881,766,883,758,694,788,830,777,667,820,1356,1422,1688,1058,1130,1112,1090,1240,1158,1144,1142,1112,1262,1100,872,903,984,1218,1334,991,1154,1080,2058,3422,1984,517,849,973,1066,1122,696,357,390,891,1926,1832,1912,1814,1466,1152,1074,1440,1378,610,626,719,1068,1470,1262,888,611,442,464,445,440,432,407,488,580,441,569,530,389,692,935,932,935,1108,1370,1366,1096,730,964,1064,940,1001,1362,1340,775,639,517,592,884,1252,1212,858,792,891,1122,767,506,560,924,1184,1302,1354,1208,972,784,554,351,356,347,593,1292,1344,1376,1232,885,760,777,1004,1354,1576,1126,913,974,891,1166,1154,865,1170,1196,866,999,1146,1246,1328,956,672,690,1106,738,919,771,729,717,817,860,695,659,875,730,667,852,559,433,982,1122,915,969,989,716,806,913,879,908,1158,1164,802,493,1021,1356,1318,1036,872,752,725,1056,1570,1524,1068,709,600,582,351,306,637,1023,1146,1224,1434,1526,1528,1154,655,471,506,914,1246,1084,852,635,539,592,706,756,739,607,1086,1438,1544,928,479,437,475,1032,1328,1144,1186,1426,1688,1872,1770,1404,1586,1850,1686,1656,1628,1550,1368,1004,836,1246,1412,1484,1302,1256,1594,1616,1440,1488,1428,1322,981,675,984,1074,1236,1510,1456,1334,1252,1358,1454,1824,1720,1284,1410,1376,1198,1336,1494,1396,1172,1376,1266,1114,1238,1234,1238,1516,1338,957,1208,1012,672,1144,1308,1250,1266,1042,1042,1282,1532,1504,1098,771,735,839,938,1042,907,767,1158,1382,830,702,935,750,576,558,568,688,850,902,1094,1003,1172,933,475,268,494,619,477,421,411,565,802,1002,997,1052,985,800,1176,1026,1094,1210,1296,1202,976,858,697,921,769,657,673,1070,1224,1118,1052,1015,1106,1174,1496,1824,1454,984,1120,1368,1262,1080,1110,1158,1214,1222,1280,1184,1102,1216,1174,1060,1082,1112,1036,1062,1124,911,1036,1030,910,1106,1266,1362,1334,1378,1426,1184,1282,1310,1250,1406,1554,1450,1192,1012,1232,1770,1744,1178,930,764,1078,1400,1508,1448,1336,1394,1532,1116,626,487,624,1098,1366,990,612,437,451,417,506,509,564,702,658,523,526,488,682,939,1242,1184,1158,1042,808,792,1136,1114,1266,1182,1019,1246,1310,1048,914,1164,1400,974,1070,1454,1606,1326,1038,863,1180,1056,484,730,774,527,438,840,1502,1472,1334,1126,1016,1288,1206,1206,1104,891,840,812,1056,1144,1126,1042,973,1346,1384,1302,1274,1394,1244,854,622,556,673,1006,1266,1108,1068,1104,1208,1240,1172,1230,1354,1408,1616,1434,927,729,857,1294,1136,1046,1206,1228,1172,796,572,1012,1510,1328,1552,1154,1022,729,418,692,1048,1018,687,500,444,442,436,365,323,383,344,836,821,695,636,452,819,1260,1214,890,684,690,1148,1792,1476,814,649,651,685,596,723,1224,1230,910,1080,1324,1098,1298,1236,1070,1258,1438,1498,1524,1372,1194,1322,1570,1340,722,928,1023,875,796,830,1088,1376,1316,943,1048,1694,1776,1378,1282,1272,891,1008,1260,2336,3392,2336,1252,1268,1316,1042,950,630,955,1456,1154,800,639,437,792,1080,662,987,1286,1440,1776,1356,1044,777,987,1898,2258,1368,674,507,819,969,704,632,413,432,694,843,922,954,869,1136,1016,849,749,729,783,870,1042,1013,814,865,901,811,888,926,1116,1212,1278,1376,1102,1064,1090,1182,1650,1562,1386,1224,852,744,1166,1358,977,591,373,369],[544,468,427,460,345,467,425,327,313,344,340,304,328,359,350,390,424,452,418,363,315,309,318,284,258,272,295,289,318,322,311,380,392,365,346,342,342,339,346,348,352,307,283,330,395,464,529,516,411,390,870,1132,637,445,676,620,420,521,822,790,830,803,642,668,802,1014,1260,1528,1400,871,423,414,443,446,370,325,339,353,408,451,510,489,393,334,346,392,406,462,477,454,383,392,518,670,945,809,784,1344,1228,1452,1802,1600,1634,1560,1196,1122,1056,969,1036,1134,764,367,326,267,319,395,394,376,451,592,756,1238,979,466,373,418,374,277,360,441,407,884,861,907,877,1104,1322,899,1018,1064,665,407,775,784,374,433,620,852,852,891,752,804,1146,1360,1314,1148,1136,869,1038,1188,1240,1156,1372,1306,943,861,980,1142,1318,1178,1130,1526,1710,1236,822,458,421,995,968,691,658,476,298,308,314,357,585,995,934,828,910,1162,1150,1152,1180,1166,1021,1005,1192,1246,1266,1380,1550,1346,1302,1410,1394,1306,1394,1550,1498,1236,1092,1192,1332,1130,1176,1300,1170,857,1040,937,738,662,645,1058,1220,923,1502,1726,1660,1794,1704,1604,1412,1384,1332,1204,1064,910,797,802,990,869,963,889,1466,1520,1400,1304,1162,1162,1370,1458,1450,1332,1216,1216,1214,998,1090,1284,1324,1354,1722,1446,1246,1238,1264,1234,1172,1192,1120,1030,1136,1110,1240,1324,1112,1068,1112,1154,1210,1302,1252,1042,972,935,1002,1013,1072,1218,852,1046,1316,1200,1062,1200,1362,1270,1202,1386,1346,1226,1376,1422,1346,999,920,1154,1098,952,1088,1216,1254,1626,1708,1448,1290,1228,1042,1082,1574,1686,1410,1216,1086,913,929,819,642,692,705,1030,1534,1776,1516,1418,1556,1316,1156,1040,890,929,644,986,1013,932,642,678,908,692,370,393,351,489,816,471,341,287,368,460,423,599,1508,1790,1318,956,978,1244,1378,1476,1400,1506,1128,1174,760,901,1298,932,554,507,565,1004,1274,1130,1172,1100,932,710,536,666,839,800,884,958,1046,1300,1220,1184,1198,1136,935,973,1044,952,1224,1324,1220,968,1118,1436,1106,709,1042,1356,1476,1646,1782,1612,1426,1302,1320,1362,1374,1414,1390,1266,833,1008,1188,1182,1332,1168,1180,1376,1392,1332,860,972,1246,1360,1282,1382,1430,1322,1150,1224,1198,1142,1098,1228,1332,1304,1472,1744,1456,1450,998,901,1420,1450,1076,843,767,1412,1840,1126,1038,615,468,444,687,1654,1854,1730,1828,1922,1930,1854,1822,1810,1726,1482,1264,1180,996,1306,1244,1596,1412,1168,1364,1378,1298,1034,849,1136,1250,1186,1244,1204,1300,1294,1170,1542,1676,1488,1262,1266,1474,1456,982,894,1262,1268,1094,1106,971,1064,1244,1112,1026,1170,1472,1426,706,407,487,511,840,1120,1384,1332,1020,1236,1478,1240,1021,991,1092,962,819,989,1306,1306,1152,1162,1034,1102,1588,1078,957,1216,1044,515,665,741,735,478,386,422,585,677,684,1062,1678,1234,1204,1168,1046,1003,749,755,974,1124,1322,1628,1694,1332,1324,914,575,462,453,694,727,598,967,1350,1312,1318,1252,1098,1054,1090,1142,1558,1172,1180,1368,1244,1140,1290,1460,1410,1074,969,1100,924,1078,1182,1210,1154,1280,1144,1304,1588,1632,1366,1336,1628,1530,1218,1110,1166,1058,1194,1042,1214,1744,1948,2030,1748,1410,1566,1520,1542,1532,1542,1542,1484,1600,1670,1624,1498,1534,1606,1542,1606,1610,1656,1490,1120,940,1007,984,850,777,784,777,1164,1482,1340,1182,855,707,621,837,1098,1086,1218,1482,1400,1274,1336,1164,1194,1284,1246,1204,1250,1246,1212,959,1218,1184,726,664,824,595,498,888,1226,1026,1170,1242,1248,1374,1560,1598,1526,1440,1260,1286,1266,1416,1520,1842,1948,1928,1696,1498,1442,1268,916,983,1262,1122,1019,1052,1222,1340,1546,1644,1362,1050,1060,1194,972,687,904,912,827,1086,1164,983,1256,1498,1278,1112,1328,1382,1378,1274,1096,1220,1302,1134,1036,1094,913,1116,1118,1009,907,577,510,724,976,1118,1278,1200,1084,1354,1270,1100,1001,708,645,828,1013,1170,1288,1232,1178,1182,1334,1140,1086,824,828,969,950,1088,857,794,795,591,587,885,922,801,833,954,959,937,1202,1376,1166,1286,1328,953,1015,1448,1800,1462,1266,1222,1106,1042,1164,1058,869,1038,880,848,976,937,877,1000,1414,1632,1406,1474,1146,936,923,982,604,572,803,1002,1186,1252,1218,1196,1298,1270,1246,1160,1120,1266,1240,1176,1220,1208,1372,1676,1290,653,763,730,692,619,502,485,491,576,554,453,340,314,330,323,272,348,407,355,475,336,300,253,242,291,303,307,399,469,493,540,388,330,341,356,402,403,515,569,550,742,853,413,579,745,742,929,984,976,1296,1206,1040,1266,1202,1084,1164,1022,612,642,1072,1020,1112,1180,1112,1162,1092,1070,1058,831,1160,1118,1024,1260,1580,1258,785,453,691,897,1000,1001,1064,1172,1340,1156,972,1015,779,821,1176,1394,1448,1398,1278,1036,697,709,627,648,772,839,733,865,729,437,319,319,414,647,839,910,1096,1144,1066,1346,1362,1378,1064,688,501,426,650,739,808,972,704,742,944,973,749,456,413,742,765,437,548,724,929,1044,984,766,685,611,901,929,891,1390,1528,1106,894,1062,1088,705,597,946,1092,822,601,611,852,1224,1130,1092,1007,1028,1246,1200,1036,1284,1080,703,805,889,959,870,1052,1208,891,702,1084,1316,1028,824,1152,1240,1150,1116,1206,1036,1050,843,722,1001,1102,661,744,733,827,949,931,915,1013,787,835,850,917,815,826,835,520,518,597,791,1524,979,792,834,1090,1194,1254,1246,1188,1194,937,807,1080,756,625,631,579,903,1210,1242,1236,971,1582,2194,1312,874,996,602,807,1021,644,548,534,1310,1932,1652,1672,1662,1484,1536,1466,1334,1228,761,761,816,992,1294,1376,1506,1016,484,502,474,513,546,554,732,844,741,688,625,573,1216,1146,762,1042,1168,1122,1302,1362,923,810,989,1010,1216,1388,1015,599,501,482,490,817,1064,922,625,818,1090,853,365,341,386,369,465,982,1334,1218,1156,1154,1008,664,506,527,990,1396,810,832,1092,843,693,519,452,756,1246,1286,895,1184,1044,1268,1074,955,1017,1002,853,965,1102,1288,873,496,563,628,838,606,805,942,982,874,660,991,1082,875,971,606,685,927,593,769,1392,1328,1176,1376,1412,1146,1138,1106,994,767,859,1256,982,673,1078,1282,1114,1094,1062,1108,929,879,1160,1426,1028,767,648,503,296,309,714,1052,1284,1942,1730,1664,1520,1122,669,486,730,1242,1052,650,621,523,576,620,637,719,702,705,1240,1578,1544,958,510,530,549,791,1272,1600,1334,1536,1802,1968,1982,1918,2344,2022,1628,1706,1548,1284,1158,920,940,1256,1348,1284,1122,1118,1336,1422,1416,1516,1552,1314,954,613,988,1142,1372,1482,1368,1280,1270,1338,1780,1894,1440,1298,1342,1096,1232,1190,1422,1394,1146,1064,1146,1252,1342,1394,1538,1738,1142,839,1042,867,745,1284,1338,1284,1100,692,645,1226,1726,1522,913,659,585,647,983,1122,1260,1166,1242,1104,844,796,825,955,749,467,630,659,819,1078,1005,1002,1098,824,492,430,664,872,816,1050,880,962,1018,1372,889,830,720,658,954,1018,1084,1042,1014,1054,1130,783,740,989,723,705,635,611,786,910,793,686,772,1142,1152,1200,1208,1174,1390,1360,1288,1148,1110,1232,1316,1346,1276,1190,1280,1482,1294,1166,1026,1034,905,697,738,939,1070,1238,1236,1256,1172,1262,1228,1382,1390,1264,1386,1320,1180,1250,1382,1370,1228,1110,1418,1722,1548,1250,822,664,603,852,1192,1318,1306,1370,1324,1178,946,736,799,1180,1206,1056,675,397,349,391,404,403,625,850,805,936,1084,670,749,739,1088,966,886,1098,1108,1144,1210,1176,1026,969,1158,1300,1416,1007,1114,1194,1366,996,1368,2004,1966,1258,1094,995,988,1048,855,693,587,477,377,1014,1882,1694,1128,796,1122,1258,1228,1382,1400,1134,800,697,959,1374,1390,830,651,950,1322,1462,1260,1166,1058,965,820,774,988,1228,1134,1192,1260,1244,1354,1314,1260,1260,1334,1424,1510,1554,1232,756,682,741,806,1106,1312,1282,1021,689,828,1238,1464,1582,1604,1590,1362,774,560,805,996,918,1198,977,689,472,403,377,365,377,568,955,1024,1028,691,532,695,1038,1250,906,814,722,988,1510,1076,489,514,451,477,552,704,1076,920,673,1026,1304,1188,1228,1282,1426,1344,1216,1276,1340,1168,1214,1510,1262,761,546,921,1192,1310,1188,1094,1152,1174,1228,805,945,1214,1300,824,1036,1592,1462,1166,985,1622,2264,1956,1136,1098,1362,1124,944,664,916,1462,1007,363,392,327,597,1134,1124,1640,1628,1416,1730,1472,1006,921,1022,1324,1372,1166,1007,642,566,367,295,419,406,367,819,852,1046,1508,1708,1578,749,623,684,619,542,791,832,510,542,828,916,821,644,794,1242,1198,1328,1260,1064,1172,1028,997,1714,1722,1224,1076,811,717,938,1130,1382,922,869,615],[473,513,480,512,366,407,404,321,333,338,325,307,340,342,338,356,454,428,388,368,338,307,294,287,287,297,292,265,292,321,338,350,385,354,367,371,349,350,358,334,306,281,295,308,293,334,458,687,675,525,766,768,417,519,516,412,487,593,916,1023,1134,874,797,978,1148,1048,1108,1372,1196,700,534,494,466,430,376,326,303,341,455,501,466,396,326,457,513,344,372,378,516,704,941,941,724,816,1156,1032,1162,1764,1230,1468,1578,1560,1326,1082,1064,993,719,620,874,1056,797,404,441,390,352,374,386,386,393,367,670,1104,930,458,388,320,227,240,285,349,750,984,783,929,724,1310,1582,953,898,1009,623,332,389,434,309,579,799,926,818,930,830,569,792,982,873,935,1274,1180,1128,1066,1228,1144,1001,1040,1040,1017,1056,1072,1168,1060,1100,1156,1348,1164,640,383,574,1062,1122,917,866,733,548,382,422,446,441,781,1064,1326,1506,1300,1120,1098,1058,946,1004,1168,1284,1396,1388,1404,1346,1336,1408,1348,1202,1174,1490,1882,1680,1378,1334,1278,1194,1076,1064,1024,1009,716,730,807,615,530,561,1188,1078,956,1216,1558,1748,1754,1790,1760,1826,1728,1504,1258,785,869,1120,857,793,822,572,764,1260,1240,1320,1428,1134,979,1288,1456,1270,910,1001,1272,1306,937,915,1610,1510,1166,1192,1312,1516,1278,1021,988,1282,1332,1398,1228,1144,1098,1272,1122,1002,988,836,869,1172,1260,1212,1138,1090,1262,1340,1124,1196,1164,852,974,1290,1346,1290,1096,1188,1240,1206,1166,1168,1294,1312,1254,1150,988,1050,1030,1162,1104,1030,1346,1558,2568,2696,1672,1156,1005,811,1150,1708,1396,1170,1168,932,922,1202,905,641,547,588,796,1506,1976,1300,1078,1458,1400,1528,1422,1416,1340,1000,1212,1282,1156,941,858,1176,1064,363,344,350,410,786,613,406,368,453,515,664,1496,1926,1434,1288,1146,1298,1132,1172,1428,1460,1066,985,1258,1168,939,1236,936,758,844,889,1338,1260,1346,1202,1152,1238,927,854,1012,1172,1080,1100,1190,1346,1058,990,995,1005,1122,1272,1138,905,1202,1350,1184,1084,725,1064,1556,1106,757,998,1214,1208,1290,1364,1514,1604,1600,1484,1412,1404,1360,1310,1196,1036,1256,1278,1266,1312,1128,1230,1444,1534,1366,757,1170,1610,1514,1186,1290,1368,1244,1262,1434,1408,1218,1272,1262,1462,1540,1852,1678,1448,1236,921,940,1258,1328,996,1132,1284,1570,1340,1017,1092,681,544,419,948,1772,1832,1760,1836,1936,2030,2054,2004,1920,1828,1860,1688,1418,1288,1260,1350,1650,1446,1306,1240,1114,1292,1280,1062,894,763,1082,1458,1448,1264,1062,1058,1266,1274,1182,1010,842,606,488,445,731,1234,1208,1005,889,727,824,1088,1112,1170,1158,1302,1232,989,752,628,625,849,1116,1278,1312,1104,1422,1580,1210,647,623,872,965,1036,1013,1120,1212,1288,1356,1156,1134,1378,1306,1100,1468,1158,587,755,807,618,612,856,1056,984,758,724,1066,1296,1019,1062,1142,1146,953,818,962,942,1040,1334,1428,1556,1628,1354,1116,681,443,412,459,534,523,852,1322,1312,1108,965,1360,1476,1494,1390,1354,1282,1188,1248,1204,1178,1302,1362,1440,1648,1316,1196,1038,1060,1158,1188,1210,1238,1200,1184,1548,1780,1470,1366,1486,1596,1350,1460,1508,1534,1564,1396,1390,1624,1678,1570,1692,1694,1604,1506,1484,1404,1326,1382,1426,1368,1360,1294,1192,1290,1318,803,1136,1604,1630,1254,951,897,1038,1128,933,698,757,733,1078,1440,1352,1034,840,940,1198,1306,1130,1058,1158,1366,1332,1180,1236,1148,1414,1248,1208,1314,1630,1084,855,915,1008,1168,931,467,462,375,470,857,1236,1312,1216,1368,1334,1134,1214,1388,1476,1224,1126,1332,1408,1322,1400,1788,1722,1704,1776,1776,1670,1500,1212,1144,1340,1340,1378,1120,1356,1318,1558,1612,1284,1044,1011,1038,810,1040,1538,1544,1404,1418,1152,910,995,1228,1238,1056,1270,1430,1492,1496,1364,1170,1204,1186,1176,1276,1312,1444,1334,1216,940,915,903,692,894,1188,894,710,931,1412,1392,1078,578,598,477,611,705,1058,1360,1412,1660,2390,1866,1038,1164,1146,1176,1132,924,1256,1186,901,913,856,822,956,966,855,595,567,902,1028,1044,1158,1334,1356,1086,578,546,1013,1378,1160,1114,1046,1070,849,897,1082,912,912,1096,1070,844,960,763,773,1188,1650,1662,1552,1222,1072,1086,1150,1024,1108,1156,1198,1124,1096,1104,1088,1246,1009,825,1168,1278,1216,1138,1134,1106,1152,1536,1562,758,488,473,446,623,404,279,408,576,505,479,564,653,807,566,568,612,603,451,304,249,248,280,259,288,375,393,391,561,521,382,500,474,397,342,380,423,428,386,433,608,924,1126,680,824,1166,1020,897,998,1154,1390,1206,954,1062,1172,1248,1160,877,524,799,774,1048,1108,1024,1122,1224,1180,1152,1188,972,1186,1156,1214,1202,1020,1032,932,630,455,629,698,803,972,1188,1062,756,907,801,816,1020,1342,1298,1132,1138,1134,981,910,883,561,583,623,883,698,902,1096,786,582,662,610,861,1090,1066,1076,999,844,1012,1146,1028,874,726,750,1048,1110,957,894,719,550,396,577,735,633,507,426,731,715,386,395,605,741,650,568,439,405,743,1208,943,702,874,851,816,992,1116,1108,839,472,458,458,397,321,530,951,1250,863,841,1346,1300,1058,1190,1068,1070,1182,864,993,979,1086,1000,781,773,811,1126,1510,1528,1144,586,896,1144,1122,1092,1182,1092,1134,1304,996,781,914,796,1026,974,849,911,1038,1256,1052,803,910,977,986,987,1020,885,744,660,621,595,1020,972,897,1028,800,565,745,908,904,1078,773,571,803,647,680,728,681,863,1114,1168,1124,990,1136,1078,687,882,931,555,736,798,691,757,975,1304,1318,1394,1742,1454,1262,1404,1398,1106,1070,1060,1078,1084,1220,1250,1372,1508,988,606,630,839,935,791,728,1036,1016,706,542,458,836,1728,1604,809,948,1146,1028,1202,1244,1110,994,940,1038,1356,1376,1194,825,641,468,471,630,664,818,889,1050,1210,763,375,426,432,301,392,771,974,786,706,912,1012,758,819,915,1242,1166,636,518,600,577,772,824,612,679,1162,1486,1350,1278,1300,1262,1296,988,818,994,783,1072,885,930,919,624,593,550,805,902,940,985,697,788,1124,1352,1352,1026,703,866,872,797,616,837,1108,1172,1358,1572,1590,1614,1326,1114,1038,733,563,667,533,829,1204,1104,1084,1019,716,962,855,804,1246,1548,1174,874,702,451,325,351,739,1052,1224,1968,1684,1606,1572,1366,1012,1116,1108,944,850,500,483,518,513,601,567,599,582,606,1030,1434,1572,1030,468,543,562,715,1152,1708,1482,1534,1554,1400,1288,1310,1418,1224,1018,1014,871,884,824,680,875,1126,1138,913,829,1021,1242,1396,1494,1588,1570,1238,1092,749,772,1094,1344,1244,1174,1146,1010,1288,1728,1630,1304,1444,1148,1048,1021,934,1142,1023,767,722,1028,1202,1064,1156,982,1066,555,641,1032,751,771,1228,2012,1626,725,544,637,703,669,867,874,1004,818,917,1102,976,1076,1008,966,825,629,632,738,883,893,960,503,525,893,1216,1046,803,891,870,778,736,726,781,672,1054,1076,1212,971,1046,1005,921,657,830,1156,1152,1180,991,971,1094,1094,888,1084,1036,692,907,993,819,977,980,1140,881,580,769,1052,1300,1332,1390,1280,1278,1210,1152,1284,1320,1316,1352,1306,1392,1268,1394,1176,1122,994,850,835,723,1028,1442,1288,1312,1382,1390,1176,1208,1264,1230,1264,1172,1234,1170,1036,1158,1436,1420,1288,1316,1618,1194,430,60,36,554,679,780,1084,1340,1512,1340,966,1090,1092,991,915,1122,818,621,462,306,308,377,351,460,910,1082,1072,817,868,752,676,774,847,728,931,1162,1292,1204,960,1094,924,1046,1302,1394,1592,1244,1194,1534,1660,1490,1606,2286,2442,1184,973,1130,1134,1004,881,832,567,435,393,879,1410,1336,871,653,972,1009,1290,1310,1216,1030,928,911,888,1102,1134,868,797,902,1498,1202,817,1086,1426,1338,1322,1426,1360,1114,1098,1400,1494,1218,1178,1412,1518,1296,1356,1428,1408,1400,1024,880,860,517,712,1054,1246,1284,1140,1019,1378,1490,1154,1256,1506,1446,1040,520,391,517,731,1138,1366,1322,1122,716,421,353,340,395,821,1158,1274,1428,1296,965,576,838,1124,941,1170,994,826,976,667,497,512,555,680,805,798,1132,1068,783,898,1028,1120,1078,1152,1336,921,941,1040,1048,1222,1312,1136,919,667,487,583,990,1588,1428,1322,1654,1666,1544,1180,1098,928,1015,880,907,1124,1022,957,1152,1270,1306,1460,1078,1104,1600,1404,1050,796,725,929,849,561,456,402,564,782,967,1160,1260,963,948,1002,817,711,658,617,579,658,639,498,443,458,417,493,478,421,544,639,786,1016,1072,1112,971,1400,1002,689,498,593,611,434,434,695,1076,980,685,840,1054,1162,1316,1120,1330,1626,1038,680,1184,1194,780,927,743,763,915,625,872,794,892,974],[497,603,601,636,437,316,377,306,289,304,310,307,318,286,326,408,459,425,343,306,320,284,293,297,293,300,284,271,287,296,312,328,367,388,394,388,375,371,386,342,304,261,261,268,282,268,350,655,785,636,634,636,476,526,430,411,437,630,1002,973,810,669,711,930,987,1118,1304,1060,750,571,522,485,432,391,351,322,321,401,495,503,381,348,407,466,484,372,346,717,974,1062,1272,1130,970,841,1170,1260,1302,1318,969,1446,1350,1218,1104,1034,1058,852,549,697,817,809,537,365,478,461,363,361,401,394,339,304,370,476,501,334,361,294,241,271,293,382,843,912,916,1144,956,759,962,907,840,592,581,357,342,376,534,1076,1202,811,825,804,651,397,460,484,422,771,1154,1108,952,914,1098,1210,1192,1180,1322,1176,1094,1122,1284,1158,1018,1074,1108,836,510,433,710,1023,1134,1194,1174,1194,781,516,912,785,496,801,1064,1264,1396,1360,1302,1446,1268,1128,1284,1386,1336,1406,1448,1276,1272,1394,1256,1218,1346,1350,1534,1600,1320,1162,987,860,947,796,524,421,648,905,937,925,861,590,393,553,673,1050,1026,1172,1386,1556,1572,1590,1668,1726,1318,883,650,973,1106,1236,1284,1021,681,843,1026,1102,1440,1532,1272,1208,1216,1270,915,503,853,1232,1180,927,1044,1504,1548,1072,1090,1152,1118,1080,1005,1004,969,1438,1544,1288,1154,1208,1152,1005,988,860,847,703,1070,1168,1198,1272,1382,1390,1228,1128,1062,952,755,934,1156,1082,1136,964,1178,1182,956,913,1138,1064,891,1036,810,581,858,1066,1282,1078,1030,1452,1754,2056,1764,1346,1228,1246,1076,1364,1672,1334,1092,1144,902,1104,1400,1070,770,624,561,618,1272,1620,1012,828,1396,1424,1264,1100,1346,1444,1218,1268,1326,1246,1168,817,702,462,362,371,384,367,661,695,513,443,443,518,951,1936,1694,1346,1498,1292,1278,1086,1156,1412,1372,1216,997,1174,1050,743,1088,1186,1284,1146,1234,1238,1248,1428,1214,1184,1086,1034,1136,1160,1320,1412,1412,1078,976,1026,1136,1136,951,1228,1574,1362,963,812,960,1140,827,819,1516,1498,1124,768,731,722,901,1250,1134,929,1142,1368,1574,1698,1614,1470,1228,1106,1130,1188,1094,1118,1278,1182,1352,1432,1542,1354,944,1132,1462,1598,1402,1322,1376,1480,1588,1546,1176,731,1108,1108,1216,1290,1620,1560,1382,1272,1142,960,1158,1200,919,1114,959,898,1011,1132,1017,794,625,509,1258,2040,1914,1854,1850,1832,1992,1998,2060,2052,2042,1952,1862,1628,1314,1346,1670,1628,1448,1440,1428,1030,1102,1084,1074,662,528,633,944,1250,1212,1194,1182,1148,1234,1182,1074,794,678,551,464,724,1174,1274,1056,858,542,699,1028,1284,1160,1188,1234,1110,1276,1194,993,911,1062,1154,1022,1314,1436,1484,1250,898,731,787,946,1310,1234,1162,1284,1338,1268,1060,912,1100,1362,1204,921,1001,965,809,764,829,890,959,1410,1346,971,830,747,916,1036,986,1078,1330,1070,490,587,838,890,1070,1224,1032,1252,1150,814,966,892,613,406,475,654,597,744,926,1146,1182,1116,1282,1438,1484,1378,1260,1422,1394,1148,1010,1142,1338,1564,1540,1866,1442,1210,1076,1130,1104,1210,1354,1266,1222,1340,1764,1688,1574,1510,1592,1676,1654,1696,1650,1604,1544,1504,1556,1464,1458,1732,1388,1192,1136,976,1132,1296,1262,1272,1376,1472,1396,1300,1460,1322,1168,854,1654,2120,1654,1124,819,843,1030,1196,1012,616,581,530,1130,1340,1332,936,879,1012,1348,1354,1048,1060,1214,1092,1168,1296,1232,1196,1368,1248,1284,1218,1300,955,962,1198,1088,1154,1134,588,570,500,863,1278,1426,1250,1302,1350,1166,985,907,1134,1202,1082,1040,1222,1412,1524,1518,1158,1468,1588,1548,1738,1808,1684,1428,1216,1258,1226,1406,1522,1728,1510,1560,1498,1172,1122,1376,1318,1050,1182,1582,1616,1704,1732,1726,1166,963,1210,1138,1308,1558,1566,1686,1534,1638,1450,1314,1506,1394,1268,1350,1354,1222,1134,1058,1001,966,1026,1208,1332,959,824,1150,1258,1134,861,405,399,368,349,525,1084,1350,1116,1710,3130,2020,1144,1340,1516,1272,1148,997,1250,1424,1028,825,968,1246,1340,950,713,775,730,659,925,992,1136,1250,1100,944,490,705,821,1072,1148,872,778,703,580,912,1048,961,1268,1186,703,607,1070,1050,1021,1242,1604,1658,1482,2066,2092,1554,1504,1238,1138,1270,1240,672,689,1017,1021,1300,939,568,888,1198,1242,1134,1236,1528,1514,1622,1074,437,441,570,656,509,350,377,378,364,284,354,517,619,858,681,882,843,754,612,416,327,331,329,307,295,314,408,394,496,474,541,590,546,479,410,386,427,404,387,473,636,641,677,619,1050,1244,960,945,1124,1302,1302,1106,778,601,711,886,1168,1118,1056,1064,1056,1164,1060,1128,1360,1300,1410,1546,1360,951,1250,1382,1110,894,651,677,888,810,803,937,764,621,1030,1124,667,561,639,583,792,929,980,844,946,1170,1306,974,1162,1048,683,688,742,969,860,776,1036,918,963,1074,880,1080,1122,935,820,703,484,785,914,825,904,857,830,1048,1007,865,1050,982,965,518,496,645,739,686,413,533,537,683,631,472,570,523,414,348,477,1058,1224,736,702,718,430,507,709,938,1004,1076,566,337,355,357,277,427,742,801,636,742,1472,1452,1148,986,1026,1250,940,670,990,1158,1274,1316,905,916,1026,1026,1088,1136,1154,960,1116,1004,1118,1222,1234,1288,1268,1356,1066,1056,1064,1330,1220,1152,1068,1234,1412,1320,1076,964,998,1009,1142,1238,1252,980,905,979,926,811,844,858,993,833,634,780,993,1142,1038,1010,1034,881,963,976,1048,965,881,1006,1160,1162,1168,869,943,955,711,683,613,675,800,1026,909,532,639,1000,1062,1376,1588,1268,1322,1236,1360,946,635,732,929,1222,1450,1404,1370,1296,1078,1010,961,1206,1274,741,677,758,717,661,493,618,1248,1734,1646,1112,1080,1066,835,993,1108,1034,1114,1070,1122,1015,961,797,842,1074,647,603,619,645,646,908,1212,1272,819,495,661,609,313,374,1196,1456,1376,1192,1104,1086,770,480,725,1186,1290,746,597,503,562,1132,808,752,1015,1186,1030,990,1274,1412,1326,1017,636,1044,1250,1180,1170,780,1096,1258,910,608,724,1132,1216,1004,812,626,591,416,593,880,878,602,698,1052,1028,534,513,844,1096,1394,1520,1526,1736,1490,1212,993,563,524,642,932,1050,1074,729,756,990,799,749,882,673,843,1262,1046,813,981,905,812,582,1172,1234,1166,1978,1720,1406,1604,1292,1102,1352,1144,828,922,524,499,503,495,569,564,655,646,717,963,1346,1590,1018,469,457,492,719,1250,1704,1318,839,698,664,753,818,794,748,729,808,862,846,767,716,844,1122,1274,1050,1008,1210,1112,1228,1464,1460,1296,1238,1230,968,1272,1482,1318,1230,1238,1104,975,1324,1484,1320,1554,1422,1190,1106,1068,1074,1152,861,775,935,916,957,910,1482,1186,999,614,836,1050,832,966,1234,1366,972,550,573,891,788,870,1016,1166,1214,1110,1102,925,846,969,858,769,831,669,832,774,825,756,951,763,795,830,746,572,452,599,942,982,804,697,940,1017,1182,1232,1002,960,948,897,878,767,974,1009,1066,1288,1156,1226,1042,1004,1110,1138,896,747,1084,1288,1286,1620,1266,1336,967,584,554,1048,1262,1314,1300,1300,1442,1380,1306,1274,1262,1252,1236,1188,1096,1332,1282,885,671,613,852,800,855,1170,1338,1146,1188,1192,1128,963,1128,1170,1206,1312,1358,1146,849,1206,1280,1268,1098,1058,1306,1866,838,437,644,673,464,631,893,916,1158,1504,1212,1026,1282,1128,811,658,556,500,432,317,300,327,339,335,495,1046,1088,1128,942,1076,993,682,503,496,766,1178,1254,1272,1136,783,1034,742,888,966,1220,1458,1284,1226,1438,1216,1026,1282,1782,1770,1078,1148,1406,1172,827,794,852,798,727,474,512,789,1180,1336,996,884,1206,1356,1290,1154,1028,985,907,851,978,879,948,955,1100,1260,794,626,814,1338,1550,1458,1588,1556,1220,1010,1158,1454,1216,1246,1386,1272,1122,1272,1224,1312,1434,1126,969,1272,1258,1246,1320,1284,1242,1274,1268,1466,1212,937,1246,1168,1001,641,418,515,498,804,1362,1382,1102,1088,1122,963,626,412,505,803,813,1230,1482,1482,1504,1086,1130,1232,1282,1292,983,1124,969,917,943,787,743,979,973,1120,1388,1304,893,534,637,1158,1198,1190,1146,816,1104,1270,971,1148,1170,947,1060,926,538,579,890,1272,1318,1484,1664,1636,1300,1094,770,708,1110,1060,786,1078,1304,1362,1568,1384,987,1030,932,1132,1388,1086,947,792,761,761,720,693,603,667,664,544,525,529,588,548,504,495,404,354,364,374,408,409,495,458,427,485,499,417,406,379,444,667,778,628,450,619,1338,1826,1364,1044,757,703,780,362,435,544,897,1024,681,615,623,814,1064,995,1306,1482,861,355,385,513,470,741,786,1048,1178,882,905,740,634,932],[579,709,702,586,380,339,379,258,270,306,337,340,316,322,356,440,486,465,392,385,376,319,321,319,296,325,314,289,280,270,278,318,354,365,357,346,349,355,355,330,289,263,265,268,278,278,332,452,469,420,353,327,311,408,391,379,359,666,1056,897,479,371,382,498,681,1256,861,866,929,736,547,514,463,368,292,244,287,516,689,862,552,714,638,465,407,349,320,521,668,714,658,695,974,725,1086,1350,1023,1066,1148,1314,964,674,716,864,1056,875,870,1164,872,598,503,419,359,376,378,404,427,424,354,311,311,309,299,322,334,242,253,272,322,539,696,704,957,902,842,758,1064,902,820,465,419,576,672,739,896,1132,1170,1184,950,601,464,441,406,490,587,893,959,753,698,890,1212,1158,1092,852,1186,1254,1080,1074,1330,1338,1294,1314,996,620,500,697,943,1002,1272,1220,1184,1194,863,547,713,777,919,1082,1028,1134,1160,1274,1180,1174,1200,1318,1396,1344,1158,1060,1354,1416,1188,1278,1148,935,1220,1462,1122,951,1138,1060,615,568,915,801,519,555,670,901,970,908,909,783,418,345,569,980,1042,945,1282,1472,1222,1310,1534,1650,1302,924,647,636,694,993,1188,1226,1176,1150,1005,880,909,1032,1150,1234,1126,1270,1194,1042,1176,1248,1152,1132,1232,1438,1596,1038,940,1058,1098,1152,1172,1226,1396,1478,1406,1388,1250,1114,1030,863,618,928,815,634,912,1178,1298,1272,1376,1292,1168,1196,1012,866,1010,1228,1150,820,1005,962,1142,1162,915,1013,1148,1060,1028,1138,816,744,958,1032,1184,1480,1254,1240,1610,1682,1584,1296,1005,1242,1208,1516,1516,1218,1074,1120,911,1086,1430,1438,1260,961,890,905,1036,1086,1126,1226,1306,1314,1134,1110,1186,1013,800,739,932,1136,1130,1112,913,588,458,412,393,374,630,816,781,768,718,770,1280,1866,1106,1072,1562,1412,1466,1432,1378,1356,1272,1268,1160,1118,648,819,1092,1382,1274,1354,1354,1100,1162,1106,836,685,969,998,913,1070,1144,1240,1238,912,1014,970,1006,1106,1130,1246,1468,1390,946,590,636,1005,647,992,1486,1310,1200,913,763,776,959,1216,1066,978,1015,1234,1384,1462,1638,1742,1632,1522,1456,1376,1202,1130,1102,1234,1546,1414,1224,1316,1282,1084,1186,1326,1162,1256,1384,1282,1224,1023,794,549,1026,1096,1116,919,815,974,1262,1266,925,815,1009,861,810,1224,1134,814,874,825,933,1120,1018,858,1570,2030,1836,1836,1830,1710,1778,1874,1994,2032,1990,1984,2042,1746,1038,1168,1538,1466,1588,1636,1588,1606,1326,1280,1222,765,566,409,657,1094,1152,1210,1166,1284,1246,1126,1156,1164,1010,828,873,1072,1448,1454,1220,995,720,662,865,1228,1172,1094,1162,1314,1230,1122,1218,1164,1070,1138,1194,1134,1128,1156,908,1046,1274,1036,1200,1476,1402,1382,1372,1400,1304,1366,1160,1248,1626,1218,999,1017,798,988,930,830,1214,1188,1200,1100,925,1038,1252,1432,1190,1034,1124,1194,1016,576,644,745,658,809,1182,1009,948,1068,1000,1068,1334,1174,568,428,531,409,662,761,998,1224,1276,1170,1178,1416,1556,1298,1444,1252,1242,1444,1646,1912,1978,1818,1888,1598,1238,1172,1286,1380,1480,1516,1470,1436,1532,1564,1550,1620,1642,1620,1632,1642,1496,1484,1476,1434,1322,1144,1118,1342,2310,1600,1038,1078,927,1076,1134,1234,1538,1516,1926,1642,1484,1366,1298,1266,893,1192,1466,1288,1068,855,825,979,1162,1032,757,575,608,1244,1392,1324,1096,1108,1230,1376,1460,1248,1028,1070,983,1416,1484,1618,1520,1180,1292,1372,1216,1178,1182,1182,1178,803,1001,1312,1220,953,896,1204,1416,1462,1232,1244,1140,1150,1256,1176,1180,1184,1386,1286,1232,1396,1636,1440,1456,1812,1510,1258,1270,1606,1732,1690,1542,1550,1578,1622,1758,1726,1152,835,908,854,1006,1186,1284,1128,761,880,753,789,1238,1508,1322,1394,1466,1306,1318,1356,1526,1836,1462,1500,1252,1242,1444,1172,973,1248,1250,1102,1098,1074,990,869,1066,1124,1030,926,858,1388,1826,1562,989,568,408,357,330,709,1556,1506,1240,1426,1674,1416,1404,1426,1260,1336,1510,1188,1168,1356,1174,1204,1356,1336,1316,1080,1300,1236,723,872,1338,1318,1282,1170,1202,1226,740,953,913,1206,1256,1096,1066,822,539,857,1128,1372,1772,1670,882,637,1050,1104,1021,1174,1520,1562,1448,1742,1934,1548,1322,1372,1608,1454,924,457,453,666,919,987,838,892,803,904,1016,1258,1178,1492,1478,1306,709,399,438,505,622,613,417,412,426,408,354,300,455,432,388,409,723,714,802,917,659,404,329,280,317,314,277,338,354,341,349,465,596,561,447,447,478,484,480,404,443,626,584,459,453,653,765,956,1078,949,905,1184,947,889,932,653,536,907,1180,1108,1023,1016,1032,994,946,1070,1212,1438,1344,981,698,1032,1192,1108,1060,1106,1068,858,662,915,997,1174,994,634,832,906,672,563,890,1168,1256,954,711,807,1484,1526,1294,1332,1208,951,873,1068,1432,1378,1262,1180,995,946,1042,1016,1182,1100,852,598,505,593,554,538,619,637,762,839,935,1068,1148,1132,969,830,633,572,503,677,578,376,366,498,925,925,792,719,612,450,359,419,604,799,857,636,836,811,531,551,875,1136,948,561,397,329,435,483,373,441,724,1104,1164,1188,951,1082,1138,969,1034,827,488,569,794,964,1186,963,1150,1252,960,918,1044,987,1046,1038,1026,1134,1064,1066,1210,1088,1272,1122,1456,1380,1644,1290,1260,1618,1660,1418,1268,1314,1146,1003,851,850,1124,1224,973,878,881,925,1056,996,980,835,398,558,824,1094,1174,1228,1294,1070,864,1001,963,902,1072,1074,1080,1224,974,1032,928,1282,1488,868,468,526,650,728,924,702,401,501,991,1318,1670,1562,1516,1478,1434,1404,1178,902,785,910,1218,1436,1366,1438,1416,1242,1156,1132,1260,1168,938,932,727,668,723,782,1110,1432,1236,828,818,975,991,980,1096,1116,1442,1576,1320,1404,1112,875,678,741,670,657,719,634,666,587,756,1168,863,508,478,532,474,392,485,1058,938,904,1021,935,874,745,447,468,1015,1208,763,631,443,444,771,581,642,1024,1318,964,558,697,747,970,1116,1030,847,796,1206,1212,1248,1426,1274,848,671,1070,1306,1216,1104,824,985,930,616,479,522,473,532,963,1376,1206,529,513,772,1190,1816,1572,1422,1760,1552,1906,1834,680,897,1042,1046,1174,1422,972,638,645,670,995,1346,890,475,702,851,1034,1312,1130,973,636,1054,1416,2348,3110,1998,1364,1202,886,713,928,1021,708,866,561,483,479,466,555,708,1042,1216,1160,964,1268,1622,1108,597,492,430,718,1350,1780,1390,869,810,691,718,827,868,876,852,816,750,750,836,818,854,1296,1468,1188,1136,1230,1198,1216,1566,1438,1160,1244,1040,995,1372,1354,1258,1336,1202,1150,1404,1606,1366,1240,1294,1338,1240,1236,1260,1194,1224,998,684,864,1010,1188,892,1106,1216,1170,997,939,984,1164,1438,1158,880,774,583,704,954,1018,1088,1234,1360,1484,1184,954,973,879,1009,1062,918,1142,941,863,1206,1220,1152,1374,1240,966,773,788,641,764,505,1015,1366,1588,1058,1132,1005,962,937,785,937,1218,1042,731,692,1144,1016,1464,1428,1422,1246,960,1082,1152,1076,1018,935,851,918,971,1136,885,861,789,606,822,1378,1510,1302,1144,1246,1264,1360,1320,1286,1162,1260,1242,1068,1140,1332,980,697,586,797,1262,1140,910,1134,1076,902,1068,1208,1234,1116,1216,1550,1562,1286,1076,755,656,944,1096,1046,909,959,1050,1004,629,407,505,597,481,474,743,1000,871,1026,1138,1096,1094,935,625,523,736,916,750,394,349,389,377,358,723,1340,1318,1200,1384,1104,788,752,837,1074,1028,1468,1366,1354,1134,1015,1074,933,898,891,1015,1106,1232,1438,1494,825,1015,1126,933,1140,1004,1038,1074,1062,971,907,1056,1092,876,625,583,980,1236,1454,1194,985,1252,1378,1184,1058,1098,897,736,636,719,636,774,879,1334,1394,822,531,653,1088,1368,1592,1654,1240,1098,901,684,940,1208,1588,1344,1152,1208,1184,1092,1034,1138,956,910,1340,1480,1234,1272,1396,1394,1406,1416,1356,926,1001,1354,1328,1354,883,519,597,571,1048,1274,1160,1100,957,929,1070,1362,1011,962,813,766,969,1154,1282,1474,1396,1368,1272,1338,1282,1078,1156,1570,2188,1948,1302,1076,1130,1178,1214,1128,1060,857,662,772,1086,1450,1670,1598,1044,882,937,1018,1248,1262,1180,1116,948,546,709,1198,1340,1260,1346,1336,1288,1018,854,750,712,894,1009,845,719,1368,1292,1186,1390,1140,1007,1078,1150,982,756,635,494,493,519,522,444,369,356,334,332,329,352,388,386,395,417,449,450,478,467,469,438,451,455,484,744,987,474,415,403,583,729,753,541,455,713,1218,1260,1122,1154,965,601,553,519,673,722,1048,1070,980,744,454,529,642,599,783,904,1001,741,680,743,741,886,989,1250,1148,899,778,491,586,1092],[421,545,586,398,282,314,395,271,289,330,321,280,282,291,289,343,433,471,385,465,440,342,313,304,297,301,269,246,265,276,290,316,318,297,280,300,323,352,330,289,262,261,262,253,267,274,287,305,301,281,278,258,263,303,294,281,398,661,865,624,366,291,303,428,754,1060,1102,965,706,702,631,536,436,304,261,257,252,448,987,1050,573,857,662,434,508,408,369,385,433,486,551,545,576,711,1154,1104,674,860,1444,1724,1146,505,557,634,832,621,588,730,979,1206,1208,720,431,499,505,559,466,483,352,323,311,306,272,279,223,199,228,308,519,633,614,879,946,671,715,885,854,833,683,353,545,935,882,553,572,701,974,1236,1074,719,724,803,527,554,650,702,734,846,833,1208,1548,1356,1098,846,935,1290,1294,1122,1234,1278,1062,1036,1032,1018,556,700,704,741,1208,1394,1340,1356,1296,1310,1286,1140,1146,1144,1336,1292,1078,851,941,1230,1170,1230,1190,1170,1138,1114,1426,1468,1208,1386,1064,937,1038,1266,930,924,1144,883,530,580,945,1036,1011,891,968,781,464,717,998,836,439,382,455,760,983,849,949,1180,1068,1244,1334,1488,1626,1552,1110,815,724,831,1108,1214,1346,1178,787,1009,1218,879,1007,1248,1190,1174,1084,1005,1110,1272,1254,1202,1252,1388,1350,1136,1036,1130,1180,1338,1258,1152,1242,1230,1246,1202,1146,1176,1168,904,925,1442,976,832,1098,1220,1236,1334,1400,1322,1324,1400,1260,1138,1256,1406,1296,783,896,1034,908,1144,1242,1150,1290,1338,1188,1054,916,1060,1188,1208,1362,1278,1003,1112,1178,1150,1386,1390,1044,1194,1406,1464,1330,1164,1202,1172,779,607,827,1302,1562,1482,1314,1256,669,557,800,1236,1402,1272,1220,1154,1013,833,752,625,720,615,827,951,934,952,747,448,430,458,640,941,1011,1156,1019,1042,1276,1736,1342,1220,1360,1440,1488,1408,1362,1316,1278,1334,1206,1134,1134,901,929,1082,1208,1354,1248,1166,950,1136,1082,625,1042,1172,882,861,1192,1312,1238,1194,1266,1290,1172,1180,1412,1396,1484,1274,1034,988,811,802,792,1274,1176,961,1316,1274,1208,1068,1150,1264,1284,1238,1214,1390,1288,1278,1298,1422,1654,1706,1748,1664,1556,1366,1428,1534,1630,1386,1252,1336,1176,885,918,1252,1316,1186,1274,1208,1220,1218,912,747,990,1116,1088,984,857,877,1160,1056,818,537,496,765,929,1146,1170,982,735,534,572,1050,1426,1202,1638,1974,1848,1852,1892,1922,1874,1816,1948,1936,1886,1944,1918,1630,816,849,949,1300,1476,1478,1668,1770,1598,1504,1332,1078,780,414,614,968,1050,1182,1174,1184,1220,1138,1054,1290,1456,1418,1126,1182,1148,1196,1206,1024,874,852,1116,1244,1186,1220,1504,1370,1226,1016,1080,1170,1168,1194,1462,1250,1032,1134,1010,1252,1372,1210,1324,1462,1398,1288,1416,1090,1194,1376,1292,1344,1446,1078,980,1014,967,1076,818,757,1000,1052,1102,1294,1344,1306,1448,1436,1036,907,1074,1088,1018,670,792,1134,922,694,873,856,799,971,1080,1302,1344,1158,816,658,514,588,528,730,1222,1170,935,1222,1250,1362,1510,1256,1350,1348,1498,1852,2038,1992,1740,1592,1704,1740,1534,1532,1576,1636,1634,1564,1468,1432,1592,1586,1542,1504,1530,1396,1354,1440,1488,1360,1274,1250,1300,915,1168,1594,2580,1842,971,1168,1456,1576,1384,1598,1940,1226,1372,1218,1328,1190,1136,1240,884,850,1192,1144,1056,902,829,976,1146,1009,772,602,755,1288,1482,1232,1023,1214,1364,1312,1448,1204,871,863,1174,1520,1458,1474,1240,1080,1218,1316,1114,915,1176,1104,1182,1114,1152,1268,1242,1104,1284,1268,1296,1210,1240,1368,1244,1250,1264,1302,1300,1230,1282,1258,1276,1356,1448,1266,1332,1448,1180,1256,1188,1676,1598,1494,1356,1290,1346,1430,1510,1472,1011,650,578,433,593,1060,1296,1310,1116,985,786,639,793,814,895,1488,1810,1716,1636,2188,2016,1752,1464,1438,1428,1464,1226,1028,1005,923,758,943,894,935,1038,1066,1034,1002,1036,1036,1000,1166,1394,1572,1106,650,411,369,458,778,1388,1290,1330,1140,982,1204,1232,1250,1328,1342,1168,1130,1374,1362,1336,1384,1390,1190,1076,797,672,675,597,902,1244,1406,1274,1174,1004,1240,958,716,1030,1296,1122,1001,1082,1056,672,766,1028,1484,1432,1268,855,680,916,991,819,1046,1520,1548,1400,1060,1170,1404,1300,1328,1304,796,463,426,405,494,832,980,965,1016,1024,1094,1328,1608,1334,1162,1009,636,428,349,402,374,295,272,327,434,653,445,259,277,394,427,396,441,495,398,344,482,450,364,285,240,329,342,318,356,374,352,352,473,588,565,502,463,597,702,608,419,417,463,443,423,451,455,513,735,949,1024,794,1002,800,1050,1138,977,884,903,1108,1268,1374,1086,1021,1142,1064,1068,1220,1310,1114,678,428,390,600,954,1206,1292,1412,984,546,655,1078,1194,837,409,783,1280,973,686,1021,1628,1880,1654,1332,1284,1606,1540,1744,1754,1378,1166,1156,1024,839,1013,1352,1130,1023,935,915,777,797,667,602,515,576,574,572,437,348,487,973,1114,1164,1004,1021,1172,1060,728,541,775,674,571,543,709,449,441,698,965,1124,871,613,550,387,433,435,746,858,666,1080,1166,625,452,401,614,681,474,321,338,576,725,504,691,1009,1200,946,881,960,1120,1190,963,792,735,783,859,733,796,995,1254,1120,1014,987,999,1222,1694,1532,1044,1162,1204,1096,860,1017,1072,1288,1266,1334,1266,1152,1198,1786,1960,1562,1560,1560,1464,1592,2186,1138,494,648,1015,1132,1116,1050,1060,1196,1450,1260,1068,758,1036,1400,1592,1338,1304,1246,1082,1050,1008,1048,1194,942,971,1130,1202,1184,1274,1440,2054,1622,838,668,558,712,845,941,827,658,563,850,1596,1694,1708,1742,1714,1602,1476,1430,1262,1176,1274,1188,1440,1520,1536,1516,1378,1296,1178,1202,1132,922,944,859,760,812,971,1226,1304,1108,767,799,842,796,1122,1320,1368,1716,1792,1300,1126,1250,1236,1080,856,514,481,652,649,689,617,854,1082,687,651,477,371,411,368,519,495,501,843,1005,896,757,681,645,717,985,813,722,783,670,501,381,304,365,635,780,611,543,744,415,400,966,1212,775,756,1260,1450,1474,1344,1186,661,637,907,1098,1180,1412,911,930,1144,956,728,469,368,781,1318,1332,836,384,587,818,1010,1550,1348,1120,1552,1406,1086,905,1224,1362,1354,1142,1100,1496,1398,1204,1256,1026,1138,1400,979,901,922,1052,1160,1328,937,836,1014,1042,1636,3124,3094,1794,1380,1040,532,440,556,593,656,832,604,480,478,491,520,678,1168,1112,978,1015,1214,1628,1154,628,543,494,744,1424,1794,1444,827,814,813,788,824,880,843,905,886,847,847,952,890,789,1096,1072,921,846,1056,1324,1356,1514,1510,1418,1356,1232,995,890,855,994,1164,1130,1142,1392,1456,1232,1266,1240,1142,1208,1310,1262,1214,1404,1412,1082,624,923,966,857,1310,1296,1218,1228,1158,1074,1028,1220,1082,1350,1150,1102,1298,1410,1038,868,1164,1460,1356,1013,993,1084,1114,1098,1374,1360,1448,880,582,972,1100,1188,1200,1104,1092,923,1054,917,835,551,955,1226,1070,1028,1136,1132,959,692,872,692,904,1334,1226,861,1066,1142,1390,1296,1356,1190,944,932,1088,1012,1130,1084,730,690,1044,1120,811,596,690,753,908,1416,1520,1224,1150,1128,1152,1208,932,1078,1252,1242,1208,1042,848,658,589,619,752,1188,1272,1320,1130,1048,1048,1017,1080,1218,1266,1200,1076,1242,1338,1338,669,945,1046,1074,1146,1054,1042,1114,1180,1204,1016,752,616,725,819,517,834,1092,561,480,600,953,944,904,706,533,931,1154,900,402,429,432,438,530,1046,1322,1152,1174,1322,1102,993,861,927,1178,1298,1672,1448,1292,1104,1116,1180,1052,825,943,1032,1166,1450,1516,1444,708,660,680,515,852,1114,1258,1204,1248,1224,1244,1264,1134,918,1072,824,1186,1178,829,805,1086,1252,1312,1100,800,870,727,537,535,778,807,996,1080,1378,1406,780,415,589,876,1124,1426,1226,714,928,969,571,919,1772,1954,1468,1180,1274,1352,1244,929,873,984,1242,1412,1278,1250,1540,1604,1432,1416,1454,1074,753,933,1144,1236,1218,1274,1096,830,689,830,954,1026,1080,826,799,1484,2060,1716,1366,1242,1240,1224,952,1130,1488,1380,1410,1986,1592,1122,965,1136,1568,1626,1466,1312,1386,1370,884,938,1162,1410,1216,1010,924,1140,1282,1680,1294,745,882,843,688,1106,1318,984,905,1021,639,590,813,938,1198,1438,1666,1398,697,570,724,821,1324,1344,1070,602,644,859,973,1152,1228,1176,1188,808,391,368,363,373,401,322,240,246,248,260,311,339,292,337,405,411,441,432,424,471,493,486,480,421,390,467,589,865,1166,479,409,479,647,628,477,399,489,678,950,1342,1360,741,769,612,592,540,649,805,985,777,614,630,489,447,525,405,435,587,1158,1118,1004,1174,1024,1042,1222,1116,722,590,659,439,541,1166],[419,383,364,347,374,364,355,354,352,337,289,278,310,296,231,264,344,413,404,468,426,333,303,297,282,244,238,276,276,230,275,330,350,344,317,316,328,332,300,265,242,245,242,225,262,318,304,290,308,332,320,274,256,254,226,244,331,471,593,422,338,297,279,361,669,951,1508,1130,442,592,605,469,393,388,304,235,222,210,511,495,396,610,756,766,713,478,431,397,397,566,641,509,550,556,942,814,433,708,1290,1576,1142,553,628,565,619,694,547,1098,1674,1698,1478,910,808,871,934,1084,674,581,400,358,393,380,320,291,247,241,276,432,671,590,559,965,760,549,857,885,511,520,460,287,364,677,761,468,526,652,917,1408,1188,661,912,969,608,554,617,588,961,1186,1058,1260,1352,1004,1128,1198,1080,1262,1302,1152,1178,1126,1126,1234,1342,1288,907,666,622,827,1266,1424,1498,1444,1280,1370,993,805,935,1030,1156,1106,1122,659,761,1094,1160,1288,1196,1096,1210,1250,1362,1310,993,1046,853,1010,1060,1094,954,1038,1090,888,639,633,916,949,929,792,1194,893,420,462,675,596,428,410,402,481,841,1102,916,928,999,1146,1262,1390,1560,1476,1422,1370,1168,1166,1168,1122,1140,843,586,909,802,774,1001,1096,1084,1074,1022,935,1066,1364,1356,1200,1296,1200,1132,1090,1110,1084,1162,1206,983,896,881,889,1036,990,828,969,1176,1126,1228,1198,1078,1124,1290,1308,1204,1226,1298,1356,1416,1372,1286,1224,992,927,1220,1098,1080,1068,874,1166,1174,911,1156,1384,1242,1086,1078,1302,1310,1360,1432,1164,1086,1064,1023,1314,1454,1546,1418,1534,1758,1512,1362,1306,1102,994,814,946,1518,1516,1598,1730,1570,1538,912,465,539,1030,1406,1268,1176,1124,1190,1070,1044,987,954,843,694,684,714,896,971,621,407,508,886,1306,1200,1234,1212,1292,1238,1404,1432,1106,731,1001,1128,1200,1318,1390,1284,1294,993,1150,1560,1306,1015,1158,1452,1360,1218,796,578,876,697,379,954,1454,1086,673,932,1116,1146,1252,1164,1162,1152,1320,1256,1224,1400,909,904,1005,1064,1056,1100,1136,811,1078,1434,1438,1100,1288,1220,1030,774,819,1154,1146,1106,1168,944,1072,1334,1316,1466,1526,1716,1690,1604,1534,1718,1644,1516,1322,1086,1110,1366,1604,1418,1266,1288,1304,1248,1250,1044,1011,1312,1294,1062,1048,842,664,788,825,745,509,703,1282,1246,1124,1011,868,948,673,528,861,1118,1268,1488,1720,1766,1804,1804,1896,1898,1866,1960,1900,1830,1948,1838,1476,865,689,841,1422,1434,1290,1306,1438,1544,1678,1650,1404,1204,934,1272,1396,1282,1256,1252,1340,1368,1144,1096,1168,1172,1190,673,861,864,792,810,1009,1350,1388,1166,1136,1021,857,1190,1422,1460,1160,1112,1072,1170,1292,1466,1326,1314,1326,1336,1426,1308,1318,1428,1566,1510,1258,1146,1044,1418,1406,1166,1100,948,993,1076,975,1007,1048,846,824,855,890,1014,1274,1254,1013,699,551,425,533,869,1182,1272,910,697,987,1312,1002,896,1042,941,969,1112,1232,1204,1368,1346,1040,695,933,774,572,1016,1068,933,1152,1298,1328,1400,1396,1462,1558,1680,1662,1588,1470,1396,1426,1614,1676,1614,1496,1294,1286,1406,1420,1336,1340,1328,1330,1428,1254,1208,1400,1472,1462,1610,1388,1268,1418,1354,798,793,1168,1688,1422,1074,1384,1852,1842,1432,1284,1282,1256,1206,919,804,750,960,1184,921,949,1196,1178,1010,986,903,979,1122,935,708,642,828,1278,1450,1108,523,711,1046,1380,1318,1136,963,1088,1146,1318,1536,1300,957,888,1104,1124,1114,1180,1224,1108,1019,1166,1266,1200,1094,1222,1182,1142,1278,1340,1718,1290,1114,1188,1224,1258,1456,1284,1162,1268,1432,1470,1396,1266,981,808,1132,1220,1262,1206,1186,1406,1294,1246,1392,1338,1278,1438,1314,1028,750,479,463,810,1140,1212,1222,1230,1374,1432,1374,1220,1238,1546,1826,1814,1562,1888,1994,1742,1452,1146,1750,1972,1328,1130,1074,975,630,748,745,1168,1338,1284,1114,965,945,1030,1236,1190,1532,1954,1040,1094,916,551,654,923,1224,1310,1296,929,731,763,812,1200,1208,1278,1266,1268,1444,1556,1534,1440,1242,1020,1262,1009,856,929,702,731,990,1222,1326,1250,739,660,660,777,1092,1140,1084,1108,804,844,1006,786,651,982,943,1074,982,866,930,982,1060,1108,1472,1642,1580,844,816,1312,1482,1542,1282,778,701,947,946,864,1072,1074,1268,1080,1094,1318,1398,1652,1312,875,584,348,326,249,312,295,227,269,371,389,491,439,417,445,469,497,510,372,298,284,298,318,288,317,336,314,351,368,362,394,397,369,411,624,554,578,547,604,813,895,668,473,419,428,401,363,426,457,436,466,585,802,976,1198,1012,968,835,822,890,1044,1072,1036,1072,1130,1048,1072,1056,1026,860,906,949,635,496,539,884,1052,1162,1176,1348,1286,1116,1032,1204,1354,1050,631,1100,1416,1354,1244,1660,2098,2000,1784,1346,939,836,1092,1632,1968,1664,1374,1188,1102,838,915,1096,1096,1006,1088,780,516,658,835,771,402,601,522,357,568,695,516,761,884,796,898,1188,1340,1238,860,612,905,610,423,426,427,439,813,1046,1130,1410,1014,498,718,741,691,449,645,825,735,815,645,468,435,363,621,925,614,332,316,486,902,772,525,538,685,776,1100,1306,1184,1088,868,647,736,946,1052,1120,1054,1150,1162,976,1116,1424,1260,1708,2194,1728,951,1334,1444,1126,720,822,831,1092,1366,1402,1082,613,640,965,1048,969,1300,1384,1630,1644,1686,1084,777,804,966,1106,1088,906,1034,1246,1334,1008,1028,940,968,1214,1622,1488,1256,1228,1136,1138,1148,1003,1476,1158,1184,1216,1238,1362,1256,1410,1718,1410,1034,755,648,689,880,1334,1552,963,855,1320,1672,1778,1942,1918,1848,1818,1680,1550,1450,1538,1644,1438,1594,1786,1808,1688,1422,1368,1380,1250,1214,959,720,609,650,615,563,718,761,964,1174,1246,1042,820,1302,1658,1654,1628,1456,1078,1150,943,1036,1226,1160,898,610,534,550,404,458,1100,973,639,762,930,929,801,645,645,547,503,590,852,941,984,800,614,787,827,728,689,815,811,622,368,246,300,537,485,704,592,508,442,345,549,1074,1206,1106,1228,1460,1236,861,962,678,589,872,1090,1368,1620,1170,1010,1158,1130,1046,547,396,989,1470,1280,877,667,789,851,628,970,1148,993,1216,1434,996,1122,1328,1021,1116,1116,1370,1488,1250,1284,1256,1166,1266,1090,890,1092,1110,1082,999,1094,786,995,1238,986,1048,1544,1700,1482,1450,1146,534,448,513,521,794,990,758,510,559,664,661,587,745,783,871,1246,1466,1686,1242,654,543,498,800,1618,1758,1434,735,978,1272,1308,1338,1220,1168,1002,827,900,874,959,894,735,1228,1116,733,746,899,962,1178,1332,1470,1636,1576,1500,1288,1260,1170,976,1146,1274,1182,1456,1432,1258,1218,1120,1122,1372,1432,1544,1432,1312,984,772,639,806,582,425,593,905,1220,1228,921,778,716,767,977,1314,1070,1014,996,999,1078,966,1058,1416,1118,982,1196,1128,1170,1158,1278,1440,1494,868,454,655,922,976,943,1100,1226,1164,1036,720,415,493,991,1168,902,983,1152,1186,1034,794,946,709,885,1236,1264,1116,1084,1144,1116,1084,1256,1356,1048,1076,1222,781,766,1078,918,868,889,924,953,727,808,936,979,1366,1170,1056,1044,865,1078,1208,871,893,1116,1252,1324,1202,1078,762,748,973,1190,1360,1186,1252,1348,1218,1176,1182,1260,1236,1130,1106,1134,938,1072,1170,1352,1130,1098,1220,1212,1108,1134,1152,1110,1042,813,568,623,872,1350,825,496,565,710,742,549,683,957,1066,1016,731,899,887,808,529,571,459,454,700,888,892,1034,1190,1160,1166,1160,968,891,1116,1094,1214,1254,1240,1094,1042,1148,1138,1230,1404,1200,1300,1276,1356,1268,777,725,840,762,787,880,785,880,1216,1074,1026,1110,1030,1048,1048,613,653,972,848,697,881,980,948,970,1007,1013,619,489,676,765,911,1138,1058,1188,1302,1048,798,662,823,816,988,930,861,1114,938,600,843,1466,1780,1316,996,1324,1172,1078,1092,729,484,514,930,1324,1242,1202,1378,1258,1272,1324,949,944,1064,1232,1114,1146,1140,822,834,866,844,915,709,897,818,797,1788,1998,1440,940,960,1338,1214,735,712,861,780,1306,2210,1682,1470,1478,1424,1448,1640,1742,1368,1074,990,893,1166,1468,1466,1282,978,879,1102,992,761,427,475,983,1002,846,1182,1406,1116,1021,1180,771,512,744,1136,1604,1874,1932,1688,875,547,565,879,1682,1500,1050,794,849,1066,1056,1312,1350,1262,1152,670,361,355,391,410,406,347,303,298,305,323,241,300,298,319,426,429,411,393,383,442,490,477,490,471,494,539,545,488,518,345,378,466,623,612,478,527,633,727,869,1288,1130,736,581,533,522,448,553,882,1210,1072,693,764,739,659,397,289,471,833,1148,995,968,941,732,837,1026,857,593,625,638,511,636,1204],[546,554,469,449,446,437,438,416,417,403,374,374,363,397,367,389,411,399,368,410,375,305,287,297,306,285,280,301,284,262,239,327,379,365,338,339,344,332,318,292,245,238,245,245,278,373,340,312,354,345,315,293,259,229,262,250,307,434,495,377,334,326,312,328,394,449,502,414,406,524,451,398,422,460,349,235,195,197,258,413,502,391,527,642,614,657,433,371,394,787,821,810,1010,877,708,645,486,632,1130,1204,691,468,433,445,648,780,670,1212,1750,1902,1718,1094,1096,971,1124,1044,811,803,670,515,488,461,436,422,359,315,323,415,559,509,519,600,571,623,876,604,326,430,436,362,315,350,410,557,819,642,850,1184,1294,1192,979,1102,906,921,980,838,955,924,921,941,1032,966,1102,1198,1310,1320,1286,1238,1154,1112,1224,1194,1228,1338,1356,1246,1130,1194,1346,1372,1456,1192,1058,1344,927,807,1130,1294,1098,956,882,805,1238,1338,1190,1344,1280,1192,1280,988,1058,907,991,1236,1050,1014,1038,827,775,1060,1048,1194,963,924,1005,1068,1200,910,845,623,391,423,524,459,376,333,458,774,1014,1190,919,979,1086,1068,1152,1360,1300,1214,1372,1544,1138,1336,1464,1308,963,878,877,980,932,936,863,927,993,989,1072,949,1086,1302,1252,1154,1021,1042,1110,1114,1250,1328,1278,1050,885,710,596,532,672,905,969,1009,1042,1180,1230,1292,1218,1106,1318,1404,1388,1146,1296,1960,1790,1226,1038,1162,1238,1256,1324,1318,1290,1162,1252,1346,1242,1126,1364,1348,1372,1304,1300,1308,1136,965,1007,1162,1132,1074,1276,1586,1494,1362,1360,1540,1686,1460,1252,1134,1182,1206,1272,1394,1776,2100,2018,1428,1248,1484,1448,1490,1348,1166,1256,1114,936,1120,1156,1046,1176,1160,1268,1286,1013,1122,1384,1202,1124,1021,581,742,1096,1232,1246,1286,1356,1418,1302,1146,1178,1042,796,965,1042,1288,1320,1330,1216,1252,1022,1102,1312,1242,1118,1400,1366,1294,1354,1026,755,597,554,546,479,847,765,597,736,686,675,957,1046,771,1102,1436,1378,1548,1208,775,937,958,811,1002,1328,1252,1134,1332,1220,1290,1204,1184,1184,834,326,491,945,1060,1078,965,1074,1252,1218,1266,1174,1128,1324,1404,1606,1774,1850,1736,1426,1352,1344,1352,1410,1258,1216,1276,1278,1242,1186,1230,1168,1002,1108,1266,1126,861,811,1001,1110,921,971,1112,1154,1034,982,1300,1396,1302,1058,670,662,908,1100,1258,1416,1348,1260,1372,1536,1798,1854,1822,1798,1842,1888,1880,1804,1452,1074,1011,1252,1398,1384,1316,1338,1498,1266,1352,1650,1616,1572,1366,1560,1504,1222,1166,1430,1520,1210,1066,1408,1494,1182,933,573,519,679,869,775,935,1384,1434,1230,1126,899,1024,1384,1542,1250,1202,992,736,926,1162,1454,1414,1294,941,933,1224,1150,1156,1302,1278,1256,1150,951,929,1068,1234,1180,858,807,703,1004,993,913,1184,1002,907,1202,1132,885,794,929,935,594,502,448,396,645,954,1042,1166,730,583,894,1070,1290,1322,1122,1200,1092,965,1272,1426,1206,841,666,907,767,586,951,1026,1158,991,1440,1494,1676,1750,1654,1516,1440,1262,1146,1372,1392,1186,1438,1638,1506,1344,1208,1294,1404,1430,1226,1062,1096,1328,1548,1270,1148,1450,1350,1426,1384,1322,1372,1396,1154,800,672,985,1452,1054,1144,1256,1120,1094,1046,1160,1384,1784,1678,1214,821,636,1036,1246,1030,958,667,955,934,954,916,919,1068,959,644,524,779,1300,1298,1134,565,659,760,1118,1094,1020,985,1084,1394,1618,1622,1342,938,733,915,959,945,1114,1094,1220,1082,1030,1180,1120,1170,1436,1180,1222,1274,1824,1520,897,1118,1274,1204,1368,1376,1328,1394,1468,1332,1350,1554,1508,1342,1260,1296,1190,1406,1186,1150,1268,1106,1262,1218,1260,1224,1204,865,771,952,553,421,569,601,699,946,983,1100,1394,1482,1560,1704,1700,1842,1808,1768,1808,1694,1588,1372,1172,1344,1316,1252,1366,1514,1274,986,843,1172,1538,1498,1258,1142,1146,1068,933,1106,1188,1130,1332,979,1304,977,836,1032,1152,1206,1282,1246,958,843,930,661,985,1034,1150,1036,811,1144,1582,1600,1534,1324,1640,1310,1182,1188,897,590,615,931,1222,1334,1176,927,692,623,786,1050,1021,882,843,689,822,1100,764,661,904,838,801,1005,1158,936,835,771,1014,1394,1564,1446,1170,1200,1304,1328,1222,1148,1096,1001,1048,833,864,1202,1126,1052,963,1124,1318,1358,1652,1300,676,433,386,369,318,316,374,357,389,443,380,407,516,475,505,564,561,606,496,356,401,388,375,318,313,456,510,454,437,466,590,443,384,361,525,457,419,458,633,775,637,465,469,461,445,448,404,436,462,374,408,459,468,582,587,611,609,547,783,1116,1302,1126,1054,1164,1162,927,962,1194,1244,1066,1019,985,722,709,884,955,832,719,1046,1186,1060,1124,1068,984,1118,938,686,1192,1118,1274,1448,1860,1910,1896,1550,1298,1034,780,835,1744,2308,2186,1704,876,531,521,924,1382,1672,1254,770,579,650,759,1162,1274,607,574,646,636,980,1078,807,744,692,598,728,907,1126,1190,843,609,545,501,445,293,265,473,1142,1332,935,931,625,331,484,638,675,568,890,1292,1054,902,764,565,637,599,808,1052,769,372,292,401,783,705,462,395,624,905,990,1108,825,680,825,895,769,886,860,982,1304,1224,849,737,1204,1344,973,1390,1650,1516,1242,1510,1160,669,530,505,432,626,938,1164,1126,998,544,601,972,896,995,1078,1526,1356,748,668,858,849,1003,1023,881,931,1164,1212,875,514,450,561,783,1084,1178,1102,1016,1058,1086,1232,1144,1122,1176,803,1024,1096,1024,991,935,1032,1188,989,592,460,709,1218,1746,1612,1558,1404,1230,1364,1508,1636,1880,1986,2010,2038,2014,2000,1896,1898,1758,1428,1394,1678,1962,1908,1616,1842,1900,1604,1354,993,590,692,1038,847,724,635,395,470,541,742,908,927,1214,1422,1268,1170,1028,1017,1288,1054,1368,1930,1438,1346,1078,834,515,376,597,1134,811,501,761,1134,1312,1240,1038,1016,865,1009,1058,986,1016,938,831,598,515,555,445,457,567,542,469,246,246,533,987,907,653,753,639,409,504,568,681,1050,1322,1132,1380,1100,979,974,700,765,1050,1074,1232,1376,1324,1344,1180,957,1228,899,653,1164,1370,1268,1334,1019,849,821,730,823,948,827,932,1480,1434,1328,1194,1094,1232,1194,1050,909,936,1110,1204,1288,1122,856,1080,1328,1138,948,888,868,860,917,1072,1214,1412,1576,1196,927,1366,1078,486,448,462,403,601,904,628,502,598,1032,886,989,1304,1434,1442,1466,1554,1674,1232,577,487,477,719,1516,1670,1460,1040,1370,1682,1664,1642,1720,1672,1288,1248,1132,1054,972,886,709,1012,1036,913,1396,1736,1748,1952,1578,1462,1504,1494,1554,1754,1554,1428,1520,1562,1398,1432,1534,1456,1498,1192,1152,1168,1064,1056,1092,853,663,430,404,594,707,645,389,389,714,1202,1158,760,528,741,916,891,1015,875,692,557,688,1116,1252,1258,1576,1218,1362,1366,1214,1356,1358,1298,1446,1268,679,698,808,928,982,1118,1164,921,1114,1076,680,630,890,989,1036,957,1138,1230,1452,1666,703,706,780,904,1134,1244,1178,1046,937,1044,1021,1066,1176,944,1260,1282,852,669,913,987,990,971,983,1040,847,825,1084,1142,1272,1106,966,669,576,951,1272,1232,1023,994,1288,1358,1202,1042,1088,1230,1354,1242,1072,1102,1332,1270,1196,1150,1208,1348,1258,971,1196,1266,1090,1130,933,849,594,668,1026,1238,1130,1007,963,813,600,448,495,713,649,1108,1232,957,871,1074,1174,814,612,554,701,915,922,982,767,640,680,650,526,498,773,967,1024,1140,1322,1174,1144,1142,968,847,764,630,780,1009,1202,1328,1080,714,863,1094,1106,1082,1118,1210,1540,1346,1078,1100,999,699,747,693,847,1248,1376,1070,882,1023,1034,1060,1003,862,962,1114,776,700,664,451,325,578,910,1092,849,886,819,449,538,714,797,1122,1310,1158,1056,640,571,508,920,1130,1120,1168,975,598,639,956,1060,680,754,1058,874,758,844,547,426,415,698,1476,1940,1654,1232,1196,1374,1324,1248,1126,1015,789,956,1540,1258,797,741,872,716,837,839,932,837,1009,1904,1978,1156,542,630,999,910,1060,1502,1782,1150,1046,1080,962,1188,1536,1442,1498,1824,1860,1300,987,1174,1488,1624,1500,948,1028,921,647,1018,1192,706,391,534,1019,1142,1280,1420,1176,725,893,1274,1098,1007,1220,1344,1710,1510,1562,1654,1442,838,583,817,1106,1102,1040,896,940,998,894,1302,1230,1150,1074,738,477,378,350,395,419,353,275,300,351,313,231,275,237,307,443,469,433,416,438,483,520,475,498,461,409,449,450,435,408,305,323,537,674,557,438,440,528,861,765,775,583,633,563,418,551,560,462,742,844,656,445,737,1264,1098,537,325,546,1062,1340,1368,1246,896,598,730,735,746,767,804,632,529,802,1188],[735,803,526,432,433,455,466,430,436,411,343,382,395,438,445,432,440,393,339,302,292,307,313,314,313,300,305,306,269,261,240,283,318,315,343,362,355,340,314,291,262,246,260,273,279,365,393,421,437,364,325,299,271,288,322,303,316,390,427,351,373,376,352,369,421,466,427,414,412,442,434,466,480,613,564,308,213,222,230,279,359,490,987,974,844,889,626,464,324,586,877,1082,1436,1482,1104,824,904,1046,917,731,505,419,491,558,684,714,536,534,987,1606,1580,1398,982,713,944,1001,984,1009,828,730,539,425,455,444,450,439,320,325,359,423,579,699,558,536,544,401,320,430,471,438,364,349,435,647,534,585,932,1050,1160,967,811,912,935,1068,1024,1030,1078,1164,960,966,1036,1110,1448,1264,1046,1290,1364,1316,1284,1498,1406,1180,1220,1202,1108,996,904,1098,1362,1186,1296,1156,1122,1296,896,628,891,1136,908,544,596,837,1188,1124,1226,1412,1512,1082,996,997,1220,1052,1046,1262,1146,872,988,1038,983,1014,847,1104,1118,1146,1010,1090,1114,739,440,384,379,402,437,372,339,368,838,1186,1028,1072,1142,1238,1234,1284,1238,1054,1058,1364,1260,985,915,1532,1642,1396,1392,1326,1262,1164,1074,1060,714,663,893,1238,1216,1040,1146,1264,1172,1202,1096,1060,1218,1316,1440,1448,1156,1044,1094,768,522,466,565,668,785,948,1120,1284,1188,1244,1236,1236,1242,1136,1220,1090,1262,1722,1602,938,628,949,1158,1226,1302,1042,874,835,1078,1292,1210,1168,907,914,1266,1238,1184,1196,980,736,858,1032,1198,1662,1904,1348,991,1088,1296,1540,1582,1338,1290,1324,1336,1230,1482,1516,1768,2050,1748,993,821,1422,2332,3116,2512,1222,969,1050,1066,1194,1168,1074,1114,1232,1356,1238,1044,1152,1186,1140,1064,1196,998,1013,842,875,1284,1388,1588,1424,1266,1188,1220,1206,1120,1268,1408,1412,1280,1246,1288,1136,1130,1144,1160,1298,1162,1268,1268,1368,1322,1170,1068,977,922,613,428,536,504,546,319,504,744,889,954,952,1262,1332,1294,1300,1050,882,1054,1074,952,976,1152,1176,1274,951,1172,1292,1282,1234,1226,1120,813,857,1178,1252,1332,1108,1234,1318,1314,1110,908,1070,1080,1210,1410,1284,1494,1614,1606,1524,1632,1508,1414,1328,1316,1264,1202,1290,1366,1410,1232,1008,868,1188,1230,888,798,1032,1272,1316,1366,1220,833,789,1222,1920,1534,1354,1216,997,1036,1178,1208,1194,1100,904,886,1040,1264,1304,1406,1654,1810,1826,1860,1856,1788,1508,1200,1064,962,935,998,1184,1260,1238,1288,1472,1740,1716,1620,1620,1510,1392,1100,1122,1300,1250,1276,1356,1246,1034,1238,1306,794,522,615,713,828,833,1122,1274,1056,970,1372,2112,1648,1478,1312,1172,836,819,968,777,1188,1398,1454,1036,758,937,677,660,1166,1452,1510,1476,1254,1078,1016,1234,1136,912,1038,794,1134,891,670,777,872,1166,1356,1324,1080,764,870,779,593,595,530,424,508,869,1168,1034,946,911,950,1084,1240,1268,1216,1516,1174,614,966,1288,1312,1056,720,967,1118,946,1176,1152,1164,1288,1778,1766,1666,1484,1146,975,1104,977,879,1428,1494,1020,1318,1642,1550,1426,1262,1210,1388,1504,1278,902,987,1380,1334,1100,938,1144,1062,1350,1492,1258,1064,1011,985,825,849,1222,1612,902,1108,1272,865,634,885,1180,1482,1776,1782,1514,861,641,1226,1280,942,828,571,679,893,988,860,852,1004,926,612,510,818,1344,1302,925,602,573,699,725,576,674,658,885,1212,1262,1436,1492,1214,1042,659,669,929,1196,1348,1448,1348,1226,1204,1092,955,1250,1188,1072,1120,1638,1828,1448,1630,1528,1256,1376,1372,1544,1710,1454,1296,1250,1560,1332,1226,1360,1228,1338,1540,1284,1226,1162,827,1242,1240,1072,1124,1124,851,734,794,573,532,750,674,746,963,871,1064,1100,1068,1376,1416,1334,1256,1258,1600,1652,1678,1670,1388,1338,1232,1120,1418,1268,1226,1458,1614,1348,1158,1562,1682,1192,1284,1304,1138,1042,1114,1482,1414,1322,852,1016,951,791,923,1090,987,1017,1062,1030,1048,1252,952,769,880,872,653,599,1058,1374,1274,1592,2576,3480,1326,766,869,939,794,932,1182,1372,1278,1120,1132,1010,698,680,848,963,847,868,1009,1048,955,804,819,980,999,849,1180,876,722,1328,1252,1332,1504,1598,1416,1340,1280,1162,1170,1258,1234,1198,785,1056,1190,938,1196,1182,875,859,1038,1200,1322,1372,1208,756,498,412,430,392,307,305,351,382,437,367,389,502,339,366,538,633,648,612,532,561,554,564,491,448,534,536,404,477,514,692,643,454,294,400,437,388,422,473,463,376,406,453,474,401,462,553,507,463,425,482,495,429,455,499,414,425,404,672,1310,1274,1114,1178,1072,777,627,631,902,1210,1282,1258,1023,903,1020,946,991,952,852,1242,1124,588,469,519,614,581,581,846,932,1194,1402,1432,1500,1690,1566,1154,1248,1114,835,895,1638,1890,1930,1450,1082,818,703,854,1278,1476,882,628,878,1390,1196,1021,749,523,593,843,1126,1112,1068,1024,1026,963,945,1009,1076,1096,1038,855,803,608,803,999,918,803,918,912,754,584,520,470,465,471,729,955,716,969,1456,1274,975,919,651,669,655,930,1068,766,448,368,358,438,578,723,601,624,876,865,1168,801,796,828,1030,998,815,863,1126,1410,1336,1214,994,947,1082,1112,1236,1364,1322,1168,969,593,388,372,347,392,420,669,1266,1788,1550,714,661,948,758,819,916,1028,1158,873,510,466,735,1068,973,996,1366,1090,942,786,569,519,478,702,889,950,1182,1224,1168,1148,1038,1080,1148,1316,1334,1005,856,510,527,849,958,942,982,744,594,750,1312,2316,1852,1196,1210,1242,1388,1234,1292,1726,2126,2198,2098,2136,2320,2512,2376,1996,1670,1534,1642,1864,1874,1830,2004,1780,1542,1416,1302,965,1362,1500,1106,701,385,374,415,628,1160,1026,737,974,1138,797,846,853,826,1148,1208,1880,2194,1328,892,905,1092,1166,815,1009,1070,692,604,695,780,1016,1128,722,722,657,824,820,820,858,651,588,531,660,833,642,349,433,357,336,259,332,760,1072,928,858,991,691,369,532,638,591,556,678,1136,1112,782,1104,1306,962,805,960,987,1084,1118,1190,1232,1222,1136,1070,1102,1158,1642,1600,1358,1262,1030,1058,893,886,619,773,717,1158,1418,1550,1470,1294,1290,1132,1034,1046,1092,1086,1086,1262,1378,1154,917,1012,1374,1356,1126,985,1218,1494,1346,1274,1388,1262,1198,779,613,1092,827,320,426,439,493,718,843,488,524,539,1124,999,1090,1416,1500,1506,1490,1540,1664,1246,589,476,423,756,1440,1626,1368,1336,1554,1520,1648,1648,1770,1672,1266,1164,1046,984,970,871,713,837,913,1028,1324,1272,1636,1946,1420,1476,1466,1398,1514,1762,1544,1438,1494,1444,1410,1510,1522,1484,1418,1238,1212,1082,1054,996,962,959,797,748,664,383,374,504,344,431,623,894,730,808,877,711,607,636,768,987,1044,945,1184,1304,1194,1226,1506,1444,1678,1338,1178,1284,1224,1140,1322,1190,816,701,745,772,893,725,756,794,931,905,832,1180,1248,1026,1016,663,713,930,1116,1066,736,856,954,1058,1354,1396,1174,1048,968,1162,1334,1110,1246,1302,1372,1340,1318,955,787,947,1148,1160,1244,1184,934,979,1052,711,844,1074,800,565,496,653,1001,1126,941,1108,1288,1346,1236,1042,1244,1404,1332,1154,999,1328,1262,1188,1178,1136,1102,1162,956,850,946,1036,1146,1062,789,493,357,504,912,1222,1062,705,519,423,444,628,773,865,623,646,885,986,907,898,913,576,511,506,625,587,612,940,969,797,649,786,838,596,756,894,996,932,1090,1288,1234,1032,725,843,1118,977,847,1152,1260,1060,800,600,518,589,630,968,839,852,1358,1626,1628,1488,1122,672,844,938,1058,1300,1406,1146,832,735,889,897,932,807,955,1232,700,723,658,518,579,628,890,1146,1100,1152,875,475,928,1274,1138,1088,1166,755,817,761,698,596,852,1100,1110,1314,1170,963,754,923,899,651,644,586,525,697,874,840,549,493,699,1216,1878,1316,1252,1188,958,1256,1422,1208,1310,1160,1178,1442,1204,1108,944,734,562,458,490,664,1034,1432,1616,1590,1124,592,692,1272,1172,1350,1664,1824,1328,690,469,481,823,1238,1158,1306,1672,1708,1582,1334,1516,1412,1374,1406,982,589,455,482,936,1026,755,614,908,1280,1256,1066,1020,1064,948,1072,1332,1350,1158,1196,986,960,841,1206,1836,2148,1420,1218,1370,908,764,755,673,968,1182,1416,1848,1424,1234,1204,849,472,414,375,332,334,266,225,228,334,298,268,295,309,345,406,448,433,415,471,477,500,470,498,469,412,449,464,482,449,316,521,1048,849,495,389,392,521,1048,923,661,552,537,533,446,608,641,395,503,622,523,525,902,1340,1010,736,812,989,1434,1732,1486,947,798,1012,1428,1080,856,1174,1542,932,408,814,1202],[910,797,430,432,440,460,462,440,444,419,344,398,387,419,428,397,432,536,548,374,363,383,329,327,328,310,281,254,250,267,267,273,266,259,312,367,368,368,338,294,277,276,289,274,278,360,400,408,412,357,413,294,226,340,347,332,311,460,465,360,395,399,407,418,429,415,421,426,419,417,478,473,413,433,335,271,245,217,226,240,401,795,1188,1038,742,714,841,763,416,330,472,862,1138,1038,901,962,1256,1166,901,731,554,586,673,820,927,1100,710,492,787,1188,1166,1262,1114,749,828,1152,1350,842,494,695,650,423,403,387,433,439,326,294,359,492,709,823,682,476,426,353,336,417,458,476,457,385,559,613,314,464,660,711,872,699,707,553,651,786,700,1007,1034,894,1014,1274,1320,1460,1400,1198,993,1246,1404,1360,1416,1376,1104,1021,962,893,1122,1162,916,962,1206,1058,1206,1184,1152,1248,846,761,917,793,879,530,498,581,744,717,1058,1350,1446,975,985,1250,1218,992,1190,1586,1292,888,1290,1364,1214,1084,907,945,974,893,912,1023,938,849,561,459,455,437,398,307,364,463,977,1282,1674,1742,1356,1136,1013,1036,896,1094,1288,1328,1012,1068,1360,1776,1802,1468,1088,1052,1312,1250,970,1048,889,850,1060,1450,1392,1316,1240,1160,1118,1094,1088,1204,1258,1304,1296,1274,1214,1034,934,800,588,489,730,901,861,949,1208,1146,1090,1212,1272,1284,1078,1104,1236,1272,1342,1136,801,547,612,990,1158,1260,1094,927,691,844,1042,885,823,1142,1086,1009,1036,1180,1118,941,928,819,1003,1162,999,1348,1544,1274,1126,1292,1540,1620,1480,1456,1552,1456,1264,1272,1438,1462,1570,1654,1332,763,817,1528,2600,3770,2668,1406,1176,1138,1262,1222,1158,1056,949,1210,1334,1094,968,1394,1162,1042,962,1108,1250,1686,1484,1436,1816,1524,1134,808,1214,1384,1356,1200,1172,1324,1282,1280,1348,1538,1520,1364,1296,1076,1246,1284,1198,1200,1354,1498,1372,1332,1252,1011,932,760,536,625,485,573,704,802,893,890,802,693,816,1066,1184,1232,901,675,861,1026,819,878,1198,1158,1152,1182,1280,1354,1326,1232,1274,1366,1502,1324,1158,1044,991,1126,1246,1128,1202,1204,1007,873,1010,1334,1324,1156,1132,1220,1406,1592,1772,1740,1690,1670,1614,1438,1486,1656,1616,1478,1326,1250,1270,1270,1416,1198,855,1072,1286,1244,1144,963,985,1494,1984,2384,1778,1328,1148,1198,1122,978,1156,1300,1038,968,949,984,944,1090,1194,1400,1646,1754,1844,1898,1792,1494,1214,1048,830,865,962,1164,1174,1124,1268,1300,1406,1274,1220,1490,1664,1528,1334,1444,1130,959,1194,1424,966,573,956,1344,1288,1014,1204,1382,1266,960,1252,1410,1180,897,1726,1856,1470,1676,1408,1009,879,732,890,795,808,1216,1468,1362,1160,1256,935,879,1262,1208,1150,1220,1226,1290,1030,1124,1160,1134,1182,1005,922,880,882,607,722,1212,1166,901,721,905,979,724,550,787,937,711,667,997,909,727,1258,1336,973,910,1102,1148,1200,1136,877,692,982,1248,1328,821,697,1116,1518,1108,1056,1462,1682,1614,1352,1086,1198,1592,1372,1072,1044,871,929,1388,1622,1262,1278,1552,1674,1838,1666,1196,1378,1572,1212,1028,1186,1318,1238,988,841,923,746,992,1420,1384,1208,1294,1322,922,1108,1208,1318,1238,1416,1200,720,697,1002,1100,1146,1288,1478,1444,960,717,1120,1250,774,501,546,573,845,1068,861,825,1004,902,553,405,926,1242,1238,889,505,393,426,408,444,458,503,913,1042,1242,1388,1356,1488,1312,832,870,1290,1628,1618,1316,1184,1142,1280,1142,1136,1576,1406,1008,1060,1250,1298,1200,1452,1482,1322,1394,1360,1512,1662,1296,1244,1184,1320,1210,1198,1132,998,1358,1434,1058,1144,1226,839,1009,1172,1136,1258,1046,849,739,749,713,518,758,677,681,996,911,919,996,1178,1312,1244,1256,2420,3144,1078,1590,1624,1536,1474,1420,1366,1372,1664,1360,872,1274,1686,1504,1258,1350,1230,1200,1230,872,686,849,1208,1400,1272,1088,1046,1198,1202,1136,1158,1116,1032,1050,1166,1074,1064,1088,1021,753,666,963,1186,1180,1180,1362,872,1218,1354,954,899,788,749,1094,1466,1350,1232,1206,1102,1202,1422,1414,1007,980,814,670,544,598,901,1008,1144,1194,836,902,774,769,1262,941,696,1180,1172,1210,1550,1704,1512,1348,1314,1050,960,1202,1240,1298,935,1198,1334,1122,1262,1236,1116,1090,1108,1168,1384,1354,820,505,482,504,547,525,427,347,354,298,305,290,319,368,347,457,581,648,713,675,583,520,487,555,637,601,515,628,426,469,502,488,443,342,279,368,416,427,448,432,401,409,476,516,548,538,588,664,588,491,491,548,541,466,566,550,489,441,336,343,735,1046,1126,1184,1180,1282,1180,583,695,1244,1248,1276,1190,1124,990,763,841,714,746,973,987,631,382,358,341,311,744,1192,1128,1266,1458,1318,1001,955,1332,1388,1470,1444,1138,1394,1750,1690,1176,912,1062,913,966,1176,1298,1266,683,818,1496,1418,960,661,444,349,561,929,951,1208,2018,1636,1172,1090,992,891,754,1009,877,968,932,498,837,1358,1548,1238,1404,1166,723,537,486,390,433,504,914,1332,1042,984,1482,1332,999,1114,805,683,793,896,857,658,491,527,683,672,576,751,697,772,888,973,1248,1052,1068,901,1182,1270,1020,1264,1676,1612,1398,1494,1602,1504,1540,1302,1058,805,530,480,512,487,440,541,674,450,458,634,1412,2106,1528,871,984,995,641,662,1020,1450,1180,862,467,681,971,811,766,905,1062,903,792,781,825,672,511,905,1034,1140,1294,1252,1168,1162,1054,1017,894,1420,1830,1096,758,691,889,1212,1456,1108,1156,802,552,868,1021,1134,1436,1432,931,1312,1366,1444,1652,2124,2486,2542,2450,2446,2586,2740,2648,2280,2150,1942,1732,1866,2072,2024,1964,1770,1522,1448,1394,1782,1788,1230,1366,1260,701,500,621,1282,1298,863,473,439,667,1080,1304,1023,833,951,1074,1570,1820,1166,883,620,899,1004,1018,1360,1194,917,855,842,874,861,708,558,581,409,469,510,481,532,804,1152,1372,1514,1668,1080,629,550,421,405,383,291,520,780,952,1128,825,587,325,471,409,521,530,324,942,1118,737,726,784,457,626,874,871,1013,1234,1148,1214,1296,814,719,979,1082,1310,1372,1078,928,891,921,833,627,533,921,1326,1648,1466,1366,1294,1366,1240,890,875,929,910,946,943,1036,1170,1378,1218,784,686,1152,1192,1158,1376,1534,1366,1202,1272,1342,1246,1044,1010,1184,936,409,445,462,781,1054,982,617,505,607,1023,1068,1050,1374,1520,1548,1534,1542,1708,1336,666,495,448,756,1400,1722,1644,1656,1472,1062,1454,1780,1836,1754,1346,1046,963,930,961,828,717,788,752,1100,1528,1254,1312,1028,1009,1284,1454,1376,1360,1542,1462,1206,1178,1278,1430,1546,1554,1440,1354,1106,1048,1320,1410,1064,919,1082,1130,1346,1110,716,425,282,272,456,777,672,575,820,1032,1032,855,707,779,846,839,811,1002,1146,1290,1440,1660,1660,1316,1088,1154,1078,930,809,1054,1156,1118,1030,1042,789,753,725,814,1086,1146,930,938,1044,720,819,877,885,511,554,885,1380,1350,1178,1180,1280,1322,1280,953,900,1200,1576,1548,1394,1268,1222,1108,1382,1758,1350,1184,1180,1304,1268,1088,904,997,1078,1072,963,988,846,558,459,542,705,620,929,1412,1434,1256,1260,1252,1338,1396,1220,1240,1178,1390,1372,1032,1058,1222,1146,1088,1022,979,1034,1028,890,792,699,596,497,383,441,650,721,614,437,390,408,487,834,1060,1004,763,606,619,739,781,697,525,433,448,495,514,702,1078,842,764,1078,987,841,966,890,838,651,728,883,960,1242,1248,957,775,851,814,794,980,1276,1186,934,952,768,499,502,596,897,866,722,904,1512,1594,1526,1532,1560,1040,949,1284,1514,1276,1007,910,933,899,808,975,916,1013,1086,775,531,578,777,1038,1028,1008,1056,998,1080,757,458,1172,1570,1374,1056,786,869,1172,1386,1188,1284,1672,1232,1196,1170,1234,1222,805,836,738,592,578,533,466,741,1488,1510,836,601,918,973,1322,1172,1296,1260,1144,1522,1466,1186,1406,1174,1204,1082,837,659,966,1276,1088,882,872,913,1426,1770,1750,1672,1326,755,1001,1234,1124,1324,1500,1926,1702,927,708,613,727,982,954,1098,1632,1664,1524,1316,1172,1224,1318,1346,1116,720,467,602,857,943,1140,1100,1140,1250,1228,1028,883,1016,1242,1262,1064,1002,1250,886,588,507,468,575,1018,1268,1072,1106,1028,597,659,933,1238,1228,1186,1234,1382,1310,1044,998,928,424,438,344,308,270,241,245,277,366,408,335,309,328,332,391,422,441,445,460,446,443,402,434,436,423,441,432,436,429,262,436,831,786,760,717,691,694,938,1078,1244,1172,625,553,459,694,647,449,404,483,499,947,1282,975,910,1670,1966,1558,1338,1638,1564,897,832,1506,1776,1456,1114,1234,1290,907,613,885,1368],[800,713,443,471,449,480,470,466,457,420,376,419,569,584,430,548,727,680,550,490,509,582,395,340,347,302,249,246,250,277,285,295,283,298,316,355,349,329,310,277,267,285,291,277,283,301,303,408,385,330,384,292,313,344,349,339,395,550,464,392,434,425,484,537,456,422,436,444,448,526,550,403,301,280,227,221,201,190,213,228,253,574,957,766,350,568,799,709,488,402,489,573,560,488,661,1010,1356,1340,1170,1002,763,935,1048,1290,1352,1230,749,656,951,1122,1246,1504,1314,1068,952,1046,1046,662,1040,1628,982,455,388,386,412,411,351,333,398,451,535,661,637,456,407,398,410,426,458,452,436,493,788,581,336,421,630,657,837,829,502,318,303,485,879,1142,1104,953,1128,1100,1122,1150,1140,1114,1102,1072,1120,1152,1146,928,965,1078,1094,1024,1136,1036,749,805,983,989,896,1064,1210,1212,1017,1176,1036,796,1074,607,466,562,902,838,861,1017,1080,1106,1118,1164,865,678,1050,1584,1100,1038,1308,1488,1264,1108,931,819,640,462,756,1084,1104,1164,863,922,675,437,332,336,364,468,540,1036,1858,1590,1046,1028,992,887,899,1324,1276,1180,1166,1106,1220,1338,1440,1616,1412,1204,1472,1316,957,907,1060,1060,1072,1138,1166,1350,1610,1366,1194,1013,1152,1302,1334,1190,1062,1082,1194,1042,858,760,706,785,1021,1082,1166,1070,1102,1038,1292,1168,1130,1140,993,1218,1352,1372,1300,977,552,483,551,682,827,992,1024,1044,709,617,801,833,761,932,756,788,771,941,946,704,913,1098,1212,1130,948,932,1172,1376,1532,1792,1678,1414,1344,1608,1390,1034,1190,1334,1412,1444,1570,1534,1154,838,1128,1708,2788,3774,2378,1120,966,1094,1116,1044,1268,1248,1001,1038,1228,1098,943,1230,1168,1246,1390,1222,1308,1442,1023,1234,1532,1182,879,881,1242,1346,1254,1172,1314,1404,1254,1176,1378,1752,1434,1304,1252,1194,1360,1250,1404,1422,1426,1344,1090,1296,1176,710,789,827,907,706,405,469,896,1128,1116,842,826,1046,1078,1136,1194,1056,768,821,998,1022,937,1018,1240,1316,1368,1266,1080,1080,1084,1070,1170,1480,1494,1372,1262,913,907,1340,1364,1052,938,935,840,1004,1128,1198,1230,1252,1244,1012,1174,1424,1376,1426,1470,1570,1748,1718,1742,1776,1732,1584,1576,1626,1582,1450,1594,1534,1270,1234,1110,1132,930,589,1028,1726,2204,2182,1862,1526,1142,1200,1144,1112,1152,1156,978,929,875,642,879,1152,1258,1204,1182,1488,1686,1788,1774,1418,1072,940,683,786,1098,1116,1086,1088,1090,1184,1300,1166,1056,1160,1618,1622,1578,1458,1162,1228,1192,1244,1146,1068,1238,1312,1418,1180,1230,1466,1346,1268,1452,1446,1196,1106,1496,1500,1316,1398,1252,938,1138,955,966,960,828,1182,1730,1454,1136,1200,1030,1130,1338,992,959,1002,1366,1598,1322,1384,1226,1202,1144,735,744,799,871,582,648,894,1010,865,781,697,717,655,554,869,1154,934,680,739,856,955,1042,1144,817,834,890,1038,1232,1152,1036,1038,1326,1234,1306,1054,962,943,1152,1010,1046,1292,1156,805,626,687,1060,1254,774,1013,1282,1142,1136,1490,1542,1458,1494,1666,1692,1522,1286,1090,1122,1284,1052,1038,1196,1332,1232,956,671,515,424,581,1094,1334,1246,1272,1248,988,995,944,1098,1180,1146,1038,667,680,1005,1194,1120,1190,1328,1356,874,615,821,1162,852,326,358,498,831,1108,926,839,1026,835,554,408,978,1242,1176,877,422,406,383,345,364,476,647,872,944,858,1094,1230,1328,1214,1044,1372,1438,1294,1284,1260,1074,1290,1376,944,1128,1408,1358,1042,858,1060,1164,1228,1366,1532,1428,1324,1268,1206,1156,1376,1516,1208,1144,1210,1180,922,1070,1404,1532,1222,1290,1422,1036,1108,1260,1394,1380,1078,952,796,974,891,536,513,597,1010,1160,1126,1023,1076,1344,1446,1176,1598,4772,5556,1390,1278,1312,963,1030,1358,1482,1406,1402,1322,1394,1686,1516,1248,1108,1282,1204,994,1158,1142,1102,1450,1592,1358,1432,1354,1276,1352,1244,1224,1322,1056,1148,1156,982,977,1020,1048,1030,879,982,1206,1126,863,1126,1416,825,845,1206,977,709,767,922,1728,2392,1526,1240,1100,1192,1196,1242,1242,1150,1234,951,519,452,706,1022,1036,1130,1194,1184,1390,992,847,1021,1017,1052,1184,1078,1192,1504,1636,1522,1238,1332,1312,1164,1360,1094,1158,1238,1324,1328,1190,1162,1114,1306,1360,1472,1220,1434,1686,965,541,500,711,722,580,495,412,421,382,349,301,311,362,366,465,598,612,611,563,468,354,215,323,580,550,400,522,432,353,441,408,292,309,415,462,412,449,434,488,593,503,444,487,509,509,527,578,590,524,471,522,538,495,546,537,514,349,296,292,324,518,874,1052,963,1282,1294,802,742,1054,1128,1182,1128,1108,1080,1080,1034,844,832,966,1042,689,432,381,385,568,998,1140,1176,1168,1158,1038,905,733,796,1374,1214,1058,1284,1556,1660,1178,662,980,1108,905,1068,1184,1202,1068,708,847,1324,926,970,931,540,333,373,642,976,1284,2076,1500,1208,769,565,718,995,916,539,687,565,460,903,1118,1226,1290,1548,1264,850,808,837,633,423,308,635,970,854,1026,1332,1082,964,998,806,738,879,889,837,733,592,807,1098,848,495,409,656,922,1188,1250,1280,1056,830,867,1120,1202,1036,1228,1394,1124,1230,1396,1228,1426,1202,694,647,777,876,1058,754,766,738,1152,1322,835,917,955,1398,1606,1172,984,880,597,739,847,720,946,1048,1042,979,979,763,839,1044,963,931,920,769,786,772,593,493,927,1094,1216,1080,924,999,1092,1042,919,761,786,1192,1214,935,1032,1128,981,1100,1036,1258,1138,915,1110,1048,706,1056,1358,1140,1476,1440,1816,2148,2476,2666,2678,2622,2692,2710,2736,2780,2364,2420,2444,2226,2160,2130,2204,2404,2194,1606,1098,1434,1980,919,755,1340,1060,979,896,876,1336,1356,889,417,276,828,1514,1228,1300,1478,991,836,952,1262,1032,659,671,1086,902,861,1116,1005,1160,957,651,680,1072,1104,874,808,785,601,645,840,897,835,1306,1284,1520,1650,819,531,514,444,334,345,317,365,600,649,520,418,576,379,439,468,399,451,497,734,1206,1370,921,489,508,923,1030,1068,1132,1300,1172,1032,856,949,1158,1114,927,1018,1078,1005,910,933,953,761,399,703,1238,1534,1448,1402,1376,1298,1290,1054,772,1040,1074,979,1016,1080,984,1000,1210,1224,753,781,1314,1294,1392,1414,1358,1338,1290,1244,1286,1266,1114,1342,1498,1256,496,461,476,673,777,968,685,496,641,1003,1110,1102,1358,1536,1572,1556,1572,1766,1380,767,527,396,636,1262,1682,1676,1570,1512,1154,1304,1690,1688,1666,1470,1320,1164,902,967,826,663,959,1018,1256,1682,1300,1322,1280,1132,1322,1510,1420,1400,1366,1130,1130,1484,1398,1606,1638,1252,1194,1280,1278,1396,1176,1005,1048,1118,1152,1376,1358,983,683,375,294,289,330,567,905,934,649,904,1686,1604,1156,1058,1070,907,936,1118,891,991,1354,1504,1560,1382,1460,1448,1262,1204,1178,1078,1318,1216,997,991,943,1068,882,701,1044,1216,910,825,786,545,567,847,741,389,381,781,1016,943,1208,1336,1344,1428,1076,880,988,1176,1350,1372,1404,1332,1078,867,1100,1454,1378,1252,1218,1220,1290,1200,1222,1248,1004,940,920,664,369,363,367,473,609,821,1302,1362,1384,1396,1180,1320,1378,1168,1138,1188,1082,1086,1056,1042,960,1007,1042,1020,943,875,799,680,541,533,664,689,527,323,341,435,441,366,358,383,415,634,1068,1270,1068,697,468,553,540,439,419,420,529,542,516,479,883,1110,629,556,778,915,1130,1158,1212,1012,662,551,724,963,1078,1146,1130,1186,1132,892,867,876,873,984,918,1017,886,664,565,637,745,804,633,942,1350,1176,1130,1702,2280,1160,742,1108,1162,1072,871,758,680,831,932,1380,1158,855,837,752,617,555,777,1112,1178,1350,1366,796,709,565,613,1088,1009,822,778,891,1108,1394,1310,1174,2284,2138,1244,1009,850,1102,1062,857,710,645,658,636,587,476,1028,1824,1366,686,613,844,972,1230,1152,1172,1324,1272,1350,1226,1176,1340,1214,725,583,737,1082,1526,1642,1378,1106,1124,1050,1138,1328,1444,1474,1212,883,921,1052,1282,1378,1426,1594,1418,930,876,804,555,498,420,880,1620,1832,1592,1166,1022,1308,1456,1376,1064,783,473,569,626,697,883,882,1008,1248,1326,1196,833,1202,1584,1040,790,870,1302,1001,863,803,594,575,698,841,1224,937,616,473,621,1158,1286,739,669,772,782,894,675,644,933,430,341,275,333,380,324,353,443,337,274,289,321,328,495,499,455,435,388,382,419,413,397,401,381,369,361,405,400,341,559,842,830,834,1468,1526,1440,1260,1038,1380,1630,1230,670,502,431,678,697,568,379,295,390,703,1038,1023,866,1064,1022,1178,1508,1478,1556,1410,1026,1218,1172,1090,1098,1042,1050,1214,1166,1296,1416],[952,683,451,481,481,499,480,472,462,451,407,440,564,510,604,854,791,494,433,574,725,700,443,370,425,351,276,271,289,300,279,285,285,297,298,323,356,354,343,314,277,279,284,281,285,263,266,384,446,391,408,381,340,350,347,341,389,647,558,496,563,644,665,661,664,554,450,471,473,521,477,338,284,298,243,210,215,210,202,203,190,266,500,560,635,836,937,1122,762,448,432,385,447,675,953,1110,1170,1154,1000,728,673,879,1110,1278,1400,1080,774,1030,1430,1228,1208,1234,1206,1200,1038,1144,1142,949,1432,1772,1122,568,419,393,398,420,406,412,421,416,402,383,337,415,462,458,415,400,435,493,514,769,1002,561,334,351,482,533,508,508,429,323,313,487,866,986,943,716,703,665,954,1086,1442,1334,857,821,956,1202,1068,840,1030,954,1142,1124,1030,767,1009,1100,1070,1068,1134,1210,1238,1154,955,1090,974,866,738,464,518,691,979,895,850,946,1020,1172,1148,946,752,804,1114,1054,1024,1302,1368,1356,1212,984,909,975,632,439,638,1028,1152,1126,1036,1016,644,353,343,418,419,576,695,992,1154,1116,1078,911,1164,987,1092,1808,1778,1090,910,1306,1320,1060,1168,1334,1616,1650,1620,1292,888,926,1040,1094,1182,1202,1172,1274,1676,1604,1666,1212,1158,1212,1186,1062,1042,1034,1108,1224,1120,880,966,1136,1390,1358,1124,1094,1140,1256,1236,1052,1272,1250,1192,1216,1300,1336,1202,1230,735,499,507,420,825,1118,1174,1058,668,819,1032,930,930,1052,930,949,963,915,633,570,692,769,948,1023,963,1020,1174,1290,1700,1836,1534,1146,1070,1438,1240,935,968,1100,1248,1270,1538,1564,1160,976,1216,1798,3038,3592,2286,1268,1228,1322,1122,965,987,1188,901,812,1015,808,689,766,983,1198,1050,1148,1374,1358,1478,1338,1021,744,778,1178,1306,1272,1326,1354,1288,1044,763,899,1202,1212,1172,1444,1438,1324,1298,1278,1350,1180,1142,1104,1038,827,791,493,561,785,966,589,394,543,974,1320,1146,799,733,806,896,868,1200,937,645,884,977,979,1112,1086,1094,1276,1294,1278,1222,1272,769,996,1190,1468,1342,1164,1228,1308,1080,955,1056,1044,928,1072,996,937,1044,1168,1518,1520,1398,1102,1024,1216,1294,1134,1162,1020,974,1272,1608,1612,1558,1598,1672,1762,1738,1750,1778,1832,1682,1598,1388,1216,1162,763,914,1072,1416,1568,1720,1632,1238,1168,962,1366,1278,931,918,1094,1092,840,1026,1306,1376,1154,1092,1308,1394,1712,1776,1366,1028,929,924,916,995,1188,1250,1164,1720,1992,1686,1484,1490,1580,1586,1582,1644,1382,1244,1196,905,897,1140,1290,1274,1036,889,1036,1204,1332,1372,1276,1160,1126,1244,1290,1412,1454,1292,1246,1154,1154,1268,954,825,763,791,1318,1644,1324,1182,1230,861,929,1048,706,772,1060,1496,1600,1468,1444,1146,1250,1170,744,1116,971,769,842,894,1116,1124,1158,1017,739,704,696,798,931,959,1074,978,669,994,1100,907,812,781,865,752,917,1102,1132,1140,1216,1378,1158,1210,1310,1346,1378,1576,1312,984,1104,1230,888,996,1234,1350,1250,1019,1060,1434,1670,2422,2376,1540,1428,1412,1608,1598,1020,1344,1404,1184,1206,1158,1042,1444,1760,1412,1142,737,577,522,544,800,1088,1112,1064,1064,1246,1302,1134,1202,1156,988,993,713,648,955,1230,1566,1538,1266,1064,722,495,689,984,779,386,422,511,792,1005,914,868,945,849,667,573,1015,1320,1176,768,433,422,424,393,465,858,783,650,768,729,1070,1328,1140,966,1088,1338,1222,1302,1600,1638,1290,1026,738,648,963,1182,1090,1026,894,1048,1162,1402,1468,1682,1388,1216,928,679,676,1062,1390,1372,1017,959,1214,883,1015,1242,1340,1334,1478,1320,1112,1030,1106,1402,1086,1000,1004,872,1050,801,497,627,1104,1328,1354,1350,1172,1224,1348,1364,1118,1328,2086,2244,1316,1358,1522,909,843,1232,1494,1606,1548,1520,1392,1520,1400,1066,1138,1116,1064,703,795,1148,1202,1642,1804,1108,1266,1366,1338,1232,1258,967,1126,1266,1152,1108,1202,1102,944,933,833,963,871,1005,1005,922,1378,1376,1440,1376,1426,1366,1036,860,1136,1660,2048,1440,1442,1452,1138,990,804,773,860,1070,1016,887,835,979,1190,1092,1126,1128,1156,1262,1126,957,932,1338,1838,1394,1156,1242,1368,1554,1550,1288,1548,1770,1300,1156,1216,1274,1160,1102,1314,1498,1460,1230,1250,1228,1360,1380,1410,1174,691,545,602,689,534,305,294,456,529,450,372,321,329,409,428,381,423,470,458,388,377,284,235,286,405,425,480,516,454,381,411,397,366,415,490,470,320,487,425,388,488,383,374,516,594,537,385,299,390,464,443,420,484,499,397,365,382,334,307,305,301,320,526,828,786,1074,1114,1200,1102,1190,1176,1080,1144,1060,912,1066,1034,816,629,840,993,802,525,451,667,1102,1208,1638,2000,1230,1034,1190,1272,802,813,1272,1312,1500,1574,1350,1154,789,641,962,866,774,907,1374,1126,1350,1054,843,922,1092,1388,1112,547,353,322,456,819,1112,1392,1296,1278,831,530,737,851,600,569,518,353,388,805,768,789,1016,1156,974,871,1106,1178,910,579,281,484,847,697,755,976,649,547,860,920,776,848,907,908,776,672,1004,1292,691,406,397,491,774,1034,962,951,951,1088,1082,811,807,847,977,1330,1568,1650,1260,760,892,1048,1040,868,833,1030,1316,1009,947,609,655,956,977,799,615,696,807,794,913,730,653,883,1076,871,980,1254,1364,998,703,769,922,1150,996,1232,1052,1016,988,719,511,525,865,1094,923,804,878,749,814,1011,930,775,627,707,1146,1088,940,888,760,623,747,1046,1050,1198,1388,1374,875,999,1132,1356,1288,1472,1842,2154,2554,2730,2596,2416,2512,2464,2598,2836,2664,2624,2574,2488,2060,1824,2178,2416,2124,1528,812,782,865,631,617,720,560,871,1088,993,950,913,506,308,330,473,578,852,1366,1356,1310,1332,1136,963,1154,1154,1168,1304,795,608,897,739,920,1066,741,709,1108,1230,885,866,979,644,656,667,830,604,910,924,1070,931,443,423,547,491,330,298,321,394,521,520,283,273,422,502,504,363,236,466,868,1044,1444,1614,1300,838,710,964,1064,1288,1544,1498,1084,602,789,1254,1260,1492,835,663,686,746,683,867,1214,974,796,1314,1626,1600,1528,1534,1416,1322,1188,1114,824,900,1036,1042,1202,1262,988,705,654,760,712,956,923,1114,1210,1256,1450,1372,1224,1262,1206,1130,1114,1256,1372,924,481,479,711,886,1164,1216,863,549,631,1000,1068,1176,1384,1556,1592,1578,1588,1742,1486,990,676,400,582,1276,1648,1704,1426,1278,1074,1226,1572,1498,1626,1478,1080,1100,910,944,862,716,1122,1324,1244,1288,1422,1620,1732,1538,1302,1310,1282,1150,1310,1068,1090,1164,1322,1660,1476,1272,1270,1072,1184,1058,908,998,1046,797,1240,1414,1236,1188,850,504,368,369,409,683,1156,1050,803,1084,1560,1516,1168,1140,1136,1158,1574,1478,927,990,1048,1218,1302,1450,1884,1710,1394,1172,1174,1160,1282,976,592,607,977,1288,1120,902,756,852,775,844,764,650,608,717,673,594,495,522,783,1062,926,1148,1278,1158,1100,1048,1134,1058,962,1104,1312,1368,1108,1146,999,1126,1246,1080,822,928,1056,1170,1134,1005,1020,991,738,756,463,331,364,585,766,1140,1256,1326,1222,1156,1300,1382,1362,1180,1074,1010,968,926,1058,1116,1194,1134,961,858,801,725,615,514,473,514,667,582,437,386,367,453,451,412,419,493,709,1110,1224,1134,976,953,575,645,652,538,453,474,832,838,429,677,1108,1078,899,761,680,648,646,879,1166,1256,1234,1188,1090,976,1190,1396,1054,1148,1296,1246,886,563,433,455,588,1009,1198,871,744,810,984,866,702,1276,1348,1194,1350,1404,1118,843,934,1082,945,879,722,626,914,899,865,1340,1046,655,602,605,696,667,550,824,1142,1302,1278,1154,587,430,538,744,807,938,1166,1050,835,1015,984,1184,1338,1062,996,756,778,968,838,702,739,785,708,662,581,564,1186,1422,972,963,942,743,979,1318,1156,1318,1506,1510,1466,1248,1196,1154,1126,950,755,872,1334,1340,1230,1270,1334,1344,1146,1176,1210,1078,1102,1232,1092,832,1106,1384,1228,1154,1140,850,686,726,855,799,705,843,1278,1484,1538,1478,1322,1482,1224,1224,1186,944,796,495,312,328,529,763,686,830,1134,1246,1306,1016,1378,1418,1172,1082,1190,1128,780,952,1152,959,838,1108,1236,1604,1102,721,634,675,697,866,800,644,718,543,526,601,658,990,616,426,371,286,327,264,388,478,312,333,386,368,331,542,542,413,397,388,413,449,427,404,375,352,380,362,394,285,564,1390,1590,1160,1110,1540,1476,1374,1306,1186,1228,1182,843,742,529,450,567,590,540,505,458,474,727,1128,929,617,559,495,569,1082,1282,2098,1672,990,797,771,904,865,761,907,1156,1250,1072,927],[875,543,434,480,507,508,480,466,462,453,441,432,413,408,588,642,448,545,675,673,653,566,477,439,410,313,293,287,288,294,277,280,284,298,308,349,392,379,384,319,272,278,295,267,270,265,294,505,684,601,416,304,303,303,286,300,314,573,522,437,447,543,559,517,602,632,600,557,399,368,363,310,327,325,253,235,296,365,349,327,252,229,267,489,671,700,650,926,571,372,450,615,1012,1240,1036,1212,1272,1476,979,500,488,565,901,1112,1128,1188,1120,1394,1704,1378,1036,805,979,1242,1034,987,1096,1310,1508,1572,987,658,470,423,386,403,375,398,400,388,366,354,350,382,440,445,397,398,430,459,567,1012,682,387,300,287,283,343,380,411,373,344,406,667,1192,924,755,930,711,623,816,1332,1716,1166,821,926,923,1234,1190,1068,1094,1214,1274,1260,1092,810,885,1260,1456,924,1122,1276,1420,1114,844,1007,876,649,393,356,490,496,509,709,1021,1072,1220,1190,1262,1060,931,834,891,937,1144,1286,1174,1120,1112,965,1088,1158,662,473,594,816,966,1126,1058,781,478,394,422,427,458,915,975,730,538,560,596,901,1272,1240,1172,1394,1440,977,1044,1356,1320,1184,1184,1318,1296,1396,1586,1546,1472,1400,1650,2348,1690,1226,1274,1288,1526,1650,1764,1512,1258,1374,1350,1084,984,1166,1172,1218,1208,954,658,745,1330,1576,1788,1586,1162,1246,1146,1126,1234,1094,1268,1296,1316,1406,1264,1352,1034,648,539,573,881,1112,1186,1334,849,931,1148,851,932,903,990,1102,1136,1180,880,586,493,378,510,984,1056,1240,1266,1494,1614,1620,1332,960,922,1194,1282,1032,1058,1112,1082,1188,1364,1304,933,755,1054,1920,3316,3538,1934,1320,1190,1274,1282,1266,1166,1250,935,746,819,808,935,990,1084,1116,1100,1330,1278,1356,1620,1300,973,832,1010,1292,1294,1358,1358,1378,1374,980,864,1202,1034,1042,1260,1596,1428,1190,1186,1290,1208,1158,914,1164,1082,578,408,371,334,678,1022,986,772,710,1120,1150,963,957,613,742,503,685,1064,682,540,803,921,890,940,1064,1246,1318,1086,1260,1194,1082,577,676,1020,988,1070,1126,1110,1550,1294,767,1510,1328,1182,1378,1266,970,811,1014,1328,1392,1406,1252,1024,1090,1164,1066,1144,787,661,1096,1338,1204,1136,1088,1116,1250,1300,1446,1488,1566,1632,1712,1780,1648,1676,1426,1376,1464,1360,1380,1570,1550,1518,1324,1226,1360,1410,1238,1228,1242,1194,1116,1176,1758,1708,1322,1138,1320,1622,1782,1882,1458,1052,1086,982,804,1056,1146,993,1224,2184,2316,1936,1214,1246,1464,1396,1400,1482,1610,1526,1270,1044,960,946,1204,1268,1078,885,1188,1424,1344,1294,1108,899,976,1046,1112,1404,1328,1276,1000,1005,1224,1286,1142,1148,932,923,1478,1378,1172,1264,1154,837,776,688,623,760,979,1376,1426,1296,1204,1090,1272,1248,1058,1214,886,938,993,861,1074,1238,1210,1122,1146,1244,1168,1118,1106,1146,1420,1410,920,1056,1224,1090,739,804,1118,1078,1204,1340,1308,1340,1226,1294,1070,817,1222,1562,1428,1110,894,823,937,1198,918,922,1266,1108,1422,1430,1078,1256,1692,2014,1556,1406,1366,1288,1456,1644,1238,1586,1614,1382,1194,1160,1158,1418,1874,1688,1424,1110,867,634,715,699,585,757,960,1156,1326,1172,973,1202,1172,1074,1076,720,500,748,1012,1330,1410,1360,1248,988,681,892,982,647,463,433,554,764,816,789,870,857,704,530,622,1136,1274,1252,648,441,444,436,372,450,758,636,522,708,918,1156,1138,1080,899,942,1034,1226,1214,1140,1398,1230,761,678,874,1064,1096,1158,1544,1582,1620,1060,1218,1950,1764,1272,1038,1156,1128,742,965,1354,1304,946,907,1036,662,715,1144,1242,1252,1360,1266,1132,1062,1184,1280,927,935,1164,1112,979,835,685,658,836,1094,1388,1370,1017,1258,1354,1356,1378,1400,1208,942,953,1512,1604,1056,999,1116,1188,1306,1368,1534,1572,1466,1204,1066,1180,1340,1288,905,845,1166,1198,1198,1436,856,1023,1354,1320,962,887,808,1202,1292,1106,1590,2078,1616,1316,1184,835,895,730,971,1120,1256,1300,1468,1658,1592,1504,1544,1318,1100,1198,1306,1308,1378,1478,1476,1356,1130,874,891,1013,1140,1060,1200,1272,1120,1078,1112,1190,1170,976,736,774,967,1032,1620,1976,1360,1272,1310,1358,1570,1846,1580,1296,1434,1502,1172,963,1176,1160,1104,1418,1440,1294,1172,1062,997,1160,1148,844,537,400,456,541,467,417,366,392,453,444,361,320,314,337,388,381,371,399,499,405,369,489,390,422,545,453,438,612,721,589,376,354,427,415,417,380,364,323,431,419,372,378,338,419,602,586,446,241,215,307,403,467,442,459,407,402,534,514,396,338,249,277,291,450,764,1072,1186,1246,1378,1190,1106,1066,995,927,844,823,1026,919,909,814,932,1158,1180,766,512,1050,1308,1294,2096,2130,1256,1292,1348,1010,846,1234,1324,1266,1342,1372,1076,847,1040,893,971,725,797,1050,1028,778,991,810,593,814,1190,1186,709,391,470,578,907,969,1160,1132,1108,1288,1078,716,530,419,342,505,743,579,436,1015,957,902,1152,1019,728,858,1056,890,555,498,415,413,698,720,631,863,711,624,1046,1126,934,797,771,686,620,613,719,776,709,700,836,782,857,1064,1148,1144,1024,863,713,529,625,901,1234,2276,3370,2836,1302,565,492,552,854,973,895,1238,1356,875,764,499,344,658,738,468,434,634,957,1050,1152,973,1026,918,1154,865,636,894,1246,1156,935,718,714,830,714,1070,1144,1312,1130,689,486,702,1212,1384,1136,956,885,886,764,833,849,844,1142,1206,1082,750,568,631,778,961,1118,897,591,1010,1206,1260,890,1084,1282,1300,1090,1504,1770,1900,2252,2398,2248,2102,2244,2226,2544,2786,2790,2702,2668,2580,2210,1948,2248,2382,1854,1290,1017,927,902,895,588,424,616,604,677,995,1013,586,284,327,324,402,491,936,1072,950,999,1160,1172,865,784,680,875,966,510,416,682,913,1104,1072,827,946,1156,1302,1152,1030,835,728,813,578,843,752,746,1152,1422,1004,636,516,492,549,551,453,377,509,484,444,312,261,438,645,607,463,226,394,774,1218,1770,1664,1346,1276,938,771,932,1388,1524,1244,864,602,1032,1226,1056,1142,822,703,581,521,477,547,925,1170,1164,1256,1172,1296,1888,1810,1448,1224,1106,969,938,1104,1072,1104,1316,1268,1088,863,659,654,846,1322,1110,822,863,1094,1402,1336,1116,1290,1244,1226,1294,1092,1268,812,431,904,1456,1262,1264,1314,1144,581,585,1074,1116,1210,1398,1564,1608,1582,1578,1656,1562,1138,719,418,502,1246,1638,1626,1484,1328,1302,1408,1542,1688,1818,1608,1266,1382,935,794,680,700,1104,1400,1310,1226,1266,1390,1718,1586,1544,1232,892,1054,1230,947,908,1144,1484,1660,1388,1394,1336,921,847,625,869,1178,1312,1036,1176,1310,1248,1316,1472,1192,797,556,510,533,896,1126,1260,1726,1544,1282,1152,1194,1202,1248,1308,1164,1011,960,720,1088,937,1042,1324,1370,1414,1372,1300,1312,1220,978,677,625,907,1136,1178,1032,847,658,720,748,901,1168,1166,1005,893,854,797,554,631,953,952,1084,1322,1216,1092,1176,1172,1012,1094,1140,1340,1304,1218,1108,1056,1218,1162,897,783,761,1012,1238,985,872,965,841,716,763,521,470,493,516,854,1436,1394,1136,1162,1272,1388,1562,1778,1238,1178,994,901,1126,1252,1270,1222,1234,1054,749,692,591,510,544,534,414,379,397,435,432,389,409,479,505,550,786,1158,1348,1204,1074,792,553,432,502,450,364,440,466,501,426,528,1152,1214,866,861,1030,851,648,510,479,658,938,1140,1007,808,808,1322,1396,1222,1348,1340,1132,888,704,548,340,433,773,858,656,739,908,1414,1404,1238,1516,1468,1370,1328,999,964,1166,1208,1136,910,929,944,929,1110,1028,929,1040,993,781,570,436,595,649,455,886,1170,1252,1326,1358,885,716,855,955,950,926,1056,1318,1066,965,1032,1340,1414,1368,1168,943,1194,1080,611,494,577,645,657,664,720,819,1130,1046,734,827,991,917,870,1044,1194,1526,1336,1284,1188,995,1070,1252,1376,1192,724,623,709,800,1110,1212,1388,1200,1114,1490,1398,1260,1122,1088,1030,1186,1422,1606,1306,1214,1182,902,721,561,992,1460,1456,1500,1410,1194,1498,1482,1230,1282,1040,962,1013,794,785,683,411,312,680,881,721,700,1124,1130,1260,1132,1390,1234,1094,1104,1120,918,580,738,1098,990,639,1010,943,1056,1250,1124,844,702,497,385,726,1100,708,462,397,501,728,1006,656,480,374,254,255,265,306,326,299,333,380,366,312,492,464,316,364,383,356,417,421,407,400,506,480,307,320,297,1010,1520,1342,1072,1064,1248,1068,1272,1244,806,484,514,606,1003,1092,963,1009,771,543,683,637,594,753,1060,531,502,885,942,842,995,989,830,738,849,851,822,769,590,802,1142,1032,938,932,1098],[625,602,507,526,567,532,471,461,467,472,476,434,422,400,428,555,686,802,695,514,463,576,596,434,347,351,324,307,293,296,288,272,266,292,305,354,417,388,336,285,262,275,296,289,280,281,299,475,708,662,452,301,284,248,237,215,216,378,446,407,347,374,375,424,645,882,792,602,374,358,362,350,313,276,257,263,480,929,1170,865,415,288,280,310,463,435,366,449,531,573,824,1224,1450,1272,1138,1214,1322,1366,991,778,515,440,832,1088,1152,1290,1100,1100,1094,1070,998,1110,1200,1064,950,1001,1548,1578,1472,1638,1290,890,552,428,368,333,366,376,364,347,342,334,321,341,370,391,402,413,445,498,713,864,421,323,322,299,272,258,318,356,339,367,462,1042,1580,1184,647,561,517,538,706,1266,1504,920,933,933,935,1088,1170,909,722,705,1004,1236,1146,1130,1017,1344,1626,1146,1512,1544,1690,1068,691,913,728,466,409,464,496,444,353,645,1148,966,1170,1136,1090,999,880,797,918,1008,959,1088,1174,1178,1106,897,838,946,791,543,583,738,942,1020,966,926,538,390,366,323,288,491,445,330,371,384,450,744,915,1154,1250,1120,1082,993,956,969,1118,1088,1138,1332,1304,1238,1202,1406,1732,1590,1700,2046,1354,1082,1176,1166,1224,1130,1348,1642,1672,1476,1244,992,805,1034,1106,1264,1068,957,709,913,1300,1376,1624,1456,1130,1096,1003,817,1066,860,1388,1272,1070,1182,1264,1418,1278,933,708,922,1310,1554,1370,1570,1404,1584,1502,1170,1246,1352,1162,871,1092,1380,1180,1140,1282,1080,1012,866,1036,1230,1290,1688,1866,1624,1462,1492,1312,1650,1520,1072,1054,1082,1036,1192,1294,1118,834,756,1124,2084,3400,3400,1654,1306,1086,1150,1384,1394,1402,1638,1364,910,668,815,1282,1242,1230,1182,1202,1330,1280,1404,1364,1132,1102,1108,1220,1358,1586,1286,1108,1024,1354,1358,1278,1190,1238,1594,1554,1400,1610,1356,1042,1288,1160,1268,1154,1360,824,485,477,353,336,466,720,966,937,909,1100,610,688,1198,775,745,686,906,990,680,482,625,653,599,781,1004,1376,1150,782,796,825,578,386,455,683,788,947,1110,1088,1388,1380,1100,1488,1168,1174,1246,1038,817,730,788,860,844,884,920,888,1096,915,712,713,562,725,1108,1156,1078,1132,1228,1152,1128,982,1112,971,1142,1014,1044,1386,1592,1648,1574,1640,1696,1584,1608,1708,1662,1746,1702,1722,1628,1614,1562,1496,1308,1228,1148,1332,1834,2422,1566,1306,1204,1592,1936,1948,1356,791,980,877,744,1094,1228,1128,1126,1282,1670,1354,755,1005,915,841,1168,1324,1450,1528,1222,940,1080,1106,1130,1132,1148,1132,1352,1500,1410,1390,1114,1032,1116,937,968,1216,1200,1142,1070,1036,1242,1312,1176,1094,1128,1106,1332,1310,1886,1572,1122,813,658,642,756,985,1170,1356,1222,991,1250,1254,1300,1076,1009,1064,951,991,792,733,1232,1388,1180,1036,967,1348,1462,1434,1372,1222,1154,1023,857,1010,1144,1134,899,802,880,1282,1358,1326,1372,1296,1230,1354,1112,1110,1462,1202,892,669,729,880,890,1012,826,888,1152,1124,1388,1364,1084,1054,1376,1374,737,1162,1286,1230,1266,1638,1506,1488,1542,1382,1094,936,985,1002,1236,1188,1084,886,737,674,937,885,878,962,883,1242,1290,932,980,979,799,863,869,684,534,803,1332,1528,1464,1368,1394,1506,1204,1120,1222,799,457,380,598,770,782,781,852,901,724,514,574,1262,1244,1202,625,453,441,427,422,412,413,397,400,558,793,944,996,1156,1226,1070,1040,1268,1086,1028,1370,1562,1274,960,1182,1416,1122,1090,1250,1340,1232,1446,1488,951,1088,1588,1348,1458,1470,1336,1318,1396,1206,977,938,824,617,742,1005,1166,1142,1242,1270,1242,1170,1044,1014,1270,1216,1368,1204,1126,1088,935,724,888,1086,1284,1274,1200,1296,1434,1332,1072,889,865,1126,1340,1400,1278,720,778,1232,1242,1138,1070,1148,1440,1620,1592,1506,1252,1250,1440,1450,1486,1276,1182,1224,1340,1142,1628,1544,1244,1096,901,763,987,978,1015,1800,2406,1744,1544,1312,1184,1046,1042,1160,1118,907,897,1178,1250,1238,1310,1504,1300,1314,1316,1350,1258,1230,1296,1248,1282,1102,796,866,1106,1162,1108,1058,1306,1226,1176,1208,1138,1054,846,744,865,1052,1068,1160,1144,1240,858,763,1058,1542,1628,1132,1086,1458,1270,758,918,1422,1216,1204,1194,1190,1162,996,918,882,1009,862,354,332,336,370,433,422,516,554,485,408,356,272,255,272,332,372,386,436,392,438,411,475,612,488,474,598,561,495,567,601,434,348,327,498,607,449,317,342,367,393,422,398,342,312,388,465,404,344,288,293,367,493,565,498,463,457,406,455,471,426,319,249,277,328,526,771,995,1098,1278,1226,975,1048,1018,901,869,996,1086,1160,1122,1146,1254,1198,905,748,661,827,1162,1058,985,1312,1334,1310,1396,1394,1312,1312,1262,1072,1084,1164,1344,1220,699,545,648,1174,1104,837,675,483,430,556,758,768,822,1056,1172,709,514,561,664,1072,1090,863,822,1154,1430,1322,1046,511,341,397,552,771,621,509,953,944,794,1234,1020,481,604,570,444,662,855,585,448,841,763,472,602,711,930,929,1092,1164,1032,832,788,709,602,658,788,839,995,1186,1226,1340,1454,963,517,356,293,344,393,636,981,1200,1460,1336,843,600,380,346,317,342,663,938,880,643,527,487,419,451,516,440,394,416,634,1330,1232,1082,1114,1162,996,985,894,739,700,872,786,603,685,965,996,936,793,786,988,1016,763,522,757,1184,1350,1176,965,894,1003,880,1054,1142,973,1042,1122,1088,1062,680,638,656,911,969,626,466,727,830,1060,1262,1220,1360,1122,1098,1490,1576,1606,1898,1986,2024,1922,2082,2250,2512,2534,2416,2498,2498,2678,2512,2068,2134,1932,1402,1078,1066,1174,1248,1402,1170,448,529,540,828,943,924,771,427,349,352,402,494,843,1015,1110,927,898,1003,958,1054,922,687,781,874,788,502,568,1166,1278,667,589,850,1044,1026,897,728,897,772,464,614,518,722,1706,1964,1404,1106,866,877,1010,1132,854,558,554,557,414,362,407,534,610,561,476,317,345,455,1005,1582,1598,957,998,1238,1176,1274,1444,1136,886,1120,888,1076,959,1008,719,559,598,822,807,469,339,702,1210,1118,1024,1088,1172,1372,1576,1366,1416,1464,1210,1322,1190,917,1278,1250,1328,1316,1210,1082,1164,1260,1500,1588,1458,1678,1742,1372,1174,999,1236,1332,1272,1282,1074,1224,1028,448,988,1604,1382,1250,1390,1124,625,546,1112,1190,1162,1416,1572,1588,1576,1582,1646,1594,1144,617,449,502,1086,1576,1624,1466,1326,1402,1298,1240,1416,1416,1312,1106,929,655,571,694,1084,1294,1362,1388,1312,1220,1184,1238,1262,1322,1084,993,1042,921,811,1030,1390,1566,1598,1532,1506,1278,890,659,518,565,1044,1298,1230,1284,1274,1212,1528,1510,1260,1394,935,842,614,1009,1348,1098,937,885,1013,986,778,852,930,868,882,1106,1074,649,824,965,1082,1274,1296,1452,1448,1334,1390,1258,1158,818,703,781,1202,1186,1060,1080,847,821,998,1204,1476,1252,1154,1072,797,713,839,1086,1224,1184,1178,1296,1238,1186,1426,1444,1126,1052,1110,1204,1003,1166,1078,965,1410,1582,954,653,918,1152,1214,1092,969,962,859,809,648,729,578,420,435,921,1572,1300,959,1146,984,1058,1272,1314,1134,1120,1124,1530,1484,1182,1252,1248,1154,803,891,926,643,473,490,462,456,360,315,350,375,385,421,514,528,656,1042,1170,974,1058,803,545,480,396,348,368,472,577,444,279,358,866,1166,1104,1060,925,944,816,607,463,445,506,655,794,900,1068,1132,1386,1450,1354,1510,1280,955,926,824,755,499,506,581,427,459,924,1250,1578,1728,1610,1500,1282,1194,932,656,712,1264,1384,1236,1106,979,1278,1214,1050,1112,1030,1040,977,718,472,455,439,422,619,1034,1444,1582,1400,1142,868,752,799,731,880,838,1002,990,825,780,980,1266,1340,1450,1408,1484,1662,1178,577,527,596,725,785,720,620,512,628,751,663,547,869,1116,1016,1188,1328,1318,1082,948,1068,1238,1312,1334,1190,827,636,591,432,404,593,875,1260,1190,1402,1632,1666,1556,1088,1005,667,1034,1360,1550,1222,1192,961,550,420,406,623,973,1072,982,918,1168,1238,1054,802,683,897,1070,1144,1074,962,775,642,710,1184,896,1084,1160,953,616,723,849,1190,1374,1294,1238,1064,644,537,480,647,617,579,1028,1004,980,1230,1238,1024,810,680,1110,1836,1794,1216,850,509,540,991,1144,770,638,612,399,292,241,268,323,295,277,310,338,323,420,429,353,390,404,368,411,402,376,356,522,430,234,296,465,825,1015,1090,1062,1148,1116,921,1366,1266,800,521,544,689,1486,1846,1378,1158,973,579,1192,1026,670,696,1152,713,645,1268,1312,1270,1372,1152,964,546,554,953,932,1152,778,633,689,652,899,1240,1480],[622,787,740,668,540,494,415,426,423,450,462,413,403,574,1088,1230,838,601,587,634,552,539,426,358,389,415,383,329,307,300,300,299,284,280,271,282,325,353,285,263,252,260,278,303,326,336,338,352,391,391,332,300,260,228,232,215,242,365,473,451,441,402,417,521,724,890,781,616,496,427,396,335,266,228,261,263,410,924,1152,668,362,257,238,197,343,614,697,749,1014,951,979,1502,1744,1388,1228,1174,1280,1276,1062,694,479,553,993,1166,1102,1094,817,823,808,886,1034,790,619,608,834,1040,1224,1458,1220,1148,957,930,791,555,390,354,404,419,356,319,321,326,345,350,329,325,357,393,518,633,962,662,321,338,319,297,281,275,308,316,367,386,489,952,1500,1358,810,389,436,548,697,1096,1276,672,889,954,1104,1116,873,892,797,574,861,1112,1030,1070,1082,1204,1252,1278,1162,1260,2534,1674,474,825,936,648,365,423,576,647,471,775,1104,952,1007,1090,1046,971,969,731,605,725,1006,1084,1132,1154,1050,906,752,661,493,435,642,883,916,936,1009,1050,625,360,320,310,318,350,513,590,462,438,802,1104,962,1009,1094,1194,1260,1172,742,735,1004,926,923,1078,1178,1152,1005,1172,1418,1632,1604,1526,1554,1310,1140,1090,1118,1148,1220,1258,1286,1512,1118,827,929,1172,1260,1800,1602,1110,1052,1186,1074,1036,1146,1070,1142,1158,1140,1050,1174,1098,1404,1192,1156,1194,1364,1336,1118,1194,996,1082,1274,1388,1218,1350,1526,1656,1378,988,963,1288,1286,987,1134,1160,1160,1388,1562,1144,984,1004,1092,1088,1094,1358,1566,1394,1456,1382,1384,1816,1412,1086,1086,1013,958,1156,1294,1110,758,706,1204,2302,3454,2990,1532,1200,1246,1158,1184,1080,946,1060,1004,1026,629,880,1034,1016,1366,1278,1370,1442,1418,1450,1418,1214,1102,1290,1378,1316,1656,1358,1220,1122,1920,1992,1472,1332,1260,1362,1274,1182,1588,1312,1060,1138,1290,1476,974,721,576,725,653,335,458,868,966,758,1116,1136,733,386,507,742,570,740,1068,1048,1014,785,559,597,836,905,703,943,1198,974,647,562,567,490,391,551,835,926,1138,1406,1532,1474,1334,1238,1054,1108,1260,1186,1326,1276,1108,913,928,997,900,716,943,952,847,788,709,494,621,1100,1182,1112,1332,1270,1288,1204,925,1106,1104,1170,971,949,1240,1504,1788,1766,1306,1346,1338,1502,1570,1584,1662,1708,1756,1738,1736,1734,1740,1726,1682,1608,1694,1786,2144,1564,1312,1206,1632,2050,1844,1312,973,953,1072,1056,969,1004,890,678,732,1218,1058,954,1128,811,807,1130,1198,1252,1532,1466,1344,1260,1306,1246,990,912,1015,1188,1294,1282,1180,1172,1160,1276,1212,1072,1094,1146,1246,1202,1074,1136,1318,1254,1168,1298,1384,1346,1378,2342,1910,1030,539,628,779,982,1186,1104,1226,1258,845,1100,1190,1003,717,852,1166,1262,1126,949,1024,1262,1054,729,648,747,1380,1528,1340,1394,1344,1180,998,612,720,642,785,1023,863,929,1226,1244,1250,1478,1376,1368,1612,1540,1272,1034,860,857,673,713,525,598,833,905,1066,1268,1184,959,968,968,1058,1268,1276,950,1094,1318,1372,1500,1734,1614,1460,1418,1114,880,874,888,899,1056,940,865,880,899,886,815,675,703,763,1004,1338,1288,1040,979,769,711,721,698,626,599,1015,1396,1426,1442,1386,1572,1312,1280,1412,1480,927,397,450,663,695,675,723,815,883,766,601,741,1228,1326,1080,605,462,525,576,581,490,410,441,545,880,1092,1048,1242,1274,1074,1060,1274,1356,1032,1056,1368,1406,1376,1366,1626,1410,1244,1150,883,728,670,1044,1266,1082,1126,1378,1426,1460,1414,1600,1562,1360,1274,1070,800,691,689,598,727,1054,1210,1414,1342,1246,1220,1116,1058,1112,1244,1320,1150,871,772,756,695,1019,1216,1186,1330,1634,1368,1450,1442,1294,1142,952,1326,1576,1208,1026,705,805,1514,1140,1096,1140,1134,1250,1334,1456,1460,1460,1554,1542,1654,1876,1444,1334,1312,1388,1436,1454,1198,1080,1120,922,669,1174,1180,1062,1766,2464,1916,1482,1246,1110,1086,1362,1396,1128,933,1092,1200,1386,1346,1316,1364,1348,1282,1280,1376,1250,1060,1178,1232,1288,922,639,669,1118,1288,1176,941,969,1122,1344,1438,1378,1078,1018,1076,1174,1256,1232,1106,1136,1230,1114,1294,1454,1526,1238,1100,1486,1416,914,865,910,976,962,1136,1182,1246,1132,1048,963,813,822,701,322,266,244,264,351,438,614,758,547,321,261,181,197,229,280,418,391,432,325,396,541,584,545,451,429,532,582,416,379,440,366,392,401,394,410,367,344,403,387,345,376,393,351,340,379,419,359,281,306,411,467,558,659,603,616,620,410,375,462,383,292,283,270,333,426,549,671,861,1092,1168,1032,1086,991,929,1004,1034,1202,1216,1188,1304,1462,1412,981,589,1202,1388,1320,1106,955,1178,1388,1482,1370,1240,1228,1328,1146,1134,1148,1144,1400,1558,1272,907,758,948,874,616,563,591,526,537,745,788,744,1060,1260,658,562,959,1010,830,770,634,781,925,1156,1686,1272,586,468,491,641,658,548,539,893,1038,720,1036,741,562,628,416,338,550,707,468,431,762,694,314,348,499,954,959,1316,1280,1216,1064,950,916,832,713,686,806,1011,1072,1102,1296,1300,749,464,426,428,386,372,455,628,777,766,813,907,694,435,469,373,342,328,530,838,942,692,405,440,573,612,353,386,384,547,1068,812,669,783,847,922,915,658,792,885,873,708,593,538,868,1278,1128,672,408,710,1148,916,736,787,1106,1130,1146,1013,999,1078,1096,1146,1212,1023,1048,1204,1424,1456,667,549,907,1122,786,579,532,474,555,918,1152,1238,1168,718,1156,1344,1284,1478,1764,1886,1840,1772,2032,2292,2474,2310,2080,2200,2398,2654,2500,2048,1810,1440,1230,1034,893,1100,1466,2094,1644,542,775,1102,1276,996,749,771,718,680,502,430,599,808,981,1162,808,963,1116,1126,1508,950,614,727,1144,1148,757,671,879,1312,1058,858,796,811,747,644,620,1016,897,453,474,429,448,589,671,1080,1238,979,1258,1430,1128,662,523,586,586,477,466,478,466,459,424,482,545,438,387,600,1094,1080,838,899,800,1246,1472,1108,841,838,1142,805,886,1072,1196,883,575,451,507,571,760,963,1274,1292,1032,1258,1242,1282,1298,1218,1290,1410,1076,970,1512,1208,608,808,1100,1288,1352,1496,1614,1620,1288,1226,1404,1480,1888,1482,921,885,913,787,985,1284,1412,1348,1170,771,535,799,1256,1534,1518,1594,1208,689,503,1021,1190,1066,1360,1566,1594,1576,1588,1654,1544,969,562,471,479,1004,1504,1670,1472,1110,1042,1038,1024,1090,983,867,812,778,783,756,791,1150,1414,1310,1310,1370,1172,1264,1280,1228,1282,1266,1088,957,838,642,877,1502,1622,1402,1520,1114,941,894,694,664,972,1252,1288,1302,1290,1080,1236,1322,1260,1376,1454,1386,1326,1122,1310,1346,1038,658,805,1064,888,459,529,730,996,1202,1194,774,526,698,1015,1298,1256,1224,1380,1160,889,1218,1286,1290,785,610,865,1206,1094,963,1064,1023,657,625,1166,1278,713,1021,1170,847,736,886,844,935,1028,969,1148,1102,1248,1302,1388,1310,1108,1308,1138,765,698,733,609,963,1632,1606,1042,1376,1268,1110,590,490,1028,1160,924,947,775,502,419,348,515,742,600,601,609,637,1030,1200,1164,1156,1216,1148,1236,1176,1222,1230,1276,1094,910,1032,1054,766,507,372,395,505,473,417,394,401,425,358,352,394,525,684,762,561,544,466,408,402,415,384,367,397,549,460,306,495,741,702,902,886,643,546,546,482,427,483,570,691,938,1146,1130,1088,1160,1354,1414,1368,1003,666,636,660,822,799,530,404,467,448,602,886,1238,1332,1394,1380,835,959,774,774,916,1338,1232,1100,902,687,1021,1302,1236,1074,1140,1178,930,716,483,513,403,324,459,668,1012,1318,1356,1252,1017,695,708,645,494,984,1332,896,443,480,849,1104,1098,1048,1306,1420,1310,1226,674,484,472,549,774,744,518,503,522,610,722,595,1144,1382,1438,1542,1206,987,903,847,1058,1296,1152,1218,1142,1096,986,789,599,811,1034,893,932,921,1001,1316,1616,1122,808,1026,744,845,1694,1648,1144,992,730,502,502,779,1100,1092,832,1096,1178,1588,1136,708,677,722,1300,1756,1390,1104,964,708,691,810,979,885,1070,1232,938,585,299,377,816,1298,1094,1021,767,460,539,417,319,372,543,892,1114,941,932,1048,1106,973,650,1174,1418,1278,1622,1226,668,708,1021,1064,814,1128,1290,504,333,342,358,332,280,270,291,338,368,363,411,427,399,388,396,374,345,331,299,372,331,268,363,689,1142,1312,1348,1284,1494,1126,891,1198,1204,778,670,890,1074,1266,1262,1276,1606,1328,636,1216,1164,733,770,1204,908,806,843,952,1174,1290,1004,641,403,533,880,932,1280,849,379,366,468,686,1104,1384],[692,942,917,761,572,532,446,444,457,451,407,433,550,1026,1604,1186,650,535,694,742,490,355,321,384,409,383,384,372,333,319,311,318,292,261,238,255,252,254,270,268,251,259,269,282,283,318,342,295,297,373,279,269,264,258,268,269,274,297,326,315,339,312,376,451,498,534,487,504,475,419,404,434,318,258,289,235,261,477,548,335,220,214,216,265,435,990,1452,1206,1226,1021,879,1388,1434,1192,1190,1022,800,816,763,814,1052,808,1162,1318,1086,1116,1028,722,643,1019,1200,874,662,550,642,742,882,1328,1206,1200,887,1216,1216,948,601,371,521,558,424,328,317,338,329,333,362,351,360,413,501,858,974,517,349,346,360,328,314,351,324,313,314,324,596,1264,1226,688,544,406,452,525,883,1092,966,518,692,896,1162,1048,877,1184,1028,810,876,1074,993,1108,1130,1296,1228,1094,963,1534,2442,1520,608,944,1172,664,340,492,717,840,764,999,880,814,877,1026,1015,900,987,799,693,640,991,1038,965,1124,1246,1202,1178,1013,670,529,786,1142,1058,815,1130,980,608,408,467,618,455,324,514,761,1236,1328,816,958,1146,1188,1266,1178,1314,1268,874,952,1088,971,954,1017,1248,1248,1122,1150,1100,1274,1506,1670,1668,1566,1456,1530,1644,1310,1032,1116,1112,1362,955,886,1126,1138,1694,2596,2160,1194,1162,1324,1034,924,1158,1084,1224,1250,1150,1058,1160,1226,1144,1136,1192,1304,1344,1096,1336,1570,1136,1024,1134,1266,1238,1272,1416,1354,1090,907,825,1104,1122,1110,1072,1004,1204,917,514,495,706,749,902,1360,1168,1374,1412,1170,1194,1240,1160,1068,901,870,1090,1080,1090,1362,1442,936,539,582,1206,2398,3530,2546,1302,1078,1132,1284,1152,1128,1194,1040,869,1158,954,837,844,1017,1188,1086,1192,1434,1458,1656,1668,1212,1060,1384,1506,1412,1268,1256,1338,1284,1718,1786,1340,1268,1048,1088,832,1252,1448,1160,1268,1172,1152,1306,930,408,500,630,448,346,546,1150,1160,1070,1454,1290,697,393,490,496,439,836,1068,594,613,700,806,765,861,786,919,972,976,937,762,618,616,791,565,370,390,890,892,846,855,1060,1128,1272,1282,1250,1148,935,1406,1254,1294,1176,1218,1092,1024,978,1276,1152,686,780,816,514,639,1232,1198,979,1144,1156,1128,871,695,887,1026,1188,1264,1170,1200,1306,1750,1742,1200,1256,1250,1320,1332,1394,1520,1474,1210,1194,1382,1512,1476,1560,1678,1772,1750,1850,1874,1776,1702,1650,1756,1826,1716,1432,1106,1019,1224,1144,1178,1001,1024,1046,1048,1156,823,1180,1626,1154,1210,1236,1194,1296,1476,1476,1306,1122,1222,1318,1132,684,760,1108,1224,1296,1096,1064,1136,1368,1472,1300,1148,1116,1019,1080,1158,1188,1262,1324,1472,1318,1366,1382,1260,1306,1318,1184,1046,827,891,1292,1466,1138,1208,1336,1142,1498,1636,1200,1252,1394,1204,1216,1268,1250,1056,1084,933,515,510,625,861,1182,1410,1646,1504,1428,1250,630,777,626,626,749,772,688,1013,1198,1418,1636,1402,1556,1448,979,527,772,897,654,381,363,342,466,775,855,827,1104,1011,893,1136,1300,1218,1262,1270,1160,1082,1118,1144,1228,1484,1516,1282,1438,1512,1366,1100,869,858,1194,1050,899,1128,1140,897,586,492,577,741,1194,1156,1132,1122,860,828,1020,999,966,799,765,1128,1334,1234,1324,1688,1924,1540,1472,1360,1266,908,397,570,727,610,532,650,796,770,728,610,865,1194,1316,1066,578,565,648,584,558,431,541,839,832,1102,1250,1224,1246,1162,1130,1242,1494,1490,1262,1232,1488,1028,996,1080,1122,1168,1218,1128,885,547,558,671,879,1152,1246,1120,1382,1456,1506,1202,1226,1400,1322,1130,962,999,877,1040,961,1076,1368,1348,1174,1194,1282,1204,1140,1142,969,965,1036,1062,1012,897,960,1068,1280,980,1148,1286,1244,1338,1270,1242,1220,1204,1358,1180,772,834,816,953,1166,1030,1148,1168,1280,1390,1238,1334,1352,1544,1374,1446,1534,1676,1626,1526,1542,1592,1526,1328,1248,1232,1128,1136,1152,1864,1328,974,1750,2392,1874,1256,1144,1206,1268,1206,1248,1158,1023,1078,1098,1340,1440,1226,1158,1282,1402,1434,1502,1266,1009,1256,1184,1202,976,816,843,1158,1318,1254,1094,1070,1256,1356,1246,1262,1070,1054,1134,1286,1232,1130,1140,1196,1116,1134,1296,1434,1418,1196,1156,1554,1208,957,1150,1024,846,859,1118,1336,1284,1098,1060,923,796,1007,574,408,341,285,282,336,377,402,511,502,283,260,229,201,229,351,499,493,471,298,310,422,452,401,377,397,494,506,278,255,363,348,423,516,455,425,456,446,455,364,337,344,386,390,419,386,393,369,383,412,448,426,473,614,671,607,517,417,376,404,332,308,298,298,301,330,374,407,697,1076,1240,1246,1238,1232,1228,1082,964,1186,1256,1146,1256,1440,1346,1054,1090,1506,1368,1132,1078,1132,1176,1210,1224,1302,1328,1304,1324,1050,1290,1324,1304,1556,1476,1448,1442,923,584,669,860,1080,882,614,675,1052,943,658,820,787,520,651,977,899,630,699,702,794,1242,2078,2412,1638,820,520,501,788,935,576,618,871,1176,862,1013,1048,1060,890,500,293,289,297,300,370,631,813,607,771,896,1015,1176,1248,1116,1024,889,732,804,754,492,551,890,1050,930,1068,1010,973,757,518,447,439,754,1166,872,522,615,803,933,1056,904,1000,803,396,323,375,389,423,645,847,454,461,448,350,289,394,444,583,789,624,397,534,789,863,810,574,893,1216,1182,924,601,612,954,1266,1136,633,373,635,932,1134,1512,1036,1650,1124,758,598,613,876,999,1078,1032,1168,1802,1992,1526,1048,526,522,1019,1248,811,615,694,642,551,723,1216,1388,800,663,1019,1284,1344,1552,1804,1808,1570,1560,1830,2156,2140,1834,1820,2038,2378,2500,2348,2004,1636,1232,1028,841,730,774,1178,1362,960,1032,1470,1520,1144,1098,1128,813,832,1136,1134,915,854,916,852,897,555,587,1011,1144,1236,825,525,682,1142,879,792,1022,930,947,921,921,886,731,513,688,840,933,865,480,398,401,345,361,571,1015,1068,1058,1538,1376,711,458,503,518,512,440,418,497,628,667,861,1202,880,478,442,622,817,747,864,1068,896,1150,1364,1170,1034,1014,1148,1122,1126,1154,927,661,699,466,367,616,1190,1262,1334,1408,1072,1028,1116,1122,1230,1208,1094,1274,928,808,970,847,797,816,944,1084,1260,1450,1708,1550,1092,1156,1372,1478,1686,1262,840,932,1100,683,791,1324,1372,1542,1376,711,519,810,1172,1460,1478,1738,1396,687,477,669,899,998,1312,1574,1620,1610,1588,1692,1580,1042,604,435,472,794,1276,1618,1406,1174,1210,1230,1206,1120,1224,1076,931,839,737,787,670,991,1314,1160,1256,1416,1316,1172,1108,1174,1208,965,840,1052,1030,977,1172,1482,1462,1284,1736,1148,545,568,766,1058,1260,1302,1188,1144,1021,1016,1234,1168,1212,1220,1274,1414,1278,860,529,697,899,995,1158,1342,1244,730,678,946,1013,1244,1310,793,636,952,969,1142,1388,1332,1224,980,930,1296,1404,1454,1256,1028,1118,1194,1052,1064,1019,835,568,660,1158,1076,650,660,883,1010,996,950,957,1086,755,641,808,1136,1252,1176,1158,1130,1154,1206,1202,1094,902,768,511,848,1446,1206,723,1072,1346,1396,780,637,1042,1220,1178,1066,812,873,689,414,387,397,479,492,514,888,1280,1346,1280,1268,1262,1148,1023,992,1058,1160,1272,952,717,572,605,552,550,459,397,488,479,395,380,383,435,377,343,343,391,403,391,364,354,410,456,361,336,395,415,360,400,460,634,954,788,656,797,835,739,624,519,421,393,464,611,597,760,969,993,973,1072,1198,1344,1308,1070,834,898,872,835,781,769,720,636,597,842,1312,1384,1216,1484,1450,859,1007,766,612,908,1260,1052,1026,1220,1150,1326,2192,2126,1284,1238,1124,781,744,552,432,468,380,411,480,719,1140,1332,1268,1202,1010,599,442,447,775,1006,730,437,605,1009,937,869,761,1248,1316,1396,1592,949,540,589,565,642,715,575,697,720,852,1204,971,1186,1424,1666,1514,1224,1032,850,915,1168,1186,871,954,621,797,1178,1154,749,876,1262,1180,1244,1194,707,926,1426,1340,1462,1196,991,921,1172,935,893,1036,733,663,1186,1298,1324,1330,1444,1716,1378,1250,843,700,829,968,1310,1206,757,655,576,426,441,447,451,710,1024,1026,1088,860,473,465,722,1005,559,490,371,352,442,435,370,423,475,895,1404,1072,1152,1324,1250,1058,846,734,773,1424,1546,1056,1114,1052,753,789,808,1180,1140,486,397,409,348,334,291,256,277,316,350,360,411,453,409,388,360,331,326,326,276,242,285,326,393,865,1374,1488,1490,1434,1546,1544,1194,1046,1214,1170,916,1062,1174,1094,999,1394,1416,919,487,459,924,735,779,1122,918,1092,926,702,803,919,756,465,339,377,504,545,601,439,289,331,412,533,1058,1444],[299,464,610,561,549,564,525,514,489,438,494,763,858,804,749,579,801,680,570,428,347,364,411,440,401,363,374,372,325,334,311,301,277,262,250,269,267,246,244,247,262,271,269,262,233,291,339,289,287,365,311,257,269,277,288,284,299,280,289,325,321,277,290,329,362,407,404,406,435,386,626,1130,562,284,271,281,283,310,292,250,246,257,251,280,522,1578,1954,2120,1960,1554,1494,1518,1288,1204,1050,900,1010,978,1114,1640,1524,1001,1108,1134,1366,1160,1028,861,736,1116,1274,844,802,498,533,488,899,1522,1354,1362,1482,1526,1448,1410,1092,923,1216,773,538,425,379,391,345,333,358,354,379,446,632,944,789,528,468,374,400,368,331,328,312,285,288,288,691,1450,1180,561,398,418,436,589,1140,1246,819,544,764,825,1048,1140,941,1202,1228,1034,1080,1192,982,1014,1034,1282,1162,772,735,918,848,800,938,636,604,452,369,589,785,961,1128,1100,1262,1372,830,1046,1150,1064,966,734,574,697,951,1052,988,1066,1110,1152,1238,1184,1020,812,757,944,1009,976,1160,865,570,519,874,1044,775,761,691,678,1168,1040,886,999,979,1146,1234,908,1110,1260,1206,1322,1234,1066,1082,1158,1470,1396,1118,1182,1196,1168,1236,1428,1732,1750,1714,1712,1808,1400,1048,1300,1376,1472,1126,1242,1438,1270,1274,1300,1472,1174,1312,1394,1124,1146,1290,1238,1308,1196,1058,1060,1104,1104,1130,1122,1324,1510,1318,1188,1588,1208,1224,1300,1256,1226,1278,1384,1482,1164,1001,1142,1048,1374,1376,1258,1070,1058,1168,937,659,619,925,924,1168,1822,1524,1532,1028,995,1068,1220,1086,1062,1003,949,1092,1154,1190,1462,1464,860,610,757,1290,2360,3288,2370,1096,894,1192,2030,1256,954,816,605,707,840,986,1026,1054,1090,1226,1384,1476,1360,1070,1440,1432,999,1086,1180,1212,1186,1166,1322,2040,1914,1080,1078,1148,1150,1212,1194,875,1354,1340,1638,1774,1312,1048,964,996,720,497,436,529,585,510,1074,936,973,1116,937,760,681,584,475,682,1180,1268,1124,673,465,524,799,703,543,597,786,929,994,994,1034,781,1164,1150,594,579,1058,940,604,666,1005,1056,1324,1412,1378,1148,1158,1094,764,800,947,1058,1088,1094,868,916,786,492,668,736,571,695,1058,1214,1260,1234,1120,1112,874,615,813,946,1308,1416,1344,1436,1334,1318,1378,1152,1012,872,895,1138,1378,1544,1344,990,1124,1302,1268,1112,1120,1346,1488,1442,1412,1426,1528,1646,1700,1930,1822,1766,1754,1464,1356,1392,1426,1582,1384,1310,1240,1178,1122,775,1272,1620,1256,1372,1354,1330,1332,1382,1432,1230,1208,1214,1160,1312,1130,1088,1292,1426,1318,1130,944,944,1318,1458,1100,861,863,1026,1178,1326,1230,1224,1236,1184,1160,1240,1350,1300,1184,1276,1340,1106,1017,981,1188,1220,1306,1266,1240,1090,1458,1782,1450,1810,1686,1106,1038,1082,1068,1034,1242,1294,984,866,786,952,1210,1318,1434,1256,1140,1094,661,497,437,423,506,847,1166,1248,1168,1342,1462,1570,1412,1120,722,540,619,533,361,404,471,425,404,573,767,991,1050,1132,1714,1550,1314,965,1152,1372,1208,1098,1106,1292,1302,1532,1504,1088,1146,1300,1192,1054,872,766,984,833,636,888,1186,986,790,914,1016,1196,1214,919,1012,1082,809,915,1019,884,927,1005,1034,1166,1220,996,695,995,1102,1038,1168,960,807,862,470,561,753,590,480,594,781,647,652,652,944,1324,1294,1116,532,526,615,552,529,532,795,1224,1284,1224,1184,1026,932,1064,1406,1332,1334,1386,1326,1274,1478,1412,1192,984,914,1142,1104,767,813,788,508,848,1166,1232,1246,1360,1522,1160,992,995,1156,1348,1454,1382,1262,1110,977,1262,971,1136,1454,1406,1282,1120,1210,1136,966,1086,1009,1198,1106,1404,1434,1162,1036,1080,1200,1148,1370,1352,1198,1144,1234,1226,1182,1256,1454,1598,1328,990,925,1015,1152,1364,1332,1302,1424,1194,954,1168,1304,1338,1304,1236,1060,1186,1396,1482,1660,1622,1560,1726,1722,1600,1338,1386,1314,1084,970,967,1758,2458,2024,1380,1278,1428,1644,1362,1160,1062,960,1024,1128,1070,946,1042,1252,1528,1532,1440,1278,1166,1152,1260,1198,1180,1318,1376,1294,1322,1232,1274,1284,1210,1192,1104,800,1032,1232,944,1182,1338,1150,1048,1126,1232,1606,1636,1296,1292,1454,1100,998,1536,1368,1166,1260,1262,996,925,1068,1056,1136,1354,1210,1260,1300,851,501,475,397,287,333,492,579,462,440,456,346,357,317,343,353,384,397,481,485,343,301,357,404,330,346,416,493,518,338,295,356,396,479,561,539,415,359,369,461,506,453,402,386,337,304,333,342,384,480,507,467,434,455,504,552,552,459,379,350,314,304,296,308,336,324,338,322,342,612,1058,1264,1414,1364,1250,1256,1180,1138,1160,1208,1170,1234,1232,814,789,1160,1182,1028,959,1120,1218,1116,1032,1088,1340,1238,1086,1072,1182,1332,1396,1368,1246,1146,1374,1200,636,560,880,1638,1604,979,835,999,797,783,1138,960,614,683,1020,569,437,496,725,948,819,1328,1824,2122,1792,1024,764,844,1124,1192,604,739,796,1150,959,1116,1290,1264,1112,781,468,473,612,715,781,1005,1014,1118,1080,860,552,792,1198,1222,951,711,460,611,886,991,728,839,1338,1190,1078,807,880,919,577,406,451,996,2014,1816,743,675,819,987,1130,1122,1250,849,355,346,381,422,346,396,710,863,717,467,340,440,630,725,1478,1976,1124,379,370,395,435,651,479,877,1522,1232,701,456,603,760,730,638,602,506,444,535,1094,1192,1362,1904,1334,799,415,477,722,685,550,662,875,961,965,1010,843,560,585,1062,1142,763,683,841,981,546,705,1272,1068,666,781,1060,1274,1494,1710,1806,1604,1266,1292,1422,1686,1448,1412,1890,2364,2686,2710,2278,1890,1450,1030,957,959,881,787,1028,1216,1230,1372,1572,1352,872,857,1030,982,824,1162,1114,880,1290,997,859,719,677,800,884,1256,1472,1011,703,882,1114,585,567,969,1066,1138,1110,1144,994,767,584,692,868,828,758,398,321,612,738,539,426,742,678,546,793,996,725,475,448,589,608,506,696,1016,1076,1014,1226,1262,895,728,694,993,813,668,724,882,1007,1566,1182,1334,1390,1196,1222,1266,1202,886,709,398,427,442,745,1384,1428,1158,1290,1334,1064,951,1044,1224,1574,1220,840,943,1000,978,705,702,1136,1252,1140,1282,1160,1252,1292,1088,937,1300,1654,1246,1186,1268,982,915,992,594,852,1300,1378,1450,1458,985,698,1016,1202,1380,1578,1910,1500,689,454,498,695,1114,1404,1538,1566,1588,1560,1698,1648,1146,649,442,455,706,1082,1550,1416,1296,1218,1382,1322,1496,1858,1372,945,817,672,593,618,896,1180,1142,1172,1186,1152,1196,1332,1308,1280,1232,1088,1156,979,1228,1556,1450,1258,1360,1650,1342,872,555,503,890,1284,1310,1142,860,554,818,969,1212,1210,1096,1258,1344,1180,621,493,613,868,1136,1274,1282,1070,880,936,923,771,718,881,796,824,1112,1040,960,1348,1074,869,955,1136,1440,1344,1084,1284,1538,1252,839,755,970,850,821,878,918,1226,1384,985,882,1128,933,799,1002,1176,1148,978,857,808,929,959,988,1118,1242,1312,1280,1350,1172,1142,1158,897,1058,1170,896,937,698,1012,1266,1080,1032,1240,1262,1094,997,832,905,589,508,707,597,466,559,772,999,1154,1246,1294,1272,1206,1124,1114,1108,1004,1118,1138,863,610,450,374,496,571,402,375,450,469,386,363,409,424,388,350,344,373,365,367,375,379,391,468,410,348,378,418,407,404,514,713,777,653,500,467,572,675,631,519,426,431,466,570,686,659,778,1007,964,1088,1132,1166,1152,1144,1166,1240,1242,1028,886,1106,1078,870,1007,1280,1252,1300,1300,1616,1378,1116,1148,1108,1144,1282,1110,880,769,1062,1664,1716,1988,1540,1432,1402,1064,1152,1220,584,422,405,359,396,550,860,1122,1432,1466,1134,1054,848,625,539,780,1230,1232,855,896,1150,1340,1298,1024,1140,970,1094,1312,901,634,708,656,689,969,877,856,948,1118,1382,1440,1268,1268,1410,1278,1042,954,1324,1098,1180,1042,877,867,701,785,1176,1464,1310,1256,1332,1440,1666,1418,798,854,1246,1426,2164,1936,1256,1146,1308,1234,1042,1178,913,883,1388,1100,996,1170,1116,1004,987,886,594,835,1005,1110,974,597,382,442,402,363,404,418,415,628,934,1166,1204,676,571,540,876,1005,590,448,405,349,382,417,686,922,519,672,987,1052,1326,1066,768,741,883,683,638,1130,1216,1138,987,760,650,785,636,507,569,518,457,374,320,341,289,271,300,299,294,297,316,355,350,336,316,307,345,370,318,291,314,321,422,593,583,1056,1474,1322,1470,1562,1090,1144,1506,1448,914,1306,1108,1124,889,1274,912,568,469,506,788,650,630,1112,1274,1158,780,794,960,1030,1013,899,504,372,380,363,358,337,328,386,347,467,884,1344],[251,339,404,408,451,505,516,475,494,593,656,811,716,524,633,899,897,541,389,412,440,409,391,383,354,355,367,384,360,389,328,294,289,281,292,308,282,279,268,269,268,268,252,227,240,272,280,279,308,352,300,245,270,271,269,265,281,288,280,337,367,356,345,331,343,393,430,438,483,448,780,1262,693,303,270,299,311,244,205,219,272,253,239,450,889,1902,1850,1976,1616,1316,1414,1474,1378,1102,759,1002,1308,1142,941,1150,846,785,888,1262,1562,1318,1160,1156,1038,1252,1298,1013,840,637,620,423,785,1406,1648,1500,1400,1162,1250,1452,1704,1350,1068,836,587,546,479,532,473,395,584,673,446,375,664,1056,572,525,482,445,428,400,359,329,330,292,246,317,749,1110,598,505,434,441,426,832,1162,1114,879,800,971,1046,1122,1200,997,1522,1672,1112,1252,1240,1116,1020,975,1172,1064,828,863,584,747,956,936,519,422,435,401,504,667,818,878,1084,1688,1440,881,1062,1086,975,977,843,583,753,1158,1148,1128,1218,1100,1144,1184,1076,985,991,828,861,814,1001,942,744,691,780,1052,1110,1013,965,723,689,837,824,1208,1438,1092,1070,1094,960,927,1094,1230,1238,1294,1210,1160,1262,1208,1202,1190,1218,1222,1288,1290,1246,1226,1440,1562,1700,1730,1642,1654,1622,1472,1354,1210,1422,1456,1262,1086,860,1334,1152,1178,1090,1066,1258,1236,1196,1288,1332,1264,1214,1244,1282,1382,1210,1480,1284,1184,1156,1078,1164,1396,1368,1550,1566,1314,1302,1300,1174,1316,1344,1142,1300,1576,1538,1266,1226,1196,926,946,937,1344,1286,1344,1728,1632,1232,944,949,1116,1160,1024,1094,1050,921,1080,1015,1238,1424,1120,583,505,740,1562,2930,3674,2512,1256,1176,1009,1015,936,750,639,632,850,849,873,913,658,693,1258,1360,1164,909,784,875,968,1130,1178,1328,1358,1232,1242,1318,1482,1160,1001,1058,1050,1023,1054,1004,966,1178,1222,1928,2062,1394,1408,1202,1068,1038,538,416,681,658,440,680,871,965,799,593,785,893,737,866,1132,1290,1704,1612,977,565,370,540,909,937,735,1010,994,706,610,796,1008,1138,1050,894,952,898,757,582,752,1132,1178,1208,1234,1382,1218,1250,1024,593,446,832,1026,1074,990,735,1054,819,508,713,836,546,447,851,1306,1404,1228,1106,1100,907,876,1082,1054,1356,1238,1354,1384,1434,1410,1286,1066,685,379,539,1100,1458,1256,1001,1048,1092,1176,1110,973,928,1036,1182,1250,1342,1284,1270,1412,1348,1528,1410,1388,1622,1700,1722,1830,1862,1800,1744,1792,1628,1504,1406,1128,1390,1514,1628,1682,1442,1354,1188,1270,1530,1382,1474,1198,1312,1478,1284,1300,1414,1410,1384,1346,1148,1110,1466,1468,941,796,771,952,1218,1264,1174,1190,882,791,1122,1296,1310,1244,1296,1400,1264,1013,1102,1056,1042,1070,1362,1440,1396,1194,1080,1058,933,1470,1468,1082,1084,924,805,901,1104,1168,1142,893,809,1152,1388,1288,1188,1158,929,960,703,693,711,515,502,800,1240,1356,1406,1550,1472,1410,698,831,753,449,419,459,396,404,537,676,650,880,1094,1140,1072,1190,1802,1714,1122,763,959,1032,1102,1306,1274,1206,1260,1548,1470,1054,1032,1182,980,975,1054,976,1028,1001,984,963,1094,1210,982,988,1180,1276,1270,1146,1072,1078,1094,1088,953,599,550,808,1084,1252,1188,1048,774,567,705,1068,1396,1144,857,893,583,586,926,708,484,604,752,590,519,650,928,1332,1284,1008,537,497,492,503,572,821,875,978,1138,1104,1170,915,1018,1440,1518,1312,1192,1386,1544,1326,1344,1522,1338,1218,1108,1044,969,648,1074,1216,932,1352,1522,1168,1048,998,1326,1216,881,1180,1180,1330,1506,1406,1296,1216,1202,1240,1186,1374,1358,1186,1062,926,962,855,1054,909,1094,1182,1196,1416,1446,1140,1090,1252,977,1032,1482,1282,1011,965,1134,937,990,1112,1646,1914,1440,1190,1216,1026,1022,1106,1148,1290,1362,1018,1168,1018,1082,1108,1222,1260,1020,1110,1256,1246,1196,1090,1054,1642,1742,1780,1636,1584,1368,1070,977,1052,1836,2464,1898,1218,1186,1258,1490,1252,1016,1116,1078,983,1142,938,828,1005,1318,1684,1258,1350,1362,1142,1100,1092,1208,1174,1598,1710,1518,1454,1274,1354,1206,1064,1032,990,890,1078,1178,1056,1042,1116,1007,1015,1066,1276,1644,1344,1182,1180,1592,1224,969,1338,1314,1278,1434,1316,1146,1332,1402,1232,1428,1496,1410,1160,1122,673,417,455,415,429,487,550,635,620,470,417,401,489,645,700,505,328,346,414,462,382,371,415,506,483,512,474,383,438,414,379,433,467,453,422,491,425,293,316,423,443,389,374,340,283,254,247,238,305,384,470,580,592,547,517,558,614,474,315,269,281,318,349,342,321,342,372,318,320,378,661,1070,1372,1280,1156,1172,1110,1218,1260,1276,1260,1146,1062,852,955,986,822,916,1076,1140,1128,1202,1204,1318,1380,1302,1168,911,1236,1636,1432,1066,848,940,1164,844,545,444,487,867,955,1096,1108,863,583,911,1252,926,531,850,1444,809,494,406,870,1212,833,844,1532,1948,1346,919,1074,1238,680,659,604,818,828,1208,1148,1000,1046,953,968,1156,1156,1082,1020,948,610,440,520,923,1018,954,830,775,979,1013,708,873,728,620,774,767,543,767,1458,1338,923,632,753,1030,737,530,534,697,995,785,650,658,634,630,611,670,796,629,426,486,698,850,685,449,615,1196,1278,908,486,454,802,1072,1218,1350,814,468,561,604,774,821,821,869,928,847,560,472,535,396,319,430,906,832,491,384,906,1112,1732,1802,1176,978,538,386,495,474,664,800,724,546,831,892,747,557,513,736,728,630,673,935,943,647,1084,1526,1288,856,867,1009,1306,1654,1734,1526,1350,1354,1288,1034,1006,1004,1304,1864,2364,2612,2596,2360,1976,1526,1300,1090,961,980,897,1011,1346,1488,1734,1856,1212,802,1364,1370,1344,1216,1302,1114,846,1152,884,778,895,843,819,749,880,1256,942,705,865,1074,766,573,933,1086,1400,1450,1404,1320,1224,1008,1021,847,868,807,437,311,628,871,580,363,502,539,513,767,1015,689,450,631,1346,1144,1020,1362,1504,1228,1070,1574,2002,1644,1494,1122,1164,762,546,752,822,821,1064,1180,1318,1460,1576,1292,1172,1350,1130,786,404,522,982,1376,1372,1188,1184,1038,952,1246,1124,1060,1108,1294,1158,991,906,860,684,528,669,817,800,1018,1310,977,1166,1240,1240,1504,1876,1914,1168,875,1186,1082,921,847,761,724,637,975,1138,1208,714,852,1122,1126,1272,1606,2076,1718,848,403,464,637,821,858,775,1152,1556,1526,1662,1680,1114,623,423,425,708,1208,1578,1506,1270,1210,1306,1306,1600,1786,1224,929,985,874,789,669,860,1192,1222,1148,1174,1376,1732,1550,1202,1178,1164,1300,1208,996,1210,1310,1488,1394,1238,1302,1266,977,749,620,767,850,928,1010,797,593,727,1060,1312,1214,1206,1306,1450,1316,793,845,1048,1062,1196,1282,1046,771,554,574,866,713,660,1122,1288,804,727,898,877,1186,948,798,1070,1324,1344,1122,807,1040,1342,1266,1086,1052,1036,1006,1248,1108,927,1240,1354,1084,1036,1086,919,574,889,1130,1100,897,816,976,998,719,767,1015,1284,1268,1154,1220,1268,1248,1218,979,1190,995,973,979,778,792,998,1392,1542,1532,1304,1204,1284,969,523,348,610,745,673,437,552,946,1052,902,884,963,1126,949,917,929,1092,1032,1066,866,538,465,416,412,594,474,409,417,419,451,419,411,519,455,353,351,403,425,379,407,386,391,451,524,469,399,389,381,509,642,634,560,536,542,512,416,388,485,517,489,419,413,453,692,855,722,763,791,619,971,1202,1210,1404,1306,1120,1144,1314,1220,1164,1154,1040,1032,1168,1278,1318,1296,1194,1438,1336,1148,1312,1256,1144,899,746,839,857,1082,1660,1908,1786,1476,1410,1342,1096,1194,937,399,403,333,336,386,648,1148,1370,1394,1046,753,1060,1040,664,535,882,1560,1642,1294,1252,1250,977,783,842,729,446,469,570,541,698,913,1074,1124,1272,1007,1126,1422,1404,1366,1340,1360,1434,1290,1346,1176,1070,1476,1036,1194,1248,1064,931,830,979,1144,1300,1356,1188,1072,1090,990,753,597,653,783,866,1330,1572,1554,1434,1410,1456,1018,854,767,1052,1048,782,919,1003,877,729,689,817,578,785,1080,1226,904,502,377,530,566,482,458,444,416,448,742,1098,1082,956,1070,622,709,683,492,537,483,339,380,528,1084,1116,780,750,542,632,738,544,446,471,633,668,800,776,847,785,597,745,929,861,625,476,515,504,369,340,377,365,347,289,263,272,299,297,305,333,335,322,314,359,433,424,328,326,313,304,858,964,606,847,1110,1009,1120,831,796,1152,1270,914,847,1218,915,828,755,868,993,927,598,402,419,392,508,1011,1438,1410,969,994,1300,1052,1248,1312,547,420,384,302,352,383,363,416,438,642,745,1032],[325,379,430,424,466,533,517,594,854,943,608,494,462,419,466,502,390,350,406,434,403,389,350,352,369,388,389,425,421,425,356,301,311,304,326,364,345,305,303,300,255,239,238,218,230,255,272,278,303,322,291,281,281,285,260,254,294,303,271,292,328,366,386,339,314,345,406,403,428,434,774,1138,737,392,292,292,388,410,375,289,350,357,637,669,1078,1716,1834,1516,1474,1302,1164,1304,1406,1154,1072,1274,1220,1112,1180,1092,739,810,1011,1122,1310,1450,1348,1180,1002,1304,1190,1000,952,888,674,433,468,1304,1664,1110,1052,1148,1272,1330,1440,1242,1166,1132,1104,719,521,688,610,472,485,464,388,390,984,905,547,475,485,426,382,450,509,554,374,322,308,355,497,588,397,338,351,386,439,744,947,1086,1326,1364,1174,1212,1192,1310,1088,1504,1356,918,1098,1222,1220,1124,1064,1040,1148,1096,1250,990,1066,991,788,515,391,423,460,442,570,822,882,930,1272,928,930,946,877,908,1032,1042,786,646,706,881,1112,1150,1120,1210,1288,1304,1252,1010,1054,926,801,929,644,512,673,998,990,1138,1148,1162,970,1122,1128,924,1312,1428,990,950,1112,1436,1274,1302,1146,1160,1278,1348,1334,1184,1288,1488,1364,1312,1178,1166,1166,1168,966,1084,957,1440,1642,1682,1700,1700,1726,1432,1110,1074,1070,1152,1366,852,1118,1132,1240,1076,1005,1106,1100,1066,1196,1490,1262,1194,1284,1316,1424,1216,935,1038,1152,1244,1290,1664,1740,1098,1260,1272,1090,1066,1138,1166,1274,1252,1296,1572,1924,1864,1596,1308,1062,869,1100,1180,1380,1280,1108,1434,1632,1370,1036,942,826,983,1242,1282,822,870,1100,1108,1282,1322,1142,880,641,850,1762,3140,3674,2182,1494,1282,1026,787,1098,1132,1042,938,1058,1262,966,597,560,1020,1444,1040,783,691,716,818,1100,1224,1104,1290,1238,1082,1188,1242,1122,1180,1011,875,947,929,1118,1056,925,963,951,1110,1368,1444,1248,753,838,940,481,375,689,841,755,962,1288,1168,892,658,916,904,700,918,1200,1192,866,877,880,662,508,488,969,1004,874,1088,1338,1096,672,759,1026,808,674,1013,1326,1152,686,574,767,860,1064,1152,1198,1204,1130,1148,998,725,847,1204,1260,1120,879,703,879,871,633,634,607,433,463,851,1258,1260,1144,1170,974,846,1296,1230,1068,1464,1404,1230,888,1006,1322,1070,698,462,414,638,971,1388,1200,1116,1128,1212,1238,1050,889,919,1082,1076,1182,1316,1114,1134,1180,1418,1544,1466,1192,1170,1360,1380,1534,1572,1598,1832,1676,1710,1738,1652,1672,1790,1716,1926,1930,1710,1550,1278,1324,1474,1220,1364,1240,1234,1208,1224,1316,1294,1376,1332,1112,1142,1298,1404,1162,863,993,904,1120,1156,901,1072,1350,1180,1005,1170,1290,1200,1140,1072,1210,1290,1124,922,1002,1200,1156,1074,1314,1494,1512,1242,823,796,1090,1180,1722,1774,1134,953,1124,984,781,820,599,590,1152,1268,1142,1190,1066,830,858,667,514,736,716,479,638,1320,1534,1454,1344,1210,1290,1019,1032,926,545,684,901,648,412,529,984,1254,1500,1370,1202,1058,963,1164,1316,1138,1009,1074,1052,1116,1492,1470,1312,1348,1588,1460,1166,1388,1526,1300,1300,1344,1028,966,1032,1444,1246,1054,1202,1152,1108,1238,1216,1198,1340,1388,1286,1274,1066,827,619,729,860,1204,1288,1186,1166,1108,799,910,1230,1214,1154,987,1024,764,654,963,727,480,631,744,636,480,625,1032,1246,1332,872,497,489,653,719,568,805,935,918,1130,1604,1796,1332,1152,1386,1276,1396,1480,1346,1260,1170,1308,1366,1344,1310,1094,1150,1148,1130,1412,1220,1284,1464,1328,1426,1380,1158,1400,1246,1268,1318,983,1188,1582,1646,1606,1306,1124,1322,1358,1302,1284,995,518,549,610,610,755,1002,1202,1222,1072,1134,1350,1015,899,1005,568,666,1234,1152,766,821,1028,998,1608,1952,1922,1766,1492,1102,1058,1034,1008,1006,1010,1136,1168,1208,1102,979,1136,1152,1254,1338,1078,1132,1174,1262,1174,1044,1036,1406,1494,1534,1598,1710,1494,1378,1410,1400,1806,2244,1672,1000,941,1200,1312,1154,1088,1372,1498,1566,1522,1176,1094,1124,1260,1464,1270,1488,1338,1142,1036,1104,1204,1096,1222,1332,1328,1342,1316,1216,1005,1032,1124,1172,1214,1188,1144,1180,1184,1074,977,957,1124,1384,1384,1138,992,1036,1578,1602,1222,1034,1026,1104,1200,1116,1140,1316,1346,1284,1302,1400,1580,1170,648,455,414,449,542,599,579,551,577,587,480,427,431,432,540,627,430,294,324,342,321,315,300,373,611,590,604,523,345,399,442,426,454,429,391,350,463,653,484,391,439,448,435,372,272,232,228,239,221,266,371,483,604,610,573,524,545,565,385,248,286,345,345,374,434,393,386,429,397,354,349,412,814,1288,1044,911,1114,944,850,1098,1040,1194,1094,1028,1078,1090,1094,1092,1328,1238,1204,1186,1134,1184,1280,1218,1318,1332,1148,1272,1568,1390,1090,1046,796,708,630,701,702,780,767,839,1078,924,929,1120,1308,909,816,591,827,1392,925,512,346,551,777,724,585,981,1406,1440,988,1260,1422,761,727,926,1046,1104,1382,1192,698,608,868,1092,1256,1166,1036,766,557,336,270,516,744,950,1108,821,825,990,965,1190,1252,1230,761,634,672,518,706,1034,860,706,601,637,843,635,502,461,439,468,545,462,403,546,617,477,392,714,937,705,690,1028,1086,742,615,874,1284,1576,1366,978,555,647,875,1626,1470,598,468,790,1162,1210,1021,803,582,644,713,565,440,511,448,348,402,766,847,508,412,766,1116,1536,1492,1158,1146,901,643,688,542,829,915,769,546,719,1028,901,571,471,594,664,1078,1594,1516,1062,1050,1416,1398,1017,937,1110,1374,1662,1662,1652,1400,1480,1750,1410,932,916,1134,1294,1506,1862,2182,2376,2118,1444,1224,1448,1210,974,917,736,773,1052,1332,1508,1660,1642,1256,2302,1882,1276,1340,1198,1366,1248,932,572,628,892,753,919,1042,902,943,917,1086,888,1350,1500,1314,1134,1170,1388,1490,1604,1748,1686,1466,1262,1090,1048,767,489,336,520,698,642,813,816,630,676,619,814,763,752,837,1082,1154,1350,1482,1284,766,651,1248,1780,1606,1522,1424,1402,1096,1054,957,778,666,988,1310,1278,1322,1446,1316,1204,1146,1194,751,728,1154,1388,1206,1046,1102,937,543,669,898,914,899,1130,1268,1162,880,551,585,524,479,879,1094,767,945,1013,900,1034,1226,1226,1622,2040,1710,1008,1040,1106,873,600,630,1008,753,457,484,828,1214,892,515,749,1212,1450,1650,1982,1588,816,428,437,530,597,636,556,957,1548,1522,1616,1730,1262,665,460,449,610,1192,1538,1374,1220,1268,1264,1262,1340,1412,1100,948,1009,981,1212,1776,1722,1176,1122,1194,1332,1434,1454,1334,1150,1138,1200,1128,1078,1068,1238,1416,1488,1368,1334,1114,1040,720,513,586,686,1058,1044,1070,901,839,1048,1214,1328,1316,1336,1248,1342,1378,1144,1412,1406,1234,1132,1076,1074,863,495,748,1220,692,861,1356,1236,793,678,849,843,910,1014,1088,1318,1390,1296,1178,965,1274,1382,1440,1238,1178,1002,949,1240,1274,1266,1350,1310,1176,1306,1190,959,755,794,999,703,422,453,872,716,598,749,1054,1268,1102,896,1066,1042,933,916,1476,1482,1168,1198,1062,968,881,1022,1176,1016,1050,1252,1252,1282,959,515,405,497,501,426,335,630,1134,1196,1120,975,845,875,862,725,691,799,889,959,786,490,351,323,363,544,481,560,432,385,444,483,526,560,457,387,379,405,404,436,500,427,473,503,439,434,469,488,539,643,773,705,469,446,492,527,408,391,439,432,388,405,403,488,778,818,514,545,694,789,1230,1404,1358,1506,1300,859,854,1252,1224,1344,1400,1434,1136,1086,1404,1464,1074,1072,1386,1206,1140,1270,1154,1166,999,1204,1150,1126,1018,1066,1426,1620,1580,1442,1220,1072,1088,678,354,321,328,398,498,735,1234,1386,1278,910,807,1144,1008,517,563,803,1128,1280,1258,1226,1252,1070,870,587,412,360,500,756,1028,1294,1254,1268,1298,1224,1180,1208,1202,1102,1013,1162,1328,1322,1280,1704,1604,1212,1188,882,955,1202,1120,992,927,867,783,1190,1210,735,467,386,340,376,411,485,619,1028,1366,1554,1512,1356,971,1005,825,760,858,939,784,865,1064,946,949,954,762,1020,848,637,695,759,666,483,390,539,537,594,675,568,662,621,456,467,515,553,490,349,403,386,390,550,738,774,706,587,839,1004,1188,1100,730,486,455,532,550,677,944,1004,963,572,419,410,451,948,1162,988,755,440,397,529,873,1084,680,496,562,426,312,317,404,473,395,324,354,339,286,374,470,437,349,327,405,422,815,1104,850,726,869,778,750,796,1120,1500,990,542,600,910,930,788,842,838,789,888,716,634,557,506,546,708,1252,1640,1436,1376,1230,699,551,482,427,411,346,290,400,400,351,352,503,698,685,963],[513,524,477,435,460,521,714,908,915,709,496,469,482,404,339,337,390,437,452,416,391,374,330,347,378,389,381,389,396,407,383,341,319,292,294,321,320,290,305,339,286,247,250,254,248,247,268,258,295,330,289,262,248,263,249,256,306,309,268,269,301,337,352,339,321,312,361,345,354,435,811,897,615,490,440,723,962,656,572,346,256,480,928,736,653,1148,1434,1800,1924,1072,1028,1268,1400,1262,1222,1368,1392,1338,1330,1208,1070,1196,1342,1364,1005,1038,1430,1240,1086,1096,1082,886,675,540,471,480,415,537,719,861,1116,1282,1222,1238,1208,1252,1390,1580,1366,1036,840,804,759,596,434,436,488,542,1086,688,383,430,505,428,384,484,537,474,442,456,421,398,424,435,373,380,387,359,367,412,530,709,1012,1210,1106,1234,1266,1132,697,644,723,929,1126,1194,1166,1124,1168,1370,1316,990,1050,1023,820,883,964,610,438,757,1022,714,543,816,1070,1172,1078,763,641,639,1128,1356,978,781,633,643,837,993,1020,1136,1348,1360,1266,1182,971,661,705,645,680,1136,1214,512,832,1174,1068,971,1100,1146,1074,1144,1146,1078,1184,880,692,854,995,1156,1384,1290,1246,1168,1090,1278,1172,969,1294,1488,1378,1580,1610,1398,1262,1126,1086,774,768,1290,1440,1586,1796,1734,1734,1554,1390,1294,1202,1166,1146,943,1214,1312,1208,1104,1188,1252,1006,1106,1120,1262,1230,1242,1332,1392,1370,1248,1162,1158,1162,1376,1616,1472,1410,1062,1306,1440,1372,1140,1266,1240,1162,1196,1336,1902,1974,1448,1340,1166,773,852,995,940,1120,1322,1516,1600,1528,1294,1232,1238,563,548,729,946,663,948,1144,1252,1330,1256,1264,1150,938,1258,1544,1598,1688,1290,1272,1346,1610,1290,1120,1168,1102,980,1020,1476,1230,890,970,1230,1426,1126,771,630,860,1180,1284,1234,1100,1166,1184,1034,1122,1328,1214,1216,1180,1124,1110,1009,1016,1078,1066,988,967,606,626,929,993,952,1194,855,468,487,792,1036,1018,1180,1372,1082,787,702,696,694,802,1030,1132,897,667,716,980,1412,1102,772,716,620,607,916,1216,1314,1030,952,804,529,441,559,801,1114,746,693,761,740,1394,1542,1434,1240,1078,1110,973,931,958,1084,1168,1138,800,627,586,1038,1424,1330,773,392,462,775,1232,1180,1212,1316,1184,1086,1278,1128,1234,1406,1296,1050,761,919,1218,1036,669,435,515,814,622,690,1224,1212,1156,1340,1428,1228,993,705,597,620,1014,1260,1034,1192,1416,1654,1488,1188,1188,1126,1240,1434,1558,1270,1296,1460,1506,1384,1252,1772,2092,1960,1996,1572,1556,1748,1842,1758,1762,1784,1708,1682,1548,1358,1346,1382,1380,1776,1922,1278,1300,1286,1234,1152,951,1072,993,888,966,753,559,737,944,999,1072,1126,1208,1162,949,930,1226,1334,1232,1238,1246,1284,1146,1210,1248,1370,1512,1046,860,1302,1280,1138,1584,1468,1042,1082,1132,818,390,411,677,721,1068,1058,963,1196,1194,1044,939,711,413,528,461,544,905,1380,1452,1380,1532,1672,1550,1256,1090,1003,863,1164,1212,596,567,1136,1440,1244,1178,988,961,1068,1078,1192,1034,821,1150,1268,1296,1286,1592,1456,1208,1232,1534,1442,1168,1228,1284,1366,1426,1312,1126,1014,1007,1062,1017,1150,1306,1322,1316,1356,1360,1146,1290,1410,1086,1072,1054,816,1028,1132,1266,1378,1134,980,967,1040,855,803,976,939,1248,1298,1210,878,786,896,615,498,680,821,615,477,554,1138,1256,1274,809,477,543,937,1012,524,576,804,942,1040,1186,1204,1182,1182,1144,1272,1504,1496,1234,1052,1268,1354,1130,1172,1056,1036,1104,1284,1444,1015,820,1114,1248,1392,1548,1568,1572,1324,1186,1512,1180,824,984,1074,1522,1692,1268,1238,1342,1090,857,774,659,491,518,472,487,542,991,1176,1196,913,1064,1202,1086,1168,1158,966,937,1102,1158,1080,1050,1118,1262,1680,1824,1526,1326,1358,1144,1124,1124,1210,1198,1180,1148,1188,1164,1208,1224,1178,1100,1068,1056,1072,1009,1088,1140,1032,960,1118,1236,1192,1023,942,992,1162,1442,1646,1670,1762,1766,1466,1084,806,1142,1380,1176,1142,1264,1288,1264,1256,1108,1092,1030,1108,1214,1260,1410,1334,1260,1198,1256,1314,1064,1190,1164,1206,1224,1072,1032,1098,1168,1122,1162,1154,1068,1178,1338,1158,973,1128,1026,1246,1212,1080,1130,1114,1236,1566,1676,1426,1058,1042,1066,1054,1104,1260,1208,1072,1132,1296,1506,1672,1300,639,523,489,563,587,622,666,581,539,499,418,455,470,368,423,420,292,344,362,409,442,391,284,417,625,486,405,414,267,271,401,430,408,395,418,458,516,963,933,513,405,429,448,406,250,196,216,229,234,274,408,517,588,627,600,543,500,536,300,219,352,404,335,309,399,358,353,433,459,370,341,409,764,1242,1262,1224,1136,1244,984,829,1058,1168,1090,1068,1090,1214,1288,1342,1314,1292,1224,1288,1338,1444,1294,1132,1172,1206,1228,1292,1322,1412,1300,1322,759,469,724,1018,978,929,987,1112,661,453,875,869,988,711,955,1318,1448,1212,1002,764,487,633,586,594,589,932,1412,1324,1110,1178,1136,976,967,1012,1142,1356,1506,1164,1054,1110,1488,1446,1250,1198,1126,738,557,476,394,502,597,691,812,899,1116,1210,1202,1268,1208,1192,844,650,861,846,723,843,779,825,912,727,737,546,394,372,426,433,410,361,327,577,771,514,383,819,1116,977,1016,934,907,1034,1228,1042,1072,1218,836,1048,1134,901,1074,1606,852,357,619,942,918,900,1148,1152,912,885,799,774,824,875,830,621,625,923,958,821,819,913,989,1068,1232,1358,1256,1019,1050,922,621,711,813,702,587,797,1064,736,472,439,505,711,1628,1926,1660,1280,1326,1608,1354,1118,1360,1418,1518,1504,1630,1620,1174,1021,1316,1214,1110,1076,1076,1316,1428,1606,2024,2098,1594,1004,1104,1220,1030,1182,1188,841,731,999,1170,1136,1448,1638,889,1990,1934,1160,922,1150,1114,1040,1292,997,777,978,991,1010,1262,857,609,720,1088,930,1080,1310,1662,1748,1032,905,843,877,1230,1584,1558,1148,1472,1418,807,544,466,666,1100,1214,1362,870,547,739,556,634,776,850,809,655,869,1388,1440,1064,395,412,797,1118,1140,1284,1206,1124,995,937,875,739,766,913,935,1015,958,1104,1506,1350,1128,1268,1440,1494,1216,825,848,949,833,680,930,1032,951,909,915,1084,1050,1026,805,569,679,543,443,781,1228,843,953,1021,898,863,986,1048,1076,1166,808,600,1114,1182,1042,996,740,642,464,393,354,642,1110,825,538,778,1134,1204,1366,1666,1362,755,397,443,547,695,717,599,896,1488,1516,1582,1734,1426,747,439,444,509,918,1328,1266,1148,1310,1376,1312,1430,1616,1076,946,1034,1098,1458,1996,1678,1298,1316,1366,1246,1284,1296,1232,1268,1268,1186,1168,1240,1280,1432,1562,1554,1442,1440,861,908,1106,1150,1084,1220,1404,1434,1384,1310,1206,1154,1098,1194,1344,1316,1354,1260,1344,1372,1126,1174,1204,1046,955,765,685,577,781,1296,655,793,1028,799,582,648,777,794,927,1110,1206,1234,1160,1244,1282,1176,1422,1482,1504,1070,777,869,1114,1048,1290,1510,1332,1248,1176,1316,1500,1430,1312,753,831,731,675,996,1015,781,633,740,1000,1030,1140,1118,1102,1136,787,839,1436,1156,932,1266,1200,1268,1080,1192,1252,985,760,1004,1011,1220,1172,717,418,380,347,328,287,478,792,1156,1306,1188,938,851,1007,845,780,983,997,804,872,738,381,360,489,626,518,411,357,390,473,482,502,538,519,461,510,466,384,383,406,434,544,490,388,463,500,401,514,611,590,447,405,479,588,564,547,561,538,493,390,396,388,716,882,908,519,490,595,810,1364,1346,1242,1314,1276,1200,1154,1288,1206,1232,1216,1306,1023,1158,1710,1530,984,1320,1472,1014,943,1056,1158,1094,1012,1220,1212,1242,1092,970,886,1092,1354,1250,1172,1094,980,660,584,548,429,721,815,545,661,1124,1574,1350,1036,1208,1124,882,1112,1170,1292,1464,1118,975,1080,960,1007,1036,814,491,719,1406,1646,1552,1396,1460,1448,1288,1100,932,927,662,780,705,852,1072,1260,1524,1432,1028,863,715,882,1070,768,1026,1148,1044,1212,1284,1172,705,412,380,374,390,393,357,584,1130,1214,1318,1554,1494,1394,1052,826,921,993,824,453,681,977,860,817,892,1296,1268,749,553,905,1015,706,675,550,687,923,1168,1104,675,591,422,325,333,328,396,400,386,409,429,413,434,872,1146,1274,984,892,1052,903,628,523,497,498,651,828,927,839,680,530,545,497,431,400,479,532,593,592,518,473,857,1702,1634,726,503,677,704,499,484,790,879,582,350,346,331,331,564,627,524,428,385,622,709,561,767,710,503,861,1056,914,861,1132,1294,749,471,595,966,1068,772,877,1032,925,753,896,1058,814,699,684,698,1026,1528,1550,1120,637,515,379,328,363,439,394,299,388,361,297,423,732,842,794,1042],[528,536,493,451,486,602,920,818,567,487,434,359,361,376,364,375,429,424,421,401,389,354,332,374,396,391,375,388,406,375,405,369,319,282,271,273,257,280,310,347,332,297,287,285,262,223,255,265,284,302,270,234,227,266,287,283,295,282,268,285,299,303,303,318,321,321,322,339,361,477,730,615,502,593,656,1274,1610,795,467,314,308,587,788,885,1112,1258,1372,1616,1324,1007,1202,1180,889,807,1166,1330,1324,996,668,694,1032,1556,1400,1092,766,643,981,1086,1005,913,1220,1126,700,531,498,460,535,479,666,1066,1274,1062,827,749,1088,1384,1442,1276,1001,967,828,912,765,664,755,1007,980,1090,988,490,353,345,419,389,416,504,525,381,374,383,403,403,433,406,360,392,396,372,403,397,361,335,666,1021,882,924,842,633,452,353,481,717,849,953,1162,1178,1096,1344,1232,1190,1062,784,708,871,1040,565,436,686,811,698,545,505,729,1042,1006,868,784,833,1154,1082,930,821,759,869,998,902,1046,1138,1134,1218,1064,951,977,753,606,452,469,927,933,484,1106,958,494,662,956,968,802,824,1146,1222,1026,915,690,846,993,1042,1092,1056,1150,1154,1038,1132,1158,957,1019,1450,1408,1404,1404,1438,1368,1262,1238,956,1021,1426,1414,1280,1456,1542,1670,1614,1550,1584,1504,1488,1334,1294,1418,1230,893,926,1226,1244,927,672,721,918,1220,1280,1412,1512,1460,1220,1086,1036,1240,1416,1672,1550,1056,1076,1356,1368,1294,1322,1534,1468,1244,1138,1154,1746,1780,1156,1058,1284,930,922,875,608,895,1362,1522,1294,1120,1062,1302,1002,507,428,448,627,669,846,1118,1272,1240,1120,934,982,1404,1670,1354,1000,773,976,1266,1322,1162,1004,1006,1021,1144,1236,1358,1524,1308,1302,1118,1058,1286,1021,640,667,1066,1310,1158,1136,1258,1108,1148,1192,1108,1322,1324,1152,1094,1234,1366,1272,1108,1032,1082,884,1288,945,630,901,961,967,1158,764,491,549,609,476,657,916,804,760,706,736,774,731,876,1182,1140,1194,1072,679,1014,1316,1230,1262,741,809,695,578,691,1003,1332,1084,727,861,788,772,954,1102,765,824,816,972,1742,2048,1750,1254,1080,1070,1118,1106,754,940,1266,1290,943,879,1148,1218,1132,1272,899,943,936,848,1290,1244,1044,954,1160,1184,1220,1332,1322,1076,1064,1302,1184,1190,1158,869,496,298,378,589,442,885,1310,1084,1150,1100,1090,1114,1056,546,446,596,1050,1188,1108,1664,2098,1974,1604,1508,1480,1072,996,1360,1546,1176,1150,1344,2032,1786,1080,1758,2762,3414,3024,1288,1094,1374,1330,1374,1460,1634,1772,1756,1704,1628,1770,1844,1858,2204,1920,1358,1222,1274,1400,1134,1136,1226,1016,1086,1086,1046,980,715,578,699,1164,1200,1296,1202,979,979,1196,1250,1104,1230,1214,1328,1438,1552,1312,1164,1292,1070,1048,1478,1356,981,858,809,999,1001,874,673,422,428,878,1100,1258,1106,1050,1062,992,963,1044,779,484,446,618,1110,1274,1168,1126,1332,1410,923,860,1096,750,615,706,775,896,821,1110,1328,1066,860,1010,930,1014,1302,1616,1324,1328,1408,1268,1312,1358,1410,1492,1306,1100,1188,1622,1738,1396,1260,1114,1204,1246,1164,1174,1122,830,650,792,1140,1338,1396,1250,865,896,982,1206,1162,800,883,879,805,1032,1080,1040,1158,1140,1008,1015,955,865,1007,940,755,1122,1278,1034,773,786,905,537,484,642,786,575,567,692,1186,1368,1172,772,625,626,719,684,454,465,582,576,694,1150,1330,1146,1180,1268,1150,1238,1324,1202,1306,1354,1272,1146,1050,963,1138,1160,1360,1452,1202,1188,1212,1210,1426,1372,1522,1524,1058,788,1188,1021,782,929,854,872,921,1086,1240,1122,1040,831,542,500,465,648,830,615,453,595,962,1248,1118,1412,1320,1170,1252,1344,1021,1007,1076,1182,1104,920,780,937,1534,1448,1122,917,1138,1170,1100,969,984,868,717,878,1164,1200,1356,1346,1398,977,855,998,945,844,815,797,880,1048,1180,1122,1084,896,598,574,785,943,1204,1398,1550,1644,1666,1390,1278,1506,1548,1306,1398,1510,1302,1314,1348,985,1018,1120,1208,1200,1374,1442,1578,1450,1210,1244,1318,1090,1114,1140,1118,981,985,1168,1200,1194,1236,1278,1098,1254,1560,1620,1332,1164,1046,1122,1318,1172,1058,930,859,1050,1306,1512,1320,1112,941,1158,1310,1236,1122,1126,1140,1260,1580,1750,1546,794,419,492,503,661,762,838,802,546,446,391,266,390,489,371,329,304,292,362,347,369,509,504,426,509,625,472,315,352,370,292,326,325,297,324,385,477,477,645,696,504,306,278,386,450,262,208,214,206,239,307,453,546,592,666,606,561,555,643,370,260,295,308,270,306,344,370,396,505,681,640,609,521,788,1140,1266,1378,1244,1362,1040,778,966,1010,1196,1040,1082,1238,1316,1332,1268,1178,1204,1314,1320,1246,1110,1180,1416,1078,1356,1852,1346,1384,1290,784,479,675,911,869,835,584,498,768,791,538,642,535,690,708,1374,2052,1620,1072,1170,1116,496,592,414,275,384,672,1144,1130,1162,1142,846,599,588,760,1146,1250,1366,1216,1196,1116,989,989,1116,1334,1224,788,716,575,540,781,933,834,885,872,1048,1160,1284,1278,1262,1144,985,932,1150,1100,1100,781,727,789,854,995,863,524,402,497,580,496,439,466,484,650,682,480,348,806,1238,1356,1034,679,662,1028,1354,983,1122,1134,567,604,1050,1096,1204,1230,736,409,631,911,833,735,1200,1436,1116,1404,1126,910,905,814,961,839,974,1642,1844,1588,1310,1108,996,973,1166,1268,1298,1032,1074,1088,991,1162,1021,842,1100,1308,1186,738,568,767,838,926,1450,1420,1404,1456,1572,1452,1504,1478,1342,1508,1344,1174,1244,1408,1160,1138,1272,1056,1010,1042,1040,1238,1456,1614,2042,2132,1790,1318,1088,913,1116,1390,1182,959,1007,1166,1260,1176,2018,2018,1344,2342,2722,1686,1108,1322,861,536,732,816,979,1034,1178,1144,1178,758,398,628,894,776,808,1042,1560,1488,586,636,729,541,637,1100,1170,861,1242,1534,943,784,628,686,1500,1460,1086,567,477,886,783,564,655,843,806,528,590,1023,901,1023,711,566,799,1054,1226,1384,1374,1334,1070,694,513,730,695,647,832,848,856,1238,1580,1602,1274,1268,1574,1290,895,828,1212,1116,982,718,829,1040,1090,1070,1162,1212,1236,1154,890,929,1308,897,586,623,691,601,1001,1356,1268,1054,1056,1094,1068,880,473,518,998,1314,1288,1248,776,364,659,916,634,796,1200,808,468,555,835,850,827,968,1034,705,445,489,550,672,714,567,918,1470,1548,1594,1718,1504,828,420,399,520,848,1256,1380,1102,1154,1260,1238,1470,1562,1068,1056,1278,1216,1238,1136,854,1044,1102,1178,1054,1146,1288,1366,1462,1398,1350,1398,1268,1316,1488,1526,1186,1338,1222,1130,1338,1444,1624,1430,1390,1776,1694,1346,1424,1104,1112,1144,1176,1246,1318,1290,1360,1526,1422,1196,1316,1234,1196,930,713,1114,872,922,890,538,610,747,675,535,615,681,689,830,1110,1128,1120,1086,1082,1166,1148,1176,1270,1284,1092,805,844,1170,1146,1176,1130,946,878,1058,1114,1242,1516,1490,1023,885,750,703,889,849,647,442,485,563,604,1044,913,909,1082,942,1394,1858,1216,965,1428,1722,1688,1408,1208,1078,1058,852,822,1023,1172,1182,847,432,486,602,532,503,532,673,915,1134,1064,872,909,1136,1162,1068,1142,1278,1142,1078,1066,741,539,579,560,427,352,397,463,451,481,515,468,526,534,632,601,449,382,387,411,443,431,405,391,391,354,389,351,351,356,444,698,722,561,615,698,680,626,462,520,626,799,1013,962,818,642,502,865,1272,1236,1042,885,1114,1242,849,799,1013,1046,1112,1180,1272,1382,1514,1372,1234,1570,1530,810,745,1118,1144,1124,1508,1262,1202,1406,1132,946,858,1072,1360,1214,1106,1300,1098,1090,1228,981,613,750,919,589,578,896,1232,1376,1022,935,891,1246,1382,1164,1250,1456,1130,849,1190,1152,1056,1050,948,811,1094,1510,1742,1712,1730,1756,1568,1558,1214,932,954,863,1032,924,772,1021,1298,1466,1372,891,596,530,1062,1356,598,910,1312,1256,1250,1232,1246,820,408,368,338,353,418,420,510,831,1316,1538,1570,1192,1238,1032,797,902,839,654,402,575,788,920,850,940,1274,975,639,705,1278,1256,774,861,821,1084,1322,1158,917,642,622,546,386,342,347,343,357,350,353,394,427,403,740,1188,1708,1398,803,788,782,649,519,620,856,1016,946,705,444,300,313,388,395,352,342,324,306,303,401,640,647,857,1258,874,409,445,1082,1566,1002,941,1102,941,700,422,345,354,378,603,748,680,586,483,510,587,428,487,532,509,772,734,712,822,932,1018,850,595,619,1148,1240,580,561,709,869,605,971,935,587,661,843,738,805,1548,1776,1420,856,639,462,331,311,377,377,324,351,386,304,365,579,735,789,1080],[511,580,550,518,853,899,669,462,434,451,396,367,374,398,419,398,423,420,433,413,386,351,357,389,397,396,386,388,380,385,387,363,334,283,264,309,317,286,296,332,363,391,325,291,254,249,281,293,272,272,265,250,245,271,309,305,282,249,258,274,267,289,294,293,323,358,351,395,360,374,594,636,521,624,593,855,1210,785,395,302,285,430,604,933,1334,1354,1322,1162,1148,1202,1078,887,472,505,915,1246,1142,767,689,495,738,1286,1166,721,409,346,683,897,909,1009,997,671,484,388,361,364,436,457,545,847,1000,897,872,853,962,1328,1466,1278,1362,1036,844,904,576,480,755,1110,1346,1406,883,390,321,316,383,394,386,416,480,462,366,398,444,381,360,351,322,329,325,348,422,450,384,385,474,663,844,719,466,460,434,407,549,832,893,1044,1178,1136,1096,1326,1226,1132,997,700,694,697,698,544,488,393,350,357,322,325,491,883,1019,916,930,954,947,786,902,935,910,943,960,880,913,809,702,782,791,842,910,943,837,530,1046,1206,558,400,639,469,449,703,1068,1138,942,1020,1148,1110,1092,1226,937,860,1252,1326,1098,1023,1166,1332,1080,1208,1158,873,1020,1434,1332,1382,1364,1264,1248,1268,1056,827,805,1378,1632,1464,1324,1190,1366,1506,1614,1656,1648,1600,1612,1486,1328,875,677,1062,1222,882,841,839,801,971,1098,1118,1226,1366,1438,1120,1162,1246,1136,1274,1444,1210,745,905,1126,1188,1172,1242,1460,1494,1224,1028,1088,1304,1238,1058,1186,1136,926,1130,999,648,1118,1438,1122,865,1296,1434,1018,493,405,459,541,850,954,823,1038,1160,979,830,596,630,822,1216,1368,1160,785,1054,1382,1302,1020,988,899,1021,1140,1122,1342,1334,1252,1182,1062,1170,991,754,735,789,1196,1172,1126,1070,1176,1494,1484,1402,1216,1286,1420,1178,1232,1352,1388,1222,1128,1188,868,670,1120,1072,876,1126,1102,985,836,583,623,538,404,508,389,463,611,578,616,644,681,708,849,1220,954,1012,1044,764,1012,897,1070,1112,890,840,816,614,413,735,1078,983,1128,1354,1262,1066,1110,1048,614,782,1048,1174,1446,1620,1500,1106,1056,987,1148,1328,972,1582,2520,1878,1078,1176,1238,1206,1118,862,683,1078,855,700,1090,1224,1070,1208,1282,1366,1642,1632,1348,994,1238,1488,1340,991,1198,911,605,468,378,336,398,861,1192,1156,1238,1134,1020,1122,1098,581,367,728,1118,1114,1322,1816,1804,1712,1466,1304,1178,1162,922,1114,1076,683,748,999,1174,1008,1046,1334,1896,1570,1466,1150,1174,1224,1214,1222,1106,1362,1450,1244,1208,1330,1476,1676,1776,1956,1996,1910,1742,1662,1580,1284,1032,892,1003,1142,1112,1382,1374,768,470,583,959,1048,1080,878,662,794,1252,1026,907,1206,1288,1164,1252,1218,1042,1070,1410,1372,1166,1090,1164,954,855,960,1122,1170,1170,688,405,419,623,1084,1342,1040,854,948,1094,738,1086,980,681,818,1172,1260,1228,1280,1078,955,777,486,628,1068,1036,1256,882,785,1098,1402,1622,1654,1394,1144,1168,1124,1188,1346,1790,1436,1332,1416,1140,1238,1310,1360,1440,1180,1024,1140,1500,1874,1548,1266,1152,1007,1001,1110,1458,1548,1048,849,897,1258,1028,1004,1060,919,1054,1136,1184,893,783,901,699,600,766,938,828,1064,1204,1098,945,921,1001,1190,949,836,1080,896,736,745,661,819,505,482,647,638,546,636,949,1248,1280,1160,772,680,587,516,420,435,502,613,544,555,943,1128,831,760,980,1178,1324,1336,1332,1158,1074,1172,1290,1234,1076,844,733,1108,1206,1344,1322,1312,1268,1362,1396,1464,1310,1322,1088,1100,1038,1023,1372,1732,1248,929,941,1118,1258,1252,1116,798,607,662,980,1168,774,606,920,1136,1142,1005,1072,1454,1366,1130,1122,1108,993,885,1112,1030,726,720,663,1102,1164,1234,1194,1254,1300,1240,1026,857,604,381,637,1180,1116,1238,1194,1266,926,794,860,966,886,832,908,1048,1310,1106,903,756,685,605,613,860,872,778,1080,1528,1920,1754,1608,1628,1660,1680,1704,1720,1764,1626,1638,1606,1514,1380,1394,1158,1108,1560,1350,1458,1358,1076,1164,1198,1090,1152,1272,1162,1138,1310,1224,1062,1007,1150,1178,1178,1414,1340,1168,1204,1220,1144,1140,1092,1226,1212,1008,1058,1026,1150,1464,1246,1404,1212,1288,1306,991,932,1024,1190,1418,1698,1716,1228,500,323,420,507,577,550,635,714,509,375,314,290,394,446,318,346,378,324,344,359,356,376,418,519,586,514,345,312,385,473,380,350,314,315,371,440,500,483,503,644,661,330,279,345,426,298,253,247,237,293,368,495,592,516,483,538,592,539,503,439,345,243,245,337,379,343,380,492,621,737,781,751,601,847,1122,1200,1184,1122,1108,975,938,896,985,1224,1266,1258,1192,1352,1412,1304,1162,1230,1278,1318,1178,1058,1168,1302,1192,1404,1348,1230,1318,854,351,323,692,1100,1048,943,637,407,471,895,879,737,494,539,520,1106,1760,1628,1262,933,919,418,388,487,614,805,1156,1262,1126,1198,1116,576,551,825,954,1310,1322,1030,913,1019,1300,1216,1192,1198,1302,1248,782,796,640,821,923,892,785,633,863,985,1004,1128,1126,1114,1166,1154,1284,1570,1238,1116,741,885,1120,1416,1408,911,404,322,472,609,657,664,675,743,780,635,454,363,630,966,946,629,600,697,858,1116,788,1168,1090,831,879,734,734,747,725,477,376,602,688,652,653,1210,1596,1780,1816,1122,667,575,662,772,757,1100,1826,1982,1544,1412,1242,1280,1152,1112,1064,1108,1118,1144,1128,1036,977,966,871,1124,1298,1058,1094,1001,1092,1182,1188,1088,1044,1256,1442,1610,1422,1422,1346,933,1023,1478,1544,1344,1424,1218,1116,1136,847,564,667,966,1218,1382,1620,1910,1994,1708,1256,1003,1188,1576,1322,938,935,937,1232,1644,1646,2258,2196,2184,2526,2556,2158,1448,1422,1084,791,737,912,1256,1338,1194,1362,1352,819,407,464,817,1120,1432,1262,998,892,588,481,506,523,891,1110,999,813,772,922,670,627,592,666,1136,871,761,600,718,1007,942,755,621,668,564,472,721,956,717,1023,886,857,1056,1040,1034,1264,1324,1070,770,806,984,1034,613,410,743,913,962,1156,1492,1444,1284,1410,1424,781,698,891,1296,1494,1122,577,542,894,1116,1272,1360,1262,1294,1360,810,633,879,824,659,493,395,469,758,1160,1314,1122,982,962,952,684,550,553,982,1402,1194,987,600,441,850,1036,1018,1198,1440,1126,619,517,759,777,695,724,645,532,488,650,725,720,781,576,912,1430,1530,1590,1700,1448,809,407,384,570,806,1238,1284,1144,1110,1324,1258,1314,1328,1072,1106,1196,1122,1272,1238,972,1021,999,1150,1108,1256,1444,1444,1338,1384,1710,1678,1148,1286,1574,1318,803,830,1274,1290,1054,1015,1106,1214,1214,1330,1390,1202,1316,1170,907,1150,1136,874,890,1070,1254,1350,1316,1226,1226,1296,1316,1142,1106,1296,918,823,672,612,745,914,797,589,601,598,569,655,1016,1034,1136,1068,971,1104,1100,1110,1282,1334,1122,1018,1202,1290,1268,1284,1362,1402,1298,1100,1148,1164,1218,1490,1400,1122,1009,1046,702,544,532,562,667,469,639,949,893,1110,1076,734,833,1206,1028,1152,1390,1592,1344,1062,730,538,582,777,1052,1208,1138,1284,1078,597,579,702,868,1092,1136,1102,1013,991,1078,1208,1162,1280,1100,1154,1282,1066,1056,1142,993,810,753,602,437,388,432,536,530,449,430,387,366,451,530,590,604,530,412,380,416,414,432,403,405,484,491,409,456,445,422,602,742,614,498,600,739,731,514,513,628,567,738,949,1013,1042,974,995,1172,1372,1180,803,715,625,811,728,818,966,1146,1280,1300,1348,1314,1242,1194,1362,1548,1722,960,708,1060,1226,1218,1256,1300,1372,1044,1106,1288,1372,1268,1430,1394,1130,1280,1250,1246,1296,1124,637,594,1013,942,983,1354,1326,1252,1038,708,796,1162,1142,1082,1154,1180,808,868,1368,1558,1274,1162,1106,1003,872,1068,1536,1736,1816,1710,1338,1414,1414,1168,1026,969,1034,1130,1124,1294,1338,1322,1166,922,857,659,610,611,571,648,1046,1212,1312,1482,1364,923,460,383,381,434,523,616,709,706,1222,1460,1106,1062,1318,1340,1134,846,540,397,466,555,595,868,799,654,828,1200,1324,899,803,638,443,603,621,1050,1114,680,364,483,872,924,487,412,375,334,365,351,335,374,415,385,547,876,1494,1544,736,588,578,522,683,901,1178,1048,591,404,423,351,319,329,355,334,336,324,303,337,402,705,787,607,691,819,586,445,1002,1346,1078,1064,1186,1150,1036,562,331,361,420,652,725,601,598,624,416,338,291,438,521,468,683,940,969,607,633,1004,1204,681,615,1238,1178,583,393,267,386,409,572,504,335,426,732,682,644,1076,1296,1244,1046,903,551,366,423,363,352,366,376,412,416,363,492,639,1062,1350],[612,670,636,544,896,1060,786,483,412,407,440,393,392,422,481,426,415,421,428,420,393,357,363,369,379,391,389,393,386,407,405,399,376,322,307,341,324,288,298,325,341,346,274,261,263,284,302,298,279,273,269,267,235,225,279,297,281,270,286,323,303,286,285,286,309,351,415,372,286,364,670,711,552,468,343,409,583,488,334,278,297,410,405,968,1504,1028,823,914,1186,1396,1088,500,298,365,550,828,629,579,839,772,1034,1006,1058,1042,748,546,742,1068,1042,661,548,365,413,417,350,318,310,384,442,563,794,879,824,1238,1732,1730,1722,1382,1019,700,636,889,744,656,787,940,1200,1300,547,372,302,282,329,362,337,338,399,441,405,390,391,330,338,352,339,360,426,416,384,358,348,385,367,478,676,594,466,434,423,396,468,603,627,676,721,664,619,778,962,1044,1126,723,494,501,712,951,772,494,391,342,352,422,699,1034,1026,875,907,691,949,798,753,744,778,898,1052,1136,1076,930,605,564,551,699,778,753,583,428,1048,1116,790,833,708,519,488,752,1112,1082,1294,1282,1064,1013,1296,1282,983,813,830,994,1088,813,767,860,1060,1218,1130,1070,1140,1134,1140,1350,1322,1072,913,888,893,1286,1058,1386,1426,1216,1032,1122,1082,1162,1268,1426,1610,1534,1782,1632,1480,1174,1252,1296,1284,1048,877,866,797,835,906,1126,1180,1094,1322,1190,1202,1184,1094,1158,1130,1001,1160,1118,986,1150,1146,1160,1222,1336,1322,1100,1132,1132,894,1094,1112,832,695,1014,1208,1234,1258,1100,954,918,1434,1524,1110,898,753,583,894,940,927,827,1106,1384,1438,1302,1338,1112,796,946,1264,993,932,1420,1500,1134,976,749,786,905,1160,1302,1248,1184,1286,1102,843,789,684,1032,1144,1176,1476,1272,1170,1044,1162,1374,1456,1588,1372,1244,1021,902,816,1066,1138,1188,1336,1108,662,849,999,680,788,1022,990,1004,688,588,1001,917,696,730,508,436,575,538,504,510,667,1056,1142,1290,1062,695,538,555,610,821,905,765,880,1134,858,448,585,771,696,712,1130,1326,1306,1030,1021,742,393,662,1088,1282,1194,1200,1200,1052,822,753,937,774,630,2070,3008,1638,1402,1402,1096,1100,673,388,550,734,713,1018,1330,1256,1180,1120,1084,1412,1584,1632,1524,1084,1250,1460,1482,1338,1400,1238,1120,915,576,275,340,714,1166,1192,1240,1192,1256,1202,1080,686,502,855,1172,1296,1354,1762,1758,1506,1304,1168,1120,1036,919,1210,1015,467,536,930,993,836,937,1248,1324,1220,1568,1374,1332,1436,1426,1226,1178,1156,1130,1150,1002,1019,957,1060,1396,1670,1548,1596,1772,1832,1820,1614,1448,1392,1220,1244,1180,1034,990,767,529,481,703,985,974,650,598,777,1306,960,940,1060,1488,1003,1142,1426,1142,1262,1344,1312,1428,1274,1110,1410,1466,1438,1186,1478,1344,670,427,408,462,712,785,540,517,914,1013,603,911,1168,1312,1464,1294,1138,1212,1222,885,696,467,436,748,1005,1096,1122,927,1042,1188,1280,1230,1150,1472,1494,1502,1316,1166,1406,1438,1346,1416,1236,1013,1104,1170,1328,1292,993,987,1188,1460,1558,1234,1048,1106,822,645,1076,1762,1716,1180,1080,1096,642,499,709,988,949,954,1192,1144,789,690,789,658,684,780,1044,1204,1252,1270,1050,1010,1072,991,923,763,950,982,672,709,728,672,674,453,481,614,566,541,654,974,1284,1186,1140,802,844,628,543,505,437,529,621,521,576,924,962,764,566,979,1404,1396,1438,1302,1218,1418,1316,1360,1294,1314,1098,733,1028,1206,1290,1232,1210,1292,1440,1672,1390,1256,1190,1082,1288,1086,1019,1360,1442,971,1042,1108,1232,1360,1296,1260,1005,683,785,1154,1174,781,490,683,822,1136,1358,1026,1216,1230,1304,1244,983,849,856,1068,1096,1112,1378,1009,1064,1260,1354,1422,1248,1184,1090,909,1006,1066,761,698,1098,1224,1326,1248,1158,824,794,935,1001,1020,1072,1056,841,1011,571,604,787,1068,753,689,816,838,950,1106,1862,2368,1416,1340,1444,1458,1374,1564,1552,1518,1680,1680,1642,1636,1654,1642,1356,1296,1560,1506,1524,1450,1282,1210,1202,1222,1152,1112,1048,1082,1186,1094,1102,1001,1162,1072,1054,1292,1402,1496,1484,1070,1078,1090,1064,1054,1012,1124,1272,1206,1328,1686,1366,1262,1256,1174,1246,1308,1126,1050,1286,1352,1490,1662,909,464,393,373,489,568,430,479,659,452,335,265,294,385,413,368,397,437,370,342,371,391,428,415,468,599,599,410,317,364,523,604,564,433,324,328,408,454,354,426,520,552,402,348,281,287,313,289,244,284,347,424,490,495,483,429,466,480,416,457,507,443,347,310,374,444,374,412,502,591,671,845,914,768,766,993,1212,1178,1156,1236,1278,930,698,1098,1332,1314,1228,1316,1342,1484,1464,1206,1238,1234,1078,955,1172,1124,960,1015,1056,1144,1062,822,743,628,351,487,811,1042,1180,651,535,598,772,1086,891,592,485,496,801,1248,1280,1344,1246,870,578,546,842,845,950,1023,910,1198,1352,1248,622,698,1178,1108,1266,1004,808,644,789,1070,1028,1070,886,1046,1302,919,760,708,1048,1084,927,599,326,418,493,709,1262,1288,1013,1388,1350,1118,918,980,1210,1068,1294,1276,920,822,774,522,525,449,577,844,615,568,713,680,537,575,612,604,916,1096,727,821,1001,1162,1024,697,869,1078,1410,1252,767,651,629,955,999,592,639,984,1166,933,993,1154,1324,1017,626,579,514,432,549,750,1052,1508,1450,1202,1282,1158,1178,1234,1156,1016,1164,1550,1166,873,1070,1094,1248,1236,1174,1032,1036,1150,998,1148,1362,1158,1046,1244,1210,1462,1570,1506,1140,938,930,912,1548,1768,1268,1038,1026,868,825,837,578,634,1082,1262,1456,1768,1914,1658,1224,1076,1296,1518,1454,1202,1011,760,695,2138,2284,1946,2170,2026,2022,2110,2160,2266,1528,1514,1284,1316,1038,857,952,1238,1542,1584,1310,780,344,338,408,1498,2024,1434,1122,1142,938,612,521,675,936,1238,1054,667,638,607,870,922,740,724,926,1102,910,662,966,1140,883,846,492,635,1166,1310,1516,1510,1056,807,939,1062,1144,1288,1278,1212,1162,844,901,2336,2894,2110,977,500,532,869,1106,1306,1196,822,834,1050,1356,852,694,868,991,1204,839,340,408,681,877,1242,1078,1078,1372,1294,700,397,483,637,687,628,614,483,336,651,1005,885,733,578,617,811,821,621,1146,1480,1190,1208,785,589,680,826,1070,1144,1350,1162,622,439,695,809,688,754,651,546,484,955,993,785,827,605,959,1574,1654,1686,1736,1418,820,414,325,573,908,1274,1186,1204,1328,1332,1404,1390,1368,1234,950,1098,1430,1544,1062,951,1102,1236,1306,1238,1218,1334,1340,1466,1466,1856,1654,1276,1184,1456,1322,896,897,1428,1700,1626,1422,1036,793,938,1166,1206,1098,1286,1146,918,1150,1064,722,440,600,828,1148,1328,1090,852,1098,1390,1300,1118,902,667,580,626,658,1080,1600,1064,675,568,512,601,784,960,1078,1110,997,1094,1166,1108,1380,1572,1406,1214,1021,1108,1344,1250,1482,1412,1510,1390,1274,1432,1282,1290,1440,1242,1278,1026,1004,1028,707,901,1072,752,479,868,1082,854,1058,901,488,435,727,1072,1010,1068,1192,1134,704,361,346,543,819,830,1152,1190,1056,1080,828,767,805,1256,1432,1188,1094,910,938,1260,1310,1004,1142,910,1156,1234,1172,1282,1276,1108,1018,1009,894,592,419,570,551,473,418,364,344,391,505,571,586,629,513,451,479,546,587,623,568,605,628,468,471,515,413,529,765,769,764,691,886,967,756,612,675,724,489,427,866,1288,1170,1090,1304,1358,1548,1116,742,548,449,662,668,771,926,1168,1268,1334,1186,998,1064,1152,1216,1406,1784,1478,978,929,1264,1220,1007,1236,1562,1018,1356,1256,1552,1370,1414,1334,1080,1044,1062,1054,1200,1132,858,778,976,918,999,1300,1202,883,916,1023,1218,1238,1266,1388,1646,1314,843,882,1058,1268,1216,1288,1506,1206,619,629,1086,1506,1622,1434,1212,1128,1388,1208,1082,945,955,1134,1248,1382,1510,1518,1362,1200,1224,1118,810,679,719,535,792,1274,1414,1438,1262,977,503,426,417,443,597,766,713,526,579,488,483,792,902,1244,1076,689,616,518,445,414,370,517,496,503,816,1330,1232,600,706,828,501,655,805,678,520,419,375,403,576,741,658,471,348,343,378,375,357,354,399,397,426,651,922,1074,675,484,720,1070,1226,1064,1272,1538,1034,435,402,345,310,369,366,470,651,633,427,386,646,937,805,452,420,441,299,309,540,721,620,744,891,796,728,529,449,641,910,972,540,451,445,431,344,295,281,473,546,437,647,1184,1188,746,877,1120,1398,730,602,1032,985,787,582,458,347,311,339,349,383,391,737,726,482,471,676,828,888,945,1012,902,652,585,451,345,327,323,458,395,543,914,1694,1794],[651,650,557,426,606,972,932,558,423,408,399,407,429,431,471,437,414,422,404,405,392,338,357,376,389,396,378,393,407,426,412,405,410,404,386,316,270,292,292,304,309,285,277,282,283,292,307,296,273,281,283,267,223,226,262,273,260,280,325,377,350,291,300,309,288,333,351,343,370,471,877,691,414,331,284,357,492,516,572,390,280,354,553,888,1120,857,816,1210,1204,933,764,430,375,363,404,503,325,347,543,922,1142,1286,1440,1256,1224,1354,1264,982,777,997,928,432,421,469,337,226,254,398,497,455,568,780,612,1158,1714,1462,1498,1246,769,497,419,631,752,792,738,924,1246,1192,455,305,309,311,312,330,327,305,347,416,438,414,389,386,371,337,424,486,502,455,405,381,383,369,371,346,381,447,455,392,403,429,444,761,704,452,496,480,486,583,913,1052,1044,1218,756,589,689,945,814,466,360,330,393,741,1142,1290,1454,919,834,698,1040,968,1036,974,756,796,865,941,1120,1238,1300,858,724,1050,1062,697,438,472,866,1062,1094,1226,1134,1124,839,957,1184,1324,1376,1224,1060,1222,1310,1136,1118,1096,710,674,966,537,416,445,857,1130,1354,1250,1164,1086,1076,1166,1178,1015,850,650,775,1542,1192,964,1064,1066,1038,1122,1054,1005,951,1094,1322,1310,1670,1632,1632,1676,1648,1430,1296,1058,968,1026,704,566,803,1246,1394,1450,1564,1376,1150,1158,1224,1252,1314,1466,1528,1310,1326,1514,1516,1340,1126,1316,1726,1536,1410,1504,1642,1414,921,998,887,737,979,1386,1366,1712,1530,980,835,1148,1382,1560,1190,608,1011,1028,905,865,1094,1326,1634,1794,1910,1610,1176,1148,1152,1024,1174,1418,1540,1202,1072,999,1024,1032,1166,1140,1132,1170,1138,1040,735,593,612,1012,1028,1324,1400,1224,1042,1082,1278,1162,1162,1266,1470,1290,885,896,975,1244,1250,1090,1144,1094,932,1090,956,653,949,965,841,1114,873,741,1048,812,591,630,545,499,473,501,484,522,1088,1248,1188,1242,1324,1084,847,553,308,499,618,528,768,1002,1030,1044,1088,941,714,1056,1262,1250,1214,1052,908,637,525,592,966,1188,1216,1188,963,955,767,751,999,1023,1054,1606,1766,1178,1320,1138,1180,1276,972,548,413,359,441,943,1256,1098,948,959,935,1130,1136,1388,1342,1310,1266,1404,1268,1232,1292,1200,1196,1136,790,568,569,696,929,1168,1050,989,1078,1078,1030,684,733,1102,1412,1476,1250,1540,1572,1476,1478,1508,1296,817,747,1190,1126,853,839,1038,998,1106,973,1076,1100,1208,1446,1490,1290,1208,1092,1124,1208,1015,971,1009,1001,1044,1048,1078,1396,1440,1396,1692,1300,1442,1596,1762,1810,1664,1588,1458,1274,1242,1086,698,490,540,1084,1324,1011,647,513,785,1286,1342,1042,913,975,924,1122,1164,1026,1140,910,974,1358,1268,1160,1542,1580,1400,1190,1264,1180,811,504,532,520,433,450,336,476,634,613,561,1042,1456,1326,1132,1046,1070,1154,1228,852,522,394,337,854,1132,1088,1023,1058,1112,1078,1158,1192,1316,1438,1348,1252,1250,1286,1218,1146,1152,1240,1144,1001,899,967,1282,1338,1030,1080,1356,1356,918,739,886,855,756,902,1332,1404,1300,1226,1166,1222,797,577,670,789,746,933,1122,1026,929,1034,959,733,924,922,982,1078,1210,1390,1202,1174,986,901,609,548,594,637,422,643,566,633,588,404,545,646,507,491,580,921,1252,1230,1062,738,650,566,647,560,391,404,402,478,970,1482,1182,1156,677,1100,1166,1170,1340,1100,1290,1376,1094,1312,1302,1288,1606,1310,1118,1200,1162,1448,1496,1398,1714,1438,885,871,783,979,1198,1072,1102,1252,1332,1182,992,1021,1164,1246,1224,1160,1130,957,891,1136,1128,754,550,455,550,1136,1104,817,795,960,1306,1198,952,853,948,1104,919,807,1188,1118,1078,1292,1404,1290,1236,1320,1014,511,683,997,1006,773,982,1152,1164,1152,1174,1100,1072,898,928,1196,1178,776,900,1250,972,875,996,766,605,702,525,649,1009,1036,1294,1284,794,898,1300,1366,1252,1484,1296,1206,1422,1490,1444,1300,1368,1566,1708,1744,1752,1714,1786,1776,1714,1588,1526,1470,1406,1384,1266,1224,1234,1130,1118,1090,1186,1068,1052,1188,1346,1982,2036,1204,1094,1062,1308,1136,910,1056,1250,1238,1312,1610,1426,1226,1454,1402,1132,1300,1212,1262,1368,1500,1744,1540,745,377,361,352,411,470,426,412,529,397,356,303,305,348,373,438,442,408,407,364,409,520,509,425,431,428,538,426,364,402,571,792,727,523,403,332,387,468,331,371,529,524,384,384,347,298,353,289,272,346,480,549,480,418,431,435,406,370,404,429,419,472,409,316,370,454,386,416,447,549,689,727,761,843,826,893,1208,1352,1400,1354,1360,1228,886,1108,1442,1274,1240,1208,1178,1334,1298,1148,1268,1196,825,1060,1132,1152,1162,938,913,996,829,872,1068,995,490,415,552,810,592,501,716,739,1072,1426,1338,1116,758,716,1190,1382,1400,1692,1402,890,546,476,487,439,672,966,893,889,763,796,768,841,1116,1302,1286,1236,1136,652,557,884,1272,1070,636,630,636,452,386,588,1010,1274,1004,474,337,411,727,888,1382,1272,967,1340,1534,1154,875,1192,1244,1210,1260,860,860,722,525,482,456,396,422,640,642,518,428,457,532,751,853,754,952,781,601,915,1168,1216,835,589,967,1206,1058,878,886,1116,776,808,1156,1132,829,994,937,919,940,1001,957,700,421,516,651,905,1012,1026,1204,1858,1678,1272,1080,1062,1288,1268,1284,1262,1560,1704,901,1028,1402,1306,1342,1374,1312,1182,935,717,779,939,921,1066,1284,1490,1494,1344,1578,1424,1112,1250,1234,1240,1412,1210,1154,1078,1007,1009,1090,1009,708,894,1152,1278,1644,1938,1876,1356,1136,1204,1060,885,1013,976,885,662,1222,2414,2160,1932,2042,1728,1678,2132,2032,1532,1050,1080,1214,1284,946,747,750,1248,1592,1542,1504,910,579,573,451,1306,1506,1164,1104,1096,858,540,594,872,1023,914,957,1044,962,870,962,956,858,793,1084,1316,988,550,1440,1944,724,832,755,1050,1462,1522,1560,1522,1234,1058,1007,1040,1214,1056,916,795,1150,1138,865,2124,3604,2938,1610,1282,1002,1226,1324,1228,722,535,848,907,1080,1134,1005,974,1080,710,333,388,370,399,777,1326,751,441,742,990,733,700,897,794,620,573,562,454,311,636,814,525,375,592,864,961,767,677,1080,950,866,1154,916,683,817,1116,1184,871,1072,1322,818,453,667,832,630,634,617,551,450,910,812,620,775,777,1042,1354,1230,1204,1464,1382,836,463,383,562,918,1202,1224,1594,1742,1274,1324,1666,1562,1264,886,1108,1518,1554,1178,1042,1190,1350,1470,1428,1478,1780,1910,1956,1568,1532,1422,1368,1402,1356,1304,1348,1146,1294,1456,1394,1482,1015,506,478,540,473,686,929,922,940,940,931,787,639,494,460,821,1005,1001,961,1017,1246,1314,1180,1166,993,750,644,459,1146,1920,1208,673,506,480,552,621,741,894,1156,1356,1092,913,893,1276,1404,1302,1003,861,1044,1122,1184,1258,1340,1534,1396,1478,1426,1338,1512,1518,1444,1472,1130,968,1106,1214,1286,887,543,585,817,989,981,1148,798,578,902,973,961,685,807,1328,1078,486,516,482,618,802,866,937,789,904,1050,1010,891,827,1094,1186,965,1190,1036,835,1310,1324,1334,1200,1142,1238,1126,1166,1216,1062,1058,843,612,1000,563,307,364,381,395,381,366,353,356,433,497,562,626,510,576,669,748,771,763,783,689,466,393,452,471,533,748,827,815,926,902,1058,990,663,568,680,744,553,576,867,1138,1222,1232,1086,1136,1282,1234,1228,800,587,552,722,863,786,916,1072,1284,905,866,1194,1238,1348,1570,1668,1570,1466,1242,1412,1298,1080,1254,1332,1324,1310,1418,1646,1444,1220,914,858,849,843,1032,1240,1062,904,871,730,609,602,882,991,782,706,837,1007,1007,1194,1392,1600,1228,1162,959,975,1232,1160,1116,1316,1356,1003,642,928,1604,1776,1434,1048,956,1284,1278,1024,966,950,1186,1216,1248,1406,1296,998,1042,1266,1228,1094,995,633,446,737,920,824,950,979,969,613,496,536,719,899,590,277,272,305,347,375,364,388,639,877,678,709,604,440,449,528,437,430,818,1004,1156,905,926,1210,1132,626,683,1020,833,366,394,318,334,425,636,789,577,379,341,382,394,384,337,353,370,474,872,1028,1082,976,1040,1178,1000,814,949,1388,1672,1164,477,346,320,353,338,415,550,982,1066,655,569,828,1030,769,411,413,397,326,319,723,1094,807,522,479,541,625,630,885,1182,1104,854,510,457,462,442,386,322,343,555,769,706,912,1182,1124,1236,1112,1082,1138,849,853,1152,1110,822,808,976,452,365,400,397,480,501,902,920,539,444,834,1180,802,763,1162,1132,836,1004,1007,1007,521,371,417,401,461,1132,2022,1784],[611,586,539,448,406,650,850,539,428,420,443,450,432,425,433,413,415,424,411,394,380,364,365,414,408,396,380,383,386,393,391,401,415,426,444,377,312,321,314,299,305,309,301,298,293,292,294,288,269,283,302,269,227,265,272,255,283,289,276,324,299,298,300,333,305,344,342,345,369,420,437,324,314,314,322,393,633,670,748,440,284,419,1116,1326,965,722,1040,1556,1338,1015,849,537,355,408,328,257,260,292,395,786,1116,1232,1124,805,1142,1402,1294,1186,999,1184,839,444,487,557,463,320,299,351,388,381,525,893,1070,1136,1680,2088,1922,1426,996,827,980,841,739,930,868,888,1582,944,460,395,348,357,354,335,343,344,363,364,364,390,407,454,418,430,548,565,539,575,462,384,407,360,357,365,420,444,400,522,659,545,455,601,556,481,530,558,623,727,999,899,702,958,1216,1076,745,770,641,382,356,349,389,767,1072,1220,1108,872,816,876,909,597,721,773,588,684,985,1090,1050,1554,1812,1234,968,998,858,536,355,536,984,916,833,959,1240,1358,1106,906,1216,1438,1248,1086,1224,1324,1350,1368,1306,1470,1164,781,567,413,590,597,659,1138,1420,1540,1572,1378,1256,1106,1098,993,762,749,874,1216,1154,1018,1024,998,1017,1096,1106,955,1074,1238,1616,1742,1594,1504,1584,1616,1542,1468,1446,1244,1128,1180,1174,1062,1062,1338,1370,1330,1348,1330,1362,1420,1314,1834,2296,2074,1370,1170,1232,1388,1420,1398,1344,1268,1604,1828,1732,1716,1686,1366,1072,1124,1118,1156,1460,1380,1694,1678,1214,694,510,1128,1808,2122,1017,574,894,1042,850,893,1070,1326,1692,1814,1826,1698,1342,1056,869,852,838,933,1118,1132,1144,1360,1412,1630,1704,1046,1036,1066,1200,1512,1156,908,941,1144,1086,1120,1144,1082,993,1178,1290,1186,1274,1232,1460,1332,1110,1120,1054,1118,1212,887,764,940,1126,1188,885,907,1116,990,929,1166,965,733,703,584,484,318,339,438,508,497,569,1046,1742,1378,1242,1432,1218,1138,1216,752,368,386,554,650,1234,1310,1306,1522,1370,1228,1092,1052,1080,853,815,1011,1064,968,687,905,1080,1196,747,730,755,840,855,824,888,976,1132,1126,987,1202,1298,1126,1216,1122,775,459,346,277,326,662,1072,1180,1048,980,1202,964,1122,1290,1152,1076,1170,1352,1192,1260,1262,1238,1228,1294,1208,1136,1018,920,778,993,1150,1001,891,973,810,561,944,1178,1322,1476,1074,1144,1302,1316,1422,1280,1210,1102,777,1112,1704,1918,1252,1126,1356,1268,1100,951,747,843,1138,1242,1118,1260,1192,963,1100,1094,1074,1078,1108,1146,1116,1140,1370,1268,1166,1444,1202,1256,1332,1180,927,1266,1672,1770,1626,1514,1178,590,500,775,1356,1332,944,646,486,943,1410,1312,1138,937,922,955,1160,1168,811,891,808,945,1318,1216,1086,1034,1326,1520,1480,1322,1254,913,633,822,697,463,458,439,589,553,678,1160,1366,1366,1212,840,724,814,1054,803,486,442,399,404,814,1386,1582,1336,1132,1050,1011,1014,1034,987,1146,1013,871,1100,1088,1082,1126,1042,1152,1132,1023,891,959,1518,1598,1074,1206,1594,1218,760,764,886,761,958,1234,1460,1068,954,1312,1274,1152,954,722,699,666,883,1292,1122,913,1158,1294,1052,1005,1096,921,1080,1052,1202,1458,1230,924,670,924,788,833,636,591,524,651,588,567,545,410,565,669,528,459,519,969,1186,1278,999,747,745,714,703,589,484,478,543,963,1266,1242,1300,1048,816,1116,1242,1248,1244,1046,857,1028,864,847,992,1380,1412,1390,1214,1224,1692,2630,2146,1494,1638,1116,541,456,685,1164,1362,1338,1318,1150,1252,1248,1048,1064,1148,1100,1114,1108,1498,1472,1294,1426,1216,1034,1186,930,931,1202,990,762,564,759,1072,983,916,1050,983,816,775,647,651,1148,1566,1362,1320,1326,1278,1132,773,383,502,683,800,865,1076,1152,1196,1486,1614,1130,986,936,995,1190,1164,1168,1404,1390,1244,1070,1134,1046,828,784,645,746,877,834,1052,1114,1040,1032,1108,1168,1246,1330,1248,1284,1390,1226,1170,993,1152,1358,1402,1448,1382,1262,1346,1494,1572,1576,1400,1482,1560,1560,1536,1592,1336,1116,1312,1250,1090,1136,1146,1110,1058,1072,949,1302,1382,1380,1240,913,968,1016,1136,1190,1098,1342,1486,1312,1748,2008,1314,1130,1256,1246,1372,1250,951,662,381,327,317,334,404,372,414,379,391,374,380,377,337,329,362,568,849,827,599,357,411,637,590,457,419,393,534,484,378,443,652,788,716,533,498,463,413,383,346,301,475,540,393,383,373,392,395,337,378,386,632,552,385,406,460,455,398,369,458,426,453,564,468,505,593,541,443,366,326,362,493,581,631,818,969,1032,1208,1342,1448,1318,1372,1412,1034,1160,1392,1298,1334,1136,1202,1298,1234,1160,1156,1122,1280,1394,1156,1138,1110,886,523,464,667,740,977,1232,813,421,361,535,677,977,1124,977,1400,1668,1608,1092,1188,1142,1280,1100,1216,1122,811,568,526,647,672,606,796,884,562,648,856,1048,989,919,1270,1210,977,1202,1126,711,711,1116,1616,1124,625,485,417,431,450,617,918,1158,994,402,343,514,886,899,1164,1070,659,871,1200,994,662,655,922,1202,1162,1296,1104,771,462,430,620,705,490,437,513,489,339,390,465,872,980,642,591,443,483,778,879,884,968,1016,1230,1276,1210,1106,1230,1256,824,800,874,960,1015,960,792,855,816,1054,912,816,430,507,520,739,965,1012,1102,1142,955,971,1048,1092,1224,1216,1252,1326,1536,1210,635,1276,1504,1306,1248,1092,1312,1370,1144,875,879,912,896,1126,1228,1446,1450,1390,1426,1003,1062,1480,1476,1422,1294,1118,1180,1094,841,861,903,998,1080,1216,1310,1316,1592,1820,1904,1692,1598,1506,1009,788,976,893,946,1090,1766,2222,1820,1826,1910,1984,1914,1732,1720,1676,1480,1178,1172,922,781,960,1066,1284,1344,1410,1132,511,419,420,356,493,688,866,832,905,698,494,577,843,1094,692,1015,1550,1066,706,839,972,871,864,863,686,634,651,1416,1454,946,1054,1038,1050,1246,1534,1464,1332,1126,818,625,854,1212,1070,669,627,1250,1336,1122,1532,1914,1862,1554,1444,1274,1566,1288,896,596,781,1162,1050,947,1098,1017,897,651,490,534,643,525,360,521,998,1050,843,946,1108,1004,1016,970,1180,941,736,557,597,407,355,496,411,371,619,720,502,354,778,1052,685,676,693,600,711,946,1154,1052,824,1028,1340,788,476,555,724,606,578,574,507,442,471,357,410,668,781,656,532,560,670,1100,1204,818,491,380,455,706,1040,1222,1180,1178,1106,1242,1806,1610,1140,992,1206,1384,1324,1158,1154,1408,1664,1656,1582,1406,1288,1380,1602,1472,1226,1110,1294,1636,1416,1198,1144,1110,1288,1246,797,767,550,414,397,386,515,667,730,792,520,508,769,944,1116,1166,1086,709,730,1068,1238,1204,1188,1216,1280,1378,1124,1130,1382,638,729,887,584,547,584,527,719,1190,1254,883,1114,1158,893,743,786,1308,1342,1378,1204,1060,1172,1032,1116,1288,1346,1302,1376,1334,1298,1470,1272,1114,1308,1534,1406,979,1150,1604,1338,766,570,547,507,814,1100,1210,955,683,939,1028,785,427,447,636,474,385,484,481,511,497,672,630,791,975,1104,1128,1060,1011,1030,1046,1206,1056,761,853,1400,1390,1088,812,947,1002,724,751,919,684,637,551,790,841,361,264,255,274,336,371,383,416,404,413,467,648,664,626,680,725,736,767,824,767,565,462,486,396,403,626,873,830,860,891,791,897,803,563,477,598,722,808,1050,920,968,1176,1226,1100,1138,1328,1798,1772,1544,1306,1005,1001,1038,1232,1108,1058,1122,879,894,1010,1086,1324,1538,1458,1420,1716,1784,1672,1568,1508,916,789,1296,1448,1410,1312,1274,999,766,1226,1118,1154,1484,1142,722,711,659,565,609,514,653,916,661,452,547,612,919,1078,1130,923,1072,1290,1134,1140,1084,1206,1212,1152,1312,930,674,924,1450,1476,1034,666,678,1086,1230,1046,1026,991,1322,1268,1262,1228,1152,1110,1166,1210,1090,806,715,394,596,722,680,620,691,949,1002,740,661,752,788,628,314,260,281,295,332,401,463,493,522,646,722,800,822,855,712,1032,767,423,830,1224,1236,1178,1470,1526,1178,794,973,1300,1202,591,381,297,378,411,642,572,617,555,360,385,401,377,401,435,396,442,855,1260,1468,1346,1042,952,882,783,1104,1128,1050,943,665,442,296,314,328,538,689,723,495,459,736,849,971,930,701,615,1026,810,523,1126,1702,1282,669,577,622,808,874,1278,1510,1288,809,601,764,764,687,624,442,400,672,993,1086,1174,963,913,1088,977,1062,1246,1216,1330,1270,909,755,822,1016,422,332,358,424,449,580,1252,1284,738,674,944,1058,521,725,1180,1206,919,1268,1356,866,447,594,697,730,983,1464,1620,1430],[466,405,412,413,325,329,357,300,393,450,410,392,424,452,459,458,427,410,428,396,364,380,376,387,401,408,386,383,372,365,368,404,441,473,481,430,395,365,329,298,294,298,296,300,293,288,295,277,273,284,304,271,254,297,292,238,259,282,322,341,272,290,295,327,342,337,325,339,358,370,351,351,339,344,347,340,428,553,561,491,512,838,1582,1652,1232,1250,1130,1304,1184,1024,935,709,517,403,264,287,275,285,443,783,912,622,679,641,486,579,981,1066,1142,886,681,801,606,579,803,551,389,395,372,525,937,973,968,1220,1948,2000,1462,1390,799,520,635,652,998,1180,820,1060,1130,557,393,399,426,430,404,335,335,336,359,315,329,413,487,476,438,468,537,553,524,583,550,473,533,442,408,367,338,384,457,725,811,573,492,529,552,500,537,583,637,800,877,666,476,765,1416,1344,911,683,545,378,363,459,549,788,929,852,556,703,784,853,908,597,658,660,448,574,738,1078,1142,1570,1622,1410,1110,966,838,439,438,772,1114,1005,825,763,1074,1262,1092,1080,1294,1296,1136,1296,1406,1154,1386,1542,1548,1610,1408,743,373,641,913,735,956,1256,1086,1208,1456,1448,1424,1308,1222,1036,927,1038,1094,1306,1442,1286,1220,1076,865,619,839,830,1007,1276,1708,1844,1478,1030,1072,1364,1624,1386,1396,1458,1532,1456,1268,1216,1216,1624,1600,1254,1262,1366,1438,1240,1162,2112,2602,2108,1462,1204,1180,1158,1112,1520,1578,1472,1760,1706,1576,1690,1674,1312,1214,1046,1198,1520,1252,1592,2022,1600,1036,560,695,1674,2680,2526,789,608,974,1064,955,1072,1194,1474,1886,1892,1818,1564,1086,810,651,684,778,1142,1428,1364,1300,1366,1382,1566,1646,1354,1318,1122,1278,1394,1144,1320,1378,1100,1074,1124,1116,1128,1172,1100,1234,1192,951,972,1144,1138,1086,1064,1024,1148,973,776,944,1036,1234,1274,1010,1142,1068,1020,957,1098,1058,738,534,449,285,236,298,414,455,560,653,1170,1414,1074,1268,1392,1064,1306,1504,1062,802,623,924,1068,1384,1404,1134,1148,1252,1312,1258,1172,1042,419,675,1410,753,612,540,803,771,631,1964,2922,628,885,1092,948,699,766,1068,1182,1011,1001,1186,1200,1166,845,425,347,416,292,324,661,805,1004,1428,1460,1114,918,1268,1326,1132,1058,1030,1340,1302,1340,1372,1288,1106,983,1100,1158,952,794,945,1226,1196,1048,976,1006,617,654,939,1134,1364,1400,1062,973,886,993,1202,1336,1288,913,694,1138,1346,1164,1234,1272,1390,1264,1062,1060,944,856,1138,1248,1180,1312,1224,1080,1042,998,1112,1058,1019,1134,1116,1108,1400,1226,947,1114,1122,1134,1280,1009,661,639,1214,1580,1720,1754,1616,1180,885,1116,1020,990,1009,675,547,1112,1100,684,822,1158,1184,931,1130,1178,991,1023,1006,1170,1422,1526,1018,617,1078,1686,1932,1626,1106,835,892,969,788,711,612,606,863,1094,1400,1460,1232,1354,1372,1078,912,923,961,532,390,465,390,442,888,1424,1482,1216,1520,1448,1238,987,1096,1146,888,596,693,1002,1106,1190,1170,1060,1168,1182,1216,1042,1052,1390,1210,747,1021,1462,1518,1550,1214,1082,1106,1256,1252,1306,1188,1228,1412,1274,1230,1312,1090,955,883,1005,1066,1044,1108,1376,1358,1074,1194,1034,876,1102,1014,1168,1194,879,735,881,933,978,1064,970,885,898,944,693,531,594,466,587,617,494,435,527,1070,1242,1188,929,738,839,781,694,581,623,666,792,1344,1384,1023,810,641,705,938,1232,1204,1092,1038,974,1180,1088,742,932,1200,1094,1124,1164,1328,2100,2696,1986,1622,1438,1216,1064,978,1156,1240,1284,1296,1184,1092,1174,1220,1186,1274,1292,1238,1144,1284,1498,1596,1504,1334,1158,1306,1306,987,1019,1156,1334,1348,1064,769,832,1166,1184,1002,1013,872,612,512,549,1030,1476,1582,1470,1194,1162,703,443,410,471,695,1028,1216,1264,1302,1470,1628,1624,995,965,1188,1013,1106,1184,1328,1414,1438,1338,1270,1346,1108,952,973,1074,859,708,875,1196,1356,1288,1206,1152,1108,1320,1354,1108,1210,1330,1232,1048,891,1028,1154,1246,1342,1302,1200,1224,1328,1332,1164,763,673,1023,1232,1444,1504,1134,983,1180,982,763,1284,1494,1470,1364,1444,1290,1356,1418,1424,1312,1216,1248,1260,1216,1086,1158,1342,1694,1562,1632,1806,1580,1382,1244,1166,1192,760,380,380,340,269,264,401,476,426,396,425,484,446,453,407,375,350,394,744,1078,1078,656,338,347,455,481,476,400,361,421,410,377,429,621,689,647,448,471,544,438,275,307,359,387,451,368,359,367,324,301,357,441,562,550,440,453,515,481,494,419,381,469,391,509,546,422,437,494,518,429,321,314,337,375,424,620,930,1026,1116,1152,1230,1416,1318,1172,1166,1178,1302,1400,1458,1346,1218,1208,1270,1232,1122,1066,1110,1266,1284,1180,999,724,799,485,404,384,386,915,1180,987,785,833,1016,1007,972,1242,1062,1290,1352,1510,809,825,1152,1070,835,703,659,772,738,834,1246,1150,772,835,852,968,813,932,1130,964,885,893,715,1056,1228,1030,879,838,771,813,614,502,562,834,1104,1148,1160,893,1004,886,404,312,533,879,673,827,952,959,1132,1054,856,671,1024,1324,1444,1240,1278,1068,999,619,542,821,904,551,448,430,483,576,619,425,454,524,529,449,535,642,786,915,897,1080,1246,1142,946,1162,1116,1338,1180,1094,1142,868,493,772,1098,1196,939,530,833,709,485,473,922,978,882,905,859,725,803,839,828,817,744,830,861,763,1013,1246,1212,1096,1500,1536,1190,974,1226,1466,1632,1578,1434,1234,1218,1076,991,1088,1412,1456,1276,750,498,761,1272,1508,1542,1406,1212,1174,1172,986,1032,1138,1272,1322,1390,1562,1600,1654,1732,1980,1886,1650,1592,1098,812,1007,1248,1558,1386,1642,2386,2044,2172,1880,1562,1306,1176,1550,1840,1622,1504,1324,897,1028,1242,1017,939,1052,725,514,455,619,565,420,382,449,506,399,573,685,639,694,1001,891,552,1290,1708,1076,835,785,851,1140,1080,706,570,796,807,615,553,618,730,973,824,1009,1410,1276,988,683,479,537,556,940,1032,932,839,1310,1542,1170,1084,674,778,1310,999,1158,1362,860,539,503,642,568,709,1268,1252,946,1120,879,828,852,852,634,404,510,1012,1324,1162,1160,1044,919,779,629,935,1244,1170,982,880,731,693,655,526,496,423,339,319,417,1056,1112,852,687,659,908,959,865,1060,823,1008,1066,1160,572,424,484,641,622,577,554,482,441,438,389,382,562,750,730,655,563,570,888,994,802,499,383,434,604,942,1134,1174,1336,1160,1362,1486,1318,1007,1026,1362,1310,1170,1160,1316,1430,1598,1804,1638,1400,1222,1318,1534,1378,1066,1020,1394,1584,1166,1188,952,1052,1290,1180,807,522,371,361,372,351,484,632,703,735,444,489,549,737,1074,1250,1262,984,918,1024,1178,1204,1168,1284,1058,1156,834,660,839,787,727,829,842,854,854,656,664,896,887,1102,1216,1250,1102,1284,1272,1558,1528,1328,1060,1054,1210,1040,1138,1170,1242,1148,1416,1174,1270,1422,1116,1204,1360,1470,1350,1070,1546,1662,843,618,544,511,769,1092,1178,1334,1134,940,1256,1390,1019,458,334,392,369,340,330,333,318,442,555,717,1011,1186,1274,1118,1292,1216,674,617,898,846,817,981,997,955,917,675,688,672,454,647,792,659,544,576,891,558,276,314,273,275,297,312,433,626,502,456,509,556,513,522,586,640,677,795,813,605,498,514,516,437,460,705,681,574,570,539,584,662,625,513,502,628,792,1064,1220,1144,1240,1274,1290,1476,1506,1660,1590,1748,2124,2060,1590,1086,1192,1382,1372,1130,1290,1386,1200,1024,1072,1324,1590,1556,1332,1294,1574,1508,1532,1524,1028,892,1190,1448,1238,1148,1302,1052,1142,1302,1226,1456,1510,1132,963,1108,976,690,532,480,529,664,576,393,521,835,1052,1054,994,864,991,1168,1098,1172,1160,1116,1252,1234,1348,974,771,966,1230,1130,653,489,609,890,1128,1310,1214,1176,1414,1036,1004,1134,1140,1418,1422,1184,1023,957,780,533,880,686,505,648,1068,1284,1188,1007,1026,1044,562,321,257,269,322,357,405,750,1009,974,850,889,1038,1096,1130,1150,694,845,695,400,575,913,847,979,1218,1108,986,1174,1318,1166,1222,1056,492,354,383,375,491,375,382,447,344,354,467,482,466,416,429,446,927,1350,1144,681,419,579,872,1005,1280,1016,675,655,800,539,355,374,404,565,702,502,369,425,626,814,891,994,953,672,1194,1366,749,1024,1920,1986,955,547,764,998,986,1478,1574,1314,900,861,1034,971,954,738,420,304,630,993,1138,1102,997,1062,1198,1106,1074,1176,1198,1344,943,548,556,567,373,284,376,372,416,491,579,1116,1340,897,838,1042,955,579,855,1204,1196,1116,1186,972,570,542,991,1114,1330,1528,1310,973,1338],[389,362,370,313,290,295,309,329,392,445,416,361,392,469,462,431,412,400,428,416,390,378,390,394,406,370,340,368,355,364,390,420,445,477,437,410,419,402,391,351,316,301,299,306,301,300,298,275,272,285,281,256,263,304,283,254,288,300,285,292,283,292,301,296,311,307,339,430,436,422,401,385,374,370,356,337,384,412,524,712,799,1026,1538,1538,1128,1248,1236,1468,985,688,599,734,727,365,298,343,319,347,563,914,967,455,467,857,641,610,1122,1408,1098,581,689,1134,1186,999,1154,591,449,455,433,713,1324,1102,739,938,960,741,576,791,394,340,576,522,833,1100,995,1262,970,527,465,464,616,598,427,387,367,341,349,312,321,446,607,565,472,454,460,465,473,550,551,444,544,475,354,309,352,499,680,687,534,533,601,505,512,535,586,646,576,940,985,504,411,508,902,1088,865,615,547,430,595,1380,1516,1132,846,518,319,439,594,785,708,585,781,714,636,706,719,1026,1248,1316,1554,1822,1338,1004,557,437,448,756,902,1066,1030,888,803,897,1176,1268,1122,1138,1266,1350,1224,1136,1128,1214,1632,1498,1014,511,502,916,1056,1023,1300,1232,927,925,1300,1368,1520,1106,857,910,1026,1252,1370,1364,1226,1102,1154,1234,890,639,589,780,1017,1358,1292,1002,869,949,1024,1318,1498,1336,1332,1620,1826,1714,1560,1436,1544,1616,1252,1322,1430,1340,1076,920,1176,1374,1610,1382,1306,1330,1382,1330,1166,1256,1488,1632,1642,1638,1520,1668,1816,1656,1460,1322,1508,1264,1206,1798,1794,1472,1072,771,977,2060,3002,2062,651,708,1132,1226,1286,1400,1296,1394,1870,1924,1860,1418,1020,901,620,467,745,1258,1568,1448,935,1190,1498,1462,1478,1402,1322,1322,1312,1336,1968,2354,1770,1102,1066,1140,1408,1308,1360,1212,1236,1180,1260,1340,1270,1334,1396,1150,1104,1188,969,971,933,1042,1338,1320,1248,1110,1014,1028,969,1054,1020,921,798,590,308,317,332,426,478,476,526,707,893,1038,1148,1134,1240,1100,912,1110,1160,1046,1160,1314,1172,987,871,803,1048,1358,1340,1342,1188,595,775,1017,470,335,501,634,824,725,2448,3802,1114,852,1019,1070,1096,1014,1210,1306,1114,1278,1330,1232,1332,1110,709,442,443,329,352,803,855,712,1270,1350,895,974,1188,930,933,1180,1130,1374,1222,1310,1248,1158,1218,1268,1306,1246,1224,1260,1362,1080,993,966,1028,991,719,1024,990,800,880,800,780,852,934,1158,1124,983,1246,1080,741,731,774,1044,1218,1168,1302,1076,931,1110,1002,1110,1428,1224,1204,1324,1332,1332,1086,1001,1338,1448,1410,1136,970,1074,1206,1104,1248,1222,941,987,882,835,807,848,1354,1238,1344,1480,1726,1764,1542,1558,1168,1136,1042,524,771,1104,592,403,596,1174,1240,1292,1396,1520,1286,1414,1798,1526,1438,1488,1158,868,1090,1616,1764,1460,1054,991,1100,1000,965,927,847,1048,1372,1594,1408,934,878,942,852,895,804,982,1004,530,369,403,417,488,1044,1316,1136,1150,1424,1374,1270,987,895,899,844,761,715,1062,1256,1112,1108,1126,1112,1080,1120,1188,1156,939,524,513,1038,1302,1356,1618,1490,1562,1314,1252,1276,1228,1324,1754,1748,1172,1007,949,853,766,962,979,848,719,917,1092,1072,1070,1015,735,832,1066,983,1262,1032,757,1034,936,664,924,1094,827,661,730,767,662,654,750,648,695,598,479,444,608,1038,1242,1160,839,614,741,810,744,532,531,619,835,1060,1052,991,742,555,557,659,832,933,976,1232,1094,1238,982,549,659,781,1116,1232,1100,1294,1460,1408,1628,1626,1194,1296,871,917,1134,1108,1044,1094,1136,1066,1160,1186,1194,1310,1202,1158,962,906,1098,1484,1466,1144,1004,1314,1464,1268,1118,1078,1470,1462,1408,1450,1270,1082,1104,1058,1044,1026,730,622,781,839,1048,1152,1200,993,1146,990,572,372,392,627,1086,1408,1446,1380,1506,1528,1342,1236,1282,1058,1104,1408,1302,1232,1488,1494,1332,1258,1322,1252,1282,1224,1172,946,782,1090,1160,1144,1236,1294,1268,1242,1278,1080,731,1001,1388,1440,985,805,912,975,1062,1242,1366,1252,1090,1082,1380,1152,1018,984,1088,1172,1578,1536,1114,1148,1256,962,805,1624,1612,1594,1578,1628,1582,1600,1732,1726,1472,1340,1284,1248,1172,1022,1308,1360,1468,1810,1778,1580,1454,1332,1172,1196,809,404,375,394,340,323,325,516,455,311,293,401,442,474,458,340,369,373,417,636,871,933,465,260,328,393,471,462,396,421,614,535,549,541,582,595,532,383,391,482,408,247,293,372,421,484,377,412,412,480,403,341,403,430,464,535,527,548,495,483,343,334,399,440,509,507,454,445,469,459,380,318,326,352,352,370,755,916,1250,1378,1306,1388,1444,1232,1170,1418,1526,1434,1298,1382,1228,1140,1176,1208,1124,1142,1300,1302,1310,1426,1152,1072,764,690,758,673,538,612,1042,1026,886,977,1076,646,586,455,842,810,494,576,1092,853,522,952,1578,1482,1060,958,1102,1028,719,880,1132,916,815,664,606,664,604,789,1260,1274,867,860,1180,1090,944,816,631,483,636,708,618,818,1640,1998,2014,1432,795,735,779,548,398,548,648,476,840,1606,1700,1420,1186,1150,1256,1238,1498,1484,1374,1246,2198,1924,870,591,389,490,534,724,896,816,796,839,548,534,766,750,617,577,441,825,1212,897,869,858,1080,876,801,990,1270,1134,1054,1148,939,676,666,1019,1306,1198,767,935,787,453,534,894,867,818,1030,1076,813,849,955,830,476,430,411,345,420,513,524,727,1340,1800,1802,1766,1568,1686,1292,1346,1668,1662,1626,1506,1450,1356,1424,1542,1396,933,584,772,813,1184,1302,1210,1248,1110,1094,1198,1296,1408,1578,1766,1644,1490,1654,1732,1730,1764,1874,1788,1598,1366,968,696,850,1220,1640,1456,1466,1350,1440,1820,1362,1080,1076,1144,1422,1472,1470,1496,1548,1286,1242,1268,951,804,824,680,512,595,857,949,723,716,724,416,353,426,591,706,966,1122,871,692,1216,1346,1023,980,611,813,1250,1074,982,839,764,521,404,557,525,563,835,747,933,962,865,678,798,903,720,841,874,771,1124,1178,1108,1038,760,857,755,928,1306,853,1134,1064,590,488,530,474,328,763,1304,1282,1306,1152,986,717,771,752,503,404,628,1064,1146,1052,1004,678,629,962,1188,1340,1390,1288,1272,1092,895,971,933,994,897,736,489,464,696,1206,1256,767,418,520,854,882,666,993,1050,1152,917,1180,843,460,478,595,619,577,544,489,470,449,457,433,492,684,742,743,637,581,752,995,855,453,380,377,582,976,1116,1280,1312,1190,1412,1550,1328,918,1060,1346,1248,1248,1082,1172,1276,1302,1300,1436,1610,1376,1296,1476,1186,908,914,1272,1526,1200,1250,1080,1190,1368,1314,1064,666,414,332,406,528,624,660,745,670,501,518,631,852,910,860,995,1180,1056,1116,1058,999,810,1102,1092,1068,742,893,1092,928,965,1011,811,694,852,830,506,431,487,987,1180,1126,1174,1172,954,1352,1658,1488,1208,1068,1136,1054,1284,1248,1200,1172,1164,1080,1284,1366,1058,1088,1350,1410,1312,1432,1802,1366,667,494,497,411,1340,1956,1582,1378,1278,1240,1524,1546,1344,998,770,839,650,415,346,348,407,544,793,1072,1186,1132,1124,901,966,1028,837,470,458,792,980,898,657,545,825,830,725,594,899,1222,1016,1450,1734,1300,1021,657,354,370,323,316,352,383,455,511,403,375,475,477,460,457,480,541,665,777,724,598,510,541,561,511,599,662,456,343,379,399,406,445,563,638,655,579,954,1248,1184,1168,1236,1238,1318,1332,1576,2016,1758,1130,1162,1762,1484,1244,1350,1450,1398,1200,1322,1376,1238,1024,1194,1148,1340,1346,1226,1322,1410,1418,1358,1320,1294,1242,1340,1416,1324,1384,1380,1300,1496,1542,1426,1312,1462,1472,1316,1118,1010,1172,830,673,553,456,406,416,444,719,821,722,808,1082,1164,970,777,1130,1366,1248,1332,1270,1228,1206,1178,1026,1120,1054,569,694,1090,1234,1400,1310,1138,1180,1242,1106,1248,1240,1212,1358,1472,1088,630,710,619,604,971,1106,1110,1216,1306,1172,1112,1222,1304,1304,717,376,357,414,439,517,822,1306,1636,1442,1002,926,1260,1172,782,692,761,809,686,520,547,552,518,841,1050,971,866,1076,1020,1018,1140,931,642,494,314,386,513,519,390,335,344,326,536,528,438,414,594,655,918,1172,1032,885,984,1086,1254,1130,1140,1302,922,657,678,477,373,479,517,822,1032,533,438,400,452,697,676,896,1020,869,1032,943,460,682,1106,1432,1042,615,749,781,795,1210,1440,1336,967,619,594,581,565,458,448,343,433,828,1320,1332,1132,1034,1082,924,890,915,689,1204,988,813,682,496,351,382,428,351,416,549,637,1242,1470,1314,1134,783,632,586,804,750,916,976,733,739,608,716,1394,1312,1524,1394,1228,1102,1286],[371,348,318,321,329,316,304,341,416,438,419,379,442,479,452,411,408,392,390,390,383,383,378,373,367,371,365,365,364,390,410,425,422,431,412,404,415,405,410,335,321,302,298,312,310,318,348,339,298,309,283,276,278,333,414,380,308,297,276,269,298,305,287,304,334,341,492,652,569,567,460,426,392,370,331,398,526,638,1072,1478,990,785,1182,1228,1013,991,1070,1472,877,523,628,872,758,373,362,387,339,325,388,751,733,422,384,501,451,590,938,1044,771,875,594,788,1042,1018,862,726,629,482,775,1326,1400,834,451,473,296,303,407,619,446,750,1024,891,1013,1150,1524,1466,628,502,476,770,1290,1088,625,497,379,340,335,308,339,498,610,544,487,448,443,456,460,527,525,452,433,393,363,383,465,608,619,470,434,519,608,576,529,568,628,695,741,1116,1160,653,724,496,595,1120,897,677,683,547,813,1582,1476,785,444,398,377,497,654,710,488,374,430,471,606,673,944,1242,1400,1440,1418,1554,1384,1262,669,486,462,631,980,1134,1062,1021,885,1188,1318,1019,720,715,642,1006,1023,1001,907,1036,1198,1072,825,580,771,1160,1052,1084,1162,1302,1086,1124,1234,1272,1292,1028,861,818,851,1082,1140,1124,904,884,962,1084,1122,1156,957,1005,1176,1144,968,597,631,981,1068,1272,1152,1106,1038,1476,1780,1700,1542,1550,1714,1666,1386,1290,1388,1208,1020,1126,1242,982,1134,1400,1482,1358,1242,1316,1236,1268,1770,1718,1642,1670,1626,1686,1812,1862,1798,1704,1400,1320,1616,1522,1390,1182,893,1214,1368,2234,3040,1782,518,817,1152,1304,1412,1360,1142,1288,1698,1536,1356,1296,1312,1148,621,404,560,737,1100,1478,868,1132,1616,1662,1674,1296,1072,1216,1034,1130,1620,1686,1610,1222,1114,1244,1458,1312,1222,1224,1192,1178,1424,1334,1130,1196,1384,1226,1134,1176,1256,935,868,1122,1134,1108,1160,1154,1124,1126,1088,1050,1166,1100,1068,887,610,410,368,426,461,469,488,471,549,773,1038,1206,1316,941,786,904,1028,1046,1328,1432,1104,933,1168,904,829,1256,1200,1200,1010,626,562,567,411,484,692,626,656,568,1188,1606,877,719,1028,1700,1548,899,968,1136,1108,1280,1222,1062,1116,1392,1224,869,580,351,547,1064,1104,948,982,772,608,996,1160,1106,1338,1562,1290,1202,1188,1212,1014,959,1104,1200,1212,1204,1192,835,901,1020,1166,1078,1036,889,786,924,852,734,485,364,397,557,1012,1076,1056,944,1210,1288,868,849,1136,1216,1052,1070,1270,1344,1238,1252,1180,1274,1390,1060,1028,1380,1612,1412,1220,1224,1552,1902,2010,1602,1108,1186,1278,1180,1414,1362,1214,1026,869,1334,1030,865,1212,1106,1142,1148,1312,1512,1654,1858,1594,1316,944,471,941,1400,784,452,630,1324,1466,1346,1290,1186,1023,1498,1888,1572,1328,1272,1106,861,969,1058,1456,1454,1310,1202,982,929,996,747,929,1312,1458,1630,1168,1024,962,898,910,928,994,1306,1204,805,677,612,761,988,1254,1172,1168,1258,1234,1338,1296,1009,1096,1180,1274,1068,922,1038,844,1028,1072,1092,1134,1064,1108,1166,991,959,637,592,1118,1142,1386,1604,1532,1490,1302,1294,1390,1400,1330,1344,1464,1102,954,894,842,901,1017,935,770,745,821,948,1046,1102,1118,702,570,727,1015,1338,1064,821,1010,908,650,799,987,576,487,425,447,539,661,755,797,794,637,453,397,595,993,1190,1220,758,623,688,724,719,551,516,639,905,1012,1166,1192,957,904,910,814,971,860,623,946,725,612,507,461,617,807,868,893,1110,1274,1186,1242,1620,1338,1098,1148,739,658,940,945,1050,1112,1110,1122,1428,1308,1272,1324,1378,1202,1010,808,878,1166,1192,1268,1226,1380,1418,1474,1350,1396,1754,1424,1050,1424,1484,1190,1318,1454,1262,1200,789,868,1066,805,749,745,908,1118,1272,1034,661,533,561,825,1356,1228,1276,1322,1476,1520,1274,1260,1158,984,1162,1318,1296,1338,1364,1240,1342,1148,1400,1306,1164,1164,1082,1023,1024,1002,814,1076,1224,1162,1222,1334,1124,943,818,1026,1428,1466,1076,861,909,1058,1168,1032,1180,1072,1030,1210,1412,1360,1130,1052,1050,1224,1446,1244,1196,1314,1438,1202,980,1070,1248,1324,1278,1336,1582,1682,1614,1654,1542,1516,1450,1372,1340,1262,1088,1120,1412,1792,1820,1522,1468,1714,1680,1494,777,379,380,335,338,457,508,488,394,301,322,412,429,396,334,304,350,391,407,391,465,455,288,257,336,369,414,427,393,394,689,713,695,662,641,529,412,367,433,534,498,342,311,554,664,482,371,388,307,401,455,390,471,650,544,429,464,542,462,345,285,321,379,398,478,606,598,529,475,460,415,352,357,406,390,337,680,832,1114,1388,1354,1386,1384,1272,1260,1300,1732,1514,1342,1384,1166,1116,1230,1154,1078,1296,1530,1494,1352,1416,1384,1166,889,908,999,975,690,730,1254,1398,1180,843,1094,501,420,387,586,613,521,645,821,725,729,1124,1486,1598,993,753,766,871,677,855,1208,899,585,445,421,526,552,845,1450,1584,1174,1188,1154,1022,1098,1092,916,647,568,935,949,935,1640,1710,1520,832,704,726,787,954,1034,901,747,724,1009,1082,908,633,866,1120,1210,1015,1050,1186,1254,1130,1216,1074,882,521,601,1078,1011,950,930,634,705,769,556,819,1246,1062,769,658,444,514,833,669,605,680,975,819,607,775,955,1042,858,873,838,1046,1178,1402,813,694,1078,1306,1013,666,647,680,560,623,621,803,816,824,786,503,355,380,379,405,404,407,435,641,1440,1824,1642,1312,1568,1830,1310,1260,1392,1388,1556,1600,1498,1372,1522,1342,1446,1344,793,719,1028,1318,1192,1130,1080,1066,966,1156,1452,1644,1832,1832,1678,1666,1732,1578,1612,1754,1864,1808,1558,1242,1104,1060,1294,1512,1140,1050,1146,1102,1270,1238,1118,1078,868,853,1130,1340,1584,1490,1472,1400,1250,1174,1198,868,571,548,569,736,601,983,907,1128,1110,932,651,501,621,646,623,944,1224,968,1062,1086,1042,999,899,1128,1090,872,744,692,471,291,355,468,437,305,346,621,949,902,628,448,840,933,739,910,726,636,1112,1234,907,531,450,701,1156,1454,1336,1362,1334,749,582,818,711,614,397,612,821,1052,1230,1036,946,906,852,612,689,921,1146,1116,966,970,860,654,792,1050,1176,1372,1324,1296,1312,1020,860,849,621,801,758,572,473,469,736,959,986,813,462,610,712,526,684,1042,789,585,592,1054,775,337,442,521,557,542,547,518,516,475,520,497,483,554,664,771,667,545,857,1218,902,417,386,426,487,908,1196,1410,1454,1470,1576,1534,1104,883,1034,1114,1164,1366,1110,1060,1648,1612,1174,1284,1362,1068,1026,1274,1094,1136,1216,1332,1532,1318,1248,1290,1450,1364,1172,1046,683,537,462,418,644,793,810,796,512,530,839,1012,999,969,910,1010,1148,1011,1634,1510,1122,745,868,1192,940,542,619,617,566,857,1128,993,917,1148,1186,721,388,466,942,1156,965,1208,1290,1050,1490,1806,1570,1412,1292,1122,1114,1204,1023,769,637,482,451,802,1046,744,658,1068,1460,1546,1616,1322,1148,971,667,434,469,1038,1808,2110,1316,1204,1196,1188,1290,1200,1610,1510,1158,1036,735,375,618,859,704,736,834,995,1280,922,689,674,920,885,625,722,993,857,651,834,761,670,778,1054,1005,918,589,612,1706,2194,1494,1252,930,499,391,377,369,463,509,551,574,393,292,331,368,436,429,448,508,714,695,662,648,565,546,549,646,748,601,408,346,362,381,412,711,1160,897,506,580,1002,1172,1005,919,910,960,1110,1288,1674,1862,1802,1278,1018,1248,1206,1282,1186,1124,1210,1122,1032,1204,968,862,831,886,843,822,1120,1152,1422,1550,1098,908,1090,1166,1412,1496,1536,1622,1466,1470,1314,1402,1282,1210,1430,1352,1136,762,688,724,562,547,464,416,468,462,489,589,547,554,783,1120,1224,1224,1134,1258,1252,1322,1426,1316,1132,1268,1306,1302,1366,952,744,1334,1692,1600,1388,982,691,897,1208,1210,1274,1260,1012,950,1112,690,486,509,520,650,933,1172,1206,1200,827,611,704,998,1204,1332,1120,713,579,726,838,866,1166,1466,1686,1550,1366,927,1356,1434,1402,1478,1378,1122,880,681,691,866,1154,1304,1558,1532,1190,828,1416,1618,1158,979,1036,844,379,381,425,362,406,455,430,354,461,587,756,964,1064,1044,948,956,1208,1294,1382,1412,1454,1180,1020,1216,1136,1136,974,533,335,460,757,1572,1720,1172,653,430,482,727,908,860,1036,987,753,761,790,835,1042,1164,1204,1204,808,501,670,1028,1410,1614,1174,684,711,746,558,757,1074,669,350,664,992,910,713,796,1090,1048,909,698,958,1178,1060,996,774,586,592,583,419,311,404,459,533,1290,1376,1450,1456,1394,1028,882,916,745,968,807,824,788,785,797,1152,1318,1466,1146,922,1096,1240],[379,350,326,350,366,310,294,356,422,404,347,417,446,487,450,400,401,414,408,386,367,360,357,373,361,371,395,411,416,404,388,416,430,411,430,439,457,439,426,357,337,319,310,311,318,352,518,528,314,313,309,304,287,395,716,692,558,467,391,380,348,281,303,350,372,419,531,429,368,440,420,363,325,330,318,430,791,1196,1572,1822,1294,1030,1130,1268,1328,1054,965,927,719,597,477,542,492,297,318,392,365,303,296,366,387,417,364,493,717,658,700,772,733,1006,656,737,1082,682,449,610,789,878,1156,1850,1290,506,487,739,422,370,470,783,802,966,953,1044,1338,1304,1470,1270,692,514,529,1150,1620,1338,972,608,389,366,333,316,337,412,500,505,454,416,391,423,428,469,453,429,529,611,577,497,631,526,412,370,388,596,736,653,585,639,671,887,1214,1160,987,876,852,472,585,927,857,833,785,496,648,1194,1001,543,450,452,462,511,818,602,353,365,378,426,464,575,830,1064,1262,1502,1664,1476,1260,1362,1146,847,777,891,1142,1142,1230,1192,839,947,1146,717,429,438,487,585,778,754,708,1020,1048,675,621,630,1118,1268,1102,930,926,1040,1082,1130,1148,1202,1148,1164,1098,970,1013,1092,865,842,786,855,913,948,1046,1030,981,1178,1174,991,840,642,741,1108,1166,1182,1070,797,981,1290,1430,1448,1542,1698,1650,1460,1486,1322,1332,1174,1166,1278,1262,1080,1180,1374,1412,1326,1224,1194,1354,1936,2040,1710,1710,1826,1822,1822,1870,1842,1696,1290,1166,1714,1810,1104,1052,855,917,1336,1494,2108,2698,1580,742,1066,1244,1286,1438,1112,861,957,1408,1156,902,1184,1454,1280,540,469,561,731,1092,1466,1030,1542,1970,1854,1726,1350,1120,1192,1016,1066,1078,1108,1106,1038,1188,1290,1182,1124,1146,1338,1332,1318,1250,1262,1312,1494,1284,852,1082,1130,1144,954,1084,1146,1052,1118,1156,1246,1192,1138,1124,1090,1054,1148,1108,786,600,511,394,411,417,458,506,449,430,465,535,792,872,725,585,780,973,990,1188,1250,1140,796,969,985,810,852,885,945,567,388,422,389,359,614,595,587,699,689,943,892,787,628,1256,1754,1152,692,803,1178,1096,1116,979,665,543,683,751,997,923,521,669,1132,1196,1212,998,915,1064,1466,1274,1176,1118,1072,1062,1019,888,962,1068,1156,1074,983,1182,1152,1160,1148,1248,1330,1246,1074,860,756,754,564,515,748,729,580,554,875,1024,1072,1030,868,1266,1272,781,1046,1072,951,920,1174,1274,1354,1328,1418,1316,1294,1172,891,907,1164,1428,1290,1262,1224,1274,1682,1912,1760,1344,1308,1242,1324,1528,1396,1232,1046,1046,1200,889,1206,1230,1080,1009,1013,1324,1332,1342,1526,1740,1708,1432,935,1072,1656,890,639,836,1017,1094,1094,1184,1244,1188,1072,1154,1254,1140,1001,863,732,953,1188,1500,1588,1226,635,647,676,902,1186,1512,1610,1576,1428,1296,1076,884,1009,1222,1324,1352,1394,1068,731,723,868,984,1064,1222,1208,1186,1150,1176,1386,1582,1244,1330,1392,1260,1178,1100,1038,860,1032,1316,1448,1462,1212,886,836,705,702,976,821,1032,939,1196,1522,1376,1208,1350,1450,1354,1360,1314,1238,1338,1268,1218,988,855,1042,1116,1090,1210,1204,885,1094,1348,1276,988,564,573,757,1274,1620,1252,974,1014,1007,832,938,1068,718,691,482,489,543,624,719,832,810,642,430,371,536,1104,1150,1152,654,622,632,699,695,580,628,728,703,896,1392,1588,1372,1132,1072,956,1076,725,587,620,455,465,521,627,861,1372,1104,692,1064,1136,983,1152,1366,1174,1142,1160,872,799,1010,1104,1136,1126,1294,1306,1470,1366,1284,1312,1350,1160,1226,1246,1084,1282,1364,1556,1388,1268,1378,1362,1470,1562,1394,1164,1252,1470,1454,1298,1406,1346,1252,1208,984,948,803,871,952,908,937,1174,1378,1196,890,775,888,1036,1322,1210,1166,1282,1540,1534,1292,1208,1378,1566,1296,1182,1462,2012,1790,1356,1318,1212,1180,1019,1096,1096,968,813,919,1009,833,869,1224,1172,1148,1176,1310,1250,1048,1110,1242,1266,1220,1194,1186,1252,1228,1240,1236,1042,1023,1212,1456,1434,1392,1288,1342,1376,1192,1028,981,1166,1296,1234,1214,1304,1322,1290,1296,1272,1442,1622,1730,1906,1650,1654,1756,1754,1728,1638,1186,1138,1622,1824,1606,1652,1590,1686,1838,1180,656,412,425,432,416,507,561,468,417,376,399,412,407,391,330,299,365,422,393,376,404,437,422,330,335,346,384,440,336,302,534,665,644,601,524,484,497,352,438,500,523,481,358,536,478,341,378,390,321,329,344,401,504,574,609,477,477,457,422,312,289,362,357,361,437,586,607,386,354,380,431,397,374,358,408,386,459,716,971,1186,1378,1256,1074,1272,1350,1242,1212,1204,1306,1192,1062,1120,1272,1248,1202,1204,1278,1340,1450,2328,1738,1190,1050,716,594,597,413,716,1372,1388,1082,605,594,498,444,535,734,793,946,955,976,964,1104,959,1118,1350,811,902,937,909,695,703,1090,955,578,387,549,766,716,770,1366,2040,1632,1128,840,757,907,1124,1062,938,634,1032,1023,922,1160,1430,1154,727,816,1084,987,986,969,782,736,874,1094,858,1176,1015,868,1058,800,519,819,1194,1140,1280,1260,639,711,637,832,1164,1158,927,738,667,824,832,736,937,1410,1186,808,455,432,720,1023,1106,1144,957,766,713,587,634,1016,1292,790,715,1130,1142,1838,1594,777,635,804,880,952,843,756,760,749,1106,833,752,668,738,769,579,441,396,461,710,792,659,608,797,1502,1836,1802,1534,1720,1762,1218,1236,1240,1088,1230,1294,1280,1330,1156,1178,1418,1334,1180,1052,1200,1226,1356,1318,1082,1146,1074,1350,1596,1824,1776,1562,1476,1578,1598,1654,1636,1674,1868,1744,1502,1154,1206,1256,1204,1438,1148,1048,1048,1036,1112,1023,1230,1512,1240,946,1284,1178,1272,1454,1394,1454,1372,1528,1426,1230,1092,792,730,1026,679,1214,1092,1230,1260,1336,1078,685,683,557,403,615,890,750,1060,1140,998,1076,1452,1758,1642,998,665,904,614,438,410,433,289,250,382,735,1206,1380,1052,653,586,681,837,963,962,926,1056,922,913,623,393,391,998,1382,1320,1604,1452,1084,805,944,966,1005,631,648,702,959,1300,1064,626,789,1094,937,1110,1166,1042,1304,1196,1007,989,790,1032,1268,1246,1210,1328,1570,1410,976,1332,979,577,439,409,407,449,555,742,785,805,888,862,699,709,684,1012,1160,951,760,826,1102,849,368,391,460,535,527,525,504,478,471,495,472,454,512,624,726,713,583,831,1034,963,490,353,409,473,880,1142,1122,1416,1656,1396,1328,1162,904,971,993,1094,1040,998,1152,1356,1350,1260,1132,923,846,983,1302,1302,1160,1066,1346,1420,1142,1110,1310,1574,1460,892,615,388,580,446,361,636,729,810,805,637,843,1230,1318,1154,1084,804,846,863,932,1372,1794,1510,934,855,952,634,369,490,526,639,843,1190,1110,1388,1590,1114,675,372,402,751,999,1082,1204,1426,1272,1238,1218,970,1248,1112,832,1048,1076,629,384,442,436,372,387,426,458,419,534,979,1310,1204,1144,1246,887,444,531,807,571,998,1260,1002,1186,1180,1064,1256,984,1344,1498,1184,1114,833,507,934,1200,893,692,757,1032,1334,1368,1252,741,455,785,1158,1156,927,836,780,813,846,580,612,1086,1284,1028,708,465,894,1118,722,852,1148,941,481,405,587,770,651,549,494,372,354,326,322,383,412,473,560,666,617,522,589,681,554,492,748,857,608,356,341,376,385,390,800,1490,1300,698,550,666,680,828,1100,1148,1232,1484,1598,1660,1686,1526,1312,1200,1180,1254,1290,782,713,711,974,1180,1372,1194,1148,1036,1066,821,1020,1316,1254,1186,1180,894,678,638,977,1256,1388,1542,1626,1726,1584,1416,1464,1318,1468,1910,1470,1242,777,602,515,518,509,539,549,418,409,681,1100,1136,866,1044,1120,1252,1290,1184,1050,1174,1328,1318,1226,1088,1306,1438,1174,1158,875,1070,1740,2036,1836,1342,906,627,915,1088,686,874,1274,777,501,437,431,566,725,785,655,706,1014,1220,1019,455,341,445,654,990,1248,1282,1134,796,681,873,957,1262,1326,1260,1186,1196,1090,1214,1316,1532,1502,1202,772,735,794,610,826,1086,1080,1600,1466,1312,1050,1606,1876,1366,1208,729,552,671,424,404,361,477,508,403,448,680,913,1072,1268,1136,1278,1206,1132,814,894,1198,1278,1226,933,888,998,1274,1516,971,571,448,480,686,1520,1730,1738,1023,440,793,1408,1418,803,1114,880,725,894,1110,1260,1450,1416,1562,1494,888,410,634,1108,1498,1788,1222,1254,1554,1226,790,1366,1488,799,498,498,463,327,301,479,890,1124,1098,563,818,1007,1188,1246,1046,1086,1172,854,381,276,295,319,521,779,823,1048,1184,1184,832,870,924,1098,1352,1058,854,547,987,727,763,943,927,643,489,788,1146],[379,362,318,348,369,300,314,368,396,431,405,422,457,498,475,433,448,458,421,386,362,365,378,401,379,398,441,467,452,418,419,451,465,426,420,414,446,459,441,413,378,313,282,294,298,334,432,419,363,303,314,316,300,391,713,865,932,969,940,888,614,332,311,318,354,424,652,620,469,409,463,369,384,377,457,573,1166,1520,1202,1084,1244,1344,1300,1466,1396,884,447,404,664,791,491,384,399,324,322,471,456,399,433,410,572,636,387,548,987,711,832,801,850,640,715,998,959,639,591,751,764,1001,929,1068,849,420,516,771,438,329,659,1184,1300,1112,905,1086,1610,1680,1678,1572,1158,714,648,1394,1512,1178,1170,921,534,414,517,595,413,484,669,615,450,398,435,415,398,399,399,404,576,767,605,457,436,346,345,380,372,637,962,863,691,711,685,773,865,1064,781,693,549,376,535,807,784,472,425,494,841,1884,1376,625,512,534,487,678,883,558,355,378,584,953,769,739,769,965,1164,1490,1510,1332,1416,1444,1346,1424,1418,1324,1670,1548,1644,1542,1174,1011,1112,640,464,549,728,914,907,565,462,534,563,425,568,966,1198,1098,1016,880,982,948,984,1004,1062,1106,1228,1290,998,812,1090,938,692,545,687,1040,1028,976,911,802,938,1306,1208,994,1021,951,1138,1214,1096,1418,1230,800,957,1007,1166,1132,1348,1382,1596,1666,1592,1818,1526,1260,1444,1570,1628,1410,1244,1256,1338,1416,1282,1390,1722,1956,1866,1738,1824,1952,1956,1874,1754,1686,1350,1034,1576,1794,1218,875,1218,1012,1062,1688,1440,1664,2448,1442,1042,1094,1194,1302,1332,987,783,932,1438,1256,949,1240,1402,1162,501,462,577,708,888,1172,1052,1662,2264,1910,1554,1422,1156,1382,1094,993,855,1003,1034,1230,1244,1204,1230,1156,1216,1206,1212,1200,1134,1406,1396,1718,1368,913,1068,1092,985,1052,1064,1080,1136,1100,1166,1130,1190,1190,1114,1126,1023,1060,1007,685,539,579,444,403,460,517,468,377,407,437,445,432,436,513,603,753,860,1062,1128,1210,976,831,787,995,1162,956,832,589,361,567,602,408,477,536,466,400,394,465,490,636,963,1019,1156,1102,932,833,995,1384,1294,1126,649,570,547,599,880,1082,1036,915,1028,1044,1148,975,999,1586,1204,1015,1210,1238,1176,1010,940,914,846,1184,1084,1294,1344,1046,1098,1054,1144,1320,1490,1232,1030,929,745,635,883,610,381,551,681,577,700,786,981,1412,1156,931,1254,1154,880,1001,908,1126,1194,1186,1176,1036,1096,1294,1224,1056,1012,1166,1034,1192,1352,1350,1586,1308,1182,1542,1674,1222,1026,1318,1256,1370,1422,1218,1290,1112,1232,1158,910,1122,1152,1060,781,756,1154,1106,1116,1410,1546,1554,1684,1666,1526,1003,776,854,760,909,1296,1114,1080,1150,1021,935,1148,1432,1088,788,693,688,909,1210,1312,1160,842,429,612,969,1362,1524,1360,1220,1680,1848,1552,1388,1152,713,975,1160,1222,997,968,1130,1016,1014,1192,1320,1052,597,708,940,1168,1320,1292,1052,1302,1340,1242,1294,1334,1156,849,1056,1412,1462,1526,1576,1018,649,604,688,904,853,927,1084,1428,1620,1316,1360,1820,1504,1274,1342,1286,1268,1252,1290,1320,1068,868,932,1030,1188,1204,1076,893,1202,1302,944,659,567,564,697,1134,1326,1182,1021,1058,1108,956,1004,943,682,540,641,744,641,537,669,853,767,554,410,431,663,1130,1228,1042,623,566,655,844,864,662,678,689,609,789,1164,1310,1278,1334,883,613,725,873,1078,836,493,495,653,720,766,965,739,739,957,1148,1316,1220,1166,1338,1384,1322,1216,1318,1180,1260,1252,1212,1312,1296,1266,1388,1396,1386,1274,970,991,1274,1186,1152,1266,1422,1152,1050,1312,1428,1430,1362,1124,1036,1064,1318,1422,1570,1622,1354,1290,1106,1086,1050,758,790,894,729,918,1212,1198,1338,1096,577,894,1178,1078,1144,1094,1094,1226,1212,1160,1208,1366,1354,1188,1128,1196,1550,1454,1322,1204,1162,973,853,1086,1178,1144,850,939,897,827,1018,1432,1426,1200,999,1066,1080,1066,1138,1118,1038,1060,1184,1168,982,866,921,962,930,787,865,1088,1304,1736,1498,1212,1208,1248,1058,1328,1702,1350,1050,1138,1472,1532,1334,1250,1256,1372,1328,1520,1576,1510,1590,1714,1694,1626,1510,1432,1590,1698,1534,1386,1734,1686,1706,1388,535,280,324,317,347,463,569,519,518,513,408,394,402,415,426,318,282,381,432,400,382,368,319,393,396,385,423,458,460,314,298,410,448,460,508,500,573,670,455,455,435,443,435,364,464,448,357,395,384,370,405,358,399,584,649,655,501,468,461,447,340,345,465,421,296,299,394,426,223,236,340,455,480,392,359,451,622,596,694,716,973,1066,1048,1028,1110,1170,1158,1104,1242,1266,1102,1244,1286,1296,1414,1138,1046,1074,1254,1450,1434,1152,1408,1408,862,473,426,526,650,1130,1290,972,554,387,500,514,791,995,1042,1246,1024,1204,1278,874,946,1450,1032,672,1144,1090,883,690,585,708,805,788,642,755,891,836,673,783,969,974,928,947,812,1104,1410,1224,1080,709,1030,1076,1090,1406,1536,1508,1090,677,704,592,529,577,653,705,790,992,1438,1758,1334,1056,1036,744,494,703,1148,1046,990,1212,838,897,630,656,1184,1158,928,1142,894,565,569,611,554,830,882,912,714,1005,1414,1502,1520,1516,1080,577,531,561,654,706,1174,1200,1310,1304,1434,1800,1140,706,681,523,456,841,1092,847,831,974,1424,960,719,689,809,816,543,573,719,777,1432,1620,1416,1214,1278,1536,1752,1644,1438,1472,1170,1256,1470,1096,1116,1254,1180,1342,1284,994,1166,1436,1264,1152,1350,1416,1488,1522,1390,1496,1356,1456,1610,1688,1728,1652,1544,1552,1600,1704,1828,1616,1584,1720,1592,1238,1190,1310,1266,1208,1154,1136,1162,868,696,714,659,1444,1856,1764,1554,1410,1044,1040,1021,1340,1304,1102,1554,1320,1272,1072,915,1114,1252,1276,1188,978,1574,1736,1182,1018,1196,911,560,462,593,913,802,796,698,800,1023,1204,1416,1418,1172,1020,1028,1056,818,597,457,290,288,650,946,1146,1268,1072,918,1134,1716,1422,992,1396,1134,759,511,658,670,419,350,817,1170,1306,1616,1302,1258,973,1019,983,752,840,1108,979,1074,1422,1244,782,733,880,1354,1334,1244,960,1490,1246,843,906,1094,1064,1028,1312,1308,1440,1500,1330,1170,1178,844,849,671,477,459,409,480,719,695,604,735,908,712,719,1003,1242,1210,1332,1380,1156,1126,1016,442,420,539,664,586,537,520,533,522,467,438,411,440,525,644,753,621,865,1172,1028,569,377,432,518,875,1140,1118,1412,1528,1298,1262,1112,867,960,1032,1034,971,1116,1178,1196,1430,1392,1284,998,995,1174,1368,1426,1354,1328,1550,1454,1076,970,1042,1272,1360,1054,907,475,414,460,587,747,788,791,646,616,1028,1118,1280,1144,1138,804,838,838,1080,1210,912,923,1084,1198,1152,668,457,572,846,1052,985,1066,1058,1436,1270,664,441,352,399,641,866,885,758,655,464,585,936,893,1112,943,821,932,571,482,583,632,550,544,441,434,678,592,527,594,810,1080,1466,1384,766,603,945,830,483,830,1054,1290,1548,1196,875,1136,1136,1132,1312,1076,513,312,490,877,1144,1056,685,637,944,967,1104,1290,915,894,1512,1602,1120,804,922,1472,1038,877,926,1172,1462,1250,977,815,520,736,1074,1094,747,772,1086,977,678,959,1228,940,596,388,357,400,350,300,314,327,393,434,533,608,531,607,730,636,549,778,844,559,381,362,365,357,374,501,849,843,551,512,646,721,1032,1268,1340,1536,1684,1654,1516,1360,1340,1192,1184,1300,1368,1380,937,789,781,1880,2274,1598,1224,1228,1392,1164,709,949,1284,1200,771,1032,1062,823,649,1108,1292,1230,1460,1658,1858,2058,1730,1388,1516,1654,1846,1524,1144,872,676,468,642,795,695,621,491,550,896,1268,1478,1420,1122,1114,1238,1270,1168,1094,1252,1052,1096,1202,1072,1080,1178,788,597,724,758,1246,1772,1548,1214,927,864,1028,1030,907,931,974,596,413,430,488,514,597,662,564,518,650,709,494,332,383,409,604,1004,1242,1236,1206,963,756,940,1068,993,909,705,777,1018,1360,1062,894,1168,1312,1312,1022,1232,1238,933,829,1023,1124,1600,1544,1228,1004,1124,1438,1292,1062,818,1058,1376,939,717,558,466,634,966,1142,1114,1026,800,1166,1364,1288,1248,969,592,490,838,1298,1068,726,880,1120,1210,1184,920,751,479,448,826,1406,1542,1262,772,796,1286,1432,778,515,640,708,880,1202,1302,1180,1136,1598,1654,1218,623,501,637,933,1262,1540,1056,1218,1942,1542,1120,1422,1274,1006,925,504,347,291,275,349,422,646,867,811,799,848,1058,935,1021,1152,1236,728,315,316,347,468,930,1186,803,386,548,566,680,866,756,836,873,750,666,767,775,628,684,483,445,392,333,496,1076],[416,401,354,369,395,353,388,429,411,417,436,473,509,521,509,485,478,462,427,418,397,380,385,417,408,416,444,452,443,439,435,430,433,432,420,398,401,448,463,459,409,326,331,337,293,323,462,367,364,345,319,317,274,418,680,748,694,750,1100,1028,612,403,360,351,373,612,999,1300,1044,698,753,525,490,388,556,705,1010,1023,614,836,1330,1328,1178,1124,1010,786,606,601,599,626,419,487,663,496,341,366,379,470,471,433,462,474,411,416,842,746,1015,922,664,563,979,1070,585,490,672,893,504,468,492,456,512,442,516,572,455,285,509,1056,1454,1400,1108,1188,1500,1766,1922,1930,1512,914,540,651,777,937,1092,1182,1062,803,825,717,435,409,411,554,620,562,484,400,405,390,395,390,418,515,403,354,332,350,344,346,359,579,980,912,698,756,713,829,808,983,738,499,426,346,502,877,813,405,411,804,1186,1816,1258,841,726,794,839,714,636,511,462,478,765,1210,955,1096,1202,1572,1888,1670,1112,1184,1458,1484,1302,1362,1476,1670,1870,2194,2756,2546,1772,1234,865,547,628,793,813,1050,1006,458,409,409,359,359,680,1200,1266,1194,885,702,916,1024,1154,683,713,937,985,1017,773,605,647,643,774,680,783,1240,1080,977,742,755,1192,1186,1028,1030,1058,1078,1178,1004,904,1013,1682,2990,1384,1068,1007,1156,930,1132,1480,1450,1436,1522,1316,1400,1416,1574,1930,1904,1444,1258,1478,1402,1198,1130,1326,1670,1758,1744,1862,2036,1994,1848,1594,1294,1118,1526,1838,1376,940,1082,1388,1013,1110,1734,1390,1742,2144,1242,1034,1042,1170,1328,1178,1005,894,1046,1566,1346,969,1206,917,673,474,525,644,667,744,909,927,1512,2236,1964,1438,1494,1450,1602,1022,833,750,934,1278,1444,1568,1666,1396,1100,1058,1212,1340,1054,950,1030,1268,1314,1106,945,1060,939,937,1158,1192,1158,1248,1226,1272,1166,1290,1416,1244,1092,1050,991,946,667,904,774,512,474,378,328,343,293,328,336,312,345,395,397,495,853,848,792,935,1064,868,907,952,984,1092,1106,800,516,594,916,858,478,382,564,785,660,561,709,668,624,963,1054,1198,972,796,754,1046,1178,1200,885,715,692,630,827,798,850,1028,1186,1322,1212,1014,746,768,916,844,1010,1290,1284,1284,1202,1176,905,846,963,828,1208,1354,1158,950,915,943,1416,1832,1310,1136,1001,1044,967,965,928,793,767,588,475,636,784,1134,1336,1148,1034,1058,1062,920,666,532,845,941,988,1366,1290,860,985,1412,1294,1070,1176,1114,1294,1176,1202,1638,1500,1346,1752,1764,1516,1406,1452,1194,1428,1474,1128,1164,947,1294,1548,1126,826,789,830,804,943,1032,1020,967,1198,1042,1284,1500,1628,1588,1582,1668,1522,1274,1192,1476,1202,1274,1476,1336,1376,1550,1526,1000,657,605,637,755,930,999,681,578,722,1100,1482,1332,890,1122,1216,1420,2112,2078,1966,1668,1250,1196,1166,1088,738,948,1338,1212,1300,1368,1116,1042,959,912,1021,1202,1240,1001,875,1019,937,794,959,1114,1008,950,1184,1170,1280,1548,1678,1142,675,585,733,778,619,767,1192,1586,1670,1426,1346,1380,1490,1540,1602,1502,1328,1438,1512,1272,1162,1234,1023,1011,1236,1154,1032,974,1032,1028,1078,1108,1260,1390,930,1148,1462,1322,995,907,832,716,845,712,491,523,625,597,568,560,816,821,681,480,466,447,799,1142,1268,1021,560,636,1074,1350,1036,723,650,559,577,684,927,1220,1260,1202,1015,912,938,1210,1304,850,532,497,543,596,716,964,990,950,1086,1280,1206,1086,1396,1512,1384,1338,1504,1444,1438,1350,1504,1492,1408,1198,1174,1488,1464,1180,872,980,1356,1332,1094,1322,1548,1316,1152,1008,916,980,1084,1162,1036,720,627,693,769,1300,1596,1274,1204,1266,1226,1136,1108,929,1034,1052,1314,1242,1240,1354,1136,673,886,1038,1066,1252,1088,932,1048,1154,1220,1240,1220,873,959,1190,1130,1282,1344,1248,1196,1262,1134,1102,1106,1068,1296,1158,1172,1524,1074,938,1418,1350,1106,1054,1142,1108,1272,1396,1134,916,1023,1222,1102,1023,1056,974,933,912,854,974,1572,1638,1804,1686,1442,1168,1220,1084,1342,1378,1054,922,1078,1332,1264,1180,1234,1376,1310,1330,1278,1294,1320,1230,1190,1214,1274,1518,1598,1728,1742,1570,1648,1686,1786,1808,1144,490,361,378,347,356,484,521,406,531,486,366,396,445,433,440,381,328,388,425,317,263,375,393,443,462,442,419,414,390,350,333,365,389,408,519,530,657,693,569,522,487,427,399,413,477,426,325,318,365,394,390,357,400,597,700,639,498,438,398,324,337,442,584,536,404,384,385,317,254,357,405,427,400,375,367,364,610,888,1284,1262,1196,909,823,1170,1450,1270,1110,1166,1194,1158,1160,1304,1272,1146,1344,1074,1054,1200,1290,1162,1118,1396,1356,1420,1122,616,563,1036,959,1214,1350,830,476,469,520,719,1001,1046,1302,1404,1318,1300,1222,1156,1246,937,541,1020,1702,1316,1144,916,609,694,1116,1162,1120,1086,1016,1146,991,965,1130,919,885,1114,904,1522,1794,1334,1007,551,641,1009,1166,1266,1124,1064,1024,933,891,848,785,653,708,547,524,738,1166,1262,902,773,838,826,1006,929,1068,1194,1160,1218,990,945,599,568,1064,988,626,602,509,490,477,753,868,962,1124,1260,1122,1394,1494,1446,1502,1512,1366,959,496,741,982,1094,1486,1542,1320,944,1162,1132,865,715,490,398,408,663,1270,1204,824,976,1202,799,744,799,921,597,396,619,979,1154,1640,1820,1846,1872,1826,1728,1746,1462,1004,1166,1110,1512,1300,921,1074,1188,1076,1330,1180,1008,1162,1270,1346,1290,1040,1018,1274,1632,1516,1676,1542,1614,1654,1508,1388,1468,1504,1434,1396,1584,1650,1404,1496,1504,1326,1170,1098,1114,1172,1202,1040,1102,1006,614,616,637,474,2144,4012,4046,2654,1318,966,1100,1274,1394,1362,1194,1600,1510,1017,798,714,1200,1354,1418,1554,1498,1974,2828,1236,1302,1036,741,556,888,1021,1068,943,706,462,706,1023,906,804,676,674,1078,1316,1342,974,631,394,303,243,602,1230,1400,1040,980,1080,1444,1768,1618,1174,1122,765,427,484,792,1122,1042,722,799,1776,1510,1500,1226,1272,968,847,787,683,894,1198,1196,1044,978,1072,942,1056,981,1162,1358,1318,1154,1326,1592,1320,1294,1208,793,644,971,1206,1440,1216,985,985,872,743,774,659,522,424,492,426,624,712,647,744,855,1138,1098,824,1044,1090,1284,1418,1182,1106,1150,595,408,531,598,548,549,554,579,539,484,440,450,444,494,555,713,681,633,793,925,633,393,440,487,796,1086,1050,1310,1250,1298,1304,1013,859,974,1026,921,874,1108,1192,1194,1176,1288,1526,1354,1088,1080,1126,1244,1224,1454,1660,1538,1340,1242,1208,1266,1350,1438,1146,664,634,792,841,890,862,525,457,980,1292,1170,1378,1124,815,748,673,949,1108,838,727,982,1172,1398,1284,626,431,474,880,1044,883,786,817,727,537,502,483,421,361,506,833,742,497,415,648,1015,1362,984,840,1068,1032,965,889,805,827,769,791,722,456,496,698,598,527,525,458,667,1118,1156,901,1190,1148,797,445,453,792,1216,1464,1210,941,1180,1158,1168,1021,623,367,380,427,623,1080,1226,1022,832,631,777,1076,1100,1178,1610,1586,1528,791,662,711,701,565,969,1476,1288,1144,1138,1004,1270,794,843,1428,1482,1060,755,1076,1058,838,1172,1344,971,458,357,400,387,370,366,393,354,356,362,543,683,616,602,811,613,467,521,546,417,393,405,365,346,381,436,498,456,437,522,632,833,897,1036,1298,1588,1700,1726,1400,1230,1636,1644,1508,1428,1288,1472,1308,1146,1340,2214,2332,1692,1268,1282,1284,1042,814,695,1082,932,634,695,890,1054,1116,1236,1182,1070,1366,1346,1380,1770,1870,1632,1500,1684,1612,1500,968,804,1022,894,1114,1406,1216,840,650,869,1294,1264,1230,1278,1280,1318,1174,1060,1078,1218,1138,1280,1356,1166,742,745,790,529,579,796,896,1138,1250,1154,968,969,1098,816,825,733,512,398,367,394,416,429,439,528,587,535,411,393,374,334,410,609,532,454,884,1394,1412,1408,1190,1116,1056,949,882,791,839,1162,1236,1236,1154,992,870,1056,1316,1418,1918,1200,738,816,1176,1534,1626,1712,1416,802,764,1508,1432,935,763,914,1454,1288,902,816,674,962,1290,1288,760,739,705,745,1176,1278,1256,897,568,622,1126,1236,1042,946,1070,1466,1066,969,702,714,791,1202,1750,1824,1494,1074,988,1182,1518,1116,550,549,539,721,1346,1396,1396,1340,1266,1560,1434,1292,788,748,798,861,1340,2034,1420,1022,1472,1378,1312,1188,1182,1324,1072,527,471,391,296,431,563,606,731,719,590,695,722,497,745,1072,1116,493,279,380,463,823,1378,1476,854,392,403,446,1042,1178,1180,988,1048,910,738,822,645,706,790,431,333,324,368,488,1028],[452,401,367,368,395,422,446,437,390,369,429,500,515,527,503,430,406,464,476,450,431,385,358,394,408,399,418,430,411,452,423,396,408,430,398,331,343,418,461,472,449,396,404,341,263,321,504,380,325,351,321,301,307,319,393,488,420,397,568,683,506,384,404,451,556,811,824,900,1122,942,775,507,514,534,568,824,1366,1310,939,1036,1314,1206,1048,904,863,904,941,671,537,520,435,502,619,468,349,352,359,462,477,495,493,437,420,432,613,775,1058,1098,1015,976,900,893,690,610,442,414,324,294,367,511,522,449,509,810,833,481,459,746,998,1012,1004,687,796,1228,1220,1406,1412,995,526,423,673,718,875,1072,1210,1042,897,836,701,466,457,592,734,638,455,384,379,403,394,397,372,348,336,346,375,367,338,340,331,391,554,563,615,656,676,706,717,897,718,396,379,368,521,712,554,384,395,896,1346,1522,1152,1076,968,913,1013,711,734,607,446,476,605,527,661,1114,1308,1516,1876,1378,739,818,1021,1174,1038,1062,1422,1744,1572,1342,1888,1920,1398,1074,761,624,669,705,739,704,539,390,379,390,393,427,671,1034,1168,1078,905,772,757,830,950,707,747,755,765,749,682,612,509,533,705,738,892,1154,791,948,792,750,971,969,951,1096,1136,1214,1258,1126,705,721,1962,2544,1252,960,1001,1122,1142,1340,1334,1186,1174,1300,1452,1630,1470,1364,1418,1584,1404,1376,1314,1178,1310,1504,1592,1910,1950,1888,1870,1990,1842,1614,1162,1176,1632,1898,1512,896,980,1610,1610,763,1434,1626,1224,2208,1682,790,1050,1148,1216,1294,1080,795,728,933,1294,1508,1198,1294,930,758,580,587,691,697,794,764,697,1462,2190,1912,1502,1494,1526,1670,1318,1011,1158,1490,1844,1766,1710,1848,1622,1210,1202,1440,1310,1378,1350,1418,1500,1258,1138,951,937,865,935,1062,1172,1204,1124,1184,1150,1036,1132,1346,1356,1172,1130,1070,1140,653,1015,858,828,716,407,318,278,278,278,261,312,466,407,415,419,730,893,849,897,1011,1074,995,900,966,1042,945,790,667,642,894,843,475,289,451,602,500,448,636,623,447,583,788,999,863,556,578,919,1134,1252,999,814,860,914,936,538,661,942,1212,1464,1428,1224,1006,888,757,689,847,1034,1128,1428,1498,1412,935,898,1152,1088,1088,1116,1182,1168,1086,974,1130,1288,1110,1314,1118,863,899,1094,895,705,673,632,719,739,763,1013,974,1126,833,871,961,651,386,460,706,771,839,1208,1418,1284,1338,1394,1396,1268,1136,1148,1254,1068,1054,1448,1412,1346,1688,1674,1748,1472,1298,1398,1648,1754,1752,1364,1028,1582,1840,1162,643,587,673,851,905,1064,1072,1054,1070,1062,1376,1570,1624,1394,1070,1344,1544,1626,1726,1606,1534,1732,1672,1628,1806,1890,1650,1158,946,1019,988,882,784,868,1024,1274,1572,1510,1116,691,678,921,735,832,1570,2066,1994,1762,1674,1320,883,601,630,1158,1360,1184,1414,1432,1050,1086,1192,1232,1182,1166,1068,1440,1316,993,983,807,685,989,1256,1140,1198,1266,1296,1356,1428,1168,905,796,674,820,854,1003,1318,1764,1728,1334,1262,1280,1516,1590,1488,1488,1426,1306,1314,1250,1140,1106,1068,1260,1206,960,1042,1154,1078,874,1015,1394,1582,1690,1136,1001,1292,1034,812,882,789,785,1003,780,547,728,681,378,645,763,888,819,657,516,492,439,843,1230,1246,1048,556,720,1228,1520,1166,811,649,637,662,800,722,787,1106,1278,1134,946,798,1158,1392,1023,674,563,563,649,872,1360,1582,1364,1280,1184,1268,1188,1260,1396,1446,1328,1360,1310,1302,1244,1278,1478,1530,1398,1414,1582,1340,957,1032,1072,1154,912,976,1434,1380,1196,1194,1002,885,702,767,872,991,1030,1038,894,848,1398,1544,1250,1252,1310,1118,1294,1360,913,1044,1300,1372,1276,1758,1426,813,717,904,1128,1224,1328,1136,929,916,1116,1192,1194,1164,952,1300,1410,1202,1138,1164,1146,1244,1230,1130,1302,1132,1044,1222,988,1742,2886,1996,1064,1266,1258,1266,1116,857,1072,1268,1288,1202,1086,1052,1126,1028,949,990,1120,1042,1042,1040,1036,1654,1506,1466,1390,1100,1230,1190,946,1158,1338,1114,1098,1144,1220,1034,1164,1302,1366,1268,1262,1172,1132,1248,1252,1136,979,1294,2024,1278,1646,1700,1632,1586,1512,1698,1864,1566,806,409,468,468,395,386,345,379,471,421,376,463,444,447,516,456,363,420,400,211,181,291,414,443,460,444,443,427,385,451,588,640,581,487,516,598,627,594,502,477,423,374,432,481,516,477,446,409,342,290,295,392,479,587,608,550,431,444,432,385,422,517,525,558,530,445,389,346,325,343,392,397,343,368,355,353,392,667,1130,1158,1114,1142,1216,1484,1784,1424,1248,1324,1194,1040,1020,1194,1188,1100,1252,1286,1324,1384,1222,1094,1168,1218,1400,1440,1180,979,1023,1432,1268,1200,1364,1042,550,395,347,633,1188,1506,1742,1572,1422,1208,1214,1194,955,875,763,742,1276,1256,1042,843,995,943,1212,1234,1208,1236,1250,1214,1218,1086,1012,1070,926,744,827,1170,993,719,959,999,918,928,819,860,846,993,1112,1222,1398,897,653,636,644,480,375,445,617,639,551,570,844,967,854,879,1002,1034,1024,786,686,669,423,359,343,372,495,438,563,747,723,1116,979,589,1094,1188,766,746,1054,1044,1252,1428,1358,1168,866,1132,1104,1428,1996,1908,1196,629,509,501,974,725,494,446,402,805,1122,1490,1270,893,615,949,1228,975,935,537,615,922,1284,1450,1714,1798,1794,1766,1644,1518,1486,1448,1206,1358,1498,1352,1200,1090,1134,1226,1266,1242,1074,1212,1248,1212,1104,984,849,989,1266,1500,1366,1470,1572,1482,1332,1242,1240,1410,1434,1388,1206,1316,1478,1318,1322,976,935,1108,1054,1112,998,956,718,915,966,628,1000,1110,581,2304,4336,4300,2872,1182,1072,1296,1232,1184,1392,1432,1724,1528,1318,1038,767,1224,1510,1456,1456,1330,1742,2530,1324,1400,774,462,381,811,922,730,874,702,477,593,896,879,755,565,604,802,818,965,1003,597,294,274,249,342,855,1426,1366,1012,945,1026,1554,1748,1068,546,314,356,701,1270,1572,1450,1080,875,2086,1660,1378,1238,1186,964,735,627,730,1042,1600,1528,854,692,840,990,974,1050,1144,1104,1130,1278,1708,2004,1258,1080,895,848,697,876,1088,1088,1072,918,804,860,754,717,660,662,597,819,563,438,594,644,699,949,1632,1632,879,876,996,1332,1022,948,1084,1344,1000,548,455,548,557,531,510,541,520,480,431,476,486,473,485,669,772,613,648,863,599,382,436,499,921,1202,1100,1158,1280,1354,1192,1001,940,966,963,949,985,1098,1200,1154,1174,1420,1664,1566,1226,1060,1194,1164,1316,2424,2008,1344,1238,1168,1198,1212,1384,1324,1058,890,882,1064,1226,1306,885,267,362,663,922,1068,1256,1216,772,583,843,1182,1026,1042,1284,1290,1308,1388,1252,791,772,888,967,819,655,719,888,829,705,552,457,491,466,792,1176,1028,769,512,509,796,960,702,657,778,700,593,642,766,797,727,906,735,374,318,437,496,449,511,631,556,623,875,1094,1298,901,482,403,511,913,1182,1384,1516,1482,1428,1372,1076,594,364,290,358,397,710,1192,1128,1104,1212,1250,1404,1392,1364,1324,1352,1480,1974,1426,696,500,589,441,664,813,624,497,805,860,1062,1030,1184,1204,1148,987,1036,1208,930,1090,1438,1324,871,467,399,372,355,342,390,359,365,416,435,552,567,546,610,625,419,318,327,351,332,346,375,369,397,417,455,465,420,483,580,473,675,987,1000,1100,1434,1560,1642,1358,1384,1582,1138,1058,1426,1510,1430,1434,1360,1426,1598,1532,1378,1322,1384,1234,667,805,1006,1156,800,623,604,667,1054,1352,1338,1070,927,1152,1136,977,1136,1464,1620,1684,1638,1534,1394,943,857,1436,1516,1438,1548,1428,1228,1130,1056,1348,1370,1202,1242,1478,1408,1340,1342,1290,1158,999,1282,1504,1166,781,699,653,665,750,899,1150,1394,1678,1228,747,970,828,612,697,610,464,388,379,433,423,400,408,432,463,496,524,527,451,486,841,1126,1092,827,968,1400,1350,995,736,775,847,999,1316,1246,1162,1226,1248,1500,1684,1246,890,945,1288,1316,1662,1060,509,708,1290,1530,832,1284,1548,1216,669,638,818,774,857,1006,1202,1001,781,1116,1316,1218,1426,1672,1336,1288,1234,822,760,1096,1276,1166,843,814,1098,955,1026,1234,1354,1434,930,925,980,885,1052,1564,1852,1356,960,999,903,1058,1124,619,461,566,523,818,1272,1390,1750,1596,1500,1520,1314,1152,1144,1034,930,875,1296,1372,844,824,1094,1086,840,721,777,929,730,578,694,707,495,544,725,790,831,716,642,1054,594,439,713,1082,772,362,351,421,654,952,1210,1118,612,465,453,421,1023,1412,1478,1192,1296,1382,896,557,650,563,500,422,397,408,449,427,923],[433,434,428,361,323,382,447,430,382,370,454,525,520,517,506,444,448,500,500,481,461,390,353,380,400,396,416,443,408,399,386,414,430,428,404,366,372,416,443,427,393,395,416,358,287,336,365,325,290,284,295,297,288,275,353,399,349,332,436,853,711,474,518,607,760,875,794,826,1082,1068,875,615,579,743,900,1009,1136,1508,1588,1362,1498,1146,1008,1110,1094,899,647,516,516,491,462,472,401,372,378,522,700,737,881,778,567,461,414,462,686,933,1060,1028,1034,996,880,590,419,378,324,310,279,267,358,547,574,356,503,902,1252,688,410,415,440,517,1044,1040,871,832,1090,1080,1032,1170,960,657,1058,1114,883,1018,1120,1001,979,1108,981,681,922,723,699,688,501,434,393,462,486,457,401,347,344,350,361,362,363,369,336,238,245,329,411,432,451,461,591,866,694,348,372,364,578,698,463,391,455,968,1350,1284,1008,905,868,896,1132,775,661,606,536,661,775,776,858,1104,1030,1114,1204,943,900,961,1116,944,638,993,1224,1182,1292,1312,1302,1278,1442,1078,752,631,480,442,455,506,520,490,449,440,548,668,686,765,1016,1052,945,1023,920,656,485,706,789,708,746,711,647,604,609,682,708,895,828,830,817,1002,960,662,608,875,1070,1260,1304,1282,1216,749,558,1028,2066,1526,957,808,940,969,1024,1122,1172,1108,893,1040,1332,1618,1672,1524,1586,1364,1402,1124,974,1218,1268,1258,1642,2032,2126,1952,1876,1872,1876,1500,1176,1536,1872,1672,1050,850,1412,2166,1344,673,1602,1584,1250,2324,1562,942,1332,1098,1208,1208,904,1300,862,993,1218,1346,1174,1202,952,672,583,602,711,718,677,691,671,1372,2178,1930,1254,849,1070,1718,1576,1226,1001,1164,1652,1596,1154,1404,1310,917,993,1192,1206,1660,1658,1454,1370,777,834,988,1038,999,886,943,995,955,974,1026,939,760,807,1082,1382,1246,1176,1100,1021,813,1138,1150,1194,963,658,439,311,318,303,283,422,844,780,516,484,857,1132,969,720,893,1058,1132,968,800,914,623,508,408,589,879,803,626,613,490,351,333,284,262,426,698,728,1182,892,568,566,813,1176,1362,1418,1294,901,816,922,731,456,538,998,1146,1122,1274,1204,899,723,595,655,677,658,802,1140,1094,935,886,1064,1212,1248,1076,941,1005,1062,808,996,825,793,951,1238,934,494,684,960,797,628,635,678,886,863,943,1052,893,1074,1012,1052,1042,785,924,1312,993,824,742,887,990,1156,1344,1262,1306,1126,1110,1212,1250,1206,1208,1366,1370,1486,1936,1996,1450,1190,1174,1580,2064,2324,1936,1128,1022,1320,1490,1182,1108,1104,885,787,835,1218,1190,1166,1015,919,1226,1382,1562,1422,1062,1094,1384,1370,1330,1382,1550,1614,1556,1628,1694,1700,1710,1620,1628,1528,1424,1442,1590,1676,1644,1520,1356,982,506,416,824,1360,953,517,708,1482,1552,1598,1450,1340,1064,651,784,1132,1254,1294,1088,1102,1030,1260,1232,1122,1202,1028,984,1254,1228,1116,1116,857,653,780,1056,1118,1216,1216,1196,1154,1288,1310,1136,1004,819,982,926,1078,1198,1472,1582,1332,1198,1194,1272,1256,1212,1340,1400,1194,1108,1156,1104,1078,1320,1378,1332,1234,1024,1136,1512,1260,1108,1128,947,953,892,758,865,855,898,1017,1090,1196,988,747,861,866,777,506,731,896,904,816,642,584,592,561,901,1282,1262,1018,622,796,1116,1612,1484,1014,780,730,713,683,494,453,789,1360,1286,927,618,1050,1414,1158,897,868,796,674,1000,1628,1528,1224,1296,971,1062,1306,1160,1196,1172,1003,1128,1320,1512,1484,1274,1324,1648,1682,1570,1440,1204,1226,1332,818,810,861,911,1026,841,836,987,953,785,635,788,815,1046,1250,1462,1190,1044,1494,1582,1126,1294,1346,1230,1346,1036,796,1028,1282,1198,1362,1566,1132,1124,916,949,1244,1074,1084,1015,960,1144,1296,1028,1126,1206,1118,1144,1184,1028,896,899,948,1338,1112,912,708,825,1130,1286,1148,1444,1904,1584,1128,1214,1184,1278,1076,617,812,893,792,897,944,1048,1128,910,782,1042,1144,1114,1038,1050,905,1022,1272,1350,1092,1184,1566,1402,1082,1170,1210,1024,1354,1750,1426,1172,1174,1192,1204,1218,1262,1184,1284,1278,1334,1326,1378,1224,1726,1522,2112,1948,1666,1546,1308,1406,1720,1732,883,466,512,456,517,509,477,464,494,483,502,561,505,425,428,401,321,337,303,229,263,276,257,330,440,487,561,568,565,523,686,593,504,481,478,523,494,439,400,430,479,455,423,448,362,392,537,500,316,235,292,355,451,473,516,625,461,425,443,428,546,645,525,624,623,463,400,391,292,337,392,454,577,500,399,650,708,714,976,1090,1124,1222,1304,1256,1296,1322,1364,1272,1230,1130,1186,1206,1034,1054,1240,1214,1106,1168,1236,1540,1292,1272,1200,1194,1136,747,661,1174,1460,1494,1242,957,546,467,444,751,1348,1498,1372,1110,1116,1316,1312,1236,1074,1020,1124,1206,1124,1594,1013,872,1354,1456,1036,592,735,1026,1084,999,1338,1250,1090,1302,1310,733,1148,1564,1178,851,1064,1310,1072,1042,871,1102,956,1330,1130,1094,1216,738,510,562,440,332,455,656,648,620,582,481,940,1210,933,845,846,583,517,494,547,462,473,417,415,609,836,860,783,891,934,1046,1010,783,758,778,741,374,376,344,579,676,728,825,955,965,1104,1886,2296,1964,1134,642,441,493,597,427,544,664,514,689,1202,1512,1394,1250,931,929,1026,948,833,611,672,1004,1336,1534,1534,1394,1294,1108,1094,1192,1218,1256,1378,1434,1480,1380,1132,890,1180,1436,1502,1168,1026,1248,1130,1070,1011,1013,967,1112,1316,1372,1506,1636,1606,1566,1622,1454,1394,1636,1578,1450,1460,1412,1296,1520,1500,994,1026,988,916,933,811,605,690,1168,1158,775,1032,1005,557,1538,3266,3760,2916,993,875,1250,1048,973,1230,1562,1526,1506,1604,1078,929,1368,1874,1920,1472,1346,1250,1232,1118,1128,938,634,508,461,573,970,1324,794,667,499,471,1024,1324,866,909,1046,767,623,481,307,271,265,242,238,314,1122,1554,1094,827,666,902,1064,884,520,300,424,1068,1690,1398,908,658,828,1350,1592,1666,1300,904,849,987,1128,851,935,1152,1276,921,699,865,913,856,1023,1072,833,659,916,1666,1278,708,804,877,1058,948,1150,1196,931,1019,1200,1158,861,655,619,533,601,491,710,500,337,555,689,695,642,830,1062,1038,1082,1206,1092,735,666,1042,1510,1248,650,430,503,538,515,515,518,484,449,452,488,482,464,492,683,844,608,515,785,578,418,408,512,1021,1188,1094,1192,1310,1268,1005,900,954,943,950,1036,1342,1320,1310,1316,1248,1124,1298,1376,1230,1442,1506,1200,1228,1668,1438,1422,1404,1266,1080,1120,1282,1322,1388,1200,1036,1210,1266,1250,904,462,453,901,1256,995,982,973,849,776,927,986,976,1274,1180,1190,1252,1298,1078,930,1132,1244,1294,1248,964,910,1336,1468,1102,633,322,365,398,939,1064,789,534,339,321,579,893,1126,997,509,343,345,585,959,901,658,529,448,417,336,318,419,506,858,1001,863,855,780,1015,1208,1094,854,778,950,1148,1240,1468,1422,1344,1134,1148,970,737,526,380,388,467,796,1054,1122,965,1224,1510,1384,1480,1410,1170,1300,2072,2546,2308,1564,525,401,361,384,376,459,415,505,963,1124,1216,1226,977,1116,1250,1300,782,475,701,1128,965,658,630,588,491,442,381,367,348,393,423,425,484,479,390,486,443,338,315,330,338,304,304,314,341,356,396,443,505,428,373,455,468,583,915,987,889,1028,1164,1256,1040,1376,1298,891,958,1352,1546,1494,1576,1520,1276,1154,1244,1314,1248,1208,1332,941,1078,1366,1176,942,969,736,782,1196,1472,1232,801,811,1196,1194,1158,1362,1408,1366,1502,1464,1588,1598,1346,1052,1224,1130,1256,1408,1324,1280,1114,1142,1374,1418,1352,1300,1418,1296,1328,1288,1194,1064,999,1160,1350,1318,1230,944,747,972,828,961,1190,1532,1578,912,554,527,484,565,638,617,521,460,403,433,368,357,330,441,713,919,997,809,620,728,1248,1478,1572,1476,1356,1204,1170,988,806,888,1070,1226,1324,1162,949,598,520,810,1266,1236,960,1032,1340,1192,1236,949,504,870,1362,1224,957,1098,1270,1378,923,598,620,673,812,873,871,1044,1100,1328,1486,1280,1372,1374,1470,1500,1266,836,994,1382,1410,1426,1178,576,688,1332,1250,928,607,735,799,1007,1184,1204,1308,1312,1200,1038,1094,1058,791,1076,830,397,430,635,814,786,1052,1598,1508,1454,1436,1410,1312,1344,1194,1064,988,962,1032,693,683,981,1268,1130,858,750,717,654,634,678,844,869,594,592,696,614,642,727,885,1144,658,394,687,1046,783,521,456,648,1214,1104,1060,784,472,553,459,630,1100,1272,1172,960,1018,1020,525,656,646,434,374,453,608,796,854,708,982],[399,406,428,375,289,357,469,409,360,366,443,506,505,514,526,496,483,489,484,468,440,413,389,350,380,408,432,416,394,386,379,411,433,435,412,390,410,450,441,397,348,368,398,368,318,323,343,337,301,325,302,301,297,277,332,454,537,491,659,1016,864,676,676,771,716,840,821,999,1008,896,714,618,565,644,1026,1172,1140,1498,1606,1284,1466,777,774,994,1076,791,700,639,466,448,399,432,451,610,473,809,1180,938,816,611,469,428,432,406,471,771,841,827,896,960,1016,517,555,671,479,348,276,247,390,645,727,681,915,696,973,602,390,406,480,539,970,1344,965,588,976,802,802,771,1003,989,1372,1706,1326,981,1170,1368,1246,955,850,755,1064,785,560,558,445,482,477,506,458,365,366,316,337,350,337,332,345,354,283,213,272,333,390,421,455,440,541,856,856,596,596,645,758,842,702,557,601,1015,1194,908,822,666,758,626,789,758,737,618,591,702,760,707,1162,1860,1346,964,794,717,926,1496,1482,880,516,988,929,614,710,794,969,1200,1350,1076,825,652,428,389,354,360,406,466,482,619,819,894,858,837,859,816,745,892,1116,1046,776,625,480,527,663,775,670,658,661,874,877,922,728,802,882,951,1007,750,758,868,814,814,1132,1204,1294,1050,912,1188,1174,1050,1244,1064,967,1098,1136,1072,1174,865,916,1038,1400,1576,1536,1512,1512,1562,1656,1582,1516,1396,1494,1158,1438,1786,2036,1946,1872,1884,1818,1530,1326,1672,1848,1300,945,1618,2644,2212,1402,1598,1488,1020,1444,2260,1394,915,1258,1066,1160,1278,1206,2342,1368,1120,1126,1054,1116,1198,1090,953,812,739,791,847,880,998,863,1348,2008,1782,1042,425,838,1346,1224,1224,726,912,1246,1478,1296,1448,1650,1544,1734,1836,1672,1808,1686,1692,1676,1262,968,895,885,976,916,967,947,892,1023,1088,943,888,876,987,1144,1114,1162,864,612,739,1180,1284,1078,946,858,655,397,344,336,316,691,1054,1082,1048,961,1015,1172,942,686,819,796,869,905,700,601,441,335,294,489,771,634,590,985,954,630,454,262,274,497,722,955,832,496,546,678,984,1146,1252,1248,1212,1010,724,527,530,387,649,1122,874,683,1015,1080,772,645,1005,847,716,839,1162,1238,1072,1032,1060,1268,1296,1158,901,1044,750,789,793,675,499,561,572,901,996,761,935,1090,1060,1026,940,922,1122,1015,778,744,752,844,1064,1198,1260,1162,1268,1288,829,651,786,1098,1140,1084,1154,1202,1176,1182,1262,1190,1100,1158,1248,1370,1584,1466,1378,1346,1326,1284,1240,1374,1878,1818,1164,974,1164,1178,1204,1154,1246,1136,1086,1302,1324,1282,1306,1178,913,860,1218,1150,1500,1726,962,844,1182,1098,1162,1260,1288,1372,1348,1064,1232,1374,1332,937,848,1038,1078,1158,1164,1230,1322,1152,847,670,634,685,1050,1412,1122,685,461,922,1428,1468,1300,1410,1232,1110,1132,1172,1132,1206,1094,924,968,1262,1214,1158,1248,1192,905,871,1218,1204,1050,980,888,926,1108,1196,1168,1126,1074,1056,1268,1284,1140,1012,1050,1078,898,931,1166,1486,1578,1332,1074,1070,1118,1080,1256,1262,1114,1094,1064,1168,1136,1186,1272,1288,1306,1154,1144,1194,1412,1144,1164,1038,1001,1068,848,850,928,907,1128,1138,1196,1202,934,788,817,864,808,652,667,827,852,708,592,605,575,629,1050,1208,1310,864,821,1260,1220,1376,1438,1262,1108,958,841,688,448,508,838,1296,1338,1350,1356,1462,1390,1160,1042,1132,1224,892,1044,1242,1142,1240,1268,1512,1422,1216,1188,1112,955,1130,1180,1306,1432,1212,1378,1588,2142,1790,1312,1318,1314,1332,1054,744,964,889,808,1098,1026,1060,1190,1134,835,655,830,982,957,878,891,968,1168,1340,1346,1128,1390,1330,1268,1230,907,872,944,1120,987,884,1034,918,1112,825,703,984,993,1018,1154,1080,1526,1552,1134,1328,1120,1168,1100,1256,1036,931,810,924,1268,1276,1106,995,1080,1120,1218,1088,967,1054,1016,912,912,1015,1268,1132,715,558,589,890,1078,1088,1160,1372,1030,949,1162,1304,1182,1104,1166,1007,1186,1512,1434,1336,1474,1416,1316,1070,1062,1066,1068,1402,1722,1332,1220,1208,1080,1188,1240,1176,1204,1306,1242,1310,1216,1374,1256,1092,1554,2076,1754,1576,1364,1194,1342,1440,1582,1194,789,535,385,468,599,631,565,552,540,530,550,509,411,371,372,309,299,260,254,337,326,270,282,422,568,618,556,642,537,625,586,499,482,492,479,479,380,389,372,428,418,438,414,248,223,336,463,361,272,294,318,343,294,348,549,543,504,480,448,532,588,601,557,551,547,415,362,300,315,332,412,619,566,465,835,1030,1084,1150,1064,1162,1170,1312,1144,1170,1186,1114,1104,1138,1140,1146,1266,1350,1126,1284,1204,1058,1070,1492,1674,1266,1112,992,1086,907,449,668,1132,1370,1176,677,388,350,561,642,1050,1392,1226,912,713,813,1110,1194,950,853,920,1180,1318,1050,872,825,1584,1918,1578,1196,777,645,851,1382,1376,1434,1324,1190,1180,1284,984,1306,1410,987,784,998,1292,1066,1124,1007,1056,769,764,635,648,824,794,678,451,411,389,718,1164,1132,949,878,769,818,693,487,588,610,361,376,563,688,472,406,383,472,775,1192,1108,633,716,898,891,1240,1166,1182,1194,821,417,397,659,536,392,550,733,857,853,1322,1912,1590,1366,1234,676,429,419,397,380,420,579,684,677,791,987,1028,1196,1284,753,685,892,1036,1074,1032,1122,1288,1222,1178,1010,970,778,892,778,955,955,1026,1254,1404,1566,1440,1492,1598,1532,1476,1412,1294,1362,1046,1298,1358,1230,1094,1070,1005,1198,1474,1586,1588,1462,1288,1340,1184,1202,1256,1372,1648,1622,1412,1550,1536,1260,1096,940,1008,762,633,692,911,1126,1164,824,543,612,653,1400,2732,3394,2570,913,746,935,910,967,1194,1466,1506,1348,1050,821,1154,979,2056,2028,1432,772,673,1138,1036,1310,1466,961,866,1001,1262,1146,1302,1130,962,647,655,949,1013,836,994,1158,963,578,628,344,274,257,239,263,311,847,1011,767,912,1158,946,451,462,457,634,959,1350,1622,1176,604,617,1134,1416,1544,1458,1028,971,1088,983,974,977,844,880,1146,1078,940,933,893,913,951,880,962,1032,885,1410,1356,1184,1276,1278,1156,1100,1266,1158,880,1018,1346,1748,1144,684,443,326,396,500,731,906,770,649,734,959,827,806,1266,1013,1022,1378,1266,1015,871,1016,1394,872,358,383,474,535,536,540,509,473,457,473,469,464,503,499,637,792,608,481,857,665,414,370,510,1010,1196,1230,1464,1296,1048,908,894,943,905,985,1030,1252,1470,1582,1788,1664,1210,1368,1230,1294,1520,1294,1470,1432,1560,1440,1408,1346,1154,1096,1260,1338,1416,1404,1150,1144,1134,1142,1316,819,406,416,876,1210,995,834,998,1009,971,800,573,714,1158,1284,1354,1156,1011,1030,1250,1344,1246,1332,1252,1190,986,899,740,627,469,335,351,288,341,429,402,352,320,392,735,1001,1396,1242,825,597,409,387,630,886,736,390,464,583,405,304,522,869,1114,1072,1294,1364,1076,852,901,1142,1160,1104,1050,977,1274,1330,1338,1274,1068,1176,1256,1130,950,633,494,650,861,1282,1372,1284,1262,1122,1128,1212,1228,1116,1478,2124,2448,2310,1836,840,497,401,337,313,394,465,810,1268,1278,1082,857,1048,1548,1416,857,373,284,338,469,540,465,626,761,641,564,424,347,375,405,385,375,413,399,351,399,370,333,348,355,350,325,344,334,339,340,389,602,885,722,421,367,375,444,617,858,887,902,1062,1044,1144,1342,1076,1030,1274,1418,1370,1260,1238,1412,1356,1570,1556,1574,1434,1168,1334,1242,1186,1320,1194,1188,1240,1070,1086,1024,1176,1036,557,763,1384,1332,1012,1026,1234,1534,1478,1534,1584,1744,1740,1470,1130,962,1186,1450,1400,1162,1096,1556,1670,1486,1174,1024,1376,1262,1574,1342,981,999,789,950,1488,1366,1200,993,730,799,776,1046,1382,1752,1218,589,449,458,479,491,590,674,635,514,450,429,393,326,313,786,1236,1148,932,611,718,1076,1366,1476,1428,921,602,690,1012,949,511,568,1068,1318,1116,771,854,540,378,596,1182,1362,1156,1174,1296,1266,1470,1252,1028,1206,1246,1064,1252,1182,1158,1336,1298,975,677,954,1236,1232,1300,1378,1284,1366,1432,1386,1064,846,1204,1472,1070,721,863,1208,1066,1214,1198,778,846,1156,926,607,415,543,696,758,704,1098,1044,1052,1158,1482,1460,1078,1202,1632,1404,851,584,795,1286,881,643,1190,1422,1378,1540,1500,1450,1582,1378,973,730,761,797,683,606,1160,1336,1072,943,919,864,832,804,835,887,743,470,411,450,645,767,938,1132,1060,852,625,704,1158,1086,1020,945,1072,1342,899,905,982,857,711,410,690,942,727,771,575,617,833,648,956,1682,1094,477,590,985,1326,1368,1334,1234],[380,403,433,385,346,393,484,428,385,357,395,467,494,493,484,467,452,443,447,434,381,343,379,344,373,394,408,386,384,386,377,386,408,419,365,385,433,450,419,392,379,348,315,303,321,346,342,330,302,309,305,300,301,276,403,656,696,590,988,1380,1210,951,775,830,832,938,1190,1312,1116,968,983,1144,923,867,1005,1164,1168,1224,1334,1316,1412,788,601,673,792,722,525,677,891,760,558,543,527,813,733,957,982,1128,1114,532,402,361,439,441,506,800,916,946,739,820,770,487,828,1058,859,807,721,360,402,557,586,727,545,576,496,409,427,369,413,543,808,991,938,746,745,752,1054,896,858,987,1450,2080,1696,988,751,861,1256,1188,1306,1092,854,623,457,416,411,458,461,449,429,378,376,311,304,293,298,317,344,380,336,268,261,310,397,468,533,735,785,991,1208,1058,1040,1108,1042,927,720,865,1188,1196,1064,846,621,514,642,659,730,738,846,785,726,815,853,831,1208,2048,2264,1814,1170,863,822,1126,1114,713,636,825,654,492,540,512,395,368,428,673,818,833,617,424,352,375,399,441,546,910,988,1120,1024,985,1056,972,883,795,1015,1240,914,609,379,337,380,624,445,363,585,923,1062,1064,872,684,552,516,686,918,1160,1078,1066,1132,1090,1150,1260,1202,1178,1242,1017,1017,1248,1114,1066,1024,1190,1490,1422,857,1080,992,1062,1152,1168,1238,1212,1408,1528,1672,1670,1698,1582,1044,1098,1204,1436,1698,1968,1726,1462,1498,1412,1792,1672,1012,1068,2002,2316,1714,1454,1696,1650,1112,1606,2370,995,925,1222,1320,1268,1122,1262,1954,1370,1298,1528,1338,1290,1278,1094,960,1021,874,836,1202,1346,1374,906,954,1306,1324,1268,749,1068,1064,921,1142,1154,1488,1718,1684,1542,1534,1562,1586,1810,2026,1976,1964,1700,1720,1792,1572,1092,897,1124,1504,1442,997,777,738,918,964,935,1024,815,876,1184,1248,1116,975,783,832,1118,997,971,1026,973,673,425,456,433,437,774,995,1054,1106,1023,974,917,800,860,1180,1126,852,688,769,766,591,432,387,572,816,758,738,1016,907,682,432,318,308,325,358,563,543,581,917,1326,1286,1156,1356,1292,1126,1238,759,417,480,408,747,940,769,788,1030,778,606,628,1080,905,636,855,1150,859,1096,1390,1146,1136,1050,974,769,990,758,1056,1282,1094,874,700,720,1240,1528,1162,1392,1508,1338,1344,1462,1320,1256,1036,723,590,419,517,931,1204,1250,1252,1202,866,777,824,956,1036,1012,1156,1082,791,820,1048,1148,1220,1142,1132,1164,1350,1482,1424,1136,1074,1238,1274,1080,1174,1542,965,625,556,625,878,1116,1268,976,789,1212,1356,1176,1130,1140,1052,810,1046,1184,1126,1216,1078,747,908,1048,1058,1170,1124,1126,1260,1136,1218,1360,1294,1120,720,583,546,769,1046,912,1082,1120,890,774,1138,979,746,1068,1318,1266,993,853,1122,1472,1258,1124,971,974,1088,1464,1480,1224,1202,1284,1074,1062,1324,1412,1324,1202,1342,1238,1228,1244,1152,1074,1120,1176,1194,1242,1224,1164,1112,1100,1118,1336,1312,1076,1072,1282,1304,1058,982,1238,1566,1638,1378,1140,1212,1172,1202,1282,1240,1158,1176,1116,1190,1284,1448,1358,1324,1346,1204,1338,1144,1170,1026,1046,1292,1368,1194,980,1017,742,855,1362,1128,1080,1009,1104,1006,926,793,832,711,633,765,761,612,550,531,500,641,1170,1216,1260,867,1136,1550,1406,1188,1246,1316,1242,1128,798,821,702,769,1096,1494,1372,1346,1318,1158,993,974,1106,1296,1346,1324,1330,1236,1584,1238,1238,1552,1488,1466,1426,1128,858,845,1034,1242,962,955,1276,1372,1388,1232,1046,1182,1172,930,839,966,1180,1088,1013,1076,1096,1424,1382,1388,1376,1134,1003,980,707,497,616,913,1314,1504,1328,1168,1374,1240,1190,1354,1212,770,927,1410,1168,863,838,1019,1212,1009,703,967,1240,1286,1308,1130,1296,1472,1226,1444,1160,1074,1038,1008,1048,981,1004,1158,1250,1366,1250,1178,1096,1034,1194,1164,1230,1150,968,1016,987,991,1324,1236,814,514,727,1056,731,757,1005,1236,1114,1420,1938,1610,1034,1046,1122,1218,1576,1478,1212,1310,1290,1218,1254,1172,996,1019,1019,1180,1306,1088,1098,1260,1276,2266,1566,1332,1202,1034,909,1238,1244,1154,1174,1216,1458,1616,1530,1490,1410,1302,1738,2104,1698,1472,1366,895,543,483,495,543,609,564,480,433,473,416,380,404,399,332,315,315,327,365,433,444,373,439,621,565,503,592,570,562,529,530,606,577,509,616,457,422,350,400,418,460,481,462,331,306,344,270,236,286,317,312,294,394,548,553,544,463,408,406,462,535,415,476,553,415,380,388,355,346,323,390,382,573,1021,1166,1076,1078,994,1116,1080,1222,1180,1234,1218,1130,1100,1168,1252,1270,1340,1290,1148,1266,1182,1148,1052,1316,1558,1570,1350,1238,1328,1023,835,1180,1180,1168,1274,984,710,676,1142,1138,878,1116,1074,766,691,655,783,812,853,1162,875,1234,1050,625,1018,1770,2206,2212,1708,1318,1058,1084,1294,1578,1356,1178,1152,857,933,1172,1020,933,648,450,463,811,920,754,1176,1100,998,793,495,430,515,749,1178,1314,565,400,353,428,954,1003,953,959,836,567,378,385,506,625,422,357,578,569,433,500,512,573,810,1122,1086,793,637,764,908,1300,1362,1290,1186,959,705,744,1212,1158,946,735,896,1086,1360,1736,1852,1344,1008,955,541,419,426,353,378,458,604,823,862,766,601,943,1032,850,1058,912,830,1164,1554,1654,1686,1798,1484,1110,734,752,607,572,649,795,624,474,534,799,1192,1434,1458,1506,1454,1332,1574,1582,1410,971,1046,1330,1248,974,1048,1130,1296,1354,1330,1340,1172,1492,1598,1244,1118,1066,1138,1400,1362,1230,1056,1054,1066,963,971,1390,1164,574,508,729,1016,1200,911,855,733,766,1834,3082,3558,2406,1232,976,1156,1238,1118,1096,913,1038,1262,1068,1088,1064,786,1426,1394,1194,753,572,786,767,843,1013,735,693,1272,1106,731,728,702,560,736,847,736,861,827,617,673,670,566,1084,607,286,251,242,303,320,536,703,827,1222,1478,1078,379,358,565,1052,1270,1144,1398,1236,808,788,1134,1444,1472,1088,976,1366,1368,904,713,761,722,920,1152,930,715,802,896,918,851,647,836,983,1009,1590,1784,1386,1198,1302,1216,1184,1316,1192,899,979,1162,1072,789,683,504,348,319,400,810,1350,1278,747,608,990,1050,1070,1288,1322,1164,1224,1258,1216,1300,1236,1460,803,410,400,496,531,515,535,552,529,481,460,448,462,493,495,517,620,644,621,990,744,397,359,485,1062,1272,1162,1396,1422,1208,977,864,825,857,865,905,1158,1342,1288,1404,1406,1108,1238,1234,1264,1178,1196,1550,1370,1088,1358,1600,1102,1102,1072,1240,1144,1214,1324,1176,1250,1130,1164,1248,922,598,576,636,679,865,1328,1388,1240,1090,813,694,713,703,1184,1434,1058,818,921,1286,1376,1262,1208,1042,1300,926,545,452,502,499,457,387,321,353,388,374,345,361,655,791,1005,1242,1250,1218,1066,697,584,1050,1268,836,452,466,558,522,531,1002,1256,1098,1194,1400,1240,1084,967,872,898,1188,1354,1444,1338,1172,1230,1376,1272,1148,1216,1298,1260,1048,857,857,975,663,828,1100,1584,1528,1394,1122,751,725,756,1132,1592,2048,1714,1206,991,690,649,675,508,514,670,860,867,1094,1080,793,1126,1452,1542,1250,876,532,342,285,303,369,555,607,480,439,407,359,373,398,399,428,460,409,406,407,393,426,396,358,381,383,336,346,328,334,530,936,1060,630,401,339,367,396,428,619,850,741,737,789,1132,1136,1068,1312,1328,1260,1286,1280,1308,1384,1472,1576,1526,1612,1478,1082,1094,1300,1058,1164,1208,1380,1312,1338,1500,1136,1136,895,535,809,1256,1104,784,551,836,1464,1290,1616,1622,1622,1684,1794,1598,1360,1394,1516,1366,1158,1400,1720,1516,1172,944,760,1050,1218,1414,1354,1110,1050,860,586,993,1170,955,573,394,548,868,1412,1838,1500,739,419,420,575,510,517,629,766,658,539,417,432,491,482,628,1048,1458,1034,772,1044,1382,1426,1384,1194,1082,765,487,510,832,962,599,505,893,1004,893,849,1018,786,409,659,1122,1132,932,894,1162,1286,1354,1566,1546,1464,1202,1088,1156,995,939,944,1001,1258,1332,1352,1380,1234,1122,1276,1208,1060,1162,1192,783,806,1470,1598,1214,1288,1086,830,717,1026,1272,1122,860,539,451,473,439,549,596,571,632,792,677,961,1164,1258,1110,1120,1322,1272,1380,1318,739,593,823,962,998,928,846,1168,1388,1206,1340,1748,1776,1278,798,888,1000,733,576,924,1112,921,723,679,775,863,796,875,959,736,480,462,838,1012,996,1012,1078,1318,1404,993,788,1406,1326,1350,1194,933,1032,603,741,926,797,698,345,433,643,1062,1056,584,499,499,767,862,1256,915,550,760,1292,1272,1372,1506,2032],[332,388,445,391,363,344,367,343,343,360,364,390,415,399,394,386,397,435,422,392,373,364,390,381,373,382,404,419,406,381,386,395,383,411,417,413,400,407,404,392,390,357,300,269,307,368,312,298,294,301,305,301,318,305,488,754,741,694,1186,1360,1184,685,652,1178,1278,1172,1172,925,1052,1174,1216,1118,760,973,1134,1208,1266,1422,1484,1436,1250,845,772,782,698,567,494,697,1116,1086,771,631,541,550,630,1040,1034,1007,944,449,361,488,538,662,637,963,1312,1218,703,573,648,558,553,596,885,986,828,667,717,875,582,486,611,807,681,654,645,598,788,993,1240,1436,1406,1092,780,478,549,727,949,1064,1180,1096,814,584,487,1014,1512,1406,1404,1120,644,424,402,381,414,477,493,518,473,381,368,328,314,314,322,332,348,353,324,315,325,405,448,467,454,916,1104,1284,1270,1234,1154,797,835,1048,766,843,967,796,687,742,633,729,717,760,891,1003,1068,926,748,1054,1108,1072,991,941,1274,1664,1256,871,880,999,926,881,858,878,535,513,530,469,403,412,404,449,688,879,844,785,775,584,392,466,778,1358,1614,1698,1532,1158,1026,1044,949,767,973,918,528,599,466,484,498,465,415,504,680,920,1096,983,684,604,572,466,908,1248,1318,1366,1564,1260,1002,991,1042,1144,1242,1102,1172,1390,1342,1216,1128,1005,1142,1802,1498,963,911,1222,1388,1110,1056,926,892,1262,1230,1340,1666,1730,1780,1560,1126,1176,1354,1586,1766,1462,1390,1114,1534,2114,1388,1020,1044,1730,2192,2030,1848,1896,1694,1394,1932,2302,1024,1050,1152,1476,1458,1284,1522,1598,1282,1336,1598,1696,1368,1238,1284,1011,1170,1001,952,1298,1322,1272,1220,1554,1994,1886,1866,1080,699,829,1126,1428,1578,1594,1632,1482,1114,853,862,931,1136,1544,1792,1844,1854,1760,1826,1500,1018,822,1040,1584,1570,921,719,592,607,681,747,718,863,997,1158,1078,960,1102,1100,1056,1108,872,1021,855,766,758,658,653,560,370,572,949,1124,1064,1028,998,1013,764,605,1070,1374,1116,888,842,802,912,958,944,919,1274,1198,769,872,674,433,354,318,371,415,357,458,642,532,914,1436,1192,1076,1238,992,883,1056,590,339,377,524,730,658,1058,1180,1280,855,532,450,698,942,796,703,678,525,574,976,985,1036,949,1088,849,828,971,1090,1260,1182,686,517,677,1168,1204,1204,1136,1156,1328,1486,1274,1130,1174,1122,1060,816,802,742,907,1234,1310,1122,980,808,766,776,963,1013,1136,1134,916,695,667,720,1046,1102,1316,1654,1590,1300,1272,1376,1288,1150,1290,1316,1009,1188,1336,1354,1180,1046,962,684,798,1122,981,1020,1162,1013,1007,1162,1118,1140,866,1018,959,949,891,645,760,1036,1244,1094,935,863,980,1220,947,1294,1372,1200,1019,761,623,628,783,999,1052,1154,1074,908,808,1170,1072,642,819,1098,953,1008,1084,1066,925,935,1110,886,978,1256,1468,1644,1542,1396,1320,1106,1228,1452,1356,1254,1254,1324,1216,1152,898,800,928,1028,1003,893,841,824,1056,1046,987,1238,1288,1174,1114,1162,1198,1140,1164,1240,1322,1590,1708,1650,1456,1222,1148,1144,1136,1108,1252,1158,1062,1348,1302,1312,1232,1146,1210,1142,1136,1080,1090,1108,1144,1220,1422,1226,904,896,726,879,1324,1208,977,1086,1138,1130,1050,825,741,664,771,745,688,555,547,527,534,833,1194,1252,1070,912,1158,1326,1300,1292,1288,1274,1192,1012,807,940,937,835,836,1096,1294,1206,1096,1012,928,755,880,1306,1638,1700,1516,1450,1388,1230,1444,1534,1188,967,949,939,787,743,1232,1158,877,1008,1064,1024,887,883,1146,1292,1186,962,1058,1136,1280,1028,1354,1462,1436,1302,1220,1350,1396,1094,646,583,463,401,502,841,1134,1340,1246,1204,1188,1009,1102,1250,1062,460,553,612,619,1009,1138,1192,1180,1244,1134,1198,1240,1228,1404,1238,1054,1178,1224,1098,1188,1136,925,1016,1108,1078,1162,1250,1308,1218,1084,1070,1016,1128,1050,1006,1074,1118,1104,1242,1224,1076,1030,891,651,705,674,778,548,466,495,908,1152,1006,727,651,719,810,950,1282,1458,1202,1110,1174,1152,1312,1812,1798,1268,1202,1104,1142,1180,1016,1044,1246,1134,1632,1214,1234,1246,1004,1144,1328,1244,1476,1292,917,1005,1520,1394,1434,1220,1388,1654,1794,1468,1416,1616,1454,1050,634,391,398,451,469,403,398,360,342,349,361,386,339,337,376,397,377,487,471,504,466,602,518,450,538,543,497,462,487,598,619,537,541,586,420,308,364,416,413,501,572,429,390,401,400,266,271,300,283,333,435,505,533,528,429,430,422,424,555,588,637,547,441,404,365,370,366,341,315,473,901,1264,1240,1100,1152,1018,1278,1482,1428,1224,1192,1274,1228,1150,1344,1410,1394,1288,1098,1078,1078,1216,1216,1168,1252,1426,1510,1138,1006,1142,1252,1282,1208,830,930,1186,1184,1144,1128,1266,1294,1422,1318,946,609,672,626,499,381,498,568,827,1172,817,705,1582,2280,2138,1650,1030,753,749,996,1268,1404,993,767,800,713,1122,1364,1068,842,1042,1032,824,902,832,827,1138,942,777,902,644,612,921,1210,1222,1234,802,621,406,404,841,1282,1176,672,534,495,498,723,1070,1228,660,359,394,380,354,686,847,583,623,708,757,874,869,1058,987,1066,1094,1102,846,732,901,1102,1226,1392,1562,694,733,1214,1506,1570,1268,993,854,725,515,475,461,530,535,716,1007,1126,1016,719,881,1758,1584,810,1021,1218,1316,1268,1388,1582,1736,1746,1282,1116,763,783,832,763,811,701,404,373,447,487,873,1260,1396,1576,1088,1098,1262,1090,895,959,1009,1052,865,985,1124,1228,1154,1188,991,1013,942,1206,1338,1144,916,783,974,1234,1212,1356,1296,1150,1128,1260,1196,1476,1482,896,623,733,1258,1278,949,923,976,915,1648,2552,2956,2138,1362,1242,1264,1228,1034,874,1132,1202,1442,1230,1378,1110,626,617,836,932,742,771,745,709,927,890,929,838,1148,919,619,392,389,425,608,838,790,861,571,371,607,810,1116,1302,766,328,282,285,320,328,346,523,1015,1048,1005,773,431,526,932,1196,1168,1250,1406,1310,996,710,825,1286,1346,1324,1152,1368,1122,720,541,365,330,489,674,511,679,888,855,869,651,405,514,654,1044,1824,2092,1774,1678,1482,1204,1210,1030,1294,1096,1196,1136,802,891,872,633,719,648,496,910,1258,833,487,607,919,929,930,1062,1230,1254,1164,1200,1368,1510,1272,1522,1100,775,639,555,494,480,531,539,486,457,452,482,496,460,473,464,552,634,807,1062,845,397,391,535,1250,1488,1300,1194,1126,1180,969,834,918,881,788,929,1086,1188,1144,1160,1194,1312,1322,1080,1032,1216,1254,1316,1298,1162,1260,1426,1338,1132,1178,1238,803,1030,1058,924,1098,1186,1102,986,899,857,1005,885,820,1013,1338,1248,1166,1088,1090,1116,1108,1068,1100,1094,1122,1090,1036,979,1040,1190,1012,847,1126,1034,724,628,1012,1338,454,418,481,433,429,430,396,618,1062,971,913,995,805,1120,1318,856,785,1284,1228,681,413,468,563,722,891,1170,1364,1432,1478,1236,1130,1170,1074,1044,901,973,1344,1606,1368,1274,1302,1062,1062,1152,1192,1300,1410,940,741,769,857,840,829,1064,1570,1654,1376,896,589,384,428,740,1184,1218,1005,824,1004,932,927,850,760,977,934,820,822,1036,908,456,594,803,1250,1528,1402,1192,778,343,298,322,408,403,400,375,367,314,323,476,586,545,443,445,477,420,440,471,417,353,366,525,655,556,415,610,977,1204,1076,641,403,355,338,389,460,479,489,412,381,507,774,971,1260,1328,1086,1252,1326,1404,1282,1246,1262,1358,1316,1270,1346,1094,1144,1007,746,1090,1158,1064,993,1294,1440,1152,1050,1050,942,925,968,783,852,849,1080,1302,1266,1254,1444,1496,1690,1798,1542,1644,1434,1334,1284,1142,1274,1340,1180,1228,1224,893,1010,1192,1238,1120,824,921,825,661,1009,1190,1086,932,748,506,661,1268,1654,1080,540,379,449,445,471,531,565,709,750,641,484,476,583,783,1042,1023,1110,1148,1252,1212,1028,723,879,1074,980,860,683,424,489,564,558,738,883,733,538,634,849,680,426,551,685,761,795,785,1005,1230,1136,1892,1940,1544,1340,1368,1198,687,519,551,634,927,1544,1812,1838,1534,1162,1498,1626,1186,1154,1052,616,507,1078,1470,1588,1208,745,666,871,1126,1142,912,670,500,512,678,556,683,990,884,701,636,639,628,550,674,913,1318,1432,1450,1564,1170,607,459,493,814,1286,1078,569,702,896,873,1436,1800,1724,1532,1362,1192,946,644,761,1106,1190,1136,1208,1104,993,852,792,777,673,692,536,625,1128,1256,1172,980,918,1510,1802,1322,1110,1350,1372,1628,1290,1056,954,836,1398,1168,713,499,334,319,576,1174,1144,986,851,652,865,1118,889,634,512,923,1600,1614,1576,1500,2162],[268,256,296,279,290,319,315,326,382,420,417,413,396,372,379,363,350,390,385,380,390,372,365,363,359,394,423,437,405,396,428,434,425,401,406,398,370,365,379,369,368,398,413,348,350,418,332,274,271,299,305,303,337,392,469,474,589,823,1052,1318,924,492,982,1766,1506,1136,944,787,831,941,1028,991,991,1074,1116,924,1082,1424,1370,1310,1298,1066,1114,1118,1060,677,544,671,1266,1590,927,466,449,516,634,691,1030,1130,880,751,641,1050,1060,1286,887,966,1152,908,739,886,614,555,670,841,937,828,481,727,1062,1038,882,688,635,560,637,861,1248,1060,1238,1402,1514,1574,1058,765,770,896,921,904,1068,1310,1098,727,550,365,385,807,924,1005,1030,685,426,427,399,375,405,486,514,484,402,351,359,362,365,366,361,345,332,320,378,474,561,561,563,523,512,1044,1478,1490,1332,1272,1262,808,680,907,903,887,750,583,636,665,582,636,707,715,772,971,1120,1096,941,1206,1224,1104,838,592,565,661,703,757,914,968,756,739,655,943,577,454,433,453,518,525,531,494,470,645,775,814,846,573,415,720,1156,1384,1344,1600,1686,1462,1300,1236,1318,1064,1094,753,741,786,526,453,579,613,561,610,767,847,758,570,458,433,490,613,1022,1064,1096,1046,1124,1000,934,1040,1058,1156,1322,1072,1122,1390,1284,1114,1098,1154,1154,1224,1284,1200,1230,1554,1230,1078,1098,1094,1170,1262,954,1072,1550,1676,1824,1942,1706,1396,1508,1796,1682,2150,1584,865,1496,1626,1096,1008,1134,1052,1016,1888,2744,3142,2998,1772,1908,1450,1106,927,1156,1334,1146,1388,1450,1566,1608,1560,1990,2168,1360,1048,1482,1656,1610,1208,1028,1338,1236,1110,1268,1932,2392,2090,1798,1452,1386,1526,1460,1316,1296,1282,1232,1318,1304,1294,1332,1244,1258,1558,1676,1626,1424,1166,1368,1494,1530,1500,1238,1238,1270,854,905,922,768,774,723,837,905,842,799,634,848,1042,1058,1070,940,904,908,786,879,954,904,1238,1224,425,675,1044,1150,1088,1188,1116,933,563,527,1032,1364,1298,1158,1090,973,1208,1018,1000,1086,1134,976,778,669,427,371,345,376,500,533,563,716,828,503,802,857,875,961,966,745,933,1044,479,346,350,578,955,814,1148,1246,1144,666,355,393,494,751,1023,670,477,456,453,875,864,971,1170,1208,919,821,636,561,786,713,379,511,736,1066,1114,1320,1116,1312,1544,1358,1178,1406,1360,1410,1340,1302,1302,940,957,1450,1372,1130,1176,1278,1176,1226,1152,797,912,909,914,995,803,960,1090,1086,1154,1082,1124,1310,1202,1252,1274,1354,1542,1290,1078,1348,1166,1270,1302,1290,1330,1216,1078,1166,1104,1108,796,612,859,1015,1224,1160,905,1194,1088,962,969,935,1074,1132,1244,1294,926,802,1164,1158,924,1142,1094,835,899,1154,1248,1150,1082,1162,1112,1004,999,952,949,1134,1138,824,672,631,784,845,781,1082,1102,1274,1340,1124,918,1001,1288,1490,1450,1322,1314,1208,1456,1470,1364,1334,1364,1456,1310,1166,841,547,437,549,1122,1446,995,984,1164,1178,901,1242,1454,1328,1174,1144,1132,1126,1228,1260,1358,1532,1642,2862,2184,1468,1920,1664,1454,1412,1242,1094,1196,1510,1396,1556,1366,1182,1214,1272,1292,1316,1158,1168,1306,1294,1242,944,593,553,565,1032,1202,1108,1001,982,930,1078,1082,791,688,701,857,760,648,607,544,501,492,863,1180,1206,1013,686,1024,1196,1312,1238,1168,1240,1196,761,572,897,1023,883,794,952,1019,989,886,935,1180,864,993,1246,1516,1528,1446,1456,1644,1626,1390,1418,1184,1052,893,1088,937,1356,1882,1504,1160,959,1038,1005,903,805,826,1030,1232,1094,1238,1192,1144,1058,1298,1380,1140,1260,1506,1388,1330,1028,560,501,440,428,644,1054,1214,1302,1228,1328,1188,1112,1220,775,531,452,468,437,461,795,1212,1228,1164,1118,1162,1182,735,1007,1108,1062,1136,1180,1216,1278,1308,1272,1510,1510,1170,1080,1236,1204,1158,1016,1080,1134,1118,1204,1020,1068,1220,1296,1324,1472,1452,928,763,781,455,430,493,634,573,489,491,747,1102,844,363,475,767,858,905,1336,1230,1166,1260,1212,1296,1190,1494,1620,1454,1182,1116,1130,1094,1156,1188,1064,1108,1164,1084,1180,1208,1023,1268,1350,1052,1354,1608,1336,1448,1614,1306,1306,1238,1230,1156,1122,1106,1180,1488,1662,1552,1292,729,427,351,323,324,362,321,345,367,357,374,320,303,335,397,449,507,507,551,562,605,534,420,405,379,366,437,589,547,522,480,435,481,347,281,352,348,352,388,409,362,415,334,428,345,316,313,307,298,355,412,505,554,527,417,446,476,667,725,554,425,436,408,398,384,367,384,486,860,1184,1360,1222,1342,1346,1098,1190,1456,1626,1574,1324,1180,1096,1248,1416,1414,1366,1310,1210,1120,1268,1270,1136,1196,1196,1282,1296,1238,1102,1216,1224,1294,842,772,1070,1070,1068,1124,1160,1134,1448,1376,1234,1162,750,631,577,478,427,523,620,748,1013,868,1150,1692,2098,1622,1104,960,1198,1176,783,810,1304,1040,653,753,965,1024,1060,819,756,1062,1248,1132,998,775,575,775,923,1046,1108,671,583,974,1352,1250,1132,1070,955,554,448,764,972,695,549,719,597,570,1106,1514,1432,710,562,531,342,316,590,749,363,403,440,486,534,927,1494,1230,954,843,1054,1126,932,1094,1206,996,863,994,796,1036,1384,1428,1372,1544,1396,945,824,897,940,694,669,566,846,1324,1230,1252,865,1290,2326,1610,1058,1198,1692,1892,1682,1400,1458,1672,1282,1178,1128,1224,1352,1116,1068,1322,1380,634,467,462,590,1066,1346,1570,1360,927,963,1036,868,822,1268,1242,979,1052,1182,1256,1172,978,1056,1028,1080,999,963,880,935,998,940,1032,1088,1188,1294,1324,1160,1266,1550,1648,1884,1990,1198,785,852,1232,988,826,845,982,879,964,1094,1172,893,912,1042,969,966,1110,594,905,1488,1274,839,1108,877,623,1016,1296,1090,1018,932,632,590,946,978,966,933,1132,1240,865,506,567,474,772,1100,827,913,786,449,634,799,730,899,734,305,271,294,368,433,616,557,559,467,510,477,559,1042,1210,1152,1278,1334,1410,1302,952,825,959,809,825,872,781,1002,1024,1060,946,433,478,689,883,541,897,1130,1036,948,639,419,396,530,1018,1614,1776,1438,1444,1414,1434,1324,1242,1226,1170,1192,949,928,1232,1116,784,1268,1216,662,852,1082,943,896,922,1156,1396,1388,1286,1212,1156,740,719,1200,1360,1208,1526,1560,1296,913,586,503,492,496,497,488,476,488,460,441,419,473,486,534,602,650,826,909,397,334,422,1016,1356,1352,1156,1174,1208,979,826,904,899,821,927,1182,1302,1156,1270,1604,1444,1372,980,1046,1202,1206,1292,1168,868,1134,1242,1110,1140,1168,1230,924,828,659,730,967,925,650,564,863,1020,1001,1012,1098,1166,1134,946,680,880,1064,979,951,907,1028,1314,1182,835,820,660,714,1226,1188,984,1062,1012,808,1042,2344,2630,625,360,602,570,502,440,350,518,987,813,716,959,579,1074,1508,1007,612,883,841,594,434,428,552,647,774,1007,1220,1224,1238,990,1080,1232,1172,1102,1056,921,980,1044,968,1040,1198,1090,1068,987,1174,1266,1124,636,448,513,722,1152,1120,1078,1370,1312,1122,1234,762,441,407,481,689,678,704,897,1096,1158,1072,1005,1238,1174,1010,866,878,836,510,357,377,400,662,1032,1260,1514,1212,729,427,377,471,537,498,433,350,306,318,456,747,845,672,609,500,427,453,441,425,405,409,891,1328,1106,914,1036,1274,1142,1009,768,487,394,372,582,626,495,423,354,339,404,740,1116,1288,1324,1184,1324,1284,1310,1242,1286,1192,813,748,1240,1338,1242,1432,739,921,1014,973,934,1056,1270,1250,1234,1180,1180,1194,1160,1360,1062,1348,1240,1204,1194,1146,1184,1496,1616,1880,1644,1324,1644,1750,1512,1444,1416,1108,1108,1310,1418,1362,1202,1176,1284,1516,1372,1392,1208,608,520,860,1210,1316,1416,1302,689,476,938,1208,607,401,374,423,467,817,628,466,703,749,724,857,1248,1212,870,990,1140,1312,1284,982,603,452,517,832,995,1072,756,513,390,372,700,741,710,635,555,647,671,700,570,690,1194,940,685,648,659,672,858,967,1486,2088,2036,1382,1388,1628,903,455,478,523,529,1060,1648,1802,1530,1282,1466,1420,1112,1282,986,938,1050,1154,1360,1506,850,590,702,943,1122,1002,557,469,525,618,1152,926,979,1340,1210,722,404,378,368,648,1009,1058,1228,1664,1964,1410,656,532,473,422,714,1296,1426,695,613,988,1015,965,963,1440,1614,1170,1072,934,704,933,1016,1108,1138,1344,1286,1362,1276,1080,979,869,851,599,900,1416,974,712,814,1272,1246,1396,1354,1246,1208,1358,1372,1032,834,732,926,1496,1164,956,645,406,340,697,910,829,760,926,1028,1132,1494,1206,899,653,856,1280,1208,1444,1296,1316],[255,196,280,330,329,326,302,328,365,397,425,449,427,411,411,398,338,332,364,392,416,402,368,353,354,380,403,439,399,382,400,433,447,433,425,404,401,383,400,407,387,422,440,323,287,329,316,360,370,307,297,305,332,347,376,484,444,527,597,820,775,922,1402,1402,1324,1312,893,623,547,904,1358,1148,794,837,846,916,1288,1382,1226,1244,1044,941,1328,1116,1016,756,607,804,1306,1444,853,556,592,745,927,870,1017,1400,1196,1072,919,1076,1060,1048,866,822,737,660,953,1214,475,519,1178,1210,1094,1072,832,835,771,946,1184,1044,776,671,624,789,922,1100,1532,1144,841,843,759,703,715,871,982,1007,1044,1416,1308,843,856,716,418,451,477,741,939,607,424,406,339,358,462,423,421,387,375,392,386,370,357,363,362,334,318,275,389,606,662,570,487,444,514,1064,1512,1282,1158,1296,1356,823,578,937,789,576,803,1290,1240,1098,1202,1110,967,1086,1070,1162,965,1066,1266,1248,1386,1296,793,554,567,563,513,572,758,714,364,317,404,749,527,414,461,419,455,587,681,688,618,580,463,441,451,420,442,808,1168,1278,1252,1350,1588,1676,1234,1224,1516,1256,1016,634,822,760,443,430,543,526,534,651,656,570,496,404,364,350,395,764,1334,1566,1156,725,840,911,959,833,753,1026,1120,1034,1110,1007,930,993,1130,1364,1310,1210,1388,1430,1324,1206,1122,1134,1230,1178,1238,1162,1100,1046,1264,1504,1456,1590,1688,1712,1868,1814,1612,1648,979,1072,1470,1216,1030,1208,1126,1040,1078,2258,2902,3448,2910,1570,1052,639,856,956,1148,1194,1050,1254,1068,1348,1736,1526,1346,1286,904,694,1146,1394,1310,1132,1228,1410,986,1114,1242,1802,2072,1954,1744,1694,1372,953,966,1098,1214,1280,1116,1328,1412,1260,1294,1184,1356,1544,1372,1284,1132,984,821,915,1394,1682,1532,1668,1628,1050,835,790,836,1005,1024,898,885,915,749,740,808,788,956,999,1064,1188,1056,994,799,496,696,1312,1202,623,689,961,1003,1020,990,1032,908,520,434,558,882,1182,1454,1254,1094,1208,1214,1358,1044,741,836,1004,829,653,573,368,409,568,775,808,630,499,375,706,758,568,587,817,1018,1030,925,458,344,472,595,688,937,1230,1216,1015,598,371,365,426,719,993,740,698,581,606,852,919,963,1362,1528,1474,1168,580,750,1124,921,944,1076,907,1126,1444,1528,1456,1478,1588,1252,1338,1470,1302,1040,1226,1350,1266,999,867,1023,1023,1098,1304,1426,1410,1326,805,568,840,736,656,1098,1256,989,774,941,946,744,1064,1504,1126,1124,1274,1318,1456,1174,1374,1420,1138,1152,1206,1222,1282,1458,1418,1218,1222,1474,1104,858,1170,1190,1358,1138,814,941,1086,1282,1252,1238,1180,1188,1274,1384,996,841,1118,838,664,853,786,685,822,1106,877,1070,1180,1204,1226,1242,1108,971,1078,1240,1064,693,579,684,1056,762,785,1372,1418,1312,1406,1320,1088,1082,1216,1146,1156,1422,1636,1572,1560,1494,1384,1318,1288,1440,1388,1054,766,640,561,603,1344,1434,999,1234,1432,1176,996,1136,1312,1316,1222,1184,1132,1086,1118,1216,1346,1568,1550,2994,2396,1754,1726,1450,1608,1412,1202,1278,1274,1318,1266,1338,1292,1278,1240,1252,1320,1378,1310,1246,1174,1230,1154,786,553,704,739,1050,916,746,1005,1096,996,1036,1094,1010,959,863,803,702,572,603,568,465,480,899,1230,1202,927,687,897,1132,1504,1276,1250,1138,809,503,473,561,765,822,833,813,739,807,756,840,985,843,877,998,1122,1266,1250,1084,1228,1224,1098,1046,1100,1078,973,971,1032,1386,1344,1762,1936,1170,1174,1100,1394,1356,1282,1001,880,813,1136,1172,1350,1350,1334,1380,1009,1558,1954,1560,1346,912,698,789,924,905,1042,1244,1222,1220,1302,1350,1026,1180,1112,720,609,833,1212,1058,657,852,1170,1346,1158,952,1170,1182,829,1274,876,872,963,950,1124,1094,914,1168,1264,1016,1112,1070,1256,961,745,887,1166,1280,1222,1292,1270,1278,1412,1418,1218,1224,1288,991,882,638,419,440,741,905,713,558,574,691,918,651,323,409,905,1070,1038,991,1070,1336,1394,1390,1322,1210,1284,1450,1512,1166,1144,1134,1378,1554,1256,1130,1164,1110,1118,1152,1078,1082,1356,984,624,714,1252,1512,1584,1306,1272,1190,1066,1052,1130,1254,1214,1186,1204,1466,1684,1672,1410,1050,666,340,314,315,307,323,346,318,381,346,327,396,412,445,473,473,502,570,590,464,329,350,336,329,360,518,461,400,346,334,377,342,362,460,391,370,388,375,351,535,376,319,432,435,382,402,325,307,384,490,530,523,476,529,535,564,525,406,384,437,389,380,401,413,519,786,918,1102,1302,1198,1278,1308,1224,1260,1278,1380,1348,1380,1178,1318,1254,1228,1298,1362,1246,1208,1374,1336,1144,1180,1408,1400,1444,1208,1248,1172,1302,1004,1026,1158,1216,1168,1152,1428,1294,1404,1428,1162,1024,1404,1324,1003,967,809,517,504,837,1126,1084,1294,1007,1206,1578,1676,1188,1040,1218,1236,1058,755,657,736,694,751,562,577,827,862,847,745,888,1296,1450,1448,1128,917,1054,1023,1074,1130,889,742,1110,1446,1472,1212,1298,1202,589,440,780,1398,1594,1312,619,394,475,908,1016,617,336,441,437,381,375,546,766,454,644,895,963,744,1026,1650,1392,800,661,714,1012,856,585,514,574,694,932,983,1224,1206,1006,1158,1514,1472,1302,1366,1162,1142,1234,1166,1058,986,1116,1028,1100,1015,1654,1978,1080,1302,1582,2730,1988,1668,1702,1494,1402,1232,1572,1784,1728,1298,952,1090,1604,2468,1146,549,426,785,1110,1440,1562,1230,1017,985,920,594,573,1003,951,963,1430,1306,1110,1042,1146,1092,1146,1188,965,1128,991,935,969,700,529,576,898,916,755,893,1162,1758,2004,2082,2242,1300,741,613,863,857,808,832,867,730,496,935,1654,980,792,848,774,800,991,658,715,1164,841,586,677,490,774,1286,1398,1214,1202,1070,756,789,1068,954,812,960,1352,1256,929,592,717,539,644,658,505,715,993,858,855,772,657,734,590,304,209,283,497,538,761,899,1164,869,442,619,980,1022,767,1026,1302,1454,1326,1246,1152,1208,1162,861,786,767,872,1076,1170,1212,1064,654,867,1218,1358,985,890,1030,1262,1136,618,428,330,511,1190,1678,1216,694,795,1456,1666,1380,1290,1244,1228,857,748,1076,1416,1488,1136,1128,990,810,1040,1420,1256,946,1084,1478,2176,2140,1754,1284,1070,587,430,1134,1338,1246,1418,1510,1442,1064,670,763,716,841,847,821,922,910,951,961,814,650,538,538,602,593,779,855,466,337,460,651,933,1200,1296,1306,1146,874,809,893,888,719,812,1192,1266,1046,1202,1392,1210,1134,1036,1030,1020,996,1278,1058,742,1096,1338,1272,1304,1168,944,705,902,1006,886,1230,969,347,336,755,940,944,910,835,973,1108,828,774,1108,1216,1080,863,509,760,1394,1042,695,715,660,881,1196,1274,1214,1108,1094,1044,1056,1366,729,494,474,578,519,471,449,299,276,386,440,611,1018,933,1360,1678,1284,678,562,830,1040,1118,1298,1262,939,830,499,633,982,977,778,884,1124,1148,1098,1128,1062,960,887,864,865,1188,1136,1070,1152,1194,929,572,396,373,397,634,976,1042,1286,1368,1170,1122,1052,720,548,475,697,1214,1150,714,854,1092,949,1064,1182,1218,1418,1308,974,1114,938,568,511,437,368,529,984,1416,1556,1604,1310,644,408,401,430,460,446,364,302,277,401,694,811,946,858,556,560,547,408,410,417,631,1196,1316,1356,1458,1406,1306,1202,1020,668,489,465,435,586,715,641,443,378,347,427,869,1140,1196,1232,1188,1198,1208,1246,1264,1350,1288,721,653,1228,1498,1544,1626,1146,1278,1034,855,873,1046,1150,1070,1112,852,726,908,910,1016,1216,1448,1396,1436,1488,1184,906,1212,1414,1808,1132,1456,1816,1816,1848,1864,1546,1130,1310,1482,1404,1362,1282,1428,1534,1570,1360,1420,1017,502,506,840,1340,1530,1386,1224,692,479,939,763,401,370,396,462,940,1308,1028,951,1090,1226,1196,1406,1692,1310,1062,1064,1204,1142,850,732,648,693,987,1244,1164,1082,569,372,483,399,510,642,706,612,708,826,711,780,937,1130,1088,1080,919,598,539,588,607,725,1086,1516,1548,1196,1324,975,626,485,445,462,418,626,1138,1588,1572,1544,1412,1330,1208,1234,1224,1248,1308,1340,1758,1578,968,653,693,845,850,1102,999,574,466,509,845,825,804,763,550,385,353,373,664,1072,1266,1322,1206,1710,1692,1048,670,502,516,536,699,976,1212,784,1006,1060,1100,879,908,1284,1204,1122,1318,1094,952,1154,1410,1312,1064,1208,1270,1208,1092,954,866,1126,1120,647,624,765,464,420,1048,1460,1270,1262,1440,1560,1274,1005,932,710,489,567,562,549,555,836,1142,747,647,974,918,717,580,638,849,1374,1560,1116,935,1046,1058,1212,1358,1266,1068,1328],[433,293,336,434,419,408,350,339,346,352,386,417,393,340,368,365,322,332,386,417,396,415,392,377,373,389,396,432,425,414,412,414,428,439,427,428,444,437,430,413,416,445,410,321,278,268,304,368,338,281,290,329,397,358,345,648,783,748,575,590,799,935,782,734,1152,1214,1013,692,549,830,1178,1094,858,668,699,977,1232,1050,886,897,1068,1338,1116,885,1170,1208,1058,921,957,932,785,763,877,872,828,919,792,816,700,609,568,484,563,749,885,984,945,1058,1486,1232,746,584,967,1023,1290,1346,1032,677,420,536,874,1070,905,713,841,1040,1170,1112,955,556,562,813,777,686,537,536,649,935,1009,1280,1312,1015,1118,1034,593,463,396,538,627,452,353,320,319,371,462,405,398,401,371,371,382,370,379,382,367,325,283,226,330,484,500,531,474,406,509,1180,1542,1336,1274,1156,1076,998,850,866,688,702,907,1134,1316,1142,1098,1056,1015,1404,1282,972,688,775,891,1066,1542,1344,709,542,527,494,455,513,852,680,429,392,429,708,661,473,540,441,379,451,677,756,716,720,595,408,343,396,428,499,593,746,841,874,1146,1222,1044,933,955,1048,807,504,645,573,379,420,468,387,388,491,504,471,442,404,396,401,393,728,1230,1448,1144,854,883,1144,938,590,713,1018,1023,998,1108,908,899,1056,1214,1350,1106,945,1094,1204,1128,1184,1210,1412,1546,1660,1484,1158,1206,1210,1438,1316,1316,1426,1704,1642,1566,1650,1870,1760,1600,1662,1408,1023,1162,1202,894,1108,1438,2518,3152,3430,2384,1346,869,538,757,979,981,1090,1318,1316,1172,951,1292,1256,1120,1130,885,644,777,792,796,927,1584,1358,949,1112,1396,1636,1728,1686,1412,970,548,478,910,1166,1298,930,515,661,681,828,882,916,1352,1472,1248,1152,1146,1518,1290,916,888,1032,1318,1558,1576,1500,1448,1166,839,956,1162,852,980,970,910,886,839,765,1020,1166,1158,1082,1100,972,643,539,800,893,808,797,803,921,925,1026,858,785,813,736,882,611,695,851,1148,569,730,868,1076,982,694,712,844,943,1136,1108,1036,692,469,647,1048,877,665,450,308,623,916,1014,955,1080,1204,1088,604,340,368,608,918,1034,1126,1140,1088,825,349,327,312,338,420,622,1008,1136,1094,1102,1126,886,736,977,1230,1490,1324,961,1100,1190,1172,1274,1590,1506,1466,1410,1376,1410,1262,1384,1005,1040,1120,855,832,1060,1144,1212,1070,748,667,861,1070,1011,1276,1648,1526,1094,643,675,917,913,1116,1272,899,510,450,603,693,1004,1454,1360,1294,1316,1350,1406,1124,1166,1224,1218,1426,1306,1350,1350,1438,1404,1316,1310,1316,1142,896,858,1066,1232,1130,1112,1280,1142,1098,1268,1298,1164,1122,1044,921,957,1282,1004,509,514,552,530,636,741,1078,1114,1182,1146,1164,1362,1448,1242,1002,818,698,838,618,709,983,1194,1076,1178,1390,1382,1344,1526,1420,1254,1090,986,937,1044,1402,1692,1792,1556,1416,1320,1204,1298,1362,1520,1398,1152,968,1021,1088,1268,1046,797,841,1013,1148,1180,1202,1356,1416,1248,1058,970,1007,1136,1180,1214,1422,1582,1454,1318,1372,1248,1258,1372,1276,1284,1050,1012,1282,1462,1310,1274,1324,1250,1210,1150,1400,1318,1240,1232,1272,1134,953,857,934,891,746,608,564,592,741,831,940,1146,1132,1114,925,792,664,563,587,566,505,623,1072,1180,1160,800,1042,1158,1124,1334,1420,1354,1136,843,667,477,458,552,621,799,686,575,583,551,641,771,954,1306,1422,1280,1386,1260,982,1066,1068,1062,1102,1052,1236,1226,1042,1350,1344,1190,1992,1964,1324,1108,976,1312,1414,1332,1144,972,1064,1132,1084,1176,1114,1182,1368,1336,1642,1808,1506,1430,1102,982,954,1146,1174,1106,1066,1094,1054,1132,1040,1028,1118,1048,866,775,1042,1354,1216,1064,1000,1042,1238,1162,1056,1314,1244,1114,1152,655,654,692,619,940,914,829,1440,1410,1064,1116,1090,1086,1182,1122,933,1106,1090,913,999,1118,1338,1454,1196,902,866,966,990,709,447,481,525,629,884,813,586,493,548,769,767,738,804,1090,1140,888,720,880,899,1220,1400,1142,1158,1288,1322,1216,1118,988,1122,1318,1316,1238,1296,1284,1050,1074,1050,1094,1068,893,811,842,590,971,1494,1382,1202,1188,1426,1700,1142,1210,1416,1310,1180,1086,1584,1622,1428,1554,1578,1216,674,483,436,307,338,314,311,390,370,402,473,491,465,443,435,469,505,443,352,369,390,318,349,422,455,441,410,376,448,395,338,462,515,412,397,479,415,453,689,628,427,409,472,376,374,352,371,388,475,585,534,480,466,515,461,356,315,386,442,372,404,483,635,841,1088,1096,1072,1098,1142,1140,1142,1162,1476,1192,1138,1154,1308,1288,1342,1192,1324,1452,1198,1608,2366,1546,1224,1304,1156,1176,1564,1404,1252,1258,1264,1148,972,1168,1252,1102,1130,1280,1678,1598,1476,1252,1164,1184,1190,1146,1110,1090,818,421,440,788,1524,1536,1096,904,1102,1248,1094,1078,1100,1176,1142,816,926,1098,689,468,857,723,486,564,780,1160,1092,1086,1348,1330,1168,1028,1160,1048,1074,925,883,1184,1346,1366,1380,1282,1232,1364,965,501,412,1028,1666,1408,1064,671,413,438,557,554,533,428,443,495,413,348,503,773,607,1020,1318,1212,845,636,935,982,663,704,804,997,722,482,536,685,900,976,1136,1222,994,976,995,1132,1292,1302,1098,979,1146,1462,1440,1040,1050,1196,947,1132,1246,1376,1368,1084,1094,1332,1842,1458,1070,1302,1494,1218,1326,1752,1554,1336,852,991,1854,2404,2420,1198,522,687,959,1072,1334,1256,1224,1072,914,718,497,637,858,998,1032,985,1098,1202,1248,1458,1240,1224,1196,1054,1028,802,741,779,604,489,569,896,999,824,904,1360,2022,1798,1736,1954,1432,867,739,870,930,720,516,509,517,480,684,845,771,657,784,934,1114,1182,1174,1204,973,669,902,857,619,642,742,1032,866,926,1144,771,692,830,883,1028,1096,1148,910,865,658,531,502,637,523,455,637,990,1084,998,965,825,963,747,501,309,295,416,423,518,507,1016,1316,1054,1080,907,669,622,1030,1206,1318,891,1164,1272,1080,974,1182,1300,1276,1218,1276,1114,817,933,1116,1146,1312,1174,990,1050,1194,1276,914,633,537,437,473,814,1236,1144,1070,720,1100,1522,1324,1102,1186,1172,768,797,1336,2050,1976,1346,968,1044,924,1050,1338,1070,1036,1390,1584,1848,1726,1546,1086,1140,1094,833,1114,1380,1326,1218,1386,1574,1296,964,1432,1406,1502,1506,1438,1312,1304,1250,1152,1068,860,585,531,601,592,868,844,491,343,424,582,875,1236,1288,1216,981,845,802,962,943,608,744,1064,1148,1206,1278,1222,1234,1132,932,930,935,845,1268,1362,1166,1104,1290,1366,1340,1320,1230,1026,1170,1100,954,1090,1000,724,585,628,1000,902,672,1020,1296,951,719,947,1034,1104,974,1056,797,868,1290,1072,868,785,653,735,1092,1340,1200,1076,1021,1040,1190,1386,880,533,490,496,465,599,715,567,462,451,407,460,640,648,806,1196,1304,970,806,1064,1482,1906,1714,1290,1164,1230,627,554,1180,1034,857,909,924,1066,1028,1028,1042,913,763,800,1136,888,725,1100,1062,705,499,358,352,344,354,390,765,998,1114,1210,1154,1016,933,1040,822,706,1106,1520,1510,980,580,564,449,650,1172,1114,1232,1288,1216,1146,909,906,794,455,363,514,652,1262,1484,1548,1036,612,433,380,464,479,409,321,278,278,683,885,796,822,719,556,553,505,398,403,457,877,1500,1584,1726,1498,1332,1204,894,753,816,791,532,535,525,459,460,407,353,535,1360,1258,1106,1254,1202,1234,1288,1294,1336,1294,1290,1040,747,793,927,1216,1578,1396,1228,1284,1066,882,826,824,763,694,681,539,608,916,943,788,971,1288,1392,1136,1034,1234,1140,1464,1660,1326,803,1044,1606,1938,1886,1934,1832,1572,1306,1144,1172,1288,1236,1186,1058,1200,1170,1148,752,473,658,810,1256,1604,1442,1062,509,583,795,510,365,369,373,579,1042,1272,1380,1340,1750,2366,1548,1460,1524,1416,1234,1126,1280,1368,1480,1534,1308,1108,944,1112,1338,999,737,563,780,917,724,542,524,735,681,694,1174,1032,1108,944,902,1300,1188,726,621,732,619,656,889,1170,1080,885,765,385,330,346,356,405,393,391,720,1412,1482,1288,1398,1334,1250,1266,1218,1414,1476,1356,1350,1136,988,905,591,679,888,1218,979,509,471,628,741,601,446,352,328,345,367,489,1026,1260,1228,1428,1376,1052,656,666,650,448,570,697,664,904,1606,1300,1092,920,749,504,569,688,920,1354,1226,1116,1180,903,788,1023,900,772,722,581,598,572,645,881,821,887,842,560,446,636,1264,1254,1232,1230,1650,1720,959,1340,1480,1072,810,771,619,387,276,520,860,644,550,711,752,923,1204,957,1280,1550,1400,1200,1280,1302,1266,1440,1396,1017,1088,1048],[911,712,505,487,470,407,408,399,427,412,456,610,519,318,297,284,332,332,346,390,415,397,374,372,382,395,396,419,451,475,457,435,471,489,471,453,451,468,423,336,369,440,405,316,271,289,320,342,314,311,351,686,956,619,333,451,744,860,598,443,674,583,850,902,993,1020,1272,1040,872,1102,1170,1072,1044,949,1034,1090,918,736,550,634,1136,1496,1140,865,1194,1182,792,778,896,686,746,700,897,764,610,543,456,433,430,458,513,455,424,512,626,912,1144,1206,1152,827,553,432,723,1072,1206,1214,813,605,527,505,460,834,662,479,766,1180,1434,1152,688,501,694,1002,775,509,400,473,473,860,908,799,930,881,899,1036,876,1005,620,455,420,357,330,549,519,375,404,394,373,400,402,363,387,393,392,394,403,346,290,251,342,613,771,779,1016,625,445,924,955,666,420,426,822,1234,1214,980,901,1082,1054,1156,1156,893,1005,1060,1064,1302,1504,1164,801,722,656,883,1238,1048,608,568,514,455,451,775,835,586,549,536,574,816,882,434,508,502,499,476,559,670,751,741,722,529,372,358,373,375,324,369,350,451,553,559,616,722,852,897,608,458,495,438,340,332,331,394,419,402,402,388,372,376,457,492,429,594,1122,1358,887,859,927,1430,1230,907,905,1034,1040,1174,1298,1108,1158,1334,1358,1176,878,776,875,920,1032,1192,1136,1364,1410,1324,1334,1230,1136,1334,1244,1144,1118,1974,2698,2084,1426,1362,1570,1626,1622,1638,1454,1346,1408,1296,1226,1136,1886,2720,3304,3112,2022,1432,789,521,850,880,1009,1040,1146,1078,980,960,1070,1186,1246,1192,1094,956,803,566,681,699,1044,1070,1260,1560,1742,1736,1640,1444,1234,1020,466,578,1098,1192,1464,951,487,1072,1472,1134,908,833,822,735,902,906,1078,1738,1332,946,997,915,1072,980,863,1106,1332,1550,1328,1204,1238,876,981,897,797,587,559,868,1196,1302,1310,1340,1284,1058,1114,1064,959,872,786,778,1013,1080,996,1078,731,735,878,887,1036,928,980,733,642,469,429,618,1316,1408,660,397,548,819,1021,1128,1130,827,589,597,698,940,1015,702,414,443,886,1324,1166,1184,1202,1162,707,425,570,831,922,987,1100,1023,913,621,394,355,351,383,371,598,1016,1264,1380,1334,1132,923,689,955,1312,1278,1176,1156,1128,1238,1268,1224,1428,1512,1490,1368,1416,1350,1368,1256,703,523,816,840,1164,1260,1114,1160,1208,880,927,1011,1224,1034,1292,1504,1338,1176,745,495,727,1058,1206,1400,1170,688,504,538,735,980,1180,1278,1274,1380,1598,1440,1036,975,1116,1052,1478,1428,1416,1458,1458,1338,1404,1344,1272,1260,956,669,692,905,1116,1370,1388,1112,1052,1262,1226,1206,977,698,828,1158,1152,536,457,593,559,421,368,819,1262,1292,1136,964,991,1158,1246,1122,1216,889,592,855,905,990,1100,1230,1344,1256,1256,1110,958,1360,1384,1368,1234,1202,1126,1412,1468,1386,1560,1628,1458,1208,1256,1440,1294,1180,962,1180,1268,1210,1328,1750,1710,1252,1042,952,914,931,950,973,1176,1140,977,970,1032,875,748,798,1196,1534,1116,1202,1184,1388,1486,1368,1416,1382,1142,910,1036,1140,1104,1356,1500,1548,1788,1318,1396,1292,1282,1340,1310,1166,1156,989,802,775,598,510,527,636,632,910,996,1198,1372,1158,850,722,612,558,543,497,467,712,1200,1186,960,646,1052,1456,1350,1250,1334,1418,1372,1426,977,493,465,440,450,526,516,456,412,512,879,1224,1432,1720,1538,1350,1652,1446,1132,1398,1298,1282,1378,1210,1176,1086,1116,1344,1478,1306,1686,1232,1026,940,1084,1054,1152,1272,1338,1634,1498,1274,1054,1016,1088,1086,1176,1344,1324,1232,1074,1242,1570,1396,1090,1076,865,1048,979,1152,1320,1326,1104,1192,1214,1136,1021,1104,1204,1106,1290,1558,1086,1032,922,1188,1094,1114,1196,1001,873,764,639,527,875,1342,1114,895,1128,1120,1174,982,974,1016,1076,1064,983,1100,944,641,642,994,847,806,761,959,1092,1011,826,525,366,462,476,567,957,1013,695,515,594,789,1003,940,1206,1272,1154,999,1007,899,661,1058,1072,975,1006,946,950,1262,1186,984,1202,1176,1106,1023,1166,1164,1038,1056,1178,1158,886,571,647,866,1024,1362,1490,1362,1274,1256,1336,1390,1084,1114,1082,1090,1092,1086,1202,978,985,1328,1440,1494,1366,1262,1046,714,464,289,278,272,268,339,394,405,400,487,528,555,425,271,271,383,403,364,364,458,490,434,448,428,384,354,419,570,502,379,408,484,423,502,661,691,583,393,349,296,341,323,384,426,459,474,485,477,454,427,423,393,360,427,467,602,714,875,1096,1204,1314,1416,1382,1340,1340,1212,1078,1040,1310,1416,1448,1406,1418,1300,1134,1158,1532,1644,1152,1718,2316,1260,1356,1260,1068,1526,1816,1512,1426,1478,1320,1138,1102,997,760,723,1138,1554,1716,1786,1334,902,955,984,790,780,863,1050,1122,719,502,482,1010,1084,649,530,722,815,1030,1260,860,697,881,988,1154,1096,656,478,648,867,1128,1098,933,872,807,791,856,918,1068,1048,1280,1130,1192,1130,1036,1134,1302,1296,1394,1278,1350,1172,905,997,749,723,761,704,927,1054,968,1124,1086,684,648,665,465,392,357,324,454,729,817,1124,1416,1302,955,630,534,587,738,825,819,1350,1164,655,814,1038,1048,1130,1264,1244,1166,1100,1038,919,1122,1194,935,902,898,1206,1328,1168,1504,1588,1096,1320,1344,921,1156,1544,1528,1242,963,826,612,723,1186,1478,1396,1578,1372,1056,919,1412,2576,3130,1870,872,778,1021,1206,1316,1009,886,1362,1082,1006,750,681,960,1072,1138,1142,993,1088,1384,1264,1410,1380,1160,1182,967,807,722,667,826,850,738,765,1060,1408,1268,1058,1622,1654,1370,1300,1664,1982,1602,1244,1268,1064,562,356,410,425,590,778,890,1042,943,713,544,676,1060,1334,1458,1013,816,1218,1144,1084,836,1172,1326,956,1154,1290,933,695,702,719,800,969,991,1126,1092,753,595,1003,1208,1086,1036,1030,1256,861,669,955,1146,1210,1428,1066,568,415,459,592,599,459,525,919,1372,1410,1048,645,599,932,1164,1324,1350,1402,1404,1156,1154,1458,1462,1262,1334,1288,1282,985,1021,1426,1372,1130,958,900,738,1126,931,597,689,611,447,613,994,1150,1372,1272,726,1176,1672,1260,822,1200,1094,711,938,1134,1192,1170,847,792,924,755,649,918,1158,1194,1354,1584,1660,1698,1396,1166,1254,1116,1216,1654,1866,1802,1624,1494,1582,1456,1140,1284,1508,1538,1390,1066,969,1260,1168,1230,1188,1014,617,524,582,573,952,938,491,397,413,583,1003,1278,1144,897,658,1040,1178,1016,1062,905,833,999,1188,1328,1310,1202,1292,1122,979,924,969,976,1226,1454,1388,1178,1142,1208,1222,1212,1384,1192,1178,891,1152,1222,1036,995,907,1021,1308,872,603,883,1124,716,472,636,1068,1634,1108,1060,970,1040,1478,1346,871,702,669,559,1007,1056,863,738,700,841,1009,933,738,675,735,788,712,734,904,615,374,291,418,651,662,567,555,777,1156,1510,1690,1758,1826,1816,1510,1364,1550,1640,873,842,1332,1124,864,741,703,944,927,1005,1032,814,830,1042,1184,1008,1044,1066,592,418,519,595,597,345,326,644,816,896,878,806,847,909,947,888,1010,1086,1322,1344,1464,1094,765,508,449,444,862,1178,1208,1284,1328,746,816,1316,837,462,602,619,587,897,1378,1358,990,871,771,699,654,533,442,599,491,544,1126,1158,975,904,861,805,584,373,362,376,581,1330,1784,1776,1702,1286,1164,985,738,618,786,857,641,590,529,419,438,457,628,1192,1594,1390,1448,1418,1324,1404,1152,1086,969,1100,905,554,691,1054,1064,1040,1366,1146,774,952,1194,1158,1052,836,753,658,601,626,694,1108,1070,594,808,1178,1302,1260,1082,1246,1260,1382,1400,877,694,727,903,1202,1724,2060,1724,1542,1584,1374,1114,1372,1636,1288,1090,1024,1126,1114,576,585,894,1068,1418,1494,1340,972,542,816,1024,904,561,374,576,1204,1410,1416,1636,1532,1814,2366,1864,1306,1072,882,957,1320,1354,1208,1340,1456,1186,1094,755,857,753,701,1034,952,781,769,683,987,1003,791,498,573,1090,908,1009,1010,1013,1002,918,847,608,686,966,1314,1040,833,632,469,368,353,390,368,332,376,308,335,420,931,1340,1288,1306,897,989,1244,1220,1496,1532,1154,748,546,846,860,569,862,1214,1274,758,488,753,987,1011,606,401,377,344,326,586,977,1258,1234,1007,1136,1368,1158,529,389,374,402,775,866,705,1376,1634,929,706,829,594,478,475,568,1066,1454,1284,1054,1194,1136,1038,934,553,414,499,624,659,720,683,688,721,1005,918,623,556,973,1276,1074,719,898,1786,1528,810,1362,1430,1070,802,769,791,529,296,352,368,333,494,918,1224,1444,1912,1398,1204,1284,1274,1456,1628,1450,1366,1490,1248,1240,1310,758],[961,724,701,677,746,1042,700,420,444,476,705,1204,1160,558,369,308,340,341,308,309,361,344,352,359,379,430,440,421,441,485,491,458,469,499,509,509,491,481,440,430,442,443,378,314,295,302,350,329,311,338,418,973,1150,631,348,347,513,598,385,522,797,791,1258,1242,1172,1274,1334,1308,1328,1274,1372,1302,1002,1009,1226,1316,996,771,709,700,966,1240,998,713,886,946,893,926,829,670,1040,1042,794,783,756,547,442,458,442,410,538,596,532,398,492,756,1180,1240,1124,819,467,428,694,908,1034,1110,947,1144,1174,604,496,826,585,487,619,868,1144,1078,929,1174,1212,1222,882,483,352,384,504,924,954,686,1004,1134,992,848,896,996,695,433,323,268,694,949,606,368,379,374,381,397,430,385,387,377,367,384,419,376,316,349,741,1324,1132,666,686,548,476,673,1060,827,480,622,957,1094,995,894,984,1082,1078,1252,1100,918,990,1156,1206,1336,1366,1288,1416,1012,888,1168,1074,929,551,493,509,498,541,894,812,622,484,484,583,782,1136,611,641,591,535,502,466,470,525,683,740,537,448,416,407,425,387,355,341,427,398,356,453,778,1005,721,564,466,448,368,341,346,473,495,473,404,354,398,443,402,408,457,446,572,875,1262,953,803,945,1272,1186,1066,1122,1174,1186,1248,1252,1162,1194,1274,1290,1178,805,588,640,846,1040,1102,1138,1324,1194,1174,1236,1144,1032,1196,1166,1262,1158,1936,2064,1396,1124,1106,1282,1450,1550,1498,1642,1632,1730,1698,1540,1174,1576,2392,3084,2668,1640,1498,731,498,769,570,611,927,981,980,959,835,855,979,1202,1226,1176,1232,1052,675,745,850,1020,1330,1786,1990,1538,1114,998,1002,951,1078,701,782,1206,1290,1458,879,745,1970,2338,2226,2210,1420,722,696,883,890,846,1198,1324,1406,1584,1526,1368,918,721,765,1142,1154,1206,1414,1480,1370,1146,935,656,426,563,917,1082,1172,1098,1288,1382,1340,1468,1542,1508,1302,864,777,1196,1258,1064,1112,954,1214,1200,990,778,664,827,857,936,1060,857,789,1356,1316,637,290,320,642,868,1034,1086,940,672,652,887,1078,930,792,616,480,618,713,876,1234,1108,871,617,441,691,954,948,971,900,1034,982,711,590,378,371,439,383,398,595,898,1044,1003,1084,1282,1122,981,1126,1030,1112,1346,1354,1296,1198,1212,1400,1354,1334,1272,1476,1308,1218,984,586,722,1072,1164,1376,1428,1266,1058,980,775,738,836,1162,1274,1466,1546,1476,1258,942,653,783,1170,1170,1324,1164,748,588,573,698,818,1002,1190,1256,1448,1564,1318,1005,936,1088,1242,1538,1354,1296,1410,1322,1206,1214,1094,1130,1206,1106,1152,979,721,672,1032,1246,962,941,1262,1188,1092,991,990,1021,1170,994,507,652,885,580,358,505,924,1140,995,908,950,1122,1332,1076,1020,1292,1038,945,800,905,1166,1138,1202,1276,1366,1300,984,1064,1144,1198,1328,1318,1160,1084,1112,1172,1250,1396,1598,1628,1250,1312,1228,1024,1198,1248,1342,1424,1350,1350,1408,1416,1378,1230,931,780,825,708,881,1190,1284,1186,1100,1018,1000,1040,1004,1376,1542,1001,1052,1228,1338,1100,1098,1268,1092,1040,935,817,811,982,1266,1278,1346,1494,1266,1202,1136,1220,1474,1332,1222,1378,1162,1102,805,584,708,633,568,604,985,1036,896,839,836,732,628,574,549,534,463,398,908,1166,1166,821,569,991,1490,1676,1626,1390,1360,1546,1768,1368,755,486,430,398,383,418,413,364,508,1186,1708,1512,1504,1260,1456,1700,1502,1128,1178,1332,1528,1580,1148,1086,1414,1366,1298,1488,1156,1086,1100,1016,1013,1228,1398,1394,1202,1482,2144,1102,1076,1142,1240,1096,1128,1156,1218,1394,1316,989,846,976,1096,1118,914,738,1124,1086,1294,1672,1490,1432,1496,1448,1448,1108,959,1023,1058,1316,1498,1162,1050,955,1312,1188,1068,1158,1226,1296,1262,982,536,1021,1382,1210,881,1001,1324,1250,955,1050,1184,1310,1328,976,880,1005,1042,933,1126,879,807,685,810,1170,1190,1028,889,563,487,543,439,771,1002,890,820,883,885,879,902,1146,1316,1396,858,648,476,644,976,1064,1034,841,875,1005,1194,1078,1086,1214,1118,1052,706,927,964,986,1116,1350,1190,742,669,862,1084,1376,1486,1560,1200,1012,1142,1272,1226,1110,1172,1102,1194,1354,1184,1080,1142,1268,1438,1252,1310,1450,1492,1438,1304,997,584,313,255,259,302,290,340,437,540,588,558,417,296,318,402,419,393,447,525,481,419,400,370,322,305,413,577,508,447,473,404,360,347,379,488,505,388,344,336,311,320,397,471,505,509,448,419,419,381,405,430,490,586,730,984,1232,1272,1174,1188,1184,1214,1236,1366,1220,1262,1078,963,1112,1426,1478,1236,1064,1100,1118,1206,1040,1032,1130,1176,1212,1036,1152,1158,1284,1318,1530,1850,1596,1448,1294,1134,1176,1286,1030,723,991,1440,1482,1096,944,951,1188,1218,852,879,995,890,912,798,562,477,912,1130,752,554,749,775,1132,1352,1040,1021,1152,1136,1086,881,752,808,668,601,922,1198,1086,673,570,705,816,1204,1440,963,766,1102,1216,1146,1126,916,1118,1252,1506,1018,757,670,990,1382,1258,964,1011,865,708,895,971,888,963,1070,879,720,513,413,428,452,508,742,969,1232,1556,1478,1400,1230,937,762,1230,1596,1430,1750,1424,697,777,959,1166,1562,1578,1450,1584,1188,838,703,1102,1202,1144,956,810,1204,1430,1532,1800,1398,1320,1462,1294,894,1304,1670,1798,1390,1004,1584,1760,1288,1260,1568,1558,1520,1178,1196,1246,1246,2032,2004,810,524,1042,1008,1204,1604,869,1130,1394,1090,1084,896,750,985,1114,1138,1202,1264,1182,1340,1288,1356,1322,1072,1216,1268,1102,777,636,717,727,658,670,1120,1620,1332,1072,1322,1376,1394,1418,1936,2216,1892,1240,899,804,640,404,361,398,679,816,841,885,944,891,659,772,1372,1402,1506,886,947,1058,1062,1130,865,825,792,880,1270,1120,980,874,799,807,751,905,822,651,749,663,718,1146,1100,1116,1262,976,1174,785,410,388,669,975,1330,1390,1176,832,810,882,572,731,959,1354,1460,1322,801,491,430,684,1172,1716,1648,1370,1168,1032,896,949,1314,1172,877,758,1130,1194,1078,1196,1258,1100,977,1322,639,734,592,543,705,792,673,901,1350,1456,1282,1266,959,1322,1580,1234,666,972,991,756,876,892,865,857,696,569,416,454,510,952,1164,1310,1486,1354,1426,1344,1008,1220,1478,1628,2136,2552,2360,1998,1714,1516,1666,1692,1494,1504,1588,1408,1188,1130,1058,1476,1642,1864,1564,1240,737,498,586,578,921,1110,498,416,399,567,1108,1240,1126,1032,907,1174,1190,1122,1306,1270,1140,1192,1208,1248,1350,1310,1266,1212,1036,996,1104,1042,1324,1466,1286,1410,1460,1230,1206,946,1110,1308,1242,1306,1328,1130,935,833,949,1384,1328,665,804,1118,1346,930,570,460,838,899,737,821,796,1034,1318,974,551,499,585,568,789,756,783,766,775,745,772,933,846,744,834,863,532,639,1056,628,308,234,360,681,753,725,851,723,896,1460,1528,1938,2008,1396,1372,1632,1608,1444,913,673,943,1194,916,816,890,1066,1040,1120,1112,808,883,980,893,1136,1364,904,363,459,880,1005,656,318,485,1260,1026,658,955,1028,760,987,1088,1048,1310,1262,1596,1032,734,1208,1318,918,606,395,682,1270,1516,1466,1376,729,597,1032,738,498,863,811,510,606,939,912,921,1168,1052,762,659,447,530,871,758,1036,1356,1140,1074,998,901,920,617,350,393,432,671,1356,1676,1884,1628,1426,1266,1088,897,717,700,873,786,561,424,427,587,584,939,1688,1614,1214,1362,1312,1412,1270,1266,1144,774,814,658,527,670,735,647,757,1082,984,784,843,835,1026,1196,1190,1012,838,749,742,680,887,834,622,1052,841,1098,1440,966,799,863,892,708,648,697,754,856,937,1196,1686,1432,1346,1292,1482,1448,1540,1306,1344,1400,1306,1426,1030,554,963,1310,1300,1230,1282,1206,786,728,1128,1516,1464,969,599,961,1658,1500,1056,1492,1606,1624,1632,1324,1184,1126,1094,1344,1450,1476,1556,1322,1324,1110,1070,767,686,736,823,1060,927,797,854,1384,1664,1094,533,429,699,730,750,1074,1130,1122,1002,1136,1060,675,1074,1938,1772,909,626,521,442,455,504,626,560,446,399,389,305,298,459,1056,1176,951,1080,1694,1498,1202,1234,1019,606,542,699,1196,1082,1126,1054,1094,1332,1170,1076,1192,947,739,626,410,335,337,425,1082,1500,1414,1242,940,915,1366,1710,855,533,530,685,965,883,1048,1260,871,555,689,674,455,449,431,416,639,879,906,758,812,1100,1124,645,346,401,433,472,491,662,735,616,643,1108,1434,1446,1394,1402,1328,1026,882,1406,1804,971,783,1416,1448,922,731,825,769,521,404,417,369,334,494,1134,1284,1478,1608,1336,1110,822,788,1296,1494,1442,1442,1374,1284,1498,1290,939],[851,775,812,809,1052,1522,977,480,476,607,996,1642,1676,916,525,417,394,385,364,330,305,281,299,341,399,451,417,386,421,460,460,411,437,484,475,463,513,477,446,475,464,418,419,384,308,351,529,402,301,350,439,822,1044,826,548,584,725,572,474,826,960,1148,1350,1184,962,1028,1296,1594,1280,930,1300,1026,1110,1266,1268,1332,994,1228,1174,794,960,918,871,1084,989,850,1148,1082,825,782,1024,955,730,714,777,605,472,424,383,407,657,938,745,515,559,831,1158,1236,1070,814,473,419,656,1052,831,976,1280,1196,1010,764,762,760,678,608,455,409,511,538,1078,1566,1656,1404,869,563,670,729,669,1038,1050,825,1054,902,813,659,822,653,449,320,407,656,746,1188,2428,916,544,387,418,413,427,418,396,372,355,361,397,384,344,473,764,857,897,807,648,643,666,918,1356,1030,532,807,972,641,564,691,993,1110,1062,1018,1276,1266,1116,1180,1374,1606,1190,811,897,1210,1292,1186,1168,1288,1028,766,597,487,734,875,547,466,406,547,898,874,1262,1001,765,666,583,514,486,471,446,571,647,481,426,408,443,458,478,426,397,457,440,390,519,866,803,453,445,368,370,298,340,406,558,542,474,439,404,448,530,462,406,464,688,845,666,1100,1002,1086,1138,722,604,1002,1282,1110,1228,1304,1152,1214,1214,1108,1126,1140,1150,1070,984,1022,1182,1340,1426,1400,1112,1132,1250,1180,1180,1472,1432,1234,1250,1390,1220,988,1070,1152,1302,1500,1528,1324,1564,1666,1588,1670,1608,1378,1360,1576,1946,1876,1638,1530,816,477,482,431,497,1046,1306,1078,1048,1156,994,1088,1516,1582,1262,1388,1376,1090,1162,1456,1662,1766,1904,1686,1106,1180,1428,963,691,888,1216,1176,1156,1280,1396,905,842,2108,2258,2304,2112,1734,871,794,1352,1516,980,1146,1298,1094,1258,1396,1512,873,943,852,1180,1014,1246,1338,1150,1230,1412,1414,1354,1068,822,1015,1098,1450,1262,1288,1298,1374,1526,1468,1534,1556,1614,2222,2604,1910,1324,1144,1280,1172,1134,1038,575,625,988,1146,1222,1076,801,816,1100,1004,418,265,271,377,852,1098,1208,1158,936,908,854,948,770,757,915,787,500,376,679,998,951,865,752,632,794,940,1046,1080,1076,1116,971,767,605,448,669,822,469,429,692,806,1034,1074,955,1198,956,731,1074,1140,999,1112,1410,1406,1266,1146,1194,1086,1152,1120,1312,1390,996,673,623,892,1042,1210,1492,1332,1180,1122,722,530,433,922,1238,1278,1554,1858,1544,1170,1134,1032,1176,1226,1124,983,763,560,523,561,573,502,674,1146,1286,1302,1490,1252,1304,1388,1056,1236,1404,1150,1286,1446,1192,1058,1198,1021,999,1015,1134,1314,1218,882,722,745,714,580,730,1180,1122,969,1200,1204,1130,878,780,585,651,719,469,436,680,1036,1148,1034,865,960,979,1196,1074,1044,1116,1080,1198,867,872,1280,1068,871,1312,1738,1310,1116,1140,1044,1096,1362,1332,1102,1112,1064,1150,1236,1364,1424,1590,1110,1156,913,819,1122,1232,1338,1434,1394,1378,1266,1226,1180,1368,1344,1010,960,919,1068,1250,1272,1186,1204,1126,1198,1384,1576,1742,1428,836,1007,1280,1280,1066,1056,966,656,747,866,786,933,1044,1232,1174,1066,1224,1176,1090,1024,1180,1426,1274,1398,1466,1318,1338,843,786,986,930,852,815,864,943,880,905,819,675,563,525,503,451,385,540,1072,1216,1128,731,653,1198,1676,1842,1538,1536,1380,1526,1692,1640,1138,733,537,410,488,621,609,552,821,1470,1594,1380,1358,1298,1190,1322,1572,1324,1228,1390,1478,1618,1224,1204,1456,1504,1362,1210,1384,1562,1378,1172,982,1090,1368,1346,1288,1536,1340,898,1062,1316,1366,1194,1172,1124,1136,1282,1190,947,646,758,766,837,683,677,715,831,1274,1362,1040,1226,1432,1480,1472,1082,878,700,960,1224,1212,1250,1046,775,859,1054,1184,1238,1314,1058,1170,1102,891,1284,1320,1274,1150,1096,1186,1122,1010,1194,1294,1102,1284,841,733,1040,885,659,746,865,1196,943,495,881,930,689,890,695,905,1200,940,799,935,1084,1158,1174,1168,883,752,1042,1368,1338,700,561,484,463,649,1007,868,733,1018,1260,1328,1034,891,993,1134,907,773,1100,973,979,1238,1498,1290,824,978,1376,1396,1454,1378,1326,998,957,974,1144,1188,1324,1340,1124,1166,1224,1152,1274,1280,1230,1170,1208,1194,1078,1232,1456,1448,1368,1084,721,573,363,334,286,359,522,526,528,521,458,428,440,411,466,409,450,490,427,408,401,365,351,324,385,505,468,408,390,373,406,294,234,261,344,355,343,297,265,304,439,535,498,484,410,416,459,517,662,839,946,1046,1104,1118,1122,1194,1320,1158,1088,1048,1100,1122,1106,1208,1036,1042,1164,1110,1208,1202,988,1086,1210,1130,880,1114,1216,1007,1007,1009,1106,1186,1332,1392,1548,1810,1700,1340,1198,1126,1228,1392,1338,1032,937,925,604,634,882,1021,1388,1019,1078,1011,1011,1170,1046,666,668,666,777,1136,1072,1004,1152,1216,964,1152,1023,656,683,969,930,895,899,751,704,774,1092,1090,1166,1066,1052,1034,1034,1232,1044,769,1010,1350,1372,1140,724,969,1334,1794,1766,1212,730,442,698,997,971,1066,946,824,735,501,491,597,1086,890,855,1042,1202,914,511,432,460,662,845,1068,1368,1436,1426,1342,1124,839,1134,1186,1176,1750,1716,943,609,732,990,1376,1528,1244,1368,1148,1040,918,1009,1028,800,673,750,1070,1126,1256,1322,1202,1310,1384,1136,909,1178,1418,1390,949,1288,2598,2504,1506,1222,1324,1456,1548,1306,1068,1074,893,1140,1612,1064,712,1028,924,1416,1644,1438,1628,1434,1162,1256,1308,1446,1504,1276,1134,1278,1508,1202,1308,1348,1454,1136,977,1328,1306,808,505,577,708,700,619,614,1094,1442,1264,1428,1284,1258,1410,1556,1670,1680,1622,1036,692,765,545,317,321,464,521,449,475,630,840,868,824,880,1406,1398,1396,1078,1150,1234,921,667,565,389,402,618,1162,1216,908,1080,1110,1218,1128,966,743,510,482,472,572,898,998,996,990,885,984,637,481,516,602,680,910,1200,1138,1378,1786,730,594,1092,1040,1230,1468,1368,830,419,393,408,861,1526,1412,1164,701,1100,1336,1236,1500,1324,1052,986,1024,1274,1046,684,874,1012,1070,1376,871,700,690,846,1262,1314,1070,1206,1860,1954,1314,1126,1026,967,1026,1514,1100,929,1090,915,762,923,1016,979,1040,1206,636,465,517,1008,1168,1236,1214,959,890,654,752,1174,1640,2010,2168,2078,2044,1846,1606,1626,1876,1820,1436,1356,1532,1392,1146,1558,1766,1812,1742,2124,1744,1152,733,513,610,642,892,1096,554,458,419,543,962,1158,1266,1110,910,958,1054,1322,1468,1302,1088,1020,1170,1354,1548,1428,1316,1324,1168,1090,1082,1052,1334,1322,1166,1232,1104,942,1106,1110,1204,1306,1272,1250,1140,1228,1066,722,754,1042,962,732,636,1164,1328,1184,695,380,408,416,534,745,637,716,742,794,756,608,523,805,824,866,1064,1206,1166,866,847,938,695,799,1178,1058,751,969,1194,811,334,227,219,335,460,428,573,580,797,1248,1222,1280,1450,1528,1738,1300,852,873,801,620,680,1166,1094,1272,1220,1198,1204,1384,1098,626,565,736,991,1416,1528,1032,465,483,1128,956,504,382,499,1082,1140,796,868,916,769,938,893,1582,1986,1386,1478,1172,895,1306,1434,1256,989,698,910,1832,1842,1446,1418,1096,816,899,638,396,650,1080,1034,761,853,712,938,1376,1070,952,828,484,647,1074,1176,1374,1478,1009,838,822,979,663,461,407,434,437,678,1300,1714,1458,1348,1470,1068,969,853,844,898,747,557,409,378,441,592,600,710,974,1100,943,849,804,991,937,1062,1146,1066,1136,1016,1032,980,771,567,507,976,869,706,740,805,811,883,1000,1202,1196,1028,811,779,735,642,792,1232,848,1310,1584,1376,1070,953,739,530,659,688,828,910,913,1272,1294,1082,1068,988,967,1202,1436,1476,1412,1212,1264,1080,1136,843,946,1044,839,893,1308,1184,790,912,1286,1668,1654,1302,1072,1124,1284,1312,1312,1502,1530,1592,1416,1280,1180,936,1398,1958,1252,1028,833,760,1116,1572,1424,853,1288,1356,837,719,615,741,1316,1270,733,403,334,407,613,719,966,1230,1034,1282,1394,1628,1310,1074,2442,2490,1148,490,303,339,532,552,586,980,885,841,490,536,365,278,349,670,1023,1226,1328,1620,1212,1058,781,850,566,697,874,1078,1226,1190,1112,1170,1300,1296,1498,1486,1170,675,542,426,340,325,449,898,1240,1588,1562,1188,1188,1622,1532,1206,1003,860,1118,1334,1290,1436,1704,1670,855,688,585,476,398,375,327,335,492,482,345,351,491,451,286,359,398,424,437,440,495,557,587,901,1322,1516,1378,1352,1312,1154,1044,1060,1602,1936,1518,1424,1572,1434,960,753,824,838,695,679,715,678,398,552,1038,1028,786,966,979,899,871,933,1350,1472,1804,1490,1410,1400,1570,1346,1234],[977,865,714,712,1100,1360,852,531,567,932,1296,1422,1424,956,599,737,685,480,445,409,339,332,330,341,368,380,377,395,411,408,325,357,449,474,415,388,457,456,471,442,437,413,457,457,322,424,533,401,328,323,366,714,1090,937,730,1058,1242,1176,1023,809,752,1188,1386,921,749,1038,1648,1368,839,981,1484,828,1034,1668,1426,1296,1468,1462,1394,1014,1220,1240,1126,1584,1180,799,940,998,713,632,871,901,738,495,512,462,412,383,354,376,593,749,698,554,520,716,915,993,944,747,419,356,538,697,802,1146,1280,1260,1402,1228,839,464,672,877,833,591,516,451,946,1324,1644,1360,875,816,1178,1446,1244,1212,1084,1128,1160,1254,1058,707,630,567,384,330,596,753,529,1178,3104,1010,414,414,405,412,452,446,404,375,374,376,376,385,386,419,529,820,1114,1140,1042,841,742,763,751,745,731,1138,855,572,524,767,1188,1368,1116,985,1012,1030,1088,1174,1470,1532,901,611,1086,1500,1488,1510,1472,1344,1366,1158,902,771,882,763,464,379,433,847,1264,1306,1672,1550,1038,677,666,608,449,466,439,470,513,439,430,478,451,457,496,458,411,411,426,459,738,951,514,364,364,351,351,317,331,456,530,469,478,512,513,448,475,479,525,677,1136,1230,898,787,875,1198,1224,792,683,1100,1240,1078,1180,1310,1200,1228,1272,1322,1290,1208,1252,1166,1138,1252,1302,1174,1162,1158,1242,1510,1376,1102,1384,1466,1001,928,1046,1394,1224,1074,1188,1238,1326,1598,1310,935,1068,1290,1194,1282,1326,1510,1534,1666,1518,1368,1372,910,665,851,943,725,677,1094,1162,885,1396,1736,1460,1440,1562,1490,1260,1472,1688,1562,1344,1488,1442,1068,911,1120,1038,1112,1372,886,720,902,1212,1224,1188,1280,1380,1024,1076,2654,2486,2634,2622,1888,948,888,1146,1180,893,935,1056,999,863,951,1288,930,915,916,1124,1078,1454,1454,781,624,910,1326,1762,1690,1494,1346,1346,1424,1252,1068,996,1184,1194,1148,1224,1222,1146,1482,2484,2326,1494,1264,1108,1128,1290,970,746,869,1102,1248,1320,1154,928,843,985,735,383,365,435,521,594,800,1178,1252,1202,1146,1034,1094,808,781,1164,1136,884,816,841,938,998,1138,1106,1058,1010,936,986,1082,1236,1100,1026,922,624,446,789,1046,719,487,726,659,775,1010,1162,1256,825,836,1250,1252,1026,938,1102,1238,1164,1134,1158,1180,1302,1144,1212,1420,1164,874,1112,1234,1260,1366,1376,1272,932,797,968,956,892,966,1084,1284,1520,1810,1044,722,1038,1214,989,866,877,639,546,526,597,586,462,375,556,1032,1238,1330,1472,1170,1342,1368,1158,1132,886,684,687,1150,1276,1030,1296,1118,1226,1092,1180,1352,1114,771,816,619,494,691,797,1236,1088,1036,1216,1214,1076,951,807,603,750,713,460,484,841,1038,1180,1112,833,810,925,1134,1036,1130,1274,1200,878,547,794,1066,980,890,1184,1360,1284,1134,998,1082,1156,1288,1176,1094,1254,1200,1180,1188,1272,1272,1434,1462,1132,955,1206,1340,1298,1234,1440,1296,1606,1460,1404,1068,1206,1368,1296,1178,1176,1288,1362,1350,1210,1272,1202,1030,1050,1382,1614,1384,904,1112,1238,1198,1166,888,633,516,558,555,625,891,1144,1378,1198,1005,1080,1074,1023,863,1104,1162,859,1048,1230,1298,1332,1090,999,1078,1090,1015,1030,1114,1138,890,867,786,629,516,483,464,400,385,797,1184,1178,1102,558,533,915,1296,1660,1438,1378,1328,1246,1516,1910,1754,1342,938,719,865,1080,1010,940,1068,1092,1384,1294,1384,1622,1300,1236,1380,1246,1492,1506,1290,1372,1306,1292,1284,1210,906,735,1180,1612,1430,1194,930,994,1046,1088,1198,1466,976,1152,1444,1480,1376,1220,1082,953,959,1100,1017,774,473,453,430,492,521,799,1020,1110,1228,977,1030,1326,1192,1478,1342,913,651,510,888,1418,1420,1322,1138,925,1148,1238,1134,1246,1078,717,989,1284,1262,1374,1372,1240,1180,1138,1268,1224,962,1232,1118,919,929,836,915,1058,786,578,698,716,705,841,485,698,481,299,351,514,1088,1412,1346,1110,1130,1368,1250,1286,1434,999,583,521,794,890,630,495,521,435,623,1042,1042,980,1030,1310,1470,1070,1010,1023,1116,829,820,1028,902,921,1050,1064,1148,1054,918,1150,1442,1494,1522,1264,1212,1132,1004,1072,1472,1846,1434,907,949,903,839,1042,1226,1130,1198,1362,1264,1172,1252,1398,1346,1448,1354,1244,1288,958,545,280,307,451,491,502,566,522,472,507,403,404,398,345,389,430,474,471,376,342,356,368,402,362,345,346,435,539,384,283,274,305,300,236,273,327,323,420,554,557,591,622,839,949,1032,1005,923,1082,1194,1190,1322,1104,1342,1484,1192,1010,913,926,823,1018,1114,1140,1021,926,1086,1244,1312,1082,1270,1266,1232,1180,1166,1180,1202,1126,1124,1210,1106,1140,1166,1152,1234,1566,1380,1260,1474,1560,1434,1294,1168,987,597,430,460,705,1140,1148,1021,1002,985,955,1284,1174,819,991,766,509,545,793,1256,1422,1110,1014,1156,979,777,927,997,922,1028,1190,1142,971,843,1222,1172,1152,1032,979,1156,863,496,412,462,880,1190,1110,1168,1062,1118,1250,1742,1786,1354,605,235,371,514,777,929,500,559,875,840,795,803,1021,969,1144,1230,847,502,435,488,684,929,934,917,1148,1196,1001,905,836,954,1202,1152,1200,1472,1520,1344,1048,1142,1188,1252,1340,1244,1134,1298,1444,1400,1440,1304,1182,1156,1066,1126,1222,1394,1386,1392,1498,1584,1492,1384,1422,1448,1422,1118,1418,1970,1798,1450,1306,1216,1366,1624,1548,1232,1028,746,1070,1382,839,1066,1718,1582,1410,1378,1534,1554,1432,1340,1058,849,1218,1528,1432,1302,1422,1524,1360,1526,1516,1194,991,1190,1472,1240,833,471,553,605,541,711,767,971,1228,1366,1360,1180,1300,1500,1450,1446,1460,1484,1030,1050,796,378,320,326,349,469,658,527,630,894,758,670,894,1284,1444,1434,1340,1456,1338,1046,867,654,358,376,569,984,1030,990,1096,1188,1366,1096,741,694,651,528,520,811,1424,1030,861,793,1004,1276,899,630,616,530,636,907,1114,772,882,1012,886,975,965,907,1126,1268,1246,794,517,592,1048,1350,1282,1426,1192,758,948,1364,1496,1506,1092,918,1216,1084,1300,1372,1004,940,847,710,669,798,855,1266,1234,999,1160,1194,982,971,1024,1314,871,771,1070,1186,1266,1142,903,793,957,1102,1230,964,933,901,1294,943,531,495,811,764,710,767,1007,1298,868,729,1174,1700,2142,2374,2168,1892,1578,1344,1510,1888,1710,1166,1320,2176,1570,1064,1348,1278,1290,1296,1364,1298,1108,633,531,696,739,818,1124,680,590,547,646,887,1036,1126,913,680,847,1168,1284,1450,1432,1104,1202,1256,1348,1466,1360,1294,1334,1354,1278,1110,1084,1300,957,1120,1262,1324,1220,1238,1284,1098,1108,1290,1052,1007,1432,1174,613,692,926,825,586,363,562,570,546,736,828,766,744,800,814,543,526,795,937,819,530,450,561,675,976,1290,1380,1376,1216,1314,758,539,957,1238,1001,1070,907,702,601,336,259,225,239,297,430,794,788,597,1086,1332,1084,971,1114,1422,1136,874,636,795,936,858,1014,840,1028,1108,1104,1272,1162,985,949,491,648,1060,1638,2140,1640,876,543,639,485,361,382,438,656,913,1128,994,1124,918,738,610,905,2010,1738,1070,983,1100,1106,1202,1242,1222,916,711,1382,1710,1410,1346,1136,987,945,697,427,388,542,686,807,864,612,589,874,1130,1216,863,594,603,1064,1482,1610,1236,826,827,1094,946,514,425,415,412,581,1250,1904,1482,1011,1028,1124,1282,1002,778,868,831,502,343,364,371,492,872,888,628,633,838,654,561,885,921,799,888,987,1001,955,1178,1726,1478,1146,791,553,1060,760,555,618,662,724,786,794,849,1017,1142,1206,919,839,757,847,875,1015,1404,1394,1408,1394,1140,578,623,680,750,917,929,1078,1364,935,746,774,694,620,795,1126,1172,1164,1356,1342,1474,1494,1264,1132,914,698,965,1266,1024,867,1086,1292,1432,1198,1344,1258,1032,1118,1410,1532,1280,1130,1400,1500,1744,1522,832,1015,1268,1082,821,522,812,1148,1380,1752,1742,2188,1902,1015,496,474,592,825,577,396,348,502,683,590,756,999,957,844,1158,1354,1330,1126,769,1074,893,506,436,385,371,520,717,761,875,1244,1140,594,347,326,421,680,893,1022,1314,1212,1218,1118,1124,681,619,715,1090,941,750,1134,1142,1280,1552,1694,1392,1106,1434,1070,517,409,373,454,705,789,699,668,1128,1388,1026,987,1172,787,750,1028,1098,1110,1164,1288,1364,1604,1852,1100,648,616,547,427,372,321,316,334,340,360,502,584,437,454,445,367,385,398,379,600,1018,1386,1328,1220,1470,1500,1326,987,838,828,579,1136,1892,1936,1720,1606,1400,1036,844,962,1166,1136,912,619,463,513,932,1256,1015,871,929,759,1094,1382,2062,2024,1852,1610,1170,1350,1602,1404,1346,1228],[723,692,847,883,1194,1462,1021,837,882,799,928,700,739,806,693,807,838,630,421,400,404,355,350,372,375,385,392,420,404,365,322,362,437,454,402,336,396,454,430,357,414,476,457,436,355,293,295,320,318,311,363,784,1164,1042,1028,1178,1258,1021,691,727,949,1194,1262,805,731,1094,1496,1060,730,1720,1452,630,1136,1712,1554,1366,1166,1180,1826,1360,1936,1822,1148,1224,1036,670,549,639,504,567,996,811,755,517,431,381,353,363,360,382,533,621,637,1144,1806,1098,755,926,1088,714,426,495,913,767,634,943,929,1050,1278,1044,830,477,718,1038,877,702,481,607,1094,1356,1292,1070,936,935,1338,1456,1290,1290,1194,1058,1120,1244,1138,882,567,370,384,465,544,527,562,398,211,252,227,276,357,398,416,399,397,397,367,310,314,314,473,901,1034,975,1072,1098,949,809,922,1126,659,723,971,1238,865,847,894,1066,1242,1196,1148,835,586,873,1062,1106,1174,1072,741,546,1086,1460,1176,1260,1438,1404,1334,1230,1404,1484,1074,655,478,404,604,1120,1324,1318,1332,1444,1344,830,688,625,604,630,604,467,484,428,437,514,503,475,471,484,445,404,448,665,1062,762,434,331,361,372,334,307,303,387,436,433,446,451,404,401,410,483,662,1019,1274,1220,879,572,787,1166,1248,984,995,1100,1176,1010,1332,1390,1126,1284,1444,1196,1110,1178,1172,1230,1232,1554,1350,1028,875,901,1200,1338,1166,1122,1274,1236,1034,1034,873,1344,1190,1196,1284,1258,1424,1584,1382,999,1001,1226,733,824,831,1172,1416,1550,1362,1576,1676,1498,1476,1566,1470,1158,1164,1406,1434,1278,1316,1538,1552,1598,1620,1404,1286,1202,1002,833,1042,1254,1182,1352,1112,1076,995,1810,1814,1030,924,1068,1242,1310,1200,1184,1478,1258,1438,2674,2754,3068,3162,1974,810,995,1446,1386,876,935,995,1064,1090,1086,1094,703,571,918,1166,986,1104,1238,617,493,777,1394,1660,1542,1408,1506,1566,1402,1334,1220,1250,1320,1216,1176,1178,1020,545,551,1013,1332,1188,1064,1052,1244,1130,1078,1220,1224,1250,1284,1178,1009,1060,1110,1009,849,798,657,615,753,479,516,771,998,1092,1011,938,1016,885,673,808,974,957,913,1138,1032,891,1182,1350,1126,991,912,678,724,922,1058,1170,932,656,559,922,1034,611,672,674,537,735,1122,1324,1242,984,1086,1052,1232,1216,1102,1001,1158,1228,1174,1015,1286,1406,1108,1272,1466,1196,1082,1322,1222,1166,1398,1294,1072,667,783,1150,1248,1354,1016,1134,1620,1504,1410,674,746,913,1180,910,807,711,498,589,807,1138,932,482,462,852,966,982,1348,1414,1242,1238,999,1046,1015,644,621,914,1014,1052,1060,1350,1170,1076,1164,1184,1332,1262,1036,941,893,981,1168,1260,1182,978,860,1094,1302,1078,1019,906,905,941,1046,941,861,999,1042,1138,1082,1116,1126,1318,1360,1070,1100,1202,1166,908,771,954,989,1284,1390,1316,1146,1262,1312,1144,1040,1156,1402,1322,1316,1226,1236,1344,1282,1272,1428,1486,1276,1242,1480,1434,1596,1674,1226,1224,1308,1568,1434,1268,1088,1082,1162,1362,1388,1344,1322,1196,1246,1266,1242,1252,1078,1154,1332,1634,1534,1206,1274,1414,1648,1170,998,922,1094,948,681,734,811,1076,1324,1048,886,959,1072,978,916,1001,1100,899,760,951,1096,1266,1274,1282,1346,1274,1244,1260,1294,1154,931,846,701,555,496,480,423,418,610,1052,1244,1226,917,544,756,1196,1406,1628,1390,1346,1538,1324,1272,1396,1160,1124,1194,1106,926,1158,1274,1298,1444,1482,1368,1326,1602,1730,1562,1270,935,1068,1526,1426,1216,1232,1134,1166,1310,1112,845,695,882,1118,1238,1214,989,974,1090,1176,1100,1017,889,1046,1416,1638,1444,974,820,708,674,944,1030,755,632,502,437,420,492,984,1278,1164,1334,1158,1060,1152,1160,1432,1042,681,507,474,946,1378,1300,1140,1080,1060,1120,1230,1308,1428,1034,943,1178,1300,1268,1410,1268,1082,1196,1310,1512,1230,942,1072,976,979,918,999,995,1016,934,854,943,888,547,737,444,536,381,345,665,945,914,802,861,683,757,789,843,1246,1288,983,528,350,403,713,917,733,510,595,818,964,1007,1058,962,1132,1354,1120,967,988,1078,1064,1054,1006,937,996,993,1044,1016,1184,1258,1414,1202,1232,1370,1226,1186,1242,1112,1000,1294,1490,1324,875,973,1152,1024,958,1220,1316,1752,1956,1218,1174,1292,1272,1280,1334,1460,1792,1532,1404,1021,548,436,512,414,442,370,387,397,398,336,329,328,311,345,390,426,424,358,316,370,415,450,354,317,294,425,432,307,279,282,316,349,372,449,543,625,795,1086,1180,1242,1300,1396,1450,1432,1244,1038,1116,1154,1450,1560,1132,942,1064,1016,913,937,866,965,1124,1142,1294,1134,1288,1194,1120,1182,1170,1378,1280,1230,1148,1156,1196,1154,1220,1302,1186,1106,1098,1102,948,1134,1348,1566,1656,1582,1696,1648,1394,1146,775,495,609,550,1032,1080,658,715,752,882,903,868,817,977,1080,595,520,506,572,1032,1116,835,801,1078,1176,972,1046,1048,1156,1112,1098,1082,1098,1158,1224,1054,1186,1206,1188,1310,1150,936,818,818,977,1024,887,815,1416,1496,1400,1444,1470,1106,554,397,328,393,618,826,952,899,944,897,933,1046,1144,1142,1236,1142,525,297,321,576,1074,1268,1334,1352,1260,1154,1194,1392,1334,1058,963,1030,1012,874,742,1106,1448,1356,976,893,1017,1066,1170,1204,1324,1260,1244,1054,922,1006,1204,1242,1084,1048,1068,1080,1054,1038,1028,1138,1312,1202,1122,1446,1438,1324,1232,1144,1230,1384,1450,1576,1692,1552,1274,1268,1626,1704,1454,1330,1620,1626,1320,1200,1266,1312,1322,1208,728,481,642,1222,1556,1472,1106,1526,1678,1190,1274,1362,1490,1550,1616,1232,836,673,796,626,507,619,629,622,789,1710,2434,1880,1504,1536,1486,1360,1370,1422,1282,1448,1058,477,417,305,316,685,1052,728,407,463,491,417,684,1196,1602,1270,1176,1272,1178,1342,1350,1064,546,379,506,947,1042,1182,1554,1608,882,577,624,949,691,791,806,1210,1376,1246,1214,681,898,1194,657,519,505,523,771,922,989,502,619,1158,1234,826,752,1246,1438,1280,1142,818,668,1102,1556,1476,1322,1516,1374,1276,1044,659,976,1248,880,408,559,807,1234,1512,1015,717,616,542,1036,1152,1024,1542,1432,998,893,1088,908,811,1390,1666,1128,988,1178,985,681,596,764,824,1058,1332,1192,1054,1034,614,685,814,560,537,681,772,1152,1126,1368,1456,998,695,1230,1926,2272,2330,2122,1648,1508,1582,1614,1626,1534,1176,1178,1090,777,1015,1216,1290,1444,1256,1104,988,964,669,536,773,884,785,1098,826,730,627,651,964,1224,1284,1042,854,1088,1268,1358,1328,1460,1268,1324,1368,1480,1374,1424,1450,1286,1250,1282,1208,1212,1202,971,1620,1450,1416,1470,1358,1348,1300,1220,1262,794,740,1360,1316,926,1132,1256,793,485,587,824,921,946,996,1048,838,619,856,948,757,697,744,578,442,445,658,878,830,875,1028,1128,1126,1192,1160,664,440,772,1070,1068,1038,911,553,415,406,315,227,290,346,414,770,957,642,881,1396,1352,1052,633,755,751,824,847,952,753,689,695,464,772,1376,1758,1830,1520,1472,1142,631,524,1110,2586,3124,2424,1416,811,482,379,392,383,409,475,786,1388,1130,758,750,640,922,1230,1424,1282,1132,1236,1194,1180,1132,1216,997,734,540,813,1038,825,794,858,733,457,383,341,486,575,490,543,617,634,611,516,1108,1466,1034,1046,846,1062,1266,1340,822,684,955,1306,950,514,420,422,407,728,1930,2214,1003,786,1092,873,899,899,813,718,496,326,341,358,397,779,1282,1040,609,599,739,674,606,789,808,710,845,1118,1088,1034,1568,1804,1692,1570,968,879,1070,686,505,518,502,535,615,693,745,826,861,968,1188,1124,983,792,713,959,1110,1080,1114,1372,979,626,705,736,847,947,1130,1488,1128,667,702,636,586,602,711,857,776,747,800,922,944,1124,1460,1536,1550,1568,1398,1346,1322,1406,1370,1586,1442,1232,1104,1026,1230,1360,1112,877,897,1044,1346,1282,1660,1512,849,550,446,672,995,1066,1434,1614,1224,1600,2034,2240,2304,1692,734,332,374,321,334,350,565,1276,1380,887,885,1142,727,650,1030,1096,987,748,501,462,612,580,377,292,354,502,680,697,1166,1592,1322,827,348,352,480,1001,1264,1106,819,954,1198,1066,1194,995,668,788,1124,1056,896,1286,1354,1360,1622,1616,1240,947,1040,715,355,376,429,879,1434,1240,688,455,574,900,894,927,742,522,684,960,1314,1232,1014,935,1016,1172,1228,719,483,554,615,541,430,368,322,309,311,374,910,751,680,1050,775,395,375,442,428,670,1148,1346,1188,1282,1692,1438,1260,939,842,968,674,780,1472,1864,2022,1150,554,673,827,989,1168,1648,1926,1244,524,676,1072,1136,913,1076,966,1134,1336,1202,2218,1824,1866,1682,966,937,1154,1256,1434,1138],[567,462,647,843,989,1084,936,885,1042,850,861,774,874,792,654,809,922,736,513,650,502,451,409,368,365,343,340,380,361,324,327,347,377,357,324,307,346,365,355,336,379,459,473,412,316,289,316,308,308,315,332,820,971,631,583,865,941,832,926,1028,1142,965,987,901,780,1318,1536,988,1258,1932,1238,1023,1226,1166,1346,1342,1082,955,1140,1112,1432,1302,1150,1046,885,525,414,371,453,502,578,484,544,437,401,377,374,365,333,467,833,991,946,1252,1580,1134,568,788,1128,1010,561,491,1082,1402,1130,1110,1236,1884,2048,1224,637,484,514,520,641,531,368,744,1290,1224,1288,1434,1032,1009,1372,1122,1060,1242,1372,1124,1012,948,1036,1092,764,509,477,451,392,480,811,491,282,282,246,288,366,414,395,392,415,402,378,337,344,277,485,878,919,935,1032,929,1052,1474,1770,1726,1122,752,650,634,775,1122,1244,1190,990,1018,1210,858,962,1248,1152,1184,1340,1006,720,755,918,1013,1068,1354,1584,1360,1288,1216,1180,1174,684,466,541,518,780,1290,1434,1352,1306,1424,1682,1584,1122,766,745,697,551,460,435,376,404,465,462,492,524,489,466,485,688,964,792,447,342,332,370,373,326,283,258,346,347,371,392,403,380,374,374,426,546,813,1016,775,582,541,512,920,1128,951,999,1078,1086,957,1086,1144,1138,1190,1150,1422,1212,1290,1390,1346,1370,1400,1206,986,761,789,1064,1188,1446,1218,1128,963,894,1056,963,994,1080,1208,1130,1274,1698,1468,1076,1116,1100,1072,811,947,879,1018,1236,918,758,1242,1414,1324,1450,1682,1524,1282,1328,1342,1484,1572,1552,1484,1278,1322,1236,948,802,988,981,904,1116,1080,1012,1892,1476,803,965,1584,1518,1100,1188,1178,1166,1012,1042,1042,1428,1236,1224,1400,1440,1632,1898,1356,519,727,1116,1078,791,892,1032,1058,1005,1166,1007,590,735,1214,1250,933,1036,1260,745,555,586,1244,1946,2056,1370,1054,1192,1334,1626,1750,1660,1534,1504,1376,1284,1102,665,542,884,1134,985,1084,1350,1226,1092,1144,1190,1494,1792,1404,1172,1050,1002,1044,1108,1108,580,597,539,679,386,367,518,572,743,872,892,1100,1170,999,1110,1070,1050,965,1122,973,1234,1208,921,784,916,991,936,976,1023,1088,1142,1036,1066,892,898,753,545,848,808,545,844,1274,1306,1252,1118,1010,1048,1360,1886,1938,1300,1232,1382,1162,1048,1190,1080,818,1034,1144,1210,1250,1258,1003,862,998,995,803,918,1360,1180,951,1310,1108,968,1470,1272,1084,655,716,648,625,524,471,549,547,583,734,1368,1140,533,799,1228,938,846,1356,1404,1322,1336,1076,1044,1062,1023,1100,1256,1166,1036,1230,1316,1192,1230,1222,1156,1046,1218,1240,1074,1256,1442,1318,1252,1064,1076,1154,1356,1236,866,882,1032,994,808,949,918,1146,1078,1194,1116,725,826,1172,1186,1220,1220,952,906,1130,1512,1152,1118,1040,1188,1144,1124,1238,1214,1122,846,572,863,1372,1556,1416,1128,1114,1294,1436,1422,1402,1316,950,1004,1664,1632,1786,1520,1176,781,1150,1490,1362,1017,971,1146,1292,1356,1378,1378,1362,1154,1152,1164,1290,1550,1498,1520,1754,1620,1048,1076,1236,1248,1204,1176,1396,1282,1202,1136,1007,1104,1242,1192,936,929,1136,1404,1082,923,875,1016,1144,982,961,993,1224,1492,1162,1254,1344,1198,960,1034,1086,919,874,780,579,499,509,485,426,469,788,1210,1146,1198,785,698,1296,1520,2056,2110,1528,1568,1564,1478,1516,1486,1198,1296,1376,1358,1120,1172,1354,1334,1312,1298,1266,1528,1500,1584,1794,1042,636,879,1160,1078,1200,1378,1246,1322,1416,1476,1466,1488,956,1298,1406,1162,1466,1328,1006,1270,1426,1238,982,1086,1094,1162,1294,830,744,868,958,1060,906,727,735,586,489,495,556,886,1048,1188,1238,1224,1232,988,991,1090,1078,1136,814,688,1086,1310,1094,869,1120,1148,1326,1412,1382,1368,1144,1024,1220,1214,1174,1332,1182,1088,1246,1340,1388,1017,984,891,970,964,986,946,659,824,976,811,938,1013,971,851,628,673,778,665,966,1368,1260,1426,1538,721,859,894,816,1086,1256,1056,624,446,385,494,866,980,938,919,1066,1162,1036,1036,1021,1094,1142,1056,1042,1176,1172,986,1180,1246,1013,1036,1052,1104,880,846,1370,1438,1134,1116,1184,1128,1004,1162,1120,1048,1380,1404,1128,888,1118,1192,1174,1094,1098,1166,1466,1850,1238,1130,1066,1044,1324,1226,1604,2034,1882,1602,1284,887,929,943,866,730,441,342,314,316,343,322,271,267,302,291,299,301,264,255,349,492,625,474,334,290,330,353,433,526,666,780,906,757,940,1230,1322,1418,1500,1504,1556,1594,1618,1624,1650,1636,1512,1482,1318,1526,1318,933,795,928,955,922,997,1013,1146,1204,1116,1102,1180,1156,904,897,853,838,1174,1506,1404,1284,1218,1106,1100,1148,1015,1136,1358,1346,1188,973,1100,1354,1530,1308,1364,1674,1672,1430,1001,894,924,852,1116,1106,653,458,650,1038,1052,951,783,1152,1278,837,652,777,783,881,979,832,775,850,1094,1260,1042,1034,1130,1258,1358,1288,1200,1208,1146,1172,1432,1530,1422,1374,1342,1368,1294,1272,1410,1688,1448,910,815,1448,1688,1582,1438,897,386,460,680,609,716,1007,1346,1316,1366,1478,1530,1368,1054,1086,1204,1328,1148,655,401,368,515,866,1224,1302,1108,1210,1248,1060,1158,865,577,681,882,874,1026,838,756,654,480,517,832,730,394,377,701,1488,960,983,955,863,1042,1274,1152,1248,1618,1378,736,454,490,637,722,800,938,1156,1548,1522,1482,1428,1380,1406,1364,1164,1170,1446,1692,1692,1636,1652,1810,1692,1556,1528,1312,1166,1546,1186,855,1304,1478,1054,662,655,1348,1786,1486,973,1268,1454,954,1126,948,1316,1480,1554,1498,1420,1290,1230,1218,1210,979,971,1096,1126,1836,2610,2014,1466,1352,1452,1070,1023,1042,1042,1418,1260,517,393,320,340,782,847,447,311,535,522,349,608,1270,1368,938,1384,1388,1260,1282,1162,672,498,435,587,1070,1092,1030,1624,1386,843,1144,1098,1002,830,723,559,1242,1344,1484,1436,722,629,581,534,600,728,1048,1118,764,565,480,913,1148,796,633,832,964,1144,1102,692,573,543,881,874,1100,1148,1560,1382,858,827,810,952,1144,759,339,324,427,794,817,643,774,760,590,684,1152,1246,935,1054,1082,891,1198,1120,1120,1744,1716,1242,1196,1112,985,790,447,431,815,1038,1274,1218,1230,936,444,553,725,448,491,974,1142,1264,1104,1246,1200,893,495,787,1560,1750,1452,1568,1804,1682,1586,1594,1474,1400,1230,1116,1096,1208,1334,1328,1260,1208,1354,1126,847,973,683,528,753,852,805,1174,949,775,696,670,1098,1412,1248,1028,1146,1288,1206,1206,1186,1274,1296,1314,1412,1444,1320,1478,1632,1422,1318,1268,1180,1382,1174,937,1328,1290,1220,1384,1268,1252,1396,1306,1272,587,628,1380,1200,1072,1104,1001,607,461,647,880,1292,1614,875,1102,973,667,537,1098,1376,1644,1480,899,597,499,778,1052,816,708,854,880,894,849,634,578,444,487,843,996,863,1518,1930,902,524,378,324,385,451,442,713,1090,902,692,977,892,1011,855,673,699,974,936,661,411,444,637,596,557,977,1692,1672,1576,1528,1288,879,708,1026,1788,2862,2834,1820,1230,647,469,454,427,408,536,1003,1340,1096,724,605,585,781,1032,865,523,877,1252,897,766,866,1148,833,557,471,595,684,650,773,1064,969,844,826,776,692,770,600,597,724,738,719,688,1104,1304,1294,1348,1202,1322,1372,1230,822,776,1036,1232,1050,766,626,431,438,944,1666,1238,894,997,988,768,651,601,607,581,377,293,391,417,542,1122,1344,1442,1076,645,527,471,427,463,498,481,680,1160,1312,1182,1170,1274,1236,1364,1084,1184,1138,627,533,535,516,449,471,502,608,732,798,858,874,1066,1210,1252,1036,816,720,843,986,965,664,719,767,761,808,872,1316,1488,793,636,639,595,588,716,743,745,715,711,717,755,767,771,818,1009,1034,1176,1262,1508,1566,1686,1636,1538,1506,1586,1560,1378,1272,1116,934,990,1318,1394,1454,1504,1598,1266,681,415,505,1038,1224,1356,1402,1452,1256,1126,1114,1322,1914,1784,719,367,344,352,337,409,952,1388,1496,1472,1278,977,785,1060,1350,1116,736,465,559,483,492,409,324,281,397,477,576,623,935,1232,1128,883,452,447,651,1228,1506,763,619,1108,1434,1244,1118,1072,954,1170,1242,1322,1476,1194,1007,1036,1066,1042,881,737,760,748,490,394,598,1328,1480,946,854,794,561,598,947,1094,885,631,528,718,1030,1032,1652,1520,1202,1158,971,780,597,483,494,497,473,529,733,450,330,471,1002,733,949,1312,866,445,430,439,446,642,1176,1554,1410,1454,1774,1570,1306,1104,1005,1080,927,822,1318,1378,1300,800,557,658,1066,1144,1284,1678,1628,863,529,778,1020,948,1074,1112,1086,1482,1490,1262,1054,1188,1520,1182,977,1005,1132,1324,1270,1242],[577,509,625,569,413,550,620,616,697,918,877,882,1074,850,669,835,1036,1028,670,707,514,494,475,388,351,332,324,329,297,278,295,312,299,278,282,258,264,477,677,568,460,469,418,367,289,283,288,289,306,330,291,750,835,509,553,597,606,597,655,733,796,611,572,636,583,1080,1340,918,1350,1788,1196,1332,1070,929,1106,1354,1338,1060,872,1206,1362,1428,1238,974,982,401,405,379,486,491,427,325,290,379,406,342,383,374,370,560,792,702,1026,1312,1530,1424,745,546,899,935,672,610,874,1350,1060,985,1144,1614,1544,1076,810,958,752,419,413,383,361,737,1240,1152,1600,1322,910,971,1134,738,552,1004,1282,1150,952,833,935,943,633,536,653,418,275,285,317,227,213,239,268,246,294,374,412,408,395,367,496,695,564,300,454,850,1018,862,989,1588,1894,2022,1716,1298,887,642,675,680,798,939,1106,1114,872,1013,1162,1190,1220,1168,1174,1198,1324,1013,628,688,827,1082,1110,1030,1472,1670,1530,1350,1244,933,515,576,803,821,940,1238,1466,1490,1482,1640,1892,1912,1362,901,774,633,490,446,398,372,390,415,422,466,536,625,574,611,906,946,607,392,324,344,372,388,333,298,304,324,335,354,360,367,360,354,351,392,448,572,823,590,734,941,744,741,829,816,957,1156,1108,1015,1068,1396,1626,1472,931,1023,1106,1244,1228,1156,1326,1292,1332,1470,1186,1066,854,878,1430,1330,1124,1052,907,992,1034,999,1082,1086,1100,1306,1580,1232,1278,2286,1962,1116,827,948,902,1032,1260,1184,941,1021,1304,1348,1196,1328,1328,1248,1622,1396,1216,1384,1374,1156,1074,1074,904,933,747,1028,1016,835,666,455,910,1880,1388,745,1098,1338,1252,959,1028,1068,1246,1236,1118,941,1136,965,796,821,699,774,810,819,498,697,1206,897,593,769,1114,1218,1044,1190,1052,594,841,1324,897,799,1040,1386,1132,953,630,685,1456,1710,1288,1018,812,1048,1628,1660,1602,1584,1592,1554,1360,883,506,695,1104,1124,1064,1210,1240,1256,1178,1050,1088,1116,1282,1208,1410,1454,1152,919,1058,1036,724,772,539,766,546,434,505,487,526,584,805,995,1026,1110,1158,1084,1060,850,814,1074,1384,1072,594,686,962,1154,1214,1050,873,997,843,705,792,921,703,673,769,601,480,456,869,1324,1132,1020,1250,998,619,1012,1690,1772,1220,963,1114,1136,1156,1080,1234,1074,960,1078,1398,1338,1514,1438,1164,963,821,940,1328,1406,1170,839,1076,1038,1024,1028,1122,1160,1044,863,544,487,505,442,473,433,491,692,1160,829,722,1042,1124,1050,1118,1360,1498,1550,1424,1388,1234,1224,1328,1454,1542,1204,955,1270,1406,1232,1226,1206,1134,913,1162,1184,1098,1382,1376,1282,1346,1070,896,1144,1214,1204,819,690,734,885,933,957,674,921,1050,999,1015,749,706,1174,1064,1250,1078,922,1094,1190,1322,1278,1186,1056,1206,1372,1136,1268,1100,854,933,564,755,1124,1318,1382,1170,1428,1860,1716,1420,1194,1222,1172,1236,1582,1876,1650,1300,1144,854,872,973,607,458,678,1062,1472,1440,1418,1286,1230,1006,1050,1058,1110,1102,979,1294,1700,1690,1244,1134,1090,1128,1090,1166,1416,1482,1428,1294,1098,1238,1388,1414,1026,1260,1426,1404,1190,803,602,1032,1144,1058,1208,1306,1456,1528,1182,1032,1066,1298,1204,1056,919,912,808,621,496,529,518,462,376,493,999,1210,1278,994,563,855,1378,1406,1670,1620,1290,1262,1210,1368,1666,1638,1532,1528,1670,1544,1418,1454,1418,1386,1078,1128,1438,1292,1140,1290,1376,836,474,821,1218,1012,935,1018,1106,1240,1316,1554,1616,2164,1422,1334,1310,886,1052,1094,952,1160,1342,1196,1112,1328,1152,1024,1038,867,876,871,873,952,783,592,705,787,678,574,598,868,996,1306,1238,1262,1164,786,644,809,1258,1422,1190,1332,1272,1384,1186,1272,1386,1192,1260,1218,1126,1230,1068,1074,1388,1280,1244,1346,1208,1090,1260,1274,1142,977,1060,1068,1114,1030,915,756,479,797,894,659,814,1064,1246,753,483,579,770,985,1034,1176,1396,1406,955,1072,1272,1284,1088,1262,1412,1476,1296,1012,705,458,547,647,719,744,1088,1126,1074,1080,1116,1162,1114,1108,1106,1158,1170,1078,1176,1106,1076,1142,1196,1244,1096,1196,1496,1230,1116,1114,1074,929,794,1028,1164,1150,1162,1368,1362,1036,1188,1302,1256,1292,1108,1028,987,1218,1172,922,666,902,1244,1208,1542,2186,2176,1622,1460,1498,1262,1232,1204,1186,1186,824,719,871,777,606,526,575,697,566,472,516,597,555,774,835,930,979,928,836,750,816,1016,1158,1274,1438,1460,1344,1372,1346,1432,1490,1390,1454,1478,1444,1336,1478,1560,1544,1654,1656,1520,1320,1344,1480,1552,1416,1038,815,927,991,1154,1196,1268,1170,1170,1128,1166,1074,1142,1202,1310,1598,1526,1192,965,998,1168,995,917,984,1114,1238,1178,1096,1144,1180,1316,1316,1614,1486,1338,1090,1344,1372,1064,993,1238,813,446,670,1034,1188,750,885,637,755,1015,917,1400,1440,1154,1244,1202,1174,1088,1208,1252,1320,1314,1032,874,744,765,612,465,471,505,533,794,1494,1506,1214,655,612,656,754,901,1350,1096,482,559,830,1172,1296,1270,634,288,307,752,651,735,1132,1170,1058,1126,1436,1558,1378,1300,1514,1558,1426,931,819,869,898,999,971,1072,1206,1224,1220,1048,1530,1610,1004,1362,1682,1508,1382,1072,703,484,356,404,625,730,521,389,417,607,1196,915,1222,1362,1180,843,727,1186,1364,1066,678,561,682,760,626,600,768,915,1086,1376,1424,1212,1176,982,777,963,860,853,1088,1310,1556,1568,1646,1980,2084,1794,1440,933,771,1310,1360,949,1100,1412,996,590,753,1374,1754,1534,1176,1418,1562,1544,1300,1624,1722,1550,1306,1330,1134,722,740,791,767,875,1160,1340,1400,1504,1360,1306,1388,1426,1246,1056,1116,1070,790,980,1042,515,328,316,325,696,722,417,495,1052,825,347,642,916,670,1021,1448,1488,1326,1102,859,789,862,756,735,791,750,1118,1490,869,993,1628,1334,686,598,578,646,1148,1450,1750,1354,843,696,476,522,607,838,1228,1258,1046,906,913,1202,1368,1058,907,785,797,854,640,360,369,463,420,531,714,726,1056,982,610,530,738,797,1032,722,416,421,473,631,749,966,1166,1088,805,519,1052,1298,780,630,1118,1132,1114,918,663,802,1198,1472,1204,624,507,490,608,473,450,638,1024,1096,830,601,465,615,869,738,626,1248,1464,1354,1334,1204,1110,814,499,607,905,1270,1070,1628,2138,1860,1598,1490,1262,1204,1009,1178,1132,976,1040,1340,1460,1396,1408,1404,991,999,684,513,667,706,756,1090,1019,783,771,716,1172,1378,1204,983,1228,1210,1170,1074,1102,1314,1542,1260,1234,1324,1274,1282,1172,1444,1498,1506,1400,1450,1302,819,819,1038,1074,1270,901,904,1478,1456,1072,655,648,764,726,592,570,626,410,410,695,918,1314,1770,995,977,1080,916,614,719,1264,1786,1368,1030,694,553,858,672,576,810,1064,1010,1148,906,529,491,523,652,785,968,2316,2622,3294,2152,899,434,453,427,452,714,1114,1116,740,471,706,733,749,752,669,567,798,837,499,357,477,641,551,705,982,1056,1388,1814,1616,1212,844,855,1084,1454,1986,2048,1648,1036,727,504,334,419,695,966,1130,1358,1390,814,344,354,485,728,526,381,577,984,1206,1044,991,1194,1238,960,513,545,797,1106,1054,926,1114,1244,1270,1016,944,1152,1064,1001,846,875,1068,1192,1296,1300,1454,1021,985,1228,1432,1316,980,950,1104,1152,1070,1184,860,497,785,1294,1094,718,901,947,893,850,648,556,488,384,293,290,518,568,697,1194,1270,1458,1194,580,459,530,596,614,440,451,666,920,846,847,980,962,929,949,1040,1404,1106,531,476,537,536,410,415,428,482,512,603,717,810,814,858,992,1196,1136,1026,769,757,653,721,739,730,764,797,1038,1464,1026,708,624,567,615,639,667,619,650,697,692,672,659,666,749,749,700,648,750,747,890,1019,1248,1180,1090,1234,1150,1030,851,1058,1023,1508,1456,1380,1218,1236,1350,1252,1070,891,684,1254,1726,1180,1010,803,1220,1620,1476,788,701,1466,1294,476,356,367,354,331,374,434,420,947,1196,908,912,1332,1536,1340,1268,935,897,745,449,366,407,347,300,386,450,509,541,704,861,631,464,464,722,874,885,793,672,893,1234,1488,1490,1378,1266,1152,1250,1298,1762,1736,1180,1188,1016,814,818,732,716,552,635,693,797,979,1346,916,597,1015,1256,927,1120,1554,1256,973,598,955,1170,892,1328,1998,1660,1268,1102,977,877,807,768,480,385,358,542,1038,1026,662,607,716,618,932,1098,614,448,478,566,501,474,1168,1094,1136,1410,1522,1176,918,1172,1328,1324,1266,1198,1126,1052,1034,958,874,1054,1378,1314,1332,1450,1396,1154,1028,1234,1218,1068,1058,1003,1015,1366,1330,1100,1218,1528,1528,1474,1544,1350,1232,1266,1204,1118],[437,490,705,585,457,488,516,520,577,710,619,727,1246,1180,954,1140,1244,1150,896,711,758,740,541,435,379,336,316,335,295,252,273,310,289,270,281,305,375,666,1038,1194,740,535,365,315,289,292,305,298,320,351,318,720,977,436,437,502,550,573,598,601,459,406,371,414,610,902,986,710,805,1190,1290,1258,1092,993,1150,1212,1190,927,1106,1520,1362,1206,1238,758,587,371,390,368,538,574,440,381,397,445,422,352,375,344,364,535,792,961,1052,1244,1354,1134,645,495,785,948,1084,1136,605,765,818,790,753,1318,1166,750,947,1242,974,701,609,630,505,580,710,858,1182,952,810,658,681,714,722,635,866,1126,1168,962,706,451,487,505,453,294,189,213,235,250,270,271,258,261,343,392,399,388,373,377,567,795,656,386,341,513,776,1015,2192,3550,4132,3182,1528,949,742,874,846,965,1021,814,1190,1138,1080,1262,1228,917,916,1064,1220,1212,1276,1172,969,900,773,1132,1346,866,1012,1488,1770,1624,1150,564,457,616,860,1000,644,609,860,1212,1540,1852,1916,1662,1410,1314,1180,776,426,395,404,395,408,367,390,402,428,565,673,790,943,802,535,372,343,349,370,362,324,300,330,354,371,374,385,379,367,355,374,401,434,653,830,596,482,579,781,775,770,948,938,993,1216,1324,1414,1858,1766,1322,985,1072,1076,1204,998,983,1348,1256,1274,1232,1296,1038,846,1434,1726,1046,971,1100,1100,1246,1086,1038,1124,1106,1230,1350,1504,1228,1602,2698,2038,1164,1214,1312,1054,1158,1196,1136,798,932,1240,1450,1242,1268,1332,1578,2250,1830,1434,1404,1208,1124,1198,1166,1148,802,645,757,763,835,691,512,930,1704,1642,1066,943,1018,1076,941,858,1164,1414,1088,985,1005,1462,1526,1026,1212,1074,806,806,747,521,857,1398,897,589,895,1374,1500,1386,1402,1019,632,817,1108,904,890,1160,1130,1262,1274,774,846,850,1026,1174,1180,644,954,1554,1526,1204,1178,1334,1448,1490,1348,858,725,858,1102,1440,1570,1216,824,710,1294,1284,1096,1162,1184,1478,1676,1416,884,866,849,891,799,612,681,568,620,609,624,909,1048,1094,941,1020,865,886,871,890,1005,1182,1204,1274,1088,653,999,1062,1150,1060,1009,1010,1178,869,594,668,1100,991,760,808,879,598,554,987,1378,1194,1092,1110,686,386,582,785,949,1048,1010,1004,1110,939,788,1226,1376,1340,1312,1202,1158,1332,1450,1356,1128,947,1122,1332,1204,1072,894,968,833,868,913,936,1228,1122,1004,1028,941,770,628,419,341,367,370,619,564,702,1012,1064,1252,1438,1690,1732,1712,1572,1526,1450,1302,1310,1266,1098,984,1108,1378,1468,1068,1282,1418,921,1086,1248,1076,1220,1570,1592,1342,1092,802,756,1382,1096,1012,816,917,933,1046,1144,879,631,801,858,1204,1424,1126,927,1246,1106,1180,1003,1007,1142,1080,1136,1156,1088,1090,1190,1138,888,1356,1132,945,1092,1052,998,1230,1436,1382,1410,1668,1650,1164,901,907,1232,1372,1416,1278,1600,1680,1472,1384,1376,1134,747,579,702,727,861,1224,1344,1394,1356,1266,998,1012,1148,1078,1180,1452,1564,1508,1640,1404,1686,1514,1310,1106,1004,1252,1394,1284,1192,1238,1166,1120,1042,903,1438,1544,1352,1032,629,902,1240,1192,1158,1210,1310,1312,1146,1150,1322,1304,1220,1070,907,998,1076,750,498,466,505,494,430,405,713,1204,1278,1186,758,437,689,1088,1232,1428,1406,1152,1228,1164,1338,1552,1506,1522,1588,1648,1528,1584,1432,1268,1370,1230,1100,1132,1005,1096,1340,1192,680,407,585,670,514,468,582,1056,1188,1390,1500,1356,1422,1005,946,1080,883,940,868,756,855,1260,1220,1084,1224,1298,1328,1290,1156,1042,899,681,656,662,539,520,581,604,490,656,790,1042,1146,1050,1096,1094,937,803,929,1334,1296,1368,1534,1400,1362,1292,1470,1296,1060,1164,1198,1116,1210,850,834,1180,1120,1172,1166,1168,1132,1278,1246,1132,1140,1012,1001,1284,1096,1074,966,982,1128,927,1040,941,1122,1178,615,386,368,725,975,799,760,1424,1548,1240,982,1408,1336,854,927,1132,1266,809,811,628,505,758,865,943,768,849,1110,1188,1126,1250,1028,1032,1186,1050,1048,1080,1236,1084,974,1056,1136,1116,1220,1480,1644,1380,1042,1116,1148,1168,908,872,1204,1226,1176,1122,1334,1258,1046,1594,1682,1506,1474,1322,985,971,1180,1172,875,508,705,1206,1470,1776,1458,1488,1272,1060,1172,1344,1452,1412,1368,1282,1232,1262,1152,1096,1228,1194,1064,1068,1058,1084,1028,1032,927,973,1172,1324,1312,1244,1158,1210,1280,1358,1416,1344,1476,1492,1294,1130,865,913,1266,1502,1560,1360,1214,1060,1316,1328,1366,1554,1588,1544,1498,1606,1794,1560,1284,1118,1110,1166,1322,1268,1260,1360,1206,1174,1526,1538,1202,1162,1320,1162,1242,1262,1028,905,957,1172,1110,839,656,934,1188,1188,1120,1238,918,1204,1300,1390,1190,1007,1318,1734,1538,1194,1030,981,656,754,928,1030,1144,637,668,661,775,916,992,1520,1472,1070,1180,1154,1324,735,1052,1428,1262,1072,591,338,373,399,404,473,463,452,563,1808,2514,1886,1372,1118,1064,1080,1186,1074,1176,888,370,523,688,1190,1282,1432,1054,509,380,719,711,1166,1332,852,763,874,847,1042,1504,1580,1556,1598,1562,1130,1042,1052,783,921,1122,1206,1176,950,962,935,1306,1110,1122,1708,1562,1070,727,455,333,323,386,412,470,424,308,389,441,624,842,984,1176,1004,758,812,990,955,796,451,377,498,816,998,785,555,589,832,955,1156,1162,838,901,797,583,868,814,680,810,983,1268,1572,1650,1578,1636,1628,1206,533,502,1066,1458,1322,1046,827,642,901,1816,2304,1920,1504,1244,1614,1306,1480,1294,1542,1796,1770,1506,1412,1310,749,454,404,853,1218,1042,1015,1394,1264,943,1042,1168,1162,1360,1248,1334,1360,1232,1220,1178,1108,922,549,518,729,680,501,617,1234,833,401,490,495,678,1234,1392,1698,1656,1064,647,1032,993,850,813,515,510,1144,1206,777,793,794,666,544,671,679,783,1166,1320,1388,1226,1204,1054,902,754,680,678,795,871,1110,1344,1366,1316,1308,1028,986,925,590,372,468,605,703,599,595,778,675,522,545,888,904,673,667,739,1110,736,648,918,755,853,1096,910,966,1036,872,929,1418,1180,971,832,905,706,527,581,677,460,880,1198,871,667,486,598,929,706,317,382,686,691,488,563,590,630,665,482,777,1324,1416,1286,1180,1003,859,642,540,642,968,1140,1206,1566,1412,1660,1754,1714,1510,1078,1008,1162,1160,1070,1046,1350,1324,1210,1414,1340,1190,1182,722,517,607,551,664,1176,1202,826,816,802,1162,1346,1094,1094,1256,1146,964,995,1132,1396,1622,1212,1218,1244,1246,1224,1013,1010,1160,1296,1328,1556,1520,1272,1144,1190,1216,999,890,906,1078,1072,793,565,538,470,406,404,600,658,325,371,767,933,753,529,407,647,1094,988,578,425,792,1414,1308,1176,737,536,459,484,807,1070,931,641,797,1005,741,741,1070,1366,1344,1160,2268,1540,1696,2374,1722,583,473,394,345,691,1110,1182,819,546,1224,1204,753,750,883,805,736,693,388,330,480,509,647,951,1078,851,1066,1098,896,783,837,1114,1136,896,720,1042,1220,1072,1070,805,693,1110,1520,1432,1208,1156,792,541,450,384,343,436,417,360,417,753,1042,1078,1110,1104,1424,1570,849,599,1064,1310,923,700,977,847,904,891,1056,1244,1188,1001,736,1003,1122,1074,1080,1288,1296,875,827,993,1186,1100,1028,1108,1296,1124,1254,1204,788,651,1350,1462,917,829,1048,959,786,737,568,486,448,351,288,336,448,489,543,901,1222,1184,692,446,650,625,714,698,479,624,838,717,630,884,1020,1122,1176,963,1078,1410,989,508,457,444,447,409,384,384,417,445,452,472,577,696,752,700,755,1028,1176,1182,932,772,798,762,745,725,830,1334,1242,745,656,614,626,594,611,623,585,622,653,705,749,716,645,657,570,559,621,620,672,648,599,778,881,677,763,794,946,1338,1592,1324,1584,1344,1284,1254,1066,1158,1166,1084,1090,1180,1744,1256,852,821,721,807,1528,1600,697,441,484,514,489,419,419,419,370,381,388,683,1154,1338,1492,1658,1880,1830,1394,1206,810,1148,1064,711,495,419,534,459,275,489,543,637,432,400,393,380,518,679,684,645,708,1038,1278,1138,1090,1366,1378,1314,1298,1474,1830,1864,1222,738,781,760,976,913,537,387,437,444,485,622,1017,1106,733,570,979,1390,1078,1104,1498,1162,959,530,1074,1182,1070,1660,1798,1354,1242,1124,908,677,825,967,560,418,401,639,1050,1182,1052,909,805,771,1004,788,641,524,952,1030,1068,928,1234,1294,1144,1088,877,599,686,1236,1458,1570,1494,1404,1168,1136,1234,1228,1048,1290,1618,1314,1410,1560,1528,1380,1448,1148,978,992,1094,1116,1182,1270,1202,1286,1412,1370,1412,1310,1390,1450,1250,1268,855,348],[361,408,545,550,510,533,560,576,596,777,572,782,958,1184,1028,1082,1092,1009,896,929,1102,796,484,474,424,372,322,341,304,245,289,342,301,267,269,303,414,540,960,1428,1002,838,688,551,421,326,309,299,296,306,302,534,884,513,441,498,583,580,498,435,391,321,284,406,794,1374,1592,850,476,902,980,852,1104,1226,1068,978,1036,977,1238,1350,1038,1090,1478,833,780,590,368,444,572,526,362,354,393,393,379,345,424,437,340,358,694,1011,1124,910,634,491,497,639,509,664,1102,1052,462,444,678,835,999,1158,810,503,746,1078,1023,825,752,1064,1082,988,791,811,865,852,731,548,539,745,805,558,798,930,915,1009,969,645,642,639,298,191,216,265,260,247,244,234,258,322,386,413,393,354,368,451,549,644,675,489,294,317,750,1098,2800,3912,3704,2110,1252,1100,1009,1158,951,1148,1196,736,769,774,847,932,1028,1046,1158,1210,1072,1074,1222,1172,1364,1656,1460,1208,1322,1216,955,1132,1468,1180,562,424,415,462,846,630,394,374,472,669,1084,1936,2128,2046,2148,1836,1282,668,381,341,393,401,414,479,473,404,380,407,550,849,949,750,627,491,397,443,428,360,331,365,367,343,369,414,437,438,413,397,403,408,511,742,784,549,386,579,868,983,1064,1074,1224,1322,1300,1230,1238,1298,1338,1356,1348,1198,1162,1242,1090,1076,1338,1642,2186,1450,1362,1264,1300,1436,1216,954,1046,1184,1268,1102,1046,1008,1174,1216,1262,1396,1736,1338,1284,1350,1524,1542,1768,2116,1540,1316,1186,1062,707,818,955,1290,1188,1288,1334,1350,1490,1472,1576,1294,1048,1140,1060,1056,1080,881,794,785,865,906,808,778,1011,1920,2056,1974,1274,1278,1368,1032,1012,1388,1428,1224,1252,1206,1786,1718,1422,1754,1600,1538,1456,811,502,973,1246,837,683,1146,1576,1674,1678,1466,1060,676,878,1202,1106,1070,1338,1048,1146,1232,990,1100,896,971,1010,731,565,1156,1610,1570,1290,918,698,802,1158,1552,1432,1212,979,1084,1438,1470,1094,625,783,1360,1256,1162,1034,1150,1168,1172,1224,969,940,1148,1804,1858,1016,479,500,535,497,686,1060,1280,1410,1328,1396,1152,1023,801,815,928,963,1108,1150,1040,830,1268,1126,1002,857,876,1068,1220,1234,1162,1072,1032,1000,977,971,1082,984,924,1212,1284,1262,1032,653,406,394,628,822,751,1150,1146,1054,969,655,728,887,1224,1568,1394,1268,1380,1390,1390,1378,1018,722,1234,1218,1160,1150,1108,1078,1008,1248,1258,1056,1172,1064,951,1300,1000,604,610,554,466,404,357,489,636,764,957,894,1238,1284,1516,1212,1274,1540,1490,1578,1460,1326,1382,1060,847,1262,1482,1434,986,1216,1200,852,810,692,737,1001,1282,1292,919,977,745,883,1406,989,511,712,1052,1104,1226,1236,905,964,1252,1150,1490,1600,1414,1274,1378,1490,1580,1240,927,886,961,1042,901,735,669,791,1162,1010,1206,1032,1044,1302,1366,1222,1242,1432,1454,1356,1210,1052,841,854,759,1108,1444,1322,1368,1554,1580,1672,1576,1692,1420,891,753,1320,1154,900,1007,1140,1188,1246,1174,1112,1248,1224,1044,1054,1202,1256,1432,1706,1698,1788,1696,1424,1236,1110,1128,1100,1034,1184,1278,1028,1060,1094,1456,1938,2002,1556,1336,1010,1110,1284,1322,1050,1194,1260,1108,1164,1500,1484,1354,1164,813,788,984,891,625,472,412,456,483,475,564,1007,1216,1244,990,553,429,516,1054,1230,1290,1302,1260,1304,1254,1372,1506,1448,1502,1616,1660,1410,1462,1448,1320,1264,1240,1086,793,747,915,1076,940,625,497,451,444,508,540,747,1194,1240,1232,1328,1198,1102,1086,1194,1150,995,1036,794,1054,1038,1290,1334,835,611,830,1088,1212,1278,1478,1230,866,836,613,547,518,547,536,496,685,752,846,804,611,678,704,600,637,739,1007,1284,1526,1458,1328,1118,1176,1272,1232,1134,1134,1074,936,1124,1200,1064,1130,1098,1122,1166,1110,1136,1240,1206,1200,1204,1122,1064,1336,1076,1228,1040,1036,1190,1148,1156,1030,1128,1048,766,918,801,965,1196,1078,820,1374,1350,1070,960,1196,1060,795,835,1452,1594,910,770,518,499,803,1007,930,832,929,1110,1080,1162,1278,1156,1248,1290,1092,1021,1432,1482,1178,1124,921,936,1074,1050,1498,1704,1378,1144,1062,993,1112,1118,1192,1376,1396,1322,1156,1170,847,837,1220,1114,1106,1230,1364,1048,1010,1180,1212,1072,897,1058,1294,1338,1378,1122,974,1036,1216,1288,1296,1464,1522,1448,1510,1454,1284,1274,1372,1258,1132,1224,1334,1266,1182,1116,1210,1332,1344,1378,1394,1092,1120,1264,1290,1368,1172,1158,1046,1146,1334,1282,1010,650,735,1092,1332,1390,1160,1032,1108,1256,1272,1154,1318,1536,1446,1578,1544,1278,1082,1102,1312,1414,1242,1126,1064,1048,1134,1202,1246,1328,1274,1248,1126,1296,1126,1128,1268,1740,1472,930,798,921,890,888,1400,1282,1074,1248,1434,1224,1346,1092,1262,1308,1252,1376,1382,1438,1358,1170,1144,861,940,1120,951,737,649,772,955,1344,1282,876,1032,1042,865,1038,690,861,847,1180,1046,706,633,478,391,503,461,343,502,727,799,1001,1424,1638,1578,1224,1238,1148,1394,1650,1264,1011,778,414,560,796,885,1246,1516,1242,745,634,854,853,863,921,734,598,1007,795,862,1050,886,634,542,818,749,664,662,531,631,785,825,708,915,1110,1190,1252,1160,884,724,555,436,375,368,320,322,448,378,360,376,299,262,409,588,753,927,741,591,441,536,805,810,789,559,478,464,703,757,807,772,587,853,1178,1144,1058,885,1090,1172,1318,1700,1436,880,846,1038,1228,1306,1560,1734,1564,1428,807,538,594,897,1098,1150,908,720,868,1252,1694,1764,1576,1158,834,1370,1252,1032,1058,1072,1104,1264,1132,915,1094,988,914,929,1126,1102,1144,1278,1474,1310,1096,1218,1360,1408,1268,684,1046,1146,788,749,1040,1246,1036,800,1108,1266,977,1116,1130,1342,1224,1106,977,992,1320,1444,1470,1314,1116,875,848,1662,1522,766,581,642,607,966,1122,813,952,1080,859,774,818,483,765,1216,1182,1136,1166,1288,1020,1246,1464,1028,666,879,1264,1412,1388,1342,1338,1534,1122,920,1102,747,368,561,998,979,702,839,928,866,777,893,1170,1056,1023,1096,1084,1120,818,927,1196,707,705,1084,716,807,909,993,1092,1150,1272,1226,1010,716,304,334,687,1015,608,524,576,842,844,519,563,763,540,269,318,398,518,774,558,444,514,424,503,865,1164,1016,1024,1170,1010,564,496,460,665,1530,1354,1410,1782,2048,1908,1620,1534,1390,1248,1212,1280,1448,1244,1106,1422,1266,1240,1162,888,1060,1072,687,577,617,615,644,1250,1232,802,777,878,1108,1224,1023,938,1072,1170,1098,1152,1182,1160,1296,1158,1364,1416,1326,1156,1028,1144,1360,1290,1360,1610,1686,1554,1290,1128,1116,1040,999,808,856,1066,825,457,433,458,412,436,712,712,383,313,594,684,646,591,594,944,1134,917,502,421,708,917,1013,855,702,592,506,720,998,1104,780,435,524,840,788,922,1148,1388,1498,1222,1044,781,790,1732,2170,1216,479,567,811,1108,1268,1350,1182,861,1230,1316,898,675,554,492,474,452,336,425,1016,996,1086,991,689,655,752,667,750,860,831,1048,924,706,636,836,1394,1350,1184,1174,1246,1330,1400,1464,1584,1390,935,1036,819,646,553,423,365,387,383,428,533,897,1262,1196,1178,1168,830,584,976,1056,788,789,1026,880,601,850,1138,1016,1262,1120,885,1094,1176,1302,1252,1212,1234,1206,918,831,997,1046,951,1218,1174,1152,1534,1272,955,823,998,1166,1021,1000,1000,954,700,607,565,478,514,471,477,484,499,565,697,926,988,728,378,508,973,1010,920,706,627,614,648,738,1036,1156,1268,1522,1504,1470,1428,1306,814,470,410,375,366,379,397,413,365,366,360,370,415,482,606,659,684,684,758,949,1080,1070,891,806,801,794,1048,1210,787,631,590,628,684,655,670,753,720,640,606,710,768,798,646,539,501,531,538,509,509,543,548,695,850,629,722,811,784,1384,1364,916,913,901,1248,1470,1250,1202,1470,1212,1100,1342,1460,1206,895,816,797,727,941,975,702,651,860,1554,1296,1060,739,462,354,364,616,1202,1342,1244,1416,1632,1750,1718,1238,727,491,725,1088,1324,885,433,583,475,452,685,723,714,463,358,379,350,308,322,407,479,500,865,1302,1152,831,680,1156,1318,1208,1460,1582,1416,1058,689,576,615,783,696,391,336,352,375,365,671,940,861,788,774,982,1188,805,701,867,1001,1080,1094,1260,1152,1030,1136,1066,1076,1096,1020,802,660,677,763,581,397,446,863,1186,1042,830,749,1082,1042,1150,1034,825,626,1046,1162,1816,2108,1396,762,935,1168,846,532,921,1196,1132,1178,1332,1454,1354,1484,1326,921,807,1032,1408,1282,1372,1556,1486,1450,1442,1007,660,575,691,932,1282,1192,1080,1454,1318,913,1068,1278,1228,1182,1228,1130,800,565],[727,677,509,465,465,577,475,408,607,642,472,764,625,929,933,1036,1186,1216,1198,1132,1220,893,567,570,473,372,324,314,290,249,271,311,290,272,243,231,293,341,653,872,792,1032,1088,784,461,363,352,328,318,351,379,371,550,479,443,464,569,578,486,426,404,581,851,551,665,1156,1242,910,726,747,535,504,629,848,970,888,824,714,1011,1244,1362,1352,1376,1120,1464,1007,527,596,576,486,346,377,390,364,458,968,1226,850,538,563,788,1128,1214,922,739,470,761,928,482,530,719,628,513,839,1098,1102,1054,855,765,432,380,650,988,933,810,1132,1178,1102,933,1072,1120,927,906,777,793,846,818,739,957,1028,1158,1110,965,717,827,767,302,259,277,261,257,288,299,307,354,412,407,371,364,402,551,599,604,642,850,576,310,477,954,1144,1752,2004,1328,840,1006,1262,1122,959,543,963,1284,713,715,948,674,646,929,1138,1194,1202,1216,1264,1276,1186,1474,1640,1416,1224,1378,1284,710,888,1028,662,426,487,487,788,954,616,487,389,426,569,910,1490,2028,2060,2110,1900,1015,564,446,385,372,368,367,437,432,372,349,380,566,909,912,877,813,700,567,589,517,380,395,418,349,345,408,379,362,357,423,499,502,522,528,740,804,525,495,713,875,1256,1356,1310,1542,1750,1376,1214,1248,1346,1386,1300,1146,1026,1216,1250,1246,1230,1150,1672,2044,1484,1272,1290,1198,996,1052,1258,1080,1432,1680,1144,1026,972,1116,1052,1336,1582,1702,1338,1084,1506,1930,1996,1786,1602,1390,1284,1274,1062,966,951,1090,1554,1510,1288,1108,866,1007,1532,1284,1154,1164,1094,1013,1082,1116,1054,932,789,1036,1054,869,925,1010,2068,2002,1840,1494,1660,1428,1021,1118,1316,1498,1548,1788,1378,1932,1360,930,1042,1166,1710,1710,860,563,976,1272,1396,1044,796,716,711,821,1460,1528,871,1072,1466,1098,951,1278,1350,1392,1066,1086,976,956,955,1236,938,806,1212,1308,1250,1292,997,512,440,504,849,1256,1364,1340,1378,1534,1470,1170,738,749,912,852,1168,1096,1080,1030,966,899,834,1124,1584,2084,1708,875,434,503,434,505,749,924,1092,1366,1354,1306,1236,1146,1138,1180,1168,1096,976,693,645,872,1130,1144,1192,1018,857,1042,1146,1086,1042,1128,1104,1226,1038,1090,958,1118,995,990,1056,992,741,381,382,354,491,742,847,1004,1108,1214,1118,924,866,844,1042,1390,1484,1522,1604,1566,1312,1116,717,594,1048,1160,1104,1116,1186,1224,1296,1144,1348,1354,1292,1192,644,694,530,355,529,767,913,767,623,764,1032,1058,1154,1108,1320,1338,1512,1286,1394,1456,1318,1286,1120,1098,1432,1698,1318,1310,1322,1236,1114,1286,1194,1266,1282,812,821,1118,1080,1124,746,625,532,1046,1240,897,751,962,1272,1302,1076,1218,1092,858,1050,980,1208,1158,1402,1388,1534,1326,1058,793,703,612,821,1012,1080,742,645,658,1100,1124,1180,1162,1212,1426,1470,1366,1090,1170,1416,1354,1108,944,950,1136,870,980,1278,1390,1486,1350,1324,1582,1670,1604,1268,1166,1252,1334,976,775,870,921,934,1150,1158,1082,1072,807,935,1054,1042,1246,1578,1686,1406,1218,1206,1206,1220,1222,1228,1092,1086,1208,1220,1220,1202,1126,1110,1622,1956,1476,1312,976,990,1146,1010,978,1132,1038,1038,1168,1226,1062,1042,974,854,905,902,744,498,449,475,592,667,531,788,1142,1226,1192,744,437,433,716,1258,1406,1402,1408,1336,1148,1098,1382,1526,1370,1194,1154,1416,1414,1458,1346,1148,1404,1500,1400,1040,853,1076,1072,768,516,529,522,667,693,832,1102,1088,990,984,995,1011,1152,1172,1212,1138,1062,843,612,716,1042,1312,1306,978,665,521,883,1188,1230,1752,1710,1348,1074,957,807,680,628,583,683,831,873,828,762,546,601,571,717,706,797,873,904,1098,1310,1206,1146,1236,1264,1306,1290,1114,940,852,1228,1258,1258,1232,1068,1120,1056,931,1224,1274,1490,1340,1136,1268,1026,1006,1036,1144,769,595,941,1154,1128,921,1200,1090,905,1208,1130,1294,1440,1092,912,1252,1154,799,862,1023,1032,943,1007,2024,2352,1428,745,472,478,585,760,1082,1534,1366,1274,1810,1872,1354,1180,1198,982,897,948,1382,1332,1104,1044,850,828,1108,1222,1592,1364,1246,1220,1036,991,1226,1238,1048,1078,1356,1494,1226,1016,778,790,927,1094,711,896,1268,1168,1036,1108,1208,1154,1040,1102,1378,1288,1154,1166,1114,995,1030,974,1114,1366,1334,1344,1330,1110,1076,1238,1196,1316,1434,1720,1514,1168,1374,1430,1438,1448,1190,1254,1448,1200,1194,1138,1164,1344,1132,1068,1142,1146,1198,1156,904,1032,1152,1260,1360,1656,1364,1136,1013,915,1074,1114,1021,993,1112,1520,1578,1396,1502,1268,1148,1252,1182,921,977,1068,1052,1194,1152,1062,1204,1264,1222,1218,1216,1266,1440,1530,1144,643,477,686,798,759,1106,1118,1144,1394,1656,1534,1208,799,836,1218,1428,1366,1178,1144,1534,1792,1516,1208,1022,831,607,560,672,839,981,1106,918,713,1015,1172,1110,1056,786,1024,1394,1003,459,419,498,537,452,486,550,498,539,973,1156,1124,1364,2264,2008,1214,897,1086,1112,1200,925,796,869,705,477,613,589,778,825,618,441,616,976,741,728,1116,1100,681,852,686,446,386,405,321,305,363,340,522,814,818,614,814,1017,1206,1472,1520,1318,1262,868,341,427,624,481,534,446,519,607,625,542,434,368,355,304,351,376,426,550,558,585,659,706,840,1288,1154,951,731,487,450,491,784,1040,979,984,1266,1136,1086,1013,1148,1138,1312,1624,1562,1192,1200,958,1007,1086,1486,1790,1580,1010,569,586,561,494,622,836,718,752,1001,1052,1094,1664,1644,1360,935,816,661,542,868,1036,947,915,633,927,1298,1242,1324,1166,911,1026,1260,1354,1194,1036,1110,1554,1340,1062,741,727,951,1012,692,616,875,971,908,692,1198,1482,1330,1050,871,1184,1416,1234,1486,1808,1738,1700,1670,1418,1466,998,900,1054,897,462,472,1023,969,1394,1584,854,861,1086,966,806,800,717,943,1294,1250,1284,1424,1278,1128,1270,1196,1001,993,1302,964,899,1188,1408,1292,1368,1458,1292,1198,947,474,544,896,1172,1490,1192,858,846,1148,1354,1076,895,1026,1005,1038,1346,979,741,724,438,535,751,767,1048,1146,1188,1388,1410,1314,1186,907,487,325,469,939,911,465,346,502,860,783,438,430,467,332,282,358,294,391,757,924,736,459,450,465,451,571,647,943,857,618,388,466,628,1242,1274,1638,1864,2206,2478,2002,1582,1558,1386,1362,1438,1510,1500,1416,1376,1514,1522,1210,956,1154,1266,983,700,995,968,828,656,1284,1160,750,761,927,1098,1072,847,884,1178,1216,1226,1184,1246,1236,1454,1398,1368,1290,1206,1198,1416,1588,1360,1278,1456,1544,1614,1400,1228,1088,912,879,741,550,652,734,577,325,352,388,420,354,479,594,456,393,559,946,1214,738,658,1023,828,631,486,486,721,811,828,720,752,689,538,583,814,1116,761,594,482,595,697,648,803,1158,1222,1078,1230,1148,811,1266,1678,1182,809,835,1058,1274,1346,1136,818,588,946,1334,1086,1058,877,757,621,644,813,575,1218,1580,1174,755,626,681,745,850,1012,1070,921,941,775,761,824,626,960,884,698,1012,1366,1094,1144,1512,1558,1306,1188,1170,954,884,640,374,326,349,362,355,492,938,1304,1364,1064,1106,930,814,1116,1224,973,765,1212,1324,819,749,1188,1240,1422,850,667,959,1428,1516,1416,1252,1058,1160,1028,857,775,1021,897,966,999,1348,1574,1324,1168,820,862,1250,1270,1108,757,686,728,822,885,1052,767,468,552,504,444,571,868,1224,1046,487,430,479,593,476,408,697,1056,1034,799,841,1108,901,1076,1248,1270,1324,1410,1384,847,459,388,373,354,339,423,517,411,373,342,351,361,361,437,513,582,643,664,632,663,858,1092,1088,894,919,1208,772,714,730,639,678,686,683,658,703,760,684,612,688,849,827,708,594,527,540,517,513,472,521,669,943,745,603,662,762,813,1232,1336,1110,1090,860,1064,1172,1348,1202,1310,1422,1344,1376,1384,966,846,882,626,487,669,612,857,1130,2020,2082,1472,1642,1250,568,412,408,631,1252,1280,1576,1636,1616,1588,1178,716,503,463,413,680,1162,841,417,534,394,432,636,936,733,703,606,367,319,328,452,466,329,340,590,1162,1104,665,532,949,1118,1152,1230,1406,1366,1180,828,507,489,709,972,775,447,408,421,478,754,873,873,821,1372,1080,844,544,467,655,1094,1232,1294,1384,1502,1290,835,871,960,888,736,764,648,545,629,588,560,707,1034,828,854,1196,945,1202,1104,975,847,681,814,1042,1356,2246,2640,1938,931,1330,1518,1394,1120,875,1017,1354,1456,1318,1110,1288,1526,1268,824,634,847,1412,1248,1416,1550,1390,1428,1224,771,544,624,924,653,836,1172,1470,1388,1122,867,1138,1438,1228,1294,1390,1320,1184,980],[955,862,454,368,328,455,433,398,701,580,525,715,716,619,690,1116,1406,1698,1576,1198,877,748,603,641,551,408,322,262,228,230,250,284,287,293,263,273,287,378,510,551,650,1010,1202,908,475,392,352,346,365,359,368,345,402,419,426,478,543,508,457,461,483,579,843,953,815,570,478,536,735,809,572,450,394,468,761,988,694,561,623,1082,1592,2004,2082,1566,1106,656,480,570,542,556,408,417,397,331,498,861,1216,1032,866,982,977,948,1030,808,853,471,610,750,544,520,743,738,857,1504,1622,1172,1094,1046,697,447,380,319,522,517,334,436,634,635,783,1086,1228,1334,1262,1032,1212,1318,1400,1284,1220,1146,835,606,387,438,740,525,357,265,278,268,303,375,400,396,400,413,412,419,394,408,582,635,669,890,966,542,414,753,1194,1388,1422,1044,511,908,1006,1064,904,984,677,886,1212,670,418,480,570,761,901,1108,1224,1238,1206,1310,1364,1590,1564,1228,1188,1256,1524,1334,1030,880,561,341,403,392,451,984,1004,749,525,521,657,738,722,924,1912,2164,1914,1870,1158,645,670,578,382,357,353,343,343,362,351,419,582,904,841,915,951,886,780,688,523,456,514,419,318,349,432,412,456,507,456,486,594,559,528,530,468,469,642,1000,1188,1408,1268,1300,1440,1482,1282,1224,1312,1344,1194,1110,1194,1030,1510,1578,1470,1388,1178,1202,1268,1246,1274,1202,1064,912,1106,1236,1060,1186,1350,1076,916,973,1252,1396,1548,1678,1732,1490,1328,1352,1396,1418,1714,1708,1690,1708,1626,1482,1432,1192,1088,1272,1382,1246,971,875,871,1298,1244,1328,1478,1240,956,1122,1178,1138,924,634,1007,948,842,875,1076,2070,2072,1888,1614,1538,1296,971,1090,1048,1504,2042,2032,1328,1460,890,514,528,695,931,796,543,664,985,1362,2176,1406,817,744,998,1072,1468,1242,891,1116,1366,983,961,1268,1550,1626,1094,1132,758,620,812,888,699,789,1114,1130,957,977,1178,987,658,773,1164,1226,1206,958,900,1086,1150,1340,1168,960,697,491,730,992,1124,1126,997,957,1064,1214,1798,2228,1400,672,477,498,451,473,695,684,593,650,776,852,979,1164,1288,1192,1244,1142,1026,1001,935,959,1004,1144,1316,1200,1100,1148,1172,1078,1104,1102,1488,1592,1266,1082,872,1032,873,719,872,1056,825,447,447,479,461,572,1015,796,864,1244,1324,1138,1001,1050,1094,1334,1262,1404,1416,1168,1048,1146,935,857,1068,1186,1202,1186,995,1110,1372,1296,1700,1408,1290,1364,901,643,814,917,756,834,1346,1258,1100,1140,1210,1190,1242,1252,1338,1626,1478,1017,1218,1238,1266,990,747,966,1142,1600,1548,1198,1104,1166,1194,1146,949,1172,1758,1476,996,1240,1128,1064,745,621,659,843,1036,1160,1192,1292,1260,1192,1088,1298,980,937,1174,1046,1028,952,1030,1776,2032,902,814,724,804,713,820,1108,992,736,777,746,788,982,1064,1094,1196,1278,1196,994,892,1090,1338,1302,1048,786,1030,1204,1068,1156,1462,1582,1132,737,1218,932,1358,1646,1494,1348,1244,1060,912,927,1094,1048,854,848,1014,1188,850,888,1026,998,1122,1286,1666,1716,1362,1278,1100,1296,1278,1122,1150,1102,1060,1086,1288,1554,1506,1466,1560,1342,1110,1108,1220,1040,948,891,926,1110,1130,1018,1072,1322,1204,843,766,626,769,763,798,675,484,568,636,847,805,705,1060,1156,1294,985,583,452,512,832,1356,1572,1408,1306,1112,997,1136,1288,1560,1358,1274,1306,1230,1334,1176,1128,1350,1588,1600,1452,1206,999,1102,1028,721,479,420,436,495,722,1120,1230,1120,855,596,880,678,708,682,712,796,777,617,657,723,914,1122,1184,1146,1006,722,1050,1028,613,986,1074,832,820,1096,1070,973,883,753,692,814,811,646,558,605,590,596,658,645,827,791,694,817,1088,1372,1182,1226,1410,1298,1376,1158,882,910,1300,1256,1252,1244,1076,1176,1368,1262,1238,1284,1446,1316,1240,1092,931,1042,996,1050,947,833,795,1094,1140,839,1228,1238,1174,935,977,1300,1448,995,719,1182,1278,1160,915,1030,1032,749,624,821,1354,1580,1050,430,537,667,936,1458,1856,1294,1026,951,1038,1082,1080,1144,985,977,1042,1152,1200,1534,1226,910,800,1064,1374,1412,1072,1058,1078,933,1052,1290,1240,1204,1176,1390,1356,1554,1007,914,800,724,1066,1158,1104,1244,1302,1252,1274,1152,945,888,1300,1630,1366,1160,1200,1226,1056,933,1110,1120,1072,1272,1318,1142,1034,1094,972,1118,1282,1326,1598,1368,1094,1260,1456,1404,1310,1122,1706,1658,1338,1260,1160,1096,1048,960,964,959,1044,1246,1322,1100,1290,1234,1162,1210,1380,1438,1216,915,875,1080,1366,1148,1142,1552,1562,1610,1602,1232,1082,1184,1178,1017,940,1178,1126,1118,1162,1130,1054,1240,1218,1204,1092,1250,1356,1428,1442,1304,697,471,426,582,822,582,778,1018,1088,1378,1474,1272,1048,1132,1184,1318,1516,1338,1344,1736,2104,1956,1592,1152,653,389,388,490,749,1416,1754,899,681,1182,1442,1266,1144,1170,1244,1003,609,516,420,439,600,492,514,825,883,913,1170,1240,1118,1336,1492,1288,897,545,951,940,719,514,452,704,863,522,357,411,380,357,360,377,407,525,398,591,847,702,526,722,671,379,375,453,421,403,432,495,683,843,960,1146,1354,1438,1484,1384,1298,1032,658,425,431,656,799,669,1184,814,814,955,995,915,558,495,731,602,521,699,806,755,559,650,1060,1110,906,883,828,753,850,711,544,775,1011,1334,1244,1036,1216,1252,1096,1120,1180,1296,1262,1150,1236,1007,1132,955,948,930,1122,1414,1096,618,647,610,356,397,595,867,898,648,738,881,877,1344,1622,1528,1019,548,610,672,863,772,651,803,960,1338,1326,1180,1256,1004,995,1284,1202,976,748,851,1170,1874,1198,938,760,719,911,1050,888,816,893,1042,979,529,1266,1672,1820,1546,1023,1142,1564,1462,1140,1132,1570,1510,1312,1360,1976,1562,1396,1250,1056,883,893,981,821,1098,1322,847,592,523,424,771,717,545,951,1364,1340,1148,1088,1114,1328,1400,1072,619,775,1162,1034,904,1144,1372,1100,1000,1316,1404,1382,1294,830,916,1170,1746,1788,1534,1130,902,1082,1182,1104,1116,1136,1058,1158,1312,1128,918,968,659,573,680,735,963,1222,1214,1362,1482,1456,1128,760,426,415,657,830,604,425,340,385,489,440,403,297,337,387,308,325,316,408,424,754,966,797,680,346,514,410,571,636,804,556,396,495,1096,1436,1434,1754,1884,1848,1818,1746,1712,1670,1736,1686,1542,1534,1322,1108,1108,1220,1560,1456,1150,1336,1416,994,868,1488,1322,875,717,1376,1394,943,806,845,1106,1190,957,1076,1346,1178,1198,1226,1394,1444,1478,1422,1302,1216,1166,1090,1122,1166,1068,1026,1182,1534,1694,1488,1264,1192,1020,914,995,858,681,579,585,598,421,275,351,349,419,769,775,517,567,593,692,516,424,623,526,496,667,805,777,542,492,647,672,583,413,606,1104,1260,1054,898,755,682,644,626,586,653,659,697,943,997,762,1054,1154,1192,1148,1060,1078,1056,1106,1030,773,493,952,1204,1066,954,788,792,686,816,1092,774,1017,1500,991,585,754,778,581,608,736,899,1074,1152,1130,1026,738,692,1096,1268,1498,1310,1218,1304,1216,1084,1136,1310,1392,1070,849,737,429,343,445,579,444,470,952,1344,1346,1058,1072,1544,1114,757,1170,1478,1208,1030,1236,1076,919,781,972,923,888,765,631,749,964,1260,1266,1132,1112,1034,861,698,850,1194,1218,1076,1218,1516,1428,1252,1130,761,697,1030,1088,880,894,761,844,954,901,1007,755,436,463,452,479,595,735,999,783,472,617,597,418,365,391,690,1140,1246,1344,1132,823,661,772,933,925,872,1204,1272,746,537,439,390,442,360,371,410,365,360,361,360,343,334,354,406,470,523,531,564,623,623,700,1136,1400,1388,905,662,944,971,701,587,590,595,614,755,800,745,693,710,780,697,616,594,555,547,544,558,543,543,784,922,819,708,658,788,888,1166,1738,1828,1676,1126,794,963,1346,916,879,1448,1572,1558,1372,761,886,727,693,921,987,929,1042,1904,2228,1230,1418,1954,1362,1158,1278,1005,786,1154,1612,2192,1778,1168,866,628,493,428,422,392,415,635,742,531,517,447,394,514,782,642,407,406,372,414,780,1186,760,404,579,772,1024,895,513,428,469,777,980,1338,1514,1588,1310,1164,822,592,998,1306,946,514,390,467,667,811,949,1252,1132,1720,1120,1032,1028,609,914,1482,1380,1166,1270,1220,998,529,659,846,716,568,530,409,708,909,706,582,1054,1350,960,585,908,1238,1344,1146,1054,904,1042,1136,922,1378,2172,2264,1598,915,1232,1422,1238,809,771,1476,2162,2354,2094,1704,1516,1056,1366,927,633,941,1394,1294,1482,1552,1406,1460,1294,747,500,572,645,634,859,1310,1252,1126,1098,858,1200,1436,1110,1194,1166,921,1158,996],[716,685,545,461,539,507,456,513,698,585,503,558,565,566,678,932,968,1188,1276,1244,1044,1018,677,465,455,423,390,304,234,238,273,313,313,293,261,280,335,362,588,731,594,857,1132,944,468,379,336,328,328,338,369,345,339,380,418,490,511,444,457,473,472,669,1188,1406,891,545,432,455,791,1028,1196,1072,634,993,1192,1274,1188,734,599,1140,1516,1910,1876,1246,663,373,388,543,429,365,324,361,394,362,1054,1932,1632,972,1128,1360,1058,705,808,897,590,322,418,392,367,363,490,847,1288,1482,1478,1262,1360,1118,689,697,496,316,366,405,387,553,705,956,1216,734,926,1010,1140,891,1062,1012,816,771,1007,811,357,337,331,345,501,772,815,469,318,351,379,404,412,424,437,432,426,452,429,430,483,545,545,601,609,725,947,1106,1252,1386,1426,1260,1058,1194,1160,938,955,1001,523,642,877,564,336,302,368,509,633,977,1178,1320,1276,1296,1078,1262,1310,1216,1352,1332,1256,1054,1150,1172,734,365,341,347,308,722,1288,1180,831,869,856,803,996,1094,1682,2028,1884,1720,1060,702,605,426,379,387,377,334,322,330,354,429,689,850,624,624,809,968,954,830,654,561,474,497,532,602,670,500,469,513,689,888,786,736,702,546,591,771,1066,1132,1250,1262,1258,1220,1282,1316,1236,1222,1120,1070,1118,752,789,609,943,1284,1336,1076,821,902,1162,1394,1312,1328,1204,934,1062,1188,1274,1252,1058,1056,1214,1164,1290,1204,1240,1498,1736,1330,1198,1134,1176,1030,1802,2060,1864,1996,1910,1638,1608,1236,1122,1300,1366,1300,1038,999,990,1048,1282,1584,1554,1218,1152,1194,1138,1122,1016,1156,1370,978,812,875,1318,2056,2228,2082,1610,1422,1266,1076,1104,1084,1366,1730,1716,1360,1482,1038,572,682,796,799,711,634,774,976,892,1310,919,1038,1248,1248,1380,1320,1478,1708,1180,1360,877,1015,1300,1712,1450,1152,1118,731,747,860,677,565,699,892,756,491,562,977,1092,744,711,1026,1140,1094,815,452,387,457,622,831,1368,1320,1001,1084,1168,1208,1208,991,841,960,1350,2140,1974,1270,822,537,433,387,396,531,568,508,497,527,505,845,1112,971,1023,968,918,1080,1210,1250,1182,1170,1224,1130,1028,968,958,1168,1190,1306,1180,1366,1438,1232,1172,1202,1196,917,967,974,1092,787,479,444,458,551,792,1052,1030,1052,1212,1382,1428,1328,1312,1294,1308,1214,1278,1080,914,1158,1318,1156,1082,1256,1154,1244,1094,944,1498,1448,1450,1576,1392,1332,1288,1118,1146,1154,1068,978,651,950,942,1072,1268,1180,1080,1232,1532,1668,1684,1176,924,1248,1378,1490,1082,849,1094,1092,1172,1290,1234,1300,1404,1522,1368,1108,703,843,957,829,855,1060,1180,1012,891,801,709,984,1104,948,1178,1130,1204,1178,1172,908,1172,1272,1036,964,1190,1538,1534,1410,769,836,957,1020,934,1070,1015,982,867,913,1056,769,666,559,982,1108,1150,1176,1220,1332,1216,1192,1112,965,1023,1062,988,1092,1246,1576,1548,1142,609,1012,1156,1284,1534,1666,1428,1218,1290,1198,1194,1021,706,766,676,771,899,796,1270,1350,1158,1326,1344,1748,1724,1316,1504,1404,1316,1188,1226,1228,1122,1060,1114,1404,1428,1346,1378,1516,1270,1254,1036,1122,1020,839,846,964,1154,1250,944,897,1040,1120,711,587,551,935,916,847,813,736,694,687,788,662,1072,1176,1264,1184,706,491,521,673,916,1422,1464,1284,1158,903,760,1178,1312,1628,1520,1418,1600,1444,1266,1054,1140,1618,1720,1396,1510,1300,863,721,717,661,528,419,409,437,450,406,497,725,656,648,1116,619,449,412,370,398,438,396,386,485,559,651,766,742,827,754,818,641,440,386,444,476,706,991,1056,1312,1426,1236,1150,1004,839,750,686,669,632,572,613,615,580,619,586,569,948,1214,907,1066,1214,1056,1042,1009,1028,1154,1250,1244,1284,1370,1478,1238,1224,1164,1256,1256,1182,1212,1488,1296,1142,1160,774,977,1158,1180,1062,1208,1366,1001,1260,2092,1938,1282,1110,999,1012,875,827,910,666,688,803,872,932,1052,1032,689,592,848,649,445,474,599,955,1556,1340,1042,1098,957,1030,1020,1090,1136,1186,1294,1172,1128,1172,1342,1296,1196,1102,1054,1448,1410,1112,1076,1160,1050,1030,969,1009,979,1112,1334,1296,1204,834,703,559,594,937,1232,1166,1182,1208,1268,1282,1354,1046,1260,1354,1416,1362,1168,1180,1360,1214,1034,1180,1128,871,1230,1250,1036,1262,1488,1390,1346,1390,1278,1244,1124,1050,1300,1410,1338,1454,1023,1832,1984,1296,1084,1058,1048,955,933,1023,949,1160,1436,1632,1310,1102,1050,1080,1086,1310,1352,1074,951,1108,1044,1182,1024,1178,1202,1220,1478,1594,1362,1220,1302,1278,1062,1142,1046,1010,1050,1456,1268,1096,1066,1042,1064,1242,1352,1242,1278,1182,1054,883,742,947,973,901,564,579,945,1282,1316,999,1046,1348,1232,932,825,1200,1290,1288,1324,1886,2166,1858,1388,623,406,449,480,417,877,1182,874,935,1276,1282,883,739,777,895,1192,1072,833,738,1036,1018,628,558,708,783,681,580,669,700,667,573,465,374,350,415,323,277,313,438,444,554,746,639,425,672,900,1140,973,553,724,485,328,403,650,906,1010,766,450,497,594,572,543,548,528,714,1086,1390,1462,1256,1136,1276,1276,1014,531,386,602,919,750,477,413,371,377,620,632,562,555,413,670,1078,1208,896,941,1052,929,590,1017,1454,1298,1158,946,798,642,556,687,874,1036,1068,1074,1162,1328,1266,1074,1060,1066,909,1292,1370,1422,1214,638,803,1222,1250,1054,1174,1188,766,756,806,739,492,464,698,853,926,780,762,1003,1242,1652,1748,1574,1366,951,1094,1110,985,594,388,427,863,1114,949,1023,1104,1290,1816,1982,1372,834,470,844,1694,1796,1160,957,739,747,1214,1284,1344,1366,908,1122,995,467,879,1356,1662,1540,1170,1478,1792,1594,1007,1176,1478,1024,860,624,941,1360,1378,1404,1584,1452,1438,1484,1270,1072,1144,966,588,519,692,1258,1450,1382,1440,1520,1306,852,752,959,1410,1522,1324,758,533,952,899,666,868,1020,1074,1234,1242,1252,1416,1404,1274,1480,1664,1720,1572,1548,1278,1068,1394,1412,1178,1052,969,1424,1636,1172,1238,1534,1400,903,891,970,690,955,1368,1362,935,1180,1442,1118,623,601,1064,1300,936,657,572,387,457,558,379,289,344,352,372,531,448,306,303,318,426,401,764,908,867,762,509,445,502,863,523,483,987,1440,1788,2050,1920,1656,1854,1782,2054,1876,1670,1758,1826,1716,1644,1334,1028,872,990,1296,1256,1048,1246,1400,1076,862,1466,1460,924,626,1226,1610,1054,785,716,1056,1292,1080,1160,1456,1322,1308,1302,1330,1406,1412,1476,1466,1250,1182,1004,839,1090,1078,1032,1158,1558,1698,1582,1510,1400,1224,1340,1438,1288,1128,849,744,876,491,302,383,382,477,750,704,658,838,543,552,428,462,622,571,491,644,976,973,561,547,837,733,480,354,526,1058,1030,1048,999,922,742,692,797,677,557,826,767,719,940,866,1192,1302,1270,1012,915,1128,1240,983,863,955,858,1544,1528,1278,1292,1366,1222,1270,1282,1038,820,672,973,1026,670,974,1070,782,441,673,1044,1074,1130,1114,910,602,789,1302,997,1154,1114,1042,1394,1430,1208,1208,1344,1344,1032,868,612,335,477,892,1216,947,1108,1542,1886,1344,930,1484,1610,848,523,988,1348,1106,1030,912,888,880,836,864,732,824,843,686,639,640,1012,1360,1074,950,1004,824,761,1094,1140,1088,1244,1430,1268,1052,1156,1016,1418,918,1126,902,655,1226,1196,1056,1048,876,684,489,411,440,457,633,969,1030,926,720,558,627,624,422,367,341,438,677,707,935,817,622,909,1160,1244,1102,974,1172,1218,743,699,606,417,394,402,340,354,361,351,332,318,318,320,334,355,357,376,433,446,523,645,630,777,1132,1120,720,664,749,744,611,589,526,512,659,856,820,754,744,762,726,654,692,646,623,597,558,508,509,569,739,648,616,659,638,758,922,1058,1416,2050,1908,1322,999,1188,1464,982,666,979,1194,977,976,766,852,545,511,1404,1500,1126,1092,1682,1448,1230,1818,1878,1322,1634,1876,1628,1260,1260,1750,1804,1182,755,578,506,453,459,455,394,407,458,741,937,700,389,397,484,730,877,529,349,350,641,1342,1194,595,586,777,810,951,990,886,680,550,642,656,1114,1458,1410,1122,1122,754,657,1090,1021,589,402,413,498,735,826,1009,1320,993,1114,1014,1242,1324,874,1162,1756,1746,1260,1220,1194,876,634,672,783,691,534,336,384,859,1344,1162,952,1772,2050,1644,1206,1148,1234,1394,1278,853,777,1126,1250,795,790,1104,1692,1836,1604,1100,1210,1034,730,1172,1982,2366,2436,2224,1924,1400,991,1920,1394,746,886,1058,1182,1428,1388,1490,1532,1278,875,691,1016,996,735,946,1320,1288,1346,1166,804,664,748,912,1014,1042,810,1078,1182],[901,914,802,614,661,583,466,576,709,531,456,459,564,611,561,619,570,730,1274,1260,1116,1013,606,459,385,437,433,370,271,258,276,290,305,277,249,260,305,320,551,807,673,885,1072,865,477,372,355,340,328,368,409,375,346,350,436,551,501,483,498,520,462,766,1224,1080,689,641,639,885,1072,1056,1748,1848,850,1122,930,889,1158,1052,1064,1100,1214,1552,1482,1076,575,354,306,293,322,247,263,314,331,464,1220,1952,1650,980,895,926,711,783,984,1172,684,440,449,349,405,292,458,950,1216,1172,1242,1236,1202,795,727,803,506,361,514,542,669,1098,1034,1036,1162,785,631,513,529,833,1082,867,814,816,901,588,323,340,298,300,467,1112,1450,1022,645,379,296,338,391,434,458,455,449,494,498,520,678,648,428,339,473,843,1210,1276,1222,1340,1062,899,951,993,1012,678,570,492,322,392,447,409,348,352,326,419,549,1009,1182,1180,1064,903,672,576,781,1084,1406,1656,1374,1360,1446,1490,852,415,429,367,309,778,1288,1172,1200,1019,607,719,1060,1266,1482,1564,1730,1214,698,930,776,543,387,428,432,390,417,408,437,454,786,854,553,512,547,688,986,1021,877,620,585,722,678,557,489,393,323,486,807,716,673,794,828,938,1030,953,1004,1140,1158,1076,1174,1168,1152,1286,1286,1178,1026,1116,1180,814,636,598,894,1058,994,954,913,724,901,1414,1552,1300,1066,1086,1001,1194,1312,1244,970,1204,1322,1070,1102,1328,1642,1664,1554,1466,1340,1188,1110,1052,1670,1744,1262,1742,1936,1574,1630,1344,1120,1154,1272,1438,1230,982,866,738,918,1356,1520,1328,1348,1208,1148,1224,1210,1530,1584,1340,980,878,1516,2024,1902,2098,1456,1406,1116,1162,1086,1192,1354,1926,1886,1608,1786,1126,645,678,820,816,694,639,831,976,689,500,545,1074,1206,1124,1526,1298,1820,1998,1354,1258,880,1104,1308,1550,1258,1110,1015,639,750,746,610,528,944,732,474,394,404,414,544,668,899,1028,1114,1013,960,636,847,742,594,656,1100,1400,1514,1668,1758,1620,1446,1148,969,1122,1558,2186,1524,1094,1086,729,518,439,377,429,562,573,531,634,483,600,952,896,1023,907,575,545,750,936,1090,1268,1244,1100,1038,742,634,826,1018,1170,1154,1302,1286,1124,1128,1164,1188,1038,1184,951,1042,763,536,435,436,659,1003,1170,1132,1120,1196,1252,1334,1882,1456,1220,1186,1068,1132,1144,1182,1338,1364,1234,987,1122,1076,1134,957,1056,1342,1676,1902,1622,1396,1296,1186,1030,939,905,1068,1036,527,502,783,1236,1382,1354,1356,1354,1426,1652,1708,1017,832,1108,1426,1410,1168,1218,1280,1118,1182,1310,1272,1424,1350,1466,1328,988,537,346,532,1146,1334,1322,1340,1052,943,1009,916,1116,1058,996,936,967,1328,1268,1174,1176,1380,1328,1076,1001,1062,1366,1274,997,794,982,1092,963,1154,1486,1206,1082,794,1060,1410,921,637,556,1034,1122,999,1260,1584,1406,1150,1132,1212,1128,1184,1236,1286,1210,1003,1146,1112,1032,724,860,1200,1144,1356,1738,1676,1536,1620,1346,1410,1036,861,878,998,1200,1188,1120,1316,1432,1508,1422,1484,1680,1412,1310,1422,1324,1206,1104,1190,1166,1108,1044,1044,1138,1196,1060,1110,1132,1166,1062,1052,1094,994,938,894,934,1212,1658,1318,1046,944,1001,775,589,565,786,830,880,907,921,918,669,536,829,1278,1220,1258,883,623,714,942,968,912,1086,1416,1338,1168,1284,1218,1104,1388,1540,1608,1542,1562,1270,1015,1080,1260,2130,2290,1582,1490,1534,1088,744,729,614,451,455,464,452,377,375,454,620,1066,985,1013,647,432,425,406,421,432,368,347,417,387,362,540,692,582,549,646,662,554,480,538,522,589,750,787,1334,1880,1778,2048,1256,786,1078,1048,933,847,700,672,597,595,612,552,497,499,556,611,822,1054,1284,1164,1110,1200,1250,1162,1100,1246,1394,1630,1356,1238,1292,1406,1268,1228,1120,1136,1224,1198,1110,774,1160,1208,1128,962,1034,962,766,986,1208,1098,1146,1074,634,590,803,1174,823,393,415,565,605,838,1242,1188,873,905,1011,828,753,697,744,1052,1438,1300,977,818,904,1216,1164,1036,1064,1286,1282,1266,1198,1252,1102,1152,1328,1310,1380,1472,1232,993,935,1202,1246,985,920,1044,991,1016,1220,1870,1682,1084,662,356,467,738,957,1072,1180,1188,1182,1394,1462,1208,1390,1478,1332,1064,1094,1208,1282,1060,1064,1062,1052,984,1136,1040,991,1104,1404,1558,1424,1390,1338,1130,1015,1130,1492,1258,1148,1332,948,1416,1758,1056,922,1144,1116,1208,962,1010,987,1234,1404,1494,1636,1464,1238,1176,1170,1278,1244,1050,918,963,819,926,863,926,1023,1202,1460,1602,1550,1250,1324,1274,1012,1020,906,1100,1122,1246,1186,1180,1024,977,1100,1278,1102,1144,1242,1168,925,811,974,1114,922,835,585,472,716,1272,1394,1013,838,888,907,1000,869,967,1152,1130,965,1324,1668,1780,1394,577,502,426,391,355,449,1005,1440,1340,1098,1156,1324,1108,406,494,969,905,955,1134,1144,874,550,487,442,433,458,324,326,330,308,444,507,377,381,435,409,430,393,425,399,399,718,885,476,910,988,897,549,544,788,485,343,912,1520,1392,849,502,338,424,461,438,395,425,359,507,897,911,744,569,530,808,840,439,329,424,659,1076,655,339,337,343,417,411,369,396,411,378,578,960,1200,841,588,597,727,931,1274,1518,1354,1272,1015,1270,1134,1032,1013,1274,1174,818,631,1166,1660,1402,908,848,1112,920,1126,1460,1724,1354,894,1068,1198,1240,1410,1246,806,730,999,880,683,527,656,849,1056,1288,1160,976,988,1156,1604,1686,1654,1880,1252,1346,1384,841,446,396,572,1062,1310,1012,947,612,1100,1344,1142,1124,1114,605,1009,1426,1230,1142,937,687,992,1320,1204,1376,1260,1094,1220,974,607,857,988,1036,869,568,1064,1472,1282,848,1332,1268,739,573,664,1112,1252,1190,1178,981,734,1184,1282,1126,1188,1272,1224,1210,975,1208,1356,1410,1860,1710,1438,1368,1274,1520,1734,1750,1572,1232,822,847,1042,747,526,636,656,893,966,1140,1334,1446,1392,1210,1222,1418,1322,1116,1346,1266,854,990,742,1042,957,1092,2210,1952,1366,937,709,572,547,820,861,582,864,1294,1416,865,1046,1232,1248,801,876,1590,1720,1210,1174,992,536,484,633,387,318,522,524,544,699,663,489,345,347,621,775,810,584,888,1052,795,533,452,458,431,857,1406,1776,2080,2000,1858,1866,2310,2382,2474,2008,1760,1780,1774,1906,1940,1584,1310,1058,962,1074,1052,1188,1136,1044,980,825,1150,1250,902,647,1098,1664,988,758,661,980,1284,1072,1290,1408,1238,1316,1404,1368,1554,1482,1402,1198,1036,1018,1015,1130,1212,1244,1120,1154,1516,1714,1680,1540,1344,1254,1494,1494,1378,1142,747,732,750,519,393,346,337,377,484,341,566,1042,1052,869,593,639,825,609,338,480,696,689,466,708,1138,1034,528,538,642,594,714,1016,1054,986,949,824,605,825,799,1206,1068,1208,1122,769,907,1144,1222,1023,951,1188,1046,501,717,1444,1760,2244,1892,1670,1808,1614,1376,1400,1208,1068,1112,670,864,1048,1114,1406,1144,1013,982,904,940,1094,823,1078,1298,802,730,1070,913,895,872,1028,1332,1394,1286,980,924,1312,1330,1138,970,669,905,1272,1534,1592,1554,1288,1066,601,570,844,749,529,789,1334,1216,1418,854,582,739,837,1210,1434,1180,1070,921,675,921,984,1038,1632,1258,1096,1178,1084,937,992,1268,1402,1212,1052,749,727,783,1224,1582,1130,1052,753,857,1160,1068,1162,1122,930,528,420,386,337,653,824,1028,1284,928,799,660,515,539,479,361,333,339,361,481,692,634,869,1160,1248,1340,1204,1234,1364,1164,986,880,754,459,374,387,347,339,343,344,330,323,316,344,339,337,331,336,364,443,507,506,504,558,654,634,465,512,531,544,494,527,545,594,683,773,785,795,799,755,667,638,642,606,614,594,537,537,531,656,669,479,501,509,521,719,901,927,828,2106,2192,1788,1648,1592,1580,1096,827,897,846,609,518,724,714,504,360,561,886,1030,1360,1372,1212,1516,1554,1026,951,1250,1488,1350,1230,1400,1454,993,611,449,435,493,585,477,462,403,403,402,505,788,702,398,414,664,855,963,805,479,343,495,777,634,525,645,890,995,884,890,656,453,498,597,798,796,963,1300,1250,884,644,794,892,589,339,456,747,670,720,825,778,1044,1130,895,670,825,1032,1196,883,615,937,1096,1546,1660,1388,855,539,554,556,517,408,406,648,1340,1186,1644,2110,1824,1418,1738,1738,1426,1414,1316,1160,1066,808,1172,1062,761,951,1498,2206,2066,1716,1314,772,738,1108,1896,2174,2110,1896,1816,1268,1422,2012,1664,1028,1000,1124,1288,1204,1070,1318,1466,1242,854,828,1052,1176,1080,1182,1212,1026,1078,969,689,490,523,485,758,1042,1000,1070,1278],[1170,1160,675,509,748,695,464,664,924,727,784,711,712,1012,1180,865,783,1096,1308,1116,794,852,664,570,508,515,450,370,284,283,303,329,326,278,252,264,287,294,446,727,543,606,997,833,474,361,349,334,322,348,416,394,330,368,483,589,598,659,682,584,449,489,774,1016,991,943,957,1268,913,853,1204,1266,730,644,581,741,1064,1270,1288,834,915,1448,1460,1220,713,626,604,413,291,271,294,314,317,454,1122,1764,1678,1228,998,601,380,681,1042,1046,694,749,694,448,543,387,347,580,1030,1418,1430,1240,969,670,692,544,343,403,596,511,601,999,1232,1096,1030,964,572,326,330,745,1116,1034,910,659,836,650,598,670,515,388,469,930,1184,1110,943,445,350,369,407,427,436,471,482,524,481,479,736,792,439,329,413,655,1036,857,664,508,261,352,458,485,443,322,247,314,358,373,365,535,625,755,504,450,608,1028,1224,1096,790,542,340,488,645,1144,1380,1524,1262,1122,1042,998,685,477,414,359,508,1036,1168,1256,1038,871,681,992,1262,1274,1392,1810,1880,1017,728,779,849,497,412,431,380,361,395,459,510,525,826,855,535,535,531,542,618,932,1052,895,646,646,600,442,479,509,474,739,803,572,642,778,783,846,921,918,976,1128,1178,1018,961,1226,1488,1566,1312,1374,1446,1354,1352,1262,1042,1088,1348,1250,1104,1142,1236,1012,962,1186,1012,918,1134,1180,1082,1122,1062,917,814,1044,1114,1058,1022,1222,1548,1704,1390,1412,1310,1172,1226,1174,1482,1948,1400,1478,1458,1262,1456,1576,1372,1346,1424,1462,1354,1150,856,709,707,829,1344,1452,1330,1206,1238,1224,1192,1160,1134,1011,610,716,1402,1806,1572,2188,1510,1378,1015,1080,1106,1170,1466,2132,2032,1750,2032,1252,1126,1248,1086,888,717,668,852,921,603,346,608,1368,1502,1372,1440,1346,1910,1534,1104,962,1112,1130,1092,1518,1376,1130,959,529,540,623,869,930,1266,792,411,390,377,391,509,766,829,875,1180,1332,1544,1310,1426,1664,1428,955,747,900,1146,1338,1484,1516,1526,1320,1256,1270,1360,1378,937,689,807,788,643,572,574,725,763,567,508,462,416,475,602,502,766,984,796,511,514,545,691,1076,1318,1262,1070,799,678,886,1142,1150,899,961,1028,1104,1204,1424,1256,1218,1316,1400,1092,841,1072,1246,969,744,1022,1310,1446,1360,1428,1338,1336,1298,1034,1100,892,566,730,960,1166,1186,1170,993,957,1040,1010,1034,1048,1262,1324,1234,1232,1074,1040,1064,1172,1007,742,990,1436,1068,691,689,974,1284,1182,1178,1390,1306,1454,1626,1588,1162,1228,1286,1284,1124,1106,1180,1064,1204,1268,1334,1094,1338,1458,1368,1134,773,718,636,600,949,1166,1274,1134,1026,1274,1090,989,1154,1060,908,879,831,835,862,805,828,974,1140,1230,1248,1370,1172,999,875,979,1150,810,420,1092,1636,1268,1084,998,1190,1428,927,875,824,918,926,847,1072,1170,1128,1230,1288,1260,1160,1278,1324,1344,1460,1080,1182,1290,1166,1048,1158,1372,1248,1230,1494,1648,1380,1320,1514,1438,980,908,974,1002,1124,1138,1118,1240,1210,1218,1290,1588,1588,1310,1222,1114,1218,1322,1178,1154,1184,1092,1030,1050,988,944,931,973,787,824,976,1012,1250,1504,1180,687,722,822,1182,1280,1120,1188,1296,982,579,555,727,791,959,872,895,725,642,836,1230,1284,1308,986,628,786,1076,1158,1268,1154,814,993,1226,1282,1338,1228,1146,1230,1400,1526,1506,1274,900,1296,1548,1092,2090,2924,2534,2276,2370,1426,962,1284,762,477,444,440,433,461,795,717,871,1372,1208,1202,795,434,450,400,469,512,475,410,370,292,407,1062,1292,1156,1108,1012,753,623,495,508,497,478,481,459,653,796,1074,1524,943,587,861,1144,1314,1240,1120,909,942,943,834,806,684,595,602,619,529,1054,1736,1306,1216,974,1136,1052,1108,1354,1294,1300,1422,1318,1304,1310,1194,1204,994,1068,1016,1244,1328,1028,1218,1272,1212,1016,1152,1032,915,1176,1176,1250,1182,879,491,602,940,1514,1190,646,506,497,614,910,1094,1098,1090,1058,1144,1252,1132,1122,998,1078,1204,994,846,651,516,706,698,932,1011,1096,1144,1178,1186,1198,1290,1278,1168,1214,1520,1466,1102,990,996,1044,1112,1140,1126,1252,1274,1080,1412,1946,1350,906,656,663,703,916,1018,1068,1168,1264,1714,1788,1222,1064,1182,1222,1372,1154,1216,1308,1048,955,893,886,898,931,1056,828,719,1060,1224,1196,1244,1078,999,907,863,1082,1282,1192,1176,924,656,907,1288,1046,980,912,933,1164,822,783,952,1168,1280,1250,1298,1248,1166,987,1016,1096,1130,1042,983,1048,1222,1138,894,939,1132,1324,1338,1482,1626,1500,1248,1326,1230,1042,909,1138,1280,1096,1062,1072,1138,1072,1078,1218,1042,1170,1266,1166,1098,1064,1148,1007,833,700,471,585,1052,1186,1222,1402,951,824,1214,1510,1450,1242,1244,1450,1428,1230,1186,1324,959,1162,774,480,610,512,452,844,1284,1182,753,678,921,999,608,711,855,859,975,870,667,771,781,585,526,461,637,526,826,910,486,417,508,488,532,428,366,466,720,1028,626,426,455,586,323,296,480,681,733,675,584,353,277,501,908,1108,632,424,427,386,356,355,302,513,611,487,457,582,799,904,947,913,931,567,443,433,731,902,595,492,710,720,545,439,558,454,506,414,370,536,725,609,410,375,387,438,707,1306,1562,1312,1520,1760,1472,1252,990,1142,1438,1042,545,806,1210,1522,1268,1130,933,1176,1322,1406,1356,1262,1306,1366,1446,1482,1176,865,774,636,628,535,455,840,1154,1304,1408,1366,1124,1021,957,1054,1126,1464,1808,2218,1360,975,885,462,392,630,903,1370,1796,1354,1332,605,742,1248,1628,1770,1344,800,921,1110,1010,1036,1110,1140,892,581,949,1552,1888,1968,1822,1626,1492,1332,1072,973,731,513,802,1376,1074,810,1194,954,662,501,898,1476,1370,1310,1076,872,825,1204,1304,874,891,894,697,802,1036,1268,1228,1308,1446,1506,1604,1582,1670,1778,1648,1544,1548,1406,1234,1174,837,538,841,1048,756,1011,1200,1294,1348,1326,1496,1250,868,941,887,968,1346,1176,899,1242,864,1220,1312,1270,1662,1788,1436,905,594,520,452,430,481,737,928,1326,1176,836,1032,1574,1632,880,735,1040,1350,1264,1300,1214,750,467,507,325,251,438,522,698,308,363,501,413,360,599,782,855,428,335,687,976,932,670,499,816,1362,1484,1516,1676,1496,1686,2030,2088,2040,1956,1728,1660,1520,1246,1166,1202,1054,1112,1002,969,1026,1106,1120,977,1010,954,713,783,1016,950,692,1004,1634,844,578,656,937,1160,1030,1040,1322,1356,1300,1434,1276,1210,1346,1454,1216,894,1020,1172,1294,1268,1246,1200,1250,1406,1636,1456,1310,1266,1116,1286,1576,1554,1194,675,513,617,920,855,512,373,374,391,333,448,855,1124,1076,657,455,561,385,281,368,355,317,326,452,850,860,778,898,641,437,696,1064,1134,1242,1180,1094,991,1286,1068,998,1268,1572,1168,813,787,1100,1538,1160,1142,1112,1166,1005,1556,2066,1834,1726,1670,1640,1476,1256,1548,1158,831,926,1244,1110,1007,812,1028,1144,1244,1382,1422,1292,1058,1194,1732,1990,1288,991,860,1007,1176,993,740,910,1224,1250,1098,907,820,1060,1128,1224,1200,1020,1306,1532,1448,1736,1594,941,596,442,814,1028,521,428,706,830,1182,1460,993,547,505,616,1058,1462,1122,984,925,756,864,986,1764,1438,905,929,1064,1094,937,816,910,1460,1494,801,741,742,741,1144,1092,849,687,672,1026,951,682,760,1004,998,610,405,394,545,1548,1566,1466,1532,844,693,547,444,549,486,370,367,324,299,361,431,616,1118,1322,1376,1432,1400,1290,1376,754,711,736,528,427,411,360,375,374,362,351,372,357,364,357,345,332,326,334,337,383,428,421,435,457,512,568,560,495,486,484,516,528,524,508,563,750,724,802,742,749,720,639,583,555,590,589,550,530,583,735,565,489,544,508,490,807,991,865,1138,2020,2004,2004,1946,1482,1372,950,813,1092,702,507,458,655,769,730,577,598,745,1208,1718,1220,1210,1234,1224,993,662,860,1202,1566,1842,1638,1076,556,419,429,437,484,666,429,364,435,420,428,419,369,312,453,682,732,880,1262,1104,468,342,340,457,771,877,977,1036,750,563,726,455,552,973,1026,1102,1206,913,978,1264,1080,825,758,775,442,354,517,697,593,604,797,826,911,994,711,497,411,574,836,762,556,489,888,1324,1426,1346,1138,1056,944,698,575,448,520,703,905,1128,1786,1582,1013,1356,1952,1500,1122,907,1140,1358,1362,1266,1046,718,785,1116,1548,1640,1648,2070,1566,1032,810,976,1478,1758,1688,1594,1700,1710,1908,2076,1688,1180,1166,1298,1482,1128,788,750,1015,1324,1094,1036,1017,776,1092,1376,1334,1224,1126,1224,990,651,577,775,1020,1178,929,490,635],[808,558,682,1170,1096,825,819,1042,1156,1232,1450,1007,1142,1886,2076,1066,724,998,1180,1268,1007,1080,784,604,532,508,488,419,321,262,256,285,296,267,246,237,241,261,383,633,658,658,1005,987,554,326,312,305,326,333,404,412,521,678,744,788,807,984,1072,847,599,402,586,756,1000,1140,1442,1364,862,1006,949,802,854,838,619,936,1418,1412,1488,901,727,1010,1364,1324,994,965,904,534,277,283,264,333,527,420,688,817,1148,1560,1396,715,369,442,747,1086,924,962,655,671,589,807,841,663,1230,1802,1472,974,717,747,913,704,393,469,677,627,451,661,1198,1094,944,984,806,665,620,579,743,1176,1080,640,692,750,909,1026,750,596,730,697,844,821,644,480,467,418,445,439,471,551,606,520,405,394,592,711,428,377,455,794,1172,600,357,386,324,315,360,404,464,398,345,393,331,307,348,469,653,755,555,556,672,626,836,931,744,830,472,618,551,758,823,747,714,685,688,706,754,634,414,437,650,1160,1150,1214,1106,946,922,1148,1130,985,1156,1498,1376,1024,913,500,597,551,424,328,328,388,386,465,507,645,998,740,552,590,571,593,458,633,894,1098,897,603,565,525,524,670,727,678,556,461,550,749,819,763,637,638,733,1032,1192,1052,1122,1146,1338,1406,1258,1476,1344,1023,1028,1156,1300,1384,1394,1582,1894,1400,1266,1348,1172,1198,906,930,1166,1040,907,1036,1021,1064,783,739,1134,1226,1138,1312,1606,1580,1650,1886,1494,1274,1244,1410,1514,2170,1758,1582,1622,1848,2002,1886,1756,1472,1236,1216,1300,1420,1180,904,772,572,892,1472,1494,1464,1318,1180,1394,1178,807,793,633,818,1290,1578,1824,2248,1696,1404,1108,983,1090,1140,1524,2238,2164,1844,2110,1640,1834,1776,1322,999,802,708,930,994,715,576,623,1160,1054,1078,951,1420,1448,1156,1214,1010,1304,1194,702,988,1021,1166,1020,822,854,797,750,990,1248,843,467,419,343,390,668,984,665,744,960,946,1184,1594,1734,1774,1416,946,836,839,714,618,818,1072,1188,1288,1482,1404,1080,985,826,733,956,1130,990,875,846,1124,1444,1084,631,474,435,459,433,460,562,754,842,504,684,661,618,788,1070,1098,947,894,988,1072,1184,1134,1058,1372,1094,996,879,822,960,1076,1164,1394,1228,1034,1462,2034,1166,574,967,1254,1384,1140,1484,1478,1200,929,944,922,845,739,904,785,969,1130,947,1180,1110,1002,1028,1100,1162,1310,1124,930,1212,979,825,961,1144,1009,982,1164,1348,1010,754,956,1166,1136,1060,1052,1246,1238,1426,1636,1376,1432,1332,1076,1152,993,1028,1110,1120,1346,1310,1256,1058,1162,1432,1498,1084,594,601,658,790,968,933,1100,1012,792,1006,798,916,1188,912,874,1158,1068,808,887,561,592,755,1334,1268,1390,1542,1058,764,1422,1876,1470,969,763,696,1068,882,1088,1288,1208,1170,806,985,1102,866,828,990,1158,1076,1030,1192,1294,1094,1036,1276,1340,1284,1166,887,970,1208,1118,1222,1358,1274,1244,1126,1324,1470,1302,1262,1326,1238,972,967,1050,998,874,1206,1204,1010,1060,1330,1440,1610,1552,1256,1238,1212,1180,1170,1116,968,1082,1058,1002,1184,1172,905,834,963,899,844,932,941,1230,1412,1224,794,691,843,1120,1188,1202,1420,1236,694,502,697,763,851,944,921,905,738,796,1158,1258,1258,1082,698,687,872,1048,1210,1180,1416,1368,1188,1100,1160,1184,1128,1156,1224,1338,1498,1374,1238,1128,1794,1692,1086,1820,2854,3082,3042,2758,1620,1118,1620,1324,1148,643,634,489,458,990,785,837,1202,1372,1218,729,451,475,455,504,515,797,619,412,544,818,943,1108,1420,1598,1374,790,639,509,572,785,925,802,462,323,343,416,455,447,517,948,1314,1324,1144,1174,1126,1024,1018,1128,1196,1092,1052,780,795,749,999,1258,945,976,1007,1100,861,1050,1190,1180,1294,1340,1262,1262,1290,1304,1156,805,832,813,1212,1374,1356,1230,1152,1208,1096,1020,983,873,935,995,1118,927,647,702,971,1114,1500,1350,921,623,549,708,918,952,1034,1058,986,1001,961,937,1064,1072,1136,1032,927,1010,729,409,506,667,902,975,1058,1130,1088,967,1021,1250,1350,1418,1342,1604,1432,1358,1254,1030,1126,1238,1134,1064,1050,1158,1168,1116,1300,861,816,966,1024,981,998,1068,1064,1094,999,1182,1440,1020,860,1296,1126,1142,1404,1468,1384,1256,1218,1064,1258,1262,960,1096,1034,1018,935,1060,1110,939,1140,1486,1302,1015,1100,994,964,1106,914,675,925,1460,1150,946,930,858,858,744,1120,1470,1316,1398,1552,1384,1144,1032,1058,938,825,875,994,1072,1100,1190,1110,1062,1246,1194,995,1114,1626,1648,1582,1220,1346,1414,1198,1048,1062,1090,1017,762,801,1328,1194,1266,1312,1354,1362,1132,1062,1272,1302,1162,1016,817,553,630,897,908,725,971,1232,1072,821,1204,1614,1378,1306,1466,1438,1432,1202,1064,746,671,1082,692,527,652,451,393,535,716,760,518,360,394,893,948,674,527,866,1148,1084,843,835,790,597,872,1232,1118,924,1310,1336,754,529,603,700,650,458,433,552,808,880,675,472,454,472,371,325,482,835,880,684,665,553,524,1302,1628,1290,904,919,877,522,366,398,477,649,766,602,481,858,1204,1610,1646,1416,985,539,383,472,1110,1460,798,444,612,991,690,458,412,437,578,552,562,614,828,982,942,781,524,519,542,912,1382,1004,1018,1410,1610,1268,810,955,1268,1192,960,1048,1316,1748,1588,1044,765,1102,1264,1146,964,1012,1426,1742,1546,1278,656,522,880,665,546,541,649,1044,1504,1654,1736,1698,851,1000,1026,979,727,1328,2004,2228,1670,974,441,388,423,541,939,1166,1310,1300,1130,784,1024,1148,1009,1082,1050,924,943,1104,1048,1204,1316,1224,1030,781,1050,1654,2042,2358,2522,1810,1414,1414,1166,1068,832,621,760,1182,962,1023,1072,725,664,499,615,1050,1070,1082,894,787,1076,1308,985,637,1007,880,452,583,681,586,915,1210,1266,1470,1516,1636,1678,1654,1502,1260,1518,1748,1390,965,766,841,1346,1256,953,936,1176,1238,1128,1278,1560,1122,811,690,810,938,672,649,791,890,766,994,1007,844,1102,1328,1286,1216,1114,927,503,391,494,791,937,1274,1300,1106,933,1102,1258,810,979,1258,1218,1226,1216,1062,672,352,480,402,273,575,823,455,343,533,641,496,499,356,545,598,458,483,540,642,852,1106,998,1122,1020,722,760,891,1098,1288,1418,1300,1242,1350,1542,1562,1260,977,989,1038,1378,1424,1184,1150,1120,1250,1296,1384,1666,1466,1040,1096,1332,1082,709,1036,1328,639,384,538,862,1152,1104,1088,1520,1556,1512,1450,1186,1056,1262,1410,1220,989,1020,1242,1348,1362,1306,1448,1426,1568,1626,1394,1410,1364,1054,1178,1366,1340,1258,943,750,861,1520,1172,471,365,397,373,385,567,764,1084,1382,967,545,355,240,258,408,363,287,301,485,883,879,965,694,528,622,675,912,1130,1438,1338,1154,954,1068,1234,1240,1316,1286,1136,1100,898,744,1040,1005,896,811,1186,1296,1642,1632,1332,1620,1726,1472,1196,946,1002,1058,1080,962,1154,1124,836,846,993,976,1114,1376,1388,1162,970,1110,1704,1456,1100,1080,1132,1118,1072,876,551,642,770,892,805,1194,943,966,1094,1272,1208,1368,1532,1238,1174,1422,1554,1120,618,601,1007,1384,741,365,471,490,795,1520,1510,660,443,495,571,732,545,480,702,849,988,1754,2332,1610,814,634,957,1058,1332,952,738,1390,1266,843,783,634,616,764,745,766,1040,923,792,665,948,765,707,849,617,449,415,664,1188,1246,1278,1210,1058,791,625,463,526,463,357,357,376,360,340,407,720,1290,1438,1340,1404,1362,1370,1144,571,543,505,365,355,375,365,364,353,352,355,352,355,365,370,361,338,335,342,336,322,345,342,371,380,410,499,596,531,473,484,532,527,508,557,752,880,825,866,770,891,811,634,554,532,576,594,561,537,678,725,463,473,647,576,648,910,871,896,1396,1934,2334,2454,2132,1360,1044,638,630,693,440,419,510,677,777,846,1011,1252,775,962,1216,1126,1400,1316,1312,1314,905,807,1166,1446,1272,842,545,398,393,435,472,494,433,341,379,425,512,596,659,703,372,346,400,583,630,658,391,280,358,572,1080,1158,1134,1410,962,544,628,810,583,787,1144,1090,1194,1388,1288,1180,989,1152,1470,1036,626,434,522,644,667,628,782,1112,1005,782,843,671,750,871,736,901,1132,902,816,1096,1180,1180,1064,928,826,843,669,495,379,417,545,728,1622,2148,1598,1178,1770,1624,785,930,689,927,1192,1400,1448,1026,852,774,601,683,658,664,999,1009,1036,1022,1072,1160,1488,1362,1168,1160,1190,1342,1260,1042,1146,1186,1416,1192,962,637,460,626,954,1108,1496,1314,636,1116,1196,1140,1234,1068,1340,1356,1124,977,1238,1308,1064,957,433,448],[621,276,601,1028,892,731,948,1192,876,933,1090,698,813,1594,1754,928,568,720,1088,1148,912,916,841,590,446,433,435,441,376,283,256,269,268,259,253,246,279,297,374,510,512,667,1154,1318,859,419,344,292,297,348,463,607,894,1048,1200,995,680,754,733,667,686,560,735,633,991,999,1268,1144,760,640,672,824,836,858,733,1028,1300,1350,1186,688,918,1494,1426,1144,992,895,937,667,357,304,234,331,646,443,401,525,879,1158,1076,728,713,767,821,937,553,549,657,1036,1036,1082,1090,1100,1360,1328,908,738,714,1052,913,426,314,376,633,750,726,882,1094,1126,1086,759,806,721,496,392,661,1394,1272,656,637,765,792,894,759,893,972,1056,1368,755,713,634,495,500,583,697,838,1010,797,413,398,401,378,386,480,935,739,1146,1306,660,382,319,276,321,348,368,477,525,499,378,290,276,362,435,462,409,369,526,733,433,536,772,863,899,882,918,594,526,411,393,711,922,525,309,318,400,283,404,826,1110,1078,962,949,976,1136,1186,957,830,1024,948,770,788,851,515,472,440,308,328,486,495,377,491,510,643,1044,744,508,556,577,530,520,515,586,816,927,787,627,606,650,824,738,447,409,402,419,602,771,834,826,706,912,1252,1230,1148,1268,1134,1456,1394,1292,1440,1232,888,719,837,1186,1322,1288,1698,1852,1342,1428,1534,1516,1460,1362,1224,889,1046,927,1004,1108,1212,998,1016,1066,973,994,1360,1608,1362,1478,1690,1154,1202,1362,1926,1658,2094,1814,1548,1814,2242,2008,1814,1570,1216,1310,1278,1548,1858,1416,1250,1238,841,1122,1598,1624,1528,1178,1332,1544,1124,817,1038,1208,1132,1456,1918,2652,2492,1678,1418,1178,1024,1128,1204,1498,2114,2118,1992,1982,1478,1392,1800,1448,899,1090,1218,1286,1001,560,502,586,905,677,573,1082,2288,1996,1184,1058,1034,1528,1374,965,846,647,1086,1168,968,1036,905,633,920,1128,719,557,557,400,411,518,512,375,1014,1162,711,871,1514,1718,1508,1252,1058,912,916,763,679,720,894,1034,1114,1276,1410,1448,1430,1256,865,791,897,1072,1272,1290,1364,1578,1250,1110,974,655,453,532,966,1262,1062,625,579,656,697,714,812,880,890,894,929,1226,1298,1182,1132,1238,1254,1056,1028,1086,991,880,952,1012,934,937,1040,1240,1460,1040,801,1162,1106,1094,1260,1382,1396,1136,1060,1028,1028,991,1102,917,856,951,1096,949,1080,1064,991,1008,852,1001,1122,769,669,853,883,999,1162,963,959,1212,1280,1122,787,578,690,724,591,902,1210,1066,1216,1536,1530,1306,1424,1186,1082,1226,1044,857,710,1116,1164,1438,1350,1198,1238,1272,1278,1282,1130,799,491,750,1015,617,951,1110,1270,1178,639,772,1088,1070,1242,1318,907,989,945,893,965,1028,1068,1126,1230,1360,1144,1114,1828,1968,1606,1078,1023,670,675,522,1182,1484,1190,1068,839,974,925,806,1030,1188,1138,1098,1260,1050,1086,1194,1180,1312,1272,1140,994,879,948,1316,1260,1312,1318,1364,1298,1238,1376,1236,1324,1598,1454,1274,1030,989,1072,1124,976,1492,1194,865,1003,1194,1312,1610,1418,1084,1064,1030,1082,985,1072,1002,1064,1158,1186,1160,1064,984,907,819,752,824,935,976,1204,1112,969,851,971,1146,1188,1152,1140,1384,1100,711,636,807,803,1013,920,882,859,863,1084,1262,1282,1238,725,721,1022,1316,1228,1098,1130,1312,1372,1386,1124,960,1166,1162,1108,1294,1390,1272,1064,1726,1372,1424,1530,1322,1614,2312,2946,2906,2122,1456,1164,1766,2182,1600,1108,846,489,455,741,623,600,1084,1156,654,651,461,440,427,548,447,621,631,461,635,905,910,928,1384,1752,1472,826,462,481,537,794,1156,894,449,367,354,357,451,484,637,1604,1898,1306,717,591,530,552,633,897,946,1170,1430,875,1128,1276,1294,1190,1014,999,949,962,1098,1142,1020,855,910,965,955,982,1142,1330,1126,1036,1104,944,1086,1064,1222,1488,1494,1330,1112,893,658,473,448,604,644,549,568,792,791,933,1190,898,713,562,505,499,489,727,799,689,782,1134,1194,1042,1000,1180,1306,1128,1032,1012,653,457,619,1262,1262,966,882,1024,1056,938,1016,1004,1038,1142,1456,1640,1520,1284,1204,1144,1056,1112,1172,1156,1064,1126,1170,1092,1188,938,846,1068,1166,1142,995,1040,1114,1080,1001,1030,961,797,734,1054,998,966,1208,1282,1350,1410,1346,1396,1670,1556,1198,1074,1104,1120,1050,1142,1216,1090,1186,1472,1384,1136,1005,827,787,792,1100,1128,1202,1374,1082,1164,1262,1136,1110,1074,1172,1192,1144,1216,1310,1368,1220,1230,1338,1130,830,813,1044,1256,1184,1174,1034,1054,1182,1234,1154,1524,1698,1708,1678,1344,1246,1240,1070,1000,984,1056,1026,818,832,1102,1170,1092,1242,1324,1214,1158,1256,1240,1286,1238,1064,854,697,746,818,724,835,968,1094,888,664,996,1256,1054,858,841,1005,1026,999,674,456,582,805,784,846,806,398,372,543,747,646,451,362,334,664,966,804,722,1092,1288,1376,913,835,809,740,1168,1406,1268,1186,1216,1180,880,694,772,736,656,435,455,487,603,566,583,571,602,632,502,357,443,699,822,834,986,1052,811,1324,1586,1066,1005,960,400,260,434,652,594,672,824,820,757,1112,1672,1708,1626,1682,1216,622,349,344,652,960,473,397,379,624,502,541,538,595,686,778,762,682,705,699,871,875,950,1234,1156,1028,921,1098,1150,1064,1240,1506,1428,1086,833,781,888,1502,1676,1844,1814,1476,1070,965,1392,1042,938,1030,1240,1632,1434,901,594,828,1108,971,844,716,847,1148,1528,1410,1226,1088,1274,978,776,584,735,1348,1778,1756,1384,1038,669,837,838,656,636,491,756,1316,1250,931,997,977,892,1048,1084,1052,1078,1166,1130,1418,1482,1216,1258,1034,875,1494,1812,2104,2450,1592,1230,1216,1146,929,699,731,753,728,789,1194,1168,1076,855,584,449,1030,844,639,778,709,861,860,579,588,566,440,655,869,833,637,1017,1342,1376,1370,1570,1526,1432,1600,1524,1146,883,1166,1174,927,904,1150,1278,1176,831,907,1432,1396,1024,1186,1478,1366,774,475,573,667,599,752,932,985,912,851,784,792,1092,1444,1506,1284,1094,1001,665,452,523,733,935,1308,1692,1420,571,554,697,924,880,285,487,915,828,678,475,397,368,295,335,462,453,403,470,529,667,604,434,325,343,344,473,781,996,670,396,840,1230,810,468,400,463,696,1132,1170,1212,1418,1414,1250,1434,1624,1530,1428,1340,1136,1170,1296,1400,1294,1220,1356,1400,1608,1806,1522,1232,1354,1562,1368,1198,1480,1182,550,426,590,830,1210,1222,1052,1510,1560,1384,1332,1388,1388,1346,1330,1278,1142,1198,1428,1568,1390,1474,1400,1342,1482,1620,1622,1528,1356,1054,919,948,973,1005,648,645,1154,1742,1108,465,391,357,341,358,593,895,1130,1362,1132,997,665,441,475,849,590,361,461,1170,1572,1094,1112,839,739,622,492,658,997,1322,1376,1146,1062,945,895,1100,1232,1362,1244,1170,1064,830,1005,1044,803,648,1108,1242,1088,1202,1180,1698,1430,1288,1454,1630,1516,1460,1500,1142,784,609,643,874,1038,923,923,1404,1328,1182,1062,951,891,855,957,1190,1268,1008,865,1040,809,805,705,832,800,1102,1166,1320,1554,1412,1274,1498,1288,1202,1288,1190,1256,1156,617,502,921,1300,772,383,406,440,871,1384,1094,527,409,395,355,331,356,422,464,640,1024,2198,3342,2996,1802,1016,846,1148,1556,797,530,918,1024,1009,848,664,614,737,812,975,1318,1314,905,889,1020,842,901,864,637,636,507,761,1014,1116,1116,1288,1364,1012,690,450,448,469,383,371,478,419,419,491,974,1566,1578,1622,1682,1398,1444,1098,533,412,374,351,351,341,347,345,348,371,491,505,395,343,374,365,353,331,311,335,328,338,370,354,361,362,412,522,548,496,495,517,529,514,509,616,692,922,821,698,626,515,495,512,523,563,542,469,568,852,542,468,641,794,816,850,810,758,828,927,1746,3016,3438,2872,1810,1084,690,902,656,339,403,548,680,792,905,1262,1160,689,581,987,1394,1500,1322,1256,1094,1019,1158,1314,1324,868,550,432,374,422,481,507,525,464,401,399,631,924,945,1070,1006,607,385,306,377,379,295,273,306,436,971,1482,1128,1098,1170,658,495,536,539,497,484,620,828,1138,1334,1202,1144,1066,1534,1264,906,810,740,691,676,947,1018,793,790,745,768,905,651,689,943,924,1188,1556,1408,1032,1158,1420,1302,1166,1094,1056,879,664,524,414,397,386,973,1864,1960,1582,1648,1964,1472,964,1098,647,737,1060,1184,1048,980,1262,1304,940,761,713,612,606,499,547,739,1034,1492,1572,1230,786,647,776,966,1472,1572,1322,1340,1166,793,673,507,472,872,1328,1378,1784,1448,1072,1352,821,921,1188,980,1198,1218,984,1352,1920,1198,800,909,550,547],[476,333,495,685,755,673,681,901,811,626,565,507,511,781,1288,1020,664,1168,976,1058,1102,1160,1098,821,546,416,388,393,396,345,266,253,247,238,239,269,343,374,390,422,428,534,838,1318,1248,907,560,565,694,823,814,786,695,648,733,530,458,769,779,487,421,491,535,524,825,784,962,998,726,728,902,919,752,918,1208,1258,1206,2020,1892,838,910,1260,1100,1312,1098,650,630,529,338,388,562,443,544,460,347,382,404,554,797,990,1138,1186,946,932,677,623,571,853,1198,1056,916,960,1028,859,677,661,658,787,558,360,330,320,547,878,996,959,855,612,554,518,875,828,421,289,571,1232,1284,769,677,664,502,564,671,963,792,1042,1218,919,977,830,632,670,838,888,872,1036,848,484,396,536,506,427,616,1282,1268,987,613,402,382,299,313,354,525,761,679,1224,1134,533,336,317,314,374,385,382,376,319,396,427,668,870,1012,670,735,807,756,766,479,451,805,925,389,301,317,396,365,503,1032,1238,1078,1156,1186,1190,1188,1270,855,628,913,838,846,1028,698,589,957,855,411,447,612,536,401,486,546,689,932,667,482,505,567,624,594,580,538,553,867,964,612,521,647,792,683,540,427,365,377,523,670,716,695,749,1016,1078,1158,1280,1412,1464,1516,1480,1420,1464,1202,1016,786,755,1060,1446,1318,1278,1234,1212,1362,1524,1470,1254,1444,1644,899,1016,752,1002,1116,1156,1052,915,999,959,1038,1454,1682,1462,1100,1250,1250,1216,1438,1532,1528,1608,1346,949,1252,1746,1588,1826,1716,1998,1936,1598,1830,2122,1504,1534,1542,1314,1362,1410,1644,1470,1222,1494,1660,1106,849,888,1110,1290,1442,1916,2630,2230,1296,1222,1230,1090,970,1044,1496,2036,1832,1844,1754,1976,2648,2552,1616,983,1584,2064,1406,844,682,694,782,968,880,791,1562,2404,1804,905,846,859,1220,1018,921,767,718,1128,1570,1242,883,917,847,1068,1046,653,597,611,720,703,464,345,355,779,957,771,973,1440,1768,1700,1246,1158,1038,1328,1260,976,1064,1256,1422,1326,744,681,1058,1218,1472,1472,1210,968,950,1062,1088,1194,1118,1166,1848,1742,970,480,682,1154,1714,1420,753,640,811,755,644,714,565,542,677,869,932,998,957,1074,1208,1204,1036,1018,1112,957,858,1052,1192,1100,996,924,966,952,1200,1114,1156,990,894,1034,1224,1190,1084,1290,1220,1428,1098,1166,933,832,916,1020,1005,996,1046,1032,1132,1082,1136,1174,785,843,1180,958,1019,1152,1021,938,1066,1300,1040,583,477,530,472,628,1092,940,808,1080,1588,1592,1220,1394,1116,1184,1094,973,779,659,984,1208,1166,1140,1322,1290,1302,1122,1062,1328,1286,1019,799,725,536,968,1182,1402,1506,1015,1005,1140,1140,1334,1140,550,829,1036,852,795,901,1132,1470,1332,1218,1168,1134,1336,1404,1580,1384,1162,1078,825,516,1544,1768,1216,1242,917,583,749,1058,1094,1114,1048,1050,1268,1084,971,930,957,1090,1122,1296,1208,1174,1110,1286,1394,1366,1260,1224,1314,1384,1286,1150,1380,1786,1802,1598,1306,1104,1224,1288,1250,1254,1014,993,1200,1166,1306,1550,1158,1084,1008,945,980,1011,1044,964,1100,1276,1370,1322,1080,1044,1023,731,662,980,1246,1120,1120,993,1114,1372,1270,1252,1140,1144,915,922,980,816,843,797,879,1008,903,763,787,1050,1282,1334,1348,940,656,1150,1460,1294,1236,1176,1044,1238,1898,2098,1348,1204,1184,1110,1186,1302,1368,1220,1606,1964,1496,1132,1066,1080,1492,1924,2248,1880,1460,1202,1202,1440,1472,1110,728,580,787,795,630,668,824,1288,1350,935,800,459,390,411,645,695,724,788,686,614,649,904,1104,1366,1312,1148,767,409,429,516,751,952,641,382,383,366,356,449,510,1000,1470,992,710,541,444,444,438,435,539,560,609,720,637,1034,1230,1496,1498,1228,1210,1196,1436,1548,1252,918,892,1058,1068,1052,989,1032,1038,947,1015,1056,1130,1118,928,1052,1430,1592,1418,1294,1390,767,526,477,527,485,386,518,637,558,868,940,703,799,697,635,535,375,435,694,783,978,1302,1142,1064,1094,1176,1148,1132,1186,1084,890,735,1102,1434,1238,858,695,925,1294,1060,1048,984,1016,948,1278,1128,1326,1188,1106,1166,1094,1124,1202,1112,1040,1130,1140,1250,1352,1144,976,890,1142,1638,1610,1222,1246,1142,1082,1144,1114,1174,1068,1116,1084,999,1104,1152,1288,1450,1644,1356,1332,1306,1072,1023,1074,1338,1248,1164,1424,1264,1156,1248,1326,1188,946,1042,999,822,813,969,1102,1246,1208,1214,1338,1378,1338,1306,1326,1304,1198,1144,1150,1120,1058,1182,1266,1216,1184,1132,1106,1256,1120,1036,944,1034,1090,1360,1280,1238,1530,1706,1688,1636,1506,1650,1582,1318,1190,1268,1076,775,693,879,1098,1272,1302,1310,1384,1330,1352,1336,1330,1340,1262,1110,1076,1003,595,662,1080,1340,1252,849,940,1350,1362,1168,1008,938,805,1082,859,372,424,661,845,981,1272,868,398,655,908,576,467,440,336,372,429,755,1022,940,749,758,943,811,832,727,857,1136,1126,1066,999,905,1162,1332,1410,1406,1298,1302,954,750,617,700,973,1010,814,689,672,561,634,505,518,1050,1168,668,725,550,605,608,451,675,630,364,334,476,646,807,1180,1296,984,620,872,1376,1326,1014,935,1120,874,394,327,332,417,471,721,824,691,492,500,556,516,539,700,696,738,814,717,613,702,821,818,1228,1532,1250,1006,1066,1304,899,1180,1608,1316,1098,835,626,1112,1432,1630,1614,1318,990,985,1670,1226,1108,1158,1326,1488,957,675,834,1086,802,630,834,841,1172,1296,1372,1198,1234,1230,1310,965,610,493,1009,1516,1506,1482,1170,976,986,1052,788,652,475,325,561,700,528,391,451,843,1272,1186,1186,1232,1248,1116,1168,1212,1088,1142,1336,1110,855,1368,1694,1796,1832,1644,1602,1418,1254,962,741,860,786,493,806,1218,799,1016,986,866,496,862,976,696,532,658,691,414,487,778,608,479,533,539,526,637,1094,1430,1448,1604,1734,1560,1466,1122,1062,899,541,1058,1400,1302,1108,1074,1020,1114,962,927,1294,1518,839,977,1062,973,603,423,532,556,496,839,1116,907,750,821,965,1076,1306,1592,1208,1019,940,1202,1104,565,356,538,916,1360,1644,1300,787,489,374,691,701,660,636,678,706,708,744,513,369,386,509,302,288,579,825,841,590,375,352,409,490,393,377,771,1021,579,536,987,702,365,298,428,557,860,1234,1098,1068,1198,1484,1338,1594,1894,1798,1522,1490,1388,1250,1390,1402,1306,1354,1360,1352,1534,1620,1578,1534,1364,1300,1150,1108,1324,1178,578,433,555,811,1226,1160,877,1336,1428,1340,1298,1220,1202,1268,1378,1284,1306,1476,1584,1696,1652,1620,1426,1526,1572,1614,1636,1472,1234,1062,953,928,1072,956,778,864,1066,1210,824,520,480,530,477,311,473,637,912,944,687,728,930,708,545,803,672,474,633,610,683,771,844,910,623,369,351,349,530,930,1013,954,1228,1394,977,748,874,1076,1066,1268,1164,1036,966,1158,1230,996,854,710,829,1374,1440,1530,1009,1114,1434,1496,1320,1472,1560,1182,815,423,511,765,960,1126,1404,1534,1476,1358,1212,1148,971,839,1144,1380,1270,1208,920,872,946,998,709,604,530,755,1184,1600,1746,1554,1288,1448,1306,1198,844,758,988,1132,1068,784,993,1096,613,481,490,653,1232,901,688,733,503,483,480,408,446,517,571,795,1238,1412,1592,2320,2092,1290,998,1426,1182,533,602,868,1082,1118,1092,1188,728,570,876,861,666,1254,1338,1152,939,925,1128,904,872,959,762,1098,1112,1030,944,1266,1326,1074,706,414,389,470,481,405,502,429,502,534,1126,1544,1634,1370,1096,1152,1404,1220,655,473,412,379,367,375,367,359,365,445,633,631,404,335,351,355,361,329,328,336,345,313,326,338,348,345,386,488,569,490,498,489,512,484,462,428,625,930,857,655,549,511,530,559,514,492,490,432,755,832,615,661,977,1316,1278,882,774,1024,890,881,1282,1968,2486,2210,1674,1070,567,550,566,530,565,659,836,996,1088,1048,628,623,824,1268,1788,1592,1164,1100,1064,1328,1208,1006,783,623,572,606,578,493,519,480,473,490,431,423,774,822,778,960,967,626,336,267,278,298,378,378,506,960,1698,1776,1015,656,724,538,374,341,496,662,499,438,684,959,1054,673,865,1230,1556,886,484,526,784,1124,1088,1216,1174,921,728,725,800,753,637,564,590,1056,1484,1636,1298,991,883,875,1152,1282,1376,1400,1278,1094,984,1064,791,730,1228,1864,1528,1454,1702,1450,1084,1086,994,594,675,849,821,1124,1500,1298,1408,1062,1160,1236,1228,1040,733,606,552,825,1214,1168,939,846,859,787,1206,1514,1460,1172,1068,1104,1052,836,708,755,1106,1346,1684,1604,1464,1512,1388,1180,1182,974,913,1118,1017,1036,1792,1908,1018,1042,930,544,475],[607,479,424,535,742,637,553,1032,1250,973,847,680,557,692,920,809,921,1642,1548,1378,1456,1444,1416,1166,700,395,416,407,394,393,324,286,247,234,268,315,354,398,420,436,428,487,635,1007,1208,1178,854,666,588,475,364,346,340,419,522,440,381,745,741,447,376,360,370,453,593,928,1300,1006,816,1290,1688,1310,1424,1298,1220,1038,973,1746,1830,825,533,604,647,1072,1082,883,1076,997,469,343,483,421,449,507,360,406,847,968,1144,1296,1260,1106,1019,891,539,665,699,787,878,558,407,454,411,549,615,691,611,560,440,307,377,565,763,902,959,562,561,513,484,601,1114,989,473,294,403,683,686,573,741,501,474,614,717,689,1011,1262,1248,1126,1090,996,745,782,1068,929,1104,1432,958,705,854,758,441,401,553,844,1234,1342,802,453,476,374,344,407,920,1368,1032,1228,1146,520,294,414,367,460,563,399,472,571,792,955,1054,1007,1062,1118,899,659,822,837,497,494,672,766,556,400,413,439,343,738,1378,1218,1116,1110,1170,993,869,1252,1224,1038,913,931,888,775,682,602,717,615,365,447,433,365,424,664,610,810,843,513,411,454,585,639,613,666,556,472,684,872,718,493,670,905,922,805,451,366,391,488,564,669,753,835,952,1134,1160,1110,1454,1750,1438,1372,1448,1338,1128,1172,926,828,1042,1452,1440,1264,1200,1272,1320,1334,1170,1038,1078,1052,1058,1186,1026,1120,1178,1194,960,1102,1272,1102,1404,1674,1556,1372,1138,1064,1214,1444,1396,1158,1446,1842,1900,1438,1060,1614,2054,2178,2102,1996,1460,1256,1556,1568,1226,1222,1382,1466,1376,1866,2056,1618,1670,1452,1510,1302,1082,998,1250,1432,1300,1238,1254,1180,1032,1058,1054,962,988,1136,1398,1504,1292,1352,1296,1542,1886,1490,1268,1370,1510,1340,780,868,1118,941,711,944,980,637,833,821,551,502,480,367,502,619,615,654,794,1010,1360,1266,1068,1072,1230,1224,908,551,526,554,798,850,515,343,315,308,353,565,1088,1652,1768,1726,1368,1174,1074,1246,1050,885,1074,1276,1544,944,698,871,895,767,819,905,1010,1348,1366,1120,897,918,1046,1332,1848,1644,1262,771,844,1076,1294,1306,866,1076,2018,1890,1262,717,428,383,441,599,525,455,495,653,936,1082,1012,1138,1040,857,819,960,1126,1096,968,1098,939,878,896,833,957,964,927,1042,1254,1116,1218,1286,1230,1328,1212,1114,1050,1238,1274,857,868,1028,1128,1186,1226,1104,1140,1162,939,1114,1108,983,1156,1138,1094,1148,1122,1216,814,749,758,717,729,1002,1260,1058,944,1202,1660,1136,1090,1506,1258,1224,894,1001,962,909,1114,1312,1050,897,1346,1316,1172,1210,977,1140,1224,1442,1278,1370,1100,1190,1274,1388,1402,926,1092,1104,1058,1210,774,553,1136,1376,924,602,723,1312,1716,1328,1088,1220,1200,1370,1182,1084,1158,1196,1258,950,634,770,977,1148,1288,1266,1064,1184,1352,1266,1316,1308,1094,806,611,724,756,699,1054,1218,1170,1086,1112,1324,1260,1214,1366,1344,1198,1286,1456,1416,1330,1550,1768,1582,1572,1736,1548,1686,1604,1240,1058,1120,1228,1324,1408,1648,1454,1066,1104,1224,1292,1218,1186,1060,1180,1486,1334,1266,1182,1114,1120,1076,951,1076,1124,1174,1156,1084,872,1644,2076,1288,1076,971,873,882,705,742,774,874,911,1006,944,774,669,842,1254,1338,1366,1184,918,1034,1196,1438,1202,957,985,1026,1172,1750,1766,1446,1426,1294,1490,1432,1398,1600,1532,1506,1392,1224,1094,943,636,959,1360,1554,1476,1348,900,880,843,833,818,528,467,657,692,695,746,930,1074,1152,839,708,580,563,668,988,1158,1168,1022,822,774,642,586,537,695,539,872,708,381,470,562,773,782,539,424,386,369,350,398,391,1050,1194,869,689,486,486,515,482,496,528,542,427,397,387,560,790,1078,1238,1294,1338,1294,1318,1100,1050,943,858,1102,1188,1242,1088,1156,1324,1184,1164,1064,971,924,874,883,1300,1556,1436,1546,1462,803,558,536,499,492,578,675,656,504,874,822,692,984,988,1052,1090,829,740,1044,873,1062,1328,1162,1236,1248,1084,982,1034,996,989,1124,1174,1188,1192,990,746,825,854,1134,866,778,932,1108,1360,1390,1004,1009,1316,1440,1328,1200,1118,1142,1206,1040,1080,1338,1376,1204,1228,1504,1310,1170,1620,1762,1444,1362,1396,1312,1150,1182,1124,1102,1158,1080,1226,1234,1076,1128,1278,1732,1288,1176,1146,948,1040,1009,984,886,1118,1522,1410,1088,1262,1324,1198,919,915,814,780,720,669,902,1396,1404,1152,1290,1586,1418,1500,1366,1222,1174,1166,1220,1178,1296,1220,1176,1340,1238,1118,1108,1192,1096,1140,1312,1288,1156,1204,1124,1136,1498,1566,1666,1638,1536,1902,1554,1470,1462,1256,1268,1228,843,787,1118,1238,1232,1384,1572,1324,1260,1310,1444,1432,1310,1216,1200,854,632,755,933,1256,1248,1194,902,1124,1194,1362,1258,1050,1130,1238,632,336,319,413,821,1318,1260,728,752,925,695,441,427,400,496,635,606,615,716,1062,961,823,1104,804,613,761,834,1064,1180,1030,777,606,1006,1216,1584,1648,1528,1186,805,709,542,458,492,434,404,466,529,453,654,688,428,478,418,291,321,372,456,426,390,341,324,355,495,566,820,1001,1266,1338,802,492,669,820,722,523,442,660,490,331,286,245,311,428,668,769,691,589,451,555,744,857,847,763,529,456,529,633,800,857,779,877,1120,1470,1506,1000,1504,1312,1364,1404,1294,1298,1340,1310,1326,1232,1242,1338,1396,1262,1322,1574,1510,1448,1396,1208,893,888,980,1116,1272,1046,615,514,832,1396,1392,1284,1208,1456,1542,1134,604,482,710,1352,1116,1007,1056,1108,1260,1142,984,856,606,383,384,382,405,464,530,741,961,1268,1448,1584,1400,1284,1038,1064,1084,919,1432,1288,1034,971,1382,1692,1794,1760,1214,1020,1096,1246,1460,1302,1086,990,621,1072,879,469,592,783,730,411,580,994,830,681,885,562,359,397,534,408,358,323,357,451,787,1050,1180,1418,1568,1316,1240,1576,1294,989,525,408,917,1552,1460,1032,556,477,629,900,692,670,1112,761,644,772,601,480,484,555,517,467,902,983,623,630,990,1118,807,847,948,869,714,714,982,966,549,430,430,361,1090,1500,1154,1046,652,390,507,465,645,1146,1174,669,700,804,765,790,592,451,298,367,605,899,863,474,363,504,611,672,466,344,433,346,319,419,550,476,499,710,1094,1346,1060,1104,1100,1326,1016,1108,1392,1668,1814,1492,1210,1324,1132,1100,1194,1168,1094,1056,1011,1142,1154,1064,965,1080,1118,1004,914,641,818,1200,604,468,518,859,1278,1106,932,1382,1704,1410,981,1068,1186,1330,1354,1194,1412,1390,1348,1310,1194,1208,1336,1576,1808,1664,1460,1242,1098,1090,760,630,901,838,775,714,933,1210,969,704,634,741,561,302,262,295,547,634,741,903,1174,917,489,754,841,750,844,518,594,654,818,888,637,450,408,321,470,889,1108,1036,1104,1098,1007,738,929,1268,1120,1084,1080,1040,1260,1322,1136,1042,984,1020,977,1376,1382,1408,1254,1296,1158,1196,1260,1054,810,788,688,508,596,589,518,899,1434,1444,1312,1310,1196,899,678,472,656,1132,1142,1032,722,757,1270,1234,610,541,656,644,863,1336,1252,1464,1322,1246,875,530,350,358,612,981,1208,1158,1130,880,467,470,575,749,941,865,813,658,694,913,689,459,419,450,718,1042,1252,1200,1214,1266,1216,1032,1262,1478,1148,716,745,869,1044,1152,1376,1486,1016,527,623,550,514,1090,1474,1210,1078,1182,1202,976,1056,910,993,1020,777,765,1046,1176,1006,824,536,373,375,489,520,378,425,449,467,706,1174,1512,1642,1490,1230,1266,1530,1468,1102,742,631,488,412,370,359,359,382,444,560,569,427,352,352,347,371,342,316,380,401,361,351,354,333,332,368,414,556,500,500,478,526,507,445,458,725,908,840,786,764,511,615,619,543,490,487,558,708,665,708,811,1064,1296,1166,744,668,745,601,876,1328,1726,1914,1756,1700,1322,821,973,1026,737,740,673,807,844,1056,855,638,1268,1764,1460,994,787,841,1318,1180,922,789,633,487,555,567,684,717,607,761,764,562,484,315,415,568,368,445,827,940,637,343,294,245,274,431,789,1038,1228,1576,1224,677,548,595,515,364,339,468,698,865,709,945,1152,1021,865,1006,1556,1560,1054,842,596,524,1096,1394,1300,1232,1019,802,824,849,748,1004,1076,934,1098,953,787,814,964,976,973,1366,1300,1590,1762,1242,1076,1242,1582,1188,959,1001,1362,1352,1896,1886,1266,942,896,730,651,784,586,705,1362,1966,1958,1412,1126,1376,1450,1330,1228,1186,968,854,1002,1178,1003,754,657,724,747,1202,1002,1146,1514,1262,1026,916,553,703,1080,986,1308,1810,1346,1174,1290,1406,1684,1520,777,725,1054,1005,1194,1920,1530,1222,1182,720,484,489],[1040,1023,712,654,797,685,902,1366,1318,1192,974,769,888,871,913,971,1054,1312,1424,1354,1280,1186,1208,1150,813,468,419,424,430,377,337,302,263,287,336,360,357,399,429,440,426,540,803,1068,1042,683,411,319,315,332,338,352,396,411,490,458,356,484,546,462,382,378,418,529,700,1004,1262,905,697,1250,1338,1076,1208,1306,1156,945,880,1190,1522,824,581,780,889,1838,1294,985,1400,1190,684,414,494,766,815,786,549,526,1028,1188,1378,1362,1410,1234,931,533,350,510,720,1068,681,411,310,318,333,586,702,775,751,667,525,363,458,741,806,1038,1102,532,509,861,985,1010,1164,910,607,567,359,380,483,496,853,616,459,517,653,853,1076,1172,1200,982,1034,1086,1050,1374,1858,1202,980,929,549,612,921,723,458,463,458,619,886,1148,918,578,464,367,365,399,994,1642,1228,843,844,384,485,949,749,875,890,519,774,1150,1364,1502,1536,1178,1132,1458,1206,935,1086,1226,1140,1170,1178,1134,800,431,403,383,378,912,1324,1168,1330,1136,1078,1001,1016,1160,1112,958,1018,945,894,1086,1224,825,417,319,329,397,357,313,362,510,622,764,532,346,317,454,610,615,650,529,404,407,547,912,1110,843,647,847,1016,743,429,381,455,590,704,704,796,896,984,1176,1504,1202,1152,1174,1136,1232,1322,1246,1094,1184,1160,1023,1038,1242,1438,1202,1015,1268,1590,1338,1080,954,959,1068,1204,1172,1038,1044,1222,1240,1102,1332,1286,1328,1676,1826,1408,1200,1266,1246,1382,1352,1228,1242,1536,2542,2836,2016,1736,1838,1648,1588,1884,1656,1318,1500,1610,1396,1238,1082,1224,1286,1522,1968,1654,1688,1786,1534,1502,1420,1272,1208,1278,1360,1166,993,1034,1250,1444,1450,1520,1478,1554,1662,1584,1560,1620,1524,1068,1266,1560,1610,1498,1612,1554,1228,788,1114,1448,1132,867,1015,844,686,675,620,419,507,573,598,519,415,628,1058,964,687,1070,1214,1216,1198,1412,1368,908,508,518,451,421,526,440,318,279,441,515,775,1184,1328,1262,1448,1338,1036,1001,1012,943,866,954,1310,1446,781,589,540,722,560,519,531,570,1062,1288,1372,1538,1528,1584,1544,1660,1312,1178,974,1260,1360,1372,1382,974,1460,3124,3056,1902,1030,875,670,497,409,386,421,414,476,749,805,702,821,734,961,1106,1078,1160,1174,1022,1118,1210,1126,942,871,1016,1040,1002,1046,1208,1224,1232,1236,1298,1202,1166,1172,1066,1376,1590,974,831,1074,1084,1030,762,636,794,920,937,1006,1116,1126,1232,1490,1804,1392,1296,1152,794,1252,1260,1001,888,933,1126,1238,1336,1520,1300,1156,1394,1420,1274,1252,1220,1422,1346,800,692,1362,1596,1090,1009,954,980,1278,1132,1064,1314,1350,1294,1296,1212,1294,1380,1388,980,562,710,1021,1140,1015,758,565,722,1182,1344,752,827,1186,1222,1192,1028,1222,1198,1372,1228,1046,1002,1190,1194,1010,1098,1132,1282,1222,1118,1168,1120,1276,1308,1340,1222,1012,803,585,526,863,1042,934,939,1224,1194,1194,1204,1156,1050,1260,1454,1480,1230,1104,1364,1444,1364,1508,1526,1114,1376,1556,1588,1824,1746,1530,1304,1302,1390,1356,1628,1818,1278,1032,1096,1118,1146,1338,1362,1138,1030,1042,1208,1306,1236,1246,1262,1200,1066,931,1009,1218,1294,1270,1318,1870,1532,1052,1001,749,1108,1236,944,813,908,876,988,996,800,627,787,1156,1302,1278,1312,1011,962,1058,949,1038,1126,753,749,905,1048,1480,1536,1368,1296,1274,1316,1042,1288,1844,2006,1640,1142,1088,1244,1202,750,839,1006,1466,1572,1514,1282,978,830,1001,943,737,486,356,531,801,590,670,942,938,875,861,655,641,984,1368,1412,1610,1534,1006,838,697,600,530,603,753,957,714,415,436,501,681,584,425,349,334,345,364,403,377,1017,1200,462,410,381,471,538,551,545,509,438,368,423,465,525,663,912,1192,1300,1350,1292,1034,922,1794,2006,1440,1422,1282,1034,881,1362,1710,1400,1360,1246,1236,1120,1158,959,946,1024,971,1118,1020,608,434,480,484,580,896,909,681,560,675,578,502,675,846,1004,1280,1164,1006,1198,1034,1144,1172,1128,1250,1240,843,721,936,1072,1026,1080,1188,1068,1086,1092,1112,996,666,521,655,858,926,1106,1578,1434,1013,1114,1318,1376,1390,1300,1028,1160,1278,1100,1166,1298,1232,1060,1144,1314,1156,1174,1340,1282,1208,1338,1476,1448,1344,1212,1040,1130,1238,1244,1142,924,914,1180,1216,1268,1180,1192,1034,969,962,732,908,1404,1260,1326,1222,915,1246,1322,1104,1216,1156,830,816,828,974,1146,1374,1422,1110,1013,1082,899,977,865,1108,1090,1214,1380,922,966,1009,1054,939,838,1056,1230,1344,1352,1434,1362,1276,1316,1238,1346,1190,1230,1254,1548,1670,1608,1732,1590,1344,1280,1114,1050,1050,1028,1064,1176,1160,1214,1206,1356,1232,1202,1358,1380,1194,1024,1110,1028,623,804,1056,1120,945,1138,1134,1282,1256,1118,1158,1023,1046,1112,1172,527,409,341,381,719,1136,814,739,1028,819,659,582,503,609,697,657,555,744,1190,1222,1194,1234,1262,1006,955,811,736,799,740,882,680,699,943,886,883,776,664,557,401,339,374,274,410,518,491,433,501,415,441,717,691,422,314,422,437,494,498,362,344,284,291,672,789,674,702,546,525,676,745,645,850,843,814,814,893,888,622,438,293,234,255,223,321,581,824,815,670,807,869,1026,1204,1132,667,382,307,318,563,768,783,816,709,1308,1528,1460,1386,1262,1272,1216,1532,2130,1650,1268,1274,1074,996,971,1076,919,882,923,1318,1476,1314,1158,1012,883,875,1286,1562,1424,580,292,458,821,1458,1572,1368,1366,1172,1162,940,832,1200,1284,763,864,770,796,1178,994,808,887,596,395,374,316,394,575,747,1134,1060,1170,1616,1636,1538,1562,1260,1196,1258,1252,1626,1258,979,1030,1322,1528,1534,1260,836,831,762,813,1164,1256,1462,1300,1030,1426,1072,785,937,914,692,317,443,809,871,661,658,421,398,355,415,406,363,310,362,723,971,876,1124,1230,1548,1600,1694,1660,1472,1308,808,415,675,989,987,810,424,348,390,598,383,419,904,768,523,539,525,590,610,546,546,597,1106,950,543,547,805,784,512,551,766,753,446,517,716,903,839,626,707,810,947,1102,1130,1140,860,535,465,583,1202,1766,1278,576,489,540,729,1046,723,382,327,375,432,413,388,416,591,532,538,579,474,339,425,606,504,357,420,462,730,1120,1498,1544,1186,1204,1228,1402,1194,1248,1362,1594,1732,1388,1214,1412,1312,1200,1104,1144,971,940,1166,1238,1062,786,581,797,1001,1072,1164,699,760,1240,675,466,507,828,1270,1248,1102,1602,2054,1510,1026,1196,1598,1452,1458,1804,1714,1322,1246,1314,1254,1248,1116,1224,1488,1610,1412,1064,938,1056,745,502,537,716,915,874,944,1004,666,369,382,518,412,321,270,264,325,547,672,663,830,727,499,807,882,798,717,846,871,828,950,1236,1318,1134,874,422,592,1046,1294,1232,1138,933,807,532,620,788,653,684,992,1260,1296,1050,968,1074,906,621,955,1372,1444,1584,1606,1410,1042,1226,1126,1028,730,452,500,874,833,541,385,559,1001,1284,1224,1002,812,1126,932,497,485,875,767,684,736,1144,1682,1220,619,709,902,689,633,1128,1260,1288,1182,835,796,764,492,358,350,545,982,1322,1110,905,613,397,591,661,523,888,956,582,599,839,680,619,565,472,620,706,824,895,1140,1756,1334,792,680,849,963,996,857,689,830,1304,1532,1352,1158,908,595,650,984,1272,1366,1056,1048,828,722,1038,1572,1602,1196,840,596,557,863,923,677,539,401,346,399,623,523,381,408,490,465,932,1634,1856,1710,1412,1017,1274,1566,1424,1242,1078,911,655,488,429,393,372,357,393,427,437,418,379,336,344,369,344,340,384,417,439,404,346,326,343,343,395,505,594,550,518,557,616,632,634,630,613,614,641,658,587,606,599,543,512,518,618,554,574,733,785,693,522,379,446,558,518,433,704,1144,1610,1670,1556,1708,1544,1042,1090,1052,747,795,863,830,724,876,1168,1594,2062,1938,1782,1256,913,1080,1444,1190,807,524,409,414,448,452,494,597,677,825,885,644,512,390,465,390,242,351,605,783,692,499,373,267,288,409,977,932,887,899,638,571,559,460,416,421,458,397,497,679,660,961,1138,1210,979,783,1244,1268,991,1236,948,872,1070,871,1110,1360,1260,911,812,706,634,1011,1182,948,1096,854,847,908,653,730,987,1066,871,1202,1392,1210,1008,1202,1378,1136,895,996,1012,1186,1394,1316,1336,1636,1532,1176,797,776,637,1068,1264,1434,1628,1282,1242,1296,1226,1116,1076,1138,1224,1118,982,1440,868,678,689,563,735,1122,1023,833,1492,1676,1120,912,560,803,1090,790,826,1112,1076,1132,1380,1380,1506,1526,780,526,739,584,730,1212,1518,1742,1208,689,509,618],[1396,1260,843,769,891,1032,1388,1370,1472,1584,1144,1080,1518,1418,1302,1192,1086,1308,1312,1162,1116,1222,1258,1290,1044,811,758,744,605,454,375,381,359,358,341,343,308,345,361,400,592,711,807,927,673,482,390,354,348,342,336,324,362,342,504,472,387,428,481,452,383,366,426,558,659,810,795,777,793,717,536,717,1064,1146,1001,913,885,1170,1520,874,834,1200,1240,1698,1344,1296,1346,1130,1252,1066,905,1013,817,961,1196,1032,1096,1210,1144,1152,1130,1034,963,710,386,595,677,1078,780,424,317,411,586,625,559,705,796,885,847,684,368,518,589,1312,1272,670,557,969,1082,864,810,710,482,532,415,418,461,350,586,623,396,390,754,1044,977,1170,1134,1058,1152,860,1134,1150,1224,885,1090,1008,597,535,716,736,541,401,389,522,766,1142,1108,819,578,461,505,612,987,1172,1142,1580,1540,667,467,735,845,831,736,592,733,1144,1438,1522,1510,1210,1228,1350,1206,1166,1246,1346,1092,1220,1146,1078,960,543,350,390,523,1038,1268,1376,1238,1180,1168,1220,1092,1074,959,963,1182,1000,1090,1318,1328,1138,487,293,319,328,376,360,397,481,689,768,328,362,426,466,550,518,488,412,365,552,930,1256,1354,1112,812,938,998,563,440,589,679,890,861,829,1094,1154,1130,1626,2204,1204,959,868,1176,1502,1830,1642,1272,1196,1086,1001,1020,1090,1202,1108,1094,1228,1300,1104,802,802,1042,1244,1286,1152,1192,958,689,802,1021,979,1046,1504,1748,1536,1306,1246,1230,1338,1452,1222,1118,1078,1366,2344,2280,1656,1520,1488,1478,1288,1480,1656,1838,2230,1796,1366,1304,1358,1442,1664,1970,1816,1776,1708,1482,1526,1722,1588,1436,1410,1280,1170,1019,1050,816,1088,1438,1494,1506,1476,1688,1930,1940,1984,1970,1858,1160,1340,1678,1804,1490,1126,986,818,738,1060,1218,1236,1256,1324,863,522,398,433,504,596,697,869,923,699,655,966,908,778,1246,1256,1007,1210,1350,1220,969,932,871,605,478,557,383,373,542,739,714,864,1194,1274,1146,1204,1052,871,1062,1214,1248,1052,1250,1274,1046,813,771,626,402,313,348,316,602,1162,1218,1220,1514,1614,1720,1668,1584,1260,860,1160,1708,1564,1522,1178,860,1220,2114,2266,1464,1154,1246,1006,567,368,325,357,360,466,661,514,607,830,745,816,861,854,851,863,852,916,1076,1098,952,1124,1268,1208,1166,1256,1302,1228,1178,1176,1214,1086,996,1168,1124,1052,1106,1084,950,1007,955,663,478,543,613,850,1226,1338,1232,1160,1088,1312,1340,1154,1120,973,680,788,1080,1116,1050,1062,1318,1676,1712,1642,1324,1334,1222,1058,1050,1212,1350,1252,1166,679,565,1410,1442,1060,1050,952,1130,1232,1032,970,1110,1184,1178,1086,747,788,1130,1082,1003,898,951,1382,1172,828,750,527,586,1168,1390,854,1058,1312,1412,1216,1002,891,829,1254,1640,1288,1174,1184,1138,917,888,1088,1310,1054,990,1166,1132,1044,1076,1050,988,827,670,773,694,893,1318,1192,1032,1198,1136,1176,1256,1228,1372,1402,1182,1254,1250,1234,1230,1350,1354,1388,1488,1572,1456,1296,1304,1460,1628,1706,1716,1378,1460,1460,1540,1572,1262,1188,1296,1226,1376,1570,1482,1218,994,1004,1280,1206,1156,1190,1202,1086,930,819,996,1286,1368,1366,1198,1434,1324,1242,1136,881,950,1112,927,874,876,742,821,834,754,705,1116,1360,1272,1348,1030,965,1210,1132,769,767,1030,913,791,1134,1138,1316,1210,1266,1504,1232,760,600,813,1426,1734,1632,1264,1066,1186,1414,1158,995,861,1192,1280,1007,1074,1150,1058,1092,1010,892,656,542,657,667,391,587,945,840,886,1032,871,798,1144,1108,1120,1274,1112,934,894,860,905,731,663,863,836,565,347,317,359,544,545,409,319,314,346,363,407,465,1166,1576,655,736,1024,830,514,484,516,410,331,362,443,481,594,770,976,1138,1284,1098,1132,923,1124,2462,2456,1726,1310,980,960,1012,1128,1384,1282,1332,1312,1182,1142,1206,1574,1732,1338,1126,1104,864,811,641,644,658,679,863,998,780,659,636,560,433,439,590,822,1112,1058,1256,1156,1120,1320,1198,1194,1258,916,474,571,988,1130,1116,1218,1214,1274,1326,1344,1232,1238,1008,938,969,1122,1258,1502,1642,1332,1284,1110,1212,1340,1470,1380,1226,1282,1290,1312,1278,1152,1034,1184,1290,1268,1082,1122,1298,1350,1290,1250,1470,1460,1214,1222,1262,1306,1340,1318,1060,1032,955,939,865,1036,1250,1328,1298,1116,855,559,601,875,1254,1362,1362,1248,1092,1258,1212,1240,1172,1232,1088,827,1094,1318,1200,1432,1270,903,649,486,358,697,1086,830,1004,1306,1084,970,1064,1076,1012,1038,1060,1086,1226,1340,1384,1350,1222,1284,1212,1114,1108,1224,1272,1360,1532,1600,1546,1434,1354,1174,993,1042,1170,1272,1374,1194,1007,1160,1202,1024,1026,1154,1156,1198,952,689,1012,914,768,934,1110,1220,1380,1102,646,935,954,757,921,828,796,1005,954,877,628,418,376,497,604,674,1130,1001,713,797,727,949,1054,689,520,514,979,1320,888,611,748,857,850,830,860,625,431,392,735,586,680,984,742,442,568,562,408,397,574,803,725,508,522,573,511,487,416,375,596,796,680,519,783,700,458,381,464,909,1001,553,532,683,567,449,476,643,1098,1021,451,601,737,750,665,574,503,498,504,477,462,315,294,283,339,396,525,787,1090,1056,1004,929,1056,991,716,542,617,871,1019,1023,977,670,800,679,743,790,695,717,872,1720,2426,1366,1054,1178,1194,1224,929,1052,989,683,822,1318,1162,940,1102,1290,1154,1042,1058,1454,1100,448,313,324,402,844,1050,828,811,711,997,1238,1312,1540,1332,1056,1162,1070,918,844,602,521,525,412,365,349,352,349,639,1044,1190,940,1038,1214,1024,1094,1362,1384,1670,1584,3194,3044,1378,819,993,1170,1362,1494,1294,1236,1360,875,543,529,797,1088,1272,1394,1388,1023,1016,1104,854,621,260,281,503,739,662,581,526,485,402,368,357,349,297,514,1318,3532,4160,1836,1210,1166,1288,2130,1932,1344,1120,872,720,434,403,358,491,618,949,774,466,431,822,1019,869,809,590,472,592,800,712,630,1086,1388,1372,968,604,494,562,761,879,1090,1310,535,546,650,697,753,825,1013,974,1028,1404,1220,842,836,586,698,1382,1974,1948,1340,796,649,511,443,579,605,540,519,565,397,435,637,716,964,496,361,371,487,587,907,1022,584,372,517,891,1186,1066,1166,1322,1654,1532,1334,1444,1538,1388,1350,1550,1614,1314,1234,1346,1510,1396,1208,1302,1172,1054,1144,1194,1058,816,664,796,985,1286,1248,717,630,823,643,522,514,750,1230,1296,971,1262,1602,1442,1220,1244,1302,1316,1648,1732,1492,1262,1172,1200,1108,994,965,1102,1302,1570,1176,835,720,607,490,436,390,537,908,1058,750,708,477,290,291,277,284,296,288,253,333,667,813,437,298,412,357,564,612,640,742,907,860,1042,1308,1480,1328,1700,1346,703,886,1098,1156,1260,1268,1106,759,485,458,595,623,419,539,958,993,1132,1094,911,700,421,855,1130,1040,1130,1130,1226,944,1186,1232,1642,1350,713,592,753,722,584,401,404,554,660,701,770,908,1284,931,659,692,772,643,692,1102,1256,931,562,436,768,944,625,783,987,1168,1272,831,549,636,568,392,372,569,922,1288,1322,1070,1310,1152,648,690,752,868,1224,1250,813,545,820,1016,988,746,485,448,485,581,550,951,1406,1312,930,697,821,616,708,806,845,1174,1498,1284,1068,1466,1604,1050,730,795,954,1076,1032,754,935,1096,1210,1648,1650,1256,1086,1022,876,629,551,457,404,332,270,345,537,483,383,466,498,413,466,748,1190,1450,1692,1494,1456,1388,1212,1406,1426,1168,1078,1062,970,680,712,565,431,421,361,347,337,326,329,360,372,364,353,402,457,400,324,320,329,357,378,459,661,820,757,651,737,813,598,446,418,526,616,570,535,568,583,547,480,557,612,491,540,672,713,711,739,616,628,534,478,684,862,871,965,973,1216,1440,1426,1128,971,893,889,781,532,409,462,816,1518,1884,1984,1406,1874,1426,713,631,705,736,647,450,466,463,453,381,366,464,560,693,676,595,547,472,448,372,331,408,549,616,985,1174,613,303,300,313,687,1044,1218,1106,753,443,438,415,399,385,431,449,469,437,872,1220,1110,984,684,567,609,999,1258,1652,1330,1258,955,849,898,807,1038,1296,1148,863,562,706,868,1004,1418,1262,1288,1078,814,709,595,495,445,539,739,993,1084,1250,1126,1086,824,891,1044,929,1238,1438,1462,1442,1406,1518,669,779,1156,1600,1428,1200,1100,1158,1226,1338,1352,1130,931,935,999,893,901,1042,748,566,549,530,459,833,1376,879,1154,1266,1100,1128,846,724,818,745,774,1076,1160,1258,1368,1494,1470,1334,1216,913,627,561,517,523,1054,1278,1020,1052,593,781],[1790,1098,742,1100,1238,1240,1364,1080,1722,1704,1148,1316,1682,1576,1328,1176,1036,1058,816,977,1178,1528,1512,1342,1128,1214,1388,1098,850,582,491,398,357,338,345,346,322,398,505,578,521,426,623,624,396,355,376,406,412,365,338,335,370,354,425,426,356,407,471,375,259,250,352,576,582,580,601,999,1150,688,392,612,1026,935,803,658,957,835,976,942,1078,1316,1050,894,1234,1490,1194,770,1234,1454,1258,1218,996,1248,1296,885,1212,1424,1176,1172,1122,767,869,919,514,824,495,541,516,362,282,434,641,475,319,346,484,824,772,814,630,428,473,870,897,771,800,998,1058,962,832,807,521,419,296,391,479,563,670,635,518,566,1016,1038,1048,1650,1104,963,1010,656,659,816,632,545,878,695,453,485,763,688,350,363,518,467,568,791,1013,998,960,1082,1106,1086,1196,1410,1938,1642,1236,717,579,663,912,1038,1023,907,775,986,1006,901,973,970,896,721,813,582,709,878,961,1224,1154,838,720,662,467,484,710,893,1166,1274,1210,1236,1234,1084,727,813,1078,963,789,856,1536,1116,846,756,426,552,576,365,520,744,636,557,830,765,406,497,523,403,432,447,439,501,668,896,1152,1328,1448,1230,875,905,719,503,486,462,541,850,767,644,819,1024,1114,1114,1013,896,929,1104,1338,2556,2652,1632,1208,1192,1170,1192,1200,1238,1180,1208,1126,1009,1023,1024,738,912,1114,1023,1064,1106,1242,971,857,984,1122,1282,1262,1408,1572,1404,1338,1338,1446,1366,1194,1026,1042,1064,1292,2138,2320,2026,1216,1026,1584,1588,1434,1652,1634,1710,1604,1554,1832,1998,2058,2052,1954,1980,1764,1364,1158,1232,1538,1672,1478,1324,1260,1200,1100,981,973,1114,1144,1140,1262,1306,1556,1764,1746,1668,1542,1422,926,1278,1634,1678,1476,1108,975,821,787,1114,1874,1946,1566,1446,880,421,455,493,388,351,390,669,1052,815,693,819,855,933,999,1172,1264,1300,1416,1160,1080,1350,1246,1048,952,719,395,430,509,658,733,1078,1262,1030,1060,1082,1104,1007,1001,1322,1336,929,1280,1294,895,810,1122,837,377,403,366,400,705,1156,1394,1288,1648,1710,1656,1628,1614,1596,1346,1250,1208,1110,1202,855,891,938,891,1072,1086,1312,1428,970,703,991,681,451,405,451,694,521,728,1268,1202,735,538,501,495,774,930,642,567,717,723,1106,1088,1116,1226,1262,1306,1286,1238,1092,1102,919,709,844,968,1298,1210,1064,1210,1494,1258,832,639,598,705,968,1108,1310,1162,932,1080,1188,1023,1086,1184,960,553,573,738,703,821,1120,1356,2112,1990,1434,1528,1394,908,1030,1166,1200,1338,1408,1228,774,808,1190,1076,968,966,1019,1178,1148,923,773,1140,1266,1372,1370,933,811,944,1050,1015,964,957,951,1252,1450,1298,1192,1110,1396,1376,1312,1346,1278,1044,951,915,1278,1710,1520,1530,1202,1350,1194,1090,852,774,1106,1272,1064,1144,1228,1026,907,1032,874,849,778,1068,1190,870,822,1082,1034,1122,1148,1080,1134,1200,1478,1844,1428,1082,1158,1334,1196,1224,1310,1060,905,1392,1904,1520,1404,1312,1502,1488,1466,1710,1818,1786,1672,1692,1632,1402,1344,1334,1300,1274,1694,2288,1698,1176,1078,1126,1160,1224,1192,1110,1013,827,1023,1256,1318,1266,1302,1230,1278,1256,1348,1170,926,926,864,710,830,718,616,641,731,615,798,1304,1284,1306,1144,738,965,1222,1328,960,558,881,733,791,1214,1188,1254,1262,1372,1502,1042,630,636,669,933,1094,1116,1138,1084,1142,1218,939,656,525,645,737,821,1186,1270,1162,943,884,959,854,761,824,596,358,470,586,577,549,808,985,733,642,590,713,1024,985,771,572,572,675,586,559,654,551,368,363,373,651,1132,840,429,352,310,294,312,298,431,1026,1156,755,1144,1852,1158,558,530,502,404,385,444,425,409,489,549,923,1104,1172,782,695,777,1454,2232,2060,1664,1030,756,1090,1268,1396,1542,1176,871,824,860,933,1016,1582,1816,1414,1300,1314,1114,1338,1232,1015,987,987,1048,1042,867,723,630,521,411,393,414,672,1060,1074,1258,1132,1204,1216,1206,1326,1194,754,450,714,1108,1172,1302,1418,1256,1368,1326,1120,1190,1268,1278,1300,1068,1182,1348,1562,1490,1296,1226,995,1124,1242,1308,1122,972,1162,1418,1354,1158,1338,1178,1338,1498,1466,1350,1260,1454,1672,1330,1160,1468,1338,1122,1210,1322,1456,1416,1400,1312,1084,1048,1184,1154,1278,1314,1064,1021,1098,963,813,923,1142,1284,1182,1190,1168,1208,1254,1186,987,986,1636,1562,1048,1086,1384,1354,1488,1306,967,797,685,795,1114,963,958,903,834,915,880,1003,1013,1288,1082,691,778,929,1138,1202,1162,1192,1176,1144,1034,1174,1380,1260,1146,1378,1608,1676,1518,1318,1112,1058,1080,1096,1384,1448,1204,1068,1060,1142,1114,1290,1334,1106,1128,985,904,1060,977,943,864,889,1158,1274,972,631,753,836,967,1144,1330,1216,1382,1156,1206,1102,831,549,445,666,1094,1136,792,659,822,1150,1840,1198,566,439,489,754,1008,873,470,729,1200,975,1362,1708,804,347,334,446,708,787,733,441,391,630,643,603,689,600,841,792,440,446,602,541,505,526,535,561,637,741,560,519,549,368,365,1666,2252,1434,609,510,608,488,619,1007,1252,1130,647,380,502,526,509,589,678,532,357,371,387,469,482,473,382,318,409,635,842,1108,1454,1346,904,773,853,1188,1084,1092,1017,1098,909,663,419,404,523,835,952,816,685,870,814,896,839,1062,913,1238,1474,943,792,1140,1256,1262,1128,1214,1396,1126,1050,1322,1188,728,769,568,377,441,439,507,958,1070,753,611,480,764,1334,1652,1612,1654,1636,1466,1368,1178,858,763,620,408,387,374,313,370,533,907,1172,1146,930,821,904,1028,829,1246,1354,1256,984,2482,2076,902,811,954,991,1234,1348,1188,1266,1052,883,718,563,651,1020,1122,1238,1308,980,1144,1496,1332,1036,415,312,346,504,690,596,421,423,448,526,529,453,422,844,1542,7056,6308,1880,1013,1118,1172,1448,1312,1028,827,1040,1328,957,832,678,626,576,883,1148,969,1132,1414,1058,739,925,580,491,637,843,748,904,1278,1504,1556,1522,1476,1066,753,858,991,1044,938,589,550,510,679,830,581,474,578,870,1444,1230,651,566,628,1520,1590,1338,1200,764,539,442,392,455,539,618,604,573,657,606,365,555,829,1038,629,357,392,505,603,911,756,476,379,614,1164,1432,1212,1086,1256,1390,1454,1448,1448,1610,1626,1650,1562,1460,1128,1274,1262,1392,1242,1230,1364,1246,1030,987,1124,1011,918,856,954,1011,1420,1438,833,566,590,578,550,550,741,1102,1002,816,1028,1366,1494,1340,1072,1178,1272,1256,1162,1146,1122,934,704,643,870,1003,1214,1346,1410,968,570,496,388,377,427,449,530,654,720,470,560,365,271,296,320,319,286,276,306,342,538,712,414,376,387,360,414,414,535,689,610,678,1134,1554,2014,1772,1316,1218,1280,1592,1470,954,880,1064,1048,945,860,590,688,756,574,447,739,919,1172,1102,625,348,347,485,784,1007,938,869,1036,918,939,1144,1712,1416,822,783,755,595,435,422,554,447,382,603,955,1050,1342,904,798,877,1019,979,760,892,1013,509,379,373,674,791,877,1120,1054,1054,926,746,783,574,390,526,651,902,1264,1464,1164,1042,1504,1322,790,642,664,753,1250,1450,1130,1226,1480,1390,1252,1094,856,591,623,672,609,641,765,1178,1080,1064,1046,772,448,889,1360,1526,1442,1238,1284,1460,1468,1246,1032,760,758,966,869,475,524,1030,1256,1174,1124,1528,1394,1112,1122,820,521,390,359,385,362,343,426,466,457,507,430,387,466,673,710,913,1424,1432,1504,1312,1180,1264,1184,966,1024,1034,959,1124,1298,1074,959,703,446,370,415,344,300,337,365,383,352,396,452,405,328,316,327,347,365,373,650,1204,1126,704,608,659,505,439,420,464,534,547,604,639,642,659,529,566,515,448,468,616,574,643,866,1122,1010,492,368,702,1306,1274,1198,861,849,1390,1460,1009,608,644,846,767,444,473,627,951,1522,1690,1516,1256,1500,1162,662,438,426,528,612,478,510,515,453,378,366,436,475,506,539,596,594,472,446,403,408,513,768,743,1162,1152,644,409,305,247,364,719,1232,1310,909,532,481,564,427,327,372,483,577,663,1066,1394,1128,827,1444,1434,833,1114,1384,1728,1816,1324,1174,1816,2052,1256,637,802,937,1180,1108,1122,879,1238,1380,1500,1692,1328,1004,692,423,536,520,523,711,1160,1186,1116,1068,1062,907,908,856,815,1126,1278,1212,1011,1546,1058,566,779,775,786,923,966,971,1166,811,1004,1090,831,1088,1076,857,643,835,1132,889,474,662,821,776,958,1294,1000,1034,957,946,1016,1062,972,878,789,616,619,841,1042,1148,1378,1428,1222,1282,1116,1048,1005,720,385,591,971,1102,928,728,932],[957,935,933,1236,995,667,1048,1136,1040,1074,1170,1132,1150,1186,1078,1042,959,1020,612,741,1140,1308,1318,1172,926,1270,1564,1222,1224,717,523,381,366,314,309,331,405,532,585,467,407,635,667,441,333,365,469,452,387,331,326,352,370,347,400,539,526,499,555,440,337,343,373,551,565,474,601,974,957,525,486,642,998,947,1114,1410,2234,1584,1244,1260,1516,1780,996,642,1096,1448,1290,1310,1610,1664,1266,1248,952,879,692,439,739,1076,1324,1316,1200,954,913,999,637,477,370,322,299,323,271,304,339,310,306,365,369,623,623,831,1080,777,455,692,1032,1138,1224,1358,1268,1110,936,603,458,463,387,437,659,755,536,618,942,1182,1282,951,823,1005,750,960,990,720,583,943,979,700,775,476,471,475,568,588,400,499,845,958,696,661,1040,1184,1290,1082,819,1028,1038,1014,1188,1112,762,711,850,1046,1340,1532,1328,1078,1256,1238,916,642,826,1188,1052,627,738,849,789,810,547,898,1344,940,531,764,691,854,1004,1023,1124,1184,1194,1220,1446,1184,574,486,786,906,675,716,1200,916,698,469,506,780,596,463,1112,1510,796,731,1070,774,461,481,429,353,387,438,521,775,1038,1138,1042,1078,1304,1278,1112,854,590,550,451,502,709,675,745,1254,1400,1220,1122,1024,1128,1206,1174,1218,1312,1246,1021,999,1072,1072,1104,1176,1092,1122,1122,1040,905,655,767,866,741,964,987,992,1086,1158,1010,1015,1194,1278,1292,1464,1588,1588,1300,1174,1144,1182,1438,1346,1106,1005,906,1092,1408,1966,2188,1878,1150,892,1446,1562,1654,1648,1422,1644,1952,1826,1782,1992,1958,1588,1502,1316,1098,1122,1046,1015,1214,1440,1472,1272,1078,1218,1268,1364,1354,1096,1202,1618,2088,1536,1328,1226,1214,1240,857,468,514,1070,1432,1504,1410,955,885,1284,1048,868,1416,1288,1360,1218,619,346,455,484,393,385,451,707,858,488,403,494,778,884,1068,1304,1162,1118,1318,1242,1124,1208,1166,1021,894,606,376,499,623,543,594,1214,1510,1094,948,1058,1274,813,940,1772,1438,754,816,870,730,838,974,664,351,464,645,596,861,1214,1268,1192,1302,1288,1224,1326,1396,1500,1552,1506,1376,1198,991,1118,1288,1174,1104,1007,1094,1426,1444,875,766,1026,828,679,576,514,853,730,618,980,994,680,606,530,394,438,442,435,531,609,656,703,517,762,1072,1182,1262,1146,1114,1078,874,890,787,952,1156,1158,1222,1248,1228,1310,1206,961,880,901,897,1036,787,869,716,679,1011,1158,1138,1220,1294,889,459,456,674,599,757,1112,1282,1582,1538,1500,1570,1200,1134,1128,988,1264,1434,1506,1262,1056,1342,1336,1034,796,828,1210,1224,1196,1120,1046,1272,1178,1360,1332,1068,984,1100,1130,934,886,841,747,1412,1510,1422,1512,1376,1468,1502,1572,1562,1588,1346,1015,985,1502,1998,1600,1454,1152,1226,1162,1100,1252,1174,1230,1288,1116,1144,1080,974,913,1160,1642,1330,937,1100,1216,1172,1064,818,874,1040,1076,1284,1360,1484,1384,1522,1382,1314,1502,1616,1418,1468,1310,1086,1166,1232,1372,1656,1484,1196,1612,1510,1168,1330,1774,1808,1812,1830,1664,1212,1136,1258,1990,1336,1944,2370,1626,1162,1188,1212,1158,1288,1212,1146,1086,889,1136,1208,1270,1360,1454,1272,1250,1436,1340,1162,1202,1058,706,742,689,731,737,754,664,619,1144,1336,1274,1286,833,852,1278,1270,1046,755,726,946,828,1368,1462,1248,1414,1468,1480,1262,919,699,649,1038,1272,1070,943,1020,913,1056,1072,647,502,478,463,650,832,1266,1344,1208,1144,954,1070,1004,1088,1106,608,480,444,401,462,542,630,924,800,644,579,742,1290,1532,1268,919,602,611,499,427,381,636,833,805,525,728,1017,723,423,365,380,321,352,312,336,563,541,607,939,1216,948,641,523,576,491,493,590,408,382,410,470,959,1084,1009,839,1009,1224,1412,1394,1126,1292,857,1106,1368,1430,1462,1330,850,556,562,592,664,798,1138,1168,841,978,1102,1266,1480,1236,1056,1100,1180,1268,1250,1174,915,753,664,626,518,402,622,926,1062,1300,1478,1448,1332,1320,1316,1048,758,714,1021,1068,1188,1278,1344,1196,1262,1344,1056,938,1136,1406,1332,1220,1212,1562,1754,1402,1244,1356,1378,1308,1226,1086,964,998,1180,1312,1204,1158,1214,1136,1278,1272,1308,1390,1294,1578,1980,1374,1160,1276,1310,1090,1146,1392,1424,1272,1410,1336,1068,1318,1338,1188,1288,1166,877,915,1274,1180,1028,1020,1260,1368,1176,1130,1238,911,828,836,766,977,1380,1292,1162,1342,1334,1196,1226,1192,904,599,741,999,1050,1108,1760,1290,1086,756,552,769,953,1104,813,620,749,901,1172,1290,1222,1276,1310,1392,1158,1062,1354,1326,1001,1148,1484,1626,1422,1148,1066,1108,1322,1410,1554,1386,1184,1118,1122,1368,1262,1252,1124,1318,1260,1054,1074,932,1352,1318,1110,1138,828,673,871,989,1202,1024,1198,1528,1450,1312,1180,946,950,989,1092,896,579,747,637,463,594,725,904,1408,1494,729,441,457,528,760,1018,895,681,1170,1436,1004,1404,1076,407,227,286,320,441,605,553,399,484,499,435,693,772,393,348,400,331,399,455,595,899,800,630,886,755,740,1009,586,309,364,630,1494,1476,807,611,511,390,311,478,793,824,555,604,439,416,487,504,603,582,478,422,450,344,504,782,750,633,457,552,885,949,1022,1272,1208,1007,732,573,764,815,806,687,1094,1314,819,355,369,527,894,1102,1426,1528,1314,742,856,923,935,692,1022,1406,1066,992,1320,1422,1180,1228,1620,1466,1188,904,935,1186,1114,929,975,991,976,965,922,998,1092,1007,929,706,556,940,1354,1472,1604,1560,1504,1410,967,744,916,644,421,291,278,321,308,448,896,1200,1106,756,782,991,1128,863,998,1428,1330,946,1186,1220,1062,1170,1056,917,1116,1324,1222,1338,1086,1074,985,713,442,604,1012,1430,1472,1190,910,962,1228,917,433,352,413,547,993,1158,592,536,609,502,499,493,529,1260,1284,1338,952,1096,1434,1514,1246,875,999,853,738,1690,1426,814,1156,1104,733,604,648,674,777,1276,1542,1188,800,670,616,735,912,899,678,608,775,1196,1312,1396,1632,1274,877,818,897,738,522,550,525,505,885,1056,917,879,852,707,1002,780,521,387,494,1052,950,1016,960,777,677,521,677,759,866,573,578,509,749,849,459,426,593,692,755,788,847,737,413,481,536,549,708,993,1368,1562,1302,1050,1042,1188,1582,1590,1464,1656,1484,1366,1408,1516,1296,1256,1230,1278,1338,1410,1366,1196,1278,1720,1476,1232,1380,1326,1070,1024,1496,1552,886,542,558,507,466,574,820,1078,896,771,884,1186,1244,1180,1064,1072,1192,1358,1374,1300,1376,1040,636,525,617,853,1072,1240,1334,951,840,874,484,359,537,901,830,473,499,631,586,404,314,336,336,290,348,463,429,365,507,686,604,613,455,369,471,502,428,422,429,368,485,869,974,1284,1292,1264,1628,1536,906,557,688,1021,913,1102,1578,932,720,769,745,638,871,1168,1308,1212,933,977,882,574,975,1408,1414,984,938,1072,1046,1362,1774,1316,772,975,979,810,594,423,409,465,612,1000,1116,1268,1338,1028,846,839,1190,1140,1218,1130,843,739,784,719,585,742,1080,1176,1136,929,940,1124,745,484,720,1084,1004,1236,1456,1192,896,1106,1264,999,722,540,484,521,1164,1642,1730,1656,1358,1190,1016,1021,895,706,987,1102,1072,1060,855,1012,1138,896,895,594,486,967,1236,1344,1374,1354,1116,1056,1204,1280,1182,1001,1028,943,543,437,771,916,821,1110,1226,1618,1650,1540,1166,1134,937,581,574,653,548,438,379,474,525,462,460,797,727,736,964,1226,1218,1238,1422,1318,1278,1174,1328,1028,937,1060,952,1530,1836,1570,1244,966,650,566,540,435,356,326,356,392,362,383,420,400,331,299,329,337,348,386,722,1286,1316,1138,720,504,446,476,468,446,529,656,678,645,589,564,556,550,451,421,429,564,548,514,663,894,854,392,500,767,883,893,1040,755,1084,1570,1398,888,540,452,699,769,717,784,1056,1182,1256,1356,1188,1102,1176,1136,909,576,552,650,954,604,515,497,439,403,406,451,487,535,553,569,672,566,449,399,518,674,647,513,713,722,542,413,280,215,274,496,965,1228,1012,710,708,811,709,753,803,792,1046,1208,1526,1394,843,1058,1920,1930,1096,916,1100,2230,2480,1226,1048,1406,1816,1498,642,486,459,663,1190,1554,1382,1260,1364,1624,1368,849,792,589,637,1340,871,579,553,670,758,982,1070,822,964,1104,964,938,1144,1280,1112,1176,1338,886,717,593,697,915,800,659,786,1092,921,605,539,677,927,949,862,765,1148,1538,1086,739,1110,1136,1476,1328,1272,1282,1256,1252,1250,1068,909,918,1036,1198,858,661,1058,1168,1188,1260,1522,1234,976,1656,2426,1310,899,553,843,1446,1480,757,866,952],[686,1064,1210,1036,908,623,711,1070,1082,972,1212,1286,985,1584,1490,1128,1092,1190,800,766,937,1004,1148,1130,1310,1548,1488,1210,1104,982,835,536,402,431,569,613,565,487,396,358,644,599,370,340,352,404,376,321,300,319,324,332,368,371,500,871,897,899,796,458,375,386,453,544,527,481,686,974,960,879,733,721,868,1058,960,1374,1932,1550,1090,1116,1376,1324,886,855,1086,1396,1132,1196,1778,1730,1346,1134,698,645,625,439,839,1176,1464,1420,1274,1208,879,943,918,709,508,367,356,372,281,229,249,284,271,320,338,495,647,1013,1342,1001,390,493,895,1266,1242,1396,1002,724,595,310,332,484,508,418,441,457,349,466,921,921,739,766,843,802,910,1032,856,673,600,788,876,921,1200,832,749,753,571,523,490,664,1020,923,544,728,1350,1186,1198,1026,833,706,726,859,824,681,651,608,753,1032,1002,1136,1312,1444,1184,1060,1058,911,705,849,1116,1032,1140,1082,879,912,728,749,1154,1190,998,1005,1122,1294,1206,1176,1228,1382,1144,868,1260,1226,763,466,397,469,527,1106,1108,779,723,598,738,1002,567,616,1015,1170,801,1013,1210,860,480,412,450,412,404,439,756,1118,1052,966,807,799,1058,1826,2154,1340,893,807,713,1194,1436,927,950,1358,1498,1422,1232,1346,1240,1184,1278,1180,1436,1314,1264,1238,1156,1134,1126,1005,1034,1412,1460,1126,907,624,517,747,1060,943,820,1040,1058,1124,1122,1194,1050,1082,1254,1482,1688,1474,1160,1154,1064,1060,1140,1228,1234,1306,1256,1048,1024,1322,1812,2132,1730,1078,1482,1694,1640,1434,1570,2006,2192,1976,1714,1730,1470,1128,1236,1248,1248,1236,1094,724,866,1230,1618,1378,1050,1028,1044,1070,1104,1054,1190,2036,2652,1748,1222,1156,1070,1134,973,580,594,1044,1442,1334,1300,903,1094,2122,1566,1128,1240,1316,1388,1028,484,423,629,739,682,748,620,716,693,491,413,778,905,1098,1502,1198,987,902,1146,1038,1092,1190,1260,1098,811,486,422,947,1152,702,846,1386,1602,1426,1394,1036,882,740,875,1490,1302,1092,1052,762,610,619,492,356,302,394,484,625,965,1250,1052,1009,1194,1312,1128,1200,1368,1586,1722,1734,1550,1584,1530,1650,1700,1622,1444,1084,1186,1464,1490,854,888,1030,996,968,835,793,1058,921,588,560,564,482,478,444,412,525,747,887,921,742,601,636,636,689,787,991,1338,1018,771,968,754,733,1074,1274,1262,1180,1108,1194,1148,1150,1198,877,1064,1052,1074,1076,756,486,549,697,713,783,853,1022,1018,718,494,474,701,590,937,1148,1330,1520,1368,1324,1170,1102,1028,901,974,1176,1344,1162,1106,1076,1266,1326,1014,818,1048,1512,1242,1250,1028,1005,1260,1162,1090,1180,1158,1058,1092,1138,1178,1018,991,1122,1362,1234,1140,1360,1396,1424,1264,1010,1040,1284,1534,1490,1376,1572,1686,1588,1636,1556,1370,1042,957,1158,1278,1640,1628,1236,1208,1086,973,1056,1216,1650,1462,988,892,1044,1172,1202,1054,1146,1128,1076,1246,1448,1494,1280,1108,1158,1426,1456,1144,955,1292,1346,1152,1234,1324,1118,1416,1324,1132,1060,1268,1290,1548,1744,1422,1504,1860,1584,1290,1304,1278,1770,1074,877,1116,1204,1260,1378,1258,1294,1700,1472,1360,1202,1068,1080,1180,1272,1352,1374,1132,1194,1282,1150,1028,1021,696,684,764,735,700,656,683,547,941,1456,1274,1360,1076,654,893,1180,1220,1076,923,1100,1336,1378,1378,1290,1526,1584,1458,1318,1408,1374,949,838,1380,1318,1106,1140,1172,1180,1144,849,507,456,455,385,551,846,869,639,877,1026,1142,1238,1060,1336,1352,567,685,594,392,364,476,549,899,1028,971,881,816,1160,1452,1154,1042,833,680,530,466,442,757,860,712,533,445,511,520,576,656,788,412,352,385,483,608,596,558,491,604,834,639,512,576,475,444,553,516,468,431,533,857,992,883,842,955,930,1082,1074,897,960,792,1086,1416,1478,1340,1011,615,498,550,583,733,729,1006,969,653,1058,1190,950,828,808,785,858,1244,1322,1350,1334,1160,1236,1228,1070,940,838,926,1026,1002,1100,1194,1306,1354,1372,1478,1296,1190,1200,1238,1360,1604,1440,1290,989,832,1152,1009,981,1094,987,1122,1222,1268,1536,1628,1362,1198,1164,1164,1188,1005,1028,1118,1162,1170,1228,1194,1192,1190,1150,1180,1138,1230,1262,1260,1366,1570,1168,1008,1168,1194,1032,1078,1356,1384,1268,1348,1318,1234,1360,1158,1086,1190,966,737,996,1222,1112,973,930,1092,1176,1038,1012,966,852,922,919,772,1190,1288,1026,1124,1176,1084,900,930,1190,1244,813,748,843,1146,1170,1122,1070,1090,832,622,705,1048,1084,574,576,742,961,1200,1276,1236,1206,1374,1360,1232,1234,1378,1380,977,871,1218,1642,1434,1394,1356,1232,1120,1556,1892,1444,1182,1056,1056,1064,1064,1100,1330,1482,1286,1208,1126,1232,1598,1328,1032,969,897,704,902,1250,1184,720,830,1410,1726,1482,1028,990,1068,1070,1152,925,977,758,397,569,830,1202,1030,708,509,491,556,470,516,793,919,952,985,1170,886,952,1360,959,391,271,339,403,360,491,794,889,727,533,670,844,619,350,372,416,433,536,585,753,1106,1094,1030,1212,857,781,1022,830,571,491,828,792,578,702,674,420,504,367,314,385,433,691,793,587,505,537,550,427,443,470,486,569,745,829,847,866,772,532,574,842,1052,1376,1588,1416,1094,799,519,407,637,803,874,1258,1470,953,389,375,518,916,1168,1824,2002,1366,676,861,1064,859,876,1092,1158,1312,1366,1470,1202,998,1592,1524,1360,1276,978,767,946,1184,1398,1348,1124,1166,1578,1420,1202,1418,1122,959,954,755,700,669,999,1456,1404,1084,1021,904,895,687,413,304,232,261,324,299,326,613,867,839,518,457,393,783,821,1030,1504,1440,1338,1340,1272,1220,1172,1030,1003,1202,1198,1330,1460,1190,960,1080,1007,722,837,1250,1464,1354,1650,1350,1210,976,798,714,676,600,500,1012,1498,708,538,830,542,413,429,747,1236,1104,877,1160,1278,1158,1238,1100,651,1009,1062,1142,1880,1160,764,962,765,526,620,1136,1030,488,1046,1250,1354,1144,1028,1346,1274,878,613,709,493,386,455,607,1256,1574,1146,656,679,888,631,409,529,552,837,1262,1316,1224,1376,1516,926,639,509,436,422,457,853,1180,1186,1017,854,743,838,1010,757,655,450,551,422,542,524,428,614,936,1194,1340,1316,1238,1078,1072,787,661,775,1092,1490,1818,1692,1028,633,799,1052,1256,1500,1350,1186,1282,1312,1476,1612,1228,1018,1278,1384,1344,1396,1320,1244,1188,1278,1416,1154,1162,1154,1132,1144,1272,1248,865,641,648,758,780,815,1034,1178,1148,974,1014,1204,1388,1478,1368,1394,1466,1554,1478,1266,1296,1172,787,594,703,828,944,1144,1130,930,1324,1354,831,420,493,940,738,438,662,946,778,495,420,480,627,874,910,606,735,858,777,937,897,766,670,622,566,659,489,429,478,474,417,472,493,771,645,747,1190,1006,485,501,731,969,793,953,1598,1278,1108,926,749,796,1110,1214,1342,1282,787,805,831,944,841,1023,922,971,957,850,923,1000,1096,1110,1154,1013,664,775,1234,891,599,895,1168,1270,1420,1334,1126,1466,950,713,1160,1316,1516,1048,643,904,1238,1058,732,938,1264,1212,1242,1110,792,1076,980,1218,1310,1114,866,921,845,584,631,865,828,790,700,589,564,703,736,1092,1358,1430,1464,1372,981,827,1104,1212,1018,1010,1138,1224,1132,1164,1224,896,480,405,792,1036,1152,1446,1326,1446,1140,1158,1426,1370,1212,1348,1330,807,430,805,1168,930,960,1304,1214,1184,1604,2030,1668,1522,1306,847,727,729,591,489,416,565,722,593,536,907,1042,1072,1350,1406,1216,1204,1528,1242,1280,1332,1015,1172,987,1130,1354,1736,1908,1670,1478,1242,1076,1058,912,654,516,387,395,455,433,381,375,379,348,307,321,331,341,437,887,1108,1138,1144,968,651,441,450,446,471,586,569,562,515,523,552,520,462,448,415,443,554,477,463,600,588,561,388,546,546,825,940,751,644,1256,1708,1396,1096,860,969,979,862,658,757,927,757,672,806,1070,1232,1322,1406,1130,750,491,761,1266,1058,677,465,519,520,494,519,566,585,562,633,785,681,539,561,598,585,476,305,298,334,325,365,324,250,287,399,771,1266,1298,984,841,800,814,998,1006,892,1030,1394,1494,961,869,1354,1484,1005,504,466,778,1300,1210,753,761,1458,1428,971,788,688,509,569,976,1308,1392,1564,1640,1670,1230,890,911,844,1102,1268,890,1238,1288,747,621,942,963,709,1090,1276,1282,1178,1188,1180,1268,1372,1138,996,892,498,861,1224,976,708,832,1282,1204,752,658,936,1036,1124,1068,924,1005,1202,986,1064,1830,1372,874,1078,1226,1166,1350,1370,1140,858,1086,1262,1324,1292,749,921,1272,1362,1314,1396,1288,1266,1346,1804,2598,1166,783,769,1128,1330,1510,1222,844,605],[910,1014,1080,977,877,576,491,830,1104,999,971,1428,1396,1756,1572,1426,1228,1254,1244,950,818,851,1100,1380,1688,1412,1130,1202,974,1050,936,694,610,596,648,480,345,308,401,631,647,407,362,416,449,393,356,343,302,317,336,322,342,412,636,1005,1014,1166,1132,994,700,390,432,554,858,920,1036,1224,915,996,754,588,626,839,1001,1018,1324,1256,752,739,1050,1156,1434,1130,1044,1076,1294,1678,1594,1280,1372,1274,860,763,707,583,623,934,1494,1572,1524,1364,956,949,1352,1476,1050,466,338,307,273,297,307,420,734,960,820,525,790,1228,974,764,572,723,1026,1226,1104,1064,734,886,794,387,382,514,548,427,321,345,317,285,617,981,1326,1412,1318,1224,978,614,429,494,588,1006,1204,1050,1118,1046,938,932,761,694,786,786,821,786,846,912,1102,838,749,536,561,531,515,799,735,439,658,837,613,639,1013,796,901,1240,1046,1023,931,708,856,1014,874,955,1404,1250,806,1072,1128,772,979,1023,1032,1152,1430,1426,1230,1258,1536,1382,1178,869,868,1086,661,375,356,465,1036,1314,836,768,884,672,577,675,445,595,460,573,824,1011,993,738,623,496,508,412,457,805,1224,1344,1202,1300,1184,1146,1556,1870,1564,1126,1308,1380,973,1008,1132,1024,1090,1266,1196,1196,1226,1166,1066,1104,1224,1092,1198,1268,1056,1048,1138,1238,1130,1058,1126,1204,1110,1096,1148,857,589,824,1202,1038,785,900,1190,1606,1716,1170,1030,1266,1210,1510,1528,1154,1140,1038,1010,958,1064,1208,1346,1566,1532,1168,999,1682,2856,3042,2624,1840,1682,1970,1632,1348,1610,1906,1746,1364,1178,1148,1154,1218,1152,1206,1184,1130,1056,1526,1526,1254,1360,1430,1304,776,673,691,965,1250,1402,1956,2642,1910,1322,1378,1078,991,1112,710,580,1170,1478,1450,1480,1130,1038,1026,1001,1092,1046,1166,1300,1370,1130,593,536,772,807,784,960,1026,806,612,708,1064,1072,1030,1290,1306,1146,1004,1076,999,1212,1936,2034,1414,1088,700,586,785,807,773,1114,1226,1005,1066,1286,909,680,906,1088,1050,1140,1532,1554,993,445,519,564,439,467,888,965,989,1406,1424,1220,1324,1368,1888,1306,1050,1422,1544,1520,1366,1382,1028,824,1390,1670,1786,1710,1007,868,1176,1290,853,1176,1576,1626,1558,1230,984,929,849,575,536,666,713,610,414,511,667,912,942,946,999,875,998,1418,1226,998,816,1296,1021,1146,1236,813,760,957,932,946,948,625,650,761,795,878,723,781,839,932,874,557,285,346,434,565,645,719,1034,1050,927,591,455,513,622,976,1240,1416,1472,1432,1322,1036,1128,977,988,1162,1138,1172,1202,1266,1204,1242,1254,1056,1074,930,1100,1218,1346,1120,1020,1066,1020,1040,1266,1384,1272,1194,1288,1230,985,1236,1242,1252,964,1084,1260,1168,1224,1132,1162,1054,930,1150,1368,1464,1294,1384,1464,1400,1444,1500,1384,1256,1270,1370,1824,1534,1080,1202,1138,669,795,1130,1330,1460,1330,1162,1104,1028,929,1068,1200,1208,1228,1206,1292,1322,1296,1078,1162,1250,1130,1100,843,1192,1302,1116,1140,1402,1398,1288,1208,1166,1232,1350,1276,1636,2016,1326,1252,1778,1626,1362,1404,1554,1474,1210,1152,1232,1318,1236,1244,1186,1336,1692,1488,1372,1190,1128,1098,1118,1208,1340,1342,1050,1102,1076,938,828,920,892,954,780,762,681,656,602,607,1208,1348,1256,1246,726,537,779,1124,1238,1388,1328,1324,1450,1642,1526,1484,1614,1446,1328,1542,1738,1590,1396,1160,1224,1296,1058,988,991,910,849,680,646,491,435,415,392,432,474,629,745,764,1052,1066,814,835,813,399,591,477,335,355,462,545,859,1134,1176,1086,852,1140,1416,1096,1248,1158,808,888,750,683,694,494,692,669,446,489,683,756,1122,1176,669,470,561,916,1084,802,619,910,1688,1322,719,515,579,500,433,433,463,491,516,747,1124,1170,896,972,1114,930,969,1246,1272,1176,866,1038,1434,1512,1322,930,777,653,649,457,457,582,822,900,748,974,1090,832,744,812,692,1011,1290,836,1220,1178,1072,1328,1370,1196,1150,1064,1056,987,991,929,860,971,985,1166,1428,1206,1398,1520,1332,1630,1918,1620,1482,1216,868,1096,1142,1054,962,903,1210,1432,1546,1598,1470,1310,1268,1076,1122,1238,993,996,1226,1110,1248,1260,1246,1064,871,1028,1244,1350,1428,1420,1328,1262,1312,1246,1110,1116,1194,1084,1166,1452,1412,1298,1118,1038,1003,818,979,1036,1074,1080,876,1024,1023,761,860,1100,1272,1282,942,764,697,928,1282,1274,1174,1448,1264,1074,986,888,1015,965,998,1114,1350,1288,1064,847,1005,1162,1376,1372,1108,1138,1028,1007,1312,1260,1074,1076,1116,1166,1132,1236,1132,1064,1164,1260,1452,1120,1288,1260,941,772,1008,1558,1632,1300,1134,1026,871,1104,1062,1116,1104,999,948,1080,1098,1176,1508,1642,1120,855,1015,1320,1478,1264,1174,1196,1034,738,1007,1158,1158,854,519,725,1080,1186,1050,1054,1186,1328,1246,1021,1202,832,552,1100,1738,1628,989,491,572,888,808,507,533,654,813,841,831,965,724,876,1204,750,321,314,373,414,357,677,1238,875,500,368,615,677,386,260,272,373,468,453,427,402,634,1066,796,504,795,1228,981,931,832,410,491,463,659,954,912,594,565,405,297,291,317,365,503,673,670,652,604,441,641,840,923,1146,1394,1476,1404,1238,1090,874,886,781,610,940,937,684,585,855,672,355,532,683,976,1640,1748,1044,527,408,529,827,994,1428,1460,816,393,803,1022,851,998,1260,863,1262,1470,1376,1274,1354,1406,1406,1540,1414,899,653,859,1160,1260,1304,1382,1316,1502,1318,1454,1760,1238,909,1052,1322,1342,609,537,1056,1374,1009,733,714,584,403,335,247,253,321,350,334,297,371,433,441,453,490,352,759,1022,974,1314,1302,1396,1336,1208,1356,1182,1100,1144,1334,1252,1220,1298,1136,1021,1023,1100,1268,1266,1190,1058,1172,1432,1278,1236,1224,1120,1114,1266,1066,809,991,1122,973,630,598,477,519,599,791,888,791,457,564,755,862,1276,899,600,631,696,1186,1354,963,643,535,892,766,567,860,601,645,1312,1614,1134,1001,1622,1646,1484,1398,1500,1320,930,728,666,782,1362,1592,1320,1260,1444,1358,1166,1005,755,686,1148,1306,1592,1130,1224,1638,1354,787,512,446,428,420,698,1010,1038,889,589,814,982,1284,1080,579,328,321,362,618,847,943,1068,1006,841,736,736,1056,1106,1246,1238,1224,1360,1630,1838,1628,1118,503,468,845,1204,1088,1446,1184,1388,1756,1782,1666,1636,1356,960,1220,1268,1256,1230,1250,1232,1056,1082,1096,947,1040,1166,1300,1366,1522,1658,1606,1268,1156,1278,1416,1532,1302,1152,1120,1000,1128,1406,1572,1596,1406,1278,1318,1378,1260,1186,1240,1376,1096,914,1134,1112,1154,1266,1224,1058,1152,1266,859,466,401,427,379,286,524,789,838,755,855,1030,1118,1124,930,680,992,1104,954,1034,1250,1340,835,919,1078,1120,1072,948,920,824,663,567,517,623,563,434,661,876,618,559,716,969,961,1150,1268,1360,1360,1288,882,656,813,954,1532,1650,1130,766,671,1058,721,700,794,1007,1030,814,1102,1062,720,584,901,691,671,957,1340,1160,992,1472,1826,1498,1032,704,1166,2008,1242,1170,1192,1500,1642,975,591,1042,1502,1276,806,1192,1388,1184,728,673,568,755,1268,1616,1122,857,990,621,697,988,806,701,645,830,788,629,563,561,553,521,693,828,993,1300,1156,1098,1412,1120,664,541,847,1204,1322,1184,1156,1064,741,930,1202,1410,1918,1518,1250,1452,1382,1336,1430,1240,1410,1610,1272,901,670,763,960,982,1332,1240,956,1136,1506,1648,1636,1444,1160,875,783,736,509,509,529,438,477,596,610,626,788,1278,1350,1424,1782,1600,1364,993,1002,1182,1007,1040,996,1052,930,1050,1444,1330,1350,1414,1430,1148,1054,930,680,494,433,481,467,379,373,391,373,336,339,333,347,456,783,1058,1300,1386,1190,683,424,438,439,454,515,479,586,510,504,547,455,431,527,609,713,692,480,618,541,408,378,437,562,468,605,752,608,660,1296,1748,1600,1528,1410,1338,899,645,616,899,700,536,753,1072,1222,944,1300,1304,883,849,505,828,1320,1626,1324,644,583,558,515,555,567,541,517,568,557,449,616,757,639,572,479,294,299,289,301,364,386,324,339,520,903,1378,1228,716,839,861,1050,847,659,858,1218,1372,1028,945,1202,1498,1498,1154,783,660,1070,1338,865,532,547,880,955,775,982,1020,647,763,1094,1174,1206,1296,1538,1516,1384,875,1066,1218,1536,1154,1028,1788,2056,2004,1262,957,855,938,802,1008,1252,1224,979,973,1122,1080,836,688,538,398,581,596,681,941,853,874,968,893,722,802,1388,1760,1254,1072,932,1064,1084,918,1272,910,557,915,923,846,1266,1186,910,961,1102,1250,1456,1238,971,1140,1212,1244,1360,1312,1168,1426,1660,1166,1142,921,761,837,1072,1220,1360,986,541,430],[702,807,1152,1046,684,592,994,1174,1456,997,675,993,1322,1296,1158,1368,1578,1638,1490,828,681,924,1196,1216,1028,1062,1332,1290,1044,1104,919,617,549,515,504,378,335,374,592,700,480,361,366,468,505,385,335,327,300,302,335,322,348,446,603,1086,1278,1186,1202,1136,791,449,423,700,1774,1716,1288,1262,995,800,571,438,554,1046,1300,1324,1852,1260,727,501,742,1564,1860,1023,886,1094,1156,1288,1324,1168,1132,1104,1058,791,480,450,645,924,1224,1226,902,761,985,1400,1832,1568,800,404,286,274,267,387,389,437,750,1142,1084,742,650,611,460,691,622,650,939,1034,936,612,637,1128,902,496,821,788,634,437,389,303,249,268,373,872,1242,1200,1140,947,808,626,535,616,866,1164,902,918,1007,1172,1007,757,757,803,954,1070,1076,930,964,828,882,684,462,375,430,355,444,1032,1200,759,822,907,517,502,903,832,772,1098,931,665,758,883,997,1030,1176,1484,1962,1222,593,847,1098,948,894,1100,1210,1250,1204,1352,1452,1642,1864,1538,1164,865,813,1210,1218,981,749,892,1584,1266,691,809,937,798,513,571,786,889,707,633,908,1092,712,440,653,516,421,579,991,1274,1148,1182,1174,949,756,1228,1872,1632,1412,1210,1252,1374,1116,1042,921,968,1138,1470,1364,1082,1078,794,725,848,960,1028,1268,1144,1018,820,1064,1352,1262,1198,1196,1064,1068,1284,1630,1228,1030,1100,1230,1068,820,921,1130,1508,1622,1314,1290,1426,1452,1490,1116,1108,1146,976,967,1086,1206,1238,1338,1488,1250,1246,1224,1972,3074,2930,2758,2438,2312,2188,2066,1708,1434,1664,1544,1284,1544,1610,1444,1332,1266,1194,1102,1012,729,912,963,722,828,999,1188,1158,1290,1382,1222,1208,1260,1628,2264,1914,1420,1282,898,807,742,608,407,1134,1446,1660,1462,1170,1114,779,636,832,1052,1182,1374,1582,1318,871,555,640,952,918,1208,1286,718,395,537,822,971,906,1126,1278,1222,1354,1194,1140,1422,2604,2564,1170,970,856,634,445,806,1222,1018,1023,877,858,931,824,752,668,694,875,1198,1248,1378,953,539,564,430,361,540,813,800,915,1212,1282,1290,1328,1590,1744,849,825,1314,1246,1184,1362,1258,949,828,1222,1340,1630,1704,1520,1274,1044,952,1102,1496,1920,2282,2258,1388,987,1316,1194,778,971,1150,1098,1052,703,789,1018,991,1004,789,789,951,1236,1700,1536,1284,1312,1510,1366,1628,1682,1618,1424,1168,736,517,453,378,382,650,869,1048,864,932,1164,879,593,404,350,342,369,401,780,1218,1862,2094,1604,775,409,588,736,907,1074,1456,1424,1446,1232,1084,1188,1158,1350,1292,1228,1426,1290,1346,1306,1216,1072,924,1070,1256,1372,1278,1332,1262,1244,1296,1282,1436,1658,1656,1294,1284,1318,1244,920,1304,1338,1264,1332,1490,1250,1132,1156,1066,1346,1184,1176,1204,1416,1370,1288,1338,1246,1056,1100,1404,1562,1462,1444,1420,1612,1454,1116,1334,1262,750,611,962,1356,1504,1342,1400,1316,1094,876,1278,1534,1440,1456,1460,1448,1416,1126,1042,1346,1030,1300,1378,1080,1202,1370,1266,1116,1280,1404,1322,1166,1178,1256,1314,1136,1088,1096,1194,1450,1736,1540,1194,1332,1682,1736,1592,1134,1274,1548,1406,1512,1254,1144,1278,1196,910,832,1042,950,958,1318,1454,1402,1108,1266,1186,937,685,715,916,850,696,802,717,594,513,896,1348,1274,1356,955,615,836,1100,1360,1594,1572,1494,1606,1380,1444,1648,2070,1572,1334,1422,1542,1570,1506,1600,1528,1354,1258,1126,1204,1460,1054,1080,781,667,529,398,480,447,404,537,696,706,678,971,957,706,515,390,354,401,322,326,386,397,563,1128,1394,1136,1148,1050,1442,1648,1396,1342,1156,1254,1322,1009,1106,1028,776,810,924,984,1374,1180,758,1292,1262,1062,1152,938,997,891,622,697,861,1704,1256,665,426,558,567,444,416,444,449,478,774,1158,1002,979,1148,913,814,1060,2086,3038,3032,2292,1406,1272,1358,1364,961,908,821,677,492,455,468,781,1044,706,464,611,667,837,1032,1216,1504,1384,1396,1506,1260,1156,1292,1162,1176,1356,1148,986,931,1018,1012,1244,1192,991,1038,1120,1178,1322,1394,1420,1252,1294,1602,1716,1334,1290,1364,1190,821,949,1070,1196,1616,1676,1562,1324,1362,1200,1116,1040,977,1044,973,1172,1204,1118,1214,1322,1208,1300,1398,1394,1362,1338,1356,1266,1166,1204,1182,1152,1276,1342,1106,1122,1174,1230,1009,817,943,1006,909,897,989,1186,1118,1110,1270,1226,980,952,1204,1290,1178,894,685,813,1078,1152,1036,974,1064,1114,1015,855,990,880,985,1042,1076,1250,1508,1284,901,962,1200,1284,1330,1142,1106,932,1013,1438,1854,1598,1406,1576,1130,968,1296,1214,1260,1296,1412,1312,1152,1156,1116,1000,883,1060,1518,1716,1318,835,734,875,965,851,1052,914,796,1054,1234,1009,1022,1444,1528,1072,930,1176,982,1136,1011,918,694,497,771,896,902,953,491,472,565,514,849,823,933,1021,1352,1436,1166,815,709,809,1494,1840,1176,682,507,628,1096,755,693,705,719,808,922,1108,1046,776,835,772,506,454,500,741,688,525,639,989,647,359,309,404,472,332,226,264,336,434,558,692,486,320,520,595,625,1246,1388,790,1096,1012,681,465,412,725,761,669,548,634,593,345,324,437,543,627,667,690,655,505,394,587,1011,1250,1304,1406,1626,1642,1396,1462,1392,1098,884,390,399,480,444,568,914,670,369,579,467,541,907,1338,750,487,391,677,819,632,869,1021,686,443,594,844,579,566,1030,1136,1372,1430,1398,1322,1124,1406,1990,1872,1460,991,796,830,1070,884,1021,1230,1044,937,875,901,982,669,774,1116,1294,1610,761,592,1126,1356,1242,986,569,424,379,328,284,337,308,276,311,264,277,328,348,406,477,409,714,1044,863,1136,1148,1210,1046,942,1164,1256,1112,1058,1182,1310,1326,1422,1554,1182,1076,1218,1460,1376,962,719,1010,1214,1212,1224,1278,1172,979,909,985,1230,1392,1194,999,706,448,433,533,721,823,727,764,580,596,755,1134,1018,611,505,512,746,1092,1234,1330,1040,820,1258,1150,949,857,448,1116,1450,1288,1134,998,1058,1182,1532,1848,1982,1718,1486,1224,952,1444,1506,1892,1804,1444,1312,1362,1432,1072,979,921,1562,1618,1686,1226,1144,1372,1562,1120,605,431,427,408,458,706,935,658,467,668,938,1400,1172,582,385,643,911,1180,1284,1126,875,601,432,761,927,1122,1272,1350,1310,1384,1662,1834,1692,1406,688,303,412,881,1072,955,1090,1174,1218,1250,1508,1530,1640,1492,1120,1011,1050,1080,1088,1230,1154,1066,1124,1160,1208,1112,1134,1194,1376,1510,1448,1302,1338,1542,1548,1664,1670,1332,1166,1240,1088,1230,1434,1404,1310,1310,1396,1302,1194,1104,1118,1314,1516,1288,902,1062,965,996,1204,1250,1128,1224,1224,750,514,383,313,394,451,799,765,1094,1262,1168,1288,1078,664,616,704,863,996,1046,1316,1886,1782,860,603,965,1134,1370,1204,1052,1080,1138,912,579,583,651,600,1128,1210,932,756,770,941,897,751,1154,1482,1332,1258,733,460,415,807,1326,1318,1234,958,1158,1340,920,693,710,962,1100,863,1034,1108,949,969,729,423,591,1046,985,747,1272,1966,2062,1282,697,705,1316,1800,1580,1532,1628,1782,1616,1156,1044,1522,2014,1860,1792,1952,1232,860,628,763,880,888,1168,1298,832,848,1106,630,1015,1162,897,865,982,854,775,777,653,581,547,559,757,891,930,810,806,1188,1322,1100,650,534,736,954,1208,998,1138,1188,1458,1410,1202,1430,1770,1416,1270,1034,1134,1566,1250,747,959,1106,1460,1242,722,590,745,988,1100,935,709,989,1276,1042,1110,1164,880,927,1150,1003,756,690,596,449,437,553,580,562,1102,1628,1140,1340,1550,1604,1218,1036,1134,1094,1188,1352,1344,1354,1266,932,1158,965,880,853,1036,935,767,741,782,819,780,547,386,372,375,365,375,386,360,336,346,356,471,888,1210,1164,802,458,397,406,452,452,534,522,530,507,566,520,389,593,763,760,722,751,634,718,494,382,427,521,567,562,471,448,579,686,1124,1716,1948,1948,1426,782,608,589,786,888,627,749,1212,1300,1226,1098,1416,1416,1122,1134,648,686,1396,2102,2320,1548,673,470,396,449,396,410,470,426,393,359,482,599,542,510,450,311,297,332,372,469,484,424,491,769,970,1136,1092,782,666,960,1404,1118,1036,1440,1766,1854,1476,1162,1470,1582,1584,1244,881,1038,1358,1070,659,630,655,623,666,618,755,728,580,996,1238,1376,1118,1458,1500,1272,1210,1390,1384,1382,1532,1738,2002,2114,2176,2006,1054,819,1013,1294,1274,1138,1116,1028,918,1238,1544,1196,1340,1258,880,532,651,817,937,897,923,982,873,1116,906,666,1112,1454,1110,1158,1166,1316,1382,913,572,505,551,797,851,679,783,951,1076,1172,1292,1316,1346,1292,1232,1104,597,774,816,666,904,1398,1456,1496,1692,1212,1094,1166,1050,1212,1005,509,333,268],[749,886,1616,1584,989,907,1356,1158,1230,997,613,641,730,757,1026,1442,1786,1310,953,530,457,747,752,733,805,950,814,655,705,681,507,307,289,289,596,616,456,563,697,521,390,376,369,431,427,371,305,303,308,310,343,350,359,433,599,1088,1382,1216,1236,943,620,524,546,626,995,1240,1166,1104,1001,851,782,741,783,858,1018,1246,1628,1001,684,658,413,1068,1426,1082,1058,1096,946,1088,1350,921,793,1007,858,579,694,567,630,702,737,846,875,922,1314,1374,1202,805,886,531,491,879,765,412,444,462,538,755,847,881,528,341,499,955,811,462,494,485,412,333,475,865,666,484,875,914,589,386,321,260,252,261,280,512,916,1088,854,827,852,769,675,667,574,563,733,876,895,897,483,355,480,557,705,875,1056,1012,1218,1013,698,460,285,294,337,263,363,848,879,598,656,1040,922,702,821,892,836,1152,1026,631,639,697,771,814,1104,1412,1570,1338,1142,1170,1132,851,893,1118,1138,1166,1254,1302,1310,1274,1350,1312,1282,1110,1134,1570,1608,1406,1104,691,743,1038,684,815,650,557,451,464,574,785,833,664,888,813,421,374,632,636,598,974,1374,1478,1224,1102,1114,611,429,670,1148,1268,1466,1178,1060,1116,1186,1304,1188,950,993,1160,1096,990,1013,857,802,1096,1088,983,995,1056,1146,1068,1056,996,1058,1176,1248,1204,1216,1232,1616,1494,1102,1010,1220,999,665,608,772,995,1154,1080,1015,1332,1184,749,916,1194,1214,1026,813,1064,1256,1246,1270,1356,1128,1256,1272,1980,2504,2188,2264,2310,1894,1726,1930,1464,1258,1824,1838,1650,1680,1490,1274,1076,995,1060,1312,1432,1086,793,486,345,585,485,613,1352,1678,1584,1106,1018,1120,1280,1500,1390,1126,972,1062,1262,845,910,1004,1472,1794,1800,1470,1086,1013,906,916,990,1176,1130,1114,1346,998,542,447,664,944,919,977,686,376,261,346,478,526,725,1015,1246,1496,1456,1246,1164,1264,1968,1730,779,677,733,767,665,1144,1738,1422,1312,1466,1406,1146,955,813,553,718,1030,1128,1274,1286,896,821,596,388,292,315,401,355,477,639,967,1078,1152,1758,1376,696,863,1146,1092,1376,1722,1422,1306,1144,1202,1256,1554,1700,1594,1558,1480,1340,1312,1532,1760,2024,2198,1384,829,1206,1384,1408,1364,1120,1034,865,651,1004,1244,974,934,563,438,667,1330,1720,1320,1000,1236,1230,1124,1322,1650,2086,1752,1650,1120,568,375,382,407,673,960,1114,1086,1196,1366,1186,883,418,354,384,430,406,613,963,1650,2078,1838,978,624,714,1018,954,1094,1394,1322,1300,1072,1126,1272,1244,1378,1382,1262,1328,1252,1406,1490,1290,1250,1152,1172,1192,1138,1088,1132,1162,1368,1288,1262,1322,1512,1618,1330,1270,1154,1122,1068,838,791,1244,1792,1620,1376,1460,1196,1256,1390,1380,1506,1458,1026,1000,1272,1484,1720,1386,1302,1274,1204,1120,1104,1292,1350,1104,1138,1310,1288,1236,1190,1212,1288,1474,1500,1552,1550,1532,1562,1738,1702,1460,1266,1158,1292,1294,1160,1056,1036,1030,1314,952,954,1146,1490,1350,1156,1124,1132,1236,1296,1272,1236,1640,1452,1318,1272,1256,1570,1650,1512,1538,1250,1282,1332,1328,1212,1456,1312,1172,1244,1272,1292,1190,1064,1002,981,1230,1284,1126,1198,1396,1402,1208,1238,1238,930,703,766,907,890,791,747,636,549,632,1236,1274,1256,1262,812,826,1142,1504,1776,1642,1256,1440,1590,1464,1456,1668,1604,1412,1460,1548,1562,1602,1582,1544,1488,1378,1338,1460,1412,1362,1028,998,1284,1724,1148,484,552,466,483,437,468,569,756,1232,1188,736,502,390,350,335,390,525,514,476,607,1072,1088,903,1098,1004,1262,1328,993,762,915,1440,1376,1096,1208,1100,651,712,975,1360,1732,1356,947,1314,1310,1260,1292,979,1096,740,490,431,345,422,639,519,402,485,483,387,397,441,462,441,717,1024,772,1074,999,584,546,799,1724,2446,2952,2544,1380,1066,946,835,805,678,672,568,477,439,345,521,812,703,436,540,760,999,1224,1426,1304,1418,1614,1304,1080,1026,956,934,995,1232,1018,609,622,677,689,1110,1136,1012,1216,1370,1136,1172,1298,1312,1028,1158,1306,1560,1196,1158,1128,916,1030,1280,1080,1226,1604,1580,1500,1296,1366,1158,1130,1212,1072,835,944,1050,1050,1084,1096,1212,1404,1588,1566,1440,1220,1240,1174,1104,1042,1132,1250,1338,1412,1304,1112,1236,1218,1202,1212,982,1076,1158,1196,905,922,1102,802,872,1042,1188,1262,1274,1236,1128,1064,903,681,662,890,1172,1132,804,1023,855,744,964,1078,962,965,1140,1242,1276,1372,1138,934,880,893,1162,1060,995,910,861,686,915,1802,1526,1100,1192,961,1010,1482,1426,1454,1168,1268,1288,1160,1118,1028,1002,1126,1268,1592,1834,1490,964,918,1044,1082,1100,1018,617,618,830,794,692,1023,1610,1288,862,1284,1550,905,966,952,556,397,446,725,604,503,515,385,556,708,611,560,543,849,1160,1390,1158,608,597,910,802,998,991,577,478,529,574,678,481,555,605,625,697,790,1032,1192,1088,748,437,590,533,608,766,555,543,536,429,336,290,319,288,318,361,254,247,414,472,611,943,734,357,354,432,803,1616,1502,1290,1840,1560,1154,882,505,330,339,352,384,663,926,769,805,667,929,815,655,654,620,580,653,995,1426,1344,1128,1350,1726,1672,1426,1572,1248,1152,1020,525,328,371,308,373,583,551,492,515,364,307,379,546,538,604,533,755,775,569,907,1114,950,634,694,1026,675,583,1001,1378,1486,1534,1486,1100,902,1028,1364,1514,1176,1058,934,1036,1126,1070,974,752,605,708,1122,1500,1606,979,994,1432,1266,858,761,1040,921,780,1090,1240,856,506,372,269,333,362,297,336,510,424,280,281,224,271,368,391,663,921,929,1150,1324,1172,1066,897,990,1190,1182,1190,1170,1074,1056,1354,1592,1368,1350,1386,1470,1462,1382,1224,1168,1194,1180,1252,1284,1316,1152,982,823,1060,1192,1098,1036,800,463,524,549,662,688,733,653,871,952,1158,1140,883,706,790,1028,1070,1158,1160,1358,816,445,1130,1178,1084,1064,848,1262,944,672,962,1438,1340,897,1076,1636,1808,1494,1620,1274,932,1154,1558,2040,1746,1330,1228,1192,1082,571,661,946,1428,1494,1184,1126,1274,1538,1650,1358,937,489,498,499,478,627,727,478,461,643,888,996,1148,1270,1296,1310,1166,985,852,585,509,790,819,979,1062,1218,1356,976,682,870,1350,1360,1174,1044,660,618,741,1086,1106,1008,958,1244,1416,1116,1072,1324,1636,1542,1202,1021,1018,1048,1044,1013,1036,1052,1058,1146,1234,1298,1208,1264,1272,1318,1454,1484,1522,1520,1452,1440,1504,1360,1150,1288,1100,1142,1328,1410,1328,1198,1144,1094,1108,1072,1098,1332,1404,1464,1021,905,902,995,1096,1252,1202,1244,1096,577,488,470,527,715,662,948,995,1064,1284,1216,1054,962,965,898,781,1054,1324,1396,1196,1266,929,925,745,684,898,1124,1192,1340,1404,1312,978,1096,807,584,870,1332,1186,819,759,847,941,735,554,1150,1274,1106,1096,749,534,408,653,1036,937,809,747,811,1023,980,763,967,1242,1166,868,1234,1254,798,915,990,790,911,1062,2024,4304,3332,2044,1954,1024,1030,1154,1494,1644,1372,1434,1844,1702,1350,1058,1136,1338,1700,1908,1946,1688,1017,681,683,693,799,997,1026,1072,1032,626,559,419,651,945,874,926,1288,1190,855,669,568,467,528,642,807,976,779,571,944,1304,1422,1178,768,1034,1196,1272,1210,968,1432,1932,1670,1144,1210,1072,990,1174,1104,963,1370,1848,1406,759,812,1306,1352,1318,997,703,768,1066,1194,1220,1100,1234,1034,772,887,910,948,1180,1128,947,1082,951,622,533,453,466,502,594,1228,1534,1234,1320,1450,1456,1398,1446,1400,1250,1216,1296,1266,1316,1208,969,959,604,419,542,741,657,506,655,845,1013,1080,711,403,373,379,449,453,403,343,325,337,366,526,745,847,934,521,399,426,434,467,452,495,493,502,535,566,402,536,940,853,703,563,669,845,686,455,394,419,501,607,750,554,486,641,911,1144,1284,1740,1976,1628,1050,703,577,554,578,521,542,1086,1362,1272,1438,1426,1310,971,823,624,530,992,1666,2522,2044,904,549,419,432,383,373,358,357,422,484,516,444,429,514,591,424,325,408,637,658,553,674,1096,1458,1186,700,706,542,549,1288,1584,1498,1550,1396,1288,1518,1276,1340,1638,1626,1280,893,1052,1288,1172,677,615,748,705,702,666,646,532,556,886,1290,1402,1394,1156,1458,1490,1334,1538,1442,1372,1506,1556,1500,1748,1942,2066,1628,1258,1013,1096,1312,1576,1634,1322,951,713,1096,1766,1272,1316,1258,1007,614,807,994,719,532,651,780,1100,1162,1074,961,698,926,1122,1182,1094,1364,1628,1019,767,781,700,902,948,660,700,924,1108,1126,1206,1200,1294,1122,983,1230,738,896,675,788,1064,2040,2160,1904,1620,1232,1202,1170,1034,965,493,463,360,351],[1316,1544,1510,1274,1046,948,924,866,1186,1172,843,949,1030,904,1172,1322,1376,1328,1338,1011,772,865,677,562,945,1046,880,910,577,247,223,242,274,269,658,803,849,797,503,373,374,404,385,385,350,349,300,310,334,322,322,330,336,359,474,883,1202,926,948,902,788,831,674,673,838,916,955,943,838,948,1044,955,890,923,1090,1220,1212,1040,1218,1262,764,601,905,1086,919,870,1038,1300,1614,1262,972,707,444,442,749,914,813,728,918,779,933,1026,819,638,659,553,531,583,662,713,667,579,631,551,653,901,1062,903,498,426,521,986,985,538,468,511,516,408,478,607,494,494,760,870,576,347,263,259,298,281,327,398,452,569,496,616,485,355,363,335,269,327,475,494,619,744,466,442,439,407,674,909,1046,1246,1232,948,673,430,280,270,296,243,335,625,576,559,673,1390,1598,1164,1050,832,725,984,887,1034,916,622,597,610,657,838,984,1202,1498,1526,1086,745,740,888,1086,1142,1042,1244,1154,987,879,861,890,1022,1584,2066,1482,1340,1094,818,952,1058,756,556,375,485,569,558,560,731,787,929,956,506,385,336,405,714,1084,1364,1450,1222,1048,1244,1248,741,491,477,854,1086,1446,1470,1118,1004,1094,1126,1011,996,1046,1166,1226,1166,1028,1096,1188,1210,1200,1158,1200,1308,1266,1118,1052,1100,1250,1356,1312,1244,1082,1214,1432,1292,907,1080,1268,1160,1034,1094,1246,1308,1168,1224,1412,1228,624,357,605,910,1116,1176,1180,1252,1220,1300,1196,1362,1334,1302,1150,1112,1100,1300,1434,1370,1460,1532,1418,1140,1076,1388,1974,1798,1772,1594,1274,1124,1216,1462,1592,1426,1270,1440,529,266,341,576,597,1110,1430,1618,1540,1330,1362,1466,1336,1176,1054,1036,1022,1058,1156,1892,1836,1700,1858,2042,1920,1294,1206,1152,1144,1094,1016,960,1090,1442,1208,1152,1240,980,881,908,1001,494,281,287,370,460,483,540,647,942,1354,1212,1088,1328,1412,1300,908,624,641,1002,1300,1268,1450,1804,1580,1252,1338,1224,908,858,952,762,965,1252,893,1154,1258,1232,997,470,353,360,416,419,315,484,528,607,763,918,1324,996,605,653,743,1064,1542,1520,1346,1264,1126,1104,1054,1290,1636,1356,1234,1426,1616,1606,1528,1604,1512,1498,998,1078,1306,1062,1184,1288,1074,960,951,876,1192,1320,1118,871,600,451,622,1344,1694,1230,1158,1404,1106,742,875,996,1200,1438,1510,1208,545,298,301,389,673,905,979,1102,1064,1062,810,698,353,311,344,365,470,581,536,519,901,1218,693,913,1068,1104,919,1340,1398,1230,1254,1132,1005,1054,1126,1090,1088,1134,1276,1278,1340,1460,1258,1112,1070,1088,1108,1066,1005,940,755,852,1182,1212,1174,1328,1238,1144,1210,1036,762,786,763,613,938,1296,1294,1322,1412,1226,1548,1852,1632,1360,1076,1426,2006,1432,1650,1538,1274,1122,1002,987,1078,1034,1078,1066,919,965,1108,1236,1108,1028,1068,1272,1240,1204,1294,1452,1422,1274,1200,1266,1414,1360,793,962,1188,1284,1074,1094,1158,1196,954,824,1094,1198,1030,899,1114,1224,1202,1374,1266,1302,1826,1434,1140,1204,1256,1484,1624,1498,1630,1256,1062,1004,1028,1206,1316,1038,1078,1182,1162,1222,1048,1072,1178,1210,1482,1406,1066,1248,1362,1252,1086,1026,1098,1042,1172,1338,1168,890,907,749,620,510,996,1384,1226,1316,1214,1050,1100,1290,1804,1734,1400,1182,1002,1562,1702,1716,1472,1418,1650,1596,1498,1548,1640,1604,1572,1596,1552,1314,1284,1196,1394,1430,1254,1760,1992,1154,615,579,529,519,425,592,689,830,1146,1136,862,617,525,415,422,648,797,920,835,672,852,1120,907,738,892,1118,1232,1188,1188,1072,1450,1764,1384,1340,1170,695,444,590,1066,1208,1016,926,1180,1068,1276,974,968,1220,1072,1128,724,545,615,573,468,432,516,509,436,484,637,506,446,836,1066,939,1168,1034,741,675,720,808,821,924,795,1346,1192,1140,1124,1052,843,963,837,523,482,336,386,488,493,510,644,841,916,1001,1092,1400,1522,1494,1246,999,783,622,501,620,1446,1190,637,582,550,498,500,542,634,819,832,777,1086,1550,1544,1322,1188,1122,1220,1324,1294,893,707,1060,1230,848,886,1070,1450,1340,1234,1148,1144,1330,1672,1476,1124,1242,1090,1052,965,974,1264,1190,1338,1410,1478,1360,1324,1296,1050,1076,1236,1200,1354,1380,1248,1034,1078,1276,1138,1166,1198,1106,996,1013,1074,1264,1270,1126,955,952,1108,1204,1340,1266,1082,1026,976,700,487,630,1116,1344,1230,1009,792,1178,1240,1080,1094,1164,1210,1052,990,1246,1009,1007,1064,1202,1228,872,896,1088,1007,659,807,1236,1284,1128,891,1020,1098,1692,1368,1316,1068,1108,1030,935,993,927,1118,1432,1292,1304,1666,1618,1202,1172,1432,1174,1180,901,476,806,1078,961,747,1156,1636,1116,1130,1470,1382,1166,1510,1282,704,553,642,597,555,542,464,372,545,949,1023,669,413,667,1104,1100,722,527,892,1014,608,500,627,948,642,488,799,705,445,700,665,500,573,913,1912,2092,1252,488,305,552,430,469,442,450,628,439,244,303,389,385,364,452,484,312,250,530,967,1080,789,515,303,325,412,604,1058,1512,1700,1534,1144,956,924,767,574,633,826,900,1140,955,930,767,511,485,586,697,811,692,724,1038,1512,2018,1886,1568,1522,1886,1814,1612,1758,1574,1086,745,786,603,399,311,358,671,933,711,777,486,314,447,591,833,875,669,843,796,611,774,965,835,525,819,928,842,1054,1250,1378,1388,1438,1388,1278,1426,1266,1020,1216,1244,1242,1044,1172,1344,1188,1066,1090,808,623,1174,1578,1522,973,1136,1306,1060,800,1072,1178,787,692,764,1021,1224,844,466,305,321,327,322,453,581,393,279,328,400,491,387,480,975,1021,1378,1682,1360,971,777,781,966,1158,1266,1326,1344,1246,1036,1426,1444,1084,1038,1216,1366,1412,1306,1086,1266,1522,1316,1442,1494,1450,1416,1384,1260,999,695,679,940,828,432,552,795,1110,1216,1020,688,541,961,1192,1094,1160,868,971,626,509,626,775,1186,572,419,971,1096,1170,894,990,1368,877,661,912,1244,951,722,971,1282,1392,1626,1786,1376,942,1466,2182,2032,1338,796,510,490,584,546,662,805,904,734,905,1390,1470,1342,1348,1120,1188,778,645,566,436,430,512,502,594,960,1290,1466,1612,1408,902,678,653,677,631,910,856,968,1092,921,756,1066,1158,610,414,567,816,656,786,890,1148,1194,1148,1144,1160,1118,1024,1172,1490,1404,1280,1614,1720,1580,1378,1102,984,1072,1080,1166,1222,1056,1128,1232,1174,1570,1478,1554,1548,1520,1454,1312,1190,1222,1328,1396,1468,1422,1186,1088,929,1156,1404,1284,1178,1218,1188,1134,1216,1180,1212,1300,1278,1422,963,977,1042,877,932,1236,1176,1062,836,595,672,838,889,971,878,967,1094,910,993,1208,1132,1086,1021,730,547,938,1096,992,1060,880,668,778,876,822,1132,1726,1706,1236,1218,1058,523,736,550,595,882,897,667,542,677,980,1262,828,724,1194,1186,785,648,821,820,993,1140,981,790,639,594,461,740,1102,1060,1244,1452,1104,842,1150,1136,748,653,777,923,1006,788,1922,4024,3262,2120,1448,980,976,1114,1310,1218,961,1120,1510,955,1070,1186,1376,1430,1584,1584,1230,1026,727,612,738,810,758,766,888,932,1282,1166,720,395,360,561,661,865,1180,1154,1106,769,697,789,827,907,979,724,613,969,1318,1402,1498,1376,1220,1292,1092,896,676,874,1262,1676,1252,1058,1118,668,550,750,924,1208,1778,2126,1428,1116,1132,1184,852,1015,1168,1003,675,619,1110,1322,1296,1348,969,929,823,1044,1132,1112,869,866,1148,905,512,434,381,386,421,517,1036,1314,1314,1198,1316,1300,1138,1194,1100,1046,1216,1174,1262,1892,1526,1178,1302,975,480,364,477,466,391,507,711,959,1232,1068,766,543,398,502,533,451,377,369,366,375,491,683,955,706,465,454,467,469,468,458,442,422,452,544,477,375,633,918,1008,780,588,838,835,586,599,565,487,483,460,463,454,532,833,1044,1134,1124,1278,1578,1504,1074,924,626,595,558,647,773,1138,1230,1184,1186,1068,923,740,678,522,491,763,1050,1448,1188,982,683,456,455,445,409,357,332,401,453,478,454,428,466,532,557,417,457,673,651,910,1464,1422,1344,1012,520,699,577,787,1500,1662,1622,1382,783,720,1094,1100,1534,1490,1390,1044,1001,1086,945,711,574,711,702,727,811,820,1002,735,705,1050,1428,1440,1166,1050,1212,1158,1256,1786,1620,1514,1160,1310,1542,1546,1460,1252,1270,1470,1230,1154,1354,1516,1470,1208,1258,1322,1290,1096,980,1202,1360,996,607,1052,1522,838,618,606,1130,1118,1012,1324,1254,1042,1278,1268,992,927,1052,1576,1750,1382,1132,813,667,933,902,764,890,1040,774,623,831,1278,1116,1032,983,689,1118,1088,1174,1196,1664,1798,1472,968,960,1032,706,412,355,361,371,421,629],[1692,2032,1452,1338,1342,1126,973,887,794,673,686,1068,1290,1136,1202,1216,1009,1512,1764,1312,912,955,932,891,1104,1244,1262,1160,485,298,283,263,276,230,501,865,802,473,400,383,393,416,426,368,330,314,295,322,344,321,301,319,326,340,394,715,1026,734,643,1346,1362,1054,1062,951,805,835,697,580,608,800,729,857,843,629,981,1186,1126,1346,1478,1346,1028,976,1102,963,1010,1136,1168,1508,1582,1466,1228,726,372,463,668,764,669,659,940,1044,901,955,755,680,1078,875,742,1214,1013,590,809,848,859,1080,1268,1070,846,821,718,608,518,561,580,538,800,742,617,362,423,502,644,556,505,639,585,317,295,295,301,289,298,299,309,573,608,440,274,293,421,469,403,399,446,480,691,930,728,483,395,373,675,743,886,1094,948,869,993,570,379,337,409,386,427,433,394,535,534,835,932,488,478,490,544,932,1318,1344,961,703,594,645,711,667,658,673,633,742,1021,1282,980,964,1146,1018,921,1088,1226,1084,825,788,493,869,1322,1246,1278,1374,1128,1130,1298,1068,1064,967,595,583,753,932,810,772,696,783,554,355,310,263,416,966,1368,1362,1256,1030,1010,1242,1172,996,725,601,651,631,1013,1256,841,728,866,1102,1116,1036,1072,1144,1184,1322,1224,1266,1132,1122,1196,1200,1220,1208,1206,1032,1084,1246,1354,1504,1484,1248,1164,1350,1472,1044,821,1134,1316,1304,1242,1302,1412,1456,1512,1656,1490,753,386,493,567,597,760,1082,1194,1240,1270,1460,1338,1220,1174,1300,1206,990,1210,1382,1152,1056,1130,1110,1136,1098,938,1212,1656,1522,1388,1240,1194,1188,1216,1124,807,616,614,1202,617,352,432,867,1046,1064,1594,1790,1348,1270,1622,1534,1370,1264,1166,1012,1048,1158,1144,1252,1328,1344,1510,1872,2128,1292,801,951,718,713,714,798,1036,1130,944,1082,1180,1340,828,794,875,565,388,314,318,401,513,742,819,1116,1422,1074,843,1074,1322,1112,904,759,705,952,1260,1136,904,868,1010,1144,1184,958,682,960,1122,969,1224,1294,916,1124,1236,978,851,605,401,413,666,409,462,817,628,557,601,556,724,789,745,727,1019,1580,1778,1384,1264,1240,1166,1128,1158,1426,1416,1178,1174,852,1136,1328,1478,1598,1610,1676,1570,1570,1404,1194,1302,1278,1122,896,672,714,1054,1118,1122,807,648,631,803,1384,1522,1042,1270,1362,946,841,863,905,1058,1200,1236,810,402,322,284,446,863,1100,964,886,772,757,702,544,417,407,372,360,524,609,437,504,492,540,463,534,688,684,904,1362,960,680,829,796,866,1054,1262,1178,1044,1074,1140,1134,1308,1342,1188,1228,1106,1009,1114,1146,1118,744,763,968,1342,1526,1348,1418,1372,1168,1226,1334,1366,1282,1108,1050,1040,1196,1266,1276,1300,1286,1214,1196,1078,885,1238,2706,2518,1082,1026,1234,1142,857,702,735,930,853,809,995,1001,999,1184,1240,1130,1150,1178,1130,885,700,952,1230,1228,1376,1232,1250,1336,1520,1300,1072,1232,1250,1013,949,935,1134,1330,1426,1488,1300,1202,1206,1246,1182,1150,1260,1214,1354,1516,1288,1086,1152,1264,1384,1730,1472,1252,1102,1124,1266,1416,1438,1318,1048,1034,1136,1140,1082,659,667,948,1134,1448,1544,1488,1234,1028,1050,1158,1230,1264,957,749,1064,1076,957,868,774,590,664,1278,1362,1284,1322,1082,1422,1496,1390,1686,1736,1454,1332,1344,1686,1756,1524,1390,1492,1506,1444,1472,1598,1676,1598,1560,1572,1638,1538,1370,1228,1376,1410,1348,1420,1454,1092,725,530,452,381,467,957,1028,880,1212,1558,1326,950,996,747,702,990,874,908,710,1224,1438,1224,898,1074,1214,1472,1644,1510,1650,1268,1394,1422,1478,1412,1142,975,634,672,1038,1086,1152,1520,1692,1088,1120,1009,1096,753,747,752,688,871,792,705,636,485,541,581,569,706,840,727,594,879,1154,1106,1001,919,835,759,883,826,761,677,702,1586,1284,963,1298,1240,980,963,681,597,591,473,555,587,404,451,596,812,983,783,842,1306,1742,1672,984,1016,952,511,371,1040,1872,1138,487,519,517,503,473,550,574,558,557,531,541,852,1062,1272,1444,1296,1162,1126,1052,907,756,888,1034,962,632,973,1472,1412,1172,1158,1180,1013,1212,1236,1152,1338,1400,1302,1234,1296,1410,1332,1354,1294,1368,1434,1570,1580,1248,1326,1366,1224,1290,1746,1614,1676,1554,1388,1242,1092,1244,1232,868,826,1026,1274,1432,1434,1072,916,969,920,924,985,724,656,849,701,698,738,717,1100,1156,618,860,1278,1218,1140,1186,1200,1312,1448,1176,1340,1274,1242,1034,1024,1126,997,1096,1332,1274,1088,915,716,809,915,921,1050,1732,2216,1864,1390,1152,1068,965,948,1014,1356,1394,1524,1102,1162,1428,1614,1434,1390,1518,1372,1202,688,624,976,1112,1120,1216,1458,1560,1344,1306,1118,1152,1052,952,1146,874,778,1220,1190,877,618,653,443,481,860,933,709,579,755,809,509,469,716,850,649,559,444,648,937,539,560,1144,908,528,959,764,534,599,1032,1584,1328,825,386,420,679,736,629,325,352,545,413,315,332,397,403,332,415,607,421,234,535,1156,1156,883,875,601,317,376,603,709,1190,1814,1432,789,725,826,1006,1076,1234,1136,966,1178,726,678,583,476,460,689,946,739,501,581,896,1176,1778,1526,1546,1682,1966,1892,1694,1638,1702,999,528,759,926,568,398,656,1098,1260,851,642,453,325,420,689,971,886,647,1000,966,762,568,520,530,413,652,919,1230,1302,1244,1538,1566,1748,1394,1350,1494,1538,1404,1334,1292,1242,1108,1230,1246,1212,994,1296,958,616,1272,1530,1340,893,749,882,1104,1240,1506,1566,882,702,672,787,1246,1236,729,410,346,356,382,376,338,296,338,392,630,781,604,879,941,844,1144,1612,1722,987,327,362,404,640,896,863,1038,1068,1072,1444,1310,1056,1102,1256,1340,1100,634,756,886,1170,1234,1158,1242,1260,1260,1234,1290,1420,1310,949,781,767,508,763,1136,1662,1834,1384,1186,1026,1226,1168,1222,1120,1260,1078,435,398,410,391,438,424,400,435,826,1280,1096,1520,1752,1258,991,1062,1148,1076,713,1050,1356,1490,1278,1170,1318,1274,1007,858,1042,870,633,477,408,384,464,610,637,622,613,607,969,1146,976,1060,1166,1368,1130,686,405,413,546,794,1002,1252,1438,1358,1490,1434,1086,802,733,746,848,755,919,1142,1076,846,856,1256,1366,1256,860,464,435,467,343,428,793,1146,1244,1210,1064,822,695,874,966,1276,1292,1314,1792,1874,1864,1658,1023,822,1054,1364,1544,1584,1666,1378,1166,1086,1240,1300,1306,1350,1344,1142,1216,1202,1066,1170,1338,1392,1382,1210,942,833,1190,1384,1276,1222,1112,1232,1350,1240,1174,1198,1172,1218,1332,1012,816,756,729,910,902,810,813,498,558,1080,1168,1270,1208,800,490,585,816,974,954,837,896,852,620,623,901,767,816,1254,1440,1262,1032,829,855,1892,2208,1684,909,1088,1001,667,579,502,789,1106,1034,830,909,968,1116,1206,1084,939,1046,1048,742,652,829,881,1158,1222,1112,1208,897,610,420,991,1310,1326,1358,1400,1098,874,906,866,827,573,714,1182,1250,1234,1332,1400,1510,814,745,1194,1136,962,1154,1230,977,1020,1028,866,1132,1328,1640,1438,1438,1028,794,868,805,926,847,873,1076,808,664,854,1214,1472,1278,855,516,576,742,978,1194,1170,1110,987,1023,1036,778,788,801,613,910,1214,1086,1046,1017,1298,1160,1068,872,807,1104,1136,1152,1318,1132,816,469,334,385,586,822,835,965,996,598,631,1014,917,502,713,1134,1232,750,825,1222,1288,1538,1166,1046,1148,1108,1132,1000,849,709,841,789,512,407,389,461,453,447,491,818,1098,1254,1178,1290,1316,916,684,654,1016,1314,1180,1466,1516,1316,1642,1904,1388,526,435,583,479,404,440,598,1023,1306,1326,1266,736,389,426,451,467,402,460,497,405,386,525,662,501,454,493,507,518,493,444,440,464,526,672,494,661,933,1180,1338,995,935,976,521,488,646,672,613,512,564,510,474,743,1158,1198,1172,1174,1402,1636,1516,980,1262,919,780,737,1038,1290,1494,1416,1278,1158,742,617,698,801,903,1046,744,503,577,663,901,956,662,429,432,392,403,400,418,419,393,397,414,434,555,588,428,467,747,822,1274,1628,1430,1230,738,554,783,719,996,1400,1456,1512,1011,658,681,694,1150,1238,1236,993,667,639,498,456,583,651,778,742,823,781,995,1242,786,476,785,1140,991,860,993,957,807,1056,1440,1498,1122,1558,2514,2552,1942,1612,1378,1148,930,996,1118,1548,1412,1448,1400,1384,1442,1512,1090,974,1302,1500,1172,795,1314,1450,1216,952,895,990,1102,1246,1466,1332,926,907,871,680,756,663,1170,1872,1422,1114,639,526,831,1062,1086,951,910,833,943,1200,1328,1284,1266,1190,841,960,1006,702,680,705,792,960,706,819,639,350,257,314,317,289,504,896],[1388,1400,1116,821,763,980,1054,835,661,513,568,651,766,857,1174,1122,951,1204,1292,1020,914,1166,1288,1232,1388,1332,1396,1190,616,324,289,273,282,305,561,762,498,415,408,383,417,439,463,388,322,304,295,311,322,319,301,310,319,343,339,628,980,812,880,1526,1344,1082,1236,985,779,853,644,507,612,1042,880,899,945,812,1204,1302,1222,1550,1532,1210,1096,1360,1282,967,1256,1364,1284,1378,1232,1294,1260,701,410,689,1072,651,599,777,1023,1434,1226,1019,829,1048,1600,1062,694,1276,1342,1388,1180,995,1282,1394,1316,961,674,701,718,761,828,828,503,406,533,522,451,555,594,398,354,380,473,812,793,465,651,697,460,290,256,246,369,645,861,625,322,342,414,419,423,401,360,422,594,695,570,426,326,444,753,782,930,1080,1036,847,1246,724,420,365,550,566,399,332,395,433,333,316,384,309,383,434,367,506,909,1064,990,1258,1178,570,411,557,637,578,565,442,597,994,872,518,611,949,1184,1180,1472,1434,693,714,877,1248,1308,938,998,1066,1130,1328,1426,1394,1350,1142,990,933,726,1078,1272,688,342,400,319,320,359,314,566,1134,1338,1148,1112,1021,828,815,797,613,448,399,374,346,694,1230,1088,837,810,1046,1056,896,989,1110,1182,1212,1354,1296,1122,1328,1210,1186,1180,1208,1342,1188,1300,1416,1334,1562,1722,1328,1242,1272,1390,1202,1094,1382,1622,1356,1290,1320,1230,1470,1708,1604,1036,482,491,695,738,455,627,841,1118,1338,1262,1224,1202,1296,1328,1412,1324,1264,1338,1290,968,897,1220,1208,1178,1230,1166,1126,1066,977,871,1102,1086,1010,830,764,897,835,561,712,803,694,755,1384,1376,1332,1756,1432,1324,1158,1342,1422,1096,720,686,736,780,788,871,933,913,963,1152,1312,1356,1058,872,958,810,849,805,695,918,844,848,1074,1332,1500,951,585,743,544,319,290,333,384,782,1318,929,855,1312,1058,937,812,645,540,565,619,694,863,943,852,776,785,1024,1272,971,976,1338,1578,1794,1492,1180,1136,1208,1402,1340,1130,1194,1056,654,565,810,561,766,1204,814,519,535,480,638,738,899,1132,1416,1632,1594,1410,1326,1354,1380,1274,1416,2114,2136,1340,1048,778,1490,1644,1642,1474,1350,1454,1638,1670,1500,1296,1404,1168,1114,1188,763,567,647,1036,1080,778,702,619,872,1428,1686,1130,1298,1332,929,838,814,916,1070,1324,1124,512,330,282,367,459,725,856,776,661,675,767,746,720,692,637,550,526,535,706,605,566,546,669,763,932,937,615,1024,1276,554,348,315,357,514,1010,1334,1182,1114,1100,1100,1122,1224,1230,1304,1372,1170,995,1134,1144,995,781,979,1206,1680,1744,1316,1054,1120,1118,1110,876,1234,1346,1138,1244,1230,1260,1310,1414,1488,1424,1236,1234,976,1062,1112,1114,1062,888,661,661,730,903,1154,1184,1011,702,605,716,737,695,1074,1080,1284,1384,1160,1076,1086,1072,1136,1090,818,893,818,1132,1170,1202,1384,1342,1126,1013,874,687,591,1016,1320,1114,1382,1340,1232,1108,1016,1162,1324,1320,1254,1396,1742,1494,1194,1256,1324,1510,1722,2214,1736,1216,1246,1368,1512,1466,1334,1186,1150,1156,1262,1122,798,781,1256,1310,1184,1272,1290,1222,1150,1072,959,861,973,745,627,761,868,952,791,700,545,861,1424,1310,1314,1230,896,1376,1388,1246,1172,1288,1348,1274,1350,1538,1412,1254,1472,1666,1708,1650,1580,1592,1614,1528,1462,1512,1528,1482,1456,1282,1088,932,1282,969,830,818,807,494,306,333,625,1134,962,692,988,1310,1198,1028,937,736,963,1004,762,573,733,1344,1300,763,996,1630,1440,1562,1566,1242,1422,1242,1428,1182,1378,1338,1068,1394,1472,1078,933,755,887,2048,2216,1282,1044,1023,1001,736,583,573,523,651,880,947,808,509,534,751,994,1128,1196,938,658,913,1312,1226,971,987,901,847,1188,915,778,736,1040,2158,2322,2238,2250,1562,944,776,563,516,605,864,771,523,466,601,766,891,890,613,575,1001,1118,1128,931,1240,1326,881,621,1092,1404,849,481,512,395,403,541,612,605,578,782,669,669,724,659,974,1240,1144,1146,1072,1240,1120,954,1028,1080,1092,959,1312,1386,1162,1034,1118,1148,1018,1092,1432,1360,1360,1294,1160,1318,1636,1490,1268,1186,1038,1108,1220,1262,1334,1424,1438,1282,1368,1580,1824,1428,1354,1232,1148,1260,1254,1228,1146,1094,1042,1058,1218,1392,1316,1068,797,716,665,540,913,1058,919,778,580,655,915,1078,1182,851,547,843,1094,1158,1142,1064,1122,1454,1708,1496,1302,1194,1120,1066,1034,1044,1094,1144,1132,1168,1042,828,672,1072,841,732,965,1356,1306,1142,1084,1086,1116,1166,1130,1108,1338,1224,1080,1072,1144,1334,1558,1540,1522,1406,1198,892,696,1004,930,1040,1174,1610,1780,1504,1318,1340,1230,1240,1110,843,872,701,672,892,933,739,675,914,684,539,761,795,840,974,885,581,471,500,433,404,356,435,385,450,402,284,501,785,656,534,800,646,613,856,1322,1016,1044,893,456,378,495,850,1076,385,361,352,292,298,401,542,407,521,1266,1052,196,266,410,899,1023,1232,1504,1128,458,344,649,698,706,1058,1176,1202,1272,1186,1232,1284,1452,1252,1132,1234,869,605,860,1102,1112,1454,1448,733,493,493,564,761,1060,1400,1748,2138,2268,2110,1698,1598,1550,728,476,641,829,860,558,675,1009,1074,825,568,372,376,749,912,687,611,700,904,1054,891,494,321,336,366,677,1272,1504,1490,1660,1986,1834,1802,1304,1194,1288,1454,1682,1614,1412,1370,1496,1408,1428,1432,1142,1254,896,631,838,822,951,1100,1054,1236,1248,1284,1892,2072,1364,1112,885,885,938,1116,1130,738,366,354,299,267,286,328,342,294,461,812,724,555,648,878,992,1098,1007,606,346,318,537,860,920,677,572,387,677,1202,1484,1322,1384,1376,1268,968,694,712,803,1102,1188,1208,1142,1023,1158,1178,1308,1740,1814,1322,1116,886,600,806,1500,2462,2736,2754,1758,2082,1830,1466,1642,1302,1384,1116,752,626,527,377,339,415,431,480,1040,1266,1168,1486,1776,1594,1226,999,1011,1092,999,1192,1406,1326,961,594,662,1054,1344,1260,888,837,679,580,531,532,557,620,613,471,431,323,393,539,819,840,767,904,1278,1246,1208,1312,1400,1396,1118,1002,932,911,1086,1078,922,784,781,780,974,1266,1346,1116,857,1026,1432,1464,1094,1268,1296,846,568,461,372,708,1080,1204,1188,1114,990,672,634,744,888,1170,1046,1226,1722,1804,1758,1596,992,866,1086,1358,1572,1560,1312,1009,1180,1232,1198,1318,1282,1338,1448,1244,1364,1118,923,1174,1232,1272,1394,1202,923,875,1106,1216,1220,1210,1374,1534,1424,1354,1288,1192,1240,1334,1330,1212,1160,1168,1176,1320,996,561,619,569,559,1036,1242,1290,1100,756,453,542,794,1140,843,555,601,547,393,538,648,837,1124,1110,1104,1136,1058,921,901,1920,1700,1276,652,686,894,839,774,932,1078,1092,1158,1502,1512,969,908,1300,1470,1250,962,772,562,469,694,857,821,627,1124,1680,1066,946,882,1076,1278,1368,1282,1150,808,694,1074,1226,652,396,757,1176,1232,1378,1174,1208,1034,677,753,1092,1154,1009,914,1009,1092,1452,1310,1076,1150,1272,1230,985,939,768,585,836,1224,1286,774,918,1272,996,664,744,1298,1592,1418,1120,571,416,724,1182,1542,1158,666,771,865,963,825,653,660,749,1102,951,927,618,816,1338,1296,1032,1028,1272,1578,1616,1460,1360,1536,1284,513,399,548,689,816,771,691,523,433,373,609,735,579,733,996,886,1026,1318,1562,1554,1688,1404,1038,1112,1250,1150,1202,1196,869,770,525,337,348,446,680,808,788,762,807,1060,1394,1404,1362,1264,914,688,634,827,944,985,1186,1090,1128,1534,1722,913,452,510,791,713,668,584,558,904,1196,1330,1160,756,616,432,424,493,495,494,433,403,356,446,519,473,456,493,494,490,478,446,525,563,652,618,692,988,894,877,922,853,1054,812,434,621,686,655,666,733,1128,922,756,1166,1294,1296,1256,1500,1952,1478,1044,962,1410,1308,1144,1038,1156,1288,1514,1534,1076,808,511,401,688,1120,1136,1012,922,895,1000,1013,1216,1234,850,376,371,383,419,412,399,412,418,446,464,435,478,534,475,559,1032,1422,1300,1100,1434,1286,681,526,546,532,883,1106,966,1030,811,919,909,838,1142,1080,1074,886,585,508,412,563,662,666,894,855,838,701,1006,1160,652,397,450,391,315,440,618,901,717,752,1116,1382,1074,1466,1910,2260,2094,1344,1216,1232,1442,1324,1234,1346,1410,1562,1544,1294,1410,1214,966,1058,1190,1284,1158,846,1124,1106,1192,975,952,846,1160,1368,1252,1284,1258,703,464,752,865,1008,1428,1466,1354,1154,922,698,752,1260,1324,919,760,1084,1362,1230,1116,1070,1358,1816,1466,1116,1146,583,404,420,756,858,599,402,288,278,285,277,288,355,686,976],[1290,1104,965,855,876,1122,1009,591,447,357,368,354,672,1140,1282,996,906,1116,1238,937,1120,1232,1296,920,1384,1272,1015,964,802,497,315,265,345,582,730,535,394,413,388,373,362,352,382,358,327,347,338,332,312,321,316,308,307,322,307,443,744,825,1028,1212,1112,1216,1306,972,853,1024,1100,733,760,1202,1158,1078,1005,861,788,849,1004,1104,1090,953,795,806,902,914,1182,1230,1250,1310,948,1260,1238,744,858,1260,1196,690,699,628,802,1116,1038,993,789,724,1070,879,719,1032,1182,1172,854,781,860,883,995,1006,821,426,464,500,648,861,531,385,382,341,332,702,760,440,446,420,496,1078,980,638,976,826,446,374,309,235,367,608,648,414,274,245,439,469,437,415,322,360,403,390,353,363,291,401,848,935,1038,1130,1052,1472,1902,1166,446,362,786,1007,491,307,378,475,514,454,442,384,461,631,838,812,890,986,1078,1554,1574,956,624,613,764,738,650,423,460,610,432,322,678,1270,1168,987,1132,998,630,630,1058,1334,1274,883,735,775,912,1196,1350,1366,1384,1332,1136,1104,1004,897,952,645,340,434,637,564,528,565,962,1170,1370,1196,943,711,586,518,424,335,364,398,473,542,722,1164,1290,963,986,921,895,976,1140,1230,1174,1178,1218,1114,1194,1290,1212,1136,1144,1344,1384,1208,1228,1236,1010,1306,1516,1282,1222,1306,1180,1126,930,1126,1402,1328,1338,1204,1334,1552,1454,1504,1272,662,614,783,739,636,919,949,1074,1224,1422,1282,1388,1242,1270,1320,1232,1208,1036,1098,985,1054,1098,1098,1194,1180,1154,1136,1172,1048,781,1188,1260,996,839,816,811,772,791,930,974,789,961,1242,1005,1714,1494,794,1052,1144,1190,1254,1003,650,698,816,826,789,691,678,769,812,789,722,771,741,605,496,661,878,857,877,767,788,919,972,1208,1346,1086,1140,1086,493,339,441,568,659,1028,1384,1182,1138,1013,807,882,939,862,610,470,487,522,653,786,974,1144,871,994,1364,1162,1178,1226,1360,1574,1218,781,1050,1376,1290,1160,1062,1156,1114,925,927,1011,894,968,1052,728,600,465,408,623,676,897,1086,941,952,1158,1264,1032,930,1272,1370,1628,2524,1738,1048,728,931,1452,1824,1914,1682,1356,1194,1222,1222,1544,1650,1582,1384,1362,1266,888,671,666,1005,1272,1126,791,719,966,1712,1584,1094,1220,1216,948,911,787,628,951,1230,871,417,291,305,341,391,451,677,644,511,582,604,691,909,884,788,653,621,515,670,941,1154,829,578,643,1062,1200,1066,1390,1086,412,372,426,441,432,852,1106,1017,1036,1032,1100,1142,1100,1072,1112,1126,1076,1274,1200,958,1114,1052,810,1200,1790,1752,1140,674,987,997,1064,949,1230,1378,1176,973,948,1152,1482,1570,1486,1266,1202,1218,1148,1158,893,1092,1210,1098,1260,1470,1240,1230,1522,1140,996,737,545,479,469,719,1062,1018,1084,1172,1216,1200,1282,1234,1180,1090,724,783,996,1210,1017,733,1132,1378,1078,978,898,681,658,1132,1196,1042,1246,1164,1100,1156,1046,1030,1142,1174,1112,1210,1440,1470,1550,1466,1288,1570,1560,2046,1878,1362,1216,1174,1178,1190,1482,1540,1368,1302,1416,1164,1072,1134,1170,1108,984,1007,1240,1476,1212,1128,973,843,919,744,749,882,1016,943,784,641,558,1132,1412,1290,1392,1092,1168,1268,1174,1052,1009,1534,1710,1698,1482,1428,1160,1378,1706,1354,1584,1764,1700,1642,1648,1622,1538,1556,1548,1352,1352,1328,1094,1126,989,957,952,1001,932,590,421,403,494,688,527,520,891,1462,1462,1272,1514,959,515,583,641,605,689,854,846,802,968,1130,1202,1362,1182,965,763,835,1230,1292,1148,1034,1102,1276,1198,1178,641,413,869,1484,1312,1078,1148,1001,788,847,700,620,413,642,1044,1310,1056,641,683,989,1256,1342,1260,929,769,1116,1456,1332,1112,956,753,1058,1214,1352,1612,1346,1568,2336,2496,2472,2210,1216,664,637,666,581,859,1422,1094,620,601,766,943,1084,1114,915,1152,1762,1900,1526,1154,1018,969,907,900,1052,839,563,500,526,421,384,466,496,622,619,597,603,669,711,752,861,1060,1166,1260,1204,1244,991,1154,1250,1234,1362,1540,1554,1184,921,753,962,1034,1280,1396,1274,1248,1244,1156,1132,1240,1590,1344,1182,1242,1106,1038,1132,1202,1246,1234,1528,1574,1510,1346,1108,1068,1236,1264,1238,1228,1058,1130,1010,1210,1230,1180,1150,1220,1160,922,766,661,684,809,1074,1068,993,615,417,635,1184,1420,1262,1006,883,882,1150,1200,1110,1202,1158,1058,1506,1708,1148,668,791,1007,984,1134,1186,1004,768,1104,1296,904,687,1062,971,961,1118,1202,1324,1284,1292,1306,1306,1204,1544,1258,1030,1204,1224,1158,1156,1252,1438,1674,1620,1590,1542,1196,1234,1206,1030,933,1224,1702,1592,1274,1322,1106,976,1090,1030,974,691,566,425,677,795,512,609,858,873,999,1013,833,893,977,466,369,490,420,460,446,350,469,583,589,287,314,420,566,496,492,662,506,384,635,1006,1072,1028,907,742,346,469,1242,1478,462,309,305,272,289,405,690,604,689,1168,709,278,278,315,650,908,1248,1516,1128,524,364,574,620,698,1152,1352,1272,1392,1232,1118,1168,1360,1378,1412,1346,940,648,806,1210,1382,1944,1598,771,501,700,503,739,1260,1432,1600,1998,2106,1750,1366,1360,1266,691,378,542,697,843,714,837,1003,1032,673,462,287,330,568,941,944,543,751,1076,1062,675,399,331,315,500,1074,1610,1518,1338,1380,1718,1680,1504,1366,1266,1240,1288,1318,1334,1382,1422,1442,1186,1478,1444,1432,1272,850,771,939,1092,1316,1576,1466,1622,1676,1700,1822,1954,1654,999,854,929,714,792,1038,1152,702,488,328,297,389,316,257,371,567,912,1056,866,705,879,921,803,602,495,348,341,572,1042,1168,802,469,367,352,521,1060,1172,1278,1184,1272,987,965,1062,1528,1670,1012,1142,1030,667,965,1352,1328,1346,1306,921,671,500,432,695,1104,1114,2570,2854,2122,3958,3672,2566,1962,1538,1244,1022,973,957,744,423,344,406,455,850,1538,1484,1152,1114,1338,1176,861,621,553,634,760,1015,1272,1192,1168,870,705,907,892,1252,1478,1524,1196,800,717,676,576,591,600,386,240,255,376,385,595,741,763,1104,1570,1646,1456,1444,1308,1050,899,979,1074,1504,1346,966,903,957,944,948,1004,1096,1136,957,969,1410,1626,1480,1310,1218,1158,915,681,615,655,1006,1206,1298,976,748,724,678,640,715,934,922,1066,1428,1582,1512,1652,1588,1044,918,1314,1310,1338,1382,1296,1362,1394,1306,1138,1128,1254,1356,1396,1248,1128,941,745,843,883,989,1114,1122,877,753,1030,1174,1250,1296,1660,1770,1376,1492,1512,1238,1198,1230,1324,1404,1314,1208,1278,1384,1312,1036,1009,815,582,532,866,1044,708,536,649,751,695,928,571,604,638,357,325,471,722,1044,1100,1122,1200,865,570,568,529,1190,1370,1226,917,807,770,572,486,719,1038,1122,1476,1704,1034,490,495,915,1172,969,582,593,590,781,811,1082,703,1022,929,933,1116,1494,1314,1138,1246,1316,1372,1140,648,549,845,1008,652,521,749,1007,1366,1414,1324,1458,1380,1054,792,937,1015,1088,837,922,1322,1826,1584,1170,1044,1156,1148,796,988,1440,1086,604,797,789,637,706,658,955,1168,1170,1544,1664,1278,1302,757,455,582,979,1198,844,803,953,640,634,999,1128,925,1015,833,719,868,709,1218,1534,1238,951,1052,1400,1650,1548,1358,1394,1538,1454,967,741,739,925,949,772,520,373,422,412,522,532,346,387,725,1156,1596,1638,1538,1266,1350,1414,1142,973,976,1184,1428,1538,1296,987,603,505,588,642,898,1130,1216,1042,927,1154,1186,1138,1358,1388,1030,1074,1176,871,649,579,567,711,1012,1412,1368,559,441,697,883,807,808,703,541,653,795,1016,1266,1142,1136,830,600,565,653,641,475,403,395,467,523,423,397,481,518,536,561,546,681,769,720,489,615,861,750,567,514,725,855,572,577,658,666,674,747,1116,1250,992,1428,1550,1300,1314,1356,2008,2104,1360,985,1306,1158,943,1134,1150,1122,1118,1170,1042,820,516,445,900,961,841,691,1166,1600,1196,825,615,849,1002,582,365,375,445,486,518,633,703,684,590,508,416,431,417,416,822,1310,1676,1224,957,987,702,550,502,539,690,709,671,623,1015,898,1023,942,1126,1112,910,1064,856,648,474,469,619,561,503,720,776,694,698,901,806,468,403,413,429,374,375,405,670,696,725,1076,1180,1116,880,936,1288,1114,1074,1402,1348,1324,1450,1534,1456,1450,1612,1348,1214,1500,1538,1750,1462,1084,935,1222,1224,1090,993,818,727,591,949,1816,1680,1240,1596,1494,822,705,744,985,1376,1418,1372,1200,1204,1126,979,1216,904,601,902,1176,1312,1266,1482,1554,1162,1174,1542,1318,1028,1214,681,406,471,746,613,380,328,317,317,292,277,293,409,1010,1248],[978,731,746,817,1156,1196,810,447,311,291,343,354,504,614,554,725,1138,1222,1094,939,1088,905,1208,1314,1476,1202,802,1090,1256,911,495,554,941,959,625,402,398,366,368,354,304,357,420,392,371,342,354,326,325,329,324,336,324,312,295,375,636,889,799,869,1256,1328,1472,1126,1084,1184,1052,820,883,1158,1264,1244,1224,1134,644,656,861,798,602,552,465,414,613,668,881,1248,1146,1216,831,1206,1508,1644,1638,1326,668,651,940,716,581,677,686,680,807,566,576,687,880,1010,1032,647,472,576,515,556,656,904,1112,713,811,736,816,763,549,434,396,398,366,398,372,302,329,396,525,1232,840,568,810,789,513,350,314,273,293,242,223,232,258,233,377,435,401,414,447,445,413,393,380,401,609,1260,1072,752,823,929,938,1648,2330,1688,1013,581,870,1076,634,429,432,477,516,465,425,350,524,897,971,747,892,1018,1098,1382,1278,1128,835,549,733,591,561,635,761,760,678,627,1046,1356,917,706,604,474,426,734,991,1028,980,871,749,783,1102,1104,647,735,711,1058,1134,1156,1158,709,584,808,547,431,873,928,831,968,1102,1128,1306,1134,881,930,871,743,709,416,447,573,648,844,1002,1528,1512,1262,1238,1110,1128,1194,1148,1302,1252,1198,1064,1016,1254,1122,1086,1174,1028,970,1212,1212,1220,1278,1116,1082,1092,1246,1298,1132,1208,1086,1228,1278,1062,1076,1224,1440,1628,1504,1350,1252,1294,1066,919,585,566,819,1134,1230,1180,1604,1852,1312,1126,1102,1164,1148,1146,1160,1374,1614,1396,1256,1132,1098,1142,1140,987,1004,1088,1108,1042,1016,945,844,976,798,543,735,772,681,826,948,865,816,882,1120,1160,838,1122,1488,1288,1084,980,824,931,1142,1242,1078,905,1268,1294,1194,1490,1908,1522,759,868,1130,982,885,781,1056,1001,708,608,695,781,947,1086,1360,1078,601,485,624,1004,2144,1666,1292,1410,1324,946,726,867,1098,1032,916,763,757,907,918,679,839,1184,1021,1072,1538,1770,1526,863,771,978,1180,960,899,1054,1100,1086,927,1250,1136,735,776,922,948,844,846,742,697,587,667,709,611,738,835,808,777,774,1086,1020,1070,1190,1098,1216,1920,1404,1086,852,1228,1426,1182,1284,1536,1140,1300,937,676,1074,1432,1570,1704,1666,1330,725,572,725,851,888,960,810,1034,1248,1660,1184,982,1184,1088,877,907,819,731,937,981,921,954,639,575,423,348,364,484,448,400,429,530,695,841,957,1204,1266,962,661,645,742,608,567,480,356,584,1068,1390,1436,750,420,446,651,563,485,959,1240,1142,1148,1082,1050,880,946,981,1066,1222,1340,1510,1282,1054,1302,1176,797,941,1560,1646,1036,876,1124,797,922,1188,1148,1084,1050,926,984,1272,1380,1204,1272,1168,1214,1204,1372,1240,1068,1046,995,1078,1268,1282,1188,1082,1292,1246,865,615,571,509,521,828,1098,950,854,1178,1410,1186,1172,1094,1050,1072,808,682,766,984,1054,1001,1282,1418,1276,938,715,509,882,1204,1228,1172,1310,1214,1000,1034,1096,967,1038,1126,1134,1296,1362,1560,1804,1602,1390,1726,1560,1252,1228,1152,1344,1510,1134,1210,1642,1560,1356,1268,1312,1166,1110,1178,1034,1036,1050,1284,1274,1384,1138,1082,1176,1378,1220,901,954,1126,1064,1068,809,619,703,1380,1354,1284,1392,944,1226,1240,846,741,1584,2314,1880,1698,1464,1172,1336,1318,1294,815,658,1150,1542,1604,1626,1666,1626,1528,1364,1234,1300,1392,1516,1120,1116,1368,1400,1346,1218,902,566,543,597,900,801,630,851,1136,1316,1356,1554,1018,604,678,876,1007,941,1120,1332,1324,1254,984,1030,1368,1310,1184,1042,837,1006,1428,1276,1310,1372,1226,1146,1142,810,541,749,872,1062,1302,1312,1009,559,590,706,789,491,639,1020,1112,912,824,865,905,908,979,1022,910,990,1106,927,1062,937,784,819,1080,1108,1842,2714,2362,1848,1986,2126,2176,1996,983,428,424,538,564,1032,1322,872,603,652,839,995,1240,1044,1076,1458,1784,1716,1246,869,572,558,854,1042,1220,799,563,583,487,437,426,438,407,518,616,548,608,741,792,1044,1308,1354,1466,1366,1182,1030,1020,1360,1476,1474,1482,1592,1516,1336,1296,1056,827,944,1116,1254,828,843,1007,1078,896,1023,1386,1152,1170,1152,1100,985,1128,1132,1018,1260,1460,1470,1438,1334,1276,1322,1324,1202,1088,984,984,1086,949,1028,1026,1086,1224,1216,1088,863,929,758,861,1122,1009,949,992,721,430,741,1384,1306,1030,926,943,1276,1318,1236,938,1042,1013,1118,1746,1626,950,781,790,940,1268,1354,1410,1292,878,1266,1452,1154,941,1024,1040,1152,1076,1030,847,1006,1130,1368,1324,1116,1350,1126,998,1366,1528,1366,1202,1174,1334,1692,1670,1598,1550,1302,1023,1162,1208,1088,1430,1584,1250,1252,1198,655,872,1120,1058,912,773,830,807,811,751,735,1017,1208,1354,1262,788,602,687,625,419,344,354,506,689,477,305,516,824,953,419,448,796,954,519,522,960,701,318,401,517,639,564,773,864,636,468,1054,1080,440,223,309,372,638,1100,1232,961,801,785,522,362,259,271,435,629,976,1028,631,430,354,494,591,716,1058,1412,1288,995,962,1228,1470,1450,1170,1010,977,996,759,569,1116,1866,2394,1672,868,632,708,581,722,1212,1646,1620,1500,1332,865,848,871,930,737,458,309,672,808,748,897,773,868,456,331,308,554,616,633,612,677,891,1214,1023,464,294,376,719,1162,1380,1418,1422,1632,1420,1366,1488,1434,1044,938,1274,1222,1088,1262,1342,1244,1100,1001,1204,1388,1404,1238,1242,1208,1176,1322,1202,1412,1078,1084,1490,1674,1688,1542,1086,925,946,784,711,786,633,1074,1216,737,372,281,442,463,320,446,702,799,1096,1216,908,623,549,520,409,406,330,286,562,1078,1148,670,467,353,340,468,1044,1494,1404,1020,1256,1188,1332,1654,1780,1438,866,952,1278,1272,1316,1214,874,597,428,276,204,288,312,504,845,1234,1682,1656,2498,4444,5916,5148,3826,2454,1730,1538,1252,1058,728,525,423,438,579,1216,1616,1820,1168,1028,1028,769,562,423,413,376,355,496,752,812,1230,858,890,946,686,650,865,1202,1460,1336,1174,837,846,767,717,728,787,813,860,806,958,1222,1404,1562,1638,1144,1018,1326,1386,1238,1106,1062,1152,1476,1372,920,914,1052,1066,1030,901,895,997,1005,1128,1366,1464,1394,1416,1040,641,587,550,618,897,1034,1188,987,674,610,644,661,720,1009,1136,1180,1492,1460,1482,1398,1570,1598,1170,930,1346,1246,1158,1284,1350,1356,1302,1222,1202,1282,1228,1144,1308,1396,1356,1202,876,717,821,894,908,1026,909,1042,1310,1460,1460,1370,1254,1072,1038,1334,1396,1224,1150,1212,1228,1130,1142,1226,1266,1278,1040,1030,999,813,663,489,641,980,659,587,574,409,457,457,367,601,589,439,412,396,469,671,1084,1168,886,852,779,514,321,682,1114,1196,855,875,826,467,577,647,643,755,1376,1080,473,372,389,436,509,448,533,696,985,1262,1208,1132,873,1088,967,967,1598,1744,1394,1336,1420,1284,1232,1230,818,652,770,967,918,816,730,1020,1454,1248,1354,1556,1800,1196,1296,1348,1242,1346,1302,1284,1334,1318,1098,1074,1006,817,809,1102,1328,1410,1736,1124,475,627,789,576,869,1262,1238,1184,1366,1312,932,1264,934,579,521,743,832,844,1102,1098,742,700,1034,1082,893,1130,812,797,656,1078,1448,1238,1090,1076,995,915,1438,1410,1040,1264,1602,1656,1330,1023,828,1001,1056,607,401,413,418,426,779,641,466,574,757,1402,1704,1664,1490,1009,677,1094,1184,761,691,1026,1224,1470,1318,943,698,791,824,784,579,619,903,866,940,1068,1278,1040,1326,1146,657,1044,1254,996,1074,735,482,706,813,686,547,502,649,1016,953,700,670,683,758,699,810,1042,1356,1038,1088,1017,1122,991,716,542,453,456,449,430,414,359,371,420,478,527,579,592,603,684,637,451,423,578,795,853,710,728,527,531,644,655,671,682,1028,1526,1138,1122,1796,1772,1584,1282,1338,1740,1634,1270,1108,1066,771,990,1156,1210,1148,1023,817,993,890,651,738,1516,1600,1020,752,1048,1720,1510,637,316,329,369,321,420,456,528,604,681,737,792,973,685,496,434,408,350,459,843,1144,941,618,798,700,518,524,441,641,693,515,394,674,922,773,752,918,1142,874,914,1162,620,490,393,458,514,437,416,462,516,523,503,621,648,378,336,383,354,283,406,436,477,799,1342,1266,838,879,681,877,1244,1180,1142,1656,1484,1094,1082,1384,1484,1482,1454,1358,1434,1602,1610,2010,1980,1432,894,1170,1160,1018,1282,1320,993,693,1132,1648,1524,1480,1834,1616,1460,1358,910,896,1226,1238,1082,1006,1266,1322,1538,1560,675,449,865,1118,1346,1426,1494,1500,1316,1020,915,646,552,661,437,294,378,569,603,449,329,443,477,364,254,283,315,672,985],[989,963,1124,1274,1700,1376,675,397,339,283,298,306,311,497,812,986,1028,737,564,494,808,849,1050,1426,1498,995,666,970,1090,1098,951,1019,1042,690,486,422,375,364,391,358,312,356,406,437,380,339,306,305,317,350,444,451,343,309,335,365,508,934,574,913,1658,1404,1396,1070,798,857,1094,1516,1422,1162,1106,1024,1028,937,569,868,1200,893,691,596,407,429,697,925,1208,1736,1448,1322,1062,1196,1444,1552,1354,1146,847,625,733,850,880,792,774,745,731,752,752,724,814,941,842,530,634,719,512,489,517,812,1028,941,1086,880,624,536,453,375,357,384,385,319,304,377,419,421,426,529,367,358,422,476,525,425,325,261,253,252,278,289,279,273,302,390,440,421,420,429,457,474,514,464,988,1428,1048,1004,1096,1042,862,829,711,869,989,496,571,383,419,443,421,439,554,471,485,551,565,751,803,610,828,1244,1198,1242,1028,1024,912,798,796,697,594,648,786,672,809,908,1030,1044,679,382,298,452,464,674,912,876,948,1190,1102,1050,1188,898,646,496,309,731,1088,1336,1384,689,456,666,584,413,536,527,887,1322,1206,1154,1338,1340,1114,826,734,1116,1080,445,464,897,833,919,963,1060,1328,1448,1282,1218,1210,1082,1010,1238,1200,1120,986,1004,1122,1102,1170,1310,1186,1208,1322,1260,1190,1198,1168,1172,1180,1274,1256,1148,1128,1060,1426,1528,1230,1316,1528,1638,1644,1538,1356,1366,1344,1390,1332,1238,980,974,1362,1312,1270,1212,1128,1256,1072,1128,1224,1248,1404,1434,1226,1162,1266,1328,1162,1178,1286,1252,1268,1042,945,1068,1290,1160,1018,1120,1122,794,678,930,795,456,1098,2414,1282,539,854,990,1028,1096,1274,1288,1344,1496,1150,1062,1140,1216,1360,1396,1372,1432,1464,1514,1592,1874,1704,1200,1382,1502,1344,1332,1052,1306,980,381,393,510,615,771,980,1016,810,787,739,799,869,1516,1316,1212,1284,1162,913,775,1058,1346,1450,1432,1032,937,1092,830,554,712,1242,1356,1128,1216,1324,1108,714,1048,1166,1060,902,756,948,1104,1080,1076,1164,1040,855,630,495,912,606,579,946,967,950,998,1066,963,844,799,855,890,854,1222,1418,1176,1148,1084,1102,1236,1260,1004,947,1572,1520,1216,1256,1302,839,1058,1004,986,1078,807,1028,1484,1644,1648,1124,835,1072,1292,1200,1001,787,860,1136,1058,652,756,1118,965,469,426,628,1062,1422,1108,896,1086,1226,1080,763,502,408,545,462,423,440,684,823,791,854,1358,1578,1522,1352,1262,1094,774,655,536,656,1148,1418,1438,1174,730,492,374,528,606,705,913,977,1078,1010,1094,1012,1106,1092,1160,1188,1094,1208,1176,967,763,976,1026,1060,1074,1126,1302,1252,1324,1284,979,860,789,869,1036,1044,888,925,931,1050,1234,1202,1246,1322,1282,1192,1066,1164,1176,1102,1154,1244,882,908,1084,1272,1356,1100,987,1026,998,819,861,1080,962,763,1334,1246,911,968,1019,1092,1240,1098,737,682,1002,1158,1172,957,1108,1384,1182,1058,938,907,988,1156,1076,1108,1182,1068,1046,1108,791,977,1068,1122,1240,1538,1592,1430,1166,1300,1626,1578,1460,1622,1656,1570,1360,1244,1262,1216,1150,1108,1216,1360,1268,1094,1034,992,1196,1330,1486,1362,1200,960,863,934,941,739,655,891,1164,1154,1122,790,527,943,1444,1314,1358,1262,904,1300,1412,1160,948,1300,1530,1502,1284,1166,1282,1452,1168,807,612,644,1060,1434,1528,1630,1594,1562,1366,1276,1210,1266,1304,1230,1162,1410,1450,1454,1450,1338,1076,758,1072,747,778,692,548,628,1194,1506,1386,1166,986,1122,1116,1310,1228,901,1228,1248,1140,1064,1212,1198,1260,1436,1340,1244,977,850,1226,1192,1310,1324,1368,1392,1482,1278,933,843,813,1106,1276,1136,899,454,661,737,762,774,957,1106,921,852,977,841,732,813,1102,1222,1112,1212,1468,1120,913,869,884,927,971,1018,1910,2956,2732,1598,1564,1586,1528,1504,870,582,754,827,818,735,636,532,890,872,865,976,1058,871,1184,1588,1716,1526,1042,576,470,635,908,726,902,689,515,568,579,498,428,397,332,506,827,611,637,757,937,1492,1340,1090,1302,1216,1306,1314,1180,1218,1198,1294,1354,1604,1604,1592,1342,1130,1078,1002,1046,942,851,1156,1650,1220,676,775,1108,1328,1330,1170,1346,1242,1180,1136,1166,1188,997,1234,1412,1510,1340,1500,1312,1230,1056,837,908,756,755,922,657,816,1166,1066,1100,988,1236,1032,980,1204,1070,1048,1272,1026,778,976,1144,929,764,745,992,1050,1246,1216,769,850,1019,1164,1556,1428,1076,1212,873,855,1030,1001,1454,1148,938,1100,1214,1108,886,952,921,921,687,543,422,390,452,991,1140,1026,1062,794,733,1064,1164,1288,1270,1310,1444,1674,1726,1504,1318,1318,1316,1464,1616,1630,1698,1290,1196,1288,1188,982,1288,956,1078,1136,808,1094,1396,1332,1328,1384,1304,877,735,603,639,803,930,827,521,352,374,512,794,578,301,392,543,476,513,581,780,830,468,451,819,574,324,476,553,612,470,550,738,595,636,806,650,396,268,352,404,661,1036,1007,1080,1434,1570,800,350,292,242,276,289,459,554,498,460,332,409,468,649,966,1154,1144,910,719,796,1038,1052,718,497,458,813,645,455,794,1328,1444,1382,1005,767,805,554,667,865,1250,1440,1060,669,811,1146,1202,1296,1134,745,526,670,765,767,579,600,615,322,258,374,818,908,622,846,1130,966,804,559,312,318,688,1184,1258,1068,1182,1494,1642,1276,955,1156,1166,574,818,1300,1264,1686,1744,1244,1064,921,905,1196,1426,1554,1382,1498,1210,885,1112,1046,1062,872,816,1148,1096,929,960,854,629,399,539,808,1040,505,766,1304,1100,648,362,597,734,493,730,920,846,991,948,846,667,583,469,591,849,559,296,453,827,929,620,635,430,336,438,916,1344,1134,1084,1350,1106,1278,1376,1144,764,713,818,1142,1258,1522,943,33,85,302,310,269,245,284,325,496,979,1594,2030,4640,5184,4504,5136,5312,3958,2590,2514,2002,1722,1710,1386,740,599,1028,1404,1604,1376,1176,1506,1360,810,578,642,649,388,383,416,408,614,571,496,667,624,668,811,770,790,1252,1192,1058,795,842,1228,1498,1416,1322,1264,1282,1362,1322,1390,1400,1036,641,498,1102,1440,1418,1416,991,891,1320,1378,1440,1520,998,940,971,901,775,783,944,993,959,1272,1440,1272,993,640,415,408,431,679,857,1016,958,730,681,655,637,655,933,1282,1272,1256,1516,1360,1316,1362,1720,1692,1288,1074,1204,1266,1290,1212,1094,1058,1152,1298,1372,1438,1334,1210,1242,1218,1254,1248,1084,839,910,805,874,1015,975,1302,1626,1626,1412,1316,1266,1174,1282,1260,1304,1326,1474,1198,952,781,937,1132,1172,1228,861,646,909,988,934,749,546,731,453,781,805,430,401,585,675,487,379,369,420,369,412,474,965,947,949,1064,833,506,395,390,538,746,439,791,868,576,949,1228,948,788,863,606,333,285,297,451,617,479,469,457,833,1158,1074,913,876,794,733,1154,1522,1454,951,984,1418,1472,1270,1394,1262,1148,927,772,977,924,612,651,1032,978,1000,1336,1784,1730,1622,1346,1168,1140,1384,1532,1426,1050,643,814,939,1124,1062,1118,1478,1254,1140,787,530,809,1178,1194,1632,1510,1576,1788,1248,733,593,756,900,745,647,908,1372,1514,1456,1280,1114,816,857,792,832,1126,1284,971,859,1426,1410,1080,1078,1068,920,796,985,1140,1082,1296,1404,1230,1052,851,899,1400,1540,948,583,407,370,431,695,854,814,650,720,1344,1752,1428,1076,1104,1156,1438,1118,983,903,891,912,1144,1040,565,521,566,531,579,450,473,473,620,955,844,1042,1354,1298,763,412,630,811,969,1060,814,898,1052,1078,843,672,608,739,847,613,549,650,923,1030,680,787,693,744,762,789,1094,1476,1380,1062,610,453,414,365,354,373,368,365,345,426,500,603,608,497,483,576,597,470,560,759,1016,898,594,469,636,672,672,668,802,1388,1690,1058,1256,1650,1948,1770,1710,1526,1222,1168,1066,1132,1194,916,1576,1566,1432,1242,850,530,738,1036,1116,905,986,1476,1728,1336,658,783,908,631,461,359,325,468,531,354,528,704,764,643,588,746,553,415,426,493,505,544,719,866,634,424,532,523,615,507,646,811,719,551,431,674,683,530,655,1120,1188,965,1168,888,495,390,401,464,458,386,425,475,445,436,522,774,642,424,315,319,277,283,386,445,706,1232,1382,1304,858,545,459,674,1064,1042,1086,1256,1446,1220,999,1058,1002,1144,1460,1578,1602,1542,1488,1802,1770,1408,994,850,879,969,1312,1474,1252,1050,1488,1490,1432,1448,1426,1154,1268,1598,1340,992,1078,1048,1062,1156,1396,1042,1016,922,818,1014,1088,1150,1312,992,982,1338,1210,819,649,462,349,402,341,319,328,431,590,485,456,682,912,558,299,264,258,615,1122],[1136,1174,1256,1212,1158,987,707,573,456,289,345,518,857,1172,1366,1124,859,771,763,630,695,877,989,981,875,605,499,686,1076,1232,1256,1214,818,606,583,441,357,383,417,414,412,444,431,428,377,365,327,310,308,339,392,368,309,307,303,315,373,743,484,872,1590,1410,1152,865,823,1004,1104,1252,1110,1042,1572,1214,763,565,520,1013,1314,964,994,1016,702,644,1054,1124,1198,1462,1006,909,1044,1080,1224,1228,785,793,816,474,492,893,1112,866,779,940,766,902,1058,1024,1001,990,794,414,433,300,387,350,503,718,800,860,855,636,528,528,426,292,303,300,401,477,454,483,455,390,417,374,274,275,283,290,381,384,379,471,511,335,276,305,291,279,324,421,443,401,403,447,493,518,544,502,960,1004,963,1108,1096,982,922,731,416,441,339,230,308,301,388,384,279,354,532,497,592,1090,1044,677,600,957,1530,1408,966,965,959,1042,1156,1268,1298,1158,683,449,489,466,672,1152,1182,885,535,361,373,505,674,698,655,650,767,1058,1390,1422,1228,765,449,351,391,720,1234,1728,1624,921,540,771,678,457,343,656,1180,1344,1280,1384,1656,1630,1320,912,922,978,1024,829,649,795,922,852,783,947,1302,1416,1198,1176,1102,1204,1048,1062,1366,1218,1001,1114,1122,1130,1212,1230,1152,1430,1340,1344,1148,1302,1118,1110,1164,1322,1250,1054,901,890,1158,1230,1278,1604,1752,1546,1322,1266,1252,1698,1818,1478,1352,1396,1400,1512,1456,1306,1202,1116,1284,1444,1168,968,1092,1126,1210,1110,971,1100,1238,1410,1288,1300,1612,1470,1001,833,799,968,1372,1248,1228,1366,1160,577,496,691,689,549,1522,4132,2290,695,844,695,767,1001,1154,1104,1252,1516,1362,772,952,1136,1304,1422,1210,1262,1438,1412,1476,1636,1532,1572,1636,1548,1260,1064,964,1238,873,328,393,512,518,595,767,740,705,722,866,1028,1230,1312,1096,1224,1256,1074,1028,856,966,1108,1212,1250,1078,1090,1176,1005,841,819,1168,1512,1434,1280,1028,923,880,1100,1210,777,470,650,1168,1322,1192,973,736,766,937,724,757,1192,959,822,705,815,1050,1072,1070,1074,1050,680,630,726,1034,1256,1264,1172,1162,1202,1182,1410,1792,1240,1140,1876,1926,1770,1792,1184,1484,1522,1106,1078,812,654,1140,1324,1554,1696,1388,1458,1616,1694,1700,1402,1046,954,1372,1610,1172,777,965,744,388,428,693,979,1114,1084,891,913,1038,1146,1208,835,700,868,675,516,542,706,834,812,775,1102,1522,1650,1622,1672,1700,1342,955,1046,1086,1052,1019,1136,1176,1084,736,469,492,807,1020,839,806,1112,1017,1400,1362,1426,1220,1144,1096,1062,1080,978,975,1023,1198,1190,1234,1462,1112,894,1136,1188,1214,1666,1448,819,525,677,932,925,971,868,1020,1282,1216,1166,1212,1152,1019,973,1048,1160,1032,1246,1420,1124,950,969,1090,1052,973,1130,1178,1098,1088,1102,1130,1100,993,1434,1322,1332,1366,1216,1336,1470,1458,1122,1015,1150,1216,1294,1132,1124,1326,1500,1432,1470,1360,1116,1238,1154,1158,1236,1282,1360,1322,1074,1010,1116,1204,1336,1498,1450,1210,1174,1544,1642,1382,1376,1606,1832,1324,1064,1142,1114,1084,973,1048,1286,1422,1350,1052,1019,1288,1330,1278,1110,1076,1064,908,742,810,919,924,725,820,919,1292,1058,709,586,1168,1466,1272,1390,1194,1056,1534,1272,1314,1224,1174,1506,1692,1138,962,1422,1578,1198,922,940,936,1288,1458,1466,1558,1572,1452,1350,1246,1220,1240,1176,1100,1340,1406,1300,1176,1316,925,1028,1116,1432,778,419,406,341,486,860,1154,1080,1232,1854,1394,1334,1200,803,738,1212,1078,815,1192,1458,1174,963,1156,1114,1056,904,977,1074,1284,1354,1360,1538,1416,1294,1148,1068,965,808,1056,1122,1118,1106,860,985,874,749,926,1146,1134,824,693,775,975,1190,1404,1260,1170,1328,1200,1114,1116,968,1002,1000,796,1020,1078,1534,1998,1898,1432,1834,1366,1190,1196,749,776,1056,1050,1158,694,639,667,698,724,843,798,1074,1636,1762,1700,1690,1308,1158,924,700,755,807,1168,999,536,471,538,542,478,429,439,346,529,805,471,441,615,931,1464,1198,1188,1362,1166,1034,1072,1426,1270,1182,1204,1238,1570,1846,1470,1166,1188,1116,1110,1098,973,946,1078,1660,1134,633,821,1204,1432,1314,1138,1192,1136,1194,1282,1084,847,726,1052,1256,1620,1444,1482,1510,1422,1042,756,686,645,816,924,764,1112,1244,1182,1072,1110,1232,1258,1134,1232,1214,1194,1478,1124,1108,1070,1118,1066,959,890,1064,930,1092,1190,958,926,930,849,1170,1352,1094,995,894,1015,825,670,811,785,780,992,1162,955,927,1142,1060,908,675,417,367,330,436,750,915,1064,1023,617,749,586,625,1478,1796,1414,1324,1542,1656,1422,871,682,923,1456,1852,1800,1426,1112,1268,1170,1154,1406,1308,924,1096,1192,786,1001,1246,1048,988,1128,1256,680,461,457,649,772,783,742,529,627,838,437,325,402,503,444,458,569,642,578,663,670,469,444,681,655,411,398,517,1038,983,720,788,550,450,639,935,711,223,353,448,666,796,929,1418,1744,1570,759,422,352,276,313,281,328,515,577,379,329,349,318,510,824,1088,1196,1184,833,749,756,647,548,479,558,913,648,589,773,969,1162,1554,1528,761,706,555,533,871,1256,1298,746,697,1368,1590,1500,1390,1030,666,583,551,705,768,793,812,566,324,258,529,886,862,797,977,814,733,431,306,340,461,890,998,948,1102,1238,1296,1276,1098,788,962,677,355,440,822,894,1578,1688,1180,1023,1007,1148,1380,1404,1230,869,1036,1048,820,800,815,911,871,634,579,547,477,704,706,547,342,314,469,631,543,1082,1370,1138,1058,694,761,1098,917,969,951,854,924,1004,1023,946,710,528,924,1108,538,318,239,251,428,606,675,499,397,491,671,688,647,1216,1376,1082,1294,1070,924,527,392,609,500,233,809,569,348,325,311,272,210,253,291,385,772,1418,1722,2060,3300,4680,5648,4828,3642,2452,1996,1922,2084,2082,2396,2380,1506,1072,1272,1340,1350,1252,1402,1574,1156,518,461,655,962,874,724,603,600,862,967,944,641,354,480,730,849,779,843,904,643,545,800,1256,1130,962,1124,1152,1270,1190,907,1108,1330,1232,828,542,951,1174,1328,1472,918,883,1438,1388,1528,1708,1040,841,800,784,797,825,892,927,1092,1132,1015,681,503,452,373,350,560,989,1132,1322,1010,810,839,616,691,944,1002,1256,1242,1138,1272,1182,1378,1550,1644,1788,1636,1320,1290,1326,1132,1044,1026,1038,1148,1246,1218,1388,1378,1130,1030,1134,1590,1808,1714,950,888,745,901,1078,1023,1204,1542,1698,1510,1260,1220,1208,1260,1228,1230,1300,1130,927,994,1040,1086,1090,1124,1276,1208,1040,1013,818,763,665,481,435,283,437,429,505,857,833,614,399,361,350,414,430,401,563,901,833,815,831,725,596,386,367,339,419,678,796,525,365,569,648,860,1018,710,481,351,293,344,561,665,828,575,377,587,863,1048,1042,1122,1026,810,828,897,1066,945,1372,1380,1342,1374,1118,1108,1262,913,649,711,571,1134,1170,1072,844,635,1102,1510,1444,1192,1166,1174,1098,1178,1328,1410,1366,1007,1005,1258,1156,778,1216,1682,1288,683,841,912,482,900,1412,1776,1542,1560,1198,640,561,686,708,920,1132,1204,1362,1788,1702,1302,1500,1136,755,896,1028,873,789,799,829,956,1352,1268,1126,1208,1254,1104,1316,1284,1124,1104,1152,990,842,769,446,607,996,946,1010,956,661,468,464,614,844,902,651,698,1290,1572,1322,1050,1184,1154,1248,1170,1096,935,951,772,785,866,520,571,667,677,463,375,328,398,684,835,649,838,1212,1214,666,691,1056,1150,1084,919,838,997,1058,995,1040,1020,729,727,694,565,716,852,963,769,578,603,590,703,672,819,1318,1422,1282,1266,606,480,405,357,361,368,351,343,345,375,437,532,513,498,536,703,688,565,539,512,665,733,541,585,702,678,692,771,1260,1814,1608,908,980,1312,1548,1362,1130,861,1036,1296,1015,1328,1500,1338,1550,1458,1310,1360,868,472,879,1536,1648,1148,1028,1622,1730,1190,783,574,485,413,370,409,524,943,1206,804,641,596,767,726,635,666,576,541,786,986,738,464,505,456,371,380,391,412,707,955,1110,1042,985,913,760,601,503,500,885,1246,1014,966,1094,586,463,580,546,457,509,590,566,457,395,447,718,1256,1112,563,364,364,376,346,328,429,901,1258,745,753,952,692,649,910,1054,1272,1148,936,889,656,666,678,609,1060,1482,1506,1464,1554,1694,1752,1428,1456,1420,1150,1210,1102,1426,1454,1330,1200,1386,1380,1484,1406,1002,748,1048,1294,1098,956,895,902,859,825,828,659,647,738,835,995,1090,1146,1126,922,1310,1576,1032,914,895,516,375,479,623,721,551,420,465,510,485,632,1042,991,599,338,321,503,964],[1146,1124,1050,959,843,761,902,1018,727,415,588,939,912,1210,2256,1644,890,930,851,694,608,666,1015,1096,937,824,536,453,742,1036,1270,1096,731,647,576,454,365,383,410,429,465,440,407,440,477,454,358,317,330,329,331,324,309,305,282,285,465,680,496,496,702,942,1094,1060,801,751,448,599,988,1662,1646,1188,745,558,571,910,1172,1080,1126,1070,869,741,785,724,890,1084,1388,1266,1020,1242,1446,1158,602,753,1042,576,444,459,441,463,713,1188,1062,758,880,843,918,1160,1060,405,297,294,318,326,600,712,884,1013,607,424,451,610,512,393,414,403,509,625,596,539,374,449,816,695,346,354,314,359,523,789,690,802,869,569,311,277,320,361,378,391,392,413,469,496,500,546,603,597,821,927,676,542,717,905,1050,995,675,658,785,491,325,307,383,410,289,263,450,535,504,733,785,402,460,1284,1540,984,730,802,1038,1222,1232,1180,1180,1084,938,765,414,492,1004,1482,1526,1234,650,389,448,613,846,803,785,539,468,751,994,1108,998,639,458,564,805,1012,1384,1198,1001,1144,716,761,794,530,557,915,1116,1288,1464,1480,1686,1686,1470,1012,911,1018,1084,1044,894,838,753,639,874,1428,1202,1428,1204,1074,1048,1178,1056,1088,1300,1266,1400,1412,1064,1164,1248,1262,1308,1526,1912,1844,1242,1248,969,946,1122,1064,1120,1212,1078,1336,1334,1290,1462,1682,1494,1016,1034,1008,865,1068,1248,1230,1310,1256,1224,1262,1034,1010,1148,1346,1460,1476,1288,1272,1292,1130,1084,769,683,1152,1230,1226,1422,1644,1572,1744,1396,838,916,1042,1096,995,1052,1116,970,450,413,645,818,1090,1096,1256,999,738,888,781,379,562,700,783,1300,1444,1510,1418,1668,1382,1242,1332,1110,1340,1528,1794,1886,1694,1736,1752,1610,1626,1534,1212,1084,1098,594,314,428,598,620,563,561,693,766,634,816,955,1242,1374,1400,1510,1360,1078,944,734,1034,1150,1062,1206,1300,1108,980,1072,1048,951,834,1078,1064,1352,1318,1184,1104,1210,1172,903,713,837,1258,1290,1428,1078,973,1054,1240,927,1152,1350,1302,1028,658,722,843,908,950,1058,1042,1318,1438,1006,1196,1216,975,1036,1086,1152,1230,1604,1886,1688,1628,1454,1092,1364,1620,1290,1694,1512,1252,1024,515,724,1278,1340,1512,1404,941,913,1218,1426,1670,1670,1494,1460,1544,1318,1108,902,1114,858,658,828,1320,1180,734,833,950,1032,1056,951,794,653,1010,1266,1013,931,829,667,608,684,691,713,1050,1470,1404,1582,1902,1626,1170,1108,1172,1132,1204,1178,1242,1210,955,651,625,1007,1013,927,895,872,1036,1294,1310,1376,1236,1112,1056,842,845,1070,1002,970,913,886,1162,1274,960,772,1030,1186,1098,1416,1332,735,555,686,971,1128,1032,927,1176,1304,1050,1001,1200,1212,1086,1050,1040,942,991,1172,1210,1015,1058,1092,605,633,1021,1112,1068,996,1078,868,944,1086,919,935,1358,1948,1912,1618,1824,1322,1400,1260,1292,1340,1520,1414,1186,1154,1214,1456,1418,1172,1282,1244,1168,1140,1188,1284,1240,1278,1266,855,691,832,1034,1470,1620,1410,1354,1346,1466,1714,1384,1338,1228,1142,1152,1226,1182,1178,1050,893,927,1070,1176,1334,1023,1072,1156,1244,1100,999,1170,1238,1007,854,850,1002,1082,916,908,959,1188,989,626,731,1318,1396,1260,1356,1038,685,669,790,1122,1086,1268,1462,1654,1452,1432,1532,1636,1260,1054,964,1016,1274,1422,1526,1476,1442,1394,1328,1220,1260,1272,1186,1150,1364,1400,1248,944,1110,1005,949,1142,1494,971,423,465,646,604,850,1422,1112,1272,1838,1362,1044,890,1019,1048,1130,1042,785,1300,1520,1296,955,1086,1182,1472,1418,1356,1244,1246,1200,1260,1172,1208,1360,1096,930,913,602,842,1086,1358,1438,1224,1190,1108,970,1100,1466,1200,622,633,1013,938,1048,1362,1256,1136,1324,1028,912,1028,646,786,1062,834,1306,1046,1204,1462,1582,1240,1230,1302,1092,844,619,676,798,779,1100,915,896,1090,1200,1204,846,617,669,971,1078,1166,1334,1172,1270,1268,1182,995,858,950,861,676,623,705,697,474,532,589,484,520,422,373,369,610,995,1200,1160,1364,1516,1362,1090,1074,1302,1324,1454,1346,1462,1556,1538,1268,1180,1302,1216,1102,1092,1188,1486,1126,918,852,883,1120,1260,1356,1156,1009,1176,1088,986,1174,1108,906,954,1122,1268,1348,1256,1290,1250,1182,1222,830,561,817,955,889,1144,1232,1176,1086,1002,1168,1176,993,1001,1188,1190,1284,1382,1166,1168,1268,1358,1102,1036,1021,920,952,1208,1160,990,1001,1007,814,1082,1464,1344,1156,1130,1296,1140,938,1252,1440,1154,1434,1240,1144,1204,1148,1218,1122,932,998,803,411,489,929,1196,879,803,742,763,603,592,1146,1508,1318,1144,1194,1570,1570,1170,1334,1616,2042,2042,1770,1426,1306,1340,1430,1446,1412,1354,1110,959,972,461,533,880,775,897,949,1268,1108,700,433,399,455,619,658,577,624,930,871,495,683,962,814,566,763,848,467,520,617,466,521,618,619,443,368,440,1044,1030,714,748,654,565,688,1178,812,265,320,480,850,872,844,807,1017,1028,676,513,399,318,300,295,339,400,350,300,286,267,332,448,659,637,543,891,663,606,661,664,688,624,707,970,804,702,714,905,1074,1522,1968,1196,588,703,654,1042,1146,1108,1136,1218,1124,1026,1005,756,559,472,499,550,548,595,813,586,389,364,399,641,851,944,1224,1136,649,537,406,373,634,650,568,792,1104,1138,1222,1302,1260,1042,1094,933,546,464,625,525,613,1100,1324,1310,1152,978,1070,1170,1212,1176,1110,1106,1006,918,1015,955,784,766,498,446,551,672,760,552,543,379,306,394,462,679,1352,1474,952,1102,1190,893,1318,1021,819,829,657,907,1248,1306,1046,668,564,552,379,292,326,257,256,304,519,635,493,452,706,771,716,779,1276,1176,1350,1424,885,413,424,396,314,216,245,285,314,321,297,312,262,255,333,337,479,1918,2282,1608,1410,1288,1822,3370,4920,3808,1990,1876,1924,2030,2024,2120,2280,1856,1562,1514,1186,1148,1220,1042,877,590,420,393,558,1034,1040,830,896,1296,1328,1044,1028,818,668,520,550,561,713,1038,1058,943,980,1186,1154,919,1174,1282,921,924,930,727,930,1318,1242,746,499,764,1158,1288,1184,594,901,1302,1440,1512,1324,1422,1120,750,767,842,872,707,905,1070,985,749,431,352,326,339,339,576,819,1240,1626,1344,1132,1264,1142,1138,1208,1021,1298,1248,934,1148,1746,2002,1708,1580,1652,1498,1152,1021,1182,1130,1138,1192,1102,1072,1074,1088,1266,1298,1026,939,1120,2012,2270,2088,1186,886,832,886,1030,939,922,1106,1226,1368,1390,1480,1136,1036,1184,1222,1178,785,594,953,1288,1246,1156,1148,1122,1288,921,683,508,411,348,300,303,240,247,306,561,840,515,339,285,297,351,435,469,399,600,966,975,726,607,825,1120,575,400,478,729,910,764,705,703,726,660,708,628,451,438,357,300,544,569,456,658,503,442,750,1096,1130,1260,1434,1148,1078,1228,1354,1110,818,927,1118,1290,1312,1148,913,950,941,904,898,867,1278,1270,842,574,612,858,954,928,1056,1284,1274,1066,943,1009,1104,1404,1318,1542,1678,1070,831,1222,1336,998,474,586,640,314,437,1132,1098,1282,1174,647,641,940,1078,883,970,692,933,1350,1372,1518,1514,1114,823,841,1030,940,666,745,484,600,1068,1218,1120,1126,1032,1060,1316,1596,1414,1098,1076,1072,943,911,1050,745,541,494,391,749,1021,1048,720,414,598,1088,1384,891,1110,1282,1062,1318,1470,1610,1046,908,1352,1156,707,509,444,709,769,540,510,844,933,587,547,549,537,973,1238,1078,889,1034,1312,955,1023,1376,1328,1134,938,717,720,796,929,1212,1120,1012,890,552,707,988,1086,783,524,409,441,530,462,620,1146,1336,1172,1116,841,426,369,338,361,386,369,349,345,340,321,392,476,444,473,522,631,688,723,602,544,606,684,982,1092,785,694,677,1010,1656,1790,1088,731,1202,1340,1112,1038,683,586,1128,1616,1284,1220,1520,1182,1146,1030,891,1224,1264,1250,1588,1666,1396,1418,1444,1836,1290,1050,1404,1060,644,427,286,375,531,845,1180,836,521,572,702,688,622,635,714,783,1013,1256,993,543,369,306,329,347,595,770,942,1016,1228,1272,1021,1168,1068,644,435,634,1196,1116,855,1134,893,475,597,788,777,615,540,611,673,836,579,490,973,1272,945,653,452,413,391,351,320,579,1186,1114,684,658,1112,974,920,1034,962,912,977,1108,1012,700,1152,913,628,1078,1566,1364,1252,1344,1530,1636,1492,1572,1504,1432,1384,1126,1106,1108,1178,1254,1226,1162,1244,1220,839,542,586,776,834,1032,913,780,796,849,863,1000,1014,706,539,566,891,910,809,1024,1194,1028,915,1232,974,552,590,429,602,832,547,362,718,964,760,724,1050,1140,618,364,359,430,1104],[1130,1128,1026,821,965,847,1072,888,620,698,844,930,644,922,1566,1186,778,869,705,563,554,635,1058,1120,1148,1028,579,410,561,973,1112,808,650,583,479,416,371,367,378,397,454,460,478,505,514,478,359,315,311,312,319,325,318,305,298,315,521,713,620,488,617,1042,1368,1444,1150,698,596,1168,1428,1614,1596,1274,1042,969,951,878,969,835,698,983,840,589,606,877,1162,1510,1670,999,969,1214,1318,1124,896,1170,1318,746,403,294,320,501,880,1220,1062,603,548,572,906,1758,1238,443,287,278,381,593,938,1092,1082,967,686,358,423,541,516,610,905,838,644,670,732,636,415,505,959,729,371,375,378,552,516,749,843,894,990,708,343,274,324,361,376,398,419,434,486,574,725,699,701,976,953,665,382,567,938,710,761,822,748,699,879,729,490,400,390,359,409,392,442,509,446,426,436,488,682,967,922,775,721,944,1454,1422,1292,968,980,1012,1146,1024,825,1156,1362,1236,1394,1382,602,344,615,912,999,849,490,345,346,369,497,738,810,627,571,800,1078,1004,1212,1052,1120,1290,901,570,499,508,880,1448,1584,1602,1686,1614,1658,1594,1384,968,686,766,935,919,907,922,798,555,644,1160,1314,1562,1388,1138,1048,1184,1136,1056,992,1208,1650,1744,1188,1172,1278,1282,1154,1072,2428,2202,1338,1170,1080,1180,1252,1164,1294,1648,1410,1962,1716,1506,1606,1530,1268,1140,1176,944,719,873,1282,1110,1132,1266,1268,1102,803,684,723,1180,1310,958,1156,1404,1242,1252,1404,1060,855,1158,1216,1268,1258,1406,1426,1422,1224,1046,1164,1262,1208,1019,1120,916,616,423,597,929,1136,1174,957,999,1084,905,889,847,453,437,740,957,1178,1434,1602,1730,1666,1296,1344,1410,1434,2020,2238,2376,2454,2610,2632,2348,1882,1604,1620,1304,959,1156,456,346,827,1126,1005,632,508,604,802,987,757,512,599,1088,1546,1462,1176,1172,1010,937,1048,1098,1260,1366,1202,1102,1112,1056,1070,966,635,870,974,1080,1098,809,897,1064,987,1100,1030,821,605,668,1304,1296,1186,1290,1108,811,1204,1488,1474,1098,645,814,801,800,814,884,930,1728,2964,2596,1480,1132,1188,1264,883,986,1278,1694,1994,1476,1368,1428,1224,1244,1268,1326,1352,1232,1170,762,508,883,1396,1552,1376,1124,761,817,1034,1108,1270,1544,1696,1788,1810,1530,1136,1140,1296,1094,1194,1454,1668,1008,704,1098,747,794,997,706,565,739,1220,1440,1484,1382,1011,865,753,695,652,525,516,852,844,1278,1536,1522,965,762,1120,1350,1208,1152,1074,763,877,1144,1132,1270,959,997,1072,802,776,847,971,1186,1296,1250,1326,1356,1140,1078,832,912,742,710,940,948,775,863,1012,1108,833,736,952,1142,899,1284,1290,1076,1066,1013,1084,1206,977,1156,1104,1156,1302,1324,1030,753,993,1178,1142,980,1262,1570,617,596,1166,1442,1392,1028,658,548,761,1232,1262,1136,1484,2132,2450,2372,2534,1324,1234,1190,1224,1470,1458,1256,1234,1322,1324,1448,1664,1550,1542,1524,1356,1344,1158,1158,1202,1132,952,752,669,800,1064,1200,1400,1302,1360,1322,1508,1732,1438,1232,1058,1048,1356,1322,1348,1530,1382,1098,1048,884,836,1036,843,927,1258,1200,962,917,997,980,919,735,625,597,531,663,846,1082,1050,825,596,837,1396,1392,1274,1356,1054,1034,884,807,971,1054,1370,1652,1586,1572,1744,1408,1460,1198,1036,1166,1011,1136,1256,1370,1390,1380,1422,1302,1208,1358,1274,1162,1140,1254,1228,1166,1128,1084,1212,1048,982,1005,835,524,587,862,1038,998,1378,1082,1015,904,831,851,798,1084,1064,880,1142,983,952,1274,1164,1066,1140,1124,1132,1042,1011,1106,1164,1184,1246,1212,1176,1212,1078,756,918,949,963,908,1256,1344,1021,993,890,1008,1212,1272,1084,1052,810,763,622,792,1100,1108,984,749,601,902,1008,890,954,1062,916,1342,1128,1138,1182,1015,946,1208,1096,529,350,325,385,467,427,567,502,789,1246,1626,1408,830,708,512,485,339,483,709,731,793,1013,1260,1328,1044,853,1001,1182,1202,1064,760,574,617,666,562,638,556,493,431,625,1010,1060,987,1300,1322,1222,1176,1088,1068,1342,1444,1274,1394,1452,1306,1300,1500,1366,1240,1212,1118,1094,1192,1358,1256,962,940,1074,1282,1384,1114,1036,1294,1602,1240,1140,963,866,1172,1324,1314,1330,1404,1292,1108,1228,1474,781,465,774,633,847,1284,1322,1200,1005,997,1120,1146,1140,1188,1186,1186,1178,1178,1268,1104,1096,987,934,1016,988,929,835,1001,1054,990,741,799,688,969,1246,1168,1262,1422,1434,892,905,1182,1274,996,1372,1284,1234,1318,1264,1326,1042,899,1222,1116,645,505,861,1102,996,948,707,543,1038,1108,1007,1206,1244,1062,1104,1562,1660,1434,1394,1666,2100,2076,1754,1684,1592,1642,1732,1694,1626,1406,862,737,1134,995,880,1036,984,1086,1056,1086,903,591,424,364,378,512,310,332,492,883,828,654,811,879,709,389,631,918,512,589,1048,598,539,658,836,548,285,496,966,831,568,756,634,678,615,841,533,277,351,514,675,843,770,478,543,664,514,424,355,308,335,399,459,761,646,358,306,325,437,764,802,652,441,419,505,607,675,739,771,723,706,628,700,874,821,865,869,1096,1692,1256,502,537,711,904,651,581,855,982,746,742,603,429,418,501,686,867,817,916,1094,886,481,373,461,680,698,1050,1534,1128,747,722,882,943,871,650,594,988,1002,954,1214,1248,1074,602,852,814,487,527,549,443,711,853,937,1290,1198,954,1007,895,829,949,1008,1038,1015,1021,1048,779,490,728,616,594,888,960,915,628,516,485,625,866,603,431,823,1398,976,896,1252,1224,1314,764,404,645,988,1010,912,885,781,631,760,563,374,353,346,300,262,277,397,492,407,530,1104,1302,1118,869,724,901,1160,1412,968,620,475,381,248,247,319,337,429,438,338,323,288,314,367,656,1194,2392,2332,1612,1444,1262,1046,1400,1788,2032,1728,1660,1888,1946,1898,1770,1940,1766,1668,1772,1726,1534,1116,773,575,470,421,402,518,836,998,836,916,1138,1178,922,813,734,771,528,598,694,698,924,1024,882,946,1042,849,897,1284,1228,872,722,727,623,697,1048,855,494,651,856,775,1170,1706,944,1086,1202,1460,1528,1436,1544,1288,865,774,801,842,1038,1908,1188,919,716,445,417,418,398,397,437,535,830,1050,1172,1418,1714,1406,1186,1332,1086,1094,985,663,1060,1924,1916,1336,1142,1562,1418,1226,1754,2042,1482,1212,1232,1176,1032,987,901,970,1016,948,989,1020,1298,1166,1013,965,1124,1164,1080,1124,893,857,1196,1374,1534,1416,1386,1050,976,1278,1470,1148,649,514,746,1118,1218,1056,993,1098,1290,823,490,372,336,320,344,342,284,274,327,278,276,197,367,327,280,284,420,736,734,518,601,693,752,548,656,861,520,493,904,1138,1094,1106,1064,985,901,891,973,573,356,319,301,505,720,524,350,350,342,411,593,765,898,1320,1216,957,1074,1128,1084,905,827,902,1118,1324,1406,1302,1118,1210,1180,1046,1024,1122,1023,1026,770,602,858,973,785,1021,1248,1282,1180,1064,1284,988,1112,1334,1574,1506,1306,1372,1402,1360,737,575,380,326,348,482,778,1172,1028,1360,1432,1118,1020,1156,1182,1084,1298,802,533,908,771,961,1456,1342,1214,1392,1716,1474,935,1140,637,694,1132,1334,1290,1074,768,748,946,1072,1160,1270,1202,1046,973,1078,1184,1160,1018,666,384,546,863,973,811,598,849,1122,1348,1046,1140,816,772,849,1076,1120,868,1210,1512,958,600,400,668,915,1092,796,674,1156,1146,753,982,1172,973,1100,1132,1056,1260,1492,1450,1010,982,1098,955,637,381,394,531,566,824,1102,966,1166,1218,720,529,781,854,625,452,461,525,493,607,1064,1190,1260,1374,868,408,331,357,383,506,592,492,397,379,357,414,613,574,509,569,616,607,619,626,550,526,464,595,1150,1642,1314,948,914,1372,1802,1770,1266,1092,1236,956,876,925,692,763,1450,1692,1722,1486,1334,984,959,961,1084,1466,1490,1506,1300,1108,1158,1510,1484,1220,791,1286,1688,1258,926,588,441,467,544,669,596,417,402,563,718,677,592,733,995,1220,1184,1094,804,725,833,639,512,508,581,794,896,740,1218,1212,785,1009,817,553,456,560,887,980,944,1128,694,489,748,1106,1160,1058,789,750,1050,1352,1044,827,1280,1368,1150,999,800,737,513,482,405,812,1138,879,596,769,946,767,710,771,898,834,950,875,912,861,1266,1030,651,747,845,1052,1376,1152,1246,1520,1664,1698,1590,1562,1396,1350,1070,1036,1182,1146,1028,1108,1562,1714,1322,828,739,1242,1164,1052,938,732,872,1060,1182,1208,924,455,428,461,717,738,907,1136,1034,983,1268,1434,979,1100,1028,720,418,404,347,386,682,665,422,363,567,534,333,280,299,439,1000],[1098,1038,1106,1188,1394,896,786,845,922,1070,1080,875,597,963,1186,871,943,823,554,504,535,922,1170,964,855,659,434,481,954,1262,904,635,574,460,445,415,383,366,349,376,445,493,505,463,446,461,350,318,305,314,315,315,322,319,315,366,544,677,616,772,980,1072,1162,1618,1766,1120,1000,1294,1152,852,831,799,908,941,1110,669,877,935,1038,855,557,597,885,1312,1390,1196,927,477,662,1112,1174,1202,965,763,899,661,430,354,379,530,833,1124,1052,724,495,503,830,1450,872,374,312,272,564,1130,1168,950,1192,1258,894,366,466,608,608,835,1230,1086,713,692,753,637,490,386,933,877,480,672,873,974,792,798,1094,944,983,913,563,321,326,289,287,374,446,414,500,864,1154,1010,1028,1108,918,763,474,851,1042,901,1052,1340,957,524,636,671,593,525,479,402,443,442,423,504,637,681,499,709,1164,1314,1532,1174,864,814,1098,1072,767,790,1230,1288,1136,836,825,993,1228,1064,1104,1000,747,658,826,1132,1020,928,723,442,384,364,310,496,951,912,601,736,869,946,1052,1186,1262,1118,733,543,609,841,1064,1358,1418,1542,1634,1544,1496,1502,1344,1036,943,997,1017,999,967,951,832,536,479,650,1324,1420,1326,1174,1104,1128,1092,1064,1072,1212,1598,1458,1012,1060,1090,1106,1078,1090,1214,1202,1216,1298,1388,1586,1422,1216,1154,1278,1450,1708,1592,1658,1460,1242,1186,999,896,840,804,1114,1570,1316,1184,1332,1238,1186,1064,863,944,1326,1118,724,965,1406,1278,1434,1354,940,958,1244,1344,1248,1050,1252,1620,1418,1212,1038,984,1122,1148,1160,1166,667,639,821,962,1134,1010,966,1138,917,1034,968,866,620,357,368,683,864,1072,1454,1744,1884,1570,1370,1420,1388,1682,2280,2416,2488,2658,2566,2622,2586,1870,1468,1434,1068,966,1294,640,467,1268,1686,1204,543,555,745,812,819,758,529,625,1178,1302,1306,1470,1494,989,755,785,894,1186,1110,949,1294,1394,1224,1202,993,1003,1122,988,977,931,935,899,868,893,1048,745,786,520,512,1004,1236,1248,1196,922,912,1158,1030,1206,919,738,790,802,797,766,887,922,1454,2266,1776,1322,1490,1322,961,926,1038,1260,1668,1710,1224,991,1436,1628,1434,1574,1532,1082,1184,1230,767,630,1082,1350,1444,1188,1058,1234,1332,1208,1186,1482,1470,1482,1526,1618,1766,1766,1730,1630,1194,904,1216,1184,657,979,1106,634,651,664,618,650,1052,1378,1384,1568,1428,937,987,1226,1009,984,766,569,509,799,1086,1324,1472,1108,1015,1354,1708,1278,1166,1098,946,1040,1344,1372,1224,1124,1078,866,789,792,662,511,666,943,971,1180,1292,1152,1018,871,925,1024,1060,867,1007,861,794,659,737,756,825,927,1266,1184,1202,1206,1128,1072,1044,1086,1232,1018,1156,1112,1000,1228,1262,1250,1160,1152,1246,979,770,762,1112,683,789,991,1520,1588,1316,805,548,935,1306,1282,1226,1506,2364,2382,1626,1180,1050,1066,973,954,1116,1168,1260,1312,1290,1432,1438,1502,1498,1470,1430,1164,1194,1494,1522,1492,1438,1214,1290,1368,1138,1406,1434,1382,1254,1164,1248,1686,1814,1434,1158,1176,1368,1550,1302,1256,1322,1646,1340,1142,955,973,978,692,728,995,1010,1024,1021,918,915,915,667,564,563,551,548,823,1086,940,738,546,1018,1494,1380,1242,1344,919,887,1110,1058,863,846,1100,1440,1452,1306,1888,1926,1358,1406,1036,1042,1092,986,1180,1250,1198,1228,1262,1234,1282,1350,1354,1156,1132,1162,1150,1158,1224,1146,908,927,1080,548,463,491,595,1128,1482,1274,1116,673,643,954,1126,938,836,903,689,932,1232,1058,744,910,859,852,963,959,666,422,595,1152,1420,1338,1472,1632,1382,1366,1108,1188,1182,736,597,667,853,868,922,1088,745,978,1194,1016,1018,1198,995,1001,1054,1096,1156,1001,501,411,617,1158,1176,1172,1236,1068,946,1214,1038,678,525,747,1480,1574,977,355,267,311,359,343,297,434,514,558,763,1032,1038,844,933,1010,705,411,368,421,621,593,591,1100,1310,1114,1164,1366,1060,998,1458,1410,916,624,575,478,456,470,563,568,571,815,1148,1182,1036,1152,1144,1154,1030,1034,1368,1490,1468,1658,1652,1512,1422,1498,1340,1282,1238,1110,1360,1322,1290,1196,962,932,947,939,1112,1028,1120,1124,1704,1466,1122,1100,1166,1162,1304,1384,1578,1534,1252,1256,1236,1088,548,431,600,495,655,1016,1222,1362,1086,1130,1050,1028,1007,911,1140,1202,1250,1256,1172,895,630,620,752,824,915,1009,892,951,1084,1224,959,933,794,893,1026,1088,1226,1390,1278,580,628,670,564,695,1350,1574,1418,1400,1512,1474,1134,688,805,849,612,602,942,938,1138,992,650,484,725,910,921,1146,1236,1054,1062,1600,1664,1658,1542,1760,2098,1808,1482,1518,1616,1694,1718,1466,1296,1178,825,883,1238,1248,1458,1376,1228,1394,1300,843,749,1120,641,587,735,617,348,366,478,567,426,447,512,565,552,489,489,508,555,591,883,738,593,549,587,391,285,534,842,696,670,865,695,608,521,800,557,322,310,418,532,604,605,508,465,606,478,484,351,250,343,761,1472,1656,1238,802,417,350,573,980,1252,1426,753,544,610,681,723,723,756,719,628,554,618,768,991,756,505,856,1460,965,327,187,501,735,387,307,277,430,392,370,425,531,617,772,970,1086,1110,1024,985,692,519,458,392,598,778,990,897,624,730,1134,1626,1650,1126,1015,1146,983,717,873,1110,895,720,645,973,979,552,542,784,664,913,1082,985,1252,1246,1068,812,626,680,690,786,1188,1176,974,970,778,556,540,553,829,947,825,998,987,741,706,1300,1320,730,579,1076,1154,726,461,654,1102,1288,858,460,819,1380,1334,1086,1012,824,948,1186,866,459,314,330,282,275,302,375,506,536,791,1430,1254,894,727,376,457,882,1100,1076,1015,908,459,280,290,299,283,352,320,268,278,372,408,615,1226,1762,2040,2038,2226,2712,2004,1528,1476,1486,1258,1066,1264,1440,1636,1778,1994,2558,1844,1748,1780,1898,1938,1852,1572,1158,733,536,512,488,572,644,639,588,462,553,709,811,787,604,604,843,895,853,935,1064,777,970,1226,1420,988,1114,1036,713,583,601,511,547,763,800,843,1086,1144,693,1112,2172,1644,1190,1116,1416,1588,1416,1366,1452,1206,841,716,650,1001,1888,1056,532,440,401,437,451,426,401,380,431,777,1230,1416,1538,1728,1396,1270,1336,1226,1086,920,691,902,1142,1382,1390,966,1328,1356,1424,1678,1432,1076,910,1108,1026,753,737,959,1050,1190,1570,1538,1208,1062,1056,1184,1280,1382,1356,1130,1072,896,1070,2016,1896,1634,1170,1060,1082,1244,1554,1478,1100,890,819,948,988,1128,962,916,1142,1266,865,419,348,401,478,432,464,593,466,396,383,445,547,526,385,390,327,547,983,1023,745,555,890,1320,897,575,484,462,615,1015,1252,1354,1384,1020,676,558,490,502,417,367,310,462,713,846,778,625,393,516,756,828,957,1204,1320,1078,990,960,667,448,460,634,632,720,1036,1504,1246,1050,1005,1050,1050,1146,1216,1144,1038,850,757,1036,963,784,1140,1136,1070,999,816,886,1016,1190,1524,1606,1218,1746,1544,1416,1090,639,480,380,424,812,1102,1104,738,835,1304,1394,1298,1010,952,958,1222,1724,1302,797,908,858,1196,1474,1620,1732,1766,1804,1530,1182,1058,761,1023,1420,1576,1378,1202,1013,748,577,845,1316,1810,1458,1184,1168,951,1160,1332,1318,1000,585,901,1378,987,1162,1032,1208,1050,886,1038,752,407,693,1182,1122,770,1116,1708,1322,854,600,682,1060,1030,1152,769,698,990,928,691,774,984,1140,921,723,895,1126,1374,1280,1306,1282,1098,1076,705,467,376,484,721,748,839,788,753,813,617,502,517,755,1014,680,785,875,1023,1106,1182,891,1000,1044,625,404,629,897,780,778,828,606,397,365,357,417,552,543,478,511,528,454,409,406,426,419,353,585,763,1060,1504,1556,1478,1632,1744,1656,1560,1480,982,849,962,962,818,854,1338,1688,1682,1446,1050,773,959,820,788,1006,1224,1142,1178,1352,1594,1340,1194,1094,926,1010,1064,933,948,888,1036,760,496,370,361,380,382,634,946,896,1016,1074,1070,1434,1146,785,616,852,1234,916,511,591,789,1560,1812,1000,963,1122,796,648,523,456,471,368,779,1048,1052,940,407,451,835,1222,1274,1240,1158,1036,1240,1344,1011,929,1316,1404,1330,1220,1244,1003,989,819,691,1142,1344,1068,800,692,854,985,614,427,496,338,465,433,505,1005,1472,1158,712,484,731,1278,1348,1186,1338,1412,1396,1346,1472,1504,1488,1328,1258,1378,1314,1446,1408,1086,1292,1740,1726,1300,988,1222,1158,1164,1346,1262,1432,1344,1302,1122,834,547,453,509,634,802,958,954,818,749,854,867,666,878,1106,1068,507,347,396,506,657,796,628,305,281,254,252,321,397,427,609],[1170,1160,1436,1468,1524,1306,1070,960,775,752,941,990,801,1030,911,852,1152,788,518,565,895,1176,1016,832,650,452,497,905,1178,1028,821,760,629,486,470,435,401,388,366,371,405,430,488,426,400,440,380,356,323,312,313,304,309,300,305,379,436,473,630,948,1062,912,766,1484,1754,1372,1158,1070,946,601,717,779,662,1188,1180,787,1054,994,733,681,719,1011,1318,1001,798,814,489,423,748,1380,1540,1360,1236,1346,1152,846,847,613,514,531,959,1512,1164,1140,777,446,653,626,300,308,335,338,619,1102,946,662,919,1084,722,716,810,761,672,612,664,518,476,612,636,629,542,385,732,736,606,1036,1062,726,541,735,1208,1012,1264,1202,644,346,335,318,316,366,383,427,817,1230,1240,999,947,945,1012,749,428,585,613,705,1082,1278,944,493,514,594,607,564,507,521,462,409,429,500,998,1440,882,897,1674,1532,1522,984,1007,701,603,720,639,572,674,912,1032,932,855,796,1224,1021,788,953,1098,1234,999,1070,1084,1200,1130,739,449,410,359,645,1150,959,579,658,1146,1392,1172,1036,1242,1140,862,580,884,1186,1246,1226,1428,1296,1284,1194,1058,1356,1446,1017,838,940,907,955,971,897,702,475,434,581,739,870,1204,1334,1360,1144,1160,1094,1005,908,1078,1324,1302,1144,1220,1380,1228,1334,1414,1468,1152,1196,1396,1660,1490,1142,1260,1454,1510,1466,1606,1648,1320,1294,976,710,818,702,716,1060,1300,1142,1214,1258,1166,1060,818,1106,1302,1198,774,730,1040,1320,1318,1410,999,678,875,1122,1316,1144,1174,1228,1248,1172,1388,1262,1078,1076,950,1114,919,741,945,936,1154,1268,815,981,1174,979,1058,844,667,533,444,391,543,810,1038,1009,1384,1870,1568,1456,1336,1294,1574,2242,2220,1952,2082,2498,2818,2354,1626,1440,1272,776,1160,1334,966,904,1290,1488,1248,1124,985,972,1116,1040,854,604,868,1360,1718,1234,1116,1208,789,715,960,935,1026,1118,963,992,1156,1254,1226,1118,1164,1050,761,628,935,1218,994,1216,1012,1226,1110,982,770,932,1226,1248,1118,960,813,1108,1242,842,813,591,670,739,814,854,838,858,922,1370,1500,1204,1150,1416,1368,1172,979,1036,1472,1734,1456,1176,1072,1178,1484,1598,1398,1406,1108,1372,1238,858,795,1108,1142,1122,875,762,1316,1724,1120,1098,1370,1418,1350,1274,1310,1456,1496,1522,1576,1760,1672,1400,1021,858,1150,975,739,651,576,791,852,1184,1526,1368,1576,1626,1388,1324,1520,1484,1350,1019,673,583,913,1204,1426,1186,601,754,942,1098,1188,1180,1106,1172,1142,1218,1084,976,1192,1180,844,761,883,742,552,653,686,702,905,1094,1116,944,1026,949,932,942,948,1234,1380,1262,800,546,516,609,711,742,637,597,897,984,1018,1108,1124,1260,1206,1182,1234,1100,910,957,1158,1272,1448,1704,1042,1164,959,928,732,995,1066,1020,1070,1200,1162,1020,1112,1052,1028,1216,1306,2232,2042,1340,1128,874,932,1130,1130,1266,1416,1356,1188,1104,1240,1156,1072,1108,1096,1082,1044,1234,1384,1452,1510,1344,1006,1570,1766,1464,1448,1524,1394,1532,1652,1494,1658,1742,1464,1212,1274,1208,1162,1282,1384,1516,1944,1544,1154,1136,1138,1190,925,971,1144,1010,888,1198,1074,1015,1036,755,546,686,748,700,907,1106,899,720,546,1150,1480,1304,1194,1318,857,583,854,968,963,935,822,1488,1334,1054,1184,1416,1092,1192,1044,1338,1324,929,1188,1014,867,1014,1096,1162,1336,1422,1442,1244,1194,1146,1021,954,1102,1158,973,740,764,496,427,656,827,1324,1322,1234,950,667,868,1158,1196,1202,992,964,567,829,1142,1180,810,787,1080,1082,1052,1056,1044,800,877,1222,1572,1362,1462,1354,1162,1016,1070,1502,1180,533,351,451,612,1178,996,1252,878,1036,1266,983,807,1004,1116,1126,1270,910,906,1098,547,464,576,979,1230,1362,1638,1288,1021,1212,1015,675,635,1042,1332,1308,792,390,330,350,341,281,334,920,1280,585,476,761,903,1012,965,951,781,563,391,521,845,792,820,1310,1296,1260,1378,1520,941,938,1430,1328,699,764,1374,1418,1094,897,1096,914,781,1026,1312,971,974,1264,1076,1056,829,878,1312,1382,1448,1604,1504,1296,1266,1318,1262,1222,1214,1286,1512,1488,1282,1096,1056,1062,1160,1116,1046,1060,1030,1030,1058,1154,1020,1058,1186,1168,1388,1378,1524,1350,1272,1468,1450,974,560,441,486,495,669,984,1132,1282,1023,1234,1154,999,998,1138,1204,1324,1420,1172,1009,733,565,480,523,597,800,1026,1046,966,1190,1290,1140,1138,1034,1114,1414,1404,1128,1066,785,585,847,996,613,782,1468,1804,1604,1290,1354,1444,1404,796,653,471,477,846,1021,967,1098,929,689,704,754,826,896,1182,1210,1152,1412,1614,1608,1668,1736,1870,1854,1470,927,981,1394,1458,1448,1158,1356,1328,1024,1005,1290,1526,1562,1422,1232,1268,1090,598,996,974,1007,932,1266,1206,869,629,396,306,387,350,373,496,517,613,465,584,866,564,670,1096,811,435,505,502,318,420,512,623,740,812,873,860,648,546,592,542,371,423,534,404,340,329,403,547,460,636,510,298,485,1108,1394,1244,1354,987,364,417,969,1222,1794,1784,955,570,580,604,589,620,692,633,462,328,367,421,625,593,571,722,813,498,282,300,555,430,392,502,567,405,294,305,662,1176,1124,855,713,708,855,739,707,517,790,739,442,391,458,555,510,735,1148,1424,1692,1614,1250,1444,1488,1160,992,1034,893,620,726,969,1068,1094,722,752,1060,798,810,833,902,1208,1214,1030,829,720,774,629,699,1336,1274,787,689,799,628,472,443,686,810,821,957,955,1116,1528,1450,1252,808,652,787,505,343,324,353,631,1062,1094,680,666,1040,1316,1290,1210,1022,1148,857,739,793,525,366,318,402,344,351,514,799,974,1090,1138,1002,964,617,624,1056,1036,785,753,1070,603,335,346,356,354,298,237,238,310,404,579,996,1234,1696,2344,2164,3596,5108,3370,1576,973,1340,1576,1644,1510,1116,1176,1460,1248,1334,1510,1684,1862,2056,2106,1964,1876,1678,1340,990,774,705,579,507,445,372,368,449,688,1012,1152,819,835,1244,1420,1666,1486,1270,1178,1490,1478,1356,1116,1244,1032,641,554,637,597,618,860,1174,1242,1142,915,773,1330,2308,2046,1378,1234,1410,1426,1388,1364,1710,1466,769,495,356,395,551,451,383,412,441,436,433,419,407,352,374,902,1400,1322,1346,1412,1414,1404,1404,1608,1360,1168,951,915,906,1392,1774,1488,1504,1408,1428,1400,1126,976,963,1410,1234,837,976,1260,1262,1172,1450,1444,1208,1222,1172,1208,1190,1322,1430,1134,1026,899,1046,1504,1348,1176,1166,1296,1376,1338,1468,1384,1284,1402,1400,1362,1312,1446,1168,1138,1308,1210,776,471,449,489,547,476,625,799,689,536,495,599,907,882,767,563,507,793,1108,1264,1056,833,1208,1180,1106,970,868,1003,1128,1048,1166,1152,1160,728,456,478,364,377,550,724,674,545,833,1152,1094,924,629,860,1142,938,1246,1496,1450,1234,1232,1168,966,799,799,1068,966,662,846,1328,1228,1292,1092,1052,1062,1078,1316,1214,1152,1208,1044,969,932,878,1112,1122,1402,1396,1019,733,797,861,1040,1260,1548,1816,1490,1336,910,750,554,369,512,863,1204,1032,557,908,1042,1204,1350,1236,851,776,1168,1330,977,1024,1054,1122,1514,1610,1632,1802,1752,1810,1766,1396,1108,1292,1512,1708,1628,1232,1272,1208,1048,533,545,748,1502,1450,1356,1198,1098,1278,1336,1320,1172,1076,1512,1540,1202,1206,1102,1426,1344,1190,1018,641,354,488,772,1022,1018,1354,1412,1106,1156,922,663,651,966,1046,763,684,736,666,670,773,1104,1206,1010,803,932,1078,1084,864,1132,1270,1064,1066,767,783,550,617,966,1013,1116,990,673,658,819,724,755,908,1038,1042,1062,1040,1110,1230,1114,904,861,772,569,579,974,1256,964,772,868,631,412,357,343,357,383,397,397,395,384,346,373,389,594,498,412,680,760,737,901,1232,1478,1512,1364,1052,1250,1196,823,932,974,956,1060,1204,1306,1504,1588,1522,1264,1204,928,921,769,722,677,1092,1554,1480,996,822,1184,1460,1168,700,569,913,1013,1052,1408,1348,794,378,402,407,378,450,590,724,1058,1340,1676,1532,987,712,625,715,780,623,619,950,1142,1578,1448,1054,1160,1456,1288,965,593,458,558,493,469,825,1078,608,385,680,1364,1334,1060,1232,1240,1108,1118,1030,791,744,1019,1362,1116,1058,1284,1324,1232,790,859,1122,1003,1160,1482,1266,904,724,487,346,369,390,408,468,825,1636,1720,1202,1096,760,935,1272,1166,1144,1190,1434,1340,1164,1170,1382,1688,1526,1266,1154,1454,2072,1856,1042,923,1386,1662,1328,860,950,1048,1086,1318,1390,1628,1502,1286,1066,876,680,615,828,1044,924,764,540,522,562,702,1186,1048,992,1188,919,557,467,464,514,713,900,621,360,342,401,402,352,426,499,444],[1248,1232,1450,1200,984,1162,1312,1042,885,807,427,526,677,606,587,797,1082,810,647,960,1218,1100,899,771,558,555,979,1306,908,822,944,908,790,622,459,426,424,437,418,420,473,529,559,467,416,418,381,346,317,303,307,300,296,279,310,466,568,548,616,841,999,813,815,1142,1284,1176,974,860,871,728,918,1070,880,1058,785,670,958,768,597,825,1166,1274,1288,631,594,980,628,532,997,1646,1790,1592,1446,1392,1302,1080,1188,934,849,785,1056,1034,1114,1398,1030,631,513,552,391,346,403,720,642,580,736,1076,920,786,946,982,864,987,736,621,821,879,605,528,553,543,546,486,557,536,454,631,593,471,405,491,595,709,1066,1086,680,380,297,267,281,307,432,604,965,832,858,880,799,1174,1102,576,310,409,459,638,1024,1250,1072,540,735,930,862,666,370,403,406,444,545,553,1124,1706,829,849,1416,914,709,591,853,677,367,415,429,416,473,838,1098,1178,1046,1064,1326,1048,655,777,1046,1204,1328,1230,1122,1112,1180,894,749,763,630,867,1048,1102,1146,1338,1346,1198,1080,849,975,1064,1120,921,1194,1308,1286,1152,1174,980,863,766,764,937,1042,902,803,943,919,927,855,772,590,448,513,659,801,1086,1216,1284,1296,1218,1158,1122,1034,1136,1206,1228,1024,900,1476,1842,1424,1356,1238,1230,1122,1056,1448,1942,1700,1128,1186,1304,1586,1722,1598,1246,1376,1294,1124,946,960,666,844,1172,1260,1228,1262,1158,1218,957,633,1180,1220,1290,863,739,1114,1260,1212,1190,800,791,1278,1192,1282,1282,1540,1446,1380,1228,1300,1340,1268,1046,1060,1248,1044,863,897,897,1122,912,886,1300,1046,730,788,658,401,453,466,398,466,509,458,464,959,2678,2466,1400,1176,1210,1190,1360,1310,1220,1318,1332,1310,1392,1476,1604,1296,766,1130,1468,1294,1160,999,963,1015,1632,1624,1424,1440,1102,1080,746,886,1646,1860,966,679,886,871,969,1204,1146,1154,1144,986,908,990,1142,1114,1040,1074,859,589,846,1172,1264,1340,1258,1072,1110,955,1007,1068,1013,1044,1068,905,873,537,830,1068,1086,919,810,700,648,737,854,1002,863,1023,1372,1636,1460,1284,1036,990,1234,1134,1174,1660,1714,1440,1144,1104,1256,1192,1346,1256,1274,1176,1262,1206,933,833,998,1128,1136,816,664,915,1272,1064,1386,1448,1324,1192,1170,1188,1240,1310,1160,1052,1472,1648,1618,1626,1548,1446,1094,1160,940,631,745,838,1232,1454,1476,1678,1700,1522,1600,1610,1436,1222,999,807,824,1120,1392,1512,1146,648,797,691,976,816,761,918,918,998,1074,847,971,1066,967,620,634,694,636,605,725,739,769,921,1182,1146,1050,900,688,824,813,1004,1174,1216,1046,688,494,463,553,648,761,1176,656,521,714,804,748,759,936,1054,1120,1164,1078,1076,1124,1014,1144,1506,1672,1224,1164,883,790,891,1038,967,878,932,1152,1162,1142,1232,921,756,863,1054,1500,1384,1130,1028,932,1166,1346,1306,1428,1726,1132,808,861,963,908,973,1036,1080,1096,1118,1272,1362,1264,1256,1428,1044,1262,1498,1470,1648,1786,1626,1836,2120,2038,1808,1548,1414,1318,1186,1144,1266,1368,1748,1948,1806,1540,1280,1310,1400,1476,1100,1032,1028,912,760,956,1148,1136,981,772,702,975,1214,1070,943,957,828,612,607,1230,1462,1282,1224,1226,885,652,611,699,740,1054,1054,1620,1256,1018,1150,1064,659,733,1052,1412,1308,1220,1094,679,565,600,697,910,1196,1476,1372,1140,1134,1015,799,653,891,1104,1032,717,505,476,399,378,731,1092,1328,1280,824,988,1302,1136,1442,1442,1015,810,645,923,1360,1510,867,646,1090,1312,1302,1262,1318,956,943,1064,1346,1318,1316,1140,1036,1024,1266,1462,1240,542,506,838,791,913,926,1136,846,957,1256,985,780,1070,1266,1144,1426,825,861,941,1006,1072,896,783,801,1032,1270,994,821,953,834,973,1024,1118,1118,1238,736,344,420,637,633,337,341,621,808,506,794,937,647,641,568,624,926,880,504,586,989,956,832,1316,1302,1106,1594,1812,1640,1730,1614,955,560,988,1742,1550,1742,1620,1954,1590,1082,1192,1338,1013,1256,1344,1188,1176,897,625,733,938,1470,1490,1456,1384,1642,1674,1324,1230,1240,1268,1378,1318,1294,1250,1344,1284,1288,1358,1350,1110,932,935,932,1046,1023,1160,1368,1344,1384,1186,1202,990,1150,1582,1386,705,425,404,404,484,555,659,905,1038,1002,993,1128,1116,1100,1028,954,1216,1410,1288,1090,764,666,576,678,905,975,1186,1384,1284,1198,1030,1294,1504,1294,1284,1384,1202,946,880,589,433,466,543,611,1034,1554,1626,1510,1148,975,1036,1208,1130,819,725,678,670,727,810,1116,976,866,875,920,960,1034,1218,1300,1224,1194,1362,1580,1664,1660,1692,1730,1350,1002,1324,1430,1334,1312,1182,1192,1130,984,664,730,1120,1148,1190,1046,1094,808,590,1030,952,1082,980,1272,1278,1080,863,572,402,371,357,376,388,444,582,552,770,1430,1376,995,1036,847,768,755,1050,522,418,525,647,749,772,832,882,691,596,832,839,479,467,738,558,427,361,396,507,554,491,308,329,639,713,690,766,1080,769,369,717,1244,1376,1362,1208,899,506,536,620,535,513,455,388,288,288,352,601,622,606,775,680,495,414,309,422,648,516,612,899,974,506,292,318,875,1586,1470,989,659,797,688,456,634,706,877,698,557,558,373,505,880,1252,1386,1346,1376,1206,1204,1248,1204,1472,1096,828,1026,848,984,1124,991,1036,936,927,1038,830,657,688,738,1080,1372,1140,770,415,446,454,756,1034,969,779,873,1204,1094,854,611,652,1064,1068,1030,1062,938,968,774,932,666,494,476,298,276,312,325,391,788,1404,1114,703,877,1278,1342,1256,1310,1356,1208,1372,1354,885,571,508,533,450,386,346,582,971,1152,902,991,1382,971,797,1300,1284,1132,636,803,703,435,420,500,408,265,255,292,329,479,1017,1280,736,1013,1708,1796,2544,3890,2742,1250,703,633,822,1128,1480,1758,1544,1374,947,1252,1628,1852,1958,1960,2072,2052,1876,1844,1736,1422,1262,1132,976,799,553,485,452,410,511,957,1250,1134,1394,1470,1544,1742,1670,1360,1246,1512,1486,1334,1264,1256,1070,636,482,554,620,573,685,1074,1410,953,717,981,1942,2746,2490,1506,1222,1184,1212,1284,1228,1310,968,662,452,319,391,479,491,465,467,460,449,427,408,412,387,389,811,1158,1214,1156,1056,1292,1404,1418,1604,1710,1328,1056,962,968,1346,1722,1488,1428,1578,1448,1386,1188,1260,1064,1404,1120,875,1003,1114,1266,1206,1224,1340,1344,1504,1596,1380,1046,1134,1408,1180,1106,907,792,1068,1174,1204,1282,1378,1378,1490,1526,1216,1284,1344,1364,1310,1148,1122,1254,1384,1390,1334,735,548,548,507,492,588,758,739,813,929,711,655,885,901,890,734,859,1034,1023,1116,1156,1306,1290,944,984,1078,1016,1268,1328,1332,1332,1094,1174,722,429,463,529,505,595,872,759,647,689,935,770,647,523,589,763,750,1450,1942,1526,1156,1126,720,615,931,1212,1654,1364,1246,1034,1282,1156,959,997,858,669,705,677,905,1216,1282,875,701,1028,1170,1222,1268,1382,1466,1274,995,1110,1086,1026,1236,1654,1470,1500,1208,953,852,733,957,1338,1464,1400,1162,1090,1282,877,969,1260,1230,1072,1174,1144,931,946,1312,1376,1532,1488,1478,1440,1548,1570,1502,1570,1568,1546,1670,1880,1708,1466,1370,987,855,1094,883,825,977,1106,1062,1162,1238,1234,1330,1458,1248,1284,1792,1634,1172,1052,891,976,1316,1252,1060,996,1048,604,411,458,737,994,1346,1012,1146,1262,974,504,377,592,908,773,674,809,724,959,1268,1300,1316,1206,916,788,1062,1188,893,974,1098,1074,847,696,988,973,964,1148,1368,1424,1164,767,866,845,634,901,1012,1136,1230,938,818,1010,1032,1104,1194,909,774,752,864,1202,1198,690,626,760,580,387,341,335,333,345,361,373,353,323,306,332,400,509,440,651,719,736,777,816,818,1138,1472,1676,1140,1136,888,878,959,993,1094,1230,1278,1430,1262,1390,1440,1168,1528,1072,1160,1000,837,984,1332,1836,1554,760,706,1062,1216,946,595,456,558,827,891,1114,1590,1214,609,612,441,359,326,518,761,826,1338,2360,1714,1102,1036,918,835,879,914,1166,1208,1148,785,554,771,1230,1222,1242,1300,957,696,631,529,614,1316,1032,494,510,1182,1826,1576,1804,2000,1582,1620,1268,813,850,1042,682,893,634,489,862,1210,913,572,799,1066,1244,1332,1516,1402,832,813,918,826,560,393,411,530,920,1236,1202,1138,1054,763,751,1028,1140,1104,1110,1294,1350,1238,1316,1626,1576,1454,1366,1630,1920,1980,1710,1426,1236,1030,1136,1332,1278,872,785,1019,1070,1242,1366,1392,1094,986,851,739,868,1240,1280,1003,894,604,865,979,849,1186,875,749,724,560,477,485,582,724,980,1128,546,348,301,416,611,521,437,478,414],[458,586,1012,946,839,1312,1278,1026,984,757,598,515,480,443,556,874,1013,747,1018,1492,1028,749,771,677,565,922,1440,1268,966,1090,1106,987,896,666,423,438,441,458,466,497,547,596,597,514,418,341,305,308,313,306,304,293,296,276,319,695,673,520,484,538,527,558,833,1066,976,758,784,823,811,993,1248,1142,915,810,748,695,535,447,698,929,1006,927,1036,633,721,1274,937,806,1254,1254,1216,1514,1264,1042,1198,1136,1274,1148,972,1234,1378,792,603,717,745,926,656,604,692,901,1144,1136,559,421,921,1482,1078,692,981,1106,795,718,718,658,892,1450,966,552,561,520,518,508,583,524,394,404,496,639,639,780,912,894,825,1036,874,410,310,272,283,378,700,966,876,943,836,791,730,816,947,778,521,571,902,872,871,1021,922,632,960,1118,844,480,394,443,448,420,373,469,765,794,511,622,611,446,666,650,735,856,1032,1058,588,841,980,821,1034,1262,1388,1334,1330,1674,1500,1044,680,1172,1422,1218,1108,1086,1376,1228,1300,1326,1276,1074,1130,1066,991,1104,1009,1138,1288,1042,733,889,1086,1024,1128,1300,1354,1274,1044,803,580,555,504,527,531,545,893,1011,898,874,797,705,548,516,692,918,1118,1242,1026,1416,1294,934,1030,931,951,1042,922,865,1046,1124,1196,1428,1380,1242,1174,1204,1094,1144,1228,1876,1826,1326,1292,1238,1492,1554,1352,1258,1220,1130,1148,1192,1306,1154,1206,1500,1474,1226,1194,1240,1372,1268,1114,1222,1278,1432,1200,1098,1250,1210,1154,1170,1052,979,1240,1356,1248,1466,1550,1356,1412,1398,1356,1406,1356,1196,1230,1208,1038,650,796,949,871,538,803,1302,962,570,630,537,423,435,438,409,404,441,546,556,606,1760,1636,805,921,1234,1194,1310,1518,1238,1558,1500,1374,1282,1526,1728,1282,852,1086,1132,1238,1520,1076,1030,904,1140,1342,1282,1042,1072,983,758,928,1256,1386,869,854,822,980,1210,1078,1112,1314,1154,1136,1224,1178,1178,1023,1016,1005,1104,1088,1170,1048,921,1124,1012,1002,1002,852,1048,1120,756,812,877,861,1016,880,671,772,918,943,1194,1230,862,611,556,599,700,1044,1244,1478,1052,1078,1458,1216,1196,1160,1238,1628,1572,1314,1022,1118,1448,1336,1692,1472,1108,1072,1042,1076,1142,1084,1164,1238,1050,932,938,1118,1160,1182,1308,1324,1250,1074,1150,1178,1226,1402,1224,1150,1318,1334,1110,1278,1460,1558,1680,1670,1512,1194,885,1032,1160,1150,1246,1270,1384,1406,1600,1454,1326,1316,1148,1092,1310,1400,1380,1454,1212,1146,1178,884,814,632,819,1126,1021,825,868,507,760,929,815,716,879,810,664,673,658,597,564,763,1144,1236,1336,718,503,562,818,899,971,1144,803,409,554,614,855,820,875,1656,794,507,788,827,742,641,666,852,1082,1200,1340,1318,1144,982,1132,1200,1184,1134,1020,896,828,930,995,1052,1110,1236,1300,1306,1226,1324,1060,891,888,795,700,1034,1610,1520,1178,1262,1340,1260,1164,1472,1100,860,847,899,1068,1230,1200,1266,1196,1114,1082,1216,1256,1003,1458,1494,1386,1360,1422,1626,1566,1730,1588,1578,1682,1678,1300,1162,1356,1220,1104,1290,1306,1300,1388,1592,1462,1216,1188,1322,1222,1148,1148,1116,1074,994,909,983,1018,1040,1112,1158,1256,1324,1162,946,899,823,546,714,1294,1388,1262,1230,1292,965,1005,758,780,931,922,1182,1416,1406,1332,1192,843,658,858,1062,1110,1174,1208,908,735,760,524,446,625,943,1432,1392,1098,1054,1013,926,800,852,1114,1262,954,635,625,566,469,518,911,1460,1258,1104,1128,1052,924,1298,1526,1100,796,1064,1194,1496,1592,1142,1334,1554,1404,1168,1100,1007,811,607,1038,1498,1390,1162,1124,1062,1098,1460,1776,1574,732,557,897,976,754,816,982,967,943,1060,1054,1312,1112,1424,1228,1084,919,1260,1576,1688,1662,1370,975,658,479,525,790,1110,1362,986,1158,1216,1280,1362,1090,695,738,1134,1146,1138,522,489,1048,1102,826,1038,875,475,385,411,554,984,1218,934,789,937,948,938,1068,1112,1322,1600,1804,1754,1638,1428,937,1108,1264,1520,1804,1874,1760,1908,1642,1328,1196,982,824,965,1144,1240,1224,834,810,821,1184,1532,1406,1410,1318,1780,1824,996,1080,1226,1176,1260,1356,1378,1376,1404,1220,1436,1388,1254,1094,1074,1132,1046,877,927,1108,1202,1266,1116,1176,1234,1044,1212,1354,937,570,527,435,436,513,735,747,907,1114,1094,1050,1018,1070,1096,988,990,1158,1446,1490,1274,1003,1028,1192,1232,1560,1218,971,1146,982,984,1188,1512,1768,1706,1232,995,1054,1090,1100,854,696,766,666,775,1248,1344,1086,1496,1400,966,921,927,830,794,969,1013,1052,1052,1246,1704,1118,1026,1019,1092,921,763,861,1042,1168,1170,1278,1566,1744,1642,1550,1650,1248,1196,1196,1080,1318,1466,1214,839,829,805,503,595,825,754,710,651,971,817,694,667,788,1021,1158,1236,1376,971,647,392,435,435,350,390,471,667,1080,897,689,1188,1142,572,494,441,854,845,937,761,872,1082,876,891,839,534,717,653,553,758,785,524,480,568,556,438,419,688,904,872,609,381,400,684,438,454,584,775,533,318,461,913,1266,1164,1228,1068,429,363,384,320,468,470,352,297,359,366,656,656,406,615,957,863,462,337,647,578,457,620,991,944,562,528,677,937,1180,1040,776,973,1216,855,955,1252,909,670,670,649,572,622,1034,1312,1384,1616,1618,1426,1472,1214,711,861,1266,1232,1236,1182,1028,929,1106,993,828,985,1044,1168,1086,877,620,713,1520,1652,1206,708,440,404,388,469,675,782,850,1034,1030,983,1030,756,471,666,731,763,788,551,437,479,606,410,339,415,275,287,344,436,495,764,1010,1186,1052,1116,1118,1222,1318,1384,1476,1412,1262,806,874,1086,1017,801,504,346,410,550,881,892,639,814,975,742,931,1198,1020,744,559,897,822,453,442,472,327,263,308,350,415,589,687,753,729,869,1224,1700,1900,1710,1318,858,652,670,639,630,724,946,1520,1898,1848,1690,1440,1440,1682,1878,2024,1938,1830,1924,1856,1730,1764,1672,1484,1096,752,634,531,430,547,1070,1274,1316,1626,1582,1542,1402,1584,1378,1208,1350,1260,1013,917,1072,1060,825,596,635,813,683,442,517,978,1042,895,1148,1384,1952,2352,1462,1132,1074,1166,1074,869,664,543,597,529,445,466,481,490,481,468,479,462,436,419,421,371,371,724,1106,1256,1234,1158,1228,1138,1226,1360,1660,1354,1238,1100,971,1196,1202,1260,1526,1714,1300,1280,1244,1166,890,1250,1038,969,1156,1144,1242,1206,1378,1556,1276,1366,1542,1392,1164,1224,1318,1098,963,817,1238,2002,1456,1284,1460,1624,1456,1402,1448,1232,1392,1406,1348,1328,1282,1300,1312,1234,1308,1382,838,712,884,1112,821,637,952,949,888,902,929,899,800,915,907,804,890,875,853,968,1094,1288,1278,841,650,923,952,1220,1230,1128,1370,1182,1072,785,542,728,909,904,743,792,1050,937,548,397,417,665,589,542,563,767,1202,1378,1034,799,594,354,297,410,828,1060,1510,1684,1196,1260,1366,1400,1236,895,460,378,415,691,1012,1178,1186,1104,973,1122,1402,1338,1252,1340,1482,1260,1136,1196,1190,1192,1444,1756,1614,1202,910,720,838,1242,1384,1250,1308,1210,1336,1090,1050,1086,984,1090,1356,1354,1086,1044,1064,1240,1476,1576,1604,1688,1040,875,1194,1338,1250,1458,1454,1558,1770,1658,1478,1302,894,1110,1234,1202,1238,1182,1194,932,778,972,1440,1698,1570,1520,1494,1368,1026,1015,1108,1036,1026,1062,1072,819,895,1238,1094,624,472,457,669,901,825,955,1088,738,409,379,522,847,1198,1112,1126,1080,1162,1178,1144,1216,1146,1076,1042,1136,1402,1094,1052,1176,1246,838,667,919,1096,1068,1074,1068,1338,1094,627,598,766,908,951,1070,1140,1274,1152,954,1021,977,1124,1208,797,828,1052,1190,1202,761,414,432,485,430,361,332,339,341,352,355,332,317,310,332,393,555,590,670,706,704,745,763,774,864,1208,1232,1164,1064,892,912,1005,977,1032,1430,1372,931,1007,1430,1720,1676,1326,1534,1498,1720,1528,1732,1996,1570,1560,1512,1278,1034,949,860,874,684,559,662,1156,1212,901,1108,1348,1170,1142,858,558,433,940,1122,1128,2104,2060,1084,1450,1770,1382,1108,1198,1206,1236,1294,1086,962,789,609,711,793,920,1272,1314,1122,930,930,1326,1778,1136,606,943,1654,1638,1364,1332,1266,1896,1890,1204,970,1482,1482,771,738,586,383,888,1222,670,523,481,694,1290,1512,1418,1386,926,969,1382,1438,1050,509,472,893,1324,1138,1070,1432,1036,651,659,850,734,855,1096,1172,1236,1160,1088,1376,1382,950,691,1050,1458,1720,1422,1164,1144,781,766,1294,1005,800,862,1164,1176,944,1246,1288,1142,1262,973,720,798,1090,918,1014,1254,926,1005,1156,757,755,899,774,461,481,474,569,785,1140,1350,1206,709,427,321,311,500,571,422,396,360],[586,736,813,578,680,1152,1016,987,649,539,733,626,479,460,651,933,768,603,830,712,516,523,586,595,924,1448,1528,1106,930,1098,1054,927,778,571,454,480,480,482,502,536,571,616,609,515,374,286,298,298,305,311,319,313,311,290,310,512,542,419,437,511,429,431,542,855,1118,1000,863,707,490,755,1072,926,612,515,853,1200,533,588,1298,1228,644,860,1028,557,592,1144,1388,1228,1162,819,857,1040,872,847,914,1036,1298,1252,972,1312,1498,1152,575,486,468,738,990,946,1082,1130,1110,984,758,804,1204,1360,933,852,951,1090,675,618,981,838,879,1224,837,520,537,526,502,514,539,400,481,484,500,500,724,1001,1346,1388,849,794,880,565,525,433,500,680,641,711,751,861,742,794,702,570,669,602,619,938,1044,597,481,525,724,604,555,673,625,562,513,443,414,349,255,332,589,428,293,276,264,332,491,403,398,714,1078,1064,575,850,813,657,805,1190,1638,1480,1438,1434,1378,1354,1038,1248,1284,1296,1322,1274,1122,1106,1414,1468,1208,1340,1384,1136,1102,957,1174,1434,1434,898,646,706,922,1028,1060,1220,1318,1282,1122,747,397,493,590,575,504,521,780,535,398,529,626,620,596,729,953,1264,1172,1096,908,1254,1232,1042,924,956,1122,1132,1018,849,1122,1202,1122,1136,1268,1354,1216,1124,1108,1086,1172,1142,1134,1218,1286,1440,1626,1366,1244,1168,1108,1094,993,1176,1270,1092,1220,1398,1344,1350,1280,1414,1362,1168,1204,871,785,1009,1160,1180,1202,1084,1144,1324,1584,1340,1286,1452,1204,1356,1538,1606,1500,1544,1606,1244,1222,1352,1348,1194,1202,983,989,1074,1021,791,891,1013,818,703,491,416,513,538,535,488,433,441,477,435,430,603,514,461,553,883,1168,974,1122,966,1088,1244,1050,894,1318,1530,1156,968,1036,769,1194,1488,1426,1262,1200,1200,1072,1072,1156,1232,1192,1098,990,867,1170,931,859,1104,1260,1494,916,703,1005,1170,1176,1192,1158,1015,874,837,984,1114,1490,1770,1468,1476,1422,939,833,976,811,1076,1028,805,1100,1124,1026,1160,1022,519,401,411,442,558,505,358,434,444,558,830,1082,1404,1190,720,1260,1702,1486,1060,1182,1228,1384,1372,1104,1066,1460,1404,1150,1164,985,799,934,709,454,709,1098,1218,1286,1264,1116,1050,1136,1166,1224,1224,1172,1048,1144,1178,1222,1118,1320,1188,1186,1220,995,776,868,995,1208,1392,1484,1526,1590,1594,1550,1366,1334,1114,1100,1076,1082,1264,1412,1422,1262,1076,1158,1114,1266,1360,1458,1358,1406,1434,1186,995,885,610,764,854,581,628,681,865,978,1108,1340,1332,1026,1294,2060,1502,666,680,797,986,1280,1128,639,514,554,831,971,954,1170,883,855,1012,1070,1004,743,1030,1272,785,852,1154,1148,930,715,837,948,1074,916,1042,1274,1158,1202,1278,1180,1230,1120,1058,1044,960,879,923,1094,1009,1256,1222,1154,1070,1070,976,873,947,807,613,1068,1578,1282,1156,1152,1164,1164,1130,1188,1080,957,1064,1178,1198,1272,1362,1384,1200,1180,1294,1538,1422,1058,1056,1144,1454,1904,1566,1466,1216,1328,1338,1382,1500,1656,1108,1076,1332,1228,1268,1260,1242,1116,1318,1324,1234,1226,1274,1622,1434,1300,1208,824,705,865,941,1084,1070,1248,1310,1216,1100,907,821,806,865,846,575,796,1316,1338,1230,1202,1406,1048,1088,910,1070,1272,1238,1454,1620,1806,1910,1506,994,990,1078,1154,1007,795,975,992,842,704,640,741,1114,1192,1450,1274,1132,1102,1116,1504,1326,805,902,1050,854,653,763,868,1060,950,865,1180,951,854,865,757,1015,1228,1500,1294,1120,1280,1208,1364,1516,1432,1464,1576,1516,1334,1170,967,905,1026,1324,1514,1376,1102,1276,1312,1204,1248,1328,1024,563,509,728,935,1194,1126,1284,1296,982,1066,1270,1404,1162,1470,1390,1244,1318,1550,1714,1320,922,1052,1128,899,476,451,678,968,924,639,875,839,686,661,688,719,946,1296,1208,1272,717,519,672,991,1180,1208,788,389,437,440,468,1038,1404,1154,1170,1498,1504,1256,1232,1334,1498,1388,1410,1508,1544,1478,1382,1680,1598,1442,1732,2160,2040,1768,1536,1356,1130,702,415,505,604,667,785,730,806,817,1328,1404,1120,1112,927,1208,1534,1488,1722,1318,1228,1226,1380,1280,1282,1230,1100,1134,1096,1140,1146,1396,1254,1412,1222,1152,950,1074,1168,1098,1224,1396,1548,1404,1194,923,978,956,932,924,722,1094,1028,919,1070,1176,1208,1052,958,866,1064,1068,1132,1504,1570,1176,1058,1250,1208,1224,1480,1136,749,1144,1184,1096,1426,1730,1866,1468,1262,1226,1240,1124,1074,1098,916,888,585,788,1062,866,1192,1730,1698,1302,816,649,844,957,1060,1076,1098,1090,1332,1498,1296,1334,1042,924,921,914,921,1106,1554,1470,1408,1650,1692,1720,1642,1498,1534,1508,1234,1066,1090,1464,1386,1130,1194,915,673,645,962,1102,666,554,937,937,893,822,833,860,1048,1124,1098,1062,603,357,370,449,342,395,598,920,1182,1036,821,1054,1236,563,463,668,1034,1002,835,882,949,882,1032,1202,965,642,484,475,526,568,515,581,601,439,409,462,629,864,1044,995,666,496,387,381,379,420,382,453,345,281,302,563,946,814,765,865,445,280,278,327,612,813,813,840,801,506,540,720,393,463,684,1134,924,577,644,509,521,904,1148,940,722,883,901,796,791,642,653,908,957,1130,1446,1212,626,380,461,525,825,1198,1242,960,1162,1628,1616,1242,1256,1090,655,799,1230,1336,1023,966,1278,1376,1003,1046,1082,1058,1036,1196,1384,1294,894,1000,1284,962,806,752,607,533,553,565,534,628,818,922,991,1094,1122,938,562,530,658,478,503,778,825,607,632,388,294,415,362,280,382,837,1064,950,772,1114,1400,1240,1056,1234,1144,1264,1564,1572,1354,845,1194,1374,1002,683,431,369,614,952,964,583,608,712,485,615,1272,1354,1010,603,513,732,708,515,343,354,357,351,400,432,788,1154,1072,1788,1434,910,1474,1862,1902,1780,1262,772,676,667,635,650,626,663,702,1670,1868,1308,1326,1120,933,1066,1590,1748,1740,1766,1724,1830,1982,1918,1610,1310,1144,838,591,565,656,1068,1250,1494,1700,1628,1456,1342,1496,1282,1006,1136,1124,1114,772,979,1218,1460,1100,1318,1272,1003,781,766,1086,967,877,1056,915,1162,1124,995,922,777,601,572,573,476,452,502,517,509,486,492,470,470,493,494,478,460,435,428,375,390,710,896,1144,1304,1248,1154,1170,1280,1212,1108,1106,1272,1220,1202,1324,1268,1296,1642,1896,1322,899,976,943,1144,1452,1244,1272,1310,1254,1412,1172,1300,1510,1126,1208,1360,1356,1176,1072,1021,891,872,885,1090,1520,1506,1492,1714,1678,1484,1462,1302,1278,1460,1368,1382,1456,1476,1466,1330,1260,1358,1334,973,880,1112,1582,1324,796,1142,1250,1668,1256,915,1168,1144,1122,1021,897,741,812,973,1144,1294,1516,1296,1070,905,890,1184,970,865,1046,1222,1294,1444,1194,963,1172,1148,1190,740,732,1192,935,650,445,499,594,485,463,425,597,674,724,937,1108,605,371,338,387,676,1300,2138,1812,1158,1318,1478,1294,1254,1166,632,345,331,343,621,1058,1492,1550,1160,1228,1400,1234,1414,1590,1482,1454,1422,1398,1300,1376,1670,1696,1484,1356,999,1086,901,1114,1294,1120,1308,1286,1118,932,1058,1024,1094,1220,1130,1068,1104,1364,1076,943,1290,1514,1696,1514,1094,951,930,930,1230,1380,967,976,1386,1548,1612,1420,1015,1212,1254,1218,1228,899,1024,976,812,786,1666,1858,1298,1264,1112,1030,999,1100,1390,1420,796,1024,1250,1228,1080,1250,1370,1092,770,519,440,472,725,1064,775,484,394,376,538,835,917,677,854,938,847,807,1023,1290,1186,1284,1400,1204,1408,1268,1298,1310,1402,1024,779,1128,1262,1228,1386,941,1140,1030,628,387,802,1108,1138,1166,1198,1290,1242,1150,1026,949,1136,1100,1092,1236,1220,1174,783,417,341,321,322,345,345,318,345,365,363,357,343,326,349,376,554,744,853,1015,959,842,755,808,806,1010,1130,996,828,744,876,1054,1092,1062,1262,1946,2068,1406,905,1576,1480,1064,818,1007,1512,1714,1290,1204,1314,1486,1528,1464,1700,1282,1005,818,758,758,723,774,932,971,732,864,1346,1566,1242,1078,995,1019,1108,1092,1102,1276,1384,1378,1352,1184,832,648,1134,1510,1156,1102,1070,1108,865,407,666,965,812,990,1072,918,1030,1246,1382,1282,1264,1128,1344,1564,1158,1198,1118,1566,1982,1138,1023,1356,1560,1522,919,582,683,648,1130,1100,671,623,621,515,783,1034,1528,1720,995,686,990,1376,1392,890,597,1020,1582,1100,861,1324,1240,1007,905,680,526,751,1188,1252,1088,1002,1338,1976,1532,800,405,451,653,1088,1380,1372,1142,1122,1094,1108,1178,1486,1418,1322,1232,967,1094,1208,1092,1100,915,557,504,561,567,886,1174,804,749,804,707,825,1018,1013,538,641,838,881,930,1174,1322,1144,784,536,443,365,375,472,491,387,432],[768,657,455,462,774,1064,1230,1332,982,863,1130,982,505,461,498,544,413,770,987,757,602,497,603,1015,1494,1660,1400,855,796,1070,1104,875,607,450,441,485,499,509,541,570,608,626,547,424,310,271,300,287,318,336,307,298,293,309,340,504,633,431,523,627,429,481,660,1013,1030,709,461,304,234,377,641,674,406,477,910,1222,644,491,727,684,622,937,965,653,583,912,1286,1306,1072,968,798,890,894,806,799,753,1048,1156,877,1038,1208,1064,637,543,552,1032,1338,1242,1110,735,544,660,938,1318,1344,1320,874,669,761,788,901,1118,1422,1284,961,835,673,548,497,503,506,479,504,524,763,741,639,538,780,1054,1526,1624,877,928,1348,772,662,567,686,789,673,864,1404,1452,1128,1046,1015,730,688,557,722,1180,1130,695,509,772,948,648,687,963,663,615,566,386,315,293,259,267,460,425,332,347,321,293,302,246,272,455,634,603,578,750,661,558,359,582,831,1076,1690,1422,1048,1076,1038,1260,1314,1184,1220,1186,863,635,965,1278,1246,1360,1120,836,631,857,1266,1482,1392,912,712,553,633,970,1214,1300,1234,1152,828,511,475,733,1054,1076,769,662,618,426,444,601,884,674,633,902,936,874,858,905,1024,1120,1158,1166,1074,1172,1116,1148,888,801,1036,1023,1072,1118,1174,1268,1208,1248,1306,1212,1184,1104,1270,1380,1290,1440,1538,1264,1098,1126,1238,1144,958,1102,1344,1000,1132,1304,1366,1290,1130,1068,1104,823,393,419,509,501,886,1060,1098,1094,1282,1328,1622,1438,1302,1244,1278,1160,1042,1218,1114,1256,1370,1118,1088,1300,1372,1326,1144,1106,962,1068,1292,984,957,1030,1005,1072,700,476,1300,1026,571,613,653,574,422,327,364,369,367,467,344,556,1328,1202,983,989,842,731,613,703,855,1021,935,830,800,884,1180,1166,1148,1122,1222,1202,1130,1232,1268,1090,1140,1150,808,780,1090,1072,1088,1202,1236,1240,785,556,658,835,794,1096,1280,1004,730,811,933,1122,1926,2104,1678,1498,1284,1220,1054,883,578,763,890,954,1010,1056,1124,1108,758,370,318,346,377,257,331,372,667,615,466,633,919,1320,923,549,679,991,1066,788,612,828,1150,1232,1216,1802,1754,1280,1206,1220,1138,1098,924,504,416,531,937,1202,1338,1238,1154,1162,1116,1050,1144,1284,1210,1156,1300,1274,1184,1154,1206,1174,1154,1014,631,434,540,931,1198,1248,1248,1142,1226,1318,1428,1598,1596,1516,1600,1482,1318,1196,1018,818,680,880,1576,1162,1124,984,808,1022,1286,1236,1236,1178,940,644,706,522,426,896,1130,1046,953,922,1034,1040,952,2188,4916,2862,905,1042,1082,1158,1300,913,567,552,603,854,1256,1266,1326,852,1312,1568,1360,959,782,977,1070,1013,1048,1208,1176,1013,635,1011,1076,882,796,994,1106,1028,1034,1060,1248,1340,1254,1166,1090,1042,1048,977,706,647,954,1150,1130,979,952,937,873,998,1078,861,1001,1290,878,999,1136,1098,1024,1066,1112,983,952,1074,1104,1018,1042,1208,1274,1230,1424,1476,1194,1186,1134,1228,1346,1626,2278,1616,1362,1016,1254,1494,1422,1366,1494,1254,1316,1412,1234,1112,1288,1244,1122,1290,1370,1284,1300,1214,1340,1388,1190,1100,951,816,791,929,1120,1138,1158,1140,1110,1062,1140,1116,842,788,770,601,796,1206,1316,1244,1220,1364,1106,1038,823,829,1156,1466,1470,1282,1496,1602,1382,1354,1404,1380,1284,1154,1118,1322,1344,861,780,953,819,790,731,1158,1250,1260,1202,1700,3748,2574,651,774,1005,962,781,788,1164,1328,1320,1130,1260,1462,993,903,1110,1272,1346,1418,1302,1176,1224,1428,1498,1490,1504,1460,1466,1526,1426,1218,1280,1460,1466,1294,1628,1450,1080,1244,1204,1426,1288,1068,1158,1078,921,807,1226,1848,1424,1654,1636,1250,1290,1282,1168,1160,1226,1007,1168,1354,1272,1496,1422,1504,1476,1468,1362,916,842,883,851,724,527,547,473,424,428,668,553,662,957,878,886,637,453,366,679,1086,1001,659,390,597,597,405,680,998,1216,1420,1622,1494,1126,943,1013,915,812,844,1009,1146,1092,1510,1532,1726,1716,2008,2308,2014,1826,1558,1324,1126,1007,552,605,612,649,692,1152,1578,1526,1432,1330,1282,1234,1098,1114,1354,2490,2078,1412,1196,1264,1362,1360,1340,1294,1222,1062,1194,1310,1186,1272,1306,1318,1320,1288,1130,1102,1040,1023,1152,1228,1228,1168,1360,1130,1060,1122,1154,1005,810,906,985,1062,980,944,1146,1100,1096,1000,1090,1072,1204,1406,1400,1074,985,1174,1282,1224,1190,964,703,1110,1484,1176,1394,1542,1582,1442,1316,1230,1013,891,949,1126,762,480,417,534,942,830,1220,1884,1648,1138,753,680,705,935,1050,1038,1112,1148,1220,1284,1190,1164,938,895,1144,1226,1318,1304,1614,1602,1616,1692,1550,1538,1576,1524,1676,1634,1684,1350,1048,1312,1212,1052,1084,899,747,645,825,1020,695,827,1288,1392,1226,1020,1024,1104,919,1260,1164,937,435,399,644,615,361,343,467,744,782,1078,1074,1026,1046,736,708,1066,1288,821,377,624,911,874,562,533,568,713,930,1011,819,825,611,581,766,680,397,314,431,630,688,591,527,473,475,492,684,623,415,366,331,541,494,345,702,567,380,865,775,379,245,561,915,888,750,782,1078,780,504,730,716,839,465,686,1004,1058,805,453,482,473,422,469,642,832,787,727,815,724,839,841,717,1062,1482,1462,651,327,397,1128,1400,1144,796,747,1032,1254,1368,1156,1058,916,810,757,1188,1548,1198,1276,1510,1532,1016,865,1148,1256,1138,1286,1354,1192,1020,870,866,760,845,947,921,741,561,521,764,1156,933,768,764,760,817,1114,1009,553,478,759,871,888,965,552,561,351,277,386,424,499,1068,1490,1680,1190,1016,841,1058,1250,1052,753,869,1132,1392,1632,1936,1294,1310,1532,1314,1030,777,436,732,1288,972,571,707,1168,1232,1120,1498,1692,1364,873,738,813,905,875,732,536,462,401,449,770,1078,1146,1938,3178,1930,1030,1724,1874,1726,1450,916,690,642,673,695,676,652,623,919,1820,1568,818,1146,1392,1156,921,854,838,1146,1526,1850,2052,2074,1892,1496,1346,1266,838,551,565,702,807,993,1430,1620,1686,1418,1086,1272,1470,1158,912,1080,1172,869,1214,1262,1266,1098,961,1090,1358,1166,760,825,822,1076,1192,1134,949,692,582,470,326,280,387,524,547,571,564,527,514,488,483,476,469,477,488,490,466,440,430,368,329,709,1124,1218,1266,1266,1204,1296,1294,1222,1166,1152,1206,1226,1268,1334,1456,1332,1746,1868,1452,1064,1128,1186,1292,1282,1176,1250,1236,1212,1252,1254,1298,1310,1096,1038,1222,1254,1048,962,948,878,902,961,1008,1344,1792,1510,1428,1490,1258,1086,1032,1104,1092,1162,1504,1476,1396,1384,1260,1350,1456,1310,954,838,966,1360,1486,1194,1112,1038,1568,1248,961,1001,1296,1328,1056,733,838,1148,1034,1023,1070,1516,1614,1376,888,881,1058,713,942,1310,1238,1084,902,954,1018,1214,1380,1274,993,965,1106,924,778,653,747,1003,883,944,1108,778,536,548,1000,1124,661,419,391,532,819,1214,1650,1336,1030,1334,1328,1168,1142,1064,797,568,370,433,899,1274,1324,1354,1206,1464,1310,998,1276,1736,1646,1426,1332,1366,1396,1334,1470,1136,1112,1478,1444,1294,844,921,1011,1242,1284,1204,1218,1244,1017,987,1312,1288,1052,911,938,1278,1344,1384,1476,1638,1542,1270,1318,1252,1034,1007,1322,1066,852,865,845,1002,1288,1544,1524,1388,1244,1322,1282,1088,1005,1108,880,967,1126,902,919,1070,1102,1208,1146,1156,1126,1028,1126,1378,1490,1448,1042,1180,1310,1314,1324,916,537,601,987,717,495,706,569,451,725,1030,761,501,404,352,422,593,854,1178,1168,1164,1450,1538,1534,1538,1628,1456,1250,1180,1056,1018,1090,1310,1262,1068,1256,1170,857,621,767,1094,1132,1062,1132,861,554,768,964,884,1186,1232,1224,1164,1172,768,374,346,341,318,320,335,318,320,340,345,340,343,344,359,392,387,473,610,797,1202,1696,1428,1114,810,977,1174,996,890,725,836,1038,1078,1084,1128,1434,2254,2618,2102,1268,946,780,675,714,779,992,1188,1364,1342,1168,1280,1460,1504,1930,1622,1326,1030,668,619,733,753,819,819,884,1118,1382,1466,963,924,1112,1060,922,890,935,1224,1454,1452,1190,756,623,530,957,955,904,1080,851,851,818,705,946,1102,1140,1150,830,599,907,1414,1316,1042,1274,1332,1462,1132,743,976,796,1358,1190,689,1292,1704,1554,1368,1034,1184,1384,1096,1368,1250,812,767,965,998,988,1208,1602,1330,753,875,871,1204,1094,1084,860,662,916,885,1086,1388,1506,1338,836,784,668,946,1450,1438,1180,1110,1052,1036,1070,757,428,405,372,431,856,1348,1400,1616,1298,1174,1580,1752,1576,1438,1472,1200,1090,1164,1228,1268,1152,685,502,533,590,572,647,576,597,832,955,1252,1430,1230,688,637,825,1076,1088,1012,982,769,548,595,464,408,411,475,591,437,502],[536,318,363,803,1042,1528,1698,1356,1110,1082,1412,1072,531,443,482,534,875,1778,1420,847,632,650,1082,1534,1602,1546,1098,626,557,727,987,962,622,448,454,465,493,514,530,536,521,451,350,309,294,285,289,286,355,372,306,295,291,292,349,498,460,408,587,608,485,639,861,1036,785,523,398,342,292,335,472,700,677,709,809,1210,875,373,346,444,617,703,645,449,530,619,1018,1596,1018,1086,893,791,726,462,345,474,857,1242,1056,1250,1416,1138,781,634,873,1326,1360,1308,1234,864,570,844,995,1260,1188,1260,664,457,442,387,1064,1638,1512,1266,886,928,758,594,536,514,535,526,608,691,1080,1218,887,753,819,1106,1290,1260,860,894,1013,780,589,584,641,608,882,1424,1574,1866,1720,1094,991,754,662,1002,988,980,1066,778,678,694,540,472,767,1040,639,565,569,430,358,387,446,383,360,341,276,287,285,307,273,311,325,349,352,322,456,777,933,721,322,299,254,366,599,1024,936,797,856,1210,1276,844,659,919,1072,856,714,978,1182,1190,1328,1078,855,1032,1048,1080,802,691,780,522,433,650,1176,1332,1200,904,505,390,526,800,1068,1096,754,540,478,410,455,577,1026,949,898,1001,935,938,965,924,1004,814,954,1224,1144,1064,1078,1278,921,912,1224,1218,1188,1256,1160,971,857,976,1188,1270,1214,1170,1396,1626,1432,1592,1466,1222,1636,1880,1162,1162,1092,1116,992,708,1140,1158,1178,1100,936,970,1048,880,630,652,603,641,1062,1220,1208,1162,1348,1104,1282,1240,874,932,1166,1050,847,972,997,1042,1258,1186,1180,1174,1262,1376,1286,1102,986,1194,1164,1122,1112,1202,1488,1714,1011,428,938,844,680,681,532,350,331,348,332,309,475,648,490,598,1334,1488,1356,1182,1274,1052,951,1104,1024,1130,622,411,655,738,590,765,963,1208,1246,1082,1356,1422,849,778,1023,1114,1136,974,1028,1112,1208,1090,996,780,556,470,393,544,821,1202,1268,1170,1490,2104,1990,1340,1654,1470,1300,1300,1276,1492,1464,860,485,763,1034,1028,1046,1028,927,943,767,392,259,325,302,250,302,459,1007,907,619,516,863,1260,816,419,550,1062,1354,1278,829,1038,1290,1202,1270,1720,1694,1560,1504,1122,918,1176,724,510,425,412,876,1294,1448,1324,1164,1098,1192,1294,1150,1210,1046,923,1272,1474,1162,1138,1390,1406,1016,799,512,499,503,804,909,1256,1252,1206,1198,1252,1144,1112,1284,1452,1482,1576,1746,1692,1634,1576,1228,1256,1304,926,825,647,520,637,780,1052,1216,1004,993,988,924,809,764,901,1206,1194,752,532,618,597,719,2526,4792,1954,667,697,818,1156,1264,1054,836,643,659,802,1116,981,1162,1092,1092,1104,856,724,796,766,772,799,857,800,911,763,667,907,939,744,959,1048,989,1182,1192,971,1094,1146,1132,1158,1140,1152,1178,1040,745,682,922,1138,1226,1266,1160,1080,999,1024,1116,908,828,899,837,989,1162,1136,992,1090,968,1106,1028,1328,1230,1058,891,1050,1220,1136,1326,1282,1130,1242,1176,1326,1234,998,1290,1422,1294,1038,1168,1320,1198,1366,1608,1362,1324,1370,1248,1188,1254,1100,1082,1300,1396,1186,1242,1188,1228,1272,1100,1008,991,965,941,943,976,1086,1126,1198,1298,1294,1316,1224,882,794,689,566,836,1178,1394,1292,1232,1308,1138,967,942,1012,1188,1376,1286,1452,1576,1540,1492,1322,1316,1368,1346,1320,1354,1620,1440,846,1076,1182,794,552,846,1088,1208,1288,1486,3418,4672,2642,1444,1820,1448,1158,1062,906,1172,1302,1462,1190,1014,1202,1160,1138,1092,1108,1316,1778,1726,1584,1686,1578,1334,1290,1322,1136,1064,1316,1390,1274,1118,1220,1116,1156,1350,823,590,719,854,1044,938,1013,1022,769,1036,1388,1528,1620,1520,1578,1368,1366,1456,1328,1120,1290,1356,1068,1084,1332,1438,1744,1482,1428,1200,1448,1416,1186,1152,934,880,866,916,1212,1002,559,543,658,415,385,494,418,409,438,511,628,824,936,728,524,426,771,849,942,1286,1044,1124,1418,1186,1188,1068,728,835,822,630,623,709,623,864,1060,1106,1376,1360,1634,1880,1774,1490,1092,760,725,828,824,879,781,667,840,1428,1964,1660,1410,1284,1312,1350,1272,1070,1172,1556,1386,1248,1188,1190,1340,1360,1246,1338,1298,1160,1282,1372,1238,1316,1410,1268,1246,1254,1250,1422,1372,1088,1038,1118,1040,1066,1126,845,796,1132,1019,608,636,899,1064,1176,1050,1092,1278,1274,1304,1170,957,1030,1262,1308,1102,1066,1138,1002,1008,962,882,850,825,1146,1434,1464,1530,1636,1716,1454,1272,1134,823,785,767,836,684,480,373,918,1982,1540,1200,1808,1162,645,592,839,1003,1050,692,741,1118,1298,1390,1390,1220,1120,987,946,1190,1384,1568,1480,1550,2008,1802,1490,1294,1400,1594,1720,1660,1602,1382,988,1360,1202,1034,1336,1478,1078,648,1044,1158,660,669,1146,1476,1562,1120,824,591,753,973,1020,883,520,402,641,811,576,602,515,553,489,409,755,962,991,1016,787,523,904,1202,752,376,459,759,1096,860,795,655,758,776,697,1050,1288,1200,1116,1110,921,504,261,367,509,392,307,395,474,581,551,498,542,661,600,404,509,396,336,821,856,609,1062,1044,485,319,483,717,604,440,411,821,867,567,520,633,528,412,485,666,1094,1276,946,683,436,432,466,648,934,1122,1162,1060,1042,1072,738,505,794,932,794,688,780,763,755,727,814,756,1072,1404,1504,1346,1050,1124,1013,1028,1046,836,938,1150,1042,854,710,669,857,1058,1312,1320,1354,1238,832,885,840,893,936,855,849,930,778,700,633,1056,868,628,658,1120,1398,891,921,950,617,799,1362,1376,672,672,798,904,560,277,328,405,652,1288,1372,1284,1192,661,440,719,1040,1226,1104,1168,1100,1216,1224,966,1138,1462,1750,1736,1368,1182,946,963,1104,681,694,1096,1510,1764,1830,1886,1886,1582,1158,1058,1250,1078,1340,1260,758,612,550,887,1210,1252,1136,1802,2132,971,1620,2218,1844,1562,1498,1210,797,659,642,667,666,659,611,1240,2678,1636,758,1110,1472,1644,1412,1011,682,791,1036,1290,1602,1730,1730,1304,1078,1010,688,429,418,516,553,816,1152,1088,885,866,993,1366,1550,805,464,760,795,804,1168,1108,993,1058,1084,1404,1426,1166,924,989,1188,1250,1334,1358,984,626,440,273,282,391,491,548,580,598,567,538,527,511,496,480,464,458,478,482,478,460,441,392,433,808,1142,1114,1126,1168,1236,1280,1226,1302,1262,1200,1058,1248,1388,1576,1636,1566,1698,1842,1708,1336,1090,1186,1186,1021,1096,937,1072,1078,1054,955,905,1160,1228,1126,1192,1220,1132,1086,1214,1040,882,872,921,1140,1116,843,1058,1228,1138,1108,1116,1166,1140,1282,1324,1402,1368,1234,1296,1470,1524,1368,1096,935,824,954,1704,1804,1238,1170,1280,1118,1064,1176,1368,1430,1170,902,1116,1356,1394,931,1108,1182,1468,1292,799,954,852,460,708,1072,1274,995,607,960,1058,1030,1130,785,764,1001,1236,1174,902,684,806,943,1084,1712,2232,1908,1342,872,855,735,575,484,438,505,670,774,854,814,851,1222,1340,1128,1166,1058,905,1038,691,748,1130,1206,1304,1202,1292,1168,935,665,1044,1444,1312,993,908,968,987,725,753,745,1098,1604,1674,1110,1016,1026,1096,1240,829,871,1412,1360,1312,1360,1272,1422,1186,844,969,1034,1004,1174,1410,1362,919,1072,1290,1160,783,1108,1190,1134,1084,1040,996,887,767,1013,1388,1650,1496,1330,904,874,887,1036,700,647,761,781,849,906,825,995,1238,1082,1208,1156,1218,1064,1208,1246,1190,1410,1436,1364,1448,1272,960,918,678,402,485,877,774,506,875,1164,871,533,370,398,658,1116,852,741,832,698,680,1166,1472,1474,1450,1274,1162,1234,1394,1532,1444,1122,889,929,1078,969,981,962,1148,1460,1370,1128,1232,1030,763,984,1015,841,1010,1266,1152,1212,1152,628,439,352,324,294,280,288,288,273,334,330,307,326,365,392,367,373,354,443,603,849,1200,1584,1462,1136,1342,1384,1268,960,641,967,1094,1110,1084,1208,1500,2146,2174,1996,1476,944,766,704,703,664,599,684,1244,1674,1482,1388,1466,1760,2038,1802,1616,1290,634,536,741,844,860,918,964,957,1094,984,764,949,830,529,460,719,891,1136,1362,1418,1286,1110,970,776,676,423,435,724,812,680,933,1124,1370,1226,988,1028,974,788,883,1124,1174,1162,1216,1152,1110,788,1021,886,881,1090,693,520,916,1350,1236,880,956,1508,1246,1224,1348,1502,1128,581,541,712,741,794,799,802,689,734,1098,1214,1048,1090,1066,808,764,998,1478,1626,1480,907,842,1676,1188,1186,1422,1272,1338,1448,1078,747,747,539,440,397,339,384,533,1172,1376,1426,1246,1442,1942,2142,1974,1610,1394,1368,1312,1156,1368,1504,1224,736,507,644,653,447,392,514,904,1604,1478,1322,949,890,864,930,1086,1444,1546,1280,1300,1164,665,691,440,379,397,444,602,650,617],[352,339,375,656,855,1222,1046,758,824,774,745,527,641,656,935,910,1216,2110,1788,811,620,1028,1488,1518,1360,1158,724,523,512,564,626,709,543,436,435,418,409,391,372,370,394,345,295,296,310,307,300,313,367,363,285,289,282,275,305,399,422,432,447,533,508,457,635,727,584,444,356,406,356,335,376,634,799,571,659,1290,975,376,369,450,660,599,524,369,399,511,943,1312,1110,947,874,1230,1520,774,408,490,639,1072,1320,1390,1118,1290,1002,814,1108,1198,975,845,1182,1190,1124,891,918,1356,1286,999,624,585,607,579,835,1208,1052,862,774,1140,868,675,610,561,530,693,759,909,1632,1636,1074,1184,1262,1226,890,756,668,673,812,615,422,482,569,619,816,1266,1526,1942,1404,984,1094,941,769,1236,1140,1210,1192,954,945,756,643,521,509,521,432,470,540,483,354,556,835,671,397,284,262,284,279,306,315,289,315,335,340,341,483,750,964,759,369,334,403,392,298,423,551,724,1008,1334,1288,869,574,730,1130,1454,1084,1009,1260,1260,1310,1204,1110,952,917,909,813,902,716,495,441,465,660,1010,872,527,368,480,676,722,741,877,921,525,449,449,455,405,749,996,1078,1110,1124,1122,833,723,634,469,716,1116,1104,970,891,933,953,1092,1440,1600,1126,1208,1104,952,1136,1140,1130,1342,1328,1316,1354,1320,1374,1608,1508,1278,1318,1448,1146,1050,996,983,963,791,1024,1194,1350,1236,1108,1206,1150,1112,1032,960,949,875,1440,1382,1176,1186,1098,1082,1316,1108,666,761,882,920,686,951,1248,1204,1300,1388,1344,1300,1314,1260,1108,934,964,1194,1070,1338,1274,998,1094,989,766,637,519,587,721,549,545,348,419,410,318,272,606,938,816,1044,1518,1930,1920,1262,1422,1332,1234,1114,1190,1050,580,517,761,962,1160,1108,1214,1288,1228,1100,1342,1382,739,431,499,799,1262,884,578,974,1086,1086,1028,651,515,431,412,372,559,1002,1108,1222,1694,3200,3572,2022,1506,1346,1332,1354,1422,1356,1200,738,570,824,987,1042,1186,1302,1026,926,752,376,306,310,375,420,403,667,913,824,684,820,1154,1448,1112,758,474,878,1356,1202,1226,1264,1274,1170,1150,1156,1330,1448,1522,1264,1001,869,524,464,435,571,1007,1326,1252,1210,1192,1098,1202,1178,1126,1172,1080,945,1680,1726,1008,1040,1396,1302,972,1015,771,570,586,661,955,1226,1238,1138,1021,871,733,725,1084,1350,1284,1290,1274,1548,1712,1654,1654,1642,1522,1334,1009,974,1192,1106,1098,1292,1286,1142,1140,1009,822,995,1182,1040,1204,1220,675,519,991,1014,1023,1338,1366,882,625,444,477,661,793,1004,1214,948,722,965,850,615,760,849,761,683,545,673,829,1028,1008,945,838,739,731,667,788,1016,884,921,1216,1170,1174,1240,1254,1134,980,1007,1080,1168,1168,1132,1010,1003,1086,1186,1248,1306,1170,1316,1216,1190,1018,1046,1023,976,957,880,899,1050,1172,1158,1072,1310,1052,1174,1054,1370,1456,1200,1054,1068,1128,1252,1166,1184,1296,1116,1084,1424,1582,1156,1316,1368,1166,948,870,1128,1306,1384,1538,1316,1208,1252,1204,1188,1084,1152,1260,1336,1168,1110,1250,1210,1144,1092,1112,1056,1074,1056,1098,1086,1034,1106,1196,1242,1104,1230,1164,1114,817,702,653,625,985,1200,1158,1080,1156,1200,987,886,1080,1260,1290,1424,1190,1340,1492,1504,1316,1234,1346,1452,1254,814,858,1354,1410,1272,1528,1420,756,910,1232,1156,1176,1258,2442,4828,4284,3438,3916,4620,4176,2240,1272,1028,920,1052,1386,1216,936,954,1476,1590,1258,1352,1790,1812,1584,1478,1422,1344,1120,1036,1080,1011,1144,1402,1186,865,630,1192,1208,1560,1620,1012,800,810,990,1160,903,699,653,977,1444,1112,1204,1076,896,736,656,896,1040,1196,1360,1168,1074,1258,1330,1376,1638,1740,1274,879,1052,1312,1244,1174,876,530,937,1308,1112,1562,1680,1160,796,697,477,548,719,638,505,512,704,891,760,601,710,521,348,311,715,978,1036,899,1300,1418,1122,1202,985,924,1212,794,627,467,545,692,678,712,738,753,1072,1290,1340,1518,1206,1100,668,743,894,1114,1224,1002,737,867,1234,1766,1440,1300,1392,1502,1472,1256,1186,1230,1202,1132,1074,1158,1340,1416,1330,1300,1278,1360,1902,2134,1654,1116,1046,1104,1290,1332,1246,1292,1322,1396,1136,1120,977,983,1030,963,820,777,1070,944,632,694,1118,951,1050,1416,1340,1296,1230,1164,1092,1042,1030,1080,1146,1152,1202,990,886,1004,1172,1220,1174,1002,931,1162,1266,1312,1548,1638,1412,1310,1234,1072,1048,1108,833,750,626,283,894,1742,1382,653,765,437,473,436,764,1142,1180,806,768,932,1130,1376,1460,1202,968,969,1120,1288,1686,1778,1892,1776,1876,1718,1380,1436,1650,1736,1830,1668,1586,1152,1338,1260,1078,1088,1296,1466,1054,882,1072,831,788,955,937,1278,1340,1066,675,755,713,638,919,1112,912,646,838,856,666,907,750,674,404,325,426,680,928,945,825,760,982,1154,1202,778,539,603,985,1296,1410,1090,1278,1356,1001,1074,1260,1258,830,817,824,474,292,517,833,588,296,278,358,433,301,370,564,754,609,381,292,336,422,748,1030,1252,1516,1182,778,431,367,379,295,340,383,849,738,442,388,426,437,529,619,968,929,1148,1470,1460,1094,735,602,612,824,1030,1060,1062,1023,782,402,365,661,804,987,1230,1152,868,505,634,939,1076,1304,1294,1364,951,676,944,986,1486,1432,865,730,651,334,303,345,463,669,779,1082,1284,1390,1188,1076,1120,1028,939,810,513,529,819,1072,1236,1096,1036,602,401,523,929,1186,872,509,545,586,663,975,1132,853,1122,1516,1670,903,458,404,448,537,1007,1456,1388,963,481,527,657,613,786,1198,1130,869,850,894,1238,1482,1466,1606,1228,1006,1184,1236,1114,658,505,801,1366,1508,1424,1588,1776,1578,1130,587,860,1412,1174,1130,825,905,987,1130,1192,1090,1344,1242,1304,1528,1288,1972,2112,1866,1660,1876,1624,1104,919,748,660,606,662,716,1994,3270,1538,765,1002,1344,1564,1236,731,707,818,894,1060,966,993,1100,1150,1118,1044,642,397,464,504,475,648,849,656,520,505,822,1334,1488,780,391,440,414,466,700,808,949,1128,1214,1208,1108,917,1032,877,824,880,874,808,727,497,423,398,425,526,595,582,612,622,576,554,535,519,501,474,449,448,473,465,472,469,459,445,712,919,835,840,1024,1228,1278,1224,1274,1372,1214,1134,1222,1278,1224,1226,1054,923,1312,1714,1788,1418,1142,1140,1208,1060,923,910,1154,1070,929,827,909,1126,1286,1324,1258,1086,1102,1116,1096,965,847,877,847,869,996,1064,1188,1226,1214,1232,1260,1186,1282,1334,1450,1368,1214,1344,1460,1362,1282,1372,1046,768,765,1092,1714,1644,1548,1404,1230,1372,1396,1122,1200,1260,1166,1130,1178,1330,1440,1172,1182,1378,1512,1170,837,957,780,443,410,471,985,1102,1152,1360,1290,1180,1058,794,663,718,1210,1364,995,712,637,751,858,1274,1646,1838,1494,1048,901,924,1042,568,487,692,833,901,1076,1206,1266,1306,1484,1328,1268,1064,630,673,882,1058,1040,1144,1009,1138,1404,929,551,697,922,1058,1206,846,824,863,604,434,461,814,1228,1528,1726,1534,1336,1216,1182,1180,1094,904,1170,940,1005,1188,1080,1076,942,772,772,980,1022,1084,1354,993,553,807,1166,1146,726,715,1009,1202,1210,1312,1362,1148,741,664,943,1248,1472,1490,1212,1158,1196,1196,1052,796,910,1260,1106,1314,1110,1098,1560,1136,1222,1318,1042,819,1054,1300,1318,1316,1410,1392,1390,1362,1170,990,625,503,487,623,782,739,796,1001,1010,536,620,659,792,1230,1026,866,828,631,705,1192,1322,1078,807,901,966,1256,1428,1416,1202,1100,1058,1244,1170,927,990,1008,1264,1682,1526,1304,964,974,1140,1064,910,908,1007,1134,1036,1132,1138,958,828,462,327,291,276,284,297,321,352,346,350,386,445,439,416,405,410,442,490,568,720,1034,1204,1064,904,1178,1554,883,879,1062,1100,1120,1246,1510,1830,1888,1780,1804,1690,1316,974,836,618,582,737,639,780,1240,1534,1650,1622,1568,1494,1372,1278,1348,765,860,863,943,1020,879,771,724,756,595,590,792,895,587,476,805,965,1070,1258,1322,1288,1082,872,787,751,560,672,1324,951,481,603,1100,1500,1284,821,700,922,1042,878,916,1140,1758,1274,1128,1062,855,1158,1050,813,751,866,984,1216,1506,1360,865,673,857,892,781,760,963,935,660,488,455,585,758,819,808,902,1028,923,1172,1418,1236,991,1072,958,713,1154,1186,986,943,1544,1768,1518,1376,1350,1126,1142,1284,987,875,935,543,444,417,399,409,771,1028,675,791,954,1110,1600,1748,1896,1684,1156,986,1042,937,1300,1504,1182,962,832,932,1078,973,688,658,844,1272,1372,1262,963,905,1100,1418,1416,1482,1516,1494,1338,1230,997,1140,695,400,392,445,732,944,688],[556,527,585,557,596,536,354,413,569,819,879,859,1078,875,678,946,1106,1170,1002,591,910,1520,1548,1400,1226,749,571,515,486,465,476,486,427,372,338,326,343,319,303,303,331,317,297,280,279,290,313,342,370,394,335,303,289,266,292,332,359,346,370,451,455,519,677,630,517,505,544,663,530,391,346,601,899,863,802,738,552,397,398,445,714,468,415,348,287,456,867,1090,749,619,792,1112,1332,764,521,581,785,1118,1386,1005,492,741,871,709,717,756,636,754,1384,1158,1001,990,1158,1550,1654,1128,870,854,808,845,918,1072,987,721,612,1022,988,772,598,544,536,774,982,927,1206,1416,941,1170,871,593,780,1128,1222,950,723,381,346,586,650,360,577,995,932,902,913,876,955,904,837,777,905,1326,849,762,830,676,529,634,581,651,656,500,539,525,350,575,1044,996,457,285,303,355,365,280,274,277,279,354,479,549,662,808,1038,730,401,409,363,378,368,623,776,769,1032,1076,946,879,655,866,1218,1524,1216,1136,1156,1015,994,1226,1296,1016,899,985,1120,1202,817,579,588,617,525,580,476,355,441,641,647,583,586,929,1440,764,396,425,512,449,529,897,1088,944,1064,929,735,775,528,477,578,1016,1250,946,634,799,1128,1110,1062,1224,1120,1252,1234,1304,1338,1190,1124,1422,1440,1170,984,1038,1244,1584,1362,1296,1170,1450,1226,1094,1066,1274,1188,660,537,872,1146,1152,993,1110,1160,1158,1288,1280,1232,1214,1498,1338,1202,1294,1182,1272,1440,1142,888,902,938,987,819,713,1006,1160,1570,2070,1548,1398,1274,1286,1258,1028,858,846,989,1094,1050,1052,1162,992,818,872,683,548,415,436,678,628,708,612,379,405,677,869,1013,1274,1556,1650,1498,1506,1280,1196,1224,1258,1352,1162,819,596,553,1208,1616,976,1162,1086,978,990,1070,959,744,637,495,611,880,597,388,463,723,1072,934,677,411,348,487,448,594,939,1146,1120,1472,2602,2922,1462,999,1044,995,1054,1120,1132,1024,800,669,663,994,900,888,932,985,812,554,305,273,250,478,630,610,644,764,620,780,1126,1090,1154,933,938,603,803,820,1090,1336,1246,1318,1278,1172,1260,1512,1178,1036,1004,1274,1218,767,625,818,898,1080,1188,1218,1234,1210,1228,1222,1198,1252,1156,1088,1104,1372,1256,817,1078,1644,1372,1314,1312,1180,891,956,911,940,1192,1258,1076,984,1030,894,708,1005,1206,1408,1648,1410,1584,1708,1406,1314,1450,1532,1588,1618,1720,1824,1628,1280,1132,1082,1266,1228,1092,1212,1316,1410,1146,1406,1340,878,808,828,1278,1588,1348,1012,676,621,552,485,530,583,984,1384,1538,1214,1050,1007,954,1032,931,686,509,490,733,1026,1352,1340,1206,1005,872,810,841,800,771,869,1074,1230,1178,1040,868,1146,1050,981,1018,1012,1148,1298,1122,863,858,802,1130,1238,1274,1212,1362,1404,1328,1198,1080,1068,1194,1150,960,1004,1106,1102,1140,1282,1328,1204,1282,1224,1372,1582,1380,1064,1222,1256,1208,980,915,1092,1050,1014,1406,1438,1072,1102,1184,1160,1124,1188,1286,1336,1412,1558,1252,1250,1246,1298,1322,1204,1086,1080,1050,1166,1206,1120,1096,1174,1248,1148,1038,1130,1184,1266,1138,1144,1018,1002,1104,1024,1352,1040,999,785,633,609,717,996,1164,1150,1022,1028,1276,1136,1288,1348,1338,1386,1344,1422,1430,1382,1260,1086,1130,1390,1466,1208,700,901,1414,1356,1126,1054,853,666,914,1220,1436,1316,1644,3654,4552,3256,4432,5708,5812,5780,4800,2844,1462,1112,1004,998,1294,1286,1078,1450,1576,1660,1506,1396,1338,1312,1268,1288,1320,1178,1010,980,1120,1366,1490,1262,1022,868,1278,1150,1270,1380,879,753,1158,959,719,738,1166,783,935,1490,1354,1378,1238,978,725,547,535,692,1378,1484,1100,1256,1094,749,998,1346,1438,1450,1560,1492,1512,1584,1280,1068,930,1078,1226,1080,1260,1660,1560,1170,761,421,672,988,935,710,705,710,854,965,760,650,517,413,529,947,1236,1122,944,1236,935,990,976,1034,991,1296,1380,1344,793,766,930,1028,1106,593,488,1052,1764,2328,2072,1604,1400,1001,884,1086,1296,1434,1116,870,1428,1434,1388,1410,1394,1444,1468,1442,1194,1126,1366,1366,1238,1218,1204,1302,1192,1058,1030,1068,1136,1642,2120,1594,1072,1136,1134,1372,1324,1164,1246,1506,1620,1158,1110,1202,1214,1078,1074,927,825,793,666,660,643,1066,861,998,1288,1266,1234,1126,1078,1050,1108,1046,833,931,1426,1250,745,838,1166,1250,1192,1282,1208,1072,1170,801,1058,1244,1252,1300,1488,1282,1052,1158,1490,1300,1013,757,556,718,940,877,430,345,416,894,554,400,630,899,1072,1088,1170,1192,1200,1142,1021,1100,1198,1464,1398,1538,1888,1964,1888,1868,1552,1424,1550,1668,1672,1466,1642,1632,1618,1574,1090,853,797,1034,1296,909,949,608,520,545,800,665,921,1216,1184,737,920,1192,947,711,922,1030,1022,1044,1011,1078,1192,1138,848,601,814,1032,1068,1136,1088,772,933,871,1102,1011,772,828,1148,1362,1412,1160,849,904,973,1260,1782,1160,1068,767,589,515,460,455,486,677,622,442,465,544,591,506,651,802,649,462,305,231,322,389,537,630,868,1376,1300,1224,783,705,483,339,319,321,532,529,501,537,447,402,522,712,1246,940,1262,1764,1836,1520,1462,1278,915,625,694,957,918,657,734,667,673,990,1260,1282,818,493,529,553,440,663,906,897,973,877,694,603,848,1302,1438,1146,1072,1064,561,382,496,508,504,608,599,691,1012,1046,1208,1458,1428,1344,1036,670,377,348,395,683,1130,897,680,578,395,513,782,906,799,624,1072,868,453,286,980,1050,1416,1498,1386,907,570,512,634,677,1064,1052,907,794,532,540,732,455,390,823,1124,1214,1286,1632,1806,1422,1324,1604,1308,1378,1612,1340,1274,1007,670,964,1354,1094,929,1206,1340,1106,1074,830,1040,1348,1404,1412,1276,1168,1186,1256,1182,1204,1382,1204,1214,1148,1366,2092,2068,1998,2018,2010,1650,1498,1518,1258,1001,1056,825,991,2776,2740,1296,832,1005,1246,1374,1044,706,695,689,796,885,992,1012,943,918,877,959,692,492,491,501,538,801,885,530,453,477,697,985,1202,777,393,359,332,498,664,495,563,649,749,887,872,667,769,663,412,532,643,560,560,597,581,561,551,566,589,590,620,625,613,604,541,522,493,475,452,451,473,463,445,441,441,512,808,893,752,835,960,1100,1074,942,1066,1148,1120,1080,1286,1396,1068,907,1132,1258,1558,1594,1714,1572,1462,1150,1054,946,927,1152,1292,1152,1038,1100,1354,1436,1306,1282,1094,886,750,797,946,949,863,979,943,890,961,1048,1216,1278,1214,1362,1388,1166,1342,1532,1390,1152,1160,1234,1236,1290,1488,1410,995,827,1118,1374,1500,1602,1414,1248,1346,1424,1392,1158,1196,1132,1038,886,805,1326,1606,1026,657,957,1328,946,901,983,753,449,386,352,684,1102,1274,1108,946,1206,1306,973,990,757,852,919,835,663,648,792,860,839,930,1014,744,868,944,1180,1326,1038,794,944,1142,1134,1246,1338,1288,1296,1316,1406,1428,1248,980,854,1086,1222,1118,1140,1142,1242,1202,891,622,731,847,1001,1306,1460,1158,631,434,389,440,888,1278,1502,1594,1600,1560,1368,965,1136,1274,1112,998,875,956,1114,907,653,946,997,585,763,937,1410,1068,728,1044,1188,1212,1134,919,791,988,1106,1344,1414,1164,931,642,609,568,819,1038,1202,1194,1264,1388,1500,1328,778,728,1324,1196,1322,1152,1252,1360,1310,1262,1048,918,851,839,1100,798,996,1326,1476,1390,1274,1092,1050,1060,1022,799,750,1052,1288,1156,949,894,1144,1690,1238,1070,1228,1120,1010,969,914,821,1258,1226,978,542,711,984,1432,1556,1396,1182,1015,1226,1476,1296,1190,1066,1102,1224,1422,1356,1336,1090,1126,1074,792,856,1122,952,1012,1048,1170,1226,1142,919,497,328,297,292,296,308,344,405,368,382,422,505,458,501,491,418,420,449,441,492,683,880,787,607,780,1026,837,1016,1070,1116,1134,1366,1628,1648,1496,1440,1472,1656,1282,900,670,523,602,797,825,676,737,1150,1390,1268,1112,1730,1560,1001,1168,1019,1222,1332,1076,727,741,749,658,698,606,537,855,1126,858,681,930,1056,1054,1130,1344,1486,1322,1122,700,665,868,1140,1362,963,683,760,1392,1520,1012,847,770,898,1060,782,800,936,1188,959,703,551,548,944,1162,831,631,1368,1766,1874,1812,1208,1100,942,1042,1162,867,718,974,1116,1340,924,511,497,760,1086,1238,1386,990,567,833,1224,1332,1334,1482,1030,857,943,1096,987,776,993,1216,1086,1007,1238,1274,1126,1164,1162,925,1094,827,480,430,391,389,751,783,561,626,525,570,933,1194,1426,1372,1086,1366,1592,1198,1200,1288,1348,1472,1200,1128,1754,1584,1023,1078,1060,717,963,1212,1138,1144,1012,1007,973,1324,1626,1504,857,714,1010,1332,1038,733,643,695,1116,1326,1162],[710,1096,1160,832,613,436,450,558,520,857,875,1048,1036,763,855,1216,1184,921,713,595,1410,1830,1524,1428,1220,733,561,571,524,486,471,402,389,384,310,320,347,341,330,310,310,303,287,273,302,380,395,369,365,404,357,277,273,275,288,340,370,405,489,498,554,739,718,469,422,652,659,647,559,435,446,756,1288,1106,648,606,541,413,401,421,779,660,446,365,313,421,759,836,578,556,753,614,600,483,384,478,643,897,1084,764,431,369,392,433,758,881,608,784,1188,1064,640,774,1064,1454,1686,1266,841,505,604,733,746,363,393,491,360,672,949,953,806,821,857,949,1144,1122,1108,1007,932,1010,604,505,566,811,1005,1028,792,366,502,849,800,498,765,811,539,612,793,919,1142,1022,594,556,941,1476,1108,941,999,692,423,487,617,681,633,629,694,807,665,548,769,981,499,293,263,547,631,557,476,304,385,531,725,886,713,560,744,590,542,619,614,435,493,1028,1168,898,557,713,949,844,721,772,1026,1086,1110,1086,725,558,938,1176,1054,836,836,1134,1252,1130,971,754,700,589,407,369,392,383,407,523,580,569,642,885,1116,932,547,465,562,673,692,709,974,836,937,1074,663,448,462,781,918,1072,1238,879,575,712,850,862,1009,1126,1306,1394,1298,1306,1354,1356,1322,1310,1318,961,914,1332,1536,1770,1406,1206,1176,1180,1013,1130,1242,1252,971,615,439,572,1005,1210,1302,1312,1454,1416,1322,1274,1324,1382,1472,1376,1144,1318,1436,1404,1404,1278,1256,1060,1092,1248,1166,1282,1328,997,1158,1570,1282,1334,1182,1134,1260,1015,785,838,1110,1274,1292,1200,1220,1022,1238,1196,1170,973,554,495,500,495,758,683,465,794,1106,1072,1152,1138,1228,1448,1108,1404,1246,1220,1168,1284,1360,1066,833,857,752,1348,1426,968,1140,1170,830,781,885,867,965,1032,792,861,971,938,915,826,943,1102,841,663,444,511,556,374,683,1058,1282,1194,1164,1072,1236,669,480,470,494,611,623,684,816,967,874,672,986,737,853,602,447,446,414,329,274,313,382,403,423,772,1056,841,881,778,995,709,566,763,887,740,722,1266,1324,1244,1228,1250,1230,1440,1314,1166,1120,1402,1876,1792,1220,1122,1312,1450,1084,1144,1220,974,1082,1318,1322,1286,1188,1018,1012,1116,1120,836,774,1162,1628,1286,1068,1322,1504,1148,1180,1266,1110,1144,1338,1142,1120,984,672,852,965,1058,1132,1256,1334,1426,1508,1406,1372,1422,1284,1202,1156,1532,1592,1666,1732,1708,1634,1694,1500,1300,1502,1758,1314,1140,1348,1316,983,817,778,1090,1236,1266,1132,999,588,514,566,486,568,1270,1374,1134,1016,1036,1072,1134,1172,808,841,692,871,1064,1428,1538,1614,1694,1532,1228,1044,990,983,844,908,888,1168,1116,805,1052,1188,919,886,1026,1260,1226,980,1052,992,824,816,1384,1328,1178,1156,1178,1268,1208,1136,1158,1110,1054,1146,1068,1038,1120,1130,1130,1302,1248,1246,1308,1170,1166,1600,1518,1420,1428,1278,1212,1096,990,966,1054,1092,1110,1036,1034,1094,1390,1360,1260,1192,1182,1104,1146,1264,1262,1208,1128,1084,1058,967,1110,1134,1210,1738,1592,1296,1306,1652,1592,1316,1170,1120,1376,1626,1428,1306,1032,974,1136,1064,822,787,833,716,629,567,647,992,1066,1218,1066,902,1432,1080,1148,1570,1534,1406,1222,1094,1074,1194,1208,1200,1344,1502,1218,963,583,991,1396,1178,888,1026,825,702,1020,1268,1476,1488,1548,3870,5044,4732,5312,5864,5904,5860,6004,4684,2092,1228,1204,1246,1172,1072,1388,1568,1744,1612,1432,1380,1524,1652,1368,1224,1244,1206,1144,1080,1226,1284,1342,1200,1076,1050,1182,951,754,832,882,657,912,526,372,725,875,750,978,1228,1144,1064,868,778,661,590,535,689,1176,1334,1432,1422,1172,919,1182,1450,1312,1360,1412,1316,1354,1104,1406,1590,1158,1004,1180,993,1048,1432,1296,995,794,543,509,744,1005,1116,815,529,1050,1346,1162,792,901,1054,996,1556,1700,1210,680,761,680,874,1154,1028,780,962,1192,993,772,1007,917,1208,1116,791,595,730,858,1910,2546,1976,1130,1042,1080,1005,1234,1578,1302,1484,1990,1992,1406,1316,1394,1368,1344,1294,1110,1254,1600,1532,1362,1070,1088,1158,1096,855,1092,1262,1098,1196,1132,1154,1154,1302,1170,1120,1200,1160,1508,1882,1660,1230,1058,1206,1252,1338,1484,1268,885,673,595,556,467,869,1001,1074,1264,1260,1068,1048,1090,974,871,1056,756,772,1228,988,649,637,742,932,1108,1246,1364,1432,1082,880,1066,1104,1082,1226,1616,1582,1388,1510,1734,1650,1036,875,899,961,1194,961,608,522,486,622,448,403,587,1082,1330,1010,1020,1062,1162,1174,1130,1216,1254,1490,1616,1696,1752,1708,1670,1526,1432,1650,1372,1316,999,987,1500,1700,1694,1478,1090,709,528,711,1038,935,919,490,564,642,772,743,883,1244,1009,774,912,1098,1024,752,1218,1056,825,1146,1312,1036,1116,1456,1238,1044,971,917,1126,1322,1494,997,604,657,1094,1190,926,1130,1456,1478,1162,777,636,547,761,1666,1668,711,659,885,753,535,705,901,914,919,697,494,434,314,260,442,680,927,653,427,339,280,384,422,432,550,621,1228,1338,1050,717,974,809,511,395,401,444,471,609,505,390,466,506,890,1094,785,1290,1932,1924,1820,1794,1676,1454,1196,1334,1282,1006,866,1226,1316,1352,1488,1340,789,353,305,368,616,703,613,683,532,411,513,775,1002,1350,1716,1438,960,1038,948,745,536,531,648,1007,1090,870,730,605,919,1616,1598,1294,1336,1410,1076,618,381,332,517,908,734,667,530,488,852,1272,1362,1009,907,1056,799,726,890,1746,1682,1262,1372,1154,758,648,675,819,651,732,765,523,518,438,799,903,553,329,489,900,1274,1392,1456,1644,1194,1180,1578,1450,1188,1340,1636,1824,1392,982,1234,1256,1118,1010,1360,1340,847,1058,1196,1102,1184,1324,1494,1448,1134,1064,992,1112,1154,1302,1446,1474,1300,1512,2110,1902,1476,1834,1822,1338,1586,1820,1764,1528,1444,1554,1772,2012,1732,1046,830,1038,1166,1228,889,684,647,684,743,738,751,755,876,856,965,852,679,490,434,452,532,910,914,573,426,479,566,897,1222,869,501,376,367,447,579,537,469,458,546,584,556,547,582,571,598,608,607,628,659,629,588,587,571,571,594,595,616,615,623,644,552,530,508,484,462,463,471,462,439,433,415,545,927,998,865,937,1056,1122,1274,1258,1256,1168,1122,1108,1248,1400,1334,1302,1392,1280,1570,1510,1592,1486,1286,1054,969,1188,1496,1594,1624,1552,1392,1010,1490,1958,1632,1422,1210,1038,800,644,955,1142,1008,1058,929,893,882,1176,1380,1332,1368,1416,1230,1122,1476,1732,1482,1428,1396,1340,1302,1248,1524,1424,1240,1284,1380,1354,1494,1354,1090,1432,1648,1298,1276,1250,1224,1042,1060,1166,910,1116,1184,827,647,503,889,1015,1009,986,781,724,550,486,833,1198,1184,969,730,1072,1020,1064,1015,790,1032,770,754,1044,893,802,855,855,908,648,352,551,698,1009,1030,1150,888,449,644,1026,1214,1260,1296,1392,1512,1416,1344,1248,1194,959,1172,1334,1146,1122,1192,1090,927,909,952,899,675,705,1158,1534,1108,678,555,516,965,1272,1126,1406,1512,1656,1784,1782,1172,1020,998,927,960,816,799,1030,763,813,1224,1338,706,722,1182,1132,714,705,1005,1264,1298,1076,880,648,625,1136,1246,1036,1160,1058,839,862,825,844,937,802,569,683,1312,1500,1318,645,584,1244,1350,1098,1086,1310,1456,1604,1282,999,1128,1052,975,712,651,855,982,741,893,1052,979,1262,1526,1234,919,1132,1368,1758,1422,995,1003,996,817,916,1160,1120,1034,902,845,1200,1166,1262,1044,930,1050,1288,1256,1446,1524,1308,1208,949,1208,1444,1500,1410,1296,1310,1444,1488,1406,1402,1324,1164,1136,994,730,1152,1108,892,1036,1112,1084,1042,616,332,332,314,294,289,308,446,535,425,441,489,559,448,408,461,418,418,429,381,379,396,557,724,736,628,626,885,1042,1070,1088,1298,1780,1918,1498,1164,1082,1276,1400,868,563,574,745,642,436,698,863,659,735,899,698,576,934,877,673,864,946,1146,1234,1126,1466,1422,899,724,792,734,672,1256,1384,1048,677,764,946,703,847,1078,1254,1174,960,752,791,1030,1266,1148,1244,1256,1034,1104,1176,1396,1766,999,518,719,976,916,612,924,1078,850,891,1222,1242,1090,737,491,1190,1654,1586,1186,1056,1198,1060,1126,1332,1070,994,1178,1196,1454,993,493,449,883,1138,1200,1230,894,582,428,525,716,981,1078,974,869,995,1310,1190,851,658,674,764,813,1038,996,1072,1158,1252,1198,1282,812,429,376,325,440,704,564,604,822,750,535,523,1168,1432,1312,1272,1560,1794,1786,1482,1304,1428,1376,1238,1052,1530,1304,959,1200,1098,933,1312,1322,1190,1346,1024,756,896,1086,1286,1200,899,908,920,1050,1098,985,1048,1260,1372,1294,1270],[1400,1864,1338,1294,1194,905,851,1050,725,882,1148,855,547,603,988,781,824,1306,1316,1036,1344,1312,1262,1466,1214,733,590,591,544,515,541,622,847,709,420,347,364,348,312,301,317,310,292,333,419,484,455,394,343,332,312,282,285,288,279,349,490,593,719,766,714,690,681,541,559,667,614,573,586,926,1052,767,1098,745,546,459,541,474,415,446,972,1034,510,412,415,418,494,677,578,660,921,585,440,465,507,697,543,691,1104,1068,805,526,421,608,1306,1492,1058,1056,1012,780,530,386,502,886,1250,1238,941,612,545,494,429,326,336,359,651,981,788,1094,866,700,711,659,756,935,791,736,844,780,843,941,730,570,437,652,690,532,494,905,864,532,689,583,493,505,477,885,1354,1208,731,714,1006,1246,813,901,1098,907,680,553,637,481,470,618,1040,1186,738,686,741,769,611,361,287,500,776,1106,792,319,399,526,888,1262,666,714,987,681,473,672,828,606,448,660,891,919,558,662,1050,817,712,830,823,896,1042,1060,913,673,797,1128,1320,1054,914,932,1100,1134,946,776,669,537,387,375,427,415,462,361,529,651,797,1026,1384,1272,791,559,547,919,930,685,933,851,888,1050,666,502,571,867,1206,1256,1202,942,617,722,1188,1184,1172,1190,1592,1484,1190,1300,1264,1254,1406,1372,1312,1054,1284,1616,1444,1692,1470,943,690,1005,1372,1302,1418,1278,1022,938,845,840,1072,1196,1196,1428,1606,1570,1470,1388,1316,1366,1110,854,1016,1318,1162,1390,1462,1350,1328,1108,1252,1306,1186,1506,1094,912,872,1084,1360,1358,1146,1426,1418,993,804,938,1142,1266,1264,1262,1462,1278,2130,1638,1334,883,620,764,981,1028,904,890,884,1044,1192,1136,1108,1132,1136,1424,1258,1310,1268,1108,1150,1334,1312,1204,991,965,1172,1630,1212,870,1058,935,832,901,899,1016,1026,1172,1210,1128,1182,1394,1230,1086,1168,1152,1002,735,429,663,813,390,361,636,1064,1174,1182,1204,833,579,502,483,526,490,430,467,558,805,724,606,690,918,1146,733,566,568,408,373,316,359,361,295,498,1058,1136,1114,986,894,857,637,711,898,859,692,814,1082,1012,987,1122,1160,1432,1280,988,1050,1116,1150,1282,1200,838,1228,1776,1332,799,1064,1244,1176,1456,1530,1232,1208,1224,926,877,700,772,767,760,1704,2096,1284,831,1228,1346,1172,1334,1294,1360,1134,1102,1078,1442,1270,1015,1036,1084,1090,1064,1007,1056,1042,1108,1100,1184,1362,1264,1086,1186,1500,1532,1430,1556,1834,1820,1826,1756,1826,1832,1918,1582,1306,1140,1086,999,990,1106,1116,1124,1194,1490,1730,952,609,557,531,505,858,922,913,1040,1238,1162,1292,1210,978,991,1210,1266,858,987,1368,1616,1742,1790,1606,1256,1058,926,949,965,943,1018,977,951,1094,921,761,723,735,1011,1156,1114,1020,1292,1040,958,1150,1276,1266,1274,1426,1476,1174,1154,1322,912,725,1102,1124,1098,1146,1146,1174,1200,1112,1084,1178,1150,1094,1246,1108,1646,1462,1154,1030,1156,1026,1016,1184,1160,1272,1366,1286,1264,1418,1284,1192,1122,1172,1094,1154,1294,1284,1526,1542,1228,1082,1070,1374,1130,1430,1958,1754,1502,1366,1372,1562,1520,1434,1500,1344,1486,1880,1544,1122,999,1190,1060,934,882,832,716,609,581,651,1114,1056,1048,1116,897,1376,1346,1412,1500,1488,1470,1362,1200,1013,1116,1286,1292,1392,1450,1372,1114,848,1126,1536,1202,912,1122,762,681,791,1088,1388,1382,1190,1936,3872,5328,5796,5844,5812,5884,5568,3630,1766,1368,1374,875,686,750,1262,1686,1654,1248,1298,1246,1350,1506,1322,1320,1262,1124,1148,1048,760,780,970,1258,1330,1030,886,720,686,678,823,408,405,353,387,463,535,670,725,668,874,1008,835,890,734,647,482,769,1206,1324,1090,991,1238,1366,1390,1438,1320,1450,1206,1168,1290,1118,973,787,701,938,1138,1268,1574,1318,1374,1556,1446,1156,1122,1192,1032,912,941,824,966,1394,1406,757,782,1152,1058,1062,1112,855,968,1032,1186,1108,1130,1124,1058,870,895,808,909,1126,979,1032,1172,1224,683,525,651,1250,2152,1928,1192,1278,1170,917,805,1018,1016,1408,1730,1762,1276,845,858,1062,938,912,1088,1404,1482,1494,1336,861,664,747,832,891,1326,1494,1128,1078,963,1300,1334,1344,1236,1302,1216,1072,1326,1506,1470,1300,1274,1440,1240,1204,1354,1418,1144,972,855,657,702,1122,1290,1294,1306,1212,1248,1182,1092,1126,1036,802,664,646,993,1110,805,643,993,1240,1292,1278,1302,1392,1078,1012,1050,1262,1406,1428,1640,1632,1326,1164,1198,1392,902,767,955,1038,1064,1100,794,511,500,418,352,432,628,1266,1602,1132,1002,1146,1450,1314,1054,1001,1034,1322,1602,1558,1470,1518,1460,1140,1226,1438,1284,971,958,1152,1354,1454,1576,1748,1592,1172,808,846,924,1222,1082,709,883,891,1108,1072,960,1021,762,857,1138,760,583,764,1188,854,568,608,1120,1366,1336,1152,1100,1016,919,1180,1238,1228,1326,1504,1260,605,550,781,990,1298,1430,1378,1216,1164,1250,1132,1202,1648,1504,1013,728,579,538,609,639,561,466,500,558,404,306,237,254,254,354,397,321,339,373,529,746,652,550,625,786,1444,1318,777,450,601,890,807,723,789,639,559,561,450,339,330,317,550,572,621,1036,1440,1692,1796,1642,1592,1552,1476,1472,1450,1260,941,861,880,1192,1220,684,332,314,348,291,340,789,824,738,606,621,872,1162,1416,1632,1766,1278,948,839,756,1084,912,725,824,1072,940,866,860,847,1302,1486,1404,1270,1420,1354,1322,879,505,356,722,858,483,498,480,646,1116,1662,1742,1308,828,804,990,1172,1136,1528,1620,1338,1056,833,774,700,755,837,890,887,820,706,598,640,785,709,535,432,475,668,888,1234,1078,1054,677,697,885,911,1016,1138,1448,1654,1272,1314,1470,998,1026,1152,1188,1182,1346,1440,1324,1222,1156,1146,1106,1266,865,614,665,1140,1252,1052,1120,1480,1300,935,1228,1564,1560,1582,1290,1312,1422,1460,1592,1734,1550,1500,1510,1594,1456,869,837,1084,1276,1184,838,645,718,753,830,851,818,812,711,689,695,739,877,727,666,686,678,820,721,461,372,399,447,808,1250,838,482,381,403,501,553,537,501,505,543,577,587,568,550,570,570,563,565,603,567,557,568,579,576,587,597,609,619,615,624,648,568,532,527,499,464,455,451,455,462,461,460,636,947,973,916,921,1140,1274,1484,1466,1458,1398,1084,1001,1028,932,1086,1340,1312,1226,1356,1368,1538,1412,1190,1272,1340,1408,1528,1408,1402,1600,1488,1324,1292,1512,1534,1392,1146,1160,1208,1130,1260,1356,1128,1138,918,1084,1384,1424,1382,1260,1200,1182,1146,1266,1326,1216,1392,1542,1456,1252,1142,1274,1126,1128,1328,1324,1230,1470,1646,1550,1258,1418,1512,1336,1350,1426,1312,1092,1208,1354,1054,1015,1064,879,662,589,758,974,1038,907,1030,1158,864,871,1102,960,742,748,700,1021,1032,857,465,600,937,811,1052,1312,897,699,675,769,782,745,761,666,752,810,702,652,495,365,627,1018,1092,1208,1366,1386,1378,1058,1078,913,1110,1005,1070,1144,1009,1066,837,522,648,615,967,1060,891,653,669,709,667,630,686,993,1140,739,823,1230,1023,1042,1560,1960,1850,1356,966,1042,1326,1142,670,437,552,1098,1282,1260,683,497,820,637,559,716,889,1426,1260,759,755,919,582,899,1004,1144,1252,1216,1310,1316,1176,994,832,536,409,689,893,964,1182,1190,1064,1394,1562,1152,1080,1498,1606,1376,1124,1312,1402,985,789,511,641,771,720,630,932,1256,1470,1382,1388,849,559,765,1538,2074,1350,697,855,961,772,829,932,1184,1078,1156,912,1198,1276,1344,1224,1152,1290,1390,1260,1376,1470,1420,1210,1182,1340,1076,991,1016,1194,1430,1726,1544,1242,1338,1520,1454,1432,1150,806,1026,954,786,897,739,860,955,502,320,350,313,302,298,325,559,648,508,448,455,502,413,380,428,381,439,404,346,373,418,487,630,791,847,742,742,880,1005,1034,1300,1722,1576,1178,1090,928,785,610,567,675,822,1026,907,541,502,653,984,954,690,464,445,507,457,737,1019,908,836,733,971,2066,1552,1120,993,891,659,554,905,1262,1220,781,586,664,411,579,580,826,982,719,558,586,894,948,871,1252,1112,855,858,1246,1754,1530,755,568,899,1270,948,711,1090,1248,935,969,1140,783,877,724,425,594,1174,1146,744,999,1202,1130,982,1098,1138,1134,1252,1294,1182,638,340,462,1016,1264,1256,1046,621,709,558,373,377,545,507,664,686,916,982,1180,1348,1090,924,868,1058,1278,1182,1266,1204,1248,994,595,498,444,476,339,440,824,530,528,811,754,504,767,1178,1334,1446,1376,1220,1610,1938,1766,1426,1362,1372,1366,1056,933,943,942,807,668,760,1322,1682,1668,1552,1532,1326,1180,1084,1396,1440,1246,1186,1072,1130,1180,1234,1268,1200,906,965,1206],[1044,1128,986,1224,1140,1274,1358,1136,792,952,1054,697,704,750,1058,902,847,1116,1588,1472,1080,682,774,1180,1114,695,582,619,588,507,549,653,980,959,568,366,360,322,292,328,406,385,380,428,445,414,408,429,418,378,322,293,285,296,314,359,420,503,1013,1354,1028,684,656,512,485,541,562,607,739,1140,890,626,554,390,521,558,763,828,647,524,1106,1312,604,576,652,517,557,1200,983,714,892,697,707,819,903,1090,632,764,1378,1218,1130,800,509,651,1182,1192,821,752,707,581,616,618,576,725,1062,1246,859,449,514,938,980,566,517,441,1170,2142,823,883,846,626,625,630,486,793,685,455,453,543,703,708,907,926,759,824,888,613,427,648,684,628,645,521,545,771,687,848,1112,1084,822,603,913,1026,619,807,932,565,529,820,1116,781,534,904,1630,1146,636,669,609,763,763,589,464,400,590,1144,821,481,527,655,948,1346,783,883,1078,721,629,658,709,556,419,440,728,980,901,802,1009,809,525,644,824,850,1070,1408,1332,890,499,766,1124,1044,1018,834,677,741,890,889,839,697,684,541,463,615,708,630,663,791,1009,1062,1198,1194,998,780,748,916,612,370,577,713,803,888,706,670,708,619,720,802,1166,1274,942,973,1274,1178,1088,1150,1240,1122,1066,1038,982,1178,1336,1490,1444,1226,1160,1262,1258,1512,1520,1246,873,727,697,690,1124,1268,1084,932,1038,1184,1220,1128,1058,1308,1520,1338,1308,1446,1076,1378,877,868,1164,1018,1174,1328,1328,1100,852,1036,1190,1258,1368,1488,1212,1158,1204,1450,1348,1224,1106,1288,1406,1042,655,755,1068,893,698,1122,1590,1266,1406,1590,1256,791,795,987,998,879,700,682,1082,1226,1252,1242,1232,1252,1338,1582,1572,1424,1352,1106,1160,1334,1220,974,852,609,832,1074,797,886,1174,975,978,1122,1342,1410,1064,639,687,1036,1108,1114,793,734,1058,931,701,782,582,614,728,402,304,315,638,983,1194,1164,897,650,555,544,525,495,439,477,813,1046,663,491,400,694,886,803,976,969,610,365,415,375,510,569,606,897,1066,843,603,696,844,755,990,1094,1082,889,982,949,1190,1154,1202,1402,1560,1224,996,936,1166,1244,1444,1280,982,1248,1428,1048,724,898,1218,1290,1444,1326,969,1070,1138,1116,1140,965,817,598,879,1678,1562,1216,1146,1218,1234,1260,1272,1156,1502,1398,1264,1234,1194,1058,1256,1418,1232,1192,1216,1184,1260,1368,1198,1158,1208,1240,1152,1058,1312,1798,1584,1354,1374,1556,1404,1370,1564,1826,1836,1786,1830,1716,1690,1492,1248,1308,1556,1056,1090,1252,1918,1974,1134,653,546,469,453,445,658,959,1050,1180,1186,1230,1086,998,998,1108,783,590,615,879,1360,1752,1732,1624,1278,1132,1294,1268,1066,983,933,1021,1094,847,528,585,710,547,718,808,756,908,1222,1162,1102,1330,1354,1162,1206,1162,1076,1160,1360,1228,1080,958,1132,1368,1280,1004,1040,1176,1172,1158,1222,1258,1198,1214,1376,1230,1470,1466,1388,1262,1198,1128,1122,1212,1264,1298,1302,1316,1216,1050,1130,965,1030,1222,1144,1354,1342,1222,1798,2038,1400,927,993,1210,997,1206,1718,1610,1312,1134,1196,1382,1366,1190,1176,1178,1382,1638,1534,1230,1150,941,664,660,716,852,749,639,596,762,999,1116,1032,992,957,1290,1332,1194,1412,1556,1478,1362,937,824,1210,1306,1302,1500,1470,1254,947,789,1082,1330,1118,1114,1110,707,808,825,850,1152,1498,1372,1172,1742,3270,4620,4596,5404,5392,3256,1100,1300,1216,1036,548,659,1184,1580,1554,1070,1074,1258,1176,1594,1720,1478,1262,1228,1238,1166,987,684,663,1104,1584,1614,1204,825,688,1092,805,785,427,321,349,321,361,487,602,715,987,1202,1194,1032,1250,853,596,377,734,1180,1284,1260,1296,1408,1384,941,1116,1256,1434,1278,961,1188,1208,704,755,908,1126,1202,898,1178,823,808,757,861,1056,1190,1118,1230,1450,1472,1378,1474,1576,1344,946,1082,1418,1222,955,972,836,836,1016,1194,1092,1062,1296,1322,1164,1066,1028,644,649,835,888,1068,942,672,700,706,1005,1974,1584,1798,1974,1382,1026,800,706,745,857,1058,1312,1296,985,1318,1296,1246,866,1092,1306,1248,1284,1198,872,581,423,492,631,832,1021,902,952,1078,1444,1456,1218,1372,1544,1140,882,872,791,786,959,1192,1392,1104,1014,931,1204,1210,1154,1190,959,937,1092,1274,1296,1168,1238,1296,1010,1050,1238,1092,777,620,739,1158,1422,1246,953,1152,1200,1400,1290,1230,1174,1128,1122,1020,1106,1406,1352,1292,1394,1164,1016,774,1032,830,790,963,1120,1064,1166,1212,739,657,800,761,973,985,1412,1684,1378,1070,1250,1534,1412,1196,948,875,1003,1003,1270,1534,1594,1354,1312,1492,1434,1142,1186,1308,1134,1340,1496,1814,1734,1808,1604,1434,1436,1354,1388,1192,897,821,988,1360,1206,1156,1138,1108,857,846,544,661,1032,1078,1296,1252,816,954,1288,942,827,938,1108,1106,1198,1002,791,944,1052,757,422,307,411,539,822,1246,1426,1596,1660,1720,1666,1588,1532,1404,1346,1168,630,399,440,407,289,293,378,639,565,427,327,316,335,346,382,599,808,1262,1380,1498,855,593,464,795,1222,955,553,376,514,825,789,898,826,566,607,685,533,346,315,315,356,586,904,1280,1506,1572,1678,1538,1366,1192,934,692,709,608,461,476,795,1260,886,443,356,377,350,283,247,526,887,955,768,826,883,1048,1384,1062,1148,1284,1372,1070,1198,1318,1340,1064,703,752,658,662,634,915,1496,1346,1080,1150,1264,1250,1208,1086,1120,836,927,824,473,617,969,1172,1300,1704,1804,1574,1034,1005,1386,1528,1396,1346,1498,1252,700,641,503,828,978,827,758,720,662,804,864,720,525,577,748,450,393,490,664,1120,1300,1236,830,569,536,583,811,1016,1106,1398,1516,1566,1584,1082,778,972,1016,1360,1834,2056,2122,1338,875,872,592,998,1080,770,1126,1278,1176,930,781,896,1070,736,559,769,815,600,600,1206,1594,1626,1538,1796,1862,1534,1072,986,962,673,887,1126,1324,1178,798,560,624,758,811,848,931,921,808,784,680,549,522,745,794,941,885,805,665,573,539,454,409,697,1184,804,480,372,449,539,563,566,554,539,543,558,559,543,545,545,563,576,563,569,593,598,584,570,590,599,604,620,626,607,628,648,594,538,522,507,485,476,474,456,463,463,453,828,1108,1190,1080,1182,1390,1476,1468,1388,1300,1348,1088,1152,1264,1260,1164,1190,1306,1522,1448,1446,1634,1578,1362,1356,1286,1468,1582,1348,1554,1496,1504,1610,1322,1264,1332,1288,1254,1306,1290,1974,1738,1200,896,1066,953,969,1168,1266,1368,1444,1324,1192,1058,1052,851,935,1216,1308,1434,1232,1236,1390,1330,1268,1234,1142,1204,1394,1476,1472,1230,1272,1462,1334,1320,1362,1206,990,975,1222,1058,919,924,1124,1078,975,1234,1574,1518,1068,849,921,788,1020,910,649,579,537,502,819,1310,1208,788,593,610,655,942,1428,921,922,856,748,587,1007,1252,811,463,575,585,478,451,562,949,1166,1116,1046,1070,1208,1322,1290,1102,1052,1312,1244,1156,866,931,998,436,345,615,572,701,870,954,973,839,652,617,495,731,1106,843,721,1036,1150,1396,1524,1538,1580,1478,1336,1174,1324,1528,1532,1238,744,1320,1550,1532,1384,739,340,371,443,645,678,583,755,705,415,807,1396,934,965,1390,1618,1450,1318,1404,1478,1216,725,568,483,616,1218,874,502,732,952,1036,1216,1372,1264,1304,1716,1514,1166,1324,1356,1146,854,451,439,491,493,648,838,1026,1492,1986,1682,1164,627,466,359,631,604,499,469,671,1048,1096,875,785,919,926,943,807,901,1274,1396,1376,1410,1236,1096,1166,1436,1516,1844,1556,1492,1526,1262,1020,928,989,1218,1326,1056,841,1316,1482,1310,1456,1126,677,490,504,845,998,770,772,811,472,361,355,349,368,344,396,783,1058,781,498,487,456,419,432,552,392,435,403,341,420,505,547,528,602,746,683,547,639,875,942,974,1090,1178,990,809,607,477,568,749,900,1130,1166,1174,1048,814,659,892,780,523,458,459,444,687,1232,1396,1058,814,866,890,1012,696,1290,1336,877,457,361,414,685,1000,892,385,348,345,375,420,726,852,857,793,750,1086,1106,1068,1210,1096,1068,865,786,871,705,703,890,1274,1208,605,533,954,1192,786,893,738,602,877,1007,656,441,737,786,1038,1382,1168,1114,939,1056,1156,1324,1450,1204,857,509,356,608,1110,1272,1262,1144,1372,807,503,440,455,589,742,879,1092,803,601,1198,1334,1104,921,760,1058,1226,1214,1290,1378,1350,869,885,992,524,493,401,485,797,764,868,883,807,675,925,1184,1086,1318,1432,1180,1362,1692,1592,1316,1378,1444,1272,981,837,1068,977,799,728,1020,1632,1810,1690,1826,1702,1320,1280,1250,1288,1404,1310,966,962,1090,1148,1124,1062,1226,1030,996,924],[781,785,745,849,1102,1136,741,579,758,1142,1234,1094,999,1224,1374,1288,990,1084,1096,667,528,451,559,824,808,579,521,549,474,343,381,462,536,463,388,407,402,386,362,392,428,457,437,416,392,368,386,399,413,408,324,277,280,303,328,348,378,496,1050,1356,965,650,564,382,378,471,521,582,563,634,564,458,367,375,416,846,1226,1054,732,535,971,1216,913,965,1510,1214,921,993,755,649,678,565,633,868,979,1000,709,1042,1412,1332,1134,733,573,502,533,550,455,402,416,502,966,1044,599,785,1104,1260,980,493,405,971,1042,416,317,404,792,1023,869,672,614,445,490,392,576,956,671,490,518,798,1050,1144,703,496,540,550,932,951,847,724,593,710,849,534,427,987,1008,831,797,1072,1106,702,805,951,880,1066,894,543,709,781,1184,1350,954,1346,1362,720,518,550,750,860,965,1488,1154,741,860,952,940,1094,1080,956,724,651,466,481,535,551,569,586,619,532,524,467,614,878,808,740,857,832,536,446,427,491,896,1394,1546,1072,745,874,888,928,1122,982,693,869,1064,1038,1128,1068,1360,1036,857,1166,1278,1172,993,1250,1154,929,1080,1112,1118,1138,961,819,568,467,765,752,600,765,937,1106,716,719,913,766,1144,1338,893,706,946,948,889,797,937,1126,1338,1136,1042,1186,1180,1296,1310,1088,927,780,839,1032,1378,1692,1772,1516,979,728,875,1098,992,971,1064,1116,1096,1138,1302,1592,1528,1206,1668,1432,1184,1310,974,1122,1194,902,1266,1528,1318,890,512,565,708,852,910,968,979,1052,1182,1188,915,1034,1160,1268,1432,1444,2058,1458,1318,1094,1134,1148,1332,1330,1478,1400,1126,1044,1090,1006,843,602,695,910,1240,1256,963,1346,1404,1188,1284,1578,1632,1432,1446,1378,1408,1574,1294,1548,1232,669,602,635,977,1672,1720,1606,1364,1216,1368,1800,1076,634,618,789,1008,1194,1042,1042,1216,938,895,878,690,611,499,499,449,421,455,824,1016,720,648,631,595,583,547,501,469,472,1180,1186,566,441,351,388,547,844,814,973,997,774,753,634,866,983,969,1064,963,731,520,593,1042,1246,1274,1186,1242,1152,1084,1058,1220,1290,1312,1338,1140,910,1044,1122,1306,1246,1432,1310,1212,1290,1062,1094,918,884,1344,1284,1154,1064,975,1048,947,1178,1270,1162,897,651,1112,1568,1448,1556,1380,1202,1174,1168,1162,1180,1290,1444,1366,1132,991,963,1248,1296,1144,1312,1262,1360,1396,1494,1356,1114,1060,1072,982,890,1230,1896,1506,1230,995,1078,1330,1300,1470,1644,1520,1472,1676,2074,2078,1744,1568,1394,1248,1188,1182,1348,1766,1482,913,774,599,577,586,597,719,947,941,986,1104,1076,931,862,1240,1138,683,605,540,563,739,1144,1370,1440,1280,1328,1564,1294,937,818,846,1014,1128,898,677,973,666,487,653,792,694,918,1142,1110,1204,1444,1450,1582,1166,1256,1204,1190,1228,1228,1234,1021,1040,1300,1340,1030,1062,1186,1026,1002,1104,1120,1164,1154,1156,1130,1144,1102,977,1042,1350,1482,1122,1050,1126,1174,1354,1570,1510,1268,937,810,1162,1354,1364,1526,1248,931,1144,1470,1158,956,1001,1222,1234,1236,1500,1462,1184,1286,1758,1372,1188,1152,1198,1292,1318,1684,2024,1592,1032,861,611,550,670,837,745,669,510,824,917,1054,1156,947,1013,1384,1190,1274,1632,1538,1386,1394,1296,1230,1156,1072,1172,1262,1162,908,662,639,791,1154,846,779,982,797,622,1062,1036,1196,1500,1402,1680,1312,1214,1486,2128,3864,5204,2712,1194,1504,1194,954,692,601,1074,1552,1348,1262,1308,1178,1250,1616,1440,1544,1368,1248,1132,1048,1094,889,792,1154,1186,1250,1148,892,765,938,647,680,507,305,293,321,428,512,604,899,1308,1432,1240,934,1094,965,801,859,1084,1378,1352,1256,1220,1148,1430,1011,871,1246,1310,1188,703,662,613,428,620,789,720,938,1010,884,488,332,316,431,385,629,854,755,802,1132,1120,1003,941,1023,935,896,942,1412,1656,1378,1294,1204,1134,1376,1342,1282,1374,1288,1328,904,1036,714,735,1136,1204,1066,1224,1322,1090,964,1034,1584,1316,1676,1328,1184,1326,1366,1240,1021,662,446,822,1210,656,1124,1218,1376,833,805,1064,1168,1056,1034,1058,718,471,552,472,564,1034,1172,915,1182,1668,1494,1228,1382,1344,1040,897,852,619,637,711,1366,1652,1396,1418,1300,1338,1246,1112,1350,1324,1516,1468,1318,1152,1140,1196,985,567,677,984,937,691,735,1086,1294,1290,1262,1214,1172,1042,1060,1072,1072,1070,1112,1334,1296,1058,1226,1332,1182,943,1004,1134,1026,969,688,764,1048,1136,1274,1346,1194,778,952,919,1006,981,1054,1418,1478,1274,1050,1032,1238,1372,1244,1070,1080,989,1174,1510,1560,1364,1278,1416,1334,1078,878,1396,1628,1510,1366,1400,1678,1562,1570,1526,1610,1630,1510,1460,1294,1140,1190,1448,1108,1098,1086,1194,1360,1262,1042,932,1190,1300,1480,1946,2218,1536,1022,913,676,675,642,800,944,855,534,408,610,710,494,294,342,384,358,601,592,892,1144,1416,1700,1688,1366,1314,1356,1308,1236,836,504,399,297,307,323,363,435,518,531,501,486,537,949,1234,1820,1366,1438,1088,1032,756,416,372,705,764,526,394,366,386,811,1020,973,747,774,986,986,860,818,858,857,1058,1420,1602,1568,1422,1650,1506,910,930,722,442,503,568,642,545,583,1228,1142,729,550,385,344,288,246,321,421,667,1028,927,641,591,556,1112,1012,720,638,1060,1432,1282,961,1264,1130,662,671,793,1080,1102,1003,1170,1400,1038,957,872,982,1228,1238,1330,1094,1158,795,700,917,1268,1338,1300,1258,1496,1532,952,764,1212,1580,1512,1366,1244,861,546,756,542,503,717,705,619,554,693,844,619,560,794,849,1204,960,512,422,681,952,1248,1408,1132,852,1070,774,998,752,754,940,1026,1042,1500,1128,807,974,1019,1414,1736,1710,1604,1160,753,924,1172,1658,1404,906,1356,1986,1636,1332,1302,1172,1015,717,609,556,544,382,321,596,1174,1664,1776,1844,1710,1566,1512,1208,962,606,857,1208,1100,1142,1096,785,631,635,619,789,935,959,841,830,736,521,570,578,675,835,917,981,940,850,661,725,596,820,1054,794,517,412,481,539,537,516,521,509,526,554,535,545,557,553,550,549,557,573,585,591,603,588,601,619,622,601,613,608,636,643,602,574,553,532,514,495,487,451,443,464,529,947,1426,1500,1268,1238,1464,1682,1562,1406,1168,1112,1110,1088,1122,1120,1140,1230,1562,1530,1256,1502,1618,1640,1362,1316,1356,1708,1708,1378,1404,1098,1198,1424,1322,1262,1156,1148,1242,1232,1170,1826,1680,1428,1148,1036,998,1040,1250,1204,1342,1510,1352,1316,1142,718,515,770,1078,1224,1372,1476,1392,1174,1322,1256,1070,1064,1268,1168,1262,1418,1222,1162,1346,1256,1164,1346,1274,1224,719,777,907,1144,1226,1366,1210,1180,1268,1408,1626,1166,537,520,520,702,836,1226,941,631,804,1224,1884,1766,1182,1078,821,635,666,643,860,1192,1272,846,389,535,682,467,398,653,739,819,686,592,935,1090,1174,998,1056,1262,1454,1444,1080,1116,1354,1216,1114,568,611,785,408,327,572,661,837,926,663,768,975,762,680,627,961,1306,1082,1198,1452,1572,1826,1726,1362,1186,1120,1062,828,1118,1026,1320,1388,1164,1672,2112,1738,874,504,327,343,461,745,838,637,524,407,352,819,1266,1116,1302,1490,1244,1076,1032,994,1362,1164,594,385,650,1190,1304,705,539,712,634,567,686,1050,1448,1440,1602,1302,1300,1396,1378,1226,923,602,377,369,408,744,927,971,1102,1476,1426,737,423,396,363,360,516,776,936,849,1106,1064,1086,991,623,517,625,791,1176,1500,1348,1316,1382,1360,1242,1152,1344,1418,1548,1228,1400,1396,1284,1156,1042,1076,1160,1230,1118,1024,1432,1138,715,990,1038,1010,835,755,842,796,645,636,525,390,390,391,375,374,368,518,1058,1416,1082,529,511,497,506,437,514,443,421,434,372,422,542,575,498,560,737,637,558,599,883,1048,913,865,986,783,530,513,713,914,860,846,1136,1242,1188,1038,766,650,802,619,403,505,485,514,1064,1496,1462,932,861,843,876,741,1138,1534,1478,1196,480,417,380,394,650,588,397,328,343,390,550,643,693,852,1128,1120,1244,883,986,1300,2120,1488,721,614,518,652,801,1012,1332,883,406,398,764,1005,909,1192,1332,920,841,1120,902,555,455,609,864,1404,1376,1272,1001,1114,1392,1650,1568,1238,943,557,495,616,778,1318,1176,945,1116,855,460,426,683,955,935,965,1154,680,671,1322,2844,2932,1054,833,1356,1276,1196,1218,1270,1220,659,735,1070,928,1023,671,651,761,930,967,767,701,666,879,1108,1064,1292,1346,1156,1436,1482,1378,1230,1314,1124,944,990,1226,1338,1058,1074,1168,1598,1680,1548,1312,1470,1438,1204,1340,1210,978,1172,990,756,892,707,840,847,681,856,1162,1218,886],[596,866,876,595,673,722,483,497,770,846,1158,1192,1260,1660,1542,1288,1274,1224,723,460,501,479,459,559,541,514,472,447,408,301,340,516,568,525,509,532,538,490,383,316,305,359,352,340,372,395,371,375,368,346,304,287,285,284,322,519,573,590,785,896,888,783,592,471,423,406,450,410,368,519,562,448,422,433,507,854,922,875,976,1040,996,843,1034,1428,1778,1522,1134,655,514,528,476,471,590,998,805,645,730,989,1368,1354,921,716,575,502,413,348,371,294,311,456,698,755,502,727,1122,1206,871,481,414,549,433,269,296,436,483,374,571,462,310,256,276,250,454,671,464,441,677,1056,1398,1356,637,312,319,626,917,888,1038,1148,1196,1030,860,520,373,777,808,786,773,952,1094,955,733,775,1050,1118,750,739,1058,739,990,1176,1190,1374,990,675,505,637,1021,989,1152,1798,1266,758,998,1094,1200,1332,1406,940,418,384,381,396,461,448,391,378,377,451,397,381,543,574,680,778,686,659,672,736,744,924,961,1076,1100,916,960,1174,1158,1172,1192,948,980,1172,1200,1086,1224,1332,1454,1294,1266,1312,1368,1150,574,834,866,685,891,1094,1188,1100,913,1206,1214,905,874,588,417,821,1266,1282,605,836,830,633,769,937,1030,1284,1186,907,888,672,897,1168,1510,1452,1318,1192,879,1028,1224,1036,840,729,856,1015,1426,1650,1838,2076,1650,1082,935,1178,1344,1290,1278,1274,1230,1316,1384,1566,1352,1264,1768,1160,1144,1082,1072,1296,1086,760,966,1232,1158,681,498,681,616,487,435,462,439,584,661,651,889,1146,1058,1150,1146,1632,2786,1528,1170,1022,1248,1432,1370,1344,1420,1236,1110,1146,1124,1013,1172,952,957,968,1346,1268,996,1042,1058,1126,1430,1500,1624,1406,1454,1590,1760,1808,1586,1572,1122,867,1038,1158,1244,1514,1372,1456,1528,1206,1236,1398,1122,944,897,1042,1122,1276,1174,1172,1112,920,1032,1252,996,738,509,472,588,576,672,1262,1136,534,588,658,630,639,572,495,492,529,1038,873,477,435,360,608,1130,1244,1180,1346,1406,933,833,1098,1210,1260,1084,869,858,774,717,850,1240,1404,1238,1072,996,906,960,1186,1112,1220,1370,1336,984,722,805,1080,1228,1100,1258,1030,1068,1198,1316,1466,1028,933,1096,991,1044,990,932,1108,1146,976,979,901,708,686,1116,1370,1490,1476,1336,1110,807,1046,1310,1350,1186,1142,1210,1156,1152,1044,1252,1218,1476,1440,1114,1100,1252,1332,1300,1152,1108,1050,1096,912,762,903,1284,1218,914,987,1376,1520,1624,1532,1478,1548,1458,1370,1434,1678,1806,1650,1472,1498,1378,1372,1360,1002,951,1009,736,814,780,579,562,859,1128,1276,1248,1234,1116,1009,1018,989,868,980,858,788,706,1106,1208,1192,1268,1440,1268,838,738,853,921,955,1144,1052,999,1034,947,749,597,653,810,1074,1266,1082,1122,1210,1440,1502,1142,1154,1050,1296,1450,1378,1156,1016,1208,1366,1374,997,1272,1290,875,1026,1134,1152,1122,1072,1078,985,950,886,802,1248,1680,1874,1420,1208,1140,1282,1322,1232,1454,1260,666,624,1178,1406,1448,1584,1382,1410,1226,1146,971,981,1074,1222,1270,1074,1234,1372,1106,936,1170,1254,1164,1252,1332,1322,1282,1348,1368,1184,901,988,785,620,822,852,688,629,564,894,1012,968,1116,996,899,1484,1172,1274,1558,1502,1248,1116,1132,1132,1050,1036,993,971,753,657,653,744,1118,1526,828,435,641,965,842,870,889,1310,1734,1384,1330,905,768,970,1120,1666,2312,1416,1332,1290,659,802,915,514,847,1458,949,1230,1126,1018,1252,1426,1360,1274,1188,1180,1184,1372,1254,1142,1072,936,848,872,1092,1116,929,1010,1176,943,529,411,361,501,993,810,656,963,1068,1134,1464,1074,699,717,1310,1756,1566,1250,752,475,561,854,1402,1074,990,1318,1270,917,491,340,311,398,720,1242,1074,995,1084,733,539,465,375,425,572,923,1248,1164,1042,1202,1024,882,956,1028,829,684,647,1024,1640,1478,813,891,1394,1754,1794,1664,1434,1534,1226,984,993,620,934,1526,1438,1536,1962,1764,1384,1294,1236,1370,1494,1560,1200,975,1176,1158,998,1116,1122,795,943,1068,861,1224,1524,1228,799,968,1116,1068,875,828,916,608,652,789,533,794,1354,1394,1332,1316,1172,1102,1054,1070,1100,1056,972,890,664,674,829,1702,2150,2004,1858,1582,1384,1066,987,1292,1304,1396,1382,1496,977,742,664,524,424,452,594,622,540,815,1146,1154,1198,1218,1256,1216,1090,1088,1232,1344,1346,1292,1272,1150,1122,784,926,875,671,922,998,904,986,947,824,1050,1090,1584,1594,1142,777,910,668,831,1007,1122,1180,1136,1020,915,1086,1512,1576,1396,1178,1142,1384,1646,1680,1494,1208,1354,1418,1292,903,959,1336,1404,1478,1466,1196,1076,1252,1184,1180,1404,1546,1694,1636,1476,1496,1796,1708,916,1015,995,1172,1350,1434,1126,1100,1378,1560,1948,1760,1438,1144,986,1054,808,516,474,440,574,811,868,698,728,1106,797,462,404,372,415,458,396,558,749,825,1100,1196,1050,1124,1306,1284,1432,1246,1406,1050,568,569,537,555,697,799,832,1054,1188,1218,1176,987,783,566,592,700,980,924,629,624,871,631,700,669,710,641,651,709,686,664,916,1112,1176,1250,1482,1500,1406,1516,1516,1494,1328,1198,1500,1362,1268,1312,989,991,1202,979,853,711,1058,1354,775,679,559,392,282,210,303,510,541,633,805,1040,818,821,727,720,706,599,512,797,1090,1072,818,926,1168,917,861,1048,1382,1056,564,784,921,749,896,906,921,824,1116,1512,1268,1114,584,529,749,854,969,1004,1036,1422,1688,1186,758,1040,1398,1394,1116,783,635,665,1078,1086,532,340,511,681,736,450,573,560,488,486,461,830,888,581,651,809,829,1050,1366,1346,1146,1290,1378,1068,924,1142,1176,1200,1292,1170,786,588,862,822,815,924,814,704,809,717,940,1578,1780,1262,747,871,1366,1072,1446,1394,1422,1084,601,452,436,475,482,409,383,673,1090,1394,1514,1112,1112,1636,1572,1010,791,1498,1282,655,1124,1440,1110,974,926,877,858,927,955,900,807,632,479,479,575,733,793,688,655,744,824,916,1182,1194,1272,1128,771,546,465,503,551,543,470,430,430,431,508,523,548,576,572,549,544,551,562,567,587,601,590,579,615,599,598,619,611,622,616,595,584,561,546,523,500,506,463,450,465,709,964,1208,1400,1368,1316,1332,1330,1124,1078,984,842,863,945,1046,1298,1394,1644,2168,1710,1126,1404,1574,1700,1388,1356,1438,1570,1542,1262,791,536,773,1260,1338,1234,1108,1284,1318,1346,1230,1188,1222,1284,1114,1026,1007,1080,1318,1194,1208,1260,1202,1312,1248,747,522,817,1072,1184,1260,1180,1234,1192,1224,1264,1126,1182,1282,1170,1208,1262,1126,1152,1122,1090,1462,1816,1346,1202,655,506,1150,1476,1424,1344,1254,1218,1003,1116,939,456,572,584,728,844,775,1230,1108,1028,1130,1232,1378,1552,1634,1506,953,900,1060,661,1032,1210,1088,683,422,318,332,427,682,1212,1172,785,578,449,656,778,727,699,957,1276,1334,1130,742,1062,1026,756,1013,788,682,508,327,436,683,786,955,1190,930,706,781,773,1026,1162,1009,1009,1158,1180,1330,1522,1362,1422,1374,1280,1218,1130,1052,1016,835,806,915,1100,1266,1352,867,327,268,300,350,614,1266,1182,847,564,393,365,601,859,1015,1362,1468,1228,1026,1094,1066,1302,842,399,386,744,1284,1270,781,803,1244,1134,673,542,677,1228,1566,1538,1324,1108,1014,930,706,836,920,577,470,577,969,947,1100,890,1036,910,591,453,367,363,560,755,1172,1294,1162,1364,1238,1292,853,550,807,759,568,1050,1584,1476,1404,1390,1474,1232,1102,1160,1212,1186,1192,1396,1730,1768,1328,1182,1242,989,1168,1184,1240,1278,1126,1046,969,1046,1146,962,725,455,470,774,1356,792,388,374,384,362,350,440,849,1286,1456,1296,677,482,447,455,479,463,471,482,447,392,418,517,543,477,655,1128,996,948,1402,1792,1796,1594,1438,1120,757,602,789,856,750,749,868,1084,1194,1232,814,357,597,1066,750,371,382,457,529,1166,1444,1168,1050,927,698,781,1116,1544,1672,1692,1030,479,428,470,390,421,460,413,354,314,506,725,781,1140,1136,1338,1202,1382,879,598,850,1800,1510,952,728,522,641,724,763,935,761,650,609,1086,1288,1152,1282,1350,999,819,921,792,748,567,615,966,1228,1268,1130,1210,1426,1460,1470,1444,1500,1266,857,762,1020,918,1102,1088,1180,1262,733,372,410,590,943,1050,660,868,750,940,1202,1830,1760,924,754,1084,1184,1256,1034,856,1034,621,477,761,1328,1548,1240,965,1156,1380,1132,908,927,595,744,1048,1306,1376,1360,1312,1212,1278,1408,1518,1370,1064,771,969,1190,1382,1060,924,1372,1820,1716,1538,1262,1204,1322,1098,938,821,725,830,676,617,634,741,837,725,492,487,948,1294,1012],[758,566,487,444,564,742,646,762,824,837,1036,1134,1542,1722,1220,1100,965,717,480,403,432,470,470,517,540,520,446,378,357,373,472,553,594,608,591,601,594,510,373,279,296,330,359,382,403,417,365,346,330,315,306,302,295,285,346,617,717,681,808,772,835,1060,713,485,401,396,436,427,469,762,875,606,450,429,532,789,858,1140,1232,1058,950,746,639,1104,1366,1200,1100,835,609,508,494,530,575,694,600,479,556,901,1288,1012,902,921,656,443,408,355,322,305,367,360,317,447,491,776,1218,1032,580,370,277,303,285,321,342,481,407,287,235,217,278,335,333,334,333,362,419,464,871,1088,1328,941,464,352,324,540,653,385,593,1028,1310,1328,1212,1114,897,798,948,1106,1170,1194,1230,1007,689,919,1380,1202,1118,966,987,816,791,791,1164,1376,1266,967,869,954,1058,938,1196,1764,1256,552,565,971,918,991,1168,753,369,355,352,370,471,462,457,468,429,408,377,367,467,779,1166,871,566,591,760,1028,990,1078,1050,969,1348,1466,1256,1208,694,742,1126,1214,1294,1248,1330,1246,1054,1218,1190,1036,1222,1104,1052,875,713,593,590,637,881,980,932,939,1190,1460,1152,861,409,385,768,1028,1078,865,737,867,670,486,484,705,1022,1136,919,1018,1078,1144,1028,1234,1310,1272,1198,1082,891,928,1126,1104,1062,1009,1092,1202,1410,1440,1572,1674,1284,986,1068,1290,1152,1218,1294,1384,1198,1298,1184,1248,1416,1122,940,946,915,821,791,858,816,653,543,615,771,780,988,1168,968,604,466,405,439,460,416,442,647,1040,973,1066,1116,945,775,844,1144,1162,1128,1292,1192,1308,1438,1302,1294,1392,1422,1606,1930,1562,1030,952,1096,1134,1172,1172,1250,1194,1498,1416,1688,1850,1618,1694,1510,1240,1440,1422,1124,813,869,991,1076,1284,1090,801,1156,1246,1166,1206,1332,1214,1426,1654,1186,1222,1110,1134,1108,1278,1132,980,857,708,528,535,658,576,656,1428,1382,725,656,590,564,605,525,452,432,555,773,601,512,359,350,877,1726,1588,1566,1982,1864,946,830,1076,1112,962,697,583,581,621,896,1208,1216,1072,973,996,1001,843,966,1180,1114,1158,1004,1050,962,1028,1138,982,1086,1362,1088,638,979,1200,1436,1064,1036,1194,1230,859,829,950,882,1230,1384,969,917,636,667,654,838,964,1272,1290,1194,1172,1062,1004,960,1056,1092,1162,1188,1340,1500,1210,1114,1076,1542,1448,1162,1208,1378,1490,1482,1340,1316,1282,1284,1009,824,815,928,995,882,877,1092,1400,1212,880,951,1438,1688,1592,1150,1350,1826,1806,1782,1824,1644,1356,897,926,1144,825,796,926,879,647,597,818,1160,1158,1134,1328,1424,1314,1136,951,995,1128,899,832,815,1092,1214,1262,1334,1372,985,824,805,1014,885,951,1154,1158,1178,1056,938,891,845,913,944,1048,1058,995,1088,1098,1206,1148,1352,1170,891,1354,1500,1382,1182,1260,1290,1264,1444,1224,1466,1286,1140,1194,1110,1082,1044,1092,1184,1316,1328,942,868,1222,1538,1646,1366,1118,1084,1288,1136,965,1086,979,742,847,1250,1310,1308,1550,1416,1236,1100,1036,1024,1066,1206,1388,1322,1332,1310,920,841,940,1106,1096,1184,1262,1280,1250,853,684,953,1040,968,1498,1202,1116,1136,893,624,546,664,924,990,1044,1028,1032,861,1616,1196,1504,1770,1422,1282,1236,1136,1052,1074,1086,915,688,943,1042,671,508,750,850,675,561,814,993,746,783,942,1334,1242,858,720,687,766,744,677,808,692,551,905,805,769,1200,1464,992,1216,1452,1068,1100,1420,1290,1032,1238,1142,764,833,931,1128,1352,1144,1050,1164,1302,1326,1056,1118,1274,1162,1210,1122,685,382,456,370,443,1052,1086,934,832,695,949,1308,1344,1178,1416,1882,1990,1816,1330,841,545,407,832,1404,1178,1134,1280,1136,911,439,329,332,349,583,1120,1046,882,924,699,637,590,503,603,698,710,1070,1230,1130,1104,1040,1050,988,1516,1328,737,710,871,1592,1320,682,1072,1354,1602,1672,1620,1604,1620,1430,1492,1238,977,1356,1600,1388,1512,2224,1936,1614,1260,1240,1318,1522,1332,744,1023,1512,758,584,839,1288,1220,1474,1426,1354,1154,1322,1036,797,1346,1394,1376,1260,927,809,749,1050,1078,814,1162,1368,1212,1340,1430,1108,655,836,969,999,980,938,702,549,488,1402,3086,3484,2842,1968,1406,1284,1248,976,1168,1328,1268,1510,1334,750,556,504,541,462,430,466,501,556,943,1092,1194,1222,1138,1026,1092,1220,1206,1236,1338,1194,967,1080,1142,1004,582,803,1120,1120,935,1007,1186,1023,1116,1023,1152,1122,1332,1542,1056,539,472,491,747,1090,1332,1326,1164,1290,1544,1610,1436,1086,999,838,986,1498,1714,1568,1324,1298,1340,1192,1266,969,877,985,1266,1242,1068,874,878,1190,1228,1252,1476,1384,1618,1614,1632,1570,1466,1274,962,1106,1204,930,983,1066,852,1026,1166,1588,1462,1328,1438,1076,1058,1208,825,584,570,492,463,577,753,865,719,779,827,554,365,342,372,333,330,544,943,1204,850,597,627,862,1092,1134,1292,1140,1886,1714,1036,1005,1088,1118,1220,1244,1294,1488,1778,1764,1168,900,948,1038,832,725,809,859,814,566,558,538,633,555,518,536,642,889,1004,1090,1250,1376,1438,1286,1676,1770,1458,1120,1340,1596,1150,1078,1266,1090,1182,1338,993,944,1176,938,508,640,1244,982,516,440,404,376,309,350,513,450,694,1202,1024,896,869,933,987,783,476,430,675,1001,987,1054,785,750,1032,924,908,880,767,459,673,787,955,1052,1066,798,994,940,763,1182,1240,797,488,444,566,676,733,687,713,1180,1550,1090,789,825,971,933,909,686,562,501,596,653,507,544,698,875,915,532,457,682,934,754,500,604,556,702,986,790,556,801,1238,1488,1498,1416,1530,1460,1520,1384,1412,1990,1944,1086,753,592,507,360,387,598,717,851,967,851,978,1428,1642,1388,1122,566,754,767,952,1136,1206,1048,885,675,307,376,550,434,297,534,1104,1562,1476,1374,1188,1412,1460,700,819,1864,1866,1534,1836,1494,712,799,1012,965,1034,1186,1204,1170,1023,692,512,550,567,585,607,688,693,529,526,603,1206,1600,1522,1214,714,513,522,557,581,574,506,461,443,410,437,503,539,553,551,545,540,549,549,563,570,599,594,588,625,610,584,594,597,614,622,618,601,576,553,541,519,495,456,441,503,637,722,1026,1162,1240,1192,1050,899,651,753,827,866,1020,1148,1148,1104,1094,1536,1902,1792,1340,1488,1554,1700,1534,1176,1032,1228,1338,1052,702,617,593,1021,1208,1116,1072,1394,1202,982,1242,1370,1244,1124,990,994,951,1144,1398,1318,1320,1166,1007,1238,1246,943,1019,1318,1242,1456,1664,1408,1258,1268,1306,1218,1028,1040,1108,1062,1134,1168,1058,1258,1106,1098,1568,1606,1244,1158,783,874,1498,1460,1392,1300,1288,1024,781,866,686,509,630,687,703,685,800,935,869,963,1096,1228,1350,1328,1862,1244,754,857,1152,878,732,705,674,831,936,792,963,1204,1296,1730,1486,720,419,629,865,641,376,540,986,1262,1180,1172,882,1092,833,813,1136,1172,955,658,528,672,965,1096,1001,1100,1002,846,798,1026,1162,1216,1016,1106,1572,1562,1288,1098,742,1166,1182,1298,1230,1258,1212,1011,1046,857,544,794,1142,1021,710,348,325,371,427,1036,1616,1312,885,665,563,462,508,658,650,1046,1380,1246,1084,1100,1168,1226,786,390,412,589,788,735,827,938,1290,1268,1038,554,540,883,1100,1456,1656,1302,988,633,418,527,813,1028,869,991,1080,935,995,1170,915,518,455,412,424,447,1104,1122,1122,898,1110,1258,1240,1108,627,601,1026,914,745,1092,1396,1202,1188,1418,1476,1500,1546,1412,1434,1278,1162,1446,1848,1448,1198,1308,1328,1013,1120,1212,1104,1056,1009,882,977,1088,1036,908,451,340,351,730,956,625,443,406,386,386,454,623,1026,1206,1414,1250,678,439,516,491,438,477,546,507,434,414,441,443,469,471,671,1190,1406,1512,1886,2346,2424,2376,2334,1802,1042,802,840,763,875,979,913,888,1048,1202,932,644,730,1180,617,462,733,981,846,1268,1230,1072,970,687,595,692,879,749,1244,1324,609,474,674,586,412,397,469,615,582,585,684,935,1146,1866,1032,889,887,1006,799,1074,1238,1278,1494,1422,1224,763,791,566,547,463,582,837,1068,1082,1120,1162,855,924,996,871,926,642,686,861,955,798,563,667,764,902,1280,1754,1698,1592,1420,1440,1116,1188,1440,1588,1444,1050,1270,1356,689,344,335,340,501,789,620,620,513,693,796,554,492,573,888,912,1142,1318,1132,766,1094,769,502,586,1064,1206,820,952,1576,1714,1354,1586,1390,956,1044,1100,1172,1218,1198,1096,1092,1144,1142,1206,1448,1482,1198,1182,998,1154,1136,1288,1578,1750,1708,1306,1062,863,1116,897,1078,951,640,767,779,661,746,905,859,684,470,508,893,1332,1116],[709,545,536,505,575,913,1058,1166,1082,988,883,844,1278,1292,803,832,498,349,391,429,435,470,492,505,507,504,430,358,378,454,585,562,604,638,573,531,551,492,346,297,352,379,396,371,336,359,338,370,375,320,310,328,307,287,428,863,986,738,799,764,705,878,881,623,448,423,487,586,615,728,897,841,536,386,437,691,951,1240,1132,1034,893,663,513,634,979,1042,959,1005,865,617,560,473,561,673,553,439,400,529,784,1144,1530,1054,684,467,373,295,291,307,369,367,296,393,583,799,1120,924,507,323,276,349,342,262,359,466,370,259,263,276,404,598,450,366,369,359,399,342,506,870,1214,1166,857,517,305,327,356,342,604,1164,1300,747,687,995,938,997,1168,1346,1416,1244,1076,910,819,1021,1262,1152,1360,1242,1108,1086,692,784,1218,1098,874,636,991,899,1142,1154,1130,1338,1158,713,890,1148,855,629,826,523,334,317,328,328,386,429,446,445,396,398,409,424,647,1118,1232,725,454,790,1008,1064,1024,1038,1106,1318,1428,1274,1318,973,421,404,957,1364,1444,1316,1434,1136,651,825,777,503,788,807,839,1078,1262,1120,1012,753,735,758,771,1214,1650,1256,546,445,347,763,1336,1362,1050,927,1070,854,698,475,583,730,673,1042,1015,1030,1164,1050,944,1158,1212,1216,1136,982,1144,1116,1250,1226,1262,1206,979,836,1216,1284,1320,1398,1198,949,1246,1670,1676,1372,1286,1068,881,1106,1050,1276,1430,1072,869,818,753,656,523,590,735,644,525,457,477,797,1078,1444,1228,573,478,434,426,420,437,438,633,977,876,929,1234,1252,1448,1474,1170,1122,1158,1248,1138,1308,1278,1328,1386,2100,1880,1554,1806,1592,1188,908,918,1082,1474,1510,1228,1144,1216,1262,1524,1820,1858,1932,1412,1030,1182,1144,1036,705,420,713,802,747,775,943,1154,1092,1208,1454,1268,1012,1512,1652,1230,1096,1162,1238,1128,1396,1578,1310,862,664,492,476,553,674,626,1244,1498,966,574,474,501,526,474,409,396,490,678,498,442,319,411,1308,1828,1726,1826,2170,1700,976,1021,1238,1318,1116,1080,1086,1034,852,932,1200,1130,1030,1072,1108,1192,1532,1586,1274,965,992,645,566,636,933,1005,889,1028,1216,1040,728,1086,1264,1164,1170,1050,876,1170,1416,1246,1130,1098,1288,1036,830,1024,679,745,735,932,943,1072,1094,1216,1246,927,838,792,714,828,1190,1152,1428,1572,1202,949,1098,1382,1356,1220,1350,1542,1396,1216,1140,1198,1282,1234,1184,1148,1106,982,1024,1030,775,876,936,531,678,993,1598,1788,1658,1066,998,1506,1534,1530,1622,1698,1594,1220,879,1174,1010,1354,1376,1192,1070,834,1008,1266,1116,951,933,1100,1234,1334,1120,1192,1258,890,609,725,825,824,1060,1184,1384,1170,1048,1006,935,858,1030,1064,1014,1030,1054,971,1056,1054,1056,868,886,999,1070,949,959,1152,1258,1368,1168,1286,1542,1220,1102,1034,1198,1136,1172,1444,1198,1030,1100,1296,1372,1358,1144,1132,1180,1270,1474,1380,958,883,1090,1248,1072,772,846,1080,1284,1180,1094,1154,1166,1038,1046,1184,1154,1282,1616,1454,1248,1184,1064,1146,1092,1222,1372,1286,1174,1076,951,898,1034,1168,1052,1042,1162,1092,1023,838,669,792,817,674,1194,1366,1328,1130,854,590,575,755,1136,872,1112,1028,978,933,1672,1282,1116,1454,1550,1482,1476,1414,1146,1036,941,1062,1122,1160,742,594,719,623,700,825,693,1066,1224,1048,1194,1170,1462,1248,808,846,747,810,828,883,905,600,622,814,1108,1782,1892,1508,1192,1124,1060,1026,1322,2008,1736,1272,1052,1013,885,826,602,937,946,1009,1158,1332,1346,1450,991,625,798,966,899,998,506,433,380,325,306,456,741,758,623,579,616,1014,1284,1136,1662,2050,2036,1614,1003,575,446,349,765,1302,1384,1554,1438,1478,1076,458,300,352,338,393,489,495,644,835,727,485,718,1164,1052,1058,741,518,729,884,906,943,813,812,1406,1114,504,554,727,1202,1072,998,1078,1354,1400,1368,1380,1354,1186,1346,1512,1346,1542,1692,1736,1620,1116,2370,2512,1970,1502,1350,1456,1490,1180,1018,1336,1244,602,668,1262,1586,1508,1654,1294,963,866,702,616,628,748,908,1220,1516,1384,922,872,1016,974,1040,1342,1360,1352,1596,1694,1250,624,1015,1116,949,878,725,554,556,736,2220,4008,4700,4560,2394,1564,1520,1458,1400,1476,1394,1460,1420,869,713,672,531,547,550,536,478,450,702,1102,1232,1180,1108,1092,934,1056,1210,1204,1144,1164,1104,866,957,1184,1126,712,866,1332,1288,988,1028,990,727,849,1088,1326,1056,973,1474,1210,768,603,412,502,796,1232,1560,1498,1602,1470,1320,1036,1128,1406,1148,910,1268,1448,1200,1328,1472,1462,1110,1152,1204,1004,927,699,622,664,764,877,924,1007,1252,1328,1488,1594,1538,1578,1588,1636,1516,1136,1158,1224,918,1176,1042,1098,1190,1240,1160,597,940,1046,742,1011,994,719,676,680,615,558,459,384,610,1050,968,963,933,588,433,433,327,376,423,511,629,881,858,523,469,825,1238,1228,1458,1980,1492,1110,981,1030,1226,1322,1370,1354,772,858,1142,1136,1005,938,1054,751,769,947,846,605,375,342,440,543,553,673,951,1176,1188,1060,1204,1576,1610,1594,1448,1578,1820,1468,1082,1180,1010,1013,1128,1286,1112,1032,983,650,576,640,529,481,938,1222,716,478,372,360,448,463,498,558,419,444,1032,1226,692,759,975,955,1222,1182,680,825,907,939,914,472,485,850,1188,1104,991,855,1090,1148,1118,1208,1024,905,630,874,1004,724,1092,1054,762,591,549,636,707,741,616,531,847,1338,1226,844,478,515,539,686,677,616,490,377,396,377,427,713,1126,1292,922,557,617,1034,1160,1048,872,841,905,746,493,481,775,1350,1636,1622,1522,1396,1586,1470,1058,1094,1358,1310,1176,1238,980,555,462,451,642,806,882,919,1001,1312,1420,1278,1302,1184,664,543,475,464,666,856,1060,1302,1120,495,423,824,807,492,452,791,1072,963,1148,988,742,637,532,700,1196,1534,1940,2094,1994,1394,841,788,841,734,954,1214,1020,1010,1122,1102,936,900,997,1048,1102,970,891,912,935,1168,1328,1338,960,501,485,577,610,620,623,590,557,540,513,512,532,530,545,554,548,536,550,527,461,485,553,580,578,593,590,580,581,598,610,610,620,619,600,586,568,541,502,456,429,553,836,924,968,902,992,1172,1052,773,551,745,1184,1350,1176,1094,1120,1216,1310,1416,1296,1450,1594,1518,1476,1624,1616,1178,819,1003,1224,901,664,574,480,806,1084,990,807,871,741,752,1036,1244,1260,1182,836,910,963,1078,1262,1308,1394,1208,1094,1248,1302,1262,1166,1092,1490,1620,1588,1368,1426,1578,1476,1214,1156,1060,878,946,1018,1084,1066,1198,1262,1262,1272,1282,1282,1440,1382,1422,1316,1220,1422,1356,1302,1082,915,935,930,633,712,761,657,666,844,774,616,791,1284,1304,1162,1210,1342,1134,1114,1074,717,502,593,515,778,1230,1422,1078,1132,1176,1258,1730,1562,792,409,626,885,658,578,609,1114,1820,1576,1268,1172,1282,833,689,899,1007,956,905,855,729,888,1166,1180,1330,1260,1152,1302,1596,1466,1158,1158,1382,1434,1312,1256,1058,583,639,714,969,907,854,875,1001,1108,1078,837,766,984,1432,1216,631,494,410,645,1342,1616,1382,977,586,546,710,806,752,685,631,904,1000,1018,1088,1086,1082,921,533,379,395,515,785,1048,692,847,1118,932,568,731,1144,1154,1346,1570,1448,1460,1108,605,461,799,1170,1256,1172,1202,1308,1624,1678,831,445,424,431,407,509,1080,1274,1042,822,991,1044,1005,921,747,484,819,933,1028,1322,1500,1366,1362,1392,1396,1502,1256,1288,1552,1382,855,1250,1318,903,1152,1332,1456,1312,1062,1046,999,995,1130,988,973,1001,870,832,500,432,594,692,852,1050,642,430,494,653,893,1004,1126,1062,1330,998,583,477,474,395,366,601,753,581,487,484,407,426,476,501,576,722,1264,1600,1926,2658,2728,2536,2454,2004,1168,901,803,943,1264,1086,798,762,825,914,1094,1228,1015,1166,724,606,1066,1274,1180,1094,948,869,706,680,745,945,880,615,889,738,505,561,895,785,580,424,684,1021,742,611,605,959,1005,1066,659,542,443,413,468,754,1094,1440,1394,1242,1042,835,879,984,1028,628,489,698,757,465,855,1248,983,968,992,946,871,716,954,1378,1282,747,686,822,650,697,916,1204,1674,1626,1578,1636,1372,1324,1382,1396,1320,1050,1028,996,522,395,341,313,628,1026,999,817,605,568,518,515,457,573,1130,1230,1512,1454,946,900,1100,782,487,455,476,497,505,834,1054,1356,1182,1582,1478,1230,1046,929,940,938,1062,1124,1222,1218,1214,1328,1486,1210,1276,1466,1528,1434,1378,1540,1910,1826,1638,1364,1200,1126,1312,1064,1240,1146,857,802,781,777,1030,1150,1046,844,761,904,939,1084,1266],[839,859,786,739,910,1330,1396,1364,1368,1072,644,719,1114,1126,765,650,444,404,435,442,454,477,511,498,434,473,407,344,423,509,590,613,611,597,541,452,436,465,441,339,360,397,424,430,386,324,359,418,361,288,294,306,303,297,363,804,1162,919,1186,1154,872,1032,1218,903,579,494,465,487,578,586,753,818,638,460,455,798,1046,1024,978,1012,984,1034,1058,929,1086,1212,1118,1028,986,656,494,504,648,819,884,784,488,565,916,1266,1350,821,569,475,313,294,337,314,449,504,368,372,577,811,1064,1170,611,308,393,427,320,302,329,344,277,275,304,290,358,402,336,389,493,534,390,388,415,533,1060,1182,768,664,332,297,409,510,575,969,948,533,629,825,855,642,880,1328,1108,1004,985,1138,1184,1272,1334,1354,1504,1266,1038,1322,795,736,1144,1106,755,407,693,967,1042,1090,1074,1112,1166,1206,1290,1022,767,523,772,425,277,314,361,381,380,401,450,463,433,411,411,488,901,1122,1096,764,560,877,1088,1172,1368,1178,1218,1078,1178,1426,1166,555,388,419,703,1002,1248,1312,1256,921,697,824,489,367,433,719,1252,1290,1004,1114,1216,912,679,629,947,1290,1544,1352,730,469,591,968,1018,1404,1322,1005,946,636,808,648,778,1354,1308,1266,1248,1400,1452,1008,802,1026,1222,1224,1008,725,1194,1190,1278,1352,1122,1192,997,744,1184,1350,1028,1182,1262,976,1256,1588,1738,1626,1584,1274,1050,772,849,1190,1088,753,596,594,644,749,503,393,571,699,585,553,630,745,1036,1330,1096,512,420,412,441,413,379,558,919,1112,1054,1013,1138,1266,1434,1490,1664,1216,979,1024,927,1100,1138,1124,1246,1382,1182,1400,1340,1430,1464,1268,1160,1166,1186,1222,1118,1076,1104,1124,1262,1560,1632,1438,1216,1204,1294,1416,1114,547,550,836,955,1114,1026,1204,1240,669,808,1098,1116,695,874,1098,1262,1120,1074,1006,781,833,1042,1030,934,760,492,516,700,786,586,658,890,774,463,421,473,432,421,375,375,817,938,648,420,301,684,1578,1848,1778,1822,1716,1206,863,645,701,1042,1360,1372,1480,1428,987,969,1144,1094,1048,1034,1140,1246,1518,1576,1390,1156,1023,817,519,367,670,952,994,1106,1112,1094,1004,1184,1180,1184,1300,1044,874,1588,1932,1436,1318,1216,1400,1078,921,933,705,657,734,1238,1278,1214,1194,1290,1224,1036,898,930,1108,1040,1088,993,1238,1272,1178,1178,1042,1116,1100,1005,1122,1458,1198,1164,1132,1078,990,883,996,1148,1124,1086,1172,1174,994,1322,734,702,2612,3474,3770,2902,1802,1234,1060,1246,1306,1452,1288,1382,1602,1722,1592,1498,1516,1722,1466,1244,1072,835,1021,1026,888,734,971,1162,1114,1192,1150,1322,1288,993,828,793,989,882,594,678,1023,1092,937,1036,1076,1146,1316,1164,872,1012,1184,916,980,934,921,907,1030,1072,1016,1024,1096,1080,1276,1450,1234,1182,1302,1264,1180,1196,1174,982,1134,1264,1068,973,1204,1444,1374,1262,1034,1082,1340,1390,1100,1086,1082,778,678,900,888,735,870,1084,1214,1148,1136,1246,1380,1192,956,984,979,1314,1620,1354,1310,1058,1086,1082,1005,1138,1294,1232,1218,1182,1132,1066,972,1100,1208,1186,891,1030,1062,949,732,797,860,702,889,1292,1370,1058,807,584,691,837,1254,873,1028,1124,888,1054,1672,1358,985,1296,1476,1424,1368,1472,1208,1228,1270,1338,1304,1078,615,532,624,578,728,908,817,1022,771,1166,1376,1318,1346,1418,1344,905,657,779,874,906,781,725,791,900,1788,2080,1742,1256,1130,1020,1428,1814,1938,1896,1506,1270,1290,1088,1160,979,991,1154,1120,1162,1234,1246,1328,1340,1196,1126,1110,1176,1382,1478,1032,745,791,707,361,340,367,385,512,614,767,1234,1178,908,1476,2034,1918,1094,546,435,356,350,518,799,1260,1412,925,815,648,458,323,391,440,495,756,1072,932,960,786,684,1108,1748,1284,1364,1142,890,951,853,771,996,1122,874,1184,973,476,486,951,1312,1350,1188,1170,929,730,811,920,1290,1198,1238,1296,829,916,1416,1594,1748,1340,1574,1910,1840,1660,1288,1156,1148,1256,1088,1132,955,607,889,1620,1606,1498,1528,949,1000,1064,916,1026,940,684,624,708,859,957,1062,893,662,812,1028,1260,1216,1270,1818,1778,875,980,1190,1252,1020,547,444,734,719,1164,3188,4284,4992,3760,1946,1286,1100,1258,1436,1368,1370,1388,896,775,1042,672,518,492,504,513,534,524,825,1082,1112,1001,995,1034,1005,1154,1204,1252,1234,1268,1244,964,773,1234,1440,1150,1034,1386,1388,1096,1046,1060,1074,906,902,1088,870,921,1388,1166,665,706,769,923,1252,1400,1318,1248,1244,1248,1576,1774,1720,1732,1650,1368,1432,1478,1462,1516,1544,1426,1354,1390,1144,1364,1266,614,477,543,625,816,944,1166,1064,1122,1478,1230,1258,1504,1466,1532,1686,1504,1388,1258,1174,1246,1200,1386,1234,1294,1210,922,872,619,655,849,789,623,662,672,680,647,604,568,526,813,794,1040,1384,1156,680,353,352,465,597,525,385,873,937,705,680,576,685,1050,1284,1550,1454,1056,979,1100,1056,980,1066,949,541,583,900,1122,1186,995,809,595,638,482,471,473,393,472,594,818,1070,1198,1234,1086,981,1064,1100,1282,1508,1362,1516,1668,2096,1786,1388,1710,1778,1808,1432,1300,1056,1266,1166,741,672,810,933,947,1266,1082,464,395,375,360,455,487,543,998,1396,980,883,877,457,574,970,1238,1482,1592,1458,1216,979,805,802,550,780,1482,1444,1246,1220,1058,1164,1372,1368,1250,998,711,1020,1208,1328,1322,1226,1070,764,641,536,694,738,713,638,444,678,1204,1188,840,581,474,570,590,451,428,542,583,534,487,414,472,903,1084,852,725,875,1076,1294,1118,972,934,560,448,733,977,1756,2408,1984,1566,1418,1300,1598,1600,1060,917,1036,1612,1606,1578,1360,851,698,674,683,934,1138,1074,1050,1262,1276,862,921,858,855,768,515,354,436,664,688,550,579,573,798,1398,1350,763,461,701,726,411,579,896,908,775,786,762,1194,1478,1498,1432,1332,923,1100,1594,1554,1478,1560,1206,884,965,1012,659,667,884,830,719,744,766,754,665,729,1096,1021,1080,664,407,496,577,598,608,603,589,574,572,579,560,551,553,554,554,551,542,532,439,385,485,580,594,594,586,574,597,582,584,596,601,615,618,620,607,582,563,535,479,458,578,1016,1242,1106,805,866,987,1000,897,1122,1666,1594,2150,1666,1284,1368,1202,1152,1160,1060,1106,1504,1578,1362,1490,1668,1390,940,886,1300,1264,838,793,1036,1040,1010,969,841,844,769,808,1009,1076,959,1050,929,980,1044,1104,1310,1530,1468,1258,1346,1466,1238,1212,1318,1158,1182,1546,1472,1256,1572,1840,1652,1310,1482,1294,982,917,952,1094,1146,1316,1714,1676,1340,1172,1162,1346,1400,1218,1026,1472,1544,1464,1244,1112,998,1082,850,544,731,940,917,794,1202,912,796,617,909,929,973,1096,916,1072,1338,1138,716,574,825,962,1284,1182,945,1020,1236,1128,1296,1860,1780,893,451,658,1144,844,1282,829,1326,2150,1670,1262,1322,1296,1098,909,948,1406,1226,807,855,706,886,1206,1172,1108,1086,1116,1306,1506,1410,1294,1366,1126,957,843,1152,1170,944,706,550,622,695,724,872,1034,1048,1015,995,678,816,1138,919,892,872,784,1148,1586,1378,1142,843,566,641,887,916,749,724,829,988,1082,1038,1028,953,1000,1346,988,589,515,844,1064,1214,796,656,1066,936,515,841,1272,1188,1576,1486,1012,1238,1128,991,932,1158,1288,1160,1074,1118,1015,976,1278,1024,721,454,352,536,697,805,1060,1021,849,819,835,750,569,896,728,796,612,454,1046,1358,1268,1316,1300,1304,1200,938,1168,1402,1430,1322,1454,1256,858,956,1152,1448,1354,930,1082,1144,935,1096,1112,774,755,607,610,434,467,641,572,1116,1714,919,758,1042,1136,1274,1170,1021,712,768,719,551,506,464,345,350,564,753,800,836,570,385,436,639,615,527,686,903,1040,1874,2732,2544,2332,2338,1994,1584,1334,1192,1088,1132,1216,1074,981,1020,1050,1070,1044,1086,924,536,924,1122,719,778,948,903,629,792,889,1106,1202,743,504,539,601,789,1246,1364,1288,1172,999,1220,1184,742,454,371,832,991,725,666,630,593,421,395,611,970,1064,1021,906,1160,1258,1013,1550,1400,663,662,522,752,771,1104,1174,1090,1078,1186,1326,977,987,1664,1848,1384,1130,1306,1448,818,603,656,895,1086,988,1412,1708,1312,1184,1168,1296,1232,1204,1116,1005,896,877,904,772,900,1130,1208,1086,1092,1144,951,864,517,634,1190,1328,1344,1128,1230,1208,1168,1238,927,716,355,299,350,435,434,509,490,932,1072,985,877,992,1122,1030,1048,1170,1378,1376,1190,1266,1314,965,827,1278,1482,1532,1522,1496,1460,1462,1546,1708,1532,1456,1592,1468,1288,1358,1312,1162,1058,1038,1172,985,1158,1018,1072,1214,963,938,1154],[1024,1046,974,811,968,1246,1260,1362,1388,1002,570,530,616,684,684,514,453,466,413,386,431,444,455,429,388,386,398,410,448,448,494,591,607,541,480,421,390,437,573,482,364,371,421,483,476,408,350,321,324,296,285,284,305,311,297,599,1094,894,1362,1330,854,976,1168,899,516,472,494,487,558,455,519,591,752,653,581,793,896,788,830,941,1066,1386,1248,1190,1272,1182,1182,1172,1023,662,419,492,813,904,1230,1106,902,643,693,961,782,627,487,392,454,386,356,508,818,725,569,469,761,1280,1748,1788,845,340,407,364,312,330,266,243,214,333,485,407,461,774,1084,853,773,745,456,482,526,804,985,739,859,924,733,514,599,885,863,712,666,690,767,835,1052,713,967,1308,808,913,1072,991,924,960,1066,1084,1196,1084,1198,1400,887,664,891,915,710,554,836,1090,1076,1060,825,851,1074,1202,1064,771,729,821,781,433,341,419,473,458,407,352,361,415,457,496,488,475,945,1194,1054,891,795,763,928,1090,1396,1017,960,963,1062,1306,873,466,449,464,515,641,1008,1206,964,893,972,701,399,358,579,935,1084,661,375,765,1114,1194,858,901,1214,1284,1310,1170,613,473,894,908,819,1280,1066,785,811,855,1018,885,809,1650,1744,1382,1142,1390,1752,1552,1021,1050,1084,1132,718,705,1366,1230,1188,1160,1114,1086,1098,1210,1206,1120,1007,1244,1504,1438,1534,1522,1650,1628,1620,1570,1432,1262,1162,1064,917,657,601,665,651,877,612,461,538,607,547,676,794,738,912,803,725,691,774,765,612,693,662,993,1420,1302,1166,962,956,1228,1246,1386,1482,1252,1086,835,797,1188,1258,1005,972,1122,1076,1118,1154,1312,1352,1400,1418,1360,1236,1150,1140,1094,1088,1168,1200,1542,1242,1156,1336,1340,1234,1502,1300,832,952,799,608,979,1130,971,1082,1042,882,930,1270,1060,1082,1164,1208,1124,1136,1006,532,417,486,426,527,736,736,584,470,629,788,773,692,645,425,407,451,423,413,396,577,1250,1296,875,408,497,1128,1654,1762,1762,1476,1262,1180,786,575,475,409,828,1548,2054,1580,960,769,916,1088,1136,1058,1005,1162,1090,1026,1410,1636,1168,687,476,380,550,937,1142,1156,1124,949,1156,1146,1264,1278,1306,1320,1034,1280,1500,1184,1178,1250,1534,1222,1030,838,690,730,1001,1122,1170,1208,993,941,1194,1246,1092,1114,1282,1184,871,743,970,951,923,1136,1098,987,887,989,1250,1548,1198,1208,1114,1032,988,992,1034,1076,995,985,1152,1328,1272,1430,724,1470,2988,2942,3240,3682,3156,1332,1086,1130,1048,1182,1184,1030,1174,1360,1488,1594,1770,1842,1750,1626,998,1082,1422,1188,821,641,927,941,926,1028,1086,1188,1156,1336,1382,1226,1044,667,770,829,905,821,902,1114,954,1198,1600,948,652,772,863,771,812,885,831,779,809,903,973,971,973,852,995,1052,1072,1048,1110,1088,1074,1028,921,1032,1262,1094,1136,1150,1306,1412,1296,1140,977,961,1186,1620,1354,1200,1134,787,762,995,930,896,844,1158,1196,1194,1358,1376,1548,1242,998,1136,1144,1426,1670,1302,1274,1064,1202,1114,1064,1084,1102,1110,1162,1260,1238,1164,1026,1182,1268,1396,935,885,1178,1406,1030,997,1026,840,991,1366,1454,1034,833,695,670,922,1062,927,1032,1124,885,1012,1610,1178,1186,1356,1350,1344,1418,1600,1754,1672,1664,1682,1436,900,406,391,387,497,625,1003,1058,1048,1078,1614,1290,986,1072,1348,1178,771,780,1128,839,728,658,819,857,755,1430,1792,1574,1462,1406,1318,1742,1920,1810,1556,1638,1374,1290,897,1064,1130,1186,1072,1116,1350,1274,1344,1168,1102,1140,1206,1592,1610,1532,1244,716,490,1022,921,368,323,459,647,844,1194,1588,1554,1214,906,1400,1860,1510,847,583,528,382,307,379,502,1080,905,856,1040,1102,642,331,505,742,885,1062,1278,950,1156,1022,909,1116,1214,973,1246,1434,1528,1186,713,874,956,1156,874,1009,885,660,764,910,1023,1174,1410,1588,987,650,927,999,957,1182,1098,1070,589,585,968,1370,1584,1470,1404,1278,1552,1670,1412,1164,1102,1118,1060,1060,758,611,1242,1870,1532,1568,1422,598,661,784,1068,1086,1130,1036,926,986,901,829,1062,875,679,1062,995,963,1017,1023,1392,1158,802,1094,1278,1332,811,501,738,1440,1560,1782,3188,4444,4928,2988,1566,911,530,602,968,1346,1492,1142,757,996,1138,651,471,429,480,572,547,572,791,832,952,872,828,801,938,1096,1216,1372,1354,1256,1178,1036,1154,1636,1698,1514,1248,1348,1272,1096,1180,1386,1186,726,679,940,764,623,703,912,1158,1188,1260,1072,1014,1156,1104,1162,1260,1320,1674,1864,1602,1576,1904,1678,1312,1260,1516,1462,1354,1328,1236,1104,1194,1340,1086,514,614,655,614,815,1360,1332,1188,1388,1416,1158,1090,1194,1384,1554,1480,1476,1598,1546,1202,727,1148,1500,1506,1528,1466,1262,721,692,836,728,686,610,619,688,680,651,613,585,558,503,483,498,601,1094,984,656,440,438,687,597,627,912,750,600,603,490,382,920,1334,1216,1060,1084,1082,1090,1028,972,968,778,345,401,698,872,855,974,521,647,709,482,572,738,863,1082,1362,1462,1400,1282,1294,1344,1516,1510,1074,980,1200,1266,1390,1578,1736,1684,1712,2084,1886,1720,1222,1346,1262,930,604,578,1094,1514,1196,1116,1424,820,416,371,385,367,502,513,773,1368,1360,756,572,623,462,448,574,1172,1476,1438,1610,1332,908,1026,1130,723,867,1356,1100,1138,1518,949,1032,1180,1412,1498,1434,1368,1628,1582,1408,1310,1384,1306,705,579,680,1176,1052,1160,1108,655,730,835,796,997,987,609,615,477,417,602,891,944,844,669,598,422,507,728,658,590,995,1048,845,1054,1168,623,477,995,1152,1324,1794,2004,1794,1540,1494,1458,1620,1772,1272,1204,1354,1396,1100,1342,1376,882,1056,1018,1066,996,1000,1024,1126,1238,1208,785,546,650,673,561,466,410,517,819,960,980,841,738,1058,1306,980,572,622,824,687,495,650,626,576,774,982,953,1128,1202,1412,1260,959,929,998,1408,1658,1592,1578,1736,1588,1186,875,545,542,547,457,487,468,421,423,408,743,1628,1172,891,541,453,560,586,594,594,586,583,567,572,576,546,548,545,545,558,566,569,566,522,477,532,599,630,620,610,583,590,584,580,579,584,590,612,637,600,569,575,551,496,473,554,1006,1196,1058,1009,1018,1156,1312,1258,1692,2110,1376,1570,1462,1312,1104,935,1076,1184,1044,1106,1364,1360,1294,1396,1616,1332,823,684,986,1184,1242,1288,1436,1230,896,908,1102,1094,1086,1048,902,1010,1014,1162,1154,1120,1100,1150,1228,1196,1296,1366,1432,1246,1130,1272,1432,1268,1100,1504,1498,1238,1452,1818,1682,1358,1624,1280,1021,906,1068,1170,1162,1258,1396,1244,1138,1128,1124,900,1178,1108,1286,1846,1726,1412,1136,1036,1122,1112,745,670,669,892,847,935,1166,948,841,582,477,852,1620,1604,1015,872,904,836,639,957,1246,1046,1378,1256,1052,1236,1350,1056,721,1009,1148,889,1034,1536,1880,1166,971,785,1322,1548,1252,1132,1274,1318,1216,945,1134,1490,1186,633,869,897,1012,1244,978,825,1040,1284,1432,1306,1276,1394,1372,1592,1100,655,1002,1184,1026,633,529,642,896,1166,1490,955,941,1152,1294,1330,1126,783,926,1142,1008,807,765,926,919,724,520,544,718,893,757,690,709,641,882,1126,1028,1017,941,844,1438,1698,1178,877,1238,1540,1590,1010,727,913,760,761,1280,1160,1168,1622,1226,1130,1400,1124,808,1090,1432,1224,928,1274,972,558,525,1100,1344,989,686,641,824,955,1028,1001,844,948,724,909,663,701,1074,971,698,613,763,1272,1500,1140,1172,1416,1282,1148,909,1086,1350,1232,1290,1546,1560,1186,969,1230,1170,949,719,1050,1040,771,929,1382,1124,573,415,514,558,451,375,430,623,909,780,995,1242,1264,1340,1190,1122,1070,886,628,491,518,414,319,371,689,891,991,1216,985,653,789,1019,745,544,696,835,983,2010,2576,2482,2312,2046,1820,1840,1566,1172,1120,1418,1550,1440,1172,1122,1120,957,861,1110,856,453,1178,1696,901,1050,1362,948,478,724,1324,1430,1088,766,710,577,466,766,1188,1220,1496,1582,1050,855,1084,1114,872,658,955,1160,1164,1120,824,748,486,405,374,443,573,672,783,1140,1278,1000,977,887,819,785,633,1006,1192,1322,1136,977,1184,1412,1400,1262,1286,1386,1254,923,1300,1362,1820,1666,899,489,587,797,844,1036,1206,1122,968,749,1100,1164,1242,1174,1184,1322,1194,1422,1526,1332,1444,1390,1204,1420,1430,1520,1296,1028,899,1072,1072,1058,1212,1212,898,924,1222,1132,1096,485,409,416,406,391,309,271,426,571,603,708,1086,1144,1172,1162,1156,1560,1654,1023,984,1152,850,1023,1492,1450,1254,1434,1566,1552,1570,1460,1654,1620,1594,1816,1606,1346,1338,1378,1350,1194,909,1074,948,1290,1200,1208,1262,1166,1272,1316],[1454,1138,868,672,809,1066,1144,1198,1136,801,553,445,365,343,412,453,527,502,415,401,454,412,406,417,365,359,419,458,459,447,453,499,553,535,488,422,445,422,546,590,476,396,452,462,440,447,349,281,283,290,290,290,294,305,271,607,1112,933,831,904,723,784,845,811,502,602,630,564,560,476,560,680,664,527,455,412,374,375,424,791,1478,1384,1150,1070,815,908,1170,1106,745,596,453,401,816,1346,1686,969,919,835,648,553,673,918,1056,1058,1196,890,1005,944,769,676,675,848,820,830,1390,1154,425,314,313,300,301,375,317,292,339,623,810,672,825,1592,1578,979,827,597,408,412,908,1120,822,572,882,1268,1278,893,691,1015,1268,778,493,725,672,675,954,689,918,808,675,983,868,698,693,739,716,667,570,686,946,1052,1196,1244,1346,1244,1028,1180,1468,1376,953,970,761,505,536,570,789,737,465,774,871,530,634,647,503,619,689,532,438,448,456,583,607,647,1044,1264,1021,858,529,462,930,1498,1450,988,821,1058,976,897,573,405,422,442,451,419,543,844,1266,1208,1274,888,558,567,890,946,822,828,489,429,638,1082,969,1088,1198,1250,1210,788,314,345,743,993,1076,1316,1068,1330,970,897,912,1230,1194,1216,1372,1394,1330,1274,1354,1544,1314,1050,1404,1724,1044,1064,1248,1126,1112,1190,1312,1312,1400,1122,1272,1328,1258,1310,1450,1462,1490,1444,1654,1724,1598,1470,1392,1476,1472,1230,1072,749,672,633,688,850,742,659,681,658,613,762,1088,1190,1060,770,805,1062,1434,1276,989,1112,1100,1522,1674,1286,1248,1182,986,1068,1250,1584,1456,1242,1254,1094,1116,1208,1142,950,876,1320,1308,969,1058,1148,1450,1688,1522,1272,1368,1296,1246,1186,970,1084,1262,1534,1378,1694,1518,1346,1246,1156,1146,1280,1072,689,501,949,1220,858,890,1108,1138,1282,1356,1194,1284,1380,1328,1250,1172,1258,902,778,647,491,462,828,1040,659,484,703,989,814,645,529,435,396,415,432,362,341,743,1374,1682,1050,348,549,1304,1720,1692,1398,1224,1482,1132,670,507,624,798,944,1404,1692,1344,878,525,571,606,793,932,817,941,1002,1078,1426,1450,816,471,365,523,796,920,1210,1336,1294,1054,1142,1080,1114,1212,1346,1060,828,902,1102,1060,1001,1130,1216,1212,1162,985,935,1130,1030,1048,1194,1152,1066,1003,980,1016,1248,1136,1044,990,907,1010,909,801,907,1012,953,709,647,829,1058,1150,1268,1162,886,862,941,1128,1156,1400,921,822,1136,1334,1368,1330,1098,2226,2712,1682,2164,3672,2822,1310,1192,1104,1052,1262,1180,914,881,961,1018,1124,1360,1450,1794,1780,1302,1400,1492,1492,1100,761,761,700,728,1024,892,890,1194,1690,1648,1136,769,703,1324,1418,1054,1216,1432,1296,1017,1017,883,689,727,755,706,740,980,1072,1004,1048,1382,1592,1494,1088,871,810,1788,2188,1884,1592,1326,1184,1172,1010,924,1142,1218,1032,1152,1184,1354,1402,1232,1138,1176,1108,1392,1786,1476,1204,1120,1110,1380,1462,1116,927,896,1152,1120,1212,1466,1680,1396,1182,1072,1114,1186,1500,1606,1302,1154,1140,1268,1148,1128,1118,985,1062,1362,1584,1234,1222,1380,1750,1454,1180,1128,1066,1338,1526,1184,991,1001,1042,1110,1494,1672,1130,888,858,704,1032,1018,897,1142,1064,892,1064,1594,961,1112,1336,1482,1348,1466,1540,1562,1824,2280,2184,1670,1000,406,362,554,580,529,869,1084,1246,1446,1460,855,520,1032,1732,1148,1358,1418,1256,1056,1160,1036,1262,1374,1172,1288,1582,1528,1440,1176,1013,1216,1552,2248,2316,2026,1510,1258,1184,1036,945,1202,1258,1358,1444,1178,1240,1190,1068,665,677,933,1054,1188,1278,830,583,929,702,298,338,558,748,944,953,1190,1262,1104,1200,1264,940,558,703,1110,1100,650,795,1017,1052,1138,669,815,1126,1074,588,371,721,1023,1084,915,866,986,1074,713,594,741,787,955,1476,1734,1708,1264,723,891,948,1234,916,1190,952,564,630,674,885,1460,1820,1142,971,1142,1284,1150,1530,1526,1130,857,519,549,909,1346,1434,1322,963,1086,1470,1496,1670,1532,1520,1274,1116,973,811,1154,2510,2784,1686,1800,1516,1100,775,657,748,965,1356,1076,761,983,1138,1048,1124,904,796,691,487,430,766,1202,1388,1144,1360,1686,1544,1236,743,508,1202,1584,1390,1412,1832,2984,3254,2138,1070,636,591,331,447,886,1334,1432,1296,1250,951,563,441,488,673,726,548,733,1124,1046,1052,936,999,1088,972,960,1080,1146,1256,1256,1156,1306,1604,1650,1456,1252,1100,1142,999,927,902,805,844,746,524,1138,1228,658,628,919,1116,1015,1206,1202,1194,1316,1338,1296,1172,1170,1116,1252,1412,1646,1700,1258,1054,1202,1852,1746,1232,1248,1140,1158,1312,1294,1000,769,772,862,974,1096,1136,963,1252,1384,1216,1028,1360,1138,1282,1234,1034,1078,1362,1578,1636,1444,1390,1440,1626,1698,1526,901,635,1174,1488,872,604,604,606,669,673,642,615,692,761,664,544,409,544,923,1012,1168,984,650,521,528,920,1026,636,536,496,430,558,1252,1180,856,892,1182,1024,573,586,767,879,783,356,362,677,1019,1060,934,666,748,832,813,982,1372,1436,1750,2020,1904,1400,1262,1410,1382,1284,1260,973,877,1240,1424,1286,1650,2026,2132,1932,1876,2046,1854,1320,1362,1524,1298,753,441,780,965,645,944,1005,601,430,361,403,403,466,697,887,847,760,610,604,604,556,459,480,791,1196,1318,1372,964,603,866,1114,878,1126,1252,1004,821,1354,924,890,938,1326,1566,1678,1534,1404,1164,1042,1148,1290,1102,782,590,816,1348,1448,1808,1692,828,518,591,721,1102,1388,832,484,542,679,993,1098,1156,989,619,519,446,400,574,534,421,782,1068,965,1238,959,860,1448,1708,1572,1538,1542,1588,1554,1256,986,875,1210,1588,1526,1864,1980,1326,1212,2358,2692,931,650,804,1142,1184,1160,1282,1356,1322,1176,1086,892,633,682,629,617,525,452,593,988,1206,1186,924,703,855,834,589,599,604,547,637,651,538,501,608,655,1080,1516,1562,1406,902,666,843,1054,1312,1518,1576,1656,1600,1008,652,708,533,453,547,515,500,454,446,419,373,995,1484,940,623,511,528,572,578,577,565,569,584,577,579,579,562,547,543,551,556,565,561,562,567,518,468,545,614,619,596,564,573,584,584,578,576,583,612,624,621,573,583,549,473,468,562,834,1080,1230,1098,1070,1262,1226,1332,1490,1490,1260,1226,1144,1054,836,980,1394,1608,1378,1382,1120,997,1154,1438,1692,1304,762,613,897,1232,1190,1116,1102,905,711,992,926,1048,1152,1024,1010,969,966,922,965,1130,1092,1146,1390,1302,1460,1372,1204,1108,1162,1298,1362,1350,1154,1048,1136,1214,1316,1422,1376,1404,1526,1276,1156,1126,1070,1032,1042,1072,948,860,1040,1118,1086,648,728,876,1222,1444,1246,1078,1024,891,812,736,719,756,800,1056,732,1188,1094,781,792,699,780,1252,1616,1452,1224,1036,782,995,818,913,1104,833,971,1120,1001,935,1164,1076,852,864,711,794,1024,2330,2258,1400,967,1064,1170,1110,1252,1220,1314,1260,1216,806,971,1174,974,897,1210,1254,1238,1224,980,789,564,885,1256,1024,910,1160,1224,1904,1530,817,741,926,886,755,766,736,927,843,689,877,1206,1560,1674,1670,1240,1038,1422,1648,973,453,392,433,446,406,408,634,825,797,745,872,746,556,777,1066,1082,1034,1074,1194,1708,2104,1534,964,936,1126,942,778,968,871,589,858,1446,1204,1624,1676,1206,1390,1384,809,690,1004,1312,1472,1396,1560,987,466,785,1270,1306,1188,830,694,796,803,1064,1252,1122,1124,745,571,478,935,1188,1188,1274,1368,1466,1552,1406,1056,1130,1230,1282,1224,1038,1140,1148,981,1058,1358,1562,1602,1524,1398,728,637,872,997,865,771,811,959,950,651,388,445,760,748,696,741,630,590,653,1114,1212,999,1036,1132,1152,1066,746,517,486,488,371,345,342,558,745,1004,1242,1236,1066,1152,1176,974,688,800,722,847,1438,2034,2370,2160,1642,1222,1146,979,762,891,1382,1582,1534,1340,1158,991,808,919,1034,799,530,924,1520,1512,1656,1738,829,508,488,982,1230,1060,1096,1018,578,433,570,610,606,1007,1284,755,960,1304,1142,1056,1416,1610,1302,1122,1004,991,722,410,348,392,836,979,929,1026,1068,1126,980,645,605,480,663,802,1298,1498,1308,1278,1278,1174,1080,1144,1306,1020,1082,1292,954,1404,1534,2050,2172,1294,771,744,748,791,683,583,692,761,811,1166,1300,1144,1064,1330,1236,963,1294,1250,1262,1528,1276,1300,1444,1218,1386,1096,938,1140,1094,677,578,909,1150,1070,1240,1236,1100,793,393,372,431,537,686,602,334,444,611,553,655,1158,1328,1302,1300,1116,1724,2014,1118,663,833,1034,1384,1524,1466,1184,1226,1412,2178,2110,1598,1762,1546,1600,1948,1650,1428,1372,1460,1480,1246,1040,1144,1526,1642,1482,1548,1484,1484,1548,1428],[949,1034,1132,883,1030,929,1042,1086,773,527,498,451,391,400,439,498,568,574,540,494,462,411,376,356,343,422,476,463,437,408,418,433,474,515,477,445,488,487,477,614,616,441,362,405,366,349,307,313,330,302,305,311,294,311,267,511,861,793,793,828,792,1114,1188,1013,752,860,773,584,507,412,448,454,448,371,403,360,347,385,637,1310,1526,1310,1472,993,491,526,941,1054,917,808,575,475,543,1054,1476,1102,846,1194,1190,904,1130,1152,1228,1474,1572,1216,1222,1180,1078,1080,1216,1222,933,713,544,335,319,399,403,398,542,1013,725,483,490,452,698,840,1060,1470,962,808,811,581,448,336,619,545,614,977,1262,1222,987,708,540,594,973,560,440,846,1028,933,933,863,942,789,948,1212,816,703,1242,1240,672,648,491,558,764,858,899,1128,1252,1278,1532,1698,1740,1514,902,1010,735,441,363,507,935,930,623,655,552,623,754,515,595,979,1012,799,548,412,447,532,679,796,819,1064,1338,1300,924,755,920,1610,1242,904,995,1001,980,773,416,385,382,420,437,401,722,1456,1520,1408,1282,1112,1032,1023,1190,995,533,708,587,391,463,610,786,996,1132,902,690,695,465,312,341,408,655,1130,1286,1316,1118,981,860,1310,1486,1196,1302,1410,1338,1142,1208,1458,1318,637,1212,1656,1412,1298,1252,1318,1218,1026,944,1056,1244,1238,1128,1008,1416,1332,1322,1602,1546,1402,1644,1754,1670,1612,1504,1532,1498,1378,1088,742,658,622,688,805,778,722,813,752,610,669,1334,1570,1178,690,454,1104,1454,1070,1072,926,888,1312,1238,1204,1306,1334,1212,1228,1276,1376,1466,1302,1100,1288,1282,1064,1132,1176,1096,1194,1158,1130,1052,1140,1376,1470,1142,1054,1552,1432,1168,1152,1016,1108,1156,1402,1704,1914,1554,1258,1338,1078,1160,1412,1158,859,641,863,1300,1198,1266,1332,993,1172,1546,1396,1412,1312,1224,1162,1144,1112,987,1050,728,828,746,817,849,516,434,642,864,581,526,460,569,555,493,464,459,533,794,1264,1286,520,360,600,1448,1656,1494,1406,1922,1634,995,842,1050,1360,1180,911,908,1370,1372,1098,684,444,338,386,429,482,729,1034,1110,1146,1128,869,868,612,825,1188,1670,1352,1064,1122,1256,1108,1066,1204,1198,1416,1244,1016,1184,1246,1021,1026,1206,1402,1456,1406,1236,1312,1236,1126,1228,1118,949,1054,827,549,669,1188,1350,1148,1152,1178,1098,818,756,861,954,907,634,387,497,868,1162,1218,1234,1532,1023,848,933,921,1074,958,1074,1012,1166,1490,1460,1706,1732,1494,1606,2246,2912,1592,1122,1044,1064,1426,1500,1136,896,980,1009,1202,1018,856,954,1508,1542,1430,1528,1644,1638,1388,1104,1028,954,1066,1126,767,893,1404,1494,1280,993,1010,1148,1382,1482,1112,1376,1238,1320,1356,1422,1376,952,1030,1120,959,1172,1132,927,1026,1030,1506,1768,1806,1300,865,1122,2248,2420,2714,2984,2384,1820,1834,1726,1614,1592,1044,946,1152,1232,1346,1354,1248,1302,1448,1402,1412,1434,1246,1072,1114,1526,2198,1622,1092,1088,1108,1012,1006,1044,1776,2536,1136,1124,1042,1054,1170,1532,1614,1426,1264,1112,1052,1090,1210,1234,1154,1204,1330,1478,1340,1354,1506,1676,1592,1296,1178,1194,1252,1362,1316,1250,1202,1344,1414,1488,1454,1078,914,861,754,1048,1058,772,1176,1124,860,1130,1324,1048,1216,1390,1374,1446,1426,1208,1262,1952,2270,1882,1740,1132,528,348,482,497,509,758,1272,1382,1346,1048,639,546,1164,1708,1390,1600,1700,1860,1556,1194,1512,1716,1078,915,935,1316,1482,1356,834,739,1122,1278,1416,1490,1544,1380,1200,1142,983,849,979,1166,1334,1402,1302,1100,1248,1140,810,827,848,902,1104,1220,1048,542,668,469,326,395,529,722,817,546,457,535,796,1208,1208,1018,671,897,1450,1240,858,980,957,813,623,574,587,644,1012,958,691,1042,1500,1332,1144,991,922,1130,1438,1260,1072,983,911,1590,1708,1466,1432,948,800,905,1068,948,1136,835,371,408,581,944,1724,1692,866,870,1054,1044,1100,1460,1216,1116,967,576,589,1000,1204,1224,1156,893,1310,1350,1284,1226,1404,1598,1620,1468,1104,1005,1182,1920,2072,1700,1796,1378,1198,1130,1114,976,1072,1052,755,703,1112,1058,1080,1030,1166,1068,658,451,355,640,1188,1578,1560,1710,2000,1616,1728,1182,844,1382,1494,1256,1194,1208,1522,1754,1432,796,927,643,328,532,932,947,1015,1084,926,682,540,437,655,881,861,670,847,1108,1318,1334,1200,992,825,915,1174,1120,896,1120,1288,1336,1444,1228,1062,1062,1132,886,793,974,979,1100,1418,1144,864,579,834,902,849,874,919,1126,972,1038,1136,1064,1266,1292,1132,1052,1200,1174,1486,1610,1744,1478,1040,1260,1362,1438,1574,1440,1300,1334,1232,1258,1154,1148,1234,1054,930,1042,1208,1058,1202,1172,1058,1286,1430,1252,921,1072,884,700,974,1452,1620,1604,1756,1662,1400,1388,1426,970,498,712,983,1152,749,526,565,577,538,557,604,608,692,810,782,643,432,870,997,1210,1570,1614,1276,765,587,788,925,805,579,544,590,924,1228,991,1122,1360,1320,1064,446,415,590,561,433,340,516,988,930,658,772,1026,986,1004,1134,1444,1422,1368,1666,1972,1866,1502,1386,1566,1712,1684,1502,1208,1036,1178,1296,1242,1734,2036,2010,1794,1490,1482,1452,1328,1484,1726,1326,694,380,380,689,834,1136,700,429,393,391,477,534,600,539,217,303,771,687,500,502,628,439,379,429,919,1320,1104,625,568,894,803,584,1124,1348,1074,897,1068,1076,1152,1180,1034,1286,1378,1194,1150,876,929,827,775,796,862,731,938,1442,1472,1450,1246,623,508,502,571,885,1392,1094,649,562,660,957,1052,1040,755,451,544,421,372,362,455,613,844,983,1072,1060,956,1156,1362,1478,1422,1466,1482,1236,965,616,472,512,727,1196,1538,1642,1570,1680,1732,2372,2222,1326,1104,977,1096,1212,1246,1230,1236,1042,893,1074,960,686,1096,1134,818,446,388,385,479,637,750,678,660,759,736,694,375,367,443,563,601,638,642,579,589,935,1482,1532,1328,669,449,673,629,697,1026,882,761,1042,777,827,1156,617,487,534,541,520,466,451,453,381,736,969,744,473,373,426,516,568,576,560,552,561,561,574,577,556,547,546,538,554,561,561,551,559,572,581,604,612,617,596,570,560,580,604,580,575,600,613,551,575,592,578,516,471,461,657,963,1026,897,810,1028,1244,1208,1172,1200,1252,1208,1068,1122,1086,1100,1298,1262,1372,1180,1136,915,1038,1250,1400,1548,1444,1048,786,976,1054,974,1194,1230,1082,922,992,808,930,913,857,785,772,780,675,850,1118,1068,1042,1186,1318,1382,1196,1108,1024,924,997,1094,1164,1136,1206,1214,1426,1322,1404,1390,1314,1396,1268,1228,1192,1082,1086,999,991,948,811,741,645,582,615,847,1178,1258,1310,1246,1192,1074,966,760,630,786,770,750,852,877,1210,946,762,886,835,883,1060,1278,1332,1470,1380,1310,1444,1306,1322,1234,1150,1412,1470,1250,886,956,918,1108,1222,847,616,707,1246,1416,1364,1336,1350,1258,1238,1290,1028,1182,1036,1086,1102,1024,594,511,882,1200,1144,1266,1084,827,552,356,382,668,775,1040,984,1132,1440,1274,914,855,901,936,874,827,808,803,666,548,783,1116,1290,1584,1378,1118,1382,1224,1086,621,576,486,425,407,379,366,445,565,593,700,865,681,603,576,1092,1246,1158,1284,1600,1974,1676,836,582,993,1600,840,637,834,765,661,860,954,967,1412,1328,933,955,845,618,789,1130,1182,1054,1122,1396,1224,833,952,1272,1776,1610,902,899,782,602,586,678,1068,1492,1122,494,415,616,730,875,1116,1148,1112,1212,974,994,1076,1134,1116,879,805,973,1228,1348,1152,1170,1306,1634,1306,1222,1100,796,890,1106,827,944,957,647,921,1032,514,419,921,1088,846,970,912,552,661,1140,1256,1202,1168,1142,1208,1028,636,487,452,471,456,378,345,418,557,766,1066,1178,961,1012,1224,1078,1116,905,593,629,715,954,1236,1444,1310,969,777,719,625,732,1078,1610,2208,1806,1062,759,734,822,847,711,719,741,811,1012,1172,954,623,561,445,580,935,1288,1250,761,343,306,467,540,660,915,1104,825,1003,1170,851,835,1360,1636,1304,929,742,760,607,473,503,478,612,808,990,1242,1084,1068,924,633,643,818,1052,1124,1306,1306,1236,1182,1026,868,941,1036,1148,1272,1508,1650,1376,1132,1418,2034,2092,1498,995,948,730,492,463,451,571,957,1142,1206,1208,1110,863,894,934,854,986,904,1300,1440,1288,1332,1282,1106,999,960,1036,965,597,437,472,1034,1020,1180,1298,1350,1190,811,491,425,581,708,785,630,368,536,908,785,1378,1712,1528,1394,1400,1386,1654,1840,1158,565,536,792,1134,1416,1388,1210,1174,1276,1954,1820,1396,1610,1412,1710,1852,1644,1538,1624,1732,1550,1466,1494,1522,1798,1954,1762,1656,1360,1694,1422,1386],[711,1142,1384,1232,1266,1010,924,943,718,537,509,397,346,380,428,462,569,590,518,397,361,378,350,330,379,504,513,443,407,324,339,389,433,492,527,528,524,494,449,464,524,490,297,299,275,274,296,389,435,364,308,297,300,312,284,349,466,597,736,932,1013,1244,1396,1382,1246,1128,970,980,973,792,561,383,386,389,404,401,346,626,1372,1592,1184,1538,1606,965,616,820,804,899,1538,1812,965,552,494,558,631,811,1286,1422,992,1234,1792,1324,1102,1104,893,775,713,825,1148,1528,1488,1048,1066,951,810,608,612,589,582,497,821,1318,929,653,818,718,710,993,1150,1196,698,808,1166,1190,623,403,569,664,966,1408,1650,1015,544,660,917,699,540,321,326,413,680,798,754,832,805,666,1124,1292,1144,871,1592,1312,678,474,524,653,699,838,879,1019,1180,1310,1392,1180,1296,1320,1230,905,796,776,634,691,785,735,751,977,697,824,625,377,692,1174,1002,786,585,392,422,554,824,986,819,868,1070,1102,1360,1170,1278,1446,1122,1062,1100,1336,1032,489,370,352,363,382,401,549,991,1434,1406,1122,855,1110,1270,971,891,1116,1146,1015,642,448,488,529,439,537,784,902,1062,1092,973,495,311,339,288,625,839,844,1294,1178,801,700,1068,1312,1192,1058,1092,1082,1250,1552,1262,780,771,1074,1406,1636,1364,1262,1136,902,747,824,1042,1172,991,1228,1432,1210,1132,1482,1730,1338,1470,1676,1710,1650,1594,1614,1632,1532,1052,644,615,557,680,764,692,670,769,579,583,656,1148,1174,1046,907,846,1182,1284,1108,974,522,622,1182,1484,1448,1250,1200,1288,1236,1046,1146,1240,1024,915,1116,982,726,703,1046,1306,1524,1346,1050,988,1086,1242,1268,1210,1222,1246,1176,975,995,877,981,1120,1462,1712,1644,1530,1410,1438,968,792,740,729,920,757,899,1288,1254,1238,1352,1256,1342,1642,1518,1294,855,816,724,915,1144,1124,1094,945,688,495,512,471,369,472,625,766,626,530,556,791,1040,1008,706,780,1086,898,766,650,343,378,998,1078,945,895,922,1018,778,763,775,675,832,783,662,784,1156,840,809,808,523,344,393,351,389,720,908,945,1112,883,941,1130,879,1024,1274,1312,1422,1812,2062,1420,745,675,921,800,894,1292,1398,1464,1138,949,960,1182,1474,1600,1432,1314,1324,1182,1346,1078,701,507,465,455,435,514,924,1082,1074,1404,1208,585,439,451,498,428,408,420,348,446,612,586,606,835,1322,842,767,728,575,683,999,1254,1088,1144,1324,1394,1726,1438,2954,3166,2544,1798,1136,897,788,1126,1428,1418,1188,909,1154,942,1048,1078,922,1074,1604,1424,942,1162,1452,1514,1532,1512,1662,1646,1776,1520,1332,1356,1434,1216,1258,1494,1932,1792,1084,1222,1013,1050,1280,1498,1506,1544,1324,1094,1432,1562,1646,1732,1262,846,1188,1120,1538,1660,1836,1586,998,1218,1538,1476,1614,1810,2122,1818,1760,1590,1542,1672,1134,1206,1490,1250,1136,1346,1346,1456,1550,1606,1678,1480,1114,1074,1116,1234,1230,1300,1300,1132,1110,1172,878,912,1332,1892,1042,1074,1184,1108,1116,1354,1354,1064,973,957,979,1102,1268,1320,1194,1222,1462,1384,1314,1296,1200,1226,1174,1188,1636,1720,1412,1498,1334,1128,1202,1078,1086,1254,1252,1034,946,872,781,1022,958,855,1076,1156,832,1302,1292,1072,1450,1538,1420,1524,1342,1200,1108,1336,1444,1356,1228,844,587,511,503,430,466,1052,1392,1048,838,729,751,751,1380,1252,1228,1306,1506,1520,1278,1164,1328,1306,1038,899,799,1228,1548,1134,985,1024,1176,1260,918,730,1146,1290,1076,1072,966,791,982,1090,1264,1384,1302,786,924,1144,957,1040,1244,1210,1136,1182,956,426,294,285,354,338,365,612,779,612,364,385,507,976,1260,1100,1142,1210,1064,1058,969,670,684,799,713,726,589,554,1156,1558,1068,1058,1048,777,920,864,818,1074,1172,1208,1252,1032,700,1036,1092,877,1030,1088,735,555,623,846,965,669,431,408,517,875,1498,1002,742,805,571,595,814,1046,1142,1190,1078,847,843,1174,1322,1234,1264,1266,1338,1362,1472,1524,1378,1180,1274,1398,1420,1056,1044,1154,1346,1562,1680,1232,1216,1374,1256,1178,1116,673,575,807,1262,1026,1062,976,1034,1198,1054,816,808,674,766,1126,1072,1256,1702,1294,2144,1844,1544,1676,1320,818,799,1028,1120,1270,1180,807,1134,557,338,754,1078,836,924,791,477,572,901,877,1032,1016,951,866,1034,1230,1334,1252,1274,1174,896,875,1098,1222,1338,1214,1248,1286,1330,1170,1186,1198,1232,1368,1280,1232,1294,1168,1060,871,618,677,902,1030,944,590,703,1042,1003,966,927,1068,1212,1278,1074,1178,1282,1418,1772,1794,1674,1496,1452,1586,1550,1570,1954,1846,1428,1428,1366,1076,1182,1390,1258,1132,958,991,1202,1114,1122,955,1066,1332,1572,1052,797,946,863,1023,1436,1516,1338,1304,1706,1836,1704,1616,1522,863,546,606,593,612,603,517,529,502,476,471,562,628,644,733,680,418,597,874,820,1344,2154,2592,1468,902,890,1296,1600,1242,666,490,680,921,944,1074,1280,1310,1007,1018,856,587,728,871,726,627,769,821,619,646,1112,1318,1328,1290,1410,1846,1478,1556,1518,1710,1842,1648,1392,1250,1212,1064,1048,805,825,1048,1068,1304,1700,1848,1766,1534,1136,842,999,1368,1500,1472,1048,700,605,767,878,969,1262,892,412,382,420,545,591,590,429,397,430,504,573,474,524,612,452,488,761,1132,1380,1400,937,841,1258,1158,902,1086,1158,1076,1090,1168,1132,1158,1072,858,1180,1164,1324,1140,987,1326,1136,640,879,1588,1622,1178,1326,1158,993,789,608,526,502,579,816,1316,1316,1098,1024,1086,1294,1250,944,625,976,1042,467,372,687,997,1050,1088,1020,899,1022,1246,1290,1350,1484,1564,1534,1236,709,499,481,475,444,606,996,1410,1590,1434,1600,1752,1714,1268,1224,1062,954,1028,1190,1300,1416,1160,701,633,879,1021,906,973,1016,772,489,531,499,408,475,415,473,636,535,388,532,581,621,618,570,1224,2256,1722,855,721,684,719,736,653,526,478,506,374,777,1250,790,312,404,474,1086,1246,646,496,440,472,473,414,495,672,686,744,926,744,502,475,392,464,557,581,574,554,564,561,567,567,556,557,554,557,562,551,556,566,562,562,562,580,612,624,616,600,583,575,580,576,565,584,532,423,476,547,542,491,475,491,669,1013,923,562,633,1064,1320,1472,1388,1158,1166,1318,1378,1200,1312,1338,1378,1650,1222,1021,1004,897,1178,1348,1378,1560,1600,1144,772,811,730,1026,1318,1378,1098,1034,966,1084,1124,1206,1318,1098,1088,1140,844,786,939,943,938,986,1019,1046,1350,1672,1492,1356,1274,1130,1058,1072,1088,1013,1082,1136,1444,1378,1258,1184,1130,1138,1310,1406,1184,1036,1001,1032,959,1162,936,606,688,1098,1208,1316,1574,1406,1202,1188,1676,1644,1196,1378,1248,961,695,724,809,880,1012,1078,1102,1023,939,1256,1152,1350,1302,1274,1306,1456,1556,1224,1294,1144,1160,816,628,692,673,910,1180,871,444,430,672,1170,1396,1470,1436,1294,1236,1068,961,1140,1062,990,968,733,473,321,413,668,935,1260,1012,775,437,264,296,474,807,1074,1152,1078,831,948,941,924,992,1306,1166,1054,1046,856,800,985,1104,1236,1424,1516,1470,1490,1834,1494,986,709,1044,1188,753,334,513,772,489,309,355,486,717,910,730,850,1252,1188,1378,1798,1934,1680,1374,1174,974,1400,1626,1322,723,650,801,678,539,721,982,868,674,780,901,893,857,725,922,922,805,897,1222,1556,1454,1324,1694,2688,1680,1046,1156,1052,793,453,656,1212,1498,1100,763,629,510,600,792,836,928,980,1150,791,959,1324,1310,1019,650,564,826,1012,1210,1416,1264,907,1146,1114,1282,1450,981,752,846,813,979,1030,954,921,1012,583,545,924,996,975,871,631,611,888,1212,1146,1164,1208,1190,1214,878,535,420,378,428,397,340,345,400,422,514,786,843,877,865,847,974,1166,905,602,532,531,581,678,750,780,762,650,609,830,1454,1498,2138,2618,1690,954,722,658,706,772,687,650,572,705,730,807,786,764,728,594,469,654,994,867,827,583,480,565,597,681,1038,1132,913,1066,993,1068,1038,684,1066,1238,988,1032,1022,902,659,455,406,445,394,522,791,985,879,850,782,1120,1424,1146,1034,1244,1340,1168,884,813,938,1088,1040,1194,1378,1184,1250,1314,994,1054,1620,1816,1344,728,647,492,396,500,543,526,950,1324,1186,1176,1314,927,848,605,538,771,1028,1108,1420,1340,1268,1476,1448,1204,1178,1100,931,681,819,1024,1148,1100,1156,1058,1092,1050,913,599,458,727,927,918,532,332,472,977,833,1140,1858,2144,1740,1126,1100,1254,1250,891,533,522,637,618,1046,1076,949,1100,1108,1238,1300,1426,1398,1388,1292,1506,1632,1636,1708,1660,1510,1598,1692,1702,2008,2156,1802,1660,1280,1494,1436,1610],[918,1042,1238,1278,1076,810,664,709,673,584,492,376,371,390,449,478,506,495,467,405,354,317,304,379,549,591,528,455,440,373,373,378,381,434,455,465,488,466,448,413,435,458,318,287,318,309,337,422,448,381,296,272,303,307,276,283,343,513,513,973,944,1050,1150,1150,990,626,586,912,1042,1096,643,513,455,469,558,485,487,959,1298,1062,1314,1386,1332,1554,902,1062,800,944,1324,1324,893,599,561,599,513,634,1056,899,871,1534,1716,1186,1028,1160,802,475,487,495,635,982,886,891,1200,1182,1274,897,676,844,995,918,1018,1017,782,762,1018,910,756,874,1058,1052,749,828,1314,1490,1222,1058,877,890,1102,1512,1534,962,629,896,1086,904,530,354,324,352,395,391,454,710,700,574,819,924,1394,1610,1518,1082,666,550,634,684,561,675,783,970,1086,1078,1015,962,1216,1334,1276,1334,1282,927,1036,1194,1030,1020,1166,1288,1038,739,423,494,1120,1304,794,638,508,299,310,514,824,913,908,745,667,1164,1588,1450,1830,1980,1350,894,857,1090,694,399,342,322,333,373,479,1184,1662,1322,1296,1058,653,1023,1094,756,528,834,1196,1356,1023,702,849,922,564,398,434,432,741,1036,1184,886,661,678,480,466,703,1390,1590,839,947,895,1322,1392,1484,1200,1012,1354,1446,1418,1416,1370,1004,861,1074,1824,1422,968,1032,1021,863,1016,1156,1092,1094,1172,1082,1010,1046,1258,1542,1316,1360,1634,1742,1744,1682,1632,1676,1692,1134,456,591,630,817,841,658,619,600,457,441,463,575,794,709,522,742,801,683,689,758,705,630,742,839,897,1052,1140,1228,1266,1021,962,1060,984,578,615,621,551,650,1050,1376,1382,1214,1068,1196,1108,1166,1210,1382,1394,1430,1316,1478,1466,1202,1140,1192,1520,1650,1394,1372,977,1122,1114,1028,932,839,891,788,1023,1198,1042,1048,937,982,1376,1404,1284,1028,886,812,543,492,733,946,1252,974,473,507,954,1160,1182,1064,1034,1320,1070,694,597,734,924,733,716,984,1128,836,911,836,698,770,1001,716,579,840,1036,753,637,1024,911,792,662,1194,982,800,1046,722,561,822,689,329,404,417,504,915,881,1090,1184,716,492,679,759,754,751,1094,1928,2664,2548,1484,941,670,890,838,1076,1260,1278,1280,1386,1156,695,808,1160,1178,1224,1192,1214,939,678,614,516,441,446,454,462,512,1014,1070,975,1222,985,617,495,435,402,313,325,406,442,460,451,674,677,872,1052,1446,1264,875,827,563,582,906,1024,1098,1272,1416,1826,1742,3160,3984,3320,1708,938,852,703,975,1048,1058,1074,959,1098,969,1021,1116,1040,1032,1514,1416,850,1088,1460,1390,1294,1084,1256,1258,1362,1460,1516,1580,1646,1608,1600,1642,1750,1364,1256,1074,765,684,1032,1264,1410,1562,1360,1282,1690,1748,1792,1796,1606,996,1236,1178,1498,1672,1660,1250,788,1068,1538,1600,1648,1744,2036,1780,1600,1580,1344,1344,1416,1614,1834,1428,1210,1410,1416,1322,1160,1252,1530,1328,975,1002,1068,1074,1360,1614,1360,1426,2260,2214,1142,981,1100,1166,1048,1092,1194,1204,1178,1332,1252,1009,1160,1038,1082,1316,1442,1438,1170,1124,1518,1828,1672,1374,1208,996,896,1124,1794,1584,1290,1406,1002,667,707,688,925,1198,1202,906,890,821,818,1112,770,934,1056,1118,845,1316,1372,1021,1482,1400,1414,1528,1376,1094,968,1104,1534,1456,1068,749,673,896,911,554,572,868,1006,1130,1350,1260,806,1350,1566,944,1284,1488,1482,1454,1234,1154,1142,1070,1344,1208,1300,1466,1360,1028,1058,1100,1042,1144,1068,1040,1434,1454,1362,1170,974,863,1126,1346,1260,1270,1338,932,737,1136,1164,1338,1314,1240,1278,1198,793,418,325,389,404,320,304,579,1122,1007,434,419,414,1052,1604,1088,976,945,885,1180,1178,886,773,797,633,539,543,500,771,969,920,869,755,708,542,475,537,730,478,350,619,689,459,390,379,521,1026,1224,830,565,785,1244,960,626,471,415,440,427,674,969,1140,947,808,814,830,892,1086,1416,1296,939,905,1114,1230,1120,1144,1210,1296,1278,1116,1284,1488,1236,1260,1244,1400,1610,1554,1570,1748,1966,1742,1354,1394,1322,1012,827,1114,1070,769,1048,990,750,700,621,752,1112,1214,1246,1266,802,828,911,779,1338,1520,1496,1752,1636,1774,1754,1164,756,692,712,817,1138,1072,944,1070,1046,802,1090,929,615,782,432,393,561,1200,1428,1262,1068,992,969,816,935,1080,1080,1212,1238,1238,955,924,1044,1128,1138,1222,1252,1282,1216,1180,1202,1412,1600,1382,1144,941,843,749,978,1008,725,734,914,742,554,727,1056,1040,979,1016,1122,1108,1224,1104,1180,1232,1532,1826,1818,1666,1438,1326,1382,1426,1162,1348,1476,1196,1198,1300,1226,1238,1106,793,561,532,672,875,993,1066,1046,1132,1388,1426,1320,988,767,825,1032,1336,1378,1346,1266,1302,1746,1870,1766,1676,1396,982,649,455,506,587,520,521,451,441,436,521,556,586,680,649,419,695,854,609,1092,2266,2086,1418,1094,881,1520,3078,2452,1172,540,550,742,896,1114,947,1068,960,1014,1150,1003,840,848,953,975,953,929,1021,1146,1152,853,1020,1062,1190,1356,1400,1472,1340,1506,1692,1526,1302,1136,927,812,940,727,733,1094,1098,1196,1338,940,774,877,826,1018,964,932,775,876,527,538,869,1142,1142,1218,1300,873,360,366,430,420,458,502,390,365,359,418,616,635,568,511,631,957,1356,1494,1566,1550,1236,1346,1452,1440,1508,1344,1208,1216,1244,1262,1202,1148,1060,985,1068,1074,1090,1058,945,1182,1088,695,800,1448,1596,1378,1394,1282,1220,1042,959,724,520,678,1134,1536,1328,1014,1030,1182,1356,1176,943,612,656,833,565,642,1636,1836,1300,1300,1152,1004,1146,1248,1390,1366,1466,1470,1354,981,613,492,673,763,604,580,769,1276,1664,1628,1608,1450,1046,1244,1350,1026,657,857,1300,1406,1292,1058,646,918,1360,1362,1322,1138,910,870,726,658,571,716,711,595,929,691,455,485,526,787,1058,1262,1140,1564,2220,1588,903,482,686,885,752,547,484,600,645,456,820,1688,1474,496,387,572,1280,1324,681,447,433,429,417,414,474,752,904,838,885,798,818,664,564,526,522,526,544,568,571,564,571,559,567,570,569,574,564,561,542,548,554,562,557,568,579,584,612,608,607,599,582,582,568,565,500,381,346,398,472,466,446,483,741,1038,913,786,935,1130,1230,1312,1086,966,1276,1482,1556,1304,1404,1106,1488,1708,1412,1250,1126,1021,821,1062,1454,1738,1542,962,973,1152,883,910,1210,1208,1015,1152,1402,1476,1456,1420,1456,1466,1444,1382,979,745,849,963,898,1038,1302,1296,1382,1450,1350,1536,1426,1222,1204,1096,1038,961,904,1192,1274,1130,1238,1258,1210,1238,1852,1552,1126,1015,991,1078,995,937,913,788,800,1158,1116,1242,1260,1274,1242,1180,2350,2240,1270,1150,1344,1562,1218,935,969,1124,1220,1432,1560,1520,1334,1286,1290,1226,1108,1028,860,1000,942,921,1106,888,702,690,715,741,718,871,1098,854,442,372,590,1262,1258,1182,1400,1284,1184,849,755,677,511,756,967,744,400,360,375,477,748,912,953,919,574,298,312,346,463,788,1124,883,536,969,1130,1004,1286,1522,1308,968,933,990,1040,1226,1350,1412,1300,1262,1262,1254,1548,1300,753,1042,1672,1366,824,426,703,1004,556,346,372,565,1060,1434,1134,1330,1376,1038,1100,1590,1566,1042,1224,1404,1148,1248,1332,1120,913,954,909,825,844,1074,1208,1052,1158,1036,1506,1354,1088,800,796,683,744,961,1172,1514,1648,1532,1632,2010,1402,1324,1310,1224,1102,937,1003,1072,788,761,897,717,518,576,943,1036,983,1236,1196,642,871,1272,1218,1066,626,523,707,904,1240,1548,1100,874,1140,1336,1560,1492,969,806,1120,1188,861,1014,1090,626,733,839,1064,1208,1194,1254,1166,982,1009,1340,1368,1144,1350,1416,1358,1114,643,397,321,378,456,375,417,505,572,465,485,781,775,736,606,928,1166,1214,1168,664,452,469,509,561,563,574,613,666,742,1106,1708,1766,1538,1130,813,600,514,536,769,812,692,806,689,517,634,745,669,719,728,618,589,457,568,963,1292,1086,761,629,641,641,896,1042,968,1078,1024,1132,931,514,532,955,1178,1282,1252,861,507,444,403,521,636,763,663,655,643,983,1384,1656,1390,892,661,867,831,700,592,585,1009,1356,1286,1088,835,584,632,1011,1306,1226,1098,1314,1232,1056,1018,849,680,554,479,725,1216,1314,991,1166,1174,952,912,821,852,1044,1382,1584,1568,1136,820,1140,1326,1046,1058,1132,1204,1024,1506,1532,1114,1222,1302,1362,1424,1532,1144,643,449,539,789,937,527,330,482,896,1024,1568,1886,1760,1590,995,738,655,853,662,543,660,733,679,829,932,1070,1138,985,1338,1758,1498,1342,1194,764,915,1262,1302,1184,1120,1288,1654,1692,1694,1700,1624,1694,1738,1642,1802,1876,1830],[816,802,912,811,634,495,402,397,420,448,448,364,376,389,437,466,460,440,469,448,358,346,375,496,610,646,556,444,409,390,389,363,352,419,458,468,465,446,433,457,426,381,363,368,378,355,361,380,360,369,339,310,323,294,305,637,604,432,491,669,595,577,540,502,362,276,256,265,495,1066,1028,999,693,590,735,877,951,1088,1046,626,875,946,1390,1908,894,893,980,1206,1214,871,617,589,485,574,566,501,555,904,1020,1032,1021,948,1072,1160,782,440,492,372,470,633,606,664,874,940,1152,1146,807,766,962,991,830,570,749,954,1050,1114,1009,1122,1162,1196,1376,1202,901,1044,1004,818,862,942,1118,1352,1166,820,670,777,861,696,524,475,394,499,533,433,363,507,626,683,581,568,601,683,1308,1356,799,571,467,374,399,425,499,724,866,1138,943,1060,1368,1140,1084,1320,846,451,505,503,605,948,1338,1664,1664,1138,714,681,913,740,408,460,465,395,418,670,1198,1338,1150,721,461,720,1096,1248,1566,1620,1130,471,292,392,380,362,372,339,308,336,604,1454,2076,1482,951,581,490,656,735,525,701,1056,1252,1282,1050,803,711,1015,741,373,332,265,488,847,981,1070,1144,1052,781,542,969,1410,599,437,1021,1290,1390,1078,1532,1232,1060,1434,1412,1284,1586,1500,1216,938,1250,1306,1084,986,1086,1068,933,955,1110,1194,1044,1042,1134,1212,1007,1152,1492,1454,1522,1700,1788,1778,1722,1714,1758,1700,1210,890,763,710,752,735,622,572,568,454,419,537,1050,1436,722,517,946,587,352,468,775,1054,1028,607,588,767,886,1052,1146,1288,917,655,932,896,515,499,382,348,422,875,1186,1078,1042,1204,1224,1126,1242,1214,1240,1366,1398,1212,1132,1272,1308,1104,1136,1350,1574,1410,1648,1438,1206,1258,1184,1015,1094,1192,1020,986,1160,1222,1282,1152,1050,1426,1494,1252,915,972,1021,604,375,567,1058,1554,926,535,1194,2008,2082,1496,826,1134,1738,1586,1146,842,805,982,774,954,785,650,659,659,793,849,849,688,639,1224,1892,1876,893,737,897,940,986,976,1378,1138,1012,1208,929,619,802,843,389,431,478,586,868,1220,1214,1001,695,476,567,744,860,1256,2172,2432,2202,1682,1172,937,940,929,897,968,1094,1100,1124,1112,831,558,803,1226,1290,1170,1106,1194,788,453,516,608,458,545,577,498,594,651,620,888,1284,1046,592,447,396,398,411,456,559,816,726,492,572,592,969,1202,1346,1156,979,948,625,385,526,1106,1182,803,919,1316,1220,1592,2118,2000,1202,796,886,739,1042,1830,1504,1294,1078,1015,1274,1410,1376,1178,1048,1400,1430,1028,1252,1468,1620,1538,1346,1154,862,684,772,974,1272,1370,1562,1562,1598,1614,1608,1620,1464,1296,1102,942,1114,1490,1604,1380,1458,1680,1354,1170,1406,1520,1094,1200,1334,1454,1532,1346,946,761,742,930,991,1208,1446,1670,1804,1676,1466,1166,1338,1678,1870,1918,1542,1454,1536,1312,984,852,937,1158,1130,957,960,1130,1254,1766,1562,1148,1208,1566,1578,1352,1232,1236,1122,1140,1158,1188,1220,1288,1604,1518,1204,1302,1058,1038,1204,1470,1478,1162,1080,1340,1526,1262,1450,1302,966,1017,1538,2698,2306,1506,1112,713,554,559,629,895,1182,1016,829,840,838,951,1240,736,907,1156,1058,935,1346,1450,1042,1378,1396,1876,1782,1798,1332,1160,1080,1256,1232,882,714,834,1350,1588,917,828,626,676,1018,1036,1110,938,1464,1390,1226,1876,1968,1864,1512,1260,1100,1152,1260,1274,1370,1370,1488,1042,656,962,1096,1006,1202,1322,1346,1500,1474,1422,1290,1174,1090,1154,1362,1336,1190,1310,1234,977,1342,1008,1106,1382,1402,938,732,583,375,405,391,310,235,312,551,1020,786,375,380,393,803,954,528,348,409,745,1058,1112,1092,1382,828,680,851,744,448,607,1050,1258,1126,1362,1378,666,664,697,992,1186,1106,835,527,353,394,404,593,1204,1578,1266,1068,1772,2454,1416,798,452,415,451,561,446,580,560,462,762,1006,1158,1046,1152,1504,1560,1248,1202,1246,1174,1174,1144,1068,1118,1094,652,802,1136,1252,1114,959,1318,1520,1170,1076,1532,1982,1914,1742,1620,1140,642,547,836,1316,1322,1152,839,514,486,491,655,938,1236,1348,1016,800,822,674,959,1484,1354,1410,1778,1724,1564,1470,1046,1088,856,760,736,1144,1234,931,1050,1084,1238,1264,690,684,795,498,487,593,1062,1344,1044,897,1032,985,633,543,671,916,1086,1076,1222,1124,1160,976,843,1090,1222,1154,1220,1428,1366,1360,1434,1130,770,532,552,781,716,869,1108,856,538,594,865,1012,839,1192,908,919,1218,1212,1166,1208,1200,1252,1638,1932,1654,1602,1570,1318,1324,1382,1244,1001,1068,890,988,1148,1132,1172,1050,933,1050,640,640,655,976,1168,1174,1134,1276,1382,1338,1184,735,747,1007,1224,1048,1228,1676,1420,1260,1712,1808,1654,1652,1654,1486,1208,823,606,526,455,480,473,459,439,455,467,436,525,775,951,962,865,699,543,1168,1150,1208,1206,1048,1110,1686,1922,1318,729,605,715,836,909,906,1046,954,800,631,558,451,617,995,1180,1188,1060,1208,1512,1086,790,1206,1160,1106,1264,1176,1126,1166,1148,1250,1270,1144,1122,818,969,1015,1066,948,959,1034,1342,1188,628,679,1060,785,984,822,1023,1088,1038,622,515,915,1204,1068,1100,1198,698,333,372,419,467,475,389,365,337,356,393,606,857,754,908,1036,1126,1274,1382,1724,1762,1604,1344,965,1410,1668,1284,1122,1226,1242,1350,1188,1230,1116,1272,1084,922,785,1168,1152,852,707,645,766,827,972,1294,1088,1382,1300,1502,1494,1036,657,598,1000,1564,1230,720,976,1434,1262,1138,1356,977,543,531,805,1210,1556,1350,1360,1318,1282,1072,860,1228,1462,1542,1556,1462,1260,1032,666,673,1132,1262,955,835,1396,1894,1730,1528,1616,1060,558,857,1198,1010,639,914,1284,1326,1240,1076,939,1036,1258,1244,1266,1072,1338,1772,1088,767,661,1072,617,573,1102,1216,1176,1054,882,901,1054,1272,1286,1318,1344,1334,968,516,791,1554,1450,747,380,466,522,496,1006,1912,1704,597,382,507,1036,1160,913,698,594,436,399,381,517,813,1010,825,1030,1022,1360,1394,1134,872,659,444,449,551,541,571,568,567,573,561,569,573,572,557,561,558,565,562,495,454,536,584,593,611,619,607,586,578,564,554,490,398,415,423,459,464,453,509,915,1134,1126,1104,1158,1200,1228,1088,843,804,1124,1484,1412,1246,1316,1176,1236,1254,1418,1254,1154,948,874,1512,1624,1876,1674,1244,1244,1246,872,1066,1334,1094,1168,1382,1462,1528,1644,1418,1334,1362,1364,1382,1114,798,897,1106,1010,916,1074,1250,1238,1208,1222,1432,1508,1256,1162,1262,1240,1186,1166,1234,1388,1322,1184,1214,1228,1448,1742,1388,1202,1246,1278,1232,1224,1184,1082,921,975,1236,1258,1296,1470,1336,1338,1202,1900,1856,1332,1288,1266,1630,1600,1378,1260,1334,1500,1710,1656,1698,1610,1532,1538,1420,1418,1108,944,765,657,872,980,1754,2032,1874,1836,1604,1011,728,1009,1014,538,427,569,856,1042,1168,1370,1280,1242,1036,807,763,688,659,672,515,393,427,597,567,470,840,1110,972,626,374,413,426,353,692,1244,987,1032,1636,1662,1286,1278,1456,1438,1178,997,953,924,1140,1432,1166,927,1136,963,1124,1224,828,787,1512,2260,1300,515,664,1158,1028,616,465,505,966,1390,1168,1106,1348,1044,1282,1470,1378,1020,1023,1184,1222,1012,864,839,832,1106,1042,853,821,1100,1426,1190,1214,1416,1182,1356,1242,1112,835,680,758,1024,1026,1108,1324,1448,1146,1028,1158,1408,1544,1302,1232,1294,937,741,864,758,993,1384,1276,1003,1021,983,1094,1142,1410,1168,480,884,1140,794,851,878,866,1228,959,990,1570,1550,1344,1406,1336,1234,1128,868,958,962,970,879,1280,1046,714,952,1166,1318,1196,820,964,1290,1148,1144,1248,1382,1432,1530,1438,1270,943,597,404,351,471,571,425,500,634,1064,1148,1008,1158,1044,792,761,1042,1128,1148,711,493,442,421,443,611,610,664,780,778,813,983,1364,1740,1680,1278,825,498,411,446,731,819,713,793,741,567,741,724,600,620,699,661,557,455,525,868,1015,1180,1124,643,868,923,891,821,933,781,541,701,740,603,582,929,939,1012,940,639,478,695,605,901,1288,924,467,493,789,1278,1554,1504,1090,938,861,871,1019,961,638,415,927,1382,1060,615,529,570,624,1092,1314,1114,796,1048,1132,1048,1268,1078,686,550,611,894,1394,1184,628,488,689,974,830,883,1104,1350,1438,1382,1322,1012,666,1054,1208,683,639,802,993,985,1342,1188,1038,1144,1440,2092,2130,2414,1444,738,460,425,440,398,313,288,373,369,686,1644,1744,1670,1452,1328,1092,623,397,656,963,1030,1072,1038,1100,1216,1098,1074,930,1328,1722,1370,1148,1052,923,1005,1172,1144,1138,1226,1630,1482,973,1072,1260,1444,1716,1538,1260,1518,1692,1662],[734,756,636,448,404,404,449,432,416,430,459,372,354,411,515,550,508,444,459,447,383,405,515,534,516,555,502,427,426,418,384,369,375,433,440,464,367,405,470,551,426,336,440,490,439,405,403,389,360,397,410,378,361,311,270,631,737,573,418,410,615,722,542,594,391,241,250,269,409,793,924,819,631,673,722,740,641,764,1074,969,625,539,819,1005,866,926,935,1106,1042,970,689,591,763,1224,759,520,746,1300,1414,1246,1034,1054,1242,1224,702,529,547,448,648,798,759,640,772,1012,1470,1348,780,750,1028,896,470,410,878,1036,940,1248,1354,1010,749,853,1172,1168,753,648,640,751,1044,1134,1024,620,489,709,832,813,738,580,484,524,496,516,520,474,399,300,463,844,684,432,482,758,1294,1320,1116,576,459,398,398,446,449,781,1120,912,560,707,1042,1042,1054,1572,915,416,294,349,345,533,882,1198,1548,1632,1476,1454,1258,905,623,630,868,640,583,789,1164,1184,806,460,310,379,672,912,861,805,585,364,289,325,440,398,342,341,336,373,585,987,1506,1184,749,578,483,636,706,667,1020,1362,1360,842,638,700,717,673,598,396,364,433,713,988,1148,1278,950,1100,1118,1112,1220,711,364,334,683,1134,1160,1108,1284,1104,1080,1260,1238,1166,1274,1174,1260,1262,1148,1068,1260,1134,1072,1204,1368,1148,1266,1352,1224,879,1116,1134,982,1060,1358,1452,1428,1532,1720,1774,1762,1770,1726,1622,1060,987,832,565,468,594,658,639,546,438,473,611,1510,1722,907,541,720,614,564,852,968,1244,1324,992,983,778,655,790,962,1230,1260,1076,1076,978,748,481,345,386,528,786,1186,1094,950,948,1102,1210,1450,1288,1372,1578,1600,1376,822,1222,1236,1230,1144,1252,1506,1382,1570,1268,1152,1176,1042,1124,1136,992,1064,874,1162,1270,1280,1180,863,926,978,978,847,704,826,574,362,377,747,933,561,517,1214,1582,1628,1326,919,813,1068,855,817,944,890,965,807,807,683,552,577,564,558,515,486,441,855,1472,1776,1898,1526,747,456,830,1198,1342,1112,966,1344,1414,1082,525,820,1034,531,412,488,647,655,747,888,996,1146,1250,1130,1044,836,756,1318,1678,1694,1912,1500,1104,840,528,560,669,877,813,956,627,532,708,913,922,902,843,929,847,720,752,799,1028,896,1186,905,766,935,810,1005,1168,1168,1010,618,386,390,451,529,487,742,1216,1202,955,863,850,1146,1106,785,650,811,855,554,400,584,1204,1494,970,682,682,578,591,780,1076,1110,865,813,825,943,1616,1292,1160,1100,1178,1284,1074,1180,1308,1422,1542,1144,1172,1362,1410,1324,1284,1570,1498,1150,911,832,691,1124,1332,1180,1080,1296,1354,1440,1480,1504,1592,1596,1592,1602,1746,1732,1622,1632,1472,1015,844,850,882,948,1082,1084,987,925,1028,982,767,691,797,995,1268,1376,1540,1736,1730,1438,1204,1378,1590,1656,1532,1328,1230,1490,1290,1034,933,1142,1450,1440,1078,880,1338,1168,1370,1320,1196,1268,1294,1372,1438,1322,1096,1090,1290,1304,1324,1252,1334,1800,1614,1406,1264,1068,1038,1132,1496,1470,1066,1020,1100,1126,979,1112,1086,763,620,1562,2492,2426,1924,1220,840,813,830,720,937,1460,966,822,796,789,1100,1156,698,902,1182,1092,947,1400,1562,1122,1186,1011,1426,1704,1538,1104,1008,1116,1272,1136,828,588,733,1316,1698,1140,1100,682,456,836,930,924,1016,1346,1466,1390,1760,2076,1516,1002,1188,995,998,1182,1304,1292,1418,1282,703,711,867,948,1250,1360,1202,1218,1240,1378,1498,1556,1316,1218,1394,1236,1224,1262,1214,1364,1268,954,637,761,810,785,553,487,591,610,668,726,568,315,341,391,481,386,307,344,349,579,626,443,440,407,781,1226,1218,940,1164,647,493,867,708,444,758,1220,1368,1212,1480,1412,1444,1342,1156,1696,3118,3292,2392,1108,302,330,442,790,1212,1502,1166,1332,1536,1536,1278,837,617,511,846,1036,498,449,576,905,1068,957,1040,1158,1654,1736,1626,1382,1288,1308,1326,1306,1214,1192,1198,1066,781,630,817,1110,1250,1236,1100,1004,833,894,1410,1746,1566,1488,1488,1172,857,864,804,1072,971,738,850,649,452,608,792,904,1218,1094,835,867,761,737,1404,1852,1472,1368,1544,1504,1768,1610,1408,1198,1286,1272,1200,1340,1118,1138,1114,702,775,808,637,816,982,948,737,669,879,873,931,1146,1182,1036,538,670,1064,990,954,1116,1320,1136,1128,1044,1004,1070,1110,1104,1204,1418,1518,1456,1144,681,541,464,547,722,722,747,814,893,802,744,931,1044,893,875,839,885,1266,1314,1154,1134,1258,1500,1712,1666,1412,1396,1456,1318,1062,1094,1112,1096,1100,1158,1306,1332,1162,1248,1082,1176,1218,1068,1058,1078,1366,1184,991,1190,1180,854,1256,1120,729,958,1054,986,647,1160,1878,1670,1506,1592,1620,1686,1626,1400,1620,1702,1572,1162,778,482,426,494,502,470,467,449,432,450,648,1172,1264,1476,1338,1094,918,1070,1048,949,1072,1042,1152,1266,1034,721,598,803,922,971,940,964,832,534,404,505,763,1052,1204,1318,1162,863,949,1344,1126,1084,1430,1262,1266,1392,987,1146,1216,1110,1148,1164,1036,993,601,532,673,836,873,1062,1418,1648,1184,536,910,1224,784,657,454,951,1210,1060,734,814,1106,866,800,959,1064,537,402,381,372,387,355,366,420,393,382,423,680,1004,800,821,639,784,1230,1412,1494,1510,1446,1306,1344,1472,1368,1198,1190,1234,1168,1282,1270,1316,1402,1404,1158,896,953,1390,1260,989,960,799,683,630,855,759,711,797,1036,1364,1074,706,628,606,747,1172,1086,633,724,1190,1278,1430,1742,1428,892,872,1154,1012,1001,1116,1406,1346,1234,975,636,948,1270,1284,1396,1614,1704,1594,902,1266,1522,1094,772,777,1150,1870,2016,1780,1584,1200,735,615,901,1030,883,986,948,869,1118,1060,1110,1312,1202,899,817,819,1240,1332,1142,962,1046,861,442,471,887,1082,1094,1262,1236,1070,1180,1208,1190,1392,1328,1322,1288,843,913,1298,1054,538,394,446,633,908,1248,1428,1013,612,545,691,1008,1054,939,992,980,563,468,518,616,745,910,1040,1506,1232,1362,1626,1488,1458,1250,893,560,570,492,491,578,586,597,595,578,572,563,568,582,569,552,467,313,292,401,547,579,628,661,647,615,606,587,565,517,473,469,473,449,459,463,599,931,1076,1090,1136,1084,1088,1192,1122,932,948,963,1292,1212,1320,1456,1478,1290,1378,1394,1190,1166,1230,1176,1534,1700,1724,1714,1318,1015,979,935,1332,1422,1174,1542,1868,1634,1478,1528,1414,1426,1510,1470,1494,1294,904,869,1060,1004,882,1030,1224,1152,1196,1144,1296,1322,1174,1198,1220,1242,1406,1302,1260,1334,1248,1122,999,1064,1302,1274,1292,1388,1570,1476,1264,1160,999,976,981,1180,1218,1344,1456,1534,1276,1152,1138,1266,1404,1576,1466,1284,1398,1266,1470,1650,1692,1386,1004,1172,1542,1636,1670,1864,1768,1556,1434,1378,1138,1158,1342,1216,1350,1590,1948,2216,1964,1021,763,1350,1242,688,879,1146,1080,1144,1236,1370,1416,1242,894,889,848,789,714,581,451,425,504,829,745,622,1018,1252,1280,608,432,597,661,474,575,1078,930,1066,1192,958,812,867,1144,1480,1578,1382,1322,1004,690,1226,1230,1322,1216,1188,1682,1376,800,883,921,1564,877,514,866,1232,1062,803,486,776,1340,1154,943,943,1044,828,999,1132,1214,1326,1322,1092,1204,1108,1042,962,756,753,930,1126,1026,1368,1388,951,943,1110,853,683,862,927,575,615,896,1548,1186,1068,1148,1038,627,636,706,1056,1544,1572,1406,1220,623,797,1466,947,1118,1438,1260,1162,1326,1180,1116,1150,1416,1466,1096,1104,907,612,544,877,1264,1244,631,694,1192,1152,1094,1018,1016,775,683,682,1016,792,921,1144,1144,1056,1230,1412,1324,1224,1190,1160,1180,1262,1262,970,1004,1546,1682,1424,1288,1110,913,700,498,480,591,600,493,574,1032,1460,1414,1250,1146,1152,987,949,1144,1072,1118,805,733,589,502,461,579,650,777,799,705,710,764,948,1082,1092,891,755,624,459,501,672,755,759,738,794,750,868,813,652,596,703,627,508,529,530,529,565,929,1066,698,891,1118,1704,900,453,378,346,319,513,714,966,1050,865,1050,1046,623,800,1260,776,997,1478,798,441,930,1696,1936,1468,1046,954,1050,1138,991,752,596,575,478,632,739,497,385,431,464,751,1176,1082,1154,1300,1212,1104,1262,1364,991,633,836,1198,1158,1262,842,503,636,1174,1356,1028,765,1042,1402,1460,1386,1390,1208,936,980,1158,944,862,866,835,890,1003,1000,1236,1318,1592,1792,1154,1230,1180,828,441,382,412,333,325,355,400,439,729,1862,1818,1516,1302,1234,1174,885,507,867,1360,1270,951,905,875,864,1016,1164,1100,1312,1360,1202,1178,1226,1182,1246,1194,1044,968,1246,1436,984,735,921,1262,1530,1548,1348,1330,1498,1544,1440],[569,484,458,397,365,380,409,369,368,375,387,376,372,449,518,505,554,486,478,442,402,480,630,602,590,612,550,466,441,429,420,412,367,375,373,339,331,469,556,540,427,411,529,519,440,410,467,456,438,454,482,469,419,305,281,522,733,548,422,475,602,551,568,667,441,442,422,296,543,708,516,448,561,822,725,536,369,331,619,749,498,404,495,421,639,921,1012,916,1000,1404,905,653,973,1418,1028,817,1022,1398,1552,1292,1126,1382,1546,1572,692,572,637,632,991,1148,972,968,1078,1236,1400,882,490,602,859,758,522,876,1082,888,628,634,863,954,568,452,713,1120,1048,726,728,922,1184,1280,788,300,307,461,728,765,596,375,325,408,383,427,480,441,376,283,476,745,723,806,802,750,986,985,830,545,626,658,494,427,415,749,1102,1136,715,561,857,1102,1086,1678,954,366,291,307,311,498,531,565,1018,1190,1182,1458,1246,1160,909,996,1356,1378,996,926,1206,929,584,466,514,659,962,1352,1046,621,376,343,271,346,405,360,361,378,460,555,730,1042,1142,1116,1246,992,544,647,855,742,796,938,981,688,596,622,820,785,744,589,488,406,401,531,1054,1192,957,1196,1106,1136,783,448,317,264,389,800,1142,1015,1028,1050,1166,1110,1050,1322,1326,1250,1222,1314,1276,1148,894,943,1192,1174,1284,1170,1230,1194,1170,1180,1240,1132,1148,1118,1182,1328,1330,1120,1316,1474,1328,1444,1384,1476,922,600,514,426,454,543,636,617,468,469,506,695,1238,1188,696,688,1244,1128,1028,1338,1194,1198,1250,1188,1330,1096,825,790,762,1094,1214,1260,1262,1076,960,755,445,445,649,763,1310,1005,868,944,1260,1478,1692,1498,1364,1518,1762,1328,1032,1286,1270,1286,1214,1320,1458,1414,1240,984,1009,938,989,1202,1090,664,752,669,1008,1154,1204,1072,786,717,562,624,916,857,919,769,584,407,413,309,317,558,593,807,1098,1074,1050,829,1021,972,886,840,657,643,741,794,660,590,694,759,601,661,669,664,1222,1144,1160,1282,1362,831,648,960,1432,1496,1052,1064,1530,1364,1220,658,867,1178,716,509,616,659,628,722,837,1078,1320,1518,1350,1148,669,558,813,606,858,1256,1280,1048,686,467,730,930,959,974,1210,735,668,907,858,868,924,755,695,799,1214,1398,1260,1296,1332,1282,799,902,876,692,940,936,604,618,565,490,430,440,422,464,760,1034,1220,1216,1026,998,1580,1658,1238,633,695,913,550,452,732,1122,1332,899,539,881,1074,744,520,719,1250,1052,733,749,812,925,1102,1094,1050,1056,1108,1066,930,1308,1576,1592,924,918,1258,1364,1206,1394,1642,1496,1232,1056,794,647,930,1348,1252,932,1018,1240,1308,1206,1262,1302,1350,1454,1432,1472,1622,1698,1698,1504,1436,1394,1234,1134,1072,823,703,719,592,934,1154,916,1013,1166,1382,1656,1788,1678,1726,1736,1248,976,1506,1466,1226,1068,867,1026,1364,1316,1210,1288,1550,1524,1466,1362,992,1282,1230,1594,1518,1200,1260,1426,1684,1670,1390,1072,1116,1260,1264,1614,1606,1448,1814,1630,1720,1614,1190,1038,1146,1282,1122,1007,966,1009,1220,883,965,1160,819,896,1052,926,1374,1758,1632,1248,1124,1082,940,1190,1206,901,875,830,826,1214,1058,684,1007,1084,1120,945,1474,1444,1212,1282,1368,1830,1716,1368,1224,1042,1468,1500,1194,1022,897,1060,1546,1512,1224,1400,1074,821,842,805,1162,1212,1384,1376,1306,1284,1416,1052,1108,1092,1108,1070,1180,1302,1296,1470,1054,579,615,931,971,1470,1628,1360,1226,1310,1400,1428,1452,1154,1082,1148,1038,1184,1332,1454,1534,1384,720,684,1114,1122,1044,1050,719,664,786,703,1112,1180,785,488,381,370,457,505,444,500,452,774,951,588,383,680,797,819,651,444,321,448,659,653,661,717,1096,1264,926,1048,1254,1590,1622,1306,2464,3720,3824,3046,984,373,353,495,740,896,966,923,1244,1256,1218,1144,1094,975,1118,2156,1514,476,427,746,802,884,1020,982,1116,1260,1212,1246,1294,1396,1212,1274,1224,1204,1218,1236,1132,1124,996,943,1020,1242,1318,1246,1184,1254,1388,1384,1566,1538,1196,966,846,1102,1252,1234,1298,1004,888,917,727,578,1154,980,698,739,532,683,943,835,1098,1620,1504,1136,1196,1021,1092,1366,1536,1476,1412,1344,1270,1376,1270,1110,923,681,692,1048,977,678,834,1140,1154,1036,1032,857,739,1034,1296,1360,1106,647,1013,1378,1318,1194,1050,1032,1206,1198,1007,1026,1094,939,1010,1082,1120,1350,1426,1120,678,487,405,485,596,823,1188,953,968,802,1050,929,814,915,948,830,1114,1528,1352,1162,1084,1300,1666,1630,1346,1136,1332,1418,1500,1140,853,865,1036,1154,1130,1021,966,1014,1058,1042,1224,1198,1232,1122,1160,1440,1418,1058,946,1072,1284,1506,1144,988,1068,1266,1252,1314,1686,1782,1548,1420,1476,1626,1508,1166,1272,1532,1540,1522,1582,1398,1096,802,552,453,442,481,472,473,512,747,911,1006,1190,1396,1332,1278,1338,1066,1084,1388,1474,1200,1224,971,620,537,733,955,1070,1076,971,769,788,933,1030,1104,1248,1334,1418,1246,967,926,1194,1282,1100,981,839,866,1062,855,1238,1324,1156,1148,982,1024,1204,1316,1074,643,788,868,793,1040,1384,1238,1108,1030,523,539,1118,1100,912,791,985,1088,1001,996,669,760,979,971,480,347,338,314,327,353,399,407,410,573,781,728,1009,989,1232,873,813,1066,1290,1260,1066,951,1106,1400,1340,1102,1378,1418,1288,1216,1126,1238,1394,1512,1322,1260,1168,790,960,1122,968,1007,710,924,774,691,650,615,548,673,804,733,901,957,774,1094,982,920,827,731,933,1130,1338,1430,1164,933,976,861,601,783,1340,1478,1578,1192,910,1056,1338,1500,1608,1952,2110,2304,2012,1330,1007,1226,790,575,732,1048,1588,1834,1548,1136,1372,1234,896,1164,1490,1502,1274,1186,989,874,937,1032,1124,1168,862,664,1154,1484,1140,1032,1224,1242,653,414,777,1202,1052,1132,1344,951,1078,1340,1104,1070,1406,1328,1280,1162,759,715,642,408,372,448,417,559,769,997,901,860,860,683,843,969,780,511,487,706,604,895,1024,803,871,1036,1168,1328,1272,1334,1260,1258,1312,1388,1366,1384,1392,967,738,579,557,638,593,598,613,596,565,551,445,346,364,431,395,494,636,591,647,685,697,636,652,612,573,532,600,569,488,444,444,458,603,883,1076,1136,1186,1144,1164,1176,1140,900,874,976,1172,1624,1858,1724,1650,1310,1586,1484,1312,1460,1592,1260,1328,1494,1526,1636,1516,1388,1394,1410,1548,1506,1326,1600,2034,1942,1536,1380,1230,1256,1432,1460,1466,1350,952,750,922,980,1068,1202,1144,1296,1362,1178,1202,1150,1044,1009,908,995,1108,1032,1106,1340,1396,1118,1214,1314,973,977,1188,1144,1164,1168,1100,1024,1206,1078,1142,1242,1130,1134,1504,1502,1124,1316,1432,1514,1704,1642,1180,1328,1288,985,1348,1614,1384,907,400,519,730,1150,1134,1450,1696,1814,1864,1716,1610,1862,1816,1368,1222,1214,1174,1332,1328,852,681,740,589,525,953,1158,1084,1132,1244,1428,1374,1156,604,800,1034,1028,788,628,855,896,842,969,768,674,963,1410,1928,868,482,681,877,807,568,883,1058,1028,1005,736,589,1324,1570,1682,1682,1460,1406,1108,893,1122,1192,1288,1148,999,1240,1054,771,714,717,977,949,962,891,658,546,563,678,1354,1282,700,570,522,942,987,1066,997,1098,1354,1352,1176,1214,1032,949,1024,1136,915,1072,1270,1328,1498,1270,774,668,839,912,683,619,754,756,745,886,1362,1186,1096,1122,1028,1034,1078,838,974,1244,1366,1472,1418,1368,1370,1780,1164,1252,1410,1070,1116,1312,1360,1226,1021,1436,1586,1426,1238,1156,865,592,805,1224,1028,546,779,1172,1084,1176,799,1052,532,368,513,835,655,886,1094,770,790,958,1368,1532,1524,1356,1180,911,1106,1156,791,775,1262,1350,1196,1256,1146,923,584,514,591,596,597,593,908,1792,2138,1376,1048,1018,1132,1202,1100,981,922,809,753,796,738,634,455,415,504,659,640,581,533,581,668,700,658,605,667,656,514,469,573,780,957,778,800,758,802,767,637,692,661,531,461,508,644,597,411,421,356,546,908,1300,1534,800,348,371,393,325,346,645,1284,1096,983,916,875,539,783,1160,721,686,895,585,556,926,1542,1644,1250,1026,1264,1210,1250,1158,775,711,780,540,446,563,525,423,391,380,624,881,975,1208,1316,1234,995,969,999,918,577,662,987,1390,1036,713,915,1128,1328,1382,1202,974,1476,1406,1468,1444,1300,974,829,1234,1310,1120,1106,1156,1058,1114,1196,971,770,778,1246,1270,1030,1036,1130,1032,847,766,680,618,606,695,669,523,1004,2082,1786,1266,1124,1102,1264,1118,688,893,1210,1200,840,806,870,1184,1320,1284,1304,1512,1490,1200,1021,1060,835,1050,1204,1006,929,863,913,894,841,1015,1338,1522,1472,1464,1556,1584,1468,1140],[532,427,413,359,337,352,392,372,352,357,383,385,388,417,535,588,634,536,447,397,401,546,676,644,586,554,536,493,457,453,442,415,372,377,386,354,398,503,550,518,485,507,525,496,503,461,504,498,475,494,543,531,452,349,319,558,834,438,567,672,684,497,344,360,312,371,339,288,508,590,413,425,539,662,505,382,380,380,357,422,443,388,372,388,401,520,959,1060,1108,1088,736,711,833,923,788,620,814,1210,1172,1152,1009,1042,1308,1632,756,533,605,619,991,1360,1416,1132,692,695,833,512,461,418,313,356,821,1250,1260,885,401,421,961,1226,628,448,532,1268,1224,982,1094,1208,1170,1284,1016,448,362,475,681,736,564,491,370,323,375,436,441,507,480,380,406,399,678,834,678,784,952,902,802,941,1288,1222,774,436,486,427,491,967,1184,870,846,1238,1272,1360,996,488,404,448,360,375,337,410,855,728,816,1162,736,353,689,1142,1394,1498,1306,1350,1488,897,829,689,918,932,1302,1580,1168,543,303,287,271,342,383,353,383,475,619,623,635,972,1080,1234,1450,1078,505,522,581,536,951,1042,932,813,823,723,616,650,645,609,612,394,555,869,1182,1026,1064,1136,966,688,366,348,367,348,260,574,1154,975,1046,995,1140,1076,1036,1308,1366,1336,1390,1354,1352,1448,1294,1186,1194,1160,1536,1412,1104,917,1046,1260,1142,1064,1086,1082,833,1011,1350,876,843,1088,926,882,1110,1310,866,586,705,805,785,645,586,824,667,619,659,1286,1488,1050,720,816,1142,1088,1092,1298,1002,873,1238,1178,1534,1010,958,1214,1001,1084,1218,1302,1384,1358,1314,891,378,389,584,807,1156,1160,1023,996,1162,1460,1688,1452,1226,1342,1284,946,987,1156,1264,1116,1144,1238,1354,1506,1310,1112,1098,883,1036,1266,1172,980,851,752,1100,1308,1376,1288,1198,1332,1024,956,1152,854,685,837,973,800,586,396,326,357,327,663,1134,1238,970,841,1082,946,919,609,369,444,745,808,580,745,1013,1088,968,1176,850,795,1482,1482,1510,1222,1034,866,680,819,1136,1066,1176,1322,1266,1246,944,904,1166,1272,1044,857,708,714,718,1013,995,1184,1224,1366,1090,990,578,717,1050,913,730,560,927,1112,886,597,865,963,643,1486,1874,950,548,788,1021,985,1136,1090,1015,1232,1346,1154,1180,1290,1352,1122,885,1130,1224,949,878,1172,766,683,693,872,725,630,556,728,735,670,777,952,904,955,1616,1814,1230,984,734,824,750,697,1038,1208,953,666,482,1046,1600,1128,602,1148,1406,1102,996,976,815,901,1086,1154,1232,1062,1170,1180,1028,1634,1640,1452,1250,1250,1412,1492,1404,1256,1354,1426,1126,1096,948,980,1050,1188,1248,1098,1086,1202,1174,1192,1322,1266,1438,1158,1021,1084,1426,1552,1462,1518,1526,1530,1656,1612,1512,1358,1330,1262,1122,1256,1354,991,755,869,1092,1388,1426,1180,1410,1456,1588,1316,1556,1336,1076,969,908,1146,1264,1304,1562,1630,1866,1588,1264,1072,969,1056,994,1690,1624,1180,1378,1772,1974,1738,1372,1110,1264,1326,1332,1828,1690,1566,1624,1512,1412,1426,1516,1354,1152,1240,1208,1170,1116,1040,1028,988,1154,1262,847,951,1504,1532,1564,2048,1802,1354,1190,1290,1202,1334,1268,991,937,829,1082,1478,1432,1019,1154,1116,1198,1180,1576,1606,1464,1344,1368,1424,1296,1370,1472,1244,1394,1298,1240,1044,984,1196,1636,1388,1242,1632,1516,1158,992,657,820,947,1570,1464,1604,1320,937,1094,1450,1416,1308,984,1066,1242,1350,1318,749,656,736,756,778,1226,1516,1336,1140,1216,1154,1368,1452,1174,1142,1306,1282,1182,1218,1410,1340,932,769,1212,1486,1238,1116,1218,824,590,760,804,1246,1504,1436,1074,605,622,1138,1418,944,1005,859,930,948,544,407,471,451,674,752,539,332,464,662,659,620,644,959,727,586,852,1072,1236,1398,1322,2518,3914,4124,2790,622,414,402,522,656,782,995,1482,1562,1394,1348,952,1072,1176,1296,2428,1228,574,441,443,426,712,1080,1160,1096,997,1011,1010,940,953,1246,1262,1178,1178,1074,1062,1042,1088,1042,1168,1000,1052,1096,1142,1034,1034,1252,1578,1470,1538,1338,1088,1252,992,754,985,1356,1538,1410,1010,802,1054,1570,1009,462,339,403,806,917,690,912,1154,1354,1288,1172,1060,1394,1686,1496,1084,1070,1270,1372,1470,1250,1070,835,662,636,969,1034,742,1034,1380,1160,1260,1432,880,577,644,1402,1694,1206,785,1192,1260,1176,1266,900,594,1050,1152,933,977,1176,936,1000,1222,1948,1694,1366,1200,795,493,499,487,579,694,1108,933,1042,910,1020,863,763,817,879,972,1328,1478,1264,1058,1210,1584,1644,1374,901,1444,1768,1484,1174,1104,1098,821,1066,1282,954,725,731,695,857,914,1090,1074,1050,1120,1021,1224,1322,951,983,1088,1654,1716,1782,1346,1020,1202,1444,1776,2008,1810,1362,1072,1348,1546,1384,1124,1294,1298,962,1088,1412,1492,1588,1514,1238,761,494,441,502,499,572,955,860,1184,1552,1506,1300,1040,864,1094,1224,1404,1380,1686,1566,1068,1052,1002,664,661,847,1064,1196,1086,935,960,862,821,1206,1322,1422,1446,1304,1214,1362,1404,1396,1278,1126,1124,1166,1002,1162,1206,1104,1104,1044,1036,1102,1198,971,688,957,1108,586,708,1726,1210,1007,743,461,1042,1520,1212,853,974,1190,1362,1546,1346,709,601,1005,1001,521,376,378,372,364,376,467,697,922,915,935,976,1322,1322,880,941,987,858,1440,1516,1166,1074,1500,1504,1324,1208,1526,1378,1152,1042,1013,1254,1500,1520,1320,1520,1354,1062,929,750,695,616,532,932,904,643,616,750,827,745,774,845,1210,1192,673,738,705,857,1074,1094,1192,1310,1146,898,818,774,536,423,646,1290,1496,1486,1686,1510,1234,1252,1196,1510,1594,1744,1992,2230,1946,1570,963,610,630,783,768,920,1256,1148,1146,901,1010,1280,1268,1410,1690,1710,1310,1070,858,725,721,927,1146,1264,1274,1040,1092,955,967,916,1068,919,432,488,937,1196,1034,1336,1404,929,1272,1258,1050,911,1017,1096,1214,1202,540,408,362,370,420,544,603,1216,1582,1192,923,1284,1550,1338,972,481,329,331,380,536,548,784,965,1174,1406,1500,1426,1398,1358,1404,1078,1134,1318,1246,1262,1490,1288,1270,1286,1088,1034,929,844,719,612,560,517,505,514,545,909,1138,917,1062,1076,720,599,662,713,693,685,632,587,545,532,493,468,471,446,484,737,1040,1372,1776,1528,1318,1404,1410,1190,883,820,920,1228,1790,1834,1748,1914,1454,1480,1338,1152,1106,1154,1074,975,1070,1370,1478,1594,1466,1164,969,1428,1760,1338,1360,1604,1566,1386,1338,1324,1332,1468,1500,1462,1432,996,766,951,984,1032,1248,1266,1322,1316,1338,1244,1176,1288,1412,1432,1182,948,1008,998,1023,1260,1150,940,890,745,723,1048,1414,1102,1108,1240,1260,1316,1062,936,1156,1196,1180,1662,1600,1380,1654,1654,1658,1552,1282,762,863,1114,1160,1354,1288,1266,1046,741,604,823,1268,1198,1338,1358,1468,1474,1542,1730,1762,1642,1626,1526,1526,1520,1526,1458,1318,1202,1019,938,1026,1226,1196,910,1072,1350,1556,1526,1296,771,828,1362,1462,952,678,983,1152,1218,1144,1066,588,930,1372,1556,777,583,858,887,616,499,798,986,1072,1192,1058,915,1624,1636,1328,1158,1186,1182,997,882,652,822,1140,864,777,887,733,675,704,457,571,1126,1378,1120,774,659,754,1210,1476,771,419,501,771,811,650,800,808,486,626,844,951,1584,1180,584,930,1192,1180,1112,1206,1602,1556,895,439,408,327,308,418,476,547,891,1028,926,1000,1142,1300,1244,1008,1112,1128,857,1156,1160,1154,915,1108,1656,1754,1640,1284,1320,1330,1170,1188,963,922,936,983,1538,1390,1206,1282,1224,990,832,819,770,815,938,1158,872,719,872,863,775,494,399,368,496,641,913,888,726,854,982,1218,1616,1628,1396,887,615,760,991,883,552,738,817,1038,1212,1114,785,462,404,441,521,604,619,506,1138,1722,1342,1044,908,843,905,905,814,764,543,543,679,827,695,409,395,448,474,498,511,521,544,624,615,546,522,535,589,579,504,531,883,1118,1192,1320,1374,1230,1066,951,811,768,659,501,637,867,672,640,543,425,429,510,595,597,492,430,416,393,362,382,653,819,827,809,949,961,527,509,659,509,664,856,797,1310,1654,1352,1104,1032,1108,1216,1214,1282,1242,1003,915,730,411,403,510,589,431,366,639,786,914,1238,1394,1430,1410,1214,1042,662,528,558,767,1128,1284,861,652,716,835,992,1074,888,992,1376,1496,1396,1246,1008,658,878,1384,1220,901,721,1072,1174,1260,1194,777,564,568,852,855,646,580,741,922,1011,1316,1202,1136,824,788,662,593,876,1164,1064,946,816,937,1210,1076,687,1082,1222,1156,933,1018,1070,1108,1230,1240,1198,1114,835,733,700,879,731,840,960,1013,966,580,719,857,766,1096,1422,1542,1540,1584,1604,1418,1356,1182],[568,407,354,343,322,332,358,345,331,368,397,395,417,430,443,419,518,480,434,435,451,603,707,636,548,476,503,498,458,474,444,393,369,378,364,354,376,428,533,606,542,555,588,592,574,545,491,457,469,498,544,547,507,455,383,668,941,742,457,462,597,538,395,315,302,354,402,413,452,415,411,422,380,337,294,292,362,386,376,372,346,388,398,380,362,402,558,946,838,835,832,641,568,633,638,437,662,1194,1058,1450,1212,711,1404,1600,758,606,590,725,1296,1406,1282,1048,685,780,1044,617,493,465,414,503,774,990,1016,784,830,1252,1556,870,539,401,502,1136,1130,914,1230,1252,1076,1248,990,669,726,695,892,1042,730,571,509,508,688,622,474,473,436,492,426,449,848,756,622,1010,1056,1042,1156,1048,1182,1454,1160,527,503,352,329,662,1192,1050,1023,1108,1046,1212,1124,763,802,835,648,514,331,337,475,619,856,966,641,543,854,941,776,1104,1460,1488,1324,1360,1422,995,1172,1072,1510,1452,597,281,277,271,312,346,381,374,393,487,608,677,697,980,1382,1292,930,752,498,455,369,555,1340,1296,1078,1246,1312,1088,688,503,582,825,883,904,1640,1544,1142,976,1162,1134,822,442,318,313,372,442,574,612,764,919,1176,1318,1274,1226,1466,1470,1260,1414,1628,1382,1256,1242,1190,1348,1250,1182,1362,1400,1142,999,1196,1286,1092,1006,1090,1136,916,902,1358,1102,1003,1006,886,900,1026,1044,841,969,1220,1272,970,722,877,826,582,619,644,918,933,945,1098,1142,1196,788,663,972,874,652,959,710,567,578,896,1038,987,950,1114,1272,1232,1310,923,593,380,425,443,781,1110,1050,901,1112,1318,1474,1546,1390,1426,1216,971,1066,1250,1470,1454,1168,1160,1190,1262,1466,1444,1228,1314,1013,1046,1082,822,818,864,968,1402,1524,1612,1368,1064,1250,1058,1104,1066,1296,1036,1001,1084,941,740,427,313,319,346,490,852,850,535,505,522,350,439,453,423,403,526,418,511,937,1422,1580,1560,1460,845,716,1042,1500,1598,1284,1132,891,656,712,932,1042,1344,1074,1060,1136,1106,1382,1658,1470,982,802,577,656,836,1188,1276,1208,1074,1120,973,785,491,509,534,528,648,524,852,976,1018,627,625,985,1126,1676,1722,1003,990,1202,1338,1436,1780,1364,1148,963,761,667,1044,1288,1232,993,933,1306,1422,1182,904,1122,910,751,813,786,748,753,718,689,713,886,913,741,760,1104,1292,1368,1170,1216,905,824,1068,960,1142,1372,1074,655,459,761,1140,999,548,1310,1524,1036,1170,1304,930,1100,1112,1218,1178,1212,1114,1110,1452,1616,1456,1356,1206,1266,1338,1456,1576,1492,1472,1288,1108,1160,1018,1134,1098,1036,1094,1066,1136,1110,1094,1050,935,1016,1074,1136,1005,992,1284,1196,1134,1378,1246,1266,1476,1540,1588,1562,1606,1672,1648,1656,1590,1224,1172,1400,1362,1480,1536,1360,1340,1092,1160,1154,1352,1268,1226,1206,1162,1302,1342,1434,1604,1476,1868,1816,1654,1394,1166,988,1032,1550,1520,1260,1468,1926,2024,1714,1390,1256,1416,1444,1630,1916,1850,1706,1640,1438,1506,2604,2814,2090,1532,1420,1438,1422,1584,1626,1366,1128,1196,1320,1100,1194,1498,1538,1546,1928,1592,1280,1200,1410,1296,1322,1282,893,1084,1324,1632,1716,1786,1358,1226,1226,1426,1730,1852,1804,1646,1504,1462,1256,1190,1320,1454,1448,1504,1318,1248,1170,1054,1162,1542,1284,1056,1318,1188,902,834,653,1170,1750,2086,1534,1234,1466,1412,1432,1310,1042,1246,1116,885,1266,1358,1164,947,1460,1350,1004,1010,1152,1184,1300,932,913,1044,1214,1166,1086,940,1066,1334,1302,1186,1202,1110,991,1444,1570,1462,1370,1296,1212,946,764,1160,1242,1502,1466,1424,1296,863,944,1448,1698,945,733,778,881,689,659,825,675,604,987,1410,814,336,431,515,482,484,502,896,861,631,828,1142,1668,1852,1484,1450,1562,1718,1282,529,471,818,910,897,902,915,1472,1548,1042,846,616,800,1254,1484,2056,1110,677,574,515,443,646,1094,1252,1278,1160,1374,1070,1088,1146,1284,1348,1138,953,1476,1516,952,1054,1556,1936,1356,1430,1318,997,884,806,1198,1370,1164,1354,1154,1304,1410,789,714,699,1066,1102,1072,934,1154,1554,1384,869,513,612,976,1178,1007,684,917,881,959,1134,912,995,1360,1450,1196,788,1252,1218,1090,1158,1034,1166,937,742,811,683,562,707,1084,1156,816,1434,1638,1066,736,960,1670,1960,1198,658,994,1230,1290,1214,767,1196,1456,1224,1012,1013,1100,918,923,1124,1332,1328,1186,916,814,801,933,537,560,633,986,1306,1264,1056,1246,1106,803,725,977,1476,1324,1198,1202,1152,1494,1744,1618,1194,1372,2048,1906,1444,960,970,1134,986,1148,1466,1300,944,662,472,446,736,1094,1078,1058,944,899,1324,1332,1346,1554,1488,1434,1792,1818,1274,1118,1192,1254,1362,1578,1186,1032,1246,1544,1322,1042,1098,1296,1090,727,788,973,1410,1466,1584,1596,1480,1024,621,480,405,901,1284,1200,1372,1410,1412,1338,1258,882,813,940,1144,1236,1502,1312,1016,1274,1140,574,748,974,1078,1136,986,626,622,858,855,1218,1592,1642,1384,1426,1354,1494,1112,1252,1294,1284,1182,1344,1376,1320,1214,1040,1056,1112,1166,1360,1210,923,794,1078,1312,1126,1007,1216,1080,927,735,491,553,659,612,611,797,657,1010,1526,1326,747,493,1064,1132,542,380,351,364,422,608,853,1042,1096,1048,1214,1412,1526,1350,946,1102,1134,1428,1686,1300,1072,1460,1530,1028,877,1188,1408,1322,1348,1104,962,1238,1534,1400,1318,1470,1412,1148,944,1054,901,582,595,865,1296,1092,968,1014,980,1072,1120,1272,1372,1094,861,1009,1272,1352,1454,1348,1252,1384,1096,784,947,907,622,498,960,1762,1848,1548,1650,1708,1500,1180,761,1228,1458,1760,1896,1874,1604,1430,1294,940,719,767,865,817,763,1022,1398,860,666,1013,1336,1332,1448,1682,1592,1534,944,1004,1190,945,1204,1002,1092,1098,841,764,1256,1354,976,541,434,485,929,1132,992,1212,1102,944,1136,1074,1102,1054,919,1290,1866,1506,715,393,338,379,395,707,852,1346,1576,1094,828,1134,1562,1564,1080,523,376,415,405,641,622,665,1028,1192,1308,1316,1156,1480,1608,1352,1246,1326,1344,1286,1356,1330,1256,1238,1028,996,1270,1426,1350,1170,952,632,672,858,1048,1112,1166,1238,1312,1374,1432,1126,730,618,655,703,702,687,648,594,517,479,474,465,463,536,918,1204,1334,1552,1414,1346,1378,1324,1009,850,882,1019,1206,1092,1158,1372,1676,1560,1238,1114,1011,827,888,1040,899,1070,1544,1676,1594,1174,785,850,1494,1650,1248,1274,1464,1304,1222,1290,1416,1386,1388,1482,1490,1574,1162,935,993,909,1226,1552,1286,1144,1104,1286,1260,1262,1556,1498,1418,1460,1248,1064,823,838,1370,1388,1036,1164,1214,1180,1266,1678,1260,1368,1522,1422,1340,1078,933,1406,1582,1416,1684,1620,1392,1142,1072,1224,1176,1108,1046,1136,1310,1296,1220,1140,1132,755,946,1074,816,974,1454,1338,1028,1224,1220,1356,1232,1366,1844,1942,1952,1826,1544,1566,1436,1300,1412,1476,1490,1660,1722,1362,974,955,1014,1238,1432,1258,863,594,650,918,864,802,1128,1484,1350,1042,842,541,643,1010,1192,700,602,883,845,699,650,698,879,1146,1410,1310,1132,1004,1016,1164,1332,1382,1168,1036,1056,910,1140,979,757,893,877,888,939,1036,695,520,863,946,538,564,752,832,1138,1178,1010,590,510,888,897,493,644,861,597,499,660,1021,1656,1088,744,796,1104,1318,1116,1160,1466,1422,1148,763,526,384,400,760,1009,749,781,1076,1136,1136,1162,947,1007,943,929,985,1024,1184,1106,994,824,915,1310,1524,1662,1804,1516,1288,1566,1220,899,777,685,966,1328,1064,1094,1262,1234,1184,1278,1322,867,713,1112,1318,1118,951,675,703,860,956,893,836,827,676,912,891,1013,897,1146,1368,1556,1290,1158,1210,1144,1062,839,753,820,899,738,1058,1040,805,495,446,526,514,562,684,653,642,1186,1288,1250,900,792,973,983,956,897,666,467,455,676,1036,650,376,371,417,395,433,490,493,520,579,564,527,512,514,512,595,596,595,1003,1038,1438,2656,3050,3040,2340,1354,851,794,769,729,971,886,1262,1376,728,473,441,530,771,868,623,428,399,604,812,601,709,629,551,600,824,848,674,757,847,551,716,826,693,1234,1644,1032,846,1300,1404,924,916,846,728,551,612,401,282,444,478,597,553,589,972,1114,1048,1252,1446,1396,1226,1296,821,612,537,581,905,1180,1214,1096,771,548,466,464,681,541,684,1036,1236,1062,1036,1126,1106,1206,1096,1072,992,910,1252,1240,1330,1040,585,464,426,320,280,345,325,369,755,1078,1020,1060,869,716,646,501,368,408,490,629,802,604,771,940,595,460,1080,1186,810,725,982,1042,1164,1292,1084,946,838,682,766,1021,1406,1094,1054,1134,1072,1142,1108,1002,1072,1114,1404,1528,1544,1492,1562,1450,1366,1240,1018],[624,422,348,330,308,295,331,392,395,371,415,422,441,485,424,419,443,429,430,433,501,651,644,624,596,509,497,483,435,456,439,412,410,358,331,372,377,407,445,501,501,540,586,601,567,552,514,462,463,498,515,518,497,513,409,865,1018,741,528,529,524,544,412,335,345,348,460,460,488,410,487,645,520,404,339,298,341,386,382,381,348,528,428,402,507,581,517,549,432,439,465,463,490,423,524,529,830,1142,763,904,995,970,1488,1350,717,688,586,536,814,1100,1064,995,606,404,525,648,633,586,604,824,1058,1040,978,900,949,1230,1216,1006,779,632,741,1068,1160,1142,1396,1272,1036,1072,802,818,709,895,933,825,664,553,458,611,702,392,343,330,288,352,371,711,1076,821,749,981,942,1050,861,710,1260,1426,1076,586,407,359,289,373,541,795,1090,1070,1056,1104,985,660,727,1100,988,750,415,335,467,459,502,487,430,623,880,1032,708,537,1190,1444,1338,1574,1886,1540,1196,902,852,532,333,331,349,279,328,332,345,397,413,462,555,625,670,1052,1376,984,1056,1118,938,611,411,612,966,936,991,1218,1470,1400,966,559,489,616,932,1194,1650,1830,1444,1108,946,754,509,306,293,267,301,352,606,721,615,711,1086,1388,1308,1274,1478,1392,1354,1476,1498,1382,1434,1356,1316,1138,1190,1362,1380,1328,1120,924,844,918,1290,966,871,846,800,799,1268,1238,1056,1038,1002,968,948,948,759,740,627,662,713,734,873,622,452,516,557,841,1268,1360,1150,764,1066,656,684,1050,966,622,521,420,361,578,719,854,949,877,1090,1044,1126,1266,821,418,336,486,564,797,1148,966,1021,1178,1278,1386,1406,1490,1492,1160,1130,1230,1522,1814,1662,1422,1174,1003,1144,1206,1458,1306,1266,960,907,931,891,1064,954,904,1344,1494,1496,1432,798,554,825,1026,947,919,811,979,966,764,728,394,329,287,318,409,631,514,402,816,801,463,400,407,332,444,601,532,731,1230,1450,1710,2040,1310,606,538,605,765,1009,1012,1004,968,919,1088,1080,1054,1084,957,952,690,613,1148,1488,1270,587,586,653,669,940,1258,1400,1194,1096,1110,999,940,574,500,494,578,747,674,455,590,850,839,741,915,1254,1378,1578,1372,1262,1454,1448,1430,1270,1302,1260,901,855,1015,1172,1332,1302,1014,902,1068,847,758,791,1052,995,825,817,738,715,731,728,579,703,999,1017,791,880,1166,1236,1246,1214,1378,1122,852,949,1126,1280,1308,1262,692,439,555,669,706,546,1001,1566,1294,1254,1628,988,1126,1330,1402,1296,1314,1274,1452,1640,1286,1118,1214,1256,1362,1158,1200,1242,1204,1246,1130,1082,1134,1232,1266,1172,1266,1324,1240,1202,1176,1021,1007,975,974,1110,1260,1074,1038,1184,1184,1240,1562,1482,1314,1360,1390,1420,1362,1282,1294,1406,1564,1388,973,1019,1604,1644,1752,1814,1730,1594,1560,1586,1634,1644,1442,1324,1320,1290,1382,1372,1510,1466,1508,1694,1756,1612,1508,1532,1390,1536,1758,1684,1440,1522,1526,1666,1638,1592,1598,1776,1792,1728,1788,1738,1788,1804,1592,1528,1880,1982,1802,1688,1656,1746,1798,1866,1756,1608,1558,1436,1566,1606,1614,1784,1706,1678,1836,1788,1500,1384,1594,1570,1608,1494,1398,1648,1638,1630,1544,1468,1134,1098,1188,1434,1726,1832,1824,1812,1782,1678,1630,1710,1688,1578,1628,1510,1258,1234,1396,1204,1060,1618,1262,1080,1244,745,556,594,990,1604,2054,2048,1550,1526,1536,1404,1426,1192,1278,1268,1306,1076,1418,1358,1088,1202,1522,1962,2060,1436,1102,1190,1448,917,999,1168,1100,1194,953,759,973,1378,1528,1128,1216,1268,1278,1394,1236,1332,1262,1214,1228,987,1250,1504,1442,1384,1088,863,970,1016,1136,1256,1074,650,482,530,843,1162,1274,1096,739,422,863,1724,994,443,463,568,690,846,813,977,1120,1094,1176,1230,1558,1690,1208,747,990,1048,685,633,558,824,1028,839,750,911,1154,1024,680,540,464,803,904,799,931,772,530,466,472,426,704,1062,1018,1116,1200,1388,1276,1188,1180,1412,1484,1260,1076,1230,1310,1110,1276,1844,1760,1444,1288,1236,1220,1230,1214,1466,1202,914,1072,773,802,728,521,609,582,860,783,728,808,1154,1534,1646,1428,1094,1246,1768,1686,1030,780,838,1154,1550,1274,625,575,753,1064,828,772,1516,1670,1412,1144,1186,1232,1130,1040,752,528,437,562,672,688,1142,1700,1450,1144,978,1164,1630,1716,999,615,910,1312,1464,1414,1346,2194,2022,1980,1678,1128,1096,965,857,813,928,1094,898,692,748,784,841,512,733,1104,1412,2090,1830,1006,1012,1122,843,882,1356,2480,1580,1130,1182,1224,1610,1688,1470,1314,1592,1786,1616,1390,1134,1216,1166,1130,1296,1434,1784,1514,827,461,594,1048,1108,1170,1166,983,1256,1238,1023,1100,1142,1384,1544,1260,962,1288,1290,1260,1474,1304,1050,995,1108,1106,1310,1276,1116,952,976,1068,892,875,1422,1656,1156,1368,1556,1668,1594,1294,880,615,1096,1434,1376,1378,1312,1208,1244,1150,902,1011,1000,1056,1130,852,508,432,694,800,879,963,1023,848,877,744,466,385,439,802,1310,1388,1232,1082,1408,1456,1462,1110,1234,1446,1438,1506,1578,1324,1212,1116,1166,1116,1144,1388,1598,1674,1600,1174,960,1023,1220,1160,1096,1072,983,1074,940,520,376,376,482,706,650,677,731,656,668,798,1178,1108,477,466,631,883,1106,1220,1264,1114,1360,1810,1946,1708,1428,1538,1548,1406,1344,1634,1400,1122,1244,1422,1360,1126,849,1236,1464,1132,1462,1392,1128,1007,1012,1154,1382,1286,1146,869,911,1410,1528,1220,684,960,1498,1078,980,1098,1166,1122,1466,1314,915,993,1086,1180,1176,1352,1720,1664,1332,1096,758,1000,1470,1246,868,906,1294,1758,1798,1562,1588,1460,1070,1190,1238,1428,1732,1918,1704,1676,1510,1258,1332,1350,977,936,1148,787,836,1388,1524,869,900,1126,1210,1402,1424,1500,1710,1736,1648,1960,1870,1230,1058,1178,1042,822,863,952,1026,1204,941,468,423,535,1050,1416,1384,1344,890,546,568,565,761,1174,1212,1230,1698,1346,1170,813,827,855,671,716,894,1074,1334,1074,1048,775,742,792,717,541,419,434,412,403,442,718,1054,1016,1096,1216,1340,1532,1580,1426,1454,1326,1180,1302,1522,1484,1290,1416,1238,1030,1064,1230,1482,1666,1550,1296,1424,1450,1312,1280,1308,1396,1400,1272,1228,1062,1120,1004,815,695,696,685,682,673,593,500,459,437,449,726,1250,1282,1184,1184,1350,1340,1298,1276,936,1023,932,1142,1246,1126,1184,1228,1610,1544,1212,1310,1354,1144,966,891,778,1316,1682,1804,1666,1208,1054,1246,1362,1350,1338,1388,1364,1194,1274,1410,1402,1260,1360,1326,1106,1064,969,882,869,811,943,1302,1362,1332,1164,1352,1508,1326,1338,1502,1734,1734,1342,1020,949,1040,1344,1416,1350,1490,1400,1274,1214,1260,1180,1310,1324,1386,1478,1294,1228,1698,1736,1592,1670,1532,1134,974,1258,1372,1316,1170,1084,1024,1210,1192,1116,1074,998,720,855,968,653,807,1410,1196,1026,1268,1156,1274,1238,1384,1454,1572,1790,1838,1814,1610,1436,1420,1746,1832,1568,1750,1676,1534,1414,1010,786,1180,1324,1170,963,631,443,402,505,883,1520,1714,1332,866,1266,1015,510,1015,1260,855,487,528,828,996,1048,1036,1152,1342,1098,590,328,420,652,1068,1330,1108,820,903,1254,1248,1400,1142,1022,1013,1066,1056,1210,1254,901,871,738,531,570,775,597,735,801,799,885,626,450,739,796,633,838,978,1023,855,780,763,923,1248,1254,1140,1308,1324,944,725,1096,1314,1344,1206,1070,671,521,1108,1420,1218,1052,1224,1128,831,968,1094,1036,963,797,769,982,1086,897,756,932,1166,1262,1180,1396,1804,1622,1274,1268,1248,1268,1132,983,1246,1268,963,1028,1152,1338,1412,1484,1308,855,742,1086,1192,1178,1112,657,410,556,1036,1280,1152,1016,979,1096,847,848,855,1096,1280,1264,1186,1034,1034,1306,1210,877,1046,1318,1208,1346,1462,1009,728,747,947,1038,688,549,471,462,685,1220,1262,1078,805,868,1184,1262,1322,1138,707,573,476,610,932,949,814,527,439,435,426,413,420,487,503,483,485,480,527,483,535,624,852,1208,1112,2138,3078,3708,4872,3638,1380,1112,1050,984,1140,1250,1242,1618,1224,777,740,811,969,749,722,572,385,431,999,1292,943,914,827,872,836,991,1354,1788,1202,974,802,1108,1078,901,1172,1322,1116,986,1292,1792,1112,576,429,473,825,892,531,378,462,444,475,548,741,1148,1170,1070,1202,1376,1422,1408,1158,650,421,351,431,872,1224,1236,1128,908,549,535,497,557,841,700,648,636,681,1006,1336,1366,1280,908,1068,1142,987,1252,1304,1162,855,566,586,719,504,525,579,433,443,758,985,931,1206,1068,784,735,646,528,492,484,490,471,505,587,612,502,556,1090,1244,1084,1274,1136,1062,1134,1224,1154,878,868,1114,1236,1136,1472,1400,1162,1122,1072,1240,1108,1018,1484,1508,1476,1586,1616,1388,1366,1266,1208,982,879],[619,496,372,313,268,252,385,447,421,388,384,425,479,534,532,479,439,408,394,457,596,668,617,603,560,458,456,461,411,421,443,458,436,383,346,372,365,377,400,493,528,529,542,566,554,529,531,514,484,518,512,512,492,456,341,655,849,684,688,785,699,658,434,335,339,336,450,503,434,408,619,665,502,455,447,338,312,328,324,334,354,428,351,406,541,544,552,522,392,378,371,483,923,710,696,733,888,821,432,468,770,1016,1390,1408,672,570,459,421,560,871,1136,1010,542,341,616,802,600,462,609,1174,1488,1280,1188,893,937,908,560,522,691,958,964,928,1138,1458,1456,1146,978,1052,1178,1070,750,645,529,543,673,487,405,474,469,337,356,349,335,314,342,671,835,692,796,896,1144,1072,824,725,1052,976,932,891,855,592,321,329,338,628,1078,1072,1088,1096,878,451,420,687,691,716,560,550,592,473,401,258,295,522,767,892,696,499,879,1208,1382,1562,1444,1406,1032,612,534,507,391,356,291,270,305,339,342,461,556,538,534,493,606,1194,1060,926,1232,1334,1322,1158,941,714,677,939,851,725,1190,1444,1100,691,576,447,678,1001,1314,1678,1834,1564,924,401,310,296,280,257,262,326,357,698,783,724,1004,1282,1096,1332,1414,1490,1500,1278,1130,1074,1162,1368,1174,765,1034,1222,881,928,1013,709,570,1308,1852,1192,692,769,714,592,1094,1512,1310,1230,1188,1280,1434,1208,1026,761,477,512,897,915,810,774,344,370,514,937,1730,1334,1098,1104,1264,635,565,894,888,588,507,471,476,566,727,1088,1044,905,1110,1054,1138,1148,886,574,370,378,495,694,1062,871,1024,1021,1030,1192,1290,1450,1230,1130,1156,1104,1472,1630,1344,1376,1136,952,1210,1294,1508,1550,1300,1064,1194,1362,1388,1334,1130,1086,1300,1346,1434,1660,1190,757,1009,1070,1098,1044,561,562,526,456,703,398,314,347,646,562,433,549,533,494,702,786,588,572,663,778,785,578,630,1040,1348,1616,1348,875,963,1086,1168,879,855,842,807,758,1012,1378,1218,1058,969,890,935,905,933,952,1024,1198,1244,1102,960,958,1272,1424,1338,1250,1276,1310,1238,1090,885,1082,1072,1032,1184,1144,969,974,1086,1306,1300,1298,1426,1494,1556,1450,1306,1204,1414,1384,1094,1238,1360,1228,1146,1128,1360,1376,1230,1318,1302,1146,763,866,1214,1450,1362,1172,1168,1122,1028,976,857,1052,1128,930,951,1100,1228,1298,1378,1272,1232,1156,922,949,1004,988,1106,989,1220,1034,763,727,893,1064,901,873,1262,1310,1348,1248,917,966,1200,1488,1226,1084,1344,1576,1350,1052,922,940,953,1268,976,786,931,948,1002,1122,1150,1152,1070,1072,1030,1060,1182,1042,1120,1024,949,1038,1034,1136,1334,1332,1174,1086,1078,1100,1126,1372,1538,1300,1176,1256,1384,1354,1258,1294,1546,1530,1450,1582,1562,1508,1320,1184,1388,1672,1556,1622,1614,1638,1566,1538,1550,1638,1622,1600,1574,1704,1668,1508,1488,1606,1572,1514,1652,1598,1616,1648,1818,1688,1728,1798,1962,1842,1720,1790,1858,1836,1830,1864,1708,1728,1678,1598,1644,1864,1664,1606,1730,1780,1724,1714,1768,1772,1760,1788,1788,1752,1730,1726,1784,1732,1764,1802,1736,1672,1804,1838,1794,1906,1820,1804,1772,1506,1082,1044,879,794,1156,1162,1132,944,1260,1382,1396,1640,1740,1860,1874,1840,1830,1890,1756,1570,1572,1682,1632,1396,1470,1368,1316,1408,938,567,665,1126,1524,1798,1690,1548,1656,1320,915,1040,1324,1308,935,934,1216,1478,1324,1001,747,874,1032,1046,1130,807,949,1246,1058,1168,1162,1432,1506,1120,1136,1700,2554,2300,1324,1138,1150,1278,1292,1048,1016,1138,1360,1152,1000,1338,1554,1372,847,762,696,1188,1202,1278,1226,902,760,711,708,974,1044,1036,716,525,854,1003,789,730,631,969,1178,1098,1138,1230,1252,1228,1300,1152,627,866,1284,797,471,909,885,711,836,854,1106,1178,995,1130,1278,1372,1264,826,645,660,945,683,326,363,424,436,411,460,473,791,1192,1276,1122,966,1084,1346,1382,1352,1378,1384,1378,1338,1396,1228,1238,1360,1536,1354,1082,1050,1196,1308,1340,1410,1540,1118,1052,1182,1017,775,969,653,607,898,1250,1048,1074,1478,1394,1338,1246,1288,1460,1636,1838,1686,1438,1232,1058,1292,1438,1005,469,413,582,753,599,1214,1512,1512,1430,1084,1074,1056,944,778,560,595,404,604,547,382,574,1062,1232,1224,1128,987,1078,1182,957,966,1044,1464,1278,1296,2002,1936,1726,2144,1652,1226,953,768,836,788,975,1240,805,521,670,904,800,700,1042,1156,1208,1500,1506,1228,1174,1584,1040,869,1322,1742,1248,1122,1228,1362,1560,1412,1226,1390,1422,1292,1306,1294,1258,1312,1138,1124,1078,1130,1620,1620,1304,969,951,1160,1300,1180,1172,1194,1452,1108,949,1092,1100,1134,1158,783,626,999,1228,1212,1320,1092,978,1222,1166,1184,1278,1248,1166,1050,1344,1748,1332,1272,1960,1482,1016,1174,1360,1576,1620,1808,1572,1386,1456,1170,1366,1672,1240,1084,1180,1048,1134,1110,888,1076,1178,776,639,849,977,1138,1434,1654,1618,1322,1228,959,613,766,886,861,969,828,1058,1242,1224,1480,1626,1244,1238,1544,1440,1286,1440,1924,1326,1076,1216,1034,1150,1558,1772,1694,1314,1178,810,543,761,894,1078,1220,1336,1362,904,513,401,336,443,647,792,750,715,896,1006,935,1258,1260,944,1038,1146,1214,1094,1102,1266,1360,1610,1750,2152,2086,1500,1616,1880,1828,1462,1172,1138,1214,1214,1262,1302,1158,1222,1548,1740,1758,1272,1182,928,1120,1362,1274,1192,1102,903,742,810,1130,1588,1306,938,1072,1132,862,868,1102,1224,1246,1344,1176,1174,1232,1028,788,1244,1750,1622,1612,1512,1416,1140,1166,1496,1346,1160,1386,1636,1802,1544,1500,1444,1340,808,695,1190,1572,1794,2008,2104,1998,1524,1124,1009,820,880,1362,1282,787,865,1098,1156,1174,1422,1330,1108,1078,1318,1496,1558,1626,1866,1970,1604,1172,1062,1094,753,747,1102,1144,1110,1014,607,495,434,404,904,1086,1054,1052,754,729,604,408,583,1090,1200,1236,1470,1230,1180,1060,1008,1260,1152,1016,1120,882,988,774,1128,587,387,553,673,577,441,480,484,422,477,698,959,690,832,1468,1810,1582,1316,1386,1522,1340,1136,1230,1550,1684,1322,1426,1462,1130,1416,1732,1740,1764,1528,1362,1460,1238,1114,1150,1358,1522,1406,1368,1248,927,885,1164,1254,1060,713,650,680,682,649,568,478,459,421,894,1330,1230,1080,1098,1260,1246,1404,1282,990,1060,1220,1216,1000,998,1264,1576,1542,1250,1716,2206,1992,1560,1210,1013,952,1326,1616,1708,1724,1598,1404,1376,1458,1628,1520,1378,1288,980,992,1408,1376,1244,1050,861,952,1194,1218,1056,933,806,972,1354,1410,1460,1196,1134,1214,1098,1016,1146,1198,1124,1050,1048,1070,1110,1396,1378,1558,1422,1068,956,1110,1192,1158,1392,1368,1486,1622,1522,1222,1174,1104,1216,1288,1370,1182,1082,1162,1176,1288,1316,1220,773,755,810,857,711,727,687,694,739,479,828,1624,1544,1450,1168,666,620,811,1262,1238,1344,1488,1404,1302,1064,1180,1372,1726,1766,1580,1636,1534,1788,1842,1676,1534,1668,1896,1782,1466,1274,838,661,746,926,1180,1238,1148,989,1460,1114,474,646,861,809,668,628,1017,1038,1144,1312,1280,1066,815,624,488,480,569,885,1224,956,835,988,1210,1254,1282,1448,1488,1038,682,1058,1760,1814,1342,1034,646,564,839,1038,852,835,994,879,615,613,838,814,613,866,1174,1216,1200,1056,811,948,1206,1004,826,1198,1508,1390,965,861,960,1036,1092,1146,1068,993,971,1060,1332,1322,1264,1462,1172,1004,1015,1176,1100,894,700,790,965,980,813,636,855,1130,1140,1188,1142,1318,1632,1598,1534,1690,1600,1274,1126,1268,1276,1060,995,1284,1328,1370,1388,1430,1128,1016,1240,977,925,934,395,356,469,484,477,692,918,1228,1318,859,530,799,1306,1092,905,1294,1056,1156,1362,950,783,1066,1338,1166,1416,1356,1060,1182,1010,891,1048,723,525,471,540,686,736,860,965,904,1064,1172,1194,1364,1178,707,868,875,919,775,1220,1356,891,528,462,430,374,369,427,449,411,425,426,507,551,522,615,1178,1362,1506,2874,3242,4552,5020,2798,891,761,1019,1262,1416,1324,1464,1390,988,878,684,878,1316,1194,794,582,392,414,976,1050,940,914,890,1174,1172,1030,1188,1360,1180,1005,1144,1272,1464,1770,1594,1294,1024,1104,1044,1268,1090,728,565,775,1084,800,633,791,814,561,499,545,604,915,940,1070,1332,1444,1682,1640,1210,655,401,406,600,1092,1694,1274,929,821,720,609,535,1004,1262,891,566,417,624,1052,1220,1186,1100,1026,1318,1190,809,925,1132,1158,957,862,991,981,650,657,786,793,648,617,628,726,777,617,659,819,758,686,609,496,452,382,354,418,417,335,596,1240,1290,937,904,999,1126,1204,1304,1026,1044,1226,1416,1360,995,1021,1226,1124,1102,1200,1052,933,1160,1468,1522,1522,1476,1240,1140,1180,1220,1278,1174,1060],[720,546,333,283,275,254,267,351,359,385,399,426,457,508,506,420,354,372,416,546,620,617,555,507,465,441,458,445,393,401,441,453,395,388,397,376,422,418,429,487,516,518,514,523,528,527,531,547,517,511,509,489,496,408,296,372,491,415,372,457,526,655,648,408,319,348,401,561,749,975,840,543,368,460,556,359,321,344,363,326,316,386,375,444,599,639,832,1019,669,469,332,332,681,592,888,792,747,816,516,448,651,713,813,959,745,495,399,364,419,686,932,732,457,444,431,437,393,374,633,933,990,770,710,909,1256,1186,910,631,607,948,1011,1130,930,1040,1272,1306,1318,1278,1244,1150,1001,809,472,617,614,389,339,425,480,435,389,414,420,392,476,576,470,458,520,1226,1848,1266,1314,1226,891,984,998,932,1220,1040,429,346,305,545,1026,1144,1284,1150,667,385,445,603,850,937,634,525,460,362,397,275,291,368,543,462,335,347,777,1052,1282,1570,1562,1550,943,711,539,662,658,440,252,300,370,348,372,489,500,519,540,584,487,963,711,708,1026,1280,1464,1470,1098,671,956,1180,707,692,830,1140,1218,1196,818,446,396,702,1272,1670,1512,1058,619,329,274,238,267,251,269,313,267,441,580,485,574,998,1320,1504,1382,1610,1498,1180,1180,866,749,1021,1004,801,1001,1046,744,512,789,844,886,1160,1302,1190,987,886,799,850,1116,1492,1156,1260,1140,1316,1314,1208,1158,755,496,511,1062,1302,1120,892,549,509,533,868,1434,1000,1186,1440,1266,677,300,577,924,645,468,399,459,612,759,1090,1088,1044,1001,937,976,737,539,625,523,453,440,484,794,822,1126,1078,905,1132,1416,1532,1538,1788,1912,1020,879,1174,1126,1120,1044,1122,1418,1384,1388,1606,1590,1428,1434,1272,1156,1116,1122,1190,1656,1466,1498,1498,1276,1074,1098,1098,1026,1200,1158,884,420,360,505,440,319,552,922,700,350,483,741,791,802,1172,988,816,1054,1098,914,891,910,1142,1536,1776,1656,1418,1284,1248,1552,1650,1354,1078,1064,1092,1212,1152,1120,1186,1204,908,652,482,435,542,806,1192,1232,868,608,694,953,999,873,1048,1146,579,682,1038,923,811,531,716,1128,1186,1122,1054,1122,1394,1644,1434,1356,1432,1460,1354,1186,1108,1212,1188,951,850,1050,1074,881,746,822,825,1158,1192,1140,1224,828,575,749,1190,1282,1130,988,992,952,854,980,980,680,625,980,1148,955,1030,1222,1140,1294,932,800,824,1012,1210,1034,941,924,684,655,902,1036,1046,890,936,931,1068,1148,1018,898,1132,2674,3226,1186,697,1124,1130,848,1042,908,821,891,987,625,430,570,916,1434,1664,1532,1172,843,1020,1048,1062,1028,1002,1110,896,875,1110,1021,1014,1230,1088,1080,1232,1260,1224,1390,1324,1360,1210,951,1074,1342,1474,1598,1294,1472,1462,1576,1482,1246,1112,756,411,1110,1756,1324,1068,885,772,1021,1106,1102,1242,1228,1264,1200,1146,1076,990,1110,1290,1208,1056,1414,1652,1740,1686,1440,1606,1700,1736,1962,1780,1494,1510,1244,1538,1696,1738,1572,1740,1600,1360,1458,1512,1420,1598,1504,1418,1280,1482,1636,1584,1566,1624,1622,1534,1592,1628,1656,1644,1582,1680,1758,1562,1666,1760,1906,1868,1874,1830,1658,1180,686,703,645,713,1194,1070,924,677,1156,1252,800,990,1498,1864,1944,1936,1886,1866,1784,1752,1698,1786,1832,1766,1616,1674,1738,1722,1354,1152,1252,1376,1444,1542,1534,1586,1548,1352,1074,1092,1228,1110,1106,1170,1168,1208,1442,1264,798,935,749,885,1070,818,1200,1518,1486,1218,1050,1362,1510,1458,1528,2032,2922,1710,1338,1036,1156,1170,1100,1130,1322,1344,1450,1572,1486,1204,1486,1356,744,1236,1114,1448,1444,1434,1396,1036,1005,1046,824,860,888,1310,828,651,1200,1408,1194,880,825,1054,1162,1148,1344,1404,1330,1374,1416,1256,1048,1162,1184,807,963,1526,1268,1098,905,659,952,1026,970,1218,1622,1674,1114,769,564,588,921,786,484,628,870,664,440,464,505,959,1112,1118,1058,889,954,1248,1216,1266,1266,1314,1242,1460,1476,1388,1362,1240,1124,1130,1216,1272,1344,1372,1346,1520,1576,1001,728,857,1098,1094,1090,834,951,1496,1464,948,1214,1526,1200,1170,1022,597,640,1102,1470,1488,1626,1494,1180,1426,1374,653,390,398,619,777,737,943,1042,1208,1108,866,997,1130,1198,772,709,700,470,607,540,421,360,453,856,1226,1446,1870,1560,980,953,1042,1270,1336,1140,1004,1330,1216,1692,1824,1258,1306,1224,864,947,1086,1064,1180,967,717,886,1150,1012,1112,1412,1328,1088,745,918,977,898,1274,1162,766,763,1064,1186,1278,1440,1650,1562,1194,1046,1300,1470,1434,1146,1112,1216,1318,1250,1182,860,619,1056,1484,1588,1490,1284,1348,1494,1316,1344,1486,1270,1078,1098,1134,1156,1138,1216,1700,1238,866,1198,1238,1388,1322,1224,1286,1278,949,920,973,1102,1306,1772,1752,1566,1524,1236,819,1186,1346,1532,1826,1594,1582,1612,1748,1672,1356,1260,1346,1462,1650,1330,1060,1144,1052,993,1184,1224,1144,1202,1384,1334,1152,2082,2222,1498,1128,1042,926,871,1000,932,986,739,498,841,1184,1306,1536,1548,1318,1282,1248,1194,1140,1132,1338,1288,1058,935,898,1068,1638,2014,1484,1060,1024,852,1032,1236,1198,1334,1494,1668,1448,888,481,336,304,409,600,890,1100,993,1170,1258,1052,1366,1504,1360,1272,1150,1020,1000,1170,1316,1452,1592,1594,1714,1544,1440,1764,1818,1548,991,925,1136,1106,1074,1120,932,802,875,1478,1526,1766,1432,882,745,1146,1266,1198,1070,988,987,921,999,1548,1924,1528,1094,1088,954,861,891,956,1196,1410,1260,989,1184,1080,750,741,1148,1540,1394,1392,1524,1504,1248,979,1064,1066,1236,1532,1594,1636,1622,1414,1402,1412,1108,732,940,1380,1626,1784,1792,1634,1464,1228,854,724,1246,2094,1820,1054,713,641,769,1246,1444,1162,855,680,832,1250,1226,1588,1902,1806,1610,1428,1404,1344,855,1130,1206,983,1070,1268,1068,709,496,591,821,959,918,747,816,1144,955,660,505,811,1278,1370,1432,1268,1128,919,613,781,1182,1376,1184,952,1124,1114,1054,847,777,773,778,674,576,670,611,514,631,974,987,940,1058,1658,1876,1758,1544,1358,1490,1290,820,958,1102,1156,1390,1396,1402,1296,1980,1966,1372,1296,1260,1252,1426,1172,1152,1222,1354,1176,1238,1274,1324,1208,923,812,987,1186,1120,785,628,623,601,591,538,493,611,956,1200,1226,913,1024,1382,1190,1272,1146,1168,1262,1478,1310,1184,1182,1378,1630,1434,1586,2580,2740,1932,1478,1224,709,764,1402,1888,1770,1674,1662,1322,1322,1520,1602,1488,1270,1288,1110,1001,1152,1202,1018,949,1216,1598,1308,1004,909,964,845,950,1272,1218,1256,1208,1030,976,976,1006,1024,1058,1058,1102,1178,1074,1176,1404,1498,1780,1538,984,833,945,1154,1438,1798,1736,1690,1608,1116,550,572,855,999,1118,1146,986,849,1026,1240,1184,1204,1076,1066,1100,873,865,912,1086,868,455,434,404,782,1542,1326,927,876,603,652,861,1084,1256,1172,1040,1106,1188,750,625,685,1080,1516,1642,1692,1698,1476,1328,1550,1784,1726,1780,1698,1666,1638,1288,1144,1372,1644,1474,1114,1208,1490,1198,610,415,570,861,1100,753,756,982,794,654,565,698,864,1072,1048,872,880,872,807,1158,1348,1212,960,1152,1220,1046,1308,1492,1182,911,1124,1300,1322,1168,877,517,539,647,679,756,954,1252,1056,828,766,805,754,794,870,877,949,1120,1134,940,830,803,591,622,827,1148,1084,1176,1290,1066,1038,1288,1290,1090,1098,1026,1158,1294,1304,1300,1368,1108,1007,1015,1054,1030,1040,924,821,799,642,783,1184,1426,1322,1088,1140,1272,1596,1854,2330,2342,1946,1844,1500,1136,1162,1190,1378,1011,914,1074,1106,1038,1306,1256,1058,1050,819,756,651,393,383,532,428,367,373,567,1036,1296,954,562,818,1098,807,882,1184,855,1182,1192,1014,930,982,1072,1062,1005,1094,1156,1188,952,1780,1520,938,892,769,743,972,916,877,943,1056,1172,1216,1324,1492,1124,986,1122,967,742,797,1094,1170,916,647,448,389,404,387,383,411,395,402,404,462,527,525,712,1252,1436,2206,3196,3746,5128,4108,1712,792,772,752,935,1074,999,867,1186,1410,935,670,1126,1306,1072,1026,860,683,459,479,716,957,1142,890,715,780,797,1262,1328,1356,1166,1070,1023,1328,1782,1126,1078,946,949,771,756,919,938,1005,1126,989,832,767,820,703,463,516,550,495,618,667,943,1166,939,1110,1456,1072,498,489,532,837,1208,1844,1230,763,716,686,484,538,859,981,916,678,630,863,1126,1182,1302,1298,1272,1286,1046,858,977,1013,869,558,913,1310,850,441,590,979,802,477,526,491,370,352,403,634,624,658,675,522,439,435,444,604,711,505,339,602,1168,1332,1198,877,1082,1174,1104,1080,1144,1288,1340,1242,1054,912,915,1206,1156,1252,1352,1296,1396,1476,1436,1400,1372,1274,1236,1102,1200,1500,1352,1202,1222],[480,407,404,363,317,273,239,321,362,355,368,365,401,420,426,377,322,375,501,517,484,462,445,456,465,463,444,421,402,437,453,397,397,393,403,409,501,514,467,488,508,531,483,463,518,558,536,523,521,483,472,502,541,512,384,412,525,462,401,354,333,439,370,339,388,339,357,512,858,1160,906,485,312,312,372,330,359,433,495,426,350,368,439,591,725,612,930,1426,1094,797,533,306,255,288,380,443,1104,2160,760,653,741,845,771,912,913,695,464,357,390,584,689,519,444,462,346,307,411,525,621,795,720,598,744,819,797,904,1132,724,481,758,1060,1180,906,681,904,1082,1392,1316,793,881,1058,797,553,710,460,362,343,422,480,412,372,417,427,419,430,531,586,602,517,928,1374,1178,1260,1166,927,1110,1234,1050,1460,1168,445,332,273,458,865,1186,1368,1296,800,316,407,637,1140,1192,603,500,446,410,404,283,252,299,300,286,293,407,660,816,820,1292,1574,1510,1162,1044,984,1018,980,747,333,408,416,382,403,387,388,385,616,667,418,469,486,415,491,871,1224,1200,928,755,1206,1188,874,846,569,617,850,1180,1058,529,527,843,1124,1572,1260,698,365,246,243,260,255,255,288,306,285,342,365,348,360,778,1512,1426,1468,1478,1376,1368,1136,791,855,1010,1140,990,1023,1204,974,511,540,857,1058,1144,1656,1610,943,783,825,972,1094,1432,1272,1280,1226,1390,1356,1376,927,434,402,653,933,973,884,752,747,985,778,559,534,671,841,673,518,412,376,534,808,695,618,601,680,664,659,1002,1220,1188,1046,1066,1274,949,459,365,414,498,585,544,818,900,1094,1062,856,1182,1520,1616,1730,1980,1860,1054,1312,1352,1156,1080,1284,1434,1604,1748,1818,1306,1570,1644,1574,1490,1406,1316,1428,1650,1660,1522,1464,1246,899,874,1176,1228,1244,1170,1290,979,461,376,513,556,461,842,1364,993,541,816,990,752,736,1028,919,736,856,931,936,1032,1196,1268,1142,935,666,622,738,1184,1484,1354,945,958,1248,1290,906,656,1108,1528,965,932,786,494,330,420,722,1168,1152,780,591,495,716,1162,1114,1074,1302,648,603,971,750,509,440,736,1084,1202,1128,1082,1134,1100,1426,1412,1318,1324,1346,1378,1330,1166,1030,1138,1208,1062,1028,1004,933,1052,799,828,1290,1304,1350,1326,933,675,1160,1434,1122,722,1064,1208,1044,664,689,760,722,799,993,1156,971,796,764,752,854,605,553,578,985,1262,1186,1118,816,598,603,919,898,1048,846,1188,1282,1232,1244,1220,1272,1516,2610,2432,1330,1100,1136,683,788,1017,1162,992,700,825,825,391,466,890,1490,1626,1328,1072,1194,1218,1076,961,768,741,1066,1176,893,1100,1280,1190,1278,1070,1094,1256,1366,1422,1624,1540,1278,994,764,902,1182,1394,1134,783,1132,1278,1412,1730,1388,720,556,446,734,1060,1178,895,936,954,930,908,921,924,910,900,665,558,502,450,518,634,568,617,981,1614,2078,1698,1226,1404,1510,1762,1874,1434,1292,1232,1172,2078,1768,1426,1420,1582,1522,1100,1178,1252,1246,1440,1234,876,713,1028,1598,1578,1204,1226,1378,1432,1344,1212,1268,1516,1202,922,1158,1106,1648,1808,1860,1874,1896,1870,1596,1006,616,620,568,747,1124,1178,889,661,1009,1180,785,633,1226,1826,1858,1698,1446,1396,1432,1394,1306,1486,1578,1596,1588,1680,1732,1604,1556,1476,1436,1414,1508,1414,1448,1332,1224,1480,1352,1302,1448,1472,1538,1462,1504,1494,1538,1494,1254,1196,977,1080,1198,1246,1438,1454,1548,1482,1394,1466,1460,1640,1678,1794,1746,1582,1594,1406,1372,1486,1332,1358,1708,1660,1338,1606,1664,1360,1426,1278,913,1438,1404,1514,1562,1388,1344,1100,1012,1120,761,714,675,863,908,901,1328,1126,775,1050,1258,1240,1120,891,1052,1028,1178,1328,1294,1248,1350,1172,1222,1014,1080,1576,1368,1536,1268,983,1096,1240,973,1080,1322,1210,861,861,739,897,1078,966,697,563,631,488,500,622,700,1080,1070,796,984,1030,1066,1140,1182,1324,1282,1176,1000,1794,1432,1106,1248,1154,1128,1096,1274,1312,1368,1320,1160,1586,1334,874,982,911,592,652,935,939,1050,1288,766,922,1310,1282,1021,1086,887,447,372,754,1326,1586,1488,1438,1512,1422,911,524,400,626,745,615,461,509,783,1058,1148,979,1050,1618,1386,718,537,692,710,607,525,503,477,507,663,878,1206,1410,1132,1168,1124,1036,1212,1230,1168,1086,1122,1224,1788,1418,1182,1110,1056,898,1202,1074,957,1142,1214,1076,1052,1120,1112,1278,1298,1254,1100,895,1020,937,898,821,853,711,781,1150,1334,1322,1544,1570,1314,1154,1062,1114,1400,1460,1216,1152,1202,1394,1532,1184,591,565,716,1128,1432,1334,1118,1284,1234,1036,1252,1434,1060,1082,1194,1318,1236,1136,1066,1856,1810,1164,1116,1222,1320,1154,964,1034,1260,883,924,890,1054,1206,1286,1396,1628,1532,1090,1166,1406,1448,1350,1578,1388,1334,1314,1312,1532,1618,1490,1478,1872,2148,1720,1420,1340,1088,1272,1448,1376,1202,1094,1056,1130,903,894,1136,1264,1338,1102,1104,978,985,964,1084,755,816,1188,1056,1056,1490,1460,1274,1156,1196,1116,1126,1244,1526,1654,1490,1242,1062,2214,2556,1544,1304,1148,1048,889,1226,1296,1156,1302,1336,1230,1009,639,359,306,328,471,658,906,1098,819,1114,1310,1068,1364,1600,1382,1272,1180,1005,948,1024,1274,1382,1436,1678,1622,1678,1676,1562,1200,898,700,806,1082,1124,933,807,686,763,933,1544,1342,1410,1740,1506,1160,1160,1420,1600,1172,969,1040,841,1034,1524,1886,2098,1650,1180,900,871,1026,967,916,1342,1272,650,866,857,792,986,1088,1688,1526,1370,1760,1742,1504,1294,1078,1160,1526,1674,1590,1590,1532,1556,1576,1582,1538,1590,1548,1344,1292,1416,1232,1504,1584,1360,963,1016,1642,2178,1974,1350,1017,868,586,875,999,738,597,641,758,1126,1422,1476,1562,1812,1878,1938,1690,1142,814,1136,785,615,633,915,1180,960,577,673,886,1468,1460,812,829,792,702,518,719,1256,1342,1172,1192,1224,1504,1224,838,713,1344,1160,901,993,1094,1001,1026,1256,1274,1234,987,791,744,1086,1042,756,676,894,1052,1084,1150,1316,1416,1438,1500,1438,1572,1552,877,793,732,770,1248,1372,1306,1456,1422,1356,1122,1052,1118,1210,1286,1202,1252,1218,1302,1574,1556,1174,1058,1064,1006,818,783,854,1226,1204,870,612,514,550,558,485,673,1116,1290,1186,756,824,1154,1202,1250,1334,1336,1436,1592,1490,1418,1394,1334,1268,1456,1710,2198,2132,1700,1404,962,617,819,1418,1854,1698,1600,1648,1064,1118,1294,1484,1312,1152,1554,1724,1238,908,929,993,1232,1664,1660,1044,984,1096,1070,1056,1144,1268,1072,932,1050,1016,1132,1072,988,1046,1004,1009,1076,1386,1414,1270,1384,1558,1576,1324,986,1013,1328,1466,1634,1730,1710,1730,1438,1134,724,794,1118,729,634,577,684,784,612,1332,1510,1284,1180,1592,1412,1001,1028,781,714,641,583,589,377,516,783,675,591,850,908,1030,1168,1344,1368,906,789,1180,1344,1204,1066,857,1244,1544,1396,1180,1072,1344,1354,1392,1720,1660,1592,1534,1758,1968,1524,1246,1530,1768,1532,1180,1376,1400,1294,821,907,1266,1370,1482,924,647,707,868,943,827,1022,1019,1218,1000,961,1204,1064,1005,1106,1250,1068,833,1106,1220,1136,1194,1276,1158,1492,1334,836,752,951,841,484,452,430,429,546,732,911,894,578,1060,995,729,920,997,670,440,778,1354,1236,808,915,822,806,655,786,878,990,969,1154,1278,1288,1394,1410,1166,728,1054,1232,1204,914,1266,1164,951,1124,1046,961,1088,873,832,955,923,944,1278,1566,1386,1362,1312,1362,1396,1576,2028,1778,1274,1494,1538,1514,1432,1276,1534,1256,755,830,1007,1030,1120,1260,1054,814,756,656,383,290,336,387,353,345,355,371,750,1240,1016,596,896,985,830,985,839,905,1166,1096,1072,1152,1202,1156,1092,846,1174,1250,1126,969,1160,884,1060,1142,797,983,1224,1250,1062,1206,890,880,999,1238,1166,1066,1200,1208,1096,1028,1090,962,916,1032,825,738,616,476,397,374,390,399,388,372,393,438,467,738,1358,1666,2876,3160,4672,5040,2916,1522,1576,1390,1054,1048,1302,1134,919,951,982,981,1050,1398,1036,745,719,818,1023,794,599,875,1146,1730,1344,1050,780,673,854,1040,1116,879,736,768,675,843,622,1056,1192,874,641,863,1196,1048,1007,1088,887,849,699,667,490,506,566,493,424,508,664,870,782,623,660,951,827,577,538,460,721,1024,1172,711,426,492,541,566,596,783,764,995,988,1038,1007,955,1112,1268,1176,964,1013,926,730,855,702,526,579,999,1256,904,481,445,597,501,453,579,711,539,529,552,709,817,849,758,736,795,785,910,1162,1144,886,691,910,1070,1642,2340,1562,902,998,1066,959,1066,1176,1108,1010,1144,1298,1216,1314,1600,1770,1538,1468,1450,1446,1372,1388,1426,1180,1076,1108,1220,1330,1248,1324,1396],[366,390,463,370,264,235,220,284,350,332,339,359,417,380,374,343,334,422,553,517,484,451,437,458,457,425,399,408,434,433,404,401,420,403,391,463,564,542,421,451,474,523,490,485,545,595,555,536,545,469,417,482,512,505,411,442,418,472,395,354,366,383,326,341,400,352,355,507,627,622,550,428,397,372,318,334,432,662,837,740,441,355,520,611,575,514,798,1086,1470,1822,1306,666,339,315,313,244,600,1646,784,883,1094,935,1038,1064,1164,1284,891,513,636,754,733,655,484,407,379,376,384,961,1370,1482,1370,951,921,1390,1288,868,810,505,477,1012,1148,1026,1080,763,534,911,1444,913,461,552,626,455,677,594,554,582,424,366,346,389,406,373,348,370,387,484,532,555,458,638,1005,1294,1388,1234,902,966,1124,671,580,499,329,303,268,354,391,1028,1864,1940,1032,377,511,503,773,739,366,423,448,427,418,342,287,308,391,415,336,421,594,499,422,570,1198,1516,1418,1494,2182,1770,867,557,349,424,285,360,330,378,369,275,382,313,321,432,444,385,365,486,839,1064,916,792,1054,1216,1210,924,506,469,631,682,822,901,927,1052,1174,1476,1342,795,328,252,265,259,278,307,299,327,275,290,348,268,285,491,947,1322,1316,1178,1554,1644,999,883,1144,1198,1152,1278,1232,1386,903,483,451,798,1064,1396,2024,1610,1104,1058,1020,1176,1458,1584,1484,1306,1206,1202,1274,1186,753,703,912,973,662,569,809,776,591,951,844,583,493,612,814,1116,1172,744,955,1388,1180,948,805,926,1096,941,760,994,1108,848,912,1060,1368,1098,656,508,705,571,507,522,749,943,1064,1162,946,1130,1446,1574,1472,1180,1112,1356,1456,1490,1170,1380,1800,1606,1714,2030,2404,1402,1564,1708,1760,1540,1480,1472,1598,1750,1908,1718,1504,1508,1496,1460,1454,1522,1738,1732,1816,1346,791,564,753,997,1060,1260,1726,1294,1072,1168,1068,982,822,709,820,873,822,651,755,1184,1402,1252,1094,899,717,535,691,1126,1444,1256,865,1028,1226,1154,1272,982,1094,1376,724,936,952,708,698,674,767,1112,1120,693,796,571,619,1116,1270,1282,1570,1100,979,1170,957,538,357,428,752,1008,1138,1234,1116,951,1138,1054,991,1090,1174,1390,1310,1214,1112,1092,899,952,1046,1092,1232,1454,1242,1044,1180,1284,1248,1340,1288,1018,880,764,749,611,1040,1202,1038,912,902,846,781,1156,1042,1040,811,962,731,875,1026,747,714,676,640,1050,1142,921,786,859,722,923,1108,1592,1432,1656,1540,1356,1458,1338,1344,1756,1866,1526,1472,1400,1154,863,626,896,1324,1012,741,898,899,574,700,979,1142,1082,957,1252,1280,1074,1044,775,531,654,1008,945,874,932,1274,1374,1314,1050,1074,1300,1378,1224,1005,827,728,579,489,512,652,845,636,551,1058,1166,1196,1506,1234,800,756,651,1162,1356,1322,1224,1174,1013,1134,1404,1296,1148,1172,1182,1006,753,543,511,516,455,483,496,691,1388,2154,1892,1372,1442,1520,1838,1614,1184,1228,1180,1282,2536,1930,1090,1206,1624,1566,963,1238,1252,1614,1382,1244,826,664,1110,1710,1732,1300,1146,1498,1802,1440,1480,1548,1852,1162,1122,1372,1464,1932,1852,1654,1672,1736,1756,1750,1090,621,682,514,788,1038,1180,890,583,846,1016,794,657,1112,1648,1616,1384,1544,1522,1484,1214,1158,1372,1508,1516,1368,1478,1550,1204,1258,1000,1106,1440,1410,1108,1074,985,874,843,756,742,1090,1046,1084,976,1122,1246,1498,1342,1034,817,565,571,769,893,985,1096,1246,1316,1348,1030,994,1222,1210,1132,1304,1456,1394,1354,1302,1494,1516,1526,1662,1578,1488,1398,1456,1494,1528,1536,1464,1614,1660,1588,1508,1282,1428,1484,1454,1288,1186,1284,1244,1318,1382,1328,1346,1158,1100,1376,1522,1330,1120,1011,1066,984,1108,1400,1396,1416,1236,946,1262,1448,1528,1590,1282,1372,1196,1384,1688,1482,1122,1266,1328,969,1128,1550,1284,1714,1422,1004,973,925,653,519,566,774,1017,1250,1236,1104,1250,1138,897,802,1310,1352,1360,1212,1056,2028,1466,558,948,1042,1246,940,1042,1022,1160,1274,1322,1518,932,648,1000,1100,928,957,1050,930,760,702,431,875,1150,1296,1058,854,619,401,514,949,1594,1432,1134,1382,1538,1654,1512,1102,761,827,779,578,467,509,744,944,847,705,1054,1626,1268,768,610,698,495,407,472,456,376,391,427,584,975,1120,1544,1560,1268,1234,1340,1314,1322,1204,1272,1530,1680,1282,965,1038,836,1166,1196,883,937,983,1116,1180,1158,983,1190,1118,1152,1138,901,1228,1278,1232,1412,1306,1062,910,943,1164,1366,1428,1594,1334,1114,1072,1092,1240,1224,1274,1272,1178,1274,1276,1174,1188,1068,665,844,1240,1178,938,1034,1194,924,1023,1266,1188,1084,1044,1068,1062,1140,1214,1098,1228,1032,1042,1176,1184,1216,1144,847,727,1044,1230,1106,860,948,1106,1456,1622,1664,1288,722,1108,1222,1442,1338,1366,1038,1152,1126,1228,1484,1482,1592,1642,1812,1872,1678,1482,1572,1440,1420,1258,1152,1106,948,750,788,890,1326,1782,1732,1450,1228,1048,1007,940,1182,1454,1288,1358,1178,1032,1228,1278,1260,1376,1208,1132,1134,1136,1526,1692,1710,1630,1602,1416,1620,1488,1256,1378,1272,1594,1300,1338,1182,1040,1060,942,670,717,737,561,435,505,622,788,851,948,789,626,847,973,1356,1754,1638,1272,1276,1138,973,1015,1028,1216,1258,1400,1700,1846,1530,1014,736,624,709,844,852,966,1090,952,876,926,984,1070,1148,1434,1726,1622,1362,1392,1692,1580,1366,1112,1300,883,741,1104,1512,1840,1648,1208,943,1114,1244,1126,987,1326,921,459,561,792,1024,1228,1632,1952,1880,1898,1898,1826,1692,1760,1588,1532,1580,1560,1350,1002,1242,1588,1664,1892,1820,2474,1826,1322,1038,1332,1358,1456,1446,1490,1200,1134,1396,1464,1396,1322,1224,1010,760,858,701,568,707,1009,1108,1154,1288,1384,1416,1654,1772,2070,1466,704,731,918,662,633,1136,1284,1218,1256,788,585,568,1052,899,590,529,456,466,691,1110,1180,1023,877,941,1070,1356,1448,1124,1020,1342,957,758,1154,1360,1060,1100,1270,1222,1350,1002,915,787,963,961,972,774,839,1052,1100,1142,1021,919,764,1248,1250,1146,1180,952,1012,1003,1012,1218,1252,1438,1440,775,1134,918,821,755,1005,1310,1330,1372,1384,1342,1460,1438,968,905,855,816,732,745,904,1142,1124,1092,970,661,515,487,534,866,1250,1180,1100,780,683,854,1238,1472,1454,1436,1546,1692,1488,1300,1170,1310,1434,1552,1620,1594,1722,1836,1538,1040,757,777,1116,1436,1606,1600,1738,1021,996,1052,1002,708,857,1226,1132,1238,1184,1180,1198,1216,1248,1142,1144,1156,1068,1080,1144,1068,1013,1078,1156,1206,970,1064,1120,1128,1400,1476,1414,1274,1358,1376,1326,1458,1556,1526,1624,1588,1594,1654,1548,1306,1186,1450,1288,1017,1190,830,641,848,737,858,616,921,1218,1190,1522,1282,1040,1076,1112,1038,1024,1188,935,586,550,658,464,348,379,402,455,567,807,933,843,784,1082,1144,966,864,1194,1192,1284,1406,998,1288,1578,1064,738,591,576,652,1102,1660,1748,1544,1378,1694,1868,1636,1564,1516,1604,1530,1550,1566,1366,1504,1316,1522,1598,1256,1036,955,904,874,1172,1078,750,778,744,948,1118,1286,1192,1122,1484,1322,688,458,555,894,1116,1260,1268,1312,1566,1940,1422,980,1012,1048,749,362,354,365,398,381,395,397,455,518,1130,1140,1019,1218,1016,524,630,1016,1466,1494,1170,803,813,645,669,949,1042,774,879,1204,1350,1490,1606,1428,1032,697,958,1168,1208,1114,1404,1340,1142,1136,936,1040,1068,853,939,1094,1022,961,1060,1344,1532,1490,1272,1230,1248,1666,1600,1262,1154,1102,1222,1638,1532,1072,1236,1348,1054,792,1028,1252,1156,1184,944,812,626,490,382,318,391,562,496,375,381,411,749,1172,871,905,1001,1006,1156,1094,689,700,875,867,850,694,905,1174,1142,911,764,813,918,933,717,835,1152,841,890,1406,1354,1396,1174,1252,1030,852,611,673,772,1184,1210,1086,1230,1140,1066,978,771,728,929,1208,1048,731,540,425,387,405,388,390,399,389,474,868,1390,1712,2122,3396,4852,4086,2036,1544,1808,1906,1464,1088,752,683,927,770,753,918,1152,1262,1064,742,570,679,847,1050,1042,1124,1036,1072,1062,1438,1492,1036,600,571,595,512,512,856,820,1106,1130,1296,1174,959,717,743,1058,864,692,709,794,1186,1190,769,506,755,937,692,705,1224,1604,1488,811,698,849,1046,954,728,587,609,652,733,680,635,624,615,1048,1054,756,955,996,1350,1510,1382,1246,1316,1306,1294,1052,969,1136,855,583,681,630,590,805,883,921,811,511,394,336,424,566,783,930,840,1340,1060,718,965,1100,1042,1108,1140,1156,1246,1386,1076,894,996,937,1182,2326,2226,1210,798,905,1082,897,900,902,1066,1304,1318,1194,1288,1394,1550,1544,1482,1444,1494,1450,1322,1262,1284,1238,1174,1272,1190,1180,1192,1278,1324],[415,415,416,315,248,224,240,275,346,320,352,408,422,471,399,293,354,500,508,461,435,432,412,422,414,391,397,420,412,394,398,407,407,415,477,568,617,610,445,442,484,498,520,513,543,601,581,528,536,525,464,464,505,467,312,291,334,375,348,330,341,365,318,330,484,367,439,598,655,599,454,450,459,443,408,499,822,1158,1082,800,537,409,650,549,348,499,711,664,1070,1300,1096,1258,591,340,327,305,321,150,440,696,883,811,867,926,861,1210,1076,969,1266,890,823,833,490,335,394,401,360,548,737,885,1012,1194,1462,1276,1534,1082,865,583,532,993,913,766,750,413,285,410,551,346,379,370,393,591,714,547,846,890,463,386,631,904,675,480,328,352,486,465,463,726,876,897,1216,1510,1462,1198,878,1052,976,529,384,362,311,289,288,297,268,747,1680,1664,777,448,484,504,844,682,384,366,335,340,419,434,344,355,486,452,358,315,417,511,529,442,738,999,1194,1514,1384,861,456,258,720,1070,708,558,567,750,604,356,289,272,336,363,324,351,471,614,860,1140,1472,1130,815,1032,1252,1332,953,813,1108,788,506,864,1046,915,1166,1292,1186,742,334,247,274,289,392,597,333,271,227,219,201,243,266,263,541,915,951,1056,987,763,824,1132,1288,1296,1348,1138,1202,1226,661,427,428,662,962,1064,767,755,1096,1170,1190,1482,1812,1726,1408,1320,1192,1180,1288,1244,820,919,1076,1130,786,600,974,858,425,432,627,738,561,574,977,1706,1588,785,1346,2124,1434,730,641,807,1062,976,745,750,913,860,907,907,1148,1088,883,746,733,555,530,543,655,980,1098,1198,1096,1023,1218,1340,1482,1246,1196,1284,1498,1606,1330,1698,2004,1526,1466,1654,1764,1482,1530,1508,1408,1562,1764,1564,1300,1588,1592,1017,1090,1360,1612,1288,1120,1238,1398,1564,1722,1400,907,822,1476,1636,1456,1540,1900,1596,1332,1356,1224,982,937,979,976,1034,941,661,817,1023,1332,1560,1244,1010,874,618,719,955,1060,983,1052,1290,1009,1306,1412,1288,1174,1270,1078,920,754,758,962,1116,782,808,790,513,639,586,711,1140,1192,1158,1212,1134,1274,1396,1144,471,469,589,681,778,1021,1098,921,720,764,781,809,1038,1346,1322,1246,1324,1222,1112,1284,1498,1182,986,1142,1386,1250,937,777,1048,1178,1358,1090,835,902,928,806,655,786,1024,1156,1062,1124,803,644,954,941,980,758,918,962,1202,1048,694,899,786,639,1086,1042,800,700,681,944,961,1158,1540,1338,973,1028,1338,1506,1250,1264,1756,1310,1418,1428,1616,1648,1224,860,824,1023,750,642,463,650,962,1168,1210,1122,1036,998,1080,1002,1100,1066,794,673,826,894,460,662,930,1122,1192,1021,746,953,1356,1286,702,513,414,376,404,404,424,404,411,463,590,777,733,717,1136,968,558,565,542,810,1258,1324,1216,1208,1138,1434,1590,1424,1294,1234,1316,1546,1510,864,594,514,450,450,462,503,1036,1826,1854,1386,1338,1488,2056,1344,858,933,830,1106,1880,1750,1326,1426,1746,1486,935,1510,1278,1234,1072,987,789,684,824,1230,1334,1258,1206,1436,1664,1592,1694,1578,1904,1200,1334,1600,1344,1382,1508,1552,1292,1412,1552,1810,1388,792,715,508,886,1122,1100,874,662,775,687,707,852,1356,1690,1154,1222,1738,1644,1378,1070,1086,1306,1492,1470,1194,1318,1462,1204,1428,1164,1126,1390,1436,1604,1284,988,1018,1186,1312,1194,1294,1144,1098,867,852,1148,1070,861,1152,1146,611,506,478,312,645,726,805,985,1084,820,692,662,796,946,1100,955,834,772,732,1036,1136,1272,1422,1272,987,692,974,1110,1018,1180,1500,1356,1310,1404,1454,1138,1001,996,1074,1168,1332,1466,1248,1228,1382,1138,1376,1640,1570,1522,1686,1838,1830,1778,1740,1690,1816,1824,1710,1844,1766,1722,1714,1852,2026,1880,1486,1460,1286,1452,1690,1500,1448,1630,1370,1152,1402,1882,1902,1690,1122,1190,1242,1023,664,679,858,896,948,1100,1316,1338,930,855,781,971,1208,1246,1340,1158,1124,1322,812,999,1056,901,1030,673,1166,1170,1092,1112,1426,1220,594,868,1082,880,1132,1444,1210,703,385,535,560,861,1086,951,599,513,534,543,695,1250,1688,1126,866,1044,951,946,1290,1490,1466,1278,875,520,454,472,886,1094,1196,1034,1464,1484,1360,1180,1172,1344,598,330,312,323,318,320,367,655,1214,2078,2038,1480,1288,1208,1180,1078,1248,1390,1448,1380,1202,982,1058,1122,1050,1268,1002,864,1158,1176,1160,1156,1023,1150,846,900,1140,991,1368,1888,1636,1272,1210,1216,1272,1440,1228,1210,1310,1566,1620,1260,1176,1007,966,1017,938,1134,1128,1158,1396,1096,999,1076,1370,1204,1268,1206,1056,916,888,1062,850,1202,859,824,1128,1282,1019,899,1198,1258,1084,1124,1180,962,1078,1434,1404,1354,952,653,835,1188,1168,1054,1002,1012,1250,1268,1590,1378,1096,1252,1116,1256,1180,1246,1188,1038,1122,1636,1704,1260,1376,1364,1512,1740,1688,1642,1736,1638,1242,1028,1290,1358,1100,628,770,1090,1388,1506,1848,1686,1068,843,1188,922,1128,1310,978,926,830,990,1434,1436,1266,1322,1206,1324,1264,1412,1648,1480,1528,1604,1536,1568,1456,1494,1210,1266,1188,1412,1482,1254,1042,753,921,1124,742,868,1132,829,733,673,622,549,435,673,840,874,730,793,1410,1628,1528,1358,1444,1318,1162,1136,1030,1428,1382,1296,1470,1378,1003,634,649,629,613,681,585,791,1056,1020,1126,1394,1360,1260,1600,1870,1644,1478,1572,1490,1434,1144,1180,1246,1206,965,1172,1440,1410,1462,1360,1060,918,1260,1228,907,1154,1214,722,563,677,800,1120,1808,2138,1992,2120,2024,1854,1766,1570,1634,1686,1468,1426,1332,778,1136,2140,1836,1760,1970,1866,1718,1400,1132,1086,1278,1426,1312,1228,1142,978,1094,986,1172,1382,1294,1364,1130,966,1250,1098,813,915,922,1240,1266,728,967,1440,1510,1378,1454,966,759,1090,1236,1220,996,1018,1044,1404,1512,935,875,789,648,445,552,571,520,630,887,1126,1007,901,681,883,1176,1526,1494,1392,1706,1754,1248,1082,1512,1452,1542,1606,1592,1350,1192,1158,1192,1206,1416,1394,991,662,706,987,1230,1290,1388,1240,621,912,1138,1122,1100,1054,1294,1344,1418,1340,1250,1288,1130,656,990,1028,1072,930,1062,1150,1132,1344,1456,1404,1458,1266,821,890,806,695,676,550,954,1376,1070,1070,1208,932,799,680,789,1092,1332,1042,958,911,843,1014,1676,1830,1472,1426,1336,1302,1019,1052,1324,1256,1220,1392,1386,1332,1748,1926,1438,1132,912,814,1266,1590,1484,1544,1780,1202,1218,1290,991,717,807,1092,1021,1134,1490,1542,1354,1100,1174,1288,1418,1324,1194,1254,1178,998,1056,1310,1534,1414,1274,1038,1076,1350,1428,1476,1520,1396,1482,1598,1638,1616,1572,1468,1440,1446,1398,1240,1218,1028,973,1088,851,890,1240,982,466,435,534,476,554,956,1242,1202,768,541,957,1034,1028,1462,1294,976,926,959,912,733,448,382,384,375,375,477,784,743,688,736,940,1194,1058,948,1080,1070,1464,1532,1368,1794,1446,1058,929,612,510,469,422,1060,1166,832,871,1086,1282,1460,1534,1582,1588,1636,1544,1416,1394,1418,951,942,1208,1098,1102,1068,990,846,789,535,605,564,769,830,888,1144,1130,1104,1324,937,580,462,653,931,1386,1346,1002,890,1254,1448,1184,1112,1232,1232,969,476,491,597,480,303,271,388,490,503,600,717,1026,1100,910,686,1018,1212,1288,1248,1090,980,1008,1011,1042,1318,1288,871,983,1096,1274,1686,1646,1336,1036,999,907,792,874,1126,1276,1224,1272,1050,957,932,980,884,832,790,742,1034,1204,1266,1366,1298,1318,1406,1706,2186,2186,1698,1252,1116,1148,1476,1482,1190,1234,1404,1258,963,1310,1330,1192,932,738,896,942,944,716,535,888,969,605,708,723,495,765,1042,684,905,897,1028,1266,1146,913,857,1028,799,776,1008,1008,992,1144,1028,745,725,813,811,655,698,871,713,1116,1184,1268,1122,1268,1380,1170,724,525,472,828,1364,1246,1120,1096,1042,1170,1076,652,618,792,1046,1100,916,668,533,454,413,395,411,419,379,544,900,1246,1522,1602,2066,2834,2556,1412,1582,1634,1844,1452,855,604,640,732,747,985,1288,1018,844,990,903,633,595,670,1009,1112,1160,1056,932,1212,1604,1486,998,671,615,714,790,782,1178,1372,1470,1372,1326,1168,1202,979,615,960,797,730,569,501,694,1014,710,571,882,1050,695,642,1304,2008,2142,1250,1060,1268,1470,1458,1064,1224,1194,831,611,511,718,752,700,916,818,624,599,594,886,1196,1168,1328,1278,1344,1346,1116,1116,1120,1066,1074,1019,767,851,1110,1086,1034,1090,994,600,432,453,823,1322,896,948,1908,1310,788,1194,1142,1023,1200,1224,1272,1362,1322,1078,1064,1164,903,1196,1686,1516,1228,1044,1004,1136,980,813,647,1176,1530,1496,1168,1136,1416,1508,1470,1394,1312,1338,1456,1460,1292,1360,1292,1240,1258,1278,1360,1202,1122,1434],[295,361,389,305,273,246,260,275,325,346,474,574,609,636,492,339,418,461,451,424,418,426,413,410,409,399,424,420,384,386,408,404,398,435,554,662,686,696,517,495,483,409,438,526,558,591,568,527,538,559,538,422,473,477,337,305,365,362,348,293,311,367,314,416,547,330,378,543,648,608,554,526,465,394,408,579,996,1326,1038,947,703,419,492,401,278,299,389,508,648,737,761,1021,631,404,335,329,357,430,390,515,995,980,753,1094,1216,1114,1140,1966,1870,1036,786,855,603,373,415,678,882,562,536,495,534,762,912,1240,1200,913,912,612,308,550,988,1164,889,439,302,247,318,339,334,397,512,694,651,500,653,692,539,533,1250,1684,1366,933,465,429,492,536,618,1030,1454,1360,1698,1496,1254,929,803,1158,1066,783,525,496,443,301,317,288,256,427,889,950,620,522,788,983,952,662,358,379,345,314,343,479,467,422,780,627,402,358,614,874,557,614,951,669,721,1164,1316,1332,865,573,1376,1190,1356,1086,930,1216,827,380,316,304,303,362,439,462,658,877,1094,1202,1218,799,697,1066,1356,1174,1184,1222,1326,1252,1092,1110,1196,1252,1132,772,826,799,383,275,290,290,397,414,353,332,252,209,234,297,300,333,398,481,867,986,752,510,471,796,1244,1304,1068,939,1134,761,411,422,567,818,975,717,879,914,980,918,822,915,1362,1458,1204,1304,1160,1194,1316,1028,605,956,888,881,860,668,604,449,496,593,689,763,766,684,1066,1660,1582,966,1416,2024,1376,920,908,527,653,982,852,608,726,749,916,979,1044,1054,850,524,404,439,476,419,827,1282,1356,1314,1186,1136,1378,1500,1508,1350,1290,1484,1664,1640,1396,1246,1220,1242,1340,1340,940,752,1146,1172,920,1228,1548,1206,891,1372,1302,722,879,1160,1094,1026,827,863,1192,1360,1186,764,1016,1048,1094,1544,1334,1340,1238,938,880,901,715,720,1060,1284,1084,847,506,730,912,1384,1810,1490,895,977,1402,1196,954,1144,1128,832,1132,1646,1748,1976,1584,1302,1370,1474,1322,992,755,667,815,933,711,673,611,603,553,723,678,540,692,754,807,993,810,1018,662,359,628,904,751,969,1021,881,866,772,866,951,937,1136,1336,1240,1120,1440,1322,1070,1148,1074,956,960,1026,1150,1238,1058,810,1130,1208,1046,814,820,1202,1174,878,770,1082,1174,1280,676,622,552,578,593,641,811,959,913,964,1144,975,824,858,536,739,1208,1312,1032,852,681,648,730,977,1282,1160,584,709,815,1014,983,1168,1434,1444,1390,1224,1874,2036,1566,965,922,1046,838,719,448,745,1154,1266,1254,1266,1258,1302,1046,861,1024,1112,1058,976,978,734,568,1152,1334,1152,1126,732,545,805,1328,1146,724,521,450,438,443,450,441,460,625,738,655,595,408,359,884,749,411,387,406,744,1130,1013,954,1120,1196,1248,1116,1214,1116,1116,1778,1892,1760,1478,984,556,458,453,465,766,1202,1570,1552,1250,1184,1758,2742,1812,1078,1084,867,1032,1420,1690,1620,1702,1830,1614,1250,1474,1174,1118,1470,1274,766,773,759,1094,1236,1174,1112,1266,1168,1130,1210,1522,1874,1542,1426,1418,1278,1428,1466,1494,1284,1218,1186,1622,1644,1368,1140,924,1066,1268,1184,993,843,784,694,780,1204,1592,1766,1248,1302,1562,1402,1100,1020,1172,1504,1444,1186,1064,1176,1240,1420,1636,1282,1346,1414,1242,1222,1072,1074,1100,1214,1482,1598,1266,1400,1460,1074,764,1064,1136,971,1508,1580,935,850,769,455,741,1026,1098,1032,917,935,950,969,1120,935,612,744,1005,877,1000,1010,1058,1408,1538,1360,865,614,740,835,785,843,1172,734,944,1466,1558,1230,966,1166,1240,907,885,1282,1024,810,887,846,1162,1532,1332,1260,1394,1526,1560,1760,1776,1336,1278,1780,1818,1962,1932,1572,1472,1500,1766,1488,1400,1498,1544,1788,1836,1770,1898,1972,1708,1726,1806,1936,1904,1584,1458,1692,1430,1046,1007,1140,1166,1134,1138,1032,1338,1372,967,821,854,1090,1216,1468,1760,1594,1338,987,570,1206,901,684,652,844,1440,1544,1318,1302,1480,1058,615,851,1080,1116,1154,1226,1026,620,565,799,1021,1086,998,899,493,557,803,719,702,1456,1612,1028,754,922,802,487,595,834,1266,1578,1388,777,539,529,933,1054,1260,1332,1388,1344,1418,1192,1452,1626,678,309,261,318,360,384,491,974,1682,2070,1652,1166,1166,1148,1106,1120,1106,1226,1338,1484,1484,1182,1194,1192,1270,1284,1120,1126,1278,1328,1186,1222,1138,970,957,1050,1150,1098,893,863,1318,1136,870,739,1318,1748,1490,1338,1482,1538,1470,1210,1076,977,1001,785,847,917,1094,1108,1130,901,763,764,1120,1228,827,616,817,883,1056,934,1011,1076,729,854,1112,1354,1214,1160,1232,1140,1034,1324,1414,979,1622,1676,1152,959,713,677,964,1290,1414,1506,1094,952,959,1186,1332,1326,1004,1008,1023,1156,1312,1528,1482,1326,1344,1764,2184,1712,1396,1330,1500,1690,1638,1664,1688,1598,1348,1320,1410,1538,1306,916,1246,1310,1476,1868,2308,1448,935,720,697,802,1248,1148,925,1086,1160,1162,1390,1492,1362,1192,1390,1334,1238,1366,1388,1402,1290,1248,1328,1394,1434,1316,1250,1366,1344,1846,2258,1968,1536,1370,1288,1222,820,1106,1138,916,827,807,719,583,565,561,621,733,695,858,1486,1476,1246,1156,1184,1202,1422,1396,1328,1654,1700,1428,1060,1048,1084,656,634,651,594,560,540,734,988,1226,1420,1424,1212,1410,1732,1816,1270,1154,1494,1528,1284,1126,1218,1056,828,892,1376,1484,1288,1206,1064,1148,1146,1038,688,869,1418,1330,933,741,769,753,871,1376,1760,1920,1898,1694,1576,1488,1422,1534,1612,1526,1502,1324,1332,2338,3064,2662,1874,1604,1520,1250,1146,1256,1322,1208,1356,1510,1506,1338,1116,988,751,1114,1222,1120,1322,1250,1056,1156,1410,1278,1218,1090,996,624,606,668,1104,1366,1192,1042,852,797,1044,1120,1206,786,603,671,936,1316,1164,1078,1110,865,584,549,440,496,772,1016,1118,865,869,799,797,957,1238,1398,1452,1412,1434,1206,1028,1412,1098,1350,1350,2004,1580,1236,1188,1406,1704,1626,1528,1168,604,553,794,1009,1316,1460,1082,590,835,1000,1174,1176,1320,1726,1650,1754,1354,1260,1318,1148,998,819,998,1338,1284,1148,982,1150,1316,1316,1128,1308,922,915,1005,981,918,888,881,1324,1496,1132,1228,1042,860,1015,1162,1102,1186,1346,988,779,1172,1302,1164,1396,1498,1410,1248,1088,1060,927,1066,1370,1324,1260,1212,1230,1300,1444,1406,1104,986,972,971,1344,1404,1570,1694,1692,1470,1338,1288,983,625,745,652,811,1320,1360,1168,1302,1378,1506,1478,1238,1092,1060,1148,1060,853,1202,1420,1296,1294,1450,1232,1148,1396,1516,1572,1622,1574,1520,1642,1688,1656,1550,1430,1450,1522,1260,933,753,591,505,572,940,1144,1064,701,475,447,588,537,448,835,1346,1292,892,661,901,1026,1018,1506,1238,836,995,1146,1212,929,455,404,454,394,358,498,990,910,869,706,720,1011,1088,1156,1258,1214,1318,1302,1336,1336,1158,941,808,715,690,640,556,973,1200,648,597,620,711,980,1104,1382,976,788,507,357,604,876,885,1004,1114,1296,1468,1142,1076,796,598,622,1036,918,902,881,698,736,819,701,755,484,597,734,876,874,990,1122,789,632,938,1328,1138,948,984,1146,1152,564,543,681,534,311,344,353,355,496,460,482,874,1094,1094,1166,1248,1366,1408,1332,1402,1376,1204,1042,1013,1010,821,849,772,1058,1374,1762,1646,1272,745,587,752,728,800,1292,1480,1400,1324,877,673,927,1166,1021,953,927,1058,1192,1212,1368,1078,843,1086,1480,2460,2478,2194,1550,1188,976,891,1266,1424,1188,1292,1344,1492,1242,1310,1328,1116,960,945,887,1060,1234,1023,896,1350,1028,448,996,867,452,998,1356,890,713,828,1080,1228,1158,1044,1002,1072,987,822,1018,1362,1408,1306,1244,1272,1202,1086,1212,1200,1030,1042,1058,1002,872,988,1250,1318,1324,1044,658,655,702,905,1290,1114,1164,960,880,1520,1374,1062,998,803,1010,1015,1062,948,683,589,393,352,374,408,417,699,1104,1348,1562,1874,1786,1706,1268,1188,1520,1730,1976,1540,894,622,728,821,706,1132,1946,1324,888,949,841,896,809,827,1138,1276,1334,1362,1308,1442,1552,1204,755,688,585,805,1038,1026,1176,1222,1050,1184,1212,1140,1284,1284,1150,1268,1014,813,608,691,720,627,837,968,791,584,475,480,883,1544,1804,1436,1672,1516,1890,1766,1132,1160,1250,1050,839,710,768,648,648,497,753,891,653,605,924,1008,1076,1252,1368,2344,1262,801,821,975,1254,1546,1354,1016,1019,1254,1336,1200,1402,1212,545,441,455,933,1332,709,899,1570,1192,957,1140,1086,1238,1352,1498,1668,1848,1326,1268,1368,1172,952,633,445,739,999,1036,1009,966,727,626,585,1038,1244,1134,1062,1284,1400,1416,1390,1250,1250,1422,1572,1584,1344,1170,1142,1300,1300,1252,1372,1184,1274,1540],[351,352,325,321,227,228,222,225,295,385,587,711,684,676,556,468,458,412,459,432,427,418,415,406,399,394,401,399,379,383,403,396,428,510,618,660,683,717,729,684,520,391,407,525,532,540,536,540,549,525,522,397,399,493,401,323,390,380,417,437,462,589,397,285,269,339,457,532,559,490,412,452,601,522,490,677,944,1248,1134,1224,905,528,419,338,293,287,318,384,443,713,669,527,414,410,378,369,389,399,465,650,745,787,1152,1388,1448,1230,1014,1306,1140,819,780,954,803,439,482,1158,1460,1248,1048,959,798,637,517,564,616,680,796,739,450,505,1044,1218,700,360,271,257,287,314,324,376,514,610,529,417,505,952,777,704,1022,1012,1334,968,525,711,775,855,932,816,1130,1650,2140,1664,1666,1964,1246,731,857,1066,1148,1174,803,284,326,318,320,383,704,882,698,918,1056,984,1362,1100,409,371,368,347,418,371,400,626,1196,1302,841,471,918,1028,493,651,1116,974,670,617,560,831,1172,1268,1780,1808,1686,1108,910,636,457,484,444,434,545,446,615,867,1066,1274,1572,1396,1236,1015,847,1001,1320,727,912,1064,1074,1108,1262,1470,1334,1224,925,407,527,736,360,312,272,271,396,635,784,498,237,172,251,341,471,623,615,736,960,794,933,752,543,630,1042,1140,893,970,1021,426,381,432,813,1110,1034,647,763,920,1007,1000,778,567,933,1300,1082,1172,1232,1218,1102,931,824,1182,1096,891,858,774,858,881,1242,1056,1088,1324,1490,1210,1160,1332,1322,1214,1554,1708,1372,1007,855,824,937,1324,1058,1008,904,886,941,1004,1108,1124,971,769,750,824,905,854,1146,1428,1324,1274,1338,1444,1406,1100,1066,1134,1292,1404,1348,1562,1226,692,472,720,1112,1196,1116,1256,1384,1080,1020,1410,1482,1074,1256,1636,1228,987,1094,982,992,1005,810,805,1148,1182,926,711,1009,1102,1136,1386,1208,1220,1296,1306,1068,1054,1204,990,741,1080,1476,806,353,421,550,662,826,941,832,1282,1704,1222,1198,1332,1324,1416,1522,1844,2146,1744,1212,1052,1302,1392,908,534,716,922,951,1092,1050,781,645,722,964,1162,702,439,585,439,646,1074,951,797,446,398,532,816,1086,1156,1138,1066,1136,1206,1344,1190,913,944,1008,1084,896,915,1064,1060,1036,1154,1058,1005,1028,920,1094,1144,1023,1466,1312,1110,1172,1252,1238,961,782,689,892,1064,1036,468,329,459,680,706,517,518,941,1246,1144,1110,965,586,510,455,574,1266,1682,1432,1012,875,962,965,906,660,581,507,725,729,696,704,1009,1226,1144,764,981,1444,1428,1408,1204,1522,1390,1152,998,778,1086,1506,1290,1170,1360,1356,1282,1094,1172,1130,1240,1144,1104,1220,1000,902,1001,908,1128,1102,690,818,1086,1250,1198,1280,979,753,740,609,495,612,764,863,852,1024,1218,770,588,1100,899,437,350,373,775,1132,865,912,1170,1352,1340,1414,1216,974,1588,2230,2222,1982,1786,1566,1152,624,529,821,1426,1654,1586,1360,1482,1410,1646,1928,1454,1360,1586,1426,1422,1402,1554,1282,1464,1810,1638,1338,1356,1334,1200,1500,1372,745,736,686,1028,1354,1240,1264,1422,1312,984,959,1290,1440,1296,1142,1076,1270,1372,1494,1542,1142,990,970,1168,1510,1760,1754,1516,1124,1122,1322,1434,1460,1434,1288,1368,1624,1844,1918,1524,1202,1204,1244,842,941,850,1152,979,920,898,833,691,1114,1308,1032,1234,1374,1196,964,930,1134,1152,1240,1332,1272,1026,1310,1514,1034,583,1020,1412,1005,1406,1228,811,1338,1246,725,502,878,1098,860,858,1016,810,618,802,705,792,1036,1516,1190,1278,969,1180,1678,1760,1638,1018,499,564,832,800,779,1178,1192,1618,1852,1814,1312,1320,1312,1012,860,890,1015,847,891,724,892,1344,1794,1434,1180,1396,1558,1638,1872,1712,917,1266,1900,1632,1780,1748,1230,770,680,937,839,534,550,878,1242,1396,1542,1882,1710,1786,1832,1956,1750,1692,1806,1820,1678,1490,1534,1604,1484,1278,1352,1396,1384,1566,1550,1200,897,844,871,1009,1348,1594,1410,1264,783,816,1146,778,643,538,596,953,1007,948,1300,1560,960,1046,1020,1078,1028,821,932,985,1144,1156,1064,1266,1434,1210,926,636,884,815,634,810,1308,1340,1170,1084,1064,900,454,466,462,681,1046,1532,1282,769,723,952,911,1001,1158,983,1230,1408,883,1036,945,426,336,389,410,406,444,529,965,1626,1858,1538,974,861,768,1017,957,908,1038,1136,1200,1224,1378,1356,1318,1686,1572,1326,1152,1204,1172,1030,1088,1068,1060,936,877,1146,1164,937,1050,1346,922,921,962,1360,1708,1650,1572,1312,1019,1252,1184,1009,1082,1114,827,982,1001,1210,869,699,770,719,750,1212,1404,1007,1094,1218,933,923,956,1060,1066,1154,1196,1324,1356,1166,1144,1222,1038,1206,1542,1360,1186,1686,1600,1186,732,550,630,833,1042,1314,1358,1034,1048,1366,1366,1194,997,959,1094,1080,1054,1188,1244,1248,1200,1520,2678,3130,2066,1306,1402,1526,1404,1344,1522,1616,1570,1656,1650,1626,1666,1484,1270,1578,1594,1688,1730,1754,1340,933,930,975,1020,1180,1164,1456,1348,1262,1216,1280,1272,1264,1334,1582,1830,1554,1344,1616,1418,1334,1322,1376,2032,1864,1484,1488,1426,1524,1926,2366,2584,1994,1840,1534,1150,1038,1362,1106,898,629,807,819,724,846,906,1060,828,662,1096,1428,1364,1472,1372,1262,1208,1332,1192,978,1224,1530,1704,1188,1158,1488,1206,806,551,502,550,583,902,1294,1354,1296,1210,1174,1378,1340,1368,1230,1054,1170,1448,1562,1410,1112,877,917,1186,1242,1252,1278,1242,1274,1574,1178,730,554,732,1013,1184,1204,1072,1050,1010,1272,1700,1874,1938,1784,1678,1492,1302,1358,1562,1688,1732,1310,1466,1810,2034,2400,2898,2230,1662,1300,1015,1268,1698,1490,1254,1398,1384,1454,1344,978,608,544,935,1154,1228,1268,1378,1460,1106,902,1004,1288,950,677,559,594,473,478,1001,1408,1216,950,645,588,801,637,647,467,390,513,881,1074,785,540,587,571,530,461,664,967,1216,1234,1114,1324,1318,996,664,630,863,821,764,1120,1094,907,981,1078,1284,1138,1372,1140,992,1048,1322,1794,1716,1406,1028,887,790,878,1450,1510,1066,739,883,1130,838,907,1212,1064,828,882,1108,1306,1172,1066,907,982,1224,1340,1410,1336,1410,1290,1490,1350,1358,1094,1212,920,943,946,854,904,1158,1504,1424,1108,1088,1036,889,827,814,1002,1142,1096,996,803,882,1210,1404,1418,1324,1234,1284,1246,1178,1056,1056,1202,1188,1132,1132,1056,1180,1096,1084,1154,1202,1318,1334,1256,1092,1036,1252,1466,1748,1720,1390,1152,886,732,638,656,1064,1376,984,725,1021,1378,1416,1254,1034,1090,1040,1070,1034,828,1178,1332,1272,1304,1328,1356,1482,1632,1680,1672,1672,1564,1130,1216,1262,1472,1440,1434,1762,1696,1426,1170,638,491,610,779,1152,978,781,626,459,450,637,612,390,745,1326,1500,1244,862,771,788,1198,1398,1194,1114,1180,1336,1416,962,615,875,971,621,543,653,1026,1162,1202,1058,861,1144,1482,1322,1246,1240,1114,1194,1166,1288,1388,774,704,1004,1092,1190,1124,1036,1264,976,1100,1010,1092,1420,1716,1600,879,515,491,525,744,760,761,822,901,773,724,714,887,846,958,993,1202,1206,741,442,458,516,433,534,586,429,460,708,1070,1128,1024,812,636,678,932,1284,973,847,692,722,905,630,589,940,767,386,335,321,339,447,739,665,1086,1214,1250,1416,1522,1490,1376,1346,1452,1472,1242,587,504,486,684,954,824,924,1266,1528,1528,1136,587,646,1122,1396,1260,1236,1220,1304,982,785,881,1188,1282,1180,996,692,849,985,1324,1542,921,639,1024,1500,2404,2684,1846,1208,1156,938,667,971,1304,1268,1218,1056,1140,1350,1342,1266,1130,1076,886,875,1094,1028,763,1138,1432,990,576,408,478,709,1148,1288,971,1116,1272,1056,1118,1218,1064,1184,948,813,855,1022,1232,1302,1350,1368,1248,1196,1194,1312,1356,1300,1438,1262,939,988,1384,1638,1492,1362,1094,817,763,873,1001,1050,932,999,812,987,1444,1354,1616,1510,1056,1370,1020,872,670,631,672,558,416,399,391,454,923,1680,1588,1388,1668,1852,1708,1064,948,1300,1718,1838,1726,1306,683,639,589,602,1310,1780,1224,886,698,565,711,908,1023,1236,1276,1346,1106,988,1250,935,651,551,574,665,720,887,954,1019,1026,1070,1184,1208,1180,1194,1422,1450,1212,1242,1184,895,740,813,930,1322,1086,705,608,550,617,870,1202,1354,1272,1306,1246,1164,1046,1206,1032,923,1196,1124,1058,1060,1058,817,635,891,946,966,1236,1056,879,1256,1322,1680,1568,705,509,532,645,1034,1322,1378,1208,1194,1310,1206,1110,1576,1128,579,381,324,336,305,299,816,1532,1346,1112,1146,1206,1086,1120,1430,1768,1866,1512,1342,1246,1200,1216,1022,863,692,692,858,1168,1168,901,798,808,795,1150,1470,1328,1464,1534,1374,949,1082,1274,1366,1368,1206,1112,1168,1326,1350,1304,1132,1268,1388,1420,1402],[434,477,383,305,234,227,242,248,307,409,557,637,576,541,524,515,449,431,441,429,420,410,403,397,393,389,393,393,390,385,408,415,442,541,591,594,636,679,623,468,480,479,486,519,547,559,547,559,578,555,532,453,437,488,404,324,365,362,625,694,687,824,589,317,347,477,487,483,502,364,449,756,657,579,557,703,1002,1272,1394,1332,913,518,433,376,350,362,295,290,284,395,412,368,356,454,525,398,400,403,571,1104,946,835,1052,1556,1516,1130,631,439,558,519,449,873,1208,1112,844,1250,1118,920,908,1050,836,567,524,549,574,516,458,489,440,480,922,936,513,307,287,292,293,311,308,337,483,499,401,393,633,884,891,1108,912,733,1001,789,570,770,782,873,1158,662,668,1012,1144,1198,1082,816,646,685,729,865,918,1007,787,359,327,337,371,667,836,549,827,1400,1156,1176,1382,750,415,367,297,377,424,287,353,585,781,1066,1092,1080,1058,1036,703,557,788,851,450,339,354,380,573,994,1476,1922,1542,1040,787,586,847,763,503,480,752,646,599,1284,1852,1918,1848,1410,1240,1122,1038,953,1150,786,661,809,1023,1242,1440,1332,924,714,637,387,437,451,264,262,330,318,363,686,717,431,208,231,300,454,809,760,482,408,614,825,889,764,592,677,874,733,633,547,469,427,368,489,965,1234,1060,870,767,908,939,861,855,824,1060,1648,1296,1142,1226,1216,1210,1102,1064,1264,1360,1064,659,695,1208,1188,1200,1011,1352,1606,1532,1356,1182,1438,1736,1526,1612,1534,1056,684,822,1240,1526,1516,1288,1138,933,1021,1066,867,913,1007,915,1060,1250,904,908,1134,1194,1158,1048,1232,1396,1346,1118,835,853,912,1166,1074,1166,1418,1260,684,381,792,1084,1088,1322,1368,1376,1128,1126,1296,1472,1496,1788,1872,1230,1314,1282,913,990,942,638,678,1118,1060,916,1020,1088,1154,1394,1096,654,780,997,920,760,1346,1420,1406,1134,1016,1550,940,383,345,407,415,508,557,673,1274,1660,1368,1226,1290,1322,1270,1048,1372,1520,1002,733,865,1312,1246,876,674,954,1166,1160,1274,1182,951,1038,1142,1202,1226,674,561,870,658,686,897,968,613,493,479,666,1272,1214,778,939,1188,1402,1234,1208,1182,941,841,836,888,882,965,1300,1366,982,1100,1136,1144,1168,1007,1136,1208,1206,1744,1702,1216,1320,1380,1078,727,818,727,605,1096,1100,637,473,719,768,432,497,593,995,1154,1122,1044,874,570,797,623,365,458,739,975,979,1136,1080,907,915,828,729,787,910,911,898,866,777,742,830,1044,969,1164,1046,1070,1070,910,1018,1076,938,918,1290,1548,1152,1260,1604,1406,1344,1216,1278,1384,1412,1184,1164,1168,1068,1058,957,903,929,1116,940,968,1018,996,1162,1268,1194,1162,1066,1082,1270,1262,894,679,705,895,984,1036,1122,1376,1013,441,301,348,604,646,504,932,1252,1404,1318,1570,1186,964,1546,1908,2164,2260,2104,1726,1354,661,677,1146,1588,1578,1476,1150,1160,1334,1328,1428,1372,1380,1798,1702,1662,1624,1694,1526,1532,1758,1614,1112,1092,1204,1080,1196,1096,886,799,792,1332,1664,1376,1156,1348,1406,1038,1186,1366,859,725,1118,1444,1456,1428,1498,1592,1202,963,1006,921,1080,1608,1648,1198,1118,1098,1346,1682,1832,1780,1682,1640,1698,1892,1958,1872,1410,1001,1312,1064,910,638,726,950,1354,1318,841,500,656,757,682,744,692,634,657,957,1058,1132,1432,1446,1342,1148,959,1058,1050,851,1182,1290,637,716,677,533,633,928,809,492,613,718,788,788,841,774,504,661,1132,1294,1348,1552,1496,1382,889,977,1496,1722,1614,957,681,684,996,798,760,1100,1374,1406,1552,1296,998,1388,1224,891,667,758,818,709,723,522,561,1046,1468,1302,1021,1140,1498,1328,1268,1490,772,841,867,1128,1234,782,811,1007,816,873,1009,686,528,499,898,1454,1576,1870,1604,1484,1726,1594,998,827,808,918,1120,991,890,880,1096,847,849,1138,1116,1136,1372,1472,1462,1304,1150,1094,1222,1354,1342,1340,992,1358,1198,642,769,706,448,505,727,812,1274,1512,1214,1394,1300,1188,1214,1350,1266,1050,1058,1192,1192,1188,1198,792,780,528,780,783,719,968,1250,1160,1072,844,752,613,482,472,468,645,700,1208,1570,1334,815,801,1218,1170,875,612,727,954,686,498,425,345,414,500,526,489,511,638,933,1064,1108,1030,972,901,734,810,965,1102,1036,1046,1170,1302,1244,1172,1416,1478,1608,1754,1410,1144,927,933,1056,1094,1216,1060,1068,1346,1222,1206,1192,1248,1048,970,936,1060,1426,1642,1546,1026,483,711,967,1072,1188,954,673,741,963,1160,1012,871,932,969,742,1092,1040,1106,1466,1302,751,854,979,1060,1268,1302,1282,1284,1172,1162,1376,1172,1132,1116,987,1102,1200,1362,1500,913,822,600,462,596,766,734,475,584,755,929,1036,1326,1072,901,1282,1228,1422,1450,1318,1308,1118,1376,1874,1656,1276,1342,1498,1368,1136,1002,1272,1434,1708,1488,1444,1656,1662,1620,1776,2104,2158,1898,1920,1960,1542,1202,1024,932,1028,1062,1222,1394,1360,1312,1162,1222,1364,1524,1436,1390,1424,1190,1440,1624,1338,1502,1410,1372,1974,1832,1462,1300,1348,1428,1606,1942,2164,1820,1676,1508,957,1172,1278,959,781,803,932,890,956,1148,1152,1464,1466,1350,1614,1168,1015,1184,1270,1402,1456,1442,1272,1282,1438,1308,1404,1346,1186,1360,1368,1064,672,533,834,1112,1316,1292,1188,1086,1128,1126,921,1002,1178,839,667,697,1038,1444,1338,978,808,872,1294,1474,1444,1536,1552,1522,1404,996,493,564,940,1158,1126,1296,1302,1190,1254,1866,2142,2070,1986,1882,1670,1556,1506,1518,1428,1670,1638,1332,1396,1426,1450,1726,2438,2464,1976,1376,1038,1186,1434,1252,1340,1448,1342,1394,1170,825,593,569,991,1266,1256,1340,1592,1446,851,582,894,1494,1360,1176,882,509,441,540,826,1394,1432,1012,599,512,473,642,953,729,422,377,606,1009,1034,785,612,596,472,544,940,1222,1354,1120,1186,1476,1374,1024,578,351,371,609,666,713,919,1072,1120,1206,993,554,413,540,693,615,636,990,1274,1546,1472,1366,1176,1364,2116,1786,903,765,765,779,505,434,545,454,362,294,396,563,446,347,287,398,492,563,833,816,1028,959,951,985,1258,1426,1310,1176,1013,854,925,880,870,1372,1176,887,970,845,856,843,932,1294,1302,1026,861,891,1021,1178,1400,1632,1524,1246,1038,962,955,986,1140,1194,1208,1068,1058,1006,990,1152,1198,1158,1308,1338,1378,1260,984,1038,912,1386,1570,1634,1302,1164,960,772,714,1006,1086,940,930,897,1028,1198,969,1011,1130,974,950,1092,1096,1038,1338,1550,1542,1556,1542,1504,1672,1672,1554,1640,1374,1032,922,1436,1632,1632,1534,1424,1490,1292,1354,1444,1136,760,888,1118,1084,601,619,716,508,566,738,792,542,583,1134,1188,799,939,963,740,1134,1362,1212,1134,906,1068,1094,870,811,995,1102,763,1096,1560,1412,1260,1458,1394,1230,1440,1670,1528,1506,1324,861,775,838,1134,827,559,1128,1512,1656,1842,1722,1160,1176,1226,1212,990,1078,1438,1732,1626,1018,578,728,797,1104,1042,706,670,793,448,317,556,865,832,803,1140,1602,1108,550,282,364,414,555,874,798,560,486,644,813,734,753,664,936,960,948,1164,1234,1170,630,680,1158,1188,1172,1036,918,857,978,1011,774,728,1132,955,1042,1128,1154,1306,1394,1446,1382,1042,919,1256,1342,1046,618,639,635,712,913,999,1180,1256,1212,1236,1003,875,1188,1614,1434,1292,1250,1240,1064,1054,1066,1066,1066,1164,991,456,407,821,1378,1386,1142,970,1216,1320,1356,1498,1248,1150,1224,1340,1108,1168,1366,1180,1062,1086,1280,1140,957,946,1048,1416,1060,949,1144,1166,1086,1318,1490,1260,830,422,567,808,1088,1108,801,1364,1482,1044,1088,1028,762,747,672,630,713,818,855,922,1302,1310,1182,1328,1294,1230,1152,1190,1296,1218,1092,1086,1454,1494,1460,1274,1284,1200,1052,910,835,834,918,1023,937,1060,1130,1102,1250,1274,1576,1334,888,739,639,619,687,699,757,756,547,517,1010,1780,1442,1294,1678,2018,1828,1060,805,824,1152,1504,1670,1506,671,549,524,501,757,1001,1092,743,506,463,559,590,655,962,1086,1064,1044,1110,856,547,514,481,761,1078,1056,1009,874,612,696,854,1070,1366,1316,1252,1412,1400,1468,1514,1454,1260,1126,1092,960,1150,1134,1112,1024,995,1013,1030,1106,1144,1220,1362,1394,1212,874,904,963,867,1238,1206,1090,1158,1182,988,891,966,1140,1312,1316,796,783,1110,1064,1252,1284,867,719,797,704,943,1158,1322,1148,1202,1096,922,1090,1144,781,579,457,414,436,490,548,1100,1314,888,1208,1498,1334,1114,1116,1050,1274,1500,1448,1324,1013,692,692,1072,1110,846,520,593,999,1272,1200,1086,915,833,1204,1490,1466,1474,1458,1154,1004,1240,1266,1444,1492,1360,1202,1112,1364,1256,1064,886,998,1452,1264,1248],[498,517,397,319,269,234,230,229,289,447,476,413,325,297,389,453,459,449,437,421,422,417,404,394,390,387,384,400,404,403,401,443,469,494,533,564,586,631,623,495,484,479,502,527,549,596,565,557,550,549,549,508,501,539,421,310,329,341,430,581,669,669,497,314,319,397,514,502,633,483,558,670,524,462,596,854,997,1098,1358,1368,775,535,392,349,402,532,396,348,314,285,352,363,432,843,862,401,370,383,423,643,667,828,963,1260,1294,976,477,386,399,428,498,1070,1318,947,984,1060,959,814,730,753,605,507,521,460,519,542,766,640,508,495,703,761,528,308,289,245,258,271,337,468,512,514,359,301,670,767,1198,1644,1198,688,606,872,920,883,932,986,1096,1058,1122,1316,1348,1042,597,457,451,486,971,1286,839,465,412,369,381,396,402,771,905,533,779,1568,1146,1150,1522,777,403,397,339,364,335,300,535,662,532,565,1036,1498,1476,1416,1452,1042,560,726,565,357,556,726,629,518,807,1178,1376,1572,984,724,771,882,551,372,586,711,692,1174,1654,1506,1578,1548,1506,1376,1158,993,1094,1110,1032,1001,1194,1372,1270,884,577,670,554,362,354,353,302,300,417,441,322,408,529,496,233,287,353,379,620,518,346,289,586,895,860,560,520,725,1021,1038,1010,841,810,694,495,651,1006,1044,1066,990,692,861,797,828,1090,1106,1146,1584,1442,1388,1232,1082,1188,1154,1072,1080,1294,1116,838,1066,1272,1136,1088,991,1194,1238,1052,952,956,1592,2326,1556,1502,1648,1086,709,744,944,1388,1416,1344,1238,727,585,446,335,433,828,901,1312,1418,1013,1046,1378,1404,1102,995,1074,1266,1182,850,775,750,717,996,1064,1136,1192,1164,1120,1034,1007,981,1090,1216,1084,1186,949,1316,1198,1388,1580,1858,1720,1086,973,1162,1074,916,908,735,895,1056,913,979,1146,1078,1044,1208,1052,525,458,835,849,772,1616,1402,1452,1126,835,1084,869,495,411,544,489,520,692,913,1488,1948,1638,1494,1390,1224,1204,869,890,1214,777,696,1152,1562,1102,872,984,1106,1116,1448,1432,1134,1001,993,1120,691,744,551,678,734,657,583,647,747,769,745,677,1019,1224,764,741,861,764,952,1088,1190,974,890,982,894,1094,1082,1104,1272,1584,1282,1316,1290,1230,1246,1208,1118,1114,1264,1318,962,1164,1278,1218,882,1324,1768,1296,1086,1406,1196,731,455,725,868,695,954,981,1076,983,983,1124,1448,1340,1104,1032,926,788,797,642,836,962,1048,932,1084,1010,978,1146,994,877,1176,1480,1346,612,576,1368,1698,1086,590,757,894,791,980,1132,1114,1206,1400,1602,1424,1418,1230,1248,1262,1034,1312,1814,1770,1698,1672,1174,1126,1182,1130,1098,1086,1128,968,674,587,788,1005,1015,1036,1080,1140,1196,1332,892,537,529,583,612,732,910,1130,1324,976,375,265,298,325,294,397,781,1116,1258,1294,1402,1138,1164,1506,1624,1830,2116,2098,1256,850,1090,1294,1290,1612,1646,1554,1296,1146,1230,1318,1638,1292,1198,1516,1532,1630,1676,1678,1654,1668,1760,1558,1174,1074,980,927,1372,1366,1206,1026,896,1430,1658,1332,1412,1746,1538,1086,1108,740,420,1116,1460,1418,1396,1426,1576,1648,1300,987,986,889,937,1478,1314,705,1070,1194,1100,1340,1724,1760,1390,1174,1214,1478,1886,1836,1558,1052,1196,1262,1122,1028,1082,1262,1406,1360,1038,471,483,716,637,633,586,440,586,803,937,1090,1004,1008,1152,1130,1054,1034,1178,1204,1460,1330,605,605,1128,1196,822,608,516,498,762,1238,1188,697,503,567,579,912,1330,1300,1160,1318,1350,1042,825,1010,1124,1620,1560,878,688,890,1138,1042,929,985,1114,1098,1086,1138,1188,919,665,534,506,610,720,687,581,420,404,488,537,622,567,433,487,503,613,703,450,783,1368,1386,1142,1082,987,1010,931,1140,708,419,464,669,1009,1448,1698,1746,1698,1768,1986,1694,987,706,510,511,488,612,693,756,771,685,615,540,435,435,647,846,1154,1232,1454,1570,1614,1576,1386,1162,1324,1676,1214,714,777,569,440,775,1021,905,1512,1444,1400,1388,1328,1392,1294,1376,1464,1338,1312,1340,1358,1218,995,805,788,808,1346,1430,1242,1370,1410,1272,1266,1064,813,604,545,504,525,755,971,901,1152,1472,1084,954,1290,1022,1021,1150,1032,949,680,432,371,428,501,389,437,514,476,613,928,730,667,739,904,1158,1130,1028,1276,1338,1011,1102,1196,1250,1040,937,1252,1494,1588,1626,1120,907,1064,1116,1158,1236,1280,977,1320,1330,1376,1172,758,843,872,799,1003,1174,1564,1682,1562,1222,748,620,940,1194,1214,866,753,999,1012,1064,1310,1120,868,943,900,899,799,1002,1200,1078,1046,1126,1004,1058,1280,1512,1392,1242,1152,1224,1396,1074,959,976,1180,1814,1814,1926,1604,973,1028,696,684,794,739,705,555,725,1126,1186,1242,1216,996,1292,1514,1368,1760,1482,1162,1244,1372,1528,1498,1268,1328,1476,1256,1268,1276,1104,1350,1450,1666,1540,1274,1492,1556,1562,1592,1594,1642,1696,1736,1794,1750,1692,1520,1434,1330,1340,1496,1396,1316,1376,1246,1136,1318,1642,1614,1776,1700,1284,861,938,1266,1338,1290,1350,1302,1330,1430,1716,2038,1692,1460,1514,1782,1702,1604,1370,1010,1106,1268,1198,1138,1226,1098,1036,1068,1154,1106,1230,1298,1442,1356,752,583,882,1332,1460,1544,1632,1712,1614,1278,1438,1484,1296,1204,1284,1252,1186,1012,888,1130,1304,1438,1094,1060,984,1046,1019,624,692,987,1006,977,824,1076,1364,1532,1306,995,1174,1242,1250,1264,1344,1534,1720,1798,1278,569,899,1502,1138,932,1282,1260,1076,1488,1880,2038,2038,2006,1722,1408,1560,1594,1332,849,1084,1500,1482,1096,1130,1134,1738,2688,2342,1958,1492,1256,1222,1256,1202,1296,1560,1396,1296,1312,1086,642,827,1360,1454,1556,1744,1496,1304,1180,880,927,1310,1616,1714,1446,677,404,538,929,1254,1124,1216,922,623,558,890,1200,819,435,469,697,1038,961,713,653,600,531,764,787,870,914,828,1188,1290,1130,974,802,613,506,671,620,850,885,799,887,1005,754,384,354,425,477,698,976,792,924,1484,1582,1142,882,1350,1700,1220,715,519,390,371,365,341,312,382,359,320,356,415,396,353,370,331,335,397,380,360,451,433,372,361,574,700,875,1240,1340,1204,1128,1024,992,1078,970,1040,1198,1046,851,726,982,1390,1138,894,882,1034,1194,1216,1248,1500,1354,1202,1028,774,766,955,1218,1054,1032,1122,957,948,1102,1218,1102,1118,1284,1296,1350,1188,1013,1158,1204,1620,1620,1482,1024,986,1062,988,1050,1186,1082,1122,1102,894,1062,1172,1142,1142,1116,974,1080,1184,1140,1130,1316,1600,1626,1696,1664,1526,1444,1262,1162,1704,1890,1242,912,1366,1600,1670,1614,1338,1142,1126,1218,1278,1226,827,794,1140,1084,1058,1594,1246,702,950,1030,1156,955,559,906,1288,1074,977,814,1156,1864,1446,1114,787,938,1342,1232,1154,918,891,1088,915,1090,1334,1242,1296,1466,1350,1352,1520,1498,1648,1738,1482,847,507,660,1098,907,733,1508,1864,1832,1826,1668,1208,968,970,811,683,945,1500,1850,1572,993,719,681,819,1100,1156,982,971,775,479,393,752,1104,865,424,616,1162,986,765,564,488,524,610,805,641,543,857,935,774,656,824,780,1190,1382,1322,1190,1274,1082,934,1132,1160,896,990,1110,1460,1316,1262,1156,1146,1216,1286,1001,1008,1200,1188,1190,1426,1278,1364,960,824,1206,1190,1176,921,948,843,949,1108,1116,1400,1382,1240,1256,1030,1036,1074,1204,1306,1324,1174,1015,1094,1404,1274,1268,1216,1240,1064,696,703,1262,1742,1762,1624,1212,1013,1036,1042,1007,1246,1350,1278,1278,1138,1202,1316,1252,1134,1110,1288,1274,1180,867,831,1036,1212,1116,1034,1278,1240,1276,1112,904,792,770,518,540,951,1170,942,1272,1210,864,858,764,705,755,912,1024,904,1368,1482,1490,1346,1194,1292,1334,1206,1172,1198,1194,1132,1354,1230,1002,1036,1196,1284,1154,1338,1282,1450,1082,701,755,987,1094,991,1138,1178,1138,1214,1532,1566,1206,1362,1324,872,659,671,706,805,865,924,567,680,1512,1772,1570,1928,2074,1674,1262,966,1094,1274,1252,1444,1012,493,424,364,419,428,514,565,442,325,390,562,567,738,821,1124,1346,1286,1300,1068,871,791,858,1202,1310,1090,910,714,644,844,800,1050,1300,1318,1374,1450,1432,1608,1686,1416,1282,1630,923,528,839,964,1144,1172,1240,1230,1160,1038,1038,1232,1886,1552,1126,714,612,818,846,998,991,1028,1100,1024,1058,1078,1176,1610,1356,1002,652,543,586,717,933,1030,859,771,808,953,1230,1170,1288,1404,1504,1010,832,946,838,757,886,755,613,674,681,722,1242,944,796,1186,1384,1214,1316,1160,858,1136,1346,1388,1206,993,700,857,1056,1168,1208,907,670,990,1538,1318,926,871,1188,1348,1442,1454,1310,1214,1248,1332,1108,909,1072,1216,1406,1208,1144,1216,1366,1168,1002,1164,1428,1138,1116],[542,500,353,315,293,269,246,236,268,428,442,357,286,264,269,337,409,454,452,443,438,415,402,399,387,373,368,398,394,377,396,464,500,482,432,400,525,576,631,497,467,483,490,515,535,522,528,554,572,591,558,541,520,548,406,321,377,353,374,626,677,433,356,303,307,321,420,379,434,424,438,435,408,420,593,931,1034,1108,1498,1580,906,597,539,474,443,452,365,356,314,289,350,384,489,853,683,452,470,379,356,547,583,678,946,949,1028,930,564,527,522,576,722,1316,1446,1224,1194,1152,977,1212,1178,866,537,497,486,616,822,592,622,534,469,408,437,608,555,274,292,259,274,313,408,483,422,350,342,415,783,1134,1456,1298,975,447,516,891,899,875,907,1154,1158,1096,981,1156,1532,1276,594,495,423,479,1158,1386,953,506,390,329,283,334,394,499,607,452,749,1706,1404,1250,1628,799,379,423,397,411,424,492,786,951,944,846,1366,1796,1762,1472,1494,979,369,477,491,483,765,973,797,555,563,664,1138,1410,1532,1286,932,785,608,498,536,617,843,1268,1522,1188,1624,1560,1586,1434,1210,1062,1003,1078,1020,910,1138,1328,1216,935,924,1222,901,505,441,377,301,299,517,806,445,319,512,514,329,315,315,315,303,291,328,328,465,1034,1218,1142,786,730,925,1214,1048,997,961,737,697,836,1072,909,733,952,815,810,849,596,745,754,883,1406,1494,1300,1200,1344,1106,1162,1186,1234,1360,1324,1238,1236,1096,905,813,750,866,1140,999,671,678,913,1036,1023,1178,1528,1296,828,767,852,1054,1494,1802,1312,594,495,437,336,325,539,816,994,986,1084,1282,1482,1532,1284,1184,1278,1740,1272,957,957,865,792,814,977,1302,1290,1176,1446,1584,1740,1630,1280,1007,1230,1212,963,1130,843,769,1274,1646,1088,743,843,1008,1160,1054,1316,1458,1242,1294,1172,1134,1256,1110,1094,1190,1002,695,852,971,750,956,1434,1160,974,659,515,527,597,745,698,705,578,647,909,1314,1586,1574,1252,1380,1332,1102,1088,1112,1122,1394,1044,1023,1104,982,948,830,1176,1186,983,1274,1052,1184,1468,1108,922,768,526,405,537,367,280,446,523,600,749,740,744,979,982,969,874,755,804,1076,1206,1202,940,828,832,1244,986,916,913,957,1226,1284,1378,1408,1300,1050,968,1136,1092,1172,1290,1288,1676,1340,1382,1172,1262,1514,1136,1082,1264,1156,995,955,774,822,1034,1140,1316,1021,892,948,1090,1240,942,857,1206,1406,1220,1130,1072,821,1004,1406,1400,1264,836,756,1002,1070,1100,1310,1214,1190,708,952,1598,1466,894,814,890,864,1112,1136,1230,1450,1656,1708,1844,1848,1822,1426,1144,1226,1270,1208,1252,1364,1716,1818,1444,1128,1438,1522,1410,1098,994,1048,816,559,650,662,828,830,998,1256,1368,1380,1015,732,629,765,974,1052,1032,1078,1138,820,317,283,367,347,355,393,493,810,1142,1166,1074,1072,1182,1404,1538,1272,1148,1082,737,1060,1616,1378,1290,1586,1634,1600,1248,1344,1562,1384,1498,1158,1110,1376,1368,1324,1344,1200,1300,1582,1742,1544,1296,1178,948,895,1186,1302,1286,1418,1310,1086,1158,1132,1174,1114,978,888,844,498,494,1372,1506,1300,1354,1350,1366,1244,1048,891,838,835,816,1452,1310,803,1009,1228,1076,1102,1550,1396,1024,1210,1262,1228,1546,1786,1736,1256,1068,1234,1170,1018,1238,1316,1374,1458,1126,563,634,776,615,652,704,608,625,622,800,1028,989,1158,1124,1172,1060,1136,1252,1306,1450,1388,766,1040,1632,1088,538,353,314,399,908,1082,713,580,450,447,893,1314,1432,1382,1266,1220,1036,774,708,767,865,1486,1472,817,677,1048,1230,963,818,1064,1368,2182,2728,2546,1748,693,359,391,600,832,769,752,729,510,359,361,300,354,359,276,290,376,333,319,664,1222,1302,1230,1700,1842,1390,1272,960,1418,974,616,566,852,976,1116,1466,1614,1732,2042,2014,1566,1114,819,546,531,570,732,797,840,844,1138,1224,755,459,473,557,694,558,464,705,953,861,950,844,583,825,1358,1588,1456,1362,1278,1152,1298,1266,1252,1586,1670,1586,1396,1456,1470,1450,1576,1598,1538,1194,1162,1298,1294,959,855,703,1056,1564,1226,1376,1362,1328,1370,1140,1360,1200,1144,929,579,545,896,1390,1626,1326,1410,1348,1198,929,1110,1202,1398,1318,1188,844,485,445,424,491,404,344,451,427,844,858,615,594,621,634,798,907,1072,1298,1348,1056,1036,1100,1098,1118,946,1094,1278,1384,1346,1044,991,1126,1140,1096,1386,1320,1018,1552,1408,1078,830,865,1013,980,1098,1504,1484,1728,1798,1656,1788,1488,946,848,1074,1196,1100,999,1090,829,907,1250,1340,971,927,1026,816,660,981,985,839,1016,935,1009,1013,1428,1528,1232,1166,1100,1188,1250,1130,1100,1038,1470,1936,1820,1712,1220,1114,852,849,947,895,1036,1202,985,965,1224,1306,1292,1010,1386,1782,1192,1342,1128,1066,1216,1404,1514,1584,1626,1384,1430,1464,1210,1240,1218,1216,1316,1382,1438,1268,1628,1702,1510,1338,987,1334,1550,1234,1346,1512,1562,1704,1642,1744,1730,1606,1730,1716,1662,1592,1542,1490,1434,1678,1520,1876,1934,1322,653,818,1086,1086,1328,1340,1296,1240,1188,1598,2104,1630,1312,1562,1620,1776,1904,1694,1504,1172,1238,1302,1356,1556,1148,1164,1240,1190,1202,1134,1030,1334,1230,776,849,1196,1398,1494,1542,1548,1620,1512,1282,1354,1306,1192,1184,1306,1408,1496,1404,1404,1536,1536,1296,1060,1072,1102,1034,999,799,699,930,1010,1196,1094,1108,1112,1360,1602,1532,1400,1162,1122,1224,1232,1336,1454,1338,769,745,1034,1368,1180,1002,1158,1100,1114,1188,1262,1640,1974,1834,1416,1434,1618,1766,1564,955,644,951,1034,816,764,633,955,1952,1786,1288,1194,1204,963,1076,1164,1158,1256,1188,1106,1210,949,727,1042,1396,1436,1978,1796,1184,1080,1106,836,569,928,1384,1102,835,557,351,476,824,803,580,984,1206,1046,661,672,800,553,726,906,1019,1184,1054,786,653,571,518,515,617,919,933,1058,1238,1212,1194,1216,1164,835,625,553,518,835,1110,911,938,949,693,425,412,427,473,910,1410,1328,1134,1120,1366,1390,1128,928,715,394,348,342,359,379,398,393,395,404,358,314,358,406,378,337,389,364,402,397,407,421,408,429,407,361,347,342,376,648,1015,1028,1160,1218,1404,1286,1096,1176,1088,974,912,940,1168,1322,1160,954,1156,1222,1058,916,887,1102,1354,1556,1560,1168,894,968,1206,875,835,1272,1166,1136,1274,1192,1094,1280,1302,1148,1122,1096,1074,1088,1158,1464,1692,1674,1410,1358,1294,1016,1016,1156,1210,1478,1134,869,1282,1438,1096,978,1158,1272,1294,1274,1296,1362,1312,1484,1526,1414,1466,1654,1560,1284,1152,2478,3494,2078,1022,1234,1552,1722,1584,1320,1146,1262,1212,1090,816,686,868,940,858,1216,1886,1450,943,1082,1278,1272,772,419,710,833,755,831,497,741,1232,1422,1330,775,1054,1534,1394,1284,999,1042,1160,875,761,795,1023,982,982,1094,1352,1388,1384,1714,2054,1720,910,531,800,1248,767,688,1192,1378,1504,1582,1332,1044,870,803,825,889,1054,1416,1498,1186,814,931,690,747,1112,1238,1384,1420,1086,738,675,1130,1340,1136,505,392,630,829,912,707,610,561,457,443,651,1338,1764,1298,711,636,881,952,1260,1444,1046,820,868,1058,1288,1084,811,743,946,1190,1340,1298,1056,937,1080,1188,1100,1360,1848,1272,986,907,1238,1308,1266,1084,1078,1028,703,608,988,1128,907,1030,1256,1286,1312,1256,1198,1220,1130,973,945,1188,1520,1498,1042,898,900,1316,1086,1164,1188,1146,1146,1104,1194,1438,1486,1310,1160,1130,1310,1274,1382,1222,1432,1302,1424,1582,1362,1162,1040,1328,1334,1034,1019,1032,989,1274,1100,685,965,1072,1104,1300,1344,1250,1072,906,770,1036,999,969,971,888,913,1158,968,651,564,755,1026,958,1003,991,1046,1812,1414,1015,870,1022,1162,1224,1208,1184,1234,1190,1290,1494,1134,1186,1216,1302,1180,983,867,1248,1704,1260,835,817,1172,1190,926,1108,1100,1216,1294,1600,1556,1214,1348,1418,1023,573,560,833,1094,984,1168,821,524,1120,1666,1734,2032,2098,1676,1094,700,698,733,891,1042,943,836,579,437,382,394,366,474,662,683,836,991,878,771,809,1166,1542,1498,1230,916,810,946,836,922,685,796,662,580,924,918,899,1186,1308,1294,1450,1548,1428,1818,1842,1378,915,875,846,792,976,952,1166,1424,1258,1190,1232,1050,1100,1214,1354,1072,1060,816,846,1036,1160,1058,925,1130,751,656,1004,1166,1212,1190,1110,1008,907,839,800,771,879,1002,997,721,762,1264,1360,891,1100,1208,1202,1310,1122,673,650,862,1260,1144,852,812,1001,960,998,1094,1134,1280,1282,1168,1306,1240,946,1002,1252,1210,1086,1116,1184,1242,1224,1320,1256,1007,955,1050,1208,1164,1362,1418,1450,1172,1102,1774,1874,922,1094,1032,1110,708,847,1308,1446,1288,1390,1410,1442,1350,1278,1238,1368,1262,1046],[518,485,332,312,296,273,218,209,251,325,314,277,272,273,254,248,295,384,430,463,455,424,414,398,389,400,376,377,374,355,355,354,383,456,460,443,416,447,501,404,404,469,500,495,490,504,538,546,543,555,511,519,484,469,362,280,352,387,417,571,666,619,579,369,382,398,383,374,369,404,702,819,502,474,620,1080,1194,1228,1530,1220,674,570,960,871,527,361,365,343,305,274,356,415,426,420,430,462,508,393,332,482,532,700,761,541,707,843,731,731,753,727,998,1196,1228,1212,1516,1692,1302,1338,940,631,469,608,612,713,779,500,382,348,300,326,383,574,625,347,291,305,283,320,426,410,386,422,445,530,626,1021,1418,907,666,355,440,516,504,930,1026,1015,1078,783,894,1348,1600,1266,696,564,556,463,736,1044,800,385,370,375,321,402,385,392,394,403,814,1692,1512,1600,1556,660,351,403,422,411,402,451,677,806,697,979,1288,1820,1992,1334,902,630,465,455,367,417,530,637,558,467,500,703,947,1038,1222,1414,1344,974,930,1046,905,825,952,1080,1042,970,1126,1278,1248,999,1015,1142,1310,1446,1188,1110,1238,1444,1446,1562,1538,1164,640,474,446,379,379,539,825,1056,656,545,981,899,522,422,301,331,324,263,299,320,536,1170,1390,1372,914,621,504,539,415,498,520,444,437,568,984,960,450,532,573,722,749,453,536,484,559,1234,1580,1262,1090,1416,1244,1256,1146,1138,1112,1180,1232,1194,1094,838,543,486,622,1122,1080,697,724,750,1076,1216,953,1238,1422,846,729,823,877,1284,1786,1272,697,601,519,355,283,287,474,628,691,874,1040,1286,1632,1490,1266,1400,1476,1108,969,937,803,738,793,739,640,784,1008,1206,1568,1964,1648,1278,949,1250,1266,798,655,734,639,883,1218,737,926,1090,956,1009,1090,1162,1028,1028,1208,1114,1164,1210,1126,999,798,749,839,988,974,977,1160,1176,1272,1012,577,604,441,518,727,971,689,490,754,1300,1300,1019,910,860,924,1022,923,874,940,1448,1772,1482,1042,814,841,1010,1120,1218,1152,1074,1090,986,1234,1394,1112,996,824,786,997,1024,617,397,462,647,971,724,620,515,576,1070,1328,977,551,856,1148,1086,1078,955,725,1056,1328,926,1088,1238,1114,1108,1208,1366,1408,1168,821,1028,1018,949,1192,1264,1378,1510,1134,1186,912,680,791,852,1138,930,982,1116,1188,1104,1204,1124,875,782,824,959,958,1070,831,482,854,1015,1212,949,918,1130,889,1092,1178,1164,1050,616,700,998,1230,1214,1066,1058,1048,713,1250,1556,1214,1136,1162,1050,891,1005,1010,1240,1404,1246,1448,1486,1874,1982,1334,1044,1472,1450,1328,1252,1052,1034,1140,1144,1122,1270,1174,984,846,1002,1104,908,1372,1450,1044,780,756,901,963,1162,1524,1312,756,855,1216,1460,1252,1196,1148,1188,849,388,325,408,429,402,370,444,805,1198,1260,1056,891,857,1084,1120,896,835,717,786,1382,1696,1472,1390,1466,1598,1458,1546,1398,1554,1440,1390,1378,1294,1356,1410,1448,1344,1180,1422,1542,1726,1328,1086,1044,906,1082,1366,1390,1444,1526,1348,1172,1510,1454,1222,1162,1024,904,734,416,471,1084,1300,1212,1352,1354,1186,1156,1114,853,698,808,752,1372,1326,811,1009,1144,1112,1084,1456,1338,1582,1712,1648,1478,1248,1480,1670,1504,1172,1138,1114,789,1120,1268,1378,1388,807,460,733,861,742,716,735,650,776,1102,1550,1884,1188,997,756,889,825,1086,1410,1350,1396,1366,787,875,1500,1418,1268,608,438,318,529,508,383,588,689,560,932,1424,1462,1222,964,1230,1284,923,615,550,942,1540,1294,739,716,990,1094,781,698,1092,1410,2056,2084,2148,1642,765,422,325,600,835,680,686,758,824,567,532,346,320,322,291,308,312,449,702,690,528,624,1072,1534,1964,1814,1612,1520,1678,1582,1202,839,863,778,560,781,1012,1278,1684,1636,948,689,637,551,492,751,971,949,876,849,1284,1494,1302,830,639,705,954,857,698,688,697,677,616,502,397,444,632,777,1230,1416,1460,1494,1710,1832,1778,1792,1678,1476,1434,1664,1704,1670,1666,1604,1542,1160,938,1070,1064,825,756,761,1376,1260,728,749,1168,1190,1278,905,720,954,1246,988,657,730,935,1060,1306,1180,1326,1440,1280,1240,1252,1034,976,812,883,694,550,466,476,501,442,337,379,386,827,896,702,634,629,786,1092,966,1436,927,1460,2092,1306,946,1126,908,818,1160,1302,1516,1516,1230,1176,1326,1274,1144,1300,1112,996,1170,1220,1080,968,909,1062,1248,1320,1256,1538,1660,1662,1788,1766,2352,2106,868,649,1001,1154,1086,1050,1064,1114,1114,1236,933,677,819,746,990,1350,874,647,906,1100,1100,800,1130,1174,1144,1064,910,841,841,1074,1184,1094,1138,1292,1348,992,1260,1312,1084,891,951,976,802,844,949,973,1118,1076,1112,1152,1200,908,904,1120,1082,1200,1272,1356,1410,1482,1378,1344,1608,1736,1350,1184,1156,1256,1350,1498,1448,1262,1636,1870,1578,1054,1088,2104,2082,1086,1050,1172,1330,1392,1280,1438,1542,1692,1698,1742,1806,1744,1724,1804,1794,1836,1474,1624,1708,1232,836,1015,872,880,1168,1007,1356,1792,1644,1360,1292,1246,1518,1814,1652,1664,1616,1494,1608,1216,1196,1230,1356,1306,1086,1144,1082,1100,1288,1302,1588,1788,1550,1146,1068,1120,1340,1426,1562,1626,1750,1604,1428,1282,1088,1064,1138,1282,1276,1252,1390,1418,1644,1516,1194,1172,1240,1222,1212,1066,966,1010,1164,1176,1186,1172,991,1080,1156,1554,1782,1424,1340,1442,1454,1286,1356,1382,1102,868,762,836,1019,988,912,927,1120,1186,964,779,972,1644,1470,1392,1528,1624,1804,2464,2220,1104,587,735,783,586,562,1178,1742,1636,1180,1096,1009,813,968,1190,1032,940,925,861,1154,808,1090,1019,1098,1206,1382,1242,1106,1128,975,631,585,988,1078,556,392,430,451,612,1126,1106,750,763,947,1188,1076,721,558,526,951,1088,1110,1248,1212,965,664,516,532,521,808,1102,1100,1226,1262,1250,1340,1390,1290,872,617,798,1072,1450,1682,1228,1284,1188,684,411,375,362,440,746,1128,1408,1456,1322,1318,1356,1034,554,448,404,416,417,422,393,412,419,393,382,330,314,382,382,414,389,403,401,424,410,412,432,441,440,431,431,423,416,385,393,370,413,576,1042,1466,1404,1284,1088,945,1282,1098,1124,1466,1162,1212,1162,1134,1094,802,656,938,1340,1314,1562,1714,1568,1332,1186,1536,1202,946,1086,1250,1360,1312,1084,1068,1290,1098,1050,1214,1040,955,1072,1216,1570,1876,1824,1470,1312,1238,1068,910,987,1190,1244,1034,1100,1266,1230,968,980,1306,1422,1434,1346,1316,1184,1038,1216,1414,1368,1296,1768,1824,1392,1400,1494,1296,1062,886,1036,1510,1820,1608,1526,1376,1120,1132,1172,907,658,912,825,662,1009,1230,1152,1100,1066,1174,897,525,441,454,412,517,579,631,763,1256,1484,1374,1206,1168,1460,1492,1064,1004,1108,866,727,789,977,944,708,723,1156,1212,1084,1084,1060,1346,1478,1088,907,1007,644,493,899,1094,1080,1018,836,777,833,727,621,1138,1048,926,1122,830,567,631,907,936,1001,1246,1364,1302,1288,1338,1206,1420,1788,1560,1274,927,633,634,932,1030,927,1052,1246,952,566,549,1274,1838,1704,932,498,854,1344,1306,919,645,763,937,1200,1296,967,725,1208,1176,1082,1196,1294,1086,675,874,1170,952,1134,1250,827,957,929,948,1116,1038,977,1132,931,523,619,939,781,743,656,1005,1260,1246,1056,1088,1194,1148,1306,1330,1510,1814,1502,859,753,724,1034,990,1110,1132,995,709,545,881,1196,1146,1156,1404,1360,1764,1440,1422,1606,1550,1230,1864,2046,1722,1322,1216,1516,1478,1272,1112,1134,1005,1528,1542,1140,839,822,1048,1362,1390,1250,1128,1046,1158,1324,1230,1318,1340,1054,899,907,968,1010,806,1088,1312,944,802,732,1256,1544,1178,1130,1172,1230,1130,1064,1232,1334,1182,1100,1368,1306,1052,1164,1366,1248,1368,1482,1118,1394,1618,1324,1028,948,990,1262,962,836,1030,1414,1338,1532,1574,1086,1023,1128,777,461,520,803,1090,1306,1358,1108,702,631,994,1554,2186,2192,1752,798,619,710,686,633,449,606,717,883,863,719,578,598,896,982,1056,1172,1080,772,792,953,772,1038,1298,1272,1098,1092,1114,796,1074,1020,1046,772,634,882,883,965,1224,1208,1184,1304,1326,1282,1570,1470,1414,995,712,887,1046,995,833,1022,1170,1074,1050,1046,1236,1162,1138,1064,1140,1050,948,1072,1001,1009,916,811,816,868,922,1036,1252,1410,1198,903,911,1050,960,932,886,822,788,939,939,1334,2088,1388,719,1019,1021,799,937,955,610,514,771,902,1066,917,1080,1382,1212,1172,1268,1144,1104,1130,1130,1246,1260,1070,1378,1466,1116,916,890,974,1250,1334,1144,973,1118,878,834,975,1278,1456,1508,1582,1076,682,2380,2834,1220,1326,1132,1294,695,866,1446,1476,1396,1410,1418,1286,1368,1362,1260,1362,1302,1226],[430,462,466,497,380,255,239,254,325,318,312,335,343,321,260,240,269,273,379,533,534,480,459,421,394,387,362,365,384,332,296,230,283,443,455,336,285,349,382,356,400,468,482,457,466,505,535,508,498,496,492,507,521,532,420,281,317,401,416,406,419,470,480,403,354,368,356,339,359,395,690,1013,931,559,532,1040,1172,1474,1094,540,377,635,1142,1088,612,379,422,355,316,261,319,334,367,281,349,420,420,346,337,359,425,753,683,548,505,608,724,688,648,638,872,965,1106,1276,1198,1050,1062,1108,651,499,518,837,759,759,887,615,451,359,310,375,382,547,789,645,608,504,387,366,363,333,336,434,454,520,454,520,663,985,781,573,472,749,1060,1132,901,996,725,545,612,772,847,965,791,554,464,369,428,550,491,407,680,1008,927,1278,778,499,453,484,898,1680,1520,1608,1442,455,375,342,421,488,639,529,883,1240,951,1318,1592,1672,1360,734,513,539,573,420,348,370,433,467,591,581,564,744,1046,1106,1012,973,966,1384,1650,1632,1364,1014,928,1036,1186,1256,1110,1126,1328,1388,1356,1268,1298,1512,1606,1536,1122,993,1344,1592,1296,863,725,691,568,630,513,688,1128,866,817,976,1204,860,803,890,566,628,754,727,661,635,653,852,1444,1116,865,816,506,342,512,628,442,373,445,412,549,661,404,418,478,433,467,454,415,332,478,1252,1520,1516,1050,815,639,825,810,971,1292,1418,1456,1368,1216,1010,653,790,733,964,896,852,731,697,1060,1188,975,1224,1634,938,720,810,747,1080,1460,1154,783,681,599,412,318,328,390,425,492,669,1090,1308,1682,1666,1460,1436,1196,823,738,760,714,675,770,644,617,671,745,963,1510,1802,1820,1866,1746,1476,1060,630,749,1124,937,1184,802,691,1012,1114,976,741,898,1096,915,1036,1030,954,1172,1017,976,768,870,1038,1118,1122,1064,1108,1114,948,1316,959,725,703,636,532,458,892,929,601,445,803,875,746,759,1134,1028,1064,1012,1094,1068,1770,2092,1604,1044,1144,1282,1202,1334,1290,1238,1176,1142,1040,1001,1040,904,557,684,1186,1382,1216,923,632,668,1160,1072,894,623,626,1080,1350,1570,1304,578,726,970,1100,1036,1076,914,1328,1202,1122,1158,1194,1344,1290,897,982,1160,1026,695,1072,1232,1142,1116,1232,1372,1348,1236,1114,802,850,1002,1170,1242,955,850,1046,950,1060,1134,1080,726,418,477,538,613,843,639,715,1007,1007,1084,810,900,1010,1021,1164,1248,1238,1116,1212,1096,916,1322,1003,686,1003,951,764,1308,1260,1068,1084,922,1050,1116,997,981,1180,1338,1582,1272,814,1572,2508,1796,1210,1532,1532,1554,1400,1086,767,700,1180,1556,1200,1040,953,647,568,744,1013,2290,2460,2190,1670,1070,871,951,1026,1116,1244,1616,1394,1394,1524,1378,1412,1208,1282,930,618,578,480,414,432,415,431,727,1098,1136,860,621,665,841,946,1032,981,863,955,1216,1456,1578,1498,1594,1542,1244,1264,1220,1264,1294,1248,1306,1420,1346,1398,1448,1360,1268,1462,1512,1680,1426,1284,1622,1606,1266,1326,1396,1576,1516,1420,1334,1484,1296,1136,1154,1282,1334,1056,597,584,1028,1106,1120,1682,1600,1264,1328,1398,1012,707,788,814,1294,1290,708,1174,1104,1036,976,1216,932,952,1242,1458,1526,1648,1752,1540,1580,1456,1240,1236,810,1096,1210,1382,1284,731,485,713,892,833,777,785,695,816,1308,1890,2164,1354,802,623,1202,1244,1070,1412,1368,1040,1244,941,674,1318,1458,1028,688,547,425,414,516,570,665,599,550,808,1162,858,764,808,1006,966,821,590,529,1056,1448,999,582,725,959,947,670,588,1064,1426,1932,1766,1746,1198,575,455,372,374,456,443,739,572,628,574,622,402,259,319,481,578,507,866,946,519,358,400,290,454,982,1374,1806,1884,1714,1228,766,797,1434,1488,1468,1378,984,852,824,801,631,532,514,528,449,651,766,610,747,1054,1192,929,781,876,1090,1040,999,999,1015,1058,1104,1306,1116,834,626,612,525,427,306,455,648,623,770,940,1004,1282,1478,1584,1450,1732,1798,1720,1604,1504,1488,1306,1280,1488,1408,1168,1066,1058,1512,1170,940,716,955,982,1023,1040,910,874,1054,863,804,942,1194,1044,1144,1212,1266,1284,1228,1348,1258,1152,1034,821,896,535,495,453,527,462,354,328,331,391,686,1023,1096,833,778,1180,1542,1120,1482,1226,2556,3196,1708,1306,1206,825,976,1246,1202,1194,1218,988,866,1294,1214,1136,1386,1418,1274,1030,1048,1034,785,856,990,1234,1582,1546,1538,1538,1848,2230,2440,3160,2964,1444,557,667,1108,1134,872,890,929,937,767,505,663,954,1023,1134,1138,1148,1108,1178,1190,959,782,860,974,980,999,902,806,974,1102,1009,1092,1028,873,1023,1148,1516,1432,1154,918,927,1152,1080,644,758,992,971,684,888,1016,706,878,1184,1240,1526,1346,1404,1506,1528,1370,1334,1454,1472,1576,1616,1244,1192,1234,1272,1434,1416,1154,1304,1622,1482,1262,1220,1924,1986,1298,1176,1078,1108,1176,1334,1418,1448,1926,1684,1654,1520,1464,1432,1544,1648,1708,1690,1662,1636,1352,1278,1392,929,739,1001,988,1770,1770,1614,1864,1788,1466,1692,1864,1684,1334,1406,1416,1434,1166,1084,1488,1582,1322,1130,910,727,1032,1238,1478,1720,1732,1770,1594,1456,1278,1288,1506,1668,1620,1448,1246,1438,1860,1422,1366,1266,1550,1482,1498,1638,1688,1532,1164,944,1094,1250,1094,1174,1370,1584,1256,1108,1112,1282,1266,999,1094,1050,1450,1708,1548,1472,1388,1174,1182,1454,1280,897,877,702,601,736,980,902,813,1086,1096,974,1048,1072,1516,1510,1522,1520,1634,1832,2604,2994,1864,666,592,741,728,832,1110,1368,1688,1710,1444,1130,739,739,1130,1168,1066,1108,1080,1386,880,1230,1422,1298,1234,1400,1460,1448,1266,1032,922,1092,1210,851,420,441,717,959,699,869,1438,1202,940,751,953,1374,1124,803,866,1292,1318,1212,1272,1520,1432,948,879,1032,1078,1290,998,1250,1290,1152,1160,1184,1220,1100,699,590,711,829,954,1152,1108,1026,1020,587,320,310,309,451,950,1462,1542,1362,1116,895,742,477,387,382,375,387,420,422,372,376,379,377,377,364,400,370,378,415,418,403,407,410,410,442,446,438,426,426,426,447,435,417,422,430,404,353,554,927,1054,1228,1234,1366,1754,1448,1284,1202,935,1232,1422,1084,657,547,525,693,977,1228,1328,1360,1306,1332,1532,1746,1506,1250,1106,1018,1170,1212,1068,1112,1248,1050,1008,1170,1058,852,1028,1286,1464,1654,1724,1432,1438,1472,1300,1238,1206,1250,1176,1152,1270,1216,1114,1144,1316,1498,1700,1794,1338,1274,1136,1062,1318,1506,1418,1198,1274,1322,1128,1188,996,1140,1100,975,1158,1346,1680,1748,1642,1354,1186,1284,1300,1190,1068,847,706,854,1122,1248,1450,1234,1066,1226,858,695,722,484,425,503,497,1060,1156,980,1240,1520,1392,1210,1366,1384,1108,1352,1306,1178,1004,965,1338,1156,836,856,1036,788,612,409,292,562,1152,1084,1224,1044,552,493,971,1150,1100,1013,780,809,727,703,588,968,736,653,1106,907,499,567,896,1144,1136,1294,1394,1456,1310,1110,1162,1516,1406,860,966,921,779,810,843,994,1038,1222,1538,1206,914,608,874,1550,1586,941,929,1614,1872,1244,616,727,890,912,1088,1007,865,824,1306,1238,1128,1120,1362,1272,571,912,1152,926,1034,899,997,1260,1156,1306,1704,1418,1134,1324,955,480,603,1064,912,671,623,709,1009,1044,763,979,899,689,811,1592,2490,2114,1146,930,788,667,919,1170,1318,1282,1250,919,612,691,861,979,1334,1786,1478,1364,1400,1408,1734,1588,1230,1174,1072,1356,1188,1326,1340,1282,1326,1230,971,1052,1310,1196,965,1032,1166,1048,1324,1242,1230,935,791,982,1230,1136,1112,1104,1230,1190,880,1050,836,662,1170,1196,687,775,900,1282,1330,1284,1190,1094,1100,1012,1080,970,1132,1144,1180,1280,1003,773,983,1196,1100,1566,2000,1300,1108,985,1238,1124,1034,1090,1186,1082,865,1020,1248,1362,1798,1852,1044,1020,900,474,342,649,987,1226,1170,1124,1160,951,1010,966,957,1682,1996,1688,709,445,565,817,974,847,705,738,883,841,1008,1086,1030,888,736,1102,1428,1328,1074,1234,1046,832,966,928,1080,1190,1126,1098,969,857,742,792,792,881,1070,1202,1166,1144,1184,1100,1324,1376,1418,1466,1536,1496,1034,639,484,625,1034,1178,1046,771,752,667,1009,1458,1314,1158,1122,1023,935,974,1098,1192,1080,980,736,652,1050,1058,1080,1256,1196,1116,995,878,1116,974,630,838,963,1136,1328,1024,943,984,641,697,1042,1142,1122,1340,1104,894,684,843,1106,1170,1056,1234,1318,1082,965,1070,948,876,997,1170,1300,1140,1174,1470,1444,1018,683,608,684,1166,1324,1040,826,752,862,1036,1288,1438,1616,1644,1296,919,1074,1612,1624,1282,1158,1174,1290,965,1034,1238,1202,1144,1190,1278,1350,1528,1396,1482,1668,1480,1346],[309,393,615,672,448,365,355,368,479,498,408,334,292,289,272,293,282,269,319,470,516,502,506,456,405,391,368,372,328,267,296,271,344,457,396,310,304,367,427,414,378,436,477,490,491,508,502,476,496,505,524,558,564,531,419,291,311,378,420,409,379,351,412,401,356,361,389,401,389,370,561,1242,1222,663,605,1028,1274,1402,787,357,377,726,1248,1134,584,464,618,533,519,433,307,321,294,249,310,347,358,304,328,355,379,724,604,559,502,879,1088,877,660,507,452,576,985,1280,1074,1036,818,971,932,687,621,838,711,847,1280,1072,633,444,373,387,361,393,334,670,1340,1494,1070,593,415,350,390,528,478,477,507,576,623,679,613,472,560,1009,1444,1272,1019,1096,675,574,440,448,417,691,923,848,604,534,428,402,424,473,1170,1526,1274,1534,938,574,592,668,1126,1792,1656,1694,1404,428,454,462,536,813,1272,1248,1070,1186,1340,1414,1464,1296,940,666,630,645,519,477,352,452,706,911,961,1044,1150,1058,923,894,1034,1148,882,1314,1910,1806,1244,1042,1082,1010,858,780,843,771,739,712,1064,1094,1124,1050,990,788,536,555,640,814,1019,967,803,742,713,948,758,797,741,714,1104,1250,1070,1028,1104,922,763,990,1352,1256,1228,1256,1226,987,1086,1206,1094,666,586,633,995,923,610,528,606,459,481,568,485,438,410,320,597,891,696,492,733,1348,1606,1610,807,515,498,742,1012,1074,1058,946,1126,1108,1238,1434,1402,1490,1005,1102,1252,1108,1013,1166,1404,1374,1344,1164,1600,995,708,832,769,985,1302,1312,949,718,691,660,760,606,565,414,535,793,1258,1202,1184,1302,1208,1044,778,607,738,666,582,600,567,505,636,589,564,908,1548,1526,1294,1636,1552,970,640,536,883,966,1092,1276,899,1074,1382,1278,1088,936,993,985,921,1272,999,951,992,805,722,492,564,848,1112,1170,1148,1054,1400,1470,1160,865,1194,876,595,434,356,650,1016,977,843,973,963,1058,681,843,1154,924,919,993,939,1164,1388,1396,1270,1028,849,907,894,1026,1134,901,891,969,852,846,790,667,692,1064,1316,1438,1336,933,1088,1040,938,1078,603,611,1206,1394,1344,1372,1268,1100,1032,1136,1138,1278,974,1134,1360,1100,978,1238,1510,1682,1346,1218,1458,1142,914,1302,1310,1090,1108,1218,1324,1372,1404,1234,1152,1206,869,1090,962,985,1100,1106,1014,1154,1318,1060,803,644,401,424,407,602,773,1130,1042,892,1024,1136,929,647,899,1172,1548,1396,1334,1588,891,882,1050,651,683,984,822,1060,1286,679,617,847,547,690,994,959,1018,1112,1162,1402,1230,842,1034,1336,1180,1170,1318,1282,1334,1376,1280,1134,1258,1506,1396,1142,965,679,749,473,538,1146,1616,1954,2202,2158,1740,1194,863,1012,960,1338,2478,1434,1322,1374,1470,1602,1400,1484,1588,1514,1444,1406,1426,1130,955,940,940,793,664,554,739,851,826,1180,1232,993,1068,1146,1174,1232,1378,1514,1450,1278,1212,1122,1144,1198,1226,1208,1284,1408,1302,1410,1448,1492,1710,1670,1584,1620,1532,1578,1854,1792,1308,1216,1352,1432,1348,1276,1170,1222,1194,1294,1554,1644,1550,1408,1176,825,852,933,1084,1420,1288,1108,1186,1350,1080,782,794,839,1248,1272,701,1162,1142,931,1128,1034,990,1294,1226,1354,1606,1808,1802,1528,1520,1682,1368,1284,785,771,979,1128,1003,725,533,614,800,804,736,724,644,846,1224,1332,1108,808,458,648,1378,1482,1334,1458,1172,713,1200,1262,875,1052,1098,1028,778,613,602,462,656,882,828,946,1024,888,1184,838,1076,753,414,448,480,455,607,907,995,745,611,628,808,968,728,601,1002,1310,1552,1576,1430,1088,616,484,443,556,579,501,823,766,588,407,397,373,329,324,653,1112,952,843,610,356,383,459,348,321,398,454,760,1092,1040,997,860,618,1698,1940,2396,1612,1106,818,564,474,532,517,483,453,383,433,540,1036,557,531,507,390,409,482,687,809,782,769,774,1030,1148,1344,1316,1244,1350,1534,1198,598,352,393,405,402,546,484,505,709,748,647,671,995,1388,1382,1102,1078,1282,1432,1544,1670,1714,1750,1812,1768,1668,1114,816,553,706,974,921,972,883,780,1040,1004,933,825,938,886,929,1284,1282,1070,1120,976,960,1206,1272,1334,1142,568,382,388,465,546,476,357,434,463,818,1202,1296,1016,917,1360,1432,1234,1208,1044,2358,2366,1224,1356,1300,947,1220,1198,1082,1090,993,983,983,1306,1056,918,982,927,1302,1324,1230,1034,924,888,857,835,1288,1626,1246,1021,1490,1930,2352,2710,2668,1910,1458,1032,1188,1118,1068,1154,1094,841,466,407,500,632,1001,1296,1242,1394,1142,1124,1016,761,769,889,918,838,876,727,989,1262,1092,1096,1044,1178,1180,1110,1296,1346,1406,1754,1394,996,878,957,834,1032,947,796,576,566,462,886,1160,1484,1522,1296,1382,1420,1410,1386,1430,1382,1232,993,1114,1370,1382,1336,1300,1234,1260,1170,937,1362,1574,1162,1050,1028,1536,1404,1072,1126,1058,1042,1346,1456,1250,1250,1550,1482,1420,1198,979,882,872,953,1186,1268,1414,1538,1550,1682,1634,1486,1394,1296,1342,1786,1606,1582,2126,2288,1650,1748,1582,1276,1040,1078,1244,1410,1300,1268,1434,1382,1274,1130,933,832,1048,1156,1364,1408,1646,1600,1660,1666,1406,1386,1758,1880,1790,1816,1732,1308,1804,1418,1258,1194,1662,1676,1482,1456,1714,1600,1098,852,968,1058,1196,1210,1136,1372,1390,1450,1454,1484,1210,973,1190,1450,1726,1560,1488,1490,1220,1160,1162,1216,1036,844,850,991,1030,906,987,1060,974,951,1001,1082,1332,1538,1534,1460,1494,1520,1450,1434,1516,2098,1710,1058,722,751,1088,1090,839,836,1278,1750,1802,1368,825,829,1058,1154,1238,1134,1320,1432,1392,1456,1436,1306,1496,1920,1874,1780,1212,996,1212,1174,1236,774,378,615,1028,1046,684,915,1734,1532,1154,910,741,1312,1442,951,949,1330,1416,1236,1180,1700,1626,870,1100,1108,1178,1362,1074,1222,1154,1360,1612,1466,1440,1238,586,560,667,761,636,875,1048,1030,947,611,406,490,621,745,1282,1506,1192,724,458,392,372,375,406,399,392,404,408,444,404,377,313,331,327,321,397,400,412,411,375,367,397,406,401,446,428,414,415,418,410,435,422,422,443,430,437,412,402,395,435,557,600,965,1370,1506,1410,1236,1220,1250,1200,1046,598,572,540,660,981,1274,1202,1224,1344,1620,1826,1666,1498,1472,1250,927,965,1176,1236,1112,919,998,1058,1120,1332,1434,1466,1748,1686,1674,1858,1672,1456,1456,1356,1410,1504,1394,1312,1416,1532,1614,1652,1544,1438,1260,1066,1076,1206,1236,1146,1108,1160,1138,1174,1124,1052,970,1040,1208,1094,1232,1242,1212,1396,1508,1694,1832,1608,1688,1834,1688,1500,1288,1616,1232,800,783,1013,1240,1446,1300,938,952,661,838,904,828,551,562,669,998,1150,1158,1230,1218,1074,1046,879,1022,1084,1136,783,788,683,771,927,1001,846,562,576,587,691,579,493,542,885,1168,1036,731,573,495,714,899,1172,1210,895,698,742,968,1238,1534,1062,895,1430,1126,591,623,773,1158,1336,1512,1530,1582,1362,1272,1074,1206,1152,796,555,628,1042,1260,783,818,824,865,957,1062,1154,890,734,1188,1068,727,1186,1788,1782,1412,798,997,1248,993,919,745,711,743,776,996,955,743,1356,1390,977,1152,890,843,1118,1026,1130,1256,1092,1184,1512,1478,1448,1366,1028,709,753,1324,1292,865,689,807,1012,935,880,713,466,795,1122,1908,2490,1634,1118,1003,849,863,1026,1218,993,797,1046,1080,937,775,985,1052,1244,1490,1388,1074,1168,1232,1126,1068,747,885,1020,1138,1214,1394,1476,1274,1202,1186,1030,948,935,725,629,868,995,1384,1368,942,1094,1268,1130,1060,1186,1230,1052,710,1056,1028,891,863,540,769,1032,810,501,636,966,1220,1278,1296,1100,990,809,930,773,682,995,1086,1204,1336,966,731,863,827,1038,1568,1846,1330,968,941,1122,1212,1222,1266,1214,1130,1206,1164,1106,1212,1356,1414,850,670,686,504,386,849,1328,1218,965,1086,1120,1138,1150,758,481,749,1238,1110,609,562,604,654,821,891,818,843,772,675,736,809,586,456,719,1182,1392,1362,1600,1698,1664,868,794,849,900,1196,1422,1422,1272,1302,1450,1350,1260,840,865,1054,1030,1144,1166,962,1152,1362,1392,1262,1244,1278,1126,913,642,810,1322,1582,1338,945,723,879,1110,1102,1208,1368,1224,1050,1172,1038,1022,1040,797,821,680,789,891,841,1106,1234,1168,1372,1296,1164,1194,781,771,899,995,1066,1005,789,677,728,758,903,1032,1144,1208,1266,966,868,1021,1116,1200,1192,1050,1220,1424,1164,883,916,924,1132,1142,1242,1428,1460,1242,1176,1430,940,514,480,607,996,1152,1216,1078,1096,1318,1470,1560,1496,1348,1140,791,879,1450,1904,1612,1158,968,1120,1396,1208,1156,1070,1046,1166,1310,1412,1332,1442,1366,1466,1362,1178,1064],[252,256,458,591,547,560,592,643,840,908,496,308,279,289,336,363,337,350,296,392,500,491,466,433,403,367,335,368,259,326,399,389,408,426,358,298,354,407,472,453,378,399,453,482,490,527,577,540,500,524,561,583,549,458,344,274,315,395,448,408,351,354,390,385,373,395,452,438,491,434,428,886,734,485,699,875,1168,1230,701,376,426,687,801,1004,1122,1202,1384,1140,832,799,603,351,264,274,319,306,312,282,300,333,481,615,530,561,617,834,1112,832,567,412,436,469,598,808,949,1244,1010,904,1110,893,790,949,876,984,1382,1328,922,644,457,355,324,305,276,673,1436,1804,1026,496,362,387,455,509,422,448,466,526,559,576,522,517,589,910,1314,1084,1015,1166,998,651,429,379,447,1002,1434,1240,1152,1346,583,483,438,465,1434,1670,1450,1522,1104,595,586,555,967,1688,1450,1476,1066,527,578,623,739,781,1026,1172,998,1250,1340,1232,1140,1132,1298,1052,671,730,497,487,611,476,399,963,1676,1630,1190,1084,795,728,830,1026,623,1154,1842,2104,1894,1416,1005,952,669,685,648,513,718,843,1108,1180,1322,860,703,694,514,493,511,1022,1300,1268,1042,838,932,1088,1062,939,755,971,1242,1220,1054,1176,1172,781,636,916,1374,1272,1296,1118,1086,1170,900,1180,1338,951,741,921,983,1005,989,839,615,502,547,540,436,485,604,764,893,874,997,726,1188,1466,1666,1370,619,464,446,754,1034,885,760,511,811,1036,1190,1334,1324,1204,855,848,893,926,971,1005,1278,1316,1250,901,1132,803,677,818,809,772,1052,1198,1080,1276,1444,1542,1560,839,743,487,622,1014,1152,1144,1018,954,1098,1196,861,652,741,619,539,546,513,502,505,450,382,700,1352,1400,1282,1224,974,571,579,668,956,1094,1328,1302,1234,1460,1484,1404,1430,1360,1324,1030,1114,1224,1068,1002,943,697,526,514,412,711,1082,1060,1150,1086,1346,1420,871,1382,2046,1416,544,376,328,354,670,879,640,1007,1376,1522,1036,901,1212,1114,982,762,467,331,495,725,899,847,732,861,764,788,633,450,603,939,992,790,744,1044,627,925,1208,1368,1116,992,955,574,575,610,494,510,659,799,1152,1210,1270,1058,1007,1180,1324,1410,1186,1015,1054,810,860,1054,1172,1154,1154,1074,1260,1060,1028,1048,883,979,1082,1066,1180,1220,1334,1302,1248,1212,788,709,598,672,918,1098,1022,675,745,648,854,745,562,511,522,664,781,975,956,794,899,878,624,622,810,1108,1506,1416,1310,1144,617,818,1070,731,760,937,856,948,984,507,615,922,612,512,798,843,899,1042,1232,1524,1160,1044,1122,1290,1224,1126,1242,1132,1158,1432,1418,1444,1584,1548,1176,983,919,794,964,675,688,1250,1554,1452,1470,1576,1768,1640,1184,910,663,897,1302,1088,1224,1346,1310,1188,1160,1416,1688,1498,1826,1972,1606,1210,1278,1494,1142,683,533,498,772,977,937,1314,1216,1142,1252,1184,1056,1088,1134,1188,1306,1514,1450,1250,1274,1252,1320,1296,1252,1620,1476,1314,1262,1230,1494,1560,1600,1748,1566,1504,1542,1598,1272,1182,1228,1230,1242,1348,1468,1484,1454,1516,1664,1708,1508,1422,1432,1178,1013,1068,1114,1160,1226,1088,1068,1322,1076,754,788,806,1282,1124,847,1034,1186,918,1110,1258,1524,1648,1232,1342,1496,1490,1450,1476,1382,1698,1654,1416,807,522,645,588,505,559,541,657,674,725,899,852,582,872,1190,1064,950,826,510,833,1322,1374,1438,1268,1023,937,1230,1578,1186,1252,1434,1222,893,677,755,542,505,610,504,742,1444,999,815,1144,1400,906,478,477,438,485,628,622,741,667,645,603,644,729,645,618,944,1192,1250,1492,1448,1234,664,759,947,999,863,755,608,720,973,656,415,375,470,569,815,1186,1090,486,338,285,285,288,295,304,342,370,361,300,370,445,473,746,1652,2122,1658,850,742,707,694,645,429,432,486,423,469,581,1204,1760,1440,1220,1036,915,549,355,392,382,532,835,564,864,1278,1098,1094,1388,1784,1834,1082,508,415,362,337,350,451,448,456,656,626,566,613,673,1042,1192,783,451,642,876,1198,1436,1462,1636,1676,1758,1724,1132,619,632,758,913,1140,1200,1016,1060,1066,1356,1640,1348,973,772,658,882,1252,1372,1342,1186,1324,1294,1272,1256,835,593,445,583,1262,1584,1144,796,583,916,1548,1638,1198,1190,1102,911,1090,1256,1106,1042,1134,1015,1166,1644,1360,1262,1410,1224,1226,1188,1026,1010,1106,1180,1056,1086,856,820,1232,1440,1434,1256,1102,1048,954,948,1350,1300,695,937,1400,1498,1840,2076,2430,2570,1726,1254,1290,1102,1023,1054,935,733,512,385,723,871,1108,1372,1194,1004,684,708,751,673,850,728,787,937,992,771,1116,1152,1003,894,910,1184,1236,1404,1610,1084,972,1300,1512,1388,1036,1250,1314,1108,849,924,695,539,674,1023,1322,1568,1500,1300,1022,990,1328,1334,1302,1310,1013,816,1034,1400,1422,1220,1344,1260,1108,886,819,1054,1454,1188,718,736,1024,949,928,1032,1090,1404,1786,1638,1544,1182,1116,1210,1126,1026,828,706,695,519,656,736,1058,1090,1188,1452,1482,1606,1664,1592,1632,1534,1574,1736,1968,1998,1740,1876,1968,1826,1208,984,1246,1372,1346,1350,1252,1156,1118,1222,1230,1350,1068,924,847,954,1440,1364,1326,1564,1518,1762,2042,1982,1960,1952,1882,1510,1424,1198,1114,1194,1272,1328,1312,1354,1700,1538,1086,897,938,932,1348,1344,985,1084,1274,1372,1350,1316,1272,1174,1236,1516,1530,1476,1302,1394,1256,1120,890,942,1021,1056,1176,1178,1106,1038,1036,1202,1232,1082,874,943,1362,1648,1412,1198,1498,1498,1246,1252,934,1088,1192,1080,850,745,1016,1196,1194,1178,1098,1396,1556,1356,840,901,1250,1350,1476,1488,1456,1396,1508,1516,1250,940,1818,2332,1686,1390,1046,965,1158,1184,1040,573,390,514,590,487,615,911,1686,1632,1402,1186,919,1242,1416,1242,1350,1220,957,1136,1584,1560,1058,548,628,843,1086,941,824,1009,1086,1340,1344,1268,1032,1007,611,949,1168,1154,1190,1154,1166,1262,1092,528,460,576,868,1302,1474,1011,603,417,379,515,587,495,430,379,388,429,570,886,706,469,338,345,289,339,427,423,409,379,332,349,405,416,415,419,430,426,422,412,388,390,387,395,430,423,410,401,412,419,438,355,305,410,792,1272,1388,1222,1302,990,751,815,604,582,533,597,791,837,965,1238,1222,1366,1456,1344,1388,1486,1262,1082,1001,1100,1054,1007,949,1070,1050,1282,2114,2036,1332,1396,1482,1486,1704,1820,1716,1728,1636,1526,1694,1806,1736,1576,1542,1498,1304,1128,1136,1050,980,1132,1098,1001,1021,933,970,1100,1090,996,955,968,1082,1020,976,1376,1452,1348,1456,1516,1558,1512,1100,1282,1714,1694,1406,1512,1840,1302,698,471,738,1136,1144,1060,969,840,828,946,940,684,469,868,1142,858,556,636,934,1044,1018,987,819,910,741,741,695,562,572,713,615,691,557,316,426,583,743,708,757,885,896,1088,1198,1188,1082,878,1074,1098,1178,1326,1146,997,1008,1114,1590,1530,1011,1028,1298,1126,976,882,642,1256,1348,1268,1144,862,976,937,971,1162,1008,999,895,1030,1088,1328,747,776,897,915,915,1102,1130,796,912,1284,1130,924,1128,1566,1568,1248,1128,1110,886,593,637,938,1164,945,556,612,791,874,1044,1074,1164,1200,1078,955,1058,1052,937,878,857,1106,1324,1350,1532,1222,970,1023,1032,1338,1332,877,794,988,995,1116,1034,765,620,709,907,1182,1032,1038,1260,987,697,771,1266,1542,1038,938,1170,1202,770,745,1170,1186,1102,1164,1190,1152,1242,894,728,1042,774,592,932,1302,1542,1542,1166,1030,947,1068,1252,810,688,538,379,489,789,1360,1278,1190,1138,1150,979,1122,1340,1282,1130,1118,986,896,1152,808,475,572,910,1042,836,554,622,1004,1268,1262,1122,797,720,883,810,887,938,880,1032,1002,877,888,1142,1140,1078,1276,1262,1350,1072,987,1176,1394,1340,1350,1310,1015,1192,1260,1282,893,871,869,697,666,636,620,683,905,1194,1048,1001,1234,1120,1248,1044,669,565,418,489,457,568,798,730,549,869,828,493,562,549,525,585,558,459,580,858,1126,1262,1206,1268,1104,1186,669,753,772,818,1126,1410,1410,1390,1300,1100,1246,1510,770,775,1108,1120,1180,1013,839,1084,1208,1182,1118,1202,1316,1160,855,966,1116,1398,1656,1540,960,752,949,1078,1066,1070,1296,1230,1007,993,798,763,788,728,725,661,815,888,631,1005,1338,1240,1200,1248,1224,1166,977,1046,1034,1036,1154,1019,949,941,1130,1186,1376,1240,1170,1142,1052,777,642,679,767,1092,1318,1192,1414,1262,1074,954,918,908,1036,1288,1492,1512,1498,1246,1116,1638,1028,659,631,1062,1390,1610,1636,1438,1450,1444,1410,1278,1136,1082,1006,789,861,832,1019,1216,1202,945,941,1032,1194,1192,878,735,878,1214,1134,1244,1266,1258,1152,899,827,971],[359,309,367,759,1176,1048,787,908,1013,1284,680,349,339,345,348,348,442,413,283,333,405,401,392,351,292,275,307,299,321,481,546,498,390,344,361,326,368,429,464,415,340,356,417,449,444,543,637,568,514,507,571,587,544,395,251,258,314,398,428,404,378,334,347,427,457,416,460,434,472,455,416,576,543,550,805,940,1100,969,784,529,489,1019,1048,902,1146,1220,1512,1220,738,755,581,416,324,285,350,370,370,344,331,301,522,600,451,583,725,828,1096,573,446,412,452,484,482,497,562,827,803,650,664,555,632,684,716,894,1228,1118,1062,1176,818,433,387,325,324,431,650,915,661,611,633,578,642,612,475,459,623,919,995,1040,947,1026,943,1082,1348,1017,931,976,948,724,445,318,483,1084,1126,791,849,1420,653,432,388,433,1238,1680,1312,1184,1146,739,790,786,814,938,1050,1126,1056,1058,990,709,614,644,665,642,841,1294,1308,1278,1198,1007,902,716,458,850,753,516,839,1366,3062,4340,3946,1926,1314,1284,1244,833,871,796,395,638,1314,1876,1942,1444,1021,1032,587,531,583,785,1032,1028,1058,1360,1278,946,738,558,768,770,722,1194,1328,1128,957,1080,1060,946,1018,996,922,1338,1426,1266,1010,1108,1234,1134,971,1114,1378,1374,1298,1046,1160,1226,982,1146,1294,1266,1120,1070,1186,1230,1116,820,485,493,547,525,420,497,664,1454,1390,1050,700,759,1138,1242,1622,1242,450,460,485,686,747,679,714,886,884,1124,1152,1250,1326,901,740,999,1128,1050,608,656,933,834,937,1120,955,750,737,901,916,661,943,914,999,1422,1566,1650,1378,788,667,478,558,831,1112,1288,1188,1376,1318,1234,818,652,642,672,604,491,491,437,473,534,455,788,1294,765,954,1184,950,785,1007,1032,1016,1128,1312,1342,1288,1346,1284,1148,866,1174,1356,1196,1410,1540,1456,1264,1082,813,663,869,799,1298,1384,1200,1282,1206,1168,749,878,1698,2136,1538,563,375,420,460,535,709,932,1202,1556,1598,1238,1268,1272,1120,840,419,308,303,333,412,624,863,818,880,1046,935,607,556,916,1162,1186,899,943,756,550,923,1158,1256,947,602,485,583,722,850,892,623,701,868,1010,1018,831,839,1018,1320,1372,1404,1494,1452,1112,1024,1046,1220,905,837,892,1064,1166,1136,1160,959,662,611,651,761,947,1262,1212,1200,1318,1266,782,526,494,444,630,1042,1019,529,917,828,512,600,589,674,586,596,849,1068,987,701,527,583,640,618,621,799,1212,1372,1188,1074,872,798,1170,864,927,779,828,768,920,694,796,1024,771,661,918,916,930,963,1120,1390,1030,1056,1236,1242,1322,1070,1172,1448,1412,1354,1354,1428,1542,1476,1104,882,902,969,1104,899,869,1118,1228,1332,1346,1408,1428,1236,1064,725,439,424,784,1036,1282,1446,1290,1282,1446,1556,1664,1164,1224,1334,1082,976,1152,1498,1428,1005,678,594,625,1208,1046,1188,1182,1126,1280,1180,822,875,1128,1368,1466,1614,1552,1498,1956,1694,1600,1346,1408,1590,1418,1306,1256,993,859,1256,1556,1704,1470,1654,1582,1500,1446,1294,1154,1134,1248,1432,1346,1332,1466,1440,1540,1408,1344,1424,1526,1510,1356,1062,871,907,1094,1188,1172,1232,987,721,804,735,1384,1012,880,1060,1108,1034,1068,1736,2964,3030,1594,1188,1322,1382,1260,1244,1106,1190,1504,1552,1032,777,884,572,330,575,743,902,780,894,1074,843,545,781,1092,1110,1148,1176,1003,991,1194,1198,1422,1334,1254,1068,1166,1512,1274,1282,1358,892,635,776,854,946,487,365,356,356,648,526,934,1306,1012,828,648,570,507,516,645,619,714,797,713,565,565,550,515,571,878,1244,1258,1442,1218,1138,630,658,698,568,496,682,617,708,925,644,442,313,358,896,1112,1098,818,538,380,329,348,331,275,279,316,337,303,267,283,316,372,866,1472,1738,1094,598,739,572,543,547,341,398,502,653,1030,1110,1550,1542,1174,1036,1434,1534,1198,679,447,413,626,1382,1020,1476,2004,1952,1706,1570,1634,1294,1042,902,686,580,393,374,392,527,799,1092,1064,1106,1208,1306,1432,1422,1190,877,592,498,534,669,786,940,800,735,1015,1050,1042,922,614,517,669,699,893,1098,1056,1436,1524,1342,1266,903,600,911,1280,1528,1638,1578,1504,1272,994,941,1016,943,752,717,1028,1256,1524,1358,843,1110,1534,1678,1256,1372,1132,622,718,916,1062,1150,1284,1454,1290,1220,870,1200,1424,1376,1406,1322,1194,1142,1066,985,919,784,658,870,1130,1444,1594,1484,1422,1196,968,1252,1488,877,813,1452,1676,1308,1168,1562,1738,1738,1354,1086,973,984,1086,1064,802,693,852,604,1004,1258,1252,1264,1344,1184,702,734,922,695,783,739,802,1184,1100,926,1100,1100,915,600,776,1128,1090,1278,1360,946,808,825,1520,1630,1514,1448,1412,1130,847,978,862,471,663,1228,1406,1380,1278,1286,1064,1308,1268,1054,1218,1104,937,1148,1328,1366,1384,1196,1468,944,703,742,883,1120,1336,1170,819,881,1148,887,753,852,817,904,1168,1378,1624,1296,1126,1154,1142,1042,948,852,897,852,1054,972,918,847,918,1094,1088,1194,1280,1350,1342,1582,1590,1782,1826,1838,1838,1948,1866,1636,1128,999,1368,1416,1174,1156,1072,1108,1114,1146,1164,1030,738,874,839,1007,1366,1350,1484,1858,1816,1976,1920,1920,1830,1680,1522,1568,1546,1306,1144,1110,1066,1066,1130,1080,1358,1290,1126,1054,932,977,1246,1160,1064,1100,897,965,1224,1544,1252,1220,1196,877,925,1216,1078,937,1108,1070,828,1064,1174,1540,1524,1122,1144,1108,1098,1290,1352,962,782,1194,1500,1492,1202,1154,1480,1454,1416,1294,1020,920,901,1052,1013,737,883,1044,1316,1242,1342,1470,1404,1316,1166,931,1164,1312,1528,1656,1142,939,1176,1196,1166,888,1158,1598,1284,963,738,875,1166,1124,680,393,437,302,340,439,708,991,1592,1536,1260,821,814,1296,1502,1470,1418,1008,904,1074,1424,976,565,519,554,839,899,631,475,714,761,1432,1632,998,601,628,790,1318,1120,830,736,877,1238,1230,1154,569,612,932,1222,1102,766,505,491,551,623,884,1032,756,451,401,420,377,502,824,797,533,419,397,354,382,434,434,397,371,332,357,411,412,418,433,442,440,444,417,368,366,375,377,413,414,406,401,397,415,419,402,359,297,349,756,1350,1398,1058,720,600,593,557,542,544,688,997,1128,1160,1190,1188,1402,1444,1240,1266,1354,1114,1144,1102,932,1100,1206,1138,1370,1200,1062,1450,1612,1418,1370,1210,1362,1596,1742,1536,1488,1674,1748,1816,1826,1682,1478,1138,1023,1162,1178,1070,1044,1021,959,868,951,1114,966,1082,1172,1274,1292,1007,1094,1260,1026,1124,1490,1412,1384,1384,1406,1416,1266,1138,996,1218,1456,1182,1316,1676,1450,863,705,854,1290,1500,1120,946,999,736,749,754,514,425,708,1102,962,792,856,1296,1064,993,941,925,797,703,877,852,797,1080,1038,637,608,522,691,938,799,598,652,893,911,783,879,1260,1408,1228,1100,1356,1096,1250,1554,1256,1288,1072,850,1236,1234,871,867,944,814,836,932,941,996,989,1144,971,1066,1514,1406,1122,1230,1256,1308,1268,1238,813,1256,861,958,1094,1070,1160,1182,1154,1030,1130,1154,1170,1076,1312,1400,955,692,1017,865,447,525,756,915,897,1156,1210,650,880,1168,1320,1010,1126,1306,1182,1118,1064,962,674,506,571,603,742,1060,1436,1260,1034,887,747,766,865,1092,1120,985,1038,979,722,704,748,563,807,1066,970,1003,1026,951,755,457,828,1444,1262,1882,1438,871,619,645,1076,1220,1136,1128,1228,1300,1220,1010,616,931,1038,1062,1392,1422,1458,1488,1362,1274,730,860,1300,1054,669,525,565,886,973,1088,1160,1240,1400,1118,647,1020,1288,1246,1178,1340,766,695,1002,947,948,952,1060,1334,1048,441,493,891,1090,1284,1094,822,810,960,863,838,857,968,1192,1007,1144,1020,899,943,978,1004,1106,1204,1158,1104,1302,1378,1218,1188,1178,1122,1030,1250,977,636,781,1160,1148,802,656,629,759,675,777,1070,1464,1250,1156,1214,1007,1026,913,594,413,436,716,807,670,487,642,622,363,480,521,505,579,564,510,603,839,1054,1128,1008,859,761,743,825,913,868,976,1294,1268,1216,1286,1254,1202,1190,881,642,963,1160,1021,1102,1096,1390,1664,1128,1096,1134,1136,1028,924,722,968,1020,1358,1920,1834,1186,942,847,1030,742,582,772,714,648,864,758,531,585,832,1064,980,866,848,778,1170,1096,1008,1008,965,1094,1094,954,1034,1112,1120,1324,1422,1406,1050,981,894,1052,1348,1332,933,830,850,836,841,863,1186,1438,982,785,788,845,749,793,905,985,1162,1238,1284,1140,1216,1304,1636,1302,1021,1096,1476,1704,1852,1682,1478,1466,1504,1170,876,1170,1496,1092,865,1016,1024,1152,1174,1134,1252,1172,969,1342,1344,1042,844,961,1104,980,1130,1144,1234,1040,693,887,1134],[430,381,401,854,1432,1204,739,1000,780,838,493,286,332,380,325,283,310,336,292,234,343,364,357,297,263,211,203,254,421,536,515,488,374,272,357,409,351,445,466,458,368,332,415,455,476,513,540,532,542,559,585,577,529,389,284,302,370,413,419,547,616,389,369,472,472,412,445,454,444,414,437,491,550,828,1288,1396,1056,624,670,718,685,1122,980,691,799,1170,1242,578,493,675,548,426,328,335,408,374,326,371,434,486,612,561,433,577,754,767,856,633,468,399,357,460,498,433,519,836,1076,747,616,516,434,360,364,672,971,834,1012,1224,913,588,425,325,301,320,376,410,744,1246,1232,875,910,875,645,520,791,1188,1238,1476,1266,1198,877,871,995,874,1010,793,446,551,397,319,390,583,653,738,847,1086,593,365,444,632,979,1136,1136,1256,1284,1028,969,850,869,687,659,651,1166,1764,1518,907,658,778,630,747,957,1080,1098,964,993,835,849,697,669,1042,938,530,543,1023,3946,5352,2786,1132,1256,979,927,872,954,685,428,731,1082,1038,896,1014,1002,929,602,836,1017,894,858,860,1042,1302,1050,932,531,528,929,776,714,1028,833,581,735,858,767,985,1094,960,1000,1188,1426,1260,1034,1242,1218,1186,1174,1234,1298,1366,1438,1072,1048,926,1003,1274,1148,1234,1246,1084,971,872,896,591,440,477,543,567,464,592,909,1488,1148,998,1096,1074,886,604,895,708,428,494,500,669,852,783,774,775,641,739,783,1050,1238,832,806,989,879,984,778,651,811,1148,1740,1626,908,971,1144,1102,1184,705,673,722,827,829,662,681,681,724,702,408,322,562,843,1006,1106,1406,1310,1106,844,694,722,785,602,451,420,422,439,495,515,1160,1054,483,685,834,672,822,1020,1116,1276,1216,1056,1126,1062,1202,1314,1180,838,999,1252,1282,1362,1480,1400,1102,1001,893,938,1200,746,1220,1670,1434,1216,846,655,775,1404,2036,2096,1598,655,409,398,570,476,600,959,1212,1400,1178,1046,1206,942,929,825,432,358,323,426,679,918,846,668,626,1058,1444,1070,918,1176,1134,1128,995,1001,751,576,778,1050,1026,922,922,816,1234,1282,1300,1386,1148,1268,1346,1316,1310,1262,1020,978,1042,1060,1268,1134,1012,1003,1088,1172,1204,1198,1296,1334,1640,1632,1316,1214,1440,1138,608,738,921,1042,1128,978,1021,1130,1102,923,723,602,378,532,1108,875,548,1504,1208,702,1108,988,708,602,637,651,736,849,664,431,692,946,674,521,619,919,1116,1086,1148,1022,851,1010,965,1001,655,614,700,913,1028,985,840,825,913,1082,852,1030,793,998,1412,1174,1136,1274,1428,1218,802,1158,1660,1536,1290,1218,1146,1440,1250,1122,1017,1036,1078,880,770,1002,1140,1130,1264,1516,1562,1132,1312,1208,555,383,392,656,965,1088,1098,1216,1366,1664,1556,1638,1334,1028,805,749,1090,1476,1588,1380,818,593,673,697,1168,1026,1026,1210,1166,1260,1146,976,1078,1136,1446,1302,1416,1606,1876,2776,2248,1738,1460,1532,1428,1248,1312,1184,796,876,1412,1614,1614,1462,1508,1444,1396,1230,1032,1178,1258,1350,1426,1288,1540,1522,1492,1446,1244,1202,1274,1396,1470,1338,1064,884,861,1020,1184,1248,1446,1094,796,811,762,1334,1068,841,1152,963,1040,1160,1514,2016,1606,854,805,1198,1300,1276,1302,1001,980,1460,1578,1148,1046,1050,518,314,536,758,849,892,841,711,778,890,692,709,891,1148,1098,1050,1318,1540,1766,1460,1266,1322,1168,1218,1596,1676,1182,938,902,747,692,599,714,398,219,310,379,432,844,1296,991,683,1009,909,587,499,508,562,547,612,717,598,509,551,542,478,485,740,1336,1410,1338,1044,814,507,401,490,548,476,468,650,1018,703,497,364,339,397,856,1158,1150,650,318,418,432,385,353,305,314,332,275,254,261,255,260,474,821,892,913,695,529,646,481,467,401,317,380,555,709,953,1372,1546,1482,1338,1382,1296,1442,1560,1246,706,464,425,748,993,1778,2402,2292,2266,2578,2144,1362,1044,891,984,894,752,558,342,637,1252,1106,634,597,846,894,902,940,1124,1344,1106,602,404,348,497,711,434,439,488,524,732,1196,1190,955,912,831,847,1064,1356,1604,1720,1912,1796,963,550,1140,1246,1172,1426,1636,1626,1516,1116,896,1116,969,895,676,805,1626,1606,1140,813,659,895,1098,1164,1240,855,525,437,653,881,1050,1134,1270,1132,805,559,654,1012,1094,1182,1182,1184,1252,1142,960,904,624,474,818,1166,1426,1302,1138,1332,1226,844,1230,1272,646,1294,1676,2012,1842,1368,1116,1002,915,864,925,879,901,1140,1116,606,717,905,736,742,927,1092,1080,1142,1066,608,736,1170,836,713,789,957,1222,1126,1116,1122,1070,988,838,979,933,1388,1306,644,1122,1032,949,1040,1490,1602,1456,1238,850,924,1320,1180,1048,1122,1312,1054,874,1198,1484,1450,1548,1350,1454,1246,835,682,876,985,1130,1346,1176,1138,937,830,1050,1054,936,1012,866,794,941,980,853,752,738,570,593,672,818,987,1026,1040,1040,959,974,1007,837,718,680,890,1084,882,804,901,844,927,1250,1816,1870,1036,1434,1076,1086,1404,1484,1588,1758,1722,1666,1476,1460,1642,1476,1138,1148,1168,1048,1262,1202,959,624,666,886,924,1252,1542,1602,1852,2126,1960,1822,1790,1812,1696,1462,1338,1370,1246,1096,1116,1066,1096,1038,1008,728,948,1294,1224,1242,1110,1072,1404,1450,1338,1186,890,951,1164,1422,1044,892,831,615,919,1124,793,580,863,1282,1208,1340,1742,1618,1312,1160,1166,1038,1060,1350,1422,1140,1284,1534,1390,1252,1230,1082,1182,1328,1232,1234,1366,1218,979,1102,1210,1126,1102,692,758,903,2002,1706,1308,1304,1282,1186,1340,1382,1464,1528,1036,960,1110,1108,1278,1180,781,532,838,1134,906,696,617,643,346,418,426,500,550,617,794,803,1242,1462,809,573,953,1170,1716,1716,1636,1476,1174,984,1258,962,758,801,939,1156,1078,837,579,524,617,1302,1168,887,999,917,576,383,369,400,408,858,1358,1278,965,688,1020,1218,944,542,461,535,551,523,597,895,1052,918,540,431,363,279,314,401,396,419,473,440,418,447,456,427,392,385,395,411,440,438,447,459,441,456,437,415,387,385,386,387,397,418,414,397,386,396,400,387,386,368,349,435,775,1346,1350,854,536,518,577,601,833,1100,1228,1474,1628,1270,1440,1638,1696,1402,1240,1168,1220,1348,1162,969,988,1094,1098,1370,1172,972,1260,1620,1746,1494,1490,1664,1788,1912,1776,1472,1282,1312,1420,1394,1324,1198,1056,1044,1174,1174,1044,1058,951,922,954,1026,1180,1050,1128,1336,1496,1254,1128,1254,1274,1112,1210,1408,1274,1160,1166,1028,1296,1086,998,977,1050,1092,1000,1108,1392,1126,904,1166,1412,1394,1236,975,1124,1030,849,783,413,443,454,483,649,914,1112,1026,1170,896,836,866,937,911,718,676,684,974,1404,1218,872,856,662,843,1013,967,792,835,1308,2496,2338,1450,1552,1228,716,774,1092,977,1128,1220,1108,1282,1036,749,1344,1454,775,823,829,501,414,743,1172,1152,1156,958,976,1386,1582,1582,1294,1312,1262,1086,1126,1206,879,875,932,1300,1370,1306,1268,1088,1340,1366,1168,973,997,1108,1328,1030,646,694,874,982,843,823,818,859,771,1066,1594,1192,1284,1338,1312,1072,860,924,970,1088,1072,809,750,857,833,781,824,937,865,954,1018,837,962,1548,1440,1332,988,1021,1240,827,695,937,860,550,509,750,1170,1134,963,523,621,431,422,625,733,1574,1090,538,488,722,1188,1292,1228,984,927,1156,1228,1368,1176,1160,1120,1394,1806,1572,1572,1482,1250,1252,921,872,1100,927,836,924,1136,1176,1070,1230,1200,1172,1246,1003,908,1306,1148,1084,1136,1130,956,818,700,868,1122,963,836,1122,937,616,801,1009,1023,1142,1510,1440,1026,1156,1196,1066,1264,1450,1302,1001,1248,1062,872,1248,1268,1166,1228,1306,1262,1190,1332,1186,1142,1350,1276,1138,1034,1019,612,646,956,1208,1050,706,670,637,692,567,780,1178,1324,1350,1180,1158,1146,1094,1152,1052,805,662,716,865,733,855,848,645,556,621,533,423,491,538,586,698,777,881,888,937,924,757,817,1214,1338,1074,1042,1198,1146,1288,1218,1222,1108,885,728,626,628,756,976,1146,1196,1202,1172,821,792,836,1100,1420,1484,1074,778,949,1196,1368,1258,1060,836,941,713,451,437,494,462,394,614,697,445,484,803,1274,1208,999,1040,1102,1390,935,715,794,1084,1406,1184,942,1016,972,903,1082,1538,1362,1132,1084,1272,1338,1422,1400,1026,834,832,1000,1058,907,964,1244,932,656,641,728,916,1168,1290,1326,1364,824,726,1046,1352,1484,1548,1476,1332,1228,1412,1762,1656,1516,1588,1644,1516,915,886,1288,1544,1190,1130,1166,1144,1230,1090,1250,1746,1328,1284,1230,991,839,983,976,937,1210,1310,1182,1110,1156,922,1076,1232],[425,472,433,425,610,617,749,957,532,269,306,281,286,309,274,244,280,316,302,236,291,300,275,238,237,200,178,281,455,458,439,412,349,297,658,642,405,372,395,438,390,338,447,465,457,489,558,555,544,579,583,549,514,417,309,304,383,464,462,766,929,523,373,454,492,508,455,472,480,389,430,488,708,969,1262,1116,1034,866,831,1090,1264,1032,738,623,561,700,828,672,578,574,449,350,312,357,403,366,454,642,516,500,554,444,443,623,712,777,692,631,464,330,336,427,525,559,621,950,1270,858,582,550,612,511,351,379,357,484,703,756,729,966,771,503,366,315,294,289,741,1160,846,680,871,847,583,485,883,1254,1460,1750,1238,1120,1078,747,623,800,894,724,628,760,783,739,731,698,791,762,635,584,529,443,397,571,799,681,869,824,1048,1092,1342,1008,671,517,421,384,868,1548,1192,695,547,786,684,891,1064,1106,988,1030,893,874,971,767,1154,1136,721,426,363,346,1104,1192,805,916,843,710,683,905,1144,930,618,781,952,695,543,1012,1054,1102,1052,1174,972,578,744,852,1178,1472,1164,659,369,432,543,412,470,640,539,437,799,863,677,790,1018,925,1136,1174,1252,1190,1172,1234,1236,1206,1250,1338,1390,1476,1384,1356,1172,1198,1286,1396,1306,1124,968,974,889,854,771,417,415,465,552,533,440,668,861,976,933,1136,1200,1278,1066,667,905,625,421,494,422,759,1220,1162,1002,922,699,395,385,766,1056,916,771,673,563,876,830,609,925,1390,1992,1844,724,597,1036,1062,1188,901,774,966,1060,749,565,579,552,569,504,396,482,474,705,939,998,1194,1182,938,693,560,656,649,607,608,529,484,447,471,707,1316,840,448,447,532,542,661,983,1324,1360,1180,1188,925,792,1286,1300,859,692,960,1260,1406,1302,1216,1034,782,959,811,1110,1226,1058,1476,1576,1438,1150,741,792,952,1652,2032,2130,1820,1154,674,476,486,485,752,919,702,741,942,1092,1338,1034,877,829,464,401,401,716,1300,1338,1102,797,478,700,1228,1100,1090,1034,1310,1430,1430,1300,1072,927,905,1084,1062,1328,1476,1118,1408,1474,1250,1320,1470,1618,1340,827,1074,1316,830,780,827,1064,1086,1036,1316,1074,792,982,1210,1382,1474,1538,1530,1166,797,810,1398,1046,835,805,818,1120,1030,922,1150,1208,816,675,604,536,411,560,1092,881,724,1598,1214,912,1426,1230,941,871,871,837,829,796,703,786,1028,1120,1005,832,957,1296,1158,1186,1172,1134,1046,1154,1208,768,677,865,945,1068,1080,1094,1422,2098,1268,1192,547,658,746,1054,1268,1318,1120,1128,1350,1232,1094,1186,1330,1458,1198,1206,1276,1520,1370,1166,995,959,997,584,529,950,1086,1176,1244,1478,1260,1070,1200,918,646,570,539,880,1050,1114,1003,1276,1384,1410,1268,1524,1500,1100,767,794,1104,1174,1294,1110,892,755,971,1046,1056,951,985,1296,1386,1350,1180,1088,1134,1230,1420,1166,1476,1832,1916,2200,1882,1614,1484,1454,2036,2370,1812,1300,1242,1230,1470,1624,1430,1240,1298,1320,1218,1028,1060,1248,1460,1598,1524,1600,1760,1718,1802,1372,1062,1210,1344,1486,1678,1588,1192,1100,1180,1282,1188,1262,1468,1086,847,789,873,1356,1152,869,1136,1084,960,1322,1354,1324,1196,1078,891,1082,1192,1124,1054,879,1250,1698,1732,1308,1050,1082,625,396,585,805,807,778,668,530,803,815,430,540,840,1188,1260,1112,1624,1632,1394,1228,1194,1014,1108,1378,1542,1628,998,941,940,871,685,539,546,469,334,333,363,765,1236,825,521,546,841,1030,736,518,543,673,660,645,734,667,615,515,550,677,869,828,1132,1042,839,525,376,411,326,281,390,531,431,453,444,395,350,312,346,416,597,796,907,674,390,421,386,378,424,336,297,335,361,328,295,304,245,502,916,956,960,916,617,604,611,480,358,323,379,444,526,724,1017,1398,1706,1572,1268,1184,1578,1322,1396,1210,703,342,717,1540,2310,2444,1996,2884,2878,2004,1536,1170,796,607,598,835,850,619,885,1136,860,769,603,403,376,604,695,593,940,1206,1106,793,463,456,579,456,689,623,380,310,444,510,706,871,802,875,1156,1174,1402,1538,1500,1716,1142,877,1388,1344,1206,1256,1388,1526,1426,1328,1222,926,1013,758,487,413,657,903,937,541,325,526,705,1080,1518,1094,473,363,539,797,1032,1110,1086,990,1100,1134,1040,1072,686,1108,1086,1040,1032,853,893,924,688,494,810,1150,1114,874,964,1198,1216,1005,1456,1272,1010,1418,1516,1696,1648,1272,1054,1062,1176,1234,1368,1102,1015,1102,794,494,558,707,871,870,1060,1182,992,880,1076,786,754,1096,1014,846,857,1100,1122,1066,1150,1102,1176,1226,1222,1316,831,1294,1242,1266,1170,984,983,990,1120,1076,1048,1080,932,817,1100,1126,1214,1188,1302,951,689,1370,1616,1542,1514,1758,2440,1534,987,739,725,939,1272,1282,1128,1180,1021,846,866,664,607,805,718,570,620,854,1168,1358,1126,725,864,952,800,854,1007,1023,937,857,771,1001,1152,1282,1124,843,800,794,628,508,716,1232,1184,1038,1110,1298,1250,904,947,1036,1088,1224,1226,1276,1582,1588,1692,1762,1620,1514,1390,1308,1246,1390,1338,1194,871,670,924,982,1258,1538,1512,1836,2036,1920,1630,1534,1484,1322,1170,1278,1338,1206,1011,926,980,1090,785,698,774,1188,1462,1422,1366,1154,1164,1284,1126,1192,1252,1128,1122,1244,1122,868,785,891,973,960,903,832,757,661,933,1224,1484,1720,1208,1066,1280,1272,1228,1348,1430,1392,1456,1318,1346,1160,980,1156,961,999,980,1108,1278,1314,1452,1296,1194,1694,1664,1032,607,731,1384,1604,1306,1192,1300,1252,1250,1444,1402,1272,1530,1488,1372,1506,1532,1536,1382,832,448,664,1023,946,709,410,350,321,413,520,1090,967,623,649,543,794,989,557,918,1058,1490,2034,1786,1262,1314,1230,1064,1172,1228,1280,1118,935,952,1256,704,476,469,784,1188,1084,907,899,872,492,427,445,383,559,952,1084,1264,1224,1312,1230,764,453,483,639,583,444,432,445,511,556,699,533,443,357,253,263,276,297,379,447,397,368,397,427,375,342,346,381,390,389,413,449,462,455,472,457,440,406,389,371,374,400,424,411,412,408,406,400,393,408,417,410,408,398,857,1366,1238,854,688,659,768,1068,1318,1408,1614,1802,1562,1710,1876,1822,1548,1228,1296,1588,1412,1202,1068,987,1050,1148,1386,1260,1406,1700,1914,1778,1688,1820,1656,1754,1830,1600,855,692,860,1174,1262,1166,1166,1050,767,1009,1194,989,955,881,985,1124,1010,1046,1040,1338,1476,1262,1284,1542,1476,1364,1074,1162,1078,858,963,1184,990,1204,918,560,931,1034,923,799,738,805,767,896,1430,1440,1208,1158,1148,1274,1008,986,733,550,539,551,788,657,601,612,673,883,900,872,682,759,1026,863,733,762,753,807,713,708,919,1034,1116,1234,1146,1206,1066,987,2046,1588,1318,1772,1182,583,536,1092,1264,1254,1304,1296,1366,1140,998,1322,1444,781,809,696,505,586,879,969,984,902,687,930,1118,1224,1456,1286,1082,1004,1058,1058,969,894,878,1130,1656,1350,1224,975,802,1056,953,951,1148,1520,1544,1560,1360,723,754,913,1088,1060,904,1072,920,1036,1210,1424,1512,1456,1166,1080,864,763,1138,933,951,923,554,429,750,880,1062,1510,1220,605,610,852,1007,1426,2106,1446,1214,1112,1266,1290,1020,938,999,946,814,570,958,1680,1404,1042,670,531,504,581,612,731,808,612,541,550,600,739,1007,1164,1142,680,790,1166,1262,1146,1260,1272,1340,1564,1352,1474,1198,1188,1280,1428,1248,867,785,1070,1158,1172,1242,1296,1384,1338,1202,1310,1018,1106,1276,1076,962,879,1013,1360,1242,868,820,988,1066,1112,1262,1028,1009,1524,1196,716,1314,2250,1706,995,1074,927,927,1448,1496,1156,1078,1184,1024,1102,1282,1228,1116,1180,1212,1342,1310,1134,1292,1346,1444,1336,1102,1298,1136,713,834,976,903,757,761,922,940,841,734,1020,1078,1140,1356,1296,1144,885,1236,1526,1370,1122,945,557,702,855,988,1052,1020,973,1130,743,419,422,514,551,607,633,658,776,948,852,722,1026,1296,1220,1038,882,855,979,1150,1276,1370,1256,976,861,947,1172,1208,1088,1188,1236,1140,1380,991,602,1074,2192,2744,2576,2114,1632,1136,879,1036,1013,904,885,971,753,561,459,516,534,439,471,637,499,822,806,1064,1040,882,847,1026,1266,986,753,945,1328,1478,1060,848,1118,828,758,986,1112,1114,1036,991,1312,1216,1100,1258,1168,981,924,976,1036,948,1013,1256,904,742,921,996,1238,1730,1892,1432,1410,1154,1096,1166,1456,1562,1616,1450,1214,1174,1346,1518,1574,1494,1320,1208,833,681,932,1098,1288,1278,1021,864,1166,1348,1240,1360,1632,1268,1194,1032,714,652,744,497,693,1146,954,680,707,1028,947,946,1216],[526,608,529,332,269,292,447,656,532,362,387,310,305,286,290,255,295,290,311,267,230,241,219,195,200,192,196,259,380,367,310,280,287,332,590,477,283,323,386,446,450,374,451,470,433,484,549,534,525,563,569,540,526,471,355,333,405,513,507,792,777,493,495,609,560,465,387,511,553,409,357,365,690,722,865,1088,1376,1052,763,1019,1100,1076,1016,796,413,412,649,730,688,510,414,368,355,494,667,675,893,988,519,372,527,510,465,543,634,813,712,420,357,320,455,593,625,623,643,896,901,659,672,731,746,550,465,452,407,483,512,676,968,1360,1232,828,460,328,428,565,816,945,708,523,1015,1146,964,699,962,1230,1226,1228,1130,1013,999,906,709,684,618,671,741,748,658,432,344,452,579,598,622,634,649,532,490,761,865,569,617,601,839,1290,1704,1196,720,472,350,360,625,909,606,501,530,1158,1076,957,1080,1104,1110,1076,594,574,855,1112,1216,1328,1090,777,483,367,337,538,821,803,700,464,499,852,1154,816,504,856,1068,852,916,993,1005,1318,1272,1328,760,605,690,807,1534,1716,1314,879,544,420,388,420,579,611,482,453,816,814,833,814,904,1130,1234,1332,1376,1246,1102,1174,1256,1056,894,1056,1312,1472,1472,1664,1192,1302,1448,1416,1428,1218,874,842,1074,1256,993,605,498,471,504,483,490,724,896,815,1100,1390,1428,1460,962,706,1034,727,494,565,497,902,1410,1318,1070,616,512,448,443,524,655,697,946,974,543,686,773,662,1028,1288,1748,1716,722,423,832,991,1090,891,752,1126,1304,937,587,480,455,370,370,650,761,472,789,907,1028,1284,1064,926,836,636,506,524,492,458,497,393,458,438,1040,1262,664,367,374,558,658,771,896,1022,1328,1406,1498,1238,1406,1662,1496,1230,1076,1194,1282,1310,1198,1208,864,779,719,733,1006,848,865,1248,1334,1208,1016,769,940,1176,1808,1874,1970,1974,1784,1292,827,584,600,891,967,757,706,724,739,736,481,461,662,650,614,465,650,944,1086,1106,773,775,900,1248,1212,1152,1040,1534,1616,1466,1462,1388,1250,1104,1188,1228,1420,1118,1064,1034,896,838,988,1114,1290,1196,1020,1238,1052,797,607,481,673,673,807,925,693,694,1308,1858,1648,1526,1252,795,654,543,647,1086,1046,1128,878,622,931,1200,1042,775,796,726,584,393,395,380,491,819,732,935,1480,1172,1005,1112,1128,1076,1104,864,733,544,452,529,681,749,978,1278,1162,1214,986,1010,1256,1122,1236,1126,1166,1166,774,733,822,1184,1188,804,860,2158,2658,1368,818,457,556,993,992,1188,1608,1248,1188,1294,1386,1194,1270,1296,1334,1378,1488,1472,1374,1128,1144,1130,982,1007,604,691,948,1036,1052,1184,1202,993,1017,959,858,957,1046,1118,1166,1160,1262,1184,1302,1338,1336,1488,1922,1858,1118,712,824,654,498,1012,1118,1050,1030,1198,1064,1122,1198,1148,1360,1498,1426,1134,1220,1230,1348,1234,1300,1760,1704,1522,1628,1810,2228,2116,3012,5016,4312,3142,2144,1470,1428,1466,1598,1588,1396,1402,1420,1312,1202,1230,1108,1342,1576,1376,1274,1272,1444,1742,1344,935,1340,1588,1698,1836,1700,1154,920,788,935,984,974,1076,963,814,731,960,1566,1028,1001,1009,1176,941,1228,1250,1354,1396,1436,1334,988,709,982,1188,1044,1294,1736,1972,1588,876,675,479,491,766,906,756,497,466,591,840,758,693,901,1194,1188,1086,869,745,943,964,1032,833,700,990,1128,1096,1512,1126,943,1128,1020,786,717,490,320,372,364,313,466,733,593,515,529,761,1018,836,570,619,733,744,712,683,518,500,480,762,889,762,708,783,639,568,447,309,335,313,320,439,406,298,344,306,318,296,345,450,462,460,444,442,337,285,277,262,256,298,295,458,633,673,580,373,366,323,404,410,452,595,502,376,462,475,369,348,391,390,394,457,561,763,1110,1588,1702,1378,1216,1506,1586,1348,1120,910,511,785,1384,2256,2598,2364,3188,2900,1720,1212,1152,1154,1060,752,814,1048,1400,1208,670,446,498,722,455,489,724,756,689,750,819,908,1018,715,297,320,430,526,462,506,566,539,487,325,273,392,412,388,351,627,813,1202,1336,1202,1344,1584,1442,1354,1584,1656,1608,1454,1408,1378,1122,1194,653,318,303,343,580,622,345,325,386,374,809,1188,1050,562,442,565,914,1023,1078,1224,1156,1060,1218,1364,1042,469,773,1024,1312,905,698,1050,1170,886,560,810,927,841,826,1050,1356,1394,1536,1376,1062,1174,1272,1260,1310,1190,1092,1005,1122,1378,1418,1774,1588,1484,1010,463,470,444,778,1382,1270,1192,1194,731,440,615,787,879,1476,1468,1106,1326,1128,855,1320,1318,1122,1242,1416,1294,1134,865,998,1170,1256,1090,1108,1028,1036,1226,906,742,1132,1230,1272,1344,1096,1048,1282,1324,1010,922,952,1082,1266,1418,1870,1986,908,976,966,879,1130,1388,1176,930,805,775,768,967,888,754,818,1032,767,526,618,1282,1502,971,669,875,984,932,893,1001,1078,915,816,847,1198,1474,1520,1344,871,525,636,612,449,459,962,835,905,886,1272,1258,1112,1178,1072,1168,1178,1184,1092,1148,1012,1128,1422,1620,1772,1788,1576,1292,1124,1190,1272,938,648,850,954,1196,1672,1660,1668,1694,1550,1470,1576,1460,1168,1094,1164,1224,1352,1194,788,659,801,706,655,922,1310,1376,1208,1184,1146,1146,995,1100,1192,1116,1142,1312,1318,1138,904,859,1136,1050,744,844,1118,980,707,805,1054,1438,1390,1110,1306,1410,1194,1144,1288,1476,1544,1302,1420,1620,1384,1176,1184,1050,810,800,1210,1290,1376,1144,912,1072,1144,1040,829,725,931,1124,1204,1124,1072,1146,1158,1286,1284,1214,1142,1334,1232,1482,1962,1712,1362,1252,922,494,499,827,662,534,405,304,335,362,760,1282,865,447,401,420,637,787,830,1836,1678,1798,1948,1954,1534,969,940,1246,1304,1126,1098,1158,960,1174,1086,650,649,638,817,1076,1180,1150,907,689,462,630,496,378,535,796,831,1274,1512,1168,683,469,579,633,515,407,394,404,434,430,407,444,474,487,400,276,290,281,336,428,414,348,332,346,386,344,327,344,364,335,307,368,398,456,491,468,409,444,499,433,415,422,424,444,472,427,409,427,419,399,404,415,412,400,396,461,679,1042,1238,944,1058,1268,1042,1310,1332,1408,1448,1554,1736,1682,1620,1520,1422,1422,1310,1382,1298,1174,1166,1328,1642,1604,1362,1400,1600,1536,1132,893,883,1166,1606,1700,1542,998,892,1090,1194,1256,1256,1178,1112,1302,1796,1538,1168,905,931,973,1026,992,1032,974,905,963,1060,1396,2114,1804,1388,1088,1296,1192,863,984,1216,1178,1238,917,565,758,753,800,598,455,405,452,669,1154,1064,1090,1344,1440,1298,1038,1040,644,722,854,716,910,720,425,405,444,533,885,1003,514,536,1106,1198,800,691,1106,891,630,827,1134,1476,1516,1322,891,1088,852,847,1514,1042,900,1236,1262,1228,943,680,963,1210,1194,1334,1538,1354,1266,1080,820,612,612,465,564,937,951,957,1282,1224,1017,815,751,744,852,953,1078,1162,1220,1026,660,700,702,819,1346,1023,657,685,692,701,785,828,1140,1820,1666,1534,1470,857,816,804,750,1212,1342,1548,1172,1046,1086,892,1120,1376,1232,1104,865,912,1400,1246,1018,649,426,363,583,949,1412,1540,938,821,692,799,1023,1222,1260,1152,1084,1106,1282,1282,962,642,902,881,659,625,1292,1444,1470,1354,1126,793,841,852,612,771,794,591,529,743,559,469,915,1378,1434,1016,977,1302,1130,824,1050,1054,1019,1356,1200,1130,1758,1930,1888,1954,1532,1068,1072,1122,1054,1012,951,1064,1162,1172,1324,1358,759,864,1204,1310,1004,895,1388,1904,1216,985,864,1030,1152,1174,1124,841,745,1040,885,538,1226,2046,1124,718,1050,1078,1072,1272,1370,1266,1326,1224,1040,1056,1186,1170,1148,1352,967,1102,1238,1100,1050,841,1180,1356,1250,1382,1086,922,1080,1066,1270,993,1005,1230,1130,844,715,1026,1106,926,864,1036,1186,1470,1814,1450,1268,1190,961,665,586,565,786,1168,1206,1226,1206,907,551,548,947,993,783,665,621,622,666,636,815,1262,1236,1346,1074,965,963,1032,1226,1472,1758,1802,1402,929,948,1302,1234,1240,1408,1302,1200,1268,892,786,1662,2552,2822,2788,2722,2418,1754,1010,1218,1266,1028,955,1202,1364,795,484,488,433,403,565,1028,758,990,873,830,777,837,1038,1082,1120,1058,838,1048,1254,1376,1354,1362,1368,980,843,1050,1294,1236,903,826,1006,695,993,1282,1182,1007,968,947,1004,1250,1424,1294,1072,1100,1062,1170,1338,1902,1512,761,928,1296,1456,1400,1384,1588,1546,957,915,1260,1450,1500,1484,1372,1422,1320,781,1019,1118,715,1146,1432,1166,1170,1262,1188,1098,1268,1206,1220,978,810,863,965,1044,803,869,1180,886,680,644,976,1116,748,732],[647,610,445,268,276,300,340,543,565,427,382,355,482,379,314,235,232,276,316,261,228,284,293,267,254,248,251,239,255,260,281,325,381,435,457,349,302,315,327,316,354,343,427,469,460,532,565,531,540,579,566,518,478,413,288,324,458,438,333,419,439,392,548,708,546,348,257,348,373,299,303,361,767,971,871,1188,1280,1096,1026,971,836,924,1036,818,427,479,836,1018,794,659,643,443,532,699,721,821,1136,1036,670,448,600,664,526,491,525,691,664,359,337,362,446,469,518,600,898,1260,822,346,345,559,765,565,418,408,547,704,809,897,1104,1114,980,858,885,940,927,1044,996,1260,1192,965,1288,2388,1794,1048,1048,1052,941,890,754,629,705,645,623,447,383,373,322,327,318,299,365,533,780,1082,993,515,484,567,667,792,451,501,520,612,726,1210,1606,1144,645,345,325,358,523,753,1026,821,656,1032,1094,1046,982,843,1116,868,294,366,839,1302,1104,1316,1288,1210,881,727,735,707,932,1094,706,375,332,447,760,683,461,760,1256,952,816,848,1220,1294,874,1348,1356,965,783,1052,1644,1522,1374,1074,589,395,347,383,634,807,518,447,753,935,1002,1015,1108,1172,1060,1078,1268,1210,1204,1262,1298,1256,1192,1116,1468,1310,1686,1654,1154,1228,1170,1170,1320,1038,882,1056,1296,1434,1120,794,595,469,506,466,424,730,1112,906,1342,1698,1568,1468,791,825,1096,657,555,688,518,792,905,825,890,590,375,375,551,805,1038,912,894,830,543,514,548,658,697,785,1324,1570,1184,785,909,1176,1098,859,739,882,1090,940,609,596,676,601,516,890,691,417,585,755,1148,1138,1015,1178,976,937,511,445,439,426,474,441,442,588,1078,966,634,479,368,404,716,1212,1176,1178,1312,1624,1462,1190,1532,1400,1158,1182,1294,1302,1348,1190,1242,1120,967,800,708,1030,1102,843,855,1154,1464,1184,1272,1082,1032,1582,2014,1936,1998,1998,1938,1842,1376,725,698,991,1088,942,524,360,436,556,509,569,710,658,576,788,858,935,1100,1054,814,891,937,1102,1048,993,1010,1124,1234,1196,1162,1026,990,1100,1234,1296,1282,1174,988,802,824,1005,954,595,659,973,1188,1182,998,1172,1142,795,557,826,897,581,514,711,1148,1428,1532,1272,1094,727,771,1016,1004,1034,1252,1444,1278,1116,1432,1264,763,628,508,498,425,357,437,362,596,935,710,719,1110,1294,1178,1082,1038,1124,1144,1050,859,592,500,399,391,706,1364,1498,1284,1540,1021,948,885,1010,1288,991,970,1022,734,872,1164,1282,1084,1078,988,1326,1486,1232,752,590,707,993,969,1142,1120,1374,1394,1228,1006,971,1182,1164,1160,1294,1246,1322,1356,1172,1206,1270,959,1054,763,791,987,987,946,1028,903,791,837,825,907,1120,1138,1130,1040,1078,1360,1428,1228,1198,1452,1566,1614,1526,1450,1068,1056,718,529,959,1252,1214,1250,1190,1001,1154,1288,1178,1278,1412,1408,1262,1260,1346,1118,1188,1372,1300,1208,1988,2976,2668,2120,1716,2552,2864,2002,2122,1588,1472,1534,1406,1548,1598,1344,1306,1344,1406,1074,1074,1328,1220,1064,1072,1100,946,1040,1544,1378,1090,1622,1612,1670,1826,1616,1142,864,825,984,857,733,893,833,776,745,955,1538,896,1066,1074,1024,1068,1094,924,926,995,1108,1172,935,816,1168,1278,1080,1064,1548,1812,1442,892,684,647,621,841,785,768,703,621,633,727,677,693,958,1212,1126,1130,1001,678,1021,1032,886,799,1012,1214,1142,1086,1416,1384,1015,1011,1116,888,729,395,344,446,443,354,407,559,515,510,581,783,988,813,649,724,708,789,753,521,588,918,843,861,921,619,430,546,637,397,309,264,290,302,473,634,428,318,336,298,334,381,401,403,350,421,363,292,321,375,314,228,244,299,399,817,1118,1272,1316,606,695,565,693,698,403,395,378,316,328,313,339,438,466,415,462,472,475,603,686,1296,1414,1260,1166,1072,1396,1594,1372,1230,730,535,966,1878,2686,2952,3186,2618,1332,1294,1826,1708,1338,1266,1088,793,1260,1316,949,860,1266,812,287,390,416,375,427,574,641,722,727,471,502,434,397,426,467,602,655,547,460,400,333,549,420,378,402,362,337,461,534,637,869,1168,952,590,1062,1602,1432,1228,1232,1416,1550,1288,802,433,367,392,382,367,341,479,357,647,1264,1514,1284,838,673,679,845,973,1130,1300,1192,928,1322,1492,987,620,872,993,1154,931,1009,1310,1154,921,891,1342,798,822,1350,1460,1244,1368,1570,1264,1140,1232,1028,918,932,1066,1128,1122,1384,1524,1250,1516,1972,1794,806,447,465,592,1186,1516,1284,1202,1194,749,455,548,776,1044,1260,1220,1346,1678,1278,1102,1238,1172,1152,1096,1284,1328,1150,1094,986,1136,1278,1338,1660,1548,1224,1186,1236,1216,1300,985,1036,1178,993,1012,1202,987,702,740,724,711,623,836,1134,1030,883,976,1054,1086,1284,1220,1096,1023,645,602,710,1020,701,581,977,1110,656,395,973,1808,1396,622,700,993,1058,905,921,1016,1080,1072,925,771,896,1102,1009,898,631,604,659,615,481,398,730,943,1078,1052,1500,1296,770,811,1040,1220,1402,1350,1276,1022,897,1007,1274,1292,1278,1470,1562,1556,1444,1472,1426,1230,1001,1056,1246,1424,1704,1622,1492,1500,1294,1312,1652,1612,1236,1188,1220,1318,1724,1644,1210,961,992,905,758,921,1120,1224,1192,1136,1138,1078,859,953,1116,1206,1338,1426,1410,1454,1154,784,901,1030,805,780,1012,820,926,971,850,1278,1476,1242,1500,1584,1262,1048,1202,1494,1334,1098,1428,1544,1420,1272,1176,1007,755,863,802,980,1110,1156,888,1348,1334,1280,994,1080,1240,1126,1172,915,999,1116,1230,1350,1340,1356,1520,1164,736,1016,1266,1152,1178,1180,1172,571,475,686,572,533,433,325,379,440,955,1246,577,406,501,608,799,1090,1078,1270,1336,1740,1990,1796,1098,480,531,973,1416,1280,1298,1050,1005,1432,985,465,770,749,710,932,1098,810,887,831,467,700,562,448,558,806,1062,1142,1002,800,673,587,549,437,409,411,420,400,411,438,422,405,422,446,498,474,411,319,350,385,356,329,316,371,366,318,324,336,355,357,312,321,351,413,443,464,430,579,604,471,503,477,498,514,577,554,438,435,429,408,404,404,404,402,412,433,422,485,830,1160,1514,1438,1314,1526,1408,1296,1372,1498,1588,1536,1472,1318,1366,1346,1250,1414,1340,1402,1522,1612,1536,1240,949,688,905,1154,1064,1108,1278,1396,1544,1708,1518,1154,1294,1514,1448,1312,1094,1256,1520,1694,1642,1918,1490,1011,952,905,874,955,1162,1100,1004,1262,1184,1086,1502,1250,1206,1162,1114,1013,946,963,1102,1188,1266,922,818,973,623,482,564,517,463,533,724,937,780,767,1124,1218,1158,1164,942,554,613,926,1132,984,668,514,540,611,763,872,894,653,749,1198,1326,912,758,1152,1001,819,1007,1224,1220,1142,1050,781,773,829,789,1009,723,957,1342,1242,1324,1154,1019,1148,1176,1422,1750,1564,1376,1190,795,476,500,519,434,666,1020,849,719,769,1044,871,610,686,839,968,943,907,1026,1288,1048,653,630,632,633,995,813,370,621,938,746,835,875,949,1544,1310,924,819,1142,1014,1056,1466,1736,1510,1578,1440,706,442,442,781,1274,1244,1384,1300,1156,1172,1034,827,709,637,341,468,714,1048,1184,945,920,1058,1152,1021,816,949,1152,886,728,964,1100,997,699,958,645,390,755,1092,996,948,912,942,875,1150,1204,1130,954,915,882,649,633,597,687,1268,1506,1320,1184,1188,1224,1050,1040,1052,1082,971,1218,1136,1148,1586,1654,1772,1720,1318,1090,1292,1076,1064,1158,937,1018,1026,1368,2160,1516,633,808,1042,758,691,1050,1206,1426,1262,1302,1015,916,1038,1088,855,630,764,891,823,849,633,791,808,839,976,1202,1314,1358,1266,1178,1344,1380,913,832,1142,1034,1328,1574,994,1058,1238,1198,852,668,999,1108,1019,1022,984,1120,1284,1252,1510,985,1056,1272,1140,939,813,836,948,847,562,563,991,1376,1376,1252,1090,889,884,1088,767,446,796,1282,1450,1434,1130,1268,1118,796,979,1124,889,696,650,521,472,489,879,1324,1552,1470,1282,1210,1382,1406,1268,1450,1472,1252,1050,935,1084,1382,1194,1304,1224,1042,1166,1240,865,1148,2174,2626,2730,2814,2998,2890,2458,1318,1136,982,803,868,1398,1662,731,510,451,367,336,554,1100,1009,1038,828,579,739,1708,2662,1772,1296,1009,873,1244,1542,1632,1628,1544,1504,1626,1516,1278,1136,839,760,863,667,601,938,1130,1015,944,1102,1112,1064,1098,1230,1230,1088,1256,1130,1230,1624,1846,1330,1020,1146,1424,1512,1372,1546,1576,1652,1372,1472,1430,1538,1450,1230,1448,1910,1678,1428,1996,1614,1080,1256,1510,1278,1234,1300,1058,933,1196,1050,757,614,655,689,694,1007,1236,1266,1276,973,620,330,683,1060,996,803],[473,343,317,277,238,258,286,417,538,512,440,693,1005,702,387,259,261,301,329,285,239,257,273,297,323,328,295,240,263,527,611,444,368,294,375,569,539,525,479,673,651,380,409,454,447,513,560,537,548,565,566,493,445,424,314,364,473,411,360,363,370,393,453,593,519,324,293,281,339,337,386,411,701,871,901,1018,1006,1340,1510,1098,911,662,522,483,526,651,914,1118,1132,1040,753,634,763,680,581,512,1012,1162,738,505,579,505,429,428,628,811,487,376,364,448,512,514,656,699,1052,1310,1012,808,741,786,924,719,578,690,865,863,990,1062,1102,1218,1364,1110,1002,1316,940,968,1192,1228,1096,1400,1268,1842,1738,1362,1354,1124,678,477,354,459,609,702,775,681,512,359,367,374,390,347,360,564,1021,1392,1026,593,579,617,789,646,570,735,555,525,531,625,993,774,455,323,296,336,374,566,1050,1222,1192,1228,1110,984,943,1056,1248,655,397,502,938,1026,1160,1314,1284,868,702,1019,1044,1208,1098,1070,443,301,325,377,419,461,362,790,1026,695,590,480,873,1050,1084,1190,1444,944,649,814,1009,1322,1246,693,404,368,441,501,412,553,736,681,1060,1278,1046,1052,982,907,935,977,1152,1204,1290,1300,1262,1542,1428,1360,1370,1088,1312,1296,1172,1212,1238,1198,2136,1174,1038,1090,1256,1390,1044,841,749,668,647,559,942,1948,1440,1118,1464,1450,1376,1260,915,1046,1034,666,821,1132,602,868,1216,1194,784,634,449,507,650,775,993,749,495,458,451,409,429,600,625,771,786,1332,1498,1210,1560,1486,1026,974,940,970,874,990,748,689,991,1032,943,1200,865,388,444,974,1054,558,912,1372,1090,828,457,322,322,382,441,434,366,621,984,599,850,514,374,502,1166,1534,1108,1066,1208,1448,1414,1336,1196,808,1072,1262,1158,1178,1326,1164,1064,1116,1262,1030,859,1074,955,903,1002,995,1146,1026,969,958,951,1434,1868,1922,1976,2000,1914,1866,1678,1568,1378,1092,1112,713,365,506,662,516,383,648,990,857,1192,1752,1016,659,778,795,725,831,1158,1362,1102,1068,1028,1008,1074,917,754,790,1348,1402,1216,1188,1152,1054,949,1116,1274,1270,946,529,694,1284,1200,927,859,787,1184,1166,892,1170,969,623,664,880,1170,1306,1362,1362,1180,1020,1288,1404,1052,886,1152,1406,1310,1432,1824,1388,792,778,748,846,702,393,478,472,436,525,492,533,505,549,802,821,929,1076,929,1042,980,610,706,706,607,700,1148,1062,1136,1074,902,925,953,1108,953,739,710,593,461,708,1012,1182,1212,1540,1268,1150,1420,1232,1120,1020,835,813,890,1160,1466,1322,1256,1208,1062,1001,1040,1114,1084,844,800,1124,1100,930,881,1202,821,847,910,806,760,881,1138,1042,780,684,609,961,1098,1090,1098,921,762,968,1264,1394,1376,1678,1572,1572,1518,1454,1738,1302,999,741,668,1130,1562,1770,2104,1982,1056,819,976,957,1106,1196,1310,1238,1300,1274,1284,1416,1402,1434,1410,1398,1574,1080,679,1092,1898,2964,3256,1764,1428,1978,1484,1406,1522,1428,1156,1188,1234,1330,1352,1256,1272,1144,965,993,1134,1278,1294,1700,1460,1250,1624,1624,1694,1762,1450,916,743,821,880,877,984,1108,763,783,749,1048,1354,938,974,1146,1006,1064,1228,902,1154,1230,1124,929,1034,962,921,903,1172,1564,1766,1730,1498,1054,1050,951,610,781,608,613,712,634,707,788,701,643,706,946,963,922,1080,1058,1430,1302,1070,1608,1522,1078,742,865,1144,1264,1248,867,1312,1594,762,353,444,702,587,383,406,463,540,654,650,774,1072,694,541,707,934,778,602,370,695,1132,918,686,638,409,320,473,816,424,343,289,269,285,504,708,557,345,321,287,358,426,316,317,283,315,336,314,361,346,277,274,341,380,563,1034,1266,1260,1622,1082,977,736,608,708,550,455,364,321,324,318,355,519,628,504,488,479,496,577,524,778,825,1082,1440,1272,1156,1380,1612,1622,1222,557,598,1116,1824,2358,2092,1180,908,1604,1850,1344,1340,1762,1416,718,966,1438,1590,1378,1348,899,336,333,301,355,326,347,434,616,642,626,805,655,481,635,720,682,462,447,408,327,359,609,415,504,561,386,313,355,393,377,422,550,514,400,413,893,904,462,422,950,1248,1190,1088,941,915,836,706,646,574,785,622,1154,2108,2442,1650,877,921,816,759,692,722,1068,929,604,816,1418,1062,830,976,993,1248,1618,1152,1114,1176,1134,1278,1542,1530,1534,1742,1594,1244,1372,1602,1556,1488,1610,1366,1052,1004,1198,1312,1516,1548,1788,1658,1060,1162,1098,437,407,411,688,1210,1450,1154,1072,932,795,817,912,1238,1196,1078,922,1296,1542,1160,1092,1234,1200,1060,1066,1298,1388,1410,1458,1170,1088,1162,1088,1112,1470,1418,1390,1320,1320,1234,1122,1424,1218,926,1007,1074,1154,945,722,644,559,409,631,722,886,811,702,773,906,1082,1072,1074,1064,1208,1136,957,684,401,642,1686,1618,697,528,1004,1576,1144,667,667,958,1050,792,1038,1250,1072,941,984,967,1090,1184,980,719,691,917,787,459,379,469,643,865,880,1232,1476,927,700,781,919,1206,1594,1338,1008,1136,1168,1254,1370,1206,987,1310,1324,1360,1436,1628,1688,1614,1478,1462,1550,1608,1714,1726,1516,1318,1186,1396,1564,1584,1308,1122,1256,1604,1680,1422,1130,968,957,884,1030,1204,974,1054,1166,1106,1130,1050,852,866,1078,1290,1486,1490,965,1062,1458,1078,875,1086,1044,918,870,901,1188,1196,1034,1410,1726,1546,1344,1256,1260,1322,1460,1294,985,1204,1394,1326,1258,1278,1238,947,874,890,530,704,1124,1290,1400,1372,1326,1294,1036,1238,1246,1256,1144,916,998,1136,1372,1558,1490,1560,1584,887,408,552,937,1108,1128,1278,1318,1052,954,944,743,504,365,343,353,420,719,915,501,451,498,397,616,990,835,717,1114,1438,1594,1092,650,451,403,615,1142,1194,1220,944,940,1306,965,732,851,1096,1782,1648,781,425,521,594,541,841,943,1023,1322,1434,1120,736,518,590,583,546,440,394,400,404,433,438,410,401,439,420,395,410,417,584,545,377,375,406,393,353,327,316,280,273,325,361,332,351,376,398,423,457,424,414,428,437,419,435,499,486,579,560,519,622,514,418,418,410,412,413,413,415,419,417,441,367,350,1082,1426,1404,1416,1344,1252,1318,1398,1286,1546,1692,1282,1148,1388,1410,1246,1424,1610,1576,1398,1232,1074,755,652,719,1288,1808,1560,1124,951,1222,1456,1592,1510,1276,1480,1674,1486,1056,1208,1494,1656,1726,1772,1840,1550,1248,1062,1148,1070,915,1178,1016,1044,1330,1294,1386,1356,1190,1184,1258,1186,1284,1306,1170,1356,1428,1600,1202,1144,1254,1046,908,802,548,424,594,918,1052,873,718,579,608,957,1170,918,658,500,636,817,828,717,767,892,858,1224,1202,800,1096,1050,1016,1440,1222,745,820,813,903,1012,1042,1112,1026,902,792,785,1018,1128,879,579,900,1142,926,1290,1124,1146,1204,1218,1548,1908,1616,1130,1062,861,524,525,550,479,641,1050,1084,874,548,486,525,606,774,1010,868,580,977,1166,1118,758,625,498,477,672,969,843,654,764,723,655,979,912,1082,1648,1422,1021,1040,1196,1334,1662,1782,1870,1620,1534,1792,1006,490,454,543,1168,1202,1416,1376,1136,1092,1078,887,836,780,426,365,398,480,605,703,689,944,1084,1078,1084,1204,1206,964,924,1042,1026,896,657,645,645,611,956,874,831,774,733,1090,1312,1170,1048,1094,951,1216,1062,645,691,769,994,1410,1394,1400,1240,1294,1224,1406,1278,1214,1180,807,915,910,1100,1292,1019,1046,1240,1104,1172,1296,1172,1340,1238,973,949,923,1208,1460,1042,791,944,1244,820,903,1266,1136,1176,1236,1294,1092,1074,1218,1312,1005,766,821,901,884,1080,774,729,821,1001,1210,1374,1314,1340,1162,927,1072,1566,990,1054,980,1040,1338,1392,1128,1036,1194,1312,1184,1142,795,705,814,890,1182,1332,1238,1492,1352,731,690,809,888,1132,1078,822,1001,987,940,886,1062,1354,1306,1236,1042,769,1136,1398,665,460,576,790,1424,1232,1130,1228,1284,1158,981,907,727,698,612,463,437,453,803,996,972,1228,1560,1256,1046,1250,1912,1552,1210,1140,1394,1378,1436,1542,1144,1023,1040,933,1098,1160,742,1076,2116,2746,2902,2944,3066,3082,2968,1914,1170,942,791,1112,1362,1278,559,555,410,359,321,458,946,1026,750,670,835,1034,1434,1604,1318,1154,816,985,1338,1594,1530,1452,1442,1484,1678,1646,1388,1132,898,1014,986,776,1002,904,1028,1194,1160,1044,901,749,752,1414,1528,1064,1136,999,1086,1644,1676,1286,1172,1316,1522,1482,1140,1466,1426,1488,1456,1476,1580,1672,1262,1482,2024,1872,1612,1532,1626,1508,1254,1120,1278,1272,1192,1192,908,811,948,705,468,447,611,895,811,1310,1550,1494,1296,1230,841,677,994,1152,1036,1023],[390,333,370,361,309,365,286,393,617,625,363,468,1046,1011,486,309,279,269,277,239,226,240,259,380,540,516,417,324,454,763,555,332,297,248,303,403,579,1001,1066,735,321,290,406,461,452,404,480,525,559,536,560,518,466,389,325,382,473,440,411,334,320,352,408,498,528,329,281,308,356,352,384,418,724,1142,1380,1182,749,1058,910,966,921,540,337,713,1030,869,769,987,1368,1272,721,623,862,932,714,772,1160,965,459,453,659,683,785,850,1132,1076,659,814,1023,1134,1050,888,884,969,1056,1026,930,715,493,428,480,465,474,496,528,716,896,843,907,1030,1370,1200,911,1146,700,578,902,1052,1142,1178,1192,1268,1274,1260,1244,1092,634,822,695,512,533,383,413,611,620,706,628,544,402,350,355,641,1120,1184,840,777,831,728,794,912,1086,928,586,487,542,408,579,555,442,416,329,372,421,480,712,1092,1258,717,420,689,907,839,537,423,428,822,884,878,1030,929,753,567,772,1068,1018,1162,1556,756,335,344,385,387,379,387,421,655,647,504,583,901,916,1200,1330,1302,1500,896,625,763,990,1362,1088,647,369,371,663,897,724,1062,1406,1174,1434,1494,1090,1170,925,747,785,1138,1156,1058,1158,1322,1042,1276,1432,1444,1116,777,934,1021,1102,1190,1252,1472,1622,1296,1256,1158,1102,1122,1218,1330,1624,1234,990,1114,1524,2244,1646,1604,1692,1434,1460,1248,774,665,503,425,621,885,557,1076,1208,1270,1066,613,551,1152,1328,1184,959,756,1090,622,415,314,251,359,452,588,637,1326,1700,1282,1288,959,983,1238,1354,1096,810,957,755,609,847,1056,1294,1222,635,386,628,1068,891,429,596,978,858,658,580,541,510,463,420,388,357,618,1110,766,783,579,573,625,1234,1448,1084,1132,1328,1048,1024,1044,995,927,1064,1198,1142,1108,1188,1182,1074,1054,1120,1030,1030,985,671,655,539,565,953,913,763,934,1070,1230,1382,1608,1736,1880,1860,1860,1810,1726,1430,1064,1021,598,315,465,579,478,460,796,1194,1066,1642,1786,831,408,810,638,473,804,1158,1170,879,1034,1056,1048,1076,1028,926,1118,1172,1058,1196,1122,1084,891,916,875,717,718,623,566,733,1056,1500,1690,1268,1168,1236,872,783,817,603,655,989,1112,1214,1158,1226,1432,1334,1108,1048,1212,1088,1066,1398,1390,1252,1248,1196,1028,702,620,767,1076,963,659,822,727,402,379,337,401,372,405,393,393,567,779,863,938,1012,899,1226,1306,1082,767,685,730,1072,757,549,890,1164,1328,1042,869,495,365,295,634,960,1150,1176,1258,993,700,615,577,880,694,429,491,747,1304,1448,1162,1246,1234,1084,1080,996,1138,1164,1016,886,1090,1138,1202,1012,1230,1116,840,661,718,785,630,735,762,676,612,664,1148,1284,1216,1260,963,847,1019,1040,1334,1562,2204,1526,1428,1438,1422,1600,1154,816,574,552,1584,2840,3196,3338,2546,1150,641,899,1216,1108,1158,1194,1204,1306,1294,1462,1486,1274,1446,1478,1054,1068,1000,1220,1398,2556,4984,4252,1888,1030,1306,1520,1412,1354,1422,1296,1160,1124,1162,1306,1304,1126,998,1066,1032,935,1186,1226,1334,1352,1340,1476,1576,1558,1584,1288,762,617,700,1040,1038,1036,960,789,778,678,1146,1282,973,1050,1068,1072,1104,1250,1150,1448,1470,1476,1220,1170,1266,1224,971,1258,2026,2128,1800,1676,1280,1346,1306,855,656,625,594,704,694,736,819,702,667,672,889,952,815,1028,1064,1376,1220,1424,1858,1460,807,615,835,1290,1534,1618,1178,1720,1704,729,478,912,1092,619,387,466,385,411,531,678,1398,1554,809,976,1422,1632,1024,547,457,547,821,898,830,830,878,626,772,980,669,435,341,352,370,539,897,869,460,451,442,445,429,317,390,479,408,344,326,429,437,307,310,305,276,446,764,1072,1174,1786,2098,1432,1318,1374,965,835,695,287,312,269,311,292,453,705,528,461,484,502,443,412,510,548,703,1148,1278,1072,1468,1950,1514,1310,896,863,670,667,1100,1060,659,945,1720,1190,784,1644,1920,1344,642,804,1056,1038,976,990,769,318,296,328,360,342,365,463,588,482,499,608,522,565,573,352,499,364,537,386,356,322,425,457,576,484,332,361,364,305,500,590,546,387,394,350,443,536,461,372,460,516,427,551,693,597,785,814,885,1080,1118,991,1512,2024,2034,1544,1028,982,783,816,1028,893,1142,846,541,1198,1542,1074,955,1100,1136,1396,1542,1015,1086,1222,1300,1510,1532,1390,1106,1068,1348,1520,1552,1306,1172,1326,1396,1420,1098,1036,1074,1334,1500,1288,1480,1532,1230,808,474,325,327,448,901,1068,1104,993,849,667,771,1124,1200,1022,1062,963,857,1220,1166,1000,1246,958,797,1118,1318,1356,1440,1512,1346,1202,1194,1248,1198,1000,1350,1548,1562,1126,1384,1706,1338,971,727,854,965,1288,1390,1250,844,469,506,595,828,1130,1144,569,564,699,1018,1012,1108,958,873,1582,1662,1276,996,872,1188,1714,1356,963,896,1038,1268,1244,1162,773,963,1148,1130,1560,1770,1116,615,683,835,770,803,659,518,582,850,776,507,691,1011,961,653,747,1030,1274,939,912,954,1256,1676,1604,1402,1720,1836,1294,1344,1358,1352,1086,1354,1062,1048,1042,1076,1268,1454,1574,1618,1626,1652,1656,1416,1084,1242,1306,1370,1404,1504,1520,1336,1276,1350,1250,1124,1124,1200,1116,949,949,1002,960,991,811,858,897,728,874,818,684,890,1312,1462,932,1072,1568,1376,1044,950,987,1023,955,965,1190,1188,1118,1572,1764,1638,1372,1230,1470,1418,1312,1292,1262,1284,1264,1176,1194,1130,1172,1642,1422,850,828,859,1000,1256,1348,1154,1180,1040,1178,1346,1372,1278,1376,1288,1166,1312,1412,1306,1100,1364,1508,924,792,611,871,1278,1610,1502,1188,1212,1190,1090,1005,852,642,527,437,494,633,774,814,690,482,455,463,595,655,927,1206,1294,1062,739,697,614,562,666,820,1102,1302,935,753,967,955,1166,1414,1522,2238,1826,905,830,965,1088,1142,1220,1314,1310,1330,1078,555,429,439,502,460,446,423,406,402,419,405,368,349,350,365,381,379,369,311,390,392,332,371,432,471,442,424,296,260,282,330,342,322,307,349,424,446,466,436,398,410,439,437,425,443,456,483,507,466,577,619,514,410,424,441,440,429,430,420,423,430,451,394,875,1428,1484,1076,876,1200,1546,1334,1424,1572,1568,1472,1650,1770,1742,1682,1710,1550,1252,1017,1122,1274,1066,801,1100,1196,1306,1001,882,1134,1346,1362,1576,1586,1316,1458,1672,1576,1438,1564,1534,1638,1756,1836,1830,1868,1682,1164,1064,1120,962,1194,877,985,1202,1416,1688,1892,1744,1486,1340,1396,1388,1292,1180,1504,1732,1688,1248,1030,826,830,987,812,443,447,780,882,542,596,772,828,692,1132,1330,1124,1074,878,627,753,1448,910,767,777,765,965,962,1130,1766,1484,1166,1484,1262,985,1116,910,1028,1192,1012,974,1007,940,973,1070,1180,1240,1112,902,944,1204,1148,1496,1764,1926,1774,1676,1772,1742,1232,846,1128,789,553,588,706,957,1004,1088,1266,1230,669,344,498,871,1300,1272,974,1046,1380,1134,960,709,625,702,828,882,990,1034,957,969,1042,657,870,1112,1306,1306,992,637,673,1060,1592,1758,1644,1880,1404,962,946,755,521,439,380,963,1262,1052,942,1020,1001,915,1078,1052,1028,529,348,411,518,1188,1200,724,913,1206,1180,1194,1318,1194,1019,966,1196,1100,907,722,882,909,899,1212,1230,1274,1150,1296,1434,1264,1056,1134,1032,1010,1058,1054,896,642,731,1070,1284,1214,893,985,1174,1122,1380,1364,1188,1148,1028,954,818,1272,1400,1068,1160,1168,1130,1144,1274,1308,1286,1506,1180,803,1021,1158,1424,1218,1182,1268,1296,1018,1188,1152,1092,1015,1302,1476,987,819,1116,1274,1066,1034,984,770,872,1168,1120,838,915,1176,1350,1332,1158,1150,1016,1138,1598,2018,1404,1312,1180,1150,1200,1250,1282,1260,1376,1348,1412,1346,938,910,968,914,1046,1122,1268,1430,1086,1064,808,698,825,943,918,719,774,735,1028,1152,1136,1178,1172,1284,1013,1011,1450,861,500,487,497,913,1194,1036,1160,1388,1494,1310,1254,1160,802,968,754,539,479,439,570,580,639,1186,1616,1714,1686,2800,3210,1836,1512,1396,1542,1414,1550,1494,1128,1246,1334,1288,1408,1158,676,849,1986,2728,2790,2834,2980,3042,3010,2366,1386,988,828,1288,1378,993,659,584,446,454,398,631,1208,1150,872,797,1090,1044,1356,1272,1132,802,942,1146,1098,1192,1228,1328,1376,1206,1186,1142,1120,1224,1124,1206,1150,1015,914,986,1152,1098,1004,810,684,750,798,1528,1632,1218,1110,981,967,1126,1228,1262,1290,1444,1446,1224,960,1194,1442,1522,1542,1542,1638,1448,935,1116,1744,1628,1492,1716,1478,1274,987,814,905,1418,1408,891,705,867,777,482,462,462,611,1036,941,1178,1350,1176,1166,1204,1000,1038,1290,1614,1188,907],[382,336,310,373,337,372,320,414,858,791,379,324,331,301,273,248,244,255,227,203,235,241,370,539,802,755,381,321,549,808,425,274,273,313,364,343,553,1068,1322,813,300,296,412,493,502,476,485,519,514,531,558,553,503,462,413,408,472,385,454,385,348,395,527,646,641,440,476,870,736,392,418,546,1154,1744,2310,1340,512,997,1166,1128,1004,929,862,877,893,795,656,849,1074,895,650,705,1084,1260,878,974,1190,887,690,883,1180,1262,1120,893,977,865,785,1014,948,683,597,603,582,522,441,388,335,341,378,396,413,432,507,524,525,792,895,713,1184,1606,1154,886,576,504,451,438,652,969,950,967,1152,1238,1270,1172,1206,994,939,1250,998,785,619,346,399,395,391,485,630,757,745,670,505,592,817,773,838,1005,1034,972,1019,1262,1382,984,668,878,1216,885,604,658,866,633,410,440,407,488,626,901,1042,498,565,590,705,582,383,356,384,544,598,782,838,828,893,768,804,1352,1146,935,1122,637,383,339,373,406,512,730,444,502,774,752,750,1038,777,1086,1146,776,549,500,573,684,956,854,1290,1284,650,417,683,779,921,1138,1050,1080,1188,1074,1015,986,824,827,672,1036,947,794,948,922,885,1258,1572,1368,1036,626,624,946,1256,1090,1118,1160,1174,1270,1262,1388,1132,623,977,1488,1630,1122,862,1290,1472,1434,1138,1204,1434,1556,1510,1088,590,620,530,662,799,760,836,1184,1098,1210,1300,1110,1372,1630,1550,1294,1194,1510,1428,642,426,336,260,312,535,786,913,1440,1576,1230,1078,946,1184,1232,1154,990,1182,1124,741,799,767,780,1050,1064,604,719,1228,1426,1018,685,673,798,765,689,899,1146,1064,714,498,428,736,1012,1000,969,824,876,1050,893,1002,1206,768,634,1058,673,562,440,603,1048,1188,1120,1112,1136,1242,1314,1196,1100,1044,999,750,832,533,426,404,487,837,1104,995,1026,1374,1574,1394,1294,1406,1624,1678,1814,1866,1688,1056,725,509,373,306,299,329,369,470,758,1138,1070,1040,1158,681,662,1050,659,580,653,799,861,591,929,1084,1130,1240,1142,1060,951,595,758,1150,1058,1240,1180,1294,639,366,402,458,687,877,920,1366,1726,1302,788,730,727,832,777,872,1017,1062,1052,1042,1036,1114,1246,1274,982,971,1296,1320,1446,1540,1110,1082,1170,1248,1324,926,592,725,861,926,1140,1278,980,485,289,370,322,311,451,498,447,416,415,622,912,1008,1038,1090,1334,973,717,869,1040,1226,1030,780,1120,1048,1108,1068,1048,558,341,319,533,994,1316,1262,1100,948,862,785,717,1546,1140,461,338,584,769,1034,1246,1260,886,662,951,965,775,1110,1090,921,1146,1202,1148,1134,1230,1256,881,756,1068,1246,965,664,615,836,832,1110,1448,1274,965,1200,1518,1392,1230,1086,1122,1252,1356,1248,1244,1194,1260,1510,1268,843,532,433,1226,2266,1880,1592,1312,1310,1204,1216,1032,970,1084,1130,1290,1272,1166,1296,1458,1382,1442,1320,1218,1314,1256,1302,1716,3518,4164,1554,1286,956,1030,1412,1324,1378,1418,1268,1054,934,1018,1216,1124,861,896,1208,1038,1072,1068,987,985,1020,1160,1374,1564,1552,1246,907,653,631,764,885,775,891,839,780,770,670,1184,1372,913,1168,1074,976,1278,1036,1282,1458,1444,1456,1226,1150,1480,1386,897,987,2072,2264,1874,1772,1624,1576,1322,1158,1124,1002,830,829,936,689,652,651,645,650,708,859,826,534,755,1068,1136,1242,1272,1154,1088,995,1108,1716,1618,1618,1416,1700,1326,1116,944,857,899,621,380,512,471,432,460,645,1710,2130,1114,1188,1762,1534,851,532,694,711,614,837,987,816,1364,1416,1288,1144,948,641,418,391,427,557,763,738,573,676,637,442,371,361,394,578,573,457,640,817,640,354,258,249,281,321,382,756,1228,1616,1906,1532,1192,1015,1266,1466,1118,620,544,561,585,369,478,571,441,471,584,574,541,634,620,469,483,514,569,512,935,1162,766,713,984,871,333,333,454,616,567,1308,1938,1852,1694,1872,1704,1212,830,650,405,412,388,437,510,318,346,543,414,356,356,383,403,318,305,272,276,270,252,287,327,291,360,304,280,361,549,699,691,485,296,319,324,357,620,594,474,414,617,638,486,451,398,370,397,365,367,314,244,239,336,268,425,818,927,954,1054,997,937,1017,1180,1244,1036,1036,1150,1218,1492,1124,960,1682,1700,1226,1374,1316,1054,1014,516,776,1260,1500,1492,1512,1376,869,616,1019,1482,1682,1508,744,437,633,838,1076,937,966,1128,1092,1056,1242,1468,1338,833,653,388,385,433,780,1140,1120,1124,1242,1086,830,932,1194,922,963,1024,830,1122,1300,931,913,942,788,1134,1378,1390,1332,1238,1360,1288,1170,1048,1202,1406,1384,1368,1584,1682,1490,1802,1964,1272,849,558,627,772,1023,1340,1560,1190,947,946,1058,1052,822,769,519,828,965,915,706,807,1050,1078,1354,1652,1750,1420,1188,1344,896,438,584,764,980,1026,1320,1312,1080,1026,1320,1710,1544,1032,867,766,1052,1144,832,603,651,750,679,725,692,708,756,781,742,592,980,946,1190,1260,1080,1048,1150,1182,1276,1372,1796,2056,1280,1238,1318,1302,721,805,816,847,799,765,953,1072,1152,1284,1462,1600,1670,1534,1472,1582,1494,1582,1408,1306,1464,1370,1256,1318,1190,969,999,1266,1306,1194,1168,1108,988,792,654,850,818,630,943,565,440,605,974,1286,1178,1214,1424,1344,1028,952,1032,1006,1038,1058,970,1048,1308,1522,1660,1698,1588,1686,1784,1662,1586,1420,1214,1152,1276,1650,1550,1164,1162,1400,1188,877,766,694,720,987,1202,1048,1152,1060,1352,1498,1414,1396,1376,1090,927,1034,1234,974,690,1290,1534,1248,1472,914,672,849,1394,1326,995,1198,1436,1222,1020,960,791,969,658,517,466,705,1013,807,598,518,498,612,794,1206,1230,1088,671,729,692,437,417,579,637,802,1166,1264,894,650,697,734,1342,1516,1810,1744,1540,1302,1204,1384,1230,1078,863,670,807,725,458,378,465,445,416,427,393,379,385,390,378,359,340,340,348,343,354,328,309,312,266,290,379,413,415,403,397,291,245,312,320,281,259,243,301,376,403,418,428,435,415,447,442,435,450,485,458,461,480,516,619,711,464,451,448,425,422,430,436,438,433,475,434,692,1286,1482,1126,960,1150,1268,1344,1586,1698,1664,1710,1762,1600,1422,1516,1546,1096,1016,1332,1638,1704,1476,1058,1232,1232,681,405,575,907,1136,1104,1470,1650,1292,1264,1320,1390,1800,1904,1770,1724,1662,1690,1748,1764,1656,1240,991,1036,1012,1146,1002,1012,1120,1148,1344,1520,1412,1362,1158,1210,1214,1146,1026,1426,1680,1624,1452,1116,764,653,943,910,794,648,774,1032,927,774,683,750,940,1234,1132,1016,1001,1056,823,609,1146,836,455,374,356,458,695,991,1102,902,742,772,1028,1188,1244,982,1270,1222,1092,1190,1040,726,731,1024,839,658,733,826,1042,1416,1206,1122,1144,1362,1642,1800,1942,1774,1302,670,939,611,409,484,664,993,1026,1078,1308,1222,704,360,467,965,1344,1336,1390,1476,1194,1042,1011,767,775,1018,1040,952,1122,1338,1278,1052,955,587,792,1032,1092,891,443,364,646,941,1176,1468,1354,1332,888,493,463,665,535,356,318,725,1048,747,645,789,854,957,1108,1007,994,600,450,501,563,797,652,667,1058,1238,1194,995,902,1056,1092,1034,1046,1100,1150,1170,1146,933,1023,1312,1094,1144,1266,1212,1296,1176,1120,1074,904,774,780,1013,968,728,1012,1218,1406,1086,720,1018,1128,1182,1700,1590,1058,1212,1356,1418,1360,1578,1412,1194,1134,989,943,921,1252,1110,877,1082,897,1098,1184,1274,1390,1268,1214,1188,952,1208,1476,1124,925,987,1416,1592,984,716,781,851,1222,1526,1346,1094,976,982,1042,866,959,1214,1216,1026,836,738,896,1988,2454,1822,1364,1268,1178,1152,1192,1226,1170,1116,1038,1094,1224,1278,1226,1098,1028,976,885,932,1356,1268,1028,1400,1090,856,1300,1364,1064,824,849,814,847,1052,1432,1500,1248,1298,1050,1140,1028,594,549,576,683,1164,1300,1144,1256,1354,1228,1106,1023,911,715,966,1190,1482,1060,577,640,468,527,863,1318,1628,1478,1600,1446,1366,1460,1322,1308,1306,1268,1240,1228,1240,1188,1190,1316,1026,865,863,1318,1948,2326,2612,2866,2940,2844,2542,1720,1106,733,1136,1406,1060,665,528,488,506,434,570,1044,1142,1316,1156,1188,1190,1408,1272,897,633,827,966,868,1094,1192,1352,1414,1128,997,1012,957,955,922,1090,1502,1584,1250,1208,1428,1022,790,860,717,623,768,1058,1254,1206,1072,1084,1006,1148,1788,1720,1608,1750,1552,1430,1476,1544,1328,1284,1244,1114,1362,1232,826,863,1164,1268,1278,1514,1306,1174,1400,1076,807,1246,1338,855,629,918,778,791,843,590,549,792,842,1040,1110,1042,1272,1262,1090,980,971,1174,935,761],[384,342,372,419,356,287,502,730,1028,855,375,375,342,406,350,224,215,229,244,254,230,232,378,659,1064,922,407,346,379,529,418,298,270,283,357,357,444,835,999,664,303,267,358,446,477,462,504,502,499,513,486,471,459,483,492,462,367,350,431,394,369,415,514,691,796,575,713,881,380,473,727,912,1484,1980,2048,1154,597,855,1246,1074,774,737,1282,1064,584,739,958,1098,762,441,334,544,868,986,1138,1056,838,820,819,670,510,515,524,452,423,379,378,590,987,1130,687,684,653,593,419,407,376,351,346,381,464,549,543,451,501,702,713,626,1636,2752,1566,696,420,403,407,367,639,1052,965,1198,1122,1134,1196,1214,1382,1190,927,858,942,1116,870,443,415,421,351,383,359,362,590,781,825,653,394,515,972,1136,1170,1114,1238,1178,944,725,738,1144,1716,1550,1011,930,1318,1034,778,504,401,456,908,1474,1146,819,899,551,380,363,326,378,430,363,517,902,871,949,1312,993,1138,1854,1464,1062,706,401,409,339,365,511,1150,1502,1246,1316,1340,1200,778,595,844,1088,975,728,580,628,521,588,869,947,1260,1340,1056,756,674,655,927,1132,1018,1030,1098,912,1138,988,827,877,1009,1013,962,1236,1174,997,694,932,1538,1766,1018,512,514,836,1122,1252,1316,1190,991,1020,1226,1388,1028,514,1252,1548,1320,1334,1136,853,976,1418,1468,1306,1374,1242,1058,1448,1312,1386,1368,1514,1526,1366,1544,1592,1506,1570,1374,1312,1666,1336,1318,1110,1266,1572,1018,637,606,432,333,338,468,821,1204,1350,1246,1152,916,850,1092,1046,1204,1272,1016,883,703,839,707,749,1028,1128,754,970,1634,1446,1026,1398,1298,944,665,706,1066,1244,913,883,783,599,857,1004,799,883,1130,1178,1230,1218,1278,1348,746,643,929,768,530,457,906,1094,1080,1228,1432,1454,1426,1368,1300,1400,1040,916,625,644,568,424,375,448,824,1108,871,653,1086,1410,1276,1138,1274,1404,1306,1358,1518,1134,703,729,744,535,390,312,304,342,518,1142,1672,1242,824,896,739,794,778,703,918,1070,1280,931,926,1366,1254,1148,1092,916,752,789,972,804,824,1200,1154,1144,1392,829,450,445,703,1120,1146,1028,1196,1476,1332,890,897,782,949,1026,1052,1084,1152,1046,677,680,1016,1224,1196,1382,1462,1410,1338,1654,1390,841,1078,1304,1278,1214,1086,1128,1382,1472,1570,1282,1372,1288,670,305,363,355,355,371,397,356,363,355,359,559,594,589,842,1126,1086,906,822,894,931,832,880,1078,969,905,1098,1208,796,384,362,678,1116,1200,1244,1240,1084,542,645,965,1378,1022,533,573,635,473,666,975,1086,874,954,1802,1426,841,1104,1254,1156,1266,1316,1146,940,828,967,865,1148,1322,1292,1154,825,589,518,808,1118,1158,966,616,811,1256,1334,1180,1038,966,1194,1234,1254,1318,1112,1154,1650,1538,1074,850,616,708,1220,1242,1266,1364,1470,1416,1200,1142,1132,1024,1106,1040,960,1186,1448,1542,1328,1378,1178,958,1470,1548,1272,1542,2276,3106,1932,1460,1306,1136,1236,1352,1520,1522,1392,1180,947,906,1084,1044,894,921,1114,1194,1160,962,955,1094,1160,1166,1178,1380,1216,822,631,546,587,644,835,839,860,847,777,760,788,1306,1418,1042,1042,1174,1032,1260,1068,1302,1464,1422,1498,1352,1128,1160,1108,1080,1222,1834,2374,2100,1780,1648,1450,1318,1638,1698,1322,997,758,909,718,746,726,554,521,485,1034,1304,796,496,641,879,1028,811,914,1292,1422,1366,1450,915,1186,1294,924,976,1268,1076,1028,1022,802,497,462,444,386,389,540,1574,1952,834,612,1050,749,425,363,639,1062,1136,1005,830,675,849,962,998,998,1126,1038,493,293,334,339,498,724,669,633,415,400,478,431,349,494,632,543,561,594,508,402,297,280,352,325,269,444,854,1250,1216,1176,1112,775,769,1140,1070,1072,1158,1060,735,394,384,406,435,503,634,647,774,992,807,531,338,225,249,264,355,328,212,300,625,818,566,336,332,415,592,1488,1588,1456,1754,1974,1600,1126,612,600,393,366,294,298,360,282,379,585,444,346,458,397,307,358,358,358,290,203,212,334,371,276,276,283,331,526,636,727,990,899,732,561,368,405,528,449,416,491,659,704,497,477,455,447,526,444,419,376,353,317,293,300,324,340,347,345,303,246,356,530,984,1206,1246,1350,1366,1242,1394,1440,1472,1714,1510,1296,1526,1338,1282,1056,613,1036,1488,1364,1232,1336,1320,942,904,1494,1626,1638,1210,496,334,376,461,720,960,1094,1204,1080,1092,1222,1220,1168,941,586,314,431,417,901,1214,1074,1410,1672,1286,1216,1256,1198,960,874,996,766,987,1242,1032,612,514,1018,1058,916,1484,1368,1008,1078,1134,1086,1224,1434,1462,1272,1132,1318,1644,1668,1696,1390,921,957,714,690,864,839,1292,1846,1650,1274,1372,1628,1438,879,838,659,1072,1126,792,602,729,995,1090,1124,1554,1976,1582,1168,1460,1168,943,641,467,667,1134,1476,1352,1104,1116,1362,1738,1656,1282,943,1007,998,760,857,1044,1282,1148,844,919,609,735,571,542,652,818,1022,1236,1232,1134,1005,1100,1180,1010,1104,1066,1104,1188,899,1118,1226,1184,669,678,1120,1056,826,901,1242,1234,1170,997,1184,1336,1620,1682,1600,1594,1614,1610,1400,1394,1338,1240,1212,1416,972,753,788,1218,1218,1174,1266,1118,733,565,686,858,871,499,626,411,344,415,960,1360,1346,1322,1356,1288,1088,920,896,936,1072,923,909,1344,1580,1516,1546,1508,1432,1560,1600,1688,1612,1454,1228,1276,1456,2348,2022,1520,1482,1272,1015,1076,1002,991,948,1064,1138,1126,1016,1178,1334,1258,1286,1516,1406,1096,996,882,999,804,782,1312,1170,1110,1360,1050,823,1168,1410,1166,1232,1942,1528,1326,1134,854,607,936,1076,1070,875,727,764,919,858,872,977,811,932,1096,1372,902,494,548,608,468,345,461,657,665,873,1364,1410,1242,1332,1506,1652,1666,1592,1484,1270,852,684,689,523,390,348,306,434,400,386,433,410,363,385,381,354,385,394,352,359,366,377,359,328,303,332,346,327,324,337,363,427,401,347,350,334,273,276,288,261,251,266,290,302,308,326,376,409,447,429,430,447,440,466,500,517,502,498,497,533,802,609,483,457,435,433,434,434,437,450,469,486,580,869,1426,1522,1356,1340,1588,1770,1682,1604,1618,1532,1582,1384,1208,1164,987,1018,1152,1478,1658,1684,1708,1148,1090,1266,767,474,469,616,722,913,1302,1656,1404,962,792,1078,1592,1784,1428,1212,1182,1018,959,1382,1478,1168,1178,1184,1038,1158,1162,915,886,1016,1194,1244,1418,1134,1094,1242,1162,996,933,1290,1562,1604,1506,1236,1050,940,982,1084,1516,1023,1124,1756,1508,1100,981,880,1144,1158,885,1040,1260,1274,1042,913,1300,1007,573,445,332,479,747,586,745,1009,778,540,915,1148,1198,1252,1338,956,540,569,581,538,876,1224,794,712,809,717,1074,1232,1088,1214,1400,1570,1370,1216,1230,1246,1338,731,675,445,407,429,475,674,979,1184,1208,1128,931,588,637,912,1084,1178,1336,1182,1060,1608,2002,1682,1222,1148,1080,1142,1360,1626,1636,1098,762,838,913,744,791,864,839,1106,906,986,926,1112,1024,1076,888,564,473,531,421,378,423,468,827,964,921,852,797,695,591,518,442,403,553,613,645,654,391,642,1218,1160,1196,922,785,1064,1036,976,1176,1166,1094,1142,1128,1021,1002,1566,1430,1122,1066,865,937,1202,1146,929,919,1048,1290,1176,1042,861,1064,1078,1180,890,1013,1294,1494,1446,1532,1654,1484,1560,1598,1568,1622,1622,1738,1294,1008,1078,972,968,1206,1100,975,1020,949,1000,1158,1180,1424,1732,1332,1056,916,940,1172,1030,904,838,938,1166,854,721,645,538,1062,1416,1128,1158,1188,865,856,983,1100,1092,1122,935,633,719,1026,1876,2008,1426,1166,1168,1256,1188,1224,1096,1062,1252,982,1008,1170,1238,1282,1206,1062,1128,1194,1010,1390,1224,1004,1006,927,1030,1394,1394,1240,1156,1170,1272,1222,1210,1440,1366,1302,1220,1176,1005,645,603,691,694,934,1244,1290,1100,987,1324,1406,1274,968,1028,1086,1126,1410,1466,891,711,924,808,666,642,794,802,1128,1268,1346,1398,1334,1192,1110,1136,933,959,1102,1096,1124,1074,1184,869,949,1140,1222,1302,1522,2092,2684,2878,2872,2618,1936,1316,1146,1198,1076,941,836,758,628,555,388,533,1023,1198,1300,1264,1350,1280,1266,1238,1058,796,680,581,609,926,1020,1120,1152,924,842,833,750,701,750,1000,1246,1590,1686,1412,1596,1108,899,1088,929,873,999,977,1082,1148,1019,1152,1232,1406,2000,1824,1626,1682,1578,1562,1534,1476,1432,1538,1204,1150,1028,1094,1086,1020,745,987,1312,1520,1448,1514,1626,1418,1134,1248,1384,1114,982,1180,1084,1186,963,738,836,988,1086,1094,977,1062,1200,1192,1240,1050,938,1076,1007,1136],[349,377,425,386,263,851,2086,1770,1001,649,273,310,324,378,322,235,234,285,278,284,315,325,389,648,775,662,450,364,375,439,430,339,276,260,285,287,379,771,761,416,314,296,355,412,443,422,406,375,367,334,338,340,323,374,608,755,647,585,498,455,486,518,489,508,572,532,735,683,517,759,918,1001,962,883,1004,1140,866,785,1150,897,813,714,933,808,535,521,968,1242,862,444,320,345,298,471,880,939,466,318,389,363,291,305,364,376,360,398,442,565,824,889,730,763,722,529,365,357,362,345,324,432,619,714,608,357,380,585,521,536,731,671,574,458,348,355,361,386,708,1202,1264,1406,1126,1126,1176,935,821,1078,1192,1082,941,777,566,392,354,389,357,365,350,352,355,434,572,724,545,683,1146,1124,1001,1112,1118,653,492,554,856,1296,1352,1332,1082,922,1742,1648,1270,567,428,497,823,1366,1162,1124,1064,604,316,355,337,370,467,414,800,1226,1094,1562,1524,799,1206,1702,1426,1007,379,382,399,367,357,772,1730,1834,1546,1230,1106,1110,732,671,982,1012,1060,1202,890,998,808,1134,949,1146,903,673,814,888,817,576,695,777,915,1116,1070,899,1158,1114,1136,1188,1252,1204,1212,1476,1112,1166,798,601,739,833,534,437,585,581,766,933,846,1132,1302,1532,1274,1316,1098,1182,1566,1346,1332,1196,1158,1254,1242,1398,1520,1520,1536,1400,1346,1588,1434,1094,912,1072,1116,1016,1180,1588,1700,1632,1550,1450,1238,1162,1208,1164,1276,1176,777,607,587,430,378,483,753,757,600,547,684,1110,1224,991,1050,1140,1510,1616,954,740,773,834,764,891,1584,1930,1194,669,1046,886,1076,1536,1192,944,954,901,1166,1020,1072,990,918,907,839,554,433,610,932,1182,1318,1048,1078,1100,888,858,1028,1132,911,999,1326,1156,1066,1180,1366,1600,1366,1114,1306,1262,996,854,970,1224,902,416,363,424,383,637,726,588,792,1150,1154,1162,1274,1440,1230,887,630,756,784,1108,1282,1236,734,534,544,523,706,1458,1730,1108,821,980,884,911,680,938,1096,1184,1168,843,1124,1510,1438,1218,1182,1172,1017,834,711,711,639,957,1218,1138,1056,930,933,980,901,1394,1616,1274,1324,1468,1252,1166,1304,1060,985,1058,1138,1084,1015,1050,846,550,673,1016,1274,1378,1358,1462,1740,1840,1242,963,1204,1146,1106,1290,1444,1340,1300,1484,1380,1214,1220,1126,732,429,475,411,366,301,293,256,304,354,309,281,304,385,849,1372,1324,1126,1204,916,689,653,772,855,795,1036,1324,1256,1000,611,454,655,1013,645,808,1130,1130,655,884,1126,988,723,725,915,710,669,849,1170,1620,1406,869,1024,1210,973,931,1192,968,994,1200,1160,941,798,852,1092,1546,1654,1504,1210,982,755,633,833,708,470,378,741,816,1148,1148,946,709,663,861,1188,1460,1416,1202,1164,1730,1648,1324,1300,1296,1376,1568,1574,1232,1032,1214,1312,1294,1278,1292,968,1036,1234,1350,1516,1656,1366,984,1264,1142,807,1120,1186,1202,1608,1868,2740,1856,1490,1654,1474,1378,1510,1582,1686,1570,1308,976,1014,1300,1230,1096,938,1001,1096,827,661,972,1192,1044,933,824,888,742,695,634,661,690,620,799,872,787,825,803,777,812,1410,1138,1096,1078,1046,1224,1216,1102,1384,1572,1740,1822,1688,1186,1160,1162,1134,1246,1592,1852,1590,1662,1714,1594,1694,1706,1452,1294,912,639,941,880,907,754,777,727,460,811,1266,1018,731,948,1064,1256,814,944,1248,1432,1238,1038,846,1084,1490,1510,1136,1060,1250,1058,661,647,553,515,512,392,307,387,670,719,559,549,686,531,460,336,454,910,988,698,476,473,591,785,846,962,884,793,383,257,393,766,1102,1190,708,519,583,867,972,711,507,478,535,568,492,557,614,503,350,439,621,477,329,318,544,891,1038,991,963,1216,1236,822,697,666,793,980,747,551,657,557,585,697,792,863,880,835,731,610,442,314,263,302,302,298,307,350,324,469,881,620,499,381,472,755,750,807,1434,1784,1326,787,410,512,339,285,251,244,279,298,337,407,296,362,600,543,466,510,368,387,293,239,247,247,239,298,351,298,438,711,537,526,655,591,677,850,764,597,669,727,626,487,482,492,401,343,325,575,601,489,410,355,305,226,231,240,258,231,230,261,314,335,337,357,550,574,554,625,664,911,1390,1518,1454,1428,1240,1384,1460,1354,1454,1138,839,1234,1420,1208,1132,1330,1358,1134,1454,1710,1672,1634,1032,565,573,412,472,630,770,1026,959,902,1432,1208,1200,1188,1046,885,871,661,537,1034,1256,1328,1748,1896,1580,1356,1418,1214,1278,1322,995,900,1007,1296,1424,1064,998,1378,1013,1224,1338,1294,1500,1416,1416,1410,1268,1294,1418,1428,1258,1190,1482,1660,1800,954,656,913,821,847,843,717,993,1376,1422,1132,1252,1506,1264,1148,1362,1056,965,1180,1216,1088,1148,1106,1048,1162,1534,1636,1398,1122,1162,1288,1280,735,389,636,1250,1664,1300,1060,1176,1434,1556,1500,1238,830,891,742,458,646,989,989,825,865,1036,521,677,691,875,1062,1018,1086,1142,996,895,927,1212,1466,1362,1238,1330,1282,1144,899,1100,1272,1216,696,598,804,745,642,758,1046,1082,1140,1086,1194,1424,1684,1478,1388,1500,1698,1650,1494,1466,1370,1290,1258,1504,951,602,579,873,1176,1262,1326,1026,568,476,661,825,603,401,479,501,539,731,1102,1266,1306,1418,1542,1516,1414,1088,925,955,1144,1222,1330,1378,1498,1620,1488,1228,1118,1318,1412,1292,1382,1474,1418,1428,1408,1266,1326,1560,1496,1304,1110,1144,1070,1072,1158,1054,879,1014,1228,1344,943,711,1046,1340,1384,1126,902,912,882,586,1034,1438,962,692,926,926,1030,1602,1976,1548,1044,1392,1324,1376,1164,682,495,885,1422,1790,1722,1208,995,1008,843,941,957,1114,991,1384,1700,1026,601,496,604,524,457,546,568,537,644,1204,1506,1606,1556,1392,1216,1024,843,666,529,515,544,465,482,378,453,456,402,550,689,531,399,294,353,420,403,384,359,325,319,323,340,348,324,303,294,287,286,321,376,371,415,382,347,333,308,332,348,318,297,310,290,317,462,563,383,342,471,739,631,441,449,420,447,489,511,476,500,531,533,874,844,570,448,441,437,444,444,463,498,522,553,597,540,955,1450,1650,1618,1656,1612,1240,890,932,1036,1432,1310,1306,1048,846,997,1382,1560,2322,2966,1998,1300,951,987,727,446,405,676,919,1144,1510,1722,1606,1268,1090,1144,1290,1208,1072,858,1068,849,724,1210,1274,1228,1404,1278,1082,1208,1178,929,1168,1314,1420,1314,1598,1414,1128,1198,1264,1166,1154,1250,1536,1688,1406,1120,1350,1444,932,987,1550,1126,1328,1598,1100,1098,1044,863,1230,1068,744,819,1488,1400,1108,1094,1114,844,616,552,395,533,761,461,624,1268,1254,857,772,764,824,896,872,685,546,629,576,769,1138,1150,660,738,845,694,666,677,877,836,1138,1582,1088,866,892,1192,1234,885,695,630,792,859,957,971,891,911,1296,1282,1036,908,1058,999,992,1084,1290,1234,1166,1536,1920,1986,1238,1052,1162,1348,1480,1560,1594,1378,1184,999,776,674,843,1062,1380,1440,760,678,646,875,1058,1110,877,579,470,618,733,736,706,466,537,965,1168,1230,1198,1034,819,728,640,448,487,438,536,856,922,807,1200,1162,804,736,919,930,1030,1328,1452,1072,852,955,904,945,1064,1898,1842,1312,1130,1030,1040,1134,1052,1154,1390,1656,1578,1172,828,962,1164,1158,1112,1230,1308,1450,1788,1572,1622,1422,1572,1500,1272,1456,1408,1266,1400,1168,1036,1260,1122,1074,1076,1082,1136,1104,983,1164,1248,1234,1234,1174,1056,1042,1094,1066,1178,1228,1248,1194,816,1068,931,665,870,963,1072,1124,829,676,1128,1100,713,1114,1001,927,1028,817,755,877,1062,1482,1698,1272,1062,1124,1274,1206,1208,1108,1366,1314,1070,1120,1140,1080,1194,1354,1294,1356,1172,1714,1714,1506,1316,1354,1208,1220,1356,1360,1202,1164,1276,1544,1274,1268,1490,1470,1416,1194,1084,806,605,703,681,735,1052,1084,1122,957,1012,1080,1334,1286,1174,1380,1442,1394,1188,1100,921,842,1154,1824,1416,729,817,1156,1440,1458,1392,1446,1332,1116,952,856,872,965,1124,1256,1196,1028,875,709,1070,1354,1234,1228,1388,1662,2288,2370,2380,2410,1768,1222,1428,1192,746,870,1070,959,711,557,418,612,781,948,1210,1472,1360,1268,1406,1116,950,800,914,882,899,910,841,890,962,822,772,815,724,641,726,1023,1162,1444,1416,1388,1448,1212,1048,1064,1222,1502,1402,1068,1156,1348,1216,1354,1542,1542,1602,1616,1578,1578,1522,1300,1112,1204,1316,1022,1024,1162,968,851,925,928,894,1188,1412,1424,1318,1412,1628,1682,1378,1388,1476,1312,988,966,1132,1174,967,828,959,1158,1192,963,883,1140,1364,1514,1556,1346,1080,1114,1168,1200],[336,365,399,468,248,879,2502,1924,737,640,406,464,434,422,366,334,371,308,252,428,706,391,397,462,316,394,463,307,351,418,357,292,295,263,271,288,305,742,682,390,288,226,256,335,381,394,383,343,301,253,296,356,440,561,1042,1108,779,546,529,624,637,525,395,348,584,531,474,363,295,565,986,1118,910,782,885,998,669,551,808,680,735,983,759,499,596,891,1190,1354,1102,694,695,758,483,428,540,960,628,375,359,348,328,287,296,300,336,391,393,488,655,694,668,631,494,348,409,406,406,376,375,481,466,536,476,325,321,363,548,705,597,672,704,602,452,339,384,392,801,1186,1466,1398,1206,1130,1096,802,661,1050,1030,1128,1062,564,449,445,406,391,384,355,361,346,350,322,481,789,725,1042,1254,1128,891,1044,736,485,497,520,720,923,837,974,601,609,1520,1958,1354,586,430,485,641,866,1122,1288,956,601,381,397,355,412,473,557,839,910,930,1390,1306,937,830,1013,959,592,391,369,358,356,378,673,1434,1820,1584,1300,1318,1142,794,923,1094,982,1290,1334,789,582,734,1074,1060,1130,819,872,875,951,1080,546,448,428,766,1218,1288,1240,1178,869,872,1122,1120,1248,1300,1282,1064,1184,1074,734,675,561,422,505,552,491,538,531,530,754,1182,1396,1354,1206,1064,1108,964,1088,1136,683,822,1272,1412,1268,1494,1516,1502,1230,1342,1390,912,581,576,906,1302,1056,1208,1660,2036,1598,1428,1388,1438,1460,1362,1346,1236,1038,638,620,700,536,428,568,993,840,617,547,406,711,1178,1230,930,1066,1060,773,847,787,614,981,1070,1174,1618,2006,1612,1152,938,552,713,981,1002,1220,944,785,853,907,979,721,669,877,802,651,880,778,880,1110,1164,800,797,698,655,708,839,1134,1028,1066,1210,1192,1312,1526,1426,1302,1250,1009,1032,962,1013,1112,1002,849,571,317,317,334,544,929,1130,857,827,1021,1138,950,948,1166,1156,1138,695,802,789,1272,1256,932,666,791,688,539,736,838,1058,1158,775,582,702,1132,927,1016,1164,785,496,614,1088,1510,1650,1250,1174,1214,1050,927,967,818,549,527,951,1050,1011,1048,1176,1230,1076,1284,1760,1388,923,1138,1432,1354,1036,956,871,810,1056,991,627,971,1220,913,990,1228,1434,1518,1444,1516,1826,1600,1238,1180,1310,1126,1046,1017,974,720,833,892,874,1182,1256,966,763,582,549,440,418,339,316,263,299,324,312,304,283,296,581,1100,1210,1142,1278,1036,1122,1206,1410,1454,1100,1354,1526,1342,1362,1176,758,550,586,380,651,919,857,700,838,948,817,811,1208,1150,803,1152,1268,898,1338,1118,752,753,1020,954,1012,1086,481,607,925,1084,647,642,800,1184,1676,2004,1892,1464,1102,857,943,964,713,580,472,1070,1228,1268,1090,948,707,498,630,994,1216,1354,1344,1268,1542,1606,1416,1456,1350,1198,1340,1278,935,874,1130,1600,1638,1356,1256,979,1000,1248,1320,1250,1196,982,948,1122,1200,1154,981,1094,1328,1560,1540,2138,1748,1406,1736,1790,1662,1646,1434,1472,1644,1494,1140,1130,1210,1390,1160,899,948,842,572,630,927,1068,1132,897,680,676,741,768,801,905,902,829,936,1015,969,805,810,839,785,1310,1144,1030,1168,1126,1226,1122,1064,1344,1648,1886,1902,1812,1360,1248,976,1013,1294,1620,1588,1324,1394,1790,1720,1584,1406,1114,1130,998,651,898,1182,1032,695,791,807,414,411,647,963,1396,1264,818,893,1030,1230,1176,1058,777,755,1058,1006,984,1588,1366,1224,1374,1346,1250,725,375,397,510,487,424,559,577,462,396,421,445,449,595,514,472,622,803,601,335,280,465,823,892,1038,613,527,451,359,494,1172,1514,1016,488,405,727,1272,1294,753,624,750,558,708,644,529,555,484,325,520,956,966,551,402,540,491,690,556,464,940,1024,743,525,631,838,816,885,900,835,595,725,1506,1152,912,710,578,533,449,411,303,204,275,284,284,310,328,345,267,768,950,921,939,766,564,519,499,724,975,782,515,518,667,476,280,257,285,283,455,936,872,451,383,420,388,522,717,582,420,337,244,260,278,276,303,280,289,388,495,395,673,729,468,536,669,553,571,681,834,1042,745,597,459,527,549,472,644,710,629,415,254,254,228,336,262,314,361,361,319,295,296,308,433,456,271,240,245,256,359,722,751,565,658,1134,1398,1448,1452,1426,1330,1284,1468,1338,1138,1310,1328,1328,1356,1572,1710,1772,1564,954,1046,1172,694,495,614,511,871,1082,1232,1096,951,1036,998,1048,1150,1290,1046,949,1176,1172,1108,1136,1398,1422,1240,1340,791,838,1070,972,935,1056,1272,1096,991,1228,1522,1506,1378,1008,1286,1716,1672,1656,1478,1214,1214,1502,1362,1250,1160,1076,1588,1486,920,1042,1278,1090,920,991,1026,1244,1116,1074,1088,1086,1192,799,640,805,861,752,988,1244,1276,1220,907,849,1210,1248,1398,1160,1012,730,446,378,334,339,443,656,958,998,1284,1448,1312,1340,1428,1190,890,697,707,781,878,859,673,792,878,782,589,739,967,977,846,741,790,1196,1074,950,1204,1658,1642,1624,1474,1558,1764,1366,943,982,1166,1184,586,390,388,549,603,617,691,702,777,994,1108,1542,1844,1292,936,1070,1470,1524,1456,1434,1426,1510,1428,1276,907,730,894,997,1102,1218,1460,1454,827,409,576,857,684,597,681,805,1062,1244,1216,1208,1214,1444,1650,1688,1618,1408,1009,960,1132,1284,1166,1096,1334,1622,1448,1138,961,1100,1268,1150,1452,1336,1236,1356,1388,1220,1296,1276,1156,1504,1414,1122,878,1760,2194,1578,1130,971,1028,1104,809,1002,1532,1438,1194,926,896,1130,883,705,1324,1414,756,680,828,799,986,1606,1628,1218,788,813,1104,1398,1116,808,1188,1458,1234,1782,1686,1086,1005,818,822,905,919,1240,1282,1666,1188,621,674,650,725,642,669,636,529,483,576,1104,1534,1542,1160,630,451,470,474,591,598,577,560,455,389,445,492,413,591,1062,938,478,371,414,485,427,414,392,368,357,350,335,334,340,316,300,283,296,381,446,401,321,337,400,374,312,375,491,429,358,343,346,396,554,884,967,597,338,678,1176,982,790,758,564,495,594,584,567,560,560,552,866,1023,759,506,451,445,436,485,528,554,553,583,679,543,611,1206,1636,1604,1370,1116,1108,1088,1054,1228,1244,1088,1156,1018,795,963,1472,1738,2732,3064,1466,1170,810,761,644,497,431,689,1010,1258,1376,1504,1618,1354,1154,1316,1550,1168,1116,1072,1142,955,838,914,1082,1248,1086,1028,963,1044,1170,1122,1386,1504,1444,1224,1238,1214,1128,1246,1318,1136,1190,1256,1472,1732,1426,1260,1354,1274,822,976,1268,1216,1372,1188,932,1086,1102,977,1028,965,733,919,1676,1610,1324,1530,1524,819,909,749,438,593,873,784,807,1044,1032,919,1076,1144,954,868,741,529,603,669,774,877,918,949,605,655,816,747,875,1174,1003,731,1330,1230,600,717,1106,1226,1042,908,667,533,659,695,991,790,642,634,1214,1252,1058,1138,1226,1130,880,926,1404,1278,1120,1252,1352,1196,1128,1003,1166,1184,1278,1332,1142,967,1001,968,1048,1292,1194,1104,1046,764,578,807,1070,1086,942,841,733,605,436,708,1038,946,971,825,541,608,2110,2664,1304,1198,1092,1064,1046,938,962,1006,920,911,773,731,990,1180,933,952,866,490,844,1512,1188,852,686,960,905,781,765,943,1212,1408,1296,1232,875,878,1030,1013,994,987,977,901,1050,1754,2138,1882,1438,1382,1316,1380,1524,1354,1466,1386,1604,1362,1354,1590,1368,998,955,1146,1058,1106,972,1092,1042,975,1040,1134,1474,1564,1302,1490,1268,720,828,974,1250,1234,1190,1120,1240,1166,913,1138,1108,966,1048,1058,1176,1074,961,720,1128,1372,1066,1078,823,896,1042,1020,1014,932,1142,1504,1798,1394,1180,1138,1224,1142,1116,1180,1388,1284,1190,1242,1188,1214,1174,1360,1152,1294,1534,1920,1566,1368,1388,1328,1314,1368,1422,1384,1104,1196,1326,1456,1310,1362,1762,1396,833,749,806,678,631,691,698,1200,1194,1206,1142,1082,1116,966,1146,931,857,1116,1262,1084,863,1098,1152,1156,1224,1766,1348,884,985,1114,1284,1218,963,1256,1228,954,949,735,886,1046,1284,1386,1142,982,730,763,1338,1490,1280,1182,1246,1516,1954,2140,1922,1944,1780,1214,813,648,768,1188,1362,1024,716,529,501,449,458,641,955,1284,1360,1300,1122,1184,1312,857,702,768,982,1036,800,777,868,795,1032,1172,1308,808,982,1234,1288,1168,1009,1348,1670,1362,983,957,1122,1352,1394,1248,1432,1554,1440,1406,1494,1510,1504,1582,1562,1454,1548,1370,1176,1428,1186,982,1142,1160,1160,903,789,655,808,1226,1318,1224,1100,1306,1636,1612,1294,1354,1528,1536,1136,900,904,1068,1102,782,819,830,788,969,1140,1266,1362,1228,1260,1360,1336,1440,1346,1248],[319,285,381,504,384,481,907,789,670,697,755,690,458,458,564,615,766,490,285,339,480,352,509,497,381,355,361,335,329,425,501,340,278,264,257,297,241,464,544,483,356,326,379,430,422,376,321,386,374,322,428,441,442,421,419,337,291,290,344,415,384,295,303,464,620,426,304,300,411,403,781,1216,826,662,1013,907,915,799,1104,692,422,502,556,538,724,991,1208,1414,1450,1432,894,886,815,696,512,933,816,385,347,314,375,390,372,320,326,360,374,471,740,954,842,689,505,493,619,491,398,390,424,537,464,493,457,407,376,408,850,1080,835,703,579,634,519,437,466,393,953,1234,1360,1312,1114,1048,1066,713,797,1136,987,1110,619,430,456,452,390,391,393,367,358,348,361,509,572,936,594,764,1028,799,941,965,719,808,661,429,527,987,1078,1188,555,419,582,1100,875,513,396,370,482,677,961,828,391,359,430,408,417,474,591,978,989,921,969,687,631,774,728,904,959,495,390,386,361,370,471,433,797,1338,1408,1212,1490,1294,1142,1048,904,808,1072,978,547,402,789,943,1122,1208,756,1196,1194,1076,874,748,568,516,902,1176,1378,1448,1036,640,636,1072,1302,1218,1374,1144,845,816,905,767,545,398,408,613,831,778,908,727,907,905,905,1176,1346,940,539,639,955,1158,642,455,875,1400,1506,1390,1470,1614,1338,962,1146,1264,780,552,677,845,913,901,1138,1448,1460,1192,1292,1144,742,780,1172,1354,1388,1270,943,772,662,427,425,429,540,421,658,936,673,688,1134,1154,554,505,465,426,435,411,407,626,828,954,1156,1280,910,1070,1011,943,930,904,843,1036,870,611,561,781,940,885,597,678,688,1166,1164,901,854,745,825,805,833,665,818,967,859,1142,1072,1096,1226,1228,1532,2036,1988,1532,1274,1100,1034,868,1044,1282,895,725,680,478,355,370,803,1214,1284,1348,1292,1011,1118,906,739,678,1124,1246,933,907,793,843,824,660,592,865,637,644,828,1048,1026,1058,960,654,1017,1220,949,1102,886,496,412,586,1266,1504,1812,1534,791,822,613,607,744,1106,1180,968,1108,1110,1100,1040,1258,1580,1478,1234,1368,1160,625,1030,1906,1704,1554,1440,1476,1578,1338,1396,761,1036,1152,1144,1198,1182,1224,1214,1210,1436,1378,1250,1224,1110,1148,1058,713,431,592,734,797,726,716,850,1028,1078,1312,966,619,404,478,567,488,385,359,334,315,275,271,299,457,1128,1498,1338,1262,1398,1636,1486,1592,1700,1504,1562,1636,1352,1332,1304,1034,952,904,594,789,963,799,919,1001,1028,825,752,971,903,882,1056,1068,1036,1124,1080,737,771,828,1001,1042,982,600,528,678,597,424,320,592,1226,1826,2176,1974,1526,1230,1194,1296,1180,998,776,856,1148,1366,1344,1132,1020,919,761,583,944,1068,1202,1310,1526,1490,1520,1116,935,1312,1262,1146,980,918,872,1144,1628,1636,1290,1084,1246,1150,976,1050,1248,1262,1280,988,1042,1190,1416,1208,1216,1426,1426,1270,1254,1140,1144,1334,1462,1406,1526,1476,1484,1566,1332,1180,1084,980,1226,1226,1046,1050,719,485,651,846,919,718,575,698,1030,948,863,1046,883,633,565,843,939,936,815,813,753,992,1282,1178,1114,1096,1208,1296,1013,1250,1252,1454,1614,1596,1540,1228,1242,1296,1176,1328,1574,1594,1406,1232,1648,1482,1320,1200,965,873,995,848,881,1066,928,660,670,833,660,417,568,683,1034,880,694,827,1282,1328,965,843,787,680,982,949,622,1182,1344,1132,1332,1606,1290,896,823,944,918,735,523,494,450,432,553,764,1108,1422,1150,742,583,449,601,593,439,733,1274,1436,905,761,477,482,700,543,473,675,757,957,935,893,1016,1198,1158,875,581,566,544,712,608,520,542,494,454,504,912,1296,1350,1086,783,691,674,625,619,675,672,709,685,589,539,669,750,742,620,540,698,1354,915,647,729,659,452,345,244,228,242,280,358,387,298,320,452,371,592,813,927,1190,1144,927,793,724,616,492,446,426,607,648,424,332,307,327,318,566,1228,842,419,549,436,298,416,478,455,515,424,381,630,507,297,294,305,291,249,185,272,415,359,444,714,602,473,495,509,712,775,493,422,384,388,409,480,554,574,651,653,519,505,426,346,300,329,497,518,347,293,329,454,565,280,223,241,245,253,269,267,196,229,249,511,757,736,918,1248,1438,1500,1584,1542,1764,1810,1570,1416,1416,1526,1582,1548,1144,544,1208,1516,755,611,529,688,970,1322,1320,924,887,982,1126,1192,1108,1194,1204,1004,1040,1054,1306,1372,1388,1362,1344,1082,534,466,797,1220,976,781,836,899,949,1090,1208,1246,1102,1176,1374,1210,1028,1218,1384,1310,1230,1270,1110,993,888,825,1404,1378,1410,1630,1576,1056,1068,896,908,1178,1304,1346,1488,1236,915,650,370,455,598,717,1548,2016,1678,1318,872,550,707,1052,1116,968,1032,965,766,594,664,860,781,632,539,1036,1826,2076,1264,1036,1152,987,705,349,430,534,752,818,678,621,738,785,882,1148,1034,734,785,783,852,1248,1368,1220,1350,1684,1672,1694,1516,1500,1604,1176,952,1011,1040,1070,538,406,431,673,749,715,706,651,491,530,871,1526,1936,1454,893,854,1078,956,863,1144,1332,1552,1544,1452,1324,1178,1124,966,1010,1116,1068,966,626,505,576,763,844,752,783,941,1182,1144,1066,1234,1290,1394,1526,1462,1452,1354,1204,1086,1126,1260,1244,1294,1570,1538,1158,1076,857,784,963,1178,1220,1112,1084,1152,1138,1158,1194,1238,1206,1154,1130,1096,1246,1744,1770,1452,1056,705,578,644,1076,1386,2008,1718,1240,1254,1316,1324,1138,944,1216,1304,766,604,587,660,936,799,532,576,602,623,986,1362,1158,1188,1742,1802,1210,1838,1966,1296,1008,954,1052,956,932,881,1050,1276,722,598,584,688,792,535,619,575,510,507,650,1090,1282,1032,940,786,535,529,504,563,596,549,503,392,451,611,552,655,1005,1100,638,429,592,843,621,383,377,386,389,373,367,321,292,343,329,324,371,451,491,486,396,303,332,383,355,389,517,828,745,557,699,794,581,753,805,791,821,537,635,1040,1013,1086,1320,1118,712,895,843,739,713,588,580,754,965,964,684,512,508,530,623,705,751,870,1130,1346,1226,1072,1198,1090,1013,963,1074,1410,1396,1476,1448,855,716,996,1200,1080,1110,1376,1466,1284,1226,1096,946,937,905,812,821,893,991,1454,1902,1416,1538,1710,1318,901,1234,1598,1360,1288,1356,1138,975,1108,1082,1132,1240,1002,1048,919,864,890,864,1188,1436,1262,1164,1218,1174,1224,1118,1164,1298,1120,1338,1496,1748,1474,1220,1256,1152,970,1036,1296,1382,1180,1082,1066,985,993,1022,1130,1208,1046,930,1009,1428,1710,1632,1472,901,1120,752,379,561,921,1160,1150,916,690,593,769,807,741,540,482,460,725,732,1122,1282,1182,986,601,889,1460,807,1154,1500,1344,1176,1046,730,480,636,1144,1370,1146,827,819,856,930,898,919,675,807,680,1056,1214,1056,989,1036,1188,1088,991,1094,1202,1152,1210,1572,1706,1268,980,1232,1288,1021,885,897,903,957,875,926,1184,1148,1062,714,495,672,1026,1202,924,614,650,792,695,514,905,987,911,989,982,722,298,1794,2442,1494,1450,1354,1156,1144,1226,1322,1660,1322,730,432,480,820,1066,1009,863,680,499,978,1350,859,641,512,623,529,431,878,1404,1436,1390,1376,1366,1060,998,1078,1005,1124,1116,1022,873,1256,1908,2020,1810,1448,1366,1398,1478,1504,1640,1704,1748,1764,1536,1556,1704,1654,1418,1342,1282,1092,1084,1240,1392,1340,1004,910,1176,1594,1656,1556,1484,1368,1268,1508,1232,1422,1130,1072,1104,1076,987,1005,1134,1128,998,1032,1056,984,795,658,742,995,1226,1260,1204,964,974,1224,1222,1102,1068,1360,1392,1358,1294,1176,1044,1092,1216,1154,1138,1226,1144,1184,1122,1150,1226,1280,1270,1086,1032,1248,1412,1354,1494,1398,1294,1290,1362,1208,1130,1470,1466,1328,1334,1284,1344,1414,1180,908,915,918,776,899,999,1332,1518,1268,1230,1206,1506,1582,1572,1322,883,739,719,1046,1254,1200,1228,995,762,788,1092,1202,1182,880,771,1190,1152,709,1118,1228,1042,1007,924,954,930,1010,1156,1142,1218,935,730,990,1192,1088,968,1160,1450,1616,1808,1996,1822,1538,1098,742,753,873,1394,1322,874,697,658,706,700,667,664,880,1226,1196,990,907,1310,1252,963,844,1372,1620,1174,1122,1084,991,877,1246,1152,1244,959,1124,1254,1092,1005,1068,1404,1680,1412,1010,1070,1046,1084,1202,1422,1490,1476,1492,1572,1550,1556,1642,1606,1310,1036,1246,1244,1064,991,855,996,894,956,953,747,565,477,696,1168,1484,1298,1318,1440,1620,1644,1684,1542,1518,1378,937,859,871,1138,1238,916,965,722,546,650,1015,1228,1260,1166,1148,1446,1526,1314,1158,1332],[551,321,324,320,370,362,406,740,1017,1118,1021,816,540,521,683,604,682,321,213,233,264,284,460,616,513,386,367,348,410,602,576,388,402,446,578,686,504,353,404,483,547,473,469,419,318,291,279,290,281,257,269,270,280,298,297,315,346,324,337,456,508,339,419,897,838,479,354,609,785,397,519,1070,767,440,593,610,928,624,760,780,447,354,507,701,940,982,1400,1438,1576,1816,1080,876,1158,1076,529,716,882,400,332,276,383,427,423,383,372,357,317,425,718,865,780,734,604,568,563,536,416,437,425,441,606,692,641,554,408,548,924,1044,830,604,504,549,549,513,500,480,899,1168,1238,1228,1124,1250,1324,634,875,996,1058,781,419,391,403,373,386,386,363,391,425,414,634,1080,711,399,348,334,653,974,1078,770,622,687,601,556,987,1494,1300,634,410,323,571,824,736,667,397,571,524,495,528,408,319,347,372,387,379,503,987,1198,1216,1208,963,527,677,911,1372,1542,1360,874,570,502,349,325,416,422,466,606,756,800,998,1138,1306,1072,940,821,692,577,426,558,987,1136,1320,1208,1052,1218,1326,953,787,763,644,663,752,850,1214,1470,1148,1034,910,1068,1156,1438,1506,938,565,577,700,971,847,704,500,904,1378,1356,1222,761,924,969,1526,1844,1318,995,633,527,740,842,397,514,866,1324,1534,1522,1550,1400,1236,1110,703,777,774,451,543,719,829,1146,1050,1010,1104,1192,1410,1142,414,404,745,979,899,1184,1310,1228,1076,725,374,495,919,946,972,1128,864,752,443,321,242,247,376,409,300,302,469,447,395,546,1234,2004,1682,1122,1076,1168,1172,1122,818,618,517,686,1016,797,941,1158,802,821,838,1050,710,343,462,786,804,756,935,722,748,730,1096,1440,1276,1224,1240,1288,1210,1478,1648,1478,1302,1154,1250,1166,1116,1214,1440,1276,1290,1174,947,861,1098,1334,1478,1542,1242,1144,1144,751,510,673,1156,1034,978,851,696,651,714,676,880,1192,935,1504,1312,1244,1180,1126,1004,826,1040,1104,1212,1168,674,644,636,687,1332,1478,1838,1766,1016,724,568,500,584,979,1162,1070,1274,1334,1040,995,1266,1336,1490,1228,1058,1102,838,1352,2258,1982,2356,1958,2194,1808,1218,1260,1098,1238,1312,1410,1212,1108,1212,1394,1238,1366,1334,1344,1304,1216,1038,924,825,713,619,641,694,750,741,954,1052,1362,1878,1368,706,333,355,430,454,509,713,875,469,267,269,324,383,949,1570,1512,1308,1506,1622,1574,1636,1506,1268,1274,1572,1462,1394,1288,1268,1166,1106,1114,1192,1072,984,1512,1488,1276,972,926,674,593,637,760,749,703,1166,1050,824,991,1032,1142,1128,982,963,985,920,825,803,558,552,1054,1592,1770,1770,1526,1262,1332,1364,1292,1126,1020,1116,1184,1086,1003,932,780,858,989,715,1058,1124,1194,1252,1352,1454,1520,1126,892,1062,1414,1478,1092,930,912,995,1128,1216,963,780,709,754,932,1038,1436,1200,1416,870,794,1146,1282,1166,1236,1296,1248,1104,1058,949,977,1104,1132,1128,1376,1566,1520,1320,1028,1076,1282,1590,2026,1744,1982,1154,728,480,644,671,619,594,636,850,1126,982,694,650,556,561,654,775,882,817,797,789,719,1196,1440,1214,1192,1234,1224,1080,1054,1172,1230,1280,1332,1344,1378,1340,1478,1600,1786,1730,1688,1598,1504,1146,1456,1382,1346,1460,941,750,957,999,1056,1328,1692,996,859,1422,1238,726,625,582,843,886,839,1060,1044,888,763,612,879,758,816,984,869,944,1234,1134,1116,1072,1240,1328,1106,932,1007,651,490,533,456,871,1014,919,1242,1724,1250,820,720,419,822,1009,886,1472,1588,1232,617,363,495,773,937,796,702,967,1168,1272,1248,1128,1019,697,973,1070,708,590,547,597,688,613,541,553,615,393,426,1250,2424,2332,1752,1042,635,579,651,809,863,748,709,492,348,372,374,501,1005,1236,858,575,543,606,709,578,447,353,231,288,292,293,652,608,273,341,512,414,309,532,526,642,1120,1018,678,965,1210,971,735,753,819,571,305,336,296,289,271,269,501,392,440,630,404,287,354,296,312,425,435,390,773,677,404,530,463,317,310,324,313,299,260,309,542,515,419,446,505,730,549,486,555,421,304,268,273,279,326,473,557,609,596,746,699,549,458,592,535,368,357,371,404,424,237,241,279,404,371,333,327,232,236,263,297,246,258,420,499,830,951,985,1294,1616,1710,1676,1608,1702,1726,1792,1578,1410,1222,1298,1034,757,877,661,797,1064,1268,1094,885,899,1158,1396,1260,1074,1166,1032,675,873,1040,1258,1188,1240,1214,1122,858,479,578,1001,1382,1246,865,644,1050,1028,930,1088,1322,1534,1488,1202,1076,854,702,1050,973,871,1174,995,760,746,977,964,1118,1830,2380,2150,1208,1240,1182,1122,930,1206,1414,1246,874,626,453,372,610,733,977,1912,2146,1900,1344,1134,840,505,647,720,834,1048,1104,1208,898,1011,1260,1148,1098,902,1186,1828,1620,871,798,978,933,682,404,379,626,838,785,817,949,1074,932,1018,1202,1102,1158,971,943,1192,1340,1244,691,993,1032,1021,1344,1354,1504,1528,1178,1100,1450,1162,1176,661,378,354,491,571,608,645,661,501,409,730,1562,1810,1362,940,811,846,846,1052,1134,1090,988,1188,1360,1522,1544,1382,1288,1172,1142,901,764,827,827,619,614,650,565,698,790,948,900,933,792,912,1296,1434,1374,1320,1158,1206,1100,1030,1052,1364,1554,1682,1308,1188,1284,849,497,760,1084,1022,1064,1110,1138,1100,1096,1114,1694,1568,1324,1274,1194,1368,1506,1214,1092,822,647,957,882,1016,1030,1428,1426,1350,1472,1468,1478,1450,1168,1136,1272,1442,1508,1310,1054,967,748,637,610,636,595,913,1376,1584,1438,2024,1820,1116,1300,1616,1918,1566,980,998,872,836,858,1064,807,587,599,576,803,816,645,647,679,705,565,712,1260,924,545,664,852,648,429,389,515,611,552,437,421,546,538,577,692,812,687,689,790,1078,1160,688,436,482,491,354,341,350,329,372,449,458,459,454,502,500,441,426,342,266,349,368,388,385,396,458,659,951,927,765,719,507,636,971,850,433,591,960,1222,1274,1596,954,584,561,678,724,611,560,558,831,1166,871,684,686,811,1007,1274,1434,1440,1366,1124,714,469,686,611,585,919,1588,1860,1838,1926,1508,929,763,1076,1210,1216,1332,1294,1378,1246,1212,1278,1192,1062,1042,1112,1220,1242,1038,1780,2292,1576,1682,1650,1282,1042,1192,1490,1438,1306,1360,1244,1072,1222,1082,1066,1152,1178,1068,880,954,892,929,1164,1158,1080,1120,1118,1050,1232,1300,1436,1408,1388,1428,1632,1880,1588,1314,1278,1060,1003,1017,1362,1266,941,922,847,765,1142,1408,1576,1908,2208,2394,1470,1642,1732,1542,1344,810,713,616,509,745,1120,1416,1456,1350,1208,728,949,1028,976,833,785,972,1086,691,1134,1720,1292,895,754,1342,2144,1544,1114,1288,1352,1188,672,402,459,856,1316,1015,849,623,955,1136,1302,1830,1358,711,556,593,949,1250,1340,1366,1182,1228,1198,1060,1074,1306,1378,1244,1284,1272,1124,1070,1018,803,487,718,1166,1266,1142,890,862,918,969,969,764,686,764,864,748,547,592,677,942,836,604,801,889,887,780,562,423,361,745,1252,1296,1308,1260,1154,819,967,1312,1478,1284,768,461,668,945,922,885,735,909,911,1216,1132,890,755,560,506,420,484,1050,1528,1604,1578,1588,1384,1098,1086,1182,1146,1094,987,944,951,1284,1604,1778,1614,1524,1654,1638,1646,1630,1622,1618,1548,1406,1490,1538,1590,1610,1666,1684,1776,1902,1794,1656,1754,1902,1676,1412,1416,1508,1334,1516,1496,1656,1662,1686,1376,1136,891,1050,1230,1114,1054,1062,1062,1066,1172,1302,1182,804,789,1011,832,806,1034,1112,1300,1300,1314,1362,1216,1052,846,1174,1226,1196,1092,1170,898,706,1078,1182,1166,1268,1288,1234,1064,922,969,1238,1136,1126,1190,1156,1114,1350,1692,1518,1432,1124,1098,927,1438,1686,1056,696,740,718,556,815,1106,1134,1158,862,683,900,1406,1686,1054,935,1130,1368,1802,2054,2056,1666,1568,1268,760,858,1234,1240,1070,847,646,678,963,1300,1356,1212,1015,1238,1074,894,1198,1290,1400,1516,1302,1122,1182,1476,1676,1346,1272,1038,871,1116,1092,1080,1326,1434,1590,1694,1654,1710,1330,922,880,1030,1526,2028,2158,1650,1154,813,791,920,1156,959,783,949,1340,1264,1204,1268,1372,1240,1078,1300,1742,1686,1694,2032,1398,979,926,831,806,876,1116,1238,1080,946,943,1110,1166,1168,1378,1294,1294,1350,1436,1528,1582,1578,1588,1616,1630,1578,1544,1360,1216,1302,1312,1310,1260,1026,755,727,680,582,582,776,1084,534,405,536,841,1160,1156,1170,1288,1520,1584,1500,1412,1428,1286,830,933,1140,1382,1494,1572,1414,938,666,896,1250,1282,1146,1206,1228,1422,1498,1368,1210,1576],[867,523,421,374,495,647,781,793,993,1016,865,1040,1052,565,495,605,586,332,304,310,394,425,589,720,533,306,261,267,387,559,699,751,866,624,497,630,592,430,358,308,321,192,215,223,251,251,234,225,239,270,287,291,295,327,318,279,299,315,342,866,969,731,825,953,726,483,355,476,513,339,349,747,738,379,328,620,721,437,598,767,513,473,558,973,1350,1140,1168,1312,1272,1168,836,611,864,957,684,578,821,350,271,269,324,342,369,380,377,308,236,309,558,653,569,591,602,627,519,559,498,512,451,401,509,577,658,560,369,487,531,535,480,501,557,622,527,430,363,509,905,1090,955,1082,1330,1240,1072,675,788,650,554,413,368,380,372,349,358,367,406,401,420,521,921,985,600,673,685,363,349,556,803,697,421,505,704,703,1174,1160,775,723,597,496,1036,1208,1310,1190,774,900,658,467,359,298,261,311,340,361,459,1164,1710,1094,980,1040,1288,1100,1024,998,1266,1468,1318,1082,1158,1042,622,308,335,375,366,353,373,408,476,814,995,964,1180,1124,749,588,488,592,791,971,1094,1168,985,882,866,544,486,697,927,792,735,1130,1322,1258,1214,1074,767,808,1186,1492,1432,1016,628,651,1046,1396,1014,764,802,933,1172,1520,1398,811,591,778,1324,1422,1300,1232,1088,762,498,450,692,760,853,1056,1372,1622,1534,1144,1192,1256,1102,1054,1134,778,595,744,979,1212,924,866,1180,1230,1478,1250,480,539,654,760,884,889,1010,1360,1426,998,596,742,1096,1146,1256,1520,1242,808,458,363,339,327,407,413,368,613,813,523,540,880,1636,1816,1864,1488,1174,1216,1448,1352,858,658,691,506,918,962,892,863,901,938,1030,1124,694,402,477,825,1068,949,1066,988,862,807,1114,1362,1152,1086,1178,1068,1032,1772,1778,1374,1136,1236,957,1018,1178,1182,1202,1110,1110,1256,1050,1050,1376,1656,1472,1620,1222,994,772,437,382,846,1100,713,615,703,576,570,724,660,927,1094,752,1064,1130,1132,1026,794,623,631,603,893,1162,1088,1036,1042,1174,1354,1432,1582,1804,1340,812,990,980,763,484,633,868,918,1234,1076,896,1086,1210,1700,1958,1134,1005,1544,2166,1904,2022,1516,1578,1720,1720,1340,1136,1294,1448,1302,1120,797,701,1070,1328,1230,1172,1452,1494,1142,1009,1154,1138,1074,904,896,720,627,683,877,771,1276,1386,1452,1482,1336,824,369,306,338,382,504,588,717,556,397,413,482,488,923,1530,1704,1588,1680,1688,1478,1162,1108,1306,1532,1796,1624,1368,1264,1286,1208,1208,1334,1438,1002,667,968,1358,1242,1084,1152,850,716,957,1116,869,747,744,793,1170,1058,1078,915,924,985,1070,1148,1042,910,894,697,539,960,1298,1278,1408,1158,1038,1322,1368,1112,928,876,990,1018,955,877,613,444,453,618,688,1096,1362,1494,1322,1190,1472,1636,1184,717,793,1382,1404,878,768,905,983,930,838,915,943,1640,2680,1470,860,1138,774,679,739,802,989,1206,1444,1362,1214,1112,1052,1178,1086,1208,1096,1013,1316,1566,1550,1376,1023,637,776,976,987,1184,1296,2008,982,662,559,554,534,526,581,626,791,1140,994,631,542,535,597,727,915,957,861,821,755,793,1292,1300,1326,1342,1284,1404,985,1142,1318,1368,1394,1460,1516,1550,1736,1954,1906,1896,1764,1798,1852,1848,1272,1422,1448,1396,1302,1066,1094,1222,1310,1436,2266,3304,1754,1186,1584,1464,938,625,653,839,805,686,1116,1046,608,509,467,684,737,647,735,869,863,1021,1460,1534,1520,1578,1164,787,800,879,642,771,966,937,762,675,848,1154,1162,665,946,811,480,653,1120,1228,1388,1044,635,401,230,362,645,982,928,1011,1212,1142,1036,1288,1356,1132,719,819,722,613,655,618,685,738,621,585,604,784,614,625,1462,2318,2568,2486,2304,1806,1094,561,470,561,636,436,356,399,416,435,451,556,667,603,499,565,599,460,358,352,278,251,305,321,371,860,874,410,349,419,371,286,380,387,389,778,793,519,700,913,1010,1190,1176,1220,1100,618,550,434,401,374,406,432,412,483,465,378,490,471,297,297,348,384,269,252,238,356,726,607,269,357,399,399,345,318,235,318,336,458,605,618,742,601,530,568,389,346,269,321,323,267,320,498,455,365,503,484,418,574,684,656,647,602,471,343,313,310,316,351,532,612,586,518,363,299,345,327,345,303,263,324,374,269,323,456,552,960,1106,1128,1296,1584,1618,1542,1602,1662,1626,1496,1496,1412,1332,1360,1552,1484,1106,1054,1218,1396,1238,1106,1326,1490,1300,938,858,717,534,631,799,965,1042,550,486,784,1078,1448,1482,1240,791,826,852,973,1434,1450,1178,861,906,1190,1162,1130,974,761,905,1150,1344,1350,1002,780,853,1058,1490,1850,1324,773,1122,1526,1428,1006,904,1440,1512,882,598,729,529,735,920,1086,1294,1660,1494,946,1058,1036,747,518,541,839,1054,1188,1182,835,1070,1021,700,799,872,1088,1366,1198,840,754,878,847,671,551,447,496,567,567,719,1026,1208,1102,1012,1054,1234,1276,981,1050,1134,999,1003,897,931,874,915,963,1108,1028,1144,1240,1282,1566,1316,1342,1018,653,507,477,490,381,369,450,437,419,751,1760,1858,1416,1090,1100,1074,1070,1260,1288,903,486,531,850,1230,1436,1536,1434,1228,1122,986,1108,1330,1238,786,790,761,581,595,703,807,759,655,642,846,1172,1244,1294,1308,1166,1136,1130,1092,1320,1526,1592,1442,1214,1360,1264,1054,929,1022,1180,1134,1056,1144,1230,1130,966,1628,2586,2376,1306,976,1316,1318,1252,948,941,822,1100,1180,974,752,1048,1226,1066,1140,1382,1316,1418,1596,1508,1470,1172,1428,2082,2286,2024,1728,1528,1256,933,844,590,547,1064,1852,1622,2174,1864,898,757,924,1294,1394,913,916,832,927,1016,1652,1130,645,545,677,833,717,724,772,785,785,540,913,1410,845,498,419,492,635,488,295,404,430,359,358,382,400,411,537,470,621,706,1214,1050,742,1034,1036,781,643,542,349,341,413,403,431,509,495,474,510,527,458,401,467,328,272,392,388,331,293,268,396,577,869,1158,1152,688,546,579,786,980,499,412,541,791,1036,1310,1020,547,511,594,728,846,689,686,958,1338,1132,929,1036,1258,1372,1356,1130,858,659,499,411,312,399,825,774,1028,1546,1974,2040,1600,1318,1122,847,1076,1306,1556,1760,1748,2114,1644,1088,1208,1220,1088,1012,1012,1216,1318,937,1438,1812,1622,1560,1550,1522,1378,1462,1674,1672,1590,1510,1238,1020,1166,1118,1110,1170,1294,1068,918,985,822,922,1132,1064,1124,1186,1146,1086,1068,1248,1236,1268,1450,1440,1572,1754,1650,1374,1230,1180,1196,962,1186,1262,922,640,579,653,1172,1334,1288,1594,3100,3698,1600,1310,1542,1350,1120,710,614,909,1134,1146,1250,1498,1642,1470,964,876,1338,1214,1122,1148,849,940,924,598,1642,2414,1808,914,810,1184,1386,1428,1136,1144,1152,1060,825,608,677,1076,1396,1138,886,706,824,1082,985,979,841,733,694,653,689,933,1126,980,882,1088,1140,1206,1210,1418,1488,1238,1178,1276,1316,1036,881,834,708,1034,1162,1138,1162,1046,848,866,1130,1052,782,839,801,1019,950,863,894,985,1078,824,511,628,790,648,521,370,331,375,841,1318,749,590,945,1146,936,949,1042,1078,998,813,684,885,969,1030,1126,929,803,818,1094,965,845,1030,916,900,749,701,1074,1332,1534,1430,1338,1224,1328,1598,1484,1390,1376,1472,1532,1512,1562,1622,1654,1636,1348,1074,1146,1070,831,1014,1380,1174,816,1042,1526,1760,1716,1590,1242,1184,1438,1472,1500,1650,1654,1748,1732,1544,1538,1328,1192,1516,1640,1504,1576,1418,1184,1142,1228,1322,1254,1224,1306,1072,1008,1180,1214,1110,790,808,865,749,1003,984,941,1088,1082,1278,1240,1180,1072,719,865,1378,1310,1108,1312,1136,841,874,1174,1382,1486,1314,947,661,731,1164,1342,1164,1168,1190,1302,1494,1520,1478,1428,1364,1106,1086,1054,1208,1076,813,597,652,790,727,850,1018,1322,1354,1108,945,1340,2116,1760,864,579,844,1388,1754,1694,1856,1626,1434,1256,791,926,1214,1160,1046,934,944,682,646,896,1058,1110,1007,1100,1046,1052,1102,1160,1534,1782,1582,1450,1418,1566,1726,1422,1368,1394,1352,1238,1080,1130,1300,1556,1510,1450,1380,1578,1416,1198,1688,2432,3054,3296,2610,1864,1610,875,804,800,1084,713,868,1150,1418,1312,1262,1226,1262,1174,1098,1246,1354,1382,1404,1648,1350,937,822,725,945,1122,1044,943,893,1058,1132,1180,1440,1350,1490,1606,1644,1628,1576,1566,1632,1678,1606,1410,1354,1328,1262,1162,1488,1688,1542,1444,1148,688,662,726,715,658,539,905,1522,1012,583,438,500,849,1196,1182,1092,1154,1310,1260,1228,1324,1370,963,1252,1548,1512,1554,1666,1486,1234,1098,1026,1196,1266,1180,1290,1282,911,1290,1324,1086,1302],[833,540,328,300,352,578,869,1142,1030,789,693,801,930,628,558,822,761,602,518,401,558,974,1015,742,520,462,404,272,284,354,349,496,721,552,392,535,642,531,409,272,264,209,273,286,260,234,270,280,241,247,266,268,285,321,311,286,260,314,259,325,415,576,777,727,463,681,501,319,267,223,222,362,360,305,429,971,1242,681,325,399,505,813,1204,1340,1382,1198,1122,1198,1286,1188,627,382,305,320,509,428,804,471,313,275,275,313,344,352,325,322,340,288,519,775,708,622,553,573,550,524,481,493,472,383,319,301,381,331,332,404,318,332,405,484,680,758,596,497,357,432,696,1068,849,1230,1554,1096,764,701,539,385,354,374,368,341,336,329,332,367,386,372,496,639,942,1090,995,1122,869,375,322,347,409,690,443,404,422,684,767,482,610,1022,781,547,582,662,1408,1300,880,1024,931,542,422,360,313,341,335,320,662,1302,1584,1194,1096,1366,1452,1424,1174,926,1082,1342,1060,902,1036,1196,1036,409,344,343,307,303,354,337,515,817,791,984,1384,1436,1005,714,484,635,702,618,758,1160,998,717,560,343,340,616,1188,1017,937,1030,1362,1250,1342,848,397,669,1232,1568,1656,1332,1094,1234,1518,1312,949,799,815,815,842,1072,1108,864,554,615,1080,1246,1132,985,1074,1090,633,482,935,1310,1310,1350,1584,1562,1204,1038,984,853,895,974,916,738,456,422,697,821,755,1224,1408,1580,1732,1402,974,1096,888,620,569,545,727,1156,1336,1472,1298,1078,1026,1060,1566,2088,1882,1502,840,397,389,354,340,332,494,892,1030,823,717,1080,2038,2368,2098,1412,1082,985,1416,1826,1438,1062,1284,843,1276,1198,742,986,1090,882,1140,1288,943,808,778,1084,1120,1214,1364,1214,735,637,1082,1096,1106,1224,1130,918,994,1300,1021,1244,987,1124,1092,1013,1180,1208,1194,1086,1090,1138,1132,1278,1378,1552,1260,1370,1212,1011,885,788,681,1080,1248,693,449,601,894,825,837,966,1090,854,674,1023,1212,951,771,923,1110,1188,1134,1208,1092,1076,1058,1278,1488,1324,1296,1156,1316,1402,1246,1094,1216,886,452,519,741,979,1274,1180,1172,1156,906,1310,1738,1208,1284,1560,1614,1362,1316,1210,1156,996,1102,1188,1120,1136,900,749,824,899,1108,1036,1330,1330,1316,1458,1180,856,1386,1580,1354,1412,1042,921,675,494,532,844,791,997,1230,1272,1528,1576,1064,546,400,566,448,529,478,372,346,490,613,733,1142,1418,1540,1798,1756,1676,1532,1212,1062,1064,1192,1656,1704,1416,1282,1094,1056,1078,1222,1224,1246,824,648,852,1136,1244,1400,1324,667,474,1030,1310,1078,866,619,644,688,861,948,648,808,977,720,635,860,800,884,796,811,860,665,818,924,810,738,888,963,824,985,1270,1168,843,904,626,466,538,650,900,1150,1150,1228,1754,1450,996,1218,1534,1388,971,788,1036,927,769,987,1038,980,1006,980,999,1128,2358,2708,1218,756,1068,966,596,650,996,1062,1148,1260,1132,1150,1198,1482,1648,1526,1508,1246,1202,1394,1508,1550,1316,995,601,605,573,572,641,736,521,574,710,576,491,523,532,539,597,789,1208,963,651,658,668,601,558,671,797,805,813,789,878,1378,1278,1288,1410,1410,1284,1136,1318,1428,1460,1504,1622,1668,1698,1912,2178,2182,2034,1896,1782,1764,1510,1140,1214,1494,1624,1542,1516,1212,1042,1074,1720,2452,2454,1516,1368,1410,1282,980,823,879,861,736,612,939,977,544,438,587,581,680,709,650,874,906,879,1404,1676,1228,633,504,440,519,503,523,982,1300,1188,1090,1398,1526,1252,1038,601,980,924,497,551,1036,996,846,670,526,431,316,360,801,1150,744,1048,1206,1272,1212,1278,1296,1240,1360,1160,654,970,1126,879,705,982,1166,729,556,793,672,611,1252,2050,2270,2374,2436,2376,2200,1692,1126,621,424,276,311,334,348,447,444,391,448,423,375,382,447,273,201,244,274,246,292,339,315,527,676,489,355,297,273,346,362,450,498,637,632,511,435,516,969,1306,1202,1266,1180,753,750,654,874,1116,1066,726,428,432,309,300,432,379,267,303,326,297,249,220,249,263,377,328,246,383,367,547,381,374,290,269,281,286,410,531,511,512,709,703,370,318,369,459,436,268,280,503,463,353,383,365,385,473,518,587,620,811,648,445,510,549,432,381,516,602,562,641,629,576,560,504,608,668,1038,1108,588,345,262,271,257,288,341,364,505,1080,1544,1410,1318,1306,1126,935,1202,1562,1680,1710,1770,1786,1576,1488,1438,1474,1350,1154,1272,1344,1230,1132,1090,911,1094,1224,824,774,813,497,577,828,1086,1460,1714,1698,1260,1338,1434,1320,1186,818,904,902,976,1274,1236,930,594,581,896,1176,1500,1624,1176,965,1250,1286,1320,1388,1046,620,976,1338,1368,1078,1052,1906,1866,1550,1086,1021,642,482,694,940,879,1023,1054,864,662,634,743,722,850,853,930,1122,1066,1022,1142,813,619,703,672,878,1200,1204,1040,798,717,669,744,849,590,564,751,571,405,558,604,750,734,906,951,1110,680,568,758,850,1012,1098,842,899,910,883,839,602,529,845,1294,1394,1546,1388,939,968,727,480,482,473,437,428,427,430,808,1694,1650,1346,1316,1204,1012,1130,1422,1364,565,393,448,789,958,1124,1364,1512,1512,1338,1156,1130,1280,1280,998,846,623,572,1028,1476,1164,840,1042,1094,1110,1106,896,1108,1396,1410,1250,1278,1356,1484,1308,1124,1144,1370,1296,1258,1378,1320,1174,1054,1234,1190,1098,1138,1180,1226,1704,2270,2116,1158,824,945,1270,1392,1398,1154,1130,1312,1054,918,1332,1692,1432,1098,1212,1328,1226,1384,1496,1666,1542,1250,1256,1514,1766,1812,1828,2054,2146,1340,1190,1018,779,1016,1236,1460,2226,1812,752,776,1106,1140,1248,764,775,907,927,1366,1742,1260,836,666,814,827,576,621,816,877,921,755,1254,1278,661,434,325,254,443,565,433,324,369,400,472,387,377,450,333,476,750,1184,1456,680,341,700,922,991,885,645,364,357,461,482,493,500,437,377,491,561,496,461,493,321,229,310,365,336,305,326,377,471,684,969,761,385,439,568,692,742,600,397,335,480,709,1180,1186,773,525,594,772,1178,1108,1142,1194,1448,1570,1506,1398,1186,935,716,551,469,439,428,397,359,328,709,963,1162,1360,1424,1220,1224,1238,1092,1158,1332,1400,2102,2468,2292,2488,1988,1250,1084,1084,1242,1220,1118,1120,1254,1168,1296,1382,1420,1432,1566,1638,1410,1286,1286,1494,1544,1306,1094,1078,1068,1048,1096,1214,1394,1200,1005,935,699,949,1130,1042,1180,1328,1166,1100,989,1126,1294,1330,1302,1312,1400,1638,1578,1614,2088,1936,1486,1204,1088,1146,795,587,685,700,872,1004,838,823,2722,3232,1642,1130,1132,976,1012,685,438,997,1306,1154,1168,1234,1324,1214,738,678,811,624,657,951,772,591,420,641,1762,1960,1854,998,977,1158,1292,1362,1222,1262,1174,1316,1434,1290,1328,1476,1536,1023,516,510,843,1190,1070,630,444,720,672,590,603,845,1034,892,996,1238,1182,1290,1206,1186,1278,1128,1005,1126,1100,949,714,756,821,974,713,879,1398,1260,780,628,858,755,583,816,995,1034,1118,1136,963,1074,875,622,577,562,520,619,843,905,490,382,574,966,657,455,901,1140,1104,1000,1030,948,890,749,768,635,533,693,935,770,527,667,1154,1236,1228,1212,1178,1360,1086,1024,1480,1560,1388,1238,1452,1622,1672,1618,1588,1616,1434,1464,1594,1658,1616,1486,1300,1344,965,517,534,612,578,811,979,921,833,915,1354,1428,1434,1498,1294,1090,1080,1156,1198,1294,1560,1456,1532,1602,1554,1430,1466,1594,1582,1604,1572,1468,1562,1608,1576,1470,1254,1168,1034,792,848,930,1078,1015,750,659,594,898,1116,863,1062,1062,1108,1308,1134,1062,1232,1130,1166,1400,1152,1130,1362,1498,1116,1001,1220,1416,1274,1102,980,802,875,963,1034,1018,1054,1160,1838,2382,1838,1518,1310,1412,1594,1418,1146,1092,1096,1152,1094,869,1016,803,818,913,1184,1268,1256,1198,1368,1440,999,738,524,745,1012,1262,1312,1380,1290,1278,1086,835,866,1072,1340,1482,1220,1170,761,617,729,774,871,805,948,1180,1220,1014,979,1434,1784,1646,1378,1318,1684,1582,1324,1288,1316,1488,1484,1376,1262,1354,1460,1394,1576,1832,2088,2162,2120,2344,2604,2784,2766,2386,1910,1908,1030,791,727,673,521,933,1334,1426,1318,1322,1450,1462,1274,1288,1314,1388,1574,1470,1394,1398,1296,926,762,1198,1350,1104,1172,1254,1384,1550,1520,1496,1578,1622,1638,1600,1462,1400,1288,1576,1582,1460,1390,1582,1248,1122,1158,1354,1422,1304,1366,1148,722,980,784,698,744,613,768,1214,1210,901,703,901,1372,1396,821,661,690,1282,1516,1342,1272,1332,1406,1626,1810,1650,1518,1490,1376,1304,1274,1092,1068,957,870,1096,1268,1236,1454,1288,804,604],[603,531,472,385,376,376,605,809,678,690,619,509,921,1078,782,661,536,367,360,395,492,951,1246,944,558,602,631,484,340,320,253,462,846,850,499,550,634,615,407,267,239,183,226,264,205,205,285,290,215,231,249,253,269,274,265,265,268,291,265,276,309,302,631,711,631,791,544,385,344,390,421,357,276,268,439,935,935,406,272,361,451,736,1140,1438,1456,1118,860,985,1346,1078,493,502,486,323,305,318,811,602,334,324,330,350,345,343,325,362,459,373,612,1246,1174,724,504,496,533,509,428,412,402,342,318,255,243,225,316,356,358,412,473,480,644,871,811,541,372,529,739,787,849,1178,1314,1144,838,562,417,362,316,279,313,309,305,320,335,332,266,543,1168,1166,1036,1032,781,591,503,424,475,462,349,368,549,643,561,534,474,305,372,565,574,425,307,375,836,754,539,541,417,306,303,284,258,306,323,461,993,1068,1070,1200,995,993,1346,1490,1252,1218,1368,1574,1218,836,906,1158,785,346,333,339,278,280,357,369,579,836,735,844,1122,1512,1042,590,479,949,1100,595,758,1372,1188,669,428,350,385,529,763,955,1246,1158,1128,1346,1342,658,423,875,1610,1978,2236,1730,1044,1194,1376,1238,1414,1112,717,816,860,954,1232,1272,959,600,720,783,835,843,1044,857,498,640,979,1152,1242,1472,1648,1504,1214,1060,897,790,662,612,745,643,387,340,424,434,604,1005,1308,1592,1544,1306,1188,1140,1074,726,528,508,856,1340,1428,1506,1326,1420,1456,1510,2126,2228,2458,2624,1438,661,542,489,549,507,564,788,892,908,872,1222,1878,2376,2020,1334,1110,814,1116,1652,1578,1324,1248,1012,995,926,920,1001,930,1052,1282,1270,1352,1284,1290,1328,1202,1142,1016,931,744,871,996,1028,1052,927,1108,1154,1084,815,799,1136,953,628,705,1005,1010,772,705,905,1330,1268,1226,1196,874,610,953,959,971,1016,1066,1138,952,1218,1186,794,673,611,894,738,698,1114,1380,1076,1038,1258,1178,889,868,1056,1272,1532,1470,1244,1048,1070,1096,1282,1266,1256,1068,595,614,781,1062,908,937,720,698,866,702,1022,1204,1564,2408,1400,1000,1498,1974,1158,993,1268,1298,1056,1086,1180,1013,716,623,591,494,521,489,480,467,846,1174,1224,1330,1228,1228,1460,1204,986,1448,1486,1520,1340,1010,1066,785,590,791,1090,1034,1204,1304,1186,1256,1404,1282,631,349,406,504,575,478,385,433,847,1192,1386,1650,1714,1642,1708,1440,1296,1120,1156,1210,1072,1130,1346,1382,1350,1354,1156,1162,1236,1130,1242,966,623,874,1152,1120,1134,991,747,376,354,686,885,836,1024,946,566,509,822,805,624,852,1048,893,522,825,731,617,695,1072,1013,912,868,800,697,491,462,544,686,1018,1316,1068,860,875,847,1003,1019,1194,1346,1286,1174,1076,1726,1830,1766,1256,1194,1260,1006,746,857,973,899,837,847,860,874,910,1124,1230,1260,1166,1058,818,878,952,580,703,1048,1048,1116,1158,1432,1310,1212,1506,1488,1336,1332,1256,1280,1256,1382,1432,1188,1048,713,613,647,680,980,1196,819,547,567,535,577,642,573,532,669,867,1088,905,752,882,895,641,539,683,767,825,783,621,1152,1328,1350,1402,1506,1436,1194,1450,1524,1472,1452,1574,1890,2106,2106,2222,2048,1690,1428,1362,1230,1152,1184,816,543,1134,1824,1622,1296,1200,1068,1164,1166,1084,891,988,1264,1238,955,968,1090,1126,1278,1184,1054,1064,847,556,672,935,835,798,886,894,824,891,993,1114,1332,1418,902,525,378,449,501,480,870,1260,1478,1534,1524,1742,1302,1168,865,988,905,436,422,535,523,789,899,670,439,369,327,569,788,597,840,1364,1262,1046,1164,1084,1013,1228,1118,808,1142,1015,796,948,1522,1406,784,719,744,575,494,927,1502,1948,2138,2280,2250,2218,2210,2042,1760,1048,424,338,288,321,385,459,509,436,347,354,364,364,278,245,308,445,440,342,345,264,265,432,461,310,313,465,480,611,808,646,698,721,694,567,351,687,1080,1092,1284,1050,495,354,559,1012,1226,1028,781,623,463,307,267,256,264,425,474,412,300,251,290,291,301,356,290,333,509,391,454,344,453,458,363,326,411,552,384,300,448,714,519,473,486,413,354,340,289,429,614,535,422,459,303,290,422,415,468,918,1086,821,688,714,622,402,400,587,633,547,561,619,644,655,796,981,1034,1202,1492,982,513,408,319,311,305,319,300,316,598,1306,1270,1086,871,670,578,636,773,1013,1290,1476,1496,1592,1596,1638,1672,1384,1242,1278,1376,1512,1586,1450,1270,1554,1524,863,765,667,458,752,745,686,966,1788,2094,1622,1354,1152,932,681,846,791,755,735,903,883,865,808,606,773,929,854,1184,1114,1144,1286,1306,1240,1158,1196,1208,1208,1370,1400,1078,1222,1748,1698,1562,825,654,635,420,515,707,733,889,1284,1172,1036,956,1028,1011,1120,1104,1050,914,930,1164,1282,927,692,902,990,886,1186,1274,918,612,576,915,1388,1210,810,933,985,727,529,489,520,1108,1262,1208,1132,752,451,534,522,563,874,1008,714,1146,955,832,779,841,827,774,855,1126,1200,801,735,1118,695,417,488,503,418,462,502,396,828,1518,1518,1078,883,959,984,1184,1348,1094,587,466,527,594,686,829,1226,1608,1652,1680,1524,1412,1354,1152,990,760,755,1044,1522,1478,892,608,972,947,757,735,752,1124,1438,1386,1338,1370,1288,1190,1070,891,1174,1360,1202,1340,1356,1194,1104,1032,1168,1154,1032,1060,1204,1352,1348,1162,1168,831,558,758,1116,1202,1108,1246,1330,1270,1114,1202,1550,1824,1332,1128,1192,1134,1116,1158,1372,1650,1408,1238,1354,1442,1430,1346,1758,1962,1570,1168,1198,1082,1013,1266,1096,1382,2144,1714,746,664,940,1114,871,605,562,714,722,1044,1190,1218,1048,807,899,776,575,550,558,753,809,906,1352,1046,576,543,416,360,492,586,655,512,462,505,496,551,790,646,408,614,923,1258,931,397,332,403,383,772,895,561,365,385,480,547,549,560,495,399,450,555,547,486,457,341,234,279,342,326,325,375,508,561,476,616,708,735,810,1026,726,721,953,571,323,410,866,1314,921,831,622,654,876,1426,1602,1572,1470,1438,1200,876,626,469,460,473,474,479,447,439,401,355,255,372,678,753,735,727,744,1216,1642,1866,1874,1844,1628,2066,2482,2302,2432,2252,1338,937,1164,1392,1138,1056,914,993,1058,1136,1118,1176,1382,1610,1686,1236,1174,937,1094,1058,1144,1132,1222,1096,982,974,1034,1162,1032,909,884,791,1030,995,917,1008,1106,1028,965,983,1140,1268,1138,1116,1316,1356,1704,1546,1470,1948,1760,1562,1224,865,910,850,714,857,976,1152,1212,967,853,1500,1600,916,478,468,719,1038,794,835,1106,1056,1036,907,998,1084,784,805,972,815,808,876,825,698,438,340,528,905,1013,1386,1652,1742,1440,1272,1200,1302,1466,1390,1542,1422,1214,1218,1470,1378,1134,767,586,1030,1366,1394,1019,593,540,624,675,832,1288,1224,1007,1186,1248,1170,1302,1388,1402,1256,893,694,1017,1072,1098,775,576,484,509,735,1252,1572,1588,1242,954,1136,965,519,645,930,752,984,1128,1362,1460,907,894,819,505,582,824,1032,957,631,626,636,860,830,636,841,1134,1398,1148,1024,1076,1072,985,993,769,562,635,852,760,722,1010,1152,1150,1208,1384,1064,990,1136,1282,1636,1810,1714,1700,1736,1656,1578,1466,1370,1356,1232,1288,1266,1394,1356,1158,1230,1196,862,621,546,921,946,1180,940,1146,1316,1300,1372,1592,1550,1256,1318,1412,1324,1312,1336,1356,1122,829,930,944,893,1001,1308,1378,1434,1516,1558,1622,1656,1546,1556,1520,1328,1302,1192,1090,938,815,866,814,656,780,1104,1310,1042,841,1176,1132,1248,1278,1156,1144,1306,1324,1362,1414,1448,1388,1222,1306,1334,1228,1554,1606,1192,1078,968,1036,1310,1130,1054,1116,1070,1346,1368,1430,1514,1500,1496,1598,1362,1078,926,844,888,979,1170,1058,979,758,915,1140,1146,985,1168,1148,1236,1262,739,535,526,584,580,804,1162,1064,1112,1154,1052,966,767,1106,1502,1552,1208,1048,778,681,659,580,616,725,820,686,796,821,861,1204,1486,1346,1230,1174,1512,1376,952,880,1260,1768,1938,1736,1240,1362,1420,1678,2106,2248,2040,2106,2470,2546,2404,2292,2244,1998,1804,1952,1312,1068,1100,835,611,799,1064,1236,1208,1442,1764,1910,1804,1580,1718,1510,1494,1500,1296,1234,1350,1358,1194,1296,1430,1462,1550,1606,1664,1650,1614,1516,1320,1114,1332,1414,1384,1440,1436,1400,1232,1290,1262,1224,1046,1164,1256,1390,1444,1230,1332,1216,789,1078,893,679,654,672,656,793,875,800,896,1130,1272,1262,836,681,721,1308,1482,1448,1232,1206,1304,1416,1574,1472,1458,1318,1090,1166,1020,1032,942,957,795,800,1110,1376,1488,1506,1106,868],[631,570,472,361,405,722,1158,897,749,1282,1218,650,855,975,689,565,652,467,361,444,491,792,1198,1102,792,1016,1400,915,343,316,283,476,956,907,513,528,728,881,501,288,254,219,226,238,226,220,228,220,228,260,269,272,267,269,272,270,279,278,256,277,414,405,460,443,937,825,614,534,678,928,923,673,499,351,399,469,423,444,368,338,307,503,1130,1492,1448,1152,802,737,871,631,652,1015,900,452,403,336,630,681,368,323,336,354,346,351,340,420,529,419,662,1138,1144,823,534,523,570,477,376,404,390,360,313,251,249,248,248,256,368,531,569,647,769,867,883,744,437,512,594,503,521,551,644,616,439,416,408,338,287,251,279,302,289,283,282,278,241,319,484,756,1026,882,621,380,483,611,640,478,338,300,540,872,752,373,282,350,359,406,588,612,502,425,379,281,287,301,270,244,246,253,260,316,290,472,796,602,839,936,834,914,1540,1794,1390,1326,1632,1550,1200,847,882,717,316,262,314,314,262,343,589,567,497,580,704,920,862,820,563,388,420,796,888,767,1158,1380,1096,578,380,351,423,441,509,983,1368,1180,1194,1770,1440,808,653,984,1650,1520,1502,1310,742,752,1182,1454,1212,742,752,952,1254,1764,1678,2078,1622,745,465,617,794,799,838,744,796,930,1070,1052,1272,1520,1578,1384,1218,1068,1013,821,641,677,819,721,562,392,429,425,467,505,741,1188,1220,1268,1144,1005,1046,867,810,566,954,1458,1732,1620,1114,928,1208,1538,2052,2244,2708,3032,1464,601,581,787,945,821,1038,962,1042,1186,990,1252,1974,2036,1588,1154,741,667,985,1356,1136,1076,1098,1130,1026,1072,1218,1146,1266,1128,1136,1286,1196,1350,1998,1924,1606,1232,1146,1078,963,944,1154,1168,1044,875,1134,1250,1158,971,964,1078,827,515,633,885,897,818,748,1062,1382,1534,1306,871,918,1048,1026,892,885,641,539,904,1254,1354,1092,843,762,619,635,403,590,1126,1260,1050,969,1376,1508,1178,1228,1260,1332,1552,1268,1168,1296,1340,1312,1292,1210,957,708,925,896,479,670,1016,920,822,930,964,827,860,760,1650,3458,1796,1282,1278,1194,808,900,1162,1226,1168,1136,949,774,619,524,695,843,830,709,747,562,794,1176,1238,1228,1272,1200,1154,1264,1340,1382,1334,1286,1050,1038,1234,1110,1058,1126,1056,1058,1208,1200,1192,1176,1366,1384,1066,578,359,530,730,926,1028,1072,1324,1490,1612,1450,1412,1286,1330,1316,1326,1354,1450,1274,926,623,736,1216,1186,1376,1368,1284,1116,994,1028,1026,945,912,901,1054,1098,853,775,441,309,529,833,946,1064,837,480,362,518,645,485,730,841,556,484,888,1070,811,740,1024,1090,915,766,764,763,542,449,725,960,1076,1160,1042,966,1028,1266,1088,688,981,1400,1362,1068,961,1518,1802,1520,1082,1112,1066,1011,1182,1194,959,821,999,1012,991,1158,1412,1564,1332,984,1054,1112,844,865,945,849,815,1120,1172,1048,1068,1384,1504,1360,1364,1404,1274,1294,1356,1244,1164,1220,1400,1198,1180,1052,891,971,1004,955,873,675,644,559,713,774,735,631,619,731,948,1138,943,771,843,761,535,588,750,783,813,662,827,1286,1344,1382,1488,1680,1332,1332,1828,1730,1562,1484,1622,2014,2152,2116,2048,1596,1158,1046,1058,944,1026,1252,847,680,1030,1640,1506,1318,1094,1102,1078,865,928,952,925,868,1250,1066,905,960,1210,1388,1356,955,655,617,616,847,1032,825,1009,1156,1106,979,774,801,822,968,1444,1284,625,351,404,412,633,1098,1150,1200,1384,1258,1596,1604,1396,1192,1304,1058,569,569,670,627,1212,1550,1600,745,479,493,520,971,1094,1498,1754,1242,1224,1282,1030,1028,1114,1005,687,914,963,816,969,1400,1226,692,813,791,714,608,576,781,1386,1504,1728,1926,1990,2048,2246,2220,1398,545,654,658,479,441,351,329,364,345,379,309,225,222,255,331,427,495,434,556,399,283,298,273,234,632,982,625,942,1346,1028,982,611,784,952,704,745,771,890,1106,763,453,476,980,1528,1230,896,1168,1136,1094,600,301,258,281,338,353,565,918,658,404,275,271,388,340,382,415,444,443,289,337,455,435,369,238,321,382,325,347,473,664,505,370,421,428,557,873,576,658,731,489,412,340,445,548,616,928,1044,821,794,910,727,422,292,497,677,732,653,688,600,681,706,899,1054,918,844,839,753,758,720,625,529,656,476,333,311,615,1228,1340,1052,913,826,812,735,591,625,1136,1236,1138,1152,1398,1608,1390,1138,1013,1028,1364,1576,1654,1578,1586,1526,1286,990,1036,775,706,936,868,670,687,1248,1208,1234,1586,1122,522,689,907,892,875,786,740,849,1194,1190,1048,1680,1206,996,1206,1138,1064,1202,1368,1278,1126,1174,1236,1244,1222,1232,1268,1202,1272,1402,1188,786,1015,1062,555,569,962,780,939,1202,1224,1206,1208,1178,1144,1192,1538,1434,1054,1212,1338,1352,1144,1040,1280,1222,954,908,970,756,568,549,834,1256,1098,661,744,891,1162,745,474,745,1218,1238,1366,1092,428,579,1013,887,738,852,984,1001,1212,929,818,876,922,1040,1154,1094,1074,872,530,879,926,520,385,472,433,336,437,496,417,838,1522,1620,1158,1076,1472,1738,1654,1308,1028,755,565,573,641,794,1036,1142,1258,1290,1394,1372,1262,1390,1418,1256,1192,1244,1526,1476,1060,688,462,756,667,485,687,1023,1330,1424,1548,1598,1306,1030,1088,1280,1238,1112,1232,1162,1048,1134,1086,1008,1130,1224,1088,1011,1018,1116,1166,1280,1282,844,792,683,934,1260,1212,966,913,1266,1422,1322,1274,1240,1186,1086,1134,1086,1164,1098,967,1366,1642,1208,1070,1196,1430,1360,1190,1636,1720,1190,1064,1082,980,1282,1364,1212,1392,2082,1736,1074,844,855,1124,1166,847,639,582,741,1094,1178,1338,1088,871,977,659,974,943,756,678,431,714,1136,914,565,551,593,591,658,659,714,821,780,684,515,963,1466,1054,659,702,637,542,522,546,495,474,380,1036,1020,476,398,441,536,563,547,561,486,442,444,485,437,418,426,340,260,265,327,331,317,340,589,727,668,830,1074,1094,931,1013,796,710,1114,795,403,360,426,609,587,1032,1102,963,1070,1328,1476,1192,901,846,659,570,511,499,484,477,482,469,469,446,395,356,288,332,815,1040,1104,1258,983,1378,1836,1942,1948,1946,1778,1980,2460,2050,1896,1626,1294,1044,1176,1280,1302,1044,969,1208,1348,1348,1144,1172,1428,1760,1766,1382,1566,1344,1502,1642,1432,1190,1252,1192,1066,1066,1268,1208,926,849,954,1072,1078,1042,1070,1060,1156,1224,1148,1156,1212,1208,1248,1164,1238,1418,1706,1408,1156,1058,1070,1326,1100,833,965,1098,783,938,1036,1446,1728,1534,1202,984,1144,1150,821,866,1132,1330,1224,1522,1384,1246,912,765,990,1094,841,861,1110,1170,874,860,939,1044,796,555,844,1338,1310,1366,1674,1484,1164,1220,1856,1336,1326,1742,2070,2046,1322,1052,1742,1918,1404,999,775,1036,1042,963,984,845,890,815,778,946,1302,1288,1250,1404,1440,1278,1416,1354,1420,1364,1080,888,1092,1138,904,705,725,716,498,579,1120,1542,1670,1426,1172,1288,1274,750,790,910,904,1116,1036,1182,1312,1088,1019,857,794,1044,1036,1007,980,991,1078,1028,996,697,616,912,1130,1322,1188,1032,960,1112,1212,1028,1066,999,869,1076,1094,1140,1480,1512,1510,1832,1826,1360,1238,1388,1472,1588,1588,1484,1358,1286,1354,1334,1342,1258,1090,799,698,824,1106,1188,1162,1250,914,843,793,664,700,847,1036,942,948,843,746,705,666,591,626,688,656,547,824,855,1009,619,263,313,371,389,681,1018,999,1258,1418,1564,1476,1416,1442,1504,1560,1582,1506,1494,1526,1434,1434,1354,1162,1088,1158,1410,1520,1240,1034,1100,1082,965,990,1086,1136,1136,924,1146,1312,1258,1346,1340,1304,1326,1314,1594,1478,1158,1198,1132,1120,1296,1042,1138,1134,1086,1152,1008,1114,1308,1376,1494,1780,1030,684,890,831,808,789,900,1060,839,1011,1178,1202,1354,1106,1106,1334,1310,1158,1104,720,616,749,640,827,937,1046,1384,1316,1266,1154,1396,1632,1550,1608,1206,868,1018,1150,702,529,625,953,1088,755,1040,1322,1036,1023,1482,1688,1412,1230,1394,1646,1802,2280,2266,1802,1532,1498,1288,1666,1644,1620,2040,1952,1774,2040,1998,1638,1606,1786,1840,1864,1832,1764,1322,1320,1466,1126,970,1174,1350,1418,1416,1656,1780,1968,2064,1618,1516,1438,1404,1424,1416,1430,1512,1560,1562,1620,1556,1532,1472,1486,1538,1646,1534,1154,813,927,1654,1450,1776,1506,1372,1396,1234,1196,1088,1011,1082,1238,1156,1170,1148,1166,1206,1260,1206,1120,1048,788,642,594,495,499,543,600,665,717,701,767,633,615,835,1220,1416,1516,1348,1216,1228,1340,1456,1404,1272,1166,1194,1054,890,1038,1088,1378,1344,1166,1520,1680,1460,1544,1318,1015],[850,653,771,911,1002,1080,1170,796,537,1492,1732,1084,1038,1342,1312,814,651,584,470,559,1052,1230,919,1108,1160,982,803,577,271,333,354,387,370,335,520,519,702,843,725,483,240,277,267,262,224,188,206,233,268,272,267,271,273,295,312,287,307,368,453,537,689,1088,991,624,890,923,1070,1282,1100,991,1272,1140,940,571,537,460,500,808,575,296,299,467,824,1080,1186,844,1007,1254,1204,1432,1202,1062,821,408,388,368,417,555,390,293,377,308,299,323,311,375,387,325,524,965,1260,986,552,462,511,461,415,366,394,409,335,280,272,266,263,256,287,412,549,716,781,810,788,691,443,374,399,397,433,442,468,386,358,381,417,370,280,249,265,274,271,293,288,302,295,247,321,518,802,752,462,401,583,684,649,520,408,359,575,845,822,830,526,395,385,467,652,926,822,595,542,485,393,337,293,287,258,246,289,331,298,335,312,378,646,936,803,550,1058,1298,1164,1034,1044,1208,966,625,561,390,274,281,319,316,311,673,1042,969,700,810,792,826,913,787,667,465,390,535,626,606,722,971,1152,548,315,325,479,806,1042,1100,935,847,1570,2120,2186,1956,1204,1054,1594,1426,1070,1034,1130,1114,1498,1608,1424,1274,1086,1112,1804,2192,1778,2066,2030,1318,792,960,952,996,1194,1038,1009,968,1064,1104,1252,1576,1598,1608,1390,1146,1074,678,618,584,869,783,630,480,415,339,325,325,324,647,1466,1854,1288,647,665,735,796,622,857,1210,1760,2132,1434,880,1015,1256,1486,1604,2014,2238,1218,574,538,869,1140,1172,1302,1350,1334,1112,774,1060,1532,1654,1358,965,584,442,694,1040,1132,951,1204,1368,1104,1222,1522,1670,1574,1198,873,1218,1122,1570,2084,1786,1454,1230,1082,860,823,941,1332,1166,878,848,998,1184,1282,1366,1456,1274,1054,815,726,905,993,1136,759,811,1112,1520,1238,885,1126,1310,1134,872,563,559,456,469,754,1036,722,764,668,492,462,338,498,869,1120,952,948,1272,1186,999,954,1046,1208,1184,1074,1100,1210,1188,1212,1200,1362,861,623,847,1000,526,529,790,794,865,854,479,500,872,1110,1206,1954,1776,1360,1128,955,951,923,1026,1092,1002,1170,907,977,974,984,1116,1198,1264,980,1068,1150,1204,1188,813,899,1338,1344,1274,1138,1316,1028,913,848,886,1108,1208,1418,1478,1196,1232,1516,1352,1324,1690,1400,1080,1210,1552,1214,628,692,1128,1344,1308,1246,1007,1168,1554,1760,1942,1482,1282,1224,977,1230,1518,1316,875,547,642,1108,1332,1564,1538,1368,1114,995,1070,1216,1152,1108,1088,1338,1176,1202,1104,567,272,356,683,965,806,563,573,434,629,880,510,537,506,398,427,711,893,869,946,1136,1390,1444,1248,785,955,905,542,817,1086,1186,1316,1362,1192,951,1118,1100,642,883,1224,1074,977,1104,1328,1504,1130,1048,1496,1164,835,1136,1284,728,669,844,962,1122,1384,1520,1314,1002,956,1174,1208,1212,834,975,1250,1028,1060,1300,1002,1110,1574,1632,1400,1402,1594,1362,1588,1462,1148,1262,1364,1482,1208,1144,1266,1068,865,686,599,588,682,883,594,601,938,1050,1242,1202,1002,1088,1076,1024,1021,689,609,705,711,723,781,792,625,1070,1326,1246,1312,1596,1514,1156,1760,1946,1824,1732,1536,1562,1704,1688,1638,1562,1306,1038,1058,1176,886,908,1102,983,1016,1230,1612,1542,1376,1232,1090,1202,1272,1106,819,590,626,1358,1546,1066,813,899,1208,1230,971,930,987,869,708,646,587,893,1068,764,671,714,907,940,711,1001,1360,922,502,701,824,1184,1400,1156,769,1102,1182,1324,1444,1508,1602,1654,1490,940,599,597,1002,1278,1386,1604,1196,857,783,706,591,831,1242,1116,1060,1262,1166,825,909,1108,961,601,826,1156,1156,871,823,870,725,871,778,785,717,666,797,815,789,871,1092,1288,1480,1632,1414,745,404,662,462,364,632,541,415,313,332,343,254,224,260,341,416,569,788,839,738,419,298,301,329,319,840,1344,1021,1286,1378,1007,675,844,1040,1158,1064,1020,1044,1248,1080,580,477,509,1122,1440,1096,952,1482,963,1026,973,559,329,309,351,385,835,1686,802,506,375,269,283,294,505,600,706,730,531,391,397,430,474,397,561,702,563,387,966,1618,1374,987,657,556,1082,2070,1634,1178,767,587,483,469,593,546,836,1228,1244,1046,844,919,580,446,458,620,713,735,661,657,692,747,785,839,857,787,764,836,778,720,824,847,910,1220,1266,818,495,899,1490,1484,1108,1094,834,977,965,985,926,1346,1416,1258,1290,1642,1816,1576,1196,1009,1248,1268,1050,1300,1548,1402,1362,1504,1528,1618,1620,1536,1476,1442,1354,1040,944,809,883,1428,1306,708,608,811,969,976,1017,907,1048,839,688,1226,1592,1392,1470,1646,1496,1244,1122,1032,1202,951,798,774,1032,918,1166,1194,1108,982,805,764,606,747,962,709,646,940,709,719,964,709,498,860,1378,1440,1444,1732,1630,1210,1166,1322,966,971,1310,1294,1100,897,864,966,825,536,426,438,622,624,376,496,1022,1426,827,421,847,1078,1007,1208,1104,635,654,1072,911,673,907,935,1034,1146,987,922,955,963,935,813,730,694,518,494,827,666,403,362,444,445,394,412,411,432,944,1502,1606,1388,1316,1774,1958,1566,1136,1050,1128,1246,1178,876,876,1102,1188,1100,1084,955,974,1080,1286,1418,1408,1444,1498,1462,1142,1212,1168,880,1688,1160,896,1242,1290,1264,1446,1558,1302,1124,1148,1128,1032,874,1112,1412,1204,1162,1296,1204,1122,1256,1200,1098,968,896,948,1236,1224,1786,1118,943,1022,1184,1350,1300,1008,1064,1314,1318,1200,1346,1190,1074,1198,1200,1322,1256,912,995,1550,1542,1086,1088,1180,1340,1338,1228,1504,1952,1544,1266,1206,1092,1342,1376,1454,1426,1882,1636,1030,1238,1394,1226,819,459,556,638,714,946,1010,932,614,922,940,1000,1758,1866,1748,1166,499,802,1296,761,396,430,450,415,633,753,886,1001,979,927,767,830,1244,1356,747,587,525,596,642,594,642,648,777,1254,1264,577,434,438,496,464,477,464,408,384,419,450,408,417,412,321,253,238,352,351,322,310,403,667,982,1194,1404,1106,482,593,833,604,1088,1011,469,348,395,844,1084,1056,741,573,622,913,1224,1070,607,377,422,460,439,463,459,492,511,491,465,440,412,394,332,296,828,1072,1018,1170,959,1468,1864,1920,1982,1914,1802,1692,1786,1426,1284,1278,1158,946,1120,1456,1570,1346,1438,1416,1152,1278,1500,1260,1402,1588,1678,1460,1874,2180,1674,1444,1494,1174,1110,1306,1220,1230,1266,1088,955,947,1003,981,868,1050,1262,1194,1064,1148,1218,1242,1286,1206,1198,1234,1316,1616,1656,1506,1450,1192,1266,1398,1082,955,821,960,726,965,869,912,1196,1214,943,688,912,1102,989,1011,971,1278,1198,1070,1080,1134,761,398,609,921,836,712,1004,1138,622,470,674,1238,1308,732,916,1498,1394,1284,1428,1376,1268,1352,1860,1416,1250,1558,2020,2236,1716,1292,1808,1732,1158,691,933,1278,1176,1164,1334,1132,1042,612,401,636,848,977,1094,1094,1210,1218,1312,808,1016,1166,1192,1005,1118,1076,752,782,782,1100,1032,818,960,1386,1440,1538,1560,1430,1294,977,842,927,991,1124,1108,1312,1412,1172,935,893,890,1086,1276,1238,1090,866,855,1002,1250,888,1408,1396,1178,1164,1098,1023,910,1134,1228,1174,1208,1216,1036,1198,1396,1280,1598,1794,1698,1562,1598,1710,1678,1556,1476,1380,1222,1242,968,849,1108,1094,929,1214,1250,973,1270,1326,1152,1212,1024,1058,806,1108,1080,688,642,795,736,822,763,536,820,810,686,646,954,905,650,551,550,568,635,462,488,703,865,1096,968,905,919,1396,1768,1508,1408,1154,1110,1276,1238,1222,1160,1306,1374,1404,1512,1578,1582,1662,1538,1558,1590,1372,1258,1394,1478,1312,1272,1222,1202,999,1160,1328,1282,1080,1304,1428,1422,1428,1418,1382,1380,1204,1244,1038,1094,1256,980,987,968,958,960,1050,1164,1388,1448,1458,1450,1316,985,775,783,979,935,952,944,922,1210,1030,780,758,707,1044,1390,1078,1152,1070,726,609,675,799,880,821,983,1346,1444,1482,1366,1614,1302,1218,1296,1004,830,1082,1338,772,475,579,1174,1164,728,1000,1516,1370,1230,1542,1506,1104,1003,1098,1998,3404,4070,3044,1588,1566,1434,1214,1346,1282,1406,1656,1562,1564,1624,1268,891,1396,1692,1758,1996,2352,2128,1580,1766,1654,1206,1238,1284,1326,1384,1416,1478,1522,1622,1664,1516,1494,1562,1604,1588,1488,1266,1246,1378,1480,1300,933,751,813,1134,1440,1538,1312,1084,831,888,1756,1466,1388,1336,1766,1744,1262,1050,941,853,772,1064,1068,1132,1252,1182,1114,1148,1084,1184,1202,833,678,554,483,429,426,561,552,608,555,709,603,615,808,1024,1390,1716,1504,1324,1216,1238,1374,1472,1142,811,782,752,1023,1214,1198,1532,1400,1422,1658,1668,1484,1388,1368,1166],[1266,926,937,1290,1508,1274,1396,1164,646,1094,1338,1068,982,1242,1154,671,381,360,559,1084,1750,1540,1058,1054,913,926,783,565,311,338,353,383,425,421,583,647,550,621,675,414,277,252,225,232,228,245,223,241,273,267,261,274,260,244,252,243,275,425,593,785,794,1224,952,645,746,745,927,1068,1114,1252,1450,1588,1412,971,772,833,1076,1150,676,306,286,324,429,406,320,484,799,1234,1168,1474,1172,662,399,332,359,290,313,636,650,661,750,412,270,344,392,422,431,350,431,1036,1426,1126,650,425,396,345,334,339,383,414,366,281,280,249,240,254,237,251,328,377,525,650,773,739,418,347,404,486,544,419,489,434,378,434,553,462,291,265,298,288,280,294,338,372,355,314,338,556,684,481,298,295,459,591,633,724,695,401,387,597,815,868,1064,1002,725,601,728,958,954,883,801,912,683,328,279,340,271,235,328,309,352,378,307,377,712,1108,834,555,601,1078,965,995,1208,1264,1028,915,748,378,341,260,293,311,321,874,1124,965,810,949,865,781,651,836,1188,755,612,839,702,411,387,923,947,436,250,324,804,1318,1276,1376,1186,1238,2170,2046,2002,1700,1158,1374,1782,1416,938,1260,1328,1034,1013,1130,1042,839,490,824,1534,1656,1580,1618,1942,1498,1021,1204,1114,1138,1224,1100,955,987,1090,1262,1370,1578,1714,1772,1532,1046,804,661,573,631,939,836,620,563,547,368,329,417,378,587,1284,1638,1072,588,425,534,711,904,1108,1224,1998,2254,1406,1042,1128,1096,918,965,1288,1632,1282,710,586,673,844,880,998,1290,1182,780,957,1054,1118,1066,1232,1238,939,781,595,1032,1372,882,866,1262,1362,1200,1274,1498,1404,1178,989,1050,1064,1394,1420,1360,1464,990,809,986,617,356,605,756,697,801,901,1046,1066,1160,1346,1212,1188,1218,1038,932,1026,1009,905,824,855,1124,951,863,1024,1318,1160,1056,467,437,526,400,380,400,364,692,1044,1017,613,465,500,695,780,824,945,886,865,772,547,828,1206,1066,735,662,901,1132,1008,849,1156,959,614,626,646,461,573,724,726,689,789,524,628,1272,1300,1070,1142,1186,1056,1122,1206,1084,902,1144,1260,1404,1582,1094,1146,1180,1304,1290,1216,1242,1148,1126,1212,1288,1128,778,1128,1204,1150,1180,1076,1194,1240,1378,1190,1090,1120,736,899,1174,874,867,1282,1428,1388,1676,1460,1098,1228,1634,1544,1176,1102,1372,1378,1466,1322,1088,1240,1574,1582,1384,1250,1236,1126,886,1050,1278,1302,978,801,724,1158,1318,1116,1160,1418,1332,994,1124,1390,1682,1544,1332,1488,1242,1298,1274,955,689,541,741,995,794,822,913,708,841,907,702,724,830,700,567,740,982,1146,1066,1078,1576,1624,1278,740,808,739,522,871,1278,1478,1312,1112,1118,1282,1930,1536,819,964,909,653,907,1056,891,1004,962,1086,1554,1224,954,1208,1386,1042,1010,1316,1502,1318,1122,932,885,1036,1130,1092,1070,1032,836,821,847,733,705,985,1030,871,1010,1218,1142,1578,1856,1244,1512,1488,1222,1142,1220,1250,910,871,812,683,551,508,553,670,760,878,682,1058,1284,1306,1732,1538,1138,1284,1042,1126,1040,857,800,995,843,673,760,753,860,1274,1328,1318,1580,1776,1252,1324,1838,1880,1786,1648,1614,1462,1274,1290,1158,943,921,908,737,849,937,1020,1160,1272,1388,1382,1518,1656,1682,1648,1476,1524,1398,1356,1060,478,462,996,1356,1132,1050,1334,1308,1054,1090,906,979,802,772,891,935,1128,1036,911,869,668,603,587,493,576,982,1520,1052,958,974,1050,1264,1250,986,863,1110,1538,1670,2024,1934,1876,1484,1024,829,883,1034,1068,1064,949,1028,1128,985,795,520,370,276,476,908,1108,1144,1098,1202,1440,1316,1078,1168,1282,1234,711,695,814,598,614,689,735,585,593,609,621,682,585,494,522,670,894,891,456,492,910,812,560,544,660,612,361,331,292,300,269,245,341,493,642,867,913,496,266,320,288,317,493,973,1658,1700,1794,1580,1244,625,909,862,996,936,563,507,841,970,1282,1108,590,1021,1142,912,1090,1478,810,527,967,1110,628,370,353,345,429,965,735,1368,954,330,269,299,412,613,777,524,442,397,503,388,355,453,520,792,688,325,1140,1948,1854,2202,1544,727,1700,1600,2232,2362,1306,623,312,415,473,408,568,643,885,1118,854,915,611,491,468,767,1021,805,734,724,665,636,724,821,799,716,753,738,803,1036,946,888,1028,1132,1262,1050,880,1072,1570,1456,1124,988,768,1068,1444,1642,1472,1498,1654,1716,1584,1520,1566,1332,1180,1296,1456,1206,963,1360,1648,1494,1350,1272,1344,1620,1400,981,1160,1224,1376,1534,1644,1578,1438,1618,1732,1266,754,799,1162,1312,1142,837,775,490,705,1328,1372,1302,1310,1412,1456,1378,999,1084,1438,992,756,666,819,691,1092,1462,1444,1014,664,595,493,471,502,582,749,706,582,645,700,494,483,944,1464,1606,1936,1638,1470,1444,1254,1298,979,965,1212,1268,1140,1048,941,1070,952,455,349,421,440,365,419,426,533,625,440,634,1152,999,992,1134,999,803,519,589,576,446,915,1198,1156,1310,1440,1206,1088,1216,1088,850,753,680,427,415,614,610,444,410,446,418,439,478,444,405,1052,1332,1334,1554,1668,1774,1688,1410,1144,1086,1252,1606,1640,1120,846,845,996,1052,1362,1264,921,794,1032,1144,1084,877,1106,1418,1350,1300,1266,1148,1522,1392,1312,1354,1274,1152,1218,1234,1214,1278,1114,1068,1042,1302,1792,1672,1246,1262,1304,1192,1212,1218,1096,1168,1152,957,697,917,1126,1484,1158,765,897,1264,1242,1124,1074,1172,1384,1140,969,1024,1026,1106,1318,1338,1234,959,537,833,1492,1408,1084,1170,1242,1252,1300,1338,1714,2080,1630,1266,1188,1216,1472,1310,1268,1088,1382,1360,882,1266,1628,1210,773,653,594,594,612,801,1778,1970,1234,969,837,1005,1296,1602,2006,1234,910,872,1262,661,384,452,479,520,517,601,775,774,830,1042,1078,822,736,855,688,749,863,901,816,843,805,621,760,932,1018,520,427,412,439,418,393,366,347,372,423,415,418,472,433,354,295,260,365,365,320,278,485,706,704,893,1282,1174,706,475,877,613,950,853,466,313,433,797,920,764,436,370,398,671,1144,1242,709,407,407,397,393,466,506,526,582,556,470,477,469,418,389,289,671,1058,983,845,925,1220,1450,1636,1860,1850,1844,1488,1158,1106,1182,985,577,681,1116,1426,1322,1246,1528,1282,897,1166,2182,1636,1330,1384,1534,1342,1438,1478,1146,1216,1504,1386,1132,1190,1098,1176,1216,1142,1136,1158,995,872,967,1086,1086,1122,1038,1118,1062,1212,1468,1336,1306,1354,1456,1664,1592,1388,1676,1698,1664,1864,1318,1026,667,907,1026,1022,830,918,1166,972,871,830,1236,1270,999,1001,1046,1428,1322,1032,1078,952,604,498,632,845,652,632,806,792,789,698,864,1488,1444,817,764,1074,1136,1202,1256,1416,1290,1240,1272,1226,1510,1902,2054,2254,1750,1456,1434,1248,1010,515,841,1114,1232,1378,1372,1384,1096,573,449,373,470,664,1074,680,683,1116,1210,647,503,1096,1542,1216,832,662,782,982,929,1156,1218,1328,1314,1170,1216,1582,1538,1360,1484,1418,1404,1066,1094,1306,1252,1306,1110,956,1114,1146,868,1044,1264,1094,984,951,1018,1174,1452,1114,1594,1726,1378,1302,1426,1422,1378,1528,1602,1582,1484,1360,1208,1360,1444,1546,1782,1838,1788,1694,1634,1594,1416,1190,1066,975,861,973,1028,985,1030,974,775,998,1090,987,1978,2026,1344,1206,1244,1042,1074,1138,789,466,670,880,811,866,741,796,1930,1266,1092,1224,1440,1538,1708,1622,1360,1302,1244,1268,1214,1124,1044,1194,1184,1174,1116,1450,1732,1788,1820,1188,828,1182,1328,1056,1100,1094,913,1346,2656,2270,1498,1456,1446,1570,1528,1554,1608,1626,1664,1630,1534,1544,1468,1366,1572,1614,1488,1528,1494,1384,1512,1654,1424,1444,1440,1228,1252,1238,1188,1236,1412,1562,1094,991,1084,1288,1410,1606,1204,1328,1354,1428,1184,796,880,1120,1190,1062,836,1340,1196,865,1003,925,912,1312,1262,1236,1196,1040,1052,903,973,705,743,919,1152,1384,1154,1164,1212,1078,1078,1188,1106,1746,1844,968,1007,779,589,735,1186,996,933,1224,1468,1520,1476,1386,1212,936,924,1086,2032,3172,4042,3022,1282,829,905,1082,1310,1344,1208,1214,1376,1554,1694,1132,782,1628,1848,1498,1752,2164,1840,1564,1670,1458,852,952,1172,1226,1490,1556,1538,1556,1636,1730,1724,1750,1748,1616,1344,989,584,494,558,764,822,752,645,744,1054,1428,1476,1160,1016,901,705,982,1248,1204,1130,1424,1400,1168,1080,961,763,842,1378,1316,1368,1444,1308,1098,1060,1322,1626,1462,803,659,558,536,505,474,480,475,515,784,974,1002,1170,904,863,1478,1708,1650,1242,1010,1114,1004,1364,1528,984,894,1122,879,772,846,1076,1234,1454,1436,1376,1428,1320,1192,1180],[897,661,623,1026,1170,1021,1178,972,750,947,1132,1015,874,907,862,548,408,322,599,1350,1870,1556,893,1080,727,797,619,338,342,507,449,364,372,368,663,785,419,448,403,242,272,223,194,213,263,262,223,226,257,291,291,258,222,217,239,267,318,553,583,751,1046,906,516,542,525,474,486,525,725,1230,1436,1692,1498,938,752,1122,1528,1220,501,291,273,267,327,426,454,742,897,962,988,1178,1228,854,748,788,568,362,539,1070,888,642,428,287,358,487,467,429,362,293,381,952,963,905,651,438,405,364,307,372,426,389,394,291,265,237,236,249,259,250,244,237,342,430,626,729,527,359,338,424,397,372,393,358,386,482,605,572,401,326,379,362,358,302,365,384,361,333,342,444,388,311,281,272,333,487,744,769,642,380,362,576,709,848,1054,1194,1242,929,826,893,1060,814,560,800,612,328,316,371,284,285,383,450,552,543,419,469,813,850,969,1146,1120,1254,996,930,1086,1086,1062,1032,725,386,345,266,241,272,563,882,945,843,934,1168,1054,998,831,1100,1292,729,394,341,308,298,297,524,597,409,303,531,1094,1120,948,1352,1426,1686,1972,1628,1560,1140,683,807,970,1002,1082,1182,838,667,846,819,574,946,880,917,1108,1118,1366,1804,1748,1072,941,1036,1021,1296,1482,1562,1564,1318,1188,1246,1420,1716,1866,1772,1758,963,630,637,455,611,806,752,596,647,640,469,400,435,488,473,388,688,576,408,448,576,676,849,1068,1748,2498,1978,1144,711,1032,1252,1212,943,724,1078,1372,1354,1108,822,648,724,897,766,800,642,489,459,896,851,1254,1406,1336,1368,1216,1466,1332,1026,648,898,1116,960,846,987,1198,1184,1182,1042,1054,1218,1194,1296,1284,1015,997,1296,803,483,481,521,702,982,1226,1228,980,1140,1434,1216,1102,1266,1328,1140,907,832,1230,1234,1146,1066,1078,898,736,1020,1108,888,703,783,716,531,436,388,383,536,821,744,537,662,653,695,993,1186,1080,623,444,463,389,559,838,819,604,772,939,949,1005,896,1023,1002,954,1060,1042,1126,1158,1188,1210,789,767,676,736,1138,963,1064,1262,973,1042,979,1080,1208,1316,1306,1182,1296,1454,1060,1164,1306,1246,1312,1266,1098,1076,1028,1158,1040,1306,1242,1448,1184,1008,1070,931,907,1210,1436,1474,1516,1300,1174,1220,1280,1164,1082,1332,1466,1396,1354,1350,1484,1516,1624,1500,982,984,1334,1208,1122,997,1152,1242,1114,1110,1346,1310,1196,1174,1136,1132,1064,1112,1100,886,714,1034,1156,964,993,1370,1196,612,1048,1208,1832,1506,1194,1242,1262,1390,1434,1484,1372,1076,910,1066,1082,1020,932,682,774,944,870,957,1166,825,601,891,1110,1552,1344,1003,1368,1434,1294,867,651,783,976,1084,1278,1384,1009,875,957,1400,1820,1334,1086,1154,874,626,750,667,507,863,1168,1080,1200,1202,1272,1262,1352,1256,1312,1456,1372,1220,1034,739,592,773,936,766,915,1036,927,708,899,1216,1044,994,1270,1086,904,969,999,1936,2246,1626,1454,1498,1574,1678,1508,1372,881,1208,1012,913,658,566,587,674,801,877,741,990,1108,1116,1220,1190,1176,1244,1040,1058,908,769,742,985,901,691,777,802,1118,1428,1300,1324,1736,1746,1486,1750,1946,1882,1804,1716,1518,1222,1064,911,658,542,770,968,837,1038,1286,1302,1272,1220,1364,1458,1410,1450,1432,1218,1388,1660,1382,1452,1224,789,494,538,1046,1362,1140,902,838,1094,1072,684,855,939,1174,1322,1288,1138,955,1106,1108,755,397,425,804,1028,1002,1400,1554,1306,1015,969,1013,1032,1020,903,1204,1818,2010,1654,1408,1410,1023,968,1128,1068,839,786,954,960,1068,1318,1170,801,503,331,291,384,760,865,1078,1356,1342,1312,1328,1272,1116,931,953,521,537,609,465,512,662,629,618,663,527,562,608,482,440,431,421,447,393,288,396,611,773,882,554,400,677,807,473,362,389,313,240,315,400,382,405,340,213,239,275,239,269,435,917,935,851,1532,1490,1200,991,762,595,728,846,766,625,645,883,1658,1244,638,1046,1418,1058,1007,1298,800,434,698,1272,927,634,481,313,248,257,490,976,613,214,264,275,296,503,528,309,431,390,272,237,253,352,451,666,556,598,1450,1530,1504,1544,1130,1012,1626,1276,2330,1758,813,766,344,329,465,356,144,593,509,728,910,918,805,566,525,977,1168,833,619,670,688,634,673,752,745,728,672,646,1086,1692,1444,1052,953,993,1060,955,863,833,1298,1382,1148,965,973,1252,1550,1592,1560,1486,1438,1596,1536,1038,773,833,807,854,955,941,890,979,1142,1176,1086,1168,1480,1648,1148,510,371,420,780,1066,1374,1602,1542,1540,1596,1512,1362,1322,1300,1324,1190,930,646,494,969,1514,1358,948,984,1178,1602,1412,937,1494,1372,1114,1152,946,874,874,711,787,933,910,980,998,888,680,639,684,698,672,756,1028,971,585,597,1086,1456,1418,1458,1392,1786,1890,1278,1116,1236,1156,1078,1068,922,815,785,915,707,371,380,498,609,430,415,459,452,473,416,816,1152,1056,938,1160,916,590,465,590,566,506,955,1454,1390,1436,1356,1124,997,1064,1064,995,873,886,744,590,637,594,439,452,460,425,448,532,472,377,1076,1384,1224,1532,1848,1588,1346,1372,1180,1102,1122,1526,1608,1380,1432,1360,1174,880,790,987,955,944,1028,860,865,712,850,1062,1230,1436,1496,1374,1382,1396,1416,1416,1336,661,902,2064,2072,1418,1158,1028,1114,1412,1578,1412,1284,1274,1172,1204,1286,1180,1096,995,978,831,678,788,904,990,999,750,737,1042,1354,1074,1190,1296,1152,990,1154,1220,817,726,1108,1278,1378,1144,886,1428,1614,1316,1144,1418,1470,1338,1450,1476,1618,1734,1360,1314,1264,1182,1232,1142,1096,868,1298,1414,935,1274,1556,1238,1152,967,726,671,598,1454,2574,2574,1648,619,420,876,1448,1382,1730,1146,1166,960,1216,738,448,539,618,615,562,513,446,417,526,808,1038,1042,1054,1050,760,690,789,770,781,966,1098,863,814,666,504,415,387,357,388,378,358,374,372,388,445,440,459,476,438,401,308,248,312,343,335,324,395,415,350,583,1140,1184,945,468,625,684,703,511,379,298,473,680,451,608,632,495,395,466,1011,1412,848,422,590,591,399,459,519,498,595,641,526,502,518,429,410,306,484,925,1038,767,761,1180,1236,1678,1856,1826,1858,1512,1266,1070,1344,1310,794,866,1068,1058,1046,1230,1238,1180,928,1150,1866,1572,1216,1384,1614,1626,1306,957,1016,1128,1160,1094,1126,1262,1316,1264,1262,1086,1100,1154,1060,987,1156,1214,1140,1062,1200,1288,1150,1458,1510,1288,1506,1562,1390,1414,1578,1268,1242,1182,1152,1286,1026,757,549,658,946,1102,954,1022,969,1300,1440,913,828,811,847,1154,1338,1500,1444,1150,1194,983,692,643,839,863,642,687,774,731,776,711,801,1120,977,579,474,548,709,957,1005,1170,995,882,1046,1198,1562,1820,1996,2334,1944,1852,1650,1522,926,378,358,543,949,1064,1068,1316,866,587,611,378,421,652,923,813,1032,1222,930,489,647,1256,1430,1226,854,758,1098,858,747,1076,1190,1530,1294,623,667,907,905,1130,1518,1626,1754,1228,1178,1228,1019,914,962,1088,1302,1224,1005,997,967,946,992,1090,1110,1454,1628,1312,1610,1836,1504,1370,1494,1598,1568,1528,1588,1598,1494,1434,1350,1430,1570,1604,1604,1604,1676,1604,1110,1054,1110,1132,1184,1254,1066,1074,1262,1306,1374,1418,1080,1058,1054,1048,2244,2086,1382,1030,1126,1186,1001,698,453,397,676,1186,1266,984,720,1352,1942,1050,777,864,1102,1232,1282,1160,1232,1318,1356,1436,1532,1532,1242,1148,1170,1328,1484,1570,1672,1744,1582,951,959,1318,1540,1180,1104,1224,1018,1664,2938,2076,1248,1278,1422,1426,1294,1350,1316,1172,1406,1586,1594,1654,1588,1648,1780,1646,1630,1762,1696,1622,1722,1660,1592,1642,1396,1298,1260,957,1054,1218,1340,1382,1058,1232,1478,1374,1424,1484,1224,1092,960,1132,1102,1124,1232,1094,973,914,748,1100,984,806,993,1206,1460,1420,1252,1332,1288,1136,1236,1494,1028,689,835,1003,1158,1180,1072,1196,1092,1034,1136,1236,1302,2376,1616,1206,1232,984,881,973,966,846,868,1003,1340,1616,1524,1228,1038,1084,993,1058,2024,3256,4116,2974,1100,764,914,1050,1228,1156,1124,954,1082,1372,1738,1422,1060,1406,1400,1138,1208,1046,874,1066,1064,1370,1318,1414,1498,1574,1638,1660,1756,1802,1810,1776,1722,1550,1378,1288,849,594,433,430,446,489,815,1222,883,695,818,1344,1458,1200,1120,819,624,937,1154,969,1026,1122,1174,1122,1160,788,746,1204,1908,1520,1282,1242,1100,919,1154,1482,1374,1338,1066,991,838,632,570,549,518,719,890,1252,1478,1118,1244,1256,1158,1210,1198,1146,802,788,968,1036,1412,1456,1166,1426,1494,1052,713,834,1136,1608,1616,1506,1384,1534,1560,1146,943],[408,518,782,741,555,866,1148,921,1046,980,828,840,709,774,752,645,658,674,737,838,863,846,514,824,590,725,552,321,324,437,381,361,359,347,735,1136,967,616,458,300,272,227,216,239,258,291,276,258,278,272,252,226,208,221,224,263,382,727,806,570,697,1070,664,613,493,419,654,948,977,966,930,1284,1400,1016,724,943,1202,963,428,276,245,292,541,774,776,865,1012,1318,1626,1518,1558,1254,1442,1068,653,677,1044,1362,1180,645,564,820,941,963,539,366,378,332,319,722,664,508,492,457,383,296,253,321,363,363,372,303,279,241,236,236,258,253,249,253,251,301,415,502,546,388,318,341,313,303,313,303,389,525,586,626,525,469,523,575,504,416,419,399,361,328,333,309,328,407,342,285,282,456,819,677,377,273,548,744,868,1098,957,1003,1400,1048,999,984,1114,719,350,326,324,306,306,297,354,563,827,1018,1120,1294,921,760,1026,951,1028,1250,1360,1324,1158,1078,1134,1230,1222,1176,851,522,280,247,276,325,789,949,750,654,1116,1570,1504,1174,798,781,990,596,332,283,298,294,286,310,299,335,391,765,986,964,924,1074,1332,1396,1320,1200,1204,1022,457,247,343,625,1005,759,457,337,406,571,689,1228,1300,1188,1304,761,815,1022,956,971,1196,1186,1032,1426,1656,1608,1410,1296,1384,1378,1500,1660,1812,1468,1310,692,526,584,537,549,652,650,561,634,640,623,646,590,458,435,471,452,452,401,448,536,522,490,795,1772,1968,1412,1162,892,915,849,1088,969,707,924,1172,1296,1514,1440,1238,1118,942,529,692,664,484,439,413,572,910,1076,1326,1338,829,838,791,943,613,463,599,764,1082,1666,1692,1240,1134,1028,1150,1144,1068,1170,1158,918,948,796,627,518,518,650,893,1036,1182,1202,985,1130,1252,1174,1224,1284,1198,1166,964,998,1212,866,1126,953,1014,811,607,583,792,664,594,839,952,709,401,381,460,569,635,729,886,761,593,846,1234,1324,963,524,648,551,314,449,1174,1028,861,1074,1104,1306,1366,1280,1172,1126,1268,1182,1194,1300,1164,1300,1142,789,650,757,651,774,1024,1390,1360,1042,1120,560,511,917,1322,1226,1186,1506,1656,1328,1274,1304,1166,1232,1284,1072,1112,1242,1498,1378,1470,1514,1548,1544,1570,1400,1048,1182,1518,1704,1758,1570,1450,1570,1700,1694,1506,1306,1318,1202,1070,1048,830,1286,1388,1310,1310,1164,1066,1142,1282,1390,1428,1404,1232,838,952,1268,1212,1246,1216,1250,1021,803,951,1252,1058,705,862,1114,1082,1144,1526,1384,1156,1350,1236,1318,1310,1298,1230,1296,1376,1288,1226,1284,1358,1112,792,760,657,550,567,744,915,778,918,1268,727,717,1005,1324,1658,1740,1438,1434,1410,1376,1058,825,1150,1230,796,865,913,922,947,871,976,996,938,1066,1094,1082,1140,642,393,422,509,629,941,934,996,970,1094,1366,1266,1138,1036,1162,1154,1016,1028,1076,1268,1166,1007,1120,1082,979,924,1016,1094,901,890,1212,1114,909,852,946,1396,2200,2270,1952,1750,1484,1808,1552,1386,1022,1250,903,686,621,613,612,656,883,1015,1028,1044,1116,1390,1218,1290,1164,1096,1124,1172,1072,805,823,1086,969,698,767,946,1384,1358,1180,1356,1620,1714,1800,1902,1876,1836,1632,1334,1132,1122,1164,775,634,713,939,951,920,1090,1180,1134,1122,1096,1260,1288,1064,1138,1364,1080,1334,1450,1258,1252,1426,1472,974,1180,1756,1510,971,835,1054,1336,994,884,1100,1348,1484,1376,1200,1180,1064,837,599,555,587,514,711,717,492,885,1544,1578,1260,919,796,1064,1042,979,1230,1694,1804,1580,1192,1128,1104,1002,1002,1196,1013,634,655,810,1164,1332,1152,822,639,388,264,287,500,758,1016,1164,1162,948,1072,898,846,818,769,796,570,306,456,591,577,601,706,621,465,496,521,529,479,512,472,283,255,295,268,257,345,346,193,191,349,619,692,630,477,251,227,317,292,239,278,278,251,269,308,295,282,497,652,429,615,1216,1009,577,746,988,651,406,512,799,803,545,648,1064,819,605,912,1306,1086,995,1378,656,397,531,1020,757,558,577,506,438,466,386,342,234,230,247,273,321,393,397,380,438,419,349,353,368,327,349,566,455,337,698,1572,1798,736,388,453,742,1282,1512,578,364,437,558,410,531,604,738,847,697,622,739,860,626,411,478,763,869,711,597,670,685,655,595,669,644,661,681,682,1310,2066,1854,1322,1020,1000,986,960,871,823,1114,1348,1276,1170,1098,1236,1476,1418,1418,1344,1196,1356,1454,971,577,774,811,904,1126,1084,1078,1262,1270,1164,1118,1214,1522,1322,687,575,594,397,656,1338,1748,1572,1446,1150,906,1146,1268,1238,1384,1424,1376,1388,1394,1294,1378,1572,1342,1090,1188,1376,1654,1332,980,1314,1230,1090,1046,928,1166,1184,797,915,819,1088,921,945,1192,1192,1116,1176,1168,1028,1074,1332,1080,973,1030,1262,1372,1256,1300,1688,2314,2046,1242,986,1132,1060,1136,1316,1122,595,677,870,470,294,407,733,869,484,443,633,517,474,609,1180,1330,1554,1406,1298,1310,805,643,983,825,580,702,1124,1206,1208,854,711,703,704,747,719,659,692,707,680,554,674,602,473,436,419,487,579,426,431,1122,1440,1394,1688,1750,1228,1188,1440,1292,1224,1108,1092,1142,1280,1278,1160,1132,1152,980,865,766,956,1162,1001,849,978,1064,1200,1158,1216,1348,1432,1588,1504,1548,1602,1396,1007,850,1670,1792,1488,1268,1050,1162,1284,1168,1168,1574,1382,1032,1176,1366,1292,1236,896,769,866,903,880,977,1088,894,907,807,930,1012,948,1118,1178,1080,1050,1042,1006,768,729,908,1164,1130,1182,1274,1592,1622,1282,1202,1476,1522,1548,1718,1554,1672,1506,1182,1024,1092,1256,1166,1146,1152,985,1382,1582,1076,1388,1582,1316,1050,879,709,612,631,828,808,966,910,568,546,1226,2018,1734,1442,1332,1132,1160,1234,698,482,543,579,526,559,331,272,310,359,578,946,1128,1088,885,586,517,635,705,684,771,900,977,985,731,515,538,498,433,427,374,354,388,397,386,418,458,504,506,435,407,310,252,307,333,339,340,323,423,394,418,762,731,777,546,504,563,491,420,345,289,373,517,315,522,659,578,416,377,782,1212,921,487,587,752,540,419,487,488,524,646,548,485,501,442,411,362,306,468,833,793,1012,1232,1266,2052,1894,1770,1834,1520,1142,1094,1304,1266,1130,1188,1182,1040,1122,1384,1544,1696,1418,1380,1526,1324,1310,1626,1668,1622,1438,1168,1078,1112,903,930,1262,1488,1356,1152,1256,1488,1600,1148,1070,963,1007,1116,1258,1314,1468,1396,1318,1550,1448,1216,1216,1410,1214,1234,1502,1206,888,835,1068,1242,957,466,444,617,852,1206,1232,1140,925,1268,1408,1072,1084,1232,1074,936,1015,1290,1448,1188,1108,951,673,611,766,605,637,969,1112,1010,916,618,533,561,476,495,469,471,482,621,565,471,435,611,675,648,913,1256,1558,1682,1242,1216,1446,1578,980,542,423,516,1114,1128,689,746,412,489,548,424,424,572,787,1248,1334,1144,1184,1072,786,939,1076,1150,1046,1028,1160,874,777,991,1154,1196,980,614,518,539,558,940,1222,1178,1452,1526,1274,1084,1002,1022,1156,1106,1068,1002,1138,1154,1112,1106,1272,1374,1450,1642,1648,1456,1592,1756,1578,1430,1456,1658,1664,1608,1572,1488,1412,1420,1190,1064,1262,1274,1300,1242,1382,1396,990,804,885,720,993,1476,1304,965,1100,1538,1804,1346,1074,1408,1576,1118,1184,1198,1076,948,1072,987,813,608,612,637,550,836,1082,1400,1212,1726,1578,1148,988,1036,1146,1182,1352,1324,1272,1310,1418,1382,1664,1548,1234,1288,1432,1570,1492,1720,1920,1828,1606,995,1082,1490,1550,1206,792,716,1048,1990,2334,1538,1132,1252,1284,1050,771,822,1044,905,1322,1640,1594,1586,1538,1406,1498,1594,1640,1610,1680,1698,1738,1788,1830,1786,1578,1504,1516,1446,1416,1250,1246,1280,1216,1540,1898,1862,1604,1340,1406,1288,1312,1382,1162,1204,1398,1194,759,751,741,726,950,1146,1138,1072,1023,979,931,1046,1272,1222,1410,1572,1284,1056,1015,1190,1520,1272,1234,1368,1194,1272,1216,1072,1330,1902,1082,1094,1120,1096,1140,984,944,1416,1072,766,1176,1606,1788,1596,1028,1080,1130,1246,2026,2932,3000,2154,936,808,1036,1080,1144,1122,1526,1394,1466,1766,1942,1694,1104,785,839,1224,1324,1212,1356,1570,1566,1614,1628,1654,1728,1824,1810,1598,1562,1710,1544,1160,1560,1398,1402,1532,1452,1082,714,597,476,476,649,1184,890,901,905,1150,1286,1324,1174,781,513,814,1064,951,1070,1158,1356,1276,1108,659,561,985,1428,1316,1200,1232,1020,938,1144,1274,1352,1262,917,889,863,587,474,524,622,1062,1384,1316,1226,706,761,1076,1144,1250,1166,1212,1130,850,1062,1186,1094,1100,1432,1126,1204,1346,1042,1228,1362,1378,1034,1007,1324,1676,1578,1282,1276],[816,1116,1034,838,896,1306,1340,1178,1018,891,676,631,1048,1308,784,661,871,1140,897,491,284,540,524,446,371,454,406,355,300,255,251,338,345,334,749,1216,1418,824,451,373,286,260,290,272,256,269,248,263,280,269,260,240,217,238,261,255,343,553,744,751,872,1076,577,478,544,659,828,1322,1428,872,566,660,803,865,673,791,1156,1226,774,367,316,400,610,736,762,1052,1412,1792,1682,1098,957,991,1026,890,690,796,1054,1418,1494,988,947,1112,1140,1194,643,416,386,349,317,620,735,548,499,455,366,330,398,419,342,294,313,314,285,254,259,244,234,259,235,235,232,317,343,311,332,335,366,350,322,347,376,372,427,488,545,555,530,485,630,855,683,478,444,367,356,352,393,370,424,412,340,271,354,491,673,518,288,429,913,1030,999,1378,1144,1210,1362,1002,505,672,1036,960,633,478,364,371,333,393,575,897,1136,1116,1324,1736,1352,1166,1410,1444,1200,1194,1360,1254,1006,1280,1168,1020,1148,1216,716,361,287,249,302,383,486,635,740,769,1076,1326,1324,860,711,499,493,386,300,274,283,300,378,370,335,354,429,978,1134,1354,1134,963,1458,1474,1030,1046,1118,900,333,309,340,385,436,513,361,283,329,459,561,788,681,643,839,500,404,418,435,839,914,840,918,871,847,1116,1306,1272,1378,1406,1558,1480,1452,1212,918,570,484,607,608,428,449,730,695,615,735,704,797,882,665,521,447,432,440,433,428,428,428,490,686,1134,1266,1054,1188,1422,1388,1208,1092,1072,977,1152,1162,1276,1252,1306,1396,1358,1005,613,485,539,785,900,806,634,613,804,1272,1182,980,938,655,772,914,704,529,865,1272,1274,1172,1080,754,711,1116,953,1028,1118,1404,2016,1482,632,561,517,476,598,739,1003,1298,1118,891,1056,1158,991,1072,1032,942,1244,1228,1220,1054,1118,1070,898,849,969,1080,848,720,871,882,843,999,677,432,448,479,584,435,592,687,625,696,1052,1144,1050,877,929,1278,857,589,637,972,913,984,897,890,1019,1108,1306,1021,1118,1184,895,1110,1190,1198,1336,1070,667,411,575,768,991,1360,1686,1716,1588,1374,987,921,1208,1404,1468,1628,1716,1710,1678,1606,1604,1466,1358,1488,1340,1370,1462,1352,1268,1310,1370,1368,1322,1288,1228,1134,1180,1070,1426,1520,1066,948,1264,1660,1564,1182,1130,1130,1028,891,889,628,1023,1270,1338,1380,1334,1070,1120,1260,1332,1354,1590,1614,1092,954,1136,1274,1306,1266,1168,900,755,874,899,956,1076,976,819,968,1756,2078,1636,1266,1174,1140,1040,1050,1292,1382,1300,1298,1210,1272,1490,1228,1080,1046,792,375,336,512,661,782,665,531,602,473,831,1102,1144,1302,1632,1786,1824,1622,1338,1378,1340,1144,928,738,692,772,1124,1015,806,910,894,1018,1138,1168,1182,1290,794,523,388,420,531,918,1005,1036,975,995,1418,1388,1172,1026,1144,978,1060,1238,1388,1428,1298,1308,1370,1300,1212,989,959,1250,1098,1094,1170,1134,1060,1266,1332,1064,1582,2406,2514,1958,1296,1520,1520,1034,1366,1406,971,855,727,651,724,743,910,1174,1318,1076,1108,1332,1270,1120,782,838,1028,1214,1072,687,791,915,946,707,769,1222,1418,1332,1372,1476,1622,1684,1844,1874,1754,1506,1038,713,1078,1230,1056,883,902,828,867,858,818,908,1015,1092,1122,835,1024,1158,968,916,1336,957,993,1288,1394,1344,1410,1214,1348,2224,1930,958,698,554,835,1264,1072,797,1146,1728,1884,1482,1142,1064,960,619,573,795,1098,674,450,525,604,883,1298,1604,1512,903,833,1060,1104,1023,1009,1460,1476,1334,1260,1478,1436,1058,1086,1180,1004,850,888,1200,1332,1110,822,814,849,645,373,297,633,1486,1566,1019,893,586,687,521,875,1728,1176,853,688,293,422,557,447,496,530,425,387,535,636,643,649,737,584,276,291,446,525,309,272,205,213,258,318,403,461,747,661,330,313,442,434,391,458,336,353,271,313,294,277,660,691,404,544,931,725,614,829,882,367,239,276,452,663,442,618,1028,816,662,930,1144,1044,933,1290,561,344,663,745,461,290,368,402,503,690,846,667,373,377,393,431,449,457,380,314,312,318,440,558,441,393,263,328,323,237,321,899,813,404,316,342,161,229,892,501,308,311,422,493,604,648,702,956,914,836,772,600,368,345,463,735,758,693,658,678,689,642,611,612,606,636,589,594,1082,1690,1722,1312,1086,1021,1044,1108,907,915,1144,1330,1252,918,858,954,1094,1136,1356,1272,1390,1392,1356,1160,750,476,575,909,1300,1250,1396,1808,1710,1406,1182,1344,1448,981,1080,1666,1226,489,495,776,1058,1234,1390,1160,1292,1440,1336,1434,1474,932,814,1194,1270,1338,1668,1650,1604,1472,1362,1372,1410,1186,1162,1382,1282,1094,1042,1346,1272,869,531,916,1302,1300,935,1192,1346,1166,1148,1108,951,1062,1136,1290,1308,1178,1100,1356,1448,1280,1400,1874,1772,1274,1320,1230,1128,1092,1106,1208,1294,822,599,558,391,317,423,901,978,450,488,480,485,573,623,930,1292,1698,1382,1144,1192,857,557,796,775,612,730,947,915,837,545,496,554,525,540,556,553,543,573,819,631,782,816,628,564,551,575,573,392,493,1100,1330,1708,1854,1794,1432,1282,1356,1242,1242,1206,1142,1324,1362,1068,959,1021,1316,1082,893,797,736,1034,976,988,1250,1316,1300,1190,928,854,1172,1600,1590,1578,1460,1134,1124,1122,1470,1592,1484,1428,1384,1440,1306,1172,1544,2066,1714,1346,1436,1544,1468,1220,1100,1074,1106,1144,1076,1042,1194,1050,1222,1086,910,1146,1896,1660,1128,1350,1358,833,874,926,994,1562,1236,907,999,1130,1428,1530,1322,1296,1318,1290,1306,1440,1396,1512,1378,1062,900,1034,1138,1136,1340,1296,958,1250,1530,996,1264,1544,1202,885,834,697,565,577,709,865,694,561,619,702,1454,1764,1482,984,1130,965,965,1212,641,476,554,570,615,681,333,284,384,384,591,929,1042,895,620,471,647,692,659,729,846,648,623,1040,1044,773,619,544,473,457,365,353,384,412,394,413,437,456,450,397,368,307,248,306,298,263,308,321,539,428,367,437,400,535,578,464,406,410,409,354,314,236,345,297,406,509,561,459,368,556,908,972,642,477,735,591,396,423,498,568,595,518,492,484,428,419,383,285,260,532,916,1750,1498,1482,1498,1356,1636,1844,1604,1234,1288,1356,1266,1196,1082,1126,1212,1230,1302,1788,1836,1480,1530,1438,1412,1544,1602,1614,1640,1376,1180,1288,1364,1001,961,1276,1406,1158,937,1170,1470,1236,1023,967,924,1024,1034,1320,1698,1748,1494,1274,1316,1266,1078,1174,1332,1174,1270,1466,1456,1412,1402,1418,1462,1206,621,810,956,780,1130,1282,1152,1056,1208,1422,1548,1600,1486,1334,1090,955,1124,1376,1368,1438,1262,885,1216,1138,729,741,1052,1352,1332,931,537,519,469,436,538,727,833,804,674,434,473,568,736,604,393,418,474,692,830,867,728,1142,1502,1356,1334,770,398,631,583,435,388,329,459,747,684,529,660,956,1100,924,1106,1080,1222,1504,1262,1156,1166,1328,1116,803,920,1140,1092,938,678,707,706,664,951,916,1138,1378,1104,1082,1118,997,1216,1388,1270,1082,963,1342,1650,1810,1610,1408,1446,1560,1628,1418,1248,1458,1520,1592,1746,1696,1794,1756,1660,1576,1500,1538,1170,873,1168,1198,1023,1256,1480,1406,1158,810,1084,1382,1138,1148,1064,1132,1500,1290,808,871,1586,1506,999,901,1130,1136,780,1030,1360,1084,1178,1306,915,1450,1042,831,796,673,935,984,1112,1288,1410,1428,1412,1344,1314,1390,1538,1582,1754,1640,1432,1422,1444,1484,1232,1072,1042,1182,1548,1626,2024,1844,1870,1788,1458,1344,1432,1446,985,525,1074,2016,2248,1980,1408,1152,1106,1046,1050,1038,1266,1696,1924,1672,1328,1470,1548,1388,1042,1202,1368,1360,1570,1636,1520,1570,1670,1686,1742,1686,1694,1786,1830,1858,1546,1464,1312,1356,1822,1996,2138,1816,1290,1354,1350,1570,1724,1408,1240,1324,1140,980,944,723,538,886,1294,1272,941,925,694,787,1050,1180,1282,1506,1444,1216,1118,1276,1732,1666,1208,1180,1136,1242,970,1126,1062,1236,1084,777,777,785,906,1052,892,989,1356,933,545,454,904,1408,1548,1476,1236,1364,1598,1626,1720,1614,1328,1016,905,1082,1160,1224,1392,1526,1384,1384,1346,1488,1614,1342,1274,1414,1606,1638,1610,1626,1592,1520,1512,1522,1468,1456,1420,1378,1080,1094,1358,1422,1013,1222,1416,1542,1612,1440,982,810,946,858,586,526,1026,1238,1366,1122,1202,1724,1692,1138,789,562,631,770,988,1128,1138,1190,1212,1132,756,739,1182,1316,1266,1164,992,856,987,912,974,1322,1176,847,797,835,763,705,909,1078,1090,1074,916,849,599,448,935,1040,1006,1544,1970,1700,1520,1486,991,934,1238,1001,830,1282,1438,1254,1208,1394,1018,524,606,902,1346,1358,1218,1212],[1344,1190,804,795,923,990,1001,1030,955,917,969,1132,1260,1158,506,592,837,1016,715,380,277,522,613,491,396,329,338,340,246,268,277,345,414,351,600,834,950,818,763,670,398,410,329,319,293,235,226,267,275,265,259,250,232,232,251,314,389,349,634,1018,1114,893,603,491,682,942,948,1184,1092,642,332,331,419,548,472,736,1138,1272,1036,507,290,443,628,594,681,1022,1128,933,715,572,673,1154,1486,1426,1074,1028,1178,1146,1308,1098,839,613,583,809,625,475,427,385,319,464,641,505,486,437,404,394,531,560,439,302,280,329,326,274,286,290,257,245,251,276,376,389,295,284,278,371,514,467,404,400,516,548,583,473,590,463,380,565,776,1002,980,871,712,399,363,350,392,439,448,404,383,379,516,522,395,293,313,730,1184,907,814,977,1084,1402,998,523,311,383,637,727,932,905,800,525,312,388,541,1018,1338,904,1060,1392,1288,1070,1100,1180,780,741,1106,983,886,1106,1252,1002,1182,1114,520,280,252,218,424,813,866,648,717,772,642,520,615,627,543,428,321,281,427,437,361,281,430,384,335,336,747,1368,1298,1054,868,906,1166,1046,645,919,1328,979,469,324,339,303,273,351,346,317,423,689,833,714,577,433,600,750,448,554,712,743,883,1126,917,648,603,950,1014,753,979,1192,1420,1402,1466,1266,882,604,448,532,608,516,539,948,926,952,742,567,499,536,805,844,458,445,410,346,299,354,519,717,850,749,1028,1224,1488,1666,1722,1572,1380,1318,1196,1224,1154,1060,1132,1009,849,1316,1560,1212,948,793,800,948,1286,1026,736,968,1274,1230,1142,1016,728,733,1007,962,764,996,990,548,446,677,805,946,1058,1110,1422,1366,1288,1376,1250,940,711,938,748,668,703,1044,1124,990,1028,1124,1034,964,1007,880,1042,1060,1174,1560,1342,1218,1020,919,803,1019,1322,1188,1100,1176,925,943,1098,839,809,797,595,585,838,1154,1070,786,695,990,1001,962,1146,1132,1324,1074,973,830,1023,1142,865,778,941,804,812,1034,1142,1278,974,739,910,758,850,1260,1476,1356,1214,1294,1340,1206,1514,1682,1718,1670,1598,1500,1554,1546,1368,1454,1488,1474,1498,1584,1528,1708,1500,1356,1150,764,586,715,1044,940,786,944,1060,1024,1034,964,844,849,761,1192,1422,1030,937,1356,1730,1350,991,864,696,1054,1013,1142,1232,1218,1512,1770,1894,1466,923,1140,995,1082,1136,1268,1304,1018,637,1030,1074,1154,1262,1072,1108,1130,1134,851,1048,1240,1188,1114,1194,1478,1754,1672,1366,1056,1007,1026,1024,1388,1938,1360,1246,1160,1154,1016,783,881,1130,801,379,384,571,745,1118,1182,868,596,512,807,1156,946,1110,1562,1476,1714,1516,1174,1328,1400,1142,1234,1344,1058,1036,1132,915,1001,1240,1074,1030,1018,1230,1198,1074,958,764,568,612,775,902,827,984,1134,1166,1330,1346,1192,1062,1086,1100,1152,1180,1260,1310,1244,1116,940,836,876,888,927,1018,848,1174,1314,1192,1110,1116,1092,1002,1218,1954,1790,1428,1192,1278,1450,1212,1912,2016,1504,1334,1168,1154,1192,1048,1152,1216,1226,1168,1158,1190,1222,969,799,940,969,940,835,857,847,756,871,700,1064,1434,1346,1312,1420,1524,1632,1720,1676,1696,1622,1372,812,571,934,1348,1246,988,938,853,685,1018,1664,1520,1360,1326,1160,875,899,995,965,773,1094,1028,725,1092,1246,1070,1028,808,1240,1802,1938,1038,476,396,629,985,1104,996,1122,1532,1968,1550,1262,951,628,617,660,835,990,914,975,821,558,503,724,1318,1540,1122,584,520,1019,976,995,1080,1048,1098,1032,1382,1416,1058,1092,775,742,987,1184,1164,1064,958,1034,974,1160,1358,706,469,1074,1662,1636,1070,1408,1162,1064,769,1172,1916,1274,818,542,299,369,582,466,422,385,345,330,496,639,604,646,821,711,336,354,626,700,485,508,318,254,308,377,739,831,735,656,583,687,495,463,396,411,266,262,262,294,331,343,357,461,545,473,388,618,730,1094,845,365,230,263,310,352,386,704,1046,1154,1030,764,803,784,1094,1300,654,386,671,540,386,340,310,308,277,480,1062,1046,663,630,488,645,919,946,736,652,645,574,597,515,452,468,289,317,356,363,636,1466,1484,753,392,381,383,681,1290,1274,808,596,593,752,603,343,460,621,851,952,880,799,401,377,598,1054,1144,857,757,772,716,611,655,682,683,677,612,683,947,1118,1214,1306,1394,1322,1136,1040,1001,1166,1238,1286,1272,886,843,938,828,991,1116,1142,1328,1290,1186,1264,877,624,1040,1034,885,719,1506,1672,1468,1024,915,1208,1266,991,1122,1874,1750,752,407,404,448,676,868,908,1246,1466,1440,1494,1266,796,893,1023,859,1060,1378,1512,1426,1132,1336,1408,1288,1378,1516,1506,1570,1498,1382,1252,924,583,420,951,1390,1168,1066,1262,1258,1126,1088,1092,1246,1638,1448,1506,1498,1178,979,1230,1598,1590,1648,1844,1758,1500,1126,919,741,711,648,913,1226,991,612,358,311,336,593,988,751,495,761,514,552,527,454,483,772,1100,1058,973,1086,943,402,303,640,776,895,767,664,592,405,394,479,448,440,439,464,469,477,749,615,530,691,693,580,587,564,540,514,544,1278,1342,1536,1718,1852,1608,1272,1274,1320,1268,1250,1220,1316,1316,1172,1150,1158,1218,1040,794,869,884,972,946,974,1009,933,1282,1370,981,631,974,1476,1282,1188,1276,1346,1240,1248,1544,1494,1358,1334,1510,1346,1300,1288,1448,1782,1528,1388,1466,1474,1382,1134,1040,962,1224,1172,1022,1184,1130,1190,1186,1017,677,1086,1628,1274,1318,1588,1454,1042,1000,1136,1726,2100,1310,947,983,1100,1416,1388,1166,1184,1238,1214,1282,1366,1292,1218,1074,933,1058,1090,1028,1228,1554,1408,908,792,868,760,1108,1362,995,603,592,661,604,472,790,1152,841,472,518,683,1396,1364,1040,868,965,858,801,1208,583,471,546,495,641,519,327,314,346,340,578,992,908,536,667,684,680,635,692,828,725,614,519,539,746,902,833,658,523,475,406,394,377,307,322,391,420,389,358,448,548,414,299,322,343,474,443,310,371,352,327,358,344,390,541,488,379,370,381,405,383,286,363,394,494,673,639,474,369,428,687,932,713,461,436,394,349,379,455,532,549,510,497,485,484,435,420,336,252,619,978,1450,1434,1526,1318,1172,1382,1592,1478,949,1014,1388,1306,1064,1132,1196,1342,1368,1396,1456,1214,951,863,960,1266,1648,1654,1688,1570,1204,1216,1464,1278,1015,935,829,962,858,797,1082,1370,1114,1144,1044,1064,1310,1230,1208,1404,1344,1278,1210,1200,1260,1336,1374,1302,1344,1400,1444,1498,1412,1222,1086,989,1062,885,1278,1240,849,1064,1216,1150,1132,1408,1794,1848,1758,1584,1512,1202,938,963,1250,1246,1460,1296,1438,1708,1210,766,709,1166,924,969,611,709,1136,854,637,942,1536,1462,940,673,381,470,802,830,645,432,388,297,378,509,574,738,1118,1302,1354,1308,878,518,463,439,456,334,288,321,478,571,743,1034,1080,987,980,1160,1054,1836,1876,1150,974,1434,1512,1062,882,1038,1368,1252,907,713,688,776,909,1512,1650,1422,1404,1260,1144,1064,1030,1162,1340,1338,1019,1196,2100,2200,1912,1670,1646,1732,1708,1658,1578,1510,1592,1736,1642,1768,1780,1710,1350,1306,1290,1198,1248,1054,1158,1312,1462,1210,1068,1432,1570,1278,1190,1738,1754,1186,777,794,1164,1630,1214,847,1076,1144,729,775,1098,1318,1248,1178,1212,1306,1162,1258,1208,1044,1438,1074,1034,742,797,1264,1130,897,910,1007,1542,1470,1282,1218,1178,1350,1288,1300,1302,1194,1614,2276,2156,2026,1622,1344,1288,1712,2178,1960,1638,1736,1900,1864,1630,1476,1156,695,1158,2030,2332,2284,1312,1010,1330,1120,1030,1038,1526,2166,2484,2630,1858,1438,1752,1570,1328,1122,1194,1154,1056,1160,1400,1478,1464,1578,1566,1586,1582,1646,1704,1654,1714,1746,1798,1794,1770,1796,1750,1824,1644,1356,1552,1468,1578,1722,1410,1196,1302,1250,1114,991,712,752,1182,1272,1328,1012,1080,1030,1110,1226,1332,1228,1160,1308,1330,1248,1388,2040,1766,1368,1218,1266,1168,935,1202,1140,1072,1004,1036,977,904,974,1250,1023,1017,766,672,592,558,937,1548,2082,2042,1452,1396,1412,1560,1656,1640,1416,1372,1238,1048,1064,1164,1282,1228,1150,1300,1384,1522,1644,1638,1650,1638,1588,1472,1554,1530,1212,1046,864,937,974,987,959,873,818,1134,1364,1504,1248,1058,1130,1204,1190,1094,880,762,959,1134,699,473,1038,1410,1440,1414,1374,1398,1252,1188,783,582,612,671,1010,1062,1032,1180,1338,1340,1134,1056,1204,1316,1348,1300,1164,935,818,937,1256,1306,1020,1007,1158,1056,1168,1300,1440,1408,807,511,541,592,523,403,715,968,1494,1918,1728,1700,1870,1572,1194,1300,1430,979,1126,1282,1286,1164,1060,1200,672,529,677,972,1168,1240,1472,1176],[1076,751,984,1074,953,885,917,906,991,1106,1388,1432,896,668,725,715,548,397,294,263,255,521,812,655,485,385,383,403,470,467,422,515,573,576,465,486,845,1066,1046,956,452,416,418,390,325,294,303,289,277,272,282,281,265,243,311,492,521,557,976,1180,1190,1044,765,514,825,1350,1276,1184,606,375,372,350,942,1056,813,892,941,1106,1204,741,582,834,932,867,961,847,733,872,850,816,1074,1250,1204,1190,1148,1216,1202,1130,1274,1208,757,518,483,514,508,531,549,467,373,390,763,532,463,442,421,395,451,507,468,346,282,362,370,289,268,305,315,476,511,412,829,696,321,281,308,501,597,388,356,371,514,521,397,303,389,428,503,639,717,944,1148,1019,758,509,430,372,431,1100,1118,572,499,414,386,401,315,298,571,1172,1310,1246,1142,855,1704,2286,1282,369,319,599,907,991,932,790,968,872,502,528,650,813,875,943,1200,984,743,886,745,584,427,454,548,551,959,1224,1236,1166,1244,824,382,263,207,236,367,792,1070,1258,1100,611,428,463,499,554,570,586,520,512,602,510,580,450,392,352,317,332,809,997,904,1032,987,880,890,1162,745,619,948,1230,770,275,390,442,395,368,364,294,435,963,1088,944,637,309,641,1090,927,633,518,606,778,871,754,1208,1034,972,1064,927,1003,1252,1404,1328,1398,1384,944,647,533,615,893,912,806,736,764,757,752,753,440,312,425,437,317,373,323,286,319,354,598,832,932,819,755,1086,1268,1440,1450,1118,1410,1180,999,918,1188,1048,1128,1320,1572,1398,957,1196,1576,1344,952,941,1108,1190,1156,1036,1086,1266,1086,572,457,733,802,1186,1354,1042,668,655,564,556,1062,1242,1003,1180,1316,1290,1390,1274,886,794,948,1146,1032,946,1048,1316,1238,1154,1132,1005,1034,1144,1042,1118,1290,806,1084,1566,1632,1176,1032,1040,702,746,939,910,980,973,711,1052,952,1010,1190,1316,1058,719,1046,1212,1014,804,731,750,644,668,1046,1144,1172,1094,987,731,604,604,768,1124,1026,910,846,939,1182,1434,1068,775,775,807,1064,1316,1500,1436,1262,1442,1356,1002,1126,1070,1136,1332,1464,1316,1088,929,921,1200,1272,1516,1510,1598,1428,1586,1312,1148,850,559,475,689,960,938,1136,874,914,1166,1170,989,1024,1084,1050,1208,1208,1170,1250,1482,1930,1344,1168,1026,760,897,1038,1282,1270,1228,1484,1880,2232,1714,1072,1068,704,883,995,1038,1126,1186,769,593,697,1192,1396,1202,1576,1576,1216,878,1228,1318,1218,1236,1036,1074,1306,1410,1276,946,1020,1120,1176,1220,1248,1056,1122,1092,771,872,931,824,1124,819,417,355,434,785,1176,1216,1248,1056,755,793,875,794,1296,1548,1356,1532,1354,921,1164,1240,1162,1434,1260,864,1104,1294,1220,1332,1434,1230,1042,627,757,1070,1296,1250,955,702,949,1128,796,607,857,987,1386,1376,1284,1216,1268,1266,1220,1206,1102,1142,1198,1064,944,642,822,998,807,675,725,923,1334,1354,1136,1122,1302,1122,984,956,1576,2322,1822,1294,1250,1392,1472,1740,1782,1366,1168,1178,1410,1340,1592,1570,1362,1288,1278,1194,1168,1184,1034,1116,1170,1222,1246,1064,1005,867,877,824,976,1332,1380,1320,1428,1460,1414,1640,1744,1556,1440,1318,1340,962,729,893,1212,1246,1104,871,1084,1312,1666,2046,1462,1388,1450,1266,951,1058,1114,1068,981,993,1340,1132,1030,1366,1126,1004,995,1082,1346,2080,1626,797,915,1200,1206,1182,1168,1304,1232,1182,1450,1328,1094,767,832,859,852,888,1112,1528,1254,827,494,520,1224,1386,1454,994,694,864,918,964,841,792,1056,1302,1538,1340,1066,959,684,595,1174,1398,987,753,968,1052,926,1590,1940,1290,1160,1320,1198,1072,1608,2210,1498,1284,1148,1118,1152,877,526,509,460,426,599,529,532,480,415,360,500,588,410,520,659,507,274,378,698,672,562,832,590,341,355,350,540,739,901,579,468,754,514,421,525,539,393,290,255,316,562,732,440,283,527,789,678,741,802,979,708,368,250,299,294,415,644,995,1154,1134,1230,515,552,770,1214,1250,627,570,722,485,783,753,653,495,361,432,630,554,497,453,449,647,630,388,419,522,529,993,894,523,378,264,193,258,384,319,849,1604,1594,1554,1048,727,540,902,1644,1920,1908,1168,696,683,491,349,329,367,457,484,698,703,361,427,1186,1616,1502,1036,894,940,814,749,788,857,877,777,752,978,1202,1130,1080,1154,1406,1404,1176,1062,1134,1400,1338,1406,1234,694,830,955,926,1130,1212,1138,1164,1210,1484,1362,897,449,467,579,594,521,1056,1602,1558,1174,1194,1292,1314,1192,844,1686,2096,1126,495,407,550,536,536,1348,2078,1604,1288,1372,1202,665,811,865,705,1044,1388,1496,1268,1058,1096,924,750,813,1182,1524,1594,1580,1662,1490,1236,1130,875,868,1050,1090,1104,1172,1108,983,1108,1250,1260,953,1132,1708,1734,1456,1052,991,1320,1406,1340,1358,1660,1538,1482,1026,941,794,777,1156,1324,1072,772,483,314,350,543,684,825,723,648,429,467,455,386,394,705,1086,1015,904,1130,970,651,637,811,744,780,940,1050,1176,1136,982,911,909,926,861,840,729,642,822,709,507,568,544,536,568,497,550,615,728,1426,1340,1292,1418,1652,1750,1528,1410,1448,1352,1182,1100,1050,1300,1342,1212,993,970,1034,940,955,1178,1406,1464,1318,1058,797,1084,1528,1312,996,1254,1176,841,1072,1300,1300,1256,1188,1352,1364,1224,1216,1324,1240,1338,1212,1072,1148,1166,1306,1498,1380,1224,1078,1100,1162,1132,1132,1056,907,941,1074,1064,828,664,833,1056,1072,1288,1314,1150,1034,1038,1168,1546,1364,913,1018,1032,899,1234,1398,1656,1372,1254,1234,1180,1428,1460,1252,1026,875,1098,1278,1236,1170,1472,1426,974,670,544,513,668,768,535,300,302,409,808,1188,1108,1234,1072,671,671,774,1050,1204,954,792,939,954,1284,1276,620,446,435,578,563,333,314,371,419,425,583,924,692,429,559,815,762,765,876,872,873,755,512,401,386,579,688,822,775,614,508,406,378,361,348,404,469,454,396,458,498,353,326,336,359,482,456,343,276,233,254,318,342,351,457,545,390,351,369,431,410,289,365,466,458,694,730,508,413,386,534,753,747,556,375,328,335,353,407,477,536,550,505,501,496,429,430,372,259,402,971,1242,1148,1260,1108,1084,1108,1162,1176,958,972,1348,1270,1378,1698,1782,1968,2300,2504,1844,1128,1017,917,1084,1422,1816,1910,1832,1588,1252,1372,1576,1204,1114,1034,611,934,1130,1080,1360,1406,1116,1164,1098,1092,1242,1136,992,950,1172,1324,1084,1172,1388,1520,1416,1154,1232,1382,1476,1456,1452,1238,816,871,1005,864,1164,1196,908,888,1028,1136,1178,1416,1742,1582,1344,1388,1338,1028,791,803,1076,1362,1440,1168,941,804,830,648,442,422,467,839,692,1062,1490,1120,894,976,1196,1021,882,595,421,502,1100,881,536,441,369,330,505,728,781,702,863,773,677,1236,1122,979,839,480,327,262,245,302,344,434,712,811,1048,1332,1472,1256,1134,1692,1592,961,824,1074,1130,1034,1104,1522,1838,1296,1222,1120,709,945,1450,1594,1516,1326,1326,1242,1322,1270,990,1142,1394,1482,1476,1576,1736,1770,1744,1738,1686,1710,1702,1572,1580,1408,1178,1416,1528,1616,1568,1192,1184,1378,1210,1188,1284,1062,1152,1260,1550,1396,1230,1356,1544,1386,1288,1534,1576,1096,898,1226,1068,1416,1262,960,1396,1126,548,555,805,1170,1476,1390,1212,1192,1230,1258,1005,1282,841,454,653,619,731,843,935,1050,1082,1082,1810,1792,1400,1156,1086,1154,1180,1108,1068,955,1998,3772,3924,3608,3154,2630,1596,1748,1780,1284,1116,1428,1824,1832,1800,1704,1108,1368,2018,2384,2314,1640,922,1134,1310,1032,948,855,1438,2204,2104,1858,1366,1528,1808,1250,1054,1100,1152,1230,1036,1050,1322,1244,1070,1254,1326,1460,1488,1488,1752,1852,1752,1688,1794,1766,1800,1990,1826,1740,1694,1746,1770,1654,1620,1624,1472,1116,913,1021,1152,918,771,1206,1422,1566,1182,960,1186,1214,1194,1362,1466,1298,1188,1260,1380,1360,1200,1304,1310,1248,1166,1314,1062,959,1018,980,1080,1102,1248,1212,1204,1158,1068,931,950,798,703,874,1030,1322,1696,1708,1718,1396,1436,1526,1488,1204,1132,1076,1003,1044,1154,1288,1418,1482,1556,1620,1732,1720,1604,1622,1666,1554,1478,1310,984,1092,1250,985,1098,1090,1406,1486,1290,1580,1430,1174,1318,1628,1716,1250,1026,1134,1260,1244,694,558,605,661,834,539,515,1042,1180,1180,1428,1398,1021,1082,1104,798,579,540,607,910,1062,1138,1204,1314,1144,1198,1224,1086,1216,1286,1274,1252,1052,935,921,1126,1338,885,689,903,1042,1186,1210,1226,993,648,532,713,981,781,598,721,1038,1688,1918,1846,1838,1664,921,834,1132,1170,1084,1110,1158,1356,1292,1292,1256,886,777,985,1432,1122,1090,1148,832],[719,638,714,549,483,728,1066,1172,986,800,1384,1250,835,641,687,788,570,351,281,299,285,495,813,697,546,426,447,577,775,611,518,627,842,960,521,446,556,430,551,816,513,470,472,450,408,385,383,360,311,276,275,254,245,247,267,397,411,677,947,754,691,709,513,388,708,1028,1324,1188,811,693,673,403,645,674,683,1064,1138,998,1194,1230,1292,1708,1536,1238,1098,942,781,1048,942,839,1244,1328,1384,1394,1180,1122,703,930,1128,1292,825,378,314,366,426,489,518,499,408,335,831,637,434,421,434,430,391,416,457,423,291,328,322,292,278,415,583,938,989,943,1156,872,421,320,448,703,477,280,259,286,386,450,385,311,313,401,579,680,538,580,753,700,615,467,478,524,418,1842,2068,942,440,550,524,378,323,609,1094,1432,1242,1326,925,690,1342,1576,930,350,387,864,1170,977,973,688,691,739,604,766,929,946,899,1170,1230,844,767,1001,724,770,928,812,680,672,1044,1276,973,903,899,461,294,245,240,274,296,439,753,1786,1450,654,658,623,638,849,729,915,998,611,402,451,803,861,689,502,386,368,754,1088,841,894,1152,976,1004,1676,1426,971,1010,1352,1230,984,676,811,885,749,794,683,706,1044,998,1072,836,451,789,1272,1016,819,730,807,800,901,774,1300,991,788,998,1296,1378,1444,1544,1204,922,989,722,579,497,681,842,534,351,387,455,430,764,890,459,375,383,348,386,356,438,365,261,276,409,640,980,980,1294,1780,1526,1230,1042,724,901,960,938,945,1064,919,826,1482,2094,1124,1012,791,1160,1506,1500,1396,1218,1288,1248,904,839,1028,915,641,1060,1234,692,924,1100,1164,949,771,703,636,849,1110,1456,1528,1302,1064,1256,1016,511,585,1096,1248,1096,978,1104,1088,1108,1212,985,807,955,1072,1202,1360,1320,1038,1096,1036,1100,1176,1170,1074,819,458,440,904,841,1094,1192,1130,1046,1044,871,1168,1126,728,741,882,794,679,774,550,694,727,785,954,1016,874,854,814,753,796,876,1348,1094,1190,1360,1410,1314,1390,1250,1110,1030,1092,1070,966,1076,1114,1144,1348,1222,1116,1204,1280,1236,1152,1214,1084,964,964,1174,1250,1218,1604,1870,1662,1118,1190,1306,1094,1056,1016,630,551,525,616,745,774,1034,1212,1158,1086,1268,1520,1148,1094,1168,1246,1178,1290,1720,1404,1218,1164,996,1108,1478,1692,1732,1746,2184,2280,2236,1470,876,726,598,883,1068,966,1282,1380,930,765,976,1166,1484,1534,1354,1234,1124,895,1130,928,959,1216,1064,1042,1222,1196,1230,818,899,1064,1142,1196,1128,861,942,840,511,769,884,833,1172,716,395,364,437,830,1054,1018,998,933,717,469,658,733,1044,987,1382,1600,1424,1164,1578,1670,1366,1176,1030,740,1005,1116,1170,1370,1300,1114,1062,777,593,1058,1238,1206,1144,811,930,902,741,538,731,1040,1526,1582,1412,1418,1502,1288,1238,1228,1120,1294,1490,1168,890,893,1638,1462,961,1116,1262,1364,1522,1330,1114,1078,1160,1086,1110,1184,1510,2044,1732,1300,1358,1584,1418,1504,1390,864,727,853,1050,1128,1176,1160,1184,1118,1120,1108,1084,1044,1118,1164,1348,1292,1968,1644,919,734,717,860,1312,1412,1282,1368,1422,1240,1056,1312,1310,1354,1192,1312,1328,1094,1028,1144,1110,1144,1112,714,1098,1532,1506,1482,1214,1050,1238,1328,1168,1208,1208,1078,807,850,1508,1522,1122,1156,993,971,986,785,879,1672,1766,1174,1172,1192,1230,1178,1106,1268,1324,1224,1444,1638,1404,902,797,1078,1344,1316,1166,1716,1754,985,608,748,1226,1064,888,1108,1148,890,1044,1224,1156,1054,1140,2662,2238,1338,1028,890,651,1007,1492,1224,1098,1522,1268,1072,1392,1976,1696,1434,1400,1038,1202,1338,1914,1924,1120,1058,1036,1164,995,521,378,462,457,616,614,561,576,444,373,383,437,468,327,468,401,246,229,398,769,1050,847,603,468,634,560,286,256,281,383,311,394,673,603,601,951,852,434,314,249,342,685,779,378,401,394,485,932,761,622,607,743,536,299,251,224,325,539,1364,1066,910,1017,546,507,619,639,588,480,767,874,822,1026,1068,1114,927,617,527,514,409,405,497,780,1112,885,760,466,381,585,914,976,979,492,348,286,302,269,333,994,1234,1028,1614,1246,1258,844,1286,1936,2368,2144,1011,403,399,387,415,359,420,494,509,343,415,385,521,1290,1674,1666,1574,1424,1148,1072,857,889,1126,1007,830,807,1072,1228,1154,1192,1542,1748,1548,1302,1112,1232,1476,1456,1470,1262,726,951,1028,1152,1436,1292,1172,1302,1764,2458,1410,1017,497,391,341,413,444,732,1130,1260,1146,1036,1186,1192,926,930,1688,1726,1015,509,662,1058,999,871,1960,2620,1798,1488,1282,1204,642,614,1134,1162,1212,1544,1606,1216,1011,962,965,823,766,1404,1714,1532,1522,1552,1386,1408,1456,1326,1278,1334,1368,1296,1258,1054,764,863,987,1110,1248,1532,1754,1738,1296,997,762,938,1156,985,1500,1526,1194,1362,1396,1228,1042,863,774,994,774,781,529,320,323,435,482,602,502,341,408,454,555,702,698,1050,939,1050,957,747,584,859,1200,1068,652,619,854,1001,1224,1292,1036,886,903,1048,1196,1332,1330,1154,1021,1094,1021,908,754,718,587,544,612,449,695,1058,1244,1246,1124,1394,1704,1782,1638,1428,1078,1152,1240,903,885,1015,1196,1154,1150,1188,1094,1056,1136,1344,1434,1402,1208,1032,1070,1278,1444,1442,1108,709,1021,1338,1334,1162,1110,1162,1196,1198,1218,1170,1152,1154,1118,1062,1038,1090,1152,1402,1506,1296,1302,1234,1230,1256,1076,976,822,904,1090,1098,1124,1100,890,1018,1184,1172,1368,1362,1146,1100,1142,1068,891,963,1032,1128,898,556,917,1078,1310,1316,1250,1190,1110,1362,1518,1224,940,1122,1276,1428,1320,1340,1580,1530,1232,775,563,661,806,803,414,269,294,313,496,637,691,1094,922,553,526,513,676,910,655,619,860,1222,1680,1338,662,441,502,504,326,317,350,405,463,461,474,619,498,522,549,684,863,913,730,984,1292,1032,685,543,450,622,564,651,664,712,646,612,656,553,503,464,421,393,421,518,527,578,669,614,382,279,349,359,310,270,261,295,325,346,368,554,450,370,401,470,458,280,323,545,412,642,941,561,490,409,419,688,766,599,435,330,313,342,421,475,552,583,508,507,497,477,410,349,287,372,910,1256,1007,1086,998,791,890,1196,1142,1034,1096,1198,1242,1714,2470,2658,2850,2844,2458,1820,1188,1060,949,1296,1730,1830,1736,1720,1742,1600,1450,1158,1001,1020,951,885,1244,1560,1400,1356,1192,1044,1182,1086,1001,1092,1164,1013,891,1048,1372,1120,1112,1158,1206,1158,1028,1210,1384,1564,1716,1522,1472,1007,865,651,423,733,983,849,883,941,1200,1344,1226,1188,1628,1556,1374,1204,892,640,800,1094,1268,1460,888,556,683,961,802,599,560,763,1046,789,623,486,578,714,797,1236,1254,1274,906,740,804,908,789,734,587,434,391,514,641,709,485,684,520,498,782,660,672,607,380,314,265,316,579,483,532,780,966,1310,1556,1520,1362,1510,1418,1074,1160,1162,1182,1330,1172,863,1344,1578,1300,1262,990,724,1406,1852,1260,1392,1668,1354,1358,1614,1776,1494,1534,1624,1466,1444,1538,1602,1638,1538,1468,1512,1654,1396,1006,1458,1386,1144,1690,1784,1440,1316,969,1080,1146,957,1070,1242,1008,960,1238,1454,1872,1980,1538,1472,1276,837,814,990,853,1036,1082,1002,1290,1212,1012,1064,595,356,487,770,1086,1552,1784,1142,1064,1220,1418,1404,1260,756,594,533,736,1066,932,1006,1146,1234,1484,2162,1766,1370,1388,1202,1080,1066,1188,1130,1090,2654,4220,4384,4272,4292,3160,1796,1604,1100,766,706,884,1382,1508,1722,1924,2050,2214,2316,2264,1556,760,689,925,961,1058,963,737,1342,2308,1646,1346,1332,1400,1374,936,750,730,797,927,909,1062,1218,1011,903,1246,1438,1478,1382,1512,1912,2022,1750,1284,1150,1276,1536,1944,1902,1848,1810,1788,1710,1784,1738,1686,1646,1448,1334,1288,1278,1102,997,1268,1294,1448,1078,893,1156,1328,1296,1322,1258,1360,1424,1252,1302,1254,1362,1376,1320,1292,1374,1218,948,1028,971,775,1174,1342,1342,1302,1106,1046,873,999,1054,791,662,838,1144,1550,1670,1648,1948,1858,1482,1494,1282,1046,1148,1302,1384,1566,1628,1644,1680,1738,1772,1704,1794,1490,1292,1462,1414,1094,1182,1300,1178,1320,1598,1538,1826,1768,1744,1580,1338,1858,2030,1552,1266,1418,1344,1036,967,974,1015,1066,711,804,653,514,653,566,688,1086,1210,935,945,1198,897,880,882,767,583,542,572,669,1020,1102,974,1308,1130,1206,1192,1088,1244,1270,1174,966,1056,1298,982,1146,1226,764,608,620,551,512,561,596,502,443,525,1044,1308,810,738,926,1062,1532,1790,1726,1302,800,563,813,967,1136,1320,1296,1272,1488,1446,1536,1498,1224,848,1018,1296,1148,1104,982,715],[741,810,562,550,599,650,1132,1372,770,438,696,868,695,644,831,764,564,451,298,270,241,518,787,807,592,476,535,509,642,601,544,718,769,824,481,574,792,564,494,714,576,527,555,529,537,426,435,476,365,273,271,302,279,257,292,424,434,739,971,505,378,473,586,796,702,758,1150,880,861,828,646,467,449,414,578,1206,1216,974,1066,1204,1250,1198,1328,1142,853,979,1008,1148,1104,996,933,884,1106,1306,1296,1236,1416,1210,1030,1160,975,492,429,374,374,416,457,425,390,396,786,725,502,457,572,568,377,425,477,532,338,327,318,321,422,694,933,1258,1230,1034,1160,861,568,430,494,562,309,252,254,265,332,416,484,435,346,380,500,614,602,504,400,424,470,427,416,462,434,574,783,1312,1698,1092,929,658,404,845,1386,1394,1222,916,486,428,447,492,709,542,538,852,760,558,1028,977,772,555,428,452,572,694,888,1104,1066,1176,1058,1096,816,1140,1286,1136,1120,1052,1074,1078,918,499,391,290,272,288,256,308,344,381,1182,1902,1086,792,989,1019,929,883,625,852,791,418,291,519,893,867,709,912,972,604,791,1046,752,871,940,1082,1626,2012,1636,1310,1218,1214,1518,1640,1138,1318,1340,1132,1124,1178,1166,1124,1050,976,763,633,1023,1242,1028,1084,1040,927,730,711,626,855,584,578,813,1001,1312,1532,1672,1344,824,677,786,588,338,713,738,452,410,327,371,411,621,528,422,468,491,388,448,385,430,390,255,264,312,395,584,1040,1864,2172,1920,1444,1108,816,753,919,967,1032,1116,962,1046,1782,1724,1021,921,717,641,891,1200,1460,1554,1420,1042,903,1110,1204,1106,874,1812,1256,538,483,735,1300,1484,1204,543,518,834,1178,1626,1236,1110,1136,1340,954,561,774,1272,1432,1036,960,975,973,1360,1252,846,829,1070,1084,1292,1268,1260,1466,1260,891,935,1202,1152,1132,931,480,648,937,1074,1336,1140,1084,1556,1368,902,1210,1172,810,480,437,731,1022,861,585,787,816,525,468,675,761,969,1202,1088,759,812,1502,1354,1068,1202,1322,1302,1332,1360,1328,1162,1334,1166,1088,1294,1548,1274,1230,1334,1224,1224,1234,1162,940,956,827,1048,1060,1084,1009,901,1344,1664,1388,1090,1356,1340,1015,1128,994,1016,791,529,598,656,692,1054,1508,1474,932,1208,1664,1338,1104,1244,1174,1028,1052,1164,1266,1338,1418,1552,1654,1636,1840,1952,1810,2012,2066,1830,1248,966,975,946,1078,1090,941,979,983,1088,1066,1088,841,1226,1486,1312,1224,1148,971,1086,1152,1108,1220,1054,1052,1240,1114,1332,1082,992,1042,1126,1124,1064,1009,1066,940,702,499,777,1052,1276,962,568,585,1023,1300,1242,1056,709,748,957,735,943,1012,987,812,733,1106,1370,1742,1938,1904,1636,1714,1708,1378,1128,995,1014,1122,1204,1092,1172,1036,918,1176,1042,942,1066,1194,1128,938,982,675,590,1144,1338,1140,1168,1148,1020,1046,1218,1068,1120,1005,1316,1074,738,732,725,692,1176,1340,1048,1134,1334,1870,1754,1522,1472,1342,1122,1088,1218,1250,1182,1396,1438,1644,1478,1506,1126,785,818,814,963,1194,1296,1278,1046,1016,1156,1074,1098,1015,907,1005,1154,1015,1434,1230,766,578,723,1218,1450,1360,1342,1410,1420,1074,969,1034,871,962,1186,1306,1266,1028,1110,1080,1216,1332,1262,1007,974,1023,1046,1168,1186,1104,1196,1188,1080,1108,1214,1204,1030,1122,1560,1748,1486,1156,941,934,805,550,617,1028,1236,1156,1178,1290,1028,971,885,1064,1252,1340,1434,1462,1186,1018,995,1330,1166,1356,1118,1460,1544,1166,857,828,952,780,524,860,1164,1134,1306,1414,1240,1094,1060,1438,1202,987,991,936,1158,1556,1358,1042,1664,1596,945,1182,1434,1682,1330,1374,1224,1284,1530,1094,1124,1078,848,1390,1274,1174,653,355,398,426,476,590,567,494,407,422,498,445,369,356,348,468,358,267,273,303,261,410,580,419,305,577,738,308,253,278,237,203,319,555,616,567,653,566,277,220,240,289,356,291,290,500,514,604,576,536,583,709,1210,782,423,618,393,382,769,1548,806,563,575,259,311,453,632,641,656,897,967,1030,1146,1166,1072,1004,677,521,702,485,349,360,718,833,1174,1432,816,492,805,820,974,893,538,347,344,278,265,348,655,1278,1592,1072,924,738,457,977,1450,1734,1532,947,576,288,304,232,212,456,589,433,428,608,554,466,521,747,914,1080,1154,1178,1270,1140,1316,1248,1046,968,1022,1050,1054,1012,1300,1888,1954,1866,1466,1072,1178,1416,1418,1324,1346,1174,1104,1114,1238,1250,1286,1186,1190,1128,974,814,902,611,486,405,310,351,575,825,1194,1136,957,1258,1246,1302,1334,1570,1070,480,757,1208,1476,1632,1350,1616,2200,1900,1654,1110,795,650,764,994,791,641,1076,1358,1052,1128,1174,973,833,1016,1626,1830,1602,1442,1506,1500,1318,1144,1038,792,927,1354,1454,1560,1568,1280,1018,1108,1106,1074,1080,1218,1416,1072,862,829,894,954,835,1672,1658,1152,1390,1698,1248,1120,902,882,1072,540,483,360,285,336,431,450,540,520,462,640,815,1116,1198,1058,993,858,923,892,547,382,758,1044,815,536,659,669,586,563,506,585,526,428,659,1186,1320,1124,1062,1090,833,1100,1144,978,993,826,784,709,437,434,668,1048,1062,1040,1178,1650,1716,1208,1072,1098,1118,1154,1094,912,908,1072,999,1158,1122,1466,1496,1124,818,782,1060,1186,1440,1360,1262,1416,1340,922,1140,1456,1552,1584,1264,1026,1138,1116,1194,1172,1082,1130,1206,1288,1204,1138,1132,1138,1382,1256,1202,1320,1304,1220,1132,1100,1044,1078,1146,1154,1138,1170,1186,1054,1148,1450,1512,1638,1344,1124,1260,1214,1094,912,858,1094,916,949,1050,1108,963,1074,1170,1142,1134,1206,1440,1478,1140,1048,1202,1440,1400,1214,1294,1270,1368,1286,870,938,1038,1056,853,436,329,367,383,344,377,638,727,424,378,418,382,405,477,428,460,669,1392,1738,1318,686,553,691,517,277,313,400,463,472,475,407,380,426,467,597,655,835,1054,1252,1502,1344,962,646,529,480,496,602,586,575,639,664,612,550,608,787,705,720,702,636,562,486,431,347,349,351,305,333,358,322,336,274,327,347,329,286,468,523,369,390,452,451,348,287,477,352,444,750,643,536,382,309,548,747,730,514,342,362,356,438,496,562,562,519,512,521,483,380,349,346,297,569,1148,1088,1030,1064,706,750,1074,1176,1206,1128,956,1090,1902,2896,2768,2500,2036,1696,1362,1242,1282,1128,1154,1300,1250,1318,1538,1664,1714,1438,1088,1106,1146,1092,1098,1110,1280,1466,1598,1470,1182,1220,1186,1006,1015,1058,1030,957,989,1240,1080,764,851,1062,1026,1182,1388,1526,1470,1808,1416,1304,1456,1194,908,969,837,912,896,1126,1028,1114,1066,1178,1302,1642,1334,834,669,593,451,497,908,1338,1476,902,694,662,929,836,476,502,866,1126,1136,1108,662,615,512,704,1360,1378,1196,1072,1066,1334,1278,990,858,594,581,501,460,667,708,648,485,332,441,694,720,491,431,477,537,380,576,774,769,804,1080,1238,1322,1294,1144,1230,1294,1042,1034,1340,1378,1182,1372,1242,1012,1126,1376,1492,1018,825,963,1028,1282,1266,1356,1632,1620,1498,1558,1622,1650,1684,1600,1476,1466,1470,1448,1486,1248,888,1012,1650,1672,1496,1692,1602,1354,1400,1504,1572,1490,1104,1058,836,869,1092,1170,1028,1166,1440,1210,1100,1360,1354,1122,1076,670,553,933,819,1198,1168,779,951,1058,1046,808,589,771,901,1404,1268,1460,1780,1270,1166,1450,1300,1240,1246,911,758,932,914,829,1086,1204,1216,1210,1660,2096,1520,1232,1568,1578,1380,1130,880,935,1068,3300,4568,4684,4652,4620,3104,1550,1250,781,830,1136,1228,1440,1380,1410,1722,2036,2210,2120,1712,1206,862,774,872,968,1070,1018,968,1064,1096,1120,1350,1240,940,1002,1144,1208,1060,1030,1114,1066,1170,1264,1062,1158,1426,1472,1570,1368,1416,1670,1616,1368,1188,1028,1366,1512,1400,1678,1686,1512,1458,1352,1516,1538,1636,1512,1594,1584,1548,1682,1534,1440,1432,1376,1392,1336,1100,1146,1288,1230,1188,1360,1534,1750,1500,1190,1106,1224,1526,1346,949,998,886,720,882,820,663,1066,1174,1208,1190,1160,1122,998,1084,1128,1002,943,1048,1416,1598,1758,1786,1746,1736,1600,1608,1656,1732,1812,1872,1756,1730,1746,1802,1676,1720,1700,1474,1582,1388,1112,1382,1372,1078,1432,1676,1704,1692,1832,1660,1736,1438,1472,1676,1490,1660,1936,1516,1328,1206,817,843,693,719,739,877,1058,1208,908,657,943,1054,946,998,1046,893,902,935,907,844,883,899,689,644,590,884,1118,1156,998,1198,1386,1386,1122,1013,1220,1302,1158,1142,1488,1514,1268,1330,920,670,655,572,478,480,473,430,414,417,644,1212,1578,1164,724,992,974,1148,1426,1462,1192,711,906,1052,1116,1298,1532,1496,1438,1650,1566,1218,1152,1026,793,951,1148,926,896,795,617],[772,863,639,1000,1204,669,683,860,530,431,441,644,839,822,670,395,431,643,447,452,427,675,590,696,604,527,568,456,644,790,590,1068,1130,952,556,631,1036,792,544,706,610,448,497,495,529,553,595,579,403,267,309,419,345,264,289,427,554,897,1088,490,518,779,910,678,852,1007,834,951,1154,879,719,469,390,395,678,1224,1318,1204,1382,1023,888,815,993,990,825,966,931,787,957,760,486,427,465,745,1188,1716,2196,2106,1538,1268,1220,693,492,420,335,402,418,363,373,431,879,1150,912,755,594,769,507,499,547,586,422,367,346,350,584,909,1140,1032,807,824,773,846,651,404,375,336,268,260,268,274,276,294,326,301,346,440,478,467,498,513,451,394,402,414,464,488,484,546,543,722,1644,890,762,812,719,1080,1352,1340,1160,628,399,381,507,532,549,553,904,899,459,333,916,1090,710,440,300,418,471,404,410,479,879,1190,1110,872,842,954,969,1186,1194,1006,885,935,1286,676,331,267,276,296,252,344,334,568,1730,1782,954,1007,1100,1238,1118,724,351,256,212,265,323,553,863,844,700,822,736,920,752,896,1066,1116,852,750,1384,1748,1328,1296,1288,1346,727,880,1326,1562,1340,973,893,984,1028,980,1028,1046,937,945,1102,1064,1182,1074,827,930,597,321,294,236,310,775,1136,1124,1260,1540,1692,1522,1024,786,758,818,631,517,581,598,708,462,370,458,664,513,397,390,363,340,369,346,349,359,275,229,310,415,673,1418,1776,2060,2010,1636,1532,1240,755,684,692,710,844,1070,1348,1700,1334,1023,952,727,478,685,1206,1532,1534,1452,1476,1166,1228,1120,1130,1188,1138,799,802,819,976,1246,1290,1056,427,651,814,889,1136,1104,1058,1162,1120,908,948,1130,1208,1024,1056,1294,1334,1284,1206,1030,952,1038,856,705,1019,1118,954,1012,863,832,1014,1192,965,1092,1124,903,1114,1014,1150,1200,1238,1464,1954,1328,1066,1256,1440,947,781,741,827,1026,918,593,502,537,440,534,1202,1272,1292,1324,1148,739,952,1752,1628,918,953,1230,1346,1350,1256,1226,1146,1276,1174,1322,1686,2036,1690,1444,1284,1094,1112,1154,1206,1002,762,602,861,1090,1054,872,976,1212,1360,1256,830,1184,1366,1174,1256,1132,1360,1334,1234,1128,942,719,807,1186,1282,1296,1308,1214,1230,1084,1182,1164,1110,1048,973,1250,1532,1656,1810,1886,1844,2004,1996,1896,1932,1898,1662,1294,1140,953,813,1080,1188,1176,906,807,713,807,1001,618,818,1256,1478,1426,1114,1003,1346,1284,919,1019,1046,1148,1242,1268,1456,1256,760,780,998,1076,1262,1150,1124,770,650,903,1176,1264,1260,1208,1001,1114,1334,1150,1192,1260,935,707,780,855,852,943,968,651,620,882,1188,1542,1776,1714,1356,1576,1656,1454,1138,1058,1020,1110,1226,1158,1158,942,915,1046,889,1064,1050,1034,932,813,1005,920,1044,1354,1340,1480,1498,1132,940,1022,1236,1078,1090,874,855,901,848,786,626,750,1302,1086,642,1054,1302,2530,3232,3996,4020,2254,1136,1094,1060,1214,1332,1356,1290,1570,1372,1254,1262,1170,961,904,986,1182,1532,1368,1018,1066,1134,1054,1060,1232,1248,1146,992,949,1038,1178,990,684,1090,1368,1350,1376,1424,1466,1508,1066,909,1126,1218,1268,1122,1054,1078,786,938,1036,1152,1146,1104,774,698,948,1180,1306,1250,1288,1154,1104,1226,1144,1144,1252,1122,1070,1408,1794,1732,1174,882,990,747,593,700,818,919,1196,1172,1076,923,899,1048,1058,995,1252,1302,1102,954,1110,1260,1422,1066,812,622,888,1042,1304,1282,858,591,608,605,619,781,1374,1058,877,1058,1244,1360,1132,844,729,758,701,1050,1188,1009,1028,1678,970,446,784,1015,1152,1248,1388,1196,1502,1620,1114,819,580,447,815,1242,1080,414,277,415,543,564,499,379,337,337,437,513,533,392,403,517,504,379,318,309,291,277,267,225,266,285,604,592,328,405,499,373,224,271,388,553,396,243,329,316,297,280,221,190,215,279,353,455,730,645,376,601,1003,1318,1192,957,1060,572,380,1128,1412,800,973,764,342,381,732,1108,1296,1244,960,819,932,1134,1102,637,435,528,858,1148,1028,624,594,888,993,1554,1328,782,720,930,927,1456,1452,651,378,446,434,415,476,563,550,741,621,756,480,315,505,587,578,758,1021,690,574,855,403,311,1506,1226,313,524,802,973,700,479,390,299,356,472,590,749,1118,1380,1438,1244,1162,1576,1526,1416,1228,1444,1832,1958,1942,1630,1154,1212,1490,1334,1326,1412,1272,1132,1170,1290,1290,1350,1300,1294,821,788,893,724,545,436,331,325,490,691,573,929,1308,1122,1058,1023,1160,828,521,516,709,1070,1572,1738,1786,1794,1144,891,1418,1340,1166,1262,1296,1120,578,417,767,924,879,835,1310,1292,1150,956,1166,1732,1704,1418,1748,2116,1612,1418,1040,1120,885,634,858,1042,1096,1242,965,733,938,1230,1474,1424,1322,1368,1300,1306,1274,1124,1134,1106,1210,1338,1066,987,1388,1358,1450,949,1070,1156,644,384,405,436,384,321,321,379,504,531,443,623,1001,874,943,985,973,972,1038,807,521,420,424,427,520,517,697,899,955,919,977,837,487,605,1056,976,545,556,940,830,971,987,899,886,789,785,673,472,608,844,1188,1118,1208,1246,1672,1764,1400,1304,1334,1150,1094,1234,1256,1316,1354,1150,1346,1140,1644,1512,1132,962,1054,1130,1126,1228,1448,1194,940,1272,1332,1384,1330,1426,1344,1176,1218,1198,1106,1110,1122,1144,1208,1218,1064,1136,1238,1162,1122,1194,1180,1202,1224,1286,1224,1108,951,972,1108,1272,1228,1198,1188,923,875,1036,1234,1660,1950,1266,1096,1126,919,955,1116,1108,1114,1030,1242,1524,1250,997,1212,1250,1180,1142,1182,1350,1196,1056,1168,1222,1306,1104,1090,1260,1302,1470,1334,730,554,487,752,615,385,479,702,666,499,308,380,450,325,360,374,395,404,458,448,438,864,1538,1748,1238,680,738,677,369,277,397,471,477,458,448,442,539,572,752,1256,915,783,1188,1678,1480,1064,700,525,544,574,583,602,540,573,794,905,637,619,581,639,645,717,656,483,381,306,281,251,293,327,406,522,505,401,347,303,320,290,298,287,390,554,450,375,373,384,363,269,508,453,396,680,717,545,441,306,446,705,804,537,350,342,376,446,503,539,567,567,539,531,509,416,365,375,357,442,1174,1330,1166,1044,738,883,1404,1444,1292,1324,1144,1204,1566,2040,2024,2106,1854,1464,1194,1248,1402,1380,1007,913,924,1040,1488,1608,1730,1572,1756,1660,1092,1048,1224,1448,1476,1372,1532,1526,1098,1166,1212,971,1013,1124,1038,811,833,1120,1246,1334,1460,1384,1094,1078,1294,1452,1318,1154,894,979,1320,1436,1704,2046,1390,1094,1302,1432,1126,1070,1112,1312,1338,1082,795,604,661,756,543,527,1068,1470,1466,1130,913,746,973,872,706,996,1250,1472,1620,1570,707,425,681,760,992,1258,1346,1236,976,660,677,832,661,559,1026,966,624,694,896,1284,947,357,327,578,995,854,670,856,761,608,931,730,597,657,664,731,796,656,881,1218,1112,667,902,1404,1532,1182,1366,1366,1250,1440,1692,1344,709,864,979,944,1040,1324,1410,1550,1732,1550,1380,1482,1620,1676,1648,1666,1620,1482,1112,959,990,972,1340,1942,1920,1636,1324,1062,990,1056,1700,1822,1498,1228,1066,719,960,1276,1472,1368,948,1096,1376,1368,1304,1146,931,865,960,1068,1402,1100,814,799,899,824,1058,1512,1204,1312,1342,1226,1274,979,1026,1152,1254,1302,1220,1054,1018,1066,973,843,816,604,554,927,1304,1440,1108,847,1005,1032,1302,1512,1546,1538,1494,1350,1242,1350,2232,3030,3854,4144,4058,2658,1224,1184,766,742,1204,1434,1232,1200,1170,1328,1822,2106,1646,1356,1318,1226,1152,879,713,1070,1178,1144,1084,1062,1178,1324,1296,1134,1116,1094,1086,799,851,1288,1238,1286,1158,1070,1400,1278,1172,1614,1266,1220,1230,1194,1192,1472,1324,1520,1382,1026,1506,1798,1728,1368,1132,1324,1264,1220,1076,1266,1440,1698,1682,1648,1614,1496,1598,1722,1626,1538,1582,1674,1474,1300,1540,1576,1682,1490,1208,1136,1100,1190,1070,996,838,587,513,708,704,716,1224,1456,1474,1420,1256,1106,926,1102,1268,1208,1188,1368,1638,1658,1722,1728,1736,1808,1820,1594,1490,1648,1732,1604,1372,1340,1476,1758,1498,1484,1456,1310,1700,1722,1314,1610,1602,1296,1498,1488,1596,1692,1818,1692,1392,1198,1528,1702,1694,1586,1844,1498,1202,1170,1180,1186,1050,952,1028,1190,1066,775,670,712,1078,836,952,1148,1266,1154,1004,1038,1122,968,1094,1328,893,884,930,1322,1276,1140,1120,1188,1422,1412,1186,1074,1046,1192,1312,1428,1256,1248,1234,1120,849,593,553,509,447,449,469,459,469,466,738,1174,1488,1312,1002,1232,1062,1018,980,1114,1356,896,1013,1180,1450,1412,1408,1438,1222,1382,1452,1080,944,1054,799,737,875,702,890,913,636],[1090,951,930,1026,854,430,386,405,440,495,578,1076,1296,900,492,316,346,437,482,764,767,631,414,455,576,620,540,451,586,835,707,1404,1208,897,550,404,429,476,504,602,614,424,521,559,586,630,572,476,376,291,379,470,359,307,332,482,695,852,808,474,562,884,1009,877,1058,1036,878,1194,1226,707,415,404,437,593,650,960,1214,1156,887,488,641,821,928,1074,744,924,935,668,788,691,716,585,424,724,1238,1780,1778,1492,1316,1368,1216,976,586,451,396,431,452,404,375,385,538,711,990,1338,1013,998,836,598,566,590,492,439,383,430,623,917,1362,1068,1023,1070,884,769,573,487,469,393,312,304,292,252,231,265,270,240,287,415,477,501,437,448,506,527,422,436,561,547,485,480,456,486,675,518,638,827,892,1100,1478,1316,855,536,429,386,1008,1226,714,655,853,696,345,243,340,340,359,347,324,318,359,293,472,713,938,1100,1030,962,1142,993,757,684,911,1088,989,891,668,338,283,253,264,260,260,354,323,727,1614,1166,780,840,957,1284,1190,836,550,343,275,286,306,541,931,948,735,612,614,824,539,484,624,783,888,872,1130,1138,1005,1224,1282,938,758,1088,1344,1406,1292,1122,1118,1326,1204,837,990,1198,1230,1122,1100,1124,1218,1056,930,935,545,284,294,239,424,950,920,1034,1230,1550,1546,1470,1134,1042,1072,1204,764,309,368,901,1112,499,421,823,1048,735,463,413,412,367,335,324,342,360,268,199,274,296,894,1318,1526,1880,1978,1866,1770,1368,953,843,721,741,860,968,1358,1370,848,676,1036,962,539,643,1066,1470,1410,1182,1488,1510,1540,1358,1312,1152,999,845,665,803,1164,1078,890,785,521,569,532,791,1174,1178,1234,1328,1198,1110,1188,1296,1052,827,1362,1880,1892,1448,1004,1090,1008,694,597,789,904,863,767,860,631,681,996,1274,1158,1496,1344,1158,1112,1046,1312,1098,1222,1434,1778,1068,946,1172,1218,1252,1152,1028,1034,874,696,466,486,535,436,479,964,1154,1104,1076,1092,1034,1148,1722,1710,865,803,1208,1388,1354,1656,1572,1154,1138,1362,1506,1858,2126,1802,1294,1050,937,1162,1166,1122,1144,709,548,713,1126,1372,1126,1034,1156,1378,1248,763,1078,1148,1116,1230,1328,1322,1448,1456,1244,1140,904,717,764,1032,1162,1164,1158,921,1070,1316,1226,1362,1366,1182,1432,1560,1732,1888,2006,1948,2030,2080,1974,1920,1894,1682,1322,962,551,562,1017,938,695,469,959,987,1056,1046,723,732,1054,1396,1302,1196,1050,924,627,572,778,1116,1204,1036,906,1068,984,740,998,1164,1204,1080,1116,1128,625,615,943,1040,1194,1300,1188,1088,1280,1230,1268,1400,1444,1202,935,785,832,983,1009,684,477,661,996,1158,1212,1458,1316,1346,1500,1392,1068,788,734,945,1274,1372,1232,926,575,617,786,583,730,688,771,585,532,823,969,1286,1462,1112,1130,1228,1176,1182,1346,1330,1220,1108,952,989,930,696,827,994,788,1186,1194,897,1192,1382,2170,3200,4136,3574,1764,1220,1516,1522,1560,1408,1005,1050,1448,1486,1494,1520,1282,1042,1130,1102,1128,1316,1240,1028,1048,1050,1120,1210,1254,1326,1268,1086,1034,1060,1136,959,1144,1362,1200,1334,1402,1210,1322,1510,1182,930,1048,1150,1390,1152,775,768,705,682,785,1148,1262,1242,1016,750,801,1144,1446,1382,1178,1140,1258,1012,839,1100,1266,1026,861,973,1478,1756,1362,831,651,710,546,584,775,932,1074,1060,838,745,961,1000,842,933,1152,1270,1216,1190,1256,1206,1116,984,679,687,966,1230,1412,1470,1344,746,653,866,646,540,1246,1510,1452,1414,1538,1480,1468,1538,1001,778,708,944,1034,749,735,965,660,527,619,733,849,1078,1146,1114,1376,1412,695,664,567,478,784,1274,891,368,345,439,480,465,420,325,354,434,463,422,415,390,533,625,532,416,329,309,526,490,292,203,215,190,422,568,664,616,724,668,317,388,473,716,630,469,369,305,311,291,327,332,249,237,246,306,485,485,257,286,556,772,1210,1350,1368,1234,963,1522,1492,1004,1062,861,597,433,771,1080,1086,1148,1226,1058,976,1186,985,494,400,747,1518,1100,1174,951,648,963,1272,1340,836,849,1124,1024,1244,1554,1168,601,416,653,1050,1064,1156,1152,803,384,488,761,534,303,359,332,462,955,1134,1094,1152,855,344,855,1988,1116,358,356,513,628,439,367,328,353,682,747,585,491,585,589,770,880,847,1536,1926,1920,1852,1826,1848,1982,2070,1682,1106,1368,1578,1324,1252,1362,1310,1336,1284,880,951,979,983,913,835,965,1108,1026,488,336,302,304,508,1232,1020,788,1112,1070,794,465,309,478,725,933,732,793,1228,1482,1610,1658,1096,822,1138,882,833,1262,1466,1412,1274,1278,1122,997,821,921,1654,1738,1488,1212,1340,1788,1616,1410,1886,2036,1782,1162,661,1052,1142,664,796,915,955,1296,990,552,637,1058,1248,1440,1472,1456,1502,1382,1262,1432,1500,1316,1310,1436,1024,1116,1400,1484,1530,1172,1390,1188,601,441,568,882,869,797,498,371,422,516,885,1008,757,759,985,1194,1114,1005,1082,1042,821,676,852,752,610,664,1078,1370,1426,1410,1408,1040,520,520,857,792,525,615,841,865,941,1016,913,788,756,777,615,532,890,720,933,963,1064,1098,1454,1814,1708,1606,1622,1542,1460,1472,1588,1646,1444,1118,1364,1306,1346,1140,1266,1766,1626,1230,1102,1316,1486,1068,980,1334,1334,1278,1416,1310,1178,1192,1256,1242,1050,1050,1132,1100,1166,1104,1090,1158,1100,1098,1044,1108,1210,1178,1268,1416,1082,1240,1023,1126,1224,1268,1420,1336,1248,984,933,1210,1256,1230,1294,990,1092,1022,763,1112,1656,1726,1294,840,1040,1380,1200,1194,1238,1192,1202,1208,1142,904,885,1080,1256,1644,1678,1210,1196,1004,966,1324,1132,574,403,403,1128,1108,623,824,1090,841,648,321,293,283,278,328,367,358,389,424,393,428,777,1332,1756,1438,1056,695,448,335,300,406,506,466,444,472,476,616,723,596,866,948,1152,1584,1330,1006,772,518,368,405,604,539,494,558,787,1016,1018,629,610,585,561,548,784,870,562,464,328,327,356,283,331,365,311,646,745,607,421,332,357,345,314,351,547,529,424,390,407,401,336,566,688,540,552,561,463,536,375,392,608,662,574,401,360,421,468,527,566,573,584,547,513,526,462,368,388,362,556,1232,1448,1206,1080,859,918,1476,1440,1312,1262,1168,1284,1324,1456,1602,1680,1692,1482,1252,1228,1246,1212,955,990,1040,1012,1320,1560,1672,1484,1954,2122,1172,1074,1200,1362,1206,1042,1116,1176,893,948,1040,1100,1216,1096,798,593,686,897,888,1432,1672,1614,1318,1204,1170,1268,1356,1210,1188,1170,1178,1372,1652,2156,1764,1404,1594,1502,1184,1154,1234,1178,1028,719,541,484,722,845,678,905,808,823,868,924,872,701,993,1088,1196,1318,1426,1470,1398,1416,846,498,565,508,597,937,1234,1206,972,754,709,855,624,701,985,1100,977,641,653,1080,807,372,525,888,1058,952,1396,1230,750,811,774,491,436,526,477,391,653,867,1064,1136,1242,735,586,929,1072,1108,1440,1392,1316,1534,1522,957,865,1056,1136,1212,1296,1584,1642,1688,1710,1618,1626,1624,1544,1632,1600,1410,1318,1366,874,563,1040,1266,1550,1966,1870,1654,1570,1144,1134,1212,1448,1510,1498,1462,1266,1218,1446,1446,1466,1648,1914,1912,1924,1776,1542,1362,1116,835,718,888,1174,1023,656,793,1380,1182,1768,1920,1376,1518,1390,1342,1166,838,779,863,1140,931,1084,1130,1182,1288,1196,1070,1012,946,761,907,1258,1312,859,705,716,773,1021,1212,1342,1400,1550,1628,1664,1738,1594,1570,1492,1678,2100,2172,1852,1278,865,862,1184,1310,1248,1116,1164,1422,1778,1498,1220,1440,1274,976,1058,1128,1009,1058,1090,1162,1144,1318,1316,1222,1206,989,1078,851,728,802,981,1184,1350,1180,884,963,1074,835,652,993,791,1130,1090,1348,1596,1336,1118,1368,1178,1056,1418,1424,1402,1630,1714,1938,1594,1328,1300,1246,1238,1274,1414,1642,1456,1352,1698,1720,1642,1572,1512,1534,1620,1528,1582,1604,1506,1390,1366,1200,1026,1082,913,789,731,683,637,777,794,753,1166,1506,1626,1488,1288,1310,1220,1388,1574,1458,1458,1572,1650,1666,1660,1750,1704,1566,1290,793,697,1060,1550,1482,1306,1308,1302,1490,1528,1516,1572,1458,1760,1920,1168,1520,1560,1278,1324,1436,1614,1714,1784,1800,1598,1568,1688,1716,1748,1476,2168,1952,1136,1082,1216,1244,1202,1052,1050,1138,1000,839,916,1088,1046,730,1046,1382,1542,1628,1450,1324,1388,963,899,1156,1130,1290,1350,1562,1456,1168,1114,1232,1518,1566,1420,1086,952,1202,1244,1214,1140,1142,1064,1110,824,460,465,462,442,455,508,597,812,668,661,1158,1410,1270,1170,1302,1366,1152,1226,987,1196,1100,1250,1396,1242,1180,1338,1238,1176,1228,1188,1276,1300,1394,1034,792,762,747,1032,834,491],[930,1126,1310,991,465,288,305,322,434,648,1076,1414,1208,781,355,345,313,264,364,749,945,657,407,458,738,938,719,435,458,785,882,1056,968,708,538,401,253,287,323,397,631,502,662,613,567,469,381,333,320,278,395,562,421,335,380,508,606,681,790,793,913,948,1090,1222,1126,1090,1384,1314,1136,793,440,417,642,1108,1176,969,826,842,752,573,726,810,679,590,613,771,802,781,768,1156,1356,1050,1076,1166,863,951,713,470,361,557,736,1072,755,431,425,404,414,416,375,384,509,684,963,1708,1608,1350,1094,705,513,462,472,481,670,937,981,1023,803,746,885,606,471,474,527,599,591,468,374,356,345,274,328,289,265,256,235,263,376,479,506,480,463,501,412,385,502,533,472,426,391,579,573,589,756,901,827,913,1116,798,461,407,349,562,1466,1724,1228,880,641,482,265,243,281,272,313,351,430,345,334,322,522,754,1110,1486,1298,915,857,898,813,907,846,801,808,976,575,208,258,253,277,306,322,318,311,542,954,886,475,377,586,1007,1116,893,465,213,243,262,278,495,598,618,904,681,446,413,420,481,443,479,717,814,1168,833,491,501,692,684,855,897,1072,1158,975,905,1034,1284,1166,660,965,1230,988,1104,1028,954,958,778,845,764,448,297,315,443,625,971,834,1156,1432,1832,2180,1618,1166,1214,1020,1352,750,383,509,924,776,503,608,926,1108,910,572,425,386,363,336,315,315,309,254,196,250,289,483,629,860,1212,1460,1452,1438,1356,1276,1106,929,838,1134,1172,1114,1046,675,476,839,1096,724,741,912,919,1202,1426,1572,1304,1326,1530,1516,1202,926,678,574,925,1238,959,750,780,910,853,702,1006,1070,754,1050,1426,1338,1226,1248,1362,1178,1312,1390,1654,1658,1162,944,1050,664,423,610,1206,1046,507,669,912,832,810,1146,1238,1122,1294,1134,1086,1094,1344,1376,1362,1206,1174,1364,1144,1118,1278,1304,1230,1020,845,805,661,471,383,483,457,445,454,882,1068,1008,1094,1088,1108,1102,1628,1528,1300,1028,1094,1170,1170,1072,814,532,666,1120,1212,1164,1536,1600,997,772,691,1012,1174,1028,944,658,435,528,996,1282,1078,912,1172,1448,1178,1007,1184,1015,719,952,1122,910,1034,1340,1282,1116,905,634,613,877,1178,1290,1013,750,921,985,752,1060,1122,1126,1684,1644,1750,1842,1902,1876,1896,1966,1962,1906,1844,1696,1306,987,839,827,894,780,694,753,1066,1042,910,779,916,1030,1052,1432,1376,1196,1044,670,473,413,660,872,816,637,579,904,1232,1472,1190,1268,1312,1260,1206,1204,881,919,1044,880,868,929,1072,1200,1196,958,992,1296,1360,1084,954,1074,1180,1138,932,678,518,814,1026,1080,1156,1080,1058,1438,1406,1038,812,681,820,1102,1312,1284,1070,753,670,691,741,675,745,735,765,664,489,749,1114,1148,1408,1222,1182,1166,1264,1354,1342,1344,1334,1102,1106,1276,937,708,789,1002,714,770,987,1164,1334,1140,1272,1908,2230,1694,1506,1924,2082,1826,1340,1456,1009,1030,1300,1156,1152,1186,1238,1178,1044,1288,1576,1650,1164,1026,976,1046,1196,1136,1100,1144,1076,998,1082,826,742,1070,1450,1280,1296,1290,1060,924,1206,1476,1174,1050,982,1214,1514,1032,764,743,738,851,1236,1532,1500,1388,1148,847,790,998,1168,1136,1116,1128,1184,1144,1112,1260,1208,1208,1186,730,1014,1528,1638,1406,1020,934,506,502,802,891,808,745,726,897,1144,922,1020,1144,1102,1164,1382,1194,1100,1084,1082,1172,1048,1038,1362,1728,1218,1514,1612,1078,902,910,725,748,983,1362,1604,1634,1716,1346,1354,1138,1338,1192,1106,1092,792,697,675,559,772,914,722,837,1310,1490,1218,1218,1258,933,767,824,853,968,1158,1094,560,384,384,394,382,384,268,238,276,348,345,343,360,543,790,660,482,352,365,480,906,824,296,165,192,191,321,703,1104,1052,729,523,383,461,448,532,772,540,340,303,308,424,626,440,275,211,258,269,281,230,232,276,299,551,678,538,763,1164,1660,2060,1138,949,984,924,634,349,601,810,707,659,987,1278,1228,1176,944,451,700,1068,782,862,1358,1416,987,532,671,670,521,869,1106,1160,1316,881,796,796,444,594,1204,1428,1494,1216,649,278,382,537,412,343,373,521,536,937,1224,1294,1484,1382,863,1422,1632,488,358,334,332,277,316,342,307,326,505,717,901,629,304,291,357,364,433,525,735,1224,1324,1478,1786,1982,2076,1514,1036,1322,1446,1194,993,1378,1484,1360,1030,806,612,560,651,857,1116,1178,1280,1246,599,397,420,589,792,1018,931,849,992,886,468,419,666,794,827,662,418,625,919,1310,1376,1324,1180,736,549,567,673,706,990,1246,1692,1926,1428,809,542,763,1094,1086,1007,1072,1482,1808,1362,1148,1410,1472,1308,1015,595,889,1078,650,703,708,1210,1614,1122,888,868,959,1086,1228,1198,1026,878,604,583,1156,1550,1546,1190,1306,1380,1594,1540,1684,1670,1670,1926,1328,551,481,677,1290,1368,1396,1126,954,778,578,1010,1230,1148,1200,1150,1316,1158,1068,933,1170,871,921,1058,877,905,1015,874,875,825,568,560,491,476,729,897,711,594,655,747,781,951,1026,896,853,960,750,504,414,971,789,689,814,892,792,1278,1810,1744,1780,1666,1692,1688,1462,1660,1526,1354,1236,1400,1448,1452,1188,1428,2324,2238,1440,1266,1180,934,972,1178,1370,1526,1336,1178,1204,1130,1076,1318,1406,1230,1394,1410,1242,1242,1190,1176,1082,1052,957,955,953,1007,1116,1262,1268,1268,1338,1218,1094,1086,1404,1522,1306,1142,1138,1342,1568,1912,1356,1164,1200,1122,1084,845,1166,1678,1946,1282,503,705,1152,1160,1190,1194,1232,1168,1158,979,940,1138,1126,1232,1684,1914,1550,1400,1110,1272,1264,1011,712,418,421,952,1262,952,769,934,769,608,317,294,346,307,327,300,274,348,392,391,436,615,1144,1670,1360,648,370,397,397,366,438,493,477,463,466,469,536,711,639,751,972,1378,1222,697,877,899,509,343,365,534,464,499,734,977,956,630,467,524,614,652,681,1056,1096,562,378,310,328,348,270,286,309,311,590,888,844,717,595,397,322,299,306,472,632,542,442,455,400,319,424,483,457,454,572,651,663,411,361,542,591,624,473,361,414,457,498,555,556,562,529,518,532,462,364,374,337,371,960,1478,1130,924,929,874,1214,1266,1342,1314,1242,1322,1238,1228,1266,1316,1608,1760,1538,1138,914,975,1032,1318,1308,1340,1504,1560,1676,1540,1314,1246,995,1028,1218,1536,1722,1206,1072,1082,1013,1092,1140,929,1050,791,735,755,624,730,789,1058,1156,1028,741,822,1048,1126,1244,1188,1078,1096,1156,1444,1620,1640,1704,1534,1360,1366,1140,907,1064,819,687,714,620,573,434,342,593,1110,990,642,574,884,1178,1170,1368,1120,1292,1318,1406,1244,1023,1054,956,657,466,707,803,854,1074,968,780,797,1142,1234,1152,1056,990,1206,1136,689,741,1290,894,709,790,835,766,1212,1602,851,655,667,400,485,743,714,799,477,574,845,1082,886,994,998,897,932,1070,1284,1312,1256,1306,1224,1204,922,1172,1624,1524,1472,1654,1618,1530,1514,1564,1488,1182,995,1222,1510,1448,1200,1162,1166,769,478,802,1324,1584,1500,1794,1578,1440,1160,1058,1106,1158,1438,1516,1372,1180,1302,1358,1226,1140,1414,1528,1432,1282,1422,1482,1350,1278,1066,753,841,994,954,843,929,1204,1046,1910,1644,1196,1248,1116,1060,929,861,1038,956,1164,798,1004,1026,1188,1180,965,959,1228,1234,980,855,1001,1138,905,1024,1028,1122,1384,1224,1019,1112,1208,1432,1656,1750,1586,1288,1226,1202,1246,1628,1808,1690,1322,1252,1146,1284,1394,1082,1204,1498,1328,742,670,938,833,849,806,969,1164,1216,1344,1272,1084,1064,907,1166,1252,1322,1318,921,665,926,1182,1064,1042,875,784,946,1054,915,903,1286,965,927,988,1616,1932,1522,1420,1340,1112,1300,1360,1146,1340,1326,1334,1584,1686,1798,1744,1572,1506,1582,1722,1598,1326,1476,1580,1544,1554,1202,1288,1310,1334,1472,1518,1536,1568,1578,1524,1640,1596,1548,1428,1394,1366,1274,1246,1336,1346,1368,1392,1490,1696,1760,1644,1556,1506,1500,1454,1406,1362,1544,1648,1544,1622,1716,1524,1178,1046,953,927,1256,1758,1642,1366,1372,1308,1310,1614,1686,1716,1596,1588,1462,1090,1432,1358,1148,1192,1358,1444,1404,1638,1794,1840,1698,1324,1576,1652,1390,2112,1874,958,772,1008,1208,836,805,799,1034,980,1124,1272,1116,635,590,1080,1386,1618,1686,1328,1152,1164,965,1116,1090,1068,1202,1328,1490,1390,1272,1234,1292,1414,1426,1270,1038,1034,1272,1786,2212,1486,890,926,905,705,516,557,499,499,653,728,835,1224,1152,794,937,996,1108,1240,1344,1554,1274,1476,1328,1352,1302,1120,1170,905,920,985,938,1310,1288,1040,960,951,1272,1068,733,686,840,900,644,450],[885,962,1154,1138,650,315,314,383,474,939,1546,1001,630,481,355,517,580,378,308,541,690,508,437,447,808,1022,805,502,472,699,855,718,541,392,398,422,404,376,333,304,550,716,756,539,414,396,381,342,293,243,345,550,488,447,488,548,689,869,1158,1428,1236,1082,1258,1180,1009,1190,1330,1196,1050,920,534,441,723,887,682,687,813,687,433,724,1300,1334,1023,603,603,736,840,770,880,1598,1922,1318,1028,1122,874,525,332,306,316,349,310,795,935,641,682,577,372,387,373,365,331,418,655,1252,1094,730,719,719,558,544,618,496,1000,1374,1510,1364,885,830,775,508,442,549,703,688,659,639,591,523,417,363,546,458,350,288,242,295,381,436,513,480,482,427,418,385,383,408,449,490,504,563,543,694,727,749,666,998,1005,595,407,329,300,401,847,1220,1538,1294,673,324,274,299,271,287,268,303,327,359,393,437,539,583,814,1300,1076,753,700,574,514,600,700,666,692,821,465,274,262,238,281,323,383,361,497,613,622,614,483,436,491,496,565,495,256,228,281,290,275,511,525,807,1096,662,377,382,391,403,318,387,406,391,547,337,254,251,354,562,632,703,927,797,607,566,771,828,936,1190,1222,1046,836,1164,1102,938,875,708,743,689,588,387,730,925,874,1056,1104,1300,1516,1670,1534,1194,1194,1010,919,1068,783,483,833,1244,858,756,845,645,698,667,356,410,382,361,333,318,300,280,242,204,217,255,302,340,438,669,945,825,881,990,1260,1244,756,794,1344,1352,1108,1162,1162,833,1007,1122,1038,1078,904,939,1324,1410,1158,1088,1122,1220,1404,1560,1500,1294,963,1234,1092,1164,924,570,849,1058,980,1170,1202,1236,1246,1356,1166,1384,1406,1296,1376,1196,1042,1226,1218,976,694,589,553,477,557,915,870,658,819,756,623,992,1360,1012,1058,1120,1112,1012,832,1078,1356,1224,1088,1013,1062,1066,985,1140,1238,813,781,984,780,592,402,272,338,433,393,654,1048,1024,1046,1238,1172,1048,1288,1638,1390,1176,1052,1054,1090,1096,1102,982,709,613,636,724,810,944,1080,1003,1108,838,986,1478,1548,1346,864,696,805,1015,852,1042,912,899,1110,943,730,819,1006,1015,1110,1096,999,1250,1360,1009,776,854,938,1246,1236,1106,1174,1114,1048,1250,1186,771,799,874,935,1306,1438,1624,1708,1732,1766,1782,1802,1808,1760,1740,1744,1494,1224,1094,973,778,680,661,922,991,858,1112,1216,1160,1332,1278,1358,1198,1190,1005,584,564,650,562,560,661,612,865,991,1046,1214,1024,995,1112,1250,1208,1122,911,582,630,741,591,713,1176,1180,1184,1042,1108,1378,1244,929,1072,1092,1086,977,941,984,995,1098,1176,1386,1316,1048,1136,1328,1254,1136,997,1098,1270,1246,1194,1152,883,877,881,923,906,752,698,802,916,906,947,991,1062,1404,1642,1628,1524,1422,1428,1382,1318,1302,1162,1066,1180,1058,700,778,793,951,650,590,859,1100,1140,1036,936,1400,2042,1956,2346,2880,2394,1478,1208,1502,1264,1286,1418,1023,811,673,675,716,1290,2094,2298,2090,1380,1042,1013,1072,1200,1186,1152,1268,1476,1360,1082,753,1021,1350,1270,1270,1234,1054,917,905,1322,1410,1134,1120,1168,1528,1504,1180,946,880,919,1058,1114,1092,1176,1300,1086,758,1132,1064,980,1017,966,981,1202,1166,1032,1088,1054,1396,1538,996,747,1238,1630,1468,1238,1140,676,652,1080,1222,1174,1176,838,857,1042,950,1140,953,785,959,1314,1336,1134,1024,1072,1306,1996,2044,2024,1918,1218,1352,1216,1072,1234,1064,930,1206,1310,1332,1548,1820,2004,1820,1298,1108,1592,1538,1138,960,981,1206,1050,579,572,976,852,544,933,1250,1450,1278,1124,972,988,1026,1116,1416,1118,839,406,394,406,455,459,424,348,319,299,282,276,287,343,524,683,545,365,250,340,511,930,954,405,166,227,229,292,479,644,923,960,479,328,296,319,298,304,290,299,334,298,444,599,379,346,416,444,324,244,252,247,296,273,230,268,344,504,812,1154,1712,673,537,850,882,564,295,552,822,866,782,868,1134,982,927,545,661,987,984,864,1514,1470,1136,1204,1186,1012,678,406,526,588,813,1068,813,964,930,596,688,1050,1362,1304,694,321,279,338,543,805,549,585,900,597,436,630,819,1350,1648,1744,1324,1050,828,692,465,432,420,385,392,470,527,458,529,692,467,285,314,364,328,379,310,323,433,440,502,739,1120,1354,1126,970,962,1122,794,711,1040,1240,821,574,593,441,484,854,1178,1272,1404,1212,895,651,498,728,911,758,706,861,916,1008,1112,949,868,869,525,598,799,814,736,709,1024,1216,1382,1408,875,579,453,864,791,670,772,1100,1450,1344,915,688,602,555,508,414,1019,1676,1846,1166,955,1120,1448,1434,1192,810,776,805,702,578,521,1006,1094,1098,1022,1014,1132,1154,1202,1122,971,1013,559,470,802,1020,696,553,780,954,1242,1486,1544,1650,1748,1562,1122,877,716,760,1064,957,1190,1450,954,730,740,735,915,1176,1354,1240,1250,916,943,945,1290,828,506,447,397,642,781,539,440,319,241,317,350,421,777,987,838,725,777,650,648,822,807,813,1150,1340,983,515,493,1044,1046,933,1026,995,805,1076,1844,2010,1880,1640,1732,1650,1462,1524,1422,1400,1232,1178,1400,1434,1396,1352,1666,1556,1318,1412,1116,1178,1088,993,1280,1566,1376,1124,1058,943,1001,1098,1212,1216,1278,1202,1208,1166,1108,1038,1166,1212,970,1011,921,1088,1186,1218,1164,1190,1248,1214,1134,1084,1160,1300,1240,1154,1400,1132,1200,1470,1284,1220,1128,1016,1054,1064,999,1282,1668,1240,888,782,946,1021,1114,1212,1210,1212,1314,1238,1078,1158,1108,1172,1214,1408,1464,1434,1362,1328,1086,1202,892,444,364,563,926,861,744,930,825,654,394,448,528,397,359,354,301,345,348,374,588,1013,1344,1572,1256,656,403,361,344,398,490,482,474,480,462,469,504,673,781,845,965,923,551,417,484,435,393,369,339,321,405,640,955,1062,681,362,423,548,714,731,792,1196,1074,694,355,288,274,278,308,318,314,347,545,741,599,574,686,645,364,433,359,335,693,636,291,360,353,316,439,295,297,323,604,839,692,431,361,445,556,583,434,325,360,431,463,528,536,560,577,581,547,447,368,360,343,316,686,1356,1023,913,1252,1198,1188,1402,1446,1438,1570,1540,1560,1396,1406,1312,1096,1208,1218,1096,1198,966,1015,1384,1432,1436,1402,1418,1632,1622,1138,986,926,993,1216,1566,1394,1050,974,955,935,1200,1332,953,1220,860,929,885,702,740,913,1013,808,774,995,1012,1240,1126,931,886,997,1096,1016,1318,1478,1312,1392,1332,1038,858,944,929,915,669,901,1020,719,465,324,299,452,694,811,882,753,771,1086,1188,1194,677,774,993,1246,1362,1062,825,1106,1062,863,1230,1190,1194,1172,1236,976,1042,1270,1352,1362,1116,1030,1210,1196,1262,1366,1308,1052,1070,1078,1102,1056,1308,1152,832,727,375,371,589,845,672,652,450,509,779,868,677,913,1256,1148,955,1174,1438,1228,1356,1326,1180,1370,1316,1462,1710,1548,1590,1532,1392,1380,1628,1994,1674,1328,999,1402,1766,1536,1362,1146,918,708,451,421,755,1146,1322,1600,1146,840,1028,1090,1186,1542,1610,1350,1262,1013,1206,1358,1208,1023,1242,1366,1054,1146,1308,1242,1392,1204,1126,943,1054,1046,956,1104,833,854,1180,1838,1522,1250,1336,1070,1144,814,719,1166,1230,1222,1244,1042,1092,1222,1024,1004,1318,1382,1442,1158,818,823,1236,1172,1138,1266,1382,1572,1264,980,966,1122,998,1080,1492,1462,1290,1610,1184,1258,1104,766,891,1190,1104,1026,1288,1300,959,1200,1340,919,626,421,411,421,716,944,708,698,1013,1356,1218,1120,1074,1118,1360,1300,1158,1034,822,788,830,1136,1292,1102,900,1010,1160,944,1028,1234,1512,1134,748,807,1166,1340,1374,1604,1450,1120,1500,1224,1058,1174,1236,1196,1290,1446,1424,1404,1346,1402,1740,1726,1602,1644,1628,1632,1622,1528,1356,1324,1192,1172,1174,1158,1382,1520,1368,1426,1614,1588,1596,1582,1490,1448,1522,1624,1638,1520,1456,1438,1528,1600,1644,1406,1306,1422,1200,1112,1108,1332,1870,1334,1324,1710,1762,1448,1466,1442,1566,1390,1488,1760,1726,1576,1396,1238,1330,1664,1960,1850,1814,1698,1288,1166,1332,1298,1280,1306,1456,1246,900,979,1546,1710,1542,1538,1916,1818,1414,1452,1122,880,1088,1424,1666,920,742,671,753,852,1060,954,830,652,747,1196,1134,1126,1232,1152,703,770,746,827,1060,897,865,1064,1138,1072,1452,1440,1222,1240,1334,1290,1080,1206,1272,1460,1482,1148,1064,1078,1013,810,613,615,514,501,796,921,1118,1496,1400,1064,924,922,1028,1366,1328,1632,1982,2064,1608,1556,1546,1356,1150,1094,1228,1054,824,800,798,705,519,557,915,1002,744,605,611,601,561,432],[791,902,1066,1172,943,477,355,455,435,816,1338,678,306,363,285,484,538,347,327,294,257,297,296,419,1266,963,563,481,470,764,889,552,519,346,335,384,357,348,331,312,468,705,617,374,343,378,369,317,324,338,359,550,565,494,449,440,600,794,1032,1188,956,951,1210,1354,1088,1042,1182,1154,1007,750,444,725,1286,1180,556,695,1028,836,396,727,1400,1562,1124,720,729,819,853,821,1116,1874,1980,1214,1078,1444,1078,641,377,308,308,299,222,473,849,974,1078,959,500,365,350,338,259,241,215,352,377,494,909,950,839,758,604,482,925,1498,1792,1538,1334,1204,750,499,479,569,688,628,843,1116,1010,824,563,477,614,521,444,334,270,371,430,396,391,402,422,393,401,361,351,343,394,458,498,607,498,403,329,423,463,744,1038,819,501,357,304,318,375,602,1140,1014,941,472,288,323,316,275,293,360,354,334,403,421,463,523,635,886,708,683,684,518,368,378,604,796,806,827,620,417,344,225,245,273,364,449,719,936,861,657,570,591,525,457,376,318,278,293,255,245,273,479,545,985,1222,717,467,429,351,316,299,391,365,342,308,283,281,276,328,662,1224,1320,977,592,490,426,696,822,903,1011,1078,918,952,1356,1256,1016,798,487,438,587,719,628,955,1038,1050,1470,1710,1624,1674,1578,1310,1108,1062,902,886,794,807,697,860,901,694,772,988,797,777,645,647,560,481,435,361,320,303,268,238,241,269,290,319,303,361,544,536,517,617,635,775,876,706,774,1162,1284,1228,1318,1316,1310,1408,1212,1108,1432,1692,1714,1668,1438,1116,1100,1208,1256,1136,1548,1620,1604,1468,1294,1158,1146,877,786,813,683,944,1019,1013,1052,1226,1238,984,1294,1178,1092,1108,828,1256,1510,1376,1174,902,743,803,752,719,748,1024,1050,1098,1018,724,1284,1584,867,964,1038,1062,828,728,1046,1232,1124,1154,1158,1096,879,758,930,1184,825,716,808,731,530,423,762,1640,1436,603,758,739,711,1102,1260,1418,1418,1410,1306,1330,954,719,878,1034,1054,930,786,909,949,863,1030,990,1074,1274,1500,1600,1300,1510,1640,1434,1460,1084,959,871,1138,1116,1014,857,1030,1080,856,828,924,1230,1448,1328,957,744,1074,986,844,774,502,721,1178,1148,1078,1164,1016,1084,1496,1192,1056,1068,1112,1208,1230,1210,1366,1536,1594,1726,1732,1768,1816,1660,1616,1656,1294,849,941,937,688,650,694,730,884,1048,1256,1208,1256,1338,1140,1130,1122,1166,940,551,615,827,738,885,1072,904,928,1015,976,956,904,813,915,1162,1184,1178,1198,865,1156,1224,708,647,1058,1082,1066,1180,1138,1230,1132,896,1020,1030,1138,1298,1336,1108,1232,1212,1290,1172,944,1172,1344,1210,1322,1500,1408,1462,1254,1224,1412,1258,836,902,896,781,623,752,875,804,948,1020,934,913,1001,1328,1426,1484,1626,1676,1676,1546,1540,1562,1284,1436,1366,1162,1150,949,794,963,905,776,823,973,963,980,1098,1274,1578,1454,1984,2490,2102,1368,1384,1494,1400,1498,1520,1288,943,637,596,700,1604,2078,2170,2072,1372,998,1058,1028,1068,1382,1382,1015,1076,1200,987,1068,1352,1278,1246,1164,909,875,778,861,1356,1638,1166,988,1264,1504,1638,1550,1260,1084,1020,886,861,1194,1294,1144,937,810,1110,971,951,969,908,1018,1122,1100,1172,1278,1076,1164,1320,996,852,1302,1556,1478,1298,903,818,906,1008,1434,1494,1326,927,1046,1230,1500,1108,492,603,916,1026,863,603,798,1048,1442,2392,2570,2104,1482,1268,1456,1116,889,1432,1950,1354,963,1192,1090,1178,1212,1470,1892,1390,1106,1490,1504,1132,1246,1606,1514,1118,631,554,835,1005,813,1118,1226,1294,1128,1094,1188,1210,1194,1206,1260,1078,451,359,357,352,408,419,420,404,385,390,361,327,272,243,261,305,332,283,243,280,271,543,740,433,186,249,261,314,279,250,320,389,357,329,278,250,257,287,221,227,256,220,278,294,295,572,806,737,514,332,273,247,266,276,284,248,264,401,642,1030,987,667,489,773,1374,1192,457,459,755,968,642,700,1036,973,769,652,962,797,590,1028,1704,1266,697,1020,1458,1296,1140,761,496,432,576,957,1182,1298,961,711,1156,1572,1764,1448,608,354,445,439,467,743,886,924,1072,1108,878,598,716,796,912,1110,1198,1238,1538,990,835,830,570,357,430,664,780,799,734,622,367,283,295,289,320,464,498,512,761,694,361,341,335,444,868,1268,1162,771,587,745,1112,1010,674,604,515,548,769,1180,1304,1290,1426,1224,680,546,583,672,672,601,677,790,814,861,1238,1338,999,776,564,811,954,871,819,655,631,1130,1344,1478,1332,998,487,704,1072,960,979,832,845,1068,653,471,487,403,401,523,1490,1982,1826,1316,1170,1270,1560,1648,1388,1038,588,457,604,485,693,1034,1208,1582,1284,998,1122,1148,1106,950,1116,1360,622,661,1022,1098,788,809,1058,921,742,753,867,1078,1192,1294,1456,1382,1400,1472,1218,919,1212,1350,1015,1036,1126,1048,675,1036,1256,1246,1110,1052,852,959,1302,855,352,406,326,305,404,554,609,355,301,350,347,387,644,998,984,800,822,693,655,832,849,790,1368,1762,1382,601,620,1174,1196,909,1000,1092,905,1108,1864,1708,1776,1744,1620,1594,1676,1636,1498,1422,1046,955,1060,1356,1728,1746,1518,1448,1666,1454,1274,1266,1026,1048,1432,1650,1262,1262,1216,1114,1040,1076,1262,1278,1252,1300,1158,939,998,999,939,1130,1160,1188,942,961,1122,1162,1188,1208,1174,1268,1422,1122,1182,1274,1268,1180,1250,1134,1108,1004,1044,1114,1218,1506,1538,1154,983,941,944,998,1268,1454,1266,1128,1218,1394,1448,1376,1416,1150,976,1206,1130,1066,1168,961,902,1312,1438,1346,1528,1438,875,442,358,385,606,539,683,870,844,764,505,479,723,799,666,509,351,391,539,916,1294,1262,943,1318,1238,555,378,394,344,424,490,486,458,484,462,480,473,637,667,479,572,576,398,341,379,461,413,363,371,298,368,572,774,769,538,479,515,562,661,797,774,791,769,535,333,275,230,248,307,359,361,385,369,394,544,590,583,384,290,411,333,371,876,1078,672,642,651,463,481,365,321,332,558,676,572,427,350,381,481,542,408,318,373,453,467,529,573,628,595,535,503,400,351,368,370,349,424,1042,1396,1420,1284,1352,1286,1252,1396,1976,2286,1540,1754,1430,1278,1190,1172,1238,1072,1150,1216,731,709,961,1078,1168,1208,1436,1656,1632,1200,1044,1092,1104,1064,911,805,969,1009,979,932,1122,1164,953,973,939,1042,1614,1570,1036,1160,1019,895,1012,1146,1154,1448,1194,945,956,1216,1170,1002,1294,1448,1448,1362,1402,1146,938,1012,1166,1022,543,495,666,793,655,320,323,378,593,955,855,705,589,709,917,1188,1158,1166,1120,1212,1398,1046,653,871,1106,1048,1172,1434,1042,1172,1522,998,741,1118,1354,1130,895,1110,1206,1056,1386,1410,1040,912,973,993,880,811,684,891,1344,1052,500,372,539,619,743,783,721,559,674,951,897,1168,1316,1122,973,1052,1344,1298,1350,1378,1430,1432,1378,1474,1456,1396,1440,1354,1274,1256,1394,2042,2098,2166,1500,1172,1398,1520,1490,1440,1218,1046,952,708,987,1276,1518,1384,1056,816,988,1202,1230,1340,1238,1132,915,1001,1250,1190,1170,1164,1262,1208,1136,1460,1260,1076,1322,1422,1184,1286,1414,1326,1046,1348,1198,993,1260,1354,1308,1272,1198,1138,1534,1476,1362,1526,1332,1316,1284,1174,1320,1302,1216,1270,1306,1416,1592,1306,1114,1146,1208,1216,1382,1418,1366,1534,1520,1314,1064,1328,922,642,798,903,1066,1494,1242,953,946,760,510,600,834,1026,1066,1296,1168,1210,1310,852,611,511,460,560,1010,1356,708,792,935,1034,1042,1052,1036,1020,1086,915,1026,1042,905,1030,888,1274,1362,1312,921,995,1234,932,904,1286,1384,1038,1108,1288,820,850,1372,1562,1400,1168,1152,1406,1704,1410,1184,1244,1328,1322,1360,1164,1202,1126,1466,1608,1598,1564,1698,1844,1742,1714,1536,1362,1456,1490,1210,1164,1478,1522,1436,1310,1144,1310,1450,1554,1554,1334,1312,1250,1294,1242,1230,1180,1266,1388,1506,1190,1160,1122,1076,1264,1254,1238,1470,1054,1680,2056,1650,1394,1448,1354,1344,1436,1600,1672,1798,1656,1256,860,1012,1366,1570,1652,1810,1596,1122,1072,1294,1398,1592,1448,1636,1138,739,1146,1554,1440,1336,1658,2282,2070,1432,1188,1246,1360,1450,1210,971,728,781,864,955,1126,1120,875,1004,988,871,848,907,1146,1064,1042,828,1320,1264,836,910,879,832,944,1018,959,1272,1328,1186,1288,1286,1322,1136,1138,1302,1250,1226,1132,1176,1256,1186,817,550,521,510,458,644,1003,1188,1310,1272,1262,1152,855,879,1344,1158,1452,1676,1404,1300,1328,1264,1030,1094,1334,1404,1338,1036,833,709,666,533,422,737,1118,1040,701,552,516,584,444],[883,1100,1244,1244,1340,844,452,424,439,694,1050,612,293,244,259,302,276,378,360,291,292,301,255,285,883,914,583,491,496,763,848,523,505,420,437,478,357,307,315,239,284,525,576,350,325,307,305,279,350,373,375,482,517,409,365,488,641,677,948,932,991,960,1210,1672,1176,949,1144,1166,1010,504,436,859,1120,854,423,540,903,1086,537,835,1616,1582,1086,854,835,569,789,1450,1382,1018,1088,1182,1058,849,686,502,312,290,300,262,234,357,741,1152,921,902,620,441,466,346,270,277,248,240,298,544,1011,1068,1000,843,756,479,503,1086,1386,1176,1164,1130,579,460,496,598,940,982,1182,1390,1268,1222,1164,1030,909,529,426,342,332,401,392,391,342,421,426,375,382,350,354,405,423,433,423,447,378,311,348,363,361,474,514,492,503,346,314,300,345,645,777,821,1170,599,327,415,453,385,331,385,431,405,408,395,438,503,672,619,634,889,814,472,319,310,543,922,789,744,612,656,542,502,489,431,469,419,586,759,572,468,741,1294,1338,830,404,460,655,491,426,742,891,622,658,1426,1440,1076,867,694,423,362,373,426,330,270,279,253,237,249,333,739,1396,1358,1096,953,824,728,834,962,783,707,852,808,854,1492,1446,899,691,495,443,437,719,733,943,1164,1086,1354,1776,1656,1616,1440,1364,1162,1310,1306,1086,982,890,824,745,802,1066,1098,1320,1058,812,767,944,589,413,422,357,308,305,260,246,268,288,279,301,401,789,789,504,480,556,599,610,638,550,578,770,949,1184,1208,1202,1184,1200,1086,1002,1332,1736,1616,1588,1378,879,974,1218,1268,1226,1238,1362,1498,1484,1506,1358,1120,1214,1294,1019,1140,1068,662,646,816,1278,1214,905,910,927,1012,896,759,1028,1426,1408,1472,1060,969,1004,1264,1134,836,1082,1170,1182,1182,1198,1320,1264,1192,1124,908,843,938,1078,1206,1268,1356,1222,1192,1122,841,669,826,1028,969,1007,815,886,855,553,775,1610,1736,1108,964,961,980,1234,1406,1402,1456,1190,996,1144,940,505,490,850,1102,1104,1148,1032,1088,897,1008,1028,1174,1202,1176,1214,1356,1738,1678,1546,1360,1192,1146,984,1018,939,1015,1058,987,943,959,1260,1410,1654,1696,1134,796,612,818,998,995,888,629,383,381,504,664,767,965,1013,1240,955,1068,1118,993,1140,1166,1136,1210,1230,1348,1484,1542,1504,1554,1486,1202,1160,1268,1206,1146,977,683,697,792,740,954,1110,1288,1272,1042,1056,1176,1218,1282,1486,1458,761,608,841,1094,1015,994,1060,884,1013,1052,951,1064,1080,1214,1150,1280,1354,1378,1208,1196,1250,1040,839,903,996,1058,1160,1242,1332,784,788,1012,1108,976,1158,901,894,965,1003,1214,1060,1098,1282,1236,1264,1452,1404,1400,1478,1224,904,1396,1398,824,896,1070,885,664,938,871,626,1040,1070,658,558,929,1146,1003,1272,1422,1284,1390,1400,1570,1550,1508,1698,1506,1226,1294,1200,987,1264,1246,963,887,971,903,1358,1648,1272,1328,1924,2102,1926,1718,1420,1250,1238,1376,1494,1412,1030,720,608,579,709,1208,1406,1436,1288,1136,1090,1148,976,997,1050,1128,874,922,952,1070,1288,1242,1312,1170,832,810,799,684,904,1272,1334,977,974,1140,1304,1414,1270,1116,1080,976,767,847,1424,1434,1148,927,859,885,920,1030,1100,1282,1076,1136,1382,1180,1144,1116,941,783,1028,1426,1486,1386,1334,1058,443,561,1184,1374,1236,1016,741,692,1118,1436,1376,847,801,791,720,627,727,622,612,949,1112,1488,1782,1410,1210,1444,1466,1094,1192,1576,2038,1750,736,664,742,639,913,1980,2664,1938,1262,971,1094,1268,1576,1538,1250,1042,984,1048,1050,899,739,1008,1152,836,586,711,959,1230,1366,1486,1432,645,271,326,314,334,384,391,411,393,384,402,394,356,327,306,307,263,290,311,333,469,487,334,323,216,184,246,261,353,351,329,273,300,315,429,472,371,598,691,303,262,293,254,282,260,249,249,235,564,719,387,267,260,277,243,256,259,253,278,287,304,686,910,676,785,658,359,310,420,673,673,440,537,878,935,714,747,741,519,510,677,772,776,937,1158,767,1050,1454,1308,1011,667,852,1028,948,1048,915,890,1428,1682,1684,1166,524,441,769,859,568,390,473,583,667,755,677,777,924,512,536,901,1308,1038,1100,1290,1362,1372,985,437,448,658,665,857,587,442,371,379,479,517,427,418,649,826,855,645,384,440,452,401,744,849,612,415,475,880,1252,1148,1296,1448,1242,870,666,1378,1468,1414,1410,1152,759,589,625,507,419,689,949,880,893,890,1192,1376,1254,1112,976,994,825,834,1064,1023,1186,1594,1162,1028,1260,1040,625,472,755,1042,1188,888,640,997,578,427,370,362,349,711,1504,1824,1744,1892,2046,1906,1558,1072,1148,1052,518,356,354,415,835,1158,1296,1542,1350,996,1023,1044,1046,847,916,956,767,1262,1324,1482,1560,1290,1588,1612,927,886,993,963,703,743,1036,1364,1488,1304,1238,1258,1360,1540,1426,1278,1378,1576,1204,1254,1082,926,877,865,789,988,1186,896,712,926,720,487,464,390,532,374,303,288,273,415,717,1058,1260,925,730,721,769,938,982,1048,1558,1832,1352,681,525,768,985,968,951,927,744,1200,1832,1820,1738,1696,1786,1764,1738,1478,1384,1494,1014,827,824,1094,1536,1890,1644,1606,1744,1328,1054,1144,1110,1288,1324,1246,1224,1408,1356,1152,1015,1182,1290,1298,1300,1250,1116,897,964,1032,1060,1152,1272,1268,1146,1074,1146,1110,1118,1220,1032,1154,1324,969,1216,1290,1084,1001,1062,1214,1190,1142,1160,1184,1546,2438,2470,1604,893,767,938,1132,1450,1502,1220,1060,1076,1174,1194,1348,1312,1124,999,854,940,941,1004,880,973,1208,1362,1578,1672,1242,972,453,338,351,414,379,616,789,783,717,475,514,882,1106,845,601,655,868,1088,1154,925,645,638,1108,1338,638,469,422,359,425,484,475,463,476,482,451,439,627,665,332,359,412,385,365,416,419,383,391,405,399,434,476,499,485,493,497,490,542,539,559,579,477,448,436,376,300,275,355,388,389,420,444,361,390,530,642,500,321,325,314,313,427,919,1266,841,584,518,374,361,363,344,336,468,656,655,472,378,346,410,526,416,332,377,447,476,512,609,654,551,525,532,422,375,376,380,387,276,598,1182,1354,1300,1424,1484,1448,1592,2402,2580,1498,1642,1430,1152,1124,1202,1144,901,845,713,655,913,1018,1214,1356,1486,1566,1526,1548,1282,1164,1246,1214,979,729,835,1046,1042,933,1100,1332,1314,967,882,938,1080,1732,1592,1194,1258,1246,1060,1106,1096,1096,1328,1300,1236,1170,1196,1196,1202,1196,1346,1554,1454,1286,1184,1094,1210,1172,930,522,350,473,930,993,453,326,375,605,799,774,619,478,427,661,1034,1368,1538,1462,1340,1134,814,1012,1030,946,654,714,1024,1086,1310,1246,1046,984,961,1084,1060,973,1356,1434,795,878,1100,1120,991,1108,1166,944,1084,705,933,1052,1206,918,769,989,943,1001,1108,1058,816,656,1154,1072,1126,1182,1142,1158,1278,1334,1416,1546,1634,1520,1456,1484,1456,1388,1202,941,1290,1160,1122,1064,1278,1728,1970,1344,997,1466,1548,1490,2064,1518,1142,1314,888,1114,1562,1322,1082,980,884,1154,1340,1468,1206,756,902,919,1020,1174,901,879,1086,1098,1048,1284,1256,1104,1124,1268,1422,1344,1334,1140,1226,984,1007,1238,1226,904,728,1040,1180,1388,1720,1416,1234,1462,1428,1216,1354,1222,992,1152,1094,1182,1058,826,1082,1418,1268,1314,1256,1086,1100,1332,1226,1052,1418,1434,1194,1072,1286,735,532,633,800,1196,1086,844,897,1016,677,630,713,767,877,766,814,1086,1256,1180,835,533,487,621,733,857,1074,669,915,1038,969,1102,1208,1068,1010,943,797,1086,1158,1066,1026,992,1428,1274,1242,995,1190,1276,1018,1024,1222,1080,1084,1336,1296,835,1050,1536,1620,1334,1194,1134,1350,1422,1366,1144,1086,1118,1062,1222,1166,1158,1334,1504,1596,1498,1354,1438,1476,1498,1606,1590,1744,1772,1732,1722,1600,1556,1656,1704,1424,1314,1348,1300,1482,1486,1260,1184,1188,1278,1328,1458,1328,1328,1708,1702,1472,1500,1292,1524,1562,1330,1164,1052,962,1528,1776,1434,1340,1424,1322,1208,1518,1600,1750,1632,1448,1358,837,590,697,1004,1434,1354,1016,936,1066,1346,1522,1760,1410,1344,1224,1062,1272,1406,1350,1342,1472,1356,1256,1384,1242,1172,1272,1268,1011,1015,1118,973,1042,1226,1110,939,899,1186,995,1110,728,1050,1384,1258,1198,1106,1306,1108,912,1312,1106,972,1186,1220,1100,1108,1216,1164,1266,1260,1316,1228,1250,1350,1238,1152,1034,1152,1434,1072,671,502,453,480,578,1056,1416,1336,1324,1456,1304,1104,957,1346,1236,717,1060,1520,1510,1248,1262,1376,1130,1178,1250,1250,1398,1318,1266,1310,1110,688,466,545,684,670,471,458,479,544,541],[1478,1502,1322,1166,839,711,532,472,826,1594,1506,722,338,284,330,461,552,692,644,426,290,250,269,278,559,774,541,376,413,492,466,405,387,522,729,708,489,335,368,637,879,629,493,296,327,321,295,297,336,342,358,437,509,463,430,554,714,488,883,929,1178,1160,1005,1032,871,874,933,1052,989,526,694,745,641,564,633,544,708,1410,1016,573,935,1172,1108,1094,1054,466,543,969,830,855,1106,1290,961,506,397,422,522,502,462,286,281,355,565,1120,743,880,863,880,905,427,310,277,270,269,289,441,819,849,850,849,694,453,425,769,954,927,915,922,694,543,550,772,1422,1484,1260,1456,1556,1572,1670,1388,1066,591,418,413,407,383,362,378,395,443,400,352,387,366,433,512,659,762,531,383,289,305,303,295,341,393,381,382,398,378,368,375,420,682,641,880,731,394,418,403,369,428,409,388,386,337,346,452,539,595,677,521,645,889,665,336,244,284,400,454,725,642,544,533,531,568,637,799,740,591,509,517,444,416,660,1516,1560,929,432,554,948,980,955,1106,1192,863,1023,1604,1236,1034,1240,1036,788,535,396,347,252,279,298,260,264,364,416,644,1150,1234,1384,1444,1234,992,1019,988,775,852,808,763,773,839,899,815,1058,809,706,783,673,1090,1594,1044,924,1730,1812,1368,1466,1376,1170,1098,1224,1076,818,686,968,1116,984,1078,1200,1562,1482,1104,606,594,596,398,315,283,276,286,295,261,253,261,292,323,449,565,1102,1020,586,580,745,610,578,621,606,558,571,719,990,1130,1144,1072,989,1078,1198,1202,1166,1286,1434,1224,836,971,1176,1128,1056,1160,1686,1592,1148,1222,1418,1572,1658,1660,1332,1164,962,680,728,1070,1242,1276,1142,869,880,875,700,1078,998,1350,1230,1090,654,778,1182,1352,1166,955,896,1108,1136,1084,1168,1284,1260,1416,1250,926,871,1038,1118,1246,1364,1538,1090,1094,1038,799,614,808,897,1080,1184,1078,1166,1062,723,713,1007,1180,1156,1104,1086,1148,1202,1212,1280,1448,1378,1188,1208,1240,658,650,845,1090,1005,1194,1021,1021,971,920,967,980,1008,1240,1034,1198,1394,1338,1376,1298,1230,1180,1014,841,821,1104,1172,1015,976,1094,1250,1310,1166,1084,1019,1084,852,837,1032,908,773,777,432,383,378,479,728,1102,1204,1276,1214,1346,1182,941,875,832,1194,1292,1238,1238,1302,1136,918,1028,1154,1012,965,1118,1106,1210,1012,828,824,871,808,1013,1132,1296,1054,701,693,788,971,1416,1646,1630,861,650,896,1172,1318,1218,911,732,1020,1186,1140,1262,1164,1314,1164,1266,1246,898,973,1310,1272,969,1046,1474,1348,1244,1160,1192,1202,1058,944,987,1076,1160,807,490,721,804,890,1164,990,1102,1298,1306,1334,1368,1274,1316,1634,1510,913,1120,1048,1084,1042,1208,890,797,1302,977,782,1278,949,482,691,931,879,1248,1450,1298,1240,1164,1350,1544,1246,1140,1246,1452,1494,1384,1400,1354,1366,1290,1182,1110,1015,963,1760,1920,1318,1182,1276,1352,1444,1622,1824,1312,1312,1448,1582,1450,1188,1015,950,807,1032,1604,1436,1420,1616,1013,912,1021,1009,987,888,863,739,647,930,1300,1280,1266,1104,813,823,811,755,798,1016,1166,893,896,1108,1098,1216,1204,1068,1068,1274,1142,944,810,1240,1466,1172,1012,1076,1136,1036,975,1218,1388,1262,1404,1190,933,974,1126,1120,1172,1680,1852,1350,1262,1346,1174,811,754,1470,1236,1054,1216,1062,1070,1244,1202,1100,1144,1354,1086,746,990,1023,785,828,1094,1224,1448,1302,1196,1194,1374,1334,909,1144,1294,1304,1202,910,670,499,605,836,1716,2232,1776,1654,1504,1272,1256,1232,1164,1086,1116,1394,1086,835,932,645,519,726,759,512,600,1130,1138,1080,1150,910,334,247,321,361,377,408,404,392,336,307,331,372,384,383,370,347,306,294,260,282,452,539,368,238,156,228,218,234,395,585,520,331,358,361,389,355,337,713,678,340,342,417,424,410,340,232,216,240,408,456,265,239,270,286,329,340,287,246,278,298,312,450,522,703,732,465,345,314,358,466,428,575,592,538,697,811,733,592,599,541,504,491,876,1132,822,893,1176,962,822,963,917,964,1098,1092,637,623,696,1196,1598,1124,572,371,350,717,985,727,404,402,485,456,499,430,308,677,769,886,745,708,524,620,725,810,1186,1354,875,375,484,730,1016,607,284,326,445,642,794,678,520,565,632,592,750,488,512,602,570,597,741,903,548,439,880,1312,1122,1438,1486,1726,1296,1404,2030,1744,1372,1184,1196,1082,649,518,622,623,545,566,872,1138,1036,1082,1244,1406,1266,1024,857,749,778,1070,1294,1314,1720,1388,797,1058,1320,874,409,475,736,936,868,603,1046,713,531,414,360,325,1136,2066,1974,1982,2078,2300,2188,1552,822,838,892,547,359,320,535,1018,1176,1272,1350,1132,985,1070,1062,1012,835,818,719,886,1526,1340,1100,1094,1012,1146,1062,756,1144,1400,1262,918,1136,1684,1830,1354,969,1204,1214,1534,1486,1136,1402,1636,1796,1708,1656,1388,1012,904,1284,1010,946,1036,722,733,910,797,799,732,415,300,319,307,282,346,522,662,945,1166,762,489,497,760,1032,930,1218,1792,1632,1142,783,600,501,819,1162,1102,1016,715,1170,1560,1626,1556,1580,1686,1640,1472,1084,1378,1420,929,707,805,848,1262,1572,1482,1676,1502,995,931,1106,1142,1390,1344,1280,1284,1352,1414,1352,1390,1386,1226,1136,1254,1264,1248,917,739,833,1056,1278,1286,1228,1268,1340,1368,1210,1118,1154,872,997,1350,1005,1594,1696,1130,1260,1296,1312,1282,1324,1096,1048,1504,1996,1980,1582,1100,1156,1234,1240,1388,1420,1110,1032,861,880,1052,1208,861,686,684,609,769,910,847,1006,1274,1246,1372,1614,1492,800,679,412,333,315,271,254,387,549,675,706,621,899,1068,1222,1274,1280,1298,1220,1076,921,842,1007,1036,932,1324,689,560,440,359,408,465,468,458,465,446,435,495,602,730,424,419,432,404,386,389,371,381,412,402,388,407,444,421,401,397,429,404,393,394,389,448,539,764,864,552,327,328,386,350,425,515,463,357,490,574,565,461,362,423,450,508,469,671,886,565,437,448,405,377,344,318,287,414,778,861,691,427,376,398,500,422,309,354,414,441,514,604,583,555,560,489,431,415,414,435,386,280,463,1086,1500,1390,1366,1330,1286,1336,1568,1448,1100,1290,1338,1260,1214,1176,1007,739,713,661,928,981,1274,1432,1356,1394,1152,1268,1540,1608,1614,1300,1162,1118,1072,1182,1384,1286,1094,1168,1268,1130,1128,1230,1146,1094,1009,913,1104,1188,1354,1106,1100,1192,1202,1438,1476,1216,1106,1306,1312,1242,1126,1194,1338,1362,1188,1114,912,1011,1238,1003,485,316,354,620,895,700,383,357,551,718,702,493,378,384,665,977,1148,1278,1206,1104,828,681,1054,894,607,379,405,490,562,717,832,870,758,1002,1150,936,880,1052,742,456,623,609,634,709,908,883,769,694,795,849,803,987,1054,1148,1188,918,729,1002,1244,975,938,1318,1404,1278,1418,1422,1432,1472,1592,1722,1642,1446,1422,1500,1440,1438,1422,1242,1336,1400,1132,1178,1240,1118,1220,1334,972,1116,1406,1408,1660,2720,2128,1414,1250,1132,1402,1250,962,985,1134,974,1166,1388,1406,1246,1206,1144,1368,1320,1030,1100,1356,1108,1152,1186,1296,1340,1484,1360,1356,1256,1094,833,825,703,565,976,962,651,496,739,1106,1362,1480,1702,1306,1198,1350,1316,1328,1296,1230,1166,1034,1118,1112,956,1028,947,930,721,513,689,1070,1262,1458,1456,1332,1262,1226,1158,811,802,535,505,625,1168,1462,1072,1294,1230,1274,796,811,590,487,816,959,968,1188,1202,1122,1005,705,774,993,1172,992,927,948,900,875,967,1368,1548,1218,971,774,667,1034,1196,1230,943,842,1034,1070,1154,1078,1190,1130,1052,1174,1176,1102,990,1108,1286,1322,1298,1460,1326,1186,1306,1028,759,850,1284,1216,1102,1168,1174,1194,1310,1248,1424,1566,1664,1572,1318,1344,1506,1226,1216,1310,1284,1334,1532,1670,1688,1760,1704,1612,1654,1738,1712,1672,1728,1688,1576,1582,1640,1572,1626,1498,1310,1336,1340,1272,1430,1242,1176,1458,1396,1240,1268,1200,1354,1508,1322,1132,1274,1252,1242,1338,1560,1570,1522,1128,974,1088,739,456,448,599,776,827,991,1132,1144,1396,1670,1588,1302,1158,1448,1560,1466,1488,1410,1406,1510,1470,1076,1266,1134,957,1134,1144,1188,1142,1021,1005,978,1050,739,929,1015,1009,794,1236,1090,971,962,1166,1308,1184,933,688,940,1248,912,750,980,1009,983,1064,1088,1190,1230,1254,1378,1132,1274,1528,1384,1240,1084,1094,1148,944,782,493,451,463,533,819,1092,985,855,893,664,577,947,1190,872,673,1019,1142,1202,1210,1602,1604,1224,1100,1178,1448,1676,1554,1548,1656,1306,647,485,466,314,303,278,309,381,399,390],[1136,1306,1228,942,882,809,634,596,972,2122,2098,1310,634,371,375,600,852,917,920,598,250,225,212,250,368,466,372,379,404,440,580,920,996,1134,1262,961,592,379,390,730,1116,609,477,358,438,400,264,302,344,331,333,414,490,448,454,495,578,538,880,817,529,677,636,341,491,736,882,1022,1150,603,871,1160,874,652,577,434,667,1180,1076,886,1128,1360,1186,1730,1658,711,556,932,1104,1086,1086,1096,841,719,855,965,937,894,1026,560,337,430,914,1328,941,626,779,1098,871,362,271,272,260,286,267,325,445,551,857,773,416,408,434,770,1017,1082,677,824,741,564,845,1032,1384,1674,1666,1606,1780,1682,1666,1422,874,491,411,396,365,377,393,401,413,418,360,326,387,466,605,603,666,680,487,322,336,419,354,324,401,428,362,303,338,424,559,633,728,585,400,528,493,419,408,387,395,447,443,351,305,322,379,466,639,772,569,440,494,544,494,261,210,271,296,493,784,565,363,407,417,377,543,714,743,827,894,872,489,429,425,691,819,590,333,407,524,795,935,976,894,480,737,783,700,713,946,1366,1412,803,576,320,247,350,354,493,417,551,692,727,794,888,906,886,926,756,948,852,753,617,865,955,1170,1080,832,877,1001,926,1006,931,713,1007,1172,980,1010,2050,2230,1512,1414,1302,1078,1376,1340,937,714,617,1126,1228,942,966,997,841,775,755,554,369,273,312,323,284,318,297,281,294,283,306,405,500,558,597,848,957,656,603,792,548,463,608,667,578,477,668,1005,1086,1050,925,888,1208,1094,1022,1376,1306,1248,1222,1370,1016,672,904,952,1288,1748,1450,1130,1112,1060,1216,1434,1588,1526,1216,1020,898,1018,1126,1086,1270,1162,984,868,733,607,885,1202,1470,1282,988,639,625,956,1160,1312,1028,932,1230,1214,1148,1212,1292,1354,1402,1300,938,940,1104,1286,1216,1186,1204,1046,1023,1092,891,645,705,854,1144,1184,1108,1246,1250,834,685,650,1080,1158,1122,1266,1138,731,720,1032,1136,1242,1240,1354,1440,977,846,954,1194,1336,1360,988,930,914,640,652,833,805,991,1007,1282,1186,1062,1046,1188,1284,991,753,1018,1136,773,824,1042,1178,1278,1274,946,987,1216,1568,1598,916,908,1160,861,559,546,402,372,394,772,1368,1368,1342,1416,1346,1404,1230,1140,980,1011,1080,1054,1132,1224,1238,879,767,971,1418,1582,1456,1136,1036,1040,921,946,983,916,1030,1048,1032,1172,1146,998,932,1068,1150,1254,1208,1358,1024,1058,1116,1226,1252,936,658,658,894,1122,1094,1108,964,775,854,983,1136,890,675,902,1005,699,926,1188,1204,1340,1060,997,1138,1300,1154,1056,1288,1200,763,545,1076,1480,987,982,968,1216,1414,1236,1246,1604,1528,1202,1538,1404,1104,1340,1348,1264,1064,933,849,1009,1116,769,982,1242,812,380,630,657,704,1432,1374,1232,1150,1126,1232,1098,727,492,597,928,1116,1232,1406,1400,1462,1556,1476,1446,1404,1308,1546,1544,1174,1064,1142,1284,1388,1642,1974,1574,1308,1364,1560,1436,1062,989,1128,1021,986,1168,1090,1294,1166,894,808,868,886,1136,1270,879,577,866,1310,1270,1200,959,669,784,808,765,844,888,1068,1014,893,1366,1410,1188,1270,1114,1160,1304,1310,1206,1140,998,1282,1532,1340,1472,1444,1296,1152,1122,1214,1280,1356,1518,1310,1194,1024,965,1276,1500,1462,1374,1142,1088,1104,1226,1324,1324,1560,1578,1782,2032,1754,1176,1007,921,1150,1362,1472,1076,1102,1208,821,843,1164,1254,1326,1360,1322,1528,1017,862,689,489,695,733,1038,1300,1280,933,522,558,514,664,1086,1382,1388,1562,1562,1378,1042,838,882,808,786,615,631,1080,976,543,571,835,894,732,1074,1222,864,659,342,204,231,296,341,293,430,421,368,319,291,335,329,302,285,325,362,366,346,323,335,310,260,297,239,185,238,240,246,324,592,557,442,642,520,289,218,227,453,380,303,266,282,447,622,440,300,279,293,298,292,329,271,294,287,384,487,521,462,325,280,299,281,275,384,533,681,692,662,620,472,455,802,915,491,309,627,839,613,701,669,493,596,1021,745,771,1212,785,305,344,436,726,926,846,1144,1396,1210,957,1110,807,564,455,343,372,523,714,594,383,572,751,633,441,291,300,334,437,587,823,996,848,502,377,328,540,1218,1050,478,333,659,1008,727,323,522,692,703,726,792,760,844,985,804,886,653,710,977,1040,636,594,1074,902,573,924,1344,1110,952,769,1726,1720,1610,1876,1700,1328,1238,1602,1348,811,497,695,988,689,520,814,1058,825,835,1100,1130,1026,1054,843,667,499,850,1338,1322,1668,1388,796,1050,1206,743,717,819,535,770,1076,897,1200,1258,904,563,382,475,1542,2584,2578,2354,2214,2258,1998,1224,731,589,499,434,375,411,815,1244,1078,1114,927,1092,1066,943,1062,1140,987,983,1048,1222,1348,1090,600,539,583,487,388,624,1136,1372,1330,1024,734,1048,1478,1228,1030,1518,1680,1896,1450,1238,1214,1410,1518,1594,1478,1376,1412,1974,3006,1464,841,993,573,390,372,407,636,528,355,453,484,383,386,531,852,715,510,517,478,536,675,850,1028,839,982,1294,984,890,745,632,498,855,1186,1130,1002,766,760,854,880,996,1272,1618,1452,1144,944,1216,1412,1082,789,716,653,1050,1652,1672,1360,915,1334,1466,1414,1426,1238,1372,1262,1005,1090,1332,1444,1454,1370,1330,1060,1164,1240,1378,1112,780,997,1274,1282,1238,1208,1204,1234,1256,1208,1146,1160,1142,1210,1248,2164,4420,3124,1216,1316,1260,1330,1314,1228,1092,955,1188,1046,1150,1250,1202,1212,1222,1182,1430,1506,1140,1086,811,613,984,1108,966,1018,1100,921,746,971,975,824,804,1174,1482,1504,1448,974,675,392,364,486,496,516,782,726,827,984,1076,1268,1274,1270,1054,761,605,581,700,752,742,1004,1116,916,1356,739,425,392,341,387,458,485,470,477,471,494,513,681,709,463,443,468,433,386,379,379,384,383,388,429,430,417,443,381,327,366,386,373,394,402,382,451,789,1015,825,402,371,362,323,392,438,373,425,602,645,570,412,439,480,475,503,427,713,1006,741,559,456,393,375,322,328,330,415,757,976,753,410,362,380,427,389,348,393,423,469,524,595,579,606,585,545,484,427,438,448,397,314,465,1014,1238,1058,1096,1162,1236,1210,1048,897,1012,1158,1244,1346,1304,1214,1066,896,811,949,1080,1272,1360,1396,1400,1376,1206,1216,1502,1294,1054,1080,1100,1086,1072,1126,1176,1248,1114,1120,1160,1010,1120,1316,1204,1206,1054,1028,1072,1142,1268,1208,1156,1196,1178,1230,1500,1312,1244,1062,1046,1094,1062,925,1122,1454,1490,1132,772,940,1064,879,399,362,327,570,1108,1188,754,536,695,1076,968,634,839,1130,1256,1252,1300,1032,756,737,668,824,1092,880,558,467,443,430,503,736,897,769,573,760,1072,1306,1206,1024,799,731,1019,659,424,497,576,573,590,921,1132,1026,901,594,854,1108,1128,1288,1178,1162,1226,1100,1282,1536,1852,1692,1684,1704,1616,1610,1690,1534,1478,1334,1212,965,866,1136,1410,1600,1666,1354,1226,1450,1486,1334,1142,1060,1110,1248,1366,1494,1494,1676,1434,1424,1302,1322,1610,1166,1016,880,1192,1256,1402,1400,1288,1362,1564,1584,1620,1738,1758,1656,1578,1188,1188,1094,1268,1394,1350,1306,1234,1064,683,620,1010,894,985,1362,887,882,803,777,1005,1132,1350,1302,1012,984,1318,1260,1300,1268,1226,1134,1098,1296,1332,1064,984,1072,1060,719,496,849,1005,996,1340,1968,1742,1312,1178,1212,871,871,1092,772,595,739,887,1000,1324,1214,1112,840,786,619,603,866,1072,1108,1130,1242,1154,1118,1078,1070,969,946,925,1007,1264,1224,1094,1160,1274,1548,1678,1564,826,719,1148,936,991,910,772,677,998,1136,910,1100,1132,1266,1316,1226,1218,1018,1130,1208,1064,1256,1646,1306,1258,1804,922,703,964,1088,1464,1394,1294,1332,1294,1296,1390,1168,930,1332,1520,1318,1376,1328,1166,1232,1278,1278,1188,1114,1212,1408,1406,1316,1344,1202,1394,1558,1670,1656,1564,1616,1522,1546,1886,1940,1628,1500,1598,1600,1490,1538,1096,1334,1748,1716,1448,1256,1264,1354,1422,1360,1368,1700,1378,1436,1624,1466,1430,1184,1108,1004,691,543,455,477,591,744,1392,1586,1290,1128,1368,1366,1532,1338,1024,1440,1488,1586,1614,1450,1438,1274,1028,1016,1388,1170,837,702,904,1188,1306,1148,1011,981,825,514,662,830,648,702,1228,1512,991,593,1096,1286,1054,1056,1792,1086,564,543,714,1007,1150,1186,1226,1302,1336,1182,1114,1326,1120,1290,1540,1428,1246,1088,922,749,966,1104,566,524,486,527,726,749,531,540,567,532,539,771,1180,1096,802,1118,1456,1484,1534,1512,1164,781,603,888,1614,1896,1634,1426,1368,1001,638,532,408,328,322,291,287,314,349,394],[771,1232,1616,1324,1034,882,588,635,731,1366,1302,883,785,487,335,506,745,858,924,639,308,280,265,318,310,392,409,452,443,587,946,1300,1098,990,1562,1230,662,468,409,411,602,534,557,426,435,377,268,287,310,306,296,350,458,415,467,453,424,561,825,707,455,564,625,567,655,616,924,812,680,375,652,1116,926,664,573,327,403,907,1300,929,1020,1484,1160,1394,1566,919,677,1182,1390,1142,932,838,744,748,1102,1023,763,724,1114,843,365,448,836,1130,982,778,580,588,497,302,310,337,281,299,297,303,365,575,804,592,430,530,548,758,1024,1240,1242,1290,901,720,995,1154,1254,1580,1760,1556,1764,1732,1780,1482,923,501,421,388,371,404,414,408,422,431,407,360,393,499,603,609,520,401,343,287,293,309,376,400,447,492,442,359,379,430,637,807,879,714,489,472,434,422,397,347,412,426,449,396,370,431,464,451,676,763,496,537,462,525,459,290,279,279,245,380,531,433,310,320,292,362,567,784,1046,850,1024,1142,933,755,791,885,764,591,420,289,285,309,266,605,571,415,479,815,785,785,1009,1344,1426,825,885,464,288,452,570,966,671,594,995,1168,1007,715,423,532,894,700,764,887,852,555,711,1028,1264,1172,1166,1102,1040,1040,963,1088,1174,722,634,1058,1174,1416,1600,1482,1484,1326,1024,777,855,1040,1064,970,759,765,718,825,716,510,482,445,513,502,460,326,332,261,286,306,318,352,335,404,553,617,526,451,659,904,671,1144,1214,678,377,373,681,758,511,562,754,790,1136,1028,796,664,497,800,1302,1572,1548,1316,1390,1021,684,1008,1076,1516,1668,1176,1022,1008,752,1036,1328,1312,1506,1530,1318,1052,1128,1172,1090,1382,1362,1084,775,824,794,738,1038,1302,1246,996,947,867,922,2156,1610,1104,694,1034,1366,1326,1414,1494,1252,1302,1212,1096,1190,1412,1418,1322,1086,835,893,778,1138,1082,609,708,886,1260,1346,1236,1156,1340,1296,1174,1118,1158,998,1140,1354,1094,599,576,636,575,980,1070,1244,1368,989,892,1130,1124,1158,923,811,1015,765,455,625,837,642,709,1158,1156,899,868,955,1252,1456,1130,1013,1208,1450,733,933,1160,1154,1180,1010,921,1124,1204,1494,1362,1086,1290,1188,1050,1290,816,376,386,379,764,1372,1388,1268,1182,1268,1342,1154,1218,1122,1186,1256,1186,1194,1228,975,883,1044,1102,1192,1144,1390,1316,1136,932,736,809,1030,861,695,763,949,1126,1070,1150,1244,1240,1316,1194,1134,1254,1028,912,948,979,807,652,801,1126,920,968,996,941,902,765,944,1096,1034,930,808,1074,1098,689,1130,1150,1194,1240,777,618,918,1248,1156,1050,1216,1108,789,722,1180,1356,977,835,958,1252,1222,1052,1316,1560,1500,1498,1520,1228,1164,1404,1340,1142,1009,1094,990,903,905,805,919,1036,1020,725,854,740,1048,1428,1380,1166,1052,1120,1106,1170,888,549,513,860,1094,1086,1054,1354,1504,1254,1266,1404,1418,1544,1440,1026,772,1148,1942,2178,2184,2186,2390,1900,1302,1284,1544,1572,1154,1148,1284,991,765,1098,1300,1098,788,827,1002,1046,790,792,879,665,892,1280,1234,1228,971,623,694,800,750,800,867,960,996,900,882,1344,1278,1268,1156,1094,1412,1434,1314,1340,1366,1344,1068,1214,1196,1178,1410,1166,1130,1178,1260,1292,1400,1456,1296,1158,837,982,1296,1404,1344,1192,1422,1300,1194,1318,1534,1550,1708,1820,1868,1918,1440,992,814,1156,1406,1460,1478,1194,1246,1086,628,523,682,1086,1016,940,1150,1330,1060,753,433,355,462,497,593,792,1036,844,871,891,595,739,1272,1208,648,840,1346,1620,1388,1076,823,692,753,903,1014,1030,775,462,627,900,912,818,916,836,843,640,303,225,285,325,312,280,382,407,387,407,461,390,265,254,309,329,359,386,402,383,386,364,315,295,281,267,232,236,257,407,647,625,651,583,541,299,270,253,254,276,296,256,231,440,644,435,506,491,460,411,382,354,269,379,350,346,404,572,693,486,327,287,285,303,430,562,1214,1112,935,737,467,558,931,994,770,521,555,673,997,806,692,651,982,817,362,451,773,711,491,400,318,320,557,537,637,1172,1516,1516,1332,966,751,525,372,365,361,576,593,469,454,797,658,366,302,369,332,300,283,353,714,989,1042,647,497,743,985,598,352,329,317,495,543,510,936,1232,807,714,916,968,944,936,926,954,879,843,1004,1180,995,1074,1148,795,574,985,1300,1044,769,1316,1728,1328,1176,1274,1482,1348,1284,1476,1332,1360,1142,1068,1274,955,507,719,991,1268,1414,1230,722,1007,1248,1015,706,658,950,1228,1100,927,801,929,1018,745,571,899,1238,963,612,789,1054,1382,1174,801,606,421,671,1992,2596,2764,2504,2962,2888,2062,1092,663,637,777,562,448,550,992,1194,1084,1102,808,1280,1106,865,1140,1376,1284,1282,1330,1292,1390,1092,481,416,522,457,421,711,1126,1260,1356,1058,491,624,1094,890,992,1266,1660,1692,1312,1194,1172,1140,1170,1328,1318,1308,1376,1878,2136,1378,931,993,677,402,354,414,586,451,388,539,557,466,492,480,589,625,589,516,416,590,594,741,1032,866,928,988,880,803,583,448,280,689,886,703,716,818,897,1044,960,744,716,1324,1468,1252,998,1036,1204,1142,979,880,975,1384,2004,1826,1056,888,1536,1732,1666,1342,1230,1306,1244,1138,1246,1296,1338,1418,1366,1334,1019,820,982,1332,1402,1310,1414,1394,1172,1150,1020,1060,1124,1198,1100,1148,1148,1150,1200,1552,2198,2016,1484,1154,1240,1206,1164,1180,1058,1158,1130,1108,1076,1102,1126,1212,1178,1232,1480,1744,1522,1046,1144,825,452,905,1318,1246,912,859,964,568,626,509,623,968,1302,1272,1366,1390,1396,1182,936,1020,974,745,524,573,483,684,740,707,641,756,841,604,578,912,851,802,680,630,830,890,957,1338,808,362,369,338,356,397,465,488,471,507,513,509,745,636,450,444,455,439,395,378,382,413,412,378,412,401,641,661,335,236,312,354,350,323,365,377,431,603,676,579,415,375,361,318,329,359,323,361,464,500,438,348,486,562,529,477,382,833,1196,1102,955,472,376,385,318,325,334,393,606,1066,825,395,380,396,394,417,390,427,486,509,549,622,599,601,583,540,472,433,459,456,398,328,402,1028,1444,1242,883,1032,1342,1128,814,946,1284,1430,1272,1330,1194,1068,1128,1246,1072,1124,1072,1054,1154,1458,1680,1714,1458,1266,1520,1328,1090,1068,949,969,1448,1678,1420,1264,1134,1092,1078,988,1110,1528,1124,1038,1152,1096,1106,1154,1218,1284,1272,1424,1300,1204,1582,1306,1170,1134,1230,1224,1230,1098,1374,1650,1472,1388,1060,882,928,1058,730,786,821,1044,1266,1360,1168,821,764,919,1019,941,1086,1296,1378,1110,1234,956,922,863,681,730,762,607,411,483,570,705,722,1080,952,909,827,735,1220,1866,1616,1048,845,895,1108,726,624,619,796,1180,851,889,969,966,880,705,1202,1164,1058,1194,1258,1134,1050,1222,1268,1542,1758,1584,1498,1628,1628,1676,1588,1438,1394,1442,853,615,681,860,1196,1490,1574,1368,1508,1510,1404,1200,986,1016,1224,1322,1440,1428,1318,1388,1424,1332,1302,1308,1238,900,939,709,938,890,1038,1468,1532,1658,1772,1704,1698,1650,1328,926,1206,1192,1136,1230,1382,1434,1490,1150,628,678,656,775,732,1094,1308,1216,758,1005,1340,1366,1188,1112,1194,1064,1192,2036,2610,1650,1292,1202,1196,1124,1154,1270,1182,1130,1324,1332,1318,994,807,1212,1152,1128,1326,1832,1612,1128,1254,1248,794,800,1218,1262,936,502,728,1009,1026,879,838,1038,1066,749,649,984,1152,926,1060,1328,1356,1016,901,890,930,854,680,764,1015,960,976,1154,1106,1178,1266,1730,1180,1005,1104,891,850,918,918,872,1002,1052,1050,958,1172,1180,1124,1248,1298,1252,1264,963,861,1322,1614,1184,1132,1082,572,744,1064,1226,1452,1370,1360,1384,1372,1520,1394,1162,1034,1206,1238,1340,1490,1166,1112,1238,1266,1218,1068,1056,1220,1406,1434,1388,1238,856,1180,1282,1394,1300,1036,955,737,973,1462,1498,1272,1468,1506,1700,1830,1772,1616,1858,1852,1706,1554,1282,1212,1178,1480,1416,1308,1388,1578,1676,1532,1296,1080,962,1292,1142,597,566,630,1124,1182,1092,1716,1754,1326,1042,778,854,1210,1020,993,1388,1360,1710,1940,1924,1684,1456,1186,1148,1310,1302,960,893,1030,1021,949,901,844,1136,876,514,450,559,558,893,1490,1708,1096,830,999,924,838,1042,1340,697,576,699,962,1186,1042,999,1284,1266,1144,1015,836,1092,1066,1256,1510,1262,1126,1172,955,851,971,1020,719,591,633,683,601,569,541,573,552,560,926,1286,1378,1388,904,1094,1572,1716,1534,1244,819,641,564,765,1288,1468,1360,1306,1294,1230,918,762,622,479,408,329,318,383,409,418],[437,937,1754,1698,1320,1128,837,861,654,560,461,685,1094,955,672,508,549,764,764,372,291,253,293,367,305,403,604,694,651,792,978,885,891,1078,2180,1470,681,609,595,734,998,839,483,456,332,298,280,310,355,329,330,355,456,408,439,453,477,662,1014,1148,869,690,684,1038,970,461,337,290,246,264,419,845,998,771,915,711,481,824,1266,880,890,1574,1534,1410,1468,1034,818,985,1194,1642,1104,611,513,739,1130,814,579,941,1222,722,367,482,724,905,644,887,694,378,325,509,771,597,298,278,266,329,546,907,846,538,453,582,555,518,760,1023,1078,1164,952,640,1042,1296,1370,1302,1038,880,1378,1630,1194,626,413,365,390,404,385,393,406,402,466,456,388,328,383,497,582,576,495,393,333,242,249,253,311,353,374,403,495,507,462,555,938,1204,1048,812,694,618,416,384,394,359,435,460,445,398,398,490,536,607,753,825,766,787,697,595,404,304,275,269,283,250,250,273,295,324,254,283,468,804,1174,1092,944,957,760,475,722,982,1010,1022,705,512,442,329,394,346,305,382,505,716,602,598,869,1026,1136,1220,731,372,288,466,684,724,423,583,1104,1288,1110,630,387,869,1766,1256,549,621,960,956,672,767,924,1006,1076,1019,1048,971,1088,1432,1240,569,587,1007,1224,1428,1654,1664,1608,1344,1312,912,670,1090,1276,1026,547,533,919,1108,713,416,410,436,580,882,658,369,320,304,301,297,288,330,441,572,568,514,461,369,348,776,912,1156,1416,1184,806,518,559,710,527,527,797,807,1082,1072,936,628,592,1144,1376,1484,1378,1216,1084,977,1134,1512,1320,1700,1492,1164,995,928,940,1454,1606,1056,1074,1158,1448,1390,1068,1146,1384,1396,1298,880,635,847,893,981,1428,1526,1262,621,1008,1522,1228,2958,2496,1716,1178,1202,1474,1386,1416,1370,1188,1196,1070,1046,1156,1304,1284,1246,1094,886,777,832,1100,883,467,681,1142,1512,1398,1172,1036,1438,1584,1450,1434,1456,1496,1394,1134,1064,829,578,525,718,1064,977,1018,1384,1426,1434,1380,1184,1280,1050,1108,1158,735,579,681,814,738,653,1148,1394,855,954,1192,1194,1410,1244,1082,946,1206,1026,1086,1080,1066,874,544,734,1054,1042,1236,1598,1476,1192,1090,1066,1186,847,598,719,833,913,1172,1116,1015,1054,1122,1468,1200,1032,1036,1268,1572,1496,1238,1490,1568,1312,1144,1110,980,784,976,1042,931,725,603,740,839,1048,1116,1054,994,952,843,1116,1156,1168,1390,1314,1230,1280,1516,1526,1230,900,857,900,1178,1196,1098,1106,1070,1044,1058,912,881,1002,801,554,526,657,897,732,1232,1138,1122,1222,968,949,1188,1380,1146,917,1076,1218,1146,1016,1023,1184,1080,1030,1232,1462,1392,1212,1292,1274,1332,1382,1470,1458,1300,1094,1030,890,1009,1316,1070,919,1168,1264,1040,1110,1248,1236,952,630,1034,1278,1266,1100,911,960,937,1252,1214,957,796,1060,1248,1220,1216,1714,1698,1126,1110,1204,1198,1334,1504,1340,1062,1264,1278,1910,2438,2554,2596,2130,1400,1162,1518,1432,1242,1548,1682,1220,918,1466,1482,930,827,839,896,939,714,680,761,857,1226,1188,1242,1104,687,722,847,763,811,864,949,980,916,916,916,1220,1392,1222,930,1048,1436,1508,1336,1388,1576,1752,1208,1170,1410,1450,1410,1172,1202,1174,1116,1252,1466,1380,1268,1308,1248,1222,1032,1052,1278,1142,1860,1892,1148,1430,1726,1372,1422,1748,1852,1844,1228,761,669,1009,1174,1208,1064,854,846,698,508,603,868,1094,1086,1005,1164,1086,932,843,563,322,377,323,553,1316,1286,1156,1138,717,502,858,1186,841,508,467,753,1296,1606,1424,766,753,887,1001,1007,739,468,376,901,1112,666,525,853,1202,1090,527,319,285,519,457,312,296,332,343,378,342,292,331,299,273,305,251,338,400,394,398,441,431,391,353,310,233,201,228,252,259,474,730,813,819,722,387,271,304,304,333,246,292,356,407,318,440,578,590,746,568,363,255,283,477,484,544,466,464,763,773,598,460,382,373,413,519,826,564,516,536,366,386,652,994,1108,974,720,699,1142,973,738,661,572,410,390,493,720,842,806,631,604,406,367,449,652,995,1360,1566,1534,1490,1024,516,396,278,292,343,481,604,478,379,357,285,302,372,447,361,281,286,307,448,907,1160,922,892,789,651,572,335,203,264,339,593,1058,1132,689,464,722,931,850,850,1058,1172,958,613,639,877,1202,1158,953,827,724,1015,1310,1044,1258,1808,1604,1346,1094,1114,1542,1560,1224,1338,1268,1408,1394,1074,1086,1084,988,998,1054,1752,1688,1462,1084,951,1214,1018,1304,1410,1072,1126,1294,1378,1208,1086,890,578,469,613,916,872,595,521,1009,1520,1136,938,560,432,894,2222,2796,2532,2644,3176,2846,1716,968,758,775,1028,796,741,791,1180,1250,1208,1306,1192,1130,1078,1092,1272,1418,1266,1412,1532,1588,1528,1036,529,457,453,373,451,924,1468,1334,1356,936,1058,1064,1186,777,976,1152,1306,1288,1126,1042,973,1076,1230,1430,1450,1374,1082,1182,1488,1454,1072,960,775,552,473,365,510,400,383,556,514,616,558,361,287,522,965,899,522,506,316,444,838,949,1014,1008,1018,813,521,350,619,983,589,495,808,1354,1554,2072,1642,908,865,1230,1494,1446,1122,1174,1138,1122,1376,1722,1596,1898,2204,1858,956,879,1024,1298,1260,1072,1230,1326,1348,1172,1214,1282,1438,1242,1266,1630,1392,1124,1110,1230,1302,1232,1202,1284,1396,1266,882,875,993,1062,982,1018,1036,954,1040,1850,2288,1670,1166,1396,1372,1080,1062,1020,1080,1134,1154,1192,1312,1182,1066,1258,1170,1234,1418,1514,1306,1166,1214,813,480,903,1630,1632,1058,566,709,607,574,535,1005,1576,1438,814,427,651,946,725,550,517,397,407,359,343,380,366,326,496,711,772,893,868,1054,1500,924,730,912,789,736,697,866,1292,974,435,401,369,357,359,416,466,452,473,503,538,607,527,477,458,434,412,392,387,407,428,412,444,506,705,1220,921,393,350,368,337,350,337,359,355,430,380,490,552,478,409,396,372,365,351,325,331,332,328,381,509,570,661,694,602,438,917,1558,1290,1100,602,379,358,364,357,334,328,498,987,917,477,466,454,398,491,458,469,496,488,537,630,598,523,515,520,463,416,388,368,345,322,275,854,1354,1452,1176,1180,1256,1098,1100,1340,1610,1730,1592,1430,1210,1086,1428,1436,1238,1094,1014,1114,1130,1098,1104,1124,1282,1488,1572,1386,1146,1108,1068,1198,1498,1296,1146,1224,1130,1188,1154,1009,1146,2614,1928,1156,1320,1228,1060,1080,1182,1236,1212,1276,1316,1522,1606,1246,1084,1194,1306,1400,1562,1446,1428,1454,1202,1292,1172,690,781,1050,1238,1326,1384,1416,1450,1438,1214,844,809,1066,1158,1186,1078,878,810,1021,1100,1112,1124,794,495,523,796,898,438,476,956,1368,1262,1422,1182,1098,939,790,1232,1496,1324,1142,1023,879,961,644,1158,1282,1220,1220,871,940,840,648,591,709,1013,974,932,1096,1178,1406,1484,1626,1546,1504,1650,1634,1410,1452,1442,1362,1300,1130,1180,1364,991,932,1040,952,1076,1082,1344,1262,1648,1576,1414,899,899,1098,1174,1384,1444,1388,1406,1628,1602,1626,1594,1986,1652,922,593,506,683,704,952,1160,1214,1616,2092,1804,1474,1296,1270,1108,1404,1396,1382,1332,1114,1340,1744,1424,916,965,962,1100,1142,1544,1516,1278,941,1068,1396,1182,1078,1250,1266,1180,1444,1904,1836,1338,1356,1266,1228,1284,1272,1194,1098,1296,1446,1520,1366,1446,1272,1188,1200,1344,1480,1802,1484,976,1178,1088,858,859,1238,1202,1015,1005,934,987,1076,990,1013,1092,1118,1056,896,1124,1246,1190,1218,1208,1560,1390,1076,832,741,966,1050,905,990,914,1078,1072,1218,1252,1236,1120,990,954,952,1042,959,754,936,1128,1206,937,980,1006,1026,868,982,1500,1572,1316,1330,1150,1130,1434,1384,908,827,547,437,828,1212,1550,1484,1214,1362,1342,1252,1506,1490,1340,1214,1248,1272,1408,1378,1260,1366,1250,1136,1086,1106,1110,1390,1382,1250,1190,1192,1208,1366,1376,1424,1268,1314,1388,1170,1086,1326,1524,1342,1382,1172,1096,1182,1340,1476,1694,1810,1698,1588,1632,1758,1562,1678,1808,1714,1652,1888,1824,1430,1382,1234,1108,1378,1230,982,982,839,1052,1410,1274,1482,1794,1712,1354,1064,1078,785,614,589,829,1310,1342,1552,1822,1786,1628,1170,854,1158,1158,948,1206,1306,951,763,1128,1150,1092,750,484,607,544,470,858,1074,1082,1150,1138,769,584,615,791,649,543,617,825,1170,1244,761,826,1390,1166,884,868,724,660,808,1228,1400,1200,1216,922,670,692,786,761,629,573,667,640,509,468,597,1028,1009,744,1148,1428,1286,1216,922,1202,1534,1594,1484,1378,1026,654,608,599,718,766,929,1212,1312,1460,1106,960,888,791,847,580,518,493,428,467],[579,731,1240,1142,1090,993,1162,1134,607,454,924,1552,1656,1312,733,429,415,363,324,264,290,280,314,348,368,456,480,612,954,1142,1312,1106,1180,1036,1720,1240,818,774,805,927,1236,1132,669,594,341,326,294,284,312,320,351,365,423,409,401,429,453,650,1152,1348,1011,891,883,1222,983,735,711,656,647,584,618,951,1286,1028,1034,1062,788,673,1052,1354,1332,1584,1400,1122,1324,1308,1480,2104,1494,1228,1070,767,590,692,1202,1354,1060,862,716,375,330,375,334,316,375,681,977,651,406,503,517,392,324,441,540,663,990,1602,1506,1276,666,540,572,633,1009,1146,1212,1314,1144,1009,906,968,1030,812,713,730,857,974,637,350,399,550,590,418,554,549,480,474,648,647,502,389,424,542,563,448,492,386,289,229,248,247,294,406,378,366,570,631,481,678,1230,1092,838,756,625,455,363,345,333,359,420,415,375,356,404,495,683,1106,1202,1406,1264,1174,999,552,379,301,246,262,304,235,228,252,260,266,217,230,353,480,553,638,836,1278,1168,522,401,917,1034,879,865,763,564,626,707,598,562,551,602,727,615,463,636,987,1018,921,549,393,272,353,555,543,395,698,1166,1228,1014,706,441,1001,1932,1680,922,640,767,830,756,854,932,1082,1024,849,669,884,1160,1332,1136,800,766,1152,1498,1782,1932,1790,1760,1498,1424,1064,906,1164,1007,797,633,559,924,1052,736,448,401,455,540,563,381,307,286,291,289,288,375,492,524,603,539,471,359,295,381,566,978,1082,898,1228,1328,927,536,435,422,446,538,911,1142,1282,1228,854,989,1328,1500,1500,1258,1230,1001,847,1542,1412,1276,1398,1542,1528,1076,938,1072,1062,1272,723,917,702,971,1290,1394,1476,1444,1558,1466,658,534,790,965,1448,1726,1338,1062,759,1050,995,1036,1662,2384,2570,1552,1110,1082,1266,1382,1360,1356,1204,1254,1116,992,815,930,1072,1060,1128,831,662,1124,1050,646,742,943,1142,1402,1292,1218,1340,1274,1278,1282,1278,1266,1274,1007,786,587,521,559,909,1178,1302,1338,1318,1278,905,860,1250,1288,941,1032,1142,832,586,444,473,778,893,1148,1230,769,1206,1250,888,1094,1080,1228,1592,1600,1326,1038,979,979,959,999,1088,1252,1260,1122,1332,1122,1032,1086,1328,1498,1202,1058,1126,1154,949,1122,1126,804,855,1004,1270,1116,836,861,1126,1420,1502,1330,1324,1262,1038,777,704,559,586,912,933,1015,1230,1108,818,749,977,1102,1490,1726,1122,929,1112,1188,1228,1174,1208,1090,1005,1320,1542,1502,1078,987,736,822,996,1248,1082,865,1096,1188,821,874,1134,1005,460,371,549,879,802,849,789,722,1002,1072,1140,1268,1436,1244,964,969,1144,1230,1142,1188,1280,1015,1028,1310,1484,1194,785,836,1208,1232,910,1324,1462,1110,906,746,536,866,1188,1190,1162,1234,1108,839,1007,1122,1118,786,684,1034,1126,1170,1318,1310,921,1014,1384,1414,1242,1112,1242,1218,1114,1334,1420,1146,1066,1214,1222,1230,1260,1320,1488,1420,1376,1126,1302,1700,1890,2234,2304,1510,1092,1518,1302,1370,1546,1486,1140,896,922,891,836,991,969,789,700,673,724,858,1268,1286,1286,1072,634,665,802,747,800,949,949,1072,1128,1092,865,974,1146,1176,1040,918,984,1178,1316,1406,1376,1298,1222,1152,967,1276,1412,1220,1122,1092,1100,1242,1490,1688,1354,1460,1328,1226,1124,1046,1360,1392,1034,1376,1486,1282,1390,1410,1356,1302,1568,1708,1794,1614,984,1012,1248,1172,1188,1272,946,772,729,536,570,915,1174,1204,1078,1013,1005,841,681,518,358,352,458,1426,2480,1832,1562,1009,597,581,894,1023,750,448,518,1040,1112,1526,1660,1334,882,720,863,712,610,508,454,519,487,451,365,579,1001,702,338,271,469,1015,986,802,647,446,370,354,250,246,312,342,341,383,384,397,405,400,396,426,434,411,371,306,232,250,242,304,323,304,368,386,508,580,516,409,411,452,714,308,475,505,451,367,439,321,436,744,532,330,241,312,558,728,748,561,435,543,655,631,562,661,496,327,407,480,384,401,492,422,727,1106,1412,1192,1144,1050,756,560,549,805,937,604,442,361,437,906,937,681,1094,1184,598,356,444,849,1308,1454,1344,1650,1476,1060,971,889,462,302,346,425,495,415,303,276,270,350,442,602,479,279,234,301,311,467,613,706,897,984,937,883,536,245,292,317,339,726,846,644,508,733,865,922,987,1170,1120,955,835,965,1192,1194,1058,863,985,1005,1015,1366,1400,1636,1534,1500,1388,1256,1192,1414,1486,1484,1510,1130,1070,1088,991,948,792,722,899,846,997,1270,1494,1466,1412,1015,600,830,1122,1118,1108,1388,1722,1614,1244,1018,733,610,807,1316,1534,1236,634,742,1362,1122,1202,1160,999,1458,2144,2388,2336,2900,3242,2314,1118,689,640,965,1216,1176,1130,1106,1304,1328,1284,1212,1110,1094,1021,1050,1130,1356,1426,1450,1344,1224,1272,1032,762,721,592,527,549,1542,3042,1592,1266,1046,1068,1023,1044,1162,1352,1206,1176,1005,680,614,890,946,1036,1216,1142,1224,1162,1212,1346,1362,1152,714,611,778,844,522,394,356,397,581,538,598,536,334,325,541,960,886,563,554,347,468,841,1068,1015,973,1162,1064,744,688,591,781,756,716,1048,1714,1948,2380,2008,1240,1158,1222,1230,1550,1406,1216,1020,1204,1372,1484,1140,1758,2142,1852,1158,894,1086,1318,1522,1364,1310,1620,1484,1178,1296,1608,1776,1316,1138,1260,1406,1454,1388,1350,1130,1015,1074,1088,1172,1130,1004,934,1008,1190,1620,2126,1588,723,1080,1928,1904,1356,1140,1464,1372,1190,1032,1038,926,815,986,1274,1350,1015,965,1200,1260,1310,1422,1376,1268,1294,1344,1154,878,1288,1886,1742,1450,1110,1294,1158,1026,935,922,874,736,464,296,366,403,290,333,487,535,438,308,300,314,397,498,684,984,803,869,961,987,1316,985,802,1092,937,721,565,714,1266,1034,473,393,374,357,349,369,405,455,483,495,539,569,537,506,480,445,406,385,383,415,521,491,412,538,1158,1332,751,410,331,335,355,363,341,359,388,419,329,386,545,513,413,435,374,355,310,304,320,332,388,443,578,716,724,700,589,541,1272,1818,1454,1268,733,401,361,441,397,298,277,415,677,710,578,503,457,395,650,788,769,572,445,482,493,529,498,454,426,427,381,320,292,292,341,301,663,1226,1372,1268,1304,1064,1064,1464,1610,1796,1794,1558,1140,1112,1160,1490,1488,1186,1070,1022,1108,965,847,1014,987,1038,1408,1632,1658,1572,1400,1310,1372,1494,1366,1260,1290,1046,1076,992,997,993,1552,1342,1114,1136,1218,1094,1072,937,745,934,1286,1328,1398,1420,1398,1408,1252,1216,1306,1424,1324,1246,1312,1026,943,1184,1236,964,803,1034,1264,1302,1344,1264,1158,1036,848,747,1004,857,1120,1162,886,935,1396,1698,1438,1178,824,384,357,557,829,494,352,938,1378,1296,1148,1066,1008,1021,1128,1284,1184,869,918,946,948,830,602,944,1164,1278,1226,1206,1164,1062,831,827,1086,1130,987,1032,1332,1362,1208,1356,1670,1666,1402,1582,1606,1426,1400,1288,1104,1188,1338,1476,1594,1424,1200,1420,1072,1320,1316,1328,1316,1432,1526,1186,969,1482,1474,1182,1182,1080,1144,1486,1820,1618,1444,1196,1618,1544,1102,969,1036,955,887,989,902,807,834,1072,1060,958,1012,1334,1616,1550,1036,839,717,605,1160,1766,1628,1348,1442,1316,1206,1220,1294,1350,1278,1110,1224,1228,958,912,1058,1126,1112,1462,1534,1292,1118,1040,1162,1354,1276,1356,1260,1152,1172,1202,1438,1422,1422,1184,1028,1126,1208,1028,1024,1084,861,702,743,1018,1182,1182,854,891,1060,961,916,880,904,987,1124,1488,1232,1118,1124,1178,1142,1266,1244,1212,1284,1384,1124,773,810,1007,1170,1216,1084,798,926,1140,1734,1992,1350,900,916,1026,959,630,645,977,1276,1386,1228,1134,1274,1208,874,885,1376,1738,1662,1484,1388,1390,1314,966,823,682,504,510,822,1162,1142,1108,1278,1356,1218,1380,1428,1376,1226,1256,1192,1224,1228,1436,2216,1820,1288,1198,1050,975,984,1294,1272,1158,1048,1074,1310,1314,1256,1160,1184,1398,1238,1292,1492,1620,1488,1290,1340,1130,808,1084,1268,1198,1150,873,881,1240,1416,1508,1638,1746,1758,1784,2002,2114,1926,1888,1782,1570,1616,1586,1184,1374,1464,1216,1206,1290,1214,1260,1420,1678,1482,1102,1068,1118,1278,1194,1154,1372,1316,1504,1766,1694,1396,857,720,1002,1038,1160,1370,1344,979,695,987,1178,771,410,426,508,490,490,796,957,1146,1038,863,655,526,483,566,633,633,734,890,1056,1238,924,830,1128,1094,935,1082,1026,934,1256,1198,1166,1256,1466,1050,692,556,510,451,524,696,753,543,426,455,736,1232,1146,838,1098,1380,1234,1278,1412,1348,1448,1458,1356,1432,1012,583,553,524,530,544,706,1146,1466,1406,1028,871,943,1068,1250,1316,1072,600,442,440],[1060,878,885,772,924,927,921,966,568,457,1112,1380,1156,1220,591,361,273,228,272,313,320,343,416,415,327,335,424,912,1290,1550,2174,1702,1092,880,835,660,496,481,755,927,912,837,636,539,344,329,311,321,340,328,322,330,384,405,404,381,435,527,943,1106,938,686,803,1120,1132,1180,1152,1122,1172,1164,1230,1186,1450,1328,1158,1376,1440,1068,1024,1248,1094,843,746,996,1558,1656,1760,2540,1608,1090,1232,968,636,603,945,1212,824,502,576,461,324,364,408,513,564,659,1152,1076,813,963,774,686,841,916,1060,1386,1518,1572,1766,1558,812,684,792,802,841,943,1168,1182,976,815,1118,949,687,680,642,573,655,736,489,421,486,538,556,669,1438,1094,578,523,724,860,712,475,466,568,533,482,568,428,325,343,325,289,317,359,324,330,538,669,460,649,1184,798,560,507,400,376,355,318,329,363,370,367,393,410,443,531,683,1010,1268,1672,1438,1310,996,442,366,276,269,258,271,239,252,269,261,236,211,231,326,441,513,568,510,753,963,633,532,1152,1340,1356,1318,933,679,495,504,531,516,580,870,938,930,1100,1212,1368,1104,583,458,473,368,269,327,371,353,634,854,1102,1022,767,519,902,1664,1548,1138,969,728,980,1178,1086,985,1003,743,482,408,683,996,1140,1204,1019,1150,1474,1584,1296,1338,1360,1622,1590,1132,755,914,804,462,610,804,676,783,862,644,413,274,286,359,266,253,286,250,245,331,388,583,680,535,514,531,411,318,440,508,407,868,1042,683,1318,1556,1340,982,507,399,354,429,731,1084,1378,1310,1116,1140,1534,1920,1416,1156,1110,1058,1172,1032,832,1114,1324,1490,1376,898,748,784,985,870,459,759,516,677,1368,1826,1610,1498,1788,1616,780,621,636,1096,1690,1510,1526,1094,694,544,559,832,847,1250,1558,1230,786,916,1168,1156,1072,994,1032,1294,1210,911,750,841,893,892,1010,720,441,626,996,958,1020,1272,1374,1490,1668,1660,1466,1340,1402,1308,1316,1186,1162,976,763,688,686,907,1094,1104,1494,1440,1202,1092,881,775,943,906,688,935,1290,1146,825,650,606,877,1158,1130,728,637,1256,1450,1312,1440,1152,946,1150,1436,1418,1214,1170,1150,1094,1204,1440,1426,1134,1011,1192,1302,1312,1198,1480,1756,1268,963,1002,966,759,992,1100,805,901,1344,1356,1038,955,1202,1220,1154,1188,1238,1186,1005,824,766,672,612,847,871,605,801,1196,999,615,561,858,1132,1554,1672,1440,1170,899,1082,1142,963,1074,1005,911,1166,1088,1052,932,916,881,1022,1310,1436,1174,1082,1406,1306,964,1021,1338,1236,891,821,907,1028,742,689,853,906,962,931,988,1196,1158,1292,1376,1256,1056,1152,1212,1254,1292,958,992,1232,1090,1148,757,822,1156,1342,1296,1126,1008,850,647,487,680,850,1078,1044,883,855,850,871,928,961,812,521,693,1058,1092,1166,1266,1288,874,1066,1292,1404,1282,1170,1200,1086,1028,1224,1222,1180,1072,998,1126,1168,1044,1294,1246,1174,1382,1248,1100,1500,1664,1582,1582,1392,1314,1512,1248,1240,1344,1230,1390,1308,834,866,983,1130,1013,821,730,676,794,1238,1290,1238,1092,692,690,800,744,753,891,985,1032,1176,1216,1202,1146,1452,1334,1098,1250,1242,1268,1484,1348,1412,1416,1218,1254,1138,938,1418,1726,1196,1260,1056,1172,1394,1592,1932,1546,1542,1444,1242,1222,1224,1428,1382,1192,999,677,828,1368,1438,1654,1716,1450,1454,1682,1842,1746,1456,1272,1250,1162,1206,1174,1218,1230,853,617,694,977,1192,991,791,1003,1132,1010,603,395,398,857,1638,1234,1306,1242,888,844,897,1242,1366,1216,606,991,1450,1478,1320,1134,1480,1406,1012,606,467,525,516,581,466,620,934,756,768,897,454,357,323,259,618,1124,1306,1152,991,725,466,294,342,469,553,502,636,900,761,506,406,393,421,448,450,387,377,299,284,283,422,464,514,592,528,297,520,900,608,619,531,296,339,799,848,860,539,537,350,233,396,408,359,292,327,403,626,885,819,628,553,451,334,372,662,592,354,644,805,405,438,469,620,978,1206,1168,879,965,1080,1023,711,355,583,962,1018,808,584,893,1158,880,851,1452,1200,584,392,508,1148,1812,1794,1344,1086,703,814,1220,1298,937,484,395,446,378,291,252,239,252,416,415,309,292,252,295,385,431,522,557,292,435,858,1260,1242,852,732,659,515,595,836,1086,1070,1044,1172,1110,969,855,866,1158,1186,1012,1088,1084,1020,1190,1098,984,888,1062,1408,1360,1294,1082,1274,1224,1104,1068,1082,1318,1724,1350,955,1162,1120,872,922,681,658,741,833,1080,1256,1312,1598,1390,616,370,665,1086,1180,1158,1218,1372,1522,1286,1126,1012,764,794,1440,1834,1650,664,429,821,1122,1592,1756,1488,1776,1896,1756,2170,2828,2932,1786,1012,600,678,1374,1478,1394,1250,1176,1214,1250,1404,1050,791,942,993,1122,1254,1272,1434,1528,1378,1162,1278,1126,824,885,800,765,778,2214,3854,1634,1064,1140,1007,1032,966,1076,1312,1412,1470,1086,725,876,896,685,953,1022,1001,1126,1136,1188,999,1110,1082,666,548,872,932,656,491,1052,1054,693,639,618,532,332,306,449,967,836,640,480,330,473,880,1158,1002,849,965,821,713,1310,1462,1276,1050,764,1224,1748,1704,1644,1614,1340,1500,1478,1094,1460,1576,1060,1190,1466,1494,1422,1460,1982,2128,1702,1282,1120,1444,1108,1384,1548,1488,1610,1222,1180,1478,1680,1624,1322,1216,1170,1378,1474,1232,1184,1172,1070,1054,1206,1294,1210,1232,1148,1250,1508,1876,1974,1704,1312,1350,1934,2054,1404,1244,1320,1288,1180,1230,1326,1080,967,1036,1224,1278,1148,1084,1212,1378,1384,1372,1400,1340,1372,1534,1494,1374,1390,1270,1406,1206,1360,1454,1346,1166,714,422,295,362,336,316,353,489,361,309,391,425,390,376,328,347,451,668,777,862,675,718,866,752,836,794,837,1058,984,785,594,602,1252,1078,505,359,341,322,336,381,409,440,479,492,535,697,634,497,471,484,440,403,407,451,536,516,426,617,911,591,398,341,365,393,375,356,361,380,425,448,423,442,522,493,423,479,383,368,332,354,465,495,441,508,637,642,591,577,632,1166,1812,1904,1698,1088,634,394,321,424,398,352,356,410,561,689,620,502,408,342,703,1072,1100,698,402,453,465,503,447,391,322,326,258,258,284,284,376,424,511,791,855,830,1124,1114,1072,1478,1484,1642,1476,1336,1368,1368,1448,1444,933,658,1028,1424,1444,1246,1276,1432,1042,1015,1454,1648,1608,1340,1252,1284,1172,1274,1442,1164,1184,1038,973,966,991,1019,1019,1102,1108,1288,1268,1136,1106,1058,795,1001,1168,1168,1222,1168,1386,1708,1372,1274,1268,1250,1504,1404,1230,954,1192,1384,1460,1384,1246,1362,1428,1288,1160,1184,1238,1126,948,948,868,833,1140,1086,977,1100,1524,1736,1066,1038,756,486,367,467,797,573,260,443,880,1382,1404,1218,1166,976,1320,1510,1300,1348,2078,1866,1396,1158,921,830,943,1152,1036,1230,1242,1176,1134,1074,1076,1162,1186,1308,1384,1390,1416,1520,1484,1578,1562,1610,1288,1066,1062,1134,1154,1092,1408,1644,1842,1730,1526,1924,1166,849,911,1236,1382,1432,1452,1146,1130,1520,1440,1176,1172,1066,1280,1412,1516,1566,1350,867,841,1122,1388,1334,1296,1264,1156,1114,1188,816,761,1056,1098,973,1110,1406,1544,1212,576,744,977,1136,1592,1532,1500,1272,1248,1404,1260,953,974,1218,1042,1098,1196,1350,1324,1158,1196,1278,1188,1360,1460,1248,1024,915,1130,1466,1202,1204,1300,1274,1136,1318,1322,1222,1552,1536,1250,1170,1116,1122,1300,1502,1732,1194,1224,1436,1124,1024,1132,974,823,949,924,1040,1024,1166,1132,1222,1242,1320,1232,902,993,1318,1198,1038,1174,1134,1260,1106,798,1054,1386,1198,1226,1044,985,1174,1592,1634,1260,1021,930,861,730,521,904,1062,1470,1610,1498,1448,1272,891,664,943,1342,1430,1476,1428,1360,1388,1264,806,624,584,663,634,754,1120,1392,1860,1688,1352,1340,1578,1572,1292,1146,1158,1194,1322,1148,1148,1250,1106,1420,1242,1172,921,910,1078,1158,1132,944,1224,1562,1368,1272,1388,1312,1362,1242,1076,1450,1470,1390,1328,1314,1234,1178,1286,1110,1342,984,774,979,854,1007,1404,1412,1228,1142,1156,1418,1440,1710,1836,1730,1780,1816,1738,1626,1562,1414,1470,1394,1076,946,778,803,816,693,925,1054,1350,1488,1380,1282,1232,1384,1896,1974,1494,1102,892,927,847,830,1180,1356,1056,905,747,701,912,724,359,448,422,334,592,1126,1278,1028,613,475,591,618,566,639,822,1106,1015,1058,1338,1288,1019,1098,1001,999,1090,1172,1240,1138,1172,966,1172,1290,1334,916,905,782,629,644,722,849,789,464,419,458,690,893,1100,1118,1238,1144,1096,1278,1274,1218,1178,1148,1044,993,636,456,484,486,529,570,502,850,1296,1144,968,823,827,1256,1602,1450,1290,714,489,526],[1264,1088,832,799,810,691,668,663,385,316,423,456,892,1332,575,322,284,323,359,295,281,311,333,390,385,380,392,1130,1580,1512,1908,1660,1052,830,682,488,361,392,604,786,842,907,847,549,334,327,386,496,514,501,473,395,417,387,384,411,458,443,699,861,1128,967,789,973,1228,1500,1248,1178,1250,1242,1176,1266,1240,1346,1438,1456,1490,987,659,730,970,862,577,813,1392,1362,1074,2084,1892,1182,1100,720,583,869,736,672,505,588,636,429,425,532,578,692,689,719,1124,1318,1360,1274,910,941,1478,1194,1160,1470,1042,1056,1528,1368,1060,947,855,663,516,644,778,623,720,868,1000,734,637,673,606,519,650,869,501,389,376,393,797,1420,1510,1007,738,746,628,746,546,391,489,593,528,585,621,474,380,483,517,427,336,267,232,269,301,337,284,405,604,541,415,314,396,464,346,307,329,396,383,378,404,383,455,664,754,764,1184,1582,1266,941,600,314,324,315,292,266,231,202,225,306,357,309,258,253,276,306,304,473,330,354,660,743,772,1220,1402,1440,1356,1266,1366,861,1128,667,367,372,393,368,534,638,661,817,797,750,943,994,714,615,524,337,336,531,614,809,888,759,517,1112,2068,1896,1510,954,885,1164,735,806,931,803,745,717,551,621,915,1100,1084,1290,1766,1578,1094,673,1050,1312,1592,1528,962,755,720,341,284,430,655,692,565,532,330,220,239,298,288,277,271,298,295,299,359,409,638,603,442,460,491,361,385,463,266,443,1160,860,957,1378,1244,994,678,469,375,366,425,521,811,1272,1310,945,722,1450,1482,802,544,1019,1274,931,672,894,1094,1160,1264,887,528,794,750,1272,955,503,434,399,604,1306,1368,987,1224,1534,1488,1128,673,750,1440,1598,1584,1554,901,540,547,433,497,757,1118,1032,621,552,1078,1240,1038,757,808,1202,1506,1388,1104,901,966,764,1020,844,766,821,713,747,918,1032,1326,1444,1450,1452,1144,1076,1124,1308,1228,1092,1264,1214,1058,1260,1394,1266,1294,1188,1154,1374,1172,1296,1100,869,703,552,538,630,1001,1204,979,899,835,697,924,1078,807,657,765,1114,1212,1044,1094,1196,1434,1424,1260,1212,1346,1274,1128,1026,1040,1294,1250,860,1011,1366,1482,1550,1512,1478,1724,1432,1128,772,621,464,606,855,888,1042,1046,1001,1078,979,1276,1376,955,811,992,1332,1044,910,970,673,547,883,929,604,724,850,781,684,706,745,1126,1448,1005,877,1140,1120,1078,1168,1050,982,945,1034,1188,987,948,814,726,995,1296,1154,1262,1400,1148,1150,1042,802,1050,1378,1406,1340,1196,1068,974,833,955,1070,1036,964,1044,1230,1292,1208,1130,1284,1328,1204,1158,1206,1306,1512,1048,732,1013,1142,1286,1282,1384,1264,1406,1366,796,820,1044,894,768,1310,1226,1128,746,803,1020,1048,969,1078,1078,878,588,732,822,995,880,1006,995,922,1116,1272,1222,1100,1244,1164,1170,1226,1334,1266,1164,1190,1236,1172,1186,1184,1152,1134,1230,1174,1050,1226,1948,2030,1638,1478,1776,1816,1528,1272,1258,1152,1124,1510,1216,850,888,980,1005,957,879,734,743,1166,1266,1180,1098,764,730,792,806,808,897,1078,1040,1116,1206,1114,908,1048,1220,1072,1466,1740,1368,1444,1434,1428,1272,1178,1250,1184,1184,1078,1318,1554,1484,2246,1292,1298,1516,1268,1490,1414,1292,1144,1180,1186,1180,1410,1388,1120,844,611,637,816,1184,1522,1438,1110,1088,1376,1696,1564,1320,1266,1216,1256,1188,968,1040,1058,1158,1080,551,517,761,599,565,947,1406,1518,1144,802,715,1042,968,897,1476,1232,1152,1478,1284,1522,1650,1316,997,1540,1364,1268,1013,995,995,1208,1360,688,396,537,601,499,536,817,1382,1068,921,648,351,338,399,363,329,597,910,841,504,526,560,668,465,529,706,592,695,1092,1172,990,634,444,441,433,444,439,422,319,381,411,315,611,1098,1178,929,807,992,1064,854,599,368,278,269,382,784,1050,982,819,543,445,296,301,352,389,330,298,328,530,1030,1144,815,484,484,464,448,330,497,884,689,552,444,586,984,1112,1078,738,471,555,891,986,610,355,400,482,872,1132,1036,1152,1162,946,1152,1140,769,581,632,1026,1958,2688,1528,991,661,686,1114,1228,1218,1188,753,354,385,368,336,257,218,233,229,245,276,321,321,341,620,985,670,362,274,313,427,804,1154,1344,1152,571,403,739,1030,971,846,843,1048,1068,939,1016,1372,1476,1090,930,983,739,772,1114,835,998,957,1240,1396,1472,1370,915,987,1144,1070,1258,1368,1696,1992,1412,1120,1110,1152,1050,1068,855,714,771,1014,1094,1084,1228,1412,796,689,828,1088,1136,1106,1084,1144,1528,1586,1368,1184,1142,1078,905,1136,1450,1116,490,489,801,962,1376,1606,1618,1960,2050,1914,2128,2222,1950,1220,1040,666,722,1154,1352,1428,1226,1256,1208,1252,1504,1294,1142,1208,1230,1148,1214,1100,857,872,786,634,794,847,781,981,1005,954,995,2432,3162,1924,1312,1040,653,899,987,907,1122,1404,1394,946,764,956,991,913,1136,1132,1021,1036,868,1038,913,758,959,998,830,697,443,350,474,1316,1390,634,593,702,622,411,403,491,1060,808,585,481,380,400,656,816,587,467,511,440,824,1454,1892,2122,1960,1544,1648,1664,1550,1524,1294,1050,1398,1676,1428,1322,1716,1264,1168,1416,1556,1460,1312,1902,2328,1650,1440,1450,1674,1410,1350,1354,1310,1342,1154,1102,1262,1422,1470,1232,1246,1316,1398,1360,1136,1422,1532,1310,1398,1514,1344,1156,1144,1398,1660,1456,1500,1362,1334,1470,1336,1542,1600,1488,1550,1548,1476,1416,1622,1526,1386,1436,1472,1448,1526,1506,1474,1506,1578,1532,1520,1532,1250,1340,1362,1482,1216,1022,1034,1064,709,922,1254,1298,1180,686,480,404,480,457,346,355,388,338,340,370,307,347,456,496,714,685,725,753,871,821,683,724,647,565,655,835,1028,979,821,686,551,1236,1160,539,339,352,320,338,380,382,417,492,537,548,780,583,378,466,487,439,431,449,452,430,443,435,480,544,339,311,353,411,415,335,402,485,386,406,407,419,397,442,480,563,587,491,431,409,441,673,664,443,544,601,557,531,858,1416,1800,1898,1838,1340,650,545,461,316,367,405,355,338,371,482,534,468,393,383,401,760,1180,1026,547,418,451,345,340,303,314,289,264,241,274,304,350,442,451,369,475,647,734,1048,1138,1050,1074,1372,1610,1626,1704,1714,1634,1692,1692,948,430,841,1602,1786,1546,1362,1322,1052,1042,1422,1582,1588,1468,1422,1102,949,1030,1468,1372,1188,1134,1194,1188,985,1046,1134,1086,1018,1182,1170,1078,1086,1028,1018,1192,1256,1290,1384,1340,1166,1338,1498,1246,1472,1596,1428,1306,1316,1252,1300,1320,1232,1412,1498,1412,1410,1338,1146,1082,1032,859,789,1108,1168,972,984,837,740,799,1296,1160,800,1050,1023,838,560,802,1298,998,428,309,631,1340,1592,1262,1250,1084,1074,1356,1284,1814,2534,2030,1362,1198,1148,833,796,1114,879,1186,1220,1076,1060,1166,1242,1270,1490,1558,1526,1602,1534,1506,1394,1396,1432,1482,1056,724,979,1560,1594,1260,1432,1654,1902,2222,1748,1908,1396,647,484,916,1378,1592,1592,1318,1278,1526,1358,1238,1074,1028,1088,979,1208,1390,1324,1200,1204,1360,1536,1346,1292,1328,1186,1036,1092,747,821,1130,1118,914,941,1306,1456,1394,953,1026,1150,1276,1246,882,853,837,973,1324,1210,921,959,1238,1166,1366,1310,1556,1340,1180,1106,1116,1080,1196,1290,1138,1106,1176,1008,1340,1000,790,1001,836,648,1206,1186,815,1130,1444,1490,1284,1456,1596,1444,1522,1666,1146,1660,1750,1172,1086,1276,1266,1216,852,565,864,1001,1264,1184,959,1018,1318,1250,894,904,1124,1168,1168,1254,972,1172,1090,1106,1382,1448,1200,1104,1072,1144,1296,1426,1134,780,1042,1036,904,731,669,1064,1220,1274,1296,1338,1192,1004,765,608,1164,1500,1344,1222,1426,1370,1288,1274,1194,987,821,789,864,1232,1606,2154,2566,2148,1356,1318,1486,1388,1322,1372,1384,1346,1148,1000,1712,1158,1058,1478,1248,1112,1056,1044,1110,1264,1128,1068,1506,1640,1362,1266,1400,1154,1106,1208,1222,1284,1306,1376,1554,1372,1356,1484,1332,1160,1170,969,1012,789,442,697,1126,1244,1162,1094,1058,1338,1468,1470,1390,1302,1176,1264,1524,1574,1656,1860,1748,1710,1494,1296,1098,934,752,630,953,1062,1266,1428,1214,1056,1122,1546,2278,2088,1216,680,683,623,577,529,844,1062,857,807,915,713,964,935,410,303,320,281,568,872,1076,1050,691,711,943,775,642,604,788,1100,1050,1130,1476,1334,1280,1450,1184,1054,944,1024,1362,1272,920,976,1214,1188,1342,1162,837,799,927,863,914,904,709,457,439,453,532,824,907,735,693,738,844,904,921,972,1004,955,801,604,469,374,466,514,553,604,537,681,1070,1009,1172,1046,839,1092,1310,1218,1192,744,439,472],[515,671,913,1180,896,451,375,387,293,274,290,355,802,1034,550,407,492,492,344,218,232,315,320,411,404,427,357,672,1222,1238,1384,1044,695,714,365,335,354,381,656,799,675,560,602,477,337,352,484,596,617,672,551,412,444,399,473,479,412,390,456,667,879,944,1023,1150,1172,1011,955,1166,1274,1354,1306,1028,694,1094,1380,1176,890,472,542,644,808,1036,656,423,775,874,471,977,1372,1500,1356,1066,1550,1796,969,497,448,623,596,594,591,504,556,739,858,786,722,888,1250,813,578,957,1678,1424,1106,1028,822,1044,1078,892,964,786,624,572,541,756,1064,892,650,574,651,684,669,601,548,461,474,603,440,371,412,724,1474,1372,641,578,1140,1316,602,487,504,382,424,483,483,536,571,498,446,498,532,452,418,362,307,268,280,318,310,312,381,429,342,328,577,705,431,345,339,363,367,387,414,543,764,915,995,870,767,786,709,586,391,320,442,391,304,257,269,293,297,376,480,423,297,266,279,313,280,244,283,273,720,1066,1086,1410,1460,1292,1178,1138,1224,1180,1542,834,384,338,330,398,392,328,343,361,481,541,495,456,634,706,730,725,700,742,893,816,730,661,491,1050,1560,1808,1550,803,1005,1186,814,813,981,923,866,805,653,535,919,1132,1102,1508,1216,641,653,695,1017,1386,1534,1178,903,1166,893,384,312,327,474,490,515,447,285,263,324,314,429,618,380,316,310,315,368,444,558,515,424,382,375,307,344,354,368,862,883,1212,1498,1068,876,803,772,630,475,461,406,576,666,1044,973,1052,660,1015,980,582,514,1262,1214,650,755,938,1005,1054,924,536,471,835,915,1188,1086,880,625,519,913,1017,722,893,1216,1294,1536,1584,1250,1278,1576,1498,1356,1066,641,544,820,625,506,890,1050,709,606,560,753,997,1084,1052,1098,1134,1186,1270,1330,1056,846,730,1028,982,1082,1220,1258,1290,1124,1088,1252,1366,1394,1284,1160,1118,1208,1172,1030,1254,1588,1426,1266,1496,1396,1178,1182,1246,1190,1282,1322,1376,1176,919,698,461,485,909,1264,869,694,1224,971,702,806,1008,901,777,850,1116,1232,996,932,968,1196,1246,1186,1148,1232,1206,1204,1266,1160,1132,1064,911,1170,1408,1520,1400,1412,1542,1664,1424,1005,656,658,630,727,878,821,1092,1094,1118,1328,1190,1316,1406,918,795,1036,1062,858,810,560,420,403,609,1146,832,1238,1196,959,993,1094,1094,1302,1418,1204,1116,1214,1194,1212,1388,1308,916,686,861,1024,985,974,872,947,965,1038,1108,1238,1500,1364,1344,1218,1011,1188,1470,1548,1294,934,836,1112,980,702,896,1060,1140,1172,1216,1172,1068,1130,1222,1086,1136,1228,1268,1216,1594,1362,812,842,1086,1130,1396,1534,1342,1230,1180,882,977,984,781,891,1618,1660,1278,988,1072,1214,1122,1064,1208,1170,1094,645,846,667,827,903,1146,1112,900,1204,1354,1316,1204,1158,1210,1114,1414,1314,1078,998,1118,1232,1184,1232,1122,1013,1030,1314,1388,1078,1198,1864,2042,1672,1306,1708,1898,1556,1328,1458,1184,1328,1616,1206,995,977,965,930,946,879,738,1058,1248,1164,1176,799,756,835,791,871,947,1114,1092,1034,1068,969,942,828,830,857,1684,1692,1644,1692,1546,1332,1998,1706,1150,1240,1136,1156,1282,1326,1550,1924,2744,1648,1328,1162,1244,1462,1126,1080,1102,927,647,749,916,1216,996,661,813,1015,736,688,1024,1128,1007,693,977,1576,1616,1428,1396,1324,1386,1152,769,1013,1260,1390,1224,705,527,496,627,1094,1402,1364,1212,1578,1634,1148,966,869,1400,1756,1378,1260,1410,1318,1284,1312,1232,1586,1770,1474,999,1222,1534,911,846,1412,1218,788,709,689,724,1154,996,1144,929,542,364,363,347,425,382,299,377,639,597,470,477,928,1416,960,514,481,541,996,1336,1260,1250,1194,937,587,485,438,415,375,286,446,498,419,528,827,1102,968,966,949,1084,1124,643,319,267,332,369,540,840,975,874,994,930,347,312,321,427,482,636,447,414,742,968,979,969,799,556,416,489,956,800,775,1460,1146,969,1150,1156,715,443,411,400,486,500,337,335,401,417,476,800,1102,1202,1012,1130,1304,934,886,726,1000,1980,2776,2404,1374,1128,843,552,907,1356,1246,745,591,354,337,302,293,223,209,229,249,267,327,486,618,582,632,852,494,251,321,361,667,688,713,1176,1013,361,516,806,819,919,1012,1086,993,1136,901,807,1324,1106,504,469,555,677,901,1100,1034,1238,1064,1290,1344,1454,1670,1370,1124,1116,1290,1698,1502,1478,1414,1302,1232,1208,1400,1190,1054,946,689,802,932,605,780,1112,1354,967,1164,1260,1182,1172,1192,1164,1086,1202,1452,1404,1300,1440,1242,1176,976,1170,738,476,1046,1386,1168,1250,1438,1538,1796,2110,1976,2214,2242,1568,1076,816,572,539,828,1342,1436,1542,1644,1220,1126,1100,1088,1084,1110,1114,1072,1014,747,590,662,690,589,704,604,579,925,1156,1056,775,1600,2630,2230,1422,1132,718,868,1011,1136,1264,1466,1052,802,727,785,1066,1058,1132,1204,1132,1230,981,1002,1009,1011,1040,1170,1214,819,442,362,468,1028,1262,749,534,681,678,604,542,525,842,626,369,501,685,554,520,631,729,781,832,813,1190,1582,1840,1968,1796,1792,1866,1642,1418,1422,1238,928,1054,1522,1632,1224,1494,1470,1152,1208,1526,1408,1334,1920,2138,1742,1630,1462,1470,1670,1538,1332,1266,1342,1274,1352,1470,1436,1584,1568,1488,1522,1578,1432,1322,1342,1314,1460,1564,1530,1438,1182,1236,1384,1406,1302,1242,1332,1338,1356,1290,1278,1312,1360,1346,1346,1228,1344,1426,1340,1188,1254,1272,1260,1332,1482,1450,1262,1416,1504,1572,1340,744,782,974,1188,974,881,930,791,558,693,993,975,955,747,497,731,685,456,306,308,391,379,337,430,562,451,539,978,1656,1210,766,560,489,489,508,637,659,527,542,692,988,1154,890,750,569,1148,1222,581,337,359,332,344,400,418,462,469,556,612,763,530,297,368,437,421,410,437,446,470,451,378,345,394,337,291,326,381,372,293,332,503,440,350,390,439,395,502,527,560,646,634,525,423,404,552,507,491,534,518,574,656,1478,2092,1938,1866,1722,972,549,576,478,394,364,316,352,354,368,444,550,590,492,411,426,661,1028,957,507,374,388,301,249,234,243,242,264,342,377,348,363,387,413,393,706,1250,1336,1394,1390,1198,1013,1280,1880,1852,1692,1642,2156,2318,1614,949,579,797,1134,1144,1032,923,946,1074,1308,1584,1494,1622,1656,1262,936,860,943,1236,1260,1136,1074,1132,1258,1052,1174,1254,1410,1452,1336,1222,1092,1060,981,1005,1102,1148,1278,1490,1408,1308,1136,1170,1096,1328,1488,1564,1550,1440,1242,881,915,1066,1262,1528,1314,1150,1248,1208,948,1088,1256,962,1038,1018,968,1116,1182,1064,949,1062,878,1080,1216,1136,982,757,1002,1368,1046,675,518,1080,1492,1550,1166,1060,1096,1005,1134,1302,1502,1682,1472,1286,917,923,904,749,612,697,1142,1178,1060,1114,1342,1382,1356,1502,1452,1542,1456,1354,1332,1164,1270,1626,1760,1372,817,930,1294,1338,1324,1460,1574,1786,1898,1562,1562,1176,878,747,849,1272,1406,1494,1404,1436,1514,1516,1536,1338,1284,816,531,900,1450,1692,1516,1614,1366,1154,1138,1260,1332,1202,1068,871,685,960,1376,1398,969,787,1252,1518,1744,1354,1184,1194,1005,952,963,1010,1074,1172,1576,1346,1212,972,1316,1704,1620,1482,1420,1332,1404,1432,1558,1248,1192,1208,910,1102,1276,1284,1248,943,1054,1228,913,695,914,918,953,1280,1382,1512,1522,1334,1154,1328,1378,1266,1412,1474,1210,1280,1340,990,793,1040,568,401,752,1158,1290,1060,980,1124,1276,1260,1160,1134,1250,1254,1440,1550,1240,997,1146,1368,1200,1150,1234,1198,1019,1090,1414,1318,838,645,1032,1258,1042,805,746,802,1034,1216,1472,1600,1184,1224,1238,918,1156,1268,1220,1144,1248,1254,1380,1418,1510,1312,1312,1206,1416,1632,1642,1994,2408,1946,1268,1306,1360,1176,1200,1322,1306,1288,962,871,1316,945,913,1174,1194,1066,1082,934,1246,1274,1184,1268,1268,1410,1170,1316,1434,1150,1040,819,737,1021,1338,1378,1526,1282,1436,1550,1512,1340,1148,1019,927,775,544,604,1130,1350,1214,986,991,1124,1236,1258,1496,1322,957,937,1054,1202,1346,1332,1310,1556,1758,1942,1804,1466,944,727,930,849,825,949,1036,1122,1216,1902,2618,2136,1040,785,943,897,877,822,806,893,789,701,825,784,968,758,450,369,328,327,583,735,780,901,910,1256,1504,1006,686,567,698,865,1021,1050,1294,1296,1040,1021,892,812,830,1054,1426,1494,1252,1150,1210,1310,1252,1076,1116,1138,1302,1084,1086,919,720,510,480,497,559,758,732,643,728,854,704,570,623,866,1050,1216,896,583,504,430,423,458,548,578,489,506,932,1108,1360,1362,1084,1036,1160,1238,1128,781,407,444],[528,438,551,860,482,395,324,265,265,245,267,280,350,391,318,356,508,632,404,345,296,359,396,378,323,398,426,431,537,1136,1442,854,783,927,565,408,375,350,677,525,514,735,715,478,340,352,461,465,614,734,585,474,441,419,488,457,439,372,483,905,948,919,1090,1090,957,1096,1322,1220,1054,918,607,430,483,850,1076,1158,841,803,777,913,1122,1156,894,444,372,411,426,742,1058,755,695,1028,1462,1252,1366,957,494,563,939,943,655,669,1001,948,1170,1140,599,807,1332,1054,588,647,1476,1514,928,780,718,710,644,551,795,650,571,718,813,838,1218,1468,857,612,667,625,660,565,458,484,411,457,540,581,712,1218,1676,1172,578,580,1058,1166,732,640,857,763,527,420,429,517,549,517,462,415,383,413,470,466,448,372,343,363,349,339,407,402,281,269,496,603,334,283,326,341,360,433,440,576,891,1142,1034,698,520,488,415,436,460,423,375,332,301,258,298,323,342,354,439,416,302,303,275,273,281,306,332,313,778,1248,1412,1528,1448,1368,1206,985,637,620,722,463,343,319,313,357,357,375,334,330,398,325,318,387,396,365,456,435,519,722,706,762,1026,964,848,1182,1310,1582,1522,1028,823,658,532,751,1152,1170,1009,638,722,572,971,1366,1442,1224,711,484,741,1084,1512,2104,1672,988,496,493,390,312,286,312,355,391,513,526,410,356,351,309,378,664,501,330,339,501,515,583,631,531,474,325,282,267,398,321,830,1050,951,1636,1252,796,780,670,705,699,744,626,375,614,614,776,1050,1050,583,714,880,536,923,1980,1548,1516,1013,902,899,927,788,488,546,871,981,1003,1066,1066,767,745,869,812,724,935,901,999,1344,1362,1372,1642,1440,1456,1106,884,816,709,797,618,794,1268,1230,916,867,872,888,1144,1370,1218,1196,1376,1280,1154,1272,1256,1152,1134,1062,1098,1274,1248,1362,1322,959,1146,1388,1338,1214,1046,1050,933,1056,1038,882,1058,1200,1128,1158,1224,1020,1056,921,963,1160,1396,1488,1482,1230,832,755,525,565,976,1410,926,769,1023,814,802,878,908,836,869,810,980,1326,1044,907,905,1100,1410,1278,1166,1056,1070,1250,1256,1088,950,1010,968,1026,1050,991,1005,1098,1042,891,1013,1038,944,1064,891,967,1044,719,952,1222,1252,1268,1232,1202,1152,1038,893,941,726,585,637,683,981,735,839,1086,641,912,1112,1126,1192,1206,1340,1548,1338,1330,1210,1240,1296,1102,802,579,716,740,821,855,705,1066,1194,1360,1338,1272,1134,1164,1358,1292,1282,1296,1182,1224,1312,1386,1214,844,823,968,641,374,698,1070,1280,1346,1536,1502,1080,1102,1264,1286,1134,1290,1464,1462,1324,1222,1162,1048,960,827,1140,1234,1316,987,1000,958,969,953,800,1076,1408,1376,1234,1172,1304,1366,1368,1394,1130,1074,1324,735,681,691,786,989,1098,1094,778,1206,1282,1182,1266,968,924,955,1220,1250,1266,1180,1144,1162,1018,1009,924,952,721,1166,1198,996,1094,1354,1456,1158,1134,1472,1508,1512,1258,1354,1346,1688,1808,1452,1148,1058,1042,1028,973,763,936,1284,1160,1226,810,689,811,768,853,889,1026,1212,1126,954,794,802,872,818,871,979,1246,1176,1856,2352,1740,1356,1398,1244,1092,952,879,993,1206,1254,1416,1264,1270,1376,1292,1200,1664,1794,1126,1042,1010,633,469,578,703,1074,1086,848,893,1010,893,840,990,1058,979,822,1244,1606,1692,1632,1478,1422,1356,1116,1218,1544,1490,1172,1026,760,650,690,1088,1330,1426,1368,1402,1526,1320,1318,1502,1136,1614,1522,1228,1278,1480,1282,697,579,917,1444,1608,1054,634,1023,1062,585,952,1072,1392,1476,1412,994,837,1294,1382,1166,999,521,378,395,371,317,279,263,364,696,607,429,432,907,1272,1156,945,543,731,1160,1410,1400,1420,1264,915,1011,840,482,420,380,413,689,642,745,850,1007,1078,1016,803,780,838,681,417,284,396,444,301,313,413,519,761,1016,989,403,296,309,553,744,780,722,865,855,654,745,988,799,694,519,759,786,700,1430,2018,1852,1378,1094,824,422,407,406,333,233,265,354,389,390,385,393,428,655,1058,1218,1278,1292,1420,1210,714,837,1666,1878,1554,1918,1812,1022,681,487,814,935,494,399,347,495,500,298,230,275,321,336,251,283,335,398,644,571,238,209,257,282,342,667,697,425,770,1038,473,636,904,890,899,901,980,825,972,943,943,1026,709,348,426,550,738,1080,845,721,797,1062,1376,1450,1572,1620,1334,1130,1044,1176,1332,1186,1224,1348,1500,1294,1080,1074,1084,1124,1116,972,781,908,838,1088,1396,1404,1234,1236,1132,1198,1256,1140,1112,1040,1042,1132,1246,1346,1264,1192,1226,999,1074,881,766,1212,1322,1226,1292,1562,1534,1620,2090,2200,2234,2108,1428,1012,788,743,781,858,917,906,1412,1596,1160,929,956,1076,1128,1186,1090,1068,957,582,558,913,882,913,965,781,786,928,949,863,581,797,1454,1556,1402,1220,762,969,1286,1300,1462,1394,1164,1072,839,808,1046,1168,1336,1148,1190,1144,978,1066,889,1002,1230,1186,1130,1232,995,592,482,885,700,424,356,409,389,450,605,774,912,855,833,939,1348,1360,1404,1274,1194,1190,1164,797,1018,1266,1182,1350,1162,1118,1714,1734,1312,1368,1578,1614,1166,1414,1594,1328,1316,1572,1510,1192,1266,1152,1148,1610,1688,1650,1484,1328,1290,1342,1414,1400,1444,1372,1388,1388,1158,1322,1372,1382,1406,1660,1734,1424,1324,1310,1350,1316,1102,1146,1412,1538,1338,1162,1104,1114,1200,1250,1174,1228,1184,1098,1058,949,890,1126,1282,1368,1344,1264,1118,1226,1316,1144,1130,1396,1438,1248,1316,1460,1428,1126,794,1003,1214,1256,1144,1013,850,688,493,578,966,1016,851,639,439,822,802,468,344,336,402,436,409,392,566,440,531,1138,1782,1294,724,502,405,485,540,686,762,631,614,712,857,952,858,717,500,1006,1312,672,362,343,363,407,655,916,919,608,543,653,727,604,386,397,426,407,365,414,439,472,430,350,285,265,276,260,287,351,342,345,405,581,444,330,416,460,496,554,492,506,767,871,600,382,346,408,498,575,533,571,648,1042,1844,1912,1656,1892,1472,645,618,624,505,468,408,347,370,372,372,441,565,577,530,405,431,608,622,597,485,419,378,289,233,210,227,303,357,428,422,351,346,354,363,393,661,1278,1454,1278,1274,1060,647,943,2004,1726,1572,1356,2150,1708,863,658,785,1130,1116,969,990,916,1210,1430,1394,1582,1534,1598,1528,1300,1252,1354,1508,1514,1306,1060,1015,1106,1328,1124,1074,1104,1136,1250,1418,1260,1054,1003,943,867,933,970,946,1316,1316,1320,1210,1214,1050,1172,1418,1446,1254,1176,1184,1016,993,962,1042,1356,1332,1238,1132,1130,1118,1486,1658,952,869,1154,1690,1866,1680,1388,1148,1166,1132,1146,1186,1208,1322,1166,933,907,1280,1088,807,1104,1150,977,1058,1284,1234,1034,910,1160,1272,1438,1560,1296,1198,1244,1076,1214,1014,855,1142,1290,1354,1242,1324,1472,1384,1362,1302,1384,1266,1240,1068,766,1094,1560,1832,1614,1152,1146,1110,1172,1234,1284,1432,1378,1206,1244,988,865,1050,948,1036,1586,1758,1494,1360,1174,1416,1488,1488,1324,1048,992,744,763,1158,1268,1294,1162,921,835,839,942,1030,879,875,796,776,1082,1240,1330,1216,1028,946,1302,1720,1724,1672,1370,1086,1124,1222,1196,1220,1394,1660,1106,1021,1162,1400,1592,1310,1254,991,969,1152,901,1060,1218,1416,1378,1046,921,1152,1274,991,889,1152,1258,1044,994,1068,937,1084,1232,1280,1380,1726,1560,1078,1042,1262,1284,1490,1400,1428,1310,1240,994,796,535,505,644,637,972,1062,919,1188,1302,1384,1308,1034,874,1140,1078,1230,1084,868,811,987,1294,1354,1268,1234,961,1020,1280,1274,815,796,854,942,1148,968,844,866,509,710,1194,1416,1350,1324,1616,1772,1686,1372,1274,1268,1196,1166,1102,1316,1088,1072,1214,1418,1314,1410,1198,1154,1872,2292,1656,1174,1402,1258,1128,1268,1326,1052,878,815,1080,958,733,905,1286,1244,1130,810,656,1088,1196,1064,948,1046,1334,1172,1222,1268,1216,1002,659,510,768,1010,1308,1526,1368,1228,1390,1390,1256,1454,1326,749,732,961,995,1362,1478,1176,804,655,1003,1186,1230,1194,971,959,1015,1056,1202,1264,1152,805,924,1252,1446,1704,1736,1622,1504,1280,894,654,714,938,1456,1428,2150,2564,2068,1494,1572,1602,1332,1154,1042,1002,881,657,504,592,626,525,564,719,644,423,539,846,835,692,590,688,1100,1024,990,761,526,581,615,637,805,1080,1134,770,791,838,854,1122,1508,1570,1400,1172,1064,1218,1372,1232,1005,1005,1294,1482,1278,1060,948,963,902,853,756,880,1246,1204,1166,1250,1204,732,608,1015,1208,1232,1290,1023,678,495,485,470,415,467,531,494,508,886,1222,1506,1550,1174,935,1114,1454,1378,918,456,484],[409,382,339,468,451,345,272,255,298,316,328,311,296,407,697,672,394,496,441,376,391,385,365,346,365,410,422,422,434,510,530,901,1262,1448,784,412,368,444,493,423,649,889,864,685,404,384,561,504,626,645,518,455,512,569,475,549,642,404,456,952,976,976,1090,968,1112,1086,993,803,620,488,341,433,506,692,650,772,607,734,953,1180,1198,1094,698,410,384,487,449,820,1178,607,537,644,1146,1354,1202,1206,987,885,1182,929,799,1094,1170,796,1050,1140,755,1114,1484,1288,813,655,844,701,650,582,647,663,778,579,543,465,613,764,764,952,1626,1656,778,529,583,534,526,447,375,382,429,534,656,982,1196,1324,1332,943,820,645,513,646,719,552,535,669,748,678,488,512,492,572,546,551,579,571,607,529,480,489,457,460,439,407,419,341,274,334,443,470,317,315,318,317,376,423,477,583,667,860,1104,862,564,449,403,420,443,427,409,366,297,230,304,365,320,301,334,347,318,356,312,261,257,293,275,379,899,1274,1470,1472,1378,1350,1234,849,452,413,406,316,272,316,406,359,343,373,378,386,301,274,318,347,366,378,372,390,412,402,391,580,808,706,765,748,875,1116,1232,1296,1046,648,553,908,1150,1118,973,694,784,1005,1216,1402,1402,1158,896,483,692,1318,2690,3680,2010,1480,785,548,559,368,432,561,430,366,372,403,427,419,613,677,365,303,358,437,535,561,446,498,539,473,400,334,298,265,279,484,1062,994,1466,1392,752,689,768,663,748,889,782,495,408,416,436,442,810,834,584,821,985,547,706,1580,1094,1144,976,998,1034,1010,841,679,773,841,1020,1210,1114,1002,788,805,727,751,1010,1226,1190,1090,1090,953,1626,2122,1164,1372,1154,764,1015,1030,940,843,1005,1350,1294,1076,1218,1260,1254,1228,1180,1106,1196,1294,1002,875,959,1216,1282,1082,1064,1202,1566,1304,1260,992,968,1188,1028,1013,1062,976,1112,929,901,1164,1168,1142,1112,837,969,1390,1466,1168,1138,1142,1108,1400,1394,1238,1146,960,1232,805,690,947,1388,1124,1092,1044,980,888,727,724,815,872,959,1084,1434,1198,1060,985,1052,1308,1370,1176,1024,1054,1110,905,888,868,915,888,942,785,632,591,543,553,592,824,916,1220,1244,1154,982,1000,868,1024,1114,1196,1152,966,934,1026,938,583,803,689,591,615,840,1246,1040,1110,1182,706,601,828,1007,857,986,1066,1034,1178,1150,964,964,1144,1142,732,504,783,940,1126,1266,841,1092,1228,1250,1230,962,875,974,1200,1296,1134,1120,1088,1168,1118,1296,1292,890,596,535,549,811,1122,1318,1310,1292,1440,1486,1084,1038,1050,1216,1178,1216,1368,1484,1190,1044,1146,1126,974,996,1312,1284,1316,927,697,833,1094,1160,1086,1086,996,988,984,925,1200,1430,1296,1334,1266,1132,988,683,630,639,850,1088,1176,827,877,1164,1232,1304,1130,1030,925,1050,1290,1306,1400,1584,1414,1015,930,903,973,1005,894,1204,1154,1114,1362,1410,1272,1312,1438,1352,1478,1664,1404,1576,1628,1568,1572,1510,1274,1064,1058,1023,866,832,1236,1196,1226,937,663,816,807,874,866,863,1122,1322,965,809,800,986,832,917,1070,1112,1066,1052,1684,1976,1506,1360,1276,1078,1246,1326,1076,1022,922,1050,1170,1152,1344,1406,1372,1388,1286,1098,1198,1484,1240,784,648,784,927,1058,1012,1002,1072,1046,1210,1186,1044,1072,903,1400,1780,1706,1666,1632,1616,1648,1526,1318,1262,1324,1114,802,710,635,703,931,1198,1438,1376,1444,1830,1642,1210,1308,1578,1154,1216,1324,1202,1350,1510,1422,1062,695,570,637,724,529,602,1034,738,702,998,1090,1066,1346,1662,1302,733,638,970,1190,929,504,451,415,296,235,271,336,316,521,600,496,397,558,1036,1226,860,721,988,727,522,1146,1752,1416,1030,1128,1036,735,691,652,720,778,677,672,670,932,796,728,882,969,812,653,422,243,449,536,396,331,306,557,874,1238,1132,512,293,451,624,868,855,783,1044,1342,999,558,577,450,621,476,382,318,905,1716,2078,2134,1924,1428,699,401,428,369,276,304,362,379,381,385,393,410,383,383,645,1124,1152,1110,1238,866,629,583,785,1136,2040,2486,2110,2674,1890,593,366,382,327,399,383,510,516,384,328,332,295,235,252,302,275,232,302,269,212,266,321,393,431,392,341,245,510,1122,597,480,504,455,455,457,569,675,570,670,886,664,559,594,755,708,711,860,913,1250,1368,1380,1448,1500,1478,1534,1510,1306,1062,1064,1152,1290,1242,1248,1226,1020,1044,1186,1256,1264,1070,1146,1202,1116,1074,1204,1344,1416,1500,1412,1114,980,1132,1130,1206,1246,1158,1284,1204,1036,797,890,1154,1172,993,841,921,948,660,570,850,1206,1326,1382,1882,2098,2058,1766,1238,892,628,832,994,1086,960,745,855,1272,1438,1160,999,1082,1158,994,919,1036,974,692,672,834,949,1072,1168,964,948,943,856,1050,811,610,755,1036,1324,1282,1132,1356,1128,1024,1096,1116,1226,1222,1128,1019,1212,1158,1228,1114,1220,1023,964,1058,902,915,1230,1138,755,868,1346,1140,637,597,568,605,775,1013,1156,1262,1246,1192,1202,1250,1332,1140,1080,910,789,768,756,673,562,494,812,860,736,1052,761,536,960,927,885,899,1224,1476,1496,1662,1634,1516,1238,1494,1824,1486,1252,1136,1148,1510,1700,1510,1302,1242,1086,1140,1192,1148,1246,1246,1310,1064,1014,1586,1572,1396,1554,2024,1978,1554,1422,1238,1362,1004,1078,1372,1418,1710,1388,1300,1336,1160,1208,1186,1038,1250,1144,1002,916,814,875,1094,1450,1474,1454,1444,1248,1272,1248,1170,1234,1438,1260,1112,1278,1502,1390,1040,990,1328,1450,1098,1278,1296,861,778,582,606,1013,1122,915,735,523,503,562,524,388,285,365,408,397,383,551,410,382,578,689,569,472,473,426,451,489,647,910,949,839,818,853,902,778,510,393,854,1324,668,371,396,482,882,1488,1658,1456,935,561,569,670,702,658,498,454,435,401,370,401,392,352,339,302,284,280,255,267,328,388,367,490,603,431,313,365,412,549,655,529,607,914,1013,593,392,373,359,412,437,487,614,621,1124,1798,1394,1538,1878,1594,1026,730,581,518,512,430,366,352,368,355,389,484,473,461,411,465,625,487,390,366,327,280,230,220,268,303,388,402,434,435,351,318,379,365,352,520,995,1056,822,947,749,662,846,1914,1732,1488,1252,1354,1072,880,848,1046,1308,1244,1094,1086,990,1600,1566,1366,1536,1608,1598,1644,1700,1670,1570,1424,1284,1118,1052,1040,1168,1100,1021,1042,1013,1042,1118,1023,1009,961,922,1092,997,1001,1016,1104,1342,1262,1108,1017,1032,1180,1220,1422,1390,1262,1232,1178,1216,997,858,979,1238,1410,1192,1102,1306,1230,1406,1224,1018,1600,1974,1926,2082,1808,1508,1394,1326,1268,970,971,1246,1462,1230,1013,712,962,852,692,675,739,905,1120,1068,663,542,799,1220,1246,1412,1568,1310,1342,1098,990,1428,1334,1150,1244,1254,1470,1406,1360,1400,1516,1472,1384,1318,1046,987,910,865,946,1220,1730,1474,1044,723,810,1060,1240,1256,1224,1312,1446,1272,1090,1222,1130,1282,1288,1592,1694,1616,1346,1172,1138,987,1226,1296,1138,1130,1160,1330,1284,1048,853,665,882,1116,1070,1021,922,742,775,675,630,651,803,1102,1338,1448,1017,1024,1428,1770,1802,1284,1174,1412,997,694,719,1152,1278,1162,1050,821,1280,1494,1228,1110,721,543,547,407,446,783,1060,1206,1072,997,1270,1308,1016,946,930,834,988,1176,1038,832,913,1128,1258,1512,1660,1510,1528,1614,1586,1358,1340,1238,1092,1276,1440,1394,1252,871,732,896,1114,1094,697,529,690,1154,1244,949,684,1006,1007,1126,1316,1054,899,844,1012,1224,711,711,1044,1118,1384,1172,864,836,1032,1088,1126,1130,947,894,850,672,792,1378,1444,1262,1570,2018,1780,1540,1440,1284,1312,1278,1266,1482,1268,1130,1086,1104,1056,1322,1292,857,1056,1622,1520,1116,919,1164,1058,1182,1516,1528,1212,1144,1398,1338,1134,1394,1076,870,907,1021,913,750,777,1088,1382,1212,1216,1294,1174,1246,1504,1490,1498,1236,763,792,788,1224,1438,1356,1138,1058,1072,1320,1452,1306,827,874,1346,1304,1226,1224,994,778,908,1278,1278,1092,869,761,560,650,1122,1244,1152,944,805,1172,1314,1280,1450,1584,1732,1662,1738,1652,1554,1414,1288,1466,1376,1858,2222,1832,1480,1780,1792,1344,1018,1005,997,913,825,927,867,696,802,944,1042,849,520,853,1110,867,688,538,534,777,891,1050,843,639,718,632,626,857,939,1005,844,1196,1300,1222,1316,1506,1388,1216,1262,1330,1426,1332,1282,1264,1338,1470,1528,1452,1172,1122,1118,1062,1062,920,979,1664,1756,1438,1494,1656,1009,788,1162,1250,1116,1116,962,682,400,369,340,423,686,640,592,611,912,1458,2076,2160,1246,1036,1362,1656,1506,974,500,481],[479,425,329,304,302,286,328,402,383,322,291,344,518,864,1096,817,414,357,468,454,428,388,355,342,371,357,332,334,455,442,523,1028,1496,1666,950,499,487,528,516,449,714,1017,962,705,575,503,665,655,645,562,504,551,814,822,549,719,737,362,322,819,1248,1252,1140,914,738,550,434,438,398,301,322,385,393,460,473,529,717,666,894,1214,1176,709,317,326,563,914,521,548,793,786,604,578,1120,1070,822,1274,1418,1174,1162,981,948,1308,1118,1250,1164,1102,952,909,1120,1184,1202,808,616,822,880,510,515,906,1180,905,503,369,454,522,560,905,1230,1228,1112,1284,746,430,421,342,308,310,408,548,728,869,779,1230,1210,841,995,1016,642,571,900,778,423,424,628,882,744,552,452,590,679,755,813,814,831,645,512,473,405,413,437,439,440,326,268,344,396,402,300,287,344,382,523,571,616,784,849,849,953,911,569,410,409,428,404,398,393,344,309,280,253,277,268,255,244,280,282,272,260,228,253,308,248,292,659,1166,1310,1362,1368,1388,1324,1104,1001,912,767,733,772,746,666,711,742,637,574,545,555,544,433,412,471,435,415,382,353,372,525,916,1194,933,928,1002,957,845,866,893,790,861,1015,1154,1168,1118,1054,919,678,565,546,844,1050,1180,1184,608,661,929,1732,2722,1758,1572,1148,587,453,380,487,627,423,534,528,398,346,606,1202,1262,906,541,505,781,789,615,499,372,390,390,339,326,275,321,517,1028,1012,1172,1188,821,776,778,780,796,774,831,540,368,419,439,451,343,536,886,1036,1246,1202,969,566,822,952,1280,1268,1178,1058,891,863,1006,1032,1138,1310,992,936,961,906,905,812,791,857,1206,1278,1030,1116,1388,1354,1136,693,1088,1136,1360,1460,1434,1278,1050,943,1080,1202,1350,1370,1140,1384,1136,1166,1240,1158,1116,1066,846,698,874,846,819,1116,1258,1678,1588,1516,1310,1368,1378,1156,1092,968,1032,992,673,929,1054,1102,1050,825,764,919,1306,1360,1112,1082,969,833,1216,1100,1162,1208,1274,1574,999,714,617,707,959,1212,974,500,402,443,719,932,1018,1210,1230,1598,1542,1314,1242,1308,1428,1268,1064,837,848,991,638,582,726,885,899,1062,880,622,481,713,893,756,1040,840,1366,1164,1220,1058,747,806,944,996,1212,1232,959,1152,1013,855,592,666,868,858,692,926,1166,894,1124,1308,693,449,703,804,677,735,885,954,1190,1220,1102,1070,1108,1036,753,745,919,987,1088,965,584,949,1250,1172,981,944,1060,1024,1142,1272,1090,1122,1246,1106,1112,1162,1178,883,534,378,508,1198,1742,1320,855,1142,1336,1206,1050,930,923,1028,1126,1144,1214,1286,1118,903,848,970,1038,1148,1278,1272,1348,1356,1126,971,1132,1028,838,1106,1306,961,805,642,1162,1444,1284,1410,1540,1212,678,498,718,917,660,772,846,835,1086,1146,1174,1226,1184,1232,1206,1232,1382,1322,1294,1404,1262,1074,891,936,1112,1108,1112,1356,1310,871,974,1140,1218,1478,1776,1444,1504,1552,1170,1184,1234,1174,1236,1184,1062,1015,1052,936,742,1140,1232,1372,1196,706,811,844,855,917,901,1058,1214,1406,939,728,1078,1094,852,1134,1266,1202,1182,1136,1302,1244,1144,1260,1276,1150,1664,1574,1176,1068,1076,1262,1294,1228,1210,1354,1500,1242,767,896,1266,1288,1080,996,978,975,1078,1234,1164,1126,797,863,1015,985,1082,1252,1372,1688,1554,1308,1044,1011,1496,1672,1544,1192,1214,1004,1008,819,793,713,600,830,1184,1256,1052,1092,1122,896,1098,1220,1084,1154,1324,1296,1188,1342,1488,1554,1478,1094,704,675,621,486,854,1224,996,865,874,916,1024,1392,1538,1528,1198,1066,1262,1438,759,442,419,353,331,324,307,328,305,484,1036,1306,973,796,1001,839,698,1460,1234,576,470,618,1234,1480,1356,989,629,475,503,678,742,722,805,439,410,838,656,561,763,750,668,741,625,285,297,292,314,520,658,1100,1034,1324,943,463,359,428,641,709,560,485,745,1316,1034,753,1017,626,772,700,349,539,872,1114,1308,1996,2152,1980,1490,799,434,383,383,338,374,394,385,373,390,431,444,412,434,710,936,996,993,727,549,584,809,1640,2266,1886,2908,4740,2172,877,487,330,536,659,664,521,303,303,355,310,237,205,249,257,239,236,246,211,239,297,318,434,532,301,199,280,422,963,578,344,549,661,554,446,656,997,962,1208,1334,772,497,661,685,583,681,808,1202,1426,1124,1372,1460,1406,1338,1516,1486,1186,899,842,1136,1222,886,852,792,929,1116,1222,1356,1242,973,1048,1726,1264,958,1274,1552,1520,1362,1238,1009,844,1138,1248,1242,1206,1288,1298,1144,761,441,451,617,861,1042,991,1078,1074,728,552,487,766,1146,1308,1758,2140,2018,1506,1126,630,596,918,942,1019,890,872,927,1032,1108,1096,1007,921,1052,963,1011,1042,1028,1124,1100,903,1102,1260,1274,1124,1094,1042,913,1078,800,547,726,1470,1572,1416,1432,1296,965,1012,1126,1054,832,843,1028,991,1008,1042,1094,1001,1106,1172,1064,1078,1078,1080,1030,1004,1020,755,1038,1318,1252,1254,1324,1224,1100,1120,1220,1158,1146,1122,991,802,871,664,571,594,594,578,542,531,524,633,1028,722,824,1156,885,699,701,538,875,963,956,1017,698,1140,1524,1688,1076,1196,1764,1708,1382,1318,1316,1424,1720,1422,1074,1194,1178,1188,1116,1210,1206,1158,1264,1250,1648,2278,1968,1200,904,1250,1476,1600,1512,1260,1438,935,1444,1424,1346,1350,1208,1348,1234,1056,1118,1072,662,636,731,942,877,844,973,1064,1212,1106,1174,1356,1198,1158,1180,1282,1294,1484,1272,1280,1460,1596,1424,1176,1050,1200,1358,728,1302,1318,1110,1050,853,1072,1116,834,733,693,532,334,507,799,435,273,275,314,331,317,356,302,289,290,287,306,324,406,413,480,606,704,1003,858,643,651,729,794,684,518,540,850,1370,775,432,445,595,920,1340,1562,1560,1360,877,545,645,741,933,611,465,471,437,354,451,437,325,313,294,286,291,287,284,361,375,340,430,403,365,390,452,492,498,552,531,593,822,1170,797,769,595,431,439,445,511,665,867,1406,1434,1268,1802,1946,1914,1502,928,579,500,516,430,351,314,335,356,370,476,527,473,422,429,475,407,351,310,241,239,246,287,333,372,399,426,473,531,515,451,416,413,340,406,669,828,705,941,796,713,661,1406,1400,1260,1134,987,1134,1262,1148,1162,1206,1112,1094,1108,1176,1648,1638,1626,1684,1532,1500,1664,1566,1378,1118,991,1040,1098,1010,1028,1324,1338,1156,1086,1028,987,967,876,959,979,1072,1100,1050,1136,1222,1418,1322,1120,1004,822,1176,1758,1226,1186,1306,1106,979,1018,1158,1190,1128,919,1234,1504,1306,1416,1428,1268,1282,1306,1498,2210,2420,2026,2054,2208,2218,1820,1268,1284,1007,891,1098,870,869,1062,1036,914,632,716,861,840,847,1006,847,424,454,913,1138,1032,1120,1182,1246,1304,1076,1166,1310,1254,1244,1118,1290,1528,1510,1422,1302,1106,1032,1182,980,824,1166,1086,1162,1124,1026,1526,1716,1248,698,628,702,958,1194,1190,1258,1522,1302,1228,1396,1396,1524,1432,1396,1500,1418,1180,1152,1290,1046,1112,1122,955,699,1003,1254,1026,913,761,712,782,937,1084,966,885,1318,1138,758,772,636,732,1022,1250,1436,1492,1322,1298,1454,1698,1732,1864,1638,995,1042,1208,1108,1156,1816,1760,991,1382,1416,1416,1246,861,411,307,338,349,355,400,547,980,1454,1392,1560,1340,1090,751,789,848,1128,1344,1146,996,1150,1372,1610,1328,1384,1532,1704,1628,1428,1528,1340,1146,1070,1332,1590,1370,1144,1076,1072,1214,976,560,470,437,626,912,1015,1058,1020,915,1066,1160,1154,1012,574,796,1138,1023,1023,1080,1072,1166,955,1013,1526,1476,1228,1232,1242,1072,951,1078,1094,1374,1932,1678,1134,1440,1616,1218,1194,1160,846,1084,1200,1316,1472,1130,1108,1210,1182,1094,1158,1158,1102,1268,1400,1400,1162,1072,1017,1042,1246,1386,1322,1066,1208,1744,1450,1028,1212,1262,948,1116,792,937,1152,1130,1490,1620,1534,1390,1078,1098,1310,1868,1538,1278,1128,788,483,556,828,1202,1450,1296,1146,1240,1284,1440,1124,948,966,1266,1108,1054,1015,883,974,1212,1510,1264,1204,1250,1142,586,705,1092,1386,1272,1092,1248,1450,1156,922,1140,1478,1472,1614,1472,1508,1694,1688,1670,1588,1496,1598,1758,1772,1340,1596,1598,1024,1116,1144,880,909,1246,1412,1016,895,1180,1120,1216,1120,874,1278,1218,867,624,533,589,877,1208,1204,893,751,912,727,763,861,949,874,791,1060,1170,1202,1672,1894,1204,1114,1182,1230,1482,1336,1484,1572,1928,1744,1378,1258,1208,1274,1106,1004,1048,922,689,1154,1334,1246,1302,1438,1042,774,1064,1120,1014,1212,783,535,385,323,363,408,658,661,803,918,1156,1336,1078,1238,1018,1042,1530,1538,1506,1044,522,437],[519,415,347,355,298,303,426,466,427,299,320,624,670,801,763,395,352,437,435,466,483,373,352,352,376,421,363,336,458,516,449,794,1288,1252,741,495,583,609,576,636,868,1023,1126,747,590,559,681,800,709,605,517,557,847,766,456,495,466,294,265,543,935,870,721,594,398,354,337,343,331,350,731,731,415,326,531,596,545,672,854,962,680,387,341,404,678,1012,739,552,938,1334,1086,966,1288,1318,1108,1316,1388,1378,964,883,1088,1236,1598,1468,791,836,772,500,417,799,1230,888,755,979,741,456,446,478,739,804,524,473,530,411,471,748,763,855,1010,1072,631,439,393,329,348,384,388,463,788,631,408,745,1188,1232,1044,1008,973,954,1202,860,459,491,609,653,772,796,604,551,602,686,666,799,951,845,733,603,487,485,405,353,367,337,314,352,448,454,350,301,388,406,456,422,757,1098,1158,927,681,552,421,381,432,449,478,416,390,401,375,354,314,322,348,325,241,253,256,196,215,249,279,286,286,313,394,1007,1248,1262,1332,1448,1468,1088,792,789,1032,1092,904,868,965,1068,1114,1262,1340,1124,910,813,741,819,847,744,884,778,576,379,404,824,1150,1282,1418,1388,1280,1260,1134,687,690,955,1126,987,875,981,1018,868,703,708,628,525,607,830,875,612,620,597,1278,1870,1250,1190,1210,886,969,782,516,542,650,1060,981,626,875,1678,1680,1506,1460,779,908,1124,796,473,433,306,416,444,401,318,323,427,703,872,1242,1348,840,741,767,880,902,921,1070,792,372,347,359,483,618,541,453,931,1418,1532,1354,1458,993,1120,1260,1354,1360,1062,868,884,886,890,863,1156,1082,890,1028,951,890,834,921,976,801,995,1100,1118,1194,2350,1362,877,896,933,754,954,1306,1448,1528,1434,1218,1196,1178,1206,1120,1096,1302,1150,1296,1286,1138,1212,1250,955,727,735,795,976,1106,1332,1750,1694,1554,1336,1384,1584,1590,1272,900,902,1026,1019,1112,963,805,957,998,833,730,845,1026,810,524,544,484,541,802,1338,1124,790,592,615,571,818,1172,1014,1144,819,313,304,619,1017,1144,1306,1328,1232,1332,1122,1038,1196,1318,1160,1120,1064,680,666,796,682,698,805,975,1114,968,883,840,532,735,808,730,791,535,1088,1146,954,1086,1192,1050,910,702,1096,1226,1078,1324,1048,724,595,590,656,741,917,1180,1210,1082,1208,1220,685,467,618,520,622,659,720,947,1130,1038,1126,1230,1104,822,868,1156,1062,943,940,600,600,984,1184,1294,1208,921,872,1001,1048,1246,1162,1126,1288,1248,1178,1048,1050,880,490,411,403,926,1338,961,805,1060,1140,912,966,1015,953,988,1096,1042,1146,1242,1190,1228,1062,1088,1294,1502,1298,1206,1374,1278,1262,922,884,741,1080,1300,1358,1138,1004,1074,1318,1292,1106,1258,1302,1176,1116,943,845,813,469,493,648,661,822,1054,1156,1268,1170,1176,1130,1124,1140,1232,1344,1272,1250,1140,1012,1062,1102,1072,1098,1378,1442,937,1062,996,1118,1174,1340,1418,1664,1614,1164,1242,1144,973,943,944,1180,1060,973,781,983,1186,1134,1240,864,758,820,799,909,825,959,1066,1132,1152,771,940,1282,1040,946,1178,1210,1410,1244,1144,1174,1270,1202,1284,1304,1266,1508,1268,1092,1126,1252,1282,1114,1116,1146,1180,1234,954,1052,1272,1318,1232,1146,1200,1204,1308,1222,1086,1048,1118,847,736,868,1046,1162,1306,1410,1338,1238,1202,910,902,1290,1242,1362,1376,1012,564,838,1182,1244,1048,808,740,680,659,756,742,739,1084,1052,830,852,1166,1246,1084,1168,1228,1126,1270,1314,966,1022,1104,875,984,1360,994,955,1224,1012,975,1312,1172,1024,1182,1156,1448,1494,1094,857,577,388,335,346,343,269,305,357,717,1652,1766,1904,1280,1003,918,987,1772,1272,689,448,807,1274,1366,1200,820,594,482,585,613,764,688,743,458,386,763,610,343,408,632,862,880,499,324,259,241,283,422,603,918,1230,1174,794,415,317,470,612,355,318,293,673,1306,876,879,709,534,985,901,894,1218,1138,1120,698,1142,1844,2192,2014,1136,546,624,538,327,385,371,377,364,363,404,434,408,368,348,358,612,895,873,729,590,1224,2048,1136,671,2192,2800,2192,1538,531,484,636,558,544,465,408,357,392,344,268,248,266,271,224,226,245,239,258,282,282,269,223,231,324,483,583,713,555,350,732,1015,963,986,1086,1274,1426,1594,1342,681,463,614,600,602,757,1042,1228,1076,972,1172,1404,1264,717,597,849,1082,976,945,1238,852,594,599,456,800,792,1170,1364,1252,1202,1104,1124,980,1018,1226,1300,1322,1294,1072,1100,1222,1114,1228,1172,1086,1026,1022,993,571,408,396,389,418,573,896,1058,1026,644,554,435,539,969,1294,1584,2138,1786,1116,947,604,583,905,984,1148,1003,1010,1174,1016,905,1026,1100,920,946,1064,1236,1246,1152,1190,1202,1032,1042,1196,1268,1068,819,662,598,731,985,1120,1186,1416,1666,1594,1426,1230,771,959,1364,1192,1042,1028,1142,935,948,1026,1174,1198,1004,1062,1296,1222,1270,1094,909,797,1122,1192,1180,1298,1434,1210,846,734,804,1012,1082,1074,1108,1019,791,632,860,822,700,718,605,728,1142,986,716,855,1340,893,848,835,785,924,956,619,919,1318,1180,1446,1024,700,589,1280,1482,1604,1902,1738,1324,1486,1506,1430,1732,1430,1156,1334,1238,1056,1058,998,1040,1052,1318,1490,1476,1544,1532,1318,930,820,1118,1350,1242,989,897,824,1372,1372,1252,1266,902,1220,1246,1102,1018,1052,948,949,926,929,816,865,908,950,1024,1036,1034,1332,1226,1518,1630,1188,1164,1450,1286,1300,1622,1716,1510,1432,1156,1140,1574,1364,1564,1132,1098,1174,761,620,737,670,673,583,484,334,477,731,487,317,294,310,302,313,323,322,338,311,307,328,319,397,550,738,845,977,1058,804,594,524,577,760,828,796,869,1048,1438,923,501,497,621,837,1202,1500,1560,1544,1258,698,703,882,1156,863,476,463,462,462,551,487,377,316,299,301,318,318,296,296,305,349,347,310,328,443,610,631,541,489,569,566,576,525,832,987,628,471,481,521,784,1428,1810,1500,963,1556,1938,1942,1808,1570,1300,916,583,505,422,395,384,341,346,313,351,351,311,323,337,297,262,325,328,265,272,320,324,361,504,548,568,620,647,612,498,385,363,314,329,467,979,866,984,985,773,791,913,878,1042,1076,1018,939,1198,1386,1384,1218,1144,1140,1048,1294,1548,1454,1256,1224,1416,1444,1590,1526,1482,1088,921,908,1076,990,1050,1318,1242,1210,1552,1156,1021,1078,1028,965,907,1106,1166,1076,1124,1238,1318,1250,1070,907,1104,1450,1216,1148,1404,1412,1116,885,974,1146,1422,1488,1026,1200,1174,839,1184,1368,1362,1338,1600,1468,1706,2342,2424,2314,2378,2374,1824,1430,1324,1180,1316,1484,1160,1028,1202,1242,807,698,1296,1340,1054,910,1182,1296,807,716,857,1166,1366,1318,1192,1130,1180,1256,1198,1186,1494,1500,1452,1528,1476,1282,921,788,786,771,988,830,780,850,1158,1112,1166,1216,1372,1640,1390,989,731,617,803,1058,1160,1108,1416,1256,1120,1396,1504,1324,1322,1160,810,813,918,998,1186,1176,1010,731,694,607,891,949,831,966,946,779,779,1038,1294,1256,1050,1011,753,926,1172,990,1080,1492,1534,1558,1788,1252,1166,1290,1732,1700,1544,1284,1132,1088,959,796,769,1368,1106,741,1015,1350,1520,1074,558,387,383,345,383,474,425,332,666,1190,1174,1378,1346,1258,1172,1020,1060,1266,1318,1212,1050,971,1168,1300,928,1050,1274,1650,1416,1246,1426,1536,1592,1200,935,1200,1456,1544,1502,1122,1064,669,437,448,425,418,798,1236,1308,1364,927,759,902,1214,990,703,819,1060,976,1090,1092,1015,1006,910,1146,1592,1186,1028,1274,1184,902,761,997,1082,1492,2142,1678,1040,1306,1400,1560,1670,1382,657,952,956,999,1206,1320,971,968,1250,1130,1190,1208,1186,1214,1366,1376,1366,1354,1026,923,846,803,969,1300,1572,1416,929,979,1094,855,1144,1448,1112,1416,1474,1458,1644,1474,1554,1290,918,885,879,952,1128,925,885,733,755,983,891,1142,1504,1252,1102,1046,1272,1412,1258,847,707,951,1056,1186,1188,1176,1236,1038,1278,1526,1496,1298,1154,1030,1172,1230,1316,1422,1302,1584,1470,1072,902,916,1176,1576,1536,1272,1266,1334,1478,1532,1472,1508,1604,1758,1650,1498,1588,1326,933,1072,920,889,1264,1422,1190,854,1016,1230,1468,1230,1064,1054,1224,1021,698,663,651,587,883,895,776,653,711,1054,948,1220,1116,973,916,913,958,730,1058,1744,1748,850,1050,878,916,1136,1282,1416,1512,1756,1630,1438,1472,1416,1316,1206,1078,1082,1017,887,1108,1220,1228,1134,994,929,1156,998,969,1019,1230,833,518,368,343,406,423,578,786,657,983,1338,1216,716,982,1088,982,1130,1038,1312,1100,587,505],[583,368,391,450,380,383,488,502,429,300,366,658,484,528,594,404,400,548,445,426,503,384,320,329,494,618,429,359,339,414,483,655,1028,1148,698,393,476,505,604,666,791,846,701,485,437,490,744,886,734,617,427,441,756,725,443,352,424,476,353,456,657,491,403,387,348,354,361,342,347,341,805,1114,698,289,372,455,585,843,521,750,894,606,370,430,557,785,636,616,1018,1278,1270,1382,1440,1394,1256,1386,1306,1234,1001,976,1116,1188,1310,1042,678,508,530,460,636,1042,1066,1124,736,285,277,320,353,363,403,401,338,496,645,571,845,1526,1372,769,685,781,636,451,424,366,391,431,435,401,775,665,441,385,772,1476,1488,955,1054,1222,1286,802,396,656,1174,938,911,884,711,501,509,560,604,727,1044,1218,1122,805,575,500,419,416,528,503,355,438,518,468,342,377,440,441,380,464,774,968,968,735,496,431,347,371,413,377,467,417,471,419,369,351,363,361,372,313,223,257,275,262,262,291,323,311,331,321,477,975,1180,1232,1256,1410,1210,484,334,378,483,654,589,478,355,375,651,1090,1296,900,491,609,813,830,603,567,814,651,328,270,296,533,907,1006,885,800,791,1302,1364,955,688,1011,1476,1098,608,631,865,944,551,528,390,494,618,771,590,399,352,302,729,980,645,720,1180,994,871,783,511,722,751,651,903,951,1274,2172,1946,1308,1310,1132,1366,979,911,692,404,373,436,436,357,555,690,566,645,1050,1588,968,811,619,671,775,769,851,914,581,355,351,357,378,424,496,507,1430,1642,1348,1126,1148,978,1076,1252,1238,1056,618,743,815,924,878,1156,1202,919,863,951,982,934,783,950,1288,1130,975,1038,1100,819,1288,752,489,739,696,662,1078,1212,1122,1230,1432,1578,1512,1434,1226,1106,1306,1278,1118,1090,1078,1170,1152,844,511,514,827,1004,1270,1226,1606,1776,1582,1402,1158,1242,1274,1470,1216,1206,1044,982,918,1072,1110,897,742,889,826,547,691,827,535,342,433,445,458,750,1060,789,516,484,518,479,766,966,716,936,594,331,361,772,1034,872,1062,1238,1146,908,603,750,919,836,864,1180,971,649,595,832,1018,1032,1026,1252,1210,1018,1106,982,428,323,273,636,766,786,1078,1110,981,948,969,1160,918,553,1180,1192,1202,1118,996,1020,959,836,768,737,860,1040,1114,875,836,1007,631,462,522,675,778,681,618,961,1007,851,1030,1386,1262,999,1196,1502,1240,1042,1000,976,1176,1126,1088,1116,1166,1132,1106,1150,1160,1370,1276,1046,1130,1184,1100,1050,1036,962,528,443,621,981,1300,1266,875,974,1182,1112,1218,1224,1102,1194,1222,974,709,998,1164,1296,1340,1306,1250,1338,1094,1124,1372,1194,1038,621,938,808,1662,1580,1132,1122,1148,1120,1244,1176,980,1254,1132,1284,1462,851,506,460,462,478,549,553,852,1266,1718,1874,1196,1086,998,1094,1170,1066,1156,1146,1226,1296,1234,1266,1176,1174,1232,1340,1428,1252,1104,1160,1312,1406,1480,1340,1570,1556,1066,1106,1118,828,700,939,913,755,650,792,1180,1122,1146,954,804,872,743,855,820,897,963,933,879,673,855,1328,1268,922,1072,1392,1412,1434,1138,993,993,1090,1212,1308,1300,1284,1232,1304,1382,1268,1206,1184,1094,1086,1088,1084,1068,1028,1600,1600,1260,1330,1446,1318,1070,1290,1054,1042,1116,1018,844,811,1038,927,1018,1122,999,1058,1238,1094,1007,1302,1460,1032,890,1314,1348,865,848,1040,852,1302,1242,883,563,599,1010,943,1166,1296,1190,1100,1154,1242,1112,1130,1310,1176,681,845,1088,915,1026,1046,875,1326,1522,1222,1238,1594,1396,1226,991,1124,833,805,988,1332,1120,531,538,628,590,466,398,445,437,392,439,821,1584,1474,1350,1704,1574,1021,706,1104,1348,1166,957,1234,1404,1318,1076,1046,997,829,566,479,633,877,733,480,370,447,427,294,397,625,884,799,556,283,234,263,339,428,389,442,582,916,1096,862,731,559,423,339,361,427,963,1094,871,916,741,850,907,843,893,731,960,1246,1044,748,1058,1662,1610,963,620,773,644,381,349,334,350,356,370,365,387,401,404,402,372,382,613,1020,790,498,752,996,838,625,746,1504,2074,1002,336,591,688,558,380,530,1232,923,758,671,387,284,276,269,238,239,193,235,219,269,358,299,291,313,705,1512,1210,615,527,428,804,1042,844,617,672,1030,930,837,938,709,546,681,666,750,907,1034,1368,1284,1482,1400,1440,1386,966,611,700,1022,933,1004,1332,648,537,590,501,555,480,1066,1334,1222,1180,1046,1094,1132,1064,1108,1168,1428,1474,1362,1376,1250,1050,976,750,923,1005,726,529,373,367,351,349,356,300,544,820,873,628,504,518,407,550,973,1438,1940,1236,764,610,511,700,905,968,1024,1000,1052,1124,1150,1158,1180,1162,1060,1048,1208,1256,1180,1062,1094,1134,1096,1016,1021,1096,1136,959,876,827,938,1168,1368,1450,1412,1446,1500,1286,1128,595,1032,1256,941,886,1144,1202,1032,1009,876,1108,1068,882,1232,1818,1358,1390,1158,969,699,971,985,983,1282,1010,809,1001,1262,1424,1196,910,832,991,1001,937,927,960,916,700,731,1000,1626,1866,1494,1072,1198,1376,1256,961,880,983,943,807,564,1030,1266,1290,1574,1536,1208,694,594,961,1668,2126,1808,1356,1384,1406,1486,1694,1368,1380,1578,1300,996,916,728,993,1546,1808,1522,1146,1010,1346,1546,1444,1242,1524,1562,1116,711,872,997,1208,1466,1188,1428,1054,1112,961,1002,1132,1268,1054,855,839,666,684,994,996,990,986,1156,1032,1282,1092,1078,930,1028,2118,2664,1446,1336,1390,1576,1588,1996,1426,1230,1488,1414,1528,1268,1080,1088,896,812,973,839,741,714,706,468,449,515,421,319,322,393,433,439,385,379,368,331,346,392,417,476,596,924,1146,1174,1260,1048,530,507,545,713,797,767,697,959,1402,1012,528,644,664,701,1020,1412,1534,1626,1650,994,700,905,1208,897,403,381,384,428,431,405,394,332,294,321,386,372,319,278,332,431,367,291,296,367,599,609,492,501,521,536,489,419,510,466,488,585,518,571,1084,1914,1902,1054,1326,1902,2016,1802,1684,1874,1788,1266,751,579,486,431,368,383,342,243,245,237,217,248,245,232,255,382,418,386,369,390,401,467,546,522,554,655,776,630,562,412,343,344,323,482,1152,1278,1152,1038,999,1110,968,996,973,1162,1224,1180,1234,1112,1076,1032,1132,1124,1023,1198,1476,1518,1310,1396,1730,1632,1614,1396,1162,1100,1064,1003,1036,1004,1094,1250,1186,1288,1886,1286,1162,1180,1098,982,1100,1410,1354,1126,1146,1290,1348,1136,1152,1378,1514,1844,1604,1410,1426,1300,1354,1190,1082,1324,1684,1992,1618,1578,1648,1214,1019,1362,1388,1358,1550,1448,1560,1724,1770,2290,2044,1642,1704,1832,1472,1238,1342,1304,1368,1554,1626,1434,1254,1052,1454,1356,1176,1388,1608,1566,1144,722,603,1003,1256,1200,1000,1152,794,930,1050,1220,1428,1450,1392,1184,1024,902,615,635,863,1005,1021,905,837,760,985,1128,1280,1228,1196,1252,1350,1230,893,896,1178,1038,818,997,1244,1324,1318,1406,1296,1012,1226,1028,905,1054,1034,1244,1264,895,841,957,1104,811,767,923,624,814,1050,990,995,1166,1508,1576,1290,987,1016,1478,1562,1222,1280,1394,1494,1544,1596,1412,1268,1017,1424,1716,1432,1196,1264,1316,1330,1290,751,1046,1058,937,856,1332,1558,1328,749,501,535,486,838,930,675,582,970,1019,1074,1262,1494,1238,1138,1070,1226,1510,1448,1048,763,517,656,909,904,1058,1316,1462,1224,1186,1244,1334,1472,1454,1400,1268,1176,1456,1208,984,1078,686,473,473,513,513,673,897,1204,1182,752,716,761,1062,1088,1146,1136,896,988,1114,1026,1160,1264,1424,1446,1456,1232,1166,1482,1378,1007,791,1054,1176,1326,1262,1072,1246,1252,956,1256,1538,1186,1088,1188,824,692,1170,1350,1012,1172,1130,1156,1308,921,1222,1280,1372,1300,1258,1200,1174,1126,922,1020,1106,1534,1704,1456,943,960,1044,941,1282,1344,1240,1412,1306,1490,1400,1200,1266,1280,1080,1036,1270,1170,1154,929,618,897,1412,1492,1396,1024,1400,1428,1412,1228,1154,1224,1186,885,761,880,1190,1428,1274,1030,1084,974,1160,1460,1508,1284,1236,1252,1204,1094,1228,1646,1398,1664,1382,1200,987,974,1138,1406,1248,1104,1176,1170,1548,1716,1444,1324,1334,1368,1602,1638,1722,1458,1082,860,646,839,1262,1220,823,769,1154,1344,1510,1158,814,746,786,647,717,929,666,541,761,733,1122,921,835,1036,1110,1284,963,843,923,919,980,639,769,1009,1150,1082,1172,1266,1380,1416,1418,1460,1648,1506,1358,1438,1156,1074,1144,1152,1144,1262,1142,1070,1122,1132,1286,1252,1182,1148,1112,931,1122,1238,1384,1118,741,462,403,491,510,745,1015,759,960,828,800,1044,1352,1354,1176,1084,1308,1464,1182,820,648],[836,570,425,435,352,386,575,526,345,351,337,328,264,310,404,346,331,380,305,323,417,525,479,508,772,567,445,563,566,551,522,531,814,720,481,527,540,543,548,484,623,640,440,390,351,467,708,775,673,484,305,283,691,816,565,443,658,767,645,763,908,823,398,384,391,500,570,457,469,487,528,704,563,316,552,929,861,766,375,523,994,861,571,477,636,640,469,900,1082,1166,1272,1498,1528,1134,1232,1262,1448,1120,897,1118,1202,1208,1122,1048,1248,797,513,406,747,919,965,1268,897,323,311,302,346,491,395,305,408,803,688,771,857,1156,1216,998,979,820,736,574,485,439,455,446,434,350,436,513,623,548,420,760,1100,912,879,1240,992,647,368,824,1222,1015,818,846,1010,747,495,498,691,805,1058,1264,1236,856,631,625,533,562,959,841,405,494,520,455,367,430,579,505,378,503,624,641,611,511,313,311,339,330,346,330,368,432,466,381,350,397,416,364,309,211,242,276,307,301,280,287,294,301,344,318,662,1224,1172,1196,1206,1336,1026,488,375,368,392,582,722,625,465,455,761,1158,1492,946,466,420,742,1042,758,392,487,512,415,395,401,448,499,551,583,636,701,963,1052,936,574,744,1096,912,544,505,932,1156,384,277,303,433,601,632,380,344,520,560,639,1028,717,660,1064,1226,706,663,506,545,583,553,859,1162,1252,1548,1172,1156,1338,1232,1262,1174,933,797,658,443,422,395,563,1028,1116,574,612,944,1114,824,686,630,796,678,681,657,445,500,406,341,298,287,313,366,349,566,1096,1182,1023,834,588,763,1172,1396,1228,636,752,918,976,1068,1432,1450,1362,1184,991,1000,767,792,1410,1634,1424,1328,981,930,841,957,840,641,778,668,755,968,1001,1072,1184,1438,1422,1472,1620,1628,1544,1542,1376,1144,1192,1336,1304,1128,883,651,699,1001,1124,1394,1584,1650,1486,1410,1332,1196,1100,959,851,794,1032,1096,1108,1264,1128,802,810,964,1150,714,445,497,536,495,393,433,477,528,688,791,658,698,727,802,771,399,345,400,473,346,342,639,1036,1142,955,927,1034,919,909,921,905,872,610,848,995,852,814,694,828,1176,1100,915,1100,847,1024,1172,894,662,835,1126,1520,1248,709,657,766,800,726,713,937,863,796,1198,1254,1202,1096,970,910,914,1005,967,747,788,1001,864,599,941,945,763,710,509,544,952,1142,968,1076,957,731,901,1358,1130,1142,1250,1322,1386,1316,1126,1246,1310,930,831,938,1128,1240,1278,1278,1334,1426,1011,587,760,961,1152,1134,863,933,1304,1092,989,1114,1280,1346,1017,946,1184,1012,971,988,1124,1246,875,761,796,960,1226,1412,1446,1280,1136,1208,1192,1168,980,735,932,1030,1192,1150,1308,1154,901,930,1250,1306,1392,1622,1644,1390,1128,1236,1272,933,849,689,597,546,428,608,1190,1306,1980,2308,1224,770,808,1134,1204,1066,1072,1188,1430,1380,1318,1282,1250,1210,1290,1192,1394,1404,1156,1094,1184,1218,1198,1494,1692,1456,1288,1134,1148,1086,863,749,645,550,557,999,1180,1142,1114,763,858,760,763,868,985,1282,1330,1128,794,667,1046,1294,1070,853,1196,1322,1216,1182,1248,1138,1144,1206,1098,1220,1422,1366,1118,1180,1276,1478,1276,1444,1324,886,927,1196,1172,1156,1184,1114,1140,1142,1084,922,993,1052,986,968,1074,1100,848,979,1040,864,1100,791,792,1070,1122,907,1054,1276,1266,1106,719,793,1382,1448,1338,1312,1188,1382,1062,933,1050,1160,1108,1298,1526,1640,1626,1426,1488,1436,942,1094,1118,1014,807,537,745,1062,1128,886,1036,1290,1254,969,827,1214,1154,1044,1296,1466,1120,1001,735,557,613,608,494,347,327,951,671,467,383,421,360,705,1622,1648,1550,1532,1510,1534,1352,1086,1136,1236,1376,1498,1250,996,971,963,954,811,463,433,556,885,632,363,324,325,345,327,469,766,828,714,647,345,257,292,370,380,410,458,433,439,514,723,606,848,930,722,497,565,650,499,554,711,971,1052,1052,753,921,1042,1560,1842,1498,822,631,780,750,688,524,492,810,656,416,343,321,349,353,365,377,393,449,463,454,363,441,1023,1144,740,504,660,694,540,1120,1970,1172,345,421,532,755,590,496,789,1738,1750,1606,1378,611,345,245,269,246,238,226,241,236,270,285,248,319,306,827,1552,964,856,526,608,890,774,387,311,394,411,349,289,414,426,372,484,705,647,604,780,1340,1360,1350,1526,1444,1308,1214,841,650,1050,1322,1898,1752,847,596,640,673,698,542,930,1296,1072,868,660,918,818,750,859,1124,1526,1428,1136,887,605,631,594,413,714,882,543,451,525,349,259,321,359,415,456,538,758,771,638,454,594,749,985,1226,1252,807,681,630,602,695,827,926,796,905,1186,1192,1176,1080,1007,965,920,1028,1180,1176,1050,901,1036,1180,1104,1078,1286,1174,1194,988,888,1050,1078,1168,1256,1238,1144,1244,1476,1288,1294,1016,1308,1312,1104,924,995,1110,1158,868,764,982,621,520,732,1088,1268,1246,969,921,969,1012,995,1120,963,759,1126,1498,1500,1412,1216,866,618,803,915,1090,1134,966,907,677,769,1230,1792,1674,1622,1528,1378,1388,1568,1280,812,712,687,541,519,1188,1208,1428,1572,1588,1064,612,398,411,935,1642,1744,955,727,847,1344,1668,1388,1376,1424,1112,915,930,835,1048,1546,1922,1546,1114,1212,1496,1542,1546,1622,1650,1242,792,844,1148,1258,1448,1986,1428,1404,1106,1058,963,963,1210,1334,1042,847,743,581,816,1076,1212,1202,1240,1388,1190,1122,1056,802,923,1432,2552,2954,1478,1256,1400,1520,1782,2082,1324,1224,1338,1274,1572,1860,1482,817,692,1058,1162,870,741,727,731,633,594,511,379,359,418,568,421,377,386,363,348,340,399,445,509,678,695,786,1166,1230,1284,1246,619,504,510,885,1200,1036,730,922,1388,1078,521,752,762,620,905,1344,1518,1626,1654,1140,657,753,1082,1074,534,346,346,375,379,396,390,345,376,390,439,443,384,275,270,405,399,404,381,420,575,553,576,567,449,466,480,477,406,358,443,554,549,573,1208,1914,1510,1244,1550,1444,1396,1476,1474,1612,1480,1312,784,553,505,442,398,369,287,225,231,231,272,307,332,361,415,536,582,559,535,486,392,425,448,417,480,525,672,549,549,486,421,370,310,458,1030,1268,1002,848,876,1116,1028,1176,1034,1162,1110,1142,1023,910,996,1154,1266,1152,933,1078,1448,1588,1274,1288,1488,1598,1520,1332,1138,1060,991,925,1028,1112,1166,1176,1184,1024,1056,1023,1080,1202,1170,1100,1260,1402,1344,1262,1220,1422,1340,1158,1860,2434,1730,1490,1434,1378,1448,1482,1418,1184,1252,1364,1236,1450,1666,1736,1544,1126,1036,1216,1346,1362,1376,1346,1382,1164,1336,1936,1722,1446,1836,2138,1732,1410,1456,1608,2066,2404,2154,1492,1348,1072,1032,1132,1350,1470,1444,1350,1256,941,680,666,1038,1532,2008,1920,1098,1272,1584,1488,1466,1520,1224,637,619,736,697,711,1001,993,900,850,688,509,480,793,1013,873,780,842,1072,957,653,929,1256,1136,660,744,1013,1372,1520,1232,1208,1206,1296,1090,1410,1476,1274,1200,1288,1032,943,1134,1156,796,713,882,828,949,1007,1074,1170,1426,1612,1558,1158,1250,1466,1426,1284,1120,1326,1332,1576,1504,1454,1252,1018,891,1368,1744,1476,1328,1346,1408,1184,987,670,821,744,817,985,1110,1324,1428,967,598,453,468,905,919,675,461,760,980,966,1158,1328,1158,971,946,1172,1198,1230,977,603,449,423,520,758,981,1168,1162,1032,1278,1370,1328,1412,1434,1514,1638,1350,1126,1008,1202,1108,814,724,821,804,509,394,321,580,507,382,425,873,1082,923,1384,1446,1232,1386,1166,914,995,1052,1112,1332,1316,1108,1170,1198,1258,1256,1030,1100,1186,1368,1094,1017,1007,1100,768,827,1138,1230,1316,1206,1036,902,1118,1248,1224,1204,1100,1562,1326,1184,1536,1416,1334,1410,1322,1154,1242,1218,918,967,1220,1416,1538,1758,1456,1238,1254,1206,1172,1100,1200,1366,1398,1362,1328,1310,1266,1344,1208,1610,1638,1026,1348,1422,933,1122,1532,1372,1340,1300,1284,1536,1450,1092,1180,1286,1202,1028,1136,1184,1284,1356,1242,1318,1176,1078,1068,1152,1288,1350,1220,859,821,1028,1210,1742,1440,1288,1282,1220,1250,1126,962,1118,985,766,947,939,1606,1688,1432,1430,1832,1776,1452,1334,1390,1644,1670,1360,1128,1016,1332,1070,643,1016,1250,1526,1520,1148,789,737,684,586,606,698,632,675,907,774,808,851,958,827,878,1046,862,781,611,564,694,619,556,606,1066,1352,1372,1374,1178,1354,1420,1340,1352,1278,1400,1390,1154,1094,1200,1034,1170,1286,1104,1032,1190,1152,1108,1162,1190,1144,1178,1084,1132,1212,1160,1232,1194,645,555,609,646,646,1006,1174,1022,669,703,1106,1390,1466,1312,1268,1220,1528,1440,1306,1346],[1486,819,474,456,326,391,447,332,315,329,304,322,294,264,276,262,290,264,302,379,354,548,699,666,584,700,829,669,425,409,362,276,430,639,567,595,547,514,563,712,838,753,510,334,314,464,730,766,642,424,258,227,617,918,727,720,922,845,842,1020,874,837,470,382,413,553,634,476,489,591,430,375,595,862,1030,768,444,400,402,408,660,939,855,835,1138,1240,999,1234,971,1160,1354,1548,1434,1354,1458,1362,1460,1210,767,1088,1400,1178,849,1021,1174,1196,753,433,474,830,1182,1416,1120,555,348,482,540,395,315,350,370,372,462,598,615,800,798,784,962,846,767,570,450,485,565,538,467,371,310,435,817,945,576,426,830,1236,1190,1262,1086,822,545,755,967,1015,1146,1252,1722,1384,545,489,704,735,907,1094,980,764,714,697,639,606,841,739,511,692,797,702,496,434,610,532,394,507,635,534,439,419,335,329,350,348,344,388,409,420,397,352,329,347,345,247,276,275,321,307,304,301,296,294,265,281,342,374,695,1134,1182,1212,1236,1294,880,469,385,356,343,522,714,704,595,589,886,1076,997,534,410,421,502,572,519,416,423,530,661,592,655,641,968,1230,1208,1128,1100,1064,971,658,447,478,600,593,395,331,560,636,325,278,321,368,431,434,411,518,889,950,759,1005,803,505,658,1346,1332,1142,817,709,959,1058,1302,1442,1182,1214,944,982,1060,1142,1312,1310,878,888,965,612,400,764,988,615,786,467,893,882,877,1100,846,890,1046,777,785,681,645,991,851,518,323,384,372,329,321,344,450,677,826,512,386,552,948,1214,1196,626,612,1020,1070,1094,1158,1052,1092,1358,949,814,708,1484,2542,1894,1256,1234,1050,713,584,948,1106,922,844,739,819,919,1094,1088,919,1036,1172,1322,1504,1544,1676,1700,1554,1488,1332,1272,1064,1084,1252,974,1164,1450,1402,1570,1536,1378,1346,1390,1296,1134,1038,1078,915,1078,1042,1036,831,779,647,519,1086,1614,1550,1108,517,393,454,459,333,358,422,398,651,822,482,704,662,922,976,418,295,291,266,336,443,868,1276,912,681,836,757,1050,1002,1044,1118,813,764,926,844,1001,1108,879,998,1136,1042,982,1118,728,802,1020,883,1186,1924,2170,1886,1366,860,646,733,600,517,429,388,556,730,1106,1114,802,680,732,613,732,855,713,648,922,1118,828,640,699,788,982,919,738,722,855,1104,1116,1038,1010,677,832,1306,1250,1076,869,1016,1454,1462,1182,1114,1176,913,769,942,874,1005,1166,1252,1330,1286,900,656,911,922,920,933,734,943,1100,977,1038,1178,1198,1086,981,1062,1214,1120,1084,877,1104,1228,1034,1090,1152,1086,1412,1758,1694,1402,1064,1106,1334,1320,879,1052,1136,980,1176,1404,1410,1362,946,1046,1298,1356,1212,1546,1580,1428,1424,1080,949,1080,940,831,1054,833,560,890,1054,1074,1490,1428,1044,737,837,1250,1220,1134,1110,1170,1210,1244,1178,1106,1246,1246,1240,1170,1330,1508,1352,1490,1822,1324,1338,1560,1654,1434,1604,1562,1416,1302,979,648,626,638,821,1214,1160,1186,770,774,812,727,838,902,1058,1278,1450,1074,845,866,1160,1466,1016,863,1360,1730,1338,1180,1336,1058,942,1110,1136,1354,1306,1366,1204,1094,1162,1318,1198,1434,1308,874,906,1116,1178,1178,1132,1160,1090,1021,910,993,1042,1023,1020,1136,1286,1194,1194,1180,1090,1168,1208,968,1074,1058,899,776,979,1024,854,764,661,1058,1408,1552,1632,1506,1420,1234,789,1018,1186,1256,1236,1228,1428,1708,1730,1708,1378,1584,1338,753,830,841,863,897,889,1018,973,946,1114,1009,1346,1268,1374,1530,1108,1162,1376,1246,951,758,427,416,593,861,746,558,442,725,1052,933,415,433,433,586,1118,1490,1238,1094,1102,1388,1770,1734,1392,1028,1116,1488,1278,799,716,923,787,484,408,388,749,961,488,357,291,224,286,424,663,695,474,520,442,307,285,329,397,390,367,437,374,355,364,305,333,593,1070,1210,1072,766,467,554,760,558,651,720,1400,1320,1572,1344,1650,1964,1172,609,641,562,476,620,483,484,955,1050,736,427,343,314,332,375,378,375,425,436,459,382,378,755,1013,967,847,601,426,676,1700,1480,472,343,402,298,421,530,471,754,1124,967,1176,1288,524,309,229,282,267,264,262,268,267,267,261,265,293,489,1542,1594,683,647,465,624,692,482,409,503,477,387,284,280,305,404,396,356,553,576,473,671,988,1024,1210,1434,1394,1334,1206,860,704,955,944,959,1128,784,738,822,745,706,586,872,1262,1042,1014,818,1001,1030,976,797,1084,1540,1174,574,361,282,386,423,447,711,1040,749,636,516,344,385,418,403,508,620,545,566,761,770,607,946,1184,1312,1294,944,691,703,741,628,476,590,1124,1202,930,1078,1098,1003,966,952,897,780,1032,1222,1186,1256,1058,1042,1026,1090,1248,1192,1126,1226,1034,841,908,1162,1336,1444,1500,1292,1366,1376,1378,1506,1178,895,874,838,883,1012,1214,1058,836,880,866,561,543,648,858,1238,1180,955,1064,1064,702,1030,1028,821,1312,1556,1348,1054,1130,1498,1258,790,666,634,838,999,970,869,818,804,1130,1530,1648,1624,1604,1542,1474,1616,1718,1168,907,995,677,468,752,938,1266,1516,1422,874,424,460,658,688,1042,1588,1046,1520,1956,1896,1510,1072,973,1034,927,918,1128,1068,1278,992,1338,1412,809,844,1064,1168,1300,1288,1172,1004,973,1010,1036,1014,1506,1824,1382,1186,972,839,888,1064,1204,1170,1042,799,587,641,856,1028,1138,1174,1186,1054,1032,997,1180,1188,1021,1136,1324,1520,1446,1288,1490,1450,1582,1538,1238,1380,1686,1714,1864,2072,1634,1015,524,699,770,642,537,749,1054,820,493,672,1026,897,634,644,357,299,317,330,340,346,353,356,501,749,755,823,1344,1328,1254,1194,686,569,529,934,1502,1530,1216,1044,1422,1252,582,622,825,676,692,1036,1432,1722,1678,1172,694,649,1024,1058,689,386,350,357,346,369,369,345,376,445,451,394,388,303,262,364,427,414,405,552,537,462,547,565,513,546,561,551,450,354,379,446,529,573,1234,1794,1540,1420,1156,880,894,998,1356,1124,766,998,707,458,379,377,398,398,357,272,238,242,239,314,454,455,472,584,588,520,505,448,340,334,309,325,438,417,446,487,610,499,385,313,281,432,879,1202,731,706,775,1074,1074,966,959,1009,1000,968,1012,1224,1422,1416,1346,992,868,1015,1302,1108,1072,1300,1334,1436,1440,1294,1220,1172,1136,995,1150,1052,1218,1262,1084,1036,1058,1040,1004,1026,1144,1094,1256,1490,1412,1360,1312,1390,1300,1154,1776,1898,1264,1124,1220,1216,1404,1444,1356,1240,1322,1372,1542,1560,1788,1916,1550,1392,1380,1150,1296,1462,1306,1316,1278,1268,1282,1732,1682,1638,2098,2484,2054,1594,1436,1770,2348,2662,2244,1396,1344,1256,1116,1282,1274,1176,1170,1116,1190,1136,849,603,1368,1786,1808,1648,1432,1518,1494,1280,1212,1128,951,919,1236,957,716,830,926,1021,1062,1046,822,542,590,908,1094,761,666,655,887,1074,865,662,915,904,628,1118,1618,1276,1050,922,1142,1520,1542,1402,1382,1336,1122,839,717,995,1338,1104,838,794,910,725,827,1092,997,1124,1410,1588,2030,1880,1180,1052,769,673,744,807,1216,1296,1432,1210,926,872,1144,1080,1076,1638,1802,1450,1044,842,656,599,557,736,938,1168,1160,1016,1134,1204,1150,897,883,970,905,934,682,397,529,775,730,799,1172,1330,1306,1144,1120,1236,1266,1007,633,458,401,606,957,1056,1006,967,974,1124,1130,1318,1384,1300,1258,1384,1334,1340,1366,1194,1090,1262,1256,1380,1070,598,530,473,372,350,697,893,1194,1100,940,1346,1162,1158,1242,1184,829,965,1004,893,1202,1250,1006,1072,1054,1144,1206,955,1244,1326,1218,1092,1358,1242,965,865,1206,1128,1102,1226,1240,959,996,1064,1312,1304,1202,805,1170,1214,1252,1272,1100,1296,1318,1232,1162,1092,976,800,896,1186,1502,1778,1664,1464,1332,978,930,1316,1180,1194,1216,1536,1172,1080,1218,1340,1364,1192,1280,1070,942,1118,1540,1394,1190,1242,1234,1334,1420,1216,1414,1470,1330,1324,1272,1512,1640,1398,1122,1248,1392,1368,1340,1250,1008,887,1118,1416,1488,1318,821,855,870,763,1378,1310,1148,1212,1182,1128,901,937,1210,925,703,629,690,1046,1276,1248,1462,1816,1718,1614,1378,1104,1240,1284,1564,1738,1766,1708,1262,1128,1350,1352,1392,1394,1100,902,777,651,594,610,772,1015,1112,1280,976,848,1064,1074,846,761,941,860,645,438,432,502,684,680,768,1192,1456,1324,1044,1070,1314,1360,1078,1120,1346,1372,1230,949,1302,1268,731,819,840,690,884,1372,1428,1372,1426,1396,1192,1008,689,625,797,1048,1446,1280,670,697,775,723,586,846,1084,1068,949,1100,959,1002,1266,1398,1366,1136,1386,1130,1334,1566],[875,456,536,496,404,407,305,293,349,346,337,310,299,269,304,296,321,465,491,500,561,872,1158,869,653,1016,905,514,363,411,420,328,263,392,545,609,520,518,719,916,918,670,466,354,365,487,693,590,574,529,309,283,672,1007,761,639,738,728,655,957,944,792,490,405,517,644,629,528,492,716,886,784,1180,1310,1258,898,633,484,375,409,677,830,903,1044,900,1104,1232,1152,639,713,1360,1682,1470,1330,1350,1272,1368,1384,1300,1110,803,811,736,910,1028,1036,890,692,860,1438,1394,1208,1160,1024,596,896,839,407,360,350,303,411,495,405,527,711,566,413,516,710,551,489,533,475,441,507,566,532,466,414,637,1086,1092,697,811,1328,1234,1048,1084,1084,884,602,695,773,910,1324,1408,1056,769,665,1010,1420,1312,1026,1142,1106,777,717,603,598,535,488,543,802,844,804,817,581,476,470,355,332,375,350,424,370,359,369,339,339,406,497,475,473,401,362,325,325,330,212,283,309,332,303,290,308,293,277,265,304,327,380,794,1044,1242,1270,1310,1284,780,461,383,282,316,503,554,666,604,525,587,638,500,373,397,473,508,547,520,438,404,462,522,653,947,1238,1478,1506,1588,1618,1498,1346,1032,558,366,452,517,450,345,266,244,272,269,280,292,292,364,399,436,792,1086,919,731,798,700,592,871,1454,1476,1198,1028,967,926,1226,1470,1324,1072,919,720,766,777,954,1074,836,608,477,695,944,807,828,1150,722,506,787,1046,876,1010,1040,953,1170,1298,933,803,710,719,963,1288,856,510,462,383,323,280,357,375,409,422,438,448,424,695,1130,1380,948,688,891,1182,1290,1220,1396,1212,951,885,741,1036,1860,1858,1198,1074,1062,1005,880,529,579,832,743,693,741,748,865,1150,1154,1072,1110,1098,1296,1296,1244,1316,1472,1738,1772,1676,1390,1132,1258,1310,1142,1616,1936,1450,1054,1208,1278,1280,1186,1120,1122,1294,1150,838,879,992,879,1148,1736,722,536,1138,1466,1748,1288,517,362,456,415,302,352,418,356,565,848,564,832,668,872,888,500,297,274,288,377,427,681,1016,747,703,1050,695,993,961,1100,922,636,764,989,1206,1216,1174,927,756,933,1008,1258,1236,666,548,694,789,1206,1704,1952,1820,1418,1304,1256,930,465,368,355,332,368,528,778,810,797,967,1108,890,1058,1092,1056,933,903,803,634,609,581,629,906,1046,919,796,735,938,857,912,993,800,948,1238,1256,1164,880,1040,1434,1528,1406,1226,1548,1296,1050,1038,1064,1194,1246,1302,1214,1214,892,670,1005,1034,973,1009,997,1058,1042,1128,1294,1274,1192,1320,1482,1414,1136,1166,863,675,1274,1508,1204,1112,1092,1306,1372,1300,1334,1368,1106,958,921,1134,1102,1302,1062,798,1244,1506,1376,1406,1324,1286,1162,1106,1042,929,970,1208,1152,937,1064,1288,1228,1252,1308,1216,1238,1298,1230,1188,1214,1170,1268,1156,1114,1272,1278,1230,1188,1206,999,962,1124,1540,1726,1532,1420,1418,1512,1626,1628,2276,3196,2444,1422,1264,1552,1328,1158,1274,1290,1112,813,540,514,633,1074,1222,1360,976,664,838,757,763,838,953,1176,1414,1860,1021,843,919,1050,1166,922,772,863,990,1096,1282,1336,1124,1128,1410,1830,1414,1160,969,1012,1076,1146,1222,1236,1338,1126,840,698,863,1130,1198,1286,1094,1007,1026,1010,988,980,1070,1160,1194,1144,1106,1216,1096,988,1058,1124,1106,1122,1015,935,1021,1044,973,747,623,1104,1780,1692,1580,1362,1542,1532,1242,1142,1144,1098,971,749,916,1236,1464,1628,1534,1398,1508,1350,1094,1104,856,929,1302,1180,936,622,554,819,902,1030,1264,1550,1538,1382,1478,1232,894,1015,1012,556,447,586,728,832,742,612,630,670,983,844,481,435,470,590,683,744,943,1142,1494,1742,1672,1670,1260,768,888,937,908,843,839,557,358,378,448,832,825,547,505,472,342,342,427,818,674,265,382,604,656,564,414,343,383,343,389,326,367,328,343,450,473,637,988,926,1134,1122,908,900,859,589,1026,1722,1362,1238,1624,2046,2094,1576,1488,1390,1274,957,562,371,492,787,732,432,401,417,313,342,344,360,373,417,429,500,437,455,609,525,628,911,859,476,590,1124,591,290,284,367,312,292,359,430,601,661,457,319,426,393,342,259,230,238,234,233,264,279,279,294,302,266,503,1830,1114,796,549,415,1034,1134,565,520,665,773,617,377,338,357,499,590,452,381,592,688,888,1156,1268,1346,1456,1326,883,644,783,580,658,580,491,746,833,836,583,565,899,895,918,1316,1252,1266,1216,1044,915,1116,1158,1338,1470,1034,471,295,330,383,330,325,601,1154,900,634,508,498,688,592,443,554,781,658,495,667,762,891,1160,1130,1036,1060,975,726,572,630,716,628,607,1066,1056,946,971,932,990,915,1002,1038,984,1272,1208,1292,1458,1244,1280,1054,950,791,944,1508,1660,1460,1210,1144,1198,1412,1606,1458,1138,1056,815,821,1158,1080,650,794,1102,1052,942,1096,1160,812,807,906,625,584,817,1062,1412,1422,1060,1088,1066,673,1104,999,1348,1578,1180,1006,1224,1542,1698,1338,918,600,471,758,875,951,865,977,1080,1272,1200,1176,1500,1592,1460,1742,2160,1846,1584,1592,1718,1210,679,478,455,690,995,1104,1004,732,957,1246,1020,734,1400,1286,1380,1936,2126,1540,1068,1170,1180,857,825,802,811,1142,910,1192,959,716,938,929,1136,1336,1140,1080,969,726,858,1022,922,1516,1632,1532,1336,993,931,1060,1118,1124,1028,1023,799,576,675,957,1252,1258,1614,1500,815,808,1016,1282,1140,1003,1232,1196,1408,1734,1698,1496,1478,1292,1032,1078,1530,1658,1658,1740,1870,1616,1456,919,567,445,406,420,843,1442,1138,438,658,1468,1150,760,547,362,368,416,374,326,320,331,364,441,664,880,727,994,1182,1186,1104,822,642,595,868,1444,1448,1154,905,1388,1344,643,436,616,612,640,814,1164,1448,1364,1016,778,705,903,578,649,477,335,335,352,350,346,349,370,364,391,377,459,412,339,321,388,435,541,533,427,458,518,523,513,601,600,554,455,412,441,473,673,784,1292,1820,1488,1050,910,844,867,1046,1272,717,492,874,1032,839,684,630,497,500,478,419,328,280,320,417,505,516,543,533,461,431,421,444,392,365,390,426,419,387,401,430,451,342,252,261,308,385,766,1376,1036,1050,822,1100,1266,1336,1434,1490,1432,1190,1023,1134,1260,1224,1328,1094,896,942,1116,847,904,1134,1166,1310,1506,1444,1300,1222,1288,1050,1126,1034,1172,1298,1152,1018,1054,1182,1134,1214,1406,1294,1344,1306,1300,1312,1350,1290,1102,995,1068,1190,1376,1610,1344,1416,1438,1106,1124,1192,1222,1402,1650,1862,2040,1772,1324,1212,1116,1116,1180,1334,899,1440,1444,1088,951,933,1342,1658,2074,2322,2322,1944,1460,1448,2014,2426,2004,1244,970,893,1194,1504,1370,1154,1068,1005,1007,1048,1036,921,1588,1854,1606,1538,1490,1376,941,602,576,697,1056,1364,1380,780,843,1003,726,725,905,896,666,702,960,781,782,506,710,791,1004,1234,1136,1126,1246,1168,1370,1786,1982,1438,1030,1108,1130,1262,1390,1402,1382,1138,865,852,670,724,1092,1188,1194,1100,1086,882,877,1028,1114,1300,1492,1526,1414,1288,1102,652,579,850,613,532,884,1116,1086,948,918,1146,1544,952,1154,1644,1704,1184,645,645,913,818,707,919,1124,1188,831,808,999,955,1074,1302,1480,1400,1258,1066,799,492,533,952,797,802,1066,1332,1552,1282,1172,1246,1340,1178,860,488,441,791,1214,1070,796,931,1162,1130,1114,1202,1362,1021,1072,1210,939,1114,1312,1314,1300,1318,1308,1262,1056,837,663,488,310,441,960,1438,1484,1158,1258,896,673,803,904,1014,760,712,687,940,1290,1090,949,1166,1302,1246,863,565,644,1208,1120,1178,1332,1216,774,731,1166,1024,1118,1166,1256,883,1036,1220,1326,1100,1100,922,752,904,1236,1186,1262,1316,1252,1242,1104,1092,1104,809,986,1306,1448,1514,1550,1360,1340,1088,1124,1378,1382,1302,1038,1164,1226,1338,1356,1172,1102,1100,1242,1252,1044,906,926,941,1128,874,714,959,1142,1234,1418,1584,1622,1434,1366,1648,2022,1366,1216,1444,1396,1270,1104,1026,988,1076,1272,1520,1656,1440,1172,1076,819,908,1418,1394,1148,1190,1146,959,732,993,1414,858,584,764,645,554,698,1013,1356,1388,1650,1660,1342,1206,1202,927,869,1082,1460,1718,1836,1814,1754,1666,1648,1454,938,898,691,594,537,838,1120,1188,1334,1322,1224,1254,982,940,1168,1078,1030,677,512,474,468,638,688,750,999,1332,1552,1274,1178,1388,1030,1132,1112,1284,1326,1178,1094,943,895,847,534,609,554,505,773,1378,1430,1262,1320,1274,1050,771,505,396,542,973,1152,1050,691,637,677,629,825,1300,1362,809,1000,1328,908,1180,1520,1414,1224,1394,1336,818,836,1268],[579,591,554,468,455,408,362,351,328,352,339,261,259,307,378,544,924,1114,828,729,1092,1252,998,645,772,578,460,416,348,359,362,343,282,264,427,620,623,585,761,858,912,511,348,355,441,606,738,605,558,615,416,346,708,1154,856,852,1064,875,645,983,1200,938,522,440,624,805,879,788,863,1036,928,623,1094,1314,1242,1013,714,523,543,810,1094,680,903,1118,697,753,1110,1180,769,874,1238,1312,1212,1328,1050,1044,1304,1164,962,480,351,436,800,1007,862,780,842,1018,1278,1462,1150,775,744,1082,780,824,672,410,385,434,540,746,532,593,890,1272,970,530,595,811,644,669,698,456,406,372,448,543,469,451,464,665,937,916,974,1328,1448,895,555,653,803,577,569,686,1010,1294,955,1308,1568,1080,1224,1820,1718,1188,1856,1870,955,747,670,566,534,709,727,801,830,887,975,753,685,462,387,393,392,392,432,373,348,354,356,356,451,600,603,587,431,395,375,347,282,227,291,349,340,307,296,313,319,359,307,320,324,398,850,955,1062,1168,1154,1038,503,380,320,246,245,298,290,430,532,465,400,349,292,277,320,403,437,455,424,431,352,371,328,439,675,975,1112,1178,1350,1334,1290,1418,1378,882,397,346,360,432,422,282,254,327,278,300,321,307,379,475,444,593,758,1017,912,776,852,1021,1066,1224,1486,1454,1332,1338,1356,1556,1404,1196,1318,1382,1068,923,860,879,954,807,662,344,493,944,1112,944,883,626,699,1116,1230,1266,1188,858,863,966,1142,914,676,802,1036,819,746,569,379,354,382,397,411,394,420,494,442,389,362,349,450,818,1234,1226,871,867,933,1016,929,1302,1470,1088,978,865,1130,1484,1328,1198,1236,1078,1028,825,613,722,821,1142,1206,986,807,908,1114,1144,1194,1144,1036,1082,1242,1162,1278,1100,1436,1476,1546,1640,1600,1616,1564,1428,1556,1754,1460,1512,1268,1254,1354,1438,1368,1260,1206,1110,886,624,788,807,815,813,835,819,1108,1224,1118,697,399,309,300,336,523,581,440,379,738,1220,841,767,902,1007,850,460,328,280,271,505,977,1062,896,1020,1452,1288,709,655,900,778,499,670,902,1200,1534,1404,1122,1038,1254,1354,1017,1154,1166,777,458,535,666,1188,1794,2038,1710,1404,1152,1148,872,484,384,403,463,504,721,1036,883,971,1194,1142,1001,1072,1226,1088,899,786,542,511,532,462,398,492,846,981,863,827,1024,1086,1028,1000,997,1094,1268,1180,1272,957,980,1318,1418,1432,1482,1488,1132,1084,1232,1208,1122,1240,1202,1017,788,714,501,728,1152,1198,963,952,965,828,1017,1224,1092,1024,1092,1066,938,929,1370,1344,1126,1492,1336,969,1198,1166,1412,1178,1048,987,971,1060,1028,1020,1222,1198,948,857,860,1076,1122,1028,1054,1324,1210,844,552,711,732,589,760,1202,1136,1252,1352,1454,1422,1302,1280,1430,1444,1410,1230,1132,1182,1162,1058,1112,1160,1196,1202,1198,1290,1282,1298,1648,1974,1848,1574,1488,1488,1466,1594,1776,1810,2508,2248,1434,1366,1644,1396,1084,993,834,879,645,456,497,810,1252,1260,1196,723,700,814,741,808,904,1404,2054,1380,1326,957,771,799,954,1074,1013,995,910,987,1116,1554,1776,1208,1202,1716,1908,1356,1014,682,778,1064,1068,974,1156,1282,1270,969,821,857,934,1052,1174,1076,974,979,1034,1023,1003,1076,1362,1444,1244,1186,1202,1202,1196,1100,1186,1272,1242,1172,1078,1003,1114,1212,1318,1350,1776,2030,1832,1500,1206,1382,1578,1664,1504,1252,963,692,627,1030,1242,1302,1480,1454,1458,1368,1082,1050,1302,1206,1036,1044,888,416,338,343,375,489,676,695,836,1042,1300,1418,1418,1012,781,760,571,534,455,372,480,588,752,860,516,513,1156,926,542,419,452,430,547,878,1406,1690,1584,1506,1786,1808,1380,733,450,654,868,711,370,339,367,475,872,803,1004,1158,1096,754,474,521,924,817,365,343,457,591,648,922,667,487,440,620,576,433,427,426,443,541,994,1434,984,821,1088,758,577,957,738,1064,1578,1362,1436,2110,2446,2030,1572,1408,1670,1884,1542,1284,876,433,396,380,297,309,387,407,321,256,278,359,394,401,588,832,803,444,408,404,552,871,772,768,614,454,365,336,369,373,304,337,393,506,457,303,293,400,664,689,391,252,271,267,262,330,388,302,365,408,262,319,772,472,805,803,459,648,641,411,645,827,982,665,477,360,520,698,760,587,339,428,707,1084,1136,1412,1434,1382,1246,1116,1036,967,795,777,694,694,843,891,810,787,828,1126,1192,1362,1262,1140,1176,1042,737,884,1344,1480,1226,1002,847,547,350,409,515,513,408,666,1234,1126,762,687,794,764,571,440,515,741,758,584,526,627,740,877,994,1034,1260,1226,1068,685,482,620,611,581,688,716,1178,1236,1072,1066,929,773,892,1050,1330,1214,1316,1500,1304,1172,1078,965,770,781,1506,1868,1820,1684,1968,2030,1986,1532,986,695,636,661,797,1026,1172,790,918,1034,890,849,941,1206,1064,1058,1194,1012,808,841,996,1326,1462,927,1010,930,968,1042,1230,1748,1450,771,472,725,1284,1438,1274,1054,754,485,537,525,633,794,739,589,528,506,833,1704,2776,3096,3354,2954,1970,1692,1640,1690,1734,1494,909,457,377,606,1258,1676,1346,1380,1394,1394,1102,1346,1476,1416,1792,2068,1810,1768,2020,1660,1102,1790,2046,1522,1088,994,1294,1076,959,1130,969,1102,1400,1176,1034,727,874,1554,1626,1108,1334,1718,1642,1218,915,1030,1312,1290,874,946,1054,816,692,850,1132,1296,1146,1506,1730,755,640,827,805,777,1002,1160,1122,846,1032,1312,1390,1186,1156,1040,1056,1390,1506,1480,1532,1482,1390,1350,1058,918,791,460,479,796,1208,1054,674,944,1152,760,567,410,294,387,502,445,315,318,327,373,414,604,902,805,808,825,805,941,976,737,717,798,1402,1542,1232,813,1308,1482,789,390,425,486,548,630,769,790,724,557,547,782,772,502,494,532,554,430,352,310,333,317,314,293,378,392,438,425,372,346,339,557,927,814,585,536,573,520,509,573,543,507,501,542,626,783,933,1122,1574,1618,1132,924,892,924,1032,1050,923,799,840,1092,1298,1212,842,763,992,727,550,481,419,419,491,563,637,729,701,566,437,449,460,460,408,379,462,442,379,386,380,371,413,353,275,295,365,469,943,1336,1362,1268,857,955,1162,1210,1356,1552,1494,1196,918,943,1023,1076,1194,1124,1006,1088,1110,819,745,1019,1396,1556,1556,1488,1296,1510,1898,1598,1394,1206,1266,1454,1266,1172,1460,1802,1654,1696,1476,1532,1456,1442,1430,1360,1260,1112,1048,1158,1282,1504,1544,1310,1488,1714,1260,812,852,932,875,1242,1816,1790,1368,1208,1298,1140,1018,1078,1060,977,966,1658,1572,1390,1454,1342,1500,1362,1558,1994,2314,2248,1798,1544,1730,2070,1584,1054,1064,1258,1456,1516,1384,1164,982,914,927,1072,1248,1286,1544,1550,1454,1400,1266,1406,1244,695,630,879,1080,1256,1056,721,1254,1730,1106,611,607,690,671,773,933,557,571,648,1082,1178,1130,1044,910,952,962,832,1202,913,776,881,1082,1005,985,968,1120,1278,1184,788,561,533,505,846,905,1184,1198,1254,1236,1178,1090,969,998,1044,1080,844,885,1164,1010,560,711,1130,828,447,553,924,1118,1228,1062,1080,1454,1202,1600,1738,1490,927,558,763,1246,1228,1034,888,637,620,830,913,1058,1216,1124,1204,1216,1204,1158,939,846,678,830,1120,979,1120,1328,1082,1086,1072,1078,1214,1028,798,748,492,583,1152,1544,1086,822,1010,1178,934,926,1248,1274,783,804,955,962,1158,1524,1628,1628,1628,1366,1252,999,937,937,604,487,712,828,1326,1210,1776,1816,872,880,949,885,766,742,868,890,1088,971,722,880,1334,1320,1232,849,524,594,1016,1124,1120,1038,1120,696,508,892,1206,1118,990,1058,1300,1242,1316,1334,1038,865,753,681,930,1218,1196,1478,1340,1534,1382,1058,1044,1104,1019,1208,1424,1910,1886,1442,1070,1366,1382,1178,1066,1350,1322,960,1108,1382,1470,1410,1486,1318,1446,1380,1266,1312,1302,890,767,678,464,543,990,1288,1422,1416,1536,1548,1376,1526,1756,1626,1032,1102,1250,1230,1274,1152,1150,1142,1230,1358,1308,1454,1230,1100,1068,1017,1078,1234,1246,1082,1554,1426,901,667,800,1212,861,1054,1504,1102,483,583,946,1244,1064,1128,1082,1132,1180,1354,1158,850,932,1320,1328,1246,1368,1632,1726,1898,1768,1460,1332,917,718,718,1026,1280,1318,1340,1318,1554,2014,1546,1180,1254,1264,885,713,669,607,850,912,639,863,1332,1482,1322,1276,1470,1394,1186,1230,1310,1482,1396,1040,925,1080,1072,891,533,591,596,778,1064,1366,1412,1188,988,771,852,873,567,476,611,740,879,985,799,615,693,825,1090,1820,1802,898,1300,1498,1128,1298,1392,1202,1042,1364,1512,1050,865,1254],[557,535,468,495,509,460,462,397,312,313,317,358,656,1009,1002,1318,1634,1316,940,977,1174,1078,944,1164,973,584,463,489,718,725,449,311,307,282,281,396,655,735,795,890,814,517,389,424,546,610,575,443,439,572,488,434,677,1146,839,830,1194,1064,912,1068,1248,1376,962,529,528,677,1054,1098,1100,935,662,835,1164,1023,944,954,525,485,658,1266,1492,905,753,1094,1015,615,777,915,730,840,903,948,791,1098,799,964,1188,1158,830,404,378,479,788,1054,1044,963,988,1110,1054,1046,813,577,519,963,947,543,456,649,558,719,929,1070,546,672,890,1408,1322,804,849,1040,696,597,549,429,364,399,395,369,408,436,508,640,533,589,705,1318,1742,1120,955,848,630,578,498,545,578,640,772,1318,1444,1146,1464,1902,1882,1722,2274,1740,731,585,753,612,495,648,785,965,951,767,1048,1048,722,375,303,346,346,336,386,398,367,374,354,358,395,684,833,602,423,421,428,295,225,312,415,440,378,368,309,320,362,384,322,315,325,418,798,794,1018,1312,1176,1136,683,628,497,358,341,452,497,458,499,496,435,336,291,353,406,406,367,328,345,385,354,310,339,472,406,416,493,528,738,1021,1258,1236,993,594,399,386,417,463,423,336,388,388,275,329,317,336,287,358,393,694,1338,1608,1366,1098,1234,1476,1274,1318,1520,1602,1370,1368,1528,1504,1074,969,1118,1170,1130,811,778,954,798,813,616,421,628,859,929,908,608,666,995,1246,1766,1672,1390,1058,1240,1074,882,1078,939,1280,1362,861,437,397,366,392,343,390,480,477,504,630,673,520,349,357,388,555,899,1128,959,1046,683,656,973,1162,1298,1042,939,972,1158,1142,948,1102,1108,844,1018,861,766,872,992,1586,1454,929,934,1050,1042,1128,1126,1164,1108,921,1144,1130,1136,1170,1120,1122,1278,1172,1186,1238,1324,1670,1722,1752,1564,1512,1332,1372,1466,1512,1386,1228,1192,1252,1040,875,962,1066,996,922,863,932,925,744,669,819,715,336,328,391,576,558,382,389,813,1132,824,979,1272,1172,835,366,334,350,316,661,1102,1130,1148,1134,1358,1142,684,869,1070,832,724,714,949,1005,1042,1248,1092,1023,1372,1370,1202,1172,1230,1194,952,1094,1300,1438,1400,1398,1202,1262,1202,1076,1015,1058,825,675,929,998,907,1013,787,666,682,637,608,801,1060,1023,1058,929,521,519,537,364,321,519,763,775,778,781,886,996,1144,1426,1318,1094,1074,816,697,693,1382,1648,1318,1266,1438,1448,1328,1236,1050,889,1286,1088,913,971,617,738,797,840,1172,1110,693,756,817,614,882,1094,1076,1094,1000,868,895,1244,1998,1854,1294,1456,1262,1224,1188,993,1184,981,691,749,856,1020,1166,1058,1130,977,888,1282,1058,1196,1388,1426,1268,1186,1148,937,541,468,709,668,684,1166,1282,1218,1278,1180,1288,1358,1282,1232,1322,1362,1160,1334,1316,1370,1346,1146,1170,1232,1380,1290,1296,1696,1878,1742,1602,1300,835,899,1116,1312,1274,1448,1554,1642,1624,1414,1516,1680,1354,1168,995,926,839,633,519,576,1086,1274,1246,963,698,777,738,783,884,1014,1556,1748,1256,1392,1062,946,1066,1134,1070,1074,1288,1076,1007,1040,1506,1672,1306,1236,1462,1396,1210,1076,855,837,1058,996,940,1208,1007,1110,1098,1190,1192,1002,1026,1062,1036,1072,1200,1150,1130,1070,1064,1450,1460,1216,1180,1360,1332,1198,1144,1178,1226,1138,1236,1074,916,1250,1550,1522,1494,1606,1732,1552,1284,1230,1226,1446,1646,1658,1594,1218,852,1114,1332,1482,1536,1594,1476,1176,1130,1066,1120,1372,1544,1520,1104,538,349,289,310,321,664,811,650,866,1088,1198,1334,1332,1134,905,663,828,709,470,398,463,709,763,876,770,691,1174,1406,1026,486,440,528,537,695,1670,1878,1796,1790,1796,1600,1464,1266,801,412,440,382,280,320,368,788,1001,800,967,1562,1754,1368,949,810,1130,835,357,316,300,315,613,1028,585,576,589,599,609,546,394,420,398,684,1112,1620,1242,706,1114,879,619,622,585,737,1152,1604,1914,2286,2216,1650,1422,1124,1126,1272,1528,1896,1656,809,289,293,280,312,305,351,348,298,282,345,374,349,563,983,894,409,452,596,414,457,590,874,838,582,623,441,270,337,323,350,451,565,413,336,403,478,854,866,466,299,295,311,284,463,675,431,416,450,314,254,251,445,734,601,410,432,434,520,897,877,1052,843,624,473,630,755,732,667,378,311,481,880,653,729,1005,1244,1260,1344,1206,1304,1280,1034,980,995,909,943,899,1042,1036,1166,1192,1222,1036,1116,1294,1104,991,1466,1782,1644,1172,506,489,550,421,390,736,815,518,735,1262,1378,1280,1236,963,543,372,415,477,688,905,733,464,456,694,1132,1468,1464,1396,1288,1282,924,773,838,891,845,839,1044,1128,967,1012,1186,1166,1060,1278,1228,1324,1308,1150,1012,1176,1692,1636,1368,1054,828,1468,2030,2176,2086,2130,2090,2078,1792,1023,592,768,791,893,984,1180,849,984,1058,858,922,973,966,943,1054,1250,1234,1222,1350,1118,1194,1326,999,1252,907,1018,1072,940,1370,1302,794,500,1002,1250,1104,1012,894,602,396,383,575,690,491,506,621,799,1078,1222,1736,3168,3620,3670,3016,2304,1886,1560,1560,1836,1850,1440,815,498,579,844,1472,1538,1302,1332,1500,1382,1328,1636,1688,1840,1820,1690,1934,1782,1310,1114,2100,2370,1718,1040,936,1312,1288,1068,1086,716,764,1154,1136,993,689,1232,1836,1414,1022,1396,1470,1316,1026,862,988,1504,1510,1140,1116,902,746,892,977,1028,1100,1158,1440,1740,1216,857,805,763,888,1224,1548,1310,912,1009,1442,1502,1326,1538,1456,1286,1502,1554,1438,1450,1500,1330,1104,1150,1134,1100,552,390,567,764,808,691,1000,1092,793,494,341,276,395,595,572,352,341,344,427,455,566,723,758,593,472,722,1096,1178,957,996,915,1330,1516,1272,800,1180,1504,856,390,478,682,552,529,549,532,612,610,507,565,628,634,526,490,508,372,267,301,350,366,328,306,396,405,359,414,465,396,417,862,1342,1316,819,628,581,543,626,599,487,442,438,543,693,760,886,1274,1704,1432,980,903,959,1072,1012,892,1042,1206,1242,1152,779,489,368,461,658,949,840,561,498,545,544,519,544,586,466,439,426,476,481,478,490,406,400,397,316,334,467,669,721,437,332,347,425,464,958,1368,1800,1874,1378,1194,978,939,1140,1208,1308,1198,919,1280,1288,1010,1050,1118,1202,1246,1100,918,1324,1782,2084,1874,1566,1722,1594,1942,2336,2020,1504,1094,1330,1340,1216,1340,1698,2024,1876,1754,1636,1584,1500,1528,1700,1764,1344,1112,1084,1144,1322,1316,1266,1182,1508,1528,1138,879,709,520,700,1210,1520,1420,1146,1242,1200,1108,1004,976,1146,1354,1520,1584,1674,1666,1626,1642,1436,1354,1224,1402,1798,1970,1952,1858,1896,1744,1236,828,896,1268,1710,1588,1528,1526,1284,1234,1348,1492,1474,1466,1378,1068,1023,1068,945,1170,1188,909,910,1038,1058,952,1001,1534,2796,3146,1566,1202,1026,666,711,891,913,1004,1056,962,1026,1168,1090,1120,1042,651,423,742,1200,938,733,896,1114,1058,996,955,1048,1058,1015,549,476,439,497,1036,1190,1396,1440,1142,1168,1526,1300,996,1048,979,1170,828,880,1040,697,434,426,516,577,510,564,893,1262,1368,1306,1290,1380,1322,1228,1434,1468,1012,675,1100,1770,1488,1278,866,510,753,1140,1146,1320,1354,1114,1102,1016,935,1122,1244,1184,948,1172,1142,922,969,1120,1088,1172,952,888,1108,972,629,492,608,908,1342,1146,969,1008,1184,1068,820,1023,1220,1160,728,719,770,697,1054,1544,1448,1468,1390,1136,1156,1320,1362,1272,754,572,694,1100,1456,855,1200,896,603,1028,1008,777,909,1098,1166,1258,1438,986,746,930,1356,1274,1044,938,787,901,1102,1146,1346,1248,890,631,655,871,1194,1258,1022,1068,1384,1302,1176,1266,1416,1204,813,580,983,926,771,913,1190,1258,1262,1034,763,982,1488,1622,1622,2012,1786,1844,1404,1296,1300,1404,1318,1252,1192,1096,1220,1332,1392,1526,1576,1520,1676,1556,1500,1406,1252,1206,1014,684,757,919,1214,1300,1260,1344,1274,1406,1460,1470,1468,1246,1134,933,1130,1346,1418,1330,1128,1130,1368,1454,1342,1070,876,1098,1064,927,1012,1264,1346,1276,1610,1592,1466,1068,1074,1128,874,1106,1732,1456,791,883,1190,1308,1128,1136,1122,1046,1072,1160,1104,833,1180,1622,1400,1072,834,1188,1472,1602,1708,1714,1774,1828,1604,1440,1432,1272,1126,1156,1104,1346,1946,1874,1594,1332,1160,930,777,652,626,882,973,813,1122,1368,1592,1340,1378,1462,1416,1312,1364,1482,1214,940,1190,1068,764,572,528,510,564,951,1594,1568,1312,1256,1212,1224,749,872,1222,1112,937,835,781,711,810,1015,805,822,1182,1222,1492,1542,1396,1582,1708,1614,1432,1264,1252,996,910,1126,957,983,1188],[349,386,458,632,718,578,609,586,389,371,572,749,1058,1136,964,996,1044,722,703,851,999,1042,1028,1034,675,558,737,854,974,986,610,299,333,336,286,274,465,847,1030,1023,777,465,441,524,615,520,424,423,435,448,444,378,753,1050,778,751,1132,1072,814,694,690,869,785,579,497,593,797,841,720,511,430,765,1176,1142,898,871,543,501,798,1372,1186,1023,981,1096,1150,1008,1009,1011,866,1002,1046,868,677,803,524,778,1044,1011,630,324,494,841,1168,807,649,869,1228,1238,655,565,546,524,467,669,980,841,818,1214,656,639,805,905,1110,827,758,1058,758,502,779,904,733,798,682,609,723,856,498,334,432,473,587,492,381,530,540,694,1068,1202,1548,1078,457,397,419,527,565,624,818,1260,1064,1120,1434,1870,1756,2042,2130,1190,662,1146,1324,673,583,897,1140,1212,979,926,937,930,700,602,397,241,221,237,324,469,466,437,414,373,449,821,813,505,381,412,376,276,284,310,328,393,360,390,456,383,359,360,336,333,344,356,572,983,1224,1202,1344,1470,1306,1022,788,865,941,961,913,940,1052,1042,985,906,816,777,592,579,499,515,531,480,494,607,706,634,504,576,637,528,656,836,902,741,456,363,381,411,458,492,459,355,343,319,317,400,342,294,266,413,1226,1786,1728,1572,1132,892,1100,1354,1424,1248,1514,1624,1440,1382,1254,868,630,857,916,1224,1450,1050,719,769,984,1134,913,917,690,604,772,610,670,1088,920,1276,1620,1434,879,977,1342,1216,932,785,933,1182,1430,1290,585,511,397,371,411,505,495,540,547,505,531,456,326,332,379,494,621,1044,1154,1318,1052,868,857,1196,1288,1074,1072,1152,1282,915,935,1100,1244,1294,1672,1246,861,1052,1272,1288,948,720,946,1076,1102,1154,1038,922,923,871,1058,1330,1354,1292,1202,1190,1238,1112,1114,1126,1156,1328,1392,1522,1714,1836,1772,1638,1600,1514,1382,1432,1436,1378,1294,1020,998,1120,1026,1058,979,667,628,957,1122,1118,977,552,568,555,464,393,356,387,704,892,902,1090,1256,1232,790,354,359,343,280,684,1070,1172,1234,1138,1234,1090,760,946,858,671,538,600,868,966,1084,1174,1158,1080,1106,1102,1186,1252,1278,1240,1142,1400,1498,1228,750,612,801,962,1028,1082,1028,962,778,855,1122,1232,953,843,692,574,631,850,1004,902,1024,1166,1334,982,571,540,492,356,299,701,887,625,548,851,1142,1268,1070,995,1160,1152,811,608,565,624,946,905,848,1136,1386,1582,1504,1206,893,905,1200,714,465,651,537,653,926,1001,1009,1110,862,719,838,1146,1620,1526,1242,1134,1072,1198,1296,1526,2066,1850,1338,1376,1426,1126,587,750,1009,1001,752,866,1118,969,1110,1080,1062,793,833,1044,1084,1162,1366,1498,1218,979,1094,1114,870,900,1446,1880,1096,1072,1278,1220,1262,1378,1382,1130,837,870,1328,1688,1368,1316,1164,1112,1258,1196,1124,1166,1318,1244,1334,1568,1534,1592,1358,969,925,1136,1092,1198,1288,1218,1188,1498,1714,1724,1718,1616,1208,1194,990,1003,850,740,686,877,1184,1204,1162,759,777,771,690,775,857,1132,1138,1132,1160,1390,1556,1524,1442,1218,1070,1068,1268,949,965,1152,1230,1110,1170,1352,1406,1306,1136,949,882,996,1050,1094,1058,1116,900,741,722,1080,1376,1242,1200,1132,1100,1003,1156,1214,1290,1150,1156,1744,1456,1096,1154,1414,1418,1244,1156,1170,1088,1116,1202,1122,1166,1208,1372,1306,1222,1496,1606,1368,1248,1170,1120,1322,1446,1754,1882,1710,1636,1696,1616,1740,1902,1816,1288,894,1108,1384,1356,1424,1510,1380,628,282,387,322,333,427,619,850,594,845,873,919,1074,985,1164,1015,743,1184,1038,444,435,585,609,498,630,711,641,736,1378,1414,644,413,500,524,602,1610,1958,1876,1804,1640,1180,1410,1632,1416,860,410,352,341,394,509,885,1120,1126,1302,1654,1592,1282,982,921,1148,838,664,547,457,430,1250,1262,506,388,376,617,624,330,336,364,383,628,930,1294,878,865,883,502,563,454,431,892,1376,1592,1748,1752,1454,1558,1244,800,927,1346,1634,1576,1592,721,336,354,282,269,239,231,376,412,310,318,325,452,771,769,766,431,691,1438,1258,782,444,598,760,623,605,387,277,355,573,645,434,305,336,455,445,458,756,806,468,300,265,265,231,443,773,537,365,386,320,299,332,430,449,367,436,742,798,664,767,820,1004,881,742,586,538,605,614,580,323,290,349,832,613,391,930,1208,1256,1294,1232,1328,1216,1250,1304,1258,1402,1270,1128,1216,1186,1154,1228,1242,1140,1032,1122,1072,1078,1372,1466,1268,1090,578,468,474,415,414,567,645,567,937,1066,1054,1302,1202,651,365,367,431,415,805,1138,749,538,483,714,1316,1592,1426,1028,920,1246,1232,884,720,847,998,991,1068,1023,1044,1036,1066,1158,1266,1378,1276,1238,1124,793,608,1206,1658,1390,1210,1050,966,1414,1948,2262,2286,2146,1952,2070,2260,1468,729,751,766,891,1012,1332,1005,843,888,852,817,864,962,1128,1354,1194,1140,1416,1456,745,1092,1528,1194,957,796,979,1118,921,1412,1548,1050,662,961,1104,998,898,814,537,381,450,758,890,629,897,1086,850,1292,1168,1360,2836,3684,3660,3536,2940,2078,1588,1544,1734,1736,1450,909,614,580,703,1210,1248,1158,1428,1438,1162,973,1538,1764,1618,1602,1266,1304,1458,1428,1194,1220,1404,1482,910,910,1212,1340,1402,1224,722,712,943,987,880,874,1512,1830,1328,1442,1568,1184,862,630,679,836,1146,1188,1134,1072,1001,931,912,1082,1274,1524,1738,1482,1476,1322,1260,984,881,1036,1306,1382,1038,973,1282,1588,1512,1584,1616,1222,1242,1506,1350,1250,1322,1336,1150,1048,1096,1234,1772,1058,651,719,721,802,830,989,1250,1234,811,503,325,337,478,454,344,328,380,418,435,462,525,628,658,531,846,1670,1428,968,844,735,1104,1448,1350,986,1138,1550,933,433,384,506,426,462,483,437,457,497,535,544,479,694,690,513,337,350,349,416,438,393,309,345,421,378,334,371,461,443,612,1190,1490,1434,944,735,659,655,717,662,480,444,437,560,586,662,975,1216,1454,1246,1052,1124,1148,1058,1078,1290,1324,1056,964,830,507,440,427,435,408,851,1182,916,479,457,525,522,460,440,388,409,403,427,453,577,581,414,401,422,365,433,780,938,697,410,329,338,372,349,789,1316,1518,1412,909,1054,1082,919,1290,1346,1274,1164,1102,1548,1474,1150,1050,1146,1244,1032,916,830,1310,1548,1820,1506,1396,1476,1380,1638,1814,1876,1694,1108,1286,1416,1550,966,1024,1390,1658,1548,1482,1594,1600,1378,1516,1668,1618,1252,1190,1122,1110,1110,1100,1182,1516,1550,1236,1208,957,752,1062,1294,1060,1118,1568,1582,1132,1036,1022,1032,1256,1560,1762,1638,1804,1654,1578,1402,1484,1516,1254,1246,1316,1528,1694,1488,1656,1640,1152,725,772,832,1086,1228,1428,1434,1454,1548,1476,1404,1362,1368,971,571,547,802,1020,1058,1108,1130,1004,1001,1104,1007,1216,1522,2182,2186,1628,1484,1186,693,603,849,1302,1420,1266,1164,1090,1086,987,1030,1296,916,772,1106,1142,1092,1042,1084,1170,1242,1230,1364,1172,769,791,606,504,673,890,1180,1288,1350,1406,1238,1366,1594,1338,1530,1948,1600,1412,1234,1152,744,361,336,333,328,402,594,941,1260,1242,1178,1318,1290,1176,962,1254,1886,1974,1526,1118,1044,1372,1440,1704,1264,1174,1070,1100,1312,1494,1426,1218,1318,1196,1122,1228,1200,1334,1284,1350,1236,987,1023,1310,1584,1418,1019,991,1028,1144,1102,948,990,1276,996,554,542,733,1050,1042,1172,1354,1108,990,888,960,874,861,1038,1290,1230,1526,1616,827,639,796,1080,1474,1192,944,905,1284,1042,987,1252,888,610,752,835,1236,1256,1124,1028,1346,1214,982,832,989,1080,1068,1011,1006,1032,1138,1094,1036,1464,1602,1454,1048,990,824,845,1118,1124,1066,1104,1068,975,1038,1242,1072,761,788,1134,1080,765,744,1180,1386,1270,956,785,1009,1546,1512,1602,1554,1240,1748,1670,1302,1400,1514,1178,1100,1184,1274,1026,1098,1174,1554,1654,1604,1502,1500,1418,1274,1224,1160,994,1218,1176,1112,1148,1098,937,1104,1158,1310,1518,1632,1184,826,1096,1172,1434,1350,1236,1294,1218,1266,1152,802,747,648,469,742,991,921,958,1352,1262,883,915,1346,1538,1426,1410,1248,786,780,1306,1316,1044,965,1198,1418,1156,1018,1030,1126,1066,837,831,991,1266,1420,1272,993,864,1310,1588,1388,1120,990,1174,1332,1570,1774,1814,1726,1552,1302,1108,1126,1340,1344,1398,1356,1262,1204,813,906,1074,1230,1108,1064,1610,1910,1712,1710,1510,1484,1390,1318,1332,1344,1418,1032,1206,1288,715,460,486,513,548,739,1120,1212,1220,1350,1292,1378,1013,1220,1494,1708,1418,922,833,637,557,784,801,1072,863,805,985,1242,1698,1880,1878,2104,1946,1512,1384,1044,704,728,599,491,664],[239,329,468,757,684,443,408,532,394,329,407,590,713,579,503,597,963,611,451,334,451,491,541,458,392,630,946,890,832,878,781,448,396,381,318,308,523,1046,1268,1218,858,409,462,492,465,436,399,382,380,370,376,328,659,1094,943,878,1104,1021,724,1198,593,509,597,515,481,676,820,598,437,628,965,1005,1190,1388,1124,844,579,559,995,1412,1346,1222,1102,1070,1168,1482,1636,1210,907,896,1200,996,731,938,884,707,605,530,423,331,436,603,1144,1076,1152,999,1005,761,382,371,635,951,656,490,741,1146,1252,1450,926,618,716,1142,1534,1082,719,657,414,419,554,489,863,1422,1142,650,791,807,468,309,343,582,788,496,347,543,631,731,906,1198,1118,607,366,319,477,739,857,1048,890,1134,755,625,1112,1560,1556,1866,1692,905,691,1026,1216,737,916,1112,1230,1178,897,932,1022,1012,996,851,462,284,266,263,262,426,573,550,547,524,745,705,521,450,421,404,377,270,308,283,248,323,340,347,307,305,335,344,359,379,404,371,368,423,429,774,1354,1468,1300,776,559,644,653,630,686,711,715,786,944,945,661,521,417,502,423,378,364,367,405,429,440,461,426,487,442,376,353,407,415,371,455,522,385,368,444,438,455,486,540,394,293,386,447,453,531,1014,1720,1648,1576,1470,1056,819,1194,1040,1262,1234,1166,1216,1456,1450,1136,1008,1120,1178,980,1208,1316,1242,1072,894,971,1166,1070,955,916,770,454,658,910,839,902,1282,1382,1038,567,762,894,969,927,1032,998,780,1196,1178,538,438,383,360,605,507,435,519,556,508,440,390,358,332,392,456,509,922,1070,1300,1236,1088,1158,1224,1144,1182,1078,1282,1296,919,1180,1166,1228,1280,1450,1200,735,791,860,566,441,742,990,987,1130,1128,1032,961,891,1028,1178,1054,1017,1226,1224,1122,1102,1001,1108,1140,955,1180,1346,1208,1238,1486,1690,1576,1582,1636,1632,1582,1546,1430,1390,1252,1264,1230,1188,1246,1124,823,883,1220,1204,1034,1042,865,798,897,684,433,361,514,962,1126,1250,1318,1194,1248,716,556,666,416,273,670,1018,1166,1224,1044,904,892,871,882,785,632,472,717,830,671,847,1216,1254,1150,1344,1552,1202,930,933,1026,962,1122,1172,910,655,683,857,883,691,683,836,886,1144,1160,1136,1110,1080,1126,872,843,1098,1054,1194,1242,1110,1230,1332,859,504,427,442,466,358,565,815,625,658,1116,930,913,1134,1076,1158,1180,882,745,646,600,746,907,1078,1280,1310,1504,1528,1284,1011,1058,1200,800,403,370,418,517,833,1026,826,797,1048,1062,1102,1296,1288,1282,1232,1116,1232,1494,1552,1598,1588,1434,1376,1216,1072,808,649,575,716,1094,1122,1004,929,868,1114,1338,1420,984,817,694,950,1118,1268,1294,1272,1118,1258,1284,1176,1266,1516,1656,1166,1208,1162,1019,1216,1288,1210,1178,705,771,1340,1182,1066,1044,1044,1228,1272,1156,1124,1250,1288,1266,1498,1598,1452,1468,1594,1310,1130,1108,1120,1290,1286,1108,1340,1320,1310,1670,1710,1592,1024,879,785,836,829,868,913,1196,1266,1248,1019,670,789,714,688,863,941,1020,1024,1284,1372,1572,2010,2002,1832,1334,1016,1188,1282,1212,1652,1632,1190,1076,1252,1306,1176,1060,1050,705,801,1078,1064,1098,1166,1092,888,855,916,1236,1336,1146,1268,1102,1014,1026,1354,1306,1276,1256,1358,1524,1254,1240,1262,1332,1234,1160,1078,1196,1058,1058,1044,1070,941,982,1340,1264,1428,1628,1630,1450,1384,1194,1190,1286,1362,1504,1734,1758,1698,1676,1700,1750,1516,1456,1356,1228,1276,1212,1570,1560,1438,1004,427,372,344,332,369,589,735,853,1074,1322,1226,1202,1094,895,1017,603,697,955,915,594,455,461,383,492,533,456,514,987,1504,1494,1026,519,451,543,1134,1570,1628,1544,1456,1422,1154,1434,1618,1522,1286,559,325,338,427,694,844,844,936,941,881,902,974,744,1086,1206,930,999,1106,921,702,1114,915,478,339,499,1244,675,403,390,410,443,518,720,886,995,1214,985,494,481,493,530,858,1064,935,1198,1276,1208,1312,1394,1444,1592,1812,1712,1620,1244,678,633,480,334,286,259,291,321,316,285,294,426,769,616,412,500,443,879,1592,2280,2190,796,564,959,815,513,431,320,505,872,1062,752,464,410,367,300,288,339,415,321,275,242,229,232,393,706,619,363,385,326,306,332,444,361,493,606,941,921,716,557,664,783,543,561,462,411,565,593,491,359,363,319,745,623,461,969,1282,1138,1246,1404,1496,1322,1328,1318,1512,1456,1318,1284,1208,1060,1090,1232,1262,1190,1074,1136,1150,1236,1224,1116,1134,977,706,777,820,957,998,618,579,909,1318,973,881,1520,1208,535,436,519,547,435,761,1200,750,525,476,419,739,1260,1346,1060,1198,1632,1538,1198,833,982,1026,683,615,921,1206,1170,952,974,1130,1258,1248,990,799,587,504,851,930,840,999,1212,1156,1350,1896,2188,2230,2210,2070,2046,1996,1508,708,725,813,921,1044,1180,979,709,788,960,859,897,1050,1222,1530,1300,1098,1656,1780,1122,1290,1612,1212,924,813,1120,1124,1054,1332,1528,1172,835,949,1172,1088,786,574,400,394,417,710,1074,813,992,1046,1246,1398,1066,1088,2152,3356,3310,2800,2194,1852,1736,1656,1602,1670,1438,839,563,540,661,1144,1376,1240,1330,1018,759,713,1232,1610,1644,1482,998,983,1224,1206,1084,1036,1590,1858,1013,1062,1322,1370,1490,1218,837,880,962,1016,1132,1106,1588,1572,1098,1736,1422,983,680,503,605,1140,1494,1334,1250,1480,1324,1024,979,1140,1058,993,1030,1090,1180,1278,1240,1038,1052,1056,1030,929,812,1110,1490,1664,1538,1348,1268,1144,1282,1294,1150,1080,902,927,1056,946,685,810,1068,1094,1328,1436,1382,1460,1508,1504,1556,1436,1176,821,406,312,417,423,341,353,386,397,404,419,455,526,702,616,1038,1490,1368,963,673,744,998,1372,1474,1154,1072,1502,877,428,357,424,467,437,402,389,456,550,745,624,376,603,632,542,338,360,604,581,483,472,472,443,418,318,323,370,443,419,466,800,1072,1108,1108,1144,1080,1064,1046,908,760,681,623,755,811,927,1136,1354,1222,1182,1274,1108,915,1102,1456,1508,884,470,596,731,543,493,604,751,816,844,1026,1248,728,461,557,528,477,455,433,447,380,329,329,331,298,294,389,430,400,437,645,558,388,319,306,303,327,390,816,1306,1292,1408,1426,1220,1180,879,869,1054,1202,1182,1230,1340,1434,1242,1054,1276,1348,1152,1360,1536,2024,2462,2160,1502,1444,1560,1492,1316,1202,1494,1612,1238,1196,1456,1362,885,794,1126,1402,1400,1554,1760,1652,1406,1676,1396,1612,1182,1026,993,959,1036,1128,1056,1092,1196,1226,1096,1052,1226,1230,1112,929,1068,1372,1542,1472,990,834,937,1268,1556,1658,1454,1484,1546,1698,1706,1560,1442,1152,1016,1362,1812,1622,1180,1532,1824,1486,922,672,603,702,1068,1298,1186,1210,1192,1208,1412,1638,1288,706,421,688,1206,1372,1128,1034,1248,1192,1028,911,1038,1594,1368,1196,1312,1272,1023,809,925,768,798,1130,1130,911,968,1230,1074,959,913,867,669,871,1154,1074,971,1036,1162,1246,1276,1296,1300,988,561,680,872,779,778,816,949,1286,1196,1192,1180,1444,1208,1184,1654,2202,1934,1432,1286,997,687,620,671,648,529,425,478,821,1004,1152,1356,1534,1260,782,954,1610,2136,1814,1476,1346,1326,2180,2720,2512,1810,1620,1340,1080,930,1064,1182,1130,1282,1258,1192,1300,1356,1274,1268,1152,1150,1306,1202,1278,1378,1282,1154,1216,1182,1294,1576,1248,1054,1256,1030,691,427,464,813,1390,1448,1362,1150,838,985,966,1006,936,927,1036,800,1312,1750,961,941,1306,1252,1254,1482,1640,1506,943,513,688,715,574,530,648,763,1318,1252,1104,1114,1382,1284,992,1068,1276,1368,1284,1238,1256,1180,1148,1186,975,1018,1150,1454,1240,855,532,421,683,1108,1340,1290,1092,874,993,1360,1328,1110,1160,1130,975,767,904,1184,1158,1518,1606,1134,978,1196,1274,1340,1334,1306,1410,1364,1344,1466,1490,1164,1224,1378,1318,1056,1022,1072,1190,1676,1924,1720,1622,1204,1288,982,761,927,1244,918,766,960,933,896,928,1058,1238,1330,1558,1312,1230,1302,1288,1378,1340,1266,1266,1320,1476,1296,734,444,410,560,1038,1272,929,1154,1318,905,570,625,973,1206,1046,1104,1344,962,894,1260,1328,1188,1318,1376,1604,1320,979,1118,1118,917,740,691,735,1384,1298,1162,883,834,1328,1506,1274,895,774,1114,1244,1026,1242,1628,1678,1700,1690,1518,1568,1576,1290,1244,1244,1196,956,1114,1708,1780,1882,1560,1340,1590,1650,2474,2906,1618,1456,1290,1368,1300,1202,1230,1064,1102,1382,916,448,453,488,525,618,1000,1050,1208,1390,1394,1340,1116,1208,1368,1496,1184,804,583,350,352,402,427,636,623,697,1248,1338,1496,1924,1830,1708,1596,1310,1242,1210,1036,922,1010,816,724],[282,240,365,600,499,350,361,458,427,383,368,361,378,412,516,455,837,604,401,333,269,246,307,409,668,1124,1272,858,675,987,1154,777,460,365,349,340,506,837,1046,1002,736,404,411,487,373,399,413,409,384,315,328,331,539,933,943,937,1001,860,839,1208,598,387,484,505,437,740,1144,898,833,725,638,751,1216,1246,1202,1144,1060,981,974,916,927,974,901,1166,1252,1454,1302,897,1034,1104,1388,1164,770,1044,1406,919,372,495,580,558,646,611,946,1126,1522,1318,721,459,446,495,672,865,447,301,320,913,1138,1048,736,641,933,1136,1019,770,539,670,515,407,436,375,518,865,808,472,420,424,352,332,416,582,576,651,479,596,475,655,941,904,735,623,456,361,564,670,759,1001,933,796,879,895,1080,1444,1498,1478,1476,1086,1038,705,803,1230,1438,1354,1218,873,926,785,528,624,1068,1070,554,293,255,272,261,295,354,467,504,469,413,362,382,382,426,420,408,294,314,298,336,337,314,289,274,312,337,344,353,336,310,328,342,343,386,862,1318,1354,1030,556,371,443,530,477,426,403,450,461,518,460,326,357,368,312,304,335,364,355,351,318,359,423,378,372,359,384,418,430,375,349,417,565,373,430,535,459,318,348,448,410,398,637,700,848,1148,1494,1852,1594,1124,1410,1562,904,824,929,1044,929,699,714,1290,1576,1390,1368,1374,1114,1096,1186,1090,864,766,667,606,587,532,666,1148,1066,670,994,946,632,833,874,1206,1180,1092,974,861,1026,880,907,771,544,802,850,537,525,599,899,852,424,464,458,501,493,409,388,366,340,404,455,488,718,977,1102,1156,1164,1168,1118,1078,1272,1360,1328,1132,1009,1116,1021,871,921,1302,1324,1030,882,962,687,662,966,1108,1080,1040,907,842,899,988,1000,911,1032,1218,1358,1150,1062,1076,948,980,832,918,1112,1102,1152,1288,1372,1454,1178,1230,1304,1320,1466,1652,1584,1558,1576,1470,1474,1444,1298,1242,1314,1290,1418,1044,837,1150,1092,881,954,764,469,428,459,900,1138,1316,1148,1124,1068,622,722,795,431,324,680,1100,1152,1036,1009,1100,824,865,857,644,418,383,727,962,899,1126,1226,1162,915,1262,1332,1244,1130,1214,877,551,849,1282,1008,637,826,891,652,578,665,666,724,914,942,905,998,976,744,598,742,1180,1262,1232,1640,1404,1268,1246,890,681,611,707,868,661,775,1356,1144,1034,1226,987,761,881,1009,1192,1222,1192,993,719,730,941,1272,1300,1194,1264,1504,1616,1332,993,1116,1164,683,465,573,785,694,949,1090,920,924,1056,922,1072,1290,1392,1372,1290,1248,1434,1756,1562,1304,1328,1232,1116,1114,852,832,1116,907,1222,1122,1023,1268,1070,1190,1188,1260,1160,884,647,641,671,885,1104,1068,1306,1312,1322,1274,1112,1136,1074,916,996,1258,1056,828,1268,1074,1056,1220,1108,1104,1100,1050,988,991,1130,1368,1448,1250,1222,1308,1412,1442,1542,1340,1110,1410,1916,1854,1388,1150,1546,1758,1422,1410,1654,1330,1106,1344,1644,1616,1102,829,707,706,835,863,844,1216,1262,1354,829,783,807,678,744,841,761,788,873,874,1088,1296,1576,1736,1648,1212,1016,1186,1262,1164,1134,1116,1134,1306,1350,1166,1282,1390,1546,1210,1194,1222,1184,1196,1434,1366,1068,1058,1116,1072,1212,1200,1356,1292,1256,1250,1664,1450,1274,1338,1406,1382,1410,1440,1184,1152,1028,1054,1166,1358,1418,1104,750,976,1160,1606,1810,1478,1692,1592,1654,1780,1436,1234,1086,1204,1390,1262,1490,1786,1762,1780,1768,1578,1242,1312,1324,1290,1644,1808,1874,1692,1368,781,452,523,507,515,536,519,710,949,999,925,961,1274,1184,1009,618,435,495,604,664,517,363,332,571,982,890,655,713,1342,1406,1490,1478,892,441,711,1548,1556,1516,1716,1366,1186,1158,1376,1376,1320,1017,506,339,386,471,703,880,666,687,598,538,868,999,1032,1276,861,591,783,1162,1090,797,709,604,1196,630,850,1484,572,382,540,730,532,491,1036,1242,1238,1046,830,735,532,361,417,507,524,422,550,895,1060,1144,1288,1176,937,944,1238,1672,973,1007,1282,1058,666,325,334,412,397,395,336,299,368,506,431,365,411,1030,1608,1360,1634,2622,2316,926,1074,905,648,483,347,616,891,852,626,546,692,503,306,337,400,304,248,230,249,256,274,359,559,586,310,326,274,266,399,827,506,466,609,879,932,847,675,542,474,404,652,825,849,742,453,393,337,380,437,367,385,652,1170,1342,1172,1506,1448,1544,1372,1176,885,996,1306,1294,1112,977,843,944,1088,1268,1270,1104,1224,1216,1242,1196,1224,1230,905,939,1362,1370,1282,1140,1196,1072,1042,1086,1144,1376,1874,1460,606,395,545,572,341,387,721,566,414,410,412,789,1202,1228,1240,1598,1548,1432,1522,983,820,763,575,659,1052,1318,1222,865,918,1362,1178,893,808,818,860,603,469,458,638,937,1214,1112,1224,1802,2054,2098,2108,2408,2468,1432,1064,842,766,782,903,1028,1096,934,766,852,974,865,799,916,1124,1342,1394,1204,1458,1638,1542,1614,1538,1410,1312,933,1366,1324,1162,1150,1282,1072,766,752,1084,988,600,686,598,702,796,703,994,828,863,883,1448,1608,1182,917,1186,2308,2322,1682,1544,1658,1422,1244,1194,1458,1452,916,640,671,599,952,1296,1220,1122,963,938,600,793,1334,1560,1162,940,1012,919,1074,1382,1344,2150,1656,1058,1072,1172,1216,1276,1146,1050,1021,1016,1144,1544,1268,1194,1324,1500,1622,1260,1148,1206,1000,982,1234,1194,1068,1440,1762,1294,917,792,789,862,921,903,1020,1126,1180,1258,1294,1232,1288,1212,899,925,1162,1462,1534,1482,1450,1408,1314,1104,1072,1148,1034,912,1174,1322,1088,778,837,1046,1302,1726,1842,1558,1448,1526,1572,1622,1462,1316,1062,590,351,377,373,363,374,360,376,395,421,471,522,620,675,929,1162,1504,1208,687,711,812,1284,1534,1166,995,1142,597,341,492,730,752,559,539,495,614,684,786,608,613,788,654,563,448,453,465,400,476,578,462,415,349,315,378,369,415,615,531,470,884,1090,1178,1520,1770,1796,1782,1542,1250,890,809,984,1306,1260,1272,1310,1100,1404,1482,1180,1138,1426,1644,1710,1220,891,1124,1160,792,708,738,695,570,436,495,1160,1120,615,572,539,432,445,466,388,279,273,254,239,259,286,325,345,322,289,285,294,285,287,307,299,301,388,761,1220,1226,1116,1250,1456,1078,884,859,980,1222,1110,1166,1276,1050,1008,1172,1288,1490,1482,1694,1902,1814,1846,1898,1678,1426,1532,1236,1080,1032,1270,1164,1009,1156,1282,1080,929,963,1214,1368,1300,1424,1888,1726,1690,1584,1274,1336,1118,894,948,984,990,1094,882,880,1032,1264,1238,1160,1148,908,848,1032,990,1272,2138,2200,1242,913,1014,1294,1290,1354,1556,1566,1656,1754,1600,1420,1150,749,1100,1500,1786,1698,1686,1730,1600,1712,1318,847,851,1102,1274,1332,1312,906,801,1080,1462,1670,1260,1068,1070,1366,1410,1138,1004,1010,1400,1328,1416,1288,1282,1454,1632,1750,1500,1180,819,1042,1586,1028,779,1072,1130,909,869,1048,661,536,745,1120,1258,1262,1038,905,1078,1144,1354,1176,1214,1324,1232,861,683,853,1100,1156,910,777,1102,1268,1152,1202,1338,1384,1184,1350,1566,2008,1876,1412,1340,1182,891,862,1106,1046,767,478,331,523,952,1222,1410,1614,1432,747,976,1288,1420,1088,879,1046,1544,1842,1638,1580,1646,1418,1302,1040,767,803,736,1080,1186,1158,1382,1496,1394,1196,1140,1442,1520,1510,1248,1094,1184,1014,905,1160,1236,1302,1406,1218,1126,1160,1021,964,1010,902,953,1778,1196,847,665,773,1122,890,780,854,773,843,644,600,782,1042,905,1202,1354,1166,1322,1544,1300,935,725,953,907,1021,819,1012,1116,1196,1282,1476,1428,1346,1306,1218,989,1076,1114,1052,1238,1372,1434,1474,1218,1013,842,854,1242,1162,918,539,583,878,1264,1244,1148,962,641,695,1094,1294,1224,1184,1176,1086,891,1124,1152,1250,1848,1752,1434,1342,1242,1184,1208,1112,1130,1214,1248,1368,1464,1124,1204,1374,1324,1088,1134,1226,1000,959,1462,1886,1968,1546,1274,1730,1166,915,1013,1100,943,944,1018,712,654,707,1090,1030,1234,1500,1372,1356,1124,1112,1414,1440,1370,1080,1066,1316,1298,897,528,656,1200,1572,1366,1332,1514,1354,1084,707,525,706,939,1020,1122,1088,971,877,1204,1134,1328,1458,1280,1418,1324,1021,925,1148,753,751,762,791,1228,1198,1208,1002,926,1202,1208,1304,976,716,1056,1128,1136,1614,1566,1334,1254,874,708,1190,1714,1868,1810,1678,1522,1076,1474,1954,2066,2010,1580,1272,1150,1108,2142,2872,1624,1412,1464,1392,1074,1346,1686,1590,1450,1460,885,493,478,606,789,918,1234,1100,1204,1248,1306,1292,1238,1288,1386,1114,819,845,918,477,408,614,783,657,491,748,1438,1242,1062,1636,1672,1836,1792,1264,1310,1194,1178,1334,1334,1086,887],[285,256,267,349,403,423,489,509,456,406,376,369,366,358,378,361,571,684,766,583,308,277,372,606,1298,1962,1968,1400,1224,1496,1272,714,438,333,330,342,426,678,770,1016,1006,801,811,559,390,412,403,432,382,319,348,368,461,857,1044,929,774,588,435,333,356,368,418,434,407,553,878,1140,1260,995,590,636,860,1094,1202,1198,1188,974,798,771,764,1026,1376,1092,1023,1290,1108,936,1130,1284,1322,1050,728,893,1384,1086,771,977,1110,1354,1218,972,1102,1370,1648,1408,869,397,330,317,360,364,280,303,577,834,861,849,702,968,1186,1146,788,516,360,543,591,452,363,369,478,608,504,361,322,343,367,365,509,393,324,389,799,922,835,1250,1216,535,418,559,556,529,1058,912,738,501,734,841,853,807,877,1298,1364,1388,1150,950,763,547,1230,1664,1750,1482,1116,909,860,796,683,785,946,1126,630,297,273,273,277,283,320,450,546,430,356,378,386,478,689,599,405,327,334,336,325,318,321,298,323,325,345,372,380,375,255,280,313,358,351,569,778,683,429,321,322,368,413,403,335,370,377,298,351,328,296,343,334,307,311,334,353,346,333,285,281,330,342,317,299,315,490,646,425,339,388,498,404,434,484,524,346,357,574,538,585,714,761,1054,1196,1336,1396,1308,1212,1392,1420,1160,1106,1168,877,484,555,807,1132,1616,1638,1382,1194,1158,1226,995,922,788,654,666,449,328,312,459,782,584,938,1200,854,592,473,583,860,983,1110,1100,988,984,1228,969,554,438,490,428,547,754,881,1276,1444,624,433,407,459,445,384,366,429,464,479,515,521,664,958,1176,1322,1260,950,919,1424,1442,1284,1148,1032,870,1108,1462,1152,880,1068,1058,1174,1003,995,846,937,1066,1118,911,729,850,702,708,955,1004,686,842,1132,1172,1144,1152,1126,1178,927,671,788,971,1174,1336,1534,1408,915,1128,1178,1244,1264,1346,1450,1338,1282,1376,1506,1556,1390,1544,1618,1618,1470,1336,822,677,1044,1224,1021,970,833,733,615,615,1376,1502,1250,966,992,952,564,555,776,706,546,611,992,924,923,1118,1372,923,675,783,580,316,379,649,966,1058,1088,1106,1166,1026,1342,1376,1224,1362,1258,692,490,933,1552,1330,1098,1162,1038,771,675,600,527,622,725,628,653,980,1178,895,524,480,1006,1200,1186,1556,1298,1064,1074,1126,1010,1024,1096,1160,1168,932,1324,1250,1198,1370,1214,1058,993,977,1142,1332,1594,1278,1040,1204,1268,1052,1096,1192,1280,1452,1522,1224,762,613,530,328,338,529,636,556,984,1216,1168,1274,1023,673,755,849,1178,1096,1054,1146,1108,1282,1366,1278,1116,760,667,1023,959,810,1158,1104,1696,2680,1842,1324,1470,1256,1122,1194,1154,1096,844,824,516,483,752,1019,1212,1268,1156,874,821,986,1148,1184,1112,1088,858,940,1190,1148,1162,1166,1122,1292,1210,1116,1180,1134,1030,1240,1390,1282,1360,1520,1496,1622,1350,1324,1288,1282,1686,1964,1882,1920,2096,1714,1372,1444,1326,1264,1158,1202,1516,1520,1344,1274,915,638,520,689,982,1282,1350,1178,805,802,744,722,838,871,850,896,800,719,754,1234,1484,1514,1428,1138,1076,1156,1212,1192,1028,904,959,1023,983,1021,1388,1814,1946,1754,1398,1142,1318,1434,1390,1260,1238,1520,2214,1292,1312,1198,1296,1234,1072,1258,1406,1272,1328,1310,1204,1208,1410,1236,1204,1240,1372,1266,1156,1334,1510,1054,728,819,1224,1586,1992,2144,1698,1542,1584,1704,1448,1250,1076,1418,1626,1064,1346,1692,1872,1682,1566,1410,1232,1356,1338,1468,1942,2070,1818,1500,853,564,469,641,675,555,524,641,877,976,938,1036,1284,1226,1172,753,390,386,317,371,374,268,229,310,600,1074,1150,835,1100,1390,1566,1698,1744,1470,873,802,1074,1070,1542,1606,1520,1422,1172,1296,1112,764,485,329,301,427,778,998,929,618,792,1234,963,582,651,982,1001,625,370,404,578,644,735,630,1208,1796,716,865,841,447,300,523,821,656,568,959,991,824,550,659,904,531,329,333,339,509,681,628,435,610,898,942,550,363,486,1424,1400,897,1400,1398,1112,856,412,464,403,470,598,446,352,311,433,496,368,363,769,1570,1874,1168,1138,1536,1592,1574,1652,1574,893,426,414,415,323,250,273,514,495,532,561,497,332,233,227,254,233,265,296,350,371,253,300,252,232,537,918,576,437,541,483,564,706,559,776,548,437,672,896,736,561,354,282,403,745,857,372,360,675,1306,1420,1438,1654,1684,1418,1086,1122,1052,1394,1460,988,777,899,967,1262,1162,1270,880,808,905,1076,1268,1140,1242,1166,880,976,1350,1436,1954,2326,2264,1656,989,616,714,1166,1376,921,475,382,436,422,365,375,386,367,362,401,387,538,949,1260,1352,1516,1644,1606,1306,589,405,583,717,758,987,1194,1236,1118,799,1030,865,596,763,917,981,670,786,874,726,902,1118,1054,1068,1626,1958,2064,2132,2226,2198,1816,1452,1150,916,761,774,918,1284,1268,755,600,896,997,876,933,1210,1484,1512,1340,1356,1438,1462,1498,1442,1430,1378,1158,1316,1498,1328,1308,1260,854,492,546,946,910,849,1030,1056,1042,1046,737,918,1100,915,950,1230,1021,1270,1258,1132,1242,1748,1556,1310,1180,982,796,904,1278,1272,751,761,823,588,940,1084,1114,1058,982,888,677,807,1354,1550,1400,1328,1328,1310,1278,1384,1310,1554,1246,1011,1170,1128,1242,1512,1570,1534,1106,990,1242,1484,1306,1356,1258,1264,1278,1246,1286,1210,1150,1186,1114,962,990,1296,1174,939,874,885,1072,1232,1122,1218,1334,1208,1174,1176,1148,1208,1038,930,769,959,1264,1574,1434,1236,1320,1400,1238,985,1004,932,904,949,1096,1010,1094,925,725,951,1180,1666,1676,1005,1030,1350,1440,1486,1430,1370,1284,854,410,377,442,413,396,388,382,342,339,409,436,569,636,830,1138,1212,1176,707,482,558,1082,1510,1198,959,1110,750,340,438,857,1108,715,825,688,852,711,496,681,956,1172,1034,730,531,386,347,433,557,632,641,487,303,346,383,480,758,1120,1076,626,432,666,1196,1610,2024,2104,1954,1744,1266,891,782,826,1108,1318,1476,1332,1290,1310,1520,1490,1444,1528,1686,1858,1870,1720,1682,1504,1236,975,902,879,628,448,367,934,1218,811,692,639,478,425,440,352,272,341,408,304,305,286,293,314,293,296,350,377,382,415,343,305,334,376,694,1158,1250,1282,1494,1516,1302,1238,1012,1078,1190,814,936,1224,1126,1230,1204,1110,1216,1426,1596,1638,1604,1474,1410,1494,1434,1676,1408,1180,1086,1878,1648,1112,1340,1346,1268,1140,959,1368,1398,1140,1284,1780,1592,1582,1366,1048,1144,1120,945,967,1044,951,949,902,1020,1218,1246,1214,1064,1122,995,1028,1188,1128,1826,2518,2118,1526,1030,1056,1066,1086,1328,1534,1694,1678,1506,1570,1470,1362,1204,1558,1356,1538,1698,1394,1162,1334,1530,1620,1510,1298,1286,1204,1100,1086,819,1234,1710,1886,1606,1494,1688,1754,1498,1182,1007,1310,1124,1200,1434,1794,1622,1238,1260,1510,1612,1430,814,496,791,1152,751,645,756,992,1021,1168,955,608,426,412,658,1240,1478,978,690,1100,1384,1280,1054,1138,1272,1258,968,834,799,904,1224,1236,1274,1364,988,1106,1518,1396,1310,1216,937,1172,1730,1466,1182,1126,1036,940,761,1012,1048,805,783,804,1108,1358,1346,1552,1522,1366,838,990,1002,1166,1434,1328,1052,1324,1440,1068,1050,1522,1614,1580,1086,1020,1012,950,1170,1064,1104,1206,943,1038,1262,1300,1262,1023,1340,1220,1316,1424,1124,1116,1198,1198,1302,1202,1066,1007,1152,1188,835,979,1180,1108,1416,947,622,594,760,969,892,714,824,601,847,749,522,979,1284,970,1132,1280,998,1046,1120,781,460,504,771,1008,1228,1168,1178,896,526,813,1384,1360,1146,1308,1214,723,1146,931,832,962,1190,1166,1428,1416,1272,995,976,1268,1250,1162,918,859,1130,1194,1118,1220,1026,736,615,1005,1274,1190,1138,1388,1146,1080,1254,1270,1430,1598,1444,1504,1500,1420,1388,1274,1020,861,918,1100,1264,1226,1206,1184,1258,1210,1066,1066,1172,959,783,1144,1742,2002,1828,1694,1586,1120,946,991,1174,1122,1098,1038,690,761,856,1180,1054,1158,1350,1240,1076,720,998,1228,967,964,1028,1342,1378,1350,1172,876,1036,1530,1836,1664,1498,1128,807,1096,1070,769,1001,775,869,1070,975,1124,1070,795,736,1132,1320,1180,930,1194,1506,1516,1244,719,664,632,629,860,1036,1068,954,936,1204,1048,1122,929,616,712,1012,1470,1642,1446,1058,744,586,580,727,1104,1432,1650,1620,1652,1766,1838,1854,1908,1818,1556,1254,1050,1282,1710,1418,1352,1510,1368,1338,1270,1660,1642,1046,1144,1456,1160,944,617,851,1282,1422,1198,1120,1334,1394,1256,1268,1388,1384,1396,1382,1272,1150,963,481,447,628,799,816,593,722,1009,793,752,1162,1232,1650,1684,1316,1220,1068,1384,1400,1172,923,680],[446,395,308,327,367,392,384,343,357,354,363,343,314,295,304,368,451,565,582,392,262,305,594,913,1484,1904,1772,1314,1290,1318,757,386,375,323,355,349,386,565,890,1500,1218,797,717,561,446,363,371,493,390,362,365,372,364,549,1021,1208,744,373,377,415,395,390,398,383,378,458,639,963,1005,1116,1080,869,772,859,843,905,938,545,424,514,534,805,1678,1450,1226,1360,1160,935,908,788,846,827,542,779,767,1094,1220,1054,1068,1242,1078,1034,1268,1348,1064,1024,922,347,290,269,291,278,293,430,896,732,587,1034,1216,1384,971,667,497,620,581,394,380,350,365,454,586,568,481,519,660,544,367,363,409,286,325,412,731,922,1354,1936,1482,465,338,422,571,836,1288,1296,969,487,509,888,1246,1324,1034,1482,1320,1246,699,557,495,448,620,1064,1500,1406,1002,772,655,998,1234,1040,614,760,760,436,283,270,249,278,285,404,534,416,363,370,400,579,671,445,315,326,334,319,278,270,319,331,305,354,409,430,367,348,337,325,320,337,337,330,377,361,356,335,317,311,350,392,398,372,351,363,379,342,318,326,303,332,395,350,308,275,297,280,280,315,303,282,279,311,485,555,365,349,375,380,415,399,514,487,311,429,548,518,673,645,510,497,827,1024,936,725,750,844,713,879,1018,908,721,452,587,871,974,1488,1676,1344,1028,1124,1200,1224,1334,1020,812,728,673,816,581,415,619,830,1118,1320,1530,1262,868,866,871,1064,938,825,808,783,977,1056,1062,988,789,495,631,883,788,888,1644,918,485,425,504,694,655,464,468,531,512,528,554,656,928,1394,1300,1434,976,1016,1282,1248,1188,1116,1124,1013,1240,1548,1254,971,1019,1128,1074,963,1092,1152,1046,1022,931,904,775,927,765,855,1018,1140,955,827,847,1064,1320,1170,1142,1202,1154,1000,1082,1032,1354,1368,1406,1344,1088,887,938,1210,1206,1280,1232,1180,1200,1184,1632,1388,1166,1248,1342,1390,1196,1262,1524,1416,1376,1420,1212,1204,1194,1004,773,678,1906,2020,1334,1102,1092,976,647,659,1096,1214,815,760,1168,1050,799,1076,1290,1086,993,966,585,523,760,860,807,910,817,504,677,844,1050,1298,1144,1144,1136,692,565,839,1234,1280,1144,1138,992,752,674,580,581,714,622,559,721,1152,1368,1196,752,698,1074,1036,976,864,776,966,1112,1024,753,910,1054,1144,1144,1020,1032,941,1096,1156,1016,1028,1110,1021,1044,1558,1846,1596,1422,1438,1324,1284,1262,1148,1262,1480,1388,1266,724,337,308,308,333,507,684,1272,1774,1630,1244,1102,966,606,573,711,1134,1180,1122,1126,1086,1394,1672,1512,1122,872,774,1134,939,583,992,1300,1380,1946,1366,1052,1172,1146,1272,1162,1074,1174,1016,1046,960,882,946,1292,1368,1274,990,871,961,712,747,867,862,886,1020,875,956,1096,1206,1136,1064,1266,1346,1296,1312,1268,969,1246,1316,1316,1468,1572,1508,1474,1286,1404,1334,1250,1462,2098,2336,2186,1734,1542,1330,1278,1432,1448,1434,1492,1532,1510,1362,1312,1076,753,572,825,1260,1290,1316,1016,818,887,776,783,909,992,1164,1318,1076,965,789,958,1074,1304,1260,970,1104,1216,1220,1068,1021,1120,1034,855,804,1004,1172,1392,1554,1546,1320,1210,1300,1200,1328,1204,1216,1872,1986,1248,1188,1150,1148,1064,1226,1404,1322,1140,1314,1126,995,945,1126,1244,1228,1010,1182,1312,1064,1196,1192,948,884,1013,1224,1338,1874,1894,1436,1216,1088,1284,1440,1320,1186,1160,457,421,1180,2438,2170,1808,1740,1406,1156,1578,2030,1706,1950,1926,1634,930,455,342,303,368,412,530,652,502,502,781,858,1096,1256,1084,1242,813,375,328,343,350,357,326,300,354,436,789,932,998,1450,1564,1736,1772,1578,1466,1390,1210,850,608,865,1344,1288,943,758,846,608,304,269,288,291,354,709,893,773,484,421,984,981,659,532,577,655,680,348,300,343,752,1004,680,1562,1544,954,625,443,516,378,315,312,457,806,1088,1072,836,640,941,1164,947,656,407,371,490,786,1138,1012,702,513,550,536,524,728,1292,916,784,1314,1180,644,463,524,524,536,586,496,424,361,305,404,527,495,410,442,667,1002,1023,840,1264,1758,1904,2188,2040,1340,778,301,248,299,340,405,495,815,814,496,316,272,230,250,265,324,282,226,235,272,228,239,248,272,705,949,616,564,564,355,483,480,359,623,444,498,648,583,755,920,553,331,520,751,668,329,295,523,1230,1422,1484,1356,1310,1078,1020,1166,975,1166,1086,899,654,899,1438,1898,1606,1346,836,891,959,833,855,877,970,1050,746,997,1446,1572,2414,2834,2932,2584,1564,873,550,913,795,402,319,339,472,611,757,550,363,408,419,416,385,399,614,1252,1396,1318,1572,1484,1308,958,616,641,630,551,904,1132,863,795,924,1188,1122,781,741,810,835,814,1054,912,612,847,1104,1190,1013,1452,1882,2188,2140,1518,1178,1328,1296,1110,945,877,711,926,1418,1368,988,831,965,959,789,916,1328,1498,1326,1001,1122,1042,698,1054,1188,907,1023,1390,1372,1260,1426,1296,1074,789,616,620,911,1090,1196,1034,1050,1050,982,652,725,1140,1128,1112,1276,1316,1450,1302,1182,1404,1672,1442,1078,956,960,936,1018,1332,1352,742,831,749,561,735,612,819,1166,1138,1010,1150,1508,1720,1764,1540,1688,1638,1610,1526,1472,1456,1538,1584,1512,1560,1554,1354,1412,1622,1594,1232,1170,1216,1376,1354,1522,1338,1018,1096,1220,1200,1106,1172,1024,1110,1086,1034,998,1090,1036,999,953,1078,1288,1484,1534,1244,1168,1408,1332,1260,1216,901,849,1012,1334,1732,1904,1436,1010,1132,1090,1152,935,830,796,850,823,655,625,994,958,642,655,771,1382,1340,800,656,1170,1578,1758,1622,1410,1386,1062,495,481,634,583,576,646,779,896,973,873,798,766,770,994,1226,1340,1350,926,551,455,845,1316,1134,1000,1372,1198,505,382,486,598,609,745,720,1000,910,565,631,844,1062,1132,833,517,325,396,518,652,703,699,449,371,503,852,1306,1378,1376,1440,1013,538,634,1316,1802,1938,1968,1908,1660,1346,1124,993,955,961,1312,1662,1576,1478,1396,1546,1600,1572,1656,1842,1918,1902,1800,1616,1450,1298,1194,1440,1584,1030,572,546,924,848,494,543,656,544,506,512,350,298,342,397,346,341,332,347,353,338,323,344,379,388,469,341,321,381,283,451,982,1312,1554,1836,1664,1472,1334,1176,1230,999,608,801,1142,1318,1194,988,996,1228,1532,1520,1454,1426,1296,1416,1340,1434,1450,1310,1136,1150,1456,1194,1102,1400,1476,1286,1252,1048,1372,1456,1270,1214,1570,1628,1512,1282,1056,1136,1316,1092,1098,1144,925,894,965,1132,1218,1150,1114,1236,1324,1236,1174,1322,1272,1432,1664,1506,1268,1110,1013,843,984,1294,1494,1284,1066,1236,1406,1080,1190,1400,1650,1516,1576,1730,1568,1672,1726,1536,1450,1432,1326,1362,1274,1184,1500,1672,1780,1910,1780,1354,1238,1576,1706,1642,1410,1332,1606,1532,1404,1584,1708,1410,1350,1426,1196,1150,1032,558,424,367,574,508,454,511,731,1064,1178,866,531,568,507,438,766,1048,1154,1132,1392,1668,1256,812,829,1178,1260,1014,1015,890,824,1044,1132,932,883,949,1060,1244,1294,1324,1088,685,995,1388,1224,1378,1914,1434,1230,1222,1514,1306,1040,1228,1380,1522,1660,1654,1518,1126,867,839,918,1124,1318,1148,1026,984,1152,1374,1252,1008,1340,1258,1220,1082,1004,747,890,1130,1132,1164,1188,1140,1326,1496,1454,1272,1232,1282,1146,1356,1408,1470,1412,1134,1392,1494,807,665,614,575,811,922,886,910,791,677,610,576,514,387,500,807,1022,1440,937,1112,1148,879,1036,1268,1362,1422,1268,957,818,695,473,550,455,399,664,577,557,744,623,502,983,1438,1246,1230,1378,1366,1068,1086,780,774,1020,1180,1048,976,1120,1336,1476,1526,1434,1486,1262,1128,1136,1372,1088,951,1014,1190,1038,797,998,1084,1192,999,1104,940,858,1220,1460,1476,1260,1346,1588,1452,1612,1654,1348,1356,1496,1096,873,949,988,1090,1350,1312,1206,1140,766,962,1042,852,780,1394,1736,1764,1660,1520,1168,969,1224,1292,1108,902,753,861,955,867,973,1118,1106,833,711,645,686,1104,998,769,775,1198,1122,1194,1206,990,834,885,1322,1780,1772,1188,932,1020,1146,1084,913,1218,942,945,957,849,1028,1005,716,766,1005,1032,1246,925,955,991,995,864,644,737,735,572,821,955,966,939,1448,1620,1160,1292,1126,676,818,1388,1404,1236,1332,1062,625,435,608,752,875,1280,1386,1100,1272,1302,1250,1532,1570,1510,1592,1542,1442,1620,1830,1666,1708,1746,1450,1068,1208,1584,1294,1050,1148,1222,1376,1496,910,946,1328,1498,1416,1432,1688,1650,1576,1502,1500,1552,1464,1420,1290,1032,618,444,503,435,592,852,809,947,871,654,555,549,666,1064,1362,1388,1088,995,1078,1228,1338,1182,1052],[670,520,331,354,419,352,304,368,398,330,350,340,314,305,312,324,313,261,219,207,300,508,700,806,1126,1262,962,756,860,772,361,443,886,696,386,339,409,751,1246,1306,763,505,827,920,502,415,385,529,392,355,369,404,402,454,912,1146,695,363,417,391,341,355,373,372,364,435,538,573,701,797,845,992,948,704,739,408,267,227,309,499,590,1262,1998,1782,1244,1208,1214,874,738,1048,1192,775,562,605,818,1110,974,780,977,1023,985,1266,1152,1011,1182,1322,998,476,272,250,248,283,288,276,345,309,401,957,1296,1114,874,863,929,1234,1050,733,688,562,412,656,855,711,771,1012,952,755,555,474,312,279,510,769,583,594,1142,1082,501,323,404,435,551,1028,1394,1380,778,431,571,899,1514,1760,1494,1714,1522,1322,847,852,791,582,433,455,711,713,788,1164,1060,1198,1254,1208,1072,944,855,590,340,288,231,246,245,265,267,261,240,361,462,595,531,389,354,372,363,290,210,215,260,300,343,390,412,384,366,387,354,339,325,329,368,343,360,343,335,296,292,297,335,401,417,357,332,360,411,338,322,313,296,367,439,417,282,223,299,312,297,324,292,294,329,420,412,329,314,327,393,430,432,468,495,416,428,443,372,590,799,629,528,437,509,824,1022,879,821,823,460,742,1160,896,1118,800,548,859,1208,1590,1766,1478,1104,1114,1140,1124,1014,1174,1080,1106,1072,1370,966,542,579,1088,1092,1176,1652,1694,1628,1382,1174,1410,1192,990,936,875,802,1116,1432,1538,1328,861,647,733,788,867,1104,868,532,540,817,1042,879,586,563,514,497,512,719,866,1128,1418,2202,2402,1388,1034,1050,1128,1142,1208,928,670,1096,1204,1054,1296,1288,1074,1068,1116,1346,1208,1174,1364,1152,1102,1066,904,785,1042,1046,1168,1306,1386,1286,1162,1302,1302,1306,1082,1098,1130,1290,1158,1342,1442,1248,1008,989,738,816,1230,1208,1200,1098,1003,891,1052,1378,1296,1324,1196,1136,1218,1072,1174,1272,1562,1400,1388,1600,1584,1526,1404,1322,1128,1600,1708,1344,1218,1158,1128,751,824,1196,1172,741,828,1021,927,865,933,1064,1032,1016,914,597,484,702,727,767,836,841,631,755,854,1044,1346,1278,1370,1268,974,785,642,558,859,927,917,1000,1080,1042,886,804,800,987,828,587,865,778,919,919,998,1206,1020,1034,1156,1068,1068,1076,738,697,575,724,1166,1166,1274,1100,977,1242,1186,1042,1013,1294,1316,1208,1464,1470,1834,1560,1058,1110,1210,1116,1032,1090,1196,1150,1324,854,372,315,319,486,763,993,1428,1686,1520,1338,1310,1142,745,872,1072,901,1158,1324,1272,1180,1188,1200,1232,1042,1212,1152,1306,1166,896,1238,1360,1252,1180,1206,1062,1022,1082,1256,1016,906,887,996,1178,1518,1372,987,1010,1046,1001,836,1068,1182,1054,816,1076,1266,1288,1038,669,635,808,862,913,1278,1406,1502,1502,1154,1132,1240,1378,1406,1560,1560,1350,1182,1104,1228,1368,1240,1116,1520,2386,2540,2122,1480,1320,1302,1242,1021,1154,1516,1616,1606,1302,1174,1052,1052,1060,903,1120,1330,1334,1278,906,833,901,785,835,1028,1172,1366,1444,1316,1294,1040,838,930,1104,1050,1026,1240,1288,1186,1090,1188,1208,1144,1044,1007,1222,1176,1070,1212,1196,1162,1134,1196,1140,1290,1186,1192,1606,1530,1206,987,1064,1156,1200,1554,1510,1344,1228,1156,1302,1456,1162,1118,1210,1110,1054,1154,1200,1212,1234,1090,1126,1078,1130,1176,1400,1696,1476,1218,1212,1178,1188,1400,1338,1138,807,763,957,2226,2810,1476,1222,1618,1648,1394,1272,1440,1498,1966,1980,1142,378,372,367,319,363,524,630,805,670,446,437,869,1226,933,921,1196,803,457,340,349,395,638,597,465,382,421,586,731,1268,1490,1494,1328,1328,1410,1392,1462,1582,1386,871,574,597,482,366,375,353,299,270,272,311,341,287,449,576,711,720,614,810,1036,893,603,449,680,962,628,382,423,1770,1498,825,1244,1332,1082,538,432,413,289,232,292,380,930,1170,1102,838,619,900,982,929,642,409,427,601,637,729,633,553,469,400,694,974,1132,1182,827,494,531,596,446,609,775,547,908,1086,714,513,439,536,611,380,399,674,621,487,406,775,1076,1412,1878,2062,2056,1874,1716,1058,455,325,329,493,679,796,638,330,276,249,223,212,253,468,468,366,357,324,295,324,302,275,419,846,869,595,577,523,365,664,577,570,447,283,634,803,521,783,1134,873,347,391,565,395,334,269,602,1218,1426,1604,1526,1390,1552,1258,1238,1108,1322,2148,1636,694,876,1236,1350,1382,1112,825,1260,1160,963,1015,699,777,1084,749,1072,1598,1702,2302,2792,2920,2664,1684,1234,724,886,710,477,370,586,940,1009,954,694,447,428,487,423,357,374,406,748,1376,1598,1526,1208,1102,1108,978,755,680,643,1011,906,553,461,685,874,1072,980,1028,1266,1042,721,628,568,551,860,1066,1070,1004,1354,1678,1576,1182,905,836,869,991,1003,1034,1200,1222,1460,1260,982,747,447,498,670,872,1086,1176,1076,1028,747,857,847,677,1038,1088,741,1916,3436,2676,1320,1654,1626,1198,979,1092,959,1004,956,793,951,1170,1252,1206,677,528,807,1134,1021,866,1015,1016,682,622,973,1078,1013,1090,1172,1084,946,892,1054,1028,668,600,509,738,1290,1260,1004,1074,1082,1176,1576,1874,1808,1816,1786,1936,1976,1992,1570,1292,1314,1310,1564,1550,1512,1490,1366,1554,1548,1422,1374,1428,1416,1530,1656,1552,1410,1260,1318,1174,1196,1124,1180,1140,1230,1128,1076,1172,1162,1030,981,1062,1150,1484,1630,1598,1052,1084,1406,1398,1192,951,840,830,991,1230,1396,1618,1268,1214,1226,1028,1122,1106,1016,963,888,775,539,709,1032,1102,608,580,1050,1242,1264,1278,1170,1436,1720,1654,1338,1376,1486,1400,912,1146,1340,1164,1478,2138,2304,2192,1992,1636,1334,984,1174,1226,1180,1017,1226,1124,720,581,852,1034,982,942,1098,1228,568,407,361,422,691,662,607,775,624,361,462,736,998,1162,1098,686,533,471,460,602,843,832,625,476,555,901,1328,1468,1588,1694,1496,1178,1074,1644,1964,1968,2168,2142,1752,1520,1390,1160,1042,1074,1432,1636,1612,1552,1572,1656,1720,1786,1886,1874,1774,1672,1540,1560,1668,1488,1514,1454,1196,819,814,897,700,431,393,464,537,486,558,529,379,319,323,346,367,382,403,386,361,325,304,341,364,331,321,303,289,302,309,436,905,1360,1638,1566,1166,1212,1396,1382,983,695,678,1066,1336,1350,1350,1434,1654,1664,1520,1494,1544,1374,1198,1434,1406,1494,1346,1078,1052,1148,1228,1388,1212,1366,1506,1156,1052,1002,1122,1180,974,1040,1448,1544,1396,1318,1238,1166,1288,1176,1248,1110,915,1012,1072,1142,1248,1388,1410,1438,1362,1422,1476,1610,1418,1200,1230,1110,919,885,963,1194,1052,1068,1470,1074,1038,1224,1100,1104,1012,1274,1558,1526,1592,1576,1616,1600,1448,1370,1414,1422,1472,1520,1652,1700,1830,1870,1666,1484,1388,1182,1336,1582,1514,1550,1678,1700,1710,1618,1382,1346,1322,1282,1416,1298,1132,1005,694,575,588,550,677,515,412,520,755,1021,1122,870,550,827,522,445,433,674,1088,1310,1366,1470,1142,733,884,1282,1174,996,989,1228,935,843,1116,873,692,860,1040,1318,1394,1412,1194,966,1028,1202,1104,1448,1760,1338,1272,1546,1464,907,969,916,955,792,1026,1264,1036,904,961,874,977,1230,904,534,535,800,1138,1154,1454,1346,1460,1002,952,1148,878,758,1070,1088,942,928,831,1001,1172,1452,1410,1280,1380,1184,1172,1482,1498,1448,1240,943,1110,1268,924,701,466,381,491,923,907,609,821,789,549,408,393,383,408,686,987,1214,942,1154,1250,835,615,819,1198,1198,855,821,719,467,323,491,714,733,639,507,508,755,847,696,943,1020,918,1210,1374,1120,1116,1074,673,535,788,947,802,760,653,755,982,1102,1412,1360,1412,1264,1272,1172,1014,1030,1090,1390,1586,1870,1007,848,1074,990,990,860,754,1080,1466,1322,1188,1400,1422,1232,1498,1354,1104,1116,1400,1362,974,683,727,1168,1324,844,764,636,491,773,969,1130,1034,1028,1222,1458,1312,1058,973,814,1288,1478,1368,1154,1130,1368,1262,1244,1328,1382,1310,902,669,1026,1114,1142,934,1050,981,1134,1100,1023,1212,1154,821,910,1266,1360,1344,944,988,1140,822,938,804,1068,1204,1190,918,680,913,814,722,743,1150,1598,1558,910,602,564,561,533,614,700,642,539,680,655,771,705,1224,1514,1262,1158,1028,799,890,1152,1216,1100,1230,1168,753,550,642,1028,1346,1340,1184,1182,1412,1404,1236,1312,1400,1400,1018,1376,1548,1572,1736,1760,1836,1772,1556,1332,1316,1408,1548,1390,1368,1164,1418,1108,756,1036,1226,1420,1418,1410,1530,1396,1434,1560,1414,1220,1042,889,722,652,645,531,448,439,492,592,872,1096,1032,1166,1007,750,916,938,943,1096,1166,1186,1214,1412,1538,1538,1646],[718,449,354,375,414,345,350,428,463,419,383,405,417,274,254,346,359,252,249,294,463,623,639,910,1206,951,681,470,579,747,536,1096,1674,1176,494,349,382,684,962,1019,924,775,1278,1302,570,476,481,714,631,447,370,370,394,441,736,1056,605,358,360,328,336,325,342,332,304,410,482,555,750,801,847,901,1068,663,620,376,284,316,352,662,990,1466,1720,1194,550,615,1058,1058,862,861,972,857,823,531,725,1174,1016,974,1152,853,888,1188,794,633,1110,961,780,472,292,264,265,289,289,273,347,481,576,694,1144,770,616,878,1130,1114,929,1042,896,558,458,749,1164,987,1184,1388,941,670,877,871,713,731,1260,1714,1270,1188,1482,958,513,417,425,379,860,1360,1340,1236,766,738,821,808,940,675,1378,1564,1444,1338,1184,1222,1074,702,576,428,398,328,448,983,1252,1052,882,1018,1278,1224,922,633,369,270,240,267,289,318,298,289,308,430,593,656,662,598,483,451,483,389,228,217,257,292,353,388,407,477,642,634,550,351,319,320,324,347,336,287,305,288,261,275,321,416,444,455,398,346,425,407,335,357,312,374,510,479,265,232,253,280,266,301,298,311,627,753,473,372,368,331,354,383,465,494,497,612,789,857,670,991,1166,822,900,782,716,921,943,1052,1220,1096,805,783,880,807,1126,1206,798,542,861,1294,1488,1604,1334,1216,851,646,984,1394,1078,694,653,792,683,590,988,1300,933,1194,1460,1456,1314,1168,1356,1362,1002,704,736,766,709,877,1126,1202,943,1070,811,647,982,1328,1032,647,622,753,1032,1128,838,539,409,467,536,546,912,1338,1366,1020,1418,1530,1022,974,991,1038,1054,1084,601,371,662,878,1188,1422,1128,1052,1044,1106,1300,1028,1216,1118,1030,1182,1182,780,714,932,985,1068,1208,1296,1306,1328,1260,1230,1256,1178,1046,1016,973,1310,1456,1258,1066,996,1238,1098,993,1268,1120,1270,1136,833,670,983,1524,1426,1028,1028,1136,1472,1666,1316,1180,1302,858,1028,1504,1670,1646,1544,1288,1318,1520,1524,1512,1436,1354,1448,1015,786,797,788,601,718,868,695,731,906,963,623,679,734,734,868,863,894,915,834,861,927,1216,1352,1328,1250,1394,1432,1618,1482,1122,673,675,900,1114,1742,1750,1238,825,883,952,697,731,693,755,952,946,1054,1194,1256,1080,780,1210,1466,1434,1290,1152,552,448,427,808,1300,1280,1144,906,1078,1274,1208,1198,1166,1278,1192,1192,1510,1494,1650,1366,835,1011,1284,1021,1000,1172,1130,1210,1322,910,451,315,296,436,587,688,968,1232,1162,1288,1422,1294,1004,1198,1416,1348,1216,1234,1198,1030,750,747,982,951,805,1010,1332,1498,1300,1114,1070,985,996,1226,1076,996,1042,1314,901,695,982,1138,1108,1386,1282,1036,1144,1028,1026,984,1086,929,901,745,1076,1198,980,889,822,820,789,539,758,1350,1274,1198,1262,1192,1122,1262,1474,1602,1460,1284,1200,1074,1118,1290,1196,1194,1132,1568,2198,2002,1414,1166,1028,1262,1434,1134,1098,1260,1506,1552,1152,1180,1228,1282,1340,1190,1224,1178,1238,1196,893,917,879,809,952,1084,1168,1112,1126,1390,1476,1154,1208,1318,1234,901,1138,1428,1332,1228,1282,1222,1206,1170,1100,1138,1212,1116,1116,1108,1062,1007,987,1140,1142,1216,1302,1238,1182,1260,1206,1100,1098,1142,1013,1036,1148,1114,1132,1244,1200,1280,998,907,1096,1136,1154,1266,1374,1556,1112,1036,1016,1038,1062,1222,1360,1390,1406,1506,1456,1378,1362,1234,1074,814,596,929,1172,1716,1568,923,1120,1548,1678,1684,1650,1426,1476,1406,972,589,374,410,393,304,442,931,948,724,745,762,794,1112,1246,1042,1068,1100,776,543,543,422,405,502,921,899,656,614,544,1015,1724,1548,1432,1272,1340,1400,1392,1484,1490,1636,1568,1030,494,412,399,329,272,310,253,279,373,589,709,669,448,473,518,586,824,945,703,558,439,777,1418,1100,618,1306,1960,854,519,669,787,1266,567,300,297,273,272,370,724,1011,1076,1312,971,716,746,571,430,373,374,340,428,484,519,412,324,327,377,589,957,1210,1260,1202,1082,864,574,670,937,634,419,655,686,468,459,583,719,672,362,265,614,944,848,602,761,832,848,1384,2004,2102,2040,1714,1034,564,349,280,311,454,537,390,300,332,238,207,280,389,579,474,509,667,483,353,337,277,258,473,1000,777,692,633,452,578,805,778,941,615,305,655,787,375,626,803,485,422,738,570,395,492,454,829,1390,1460,1676,1506,1382,1362,1242,1390,1238,1242,2046,1512,736,878,1112,1034,1104,1250,899,1200,1132,1176,1432,901,868,1186,913,1078,1504,1630,2164,2684,2610,2204,1440,1236,996,1166,1168,1044,836,902,1044,951,866,614,336,391,462,374,305,365,396,372,771,1198,1428,1300,1028,892,1007,826,817,800,680,431,454,431,438,506,766,810,658,730,532,434,481,604,679,969,1210,1208,1144,1428,1656,1452,1174,1166,1204,1108,1003,1270,1494,1168,1174,1530,1388,1266,1124,1450,1940,1928,1708,1766,1754,1180,951,789,786,929,1058,1294,1232,852,1512,3116,3466,1412,1476,1584,1322,1132,1162,1162,1226,1206,1066,871,858,1110,1023,668,478,652,1208,1208,909,600,472,419,410,512,579,664,771,833,549,615,642,686,1226,778,340,672,935,988,1266,1218,918,1002,1404,1868,1758,1850,1892,1874,1750,1382,1216,1048,1062,1080,1262,1506,1284,1250,1294,1434,1246,1084,1196,1022,970,1340,1734,1980,1820,1512,1412,1444,1426,1454,1366,1412,1386,1254,1240,1262,1102,1112,1124,1082,1228,1354,1428,1402,1254,1002,1096,1268,1196,1026,906,861,845,920,998,1310,1460,1064,886,1003,1112,1102,1046,987,951,1152,1320,932,1036,1218,1276,1324,1526,1618,1260,1200,1364,1682,1740,1610,1486,1152,1502,1478,1622,1440,1484,1520,1378,1720,2146,1964,2078,1988,1528,1144,1104,1304,1248,1126,1050,1096,1166,875,656,937,1020,1008,887,970,1278,697,414,361,405,662,639,667,962,735,493,474,673,964,1296,1432,1064,845,666,626,750,910,977,834,489,434,684,1202,1478,1656,1672,1650,1750,1926,2066,2060,2084,2196,2104,1804,1542,1350,1262,1212,1328,1462,1322,1474,1608,1654,1834,1886,1844,1692,1332,1256,1340,1556,1640,1410,1162,1084,1070,771,493,606,494,270,295,386,393,509,489,447,383,323,291,303,375,390,383,396,404,389,350,332,364,346,287,293,297,276,333,388,595,1098,1150,1138,1226,1096,1392,1870,1952,1584,1388,1328,1440,1864,1810,1768,1632,1564,1384,1418,1416,1286,1214,1448,1416,1362,1542,1384,1164,1136,1044,1144,1124,1166,1736,1426,1034,1184,1236,1316,1222,980,1218,1510,1388,1126,1062,1190,1246,1092,1278,1456,1068,934,905,864,1086,1302,1586,1476,1166,1102,1764,1572,1310,1200,1100,1194,1342,1262,952,1020,1330,1122,1208,1252,968,989,1094,1005,1132,1372,1616,1654,1448,1474,1368,1544,1434,1270,1418,1438,1454,1368,1336,1506,1506,1438,1560,1466,1238,1228,1194,1570,1524,1470,1560,1616,1726,1614,1372,1230,1188,1200,1292,1368,1472,1214,905,610,709,650,1080,1468,747,383,481,707,895,775,369,535,700,442,376,485,632,801,847,1230,1544,1258,943,735,899,1072,896,1002,1120,882,783,1074,1250,1142,979,1062,1410,1448,1338,1222,1284,1506,1726,1672,1418,1338,1472,1432,1276,1048,612,870,821,548,458,772,1180,984,1078,1196,1074,1350,1224,885,934,912,1126,1460,1416,1284,1544,1378,992,931,999,1060,1036,1172,1182,1001,1180,1018,1190,1314,1334,1178,1152,1488,1304,1304,1424,1388,1406,1328,1300,1268,1268,1272,937,589,691,700,762,557,381,625,779,714,760,604,439,555,650,935,1224,949,930,894,646,475,691,852,894,910,841,777,530,314,535,750,675,559,405,518,1024,1023,728,595,698,968,1218,1180,979,1100,1092,707,488,527,738,814,794,546,608,542,553,772,1210,1484,1484,1344,1126,1102,1194,1114,1324,1710,1998,1168,827,814,958,1023,875,745,1009,1206,1334,1360,1314,1122,788,1172,1196,1054,786,763,1248,1286,901,1040,1838,1176,595,538,438,583,1054,1160,978,919,904,683,902,986,896,933,831,1104,1296,1278,1264,1290,1408,1334,1232,1186,1378,1656,1494,1174,1386,1368,1424,1108,1238,1228,1242,1126,970,1222,1228,1138,1154,1214,881,1366,1110,953,1140,1070,933,894,982,849,594,435,558,795,952,1048,778,1344,1712,1408,1160,840,614,463,486,659,608,609,666,803,870,847,703,541,727,851,748,711,781,1012,1228,1192,1192,1220,1124,924,994,923,1086,1312,1270,1414,1234,1140,1320,1140,1340,1346,1324,1222,1332,1316,1288,1306,1494,1678,1858,1858,1836,1832,1612,1700,1406,1360,1320,1344,1026,997,1204,1306,1222,1282,1326,1282,1362,1292,1242,1134,970,955,922,673,628,814,566,371,402,421,598,998,1010,981,1018,957,1110,1284,1184,941,1032,1252,1314,1292,1188,1292,1416,1494],[456,642,517,442,409,339,313,351,393,399,411,471,502,323,489,814,705,581,437,370,444,490,549,804,1046,905,830,501,487,773,1010,1722,1996,1396,602,372,390,600,623,854,1017,1017,1382,1220,609,430,549,1114,1084,544,444,440,460,549,882,1204,733,399,305,343,355,316,303,284,281,411,440,395,503,689,1015,937,1112,646,458,451,425,508,792,1106,1170,1120,816,497,358,503,943,1050,713,596,831,918,979,735,557,1032,988,955,1040,703,547,948,677,383,518,641,565,391,337,285,337,308,316,346,631,824,639,457,855,794,438,420,719,799,681,888,518,411,480,620,954,1282,1412,1324,987,792,850,1090,1154,983,1292,1598,1490,1650,1292,644,383,357,368,358,966,1500,1194,1090,1266,790,752,752,749,653,950,1126,1128,1192,1288,1288,1218,769,625,490,492,432,385,617,980,910,609,779,1196,1316,1196,828,469,371,316,312,331,346,337,332,341,444,527,551,585,597,540,474,523,414,237,205,247,295,354,459,496,567,733,812,907,468,335,320,314,416,474,443,438,335,234,239,320,457,523,661,509,369,447,513,381,342,414,535,654,450,205,193,214,196,209,270,296,292,506,632,485,358,343,338,349,375,492,447,689,843,938,941,842,1212,1196,980,1128,1176,869,1018,857,1282,1284,1274,1290,930,1072,904,899,1426,1474,1076,1086,1192,1248,1458,1478,1238,939,825,1172,1612,1270,1017,1164,851,555,1104,1190,798,1218,1404,1038,608,537,919,1372,1360,920,486,438,638,919,841,870,813,786,993,1230,1220,1114,818,651,701,811,868,1492,1730,1116,598,486,507,504,608,889,1134,1156,817,804,925,907,818,889,750,543,583,574,442,631,1042,1276,1296,1310,1546,1112,1232,1186,983,1036,766,836,1021,874,600,552,696,822,812,921,1038,1344,1188,1244,1138,1118,1268,1180,896,769,1144,1230,959,1006,1054,1164,1048,1108,1230,1420,1664,1052,734,1044,1182,1562,1470,1026,1196,1304,1710,1894,1404,1432,1350,1030,974,1148,1286,1382,1482,1214,1234,1300,1506,1366,1426,1592,1522,1430,1434,1378,1224,1062,1030,991,824,781,1084,1070,650,797,948,852,760,677,955,1086,974,1068,1188,1270,1326,1212,1256,1104,968,1384,1282,1005,921,1168,1268,1506,2348,1884,1090,816,799,950,939,924,750,779,1288,1470,1282,1148,1040,996,962,1406,1676,1784,1442,1222,836,535,422,661,980,899,916,1082,1126,989,916,1176,1192,1342,1176,1122,1654,1828,1360,1202,1230,1036,965,827,971,1198,1226,1378,1462,1098,543,303,303,452,658,861,1076,1332,1162,1064,1188,1084,896,923,1082,1186,1007,1162,1434,1482,642,692,1012,1028,705,918,1434,1560,1410,1254,1142,1092,977,1068,875,1118,1110,1318,1238,1136,1280,1252,1172,1176,1104,1122,1322,894,730,969,1000,882,650,495,747,863,863,878,767,878,509,471,750,1082,1064,1088,1160,1218,1384,1494,1598,1556,1436,1260,1202,1290,1378,1322,1132,1120,1152,1268,1378,1260,1216,1166,1158,1334,1420,1370,1158,1236,1470,1422,1198,1394,1532,2128,2360,1412,1314,1260,1230,1064,1030,971,869,841,992,1044,1070,958,1090,1396,1394,1084,989,1136,1074,1010,1288,1520,1474,1510,1210,993,1102,1116,1005,1007,1166,1226,1144,1104,1150,1076,1048,1260,1484,1468,1250,1098,1052,1118,1266,1390,1180,962,965,1078,1104,1222,1300,1226,977,880,929,1036,1130,1234,1146,1332,1350,1516,1254,1212,1400,1362,1144,1244,1266,1250,1224,1368,1340,1516,1526,1236,894,567,881,1136,1592,1666,1340,1082,1230,1542,1476,1316,1588,1656,1512,1056,919,1022,539,386,414,586,846,1122,1374,1011,617,664,956,1074,1262,1506,1360,1150,986,1224,979,536,575,566,573,789,956,925,692,900,1412,1384,1042,1214,1262,1260,1392,1512,1434,1416,1470,1410,875,582,570,447,333,310,294,286,448,736,1056,1054,1034,1110,621,486,561,652,675,577,424,477,705,683,522,1096,1088,395,433,491,1410,1958,568,299,330,282,289,549,1088,1168,1234,1346,891,863,1140,1182,920,715,482,391,345,379,412,405,414,418,411,571,1013,940,1042,1040,1248,1426,1140,1266,1180,590,349,290,307,244,324,485,613,459,316,292,529,990,1138,977,514,559,457,683,1252,1890,2084,1534,931,608,493,268,258,298,359,689,527,333,354,483,651,481,385,500,847,854,431,456,308,308,256,530,871,883,884,769,586,801,861,749,966,528,361,739,847,500,998,1248,647,624,908,635,586,738,730,1028,1360,1252,1382,1224,1224,1022,1168,1264,942,1166,1546,1072,813,1001,1134,1096,1158,1148,895,1036,1172,1160,1172,987,1204,1234,750,582,818,1038,1422,1462,1324,1130,1080,1214,1406,1646,1526,1116,720,711,655,539,714,693,395,369,368,317,311,343,358,338,567,1134,1374,1240,1152,1126,1080,964,844,830,643,462,382,330,321,424,674,732,663,824,605,739,859,898,996,1266,1498,1544,1440,1452,1366,1188,1260,1362,1042,679,472,562,1130,1034,1140,1312,1282,1518,1546,1614,1836,2068,1886,2068,1572,1102,1092,925,802,1134,1408,1298,1278,1200,1354,2056,2752,1376,1212,1490,1490,1350,1052,780,905,1140,1146,1128,671,892,694,637,711,1088,1428,1388,1166,830,642,598,418,398,401,408,404,454,441,780,644,535,789,552,516,1038,1238,984,930,1128,825,1032,1606,1634,1334,1532,1782,1814,1346,946,1166,938,1064,1034,1302,1318,1418,1776,1706,1634,1376,1086,950,987,1120,1240,1452,1592,1468,1226,1632,1568,1382,1436,1544,1656,1578,1446,1462,1400,1256,1400,1316,1214,1186,1374,1146,1246,1326,1218,1344,1464,1184,1122,1078,1026,1023,1108,1238,1498,1372,923,1140,1486,1450,1228,1368,1614,1174,1434,1882,1394,1440,1496,1124,1064,1312,1168,1020,1124,1076,1532,1532,1396,1068,952,1266,1316,1570,1552,1340,1306,1026,1050,1344,1528,1760,1508,1246,1118,1146,1152,1186,1152,1112,1130,1126,929,686,857,888,959,765,774,1246,822,365,401,444,444,383,719,1023,526,421,738,759,847,1190,1454,1378,1090,808,799,870,912,927,964,642,537,919,1470,1808,1792,1580,1614,1860,2032,2082,2132,2052,1974,1842,1816,1692,1452,1382,1510,1528,1262,1092,1432,1782,1864,1842,1632,1344,1136,818,742,758,1194,1120,863,906,1040,1178,1050,799,451,298,332,355,414,472,467,429,355,301,310,288,304,405,423,351,343,374,366,347,312,316,297,286,330,327,382,463,454,545,1086,962,795,963,1094,1704,2164,2078,1950,2000,1838,1670,1902,1756,1726,1336,1336,1412,1336,998,1046,1274,1468,1634,1444,1350,1192,1186,1124,1104,1192,941,1172,1686,1378,1188,1028,962,1124,1098,937,1200,1556,1354,1134,1108,1334,1512,1356,1632,1670,1134,938,741,625,857,1102,1398,1230,872,948,1460,1400,1266,1152,1216,1502,1416,1114,1190,1200,1094,796,668,743,713,677,949,1120,1214,1418,1634,1626,1316,1466,1362,1328,1110,840,1120,1180,1046,1100,1260,1346,1390,1150,992,1028,902,1124,1354,1484,1438,1896,1990,1638,1678,1428,1248,1284,1062,952,985,1332,1334,944,803,956,1136,862,1282,1730,1064,568,462,624,891,842,505,389,576,706,637,759,1100,1001,692,901,1382,1300,1136,849,752,977,758,716,724,682,722,1132,1276,1290,1190,1184,1280,1224,1080,1366,1384,1322,1560,1594,1338,1092,920,924,1222,1176,1154,984,894,922,943,1278,1316,933,860,1056,1328,1416,1340,1284,940,812,854,1394,1526,1534,1470,1148,1104,916,1120,1250,1024,1128,1160,954,1180,1330,1398,1410,1378,1362,1912,2146,1422,1494,1302,1322,958,1190,1348,1656,2002,2036,1548,1066,1012,792,828,394,316,513,786,1108,1268,790,491,647,661,959,937,855,1052,832,879,821,1170,895,794,1038,1013,1016,816,516,541,552,457,372,588,935,1666,1600,1134,1080,1152,1184,1144,1100,1188,1080,787,855,673,652,624,771,839,689,564,565,799,1034,1030,890,902,1432,1536,1384,1482,1258,1114,1226,1272,1258,1104,1042,1120,1086,926,912,1064,1130,1464,1444,1306,1104,802,985,1262,1266,994,1021,1444,1018,924,1128,1450,998,773,803,730,885,977,1112,1272,1108,815,636,604,1013,788,922,1086,1260,1338,1364,1320,1420,1526,1186,1130,955,951,973,1450,1366,1308,1262,1158,1018,1182,1204,1232,1246,1072,1076,1060,1068,1112,1130,999,1646,1376,934,1064,1230,1158,884,617,474,534,459,500,474,685,890,927,1234,1100,1168,1412,852,714,605,471,544,518,616,867,1134,1166,1082,924,601,447,546,872,910,849,1192,1330,1226,1356,1424,1296,932,1019,1088,865,964,1038,1338,1220,1040,875,868,1009,1036,1326,1542,1406,1230,1238,1340,1310,1080,1380,1720,1910,1914,1888,1832,1648,1572,1448,1330,1138,1162,1260,1678,1332,1260,1308,1310,1202,1298,1136,931,896,635,582,612,619,720,557,431,433,481,711,781,807,906,1096,1246,919,949,1198,1116,992,1198,1392,1176,1214,1374,1318,1190],[335,577,569,525,444,350,319,312,393,498,422,402,473,326,440,733,841,977,839,606,504,448,463,507,564,579,1152,985,594,719,968,1288,1686,1172,621,590,938,1014,765,904,965,933,1142,1192,651,422,595,926,888,637,774,756,707,871,1034,857,717,495,357,372,358,297,265,278,282,386,500,418,418,549,832,969,912,738,792,869,836,897,1206,1420,1500,1150,885,724,697,497,455,412,407,572,696,852,1044,758,334,332,480,979,1214,827,670,789,512,375,477,738,1050,866,783,398,357,313,325,524,1038,1250,875,421,575,834,763,767,1178,855,659,717,451,375,491,512,839,1706,1828,1066,678,654,642,902,1082,909,830,858,1050,1338,792,359,327,300,297,250,449,876,1146,1290,1568,1114,728,674,580,673,902,896,1058,1388,1360,1390,1296,1122,669,446,490,446,385,609,1122,1214,995,1170,1434,1488,1320,835,491,410,355,358,369,351,347,339,292,296,301,340,321,318,360,382,390,316,232,229,269,295,383,777,949,850,679,631,813,648,411,307,259,346,411,387,396,325,249,281,286,445,585,718,557,346,407,483,416,392,433,466,491,295,221,211,238,207,227,227,274,291,311,354,334,315,337,355,335,381,395,672,979,1044,951,1026,1318,1272,1222,1338,1224,1090,1156,1272,1136,1122,1160,1290,1184,988,930,901,1160,1426,1174,1080,1138,1168,754,1134,1612,1502,1426,1316,1260,1306,1152,1078,1005,850,951,1294,1116,875,1128,1198,1038,746,678,1024,1298,1246,987,912,599,828,1044,868,620,665,800,857,1012,1274,947,541,631,865,736,589,938,1636,1140,610,476,460,493,573,587,693,786,659,695,772,822,488,504,603,635,711,825,906,1180,1310,1232,1332,1338,1350,1244,1232,1218,1300,861,858,1132,1070,977,760,672,534,686,832,915,1184,1312,1082,1276,1262,991,978,1164,965,1014,1314,1318,1208,1112,1208,1254,1044,1084,1180,1244,1380,1054,704,725,694,1028,1054,1126,1130,1026,1098,1282,1160,1102,1048,1104,1122,1048,999,1148,1350,1206,1306,1350,1268,1100,1192,1316,1196,1086,1134,1190,1282,1436,1392,1328,1450,1444,1422,1460,1312,1202,1270,1288,1144,1056,1244,1334,1286,1324,1256,1208,1220,1234,1324,911,971,1410,1294,1132,1136,1258,1344,1316,1482,1418,1262,985,845,1021,1146,1238,987,971,1356,1404,1202,1102,649,978,1124,1132,1284,1544,1356,1168,1102,741,617,868,1278,1190,1028,1230,1366,1005,686,838,973,992,941,1064,1054,1094,1204,1366,1268,775,602,621,892,1250,1274,1344,1542,1346,758,455,383,706,913,1056,1048,1001,1072,1216,1194,1202,1082,946,1038,1044,949,973,1128,1520,914,765,1312,1288,725,814,1184,1294,1254,1162,1188,1220,1138,924,985,1228,980,976,1118,1202,1202,957,681,906,1378,1316,1180,860,735,1008,1094,1192,985,780,902,966,958,863,644,669,715,808,1056,1066,1124,1220,1070,1260,1522,1422,1500,1684,1642,1336,1226,1428,1530,1158,1010,1118,1250,1304,1134,1208,1226,1032,1222,1414,1600,1416,1318,1388,1434,1402,1170,1238,1256,1134,1013,1150,1422,1294,1376,1150,1092,1011,836,926,1066,1080,1017,1122,1354,1282,1294,1072,1072,1408,1034,976,1234,1216,1474,1622,1170,1070,1500,1226,968,1015,1120,1158,1076,1056,993,952,1086,1282,1306,1232,1304,1338,1274,1446,3144,2186,1106,932,908,970,1060,1136,1240,1356,1292,1346,1198,1138,1204,1218,1188,1204,1190,1234,1410,1560,1418,1176,1338,1192,1298,1228,1174,1282,1540,1618,1414,1270,803,786,1210,1440,1694,1350,1194,1140,1218,1424,1180,882,895,1252,1550,1422,1558,1592,1250,730,555,1184,1336,1060,1284,1178,913,863,1142,1090,1370,1534,978,900,944,1064,841,745,763,582,531,584,679,711,624,708,1172,1015,816,901,841,890,1066,1060,1038,1224,1100,1664,1600,1386,1144,650,379,308,287,332,464,553,652,1088,1208,1136,1019,1021,658,430,531,630,645,630,598,463,596,832,543,493,536,650,2254,1390,404,422,328,271,337,718,1226,1170,977,890,913,1198,955,714,1012,1176,1118,826,547,379,326,344,391,514,518,582,1034,1172,1114,1011,1268,1434,1344,1206,956,965,619,409,318,286,317,370,337,337,422,427,816,1007,1260,1252,555,430,462,631,789,1410,1636,1626,1292,883,846,460,365,469,597,1005,917,465,383,532,606,420,381,630,1136,910,462,432,327,353,260,772,781,863,928,920,833,792,659,628,869,403,330,689,622,387,907,1276,929,756,921,903,550,310,563,1210,1328,1260,1452,1606,1354,843,758,939,1104,1456,1518,1274,1090,864,1224,1414,1212,980,709,844,919,777,760,1030,1400,1368,1152,736,587,879,973,921,1156,1440,1556,1358,1290,1522,1332,808,422,428,424,381,467,470,363,355,308,268,257,249,313,374,463,764,1154,987,824,1110,1124,1036,1120,1116,1022,798,510,385,459,718,1130,1324,1410,1408,1080,1122,1194,1302,1432,1336,1170,999,847,1080,957,679,818,644,398,342,346,449,940,1246,1260,1332,1306,1188,1490,1384,1474,1622,1880,1788,1260,1052,1084,1058,927,1090,1216,1286,1310,1252,1278,1194,1190,1002,1034,1198,1390,1516,1376,1302,1256,1090,1028,1204,886,799,714,843,1024,1204,1330,1268,1192,1023,937,915,858,701,622,786,782,670,533,567,647,627,490,431,821,1138,1196,1090,1312,1182,1084,1378,1510,1118,789,1044,1678,1662,1246,1202,1376,1130,1118,1120,1198,1460,1880,1946,1794,1616,1548,1562,1132,1174,1350,1498,1702,1444,1360,1376,1500,1272,1208,1384,1362,1224,1220,1250,1294,1298,1202,1232,1414,1560,1550,1598,1484,1402,1322,1282,1452,1654,1408,1426,1372,1146,1188,1462,1332,1416,1178,1252,1774,1262,1302,1236,1236,1520,899,1278,1942,1616,1388,1308,827,797,1234,1242,1058,860,888,1454,1578,1626,1086,1146,1544,1418,1324,1196,1074,1058,675,735,1056,1230,1344,1282,1120,1080,1134,1184,1254,1206,1136,993,1024,1020,752,604,601,570,498,741,1240,949,514,517,445,355,442,891,823,676,417,778,899,733,916,1206,1168,843,489,658,963,1052,947,934,928,1186,1582,1770,1782,1744,1748,1810,1950,1950,1838,1782,1700,1676,1720,1820,1786,1576,1648,1738,1552,1414,1552,1788,1838,1714,1466,1270,976,758,719,583,668,948,950,753,479,512,719,741,669,421,310,283,326,404,419,493,504,371,366,402,325,344,397,413,348,343,322,336,355,366,380,307,302,392,403,466,487,471,419,1052,954,686,955,1220,1676,2064,1960,1908,1936,1888,1622,1582,1434,1468,1296,1410,1446,1050,789,1094,1346,1400,1544,1450,1394,1232,1230,1206,1312,1366,1220,1208,1090,1292,1776,1506,1098,973,1016,849,1166,1306,1160,1144,1108,1244,1294,1262,1512,1384,1026,943,815,719,813,888,982,929,774,628,695,1264,2036,1704,1482,1336,934,704,948,1148,1238,1100,1030,1060,1064,1304,1562,1360,1324,1338,1480,1502,1456,1544,1372,1266,1244,1110,1190,1068,593,735,1244,1310,1210,1234,1428,1172,885,1013,1576,1676,1478,1644,1504,1406,1552,1332,1302,1428,1362,905,656,1013,923,483,455,932,1264,885,985,1118,1248,1114,804,990,1072,1038,959,700,637,923,952,1036,1290,1028,880,612,971,1050,1248,1206,725,480,583,567,703,831,1180,1560,1404,1122,986,1206,1070,745,738,1170,1258,1184,1306,1354,1176,996,1178,924,1230,1212,1256,989,1048,1152,1240,1246,930,908,933,1238,1596,1178,988,922,739,651,891,1172,1014,1142,1306,1044,1338,1110,807,867,844,660,480,505,855,1386,1486,1238,1182,1418,1570,1278,1510,1542,1276,1194,1042,1216,1208,1484,1902,1926,1604,1130,874,781,767,410,301,556,933,1084,1030,802,818,764,609,1126,1176,825,637,904,1330,1236,1198,781,547,774,1034,1366,1230,532,427,658,519,397,692,951,1380,1274,1076,1174,1164,1294,1330,1164,1224,1044,641,689,1196,999,805,833,623,473,441,723,1166,1146,898,853,1212,1882,1572,1356,1398,1468,1474,1410,1342,1180,1166,1186,1236,1084,651,761,945,1252,1466,1334,1260,1274,1224,1174,1232,1162,1122,1014,1328,966,683,847,1040,1122,1052,1122,1146,1094,1042,994,1124,1010,788,675,730,670,477,597,843,1009,1110,1278,1380,1544,957,703,1424,1534,1196,978,1382,1394,1360,1318,763,553,939,1238,1278,1114,1200,1368,1156,1142,1152,1056,1026,1054,1068,1042,1021,940,952,594,396,349,475,459,408,535,901,1116,1220,1048,882,1400,1704,960,1108,977,592,466,452,471,546,647,648,649,656,539,464,555,792,1012,962,1240,1238,1198,1240,1386,1244,1003,1296,1372,1074,1612,1208,1250,1588,1528,1058,741,561,695,1156,1406,1456,1212,1214,1364,1013,1078,1254,1368,1232,1344,1616,1768,2002,2056,1780,1704,1450,1410,1244,1388,1472,1404,1408,1252,882,849,1046,1108,855,618,735,628,561,631,533,483,458,451,617,801,847,857,1230,1322,808,929,1180,1174,1060,1216,1354,1108,969,1122,1198,1086],[367,375,418,473,410,357,325,325,514,631,617,600,444,365,398,437,597,869,937,1030,701,480,434,374,372,828,1666,1126,529,722,882,1306,1654,1328,1134,1028,1544,1324,939,1102,1222,1070,924,718,416,410,559,720,772,731,825,719,1015,1260,1022,627,623,614,407,393,381,330,298,316,289,305,422,514,539,663,684,659,755,1056,1184,1144,1015,1074,1206,1252,1298,1310,1146,1122,1010,618,376,393,361,453,647,879,717,410,260,287,464,961,1086,882,816,725,933,1172,1256,1570,1698,1732,1148,513,350,293,317,642,1036,1090,695,282,289,634,1170,1228,860,385,395,524,419,333,355,469,836,1180,1228,699,379,411,408,519,677,730,735,659,775,802,396,282,308,290,253,258,371,733,1164,1046,1152,1158,818,629,675,599,458,536,792,1148,1364,1466,1340,1024,521,417,449,474,473,693,1202,1348,1412,1512,1582,1550,1570,992,496,452,407,410,407,375,367,329,227,288,303,314,293,411,409,367,328,290,271,278,271,337,556,1312,1458,1230,902,752,766,619,408,312,283,242,245,262,220,226,235,268,306,430,597,702,534,373,438,448,473,459,380,289,247,185,189,222,247,234,189,237,338,279,217,283,331,345,348,409,365,341,526,962,1190,1001,862,1330,1340,1230,1494,1470,1252,1182,995,713,924,929,1124,1116,1030,1050,1019,1360,1200,1226,810,1082,1050,1268,1322,1762,1870,1692,1532,1204,1266,1130,637,904,1204,1114,1448,1174,1182,1152,1166,1140,1162,1021,735,761,859,961,1186,1332,894,1152,1458,1076,525,666,793,672,815,1120,1130,1158,667,675,592,647,667,823,980,883,580,426,536,722,789,760,706,630,543,534,414,352,328,468,714,833,946,1168,1182,1212,1112,1264,1302,1424,1418,1214,1236,1266,1011,1124,1262,1146,1140,1152,1430,977,663,611,1056,1360,1230,1218,1198,1058,1021,1118,1120,939,1256,1366,1312,1170,1132,1274,1322,1324,1188,1114,1090,1266,1162,984,655,1030,798,753,1054,1026,972,1174,1266,1252,1200,1078,1098,1036,962,943,808,943,1048,1048,904,997,1100,1056,1004,990,1038,1122,1196,1158,1216,1056,1028,1072,1232,1530,1616,1318,1382,1458,1350,1392,1494,1496,1424,1450,1512,1442,1450,1482,1464,1520,1438,1370,1426,1382,1316,1208,1306,1416,1290,1306,1372,1300,985,880,959,1190,1336,1076,1208,1622,1376,1158,1194,1078,1104,1166,1174,1166,1418,1506,1514,1272,918,910,1126,1290,1296,1092,1106,1250,1130,1056,943,910,748,854,1080,896,1098,1190,1280,1108,720,505,430,769,1188,1256,1196,1186,1204,811,634,630,963,1017,921,820,710,989,1194,1172,1254,1162,1262,1262,1276,1280,1216,926,1044,968,834,1186,1324,821,860,1092,1228,1350,1256,1146,1296,1226,1050,1072,946,871,966,1038,1152,1068,725,612,968,1278,1234,1506,1604,1470,1238,1040,1020,997,1040,927,784,705,1015,1028,937,1040,1272,1316,985,917,1090,1274,1450,1284,1182,1274,1610,1406,1282,1200,1238,1168,1126,1264,1198,1354,1526,1338,1276,1188,1013,1126,1462,1358,1430,1612,1430,1426,1410,1246,1246,1168,997,1054,1220,1354,1300,1348,1238,1146,1048,952,1110,1274,1184,983,1230,1274,1234,1240,1001,1174,1152,898,936,1130,1212,1194,1194,1178,964,1156,1192,1148,1114,952,1044,1094,1128,1156,1062,1174,1254,1074,1164,1440,1344,1260,1268,1680,1368,1228,1216,1196,1244,1272,1124,1066,1196,1220,1126,1030,1038,1012,952,1092,1172,1182,1196,1234,1204,1184,1166,1282,1340,1370,1386,1512,1670,1772,1432,1262,890,676,1096,1446,2148,1666,1162,1170,1142,1272,1256,1128,1034,777,672,1338,1656,1628,1644,1632,1202,941,1328,1260,1104,1104,1206,1372,1298,1306,1284,1474,1144,768,811,758,692,873,1018,970,686,609,626,714,529,399,583,736,736,976,1092,887,753,1007,1228,926,898,933,1344,1478,1570,1538,1332,955,596,397,457,900,994,632,957,1030,1104,1198,993,699,490,273,353,569,737,688,535,801,1166,1190,997,818,802,1660,1096,380,460,648,441,357,818,1196,1070,1132,1220,1260,1226,799,547,528,719,995,1246,1158,910,613,435,372,430,460,458,1126,1522,1058,824,847,1034,1208,921,444,476,747,588,435,361,323,299,232,406,588,617,1276,1184,1438,1400,1028,897,969,716,813,1314,1556,1676,1700,1324,943,888,496,378,550,770,737,513,440,805,908,448,536,903,938,637,359,262,260,309,336,898,1132,1038,951,839,568,686,451,550,874,443,334,699,689,410,480,814,839,620,803,738,354,349,634,1276,1396,1470,1714,1720,1476,876,404,660,1308,1670,1582,1582,1422,1424,1730,1548,1338,1038,1096,1228,738,622,975,1320,1576,1496,1406,1138,835,1168,1156,1004,1350,1658,1572,1254,1022,1414,1360,794,422,368,383,370,328,318,343,350,324,296,273,274,294,340,454,612,1102,1018,776,997,1064,1196,1346,1262,1340,1432,1344,1054,1010,1396,1500,1248,1020,1130,1302,1304,1232,1090,893,879,1062,1112,1062,1306,1138,827,744,607,593,713,639,507,846,1228,1254,1146,1216,1232,1528,1146,1058,1304,1530,1506,1268,1216,1288,1098,1060,1310,1396,1190,1202,1130,989,870,959,993,898,883,1034,1174,1236,1618,1534,1510,1498,1472,1176,1132,1042,1060,1126,1182,1216,1160,1160,1328,1476,1342,1382,936,1074,1366,1158,989,857,856,1058,1078,894,666,980,1100,1174,1076,1192,1298,1346,1160,1048,1214,1168,810,1452,1704,1416,1256,1178,1162,1100,1182,1302,1628,1910,1868,1584,1614,1810,1766,1468,1326,1382,1632,1526,1350,1414,1506,1474,1222,1200,1396,1392,1284,1190,1290,1320,1132,753,930,1382,1396,1466,1550,1522,1440,1498,1528,1532,1628,1760,1724,1600,1366,1268,1314,1352,1476,1212,1168,1650,1334,902,907,882,1334,1546,1474,1802,1810,1360,1210,773,835,1222,1224,1164,1166,1224,883,1058,1584,1164,1150,1642,1350,1108,907,672,991,863,863,1130,1366,1528,1478,1296,1220,1272,1312,1310,1184,1042,934,1098,1234,1042,743,713,799,749,916,1364,1214,727,559,506,395,481,619,632,688,451,567,708,783,930,849,869,733,533,745,1058,926,720,696,1170,1602,1672,1618,1602,1650,1874,1798,1586,1368,1360,1362,1496,1616,1612,1670,1744,1768,1826,1816,1760,1786,1886,1862,1692,1610,1614,1656,1194,795,744,712,850,1058,933,573,340,383,412,451,467,477,436,340,326,368,439,544,516,386,393,442,401,371,393,397,355,340,314,301,313,414,494,478,514,447,391,510,518,485,432,949,1196,1270,1328,1156,1238,1810,1958,1780,1592,1486,1044,1254,1320,1250,1264,1336,1378,1208,1050,1002,1072,1198,1334,1478,1288,1110,1142,1286,1346,1094,906,1076,1058,1470,1782,1284,1242,1324,1280,1334,1338,1228,1104,977,1126,1292,1028,959,993,899,927,889,811,861,888,858,843,832,782,681,550,771,1624,1832,1236,613,596,725,791,1250,1542,1398,1288,1152,1382,1720,1806,1572,1570,1500,1544,1642,1594,1632,1382,1272,1510,1282,1378,1370,1010,1054,1376,1116,978,1202,1278,1228,1080,1236,1404,1216,1202,1236,949,763,1232,1208,1194,940,1274,1168,775,705,583,376,472,686,756,982,1296,1344,1332,1236,1282,1256,971,1038,1310,1050,670,867,756,1042,1136,1138,900,774,1003,1078,1414,1272,619,620,918,1132,1176,817,1138,1356,1302,1178,937,923,915,650,537,904,1202,1404,1418,1274,1002,1038,1206,1094,1072,1454,1562,1158,1166,1060,1136,1130,1124,1208,1278,1140,884,700,470,558,922,990,987,1178,1134,1288,1642,1010,756,558,672,973,872,460,392,487,990,1512,1420,1300,1156,1418,1434,1160,1340,1380,1096,886,1090,1260,1286,1554,1682,1594,1172,703,445,720,628,390,361,562,802,838,675,631,582,491,492,1023,947,496,383,633,1072,1388,1222,752,547,613,1042,1666,1476,645,493,449,365,513,702,809,819,774,728,691,1044,1392,1846,1390,1090,782,670,654,854,830,1034,1066,861,576,444,540,722,713,590,913,1486,2174,1994,1416,1160,1132,1194,1454,1444,1490,1452,1086,1102,970,619,846,1238,1250,1262,1364,1320,1230,1086,744,839,1202,1322,1166,1132,1204,901,656,1144,1208,846,957,1042,1164,1174,754,661,643,893,763,842,816,517,627,822,542,680,1012,1172,1180,734,1016,1414,1482,1248,1176,1456,1332,1017,1050,787,572,787,1196,1240,1100,1428,1572,1290,1028,817,879,780,960,1232,1332,1522,929,561,649,503,374,430,494,892,1664,1644,1452,1412,1184,1288,1778,2150,1346,1068,1102,760,513,515,415,361,461,418,409,494,483,504,542,532,678,880,994,1072,1202,1282,1136,825,818,1156,1036,921,1388,1180,1050,1266,1216,874,543,421,637,1192,1518,1576,1276,1302,1094,646,967,1234,992,771,1023,1294,1344,1498,1766,1738,1772,1864,1842,1446,1176,1310,1434,1418,1316,1188,1026,1298,1284,1204,1180,1378,1100,670,584,806,927,828,877,800,924,1120,1182,1472,1370,772,730,792,724,676,987,1436,1306,861,756,938,1064],[397,367,365,356,343,354,328,313,563,722,759,615,414,470,556,527,601,999,1064,881,870,619,402,385,334,585,672,412,736,1132,948,1328,1218,1234,1308,1378,1538,1116,612,843,1354,1170,725,685,470,395,527,624,544,493,592,819,1264,1224,924,652,668,672,425,419,430,319,319,364,330,330,413,594,786,650,531,564,844,1144,1238,1124,869,891,1142,1180,1066,1074,1216,1316,1178,600,390,477,515,494,357,313,251,260,253,268,228,469,763,829,857,1048,1648,1676,1930,1932,1610,1648,846,435,524,633,528,634,775,550,318,253,270,377,1064,1092,556,330,356,398,363,274,256,434,699,597,441,336,253,272,331,394,807,993,876,860,618,371,260,335,354,295,254,348,733,1570,1786,1102,836,1088,991,771,1100,810,838,1012,1190,1278,1246,1208,1222,735,392,476,432,476,563,722,1098,1274,1272,1228,1218,1200,1504,1102,568,494,457,419,359,376,384,318,243,327,325,350,525,488,340,379,285,384,478,321,275,319,462,860,1160,1324,896,608,590,482,326,325,276,255,238,258,220,211,231,245,343,358,443,657,612,463,494,347,357,374,358,308,250,204,209,250,257,213,194,233,303,236,214,298,320,341,350,365,388,350,521,718,775,601,798,1378,1086,1007,1160,1246,1324,1276,891,695,622,472,546,700,1001,976,1282,1274,998,1172,1062,1306,1372,1430,1564,2050,2238,1686,1548,1482,1504,1472,1498,1578,1352,1048,1172,1190,1182,976,1078,1346,1418,1252,1028,934,871,1096,1170,1152,1096,1100,1015,651,626,710,791,755,702,1140,1506,1604,1130,736,661,626,696,1094,1282,1188,694,475,523,747,929,926,977,733,481,434,394,357,349,469,598,557,672,970,1260,1172,1040,1120,1278,1356,1238,1268,1356,1020,873,1482,1718,1394,1262,1478,1704,1502,1044,974,1182,1350,1200,1034,1046,1001,1072,1122,1054,1108,1180,1348,1332,1186,1274,1372,1362,1254,1120,1232,1278,1372,1228,1048,663,905,819,951,1072,1076,1242,1354,1342,1460,1394,1004,1126,1004,771,871,871,985,1064,1005,932,916,1046,1306,1224,1078,1276,1084,1268,1382,1322,1088,1138,1128,1046,1402,1562,1400,1350,1158,1050,1194,1240,1090,1094,1090,1090,1340,1472,1148,896,1120,1428,1334,1358,1550,1734,1548,1526,1592,1502,1302,1210,1396,1418,1356,1224,1460,1418,1218,1152,1480,1560,1506,1390,1336,1342,1382,1278,1310,1544,1400,1338,1013,761,569,971,1120,1216,1196,1060,1001,1384,1360,1009,941,870,918,1056,1194,1598,1606,1576,1350,1106,824,544,608,766,745,904,1148,998,744,1058,1186,1108,841,651,726,873,906,1040,1202,1212,1226,1406,1468,1334,1160,1240,1268,1158,930,542,486,860,1056,1001,1292,1302,1222,1014,896,1042,1106,1188,1228,1030,1094,1130,1086,1394,1260,829,835,999,1054,1196,1478,1484,1362,1128,1050,1010,1066,973,760,594,541,1068,1200,1090,1100,1088,1023,977,1130,1460,1538,1316,1062,1038,1154,1434,1572,1510,1514,1456,1268,1332,1418,1378,1490,1400,1340,1426,1490,1354,1220,1354,1454,1556,1394,1160,1238,1522,1170,1176,1190,1262,1102,1198,1348,1388,1406,1122,940,868,839,1116,1184,1048,995,1028,1168,1306,1262,1070,1200,989,830,1022,1126,1162,1172,1118,1148,1266,1438,1298,1252,1270,1166,1132,1138,1172,1288,1124,1204,1318,1334,1208,1268,1152,1032,1212,1372,1440,1386,1368,1576,1774,1534,1272,1332,1324,1174,888,1110,1132,988,1140,1214,1274,1152,1248,1228,1064,1040,1118,1048,1166,1338,1384,1608,1722,1608,1230,846,651,1030,1224,1642,1972,1570,1256,1118,1092,961,811,1142,1082,785,614,1216,1554,1558,1618,1620,1290,1206,1482,1498,1158,870,1084,1114,1110,1488,1544,1454,872,719,869,742,594,723,940,1172,1344,972,531,573,539,532,604,491,755,1210,1040,748,784,1262,1368,670,397,664,1226,1416,1250,1350,1382,1356,1312,1064,846,765,689,755,810,889,738,544,481,568,616,337,258,293,404,402,604,741,971,1274,1316,669,400,661,572,211,394,806,467,396,934,1128,1120,995,931,1164,1015,636,560,489,407,405,532,988,1188,1248,1076,730,489,388,365,601,771,476,634,924,916,1150,910,409,369,634,916,907,556,454,418,287,344,427,973,1530,1760,1736,1282,1154,1254,1108,700,697,1060,1770,1854,1766,1422,970,1074,993,632,369,359,300,318,492,838,921,773,800,817,544,426,357,284,227,252,435,886,1090,1116,904,1092,910,918,531,632,816,554,452,579,542,396,399,500,490,361,437,372,312,343,645,1240,1276,1406,1624,1710,1700,957,535,662,1284,1688,1566,1402,1286,1390,1218,1258,1230,966,1074,1098,776,658,1136,1294,1456,1494,1344,1188,811,1042,1196,930,1186,1332,931,877,916,1288,1228,733,450,422,363,332,290,262,321,346,314,307,300,374,449,615,748,821,1164,1372,1368,1348,1298,1152,983,1148,1590,1620,1420,1144,1196,1090,1114,1312,1372,1454,1484,1278,1062,853,555,732,813,681,653,1042,912,860,868,771,855,901,754,843,1032,1254,1322,1312,1232,949,1274,1354,1422,1506,1406,1298,1356,1542,1470,1374,1360,1388,1466,1242,1334,1182,912,970,1012,838,960,1018,847,891,1007,1350,1470,1518,1632,1614,1582,1506,1418,1414,1146,1226,1302,1166,1148,1220,1312,1464,1474,959,894,1114,988,788,681,559,799,927,801,824,974,863,806,976,1208,1366,1172,933,1134,1548,1414,1246,1680,1748,1374,1206,1276,1320,1214,1146,1472,1860,1802,1692,1398,1614,1952,1734,1376,1384,1592,1678,1528,1428,1376,1408,1434,1024,982,1244,1288,1294,1256,1362,1332,1096,779,1156,1476,1178,1136,1184,1166,1172,1056,1007,1396,1490,1336,1312,1358,1354,1412,1616,1686,1656,1532,1476,1368,1250,917,874,1012,1728,2142,1952,2164,1918,1134,1208,1034,1009,1252,1192,1242,1708,2092,1264,815,1372,1194,1042,1330,1106,1354,1264,1044,1240,1216,1168,1166,1300,1340,1300,1320,1472,1522,1300,1268,1266,1180,1366,1260,1328,1398,1360,1244,1352,1366,1188,1148,1230,726,434,446,485,500,500,805,763,566,543,570,793,828,649,913,947,623,747,796,597,766,1246,1494,1526,1412,1400,1464,1578,1642,1500,1440,1470,1440,1474,1716,1776,1676,1726,1796,1860,1908,1908,1880,1880,1886,1814,1538,1472,1472,1252,995,910,960,956,825,612,406,325,342,379,401,459,459,426,410,432,448,442,432,519,485,442,488,402,496,476,476,475,401,400,352,277,382,593,573,508,476,361,356,469,476,472,561,910,1264,1228,1013,937,1102,1510,1534,1328,811,799,886,1048,1316,1422,1184,1178,1226,1028,846,1036,1294,1330,1402,1440,1244,1184,1200,1296,1240,971,849,1344,1266,1344,1266,1196,1256,1340,1338,1356,1326,1368,1316,1048,996,978,902,915,912,938,928,836,861,1160,1206,1120,1174,1100,986,948,675,568,787,1092,905,648,781,801,847,1386,1632,1462,1202,1230,1594,1642,1500,1466,1532,1594,1578,1340,1186,1454,1486,1290,1230,1290,1478,1434,816,977,1302,1112,975,869,925,1090,993,1104,1300,1278,1174,1168,918,857,997,1204,1052,628,722,814,750,577,676,615,609,582,540,889,1116,1362,1374,1284,1262,1118,1034,1202,1214,896,867,888,790,1104,1130,1244,1134,1052,999,1070,1072,844,580,712,717,945,803,733,706,880,1156,1158,797,816,960,702,558,758,1120,1100,1194,1186,921,1044,1106,1054,957,878,846,707,944,1124,995,1048,1222,1246,1254,896,969,1108,768,771,1196,1222,1074,1146,1346,1576,1642,1354,689,596,932,1102,768,421,508,747,1296,1554,1470,1204,880,1236,1470,1422,1436,1536,1156,676,1001,1224,1092,1054,1178,896,559,409,387,712,594,371,529,725,895,1011,765,791,577,524,473,600,484,442,684,582,728,1252,1316,1162,1048,853,977,1346,1246,801,755,675,619,858,798,607,716,1138,1176,1094,1826,1476,1506,1476,1150,985,877,634,647,817,948,1092,1058,691,457,391,428,601,693,669,715,1082,1396,1324,1042,921,1092,1262,1056,1324,1620,1462,1278,988,839,1120,1276,1154,1328,1450,1270,1116,672,445,595,1042,1336,1354,1134,1328,1104,552,896,1122,1074,1228,1426,1434,1030,730,644,579,948,1112,1009,618,530,930,955,703,1146,1142,1038,946,971,1148,1214,1204,1254,1310,1380,1462,1392,1172,1158,974,912,1292,1402,1460,1544,1248,949,641,615,696,723,1306,1236,1540,1606,1104,734,868,638,353,677,912,1396,2116,1562,1246,1028,1142,1464,1562,1756,1224,915,855,584,494,502,504,454,485,446,414,580,561,478,542,498,620,794,899,1036,1124,1122,1005,746,678,633,729,952,1198,1224,1100,981,830,686,684,679,763,1326,1460,1286,1148,1380,1004,513,678,1114,1240,858,1013,1360,1470,1686,1416,1378,1438,1406,1554,1684,1654,1754,1778,1682,1614,1572,1376,1578,1426,1434,1116,1034,1012,1054,1484,1558,1534,1508,1504,1266,1214,1252,1210,1326,1288,786,430,419,466,530,856,1328,1282,746,572,907,1138],[397,356,371,375,352,344,324,354,593,891,1160,910,414,543,753,644,694,1062,1046,860,1418,1052,469,398,403,457,610,1010,1406,939,648,959,1202,1240,1804,2786,2608,1224,576,1026,1378,1152,863,949,565,428,484,600,535,473,565,774,988,807,520,672,1050,932,533,476,432,365,385,409,412,352,385,670,841,516,402,531,993,1164,1244,1178,1058,988,1180,1264,1010,934,1054,900,866,679,575,578,565,541,387,380,327,277,260,307,371,614,856,1086,1174,1258,1404,1604,1596,1494,1738,1298,576,480,1004,1598,1086,810,497,270,233,245,267,253,672,971,705,307,321,358,374,282,318,362,412,354,358,345,283,264,389,633,986,1236,1114,1184,883,368,325,389,378,311,568,972,1336,1694,1556,1084,991,1360,1404,991,727,707,1230,1394,1436,1286,1184,1216,1144,909,441,501,497,518,536,653,1026,1260,968,1238,1362,1092,1214,1034,541,449,409,390,292,304,338,334,294,402,360,371,598,416,325,366,260,418,735,426,283,307,305,722,1520,1752,1062,689,667,807,785,634,555,607,713,370,216,228,214,261,345,366,381,539,529,347,312,242,280,345,417,380,270,183,202,267,288,186,183,257,338,279,332,374,350,341,352,348,332,337,357,408,399,619,623,1214,1092,894,1142,1250,1114,953,1162,1466,1074,421,560,473,615,725,1148,1100,1074,1098,1134,1402,1420,1360,1316,1416,1662,1612,1592,1206,1028,1836,2802,2386,1504,1142,1030,951,842,891,1152,1220,1316,1118,933,1042,1128,1122,1170,1186,1170,1204,960,639,852,785,618,582,976,1494,1606,1480,1438,1300,1306,1272,1262,1218,1230,999,684,706,600,508,536,863,1178,839,426,397,333,340,346,361,421,412,393,482,796,854,1036,1210,1242,1218,1264,1326,1258,1166,1118,1496,1594,1352,1102,908,957,1074,1294,1220,1062,1250,1228,1176,1146,1168,1224,1150,1084,1180,1254,1232,1132,1214,1282,1286,1238,1196,1108,1396,1522,1694,1352,1009,1054,1054,980,1094,1050,1130,1140,1240,1346,1244,1088,1140,1140,1156,959,1124,1318,1156,978,824,597,705,1166,1704,1736,1296,1088,848,1230,1406,1100,1026,1248,1308,1238,1418,1272,1336,1238,1198,988,1011,1244,1060,924,916,822,1110,990,606,495,699,940,935,890,1050,1120,1308,1438,1410,1282,844,731,1182,1370,1544,1568,1460,1454,1514,1428,1388,1594,1618,1448,1418,1572,1604,1334,1166,1266,1278,998,824,971,828,1074,1434,1388,1246,1044,1032,2110,1216,736,615,830,1001,1132,1278,1252,1318,1394,1360,1218,1028,816,785,821,749,1028,1288,979,956,1160,1100,943,741,713,585,933,1148,1344,1128,993,1150,1216,1356,1380,1090,902,988,895,931,664,352,405,719,868,1060,1192,1108,1022,893,918,1206,1194,1260,1080,996,1460,1560,1448,1232,947,847,806,871,1026,1156,1216,1162,1102,1274,1160,1090,883,610,421,455,973,1306,1254,1302,1396,1588,1666,1510,1400,1220,1278,1266,1180,1412,1878,2014,1968,1818,1412,1378,1354,1410,1354,1424,1362,1318,1422,1314,1194,1254,1444,1490,1366,1194,1007,977,1210,1042,1060,1368,1334,952,1172,1372,1384,1282,890,883,772,807,1080,1232,1048,1126,1290,1290,1488,1368,1017,1062,867,991,1336,1318,1266,1092,1080,1023,1126,1162,1068,1212,1330,1064,1110,1258,1318,1180,1054,1118,1154,1070,970,1142,1188,1128,1164,1174,1186,1292,1362,1292,1492,1506,1314,1210,1264,1266,1518,1540,1318,1028,1011,989,1148,1310,1256,1188,1192,1080,1108,1278,1352,1152,1064,1288,1454,1252,1310,930,1000,1088,1354,1740,1682,1486,1060,867,1176,880,760,954,947,677,751,1068,1192,1542,1870,1710,1414,1394,1564,1938,1648,1168,1070,1066,1378,1718,1604,1142,832,1028,750,607,667,782,1036,1436,1262,789,458,414,645,890,913,726,699,884,918,663,561,965,1003,568,404,475,793,968,1108,1208,1278,1500,1576,1406,1274,1248,1040,892,666,634,746,791,680,783,881,433,358,377,318,309,430,581,667,806,653,325,220,280,282,260,372,565,474,601,1036,936,912,1034,1106,1184,1002,495,521,491,423,353,379,585,656,796,992,1202,1044,733,462,466,487,448,693,1074,1070,1290,832,322,447,637,896,807,400,447,651,697,681,898,1550,1490,1538,1730,1698,1274,868,1110,1176,985,778,986,1372,1466,1442,1340,1013,1128,1164,668,310,293,425,529,752,922,1048,728,417,309,324,407,351,278,318,531,954,834,1152,886,1060,1136,1038,839,651,550,494,603,668,402,338,480,764,1001,736,544,388,338,408,834,1340,1252,1258,1624,1890,1660,1023,732,745,1334,1562,1306,896,869,1102,1512,1800,1246,1148,1318,1202,1242,918,1110,1318,1494,1508,1390,1246,846,938,1190,901,1084,1306,931,782,650,798,791,505,416,412,372,383,368,365,526,653,762,860,919,993,1102,1296,1366,1410,1420,1396,1358,1194,935,749,1080,1366,1598,1596,1024,628,1010,1330,1366,1436,1476,1460,1340,1050,711,655,511,431,360,372,606,616,399,489,587,877,1034,979,682,819,974,1354,1268,1264,1222,927,1110,1454,1572,1438,1298,1208,1174,1252,1304,1536,1466,1428,1412,1466,1584,1444,1160,978,886,761,910,1290,1290,920,1005,1668,1566,1196,1352,1500,1464,1346,1396,1332,1468,1498,1662,1472,1386,1212,1166,1366,1180,634,513,695,738,877,642,467,453,397,378,642,954,1016,1238,1564,1502,1332,1122,898,1108,1300,1246,1362,1578,1692,1358,1146,1320,1390,1224,1214,1666,1836,1872,1702,1624,1732,1924,1402,824,1020,1498,1622,1448,1406,1424,1460,1388,1048,1100,1364,1334,1290,1228,1164,1156,927,825,1216,1314,1054,1064,1232,1010,935,866,1046,1532,1506,1132,1134,1314,1052,1134,1346,1544,1472,1264,1162,1242,1268,1188,1254,1384,1442,1506,1754,1624,1180,1028,1194,1272,1334,1382,1262,1326,1566,1684,1186,957,1360,1234,852,873,982,1838,1600,1126,1102,1324,1314,1156,1114,1158,1108,761,937,1136,1266,1306,1376,1210,1080,1048,1408,2194,2162,1340,1282,1422,1434,1246,1194,694,422,370,434,425,662,1036,894,768,709,797,1048,904,924,960,932,800,573,521,825,1288,1504,1434,1390,1356,1382,1404,1476,1388,1350,1490,1592,1578,1656,1782,1888,1992,2026,1948,1880,1758,1692,1736,1738,1722,1730,1552,1412,1244,1092,1158,995,836,652,527,458,402,355,342,360,399,419,421,423,404,410,404,430,483,498,447,403,498,522,527,597,697,618,482,427,415,342,393,463,422,409,537,469,339,329,362,448,532,874,1054,1028,948,1244,1382,1164,863,632,595,835,911,914,1206,1400,1164,1138,1248,1122,786,933,1286,1334,1350,1268,1174,1322,1540,1490,1236,936,824,1416,1408,1178,1240,1222,1208,1318,1356,1280,1074,1354,1498,1140,1188,947,935,1096,1122,959,927,877,993,1452,1570,1418,1376,1180,1208,1260,867,568,637,1034,1054,843,820,929,1170,1366,1378,1486,1322,1412,1626,1634,1632,1682,1520,1418,1362,1186,1224,1396,1526,1003,844,1706,1790,1068,623,711,722,728,811,761,615,1108,1352,1294,1354,1242,1040,904,1114,1236,1015,1116,1082,762,672,454,626,901,850,942,877,836,587,482,756,1094,1262,1290,1350,1170,1138,1015,1132,1182,1034,1028,923,930,1174,1478,1454,973,820,1170,948,692,602,612,464,466,458,496,694,742,980,1338,1188,1230,1122,1188,1050,823,904,1136,1210,1168,1078,1038,886,855,929,650,567,795,1062,1082,1134,1142,1172,1270,1176,1023,1328,1416,1278,1122,1482,1676,1366,1166,1001,1268,1472,1230,721,496,636,839,814,390,523,1048,1222,1230,1436,1376,1160,1060,853,744,1168,1490,965,626,902,1042,1040,600,391,351,441,379,373,554,528,424,536,755,1212,908,688,938,1078,1182,877,691,617,893,1402,937,915,1328,1340,1250,989,839,1052,1278,1130,1146,1462,1346,1402,1912,1270,741,694,1082,1412,1458,1526,1318,910,724,913,1208,1162,785,608,457,645,832,1150,826,467,374,319,378,556,730,737,542,943,1005,612,688,1226,1396,1144,1344,1470,1434,1478,1464,1450,1340,1208,1056,1258,1474,1128,1116,875,689,578,706,1026,1396,1256,749,598,620,1090,1192,1358,1498,1410,1080,767,758,843,825,751,1144,1116,622,574,1104,1116,980,1080,785,669,982,1017,971,1168,1216,1144,1284,1316,1556,1780,1404,1244,1318,1244,1290,1500,1594,1222,1007,886,714,569,542,492,593,659,1454,1534,1302,925,762,738,965,1422,1384,1434,1290,784,844,937,1542,1446,1108,1154,1122,1372,1192,901,616,496,513,520,589,553,783,1088,826,596,555,483,672,963,1186,1052,1292,1364,1168,926,644,446,715,1003,1102,1092,964,1086,852,857,1448,1388,1058,1270,1330,1212,1120,1330,1236,873,1106,1298,1112,825,1166,1220,1600,1576,1346,1634,1606,1354,1274,1232,1472,1482,1654,1824,1714,1660,1698,1504,1364,1556,1428,1482,1246,1338,2434,2482,1550,1514,1490,1342,1324,1298,1126,1274,1322,792,426,477,601,587,742,998,1214,942,564,715,1132],[520,435,405,367,352,333,336,437,666,870,801,532,592,650,728,581,483,601,919,992,909,859,676,394,459,669,1102,1346,1228,675,502,742,1164,2302,3616,3638,2470,1102,835,1156,1438,1492,1308,965,494,408,443,593,505,442,561,616,706,709,867,1038,1548,1278,797,634,432,402,363,550,630,442,498,822,857,758,479,435,489,954,1104,1124,1262,1276,1278,1196,1066,1140,1132,918,541,738,1026,794,557,448,398,529,429,270,331,458,892,1524,1176,979,1194,1262,1082,1074,1152,1358,1512,1322,810,763,1462,1816,1180,616,305,300,295,259,265,390,766,1110,1020,507,582,665,487,333,307,357,472,437,287,372,549,536,796,883,592,731,1052,1124,693,407,321,376,385,355,535,556,696,1000,818,929,1098,1158,1448,1220,595,365,680,1084,1168,1224,1434,1198,1052,950,469,451,556,547,434,544,813,861,697,667,786,1070,1154,1072,594,435,379,376,341,344,364,383,382,401,389,428,454,382,339,302,290,753,1514,838,250,356,336,435,1288,1934,1030,816,1386,1424,1594,1812,1438,1166,1028,505,228,223,248,263,332,375,316,348,330,327,275,295,305,368,436,385,256,155,212,232,241,179,211,266,367,392,347,322,347,348,359,373,357,304,309,347,331,405,367,697,874,985,1044,1004,907,1064,1354,1390,977,769,918,653,666,801,1148,1120,1032,1124,1268,1464,1354,1082,919,916,1158,1468,1646,1230,2046,3150,3362,2692,1720,946,676,982,1050,1030,939,730,1044,1504,1023,944,1070,1234,1200,920,962,1210,946,809,794,1182,1038,997,1300,1466,1542,1252,1032,1428,1656,1438,1354,1230,1472,1120,1086,908,572,409,520,1234,1766,850,490,384,333,350,357,352,340,357,352,349,546,755,1114,1534,1118,893,1238,1266,1164,1046,962,944,1005,837,662,722,728,715,958,861,1236,1138,1180,1146,1094,1192,1266,1152,1144,1202,1326,1388,1112,1136,1280,1290,1264,1032,1058,1284,1536,1742,1404,943,1022,1202,1204,1160,1064,1158,1078,1176,1250,1144,1296,1168,962,1130,1228,1288,1224,1108,901,647,749,926,1298,1416,1156,1056,926,1050,1304,1114,1134,1218,1340,1350,1448,1252,802,832,877,994,1236,1274,1194,1134,1180,1104,849,933,590,833,783,964,1270,1152,985,1244,1190,1160,1210,1166,1216,1102,703,907,935,897,1126,1376,1488,1268,1024,1108,1204,1268,1274,1292,1190,1268,1346,1466,1448,1362,1432,1516,1478,1382,1528,1706,1608,1602,1462,1460,1874,956,455,458,733,766,1056,1310,1174,1286,1434,1466,1014,1138,1030,697,635,717,1046,1246,1288,1578,1356,1108,1246,1222,1118,952,1158,1164,1228,1104,880,1086,1296,1266,1218,995,790,743,569,666,558,459,623,689,578,955,1268,1092,1150,1080,1238,1434,1070,1044,1050,862,1228,1212,1228,1162,980,1108,1134,915,876,1174,1278,1222,1324,1350,1048,1072,1108,955,984,1130,1372,1588,1502,1460,1438,1568,1786,1416,1522,1388,1236,1162,1072,1428,1904,2226,2182,2198,1642,1534,1392,1576,1440,1292,1400,1544,1386,1192,1290,1392,1472,1350,1406,1306,1220,1114,1028,1154,1328,1410,1104,910,1228,1308,1352,1112,987,907,766,868,975,1188,1406,1312,1270,1240,1230,1130,1110,1042,954,1148,1660,1378,1130,1092,1100,982,1118,1144,914,930,1080,1072,1176,1206,1434,1246,1138,1206,1064,955,1038,1140,1162,1116,955,803,614,1122,1284,1314,1548,1500,1162,1362,1306,1124,1354,1456,1392,1114,1028,1014,1240,1450,1188,1090,1152,1158,1264,1324,1178,1068,908,987,1086,1132,1166,1044,1060,1184,1576,1698,1526,1556,1044,915,1054,1324,1138,979,1005,903,1172,963,680,1242,1714,1762,1686,1440,1512,1876,1844,1312,995,969,1232,1448,1362,792,612,1050,1176,950,629,879,1166,1146,594,337,352,622,794,827,1174,1296,1068,553,476,694,603,464,659,877,758,573,819,1084,1144,1052,1212,1318,1212,1188,1282,1460,1546,1356,1104,898,791,651,488,834,928,495,460,392,389,386,557,811,841,738,616,464,365,254,268,335,433,434,509,764,756,590,814,1011,938,1050,787,510,598,675,630,575,476,446,468,359,431,733,1010,1068,1082,860,722,621,565,711,793,1140,748,343,493,461,453,492,355,326,463,800,1126,1138,1156,1218,1240,1442,1672,1386,576,684,920,1084,1064,952,797,850,1064,1056,1012,1092,1086,854,608,389,711,940,1020,1108,1322,1168,727,429,469,485,378,309,413,543,965,974,1372,923,781,969,1104,899,636,798,481,482,550,346,344,475,891,951,756,579,527,632,711,1072,1436,1376,1686,1882,1616,1206,968,722,988,1646,1472,1106,926,832,1176,1338,1502,1168,1066,1222,1208,1324,1190,1216,1374,1502,1456,1200,1058,707,695,781,799,1026,1190,989,688,405,438,492,433,475,698,790,973,1140,1234,1318,1328,1282,1322,1310,1282,1360,1412,1346,1224,1044,1276,912,613,591,1044,1676,1788,1538,1620,1256,647,818,918,858,834,1094,1042,1052,919,616,647,594,463,408,447,633,689,537,621,820,1272,1500,1470,847,636,872,1250,1264,1204,1172,1046,1198,1340,1450,1292,1130,1186,1238,1130,1138,1212,1240,1470,1640,1588,1582,1522,1272,1240,1062,1144,1202,1570,1402,1164,1820,2302,1534,956,1092,1222,1074,1084,1024,722,826,1028,1302,1328,1338,1346,1444,1432,1276,1102,1030,894,1030,1396,1178,1026,1018,1064,1094,1256,1480,1546,1686,1496,1428,1436,1186,930,1268,1272,1170,1076,1448,1694,1206,1132,1296,1226,1090,1316,1834,2088,1882,1676,1692,1828,1886,1524,1120,1126,1544,1828,1578,1396,1524,1674,1424,1154,1184,1380,1556,1558,1304,1118,986,787,1030,1340,1108,1028,1048,1170,1010,913,866,1019,1450,1358,982,1354,2056,1366,1442,1490,1514,1178,1158,1258,1152,961,975,1062,1222,1384,1410,1312,1260,1340,1308,1336,1460,1360,1172,1188,1236,1226,1248,1030,1072,1250,1018,788,814,927,1648,1614,1160,1462,1688,1368,1288,1422,1290,1096,526,662,880,1232,1386,1208,854,783,851,1068,1306,1416,1100,973,1104,1266,1314,1294,755,367,321,288,335,576,836,887,812,709,861,796,737,960,958,810,792,524,604,1136,1396,1258,1290,1344,1364,1272,1428,1516,1466,1596,1742,1664,1702,1852,1826,1904,1948,1836,1730,1592,1488,1546,1640,1536,1558,1694,1610,1544,1408,1272,927,633,459,421,401,431,414,359,340,351,386,433,497,498,448,487,545,667,686,572,438,335,368,383,438,725,1007,1052,664,407,382,428,419,372,381,474,623,557,308,305,360,437,434,648,540,774,1098,1142,993,1028,886,701,751,853,926,980,1076,1382,1278,1190,1360,1212,880,1021,1392,1456,1434,1302,1334,1520,1662,1360,1270,877,865,1372,1266,1170,1356,1168,1328,1720,1692,1250,1104,1864,1520,1090,1124,935,931,1228,1302,1066,980,885,1096,1500,1498,1376,1284,942,1010,1152,811,630,1082,1230,1036,847,804,1340,1720,1522,1372,1478,1494,1462,1330,1300,1478,1436,1172,1200,1138,755,808,1454,1752,1340,2064,3212,2540,1220,807,671,604,689,535,459,647,1070,1706,1504,1072,858,786,831,831,706,641,734,767,542,502,725,1168,1302,1021,944,805,662,452,388,489,829,1078,1268,1454,1028,1094,1060,826,1144,1042,983,1228,1304,1314,1368,1204,476,347,835,1186,905,657,712,581,658,741,579,788,735,938,1392,1256,1254,1082,1236,1262,1170,1116,1178,1084,1218,1448,1286,869,791,998,1100,977,1038,1092,1158,1420,1462,1478,1400,1238,1256,1456,1460,1466,1384,1202,1170,950,891,1160,1394,1096,940,752,426,403,610,1188,974,1220,1292,1302,1402,1448,1422,1396,1098,877,594,920,1138,855,829,921,1114,1062,613,354,323,363,293,303,382,322,319,374,415,672,496,458,869,1320,1494,1246,1011,911,1254,1734,1288,1464,1628,1196,802,709,1122,1494,1516,1508,1854,1832,1516,1240,1396,783,668,717,785,1078,1368,1340,1328,1158,799,966,995,1180,1274,998,905,1154,924,785,744,576,346,304,248,310,562,628,463,787,642,513,926,1246,1224,1396,1522,1338,1454,1562,1482,1598,1576,1428,1312,1278,1226,841,1048,1208,1126,994,843,1058,1162,785,881,813,1040,1254,1190,1258,1322,1306,1068,815,769,1092,1422,1042,993,1016,1032,579,704,880,1002,1120,846,755,971,889,769,1046,1072,1072,1164,1192,1282,1502,1450,1366,1310,1190,1506,1970,1380,1036,1116,955,630,443,634,630,464,444,808,1062,1180,1122,746,948,1418,1720,1736,1670,1110,702,703,959,1584,1160,734,1009,1326,1436,1200,776,485,452,565,562,540,519,669,787,691,550,465,512,778,962,1148,1110,1334,1214,1100,1088,872,682,639,746,1168,1160,916,1170,824,897,1448,1270,1102,1130,1100,1136,1046,1070,959,1098,1384,1456,1598,1650,1366,1370,1620,1366,1338,1566,1384,1232,1150,1312,1446,885,1017,1292,1270,1108,1102,921,1050,1714,1882,1746,1472,1424,1712,1362,1262,1454,1336,1328,1362,1376,1318,1318,1328,996,538,502,613,850,1008,1130,1192,905,618,590,747],[1042,1032,681,386,367,325,352,438,611,658,524,389,487,574,710,694,488,469,662,636,684,964,713,618,1228,1772,1664,833,715,596,383,589,744,1104,1134,600,352,518,581,605,1034,1358,1594,1180,594,415,505,683,666,710,767,544,505,682,1007,937,1340,1250,1352,1034,428,349,325,494,795,720,789,1114,1068,818,665,564,416,625,715,842,1176,1130,1080,1136,1112,982,1248,1150,742,817,1056,790,647,516,678,1072,1192,824,408,482,954,1382,1146,1156,1318,1338,1366,1178,1144,1288,1224,1194,1272,1338,1388,1394,1232,532,249,290,257,275,365,702,911,680,939,734,880,902,961,683,395,437,713,594,337,461,497,527,887,684,468,372,542,810,775,502,353,365,303,473,749,393,458,681,692,1000,1056,865,1130,843,389,296,318,504,905,1406,975,1082,1250,1042,800,572,458,443,332,418,597,640,691,498,702,954,1252,1112,643,468,398,352,358,360,367,375,331,346,455,448,335,333,350,298,443,1568,2150,1088,374,331,375,530,1236,1914,999,650,1154,1122,1060,1094,1148,1260,917,351,238,250,259,264,328,388,281,263,248,233,314,362,310,314,367,374,224,161,194,210,198,185,192,230,364,415,383,379,340,307,326,397,429,337,290,299,319,381,535,752,884,922,978,878,731,727,612,394,405,658,947,780,733,869,1066,1032,1014,1250,1456,1496,1250,783,633,603,617,1116,1628,1516,1792,2764,2886,1720,988,673,458,951,997,1178,1100,731,1009,1440,1136,746,899,1116,1156,695,781,924,882,794,1110,1220,915,1026,1140,1194,1210,1260,1278,1418,1538,1550,1530,1498,1328,1138,1312,1160,683,568,984,1730,2226,661,436,362,330,318,324,338,342,341,337,366,408,532,1274,2018,1656,1216,1124,1008,1174,1326,1390,1318,1176,816,718,857,755,639,957,876,1132,1180,1126,992,945,1104,1290,1208,1220,1286,1302,1342,1024,1080,1160,1232,1254,978,974,1104,1023,863,872,778,954,1262,1086,1032,1034,1018,933,1013,1128,1144,1009,892,1066,1078,999,1112,1190,890,834,855,1210,1126,1210,1122,767,638,702,1108,1144,818,1268,1192,1110,943,1150,888,445,439,616,935,1366,1242,805,856,1296,1088,1066,1002,896,1023,747,770,1150,1076,1162,1656,1182,1346,2096,2296,1396,1352,764,718,1004,1166,1336,1448,1560,1382,857,731,601,713,780,682,572,769,951,1086,1016,865,834,842,869,950,1084,1332,1520,1552,1568,1552,1726,1552,1238,1454,1528,1212,1238,1428,1404,1448,1394,1522,1200,1160,960,576,316,390,946,1470,1512,1632,1310,1224,1366,1108,1108,1002,1178,983,709,623,786,1102,1360,1258,1402,1322,1172,720,415,445,508,616,918,1030,1034,1244,1338,1134,1190,1216,1454,1342,1218,1244,1005,822,1116,1256,1426,1316,908,1148,1408,1276,1210,1368,1516,1580,1576,1498,1460,1518,1500,1374,1368,1444,1476,1418,1318,1400,1314,1224,1324,1354,1438,1434,1306,1142,983,1164,1464,2076,1932,2098,1702,1528,1556,1560,1594,1582,1484,1570,1410,1228,1454,1632,1410,1464,1226,1015,1098,1244,1168,1046,1138,1050,865,890,1326,1292,1412,1004,960,876,761,839,981,1438,1686,1460,1228,1202,1252,1034,1178,952,922,922,1282,1184,881,1054,1290,1196,1196,980,709,766,1016,1210,1078,1017,1192,1114,1040,1068,1066,1092,1140,1106,999,1052,845,957,1048,1054,1120,1230,1388,1272,1202,1526,1318,1262,1194,1322,1300,1060,1206,1366,1176,988,1026,1300,1290,1234,1434,1460,1354,1442,1234,855,676,794,819,896,952,969,1156,1422,1424,1678,1176,1016,940,1322,1214,1298,1288,1150,1084,737,886,1414,1676,1754,1754,1568,1346,1466,1554,1162,1084,1146,1246,1290,1064,453,365,516,824,844,568,532,781,747,569,427,374,549,617,931,1122,1354,1274,640,670,1238,1118,564,475,846,1042,1006,980,1006,1038,1011,1138,1154,1280,1460,1312,1090,1042,1410,1712,1478,1406,1126,812,738,686,821,612,365,509,598,650,830,670,388,305,284,351,276,314,376,459,413,702,1074,716,362,500,513,678,927,1030,845,630,688,716,640,437,383,444,316,336,524,560,678,901,1180,938,664,658,538,850,1200,660,365,355,293,332,386,372,364,561,551,760,1044,1074,920,1144,1112,852,721,443,489,469,569,811,925,1048,1094,988,905,832,558,465,432,724,476,549,1005,986,774,1009,1044,599,321,347,421,383,345,384,570,766,831,1004,826,1007,1178,1070,948,824,959,561,590,872,495,363,487,857,1114,869,488,540,681,702,1156,1414,1470,1436,1126,1024,880,1094,1528,2116,2076,1666,1708,1412,1036,1302,933,1058,1040,978,994,956,1306,1482,1672,1710,1482,1350,894,758,527,465,403,532,854,1046,1080,1013,830,771,877,947,1042,1282,1394,1284,1172,1112,1288,1228,1106,1146,1044,1001,1396,1560,1296,1224,966,1440,883,906,1154,1248,1308,1082,1009,1508,1434,791,914,778,634,471,785,925,894,761,612,647,659,578,597,709,686,826,783,821,1150,1572,1790,1616,945,855,1110,1272,1390,1164,1164,1194,1300,1476,1724,1714,1456,1166,1142,1064,1132,1328,1440,1486,1730,1584,1708,1700,1476,1252,1232,1176,1104,1142,1036,1196,1798,1910,1150,1076,1120,1018,912,1006,849,810,1094,1160,913,879,909,940,1272,1372,1320,1366,1384,1364,1334,1400,1574,1576,1488,1352,952,1118,1380,1932,2166,1828,1642,1198,1036,1106,1186,1174,1132,1196,1506,1532,1018,1188,1186,1148,1174,1554,1838,1896,1770,1758,1892,1702,1560,1554,1714,1636,1628,1842,1576,1328,1386,1544,1428,1348,1318,1384,1592,1452,1256,1196,889,830,1412,1462,1168,1094,1278,1332,1088,1028,1042,1017,1220,1150,1072,1526,2316,2184,2110,1672,1316,1208,1340,1294,1210,1140,1176,1116,1414,1344,1228,1316,1294,1164,1194,1390,1468,1400,1470,1502,1378,1344,1408,1338,1368,1340,850,592,946,1040,1188,1330,1354,1692,1750,1818,1918,1922,1300,1224,943,846,903,1108,1288,940,577,502,584,857,917,984,1098,902,813,811,979,1314,802,339,303,308,394,475,516,567,503,382,600,675,681,922,993,766,685,541,767,1160,1266,1244,1318,1490,1388,1426,1706,1804,1838,1886,1886,1866,1874,1912,1892,1904,1736,1584,1544,1506,1526,1634,1676,1648,1722,1702,1632,1462,1074,971,918,736,610,432,373,401,398,346,357,428,538,567,532,532,566,571,505,425,498,579,423,322,388,502,486,741,991,917,583,507,630,577,450,403,451,563,532,482,333,315,333,385,416,724,783,902,1388,1444,1140,968,873,1208,1011,884,876,768,952,1296,1134,1192,1512,1398,1208,1442,1582,1506,1380,1314,1452,1490,1462,1392,1308,973,988,1318,1096,960,1168,1100,1268,1726,1592,1354,1150,1308,1224,1208,1080,985,1144,1190,1082,1270,1186,993,1268,1438,1272,1194,1008,814,921,1300,1208,1023,1338,1616,1394,1172,1290,1584,1616,1456,1480,1564,1428,1120,908,954,1302,1454,1350,1254,926,1042,1794,2046,1710,1608,1888,2448,2508,1792,1416,958,880,965,644,383,571,725,1128,1152,659,444,704,901,702,598,447,498,658,729,593,977,1536,1622,1516,1144,861,710,586,399,425,756,1104,1140,1126,905,919,1066,1110,1156,1180,1116,1032,1290,1448,915,588,429,521,794,1164,1134,825,518,462,944,1246,794,559,532,715,1040,908,1048,1038,1094,1306,1280,1132,1052,1220,1318,1620,1244,961,637,821,1096,846,844,1020,1128,1270,1394,1316,1200,1360,1560,1390,1368,1290,1166,894,803,822,724,1003,1192,1032,873,833,631,525,758,1166,1234,1282,1172,1320,1472,1148,1036,1218,993,1064,765,847,995,1098,1090,1132,1230,1012,659,415,369,417,502,589,508,327,282,252,295,302,287,352,462,796,1296,1388,964,562,1058,1482,1428,1610,1618,1058,631,670,941,1500,1904,2014,1942,1490,708,523,803,874,885,907,1094,1206,990,882,986,1072,1102,1510,1210,1284,1284,974,961,1194,1114,736,842,880,412,319,321,328,267,268,394,539,679,797,1058,1184,1050,1394,1362,1078,1310,1432,1080,1204,1218,1460,1480,1570,1348,1162,1274,1208,1178,978,899,1100,1172,717,934,835,953,1158,1202,1122,1218,1252,867,485,710,1028,1348,1210,1013,1174,1328,1108,936,653,526,658,755,728,780,852,890,1124,1023,1040,1186,1250,1168,1488,1588,1346,1252,1220,1588,1812,1364,1064,891,893,606,412,554,565,454,667,1154,1238,1210,842,758,1062,1376,1500,1494,1742,1390,709,668,1015,1050,714,558,965,1244,1040,700,489,393,381,497,629,629,503,545,514,464,478,480,458,717,1018,1058,1084,1204,1140,1094,1036,843,673,572,596,928,889,888,1052,742,667,894,957,1026,822,653,927,944,906,955,1242,1530,1780,1314,1112,1336,1628,1512,1072,1296,1372,1230,1122,1180,1492,1548,1222,1202,1432,1434,1046,1032,817,697,1306,1572,1720,1916,1892,1722,1558,1662,1600,1466,1226,1118,1538,1428,1158,1410,1324,992,1062,1332,1268,1208,1320,1238,1078,998,675,453],[1064,813,535,462,469,388,328,374,485,444,454,462,382,438,563,495,351,321,362,659,1230,1172,860,833,1428,1882,1104,513,666,680,490,739,951,778,563,502,570,584,564,541,855,998,1138,969,650,479,518,882,1396,1364,1034,568,964,1186,1188,874,1172,1322,1060,792,412,303,289,390,802,1220,1438,1226,675,410,586,566,397,480,523,860,1410,1326,1124,1050,1090,977,1094,1017,772,896,1098,975,813,711,821,1158,1698,1586,1023,458,518,900,1130,1112,1094,1190,1322,1302,1444,1522,1432,1174,1360,1256,1334,1520,1260,640,350,292,300,579,882,980,625,358,636,804,1124,1082,1114,838,469,501,631,525,684,664,492,667,1068,594,334,281,287,527,639,443,380,379,378,825,1250,794,476,490,825,942,848,830,803,677,664,546,446,318,453,927,640,977,1350,1322,1202,979,634,398,325,388,678,1262,1230,642,420,746,1096,963,651,522,443,349,353,346,400,369,305,404,497,456,439,966,1174,711,757,1592,1510,865,490,292,388,601,977,1316,935,584,542,422,437,617,985,1260,944,322,257,258,253,304,345,348,260,317,347,355,419,358,307,261,371,367,225,175,185,238,227,196,211,257,339,407,414,375,293,267,234,292,480,455,379,541,780,756,787,871,779,796,847,693,488,403,433,502,542,893,1220,997,886,993,955,1076,952,993,891,823,637,558,548,579,586,825,1430,1720,1726,2050,1588,957,1009,698,524,782,859,1204,1096,634,865,1310,1015,844,1244,1148,1112,997,952,1112,984,530,662,731,531,444,879,1300,1392,1346,943,915,1246,1360,1418,1208,1164,978,1080,1472,1212,1324,1688,1188,460,306,320,329,313,319,331,330,319,314,348,374,432,954,2026,2406,2330,1628,1208,1158,1058,1028,1010,1082,1224,868,752,1098,755,555,497,893,1190,1326,1240,1172,1230,1194,1112,1068,1156,1286,1394,1152,1024,1058,1178,1188,1210,970,671,800,677,490,892,1130,998,766,933,1196,1032,1028,1132,1084,1110,1038,988,966,1132,1030,974,1078,1042,525,506,1021,1174,1098,1196,926,624,816,818,816,753,1052,1170,1236,1406,1122,1076,926,588,397,539,966,1004,943,1007,988,1260,1208,1372,1120,800,620,484,813,1516,1232,1044,1250,1064,1396,2122,1870,1374,1378,774,709,1048,1040,1098,1182,1420,1340,1098,1022,782,752,672,643,589,896,971,764,888,713,602,952,1070,802,807,1166,1294,1302,1388,1188,1550,1896,1594,1592,1514,1472,1444,1550,1630,1654,1664,1614,1470,1528,1506,1188,891,827,1192,1606,1408,1478,1492,1488,1522,1294,1396,1366,1316,1312,1194,1128,1114,1128,1436,1306,1320,1246,1420,1022,629,511,517,732,1015,1088,1156,1162,1224,1174,1158,1196,1128,989,915,1148,1062,880,1238,1444,1664,1362,1116,1348,1542,1526,1498,1534,1600,1534,1420,1394,1382,1264,1214,1002,1596,1468,990,1023,1108,1013,1118,1015,1162,1522,1402,1330,1262,1238,1392,1818,1462,1372,1442,1576,1502,1550,1598,1438,1532,1594,1306,1274,1484,1582,1654,1844,1630,1480,1258,1132,1128,1262,1132,1011,1154,997,724,846,1272,1310,1386,1060,939,898,778,855,1226,1352,1336,1378,1088,1150,1328,1140,1104,973,1010,1042,1094,1136,1023,1100,1192,1106,1112,1166,912,914,1007,924,764,949,1016,868,828,987,959,985,1001,1019,1096,1004,988,1100,1060,1005,1116,1126,1042,963,1126,1316,1396,1498,1508,1440,1444,1294,1056,1212,1088,932,1306,1480,1568,1570,1616,1452,1548,1648,1378,828,575,519,544,681,737,772,684,972,1306,1476,1104,834,1190,1356,1086,1246,1272,1286,1078,999,1272,1536,2018,1698,1436,1494,1466,1634,1318,692,722,865,1166,1228,702,337,379,447,578,601,522,367,429,592,597,570,356,425,477,1007,1682,1756,1124,518,656,1040,999,556,451,619,762,997,1070,1080,804,888,1054,993,1142,1152,957,1058,1250,1394,1470,1370,1542,1442,1372,1266,1170,1118,839,585,505,449,353,513,370,254,250,279,290,328,430,603,657,634,894,1246,752,282,284,323,413,563,781,971,1100,1048,855,628,517,434,406,378,463,542,479,455,480,548,508,739,816,733,689,686,633,744,461,372,350,321,317,453,582,364,353,543,813,839,1072,1004,694,444,383,481,472,456,601,858,963,1040,1132,1001,1066,1007,955,843,887,712,561,658,547,456,608,661,791,933,911,982,948,821,499,667,777,724,802,973,1432,971,577,541,727,902,1028,1070,1100,630,546,796,915,1200,973,613,470,647,767,1334,1428,1252,1336,1156,1156,1334,1176,1782,2636,1916,1528,1600,1310,916,1278,956,1044,1056,1056,1098,1130,1396,1486,1686,1452,1362,1356,938,653,688,900,993,1140,1362,1370,1318,1262,1130,1104,1072,1208,1013,862,965,719,854,1234,1292,1148,1130,1202,1216,1422,1980,1648,1434,1326,970,1238,922,969,1274,1188,861,727,921,1334,1532,852,713,520,543,413,670,856,856,861,833,825,959,934,764,736,716,971,984,856,1138,1556,1730,1344,1046,1604,1500,1390,1484,1200,1236,1162,1146,1348,1638,1578,1246,1258,1384,1248,1262,1346,1318,1356,1340,1150,1338,1500,1548,1598,1488,1306,1324,1286,1140,976,1007,1001,987,1050,874,908,1132,1128,1056,1228,1294,1082,744,698,648,1436,1754,1620,1134,844,1102,912,895,1864,2338,1476,1094,991,592,816,1036,1992,1812,1352,1260,1192,994,844,1032,1166,1060,1268,1630,1686,1544,1450,1248,1536,1400,1320,1444,1576,1678,1870,1952,1564,1800,1890,1860,1764,1750,1652,1426,1184,1172,1412,1388,1284,1368,1502,1640,1252,1162,1104,814,1044,1310,1162,992,959,1114,1182,1136,1372,1414,1262,1126,1032,911,1246,1790,2056,2078,1716,1328,1238,1268,1160,1190,1200,1166,1230,1682,1468,1192,1390,1266,1140,1200,1226,1284,1376,1582,1500,1356,1338,1276,1300,1380,1442,1228,1160,1284,1292,1234,1220,1542,1600,1256,1610,2148,1842,1318,1396,1398,1180,979,1040,1218,1256,1090,858,590,673,911,1494,2160,1472,835,645,858,1318,775,356,284,297,366,400,390,328,299,390,553,670,533,433,618,571,485,575,815,1084,1136,1206,1342,1478,1516,1706,1922,1974,2046,2008,2002,1930,1870,1832,1858,1766,1576,1576,1714,1770,1816,1780,1750,1706,1680,1550,1384,1222,883,638,543,659,607,558,666,503,522,565,582,664,587,440,278,272,297,280,313,343,326,283,341,457,464,532,454,525,772,735,560,639,632,413,422,443,455,455,405,375,327,256,282,338,418,871,1096,783,745,945,1192,903,752,1020,992,994,838,691,893,1274,1252,1440,1746,1766,1510,1530,1522,1592,1312,1200,1334,1344,1538,1560,1692,1614,1090,1490,1224,1028,1194,1124,1420,1396,1122,1272,1496,1562,1410,1190,1046,1058,1126,1182,1260,1384,1186,1106,1078,1040,1011,995,868,824,871,1156,1298,1406,1372,1474,1584,1682,1616,1460,1430,1388,1178,879,749,701,797,1018,1372,1550,1274,1021,864,1566,1874,1244,1200,1738,1704,1828,1908,1602,1360,1154,1120,1070,880,652,828,717,972,1094,629,640,707,804,691,974,785,675,698,814,615,652,899,1228,1434,1266,1256,1262,1162,730,537,837,1276,1192,1194,1114,949,1090,1066,1116,1186,1174,1242,1960,1430,736,654,728,1130,1258,1064,1284,1268,759,791,1188,1252,1310,559,383,624,905,1160,1168,814,546,754,1130,1046,1108,1260,877,1018,1070,1118,1020,938,995,876,904,1004,808,805,1108,1324,1366,1346,1380,1404,1480,1064,648,553,811,1108,1188,1208,932,1076,715,935,870,607,716,896,1146,1178,1074,1372,1494,1732,1400,1234,1096,1140,1032,1138,1278,1198,1150,1252,963,935,909,1026,821,561,720,810,486,305,348,471,636,588,555,407,398,438,459,814,525,318,409,692,850,794,706,661,871,1182,1054,950,1400,1686,1796,1836,1144,742,894,1034,1172,1266,1414,1242,985,552,466,538,666,1124,1250,1394,1334,886,456,547,731,848,938,711,443,355,400,341,303,633,1366,1452,1276,1022,860,839,1270,1562,951,592,1156,1176,960,1122,1284,1272,1348,1522,1542,1654,1478,1174,1084,1108,1262,1128,1246,863,882,1012,1110,1284,1236,1196,1372,1202,708,705,811,944,1262,1300,1274,1326,1404,1636,1588,902,385,494,800,912,1104,1214,1164,1206,1017,1112,1340,1418,1378,1454,1638,1434,1412,1440,1466,1214,1254,1056,698,673,661,699,591,429,595,1010,1550,1614,1334,990,946,918,1100,1268,1272,1484,1388,897,717,880,636,571,505,868,1148,1140,828,507,402,446,490,537,614,614,656,619,535,465,487,411,766,1088,1062,1064,950,820,872,884,750,642,715,607,597,714,801,636,489,492,565,717,732,577,847,907,689,562,868,1118,1632,1742,1378,1140,1170,1696,1620,1368,1376,1348,1446,1386,1330,1470,1466,1236,891,891,1182,1078,1124,755,918,1254,1142,1296,1564,1644,1558,1366,1670,1924,1934,1706,1512,1746,1482,1160,1290,1686,1478,1456,1572,1508,1416,1418,1382,1288,1202,952,758],[924,614,457,491,460,486,393,459,669,599,414,367,427,436,435,356,368,319,391,557,900,953,1180,1166,924,700,800,694,486,448,530,913,1208,880,598,464,453,592,689,690,865,1040,823,608,591,464,433,755,1050,1396,1074,583,923,1258,1072,680,872,1226,1100,798,466,368,344,336,524,1028,1342,1042,585,789,1044,579,445,413,407,825,1408,1428,1172,831,1146,1148,972,1126,1030,1021,1088,996,875,1252,1054,1168,1468,1242,669,351,604,1066,1300,1274,1236,1244,1300,1262,916,769,733,830,1398,1404,1340,1368,1322,1072,713,426,334,698,1184,940,519,419,435,799,1114,1084,845,570,591,709,681,790,611,656,641,544,866,856,705,744,614,581,637,462,390,391,564,1342,1394,1136,1044,888,979,1016,1180,1406,1206,731,633,672,489,296,292,500,543,896,1328,1244,1062,1158,879,735,373,316,511,1238,1294,738,722,1098,1166,922,523,466,475,361,454,450,455,374,370,471,490,446,617,1530,1936,1112,813,1322,1364,876,517,330,346,604,948,1178,994,759,774,794,774,800,984,1130,631,304,247,260,238,341,411,401,359,341,362,356,312,361,318,271,348,301,176,185,238,260,225,211,237,298,375,398,354,298,272,352,499,443,560,705,565,1098,1964,1428,949,548,590,727,590,451,338,360,451,429,447,836,1220,1242,1100,1064,931,1048,1122,812,444,525,613,572,533,595,662,742,1130,1696,1666,1370,1128,1046,1070,728,805,1036,980,1014,1076,830,956,1412,882,1114,1378,1222,1020,1060,866,1042,1084,824,576,988,1098,649,791,948,1344,1514,1204,1324,1376,1314,1286,1460,1434,1140,1268,1276,1162,1654,1082,501,378,321,292,299,323,394,391,353,306,318,362,430,817,1770,2380,2634,2586,1754,1005,1008,1064,1158,1294,1302,1220,1050,1050,1166,1076,874,664,932,1102,1062,925,1072,1332,1316,1270,1162,1214,1234,1484,1370,1268,1184,1142,995,1004,803,552,543,454,484,1170,1056,905,926,940,1170,1074,1288,1454,1190,1142,1013,947,926,1120,933,711,1258,1102,510,597,1108,1208,1184,1098,1060,1156,1042,1082,967,989,1134,1320,1392,1438,1174,882,968,1114,1190,1038,1036,807,879,1372,1418,1352,1302,1300,980,579,372,310,771,1982,1642,1366,1122,1166,1296,1102,659,965,1426,1268,1036,957,1026,1186,1142,1406,1424,1160,1046,1262,1166,801,579,536,800,803,500,682,754,515,556,829,693,857,1266,1310,1310,1284,1168,1360,1386,1172,947,796,689,851,1282,1302,1168,1310,1352,1450,1414,1172,1298,1482,1346,1172,1456,1142,1382,1538,1512,1562,1574,1598,1640,1632,1644,1714,1650,1714,1710,1632,1538,1560,1654,1606,1476,1388,1280,1168,1276,1404,1324,1320,1268,1372,1478,1506,1504,1378,1286,1284,1416,1484,1416,1578,1604,1588,1602,1476,1464,1594,1578,1456,1534,1520,1260,1194,1234,1198,1200,1336,1122,1550,1296,971,1110,1066,957,1005,961,1252,1376,1298,1250,1246,1214,1940,2470,1792,1334,1260,1266,1216,1172,1238,1348,1550,1460,1130,1218,1508,1570,1562,1606,1472,1254,1184,1348,1392,1282,993,937,1050,1240,771,854,1204,1366,1392,1174,1038,872,810,904,1182,1124,1130,1094,1392,1682,1356,1290,1238,1130,1184,1322,1272,1164,1102,1322,1200,1174,1204,1246,1076,1032,1032,849,909,1132,995,869,1044,1124,1060,917,911,1112,1134,952,1040,1018,1112,1092,1194,1122,1042,993,1046,1028,1234,1382,1398,1366,1550,1338,1015,990,963,1068,1226,1242,1382,1588,1544,1330,1272,1512,1314,828,884,786,498,444,491,472,658,856,1048,976,786,819,1246,1462,1284,1090,1178,955,701,872,1120,1356,1254,1160,1400,1136,1009,1582,1598,1104,683,663,1056,963,493,289,329,533,597,556,640,621,696,960,888,531,419,483,507,811,1132,1196,813,608,832,817,616,472,473,568,767,893,1064,1224,1068,990,1022,1015,1116,1072,935,1018,966,1110,1156,914,773,839,1224,1422,1516,1466,1334,1082,819,696,645,670,393,300,283,260,321,341,284,345,572,739,1044,1216,752,341,299,343,373,382,413,529,828,1152,1070,1015,774,606,375,390,511,460,390,455,511,468,703,1444,1670,1076,1116,926,850,910,588,514,489,367,277,399,632,825,915,466,477,816,736,570,600,688,516,472,514,462,601,820,1282,1388,988,1040,980,867,1024,1040,942,890,941,949,683,474,1132,1630,1704,1624,1624,1610,1210,816,650,661,593,533,612,1134,1470,777,415,492,904,762,949,1172,1030,619,823,1166,1064,1026,653,625,924,1246,1180,1338,1310,1236,1334,1078,1026,1294,1504,2066,1900,1496,1166,1182,715,827,1230,1064,953,919,1056,1188,1120,1390,1404,1526,1332,1362,1416,1198,1046,1088,1216,1380,1310,1008,938,851,804,802,932,939,1312,1104,859,995,811,951,1490,1372,1070,1176,1338,1408,1460,1932,1638,1230,901,687,788,825,1010,1350,1344,846,703,773,1216,1640,1008,791,703,716,792,948,1118,1202,1172,1298,1240,1034,994,570,694,788,998,1114,924,1058,1352,1318,1140,943,1346,1013,1046,1252,1196,1170,1154,1160,1290,1522,1456,1202,1342,1306,1318,1432,1300,1066,1234,1158,873,833,916,1080,1386,1420,1502,1672,1500,1184,767,808,945,921,821,692,822,842,851,1114,1560,1372,896,682,785,601,1422,1730,1696,1224,887,1162,1096,813,1306,1824,1656,1142,979,611,897,874,1122,1346,1500,1372,1214,970,988,1134,1054,604,935,1556,1324,1326,1470,1410,1376,1274,1364,1314,1284,1538,1528,1356,1466,1758,2068,1808,1672,1714,1554,1284,1100,1172,1460,1260,1132,1402,1636,1450,1206,1072,823,705,720,699,771,847,980,993,1058,980,1334,1514,1758,1302,1010,916,1312,1678,1742,1678,1456,1228,1100,1110,1228,1310,1128,986,1124,1492,1294,1172,1312,1180,1166,1172,1208,1322,1538,1502,1556,1282,1116,1058,901,1021,1250,1160,1204,1284,1256,1360,1416,1472,1492,1102,1162,1276,1274,1404,1418,1252,985,1172,1202,1208,1294,1104,728,567,692,764,968,1284,1260,982,705,697,1278,899,457,420,358,297,366,415,375,384,455,489,500,529,534,601,605,681,908,1080,1096,1256,1584,1726,1776,1828,1924,1990,1958,1986,1970,1932,1760,1702,1772,1892,1904,1780,1766,1866,1876,1844,1820,1698,1540,1554,1314,1062,1021,813,497,463,484,486,668,870,1018,819,617,415,295,201,195,223,272,262,251,333,397,312,287,316,552,869,924,641,529,651,714,661,571,383,341,373,401,485,378,353,380,386,303,301,349,467,907,1092,861,967,927,903,774,818,1024,1264,1172,1002,913,1464,2332,1792,1820,1700,1420,1368,1442,1456,1450,1230,1260,1412,1402,1432,1432,1588,1514,1126,1434,1076,1212,1376,1284,1292,1238,1080,1272,1620,1676,1350,1112,1034,1222,1100,936,1152,1090,1001,861,852,960,1200,1354,1188,1230,1024,1200,1388,1302,1362,1272,1440,1618,1522,1470,1270,1004,862,946,1248,1102,1170,1434,1664,1648,1308,1028,858,1302,1802,1606,1822,2178,1876,1698,1270,1020,1262,1228,977,1202,1334,1332,1154,907,1214,911,433,558,769,865,739,1150,1162,738,648,860,753,545,454,652,1080,1274,1378,1206,1200,1084,845,907,882,960,1224,1142,1044,1094,1009,1260,1072,1224,1602,1618,851,430,526,690,1020,1015,883,1274,1216,792,1090,1460,1290,1001,586,591,763,981,1172,1016,559,438,751,1216,800,771,1064,1072,822,1098,1404,1324,1062,819,738,1096,1114,1010,1001,1184,1236,1224,1106,1124,1224,1250,1172,957,770,993,1212,1638,2056,1422,818,512,696,642,480,613,1007,1178,899,1072,1254,1216,1592,1310,762,1026,1232,1260,1278,1434,1340,1144,1462,1524,1542,907,1248,1106,731,754,788,497,347,544,1018,1138,929,662,462,673,610,364,345,280,280,330,319,328,386,472,771,1094,1106,1026,1190,969,1328,1736,1344,867,700,663,745,907,1034,1072,932,1116,886,549,568,647,766,988,1174,1086,672,572,447,380,525,847,583,505,561,574,411,312,686,1920,2686,2332,1628,1188,1082,1632,1412,705,424,641,968,1192,1374,1386,1086,1048,1136,1334,1332,1504,1538,1448,1374,1266,1040,1092,1028,1110,1382,1492,1390,1188,1146,1270,875,728,1126,1078,1108,1144,1036,1136,1210,1186,1380,1466,1288,680,598,959,1078,1324,1322,1318,1148,959,1224,1376,1354,1246,1228,1606,1632,1528,1402,1402,1352,1328,946,815,968,1013,1204,1074,896,1072,1178,1160,1262,1036,949,949,823,929,1288,1290,1084,952,825,1028,1186,750,677,634,823,1013,1182,1172,839,547,521,518,447,628,937,885,654,549,499,397,319,729,1116,1128,1144,1186,1080,789,744,630,661,625,560,582,645,636,508,446,441,576,684,471,640,960,761,445,442,752,984,1015,1104,1324,1298,1106,1592,1522,1336,1384,1484,1704,1354,1002,1228,1266,1138,866,887,1082,1074,957,878,1164,1576,1196,1198,1262,1310,1476,1072,1048,1606,1688,1696,1814,1890,1938,1838,1680,1672,1572,1458,1344,1278,1026,1346,1360,1318,1200,1184,1078],[702,450,405,405,353,408,437,604,1012,1300,985,492,424,371,431,400,405,377,385,416,583,855,1062,1010,559,473,606,489,453,702,702,672,1023,1014,778,642,671,929,1222,1294,1168,1202,955,1015,863,525,385,750,1066,1480,1190,688,886,1230,960,483,604,1122,1046,1015,583,412,447,497,694,835,1106,1128,873,921,912,760,825,519,430,598,818,1023,1046,872,986,1142,1186,1202,1330,1250,1174,984,912,953,766,1154,1296,1036,583,550,901,1006,1246,852,896,1160,1116,1262,857,774,1076,1180,933,983,1114,943,1028,1094,1202,944,400,399,561,359,411,437,358,635,980,713,533,728,653,692,1064,1430,699,284,400,658,959,864,725,802,651,544,578,1156,1542,1078,951,1470,1340,1544,1528,1090,910,766,1112,1336,1298,711,330,333,329,292,347,505,684,862,957,767,727,840,935,1202,593,395,406,796,1200,1438,1604,1378,1212,1019,462,444,529,426,443,418,417,378,453,493,449,411,500,919,1100,735,919,992,661,449,454,342,329,993,1600,1528,1050,619,800,1168,1296,1202,1054,949,464,280,276,275,269,413,540,626,810,602,324,315,419,673,471,326,354,258,205,256,250,236,217,245,325,336,322,348,337,307,289,439,742,684,735,1134,968,937,990,670,691,653,683,706,574,398,357,358,366,339,341,621,1112,1290,1044,843,836,1082,1286,794,395,490,572,571,550,625,793,878,1208,1706,1398,1360,1498,1194,1196,1308,1146,1166,1210,1216,1404,1476,1078,921,614,801,1218,1272,1138,1001,936,789,1064,1022,615,998,1258,1104,882,759,753,1030,1266,1490,1484,1400,1522,1502,1090,1166,1388,1500,1620,1178,574,456,458,333,345,372,404,495,473,427,380,401,415,369,1016,2058,2632,2808,2562,1704,1015,850,1128,1480,1572,1482,1212,945,988,1088,1244,1250,979,679,734,905,1064,1032,1218,1336,1318,1194,1262,1226,1344,1212,1020,1078,1040,764,896,751,589,630,469,645,973,977,1052,1046,1084,1196,1192,1066,1032,1088,1058,921,722,813,938,771,634,861,666,525,836,1208,1140,1114,1013,968,1076,1194,1314,1292,1156,1178,1320,1276,1208,827,745,854,886,824,681,739,1011,980,969,1328,1382,1278,1288,1130,811,397,291,639,1892,1982,1544,1396,1376,1298,938,600,662,1096,1232,1238,1364,1266,989,884,1068,1102,744,706,1050,1428,1252,599,499,603,716,716,915,998,758,509,568,543,863,1288,1340,1266,1290,1306,982,1156,1278,1015,709,810,1230,1444,1236,1136,1252,1244,1290,1260,1346,1400,1478,1252,1038,1262,1252,1160,1126,1312,1420,1310,1182,1276,1160,1024,1074,1282,1458,1270,1246,1412,1316,1174,1296,1302,1294,1254,1368,1464,1408,1362,1454,1532,1476,1414,1384,1404,1444,1418,1312,1362,1404,1612,1488,1256,1266,1240,1130,1186,1312,1424,1318,1376,1224,1282,1648,1550,1160,1098,1206,1216,1152,1106,1036,860,746,857,742,752,1172,1214,1736,1818,1730,1786,2046,2424,2170,1550,1216,1266,1090,1036,1396,1444,1476,1274,1204,1462,1510,1492,1522,1350,1278,1354,1144,1122,1222,1178,1011,1058,1017,1084,725,914,1246,1354,1528,1312,1024,860,801,853,1064,1122,1032,995,2114,2472,1666,1256,1112,1224,1184,1166,1164,1298,1174,1288,1256,1234,849,677,833,1038,882,841,1060,1408,1182,1074,1188,1282,1224,1060,1086,1172,1184,977,998,999,1042,1170,1424,1322,1262,1294,1198,1106,1086,1122,1190,1068,1090,1007,1011,963,1015,1148,1126,1228,1294,1130,1244,1374,1332,1522,1382,1198,1474,1072,554,471,537,475,658,1132,1144,1168,1124,1005,1126,1250,1092,1010,1460,1370,878,651,963,1146,829,939,1220,1056,1164,1482,1546,1626,1444,1448,1170,601,581,801,599,378,352,404,440,429,766,992,1102,976,741,572,620,714,849,739,446,650,841,739,525,503,508,498,608,838,1026,1126,1168,1001,1082,1214,1126,1122,1150,930,730,1072,1076,687,595,1096,1434,1390,1400,1448,1534,1444,1378,1104,977,754,462,362,331,291,275,296,294,306,338,423,586,1076,952,469,302,466,651,816,650,464,464,444,613,769,1066,1046,777,577,487,410,383,484,486,528,1092,1468,1544,1052,750,855,1032,875,608,730,750,450,258,308,883,1132,1366,1266,689,388,396,426,705,879,561,415,429,338,311,366,462,501,782,1026,1080,1262,1158,991,633,427,455,784,968,578,1096,1346,1226,1018,1116,1168,880,650,471,336,196,215,455,1278,1350,885,617,633,836,648,537,990,1017,553,807,1074,1128,1046,838,633,942,1288,1310,1318,1202,1220,1182,1013,811,1015,1284,1690,1860,1606,1280,1126,951,1130,1326,1294,1188,1220,1316,1332,1282,1300,1234,1138,1056,1354,1310,1070,1104,955,750,960,1332,1104,1130,765,684,888,1270,1004,1152,1204,1021,912,747,851,1312,1062,1024,1196,1290,1432,1438,1684,1868,1322,669,578,561,585,895,1308,1346,930,763,713,1080,1628,1212,877,959,908,732,705,1068,1178,1070,1362,1596,1242,1110,697,681,748,985,1286,1212,1264,1316,940,875,1130,1346,963,948,1232,1264,1184,1126,1180,1246,1484,1572,1434,1322,1001,951,1214,1490,1302,1246,1170,910,853,845,1006,1074,1196,1494,1596,1502,1484,1180,1042,1114,1136,792,698,1006,990,1034,1148,1154,1194,1104,960,1034,1020,1556,1654,1502,1382,1186,1180,1204,769,1120,1626,1294,926,836,725,941,844,594,911,1190,948,1028,982,954,1112,1078,792,1216,1660,1368,1036,1074,1188,1026,1064,1462,1518,1528,1522,1522,1498,1682,2014,1970,1702,1708,1790,1616,1246,1270,1256,1490,1192,1136,1390,1546,1316,1082,868,745,877,1000,1102,929,827,1021,774,880,935,1058,1216,1404,1146,1032,1230,1514,1566,1570,1404,1282,1310,916,1162,1054,839,1034,1016,977,1112,1028,1066,1282,1202,1214,1156,1230,1310,1670,1866,1782,1422,1023,745,907,1106,1224,1188,1086,1122,1130,1330,1316,1296,1494,1550,1380,1344,1382,1418,1338,1274,1230,1344,1346,1326,1320,1192,796,711,1023,1090,1046,1272,1138,838,760,624,1302,1040,569,497,425,397,418,404,412,442,455,518,612,717,720,731,792,907,1120,1256,1352,1648,1742,1648,1854,1962,1960,1920,1926,1940,1926,1780,1682,1742,1848,1936,1946,1938,1870,1788,1808,1816,1896,1484,906,827,959,902,761,592,437,437,486,606,700,554,628,709,496,321,285,257,287,339,336,295,276,283,314,290,291,287,386,568,695,669,620,718,664,610,713,767,648,448,399,412,336,298,383,440,393,350,336,495,1048,1360,1136,1206,993,615,670,840,1102,1290,1266,1198,911,1648,3858,2042,1530,1302,988,1356,1606,1548,1572,1534,1434,1398,1422,1312,1204,1234,986,1142,1344,1064,1084,1108,1190,1218,1176,1266,1364,1396,1366,1090,972,1052,1150,1072,822,885,921,740,581,844,1019,1060,1218,1384,1244,1018,1232,1558,1522,1604,1510,1488,1558,1496,1152,641,687,766,1126,1192,982,1256,1600,1876,1908,1692,1360,927,1174,1724,1982,2314,1760,1736,1618,1434,1190,1202,1002,837,1190,1376,1222,996,824,877,517,465,538,847,1350,996,1062,1308,973,857,839,681,647,595,632,560,591,1064,1526,1918,1442,1206,1112,788,1206,1326,1312,1122,1066,1234,1212,1032,873,977,1164,909,549,376,399,528,509,735,1130,1200,652,868,1172,1008,820,706,617,804,1168,969,1152,943,725,963,1058,800,955,1268,1274,1120,1040,1052,1278,1000,575,567,1046,1220,1196,1210,1234,1124,1058,1182,1416,1396,1212,1402,1392,1148,1292,1406,1582,1580,1512,1398,1062,897,770,592,1023,1372,944,484,565,726,990,1660,1442,766,970,1448,1520,1368,1362,1246,769,583,1422,1454,886,773,835,811,670,618,550,360,485,1100,1412,1182,511,335,508,496,360,320,320,318,322,334,395,424,400,874,1007,770,819,1074,1416,1838,1512,1190,900,847,681,639,783,966,1010,1142,1230,1062,698,863,899,709,847,1009,973,735,890,510,415,578,1116,1432,1150,788,598,405,493,838,996,1366,2332,1770,1098,1416,1416,899,537,581,518,626,969,1238,1162,961,992,829,945,1170,1232,1244,1484,1466,1306,1224,1106,961,923,1040,1106,1042,1086,1132,1440,907,508,734,919,1086,1162,1222,1332,1314,1350,1458,1426,1494,1162,926,907,1096,1306,1260,1416,1202,1080,1346,1270,1048,1228,1248,1506,1630,1518,1338,1342,1406,1162,821,1094,1048,1052,1242,1382,1382,1482,1344,887,932,1126,1046,653,472,767,1026,1194,1064,985,827,1144,1268,876,736,691,815,1046,1092,932,838,667,756,753,541,862,1150,1180,882,565,454,346,309,478,762,1056,1076,805,665,596,523,520,647,604,605,622,616,544,558,494,442,433,571,550,902,1098,692,409,722,1178,1080,1162,1220,1238,1546,1540,1460,1372,1282,1080,1246,1368,973,952,1246,1256,1366,1070,782,785,989,1118,1146,1028,1094,759,838,1332,1534,1606,1008,1032,1506,1434,1494,1528,1532,1918,2046,1990,1970,1880,1838,1722,1592,1500,1528,1344,1412,1284,1174,1152],[695,399,300,291,278,353,585,752,1074,1454,1282,797,435,375,441,459,457,415,394,355,387,536,856,1046,628,425,409,565,754,1146,903,665,797,1058,1416,1376,1188,1148,1042,1436,1460,847,494,606,579,565,594,923,1132,1172,1086,1122,1264,1090,930,441,717,1160,1122,1144,1256,1710,1306,729,810,972,1462,1514,1088,852,687,803,919,650,601,623,583,772,1086,1114,1134,1084,1098,1056,1112,1072,1208,987,842,933,851,724,795,907,733,789,1218,1080,1082,846,1132,985,1212,1352,793,798,1404,1322,682,721,1122,984,1082,1108,1266,1208,774,463,284,316,354,399,333,534,991,939,772,965,999,808,836,789,430,239,371,610,820,1028,870,731,781,639,830,2092,2396,1432,1100,899,627,994,1092,538,599,434,754,1136,1202,1028,515,327,372,382,331,398,637,851,900,846,657,802,1250,1132,552,304,386,661,1064,1332,1272,1064,1396,1236,854,742,704,550,424,331,334,351,361,402,417,369,305,331,304,558,852,590,416,369,327,339,476,801,1178,1520,1260,550,676,926,1356,1106,786,754,486,251,259,234,333,562,642,868,1180,824,353,328,1116,1570,854,305,378,264,222,274,238,235,242,249,395,430,356,386,413,399,332,345,469,529,709,1048,1096,887,1036,876,637,724,786,924,667,342,367,346,364,448,698,683,609,718,837,572,628,995,1056,621,500,598,629,569,491,585,1120,1172,1488,1790,1454,1286,1262,1124,1410,1844,1586,1454,1834,1648,1890,1396,991,581,412,545,949,1532,1604,1386,1268,906,689,1032,844,772,849,1186,1514,1080,740,1022,1546,1506,1406,1266,1226,854,715,1007,1604,1660,1324,914,690,868,860,467,445,435,386,519,562,533,471,477,487,553,1400,2416,2852,2944,2624,1826,1570,1036,1104,1294,1324,1504,1260,942,970,1096,1118,1130,1028,949,826,979,961,701,799,1096,1152,1192,1092,1086,1216,1018,776,788,978,823,844,1084,1106,1144,965,778,712,902,891,863,1190,1130,1158,844,841,833,985,1010,1312,1080,695,516,597,730,615,679,858,1216,1148,1072,852,923,974,970,1202,1328,1156,1182,1214,1052,1248,1338,1202,989,919,874,996,941,1194,1156,1023,1120,1068,1102,1210,1040,825,412,519,893,1230,1420,1392,1104,896,942,997,874,828,1426,1312,1244,1256,1202,856,670,857,800,614,760,1072,1780,1316,722,639,905,1046,1104,1350,1522,1052,575,438,549,828,1192,1318,1194,1324,1310,723,829,926,814,780,759,973,1236,1034,858,1224,1224,1338,1346,1236,1172,1450,1276,1056,1162,1418,1420,1148,1108,1142,1230,1122,1386,1214,665,509,607,563,611,1062,1482,1422,1286,1282,898,965,1198,1418,1332,1388,1290,1148,1332,1446,1296,1082,856,1154,1216,1196,1516,1344,1224,1054,998,1072,960,1026,1348,1606,1616,1366,1430,1298,1240,1886,1776,1238,1078,1054,1040,1130,1130,928,890,953,939,793,838,1014,1100,1256,1172,1802,2226,2184,2258,2286,1982,1278,1544,1130,1292,1672,1434,1178,1058,1328,1524,1422,1464,1538,1318,1136,980,858,865,1100,1208,939,1058,1032,733,634,922,1338,1296,1532,1302,1066,886,777,937,1140,1152,1154,1022,1392,1462,1244,969,916,1186,1246,1272,1466,1430,1162,1086,1106,1288,1080,741,729,766,659,625,1038,1284,1292,1192,1118,1228,1164,1288,1418,1322,1250,1088,1028,1044,1050,1166,1312,1200,1152,1174,1074,1132,1070,1068,1100,1066,965,1098,1074,1036,1198,1236,1146,1274,1300,1128,1376,1356,1224,1246,1500,1534,1504,1076,594,572,894,779,855,1412,1172,1390,1412,1224,1094,1052,1014,1158,1542,1632,1128,789,1060,1024,772,986,1100,990,1704,1586,1396,1606,1726,1700,1182,633,546,719,749,627,446,368,358,394,387,428,590,780,830,866,772,730,846,725,594,749,618,579,644,698,714,571,431,562,915,1096,1086,883,1104,1136,922,807,916,1018,1200,1260,987,668,844,1296,1340,1272,1206,1282,1252,1288,1148,1224,1416,1202,1020,802,600,448,310,328,318,326,305,336,362,634,871,620,273,395,714,1144,1172,988,626,500,471,561,707,872,1144,1214,1013,728,574,454,379,613,1278,900,691,661,520,540,703,833,847,624,641,514,313,523,1262,737,552,1048,1068,585,432,617,597,560,430,396,498,438,358,268,389,514,545,536,561,573,808,974,496,370,470,443,597,954,991,641,648,990,1082,990,1094,836,340,236,255,274,692,1284,1076,822,781,781,938,828,718,1086,1192,534,648,874,1016,975,924,907,993,801,925,1282,1296,1394,1506,1458,1256,1338,1454,1644,1614,1482,1450,1352,1290,1270,1312,1454,1510,1510,1346,1144,795,804,750,604,1114,1770,1676,1602,1436,920,716,675,1342,1496,1290,828,791,1212,1406,1190,1156,1126,957,843,908,940,1064,1038,1288,1190,1194,1262,1126,1214,1312,855,644,926,799,762,987,1528,1326,980,901,784,1000,1562,1364,669,509,453,475,558,1204,1178,1136,1074,952,920,1024,868,925,1064,838,982,1070,1280,977,855,870,1102,1200,1144,1216,1284,1280,1270,1218,1172,1238,1354,1522,1366,1172,1108,1206,1246,1332,1278,1172,987,892,943,1052,1080,1180,1048,1184,1154,941,1376,1506,1328,1372,1274,944,865,911,789,924,1130,896,918,977,1260,1244,1222,1478,1470,1368,1362,1394,1520,1392,1001,1230,1346,930,667,622,518,529,569,632,584,754,739,944,874,981,1354,1440,1520,1698,1570,1146,1086,1172,1070,856,690,1110,1426,1548,1300,1224,1444,1754,1966,1830,1714,1760,1768,1422,1148,1126,1302,1428,1122,1164,1396,1382,1228,1062,772,702,968,1172,961,726,584,1003,867,914,1070,987,797,820,1023,1042,1106,1002,971,1400,1542,1112,1026,1054,1414,1180,1306,1694,1214,1013,1021,1102,1202,1188,1268,1328,1738,1704,1436,1468,1476,1322,1288,1066,971,1138,1266,1334,1414,1376,1498,1482,1382,1188,1228,1484,1356,1046,1026,908,1200,1086,1134,984,1002,1256,1434,1398,1340,1208,1214,1372,1394,1250,1200,1054,1068,883,771,1310,1294,894,688,561,430,680,838,807,862,916,942,967,1340,1270,1172,1396,1526,1584,1672,1764,1882,1888,1908,1894,1780,1652,1598,1676,1794,1878,1784,1650,1740,1852,1910,1898,1850,1800,1740,1822,1832,1808,1186,455,415,521,514,435,453,466,466,518,525,433,343,307,459,533,404,291,274,311,354,354,340,330,292,250,230,277,309,309,347,394,280,342,506,700,732,785,946,660,421,371,314,228,256,370,401,399,418,366,530,962,1084,769,747,598,609,943,1360,1484,1160,1138,1320,1316,1628,3266,1902,1330,1044,1134,1662,1720,1530,1278,1140,1236,1376,1418,1360,1312,1320,1080,1216,1184,979,972,1110,1222,1150,1232,1318,1412,1404,1350,1222,1178,1286,1072,878,1120,1206,976,788,600,1021,1200,1128,1480,1594,1396,1516,1604,1650,1634,1558,1504,1490,1332,1294,1114,1058,1350,1024,1080,1174,966,1044,1610,1998,1830,1710,1470,1007,1024,1144,2026,1968,1686,2078,1508,1478,1616,1382,1064,1030,1200,1094,875,708,964,1094,996,1019,1023,1312,1368,928,968,1258,1218,1106,1202,906,658,937,933,647,656,869,1550,1770,1494,1236,1208,1078,1394,1342,1206,830,777,1308,1410,1294,1114,1194,1474,1200,870,447,485,545,478,838,1196,1224,1052,1112,1252,1284,1202,979,674,561,896,941,1400,1360,982,1112,1394,1416,1528,1560,1232,1024,1130,1011,858,654,572,608,545,906,879,1066,1172,880,1102,1382,1442,1218,1372,1186,1252,1318,1472,1404,1334,1480,1598,1488,1410,1222,1082,1046,1428,1412,846,506,507,555,811,1258,1296,1036,987,1396,1334,1202,877,703,600,744,935,631,619,799,766,730,765,542,601,563,381,573,921,946,697,527,540,471,265,313,364,387,327,340,356,399,728,1208,1362,955,717,1310,2512,3018,2248,946,821,1072,788,919,1434,1360,1658,1222,738,732,702,935,831,868,971,861,1015,1142,1162,714,482,636,1368,1924,1290,618,543,415,633,925,1086,1017,1192,1180,1148,1306,1250,1012,672,492,413,415,755,1232,1400,1322,1310,1210,968,1194,1372,1202,1256,1434,1596,1362,1132,1184,872,854,950,1092,1162,1152,1328,1078,713,509,600,967,1432,1398,1330,1334,1578,1486,1470,1466,1416,1610,1322,1146,1276,1088,1368,1142,1180,1210,1192,1028,1028,1120,1386,1606,1514,1380,1360,1442,1326,1372,1550,1198,1294,1412,1490,1412,1438,1190,985,1013,903,1015,696,795,1310,1178,1360,1068,1186,1032,1100,1186,976,794,749,927,1302,1118,880,907,921,973,856,594,595,926,1198,970,566,410,368,356,404,609,818,923,781,695,604,508,608,577,426,520,532,535,576,677,565,489,492,635,678,887,932,736,630,1080,1106,915,1184,1108,1266,1404,1574,1418,1404,1326,940,813,585,557,971,949,1010,1124,907,1072,934,979,1300,1118,543,347,370,740,1216,1498,1920,1196,1270,1494,1494,1306,1120,1346,1624,1820,1998,1858,1662,1698,1662,1686,1758,1870,1826,1698,1466,1358,1242],[909,765,543,570,610,463,688,957,1344,1190,1050,656,414,375,418,455,455,427,404,367,361,413,717,1026,737,686,647,992,1054,976,954,933,843,1028,1302,1178,1272,1166,1003,1406,1654,1502,1672,1094,662,777,900,1082,1176,1268,1322,1356,1350,983,928,733,818,908,946,890,1224,1262,772,705,1148,1184,1288,1164,1096,1116,908,757,671,666,708,616,547,631,889,1052,1266,1118,1192,1106,909,839,660,454,731,1068,1054,1078,915,824,961,1142,1212,1236,1206,1100,887,816,1100,1001,736,648,884,699,532,665,1332,1426,1236,1032,1038,1058,991,533,291,298,295,361,462,580,821,1318,1214,1302,1296,984,547,277,301,334,473,651,725,1124,1394,1170,940,685,941,1576,1420,817,634,461,296,446,772,833,1110,902,689,828,1216,1214,661,377,467,629,574,672,919,1002,1026,1034,1098,1418,1272,1068,820,483,415,535,925,990,986,889,1144,1186,976,737,622,485,485,534,422,413,310,374,322,297,257,273,286,613,555,373,414,406,553,645,593,722,1250,1666,1450,789,576,858,1036,684,572,782,587,284,265,259,336,520,470,466,695,669,408,305,830,1238,726,314,257,197,212,233,217,243,268,375,642,581,480,463,509,562,404,379,400,431,877,1200,1152,891,947,831,796,681,588,738,690,594,537,830,532,568,949,976,696,765,881,625,694,1210,1007,553,798,660,591,550,554,548,929,1080,1252,1526,1520,1232,1148,1342,1410,1452,1064,955,1370,1468,1188,885,847,634,485,406,526,917,1358,1450,1332,1198,1034,1380,1684,1262,864,1176,1358,1278,1102,1628,2216,1246,1170,1020,861,837,878,906,1360,1420,1106,963,716,699,825,528,507,436,412,467,567,562,487,477,469,639,1404,2416,2750,2598,2786,2278,1662,1390,1338,1162,1064,1192,1302,1046,789,824,932,1034,1066,1164,1138,1036,726,582,756,935,1082,1200,1100,1170,1396,1260,1346,1252,1172,973,849,1062,1274,1188,1124,1019,697,786,754,698,1030,1152,1328,1078,1074,1180,1120,1042,1324,1144,645,495,452,462,433,428,684,1288,1128,974,905,904,909,867,967,1152,1004,977,1054,803,1020,1078,863,916,1060,1088,1068,1200,1266,1204,1338,1172,1112,1262,1324,1034,818,549,674,1040,1162,1352,1270,789,618,847,1102,1040,1120,1374,1176,1152,928,1036,1120,811,793,856,839,1120,1290,1738,1270,999,921,1118,1218,845,1234,1666,1274,741,491,779,1000,1038,1126,1072,1156,1232,781,444,402,513,587,517,769,839,778,812,1028,1150,1510,1472,1126,1132,1434,1428,1136,903,1228,1366,1200,1168,1236,1152,965,1144,962,902,1056,711,456,660,1212,1668,1542,1284,965,774,807,940,1218,1582,1656,1236,1328,1498,1572,1210,1036,928,1124,1100,1158,1338,1122,711,854,1160,951,949,1060,1246,1240,1240,1200,1268,1206,980,1346,1442,1084,1156,1290,1282,1256,1144,1104,1314,1422,1220,1082,1084,1090,1080,1019,1294,1608,1654,1926,1992,1990,1866,1594,1808,1738,1646,1678,1428,1036,1254,1484,1214,1084,949,1044,1138,934,893,1104,1122,1368,1224,979,1322,1328,858,764,1013,1340,1328,1616,1360,1040,879,744,937,1146,1176,1015,1000,1132,1142,987,874,920,1320,1298,1166,1830,1534,1204,1166,1274,1190,1318,1146,944,817,559,415,653,1038,1194,960,1046,1086,1018,1086,1168,1124,1196,1404,1402,1322,1416,1534,1554,1270,1116,1026,955,1144,1052,1138,1212,1126,1078,1194,1200,1216,1190,1088,1084,1282,1310,1342,1638,1406,1560,1606,1382,1192,1196,1076,1020,1138,942,640,804,1470,1576,1930,1794,1332,1170,1118,1060,1106,1152,1212,1146,1056,1060,1136,1110,1172,1114,1464,1692,1472,1688,1644,1644,1736,1548,1340,795,442,493,789,869,624,424,414,432,553,713,721,913,1190,822,569,755,885,764,736,698,672,648,587,500,506,510,534,824,1094,1104,952,969,985,747,714,940,948,1032,1200,1206,1154,1226,1346,1294,1208,1240,1212,1180,1120,897,885,1102,1298,1440,1266,988,781,473,340,289,301,287,341,344,454,863,879,335,329,336,482,744,868,857,661,524,571,600,539,666,972,1098,1256,1082,686,406,1086,1316,680,532,585,532,502,471,693,1264,612,430,509,463,1294,1006,347,292,446,767,686,359,419,576,658,514,478,480,466,394,286,857,1544,1396,1142,1034,578,357,319,351,558,858,843,667,779,881,780,649,767,750,783,1174,770,322,259,274,287,910,1288,1015,908,891,968,1002,927,752,640,785,749,745,624,609,655,693,851,990,808,1140,1026,916,1176,1368,1428,1488,1474,1430,1536,1416,1036,917,873,1034,1166,1038,1320,1422,1526,1250,1016,758,743,943,1004,1256,1924,2076,2122,1578,641,424,550,1112,1476,1084,871,1262,1354,982,940,1238,1028,777,901,1046,996,912,905,993,954,1108,1186,1112,1250,1026,780,886,1416,1208,1005,1132,1354,1302,1070,909,738,828,1526,1492,605,442,501,724,605,1028,1206,1184,825,513,775,985,671,811,1376,968,941,1114,1018,818,886,1100,1166,1304,1256,1078,1254,1300,1338,1348,1132,1268,1186,1322,1558,1516,1444,1386,1234,1086,1094,1282,847,1066,1076,961,1007,930,493,728,883,893,1208,1300,1180,1212,1464,1352,1318,1138,810,1026,1024,1014,1106,1302,1772,1918,1592,1322,1032,874,1064,1246,1302,1206,1070,1005,935,795,908,711,675,1054,1296,1244,832,799,923,927,839,721,1124,1848,1938,1756,1456,1140,1448,1528,1208,951,826,1316,1600,1332,882,1000,1370,1652,1772,1714,1702,1776,1698,1422,1246,1038,1390,1366,1084,1310,1428,1332,1226,960,683,698,737,964,862,689,613,758,838,1082,1174,1006,846,824,1090,1110,1046,1040,1142,1404,1632,1366,1278,1450,1448,1090,1328,1410,1182,1106,1092,1516,1592,992,1048,1374,1802,1760,1460,1394,1316,1300,1260,1170,1274,1292,1344,1370,1310,1310,1274,1186,1120,1080,1250,1284,1288,1094,1026,868,930,858,1116,1270,1018,1078,1182,920,778,871,1488,1604,1498,1492,1240,1110,1180,1220,1278,1506,1596,1422,1356,1050,762,1284,1592,1654,1664,1626,1562,1598,1756,1684,1652,1794,1814,1816,1852,1896,1888,1850,1820,1742,1640,1568,1520,1494,1572,1682,1716,1758,1778,1802,1966,1930,1854,1882,1824,1866,1754,1356,778,401,399,414,405,371,409,463,500,581,433,386,479,426,475,484,482,314,298,326,349,364,356,335,274,217,259,307,292,290,292,387,337,346,378,563,737,833,844,560,389,334,208,153,234,332,351,295,418,443,655,1021,937,677,575,603,681,914,1186,1064,1236,1158,1352,1360,1344,1476,1670,1962,1582,1494,1808,1690,1522,1196,1118,1522,1356,1218,1630,1604,1312,1078,1080,1015,910,1100,1268,951,932,1214,1266,1310,1318,1342,1332,1368,1226,953,1154,1626,1528,1238,1048,832,1146,1272,1826,2336,1896,1662,1630,1530,1504,1478,1732,1960,1782,1126,1204,1230,1120,1382,1346,1306,1176,886,1056,1666,1830,1710,1748,1480,1094,1254,1946,3034,2382,2166,1822,1150,1448,1690,1860,1390,1344,1056,966,991,781,1310,1426,1308,1298,1266,1420,1108,838,653,918,1232,1470,1368,1184,1036,1190,1164,1216,1268,1422,1282,1070,1172,894,1138,1378,1240,1066,1008,769,485,799,1238,1488,1256,1011,1226,949,957,1072,1132,627,472,769,1011,1068,1152,1292,1344,1338,1042,910,1028,1010,1100,1062,1248,1230,1044,1104,1406,1612,1540,1226,985,861,1044,767,583,716,866,707,438,501,744,1182,1110,990,1290,1372,1320,1498,1562,1096,1130,1398,1534,1438,1338,1412,1520,1628,1196,1052,1140,1396,1432,1488,1510,1018,547,572,896,1278,1300,1048,1060,1444,1402,1156,852,572,442,662,894,910,1098,1174,790,862,839,709,889,900,543,519,636,586,777,813,603,587,430,382,370,353,377,357,357,386,971,1432,1528,1048,764,937,1212,1842,1600,1102,1100,1360,1608,1472,1488,1614,1628,1028,691,794,507,592,600,562,531,781,891,962,802,786,659,431,719,893,613,384,392,440,664,636,576,707,818,904,1017,966,1076,1224,1072,830,793,722,1296,1662,1182,1042,1298,1082,531,600,973,1234,1288,1324,1710,1406,1360,1572,1220,950,956,1132,1144,957,731,814,752,448,636,1166,1394,1414,1308,1064,1098,864,1013,1308,1344,1328,1314,1206,1366,1388,1720,1194,1074,998,1148,1162,1152,1362,1662,1778,1554,1376,1242,1190,1460,1578,1522,1452,1494,1406,1438,1228,990,1158,1382,1028,550,788,913,1470,1750,1434,1356,1470,1484,1216,1200,1392,1166,991,971,1260,1470,1250,1306,1364,1378,1112,894,648,590,863,1136,1274,943,478,428,434,462,522,576,659,622,520,476,503,562,483,455,588,495,498,599,639,733,916,971,846,939,839,1098,1290,1238,1642,1302,1316,1366,1098,1270,1360,1514,1512,1400,1158,1004,919,858,751,804,868,969,780,859,1130,1006,1174,1346,1322,672,431,370,610,886,1210,1674,1464,1356,1406,1390,1138,1154,1404,1450,1782,1838,1390,1300,1272,1290,1444,1470,1646,1698,1662,1792,1776,1682],[1058,1026,996,1392,1428,831,939,1062,1088,999,738,507,440,401,406,408,400,391,405,418,443,408,541,680,662,1044,1188,1254,1196,1138,1042,973,890,1042,1126,1216,1282,1058,1134,1352,1366,2002,2146,1350,898,988,1218,1234,1118,1252,1598,1122,1054,1126,1160,952,818,1086,890,575,646,465,416,746,1296,1088,950,864,1106,1116,949,704,580,619,634,573,508,514,630,922,1222,1172,1328,1064,1007,856,534,882,948,1158,1274,1356,1150,891,1166,1362,1476,1384,1570,1512,1042,877,753,1054,1086,911,1124,985,951,988,1280,1350,1134,1010,980,1246,915,517,397,303,338,320,518,1072,891,1134,1128,1128,1120,831,522,317,300,386,1114,1494,1714,1576,1386,1152,1102,957,505,457,523,486,462,346,334,325,502,1230,1338,1240,1108,1124,1414,1216,769,748,521,634,897,719,657,608,918,1238,1364,1372,1414,1330,1128,754,702,485,781,1188,1956,1144,655,1020,914,508,332,572,1216,1278,580,463,393,425,337,337,461,568,520,647,567,383,375,440,836,850,809,988,753,1242,1524,1066,710,853,906,663,663,886,743,581,370,317,346,722,739,767,1012,1013,879,928,869,653,477,395,294,206,249,230,229,213,254,517,768,714,625,526,537,526,404,421,415,571,1290,1526,1394,962,747,858,841,706,569,555,647,834,770,1130,652,443,579,735,518,538,1010,874,480,725,820,613,841,518,528,558,478,477,965,1122,1013,1338,1622,1484,1266,1630,1570,1009,689,575,575,733,793,959,892,749,691,524,461,433,802,1042,1304,986,1320,1598,1604,1142,1090,1260,935,1110,1210,1598,1510,999,1030,820,867,1170,1100,791,967,1132,763,741,714,1110,1354,781,550,444,431,495,473,477,529,461,430,459,758,1730,2270,2262,2730,2618,1696,1412,1476,1288,1019,954,1348,1168,724,900,1116,1021,1001,1230,1272,993,756,530,430,658,943,1152,1048,1482,1482,1456,1530,1464,1584,1384,1074,1032,1038,957,943,963,868,1098,1190,975,995,1176,1404,1196,1074,1154,1158,1001,1188,1198,1158,1004,1028,688,469,438,817,1268,1086,1020,1072,1026,1158,1176,1200,1144,1184,1106,1120,781,878,672,675,943,1252,1364,1062,1036,965,937,933,800,1250,1366,1328,1138,1434,1302,821,900,1012,1296,1328,774,678,868,1186,1222,1538,1036,769,1124,859,868,918,729,856,853,898,1116,1310,1392,1246,1056,933,1062,1030,780,853,980,998,659,734,1086,1312,1074,682,760,959,1084,753,415,436,478,673,782,1070,890,555,542,958,1096,1246,1318,999,1048,1282,1092,941,957,984,1110,1180,1166,1034,1028,844,896,978,977,1194,986,1028,1058,1162,1284,1138,853,736,789,725,583,730,1408,1478,1188,1462,1438,1312,1196,1160,1138,1104,1042,1072,1406,1582,866,805,1046,825,747,863,1106,1250,1176,1126,1104,1206,1160,1110,1138,1005,1262,1356,1160,1180,1232,1056,1122,1198,1252,1186,1050,1178,971,979,1256,1374,1362,1676,2164,2220,2150,1774,1632,1632,1308,1228,1130,1015,1354,1416,1168,1048,967,1440,1536,1160,1200,1266,1312,1284,1018,920,1202,1078,918,681,1040,1252,1370,1548,1212,901,818,782,889,1048,1180,1152,1284,1220,1098,1072,884,888,1158,1202,1256,1406,1344,1358,1308,1294,1376,1284,1046,1042,882,597,491,572,753,910,965,1074,987,1056,941,925,1124,1210,1712,1940,1688,1706,1370,1366,1244,1140,1286,1068,1042,1072,1306,1260,1052,1202,1298,1202,1046,999,1036,1082,1190,1192,1440,1664,1400,1364,1350,1050,972,1062,838,1514,1976,1626,997,1116,1640,1628,1460,1330,1212,1128,1046,1012,1118,1138,1240,1108,987,856,965,1108,1166,1196,1610,1706,1648,1376,1232,1264,1246,1232,1400,1422,1036,509,449,706,760,690,644,910,1030,933,788,1134,1360,933,517,890,1132,869,648,660,674,616,433,398,513,492,651,809,882,1005,884,807,761,621,805,1084,833,743,762,1026,1130,1076,1246,1222,1194,1204,1200,1112,1056,945,797,929,1308,1510,1458,1040,785,592,466,419,301,272,308,278,269,537,1088,580,384,332,307,266,339,465,569,502,524,550,372,314,416,514,650,1064,982,766,1206,1268,810,698,703,689,625,590,1240,1588,875,707,694,855,1228,1002,602,345,601,983,501,338,300,468,1005,821,444,442,477,348,391,1166,1892,1898,1920,1836,852,412,473,571,799,1000,1082,1082,971,948,968,929,822,643,963,1402,813,350,292,300,482,1154,1438,924,675,696,679,932,1136,904,506,630,1072,981,574,502,919,838,431,563,857,877,422,451,686,1208,1522,1488,1442,1504,1628,1348,708,630,662,845,1238,1088,1248,1410,1550,1334,1318,1318,1013,1368,1368,1252,1804,1604,1354,1130,760,582,661,1005,1194,1126,1382,1500,1098,772,927,1064,796,780,943,857,889,764,628,777,1048,1274,1094,1136,1122,728,715,828,1648,1300,978,1112,1140,1300,1208,999,878,1056,1616,1606,733,427,499,569,506,714,718,622,566,416,502,677,586,626,1028,1146,1166,1190,825,631,774,1174,1326,1238,1094,1228,1300,1192,1418,1322,921,679,597,1044,1462,1512,1678,1632,1504,1356,1320,1534,909,1796,1656,1220,1132,781,669,876,752,634,772,1122,1007,1134,1164,1130,1338,1554,1522,1500,1262,1154,1176,1376,1936,2022,1362,890,777,799,977,1200,1344,1132,855,913,1122,1708,1984,956,851,1248,1478,1264,1028,1018,1116,1108,1014,677,698,1372,1778,1678,1312,1314,1284,1248,1074,1106,1446,1696,1428,831,901,1214,1268,1476,1636,1694,1616,1754,1760,1404,1198,1102,1452,1266,949,1382,1346,1186,1066,782,678,698,905,1256,1242,1050,947,891,998,1228,1316,1208,1202,1042,1264,1336,1074,1050,1290,1248,1276,1434,1460,1460,1484,1420,1484,1520,1406,1058,1136,1886,1556,1174,1526,1470,1260,1206,1158,1262,1200,1344,1224,1228,1264,1210,1278,1184,1122,1254,1194,1142,1044,986,1078,1168,1310,1166,1166,1318,1202,995,1160,1284,1214,1150,863,705,645,1154,1600,1710,1670,1488,1010,951,1100,920,767,1312,1620,1236,979,1118,1376,1622,1784,1828,1776,1760,1760,1572,1202,1210,1430,1756,1876,1866,1856,1786,1648,1648,1730,1720,1672,1648,1582,1490,1484,1556,1652,1756,1798,1822,1802,1816,1986,1988,1670,1328,897,569,521,490,430,399,396,402,451,515,505,449,334,322,446,743,847,542,468,399,295,310,299,304,332,305,271,247,279,281,294,280,290,299,244,276,396,435,427,619,736,618,464,321,246,241,283,297,328,389,484,483,825,1130,1216,1220,1062,1066,1100,889,1116,846,1178,1268,1298,1316,1394,1274,1530,1722,1534,1412,1526,1526,1572,1466,1296,2042,1448,1246,1810,1598,1140,995,1005,949,1054,1200,1264,756,1090,1262,1110,1056,1232,1254,1304,1354,1090,1004,1560,1760,1572,1136,1038,1244,1388,1478,1710,1770,1710,1664,1604,1562,1224,1064,1194,1204,1294,1250,1506,1416,1048,1140,1340,1362,1196,952,1258,1642,1712,1974,1982,1560,1050,1328,1982,2762,2842,1982,1023,1324,1544,1690,1682,1776,1950,1586,1456,1450,928,1008,1274,1432,1472,1448,1680,1582,1240,764,714,1298,1534,1366,1178,1014,927,1050,1362,1534,1726,1282,1492,1192,890,990,1142,1048,1104,1346,1046,670,838,982,1184,982,712,606,788,985,1176,808,658,738,694,939,1184,1226,1250,1408,1264,874,1054,1260,1404,1310,1018,1060,1354,1396,1284,1332,1388,1108,708,738,899,1060,1062,846,814,841,533,376,325,562,866,969,1324,1274,1368,1176,1112,1224,1052,923,1254,2032,1928,1650,1338,1384,1312,952,709,838,1268,1404,1360,1196,850,526,769,1104,1354,998,1362,1356,1454,1460,1242,991,708,611,724,703,1005,1368,1402,877,868,1464,1520,1396,1234,894,923,792,408,579,960,1202,1536,1013,794,744,501,386,560,636,702,981,1362,1354,1186,1080,827,946,989,888,711,745,1122,1570,1956,2048,1638,1350,1264,1176,1042,787,845,865,651,609,792,807,630,481,694,601,446,672,914,1098,690,403,532,617,699,636,544,530,688,843,904,1002,1054,1020,1036,975,1160,1556,1678,1088,952,1312,937,409,549,788,1076,1406,1624,1918,1774,1882,1744,1482,1224,1110,1184,1274,1150,800,1028,1078,795,1130,1286,1382,1490,1308,1026,1106,1170,943,1158,1186,1016,1388,1316,1520,1428,1454,1042,1028,1068,1132,1254,1420,1458,1332,1396,1524,1296,1174,1132,1418,1450,1438,1606,1670,1588,1454,1190,1262,1476,1282,1021,1007,1206,1348,1592,1788,1614,1302,1352,1366,1178,1144,1332,1334,1126,793,918,931,1012,1166,1200,1064,859,711,663,1070,984,1005,1362,1104,547,422,454,512,487,536,658,624,561,491,472,467,401,543,669,516,579,599,799,1004,1152,1206,897,1024,857,1256,1564,1670,1830,1582,1648,1338,1178,1268,1242,1504,1548,1378,1144,1400,1436,1284,1098,1168,1104,1074,863,912,974,902,1282,1124,830,533,379,457,848,1144,1318,1324,1464,1646,1424,1288,1458,1588,1786,1624,1794,1756,1428,1350,1278,1236,1244,1164,1362,1570,1586,1514,1504,1612],[1042,836,1132,1486,1466,919,904,1108,980,771,502,403,425,413,400,376,367,396,401,376,381,484,547,528,683,1012,1082,995,918,711,617,966,978,1238,1308,1362,1252,915,1052,1340,1372,1444,1256,1056,738,1164,1504,1454,1104,1088,1294,890,886,1284,1242,1034,1416,1596,1062,533,514,541,789,1018,874,752,881,1252,1272,1058,969,596,533,525,503,551,601,601,649,857,1160,1272,1300,1056,1220,1396,1132,1356,1006,1010,804,993,920,864,1210,1410,1330,1222,1332,1230,1378,1102,772,935,935,1246,1332,1338,1208,742,793,1100,1240,1208,1378,1348,645,672,1050,508,338,338,467,748,538,697,1182,1346,1198,1098,1080,810,563,688,1730,1638,1456,1834,1836,1288,1164,1100,436,351,387,541,545,360,294,307,291,794,1108,1078,1166,1572,1536,1142,879,1068,832,629,1032,869,519,636,1038,1230,1210,1446,1732,1450,1158,976,1146,520,465,1044,2132,1482,937,1030,763,636,417,618,1160,669,282,297,370,396,415,439,582,932,1268,1060,628,316,341,464,754,610,688,824,789,1328,1422,1007,808,871,1068,1007,1094,1026,940,721,464,403,580,1026,1136,1030,1042,1118,1134,1416,1226,796,607,424,331,275,267,254,244,256,420,758,821,679,685,502,453,469,509,490,390,667,1130,1284,1300,974,742,1114,961,766,556,561,554,645,763,672,386,371,464,454,366,665,1202,902,342,263,310,326,500,397,405,419,586,1160,1388,910,742,1032,1392,1584,1398,1570,1410,1232,1112,932,828,743,1044,1356,1120,728,884,562,489,635,845,1226,1290,984,820,871,870,747,901,973,705,726,1130,1532,1764,1310,1298,1256,1020,872,824,659,541,769,630,824,754,976,1142,1192,1428,949,400,474,467,438,480,408,374,450,998,1224,1826,2234,2382,2214,1854,1700,1490,1334,977,841,1016,1100,910,1122,1154,1017,1094,1350,1364,1176,1070,801,426,694,977,1074,1150,1630,1540,1486,1336,1258,1436,1410,1232,1019,753,994,1232,817,796,977,1354,1414,1018,709,722,738,648,975,1312,1108,1242,1290,1288,1180,1086,764,755,761,999,1154,1070,1216,1070,1044,1236,1110,1058,921,1050,1192,1234,969,901,661,587,924,1236,1256,1282,1272,1128,1088,965,902,1270,1180,1160,1252,1634,1570,954,1180,1436,1526,1502,1044,991,1056,1224,1324,1396,974,1060,1334,850,577,593,767,919,814,758,1046,1316,1292,1166,935,955,1444,1500,839,492,603,629,467,856,1086,1182,939,789,865,626,684,826,669,625,1246,1104,978,1068,1036,819,637,890,924,866,863,641,813,1294,1116,1138,1106,1058,1230,1030,1034,1020,1068,1104,1144,1190,896,703,634,1004,1028,1050,1112,1082,753,766,987,861,387,540,1023,1017,1076,1174,1282,1104,1114,1152,1184,1190,1126,1118,1792,1946,871,884,1216,1272,856,958,1318,1302,1034,1168,1148,1122,1160,1056,1112,1174,1188,1092,1258,1246,1192,927,960,1092,1116,1108,1422,1710,1080,1078,1446,1400,1234,1460,2064,2318,2044,1664,1526,1274,1124,752,789,1314,1592,1656,1470,1116,1007,1234,1268,1142,1208,1294,1326,1214,1040,951,1038,1007,1007,675,1044,1334,1404,1452,1070,763,787,901,926,1106,1104,1274,1334,1270,1001,850,857,850,902,1104,1234,1136,1132,1288,1290,1556,2052,1582,1021,1094,1038,785,544,643,649,675,1019,1270,1210,1158,1026,1068,1252,1264,1534,1664,1704,1826,1424,1350,1118,1292,1272,1019,1016,1007,1224,1222,1142,1336,1524,1422,1084,1026,1090,1206,1358,1100,1350,1468,1116,873,740,764,1032,1162,772,1656,2024,1602,1436,1744,1664,1544,1542,1320,1224,1302,1160,1126,938,1544,1600,940,872,782,937,1216,1196,1136,1210,1482,1456,1154,1306,1194,900,755,832,1190,1376,1180,718,366,422,653,940,1302,1302,1022,714,933,1028,711,433,687,1088,1058,756,730,681,643,582,500,530,508,681,661,583,703,702,617,641,631,716,1178,1058,904,618,717,880,1010,1122,1172,1044,873,862,957,948,810,895,861,1354,1534,1434,1158,1040,925,744,559,517,411,355,254,282,309,932,1007,634,331,296,314,333,331,306,284,322,422,540,403,355,456,461,666,951,1124,1214,994,784,750,548,689,709,645,1152,1330,1168,1076,1005,886,907,1270,1344,1034,1172,860,442,342,347,303,803,1005,606,491,525,525,525,1464,2110,1986,2190,1816,859,468,543,598,668,899,966,1128,1344,1152,643,684,921,999,818,606,408,319,335,386,471,648,705,806,973,985,839,703,987,995,788,957,1076,1076,1052,1130,1622,1336,607,574,1014,678,528,1066,1136,1302,1498,1476,1400,1050,950,1190,928,873,1320,1066,1162,1472,1438,1248,1328,1360,1404,1434,1080,1244,1013,1010,921,835,855,1023,840,870,1128,1140,1302,1456,1224,1052,1006,824,984,1001,1066,1090,863,783,840,776,798,1230,1782,1534,1082,1136,1152,849,646,722,1188,1224,1452,1628,1448,1544,1370,1154,1148,1500,1634,1614,891,452,483,479,467,503,491,520,592,524,511,623,739,693,721,772,783,743,688,639,695,1056,1262,1170,1164,1190,1244,1528,1418,1013,671,473,811,1426,1444,1240,1284,1498,1556,1606,1486,1500,1082,1482,1484,1264,1180,1015,1144,1228,1044,791,829,850,900,1236,935,543,827,1372,1632,1528,1480,1394,1406,1592,1660,1170,872,796,941,1170,1362,1484,1466,1018,704,899,1168,1606,1630,1007,1001,1516,1444,1134,1264,1448,1586,1562,1018,711,890,1182,1462,1618,1206,1416,1390,1224,1172,1326,1554,1688,1368,1036,1338,1360,1466,1400,1568,1748,1544,1420,1382,1262,1140,1186,1472,1150,1242,1664,1362,893,807,700,659,670,823,979,938,854,885,1014,1126,1260,1354,1274,1226,1244,1398,1270,1026,1212,1238,1048,1244,1270,1200,1306,1454,1656,1656,1520,1404,1142,1282,1564,1388,1678,1876,1522,1190,1178,1058,1178,1254,1216,1178,1270,1194,1168,1148,901,932,1182,1466,1404,1224,1090,1132,1360,1284,1070,1140,1274,1172,1082,1188,1386,1168,1018,957,888,661,1150,1542,1788,1886,1410,1092,1390,1150,858,731,808,1440,1013,569,542,839,1120,1312,1306,1348,1590,1776,1634,1482,1430,1566,1774,1780,1744,1744,1692,1666,1784,1848,1862,1828,1786,1714,1572,1490,1542,1708,1760,1826,1878,1840,1720,1544,1454,1082,767,623,545,508,424,416,417,451,442,442,426,299,244,278,320,495,902,1018,1016,696,419,345,308,221,235,265,244,257,233,227,253,300,275,294,305,274,263,307,283,241,324,379,451,497,367,340,377,336,278,314,528,562,525,865,1094,893,799,846,891,885,788,1122,971,1232,1476,1346,1356,1228,1294,1556,1228,1248,1430,1448,1252,1332,1434,1266,1390,1212,1188,1384,1366,1262,1040,979,913,1172,1224,1038,822,1334,1360,1001,1064,1192,1136,1158,1210,1114,1122,1690,1748,1632,1142,1224,1460,1586,1682,1676,1732,1704,1538,1588,1318,695,976,1140,1420,1580,1328,1530,1550,1098,1126,1244,1164,1244,1016,1444,1622,1692,1870,1836,1550,1048,1288,1720,1740,1634,1332,1138,994,1190,1438,1544,1730,1682,1638,1762,1730,1208,847,923,1028,1246,1384,1318,1328,925,584,1144,1662,1600,1642,1532,1146,1009,1042,1178,1594,1570,1334,1578,1552,1274,1028,1088,1064,980,1112,1016,825,1208,1166,1070,1188,1064,670,534,728,709,439,573,689,702,1011,1284,1710,1336,1108,1160,990,974,1400,1966,1742,1216,1274,1400,1240,1346,1310,1240,998,1064,1194,1160,1150,1026,717,789,962,597,510,402,406,682,1160,1456,1300,1182,965,1038,1150,1276,1226,1154,1612,1456,1398,1312,1250,1484,1208,680,591,744,952,1220,1516,1336,700,1120,1140,976,908,1152,1166,1224,1366,1400,1116,1058,1156,1290,1230,1298,1290,1372,977,1708,2578,2088,1562,1348,1088,1044,838,572,609,1082,1406,1570,1354,1364,1098,643,853,1090,1034,921,1005,1428,1158,1196,1017,706,965,1288,1186,834,981,954,857,929,1000,1272,1310,1150,1136,1180,1252,1194,769,508,448,544,858,954,908,688,463,572,748,839,1074,708,580,701,689,962,1260,943,648,935,952,567,535,1026,863,904,1020,1294,1498,1510,1164,1176,1604,1448,973,1054,1232,1212,1366,1548,1858,1874,1984,2018,1848,1516,1344,1434,1180,830,978,1050,742,577,835,655,839,1172,1246,1100,1160,1490,1296,1296,1220,1058,1338,1410,1258,1112,1190,1170,1112,980,897,1322,1340,1136,1164,1400,1550,1448,1092,772,707,818,1136,1388,1340,1310,1366,1284,1344,1092,1028,1314,1502,1472,1360,1278,1404,1522,1384,1328,1362,1240,1238,1352,1236,815,490,400,345,601,961,1012,772,532,503,628,1060,1016,860,1206,999,571,421,446,514,498,622,819,761,596,555,484,419,343,492,581,546,573,578,1006,1396,1150,1028,839,802,808,838,1142,1212,1286,1316,1244,1184,1310,1366,1350,1626,1544,1494,1538,1416,1060,982,1130,1340,1262,1208,1188,1226,1040,1058,1088,869,483,311,317,589,1024,1348,1294,1158,1558,1900,1424,1232,1318,1374,1380,1354,1620,1782,1628,1328,1210,1254,1172,1020,1416,1708,1648,1418,1114,1162],[1172,1114,1248,1224,1302,1218,1306,1692,1170,509,405,398,442,442,450,415,399,400,361,383,422,775,859,625,642,535,395,549,852,986,719,789,888,1106,1234,1316,1200,923,1340,1666,1298,1190,985,800,531,554,940,1010,799,1042,1436,1316,1218,1304,1005,1128,1496,1208,859,720,912,857,965,957,1034,1312,1248,1038,1270,1068,904,926,890,788,577,493,505,630,544,561,883,1256,1058,807,1362,1874,1344,1136,1100,1046,797,962,1170,1304,1588,1332,615,563,1001,1008,736,767,780,902,1138,1368,1110,1110,1015,587,722,1206,1390,1426,1428,1234,830,998,1094,684,478,515,658,484,384,654,823,1202,1456,1304,1046,883,830,1052,1672,1318,894,1166,1406,1188,944,951,433,319,277,408,408,274,276,307,254,484,938,875,814,1244,1500,1304,933,939,1009,934,961,720,644,952,1108,1206,1308,1316,1306,1554,1116,589,469,361,385,688,866,808,1102,1070,753,750,404,446,678,528,363,367,336,417,528,738,1122,1076,1114,855,818,596,624,609,631,677,771,967,1184,1134,901,798,897,874,1116,1334,1586,1178,1162,980,761,534,844,1300,1098,817,773,762,780,895,831,731,480,375,393,362,325,316,280,248,400,722,917,1042,860,760,587,410,408,477,470,834,1302,1282,1314,1176,1036,1512,870,611,505,558,796,910,875,674,521,558,570,579,541,784,999,631,336,306,321,323,332,327,291,414,1068,1612,1052,661,783,1172,1270,1482,1536,1382,1252,1192,1001,1122,962,647,802,1136,1158,655,785,677,650,1078,1354,1272,1344,1512,1356,788,1032,1106,849,830,794,846,1034,1130,1106,1094,1234,1294,1122,1032,993,788,540,890,1060,1178,814,799,976,1448,1880,1350,464,591,844,913,879,535,611,1146,1478,1200,1170,1460,1782,1874,1780,1518,1346,1216,1210,1224,1122,1000,1064,1286,1230,1230,1206,1128,1214,1256,988,879,683,709,1028,977,1156,1482,1562,1522,1414,1344,1376,1404,1302,1078,914,969,1264,1098,988,872,937,1156,1216,1074,803,557,539,909,1140,982,1028,1322,1560,1458,1188,1154,1220,1202,1086,1166,1228,1284,1156,1108,1102,863,968,921,909,1134,1246,1190,1140,964,514,691,882,843,904,1042,1128,1016,803,838,1044,916,733,1004,1152,1013,933,1098,1412,1484,1406,1078,937,914,1206,1444,1222,1194,1172,957,872,990,925,1114,1042,1092,1158,1144,1186,1272,1328,1238,1198,1438,1480,852,570,616,546,365,713,853,789,600,572,786,451,573,885,882,1072,1902,1160,522,508,1034,1324,879,816,1058,866,710,800,1290,1528,933,598,859,1184,1300,1282,1346,1298,1226,975,1112,1088,753,411,703,1440,1322,1144,1186,1088,988,963,1016,1040,834,1054,1238,1278,1216,1086,1296,1178,1114,1404,1490,1294,1126,1058,1290,1292,1180,1124,1082,1240,929,829,1150,1152,1084,1182,1160,1238,1284,1208,1232,1160,1120,1238,1512,1404,1230,1016,944,1032,1034,1256,1274,1252,1498,1538,1622,1400,1280,1470,2160,2448,1734,1372,1220,957,1066,780,1028,1492,1786,1854,1446,1112,954,1180,1382,1136,1252,1422,1340,1308,957,1018,1074,954,971,819,1064,1302,1398,1582,1172,920,819,963,915,879,1146,1376,1286,1154,861,788,836,774,617,1092,1044,925,1044,1214,1310,1408,1408,1308,1126,1126,1436,1080,689,636,589,633,962,1156,1056,935,919,1058,1198,1168,1394,1462,1556,1544,1432,1184,957,1060,900,995,1066,1010,1138,1128,1024,1116,1208,1244,1048,1148,1132,1178,1148,1040,1322,1422,1090,700,833,725,968,1012,708,1234,1708,1578,1574,1898,1838,1438,1284,1102,1190,1378,1368,1204,1118,1946,1848,1192,959,963,1066,1168,1274,1184,1230,1402,1404,1240,1162,1024,993,1042,855,793,1026,1360,1392,1003,547,412,613,1078,1318,1052,903,776,566,767,1032,857,922,872,788,794,680,654,717,656,595,604,839,1090,1266,1366,1202,1090,896,623,1228,1682,1356,935,745,801,948,1062,1246,1360,1034,794,1118,1276,971,689,737,986,1250,1516,1488,1028,782,923,1015,998,736,764,739,589,387,320,555,1040,1068,623,327,328,308,310,328,303,265,372,846,791,540,434,440,609,779,1104,1244,770,504,426,412,517,746,866,830,885,1266,1598,1514,880,716,717,1088,1252,1406,821,450,389,379,353,697,913,755,937,619,638,817,1782,2156,2066,2174,1834,1376,912,602,405,431,441,733,775,1082,896,548,449,447,552,881,977,716,555,443,523,507,285,277,419,755,911,747,780,1008,893,656,778,855,903,1184,1488,1382,963,662,890,981,402,714,1372,1322,1232,1072,1013,1406,1384,1442,1316,937,703,695,730,1162,1510,1246,1136,1100,1220,1110,1198,1168,1010,888,893,973,1116,1244,1304,939,778,1050,1258,1310,1376,1256,1158,1214,948,1028,1066,993,1172,1302,1142,993,1120,1206,1750,2086,1576,1296,1282,1368,1342,1256,1362,1450,1354,1272,1456,1410,1302,1046,730,623,1110,1448,1604,1068,484,466,492,530,567,608,586,611,558,495,585,710,717,681,689,738,655,493,531,618,642,738,724,905,1334,1494,1590,1568,1590,1388,1328,1538,1598,1240,1262,992,1102,1364,1500,1412,1584,1554,1478,1298,1094,1176,1478,1368,1198,1072,1044,1122,882,1144,1352,925,626,980,1332,1332,1044,1256,1312,1464,1512,1492,1382,1344,1422,1428,1600,1722,1530,1236,1204,1172,1438,1450,1476,1516,1334,1390,1458,1174,1106,1382,1502,1678,1614,1092,1216,1436,1526,1494,1594,1176,1168,1406,1500,1430,1396,1490,1816,1694,1438,1466,1408,1480,1288,1582,1722,1488,1300,1182,1152,1074,1218,1514,1196,1558,1532,1132,764,969,1066,830,649,779,844,694,666,706,927,1150,1458,1612,1526,1364,1124,1142,1208,1204,1428,1216,1312,1476,1446,1400,1218,1104,1182,1344,1584,1606,1494,1422,1256,1434,1846,1842,1424,1190,1132,1140,1080,1068,1122,1110,1148,1310,1258,1094,1064,1086,1440,1650,1454,1250,1184,1266,1410,1288,986,982,960,1062,987,1186,1266,1136,1112,874,658,618,1044,1394,1312,1178,1062,1028,1332,1100,1074,773,798,1406,1084,540,449,466,556,800,1030,1238,1550,1842,1850,1848,1876,1818,1788,1770,1796,1888,1904,1908,1930,1926,1958,1952,1924,1766,1640,1608,1604,1672,1616,1592,1426,1150,1180,944,767,755,581,448,391,433,424,396,387,396,340,268,252,263,282,326,321,381,790,810,899,861,674,586,477,296,254,327,326,245,266,312,315,301,249,247,280,275,276,314,315,267,292,306,271,239,246,406,464,399,417,406,457,517,501,874,976,641,463,422,445,676,880,981,1082,1934,2500,1622,1338,1064,1426,1592,1478,1498,1278,1498,1330,1358,1268,942,933,1078,1386,1390,1104,1122,1036,1004,1040,1110,1178,1146,1542,1802,1382,1092,1160,1278,1376,1284,1280,1212,1326,1664,1638,1500,1264,1150,1360,1620,1684,1620,1578,1620,1662,1700,1352,929,1206,1064,1154,1530,1470,1488,1526,1094,1152,1162,810,713,875,1122,1172,1300,1492,1674,1460,1136,1490,1692,1360,857,1158,1214,667,713,1322,1672,1542,1506,1648,1700,1478,1544,1544,1372,1278,1464,1194,969,1094,965,819,1166,1426,1380,1416,1316,1220,1322,1144,1016,978,1094,1472,1514,1284,1234,1236,1184,1252,1126,1146,1204,1056,1166,968,963,1144,1001,589,449,670,725,541,562,463,868,1344,1544,1444,1076,921,1128,1188,1182,1278,1432,1354,1244,1368,1228,1142,1336,1236,1048,1140,1116,749,641,673,667,935,1082,1208,1098,714,520,858,1186,1304,1230,1204,1222,1064,799,863,1438,1362,933,1222,1308,1270,1130,1168,1346,1312,1142,1074,1134,1096,1604,1954,1598,1048,1166,1074,731,660,805,970,1022,1190,1300,1150,1278,1220,1190,1178,1440,1510,1440,1256,1776,2134,1920,1534,1572,1448,1066,659,763,762,929,1026,1056,1252,1412,890,433,548,1072,1402,1274,1206,1204,1166,1058,883,818,783,894,819,762,969,889,708,655,922,1007,1128,1070,1470,1248,1130,1126,661,544,579,816,988,963,844,760,483,610,849,846,719,541,743,1034,979,992,883,862,746,1023,822,470,717,983,789,969,1214,1358,1412,1178,976,1005,1384,1484,867,713,942,1192,1460,1462,1620,1708,1700,2024,2112,1718,1656,1750,1318,1162,1284,854,521,491,434,309,605,1242,1420,1120,867,1070,1390,1498,1478,1322,1488,1396,1110,1134,1328,1268,1048,780,577,980,1050,1028,1326,1342,1484,1556,1154,924,924,742,789,941,1048,1242,1528,1390,1074,1156,1128,1268,1434,1272,1376,1512,1444,1270,1084,1186,1826,1582,1378,1220,860,824,734,382,423,653,827,1112,1078,969,951,990,1004,1062,1044,998,622,472,481,485,552,604,646,868,819,632,602,539,489,433,485,532,556,706,963,1196,1452,982,938,920,932,1042,1078,1018,885,984,966,1098,1080,1194,1250,1376,1614,1624,1540,1426,948,821,825,884,1162,1002,1136,1302,1362,984,1026,849,624,431,362,355,541,1068,1378,1026,1222,1482,1492,1566,1262,976,1122,1154,1178,1356,1664,1774,1348,1274,1448,1504,1534,1516,1274,1116,802,483,780],[1098,1072,1372,1224,1350,1434,1550,1452,683,448,393,375,422,455,405,362,383,405,370,335,641,1188,1132,662,563,409,386,390,832,1026,777,636,613,762,829,1102,1376,1322,1392,1396,1210,1070,1156,1068,651,493,586,805,973,990,1132,1158,1204,1086,919,849,977,1108,1040,985,1104,976,866,1014,1296,1272,912,737,1090,731,756,798,874,838,719,546,609,600,302,287,547,999,938,802,1214,1494,1392,1300,1286,1360,1188,1180,1272,1330,1194,822,455,611,983,1040,696,513,532,916,1206,1298,1204,816,647,737,687,765,833,1218,1336,1370,1076,1094,1276,1338,920,691,810,495,510,838,553,634,952,1136,932,982,789,1124,1498,1308,865,576,599,893,1184,818,393,317,296,315,294,260,289,301,272,706,1368,1023,1122,1288,1556,1300,1038,944,1104,1236,1116,1138,1244,713,583,1088,1116,1226,1350,1460,1024,568,381,443,452,438,571,1130,1472,1164,856,687,609,633,667,625,574,528,417,562,640,829,1214,1074,1090,851,849,655,546,444,543,712,591,734,1064,840,730,777,783,797,913,1258,1266,1096,1176,1070,1048,869,882,1302,1224,1288,697,713,684,967,1042,942,524,391,558,510,417,351,270,272,395,460,846,926,1128,1332,1226,1007,660,551,567,1005,1158,1146,1338,1174,919,797,578,593,617,793,1004,875,641,463,451,386,368,549,578,607,604,422,329,359,415,359,341,353,364,610,863,816,582,631,1008,1244,1058,1018,1384,1346,1054,1092,1300,1260,697,664,1312,1354,1088,689,749,830,952,1268,1282,1134,1022,1124,1510,1154,1124,1286,1222,1198,979,681,792,906,902,1002,970,1106,1034,806,671,547,764,1300,1322,1130,977,828,638,655,852,849,795,1013,1108,1160,1094,946,1192,1596,1926,1838,1250,1116,1520,1882,1512,1310,1424,1264,1358,1360,1206,1152,1170,1240,1328,1300,1288,1498,1220,1144,1009,1106,812,785,969,1006,1032,1260,1928,2156,1480,1562,1474,1444,1354,1296,1426,1274,895,809,938,791,724,1028,1106,1090,1152,753,566,909,844,919,1116,1314,1692,1650,1474,1460,1114,979,966,1028,1072,1330,1312,1252,1164,1124,1108,852,999,1510,1372,1168,1120,807,413,483,763,843,883,1062,1066,806,617,951,1128,997,919,1206,933,664,786,683,1050,1466,1406,1156,991,870,1252,1348,1080,1174,1009,815,990,1214,1202,1124,979,1124,1158,1162,1220,1258,1328,1318,1250,1234,1116,617,343,502,464,321,478,589,495,439,540,917,811,983,1234,1194,1222,1396,1092,850,786,969,886,588,950,1340,1068,1112,1160,1080,1282,999,503,543,818,923,1076,1282,1282,1200,730,1002,1360,1042,615,873,1416,1614,1378,1180,1098,1032,932,958,1019,1044,908,1028,1226,1074,1064,1170,1190,1216,1028,907,1102,1110,1009,1126,1354,1266,1160,1088,1158,1068,1108,1232,1240,1202,1196,1110,1084,1080,1036,1148,1266,1334,1282,1262,1326,1238,1138,1274,1188,1062,1152,1262,1754,1892,1504,1540,1456,1094,1076,1218,1532,1616,1426,1078,1146,1406,1290,1418,1786,1566,1286,1304,1122,947,1180,1240,1100,1144,1246,1114,1188,1092,1022,1012,969,862,869,1188,1344,1368,1686,1166,836,857,901,840,893,1112,1080,1018,1054,981,1114,904,844,988,1132,955,941,1050,1162,1162,1058,1050,1278,1270,1300,1348,1220,971,750,690,731,731,734,812,818,948,1086,1154,1114,1328,1458,1538,1490,1490,1154,874,915,985,1012,1036,1034,1098,932,833,993,922,908,1010,1100,1062,1023,839,1112,1306,1328,1048,1038,1076,994,1136,1058,711,677,1320,1814,1430,1462,1632,1242,1146,1070,1240,1104,1172,1294,1484,1650,1512,1224,1024,1010,1019,1620,2754,1578,1312,1290,1418,1332,1332,1098,1124,968,684,828,1007,862,1340,1478,1222,805,535,885,1150,1076,998,681,590,1094,1490,1742,1308,636,558,667,686,642,620,659,643,715,1150,1162,1210,1332,1398,1316,1056,998,1186,1330,946,764,1080,1072,1010,1124,1334,1278,1030,897,1132,1168,1112,1050,934,1054,1412,1622,1374,822,604,576,683,755,907,1054,1060,742,643,620,506,610,929,1210,757,450,338,340,294,305,381,630,1100,1228,1010,795,678,626,680,1078,1244,990,703,527,412,657,877,866,788,938,1538,2022,1842,1182,803,614,404,790,1266,921,449,461,510,463,615,493,384,757,922,579,540,1144,1620,1870,1892,1708,1438,1046,503,280,350,658,1192,933,897,784,575,423,346,281,400,529,661,829,957,854,850,429,285,313,627,688,714,1118,1130,1010,962,850,644,492,831,976,957,868,855,1188,844,361,823,1194,1256,1182,698,720,1306,1520,1422,1240,948,633,628,816,1410,2228,2124,1314,1024,1208,1568,1956,1572,1001,795,724,1009,1256,1370,1388,929,551,551,804,1176,1216,1038,1066,1076,1000,1288,1234,925,1080,1316,1092,1300,1530,1282,1068,1190,1366,1354,1464,1530,1428,1288,1070,817,796,618,901,870,901,879,590,500,693,1036,1562,1230,525,478,543,618,655,709,603,526,501,482,514,644,714,653,639,670,612,426,530,684,681,780,1160,1360,1350,1478,1832,1942,1650,1542,1550,1852,1522,1400,1242,1052,1148,1234,1298,1318,1548,1630,1584,1366,1152,1248,1332,1244,988,937,970,1086,1130,1192,1346,1108,863,1252,1410,1098,1007,838,907,1312,1568,1738,1782,1714,1670,1622,1576,1456,1334,1072,1256,1256,1426,1630,1644,1678,1888,1886,1554,1262,1142,1266,1092,1494,1666,1114,1216,1506,1616,1644,1474,1036,1070,1454,1692,1406,1340,1344,1512,1438,1408,1414,1256,1220,1230,1306,1352,1440,1434,1288,1270,1258,1458,1434,1224,1570,1456,915,639,1320,2054,1500,913,1002,1142,1028,983,929,1164,1582,2104,2098,1804,1418,1180,1456,1522,1434,1450,1208,1290,1220,1354,1360,1000,874,937,1058,1216,1438,1578,1438,1556,1532,1884,1844,1474,1316,1214,1194,1058,926,939,888,951,1266,1174,1012,1068,1158,1420,1500,1482,1276,1198,1266,1380,1268,965,977,1010,1094,969,1118,1306,1476,1062,570,469,647,1052,1208,928,1096,1276,1396,1450,1316,912,641,896,1340,1254,698,453,493,513,553,874,1478,1704,1822,1872,1848,1872,1886,1920,1966,1988,2030,2036,1996,1942,1926,1964,1956,1932,1748,1704,1738,1666,1618,1570,1288,904,524,556,484,477,723,604,406,437,468,372,248,227,271,281,293,310,375,363,368,292,257,429,444,684,922,647,649,603,539,489,397,330,251,245,289,345,335,252,253,321,330,335,355,313,264,287,224,173,180,297,494,475,326,357,438,565,502,499,1026,875,543,627,746,836,1008,1186,1234,1021,1832,3624,2990,1294,716,997,1308,1528,1498,1572,1738,1620,1530,1278,1186,1180,1040,911,918,927,1164,1118,1108,1058,990,993,1021,1090,1208,1288,1190,1090,1172,1774,1538,968,1040,1352,1448,1460,1582,1596,1602,1730,1758,1672,1482,1352,1488,1594,1572,1394,1230,998,879,1262,1350,1318,1312,1294,976,805,926,883,798,878,827,816,928,1004,1272,1288,1114,1268,1642,1572,1462,1376,908,685,1010,1578,1558,1466,1562,1858,1682,1224,1768,1804,1732,1616,1572,1522,1452,1272,1412,1528,1442,1388,1384,1316,1202,1354,1264,1074,951,648,883,1394,1540,1294,1250,1280,1296,1250,1078,1178,1272,1278,1178,1048,773,586,624,690,579,884,1198,1054,1006,931,1334,1484,1044,756,772,910,927,1138,1494,1284,1290,1270,924,1028,951,1072,1374,1096,961,1086,806,415,246,312,613,1122,1150,1130,1442,952,1016,1462,1402,1222,1104,886,1009,965,618,668,1174,1290,1180,1480,1578,1152,967,1246,1202,1202,1174,1230,952,1266,1774,1454,879,860,940,995,1036,1080,1152,798,642,1034,1296,1194,1218,1258,1306,1094,1284,1378,1114,1410,1700,1206,1001,856,962,1308,1368,888,624,674,702,639,890,1354,1144,675,501,495,1132,1460,1456,1384,1300,1350,1188,1378,1538,880,439,579,1098,1346,1138,1088,1114,1054,1088,1024,1434,1900,1412,1416,1230,1054,1048,998,991,1030,882,855,846,651,762,1094,1342,1262,899,883,1140,1174,1180,1100,1164,950,888,573,461,998,1036,852,1128,1270,1288,1292,1262,802,496,739,1440,1168,962,1064,1186,1306,1432,1506,1454,1350,1792,1998,1990,1974,2058,1502,1080,1058,954,971,927,777,725,1176,1532,1518,1074,811,1094,1422,1278,1186,1310,1232,1140,1162,1126,1186,1188,891,661,794,1322,1204,1108,1280,1388,1556,1530,1240,1086,932,683,719,894,920,1236,1478,1118,969,1154,1032,1164,1346,1406,1388,1330,1382,1102,689,962,2048,1912,1288,1166,1116,1158,991,466,539,872,1004,1160,1306,1594,1362,1138,1072,1013,1148,1064,497,482,549,490,558,560,589,796,767,601,555,542,521,476,519,549,767,1294,1462,1064,1088,1146,1368,1288,1194,1214,1366,1364,1394,1528,1146,1274,1278,988,835,1240,1710,1704,1482,1324,1370,1564,1228,882,857,948,1122,1166,1324,1130,1106,857,445,471,607,539,736,1154,1160,1294,1500,1144,1022,1272,1138,786,893,1138,1108,1306,1716,1714,1426,1440,1474,1444,1498,1412,1106,861,615,615,903],[1076,1036,1288,1274,1226,1338,1648,1416,760,484,381,441,455,508,477,437,500,490,455,771,1332,1332,1360,824,548,423,420,397,612,658,540,365,452,642,681,1180,1662,1466,1138,1220,1246,1080,1180,1154,723,460,541,775,887,832,774,886,1186,1082,1542,1200,965,1182,1170,1276,1324,1076,935,1023,916,839,645,519,490,778,1030,886,766,959,999,738,879,916,523,361,515,818,966,1066,1310,1416,1396,1262,1302,1288,1130,916,863,1130,775,504,713,819,981,892,506,324,422,905,1484,1576,1240,584,747,733,477,568,557,718,736,696,675,792,1216,1344,1154,1040,1038,672,439,816,618,551,857,687,599,880,1308,1524,1538,1274,663,498,707,832,858,453,306,346,317,321,295,319,319,285,344,1104,1786,1190,985,1172,1160,1102,1328,1248,938,832,1003,1260,1380,1130,844,948,1072,1378,1426,1056,821,537,405,501,395,345,483,861,1224,897,853,1036,848,658,632,681,827,857,576,517,844,703,580,904,871,550,451,467,415,360,478,535,408,532,988,847,980,1154,1300,1122,892,719,660,722,935,1092,1130,819,753,1012,1096,1238,729,743,697,613,508,458,397,641,879,525,412,270,231,285,474,623,1166,1048,813,996,1040,1002,1194,1278,781,1384,1698,1352,1158,948,673,484,518,610,610,567,431,391,358,322,386,403,323,334,389,770,709,425,353,339,406,430,475,566,476,718,757,694,655,801,880,948,1162,1426,1552,1490,1264,1194,1148,998,813,1014,1526,1572,1118,1110,1394,1116,1092,1182,1130,1102,996,886,1007,973,1090,1256,1282,1114,948,951,945,776,822,942,877,998,1214,978,741,782,1562,1836,1252,1262,1146,990,970,724,694,964,1220,1036,847,878,1088,1416,1440,1298,1246,1004,959,813,1368,1658,1206,1184,1352,1404,1292,1054,1138,1224,1048,1128,1362,1284,1252,1224,908,715,807,1028,1232,1198,987,987,901,1110,1984,2288,1572,1500,1482,1260,1232,1228,1196,1082,687,496,899,1104,969,1070,1228,1190,1274,1050,944,854,912,1074,1080,1068,1190,1306,1260,1244,1034,868,935,647,910,1170,1050,1136,1202,1164,1092,946,1002,1596,1094,1094,1476,781,346,554,1001,1122,1252,1400,1302,1080,827,675,770,819,747,874,794,753,755,704,975,1250,1316,1224,963,780,1208,1202,1192,1390,1264,971,869,710,912,989,931,1072,1200,1228,1054,849,964,1260,1054,1018,1050,698,345,383,346,318,314,406,378,398,457,816,954,968,1224,1148,995,1020,1092,1106,1082,1064,828,954,1188,1316,1180,1206,1088,913,1288,1328,881,684,433,356,741,1238,1226,989,678,961,1312,942,733,954,1442,1902,1548,1226,1050,854,621,750,861,1204,1328,1256,1076,948,1210,1220,1314,1350,1236,1248,1342,1378,1144,1130,1216,1216,1196,1252,1278,1450,1492,1422,1382,1184,1144,1032,1026,1116,1216,1246,1202,1084,1044,1144,1218,1146,1116,1262,1246,1158,1144,1186,1206,1274,1096,995,1054,961,998,1130,1390,1652,1426,1160,1168,1302,1292,1480,1484,1084,1202,1272,1306,1114,1252,1136,1001,991,1018,960,1192,1210,925,1024,1032,767,752,1178,1256,1296,1494,1338,893,838,941,963,1152,1140,856,949,1288,1050,1240,1080,1022,1260,1262,1120,1088,1262,1204,1158,1014,1196,1042,1184,1318,1304,1404,1224,932,861,890,785,748,875,936,1190,1158,1038,1122,1308,1548,1638,1458,1470,1184,836,1104,1448,1330,1222,1206,1260,916,1030,1210,1130,1164,1328,1100,1023,1021,822,1204,1410,1354,716,684,1040,1118,1208,1164,991,937,1230,1698,1682,1258,1144,1078,1244,1272,1400,1064,995,1140,1146,1202,1140,1132,944,1026,1094,1510,2534,1886,1462,1276,1302,1356,1276,1186,1036,749,729,995,856,1164,1584,1378,1376,1482,1372,1292,1244,1218,1004,709,821,1070,1250,1246,796,562,495,500,587,620,566,607,655,993,1650,1390,1362,1178,1070,996,1042,1030,864,1028,938,752,719,805,1026,1130,1360,1262,1082,1044,1134,1023,1074,1234,1216,1288,1554,1444,1050,791,666,664,655,661,648,815,897,839,799,691,717,583,599,703,1128,1014,626,386,286,420,724,973,1246,1344,1186,1260,1140,1160,858,1060,999,730,730,703,708,701,605,604,547,644,1034,1158,1262,1036,724,521,422,541,540,386,292,305,358,422,431,371,606,760,719,558,567,1204,1642,1242,1158,1278,1012,613,382,341,357,879,1246,1460,1166,706,587,384,339,315,329,293,349,888,1086,953,892,536,304,461,837,1158,1001,966,777,1126,1194,875,595,499,505,416,660,843,1068,1224,602,749,1202,1216,1232,976,826,1036,1176,1458,1290,912,929,780,659,546,996,1604,1468,1228,1106,1302,1500,1534,1136,986,1138,916,1028,1202,1294,1438,1434,1172,722,493,956,1154,1078,1130,1142,1142,1218,1232,1256,1378,1504,1288,1488,1576,1346,1174,1310,1322,1244,1172,1194,1118,1034,1001,839,857,904,975,976,1076,1182,996,962,702,669,1434,1404,572,468,516,572,550,551,579,544,500,477,508,621,716,672,622,640,597,395,522,690,832,1172,1434,1412,1340,1428,1584,1506,1392,1386,1030,1344,1448,1206,928,1074,1142,1454,1882,1750,1372,908,1266,1588,1404,1560,1794,1538,1142,1030,1160,1218,932,844,1004,1346,1402,1396,1432,979,969,822,769,1003,1146,1320,1434,1526,1652,1672,1480,1186,1256,1034,1005,896,996,1282,1254,1362,1840,1672,1048,979,1122,1968,1710,1288,1314,1012,1007,1416,1682,1726,1384,948,1220,1568,1396,1144,1106,1076,1246,968,1078,1354,1396,1474,1474,1396,1368,1472,1394,1270,1382,1520,1754,1356,1274,1664,1488,1002,655,1196,1790,1592,1598,1570,2146,2634,1964,1478,1300,1466,1736,1918,1772,1422,1450,1592,1484,1294,1046,993,975,984,1198,1084,779,743,836,990,1180,1548,1314,1240,1200,1334,1534,1492,1432,1362,1236,1098,1001,831,585,788,930,1019,1007,922,1011,1224,1322,1330,1240,1154,1136,1338,1444,1218,1030,1156,1156,1024,1012,1156,1338,1398,1012,654,651,745,841,1116,1186,1306,1440,1486,1400,1038,599,552,692,1108,1406,951,467,460,471,523,651,1368,1716,1902,1990,1974,1952,1990,2022,2008,2046,2008,2008,1964,1964,1894,1860,1848,1656,1252,1122,1356,1272,1042,1098,828,653,510,516,449,437,549,634,749,598,307,282,275,284,389,383,343,354,402,404,364,343,343,470,642,697,554,423,499,401,456,439,366,289,232,254,360,426,368,297,258,300,334,343,352,328,303,289,197,170,226,238,335,355,313,454,755,1024,726,578,1050,749,512,984,1184,1038,1296,1164,1202,1290,1476,2558,2778,1434,1028,1019,1096,1378,1556,1636,1636,1698,1562,1110,1126,1172,1068,741,853,1190,1208,1128,1214,1148,1184,1154,1042,1086,1005,1076,1194,1478,1850,2446,1612,882,1612,1986,1498,1488,1700,1584,1516,1512,1338,1318,1290,1388,1364,1226,1110,1054,1180,774,529,717,787,964,1194,1416,1290,973,1118,1320,1226,1040,1058,1004,1076,1104,1760,1616,1454,1460,1230,1328,1632,1322,1021,912,1086,1312,1290,1318,1506,1798,1500,1518,2518,2756,2114,1420,1102,1148,1013,931,1362,1472,1556,1560,1272,1366,1586,1470,1352,1332,1210,1066,1026,1110,1236,1052,1182,1170,1174,1104,1258,1384,1220,1194,1340,1226,1026,713,916,1240,952,1072,1262,1236,1146,1324,1600,1430,856,650,825,1032,986,1286,1446,1248,1266,907,742,858,764,836,1028,1078,1060,1188,1052,658,376,475,894,1386,1240,1266,1362,1196,1352,1390,1092,991,1184,1096,753,488,441,915,1152,1220,1166,1206,1074,856,919,922,1104,1190,919,1250,1378,1470,1326,973,561,597,638,729,855,952,1210,944,884,1742,1244,871,1152,1290,1048,921,1114,1023,745,1134,1712,1140,816,835,1068,1050,1080,1024,781,576,609,481,386,495,775,878,891,999,922,1026,1062,1394,1534,1456,1496,1420,1116,941,1164,1108,1284,1224,1142,1042,828,890,1004,688,752,1084,1448,1576,1156,1318,1416,810,554,669,839,1054,944,808,843,973,1200,1238,1124,1304,947,1020,1068,1144,1274,1428,1274,1001,941,1232,1368,1208,1208,1242,1182,1176,1142,834,575,858,1674,1546,1302,1382,1346,1362,1532,1522,1302,1250,1440,1690,1872,1844,1964,1472,932,1038,1262,1106,711,817,1070,1292,877,741,755,1005,1230,1140,766,741,1128,1248,1166,1154,1222,1184,969,760,610,926,1278,1270,1232,1058,955,1374,1606,1450,1262,1136,888,979,1216,1030,948,1054,846,596,766,973,1250,1204,1242,1238,1220,1062,1090,863,765,1194,1378,1230,1136,1084,1188,1230,750,714,1036,1194,1288,1468,1548,1350,1206,1088,781,821,972,579,512,513,412,459,472,499,658,684,559,495,502,494,495,562,535,850,1588,1774,1426,1224,1226,1036,1072,1144,1170,1408,1320,1252,1260,972,1104,1154,692,818,1202,1484,1672,1336,941,1248,1480,1412,1250,944,908,833,1058,1366,1034,908,1020,799,923,1060,911,1076,1236,1338,1416,1226,982,1038,1266,1126,685,946,1236,915,1162,1782,1758,1412,1252,1076,1142,1208,995,841,924,914,1058,1346],[1294,932,829,1102,1232,1072,1262,1210,1042,589,381,437,448,538,531,506,623,583,593,822,1160,1206,1358,1078,612,513,584,563,514,421,318,311,447,599,630,1044,1180,1158,1204,1292,1246,1080,1180,1290,803,377,436,796,912,946,1086,1522,1468,1220,1692,1428,1046,1024,774,851,919,753,604,450,327,715,637,799,881,763,676,860,1234,1168,905,528,522,517,351,342,446,949,1096,1210,1388,1462,1398,1268,1322,977,827,673,1054,1238,799,475,495,503,627,605,359,280,270,499,764,825,631,367,515,415,432,500,652,786,716,773,728,680,1296,1208,1046,841,534,368,356,800,667,386,735,869,571,750,688,860,1194,1286,1254,943,998,680,342,310,478,445,315,287,275,328,389,493,307,375,974,1048,833,944,1202,1324,1370,1088,824,799,1114,1428,1460,1454,1366,1106,1364,1894,1720,987,885,598,688,416,323,317,473,547,815,813,723,738,832,797,724,696,998,1184,1028,874,1044,1134,835,867,804,581,463,440,376,369,590,529,403,518,927,1028,1034,925,830,1266,1086,918,1116,567,678,1060,1222,930,758,859,755,788,988,888,638,584,606,397,636,1478,1700,583,397,277,302,469,811,850,831,740,633,673,481,474,824,1114,998,1322,1252,1118,1098,926,698,477,457,468,579,524,369,413,364,341,350,332,330,293,534,1058,933,538,339,333,314,484,1244,1600,1036,832,868,1158,1120,701,797,1152,1154,1078,1188,1422,1496,1238,1013,979,1154,1126,1224,1270,1350,1688,1856,1450,1430,1300,1214,924,1086,1200,1406,1510,1384,1202,948,991,1130,1168,1456,927,882,934,980,954,1074,862,1060,1084,1206,1380,1362,1320,1276,1196,873,936,1070,1296,1454,1324,896,753,1034,1094,1110,1166,907,685,951,1080,1448,1358,1256,1144,1054,1128,1152,1116,1090,1132,1074,1080,1116,1162,1120,1030,800,756,952,1036,1102,935,853,993,1198,1162,1324,1588,1682,1460,1160,1184,1198,1100,1036,966,836,907,1176,1132,1196,1328,1160,1072,1198,940,867,1082,1202,1212,1158,1078,1366,1394,1116,1116,1214,1368,1262,922,914,910,758,809,1030,1130,1088,1096,641,734,499,800,1050,612,563,1001,1356,1258,886,810,1154,990,957,1016,752,829,687,537,772,1062,1001,1012,1084,1184,1256,1058,1114,1094,1284,1146,1064,1200,1106,744,623,893,856,866,1196,1036,1084,1056,962,913,1082,948,723,842,1124,959,533,475,418,460,363,351,381,429,455,676,653,805,1168,1100,1028,1036,1080,1316,1310,1180,1210,1428,1334,1172,1220,1472,1310,839,1238,1342,849,668,500,447,756,977,902,665,631,987,1058,774,719,704,987,1058,908,989,1006,944,886,726,739,1060,1064,1160,1190,1262,1378,1284,1396,1306,1336,1348,1498,1538,1652,1570,1306,1288,1368,1434,1450,1482,1248,1236,1390,1342,1240,1020,1038,1172,1270,1290,1226,1056,1064,1116,971,1028,1058,1314,1352,1124,1005,949,877,1100,1300,1450,1632,1180,1198,1372,1356,1308,1494,1720,1400,1234,1288,1486,1178,1018,1056,1158,1412,1190,1180,1264,1018,995,976,752,862,1096,1152,1084,822,779,876,1152,1322,1346,1708,1570,938,827,957,1048,1400,1056,992,1062,974,948,1040,1068,1200,1156,1246,1188,1168,1244,1100,1196,1132,1014,951,1152,1182,1182,1338,1268,1240,1088,808,791,865,1007,1234,1438,1250,1196,1204,1078,1356,1542,1384,1362,1312,1202,1456,1636,1450,1444,1422,1406,1140,1232,1592,1538,1466,1498,1200,1080,1070,909,1068,1166,1166,971,1294,1404,1254,1356,1410,1294,1330,1044,1108,1602,1462,1114,981,1166,1314,1478,1574,1480,1310,1252,1050,993,1128,1156,1058,1064,1224,1406,1760,1708,1220,1266,1274,1128,1216,1226,1048,927,979,845,1690,2398,1878,1514,1674,1514,1482,1498,1698,1670,1148,1362,1322,1388,973,631,583,555,507,449,462,543,557,647,1142,1736,1932,1690,1250,1138,1158,1050,787,836,1344,1188,1180,1248,1058,1158,1146,1084,1046,1020,1092,1130,1076,1060,1214,1270,1354,1520,1058,744,713,726,715,700,688,638,579,542,641,788,924,817,751,715,511,519,883,1106,946,508,631,1082,1182,1556,1172,948,1036,1202,1002,980,1270,1194,1190,802,620,587,705,965,859,676,432,449,600,788,1242,1388,882,708,614,431,604,745,542,336,545,629,462,677,868,642,400,598,852,1158,843,641,828,1074,933,549,332,330,843,1468,1620,1162,583,541,411,412,351,364,517,943,1414,1216,1100,1262,970,617,625,865,1324,846,587,875,1188,1112,1588,1494,768,506,511,536,819,1372,1258,726,1206,1160,1162,1346,1252,1212,1054,1014,1248,1372,1002,1090,1072,1005,611,628,766,810,1068,1234,1096,809,937,1116,1164,1216,1178,1202,1126,1404,1352,1402,1728,1312,899,1208,1346,1304,1230,1314,1162,1282,1312,1338,1416,1584,1520,1252,1404,1498,1306,1186,1362,1616,1290,1160,1028,1094,1316,1206,1064,1082,1122,987,979,1112,935,875,683,696,1390,1494,711,509,635,672,587,572,559,521,508,453,508,612,709,669,577,595,583,408,496,937,1282,1302,1446,1412,1648,1990,1614,1376,1376,1274,1050,1172,1248,1062,1028,1076,1122,1756,2026,1882,982,640,1108,1270,1064,1430,1716,1642,1652,1474,1402,1150,820,766,835,972,986,1130,1360,1548,1352,896,814,954,1007,1046,960,1001,1384,1592,1594,1400,1356,1274,1282,1196,1138,1210,1258,1322,1504,1518,1054,935,1088,2018,2088,1392,1264,1438,1356,1346,1536,1616,1188,966,1320,1714,1268,1021,1072,1004,1238,1244,1182,1294,1600,1716,1748,1510,1350,1384,1302,1230,1324,1498,1732,1382,1402,1582,1462,1170,800,1316,1428,1438,1708,1664,1648,1826,1920,1744,1844,1802,1416,1928,2444,1766,1634,1392,1350,1216,1078,1192,1188,1124,1136,1024,952,958,978,946,1068,1368,1166,1246,1148,1106,1230,1388,1464,1472,1210,1118,1158,1066,748,918,912,807,943,926,1144,1248,1096,1190,1322,1342,1368,1470,1354,1240,1238,1142,945,880,1070,1362,1414,1180,825,722,695,758,736,903,1106,1096,1102,1170,1078,930,949,708,781,1148,1460,1182,576,526,543,615,758,1002,1298,1560,1606,1478,1450,1484,1646,1862,1938,1902,1696,1802,1912,1696,1670,1672,1328,927,542,624,681,554,543,499,453,451,441,398,390,373,398,374,278,280,366,323,362,600,670,813,618,370,398,359,385,460,400,470,580,598,614,464,383,397,357,325,288,258,300,430,403,318,327,256,278,358,365,359,360,349,285,201,213,267,283,345,314,372,623,643,1050,860,788,1234,1144,860,1204,1282,1034,1432,1388,1234,1484,1830,1578,1314,1372,1328,1318,1324,1412,1738,1644,1412,2122,2100,1266,1110,1142,987,841,1021,1250,1140,1094,1238,1276,1532,1378,1194,1168,1164,1154,1240,1506,1946,2082,1398,1146,1594,1816,1658,1602,1628,1542,1478,1202,940,1208,1396,1406,1246,1005,802,827,1114,710,434,540,549,842,1168,1092,887,944,1166,1362,1224,904,1054,1036,1100,992,1482,1322,1216,1444,1204,1042,1282,1438,1450,1206,1410,1238,1228,1318,1462,1476,1200,1368,1450,1798,1986,1428,942,1040,1158,1272,1632,1464,1362,1016,1070,1890,1694,1256,1464,1394,1348,1482,1552,1440,1388,1066,955,972,1024,1218,1466,1474,1308,1238,1176,1076,1192,692,698,1028,1278,1274,1140,1480,1516,1318,1496,1502,995,678,685,980,730,818,1158,1018,1092,1136,871,655,783,938,980,980,813,725,608,879,608,629,1015,1236,1396,1512,1300,1232,1310,1126,874,1010,1108,1232,1020,616,599,899,1122,1224,1128,898,866,1246,1050,952,972,701,623,865,1266,1328,1372,1244,1108,1134,1001,706,521,627,818,794,979,1150,683,511,763,987,961,952,974,1130,696,543,684,1146,1282,1116,1218,1098,942,882,650,527,602,608,485,521,760,811,783,854,861,860,957,1284,1448,1416,1446,1348,1040,1284,1850,1438,1498,1100,871,830,637,777,1070,1036,945,789,762,893,852,744,792,713,779,731,989,1276,1050,960,979,1098,1296,811,771,1126,930,798,828,1122,1394,1412,1416,1418,1260,1094,1384,1222,1216,1104,948,1194,1322,1140,747,1158,1324,1034,1240,1420,1312,1324,1094,1090,1026,1128,1210,1362,1486,1628,1586,1050,968,1338,1212,870,738,827,1048,837,499,474,697,1198,1318,1084,854,759,992,1132,960,991,1038,1208,1112,987,1019,1200,1186,1172,1278,1050,719,1038,1560,1492,1400,1352,1108,1204,1226,1001,1028,1068,904,828,1028,1186,1260,1072,1232,1334,1182,1182,1204,959,714,734,1040,1174,1102,1162,1222,1056,1026,1016,1178,1014,1048,1236,1214,1162,1172,941,614,538,549,421,426,438,426,451,478,483,505,481,459,463,506,437,540,538,783,1162,1440,1538,1384,1372,1210,742,772,892,1106,1280,1230,1200,1100,1174,1364,1106,718,808,1028,1160,1582,1506,1262,1224,1262,1312,1294,1005,910,929,1084,1566,1560,965,1088,1260,1228,1206,1196,1106,1272,1396,1240,1170,1162,1298,1754,1266,630,671,825,756,1078,1722,1938,1550,1150,1172,1288,1404,1356,1054,1318,1278,1300,1316],[1172,815,772,969,1142,800,1102,1296,1104,732,486,503,460,443,447,455,522,546,552,502,868,954,1150,1276,1100,868,773,692,650,454,375,379,659,618,685,916,921,1146,1330,1418,1448,1294,1248,1378,818,437,546,965,1208,1246,1288,1260,1042,883,1198,1426,1050,958,1156,1024,861,587,405,387,462,615,542,818,1130,844,437,737,912,623,413,323,327,365,539,552,709,1238,1302,1260,1254,1200,1194,1076,1058,751,659,813,1112,1306,1198,820,565,568,768,900,705,479,560,422,362,447,429,395,368,367,411,477,750,1138,1080,1210,1198,780,1118,863,832,506,352,462,475,767,790,481,506,751,707,910,952,860,1150,1278,1232,1616,1542,938,391,543,815,688,391,328,278,298,439,572,414,299,503,733,735,796,1138,1302,1048,897,984,1322,1354,1376,1160,1284,1432,1482,1338,1060,1448,1134,1108,738,1076,639,346,343,597,1154,1544,1284,1040,1106,1050,824,749,683,860,1206,1108,929,987,1062,878,818,858,777,686,512,597,529,711,521,624,619,852,963,882,984,1120,1056,859,1168,1376,963,992,783,867,959,916,747,734,855,835,682,501,365,390,340,522,1296,1412,664,370,320,411,608,833,636,383,574,592,336,389,584,448,547,796,771,808,939,803,744,767,514,536,473,563,486,286,464,765,642,393,346,336,399,926,1428,1268,837,609,335,318,447,1060,1378,1280,996,712,1168,1476,1088,854,1080,1023,1110,1458,1438,1604,1490,1282,1318,1362,1414,1092,960,1482,1554,1492,1132,1023,1238,1362,855,1248,1412,1142,922,1102,1062,827,1146,1214,1250,1626,1262,1418,1964,1444,816,673,845,1023,832,693,934,1184,1100,1172,1098,616,602,968,1260,1444,1214,959,773,960,1178,1174,1166,998,768,982,1346,1458,1408,1430,1188,1108,1188,1290,1034,893,1072,1184,1158,946,735,870,1086,1001,1054,1158,1316,1130,898,749,952,1144,1092,1312,1364,1300,985,947,1252,1228,1238,1180,1066,899,977,1266,1394,1394,1080,713,1018,1490,1250,709,902,1142,1192,1260,1122,1244,1232,1346,1300,1290,1272,1088,1064,1112,839,653,827,927,1114,1062,842,483,448,435,390,413,342,506,905,1009,831,735,711,807,796,1005,1072,1110,1308,1048,839,1004,1060,791,825,1001,969,1168,1086,937,788,1114,1246,1174,1178,893,528,630,1072,785,1042,1224,1082,979,1086,1188,1144,1086,993,979,1021,1224,1086,669,442,402,423,379,360,476,539,509,517,452,487,673,825,973,1250,1168,1266,1118,1132,1222,1410,1308,1100,1256,1652,1612,937,965,1352,1266,1318,983,661,821,964,644,263,499,948,991,948,958,1106,1168,795,834,996,731,736,965,655,646,1046,1184,1260,1190,1352,1208,1230,1336,1280,1266,1262,1210,1350,1686,1460,1200,1260,1330,1048,1072,1026,1154,1272,1258,1254,1086,867,863,909,1034,1166,1258,1230,1120,1120,1028,985,1044,1296,1400,1146,993,990,954,1354,1328,1376,1672,1262,1290,1444,1256,1050,1662,1916,1452,1180,1344,1558,1138,1148,1064,1172,1140,1396,1662,1246,935,1001,1018,1054,1268,1340,1374,1052,897,1162,1112,1088,1398,1406,1726,1720,981,804,963,1070,1344,1318,1588,1232,777,835,842,981,1268,1056,1080,1050,1010,1136,879,811,874,892,998,1150,1128,1240,1484,1424,1556,1410,984,1038,1146,1078,1344,1500,1362,1384,1388,1350,1382,1400,1498,1422,1516,1592,1698,1656,1510,1572,1624,1592,1554,1632,1724,1682,1678,1522,1216,1200,1154,983,1005,1094,1088,1200,1556,1678,1792,1998,3076,1602,1178,934,1118,1018,881,1106,1118,1098,1276,1838,2292,1880,1130,883,752,1034,1178,1138,1074,1054,1114,1170,1430,1364,1108,1202,1238,1224,1270,1210,1072,1124,921,1284,2214,2266,1608,1504,1426,1176,1404,1606,1728,1620,1376,1480,1672,1510,969,625,537,516,531,481,457,499,549,801,1418,1556,1582,1374,1154,1330,1290,866,538,467,1068,1106,1050,1244,1258,1230,1116,883,872,1128,1096,1110,1096,988,1242,1354,1490,1272,722,575,554,617,630,634,677,631,601,579,559,599,588,825,731,843,865,581,466,634,948,1088,1056,1256,1056,1146,1032,1302,1274,1440,1114,1176,1158,672,767,772,645,438,677,919,1048,786,785,898,784,697,1144,1600,1554,1302,735,860,1056,1194,1040,764,506,345,331,377,442,494,539,639,419,655,771,645,491,714,949,765,433,310,444,586,637,535,314,351,598,875,1034,1164,1170,1244,1306,1250,1430,1298,1196,1266,1276,1220,984,628,503,847,651,654,1400,1664,880,539,650,624,1048,1348,1334,1104,1160,1130,1054,948,1004,985,840,1002,975,1406,1368,1478,1332,1012,904,927,998,1094,1154,1236,990,770,1090,800,735,700,1076,1450,1374,1546,1168,850,1254,1278,1092,1228,1350,1550,1496,1610,1384,1328,1212,1208,1176,1300,1256,1152,1396,1672,1426,1204,1400,1546,1362,1166,1104,1144,1194,973,764,797,934,946,860,1026,1066,1072,1058,1090,1506,1698,925,503,801,846,691,637,594,519,523,493,484,566,661,648,570,575,598,427,517,1200,1556,1428,1478,1312,1536,1880,1466,1310,1438,1162,1142,1386,1406,1368,1334,1248,1516,1902,2026,1310,553,891,1190,939,662,1044,1452,1576,1492,1494,1628,1378,994,879,949,972,1007,940,1242,1766,1570,1288,1190,1084,1003,964,766,837,1526,1656,1476,1594,1622,1670,1524,1206,1410,1354,1356,1526,1436,1448,1246,1021,1190,1528,1502,1470,1576,1426,1220,913,908,1316,975,1021,1130,1476,1334,1136,1072,847,965,1272,1332,1292,1558,1644,1614,1434,1438,1410,1276,1234,1298,1600,1610,1194,1248,1318,1654,1320,811,1354,1500,1526,1716,1786,1754,1662,1500,1538,1346,1390,1438,1766,2426,1640,1400,1428,1324,1144,1046,1134,1150,1090,1058,1102,1128,1086,1148,1156,1254,1106,1314,1316,1156,1208,1184,1246,1446,1436,1554,1588,1342,1070,880,1112,1100,1023,1120,1136,1232,1218,1228,1244,1334,1316,1342,1180,1388,1386,1426,1294,1092,924,776,1038,1386,1290,780,601,530,501,465,875,1044,917,971,1060,1015,1260,1422,1240,1064,1028,1400,1362,752,622,729,786,833,802,764,893,996,743,615,774,1058,1578,1894,1854,1570,1600,1618,1386,1314,1266,847,518,421,505,552,536,550,509,456,447,382,308,329,379,291,320,348,352,412,543,807,818,813,899,548,359,409,349,320,333,354,462,538,614,469,445,583,510,324,277,370,376,321,397,307,289,323,268,267,307,329,350,361,326,213,185,246,294,321,357,321,280,591,728,658,562,880,1450,1458,1082,1017,944,948,1082,1348,1264,1420,1544,1284,1412,1564,1478,1376,1292,1504,1886,1740,1700,2430,2092,1424,1344,1366,1032,698,825,1166,1176,1238,1476,1310,1220,1146,1362,1462,1384,1238,1180,1426,1854,1836,1438,1528,1766,1766,1546,1558,1558,1262,1042,969,1054,1194,1272,1282,1238,953,764,930,1372,838,631,962,858,938,1134,1009,1090,1166,1210,1288,1176,967,952,1013,985,928,1210,1300,981,1166,1382,1260,1032,1176,1434,1422,1710,1718,1526,1656,1606,1180,1118,1204,944,1044,1224,1200,931,1078,1130,1464,1938,1350,702,670,1184,1722,1618,1300,1230,1138,1302,1310,1280,1330,1382,1348,1454,1422,1362,1420,1272,1250,1422,1088,761,834,806,552,595,1005,1270,1062,976,1250,1332,1386,1426,1410,1194,917,805,1126,938,659,1116,1182,1364,1534,1078,827,777,1088,1236,1136,844,489,776,1400,1154,919,752,1182,1730,1670,1572,1444,990,850,1198,1280,1182,1474,1404,1114,1164,1126,867,993,1122,996,1152,1300,1062,1038,780,607,655,1196,1626,1546,1510,1472,1814,1526,991,851,634,794,818,893,1007,1084,1064,579,504,843,1130,1246,1172,1186,1060,977,893,1170,1094,852,922,1168,1266,1322,1246,904,777,717,797,756,664,470,438,698,796,802,944,944,861,1046,1288,1450,1250,1390,1380,1098,1310,1110,983,1176,1020,985,1154,1138,1074,767,1050,1180,800,791,866,864,1124,1380,1602,1200,806,923,1242,1094,1116,811,621,882,1017,804,748,935,1136,1324,1262,1222,1278,1444,1562,1288,1164,1008,1046,1190,1334,1050,969,1286,1028,1066,1384,1554,1240,1156,835,678,882,963,1104,1360,1308,1460,1544,1412,1208,1312,1246,837,675,694,784,613,665,647,843,1266,1066,832,819,1068,1098,1236,1354,1048,838,830,991,1332,1422,1200,982,1182,1436,1040,691,933,1522,1422,1522,1534,1302,1406,1278,1340,1066,791,877,1096,1170,1278,1302,1126,1060,1078,1192,1224,995,771,755,1042,1234,1306,1260,1292,1242,1124,1004,1140,1312,1128,1122,1128,1184,1018,816,542,472,448,460,427,368,423,511,487,436,483,412,300,340,420,493,493,616,626,1144,1460,1516,1578,1480,1584,1340,927,900,1194,1186,1198,1098,1272,1506,1668,1548,1158,720,702,1006,1094,1590,1498,1128,811,855,1076,1092,816,849,1038,1038,1522,1356,733,716,946,1018,1352,1232,956,1190,1132,938,967,901,905,1216,738,505,511,650,922,1182,1566,1916,1622,1204,1282,1478,1440,1404,1424,1536,1406,1340,1288],[697,583,1044,1316,882,753,1226,1348,1202,822,527,564,610,535,467,462,485,552,459,471,662,826,1007,1350,1562,1256,1084,905,580,410,431,328,769,866,978,843,825,1042,1272,1476,1494,1194,1218,1344,918,592,832,1162,1174,1122,961,572,651,958,1082,1256,1322,1360,1362,1134,1252,728,312,524,633,647,1003,1202,891,569,404,631,872,589,505,514,381,625,1318,1068,614,972,1248,995,1110,1256,1302,1134,731,984,1021,1042,1154,1024,973,851,979,926,1068,1050,1064,1236,1220,839,846,860,721,463,433,574,629,600,970,1638,1356,1250,1306,797,595,825,989,836,779,512,595,893,828,691,521,652,609,604,769,854,2024,1756,1080,1364,1382,1284,1056,492,612,853,452,303,377,607,659,733,645,283,418,576,697,534,945,1048,954,926,1011,790,747,928,1074,1376,1464,1406,1130,1038,1236,1156,1086,1014,1232,750,439,645,913,1496,1610,1004,891,1011,741,552,1062,1324,1134,1138,1166,910,796,872,851,1048,811,779,932,788,996,808,754,532,750,664,625,922,1014,1052,881,808,928,784,683,891,1194,1154,1060,999,832,878,1188,1080,1030,998,491,310,447,389,370,520,607,458,320,341,350,598,758,374,444,1172,1148,608,508,646,504,615,611,492,540,492,488,630,814,542,498,366,439,505,383,710,918,521,345,349,315,290,561,957,1168,1138,783,306,283,313,600,1072,1178,979,844,1218,1570,1340,838,1230,1310,1274,1604,1550,1484,1664,1590,1428,1538,1464,987,1074,1280,1028,857,426,308,790,1172,834,630,954,1114,961,1400,1080,930,1224,1394,1484,1366,1284,1606,1412,847,875,1015,1110,1058,876,979,1176,1190,1150,948,934,893,768,691,809,994,644,1028,1082,1204,1272,1416,1372,1246,1184,1186,1252,1344,1546,1398,1300,1240,1240,1138,1166,1042,1021,1018,905,659,551,908,1166,1072,954,847,1040,1094,882,607,553,756,1066,1288,1218,939,1068,1112,1238,1310,1222,1116,1020,924,885,1080,1364,1276,1088,791,711,1202,1192,861,1019,905,1026,1136,866,797,1098,1322,1130,1194,1236,930,950,1322,1258,1110,1216,1428,1288,889,769,454,462,710,791,628,592,590,585,548,661,838,846,702,785,1442,1516,1168,1300,1200,1094,872,983,943,1010,1128,812,1116,1358,1268,1202,1358,1366,1260,1316,1166,966,729,756,658,1152,1228,916,670,907,1172,1164,1114,1208,1202,1082,1112,1130,643,360,332,369,379,407,484,543,534,650,767,798,836,984,1020,880,1092,1005,872,1076,1174,1372,1138,990,945,1054,1064,793,774,1230,1294,1120,946,844,811,733,610,505,667,875,1003,977,835,1040,877,769,904,1052,896,821,1058,924,693,1009,1058,1022,1026,1208,1160,1254,1322,1368,1358,1314,1246,1382,1412,1158,1094,1100,1188,1092,1172,1136,1122,1212,1322,1228,829,774,860,724,965,1122,1328,1244,1098,1104,1001,1082,1242,1200,1404,1166,925,1038,1023,1262,1300,1206,990,978,1238,1452,1388,1246,1282,1488,1316,1282,1470,1254,708,582,868,1080,929,1044,976,1122,1144,1124,1016,1086,1332,1224,905,977,1328,1468,1242,1080,1386,1428,1492,1448,926,791,840,996,1072,1322,1414,1090,935,777,983,951,1322,1158,959,954,881,987,896,789,917,1014,1074,1100,1240,1490,1600,1590,1550,1552,1354,1444,1422,1360,1516,1544,1532,1592,1480,1456,1516,1506,1548,1530,1616,1620,1680,1694,1560,1628,1748,1644,1648,1674,1690,1648,1674,1666,1632,1598,1538,1504,1512,1538,1508,1468,1482,1508,1716,2348,3292,1806,1038,1240,1474,1140,1184,1376,1340,1376,1314,1520,1534,1234,656,744,856,1003,1130,1170,1116,1102,1144,1124,1118,1154,1364,1324,1034,1078,1260,1216,1112,1238,1162,1218,1488,1504,1330,1282,1250,1160,1138,1354,1588,1686,1670,1610,1522,1160,780,609,553,559,545,548,510,493,524,827,1370,1498,1606,1748,1442,1340,1090,680,554,464,644,995,1148,1108,1126,1130,999,720,775,1096,1106,1020,890,1064,1282,1396,1510,996,647,580,479,497,491,488,549,527,546,576,568,616,606,578,539,637,470,368,408,366,530,926,1166,1314,1040,707,1128,1456,1186,1064,1003,957,855,836,860,683,576,1019,1542,1894,1476,768,963,1498,1236,618,721,1230,938,937,476,518,1108,1172,952,888,880,462,285,282,312,321,651,974,778,503,625,740,530,414,467,558,394,327,331,293,236,282,490,740,926,858,728,562,338,454,708,877,907,860,1196,1086,1444,1586,1304,1076,1100,900,470,579,871,1074,741,455,599,971,1282,1344,1322,954,812,1108,1386,1362,918,1226,1270,1026,749,1252,1538,1602,1450,1046,883,893,1062,1192,1068,1182,1086,982,1216,670,677,720,979,1378,1310,1224,1208,1242,1374,1272,1146,1350,1596,1636,1548,1502,1382,1400,1416,1226,1174,1356,1316,1252,1444,1692,1492,1128,1246,1266,1234,1258,1232,998,766,780,868,1064,1182,1168,1088,1120,1146,1020,909,852,1306,1692,1076,451,569,624,652,617,589,481,448,443,444,518,646,661,569,578,597,459,506,1010,1228,1484,1592,1698,1508,1418,1220,1392,1516,1186,1316,1498,1660,1812,1356,1460,1732,1890,2056,1302,838,959,1094,896,808,858,886,871,906,1228,1476,1512,1482,1482,1494,1252,1060,935,1132,1354,1432,1406,1262,1302,1180,1036,969,1196,1904,1700,1170,1156,1082,1512,1700,1582,1700,1472,1344,1418,1332,1388,1458,1396,1336,1232,1042,978,802,733,696,670,904,1384,993,1058,1182,1330,1512,1574,1504,1108,973,1188,1194,1034,1410,1390,1236,1268,1492,1482,1376,1270,1226,1620,1390,1008,1252,1598,1704,1344,871,1222,1782,2112,2268,2284,2050,1814,1654,1888,1250,1202,1582,1886,1726,1360,1268,1326,1384,1206,1018,989,990,1018,992,1114,1188,1134,1144,1356,1328,1182,1390,1248,1450,1660,1346,1346,1440,1512,1492,1508,1334,1192,1184,1234,1188,1234,1182,1260,1408,1350,1344,1188,1054,1054,1180,1220,1256,1162,1246,1456,1300,1088,667,812,1288,1478,952,617,495,435,568,990,1015,713,619,854,1080,1472,1506,1628,1510,919,1236,1418,784,421,667,844,785,696,653,711,755,602,631,901,872,1116,1570,1652,1542,1554,1482,1182,866,667,568,515,509,481,451,463,455,416,410,401,405,365,426,575,610,454,385,382,482,815,1013,664,502,485,297,311,310,295,397,511,488,458,476,424,319,448,606,502,343,423,625,496,365,375,308,234,275,275,300,328,312,302,306,244,170,192,258,278,330,361,262,200,395,454,361,562,1126,1564,1550,1382,1320,1102,1040,1062,1034,1218,1554,1310,1044,1344,1402,1386,1396,1026,1504,1896,1616,1670,1788,1458,1462,1550,1388,1136,975,1005,1192,1290,1192,1242,1040,1088,1292,1556,1642,1534,1294,1092,1360,1744,1736,1686,1804,1770,1578,1418,1422,1396,1126,752,900,1126,1022,940,771,1136,1162,1005,959,1144,710,698,1166,1158,1080,1288,1270,1390,1344,1250,1354,1192,1058,1128,1004,918,799,1178,1526,1258,1290,1282,1284,1216,1076,1106,1570,1730,1736,1642,1484,1306,1138,1138,1118,1000,1120,1204,1122,940,951,834,1176,1404,1120,940,953,1122,1276,1146,1130,1146,1174,1544,1488,1370,1430,1276,1296,1400,1454,1512,1552,1526,1526,1504,1402,1376,1206,1092,883,873,1296,1250,813,960,1240,1438,1400,1316,1382,1368,1400,1238,1216,1168,1010,1002,1244,1434,1222,780,657,618,922,958,1140,1060,664,904,1150,1186,948,650,647,751,1190,1488,1372,866,1032,1290,1042,1050,1210,1232,1276,1312,1102,847,901,923,637,869,933,915,1202,1318,930,882,1476,1660,1584,1454,1344,1838,1848,1230,932,755,619,612,953,992,891,1150,1046,694,1184,1438,1372,980,929,1614,1490,855,844,692,744,991,1160,1274,1268,1202,1250,1140,799,689,975,909,403,488,814,995,1166,1324,1342,1266,1108,1114,1180,1214,1184,930,1140,1390,1026,1122,1312,1088,985,1274,1156,1150,813,684,687,683,977,860,599,839,1228,1594,1102,973,795,1028,1114,1290,1168,819,919,795,577,547,646,953,1160,929,739,793,1354,1400,1284,1010,1002,1150,1238,1232,1054,1198,1186,1100,1182,1368,1384,1218,1134,894,846,874,700,681,944,1058,1302,1226,1380,1388,1214,1092,1005,1036,1009,929,830,762,858,1350,1368,697,444,478,1064,1216,1452,1492,1274,1222,1102,1001,1172,1306,1420,1478,1330,1196,899,944,1274,1534,1488,1352,1226,1390,1688,1552,1542,1036,863,1102,1268,1478,1406,1444,1318,836,868,1142,846,613,613,950,1296,1396,1500,1250,1256,1384,1418,1406,1590,1476,1228,1132,1082,1272,1028,802,668,571,532,529,425,390,496,574,477,498,494,384,299,285,343,505,637,772,879,1094,1238,1382,1396,1400,1576,1294,1074,833,1140,1332,1318,1444,1634,1562,1426,1242,1080,622,732,978,1154,1518,1206,648,573,705,944,1086,585,542,784,1006,1426,1268,729,458,821,947,1058,975,826,1114,1260,1248,910,615,722,1160,796,719,717,838,1282,1524,1636,1838,1680,1256,1248,1240,1112,893,1108,1308,1416,1414,1284],[716,565,865,854,640,647,684,824,1044,855,772,743,889,713,532,480,526,504,419,719,1122,1154,1090,1200,1266,1366,1440,1418,841,472,399,322,535,1156,1442,1204,1324,1336,1390,1522,1318,835,1242,1304,1028,724,855,1082,944,988,1024,924,541,878,1376,1017,1446,1488,1120,1104,1184,968,687,391,332,420,760,655,369,267,397,779,744,378,462,569,505,810,1050,864,750,738,841,518,650,1172,1188,760,436,829,1094,1340,1306,1114,1256,1218,1188,926,843,956,1266,1580,1338,1180,1208,1134,848,398,398,561,515,547,926,1176,1284,1488,1462,916,636,736,672,961,1302,885,688,688,521,397,307,403,352,608,954,1232,1722,1562,1368,1116,844,590,1112,974,586,407,315,389,753,1202,1176,762,528,349,393,394,661,751,751,828,1080,1104,942,626,455,785,1202,1042,1122,1158,1180,1400,1256,1262,1184,1068,1144,969,745,697,987,1272,968,1020,856,985,769,517,843,977,870,1022,1294,1058,568,584,930,907,532,589,802,1036,1200,1080,1096,1017,806,526,506,998,1100,1002,982,1064,925,628,576,1009,1324,1196,942,986,1032,971,1072,1150,1098,935,624,426,393,420,438,312,484,653,487,538,340,502,666,462,359,543,708,782,608,375,613,1021,847,537,519,784,866,764,785,472,410,368,414,512,393,379,409,401,384,305,245,262,310,736,884,949,598,338,302,268,453,698,747,1108,1214,1084,963,832,644,1180,1310,1250,1594,1676,1660,1882,1748,1594,1278,1058,1262,1404,1284,875,530,366,301,557,974,816,451,749,1124,1112,1296,918,991,1328,1400,1308,1324,1538,1362,705,639,1218,1484,1484,1268,1002,940,1124,1184,1005,867,937,1172,948,674,553,690,509,904,1182,1406,1456,1342,1232,1240,1130,1120,1068,1214,1408,1372,1456,1304,1242,1184,1386,990,684,735,761,541,634,972,1166,908,843,951,1100,1216,1094,782,602,879,965,997,1212,1084,1050,1015,1064,1234,1116,966,971,1082,1198,1248,960,927,1266,1162,1023,962,828,1102,1286,1003,1013,1032,1094,1396,1494,1112,825,1106,995,875,952,1262,1626,1594,1542,1834,1452,1216,914,467,639,952,1003,679,713,1102,1118,969,1006,1166,1005,791,785,1056,1148,1090,1230,1336,1174,1050,1058,1122,1184,1184,1146,1366,1296,1198,1242,1250,1034,980,1274,1748,1610,1040,1086,1218,1382,1374,1002,800,877,1128,1298,1184,1086,1208,1080,1208,1260,777,483,425,351,420,524,1056,1746,1228,1108,1038,979,1386,1522,927,732,1212,1192,926,824,854,958,836,987,752,943,1440,1396,1168,1298,1482,1174,877,992,1094,858,665,845,843,835,939,933,711,719,707,512,707,980,1080,679,891,1009,720,1052,1300,1248,1062,1064,1272,1404,1322,1274,1166,1188,1206,1278,1248,1252,1250,1152,1260,1290,1130,1082,1018,1018,1013,1070,808,984,1050,846,1160,1498,1410,1240,1212,1021,968,1060,1164,1150,1226,1044,838,1220,1188,1356,1486,1404,1398,1166,1126,1484,1402,1228,1308,1302,1116,1416,1644,966,813,1356,1564,1272,1322,1374,1230,1090,1024,1016,1148,1180,1036,966,1062,1260,1450,1592,1188,1162,1448,1532,1584,1500,1034,773,856,1360,1802,1368,1068,1132,1070,974,1176,989,1520,1602,1240,1104,998,994,967,923,1040,1092,1108,1202,1508,1646,1532,1648,1636,1540,1516,1540,1548,1614,1572,1506,1632,1628,1428,1376,1400,1358,1384,1494,1626,1642,1580,1512,1328,1364,1480,1592,1670,1588,1616,1746,1716,1650,1714,1740,1708,1704,1786,1788,1690,1568,1512,1484,1540,2072,2142,1582,1322,1638,1716,1400,1368,1262,1238,1162,1204,1830,1314,843,724,931,1074,1020,1086,1306,1376,1262,1198,891,1048,1410,1586,1378,790,565,733,911,1070,944,933,1324,1332,1156,1252,1392,1552,1266,1222,1388,1434,1554,1612,1684,1552,1396,1176,868,755,642,601,588,524,561,788,1138,1272,1262,1624,1884,1212,623,826,1038,1060,951,714,847,799,594,742,954,996,749,638,664,879,999,1062,1228,1322,1444,1296,773,615,567,474,412,401,393,415,409,429,503,575,595,590,588,583,545,343,281,267,252,291,409,402,667,864,1184,1418,1388,1152,1178,1132,1234,1142,1226,1208,1040,1064,1346,1548,1876,1474,741,906,1486,1468,943,982,885,398,258,308,397,698,1001,881,723,810,348,393,360,334,372,516,695,554,599,880,852,652,447,342,465,611,484,376,372,345,352,408,582,582,484,755,647,318,351,565,857,949,1204,1260,779,589,847,1194,1416,1788,1428,822,646,510,488,626,739,855,1206,1344,1222,1090,800,693,1378,2254,2122,1160,1294,1260,964,612,1036,1450,1454,1166,931,776,805,1112,1392,1200,1054,1066,874,844,580,576,935,961,940,953,1072,1426,1808,1760,1260,1238,1658,2028,1810,1504,1322,1202,1588,1882,1576,1304,1230,1186,1614,1530,1542,1444,1292,1282,1162,1162,1268,1312,1372,1520,1624,1654,1926,1926,1566,1244,1102,898,617,606,711,1164,1578,1236,512,488,467,494,500,498,410,384,394,385,448,620,696,627,606,541,496,612,1028,1312,1428,1574,1654,1750,1786,1532,1616,1546,1380,1484,1512,1276,1276,1210,1486,1730,2214,1850,1220,1302,1354,1176,1060,881,744,734,896,1386,1664,1244,1202,1498,1664,1658,1634,1448,1222,1084,1118,1444,1190,1040,1242,1358,1434,1262,1446,1600,1544,1576,816,633,872,1204,1534,1600,1276,1094,1128,1142,1366,1406,1156,883,835,1084,1146,992,946,1250,1340,1150,1202,1070,1134,1100,1306,1774,1994,1812,1174,980,1198,1260,1200,1456,1472,1250,1250,1434,1510,1542,1432,1310,1704,1166,930,1352,1672,1556,1376,1032,989,1636,2018,1996,1734,1412,1384,1518,1362,1082,1444,2452,2244,1572,1462,1218,1180,1450,1438,1148,1080,999,1013,1172,1158,1156,1208,1234,1484,1408,1276,1568,1354,1444,1306,1220,1386,1416,1708,1498,1240,1224,1094,1178,1288,1292,1380,1408,1552,1520,1412,1308,1160,1272,1300,1334,1322,1108,1007,1170,1366,992,775,781,870,1036,1204,999,642,497,462,617,1005,1019,860,915,986,1362,1580,1310,1344,1148,792,1210,1520,1050,447,568,856,834,629,480,538,569,541,717,915,794,858,1080,958,906,1074,1036,738,543,451,446,439,471,565,771,891,623,451,499,558,639,569,567,585,612,768,727,586,559,514,544,543,670,627,466,360,349,351,493,613,463,373,452,461,333,372,419,437,384,328,359,369,348,332,283,215,235,348,451,340,321,271,286,227,183,231,264,238,271,299,269,276,356,403,376,610,1330,1262,1266,1484,1604,1428,1496,1420,1222,1438,1630,1216,1098,1288,1522,1512,1378,1116,1510,1632,1546,1584,1282,1290,1684,1750,1500,1192,1084,1136,1230,1480,1384,1218,1152,1178,1260,1446,1436,1138,1128,1220,1542,1874,1888,1732,1686,1604,1344,1206,1284,1454,1236,840,1118,1152,1226,1216,1062,1196,1384,1238,1120,952,712,862,1228,1270,1214,1350,1278,1326,1156,1256,1422,1394,1460,1292,979,949,979,1028,1108,1222,1332,1468,1186,1290,1196,1216,1432,1632,1768,1594,1424,1562,1146,997,1220,1440,1372,1214,1224,959,810,688,933,1262,1158,1048,974,1180,1250,996,1268,1106,1172,1426,1210,1444,1594,1318,1274,1332,1570,1480,1362,1202,1214,1272,1402,1442,1472,1550,1400,1380,1592,1446,1086,1266,1426,1376,1032,1070,1024,961,1182,1172,1058,1084,918,804,968,1042,1136,874,451,506,581,604,964,1166,1120,1210,1294,1136,655,769,822,646,875,1308,1318,1238,1372,1118,829,714,724,1050,1298,1444,1344,1042,849,780,878,1062,999,836,1001,1306,1328,1306,1472,1672,1890,1440,1078,1472,1434,1056,836,509,464,697,871,821,789,1602,1706,1134,932,989,1042,1042,830,1294,1454,777,865,1030,1110,1052,855,844,779,877,1130,1246,1116,792,706,651,407,570,1084,1260,1144,1636,2108,1756,965,592,823,1194,1088,835,1158,1366,1007,1174,1228,1124,969,1164,1334,1300,872,720,964,1004,1106,1004,1122,880,755,1476,1450,1614,1194,859,961,1378,1314,1026,1023,793,568,617,818,1294,1262,907,637,480,739,1170,1218,1110,988,668,980,1228,1274,1306,1018,1108,1212,1128,1148,1260,1005,960,1086,995,822,691,500,558,837,827,830,1240,1482,1240,1180,1382,1428,1484,1222,1052,1354,1174,1026,688,494,512,783,982,1204,1148,1032,1078,1140,1078,1112,1228,1438,1552,1026,562,756,1228,1310,1344,1630,1582,1554,1350,1340,1484,1266,919,1204,1284,1088,1134,1154,1350,1110,688,699,736,505,453,558,1116,1438,1414,1458,1644,1726,1542,1354,1324,1136,1178,1226,1240,1254,1076,828,719,727,671,529,514,412,438,558,541,465,653,600,366,284,284,385,515,603,711,1052,1434,1404,1446,1306,933,1172,1001,855,983,1332,1450,1240,1252,1202,980,878,1160,1004,785,983,1004,1122,1540,1182,677,987,1146,1106,1192,705,727,1088,1128,1358,1248,696,394,550,623,757,642,608,919,1244,1256,1064,705,558,666,835,1042,822,888,1550,1848,1490,1594,1910,1506,1236,1226,894,507,690,1016,1114,1146,1258],[750,598,738,929,800,444,407,457,643,787,985,976,1068,661,495,589,755,774,549,902,1802,1536,1080,1160,1218,1164,1262,1372,1264,765,447,413,615,1162,1518,1484,1388,1296,1208,1346,1076,1206,1496,1390,1276,896,750,900,935,1194,1242,1340,666,625,838,739,1306,1508,1272,1218,1132,1144,1210,798,416,350,382,317,320,298,357,611,737,584,554,783,853,887,481,531,971,902,1214,802,467,735,1064,941,605,579,575,954,1656,1506,1282,1252,1260,1088,918,1007,1138,1092,980,1060,961,662,454,605,816,697,472,525,713,1082,1262,1386,1408,1128,1190,1124,925,922,1274,1504,724,333,337,322,279,278,298,722,1062,966,866,742,794,753,971,489,639,1254,1032,565,538,914,1032,1278,1390,900,493,454,389,374,695,822,857,910,1088,1168,1042,710,375,653,1070,955,1036,1314,1306,1038,932,1146,1144,1122,1414,1358,1216,885,1220,1208,1046,1180,1388,1278,771,587,662,937,1232,1342,1190,763,581,632,1074,1282,905,668,846,875,806,1120,1398,1312,749,412,390,736,1130,929,711,893,866,963,902,861,1036,888,598,765,996,729,832,1026,649,454,516,463,397,426,582,543,583,653,756,910,776,968,613,347,305,227,266,516,680,597,1012,1180,962,573,464,678,748,839,853,508,359,403,548,699,594,455,573,576,393,271,250,369,502,624,505,350,268,284,324,302,308,383,497,894,966,659,482,440,450,677,1040,1194,1012,1244,1876,1854,1556,1498,1060,1262,1936,1680,1236,702,363,359,305,416,765,855,682,797,839,874,1132,837,890,955,602,725,1132,1322,976,738,749,1100,1230,1172,1160,1154,1036,1094,888,813,924,852,927,1066,980,777,669,531,650,1146,1636,1688,1214,1038,1114,1174,1252,1108,1214,1208,1356,1306,1300,1258,1252,1114,799,932,892,670,489,666,1216,1854,1344,1204,1148,1242,1264,1084,982,1084,1036,902,840,1136,1112,973,1040,1100,1260,1350,1212,1186,1214,1134,1015,982,947,1050,932,960,765,999,1332,1266,1066,1052,1192,1364,1596,1444,1002,799,1116,1007,1013,1160,1248,1548,1324,1212,1894,2296,1902,855,426,478,705,882,817,999,1422,1342,1098,803,601,577,548,544,725,1128,1146,1100,1246,1300,1300,1234,1168,1372,1300,1224,1504,1308,1174,1152,1122,1074,1072,1220,1914,1836,1220,1208,1220,1252,1310,764,456,639,817,785,827,1076,1230,1108,1228,1302,976,578,483,451,560,775,1340,1384,1005,1040,962,768,1005,1062,1064,1328,1480,1320,952,853,906,1174,1136,958,644,1278,1640,2072,2258,1440,1528,962,531,906,1416,1324,757,1010,933,928,1144,1216,899,791,984,980,1028,917,1052,816,1118,1160,807,778,991,1244,1240,1234,1284,1012,869,1012,1152,1158,1290,1208,1228,1202,1160,1058,1144,1266,1212,1120,1076,998,883,959,1034,1100,1076,1038,1236,1598,1500,1268,1324,1190,1022,988,913,932,1168,1160,995,1212,1262,1338,1316,1280,1428,1172,1198,1406,1226,973,992,896,1252,1384,1582,1166,1016,1614,1782,1392,1296,1428,1344,990,904,1004,1020,916,854,981,1160,1308,1328,1598,1098,1220,1562,1730,1600,1374,1062,689,946,1752,1972,1196,1012,1128,1080,1016,955,1024,1166,1140,1294,1252,1040,1034,1038,1024,1050,1236,1266,1524,1698,1772,1708,1704,1628,1488,1460,1450,1394,1340,1172,1312,1282,1328,1274,1228,1256,1230,1266,1238,1278,1196,1158,1390,1166,900,1266,1520,1624,1492,1322,1396,1466,1608,1730,1724,1740,1764,1680,1734,1720,1680,1700,1842,1996,1854,1780,1764,1676,1830,1964,1856,1628,1572,1362,1206,1324,1638,1562,1122,904,1184,1324,998,1118,1328,1220,1286,1180,948,1342,1644,1708,1376,738,629,738,992,1272,1046,1140,1206,1212,1400,1364,1358,1406,1236,1084,1136,1514,1876,1786,1824,1662,1824,1788,1582,1376,1202,960,739,555,578,979,1256,1130,1216,1230,1152,679,499,717,1068,1296,1196,950,1012,1036,854,784,916,1066,1030,1078,1017,894,995,1096,1116,1218,1398,1230,650,572,492,440,448,426,389,375,367,367,418,524,543,539,588,588,431,395,352,301,276,323,353,391,437,678,835,1088,1420,1550,1460,1282,1354,1010,939,1044,1056,1310,1368,1368,1844,1484,645,438,624,1160,1132,1484,1038,429,378,425,455,576,744,705,733,703,499,829,723,445,348,419,355,336,722,1084,1046,766,572,390,591,824,642,647,608,520,548,437,400,392,361,505,309,245,344,548,901,771,906,1020,773,539,481,639,1310,1796,1546,1462,1228,1096,1005,1096,1244,1350,1356,1094,814,730,828,963,1146,1600,1242,777,728,724,683,492,559,1015,1324,1194,1072,814,737,1082,1454,1376,1228,1238,1076,1008,778,995,1290,1076,984,791,1072,1752,2098,2162,1774,1300,1648,2124,1808,1500,1312,1498,2382,2020,1482,1162,1096,1272,2124,1726,1384,1368,1404,1392,1384,1516,1322,1284,1510,1810,1782,1766,2004,2024,1708,1422,1390,1048,661,789,901,1188,1604,1440,608,457,485,490,505,476,474,461,427,376,368,539,664,598,498,400,316,413,1003,1418,1466,1632,1648,1580,1600,1412,1736,1716,1550,1560,1512,1066,916,1058,1174,1556,1964,1368,931,969,1094,1474,1456,1180,991,830,1268,2234,2030,1058,951,1228,1612,1622,1600,1612,1670,1454,1966,1830,1094,1001,1310,2120,2046,1414,1382,1320,1842,1922,758,756,766,791,1094,1350,1372,1256,930,846,852,852,1036,1122,984,1154,1194,1070,1486,2102,1716,1274,1402,1238,1574,1428,1664,1802,1880,1676,1132,1019,1264,1252,1472,1758,1504,1084,1124,1294,1286,1298,1304,1300,1644,1142,992,1462,1730,1662,1492,1064,626,1005,1390,1294,979,1158,2360,2166,1136,1226,1816,2072,1808,1458,1322,1206,1104,1220,1354,1023,935,1003,910,1013,1184,1246,1216,1322,1428,1378,1466,1444,1300,1300,1184,1596,1440,1230,1252,1182,1272,1082,902,1136,1002,1192,1250,1190,1414,1310,1160,1046,984,1120,1134,1256,1368,1222,1288,1328,1198,1120,927,767,760,821,991,1016,813,658,550,673,996,1162,915,903,984,1200,1396,1332,1404,1386,1336,1562,1638,1332,585,493,806,735,484,403,455,480,479,594,763,708,695,670,560,492,582,574,500,517,495,425,394,520,782,951,814,604,625,788,874,852,595,469,583,670,841,843,739,760,673,801,843,745,584,442,525,543,395,378,344,261,316,469,622,484,415,338,353,361,294,245,258,285,296,225,231,275,311,412,312,306,275,296,239,215,252,284,282,268,232,244,283,347,322,328,748,1294,1310,1666,1808,1428,1420,1628,1506,1604,1594,1506,1268,1302,1556,1584,1520,1570,1604,1572,1396,1596,1526,1392,1698,1596,1956,1484,1140,1122,1282,1390,1510,1412,1290,1218,1060,944,904,903,834,929,1304,1734,1742,1600,1504,1560,1300,719,676,1258,1866,1636,1052,1064,1082,1264,1208,976,1100,1324,1238,1130,1009,1090,1038,1132,1130,1114,1204,994,816,828,1218,1512,1340,1368,1346,1154,1021,1230,1478,1180,1182,1340,1234,1050,1132,1184,1250,1164,1310,1530,1708,1694,1730,1182,971,973,1236,1316,1378,1300,1005,799,769,1282,1632,1310,1076,868,1042,1094,1015,1005,953,1196,1162,730,801,1036,967,1138,1234,1504,1292,1184,1148,1240,1360,1490,1346,1242,1184,1338,1470,1430,1522,1452,1242,1212,1274,984,946,803,946,1192,1200,1202,1350,819,763,789,734,859,633,476,440,503,899,1180,1238,1290,1194,1298,1282,1096,727,865,824,792,1222,1292,1102,1106,894,809,699,490,736,1068,1304,1406,1130,788,771,905,1266,1324,979,1154,1186,1326,1428,1524,1720,1580,1412,1262,1382,1282,1224,1036,830,839,976,683,672,972,1312,1258,1254,1082,850,742,860,536,542,536,321,465,942,1152,1222,1222,1022,612,458,766,1004,920,678,865,633,460,560,672,562,850,1368,1630,1504,957,679,957,1134,1140,1152,1148,1024,913,1064,1138,940,1021,1358,1284,1220,1208,834,1094,1240,1632,1466,1420,1054,851,1246,1444,1716,1416,822,901,1314,1252,1296,1238,1242,1012,1058,1052,1316,1260,912,606,441,491,591,918,1342,1050,697,1098,1350,1368,1116,982,1172,1336,1486,1686,1526,1148,1078,826,939,1070,1222,769,768,933,781,908,1098,1058,1274,1560,1604,1792,1858,1372,1338,1252,867,1126,894,579,902,1080,678,856,1036,827,738,1214,1544,1482,1114,1015,854,477,548,1016,1188,952,1062,1620,1746,1732,1406,1250,1032,825,1032,1740,1710,1244,1356,1250,1300,940,749,930,728,524,531,763,1282,1706,1796,1682,1842,1842,1344,1164,1023,872,1054,1196,1001,1021,819,709,800,753,707,565,510,430,492,509,437,523,719,511,269,272,409,537,534,587,667,1248,1554,1504,1442,1086,1144,1226,941,911,1174,1350,1184,985,1038,706,725,871,1256,1218,983,1118,1324,1374,1540,1386,991,930,776,728,776,675,691,927,948,816,700,469,464,380,390,432,551,871,1106,1162,1134,1076,793,800,1106,1314,1256,1072,1072,1322,1456,1268,1320,1756,1350,911,1282,1254,916,969,1360,1426,1256,1484],[897,630,649,1042,1090,534,416,553,608,558,590,803,803,571,575,698,976,1196,991,1138,1538,1296,1170,1404,1216,792,647,901,1100,980,577,428,661,1030,1148,861,1100,1078,1222,1392,1982,2618,1952,1266,1028,744,642,985,1208,1188,889,811,943,1114,994,927,1180,1272,1234,1058,1158,1266,1282,714,363,479,542,401,330,332,301,585,1008,811,793,1166,1042,630,752,960,1254,965,1168,1074,569,465,742,997,828,731,478,790,1976,1530,1170,1300,1690,1582,1036,1042,1250,1062,833,828,761,592,623,1001,1210,727,572,757,1015,1350,1404,1426,1132,1188,1470,1262,756,756,1220,1334,594,302,330,318,280,282,380,782,1132,797,338,315,379,732,934,739,916,1288,1204,1144,1144,1358,1264,1190,1328,1050,539,371,375,443,778,1146,1204,1005,1146,1078,588,472,471,643,866,1026,1172,1234,1104,1210,1316,1268,1622,1714,1288,961,1156,1424,1330,1142,839,830,1188,1178,1088,946,961,930,1234,1180,820,760,1050,930,1130,1300,1034,899,949,917,751,835,727,982,857,396,316,628,1007,762,677,864,1020,1290,1240,1064,1116,838,602,673,1202,1170,1248,1028,554,410,475,450,395,509,828,955,1084,804,950,994,1136,886,390,473,552,484,371,438,650,501,547,648,1052,946,508,439,733,1058,941,510,412,505,827,1114,800,662,718,494,357,302,446,624,761,780,513,367,251,288,332,277,319,315,259,322,363,478,560,476,488,551,846,991,799,961,1160,1032,1144,1550,1548,2248,2566,1772,1166,582,365,333,396,412,503,951,1156,813,545,788,1086,1074,1414,1044,457,564,792,971,896,816,792,967,1232,1322,1322,1214,1062,955,936,1150,1234,1096,868,1158,1250,1082,1386,1428,1114,1138,1224,1154,890,696,751,1152,1288,1092,932,1060,1296,1384,1380,1266,1278,1286,1130,1396,1256,791,613,738,1158,1592,1570,1368,1118,1096,1052,1072,1158,1322,1200,986,951,1218,1166,1188,1264,1246,1306,1232,1066,1126,1048,964,976,1114,1006,992,932,1003,976,1158,1240,1166,1048,964,1023,1182,1244,1222,1042,946,1194,1092,1158,1152,1078,1294,992,780,1212,1452,1340,679,396,396,731,882,1016,1238,1334,1220,838,769,659,745,611,576,846,1044,1064,978,1240,1436,1324,1266,1250,1356,1396,1418,1366,1240,1220,1104,1066,1130,1003,1134,1900,2006,1388,1132,1246,1332,1246,590,362,356,450,493,590,668,857,1114,1232,1378,1214,733,620,608,1194,1642,1504,916,603,645,846,1306,1716,1262,1218,1398,1524,1352,1001,1034,1082,1362,1464,1182,828,1196,1290,1744,2182,1298,1444,1094,940,879,1054,1078,838,996,1068,995,1074,1182,946,768,846,813,624,648,877,1120,1300,1242,1138,1066,1110,1264,1244,1292,1192,1108,1000,1052,1140,1094,1134,1122,1236,1306,1092,1084,1202,1278,1352,1368,1286,1088,1030,994,994,1096,1466,1504,1108,1232,1400,1124,1026,1056,716,645,739,972,1212,1194,1092,1238,1354,1204,1202,1288,1272,1216,1328,1730,1170,977,1100,1394,1442,1576,1526,1270,1224,1378,1760,1500,1366,1740,1430,987,1042,910,825,910,1200,1156,1570,1302,1362,1606,1124,1096,1550,1762,1606,1490,1244,739,872,1254,1250,1114,1016,1198,1224,1174,1044,1126,1274,1266,1422,1230,1170,1136,1106,1188,1322,1610,1648,1648,1678,1606,1540,1516,1562,1570,1572,1316,1212,1172,1148,1394,1338,1406,1314,1100,1172,1314,1488,1484,1282,1158,1034,1488,1218,1218,1386,1324,1446,1016,729,980,1019,802,1220,1560,1544,1562,1492,1516,1614,1642,1466,1528,1636,1602,1684,1612,1692,1742,1750,1706,1682,1682,1592,1610,1610,1498,1496,1496,1436,1522,1522,1242,1416,1328,1276,1388,1164,965,1116,1248,1318,1024,895,901,1168,1354,1388,1238,1376,1023,1112,1234,1388,1628,1570,1248,1012,1152,1402,1670,1654,1496,1382,1574,1572,1516,1688,1816,1700,1442,994,852,1254,1600,1484,1422,966,1214,894,607,922,1014,1240,1236,1068,1312,1316,1168,1116,1108,965,1058,1336,1286,1146,1198,1194,1028,1060,1234,959,570,505,565,542,449,430,446,416,372,391,479,524,503,509,511,507,427,366,320,336,335,427,706,689,557,719,753,738,810,1012,1324,1528,1408,1148,982,971,1020,1120,1246,1374,1772,1500,596,326,1078,1202,1004,1044,566,318,500,778,649,785,682,739,739,476,778,1234,1002,435,360,550,572,483,442,639,695,500,352,329,431,691,764,700,684,847,913,617,464,543,350,264,219,267,386,621,939,893,859,922,674,601,772,579,805,1064,1144,1278,1470,1516,1538,1594,1550,1470,1182,712,615,567,514,980,959,851,624,490,401,521,706,603,397,638,995,1228,1274,902,671,785,1032,1028,1192,1218,1136,1332,1408,1170,1040,959,908,758,1011,1752,2142,2200,1764,1162,1588,2014,1500,1266,1342,1588,1592,1302,1034,928,998,1246,1498,1428,1460,1564,1366,1312,1382,1368,1360,1560,1542,1670,1560,1378,1390,1520,1550,1638,1842,1684,882,848,763,1030,1490,1490,753,459,465,482,473,433,442,380,334,278,247,290,350,308,334,441,553,645,1084,1404,1372,1446,1570,1508,1648,1274,1414,1438,1476,1604,1588,1558,1330,1114,1438,1346,1084,1130,979,886,892,899,1066,1186,1236,1156,1490,2032,1592,1176,1046,1012,1354,1530,1422,1019,993,1218,1536,1390,1236,1050,1550,2508,1658,1454,1290,1003,1284,1502,1244,1036,708,914,1138,1204,1394,1584,1210,1264,1098,598,828,1040,899,808,776,935,1476,1702,1096,870,1482,1326,2012,2082,2150,1628,1310,1248,861,950,1328,1204,1204,1318,1320,783,778,1070,1060,1100,1332,1598,1566,1005,973,1404,1760,1816,1524,1028,771,1286,2372,1792,1220,1040,1166,1196,1144,1440,1712,1476,1310,1216,1158,1230,1172,1226,1128,1040,1182,1208,1166,1156,1044,1086,1274,1460,1394,1284,1506,1288,1236,1312,1372,1586,1366,997,995,1254,1342,1176,1028,1134,1096,1146,1074,1104,1344,1198,1042,953,900,975,1086,1144,1360,1394,1290,1238,1262,1416,1174,797,721,745,907,1126,1132,1096,912,935,1090,1240,1134,1110,1180,1232,1288,1332,1364,1382,1360,1118,1230,1336,698,440,616,579,450,429,481,492,469,502,574,539,566,461,388,411,433,445,461,465,454,437,422,502,664,711,711,924,887,797,788,830,763,677,646,689,904,716,512,1010,1180,1160,821,420,341,350,414,418,365,425,425,347,353,581,808,579,356,327,285,280,296,309,271,247,267,231,316,377,430,433,302,259,266,292,272,239,235,265,281,331,249,223,254,272,270,488,1116,1406,1274,1642,1808,1202,1030,1072,1192,1460,1564,1640,1428,1392,1674,1568,1626,1750,1734,1644,1512,1620,1494,1666,1932,1430,1434,1244,1092,1104,1158,1370,1386,1260,1292,1268,1120,854,681,684,728,677,1264,1686,1676,1614,1596,1660,1382,833,1132,1412,1758,1476,1017,923,1058,1378,1322,1156,1518,1450,1198,1250,1013,1224,1266,933,937,1042,1118,1070,1308,1222,1120,1382,1274,1300,1050,1118,1028,1036,1158,1120,1302,1492,1404,1212,1030,1124,1154,1210,1560,1516,1684,1754,1570,1134,995,789,1026,1368,1406,1158,1158,1114,1148,1556,1656,1204,989,963,1100,1108,1021,1038,1076,1120,1096,1104,1188,1156,1098,1270,1314,1368,1246,1094,1148,1156,1384,1394,858,843,885,993,1234,1512,1418,1360,987,601,803,1122,1004,952,1068,1164,1454,1152,1150,987,726,919,1009,824,699,775,803,916,1218,1164,1272,1278,1130,1296,1358,1280,1026,1128,1072,857,1001,1142,958,1234,1274,724,564,594,655,926,1332,1684,1226,1026,1378,1302,1278,1500,1266,1050,877,1136,1196,1400,2008,1896,1448,1552,1700,1572,1478,1328,1234,1094,955,661,863,1168,1360,1350,1172,1230,949,594,521,599,439,363,419,366,503,811,1150,1688,1672,979,727,912,915,579,626,1058,879,857,885,653,666,1090,1288,1214,1138,1156,1054,1011,1250,1132,1050,1058,927,784,748,996,1082,1070,1208,1052,769,1028,708,642,857,1182,1028,1058,1072,1230,1354,1464,1360,1216,1306,1674,1536,1472,1274,1216,1230,1436,1290,1048,957,759,901,937,627,413,518,631,867,927,1038,1440,1514,1206,886,879,880,803,894,1256,1404,1438,1122,995,1002,1100,1324,1050,1050,1142,1009,1294,1260,810,963,1526,1604,1540,1310,1180,1272,988,1120,1332,1204,1088,873,960,536,505,850,972,773,905,1396,1270,881,1086,965,590,775,1222,1412,1208,1334,1532,1698,1570,1210,1114,1038,840,793,1272,1416,1302,1388,1444,1388,1142,1160,1186,894,810,721,630,944,1480,1666,1382,1480,1250,1023,1216,1216,988,966,1138,1194,1166,944,843,730,565,568,499,403,418,455,410,407,567,567,336,293,417,533,551,624,1026,1222,1298,1056,1142,1136,1094,1274,1182,971,919,1018,1288,863,771,904,694,757,832,1298,1490,937,824,1066,1046,1080,1430,1368,989,592,497,572,927,1176,1136,874,894,1120,768,996,691,840,890,941,1232,1120,1080,1284,1260,1192,1106,1362,1498,1248,1308,1192,1200,1424,1362,1132,1516,1310,945,1090,1224,1100,1228,1448,1786,1650,1512],[1072,738,811,1106,1100,1102,1132,1016,643,378,441,775,858,819,909,891,894,1262,1266,1390,1260,1086,1358,1522,1184,811,668,533,658,819,477,665,835,1026,1202,891,1158,1064,1308,1604,2438,2820,1842,1158,852,718,642,971,1302,1160,794,844,1038,1048,1078,1154,1180,1100,1036,843,931,1316,1362,866,603,497,389,396,558,555,302,515,948,639,686,1058,986,761,805,1080,1116,835,1094,1114,644,430,493,842,1000,1001,546,684,1450,1282,966,1002,1412,1226,796,988,1098,1144,1130,1318,1184,970,902,993,1238,926,844,1114,1284,1396,1288,1106,906,1232,888,813,890,783,898,992,719,406,335,330,346,328,418,807,951,626,333,283,301,612,1070,979,824,872,952,1506,1322,1036,1002,1108,1100,680,485,792,910,843,652,749,948,1288,1394,1110,530,589,817,1144,1156,1058,1112,1106,1434,1652,1378,1328,1454,1354,1110,1254,1322,1274,1188,941,495,562,776,1124,1336,1310,1302,1116,1372,1054,678,987,1144,1048,1292,1386,1396,1312,971,969,755,884,946,1530,1288,545,325,553,557,534,922,1130,1020,1088,876,676,905,742,525,686,1012,1120,1070,1086,848,901,1066,639,520,630,841,1202,1290,1238,1080,867,857,582,489,742,940,862,887,611,629,380,391,317,910,976,526,433,670,1011,1104,733,744,833,1188,1672,987,628,628,466,373,435,772,952,788,1012,570,393,293,255,236,224,283,288,242,265,391,944,1302,846,532,504,970,1206,907,1017,1058,1028,1240,1448,1484,1866,1672,1142,720,461,403,444,358,453,583,808,1016,1030,705,614,777,1250,2098,1490,629,381,659,974,872,802,786,945,1116,1012,1068,1212,1256,1236,1014,1124,1216,1300,1011,748,772,1358,2432,2416,1372,1076,1098,1470,1380,753,959,1428,1186,830,832,1070,1232,1294,1310,1344,1160,1228,1242,1244,1018,739,651,613,959,1282,1152,1102,1030,1052,916,933,1186,1182,1048,1012,1158,1248,1210,1252,1238,1218,1220,1108,992,1178,936,766,973,1194,1008,1052,1104,909,828,1015,1036,1082,1001,867,840,903,1005,1122,1172,805,675,1015,1242,1118,1066,1132,872,988,959,878,810,751,724,589,559,611,953,861,749,786,688,698,600,668,828,743,990,725,570,897,1454,1706,1336,1116,1130,1330,1176,1310,1290,1262,1302,979,904,1120,1124,1400,1596,1636,1444,1298,1410,1342,1204,586,420,581,873,948,735,766,1098,1158,1080,1140,1188,985,951,733,1482,1774,1520,1144,813,753,984,1418,1448,956,952,1310,1494,1212,1080,1186,1202,1304,1472,1324,1120,960,893,973,905,1009,1364,1442,1202,976,753,536,606,946,1146,997,1005,1074,884,736,728,723,511,422,611,972,1222,1102,1028,1162,1350,1194,1312,1644,1286,1128,1110,1132,1088,995,1040,991,1034,1166,1060,1418,1520,1796,1948,1788,1376,1168,1068,1072,1062,1048,1186,1022,761,919,841,591,487,460,406,546,843,1022,1064,1028,935,1000,1088,1016,1230,1656,1802,1776,1500,1358,1174,1088,1104,1378,1282,1394,1422,1344,1294,1632,1794,1492,1568,1672,1046,917,873,742,1017,1366,1526,1318,1404,1144,1372,1576,1192,1088,1576,1730,1558,1624,1328,869,922,1028,1122,1148,1048,1030,1152,1324,1324,1448,1636,1504,1566,1394,1510,1398,1456,1576,1590,1538,1484,1564,1532,1448,1282,1326,1504,1488,1682,1544,1440,1228,1216,1208,1126,1284,1216,1072,1142,1218,1306,1388,1416,1304,839,1082,1114,1122,847,877,1284,1116,1400,1390,1064,827,1328,1444,1286,1172,1009,958,1340,1438,971,1026,1208,1314,1130,962,1362,1408,1504,1630,1604,1598,1658,1770,1750,1692,1648,1660,1666,1642,1612,1550,1582,1290,1386,1550,1262,1068,1234,1260,1394,1094,736,1040,1274,1242,1078,1042,1276,1240,1352,1338,1412,1696,1616,1320,1130,1204,1032,1118,1042,1044,1128,1274,1432,1404,1328,1598,1966,1774,1632,1442,1454,1256,1250,1358,1262,1494,956,793,1406,1432,1460,1088,1038,1366,1320,1160,1256,1382,1186,1094,1082,1124,1176,1272,1034,952,1178,1474,969,499,554,766,746,520,453,546,564,449,495,558,586,600,535,684,619,439,373,325,362,454,674,968,735,530,451,557,652,732,645,785,1090,1344,1460,1384,1200,863,1148,1244,1488,1744,1440,725,856,1500,1474,1446,1388,552,369,633,1100,687,550,743,983,844,381,447,892,852,441,583,941,735,526,315,401,489,379,385,481,566,902,912,611,607,868,665,394,538,868,520,412,529,591,616,595,607,578,522,711,891,1256,1252,640,456,678,562,730,1140,1362,1406,1390,1374,1350,1052,587,534,451,615,927,952,804,598,463,323,524,812,637,390,437,558,915,1340,1162,1028,957,950,1064,1240,1218,1096,1162,1526,1234,1074,1128,919,968,1160,1472,1968,2186,1814,1152,1262,1450,1230,1178,1338,1286,1148,1130,1124,1100,1282,1388,1244,1216,1316,1344,1248,1260,1240,1082,1322,1802,1736,1520,1462,1270,1068,1274,1362,1406,1704,1916,1212,767,705,1228,1570,1538,1060,576,403,346,308,292,292,234,289,374,468,642,825,905,857,777,822,918,1222,1234,1272,1330,1354,1366,1406,1198,1180,1302,1408,1476,1774,2298,1708,1158,1522,1442,1182,1418,1346,1232,1048,1028,969,913,965,1036,1348,1364,1176,1238,919,985,1022,1238,1516,1202,722,739,930,1120,1434,1490,1638,1598,1674,1444,1326,1342,1470,1320,1378,1178,1028,1184,1238,1312,1366,1472,1604,1356,1416,1052,1122,1224,1054,944,1068,1482,1744,1274,883,838,1372,1434,2008,2200,2010,1410,1060,1028,870,943,1360,1150,1146,1288,1256,687,612,903,1144,1126,1240,1560,1486,969,989,1382,1982,1748,1598,1262,1104,1318,1876,1816,1396,1202,1278,1292,1252,1318,1376,1322,1294,1432,1710,1490,1202,1256,1216,1238,1282,1240,1330,1368,1208,1354,1522,1520,1286,1344,1400,1238,1322,1324,1222,1190,1146,1062,1086,1108,1094,1009,1046,1104,1040,1178,1198,1252,1414,1146,1028,959,1005,1216,1400,1414,1338,1410,1354,1278,1278,1212,1186,901,816,803,1054,1338,1214,1318,1224,1248,1314,1268,1288,1388,1432,1298,1238,1382,1332,1148,808,621,865,1250,984,492,423,455,405,431,553,481,445,457,477,401,445,374,403,477,445,405,393,353,340,344,366,436,520,621,562,600,582,586,495,680,898,909,687,814,805,507,405,702,639,444,328,311,347,354,343,320,295,365,366,394,394,606,719,558,506,442,282,269,335,336,294,255,310,308,306,334,495,487,317,239,288,336,335,307,273,291,362,522,332,251,275,265,299,778,1190,1036,1094,1188,1162,885,717,827,980,960,1132,1424,1448,1416,1586,1626,1626,1636,1708,1546,1668,1714,1404,1466,1418,1340,1488,1542,1438,1110,1316,1888,1470,1288,1316,1446,1530,1262,928,662,670,853,1312,1586,1522,1548,1490,1452,1434,1316,1306,1280,1374,1488,1312,1142,1310,1482,1166,1102,1236,1246,1148,1224,1206,1226,1224,1036,1078,1068,901,733,883,884,939,1198,1258,1362,1304,1268,1188,1108,1158,1296,1488,1418,1246,1176,971,1456,1092,1306,1566,1744,1762,1528,1346,1146,770,786,1236,1406,1220,864,979,1023,1200,1570,1632,1322,1005,1128,1282,1005,1170,1248,1096,1004,1198,1428,1446,1322,1422,1148,946,1078,1064,1080,1100,1028,1226,966,1044,842,674,1028,1182,1190,1082,903,819,774,662,928,1100,1118,1346,1470,1446,1236,1110,968,797,968,1076,916,1076,943,1084,1262,1238,1282,1338,1122,1060,1250,1322,1288,1346,1456,1252,1152,1296,1440,1364,1250,1428,760,705,954,1260,1366,1416,1332,1050,1210,1622,1532,1356,1678,1582,1005,1078,1186,1142,1148,1266,1232,1314,1576,1598,1556,1274,1338,1230,796,582,841,1150,1318,1422,1228,1194,1148,912,785,772,988,862,711,630,549,707,1042,1186,1660,1642,1360,1196,1096,1202,841,1056,1110,1140,1194,1030,1072,1142,880,783,943,1094,1322,1152,1030,1324,1072,1002,1130,1254,1162,929,1124,1290,985,1060,902,722,913,830,709,921,1074,1150,814,763,1182,1244,1230,1172,1224,1774,1694,1288,1406,1420,1456,1262,1152,1050,723,700,871,1310,1166,896,457,412,435,477,658,1024,1360,1324,1196,1394,1240,742,545,546,809,1238,1540,969,551,808,1052,1030,1038,1394,1494,1386,1200,817,580,1028,1432,1504,1474,1154,926,905,1116,1186,736,788,1402,1126,797,653,486,611,1030,892,615,879,988,888,1248,1118,730,846,1138,1362,1458,1630,1230,1242,1382,1246,1138,1020,1102,1076,951,988,1172,1120,1388,1412,1424,1220,839,976,1228,878,542,923,1388,1346,1396,1488,1028,831,1216,1360,988,847,1114,1358,1226,1046,1188,871,642,487,413,348,394,442,406,410,469,345,273,349,503,482,521,754,1196,1322,1214,1288,1338,1212,1074,1158,944,770,839,893,1208,926,703,813,945,853,993,1300,1146,724,608,647,819,1200,1528,1548,1252,1048,807,523,564,578,624,857,1086,1330,1140,1220,901,938,902,922,1290,1120,1192,1654,1302,1020,998,1416,1470,1100,1056,1256,1438,1524,1498,1582,1768,1666,1158,1140,1126,1096,1410,1646,1672,1372,995],[1222,884,740,1032,1400,1700,1092,452,374,406,658,855,659,612,1230,1064,768,836,1180,1278,937,839,868,985,1154,1096,883,615,913,1021,582,1078,1312,1262,1274,1370,1350,1226,1360,1246,1234,1226,1422,1252,943,682,503,796,1164,1316,1416,1376,1064,731,807,832,962,987,709,606,472,667,778,1010,831,380,439,819,845,875,544,387,605,692,888,854,689,698,814,1130,1384,1436,1424,1230,949,1034,761,658,788,766,825,1238,1122,786,724,1060,1262,1060,1198,1136,671,939,937,1212,1022,1104,933,821,1044,1078,1124,1206,1222,1282,1372,1170,1114,1072,677,825,1100,869,949,1224,832,443,371,294,379,369,415,588,857,744,366,246,299,625,854,547,469,563,595,1028,1007,976,844,739,614,501,370,599,1304,1538,778,767,1024,1050,1000,662,502,805,1132,1248,919,770,931,1114,1482,1222,1134,1300,1418,1238,1156,1426,1594,1324,1124,787,539,457,669,904,922,1428,1262,957,866,1036,1206,1140,1112,1312,1384,1376,1146,1118,705,581,943,927,1072,1614,1152,423,357,487,475,412,1012,1464,1206,1172,1246,955,953,914,859,937,1082,889,593,902,972,1270,1342,659,375,484,955,1180,1276,1092,841,836,765,725,975,1248,1234,1238,951,672,494,401,382,257,418,466,487,696,882,1046,1005,655,565,894,1178,1314,1009,691,453,387,389,442,708,913,546,796,451,316,282,254,251,260,262,256,286,312,589,1340,1338,1007,752,571,780,697,676,995,1110,1074,1130,968,1184,1524,1260,836,479,337,538,557,382,608,739,665,1040,1312,1038,689,637,861,1194,917,825,624,606,839,1082,1208,981,968,1100,733,842,1002,985,915,1044,1144,946,1086,1104,928,1088,1282,1284,1268,1212,1268,1010,1216,1364,1278,1396,1460,1332,1148,1236,1334,1294,1170,1372,1366,1242,1282,1108,1162,1078,949,897,712,937,1116,1110,1204,1108,985,1023,1174,1198,1074,1100,1186,1284,1226,1184,1288,1246,1194,1196,1192,1178,1192,1188,1064,1244,1188,1042,1058,1028,1023,868,992,886,1092,1124,1080,1122,1282,1346,1310,1348,1010,814,1134,1274,1164,1222,1460,1238,1226,1026,930,848,953,875,682,530,749,1078,1056,1010,824,1000,807,767,539,814,1230,1238,819,659,843,948,1028,901,876,937,1336,1140,1184,1220,1001,979,778,859,1204,1262,1434,1198,1236,1330,1436,1148,1108,1094,649,393,660,1046,1014,828,774,975,1046,968,1032,1400,1492,1600,1586,1404,1182,1076,980,1020,1116,1442,1408,1005,998,1228,1442,1338,1272,1418,1314,1092,957,1046,1026,1094,950,1222,1052,1016,887,1064,1434,1300,1164,946,604,653,985,1194,1032,1064,1054,756,680,731,713,550,529,651,721,910,980,948,1152,1200,1138,1376,1412,1094,1220,1192,1136,1196,1064,1064,1160,1100,1066,1340,1618,1582,1512,1314,1158,1104,1064,1052,1098,827,580,564,504,419,379,388,401,418,496,429,647,1178,1212,1086,1072,1284,1084,1009,1102,1368,1400,1616,1532,1188,1130,1152,1278,1282,1260,1332,1544,1600,1484,1436,1462,1302,1262,1154,1080,689,694,636,836,1200,1526,1332,1044,995,1194,1532,1628,1158,1136,1598,1754,1478,1638,1466,980,916,915,1074,1292,1318,1390,1608,1640,1582,1680,1824,1786,1576,1476,1476,1510,1556,1616,1508,1342,1480,1744,1724,1584,1428,1482,1382,1470,1622,1560,1434,1218,1124,1160,1266,1228,1076,1144,1208,1076,985,1166,1454,1112,670,645,910,1054,744,803,1334,1214,1158,960,841,912,1540,1798,1456,1058,893,868,1003,1208,747,1144,1306,1534,1220,1192,1224,1130,1190,1216,1322,1314,1192,1472,1672,1562,1350,1422,1650,1574,1472,1544,1610,1598,1576,1574,1502,1492,1528,1448,1568,1554,1378,1460,1440,1276,988,1094,1366,1400,1388,1362,1534,1680,1424,1614,1224,1106,1028,1002,1026,1084,1110,1106,1088,1210,1186,1292,1526,1454,1572,1654,1694,1376,1236,1362,1510,1310,619,879,1680,1634,1120,849,962,1188,1338,1094,1140,1252,1064,1018,911,1012,1266,1364,1178,1216,1412,1352,800,546,730,752,658,706,722,714,485,329,397,476,546,599,565,752,594,387,399,356,379,465,498,465,335,410,305,276,520,642,498,503,651,814,1350,1390,1262,841,1074,1064,1202,1566,1302,902,1250,1476,1388,1562,1482,499,328,517,971,1076,744,446,925,922,354,307,344,378,321,549,901,583,401,326,623,675,418,458,447,480,752,696,455,478,442,296,321,885,1160,677,549,1007,1136,775,441,352,383,561,636,928,1286,1188,629,357,457,448,383,717,1192,1246,1384,1468,1166,651,355,390,474,844,1070,1226,858,481,532,402,376,448,539,650,625,615,809,1034,954,972,1318,1246,1252,1522,1594,1744,1256,1536,1378,1324,1168,749,1114,1482,1580,2070,2100,1900,1306,1084,1018,962,1250,1310,1088,1048,1104,1208,1222,1282,1420,1336,1298,1230,1220,1248,1268,1194,907,916,1330,1594,1456,1268,1328,1356,1420,1276,1208,1230,1122,718,612,1116,1592,1730,1614,1104,437,331,357,492,619,785,905,1098,1108,977,1008,1056,1048,827,603,605,501,747,833,957,1130,1196,1166,1196,1220,1246,1240,1200,1238,1444,1810,1150,1070,1180,1248,1048,996,1104,1198,1406,1426,1170,1062,951,996,998,993,1021,1224,1350,1262,1074,1044,1332,1414,1013,662,593,644,929,1208,1476,1412,1684,1526,1410,1646,1462,1068,1114,881,657,885,1282,1402,1488,1410,1650,1516,1346,1394,1370,1012,1260,1742,1698,1886,1882,1340,957,922,1356,1566,1798,1844,1830,1856,1804,1686,1406,902,1322,1256,1532,1410,1390,906,688,1034,1396,1454,1452,1646,1700,1400,1562,1782,2072,1920,1750,1398,959,907,1220,1356,1324,1426,1262,1182,1184,1188,1306,1258,1306,1488,1694,1616,1360,1266,1318,1316,1242,1364,1474,1452,1202,1238,1454,1402,1504,2226,2066,1310,1130,1140,1224,1258,1204,1120,1090,1078,1058,839,908,969,930,1142,1236,1112,1230,1234,1064,901,1224,1446,1348,1224,1198,1426,1354,1372,1396,977,1186,1138,1064,919,1086,1366,1382,1288,1166,1236,1238,1216,1206,1232,1138,819,1021,1344,1078,682,559,714,655,1028,1198,628,355,387,401,458,493,404,311,320,372,347,357,397,454,460,443,372,368,393,377,379,340,427,517,690,691,569,894,1138,836,959,958,1026,1082,896,548,429,395,344,233,257,300,265,265,328,341,309,248,264,286,311,357,501,553,452,386,355,245,270,332,305,278,239,272,279,350,380,446,469,386,321,326,338,370,384,370,334,461,445,281,233,245,252,445,1007,946,540,870,1110,1094,926,877,944,1056,977,1001,1044,879,890,1236,1456,1714,1636,1542,1040,1154,1656,1416,1290,1232,1264,1346,1592,1606,1238,1202,1376,1380,1230,1168,1660,2042,2270,1652,918,1026,1278,1484,1652,1510,1396,1102,1138,1174,1212,1204,1150,1158,1510,1528,1092,1268,1332,1256,1208,1188,1092,1142,1148,1130,1102,896,792,824,918,802,502,752,828,907,1234,1158,1302,1364,1186,1144,1246,1266,1348,1544,1574,1286,1194,714,1336,1388,1476,1510,1842,1794,1534,1432,1146,773,825,1296,1338,797,584,770,1280,1222,1328,1310,1270,1152,1054,1012,803,1232,1322,1060,990,1264,1184,1196,1200,1248,1074,919,883,613,641,987,1500,1318,777,1224,1454,1080,1208,1210,1064,984,657,692,769,697,977,1038,1120,1174,1134,1138,1244,1292,1412,1112,1068,961,686,937,834,845,1142,1356,1278,1300,1354,1440,1242,1144,1136,1176,1300,1306,1394,1598,1286,1148,1290,1298,860,748,1192,1364,1248,1226,1140,1216,1146,1282,1048,948,1158,1184,927,763,810,1162,1318,1058,857,1166,1190,1302,1474,1418,1290,1162,658,785,1136,1000,1140,1172,1140,1122,818,1004,1054,923,995,1028,960,975,849,1011,1194,830,1378,1518,1368,1208,1094,1005,1070,1011,1174,1366,1140,1028,1216,1362,940,598,923,1190,1216,1210,1116,1182,1252,1166,1030,1017,1192,1376,1464,1294,1138,1356,1416,1372,1272,1126,1090,1126,1186,1178,948,733,896,943,966,734,843,1306,1300,946,1098,1448,1328,998,859,1142,988,747,864,1084,699,723,680,693,550,512,873,1112,1200,1132,1240,1542,1534,1390,1354,789,731,1100,1254,880,482,581,835,779,854,1208,1350,1138,1150,805,638,1128,1338,1378,1404,1258,1192,1122,1296,877,480,717,861,894,1196,1036,650,618,810,925,655,736,1112,1023,1032,1082,1026,1058,1001,1082,1394,1416,1042,1068,1340,1390,1136,886,1126,1274,1218,1146,952,834,1282,1638,1718,1306,802,907,1084,766,874,1500,1434,1334,1272,1302,1146,1015,1094,1023,1090,1250,1306,1362,1260,1202,1288,1184,878,557,436,388,378,412,450,456,378,254,313,432,461,473,512,595,818,780,1018,1378,1220,967,668,576,620,593,1050,1490,1382,1098,700,902,1196,1166,1272,1158,1016,711,694,951,1098,1350,1592,1518,1376,1376,1009,675,529,505,856,1078,1014,1130,1226,1230,1007,779,845,1002,1188,1184,1324,1406,1244,1084,1110,1186,1230,1124,1021,1230,1522,1390,1340,1450,1668,1598,1004,1108,952,1038,1172,1060,1114,1015,1014],[1360,759,772,1622,1810,1272,667,390,582,982,1126,988,999,857,1434,1038,559,541,1134,1144,825,700,430,594,1032,981,852,608,1062,1272,756,1086,1334,1232,1200,1402,1482,1334,1316,1154,1198,1232,1194,1056,834,522,447,1036,1372,1288,1298,1180,1082,1172,1054,779,791,991,664,363,495,1005,1478,1032,433,555,772,828,548,479,634,538,531,711,1160,1076,600,653,996,1214,1350,1290,1284,1252,1042,1080,673,360,366,419,896,1330,1288,1260,843,1044,1078,1070,1050,698,451,456,400,552,612,642,656,652,777,1122,1144,1238,1332,1404,1460,1312,1182,934,787,902,881,662,911,1066,662,464,361,366,462,357,405,599,1028,816,298,315,339,372,383,218,372,567,546,549,1046,1070,838,905,955,1088,890,1124,1474,1448,954,1062,1188,671,508,428,351,590,894,1026,935,887,728,1064,1408,1444,1372,1214,1274,1132,1232,1550,1516,1166,1068,795,466,385,548,748,1120,1444,1302,1230,1086,1196,1438,1210,1064,1012,1007,1130,1296,905,831,769,1236,1238,720,791,918,775,910,1118,1068,980,1426,1928,1464,1250,1078,927,798,651,991,1114,995,743,405,433,419,515,628,418,338,717,933,841,893,1148,1196,1054,1030,738,788,1078,828,1003,702,623,628,596,407,299,253,323,514,623,822,1230,1078,639,428,688,913,852,767,620,429,374,434,550,632,677,398,374,283,271,255,269,309,332,445,453,511,398,815,1342,1186,825,716,688,878,866,808,1046,984,718,918,990,1024,1338,1404,887,664,527,484,518,583,844,875,801,934,1005,1042,742,606,570,366,330,721,673,594,822,1070,1212,927,1078,962,948,1060,728,720,951,1390,1554,1316,1146,839,1198,1428,1194,1060,1444,1720,1582,1248,1338,1504,1566,1176,754,930,1076,1356,1304,1018,1034,1228,1256,1340,1334,1230,1262,1170,1078,1064,1044,993,1114,1410,1274,1210,1023,866,1040,1182,1288,1266,1150,1206,1158,977,1196,1242,1158,1108,1236,1286,1234,1320,1240,1136,1092,1220,1074,899,1028,897,1023,924,956,1012,1158,1168,1234,1262,1260,1238,985,1019,1034,1196,1146,1280,1172,1104,1094,1152,989,719,756,760,826,566,628,863,1062,1234,1252,1074,1172,1296,799,1114,1586,1166,1009,505,337,394,893,1366,1292,1556,1586,1156,1190,1168,901,781,865,991,1102,1144,1350,1418,1492,1306,1358,1048,923,912,758,1012,1086,767,644,861,965,970,1108,1019,724,886,1258,1420,1510,1498,1192,992,1104,1302,1428,1694,1396,1166,1396,1390,1328,1278,1238,1216,1034,942,880,1354,1032,923,817,738,566,788,624,855,1444,1456,1496,1408,1088,728,681,948,1074,1238,1200,817,674,713,747,753,798,941,970,1060,1058,1026,1278,1290,1160,1292,1116,933,1108,1222,1146,1196,1204,1110,1168,1146,1146,1392,1568,1400,1118,1042,1106,1192,1116,1198,1116,691,404,407,419,451,448,456,484,552,598,483,464,872,1144,1310,1584,1354,1092,1050,1246,1234,1332,1194,973,1124,1184,1466,1506,1334,1264,1444,1646,1694,1440,1426,1630,1322,1116,1011,1032,733,739,894,1096,1188,1170,1206,1302,1368,1440,1666,1698,1158,1212,1666,1782,1472,1504,1434,1172,1038,1062,1202,1414,1434,1344,1416,1426,1268,1356,1550,1398,1432,1442,1494,1520,1376,1334,1392,1760,1782,1844,1870,1824,1782,1824,1428,1314,1222,1002,1015,1048,1050,1132,1280,1176,1110,1152,1156,1016,991,1138,1010,888,838,872,1330,1234,1034,1234,1466,888,625,940,925,854,1300,1534,1352,1120,940,658,491,1074,718,1166,1572,1562,1256,1128,1138,1198,1212,1448,1748,1354,933,1034,1272,1040,750,772,947,979,1142,1242,1084,1258,1394,1522,1416,1516,1520,1508,1700,1766,1636,1628,1668,1596,1510,1534,1592,1622,1626,1628,1640,1764,1730,1702,1494,1436,1210,1028,1138,1184,1062,1021,1098,1190,1066,1116,966,976,1216,1404,1494,1582,1566,1622,1594,1200,647,757,1298,1280,716,648,995,1196,1118,1126,1358,1266,1274,1260,833,951,1230,1236,1144,1176,1184,1144,910,733,951,791,637,490,661,805,712,579,545,509,529,505,604,694,522,498,441,392,383,485,724,587,408,314,283,257,374,536,519,517,498,604,1286,1390,1270,805,746,767,762,1100,980,866,1372,1330,1296,1246,743,364,328,449,783,929,468,422,969,818,576,605,410,344,257,395,455,392,300,481,792,646,307,370,518,440,543,416,335,444,423,348,362,423,529,552,692,1042,838,382,343,295,307,334,360,529,848,774,428,303,375,443,391,475,1028,1418,1298,1256,803,344,342,371,683,1020,1080,972,493,591,701,511,403,460,757,941,739,604,558,730,1010,1056,1266,1020,888,998,1320,1720,1482,1740,1504,1220,1168,1048,1244,1690,1542,1486,1544,1388,1112,938,949,974,1126,1240,1154,1104,1114,1242,1096,1078,1150,1122,1208,1194,1240,1234,1204,1256,1090,913,1128,1382,1262,1360,1400,1154,826,617,766,981,966,1060,1278,1434,1608,1846,1662,1270,940,1060,1210,1320,1378,1276,1058,892,748,665,658,667,584,549,597,644,1080,1476,1238,1124,989,771,698,847,963,1094,1138,1164,1190,1214,1240,1186,1150,1208,1196,1240,1274,1138,1094,1116,1156,1254,1258,1228,1162,1186,1074,977,990,1040,1148,1038,876,1122,1390,1064,567,475,521,720,817,908,1154,1568,1650,1548,1508,1320,1208,1030,733,586,694,916,1060,1118,1270,1630,1818,1486,1266,1128,756,1150,1648,1604,1514,1350,1334,1016,1002,1326,1526,1718,1600,1558,1568,1704,1924,1622,1024,1350,1478,1504,1478,1542,1320,1132,1242,1452,1506,1484,1638,1882,1772,2026,2232,2192,2008,1914,1490,851,840,1172,1204,1318,1832,1494,1368,1326,1368,1188,1178,1300,1152,1302,1528,1388,1236,1226,1232,1588,1814,1836,1602,1284,1296,1426,1272,1444,2198,2420,1764,1360,1222,1226,1180,1288,1248,1242,1114,1046,1060,999,1046,1090,1010,1038,1186,1212,1264,1144,1286,1504,1408,1236,1019,1194,1442,1384,1160,1256,1150,1376,1298,1198,1011,954,977,1144,1214,1182,1001,882,1098,1154,1498,1384,1184,1382,1110,596,457,698,719,595,905,1332,886,390,342,380,397,381,347,292,288,264,269,319,397,452,489,423,401,414,454,404,397,361,378,484,700,793,771,1112,1468,1210,891,692,946,1050,998,998,810,607,443,310,296,234,217,265,346,341,336,274,290,312,362,436,472,564,574,368,313,252,332,390,295,260,252,330,441,465,411,394,454,407,356,348,314,348,362,370,434,429,301,266,235,251,275,535,1003,841,876,1122,1314,1078,1034,1015,1060,1086,1056,1034,820,806,807,896,897,1408,1588,1414,914,827,994,1009,943,1034,1250,1142,1588,1428,1242,1256,1256,1298,1266,1092,1266,1986,2250,1576,1214,1394,1478,1510,1462,1126,1013,882,871,843,1046,1242,1136,1064,1184,1118,960,998,970,1166,1176,1306,1168,1158,1230,1130,892,694,601,529,829,745,605,934,745,813,1028,1021,1272,1322,1130,1190,1302,1206,1106,1266,1416,1302,1012,741,861,1258,1406,1576,1746,1730,1764,1726,1512,1244,964,771,774,648,599,921,1280,1316,1216,1228,1700,1626,1146,1104,1114,1632,1546,1152,1108,1206,1206,1170,1004,1004,1136,1054,850,605,739,1454,1944,1302,962,1164,1170,1080,1184,1206,1086,980,890,1420,874,637,855,1054,1164,1066,886,919,950,1196,1502,1356,1478,1356,1082,1011,1048,844,1114,1180,1160,1188,1230,1340,1142,894,848,1096,1448,1420,1198,1366,1368,1382,1266,1218,1124,1188,1324,1058,1102,1202,1334,1288,951,1021,1120,894,1028,1230,1426,1268,1050,1208,1236,1258,1354,1296,822,1176,1418,1384,1302,1072,1001,1102,607,596,963,1140,1162,1240,949,882,925,1108,1180,1066,993,997,1003,1282,1598,1406,1230,1334,1198,1021,1036,1384,1332,1094,1228,1200,986,1086,1160,1224,1024,717,897,1076,1050,1212,1086,941,1090,936,833,747,843,1392,1432,1356,1300,1350,1662,1670,1368,1194,1120,1356,1538,1310,1786,1388,1114,972,995,926,662,691,974,939,900,1052,1114,1138,1086,1316,1328,1023,847,733,668,565,550,656,471,520,1050,1352,1270,1234,1472,1506,1434,1700,1806,1412,1168,1078,1094,944,695,656,853,1013,1338,979,683,553,837,863,1017,1258,1228,1322,1212,1196,1428,1102,1108,843,550,730,834,1146,1678,1520,1200,927,875,1050,1092,1338,1050,902,1104,1182,908,1038,930,821,1110,1260,1228,1094,1246,1650,1606,1312,1192,1003,960,1042,1176,1474,1540,1412,1100,832,592,589,977,1266,1488,1582,1272,1422,1550,1416,1224,1116,855,890,1004,1052,1000,1382,1352,1250,1172,993,615,486,506,542,563,600,489,436,301,260,345,487,417,650,774,637,547,555,861,1106,799,657,778,768,642,509,949,1482,1550,1284,1196,1340,1214,1330,1372,1096,1154,785,639,820,885,877,1306,1636,1508,1420,1160,880,973,984,1196,1098,1240,1386,1310,1278,1034,1082,1252,1116,1076,1312,1240,1246,1484,1472,991,1090,1368,1346,1138,1176,1454,1418,1256,1326,1612,1848,1452,1236,1040,889,873,968,1282,1005,943],[706,508,733,1078,849,408,438,774,1260,1570,1550,1174,881,910,1246,1096,722,921,1076,808,735,799,435,552,800,998,1228,1110,1242,1422,1174,1001,1166,1172,1148,1408,1432,1122,1226,1294,1398,1160,780,614,604,458,612,1406,1510,1238,1086,914,914,1116,897,806,739,855,727,434,546,1204,1534,898,555,689,747,724,821,737,642,563,421,604,1068,941,565,642,888,949,1328,1380,1166,1082,1078,920,604,345,450,784,1260,1158,1550,1744,1090,1078,1068,845,620,689,825,745,664,518,474,634,746,718,963,1284,1440,1244,1120,1184,1232,1242,1058,862,534,667,732,843,1180,793,545,518,381,346,323,277,459,1264,1936,1246,456,416,336,314,362,335,393,595,934,968,1098,1174,1232,1386,1488,1178,867,1152,896,1017,1192,1312,877,477,718,781,357,466,753,954,915,1154,824,849,1266,1246,1046,1104,1058,1152,1494,1506,1308,1240,1266,932,679,686,605,550,748,1184,1284,1144,1168,1250,1172,1130,731,776,979,1066,1210,1086,1232,1126,1288,1266,578,906,1006,1220,1238,1222,993,959,1224,1840,1346,808,635,622,684,777,843,995,1066,769,537,424,442,359,267,275,444,877,1036,761,678,1060,833,807,738,401,389,526,586,766,741,760,949,767,489,370,264,383,588,483,638,1286,1100,580,406,634,1023,811,423,649,571,326,399,703,894,749,482,384,339,283,311,526,663,414,724,859,723,417,979,1306,1314,1132,811,625,765,1140,1376,1254,1116,757,940,902,758,899,1366,1232,887,738,908,905,700,644,679,850,719,958,1362,885,524,571,628,681,621,550,852,745,819,875,721,1034,903,896,918,800,762,910,1202,1310,1238,1192,1104,1170,1044,1204,1396,1298,1302,1238,1114,954,1008,1356,1084,726,956,1108,1116,1005,857,1036,1106,1188,1322,1412,1356,1220,1196,1232,1174,1288,1084,1040,1250,1358,1382,1214,849,750,908,1044,1202,1202,1196,1162,847,1078,1210,1084,964,1114,1130,1214,1366,1272,1166,1194,1194,1044,1008,1220,1072,965,1104,1104,1015,1064,1120,1196,1268,1112,996,822,852,1126,1180,1036,1132,1078,1008,1018,1122,994,793,937,1066,875,724,694,594,729,1022,878,610,919,1180,874,1005,1200,965,817,589,543,594,1030,1278,1330,1602,1336,1176,1116,1154,1288,1208,1158,1294,1342,1272,1302,1436,1528,1342,1208,956,1012,1158,741,871,945,834,1432,1854,1210,694,913,984,772,883,949,783,747,807,678,935,1236,1154,969,1460,1422,1140,924,781,1002,1228,1278,1162,1234,918,821,1604,1038,527,457,394,485,675,816,1156,1542,1418,1792,1694,1104,740,732,874,951,1186,1218,909,745,594,651,774,812,856,1192,1148,806,982,1244,1312,1418,1434,1172,1042,1090,1072,1076,1032,1138,1154,1134,1084,1100,1164,1304,1424,1466,1450,1762,1784,1324,1320,1274,686,423,420,413,446,480,481,464,549,628,552,444,908,1384,1488,1432,1386,1262,1146,1302,1082,1062,1150,1312,1208,1204,1256,1030,993,1198,1400,1532,1580,1478,1518,1340,1128,1066,902,810,916,1106,1174,1166,1228,1330,1278,1266,1274,1576,1736,1754,1368,1362,1760,1794,1520,1422,1476,1532,1266,1064,1314,1480,1346,1426,1594,1468,1266,1396,1500,1454,1354,1256,1300,1322,1274,1428,1368,1740,2070,2156,1896,1598,1418,1312,1314,1386,1188,1086,986,1017,1094,1026,1188,1186,1050,1086,1228,1178,1186,1150,1038,816,650,932,1624,1590,1432,1326,1354,936,787,1056,860,689,961,1236,1284,1292,1174,666,400,882,826,1162,1520,1550,1322,795,691,879,1128,1438,1424,1260,1134,1118,1426,1148,745,683,859,951,1222,1272,1206,1210,932,1050,949,922,767,1020,1528,1450,1318,1434,1434,1510,1704,1666,1684,1760,1802,1696,1664,1684,1750,1716,1622,1528,1462,1320,1268,1260,1230,1448,1426,1258,1098,1094,1048,1160,1368,1160,1300,1654,1582,1470,1556,1376,731,473,592,633,554,757,1176,1656,1760,1626,1548,1426,1368,1198,1192,1116,942,1026,1136,1176,949,838,1118,1226,971,719,485,398,471,550,685,825,841,738,639,557,653,694,730,652,738,648,422,495,786,792,481,231,270,280,323,512,772,586,486,844,1196,828,810,726,823,927,762,860,786,929,1424,1526,959,436,282,507,594,377,401,482,311,503,743,487,876,1130,834,628,489,449,460,381,266,347,488,603,376,499,749,665,636,381,400,634,572,360,312,279,287,372,662,758,603,363,350,281,298,297,264,291,437,555,543,482,446,505,442,364,816,1314,1396,1178,659,344,340,480,839,961,1240,720,505,822,1018,927,619,580,773,788,611,459,343,436,808,774,576,571,692,541,885,1322,1384,1290,1124,964,995,1042,1244,1446,1322,1020,870,871,846,905,1007,1146,1198,1414,1272,1174,1150,1152,1186,1286,1236,1154,1054,1084,1288,1342,1316,1406,1386,1056,1266,1532,1342,1066,749,660,741,1002,1242,1242,1346,1554,1620,1480,1490,1670,1716,1572,1488,1438,1282,1144,1088,896,623,590,524,529,749,841,701,714,765,811,1650,1964,1894,1678,1294,1110,868,762,589,620,750,838,910,1064,1172,1244,1268,1278,1184,1164,1228,1328,1356,1318,1138,1046,1094,1130,1278,1274,1224,1146,998,969,918,802,807,1160,1260,1042,944,935,1178,1422,1152,1240,1826,1506,1112,1376,1434,1592,1432,1304,1200,1526,1184,771,693,747,1034,1582,1834,1614,1214,948,1244,1410,1328,1316,1332,1246,1344,1094,1054,1420,1422,1686,1466,1490,1266,1292,1810,1624,1154,1286,1220,916,991,1352,1460,1126,973,1010,1128,1342,1518,1758,1786,1866,2032,2010,2008,2144,1824,999,883,1246,1372,1318,1516,1152,1334,1630,1432,1148,1214,1120,1180,1590,1708,1132,1009,1018,1196,1322,1638,1984,1760,1476,1420,1334,1296,1568,1548,1762,1822,1628,1212,1160,1198,1638,1864,1404,1164,1152,1186,1026,1112,1170,1228,1488,1638,1292,1172,1186,1368,1494,1554,1294,1044,1262,1164,1344,1078,1202,1274,1214,1128,1130,1106,913,1104,1194,1184,1260,1164,1054,1022,1084,1432,1386,1470,1548,1094,597,565,818,965,935,644,1046,1116,582,356,415,436,392,334,301,273,288,297,325,446,514,489,418,415,455,497,451,374,320,327,390,415,426,514,973,1368,1080,612,415,577,959,1550,1676,1208,490,289,291,344,269,302,426,432,380,397,367,338,350,415,495,461,557,640,421,328,323,365,416,377,321,284,332,382,349,331,379,471,404,347,330,329,333,346,387,505,466,334,212,191,246,385,766,835,1038,1434,1344,1126,1140,1202,1022,985,1160,1296,1108,844,659,840,870,868,1362,1596,1328,1015,1004,1042,1002,808,653,837,990,1478,1308,1168,1214,1376,1444,1368,1088,1404,1804,1394,1384,1296,1480,1576,1516,1548,1366,1064,730,807,1114,1148,1066,1130,1100,1092,1142,1064,1278,1160,1150,1338,1490,1342,1112,973,821,575,557,528,514,900,608,618,753,753,972,1000,1012,1080,1002,1002,1112,1282,1094,1124,1264,1088,1088,1021,822,908,1238,1414,1454,1534,1622,1786,1434,1184,1118,987,847,827,832,703,814,1238,1432,1150,1228,1392,1518,1448,1448,1210,1362,974,858,1082,1316,1544,1378,1148,1007,1176,1142,1024,928,1122,1396,1414,1316,1162,894,829,983,1176,1288,1330,1056,1444,2282,1212,509,606,1034,1116,922,868,957,886,1312,1212,1390,1384,1512,1544,1396,1038,939,1074,1110,1260,1098,874,1214,1352,1336,1012,885,1124,1208,1003,1182,1522,1428,1280,1346,1272,1262,1048,1196,1292,1276,1110,1180,1118,1322,1418,1242,1274,988,1290,1180,1234,1466,1498,1436,1454,1442,1088,1030,1122,1252,1188,1014,1156,916,509,714,1098,1206,1122,918,989,1008,871,942,1226,1254,1108,803,1192,1544,1770,1598,1384,1214,1324,1422,1466,1512,1256,1068,1176,1014,823,894,838,614,677,798,789,666,767,1068,1174,912,797,1032,1030,1038,1152,1672,1472,1180,836,863,1328,1668,1294,1086,806,1304,1562,1560,1632,1614,1530,1226,1186,1130,722,478,603,1038,1218,1118,1418,1310,1344,1440,1124,982,755,803,1088,763,546,496,486,509,735,1038,902,1054,1104,1118,1410,1626,1296,931,989,1078,1288,1314,1042,894,967,1032,1124,760,469,475,476,558,899,1214,1182,1282,963,1194,1452,1284,1196,957,730,926,1176,1496,1640,1394,1530,1154,1078,1210,1354,1258,941,1076,1204,1054,891,836,656,698,1230,1428,1246,850,795,1372,1596,1550,1432,1048,932,995,977,1226,998,778,516,521,609,684,938,1268,1556,1684,1662,1558,1510,1334,1018,694,544,620,501,332,488,996,1182,1150,1256,1070,659,597,648,613,552,744,612,397,254,274,461,491,358,550,785,719,570,697,902,985,742,747,942,984,770,721,1114,1406,1342,1250,1226,1272,1194,1216,1038,1154,1078,584,379,447,510,700,1244,1638,1410,1266,1174,1178,1360,1228,1266,1294,1296,1234,1200,1046,828,1088,1120,1210,1116,1242,923,1012,1432,1404,1260,1386,1438,1388,1138,1024,1001,1366,1400,1344,1488,1796,1654,1178,830,1206,1452,1242,1164,828,682],[399,410,430,516,582,537,932,1444,1608,1440,1372,1124,1112,1276,1250,911,857,1370,1058,869,734,738,462,526,630,921,1184,1468,1610,1460,1270,1174,1214,996,993,1366,1344,1340,1318,1448,1582,1476,1236,935,1078,709,583,1424,1370,912,845,883,806,841,935,999,692,693,851,550,500,1050,1310,841,747,756,865,977,1280,1104,610,424,439,528,566,439,394,642,708,725,1180,1456,1246,1268,1124,740,517,437,508,711,1032,577,1140,1172,1005,1130,910,766,760,810,1100,1434,1142,606,698,1098,1166,1214,1306,1430,1400,1016,835,967,1260,1034,755,940,447,497,932,1142,1238,915,824,745,491,309,352,320,463,989,1204,999,639,586,546,506,642,574,412,378,762,1178,1090,999,1494,1488,1452,810,774,890,670,870,1196,1334,1244,786,853,892,453,602,1188,1366,991,1022,879,792,967,999,1196,1278,1278,1310,1152,930,838,946,996,978,1322,1230,865,751,806,1094,1136,1370,1448,1146,871,790,557,611,1158,1166,919,1416,1748,1240,932,750,579,1094,1018,1094,993,641,495,511,836,1280,1168,842,625,742,955,942,1048,936,872,906,949,783,661,532,411,355,590,974,896,642,459,727,708,498,419,309,286,322,440,800,1188,1108,1174,984,640,545,414,607,942,1084,1132,1216,931,464,394,507,979,1015,915,1234,1066,600,549,1164,1128,692,546,492,500,357,407,677,868,519,547,595,467,407,974,1238,1250,1032,601,615,866,1110,886,702,938,800,1076,1094,844,806,1282,1476,1142,967,1148,1108,960,740,818,789,807,1102,1250,720,486,766,905,818,769,535,534,495,753,777,727,698,709,724,1001,1146,965,936,1094,1336,1180,1220,1508,1396,1368,1240,1148,1074,958,686,680,825,946,1228,1224,978,785,865,1042,814,673,1094,1322,1242,1428,1506,1244,1202,1246,1262,1300,1288,1266,1098,1058,1144,1188,1100,1076,1030,742,805,1080,1440,1424,1190,1152,1256,1208,1100,1148,1240,1272,1466,1380,1226,1102,1118,1190,1094,1188,1322,1074,963,1136,1090,1140,1230,1206,1318,1346,945,894,927,932,1132,1250,1032,1058,1208,1152,1058,1078,1104,1100,1003,1078,1028,1072,752,468,600,637,693,884,882,951,607,507,640,901,957,1134,1118,1094,1144,1108,1232,1094,930,1114,1022,852,1594,1568,1214,1152,1212,1112,902,1322,1616,1400,1238,916,963,1182,623,565,584,774,1528,1692,1234,1082,1122,977,919,1012,985,904,797,931,1019,1044,998,904,917,1154,1252,1164,1088,1076,1058,1190,1192,1104,1312,1042,663,671,563,591,718,770,864,991,1146,1394,1548,1496,1792,1416,1058,1036,830,562,560,863,1092,851,776,581,602,629,764,899,1218,1306,1334,1356,1176,1066,1130,1174,994,839,939,1110,1080,1020,1005,1046,1146,1220,1278,1330,1302,1450,1362,1530,2280,1838,1332,1274,1372,1028,670,525,475,477,488,485,488,530,586,552,408,625,1048,1178,1246,1282,1202,1180,1112,1042,1164,1094,1094,918,1050,1228,1078,857,1130,1500,1580,1550,1594,1544,1192,920,842,917,1064,1142,1176,1236,1620,2046,1996,1542,1374,1148,1224,1526,1494,1334,1526,1804,1808,1598,1516,1510,1682,1348,1148,1380,1532,1542,1584,1576,1478,1468,1442,1302,1222,1338,1616,1764,1710,1744,2064,1918,1938,2104,2422,2312,1682,1414,1414,1698,1890,1506,1222,1126,1072,1082,1182,1274,1362,1356,1322,1360,1440,1250,1312,1162,1106,922,1002,1334,1332,1164,1186,1406,1190,831,858,752,650,974,1484,1476,1017,733,542,390,731,1070,1174,1134,1106,928,739,680,758,1202,1262,1228,1466,1218,1212,1348,1046,777,854,1180,1072,1608,1704,1332,1003,841,757,775,752,756,1194,1360,1274,1370,1076,946,1408,1628,1372,1398,1534,1554,1644,1696,1604,1622,1598,1560,1662,1742,1680,1656,1688,1588,1670,1656,1680,1534,1418,1356,1294,1284,1088,1492,1454,809,507,818,1300,1200,772,720,796,942,1144,1376,1636,1926,1650,1658,1716,1306,830,1058,1172,999,915,937,1056,890,590,844,1346,1050,758,512,414,467,531,566,651,816,803,764,684,694,751,764,951,1082,831,511,607,905,760,425,309,317,314,378,681,1106,702,526,1096,1174,719,579,711,1034,1268,1246,995,841,879,972,1328,907,556,559,590,894,780,380,343,369,700,505,568,906,890,899,758,680,641,562,321,246,273,283,311,311,537,751,513,408,395,579,856,694,447,364,371,397,403,507,610,383,167,190,259,278,255,262,304,352,327,361,394,339,350,332,384,983,1598,1474,979,625,400,391,625,905,1124,1138,560,708,908,1178,1046,567,617,821,695,688,785,622,491,775,635,590,917,1082,765,874,1164,1058,1032,1296,1108,841,839,1182,1260,1432,1334,1296,1240,1100,1005,1658,2916,1686,1548,1402,1110,1270,1266,1404,1230,1154,1340,1152,1244,1344,1240,1266,1258,1280,1374,1748,1622,1290,869,760,948,1086,1258,1396,1420,1534,1578,1568,1570,1372,1362,1566,1406,918,788,888,969,1126,1164,898,955,591,573,850,907,811,739,714,723,1504,2160,1900,1582,1406,1254,1316,1190,653,470,490,511,642,704,682,808,987,1028,1042,1030,1112,1272,1358,1486,1458,1412,1202,1034,973,1072,1216,1282,1354,1234,1028,800,904,1186,753,879,1378,1526,1766,1730,1294,1560,2160,1208,1028,1766,1626,1378,1450,1560,1592,1750,1720,1450,1284,1282,1430,1616,1716,1490,1462,1152,1072,1232,1356,1386,1418,1412,1404,1152,1028,1550,1230,1362,1222,1354,1346,1498,2084,1814,1164,1164,886,869,1066,1140,1218,951,1024,1062,1166,1520,1592,1694,1860,1818,1960,2090,2014,1958,1960,1252,1068,1372,1618,1276,1180,1088,1308,1556,1296,1164,1192,1214,1214,1318,1468,1358,892,948,1284,1134,1294,1582,1584,1468,1316,1272,1532,2270,1886,1592,1650,1436,1216,1256,1108,1498,1658,1204,1122,1166,1172,1076,1276,1260,1404,1632,1534,1318,1300,1314,1440,1588,1554,1108,877,1018,1164,1348,1508,1394,1224,1248,897,847,901,804,1076,1064,1184,1196,1036,1124,1098,1032,1166,1440,1542,1304,1030,1044,857,747,901,759,460,761,1238,971,493,409,401,311,299,331,289,325,362,402,433,454,398,412,470,512,481,430,421,351,320,294,286,261,384,639,711,802,602,352,498,1122,1736,1636,1212,595,346,312,328,277,351,493,431,301,346,408,375,411,416,409,372,466,616,504,401,384,352,346,358,327,263,332,441,403,332,336,460,382,294,290,300,354,382,326,392,429,375,285,274,416,899,976,863,1078,1430,1422,1180,1110,1108,971,967,1048,1216,1070,992,895,736,585,963,1356,1448,1218,1003,1098,990,1048,1100,807,755,988,1172,1150,1190,1406,1386,1250,1276,943,1114,1140,1388,1698,1500,1526,1370,1352,1484,1402,1118,834,1078,1366,1298,968,1044,962,931,1050,960,1282,1276,1176,1370,1436,1212,860,1001,920,509,404,524,664,916,683,570,626,800,1042,1013,1064,1162,946,800,769,831,879,1134,915,781,1007,1110,961,860,1132,1316,1198,1388,1302,1382,1412,1364,1248,1136,1044,1060,1070,969,1102,1194,1070,780,860,667,908,1328,1196,1198,1376,1007,937,1072,1300,1296,1226,1168,1040,1256,1262,1044,1044,1132,1054,1316,1502,1322,1214,1086,1064,1158,1134,1040,619,982,1578,1134,672,790,890,588,595,741,786,644,767,780,1346,1404,1342,1430,1528,1494,1362,1130,1094,1228,1102,952,1284,1318,1612,1204,1005,1082,964,1084,1426,1426,1198,1274,1370,1316,1350,1350,1732,1570,1400,1412,1524,1310,1240,1290,1064,981,758,760,1042,1278,1458,1678,1658,1622,1206,778,1036,1248,1160,850,825,1064,1036,951,1208,1340,1036,825,963,1210,1182,1078,1172,1086,1050,905,1064,1468,1478,1168,1224,1334,1140,1256,1386,1384,1302,1340,1344,1334,1232,1176,865,675,641,697,719,752,1026,1122,847,856,877,741,1080,1136,1186,1306,1216,990,701,670,886,1002,1372,1436,1396,1350,1494,1426,1210,1282,1698,1528,1146,1256,1118,623,379,586,1170,1274,1130,1378,1066,1146,1294,1108,977,649,780,922,838,778,701,675,663,689,744,735,780,821,680,815,1130,1082,1270,1312,981,1250,1432,1170,744,979,1334,1482,1074,846,818,540,486,741,1162,1248,992,796,1342,1522,1470,1226,932,1064,984,964,582,519,902,1716,1302,1248,1412,1180,1056,1356,1456,1276,1294,1000,621,374,439,952,1124,791,530,777,1216,1490,1578,1142,903,1282,1242,869,1064,672,611,781,979,1040,860,617,918,1388,1612,1732,1462,1360,1244,996,528,637,1040,817,616,866,1274,1478,1376,1394,1024,891,979,871,600,502,547,548,482,404,437,568,525,470,534,1012,1596,1310,786,821,814,697,821,1036,1034,982,1003,800,843,1246,1122,1254,1382,1234,951,750,1094,1052,564,380,348,389,671,1310,1670,1582,1454,1490,1372,1172,871,926,1244,1170,1150,1302,1278,1220,1360,901,810,808,1074,1212,1270,1290,1290,1330,1382,1360,1440,1298,1296,1200,1094,930,907,1460,1888,1690,1326,1064,1284,1276,1015,711,668,918],[397,295,286,386,479,789,1364,1598,1550,1384,1198,935,1056,1426,1182,730,775,1300,1432,1560,1454,1021,691,688,723,969,1134,1228,1236,1156,1350,1410,1416,1166,1220,1432,1544,1584,1390,1452,1510,1522,1532,1228,1120,798,541,1482,1466,848,808,947,841,713,1044,1388,838,846,987,888,872,1222,1290,1178,1200,1256,1200,899,1015,1148,789,475,566,965,914,583,438,683,669,619,1040,1324,1086,830,611,467,656,973,874,546,469,322,567,719,1068,1488,1300,1078,1050,890,865,1186,755,402,527,774,978,1210,1314,1188,1050,895,744,772,1068,929,545,681,438,598,1228,1158,1394,1424,717,561,466,363,367,355,383,497,571,799,802,780,767,941,1096,861,473,281,383,592,711,766,1352,1086,1042,811,842,1021,918,910,1136,1388,1682,1024,755,596,459,607,1418,1406,999,1044,931,848,688,711,1060,1080,1218,1336,1162,895,893,882,1017,1356,1576,1090,1001,1310,1150,949,1078,1364,1228,1068,916,1130,946,961,1238,777,488,637,819,1142,858,671,659,824,989,931,690,500,564,795,855,799,1072,1092,802,922,796,527,916,1004,863,771,688,548,424,450,399,454,725,912,867,947,1072,1154,802,819,842,560,509,389,394,624,1034,1156,957,920,793,985,664,596,897,1214,1260,1234,787,458,436,381,942,1036,1154,1248,1162,780,571,628,361,469,711,1052,1092,651,433,811,937,787,592,497,468,670,1008,1090,1074,850,854,725,713,711,403,402,513,719,890,1052,1078,996,1396,1622,1532,1516,1396,1268,1005,1062,894,635,680,886,978,929,1021,1202,969,839,904,603,722,932,815,662,551,624,791,851,1056,1252,1202,1036,967,1068,1014,1258,1454,1618,1462,1148,1052,1118,987,570,424,614,824,1220,1306,990,601,697,1019,794,612,1090,1282,1214,1638,1710,1252,1316,1354,1332,1180,1230,1216,1110,1034,1102,1104,1062,1284,1058,798,1032,1088,1242,1150,1056,1152,1204,1060,1034,1144,1200,1202,1256,1142,976,732,877,1216,1214,1126,1198,1192,1206,1260,1250,1182,1356,1234,1062,1062,1244,1208,1019,1086,1250,1266,1114,1188,1328,1264,1007,1015,799,790,727,925,1174,922,574,524,600,821,1066,1072,1166,1132,681,462,467,569,789,937,938,1022,1172,1344,1148,1122,1174,753,515,620,1504,1504,1268,1274,1328,1150,1046,1082,1166,1182,1252,937,628,711,659,761,764,604,650,857,1032,1152,1009,727,689,684,755,858,993,1100,1042,687,474,588,954,1458,1542,1102,1058,755,709,1007,645,559,725,801,581,395,583,962,1118,1044,1158,1188,1128,1294,1462,1568,1384,1100,1021,963,933,587,425,650,951,936,834,694,654,698,897,1108,1318,1522,1528,1362,1076,979,1192,1130,1226,1042,880,960,1114,1144,1056,1050,1172,1160,1122,1036,1146,1268,1328,1482,1554,1226,1122,1272,1274,1252,750,567,491,473,506,498,473,494,533,521,454,642,944,1064,1112,1184,1216,1168,1272,1214,1124,967,885,921,1122,1310,1438,1090,1058,1432,1530,1414,1456,1164,830,664,614,862,1078,1244,1338,1642,1884,1942,1830,1426,1332,992,863,1262,1350,1416,1538,1558,1516,1576,1604,1444,1570,1320,1312,1466,1606,1596,1454,1388,1350,1438,1382,1526,1454,1930,2208,2354,2046,2050,2046,2134,2156,1816,1856,1964,2000,2116,1710,1814,2266,1962,1556,1348,1242,1248,1164,1150,1246,1300,1202,1262,1554,1260,1250,1372,1948,1538,1336,1480,1410,1478,1666,1554,1278,1210,1274,967,861,1240,1614,1548,988,1005,944,495,633,1148,1418,1182,920,817,887,884,871,1254,1334,1254,1294,1228,1268,1256,838,687,850,1134,1300,2050,1774,851,581,663,647,807,1002,1214,1544,1402,1528,1394,1284,1102,1284,1282,1174,969,881,1018,1220,1248,1240,1194,879,1042,1394,1492,1450,1494,1580,1686,1730,1692,1686,1660,1650,1714,1778,1646,1690,1678,1158,563,472,514,1050,1480,1252,1238,1286,1490,1626,1650,1412,1576,1470,1676,1668,1162,844,1302,1514,1210,918,1020,1262,1372,1212,983,1332,1274,736,532,557,476,526,601,657,704,673,719,734,793,665,547,836,1284,1288,798,926,1268,1070,703,471,375,352,361,716,1044,636,523,1108,1136,1020,985,742,491,788,1114,1306,1384,1126,742,781,653,561,542,594,951,930,447,674,941,1013,521,494,508,512,451,447,711,805,592,279,285,362,345,339,326,348,451,494,392,321,644,940,564,639,402,369,498,597,537,532,401,301,483,588,311,247,326,413,377,346,399,401,399,309,292,600,1238,1390,1212,867,568,383,421,771,621,961,869,828,993,1138,1106,616,543,827,801,824,1062,921,685,407,524,847,912,757,752,934,1156,1122,1144,1140,1152,1166,1009,1086,1314,1352,1396,1342,1360,1306,1144,1108,1320,2452,1588,1318,1218,1136,1308,1434,1352,1092,1450,1688,1224,1200,1224,1166,1036,1032,1290,1418,1418,1388,1302,1060,1005,1180,1230,1356,1510,1720,1698,1666,1882,1786,1238,1108,1430,1332,1046,1454,1926,1940,1626,1680,1406,1372,764,544,574,620,695,694,576,642,1306,1854,1848,1774,1616,1444,1476,1150,832,618,513,663,792,645,495,595,647,666,745,909,977,1080,1168,1252,1438,1512,1462,1430,1310,1196,1021,1050,1152,1244,1188,1002,1188,955,788,1260,1268,1182,1352,1406,1336,1550,1704,827,1454,2202,2302,1898,1378,1252,1118,1240,1366,1398,1334,1234,1362,1512,1416,989,960,943,689,761,1198,1338,1318,1300,1270,1150,969,1592,1188,1198,1290,1332,1700,1934,2238,1706,1010,1268,943,1088,1236,1038,1088,943,973,1284,1428,1840,1998,1702,1880,1788,1968,2054,2066,1898,1838,1540,1282,1294,1222,1116,1168,1238,1340,1396,1300,1676,1830,1512,1350,1322,1590,1570,1180,1366,1550,1280,1268,1250,1338,1268,1266,1388,2024,2866,2448,1742,1350,1210,1190,1204,1068,1040,1012,817,935,1218,1212,1180,1284,1394,1268,940,688,841,1228,1204,1104,1180,1350,908,921,1040,1278,1402,1522,1356,1174,1080,785,1008,1084,1072,853,990,977,895,847,761,755,958,1298,1528,1404,1064,937,1144,1080,923,631,482,608,680,1056,1348,887,426,388,324,301,312,281,277,315,333,358,399,373,365,450,517,488,412,429,420,356,298,401,452,452,500,578,586,480,348,374,570,816,673,537,585,447,381,343,267,324,428,394,348,365,357,342,357,368,328,318,442,705,690,488,353,285,307,382,325,277,308,333,344,314,276,368,325,271,375,490,532,435,240,276,391,354,357,350,719,1128,938,857,1078,1176,1266,1388,1344,1144,1096,1082,1092,1080,1194,1426,1468,937,745,1136,1248,1322,1188,1106,1078,1052,1208,1262,1142,1058,1014,1080,1180,1164,1302,1056,987,1040,1060,1256,1520,1544,1520,1556,1250,1172,1500,1462,1212,1032,860,1164,1206,1274,1120,1060,874,1020,1132,972,959,987,1120,1400,1194,987,879,1176,793,450,308,330,575,857,735,619,717,918,1116,1076,1042,1100,1044,1038,775,646,813,879,807,1015,1124,1196,1094,1156,1118,1230,1382,1484,1284,1154,937,987,1070,955,1214,1346,1026,872,963,1268,935,816,744,897,973,947,943,1130,1070,1018,1130,1246,1310,1212,1032,945,912,1170,1250,1112,1074,987,1036,1300,1150,1162,1148,1122,1274,1194,1136,1024,738,666,861,1066,1106,1288,949,335,408,620,583,528,517,706,1007,1180,1318,1378,1324,1180,1460,1440,1274,1264,1384,1318,1314,1232,1416,1488,1696,1418,1300,1428,1438,1144,1116,908,833,1302,1480,1520,1736,1782,1744,1666,1528,1302,1023,926,908,1130,857,510,753,1062,1152,1196,1348,1540,998,529,1144,1322,998,865,951,1238,1428,1346,1530,1472,923,630,1011,1316,1252,1338,1310,1246,1096,1074,1208,1482,1460,1276,1338,1324,1184,1250,1278,1408,1444,1444,1238,1098,1118,1208,1178,1172,1023,854,626,601,1003,921,866,838,871,787,916,1148,1254,1362,1178,682,404,503,645,922,968,991,945,1260,1504,1288,886,1282,1600,935,642,1102,1356,1130,672,496,797,778,888,937,700,835,968,1236,1228,830,1056,761,830,1150,1292,1028,759,568,508,507,582,792,815,764,939,945,1158,1066,639,772,1078,1214,1056,1021,1292,1394,1182,1154,785,519,611,743,1040,918,680,1016,1484,1418,1346,1360,1488,1766,999,666,481,393,494,845,1002,1302,1356,1300,1434,1448,1372,1302,1188,810,598,765,860,1080,1246,1088,710,741,923,1198,1526,1450,1378,1370,1454,1268,1134,744,746,1036,1314,1288,965,571,825,1260,1334,1334,1478,1206,781,586,399,464,829,874,943,1266,1506,1346,1124,1196,1246,1376,1488,1432,972,719,645,535,521,585,609,504,402,456,596,1494,2220,1388,820,821,576,423,602,871,1038,1056,754,458,720,1196,978,1226,1150,865,703,890,1074,916,530,485,620,939,1152,1514,1620,1158,756,883,1090,1340,1344,1218,1248,1140,1168,1366,1138,1134,1166,733,457,745,1316,1422,1328,1170,1346,1348,1588,1388,1406,1310,1260,1320,1182,894,725,1322,1868,1546,1408,1300,1360,1416,1262,813,1056,1338],[372,341,368,370,698,1138,1382,1552,1600,1434,1142,847,851,871,849,711,647,818,1226,1410,1420,1406,1190,821,783,917,1036,866,940,1200,1228,1560,1608,1260,1090,1272,1570,1532,1476,1332,1278,1556,1470,1122,814,754,829,1918,2140,1354,1042,1032,980,917,974,1076,894,937,885,1030,1158,1324,1334,1398,1118,894,1140,1224,1296,1194,777,668,780,1015,929,725,958,944,641,916,1246,1288,1242,1172,1034,1072,1268,1358,1180,713,689,611,762,1150,1306,1474,1172,1166,1152,833,614,538,562,438,307,391,624,1110,1144,1060,1014,727,677,855,1088,713,311,334,273,356,662,732,1228,1300,644,434,364,383,380,471,398,458,594,804,971,1048,1082,1138,1244,1212,637,291,354,573,680,562,1112,1228,1060,1011,1036,1048,1044,1156,1294,1222,1244,1016,531,370,630,991,1168,929,727,724,780,1040,1080,1138,1086,963,1054,1326,1378,1326,1176,953,750,936,962,567,822,1021,786,867,1384,1990,1592,1118,1000,1044,1050,764,370,286,366,348,473,809,675,602,794,942,847,866,1112,1074,847,960,1052,799,1152,1650,1240,710,381,535,972,1268,1196,869,808,689,431,515,470,645,959,1506,1472,1288,1154,1124,1130,1224,1166,1112,1178,614,518,668,749,841,970,902,751,566,588,623,555,804,1068,982,415,337,363,661,1252,1036,776,749,1158,1070,620,720,582,658,776,874,847,921,796,813,651,747,978,1001,978,1098,1178,1078,901,577,734,742,689,563,417,536,570,637,836,1338,1250,1152,1228,1306,1466,1656,1488,1210,867,798,648,537,508,580,958,1174,1082,830,874,963,1130,746,902,1380,1318,856,569,904,1164,1088,1134,1266,1376,1432,1708,1470,1246,1388,1482,1626,1544,1152,769,709,648,528,462,532,647,962,1140,940,661,658,927,959,1009,1500,1404,1372,1360,1220,1188,1252,1296,1230,1312,1296,1114,1312,1134,877,1082,1256,1300,1220,1078,1064,1338,1396,1152,1116,1068,973,897,1050,1074,1192,1184,1072,1230,976,687,919,1206,1188,1058,987,1126,1372,1238,1226,1146,1236,1130,953,1146,1516,1310,1042,1116,1172,1234,1316,1370,1440,1414,1070,738,528,642,656,775,885,757,652,799,864,1018,1218,1116,1314,1112,525,350,486,607,623,511,544,689,1072,1384,1186,1128,1198,1206,1034,957,1240,1282,1310,1428,1360,1270,1302,1274,1132,1042,1156,1044,885,943,1130,1138,1001,905,805,962,1190,936,659,457,395,384,435,609,921,785,581,583,477,552,969,1692,1472,1148,1276,1206,1042,790,718,855,930,896,825,853,899,1112,1184,1172,1402,1410,1282,1108,1160,1494,1304,1076,1038,1214,906,555,391,602,1013,1074,1058,1108,1208,1166,1306,1250,1250,1428,1396,1106,934,969,1058,1104,1290,1122,794,888,1112,1270,1362,915,634,812,1034,1102,1394,1400,1396,1284,1402,1616,1344,1262,1324,1288,774,546,499,502,523,533,528,514,502,478,425,562,953,1048,1090,1230,1154,1108,1158,1204,1078,800,922,1050,1100,1086,1150,1000,1104,1460,1342,1040,918,720,642,606,745,1086,1450,1504,1552,1882,1806,1830,1632,1322,1208,869,901,1172,1462,1448,1252,1164,1192,1246,1448,1480,1512,1510,1542,1470,1416,1398,1466,1528,1388,1522,1848,1490,1608,1742,1656,1918,2410,2464,2128,1862,1748,1274,1248,1140,1462,1604,1260,1754,1970,1788,1588,1336,1470,1446,1168,1244,1140,1054,1024,1054,1472,1494,1216,1422,1782,1624,1488,1794,1828,1782,1778,1660,1290,1172,1292,841,733,912,1264,1214,890,962,927,563,615,1342,1760,1288,1032,1092,1096,913,861,1120,1232,1268,1296,1354,1618,1472,823,680,943,1148,1322,1508,1282,753,494,460,586,955,1334,1600,1574,1262,1496,1452,1398,1216,1122,1248,1222,896,816,952,1160,1298,1100,950,869,1350,1538,1504,1572,1752,1704,1592,1582,1440,1438,1500,1524,1482,1814,1834,1782,1772,1258,639,486,564,1094,1494,1300,1460,1576,1808,1742,1636,1600,1498,1432,1354,1382,1400,1448,1448,1366,1268,976,1426,1524,1804,1684,1202,1400,1484,871,444,539,583,462,469,473,644,696,696,698,821,816,677,552,651,772,821,1220,1184,1188,1180,877,557,397,382,462,778,777,656,1166,1242,1140,1054,554,361,456,716,960,1094,1068,1096,1052,775,623,394,458,582,817,684,1016,1224,757,408,407,420,364,275,287,481,763,404,287,302,406,469,444,308,201,289,411,357,326,440,497,625,772,411,346,675,796,488,322,247,416,780,993,496,311,376,708,556,448,583,747,739,432,377,870,1426,1390,1536,1142,910,593,383,383,325,484,675,835,970,1170,817,639,927,978,1110,1152,733,621,642,450,443,762,878,949,1444,1626,1290,1182,1216,1182,1268,1366,1178,1276,1390,1208,1196,1282,1610,1514,1056,1146,1048,1236,1354,1156,1132,1166,1124,1152,1144,1104,1194,1094,1214,1194,1312,1048,910,952,1118,1258,1412,1316,1252,1160,1200,1238,1394,1494,1468,1700,1662,1546,1472,1268,1174,1176,1424,1614,1822,2310,2522,2272,2020,1888,1360,1040,686,621,730,716,728,892,796,920,1410,1618,1582,1632,1654,1682,1642,1382,1146,791,506,624,647,631,614,726,698,824,823,830,860,908,917,927,1098,1134,1232,1388,1468,1636,1386,1172,1050,1017,1038,1208,1356,904,929,1348,1228,1176,1266,1108,1296,1538,1662,1432,1754,2134,2556,2164,1502,963,691,1128,1516,1310,987,891,854,781,857,860,1013,1316,1174,661,880,1204,1280,1352,1244,1078,937,1522,1282,1130,1242,1288,1652,2104,2282,1656,1018,1422,1622,1370,1026,1042,1174,963,915,1186,1422,1992,2316,1786,1816,1770,2008,2128,2062,1930,1716,1332,1028,1130,1208,1180,1296,1444,1494,1754,1664,1458,1426,1418,1630,1482,1252,1360,1578,1592,1430,1234,1360,1414,1340,1154,1130,1342,2072,2450,2222,1750,1326,1174,1070,1078,907,998,1142,808,1044,1290,1322,1532,1788,1686,1178,802,659,943,1206,1232,987,1180,1402,1068,1000,1132,1170,1102,1206,1404,1284,1372,1378,1472,1388,1208,973,811,662,572,699,702,519,766,1386,1344,1114,1007,1050,1009,908,980,1003,845,1208,1344,996,1188,1270,750,425,361,355,315,297,263,250,263,288,337,358,356,458,485,462,379,402,447,422,313,348,475,517,619,699,408,287,299,344,336,354,354,390,442,383,318,296,310,371,374,342,404,342,348,380,387,373,325,255,379,680,712,424,301,290,308,339,293,300,360,333,295,308,293,302,376,451,484,460,360,278,238,272,365,384,385,467,969,1106,893,988,1162,1013,974,1044,1154,1236,1290,1236,1094,1028,1228,1428,1288,1082,1152,1396,1194,1382,1196,1174,1058,1124,1286,1256,1178,1098,1040,1186,1214,1208,1214,763,860,1100,1332,1422,1478,1500,1616,1616,1416,1278,1510,1448,1082,1090,861,984,918,1034,1062,1008,1112,1274,1198,1116,910,680,969,1284,1198,1066,1296,1250,684,362,332,299,339,543,807,906,890,1274,1188,1194,1210,1256,1426,1142,696,719,1006,1240,1284,1218,1274,1366,1144,1340,1272,1262,1420,1454,1502,1368,891,813,870,839,1388,1350,1154,991,1082,1274,991,975,948,1005,1086,1001,999,1018,902,1060,1024,1086,1216,1212,1100,971,962,1040,1176,1230,1160,1062,1050,1136,1094,1072,1017,910,1268,1290,1122,1192,1174,1010,858,857,1066,1332,990,521,422,411,405,461,597,755,811,1044,1342,1440,1114,811,1166,1350,1618,1520,1360,1560,1676,1310,1194,1992,2236,1504,1322,1208,1170,1116,1202,910,708,1042,1362,1554,1622,1644,1438,861,1122,1130,1128,1038,1260,1064,538,361,590,631,760,981,1142,1492,1024,828,1306,1280,1108,1248,1260,1234,1136,1248,1400,1200,933,971,984,992,1088,1264,1250,1334,996,697,990,1322,1474,1478,1174,1310,1478,1432,1382,1268,1334,1236,1130,1062,984,1086,1196,1308,1226,1374,1182,1068,876,651,672,866,1178,1024,861,1066,1208,1144,867,793,685,615,553,939,866,574,526,792,1174,1018,777,1168,1286,639,910,964,1326,1512,1150,904,819,590,605,641,584,618,596,761,1044,849,1042,1034,1422,1554,1636,1496,966,559,578,811,1050,1208,1300,993,1346,1232,1330,1214,905,839,939,965,1130,1250,1542,1614,1400,1388,991,550,414,553,764,589,403,558,908,852,946,1384,1406,1372,1088,767,531,373,355,376,590,1004,1320,1454,1542,1304,1230,1372,1462,1068,912,1098,1064,1254,1516,1300,1017,1032,887,899,1290,1638,1534,1454,1422,1344,1110,957,780,1072,1434,1212,763,725,1016,891,1036,1256,1462,1210,1118,968,639,500,843,1130,1176,1196,1314,1106,1024,918,1274,1378,1440,1490,1188,943,694,541,542,585,474,422,420,406,430,507,358,314,744,992,632,442,491,635,677,668,377,375,467,573,1066,1332,1288,1078,896,1180,1158,1158,926,1058,1258,1524,1578,1576,1632,1246,782,847,805,882,918,1290,1484,1346,1256,1400,1174,1152,1244,889,688,1130,1344,1258,1272,1003,962,999,1328,1370,1346,1260,1330,1302,1300,1348,1008,1388,1826,1366,1184,1088,1102,1206,1172,1206,1448,1260],[336,361,358,361,922,1328,1404,1584,1440,1184,848,753,799,774,841,1080,860,763,933,836,709,741,858,1226,1312,953,801,814,1224,1130,1024,1776,1560,891,760,1122,1540,1804,1428,1156,1238,1426,1418,1266,1322,1310,1476,2192,2298,1288,982,966,1134,897,1152,980,973,1172,1480,1732,1640,1448,1350,1414,1206,930,967,937,968,1132,971,1252,1316,937,814,1100,1352,1098,1064,1376,1472,1662,1666,1554,1306,1164,1230,1224,1076,698,595,627,857,1264,1422,1374,1252,1148,1106,936,671,525,727,601,343,320,657,1004,783,1088,1196,875,1005,1104,1218,740,337,271,263,324,345,469,796,869,761,470,404,354,369,488,457,567,829,1078,1080,1004,933,989,1290,1456,852,371,413,681,880,642,907,1252,921,798,1016,1336,1600,1480,1230,980,770,850,874,644,595,869,784,849,802,711,976,1168,1240,885,938,929,899,1250,1208,930,926,846,526,694,586,608,526,570,462,489,823,952,547,602,755,565,570,396,339,390,446,336,359,469,506,656,921,775,609,718,869,1012,841,797,1002,588,1102,1570,1098,536,292,600,980,998,880,1030,1560,1062,794,1030,871,719,745,1024,1458,1422,1180,1374,1284,896,952,913,1108,886,480,518,757,894,928,880,632,724,1078,993,865,791,778,534,523,613,818,1504,1604,1268,884,741,1026,988,833,1100,862,792,896,772,606,760,874,776,900,1304,1362,1114,1106,948,1172,1272,1120,1070,807,651,655,598,536,507,604,460,631,1340,1296,1266,1148,880,1023,1436,1648,1440,1005,723,734,839,772,600,912,957,810,1088,1330,1098,933,861,1070,1428,1410,1002,786,896,1120,936,1208,1174,1472,1482,1450,1330,1154,1214,1120,1288,1352,1200,996,788,756,703,533,446,502,708,843,858,946,937,924,822,882,1072,1202,1396,1340,1190,1108,1138,1350,1400,1482,1350,1222,1438,1428,1032,1052,1442,1360,1258,1216,1134,1272,1262,1140,1354,1362,1348,1128,1252,1152,1122,979,1170,1298,1084,937,1003,1106,1106,969,865,996,1042,1040,1240,1346,1158,975,1076,1098,940,1034,1228,1166,1256,1130,1234,1434,1284,1166,976,661,544,547,694,629,622,705,777,1104,1244,1342,1180,980,1194,922,479,480,572,791,707,488,491,662,755,691,739,1003,1194,1182,1002,1052,1162,1110,1094,1122,1174,1358,1296,1007,1046,1076,1282,1174,775,1060,1718,1426,741,747,866,871,951,827,482,361,309,290,293,464,797,874,591,444,520,581,1420,1876,920,1072,1674,1716,1062,837,1196,1042,1066,1120,1156,1272,1364,1444,1380,1316,1368,1218,1250,1122,1164,1460,1264,1132,721,932,1066,794,671,714,810,1050,1202,1318,1246,1302,1802,1610,1440,1626,1612,1194,781,836,864,1030,1132,898,875,944,1002,1504,1720,1132,601,819,1042,1220,1392,1460,1316,1154,1252,1512,1412,1270,1296,1072,583,372,437,501,515,526,525,523,592,573,581,753,1062,877,985,1170,1036,946,1054,1214,1001,796,1030,1164,1110,920,926,821,1120,1406,1216,1060,904,797,849,889,1056,1304,1730,1738,1656,1792,1588,1340,1142,1190,1170,910,955,1224,1522,1428,1308,1310,1378,1416,1490,1594,1642,1666,1830,1682,1420,1478,1516,1526,1294,1566,2166,2008,1820,1510,1324,1852,2476,2592,2422,1554,1302,1396,1332,1212,1260,1210,1186,1494,1396,1296,1240,1222,1406,1302,936,1298,1400,1158,1056,1042,1550,1414,1396,1722,1716,1672,1470,1554,1528,1484,1638,1726,1400,1160,977,667,789,1006,976,894,1032,1108,979,803,1016,1378,1232,1058,888,763,916,930,963,1020,1174,1240,1252,1336,1816,1544,736,572,858,1302,1272,1112,1162,932,649,571,787,1186,1366,1570,1376,1038,1294,1650,1556,1214,915,1013,1016,1156,1220,1296,1206,1306,1184,1050,1116,1350,1536,1532,1928,2728,2200,1490,1282,1144,972,1046,1238,1007,1094,1280,1450,1742,1662,1124,849,1122,1570,1438,1346,1228,1434,1348,1066,1258,1544,1602,1592,1612,1740,1688,1782,1622,1514,1582,1236,1440,1556,1784,1692,1286,1306,1572,1362,730,466,424,459,489,487,493,584,625,689,785,847,818,708,661,714,974,1184,1140,1120,1120,1124,1017,818,624,499,691,984,1130,1208,1146,1256,1198,689,436,458,491,574,515,451,684,774,553,539,439,502,446,811,1110,1262,1158,1005,882,582,419,368,269,264,282,444,348,336,314,370,597,577,328,242,286,325,339,384,381,424,881,908,529,388,811,849,399,328,393,634,799,762,446,403,498,783,534,495,752,922,971,753,650,1198,1550,1264,1074,1020,1140,938,591,442,496,390,452,670,963,952,724,1002,976,1094,1316,940,657,775,736,608,565,587,800,1023,1248,1074,922,1064,1114,1146,1292,1428,1256,1142,1206,1284,1400,1516,1626,1276,1028,1064,1206,1750,1714,1372,1378,1194,1058,1070,1074,1270,1274,1218,1186,1152,1224,1058,1110,1216,1486,2204,2176,1284,1234,1172,1114,1194,1476,1684,1738,1588,1372,1372,1262,1188,1188,1112,1166,1426,1766,2036,2166,2044,1948,1678,1364,1194,1204,1344,1204,910,1114,1472,1362,1422,1626,1340,1132,1234,1412,1672,1524,1294,1294,1078,1140,1312,1028,861,754,715,818,1060,1066,1166,1282,1128,1102,1002,782,724,941,1021,1134,1346,1406,1344,1278,1350,1254,1320,1398,1262,1302,1346,1246,1234,1078,1306,1448,1508,1328,1364,1730,2094,2266,1840,1466,726,800,1370,2024,1960,1428,1166,1048,993,979,1024,1172,1166,1278,732,587,825,1150,1326,1148,771,867,1480,1328,1082,1318,1304,1592,2084,2170,1700,1120,1494,1974,1718,1294,1236,1258,1015,796,942,1498,2188,2228,1668,1810,1786,2082,2238,1930,1816,1576,1060,1396,2028,1838,1448,1412,1308,1622,1822,1622,1312,1272,1384,1330,1144,1252,1478,1888,1800,1384,1454,1538,1404,1372,1296,1282,1226,1346,1402,1362,1338,1206,1132,1638,1802,1276,1230,1308,1021,1009,1178,1382,1484,1310,1218,1134,1126,884,978,1196,1280,996,907,1230,1182,910,1017,1080,905,908,1418,1396,1354,1354,1306,1116,1138,1021,822,715,521,510,592,527,800,1306,745,664,1006,1146,938,814,1292,1442,1282,1542,1352,1234,1228,1516,1210,692,433,375,332,310,298,300,328,350,339,333,338,381,416,420,300,312,375,416,381,313,350,545,708,610,427,310,304,383,381,396,356,261,327,428,389,320,338,332,292,289,314,319,305,321,391,400,330,269,354,706,885,598,343,298,334,342,352,351,393,386,318,321,428,552,664,662,498,378,336,313,286,309,340,371,373,735,1166,987,1011,1098,1046,968,955,977,960,1080,1308,1288,1042,936,1024,1018,940,1338,1262,1306,1230,1376,1242,1244,1228,1266,1250,1234,1172,1042,1100,1184,1168,1454,982,626,993,1284,1446,1544,1442,1466,1726,1722,1622,1490,1640,1620,1606,1300,1032,1046,1342,1356,1134,1264,1306,1502,1252,1100,1082,897,1334,1328,1220,1208,1426,1252,644,351,349,347,316,406,717,1054,1064,1298,1238,1342,1244,1114,1198,1050,1017,992,1058,1374,1306,945,1248,1200,1078,1280,1412,1366,1506,1464,1270,933,768,970,1232,1166,1410,1472,1468,1188,1176,1186,1024,1152,1202,972,1015,966,1007,852,778,922,704,860,1120,1224,1210,1086,1024,1106,1344,1228,1246,1254,1158,1212,1021,905,1078,1310,1412,1150,1130,1516,1266,870,944,833,1004,1020,971,780,491,363,434,440,531,530,425,643,1054,1272,1338,1188,1154,1316,1498,1560,1628,1844,1962,1340,1826,2524,1974,1350,1132,1102,1316,1228,1042,783,624,933,1312,1182,1218,1284,1108,962,797,1009,1058,1009,1290,1190,752,766,800,572,817,1146,1160,1362,1268,1160,1310,1150,1228,1308,1202,1048,1150,1446,1490,1222,1128,1542,1090,982,1200,954,918,1040,771,642,825,728,908,946,816,1013,1392,1352,1308,1216,1222,1068,1026,1070,968,1002,1224,1360,1440,1296,1184,1224,1308,1324,906,850,921,629,628,661,914,1246,1032,932,912,671,764,882,766,918,1128,1166,1360,1190,1228,1352,919,492,717,953,1358,1416,1268,1009,666,533,736,998,940,735,392,351,800,1492,1402,1294,1678,1792,1726,1472,1232,1238,1154,1286,1306,1140,1006,767,991,935,1064,1338,1354,1268,1028,993,1216,1440,1638,1780,1776,1912,1466,764,717,783,550,419,439,589,787,597,738,1328,1070,883,1148,1056,582,342,355,351,361,639,1172,1168,1003,1068,1236,1532,1698,1438,1324,1178,1080,1118,949,661,887,1182,1358,1124,1288,1492,1470,1508,1412,1262,1320,1140,846,1236,1516,1226,1142,1230,1086,518,832,1216,1228,1208,1298,1346,1062,747,954,1390,1196,1266,1372,1556,1466,995,1088,1372,1354,1278,1480,1460,855,495,525,489,408,443,456,489,471,391,352,345,441,475,409,502,805,996,1128,924,507,443,411,631,1262,1386,1388,1416,1376,1722,1334,1158,1288,1422,1464,1554,1534,1540,1562,1346,896,1002,768,567,489,948,1150,931,1204,1474,1318,1418,1348,954,828,1110,1180,1152,1266,1086,1028,1206,1354,1362,1274,1292,1332,1140,996,1210,984,1512,1922,1502,1126,931,910,778,876,1186,978,1094],[309,332,325,386,867,1360,1436,1466,1208,1003,502,437,691,931,1118,1446,1156,798,749,730,491,503,698,1206,1252,1172,1156,1352,1522,900,792,1424,1230,619,504,704,1360,2096,1550,935,900,1342,1262,1352,1438,1356,1816,2010,1946,1034,1242,1198,1504,1504,1914,1748,1292,1512,1658,1490,1604,1610,1642,1728,1632,1538,1448,1246,1352,1340,1340,1562,1490,1462,1512,1620,1734,1624,1592,1564,1764,1904,1794,1674,1312,1050,1058,1184,1232,1028,733,857,1418,1672,1726,1372,1156,1134,1366,1306,1248,1026,651,557,425,505,604,739,811,1190,1222,1106,1282,1240,986,588,443,278,254,257,314,367,700,1001,736,501,436,401,384,475,454,634,1462,1824,999,962,756,730,1001,1184,666,414,661,794,803,622,618,1222,1416,1090,819,1006,1312,1048,700,693,833,898,965,778,500,642,647,836,1011,949,942,966,1172,982,987,991,973,1198,1084,930,810,568,457,1112,949,661,472,472,459,497,598,541,414,428,373,367,388,369,367,384,430,340,392,542,585,919,1036,637,591,705,789,1238,1060,810,615,419,582,502,447,393,337,531,803,940,1124,1396,1426,1396,1270,1306,891,572,683,645,603,1134,1484,1124,611,700,888,877,990,768,465,337,448,523,737,996,820,1062,1028,623,594,460,411,430,713,929,1009,1320,1506,1188,858,840,780,767,1022,1060,838,771,1046,885,533,580,593,931,1288,1432,1438,1344,2020,1332,1340,1334,1020,918,599,456,680,930,857,448,571,510,581,922,1202,1244,1562,1410,933,1296,1694,1514,1080,846,830,756,853,665,771,806,1004,1182,1040,830,998,1238,1146,1390,1366,1274,1158,1074,1174,1144,1426,1488,1624,1434,905,864,804,919,947,1108,1238,1204,1288,1078,1030,831,405,346,432,671,914,1028,1266,1302,933,781,662,869,957,1132,1312,1146,1112,1094,1316,1432,1512,1408,1322,1362,1360,1202,1212,1300,1104,950,952,1110,929,1130,1282,1368,1258,1230,1290,1174,1096,1178,1092,1092,1164,1204,1314,1188,1244,1178,999,998,949,1021,1088,1124,1136,1080,1056,1224,1040,776,1034,1250,992,1036,909,1148,1334,1094,1106,960,741,588,610,855,689,541,575,861,1202,1298,1378,1074,875,1058,848,644,817,918,1004,959,547,475,873,1362,1338,1084,1140,1158,1104,1012,981,1122,1278,1310,1116,1302,1336,1162,916,976,1226,1690,1406,731,1146,1920,1332,543,650,715,698,680,644,449,310,307,290,303,412,510,604,579,393,529,453,833,1194,1146,1188,1316,1356,1060,881,857,800,1038,1066,1146,1284,1422,1318,1164,1170,1088,1078,1260,1142,1270,1500,1100,980,733,726,1028,1236,1174,985,935,1134,1140,1220,1294,1174,1206,1604,1394,1458,1804,1498,1358,1108,703,944,1050,1038,1168,1232,1290,1410,1262,987,897,932,1048,1186,1178,1354,1021,1068,1154,1206,1258,1080,1154,1174,869,726,726,777,852,878,935,973,993,823,876,981,781,573,618,830,955,985,1152,1152,1016,977,1182,1120,971,907,873,890,1200,1416,1202,1266,1272,1130,1050,1194,1424,1498,1520,1658,1744,1594,1368,1184,1052,1036,1009,797,932,1310,1438,1388,1510,1356,1362,1632,1476,1398,1478,1404,1486,1346,1348,1544,1454,1314,1500,1786,1792,1972,1990,1436,1436,1698,2274,2370,2182,1574,1456,1514,1242,1276,1204,1164,1218,1040,1104,1272,1236,1070,1144,1158,1376,1522,1382,1208,1188,1376,1542,1312,1518,1740,1452,1330,1302,1286,1238,1206,1548,1776,1210,766,780,894,1226,1326,1132,869,813,916,1482,960,1188,1380,1142,1140,893,582,845,1088,1076,639,955,1110,971,1160,1650,1322,941,1072,1084,1252,988,1196,1232,1010,765,980,1238,1428,1346,1440,1432,1166,1250,1262,1296,1120,781,958,1196,1662,1586,1510,1226,1390,1362,1186,1206,1248,1306,1224,1350,1858,1790,1632,1294,1064,887,1250,1382,1158,1086,1190,1436,1598,1654,1786,1798,1780,1814,1550,1584,1404,1542,1416,1078,1264,1542,1554,1412,1418,1550,1470,1602,1572,1590,1580,1642,1780,1574,1520,1622,1440,1224,1356,1646,1260,774,536,466,551,639,621,517,452,561,645,625,608,608,608,993,1230,1152,1078,1166,1180,1134,1094,1078,1028,597,578,1072,1380,1310,1076,1084,902,566,379,370,378,336,325,518,725,576,674,626,430,516,499,626,1022,1100,989,1110,1034,879,747,614,526,558,396,284,324,376,408,693,1078,941,574,543,408,270,334,494,482,376,422,547,485,336,380,534,525,723,621,591,656,488,335,353,587,918,872,560,645,1007,968,698,1015,1440,1418,927,604,723,1030,975,733,609,628,354,357,483,561,762,832,942,1142,1144,758,724,963,889,759,658,599,568,783,988,938,849,1028,962,1030,1278,1444,1578,1554,1562,1868,1422,1396,1504,1650,1316,1108,1210,1356,1286,1146,1254,1206,1086,1170,1042,995,1346,1200,1130,1198,1306,1438,1346,1250,1490,2058,2534,1666,1272,1300,1264,1204,1384,1566,1510,1350,1218,1240,1334,1240,1266,1242,1102,1042,1274,1436,1578,1700,1658,1686,1692,1598,1528,1504,1452,993,806,1009,1148,1154,1102,1108,1296,1368,1242,1306,1242,1042,998,1090,1013,1614,1854,1704,1348,1208,1246,1180,1192,1268,1432,1260,1260,1392,1216,1156,1158,1318,1296,1092,1048,1168,1230,1392,1514,1472,1574,1606,1554,1532,1476,1296,1196,962,1048,1438,1470,868,1408,2556,2542,1924,1482,1174,840,971,1628,2138,1982,1408,1094,992,844,820,1078,1288,1034,1080,1080,664,459,440,547,649,532,774,1388,1284,1156,1256,1230,1390,1792,1958,1478,1226,1662,1950,1804,1356,1076,1044,1074,778,824,1582,2542,2210,1758,1812,1862,1896,1684,1656,1880,1398,865,1274,1880,1984,1592,1018,916,1398,1412,1300,1218,1282,1356,1094,1418,1980,1742,1446,1506,1394,1846,1808,1510,1452,1526,1388,1164,1144,1248,1330,1296,1282,1208,1588,1360,1080,1214,1300,1246,1198,1078,1200,926,874,999,1160,1118,1144,1216,1116,1058,1074,1236,1476,1300,885,863,1188,1174,1142,1364,1594,1274,1078,1064,913,953,997,837,865,742,481,561,749,1186,1030,645,905,995,959,802,855,1282,1450,1484,1534,1614,1638,1598,1554,1542,1238,712,372,281,291,317,343,339,338,318,331,305,305,357,389,341,272,277,279,331,391,370,390,459,414,423,330,266,341,378,328,299,310,335,391,390,322,267,257,291,296,290,307,285,279,334,352,346,311,334,563,662,549,392,363,337,347,466,458,315,281,326,499,590,516,490,495,532,454,382,348,327,347,346,346,548,1086,1108,1034,1066,1166,1192,1142,893,848,941,973,1104,1122,1106,1024,1198,1302,1102,1260,1294,1214,1356,1438,1378,1262,1282,1286,1192,1262,1270,1112,1136,1110,1304,1284,955,1238,1478,1494,1576,1578,1510,1560,1692,1780,1670,1628,1426,1652,1926,1402,1142,1494,1594,1736,1962,1612,1186,1188,932,979,1304,1156,1186,1258,1232,1096,1260,1252,755,631,631,590,607,453,494,722,1007,1234,1226,1262,1100,874,786,788,1190,1102,835,922,1056,994,1080,951,828,1004,1212,1266,1510,1366,1330,1060,1023,1096,1334,1434,1482,1464,1334,1104,955,861,1006,1272,1228,991,761,975,1156,999,1224,1244,751,756,1048,1232,1250,1180,1046,1062,1168,1152,1362,1324,1294,1322,1005,925,1368,1752,1518,1204,1192,1316,966,712,874,826,678,484,701,777,442,526,838,764,481,370,444,872,1360,1498,1488,1300,1232,1358,1372,1480,1644,1710,1572,1416,1862,1686,1286,1122,1086,1174,1242,1186,1046,763,731,1026,1017,879,1172,1028,614,563,835,1114,1170,1260,1332,1038,1001,1340,1282,1009,849,1278,1388,1540,1260,1328,1510,1302,1438,1354,1150,902,1190,1360,1230,1168,825,843,973,1202,1116,736,618,528,576,899,1274,953,765,782,911,1112,1392,1358,1102,1242,1574,1386,1366,1278,918,837,1202,1308,1482,992,964,1066,1156,1306,1230,1128,1150,1004,940,573,644,818,846,799,809,684,821,925,824,810,878,991,1216,933,1013,1011,648,458,675,1020,1102,1005,892,838,930,998,1198,1162,1192,728,405,470,719,1146,1410,1648,1694,1522,1432,1246,1400,1564,1448,1364,1170,1108,1368,1322,988,756,749,722,1036,1326,1354,1432,1376,1404,1296,1488,1860,1738,1042,725,684,485,422,397,539,987,1222,861,623,1200,1274,1032,1182,1108,756,518,337,318,298,365,777,896,996,1134,1426,1604,1422,1292,1294,1148,992,1104,711,572,921,1094,1312,1460,1502,1478,1588,1612,1366,1382,1444,1166,1048,1300,2094,2086,1174,1012,1070,686,614,965,1130,1182,1250,1250,1180,1076,944,1298,1360,1244,1366,1892,1830,1272,1044,1009,894,1002,1194,1020,552,318,390,538,539,446,459,479,461,422,347,309,361,358,385,496,945,1214,1344,1052,516,356,307,547,1056,993,1196,1188,1266,2060,1600,1238,1186,1174,1434,1436,1364,1566,1546,1494,1170,1274,1396,833,376,399,397,434,735,962,1252,1584,1432,939,621,667,887,775,1076,1104,1132,1152,980,1164,1356,1234,1084,1023,1034,1406,1200,1672,1902,1496,1074,1184,1290,863,871,1009,979,1196],[397,454,373,431,888,1204,1346,1476,1158,971,533,315,468,646,1154,1438,1036,585,581,529,449,508,778,993,776,977,1190,1190,1334,1068,963,1518,1400,503,436,407,1290,1672,1638,1204,1086,1346,1268,1472,1672,1794,2256,2256,1952,1358,1230,1412,1808,2094,2314,2060,1748,1582,1158,1302,1708,1538,1562,1640,1490,1332,1132,741,873,924,845,777,689,1084,1340,1298,1322,1556,1452,1314,1290,1546,1682,1438,1256,1158,1360,1540,1544,1466,1466,1442,1604,1690,1812,1672,1382,1322,1290,1260,1418,1170,891,954,696,530,753,979,1064,1250,1218,1252,1234,1126,1200,736,638,376,275,279,316,309,732,1338,1013,534,442,440,550,965,1158,602,971,1014,1042,1476,1090,874,903,583,287,333,496,631,606,388,493,1032,1304,1228,828,1062,1332,900,549,616,898,822,731,583,328,520,875,962,1220,1204,1114,1042,1122,1166,1200,1210,1028,990,1182,737,487,462,468,782,787,521,475,787,850,659,1108,854,457,387,397,361,326,335,396,389,353,356,395,473,846,1184,799,638,763,885,946,897,924,668,501,813,904,723,996,727,634,684,678,999,1228,1064,809,1342,1742,1460,849,703,1004,1068,651,1046,1328,1190,874,999,990,980,835,713,625,363,370,450,882,1228,1122,1260,949,458,350,349,393,356,501,864,1246,1476,1454,1212,1130,1084,966,750,597,511,525,592,982,1021,610,583,541,809,826,954,980,858,956,660,1136,1252,784,471,605,664,755,797,678,405,585,706,638,560,835,897,1252,1300,949,1376,1670,1702,1560,1214,1174,764,627,663,890,819,948,1066,735,503,672,624,997,1202,1306,1360,1268,1200,1298,1202,1236,1502,1720,1654,1094,900,859,891,1096,1352,1220,1238,1292,967,912,656,293,446,711,938,1132,1076,1204,1328,1362,1118,631,616,596,832,1434,1430,1274,1180,1164,1428,1396,1370,1362,1232,1166,1222,1252,1146,1094,805,593,974,926,1192,1136,1202,1210,1050,1072,1030,1068,1154,1104,1256,1344,1198,1202,1196,1124,1148,1048,968,1144,1214,1176,1174,1270,1422,1322,1088,1182,967,1144,1228,1078,1134,1148,1298,1132,1146,1158,995,756,541,572,720,582,445,580,946,1210,1172,1314,1284,1176,905,686,623,878,946,854,721,580,542,796,1280,1338,1096,919,827,788,962,1120,1274,1294,1310,1180,1242,1390,1272,1090,1120,1246,1946,1536,840,1204,1924,1250,527,639,691,642,691,636,404,295,267,276,325,451,458,501,524,514,582,499,691,1310,1768,1410,1312,1586,1130,793,606,670,880,1094,1156,1330,1422,1158,1038,1126,1011,940,1088,1036,1220,1476,1362,1094,816,764,1080,1144,990,966,1186,1474,1284,1246,1364,1276,1334,1438,1394,1476,1306,1328,1688,1552,1236,716,567,995,1180,1232,1132,1108,1128,1068,1042,1186,1102,1096,1170,1250,795,875,1016,1086,1396,1162,922,1206,1396,1540,1180,1284,1106,994,1019,1102,1054,948,932,828,778,669,544,701,859,965,967,898,878,980,1198,1009,1062,1012,991,1046,1302,1534,1356,1256,1464,1150,1002,1168,1324,1328,1480,1844,1920,1616,1594,1152,793,753,877,863,1184,1552,1494,1266,1336,1288,1360,1468,1250,1432,1470,1480,1230,1200,1212,1366,1922,2176,1830,1872,1860,1576,1526,1414,1396,1452,2030,2358,2310,1908,1986,1792,1272,1100,1050,1194,1222,1202,1196,1300,860,762,1190,1426,1488,1444,1356,1240,1210,1350,1512,1424,1354,1334,1114,1170,1001,1098,1032,1048,1436,1682,1550,1236,1182,1426,1576,1170,1144,771,647,819,1078,852,1122,1304,982,965,913,771,868,578,469,773,1046,868,1020,1298,1478,1246,1592,1974,1478,1554,1296,1516,1490,1142,1082,1498,1542,1490,1256,1432,1524,1348,1322,1316,1178,944,929,1060,1284,1472,1714,1576,1058,979,1204,1402,1394,1460,1200,1094,965,1512,2004,1716,1304,1004,1028,1294,1152,823,785,1108,1406,1222,1190,1282,1550,1666,1764,1788,1626,1578,1720,1252,850,1566,1756,1618,1482,1386,1242,1286,1490,1144,977,1302,1456,1516,1542,1532,1426,1502,1572,1556,1636,1550,1292,982,802,704,508,503,516,487,501,714,913,940,694,565,639,782,1009,1152,1166,1214,1354,1306,1126,880,793,737,1244,1254,1272,1412,1132,664,404,427,338,348,329,313,446,745,1096,1122,739,489,422,331,555,869,1046,1142,1074,794,833,930,1128,1146,1048,742,439,404,380,450,833,955,1230,910,666,539,362,399,557,493,534,529,392,331,332,255,321,528,578,348,219,343,415,413,336,417,682,614,471,588,648,549,814,1334,1460,1272,757,401,766,943,882,561,359,258,277,294,498,567,581,770,1001,1046,808,652,923,1072,1164,1078,781,630,586,622,823,717,612,643,744,943,1250,1548,1564,1538,1724,1698,1402,1250,1172,1196,1108,966,949,979,1192,1412,1166,921,958,1210,1164,1276,1440,1382,1448,1632,1836,2154,1804,1492,1570,1470,1460,1272,1368,1410,1436,1594,1550,1374,1274,1232,1246,1282,1192,1242,1512,1662,1420,890,844,1028,1102,1098,1104,1202,1312,1258,982,881,854,695,988,1268,1192,1250,1296,1498,1400,1208,1262,1278,1264,1378,1090,1172,1174,1015,1076,1252,969,803,733,861,1042,1170,1192,1058,1740,1742,1632,1468,1400,1450,1466,1434,1318,1216,1116,1228,1328,1272,1422,1362,1112,1356,1508,1482,1500,1500,1268,1500,1538,987,2188,3670,2950,1912,1294,1048,1208,1212,1378,1638,1614,1382,1132,918,819,834,1034,1104,959,1160,1340,904,523,465,429,431,532,880,1538,1194,1216,1242,1005,1050,1178,1176,1038,1384,1772,1682,1312,1082,1208,1120,1180,861,763,1386,2230,1998,1830,1952,1830,1780,1832,1792,1840,1406,1214,1214,1200,1376,1456,1260,1186,1324,1500,1540,1306,1290,1242,1360,1938,2062,1774,1318,1154,1414,1722,1802,1632,1448,1522,1484,1350,1220,1354,1466,1324,1322,1218,1136,1056,1104,1216,1142,1056,1194,1128,1076,743,858,844,1019,929,1076,1238,937,938,1308,1322,1374,1248,1026,1044,1184,1452,1356,1336,1512,1456,1326,1276,999,734,917,982,971,802,613,659,1126,1470,1080,907,1038,969,976,883,641,740,1416,1310,1054,1910,1768,1198,880,954,1290,1142,577,307,298,339,343,328,341,309,286,272,299,324,358,385,356,314,285,341,444,416,317,295,369,424,412,370,370,371,303,309,287,282,318,309,281,242,280,313,293,287,313,323,289,283,275,295,288,339,405,357,542,651,549,379,342,454,434,319,525,613,786,602,454,445,436,525,482,421,374,354,370,349,434,919,1064,763,1064,1236,1170,1130,1224,1094,930,988,1018,939,1010,1126,1108,1688,1654,1150,1136,1146,1182,1394,1488,1356,1170,1098,1144,1360,1322,1204,1136,1224,1192,1470,1322,1230,1462,1520,1484,1490,1302,1270,1374,1422,1332,1298,1508,1622,1768,1974,1692,1262,1542,1356,1476,1652,1152,1140,1110,916,961,1106,1056,1068,1202,1186,835,815,865,749,991,928,849,908,609,415,619,1038,1136,1136,1070,819,680,685,781,934,805,873,999,1026,1058,990,1012,921,718,893,1260,1532,1368,1356,1136,1218,1250,1524,1484,1266,1282,1240,1044,836,658,762,924,1154,1212,1044,1186,1136,905,927,765,547,633,832,1100,1152,1292,1252,1354,1224,1162,1224,1062,1500,1494,738,877,1178,1234,1174,1296,1236,904,497,583,682,804,694,487,627,626,415,718,1164,1182,896,754,929,1310,1216,1256,1478,1320,1416,1450,1314,1246,1440,1612,1412,1238,1318,1198,902,1164,1306,897,958,1444,1490,1044,1110,916,1128,1346,1268,778,414,395,478,950,1556,1488,1190,1024,1166,1260,1328,1050,1080,1400,1466,1490,1348,1770,1998,1532,1492,1414,1142,1070,1190,1017,773,992,805,750,1090,1138,926,738,786,658,543,714,949,813,765,979,1152,1244,1412,1340,1288,1542,1688,1688,1550,1070,653,776,920,763,517,512,918,931,1090,1354,1394,1276,1080,822,842,596,680,712,680,774,692,582,783,596,564,612,980,1370,1096,725,918,1102,851,523,855,1294,1086,917,821,896,1192,1578,1250,1112,1472,1030,703,1010,1146,1148,1290,1594,1462,990,1194,1326,1408,1472,1504,1280,1144,1200,1186,1256,1218,971,502,441,772,1052,1382,1522,1120,1130,1484,1710,1828,1372,803,512,520,491,500,506,616,971,1194,1028,894,1214,1284,1218,932,930,1400,1106,439,319,326,310,500,716,872,1021,1266,1350,1166,766,968,1220,1302,1406,951,861,1306,1416,1294,1332,1366,1334,1444,1630,1484,1138,1066,998,771,758,1228,1268,818,858,1162,1019,803,1100,1254,1294,1396,1296,1398,1138,770,976,1218,973,1054,1582,1782,1334,786,591,523,499,499,503,420,364,361,528,563,448,491,469,432,383,332,337,335,346,362,398,597,814,902,680,415,327,426,743,782,562,1134,1172,1198,1402,1218,962,738,1212,1736,1700,1360,1442,1682,1660,1752,1642,1554,941,547,768,852,881,926,818,1052,1298,1120,792,600,836,1046,881,879,1064,1222,1009,766,1200,1568,1262,1168,1196,1214,1246,1280,1650,1738,1246,930,1318,1166,967,816,662,518,559],[656,792,735,500,841,1026,1520,1604,1366,1198,625,352,435,408,641,1058,899,748,821,547,421,452,542,827,851,1036,1202,1086,1182,1066,800,1288,1300,785,637,433,1198,1574,1284,1134,1054,1100,1498,1488,1102,1430,2034,2294,2064,1772,1752,1898,1974,1936,1798,1672,1708,1534,1106,1094,1292,1296,1534,1498,918,621,457,221,499,666,569,770,1012,1086,926,907,784,987,1074,822,536,915,1138,508,489,598,643,699,1146,1124,1434,1632,1682,1658,1678,1706,1670,1488,1416,1478,1472,1484,1434,1442,1216,1130,1328,1272,1038,1222,1290,1238,1130,801,819,564,616,435,325,279,321,296,650,1088,774,386,473,905,832,1230,1948,906,831,884,1042,1434,1346,888,470,336,342,363,580,1064,1108,708,567,1060,1064,1108,1478,1470,894,769,833,935,1086,772,934,617,483,752,763,892,1130,1164,1372,1186,778,895,1086,1074,803,613,626,591,429,566,666,489,528,739,799,878,975,944,1498,1080,677,428,357,342,333,352,406,384,298,292,333,440,931,1404,1106,785,905,844,850,754,437,387,727,1150,1208,1216,1676,1704,976,866,888,999,1028,970,995,1244,1488,1080,1004,905,1012,1074,835,1140,1136,835,797,1068,1190,1118,899,661,575,448,353,568,1154,1088,1124,1428,917,436,401,371,385,360,380,726,1282,1086,1088,1378,1280,733,451,421,448,562,724,904,1160,1244,817,572,541,697,921,1016,643,694,1162,1118,1046,1232,895,389,548,752,1112,882,655,510,533,636,976,963,555,609,758,744,788,1296,1480,1698,1694,2010,1910,1140,1060,1226,1122,1222,1310,1180,996,980,1190,1114,1328,852,749,1230,1342,1322,1524,1098,1106,1472,1608,2024,1266,883,1018,1034,1332,1382,1228,1450,1246,1042,1080,899,588,581,833,860,1044,1042,1072,1352,1494,1198,1052,1004,756,646,1252,1180,906,1024,1046,1230,1128,1110,1230,1228,1344,1398,1376,1264,1346,1166,774,838,940,1092,1040,1190,1184,833,813,929,1062,1236,1312,1294,1338,1282,1302,1204,1106,1154,1094,1146,1318,1202,1280,1224,1180,1870,1534,1132,1048,1062,1136,1072,1228,1304,1312,1260,1042,1032,911,1020,967,854,703,599,457,383,540,930,1060,1106,1138,945,996,948,621,468,428,467,502,563,598,641,899,1128,1220,1042,865,874,1036,948,976,1028,982,1100,1268,1242,1340,1386,1274,1254,1084,1440,1106,731,1168,1694,1262,630,558,678,719,827,672,349,330,253,307,345,451,506,677,823,885,943,989,847,1068,1570,1150,1136,1356,904,697,671,643,758,924,1110,1548,1508,1268,1170,957,896,1170,1240,1266,1266,1384,1532,1436,1080,740,866,1036,936,1064,1068,1128,1122,1332,1528,1438,1324,1226,1200,1324,1172,1286,1470,1748,1306,821,783,935,1210,1284,1252,1244,1216,1144,1046,951,938,1134,1258,1232,1190,1512,1318,989,1174,1026,810,1108,1360,1368,1094,1028,883,981,995,744,688,927,927,744,615,619,623,698,856,965,1018,1086,1086,1946,2026,1176,1034,1096,1210,1260,1488,1298,1009,1100,1298,1072,941,1052,1162,1362,1498,1700,1910,1568,1254,760,773,871,1094,1374,1602,1768,1658,1330,1186,1336,1372,1208,1078,1510,1516,1752,1294,929,1021,1282,1494,1436,1538,2078,2164,1726,1852,1394,1130,1350,1614,1618,1738,1742,1556,1146,935,1032,1130,1166,1224,1700,1726,1338,637,963,1908,1960,1362,1408,1308,1382,1282,1108,1212,1346,1252,1230,1300,1248,918,949,1090,1438,1972,1876,1614,1258,1208,1310,1126,681,929,872,958,1244,1232,1110,1366,1394,1146,1158,1058,1050,1180,781,651,849,975,1226,1436,1394,1172,1122,1494,1768,1666,1586,1300,1454,1378,1196,1220,1212,1358,1428,1274,1312,1532,1422,1400,1554,1480,1144,1102,1236,1384,1444,1522,1492,986,854,1172,1412,1316,1072,812,960,1076,1470,1480,1236,1070,919,912,1017,966,698,878,1312,1328,938,949,1124,1398,1534,1698,1928,1852,1700,1510,1152,1484,1722,1708,1664,1588,1444,1334,1554,1656,1234,1108,1426,1440,1506,1556,1428,1370,1460,1252,1330,1460,1428,1440,1430,1350,1334,1072,810,580,437,408,556,954,1144,807,605,480,368,562,778,1013,1130,1148,1246,1250,1256,1260,1230,1158,984,1072,1144,1060,742,444,451,450,442,440,362,347,672,1256,1362,933,541,479,402,315,521,971,827,762,739,771,1015,1184,1208,1116,1017,802,580,359,406,529,420,957,977,722,868,797,683,621,456,543,784,874,911,833,419,323,422,404,335,282,300,396,484,368,305,385,310,426,385,269,361,1011,1432,1346,1400,1112,424,400,588,778,490,397,334,354,352,815,1064,773,871,1036,711,674,989,982,1466,1640,1304,899,647,481,508,518,490,529,702,1000,1102,1013,944,1021,1162,1362,1462,1182,935,1080,1280,1120,739,741,886,1258,1586,1122,1120,1122,1488,1920,1702,1654,1744,1760,1880,1688,1858,1678,1550,1508,1294,1330,1474,1498,1482,1346,1252,1190,1224,1284,1252,1194,1184,1046,1208,1502,1678,1650,1138,992,1224,1026,872,1060,968,1098,1198,929,954,1004,799,935,1328,1444,1406,1946,2878,2014,1408,1272,1292,1230,1058,1144,1346,1274,1184,1260,1198,974,855,897,1100,1126,1180,1080,1036,1548,1510,1602,1962,1958,1548,1466,1356,1414,1480,1474,1282,1054,1178,1394,1212,1248,1252,1148,1172,1388,1646,1528,1678,1442,1286,3052,2918,2302,1710,1258,1670,1792,1652,1786,1750,1348,1310,1074,801,687,620,913,1005,776,850,1248,1306,897,497,481,465,477,735,1500,1186,1044,1184,925,953,1114,821,959,1500,1376,1118,1358,1504,1908,1368,1172,1018,885,1248,1716,1710,1638,1736,1638,1634,1762,1852,1942,1478,1380,1442,1296,1228,1444,1668,1644,1484,1534,1694,1384,1394,1188,1336,1500,1760,1866,1488,1312,1300,1346,1562,1470,1334,1470,1484,1328,1180,1280,1378,1236,1230,1154,1050,1094,1208,1182,1264,1202,1106,1134,1020,963,1054,907,973,858,1064,1448,1082,937,1700,1348,1034,1038,1132,1268,2086,1914,1456,1520,1484,1582,1444,1160,1002,761,750,668,945,1066,913,936,1334,1512,1270,1090,1034,848,1122,1204,976,616,1404,1056,584,1050,1076,836,624,684,1156,1196,1007,594,394,370,337,297,326,327,322,334,332,361,401,409,375,350,308,350,441,441,369,304,296,360,424,477,444,385,287,281,278,272,327,318,265,316,385,357,305,319,332,349,324,288,240,258,251,310,370,318,513,755,686,465,420,531,664,745,870,727,681,465,395,378,389,441,442,451,408,365,341,338,783,1198,841,750,1344,1524,1192,1246,1722,1614,1060,1122,1122,1238,1170,1062,1144,1538,1418,1274,1306,1338,1316,1344,1494,1396,1306,1244,1488,1714,1668,1356,1194,1158,1332,1570,1580,1506,1518,1332,1352,1174,1096,1086,1018,1166,1168,1194,1316,1580,1754,1982,1736,1216,1334,1072,994,1188,1124,1152,1128,989,1056,1130,1128,1130,1064,1001,909,775,851,741,922,811,606,544,497,480,863,1290,995,908,941,935,927,926,918,831,778,894,745,767,988,957,1110,1023,971,808,1294,1318,1110,1001,869,1078,1270,1360,1398,1256,1328,1414,1118,789,597,822,883,1128,1092,966,1184,1122,738,760,594,482,543,758,1170,1046,1106,1290,1318,1274,1156,766,661,822,648,544,858,1136,1021,1114,1278,1242,788,426,454,637,656,705,644,710,843,905,962,1226,1328,1194,1092,1162,1178,934,1004,1198,1200,1470,1408,1298,1260,1260,1216,1340,1338,1266,1078,993,1122,1126,718,936,1396,1328,1338,1198,1248,1474,1584,1328,677,517,764,938,1302,1630,1438,1300,1268,1322,1278,1144,759,1070,1476,1516,1418,1318,1596,1514,1498,1476,1384,1272,1282,1278,974,835,1078,1186,1190,1248,1068,694,595,915,1007,720,513,598,658,664,900,1092,1050,1154,1090,1196,1388,1414,1430,1286,1244,898,889,861,842,619,500,708,994,1250,1360,1388,1294,1210,822,495,584,777,788,735,997,793,457,514,412,436,460,643,1032,1192,1152,1422,1720,1382,842,1009,1108,827,1172,1262,1322,1120,1172,1030,1048,1050,746,913,1340,1234,1023,1296,1688,1394,1008,1188,1470,1236,1178,1344,1056,794,694,962,1178,975,905,541,556,629,727,1154,1538,1172,1122,1472,1546,1516,1290,919,521,496,558,526,466,481,566,844,1028,1016,904,834,1372,1114,858,1230,1460,739,369,318,325,410,674,916,849,914,950,1016,1072,1060,1254,1406,1108,717,895,1208,1160,1104,1308,1072,1002,1310,1480,1508,1162,1288,1716,1102,544,627,1100,1342,1054,1116,1622,1506,1274,1302,1248,1396,1092,1108,1222,974,890,1178,1060,1090,1214,1302,1042,718,502,429,478,512,506,466,354,283,409,578,472,492,449,479,416,384,419,402,373,390,384,412,633,643,467,500,466,489,1001,859,503,713,984,1013,821,855,1010,879,1254,1468,1306,1332,1502,1660,1642,1702,1412,1140,735,586,808,1090,1144,1136,984,1060,926,871,980,1068,1238,1364,1054,708,1046,1134,836,811,1112,1370,1250,1054,882,746,771,1062,1664,1688,1098,887,1332,1222,1286,749,457,448,579],[875,1140,1198,669,726,1050,1362,1406,1384,1062,469,354,320,349,625,882,739,959,1068,667,428,559,766,843,826,666,788,1128,1366,1282,974,1068,1100,931,1002,945,951,1246,1234,1450,1410,1616,1728,1416,1250,1494,1830,1968,1924,1786,1702,1690,1658,1554,1450,1506,1490,1484,1998,1810,1550,1566,1364,1202,1120,969,893,637,858,530,572,1076,1294,1036,891,934,752,687,739,757,614,759,943,513,383,390,405,695,904,828,1144,1324,1116,1150,1340,1500,1942,1740,1734,1716,1058,791,1138,1300,1416,1550,1578,1382,1158,1140,910,996,1001,807,678,655,562,524,430,290,285,238,493,740,402,363,518,1016,1160,1058,852,933,901,725,818,1064,1080,874,666,396,368,350,433,403,803,829,838,1368,1292,1388,2076,1742,1122,1178,919,915,1244,1146,1110,741,527,583,706,1200,1284,1250,1372,1068,477,590,815,904,628,591,652,615,401,379,459,388,332,539,909,1028,1248,933,1098,846,488,408,380,293,348,493,473,409,295,312,362,587,1100,1614,1306,1026,1216,944,492,480,616,626,1072,1130,1294,1578,1526,1128,601,601,749,958,1080,1182,1226,781,728,899,1016,1023,1048,1248,1166,1164,1072,854,650,755,1040,1078,911,667,455,386,468,686,931,1288,1622,1522,907,460,364,235,297,375,350,618,952,625,606,956,1042,858,827,1013,914,802,968,1132,1078,1148,816,904,1098,955,1276,1518,924,750,1116,1021,952,1270,1013,672,841,982,1296,1238,832,724,832,654,1048,977,698,669,908,733,812,1206,1272,1604,1406,1970,1942,1282,1132,1272,811,1160,1038,907,1046,1238,1260,1088,1094,882,573,709,1074,1440,1364,1102,1216,1350,1370,2024,1432,1144,1296,1084,1120,1350,1266,1256,1003,982,1172,1306,1021,832,830,838,1112,1190,1000,1052,1108,896,935,1040,877,523,813,1108,1302,1076,816,950,1118,1324,1300,1224,1306,1134,1128,1232,1164,1142,1002,830,779,896,960,1052,1098,1158,1096,979,1076,1200,1236,1200,1260,1286,1342,1252,1158,1130,973,890,1152,1074,1009,861,892,1474,1168,915,821,959,1066,1198,1208,1066,1142,949,981,966,1140,1186,1106,1130,1019,686,454,432,544,695,953,1232,1086,1012,966,1000,618,445,402,381,351,390,431,677,979,949,1042,983,1088,1102,1188,1044,1080,1056,1102,1324,1222,1172,1428,1576,1128,1148,870,683,611,731,847,907,850,603,548,750,784,1078,1015,445,339,312,290,338,487,678,1001,1180,1106,1090,1316,806,659,713,801,832,782,731,897,913,805,965,974,885,1386,1382,1266,1170,871,984,1058,1156,1230,1112,1286,1460,1236,1204,1048,1014,1174,1214,1190,1034,1140,1166,1100,1172,1122,1204,1360,950,1152,1306,1224,1052,1234,1198,1076,1007,993,1150,1230,1388,1432,1454,1150,948,713,714,919,896,882,1082,1102,963,915,878,849,981,1290,1452,1152,1112,1214,1124,1050,965,735,645,1038,1174,973,616,608,912,1332,1236,1234,1386,1126,1122,1396,1372,1166,1122,1072,1132,1410,1552,1238,1066,1100,1088,949,988,1088,1296,1556,1468,1496,1714,1534,1458,1340,1366,1488,1552,1626,1682,1772,1690,1544,1414,1348,1132,1134,1334,1362,1502,1820,1396,726,827,1288,1542,1642,1688,2070,1898,1430,1448,1212,1054,1290,1422,1276,1206,1250,1194,930,969,1132,1023,977,1142,1230,1588,1514,1028,1104,2048,2196,1306,1146,1240,1360,1310,1208,1236,1210,1288,1334,1338,1142,965,999,1116,1656,2248,1914,1630,1358,1180,1140,805,557,733,930,1108,1222,1246,1380,1536,1568,1382,1262,1076,973,955,1048,957,687,1174,1590,1180,1124,907,914,1196,1370,1460,1218,1220,1316,1292,1466,1560,1418,1324,1246,1360,1472,1438,1332,1362,1560,1534,1204,1210,1202,1296,1376,1094,1280,1092,1114,1274,1052,1154,993,959,1052,1108,1216,1446,1532,992,775,949,987,1007,982,911,1148,1328,1288,1162,1070,1296,1472,1622,1758,1796,1798,1428,1266,1724,1626,1634,1744,1610,1438,1446,1512,1380,1222,1334,1412,1520,1426,1440,1482,1538,1460,1298,1254,1366,1568,1598,1312,1266,1562,1558,1400,1082,786,554,406,471,546,641,830,539,362,407,426,537,550,925,1162,1526,1662,1538,1504,1152,572,455,577,527,386,438,391,480,423,329,379,491,692,846,803,576,562,626,653,460,500,772,787,609,401,518,623,941,1402,1388,1270,1064,889,617,542,404,383,838,992,866,1088,1154,973,692,544,745,1160,1114,1016,867,562,382,374,425,445,494,628,805,785,669,479,365,363,409,365,298,368,945,1488,1396,1300,841,432,455,634,511,413,405,546,553,355,711,1148,1178,925,852,1028,1006,1124,1446,1612,1348,989,717,462,343,447,488,676,903,988,1218,1304,1226,1260,1278,1332,1538,1528,893,771,970,1060,1036,925,1068,930,1015,1290,1100,1432,1902,2510,2620,1710,1410,1786,1728,1652,1432,1546,1542,1434,1318,1264,1394,1406,1366,1294,1170,1168,1302,1316,1146,1023,1066,1086,1005,1236,1670,1898,1776,1448,1274,1204,1184,1146,965,728,907,1098,1128,792,658,818,952,1246,1384,1438,2454,2544,1902,1626,1422,1436,1434,1236,911,745,724,510,666,1260,1272,1382,1338,1134,1318,1120,760,1306,1678,1598,1752,1836,1524,1274,1386,1372,1144,1098,1434,1620,1232,1130,1058,1096,1356,1494,1404,1282,1240,1192,1340,1362,1386,1670,3016,3016,2902,1916,1164,1254,1370,1384,1646,1896,1588,1284,962,928,786,760,998,1016,904,910,1248,1610,1390,769,576,516,445,719,1492,1278,1015,1108,1005,1200,1386,1206,1236,1410,1236,1238,1296,1454,1988,1448,1024,1080,1058,1198,1434,1688,1554,1584,1654,1576,1516,1854,1794,1370,1236,1382,1422,1288,1392,1654,1644,1532,1760,1758,1302,1236,1284,1454,1378,1390,1352,1282,1248,1140,1388,1260,1234,2618,2216,1496,1308,1200,1292,1334,1300,1234,1156,1190,1340,1556,1374,1384,1366,1062,1072,1156,1378,1520,1152,855,840,1198,1244,947,970,1616,1498,1242,1138,1068,1158,1434,1396,1498,1444,1368,1330,1482,1404,1238,1018,796,868,1266,1436,1270,1202,1324,1512,1554,1340,1598,1236,1236,1260,812,666,1364,984,537,951,1176,1011,919,1162,1464,919,1238,1150,668,476,368,326,353,350,387,407,413,465,383,328,289,342,343,399,444,404,414,406,330,383,475,503,488,415,346,317,276,252,293,278,239,332,456,462,360,345,354,393,401,332,221,212,221,285,352,365,420,453,612,713,651,745,886,897,837,852,748,503,404,328,345,412,451,402,349,327,321,372,955,890,890,1424,1616,1608,1246,1228,1676,1596,1098,998,1000,1208,1172,1050,938,922,1048,1188,1426,1692,1360,1432,1576,1094,1096,1238,1450,1668,1650,1402,1292,1380,1588,1478,1350,1338,1196,1164,1294,846,979,1124,1122,1182,1168,1066,1104,1316,1452,1660,1694,1648,1660,1358,1326,1418,1196,1050,992,935,995,1136,1256,1304,1192,1074,1144,1120,1102,897,852,825,778,640,504,504,943,1398,1348,1218,949,1372,1754,1516,1186,1026,927,850,860,1036,1098,1202,1484,1262,1164,1084,1414,1434,1368,1266,969,1180,1310,1254,1310,1228,1506,1396,1134,1054,915,965,982,1034,1164,1040,1026,981,672,956,968,709,567,756,996,910,897,1288,1518,1520,1330,946,679,522,491,529,728,998,1044,1286,1386,998,855,803,550,666,550,634,590,884,1013,1004,1192,1522,1436,1158,1144,950,861,1062,1324,1390,1332,1454,1342,1496,1272,902,642,814,1310,1526,1144,1074,1132,1182,877,1170,1764,1638,1286,1302,1556,1562,1480,877,555,568,1015,1328,1322,1290,1288,1482,1372,1426,1434,1246,1190,1294,1576,1504,1220,1396,1468,951,1240,1434,1360,1304,1206,1306,1384,1326,1226,1220,1190,1180,955,817,783,1126,1300,865,594,980,1226,1168,1622,1952,777,672,1122,1542,1398,1278,1130,1026,1015,945,861,823,873,836,712,669,1100,1318,1282,1348,1310,1406,966,664,997,985,642,534,919,658,590,480,366,370,378,465,847,1170,1170,1164,1272,1170,1166,1172,1238,880,979,1538,1408,879,789,893,1128,1036,1026,1024,1310,1352,1256,1158,1250,1028,966,1154,1650,1716,1328,1194,1002,871,844,1138,850,902,828,794,925,849,727,861,1074,1188,1266,1362,1282,1142,1164,633,475,488,488,449,437,636,946,1180,1194,1150,1094,1034,1238,1378,1102,1026,1322,921,430,331,343,381,508,912,1376,1216,1136,1130,1268,1388,1180,1222,1224,1013,881,727,889,957,988,944,879,1042,1350,1582,1564,1476,1162,803,729,534,872,1160,996,1094,1810,1726,1662,1224,941,1068,1182,1172,1282,1086,636,716,775,814,1034,1366,1194,776,507,680,778,538,498,425,298,337,466,604,463,427,381,421,426,431,488,475,396,463,454,455,510,565,691,762,952,1000,1272,1160,768,632,969,1208,1198,1100,1340,1152,1408,1414,1238,1206,1298,1388,1526,1460,1136,1186,946,714,959,1212,1182,1206,1262,1288,1324,1360,1224,1232,1284,1248,909,954,823,576,540,477,827,1176,1144,1000,775,896,1092,1058,1764,1716,1196,801,1009,1062,932,694,500,561,576],[766,828,832,476,619,1018,1274,1246,1302,946,564,467,344,448,1046,1026,780,971,1136,922,760,954,1316,1110,736,438,848,1494,1494,1362,1354,1158,1150,1064,1130,1396,1398,1560,1666,1680,1548,1770,1858,1714,1656,1638,1626,1728,1802,1650,1522,1320,1284,1282,1554,1896,1608,1418,1686,1506,1440,1444,1144,1001,1078,952,804,580,763,401,426,669,865,762,636,575,478,410,399,549,618,873,796,465,341,360,438,650,747,719,948,1170,969,986,1234,1798,1786,1512,1436,1448,1122,771,589,590,990,1598,1784,1702,1578,1522,1300,977,1196,1130,799,489,597,838,658,301,256,266,423,771,498,729,797,1021,1152,977,1216,1276,723,664,1092,963,668,905,1042,458,295,300,357,339,668,615,554,987,1318,1290,1600,1284,1164,1220,982,962,1080,1120,1010,679,555,716,1170,1704,1562,1330,1166,968,465,487,1078,857,490,605,651,583,560,430,382,313,369,386,782,902,747,414,528,587,561,467,326,267,309,319,301,456,450,415,387,745,1522,1772,1298,1194,1242,923,705,813,1132,852,877,989,1710,1526,1108,828,707,678,803,1186,1114,1312,1156,571,719,1052,868,857,1122,1314,1246,1088,883,658,583,942,1048,1302,1400,1108,708,664,793,929,1023,1388,1700,1500,805,496,342,267,406,438,359,595,686,444,485,799,1048,975,912,1080,919,1072,1078,895,579,812,970,1252,1328,982,791,866,727,538,843,969,1080,1606,1514,1250,1132,1022,1216,1240,873,985,1298,1124,1282,1410,1670,954,614,679,1132,1226,1394,1736,1410,894,1130,1390,1216,1074,880,785,686,658,873,1264,1318,1090,1010,827,548,795,1038,998,792,682,953,1076,1566,1960,1478,872,808,711,851,1304,822,757,862,1160,1442,1388,1150,921,698,695,1060,1028,813,974,957,684,792,985,703,426,601,1100,1340,1120,1266,1602,1208,1376,1332,1322,1142,984,1154,1230,1204,1170,886,745,688,830,1050,1062,865,1152,1088,819,1080,1160,1066,1152,1192,1172,1144,940,957,1164,1240,1072,711,613,597,621,839,784,736,677,714,789,882,993,978,1010,1234,1160,1152,1154,1292,1266,1146,1198,1082,788,602,509,681,964,1028,1222,1242,1174,1192,899,556,457,427,416,415,379,397,686,1026,1088,1018,799,943,1078,1246,1290,1290,1186,1122,1272,1208,1188,1428,1510,1202,1042,771,658,719,757,678,806,835,815,865,982,890,1080,879,490,399,321,306,447,511,761,1200,1274,1282,1206,1336,829,590,623,885,1015,940,1120,1278,1074,1174,1256,1058,759,1180,1358,1376,1248,1136,1256,1210,1024,1028,936,991,1498,1322,1266,1328,1318,1290,1248,1146,1140,1142,1020,1001,1034,1166,1142,1066,1044,1102,1120,1148,1158,1184,1108,1036,922,1116,1188,1222,1230,1192,1084,1002,1010,868,777,878,803,930,1024,1260,1162,1104,1009,1016,1200,1572,1648,1416,1476,1558,1294,1130,1108,843,705,982,1162,1013,879,781,1276,1674,1382,1412,1544,1284,1372,1322,1288,1424,1262,1080,1192,1466,1462,1474,1528,1424,1248,1194,1248,1302,1416,1472,1450,1600,1658,1626,1634,1648,1650,1450,1194,1066,976,1094,1170,1446,1788,1704,1470,1284,1268,1114,1346,1794,1462,937,1310,1348,1582,1592,1592,1810,1532,1350,1130,954,1086,1268,1358,1160,985,959,934,821,1004,986,928,1132,1362,1208,1240,1454,1460,1530,1486,1734,1400,1268,1236,1232,1188,993,1036,1196,1230,1290,934,717,980,1030,1124,1438,1470,1280,1452,1404,1322,1276,955,786,963,1096,1200,1064,1110,1438,1378,1390,1190,1228,1116,834,716,888,846,877,1034,962,889,1046,886,976,1354,1338,1344,1338,1574,1638,1498,1414,1312,1256,1232,1328,1534,1428,1152,1220,1328,1388,1220,1226,1368,1284,1196,1144,1066,1470,1520,1378,1154,925,1100,1312,1256,1020,1036,1206,1306,1442,945,883,1021,823,736,837,822,1214,1404,1346,1404,1594,1526,1526,1474,1484,1656,1834,1688,1536,1570,1338,1268,1420,1504,1478,1418,1232,1038,1030,1046,1176,1362,1448,1352,1398,1576,1656,1472,1410,1500,1588,1498,1372,1280,1556,1722,1514,1466,1474,1344,1048,678,492,522,772,714,503,355,332,359,424,682,960,1394,1518,1588,1614,991,608,422,305,256,401,733,495,353,371,366,524,586,560,562,398,393,641,865,842,738,783,677,698,618,438,421,439,551,958,1162,1148,1288,929,803,795,874,665,548,800,879,868,702,678,518,514,554,767,769,741,866,830,630,714,882,952,1104,1206,1088,1122,1296,1108,995,978,761,596,613,849,1252,1346,1182,906,506,448,450,370,309,357,655,987,909,949,1426,1234,1050,775,715,938,1130,1350,1250,792,739,788,598,429,416,393,400,538,670,940,1324,1208,1108,1044,1860,2846,3046,2432,1064,851,937,1104,1021,1014,1030,809,802,993,1054,1430,1966,2458,2780,2096,1460,1588,1544,1236,1268,1272,1256,1280,1296,1354,1220,1100,1170,1256,1338,1246,1194,939,695,598,905,1090,979,1312,1894,1808,1484,1314,1212,1232,1326,1250,934,525,437,549,855,998,890,995,939,1078,1256,1430,3050,2310,1740,1516,1244,1330,1476,1208,989,794,628,373,955,1100,964,1104,877,1076,1288,1216,1208,1454,1706,1646,1628,1812,1368,1208,1316,1444,1460,1360,1248,1366,1260,1021,1007,1028,1158,1358,1458,1484,1428,1362,1206,1134,1208,1444,1722,2644,3046,1984,1406,1160,1206,1104,1432,1672,1406,1378,1146,903,698,786,929,1044,1188,1248,1414,1630,1622,1082,522,424,451,892,1484,1320,1060,1206,1238,961,1072,1154,1332,1780,1364,1346,1488,1512,2066,1864,912,1138,1100,973,1300,1708,1494,1430,1720,1546,1560,1726,1440,1366,1450,1422,1232,1150,1366,1714,1654,1624,1738,1394,1226,1814,1890,1506,1414,1384,1340,1272,1378,1310,1432,1240,1196,2790,2148,1346,1294,1198,1190,1236,1256,1158,1268,1362,1400,1346,1278,1248,1224,1040,1098,1346,1554,1074,689,952,1120,1186,902,776,1200,1422,1500,1064,639,804,868,1006,1554,1418,1074,1066,1182,1266,1406,1330,1042,1058,1154,1178,1222,1218,1332,1412,1446,1410,1362,1694,1508,1222,1200,847,841,1152,667,608,1024,1044,968,1030,1274,1460,1250,1516,1646,1244,792,471,358,395,403,381,357,409,418,361,290,281,316,368,466,454,348,464,678,454,412,434,467,537,483,388,323,276,269,295,250,280,516,608,570,488,403,379,379,370,319,285,297,296,282,297,363,518,532,803,1140,1076,1034,1048,958,867,988,877,503,395,358,338,385,391,316,354,379,599,919,938,550,1004,1656,1424,1410,1246,1364,1146,1054,1042,1120,1238,1252,1148,909,861,1074,1368,1238,1274,1296,1184,1522,1606,1418,1286,1382,1318,1256,1414,1454,1412,1472,1444,1040,915,1166,1050,1512,1318,996,917,862,1138,1390,1316,841,718,1082,1262,1432,1558,1652,1658,1636,1710,1512,1168,1146,1176,1312,1112,1182,1790,1664,1110,1144,1172,1200,1084,780,731,925,1188,974,493,571,1070,1230,1230,1318,1078,1272,1618,1556,1246,1238,1078,903,1108,1116,1220,1454,1554,1406,1424,1490,1522,1344,1406,1356,1064,882,1248,1406,1328,1090,1120,1366,1308,1272,897,528,698,1118,1398,1007,1004,1042,966,1186,1322,1208,884,636,894,1060,1090,1494,1700,1494,1440,1318,1086,847,754,797,1016,1150,968,1088,1236,782,954,1206,901,1004,948,829,747,955,903,1128,1312,1254,1204,1156,1384,1300,1024,1138,1336,1338,1588,1524,1412,1396,1126,816,818,778,1044,1500,1406,910,838,1166,1274,1440,1604,1226,1170,1574,1528,1556,1368,824,811,813,1274,1554,1168,1268,1318,1044,1214,1492,1282,1136,1290,1106,1128,1322,1470,1404,1346,1204,1300,1344,1366,1170,905,1112,1246,1244,1254,1438,1466,1346,927,937,1005,1144,1168,842,730,961,893,916,1336,1082,785,656,1140,1270,969,1088,1110,1002,1018,1074,968,1015,803,936,1021,1122,1240,1230,1286,1484,1570,1450,1240,1186,1068,903,670,656,594,556,584,466,501,410,622,912,1009,1178,1188,1178,851,618,809,913,1248,1007,1116,1488,1234,1300,1282,925,970,1070,1236,1060,1072,929,758,697,572,789,1206,1136,1418,1682,1252,734,628,1018,1218,1174,863,785,735,774,1017,1160,1120,915,837,897,888,1034,1142,1538,1374,754,526,512,429,457,801,1206,1396,1436,1354,1088,777,802,1008,1290,1394,1140,879,590,408,319,353,397,512,651,1172,1128,1130,1076,1248,1250,1023,1224,1306,1176,1202,992,1088,626,631,1142,1064,869,984,1418,1520,1020,818,1172,1096,506,560,1072,1078,1232,1598,2016,1824,1042,629,642,978,1358,1354,1006,1003,1006,678,485,633,1214,1144,701,781,1216,1142,626,454,442,418,547,608,666,491,426,418,411,413,439,479,437,382,419,468,459,472,576,841,776,795,1034,1366,1462,1216,827,1028,1382,1212,1346,1388,1276,1526,1500,1056,823,1048,1090,1212,1532,1482,1384,1152,642,1058,1196,944,1138,1522,1504,1486,1390,1210,1338,1278,1372,1292,1440,983,981,871,544,921,1298,1226,1102,1016,1250,1328,1374,1758,1488,1210,1112,1016,1086,1208,778,633,1058,979],[772,499,538,428,528,1050,1584,1418,1166,883,872,827,587,743,989,953,1048,1278,1476,1168,1060,1090,1134,1334,1015,717,905,1290,1310,1454,1548,1422,1580,1488,1316,1484,1626,1706,1860,1730,1666,1694,1850,1790,1506,1458,1400,1542,1638,1450,1310,1016,1014,1274,1360,1224,1200,1340,1366,1384,1344,1178,1116,1282,760,354,233,368,404,310,277,365,518,537,453,387,387,549,528,468,452,825,738,402,371,425,424,441,338,361,731,936,1019,1124,1118,1508,1710,1350,1222,1152,1080,1168,1178,912,995,1736,1932,1994,2084,1902,1306,1138,1298,1566,1448,866,729,881,600,281,271,307,397,833,566,871,975,1586,1810,1350,1686,1942,1240,563,1036,805,543,697,959,620,602,661,504,455,546,542,638,1244,1426,1008,1156,998,783,941,839,834,995,1166,1224,922,746,1064,1140,1666,1818,962,863,827,447,563,933,774,621,855,793,488,428,395,327,476,574,508,876,952,586,580,924,911,691,489,383,332,323,326,420,631,729,667,769,1100,1394,1376,1388,1384,1122,1176,1222,1202,727,677,846,955,1130,918,709,586,453,592,1094,1446,1122,1070,789,659,855,1090,781,744,1232,1344,1280,1136,875,540,612,1102,1324,1478,1246,1202,825,628,965,1170,1152,1328,1230,1238,1114,811,826,685,473,552,761,852,763,673,608,813,850,899,802,1058,1290,1166,979,742,498,700,1126,1007,640,527,469,392,331,491,852,1002,1108,1732,1798,1470,1013,964,1182,1132,832,879,1190,1484,1422,1478,1722,1280,771,619,814,902,1032,1270,1396,1180,1384,1682,1544,1266,1084,827,953,877,802,1024,1018,956,892,548,508,854,723,584,691,631,651,827,1252,1422,1021,669,615,671,1202,1210,913,977,1168,1244,1336,1408,1252,969,769,667,810,908,1034,1178,869,513,619,741,604,600,905,1262,1374,1116,1258,1438,1266,1266,1254,1266,1092,1256,1566,1454,1112,849,697,806,662,771,970,821,573,704,859,891,1366,1428,1172,1336,1232,1180,1240,1050,995,1380,1382,967,711,852,802,1050,1182,844,799,670,699,720,691,647,741,992,1352,1246,1260,1368,1376,1328,1180,1080,1068,1100,963,835,1192,1312,1086,1146,1284,1492,1480,1058,578,474,403,443,549,430,419,797,1296,1388,1292,1180,1040,1122,1206,1112,1166,1156,1392,2042,1648,1296,1388,1324,1290,1206,1004,1026,1228,1106,805,1154,1072,999,1012,1060,930,938,775,531,422,377,440,480,471,719,1148,1372,1700,1648,1400,1050,670,605,951,1260,1424,1478,1318,1108,1166,1272,1200,985,1152,1112,1086,1168,1192,1164,1148,1132,1176,1134,1284,1582,1378,1238,1240,1440,1554,1288,963,998,1044,990,1078,1132,1144,1188,1090,1005,897,983,1116,1222,1270,1102,987,939,1106,973,905,1015,1015,892,888,1018,1064,1052,1030,1058,1182,1112,1232,1128,1084,1094,1324,1324,1394,1664,1506,1570,1932,1428,1292,1158,1108,1090,1152,1278,1216,1003,833,921,882,839,881,1246,1866,1556,1406,1470,1400,1120,1084,1214,1460,1488,1318,1458,1604,1400,1368,1344,1482,1512,1488,1570,1708,1722,1604,1534,1416,1000,771,620,561,480,542,618,918,1412,1768,1602,1158,984,1012,1230,1412,1054,1110,1232,1318,1828,1792,1760,1650,1338,1188,1040,1102,1160,1304,1306,904,833,863,901,1042,1144,1058,1140,1200,1286,1292,1328,1556,1472,1256,1466,1626,1414,1206,1210,1124,753,830,1280,1320,1322,1656,1142,916,955,877,941,1042,1070,1250,1476,1486,1520,1400,1188,1116,1044,1046,1166,887,833,1174,1276,1280,1116,1160,1272,1052,605,534,664,842,783,736,995,1150,1126,1318,1536,1638,1616,1644,1942,1880,1454,1094,1100,1360,1230,1288,1382,1214,1186,1244,1160,1126,1178,1424,1302,1254,1250,1224,1336,1428,1318,1380,1268,1021,1104,1160,778,656,904,1072,970,856,733,915,818,656,713,785,885,1074,1190,1274,1390,1642,1584,1526,1460,1398,1460,1710,1832,1820,1650,1314,1196,1302,1260,1306,1500,1200,1078,1034,999,1066,1108,1176,1346,1380,1388,1598,1484,1504,1460,1598,1638,1310,1298,1584,1684,1704,1566,1224,1352,1416,1322,1056,1146,1178,1140,921,621,397,310,323,328,456,785,1004,1342,1514,810,1064,726,416,340,668,937,644,437,350,495,807,734,545,360,307,436,575,661,809,1246,1290,819,757,467,462,435,450,419,768,572,472,605,751,784,789,841,835,581,485,785,642,689,508,394,527,696,810,802,882,1044,1124,1082,1238,1130,1106,1332,1436,1192,1240,1404,1438,1510,1498,1454,1418,1376,1428,1486,1178,907,578,428,448,409,430,501,722,1078,1168,1324,1426,1494,1186,1228,1048,600,704,1296,1274,631,687,1028,867,605,494,417,323,274,339,365,918,1210,1044,919,1454,2942,3278,2446,1538,1124,920,1204,1036,671,658,671,822,1056,1014,1004,1274,1838,2302,2818,2416,1628,1390,1202,1106,1274,1268,1188,1158,1188,1202,1114,1192,1396,1414,1228,882,714,643,735,777,883,1124,998,1282,1868,1504,1148,1006,736,838,1118,841,513,417,426,440,420,455,393,398,455,547,640,1472,1992,1620,1362,1232,1238,1396,1224,1050,1019,808,625,505,1322,1606,1718,1922,1752,1496,1398,1288,1176,1480,1680,1498,1564,1556,1260,1336,1466,1412,1294,1334,1350,1290,1160,1148,1732,1266,1032,1076,1418,1442,1512,1616,1560,1410,1284,1168,1052,1290,1220,1528,1682,1660,1550,1488,1576,1682,1528,1434,1478,1374,1248,1248,1270,1532,1572,1572,1736,1738,1774,1304,774,789,943,1270,1502,1288,1056,1222,1306,1122,1304,1252,1064,1160,1162,1252,1440,1462,1862,1868,1108,1108,977,1078,1272,1410,1510,1580,1764,1710,1576,1458,1400,1484,1598,1546,1324,1112,1470,1874,1982,1670,1352,1019,1462,2062,1886,1404,1438,1584,1510,1284,1334,1404,1290,1160,1122,1296,1204,1246,1334,1270,1212,1246,1274,1172,1264,1306,1368,1342,1312,1238,1110,1176,1300,1316,1344,1078,1015,1260,1230,1272,921,1024,1408,1350,1396,1330,871,615,598,801,1310,1038,837,1160,1364,1078,1034,1050,1190,1500,1516,1448,1334,1174,1136,1324,1354,1076,1114,1314,1182,891,930,828,573,651,516,808,922,1076,1202,1003,946,1138,1332,1704,1682,1224,1238,1082,734,509,412,375,365,356,361,388,374,326,316,377,405,414,320,442,767,495,350,359,404,500,547,483,405,352,385,345,284,288,455,434,433,445,397,341,319,274,251,319,376,347,435,507,592,852,1013,1144,1226,1212,1208,1250,1148,1021,1078,1007,543,380,393,498,559,490,389,363,527,974,1058,811,853,1142,1536,1504,1400,1222,1446,1214,908,1150,1484,1336,1224,1096,909,1136,1360,1408,1318,1296,1140,1402,1660,1562,1326,1080,1208,1244,1310,1412,1628,1548,1368,941,530,900,1250,1180,1078,1154,1222,660,557,993,1296,1304,728,1158,1584,1804,1732,1426,1626,1566,1304,1516,1592,1478,1344,1604,1858,1766,1428,1690,1394,1286,1438,1274,1140,794,830,1118,1174,1284,1088,582,760,1170,1166,1268,1296,1198,1246,1240,1140,886,988,955,982,1360,1126,1410,1698,1658,1548,1428,1456,1422,1266,1234,1122,997,827,1322,1766,1624,1172,1170,1334,1140,898,608,560,703,902,971,1034,1194,1021,946,980,898,1080,841,585,1264,1544,1382,1672,1666,1412,1224,1366,1412,1170,1168,1302,1194,1030,1084,1114,1100,728,841,1202,995,1096,1134,847,720,865,1021,1276,1048,954,1092,1034,1144,1096,1194,1318,1494,1490,1336,1310,1426,1326,962,797,1019,668,769,1280,1632,1346,1004,1264,1636,1560,1368,1210,1236,1370,1484,1510,1370,1124,1142,1068,1472,1572,1250,1648,1628,1176,1338,1358,1074,1154,999,785,529,816,1134,1032,1218,1384,1280,1196,1218,1156,1072,1246,1336,1296,1614,1702,1440,1304,1214,1142,1066,942,879,858,1036,736,523,568,1118,1168,1090,896,1136,1098,789,846,1060,877,967,949,1126,1122,995,979,1138,1288,1140,1050,1224,1390,1288,1348,1274,1298,1148,919,711,477,539,956,883,897,1016,719,1238,1322,1226,1344,1232,1108,710,461,440,579,960,995,982,1048,974,1212,1284,1058,1062,876,775,675,656,545,366,684,1001,1444,1830,1268,994,912,1034,963,615,837,1098,1034,815,752,646,468,521,791,1110,976,1058,1046,984,802,1078,1482,1440,1144,747,497,455,728,1086,1296,1442,1498,1450,1366,1092,1000,1134,1228,1230,1310,1128,783,579,412,587,475,523,511,753,943,762,610,866,1214,1110,799,669,933,1050,848,934,590,438,855,1076,1202,1366,1662,1582,1002,738,1226,1216,921,605,924,1017,1190,1480,1644,1338,852,547,584,739,1126,1296,1212,1212,1316,882,491,438,952,1182,907,1070,1192,1140,871,721,541,581,774,942,763,495,493,442,405,445,447,417,394,428,539,597,636,752,1172,1284,970,893,1108,1568,1378,995,786,950,1246,1104,1324,1236,880,901,870,638,616,837,959,1232,1570,1498,1190,919,912,1066,1052,883,853,1324,1318,1294,1108,1130,1238,1232,1468,1494,1400,1092,1028,898,810,1026,1176,1152,1010,1082,1000,1016,1204,1730,1282,880,1372,1438,1142,1019,697,656,1120,1430],[807,572,577,548,665,1242,1226,819,936,1290,1340,941,628,990,948,734,957,1374,1310,1106,1340,1446,1632,1672,1584,1556,1558,1542,1618,1776,1792,1810,1910,1886,1724,1776,1692,1614,1534,1356,1060,966,1190,1348,1228,1048,694,1228,1442,1402,1266,888,603,994,1248,1058,1152,1438,1558,1354,968,848,981,1248,759,684,752,588,308,290,305,318,415,510,435,345,417,816,1090,744,427,824,807,428,559,670,612,427,346,506,680,686,844,966,894,1194,1280,1050,1094,1001,967,814,1588,1692,1234,2890,2756,1842,1826,2144,1722,830,515,952,1362,1106,593,670,451,293,281,423,505,745,583,448,755,1522,1630,1248,1472,1862,1252,461,622,882,1056,1240,962,719,996,984,605,462,557,686,662,1102,1250,1258,1166,889,780,921,1023,1058,1112,1106,1302,1122,804,751,603,1364,1204,836,793,531,341,468,950,1388,1076,753,594,397,344,291,299,858,1058,1010,1128,940,580,867,1206,866,525,570,502,365,324,358,563,935,924,870,1088,1212,1144,1302,1562,1388,1406,1598,1606,800,373,604,944,1204,1210,926,874,872,589,496,763,925,653,630,722,890,1172,1190,779,844,1156,940,774,849,822,507,502,650,890,1208,1472,1276,529,273,465,840,1268,1194,1120,1158,1394,1050,899,788,512,639,1108,1078,872,799,644,615,636,965,1005,1212,1244,1086,976,831,619,511,625,483,364,308,345,371,387,647,1130,968,832,1244,1354,1132,936,979,1070,1066,717,753,901,994,947,1076,1258,1300,1046,1134,1140,916,1058,978,1182,1344,1334,1324,1066,1028,1028,778,616,458,508,897,1010,874,938,612,730,1005,1002,1160,1009,717,577,437,509,670,650,686,730,827,822,653,871,1122,1282,1424,1386,1342,1426,1158,710,851,702,937,995,997,1044,733,529,664,781,925,1182,1286,949,737,808,933,1214,1324,1274,1180,1176,1208,1302,1180,926,634,533,622,566,549,675,768,684,677,813,1040,1356,1388,1372,1316,1134,1238,1302,1664,1220,1404,1180,708,804,1064,971,1054,1084,678,820,946,864,873,845,824,793,1006,1214,1050,1023,1260,1214,1266,1136,1016,1142,1298,1350,1206,1138,1134,1196,1106,1184,1316,1128,849,496,424,422,426,624,656,650,816,1172,1322,1232,1150,1224,1270,1284,1182,1140,1280,1460,2140,1694,1270,1294,1044,918,999,1012,1218,1318,1390,883,952,952,987,922,874,769,744,726,580,451,394,516,429,422,653,1308,1854,1862,1654,1432,1184,805,697,1032,1232,1252,1332,1260,1326,1196,1178,1188,1308,1390,1232,1066,1112,1222,1154,1250,1304,1428,1408,1352,1726,1726,1190,1178,1272,1122,950,899,1136,1152,1110,1136,1270,1732,1532,1376,1306,1100,1068,1064,1028,1108,1048,1034,927,816,826,924,1052,1088,995,826,944,1256,1214,886,904,981,744,774,936,916,997,1288,1154,1266,1542,1596,2252,2490,1610,1272,1244,1268,1138,1100,1094,965,778,590,553,536,780,1050,1108,1390,1136,952,1160,1312,1124,980,1166,1536,1494,1346,1544,1494,1356,1350,1460,1478,1580,1658,1674,1648,1406,941,960,1110,631,573,495,498,442,458,499,700,1274,1674,1418,1032,960,1060,1168,1005,883,1240,1224,1248,1670,1694,1542,1416,1274,1144,1050,1172,1174,1282,947,629,813,948,1082,1158,1092,1230,1262,1286,1792,1516,1172,1156,965,1136,1716,1546,1298,1260,1344,877,644,1052,1262,1198,1242,1344,956,970,814,1128,1310,1134,1312,1706,1682,1448,1526,1312,1082,896,658,860,1428,1100,890,1088,1366,1350,1268,1356,1338,1176,792,546,538,557,623,937,915,888,866,688,807,1362,1538,1594,1556,1612,1388,1356,1224,974,789,1001,1250,1184,1106,1048,1070,1200,1122,1164,1112,1244,1242,1318,1440,1300,1142,1192,1184,992,837,649,473,586,988,998,753,683,764,813,588,543,664,781,925,1070,1284,1406,1544,1672,1724,1648,1604,1426,1490,1760,1844,1892,1692,1542,1510,1576,1328,1364,1362,1046,1090,1190,1254,1292,1116,1114,1446,1362,1436,1394,1378,1578,1450,1510,1582,1284,1260,1540,1680,1742,1136,532,793,1122,1194,1148,1246,1292,1394,1394,1080,669,657,495,516,439,577,535,801,916,619,1150,989,471,325,464,644,733,540,316,369,477,797,569,313,392,576,551,495,642,1136,1158,751,552,346,389,366,363,563,605,412,308,268,427,707,879,978,1120,827,716,894,618,483,477,436,444,642,766,898,1084,1244,1328,1152,1316,1162,1136,1436,1590,1396,1306,1374,1468,1574,1554,1378,1504,1606,1532,1364,1012,608,466,576,533,393,501,639,857,1010,1326,1568,1092,860,980,1224,835,717,1048,964,690,784,1064,1040,737,522,471,473,375,289,314,390,550,612,816,967,1214,1322,1308,1098,930,1034,1074,1188,905,940,905,832,1326,1542,1128,1076,1152,1634,1912,2088,1816,1396,1208,1130,1114,1100,1026,1028,1088,1176,1274,1372,1422,1318,1024,799,793,891,899,917,821,847,1190,1013,1120,1408,1376,1072,769,573,876,1322,1040,635,789,830,875,753,752,771,644,504,492,562,511,488,841,1072,1034,1150,1150,1152,1042,769,656,457,678,1450,1844,1952,1950,1994,1998,2070,1682,1180,1252,1086,1132,1042,1150,1316,1262,1434,1484,1358,1294,1270,1322,1262,1734,2106,1776,1516,1412,1260,1216,1316,1474,1588,1568,1406,1352,1354,1212,1190,1372,1962,1938,1636,1460,1318,1168,1036,1142,1108,1002,1034,1222,1198,1238,1360,1432,1404,1446,1624,1572,1478,1534,1512,1672,1656,1166,1138,1316,1306,1506,1880,1764,1126,1026,1462,1518,1544,1500,1494,1642,1282,877,702,722,968,1202,1332,1268,1454,1726,1548,1498,1488,1462,1438,1412,1470,1338,1538,1606,1462,1290,938,1128,1698,1552,1438,1442,1750,1744,1534,1206,1130,1262,1288,1176,1098,1122,1230,1242,1322,1288,1148,1124,1126,1150,1176,1420,1688,1656,1504,1354,1282,1418,1276,1226,1158,1168,1100,1204,1005,734,643,952,1017,996,1186,1382,1178,870,888,996,950,929,1164,1226,1186,1124,863,888,1332,1320,1236,1522,1472,1268,1268,1462,1470,1330,1352,1512,1332,1130,1072,1140,903,785,772,1148,1246,1312,1312,909,1232,1870,1560,1660,1662,1178,1106,1244,1248,1090,758,520,403,390,402,397,389,368,397,404,391,377,373,541,614,401,308,372,421,403,379,427,429,355,331,357,399,393,397,393,351,328,332,301,270,326,438,476,608,654,776,904,1009,1148,1232,1168,1160,1170,1026,1026,1170,1092,857,940,736,491,547,679,685,490,327,406,884,1138,1086,1150,1456,1656,2354,2654,1758,1164,1364,1334,1068,1000,1200,1266,1452,1322,1068,1482,1280,1120,1144,1224,1218,1476,1640,1604,1364,870,813,1152,1520,1514,1466,1204,879,595,758,1218,1180,1114,938,940,1017,753,669,932,1122,1250,1122,1416,1466,1788,1840,1732,1760,1432,783,1018,1392,1620,1550,1664,1736,1880,1610,1378,1362,1366,1114,943,944,1024,953,968,1360,1376,846,574,898,1158,1004,1104,1180,1294,1472,1302,1048,742,899,847,1048,1312,1196,1242,1246,1544,1592,1472,1576,1516,1426,1136,1318,993,813,865,1310,1436,1208,1192,1244,885,973,1524,1066,691,528,541,785,1036,1136,1048,893,825,910,520,567,1180,1176,1242,1562,1474,1118,855,1102,1162,1208,1240,1094,1042,881,991,1218,903,708,862,1368,1194,1112,1108,1050,1322,1238,1188,1190,1220,1308,1228,1066,1144,1434,1462,1324,1394,1300,1216,1206,1390,1310,630,505,621,621,590,954,1412,1604,1472,1466,1516,1382,1370,1268,1332,1356,1416,957,1272,1350,1418,1420,1338,1244,1378,1656,1582,1186,1242,1248,1214,1194,1170,1070,713,864,987,1015,1326,1280,1338,1228,1234,1094,1136,1142,1230,1362,1654,1548,1134,1148,1254,1196,1252,1202,771,971,1408,912,587,900,1426,1414,1310,1340,1254,819,660,977,1186,724,570,613,1086,1060,1134,1344,1470,1338,924,715,938,1362,1400,1298,828,1314,1516,1262,829,458,648,923,968,1124,1158,1206,1346,1246,1232,1286,1226,942,622,476,534,559,805,998,932,835,1016,961,1013,1112,1198,854,963,1007,599,462,593,1042,986,1076,1070,1142,1042,1004,1108,1166,1088,792,875,1220,1028,756,725,397,473,803,791,596,1032,1266,1015,636,680,951,1176,1164,933,576,628,1240,1224,1032,1366,1526,1458,1476,1482,1294,1023,1146,1136,1056,1003,1246,836,780,748,531,481,564,670,634,525,680,1114,1038,740,347,339,503,561,561,594,397,332,623,1004,1172,1450,1722,1646,1296,1056,1320,1112,963,777,1150,1274,971,951,719,1058,1090,847,923,793,943,1268,1360,1410,1344,990,596,415,846,1120,1050,1064,1052,1022,974,1090,930,948,1202,1302,882,459,370,401,503,469,380,392,403,535,867,744,617,791,1178,1214,1208,1280,1414,1346,898,803,927,1268,1218,908,1174,1260,711,482,386,433,586,957,1062,1288,1620,1682,1474,1272,1118,980,1138,1048,826,1302,1340,1378,1102,1044,1162,1228,1372,1512,1526,1298,1036,1050,1086,1009,814,976,1001,1216,1246,1068,1104,1646,1516,1098,1194,1266,1238,1376,972,601,840,1128],[1490,1210,1174,942,869,1344,949,705,1216,1626,1454,970,1086,1328,1096,1242,1512,1698,1520,1350,1214,1332,1616,1710,1876,1988,1902,1770,1780,1832,1852,1832,1778,1824,1678,1484,1262,887,864,976,957,883,680,835,977,929,770,1322,1430,1362,1038,722,465,627,1002,1224,1316,1354,1358,1206,1112,1090,903,835,1015,1260,1440,875,329,361,541,402,358,352,311,321,577,1126,1156,690,423,721,871,549,534,620,652,481,517,571,680,952,780,468,499,873,882,705,602,739,960,767,1094,1626,893,1116,1208,727,663,1114,883,433,360,343,651,1108,837,530,387,320,297,556,541,614,658,396,619,943,1126,1108,1286,1490,1026,792,941,1282,1454,1208,814,756,816,839,599,434,540,586,583,708,1052,1342,1226,1252,926,752,1230,1412,1040,1042,1346,1146,1032,751,599,538,348,511,836,838,732,655,838,1640,1222,722,572,401,308,318,388,568,760,1032,1000,1112,838,927,924,780,497,482,472,376,376,356,590,868,838,1084,1194,1278,1160,1396,1442,1388,1408,1222,1180,951,590,590,1034,1208,833,693,771,1058,720,467,411,467,465,458,469,642,886,873,649,725,956,802,513,501,608,891,1086,698,620,990,1306,913,573,744,538,611,1104,1074,1080,1104,1310,850,509,659,572,756,1104,1011,991,777,472,404,526,588,531,640,724,1036,1180,940,671,620,467,418,441,426,506,531,480,567,943,1026,904,826,1016,1070,903,881,988,843,488,502,962,1184,1084,1218,1390,1460,1004,677,715,779,1012,780,763,1228,1228,951,757,814,776,506,430,328,596,976,972,623,911,705,865,1088,1019,1168,1194,957,669,581,480,428,550,645,690,729,627,711,792,889,1070,1332,1422,1538,1374,1234,711,743,624,755,749,888,1228,1076,913,1132,1256,1015,1014,755,598,808,883,799,996,1188,1204,1180,1142,1174,1114,670,623,503,485,476,428,405,491,599,635,594,555,680,990,1052,1260,1254,1186,1388,1356,1310,1212,1256,1090,1058,1084,1094,810,647,630,606,1088,1028,729,680,724,727,762,914,1150,1212,1001,1162,1228,1214,1174,1130,910,1080,1344,1256,1094,1046,1104,1050,1226,1028,976,567,487,557,481,485,672,781,791,852,1066,1252,1158,1128,1013,1016,1058,874,818,1074,1258,1470,1212,1102,1166,1084,1200,1314,1296,1460,1280,1338,987,856,1072,1086,866,846,975,1144,1098,684,554,435,565,525,378,551,941,1152,1296,1390,1322,1074,834,579,772,963,1198,1288,1272,1322,1296,1350,1366,1288,1208,1116,1100,1096,1262,1442,1676,1586,1864,1392,1386,1638,1688,1340,1408,1406,1162,961,1094,1360,1362,1318,1042,1670,2536,1694,1304,1298,1122,979,888,786,857,979,967,970,1021,1132,1220,1268,1138,1015,915,1100,1284,1242,937,805,739,491,674,1056,1005,883,1126,1254,1290,1520,1694,1506,1160,950,1010,1104,828,728,1042,1508,1462,908,658,557,558,863,1042,1112,1050,995,975,1212,1416,1088,948,1148,1522,1426,1394,1574,1576,1610,1674,1642,1672,1660,1616,1526,1416,1068,648,849,1172,799,719,737,653,491,468,462,674,1282,1678,1412,947,846,1023,1104,874,1206,1390,1290,1194,1268,1252,1152,1418,1516,1162,959,992,1174,1200,723,641,1016,1160,1138,1140,1128,1390,1534,1228,1078,864,868,951,1246,1284,1158,1226,1282,1542,1366,841,1172,1240,1154,1200,1178,1282,1168,1050,812,1120,1388,1392,1760,1960,1696,1370,1388,1013,952,952,1062,1300,1788,1700,1174,1140,1508,1288,1364,1504,1220,1112,1058,716,606,636,501,551,585,507,634,723,582,939,1300,1378,1370,1472,1676,1698,1526,1334,1272,1248,1342,1366,1246,1008,1276,1280,1296,1336,1298,1092,1044,1334,1400,1292,1206,1150,1122,949,682,509,592,838,1078,1088,1194,1108,930,756,446,524,738,769,757,757,1080,1308,1482,1562,1612,1530,1302,1296,1580,1760,1732,1820,1804,1574,1582,1544,1334,1304,1076,963,1192,1294,1348,1504,1302,1140,1066,1198,1434,1338,1340,1340,1318,1480,1526,1288,1318,1510,1630,2132,1004,546,787,1028,1021,1011,957,808,694,1040,1216,681,731,901,1128,1122,1326,1266,1440,1246,1024,927,606,368,441,498,477,681,728,854,1003,883,605,476,514,582,692,681,625,621,647,800,933,811,589,413,319,391,619,564,407,359,318,406,514,742,950,1438,1112,1200,1402,1250,954,807,801,746,1022,1082,1164,1110,1338,1280,1036,1406,1620,1282,1288,1504,1250,1122,1338,1300,1472,1362,1462,1564,1472,1482,1162,678,517,698,827,562,404,539,499,508,783,1266,1094,857,990,935,695,799,1208,1146,808,789,1090,868,562,468,516,539,515,427,358,360,472,497,382,795,1194,1282,865,883,999,1104,1032,1190,1268,951,882,935,967,1322,1334,1246,1082,1154,1302,1104,959,1052,1102,1064,951,903,989,1021,1200,1232,1198,1282,1294,999,818,769,821,912,936,947,939,937,864,991,784,880,1072,1214,1094,944,926,1058,1762,1700,1242,1476,1226,1072,758,728,929,951,804,781,857,647,770,955,1230,1260,914,810,899,673,550,884,1108,1322,1794,1948,1792,1964,2098,1954,2162,1936,1792,1952,1914,1700,1506,1350,1112,1176,1172,884,1182,1358,1432,1470,1302,2076,2150,2004,1930,1802,1804,1616,1292,1242,1512,1556,1576,1506,1262,1380,1446,1268,1632,1896,1692,1196,715,543,617,677,754,747,711,674,695,828,901,738,747,814,876,1162,1462,1472,1472,1624,1416,845,964,935,927,1442,1812,1664,1176,1152,1532,1490,1416,1382,1764,2076,1262,812,1013,1260,1276,1126,1013,1190,1516,1676,1388,1288,1456,1406,1116,1130,1350,1452,1488,1320,1076,793,910,1662,1802,1454,1398,1598,1670,1660,1364,1110,1136,1180,1246,1236,1158,1310,1396,1168,1340,1176,1060,1064,1170,1380,1542,1848,1814,1526,1290,1346,1550,1526,1184,1188,1416,1456,1306,1114,877,579,631,979,885,1023,1152,1116,1364,1398,1482,1510,1302,1404,1296,871,1070,1184,988,1106,1370,1284,1268,1418,1330,1416,1332,1260,1482,1434,1512,1830,1668,1380,984,985,1236,1282,1312,1628,1396,1148,966,874,1644,1978,1378,1550,1588,1508,1316,1009,878,1070,1276,1052,728,488,385,416,467,454,473,515,437,346,422,542,479,343,301,369,378,351,333,331,321,297,310,332,376,480,456,349,341,371,367,401,503,645,792,832,1036,1130,1122,1208,1244,1286,1294,1268,1428,1412,1160,1044,1204,1158,1050,1100,893,600,515,596,523,300,291,613,1068,946,1182,1486,2198,2588,2962,3204,2098,1192,1300,1160,924,985,1188,1360,1516,1360,1428,1256,1084,1192,1130,1246,1510,1628,1750,1682,1524,1318,1380,1504,1526,1368,1124,832,610,552,1050,1418,1178,1004,865,788,919,984,978,1050,1266,1240,927,843,1144,1364,1268,1316,1616,1272,608,685,1048,1376,1326,1278,1510,1554,1526,1674,1666,1650,1128,841,855,1136,1250,1506,1920,1880,1902,1726,1282,1306,1210,1370,1168,1416,1428,924,916,708,867,1072,1312,1140,1000,884,663,1030,1338,1584,1494,1648,1634,1418,1376,1350,1450,1398,1076,973,1122,1158,1046,723,756,1542,1260,959,764,645,574,832,1136,1208,1086,953,709,473,660,886,946,1556,1580,1368,1036,944,963,1028,1532,1428,1158,1082,1074,1166,1556,1064,899,1112,1032,1004,1244,1104,1234,1358,1048,1044,1102,1290,1362,1250,1118,1052,1356,1268,1166,1156,918,1034,1066,1232,861,532,678,788,982,1180,1222,1104,1246,1456,1642,1408,1432,1480,1512,1480,1428,1110,598,907,1118,1290,1284,922,807,1114,1106,1278,1148,1030,948,1144,1196,1376,1292,1050,980,739,674,924,1136,1418,1226,1072,1062,1152,1212,1338,1278,1310,1288,1270,1340,1334,1274,1170,1294,1206,1316,1378,1172,877,1088,1340,1366,1512,1428,1238,990,833,861,949,697,518,933,888,716,1100,1282,1588,1686,1350,1268,1514,1964,2018,1478,1138,1274,1396,1412,875,622,931,832,713,767,1112,1266,1216,1152,959,1088,1184,1450,1246,686,558,455,493,653,769,758,868,661,553,699,654,683,1290,1322,642,769,873,1110,1044,726,819,1260,1236,1300,1278,1150,1042,950,760,752,526,536,633,625,794,1114,992,763,847,1010,764,430,502,707,875,703,640,604,996,1516,1530,1446,1422,1344,1444,1522,1340,756,690,1034,971,850,582,872,1068,989,776,764,822,947,936,801,608,655,621,433,388,528,833,959,821,885,897,464,522,996,1104,1188,1484,1572,1498,1356,1222,904,532,626,788,996,1236,1112,966,537,888,933,877,1142,984,1142,1176,1052,1254,1180,838,537,547,980,1284,1156,1142,1190,875,802,1084,1034,995,1340,1218,789,453,313,319,435,460,410,376,418,593,645,506,639,795,828,716,951,1268,1268,1348,1294,1322,1220,1028,893,894,1258,1416,728,423,386,605,615,671,720,1094,1468,1660,1742,1496,1244,1218,826,602,552,1134,1130,1138,1244,1256,1138,1094,1222,1542,1628,1406,1270,1372,1220,1300,1104,1034,1004,1152,1300,1130,1226,1704,1450,1188,1128,1324,1352,1216,762,467,471,957],[1556,1378,1420,1688,1698,1720,1546,1208,1080,1316,1342,1260,1614,1518,835,1366,1672,1604,1406,1528,1338,1346,1556,1692,1626,1680,1584,1624,1546,1540,1592,1438,1468,1584,1514,1604,1526,1012,866,876,1056,772,748,727,540,596,711,1112,1268,976,949,819,435,767,941,1238,1088,1120,948,992,1202,1294,938,934,1040,867,1178,751,371,563,859,699,521,461,443,354,581,972,951,546,356,651,883,540,441,388,435,368,596,667,516,1148,1648,1072,607,819,1156,901,686,922,1288,1732,1814,1582,675,316,523,543,533,599,418,422,352,323,377,702,1068,748,411,348,362,460,367,530,858,397,321,484,1134,1320,1028,1362,1264,1066,1204,1410,1406,1032,779,919,504,485,381,304,744,766,521,433,743,902,847,1023,595,473,588,827,1146,1082,1110,1182,936,753,615,445,373,499,910,903,1034,1116,1012,1122,743,711,713,488,369,361,381,364,440,725,645,970,818,855,1160,1134,647,450,423,393,389,383,446,604,586,1086,1234,1434,1226,1306,1444,1242,1056,1080,1372,1212,805,495,720,763,769,756,1240,1478,866,656,614,493,490,443,521,907,1282,1036,572,554,858,1019,686,428,457,855,920,593,718,666,926,876,871,1056,713,803,1336,1416,1028,693,540,386,500,577,474,1090,1414,1310,1406,755,438,462,425,390,559,758,891,1108,1500,1552,1206,666,366,522,754,846,973,1014,805,574,702,1060,918,735,1036,1056,849,1166,1330,1236,708,544,1378,1576,982,1276,1296,1290,1074,868,1086,1018,766,575,658,1008,1300,1092,576,609,597,410,535,411,392,496,484,362,383,571,946,1070,1210,1184,1005,828,651,601,647,597,655,563,395,610,1150,1430,1130,1094,1064,1202,1316,1202,846,854,1052,1136,771,528,736,1342,1408,1154,1132,1270,1160,1072,1142,829,972,1144,1018,1034,1300,1354,1354,1484,1192,860,702,521,468,474,456,403,406,529,650,633,506,474,413,476,1012,1166,1068,1170,1156,1132,1262,1258,1166,1030,1050,1606,1950,1858,1924,1444,897,664,1076,948,571,498,477,533,621,980,1364,1416,1272,1116,1112,1062,1084,1042,957,1036,1011,969,1038,1030,1246,996,1294,1034,924,705,572,603,644,726,787,786,1011,1198,1264,1218,1144,1158,1150,1156,1012,938,1010,1116,1224,1316,1262,1134,1136,1228,1286,1534,1566,1938,1554,1104,1142,1218,1272,1252,1136,1013,1068,1134,895,626,527,455,428,358,351,706,979,863,1042,1302,1342,1148,954,963,1368,2522,2618,1822,1592,1670,1670,1724,1760,1532,1048,1170,1350,1212,1374,1450,1506,1360,1314,1278,1604,2056,1802,1466,1496,1306,1202,1128,1196,1382,1318,1176,1005,1200,1272,1256,1178,1156,927,824,694,666,1054,1210,1018,975,923,1026,988,1002,1090,882,652,1206,1512,1568,1188,924,869,922,1202,1284,1122,808,949,1294,1286,1682,1762,1316,1120,921,1000,1238,1068,964,1054,1570,1490,904,651,495,619,721,838,1076,1130,1034,1064,1108,1298,1208,1118,1260,1578,1584,1504,1504,1550,1674,1632,1562,1548,1398,1478,1568,1470,1262,1036,1374,1604,1476,1382,1250,901,668,511,500,658,1256,1558,1138,693,722,1002,1021,871,1142,1428,1332,1216,1136,1118,1290,1282,1328,1094,1066,1154,1118,1082,934,834,940,1072,769,983,1280,1370,1436,1210,1098,837,749,892,1264,1250,1098,1374,1396,1620,1102,947,1250,1046,1196,1186,1142,1404,1388,1186,968,1094,1286,1410,1674,1802,1648,1362,1390,948,716,1366,1734,1446,1542,1418,971,1186,1334,1400,1560,1710,1408,1096,1030,876,847,872,567,489,603,671,837,958,919,987,1036,1140,1150,996,889,966,968,1102,1230,1322,1570,1532,1428,1354,1300,1494,1554,1494,1520,1260,1372,1770,1636,1516,1286,1296,982,743,554,476,647,977,1042,940,1090,1040,967,858,623,703,1086,817,844,894,880,1007,1148,991,849,987,891,1122,1558,1562,1584,1742,1800,1788,1828,1498,1204,1080,854,974,1208,1284,1378,1390,1442,1478,1226,978,1052,1146,1278,1262,1250,1378,1346,1328,1484,1480,1390,1548,1296,949,1158,1082,957,993,883,1096,1864,1510,1402,1178,924,807,966,1096,1372,1528,1500,1538,1490,1366,1198,850,967,1034,982,1038,1214,1224,1158,1116,772,885,1140,1208,1100,901,613,796,717,1004,1070,1012,955,669,474,661,871,444,361,337,339,429,628,713,558,852,1216,1560,1434,1100,1078,1302,1286,1004,1142,1216,1440,1410,1686,1710,1186,1278,1670,1278,1058,1162,865,1018,1030,1044,1264,1324,1726,1748,1590,1442,1148,952,839,972,989,543,337,397,422,644,816,721,713,1118,1198,797,726,1152,1054,716,738,918,836,590,436,522,637,548,387,372,367,387,498,498,434,787,1019,1100,1260,1290,1204,1216,1114,1030,1088,724,653,881,912,926,808,775,807,778,702,714,819,764,593,681,858,1096,1390,1484,1450,1222,1198,1124,793,709,898,924,944,963,962,1058,1160,1136,780,651,552,552,466,708,899,911,996,673,1390,1594,1208,1308,1040,1158,1178,1432,1390,1116,1056,1042,1204,1210,1144,997,1003,879,894,1023,1076,1032,869,1078,1306,1306,1422,1266,1260,1600,1516,1884,2188,2002,1604,1502,1984,2226,2122,1884,1712,1656,1234,540,713,1110,1524,1572,1470,1766,1866,1924,1910,1776,1836,1914,1828,1604,1622,1548,1648,1648,1510,1378,1262,1320,1734,1902,1640,1142,626,565,1072,1188,1196,1136,1108,1108,1070,1088,1112,1108,885,651,1208,1562,1866,1600,1568,1704,1462,1020,1042,1126,1088,1186,1254,1172,805,1158,1316,1054,1084,947,1026,1274,1156,982,1204,1528,1450,1196,1056,1160,1306,1470,1406,1440,1368,1056,915,951,999,1144,1364,1380,1236,954,1558,1786,1202,1015,1232,1412,1398,1262,1152,1104,1126,1180,1188,1200,1174,1228,1240,1090,1190,1216,1196,1186,1334,1438,1616,1968,1764,1410,1196,1230,1300,1142,988,1084,1290,1138,979,1086,1114,907,748,742,871,1092,941,691,1142,1530,1526,1414,1320,1310,824,605,979,1088,1060,1102,1316,1352,1336,1230,1264,1506,1416,1444,1714,1500,1288,1322,1492,1062,846,973,1282,1232,1804,2264,1328,1048,729,839,1788,1820,1518,1522,1540,1472,1224,934,543,494,858,1284,1326,1032,524,409,516,539,465,447,375,332,438,469,336,273,276,401,398,339,295,311,305,301,345,362,378,441,449,426,366,371,361,612,844,1086,1206,1180,1224,1204,1136,1104,1118,1196,1258,1178,1200,1168,1066,1048,1128,1098,882,819,845,608,416,422,371,328,590,912,955,866,1114,1434,1642,1802,2108,2470,2060,1374,1338,1130,988,1184,1042,1058,1042,1018,1136,1122,1238,1260,1196,1404,1584,1344,1062,981,1374,1556,1698,1580,1348,861,582,576,545,781,919,1040,1082,1068,1074,995,1060,1130,1130,1136,1236,1156,1054,973,1096,1158,1013,1156,1262,961,680,755,1052,1128,933,1140,1330,1130,1422,1568,1618,1560,1384,1238,1248,1394,1404,1730,1824,1840,2712,2736,1378,1354,1360,1348,1334,1376,1054,641,686,730,689,977,1422,1272,936,943,1138,825,1046,1478,1332,1664,1902,1770,1488,1466,1608,1406,1160,1222,1366,1164,753,472,391,504,938,1272,1050,793,718,818,778,1064,1188,1346,1250,749,1100,1344,1458,1460,1318,1120,832,677,650,870,1252,1512,1406,1012,973,1602,1888,1268,928,1052,1110,898,790,1010,1176,1340,1528,1276,1206,1216,1310,1220,1042,1248,1290,1040,905,722,645,636,941,1074,859,912,1116,938,838,1078,1104,824,1056,1118,1544,1560,1560,1404,1598,1444,1316,1062,946,1506,1914,1470,1008,1004,846,1128,1198,1086,937,738,485,506,602,565,658,1124,1220,1021,985,1190,1382,1228,760,849,1116,1206,1236,1246,1408,1244,1102,1246,1104,1178,1110,1194,1208,1310,1444,1248,1160,1352,1300,1314,1432,1400,1186,1246,1266,1100,968,894,579,637,1100,778,584,912,1178,1452,1656,1296,1092,2048,2438,1908,1518,1426,1294,1360,1494,1168,985,1040,997,843,908,1048,1094,1214,1080,1040,881,713,1058,1246,1266,858,468,357,545,565,594,692,648,518,412,429,933,1382,1628,1360,1286,893,711,1040,813,783,1198,1436,1388,1220,937,745,1080,1034,990,708,458,563,621,858,1160,1294,1142,729,839,618,642,755,691,738,524,489,681,1009,1246,1252,1516,1418,1064,1030,1142,731,802,1226,1146,1238,1292,889,479,755,1054,1004,927,1122,879,977,921,850,832,707,655,642,980,1456,1398,1018,976,1074,716,863,1188,1078,1050,1306,1290,1312,1482,1312,973,774,812,1076,1272,1324,1168,858,600,874,922,748,1084,1280,1016,888,1084,1172,874,572,398,628,856,1152,995,974,903,622,702,1009,1088,1336,1462,1100,791,541,334,319,347,458,474,407,400,613,792,604,800,824,597,594,927,1306,1542,1588,1420,1158,1224,1744,1550,1250,1412,1346,677,450,469,745,734,646,850,1196,1228,1550,1580,1524,1358,1292,846,679,645,912,1128,1252,1440,1510,1442,1432,1288,1484,1552,1422,1306,1360,1220,1362,1256,919,883,1154,1232,1148,1368,1780,1316,1192,1356,1478,1506,1252,783,442,453,845],[1194,1172,1366,1426,1242,1166,1296,1550,1622,1724,1788,1712,1812,1796,1088,1110,1362,1600,1708,1616,1434,1022,819,1370,1182,1172,1028,1120,1406,1368,1548,1762,1738,1618,1522,1538,1448,1248,1114,716,578,819,949,662,360,350,386,872,1234,769,672,576,435,861,996,1072,1148,1206,1142,1206,1216,1202,962,922,1046,614,683,1102,891,883,794,775,639,683,662,511,509,570,538,351,384,709,731,402,387,383,382,446,963,1012,672,965,780,1005,1226,1338,1122,902,857,1044,1094,1550,2134,1348,354,285,340,469,792,1010,724,625,456,340,285,433,840,928,639,366,486,752,598,680,897,664,546,502,944,1282,1040,1246,1222,861,971,1188,856,835,1023,1126,548,383,350,350,768,816,503,446,781,1100,648,831,853,966,648,370,769,897,1010,1006,1036,1023,869,706,375,345,506,422,828,1023,966,1086,760,420,464,468,437,335,310,326,365,333,390,551,855,1002,1144,932,496,403,440,464,570,721,546,647,470,568,756,1001,980,1240,1194,904,1005,1126,1394,1316,1302,835,733,882,970,783,1072,810,865,1600,1618,1042,604,467,604,1210,1830,1880,1358,932,1092,1316,898,420,622,717,542,986,888,563,612,1018,1005,647,692,1306,1566,1030,601,747,964,809,778,858,697,1172,1332,1278,1304,1114,862,455,459,416,698,1258,1548,1164,1132,1844,1310,467,403,727,1048,1146,1072,1030,1192,1028,952,1330,1010,882,877,902,663,1166,1536,1108,738,653,988,1110,755,677,995,916,741,822,1140,1240,1050,905,866,1250,1506,1106,500,644,702,545,807,555,315,321,327,337,287,444,779,1210,1610,1682,1406,883,625,609,659,624,621,509,428,797,1460,1570,711,734,1038,1184,1240,1118,830,896,1046,856,628,684,855,1176,1328,1158,863,1142,1440,1500,1278,1116,1180,1232,1220,1080,1058,1350,1340,1422,834,499,540,466,437,440,498,533,453,536,599,597,477,451,426,638,1056,1300,1340,1326,1062,877,1088,1048,938,1005,1060,1548,2210,2410,2240,1844,1180,717,1088,1034,563,526,502,497,514,959,1278,1076,998,932,1036,1298,1274,1132,1106,1046,969,1015,1038,952,1094,1090,1100,1084,1120,890,611,744,874,759,781,761,1166,1120,1248,1346,1552,1322,1196,1172,1034,1050,1600,1836,1172,1298,1272,1244,1172,1272,1314,1506,1402,1648,1442,1240,1314,1360,1370,1324,1170,1042,1046,863,758,646,643,788,966,890,669,744,941,1182,1280,1394,1472,1560,1378,1622,1808,2416,2502,2018,1792,1724,1652,1792,2098,2206,1200,1042,1328,1368,1358,1266,1110,929,971,1270,1836,2028,1718,1326,1278,1344,1314,1204,1116,1078,1098,1170,945,1234,1148,1005,784,896,873,772,771,772,985,1130,982,933,803,780,681,910,1334,985,642,1144,1498,1352,960,1090,1088,1230,1044,1068,1132,994,1320,1354,1242,1572,1618,1324,1112,1064,1300,1410,1028,754,852,1246,1422,1516,1028,666,1056,1224,1024,1056,1172,1220,1384,1300,1346,1372,1458,1548,1666,1682,1712,1668,1594,1594,1610,1416,1538,1610,1738,1792,1478,1340,1376,1382,1448,1674,1754,1534,1044,721,497,535,531,1044,1316,847,489,666,955,1005,922,1068,1288,1204,1218,1128,1112,1438,1246,1140,1226,1226,1130,1192,1150,902,681,706,772,565,838,1106,1194,1146,1236,1278,937,652,834,1158,1118,899,1118,1234,1310,1042,868,1076,1140,1152,815,1030,1342,1422,1284,1152,1128,1218,1188,1320,1674,1610,1376,1228,988,896,1112,1412,1230,1108,1068,769,820,987,1362,1480,1720,1522,930,941,1190,1150,1068,681,437,692,840,958,995,996,984,1058,1204,1202,1044,776,716,582,543,424,734,1332,1710,1546,1326,1484,1722,1448,1338,1590,1602,2266,2900,2374,1814,1324,1176,842,543,576,661,666,800,891,875,988,896,1124,1214,935,836,861,1042,1368,1256,1018,787,807,805,769,929,1086,1180,1270,1300,1556,1506,1578,1758,1772,1536,1252,1068,980,1096,1348,1442,1444,1404,1642,1744,1564,1456,1216,924,1104,1318,1394,1414,1218,1278,1448,1440,1250,1320,1010,863,1126,995,960,905,825,1754,2360,1502,969,1172,1334,1090,915,1058,1188,1260,1376,1450,1338,1520,1500,1432,1638,1642,1566,1408,1560,1432,1078,805,858,1354,1254,1324,1700,1216,741,609,747,1040,925,814,715,866,871,952,907,506,336,310,376,538,758,569,371,491,865,1218,929,796,1142,1300,1234,1450,3072,2498,1484,1302,1236,1282,1338,1298,1392,1426,1566,1250,1032,1136,1136,1376,1410,1506,1562,1448,1524,1310,1017,1166,1015,859,739,426,346,414,648,869,788,633,891,991,633,524,750,807,585,503,497,589,594,538,498,537,513,406,370,408,386,331,349,361,431,792,978,1202,1324,941,868,913,970,777,755,577,525,552,526,544,561,558,471,336,314,357,393,461,440,871,1238,1470,1316,1124,1284,1504,1548,1362,1156,997,1028,1009,1082,1214,1238,1352,1440,1346,986,684,601,563,705,747,736,618,822,656,944,1060,1056,1106,1028,1300,1412,1404,1318,1250,1284,1390,1382,1284,1224,1226,1090,1154,1184,1100,1214,1236,1126,1004,1578,1898,945,794,861,1054,978,1190,1520,1498,1170,1456,2126,2056,2062,1876,1394,1488,1206,677,1106,1406,1444,1494,1704,1818,1816,1874,1958,1952,1904,1904,1970,1618,1484,1558,1558,1584,1522,1490,1444,1542,1708,1732,1580,1076,642,609,1076,1252,1128,1036,1036,1092,1070,1060,1246,1362,894,905,1640,1780,1888,1892,1840,1794,1660,1402,1468,1396,1120,1206,1158,966,564,1132,1230,1000,1004,948,1120,1248,1066,933,968,1108,1202,1240,1162,1120,1124,1394,1516,1424,1030,865,968,1002,982,1024,1128,1234,1430,1372,1604,1360,914,1058,999,1064,1182,1136,1196,1036,1032,1142,1226,1164,1174,1190,1230,1192,1246,1312,1210,1268,1348,1222,1274,1606,1588,1350,1146,1224,1100,908,803,875,1038,876,883,1116,946,814,664,451,639,1064,1030,775,1080,1444,1360,1196,1230,1316,852,612,759,1082,1042,1004,1106,1146,1194,1184,1222,1436,1316,1456,1558,1368,1356,1064,630,718,778,783,1100,1262,1772,1878,1074,1007,808,1002,1504,1818,1490,1230,1448,1512,1166,885,696,759,890,1278,1422,1418,1138,843,672,523,418,415,434,426,459,401,300,271,264,375,440,332,303,323,288,291,358,320,325,379,373,357,318,328,380,553,887,1156,1230,1088,938,928,877,976,1011,987,1258,1264,1354,1356,1218,1170,1164,1216,1136,1015,963,852,564,438,417,614,959,1144,1282,1214,1322,1572,1782,1454,974,1708,2170,1562,1268,1286,1162,1184,1112,723,570,921,1160,1242,1392,1318,1324,1544,1388,747,446,505,747,1276,1550,1346,928,615,582,522,647,944,885,985,1144,1186,1146,1024,991,1188,1040,928,1116,1122,1198,1182,1074,1104,1052,935,933,1020,1128,1136,1086,1126,988,1126,1244,1112,1324,1386,1650,1610,1534,1526,1490,1542,1772,1830,1282,1516,2324,1594,904,1220,1350,1212,1146,1206,897,646,930,1060,1024,1258,1442,1020,1094,1016,1198,965,1118,1264,1142,1350,1714,1788,1626,1466,1334,981,1298,1354,1250,1036,636,470,391,542,1050,998,842,824,564,615,681,825,975,1230,1126,868,1220,1640,1234,681,810,942,1062,953,733,862,1064,1428,1312,1074,1202,1584,1572,1432,1058,855,1058,933,745,1036,921,1160,1432,1338,1172,1346,1334,987,888,1180,1238,1084,882,735,869,827,783,830,912,1012,953,655,538,768,1316,1232,1015,988,1396,1496,1498,1530,1730,1554,1212,1168,1312,1536,1428,1150,948,1170,999,1018,1246,1496,1324,641,426,517,703,455,570,1204,1338,1024,1034,1112,1076,1028,1050,1082,1178,1226,1248,1234,1400,908,1118,1274,970,1226,1328,1054,991,1300,1310,1344,1508,1476,1324,1534,1492,1728,1412,1444,1456,1152,1108,1054,685,933,1310,994,954,1110,1216,1230,1424,1164,1372,1860,1766,1576,1426,1144,1270,1284,1360,1300,1088,1013,886,830,876,982,1172,1188,916,935,855,631,771,1196,1246,976,604,449,534,583,620,762,702,610,603,717,1316,2242,2842,2016,1102,1003,995,910,927,977,1058,1386,1450,1274,964,752,1016,1384,1474,1003,656,853,856,887,1236,1318,1262,1176,1322,977,1007,946,999,915,664,783,998,1226,1086,741,989,808,769,614,566,894,1488,1034,797,1108,1278,960,470,419,839,1258,940,1112,1152,1358,1378,1264,1180,1244,1108,752,806,1302,1260,1030,849,1100,1142,1216,1282,1172,1204,1244,1130,1332,1588,1530,1332,1358,1444,1332,1108,1120,948,886,773,1184,1150,625,913,1196,831,951,1306,1188,929,878,780,874,1006,1134,980,915,871,629,639,839,1028,1158,1268,1032,730,651,559,459,409,493,445,354,512,871,987,923,753,662,705,1036,1166,1262,1350,1160,1040,704,924,1576,1570,1390,1516,1394,818,904,1340,1070,576,766,980,1168,1009,1084,1168,1628,1678,1484,1354,1112,742,939,1440,1306,1434,1598,1612,1400,1148,945,901,1200,1278,1188,1218,1374,1244,861,955,1444,1550,1580,1764,1972,1816,1520,1332,1180,1216,1384,1082,479,475,867],[1172,1146,1036,813,738,620,521,867,974,1570,1626,1468,1642,1668,1104,874,1080,1300,1422,1214,828,555,865,1400,1084,1404,1492,1278,1238,1190,1046,978,1108,1474,1504,1015,1026,1098,1228,803,457,957,925,469,336,327,426,858,1238,646,434,400,434,590,875,1200,1216,1218,1200,1176,1090,1064,1094,1068,1102,972,1108,1288,958,791,698,628,814,1019,840,882,762,519,377,452,761,1008,883,641,598,543,487,721,942,799,633,680,512,653,1194,1680,1488,1160,935,822,595,709,1016,637,318,361,512,797,1284,1238,830,854,988,667,375,540,698,905,899,507,463,686,797,741,1028,1360,1078,794,955,1242,1318,1092,984,901,1230,1476,750,527,845,658,393,370,357,330,405,465,536,762,1094,1354,711,1166,1220,1394,1042,697,948,1086,823,609,881,1060,981,814,436,309,349,371,552,847,1286,1490,1022,511,448,351,314,277,300,322,361,333,401,749,1234,977,580,474,375,568,525,500,680,639,446,399,328,476,628,427,648,1160,1164,1224,1316,1260,1308,1318,1446,1028,1046,1194,780,673,1238,1274,1156,2138,2662,2192,1252,592,418,706,1476,2046,1722,1466,1366,1562,1480,932,1278,911,886,1490,1038,1130,752,531,505,777,1314,1494,1344,812,443,883,886,954,826,1054,1068,1172,969,1142,1504,1558,1332,841,667,574,912,1192,1144,790,650,974,606,272,353,586,989,1386,1398,1064,1282,1128,1078,1228,1246,815,607,869,698,732,881,539,687,1080,1082,810,681,522,662,511,518,732,1076,1294,1196,1178,1208,1478,1254,673,467,437,535,718,873,656,401,342,356,487,477,307,350,551,1116,1510,1516,890,548,599,627,605,610,613,617,802,1190,982,776,865,915,1076,905,755,920,904,944,1015,845,687,868,1400,1776,1132,623,993,1362,1306,1204,1418,1396,1296,1310,1086,1124,1376,1110,813,539,419,415,413,453,485,557,654,439,381,401,462,463,519,537,755,970,1058,1162,1388,1588,1226,1238,1210,1009,1174,1194,1230,1200,919,740,879,843,905,951,819,665,611,565,552,677,995,1182,914,694,734,1008,1196,1154,1250,1282,1098,1152,1198,1100,1011,993,1106,1836,2098,1180,812,772,1046,1180,817,970,892,1116,1154,1182,1322,1358,1230,1250,1236,1046,1528,3436,2646,1216,1250,1384,1272,1228,1288,1324,1398,1462,1362,1120,1200,1162,1184,1320,1294,1220,1208,1068,1062,1136,1015,1050,1194,1592,1584,1262,1084,1176,1426,1332,1222,1136,1066,995,1016,1078,1444,1750,1588,1808,1766,1766,1882,1998,1924,1368,912,1136,1324,1268,982,746,836,1020,1176,1828,1746,1716,1630,1482,1324,1224,1162,1156,1116,1016,1032,761,675,724,662,582,909,1042,887,977,1007,872,862,747,779,743,858,597,1116,2214,1670,709,1082,1550,1594,1023,1098,1190,1330,1010,975,1074,1066,1202,1242,1190,1232,1210,1242,1128,1196,1450,1560,1438,1412,1488,1396,1650,1780,1154,909,1246,1194,1168,1308,1410,1394,1572,1600,1652,1650,1650,1706,1618,1442,1282,1098,1266,1394,1526,1578,1584,1666,1648,1838,1554,1340,1594,1626,1626,1626,1306,1272,1036,720,488,482,520,1042,1306,786,406,645,973,998,945,1002,1362,1408,1354,1150,1007,1274,1346,1204,1238,1240,1106,1234,1180,957,530,424,631,805,706,937,1134,1070,1088,1128,973,717,597,820,1272,1122,850,977,1242,995,1042,1328,1310,1018,1136,1690,1514,1370,1268,1156,1158,1222,1538,1538,1708,1742,1322,1102,963,779,946,1460,1078,990,1036,791,1134,1230,1272,1434,1686,1632,1060,861,774,695,648,675,721,914,666,967,1310,1078,964,1208,1180,899,743,647,706,672,466,357,513,1158,1428,1278,1372,1592,1822,1798,1602,1846,1406,2208,2474,2100,1746,1200,947,810,700,771,909,862,872,774,990,1116,951,938,1054,954,900,844,1292,1772,1628,1154,803,1024,1060,908,1056,1172,899,917,1400,1576,1326,1404,1642,1726,1612,1426,1166,1200,1346,1394,1354,1332,1270,1528,1734,1692,1758,1352,667,759,1150,1366,1330,1264,1484,1516,1606,1416,1086,619,609,689,613,633,795,708,1110,1360,1104,599,924,1334,1232,1262,1412,1288,1294,1312,1394,1078,816,858,1314,1538,1402,1348,1460,1616,1632,1476,1286,1480,1520,1172,1704,1686,1178,1074,1080,1120,915,602,440,441,894,1158,1350,1254,849,562,509,469,562,747,530,488,958,1036,1106,725,1032,1492,1456,1214,1268,1914,1550,821,813,1068,1300,1702,1552,1146,1640,1860,1488,1200,1122,1334,1506,1502,1520,1656,1578,1454,1160,1058,1310,1106,657,413,338,382,630,807,726,633,725,796,561,361,356,509,603,672,668,634,684,751,630,404,403,417,447,473,464,418,323,275,295,457,856,1186,1478,1234,657,684,686,703,633,569,472,462,397,459,510,521,650,532,493,472,489,445,512,649,1098,1332,1384,1240,1350,1642,1750,1598,1016,1042,1644,1448,1266,1404,1536,1554,1552,1522,1192,684,541,579,786,1636,1012,781,542,485,566,913,1130,1378,1538,1432,1362,1364,1070,971,1162,1226,1142,1040,1222,1262,1264,1432,1448,1298,1344,1308,1120,1166,1306,1578,1510,1102,1016,1130,1134,908,985,1266,1664,1428,1534,1714,1746,1998,2024,1836,1608,1204,1052,1300,1484,1228,1234,1632,1806,1694,1802,1968,1976,1952,1858,1508,1140,1098,1084,1300,1562,1664,1630,1644,1668,1616,1730,1734,1470,1516,1542,1344,1266,1364,1426,1394,1302,1282,1318,1288,1370,997,1386,1734,1782,1698,1556,1544,1626,1584,1378,1478,1324,1186,1032,960,848,667,1220,1346,1070,980,1015,1138,1256,1302,1324,1224,1374,1404,1324,1204,1290,1288,1174,1294,1414,1218,1056,1016,988,1050,1264,1288,1204,1222,1290,1436,1200,1122,1152,1152,1196,1266,1250,1184,1084,976,1040,1196,1216,1302,1404,1392,1234,1188,1148,1112,1274,1360,1262,1176,1312,1186,1114,1058,1128,1068,904,803,835,997,849,773,872,850,813,836,837,988,1150,1188,1072,1040,1220,1140,1048,1166,1078,943,636,481,517,657,944,1230,1344,1194,1416,1392,1490,1416,1546,1332,1192,1122,1004,875,699,610,590,819,1046,1506,1468,1064,835,719,896,1098,1238,1018,779,1092,1582,1260,1108,993,943,962,1100,1270,1346,1218,1324,1278,966,696,479,477,485,554,473,328,289,300,319,320,305,334,350,291,303,332,200,216,294,339,350,311,305,345,372,570,999,1116,768,807,1134,1078,1070,1062,1088,1298,1300,1072,929,971,1040,1124,1242,1132,897,746,815,560,511,811,974,1168,1356,1438,1510,1518,1538,1858,1432,1030,1582,2094,1622,1306,1226,996,1034,1216,1068,861,1098,1350,1340,1434,1526,1506,1576,1003,529,748,780,560,973,1432,1136,650,691,533,603,1054,1028,877,1116,1328,1290,1218,855,595,907,969,913,991,1180,1190,1184,1226,1254,1122,995,1142,1188,1184,1138,1134,1322,1208,1036,1180,1108,1336,1180,1542,1502,1148,1526,1538,1612,1594,1354,1300,1464,1648,1456,1194,1242,1376,977,626,785,895,949,1162,1208,1432,1174,1180,884,1013,846,889,998,1168,935,821,1144,1200,1416,1604,1298,1094,1166,1302,1236,1246,911,409,367,501,1034,1316,885,780,703,469,597,695,763,949,1066,1005,933,1044,1060,814,596,726,1072,1110,1064,907,902,1202,1448,1298,1074,1136,1184,1146,1274,888,640,917,1070,1220,998,1080,1416,1454,1180,856,912,932,1144,1248,1300,1208,1052,1248,1076,990,904,803,822,808,987,789,857,765,854,1198,1038,805,1286,1122,929,1404,1536,1248,1286,1176,1188,1204,1296,1382,1158,950,1072,1112,1154,1148,1164,752,470,440,530,813,612,746,1322,1262,877,972,1142,1066,1234,1198,1116,1086,816,745,957,1156,1180,1358,1262,1074,1232,1448,1200,1048,1224,1096,1304,1378,1206,1394,1436,1314,1094,1108,1484,1360,1436,1972,1576,916,771,1140,1284,1268,1200,1198,863,845,1274,1788,2056,1728,1220,1001,982,1174,1150,1068,1040,1162,1128,971,987,792,727,857,919,850,1040,1180,943,1078,1288,938,597,472,371,468,612,739,926,707,741,856,829,930,1746,2162,1346,725,1112,1320,1008,1144,1188,1304,1436,1404,1322,1512,1452,1224,1494,1338,804,681,951,1444,1438,1194,1100,1278,1132,847,916,1106,1003,948,985,1064,1142,1186,1112,880,859,1196,1110,1250,1004,1064,1480,1210,710,766,1044,1112,759,920,881,1198,1282,1208,1240,1342,1312,1228,1204,1208,1100,972,839,848,1196,1054,1102,901,1154,1005,796,1112,1378,1316,1394,1386,1380,1580,1406,1118,1430,1256,830,515,597,957,1142,962,1086,935,907,1004,1060,1014,1060,1142,1118,908,953,922,1019,1186,1194,1372,1522,1252,851,744,1001,1280,1346,1570,1086,568,586,642,594,586,578,496,610,893,1042,1062,1210,938,733,915,1278,1060,967,1082,1038,1040,724,763,1048,1362,1302,1214,955,739,1284,2116,1686,588,642,738,1050,1254,1072,1118,1440,1592,1602,1494,1306,855,819,1290,1238,1296,1432,1446,1318,1030,600,562,1068,1290,1178,1188,1376,1530,1308,1422,1566,1542,1672,1932,1980,1682,1288,1312,1532,1526,1312,1070,1034,749,558],[957,841,678,678,650,793,565,695,793,1378,1524,1326,1256,1256,1108,901,977,1302,1418,1100,610,448,547,1040,1040,1170,918,807,1216,1268,948,952,1146,1164,1324,937,764,871,813,545,403,470,448,327,312,363,383,662,1262,838,501,558,616,556,978,1174,1048,1146,1050,1262,1338,1244,979,644,854,1222,1184,960,997,968,719,605,925,977,816,793,655,382,309,669,880,932,874,839,938,803,674,716,666,661,467,362,412,570,792,1184,1238,1076,902,550,403,386,452,500,491,572,901,1212,1144,750,500,901,1246,780,667,912,844,844,1188,907,995,951,1048,806,781,1026,1001,827,941,1722,1888,1154,993,886,1023,1422,904,901,1060,595,389,343,307,318,368,442,710,850,996,1384,1178,1570,1602,1454,1156,919,932,985,1128,918,624,909,693,396,338,330,318,355,663,916,647,812,910,624,493,367,262,625,921,803,596,477,661,1208,1520,804,656,691,839,1378,786,768,849,525,376,498,642,956,992,491,847,1220,1009,1210,1318,1354,1376,1288,694,463,892,1021,704,867,1874,2138,1434,1656,2510,2728,2344,1178,555,461,776,952,1220,1620,1318,1422,1306,1490,1842,1262,1490,1074,1050,1622,1166,558,634,1188,1568,1746,1708,1068,555,661,600,596,741,1019,987,891,904,1116,1478,1460,1284,1274,690,830,1001,587,402,345,393,532,436,358,352,414,741,1040,915,685,779,725,943,1156,1220,954,934,1152,1013,677,548,388,359,520,616,571,654,589,467,638,938,1102,1312,1456,1322,1328,1164,1350,1142,713,588,546,672,934,1216,1088,736,367,351,932,1404,772,383,249,385,865,1032,735,606,597,545,587,641,612,656,713,820,809,1190,1252,1038,1136,1013,714,733,916,1208,1168,1368,1200,1470,1610,1654,1170,527,813,1244,1214,1120,1740,1358,1074,1122,1034,1134,1013,563,419,478,517,525,474,544,666,728,701,485,456,474,513,658,665,572,771,955,1102,1248,1434,1918,1318,1230,1442,1212,1240,1370,1208,1046,983,929,756,734,797,621,502,531,478,471,841,899,976,1196,1090,881,848,1038,1090,930,1128,1336,1202,1028,1120,1412,1248,1011,974,1442,1302,946,936,1030,1072,1194,1154,1122,934,1018,1026,996,1076,1162,1278,1146,1160,1005,1208,1528,1282,1140,1144,1294,1282,1272,1320,1262,1296,1346,1204,1108,1226,1172,1332,1276,1174,1222,1294,1015,1120,1108,969,1172,1306,1382,1380,1316,1134,933,752,648,724,809,742,644,647,826,1354,1692,1714,1672,1754,1816,1832,1902,1848,1622,1058,1070,1302,1300,1062,833,966,1036,1356,1494,1438,1716,1488,1266,1236,1148,1132,1098,946,826,693,731,900,976,939,982,1006,774,845,966,936,774,733,656,855,1028,857,690,1005,1142,735,688,915,1478,1494,1192,1184,1264,1190,883,832,888,952,1214,1278,1168,1104,1160,1232,1122,1150,1284,1282,1210,1464,1356,1238,1710,1780,1272,1090,1368,1350,1216,1418,1576,1554,1656,1716,1680,1566,1510,1526,1524,1368,1092,965,1222,1278,1674,1780,1390,1272,1472,1584,1108,931,1184,1212,1404,1592,1134,1218,1240,898,568,546,596,974,1208,684,423,682,1028,1023,1030,1436,1482,1332,1226,1148,1210,1296,1226,1118,1084,1122,963,1086,1094,959,868,816,877,801,520,705,1078,1158,1036,1062,868,1136,1106,785,854,955,972,1230,1410,1460,1604,1488,1156,1224,1488,1426,1142,1178,1256,1450,1496,1384,1504,1426,1686,1944,1254,1184,1126,651,651,656,948,1128,1188,998,1094,1072,1076,1382,1434,1518,1466,1044,752,624,664,935,1122,839,450,685,941,918,1130,1262,1292,976,669,574,619,662,541,422,716,1324,1334,1126,1152,1158,1168,1238,1548,1810,1566,2740,2592,2222,2004,1172,785,824,976,1164,1146,956,969,1040,1168,982,755,598,655,789,904,1007,1322,1646,1720,1572,1362,1510,1498,1356,1256,1224,991,1015,1404,1458,1322,1418,1534,1500,1578,1624,1228,1246,1526,1392,1300,1336,1318,1520,1786,1738,1634,999,507,485,689,1001,1076,1288,1422,1622,1790,1428,771,605,689,897,658,501,640,790,1050,1268,889,880,1194,1340,1314,1222,1330,1276,1172,1005,1288,1012,798,1294,1500,1332,1414,1396,1484,1686,1666,1600,1592,1600,1512,1324,1396,1238,1310,1420,1250,1390,1402,1238,863,454,570,936,1130,883,880,926,854,875,863,730,423,455,1005,951,1088,788,1122,1362,1078,1074,1194,1124,1148,980,1130,1130,1186,1340,1050,839,957,1050,1140,1010,1026,1392,1416,1282,1076,1274,1366,1364,1200,1326,1376,979,545,345,284,338,517,473,463,451,415,461,434,402,492,745,829,835,844,756,643,647,582,436,398,465,473,402,423,382,339,368,402,509,724,1060,1096,884,693,630,581,587,692,706,960,1058,665,636,562,548,925,492,539,619,651,588,659,846,1108,1294,1338,1404,1516,1430,1672,1622,905,982,2518,1970,1238,1382,1410,1250,1162,1112,897,620,426,568,930,1918,1318,741,529,880,1296,1186,988,896,805,753,1188,1542,1248,1098,1248,1162,1002,1046,1120,1036,1342,1706,1454,1388,1218,1202,1278,1384,1538,1554,1424,1172,1076,1256,1186,1018,1042,1120,1626,1648,2028,1360,1296,1426,1626,1964,1940,1604,1296,1260,1150,1064,1742,2152,1786,1746,1716,1924,2008,1952,1770,1144,1086,1460,1574,1322,1370,1450,1680,1558,1506,1448,1500,1726,1876,2166,2272,1958,1920,2036,2066,2158,2198,2050,2092,2094,2166,1706,1750,2002,1614,1066,1142,1350,1412,1576,1426,1398,1258,1036,937,1022,1122,1202,1412,1472,1434,1514,1616,1632,1584,1478,1398,1276,1256,1268,1156,958,929,929,863,988,1584,1534,1088,1056,1050,1258,1494,1350,1300,1230,1208,1274,1344,1442,1278,1204,1358,1386,1358,1262,1084,1021,925,937,1002,1174,1370,1428,1470,1320,1100,1058,1150,1216,1346,1388,1234,1202,1090,1104,1196,1172,1152,1028,980,1124,1012,1058,1028,890,949,1094,1194,1166,1056,1130,1144,1196,1268,861,708,1134,1342,1390,1412,943,415,661,1005,1216,1286,1364,1570,1278,1572,1638,1638,1572,1448,1250,1264,1272,810,623,631,808,863,1244,1476,1620,1346,989,1182,1306,1198,1092,927,1242,1682,1178,1058,1134,1122,850,688,1116,1346,1492,1938,1582,1464,1294,998,622,494,527,516,462,373,334,336,314,310,324,343,306,325,286,233,269,387,498,475,378,305,318,358,617,1066,1034,734,865,1118,1138,972,957,1038,1284,1166,899,1000,1054,1076,1132,1186,1056,866,803,703,484,843,1226,1168,1382,1934,2094,1626,1550,1588,1698,1460,1390,1454,1422,1102,1172,1338,1390,1418,1538,1528,1340,1312,1374,1326,1300,1382,1462,1534,1056,623,836,811,509,915,1428,1132,640,538,518,725,1001,1086,1114,1170,1256,1334,1156,996,631,859,1122,1192,1086,1226,1466,1582,1396,1230,1082,755,766,839,746,764,835,940,1116,951,1068,1186,1182,868,949,1046,1498,1828,1636,1500,1060,1094,1436,1590,1626,1718,1672,1584,1438,1152,1040,943,1112,1202,1312,1324,1384,898,588,460,637,1016,1044,830,976,700,822,997,1216,1222,1232,1002,946,1096,1122,1070,937,639,340,280,432,719,777,687,1044,659,497,634,664,750,1040,1158,1096,1208,1240,954,744,624,890,1246,1296,1372,1232,970,1174,1362,1268,1054,1138,979,1200,1192,669,513,777,1036,1158,1168,1446,1306,1066,1190,1088,940,847,1296,1502,1428,960,941,1214,1082,869,794,1204,1158,911,752,887,1144,1192,1312,1400,1122,845,1012,910,792,1138,1322,778,803,1216,1294,1314,1332,1498,1444,1268,1200,1238,1346,1158,802,399,426,473,409,647,912,781,746,886,838,858,1170,995,924,913,1392,957,890,647,525,1010,1458,1222,844,602,563,727,836,945,1070,1102,1262,1282,1302,1282,1268,1194,844,1072,1498,1294,1242,1524,1258,772,933,1178,1072,926,929,1160,1010,1210,1844,1590,1216,1200,946,709,776,1036,1338,1190,1186,1444,1426,1272,1188,503,591,838,727,875,1062,942,1122,1130,794,519,536,479,311,340,461,520,622,592,578,740,777,779,821,922,1438,2018,1834,1138,716,761,1021,1542,1386,1226,1468,2040,1798,1158,1164,1198,1184,1054,1021,1396,1412,1260,1238,1272,1080,1078,1150,1138,969,896,1072,1350,1086,1292,1298,1238,1284,1554,1244,1080,1056,1280,1372,1088,944,1104,1390,954,694,927,1116,1384,897,922,1388,1426,1268,1358,1410,1312,1136,1094,915,1146,1326,1080,1152,1260,1450,1254,774,1021,1436,1188,1194,1326,1310,1622,1582,1056,863,722,565,401,430,800,1172,1268,1482,1322,1306,1264,1194,1028,1234,1256,1234,1108,946,996,1144,1100,1286,1516,1132,1080,1118,1052,1234,1360,1452,1588,1094,649,651,606,461,529,634,651,1009,1202,1010,780,590,698,752,899,1108,804,910,1194,1126,1144,818,1015,1206,1338,1430,1448,1346,796,1040,1630,1556,772,478,642,1018,1072,916,1134,1194,1410,1728,1652,1374,1288,1240,1320,1266,1258,1520,1700,1462,1066,726,601,916,1196,1180,1252,1400,1546,1312,1146,1013,992,1418,1896,1858,1262,1136,1440,1680,1368,1290,1234,1438,1222,1204],[577,658,592,540,740,1084,719,587,730,1196,1392,1158,1110,1128,681,686,713,1304,1474,1322,1100,1134,1007,919,995,819,475,560,827,1003,1088,1080,1284,1086,1046,957,985,905,458,424,504,339,334,280,300,360,339,659,1340,1078,895,1094,763,503,683,636,697,982,1106,1280,1114,1044,815,527,777,1176,933,774,971,1020,940,871,1024,1076,676,405,426,513,542,485,457,615,861,850,850,1018,1312,1354,1242,851,660,753,675,702,833,943,958,1248,1328,999,455,310,450,581,626,620,632,552,449,558,697,672,349,263,601,1086,922,946,1280,986,1110,1152,971,633,350,438,650,832,1010,1354,1116,879,1011,786,667,917,801,1028,1042,617,469,365,399,536,672,489,507,502,761,1424,1636,1472,1318,1246,1288,1210,775,874,1110,841,498,683,539,401,721,846,421,476,839,808,389,714,819,607,352,276,286,835,1132,1140,1134,836,917,1500,1652,897,768,726,603,805,695,1013,1036,722,693,793,883,825,772,522,736,1088,1348,1390,1470,1428,1224,998,719,720,1336,1180,934,1100,1964,2084,1296,1308,2280,2586,2240,1686,1146,874,1096,1116,1318,1688,1722,1178,1206,1206,1372,1396,1154,783,1278,1668,1474,971,813,839,1148,1366,1264,535,594,724,544,531,563,651,1010,1262,1262,1134,1196,1156,866,905,916,1270,1042,664,451,304,441,514,360,350,465,579,617,750,725,558,721,1110,1180,1184,1448,1368,1158,739,702,796,681,812,606,623,776,885,1114,1032,722,890,984,1028,1018,955,1328,1078,642,1166,1378,1010,747,757,685,869,1188,1420,1618,672,376,907,1864,1866,1078,390,318,297,426,551,683,623,587,568,622,687,816,739,652,637,814,1064,1034,844,536,483,663,1106,1290,865,984,1266,1234,843,1150,1060,508,775,1128,962,775,1318,1216,1196,1098,1112,928,501,432,490,501,514,601,498,554,728,778,621,441,450,566,664,772,717,621,853,1050,1102,1030,1176,1484,1214,1328,1416,1206,1256,1288,1220,1015,969,1010,844,724,638,556,536,507,434,492,1016,981,865,1164,1226,1074,1144,1011,927,724,792,1011,1092,997,993,1200,1190,981,981,1046,1058,1214,1002,1092,1164,1294,1268,1042,1076,1208,968,871,979,920,1064,1064,1178,1232,1522,1502,1444,1242,1118,1224,1262,1256,1334,1328,1166,1306,1146,1156,1110,1238,1320,1222,1222,1230,1178,999,1013,1070,954,906,1134,1238,1238,1200,1044,745,696,800,811,890,752,698,686,846,1302,1622,1738,1778,1842,1904,1826,1802,1944,1902,1282,1118,1254,1226,1272,1232,1282,1186,1248,1426,1544,1748,1580,1456,1284,1142,1060,986,851,812,1242,1500,1192,1284,1100,984,817,654,762,944,1028,1020,980,860,1048,1094,866,971,1056,694,710,843,892,1382,1420,1158,1023,1150,1232,1042,825,840,1068,1236,1024,1042,1116,1276,1218,1148,1044,1040,1208,1502,1372,952,1280,1462,1576,1494,1470,1588,1632,1572,1612,1716,1708,1644,1522,1554,1920,1904,1788,1634,1526,1394,1170,1250,1448,1880,1656,1300,1360,1456,1500,1298,1430,1240,996,1350,1538,1250,1202,1428,1126,651,572,681,1182,1356,635,426,682,1028,1308,1194,1232,1130,1058,1028,1122,1326,1368,1124,1142,1362,1346,1278,1328,1290,903,1068,1280,1044,828,687,504,581,955,1034,1110,766,1042,1264,943,993,896,946,1454,1790,1638,1626,1374,1266,1310,977,1028,1316,1126,1156,1522,1632,1520,1520,1628,1834,1996,1568,1698,1322,779,768,828,996,1126,1126,1154,1054,765,879,1188,999,1134,1138,1130,1448,1064,982,1130,1030,915,841,783,671,788,1032,1028,1102,1034,913,611,527,615,623,624,966,1412,1360,1064,967,1050,1092,949,1066,1154,1294,1596,1544,1772,1730,1332,1172,1300,1256,1306,968,1004,1114,1266,1240,1013,726,623,698,816,968,1042,1122,1478,1748,1738,1716,1520,1446,1468,1412,1406,1308,1290,1322,1250,1354,1586,1350,1023,1316,1596,1510,1494,1426,1300,1240,1306,1150,1094,1380,1744,1562,764,471,451,451,548,735,1015,1372,1816,1758,1064,570,562,677,863,649,623,1152,1342,1326,1098,973,1348,1598,1542,1558,1672,1290,716,576,720,1174,1148,1082,1522,1368,1292,1422,1448,1508,1792,1708,1570,1292,1166,1146,1286,1488,1656,1792,1666,1344,1208,1600,2050,1448,1023,724,541,632,516,521,637,717,692,665,397,348,540,1108,1258,1018,1013,1296,1332,1146,1218,1520,1658,1756,1482,1436,1256,1178,1090,1052,1198,1300,1246,1122,1180,1272,1516,1408,1092,1056,1234,1416,1318,1272,1320,974,576,417,370,288,301,344,375,545,452,379,479,546,500,587,691,638,611,714,672,481,418,385,383,370,347,318,332,337,345,398,406,379,391,486,627,774,733,728,737,514,709,1250,1392,1478,1386,807,899,756,1048,1552,899,1026,1086,725,659,820,800,800,1048,1422,1490,1624,1598,1758,1840,1202,928,2282,1998,1030,987,1030,898,800,741,847,982,655,630,878,901,610,607,956,1272,961,561,607,728,789,888,1364,1700,1536,1372,1588,1448,1086,1158,1314,1390,1910,1990,1304,1370,1370,1274,965,1048,1328,1282,1406,1488,1472,1468,1368,1204,1102,1052,966,1056,1116,1466,1624,1542,1536,1572,1624,1388,1354,1404,1136,1576,2116,2334,2204,1690,1334,1582,1866,2004,1534,860,1210,2678,2602,1484,1326,1466,1406,1520,1598,1540,1522,1746,1814,1812,1948,1932,2048,1988,2008,1960,1948,1960,1960,2012,2126,1960,2066,2102,1578,1346,1874,1824,1564,1776,1676,1614,1430,1284,1230,1276,1482,1608,1544,1358,1312,1302,1170,1116,1078,1050,1154,1154,1040,916,803,918,1024,1042,1016,812,1132,979,1064,1078,1064,1144,1096,1152,1182,1094,1180,1076,1036,1184,1296,1380,1390,1168,1512,1506,1382,1224,899,985,925,1021,1180,1264,1394,1332,1170,1094,1224,1428,1828,1606,1122,1140,1068,1134,940,765,708,963,1124,1274,1230,1192,1126,993,988,1028,1034,1084,1058,1060,1060,1184,1204,1056,995,1380,1520,1646,2084,1708,1310,1266,1390,1178,1015,977,1268,1676,1686,1424,1708,1606,1328,1104,1154,1180,766,565,841,811,729,976,1332,1694,1344,1128,1576,1516,1228,1226,1300,1428,1588,1208,997,1022,1150,1078,913,1068,1084,1334,1816,1422,1400,1440,1466,1254,929,665,488,412,392,345,306,372,345,292,339,308,281,313,325,387,512,599,611,442,321,315,310,449,790,1013,1090,1162,1142,1116,1046,1034,1184,1246,1140,927,899,921,983,848,724,824,939,923,673,827,1328,1506,1498,1594,1786,1454,1108,1398,1484,1286,1048,1068,1212,1196,1214,1424,1584,1650,1316,1418,1490,1344,1266,1306,1162,1096,1108,1152,1422,1332,827,567,596,697,1212,1588,1228,707,484,768,1042,1168,1338,1358,1194,1250,1348,1162,1170,928,898,990,1138,1274,1302,1308,1410,1406,1208,1328,1152,1258,1108,819,795,795,701,754,848,1084,1366,1001,707,867,781,1400,1500,1534,1958,1920,1140,948,1088,1300,1766,1770,1628,1340,1198,1376,1196,1260,1130,863,899,1178,1023,616,698,1007,1310,1318,1188,1166,983,1096,1040,1108,1168,1274,1146,1024,1114,1166,922,731,731,361,237,314,415,352,649,749,499,420,496,670,1070,1554,1346,1294,1354,1218,1072,825,740,1206,1562,1422,1300,1028,880,1090,1410,1356,1090,1034,1156,1188,1076,1004,912,872,1052,1144,1320,1446,1202,880,1078,1148,960,1138,1520,1420,1344,1328,1412,1404,1126,950,1224,1236,1174,1250,1300,1034,945,1076,1042,1064,960,672,696,836,1052,945,946,1260,1402,1366,1572,1604,1432,1418,1448,1376,941,902,1010,717,538,401,396,543,447,910,1392,1258,1038,1064,1170,727,893,611,651,738,1138,1154,1318,1054,877,1152,1288,1070,707,744,670,521,615,947,1142,1180,1130,1014,1082,1344,1464,1354,1248,1534,1418,1284,1150,1574,1334,769,846,1116,1166,865,667,942,1116,1186,1680,1350,943,955,749,660,721,1158,1252,1138,1218,1230,1260,1342,1050,538,346,302,686,1116,1044,1066,1132,820,625,572,526,552,626,609,721,505,352,516,693,638,642,809,821,1048,2062,2534,2040,939,423,479,969,1078,869,867,969,1220,1192,893,890,902,925,955,1152,1326,1260,1166,1248,1054,983,1178,1266,1166,1088,1274,816,1160,865,948,935,1254,1514,1332,899,739,752,1044,1128,840,1148,1288,1040,518,370,404,702,747,592,882,1320,1542,1388,1550,1560,1286,1338,1556,1078,1015,1114,960,1222,1486,1402,1478,1328,996,1038,1042,1098,1228,1406,1626,1708,1524,1005,653,646,598,745,915,1416,1294,1498,1390,1152,800,951,1110,1132,1068,935,612,831,1168,1126,1142,1224,1392,980,879,1082,1032,1088,1202,1170,1178,1024,946,834,631,563,499,574,639,894,1042,894,705,589,569,518,636,904,765,891,1228,1130,1044,763,776,764,1206,1626,1496,1094,691,972,1296,1450,826,503,634,879,976,969,818,865,1154,1502,1708,1380,1408,1320,1404,1276,1150,1098,1050,886,778,925,599,747,1028,1014,1132,1194,1252,1116,1066,962,1078,1460,1808,1804,1334,1502,1434,1540,1606,1752,1588,1284,1144,1194],[650,568,525,624,1136,1210,633,483,666,719,929,1064,845,636,555,764,601,1080,1338,1354,1378,1198,791,717,730,624,531,484,509,723,1240,1238,1100,951,1170,1106,902,747,489,514,721,485,367,341,327,332,322,708,1178,984,886,886,671,695,838,708,855,1100,1152,1114,1200,1138,1140,861,779,1158,1090,1011,1084,803,739,746,1132,1514,953,553,767,1302,1342,779,702,640,835,835,891,966,1015,1148,1260,810,650,749,566,701,977,988,797,867,1166,1206,468,288,677,819,680,765,858,800,995,1220,860,598,371,299,347,694,1078,1160,1078,735,670,933,910,669,450,412,476,918,841,1102,1150,645,666,613,681,957,843,589,464,455,397,373,583,999,1328,857,478,301,606,1344,1692,1802,1672,1138,1318,1460,1016,849,636,658,672,828,921,612,666,703,521,595,633,473,311,594,888,774,422,314,343,518,777,1058,885,907,1060,1842,1516,1306,998,551,505,968,1078,1110,951,877,1340,1172,1084,817,623,578,533,694,939,1112,1220,1390,1356,998,763,859,1770,899,673,912,1558,1288,734,715,1612,1914,1418,1642,1578,1138,1330,1216,1102,1202,1268,791,921,896,1072,986,507,832,1248,1156,1356,1132,893,891,915,910,654,309,416,482,508,469,365,546,988,892,876,827,839,764,561,728,786,765,786,781,496,396,374,302,281,322,885,875,699,802,970,979,1098,1512,1390,1076,1236,1116,720,428,382,753,1108,1208,909,977,1192,1120,928,896,636,619,780,1184,1268,966,1100,924,811,1184,1442,1192,1058,924,904,835,1256,1806,1700,915,680,1152,1542,1972,1758,849,325,377,407,497,656,623,572,536,638,575,534,664,776,751,847,979,753,513,390,340,570,1012,1078,972,901,1032,1108,751,475,392,469,592,594,519,1009,1202,932,996,1015,893,669,422,471,511,427,390,546,464,530,669,639,556,476,511,672,777,933,1024,773,1038,1094,878,832,1112,1266,1082,1260,1238,1138,1282,1122,1178,995,990,874,699,578,482,489,450,521,486,611,1015,849,963,1226,1114,1152,1206,1190,1116,753,608,872,1236,1238,988,1150,1178,1136,1170,1218,1274,1194,872,849,860,1034,1088,1042,1218,1210,904,985,1098,1520,1356,1268,1132,1156,1256,1126,1140,1178,1078,1132,1194,1174,1170,1404,1302,1362,1250,1130,1076,1294,1226,1140,1276,1282,1288,1048,1072,1200,1178,837,1102,1506,1386,1172,1086,836,657,670,683,893,971,943,927,1021,1368,1726,1952,2144,2054,2064,2024,1982,2024,1904,1308,1060,1194,1256,1312,1356,1410,1382,1440,1480,1570,1670,1544,1162,1068,1056,1172,1214,1050,1032,1316,1428,1238,1322,1110,848,678,674,644,1130,1346,969,881,977,944,796,759,917,1138,844,896,973,938,949,1192,1230,929,1080,1346,1166,1052,1228,1242,1202,1122,1454,1394,1532,1360,1110,1066,1180,1556,1826,1404,1354,1556,1482,1796,1716,1738,1770,1720,1604,1536,1410,1310,1300,1322,1498,1970,1860,1476,1370,1278,1100,1144,1474,1812,1826,1406,1316,1310,1400,1332,1194,1298,1166,910,1192,1506,1246,1294,1522,1244,822,604,750,1412,1356,617,363,734,1074,1296,1208,868,895,1050,1090,1048,1148,1232,1326,1506,1666,1582,1422,1456,1322,1026,1094,1216,1222,1198,1052,873,661,833,930,1186,1168,861,835,1102,1250,1023,1036,1356,1390,1384,1452,1482,1528,1494,1100,1106,1170,943,1112,1478,1566,1432,1322,1356,1694,1784,1582,1350,905,705,1086,1188,1264,1412,1264,1366,1356,1005,986,1190,1218,1178,842,1250,1756,1498,1296,1166,922,880,1028,1042,992,976,1094,819,959,1216,1001,647,603,644,665,745,1046,1124,1146,1100,1136,1568,1418,919,984,1042,846,977,1106,1110,1194,1190,1528,2604,2014,1842,1774,1358,1180,1354,1356,1007,755,763,999,1242,1220,1086,1032,1406,1798,1830,1632,1266,1122,1182,1360,1424,1558,1554,1384,1362,1498,1552,1198,918,1118,1468,1624,1586,1410,1282,1300,1238,678,480,580,798,733,528,471,457,439,465,551,715,1018,1482,1318,713,539,503,572,584,525,913,1494,1420,1208,1200,1144,1354,1688,1554,1686,1886,1202,841,1244,1318,1328,1454,1720,1820,1354,1278,1216,1288,1306,1300,1456,1272,912,1058,1228,1382,1496,1474,1478,1564,1640,1482,1580,1774,1350,1422,1054,453,705,850,754,510,499,447,447,405,502,883,1356,1318,1262,1482,1632,1508,1252,1212,1450,1432,1418,1474,1470,1386,1318,1166,933,824,844,834,786,1216,1180,1180,1002,1074,1360,1424,1424,1180,900,875,772,616,408,335,322,415,373,435,476,499,494,551,601,569,526,444,432,547,571,413,342,301,255,364,422,301,262,386,506,490,456,814,614,631,763,810,819,986,1368,1302,1114,1320,1634,1676,1526,1278,730,1132,749,1023,1280,985,1060,911,692,777,807,789,885,1015,1470,1454,1664,1476,1704,2014,1734,1970,2046,1300,1134,1544,1620,1144,1058,1082,1172,1268,814,546,542,415,492,728,928,713,724,860,857,833,772,842,1278,1802,1620,1344,1544,1374,1020,1068,1234,1376,2016,1756,1470,2160,2316,1860,1112,1294,1606,1418,1506,1318,1278,1324,1312,1428,1500,1380,1342,1174,1252,1674,1880,1760,1274,1202,1240,1164,1588,1418,1246,1770,1996,1926,2030,1626,1184,1340,1488,1624,1282,1176,1372,2230,2344,1522,1660,1754,1392,1280,1196,1228,1492,1616,1556,1550,1876,1854,2094,1916,1908,2040,1958,1864,1782,1990,2186,2304,2222,2076,1414,1500,1884,1954,1818,1812,1818,1688,1570,1528,1362,1222,1230,1222,958,873,895,904,904,1015,1076,1076,1186,1208,1078,887,799,1086,1282,993,771,824,1116,1028,1128,1160,1252,1322,976,1032,997,1164,1798,1554,1176,1054,1076,1166,1174,1290,1444,1148,1066,1038,834,1005,909,940,933,970,1136,1210,1166,1162,1202,1154,1170,977,813,910,995,1005,809,698,971,1190,1104,1224,1376,1286,1110,1011,912,1000,973,1104,1038,1154,1216,1130,1140,1214,1188,1162,1212,1430,1526,1250,1506,1588,1372,916,886,984,1206,1666,1500,1328,1554,1464,1196,1332,1406,1320,908,798,1260,1280,1005,943,1204,1456,1582,1682,1602,1372,1260,1570,1504,1398,1550,1314,1028,1068,1186,1246,1256,1346,1034,1146,1156,1170,1368,1386,1278,1264,1268,1194,784,394,386,320,265,339,362,381,405,318,326,424,442,532,660,753,686,408,335,328,340,465,858,1096,1146,1162,1192,1180,893,756,892,912,893,768,759,739,893,745,805,1074,991,723,890,1252,1462,1750,1650,1454,1334,1326,1156,1258,1158,810,678,906,1454,1854,1556,1424,1394,1378,1162,1360,1654,1464,1396,1648,1604,1300,1080,929,1228,1486,1304,1015,1042,1214,1410,1584,1370,814,544,866,1416,1550,1514,1534,1376,1202,1042,1042,1034,985,994,1142,1312,1308,1198,1120,1184,1106,1064,1334,1334,1278,1056,998,971,818,631,791,981,1188,1550,970,819,739,634,1112,1244,1260,2088,1986,1226,1152,891,983,1322,1444,1722,1360,1034,1168,974,1160,1130,778,869,1232,1218,741,802,1094,1240,1498,1176,949,789,922,1021,962,1070,1186,1178,1066,1066,1023,945,1030,857,387,297,388,450,420,392,394,418,452,543,758,1162,1478,1034,1024,1208,1146,802,683,746,1194,1432,1150,745,685,848,1108,1208,950,902,1194,1218,971,1154,1396,1234,1270,1296,1216,1444,1278,1156,1052,932,1434,1356,1348,1534,1422,1524,1556,1510,1534,1288,1400,1494,880,944,1304,1254,1007,1082,1152,1070,852,545,508,893,1132,1116,578,522,1072,1438,1754,1848,1642,1440,1344,1388,1462,897,999,960,462,422,414,428,459,612,1454,1856,1540,1308,1234,1060,737,995,1060,1086,959,1013,1284,1484,1370,1074,879,759,736,579,704,836,778,678,681,797,885,1066,1266,1246,1270,1284,1372,1368,1386,1324,1200,1062,1194,1406,994,643,910,1122,929,717,756,744,664,1210,1132,770,860,933,1009,1094,1208,1144,1072,1022,992,1204,1342,1232,1074,583,482,937,1330,1274,893,602,546,630,570,494,494,466,887,1376,965,482,514,681,814,1122,945,858,1260,1870,1732,1156,720,534,691,854,601,502,675,927,1024,1104,1038,846,803,870,1017,1282,1282,1056,1130,1146,816,940,1410,1416,1236,1132,1280,935,1266,948,698,841,1150,1336,1082,581,455,467,697,1054,1246,1670,1328,706,524,469,559,509,453,753,1218,1372,1656,1588,1518,1526,1272,1364,1556,1184,979,1190,1248,1156,1316,1312,1522,1200,1156,1178,1214,1252,1378,1570,1740,1758,1654,1172,824,714,754,904,874,1240,1246,1144,1020,883,902,1178,1132,946,1020,1010,521,698,1402,1168,1000,922,1244,1214,1150,1234,980,943,1140,1298,1410,1266,1004,878,1138,1136,854,566,545,685,682,556,469,421,401,408,409,524,526,827,1250,1294,882,561,823,1100,1502,1598,1470,1176,1176,1194,1378,1480,924,623,777,957,1172,1162,679,915,1224,1588,2180,1790,2070,1946,1404,1048,731,656,763,653,602,979,758,1066,1076,1186,1284,1066,1178,1392,1388,1282,1274,1362,1716,1820,1554,1348,1496,1794,1594,1340,1432,1422,1296,1168],[986,905,830,1110,1274,957,636,772,652,759,963,1220,936,723,654,828,854,1090,1146,931,852,739,525,613,393,399,437,354,480,806,1136,1266,1030,758,1136,1192,1154,1154,766,459,503,411,342,353,446,464,401,759,1142,968,795,467,657,1294,1504,813,645,1007,1194,1262,962,769,1074,854,879,1306,1074,1090,965,1326,1340,702,680,986,847,535,823,1396,1238,752,797,790,807,677,796,662,469,602,865,741,523,571,432,612,1084,1066,722,656,1638,1200,375,429,832,1036,943,990,1136,853,926,987,650,426,323,279,305,410,813,1122,946,789,511,993,1382,1230,864,703,630,971,718,544,429,323,567,1072,1278,1238,940,450,445,500,370,422,841,1296,1420,1216,804,320,497,1108,1562,2012,1920,1174,1146,1366,1106,665,512,886,1122,985,643,625,425,595,881,943,637,444,317,448,781,684,369,365,453,760,944,818,558,940,1676,1936,1348,1422,1296,765,826,1124,960,1098,1072,1152,1152,904,1013,846,645,568,576,547,550,760,1190,1244,1006,678,531,655,1120,592,432,442,785,850,731,477,779,1108,755,695,992,947,813,745,957,716,521,741,658,611,887,722,410,623,745,788,852,757,938,1322,1100,750,463,348,343,475,644,537,657,959,1038,1108,1003,807,1017,883,711,721,461,502,732,586,555,467,390,369,354,281,713,675,598,912,1142,1282,1312,1406,1284,1250,1118,522,300,349,314,614,1176,1050,694,847,1056,1092,891,615,497,515,755,1120,1204,1028,874,1164,1322,1336,1388,1712,1294,1010,1226,1030,1152,1322,943,571,707,1340,1816,1740,1340,1070,1076,774,530,526,612,576,471,445,545,528,450,527,720,679,727,921,1040,1090,780,469,486,731,855,969,1070,1326,1360,1090,626,631,837,1256,827,871,1396,1210,870,991,1122,1078,800,439,516,504,387,344,379,397,487,519,532,615,628,825,1174,1340,1472,1450,919,943,861,1206,1388,1584,1508,933,1090,997,1124,1324,1004,1114,982,1028,770,540,451,392,349,340,432,479,665,893,745,1122,1170,1182,1214,1246,1158,1082,789,514,727,1114,1134,987,1200,1102,1060,1019,1300,1394,1116,896,863,1026,1200,1104,1060,1356,1108,624,802,871,1194,1296,1358,1080,1172,1246,850,1048,1172,1082,772,781,834,1072,1154,1174,1174,1096,1164,1144,1154,1198,1132,1096,1168,1268,1212,1190,1268,1168,888,982,1256,1240,1218,1208,901,694,768,854,1198,1348,1194,1114,1072,1250,1682,1852,2102,2008,2056,2128,2066,1980,1786,1246,838,869,1170,1358,1320,1478,1440,1300,1130,1032,1390,1440,1134,965,1092,1396,1224,1238,1192,974,995,945,1050,920,694,739,844,739,1372,2104,1590,1250,1098,871,724,928,1062,1234,991,942,1084,1018,827,1122,1404,1210,1080,1324,1108,724,917,1015,1200,1184,1164,1336,1560,1388,1188,1114,1354,1510,1708,1546,1754,1760,1770,1782,1684,1666,1580,1414,1122,921,974,1648,1742,1642,1476,1586,1450,1396,1272,1054,930,1146,1688,1884,1588,1832,1442,1182,1270,1070,896,940,912,839,1009,904,824,1362,1588,1262,902,750,786,1542,1336,600,408,835,1118,1338,1304,730,762,1070,1052,912,995,1226,1296,1766,2126,2054,1606,1294,1260,1158,1172,1422,1338,1314,1172,1180,1076,1078,1084,1284,1292,1150,1094,1198,1476,1240,1096,1412,1494,1366,1268,1344,1294,1210,1046,1238,1380,1198,1182,1542,1538,1512,1670,1594,1664,1618,1462,1222,966,888,869,968,1504,1652,1350,1528,1582,1290,1296,1104,918,1122,1118,1158,1388,1404,1368,1238,1048,1100,1256,1088,1088,1084,1009,912,1302,1378,860,735,781,775,780,796,1162,1198,1194,1218,1304,1642,1364,939,1158,1244,800,943,1194,1020,931,769,1030,1500,1710,1998,1960,1544,1202,1246,1096,909,808,868,1160,1194,1288,1302,1266,1306,1394,1506,1416,1140,1134,1252,1410,1422,1622,1536,1584,1554,1542,1248,1128,1250,1234,1278,1502,1546,1512,1366,1166,829,611,515,490,531,537,523,494,491,620,775,807,538,697,891,803,756,606,503,537,536,517,902,1170,1062,960,904,1013,1380,1582,1544,1670,1820,1550,1422,1584,1322,1202,1616,1784,1544,1400,1162,1046,1044,899,880,1088,873,977,2084,1792,1494,1438,930,873,1380,1718,1664,1590,1498,1648,1918,1140,673,1184,1258,867,858,954,960,727,516,584,993,1128,1028,1274,1362,1538,1448,1238,991,899,1086,1328,1346,1536,1434,882,727,788,848,1250,1242,1446,1644,1450,1084,1070,1184,1378,1556,1422,956,561,494,499,404,354,331,323,343,451,450,363,359,415,520,546,523,486,417,374,468,435,348,323,389,615,805,751,568,653,916,1116,1017,931,1312,1434,1434,1234,1402,1628,1754,1960,1878,1710,1722,1824,1610,1272,1216,768,516,346,445,574,729,850,593,551,649,694,703,811,1150,1506,1370,1438,1444,1640,1502,1102,1188,1042,985,1140,1400,1444,1274,1284,1156,1108,1230,927,752,670,490,726,1070,912,728,1228,1066,816,758,783,792,1192,1760,1538,1256,1382,1244,1076,1158,1128,1510,1836,1432,1768,1860,1444,1364,1194,1542,1740,1922,1942,1998,1612,1350,1316,1328,1240,1230,1310,1348,1572,1772,1732,1708,1374,1324,1286,1428,1508,948,1070,1548,1716,1592,1208,1046,1402,1276,1078,1326,1514,1594,1548,1774,1640,1844,2688,2214,996,967,849,1212,1318,1444,1498,1460,1530,1704,1864,1876,2138,2410,2146,1758,1698,1990,1972,2004,2038,1952,1192,1340,1782,1930,1898,1786,1670,1216,1004,1023,863,788,930,1058,1001,938,1036,1017,1064,1188,1010,937,1024,1042,1032,926,886,1052,1448,1474,1122,1204,1500,1250,1056,1216,1288,1348,1216,1114,1050,1516,1634,1354,1250,1088,957,1021,1196,1378,1330,1118,1196,1672,1186,700,655,859,879,944,1190,1268,1136,1050,1086,928,804,729,844,938,1024,1068,1056,972,1108,1154,1056,1148,1236,1140,1120,1130,1130,1314,1230,1070,865,832,885,819,910,1146,1118,1156,1296,1338,1184,1256,1398,1310,943,882,1346,1498,1336,1100,1176,1302,1526,1364,1364,1220,1148,1094,1102,1348,1550,1564,1290,951,820,1358,1622,1670,1470,1344,1300,1326,1264,1320,1558,1380,1130,1214,1276,1338,1612,1644,1370,1380,1166,1066,1192,966,872,916,844,1166,1256,1088,734,531,413,387,375,464,443,321,325,389,446,551,719,758,621,369,318,303,326,350,576,891,1002,962,930,767,553,644,814,880,796,667,768,883,1026,965,922,952,894,871,1126,1238,1504,1572,1324,1234,1130,1172,1148,1258,1154,959,1234,1418,1548,1506,1268,1286,1394,1336,1186,1238,1208,1142,1274,1542,1408,1078,1026,902,1122,1448,1468,1396,1440,1416,1408,1358,1136,1154,1015,813,1140,1388,1400,1394,1176,1158,1088,1124,1230,1192,1016,1066,1086,1070,1106,1130,1088,1092,1064,1344,1188,1094,1234,1078,993,1142,1076,1150,1318,1400,1468,1152,1010,922,961,1078,1226,1264,1356,1236,1092,902,915,1096,1188,901,1178,1136,1178,1040,813,855,1030,1308,1432,1218,1122,661,941,1218,1196,1596,1348,1138,1014,1116,1158,924,1007,811,907,1122,957,952,1192,1350,910,428,397,592,777,739,410,462,419,505,763,812,729,660,518,482,902,882,467,450,732,1110,957,849,619,524,583,714,1024,1036,1172,1556,1390,804,890,1252,1340,1654,1698,1526,1482,1412,1530,1080,995,1500,1354,1256,1302,1468,1492,1322,1240,1280,1092,1272,1258,868,920,1230,1290,1390,1456,1390,1182,604,426,418,578,594,456,413,575,869,1288,1578,1582,1470,1482,1332,1288,1312,1216,1224,772,490,439,414,442,444,816,1510,1820,1550,1060,1246,1434,1258,1420,1550,1294,1056,1222,1368,1340,989,1023,1128,886,686,513,504,639,756,886,1038,1012,888,995,1268,1190,1005,1038,1136,1262,1352,1348,1358,1396,1256,1042,628,595,1142,1050,825,972,1310,918,893,1172,793,493,876,1382,1478,1316,965,1013,1164,1148,1162,1452,1272,1376,1342,805,744,1200,1538,1364,675,339,379,523,541,559,613,583,872,1216,1104,651,426,625,813,1106,763,620,864,1106,1256,1106,1080,952,701,530,416,378,530,816,891,983,896,670,632,767,1048,1252,1166,904,872,1001,906,989,1252,1338,1322,1194,1156,1270,1362,1116,867,675,963,1300,1410,843,551,450,633,1322,1570,2136,1450,593,583,783,930,765,687,1170,1322,1468,1554,1582,1578,1726,1470,1206,1210,1005,724,1044,1286,1288,1382,1456,1572,1434,1384,1364,1220,1178,1406,1550,1380,1142,1384,1336,1288,1244,872,964,1028,1154,899,876,1256,1060,962,1140,1148,880,966,1072,872,902,1496,1416,1196,1142,1122,947,1162,1390,1162,1194,1322,1378,1356,1102,684,586,976,1172,819,581,653,535,485,404,399,389,380,375,385,518,499,713,1050,1288,805,509,895,1172,1372,1386,1268,1354,1524,1258,1108,1128,1078,1013,1112,1086,1206,1272,932,911,1246,1534,1986,1836,1662,1088,916,941,615,643,916,943,622,790,762,919,921,1226,1176,1052,1398,1452,1262,1019,760,1160,1672,1710,1678,1366,1358,1650,1490,1032,1148,1288,962,1090],[1132,1096,897,1072,1214,901,582,779,815,1036,1096,1042,1306,1416,1252,1604,1672,926,766,400,302,346,382,551,427,360,365,341,418,767,1054,1220,1390,857,823,1017,940,1108,1082,705,497,390,343,381,520,542,467,672,1130,905,761,535,813,1222,1238,909,1034,1388,1534,1396,1152,1130,1210,1042,899,1166,905,949,1140,1870,1672,736,435,650,795,436,592,802,573,408,430,753,783,494,383,393,379,376,428,473,459,494,432,419,788,1082,980,1278,1816,985,539,888,1019,968,1122,807,924,773,521,453,376,296,321,346,518,600,819,1272,910,937,515,901,1416,1280,936,594,610,705,613,521,440,414,630,1102,1288,1198,1108,673,530,515,375,770,1238,1230,1344,1174,670,320,367,965,1460,1574,1312,1086,1300,1550,1216,832,1024,1082,1096,1058,944,1104,1054,1248,1220,973,896,787,571,582,680,441,290,434,775,1370,1200,785,761,1064,1560,1544,1566,1594,1410,1294,1282,807,857,1332,1166,1136,1090,1016,702,608,670,697,649,512,503,757,1136,853,584,347,360,446,494,378,354,444,612,859,867,690,604,849,907,749,692,1016,922,1288,1688,1266,1096,1128,591,491,590,736,716,769,1007,918,588,435,576,854,924,635,592,697,479,393,546,591,636,1100,1172,1108,1126,1164,1402,1230,711,706,665,352,351,393,561,449,426,367,323,293,397,465,754,1228,1284,1262,1300,1352,1346,1412,1304,745,367,490,781,1092,1256,1116,936,894,1152,1272,1014,625,717,775,1036,1104,1076,1076,843,1286,1344,1302,1540,1904,1212,1492,1184,1256,1368,1206,1104,833,738,1106,1594,1522,1002,1068,1572,1348,1018,813,673,599,490,386,399,409,271,333,525,524,1110,1162,1070,1338,1260,780,543,589,832,1246,1456,1476,1484,1292,931,688,842,982,655,893,1260,1066,998,1272,1434,1416,1092,674,665,579,451,405,381,387,433,519,619,711,1072,1318,1594,1682,1754,1510,1096,863,875,1736,2402,2368,1594,863,1012,744,1038,1172,962,979,1028,841,720,690,442,363,335,378,386,373,406,467,560,995,1124,1060,974,796,716,775,637,542,568,921,1036,1130,1202,1194,1130,933,1052,1200,1056,901,936,1080,1266,1224,1144,1300,993,659,792,1001,1194,1306,1210,1146,1338,1224,991,1202,1256,1019,1015,1042,900,1160,1318,1340,1262,1226,1284,1180,1162,1248,1066,1040,886,983,1410,1400,1300,1388,1282,997,835,1086,1196,1260,1034,735,726,758,892,1054,876,807,794,889,1278,1582,1672,1626,1744,1802,1476,1202,1142,1120,1000,1132,1468,1434,1294,1174,969,898,865,877,1310,1558,1262,1166,1278,1086,1454,1346,1358,1210,1386,1188,1026,902,996,1160,1078,902,1038,1410,1492,1268,883,793,733,902,1102,1196,1114,1148,1300,1122,865,1009,1318,1308,1214,1522,1252,845,1021,1210,1360,1228,1124,1260,1450,1372,1224,1326,1512,1658,1862,1972,2002,1730,1562,1570,1582,1462,1208,1154,800,677,766,1344,1274,1260,1088,1354,1430,1406,1356,1102,1124,1160,1332,1452,1388,2900,2002,1380,1506,1023,647,839,902,1012,1021,786,956,1310,1452,1436,910,775,893,1588,1454,763,736,913,974,1446,1414,878,985,1146,930,732,770,1058,1312,1756,1908,1572,1400,1272,1238,1170,1204,1318,1290,1052,915,1028,1038,933,1110,1234,1132,1328,1340,1322,1192,955,1176,1360,1378,1202,1144,1138,1126,1174,1268,1322,1060,638,621,1214,1418,1598,1418,1274,1310,1370,1426,1332,1430,1364,1392,1548,1598,1614,1512,1616,1424,1172,1530,1448,1172,1296,1410,1202,1422,1392,1332,1308,1166,1222,1406,1240,975,1156,1130,880,1338,1402,781,735,763,792,764,907,1238,1338,1242,1146,1172,1270,1228,1094,1216,1322,841,812,969,1162,974,664,1038,1594,1746,1942,1734,1488,1260,1216,1072,968,830,957,1130,1086,1108,1250,1414,1270,1118,1242,1296,1174,1356,1422,1404,1606,1650,1594,1628,1636,1550,1318,1340,1388,1246,1316,1542,1432,1494,1350,946,755,655,539,543,527,519,496,517,677,1118,1400,1476,2182,1844,1044,749,869,824,691,532,522,966,1482,1414,1300,1420,1428,1288,1356,1718,1914,1754,1452,1428,1570,1628,1412,1352,1570,1528,1580,1544,1246,1224,1232,1003,861,949,897,1388,2254,1644,1294,1280,617,1148,1948,1686,1758,1766,1578,1722,1786,1142,807,1280,954,830,1376,1548,1418,1312,826,923,1196,1086,1242,1356,1254,1472,1324,792,768,1056,1118,918,1088,1750,1726,1116,1422,1520,1334,1526,1586,1578,1648,1500,1272,1264,1366,1580,1538,1238,713,509,484,454,376,383,359,323,342,398,417,444,399,486,531,455,498,421,348,321,383,352,344,429,747,1174,1144,948,781,1062,1312,1284,1292,1416,1650,1720,1610,1350,1404,1542,1650,1752,1990,2718,1964,1754,1656,1472,1406,963,627,677,834,782,993,1376,1228,1134,1038,1082,1252,1482,1564,1562,1508,1492,1518,1426,1142,881,813,728,794,842,678,539,637,1006,990,880,1156,1038,950,1013,1208,1276,1128,1186,1088,1346,1118,774,766,806,925,1104,1456,1492,1562,1692,1496,1182,1318,1758,2124,2004,1604,1658,1304,556,664,1156,1504,1478,1608,1970,1970,1802,1904,1832,1598,1050,603,730,797,880,1114,1230,1562,1638,1138,1019,1400,1246,813,1224,1748,1666,1322,1182,1682,1666,1234,915,897,1126,1556,1672,1556,1632,1892,1914,1376,889,696,1138,1768,1778,1412,1460,1476,1434,1462,1698,2018,2326,2430,2110,1804,1788,2144,2262,2046,2164,2078,1374,1516,1888,1862,1866,1752,1664,1132,1006,1638,1730,1494,1256,1576,1518,1164,1128,869,724,666,707,865,879,990,1084,910,818,979,1220,1378,1314,1152,1160,1136,945,1026,1262,1180,1422,1246,1044,1250,1338,1378,1194,991,1010,1072,1072,1196,1328,1306,1352,1904,1286,673,977,1078,822,1158,1664,1356,1140,1150,1246,1038,983,973,1204,1226,1198,1210,1094,1042,1086,904,869,1232,1300,1202,1316,1354,1306,1288,1128,1086,993,952,1246,1176,881,990,1106,1122,1174,1158,1434,1590,1538,1558,1206,1290,1782,1548,1208,1072,918,1086,1506,1268,1300,1140,1150,1154,1026,1392,1690,1504,1124,897,832,1366,1550,1386,1404,1372,1256,1410,1550,1776,1832,1488,1272,1418,1448,1592,1526,1382,1382,1390,1282,1312,1186,788,781,980,1094,1090,1246,1252,1236,1160,946,677,422,374,358,290,314,426,485,497,565,561,602,465,339,281,305,290,404,574,602,635,607,520,520,598,818,928,958,820,713,768,825,846,899,1148,1394,1340,1418,1588,1354,1340,1316,1234,1306,1356,1162,1242,1492,1504,1460,1418,1374,1264,1412,1494,1336,1324,1210,1064,1074,880,642,827,1162,1192,1084,804,1176,1424,1080,847,882,968,1238,1124,644,749,1328,1406,1204,1158,1476,1054,782,1050,1206,1184,1208,1180,983,1104,1148,1124,1162,1180,1112,1058,1294,1584,1450,1352,1294,1100,971,1268,1334,1436,1412,1242,1176,1150,1190,1148,1122,1180,1232,1054,991,941,919,972,950,1062,1178,1202,1102,1070,1108,1282,1262,992,1148,1476,1380,1124,935,732,750,1154,1390,1394,1174,1010,870,897,1082,1132,1134,1018,866,1028,1098,1166,1266,1318,1080,649,486,671,914,893,493,475,550,570,959,1001,838,683,437,412,520,443,368,385,465,695,685,762,560,490,518,829,1372,1432,1228,1260,1212,954,960,1306,1404,1352,1364,1470,1450,1408,1190,825,974,1296,1170,1112,1310,1412,1264,1324,1146,1116,1286,1350,1266,1200,1228,1296,1494,1480,1534,1336,1220,1072,649,436,402,451,510,612,759,985,1172,1268,1512,1536,1636,1504,1252,1178,1190,1018,736,522,435,488,464,591,1166,1684,1606,1160,1092,1268,1456,1564,1484,1416,1184,863,1054,1182,1023,1026,1322,1322,1154,1186,1498,1042,569,714,953,1490,1346,985,941,1120,1046,1224,1082,1130,1320,1318,1256,1318,1304,1188,1102,826,980,1220,945,1100,1342,1270,702,673,922,675,477,999,1292,1468,1114,738,1118,1256,1290,1346,1400,1228,1162,1024,625,625,770,1018,695,448,353,303,450,527,601,714,1008,1238,1236,1302,1122,897,594,428,539,488,496,531,573,760,1178,1764,1520,752,522,487,404,389,656,1208,1404,986,815,711,663,958,1015,853,1026,1056,1134,995,1028,1200,1148,1088,912,1090,1500,1378,1152,1112,990,1128,1544,1496,861,583,455,794,1254,1196,1422,1164,696,552,634,908,1058,1196,1616,1516,1560,1566,1506,1572,1698,1560,1500,1622,1136,769,1108,1194,1492,1514,1450,1422,1426,1302,1198,1228,1416,1454,1194,1060,906,1144,1370,1572,1532,979,1100,1294,1318,876,891,1370,1188,749,695,1015,1076,1104,941,803,912,1162,1214,1116,1146,1130,990,869,980,1170,1292,1340,1372,1428,1126,816,781,894,819,631,645,778,577,541,447,397,372,371,371,342,368,604,822,977,1248,980,624,783,1018,1192,1396,1140,1160,1244,1064,930,1044,1252,1266,1378,1386,1342,1232,1262,1202,1328,1354,1352,1568,1462,897,929,1152,752,615,824,940,714,635,425,518,976,1196,785,897,1172,1007,684,639,763,1274,1694,1560,1520,1314,916,1202,1150,932,1324,1404,932,1296],[1268,1100,1100,1350,1384,1310,885,606,660,647,785,730,1021,1210,1140,1700,1788,1102,803,342,289,292,346,489,390,285,307,331,362,671,1220,1112,1530,1206,842,739,797,1048,985,778,539,420,576,644,531,630,610,742,1028,977,1009,849,718,781,1108,1290,1230,1250,1330,1334,1514,1588,1456,1402,1084,1108,1092,943,1294,1792,1212,568,524,674,812,475,431,495,524,556,503,749,963,708,413,378,338,324,329,354,365,361,364,358,637,734,1086,2054,1588,728,1104,1112,892,962,973,734,854,769,631,676,521,309,310,408,796,799,695,885,684,926,752,658,967,1084,825,469,495,654,555,473,409,403,554,662,705,889,1162,861,748,595,350,898,1556,1422,1392,983,423,320,368,1176,1580,1374,1374,1504,1562,1598,1164,742,1334,1280,1238,1220,1334,1318,1316,976,910,1316,1356,875,688,902,641,358,290,471,1084,1198,691,566,1030,1268,976,858,1102,1310,1542,1538,1230,684,901,1506,956,749,1254,979,397,421,475,673,792,702,613,557,659,599,498,322,353,445,426,393,455,514,773,961,765,725,514,833,988,650,965,1644,1478,1528,1864,1428,1134,1270,540,478,588,550,700,1040,1130,783,586,547,391,433,498,485,814,1028,575,319,507,629,514,666,1040,1322,1180,929,1240,1268,723,686,832,462,385,472,430,425,475,370,290,426,646,577,582,1238,1258,1140,1144,1286,1222,1296,1468,858,424,856,1366,1466,1374,1318,1324,1158,1112,1032,1176,1100,918,883,1028,969,1122,1132,1064,1324,1524,1366,1824,1602,1160,1422,1346,1446,1524,1148,1196,1072,1180,1324,1578,1678,1384,1478,1550,1446,1250,1004,863,752,664,510,348,443,315,308,415,585,1120,968,533,754,1068,781,644,496,547,796,1428,1360,1328,1248,1350,1198,847,717,608,718,1100,1012,1094,1304,1448,1110,951,711,567,665,847,702,395,433,462,628,800,1006,1438,1544,1616,1562,1618,1418,1206,966,714,1148,1308,1338,1009,980,1142,934,1130,1318,1196,1166,1116,878,846,691,404,321,331,326,323,336,402,414,425,574,777,844,722,524,518,500,553,840,1016,1184,1064,1052,1168,1114,996,1098,1158,1184,965,1080,1044,922,835,895,1056,1182,1136,1048,1036,1204,1494,1440,1046,1124,1230,1166,1142,1340,1350,1132,1276,1110,963,1422,1680,1374,1262,1256,1370,1346,1124,1306,1068,1009,755,847,1172,1452,1336,1324,1302,1116,879,933,1128,1278,1108,730,612,653,692,858,653,586,676,776,1048,1346,1354,1072,964,913,595,428,522,848,1006,991,1007,880,810,871,1114,1300,1332,1250,1388,1672,1466,1620,1764,1028,986,1024,1188,1244,1360,1138,1108,1174,1064,877,725,824,953,973,1146,949,786,824,996,1042,1036,1084,1088,1250,1310,1034,903,1216,1520,1362,1390,1484,938,838,1090,1214,1350,1364,1272,1280,1264,1388,1660,1774,1876,1996,1992,1936,1764,1504,1742,1850,1844,1484,1054,1120,850,623,695,953,1146,1250,1164,1178,1278,1256,1168,986,843,741,747,1003,1094,1556,1330,1384,1430,847,751,1076,1005,1044,1060,963,1214,1458,1350,1350,1026,767,997,1594,1542,1078,1044,873,918,1448,1462,1038,1034,1050,943,880,979,1260,1366,1450,1338,1124,1600,1698,1540,1334,1300,1322,1230,1007,834,1028,1116,866,1172,1124,1282,1192,935,1250,1212,985,1138,1320,1446,1348,1176,1354,1248,1036,1046,745,650,509,627,1030,1320,1332,1218,1258,1130,1090,1364,1194,1238,1332,1290,1194,1350,1426,1528,1554,1001,929,1488,1582,1328,1272,1310,1060,1180,1352,1378,1266,1352,1488,1446,1340,1362,1526,1350,1190,1392,1418,1132,964,1074,1072,914,1172,1404,1306,1168,977,1048,1434,1338,1190,1220,1326,987,809,816,1404,1256,829,1670,2154,1398,1434,1148,995,1448,1278,1114,950,952,1078,1212,1194,1126,1310,1530,1260,1238,1294,1060,1176,1476,1680,1792,1698,1534,1542,1594,1648,1340,906,964,971,930,1136,1210,1278,1462,1454,1148,705,534,471,475,485,450,448,484,590,1100,1466,1554,2132,2986,2854,1942,1326,966,905,764,843,1362,1562,1394,1424,1440,1162,865,1272,1848,1958,1620,1410,1402,1440,1496,1444,1504,1382,1314,1302,1288,1394,1342,1062,1140,1206,1154,1016,1628,1824,1402,1028,738,495,2144,2808,1496,1546,1546,1272,1426,1396,1512,1296,1340,1408,1350,1720,1982,1450,1064,787,1218,1272,1306,1330,1354,1548,1824,1444,952,1302,1686,1368,1254,1632,1968,1794,1290,1506,1656,1692,1750,1484,1296,1432,1446,1328,1408,1758,1768,1498,906,492,370,349,324,332,339,292,231,249,283,325,367,361,378,439,356,400,379,266,229,293,398,493,551,797,1198,1368,1142,957,1322,1610,1288,1056,1050,1142,1252,1184,912,1064,1152,1128,1023,979,1222,1020,1088,1034,926,976,1096,960,730,777,836,1032,1184,1122,988,998,1136,1328,1498,1418,1250,1136,1004,1082,977,999,1060,1196,783,552,615,502,473,552,882,1164,928,885,730,861,1272,1376,1342,1178,1154,1228,1428,1138,747,789,1190,1698,1388,1542,1710,1594,1520,1416,1104,1332,1726,1776,1626,1570,1666,1180,493,535,1366,1648,1354,928,1238,1616,1704,1822,1790,1432,905,778,854,794,782,804,977,1250,1166,692,550,1144,1376,1046,1462,1896,1358,766,1142,1422,1334,1168,964,999,1060,1240,1476,1592,1624,1572,1382,1054,725,1270,1878,1946,1994,1972,1684,1370,1290,1434,1560,1754,1898,2126,2230,2126,1964,1944,2142,2210,2164,1852,1364,1386,1694,1840,1794,1814,1722,1376,1324,1808,1838,1570,1414,1660,1624,1494,1306,807,689,661,899,1026,1200,1252,1004,1038,1316,1534,1372,1094,1116,901,752,799,775,862,1268,979,842,957,946,923,1194,1484,1356,1200,1296,1130,1088,989,1030,1148,1222,1194,988,1010,1226,1060,863,1216,1846,1514,1248,1234,1290,1226,1224,1172,1086,1036,1006,974,1014,1110,1426,1302,1030,1266,1368,1220,1302,1334,1120,1116,1144,1198,1252,1242,1652,1748,1324,1158,1180,976,1014,1048,1356,1438,1324,1482,1528,1710,1842,1748,1288,1142,882,1240,1570,1168,1092,1002,939,1180,682,829,1300,1216,1278,1108,1096,1312,1490,1480,1464,1398,1614,1916,1914,1894,1776,1570,1390,1478,1478,1368,1192,1116,1244,1394,1312,1246,1130,1076,1072,1048,1066,1104,904,855,1158,1384,1336,1270,1066,659,384,301,328,426,487,461,430,482,488,480,434,362,324,331,389,405,462,757,685,508,433,464,677,722,755,694,498,576,913,1164,1130,1322,1380,1006,1366,1700,1470,1410,1350,1222,1356,1428,1028,1242,1448,1186,1015,1300,1394,1462,1440,1158,1142,1394,1200,1056,938,896,797,822,996,1138,1208,1162,1404,1294,767,616,941,1444,1510,886,557,965,1332,1516,1598,1570,1466,1092,1110,1464,1506,1340,1188,952,1054,1244,1344,1272,1194,1160,1232,1424,1666,1858,1766,1478,1378,1194,955,913,1096,1272,1242,1202,1010,1164,1356,898,862,1140,947,820,993,1009,1030,976,949,1084,1148,1234,1392,1412,1342,1460,1236,1290,1470,1614,1636,1390,1192,1204,1104,1070,1288,1396,1054,859,912,515,508,773,1130,1124,1410,1520,1078,1126,1282,1100,794,796,647,534,875,827,769,683,861,927,849,673,806,785,490,432,409,310,362,376,374,404,454,737,845,812,783,1116,1650,1744,1346,1256,990,1202,1214,1408,1286,1120,1322,1348,1348,1114,694,641,912,1396,1108,886,1118,1262,1310,1262,976,1070,1172,1170,1372,1354,1242,1208,1348,1428,1574,1366,1512,1610,1198,886,660,622,960,1050,1148,1056,893,761,1096,1550,1722,1534,1494,1440,1160,1028,895,639,496,560,539,829,1194,1370,1288,1306,1364,1374,1206,1052,1074,1252,1124,994,1258,954,590,914,1340,1350,1148,1186,1296,1002,802,880,1462,1622,1066,988,892,698,823,1112,1048,1106,1130,1038,1022,1114,1186,1644,1752,1422,1412,1072,924,1268,1412,1478,1354,825,878,574,390,583,755,1316,1126,977,1106,1248,1094,1078,1270,1144,814,578,702,838,512,461,309,269,367,455,489,514,590,959,1306,1162,1156,1470,1194,890,801,846,817,554,509,510,419,447,642,1352,1574,753,562,589,449,378,615,1120,1266,918,707,626,497,663,767,558,748,931,1192,1122,1074,1134,1172,1028,951,1122,1280,1172,880,1194,1578,1448,1406,1404,1252,905,657,1001,1242,1056,813,872,1070,828,788,1090,1184,1360,1482,1456,1562,1602,1548,1698,1574,1632,1632,1554,1078,1046,1200,1308,1614,1574,1522,1530,1394,1354,1298,1404,1544,1384,1068,896,880,1324,1506,1500,1350,1310,1056,949,1216,889,558,791,711,568,841,1208,1288,1260,1005,814,724,712,882,933,913,973,1160,1038,1088,1254,1208,1266,1332,1302,1288,1288,1288,1128,1018,868,645,650,590,535,412,344,336,367,383,348,370,546,948,1306,1448,1328,971,879,959,1148,1288,1010,933,1276,1266,1066,1250,1388,1412,1404,1232,1048,1150,1416,1418,1306,1064,1126,1486,1732,1542,1526,1460,1028,694,668,921,1070,812,468,390,796,1148,819,876,1134,922,524,785,1056,1322,1706,1672,1534,1418,1026,1356,1013,681,1250,1476,1258,1538],[692,782,1194,1294,1440,1824,1374,794,763,1044,1162,967,1232,1450,1144,1216,1028,1118,729,418,285,311,327,332,320,311,308,319,394,574,942,988,1118,788,701,563,704,847,833,797,866,808,1194,1164,1006,1238,972,1144,1178,1262,1058,932,1009,777,1186,1378,1186,1090,1108,1268,1354,1456,1342,1376,1268,1208,1328,1040,742,772,619,539,603,763,794,922,1058,877,863,844,678,767,885,541,376,315,299,352,368,316,316,313,330,413,623,634,835,1238,908,946,963,761,820,874,923,1222,1188,804,662,717,545,270,227,328,532,783,851,586,618,1108,1356,946,650,965,1074,763,969,1190,972,925,585,518,475,651,1009,1182,1044,1224,1484,1082,562,584,1186,999,940,691,358,330,345,997,1566,1670,1778,1608,1420,1392,1222,1192,1296,1124,1076,1172,1262,1278,1128,741,696,888,955,674,918,952,688,438,355,612,1038,825,670,971,1160,1072,915,616,532,1068,1360,1360,1198,800,746,933,860,650,483,495,372,363,412,665,752,711,680,809,894,790,694,514,407,434,453,473,410,321,644,585,470,625,701,808,921,1312,2044,2288,1708,1262,1250,811,752,1358,1040,625,482,310,437,694,595,669,1194,1120,472,471,415,395,561,576,495,414,403,488,502,618,1092,1084,894,683,1004,1200,896,846,948,775,662,594,457,498,531,412,361,569,866,826,833,1282,1322,1023,968,1228,1090,1278,1698,910,744,864,877,754,817,1212,1332,883,857,985,1080,1042,840,788,1112,1104,1086,1170,1326,1466,1588,1412,1334,1007,794,873,1126,1318,1228,1222,1246,983,1260,1126,976,1114,1372,1494,1400,1370,1130,921,852,893,1064,794,933,913,489,350,361,499,914,1160,629,562,608,617,900,838,937,1052,1276,1154,1182,1324,1550,1482,955,599,599,691,1007,1144,1116,1354,1390,1310,1316,856,618,1092,1510,1134,649,662,704,830,922,1146,1098,1166,1242,1120,1168,1042,807,779,494,540,484,778,1032,1178,1290,1158,1240,1340,1218,1162,1080,839,548,381,346,335,339,433,427,412,488,475,370,394,489,477,523,631,772,907,997,1060,1134,1220,1108,915,822,929,1032,1168,1138,1016,876,1134,1134,921,730,724,924,1122,982,835,920,1152,1464,1490,1148,1288,1018,1082,1116,1128,1182,1170,1470,1494,1188,1314,1426,1886,1368,1072,1386,1584,1528,1236,1288,1246,1040,896,1094,1314,1250,1208,1158,1188,1154,1028,1030,1268,1188,749,588,614,604,758,642,516,509,481,658,713,549,421,402,386,446,528,648,719,777,868,937,962,1066,1310,1556,1562,1556,1394,1236,1438,1742,1776,1782,1132,1032,1136,967,1226,1388,1308,1158,1064,999,811,924,950,1166,1152,1036,929,825,802,1019,1124,1044,920,938,1122,1148,1122,1068,1300,1434,1422,1404,1108,694,946,1124,1396,1486,1572,1504,1498,1488,1578,1724,1722,1792,1616,1288,1366,1444,1310,1826,2186,1642,1306,881,864,951,937,1028,1164,1194,1166,1304,1278,1378,1298,1186,1128,1036,782,672,991,1168,970,727,691,756,907,949,1050,1066,1466,1606,1438,1406,1490,1282,1118,1012,735,955,1468,1592,1394,1150,883,973,1362,1488,1170,1188,1222,1021,919,1188,1494,1214,1368,1428,1512,2042,2138,2166,2164,2214,1796,1192,1132,1154,1344,1202,800,1124,1216,1334,843,1122,1472,1154,876,1044,1150,951,1106,1394,1636,1558,996,655,659,733,929,807,716,833,926,1254,1340,1300,1250,1484,1842,1606,1290,1170,1222,1370,1334,1390,1470,1282,1250,1460,1632,1142,699,703,747,724,693,707,706,714,638,736,989,1180,989,960,1150,1410,1472,1502,1534,1478,1394,1494,1594,1650,1682,1644,1554,1470,1686,1534,1420,1278,1380,1476,1242,1174,1460,1318,1058,1616,1802,1316,1248,1026,1003,1184,1070,969,921,950,1200,1476,1600,1362,1410,1544,1184,1040,1200,1274,1332,1460,1644,1548,1542,1920,1942,1610,1568,1472,1296,1022,909,882,755,630,836,1122,1420,1486,992,642,474,407,420,442,451,434,510,885,1258,1420,1598,1828,2230,2854,1978,1498,1152,941,1100,1342,1506,1434,1294,1038,771,1194,1882,2024,1708,994,1094,1466,1502,1350,1302,1444,1438,1438,1150,1140,1136,1180,784,988,1262,1330,873,790,1128,975,685,480,971,2376,2208,1366,1410,1252,1258,1120,918,1316,1492,1406,1446,1084,1302,1728,1250,841,1074,1094,1036,1038,1013,1030,1296,1488,1390,1338,1374,1428,1416,1486,1710,1876,1780,1522,1622,1800,1760,1548,1338,1488,1852,1682,948,982,1592,1594,1210,724,633,514,338,453,485,393,268,241,306,331,332,297,309,325,315,281,327,519,646,630,358,416,398,414,576,987,1112,832,684,631,559,721,839,592,606,643,573,590,656,628,520,479,590,694,770,720,762,965,1190,1344,1080,1076,1130,1234,1096,1038,1076,1170,1118,844,1010,1280,1178,834,761,991,1222,1284,1402,988,895,673,636,785,730,874,613,1052,1232,880,624,914,1288,1360,1226,1698,1714,1052,906,1108,1124,814,866,1276,1550,1380,1538,1616,1258,1318,1440,1172,1176,1152,1288,1256,1122,825,500,355,415,816,908,551,297,519,872,1324,1716,1772,1406,898,802,921,951,949,1150,1548,1562,1300,1023,667,919,1322,1502,1210,885,835,845,1416,1592,1408,1160,987,1076,1140,1340,1636,1722,1738,1802,1608,975,1354,2312,2318,2046,1986,1936,1746,1592,1350,1294,1468,1476,1420,1534,1656,1948,2102,1992,2046,2128,1990,1688,1194,1180,1634,1838,1552,1730,1816,1416,1344,1552,1510,1554,1698,1814,1668,1712,1604,1300,1118,1286,1348,1526,1836,1788,1598,1652,1750,1724,1542,1652,1670,1202,925,728,646,885,1188,1074,912,778,778,1208,1228,1310,1490,1492,1290,1402,1296,1046,1019,1034,1094,1258,1262,1180,1046,901,965,1488,1908,1532,1062,1036,1328,1364,1366,1250,987,1018,1034,1130,1124,1102,1304,1346,1242,1156,1362,1336,1206,1102,965,1100,1086,1036,1140,1136,1614,1698,1340,1314,1098,950,1036,1052,1188,1212,1170,1328,1342,1450,1572,1558,1444,1416,1244,1492,1426,861,1042,1196,1094,997,794,719,953,1168,1356,1376,1284,1324,1338,1368,1470,1340,1228,1304,1494,1378,1504,1558,1350,1410,1518,1472,1318,1058,1254,1434,1378,1246,1144,1278,1204,1106,1098,1080,850,846,1244,1476,1332,1302,1454,1416,952,874,897,749,649,515,367,431,518,550,565,521,483,548,525,508,490,563,545,456,395,443,571,606,614,763,924,1086,1198,1322,1158,1178,1186,1398,1798,1770,2062,1758,1468,1352,1512,1554,1262,1344,1122,876,1188,1286,1092,1294,1304,1054,1060,1122,1176,1078,931,1056,1064,1011,969,1054,1224,1338,1286,853,533,636,1100,1542,1264,651,613,1012,1182,1292,1328,1272,1416,1310,1450,1826,1468,1268,1338,1220,1340,1354,1200,1102,1174,1274,1432,1672,1764,1540,1154,1188,1260,1024,903,875,847,818,943,1134,868,756,1092,875,964,1126,583,602,972,1200,1104,1076,1120,1124,1104,1202,1360,1456,1548,2154,1460,863,892,1222,1570,1378,1036,1003,1009,1017,1400,1450,1122,861,764,442,423,684,1230,1174,1688,1770,1044,989,906,955,1172,1384,1086,573,561,818,987,723,653,893,857,539,488,594,827,514,401,331,381,407,415,408,424,644,873,972,1140,1524,1672,1100,1032,1182,952,1118,1358,1290,1006,825,955,1158,1244,756,547,718,1204,1346,1110,1224,1108,1064,1166,1078,1156,1176,982,1264,1284,1332,1080,1124,1130,1376,1304,1258,1572,1454,1204,1238,1114,970,1370,1204,1378,1158,735,890,1312,1574,1522,1458,1474,1314,1174,1252,1184,854,783,725,662,1074,1104,1118,1418,1484,1444,1392,1390,1372,1252,1088,1160,1092,887,801,483,445,768,1144,1216,1106,989,1194,1078,854,1460,1352,933,1046,827,671,715,717,959,1152,913,775,955,1094,1088,1216,1446,1506,1284,961,1052,1204,1238,1562,1426,1140,1044,546,576,587,764,1042,1200,1060,1200,1484,898,747,785,817,825,711,875,598,448,332,275,285,612,952,740,558,888,1450,1452,1218,1056,1034,1032,1012,1094,1242,1078,880,988,632,315,336,391,695,1198,680,451,640,606,529,485,539,618,618,536,680,484,695,933,1146,1112,1050,1144,1304,1306,1202,1250,1246,1326,1356,953,787,544,1086,1506,1416,1232,1232,1312,1222,1144,1252,1246,1102,886,1154,1328,1090,1272,1444,1422,1422,1250,1076,1494,1708,1628,1778,1544,1500,1590,1532,1234,1196,1268,1332,1354,1344,1412,1336,976,1140,1502,1478,1302,1086,1088,1082,1198,1312,1424,1338,1130,1180,1018,912,890,675,428,348,389,469,1124,1260,838,698,761,1132,1126,801,880,946,1110,890,828,921,939,951,1078,1274,1360,1372,1472,1222,1054,1128,1160,738,450,555,636,568,496,393,339,357,387,352,355,529,945,1302,1366,1486,1304,1228,1298,1194,1110,771,784,1164,1204,1152,1254,1400,1432,1310,1158,1280,1390,1202,1174,1324,1332,1962,1846,1604,1600,1534,1398,1176,883,824,1030,948,769,589,454,636,905,863,931,1094,1212,952,829,922,1140,1520,1826,1704,1654,1578,1456,1094,1116,1304,1194,1100,979],[699,788,1142,1418,1746,1730,1224,941,906,1210,1476,1282,1240,1172,1015,1354,1288,1120,1086,872,443,423,438,354,405,384,367,379,465,601,709,757,624,563,839,1023,878,706,1064,1062,1166,859,822,1030,1486,1460,974,1184,1360,1310,1018,717,676,814,1214,1312,1308,1326,1434,1476,1292,1300,1274,1390,1394,1212,1306,909,418,691,1048,693,825,1174,1242,1664,1704,1310,1030,871,705,625,833,498,356,327,289,359,398,407,464,512,485,517,619,696,600,769,912,1090,993,1030,1068,1154,1626,1794,1184,816,777,716,525,369,408,370,343,575,742,778,866,1060,1372,1316,806,724,1202,1228,1180,1190,1358,1390,835,477,328,741,1178,915,1138,1384,1008,969,974,588,783,666,411,287,310,338,324,706,1216,1368,1542,1254,858,944,1262,1488,1138,968,757,732,971,1108,992,982,1072,1042,761,524,647,689,604,460,471,758,991,1046,1186,1222,1023,1064,695,422,373,481,571,775,806,645,656,720,736,658,520,899,791,784,636,610,686,648,619,601,574,670,644,458,299,315,441,400,311,446,753,856,675,667,805,608,839,1440,1684,1704,1514,1044,753,540,586,911,821,513,357,313,396,469,324,471,1005,1208,621,856,792,438,408,532,544,555,449,469,455,555,1224,1418,1074,1062,1192,1326,1326,1212,1144,985,856,880,536,528,565,426,473,952,918,1016,1340,1284,1216,1144,1086,1166,1090,1144,1416,812,957,845,524,402,402,756,1158,1150,1036,1204,1196,919,1001,975,1114,1230,1332,1290,1324,1548,1312,966,690,583,961,849,830,1144,976,1088,1030,1007,918,695,959,966,838,907,1034,1150,1074,957,940,1276,1124,988,1574,1400,782,654,637,521,1038,1574,815,689,708,926,1034,1180,1216,1202,1122,1054,1266,1108,984,877,843,633,645,686,804,1194,1628,1786,1650,1504,1080,700,967,1390,1602,1208,984,998,932,841,697,742,638,605,657,671,645,639,664,645,462,506,589,667,1032,1270,1210,1156,1318,1394,1204,1162,1168,760,451,366,352,363,341,464,407,336,440,467,443,532,518,481,558,862,978,1114,1480,1062,868,891,802,782,725,849,1056,1196,1214,1178,1092,1094,1200,1122,777,608,915,1170,1166,1018,1200,1344,1360,1430,1340,1338,1028,999,1098,1324,1226,1194,1508,1268,1028,1146,982,1042,1134,1138,1246,1406,1356,1302,1320,1276,1214,987,902,1078,1154,1250,1344,1272,1132,960,851,1096,1110,775,623,590,534,538,460,358,322,337,419,490,432,543,612,703,758,813,824,892,1116,1242,1218,1306,1552,1644,1548,1670,1660,1368,1240,1476,1666,1816,1762,1400,1314,1062,888,1140,1108,1454,1124,1132,1130,839,933,1170,1264,1170,1048,1052,1020,913,987,976,703,603,937,1102,1130,1194,1176,1274,1380,1234,1238,1172,1032,1364,1406,1594,1550,1588,1652,1674,1678,1736,1552,1416,1498,1194,1270,1470,1448,1450,1498,1506,1282,1252,929,1001,1434,1602,1488,1390,1340,1310,1192,1296,1404,1384,1238,1220,1220,1054,904,1066,1262,941,526,411,495,754,973,1178,1134,1384,1592,1446,1340,1498,1276,1082,1058,724,943,1386,1548,1548,1310,1206,1282,1368,1360,1316,1236,1204,1170,1160,1510,2112,1666,1400,1300,1376,1320,1310,1588,1838,2082,1884,1444,1286,1314,1258,1260,1108,1122,1050,849,815,1290,1428,1086,880,1108,1084,967,1005,1462,1386,975,758,912,885,1112,1414,931,583,543,769,1226,1542,1564,1548,1446,1770,1594,1194,1136,1218,1232,1278,1324,1330,1346,1362,1292,1156,1156,908,732,1034,929,597,664,685,722,932,935,887,1020,679,542,554,788,1106,1244,1134,1112,1282,1368,1082,1710,1778,1208,906,1128,1412,1382,1170,1312,1556,1402,1368,1594,1708,1648,1580,1754,1748,1670,1736,1516,1438,1406,1386,1404,1428,1598,1664,1582,1588,1328,1472,1534,1234,1278,1492,1540,1404,1500,1738,1502,1584,1948,2002,1656,1508,1668,1650,1290,1178,1168,937,650,528,737,1502,1584,1544,1044,672,500,485,698,766,610,502,725,1021,1250,1484,1710,1788,1636,1706,1604,1362,1234,1104,1023,1004,933,988,1044,953,1011,1484,2148,1758,773,802,1104,1286,1330,1566,1588,1382,1454,1486,1350,1182,1196,990,1132,1266,1114,837,1296,1686,1234,930,919,1564,1648,1384,1454,1488,1272,1312,998,816,889,852,1346,2016,1454,1484,1470,1376,1194,1332,1174,1202,1224,1080,949,849,949,1122,1226,1214,1240,1214,1300,1406,1422,1318,1300,1522,1754,1838,1798,1844,1976,2106,1762,1096,1256,1550,1578,1348,1180,1344,1122,655,922,984,854,713,522,398,378,365,319,408,651,814,741,1016,1888,2010,1486,601,331,265,456,650,666,532,441,313,256,473,902,980,553,505,568,687,752,714,748,703,763,991,1202,1252,1278,1194,1042,1242,1726,1344,1009,824,991,976,820,630,518,504,524,879,1056,858,616,1142,1620,1852,2016,1842,1326,1310,1088,980,1032,1144,1766,1164,1622,1528,897,865,1338,1338,1038,1334,1812,1750,1968,2110,1738,1142,929,1142,1178,1172,1208,1104,949,889,1478,1752,1120,999,1402,1454,1178,866,842,708,641,724,932,902,611,388,350,487,869,1138,1370,1310,831,675,835,1015,1001,1322,1856,1858,1912,2098,1350,992,1220,1250,1290,1314,1082,1236,1714,1388,843,1015,1260,1280,1174,1448,1628,2540,2296,1798,1598,1538,1954,2370,2452,2326,2042,1818,1418,1496,1444,1670,1550,1454,1532,1514,1404,1568,1788,1974,2176,2170,2078,2004,1216,1526,1940,2082,1760,1744,1836,1426,1166,1402,1592,1708,1904,2098,1750,1826,1874,1688,1460,1556,1832,1926,1766,1540,1384,1330,1350,1380,1442,1798,1912,1638,1156,793,657,841,1162,1262,1246,785,818,1624,1328,1088,1208,1616,1380,1318,1238,1286,1352,1142,940,967,1104,1244,1186,1016,1132,1526,1432,968,754,889,1144,1374,1440,1158,1040,1062,915,1078,1288,1386,1340,1224,1042,1162,1514,1504,1194,1036,1128,1210,1382,1152,1086,1302,1586,1448,1348,1322,1318,1650,1560,1316,1132,1086,1308,1596,1282,1158,1274,1342,1354,1436,1362,1564,1596,1156,1170,1234,1260,1216,1276,1068,825,1064,1384,1390,1530,1504,1106,1300,1536,1190,1170,1126,1232,1402,1582,1592,1512,1816,2008,1450,1338,1354,1310,1356,1394,1170,1138,1190,1088,1118,1138,1046,1034,1058,916,1256,1538,1202,1376,1378,1282,1338,1372,1310,1216,1086,874,717,596,522,615,587,585,575,541,476,438,473,520,461,428,550,829,1036,1132,1514,1288,974,1002,1078,1100,1001,901,1822,2056,1574,1698,1636,1600,1522,1604,1628,1378,1234,1114,1042,1124,970,890,1136,1122,985,922,855,1114,1192,1056,955,1080,1074,947,1038,1184,1306,1054,645,543,606,1202,1426,947,669,702,944,1130,1400,1306,1292,1500,1710,1744,1594,1310,1104,993,1180,1410,1282,1136,1180,1284,1378,1052,1196,1818,1410,1023,1064,1094,999,1074,943,680,641,880,1242,1130,807,1038,1252,1128,1156,801,538,890,1230,1298,1334,1062,1034,1054,1086,1260,1376,1548,1892,1350,929,610,708,1240,1236,629,566,755,756,1340,1444,1310,766,469,539,673,1368,1632,1158,1432,1270,1162,1328,1092,1048,1216,1178,1318,753,377,456,635,674,695,1160,1070,1046,890,953,1056,518,318,363,405,414,394,419,572,742,949,1018,1124,1482,1476,1290,1060,1042,1156,1432,1582,1418,1064,835,1082,1208,959,592,659,1056,1324,904,1174,1380,921,791,902,1054,1214,1134,1086,1144,1632,1480,1108,1158,1140,1114,965,1023,1188,1116,1278,1248,1406,1406,1636,1482,2586,2040,729,770,1362,1684,1284,1122,1554,1340,1230,1504,1340,1118,1550,1320,1070,1188,1098,1234,1418,1186,1188,1044,1308,1312,1232,1094,1198,1180,951,672,724,738,800,1258,1380,1156,611,520,951,1130,1280,1058,1042,1052,599,658,929,987,892,1078,1372,1180,1096,1098,1170,1272,1174,1250,1126,875,1038,956,1118,1158,1148,1328,1228,735,644,590,888,1212,1286,1116,1328,1476,1154,1054,919,649,714,813,836,514,332,299,254,372,792,944,575,748,1418,1436,1186,996,1026,1026,1238,1398,1202,1158,1148,1148,1106,477,272,288,450,515,940,905,861,1068,1060,811,468,469,651,747,1050,1244,974,1154,1294,1436,1556,1404,1164,1164,1300,1516,1428,1356,1376,1332,1092,688,515,940,1230,1368,1308,1246,1252,1262,1206,1224,963,690,650,1074,1108,675,719,1110,1228,1224,1078,1104,1582,1582,1426,1454,1542,1426,1276,1384,1574,1576,1394,1116,1070,1124,1232,1346,1136,987,1528,1570,1434,1172,893,919,1194,1218,1240,1412,1130,1198,1168,806,597,414,372,330,382,454,794,894,556,417,764,1094,1050,1060,1110,1312,1202,809,620,594,454,402,785,1292,1284,1284,1396,1226,1326,1028,788,714,957,1136,756,488,583,510,381,309,361,406,604,893,1230,1394,1384,1524,1462,1300,1294,1394,1138,721,859,850,984,1080,1144,1158,1130,1200,1302,1364,1242,1106,1134,1320,1768,2160,1654,1254,1448,1588,1388,1320,1146,1013,859,568,576,601,1044,1130,1198,959,901,1138,1338,1486,1312,1038,1013,1292,1804,1398,1392,1388,1334,968,901,1048,1188,1066,664],[1090,1172,924,1017,1232,916,764,691,586,807,1250,1210,1184,1084,1308,1490,1450,1344,1532,1372,640,374,435,532,583,444,378,364,519,798,910,935,982,1021,1404,1302,999,841,1002,1198,1316,1322,1244,1250,1476,1532,1296,1190,1420,1266,869,605,716,1036,1312,1312,1040,996,1172,1007,922,921,1080,1400,1372,1074,986,834,547,597,718,669,1028,1278,1342,1448,1206,1030,976,1086,846,482,822,656,396,355,358,453,583,608,652,538,451,406,574,663,514,748,1244,1426,1436,1332,1124,1498,1810,1954,1632,1452,1310,1060,854,1544,1118,688,763,666,808,980,930,1002,1182,1224,1234,979,1330,1368,1434,1340,1346,1300,924,507,448,904,1256,1084,1482,976,613,1200,1180,741,704,683,430,314,308,268,310,758,1178,920,909,794,543,653,1070,1102,1005,1026,792,669,738,965,891,1052,894,1112,1130,880,917,1254,971,639,623,698,946,1384,1356,1080,540,522,447,391,399,436,484,639,766,622,764,811,437,404,576,828,1036,1414,1322,968,745,553,550,543,455,504,479,463,398,329,375,402,336,488,827,1100,821,669,824,590,793,1196,766,864,1340,1138,873,708,601,521,400,367,337,302,311,489,591,444,496,533,794,1266,1166,630,306,329,382,504,685,988,895,869,1236,907,739,945,1122,1146,939,685,1002,1124,855,883,518,440,405,387,544,1000,910,833,974,1108,1228,1114,1050,1248,1244,1150,1188,589,716,939,580,392,450,369,507,756,844,973,900,699,797,1062,1030,1224,1392,1352,1438,1338,1188,1122,695,741,1088,1076,1118,1282,1320,1202,702,760,742,711,1180,1244,940,976,1250,1160,1220,1182,1040,1300,1106,1144,1420,1038,754,1140,1130,830,1234,1108,847,814,827,1050,1242,1272,1262,1222,1190,1276,1348,1268,1074,787,1108,930,669,610,612,1060,1512,1416,1400,1300,869,633,841,1302,1510,1208,1132,889,652,547,480,451,423,437,421,528,550,476,722,655,548,720,990,1076,1158,1246,1212,1078,1268,1472,1266,1232,1262,828,428,363,351,363,397,416,368,331,386,439,534,721,565,480,515,916,1134,1198,1192,1030,918,758,941,1770,1832,1216,986,1148,1214,1136,1048,1166,1288,1190,863,739,933,1140,1312,1294,1510,1448,1406,1470,1362,1216,1172,947,1068,1582,1282,1142,1272,1152,1154,1256,1182,1092,1138,1176,1238,1256,1212,1194,1140,901,871,935,1088,1294,1400,1250,985,916,852,662,644,864,982,758,495,360,325,295,295,348,416,479,636,1026,852,794,852,980,1040,1066,1098,1318,1490,1482,1438,1362,1512,1444,1140,1256,1178,1236,1622,1860,1752,1574,1320,1144,1296,974,703,914,1392,2190,1288,1154,1356,1284,1206,1190,999,935,1086,1007,876,1042,1058,1058,854,756,991,1110,1120,1218,1248,1326,1340,1184,1188,1346,1470,1672,1694,1670,1686,1694,1728,1568,1346,1366,1308,1312,1256,1238,1504,1510,1488,1534,1514,1504,1596,1604,1184,1038,1490,1520,1488,1676,1314,1290,1206,1302,1338,1316,1242,1298,1270,1064,893,1002,1130,689,464,382,547,832,966,930,838,750,702,794,1206,1296,1312,1454,1142,832,1028,1558,1688,1440,1184,1236,1422,1374,1296,1238,1058,1118,1176,1362,1402,1470,1254,1300,1334,1202,1202,1278,1066,1050,1046,919,1174,1078,1130,1148,1226,1180,1001,993,1156,1126,1036,1144,1122,1094,1166,977,747,724,1340,1156,798,1200,1222,637,762,762,537,684,630,846,1700,1678,1476,1624,1466,1362,1284,1242,1234,1274,1234,1366,1282,1146,1066,993,1128,1054,1164,1116,845,839,799,764,772,946,1118,1822,1782,1378,1114,677,480,593,1024,1866,1914,1428,1326,1400,1372,1346,2186,1862,1016,606,972,1376,1312,1130,1050,1134,1106,1004,1078,1494,1638,1594,1500,1400,1470,1500,1444,1572,1730,1642,1480,1474,1614,1592,1524,1682,1810,1766,1646,1548,1506,1548,1500,1506,1624,1758,1540,1504,1592,1648,1600,1554,1708,1616,1208,1228,1560,1460,1282,813,542,1190,1330,1566,1248,895,649,835,1258,1274,1005,865,905,739,1132,1486,1750,1730,1638,1540,1496,1362,1282,1138,913,827,988,1058,1080,1068,901,833,1506,1314,713,1116,1716,1484,1310,1632,1644,1628,1648,1068,1174,1438,1344,1438,1362,1244,1096,1154,1808,1960,1592,1264,1144,1184,1346,1430,1374,1188,958,730,727,769,894,897,1362,2050,1432,1212,1102,1338,1354,1438,1496,1434,1398,1250,1086,794,920,1010,1366,1236,1170,1144,1196,1278,1164,1070,1282,1594,1764,1858,1900,1918,1800,1694,1620,1404,1484,1554,1506,1312,1388,1410,1266,855,819,789,860,873,601,424,358,265,332,832,1194,1094,839,1086,1716,1688,998,436,370,341,407,544,607,491,327,265,348,1078,1748,1378,613,448,520,785,1072,1172,1172,1094,1056,1340,1358,1208,1364,1266,830,1032,1792,1396,907,922,1184,948,480,722,839,503,709,1310,1152,864,1116,1448,1268,1284,1700,1568,1332,1608,1188,1092,1056,1364,1840,1192,1418,1374,1019,1262,1144,1016,1732,2134,1368,1388,2112,1772,1444,1078,1078,1522,1592,1430,1310,1122,1017,1322,2400,2546,1458,1270,1304,1006,648,688,774,864,966,948,1170,1290,928,896,1013,923,1023,1160,1068,812,772,821,815,853,976,1642,1986,1994,2248,1904,1360,1156,1288,1258,1188,1272,1366,1682,1858,1580,1268,1026,1238,1312,1274,1236,1138,1588,1830,1526,1348,1466,1724,2094,2370,2468,2240,1968,1672,1514,1732,1832,1680,1492,1498,1524,1452,1460,1510,1608,1990,2342,2268,2050,1534,1770,2116,2308,2056,1698,1630,1466,998,1262,1598,1694,1976,2194,1656,1428,1444,1388,1428,1688,1830,1678,1568,1530,1428,1412,1344,1232,1422,1670,1744,1444,1194,1116,741,814,1220,1382,1216,751,1104,1426,1354,1278,1336,1444,1454,1388,1346,1672,1460,1042,1098,986,1030,1122,1208,1274,1342,1230,938,1146,1408,1116,1086,1132,1418,1362,1320,1490,1186,1318,1758,1658,1506,1318,1009,1114,1252,1458,1198,1056,1302,1384,1526,1144,1062,1392,1318,1114,1326,1256,1162,1208,1402,1388,1078,1180,1164,796,964,1296,1580,1490,1252,1332,1228,1508,1476,1368,1398,1216,1244,1332,1416,1362,1202,1244,1384,1376,1500,1344,1086,1506,1440,1056,883,943,1194,1396,1522,1658,1512,1652,1708,1238,1312,1332,1246,1068,1164,1256,1352,1282,1034,940,930,956,1116,1026,1032,1164,1324,1148,1186,1172,1200,1196,1278,1174,1300,1488,1390,1334,1154,885,865,651,505,561,528,460,432,464,659,758,832,1052,1360,1384,1462,1606,1272,1166,1350,1372,1262,964,971,1412,1370,1406,1606,1658,1636,1590,1484,1496,1280,1038,1138,1156,1019,1198,1312,1232,1058,1070,1042,982,1122,1162,866,861,897,621,832,1158,1298,1242,797,697,886,1120,1494,1036,648,803,827,953,1506,1936,1358,1362,1514,1736,1776,1512,1344,1272,1314,1462,1350,1238,1244,1220,1260,1204,1110,1114,1362,1262,1023,1064,1064,1092,1072,659,457,734,877,938,833,899,1164,1400,1194,1028,1005,995,1046,1001,896,1152,1076,1136,1098,1090,1132,1070,1264,1228,1094,985,745,1000,1290,1276,860,1126,1302,926,1248,1336,1298,822,570,747,913,1410,1422,1312,1338,1048,934,1154,1015,1312,1366,1348,1174,666,499,424,694,747,875,1276,1270,1510,1252,1154,844,444,357,352,330,386,429,655,915,1148,1106,936,777,1114,1190,1360,1298,1168,1060,1298,1664,1700,1570,1278,1556,1158,584,550,879,1232,1144,1052,979,858,979,1026,1017,1108,638,807,1294,1220,1418,1376,1384,1306,1084,828,618,734,1076,1210,1096,1064,1114,1234,1404,1302,2474,2166,1238,861,975,1302,1212,1102,1496,1644,1352,1160,915,1282,1792,1582,1100,933,921,1322,1412,1210,1140,988,992,997,719,849,1018,1252,1140,800,957,1082,1060,1094,1288,886,432,412,615,883,1102,807,841,975,530,510,691,1086,1054,1158,1346,1066,991,970,910,894,906,1168,1416,1222,1158,1052,1238,1116,1060,1196,947,806,966,818,1015,1474,1418,1013,767,836,903,837,763,558,428,615,890,854,680,368,247,275,373,411,374,673,952,931,959,951,1019,1216,1430,1320,1092,1238,1092,1110,793,513,380,392,835,1060,1038,1144,1298,1366,976,1034,860,864,1056,1194,1376,1366,1220,1428,1300,1028,1272,1482,1302,1178,1406,1504,1440,1334,1150,1012,884,862,986,1015,1414,1836,1386,1372,1318,1094,935,946,733,574,706,1056,902,666,812,1019,926,1142,1450,1618,1586,1450,1392,1384,1354,1304,1246,1184,1176,1378,1406,1436,1436,1342,1492,1468,1422,1300,1426,1554,1420,1262,1042,766,926,861,1034,1490,1138,1028,911,846,711,456,345,364,349,359,606,1072,828,426,451,583,667,971,1004,1046,1114,1030,808,788,614,390,550,1136,1158,1192,1100,1130,1524,1360,1118,1196,1254,1332,926,548,640,663,539,395,426,481,711,893,1078,1240,1340,1406,1390,1160,1294,1576,1072,804,1023,1148,1196,1198,1088,918,971,982,996,1100,1066,1236,1318,1394,1528,1422,1306,1060,1334,1560,1360,1320,1084,871,787,1046,897,843,1358,1612,1694,1580,1322,1196,1202,1512,1430,1246,1250,1440,1908,1420,1184,1001,869,752,828,1158,1078,1104,766],[882,872,789,852,1144,1096,935,769,807,1188,1188,1142,1086,1062,1158,1074,1086,1404,1926,1844,1032,676,548,772,749,583,499,518,621,853,930,1040,1154,1362,1558,1336,1424,1394,1240,1250,1358,1424,1600,1506,1274,1182,860,941,1352,994,570,490,878,1082,1194,1074,798,980,1120,764,738,1004,1052,1422,1204,891,819,872,1108,1154,925,921,957,1056,1322,1306,1312,1130,1114,991,668,392,775,899,579,453,462,505,531,530,572,532,761,498,462,572,534,942,1388,1180,1088,982,717,1076,1088,1816,1576,1538,1356,1354,1338,1092,654,966,1100,910,1030,958,799,711,834,1070,1038,1178,1214,1458,1594,1488,1388,1182,922,943,1104,1178,1256,1196,1200,648,554,944,1005,1015,1184,858,451,281,384,493,594,1066,1344,842,1050,1052,897,925,1132,969,686,797,1112,1074,1009,1300,1160,1234,1162,1120,1288,1046,1054,1148,1036,1460,1156,944,1218,1456,1330,1142,669,466,430,399,388,433,457,579,995,913,710,857,555,378,561,807,1088,1186,1294,1448,1218,995,734,452,386,515,470,394,573,455,310,457,701,894,920,846,689,455,753,762,622,710,722,768,1150,1206,918,686,612,493,447,450,361,304,374,519,887,703,481,471,681,859,749,579,335,300,328,538,1068,1180,930,1036,1306,1005,677,860,1015,832,922,835,847,904,908,954,587,415,512,711,682,605,568,667,1032,1286,1306,1404,1594,1488,1434,1130,963,692,776,1000,669,510,820,732,617,766,980,1112,1290,1046,982,1242,1148,1294,1576,1446,1260,937,936,1010,752,868,893,1016,1118,1288,1564,1212,662,905,1016,1360,1878,1334,1008,1150,1230,1172,1306,1350,1256,1196,1078,1108,996,664,962,1476,1092,1064,1516,1328,1190,1114,1094,1338,1428,1314,1278,1418,1354,1104,946,1048,832,737,1190,1132,747,463,437,799,1300,1234,1204,1318,1120,760,918,1266,1016,722,677,570,468,407,394,385,407,369,373,392,369,379,846,1005,771,853,972,908,1138,1262,1284,1146,1344,1272,1342,1110,850,551,357,335,320,354,438,438,408,408,455,493,490,518,473,510,580,875,1158,1154,1216,1348,941,752,1270,2512,2486,1748,1534,1392,1214,1190,1256,1170,1064,1026,1122,1232,1186,1174,1172,1114,1324,1220,1154,1246,1176,1176,1408,1344,1278,1356,1222,1092,1012,845,742,1064,1266,1266,1310,1272,1168,1404,1328,1160,1074,818,861,1142,1214,1224,1284,817,615,644,644,603,557,614,686,625,519,506,514,516,538,604,739,828,902,1368,1226,1078,1172,1206,1208,1238,1384,1640,1640,1646,1660,1584,1572,1382,1144,1202,1206,1246,1592,1598,1290,1400,1252,792,1126,1028,818,1004,1346,1632,1302,1108,1284,1290,1108,1044,764,948,1282,1100,938,944,1228,1238,967,991,1226,1252,1132,1244,1250,1378,1500,1366,1324,1588,1676,1688,1642,1556,1488,1466,1460,1292,1202,1168,1378,1410,1042,1460,1868,1692,1560,1620,1726,1682,1602,1634,1204,931,1156,1344,1354,1558,1298,1102,1114,1220,1324,1282,1208,1202,1136,1076,849,991,991,517,400,429,644,1134,1174,694,432,447,471,694,1110,920,1256,1534,1414,1036,870,1242,1578,1384,1050,980,1132,1316,1374,1070,999,1308,1056,961,1170,1384,1460,1542,1438,1310,1282,1040,982,841,1078,991,1164,995,828,754,976,993,717,929,1304,1156,990,1048,1011,1046,1104,957,737,829,1132,950,1016,1294,1124,756,897,487,608,778,524,748,1426,1236,1398,1740,1670,1616,1258,1180,1206,1268,1188,1286,1162,1038,1030,1122,1254,1274,1350,1254,933,533,539,656,989,1572,2358,3772,3422,1708,794,489,520,792,1216,1932,2292,1564,1320,1268,1300,1460,1826,1654,1166,865,1142,1318,1002,1052,952,1166,1288,1222,1458,1790,1588,1298,1188,1048,1128,1244,1300,1484,1580,1278,1224,1206,1266,1278,1324,1444,1556,1656,1794,1750,1784,1742,1486,1558,1582,1528,1476,1566,1652,1738,1632,1462,1562,1570,1454,1548,1696,1418,1346,1164,659,670,1220,1482,1354,1292,1172,1318,1418,1396,1282,1302,1234,1124,1260,1440,1520,1546,1446,1516,1694,1446,1434,1268,1268,1034,874,922,1005,994,1012,929,949,777,774,1808,2554,2002,1484,1288,1468,1648,1712,1494,1534,1444,1316,1118,1038,1324,1408,1592,1792,1614,1560,1510,1436,1264,1418,1608,1404,1274,1021,683,780,784,786,969,1086,1130,1076,887,813,924,821,988,1276,1478,1560,1536,1384,1310,1176,1238,1462,1108,884,1007,1396,1728,1230,1268,1202,1680,1910,1832,1826,1824,1842,1670,1466,1444,1498,1560,1544,1140,879,977,1086,977,915,859,789,717,524,408,298,329,915,1158,623,658,870,1130,1426,1074,400,265,332,448,1064,1656,1572,1030,788,662,625,1634,2054,1484,616,297,487,1044,1394,1276,1260,1412,1302,1492,1394,1288,1332,1304,948,847,1082,1282,1224,1284,1556,1208,658,717,549,553,916,1428,1344,948,1112,1388,1004,1038,1180,1306,1216,1426,1224,1526,952,984,1100,984,1268,1164,1170,1128,668,671,1664,1688,1038,1212,1476,1236,1218,1146,1106,1400,1486,1440,1438,1410,1372,1522,2094,2308,1584,1174,1015,1021,976,1254,1386,1162,880,813,988,1009,839,1194,1314,1136,1176,1250,1056,694,698,761,1080,1184,1582,1666,2024,2144,2138,1766,1250,1382,1508,1344,1334,1506,1432,1664,1748,1508,2116,1518,1252,1394,1394,1168,1070,1010,1023,869,1054,1186,1360,1676,2144,2400,2358,1954,1720,1616,1666,1440,1434,1570,1510,1166,1654,1600,1476,1478,1480,1600,1690,1888,1974,1908,1962,2158,2276,2402,1660,1668,1054,1178,1598,1854,2190,2374,1794,1318,1346,1482,1456,1680,1968,1892,1674,1600,1534,1532,1406,1220,1224,1342,1258,960,1072,1318,820,814,1184,1060,819,877,1240,1250,1150,1608,1920,1472,1436,1530,1450,1520,1290,1040,1072,1030,1062,1106,1142,1154,1288,1238,1108,1184,1134,985,1304,1372,1392,1532,1596,1656,1450,1588,1686,1292,1396,1150,919,948,1158,1646,1306,1224,1396,1460,1260,1016,1120,1270,1154,1262,1294,1122,1250,1318,1438,1312,978,1034,780,496,587,865,1274,1316,1124,1142,1172,1516,1502,1564,1418,1104,1054,1136,1262,1300,1258,1306,1344,1398,1336,1216,1268,1216,1158,1174,760,577,1015,1334,1438,1652,1432,1278,1136,1196,1232,1232,1152,1148,1366,1224,1214,1186,1116,1152,1092,1108,1124,1062,1096,1154,1076,1011,995,1398,1592,1258,1368,1322,1370,1196,1248,1310,1228,1256,1272,1146,1094,1005,855,800,1028,1072,1058,1174,1162,802,932,1290,1392,1262,1162,1246,1342,1262,1128,982,1068,1456,1486,1538,1554,1576,1588,1456,1404,1390,1030,910,1178,1196,1021,1214,1228,1196,1066,1005,940,931,1064,864,539,666,543,376,734,1248,1354,985,778,1358,1594,1586,1306,613,647,882,994,1070,1112,1084,1080,1350,1434,1656,1810,1622,1626,1668,1632,1818,1428,1286,1220,1198,1208,1152,1196,1184,1138,1112,1008,896,1040,1242,809,554,561,612,592,499,490,655,962,1134,1038,945,899,942,1068,966,601,1034,1220,1264,1158,1200,1090,976,1080,1136,1282,1226,845,1164,1148,1200,1062,1424,1582,1598,1646,1394,1458,1350,863,936,1160,1278,1090,1226,1100,1206,1262,1128,969,1316,1388,1154,870,955,1106,755,806,618,921,857,841,959,1066,1108,883,636,409,335,315,378,677,1176,1318,1230,962,771,1030,1306,1178,1132,1262,1316,1224,1164,1186,1356,1338,1356,1444,753,447,479,781,1002,1190,1438,867,444,628,1126,1198,1150,622,541,982,1516,1774,1582,1350,1162,1266,1004,913,852,1046,1142,772,567,713,1048,1116,993,1104,1490,1840,1528,1188,1278,1070,1306,1416,1500,1596,1418,972,675,820,1014,1098,1250,1050,1472,2066,1856,1570,1418,1236,826,543,455,523,866,1054,948,822,983,1122,1300,1284,720,549,644,576,849,1160,612,421,473,536,474,599,1144,1288,1364,1116,944,1110,1122,953,1064,1262,1412,1444,1254,1040,1158,1170,1200,1120,1082,829,886,1066,915,1138,1388,1042,858,618,658,802,878,665,417,335,570,931,964,910,461,290,283,489,521,539,786,1016,1012,943,1122,1178,1294,1468,1350,1172,1126,926,1110,1072,747,586,633,908,999,912,891,992,1298,1094,1056,1136,1082,1116,1290,1150,1028,1192,1176,1150,1286,1340,1388,1354,1356,1388,1166,1392,1388,1132,794,784,1282,1304,933,985,1288,1454,1358,1160,1476,1108,894,995,924,1020,877,716,1114,1214,977,1130,1434,1432,1304,1174,1344,1548,1516,1262,1248,1378,1262,1070,998,819,1308,1600,1722,1606,1384,1444,1258,1136,1368,1354,1386,1086,933,1010,810,1058,1524,1256,1003,991,1140,1146,668,418,386,407,381,533,1094,597,338,359,346,445,654,642,606,800,1026,915,944,699,636,602,1007,1200,1128,1112,1262,1536,1396,1184,1244,1306,1552,1036,640,586,533,447,441,460,471,569,662,786,1019,1288,1306,1124,1106,1558,1444,1242,1242,1086,805,1044,1404,1136,822,904,819,827,1204,1242,1212,1072,934,1202,1574,1278,886,1204,1546,1300,1048,979,801,1030,1400,1406,1276,1216,1308,1614,1954,1754,1122,1132,1400,1290,1428,1362,1562,1756,1426,1314,1138,681,543,703,976,758,1152,1112],[795,569,678,668,745,1302,1202,1116,1064,1158,1272,1224,1138,979,781,666,891,1004,1136,1212,1142,831,779,1020,919,817,946,1102,898,678,796,1104,752,861,1372,1450,1600,1274,832,1114,1416,1386,1322,1244,1130,967,802,1096,1184,717,412,449,1090,1660,1438,889,650,759,1092,1134,945,1104,1122,1164,901,710,691,684,979,955,802,893,794,736,1218,1190,1402,1648,1578,1290,866,493,750,866,497,415,397,379,377,601,484,492,624,458,419,468,394,586,834,803,1068,1056,704,798,949,1798,1438,1288,1338,1282,1296,1186,1026,1116,888,848,1440,1032,592,392,494,852,1030,1246,1188,1220,1366,1556,1556,1252,737,1180,1294,900,1013,1112,1422,1050,532,425,681,1258,1358,1144,1090,684,487,491,427,717,1192,882,673,896,711,688,1190,1012,703,697,1186,1028,879,946,1044,1194,1142,1224,1270,834,1038,1282,1354,1854,1238,1070,1294,1266,1288,1028,497,393,441,384,369,364,372,741,1416,989,841,884,608,440,536,905,1064,752,582,693,1032,1344,1060,566,501,566,542,473,578,595,459,477,824,1002,1142,905,552,416,653,780,927,834,716,910,1350,1324,906,722,655,415,426,645,540,447,408,390,875,814,489,457,476,636,491,528,494,473,504,858,1206,1050,818,1350,1802,1372,1074,934,1021,1124,849,838,684,725,822,724,457,361,642,1108,993,485,356,475,709,857,788,1154,1660,1664,1478,1080,1252,1444,1012,695,480,518,1230,1450,1182,922,1312,1382,1398,1112,966,1308,1556,1808,1760,1260,752,924,1250,1162,1032,1132,811,656,812,966,1168,929,926,1344,1136,1590,1974,1466,1088,806,719,723,969,1232,1070,950,785,641,744,810,1020,1007,886,1204,1130,1058,1224,1009,808,962,1028,1258,1256,991,904,650,721,1226,1332,976,885,1070,1016,681,417,557,1214,1380,1206,1208,1184,1170,1028,771,580,418,522,828,610,371,420,522,588,695,849,817,697,626,655,695,789,1005,938,1262,1488,1334,1322,1186,1376,1394,1338,1086,742,471,362,344,378,353,417,408,405,413,494,628,797,899,688,769,963,1088,1204,1360,1202,1112,830,597,647,1182,1614,1408,1272,1306,1236,1146,1304,1176,1128,1072,1246,1338,1250,1158,1214,1322,1534,1446,1138,1258,1376,1648,1542,1384,1230,1020,971,1154,1162,1048,1126,1608,1368,1344,1366,1394,1394,1498,1300,1240,1068,807,983,1142,1160,1126,1068,1002,1224,1094,879,719,595,557,573,593,636,688,745,770,795,818,895,942,956,1390,1440,1238,1226,1428,1990,1938,1632,1672,1664,1788,1852,1736,1536,1390,1206,1108,1122,1216,1260,1332,1296,1366,1414,1072,1028,1001,709,844,1088,1218,1310,1270,1200,1232,1310,1262,912,935,1142,1154,1236,1192,1384,1428,1332,1270,1346,1420,1486,1468,1418,1540,1616,1638,1736,1710,1676,1638,1472,1364,1312,1394,1506,1300,1256,1100,1210,1202,1094,1382,1626,1448,1444,1616,1742,1788,1618,1488,939,799,968,1182,1418,1428,1158,1020,994,1084,1244,1396,1294,1084,1106,896,728,1002,846,553,402,440,708,1194,1398,907,539,423,477,721,1078,1036,1312,1406,1282,933,586,804,1330,1490,1148,800,958,1316,1550,1072,996,1294,1258,1094,1302,1566,1378,1444,1734,1548,1030,761,818,732,883,911,1144,1092,863,940,1160,1034,721,998,1030,1262,1128,916,800,863,911,901,838,1084,1162,641,915,1128,958,1080,1208,786,637,797,846,876,1092,1308,1608,1660,1600,1564,1258,1206,1166,1068,1050,1202,1288,1182,879,899,1072,1064,928,1048,1156,798,933,999,1005,1732,3332,4660,3248,1144,485,392,456,745,927,1448,2002,1178,745,831,934,1018,1090,1238,1144,1013,1144,1204,956,1380,1206,1126,1416,1514,1500,1378,1194,1118,1011,877,977,1106,1174,1394,1422,1288,1296,1260,1380,1368,1284,1220,1136,1178,1592,1766,1776,1720,1638,1632,1660,1656,1616,1682,1718,1732,1746,1594,1582,1542,1694,1888,1892,1838,1848,1538,974,854,1314,1484,1632,1798,1700,1708,1748,1542,1376,1354,1250,1292,1272,1352,1456,1526,1554,1504,1560,1568,1582,1428,1314,1328,1136,944,885,901,973,849,800,828,1460,2436,2474,1670,1398,1360,1664,1656,1362,1436,1576,1362,1316,1156,1230,1250,1100,1284,1576,1344,1484,1730,1816,1620,1402,1534,1470,1272,996,1280,1120,1202,1142,1108,887,864,987,987,1072,1158,953,480,875,1302,1578,1616,1700,1718,1678,1632,1492,1358,1212,1302,1940,2482,1328,1390,1258,1480,1648,1810,1738,1648,1570,1460,1550,1542,1516,1554,1232,1202,1086,1180,1232,892,663,734,835,760,558,564,370,935,2036,1992,1826,1658,1550,1312,1190,959,592,755,1003,1232,1952,2348,2322,1860,1798,1434,1132,1620,2054,1390,515,413,507,1120,1410,1224,1542,1548,1324,1400,1456,1392,1394,1252,1130,1286,1400,1376,1332,1854,1878,1086,707,622,420,671,920,808,866,1046,1276,1656,1202,1128,1390,1372,1052,851,743,725,592,558,503,655,920,1180,1356,1116,933,714,1042,1360,1348,1368,1550,1494,1492,1562,1556,1576,1576,1578,1666,1636,1588,1460,1386,1372,1128,621,684,1094,1336,1374,1298,1188,1244,999,1058,1036,1214,1368,1356,1212,1116,1144,985,648,803,791,1414,1584,1692,2266,1882,1726,1350,797,1070,1378,1496,1224,1438,1490,1510,1294,1446,1926,2098,1748,1754,2464,2292,1786,1458,1328,1544,1304,964,901,1148,1610,1790,1780,1938,2148,1980,1886,1450,1234,1450,1516,1378,1344,2006,1248,1019,1260,1394,1426,1502,1736,1956,1992,1958,2014,1916,1948,1516,1788,1182,1040,1492,2038,2542,2374,1886,1760,1416,1612,1578,1492,1734,1892,1766,1742,1698,1442,1206,1176,1318,1328,1154,1054,1110,1232,877,807,1170,1020,962,1390,1492,1270,1334,1776,1660,1410,1492,1428,1370,1180,1036,1048,1046,1028,1020,1066,1014,962,1092,1262,1304,1186,1062,1118,1420,1482,1320,1582,1722,1704,1650,1562,1282,1258,1824,1346,940,1060,1204,1324,1234,1264,1356,1324,1278,1356,1238,1228,1388,1396,1130,1026,978,1066,1290,1190,993,861,551,508,609,703,987,1122,932,1060,1128,1438,1542,1504,1308,1076,992,980,924,1150,1188,1324,1428,1438,1582,1476,1248,1086,1190,1152,675,585,1054,1662,1582,1276,1378,1312,1220,1406,1394,1416,1404,1326,1560,1378,1164,1124,1438,1494,1290,1202,1110,1148,1208,1240,1278,1150,871,1288,1588,1342,1440,1386,1244,1208,1196,1048,730,827,1176,1172,946,988,1086,1632,1808,1108,902,975,906,555,888,1352,1362,1450,1562,1462,1318,1082,1246,1230,1384,1666,1614,1594,1494,1358,1284,1272,1262,1214,1186,1220,1280,1368,1268,1448,1340,1134,1021,919,919,1152,1190,968,470,370,398,385,783,1266,1126,682,854,1676,1958,1560,843,568,758,960,1005,1078,1088,951,924,1222,1432,1730,1572,1184,1506,1648,1192,1382,1412,1332,1238,1188,1128,1112,1166,1262,1186,1158,1152,1092,1316,1254,752,437,405,486,399,307,637,899,813,853,862,847,797,760,1222,1262,999,1074,1180,1260,1158,1232,1362,1208,1080,1136,1188,1182,1200,1414,1472,1340,1170,1232,1470,1644,1546,1354,1490,1526,1516,1240,1224,1362,1350,1184,998,1088,1274,1086,894,1166,1482,1354,1256,1776,1598,1007,555,503,844,861,934,890,903,890,539,419,402,343,384,630,1296,1498,1510,1338,943,830,1282,1422,1132,1284,1432,1284,1288,1256,1480,1220,993,1038,817,541,484,597,963,1266,1186,930,667,550,860,1358,1370,1248,779,455,714,1252,1268,1130,1094,1210,1242,1214,1038,909,1148,896,590,618,834,1084,1078,1180,1158,1252,1578,1620,1318,1094,1056,1278,1260,1268,1324,1526,1512,929,634,920,1128,1230,1238,1246,1346,1364,1486,1788,1472,589,534,462,444,749,1088,1208,800,647,877,1148,1156,923,967,1204,1168,1084,1158,518,421,562,638,655,844,1094,1622,1758,1036,909,1170,1242,1164,1268,1336,1370,1096,982,918,1042,973,1122,1220,1116,1038,1232,1164,976,1132,1186,891,944,768,555,808,1042,790,471,526,519,447,577,537,408,308,380,912,1032,780,611,825,1036,932,699,710,1150,1316,1398,1392,1226,1154,962,612,495,606,914,1440,821,605,854,1054,1128,1058,817,1005,968,1062,1344,1118,908,1108,756,957,1490,1366,1216,1266,1422,1432,1558,1434,1180,1176,1002,1016,1017,719,626,899,1204,1246,1278,1462,1312,782,958,970,638,902,945,943,1100,849,920,1136,1136,1146,893,854,1174,1250,1236,1240,1402,1470,1472,1472,1142,754,985,1340,1598,1542,1444,1448,1202,1150,1338,1400,1418,938,878,1182,1078,1028,1314,1364,1019,731,1086,1200,691,438,420,420,379,426,635,536,353,319,346,458,483,367,376,449,802,1058,860,712,969,983,984,915,1012,1296,1340,1280,1348,1332,1318,1290,1166,723,529,548,484,441,486,483,513,544,616,656,767,1086,1050,903,1202,1392,1366,1514,1526,1254,1046,1272,1286,1158,966,1158,882,1007,1350,1106,718,675,980,1286,1438,1112,989,1122,1578,1502,1328,1328,1214,1244,1252,1422,1248,754,1170,1472,1442,1388,1228,1184,1036,714,838,1148,1412,1438,1128,1526,1272,739,657,582,844,1154,1390,1472],[605,747,678,683,790,1028,1024,947,1014,1528,1578,1146,1210,959,653,740,965,740,598,958,1236,870,862,1086,1146,1074,1174,1138,1120,968,909,1266,921,1072,1372,1388,1182,667,658,1100,1290,1216,1122,1007,1078,1188,1242,1512,1060,556,467,578,1122,1450,1126,730,583,628,897,1158,1170,1012,1194,1028,835,1074,942,787,740,572,698,716,806,972,906,775,1178,1656,1716,1492,995,616,807,861,509,367,314,314,328,340,332,422,465,373,384,470,461,438,521,635,952,899,677,527,694,1238,1242,1058,1104,1064,1430,1732,848,813,666,683,909,576,383,336,797,1386,1320,977,1156,1460,1296,1638,1470,1060,858,963,869,926,1004,1106,1386,1172,658,419,690,1072,718,788,1388,1102,512,389,414,572,1110,1104,773,1132,633,797,1174,1290,948,617,763,907,1224,1276,1290,1786,1964,1478,1542,1276,1260,1240,870,1134,878,853,997,1108,1282,1009,600,504,404,390,323,426,409,849,1090,673,545,528,536,525,378,410,513,412,400,606,846,1015,797,495,430,449,427,421,507,539,618,722,1150,966,1054,752,490,354,458,750,954,1050,1114,1064,1180,1034,1082,768,975,719,786,660,513,511,437,489,769,764,529,519,479,670,884,910,896,990,836,988,1262,1220,1022,1396,1730,1480,836,1300,1850,1828,783,530,554,675,825,682,400,302,505,973,995,562,386,388,569,496,487,1015,1444,1422,1398,1334,1512,1650,1194,482,331,607,1158,1242,1144,1118,1174,1122,1148,1078,921,1282,1558,1798,1624,979,745,1218,1430,1152,1230,1426,1088,802,940,911,1328,988,1240,1168,894,1406,1534,1456,1040,661,890,906,1044,1276,974,983,602,774,1026,925,660,465,705,1052,883,529,670,598,566,1006,813,943,1178,880,801,850,985,1038,735,697,1146,1216,1224,792,542,463,811,930,971,1130,1104,922,772,892,733,501,741,989,748,578,685,768,755,1011,1444,1472,1168,823,778,1026,1238,1226,879,1076,1218,1372,1262,1138,1284,1444,1334,1212,910,456,427,442,371,376,394,406,489,486,846,1019,1304,1732,1432,1310,1342,1348,1272,1448,1030,951,902,804,758,1042,1196,1038,1102,1238,1240,1210,1332,1394,1088,1108,1424,1622,1406,1110,1148,1086,1268,1296,1354,1356,1278,1164,1068,1032,1164,1168,1256,1336,1320,1180,983,1100,949,1088,1266,1242,1366,1298,1236,1258,1024,853,1038,1148,1224,1328,1284,1314,1324,1196,983,716,604,568,542,587,698,811,950,963,1116,1174,1220,1238,1172,1512,1788,1620,1526,1642,2070,1910,1744,1796,1904,1908,1770,1654,1498,1318,1218,1076,913,1136,1200,1264,1234,1308,1454,1056,855,846,587,594,796,1072,1300,1294,1152,1278,1414,1332,1084,1086,1316,1358,1278,1272,1342,1674,1736,1642,1616,1622,1684,1766,1708,1596,1124,1078,1312,1254,1218,1258,1236,1306,1316,1354,1432,1230,1114,1072,1028,1166,1204,1096,1176,1310,1524,1608,1754,1928,1686,1262,922,974,892,916,1232,1432,1410,1058,999,1134,1260,1448,1384,1290,1312,984,953,1042,708,468,425,539,838,1078,960,905,724,445,489,935,1044,1050,1196,1302,1266,946,613,777,1256,1340,810,612,1001,1356,1798,1312,1112,1436,1436,1370,1394,1426,1180,1194,1770,1544,993,711,856,781,698,743,976,1258,1082,852,897,807,828,1206,1278,1268,1230,1274,1246,1080,1016,818,671,832,912,471,832,1048,846,781,810,704,772,1242,1332,1040,1044,1162,1100,1470,1520,1322,1150,1224,1202,1108,1134,1122,1130,997,893,1104,1036,1190,1158,1220,1332,1054,1084,997,832,946,1700,2074,1312,921,813,672,785,987,936,1616,1944,1114,642,588,653,763,986,1190,1048,1202,1366,1478,1536,1738,1388,1324,1666,1678,1368,1274,1290,1108,1132,1216,944,1098,1182,1394,1282,1310,1352,1446,1384,1142,1017,1122,1128,1130,1410,1512,1498,1114,1112,1344,1554,1736,1706,1506,1286,1206,1314,1338,1468,1710,1680,1596,1798,1862,1836,1748,1404,1218,1338,1372,1582,1422,1472,1744,1708,1610,1568,1500,1366,1178,1108,1394,1734,2062,1694,1484,1562,1658,1538,1540,1422,1460,1406,1198,954,852,716,558,665,915,1936,2028,2180,1628,1614,1640,1718,1614,1110,1072,991,733,1282,1326,1516,1422,1010,1196,962,786,1296,1452,1656,1552,1460,1422,1156,990,1026,1334,1322,1296,1198,993,949,1066,993,916,904,949,617,885,1274,1388,1614,1688,1606,1598,1498,1238,1344,1300,1136,1382,1550,1534,1502,1642,1642,1592,1536,1654,1612,1512,1460,1448,1430,1482,1472,1488,887,743,968,1122,1136,875,603,549,644,669,550,727,559,1612,2446,2048,1802,1854,1716,1190,827,745,763,1246,1478,1510,1566,2136,2286,1704,1764,1650,1684,2060,1974,1082,333,443,622,1258,1538,1530,1666,1466,1138,1466,1622,1340,1418,1282,1012,866,826,961,1316,1926,1952,1009,581,524,455,479,663,673,700,1256,1648,1878,1436,1208,1138,1168,1292,1184,1184,1194,1106,1022,1074,1224,1404,1490,1480,1412,1488,1378,1342,1490,1580,1580,1526,1502,1494,1406,1376,1430,1362,1388,1298,1156,1004,1002,1114,1166,875,476,588,1022,1456,1600,1526,1558,1298,1194,1372,1230,1328,1506,1328,1110,1154,1082,842,660,817,1058,1346,1142,1412,1938,1388,1052,692,970,1896,1600,1238,1138,1448,1382,1268,1044,1023,1382,1794,1894,1950,2120,2230,2104,1546,1572,1714,1524,857,619,1021,1396,1600,1438,1482,1706,1840,2072,1580,1558,1450,1544,1062,1214,1598,1160,888,860,1014,1480,1690,1682,1628,1690,1892,1990,1908,1892,1758,2010,1560,1406,2092,2422,2578,2326,2082,2130,1508,1540,1640,1546,1472,1692,1844,1904,1750,1380,1190,1190,1226,1246,1118,986,976,984,865,835,1098,1076,1042,1308,1332,1330,1634,1572,1542,1472,1476,1510,1266,1074,1186,1210,1162,1100,1058,1030,1048,993,902,1007,1154,1190,1228,1318,1410,1494,1450,1404,1522,1640,1666,1442,1080,1556,2014,1576,1252,1206,1322,1334,1224,1302,1278,1228,1130,1126,1192,1450,1318,1250,1152,1021,998,1070,1238,1580,1366,1258,786,601,675,798,962,887,959,1094,1216,1516,1526,1312,1240,1176,1216,1268,1050,1152,1242,1144,1046,1212,1394,1320,1240,1196,1288,1220,897,912,1144,1570,1396,1254,1452,1352,1312,1838,1994,1750,1730,1250,1406,1500,1554,1428,1560,1180,1146,1278,1210,1174,1274,1204,1322,1428,1238,1332,1246,1134,1230,1174,1144,1268,1174,852,667,923,1150,1138,1084,996,818,1842,1758,1154,1084,1058,971,811,814,1068,1206,1374,1372,1484,1440,1440,1628,1644,1720,1698,1470,1166,1236,1316,1138,1222,1338,1400,1428,1278,1148,1190,1516,1772,1514,1288,1082,726,906,1212,1270,1222,792,702,636,549,1022,1244,890,638,829,1158,1486,1202,617,728,1046,1116,977,1046,1013,1060,1368,1530,1516,1478,815,626,1232,1808,1290,1078,1234,1334,1166,909,1088,1304,1288,1246,1096,1094,1058,1226,1274,1070,824,473,321,308,373,369,601,1018,949,894,984,966,1582,1444,1422,1310,1064,927,1004,1110,1088,1254,1260,1158,1092,1140,1116,999,1374,1368,1318,1216,1076,1226,1410,1510,1172,997,1122,1462,1496,1154,1021,1216,1266,1100,1012,1154,1262,835,564,707,973,1296,1506,1746,1166,733,532,507,584,772,1186,1176,959,676,360,327,364,382,548,1084,1566,1572,1632,1340,843,906,1052,1216,1138,1306,1338,1208,1102,976,1364,1300,957,951,977,741,589,793,1172,1350,1200,707,558,841,1332,1368,1300,1390,1046,647,747,1036,1100,1074,1082,1328,1082,1038,710,788,1030,1020,1068,1032,1194,1060,1066,1270,1332,1054,1132,1322,1200,1038,1344,1426,1358,1348,1300,1572,1394,1354,1246,1316,1180,1138,1204,985,841,1070,1336,1532,1022,532,571,449,465,614,1106,1542,1162,766,1015,1066,986,974,1026,882,694,858,1130,758,602,773,632,655,792,868,1336,1542,1170,1160,1348,1180,1080,1244,1272,1314,1280,1058,1354,1406,850,1068,1188,1254,1238,1244,1176,1296,1158,1072,1174,1260,919,565,927,1268,1070,617,907,967,523,358,363,331,400,637,935,1068,1186,966,841,651,756,631,667,745,825,1094,1090,1005,1090,1084,774,448,397,878,1456,860,843,1502,1476,1282,1090,904,1112,1190,1080,1242,1246,1092,1066,566,755,1158,1132,1272,1494,1548,1534,1676,1654,1480,1214,1182,1252,800,548,453,772,1052,969,783,1180,1400,891,971,767,488,716,1150,1246,1122,827,846,916,1128,1122,744,952,1220,1196,1300,1340,1264,1004,1188,1308,1142,1052,816,719,1296,1660,1692,1568,1472,1444,1296,1206,1486,1268,916,921,1016,1126,1260,1364,1210,773,853,794,629,402,485,383,349,510,946,837,403,422,560,550,552,463,646,464,761,850,756,777,865,1004,1110,1142,1194,1354,1252,1136,1212,1328,1306,949,623,541,532,569,518,394,419,511,554,522,565,626,696,825,883,1042,1368,1402,1354,1382,1610,1504,1220,1090,1232,1698,1426,1038,841,879,854,863,1030,1368,1654,1598,1466,907,999,1040,1486,1670,1602,1378,1434,1390,1218,1428,1432,962,1096,1148,982,1266,1442,982,505,424,820,1182,1362,1500,1686,2080,1376,657,485,393,629,990,961,823],[682,948,843,594,598,863,927,691,527,585,638,948,1360,1110,833,841,949,688,531,715,764,659,1066,1790,1698,1242,1102,948,1270,875,719,1294,1296,1312,1354,1320,1190,591,733,1134,1016,1009,877,661,861,1078,836,1222,1388,887,755,1009,937,628,675,854,1176,896,794,972,932,868,1120,1076,1104,1344,1178,1270,1120,891,1001,979,785,1072,1044,1032,1184,1128,1178,1038,664,565,703,771,562,346,314,327,346,334,361,420,432,434,418,477,595,653,661,733,638,742,678,516,656,1072,1194,862,985,922,1452,1330,700,653,870,741,498,636,771,513,611,873,919,557,705,1406,1328,1406,1400,1412,1426,998,830,1009,952,874,1026,819,749,448,509,633,721,965,1438,1144,609,463,543,559,869,1440,1294,1230,766,829,938,956,1186,933,708,915,959,1002,1172,1422,1824,1936,1958,1650,1250,1120,935,986,846,1028,1186,1038,1050,948,777,738,450,440,459,647,543,701,969,1074,909,589,653,770,469,359,332,253,354,627,698,824,796,584,422,410,357,394,296,365,724,653,771,1072,835,595,561,520,446,560,669,519,658,877,973,1036,1190,1009,1368,1082,827,661,451,392,417,516,558,550,419,531,606,717,955,672,803,1172,954,933,1208,932,764,1134,1386,1472,1186,1600,1828,1460,619,332,688,1228,1350,858,423,290,390,802,919,525,348,450,810,901,875,1034,946,1080,1278,1222,1308,1414,1042,615,519,662,714,530,715,1170,1164,1138,1400,1316,1084,1306,1482,1592,1368,1120,1044,1284,1400,1204,1136,1424,1594,1086,777,904,1550,1078,1212,1372,1176,1170,920,666,622,733,1008,959,1204,1182,813,985,860,1240,1366,897,451,419,652,1406,1510,816,621,524,477,573,525,799,1046,1066,754,583,685,645,521,624,1192,1004,1066,607,451,483,679,801,1030,1198,1130,902,1378,1434,728,519,825,1100,955,833,894,744,769,1126,1466,1328,1072,600,807,622,670,807,608,733,1658,1724,1208,1178,1416,1542,1290,1070,758,421,451,516,502,539,481,446,449,700,1282,1328,1494,1536,1226,1172,1238,1312,1372,1510,1444,1208,954,984,1144,1248,1170,1176,1246,1214,1184,1092,1092,924,553,991,1444,1560,1432,1230,1016,865,894,1154,1268,1268,1206,1278,1252,1038,1224,1220,1370,1272,1142,1188,1680,1262,713,987,1142,1396,1494,1122,1208,1200,983,1070,1256,1310,1222,1332,1346,1256,1196,1118,894,577,570,612,626,694,763,871,1068,1260,1374,1272,1200,1214,1294,1698,2142,2024,1742,1632,1738,2052,2082,1904,1880,1830,1764,1638,1478,1346,1268,1214,1050,1180,1300,1366,1330,1394,1406,987,601,612,551,571,831,1292,1246,1164,1120,1154,1080,1304,1338,1246,1400,1516,1456,1522,1570,1744,1668,1660,1484,1488,1518,1454,1236,1004,736,686,946,1182,1036,1158,1218,1310,1260,1344,1534,1398,1082,1040,1166,1312,1234,969,1226,1686,1340,1426,1750,1874,1644,1234,1128,1003,807,962,1070,1260,1138,860,1138,1276,1418,1438,1472,1292,1124,1004,1194,1196,866,735,545,605,752,830,634,815,1100,754,440,907,1304,1178,940,1086,1206,1030,696,674,1036,1001,586,480,896,1616,1982,1412,1170,1482,1348,1462,1750,1686,1262,1034,1090,1132,885,683,857,990,850,553,819,1040,733,694,1272,1068,1170,1208,1198,1354,1214,1190,1278,1206,1128,937,804,972,1044,709,1062,903,659,866,928,911,979,1064,974,966,1332,1494,1156,1402,1458,1500,1226,1038,983,822,860,737,656,575,788,1268,1024,1116,1174,1204,1296,1084,731,749,1096,958,974,1010,761,977,843,748,996,1222,1148,1322,1288,1174,1208,1138,1138,1005,1066,1144,1164,1748,2028,2084,1778,1516,1296,1156,1382,1408,1310,1396,1238,1106,1158,1260,1140,1146,1340,1396,1218,1268,1160,1170,1242,1176,802,980,1026,1062,1210,1164,1008,791,681,697,1180,1656,1488,979,645,576,528,473,799,1310,1228,1280,1312,1384,1706,1760,1672,1532,1548,1652,1542,914,1056,1598,1718,1708,1686,1566,1294,1092,1092,1338,1992,2146,1750,1618,1914,1928,1488,1488,1810,1776,1516,1290,1140,965,781,688,720,1116,1438,1694,1946,1614,1660,1832,1614,1626,1010,1258,1028,1098,1500,1440,1398,1186,1136,1120,735,995,1298,1232,1318,1540,1622,1554,1046,629,670,1020,1290,1206,1064,819,925,1036,1054,1054,942,891,933,1220,1358,1606,1528,1456,1692,1772,1424,827,943,771,842,899,1060,1244,1200,1152,1182,1218,1344,1410,1526,1582,1598,1556,1584,1580,1354,1424,1188,1015,908,867,985,905,771,816,740,627,512,667,907,1500,1616,1398,1480,1620,1478,989,857,701,789,1288,1664,1396,2064,2640,2110,1832,1976,1708,1704,2054,1930,1212,566,469,746,1480,1644,1390,1286,1396,1256,1438,1628,1272,1266,1400,1108,1100,1246,1222,1384,1476,1394,1282,1122,1046,1142,1166,1230,1226,1362,1546,1644,1794,1650,1512,1462,1626,1602,1426,1290,1274,1328,1578,1560,1406,1324,1340,1448,1484,1408,1342,1314,1186,1136,1132,1036,834,714,680,783,1005,1060,1005,913,1124,1394,1652,1600,1352,1136,925,614,759,959,1136,1284,1366,913,912,1009,1084,1308,1418,1498,1546,1396,1280,1158,944,984,1450,1750,1698,1770,1722,1294,879,519,1490,2954,2494,1672,1620,1622,1506,1142,998,1064,1322,1738,1848,1814,1926,2138,1556,980,910,1332,1444,865,852,1228,1322,1448,1508,1666,1852,1896,1644,1360,1322,1640,1550,1005,1188,1028,686,940,849,983,1470,1532,1804,1778,1592,1804,1806,1864,2006,1786,1932,1742,1278,1974,2258,2414,2402,2186,2042,1628,1516,1706,1656,1402,1444,1528,1520,1374,1200,1166,1066,990,1013,1088,1146,948,1022,1036,849,1050,1168,1110,1338,1362,1582,1772,1704,1558,1458,1410,1404,1162,1250,1632,1620,1380,1086,1086,1088,1090,1116,1058,965,1032,1198,1432,1360,1104,1178,1234,1226,1298,1338,1506,1516,1372,1534,1746,1462,1254,1638,2062,1224,1322,1444,1310,1166,1322,1250,1314,1494,1072,971,1134,1138,1238,1572,1698,1650,1312,1294,1312,1040,852,757,822,993,1076,1072,1318,1494,1460,1366,1328,1260,1188,1122,1150,1036,1062,846,674,977,1164,1112,1028,1212,1252,1186,1100,1138,1052,1144,1158,1270,1508,1550,1804,2696,2580,1734,1396,1252,1460,1498,1528,1504,1516,1488,1414,1232,1298,1232,1346,1340,1282,1322,1408,1498,1206,1110,1106,935,857,911,988,912,871,1023,1208,1236,1228,1021,860,1208,1182,1146,1206,1116,1112,1200,1252,1138,1140,1194,1494,1592,1548,1722,1726,1694,1628,1516,1290,960,1174,1240,1072,1088,1302,1418,1354,1226,1174,1196,1454,1660,1406,1140,821,785,1082,1094,1116,1068,903,905,647,811,1204,1100,681,614,586,628,1032,724,642,937,1182,1060,993,1168,1412,1542,1612,1462,1402,1310,647,565,709,1360,1772,1390,914,1032,1004,801,1074,1262,1204,1158,1019,1132,1234,1318,1186,1208,1086,717,426,408,433,480,623,708,673,1058,1180,1220,1690,1560,1334,1350,1328,1170,1132,1188,1446,1324,1188,1140,1028,845,969,1142,1224,1216,1236,1066,1160,1182,1436,1526,910,970,1216,1356,1632,1508,1322,1362,1116,919,984,965,849,547,474,556,714,1038,1262,1040,565,482,466,504,754,1278,1722,1468,1148,583,366,346,364,480,703,1050,1208,1316,1534,1230,977,1208,1380,1300,1246,1246,1234,1074,1090,954,1164,1190,711,806,943,875,785,682,933,1170,1322,1046,1106,1386,1422,1278,1208,1302,1100,1236,1076,1060,1190,1480,1480,1190,920,1052,1122,935,862,1036,985,1162,1284,939,1094,1344,1596,1460,1246,1074,979,1174,1310,1062,1098,1110,1136,1340,1482,1308,1476,1504,1112,995,1060,965,1116,1396,1098,1004,590,473,453,399,481,536,1092,1732,1236,959,1254,1158,1026,858,1010,862,606,913,1250,1282,896,460,400,634,926,841,655,790,970,1180,1352,1254,1274,1354,1272,1192,1110,756,656,832,802,763,976,1206,1198,1100,1116,1214,1156,1248,1434,1508,1130,893,999,1142,961,514,715,927,642,418,407,545,687,1074,1032,907,1218,1294,1282,977,735,705,874,667,561,900,1011,788,934,1310,1126,652,512,631,677,574,1216,1536,1298,1376,1314,1036,1250,1226,1272,1380,1226,1196,1118,690,1060,1126,910,1084,1402,1580,1654,1686,1528,1554,1300,1040,868,582,576,630,763,1082,1294,1288,2158,1238,1094,1344,1208,759,740,1044,1216,1246,1114,801,731,880,804,1132,1496,1378,1172,1334,1176,1086,1052,1128,1196,1015,918,946,768,1066,1302,1516,1676,1528,1316,1086,1356,1440,1182,1072,1132,1506,1718,1400,1306,1368,847,763,608,478,363,346,645,775,542,606,564,654,905,904,861,744,963,1220,762,584,467,591,927,1036,1152,1318,1504,1446,1368,1446,1366,1310,1226,1212,982,667,523,523,526,530,419,387,458,535,467,658,952,957,1114,1354,1400,1372,1188,1130,1388,1584,1352,1252,1238,1376,1646,1124,908,1148,1104,1134,1262,1246,1540,1728,1678,1354,1001,968,1236,1416,1676,1704,1200,1072,1136,1516,1416,1182,1162,1226,1176,1172,1254,899,451,338,435,684,1088,1512,1644,1486,1252,1086,672,476,521,444,527,647,839],[1092,1130,829,504,690,1044,1146,840,414,378,675,1268,1512,1048,847,1040,867,577,574,854,908,691,935,1322,1010,1082,1204,940,955,932,821,1013,1172,1080,1272,1280,972,558,893,1118,1034,1062,1032,904,1188,1316,1034,1302,1650,1330,1330,1440,1308,956,1270,1154,843,730,752,878,1084,1140,1056,1070,1056,748,777,981,1003,987,1178,1194,1023,996,1024,1018,1034,1048,1009,617,454,441,616,613,418,337,334,338,348,336,365,412,466,527,446,695,937,1382,1108,786,619,722,734,552,875,1410,1136,423,437,859,1320,1246,854,728,927,724,523,870,1050,491,466,761,1002,684,613,983,1454,1494,1288,1092,877,899,863,791,1028,752,645,335,658,518,519,824,993,958,1140,1122,778,489,526,528,585,1444,1636,1384,1044,709,799,945,977,739,720,1068,966,832,786,1186,1958,1970,1590,1446,1132,837,528,436,628,878,1046,1072,907,1056,1166,907,583,448,428,691,574,591,1138,1224,591,397,468,475,360,501,869,883,683,567,453,563,816,1050,894,752,370,377,313,645,1028,869,830,832,772,850,966,863,615,449,656,517,749,1114,1600,1500,1220,1184,1486,1104,632,367,321,393,671,789,903,587,414,579,692,925,749,393,538,930,883,946,1296,1282,1090,1610,1328,1214,1120,938,806,648,524,504,875,1354,1194,799,596,367,321,397,401,273,322,714,1174,1190,1038,1146,1212,1422,1382,1184,1052,1214,988,724,628,624,694,610,791,1296,1244,1192,1412,1122,1170,1324,1438,1318,1054,1158,1288,1356,1204,1019,1242,1538,1518,1180,927,1144,1416,1306,1300,1350,1212,1072,963,891,702,539,556,750,1004,1004,634,728,1210,1224,997,678,503,521,847,1646,1368,849,709,676,496,355,524,766,1070,986,536,608,489,454,434,404,458,490,514,530,688,886,855,943,1208,1054,1015,1158,1808,1464,623,668,1200,1494,1290,1210,1106,877,995,1142,1192,996,977,588,574,398,780,969,789,788,1032,1290,1340,1262,1302,1270,1324,1076,679,567,620,568,529,512,453,415,518,1062,1436,1402,1362,1236,1118,1142,1150,1324,1490,1712,1844,1312,901,1176,1332,1296,1268,1296,1252,1526,1322,1062,1156,984,915,1042,1194,1476,1370,1250,1194,1030,1068,1188,1216,1188,1134,1272,1242,1070,1242,1242,1272,1274,1178,1080,1144,883,852,984,1015,1194,1216,1178,1294,1238,1208,1212,1236,1316,1208,1182,1352,1378,1224,822,597,642,713,694,661,678,750,826,987,1176,1168,1122,1278,1476,1546,1750,2204,2374,2144,1926,2164,2344,2108,1874,1738,1760,1750,1604,1528,1352,1250,1252,1038,1102,1100,1120,1214,1204,1328,1494,1284,922,716,510,759,1046,1144,1194,1116,1106,1282,1630,1752,1752,1772,1742,1758,1830,1720,1694,1686,1396,863,718,836,954,881,650,648,1224,1318,1240,957,924,1076,1176,1080,1021,1108,1172,1092,1020,1040,1116,1148,1001,1276,1620,1102,1050,1210,1280,1238,1126,1076,982,1132,1080,792,890,782,786,1100,1432,1388,1406,1454,1632,1738,1090,937,1010,998,1224,986,907,571,462,499,838,1386,1188,653,756,1015,1152,710,702,1046,1020,673,509,1138,1180,735,536,851,1602,1722,1226,948,886,956,1044,1326,1452,1260,901,934,1260,993,644,914,1206,957,572,519,420,399,742,1246,1154,1208,1118,859,1058,916,773,838,1016,951,1023,1368,1568,1244,873,1196,1110,769,886,959,1114,979,1006,803,865,1564,1660,1146,1300,1482,1532,1472,1158,774,750,738,705,525,437,1080,1786,1362,1060,1132,1146,1072,1054,1130,1296,1576,1274,1152,893,777,901,760,890,1092,995,1148,1592,1520,1314,1556,1454,1582,1260,1196,1200,1310,1444,1522,1800,1626,1270,1282,1246,1256,1346,1494,1592,1256,1182,1212,1148,1224,1314,1554,1350,1044,1096,1108,1116,1108,1170,1023,1044,1052,1208,1226,1132,1064,1094,973,791,1170,1268,727,617,665,606,648,751,965,936,720,861,890,1092,954,956,1166,1152,1262,1700,1746,1434,1390,1582,1714,1748,1748,1630,1708,1660,1414,1122,1260,1172,1392,1636,1832,1788,1290,1180,1678,1760,1638,1456,1256,968,941,1044,905,1148,1306,1754,2084,1554,1432,1562,1438,1826,1358,1498,1346,1420,1466,1322,1192,1240,1300,1106,896,1286,1226,1288,1436,1880,1630,1506,1316,1350,1136,1104,1268,1196,1100,897,1036,912,1112,1464,1354,1136,1244,1454,1578,1572,1310,1334,1348,1416,1332,1054,1294,1274,1112,1100,1284,1374,1256,1180,1144,1050,1116,1364,1550,1618,1494,1502,1594,1554,1498,1382,1384,1402,1362,1444,1344,1256,1324,1246,1030,1038,1010,1124,1196,1226,1140,947,1015,1290,1390,1172,1134,837,915,1422,1796,1494,1604,1920,1738,1510,1552,1742,1650,1706,1642,1472,1184,1009,1106,1490,1576,1578,1584,1464,1478,1382,1592,1522,1332,967,830,1232,1410,1534,1560,1328,1292,1352,1572,1460,1180,1256,1328,1158,997,1016,1116,1180,1280,1046,960,1168,989,679,472,476,666,1014,977,720,691,712,772,883,913,937,968,949,1048,1062,1096,1074,1206,1256,1162,1192,1274,1172,1306,1632,1574,1766,1750,1598,1570,1360,971,804,717,794,769,771,869,891,1092,1136,1254,1548,1594,1534,1532,1358,1532,1560,1740,1838,2026,2600,3152,2902,1944,1017,1112,2378,3372,2734,2238,1960,1800,1412,1028,816,1140,1624,2002,1788,1636,1616,1516,1266,880,991,1400,1300,1078,1174,1362,1452,1322,1274,1412,1832,1584,1126,919,1098,1600,1226,829,1003,652,684,1052,801,963,1420,1302,1584,1704,1616,1502,1374,1454,1614,1592,1874,1678,1000,1386,1672,1982,2008,1982,1938,1918,1798,1698,1700,1412,1272,1246,1134,967,934,988,959,976,1216,1758,1724,1198,1178,1210,971,1080,1232,1388,1542,1436,1564,1528,1484,1470,1466,1388,1060,803,998,1346,1482,1360,929,974,1068,1090,1216,1246,1128,1054,1152,1250,1288,1190,1086,1052,1092,1218,1338,1296,1450,1540,1556,1360,1122,960,1434,2182,1728,1382,1288,1396,1394,1318,1146,1410,1216,1092,1312,1220,1092,955,1166,1612,1306,1218,1084,1000,1188,1020,593,767,1164,1222,1212,1372,1612,1454,1398,1268,1060,1108,1118,1094,997,917,941,960,901,1096,1242,1186,1194,1198,1150,1216,1174,1082,1070,1104,1174,1490,1744,1920,2932,2900,2048,1546,1322,1240,1390,1384,1460,1598,1490,1296,1172,1506,1452,1340,1154,1132,1268,1346,1308,1302,1348,1168,1082,942,809,855,1012,965,1082,1246,1218,1202,1128,980,960,1100,1138,996,957,1050,1292,1538,1428,1448,1506,1678,1708,1670,1580,1504,1500,1394,1272,1250,1082,1050,1192,1188,1124,1294,1214,1230,1246,1212,1196,1256,1216,1288,1170,1001,972,971,963,1050,1026,1108,914,681,1182,1288,897,605,725,560,861,994,666,955,1356,1330,1174,1088,1438,1666,1570,1398,999,848,1274,1070,644,1068,1898,1952,1534,1314,1350,1260,1230,1206,1390,1516,1330,1136,1076,1402,1458,1126,1132,1116,1060,673,478,464,603,798,830,935,1134,1036,985,1086,1156,1268,1272,1308,1248,1232,1106,1272,1144,1158,1260,1228,1108,1064,1108,1098,1136,1094,1322,1592,1406,1556,1516,1378,1524,1586,1530,1562,1396,1324,1362,1388,1350,1064,865,669,578,621,620,631,1086,1294,922,760,618,377,433,845,1404,1376,1126,753,427,399,555,602,717,1042,1116,940,1017,1092,833,1102,1272,1504,1192,991,1164,1290,1234,1058,816,997,1090,801,778,791,1028,1078,917,732,839,1018,1002,1312,1558,1422,1212,1218,1384,1088,1578,1346,1056,1196,1792,1554,1114,1032,1068,1182,1058,911,1102,1042,1042,1136,1194,1324,1486,1666,1684,1388,1078,1112,1232,1316,1238,1220,966,1150,1228,1262,1202,1292,1542,1496,1292,1248,1342,1216,1562,1408,1030,590,485,499,462,470,512,1030,1186,833,974,1036,1042,931,626,813,979,1056,1110,1312,1396,998,739,565,587,589,694,668,670,579,909,1122,1186,1300,1290,1232,1048,1040,1144,972,982,718,583,1144,1400,1436,1248,1166,1192,1188,1274,1516,1454,1192,1372,1106,874,587,463,532,867,1182,927,738,1048,1112,1390,1284,1106,1156,1418,1468,1306,985,990,905,749,773,805,583,846,1064,1228,1152,1011,769,455,349,383,422,615,927,891,824,691,990,1144,1300,1256,1212,1240,1226,1158,1222,1094,797,604,1092,1428,1528,1496,1292,1332,1268,1284,1124,696,541,662,902,1104,981,1092,1826,1560,1450,1490,1412,984,742,855,933,1082,979,789,784,810,953,1220,1392,1132,968,1182,1226,1188,1158,1112,919,536,619,1160,1150,1074,1234,1488,1612,1584,1346,1098,1092,1020,1176,1262,1250,1364,1566,1282,1242,1412,937,676,581,474,352,468,940,920,713,732,937,1150,1206,1026,1174,1152,1238,1258,1013,782,532,672,996,1266,1694,1428,1358,1470,1478,1678,1562,1426,1496,1548,1350,869,490,500,482,536,444,503,614,577,494,751,891,960,1438,1554,1120,1060,1080,1314,1474,1378,1136,1062,1124,1362,1290,869,712,952,1342,1456,1356,934,1306,1456,1354,1252,1134,1106,1268,1808,2666,2230,1452,1066,930,1116,776,558,979,1370,1208,982,828,567,389,412,409,576,1100,1510,1740,1050,816,1176,1007,819,902,653,872,1082,977],[987,851,957,803,976,1082,1372,1688,982,698,1166,1534,1444,994,1006,1160,697,523,655,1214,1210,962,1018,1218,1276,1172,1114,850,842,1130,1034,800,830,650,1184,1296,861,856,1310,1328,1108,1108,1216,1328,1504,1504,1220,1418,1362,1154,1228,1078,886,1112,1362,1062,719,628,843,1098,1196,1142,946,1166,1164,653,513,674,869,1017,1038,1242,1288,1064,1160,1015,769,1070,884,532,465,449,656,664,403,332,319,311,308,346,304,545,650,670,584,822,860,794,830,865,647,602,781,763,907,1100,782,488,621,1042,1166,1552,1530,1182,996,616,610,480,434,374,441,774,1088,873,1220,1142,1252,1640,1346,702,867,1190,781,538,851,857,553,320,519,579,623,1012,966,584,750,1036,673,472,480,454,438,1072,1610,1370,1060,1032,1052,1070,760,577,601,1012,1126,947,1066,1272,1380,1448,1562,1372,998,756,589,633,861,1256,1005,817,760,872,656,636,605,451,546,481,313,583,1288,1164,433,429,388,336,351,607,1554,1632,913,492,454,463,564,818,1120,1304,691,493,421,604,879,1048,1172,1106,899,784,810,978,900,647,778,1110,1328,1672,1924,1616,1378,1472,1232,580,483,432,359,344,475,664,862,769,1013,885,624,570,343,429,735,1070,853,738,976,1232,1130,1724,1218,705,717,633,490,681,1015,734,687,1098,1160,1090,891,441,330,338,323,270,266,626,1326,1486,1082,1184,1174,1162,1314,1304,984,1282,1364,1058,950,903,861,958,776,1042,706,890,1060,954,818,910,1182,1013,1218,1280,1256,1086,932,944,1096,1288,1084,1076,794,988,1040,1066,1488,1438,1224,988,637,1009,848,431,514,814,959,951,736,801,871,748,868,448,329,568,896,1190,1046,827,725,674,470,325,304,386,653,858,814,887,594,388,383,365,418,524,773,990,973,1176,1090,797,1120,1116,1168,1210,1564,1422,626,469,817,1208,1312,1314,1326,1280,717,871,1126,1236,769,536,796,1076,1250,1232,1008,1017,1064,1298,1300,1074,1080,1108,1224,1242,836,610,657,528,398,372,426,697,750,941,1050,1402,1272,1312,1384,1216,1156,1586,1954,1630,1472,1158,1144,1476,1418,1510,1342,1196,924,1116,1238,1196,1316,1286,1136,1026,984,1156,1166,1230,1202,1124,1122,1132,1250,1478,1536,1180,1142,1252,1320,1226,1084,1188,1272,1126,1140,1070,913,928,1118,1224,1208,1236,1332,1192,1066,979,996,1074,1170,1594,1908,1432,1044,924,836,1108,1328,1180,809,674,709,766,920,1058,1278,1570,1726,1622,1594,1570,1904,2260,2144,1974,2206,2266,2002,1920,1810,1722,1554,1728,1660,1340,1232,1248,1088,886,841,946,1006,1162,1464,1568,1380,1296,1376,1216,1198,1164,1278,1344,1320,1366,1650,1884,1884,1828,1752,1656,1594,1524,1476,1492,1400,955,672,835,957,1058,1056,1020,929,1366,1312,1278,1190,1068,1052,970,980,1144,1150,1172,1250,1250,899,1015,1090,930,1094,1148,1124,1214,1172,1338,1380,1162,989,1132,1244,890,521,1240,1322,741,894,1442,1316,1240,1342,1674,1626,1206,1016,960,954,1054,781,958,783,458,445,574,923,947,797,717,703,820,621,624,820,783,663,586,957,1144,907,749,776,1494,1462,1134,1178,945,569,444,544,621,669,684,794,855,713,668,873,1042,993,667,447,423,506,1054,1586,1324,1158,786,558,954,1004,916,1080,1286,1023,954,1198,1440,1186,723,916,861,503,514,697,875,1096,1000,857,887,1358,1382,1104,1368,1556,1464,1582,1224,745,833,847,833,766,731,978,1238,1094,958,1140,1202,984,870,1394,1482,1390,1130,1158,1174,1264,1216,856,678,717,772,1032,1594,1604,1460,1540,1316,1410,1160,1086,1142,1294,1412,1592,1800,1698,1222,1260,1306,1234,1274,1288,1246,1130,1282,1302,1126,1130,1528,1596,1200,1092,1070,1116,1158,1126,1158,1268,1306,1194,1188,1222,1252,1264,1450,1466,1168,1034,988,944,991,1048,1112,1198,1160,1216,860,604,890,1016,1308,1332,1130,780,636,627,1064,1566,1558,1466,1614,1632,1838,1916,1666,1782,1776,1642,1294,1396,1240,1134,1360,1454,1462,1318,969,1100,1580,1832,1554,1272,917,1011,1174,1158,1250,1168,1500,1826,1124,1130,1670,1568,1676,1642,1434,1384,1394,1320,1268,1338,1320,1210,1198,1210,1208,1350,1280,1420,1740,1524,1382,1456,1346,1136,1360,1378,1412,1062,1058,1460,1144,1254,1342,1300,1114,1156,1222,1424,1472,1270,1324,1240,1126,1096,1124,1306,1338,1160,1128,1142,1426,1942,1810,1182,1250,1492,1504,1578,1628,1484,1570,1322,1194,1410,1450,1522,1574,1412,1370,1474,1550,1498,1422,1470,1538,1488,1422,1328,1484,1676,1514,1448,1402,1100,1120,1204,1106,1246,1572,1494,1210,1200,1318,1306,1256,1408,1450,1528,1524,1232,946,995,830,774,990,1106,1428,1504,1258,1190,884,811,977,827,465,503,753,813,938,975,924,880,642,1090,1318,987,746,573,496,365,395,395,480,594,417,431,778,709,513,342,372,452,570,600,518,502,499,474,737,1066,1146,1172,1182,1196,1306,1334,1390,1510,1350,1268,1302,1536,1516,1106,1026,1306,1292,714,934,1274,1206,1136,1052,1096,1204,1076,1044,906,874,954,705,1005,1394,1424,1011,571,572,1028,1352,1244,1402,1720,1874,2032,2126,1944,1306,2258,3508,3636,3088,2476,2094,1724,1724,2304,1852,1344,1690,1826,1616,1154,1314,1406,1296,1258,1548,1532,1206,1324,1672,1952,1820,1274,1346,1254,1302,1256,1230,1048,1010,1116,703,654,853,533,868,1016,759,810,940,1070,1380,1672,1710,1592,1482,1438,1428,1322,1592,1648,1148,1320,1550,1582,1336,1426,1772,2022,1974,1628,1628,1484,1454,1484,1366,1664,1270,918,980,1078,1506,1770,1278,999,1216,1086,936,1021,1066,1172,1364,1262,1250,1266,1264,1380,1492,1348,939,794,916,899,890,725,557,684,905,1036,1010,1122,1268,1294,1154,1036,1252,1362,1150,986,1058,1376,1426,1140,1210,1500,1560,1350,1060,807,850,1206,1608,1510,1488,1498,1458,1320,1302,1162,995,1268,1226,781,738,753,1090,1228,1152,1318,1082,813,941,694,612,1268,1188,1190,1360,1390,1592,1670,1502,1212,1114,1170,1116,1092,971,788,960,1068,925,1001,1304,1294,1186,1160,1162,1216,1248,1036,994,1172,1298,1594,1644,1368,1694,1592,1256,1088,1134,1130,1208,1354,1352,1484,1530,1488,1366,1584,1558,1440,1216,1074,1150,1144,1042,1316,1466,1180,1036,1252,1152,990,1006,1003,1094,1072,1066,1156,1204,1052,1034,1202,1090,1032,1078,1072,1222,1400,1630,1738,1628,1544,1512,1390,1318,1232,1162,1216,1204,1134,1190,1288,1230,1184,1324,1300,1168,1276,1476,1266,1228,1270,1416,1346,1086,1038,1082,1154,1094,972,1052,1220,982,1003,1330,1128,766,1102,1326,1346,1368,833,620,1150,1516,1422,1452,1440,1696,1534,1528,1320,1102,1084,1274,1410,1298,1986,2742,2250,1596,1548,1654,1548,1310,1180,1234,1284,1294,1160,1056,1376,1504,1194,1186,1152,1382,1116,715,684,642,719,905,901,839,966,985,1023,1222,1322,1202,1292,1164,1024,1028,1076,1072,1001,1148,1160,1005,1222,1376,1132,1104,1168,1400,1432,1378,1582,1428,1506,2404,2570,1388,1716,1824,1382,1426,1550,1514,1334,1262,967,951,1104,804,714,1054,930,698,943,1017,660,491,923,1362,1216,703,422,427,623,855,783,786,1080,850,749,836,890,859,1068,1100,1050,1098,1070,1174,1356,1262,1224,1090,936,1038,932,768,813,979,1130,1138,1278,1432,1306,980,1136,1422,1252,1106,1402,1328,886,1068,1252,1118,1342,1346,1124,1222,1140,988,1236,1200,1282,1440,1158,1134,1290,1076,937,1144,1498,1452,1082,1146,1170,1356,1704,1610,1158,1005,1232,1324,1294,1278,1340,1610,1662,1628,1506,1408,1364,1670,1460,1372,1128,809,697,550,545,842,1142,767,858,991,781,930,957,839,877,965,979,991,1296,1534,1302,1266,973,794,699,579,523,463,521,1002,1248,1226,1140,1206,1334,1126,903,1042,808,634,521,606,1112,1600,1526,1232,1086,1176,1066,876,1244,1262,1206,1128,915,628,615,760,871,1188,1360,1130,926,918,877,1084,1332,1062,1238,1316,1282,1198,1080,977,1003,1274,1194,773,456,809,852,1262,1548,1428,1032,655,380,366,410,799,1180,1086,817,499,531,1106,1456,1350,1382,1278,1188,1568,1588,1250,937,1028,1258,1272,1386,1394,1008,1166,1370,1462,1406,1222,823,819,1472,1466,738,606,937,1260,1218,997,1340,1530,1084,760,735,1204,944,838,1286,1812,1700,1456,1226,1138,1200,1188,1230,1002,948,1122,941,547,523,861,1122,1312,1418,1440,1318,1394,1564,1418,1188,1282,1460,1362,1282,1218,1198,1100,909,1186,1038,601,692,629,358,491,836,731,984,1042,1180,1198,891,607,946,1348,1360,1128,892,995,811,905,955,1350,1684,1352,1318,1504,1492,1390,1222,1148,1406,1620,1428,933,642,529,489,544,554,663,719,638,568,642,703,930,1338,1238,752,738,847,951,1218,1372,1268,1152,1212,1422,1412,904,854,1030,1216,1130,1232,1084,1154,1222,1262,1240,1110,1282,1384,1722,2542,2308,1664,1166,1250,926,445,404,635,856,727,520,478,431,331,503,567,493,949,1422,1754,1324,1204,1614,1354,1226,1440,965,1060,1160,1202],[1194,985,1282,1154,1138,955,953,1388,1080,1062,1388,1474,1412,1208,1026,1182,817,811,1152,720,697,976,1044,1012,987,985,1088,988,696,888,803,702,865,716,885,1008,1026,1156,1234,1174,1190,1226,1198,1222,1300,1070,812,1226,1462,1306,1152,1296,1290,1200,1062,813,764,650,792,930,1116,1302,1019,1166,1186,1013,835,766,957,818,777,982,1146,940,1004,1012,738,819,662,502,472,406,622,868,619,625,464,377,497,517,354,575,637,711,722,681,532,471,625,716,570,617,647,451,435,578,1272,1206,907,1092,1036,1023,969,931,1182,1384,1050,486,468,771,1028,1214,855,1158,1996,1638,1144,1430,1506,792,620,1056,1086,631,818,1100,840,403,463,554,501,659,926,918,1188,1002,680,579,530,512,438,717,1312,1272,897,1142,1132,1186,1086,796,927,927,857,914,1290,1194,1126,1326,1362,946,880,1062,939,985,1156,1310,1136,963,969,948,667,682,621,566,935,1011,803,928,1460,1058,581,461,437,463,424,823,1366,1142,798,764,690,582,494,520,951,1454,964,547,509,569,687,824,1208,1368,1282,1126,920,790,671,752,960,1350,1360,1488,1432,1056,915,896,635,344,356,346,322,324,658,1082,1126,962,1142,1260,857,689,759,513,902,1532,1132,952,1342,1816,1440,1196,1214,1234,1102,919,863,547,926,785,694,1032,1218,1290,878,399,340,367,344,281,260,572,1336,1278,960,1150,1288,1220,1282,1036,646,993,1334,1416,1560,1336,1062,1152,860,1194,798,709,1030,1072,738,928,1096,934,1284,1176,1170,814,816,833,1042,1112,1118,1274,1448,1378,774,736,970,1262,1426,1158,733,694,675,613,646,846,945,814,817,939,860,847,882,476,330,352,488,560,673,805,803,703,473,372,342,275,290,429,440,674,585,623,700,528,525,592,517,577,631,809,1064,1008,1314,1422,1456,1244,1542,1312,703,670,733,996,1214,1228,1228,1428,828,942,912,592,401,538,736,891,1222,1344,1110,1198,1276,1324,1228,1186,1260,1282,1230,1232,941,449,397,472,728,856,845,1188,853,751,977,1330,1222,1164,1240,1248,1208,1432,1492,1318,1021,769,1128,1066,1002,998,1014,869,695,1076,1100,1146,1174,1152,1308,1222,1032,1058,1136,1184,1084,1058,1068,1140,1184,1422,1302,1064,996,1224,1184,1012,904,1066,1342,1282,1164,1114,1088,1184,1106,1102,1170,1224,1274,1294,1222,1214,1262,1126,1352,1616,1898,1216,796,853,958,1100,1090,895,685,671,738,749,901,1170,1568,1704,1634,1562,1628,1490,1622,2060,2042,1920,2220,2334,2082,1932,1750,1826,1922,1846,1678,1368,1188,1206,1134,1018,1080,1286,1264,1410,1506,1396,1262,1324,1754,1948,1742,1546,1574,1696,1670,1638,1650,1582,1440,1300,1296,1266,1290,1336,1394,1384,1172,794,766,1074,1128,1086,890,820,1100,1336,1088,1092,1196,1220,1188,1172,941,1094,1072,1248,1438,1466,798,646,861,1116,1338,1352,1556,1792,1450,1304,1200,1052,1114,1294,1260,1005,1017,1780,1554,799,1118,1460,1306,1314,1306,1252,1112,936,1020,992,1186,1088,957,1342,1194,874,604,505,613,742,863,645,504,441,516,525,498,538,691,807,959,1100,966,785,631,1526,1506,1084,1184,1100,806,501,401,446,574,688,672,495,430,396,368,472,487,389,452,465,531,1064,1418,1236,1520,872,655,755,886,889,1094,1118,982,996,1060,1424,1360,706,680,734,684,672,637,546,857,929,852,838,1098,1238,1210,1344,1516,1444,1406,1130,870,1042,1200,1038,869,805,1034,1156,1002,1020,1152,1144,950,787,1268,1324,1654,1518,1296,1222,1162,1060,692,416,662,1128,1092,1388,1516,1362,1352,1316,1310,1050,908,1032,1144,1276,1522,1658,1512,1116,1054,1372,1306,1110,1088,1054,1202,1376,1222,1148,1108,1544,1468,1236,1126,1132,1240,1200,1370,1378,1328,1506,1514,1266,1242,1362,1416,1632,1556,1282,916,778,810,888,812,694,563,624,1056,833,1048,849,535,980,1346,1278,1066,736,576,767,726,634,813,1188,1672,1610,1590,1686,1722,1752,1568,1490,1718,1610,1516,1396,1560,1734,1624,1354,1052,973,1092,1192,1198,1112,1148,1184,1316,1446,1426,1256,1306,908,1148,1654,1588,1530,1498,1286,1180,1298,1490,1456,1424,1272,1212,1316,1406,1328,1526,1326,1188,1284,1288,1222,1224,1100,922,1286,1188,1019,1376,1310,1368,1508,1788,1854,1254,975,1170,1270,1478,1344,1266,1248,1202,1034,1090,1192,1290,1174,1060,1094,1126,1322,1950,1672,1070,1268,1524,1466,1656,1738,1698,1692,1438,1204,1100,1310,1298,1072,1086,1370,1444,1416,1574,1642,1490,1382,1488,1390,943,1102,1316,1134,1011,812,433,567,746,655,774,944,818,573,592,564,571,491,707,1082,1340,1208,713,421,453,401,321,418,558,693,725,576,484,474,442,459,360,345,405,488,515,415,418,843,941,494,585,1034,1086,815,505,424,567,754,672,749,756,409,448,851,944,863,810,705,628,656,623,742,855,917,710,965,1098,1086,1208,1372,1276,1162,1174,1434,1550,1536,1468,1276,1620,1754,1048,647,1164,1344,1070,1120,1370,1432,1230,1318,1366,1440,1404,1142,1230,1192,935,630,523,655,849,691,444,523,829,1260,661,600,1060,1140,1110,1464,1504,1482,2224,2568,2414,2162,2220,2094,1984,2558,2920,2918,2114,1648,1532,1246,1019,1310,1466,1514,1440,1454,1246,980,1005,1572,1616,1262,1200,1478,1396,1470,1482,1446,1388,1208,703,473,840,690,549,1090,984,749,835,830,965,1376,1624,1632,1214,1180,1422,1500,1234,1614,1810,1458,1384,1458,1476,1226,1056,1208,1306,1362,1300,1640,1804,1760,1584,1542,1792,1306,910,982,846,733,716,686,840,1008,933,820,775,894,1376,1502,1198,1124,1078,1030,1200,1316,1086,899,882,844,740,705,648,573,645,971,1040,952,1072,1194,1288,1154,943,998,1252,1374,1168,1104,1406,1234,886,1052,1156,1270,1294,1176,1009,881,1080,1334,1440,1368,1344,1454,1444,1382,1344,1158,897,729,535,686,932,1168,1050,1082,1282,1100,908,988,740,1114,1904,1974,1682,1556,1558,1542,1406,1384,1350,1090,1162,1218,1092,1078,718,859,1084,1064,1092,1512,1584,1360,1346,1264,1052,1074,920,1122,1358,1362,1512,1528,1216,1282,1396,1250,1128,1124,1021,967,966,880,1138,1300,1466,1208,1368,1472,1372,1120,941,1202,1092,1040,1270,1232,1276,1258,1202,1172,1128,1000,880,745,827,991,1188,1140,1022,1148,1210,1100,1176,1260,1244,1394,1500,1454,1362,1394,1420,1382,1392,1284,1282,1166,1252,1100,1008,1108,1198,1116,1244,1468,1456,1604,1750,1782,1274,1250,1194,1188,1172,1202,1348,1354,1328,1242,935,1072,1024,825,1180,1272,922,1150,1668,1864,1698,1086,633,890,1172,1356,1510,1598,1642,1482,1454,1342,1186,1262,1224,1208,1424,1478,1700,1912,1628,1592,2424,2288,1714,1472,1478,1230,1088,1144,986,1154,1418,1490,1036,722,813,1176,1254,1146,952,696,907,1218,775,588,1012,1090,746,971,1048,1082,838,744,794,844,950,948,946,1086,932,718,1040,1276,1318,1268,1182,1388,1466,1484,1588,1412,1192,1714,1940,1490,2380,2454,1776,1662,1654,1356,1286,1358,1328,1186,1054,874,960,954,934,760,747,762,991,971,1228,1412,931,602,477,572,955,1158,642,833,1240,866,563,573,537,622,814,706,849,1268,1108,1278,1352,1268,1422,1162,929,794,819,1122,1218,1408,1462,1009,973,955,1030,911,1056,924,768,1122,1448,1238,1026,1226,1182,974,1130,1000,1208,1212,799,599,1056,1366,1392,1318,1042,1138,1084,695,670,681,1170,1186,1036,1170,1018,1268,1590,1346,1005,861,893,1080,1112,1324,1488,1494,1432,1286,1496,1538,1382,1332,1366,1492,1252,1092,1248,951,725,1056,763,767,951,1034,597,543,802,886,708,757,1036,1120,1050,1406,1282,1184,1214,973,736,695,567,509,907,1336,1324,1282,1202,946,1048,1140,1015,698,815,1015,951,930,1384,1816,1356,1252,1230,1328,769,538,764,1058,1096,1034,983,717,662,838,1052,1154,1180,1246,941,601,570,833,822,1040,1296,1003,969,1106,1358,1246,939,1007,1044,813,534,446,718,1064,1240,1294,1230,804,350,411,569,820,1028,976,553,631,764,1026,1372,1434,1486,1378,1312,1518,1404,1480,1278,1204,1080,1070,1202,1056,670,648,992,1396,1462,1324,1188,1322,1384,1186,897,711,887,1202,1080,738,1100,1394,1220,1014,681,1092,1190,1074,1394,2080,2058,1424,957,975,1038,1030,1180,932,731,909,1010,785,631,573,835,1296,1448,1258,1206,1296,1476,1562,1506,1670,1462,1500,1382,1228,1122,1050,919,1070,1196,781,695,480,434,493,558,659,1066,1162,1196,1068,742,566,794,1290,1432,1338,1520,1300,997,753,670,1306,1422,1080,1100,1262,1108,1122,1332,1242,1340,1482,1126,771,707,581,553,594,639,583,507,559,567,645,679,674,652,505,418,534,731,855,1142,1400,1560,1266,827,1092,1346,1074,1428,1422,1046,752,1048,1266,1320,1464,1334,1046,896,1018,1374,1590,1578,1528,1622,1636,1486,850,422,457,420,423,486,498,428,385,380,531,547,458,808,1410,1758,1744,1854,1736,1440,1552,1590,1002,810,813,949],[1358,1346,1424,1212,1120,1088,700,688,1090,1340,1400,1456,1380,1366,858,883,1096,987,1172,773,552,808,1040,1252,1354,1246,1052,958,935,944,683,597,648,597,789,939,983,1023,1132,1116,1278,1368,1296,1326,1416,761,556,1140,1346,1134,1154,1192,1238,1050,929,948,856,438,449,448,779,1130,1182,1230,1276,1180,827,616,727,488,476,728,868,747,970,1196,1098,855,722,608,482,502,745,1272,1222,1144,686,439,442,505,445,474,716,714,390,383,314,336,392,680,891,872,630,517,443,560,991,1140,1272,1328,1328,1274,616,575,952,1240,716,345,649,1382,1512,1318,1272,1346,1532,1400,1550,1438,1604,1296,1122,1494,1228,717,829,1174,1030,490,389,585,695,651,844,1018,891,711,847,701,561,517,461,530,979,1324,763,984,1124,1030,1122,1252,1310,943,548,625,800,948,1288,1334,973,546,681,1060,1438,1326,1266,1040,1015,1304,1328,990,805,972,722,823,1092,1186,1082,1007,1266,1192,1106,781,474,431,500,769,934,753,822,756,748,625,453,412,890,1230,945,690,694,771,764,672,739,965,1218,1358,1348,1224,1120,936,1130,1476,1318,937,698,495,372,306,394,468,381,332,332,338,610,1074,1636,1540,1064,1262,977,1102,1352,1050,1150,1770,1426,1166,1160,1378,1336,1106,1122,1198,922,1000,959,506,896,930,864,1074,1144,1136,815,357,247,359,471,522,491,384,498,454,791,1244,1576,1418,907,632,535,1276,1740,1550,1378,1128,943,762,688,805,624,689,946,891,987,1290,1368,1308,1290,1172,1246,971,795,934,1174,1306,1548,1434,1380,1272,964,946,967,1394,1300,940,911,828,777,775,634,657,689,572,630,755,738,824,647,343,289,337,354,365,403,439,619,802,748,636,675,660,466,399,417,411,622,1042,1096,837,849,1058,977,1118,921,730,904,1322,1722,1484,1262,997,854,916,807,747,720,708,778,1236,1262,1174,1152,1114,906,675,630,799,585,608,610,568,1042,1202,1196,1306,1338,1282,1328,1338,1078,1009,934,476,465,582,946,1460,1332,1106,683,690,968,1010,1178,1238,1318,1286,1222,1312,1304,1440,1284,1212,1070,895,1064,1058,811,711,808,1130,1168,1188,1198,1246,1444,1416,1292,1244,1082,1252,1124,1092,1100,1242,1216,1110,937,775,1052,1300,1112,1160,1386,1180,1290,1128,993,1176,1164,1192,1216,1232,1136,1074,1214,1342,1138,1318,1472,1316,1486,1616,1576,1248,1074,884,778,717,678,730,673,730,915,768,890,1150,1420,1290,1360,1578,1672,1478,1488,1824,1864,1866,2062,2040,1960,1848,1492,1604,1920,1770,1584,1400,1290,1272,1222,1238,1096,1050,999,1256,1236,1356,1570,1618,1738,1848,1828,1686,1584,1600,1500,1372,1224,1200,1290,1462,1462,1332,1332,1244,1224,1382,966,599,611,877,1023,1158,1070,860,1032,1001,799,886,1086,1214,1360,1484,1138,992,1148,1196,1300,1314,1021,709,810,1194,1474,1316,1422,1848,1446,1042,1001,985,1194,1100,1184,1112,1312,1822,1440,849,1340,1278,1314,1134,1296,1310,1001,765,917,1248,1466,1064,1003,1470,1126,1106,819,475,493,678,644,578,506,454,479,521,568,631,774,988,1158,1172,1114,691,557,1412,1570,1124,913,1384,1534,696,380,442,652,729,658,515,415,379,347,436,458,414,444,459,509,644,839,766,1064,846,706,755,685,690,873,963,1066,1044,872,1084,1274,637,594,924,1026,1082,689,448,454,433,886,1494,1644,1402,1544,1616,1566,1386,1340,1244,1086,1158,1112,994,1004,977,1062,1198,1228,1170,1070,1130,1166,1212,1426,1396,1412,1376,1240,1064,1072,1186,766,423,601,1010,1218,1604,1786,1488,1180,1240,1126,1092,1214,1098,1110,1104,1214,1310,1112,1080,1378,1686,1526,1148,1012,1066,1252,1332,1244,1366,1300,1422,1266,1226,1144,1192,1306,1408,1488,1282,1242,1478,1488,1264,1240,1388,1512,1546,1284,1072,877,913,1200,1302,1144,930,714,861,992,1086,1232,1090,888,1016,1364,1436,1172,794,895,588,579,634,685,647,1114,1258,1312,1396,1692,1818,1698,1792,1724,1542,1924,1694,1604,1718,1538,1528,1278,1100,1020,990,1200,1142,1110,1274,1394,1294,1476,1474,1324,1108,1100,1246,1286,1330,1372,1186,1190,1434,1546,1442,1320,1254,1130,1366,1614,1524,1324,1208,1170,1188,1134,1064,1114,1340,1312,1368,1026,811,1194,949,822,1048,1228,1324,1234,1288,1506,1540,1702,1704,1688,1278,956,990,1198,1510,1472,1336,1182,1028,874,839,1222,1426,1770,2014,1914,1692,1560,1672,1608,1424,1144,641,565,810,995,1176,1202,1344,1184,758,916,1324,1350,1312,1310,1216,976,829,949,781,670,686,695,785,753,665,733,882,881,826,593,737,1072,915,905,1062,1070,1001,820,488,482,484,462,583,724,730,680,865,948,1028,1198,930,708,840,954,844,808,747,551,571,479,643,894,888,1120,1216,697,456,850,1252,1166,1442,1528,802,542,897,1172,1144,1002,714,541,691,750,839,905,866,554,556,610,659,828,933,1046,1138,1036,1144,1052,1112,1122,1202,1312,1188,982,1062,1334,1234,1256,1176,1262,1200,706,677,960,1192,1426,1506,1556,1468,1268,982,1016,897,620,563,772,1044,1324,1604,1122,694,671,769,1052,1242,919,971,1260,1556,1806,1672,1816,1880,2098,2806,2166,2152,1818,1498,1556,1198,1098,1224,1398,1560,1528,1576,1462,979,758,1152,1404,1302,1474,1592,1620,1512,1460,1408,1568,1226,644,835,1160,947,982,1186,887,747,844,833,1086,1444,1576,1616,1026,970,1011,1280,1472,1616,1770,1636,1454,1492,1548,1388,1148,1078,980,992,890,1118,1404,1354,1310,1418,1284,944,782,862,808,901,839,883,774,653,745,846,971,1088,1220,1242,1322,1318,1048,960,980,1078,965,904,1007,843,630,661,738,628,728,1044,907,899,934,974,1110,1240,735,880,1412,1542,1290,1098,1342,1274,1080,1204,1180,1234,1328,1214,1080,1086,1132,1204,1162,1042,1198,1434,1670,1942,1576,1340,1114,1024,880,904,1200,1126,1048,1232,1220,824,852,932,1020,1894,2330,2176,2122,1986,1762,1582,1322,1334,1342,1164,1228,1092,1160,1294,997,985,1164,1130,1170,1316,1318,1428,1444,1320,1368,1288,1158,1194,1318,1366,1454,1514,1328,1128,1066,1040,1170,1146,992,966,788,667,1064,1340,1268,1142,1302,1302,1110,903,915,1322,1112,1300,1332,1154,1232,1294,1266,1284,1198,1058,843,676,825,1018,1204,1276,1252,1346,1160,1300,1444,1294,1378,1486,1322,1250,1354,1486,1378,1958,2156,1646,1296,1056,923,879,915,1040,1076,1062,1224,1350,1414,1610,1480,1300,1326,1146,1020,974,986,1100,1134,1112,1100,1064,988,1166,703,837,914,848,1124,1240,1242,1360,1272,702,786,1078,1074,1340,1698,1650,1436,1232,1428,1348,1140,1218,1196,1172,1310,1216,1218,1144,802,1230,2576,2104,1322,1388,1650,1418,1540,1452,1138,1288,1406,1484,1102,865,873,949,1178,1344,1098,725,697,683,418,616,971,1012,768,864,1011,1016,883,708,592,935,1158,1128,1106,1140,1098,1124,1090,1368,1156,1090,1362,1396,1530,1696,1614,1318,1210,1140,1116,1222,1656,1698,1384,1472,1690,1648,1334,1122,1190,1420,1326,989,920,895,870,833,918,777,922,957,1288,1340,1174,924,450,608,892,1023,828,1128,1242,891,696,576,473,619,995,821,1042,1234,1007,1148,1002,1390,1444,1224,1150,961,870,1126,1184,1600,1544,1252,943,900,802,977,902,627,763,1226,1370,1294,1244,1094,1160,1126,1236,1076,1144,1168,786,575,1132,1504,1300,1108,1268,1258,733,901,1003,832,805,703,949,1162,1032,1212,1230,877,932,983,921,1262,1148,1254,1404,1416,1294,1324,1342,1362,1500,1548,1352,1324,1274,1212,1202,1382,915,825,553,711,1236,1104,659,640,884,1146,764,769,1220,1358,1266,1748,1488,818,854,754,760,1066,955,881,1132,1094,1208,1346,1322,1072,1007,1188,1222,715,613,961,1206,1015,1252,1566,1366,1266,1234,1072,886,786,662,922,1092,1192,1316,1174,1050,972,1032,979,1130,1330,1234,922,1009,934,816,1188,1372,829,764,1080,1142,1003,700,538,675,849,714,530,577,796,899,1088,1150,613,347,368,438,698,1042,1038,642,767,768,726,1046,1276,1288,1288,1310,1394,1386,1440,1400,1218,915,823,856,736,698,833,891,930,956,1300,1242,1354,1142,1246,1222,1138,1362,1088,901,926,919,1048,1352,1196,1018,1412,1476,1400,1362,1350,1306,1222,1048,933,1132,896,1062,1246,813,933,1226,1040,913,991,893,866,1268,1252,1226,1194,1484,1800,1670,1606,1576,1568,1088,1040,1328,1218,1204,1290,1472,951,776,428,366,426,406,605,1076,1258,1212,987,597,533,685,1152,1332,1180,1364,1032,821,626,650,942,991,950,1108,1418,1256,1300,1324,1560,1486,1360,1200,1090,813,591,572,554,630,618,557,510,498,573,560,476,425,435,445,497,558,825,1166,1150,1242,1126,874,1088,1180,1126,1342,1366,1018,721,1004,1434,1516,1656,1440,727,683,868,1188,1248,1114,1166,1440,1570,1278,885,498,414,381,414,666,700,468,478,422,448,525,800,1280,1480,1790,1788,1504,1378,1470,1516,1632,1254,966,1088,1198],[1008,981,1254,1176,1322,1186,818,1038,1500,1374,1058,917,1050,1278,1010,955,1096,806,742,635,507,725,1082,1322,1278,1304,1080,811,904,1228,1138,1011,1072,970,960,1250,1202,781,1112,1260,1450,1520,1380,1274,1158,741,656,1094,1186,1100,1158,1200,921,644,866,1340,1368,686,427,416,579,1028,1332,1420,1476,944,693,565,551,570,606,538,546,586,821,1206,1222,929,792,544,389,579,755,1076,961,661,454,371,341,479,550,585,869,726,440,366,288,306,438,576,1190,1180,1300,981,373,546,758,899,1016,1130,1250,1580,1228,1052,1238,1570,1200,560,705,1396,1438,1194,1370,1178,1128,1170,1366,1490,1822,1736,1504,1232,836,900,1246,1282,1092,629,597,913,922,844,760,966,989,968,911,800,660,493,466,496,703,1346,995,1170,1448,1272,1010,980,970,711,471,558,866,1030,1182,1508,940,563,831,1582,1714,1290,1118,980,1268,1748,1558,1340,1782,1946,1300,1108,1188,1072,657,594,667,575,686,846,760,646,734,930,982,918,877,705,590,489,510,760,1050,1072,910,918,848,712,467,590,510,440,648,949,1072,1210,1234,1128,1266,1308,1078,453,344,325,371,476,686,893,691,354,298,332,396,724,1492,1688,1064,1186,1274,1242,1272,1210,1114,884,897,944,725,821,923,1038,758,692,1184,820,697,869,1118,899,819,910,744,921,709,400,588,990,1142,990,648,368,348,307,616,1128,1400,978,435,341,480,1140,1424,1280,1238,1194,1168,1000,729,832,973,755,822,891,1422,1416,1340,1112,1172,1016,1088,1142,842,584,780,1060,1350,987,875,868,787,758,934,1058,988,800,989,1224,1078,600,482,411,287,279,329,658,1184,1132,571,349,363,351,334,352,358,479,796,1462,2226,1614,1234,1172,846,623,469,433,707,918,865,738,747,891,1176,1298,1118,1004,888,2098,2784,1376,1078,736,683,885,733,687,803,789,791,1058,1268,1250,1248,1188,1154,1023,1170,1062,511,805,896,1096,1510,1328,1162,1310,1354,1214,1098,1040,1132,1192,874,480,607,662,1338,1772,1400,1108,852,948,1142,989,1312,1112,1204,877,707,885,1158,1356,1344,1324,1112,993,907,714,784,684,863,1168,1288,1242,1194,1162,1158,1260,1344,1102,1048,1584,1158,959,1090,1130,1030,1064,1048,951,963,1024,1114,1364,1610,1238,1230,1152,1158,1210,1246,1184,1088,1030,1032,986,1136,1200,1250,1490,1382,1312,1376,1426,1384,1302,1132,1009,1032,996,748,620,532,647,1028,1092,998,1088,1274,1230,1240,1418,1478,1252,1302,1622,1444,1360,1198,1136,1406,1560,1230,1336,1638,1632,1514,1344,1338,1500,1412,1292,951,851,865,1068,1190,1458,1772,1794,1720,1566,1642,1292,1050,1098,1006,868,1208,1554,1604,1364,1120,1438,1606,1362,1218,1398,899,568,527,647,888,1202,1172,1128,1184,1038,854,1076,1394,1480,1456,1342,1142,981,1102,1006,918,914,962,941,795,820,1260,1280,1164,1394,1120,1160,1050,1044,1224,1132,1240,1228,1272,1334,1382,1260,1504,1306,1302,1156,1384,1196,1036,946,904,1260,1262,994,691,620,628,877,739,495,404,398,403,487,534,565,766,1046,993,993,990,1062,1212,1224,1124,669,465,1036,1492,1178,935,1308,1164,662,418,464,661,733,650,490,411,357,319,436,512,476,395,506,495,505,789,582,755,1050,849,807,964,949,769,763,882,972,763,773,904,648,546,852,1040,1028,767,541,391,518,1170,1606,1700,1302,1408,1590,1512,1412,1394,1328,1248,1116,1028,973,1272,994,724,856,1084,1110,861,1220,1650,1752,1570,1284,1098,897,858,1038,1112,1152,847,689,1064,1130,1234,1556,1678,1396,1338,1534,1392,1254,1350,1180,1206,1242,1116,1152,1032,1158,1366,1312,1454,1324,1334,1194,1376,1342,1302,1396,1358,1250,1574,1986,1634,1264,1250,1294,1246,1216,1298,1428,1288,1198,1420,1572,1602,1448,1168,994,893,1104,1226,1376,1390,1336,1208,1246,830,1144,1400,1348,1400,1426,1342,1364,1178,1112,1092,1013,894,772,722,609,578,835,1186,1438,1470,1566,1794,1914,1836,1716,1962,1802,1278,1008,1204,1406,1394,1436,1242,1274,1394,1190,1230,1298,1286,1004,1184,1294,1184,1154,1222,1152,1056,1156,1260,1228,1246,1316,1346,1356,1350,1218,1124,1088,1024,1182,1346,1282,1182,1276,1106,1130,1310,1234,1310,1302,1180,1136,855,502,937,1266,1214,1020,1268,1328,1588,1622,1632,1968,1788,1036,858,1106,1340,1550,1356,1830,1724,1294,1013,1003,1372,1772,2042,2156,1970,1732,1574,1524,1316,1174,984,479,493,942,1170,1268,1282,1466,1268,467,480,808,1100,1466,1474,1504,1336,1002,872,686,1015,1500,1520,1664,1384,1166,1274,1754,1930,1644,823,1256,2010,1814,1362,1260,1182,1100,968,533,652,678,980,801,818,897,964,1454,1638,1712,1858,1542,1576,1842,1892,1760,1312,1142,778,468,523,880,1112,954,1034,1218,1058,606,1214,1550,1130,1234,1506,1108,926,1252,1528,1470,1116,722,490,765,756,848,855,724,606,720,877,881,771,717,779,699,564,931,733,639,828,985,1022,1160,1078,1324,1196,755,932,843,750,685,518,433,448,556,752,929,949,1066,1166,1106,1118,1338,1192,818,688,1154,1424,1642,1408,1080,981,936,1094,1080,600,760,954,995,1110,1350,1412,1736,1918,2482,2292,1736,1456,1568,1582,1158,1188,1108,1216,1346,1132,1466,1468,1012,780,1466,2136,1638,1448,1576,1748,1710,1500,1380,1552,1372,1118,1216,1174,1003,1176,1154,770,843,807,835,1328,1624,1854,1418,1042,1088,1080,1308,1420,1614,1648,1214,1448,1454,1678,1454,1302,1350,1268,1168,1066,963,905,915,998,882,704,722,720,839,946,990,970,1030,964,1360,1542,1296,1240,1184,1021,1056,1438,1638,1116,941,1194,1116,987,1118,972,738,794,838,971,946,902,918,815,736,908,952,998,794,906,1644,1748,1590,1594,1204,1208,1682,1356,1170,1134,1046,1324,1414,1310,1368,1288,1152,1078,1092,1460,1892,1776,1544,1256,1334,1424,1504,1248,1234,1372,1252,1194,1228,1050,880,1324,1112,1256,2044,2326,2254,2230,1860,1686,1580,1382,1290,1258,1392,1106,1012,1300,1422,1268,1090,1142,1136,1126,1076,1064,1206,1144,1044,1356,1438,1326,1120,1086,1168,1324,1606,1356,1156,1296,1428,1334,1306,1268,1402,1034,828,954,1112,1168,1246,1258,1200,1170,1017,972,1190,1118,1230,1094,1122,1320,1278,1172,1186,1222,1152,948,742,805,1074,1096,1122,1294,1338,1214,1268,1344,1406,1464,1356,1432,1468,1546,1750,1454,1472,1410,1348,1350,1320,1246,1044,925,1096,1138,1110,1158,1204,1270,1208,1096,1246,1208,992,1022,1070,1050,942,698,756,780,722,1064,1008,850,1070,879,643,774,905,959,925,846,709,980,938,820,1036,1228,1500,1376,1230,1480,1438,1096,1078,980,949,1158,1188,1142,1036,1078,1388,1534,1324,1092,1084,1548,1190,1166,1660,1432,1524,1304,1019,973,1304,1268,999,1158,1238,1040,885,795,734,670,732,980,984,865,1015,1214,1036,875,719,733,1372,1636,1388,1124,990,1036,959,718,970,1013,1066,1060,1042,1428,1656,1492,1520,1342,1180,1246,1150,1236,1232,929,984,1164,1512,1426,1420,1178,893,868,772,979,1150,1001,947,926,1026,1104,915,1122,1076,1174,653,1142,738,550,707,938,1070,852,769,721,745,977,1052,1288,1032,1052,1056,1142,980,827,1108,1240,1290,1224,908,1017,1318,1406,1708,1354,1278,1038,1290,1300,1164,791,615,957,1484,1520,1272,1244,1064,1362,1300,1122,875,974,1092,980,1214,1418,1340,1162,1164,1534,1300,775,760,937,1208,1011,644,1108,1272,840,1000,1078,991,920,1019,1178,1072,741,1100,1432,1412,1106,1176,1312,1106,913,1378,1574,1444,1468,1500,1184,1020,790,824,893,1122,1358,1130,789,953,1294,1462,924,732,1212,1386,1324,1654,1792,1470,1034,738,736,1023,1112,1202,1472,1362,1318,1370,1200,1154,1156,1408,1512,1096,683,577,1005,960,1396,1566,1466,1136,1242,1180,1032,784,646,854,905,1118,1244,1318,1294,1386,1032,898,993,1074,962,1158,1292,1004,980,779,1028,666,507,982,1064,949,621,455,658,749,695,611,683,1106,1174,1056,938,805,458,346,411,439,816,937,669,706,681,727,1216,1404,1316,1328,1398,1412,1356,1288,1228,1232,1198,935,642,583,615,760,792,793,741,633,766,1068,1272,1520,1348,1150,1200,800,626,658,609,549,904,1152,1412,1450,1164,1130,1180,1158,980,705,663,933,1172,967,913,1056,889,751,711,797,1019,1232,940,589,1202,1512,1260,1390,1918,1728,1428,1392,1274,1001,645,877,1390,1230,1196,1210,1378,1218,1074,597,361,466,605,741,968,1182,1188,1018,630,1013,1192,1272,1318,1294,1376,1070,827,984,987,691,614,897,1004,1200,1362,1432,1326,1278,1228,1126,970,871,702,566,540,582,605,590,616,556,463,445,466,460,456,448,469,607,781,965,1026,1136,1030,997,960,1168,1246,1132,1110,1168,1208,817,562,916,1290,1148,1018,891,1036,952,867,1064,1180,1092,1170,1452,1110,802,721,506,404,493,910,798,528,507,583,636,480,711,1190,1228,1714,1602,1344,1230,1200,1738,1988,1322,938,1202,1480],[1056,1024,939,777,1130,983,824,1266,1484,1142,735,724,954,1264,1348,1174,940,666,647,660,645,808,971,1376,1368,1260,1104,825,850,1072,1158,1404,1594,1230,1126,1328,1324,1124,1158,1386,1396,1318,1282,1118,1007,1026,952,1010,1410,1766,1464,1616,1186,757,691,916,1064,788,584,545,825,1366,1492,1318,1340,1040,990,795,672,846,968,663,490,644,714,858,1054,980,728,501,455,683,1340,1274,640,432,427,415,405,401,487,799,1176,831,587,419,320,313,376,813,992,749,896,741,531,624,819,1138,1086,948,786,897,1170,1310,1240,1450,1278,717,637,934,927,906,1122,1116,1184,1094,1188,1636,1942,1874,1496,1078,1030,1146,1340,1224,915,484,777,907,1001,977,784,713,1028,1290,1052,901,650,501,486,572,539,1138,1266,1406,1342,1172,810,472,632,680,583,594,1246,1214,993,1214,835,532,577,945,1152,1226,1388,1376,1274,1466,1542,1416,1748,1394,1134,952,962,786,504,527,551,494,445,550,724,768,833,1042,973,901,811,954,1024,855,688,788,1134,1368,831,688,847,990,901,848,622,428,351,434,664,709,616,1058,1550,986,705,527,413,470,756,1064,1316,1628,1362,626,350,324,311,454,1188,1508,1076,1188,1394,1312,1206,1116,1106,1124,1126,830,818,834,615,788,948,1009,948,885,838,929,1298,1015,752,687,473,633,502,354,407,679,908,957,818,575,338,307,422,705,726,501,527,569,776,694,726,727,1122,1316,1232,1112,864,717,490,587,1174,1106,1518,1102,726,781,1021,1156,1170,1236,1244,1050,1090,933,713,474,689,774,598,632,648,646,741,951,1102,1108,870,423,389,307,377,354,262,558,1050,913,520,415,408,364,357,337,300,624,806,1688,2358,1504,935,1032,875,561,493,450,515,604,926,855,585,601,814,903,1052,1080,1208,2440,2718,1244,996,692,875,1014,777,634,917,1758,1660,1270,1262,1076,1144,1168,1106,1132,1584,1042,605,888,1056,1426,1650,1444,1184,1176,1236,1160,952,1144,1226,1064,719,1054,1136,1088,1528,1488,1120,804,849,921,910,929,969,1052,1108,832,655,785,1054,1232,1062,833,850,816,716,633,587,566,737,1044,1240,1178,1138,1208,1312,1258,1278,1088,1108,1098,1048,1005,1200,1124,894,1082,1126,985,1118,1156,1196,1730,1470,1144,1152,1236,1362,1426,1370,1312,1142,1146,1074,998,1142,1206,1280,1362,1158,1140,1312,1348,1378,1188,1086,1132,1362,1278,723,482,598,940,1294,1328,1096,1060,1234,1244,1118,1130,929,796,995,1488,1340,1320,924,645,1604,2204,1534,1472,1604,1560,1522,1616,1172,1274,1254,1108,1054,1088,1120,1134,1180,1548,1700,1592,1228,860,818,598,624,744,871,996,1366,1476,1268,1258,1060,1392,1476,1400,1266,1220,792,558,717,906,1062,985,828,943,988,1001,1222,1202,1524,1506,1524,1432,1212,1136,991,757,912,1092,863,600,389,404,500,632,768,874,919,1102,1038,1196,1284,1274,1252,1238,1234,1054,959,1332,1344,1058,1060,1214,1124,1076,1200,1122,1056,1188,1100,788,735,744,752,902,991,915,656,376,387,413,482,718,1170,1588,1266,1320,1256,1088,1172,1274,1140,698,449,903,1556,1220,1060,1450,1216,776,475,459,570,632,580,420,323,420,654,546,568,635,446,541,635,576,527,411,930,1544,1116,661,1188,1404,1156,1210,1062,1166,918,966,1132,846,618,758,737,683,572,569,587,602,929,946,1052,852,915,1384,1510,1434,1462,1266,1182,982,1048,1194,1372,934,620,535,780,1076,1080,1216,1346,1122,967,1020,904,655,1128,1360,1194,1092,1016,909,1066,1370,1378,1498,1702,1576,1372,1296,1178,1102,1368,1242,1206,1238,1126,1094,1009,1102,1158,1178,1400,1322,1338,1146,1350,1272,1486,1634,1222,995,1326,1624,1712,1300,1076,1058,1332,1296,1390,1428,1454,1420,1502,1636,1560,1188,1028,902,885,1216,1434,1394,1346,1328,1246,1060,598,629,968,1404,1588,1358,1042,844,672,1362,1360,1618,1284,1138,1224,966,798,586,641,969,1396,1542,1456,1528,1784,1482,1476,1772,1478,804,732,1372,2090,1610,1436,1368,1392,1262,1406,1334,1276,1498,1546,1244,1290,1180,1350,1286,1244,1266,1192,1224,1184,1224,1346,1356,1266,1228,1296,1194,1136,1230,1328,1264,1166,1224,1214,1198,1188,1064,1110,1204,1120,947,692,423,888,1152,1002,1001,790,973,1140,1246,1492,1576,1102,951,1180,1282,1384,1226,1334,1502,1722,1672,1264,1070,1466,1820,1708,1752,1732,1688,1520,1482,1350,1324,1160,838,857,1032,1130,1086,1252,1406,1194,568,742,915,943,1158,1332,1504,1294,1048,1174,1386,1674,1464,1332,1866,2060,2148,1472,1522,1382,698,591,961,1456,1554,1246,1254,1476,1468,1188,743,1058,939,777,752,813,723,900,1568,1810,1968,2100,2010,1842,1942,1998,1910,1660,1338,854,650,529,668,792,624,550,572,1032,871,1338,1342,1106,984,1052,894,711,1284,1734,1104,801,769,620,819,807,882,888,805,761,688,644,651,605,653,523,415,558,1028,1340,1088,719,744,705,711,989,1254,938,623,626,403,379,740,694,570,828,855,872,1196,1194,1012,922,1242,1316,1620,1576,1028,594,726,1036,1390,1450,1172,991,1146,1344,1034,753,1088,1034,809,908,980,1334,1582,1570,1780,1738,1644,1656,1592,1166,1266,1332,1198,1268,1388,1106,1322,1606,1444,1028,1206,1948,2018,1800,1632,1648,1758,1520,1516,1228,788,852,1238,1468,1334,1274,1078,851,900,852,991,1482,1844,1880,1144,1072,1154,1178,1454,1584,1714,1416,794,1052,1216,1492,1476,1494,1396,1298,1310,1300,1252,1190,1104,1023,956,855,1030,1068,1162,1252,1224,1332,1184,1252,1826,1640,1316,1142,1190,1236,1042,1160,1246,1013,1114,1454,1168,857,1072,1013,838,904,845,872,763,852,882,923,915,844,833,840,922,1428,1930,1678,1532,1598,1318,1244,1842,1560,1050,1130,1066,1162,1512,1542,1510,1356,1200,1336,1278,1334,1824,1714,1262,1360,1454,1372,1452,1406,1504,1368,1302,1246,1314,1106,1023,1332,1350,1166,1504,1688,1580,1656,1588,1620,1612,1278,1208,1330,1498,1372,1336,1448,1616,1378,1186,1070,1232,1268,1042,828,957,967,931,976,1210,1282,1072,1106,1238,1450,1884,1382,1214,1342,1368,1172,1192,1360,1410,1256,1122,1046,1162,1300,1360,1322,1366,1452,1256,1040,1208,1394,1366,1064,1066,1212,1116,1056,880,980,1070,1236,1170,1148,986,955,1148,1248,1252,1328,1432,1432,1528,1664,1516,1372,1214,1204,1628,1556,1352,1172,1138,1422,1426,1148,973,911,1042,1040,977,1188,1310,1246,1023,913,937,912,960,1056,1024,1122,1090,747,602,635,466,642,763,1068,1238,881,581,504,534,738,874,633,799,1066,932,846,1013,1344,1496,1248,1282,1496,1374,1052,1166,1012,973,1122,1144,1056,1290,1488,1358,1124,1168,1134,1126,1514,1350,977,1402,1542,1478,1202,906,847,937,984,897,851,1138,1202,1019,1012,964,954,976,1080,983,774,893,1023,1004,935,662,776,1198,1382,1288,1158,1042,1028,1064,1004,959,1228,1318,1096,953,988,1444,1146,1120,1282,1318,1338,1282,1450,1258,911,1064,1220,1436,1424,1336,1086,1018,863,658,673,744,985,1174,974,998,1118,789,885,886,775,1098,2758,1582,773,858,958,949,850,909,869,974,1382,1304,823,937,1230,1300,1304,1040,967,980,1003,1178,979,665,1023,1352,1496,1290,1476,1488,1382,1250,1278,1278,1044,753,899,1418,1258,1007,1026,1278,1516,1264,839,868,1078,985,999,913,983,1306,1156,1456,1644,1460,1080,608,674,1154,1226,749,564,476,524,767,816,974,825,1154,1356,1064,971,1236,1424,1366,1346,1426,1436,1294,925,1044,1358,1524,1490,1296,1024,961,924,996,1448,1704,1400,1188,869,994,1430,1062,716,781,1092,1122,1094,960,872,1126,1016,979,650,618,849,1222,1238,1042,1070,1154,1206,1202,1436,2020,1842,1448,1040,862,956,671,667,1208,1200,1100,1244,1112,829,705,775,657,832,1162,1316,1300,1446,1174,819,738,899,1148,818,1080,1252,1122,959,658,642,516,433,747,893,725,534,457,477,439,550,651,952,1252,1498,1334,1450,1260,692,604,791,708,568,591,828,942,1034,912,1132,1330,1318,1454,1610,1448,1200,1246,1294,1314,1070,954,659,635,890,1078,766,639,774,656,542,852,1578,1954,1392,1102,913,1060,785,593,551,399,714,1222,1434,1354,1296,1140,855,988,966,730,469,595,849,1052,924,775,751,576,471,896,1158,1232,854,784,1160,1298,937,1202,1696,1382,1256,1512,1184,789,708,884,1314,1316,999,1178,1134,1009,1086,691,378,598,928,901,1108,1318,1400,1180,718,885,1021,1268,1416,1478,1400,1032,1000,1448,1416,1058,884,879,1324,1412,1432,1358,1280,1015,669,528,511,507,508,517,478,545,580,574,614,636,521,418,428,481,624,629,644,849,1250,1360,1440,1426,1242,1780,1824,1298,1318,1322,1122,708,978,1088,583,760,1142,904,901,851,849,794,852,1216,1072,828,910,1356,1082,527,774,735,507,936,1284,890,611,949,1270,1005,899,1348,1114,1192,1662,1642,1540,1278,1042,1328,1418,1100,690,973,1256],[916,916,741,902,1500,1208,1054,1310,1598,888,523,790,835,1044,1272,1266,969,784,785,672,599,889,888,1258,1422,1280,904,742,1074,1358,1268,1318,1396,1166,1168,1268,1100,1346,1446,1340,1028,869,1026,1230,1376,1262,1002,1058,1204,1500,1738,1742,1114,876,816,979,1172,1148,1016,975,1084,1252,1212,1038,1204,1146,1178,976,749,720,730,662,572,806,900,835,871,855,627,499,543,987,1770,1532,882,620,594,600,484,379,444,870,901,583,533,427,332,326,467,797,783,984,1172,1080,932,1026,1170,1212,1478,1156,805,902,1184,1262,1216,1370,1238,641,671,901,985,1122,1156,1094,897,576,646,1076,1498,1578,1500,1178,940,1074,1268,1152,1032,799,836,866,1124,1124,778,535,538,618,718,703,545,527,547,578,465,838,1306,1382,1170,1236,757,475,728,793,736,711,1242,1226,1001,1004,813,689,975,1268,1248,1262,1292,1266,1212,1124,1080,846,854,680,624,645,824,1022,918,833,831,569,384,549,634,727,965,1054,1028,1146,1146,1214,1380,1272,825,994,1072,1104,687,460,448,623,850,779,730,684,591,641,885,605,404,855,1390,688,432,591,728,974,1144,1320,1626,1904,1420,887,633,375,336,514,898,985,893,979,909,786,797,929,1216,1190,1106,794,814,735,531,513,721,950,1090,1188,1021,912,1210,828,586,458,458,405,324,538,689,725,834,1024,1052,715,355,319,368,441,378,395,735,1086,1138,688,294,336,491,762,1252,838,888,715,701,871,1334,1390,1416,950,752,922,723,734,1136,1128,1094,1182,926,653,482,601,1202,1232,982,877,820,891,728,723,1001,1174,653,454,393,274,293,312,269,400,771,926,910,804,777,700,454,300,290,615,738,1136,1388,1156,881,987,879,877,589,456,443,428,775,860,620,735,931,926,882,980,1228,1692,1806,1328,858,962,1274,1005,761,724,788,1072,1334,1470,1404,1076,985,975,1190,1064,939,798,997,1236,1164,1332,1434,1310,1302,1206,1156,1066,910,1166,1062,804,581,628,1023,1512,1366,1466,1340,1676,1252,1120,1050,1012,1232,1274,1013,605,494,648,1036,1212,753,626,855,1028,937,735,676,706,770,1021,1134,1132,1222,1100,1078,1216,1166,1058,1086,1140,1158,1010,993,1016,935,1026,984,890,1044,1216,1266,1762,1666,1204,1114,1222,1214,1230,1230,1244,1120,1166,1066,1200,1194,1280,1278,1216,1102,1007,904,1126,1304,1204,1202,1246,1188,994,647,588,616,940,1320,1232,1110,1016,1148,1232,1222,1266,821,805,1134,1474,1390,1234,1034,815,1520,2098,1766,1410,1542,1466,1304,1600,1264,1116,1282,1482,1566,1582,1438,1072,748,855,708,619,411,443,675,1042,1154,1084,1156,1242,1354,1058,946,1128,974,1110,1316,1326,1002,1046,981,608,741,943,833,723,865,859,957,1126,1192,1192,1092,996,1072,1222,1104,846,901,709,1032,1290,1088,861,597,474,454,475,708,856,719,898,1098,1192,1166,1306,1420,1354,1170,1050,1046,1032,865,688,914,1280,1122,1080,1054,1164,1248,1070,1032,628,661,851,811,875,1294,1692,1182,515,401,411,474,692,1054,1644,1460,1266,1072,929,1032,1234,1130,650,465,658,1412,1242,1078,1416,1310,913,591,658,730,686,796,698,425,703,1382,744,777,929,865,735,985,1250,1046,743,697,1064,996,865,1262,1136,1028,1126,1002,1004,821,1070,1294,915,586,579,764,1021,706,771,767,604,536,630,781,932,1242,1740,1622,1230,1128,1206,1124,1230,1194,1238,1254,990,803,776,855,929,927,984,895,528,564,678,642,753,1576,1622,1364,1084,941,821,807,1294,1418,1284,1118,1086,1186,1338,1268,1184,1222,1216,1126,1144,1210,1148,1148,1226,1196,1378,1346,1200,1388,1244,1162,1104,1282,1410,1268,1140,1250,1210,1510,1206,970,1021,1266,1202,1296,1514,1530,1364,1426,1622,1304,1021,989,850,1136,1298,1348,1476,1492,1456,1478,1084,619,491,517,597,760,802,809,592,700,1001,1310,1896,1970,1892,1742,1504,1350,809,838,693,818,1112,1434,1520,1500,1444,1644,1920,1786,1356,1172,1586,2028,1340,1334,1420,1504,1568,1542,1474,1456,1686,1646,1444,1530,1280,1330,1462,1380,1434,1380,1152,992,1128,1224,1230,1248,1288,1406,1454,1422,1396,1314,1272,1374,1348,1180,1118,974,971,1036,1001,905,839,600,587,724,835,888,847,755,797,635,569,1144,1268,565,660,983,1076,1198,1216,1182,898,1254,1678,1688,1688,1604,1620,1572,1394,1654,1744,1964,2208,1622,1272,1212,957,688,739,1132,1192,1014,1226,1074,558,805,987,1076,1150,1130,1208,1432,1610,1736,1948,1852,1094,1176,1884,2032,1888,1060,968,1098,1090,1266,883,1156,1292,1200,1070,1190,1362,1064,811,1160,1042,695,554,604,616,786,1488,1848,1958,2012,1878,1686,1802,1904,1736,1624,1218,747,841,728,734,590,511,525,513,886,1104,1166,892,922,1010,879,827,584,858,1186,538,357,547,648,702,810,915,832,743,809,909,695,676,803,792,521,484,592,958,1332,1074,778,839,651,733,1062,1156,1132,949,749,504,407,548,582,811,1268,1382,1670,1964,1506,1296,1098,1306,1284,1322,1368,977,594,771,1250,1498,1564,1408,1348,1516,1716,1374,1180,1172,890,778,812,866,1416,1882,1710,1422,1658,1638,1678,1682,1610,1624,1412,1352,1342,1460,1434,1540,1754,1412,1418,1570,2040,2098,1874,1444,1652,1550,1332,1262,1222,1410,1038,1118,1388,1318,1460,1360,1322,1182,1010,1174,1412,1746,1478,965,1140,1022,1230,1534,1952,1730,1086,934,1462,1436,1100,1234,1410,1554,1480,1332,1160,1252,1420,1444,1470,1520,1072,1098,1058,1070,1302,1524,1386,982,1462,1896,1672,1338,1234,1110,1144,1010,993,1062,1274,1228,1004,816,821,1056,1226,982,818,670,721,874,942,918,971,974,847,737,710,786,1156,1688,1664,1466,1426,1350,1266,1362,1206,1224,1532,1400,1130,1256,1512,1422,1334,1318,1400,1322,1372,1614,1682,1640,1594,1156,872,1182,1286,1238,1356,1350,1292,1166,1052,965,1266,1460,1268,1442,1560,1490,1490,1418,1602,1636,1368,1206,1226,1212,1204,1278,1494,1546,1340,1132,1132,1288,1282,1092,1370,1182,934,1078,1050,1260,1476,1184,1088,1122,1236,1482,1444,1210,1060,949,873,780,976,1202,1196,1310,1382,1170,1236,1230,1136,1302,1388,1194,1114,1196,1248,1256,1126,1122,1250,1188,918,908,892,974,1090,1248,1212,901,798,968,1094,1354,1498,1400,1240,1216,1358,1238,1294,1538,1260,1310,1518,1426,1136,1094,1294,1154,1010,912,953,1066,1078,1176,1484,1476,1138,853,957,1022,1200,1268,900,881,926,894,791,713,696,680,622,880,1228,1068,617,481,444,482,683,625,728,1262,1198,1024,1014,953,1466,1676,1236,1248,1212,1108,1094,1216,1154,1218,1516,1322,835,861,1066,1046,951,1032,777,720,1074,1430,1386,1866,1918,1428,1262,1040,839,914,937,715,557,1010,1282,1168,1138,951,971,1238,1304,1164,758,873,902,1036,1168,1048,1102,1254,1310,1254,1288,1244,1154,1152,1310,1324,1436,1370,1174,1240,1194,1200,975,1152,1328,1326,1388,1592,1422,1042,954,1100,1346,1294,1456,1202,913,1080,1164,1015,849,524,623,1186,1280,863,935,755,957,1078,854,890,1296,1012,772,910,925,725,724,749,586,733,1370,1410,886,962,1106,1362,1380,1160,1196,1274,1017,1116,683,408,546,871,1322,1942,1866,1552,1306,1348,1506,1256,1204,963,1242,1284,1194,990,1052,1324,1450,1404,1220,938,902,1012,899,642,1078,1264,821,1100,1104,1094,835,502,775,1348,1172,712,425,445,616,712,656,669,758,866,974,1094,1262,1382,1494,1424,1636,1686,1566,1260,1292,1256,1344,1440,1540,1520,1284,1222,1330,1206,1358,1340,1278,1346,1236,1440,1366,706,448,491,458,559,894,824,649,595,611,767,576,821,1020,1258,1314,1090,951,1210,1472,1644,2230,2374,1836,1574,1322,1158,927,536,715,827,535,832,1132,1042,650,767,777,986,1064,1278,1282,1122,1288,1005,869,1012,912,988,586,855,1094,1102,1106,977,999,1086,792,575,518,523,514,488,410,338,453,917,1180,1176,1418,1328,1202,1005,830,1118,1188,905,716,841,975,1056,1048,946,1013,1274,1502,1386,1142,956,1292,1266,1272,1272,1128,805,541,782,1296,1372,1016,929,871,603,625,1272,1820,1990,1570,1012,708,916,896,1290,1352,883,1050,1382,1344,1120,1244,1564,1254,898,879,906,608,602,835,967,909,781,1050,962,905,1324,1232,1224,1208,1216,1084,1142,930,917,1414,1486,1428,1640,1390,995,766,774,999,1392,1046,1222,1156,908,1023,598,444,612,801,1009,1216,1148,1094,1013,664,891,1250,1162,1112,1140,1350,1412,1204,1328,1500,1520,1158,970,1460,1288,954,854,694,600,513,468,461,521,554,534,466,507,630,631,577,659,777,622,448,503,675,683,627,782,1218,1628,1548,1346,1174,1302,1254,1110,1232,1314,1188,656,637,1242,1054,837,1002,910,638,667,943,931,820,691,609,785,921,1110,1282,812,810,1160,1206,1316,1146,1074,1050,1466,1472,1214,1318,1312,880,1002,1530,1756,1664,1428,1288,1048,1156,1548,1017,996,1434],[1204,901,421,649,1466,1546,966,888,918,600,576,452,390,758,1136,1032,760,714,960,1218,1122,1250,1008,929,1068,935,712,726,1018,1260,1304,1009,995,1164,1168,1240,1116,1150,1234,1250,1214,1152,1238,1346,1394,1166,1372,1438,1484,1842,2286,1822,1454,1388,1122,994,930,1130,1064,1492,1246,1194,894,930,1162,1168,1420,1378,858,738,691,675,680,949,977,862,795,824,729,760,882,1226,1498,1120,922,735,594,521,405,327,392,620,593,625,733,613,379,362,552,761,664,991,952,1250,752,830,1318,1566,1528,1138,1019,1126,1312,1538,1456,1294,1266,1194,1266,1180,980,1040,1126,1288,1011,377,495,896,1310,1376,1566,1400,750,769,966,1320,1344,1032,799,862,1128,1280,811,522,481,367,496,499,425,412,480,502,431,565,1174,1740,1422,1462,1106,817,994,1190,1026,822,1048,1102,855,814,871,813,1134,1240,1172,1198,1388,1224,743,621,703,712,783,827,857,825,976,1228,855,894,901,588,382,761,868,605,689,805,1054,1302,992,802,1015,1106,868,1017,1230,1300,889,568,780,1196,977,612,529,705,677,908,1030,590,389,958,938,460,377,484,899,1258,1222,1172,1266,1194,1102,1156,1028,630,538,706,723,884,1058,846,775,455,482,913,869,731,1068,1090,1018,805,631,607,573,594,754,1072,1140,918,1158,1048,937,578,476,398,304,648,1074,1072,1068,1346,1210,508,373,337,347,452,466,471,957,1518,1514,872,452,403,354,562,1158,891,1030,896,820,759,997,1502,1432,761,832,1126,780,604,1005,1042,1384,1396,989,650,466,1078,1682,1428,1262,1072,1018,1060,720,628,1028,800,521,451,387,324,331,464,525,588,727,697,839,1032,1294,1038,761,631,556,711,976,1212,1296,1272,960,928,1030,764,497,446,496,578,905,810,566,692,814,984,844,1176,1332,1388,1318,1120,960,1188,1240,966,839,921,1032,1060,1232,1378,1216,850,787,877,1096,1106,1082,893,1130,1202,929,1368,1376,1014,1026,843,788,949,1070,920,722,869,625,559,1068,1346,1202,1498,1500,1456,1326,1490,1484,1106,1001,1046,937,593,622,679,897,888,753,800,911,979,854,766,802,846,997,1015,1086,1224,1256,1166,1172,1196,1184,1316,1332,1278,1438,1122,957,1110,1110,998,1023,1010,1068,1290,1290,1298,1108,941,1094,1134,1058,1208,1252,1200,1456,1498,1382,1334,1294,1466,1478,1222,1184,1116,1012,999,1118,1222,1148,1044,1122,994,675,667,705,869,1194,1146,1023,1164,1284,1270,1202,1584,1156,1052,1168,1244,1346,1208,1276,1110,1270,1710,1858,1408,1496,1502,1410,1582,1654,1654,1688,1576,1338,1086,691,442,316,305,390,556,573,704,830,919,957,1023,1260,1280,969,596,823,585,551,896,1174,1224,1016,1108,1064,620,546,684,880,839,989,862,711,775,1158,1300,970,976,1120,1152,930,785,981,894,1118,1158,1036,913,915,894,942,858,988,1066,888,883,999,1050,1084,1140,1318,1358,1368,1158,830,599,676,659,825,1102,1128,716,689,1078,1304,1002,686,496,731,1038,854,608,1108,1748,1086,610,410,404,411,573,710,948,1088,1124,835,702,969,1224,1060,830,688,587,1188,1222,1004,983,1166,1092,772,831,1036,907,1002,849,517,789,1334,908,1002,1011,1009,827,929,1180,893,1098,922,1018,1098,890,877,789,591,534,832,962,879,1140,1500,1158,551,354,602,801,895,1296,1260,1074,1044,882,720,1058,1356,1582,1600,1378,1238,1230,977,1046,979,970,1010,805,641,686,683,680,911,1060,1088,1286,1472,1230,880,969,1214,1004,778,730,766,930,1306,1278,1232,1318,1158,1072,1360,1548,1334,1136,1334,1566,1440,1234,1258,1226,1340,1498,1454,1316,1266,1194,1248,1240,1130,1148,1220,1488,1580,1382,1260,1170,1092,1160,1166,1086,1036,1116,1274,1384,1334,1334,1394,1554,1210,925,710,833,1258,1524,1658,1590,1432,1466,1278,886,1058,655,543,1044,1080,863,948,739,503,497,979,1682,1694,1770,1418,1438,1750,1428,1456,1184,819,649,797,1170,1428,1460,1482,1650,1750,1626,1494,1522,1094,830,1088,1406,1804,1952,1648,1506,1456,1230,1172,1538,1724,1376,1320,1354,1348,1510,1464,1112,1222,1270,1238,1216,1192,1224,1220,1188,1130,1122,1220,1306,1290,1164,1240,1232,1036,1252,1224,995,1064,1098,1042,1019,930,823,702,772,874,671,447,449,565,508,464,539,568,566,678,728,988,1288,1322,1548,1764,1688,1654,1566,1338,978,919,1140,1712,1868,1372,1132,982,957,582,563,1000,919,584,1088,945,500,774,1007,1092,1450,1416,1242,1284,1464,1558,1466,1094,927,1498,1904,1344,1010,1102,977,971,1360,1520,1250,1454,1404,1152,951,996,1218,909,653,863,792,667,503,589,694,709,1140,1452,1826,2088,1910,1522,1468,1976,2008,1736,999,652,760,734,1112,1082,979,1036,785,750,1094,1190,1013,996,724,531,580,499,799,1158,783,356,304,489,705,752,762,722,709,580,791,1120,995,1023,775,555,626,884,1200,1434,1232,966,1098,982,990,1134,951,929,1001,728,518,462,532,742,992,1144,1240,1520,1544,1234,941,966,1154,1356,1404,1164,786,590,741,1128,1542,1810,1648,1542,1816,1804,1440,1280,1228,1003,869,908,1038,1430,1614,1130,727,1328,1526,1742,1650,1830,1732,1686,1600,1406,1488,1444,1422,1858,1566,1498,1892,2074,1990,1624,1232,1302,1334,1244,1262,1730,1744,1428,1436,1446,1642,1532,1556,1318,1090,1286,1332,1412,1660,1500,921,1142,1134,1420,1722,2054,1830,1050,1180,1614,1404,1500,1446,1334,1410,1554,1492,1394,1360,1326,1238,1410,1444,1308,1466,1366,1198,1168,1388,1288,1052,1798,1744,1470,1340,1250,1124,1040,958,986,1294,1624,1134,888,894,1160,956,1164,1178,1112,839,745,919,929,888,882,920,842,656,584,698,1088,1368,1484,1340,1314,1470,1484,1188,1008,1190,1532,1538,1136,1152,1440,1350,1310,1466,1498,1334,1366,1608,1728,1926,1758,1166,950,1130,1136,1182,1208,1130,1206,1148,1076,1224,1434,1366,1460,1522,1588,1304,978,1134,1512,1548,1372,1274,1278,1290,1246,1198,1194,1144,1284,1168,1216,1048,1064,1007,1004,659,612,1038,1200,1472,1606,1170,1054,1036,1092,1510,1560,1306,1192,1088,955,678,748,1104,1158,1080,1048,896,1216,1152,985,1010,1146,1216,1264,1180,1180,1352,1296,1094,1160,1130,930,1014,1028,1122,1244,1306,1272,1056,1007,1080,1076,1272,1378,1294,1036,1118,1212,1009,1208,1450,1336,1160,1310,1528,1294,1168,1288,1252,1164,1102,1098,1268,1284,1382,1534,1304,1096,995,1060,1108,1348,1352,739,714,885,880,924,990,913,868,788,1032,1006,750,516,429,426,510,630,532,775,1108,1112,1234,1238,1176,1640,1626,1460,1314,1216,1286,1206,1038,928,1058,1386,1294,1102,821,985,924,912,1056,1126,846,851,1372,1542,1616,1700,1544,1402,1254,1294,1402,1282,769,609,794,1026,1184,996,659,943,1458,1514,1348,1264,1138,976,1028,1260,1196,1148,1324,1348,1266,1260,1178,1184,1090,1364,1426,1488,1522,1566,1268,1266,1024,843,1244,1384,1220,1070,1342,1164,1021,1000,995,1052,1428,1646,1366,1096,1190,1272,955,857,521,499,793,1086,1092,1180,813,811,1204,959,503,615,722,749,716,695,630,761,719,783,804,1302,1202,837,1042,1180,1438,1222,1316,1226,1256,1168,1158,875,680,537,762,1196,1396,1368,1176,1268,1512,1120,827,986,797,1004,1296,1350,1028,953,1172,1300,1334,1318,1124,1082,1248,989,758,1090,954,838,957,1108,1120,917,868,1368,1786,1438,1148,830,672,686,954,932,724,852,916,934,1118,1396,1434,1444,1334,1396,1376,1352,1374,1460,1386,1368,1338,1312,1522,1572,1476,1316,1108,1262,1302,1368,1544,1272,1226,950,455,357,407,441,476,516,583,612,645,869,979,773,896,1280,1328,1340,1166,1366,1578,1444,1262,1572,1704,1540,1344,1332,1306,923,673,1228,1144,647,477,630,733,444,408,695,1126,871,967,1076,1346,1530,1304,1126,1017,667,482,537,1024,1282,984,861,1020,1150,1250,1366,1044,590,508,476,440,327,351,711,1368,1284,1007,1058,1158,1130,915,948,1216,1058,852,689,888,1012,925,935,1068,1160,1184,1358,1208,1090,847,1394,1412,1406,1124,1082,899,518,497,663,751,656,805,849,749,805,1232,1828,1744,1414,940,565,631,1208,1896,1772,1554,1506,1256,1280,1108,972,1636,1936,1216,877,902,873,1078,1015,894,826,679,1132,1052,1092,1478,1146,1004,1218,1168,1142,1262,894,700,1088,1262,1272,1526,1566,1188,919,882,1178,1552,1410,1356,979,861,1098,1078,973,1019,1066,1192,1368,998,1003,1158,943,1086,1328,1034,787,880,1108,1448,1244,1108,1312,1372,1010,794,760,548,404,332,391,524,498,466,518,636,612,527,448,510,569,533,569,705,856,660,482,504,597,634,605,594,722,1202,1456,1406,1256,1096,988,1126,1430,1570,1178,937,952,1228,1352,1230,1136,868,444,642,1196,1052,650,585,710,1060,1016,763,1092,1096,1092,1412,1368,966,668,926,1122,1040,893,1296,1410,1096,1172,1440,1542,1642,1728,1556,1372,1206,1312,1614,1156,812,904],[1234,1268,782,783,1296,1388,1112,802,487,700,767,526,390,655,746,935,1088,1010,1222,1236,1140,1222,1064,766,875,1005,1034,850,735,936,1092,1056,1170,1356,1322,1220,1254,1232,1128,1340,1434,1352,1282,1328,1266,1004,1184,1374,1470,1920,2036,1484,1172,1013,818,755,874,1110,1118,1434,1268,1272,1288,1290,1112,1082,1156,1212,858,714,544,535,555,654,681,933,905,939,866,661,902,1076,1092,1056,935,872,527,622,518,324,431,573,721,999,1156,897,637,672,773,825,1002,910,444,454,627,761,1134,1504,1332,906,866,872,1040,1266,999,781,599,785,1178,1240,1130,1332,1322,1226,913,622,860,1288,1382,1450,1430,1526,1188,847,1078,1362,1005,595,631,731,651,1062,661,441,472,413,503,504,418,351,458,508,430,513,857,1666,1604,1650,1172,1007,1272,1276,907,807,1030,1056,836,1262,1682,1074,1282,1372,1052,1220,1722,1542,907,736,831,870,910,885,839,777,784,1136,901,1003,966,710,574,722,717,777,1118,940,1138,999,702,631,855,977,1040,890,1088,1344,1168,988,1170,1416,1382,1054,787,659,442,615,703,519,403,727,891,858,463,482,793,1136,1001,1030,1106,741,700,901,1050,717,511,462,656,1492,1876,1378,937,467,670,984,602,544,948,1046,956,869,829,761,839,877,931,1118,1274,1250,1274,1146,1024,644,536,532,365,453,727,835,1020,1176,988,539,488,346,301,440,408,393,672,904,786,857,878,849,884,752,1102,1172,888,983,1276,1138,1188,1578,1538,1264,1068,871,585,430,603,958,1502,1294,893,756,615,1002,1388,1604,1368,1220,1378,1186,876,945,1024,841,707,631,785,648,730,954,976,938,739,568,714,978,1216,1064,1001,906,672,795,1030,1280,1160,891,893,1136,1424,1100,902,746,510,736,1036,897,833,910,738,907,648,1096,1208,1412,1494,1162,1114,1120,1258,1286,1238,1094,1120,1158,1432,1514,1264,805,836,1090,892,832,796,741,1188,1028,692,1070,1072,952,794,678,564,1060,1076,730,739,1032,622,733,1472,1638,1244,1046,1112,1150,1001,963,919,803,739,999,1002,1168,1304,1038,1056,1126,1080,1084,937,760,625,974,1034,862,1064,1238,1246,1356,1318,1078,1128,1250,1096,1088,1094,1340,1576,1114,976,1214,1158,1084,1070,1066,1480,1756,1374,1060,941,1056,1126,1176,1332,1280,1078,1202,1412,1314,1334,1356,1256,1294,1334,1244,1282,1184,1272,1344,1252,1194,1050,921,922,821,765,1050,978,992,1250,1146,1066,1204,1328,1278,1900,2216,1372,1034,1004,1108,1412,1270,1376,1298,1430,1730,1878,1706,1678,1726,1626,1444,1304,1180,931,833,841,1056,684,528,474,415,546,669,814,1013,969,1008,1064,1036,929,1001,1084,662,600,549,421,662,910,1082,1256,1330,904,515,621,844,1144,911,1024,995,803,881,1110,1124,1104,1282,1148,1090,1024,1009,1170,1288,1152,1126,1210,991,768,818,857,758,1080,973,1015,992,1034,1178,1132,1200,1188,1194,1400,1320,1020,767,959,769,970,1384,1300,813,542,823,1278,1060,600,469,833,1194,871,532,545,778,731,454,363,390,397,440,527,529,756,1208,964,698,846,1140,1194,1194,928,561,981,1418,1090,925,1154,1186,957,767,778,744,675,589,707,788,796,852,1020,1134,1144,827,619,665,686,1250,1238,1140,849,980,1144,1021,735,692,928,1036,1194,1438,1600,1196,1294,2056,2024,1502,1300,1320,1178,1322,1556,1338,827,1258,1434,1318,1542,1138,845,930,1024,962,777,730,811,750,735,558,446,459,598,701,1034,1560,1604,1284,1424,1418,948,526,675,860,1006,1350,1732,1472,1496,1526,1422,1480,1560,1536,1238,1146,1328,1584,1592,1420,1250,1242,1192,1244,1394,1430,1242,1016,1402,1634,1306,1194,1216,1444,1338,1586,1416,1244,1140,1118,1200,1056,1016,1266,1132,1232,1294,1314,1516,1472,1274,1038,848,1005,1288,1424,1528,1402,1044,1456,1258,630,921,621,1266,3100,2534,1274,1028,758,404,374,593,1023,1870,2456,1758,1862,1892,1700,1792,1766,1676,1432,1021,785,810,1174,1502,1442,1446,1606,1640,1712,1220,878,1046,1316,1630,1766,1668,1418,1462,1348,1188,1122,1318,1282,1322,1424,1506,1620,1472,1134,1230,1226,1338,1224,1190,1106,1072,1030,1052,1046,1094,1206,1216,1206,1160,1180,1114,1138,852,1042,1318,1592,1520,1350,1396,1322,1380,1506,1028,557,736,570,679,595,535,530,656,753,553,483,961,1632,1544,1522,1578,1550,1404,1070,1090,1038,655,647,1070,1252,1260,1384,991,1130,794,1242,1116,643,654,1021,921,590,755,962,1058,1594,1186,895,836,1090,1456,1496,1628,1724,1806,2004,1866,1744,1614,1526,1514,1670,1108,1026,1156,814,573,702,698,658,518,516,686,566,527,435,490,561,445,521,634,1018,1242,1166,821,769,1376,1726,1892,1160,680,534,612,963,988,769,614,573,653,806,1310,1230,663,378,321,383,570,1538,1968,1158,433,498,749,936,820,761,820,818,617,549,1017,1060,730,451,463,752,891,828,991,944,754,798,783,747,695,870,850,687,543,526,643,758,1076,1222,845,678,1116,1246,875,642,861,1208,1398,1420,932,513,657,1170,1322,1580,1660,1610,1584,1650,1734,1584,1354,1234,1194,1015,1102,1202,1170,1074,668,832,1274,1318,1538,1708,1446,1300,1418,1564,1770,1880,1730,1640,1726,1856,1606,1556,1698,1866,1828,1500,1044,888,855,1092,1794,1754,1522,1666,1860,1926,2254,2314,1166,703,998,1098,1250,1374,1484,1214,1122,1190,1428,1926,2048,1736,996,1007,1570,1650,1644,1852,1742,1300,1128,1232,1322,1410,1492,1366,1368,1268,1234,1302,1328,1406,1260,1194,1062,1438,1874,1654,1476,1542,1350,1198,1088,982,1026,1390,1428,904,845,990,1172,933,853,1046,1298,1122,933,1030,993,929,933,926,789,841,672,689,964,962,1054,1252,1310,1450,1546,1388,1356,1082,1212,1374,1098,1062,1444,1552,1372,1366,1332,1306,1460,1614,1556,1670,1500,1336,1340,1344,1240,1230,1013,1224,1612,1262,1238,1356,1418,1498,1832,1602,1584,1472,1278,1300,1298,1294,1284,1122,1174,1628,1570,1200,1056,1178,1236,1208,1170,1017,1028,1096,952,711,660,957,1196,1496,1434,1194,990,993,1306,1726,1656,1376,1146,1134,1220,955,1058,1262,1266,1128,853,784,1094,1140,915,938,1098,1230,1266,1104,1110,1296,1276,1030,1064,1286,1172,1026,1224,1406,1238,1248,1224,1206,1248,1338,1338,1296,1258,1182,1212,1782,1882,1538,1478,1386,1186,1098,1128,1400,1554,1396,1364,1440,1482,1232,1116,1456,1526,1344,1166,1102,1248,1254,1188,958,968,880,841,963,1058,1054,1004,1116,771,672,1044,1172,780,546,442,401,456,641,634,682,919,1182,1238,1374,1324,1454,1742,1418,1318,1184,1013,1250,1356,1202,1208,1316,1066,1218,1200,1134,991,799,826,1002,1066,1011,1068,1164,1130,1370,1396,1452,1294,1666,1664,1532,1642,1402,1042,931,917,871,865,789,965,1332,1470,1560,1722,1462,1044,1248,1598,1438,1314,1388,1294,1102,1190,1290,1208,1156,1478,1582,1638,1672,1638,1470,1194,641,596,1030,1270,1128,991,1154,1114,991,1168,1110,1068,1246,1278,1218,1260,1204,1252,722,586,883,829,742,723,941,1316,1324,1118,891,738,811,900,1078,1362,1310,1432,1274,1336,1168,1036,1050,1106,904,938,1224,1400,1418,1294,1176,1300,1144,1220,1100,1204,1174,915,987,1206,1320,1248,1240,1680,1240,718,603,616,546,905,1290,1266,1238,1132,1140,1168,1262,1290,1056,1102,1288,1048,698,698,1034,1254,1318,1412,1172,1196,1366,1636,1370,1252,1142,896,742,758,1112,1166,884,803,808,1102,1246,1428,1614,1234,1236,1528,1456,1468,1604,1526,1222,1226,1328,1344,1438,1580,1628,1468,1308,1422,1542,1430,1308,1240,1092,698,452,411,469,487,433,311,369,497,744,1154,1218,874,1130,1610,1328,1190,1042,1366,1350,938,594,1028,1418,1158,915,1032,1286,1034,598,883,904,630,522,676,611,494,419,794,949,957,1208,1090,1450,1532,1290,985,876,642,386,480,1102,1438,818,469,967,1272,1434,1296,997,672,592,521,423,332,322,583,847,861,833,1023,1266,1144,1036,901,937,1180,1256,806,658,781,930,905,779,973,916,1078,1134,1156,764,1088,1412,1610,1352,1164,933,651,517,488,355,346,444,474,785,1198,1310,1410,1082,1100,1234,1108,944,1300,1392,1446,1656,1314,1023,1278,1156,786,1332,1750,1262,930,988,1132,1282,1018,841,576,762,1216,1320,1140,1140,1026,1084,1406,1466,1300,988,616,532,833,905,1100,1400,1594,1456,1178,1036,1130,1482,1460,1544,1058,1176,1348,1426,905,889,699,696,1104,1146,968,1130,1338,1508,1716,1918,998,964,1236,1198,1296,1238,1102,836,472,381,357,356,354,605,1112,1090,653,616,937,1046,779,501,413,499,546,497,530,622,711,762,611,511,527,526,426,385,610,1042,1112,1544,1532,1282,1386,1612,1696,1728,1278,1248,1328,1068,970,938,1090,1030,796,904,1304,966,537,444,603,944,884,727,1100,1376,1398,1138,1268,1088,1092,764,1001,958,769,1001,1058,927,1296,1438,1504,1548,1716,1708,1422,1308,1268,1328,1106,748,710],[1432,1420,1012,809,839,918,1174,907,496,612,581,536,542,724,897,1266,1422,1450,1142,1126,1092,1066,1122,928,1012,1034,1009,794,568,791,1178,1362,1206,1100,1078,1102,1204,1124,1158,1576,1472,1378,1328,1444,1432,1990,2050,1246,1360,1328,997,975,1050,1023,828,973,1162,1236,1306,1284,1152,1104,1514,1632,1072,1294,1228,1102,879,714,701,702,604,453,615,966,879,742,621,504,514,429,661,1068,1058,1066,645,612,657,499,529,705,938,1066,685,599,978,1118,1005,771,1116,775,509,809,976,1034,1124,1332,1078,1080,1144,1266,1188,926,662,536,639,780,999,1192,1134,900,440,421,366,380,513,720,1136,1442,1122,1088,1222,1090,1088,1398,1104,434,511,573,607,568,434,369,359,475,518,468,419,364,432,483,445,507,634,1412,1518,1704,1454,983,1112,1368,1384,1122,914,783,636,1168,1514,1330,1676,1722,1148,1134,1450,1454,1316,1006,750,761,768,744,762,581,480,717,792,1076,1220,1110,1070,916,670,759,1026,561,439,550,662,993,1292,1162,1158,1108,1032,1002,1080,1426,1496,1348,1416,1276,1098,1076,847,483,405,379,449,538,761,1232,747,515,907,1262,1362,1284,969,664,522,762,889,777,681,442,493,1244,1428,899,617,482,697,916,756,472,464,684,812,973,759,624,968,1046,1104,995,1038,1130,1104,1172,1036,538,371,377,361,444,576,850,1148,1116,924,718,505,332,346,463,470,390,408,466,438,695,943,1212,1224,822,935,1054,651,722,1148,1260,1404,1610,1556,1396,1064,714,534,556,894,821,852,1100,877,781,862,1010,1256,1188,1018,1004,1182,1382,1130,923,948,1020,783,764,1023,1120,979,1022,1042,1058,850,771,1030,1210,1182,1130,1013,747,433,600,765,1052,1074,948,949,1406,1698,1310,974,830,681,1072,1238,1005,764,837,859,904,998,1206,1208,1848,2056,1312,1268,1248,1298,1302,1268,1130,1274,1262,1516,1272,1344,1316,1162,1212,1082,1072,1184,1164,1164,1176,1180,1366,1290,1078,1026,918,1172,1166,1090,953,1128,1168,1036,984,1112,1332,1238,1082,1202,1010,725,624,679,789,949,1248,1382,1666,1640,1156,1001,1042,1036,1172,1144,1021,1132,1256,1166,972,1028,1252,1268,1310,1432,1264,1120,954,822,847,946,1348,1344,1024,1188,1214,1078,1036,939,1023,1458,2024,1626,997,876,1224,1110,1172,1246,1178,1009,1144,1316,1428,1488,1408,1248,1190,1542,1376,1408,1526,1478,1322,1322,1522,1562,1234,832,874,841,1326,1198,1158,1272,1116,1112,1172,1128,1240,1904,2076,1546,1068,1078,1026,1252,1282,1448,1510,1616,1694,1784,1670,1496,1368,1136,853,777,794,758,999,1300,1614,931,542,635,589,661,803,839,930,957,869,760,764,480,464,633,753,1174,1332,1136,930,943,1316,1344,973,682,655,712,810,891,810,1150,1292,1340,1366,1122,792,883,853,955,1092,1208,1186,1290,1298,1090,1200,1340,1198,916,760,881,921,886,858,902,1034,1246,1168,946,930,747,844,1174,1070,1054,1066,1594,1218,1144,1362,1342,1090,794,1108,1534,1202,797,705,1084,1252,833,621,411,389,405,345,343,378,394,387,461,603,647,674,745,648,696,1068,1278,1148,862,536,986,1528,1102,1112,1344,1232,1202,1248,1314,1262,1034,801,838,784,572,692,1204,1346,1148,822,538,500,625,1288,1122,634,581,961,1232,1036,850,1228,1184,824,990,1398,1510,1302,1596,1910,2088,1798,1282,937,746,1026,1268,1330,1034,1278,1214,1294,1432,957,791,1214,1272,1138,1066,977,938,913,1042,596,439,453,475,510,772,1430,1738,1924,2300,1892,1276,881,1023,1030,1212,1446,1344,1322,1556,1530,1726,1716,1498,1436,1316,1458,1512,1546,1340,1198,1268,1284,1142,1358,1566,1360,1216,1120,1606,1730,1582,1722,1670,1402,1152,1416,1494,1354,891,797,1244,1116,1218,1422,1310,1308,1322,1318,1504,1572,1240,882,896,1226,1314,1350,1394,1158,1014,1466,1001,487,484,936,2646,3774,2644,1582,1282,1036,993,714,710,971,1672,2754,2512,2612,2286,1626,1622,1560,1070,1328,1168,1013,813,643,857,1310,1570,1484,1404,1586,1522,1406,1204,1020,779,1018,1504,1310,1472,1474,1268,1310,1330,1368,1410,1338,1288,1250,1410,1470,1620,1376,1326,1332,1384,1384,1248,1104,1138,1188,1106,1130,1070,1064,1294,1504,1456,1488,1280,1274,1314,1350,1356,1376,1384,1310,1262,1366,1028,617,1040,959,1026,954,810,762,895,686,508,537,1120,1478,1544,1616,1560,1296,973,861,1174,1312,908,830,1332,1268,987,1114,1146,1244,1122,1042,646,419,485,658,758,562,711,801,871,1162,1016,1096,1070,935,1142,1382,1464,1522,1580,1446,1292,1406,1544,1606,1532,1234,562,567,856,772,675,679,681,677,564,648,823,799,766,736,784,905,946,978,970,964,1036,1100,1086,1036,1144,1466,1300,1005,963,857,720,627,590,780,763,803,940,1124,1530,1544,1324,1102,1036,1100,1140,1268,1488,1182,749,1114,1152,1252,1098,1078,1110,1174,1270,985,991,1096,976,953,959,949,948,990,1172,1160,974,1036,1202,1284,1204,1300,1396,1328,1208,1102,1282,1320,1316,1098,918,883,946,964,1003,738,705,1080,1248,1134,669,516,902,1344,1526,1460,1550,1692,1610,1390,1128,1174,1460,1260,1120,1134,1114,1232,1166,822,873,1082,886,795,1234,1678,1602,1390,1180,1144,1374,1610,1810,1892,1850,1952,1874,1668,1542,1584,1728,1792,1023,764,794,584,756,1034,1526,1776,1854,1920,2216,1990,1200,1130,1318,1428,980,1011,1102,1344,1280,1444,1678,1956,1974,1584,984,922,1490,1528,1600,1762,1582,1226,1134,1042,891,936,1222,1542,1644,1452,1436,1372,1296,1306,1524,1492,1302,1730,1766,1386,1406,1522,1240,1210,1072,1086,1152,1572,1162,967,800,706,777,945,1040,1058,1164,1086,951,1104,1092,943,984,893,790,896,661,685,851,802,1009,1154,1068,1188,1394,1508,1484,1162,1174,1246,1370,1332,1438,1444,1230,1306,1336,1438,1708,1654,1638,1472,1256,1268,1386,1324,1174,1090,982,1396,1566,1244,1334,1524,1626,1628,1654,1642,1670,1534,1420,1412,1124,1160,1106,751,781,1418,1812,1388,1110,1244,1312,1238,1176,1124,1116,1196,1116,1050,1007,1098,1082,1128,1188,1140,974,1040,1372,1616,1702,1466,1270,1260,1146,1024,1198,1312,1466,1230,866,773,967,1060,940,996,1226,1326,1262,1176,1306,1448,1368,1156,1434,2018,1714,1168,1448,1648,1440,1444,1356,1522,1382,1270,1216,1328,1262,1384,1412,1394,1856,1778,1220,1196,1112,1154,1270,1324,1494,1416,1438,1472,1284,1070,1124,1284,1462,1486,1216,1160,1152,1120,1072,951,772,625,821,1013,1070,1092,918,946,926,906,1282,1052,678,550,467,434,669,883,861,1316,1474,1482,1478,1618,1626,1742,1500,1176,1194,1148,997,1158,1166,1338,1334,1444,1654,1666,1234,1104,955,920,1042,1244,1214,893,913,982,897,1052,1276,1448,1440,1468,1422,1402,1348,1316,1272,1468,1198,758,1002,973,1116,1254,1422,1382,1190,1116,1046,1320,1504,1524,1562,1494,1002,791,1026,1262,1238,1230,1514,1742,1676,1540,1784,1648,1152,539,478,796,1232,1001,1048,1284,1290,1328,1398,1322,1170,1174,1170,1360,1344,1190,1234,942,618,867,819,819,924,796,778,1252,1474,1208,932,1012,920,1488,1540,1158,1154,1262,1540,1412,1070,1076,770,780,1060,1188,1494,1382,1340,1320,1262,1294,1412,1472,1542,1174,1194,1036,1158,1548,1330,1412,1390,940,849,875,705,813,1322,1274,1192,1202,1220,1212,1088,1220,1248,1116,1110,1128,1019,913,941,1264,1312,1478,1550,1422,1294,1340,1464,1422,1114,634,551,832,866,820,1050,882,710,853,1058,1186,1216,1440,1240,1470,1526,1362,1450,1540,1352,933,1092,1574,1570,1472,1702,1688,1556,1648,1606,1432,1324,1302,1366,1096,937,704,484,484,554,540,484,460,590,805,995,944,998,1268,1348,1190,900,615,693,894,995,786,773,963,1082,1009,1134,1092,1058,640,650,648,619,791,883,814,801,904,1054,724,661,981,973,1046,1198,894,644,784,590,339,342,713,1013,615,567,1042,1354,1528,1330,761,496,543,655,677,564,494,426,471,789,880,1036,1204,1660,1626,1170,966,1260,1312,1009,972,1166,1066,862,730,926,1050,1104,1018,1011,1138,1460,1524,1408,1304,1286,867,1116,1576,1004,464,419,403,429,546,839,1126,890,583,740,1104,1278,1009,1228,962,1180,1302,1098,719,721,714,532,666,900,990,818,958,926,1170,975,767,719,1096,1240,1306,1214,953,990,1470,1598,1550,1282,741,485,414,673,975,1072,966,1286,1584,1630,1722,1080,1250,1470,1290,1076,1222,1404,1250,1082,1334,1146,741,919,1096,1023,1162,1202,1294,1792,2194,1306,894,810,860,1172,1228,1080,756,506,474,384,389,380,816,1446,1462,1034,918,1038,868,557,437,450,431,408,455,514,522,622,724,659,548,540,521,425,398,590,1278,1098,1404,1562,1260,1356,1344,1452,1608,1520,1492,1310,918,916,1212,1530,1340,1084,774,631,594,466,359,459,563,527,580,1078,1432,1410,1256,1362,1162,1064,628,723,1140,1044,944,1146,922,1005,1232,1290,1312,1440,1742,1730,1390,1238,1506,1566,1422,1202],[1290,952,725,778,824,824,1260,1074,757,488,797,954,1005,1046,1054,1010,1576,1674,1094,1082,1094,1204,1396,1182,1170,1086,772,830,801,774,1104,1206,982,877,943,1158,1238,1102,994,1078,1264,1294,1252,1524,1534,1906,2042,1502,1352,1274,919,1098,1282,1210,924,1076,1314,1342,1270,1210,1298,1470,1528,1552,1192,1498,1172,1250,1018,841,761,675,620,591,767,791,594,430,387,494,562,483,630,838,939,1146,915,626,990,1128,1048,908,721,581,501,759,1196,1156,938,849,692,359,433,607,771,824,876,1316,1042,1504,1252,1040,1052,791,504,456,788,955,972,929,663,447,261,255,434,465,568,653,998,1078,607,455,791,1306,1007,1196,1128,536,395,392,442,436,447,562,708,748,641,564,540,442,424,465,544,568,633,1298,1604,1938,1806,928,849,1202,1292,853,691,595,508,988,1282,1470,1466,1250,1210,1538,1482,1428,1176,543,565,497,561,748,874,795,932,860,760,1064,1266,1098,893,1142,708,482,664,545,392,648,1120,1516,1378,1098,1104,1338,1392,1078,835,1206,1434,1378,1350,1274,1122,1312,1170,719,562,422,425,465,507,958,692,595,1362,1664,1522,1316,772,463,634,900,896,1016,1052,927,471,543,550,331,378,419,470,684,708,646,910,903,1084,1388,1178,757,787,595,799,841,708,874,1020,1234,1084,507,333,354,331,578,841,937,1138,1252,990,619,458,340,300,433,569,539,602,577,625,996,1272,1262,1052,666,621,653,490,860,1360,1262,1266,1518,1666,1394,1060,716,509,465,650,647,822,999,989,1021,1122,1142,755,803,1080,949,835,1118,1154,959,970,961,638,861,1032,1120,651,526,725,986,1050,1014,1052,1116,1052,1170,1002,832,821,811,877,1178,1368,1358,1208,1306,1550,1136,692,545,762,1244,1242,939,716,621,796,1040,1132,1002,815,970,1042,999,1032,906,1102,1330,1162,1120,1032,751,752,865,1011,1074,1072,969,1072,1032,1176,1162,968,1590,1390,1060,990,845,613,949,1300,1262,1410,1382,1364,1172,1144,1384,1340,1266,1376,1324,1266,1132,1150,1028,1276,1258,1164,1260,1284,1152,833,662,672,1002,1096,1204,1178,996,1068,1042,1054,1046,1005,1176,1178,1026,1250,1184,932,973,893,754,891,1140,1204,1116,1170,1178,1072,962,1054,1154,1344,2164,1964,1162,1026,895,1003,1110,1346,1390,1082,1106,1232,1422,1568,1520,1312,1098,1316,1390,1616,1576,1262,1244,1290,1414,1336,1236,969,896,935,1238,1160,1172,1282,1142,1060,1034,990,1194,1514,1454,1280,1014,1210,1178,1372,1568,1702,1720,1650,1594,1438,1011,900,901,1001,969,803,909,1060,1294,1510,1468,1084,594,691,991,990,912,614,644,629,472,458,649,599,491,486,835,1468,1516,1250,1082,1098,1324,1244,894,768,1008,918,889,972,908,973,1036,1254,1022,821,609,639,571,718,1026,1134,982,1010,1198,1172,1162,1021,1342,1360,1154,1018,974,1036,1042,996,1206,1330,813,508,630,492,805,1098,1012,759,661,1344,1342,1296,1066,933,1128,1198,1216,1238,1000,998,1180,1128,1170,1094,753,417,439,496,430,390,398,394,424,496,1036,1005,704,923,905,797,968,1208,1130,855,591,632,925,929,1108,1206,1248,1292,1220,1284,1450,1468,1264,993,650,701,886,1148,1424,1528,1012,616,558,594,1038,1098,664,425,688,1064,1001,995,1004,946,749,732,1220,1506,1372,1032,851,885,957,1180,1013,670,789,1116,1084,993,1278,1250,1148,1272,1128,1050,1286,1312,1210,940,905,855,856,1009,624,404,457,522,604,822,1362,1950,2106,2420,1958,1440,1170,1226,1174,1194,1350,1288,1246,1204,1294,1830,1838,1670,1344,1198,1590,1372,1244,1202,1048,1208,1198,1088,1292,1366,1166,1284,1366,1376,1284,1736,2070,2056,1620,1306,1512,1406,1306,902,959,1266,1140,1210,1260,1282,1364,1422,1194,1350,1528,1176,781,863,1326,1376,1260,1296,1494,1616,1450,811,752,999,1160,2430,3384,2618,1626,1310,1638,2176,1664,1132,1252,1434,1614,2018,2414,1954,1021,1310,860,905,1816,1140,1048,996,828,721,709,969,1316,1496,1358,1400,1602,1374,1274,702,920,1408,1292,1278,1166,1172,1310,1338,1180,1124,1260,1288,1194,1428,1744,1904,1562,1320,1376,1394,1302,1194,1144,1200,1388,1216,1118,1130,1182,1520,1602,1366,1382,1356,1256,1092,1076,1206,1562,1208,1072,1180,1120,811,518,593,954,1168,1036,1036,951,791,693,556,933,1426,1498,1516,1350,952,562,622,792,955,1190,816,1040,1474,1252,1194,1456,1220,998,1009,856,879,819,700,686,963,850,617,623,956,1074,1202,1220,1086,1054,1248,1346,1206,1400,1510,1412,1502,1540,1468,1416,1304,717,333,625,1130,1388,1404,1264,1116,853,758,990,1188,1202,1198,1314,1366,1240,1232,1336,1458,1466,1316,1272,1436,1536,1556,1506,1426,1210,1144,1230,954,913,944,1246,1246,1388,1486,1446,1426,1572,1680,1736,1718,1598,1316,1102,1408,1418,1182,1194,945,871,765,1210,1512,1466,1460,1318,1454,1406,1328,1246,1292,1328,1358,1192,1178,1228,1194,1158,1252,1266,1112,1142,1050,936,935,994,1066,960,996,1224,1256,1306,1382,1428,1378,1282,1042,949,1026,1066,764,759,1184,1614,1538,1396,1742,1766,1360,1148,1009,1082,1350,1516,1396,1422,1226,1592,1584,832,843,963,703,873,1400,1668,1698,1656,1500,1410,1262,1186,1548,1698,1516,1320,1418,1606,1648,1500,1458,1482,995,1036,1024,836,966,1534,1476,1120,1256,1394,1984,1526,990,1274,1768,1786,1700,1322,1112,976,994,1428,1614,1696,1642,1562,1006,986,1400,1516,1438,1242,1298,1354,1382,1192,865,963,1044,1220,1534,1360,1572,1584,1510,1428,1592,1516,1484,1630,1628,1534,1592,1428,1056,1102,982,1146,1178,1338,1184,1010,733,732,888,894,1092,1007,925,854,757,1166,1010,1014,1134,833,641,619,720,1114,1248,1078,1254,1508,948,965,1454,1698,1484,1186,1046,1180,1436,1516,1242,1052,977,1005,1270,1374,1502,1838,1832,1400,1216,1114,1148,1204,1256,1210,1202,1340,1128,918,927,1386,1784,1660,1544,1526,1428,1344,1346,1512,1044,1092,1194,985,904,1274,1748,1500,1318,1502,1532,1454,1374,1356,1232,1180,1188,1252,1188,1226,1150,1276,1404,1224,1122,1102,1294,1644,1764,1500,1104,970,976,1050,1528,2110,1836,1144,946,995,998,1019,1020,1042,1220,1296,1208,1086,1412,1558,1300,1080,1172,1328,1288,1124,1610,1660,1396,1390,1610,1534,1188,818,968,1112,1086,1410,1320,1236,1844,1554,1284,1272,1146,1324,1682,1672,1450,1362,1540,1394,1152,1078,863,756,1054,1106,1040,1034,1036,1052,1044,1074,975,895,970,905,954,928,861,786,728,1144,1208,750,532,487,439,469,654,843,1013,1412,1308,1346,1522,1482,1410,1376,1202,1186,1194,1218,1208,1056,955,1070,1288,1508,1492,1112,970,1054,1009,911,832,862,761,923,1192,1068,1106,739,767,1172,1626,1814,1620,890,591,929,1308,1358,1472,1019,955,1036,1228,1130,1164,1220,1142,1102,1128,1364,1182,1158,1232,1184,1184,974,794,1088,1074,941,1188,1476,1468,1436,1688,1490,841,509,466,529,658,620,600,1015,1452,1302,1290,1118,742,835,1140,1572,1642,1614,1278,1116,973,1096,1172,1019,986,1018,1102,1538,1428,1434,1428,1148,769,1254,1048,1058,1296,1322,1556,1338,1302,1376,1034,1126,1196,1296,1222,1418,1362,1302,1116,1322,1390,1366,1466,1318,1388,1172,1286,1492,1558,1390,1146,1021,1100,1158,954,622,608,812,1182,962,1120,1194,1266,1368,1370,1252,1266,1244,1152,1232,1504,1544,1282,1310,1338,1360,1302,1248,1300,1390,1014,434,396,576,781,1036,934,803,604,965,1238,1166,1058,1150,1450,1804,1814,1516,1426,1336,1004,1178,1366,1586,1458,1476,1638,1414,1148,1194,1482,1576,1450,1400,1230,968,1200,1146,712,487,593,772,750,628,671,934,803,734,1040,937,1074,1254,1086,590,631,1216,1460,1214,814,1104,1370,1160,1262,1230,1108,1074,1156,1072,1256,1372,1170,916,690,962,958,631,605,830,692,828,1034,1012,940,731,506,454,469,477,486,394,527,648,1013,1134,851,636,625,721,1009,1008,1008,800,833,856,1056,818,641,742,1088,1230,1306,1146,800,813,908,1258,1406,922,683,887,1040,1170,1224,1080,1092,1394,1614,1426,1180,1282,1520,990,976,1148,725,579,674,850,1098,984,761,667,558,516,434,761,1150,993,1166,1058,973,1322,1766,1306,756,657,656,637,689,1112,993,934,1332,1316,839,700,894,987,1026,1412,1310,1158,1176,1348,1278,1334,1274,880,620,574,953,1330,1314,1132,1354,1720,1722,1380,924,937,1400,1142,899,1044,1366,1358,1240,1382,1278,935,1264,1450,1324,1246,892,986,1410,1538,1404,1068,669,810,1186,1290,1334,961,747,875,625,492,418,620,1090,1550,1482,1034,896,861,504,498,656,749,838,1040,893,672,725,751,656,698,688,609,504,675,904,1130,1166,1680,1694,1426,1518,1620,1598,1440,1364,1190,1166,1080,715,840,1394,1432,1040,899,698,451,489,407,401,364,387,453,850,1350,1698,1608,1156,1018,1010,715,523,729,908,1021,1346,1218,962,1180,1218,1376,1458,1570,1806,1714,1466,1572,1672,1582,1108],[789,882,973,1058,785,907,1108,1330,1142,764,1224,1268,1046,1028,988,1116,1460,1500,1236,1306,1308,1316,1488,1244,1332,1212,819,766,863,985,1066,1086,1180,1162,1284,1230,1352,1158,1120,1007,1094,1372,1244,1406,1498,1344,1596,1656,1450,1362,1220,1404,1344,1304,1188,1226,1314,1254,1072,1248,1396,1816,1512,1486,1352,1254,1326,1446,1196,988,810,713,742,891,1064,872,832,672,534,508,486,449,571,941,1082,1017,1010,696,941,1452,1398,1272,785,583,535,697,938,745,651,779,565,314,302,390,745,586,679,1226,1368,1620,1015,726,905,855,649,869,1318,900,713,785,489,339,270,269,377,451,507,462,547,560,396,407,823,1546,1362,1522,1268,854,762,725,648,466,509,966,1023,769,857,890,688,564,496,508,739,949,819,993,1540,1578,1434,1070,1044,1412,1592,927,774,813,977,1288,1506,1538,1328,1264,1248,1808,1454,1506,1228,588,611,685,788,1116,1074,897,997,832,561,458,557,610,861,998,763,499,428,460,411,515,841,846,618,881,1062,1282,1498,1168,948,1174,1110,1156,1324,1088,1152,1254,947,753,957,756,647,478,336,691,766,843,1414,1506,1770,1852,1032,729,800,1192,1384,786,901,855,320,277,346,304,359,514,589,577,805,1118,1394,1556,1240,896,951,907,789,890,1104,802,496,680,1086,1186,560,346,355,365,345,684,953,1028,1104,1036,885,745,661,458,326,414,724,1023,1110,991,854,1320,2018,1738,1015,861,741,702,779,1070,1166,1182,1316,1550,1720,1516,867,566,697,440,586,574,779,715,1108,1238,1268,1270,1126,1230,1284,927,636,990,1122,1216,1434,967,882,971,979,1068,685,487,713,965,1278,1350,1098,1066,1044,1084,1018,1001,1102,1078,1044,1192,1208,1208,1212,1028,1070,1050,996,713,706,866,919,934,1078,1250,1346,1164,802,501,378,458,766,1054,1080,990,1254,1374,1218,1212,971,906,1128,1092,869,1180,1172,1076,839,982,980,745,1170,1802,1716,1262,1032,929,622,1106,1384,1460,1260,1088,1182,1166,1246,1460,1210,1262,1426,1254,1276,1132,1172,1017,932,967,1224,1334,1216,810,660,586,575,1023,1172,1410,1192,993,1034,1086,1144,1124,1076,1158,1170,1005,1172,1176,982,922,946,1074,1338,1414,1344,1206,1070,898,1015,952,1086,1166,1390,1960,1786,1236,1024,927,1074,1144,1156,1220,1356,1214,990,1172,1278,1298,1330,1282,1220,1578,2148,1672,1168,1220,1210,1160,905,973,1014,1060,1142,1296,1412,1598,1534,1296,1274,1230,1164,1288,1528,1432,1436,1450,1542,1520,1594,1602,1402,1166,1074,1019,1092,841,877,1116,1278,1290,995,700,768,1358,1420,1264,1114,720,915,1150,877,732,454,442,413,339,306,573,1180,1346,880,1072,1310,913,698,659,843,1054,902,705,680,914,1078,1000,1104,1208,1154,991,972,1020,957,624,625,717,938,1130,1080,988,1054,1158,1152,1076,1048,1330,1350,1278,1214,1248,1160,883,749,836,880,525,403,720,705,648,1072,1176,766,502,781,1338,1608,1094,1076,1254,1550,1684,1240,1010,1204,1242,1082,1174,1328,1126,702,696,735,658,639,686,1008,730,654,1214,1390,1134,963,841,735,788,1068,1188,1066,704,524,951,999,1062,1370,1296,1186,947,860,1282,1320,1204,1036,794,867,1104,852,932,1092,1054,857,669,691,968,1170,910,568,863,926,1080,1152,1162,1348,979,1052,1432,1448,1364,871,718,961,1098,1212,1368,1064,851,858,723,796,946,977,1244,1384,1318,1244,1404,1424,1250,940,894,815,835,949,642,406,526,655,772,802,912,1464,1448,1422,1092,970,1078,1212,1168,1162,1166,1102,1190,1132,1130,1300,1372,1268,1448,1550,1524,1230,1234,1300,1340,1214,1024,1042,1140,1312,1290,1306,1454,1428,1254,1302,1320,1462,1338,1458,1780,1364,1204,1194,1360,1296,1220,1172,1098,1376,2024,1560,1020,1280,1506,1314,941,993,1040,1028,1040,1202,1208,1466,1526,1270,1784,1936,1086,1136,1628,2510,1738,1604,1632,1744,1804,1614,1384,1340,1490,1766,2498,2276,1690,1858,1200,1186,1450,1230,1226,1186,1084,949,848,652,666,1024,1496,1522,1476,1506,1570,1184,1282,1478,1504,1348,1160,1212,1376,1272,937,1046,1112,1001,1222,1266,1476,1484,1294,1194,1160,1190,1210,1160,1138,1164,1388,1266,1222,1204,1138,1338,1258,1001,899,792,930,723,886,1196,1458,1186,1186,1350,1272,725,336,537,1250,1416,1080,1030,918,726,689,813,1410,1522,1476,1206,780,506,483,555,400,504,885,932,946,1060,915,1078,1556,1484,1220,1126,1096,1444,1272,1188,1282,1300,1154,933,990,1202,1258,1200,1214,1274,1404,1388,1228,930,1110,1096,1358,1422,1352,1186,1070,949,557,281,440,845,890,932,691,700,640,494,555,851,778,566,820,1156,1156,1362,1478,1344,1278,977,1002,1478,1368,1282,1388,1214,705,672,1176,1368,861,677,1180,1062,875,850,780,727,867,1218,1454,1356,1194,1396,951,795,1202,1146,939,802,717,687,1003,1148,1114,1086,811,836,669,709,632,607,662,590,637,686,550,514,529,689,708,507,568,384,380,595,545,473,677,943,717,534,639,864,1072,1140,1216,1046,1140,1224,1116,1430,2024,1846,1548,1538,1618,1876,1502,820,976,1330,1262,1192,1378,1626,1832,1588,1496,1174,746,1080,1246,943,1158,1282,1326,1468,1722,1592,1508,1456,1370,1336,1494,1328,848,852,955,1148,1372,1532,1468,1324,1178,995,1007,1428,1916,1640,1260,1316,1132,969,883,1074,1302,2258,2044,1648,1422,1334,1228,933,976,979,1300,1804,1742,1172,1216,1594,1484,1140,1444,1814,1580,1478,1300,899,1078,1102,1282,1178,1454,1592,1632,1720,1648,1570,1434,1334,1266,1412,1598,1476,1242,1296,1246,1214,1146,1013,1062,1268,1180,834,1084,1234,826,783,697,601,790,800,971,888,946,889,714,763,599,672,1274,1454,1150,1262,1428,970,1023,1328,1476,1406,1268,1206,1324,1140,1052,892,1146,1188,978,881,1098,1464,1616,1344,1204,1204,1046,1144,1386,1274,1154,1146,1138,1154,1062,1034,1512,1738,1502,1506,1322,1180,1064,1298,1232,1092,1166,1118,1128,1208,1284,1516,1620,1632,1606,1372,1242,1312,1134,1086,1184,1252,1064,884,1098,1214,1338,1378,1302,1244,1062,1200,1520,1606,1542,1366,1352,1442,1292,1504,1638,1102,926,977,1082,1080,796,921,1174,1282,1430,1232,1148,1424,1318,1090,994,864,908,872,770,1206,1462,1596,1628,1412,1224,865,612,1128,1396,1432,1400,1316,1288,1488,1254,1220,1238,1306,1570,1844,1770,1520,1166,1374,1388,1224,1060,810,1290,1492,1274,1188,1044,1013,1072,1000,998,1068,988,934,763,880,955,800,580,886,1200,886,554,457,412,447,518,712,995,839,924,1076,1310,1362,1026,992,1184,1240,1194,1226,1236,1176,800,863,722,1134,1544,1240,739,663,877,822,724,636,873,974,1280,1230,1220,1234,847,769,1082,1574,1888,1880,1182,805,1096,1792,1532,1466,1232,998,1021,1238,1272,1462,1970,1628,1362,1400,1524,1318,1242,1226,1158,1186,988,750,760,767,697,939,1202,1182,1342,1420,1066,646,563,474,450,725,872,810,1124,1376,1142,1394,1224,849,596,907,1198,1302,1182,1086,1048,1180,1252,1274,967,1032,1066,1308,1400,1528,1350,1428,1512,1310,1042,891,938,1152,1454,1682,1492,1254,1144,1104,1298,1372,1350,1314,1116,1132,1246,940,1306,1310,1362,1124,1276,1338,1246,1266,1354,1458,1302,877,836,996,733,697,504,467,609,901,785,818,1188,1392,1444,1400,1164,1164,1502,1404,1356,1488,1344,1346,1582,1748,1768,1534,1300,1132,1254,1090,848,703,844,1024,1242,1192,842,764,1192,1350,888,660,1011,1516,1708,1730,1534,1504,1246,1100,1334,1526,1510,1212,1296,1472,1554,1472,1302,1310,1500,1584,1472,1144,1390,1406,1260,966,891,841,668,886,697,800,1102,662,638,1180,1120,1194,1236,1088,922,1122,1520,1440,1240,966,1256,1364,1262,1292,904,940,1350,1336,1266,1626,1340,1078,1034,833,722,794,891,911,822,808,1017,862,909,1294,917,549,829,922,675,398,356,347,377,633,604,587,932,1023,966,929,1016,1194,739,760,1166,1334,809,463,804,950,865,1026,915,890,861,691,905,1136,1102,824,1015,1312,1354,1176,1006,926,732,990,1134,1148,1808,2008,1376,798,633,851,937,816,835,949,1210,1180,764,508,594,772,1086,1190,1210,1352,1314,1086,1222,1494,1748,1372,964,727,585,601,1040,1260,1274,1780,1512,809,650,642,749,816,1348,1520,1226,1368,1314,1350,1362,1058,913,1005,1030,1174,1472,1594,1534,1552,1630,1632,1304,1240,1430,1358,1170,887,960,1410,1378,941,1274,1308,1208,1478,1742,1504,1280,972,897,1158,1418,1334,1080,811,844,1086,1294,1232,1078,865,1078,1044,741,711,836,1270,1538,1232,941,1044,1210,707,789,1122,1344,1434,1400,1084,744,792,888,934,961,669,574,588,1028,1244,1400,1940,2304,1992,1604,1520,1416,1318,1274,1482,1502,1682,1448,803,644,1288,1600,1202,871,727,568,641,470,453,496,538,548,749,1110,1612,1632,1490,1398,1428,1188,702,908,1054,1008,1262,941,759,982,991,942,925,1108,1522,1674,1690,1588,1412,1316,1026],[780,952,1194,1458,1126,977,731,988,852,766,1242,1146,844,1148,991,1017,1048,1306,1340,1468,1286,1392,1544,1290,1296,1396,1200,985,1068,889,885,1146,1284,1336,1308,1264,1112,1034,1166,771,722,1382,1274,1422,1318,1356,1578,1506,1500,1230,1184,1372,1306,1324,1480,1734,1280,1198,905,1136,1260,1082,926,1244,1188,902,1044,1140,1022,997,957,981,959,982,1186,1296,1108,852,596,486,454,423,596,872,772,703,943,861,850,1150,1118,1046,827,745,651,752,890,583,401,439,473,316,274,343,585,511,669,1232,1234,772,721,772,651,590,818,1014,960,816,1032,1106,688,406,320,339,539,753,723,425,388,567,1132,971,1192,1700,1720,1560,1360,1400,1400,1406,1428,974,695,813,1102,963,907,938,599,440,359,490,799,905,574,553,1294,1572,1852,1434,1278,1438,1458,1244,962,731,923,1222,1564,1658,1826,1946,1752,1910,1294,1570,1232,644,735,859,953,1294,1236,990,936,603,606,832,552,675,1084,1194,1070,900,713,494,534,464,476,516,430,558,818,1106,1178,1156,1238,1068,887,1500,1538,1322,1332,1004,593,739,1198,1344,1168,1118,1012,1098,1194,1250,1342,1386,1584,1408,1048,899,1007,1174,945,515,540,451,320,310,340,392,517,993,958,583,899,1270,1342,1788,1244,641,610,801,730,810,838,592,513,583,1004,1166,516,339,339,317,549,894,974,1001,1166,1172,1040,1038,1023,756,433,400,794,1210,1304,1288,1094,1328,1826,1684,1224,1252,1086,1292,1186,888,715,1070,1340,1250,1572,1776,949,514,712,631,979,769,863,1072,1316,1378,1170,1042,1272,1296,936,523,440,726,959,1116,1266,1044,1036,783,818,1070,932,986,997,890,1100,1210,1136,1158,1306,1360,1168,1124,1148,906,1034,1184,989,1228,1500,1162,958,1122,1038,818,689,902,1172,1106,1328,1474,1412,1216,960,736,600,611,971,1058,1186,1234,1318,1158,926,848,800,915,1106,1003,795,1110,999,709,695,844,760,673,785,1066,1294,1270,1150,869,733,1038,1360,1346,1124,1184,1128,1258,1182,1106,1052,1360,1360,997,729,577,778,865,719,886,1358,1230,1256,754,568,514,520,981,1282,1262,1132,1104,1204,1272,1224,1272,1282,1182,1148,1184,1270,1354,1168,914,1028,1280,1332,1326,1320,1172,1202,1074,858,794,1030,1146,1072,1356,1400,1074,932,1006,1292,1290,1048,1130,1348,1278,1202,1202,1214,1300,1664,1688,1214,1734,2522,1890,1334,1344,1318,1382,1206,1006,1090,1186,1228,1314,1510,1856,1632,1234,1154,1196,1396,1656,1750,1716,1670,1598,1390,1188,1098,1180,1036,965,1038,1080,1260,1190,1210,1208,1152,1256,1122,746,756,931,766,663,717,805,1064,798,499,394,343,357,440,484,365,567,1280,1320,1110,992,1054,1006,844,565,508,698,808,725,616,720,1002,987,1086,1326,1372,1180,1072,1214,1036,682,844,995,1012,1118,1184,1236,1108,1076,1000,1021,980,762,854,1292,1444,1434,1144,791,694,451,365,321,387,532,554,834,1240,1504,1252,638,748,1282,1390,1005,1422,1380,1302,1438,1136,835,1130,1186,1010,1070,1332,1324,919,997,1034,786,805,1210,1668,1108,724,642,919,921,543,493,721,934,1046,1232,1138,802,493,871,1012,1110,1278,1256,1216,921,843,1048,980,1154,1146,832,817,999,852,785,791,918,1022,787,944,1208,943,736,882,962,1023,1250,1232,1090,976,783,826,919,1030,1374,1150,1226,1578,1172,1164,1190,940,942,894,744,839,1160,1058,1226,1404,1142,1128,1316,1344,1312,1058,944,1000,1058,1012,709,468,533,473,583,730,675,725,617,534,405,509,945,1270,1134,1196,1290,1404,1332,1336,1242,1198,1266,1184,1332,1410,1214,1144,1182,1274,1428,1358,1332,1260,1318,1474,1610,1500,1510,1426,1358,1302,1244,1306,1154,1126,1176,1224,1176,1076,990,1098,1082,1140,1160,1636,2580,1944,973,1056,1362,1394,1340,1512,997,613,735,963,1042,1494,1840,1616,1756,1560,1126,1224,1074,907,753,1346,1698,1362,1268,1496,1236,1406,1492,1480,2364,1634,1014,1470,1708,1712,1234,1028,1112,1202,1008,644,800,883,751,648,736,1230,1528,1472,1478,1518,1572,1642,1572,1466,1326,1406,1538,1330,1238,1354,1062,1096,1362,1266,1350,1482,1434,1178,1064,1146,1162,1044,1088,1272,1450,1310,1286,1286,1232,1192,1194,994,952,952,952,673,760,902,1046,1154,1080,1284,1194,655,426,916,1428,1372,1034,1262,1496,1268,1028,1426,1660,1376,916,576,591,591,618,647,455,409,426,583,672,827,1006,1102,1224,1358,1186,1178,1194,1158,1226,1296,1152,966,858,679,511,547,630,825,990,900,943,933,1198,1138,987,754,868,1116,1242,827,508,969,1060,541,679,816,579,593,606,604,654,646,813,891,888,856,1150,1528,1386,1296,1378,1344,1340,917,717,1100,1290,1348,1438,1212,863,1003,1248,1542,861,1494,1726,1302,1174,1068,851,580,902,1324,1266,1258,1013,1180,894,840,1060,1066,1172,1322,1426,1428,1406,1450,1532,1274,1104,1200,937,797,702,963,1058,712,867,1046,576,673,883,904,862,1058,1082,656,522,877,1028,736,847,1144,985,742,719,800,597,516,623,601,714,929,1132,1600,2046,1834,1418,1412,1708,1720,938,491,1346,1802,1520,1344,1168,1350,1722,1650,1302,1094,1130,1390,1300,1246,1320,1530,1954,1818,1550,1468,1538,1554,1374,1136,1360,1484,1138,1172,1266,1168,989,1310,1606,1616,1444,1262,1308,1656,1904,1466,1690,1986,1500,987,1044,913,1038,1412,1508,1446,1310,1390,1214,1122,1222,979,1388,1650,1800,1422,1172,1296,1148,1302,1968,1936,1322,1244,1056,964,1092,1148,1270,1036,1504,1754,1888,1792,1572,1494,1554,1546,1346,1332,1368,1460,1654,1714,1698,1516,1098,1000,1150,1118,969,915,1396,1304,959,749,607,603,733,729,697,705,820,719,669,838,927,969,1570,1672,1280,1154,952,727,911,1128,1200,1222,1406,1456,1388,1086,1332,1578,1178,1042,1016,926,1142,1400,1308,1102,785,637,943,1142,1318,1232,1094,1142,1122,1128,1142,1382,1680,1506,1230,1242,1348,1296,1072,1336,1482,1422,1290,1194,1186,1144,1270,1510,1670,1554,1318,1226,1302,1346,1200,1106,1102,1260,1052,871,1054,1104,1420,1332,1396,1746,1310,1168,1528,1710,1648,1684,1822,1628,1234,1010,1018,1028,987,865,943,1128,1180,1570,1594,1306,1350,1378,1420,1428,1164,1172,1248,1738,1312,1056,957,962,1340,1596,1396,1200,1168,1060,1338,1988,2028,1554,1230,1068,1010,998,1040,1060,1158,1268,1316,1438,1390,1272,1296,1456,1406,1244,1246,1304,1716,1588,1246,1124,1072,1210,1726,1094,899,1126,1238,1166,1092,1130,1120,814,892,1198,988,597,482,411,430,500,539,906,1350,1182,1230,1284,1302,1206,1064,1330,1600,1516,1162,1218,1248,1224,1138,985,875,966,989,1178,966,910,1142,1380,1156,1158,1064,966,1198,1276,1360,1262,1164,1232,1348,1626,1582,1452,1272,1136,1174,2008,2058,1560,1118,1040,1198,1256,1248,1632,2172,1532,1334,1418,1364,1184,1136,1244,1272,1200,1026,786,737,758,703,686,1080,1238,1488,1326,800,674,620,460,450,560,706,870,1086,1080,1208,1340,1188,990,933,935,1034,1134,1246,1092,991,1388,1192,1104,1180,1324,1328,1466,1312,1282,1250,1260,1368,1334,1466,1374,917,1306,1606,1476,1274,1298,1050,1032,1170,1274,1288,1152,733,771,1108,1310,1260,1338,1554,1398,1298,1212,1274,1290,1282,1288,1023,639,963,613,426,459,419,480,523,510,470,456,774,1190,1286,1154,1064,1244,1466,1220,1350,1368,1446,1474,1528,1514,1432,1354,1144,1001,993,816,842,984,1256,1294,1302,1374,863,866,1386,1128,511,546,966,1414,1528,1500,1492,1428,1218,1306,1220,1228,1196,1224,1444,1556,1668,1708,1694,1498,1328,1334,1498,1286,982,800,883,1132,1256,1028,985,1286,700,490,516,382,435,768,781,593,594,976,1356,1276,1358,1284,804,913,1230,1310,1294,1310,1310,1322,1288,1278,1418,1656,927,889,1506,1358,1160,1272,1322,1007,1004,1108,843,457,487,914,887,762,991,934,856,600,357,407,585,529,388,379,511,681,929,1066,1252,1260,905,1066,1348,1160,715,494,517,499,835,795,581,625,809,625,823,1102,1030,814,998,1578,1528,1208,1252,1001,703,543,844,1122,1350,1328,1420,1160,969,995,980,928,926,876,1312,1114,685,651,851,998,1094,1180,1318,1130,1005,1166,1250,999,1310,1114,1054,1009,695,622,1004,1572,1506,1304,1216,862,577,711,999,679,822,1218,987,1118,1340,1206,1108,1050,845,943,1230,1090,1246,1514,1498,1368,1332,1568,1598,1530,1388,1222,1258,1076,1266,1514,1390,1092,1332,1466,1456,1438,1640,1550,1364,1204,998,1100,1270,1296,1320,1238,1068,976,1276,1334,1394,985,906,1024,1024,1098,1062,1148,1032,1254,1148,1240,1434,1278,1400,1474,1384,1192,1016,829,586,811,1046,1202,1086,648,683,930,1254,1436,1802,1880,1542,1382,1288,1266,1414,1364,1206,1348,2204,2320,1738,1202,800,885,1214,1019,917,926,579,509,466,626,873,938,711,598,1015,1368,1408,1656,1718,1644,1204,866,1084,1278,1272,1118,766,879,1262,845,532,618,1170,1356,1398,1676,1616,1352,1534,1280],[595,904,970,1086,946,731,508,456,543,882,1028,957,949,1174,891,1252,1274,1204,1302,1364,1028,1022,1190,1290,1454,1400,1246,1017,1140,1010,1102,1426,1650,1494,1214,999,812,1082,1236,945,634,1128,1216,1506,1216,1324,1354,1130,1244,1136,1021,1268,1358,1334,1154,1120,949,941,719,724,1106,1186,1142,1118,894,738,846,817,873,1068,988,916,825,802,1030,1192,965,677,641,611,516,382,587,717,637,565,756,1040,753,616,861,910,950,1212,1334,1194,1076,574,354,604,1062,595,266,320,339,415,510,578,417,452,823,865,789,830,1130,1124,834,650,1042,1220,871,579,335,347,689,1014,986,609,613,727,1238,1188,1334,1616,1650,1574,1434,1476,1656,1700,1616,1388,1108,587,812,695,652,618,447,485,427,381,572,680,551,562,1246,1660,1514,1236,1240,1226,1208,1284,1224,985,907,1366,1610,1488,2020,1880,1690,1872,1578,1764,1360,609,501,524,756,1310,1009,1102,1118,612,1240,1610,979,1042,1272,1214,1202,1300,800,383,546,491,370,397,411,733,827,919,689,646,947,863,786,1228,1126,1310,1276,1066,899,1068,1242,1007,811,1416,1640,1484,1402,1298,1418,1396,1274,994,694,717,689,752,724,607,496,422,380,348,362,488,691,1158,757,416,603,1021,1220,1138,969,702,967,1216,669,430,454,503,683,1112,1200,1002,706,626,744,860,985,1088,1094,1246,1326,1406,1088,854,924,1009,717,533,544,633,959,1050,1082,859,525,758,1116,1288,1220,1190,969,608,554,954,1062,930,1288,1588,963,573,803,692,687,911,1042,1080,1148,1060,1074,1550,1378,1072,742,358,326,421,534,647,838,1104,1230,944,776,1015,1230,1342,1196,1052,1260,1326,961,930,1080,1218,1016,753,862,965,1236,1364,1104,1610,1534,1582,1270,1338,1376,1138,823,713,802,996,1268,1244,1206,1252,1072,965,965,990,1044,1112,1176,1092,780,469,547,450,697,952,1108,1007,913,1042,937,913,970,1068,854,772,840,954,883,863,803,809,951,951,1196,1218,1174,1226,1244,1182,800,778,1118,1486,1342,1060,933,1090,1098,1062,979,926,1476,1210,1088,617,463,532,543,844,1144,1272,1244,1158,1156,1314,1286,1152,1276,1228,1264,1162,1192,1342,1240,1086,1156,1300,1348,1390,1186,1142,1370,1290,857,889,1168,1102,1122,1508,1456,1006,1012,1128,1182,1052,803,963,1172,1044,1288,1290,985,1066,1542,1540,1118,1220,1550,1438,1152,1238,1214,1398,1426,1234,1206,1290,1302,1310,1384,1650,1686,1508,1566,1664,1640,1644,1628,1440,1344,1308,1176,1158,1300,1300,1138,999,1010,1110,1258,1210,1162,1204,1320,1298,1140,987,1256,1144,995,901,1310,1400,718,332,322,351,424,500,628,727,576,702,1026,928,1110,1162,1484,1548,1232,849,614,723,1032,845,655,968,1280,1404,991,937,1338,1298,1416,1588,1116,806,839,905,1028,1106,1236,1432,1486,1388,1360,1168,1076,882,797,1216,1224,1144,1276,1128,1003,818,444,323,352,411,443,813,1204,1322,1152,796,987,1112,1248,1260,1502,1106,970,1014,822,632,912,1354,1350,1224,1338,1252,1224,1416,1184,915,981,1346,1436,1194,855,707,683,528,525,579,819,1230,1010,1262,1256,912,582,664,896,1024,1202,1378,1188,1026,781,644,694,1021,1001,711,705,1052,1146,926,817,760,931,875,1130,1332,826,705,834,828,869,1052,1146,1036,991,995,731,796,729,1270,1274,1344,1556,1298,1114,944,775,826,1030,828,547,905,1330,1026,1288,1216,1130,1290,1336,1268,1054,944,1200,1358,1172,807,518,485,477,629,785,692,494,434,476,373,374,714,1306,1202,1188,1238,1434,1558,1388,1334,1398,1422,1406,1190,1226,1182,1326,1256,1212,1358,1556,1526,1452,1298,1310,1694,1764,1408,1214,1384,1422,1354,1362,1236,1272,1312,1418,1328,1318,1238,1192,1166,1242,1154,1056,1534,1444,1528,1290,1356,1418,1402,1648,1412,805,786,1108,1066,1486,1548,1166,1262,1170,1230,1260,1324,1166,625,651,1064,1316,1294,1202,1370,1950,2152,1764,1666,1011,494,713,1678,2106,2076,1584,843,850,731,604,1026,899,797,780,758,703,795,1164,1606,1678,1628,1554,1720,1586,1374,1452,1504,1316,1250,1344,990,1066,1544,1288,1230,1360,1330,1208,1122,1148,1118,1068,1232,1416,1376,1236,1302,1452,1434,1266,1384,1194,1132,926,772,694,621,524,807,1015,1122,1498,1098,1188,960,1316,1524,1242,986,1284,1694,1636,1556,1654,1548,974,441,497,671,763,703,707,626,442,481,723,735,769,803,1044,1144,1256,1272,1276,1082,921,938,826,553,569,568,451,415,567,651,1148,1406,829,546,689,902,1150,1242,1146,1032,914,1028,1116,871,870,1068,1186,1320,1182,857,865,849,833,927,1182,1236,805,1146,1712,1894,1430,1048,1076,1442,1278,940,921,1132,1350,1044,870,1040,965,629,955,1016,941,886,1506,1694,1566,1510,1204,974,840,1262,1342,1023,1120,973,718,795,1216,1364,1390,1382,1346,1484,1266,1070,937,1106,1142,934,828,819,873,883,1092,1166,898,943,1218,619,592,894,968,781,1062,1096,729,629,814,1074,971,800,1120,1028,758,974,1032,811,942,865,618,728,792,888,1070,1110,1382,1454,1518,1588,1454,761,934,2244,2288,1694,1632,1266,1134,1152,1376,1156,1204,1478,1600,1504,1346,1410,1792,2082,1984,1570,1242,1506,1542,1448,1412,1354,1162,1310,1296,1340,1260,1066,1074,1294,1678,1704,1548,1282,1476,1830,1600,1904,1794,1246,1090,1232,1294,1388,1758,1586,980,1328,1352,1186,1208,1244,1156,1646,1650,1610,1354,926,1056,1190,1836,2072,1582,1170,1182,928,988,1064,1128,875,969,1372,1638,1818,1288,995,1222,1290,1366,1492,1566,1440,1598,1632,1564,1608,1598,1460,1246,1070,913,1092,1230,1444,1296,992,844,794,755,757,745,627,802,1080,1256,1324,1258,1120,955,998,1158,1156,1022,914,1200,1312,1084,1174,1294,1424,1548,1388,1160,1216,1350,1118,860,907,1064,1274,1500,1340,1296,1032,690,834,1024,1074,936,879,1062,1074,791,852,1516,1460,1346,1334,1310,1306,1224,1212,1196,1258,1338,1318,1158,1042,1174,1318,1282,1596,1546,1240,1310,1400,1294,1144,994,1086,1180,1134,1198,1528,1362,1174,1266,1512,1754,1338,1436,1654,1714,1742,1604,1740,1614,1214,1007,1344,1176,924,904,977,1184,1458,1758,1526,1254,1396,1388,1260,1340,1340,1122,1610,2192,1636,1242,1200,1312,1342,1256,1314,1184,1046,1230,1470,1804,1560,1284,1166,1036,1042,1023,965,1066,1152,1106,1058,1114,1120,1160,1526,1628,1418,1496,1648,1628,1498,1348,1370,1300,1210,1058,1160,795,729,896,998,981,1150,1332,1002,875,1234,1174,650,504,447,413,521,640,888,1322,1400,1554,1658,1366,1302,1302,1364,1562,1614,1392,1170,1098,1130,1232,1126,948,998,1232,1166,1302,1376,1558,1542,1588,1182,974,892,762,846,1200,1224,936,1026,1416,1506,1162,1260,1542,1498,1322,1414,1564,1214,1036,1148,1312,949,1018,1058,1154,1272,1154,1208,1260,1232,1184,1324,1356,1202,1196,1152,1026,857,1013,1104,962,770,885,1372,1264,700,518,371,337,514,679,554,607,888,714,1106,1172,915,796,774,1102,1068,1172,1290,992,1106,1324,965,633,741,1204,1644,1550,1318,1216,1252,1522,1478,1142,1116,1348,1418,1400,1714,1574,1178,1156,1096,833,822,1148,1106,908,595,586,1009,1302,1206,1510,1648,1468,1302,1284,1388,1336,1244,1234,890,968,1088,724,443,370,369,465,518,441,386,381,468,663,772,716,850,1240,1312,1368,1472,1396,1334,1394,1470,1364,1250,1226,945,911,755,794,703,871,1140,1248,1354,1510,1450,1372,1500,1178,686,821,910,1282,1336,1246,1202,1302,1204,1168,1298,1400,1096,1376,1526,1622,1716,1744,1734,1662,1558,1300,1234,1358,1460,1176,1001,1192,1240,930,891,1028,788,513,426,409,365,455,484,497,488,839,1138,1416,1256,1276,868,945,1124,1176,1332,1338,1354,1470,1688,1944,1454,1194,778,812,1268,1312,1136,1140,1098,854,1168,1064,757,399,571,755,883,716,753,725,808,794,802,797,801,536,520,502,448,425,561,555,896,1232,1198,1376,1268,1134,813,606,478,542,725,576,574,942,1023,575,720,932,985,991,1120,1426,1334,1134,1404,1012,830,517,658,959,960,1166,1306,1230,986,1044,1766,1818,1498,1434,1582,1102,625,535,623,932,1074,1044,1300,1086,847,1026,1074,839,1114,1202,1016,791,695,572,738,1314,1414,1032,924,1028,688,614,837,715,615,734,877,1002,1094,1026,766,758,974,945,1292,872,901,1362,1678,1526,1278,1472,1644,1730,1392,1082,1284,1438,1394,1484,1544,1078,1044,1340,1368,1402,1458,1244,1152,1050,1202,1254,1270,1444,1282,1224,1032,1178,1324,1186,1214,1256,1174,966,1050,921,937,937,1226,1224,969,977,774,953,1280,1252,1266,999,980,1062,838,898,1148,1416,1316,988,911,1086,1238,1302,1388,1396,1212,1136,1104,1220,1336,1250,1362,1576,1802,1768,1680,1388,948,958,987,712,593,598,535,645,1170,1366,1278,1250,872,525,901,1166,1402,1664,1804,1622,1130,1032,1070,1134,1134,1170,1088,1058,1256,1072,681,773,1224,1292,1070,1332,1706,1750,1642,1322],[487,737,757,626,711,711,691,750,676,767,832,1254,1292,874,633,1066,1302,1142,1106,990,836,760,943,1300,1600,1336,1152,949,951,1162,1088,1278,1466,1222,1262,1074,1010,1300,1184,1126,1072,1450,1498,1736,1488,1456,1274,867,994,1304,1216,1262,1358,1232,1036,885,885,755,1068,1136,943,993,761,666,844,895,1158,946,807,788,937,933,686,679,877,1002,857,600,609,512,425,484,454,479,453,373,388,989,1210,1014,1036,1066,1126,1013,1036,1012,835,484,311,444,861,576,317,318,325,338,352,350,368,672,1246,1174,613,482,751,822,669,529,623,713,508,399,304,360,528,747,711,653,617,656,683,759,1114,1188,1328,1492,1168,886,1544,1750,1500,1606,1336,618,469,449,492,453,383,451,470,549,794,1262,999,930,1468,1792,1490,1332,1454,1422,1294,1284,1428,1620,1604,1684,1766,1854,1732,1416,1566,1968,1960,1874,1406,855,707,717,807,1164,1074,1158,1300,888,584,634,770,948,1300,1346,1526,1668,895,744,737,498,675,716,619,931,1152,908,527,527,716,1274,1296,882,542,659,598,583,840,908,1000,1017,1028,1284,1412,1562,1272,918,1258,958,957,957,882,791,455,460,681,710,515,484,325,359,371,359,355,466,384,298,348,697,1060,1140,1150,1044,1180,1042,552,456,601,765,927,1288,1316,1236,1180,1070,988,956,807,1024,1136,1312,1274,1170,1050,772,684,858,754,616,639,1062,1202,951,1114,787,688,894,1078,1038,1064,1172,980,715,865,1114,1064,1082,944,1398,1166,894,1082,1112,1104,984,893,986,1044,861,984,1021,803,1046,681,369,351,459,522,614,738,1018,1074,988,1038,1220,1278,1268,1366,1314,1098,1102,910,943,1290,1356,962,697,1021,1192,1188,1190,1126,1436,1216,1214,1154,1194,1266,1196,1106,1114,1182,1256,1222,1268,1246,1266,1346,1288,1178,885,803,953,1058,839,775,482,428,430,570,642,743,962,1114,1244,1094,1162,1194,1060,921,934,1558,1460,1120,1130,774,794,1218,1120,1218,1076,1152,1188,1306,1036,576,678,1162,1202,1052,1110,1232,1366,1166,953,742,897,1184,1172,962,659,733,934,974,1016,1084,1350,1202,1260,1510,1350,1124,997,1164,1174,1116,1003,1088,1274,1198,1082,974,1096,1058,1252,1212,1266,1536,1472,1068,1112,1232,955,951,1242,1344,1350,1196,1528,1306,1100,844,817,1088,1292,1256,1260,995,941,1260,1538,1272,1158,1148,1296,1316,1398,1484,1426,1294,1166,1410,1588,1590,1654,1704,1714,1754,1642,1556,1496,1390,1278,1284,1346,1470,1288,1332,1312,1224,1072,1058,1022,1084,1158,1218,1086,849,1018,1248,1210,1086,1020,1064,1182,1438,1696,1816,1602,974,394,425,451,485,747,948,818,733,961,1234,1250,1342,1362,1334,1324,1188,972,709,437,724,724,775,951,1130,1032,670,844,1266,1292,1220,1214,1046,1086,1128,1130,1380,1366,1378,1914,1858,1376,1278,1034,849,871,442,583,741,1004,1172,997,1062,1096,588,315,383,422,527,902,1044,813,951,1244,1326,1188,1480,1328,1222,1022,1122,1116,836,641,745,1228,1402,1356,1540,1276,1338,1310,1152,1080,1224,1866,2434,1740,1246,1082,854,672,685,732,641,815,846,1138,1332,1070,640,609,895,954,904,1036,1160,1260,928,642,613,784,623,505,725,952,1146,1122,1122,899,933,1001,1084,943,805,969,944,865,1018,1128,1144,1048,1136,1228,931,1184,976,1340,1466,1284,1642,1548,910,1130,1158,1030,897,572,603,594,672,728,1164,1158,998,1312,1382,1272,1080,864,1294,1650,1354,825,520,488,814,1246,1462,1378,1034,693,754,625,659,906,1376,1316,1300,1224,1324,1366,1322,1548,1600,1480,1566,1242,1324,1370,1396,1206,1248,1698,1620,1416,1440,1172,1240,1874,1836,1442,1414,1428,1314,1392,1278,1338,1502,1460,1348,1338,1456,1544,1580,1356,1450,1226,1154,1224,1328,1278,1224,1494,1528,1542,1574,1364,841,844,1076,1056,1470,1398,1256,1060,1234,1342,1362,1448,1202,903,719,667,845,1178,1244,1330,1496,1948,2278,2108,1282,505,1276,2004,1454,1510,1758,1318,1130,635,1252,1886,1342,808,733,826,888,722,558,789,1412,1534,1424,1468,1456,1654,1726,1670,1368,1232,1326,1021,957,1356,1334,1322,1294,1282,1300,1226,1244,1172,1156,1292,1366,1340,1366,1386,1472,1376,1320,1252,1170,905,574,341,260,341,458,592,571,996,1440,1402,1620,1600,1576,1454,1342,1346,1538,1728,1870,1700,1566,1250,857,560,536,512,694,759,830,890,683,524,715,752,865,806,700,1090,1300,859,510,551,783,1154,1062,766,926,816,653,461,480,785,1016,1052,642,863,1282,1352,1450,1372,1250,1226,1088,937,848,1060,970,830,755,891,752,686,1014,987,974,1040,1296,1538,740,600,973,918,624,833,1042,927,880,1196,1278,1402,1208,633,546,743,781,633,921,1072,1124,1166,1476,1842,1468,675,480,508,880,1178,1266,959,730,790,795,713,1094,1564,1740,1388,1238,1302,1096,1222,1302,1234,993,708,621,679,679,695,1098,1256,1048,990,1114,552,386,822,1126,905,1056,1152,599,509,808,979,903,747,824,547,498,897,1142,833,794,837,526,827,899,1144,1186,759,733,1164,1384,1430,1372,1224,1770,2974,2884,1774,1658,1318,753,778,1130,1288,1304,1474,1478,1242,1420,1688,1620,1754,1858,1322,1032,1206,1466,1698,1704,1456,1014,1252,1188,1050,1236,1158,1074,1302,1562,1498,1460,1072,1244,1274,1310,1580,1582,1344,1080,1140,1400,1720,2200,1832,2196,2002,1042,870,980,1102,1354,1914,1864,1600,1344,874,1078,1280,1784,1822,1286,1278,1106,948,1062,1050,849,621,1026,1458,2166,1632,582,564,941,1058,1182,1268,1362,1520,1606,1500,1548,1344,910,866,1216,1084,1268,1388,1074,1066,1142,962,830,871,770,722,694,643,872,1090,1226,1186,946,709,631,775,1070,1144,1002,1001,1384,1486,1330,1184,1260,1196,1472,1528,1290,1144,1116,899,684,833,1114,1316,1162,1480,1864,1698,1472,1316,1278,1250,1170,1108,1034,1098,938,810,1352,1356,1332,1226,1426,1268,1142,1172,1132,1128,1162,1178,1158,1344,1390,1352,1316,1342,1390,1436,1500,1570,1376,908,786,1084,1230,1356,1360,1432,1494,1272,1236,1490,1350,1230,1282,1082,1250,1516,1508,1418,1384,1084,1164,1630,1150,890,1048,1130,1184,1314,1476,1456,1328,1246,1116,1046,1122,1042,1030,1328,1550,1400,1322,1454,1538,1238,1058,1252,1212,1090,1290,1470,1406,1202,1146,1220,1346,1182,1118,1072,1122,1192,1220,1200,1348,1492,1316,1168,1192,1224,1332,1498,1604,1360,1334,1196,1190,1150,1088,994,993,864,663,647,708,1002,1002,904,1136,1220,778,514,459,427,569,624,755,1242,1504,1460,1616,1340,1156,1180,1498,1542,1528,1396,1214,1180,1112,1118,1190,987,937,752,960,1260,1348,1480,1706,1672,1334,861,815,997,1056,1020,863,939,1148,1060,1056,1108,749,741,1152,1368,1362,1308,943,949,1186,1600,1694,986,878,925,848,937,1252,1376,1416,1328,1320,1314,1354,1082,892,857,529,579,913,929,987,935,782,1100,1322,896,474,383,542,854,909,883,807,788,687,1322,1378,937,1004,1024,1028,779,908,1200,1252,1198,1166,1024,1021,936,1236,1612,1530,1374,1286,1434,1390,1386,1376,1184,1608,1682,1556,1700,1716,1516,1266,1048,941,901,1064,1112,866,749,829,1072,1312,1296,1524,1716,1438,1148,1228,1282,1306,1154,1182,1022,1100,1192,1166,806,606,538,510,505,458,432,482,514,562,641,586,913,1158,1254,1516,1450,1240,1216,1272,1444,1516,1350,985,863,1023,830,706,1040,1066,1004,1086,1250,1516,1500,1028,1001,1268,1278,1104,675,880,1124,1140,1270,1182,788,743,808,1004,1124,1244,1418,1632,1726,1782,1790,1720,1654,1516,1226,1394,1616,1618,1500,1188,1098,1130,970,1086,1080,679,585,564,417,410,426,445,725,883,1084,1304,1460,1256,726,675,827,1180,1500,1422,1320,1224,1566,1632,1278,711,557,833,1194,1272,860,879,1230,1166,1064,1122,903,469,916,1003,982,741,742,1044,901,888,933,639,622,573,724,1007,868,555,380,319,566,816,1202,1548,1024,1196,848,575,630,918,1068,944,915,944,683,523,714,670,708,1174,1422,1272,1142,978,770,582,543,458,530,619,796,982,670,928,1118,1384,1746,1860,1760,1832,1654,916,521,498,473,662,880,628,811,1021,996,756,785,730,1050,1426,1086,662,625,720,585,943,1208,941,819,1062,849,601,583,940,857,428,640,906,971,902,516,418,900,1094,894,809,1009,1138,1626,1642,1200,1254,1528,1734,1346,1170,1338,1390,1260,1176,1110,681,549,940,1282,1126,1080,1230,1152,807,1158,1288,1350,1332,1138,987,935,1264,1280,966,1001,1372,1340,932,1216,922,891,976,1058,1013,1188,952,775,1296,1340,1312,1360,1340,1470,1410,1302,1196,1418,1630,1470,1120,747,665,651,726,1034,1350,1240,1266,1108,1100,1162,1092,1250,1328,818,778,1078,1058,824,998,1288,916,756,909,764,753,1272,1478,1194,1172,1002,910,1166,1074,1338,1418,1480,1542,1416,1196,965,1188,1444,1362,1218,1046,1038,1304,1198,1546,1810,1478,1276,1474,1452,1664,1692,1450],[569,816,985,939,914,1014,1110,963,788,871,898,1378,1410,925,606,771,916,1094,1044,758,982,735,989,1598,1560,1302,987,775,932,1142,1070,1146,1178,1286,1354,1070,1003,1050,1206,1324,1760,1980,1728,1240,999,1288,1152,740,888,1312,1180,1384,1394,1284,1106,954,689,793,1656,1760,962,1144,703,614,855,966,1246,1092,754,497,563,650,675,753,1036,1114,1190,807,620,579,751,1102,645,369,398,428,484,888,1242,999,1016,1314,1468,1154,1136,938,642,474,352,345,298,255,277,296,364,458,472,344,351,594,1028,919,547,504,716,850,1036,1174,713,421,474,543,388,317,414,548,550,465,488,677,673,646,852,942,1196,1172,1376,830,1278,1496,1416,1722,1372,655,550,606,575,522,461,517,596,974,1144,1394,1278,1376,1628,1844,1714,1452,1558,1620,1652,1544,1532,1692,1922,1766,1936,1930,1694,1698,1824,1958,1968,1882,1336,803,696,804,705,844,1086,1338,1498,1116,608,589,644,883,1398,1384,1522,1442,819,875,883,669,881,712,556,879,919,880,931,1092,1264,1686,1418,904,654,687,509,493,705,767,872,1182,1116,1188,1324,1412,1188,976,953,615,1001,1412,1282,869,512,585,980,1066,759,560,440,540,526,452,371,309,272,356,490,735,1044,1182,1230,1002,759,603,458,672,952,1004,960,858,789,765,1054,1134,914,1020,879,1092,1182,1304,1256,1112,1078,822,381,303,338,505,594,1334,1218,973,1086,1058,1044,1106,1166,1232,1200,1174,1062,856,626,896,1290,1762,946,1120,1446,1142,870,1024,1015,659,962,1052,1190,1246,1074,884,980,884,526,422,760,1010,1023,1032,1003,980,837,828,996,1234,1622,1482,1460,1216,861,1007,961,832,1024,1164,1164,1046,1256,1286,1074,1005,1078,1032,1108,1106,1014,1112,1220,1322,1210,1368,1468,1096,978,1208,1106,1248,1506,1488,1048,924,659,728,473,340,345,356,473,520,477,577,771,1196,1178,977,843,1118,1162,833,588,833,1318,1252,1200,1184,1036,1148,1460,1172,1028,761,926,1152,1236,939,601,774,1152,1070,800,907,1122,1038,1036,667,494,866,1210,1170,1102,1200,1386,1430,1150,953,1274,1384,1188,1204,1466,1296,1044,1054,1048,1011,973,1026,1158,1252,1266,1172,882,955,1174,1402,1406,1238,1380,1598,1156,988,1228,1274,1270,1072,1274,1622,1470,1616,1456,1234,1021,761,1060,1688,1296,1290,1022,1118,1338,1794,1488,1310,1274,1320,1470,1638,1742,1590,1484,1470,1626,1666,1682,1672,1596,1490,1360,1348,1268,1220,1294,1268,1220,1162,1340,1138,1180,1164,1034,1150,1374,1230,1236,1246,1182,1088,886,1086,1328,1172,852,918,1068,1416,1730,1848,1722,1790,1250,397,460,430,415,719,1106,948,655,836,1238,1270,1246,1138,976,998,900,752,625,468,618,841,916,1012,813,519,672,878,861,979,976,986,869,1228,1592,1440,1362,1296,1290,1470,1174,872,1174,769,507,476,565,604,788,801,695,780,816,634,411,440,449,540,645,1136,1138,762,809,1370,1692,1414,1118,1212,1226,1144,1296,1160,1010,963,747,968,1222,1136,1178,1242,1188,1062,976,909,1078,1724,2580,1884,1226,718,565,569,847,938,678,484,620,1018,1278,986,669,591,734,694,823,966,1116,1224,1220,824,541,672,707,694,695,531,615,692,983,996,971,1068,984,910,1038,1242,1202,1164,1518,1308,1166,1098,1124,1182,891,917,955,1328,1460,1204,1632,1920,1270,1256,1020,738,812,803,924,799,861,1038,1224,1248,969,1192,1324,1312,1230,1030,1482,1548,1274,929,698,937,1208,1418,1732,1706,1474,1564,1676,1090,984,841,991,1312,1322,1152,1332,1560,1502,1442,1522,1262,1176,1146,1182,1246,1268,1150,1166,1460,1624,1482,1338,1196,1170,1334,1330,1338,1636,1458,1324,1436,1224,1164,1306,1406,1218,1352,1690,1606,1562,1096,1208,1102,1122,1262,1224,824,959,1240,991,1126,1512,1732,1470,1440,1166,1362,1190,972,1300,1558,1404,1244,1256,1278,1316,1478,1086,772,808,892,1060,1192,1376,1460,1686,1996,1744,1236,1676,1520,1128,889,1638,2266,2156,1462,1404,1648,1312,849,880,741,1001,1052,679,505,511,821,1246,1406,1418,1514,1584,1498,1266,1480,1500,1252,1184,1282,1160,1222,1196,1230,1278,1240,1188,1086,1142,1236,1284,1382,1478,1342,1368,1368,1402,1288,1001,673,436,366,323,395,584,536,372,794,1068,1378,1346,1380,1442,1446,1704,1848,1918,1886,2008,1670,1386,941,899,918,717,533,682,1052,1064,955,977,948,717,745,1126,1220,921,1168,1104,763,1086,1660,1730,1704,1378,843,938,813,538,314,340,540,662,631,511,935,1448,1616,1412,1246,1168,1116,1003,883,843,917,1014,1054,811,435,461,747,963,936,1012,895,975,1242,968,538,484,505,431,640,806,735,1152,1630,1498,1484,1506,1108,884,798,698,736,866,966,1172,1108,1366,1522,999,358,355,568,890,1092,1372,1142,541,537,798,689,927,1228,1200,1000,1048,1150,1256,1222,1078,913,728,696,715,644,540,515,1100,1152,1204,1262,910,412,388,555,695,697,793,743,405,263,437,391,294,424,440,390,541,811,1146,1082,893,754,495,849,905,1028,993,623,675,968,1220,1384,1384,1384,1772,2590,2806,1590,1015,791,620,1003,1196,1296,1476,1820,1764,1436,1866,2106,1736,1220,1394,1192,1146,1566,1500,1380,1610,1508,1340,1434,1210,1044,1166,1064,1250,1476,1444,1558,1514,1508,1732,1508,983,847,1044,1246,1478,1548,1542,1688,1794,1816,2798,1870,942,815,800,919,1174,1344,1320,1432,1448,996,1009,1338,1666,1584,1152,1176,999,958,1068,1192,1182,925,1338,1318,1640,1478,787,952,1590,1592,1330,1466,1534,1380,1390,1400,1332,1348,1052,1048,1498,1372,1370,1326,1112,1068,1184,1334,1260,1036,787,704,620,505,529,731,749,664,519,596,730,800,1096,1174,982,1036,1448,1576,1470,1252,1134,1150,1304,1390,1448,1354,1092,820,644,720,895,1214,1330,1842,2214,2314,2098,1722,1464,1334,1276,1436,1162,1340,1474,1398,1458,1414,1262,1350,1326,1136,1142,1150,1094,1126,1154,991,1226,1444,1434,1302,1096,1126,1336,1444,1526,1452,1180,781,626,1150,1298,1290,1230,1216,1378,1338,1280,1180,1214,1432,1084,958,1250,1528,1536,1360,1362,1212,1306,1564,1414,1260,1200,1134,1056,1258,1416,1404,1022,1086,1078,948,957,1020,1060,1316,1434,1352,1526,1488,1498,1190,1310,2906,2154,1260,1284,1262,1174,1208,1146,1050,1070,1170,1198,1100,1028,1592,1546,1238,1316,1360,1106,1020,1036,1046,1078,1302,1422,1180,1148,1080,1100,1094,1250,1088,1000,1256,1130,822,954,690,750,1182,1234,810,505,438,417,519,671,758,1003,1372,1490,1250,1242,1166,1144,1528,1750,1402,1216,1334,1280,1134,1186,1178,1254,1156,1104,894,996,1162,964,996,1334,1600,1506,1392,1418,1244,1114,1058,586,754,1122,833,752,1060,1012,967,1368,1544,1552,1232,965,948,1272,1694,1676,1132,976,943,910,1072,1158,1372,1444,1152,960,1136,1048,1136,939,739,536,755,1013,976,989,1126,1100,1234,1164,1060,654,534,926,1318,1296,1184,1066,818,786,1174,1306,1090,1166,1132,1024,977,870,1036,1220,1108,1108,1250,1260,1270,1328,1170,1204,1246,937,1118,1042,1224,850,1007,1602,1642,1538,1498,1626,1694,1476,1154,1048,1058,847,1024,1110,987,1013,1142,1184,1288,1362,1508,1236,1104,1146,1340,1534,1238,1034,1100,1092,1158,1310,1332,1092,779,586,507,491,438,538,592,683,673,532,540,639,936,1246,1166,1136,1052,1238,1406,1422,963,624,908,1194,727,618,952,926,644,760,1350,1384,957,897,973,1112,1574,1456,793,502,724,809,777,854,761,529,508,582,995,1302,1510,1648,1730,1734,1698,1652,1616,1464,1294,1648,1442,1234,1454,1426,1242,1134,1152,1320,1013,692,749,832,822,566,445,517,968,754,620,706,1034,990,883,978,879,1320,1698,1316,872,1096,1118,1162,1514,1242,969,997,1166,1019,1098,1216,1254,1186,1007,1104,788,660,1056,933,767,622,559,798,832,737,498,353,564,839,1070,1134,1138,749,406,393,485,872,1078,790,463,766,473,378,601,849,1092,1168,988,727,495,526,880,838,692,1032,1013,752,580,510,429,391,422,390,397,378,433,502,586,696,1174,1508,1664,1658,1290,969,727,647,681,684,641,533,372,301,440,1056,1286,926,680,682,899,1024,1162,980,581,695,871,1130,1424,992,842,1100,1202,889,547,739,710,434,432,639,1026,796,590,581,938,1308,1040,1108,1382,1382,1114,1054,827,946,1444,1708,1652,1422,1328,1304,1330,999,602,424,479,846,1298,990,910,1340,1418,1038,1086,1106,1264,1224,1140,1168,1042,1242,1224,1134,1196,1354,1366,885,703,577,799,1240,1298,1322,1506,1190,1050,1350,1458,1454,1458,1560,1486,1432,1440,1316,1372,1300,1194,1082,766,477,466,492,693,1248,1444,1232,931,874,1172,1310,1226,887,543,729,1124,1262,894,913,1188,967,897,1256,1164,783,1034,1454,1050,1160,1188,1682,1604,1454,1396,1404,1550,1506,1388,1118,927,1110,1200,1042,1166,1124,1288,1322,1514,1722,1416,1030,1284,1464,1432,1672,1780,1758],[1142,1270,1664,1358,824,912,1038,835,913,1144,1180,1126,1274,1306,1164,1078,991,1094,1040,1070,1184,794,713,1320,1386,1142,850,700,904,982,1166,1010,940,1124,1260,853,780,1198,1432,1370,1486,1558,1652,1242,1074,831,960,758,1007,1208,869,1222,1410,1204,963,866,1012,1194,1410,1398,919,1130,650,772,846,876,1174,1346,1005,582,614,828,894,955,1152,1070,1102,764,792,844,834,1050,780,561,653,772,872,944,924,774,937,1266,1376,1021,571,415,548,562,546,563,501,399,307,356,432,577,546,415,428,407,433,433,500,899,1122,1186,1250,1338,878,816,873,888,660,489,426,484,584,638,717,720,529,458,1028,1122,1226,1086,1456,1318,1340,1544,1716,1792,1476,601,453,496,559,658,622,614,867,1222,1248,1310,1404,1468,1556,1842,1938,1752,1766,1772,1818,1814,1838,1852,1792,1222,1184,1714,1554,1506,1532,1656,1664,1656,1506,1088,1038,1126,1278,1318,1210,1340,1450,1166,865,852,876,1310,1624,1542,1422,956,624,991,1004,716,838,716,651,796,633,1072,879,1096,1464,1812,1672,1274,1036,943,572,515,871,997,957,1068,1110,1278,1332,1312,917,777,761,751,1126,1224,830,594,460,619,847,883,713,604,665,908,1208,1218,879,561,452,398,630,899,877,962,869,551,502,610,496,640,1086,1288,1050,565,831,747,828,1122,1732,1582,1001,760,985,1172,1046,1040,884,539,296,256,355,463,480,1001,1030,972,1078,1086,1132,1114,1128,1214,828,966,1092,678,355,654,1122,1472,1236,1286,1402,1290,818,1188,874,663,861,680,797,1056,1176,1394,1402,1074,557,429,724,978,949,884,988,1060,965,776,831,1238,1462,1278,1220,1100,921,941,977,921,1246,1464,1440,1224,1034,998,949,1204,1252,1106,1346,1102,1054,1108,1076,1076,916,1023,953,937,1456,1570,1118,1346,1190,1294,742,499,799,838,617,647,454,436,816,923,626,925,983,1202,1172,978,894,970,735,578,792,1030,1296,1384,1164,1054,939,1194,1316,1076,901,683,734,1001,980,681,569,821,1058,1108,949,1048,1088,1026,1048,1102,1003,1108,1398,1276,1358,1862,1916,1592,1370,1154,1332,1760,1984,1762,1422,1174,1128,980,1070,1290,1268,1524,1480,1616,1576,1346,1182,1080,1210,1268,1128,828,992,1626,1140,760,1068,1368,1282,1044,1036,1184,1290,1216,1154,1208,1230,899,1120,1478,1194,1478,1246,1166,1352,1534,1456,1384,1220,1294,1568,1730,1756,1702,1698,1752,1642,1450,1364,1372,1396,1096,918,1194,1256,1368,1370,1514,1470,1064,1082,1060,1100,1064,1066,1636,1842,1320,1332,1356,1160,1288,1180,1186,1248,901,713,953,1206,1420,1896,1816,1034,924,821,395,415,384,451,788,1150,1240,849,812,1244,1324,1382,1078,1040,1023,789,623,747,716,855,1270,1444,1396,1122,692,589,645,621,713,974,1256,1092,1388,1542,1278,1124,1168,1174,1192,951,914,1578,1164,1084,954,1216,979,783,709,861,1072,874,567,776,1019,818,685,676,1310,1244,882,656,916,1404,1180,751,803,905,1058,1196,1062,929,1240,902,991,1028,960,1114,1214,1070,967,812,655,937,1296,1648,1160,778,830,1038,1058,957,834,621,502,539,826,1180,988,669,585,724,791,853,959,1168,1500,1378,1016,604,655,825,857,594,430,397,518,1472,1420,1032,1078,988,1066,1066,1152,1126,1009,1506,1056,996,932,892,893,895,1038,1288,1534,1396,1126,1372,1592,1248,1106,976,969,1144,1220,1268,1034,1134,1396,1294,1358,1026,1100,1330,1386,1224,1118,1536,1370,1224,1014,750,1246,1682,1570,1614,1618,1494,1656,1362,991,1074,921,1056,1318,1194,1190,1564,1466,1182,1152,1312,1100,1064,1023,1096,1240,1396,1302,1064,1152,1692,1154,1098,1168,1652,1498,1260,1194,1376,1304,1382,1332,1108,1148,1234,1348,1192,1282,1584,1418,1378,1017,991,1256,1362,1206,947,763,1011,1158,722,1482,1644,1472,1434,1590,1722,1604,1134,595,637,1130,1474,1240,1358,1544,1296,1288,1288,1054,1032,1082,794,794,1170,1368,1444,1844,2062,1766,2024,1650,1166,839,1506,1748,1464,1726,1962,1750,1260,712,669,758,1010,1074,703,568,562,457,583,945,1344,1356,1270,1344,1366,1644,1490,1218,1178,1266,1094,1154,1238,1268,1272,1278,1094,1262,1232,1246,1352,1342,1440,1274,1226,1346,1626,1576,1144,800,412,417,534,647,602,423,505,946,1120,1622,1648,1340,1340,1438,1572,1610,1798,1776,1708,1522,974,630,703,773,713,667,915,1042,816,883,822,871,893,1174,1308,1009,1220,1416,959,816,1148,1550,1496,1554,1442,645,478,566,507,320,410,739,1060,1334,1196,992,901,1236,1338,1474,1224,1030,1104,1050,1090,1106,930,948,1058,839,726,926,725,1060,1150,1090,1450,1764,1480,779,418,452,523,444,517,640,772,982,1434,1738,1808,1650,1282,1248,1422,1238,667,579,759,641,548,557,491,286,999,1942,2130,2010,1388,937,666,745,832,827,608,581,719,898,888,921,891,757,688,685,750,651,612,577,605,387,458,494,701,828,572,367,339,324,248,290,319,389,463,345,469,415,322,255,416,555,465,537,675,728,639,634,694,871,1042,993,953,979,808,925,1318,1348,1346,1516,1512,1604,1798,1168,892,877,1019,1188,1214,1076,1248,1678,1960,1420,1608,1868,1566,1370,1620,1404,1540,1738,1220,1124,1360,1460,1472,1474,1358,1042,1244,1236,1316,1460,1310,1200,1340,1632,1756,1504,1348,1090,917,935,1410,1572,1722,1610,1614,1510,1382,1010,802,836,1064,1316,1356,1260,1394,1600,1730,1138,1011,1368,1730,1396,1186,1190,928,1036,1126,1308,1172,1242,1444,1432,1502,1656,1158,1156,1434,1456,1378,1696,1810,1576,1406,1168,1178,1252,1354,1476,1710,1470,1146,1168,1314,1498,1520,1554,1492,1482,1206,938,658,486,545,595,579,546,567,618,638,537,745,912,1009,1028,1300,1428,1400,1334,1194,1012,976,1164,1420,1432,1206,965,749,646,657,774,1026,1526,2148,2518,2290,1838,1474,1634,1472,1486,1516,1292,1144,1292,1664,1370,952,1244,1498,1364,1238,1166,1056,995,1126,1200,1414,1406,1348,1128,1072,1262,1130,1160,1590,1632,1250,987,789,1206,1326,1376,1376,1406,1290,1310,1272,1116,1172,1298,1052,1134,1370,1708,1606,1400,1292,1108,1100,1160,1080,1194,1092,985,1072,1198,1552,1566,1234,1076,908,797,963,1230,1348,1364,1340,1410,1352,1116,1344,1196,1182,1610,1342,1116,1082,1124,1304,1278,1196,1068,1046,1332,1274,1130,1064,1110,1064,1112,1200,1236,1054,1014,984,1007,1102,1086,1248,1376,1226,1094,1208,1180,1158,1112,1412,1886,1946,1236,883,735,1086,1202,859,566,505,415,490,655,757,1068,1482,1588,1576,1230,1198,1158,1208,1408,1470,1228,1062,1216,1188,1228,1226,1198,1216,1234,1172,908,916,741,628,935,1270,1378,1052,1270,1312,1286,1090,866,725,1032,1216,1128,1112,1120,998,1108,1584,1422,1516,1552,1332,1070,1250,1416,1450,1440,1200,1005,1192,1224,1094,1056,1076,876,706,963,1052,1256,1122,776,673,987,1150,1074,877,1044,1096,1290,982,810,654,923,992,818,980,1090,1038,961,1066,1260,1290,1102,1066,1248,1232,1266,1200,1202,1288,1170,1214,1312,1208,1078,1021,927,1050,772,669,863,855,847,768,959,1168,1334,1248,1222,1094,1528,1658,1246,869,817,974,1296,1268,1042,1302,1248,852,1238,1298,1240,1130,1236,1246,1362,1388,1202,1004,1026,1226,1260,1284,1346,1110,698,841,580,454,414,518,657,679,575,481,489,546,695,880,965,883,1084,1386,1454,1528,1368,1100,1212,1194,692,538,689,991,1172,1358,1574,1366,1276,1238,800,836,1344,1368,1020,781,800,697,744,1286,1334,839,722,762,946,1356,1634,1680,1702,1616,1638,1698,1662,1288,1400,1230,736,760,1104,1170,1258,1396,1140,1028,715,630,641,728,904,624,529,810,962,1064,987,812,879,844,1080,1332,1200,1176,1296,1118,1082,1366,1230,1172,1288,1410,1384,1296,1362,861,772,910,878,820,1230,1124,578,543,633,583,783,630,636,949,944,730,498,395,666,988,1180,1348,1234,960,530,331,331,562,879,479,359,430,464,478,433,607,919,914,762,697,503,783,773,856,675,688,586,461,504,507,433,488,488,389,496,499,406,382,469,550,1022,1478,1620,1232,828,1024,1062,944,744,836,1120,724,344,346,321,553,896,991,849,1438,1494,910,1090,1042,883,959,1262,1216,1132,971,908,895,1013,1178,797,405,429,437,412,706,994,1114,1188,1084,1260,1444,1268,1116,1394,1454,798,741,904,987,1246,1412,1622,1544,1240,1188,1004,682,805,924,1122,1498,1802,1390,1170,1240,1238,1260,1190,1072,1302,1188,1216,1322,1210,1250,1104,1096,1092,1412,1516,1094,828,781,897,1124,1032,1312,1556,1404,1270,1306,1436,1406,1412,1384,1470,1606,1450,1126,1064,821,853,874,911,638,515,509,483,911,1384,1110,655,935,1202,1260,1446,1290,1188,1003,1304,1454,1390,1168,1108,1168,1272,1494,1320,868,836,1248,1294,1418,1330,1490,1572,1476,1368,1490,1604,1456,1152,1042,1180,1216,1096,1052,1214,1312,1422,1482,1422,1174,691,588,846,1208,1332,1442,1412,1632],[942,1272,1880,1288,828,890,1074,1104,1222,1108,870,935,1256,1598,1372,1114,1224,1230,1166,1150,1402,1044,644,1005,1040,891,1048,1148,1556,1108,1096,667,877,1080,1092,792,825,1170,1142,1056,919,1032,1294,1358,1650,1378,1174,739,843,1086,924,1072,1326,1272,1096,821,828,982,1174,991,820,801,722,786,893,1170,1338,1236,1044,764,1058,1114,924,942,1084,1021,800,586,606,637,790,808,521,547,630,625,661,772,675,962,932,568,711,665,443,623,812,619,610,624,642,497,354,365,341,558,778,614,467,457,364,403,861,1760,1608,1456,1376,1872,1164,1034,802,536,802,868,477,430,556,703,812,1050,912,703,899,996,1042,1230,1546,1642,1712,1844,1984,1960,1568,719,492,417,538,543,528,515,937,1342,1462,1682,1780,1744,1836,1864,1662,1520,1468,1426,1402,1432,1592,1496,1360,952,808,1378,1310,996,1032,1442,1316,1434,1442,833,692,1122,1258,1294,1310,1258,1290,1358,1534,1478,1364,1530,1682,1714,1334,943,944,1056,860,747,831,841,768,797,675,1146,948,947,1576,2054,1976,1322,900,1138,1008,1246,1896,1246,1126,1144,1320,1350,1194,1246,807,343,597,1102,1324,1078,845,843,1017,1174,1170,1046,800,855,999,1030,1240,1600,1700,1450,907,477,645,670,729,763,747,567,609,729,595,721,1192,1578,1304,509,546,607,731,1170,1584,1176,634,350,741,1282,1162,890,670,483,636,343,296,337,861,1544,1464,1258,1268,1318,1326,1164,1230,1028,560,926,1136,624,478,849,1086,1098,1164,949,1190,1596,1304,1434,1258,934,691,469,546,888,1058,896,945,1110,645,534,731,731,503,628,1076,1538,1272,783,742,1012,1230,1272,1260,1350,1158,826,837,969,1246,1306,1332,1294,1126,969,1104,1428,1388,1070,1282,1246,1154,1202,988,949,1050,1048,982,835,1122,932,913,1090,1314,1390,956,588,674,730,838,974,571,485,720,724,674,738,858,1072,1174,1110,1228,1330,830,830,1072,1170,1342,1444,922,700,788,1114,1300,1178,943,739,875,1102,910,633,501,1098,1110,1242,1158,993,967,1100,1328,1400,1344,1230,1176,1356,1482,1802,1534,1126,1090,957,1382,2152,2602,2584,1742,1132,1350,1044,875,1134,1158,1410,1390,1610,1738,1600,1356,1206,1120,880,986,806,773,1256,1078,841,937,1194,1222,1094,907,1132,1290,1138,1220,1188,1082,1078,1086,1078,1024,1422,1362,1232,1342,1450,1454,1414,1472,1648,1642,1534,1500,1478,1310,1234,1116,1020,1064,1274,1452,1246,885,1058,1230,1378,1266,1510,1302,811,748,930,1012,989,1076,1240,1318,1144,1216,1276,1060,1164,1102,956,841,877,963,926,1188,1350,1654,1750,1084,913,783,460,401,620,890,1110,1272,1170,886,969,1414,1502,1446,1088,1216,1122,960,855,899,922,1080,1260,1286,1310,1162,988,857,827,777,780,903,1376,1440,1200,1204,1166,1206,1412,1296,1372,1122,733,741,1134,930,785,1110,1058,959,1042,1226,1350,1090,659,1118,1336,1240,800,619,1046,1084,1034,1001,843,996,946,1064,960,984,1180,1218,1160,1072,1030,735,832,969,1034,1118,1074,979,1038,1022,968,1204,1224,1184,940,955,1104,1102,955,678,529,422,474,574,728,1084,1114,818,624,850,1030,904,815,1056,1160,967,768,557,549,662,594,493,459,495,486,812,971,1042,885,822,1140,907,953,1080,1170,1296,933,974,940,773,868,1096,1106,1220,1454,1366,987,1154,1204,1044,963,952,1144,1256,1326,1292,1158,1246,1416,1490,1560,1312,1030,1042,1084,1007,1118,1334,1394,1506,1066,624,1094,1638,1698,1500,1556,1620,1668,1318,1170,1204,1480,1698,1276,1023,1182,1350,1250,1240,1288,1292,1128,1030,1172,1406,1454,1346,1240,1160,850,1276,1240,1176,1238,1278,1134,1216,1108,1098,1342,1356,1164,1146,1120,1182,1230,1250,1312,1480,1610,1470,1198,1146,1138,984,916,922,921,1019,1136,791,1328,1562,1366,1038,1536,1884,1798,2090,1808,1456,1674,1848,1458,1814,1708,1404,1288,1268,1214,1162,1294,1302,1242,1010,797,1194,1726,1894,1758,2020,2132,1650,923,776,504,1036,2228,2590,2492,1676,951,894,800,1102,1364,1015,760,581,608,698,534,515,942,1216,1594,1536,1660,1626,1518,1370,1232,1140,1156,1260,1170,1206,1218,1156,1278,1256,1236,1334,1374,1470,1378,1288,1344,1444,1416,1302,1040,489,571,1013,932,512,442,724,1102,1380,1526,1378,1352,1576,1520,1344,1476,1672,1664,1670,1334,923,735,723,726,615,604,1060,1412,1538,1344,821,760,1202,1142,1038,1092,1108,1100,1054,899,1002,1426,1410,1146,778,464,681,900,785,504,445,802,1004,1172,914,630,716,965,794,885,972,1102,1066,853,1012,1178,1256,1264,1042,1162,1202,1028,766,1034,1422,1704,2076,2360,1618,750,545,627,877,719,514,674,711,1206,1610,1698,1866,1686,1352,1240,1340,1252,649,599,669,561,576,637,694,423,1192,2500,2824,2468,1196,963,1028,1068,709,788,543,335,483,750,737,549,413,483,415,702,872,568,415,500,528,354,352,393,404,440,356,285,400,572,483,378,471,747,808,502,518,817,767,410,366,426,505,497,513,705,883,898,1072,1352,1452,1144,1144,1236,1014,1120,1304,1124,979,971,1238,1436,1400,1062,937,991,949,957,929,1048,1082,1052,1808,1330,1334,1480,1212,1242,1534,1534,1572,1356,1054,1026,978,1452,1688,1700,1840,1246,1240,1282,1238,1258,1124,1188,1508,1720,1544,1426,1438,1238,1228,982,1040,1304,1468,1334,1410,1542,1478,1248,1038,895,1144,1254,1312,1802,1964,1688,1162,949,1036,1294,1594,1326,1228,1030,988,1078,1126,1374,1170,1318,1430,1436,1630,1282,999,1372,1254,1412,1498,1804,1630,1512,1144,1032,1082,1162,1124,1130,1470,1516,1310,1102,1162,1394,1568,1546,1574,1578,1640,1514,987,557,532,583,662,521,700,697,515,491,625,656,786,1001,1306,1560,1584,1526,1306,973,955,1062,1194,1360,1350,1204,918,731,596,498,805,1432,1860,1938,1762,1762,1764,1588,1758,1758,1516,1104,1340,1664,1426,1206,1358,1650,1744,1692,1804,1394,1072,1074,1184,1450,1498,1396,1340,1026,1066,1230,1152,1078,1294,1110,990,1158,1240,1252,1236,1236,1366,1600,1270,1202,1146,1090,1230,1230,1038,1132,1182,1498,1586,1268,881,707,743,868,882,1008,1056,1013,1234,1142,1204,1256,907,533,586,918,1011,1184,1296,1426,1512,1252,1098,1136,1028,953,1090,1230,1354,1108,931,1062,1300,1244,1140,880,977,1160,1166,1172,1166,1140,1178,1216,1180,1302,1240,1012,1086,1294,1208,1126,1222,1326,1384,1482,1460,1244,1308,1474,1372,1288,1444,1194,1068,1136,1122,841,568,506,461,503,600,710,948,1322,1578,1366,1328,1274,1098,1084,1138,1238,1386,1158,1136,1270,1274,1562,1316,1218,1382,1452,1224,1066,1094,1150,1288,1272,1238,1438,1728,1498,1344,1156,959,708,774,1198,1328,1476,1224,1114,893,877,1194,988,1090,1578,1638,1454,1326,1142,1102,1110,905,1154,1532,1390,1214,995,892,688,821,931,949,926,913,947,1202,1304,1274,1148,1088,1322,1248,1188,1098,1106,1072,1112,923,495,525,818,1046,1098,1252,1376,1212,1132,1116,1298,1172,1104,1224,1144,1174,1264,1128,1052,1226,1186,1100,918,744,521,770,1044,1066,867,902,1142,1154,1068,977,863,661,1206,1742,1618,1182,728,792,1190,1060,930,1208,1232,1136,1368,1316,1046,1172,1260,1172,1200,1162,1284,1264,1114,943,764,825,912,857,1588,1540,650,425,448,643,741,658,578,609,633,702,695,590,650,637,825,1016,1194,1294,1394,1330,1174,1032,965,1108,1178,1134,1130,1198,1382,1286,1282,1094,713,716,1102,1316,1386,1358,1212,879,706,956,1014,1030,1310,1288,1110,1360,1622,1736,1676,1616,1742,1722,1514,960,830,728,724,851,1172,1278,1230,1302,1438,1302,965,630,645,709,792,900,1040,1042,1146,1446,1342,1190,1242,1184,1362,1240,1084,1096,985,999,1194,1310,1318,1112,943,1098,1092,966,975,983,869,660,631,783,999,741,427,595,954,837,926,1002,999,888,726,1052,1017,600,782,1054,994,852,816,874,447,284,297,522,773,540,427,552,722,579,375,577,1154,977,492,589,857,1222,899,925,788,535,404,445,545,389,328,477,479,396,587,696,483,396,428,471,717,1078,919,518,924,1438,1400,905,720,1238,1786,988,368,374,362,344,578,894,796,1324,1544,1021,850,888,889,911,1166,1252,1082,1120,997,1000,1007,1102,1030,628,453,445,863,949,806,1210,1482,1234,1194,1360,1354,1258,1206,1090,717,625,850,1014,1026,1186,1560,1642,1382,1388,1186,1216,1376,1516,1426,1802,2150,1648,1242,1134,980,1222,1394,1210,1116,983,1188,1162,1194,1064,1028,1180,1226,1170,1128,901,723,929,1074,1142,1122,1324,1412,1350,1468,1532,1450,1566,1458,1230,1240,1412,1360,1024,733,651,613,543,794,794,598,469,423,749,1136,742,406,598,717,960,1246,1282,1238,1040,861,1176,1378,1080,1144,1310,1260,1023,993,996,982,1288,1156,1070,885,1104,1580,1578,1370,1540,1296,1336,991,1032,1084,1136,1136,1130,974,1060,1282,1154,1408,2446,1076,507,431,617,1018,1392,1232,1446],[688,1058,1266,1354,1164,1136,1100,976,1138,1316,1248,1128,1250,1424,1048,899,1116,1224,1278,1170,1118,874,901,1318,1282,1066,1206,1082,1290,1402,1194,913,1158,1358,1282,1040,1016,746,645,728,872,948,944,1228,1914,1836,1088,591,654,1009,1018,1028,1012,1122,1168,781,802,951,1140,1120,1010,820,752,849,886,948,1122,939,663,612,1028,1106,904,833,1023,1001,691,494,567,598,586,553,421,380,499,521,477,631,604,537,417,373,630,938,702,725,1076,700,584,651,694,532,354,475,652,904,1064,848,598,556,471,457,738,1714,1742,1672,1444,1472,1064,630,388,410,563,561,357,396,388,656,1016,1632,1382,1066,1198,1210,1190,1334,1354,1434,1692,1854,1938,2012,1136,586,479,521,722,921,1142,1306,1438,1420,1296,1380,1544,1480,1676,1610,1162,859,779,1106,1494,1494,1414,1700,1496,633,551,1196,1160,796,902,1152,1384,1426,1242,894,883,1158,1246,1364,707,549,774,965,1184,1214,1218,1198,1334,1572,1632,1416,1180,1388,1538,1342,1390,1556,1262,1116,1080,1072,960,1182,1758,2076,1908,1124,892,1302,1604,1766,2604,1732,1268,1374,1502,1290,1166,1258,987,504,746,1156,1450,1232,1090,999,1602,1688,1250,1182,1088,1132,1358,1005,534,799,1310,1588,818,429,483,431,509,881,1066,845,791,802,991,1210,1116,1282,977,523,391,439,690,1108,1360,1316,1166,807,896,1706,1440,1009,485,377,426,321,329,393,813,1238,1214,1194,1302,1298,1266,1146,1456,1164,980,1224,1190,997,974,1102,1232,1182,982,1080,1324,1534,1490,1452,1232,909,901,737,572,697,646,534,1054,1298,764,563,656,912,830,680,1132,1592,1438,1060,793,1090,1130,1246,1146,1130,1005,846,1162,1186,1262,1276,1288,1430,1394,1001,1176,1190,1400,1380,1372,1366,1092,1152,1236,1116,1220,1244,1068,1019,1136,959,744,890,1274,1328,1240,1064,1010,612,626,714,597,594,1044,1160,1058,928,776,784,984,1098,1238,1434,1362,973,1058,1152,1184,1298,888,426,617,1194,1368,1114,1130,908,991,1108,838,585,634,1003,1068,1366,1324,1228,1088,1132,1334,1126,1334,1212,1158,1104,1098,1382,1194,760,591,613,1082,1626,1892,1938,1266,854,1100,1032,835,1116,1172,1294,1338,1410,1396,1364,1302,1198,1092,1220,1114,971,907,1260,1318,1216,1246,1210,1202,1100,948,1454,1650,1396,1512,1270,1070,1350,1226,1190,1450,1664,1526,1504,1504,1578,1584,1408,1094,1274,1426,937,749,974,919,1120,1422,1450,1566,1354,1292,1256,977,1096,1428,1500,1260,1358,1212,871,597,728,968,1182,1176,1382,1314,1092,1670,1670,1086,1262,1500,1440,1098,1062,1062,1036,1138,1318,1236,1554,1146,1090,1260,891,529,678,1044,1212,1100,925,974,1156,1450,1484,1410,1180,969,879,929,951,850,858,1184,1300,1144,1176,1252,1186,1007,806,814,1074,1158,1364,1218,957,1106,1342,1400,1548,1400,1032,742,678,791,969,730,548,690,791,897,1052,1032,1032,858,742,966,1086,1188,1046,1034,1182,1222,1454,1306,846,1100,1038,1200,1244,1072,1212,1344,1306,1136,915,841,933,1080,1074,1068,996,988,1090,1200,1202,1282,1258,1142,1078,1132,1058,1050,955,656,510,393,419,812,944,1122,1228,1052,680,673,796,886,818,627,432,587,790,703,668,746,715,718,775,763,780,868,684,971,580,803,1236,943,1020,1168,1258,1116,1030,1108,1102,926,802,922,979,962,1088,1400,1188,1260,1246,1214,1134,1188,1234,1188,999,882,1116,1372,1788,1792,1594,1328,1001,852,822,841,1030,1300,1494,1532,946,716,1240,1666,1614,1274,1282,1510,1514,1400,1130,1228,1660,1404,1154,1262,1198,1278,1406,1396,1370,1282,1304,1386,1476,1550,1548,1302,1310,1196,1072,1186,1228,1286,1178,969,1036,1248,1294,1188,1408,1496,1224,1260,1428,1536,1366,1356,1284,1210,1210,1158,994,933,983,995,977,853,852,1020,1070,841,1588,2326,1832,1368,1550,1758,1780,2044,2262,2530,2896,2244,1932,2482,2418,2332,1732,1056,1348,1598,1766,1784,1676,1382,859,839,1188,1306,1470,1442,1988,2062,1454,1524,908,1388,1978,2480,2666,2194,2030,1608,849,1094,1356,1048,932,828,1044,1182,948,531,458,639,1110,1528,1536,1516,1478,1382,1260,1266,1430,1412,1126,1312,1488,1560,1346,1412,1392,1346,1368,1434,1476,1276,1262,1316,1244,1226,992,586,524,798,663,380,368,731,1306,1744,1942,1642,1764,1540,1440,1446,1510,1584,1614,1384,1194,1222,788,710,641,737,884,1230,986,1162,1362,1078,1160,1258,845,815,968,1148,1072,905,729,691,745,854,683,564,921,1158,1098,922,618,504,765,749,694,507,518,847,999,647,474,742,1162,1158,930,917,1038,1284,1372,1118,1015,1124,1140,1078,969,1174,1074,937,1112,1072,745,751,737,529,647,620,571,619,1124,1638,1814,1878,1518,1236,885,954,1019,644,596,654,678,799,1094,1314,979,1324,2070,2414,2182,1228,982,1044,1068,647,512,614,536,547,833,693,665,547,741,564,456,491,354,280,339,357,382,366,323,352,436,338,288,442,883,901,515,631,896,892,673,736,1438,1218,481,383,456,561,542,802,1104,976,960,979,830,966,1306,1454,1708,1642,1228,807,616,916,1130,1158,1342,1478,1276,1058,888,817,876,991,1084,540,766,1550,1560,1598,1488,1262,1128,1294,1522,1494,1182,1090,995,1144,1410,1632,1814,2150,1610,1142,1312,1336,1098,1206,1410,1460,1428,1384,1460,1466,1434,1136,968,943,1056,1146,1052,966,811,636,937,990,1074,1070,1144,1230,1816,1994,1756,1256,943,1070,1338,1664,1396,1256,902,984,1072,1354,1484,1314,1494,1506,1470,1528,980,1376,1412,1354,1656,1686,1436,1478,1426,1126,952,1068,1160,958,874,1726,1788,1624,1120,1184,1042,1302,1540,1524,1568,1788,1660,959,575,596,554,669,511,457,496,414,688,1146,1028,756,939,1278,1538,1494,1416,1072,872,987,1050,1028,1104,1362,1432,1216,940,553,671,1268,1830,2020,1932,1758,1698,1758,1542,1624,1548,1308,1374,1592,1602,1466,1520,1640,1578,1630,1538,1704,1544,1346,1266,1544,1682,1512,1440,1450,1154,1248,1344,1376,1240,1078,1078,1282,1336,1338,1262,1278,1306,1230,1542,1390,1190,1086,980,1132,1196,1174,1168,1330,1748,1836,1382,850,664,694,802,732,973,1112,1106,1432,1252,896,875,575,631,1004,1196,1038,1072,1304,1410,1370,958,697,857,812,796,918,981,1210,1312,1011,904,1011,1144,1042,948,1170,1166,1086,1168,1116,1036,948,984,1096,1226,1348,1216,1166,1212,1212,1314,1092,924,1282,1422,1290,1366,1424,1416,1444,1302,1088,993,826,763,738,529,478,472,575,755,716,903,1386,1590,1434,1366,1642,1240,616,899,1376,1402,1396,1214,1286,1256,1214,1562,1452,1242,1334,1396,1216,1252,1338,1470,1394,1348,1546,1546,1816,1536,1302,1072,1000,877,976,1106,1266,1460,1174,852,692,1006,1318,1304,1192,1396,1554,1368,1182,1088,666,873,1080,1206,1390,1376,1378,1196,996,976,1122,1026,802,619,865,859,889,1050,1368,1250,1264,1282,1308,1208,1010,1302,1544,999,963,796,720,902,1190,1302,1344,1180,1166,1152,1024,1220,1186,1074,1316,1184,1094,1282,995,1116,1540,1526,1252,1005,763,581,717,1072,1136,855,1104,1098,1302,1108,713,1023,1094,1228,1438,1634,1556,1164,913,905,877,1196,1132,1232,1362,1466,1282,1144,1290,1038,802,925,1162,1178,755,726,600,800,1180,1188,1494,2922,1932,504,487,632,719,712,706,586,629,619,667,667,516,425,620,872,1076,1136,1166,1264,1260,1154,918,1096,1220,1310,1276,1182,1412,1440,1196,1170,1208,1196,1078,1098,1158,1256,1360,1374,1310,1134,868,708,892,1258,1454,1288,1340,1398,1526,1432,1496,1664,1652,1370,1030,641,660,1011,937,1350,1486,1230,1284,1214,1350,1374,1092,956,1010,1019,987,1180,1210,1130,1326,1448,1478,1272,1404,1430,1414,1374,1256,1012,823,1132,1388,1504,1288,882,620,669,647,583,1156,1196,763,792,980,1140,1072,730,448,587,934,1002,996,688,556,741,1124,1186,1036,1162,1346,1260,675,563,410,292,289,290,531,627,587,623,791,855,619,394,868,1788,1266,780,712,1028,1232,1246,1284,1005,545,325,419,531,387,360,412,406,373,636,738,509,407,422,449,496,828,609,616,964,1236,1382,1216,883,1110,1228,603,409,343,352,442,553,718,702,868,1086,967,772,1078,1482,1080,880,1288,1278,1278,938,915,735,777,1003,921,668,912,1138,907,880,923,1056,1216,921,1156,1324,1356,1284,1336,949,800,1134,1152,698,753,1402,1678,1456,1362,1370,1404,1482,1626,1538,1584,1678,1466,1402,1350,1160,1026,977,930,1016,1094,1064,1009,1184,1198,1288,1418,1316,1078,1026,1204,1278,1462,1412,1534,1376,1450,1622,1444,1516,1556,1520,1440,1382,1258,1086,1154,1374,1296,791,572,495,377,545,742,667,578,486,605,803,671,493,519,879,1398,1378,1114,1114,1022,819,1056,1116,1148,1248,1188,1164,886,977,1170,940,1038,1180,905,901,1316,1388,1476,1230,1382,1102,1230,1376,1310,1274,1070,1096,1338,1100,1092,1192,702,826,1258,1034,698,516,448,850,1158,1240,1438],[1434,1572,1618,1374,1032,1170,1298,1140,1220,1616,1598,1202,1134,843,874,975,966,1036,1005,722,675,819,1266,1296,1134,1236,1368,1056,888,960,1023,1102,1252,1396,1210,1114,1150,747,990,1218,944,698,688,1202,1896,1482,964,769,841,1150,1276,1272,1306,1218,1234,920,711,855,1062,1230,1206,898,974,991,981,1038,1294,727,456,550,840,943,1054,1050,1040,979,727,524,764,638,487,443,556,990,1440,808,390,670,735,556,533,476,532,740,858,1056,1136,658,446,625,705,722,774,887,1164,1352,1312,882,552,474,487,489,500,956,1160,1360,1338,1302,1310,755,291,359,554,965,706,772,718,781,1250,1784,1454,1144,1252,1198,1310,1332,1378,1388,1402,1586,1770,1594,1232,1160,1256,1400,1544,1532,1450,1336,1262,1190,1122,1220,1164,1266,1266,1374,973,626,881,1046,1094,932,1246,2198,1556,524,380,903,761,583,781,1080,1068,893,893,836,475,758,1002,1152,825,983,868,816,1258,1354,1114,1102,1090,1484,1616,1564,1050,921,896,906,1122,1076,938,1356,1542,1474,1678,1724,1866,1986,1990,1512,1100,1420,1594,1562,1844,1546,1566,1910,1562,1352,1506,1366,1300,1178,1112,1218,1412,1188,1078,893,1298,1478,1196,1250,1108,927,1072,975,534,572,1192,1636,1052,500,348,439,680,952,902,825,759,977,1478,1902,1060,522,438,560,662,719,769,843,1196,1150,1108,874,779,1680,1482,909,553,535,697,657,384,410,552,932,1064,1270,1312,1050,947,1334,1488,903,750,1070,1136,1244,1096,993,993,1054,1018,1192,1128,1472,1428,1180,996,965,984,771,549,843,741,598,921,1046,874,791,891,867,607,673,1248,1514,1436,1242,1130,1274,1198,1204,1024,890,938,1270,1486,1368,1080,988,1230,1176,948,1106,1282,917,1246,1232,1146,1074,1202,1524,1396,1108,1206,1116,702,834,1108,869,461,539,752,937,1044,1054,1060,792,725,942,713,488,815,720,582,588,515,692,1172,1360,1326,957,936,881,1212,1282,1212,1011,613,502,749,1108,1262,1196,1312,1090,1140,1256,1212,1038,998,1072,1038,863,1084,1276,1034,1178,1206,1168,1606,1392,1190,1034,904,871,798,683,552,599,926,1200,1136,810,533,847,1314,1318,1278,1332,1306,1350,1456,1338,1312,1656,1514,1472,1386,1224,841,811,853,1072,1238,1310,1242,1044,1144,1154,1008,1252,1460,1374,1606,1356,1328,1670,1762,1678,1786,1874,1710,1616,1582,1292,1006,861,619,872,1494,1198,979,1270,1220,1068,1290,1764,2090,1606,1162,1220,1198,1212,1318,1382,1332,1082,1030,1058,737,607,918,1170,1144,1212,1228,1154,1462,1236,1162,1550,1636,1440,988,736,767,1080,1224,1144,1120,1420,1028,788,1316,1606,1000,535,412,559,752,874,1084,1188,1450,1460,1350,1180,1020,819,853,1128,1140,1074,1098,1186,1152,1114,1252,1250,1112,718,819,1296,1584,1718,1214,1148,1252,1400,1254,1470,1362,1044,971,872,1002,1224,1040,672,787,713,822,709,1034,1006,971,1088,1300,1406,1356,1240,1118,1278,1458,1298,1038,1230,1256,1260,1010,977,1096,1302,1454,1398,1166,814,852,927,1204,1180,904,938,726,702,1078,1356,1230,1090,1098,1080,1134,1190,1168,1208,1330,923,600,515,730,1070,1252,1328,1188,755,601,495,572,798,664,511,520,842,996,1048,1066,983,933,984,749,766,1026,977,1294,811,673,791,1003,1042,1028,1040,1060,1086,1066,1116,1084,607,598,742,706,1088,1396,1286,1122,1154,1306,1286,1160,1166,1238,899,836,979,1260,1430,1548,1574,1538,1438,1300,1154,944,915,1180,1136,1034,838,814,979,1546,1562,824,897,1378,1220,1204,1240,1430,1240,1138,1368,1548,1442,1434,1332,1364,1514,1416,1368,1358,1284,1202,1284,1160,1252,1180,1178,1238,1130,1018,994,1096,1410,1630,1476,1216,1200,1368,1190,1154,1432,1628,1572,1388,1310,1214,1078,996,886,912,1186,1166,907,795,752,962,1086,988,1786,2420,2198,2376,2430,2520,1808,1152,1296,1870,2734,1874,1838,2150,1496,1904,1724,789,1030,1432,1636,1764,1642,1592,1286,808,809,913,1007,1280,2084,2008,1790,1976,1642,1524,1392,1404,1942,1942,1772,2056,1946,1388,1042,949,1194,1220,1306,1120,890,750,601,478,491,751,1272,1570,1538,1456,1586,1578,1272,1204,1280,1290,1646,1732,1426,1290,1314,1344,1394,1378,1330,1208,1216,1156,1172,1158,1007,815,623,711,802,452,658,1334,1834,1902,1670,1366,1986,1550,1274,1134,1334,1594,1476,1190,1368,1009,589,749,642,703,1054,1132,861,665,767,1214,1280,849,666,987,1248,915,709,616,638,929,973,1052,832,574,708,557,572,713,672,619,589,487,451,436,661,915,802,506,455,677,965,948,799,914,887,1116,1204,1138,1114,1021,1164,1318,1190,901,735,601,711,1038,1094,973,676,463,651,696,451,554,999,1394,1520,1662,1384,846,837,1362,1258,703,673,729,689,938,1528,1814,966,841,1682,2610,2186,1228,974,1104,1054,672,544,706,767,618,651,792,807,880,1096,940,735,664,437,312,374,429,403,474,349,285,297,266,307,525,1144,1242,657,635,896,930,800,779,1504,1066,603,673,557,502,419,669,1036,1252,1274,1102,1023,954,831,1058,1176,1208,1015,593,607,1126,1394,1324,1282,1376,1378,1042,791,839,799,827,674,860,1021,1052,1544,1900,1656,1532,1238,1266,1644,1594,1412,1220,1274,1512,1474,1392,1506,1914,1700,1286,1382,1214,1140,1015,1200,1302,1252,1354,1498,1704,1632,1302,1148,968,832,793,736,810,778,501,708,750,678,659,955,1366,1746,1708,1762,1440,1070,997,1126,1354,1434,1118,909,1064,1100,1336,1142,1576,2608,2554,1814,1244,1110,1464,1412,1266,1692,1516,1308,1426,1576,1504,1340,1308,1102,682,1144,2578,2398,1894,1286,1276,1162,1184,1418,1454,1318,1568,1290,832,954,963,604,433,362,309,355,384,590,996,996,766,977,996,1292,1300,1252,1054,915,960,1104,1034,951,1226,1474,1444,1130,1162,1494,1706,1800,1980,2012,1874,1572,1536,1532,1218,843,1050,1416,1520,1482,1486,1634,1730,1660,1618,1544,1344,1554,1568,1362,1808,1760,1582,1512,1286,1260,1288,1192,1192,1222,1206,1288,1228,1130,1196,1232,1274,1270,1228,1298,1388,1160,1102,1216,1238,1208,1292,1498,1562,1836,1996,1506,889,778,712,714,741,957,1112,1104,1136,1094,1034,870,671,860,975,1072,1374,1628,1596,1290,1168,976,885,887,880,969,1188,1266,1074,1044,965,987,963,916,883,1132,1284,1172,1108,1156,1094,1100,906,887,1026,1074,1194,1248,1134,1028,1021,934,927,1094,1300,1432,1464,1414,1452,1550,1752,1458,1248,1230,872,528,547,493,463,615,998,1068,966,1284,1612,1430,1168,1198,1462,1270,824,728,1302,1490,1316,1284,1448,1344,1340,1440,1294,1170,1276,1224,1200,1296,1434,1320,1324,1354,1740,1644,1410,1334,1094,899,971,958,873,1064,1348,1276,1074,905,876,1160,1124,1068,1404,1912,1716,1570,1524,1520,1050,1200,1200,1122,1098,1090,1166,1318,1226,1144,1168,1086,1074,907,739,605,637,848,1266,1344,1422,1498,1364,1072,797,942,1146,863,1006,887,680,933,1262,1468,1432,1166,1146,1228,1376,1570,1276,1144,1574,1634,1226,1540,1450,1434,1808,1522,963,1122,1054,654,658,990,853,966,1022,908,931,739,760,1070,1252,1356,1300,1336,1410,1414,859,1162,1260,1448,1358,1358,1422,1294,1128,1102,1146,878,861,723,990,757,544,521,583,673,1056,841,1326,1960,1064,532,518,724,1008,1015,807,634,623,580,613,556,418,433,503,639,906,1040,1202,1194,1220,1348,1242,1118,1088,1236,1274,1336,1516,1388,1364,1232,1280,1390,959,825,1082,1406,1256,1242,1316,1156,1142,1080,1160,1294,1622,1640,1522,1378,1268,1158,1164,1274,1132,1106,1520,1230,766,918,1138,1602,1174,888,1220,1410,1388,1404,1488,1436,1342,1396,1138,1312,1560,1174,1262,1652,1498,1098,1256,1302,1404,1386,1166,967,607,890,1296,1376,995,735,721,647,861,1114,1190,877,695,941,1184,1174,1324,1188,598,336,610,802,626,642,796,681,835,1290,1524,1316,1394,1312,1508,1178,511,339,322,292,332,484,590,619,836,955,741,542,714,1194,1104,1086,1282,1432,1198,1126,1046,1005,485,367,488,536,488,422,415,435,482,705,929,856,580,530,495,466,610,515,705,877,1404,1490,1236,1142,978,813,424,399,492,867,814,694,639,693,1008,1070,1064,1218,1092,1098,896,797,1102,1360,1170,760,901,753,582,826,1116,1252,1216,838,691,1092,1248,756,553,590,975,1224,1354,1408,1200,994,1216,1372,1078,533,807,1538,1750,1642,1586,1618,1542,1698,1786,1580,1472,1310,1368,1432,1230,1013,651,539,719,965,899,1156,1556,1206,998,1228,1302,1212,1026,943,1160,1510,1520,1502,1640,1592,1282,935,1194,1562,1556,1344,1332,1194,1206,1084,1142,1340,1236,788,491,416,362,353,438,637,694,562,501,582,593,545,625,1054,1374,1208,1048,836,621,751,943,1072,1056,959,1082,1118,1011,1238,1260,1120,1422,1534,1112,960,1056,1130,1046,1218,1011,1036,1412,1350,1008,770,645,706,1272,1338,1284,999,966,1092,1005,1308,1015,659,531,758,1090,1286,1242],[1558,1324,1190,1023,796,968,1278,1114,1238,1312,1220,960,858,598,580,669,731,896,987,1038,1230,1164,1296,1498,1512,1342,1422,1154,798,886,1178,1374,1378,1042,1130,1376,1456,1472,1438,1346,1076,984,1210,1342,1002,900,1013,572,426,834,1302,1324,1214,1244,1230,1140,1010,970,1050,915,796,934,1000,883,925,1000,1017,718,482,617,855,1058,1264,1258,1242,1138,697,466,625,474,458,462,558,965,1116,658,414,689,1096,1224,1078,949,1005,1360,1286,692,536,583,537,672,869,912,812,846,818,975,1022,684,647,454,440,647,837,998,872,808,848,1132,1406,874,443,401,335,620,902,1036,1098,1202,1334,1400,1236,1216,1220,1232,1216,1238,1300,1376,1388,1356,1302,1344,1372,1284,1054,1144,1610,1538,1390,1128,971,1214,1306,1306,1454,1328,1250,1468,1152,1010,938,717,1050,563,383,709,566,318,309,740,792,729,1384,1394,779,529,689,721,700,601,446,1150,1272,1262,1032,761,963,681,801,1174,960,1078,1186,1224,1066,966,1188,1060,974,1340,1296,1122,1236,1434,1412,978,1378,1570,1656,1618,1656,1512,1328,1498,1628,1608,1792,1936,1810,1562,1562,1532,1516,1584,1562,1346,1180,993,729,697,1186,857,601,1144,993,623,780,811,713,1110,1952,2076,1484,1013,670,794,964,915,579,724,717,474,817,1068,619,632,823,670,585,490,605,805,1246,1240,1086,980,871,1108,1023,847,760,633,775,843,502,319,502,930,1180,1256,1116,1042,892,1017,1314,1274,1096,813,802,1078,1068,1134,1286,1314,1476,1588,1372,1488,1550,1017,508,623,697,598,488,803,633,566,822,977,1210,1290,1266,1124,796,741,1180,1256,1228,1494,1262,1010,1026,1140,1016,719,907,1230,1204,1094,835,785,882,591,788,1310,1340,1208,1362,1140,750,1023,1340,1496,1496,1434,1344,806,553,783,1036,824,429,540,898,960,1178,1060,714,796,1224,1584,1016,556,578,506,536,477,453,612,869,1114,1222,1064,1034,1060,1228,1298,1110,850,671,643,960,1094,1186,1246,1290,1076,979,971,1056,1190,1188,1194,1078,683,991,1174,852,792,1010,1152,1338,1310,1324,1256,822,635,775,827,795,1034,1180,1276,1258,812,574,920,1360,1536,1536,1554,1610,1490,1396,1230,1270,1612,1594,1448,1394,1144,925,758,645,842,1226,1154,1023,1056,1100,1202,1224,1284,1548,1526,1510,1488,1616,1736,1720,1742,1702,1584,1360,1164,1007,834,582,469,514,747,984,977,1094,1310,1208,978,1176,1490,1544,1362,1198,1192,1106,999,933,1188,1248,982,1086,1098,706,617,985,1198,1184,1072,986,1062,1394,1394,1294,1592,1452,1172,860,880,1074,1362,1418,1062,1070,1262,1230,1118,1510,1920,1290,900,828,842,1198,1390,1354,1266,1324,1416,1140,766,926,737,943,1208,1176,1166,1124,1290,948,553,656,1001,1216,972,1058,1248,1204,896,1078,1082,1272,1164,1168,1506,1338,1088,1190,1208,1388,1370,1200,803,969,1108,1230,1036,1180,1152,1005,1116,1290,1148,1296,1318,1156,1480,1272,665,705,1124,979,882,742,898,1180,1328,1232,988,856,732,661,739,1080,1144,991,745,766,905,822,967,1048,1068,1200,1256,1542,1228,1050,1544,1648,1064,807,882,879,1028,1260,1342,1256,913,648,615,598,547,603,627,632,672,874,1046,1013,1132,1100,959,705,774,684,1310,1544,1180,803,710,904,965,962,933,1134,1108,944,1066,1214,865,875,1086,1014,1124,1438,1356,1001,927,1062,1128,1030,1250,1188,1110,1114,985,1094,1268,1440,1548,1412,1538,1518,1534,1482,1136,876,677,573,597,752,985,1236,1194,919,1212,1356,1274,1180,1186,1092,963,1266,1276,1356,1552,1444,1228,1274,1382,1336,1198,1194,1146,1112,1136,1100,1168,1100,944,1010,1062,1068,1138,1390,1366,1420,1284,1180,1130,1294,1306,1234,1284,1354,1346,1278,1272,1172,1124,1116,990,1004,1132,1096,842,846,870,1002,1172,942,1314,1792,1792,2226,2154,2632,2706,2220,1370,1444,2144,1528,1672,2062,1644,1986,1724,865,1092,1140,1278,1494,1656,1758,1372,1274,1508,1626,1780,1906,1918,1458,1324,1218,1660,1968,1744,1198,1312,1220,637,1007,2078,2162,2112,1538,1558,1454,1260,1015,997,871,651,505,368,419,642,984,1366,1512,1346,1434,1142,1316,1374,1198,1328,1438,1346,1144,1024,858,1042,1106,1194,1320,1230,1334,1294,1132,1036,719,688,1080,1148,894,1080,1390,1460,1410,1334,1240,1286,1156,760,749,1338,1576,1256,1198,1338,752,675,781,536,819,1076,1050,1110,769,947,1230,938,838,977,1086,1074,670,825,763,605,850,1250,1234,688,345,345,348,392,532,802,837,802,946,1042,998,957,993,1062,1134,1192,1100,1060,1176,1296,1334,1262,1050,1124,1356,1150,849,908,1180,1340,1444,1444,1262,1278,1288,1032,933,1086,1050,906,1032,1100,1218,1320,1366,1316,1344,1418,1106,1064,1134,879,819,955,829,612,930,1436,1426,702,859,2418,2972,1918,995,808,943,889,735,815,772,664,767,593,584,760,1054,1062,1096,1232,985,557,499,832,756,1042,1222,538,365,291,297,330,490,1050,1160,699,544,773,779,683,817,1418,1410,1352,1198,618,412,639,902,1050,1090,1010,1116,933,799,586,646,760,797,885,841,974,1318,1642,1464,1226,1172,1328,1228,930,723,677,799,1019,1210,1306,1306,1400,1866,1936,1592,1158,1246,1762,1418,1476,1632,1570,1510,1388,1318,1614,1656,1500,1420,1242,972,994,479,586,915,1274,1352,1384,1606,1642,1516,1380,836,606,491,857,1174,805,811,1288,1344,1116,969,939,1260,1602,1802,1878,1600,1300,1096,1006,774,1014,965,976,1076,1232,1224,957,1278,2070,3024,1972,742,875,1174,1366,1622,1686,1300,1290,1344,1360,1396,1568,1592,1454,860,1354,2434,2598,2084,1476,1274,1360,1220,1196,1390,1308,1360,1011,738,939,1206,777,383,383,376,407,419,366,658,1058,1052,1232,1084,1228,1160,1284,1216,1004,994,1128,1106,1048,1098,1440,1802,1348,1682,1784,1880,1794,1822,1834,1626,1598,1708,1334,756,788,875,1056,1452,1664,1618,1624,1636,1620,1686,1532,1442,1860,1694,1448,1828,1786,1592,1416,1206,1008,957,1102,1304,1388,1350,1330,1166,1110,1092,1142,1100,1290,1278,1260,1288,1322,1704,1810,1280,1110,1256,1466,1198,1372,1774,1578,1088,1034,916,789,941,1110,992,1116,1242,1282,1082,838,909,959,981,1268,1650,1526,1202,1212,1172,979,969,993,1066,1012,1316,1262,1172,1234,1356,991,899,1004,962,1208,1202,1122,1050,1060,1052,1050,896,883,1030,1078,1166,1278,1144,997,1074,1202,1352,1252,1142,1148,1334,1470,1398,1378,1550,1526,1460,1080,670,521,492,463,565,702,1048,1226,1212,1412,1350,1242,1256,1140,1358,1470,1282,1136,1364,1344,1280,1288,1290,1009,776,966,974,1100,1326,1260,1222,1334,1206,1036,1460,1466,1510,1732,1660,1286,1090,972,1282,977,1064,1228,1268,1082,788,767,824,768,959,1046,1180,1698,1614,1784,1848,1880,1532,1098,1060,1044,1036,1076,1414,1678,1418,1228,1334,1300,1194,1174,1038,807,886,968,1076,1328,1396,1304,1482,1248,893,865,895,707,709,527,610,1090,1390,1410,1346,1124,1242,1324,1464,1478,1222,1034,1354,1400,1484,1842,1598,1232,1132,933,983,1530,1326,555,417,505,616,1040,1354,1522,1382,1196,1342,1416,1394,1344,1378,1478,1638,1410,1042,1354,1550,1626,1494,1516,1422,1136,1202,1234,1082,1060,894,720,1036,819,610,629,940,1021,775,505,503,721,760,768,656,526,1032,1088,718,741,756,565,487,452,435,511,522,605,623,886,1130,1174,971,1188,1346,1092,1024,1052,1178,1346,1366,1294,1582,1394,1322,1288,668,508,979,1356,1422,1382,1138,1202,1470,1286,1504,1682,2026,1982,1814,1468,1390,1266,1066,933,930,1202,1318,1270,780,702,1212,1346,745,672,1009,1416,1610,1470,1582,1484,1552,1564,1388,1610,1622,1342,1448,1400,1136,1156,1254,1294,1288,1222,1188,911,882,855,1188,904,576,784,946,805,1062,1196,1310,1272,1064,1002,807,754,893,992,722,579,498,368,286,547,827,573,612,1314,1526,1302,1284,1188,1274,964,740,580,319,307,440,644,717,656,1016,1238,977,794,763,738,821,1086,1266,1210,1184,927,1004,991,574,412,385,431,448,451,513,562,644,600,966,1374,630,505,529,615,603,512,744,1110,1160,811,756,1158,1358,1202,566,402,554,1124,1108,635,472,656,782,883,1310,1642,1790,980,865,1064,1046,1116,1070,1072,1322,1042,644,692,1108,1518,1406,1292,1056,1220,1238,1076,869,866,980,1208,1314,1156,950,636,1018,1206,1064,808,928,1466,1638,1682,1646,1476,1472,1722,1664,1396,1372,1402,1432,1154,1134,932,821,1304,1602,1262,874,1260,1490,1302,1290,1034,1124,1210,1584,1274,1017,1382,1324,1328,1498,1394,984,918,1244,1484,1296,1484,1754,1218,1290,1342,1212,1262,1094,654,495,424,408,411,420,579,638,534,477,489,533,818,913,957,864,613,905,955,681,946,1076,818,738,959,1114,966,952,1334,1284,1296,1632,1654,1266,681,749,1078,1180,1156,1013,1300,1376,1023,596,513,519,463,835,1044,1116,896,1230,1324,1310,1284,1064,1198,1050,1264,1152,1094,1066],[960,1046,1274,1332,926,1040,1156,1015,1082,1180,1128,904,742,611,603,832,929,868,989,1180,1224,1106,1102,1300,1028,1094,1406,1096,869,1064,1308,1382,1352,1100,1366,1444,1540,1518,1268,1064,1060,1136,1242,1234,951,955,719,393,386,907,1198,1238,1208,1252,1148,1108,1013,972,1086,604,514,1098,955,617,628,955,954,697,642,927,1060,865,1116,1264,1276,1286,750,391,391,536,906,839,518,489,518,419,482,1040,1630,1260,1372,1386,1372,1522,1446,904,825,1018,1132,1348,1270,762,426,460,457,559,423,372,592,481,363,597,890,785,466,424,703,1260,1246,630,572,816,550,345,780,1007,918,1080,1488,1384,1356,1268,1280,1250,1196,1258,1318,1122,1238,1180,830,631,558,591,553,978,1658,1416,1232,1260,1098,1174,1306,1354,1370,1330,1516,1464,1018,880,793,572,830,488,361,330,287,352,411,728,878,637,1130,1278,1184,558,488,625,932,781,433,932,1040,896,927,514,459,432,857,943,938,749,525,636,716,727,1180,1074,718,893,957,703,1064,1292,1222,1028,1072,1224,1294,1282,1230,1080,1122,1126,1092,1172,1406,1250,1460,1606,1578,1538,1616,1690,1622,1476,1306,1256,1132,1224,1592,1170,818,1216,1002,720,709,833,919,1192,1666,2002,1716,1630,1124,894,1136,1116,596,590,692,692,905,956,738,912,1258,752,641,674,781,816,1272,1344,1038,963,1094,1266,1162,944,837,415,614,1026,902,570,796,1086,1162,1054,1324,1560,1018,1066,1432,1620,1536,1190,788,1021,1214,1250,1370,1686,1682,1372,1302,1450,1614,1138,606,543,582,430,389,379,337,346,464,866,1222,1278,1042,882,1050,1122,850,1016,1738,2122,1904,2114,1692,926,609,969,1700,1368,899,785,806,764,802,704,836,1332,1536,1218,905,545,485,1112,1294,1218,1268,1370,1274,1106,913,799,1009,843,637,863,1164,1128,1144,808,744,846,1346,1596,980,641,792,954,765,839,943,836,1074,1266,1086,1058,1152,1186,1416,1492,1248,645,608,894,1078,1140,1348,1264,1168,922,736,835,1018,935,1080,1130,858,847,1056,1150,893,1058,1178,951,952,1188,1354,1110,533,690,1246,1230,1088,1038,1076,1502,1606,1124,788,1007,1450,1526,1508,1536,1454,1200,1088,1064,1017,1358,1520,1244,1226,1354,1202,664,503,694,1052,1138,1174,1518,1636,1682,1618,1594,1690,1764,1722,1670,1670,1710,1702,1494,1206,1026,885,647,601,669,669,572,521,843,1158,1316,1460,1874,1298,933,1042,1192,1230,1252,1382,1328,1166,1090,1080,1450,1384,1058,1108,1116,813,785,1162,1356,1314,1150,966,1052,1174,1116,1232,1670,1418,1168,1170,1294,1294,1272,1162,1210,1120,995,1128,1262,1450,1474,1112,935,1080,1182,1532,1620,1458,1400,1428,1516,1356,1106,1056,899,877,902,1009,992,1013,1084,755,555,589,998,1188,651,783,1126,937,669,655,747,1011,955,1072,1370,1262,850,858,1046,1152,1288,1118,930,909,1098,1248,931,784,926,824,804,1064,1238,1334,1318,1246,1328,1184,759,777,1007,1114,1074,1052,1096,989,1066,890,623,554,709,684,888,1246,1142,796,602,755,1022,787,846,996,1054,980,1456,1700,1240,918,1028,1004,765,923,1084,1066,1044,1004,965,1160,1050,659,528,591,506,532,607,732,923,842,661,700,868,1026,978,830,712,658,1018,1082,993,960,1050,1078,1178,1272,1100,1144,1186,1052,1146,1308,1208,1188,1364,1078,969,1456,1340,1204,1220,1166,1072,1196,1348,1236,1152,1134,1136,1196,1226,1424,1522,1606,1564,1204,1204,1260,1348,1344,1184,1080,963,1094,1206,1040,1368,1574,1616,1376,1888,1950,1516,1196,1084,1218,1248,1118,1506,1604,1204,1096,1172,1332,1494,1462,1338,1162,997,951,984,1038,1008,1038,1038,1106,1114,1388,1368,1170,1130,1146,1162,1346,1460,1356,1426,1622,1420,1322,1382,1344,1242,1336,1272,1212,1212,1088,860,1084,1284,1238,1202,835,1424,2408,2370,2176,2124,2424,2626,2498,1858,1722,1826,1442,1506,1334,1062,1782,1522,1360,1544,1296,1001,951,1064,1426,1962,2296,1872,1808,2236,2254,2186,1720,1032,1074,1538,1824,1806,1530,1306,1052,560,1630,2018,1578,2258,1950,1510,1482,1396,1026,749,651,744,750,465,494,561,681,744,959,1348,1366,1332,1460,1502,1448,1316,1104,1064,1160,1007,937,1364,1372,1388,1462,1370,1354,1258,1164,1120,794,821,951,1015,935,1074,1242,1140,1242,1266,1390,1566,1004,448,616,1296,1594,1176,1222,1334,1034,960,796,818,1298,1430,1338,874,913,1322,1023,763,1146,1152,819,725,716,637,619,528,510,632,591,444,500,555,690,681,608,838,995,1110,1120,768,729,944,1204,959,882,844,901,969,918,776,886,1060,1060,802,617,610,433,533,802,948,1028,1278,1174,865,707,916,1532,1614,1338,1228,1118,1104,1438,1626,1482,1356,1538,1610,1344,1248,1432,1522,1518,1390,1384,1314,1140,1174,1262,1184,1452,2096,2040,1248,882,850,947,720,669,1038,847,390,642,699,489,539,711,783,887,756,792,648,1316,2334,2206,2532,1636,531,528,597,469,332,428,785,1052,922,715,799,670,498,529,808,1054,1300,1090,497,644,1284,1134,902,1238,1470,1226,1114,830,477,853,1166,952,717,818,1044,886,1182,1428,1080,1126,1214,1322,1238,821,583,744,962,1138,1650,1974,1838,2646,2674,1608,960,834,1244,1290,1440,1588,1368,1214,1300,1722,2108,2058,1656,1484,1418,1156,567,294,603,969,1186,1306,1378,1388,1266,1394,1434,1254,1024,925,1468,1584,1234,1096,1130,1200,1382,1510,1534,1534,1614,1730,1634,1542,1518,1382,1208,1148,1058,959,1042,1148,1262,1138,1440,1378,1256,1568,1036,777,1354,1614,1600,1708,1498,1450,1844,1700,1566,1298,1320,1420,1500,1314,1600,2190,2390,2276,1896,1522,1400,1324,1174,1242,1302,1106,995,951,1116,1142,732,407,389,459,575,581,463,524,742,1194,1394,1214,1146,1162,1198,1138,1004,980,1072,1022,1042,1102,1294,1748,1496,1560,1692,1764,1792,1784,1578,1406,1592,1390,855,963,987,1038,1298,1760,1750,1650,1654,1558,1562,1632,1554,1594,1820,1842,1868,1892,1776,1572,1266,1046,952,1166,1260,1212,1302,1356,1188,1026,955,1038,1116,1078,1166,1228,1264,1174,1218,1692,1680,1302,1236,1356,1156,1096,1394,1760,1666,1238,963,689,397,562,975,901,1212,1164,1022,1062,1086,1000,986,1130,1328,1356,1268,1316,1268,1120,999,1070,1126,1040,1030,1136,1116,1030,1432,1700,996,847,971,1056,1196,1126,1007,909,886,907,969,990,1024,1084,1102,1238,1260,1054,1088,1146,1226,1212,957,750,828,1136,1288,1246,1162,1270,1350,1106,717,657,648,533,577,665,774,1150,1334,1454,1522,1386,1666,1494,1214,1378,1570,1272,1312,1390,1376,1368,1238,1124,919,623,730,882,1070,1194,1326,1326,1404,1256,1412,1580,1394,1178,1234,1214,1224,1208,1436,1886,1194,1178,1180,1102,780,533,495,488,902,1620,1324,1136,977,1344,1742,1698,1666,1338,1182,1174,980,1009,1011,1160,1488,1592,1446,1440,1148,1106,1308,1312,1244,1290,1228,1094,1012,1008,1003,1390,1418,1020,768,956,1010,872,668,816,1248,1316,1236,1260,1048,1104,1260,1312,1168,1076,1086,1250,1326,1504,1572,1216,1136,941,832,1000,1282,921,562,509,536,855,1292,1500,1630,1658,1416,1340,1078,1216,1202,1186,1274,1448,1534,1360,1150,1312,1544,1650,1714,1494,1102,1100,1156,1058,1222,803,841,1422,1610,1244,999,1036,1036,911,938,767,885,662,721,632,473,793,778,658,824,789,558,425,425,567,568,528,751,874,1214,1204,1122,1122,1316,1348,1260,1148,1078,1214,1302,1252,1380,1444,1376,1296,1007,686,786,1180,1166,1312,1214,984,1320,1360,1388,1444,1172,1322,1832,1730,1310,1162,1066,1538,915,996,1504,1400,1394,1032,845,1396,1182,641,983,1378,1272,1292,1336,1374,1282,1154,1330,1494,1672,1528,1664,1628,1146,1134,1438,1464,1434,1352,1628,2048,1290,1015,693,472,763,917,774,639,864,1298,1208,1272,1336,1256,1090,615,515,945,1015,967,1008,717,650,422,411,434,461,437,777,893,1066,1194,1242,1060,1100,1234,976,593,459,990,1017,958,1058,1272,1200,998,958,1316,1268,888,1066,1270,1120,1056,1052,1250,1164,988,678,364,494,659,669,604,794,863,536,1009,1772,816,435,537,531,525,537,760,1019,988,925,969,1190,1556,1282,617,442,430,726,791,428,449,694,700,916,1660,1248,1108,639,1118,1546,1278,895,819,952,939,758,688,867,961,1108,1164,1250,1268,1242,1034,1007,1218,1162,846,918,1166,1104,1058,530,747,1062,1334,1186,1144,1356,1556,1670,1606,1366,1458,1636,1580,1458,1556,1554,1484,1266,1284,1238,1170,1372,1484,1334,1084,1310,1512,1350,1322,1184,1288,1296,1428,1262,1270,1264,1262,1438,1422,1422,1280,1218,1382,1542,1294,1664,1750,1340,1478,1340,1044,1074,907,705,722,638,438,379,361,428,792,717,435,546,962,982,670,712,710,583,875,1188,1324,1426,1504,1328,1306,1218,1034,786,683,794,738,781,903,1038,850,587,624,790,856,755,1130,1354,850,869,594,602,781,543,676,1030,1328,1134,1126,1316,1284,1122,1222,1766,1556,1218,1210,938,1013],[860,894,1408,1364,746,849,1158,1224,1230,1296,1212,992,714,666,875,1288,1252,882,838,1168,1092,853,974,1060,1036,1444,1430,1220,1262,1230,1322,1204,1268,1470,1566,1588,1410,1218,1106,905,964,1023,976,1262,1310,1218,1006,739,536,1060,1394,1260,1198,1148,1076,1216,1442,885,483,452,544,783,758,498,525,860,852,733,762,1038,1046,794,745,871,810,793,534,389,470,719,1034,968,742,550,625,671,623,1148,1448,1172,1200,1110,987,933,890,897,1066,1018,1050,1042,776,428,348,308,357,349,407,750,969,646,319,311,407,381,345,328,789,1416,1122,668,627,985,877,401,550,783,945,855,1148,1384,1332,1106,1242,1252,1268,1260,1034,925,1026,1096,623,431,461,466,551,1068,1170,984,1084,1116,948,957,1064,861,907,1110,1274,979,802,693,570,476,489,458,427,338,330,409,448,694,952,681,1046,1116,1196,610,396,509,691,906,905,673,672,875,803,424,351,351,756,735,631,508,466,681,713,675,770,656,585,956,1308,872,891,1021,1062,1028,1170,1344,1324,1326,1180,1052,936,1015,1136,838,1007,971,776,924,1208,1128,803,838,1082,1152,723,597,1056,1584,1610,1586,1648,1642,1456,1422,1300,979,1044,1330,1536,1596,1534,1738,1382,806,1118,948,503,736,1234,1302,1314,1330,1132,1140,1196,948,737,564,541,765,1068,1170,1080,854,894,1228,1146,843,823,688,785,1018,995,935,1106,1162,997,843,1072,1272,1150,1324,1400,1436,1384,886,566,967,1240,1102,1158,1464,1358,1262,1246,1488,1726,1436,717,590,703,711,791,605,328,390,882,1434,1252,1190,922,840,993,1242,877,717,1062,1390,1732,1520,1078,986,826,1152,1460,1340,1158,1078,905,903,1018,1192,1044,1412,1516,1252,1001,733,622,863,1148,1064,736,957,1338,1502,1068,902,879,756,831,940,1440,1416,1104,981,802,765,1154,1162,803,663,805,1074,810,823,928,975,1220,1366,1282,1180,1290,1390,1270,1252,1168,807,735,1120,1048,1186,1406,1328,1026,816,862,1136,982,727,1086,1302,851,788,700,687,513,576,815,851,1066,1340,1550,1224,756,774,1158,1176,1040,912,946,1282,1252,1046,1160,1238,1488,1634,1598,1498,1332,1150,1082,1158,1164,1226,1146,1202,1640,1512,1226,767,792,1184,1390,1432,1316,1480,1550,1626,1708,1704,1702,1730,1588,1490,1478,1622,1820,1324,979,749,612,558,564,643,803,736,447,936,1532,1680,1594,2092,1442,905,966,1048,1260,1622,1672,1280,1228,1384,1340,1356,1476,1128,924,1015,955,1058,1282,1262,1196,1032,1214,1182,1100,1260,1126,1120,1156,1294,1474,1444,1394,1262,1278,1438,1316,1458,1556,1712,1510,1298,1326,1446,1260,1124,1266,1142,1122,1166,1290,1426,1388,1036,1026,1170,1086,1072,1024,917,1020,1228,998,799,963,1088,1006,648,575,1012,968,565,537,899,1082,779,611,727,985,1068,1022,1070,965,1348,1438,1556,1472,1124,956,975,1102,1076,905,656,797,1220,1182,1054,1168,1252,1180,857,833,1138,1234,1168,1378,1188,1154,1084,901,731,659,786,824,996,1254,1066,576,427,411,596,550,1002,1004,1120,1036,1082,1298,1146,990,1238,1116,850,1001,769,839,751,693,654,1050,1310,874,490,492,492,489,577,714,791,647,431,619,896,921,662,614,792,1090,1254,1234,1218,1316,1260,1003,1120,1112,1001,1144,1224,1162,1280,1446,1184,928,1164,1090,818,1340,1306,1274,1362,1320,1090,1190,1282,1188,1236,1374,1192,969,1136,1344,1450,1450,1398,1216,1216,1344,1362,1280,1284,1042,1030,1268,1086,932,1172,1318,1238,1086,1264,1824,1946,1382,1040,1012,979,1324,2566,2138,1676,1390,1178,1408,1886,1606,1342,1286,1010,771,839,1074,1005,984,1114,1294,1270,1212,1146,1132,1194,1342,1360,1256,1216,1260,1390,1560,1344,1490,1470,1322,1266,1454,1554,1450,1430,1266,954,1188,1118,1066,1226,821,1002,1672,2330,2686,2510,1930,2040,2164,1426,1266,1990,1730,1316,1376,1740,1744,1230,1108,1494,1944,1676,1372,1218,1426,1516,1234,1036,1118,1298,1510,1834,1966,1594,1342,1476,1538,1818,1662,1780,1888,1440,1808,1482,1020,1036,1146,1386,1560,1334,1066,816,662,852,1108,836,819,621,859,995,771,572,833,1156,1394,1414,1566,1460,1136,534,484,727,917,1186,1262,1196,987,989,938,979,1322,1260,997,956,973,1048,1010,1198,1162,1078,1132,987,1058,1192,1134,1042,1180,1416,1292,1260,1320,1366,1516,1398,1150,1278,1560,1536,1056,932,1356,1272,1198,1166,1024,813,568,525,641,747,716,480,348,474,594,816,764,784,945,698,436,423,501,698,835,830,858,820,868,528,719,984,1024,919,651,728,1044,993,1260,946,794,776,666,643,849,926,662,719,996,1192,1152,1506,1998,1580,1870,1882,1444,1440,1816,1772,1326,1326,1580,1182,858,1040,1346,1238,1180,1072,1200,1256,1256,1358,1284,1362,1616,1694,1476,1176,1352,1378,1242,1019,1136,1162,969,740,725,742,565,372,348,593,772,631,728,678,1184,2686,3440,3216,1674,524,836,979,787,573,503,709,1046,961,682,742,807,541,429,646,855,975,797,523,955,1578,1140,1664,2372,2422,1734,1176,592,583,1004,1050,957,600,667,961,868,1023,950,926,1014,1042,986,1074,1160,799,739,1278,1652,1808,1626,1304,1970,2338,1598,1116,1040,1282,1394,1318,1128,1080,1012,1202,1744,1884,1948,1500,1428,1646,1494,915,676,1078,1204,1146,1316,1400,1440,1410,1250,1528,1710,1418,1470,1536,1382,1208,852,847,1086,1540,2052,1682,1408,1520,1586,1508,1386,1416,1640,1804,1586,1346,964,1078,1200,1324,1188,1520,1414,1344,1356,775,733,1326,2046,1992,1644,1302,1710,1820,1572,1724,1678,1476,1234,1406,1628,1720,2038,1908,1752,1592,1354,1104,1112,938,988,1198,1194,1076,931,991,1013,733,481,481,617,863,1050,691,694,634,797,1294,1360,1164,1068,1092,1032,987,930,957,980,963,985,1100,1246,1388,1472,1488,1522,1554,1522,1464,1626,1696,1084,634,1022,1304,1402,1640,1758,1642,1550,1400,1594,1618,1522,1466,1674,1958,2040,1932,1906,1836,1536,1312,1100,1108,1520,1276,1282,1294,1240,1136,1180,852,1074,1282,1218,1212,1294,1554,1548,1488,1632,1586,1570,1180,830,822,1188,1424,1296,1356,1450,1070,599,904,1194,1390,1352,1326,1260,1152,1106,1212,1164,1214,1364,1260,1246,1196,947,1046,1182,973,895,950,987,1036,1082,1090,875,995,1356,952,984,1086,1208,1136,1056,1044,980,908,996,1176,1284,1264,1238,1160,1216,1158,1244,1370,1062,872,847,802,716,708,716,747,1042,1256,1384,1202,727,549,555,562,641,745,820,1040,1288,1294,1570,1374,1306,1434,1360,1316,1418,1442,1356,1302,1242,1212,1094,1076,1064,1180,1608,1316,1178,1164,1150,1152,1190,1164,1308,1578,1562,1532,1110,1054,1256,1262,1200,1320,1172,1070,1138,1136,1015,819,841,727,763,915,1138,1594,1358,743,832,1354,1718,1680,1408,1224,1262,1178,1140,1262,1458,2046,2220,1722,1368,1168,1356,1552,1232,861,1094,1206,1256,1268,946,778,893,1050,981,953,1098,1222,1062,872,998,1334,1226,1138,1158,1192,897,919,1100,1098,1182,1194,1136,1160,1278,1444,1244,954,1068,1022,1014,849,804,926,704,692,953,1168,1238,1358,1512,1346,1092,1038,832,880,1072,1322,1784,1786,1454,1500,1484,1074,1072,1344,1432,1020,850,828,965,1328,1224,906,1126,1498,1484,1410,1060,714,1023,887,971,1062,928,748,612,644,714,608,630,757,761,568,321,346,549,581,623,675,1172,1490,1044,941,1342,1288,987,1210,1278,1320,987,952,1368,1398,1134,1304,1432,1312,1224,1196,1126,989,1388,1178,858,1064,1068,1138,1232,1108,968,931,1019,1224,1296,1324,1354,973,1378,1332,1216,1504,1228,1116,1376,1238,1154,1092,993,1138,1314,1208,1372,1190,642,691,918,1242,1534,1584,1414,1232,1346,1400,1266,1284,1428,1592,1864,1544,1324,907,636,925,872,808,853,1208,1236,1310,1208,1404,1318,1110,960,1146,1324,1130,1132,777,702,1086,771,458,427,461,408,416,601,766,901,1006,1114,1220,1160,1436,1214,828,1204,1320,1042,998,1250,1372,1272,1332,1020,987,962,703,986,758,619,833,896,1278,1450,1014,852,770,727,902,658,719,842,723,1012,1398,842,364,403,317,343,552,772,715,927,916,876,858,971,869,634,497,380,368,463,366,376,890,1558,888,1064,843,455,408,852,1190,1030,929,1030,911,875,1004,1060,1310,954,1010,1148,1214,1154,918,874,1270,1498,1322,798,711,1242,1404,1130,587,630,1094,1124,918,1280,1830,1842,1612,1650,1548,1516,1438,1458,1506,1540,1448,1460,1404,1266,1178,1134,1056,1158,996,966,1114,1290,1236,1488,1488,1454,1464,1102,929,1098,982,1224,1394,1408,1454,1322,1026,1098,1454,1472,1510,1312,1258,1510,1342,1278,1152,912,1168,1078,814,474,371,364,503,1036,1106,501,734,1426,1009,593,540,725,1042,1098,1170,1226,1386,1556,1436,1174,1074,952,764,538,318,417,672,865,1160,874,602,637,688,525,673,1096,1018,992,1300,1013,888,1234,938,879,1100,1094,1038,1134,1176,918,804,981,1436,1396,843,783,664,802],[1390,1278,1582,1410,876,849,1242,1290,1130,1170,1416,1260,1021,937,1128,1152,1258,861,866,1460,1660,1272,994,1092,1044,1178,1382,1402,1344,1378,1368,1238,1350,1392,1410,1714,1932,1604,1696,776,664,1272,2140,1500,772,977,1394,1050,710,1188,1504,1286,1362,1196,1250,2122,2046,1080,737,681,858,1005,896,667,590,646,598,681,683,761,758,906,951,901,896,857,640,675,859,781,789,659,709,601,512,824,889,889,875,967,772,636,622,441,462,357,504,1048,1262,862,443,358,301,252,402,557,597,694,658,520,363,289,303,363,399,426,812,1082,972,1032,894,640,635,364,339,552,1062,1268,1266,971,1002,1152,1308,1232,1302,1034,577,795,769,786,494,397,538,656,796,1100,936,788,928,1192,1184,1076,1212,567,508,616,726,721,935,709,437,527,591,473,367,260,290,316,382,585,833,619,619,822,849,519,546,733,707,865,1216,559,389,422,404,357,311,469,937,1016,793,558,661,902,971,516,469,405,788,1324,1212,899,1110,1256,1180,1300,1292,1402,1396,899,756,879,672,558,713,781,1102,1176,880,754,1152,1136,690,777,838,628,386,869,1240,1132,989,1132,916,742,987,1430,1748,1708,1698,1704,1786,1802,1794,1716,1550,1100,677,468,401,791,1550,1468,1162,1366,1011,858,697,988,1136,951,979,1114,1078,1180,1070,1060,953,1056,987,1072,1256,1570,1206,988,1086,1015,991,819,694,750,1078,1404,1324,1472,1558,1550,1114,576,728,1052,1126,1152,1248,968,876,1192,1152,1548,1798,1628,821,504,795,945,839,658,419,737,1214,1306,1284,1084,969,1136,993,956,1042,1222,1376,1384,1194,1140,1122,1144,1034,1050,1468,1570,1242,1168,1092,1156,1446,1416,1013,1526,1544,1294,1216,1180,1060,1130,1288,1238,908,1176,1352,1422,1260,1260,1204,1168,977,1268,1896,1530,1058,852,653,713,1302,1472,736,962,1300,1312,1162,959,849,995,1238,1578,1516,1278,1292,1272,1172,1146,955,915,1108,1116,1021,1288,1550,1384,931,963,927,1282,1240,962,1258,1242,605,301,393,497,346,409,714,1013,1000,888,1334,1344,836,581,805,797,655,599,536,584,634,903,1312,1388,1512,1648,1512,1128,1102,1294,1194,1216,1270,1144,1128,1294,1582,1400,1322,1096,1012,1212,1528,1614,1534,1534,1602,1670,1802,1842,1566,1418,1402,1046,1066,1710,1784,1584,1382,794,585,623,755,714,861,788,472,781,1410,1550,1372,1262,1028,924,880,717,976,1230,1300,1240,1230,1384,1236,1302,1414,1178,1003,983,966,1068,1020,809,1042,980,1152,1034,1066,966,770,869,1090,1394,1396,1338,1452,1556,1322,1348,1536,1440,1598,2010,1794,1400,1446,1680,1320,843,650,620,944,1098,1094,1130,1342,1210,1194,1270,1394,1238,789,938,1124,1184,865,987,1136,838,1054,1158,917,824,706,572,633,994,1148,651,603,854,990,1290,1410,1408,1192,1262,1150,1012,1134,1014,885,1050,1072,1170,1108,871,1034,1188,1154,984,982,1134,1080,725,849,1200,1100,1238,1254,1110,930,789,810,966,1058,959,791,902,1204,1424,839,419,659,982,669,794,946,1296,1362,1412,1476,1202,1190,1252,1200,1044,1164,971,855,581,525,520,765,1134,1034,624,498,478,463,611,694,545,456,501,617,604,661,805,821,877,1228,1338,1354,1380,1224,993,734,744,734,839,1250,1386,1250,1166,941,808,893,1194,1262,954,1424,1442,1268,1250,975,774,839,940,949,1032,1224,1154,752,1122,1288,1370,1266,1244,1348,1330,1366,1382,1200,1208,1066,1260,1446,1372,1202,1144,1036,1058,1136,1106,1208,1212,926,896,1056,1352,2452,3292,2386,1742,1396,1134,1156,1252,1248,1242,1096,1158,923,874,1138,1148,1036,1034,1188,1256,1144,1228,1398,1468,1354,1120,1194,1310,1354,1354,1272,1246,1458,1394,1476,1656,1698,1632,1562,1490,1362,1056,1136,889,839,1180,884,739,1472,1854,1946,1694,1044,1076,1848,1450,1516,1760,701,448,1138,2038,1976,1096,963,1446,1782,1716,1620,1694,1826,1918,1220,843,594,885,988,881,1440,1652,1748,1830,1396,1396,1630,1792,2150,2014,1462,1416,1538,1114,850,1322,1536,1596,1334,1136,1019,1114,1236,1076,1112,888,639,769,755,534,413,494,680,916,1166,1416,1366,770,458,434,507,796,1298,1128,487,680,1030,1108,1640,1124,937,1108,988,732,911,1096,630,571,795,857,973,1018,1384,1266,1278,939,553,823,1112,1284,1428,1306,1280,1536,1810,1422,942,1238,1220,1306,1594,1532,1206,824,860,712,480,683,730,507,804,961,916,875,549,382,336,301,314,527,738,924,954,893,607,899,1010,573,579,882,1148,1032,921,1444,1334,853,1214,1340,1130,1013,1294,1706,1550,905,563,571,794,879,1168,1384,1650,1784,1494,1314,1476,1704,1548,1320,1354,1418,1568,1266,1242,1362,1382,1015,832,833,891,875,897,856,755,1062,1542,1844,1410,976,871,1003,1076,803,907,1114,1194,1304,1388,1302,1116,888,686,522,469,560,521,523,1002,1694,1810,1866,1360,535,564,838,946,792,650,656,929,901,680,807,819,524,742,1396,1664,1456,1390,1160,1118,1290,1278,1816,2308,2410,2054,1274,540,835,1006,917,995,641,919,888,1216,1548,1064,558,687,1064,790,650,1116,1214,1212,1646,1996,1634,886,1010,1488,1642,1476,1306,1426,1484,1310,1354,1308,1814,2098,1510,1274,1580,1304,969,1150,1472,1516,1412,1072,1182,1246,1472,1646,1276,1528,1592,1290,1484,1638,1570,1592,1410,884,612,337,483,1092,1438,1582,1504,1450,1650,1676,1550,1438,1396,1472,1444,1406,1626,1618,1380,1372,1608,1672,1638,1490,1450,1048,622,831,1246,2366,2062,1622,1228,1590,1624,1532,1660,1678,1750,1500,1504,1910,1776,1646,1168,1042,1272,1346,952,984,1308,1486,1354,1246,1070,781,592,754,794,591,558,554,667,1254,915,703,996,1216,1228,1232,1356,1134,905,896,891,938,948,942,880,982,1118,1108,1282,1510,1610,1576,1608,1540,1680,1764,1682,1276,1402,1740,1880,2020,1888,1786,1684,1364,1232,1472,1584,1496,1498,1532,1792,2156,2120,1902,1836,1652,1478,1086,1340,1562,1432,1346,1094,1040,1286,1594,1536,1456,1450,1500,1594,1532,1526,1368,1023,908,1056,1019,787,987,1322,1540,1558,1136,1288,1464,1120,626,1164,1502,1692,1586,1402,1344,1248,1288,1396,1334,1248,1170,1244,1268,998,659,766,920,965,1036,1030,912,860,973,998,944,1076,1214,1003,894,986,1274,1188,1030,1132,1214,1110,1238,1310,1302,1296,1248,1230,1230,983,1276,1256,717,754,859,627,528,438,468,879,1278,1306,1286,956,733,590,543,633,736,817,899,1172,1420,1464,1442,1280,1292,1194,1150,1292,1408,1256,1122,1186,1220,1226,1340,1958,1486,1302,1792,1380,1202,1318,1402,1416,1164,923,1466,1570,1370,1392,1186,980,1116,1208,1176,1076,1136,1096,1154,1254,918,982,857,968,1110,848,794,1250,1214,1124,1180,1236,1592,1732,1616,1328,1192,1406,1262,1260,1644,2138,1970,1406,1106,1058,1210,1344,976,1015,1104,905,967,1104,1310,1218,977,1004,1018,985,993,1094,1096,1218,1013,1104,1148,1138,1050,1080,885,762,917,1112,1368,1248,1060,1200,1356,1474,1522,1286,1090,1000,967,654,752,998,933,1072,1294,1246,1188,1146,1204,1318,1256,1112,1106,1208,1324,1618,1562,1328,1194,1452,1526,1014,750,1038,1410,1146,907,777,847,1186,1306,1050,977,1186,1450,1394,1178,1003,1328,1136,898,1288,1478,1154,963,810,747,810,654,583,567,491,384,347,435,571,663,866,1390,1546,1098,1064,1016,736,606,906,1110,967,839,987,1262,1130,1134,1592,1628,1278,1332,1510,1100,731,1104,1096,803,653,578,713,892,1046,1190,1034,1038,1722,2050,1704,1130,1248,1538,1212,1238,1270,940,869,1132,1292,1544,1254,1218,1552,1576,1076,978,949,636,349,408,794,1394,1606,1584,1416,1478,1364,967,1216,1356,1230,1146,1106,1234,787,595,482,438,763,1346,1504,1322,1294,1394,1576,1616,1170,1066,1262,1060,1000,1062,614,492,797,743,445,365,389,415,539,738,897,789,715,1100,1050,987,1470,1412,991,926,1230,1204,1015,1110,1450,1238,1410,1136,888,646,345,434,456,864,1004,830,1000,1026,846,1054,915,1005,1094,1124,1030,999,1007,821,1084,1032,396,505,730,893,1192,1230,912,930,744,491,529,714,703,633,588,376,266,292,273,303,526,754,443,401,373,377,384,426,586,795,784,892,1100,1360,1094,1004,1007,964,1368,1488,1228,847,539,590,1164,1390,1144,858,682,890,1132,1072,556,434,898,1158,1152,1284,1432,1372,1488,1720,1478,1274,1021,966,1094,1306,1388,1434,1340,1306,1422,1406,1030,833,702,663,835,1520,1750,1600,1656,1642,1368,1144,1216,1178,1104,1374,1566,1716,1606,1440,1230,1144,1286,1250,1218,1328,1480,1420,1426,1464,1382,1104,1298,1372,1036,666,416,364,453,905,1162,721,593,996,810,712,940,1282,1290,1188,1198,1148,1260,1202,1050,1238,1328,1012,724,453,344,421,653,998,1382,1194,818,645,787,581,1009,1272,1194,1248,1558,1248,1156,1376,1090,862,804,733,871,979,987,574,669,1098,1390,1318,1072,1038,849,740],[1384,1472,1660,1590,1212,1130,1402,1366,1232,1354,1576,1374,1306,1344,1374,1310,1356,969,947,1214,1340,1260,877,955,1130,1172,1206,1418,1572,1502,1270,1414,1556,1432,1234,1688,2096,1412,1036,629,725,1300,1864,1530,1232,1304,1322,1088,893,1218,1430,1254,1186,1010,1088,1730,1196,898,986,1008,1216,1212,1290,1166,818,510,554,699,626,544,647,760,656,649,816,832,645,760,1258,973,860,762,667,642,378,439,611,572,555,629,618,625,576,325,427,733,685,1146,1326,1076,1056,824,448,307,313,416,607,745,1198,943,590,361,351,351,318,519,852,993,970,889,724,411,351,310,368,393,710,894,628,601,909,1120,1300,1374,1466,740,500,703,639,539,474,459,763,976,1102,1210,844,551,505,940,991,816,1028,567,745,1016,661,714,949,835,598,497,633,698,486,482,577,650,724,843,894,643,391,575,808,554,701,994,971,919,1260,643,378,351,335,295,269,602,1156,1392,1208,911,704,733,752,373,334,328,747,878,869,936,1140,1276,1156,1302,906,915,854,532,449,633,781,884,799,922,1130,1168,785,502,992,1030,671,851,798,477,350,620,1032,871,631,651,436,263,371,938,1188,1246,1378,1460,1708,1776,1660,1666,1670,1578,1356,1146,888,700,692,955,967,1424,956,621,554,836,1210,1108,968,823,758,1268,1166,1350,1034,999,1210,1452,1638,1564,1246,1150,1146,1050,1042,967,929,892,1438,1332,1164,1620,1790,1666,1009,486,816,1178,1144,1178,1178,946,1036,1140,966,1174,1498,1634,1184,806,1062,1048,611,559,802,1082,1240,1188,1030,965,1310,1310,742,508,927,2056,1334,947,1090,1284,1392,1268,1032,1218,1606,1790,1410,1132,1512,1600,1616,1634,1200,1582,1742,1302,1152,1124,1154,1194,968,1234,1224,1308,1430,1406,1188,1328,1328,1092,913,1288,1742,1292,885,735,705,873,1186,1288,798,1434,1694,1346,1368,1390,1426,1566,1708,1686,1558,1292,1374,1522,1634,1720,1108,601,759,1066,1176,1256,1346,1102,992,1100,1090,1332,1222,1066,1158,922,552,588,889,557,468,451,784,1422,1090,641,1036,1062,608,421,466,492,660,673,815,1264,1134,1224,1554,1340,1332,1582,1522,1226,1202,1284,1216,1208,1346,1428,1584,1656,1708,1528,1460,1370,1334,1526,1700,1636,1390,1184,1190,1896,2626,2064,1328,1144,1212,837,1106,2406,2282,1542,1598,824,578,720,1190,877,938,714,516,602,1220,1610,1528,1430,1100,916,976,804,787,1023,1118,1254,1256,1274,1082,972,1034,1146,962,1040,1062,1042,976,889,1250,1258,1116,1098,1266,1210,1084,1044,1132,1204,1276,1310,1386,1488,1444,1250,1322,987,1028,1372,1282,1046,899,1184,1019,935,869,1032,1100,1034,906,845,1180,1296,1118,1192,1244,1200,955,859,839,812,553,1130,1050,958,994,730,888,692,723,739,630,974,1200,1106,1176,1328,1278,1298,1320,1186,1164,1162,847,491,669,1110,1174,1034,798,864,1058,1072,1102,1108,1054,858,729,979,1148,979,1228,1376,1328,1324,1180,1190,1182,1046,1144,1154,1118,1160,1084,958,1284,1270,960,702,1202,1508,1100,837,1030,1412,1304,1190,1066,1060,1238,1260,1274,1162,1166,1018,928,788,597,483,569,1006,1288,1046,813,511,477,541,655,611,514,544,575,672,1008,1274,1288,1072,1176,1050,1058,1312,1080,691,539,683,1066,1284,1184,1200,1220,1144,1140,1310,1260,1506,2210,2012,1762,1422,1118,1016,631,577,799,923,863,678,800,1030,890,1116,1378,1402,1302,1402,1382,1268,1386,1234,1044,1116,1266,1484,1550,1312,1136,1134,1254,1396,1366,1278,1078,1128,1009,1112,1268,1172,1742,2142,2004,1656,1448,1186,1118,1188,1268,935,894,1158,1252,1222,1262,1374,1370,1238,1236,1336,1314,1284,1260,1204,1046,1208,1322,1344,1378,1364,1094,1028,1184,1272,1702,1932,1786,1642,1602,1626,1258,1130,1148,942,925,1152,888,955,2024,2764,2602,1636,1234,1390,1478,1566,1314,955,741,497,624,1388,1724,1114,1196,1186,1496,2110,1918,1932,1756,1908,1964,1722,1008,512,631,943,1142,1476,1968,2278,1992,1312,1236,1368,1686,1820,1488,1226,1368,1452,1538,1622,1512,1924,1676,1556,1130,1018,968,682,912,1158,672,517,675,567,314,375,412,407,848,1348,1444,1208,1048,814,599,867,1370,681,508,807,803,983,1478,1284,1152,1210,1242,995,946,804,446,456,620,566,992,1404,1464,869,539,537,684,896,755,662,742,797,1118,1302,1422,1144,943,913,1170,1454,1412,1508,1500,1010,1202,1214,695,517,627,686,764,688,670,515,374,473,441,497,681,879,821,984,925,857,866,1420,1396,758,738,769,958,817,738,1162,1050,834,1050,1002,816,1156,2090,2436,1698,943,707,868,768,558,750,1120,1258,1678,1902,1770,1754,1676,1306,1268,1478,1644,1688,1376,1418,1660,1476,998,745,830,942,922,1146,1130,808,1282,1636,1896,1462,1168,1066,885,656,554,805,719,610,1072,1354,1060,1404,1390,1274,1290,1146,952,935,683,665,756,532,625,605,502,540,703,673,567,601,805,1134,1092,921,962,815,717,1104,1330,1410,1302,1446,870,708,806,1180,1256,1070,1278,1570,1344,1218,1342,921,1152,1214,805,969,980,1346,1766,1570,786,663,927,711,608,734,1260,1424,1382,1504,1050,422,803,1358,1384,1338,1354,1440,1378,1228,1186,1424,2146,2360,1276,907,1182,1288,983,835,1384,1454,1444,1294,1218,1300,1576,1678,1256,1260,1284,1274,1318,1426,1400,1580,1340,782,563,598,937,1144,1322,1456,1318,1826,2370,1934,1784,1682,1618,1322,812,802,1074,1738,1882,2046,2004,1722,1560,1538,1472,943,818,1011,1178,1532,1592,1418,1488,1698,1546,1508,1730,1788,1816,1616,1396,1640,1546,1110,1266,1302,1366,1420,1148,1188,1548,1440,1150,1278,1154,893,543,581,855,827,806,800,779,1138,1098,1070,1262,1232,974,1106,1166,1174,850,766,857,858,842,839,788,891,941,833,1194,1478,1274,1106,1262,1488,1714,1720,1820,1810,1748,1456,1490,1748,1742,1750,1466,1170,1510,1678,1400,1394,1632,1552,1554,1660,1594,1494,1430,1444,1282,1108,1602,1500,1272,1278,1298,1322,1512,1586,1432,1340,1152,1022,1013,922,1234,1354,1019,1072,1200,971,926,1116,881,1190,1460,904,1244,1460,1130,694,1130,1656,1780,1626,1522,1356,1290,1224,1186,1058,1230,1428,1508,1176,846,602,582,799,1142,1264,1154,964,918,861,761,893,1142,1082,1176,1030,887,987,1023,998,1086,1180,1136,1172,1228,1284,1306,1276,1312,1100,778,1034,1122,791,777,615,430,510,836,1008,1250,1314,1284,1438,1236,835,600,597,642,877,1100,953,1064,1260,1482,1372,1296,1278,1194,1062,1178,1272,1042,804,896,1036,1208,1608,2458,1664,1230,1292,1174,1200,1280,1258,1268,1218,1044,1422,1350,1406,1242,1074,1066,1116,1308,1230,1194,1528,1124,1328,1294,1080,1060,792,1068,1138,928,969,1116,1166,1238,1100,1015,1470,1540,1682,1494,1910,1998,1288,1152,1452,1360,991,949,1156,1130,1252,1116,905,1232,993,893,1023,803,824,1128,1268,1096,1022,1134,942,956,1208,1368,1572,1252,1058,1162,912,745,833,1092,1390,1238,1282,1260,1138,1232,1272,1450,1418,1148,954,942,850,599,577,841,1238,1142,1254,1090,1104,1184,1162,1266,1136,992,1176,1180,1158,1248,978,1234,1080,1228,1304,943,998,1218,1420,1454,1238,841,581,579,803,1198,1232,1534,1786,1584,1268,1810,1868,1170,1070,1686,2092,1760,1214,912,722,744,752,498,341,320,361,358,354,597,1038,1216,1540,1506,1540,1642,1360,935,890,874,642,743,963,1270,1614,1504,1530,1650,1334,1312,1324,1378,1282,1056,982,1006,1013,698,440,508,575,569,814,1030,1172,1936,2150,1886,1348,1374,1196,683,927,1110,994,791,890,1340,1456,1174,1062,1616,1524,875,852,977,764,576,567,770,1186,1288,1172,1320,1390,1324,1260,1648,1824,1632,1238,788,902,803,727,397,358,421,1002,1498,1546,1484,1412,1866,2158,1278,1190,1234,1220,1358,1390,929,495,379,394,365,380,389,641,1026,1118,1092,827,796,739,882,1146,1248,1120,694,592,673,813,1058,1092,1288,1170,1316,877,706,543,390,374,610,1058,954,749,762,1104,807,827,1040,1176,1348,1496,1196,1088,996,769,722,606,411,586,1020,1544,1756,1284,885,682,548,605,804,980,747,517,499,318,292,290,276,296,258,267,361,380,393,407,423,468,724,730,696,1082,1158,1084,1106,1346,1080,910,1023,913,934,499,350,393,764,1019,706,865,772,711,1088,1168,845,606,684,1078,1302,1202,1174,1134,1414,1736,1444,1262,996,647,730,1003,1278,1382,1278,1494,1322,1144,1044,1044,1218,1048,995,1476,1562,1320,1434,1338,1250,1146,1416,1404,1510,1762,1794,1616,1438,1378,1356,1312,1424,1504,1418,1462,1410,1164,1238,1244,1340,1416,1486,1350,1152,860,512,365,447,890,1230,1132,609,700,876,757,987,1296,1076,885,845,679,700,764,1114,1466,1424,1388,1130,633,306,399,482,828,1406,1164,825,670,844,1128,1350,1402,961,717,1106,1098,1046,1314,1224,1136,791,662,850,716,651,582,794,1204,1404,1274,1394,1470,1202,954],[1324,1300,1404,1452,1350,1390,1482,1426,1210,1374,1406,1086,1172,1652,1712,1452,1238,1056,1476,1128,839,1200,1090,1240,1368,1274,1224,1316,1466,1426,1328,1384,1492,1398,1190,1284,1234,1136,732,686,1108,1236,1288,1290,1318,1400,1288,1038,943,1156,1166,1288,1302,1198,1066,869,593,789,1070,1066,1224,1244,1428,1334,970,587,828,915,789,611,497,503,542,531,487,463,550,684,1224,1126,952,673,764,689,550,733,770,617,564,576,872,644,656,843,832,957,519,562,640,532,833,1144,1018,708,408,346,521,622,1088,1202,785,405,363,355,442,668,798,950,1064,975,525,383,310,331,391,334,382,420,619,977,1052,1324,1428,1302,1182,876,607,475,549,591,481,442,775,936,1158,1600,1198,1072,627,576,490,514,438,383,564,510,407,654,1013,1294,963,755,694,556,511,813,929,911,987,981,744,498,339,710,1200,753,658,1238,1192,1102,1226,984,573,354,354,482,642,639,994,930,650,479,444,457,404,361,396,521,674,750,895,748,1040,967,560,653,681,498,607,480,346,439,865,1238,1120,781,562,619,444,482,1144,1276,1256,1362,1015,533,408,607,867,976,1030,785,447,322,498,1140,1098,1436,1166,683,1126,1498,1516,1614,1394,1104,1304,1444,1378,1322,1278,1042,946,1114,966,916,638,615,1070,1122,886,819,947,1346,1216,1120,1010,1086,1326,1542,1472,1146,1120,1013,1028,1021,1126,1204,1184,1228,1398,1320,1440,1566,1472,1368,1048,734,747,1026,924,1062,1150,1190,1184,1096,849,686,1074,1578,1562,1216,1016,695,435,741,1070,1100,1180,1028,583,848,1258,1194,1062,1204,2414,2288,932,521,739,1248,1688,1462,1124,1060,1244,1494,1304,1238,1838,1928,1898,1880,1688,1820,1824,1564,1532,1548,1460,1286,1368,1628,1592,1574,1640,1614,1580,1580,1420,1404,1444,1406,1532,1510,1514,1556,1506,1498,1630,1610,1406,1658,1692,1554,1566,1542,1562,1740,1808,1708,1566,1492,1522,1566,1824,1872,1360,765,625,1030,1310,1444,1642,1418,1360,1232,1290,1418,1194,1007,959,545,482,954,1300,523,481,456,706,1246,1196,1048,980,715,452,378,423,608,1026,1178,1334,1216,1044,1028,1246,1220,1356,1710,1634,1234,1148,1344,1476,1464,1504,1512,1664,1750,1720,1632,1572,1454,1188,966,1114,1222,808,691,865,2774,3108,2066,1410,1264,1194,942,1148,1952,1784,1048,1306,877,611,641,990,758,658,602,554,610,1216,1780,1576,1460,1222,934,929,695,774,962,908,854,1090,1150,1013,826,916,1134,902,889,885,977,1176,1156,1218,1196,1094,1126,1180,1246,1290,1228,1154,1164,1184,1216,1100,1096,1322,1024,1140,1414,1246,728,738,780,572,936,1122,1138,1146,1019,686,651,832,930,1280,1414,1116,943,918,910,819,843,884,814,613,1454,1672,1476,1368,912,1004,1023,1218,993,811,873,987,953,1082,1152,956,1034,1162,1036,1168,1226,758,399,538,937,1080,1048,1176,1028,819,975,1050,1062,1204,1224,1080,1160,1204,1152,1366,1516,1384,1318,1276,1260,1196,1268,1458,1015,946,1072,1054,841,1168,1088,1208,1218,1510,1594,1126,804,932,1212,1072,852,950,1164,1176,1188,1212,1082,852,566,613,843,709,535,451,686,1180,1342,1196,750,485,445,571,644,582,492,460,512,698,913,1212,1244,1200,1042,1300,1432,1086,720,651,1003,1368,1248,1344,1154,924,1036,1330,1414,1324,1456,1574,1384,1524,1384,864,857,672,697,907,943,854,963,1076,932,1019,1298,1440,1452,1224,1274,1250,1386,1446,1308,1260,1160,1250,1438,1350,1130,1086,1138,1316,1478,1438,1240,1254,1298,1326,1648,1490,1094,1062,1332,1476,1506,1562,1252,1202,1694,1590,1270,1158,1196,1274,1234,1292,1448,1464,1370,1354,1384,1242,1202,1176,1118,1028,1456,1472,1314,1290,1300,1262,1152,1294,1410,1528,1654,1538,1512,1576,1618,1418,1550,1306,963,1188,1286,772,714,1028,1626,1902,1594,1204,905,1050,1316,1023,1108,1416,871,690,901,896,1022,910,944,1002,1586,2200,2334,2050,1840,1880,1970,1252,543,653,1326,1484,1120,987,1692,2272,1954,1252,983,1358,1636,1494,1230,1236,1240,1340,1346,1374,1482,1738,1782,1458,1190,1108,971,1052,1003,598,456,662,703,554,691,716,574,712,1152,1298,1504,1456,1456,1282,1426,1480,1058,1004,1256,1106,1220,1376,1398,1416,1344,1272,1023,729,465,448,845,1080,770,849,1276,1280,664,424,751,1318,1410,1146,1156,850,694,969,1324,1362,1338,1100,807,1016,1006,729,901,1204,1300,1456,1144,564,500,874,949,619,902,1308,1000,629,727,550,443,864,684,536,787,979,870,639,1200,1498,799,692,595,478,751,767,602,495,789,821,564,617,1160,1714,1478,1712,996,701,812,558,392,605,780,851,1188,1454,1532,1368,1372,1472,1174,1346,1484,1344,1476,1600,1682,1186,559,592,768,800,875,1140,1180,893,1262,1642,1892,1510,1170,1003,732,483,496,740,852,599,566,665,557,868,761,1050,1428,1154,1154,1344,1176,1178,882,669,631,820,1052,802,493,415,472,553,859,1146,974,730,718,666,879,1072,1198,1256,1002,1044,825,526,713,1224,1178,883,853,1274,1266,1864,1620,891,908,1098,1148,1076,1194,1472,1548,1172,907,890,1228,822,650,783,1084,1406,1502,1282,838,760,1396,1508,1370,1318,1414,1332,1400,1478,1234,1152,1750,1754,881,873,1798,1992,902,862,1442,1400,1418,1520,1558,1792,1814,1528,1168,1064,1266,1354,1296,1382,1466,1556,1562,1182,897,999,1184,1188,1172,1190,1494,2544,2836,1926,1660,1422,1328,1172,631,1066,1434,1372,1792,2180,2024,1822,1880,1838,1656,1086,1082,1326,1406,1484,1336,1202,1352,1510,1448,1268,1290,1328,1600,1892,1582,1216,1346,1426,1448,1278,1362,1600,1406,966,865,798,902,1208,1316,1156,880,760,829,850,711,504,739,1070,785,978,998,763,960,1234,1246,1252,998,794,741,755,733,756,789,769,625,705,1286,1358,854,684,960,1464,1666,1642,1772,1958,1820,1752,1732,1608,1704,1576,1118,1416,1666,1636,1414,1598,1650,1626,1566,1618,1700,1600,1516,1384,1384,1462,1610,1454,1346,1402,1280,1268,1556,1246,1054,922,760,862,900,777,1134,1254,1003,1194,1446,1250,1084,1212,1108,1412,1316,1040,1384,1484,1118,744,1034,1594,1674,1556,1574,1422,1334,1178,770,554,1007,1402,1444,1216,961,655,487,686,1094,1196,1144,1004,1005,966,948,1100,1146,1112,1082,882,795,970,933,944,1052,1074,1060,1298,1338,1266,1234,1308,1302,1118,968,1030,868,570,433,487,700,982,1284,1216,1126,935,966,1015,786,802,966,930,851,1330,1896,1450,1188,1420,1538,1510,1456,1412,1316,1136,1274,1252,1048,1010,1038,1078,1302,1312,1094,925,1060,1180,1010,1076,1226,1204,1158,1248,1382,1454,1420,1228,1036,1176,1338,1226,1194,1136,1188,1378,1112,1338,1038,1220,1390,1324,1294,1170,998,988,1182,1108,931,890,918,1064,1858,2130,1462,1292,1422,1186,1304,1340,1304,905,1030,1368,1228,1100,957,963,1192,1036,1046,1118,879,716,757,1094,833,885,1002,1190,1272,1088,1132,1234,1012,1078,1062,726,536,766,1226,1242,1018,904,1106,1338,1286,1152,1326,1054,788,922,914,783,622,670,797,1088,1042,1009,1122,1138,1138,1356,1356,1300,1348,1142,851,1080,1294,1234,1162,1058,1118,1060,1158,1202,1212,1484,1666,1526,1372,1046,632,617,866,1344,1526,1744,1616,1520,1716,1478,1442,1448,1570,1942,2168,1426,892,778,596,401,335,328,325,345,381,430,1038,1614,1548,1564,1412,1830,1870,1306,1114,1086,729,671,710,987,1458,1426,1186,1310,1360,1270,1322,1236,1206,1124,1132,913,745,871,743,695,934,1034,672,599,740,937,1394,1520,1716,1594,1306,878,551,859,1132,1021,613,827,1704,1560,1062,1444,2204,1600,709,554,568,573,560,622,1028,1384,1206,973,1216,1518,1582,1506,1536,1560,1536,1272,855,653,736,524,391,404,347,626,872,944,1330,1720,1656,1494,1504,1592,1266,1300,1452,1550,1274,885,574,388,354,350,419,727,998,939,1224,1038,850,817,959,977,999,883,579,499,568,840,867,891,1007,1148,964,749,1042,958,614,498,796,938,744,663,672,1152,891,716,699,986,1478,1230,902,863,666,847,727,478,490,502,900,1652,1876,1380,843,527,505,671,830,836,641,532,574,460,305,296,319,320,306,316,336,332,386,372,430,456,523,652,1090,1312,1040,843,983,1188,988,784,991,1220,1086,608,553,852,1034,1136,861,850,818,672,845,1096,827,780,1112,1348,1274,1238,1038,1228,1422,1668,1450,1174,1040,761,636,860,1136,1272,1358,1300,1190,1164,1104,1084,1244,1474,1502,1428,1288,1046,1142,1202,1024,1088,1120,1248,1396,1576,1428,1060,798,991,1434,1522,1560,1440,1322,1456,1134,978,1328,1448,1624,1860,1434,1202,1082,954,689,419,411,1036,1534,1322,825,988,1302,1108,914,973,1024,774,733,583,557,573,1072,1180,1260,1566,1528,951,419,516,568,768,1007,827,672,938,1278,1878,1486,1234,972,601,940,1252,1066,1158,1116,1266,819,761,1138,931,606,542,722,1108,1212,916,1290,1542,1606,1438],[1062,1024,1248,1396,1320,1254,1712,1344,974,1212,1244,983,774,1148,1566,1440,1190,1300,1286,930,732,1186,1460,1494,1388,1218,1158,1384,1508,1290,1230,1130,1378,1338,1246,1354,1288,1086,695,601,854,1216,1400,1498,1450,1260,1346,1070,958,1172,1048,989,1092,1114,1188,1166,703,630,817,1158,1262,1370,1362,1214,749,583,852,1116,1238,1072,739,532,559,646,577,433,534,655,783,659,512,449,550,539,570,878,978,896,814,1086,1090,1064,1066,919,688,636,453,288,310,383,526,885,1152,1334,962,506,388,408,419,570,462,427,577,683,885,1032,1294,1304,1064,1188,800,486,363,361,348,343,323,465,964,1204,906,1092,898,996,1362,1030,466,334,436,515,498,614,880,932,1130,1440,1312,1326,1272,978,965,944,739,816,1016,874,523,771,1102,1486,1310,1188,875,571,318,473,662,653,694,561,379,465,556,1009,1208,1202,787,866,825,971,1152,1034,552,348,379,775,1134,802,750,650,709,813,847,962,1122,1162,1192,1012,741,923,1348,1044,1230,908,446,411,423,520,639,738,842,750,721,628,495,442,546,388,357,518,996,1364,1376,1350,1144,623,485,767,1110,1236,1152,774,479,396,455,880,984,1234,893,374,634,1114,1460,1440,1098,840,912,763,724,985,1228,1420,1598,1498,1524,1514,1208,1064,1396,1296,1082,1174,1406,1500,1080,1144,1354,1342,1390,1486,1432,1350,1220,1248,1204,1024,1160,1476,1964,1600,1132,1242,1256,1252,1246,1274,1244,1112,919,966,997,1088,1148,1250,1274,1200,944,796,962,1500,1718,860,425,437,620,1080,999,871,1280,1180,899,820,982,1084,1166,1036,1454,1282,676,803,1260,1782,1974,1596,1246,1376,1532,1680,1628,1724,1892,1946,2004,2018,2042,1970,1854,1710,1650,1682,1726,1642,1606,1632,1560,1522,1644,1540,1574,1550,1434,1560,1598,1438,1368,1216,1432,1622,1488,1562,1724,1644,1628,1710,1556,1604,1686,1692,1716,1832,1832,1726,1766,1740,1604,1556,1604,1616,1698,1444,1310,1480,1540,1642,1802,1604,1190,1176,1324,1374,1382,1256,1270,835,620,637,623,477,503,569,960,1388,1274,858,703,697,560,428,473,971,1616,1884,1258,1015,926,604,856,1296,1534,1758,1648,1484,1586,1700,1766,1632,1542,1576,1616,1422,1350,1484,1276,1284,1206,1090,1304,1166,805,719,604,1416,2202,2062,1456,1222,926,711,914,1614,1590,841,1138,1050,655,548,698,610,486,497,474,550,1230,1916,1600,1606,1532,1116,882,835,1202,1522,1410,1296,1398,1082,1076,1007,1240,1116,936,837,850,954,1170,1240,1108,987,1284,1578,1542,1318,1390,1116,1120,1276,1274,1182,847,997,1332,1240,1264,1368,1112,504,580,545,555,1042,1190,1064,787,533,486,783,1090,1114,1278,1376,1088,921,837,582,410,461,828,821,684,1366,1778,1820,1352,1108,1104,1120,1030,892,613,421,438,451,516,540,719,1086,971,827,1009,1128,789,623,678,672,640,690,794,863,977,1156,1350,1466,1578,1534,1400,1050,934,907,941,1198,1222,1150,1204,1070,989,705,1026,934,789,984,834,632,774,629,658,1112,1470,1256,828,750,1082,1026,933,734,880,1090,863,796,844,826,633,368,517,718,611,511,435,474,969,1272,1380,1214,751,453,534,616,648,544,536,623,949,922,1206,1350,1294,1322,1356,1330,1218,792,719,1154,1520,1360,1558,1354,1013,1140,1476,1468,1348,1378,1300,1226,1390,1372,737,832,918,928,1042,1070,1218,1492,1216,1180,1244,1336,1286,1534,1176,1234,1362,1544,1436,1260,1268,1252,1136,1118,1324,1262,1024,1154,1034,1094,1384,1210,1268,1358,1384,1498,1320,1144,1182,1210,1192,1358,1516,1476,1386,1476,1338,1252,1138,1268,1480,1516,1566,1436,921,808,1222,1470,1256,1144,1222,1262,1196,1370,1354,1294,1300,1332,1362,1232,1188,1023,824,1090,1260,1422,1658,1444,1496,1788,1544,1382,1306,938,543,850,1418,1434,1272,1132,948,836,1066,1392,1238,1164,1818,1678,1052,1570,1346,1038,946,1434,1306,1124,1542,2142,2302,2174,2046,1986,1498,1172,1056,1326,1522,1366,1214,1184,1658,2184,1924,1026,775,1020,1366,1430,1282,1240,1180,1032,1126,1370,1540,1566,1340,1412,1422,1340,1250,987,656,425,444,457,683,1104,1522,1240,830,823,960,1196,1666,1688,1562,1590,1444,1470,1594,1556,1476,1364,1218,1354,1676,1466,1056,828,579,672,1017,1490,1620,1232,747,642,769,464,532,1366,1790,1626,1496,1526,1394,1116,991,1154,1540,1484,1428,1300,1023,729,483,497,538,642,1286,986,438,730,1024,1018,902,1226,1252,1023,569,533,744,493,542,534,655,805,702,783,976,1372,1548,1296,770,670,706,794,793,824,785,768,587,484,364,461,572,448,993,601,440,481,395,380,495,404,407,648,1086,1190,897,1104,1240,1404,1354,1362,1344,1144,1256,1460,1204,1122,1554,1626,1404,961,1001,1038,928,1200,1482,1586,1318,841,648,452,422,526,897,1248,691,491,1256,1844,1506,1010,1260,1448,1138,1428,1510,1394,1186,1180,1096,1138,1214,1252,1092,778,788,915,1188,1162,1152,1130,748,642,633,1452,2020,2000,1498,1352,1216,824,703,901,1122,1234,1312,1292,1520,1504,1422,990,678,480,449,605,891,926,891,871,959,1102,924,1356,1374,959,770,791,1164,1450,1270,1160,1246,1440,1006,1364,1374,1332,1190,1238,1416,1488,1690,1746,1494,1398,1670,1796,1340,1086,1190,1490,1454,1324,1630,1856,1848,1776,1400,938,1024,1302,1284,1374,1444,1394,1336,1658,1602,1578,1534,1306,1176,1138,1228,1578,2342,2454,1976,1746,1332,1476,1180,979,1472,1420,1390,1952,1940,1672,1892,2060,2136,1908,1516,1476,2170,2052,1434,1172,1222,1200,1132,1312,1430,1364,1338,1242,1440,1440,1100,1162,1300,1104,904,990,1180,1426,907,854,992,1296,1262,1226,1124,878,564,518,658,675,614,1258,1262,910,855,723,838,977,830,977,1088,1030,924,738,736,694,724,811,811,810,692,1210,1338,982,907,1262,1578,1632,1722,1972,2054,1874,1936,2018,1842,1704,1296,1178,1526,1708,1516,1518,1764,1766,1752,1620,1554,1608,1460,1466,1352,1290,1376,1462,1344,1152,991,635,811,1166,681,684,889,872,908,920,693,746,914,867,873,1168,1220,1358,1366,1298,1450,1332,1482,1590,1528,1344,1144,1274,1470,1394,1466,1472,1304,1274,1176,751,619,917,1402,1584,1418,1106,786,625,707,877,993,943,955,1028,884,811,1021,1158,1130,1296,1318,1058,1210,1076,1198,1226,1076,1108,1330,1442,1296,1098,1136,1212,963,624,591,563,695,935,1116,1302,1410,1236,927,692,589,626,597,629,872,1172,1262,1266,1698,2200,1750,1300,1388,1482,1504,1428,1420,1428,1206,1186,1196,1052,1010,996,1116,1240,1244,1180,1118,1390,1238,1236,1176,1192,1240,1308,1376,1416,1612,1504,996,1024,1218,1376,1220,1094,1238,1164,1082,1164,1268,1118,1490,1984,1888,1570,1554,1346,1013,993,912,1021,868,565,753,1458,1792,1280,885,1322,1314,1378,1192,1348,1204,1138,1260,1232,1138,1046,1242,1322,1118,1170,1086,1272,1336,1204,1432,818,803,1136,1398,1282,898,969,1122,1062,1152,1184,946,932,1062,1164,1054,1116,1240,1208,1176,1012,1206,1292,842,821,781,566,481,478,932,1042,1136,1072,1009,1214,1188,1198,1396,1256,1023,888,933,1032,1264,1478,1294,1024,1015,1118,1102,1168,1204,1294,1222,1001,1172,1312,1442,1238,882,1040,1488,1454,1446,1496,1510,1404,1500,1360,1476,1462,1686,1408,844,588,624,480,247,286,337,298,328,363,485,1410,1904,1810,1408,1384,1836,1726,1068,955,828,609,709,780,960,1256,1348,1488,1252,1268,1488,1356,1274,1240,1090,1150,819,549,594,765,714,691,908,722,552,700,1180,1222,985,990,1158,1064,641,402,767,1310,875,609,883,1188,1206,1140,1340,1748,1470,869,490,350,365,429,647,1256,1374,1124,1088,1080,1146,1384,1510,1486,1500,1544,1516,1380,1000,950,661,404,432,413,379,394,385,589,1168,1714,1550,1584,1396,1180,1376,1648,1560,1170,1162,919,510,368,397,711,734,572,924,1310,1048,773,794,1015,797,1034,1284,945,731,966,1138,955,733,531,689,790,694,593,909,846,521,644,915,1126,993,770,1032,1104,836,504,677,1023,724,668,821,773,1338,1340,1202,1072,830,798,1278,1642,1278,906,610,538,719,846,581,461,701,1052,880,456,305,298,315,308,277,306,295,330,364,467,490,587,831,1072,1005,1008,1298,1156,872,791,804,1328,1120,799,730,1002,1456,1450,1266,1118,971,1022,1242,1180,854,610,727,1130,1394,1268,962,948,1234,1284,1440,1544,1342,1054,881,634,711,799,1276,1682,1656,1600,1460,1240,938,878,1164,1464,1660,1510,1344,1298,1416,1228,880,796,898,1004,1256,1100,932,750,1070,1144,1412,1454,1532,1498,1318,1182,1216,1338,1418,1638,1632,1318,1274,1336,1208,890,694,766,1376,1704,1332,820,876,1104,896,755,762,702,639,590,491,556,753,1076,1280,1522,1748,1598,1056,558,662,833,1046,1056,767,882,1116,1144,1180,1034,926,1007,1086,1350,1582,1364,1250,1004,804,779,928,1004,1050,750,622,507,753,1074,1120,1808,1428,1616,1508],[893,653,1124,1438,1252,893,1126,1056,1008,1112,1292,1290,792,932,1292,1278,1206,1452,1098,872,1222,1450,1234,1154,1126,909,1009,1572,1644,1188,1046,948,1300,1406,1316,1320,1362,1256,1202,1362,1418,1394,1250,1404,1254,1174,1144,893,967,1130,1008,1034,1154,927,991,1066,666,601,825,1196,1350,1470,1378,1054,616,625,831,827,1080,1340,1172,752,539,609,572,446,384,386,344,349,413,456,561,930,803,1024,1278,1130,860,1148,943,1036,1150,702,555,988,816,600,897,1042,807,905,1242,1758,1660,815,429,375,305,367,455,521,725,1046,932,1132,1436,1314,1192,1015,833,679,451,372,354,367,466,832,1204,1714,1220,766,961,1476,1376,674,358,339,372,423,477,421,543,764,1402,1434,1058,791,1108,1242,1138,918,879,870,1086,886,606,833,982,1260,1396,1007,763,774,547,387,394,439,394,472,700,873,1044,1060,1452,1268,1210,1276,1132,1086,1096,921,431,344,375,623,935,882,917,1148,1174,1256,1368,1462,1548,1470,1418,1070,923,1118,1318,858,725,594,395,478,576,586,739,1308,1560,1216,537,406,361,334,404,389,406,375,697,1250,1576,1688,1250,465,371,979,1054,1022,694,533,526,537,527,689,860,778,618,547,800,1354,1768,1016,743,684,707,624,464,531,622,801,1196,1444,1412,1534,1600,1538,1466,1388,1576,1642,1690,1732,1684,1578,1454,1316,1532,1630,1546,1650,1632,1554,1542,1614,1836,2148,2182,1620,1576,1372,1188,1272,1294,1310,1520,1450,1013,1046,1128,1086,1330,1458,1208,1102,996,1102,1388,1994,1736,1122,583,507,818,904,535,814,1250,964,1208,1246,1116,1100,1050,1104,1090,919,882,1268,1600,1800,1822,1692,1642,1660,1730,1826,1784,1702,1710,1758,1754,1824,1660,1354,1156,1042,1434,1528,1528,1426,1206,1294,1166,938,1288,887,814,1102,1350,1316,1552,1510,1372,1262,1272,1156,1004,1260,1478,1552,1652,1544,1416,1312,1240,1346,1376,1294,1296,1328,1492,1570,1476,1494,1604,1608,1628,1670,1670,1642,1634,1664,1708,1666,1644,1670,1648,1550,1644,1616,1674,1460,1112,935,937,912,763,763,1254,1648,1304,772,732,926,835,615,553,1082,1758,1910,1474,1326,1178,1016,1246,1398,1550,1694,1660,1660,1682,1664,1600,1406,1434,1500,1362,1196,1316,1544,1310,1456,1410,1428,1232,866,891,960,815,1032,1780,1802,1388,1274,1124,882,875,1288,1334,906,1058,1154,860,511,572,572,502,436,459,583,1144,1636,1578,1642,1642,1332,1060,1438,1698,1408,1244,1186,1410,1124,1356,1204,1268,1218,1066,1194,1272,1164,1114,1084,1034,760,1196,2374,2016,1482,1440,1060,1126,1246,1222,1134,957,979,1168,1332,1178,1124,1196,817,554,419,623,1174,1248,783,664,703,479,768,1092,993,929,1224,1108,1024,895,599,442,502,550,447,493,1100,1096,1324,1150,1406,1240,1110,1042,915,670,450,391,442,515,577,788,976,785,832,955,984,976,922,930,905,869,961,1290,1440,1284,1610,1898,1224,920,1150,1178,690,597,722,845,1080,1076,997,1346,1200,1324,1122,1148,981,702,853,923,788,607,401,432,682,896,791,886,971,1046,832,1090,909,841,1030,901,577,441,592,538,482,628,705,596,556,509,421,835,1354,1520,1398,998,525,537,554,686,673,651,697,648,712,865,791,606,494,573,872,1062,952,1015,1152,1376,1400,1478,1494,1212,1058,1240,1396,1384,1216,1134,1170,1230,1352,1062,1086,1192,1198,1104,1224,1918,1770,1022,1274,1226,1244,1230,1586,1362,1324,1384,1484,1462,1256,1286,1318,1036,867,1202,1464,1182,1224,1248,1482,1500,1500,1354,1232,1204,974,1022,1282,1380,1410,1380,1316,1466,1700,1476,1188,1290,1310,1324,1384,1542,1478,1346,1180,859,723,1284,1620,1360,1180,1302,1218,1064,1106,1284,1204,1238,1524,1670,1278,1003,800,694,877,1114,1288,1222,1294,1378,1176,1096,971,871,833,641,979,1438,1032,842,821,755,1009,1446,1766,1722,1478,1568,2092,1724,1790,2054,1590,1092,1244,1472,1250,1098,1642,2204,2264,2066,1822,1150,565,587,809,783,653,434,524,1024,1688,1992,1338,636,780,880,1178,1314,1360,1274,1098,1116,1192,1338,1466,1742,1834,1458,1556,1568,1542,1350,884,478,378,417,833,1654,1814,1256,781,806,571,801,1628,1664,1582,1552,1606,1636,1478,1288,1336,1246,1356,1808,2200,1360,1152,1202,1040,1138,1448,1362,904,381,376,561,454,639,1376,1620,1536,1556,1636,1418,1302,1174,1062,1410,1050,909,963,1194,1220,977,869,666,599,849,729,788,1114,599,683,896,1002,949,1032,772,561,647,460,457,697,987,915,555,723,890,1092,1414,1508,929,698,594,390,536,703,600,839,724,576,455,401,440,513,702,539,373,429,582,966,741,385,595,620,750,1072,1362,1190,895,1030,1182,1472,1376,892,977,1166,1110,1158,1598,1964,1470,970,1003,844,717,1060,1444,1152,812,703,664,395,390,569,665,876,880,931,1736,2622,2446,1788,1728,1720,2540,3206,2712,1766,1206,772,536,777,989,1306,1290,1202,1388,1882,1638,1218,1312,1426,1324,791,990,1788,2258,2040,1368,1548,1078,1032,966,879,915,741,695,893,1178,1650,1574,880,489,349,283,281,325,470,662,657,984,1468,875,587,1138,1454,683,732,2612,2646,1570,1358,1352,1476,1338,1240,1258,1236,1168,1318,1452,1332,1580,1602,1610,1666,1920,1944,1632,1632,1342,1524,1620,1406,1566,1698,1984,1930,1296,1230,1058,1192,1028,1250,1482,1518,1560,1502,1582,1952,1686,1208,1166,1270,1192,1428,1676,1872,1982,1772,1388,1526,1576,1732,1960,1798,1770,2132,1738,1746,1802,1630,1548,1704,1792,2004,2460,2100,1532,1228,1308,1152,1436,1482,1346,1444,1346,1364,1380,1448,1360,1210,1306,993,893,1112,1322,1510,1222,1110,1248,1258,1138,1144,1114,863,675,714,614,789,1332,2330,1402,886,743,800,850,690,647,825,1021,867,946,892,675,702,715,831,1106,952,648,1036,1368,1348,1302,1494,1536,1278,1542,1804,1902,1856,1826,1806,1642,1454,1248,1488,1646,1486,1418,1772,1818,1782,1826,1548,1198,1174,1196,1180,1260,1290,1248,1186,1198,1054,619,623,1058,1248,1128,1358,1380,1092,1190,1276,1058,1048,1021,982,1196,1584,1668,1632,1452,1354,1466,1610,1708,1676,1554,1412,1322,1384,1396,1230,1306,1236,987,1038,1076,905,822,957,1210,1314,1268,1184,1196,1150,1005,1044,1158,1078,999,1001,763,574,732,1028,1024,1206,1360,1318,1336,1106,1138,1212,1164,1170,1312,1282,1158,968,893,724,486,381,473,756,1104,1328,1322,1250,1190,1180,1116,846,597,598,763,894,1040,1160,1256,1422,1592,1654,1530,1488,1636,1342,1322,1312,1230,1124,1032,1098,1236,1230,1036,952,1102,1126,1182,1110,1017,1378,1348,1354,1250,1202,1168,1104,1222,1376,1544,1498,1324,1158,1236,1384,1224,1026,1224,1246,1494,1620,1206,1068,1418,1654,1498,1232,1588,1538,1606,1274,1172,1136,1160,924,472,709,1562,1776,1214,1632,1842,1350,1272,1228,955,974,1266,1294,955,927,1142,1184,1332,1426,1514,1714,1418,1338,1404,967,730,922,1190,1166,1160,1244,1158,1212,1272,1408,1428,1412,1230,1164,1152,1194,1224,1148,967,899,1144,1076,818,743,506,543,659,539,847,1170,1246,1208,1174,1018,1104,1228,1236,1060,1086,902,960,1210,1326,1304,1284,1296,1306,1316,1146,1090,1188,1222,986,881,1240,1542,1504,1448,1376,1534,1860,1820,1384,1488,1390,1272,1484,1262,1364,1584,1368,1052,1218,1144,912,409,342,395,401,391,410,371,606,1050,1490,1664,1332,1274,1498,1654,1510,1256,747,491,567,780,872,903,1388,1584,1292,1202,1312,1324,1250,1160,1194,1028,686,540,649,730,535,484,544,553,438,614,1094,1260,1013,1294,1294,1186,1002,769,875,981,780,506,850,1194,1062,1080,993,1128,1114,922,614,378,367,536,805,1170,1007,746,959,1094,1170,1478,1412,1288,1422,1616,1584,1250,720,499,421,397,394,350,371,424,425,470,750,1118,1384,1448,1212,1044,1244,1358,1274,1196,1408,1228,879,577,785,995,760,542,854,897,792,746,843,1021,882,1184,1244,814,769,928,1162,1146,877,774,709,879,927,743,756,750,449,730,1224,1412,1472,1328,1322,1286,994,697,821,1048,824,870,996,637,1152,1216,801,868,1018,680,867,1412,1224,1092,752,492,623,669,658,873,1272,1494,1152,689,376,319,350,402,414,391,307,325,401,451,596,818,880,866,825,927,1314,1228,835,564,626,1184,1052,918,821,1226,1512,1320,1484,1712,1428,1288,1334,1172,665,650,1072,1120,977,930,791,875,1222,1248,1518,1658,1356,1088,756,810,1116,968,1060,1368,1540,1394,1009,957,758,655,713,1278,1598,1512,1382,1376,1396,1302,819,836,1234,1136,998,800,990,1114,1366,1028,1168,1300,1294,1028,671,704,908,947,1318,1342,1220,1428,1364,1228,1066,996,797,878,1192,1216,847,452,569,645,536,518,694,561,477,602,753,883,1013,1044,1108,1312,1670,1434,1166,713,811,1058,1352,1330,1174,1266,1174,1160,1614,1476,913,1098,1362,1484,1582,1556,1410,1182,867,894,987,1072,1164,651,577,468,544,964,1234,1390,1416,1628,1532],[1134,1200,1274,1482,1410,1204,1130,1102,1156,1168,1348,1432,1248,1390,1436,1316,1220,1076,1216,1184,1296,1412,1090,1011,1050,739,1012,1508,1604,1444,1000,835,1066,1230,1252,1180,1200,1372,1402,1284,1308,1158,980,1164,1019,1168,1196,993,926,978,861,741,736,547,509,733,777,682,1013,1204,1204,1302,1432,1064,531,677,1146,974,1136,1272,1198,1044,722,494,463,403,390,388,391,432,489,558,488,971,912,912,644,688,812,866,1007,1230,1196,906,582,738,1108,1108,1036,1062,811,743,1082,1152,1018,838,587,516,435,744,976,824,546,872,1090,1326,1228,1040,1126,1108,968,817,568,424,359,381,522,922,1362,2090,1716,1316,1730,1648,901,344,354,348,341,396,518,592,775,657,891,759,756,827,988,1092,1001,821,946,814,795,924,821,1062,1208,1278,1458,1166,734,616,760,895,919,807,677,1092,1310,1052,880,791,585,462,893,879,873,1016,929,608,434,545,666,701,813,981,1066,1106,1132,1146,1168,1310,1354,1270,1086,860,1032,1408,1744,1354,1130,975,960,1172,665,323,695,1426,1334,839,396,396,382,393,412,370,375,384,551,1136,1354,955,708,468,412,708,819,555,286,409,588,629,656,790,907,826,923,1036,1182,1522,1524,861,623,656,662,559,578,933,1204,1140,912,869,826,1174,1152,1100,1220,1166,1186,1620,1718,1494,1294,1166,1170,842,1116,1382,1478,1452,1406,1498,1604,1874,2036,1946,2270,2252,2114,1614,1326,1262,1260,1234,1300,1262,1066,1098,1032,961,1396,1566,1404,1266,1240,1278,1742,1870,1550,1164,807,843,1312,1470,1060,1072,1124,1202,1714,1678,1504,1412,1302,1248,1188,1232,1310,1516,1550,1532,1538,1558,1470,1356,1286,1228,1302,1242,1192,1128,942,890,937,889,986,954,869,821,1034,1272,1240,1048,1019,983,1390,1180,1294,1440,1324,1166,1470,1658,1522,1130,1154,1112,988,1302,1318,1366,1594,1624,1372,1134,1312,1508,1168,1078,1388,1108,1038,1224,1210,1252,1262,1412,1440,1420,1374,1428,1406,1340,1350,1384,1466,1434,1464,1410,1692,1690,1628,1552,1552,1592,1600,1558,1464,1454,1586,1602,1442,1294,1044,855,1164,1220,1104,1338,1556,1578,1632,1516,1462,1530,1626,1618,1634,1690,1676,1660,1646,1434,1228,1106,1220,1346,1094,1206,1084,1130,960,1350,1294,1290,1164,849,874,1042,792,786,1038,1126,1220,1196,1050,985,997,1200,1224,962,902,1032,803,581,620,553,456,435,533,752,882,1174,1444,1622,1736,1334,1016,1350,1160,817,975,1088,1344,1256,1476,1466,1268,1238,1218,1144,1202,1144,886,849,974,1150,1418,2098,1610,1448,1304,1040,1108,1214,1198,1202,1154,914,866,1288,1244,1164,1356,1266,735,504,642,1026,1434,1228,1224,1162,644,608,827,965,771,1130,1246,1078,1146,891,462,541,446,370,419,789,649,683,1110,1520,1286,1280,1424,1252,889,386,389,430,413,562,608,521,615,946,1134,1007,794,742,805,896,935,775,832,1074,957,1088,931,454,282,551,694,630,683,928,1024,1240,1390,1312,1388,1332,1316,1404,1260,808,550,486,572,654,506,352,468,669,562,863,1016,915,673,599,812,752,672,747,620,505,487,552,837,924,840,737,698,707,577,415,682,1286,1634,1316,1052,638,554,501,582,766,863,838,661,598,572,570,562,591,714,831,987,1254,1226,1130,1160,1258,1400,1386,1192,1188,1414,1512,1500,1410,1348,980,1226,1324,1224,1244,1260,1260,1252,1328,969,924,1124,1266,1176,1162,1312,1582,1478,1378,1146,1244,1506,1520,1416,1334,1220,1100,1096,1182,1298,1316,1364,1498,1700,1676,1500,1388,1158,806,1036,1328,1202,1232,1256,1342,1574,1644,1554,1548,1370,1176,1482,1318,1260,1196,1068,1066,1160,1208,1204,1290,1274,1198,1346,1398,1252,1114,1310,1208,1236,1356,1244,1102,1322,1470,1422,1300,1072,882,755,1260,977,706,918,1058,1152,1070,808,1306,1774,1348,1007,560,921,1354,1940,2274,2402,2316,1986,1836,2218,1994,1806,1906,1202,701,1082,1152,883,1070,1648,1924,1592,1226,672,413,393,306,382,434,391,364,585,1180,1266,830,553,949,1012,884,976,1092,1048,1140,982,1080,1288,1172,1094,1126,1332,1626,1702,1604,1532,1380,942,527,423,785,1326,1652,1466,1242,887,552,797,1296,1512,1686,1826,1588,1458,1362,1238,1266,1196,1426,1578,1904,1766,1680,1764,1538,1332,1018,734,589,400,496,961,1046,1512,2064,1682,1262,1328,1456,1392,1278,1026,1208,986,422,250,336,545,903,998,760,837,927,1005,971,1206,875,483,572,923,1290,1358,1264,979,755,584,324,486,628,999,803,532,478,702,1524,1578,1068,913,742,526,544,469,620,943,916,636,515,433,414,488,724,860,468,392,599,893,1304,1028,489,602,893,1182,847,928,1034,775,622,921,1234,1294,747,1100,1222,901,1064,1604,1688,1416,1618,1860,1616,1206,645,640,576,360,827,886,540,545,713,1594,2098,1418,1344,1838,1894,1668,1610,2026,2102,4132,5420,2976,1274,1210,1001,742,487,585,581,884,1360,1490,1710,1698,1456,1398,1348,1460,984,979,1620,1682,846,790,926,590,675,766,996,898,874,859,596,450,763,973,879,540,408,524,385,342,352,557,664,956,891,566,543,902,1384,1250,4780,9696,4108,1642,1500,1488,1450,1386,1180,1054,1470,1554,1346,1492,1246,1150,1212,1506,1362,1414,1542,1466,1512,1230,1276,1520,1426,1412,1454,1700,1854,1892,1750,1552,1220,951,1142,1494,1766,1860,1764,1600,1760,1656,1182,1210,1268,1182,1318,2028,2046,1944,1894,1434,1376,1854,2076,1722,1970,2242,2250,2056,2088,2004,1816,1680,1506,1332,1860,2046,2166,2088,1758,1400,1332,1484,1624,1530,1284,1222,1310,1402,1588,1576,1412,1412,1292,1708,2686,2056,1304,1188,986,866,990,1144,1168,1206,1116,858,805,628,794,977,923,785,708,800,874,706,674,904,1318,1436,685,822,919,714,717,662,708,763,527,704,1222,1416,1350,1204,1346,1486,1370,1354,1502,1672,1718,1704,1684,1562,1248,1388,1710,1708,1358,1600,1736,1754,1830,1864,1534,974,894,1094,1154,1236,1318,1152,1132,1308,1636,1028,795,982,1210,1282,1476,1606,1424,1422,1460,1476,1532,1470,1410,1448,1516,1598,1588,1562,1494,1562,1698,1456,1220,1340,1170,1016,1178,1166,1034,1024,915,831,1034,1098,897,768,1038,1180,1070,1019,1224,1218,1118,1021,856,888,979,1028,1034,831,794,994,1144,1242,1144,1158,1470,1406,1084,1150,1302,1296,1206,1286,1146,1032,684,756,619,479,650,858,891,1032,1316,1148,926,1040,1058,839,727,826,921,1054,1134,1228,1334,1360,1316,1260,1342,1428,1616,1586,1432,1390,1356,1198,1052,1034,1194,1362,1318,1130,1104,1262,1340,1254,1080,1000,1340,1644,1602,1384,1230,1128,1028,1238,1444,1488,1410,1430,1104,1262,1338,1146,1058,1310,1458,1370,1426,1314,1132,1220,1328,1206,1220,1230,1268,1478,1190,1017,957,1244,1158,814,1064,1400,1450,1308,1586,1656,1574,1636,1254,998,1072,1394,1636,1248,861,873,1009,1354,1168,1552,1764,1358,1180,1268,1422,1404,1154,1128,1052,1224,1184,1220,1354,1360,1306,1360,1248,1118,1194,1198,1244,1224,1170,1060,1204,1068,645,865,785,421,615,1000,818,767,1152,1136,1058,1086,1007,1174,1048,1156,1288,1332,1186,1158,1256,1316,1168,1256,1288,966,846,824,1078,1204,1090,1012,1116,1340,1480,1432,1496,1354,1534,1716,1576,1274,1300,1290,1360,1256,1190,1400,1736,1366,1252,1578,1976,2678,1056,554,703,874,865,647,526,761,992,1316,1314,1256,1400,1782,2174,1778,1388,757,530,625,651,771,926,1362,1430,1098,922,834,940,954,948,1092,782,583,518,567,630,630,600,585,513,516,567,626,879,1009,1760,1432,1188,1340,1348,1382,1526,1102,723,1116,873,678,792,827,945,896,791,565,381,492,744,1056,960,570,706,1234,1190,1152,1262,1350,1218,1262,1448,1544,1206,686,354,390,573,738,644,455,456,526,681,638,814,1196,1216,688,498,865,996,880,1021,987,972,1248,1100,724,703,792,796,916,466,429,729,1140,858,758,791,958,956,921,1002,1186,909,631,814,999,999,973,877,640,739,877,1294,1430,1472,1462,1228,1208,1320,1064,1024,1216,1462,986,938,1084,630,447,681,848,916,773,659,730,1288,1402,1362,913,547,618,790,1196,1474,1448,1302,1220,1034,601,403,425,410,503,475,350,369,404,425,486,588,727,733,883,1058,1010,1090,1204,946,1028,1136,971,946,912,926,1176,1076,1500,1830,1382,1166,1200,1124,827,987,1300,1240,1088,920,761,930,1388,1366,1428,1472,1494,1412,1002,1082,1354,1044,761,1078,1478,1296,1090,1026,1106,997,902,1274,1404,1176,1202,1340,1478,1478,1266,1404,1434,946,830,708,1134,1402,1370,1270,1266,1246,1238,866,483,683,983,754,1030,1390,1764,1714,1340,1158,1160,1076,778,602,494,536,515,373,379,453,422,346,359,454,755,827,635,849,1158,1330,1166,1316,1440,1224,1112,822,950,1108,1200,1426,1512,1078,1172,1546,1738,1234,675,785,826,829,1040,1376,1404,1238,1078,1234,1456,1328,1266,1064,685,565,587,841,912,913,1096,1116,1110],[1224,1296,1242,1400,1418,1320,1126,982,894,1188,1506,1454,1488,1596,1350,1060,983,931,1096,1200,1226,1338,1044,1096,1344,1724,1300,1402,1638,1710,1300,924,990,1244,1366,1234,1262,1378,1132,926,988,1058,952,1086,1116,1016,999,933,761,859,670,499,469,504,542,677,674,747,1058,1252,1292,1300,1420,1038,529,874,1456,1436,1196,1178,1190,1210,853,522,455,365,350,357,384,407,476,603,545,543,553,498,439,623,713,791,1144,1460,1156,1026,929,843,999,1076,790,1048,872,599,648,444,664,980,775,760,743,1242,1026,1042,689,439,575,731,689,824,1112,899,907,747,689,610,531,615,1030,1862,2198,2008,1566,1572,2010,1956,1668,634,444,468,400,383,350,445,795,762,554,458,497,868,1124,959,1010,657,858,687,455,960,1214,1480,1440,1322,1588,1268,772,764,1240,1394,1364,1282,1004,1296,1362,1056,1194,1424,1028,697,736,483,715,1376,973,661,859,1116,1200,1001,714,835,940,1094,1266,1290,767,1166,1304,1184,962,691,963,1440,1648,1360,1074,872,900,1290,617,346,396,636,807,755,482,368,383,382,519,594,451,474,506,791,1140,830,514,453,539,534,459,345,296,356,537,678,679,996,1480,896,708,877,822,772,607,545,586,562,689,906,925,1096,1372,1342,738,502,450,847,1250,1168,1338,1240,1274,1464,1236,1116,1038,984,835,722,1154,1128,1000,1018,1150,1350,1392,1454,1644,1776,1766,1752,1560,1412,1562,1560,1366,1256,1376,1560,1456,1502,1442,1666,1298,1056,1554,1562,1522,1602,1640,1490,1042,1040,1170,1332,1450,1426,1412,1520,1532,1638,1604,1438,1324,1288,1354,1266,1158,1032,1046,1332,1350,1170,1158,1070,758,575,664,835,1136,1066,742,628,527,797,1084,1180,1136,1080,1015,672,763,1164,1226,957,1066,1372,1242,1168,1226,1130,998,1338,1776,1562,1200,713,777,872,1023,1378,1544,1526,1428,1438,1240,1086,1180,1262,1112,1052,1062,996,1232,1300,1158,1017,1224,1412,1376,1416,1298,1102,1158,1180,1128,1114,991,946,889,628,808,1138,1154,1130,1190,1294,1328,1388,1500,1604,1344,1380,1442,1438,1001,744,1122,1554,1684,1660,1676,1646,1646,1566,1490,1310,1288,1350,1260,1140,972,1162,1432,1226,1196,1412,1560,1500,1290,1528,1208,1002,844,1106,1228,1228,1132,894,728,798,644,648,785,886,1142,1166,792,613,768,1418,1584,1150,1270,1234,803,550,534,540,518,564,612,671,633,874,1226,1536,1672,1003,901,1154,1130,1198,1318,1308,1224,1122,1132,1108,973,1009,1134,973,902,858,497,774,1160,1130,994,1028,1306,1568,1432,1252,1134,1190,1178,1076,1190,888,797,1212,1294,1260,1434,1166,557,656,1034,1034,1516,1368,1348,1128,734,775,1208,1328,1266,1386,1324,1272,1350,884,540,699,587,624,546,678,895,988,1362,1638,1504,1484,1500,1242,698,375,423,395,397,695,567,381,455,609,904,972,679,480,656,1148,1252,907,900,1130,935,608,354,294,287,319,453,752,990,972,1232,1368,1264,1240,1316,1194,1060,1150,1036,890,675,370,373,416,515,542,777,1102,882,1116,1158,874,717,945,1238,1138,774,461,359,418,635,848,802,609,558,480,561,599,439,496,654,966,1382,1382,1256,899,666,506,485,680,871,809,716,709,750,810,703,680,860,1058,1074,1130,1100,1134,1258,1360,1268,1234,1158,1174,1462,1572,1300,1274,1348,1216,1412,1260,962,1116,1150,1064,973,973,922,1062,1358,1302,1162,1126,1290,1572,1896,1840,1088,1158,1388,1282,1208,1326,1334,1490,1488,1256,1180,1292,1232,1344,1534,1446,1246,1150,1100,976,1132,1204,1116,1122,1164,1238,1226,1440,1650,1736,1642,1416,1264,1164,1240,1462,1366,1238,1154,1200,1220,1278,1360,1332,1398,1484,1446,1342,1390,1182,990,832,793,902,1060,1052,861,667,603,683,1028,1916,1348,1124,1568,1994,1954,1516,1356,2028,2066,2160,1994,1298,1302,1314,1610,1792,2086,2358,2380,2008,1672,1754,2000,1458,818,484,846,1198,904,865,1234,1648,1576,1128,710,623,502,467,524,520,580,449,363,568,439,274,349,748,1132,1202,1070,704,616,1082,1252,1114,1474,1726,1600,1440,1504,1600,1624,1440,1438,1550,1212,1024,673,999,1302,1406,1914,1962,1732,1594,1038,1280,1368,940,990,1212,1424,1456,1026,1362,1704,1694,1682,1890,1824,1612,1512,1128,827,473,458,545,458,545,1430,2020,2098,1866,1170,1146,1334,1224,1194,1106,991,1266,653,284,637,1272,1286,1104,1058,799,705,709,1170,1118,1240,957,740,677,928,1372,1166,891,738,871,890,403,357,408,789,647,778,1058,1358,1562,1372,1360,1446,1144,1116,1158,715,738,926,771,647,639,514,484,475,484,463,413,494,604,1100,1436,805,443,605,1122,1328,942,744,744,623,808,690,637,1015,1142,1570,1528,814,955,1374,1470,1736,1824,1974,2008,1772,965,787,626,473,1160,1338,1246,1190,1064,1548,1384,894,1112,1396,1042,724,1003,1372,1356,3090,3738,1918,1110,1142,843,745,530,827,846,582,1124,1580,1540,1576,1546,1394,1074,1162,1312,1220,1318,1180,633,862,709,675,588,433,388,378,628,985,987,547,394,790,863,614,419,545,585,547,590,414,499,792,800,642,906,1080,1236,1322,4070,5168,2662,2190,1942,1662,1334,1256,1300,1234,1252,1388,1334,996,952,995,1192,1510,1436,1384,1620,1622,1390,1146,1308,1638,1566,1436,1322,1346,1736,2090,1846,1600,1318,1190,1232,1324,1466,1802,1976,2006,1770,1564,1180,1326,1438,1502,1560,1752,1780,1968,2186,1920,1824,2186,2186,2102,2302,2300,2162,2222,2384,2442,2120,1786,1388,1534,1858,1848,1876,2254,2326,2064,1836,1582,1630,1520,1328,1200,1154,1058,1028,1064,1238,1462,1504,1794,2142,1400,972,1206,1180,1144,1814,1920,1354,1194,1334,1116,1070,854,905,952,871,686,728,936,686,628,761,800,735,528,623,733,773,847,750,567,503,401,549,1116,1306,942,724,632,862,941,853,1102,1454,1552,1410,1282,1500,1314,1208,1648,1744,1368,1422,1758,1770,1766,1716,1968,1766,937,823,1074,900,876,1042,1086,1108,1334,2242,1682,907,1146,1390,1484,1510,1706,1562,1364,1368,1576,1650,1398,1296,1278,1348,1252,1056,987,956,1028,1430,1350,1284,1488,1084,806,922,962,909,956,825,742,1013,1038,1078,952,1098,1132,1042,1026,1156,1180,1172,1072,917,1070,1378,1334,1084,926,1010,1072,1066,1124,985,1134,1494,1334,1166,1172,1070,1082,954,995,1284,1138,749,984,1142,1180,1346,1306,996,881,838,737,860,1015,891,840,1026,1232,1156,1124,1180,1214,1252,1258,1306,1374,1520,1512,1642,1338,1174,1322,1328,1164,1114,1144,1336,1470,1362,1130,1284,1250,1258,1306,1116,1122,1394,1442,1378,1240,1208,1174,1190,1312,1400,1308,1360,1360,1070,1270,1466,1294,1094,1286,1408,1230,1522,1494,1096,1050,1015,1064,1258,1154,1204,1052,964,1158,1001,1114,1258,1510,1406,1238,1144,1128,1422,1504,1666,1732,1440,1254,1390,1642,1634,1108,927,1001,1138,1322,1288,1574,1698,1460,1272,1428,2340,2784,1866,1044,885,1023,1206,1238,1184,1208,1208,1246,1190,1148,1272,1204,1116,1110,1232,1194,1184,971,659,838,662,358,529,785,781,918,1196,1250,1064,823,621,791,1020,1272,1390,1342,1464,1334,1118,1166,1270,1394,1186,819,514,754,1204,1134,855,1005,1274,1256,1274,1338,1436,1296,1468,1678,1610,1494,1278,1250,1256,1256,1486,1652,1612,1406,1124,1088,1562,2228,1234,979,1078,1200,1236,1017,841,843,852,1256,1454,1408,1466,1566,1600,1316,886,583,618,707,669,600,728,971,1100,1002,891,935,1222,932,758,758,609,516,404,397,559,686,670,608,488,583,631,466,699,1276,1570,1488,1294,1194,1272,1402,1384,764,551,775,691,530,728,733,503,432,503,539,683,736,857,1208,1164,661,569,916,1058,1244,1256,1244,1342,1330,1390,1396,1440,1214,730,583,709,810,689,581,562,785,1046,855,723,988,931,418,410,835,1144,926,963,1140,1019,1396,1688,1164,897,939,865,682,408,394,566,880,761,728,777,903,924,1015,1142,1194,934,674,774,939,1196,1466,1306,857,959,1186,1092,1040,1244,1360,1326,1094,1140,999,1100,1404,1588,1036,588,477,401,517,1012,1011,623,852,781,847,1138,1218,1426,1116,630,664,838,1344,1372,1090,1136,1576,1408,822,682,614,579,557,360,298,305,317,380,490,511,631,750,968,1168,1038,1154,1234,912,1100,1260,1096,1498,1606,922,1148,1150,1434,1556,1194,1346,1518,1140,741,1018,1152,899,774,811,715,783,1066,1252,1334,1440,1678,1710,1312,1180,1252,1132,1070,1346,1316,943,1038,1020,1060,1172,1036,1164,1288,1248,1388,1494,1462,1544,1600,1638,1080,998,1182,1244,1368,1294,1284,1416,1244,1126,1162,1006,728,1058,1306,1134,1326,1494,1562,1256,1218,1444,1340,1234,1272,857,587,349,334,294,281,427,406,314,308,521,847,792,752,821,1012,905,751,871,1028,892,791,899,972,1108,1316,1624,1406,818,1146,1278,1198,1128,751,536,381,318,566,901,1068,1414,1142,968,1200,1026,1034,1148,979,684,773,987,891,920,755,685,772],[1296,1242,1362,1460,1376,1282,1346,1086,741,1144,1606,1376,1304,1482,1306,1170,1234,998,980,810,913,1062,1098,819,856,1356,1248,1176,1352,1428,1224,1110,1250,1448,1470,1124,1166,1340,1084,778,626,640,741,998,1126,1088,869,809,730,973,625,664,647,590,823,962,706,682,972,1108,1138,1070,1228,890,664,1202,1438,1350,1282,1254,1272,1300,976,542,407,410,390,379,366,366,428,502,487,454,427,379,475,600,555,727,779,1070,1009,1052,1172,781,587,761,605,615,659,761,638,338,348,582,681,647,876,1056,749,1066,1192,816,667,513,495,822,1118,731,1038,866,722,735,868,755,669,1104,1488,1318,979,1076,1486,1568,1362,540,519,664,512,361,308,325,517,764,802,689,740,1010,691,870,1244,1090,894,533,541,828,877,1184,1440,995,829,749,877,1590,1736,1256,1017,922,803,1274,1174,720,771,736,628,609,555,522,745,1376,1220,1152,1236,1116,1252,1070,567,532,738,1384,1172,919,733,828,937,688,488,549,814,1056,948,935,730,484,496,749,465,685,585,437,666,969,772,404,402,382,566,898,726,745,695,534,671,522,334,319,447,497,455,429,451,415,495,612,440,631,896,602,403,309,330,414,484,588,645,680,873,1268,1084,740,780,912,677,565,559,976,1086,843,1252,1114,1224,1660,1144,1015,1116,1013,832,961,1112,1132,1136,1074,1126,1300,1208,1476,1654,1826,1770,1722,1544,1410,1360,1334,1382,1568,1852,1918,1798,1912,1424,1482,1594,1636,1570,1628,1634,1584,1510,1484,1320,1430,1444,1324,1172,1196,1342,1328,1192,1128,811,708,733,998,1210,965,746,713,882,1220,1116,781,850,1040,973,812,772,930,1070,818,571,608,574,742,1098,1250,1158,1106,1360,724,763,1250,1028,1028,1280,1522,1252,1104,1200,1178,1178,1324,1310,1390,1394,950,589,659,1118,1354,1976,1784,1017,1174,1182,1070,1326,1654,1300,907,779,1162,1338,1324,1246,1078,1256,1374,1344,1572,1416,1112,1192,1324,1434,1394,1190,1028,819,727,1000,1028,1050,1278,1418,1212,1178,1478,1390,1210,1108,1090,1128,932,678,675,670,885,1178,1224,1194,1114,940,1098,949,719,591,781,960,695,454,913,1454,1510,1438,1886,1968,1602,1360,1380,1318,1016,841,849,977,1188,1038,857,553,557,528,535,648,814,1456,1408,785,583,1042,1772,1690,1268,1276,1146,860,578,467,543,474,422,488,516,557,752,882,1112,1356,1016,763,900,1192,1290,1394,1290,991,1023,1176,1050,968,708,935,1194,1042,712,749,766,931,1052,1124,1184,1340,1540,1528,1344,1206,1074,1102,1182,1262,1068,1080,1262,1366,1384,1356,1021,1066,1274,1704,1332,1422,1362,1222,1194,1184,1288,1476,1544,1722,1556,1506,1226,1350,1178,1330,1242,755,920,846,455,520,864,1224,1358,1352,1334,1290,1086,527,328,314,329,460,778,833,719,593,677,673,883,908,946,1008,1222,1570,1218,996,1005,959,689,375,352,324,366,473,835,880,953,1376,1284,1070,1202,1290,1230,1248,1184,1046,1072,560,356,334,359,724,660,561,719,1016,1188,974,907,898,913,1120,1001,839,632,384,322,528,767,593,362,405,380,544,694,432,468,531,718,1100,1278,1320,1154,871,708,555,581,738,705,798,903,1118,1021,1036,1172,1310,1430,1354,1210,1218,1180,1256,1334,1394,1288,1236,1296,1516,1480,1050,1008,1478,1682,1512,1234,875,931,1122,1096,892,716,698,1086,1170,968,1074,1120,1226,1478,1616,1694,1412,1364,1440,1260,1376,1316,1202,1366,1436,1436,1472,1304,1114,1268,1220,1334,1282,1188,1090,1204,1214,1106,1154,1226,1364,1432,1262,1576,1664,1726,1406,1300,1238,1118,1282,1528,1556,1274,994,1324,1522,1544,1486,1412,1306,1180,981,800,644,532,473,434,464,522,692,926,965,819,960,1148,1188,1118,1208,1670,1904,1984,2232,1766,1494,2282,2160,2574,2588,2486,2076,1664,1536,1434,1556,1886,2114,1810,1252,1544,1756,1396,850,1272,1244,1320,1510,1410,1576,1666,1280,1136,950,720,599,472,658,660,594,540,495,387,314,359,365,473,713,1228,1178,974,905,1158,927,1272,1964,1974,1804,1798,1660,1660,1688,1474,1514,1388,1224,724,842,1092,1190,1350,1934,2030,2042,1580,989,1250,960,441,391,468,849,1338,1452,1520,1536,1468,1538,1612,1532,1378,1158,602,441,460,811,1002,695,558,1520,2108,1508,1526,1268,1422,1394,1244,1208,1046,1274,1108,425,418,1196,1892,1526,1022,1462,1344,879,466,705,674,538,807,1130,1104,1146,1026,821,958,987,1198,1356,724,383,346,478,852,1288,1290,1064,898,969,1160,1166,1138,1284,1134,935,1238,1492,1356,1050,921,1140,1012,830,771,891,807,759,843,890,737,579,724,789,777,871,886,793,709,514,807,920,601,608,477,836,1204,928,1378,2330,2378,2108,1874,1870,2008,1614,966,665,469,588,1308,1640,1762,1600,1424,1354,1013,769,477,506,563,610,651,451,443,877,879,921,1092,878,500,682,745,959,798,423,752,1104,1362,1566,1676,1582,1456,1362,1094,1228,911,604,815,564,493,664,509,390,362,374,441,524,697,599,453,789,875,819,577,367,393,703,678,409,606,813,851,795,952,1102,980,741,1194,1692,2338,2498,2172,1866,1360,1180,1332,1256,912,1136,1402,1160,1202,1320,1168,1218,1430,1698,1724,1512,1470,1288,1608,1920,1822,1460,1250,1188,1250,1506,1830,1878,1378,1220,1280,1304,1282,1554,1914,2064,1440,1344,1284,1306,1764,2024,1888,1428,1638,1886,1922,2028,2082,2260,2258,2298,2222,2200,2260,2384,2424,2322,1966,1798,1494,1450,1534,1772,1772,1542,1632,2194,2160,1914,1742,1616,1520,1560,1826,1264,1023,1110,1142,1094,1272,1478,1576,1270,839,1086,1304,1448,2258,2226,1604,1396,1454,1288,1278,1104,1042,982,963,896,777,739,709,717,854,936,709,827,848,767,843,940,827,619,376,469,835,1360,1160,571,439,412,546,520,435,590,912,1266,1412,1414,1494,1256,1342,1564,1532,1346,1698,1870,1876,1836,1920,1916,1326,666,717,1130,1052,1228,1040,1030,857,731,1126,1050,1206,1556,1616,1588,1602,1440,1102,1100,1160,1082,1076,1250,1314,1130,1112,962,871,1152,1178,1228,1512,1108,1066,1372,1124,727,888,1062,1098,1042,814,726,1048,1126,1202,1146,1324,1174,922,873,921,1086,1206,1672,1602,1466,1412,1178,797,593,817,930,940,909,954,1236,1264,1008,879,851,899,658,540,716,1262,1482,1412,1376,1284,1198,1156,955,927,1018,775,700,737,753,879,943,1210,1288,1028,1166,1296,1186,1268,1422,1400,1438,1584,1592,1572,1394,1306,1356,1360,1392,1278,1290,1404,1400,1250,1172,1280,1256,1178,1174,1176,1202,1162,1348,1372,1096,1134,1236,1404,1376,1286,1248,1388,1346,1086,1244,1460,1202,1170,1062,1042,1250,1362,1102,1008,980,863,1066,1122,1140,1312,1126,1112,1422,1236,1274,1210,1118,1252,1212,1054,1096,943,865,1224,1634,1598,1678,1766,1514,1212,1032,955,1032,1318,1348,1364,1620,1628,1408,1444,1866,2404,2318,1460,1122,979,998,1272,1392,1244,1174,1246,1118,1060,1094,1282,1278,1262,1106,1224,1188,1214,1080,807,752,575,470,473,546,763,926,733,1110,1058,713,731,1100,1194,1250,1198,1200,1512,1382,1050,1404,1636,1390,1308,1054,541,617,951,1062,934,822,899,1240,1330,1256,1256,1270,1524,1500,1550,1600,1348,1284,1144,1134,1428,1318,1264,1372,1278,1310,1296,1044,679,781,1062,1066,1190,1166,1278,1174,1064,1262,1472,1518,1686,1234,1096,1132,755,619,604,638,684,585,746,1202,982,710,849,1138,1416,1316,1020,635,484,460,439,409,441,513,716,552,623,815,736,652,1050,1272,1268,1456,1390,1318,1296,1376,1156,535,368,392,360,493,825,844,535,361,364,410,717,876,1011,1152,1256,916,631,745,1208,1560,1318,1238,1358,1456,1330,1230,1186,1278,1290,1288,749,524,624,577,562,908,1390,1792,1174,856,592,527,473,580,906,1013,974,910,907,977,1084,820,724,467,509,364,368,420,374,395,648,800,885,1130,928,885,1294,1288,1240,1216,1110,886,1340,1550,1132,980,1172,1352,1448,1372,1078,1130,1054,1136,1030,929,1040,1316,1366,1058,675,350,411,505,774,628,452,824,1156,1370,1212,1098,1476,1250,624,704,689,1001,1246,1468,1522,1366,1104,1144,1054,662,665,522,318,291,285,386,654,759,622,498,705,1002,1054,954,937,808,898,1288,1400,1432,1230,1584,1328,1308,1320,1246,1018,1190,1492,1302,1136,893,962,1120,1084,655,541,656,902,1052,1001,1278,1760,1996,1824,1350,1146,1172,1466,1376,1298,1224,755,553,695,984,1206,1150,1222,1188,1484,1776,1444,1190,1394,1388,1462,1272,1120,1262,1454,1282,1264,1372,1494,1324,981,705,1086,1370,1152,1188,1294,1282,1284,1198,1228,1322,1350,1234,1086,1024,688,615,515,365,300,246,321,397,349,351,669,952,916,1310,927,1056,890,961,934,786,613,755,1036,880,972,1064,1026,957,1080,1360,1120,982,1246,1260,753,335,314,419,664,821,1208,1390,952,978,1074,953,832,1009,999,1084,950,778,941,657,695,991],[1202,947,1134,1520,1452,1172,1384,1192,1034,1154,1274,1436,1662,1794,1436,1362,992,929,1011,939,984,901,969,838,943,948,791,956,1240,1322,1108,1046,1046,1140,1356,1600,1282,1124,1076,785,560,533,647,1019,1162,1248,894,861,1052,1076,772,887,871,974,1312,1114,821,933,1212,1158,1002,752,747,624,797,1234,1368,1288,1228,1222,1256,1300,1088,623,431,382,385,402,365,346,388,411,433,471,368,325,437,558,469,1007,958,745,882,751,619,405,398,440,412,670,971,1124,844,407,339,389,483,732,929,904,918,1142,965,1030,1314,758,948,1240,1214,1064,1344,1224,808,726,755,528,392,637,1142,1194,926,1130,1368,1334,661,360,407,463,421,325,365,432,528,554,576,769,1028,602,449,617,869,1060,974,838,898,1005,780,927,995,778,728,755,1128,1346,1046,976,931,586,624,1098,965,574,543,893,1138,868,537,512,748,1318,1332,1106,1034,849,1034,982,650,523,896,1208,971,833,831,815,740,510,384,391,571,850,775,683,512,416,458,479,574,879,883,638,532,661,658,390,348,347,580,954,1124,886,620,480,435,472,412,413,573,565,464,451,543,440,412,445,432,350,312,343,414,596,745,688,614,646,774,833,818,831,813,865,970,948,667,447,444,682,672,579,1072,1011,1116,1432,1470,1250,1009,827,841,1122,1058,1118,1238,1376,1288,1354,1506,1930,1824,1814,1622,1570,1726,1738,1692,1494,1256,1228,1576,1700,1586,1510,1570,1740,1650,1650,1610,1668,1768,1670,1470,1394,1400,1444,1404,1196,962,824,913,989,843,970,949,1042,1042,1100,1112,929,1002,1150,1252,1434,1168,994,1178,1382,995,810,771,912,1124,865,550,534,524,603,824,968,1482,1212,1388,1106,1148,1708,1426,1154,1206,1262,1160,1154,1398,1400,1310,1280,1390,1588,1598,1086,544,515,988,1178,1358,1340,1108,993,952,957,1180,1438,1112,789,838,1130,1248,1262,1150,1160,1058,1134,1186,1216,877,822,1130,1216,1260,1416,1286,1100,1032,1054,1186,955,1230,1322,1354,1220,1312,1440,1316,1172,1128,979,785,591,740,746,646,514,889,1078,991,874,789,780,865,814,763,1004,1184,897,541,1094,1334,1174,1076,1332,1354,1464,1462,1156,897,719,700,713,1086,1256,675,631,620,494,598,919,1026,1162,1328,1126,835,1068,1438,2292,2250,1642,1072,794,858,704,612,586,470,410,432,453,498,596,676,997,948,907,816,1094,1474,1550,1672,1656,1432,1522,1354,1142,1156,795,878,1092,814,866,1084,1028,1088,1108,1126,1178,1456,1664,1468,1370,1370,1324,1144,1222,1188,1114,1154,1188,1192,1266,1236,1354,1826,1462,1318,1534,1616,1436,1212,1254,1274,1068,1146,1646,2004,1714,1488,1212,1440,1210,1056,893,645,780,819,653,789,1080,1202,1318,1390,1300,1320,1350,1076,879,837,705,650,775,905,916,672,1048,1148,959,766,946,785,669,973,1252,1204,1084,1102,740,562,543,419,387,364,402,486,1024,1354,1098,1020,1168,1224,1220,1220,960,987,853,410,326,357,450,747,622,469,747,1094,845,662,844,1312,1216,1158,1048,1076,952,517,302,368,552,592,351,362,586,969,976,575,438,469,490,841,1094,1224,1242,858,763,744,604,735,794,819,1062,1468,1458,1592,1618,1532,1552,1488,1370,1230,1124,1338,1236,1116,1192,1194,1236,1272,1184,1072,1102,1356,1468,1410,1268,900,894,954,790,686,577,684,1010,979,795,962,1072,1226,1438,1294,1284,1290,1284,1490,1360,1154,1076,1136,1240,1190,1466,1560,1244,1194,1268,1278,1328,1256,1132,1058,1020,1108,1250,1174,1140,1328,1386,1350,1548,1520,1520,1526,1432,1312,1306,1330,1506,1570,1410,1318,1508,1556,1516,1140,865,788,771,626,468,493,549,555,672,1016,1338,1582,1754,1808,1088,735,999,1246,1302,1550,2064,2144,2206,2598,2114,1762,2172,1888,1550,1738,1994,2184,2222,1728,1368,1266,1304,1290,1272,971,1284,1272,940,876,1462,1334,1062,1370,1478,1310,1216,1228,1144,741,509,587,648,1290,1052,486,392,485,533,473,463,586,686,614,1116,1020,1110,974,1042,883,1076,1344,1422,1792,1620,1500,1548,1404,1368,1434,1200,907,746,1336,1334,1016,1298,1746,1834,1808,896,796,787,467,365,405,469,397,965,1738,1702,1202,969,1204,1476,1282,855,700,439,419,655,996,749,523,528,1016,2082,2214,1564,1326,1582,1372,1140,1030,932,1302,1022,412,792,1784,2182,1224,1246,1506,1418,1028,628,913,695,635,781,831,1048,976,1108,1248,1074,1218,1182,1436,987,453,562,1130,1450,1090,728,763,785,886,848,848,868,886,886,759,681,659,650,680,749,805,744,1160,1024,1350,1396,1488,1382,1276,1428,1418,1336,1336,1244,952,865,954,1038,885,982,1166,727,415,451,598,705,786,1284,1926,2010,1610,1718,1946,1874,1406,1032,932,618,714,1300,1400,1640,1230,1242,943,779,824,565,482,526,669,772,656,567,668,664,449,633,645,473,703,805,834,599,369,477,602,911,1294,1742,1758,1408,1250,1190,944,778,596,830,666,697,1162,1248,950,630,547,493,401,458,473,565,540,564,834,755,684,521,482,380,502,735,1036,684,650,1021,995,798,813,1140,1528,1978,2146,1592,1456,1532,1404,1418,1038,686,792,1042,1838,2222,1672,1368,1216,1330,1668,1682,1552,1460,1454,1476,1908,1886,1500,1256,1128,1250,1184,1278,1802,1878,1378,1218,1134,803,905,1602,1512,893,1118,1266,1152,1458,1692,1812,1526,1812,1906,1678,2178,2304,2254,2124,2140,2398,2332,2094,1860,1670,2014,2134,2116,1876,1582,1500,1538,1414,1322,1878,2228,1882,1898,2188,1968,1744,1758,2250,1704,1044,1114,1186,1023,1118,1624,1778,1398,901,951,1388,1516,1972,2008,1934,1762,1484,1272,1116,1011,1322,1028,690,926,639,644,616,504,854,921,813,673,504,661,940,1146,796,700,619,949,1306,1236,828,490,380,427,429,367,466,594,500,558,980,1472,1572,1398,1352,1428,1412,1650,1910,1826,1674,1804,1810,1582,1084,750,686,1172,1270,1292,883,557,551,735,1166,1474,1580,1322,1164,1230,1580,1378,943,1042,1212,1162,1138,1238,1350,1084,1074,1064,1074,1478,1572,2008,1796,1164,1110,1378,1286,777,919,1124,1284,1056,736,777,1068,1260,1156,1184,1382,1238,1072,1010,1182,1500,1614,2356,1722,1422,1338,1206,955,868,926,949,899,769,735,830,667,510,562,783,1013,1013,1042,1200,1478,1560,1316,992,845,759,603,590,753,814,733,777,943,1314,1434,1244,1228,1310,1990,1882,1246,838,1302,1376,1302,1516,1530,1572,1638,1644,1598,1388,1336,1376,1082,1192,1292,1398,1118,1152,1492,1500,1336,1170,1130,1104,937,1382,1234,1096,1176,1248,1244,968,1028,1252,1104,793,897,1166,1240,1244,1132,1072,1220,1358,1344,1152,1082,1112,1112,1408,1450,1464,1522,1258,1278,1300,1266,1258,1000,1168,1370,1186,956,758,753,852,839,1388,1628,1620,1468,1110,1004,1060,1050,1272,1466,1556,1620,1692,1544,1208,1452,2620,2312,1306,698,764,830,1014,1218,1240,1184,1328,1376,1486,1294,1158,1324,1344,1174,1314,1440,1176,1072,1024,1011,938,953,1036,964,910,1140,1138,683,738,700,592,705,845,997,1106,1152,1150,1262,1256,1074,1362,1352,1176,1154,1066,834,844,1048,1150,973,667,933,1036,946,1218,1256,1168,1252,1192,1352,1618,1654,1432,1002,1200,1224,979,1378,1224,1294,1318,1044,1112,1138,1148,1326,1034,870,936,1001,985,1212,1290,1324,1364,1538,1312,1156,982,719,681,616,580,614,666,717,896,562,669,1096,1182,1118,1182,952,613,569,512,480,408,402,578,719,491,533,777,772,847,1220,1390,1192,1264,1144,1086,1202,1336,985,626,469,414,413,417,552,632,538,412,423,506,831,1170,1200,1272,1428,1062,816,888,1270,1484,1212,1170,1120,1328,1188,965,921,1172,1272,1314,1144,1078,1090,772,635,799,1060,1826,1230,771,777,866,556,325,459,662,691,757,729,483,456,383,336,355,297,289,351,411,461,637,892,719,937,1294,1224,790,1118,1320,1220,1046,756,650,964,1072,1120,1102,1056,1238,1386,1268,1132,1336,1130,1242,1232,1022,1112,1290,1346,935,837,481,656,488,364,445,392,480,976,1244,991,880,1116,918,607,772,743,817,1174,1504,1230,720,510,995,1356,783,626,870,507,334,301,514,689,673,635,819,1200,1356,1086,1030,1428,1272,1018,1510,1598,1550,1422,1562,1274,1144,1184,1234,1128,1110,1158,1172,1310,1182,975,1264,1282,749,598,811,923,955,1172,1514,1758,1562,1194,1218,1244,1594,1560,1348,1234,1068,628,452,492,866,1356,1370,1380,1200,1302,1340,1070,1088,1058,771,1020,1188,991,1306,1422,1266,1432,1554,1656,1456,1142,938,1024,1356,1096,1003,1190,1328,1382,1218,1260,981,1152,1448,1400,1280,861,849,744,441,282,272,271,374,393,421,988,1516,1078,919,1052,1260,1096,932,1002,800,560,815,720,841,785,804,1118,1038,1166,1196,884,742,1064,1412,1222,628,325,304,464,828,1162,1248,1190,1058,1108,1024,658,1017,1060,766,857,636,1138,1112,1052,1130],[1344,927,720,1182,1246,1124,1400,1372,1254,1246,1210,1308,1634,2142,1714,2018,1154,839,955,1124,1018,826,940,1110,966,754,731,1142,1294,1296,980,1006,841,1018,1350,1564,1438,1222,1084,988,643,546,659,933,935,1150,863,789,844,1044,1092,1216,1264,1040,882,867,849,1212,1378,1330,1286,1042,816,570,736,1216,1298,1274,1208,1184,1322,1412,1144,645,404,340,388,426,378,336,351,364,465,565,462,434,433,732,764,1252,899,433,375,356,314,309,291,256,285,648,1120,1204,919,522,399,485,575,643,760,849,830,834,543,915,1170,812,872,996,1366,1300,1336,1322,846,770,564,433,761,1058,802,916,1284,1360,943,466,324,396,525,728,630,409,389,437,504,564,835,735,542,445,470,569,758,894,1132,1182,1036,877,746,1034,970,677,573,736,1228,1138,896,1040,885,560,500,833,898,625,498,909,1480,1112,584,443,630,1228,1268,636,540,673,787,727,577,639,840,899,946,683,557,657,669,554,480,558,674,716,1108,1294,816,412,362,339,326,416,580,574,649,548,525,350,294,374,422,645,1078,917,488,350,408,507,441,489,633,477,372,392,432,321,274,318,463,597,675,533,578,769,869,669,755,734,720,695,759,918,956,851,824,709,383,222,278,476,641,759,1018,1746,1918,1620,1764,1504,1148,1154,1326,1528,1378,1576,1814,1718,1700,1736,1870,1738,1720,1866,1642,1694,1632,1732,1750,1450,800,711,1252,1546,1562,1838,1764,1644,1686,1626,1410,1338,1304,1090,866,1112,1356,1086,1114,1152,952,733,948,1194,1216,1248,1072,1114,1092,1100,1068,1020,1094,1096,960,1007,959,1122,1286,1260,1003,783,822,1098,1290,964,462,527,778,636,742,954,1504,1514,1320,1144,1212,1426,1100,877,1038,1188,1340,1394,1384,1312,1288,1428,1462,1480,1528,1300,702,440,1038,1368,918,868,771,751,729,961,839,720,874,988,1172,1152,1120,1130,1064,1104,885,1156,1114,954,971,893,1180,1142,1154,1560,1470,1310,1198,1062,789,685,1021,1418,1454,1064,1100,1274,1290,1354,1256,1023,938,538,487,603,711,499,709,1222,1166,1154,1112,954,948,1052,1156,1094,1124,850,716,1328,1338,1274,974,758,816,1094,1336,1114,747,824,997,1018,1194,1210,900,788,1148,963,700,1142,1616,1346,1112,1244,2028,2504,1974,1844,2562,2040,1222,1344,1114,567,508,502,437,420,454,427,492,739,692,656,678,687,752,1124,1582,1698,1852,1686,1482,1644,1382,1470,1414,1194,1120,1136,1042,990,1056,1196,1278,1116,1248,1308,1566,1448,1250,1252,1338,1326,1294,1444,1412,1244,1318,1154,921,910,733,1300,1488,798,656,1222,1546,1434,1382,1322,1178,1310,1074,1476,1666,1774,1454,1294,1350,1036,808,785,924,975,1242,1266,1036,1214,1054,1072,1138,1078,998,1128,1082,1112,1190,1140,1078,980,948,855,675,977,835,674,495,594,698,673,934,1294,1094,1208,1206,766,830,819,467,322,375,451,569,955,1208,1058,823,625,879,958,1024,850,738,525,377,366,557,885,859,656,487,570,963,782,984,1186,1496,1328,1144,1310,1388,1188,711,333,327,380,408,379,496,913,1132,784,539,474,485,469,694,1048,1200,1302,899,733,816,788,771,844,849,994,1306,1426,1292,1272,1542,1542,1430,1412,1230,1132,1244,1364,1230,1078,1066,1098,1036,1132,1274,1234,1322,1284,1312,1438,1024,1172,947,579,665,947,1124,1156,1164,903,1104,1246,1402,1566,1250,1268,1112,943,1230,1252,1086,1140,1134,1214,1140,1244,1194,1184,1330,1148,1046,1144,1110,1208,1142,951,1074,1264,1288,1302,1448,1550,1466,1278,1242,1382,1304,861,816,966,901,959,1030,955,836,731,1032,1294,995,869,997,939,639,639,638,518,1196,1710,1908,2072,1664,1354,1744,1402,886,1100,1308,1038,838,852,1062,1182,1384,1638,1896,1836,1704,1654,1850,1930,2088,1836,1638,1328,1236,1204,962,1088,756,1011,1566,1804,1412,1016,987,1208,1504,1586,1478,1410,1494,1416,1322,834,534,1274,1954,1894,1090,466,415,621,779,981,1028,988,995,1296,1360,1296,1001,820,979,901,692,775,1458,1606,1780,1454,1332,1406,1346,1174,869,1222,1562,1406,1434,1230,1056,1588,1148,650,547,497,498,445,453,571,796,1220,1552,1670,1108,763,935,1472,1246,609,424,335,350,819,897,422,402,466,644,1518,1952,1396,1514,1630,1350,1286,1096,903,1428,1234,856,1204,1966,2088,1054,1384,1356,1538,1012,721,999,642,624,738,1268,997,505,491,755,1042,1178,1228,1124,860,827,1192,1340,763,601,554,601,1060,1246,1242,983,958,1428,1420,910,634,763,676,728,696,855,934,934,755,1226,1768,1904,1802,1630,1636,1748,1728,2082,1434,1168,1108,1020,1032,1308,1514,1420,1144,1072,1144,1128,836,724,729,1124,1434,1200,918,849,1170,1126,688,808,847,720,818,634,887,699,894,823,777,740,522,401,518,622,830,1042,926,818,663,590,641,631,664,545,341,435,357,488,786,819,945,915,1104,1524,1108,1152,1308,1342,1230,1234,1108,775,772,980,1054,1250,1180,1078,937,514,306,533,834,824,887,850,1013,1180,890,542,634,807,1005,1520,1021,630,1180,1356,1216,1198,1372,1332,1450,1650,1632,1348,1762,1534,1388,1312,1042,816,1324,2822,3154,2360,1064,1146,1446,1576,1784,1564,1388,1546,1424,1492,1482,1390,1356,1050,985,1018,967,1276,1738,1578,1402,1182,853,917,1250,1200,1162,1202,1290,838,1072,1574,2046,2324,2058,1976,1886,2102,2400,2380,2224,2274,2174,2208,2160,1820,1590,1948,2132,2128,2296,2100,1788,1750,1572,1702,2264,2382,2114,1708,1914,1990,1948,1854,1772,1466,1300,1234,1154,998,1178,1662,1752,1268,947,1070,1534,1486,1570,1840,1798,1818,1704,1274,1272,967,1032,1056,666,539,591,714,562,592,813,957,944,658,419,498,817,1152,698,914,1316,1354,1160,703,402,352,407,529,510,476,450,513,498,612,849,1144,1404,1536,1614,1566,1462,1500,1548,1312,822,811,1012,1412,1588,1466,908,677,685,681,626,668,965,1366,1562,1498,1202,935,1154,1310,1486,1372,1034,1044,1354,1352,1108,1012,1254,1230,987,833,871,1302,1482,1660,1616,1396,1336,1420,1382,969,1084,1308,1360,1424,1136,986,990,1082,1130,1246,1332,1154,987,1114,1418,1454,1706,1932,1396,1102,940,990,1310,1462,1330,1102,1062,1086,1126,1206,1104,1072,1170,1322,1456,1454,1352,1206,1004,850,693,562,703,741,644,714,753,615,798,1000,1234,1618,1526,1296,1142,1322,2024,1770,1230,832,1142,1284,1532,1592,1474,1776,1848,1644,1470,1306,1564,1580,1186,1152,1186,1240,1214,1328,1444,1452,1394,1202,988,1024,816,1156,1098,1130,1300,1328,1268,1102,1118,1244,1062,609,762,1202,1260,1246,1196,1164,1200,1150,1180,1160,1140,1222,1228,1534,1434,1360,1558,1356,1344,1418,1472,1272,1110,1290,1390,1222,993,703,794,992,813,1272,1596,1520,1400,1128,965,1036,1178,1332,1422,1556,1592,1574,1488,1198,1474,2358,2032,1019,473,395,566,817,764,722,1114,1208,1228,1476,1110,1004,1376,1406,955,880,947,932,1184,1122,890,739,1122,1202,1104,1060,1296,1252,996,789,641,744,869,680,1124,1058,1108,1262,1358,1270,1154,1262,1312,1160,1040,1018,827,514,447,796,861,699,1116,1112,846,1040,1076,1088,1292,1330,1262,1410,1576,1610,1230,1368,1342,1118,1302,1406,1318,1180,1176,1252,1070,1042,1368,1204,864,929,890,1220,1250,1230,1418,1264,1300,1440,847,564,697,607,458,556,735,816,702,649,650,953,1212,1228,1112,1016,755,666,613,456,422,435,451,438,386,376,445,651,906,916,854,954,796,1023,1094,1082,1208,1021,538,455,445,381,361,337,309,379,437,477,486,876,1162,1368,1344,1416,1194,854,924,888,940,1138,1126,923,1010,1180,1142,944,1001,1260,1194,1152,1118,1146,1312,1350,1078,985,1090,1338,1024,861,844,711,430,322,378,403,572,651,411,397,365,343,374,357,320,353,385,384,556,1066,1142,1068,1408,1592,1294,1198,1442,1476,1324,1264,1038,792,604,774,1268,1124,1178,1302,1242,1100,1220,1146,1152,1236,1009,973,1094,1316,1450,1180,1052,812,612,445,570,815,719,452,532,704,899,843,725,700,675,819,747,668,841,979,719,443,372,512,769,760,1174,1760,1014,525,360,429,507,659,960,1346,1376,1170,1040,1324,1592,1306,1104,1216,1336,1300,1300,1268,1170,1252,1250,1144,1232,824,694,1386,1280,844,744,857,770,683,692,758,869,1110,1620,1626,1616,1428,1224,1136,1266,1498,1330,1108,977,775,453,438,485,610,966,1256,1540,1444,1400,1156,991,1250,1088,702,930,1114,1134,1130,1290,1410,1468,1502,1376,1422,1402,1338,1382,1358,1282,1152,1188,1416,1286,1138,1100,798,860,1146,1076,781,540,647,874,786,294,280,270,297,337,369,746,1017,714,610,778,1026,1009,1044,1504,1062,643,813,975,1188,964,888,804,771,969,1002,880,614,771,1232,1824,1116,437,276,336,739,1070,895,822,908,1300,1344,827,748,806,645,1112,950,1044,1100,1300,1176],[1382,1286,999,1124,1328,1374,1416,1504,1300,1176,1266,1116,1182,1472,1426,1436,972,724,1001,1272,1060,840,1144,1124,879,759,1042,1386,1238,1126,1214,1116,1190,1302,1120,1108,1388,1242,960,1104,810,719,619,798,1006,1134,1126,826,741,946,1048,1228,1272,1020,1066,963,806,1082,1208,1092,1186,1268,1046,591,929,1368,1332,1268,1166,1194,1306,1244,908,579,392,390,440,436,410,386,390,391,360,411,363,267,296,729,1102,1222,886,684,490,407,334,275,277,287,275,329,342,814,802,778,869,402,231,361,786,906,562,596,771,1152,1244,1188,720,504,839,828,924,936,607,670,416,476,679,785,504,626,1018,908,569,536,475,478,854,1364,1306,720,434,409,579,843,907,611,479,443,612,919,784,595,1021,1212,1184,1332,1222,1400,1200,719,686,830,1152,1188,796,887,1202,805,410,415,671,504,395,623,683,452,425,390,527,1174,1216,506,365,449,490,533,472,618,599,794,1084,847,689,395,507,833,875,1198,1090,902,879,950,838,630,653,695,661,335,389,521,502,697,761,462,355,384,304,479,841,741,426,349,482,532,389,446,565,451,345,296,318,268,259,400,474,515,728,582,443,426,554,505,518,609,642,598,648,809,768,816,891,491,460,821,1018,1248,1236,1272,1244,1736,1884,1548,1634,1540,1294,1468,1720,1702,1690,1660,1646,1542,1506,1500,1608,1580,1626,1710,1696,1574,1520,1550,1620,1362,1086,971,1222,1050,1272,1942,1686,1848,1802,1274,1011,1074,1198,953,589,857,976,705,741,950,890,681,725,1072,1168,1198,1102,1023,1122,1132,960,1024,1132,1122,1222,1096,969,960,943,960,813,802,1034,1136,1208,894,631,729,915,896,1116,1192,1460,1354,1126,903,767,913,1066,1354,1430,1326,1388,1544,1250,1140,1212,1268,1284,1264,1238,1088,608,495,1060,1384,743,796,924,949,903,1078,937,827,966,1023,1248,1158,1176,1110,1162,1001,775,902,968,874,849,816,987,877,599,808,916,1068,912,1106,899,666,957,1566,1660,1246,1158,1372,1282,1416,1292,1094,932,527,544,752,640,521,1005,1250,1202,1402,1248,1180,1152,1250,1150,1040,927,647,866,1322,1250,1156,778,624,888,896,1062,1192,826,1005,1028,789,705,957,1064,943,1156,1100,839,1530,2044,1252,1034,1013,2266,2436,2072,1690,2042,1762,1446,1566,1040,580,476,480,402,408,478,441,510,838,821,634,581,669,985,1556,1870,1716,1582,1592,1676,1586,1542,1590,1310,1138,1186,1306,1128,1023,1082,1108,1136,1138,1166,1222,1372,1208,1154,1250,1208,1114,1222,1320,1426,1334,1396,1040,860,617,724,1206,844,558,631,957,1410,1474,1376,1264,1152,904,1038,1274,1622,1858,1598,1454,1476,1372,1072,734,862,707,915,1182,734,992,822,794,1086,797,755,893,816,905,878,760,697,684,919,1048,1198,1262,1082,985,955,960,964,1086,1232,998,1076,1286,1162,897,769,560,375,321,369,476,728,1118,1106,1076,866,671,596,819,667,775,865,584,432,548,958,1194,928,684,523,398,616,774,1284,1380,1194,941,1216,1572,1546,1240,902,604,395,421,355,462,843,989,870,724,592,512,493,493,553,841,1200,1320,1062,741,1064,1038,735,764,836,849,965,1009,1066,1156,1218,1116,1158,1110,1110,982,1036,1156,1074,1086,1338,1340,1306,1552,1642,1450,1334,1328,1524,1644,1318,1286,1060,689,962,1180,1052,1104,1044,1028,1188,1220,1338,1548,1322,1276,1294,985,1090,1254,1252,1310,1202,1186,1220,1272,1226,1200,1158,1056,1154,1192,1168,1328,1294,1122,1250,1378,1422,1460,1310,960,731,912,1262,1404,1228,738,508,451,476,451,400,384,404,447,1072,1364,1030,991,1058,909,892,1166,983,782,1678,2076,2094,1908,1326,979,1420,1526,1296,1576,1352,818,740,603,565,781,1144,1106,1072,1588,1752,1866,2304,2436,2454,2082,1764,1368,1288,1622,1532,1298,1182,1030,1250,1998,2056,1350,1090,1242,1496,1724,1590,1516,1684,1608,1942,1722,1528,1908,2140,2176,2008,1218,779,987,887,1322,1266,1128,1212,1142,1132,1134,1006,979,1028,861,1106,1136,1306,1804,1874,1588,1510,1390,1392,1110,742,1028,895,883,1322,1482,1300,1188,755,617,637,661,593,650,918,1200,1400,1396,1284,1744,1622,1194,1308,1528,960,429,414,375,440,661,648,760,803,665,568,825,1126,1390,1682,1580,1268,1262,1156,979,1328,1054,962,1302,1548,1300,756,824,1300,1664,1088,814,892,669,690,695,995,742,417,379,400,487,788,791,846,1154,1428,1494,1004,770,992,994,864,1298,1598,1438,917,848,1052,1046,925,1072,1021,978,969,639,792,959,788,554,1242,2624,2946,2668,1582,1302,1500,1522,1864,1520,1206,727,373,395,579,844,1172,1058,1000,1088,1084,708,529,365,705,1242,1310,1144,1076,1098,977,946,956,850,906,943,811,653,687,750,623,678,647,482,706,1266,1264,1013,1224,1028,801,723,1158,1040,708,889,817,365,320,414,933,1162,1190,1050,906,826,1019,962,1072,1346,1224,1120,1290,1274,1188,930,858,1017,979,903,1042,1017,670,429,675,705,940,1016,992,1614,1648,1034,698,720,1018,1320,1304,766,1216,1948,1544,1464,1488,1534,1498,1432,1398,1484,1476,1666,1344,1060,1200,1406,1176,1182,2348,3106,1976,766,1074,1334,1394,1464,1382,1296,1436,1454,1364,1186,1270,1404,1224,1076,1102,950,1074,1568,1764,1782,1544,1188,1216,1168,1056,1478,1276,1404,961,1007,1626,2160,2640,2396,1920,1472,1246,1710,2138,2160,2282,2148,1990,2208,2030,1746,1874,2132,2160,2276,2132,2040,2198,2300,2294,2414,2254,2260,2138,2066,2100,1860,1648,1746,1674,1592,1624,1404,1188,1374,1498,1586,1188,1278,1462,1576,1744,1516,1092,1186,1782,2258,1500,1328,1056,759,766,618,602,701,513,418,634,856,896,756,547,483,512,539,635,710,1232,1510,1150,644,458,462,483,567,606,554,481,439,455,478,896,1210,1102,890,990,1354,1440,1574,1466,1302,1196,1066,1156,1272,1438,1698,1478,840,684,810,1024,1202,1412,1440,1328,1378,1580,1396,1198,1224,1256,1206,1068,1001,1038,1460,1498,1270,1210,1250,1186,1064,969,1034,1356,1462,1508,1664,1648,1626,1644,1458,1256,1558,1796,1808,1766,1638,1538,1520,1512,1416,1514,1578,1512,1422,1470,1606,1648,1692,1656,1526,1428,1438,1516,1532,1564,1508,1310,1492,1550,1534,1550,1516,1496,1452,1376,1310,1050,753,567,491,487,499,594,879,897,639,700,828,937,1236,1364,1354,1410,1182,1112,1232,1562,1378,1538,1418,951,905,1206,1382,1306,1422,1880,1762,1340,1402,1478,1512,1556,1342,1238,1420,1696,1640,1272,1038,1292,1314,1224,1032,1044,1010,1036,1076,1112,1132,1270,1422,1268,1102,1086,1140,954,807,1200,1478,1384,1274,1172,1076,1056,1116,1260,1132,1094,1326,1428,1214,1394,1570,1606,1572,1422,1224,963,947,1186,1256,1050,1022,767,701,922,1050,1316,1310,1394,1628,1460,1178,1232,1268,1430,1396,1686,1734,1476,1544,1432,1288,1066,731,579,410,429,547,544,509,553,1023,1068,1158,1282,984,932,1304,1214,1010,1262,1036,712,828,717,864,991,1076,986,1009,1060,1074,1116,1086,1022,753,652,965,1144,1440,1238,1190,1110,1172,1256,1112,1150,1216,1280,1186,833,761,749,564,861,1034,1240,1304,1238,1196,1154,1224,1382,1594,1420,1244,1290,1330,1470,1526,1720,1852,1584,1342,1300,1208,1290,1346,1142,866,868,1013,1134,1074,768,833,1274,1454,1686,1654,1306,1256,1028,797,611,658,567,809,1126,1154,1070,1007,988,1148,1142,1112,1248,1178,1012,841,897,801,639,490,529,601,540,411,379,463,706,933,671,650,716,646,941,1352,1322,887,422,316,334,334,334,351,514,429,365,393,487,748,1198,1312,1346,1494,1274,822,720,855,1114,969,1358,1410,1154,1180,1296,1318,1116,1114,1056,760,995,965,902,1172,1330,1378,1380,1528,1238,1074,971,604,466,426,388,375,355,441,534,413,362,370,552,613,453,419,383,379,370,441,758,1062,1400,1632,1558,1438,1694,1638,1490,1328,1210,1122,1150,1018,1248,1458,1426,1390,1330,1024,1094,1250,984,1124,1034,1086,965,902,1212,1362,1390,1242,1204,1170,1058,899,1038,1294,694,746,763,1056,930,999,915,905,1044,908,693,529,477,411,376,362,370,501,819,1550,1570,1114,735,421,366,432,633,835,987,935,907,982,1336,1356,1204,1142,1098,1318,1874,1692,1444,1480,1634,1274,907,1164,585,513,1204,1136,728,796,938,861,954,859,963,1108,1112,1152,1186,1636,1704,1440,1194,1428,1400,1046,829,738,545,543,543,551,502,1042,1346,1748,1744,1310,1032,1236,1396,1066,579,826,1078,1350,1328,1370,1316,1246,1176,1468,1678,1322,1184,1170,1266,1382,1106,1124,1050,1212,1272,1176,1120,1015,830,688,734,706,647,777,556,328,287,255,255,310,457,490,415,494,661,706,767,794,1024,1086,647,594,808,1154,1176,1298,1416,1180,1024,1032,1080,992,844,720,850,1138,848,588,464,589,890,980,935,1108,1424,1418,1094,705,698,880,858,1172,1030,1044,1400,1350,905],[940,1036,1028,1044,1162,1188,984,1138,1220,1182,1440,1428,1348,1272,1416,1432,1184,1124,1232,980,843,717,1086,968,867,836,958,1218,1262,1094,1068,1218,1450,1600,1408,1188,1280,1316,1036,1132,1156,1166,937,766,940,1448,1338,890,686,828,1066,1240,1320,1164,1140,867,735,855,828,893,835,963,995,639,1134,1224,1110,1188,1212,1184,1080,949,890,690,444,422,436,425,425,430,428,402,349,342,336,261,325,487,739,836,870,1164,820,363,510,484,329,297,283,323,328,541,504,550,721,349,239,344,830,787,480,658,792,738,1106,1512,940,326,451,415,415,514,590,525,522,547,533,583,569,673,1204,1180,724,753,562,473,639,1110,1362,865,392,419,904,929,526,430,467,460,624,694,589,390,658,890,1016,1460,1474,1368,966,742,840,1050,1108,1312,941,865,971,716,436,329,386,389,429,546,473,356,401,345,393,1064,1122,546,334,390,449,440,408,514,496,603,891,788,771,516,555,884,779,1250,1334,1100,838,740,927,1138,870,617,448,274,421,503,423,573,679,537,362,388,320,418,484,407,266,345,510,575,448,369,419,446,344,246,255,241,245,244,252,374,788,833,625,635,536,449,484,579,676,594,466,466,791,1024,1048,743,761,1434,1600,1484,1410,1416,1354,1540,1830,1662,1700,1656,1454,1462,1282,1074,1384,1470,1160,1072,1388,1470,1005,778,1052,1472,1554,1196,1356,2332,2500,1786,1930,1352,1338,1023,1154,1448,1394,1548,1462,1194,1064,1208,1220,908,841,1030,1160,1108,1050,1082,852,592,756,1108,1278,1360,1298,1280,1188,1078,850,1130,1204,1258,1592,1296,922,678,616,669,637,1078,1254,705,739,948,1180,862,592,612,642,761,880,734,506,426,545,822,792,1130,1204,763,788,1122,1202,1284,1188,1152,1362,1196,1210,820,411,428,863,977,860,1040,1090,1108,1298,1284,865,833,1152,967,982,1088,1011,1088,1182,880,648,786,860,923,1040,1196,1340,1102,586,476,623,938,901,799,789,691,866,1066,1268,1210,1304,1310,1082,1028,1004,749,599,695,688,652,555,644,891,803,991,1218,1138,1056,923,827,750,738,942,638,882,1364,1272,1340,935,800,984,766,891,1294,1160,1216,1382,965,646,913,1142,985,749,752,833,917,879,840,861,871,1090,902,941,937,993,1084,720,710,579,500,458,474,434,419,427,431,502,795,910,692,818,1028,912,1542,1720,1732,1532,1630,1706,1560,1346,1096,1116,1186,1156,1306,1220,1052,960,771,884,1104,1082,1210,1444,1308,1172,1060,919,1023,1021,858,1021,1266,1256,947,1252,1222,1178,897,545,575,675,1022,1324,930,1050,1150,1154,1040,896,1094,1632,1914,1722,1534,1312,852,549,398,353,463,1044,1232,725,857,977,983,966,802,710,567,548,1074,1248,785,443,400,434,623,862,1056,1276,1356,1208,1212,1050,926,895,1086,1316,1192,1050,909,595,390,444,523,423,594,985,1130,1034,981,1004,919,894,725,416,412,428,463,399,420,566,594,871,705,450,442,460,515,918,1126,760,623,1158,1476,1408,1094,835,752,498,431,574,896,1100,1036,927,803,565,457,437,439,478,725,1242,1376,1314,813,688,769,578,683,907,887,929,941,724,758,766,583,564,585,766,880,971,1212,1472,1426,1328,1066,1360,1430,1318,1194,1068,1118,1386,1484,1274,1274,1001,778,1140,1212,945,1144,986,1206,1286,1180,1126,1258,1238,1324,1422,1214,1208,1216,1434,1412,1252,1284,1164,1208,1384,1314,1170,1196,1148,1170,1190,1292,1280,1426,1574,1560,1320,1013,757,539,513,863,1364,1354,1064,561,416,395,401,427,431,441,429,547,1108,1434,984,650,802,880,1426,1548,1266,1080,860,1400,1724,1166,1166,1412,1766,1822,1928,1914,1806,1448,1052,1040,1178,1576,1832,1650,1728,1638,1576,2158,2076,2032,1896,2144,1554,1046,1186,1672,1608,1206,1232,1284,1130,1070,1832,1678,1588,1472,1764,1746,1550,1460,1328,1021,1246,1826,1880,1832,2266,1708,1932,2080,1640,1362,1086,1216,1302,1306,1100,1328,1300,1206,1206,1082,1108,985,1456,1634,1540,1732,1546,1354,1274,1232,1190,930,554,568,571,632,794,618,889,1052,771,546,660,832,946,1090,1126,1176,1116,1080,1048,1392,1700,1704,1698,1572,1156,498,508,335,422,549,624,747,811,739,480,574,1026,1482,1672,1388,1174,1216,1056,1172,1042,793,737,817,752,486,487,645,1076,1334,799,812,586,513,769,816,890,653,388,351,372,471,654,725,932,748,1366,1400,1001,837,914,1078,1156,1420,1704,1512,1108,991,1092,1226,890,1056,1088,1015,700,427,632,638,346,372,1214,2798,3074,2714,1070,696,952,1000,908,1074,1084,953,781,593,495,803,1272,1102,885,1100,937,677,670,540,549,837,1316,1470,1230,1019,542,833,1122,1318,1264,1038,1056,1368,1502,1256,1076,949,749,793,1178,1936,2104,1104,735,897,719,903,1466,1134,759,1018,819,378,296,303,738,1364,1508,1700,1318,1082,1160,1112,1042,1104,993,1076,1216,1450,1252,1272,1188,1388,1100,849,635,492,406,591,753,453,867,810,1274,1638,1830,1278,1024,933,1028,1256,1118,1202,2038,2230,1624,1638,1512,1664,1576,1484,1560,1410,1466,1620,1400,1196,961,1080,1570,1336,1212,1810,1178,985,1100,1372,1504,1332,1164,1322,1432,1394,1568,1562,1202,1278,1284,1086,998,1020,1146,1456,1864,1880,1666,1504,1280,857,806,1106,1174,1500,1198,930,1306,1984,2536,2476,1878,1044,510,949,1528,1830,1940,2032,2026,2054,1918,1830,2140,2356,2276,2080,1996,2028,2392,2420,2202,1892,1918,1882,1990,2050,1864,1510,1766,1974,1642,1448,1656,1662,1584,1488,1494,1584,1822,1728,1294,1400,1710,1676,1558,1476,1694,2112,1460,1160,1252,908,564,645,718,535,354,372,561,802,620,645,491,551,607,463,647,1232,1462,1112,587,435,465,459,476,525,473,417,458,601,698,662,821,1014,1007,977,897,942,1116,1496,1536,1464,1572,1604,1550,1570,1588,1672,1598,1446,1260,1224,1418,1562,1486,1164,977,1096,1512,1742,1478,1258,1278,1148,1050,1306,1374,1466,1336,1488,1544,1484,1462,1478,1456,1504,1566,1596,1626,1674,1698,1664,1732,1610,1420,1470,1528,1506,1384,1268,1284,1418,1440,1150,1294,1364,1366,1402,1456,1478,1584,1708,1642,1536,1492,1434,1428,1434,1418,1384,1262,1376,1330,1216,1140,1023,907,785,663,590,550,527,594,695,639,625,785,1004,874,590,561,723,996,1042,1015,1054,1136,1160,1302,1476,1444,1110,1116,1416,1362,1092,1324,1506,1598,1726,1770,1538,1510,1538,1550,1402,1454,1436,1606,1944,1708,1324,1212,1316,1472,1190,846,658,1060,1080,928,1178,1040,918,1084,1412,1404,1108,1016,1136,872,980,1212,1244,1282,1340,1250,1216,1344,1250,1338,1252,1286,1266,1228,1210,1324,1460,1476,1234,1282,1152,1170,1552,1506,1448,1112,1076,873,781,1170,1302,1232,1394,1678,1666,1528,1174,1106,1206,1490,1328,1616,1574,1354,1420,1396,1288,1022,764,809,767,819,852,708,798,608,577,998,1238,1244,1478,1700,1588,1076,1052,1416,1290,673,597,608,539,868,1026,959,1019,827,777,783,604,658,620,655,708,844,843,936,1150,940,846,1056,1160,1246,1164,1618,1656,1272,1046,844,919,1144,1240,1392,1322,1300,1212,1418,1316,1452,1604,1270,1198,1208,1296,1240,1356,1562,1712,1562,1308,1138,1172,1312,1208,853,986,1384,1306,885,709,794,929,1016,1230,1414,1192,1504,1424,767,1132,1102,880,767,995,1246,1248,1246,1224,1404,1434,1372,1278,1372,1178,874,908,1278,1268,847,636,634,715,803,521,398,422,536,554,448,1007,1234,1204,1334,1354,1080,578,307,293,331,315,318,324,495,448,409,563,868,1234,1326,1288,1370,1428,1124,936,696,819,1026,1176,1488,1436,1356,1378,1406,1226,1166,990,1116,882,673,901,1126,1042,844,869,1118,1434,1424,1052,603,487,587,596,567,624,536,475,422,318,291,400,615,631,529,586,567,435,415,439,769,1220,1198,1354,1472,1648,1616,1054,1124,1384,1340,1498,1362,1284,1384,1470,1212,904,781,583,832,1236,1202,1112,1330,1354,1036,769,883,1384,1374,1178,1128,1278,1426,1072,682,855,772,937,1070,1384,1428,1322,922,893,1096,996,924,578,409,371,341,328,367,420,512,972,1214,1032,597,448,360,351,499,556,480,761,1172,1286,1086,850,999,1516,1160,980,1574,879,786,1236,1554,1164,783,868,695,753,1170,1154,852,824,1074,939,1062,749,1019,1106,816,577,1044,1610,1628,1478,1362,1236,1202,1038,1094,1208,941,827,850,907,935,1084,1064,1338,1428,1006,1038,1306,1064,886,668,1072,1264,1264,1176,1242,1334,1252,1288,1562,1490,991,861,1060,1256,1034,741,951,891,1100,1082,1044,1192,1278,1202,925,1004,1108,636,579,428,313,280,261,246,306,413,464,443,421,507,529,501,669,805,903,871,806,869,1272,1632,1572,1382,1160,1134,1158,1238,1260,1250,1052,1114,1246,1382,1188,722,807,836,830,1030,1404,1444,972,689,631,681,660,788,864,907,927,1180,1370,1250],[1060,1082,775,789,1044,1042,877,949,1005,1122,1320,1428,1222,1130,1354,1574,1338,1312,1112,810,922,765,891,866,885,1012,1060,1114,1182,1350,1372,1656,1932,1538,1142,1120,1290,1394,1292,1470,1552,1340,1310,1238,1068,1210,1496,1546,842,951,896,1038,1012,1017,1136,796,785,1021,998,1034,902,1013,910,730,924,773,771,951,957,924,886,843,792,613,419,401,439,422,396,412,386,344,341,336,312,241,269,387,467,534,526,702,507,311,752,735,487,333,293,344,325,300,290,340,356,248,258,415,681,940,700,464,599,661,998,1332,972,565,434,389,408,426,435,457,705,576,497,824,1034,1368,1726,1322,968,1062,808,505,388,473,748,691,722,969,810,430,404,492,503,518,609,724,462,318,414,437,519,645,920,1072,1014,1306,1456,1332,1118,1388,1372,1138,626,501,518,366,349,426,470,547,546,430,418,393,534,805,845,562,428,405,430,485,443,484,458,498,574,855,920,586,673,852,800,1182,1376,1224,1116,797,839,1176,924,482,307,310,406,584,829,609,448,444,308,371,371,465,433,369,335,432,539,534,492,529,625,719,471,298,310,301,274,232,287,324,512,561,911,943,658,607,541,523,539,441,482,548,966,1158,918,662,644,1062,1226,1154,1246,1256,1354,1522,1608,1494,1462,1374,1316,1366,975,620,1504,1102,995,676,810,978,695,488,651,1064,1288,1216,1606,2452,2590,1990,1588,1490,1466,1206,1082,1088,1102,1176,1250,1096,1080,1262,1086,945,993,1146,1284,1160,1104,1210,1068,1060,1282,1368,1294,1334,1304,1476,1260,1162,1104,1236,1178,1076,1078,896,745,747,762,627,572,1260,1340,803,522,977,977,574,577,578,475,554,461,486,456,505,458,588,466,769,733,642,806,1021,1218,1366,1260,1074,1142,1294,1306,706,409,340,412,502,910,1202,891,794,1096,1224,1114,1044,1208,1088,1256,1434,1382,1374,1430,953,599,785,848,1144,1380,1354,1300,1106,1138,1138,675,747,929,1044,871,686,857,1050,1356,1618,1634,1252,1082,929,988,988,977,932,661,509,618,962,956,745,825,974,987,691,441,504,722,922,912,571,780,1222,976,1100,902,691,602,687,720,1080,1322,1480,1648,1262,987,1060,1070,972,1078,965,919,1026,1260,1036,1004,1026,840,722,787,780,796,1212,616,421,456,491,458,437,465,480,440,437,471,704,965,749,836,960,890,1676,1638,1488,1528,1614,1474,1324,1114,965,1138,1110,1078,1124,1144,1180,1050,800,808,1074,1132,1318,1604,1218,1080,1134,869,1026,769,513,619,863,927,1144,1426,1598,1398,700,515,527,645,843,744,650,1106,1106,1338,1642,1328,1166,1202,1672,1538,1256,980,485,475,629,668,871,1202,1092,669,599,997,1318,1170,924,760,572,533,944,1194,788,372,352,390,477,819,1310,1488,1220,1074,960,717,618,797,1234,1456,1418,1314,1172,875,453,717,1048,846,1070,1268,1382,1284,1136,1184,1250,1020,580,420,495,537,353,288,287,340,359,573,450,466,661,536,812,1494,1194,490,482,839,1382,1388,1156,757,705,612,472,721,860,907,1005,1160,999,664,440,407,420,422,522,1056,1356,1410,1218,963,867,598,575,855,919,1146,1128,664,457,414,392,695,1068,938,851,988,1054,1292,1252,850,651,1166,1548,1224,1178,1836,2038,1688,1358,999,1212,786,852,1068,952,987,1200,1090,1013,865,807,1170,1526,1332,1418,1450,1282,1242,1007,1004,1128,1250,1288,1212,1226,1350,1352,1282,1236,1222,1182,1262,1444,1496,1412,1134,760,497,495,651,647,822,861,1548,1146,868,575,417,397,395,432,459,416,385,505,946,1440,1044,761,725,842,1156,1256,1308,1162,714,1074,1640,1344,1094,1656,2014,2498,2350,2224,2264,1788,1668,1730,1664,1878,2158,2104,1764,1602,1660,2294,2344,2332,2198,1686,1068,912,912,1146,1222,1256,1160,1048,921,584,662,905,1182,1412,1484,1522,1620,1410,1100,673,502,838,1584,1932,1846,1604,1632,1910,1818,1390,1252,1382,1636,1738,1404,1306,921,1314,1494,1334,1114,1086,1582,1490,1250,1580,1522,1378,1230,1288,1172,1018,882,819,763,1002,780,318,419,567,615,774,1128,1318,1466,1074,625,789,901,813,749,777,937,1260,1508,1476,1428,765,820,478,423,443,477,451,435,405,339,438,827,1172,1370,1252,1086,1224,1048,1282,921,559,597,597,343,253,560,988,1546,1130,789,625,336,323,561,656,583,488,354,390,486,370,437,855,1198,998,1386,1260,982,904,933,979,921,981,1078,1068,1172,1334,1788,1492,1074,1184,1080,1102,1364,946,416,430,338,429,1376,2696,3164,2584,924,519,1096,1392,1490,1166,682,944,1094,1062,1126,1108,1456,1710,1260,869,722,1144,1550,1270,1156,989,1384,1660,1684,1256,736,491,560,615,620,594,579,867,1080,1186,987,868,1158,1152,1266,1722,1570,923,672,785,642,664,906,772,877,1190,833,409,285,679,1402,1366,1466,1532,1564,1698,1102,1120,1212,1226,980,969,1064,1044,1230,1184,1160,1128,1078,1112,1013,852,709,997,790,534,745,1304,1686,1768,1638,1562,1660,1334,962,984,1246,1748,2204,2272,2228,2216,1692,1480,1538,1684,1544,1284,1252,1398,1344,1548,997,761,1216,1446,1400,1056,1016,1042,1140,1452,1630,1610,1544,1616,1638,1562,1582,1616,1364,1412,1352,1042,814,1028,1172,1166,1554,1706,1828,1644,1488,1064,872,636,943,1516,1418,982,982,1448,1858,2182,2070,1218,988,1760,1594,1490,1720,1840,1868,2154,2130,1890,2008,2230,2238,2094,1864,1938,1998,1874,1798,1582,1294,1064,1234,1664,1544,1480,2036,1880,1504,1358,1608,1714,1646,1642,1662,1654,1694,1584,1576,1532,1500,1766,1826,1500,1434,1848,1492,1019,1228,1174,808,717,501,345,409,651,781,898,753,715,529,585,552,499,990,1470,1306,770,390,373,472,399,433,456,438,464,632,729,754,944,1046,1154,1382,1442,1170,899,793,1136,1290,1078,1246,1278,1156,1204,1192,1158,1130,1015,890,985,1334,1522,1384,1340,1368,1428,1542,1568,1520,1528,1574,1528,1456,1516,1378,1470,1522,1488,1468,1406,1390,1404,1366,1322,1306,1292,1312,1288,1274,1226,1164,1122,1052,927,865,896,930,868,888,898,913,888,1012,963,899,976,1212,1326,1368,1476,1618,1460,1360,1344,1356,1246,1124,1142,1212,1178,1072,949,791,651,554,614,699,808,833,746,749,840,698,653,975,1344,1230,723,521,617,911,1056,1152,964,1015,1214,1296,1372,1324,1134,1182,1328,1504,1328,1410,1882,1952,1808,1504,1440,1686,1968,1788,1418,1498,1598,1916,1866,1108,955,1296,1544,1528,1346,1032,813,1252,1224,997,1186,1182,1050,939,1050,1306,1142,1034,1062,726,759,1056,1000,1034,1284,1246,1350,1480,1526,1344,1334,1420,1392,1372,1510,1360,1062,1114,857,1036,1102,1186,1538,1522,1762,1164,708,692,957,1222,1180,1102,1216,1566,1694,1636,1348,1104,1116,1110,1340,1542,1316,1104,1054,1172,1384,1154,1106,1128,1148,1164,1106,951,1022,804,571,1000,1044,730,1026,1462,1762,1322,1438,1734,1428,650,645,774,641,827,1040,959,977,1050,966,545,387,372,529,895,876,659,639,971,1242,1122,1082,1158,1268,1252,1320,1476,1516,1366,1154,1088,1154,1184,1210,1404,1590,1534,1230,1216,1288,1382,1290,1478,1348,1344,1290,1078,1104,1228,1612,1686,1340,1266,1654,1600,1023,1060,1390,1412,1340,937,539,691,944,1072,1118,1072,1912,2490,1506,661,731,944,930,948,1282,1236,897,1005,1013,1300,1368,1532,1252,1206,1334,1444,1366,1456,1130,566,550,595,644,594,495,426,379,390,383,590,1292,1520,1440,1390,1442,1018,403,314,326,451,325,290,301,331,357,513,783,1136,1422,1304,1406,1468,1278,1274,1340,1152,994,860,1154,1410,1324,1116,1378,1938,1656,1200,869,1190,984,577,646,752,756,821,717,579,812,1162,1282,1334,998,756,637,947,1042,793,653,474,318,313,357,480,783,861,882,1072,753,570,840,1260,1150,734,943,1376,1360,1116,1156,1156,1498,1374,1130,1222,1260,1188,995,613,452,513,645,678,812,791,636,1074,1322,1070,702,763,1142,1254,1180,926,1160,1284,1013,594,727,1158,1172,1242,1252,1312,1408,1112,703,632,874,1240,938,550,414,375,355,375,403,385,528,836,728,529,647,486,370,445,422,424,641,1104,1144,812,508,579,1170,1118,614,722,662,1013,1110,1236,918,755,1072,1120,1090,1110,1180,1136,888,935,747,919,786,1180,1206,819,585,879,1312,1258,1380,1526,1336,1240,1314,1482,1454,1354,1072,1128,1236,1142,1040,1170,1332,1302,913,858,1204,1032,1152,1224,1406,1334,1202,1252,1334,1338,1410,1396,1488,1172,918,655,910,820,716,798,1008,1080,1070,1007,1084,1252,1354,1386,1208,1394,1106,642,599,496,336,294,261,240,265,344,376,449,550,518,431,669,1166,1268,1176,1038,1048,1516,2166,1966,1332,1236,1272,1400,1390,1288,1344,1448,1458,1624,1750,1656,1108,863,1036,957,965,1100,1350,1358,1200,1132,1240,959,843,1134,941,996,808,912,1256,1190],[1144,1122,1132,1226,1316,1258,1552,1276,831,731,756,982,1114,894,952,1170,968,752,822,819,889,897,920,872,894,1058,1216,963,918,1262,1236,1720,2104,1450,1150,873,843,1094,1306,1450,1448,1292,1488,1298,1498,1394,1966,1982,1260,1108,682,745,860,834,864,686,875,1080,1084,1078,1240,1256,859,842,749,755,769,649,631,669,560,558,584,477,444,437,427,401,375,352,328,357,362,282,194,218,302,354,372,454,493,620,526,426,555,767,676,412,377,355,283,286,286,292,300,288,306,531,776,1062,912,584,571,833,1274,1534,1090,992,656,457,424,378,362,380,436,401,389,635,962,1354,1332,1542,1372,1196,904,487,359,539,744,871,947,661,417,390,377,401,527,477,533,763,525,305,386,622,672,646,1028,1242,1388,1440,1244,1128,1202,1358,1348,1114,688,426,471,490,481,413,430,575,523,460,460,448,593,683,573,463,378,394,444,485,556,623,631,536,529,736,704,517,722,872,814,1170,1296,1306,1032,577,951,886,620,480,475,389,335,480,634,529,580,532,395,482,810,952,601,336,397,544,676,626,675,724,641,512,456,254,270,281,254,269,278,273,386,735,1034,815,606,525,455,421,329,341,421,514,989,1340,1128,783,761,1092,1250,1396,1578,1554,1326,1346,1310,949,1100,1288,1242,1304,1302,1726,1682,1076,882,789,734,981,1084,753,559,901,1156,1204,1556,1886,1870,1706,1524,1450,1386,1192,1050,1114,1118,1009,965,990,1074,1142,1196,1094,972,1001,1042,1144,1210,1220,1384,1354,1160,1196,1204,1128,1086,1290,1220,1390,1546,1388,1162,871,666,709,856,1000,922,703,651,941,1098,996,540,593,631,568,778,829,683,1021,712,502,408,488,375,321,568,829,782,699,825,1142,1074,789,976,763,912,1316,824,405,364,342,442,651,920,1048,597,465,510,877,1134,1344,991,1096,1362,988,927,1374,1492,1078,656,599,794,1076,1180,962,808,689,662,678,519,439,654,812,729,511,444,828,1108,1198,1220,1246,1324,1210,1174,1140,1122,819,483,411,543,725,971,767,662,933,996,763,750,907,889,743,641,550,973,1258,1192,1212,877,466,580,921,756,821,1266,1602,1606,1214,1156,1202,1094,1244,1196,1162,1054,1164,1204,837,788,844,684,705,1068,1096,860,1122,698,458,426,518,551,473,491,508,489,599,474,592,851,791,567,566,725,770,919,1252,1356,1204,1034,1182,980,966,1162,1094,1030,1116,1202,1054,884,801,835,1262,1538,1608,1510,1262,1208,1110,883,1060,874,631,822,944,1186,1528,1412,1444,1418,1238,729,549,784,866,522,623,845,906,1058,588,726,1328,1418,1466,1072,1132,1228,952,759,1003,1100,916,1126,1206,908,862,1132,1318,1068,969,1224,986,558,405,493,400,300,304,287,364,639,818,1046,866,992,950,798,1214,1372,994,1088,1100,1003,1060,932,523,954,1384,1344,1404,1470,1512,1364,1196,1094,1202,898,766,582,899,996,499,557,614,545,414,471,637,756,885,850,1356,1610,1406,828,808,920,1396,1514,1220,714,558,485,561,810,691,778,1160,1608,1242,674,444,428,469,543,586,846,1164,1284,1330,1015,854,606,838,1534,1260,1110,1144,803,459,427,438,664,905,1064,989,940,797,810,847,791,782,1286,1658,1240,1170,1468,1358,1428,1460,962,999,733,724,839,821,1082,1274,1142,993,669,765,1100,1598,1658,1648,1302,1068,1166,1242,1350,1428,1332,1284,1318,1290,1298,1402,1426,1308,1300,1334,1292,1252,1138,797,511,489,641,781,1292,1174,1002,849,1282,920,792,577,412,412,435,432,460,420,439,631,1042,1362,1030,797,614,562,871,1370,1374,1208,1138,1320,1666,1500,1340,1638,1558,1308,1538,1882,1742,1876,1826,1530,1360,1086,1324,1534,1138,1736,1606,1598,1626,1962,2182,2054,1744,984,733,1414,1562,1520,1540,1532,1516,1021,702,1060,1168,846,730,941,1424,1378,828,615,429,420,773,1566,1758,1684,1466,1456,1446,1406,1366,1422,1466,1636,1346,1192,1012,1148,1404,1486,1318,1244,1412,1142,974,1412,1194,938,685,615,631,744,866,1206,1242,1232,1188,667,435,523,875,1202,1214,1168,1118,743,481,551,682,796,821,915,854,803,1011,1404,1274,904,765,629,794,791,637,566,422,429,556,620,672,791,1013,1230,1248,1192,1060,1252,895,420,661,771,320,353,1244,1866,2156,1114,860,581,324,408,487,438,342,333,330,497,559,529,901,956,752,1090,1212,708,551,777,946,913,838,869,815,880,992,1011,1013,1064,1056,888,742,1252,1678,1052,403,353,359,503,1534,2434,2746,2164,1124,1142,2352,2654,2620,2186,1432,1154,1194,1044,781,1038,1672,1704,1058,572,939,1606,2018,1894,1474,1005,1176,1348,1432,1356,1176,1080,1120,912,718,940,845,1122,1158,998,639,575,588,563,724,911,969,1015,1004,1136,1254,1188,952,746,666,885,590,428,541,1086,1888,2312,2238,1966,1582,1600,1166,1048,913,959,930,1052,951,871,908,951,1080,1198,1246,1017,1030,1166,1328,1390,1017,628,661,1152,1504,1708,1716,1764,1794,1704,1754,2106,2152,2164,2274,2222,2376,2124,1532,1628,1990,1614,1382,1128,1040,1290,1206,1344,992,945,1036,1178,1288,1268,1038,686,848,1084,1288,1582,1778,1368,1322,1230,1418,1638,1674,1582,1408,1202,879,916,1174,1128,1454,1922,1904,1720,1926,1632,1036,819,1216,1356,1406,1144,1176,1820,1920,2032,2170,1426,1172,1970,1680,1110,1082,933,1066,1566,2132,2104,2002,2088,1886,1614,1614,1654,1628,1680,1448,1098,882,672,565,1184,1582,1768,1874,1682,1368,1466,1516,1394,1506,1694,1642,1576,1616,1710,1860,1592,1366,1624,1542,1448,1880,2178,1540,1062,1150,1214,1038,495,292,382,686,1210,1324,1138,990,760,492,448,394,473,1062,1408,1023,486,437,491,543,492,439,461,570,724,920,1144,1172,1500,1288,1288,1478,1448,1004,683,481,915,1336,1186,963,684,638,763,964,1048,1118,1132,1134,1062,1360,1548,1514,1340,1230,1222,1224,1262,1268,1296,1218,1082,1072,1110,1130,1178,1092,1001,1007,1002,1015,949,889,864,861,871,835,861,891,920,987,951,851,949,1017,991,1056,1046,1074,1218,1340,1296,1206,1206,1266,1248,1178,1128,1134,1158,1336,1406,1354,1296,1310,1186,1136,1300,1180,946,803,715,667,625,650,781,741,736,770,807,911,996,1012,1058,1216,1368,1414,1090,654,530,741,939,1044,1100,1142,1212,1364,1416,1300,1284,1434,1468,1534,1422,1316,1590,1772,1616,1490,1530,1528,1742,1512,1248,1378,1600,1716,1528,1048,1098,1306,1342,1354,1408,1130,868,1368,1320,860,1028,1318,1244,1100,1116,1166,1060,1013,1082,1106,1090,1094,1086,1094,1334,1362,1422,1376,1352,1344,1388,1632,1710,1408,1434,1122,727,952,944,942,929,915,874,1158,1528,1174,779,897,1007,959,1030,1368,1290,1186,1494,1666,1532,1286,1584,2258,2056,1636,1358,1438,1376,1024,1228,1394,1340,1172,1166,1040,913,891,949,747,630,1021,1038,774,948,1328,1788,1606,1672,1814,1160,453,608,855,764,969,1176,1164,1338,1412,1154,902,647,529,839,980,973,914,629,761,1262,1122,1310,1356,1290,1184,1152,1182,1338,1130,909,944,1005,1102,1132,1622,1818,1404,1440,1508,1996,1584,1294,1454,1506,1802,1484,1568,1302,1154,1340,1694,1720,1600,1560,1332,1140,1294,1340,1062,1224,1150,903,1018,1050,1252,1202,1084,1356,1184,837,915,719,439,542,997,1288,843,542,698,750,758,1146,1402,1136,1134,1334,1368,1322,1272,1128,647,524,457,567,623,564,393,380,418,341,613,1020,1264,1088,904,924,952,451,326,434,494,319,283,308,379,440,517,713,1013,1214,1186,1130,1242,1256,1260,1300,1416,1154,763,914,1204,1122,1094,1294,1808,1396,1094,979,1078,896,536,404,356,438,529,585,578,716,1056,891,1148,1388,1292,1408,1616,1282,970,970,748,480,399,364,470,1166,1264,1174,1026,673,879,1322,1482,1364,792,550,796,1218,1206,1094,1336,1324,1262,1208,1038,852,709,526,405,495,936,994,711,686,753,567,706,995,995,862,637,681,604,824,962,1622,1750,1362,711,621,1112,1272,1058,832,979,1126,1238,812,656,756,1370,1306,758,458,385,384,367,370,364,388,468,691,1038,1090,590,407,453,438,334,458,857,971,753,656,529,495,673,483,516,568,730,713,969,1088,1072,1330,1378,1192,1324,1274,1322,1274,1056,885,910,902,859,847,1096,1022,983,1266,932,1114,1428,1670,1542,1502,1346,1306,1176,1306,1382,1254,1092,1050,1206,1414,1308,1090,935,1146,1328,1508,1150,875,1076,1334,1568,1284,1202,1258,1338,1264,1296,1170,916,1116,1114,1074,1112,1176,1384,1328,1232,1322,1520,1418,1218,1100,1268,1134,801,586,553,470,292,253,247,243,292,352,486,642,664,698,1098,1394,1654,1484,895,859,1516,1542,1110,1164,1422,1136,1230,1298,1288,1388,1298,1110,1100,1272,1180,1004,1238,1046,1216,1372,1272,1364,1384,995,894,1296,1094,1188,1296,1426,1262,883,935,1208,909],[1156,1148,1266,1230,1454,1262,1112,954,727,551,564,1034,1390,1130,1124,1170,1110,862,918,768,890,1036,1021,1080,1001,1244,1210,998,1172,1440,1320,1114,1146,1216,1174,754,730,1132,1256,1382,1146,836,1052,733,1068,1013,1256,1208,1162,1104,769,915,1102,1238,1066,742,966,996,1116,1116,1192,1130,868,752,893,1124,1050,1114,888,759,664,575,475,434,458,431,392,360,340,320,340,353,306,195,184,281,359,354,342,392,419,414,582,542,387,478,364,324,354,359,308,271,247,297,401,539,518,570,796,1019,930,790,672,1012,1280,1426,1202,987,663,614,553,354,334,346,328,540,825,806,937,870,1280,1600,1376,1032,752,782,678,673,1058,1222,796,475,451,504,481,719,697,612,772,850,513,312,414,850,1080,949,1072,1332,1474,1098,1092,1210,991,1068,1040,774,509,338,460,435,347,288,342,421,421,401,401,434,487,420,340,430,427,372,365,305,409,396,398,852,1060,820,808,811,804,1012,1106,1262,1088,1140,777,567,1086,1184,741,454,477,410,350,371,395,382,868,1062,724,799,1282,1222,617,346,430,719,1098,857,713,577,716,1010,979,433,254,248,278,404,572,761,1036,1396,1434,693,402,350,354,328,368,454,473,494,933,1368,1318,1164,1286,1504,1550,1640,1622,1548,976,1013,1066,617,971,1120,1158,1180,1332,1414,1310,1224,1160,1082,1009,714,498,425,481,890,952,1016,1346,1490,1418,1308,1282,1328,1348,1180,1058,1144,1164,1056,1028,1052,1114,1054,1208,1274,1218,1050,1064,1338,1366,1254,1406,1374,1208,1194,1344,1236,1290,1308,1230,1504,1496,1118,854,633,634,656,633,839,747,783,886,1036,1072,833,489,362,367,519,1014,1094,822,1308,1028,891,719,568,474,477,880,1212,1124,756,617,1005,868,733,706,444,875,1292,989,806,965,877,597,903,981,828,502,397,455,987,1214,1438,1378,1326,1262,957,757,1086,1288,877,529,474,719,1142,1144,733,529,434,383,504,449,475,637,904,974,841,469,452,984,1100,857,1001,1212,1356,1106,670,580,442,477,465,462,415,946,910,700,1030,1212,1036,742,869,725,516,578,576,1308,1272,1110,1128,784,504,820,1196,1026,923,1322,1534,1338,1302,1064,1166,1190,1054,955,1038,999,960,739,477,562,692,681,897,1194,1082,1013,1144,761,412,468,730,860,655,476,500,619,811,574,626,841,844,622,581,695,804,1156,1484,1476,1220,900,1186,993,1218,1306,926,820,1122,1362,836,514,674,986,1278,1578,1690,1510,1370,1120,934,906,1102,1152,1076,1084,1120,1344,1362,1382,1438,1536,1570,1278,867,949,737,364,403,459,827,1036,722,913,1464,1390,1406,1422,1396,1266,1032,733,813,1023,984,1126,1250,1268,1050,1092,1186,881,930,1118,875,536,300,293,266,285,291,289,276,321,352,506,640,742,811,1062,1386,1344,755,1034,1166,952,850,1130,966,988,1226,1224,1360,1540,1380,1134,964,1090,1048,932,921,617,854,858,618,926,1280,1294,937,720,738,865,811,1158,1550,1484,2098,2328,1546,1038,1114,999,787,539,447,401,401,637,951,1009,1400,1770,1240,541,452,458,566,699,605,658,963,1158,1284,1156,758,738,1316,1866,1534,1154,1154,1112,659,485,567,719,1036,1336,1210,944,916,797,900,1140,1066,985,1320,1944,1434,1222,1134,1512,1326,919,957,911,779,933,1122,1013,889,1166,1188,1011,929,955,1194,1376,1190,1136,1078,1042,1106,1212,1294,1216,1236,1388,1420,1310,1284,1290,1256,1344,1202,746,535,572,586,836,994,1278,1066,1484,1278,861,452,348,551,673,592,487,459,430,412,429,432,496,560,1011,1274,981,777,666,594,1142,1740,1310,1592,1470,1576,1430,1376,1370,1616,1394,866,837,879,1005,1152,1252,1674,1390,995,1368,1804,1792,1610,1386,1508,1544,1584,1550,1324,996,1138,1416,1620,1360,1166,1240,1254,1138,945,952,1120,1152,1420,1266,946,1348,1456,1364,1282,1402,1348,1011,1026,1502,1690,1648,1660,1472,1352,1426,1770,1896,1318,727,546,544,823,949,801,638,651,802,722,565,933,703,488,420,414,477,546,555,546,456,604,1108,1398,1100,992,943,986,984,796,655,586,604,625,727,992,1186,1080,911,917,904,1148,1216,1130,785,692,887,949,1090,984,608,560,1062,824,492,537,508,607,965,1152,1082,1228,819,555,692,733,347,347,1252,2016,2256,1370,661,415,368,505,609,497,355,239,311,467,584,701,1294,929,770,1134,647,570,732,781,556,630,471,508,590,762,662,565,758,857,806,798,841,670,546,503,487,434,530,734,839,762,747,916,740,933,1804,1660,1798,2026,1230,907,1070,691,554,962,1224,1242,919,614,1118,1600,1780,2020,1826,1280,1300,1358,1398,1324,1258,1538,1658,1156,457,736,1054,1236,1180,1058,867,1102,1260,966,815,847,648,436,542,777,995,1318,1414,1228,1012,846,603,717,988,1252,1946,2264,2208,2390,2120,1566,1066,839,779,699,787,921,826,889,745,705,841,1126,966,815,411,733,1282,1362,1128,1066,1024,712,834,1230,1558,1824,1732,1728,2356,2362,2406,2338,1900,1688,1504,800,506,1366,1888,1508,1524,1190,1160,1170,1108,956,1004,1230,1272,993,1062,1226,1146,1084,892,1015,1438,1626,1344,1114,733,590,1232,1722,1740,1678,1508,1236,1056,883,939,1060,1450,2276,1744,1402,1882,2086,1516,1224,1436,1400,1246,1072,1210,1836,1766,1394,1576,1586,1228,1192,1206,1116,1402,1626,1434,1282,1780,1930,1908,1654,1346,979,666,680,1100,1338,819,725,905,1003,1164,1672,1696,1600,1648,1576,1454,1496,1354,1374,1664,1766,1542,1572,1574,1702,1802,1686,1606,1594,1606,1604,1714,1388,856,876,912,957,1142,645,419,461,831,1210,1264,1156,1066,896,667,458,445,664,1250,1320,867,471,416,428,604,607,495,512,641,938,1168,1456,1466,1710,1268,1140,1372,1204,706,452,467,862,1320,1272,974,919,1112,1294,1476,1598,1542,1492,1438,1450,1592,1542,1228,1062,1314,1294,1370,1460,1308,1298,1378,1378,1298,1170,1120,1232,1140,964,907,879,1042,934,734,694,785,980,1026,869,744,857,949,896,828,880,884,877,878,826,799,782,782,792,749,706,669,689,716,726,710,793,916,1044,1026,1028,1220,1102,937,1009,891,816,843,765,712,700,716,865,961,894,982,1124,1156,1122,1324,1384,1380,1208,1332,1394,943,615,585,764,1008,1144,1170,1236,1624,1412,1320,1428,1602,1558,1534,1498,1402,1542,1660,1516,1640,1592,1346,1174,987,987,1238,1464,1624,1780,1408,1236,1172,1118,1348,1362,1288,954,1202,1278,1076,1316,1422,1222,1130,1034,1046,1080,1082,1128,1246,1334,1158,1194,1216,1170,1182,1368,1390,1294,1268,1338,1736,1726,1316,1360,1266,879,757,1028,1128,924,977,1012,1148,1368,1274,905,1228,1088,1009,1112,1352,1236,1220,1342,1422,1484,1584,2314,2698,1908,1576,1144,1300,1404,993,963,1050,1220,1244,1104,920,771,686,1068,1122,964,1002,1084,976,1072,1350,1656,1862,1714,1324,1018,555,567,772,827,1128,1234,1176,1376,1300,1164,1122,1026,1098,904,633,804,1078,843,847,1192,1278,1592,1584,1378,1230,1282,1486,1362,1090,982,806,814,910,1005,1620,1868,1372,1156,1314,1422,1250,1240,1410,2196,1922,1742,2220,1802,1326,1312,1502,1710,1782,1464,1426,1430,1066,1019,987,1130,1364,1260,1030,1030,1082,957,1030,1042,750,926,1260,697,519,614,892,1410,1670,924,670,534,653,1166,1106,928,1074,1122,1322,1290,1374,1200,973,626,496,476,624,587,408,465,540,432,398,730,1082,991,1082,1048,845,428,302,563,647,383,267,274,314,416,523,751,988,1038,1072,1010,1130,1096,1188,1230,1164,1136,970,905,1204,1046,905,1158,1530,1296,1166,1162,1402,1314,643,459,365,386,592,1138,1132,1256,1452,1154,1026,1230,1340,1534,1552,1288,1088,817,673,511,493,422,603,1206,1366,1268,928,728,1146,1344,1388,1378,1376,850,564,1054,1286,1336,1526,1276,987,1064,1082,845,865,778,622,882,1222,872,403,764,930,620,924,1048,886,1026,642,406,385,639,1158,1686,1838,1594,940,580,808,808,730,1026,1018,855,788,673,727,727,952,884,686,644,514,409,407,344,404,491,365,640,1208,1114,575,406,736,814,431,416,405,451,397,491,413,377,674,570,501,429,404,492,809,1176,1200,1208,1174,899,1138,1396,1324,1166,916,922,1030,999,915,1068,1354,1294,1192,1250,666,861,1198,1504,1702,1626,1470,1230,1106,1248,942,1116,1284,1308,1170,1556,1202,905,846,1094,1166,1096,1162,1202,1034,1023,1384,1248,1278,1180,1012,789,1007,1112,1160,1228,1356,1368,1166,1208,1450,1258,1312,1266,1440,1416,1194,1152,1272,1482,1432,949,608,442,301,286,261,278,341,387,513,673,855,1188,1108,904,1172,1052,846,1008,952,893,880,1212,1252,1206,1396,1210,981,1004,1038,1021,877,1344,1282,1152,1064,916,1430,1658,1296,1266,1458,1396,1180,1368,974,1218,1376,1538,1450,1244,1158,1206,1124],[1188,1244,1250,1260,1364,1076,874,975,860,752,929,1250,1484,1256,1144,1198,1104,867,877,731,935,1458,1418,1070,863,1194,1212,1246,1308,1388,1456,1458,1466,1672,1732,1148,1252,1270,1160,1270,1308,951,1024,1468,1324,849,937,1005,1054,1046,868,1017,1166,1132,726,720,1023,1058,1142,1186,1240,1034,788,835,915,1124,1088,1146,1072,1021,1094,1012,985,724,475,437,401,355,344,332,335,263,229,211,266,323,376,398,368,354,339,318,354,376,371,395,366,308,301,285,301,350,564,670,918,1140,698,573,903,1234,1007,1116,1138,1328,1180,904,1120,1064,744,833,775,539,385,471,437,796,844,739,683,830,1234,1232,1178,977,1016,1250,1164,956,1096,1170,698,515,476,624,698,811,932,1030,1114,1023,565,404,427,658,879,940,1052,1448,1498,1070,972,671,369,528,504,481,479,384,466,321,271,284,334,377,391,351,349,372,375,343,383,527,620,466,406,371,435,403,581,1258,1180,764,1034,1174,656,728,1270,1278,846,870,855,839,1046,1278,884,416,431,437,342,238,261,291,650,861,563,566,1052,1166,539,372,476,549,775,744,908,771,813,1017,756,476,549,474,417,743,1034,1072,942,1058,1218,630,377,379,391,444,421,460,534,700,1108,1440,1476,1562,1760,1784,1210,1106,1288,848,658,777,944,908,893,1010,1120,1098,1230,1274,1250,1028,695,742,924,572,434,379,405,584,509,807,1144,1246,1250,1262,1404,1394,1342,1266,1248,1350,1138,1134,1174,1178,1114,1244,1296,943,1009,1158,1248,1346,1312,1222,1168,1194,1010,1054,1344,1256,1206,1312,1134,1216,1178,882,587,428,656,604,386,606,847,1116,1330,1094,641,514,439,343,321,472,1040,1256,1168,1140,1006,1054,949,891,677,511,821,1003,1180,785,489,883,1116,1094,777,558,846,1108,950,1240,1846,1366,827,1158,1168,720,555,445,459,1068,1448,1360,1338,1152,871,758,864,949,1080,691,479,418,747,1232,1094,846,698,439,373,527,489,506,509,911,1246,1040,642,637,1008,846,587,761,896,852,761,580,388,442,530,459,633,788,1322,1498,1396,1432,1246,1212,798,747,569,524,572,643,1184,1110,833,597,408,413,724,960,939,937,1176,1426,1300,1280,1021,1132,1118,890,967,1102,1018,864,549,642,944,1028,1108,1406,1544,1362,1220,1050,614,322,316,562,872,672,458,421,431,476,484,524,764,896,715,638,798,780,963,1188,1300,1266,1090,1330,1224,1346,1322,1098,944,1182,1390,678,556,683,875,1350,1490,1540,1680,1562,1320,1158,1072,1110,1082,1011,1048,1132,1262,1226,1310,1384,1362,1306,1452,1488,1092,441,386,628,888,786,649,1028,1548,1434,1122,1338,1448,1116,1012,1224,1070,649,650,1028,1184,1152,1096,794,688,695,679,954,1038,883,571,300,311,314,297,318,286,248,226,265,316,565,636,447,763,1406,1258,818,1134,1226,891,714,918,946,1292,1252,885,1216,1212,1396,1440,1398,1364,1140,1096,1072,787,655,625,852,1034,1270,1334,1270,919,511,562,1084,1302,1012,700,1970,3532,2978,1322,849,617,311,407,443,385,391,486,1058,1158,1198,1412,939,570,581,549,628,632,708,1076,1074,1272,1312,1252,999,1078,1804,1992,1488,1234,1092,1198,871,575,630,739,1248,1326,1120,832,708,695,913,1224,1130,1348,2324,3250,1720,1324,1216,1526,1336,1120,1136,1110,1108,1090,1076,1017,1210,1338,961,898,882,963,1086,1248,1314,1312,1186,988,1026,1172,1278,1264,1196,1220,1294,1370,1454,1478,1362,1130,821,549,368,420,649,1306,1118,1234,1036,1256,1012,580,528,580,941,1288,1050,531,487,410,355,406,430,474,549,1015,1234,955,896,771,604,1120,1366,818,1324,1136,1206,1290,1138,1130,1512,1284,818,796,1154,1276,1158,1144,1510,1860,1930,2378,2630,2122,1560,1422,1620,1948,1424,1078,1390,1812,1776,1308,831,666,661,797,1026,1258,1136,756,688,694,701,516,555,761,673,850,1388,1926,2114,1820,1722,1830,1832,1572,1294,1144,1422,1080,1382,1778,1064,452,551,662,557,456,481,521,551,561,648,450,790,808,559,449,407,462,630,690,612,429,438,686,1394,1610,1486,846,561,515,516,599,595,599,637,699,833,1188,1182,1024,933,924,976,1164,1284,965,738,754,1072,1412,1432,633,666,1650,1070,563,690,571,475,780,990,783,1206,718,580,558,766,564,838,1426,1970,2364,1672,626,429,443,530,780,738,404,429,927,839,466,796,1016,629,841,1019,740,1400,1390,1106,826,707,434,346,397,551,453,354,372,411,506,644,862,890,908,752,568,677,1094,833,443,427,420,344,283,406,465,517,661,792,551,487,560,601,863,1224,1426,1302,1060,1172,1332,1118,1316,1810,1788,1168,944,902,899,968,998,976,1026,606,357,576,1196,1560,1218,727,732,1010,1156,1274,1170,962,746,918,899,465,965,1414,1007,1015,1170,1314,1300,1224,1310,1316,2104,2352,2436,2578,2464,1208,481,572,634,648,892,961,866,804,800,883,886,880,844,933,742,742,952,728,590,818,998,1108,1172,1226,954,1240,1678,1942,2182,1676,1528,1304,1042,1340,1448,979,767,1274,1710,1676,1698,1562,1586,1504,1038,996,963,966,1112,941,1102,1056,1196,1350,1052,1242,1650,1936,1926,1376,565,737,1698,1804,1826,1718,1548,1208,1296,1050,827,1126,1352,1454,1350,1306,1512,1650,1626,1586,1450,1316,1156,836,842,1082,943,799,1262,1618,1444,1264,1400,1548,1642,1828,1682,1400,1346,1396,1414,1348,1156,644,387,537,851,1194,1274,1466,1128,1050,1326,1650,1672,1594,1560,1626,1814,1676,1266,1224,1422,1506,1584,1684,1848,1558,1374,1658,1814,1744,1814,1800,1208,749,630,647,857,1174,1332,963,561,461,750,1056,1184,1152,1044,807,638,563,635,1100,1428,1182,661,462,430,398,455,491,538,753,1206,1520,1438,1516,1536,1648,1120,767,789,575,456,659,1118,1420,1490,1544,1512,1462,1388,1514,1730,1722,1618,1536,1410,1340,1334,1248,1154,1256,1368,1158,1064,898,799,833,806,796,843,777,695,695,636,707,814,753,974,915,711,635,610,594,606,733,719,777,788,882,905,1013,944,838,846,889,981,1076,1028,964,924,981,941,1009,863,1026,1246,1274,1138,1058,1248,1172,1120,1038,960,878,1100,1232,1336,1006,1028,1162,916,1016,1182,965,1086,1136,1328,1246,1248,1500,1332,1182,1262,1306,1052,884,893,994,1204,1368,1242,1170,1268,1092,1258,1380,1532,1484,1460,1574,1584,1538,1444,1484,1422,1292,1186,1158,950,1018,941,1080,1490,1630,1520,1368,1306,1228,1380,1334,1514,1278,1136,1256,1316,1326,1262,1170,1086,1260,1434,1368,1288,1164,1302,1574,1294,1120,1162,1206,1272,1282,1164,1238,1294,1318,1534,1364,948,1556,1760,1286,1001,1110,1066,969,963,1152,1360,1394,1452,1172,791,789,949,1056,1100,1018,1040,1122,1262,1466,1642,1842,1518,1524,1378,778,644,803,844,944,1021,1026,1148,1244,1044,890,985,1090,1302,1312,986,787,1007,1624,1888,1788,1648,1452,1124,1152,1015,956,931,1010,905,832,1206,1512,1294,1126,992,944,1340,1100,725,847,1074,919,1028,1114,1072,1320,1584,1380,1015,1252,1770,1356,961,1018,858,945,892,796,854,1070,1134,962,920,1216,1480,1356,1520,2282,1874,1954,1694,1510,1350,1432,1456,1416,1692,1774,1540,1378,1256,1170,1208,1332,1614,1366,880,1080,1186,893,599,700,1020,1214,1084,684,1192,1148,841,1058,1434,916,529,595,773,1058,1064,1168,1252,1242,1260,1156,1392,972,856,936,720,458,498,550,533,487,540,512,509,1190,1136,1015,1306,1204,680,401,391,771,1128,938,404,286,253,313,519,933,893,753,925,1068,957,966,1076,974,1110,1326,1216,1190,1032,772,692,1062,1518,1522,1384,1428,1666,1836,1188,709,329,313,471,844,1198,1516,1576,1494,1444,1438,1440,1554,1592,1636,1330,788,841,684,835,787,1056,1410,1128,929,750,982,1226,1180,1344,1388,1484,1050,1086,1310,1296,1376,1212,1206,1246,1218,1114,866,1068,1492,1260,1164,933,702,491,568,907,1322,2032,1288,1088,1334,955,529,417,717,1166,1382,1412,1406,1190,686,412,386,432,728,731,593,583,610,475,397,560,685,738,1005,1132,745,437,333,672,654,365,424,635,693,816,1032,1066,795,388,397,340,425,479,402,353,579,1042,960,484,437,579,623,693,972,1094,835,975,1140,1196,1190,1018,830,799,736,781,1019,1278,1400,1254,1200,1204,979,542,766,1188,1336,1430,1548,1728,1534,1346,1258,1086,1100,1208,1388,1494,1722,1136,582,604,960,995,968,1116,1210,1058,1021,1212,1206,1194,1032,731,924,1232,1392,1386,1296,1454,1532,1228,1438,1520,1410,1474,1512,1378,1166,1132,1026,1198,1308,1170,993,615,478,353,349,344,330,406,440,488,584,673,822,632,516,763,691,732,931,714,778,938,873,636,740,1015,829,816,913,1054,1438,1292,1098,1040,968,1009,1202,1436,1234,845,778,869,1176,1330,1424,1036,988,1202,1406,1462,1342,1274,1284,1158],[882,1282,1506,1392,1104,1150,1138,935,865,728,794,1038,1282,1388,1208,1454,1518,1216,965,628,838,1146,1016,716,780,1322,1434,1504,1292,1264,1246,1338,1382,1328,1632,1688,1926,1428,1278,1224,1126,875,1208,1522,1204,1066,1024,1214,1184,786,609,963,1056,1112,703,782,1028,1088,1170,1192,1250,1048,749,834,1036,1132,1208,1078,1136,1021,1068,1112,1023,774,620,602,592,523,501,414,357,288,280,309,315,270,288,377,398,343,306,304,307,310,336,347,372,319,303,338,368,547,879,960,1068,1020,670,586,1086,1296,1001,1048,1002,1246,1070,818,1134,1074,865,788,719,628,583,925,925,833,509,391,398,698,965,940,885,1168,1256,1216,1306,940,1548,1714,928,494,519,547,684,761,908,1116,1254,1182,1576,1252,820,906,1050,1060,1336,1582,1386,1028,746,456,337,359,384,402,361,329,328,287,274,275,286,325,384,372,367,384,386,397,433,460,453,391,359,371,418,284,544,990,638,498,734,879,569,422,846,824,656,742,831,661,772,899,908,765,803,665,599,645,506,411,477,448,437,797,1326,1356,760,456,330,444,442,470,843,766,472,506,469,593,1078,918,543,806,922,791,658,865,1106,719,384,368,471,599,763,1058,1362,1562,1562,1578,1406,1424,1608,1390,1226,1284,1244,935,878,796,714,904,739,924,1110,1094,1136,1216,1120,767,647,531,629,556,480,445,474,440,547,972,1218,1262,1156,1170,1154,1174,1292,1294,1246,1394,1192,1172,1190,1196,1202,1450,1580,1258,1322,1262,1242,1258,1044,1072,1252,1216,1190,1314,1354,1146,1216,1302,1154,1118,1338,1130,700,641,886,696,437,570,770,742,692,435,377,337,362,365,364,506,954,1232,942,643,767,756,598,695,574,611,830,1082,1188,912,795,1074,1288,1084,1036,1214,1214,1110,677,980,1714,1184,707,1280,1150,628,613,642,577,1192,1742,1194,1060,713,449,386,449,889,925,588,493,582,1124,1266,612,583,727,490,358,393,555,714,521,765,1210,1102,770,904,1052,646,412,759,1048,796,626,624,557,838,976,848,1052,1262,1250,1404,1316,1160,1272,1282,1448,1228,658,675,862,1096,1290,1158,869,542,527,457,421,422,657,643,901,1246,1402,1410,1310,1274,1014,904,1040,1158,1166,1036,609,767,1144,1246,1372,1428,1470,1418,1296,911,496,363,353,439,474,558,487,436,449,440,425,402,581,845,898,778,758,676,720,758,768,847,972,1216,1210,1144,1172,1146,1214,1158,887,587,741,688,1222,1328,1058,1326,1344,988,1102,1196,1266,1328,1262,1322,911,944,991,1036,1158,1210,1204,1332,1484,1360,787,434,581,861,1182,801,980,1466,1372,1264,1176,1084,1222,1056,1036,1128,1176,763,605,826,857,999,1058,741,627,785,796,924,1084,910,481,336,338,281,285,280,248,233,248,283,298,329,331,306,670,1472,1322,1256,1266,1018,717,739,1062,1214,1172,1058,794,995,1216,1520,1454,1300,1370,1466,1298,927,877,1008,1128,1544,1292,800,633,998,815,416,448,957,883,516,385,632,1964,3176,1832,910,503,480,873,748,460,397,387,763,1236,1086,615,547,545,424,497,541,678,1036,1484,1404,1374,1300,1312,1158,1104,1570,1490,1140,1128,1096,1290,1180,725,770,1020,1144,1134,1050,934,1138,1328,1246,1260,1156,1270,1380,1380,1252,1268,1440,1582,1418,1312,1254,1164,1170,1130,988,1158,1360,1268,1002,918,1222,1350,1262,1368,1526,1310,1136,951,1064,1308,1444,1354,1334,1302,1398,1454,1322,1102,732,555,802,1222,677,394,698,1214,919,884,878,1036,902,705,897,1218,1628,1438,1134,626,451,391,356,391,426,500,647,1040,1344,1021,1166,1070,641,922,1226,1570,1464,1214,1274,1724,1564,1186,1336,1224,850,1072,1654,1900,1854,1048,1102,1638,1548,1508,1598,1962,2290,1584,1368,1472,902,1128,1312,1386,1104,659,427,604,850,833,719,999,1098,725,642,621,432,353,367,638,833,668,725,1194,1472,1388,1864,2012,1486,904,803,1072,1620,1472,1506,1866,1360,688,1004,940,1072,1310,993,766,721,722,675,550,844,954,560,404,331,306,459,954,824,559,444,565,1078,1308,1228,885,581,547,613,597,613,636,889,797,750,767,829,1007,1040,899,788,1018,1318,1094,922,775,1260,1276,1502,1208,1344,1772,1210,771,918,780,661,799,973,1058,1290,774,637,1116,1196,938,1496,2056,2264,2468,1804,841,456,547,659,811,697,311,542,1042,805,659,858,746,651,1062,825,1268,1806,1112,539,897,913,569,450,485,621,465,438,495,390,304,626,583,605,734,780,634,1062,1280,519,352,427,579,416,350,337,356,353,380,598,612,769,1216,1236,1508,1838,1516,1318,1416,1420,950,673,689,785,694,508,491,430,685,792,566,383,444,438,331,543,947,1094,790,453,624,1116,1318,1182,1074,857,529,870,963,791,1510,1384,780,843,986,1190,1350,1582,1448,1466,1448,1758,2030,2116,1906,1002,688,847,858,1154,1288,1206,1072,1018,1094,1134,1038,1086,1066,1208,1070,841,591,366,459,724,744,758,1204,1532,1382,1406,1598,1978,1656,1276,1570,1622,1482,1526,1406,1224,1274,1350,1558,1758,1846,1676,1528,1210,1130,1146,629,802,691,848,1200,939,922,1296,1576,1660,1666,1636,1804,1766,1086,974,1610,1978,2024,1774,1550,1426,1404,979,869,1088,1044,1166,1230,1454,1626,1196,1372,1782,1570,1150,1064,1070,1118,1358,1484,1242,1224,1388,1576,1194,1120,1334,1358,1356,1292,1318,1428,1530,1588,1446,1110,523,729,938,963,1028,1256,1312,932,1124,1202,1128,1472,1670,1672,1780,1738,1368,1122,1042,1070,1324,1684,1818,1618,1214,1288,1422,1570,1750,1964,1992,990,596,489,540,1290,1628,1396,1086,761,468,581,915,1194,1152,1032,730,569,587,997,1398,1488,1138,612,451,447,428,407,435,519,1134,1428,1330,1074,1136,1104,928,818,827,998,1094,1036,963,1296,1270,1546,1624,1576,1678,1640,1704,1850,1816,1704,1610,1500,1334,1114,983,840,700,598,563,577,659,840,966,1078,1134,1052,823,725,576,635,636,699,738,1058,1242,1040,905,902,930,1066,1238,1174,1142,1462,1638,1512,1500,1378,1250,1264,1348,1322,1288,1444,1522,1518,1542,1348,1444,1424,1672,1618,1756,1836,1208,1456,1410,1334,1252,1222,1174,1412,1404,1368,1234,1130,1116,886,1154,1480,1570,1284,1140,1396,1406,1524,1560,1410,1356,1328,1238,1134,1162,1306,1432,1310,1224,1372,1244,1226,1538,1484,1246,1278,1548,1694,1640,1502,1610,1722,1332,964,1004,1023,859,634,835,1036,1152,1180,1346,1620,1566,1428,1292,1286,1266,1438,1294,1224,1322,1218,1202,1328,1240,1050,1108,1178,1334,1324,1170,1364,1462,1290,987,966,1294,1246,884,1118,1412,1206,1278,1360,1420,1009,918,1332,1350,1178,1104,1194,1132,972,1130,1110,758,984,914,496,495,789,1064,966,860,1022,1050,1238,1294,1494,1740,1886,1882,1606,1074,811,871,816,720,931,1066,1236,1238,1090,1338,1456,1098,1038,1164,1040,700,915,1672,1784,1672,1582,1422,1032,905,1194,1022,844,902,742,866,1306,1236,1220,1172,1098,1068,1240,1306,1198,1236,1004,883,1170,1182,932,1028,1360,1366,1352,1318,1566,1256,1088,1186,1264,1104,922,894,827,955,1246,1120,1084,1282,1380,1472,1654,1930,1478,1216,1236,1086,1026,1266,1164,1172,1470,1534,1434,1650,1852,2002,1610,1238,1144,1378,1654,1252,1005,1048,1040,1192,1336,1088,702,624,1162,1220,921,689,701,616,816,999,1312,1218,1188,1338,1046,901,995,1162,1154,885,781,957,854,501,447,533,634,480,503,522,648,1388,1310,949,1086,844,438,395,387,503,720,849,418,285,278,293,395,714,733,724,1034,1124,720,789,739,875,1152,1208,1266,1090,828,849,799,941,1402,1452,1536,1508,1444,1512,1266,824,458,362,431,399,771,1118,1208,1484,1650,1440,1410,1424,1358,1356,1406,1190,1096,1048,1094,1015,925,977,770,867,811,946,1278,1202,1138,1394,1440,1136,1404,1544,1424,1394,1166,1474,1334,1168,886,634,817,1214,1222,857,499,492,502,804,1070,1382,1506,857,1188,1540,1304,934,688,738,1040,1292,1216,1344,1132,648,671,642,530,522,414,409,618,767,614,420,665,1066,1078,985,1410,1268,732,384,497,500,328,451,598,511,723,937,605,414,384,376,324,416,422,366,431,825,1384,1116,423,438,778,953,749,834,1180,1278,1274,1504,1470,1152,1070,1398,1442,1112,938,1078,1384,1254,1084,1328,1224,1010,813,850,1214,1322,1128,1148,1616,1760,1608,1542,1246,1262,1332,1304,1210,1288,1144,904,950,1015,930,827,909,1080,1348,1642,1504,1180,1136,960,885,1136,1278,1162,1202,1186,1378,1542,1328,1082,1144,1360,1528,1998,1796,959,921,905,1024,946,690,727,725,715,545,512,548,468,534,636,457,478,447,420,375,363,521,636,610,523,623,882,916,595,429,422,501,515,825,890,957,965,943,924,1014,923,1078,1168,1196,1194,758,567,586,1116,1384,1278,1009,1058,1478,1764,1634,1324,1456,1468,1432],[624,927,980,832,751,924,1200,1636,1032,607,650,1036,1444,1190,944,996,1048,1302,1140,836,1021,1166,1414,1005,639,636,1010,1332,1162,932,838,1084,788,654,1046,1386,1986,1686,1532,1594,1370,993,1128,1254,1038,1154,1208,1170,994,613,647,915,717,595,573,862,1054,1064,1168,1158,1236,934,788,783,1138,1160,1192,1144,1112,1064,1098,1036,934,484,427,522,522,427,470,411,386,371,346,346,325,286,298,362,383,348,319,329,336,336,329,309,362,386,377,412,412,479,809,1132,1200,757,717,792,1180,1148,1146,1021,1010,1226,1036,941,907,610,679,904,752,470,492,813,919,849,708,407,345,441,907,1302,1116,1050,1132,1378,1572,1068,1322,1696,1064,456,587,691,692,695,940,833,1038,974,1282,1170,828,890,1278,1642,1600,1304,1214,1134,838,457,329,364,364,352,361,349,330,272,258,254,303,323,371,394,364,394,377,341,398,384,320,354,354,425,531,312,429,512,416,413,414,564,610,457,631,705,564,879,983,585,908,773,908,1028,1272,818,968,1072,736,757,830,732,516,863,1186,1092,874,585,407,821,991,684,655,670,544,607,630,689,1056,1090,1128,938,952,912,1320,1596,1402,982,556,632,859,1098,1196,1218,1202,1076,915,1038,1286,1354,1470,1382,1226,1116,1318,1332,1090,922,912,1056,1200,1236,1132,1082,1124,1040,820,706,557,467,458,443,462,515,509,484,760,1172,1302,1554,1448,1482,1268,1152,1202,1236,1242,1182,1310,1314,1044,1032,1188,1238,1062,1058,1406,1508,1328,1184,1230,1262,1224,1288,1282,1124,1050,1272,1462,1424,1152,1152,1406,1262,1088,1152,1138,782,524,843,998,454,365,315,321,420,574,536,478,708,1076,1208,1214,927,1052,980,1098,1298,893,844,907,1158,1124,1015,1046,1256,1338,1176,1098,1310,1232,1214,1078,1232,1222,1158,1274,1366,1126,841,902,761,602,1208,1490,1050,932,590,448,382,600,1150,1098,696,689,932,1342,1192,464,344,359,288,371,383,659,747,503,765,1360,1220,691,703,865,848,612,1012,1260,1202,1144,916,869,1166,1372,1184,1378,1400,1246,1490,1528,1372,1332,1046,1054,962,708,667,805,1074,1182,882,1040,885,774,826,583,389,453,543,824,1184,1434,1426,1236,1166,1194,1258,1136,1248,1274,971,683,890,1034,1076,1186,1206,1226,1130,1004,791,483,426,460,606,753,968,700,458,453,434,436,382,447,779,949,799,647,702,767,778,795,942,1228,1480,1270,1180,1030,818,959,984,1009,991,896,846,1240,1288,1310,1382,991,602,838,1009,1160,1234,1230,1434,1226,1009,1116,1426,1254,878,1066,1448,1240,989,469,571,1094,1144,973,998,1436,1426,1264,1350,1396,1092,879,847,962,1156,1102,640,683,944,953,913,1007,926,815,944,772,698,871,833,532,371,265,230,282,263,277,386,379,293,271,269,254,283,576,899,1228,1346,1178,1046,883,1013,1366,1410,1258,1116,788,673,956,1436,1238,922,981,1176,1336,1102,923,1130,1628,1448,894,738,577,909,712,434,386,376,376,302,322,330,597,1374,1312,945,637,780,1264,1188,825,692,419,528,763,565,495,673,598,426,465,633,1034,1390,1584,1376,1140,1218,1350,1262,1112,1296,1236,1005,1104,1106,1144,1284,1294,1158,985,976,1054,1074,1144,1460,1424,1406,1430,1332,1260,1364,1462,1340,1432,1614,1512,1458,1476,1180,1294,1260,1240,1122,1422,1470,1328,1172,1018,1072,1392,1530,1406,1478,1234,1194,1124,1152,1338,1368,1426,1664,1642,1268,956,852,698,509,830,980,1174,686,561,807,962,854,918,1222,1238,1082,1304,1426,1620,1720,1680,1238,681,435,386,376,412,431,519,702,1013,1414,1284,1626,1122,573,623,1204,1564,1632,1532,1410,2128,2304,1708,1504,1310,1082,2056,2588,2298,2204,1476,977,1196,964,1078,1882,2404,2384,1264,1132,1090,1378,1486,1380,1322,1286,1060,681,543,586,479,559,566,588,655,705,580,354,354,387,726,1064,838,708,1060,741,635,1232,1866,1642,938,968,1186,1428,1706,1730,1974,1516,1080,1932,1992,2232,2094,1202,1420,1886,1686,1688,1688,1386,1003,583,482,342,332,316,623,1042,748,643,976,1282,1394,1064,745,694,648,620,716,682,587,731,733,750,797,709,791,1092,909,793,943,1102,1232,1112,716,911,1232,1416,1542,1940,1938,1396,1026,1134,1390,1098,913,1350,1324,1342,927,469,725,901,982,1340,1798,1990,1974,1484,1001,538,698,724,541,491,358,410,612,614,852,1120,870,695,1146,1118,1162,1204,997,1378,1622,1050,770,798,580,296,380,805,1038,609,747,1054,827,584,533,800,864,794,763,528,1052,1464,1066,460,335,329,406,436,511,836,761,980,1192,1290,1538,1528,1266,1420,1534,1078,962,1040,760,481,347,358,514,506,677,539,521,423,368,422,318,356,553,595,481,497,971,1472,1534,1302,1122,807,565,596,482,554,790,726,565,597,856,1036,1576,1870,1840,1782,1632,1494,1384,1340,1008,722,728,768,1140,1344,988,864,738,882,1056,1148,1366,1224,1080,1370,1080,886,415,499,1158,1682,1194,985,937,1028,1240,1366,1540,1594,1164,802,1284,1814,1670,1606,1324,1019,1028,1232,1454,1676,1886,1992,1562,1274,1300,1058,900,956,954,1356,1488,1288,1026,1180,1550,1610,1650,1658,1672,1662,1194,1178,1470,1958,2048,1972,1838,1650,1440,1094,779,785,757,836,896,1108,1756,1918,1456,1540,1772,1474,1078,1186,1374,1210,1072,823,831,1160,1650,1452,1376,1588,1568,995,590,904,1116,903,870,938,882,393,531,800,688,833,1006,979,1064,1360,1490,1358,1436,1554,1596,1500,1658,1570,1490,1416,1196,1222,1232,1158,964,1003,1284,1476,1640,1754,1874,1964,1368,707,522,802,1328,1518,1402,1154,1064,547,520,1194,1354,1202,874,532,591,1094,1498,1464,1352,1236,811,447,426,458,439,452,495,797,805,1008,1126,1262,1380,1310,1406,1368,1276,831,763,752,1144,1252,1420,1454,1504,1562,1628,1846,2010,1932,1766,1758,1640,1346,1003,704,635,733,857,1021,1298,1514,1578,1692,1830,1680,1690,1288,1050,910,1060,1058,808,914,1114,1050,1040,1080,1202,1260,1278,1350,1582,1582,1532,1462,1456,1550,1450,1090,1110,1394,1322,1386,1598,1396,1298,1346,1178,1192,1408,1476,1364,1656,1724,1280,1388,1410,1340,1296,1172,1142,1376,1366,1386,1452,1368,1336,1124,1428,1350,1328,1190,1224,1342,1402,1654,1634,1434,1384,1324,1484,1282,1238,1358,1626,1456,1230,1594,1354,1250,1462,1410,1294,1468,1568,1548,1460,1658,1652,1494,1220,1054,1094,1140,1001,905,1090,1136,1100,1044,992,1454,1526,1278,1182,1260,1218,1310,1430,1382,1224,1184,1272,1328,1272,1246,1094,1188,1190,1148,1158,1308,1378,1214,1020,977,1204,1168,874,1172,1300,1074,1246,1682,1806,1230,1204,1416,1212,1150,1178,1438,1448,1130,1138,1074,893,872,885,675,572,868,994,988,1128,1202,1148,1023,1268,1624,1742,1732,1780,1714,1260,1009,970,770,659,766,1007,1092,989,866,1054,1228,1210,1174,1250,1212,1012,901,1382,1526,1456,1502,1288,1092,1058,1094,1062,1012,1008,1012,1190,1396,1246,1268,1196,1068,1234,1414,1406,1464,1280,911,1054,1360,1098,856,898,1282,1194,1454,1500,1700,1562,1438,1242,1192,1234,1156,1120,1184,1350,1260,1322,1240,1152,1264,1428,1400,1092,913,1290,1390,1268,1140,1134,849,843,850,873,980,1362,1682,2128,1836,1082,727,1280,1476,767,733,814,1013,998,1202,794,555,485,710,1070,901,800,1084,1120,1160,1130,1019,960,1256,1388,1015,776,727,901,1190,1184,1044,967,1066,856,492,498,697,683,557,466,577,1046,1060,921,880,623,387,350,333,336,356,398,300,260,268,265,387,477,513,748,761,686,457,396,423,768,944,792,855,886,944,1160,1112,998,1318,1402,1252,1226,1404,1378,936,799,697,482,376,345,556,892,1334,1448,1632,1440,1242,1274,1084,787,1070,1426,1262,835,746,943,1116,1334,1116,1134,1318,1300,1454,1240,838,1080,1238,966,921,1092,1272,1120,1284,1458,1578,1500,1194,841,1007,1354,1272,951,658,465,672,1218,1160,1120,818,467,819,1080,951,1066,1146,827,911,1070,909,1062,1322,816,962,859,528,435,375,437,799,1332,872,488,624,1028,1086,857,1300,1576,1250,639,311,289,260,319,484,544,512,454,372,380,393,384,379,470,493,386,411,593,714,496,403,428,1158,1406,938,916,1080,1256,1300,1044,889,1032,1394,2128,1758,1408,1148,974,1178,1156,1210,1254,1212,1368,1236,882,996,1126,1256,1444,1470,1666,1806,1862,1546,1298,1302,1136,1108,1428,1422,1238,1586,1400,1198,946,937,1072,1330,1540,1220,1018,1166,1250,1330,1444,1252,1168,1062,1208,1342,1448,1294,1002,1194,1416,1474,1482,1362,1150,1086,1004,1036,1044,870,656,712,830,727,707,801,516,443,516,408,424,407,444,464,565,708,712,627,532,572,524,369,318,371,415,407,367,590,706,730,754,592,667,987,1152,1322,1296,1224,1464,937,764,907,1028,1228,1310,985,1028,1322,1534,1380,1400,1432,1406,1316],[768,749,836,641,645,487,1216,1932,1158,647,761,1104,1062,719,933,1062,1072,1102,1046,902,844,814,1218,1084,652,798,1400,1440,987,797,918,1048,849,994,1086,1072,1430,1466,1488,1448,1410,1302,1166,889,1082,1256,1230,1138,850,509,575,822,711,504,601,977,1072,1116,1122,1158,1294,834,775,902,1122,1194,1160,1162,1122,1052,1188,1026,798,316,261,380,437,509,531,383,354,342,312,343,347,338,332,325,337,341,352,348,301,319,378,389,424,518,631,546,440,460,1042,1462,1208,848,1042,1140,1200,1444,1630,1340,1050,1154,1028,1240,966,663,805,1262,937,563,486,446,579,1032,984,511,572,656,846,1218,1326,1154,1226,1534,1496,937,772,1322,1300,731,845,643,484,448,619,622,720,529,768,1162,881,604,763,1005,1218,1258,1342,1142,610,437,377,329,351,378,497,838,683,338,307,307,341,351,351,401,381,393,390,390,422,365,332,416,537,788,664,485,484,543,547,436,337,306,331,511,926,1102,1012,1206,1046,481,747,548,556,837,903,576,850,1094,949,993,1026,675,428,620,964,1266,1064,670,404,825,1162,792,666,794,691,713,581,567,799,967,1136,842,659,771,1252,1376,1288,1302,1202,1256,1274,1160,941,962,1012,996,968,994,1268,1148,910,1246,1144,1138,1356,1316,923,807,1094,1126,1176,1110,930,901,1084,1148,1114,1114,789,726,685,678,795,678,621,556,634,989,1282,1562,1504,1418,1322,1350,1188,1004,1194,1412,1482,1510,1060,873,917,899,904,1124,1406,1604,1610,1486,1398,1172,1024,899,809,786,1096,1508,1224,733,790,1152,1422,1376,1354,1338,1188,1056,1086,1104,915,470,350,347,538,824,852,702,669,896,1178,1192,999,807,1112,1138,1154,1172,1010,989,1204,1402,1498,1306,1024,1248,1232,1128,812,715,661,946,1122,1430,1212,1090,1108,1166,1174,1072,1017,664,574,1040,1166,910,818,780,954,713,518,927,1004,741,867,1194,1286,969,426,316,331,322,393,415,479,486,404,492,801,717,688,823,777,1426,1106,1148,1102,1114,1108,1056,1192,1166,1126,1096,1234,1278,1198,1168,1682,1992,1270,712,717,691,759,808,793,960,1048,750,1180,880,907,1216,1050,675,559,846,1082,1098,966,1324,1124,846,1080,1234,1388,1432,1232,939,654,698,854,1076,1130,1072,1078,981,727,725,702,805,984,1001,951,925,705,465,437,444,409,403,593,803,894,1152,1184,814,728,861,1021,1276,1588,1808,1266,1328,1146,810,828,845,1108,1196,1017,1009,1082,1226,1206,1086,879,815,949,1244,1184,1094,1240,1440,1344,1009,1126,1108,700,623,669,960,1094,896,642,644,981,1116,965,1244,1392,1182,1220,1376,1504,1266,1068,811,608,932,957,564,468,690,825,990,1164,1024,910,1030,784,770,716,752,591,384,312,272,337,337,331,429,358,260,286,298,296,285,458,800,1104,1100,1082,1236,1194,1324,1588,1468,1372,1156,690,662,721,789,969,1108,999,857,1084,1026,1122,1272,1448,1124,527,595,688,781,565,526,505,407,356,337,341,368,406,539,827,822,877,1116,1334,1130,1400,1658,661,542,957,873,529,495,453,390,550,1088,1604,1656,1338,982,799,1034,1260,1224,1168,1174,1090,1236,1364,1308,1176,1220,1408,1160,1044,1250,1378,1354,1344,1392,1260,1250,1090,1140,1040,981,1068,974,1174,1428,1562,1482,1614,1348,1172,1176,1212,1160,1120,1208,1234,1142,1015,1001,1244,1344,1230,1452,1200,1220,1158,1284,1632,1726,1556,1398,1062,526,463,681,665,661,1102,1086,878,730,754,804,977,1064,1162,1676,1372,1150,1360,1358,1366,1404,1460,1274,832,447,391,404,454,501,580,691,954,1378,1334,1150,681,441,562,1122,2072,2608,2186,2138,2142,2814,2172,1714,1360,1360,2248,2546,2050,1948,1802,1456,1538,1202,1144,1568,1834,2210,1686,1462,1390,1314,1174,1048,1058,1328,1002,774,658,761,476,586,655,605,560,695,739,567,354,428,641,1160,1528,893,1290,935,2208,2708,2228,1652,1046,1022,1216,1400,1790,1388,1858,1506,1246,1360,1200,1418,1238,807,1628,2182,1322,1074,1204,1026,591,493,488,361,338,325,323,515,607,977,1212,1196,957,620,594,627,572,684,1012,821,682,705,626,584,626,581,761,894,780,700,922,1050,1236,1202,978,765,1028,1332,1344,1898,1510,1162,1188,1118,1510,1550,1116,1266,1232,1318,1050,954,1716,1526,913,968,1504,1176,882,949,1016,661,561,488,268,346,494,474,503,475,541,668,681,576,825,813,757,1016,1490,1672,1294,886,1142,1692,1290,534,561,746,716,716,1122,993,692,713,600,647,772,841,613,760,1134,1018,519,315,351,449,785,993,600,676,634,772,681,839,908,859,930,1128,944,589,582,485,651,623,361,326,469,447,651,607,501,455,468,460,392,393,489,460,368,440,913,1152,1200,1154,1072,948,711,539,506,448,494,630,684,675,905,998,1570,2520,2248,1728,1764,1562,1592,1546,1200,772,619,518,908,1050,890,581,699,889,693,917,1368,1009,462,594,955,732,794,1068,1754,1972,1788,1622,1322,1254,1292,1058,688,1072,1304,1106,932,991,816,1306,1364,999,895,926,1120,1504,2078,2272,1444,1272,1448,1340,1066,1124,1248,1328,1418,1408,1278,1372,1594,1478,1522,1728,1626,1116,845,1338,1548,1742,1866,1950,1972,1722,1554,1550,1130,525,497,872,1098,1342,1694,1982,1814,1440,1476,1924,1526,1242,1430,968,912,1078,1210,1452,1674,1716,1642,1344,1068,689,632,1120,1284,1013,1048,1086,951,473,490,632,539,892,1530,1738,1344,978,1506,1834,1864,1820,1402,1038,1076,1366,1654,1652,1478,1230,941,924,1023,1268,1448,1584,1792,1776,1788,2096,2020,1442,1048,1050,1222,1032,780,952,1178,820,683,1338,1722,1588,998,547,991,1616,1600,1408,1028,1158,1220,947,659,552,639,855,1062,1174,1266,1486,1488,1386,1450,1300,1508,1372,1450,1444,1256,1092,1154,1144,1023,1023,1144,1274,1420,1620,1832,1788,1560,1462,1362,1170,1005,1234,1644,1662,1312,1460,1480,1488,1494,2156,2366,1814,1436,1248,1086,1015,1362,1516,1218,1242,1078,929,1348,1318,1560,1584,1554,1550,1472,1368,1324,1270,1260,1458,1536,1362,1476,1646,1428,1324,1544,1256,1050,1172,1180,1186,1206,1174,1458,1672,1360,1508,1532,1626,1494,1440,1256,1198,1434,1378,1310,1406,1396,1242,1286,1198,1272,1550,1440,1248,1260,1490,1732,1494,1332,1316,1128,1314,1044,1005,1230,1310,1264,1360,1432,1302,1180,1096,1110,1266,1438,1548,1518,1420,1608,1416,1254,1338,1276,1160,1246,1264,1362,1476,1054,830,828,766,1086,1402,1334,1184,1232,1172,1250,1404,1170,846,922,955,1074,1210,1274,1168,1134,1050,1064,1194,1332,1226,1142,1258,1160,1234,1134,934,957,1074,1054,1458,2076,1846,1418,1196,1050,913,1032,1354,1548,1268,986,1036,1019,1002,1150,1164,819,789,677,592,704,993,1094,1192,1166,1390,1418,1548,1620,1764,1544,998,904,946,812,904,968,1332,1212,1068,1028,981,1001,1100,1106,1248,1028,1001,1014,1288,1310,1332,1272,1178,1202,1060,1020,1310,1282,1280,1336,1350,1428,1238,1180,1154,1244,1268,1332,1428,1400,1200,894,978,1200,990,1034,1188,1176,974,1240,1478,1384,1280,1266,1154,1172,1238,1178,1074,1216,1278,1232,1324,965,1090,1520,1528,1318,960,1021,1156,1086,1142,980,1126,905,562,539,567,608,930,1258,1494,1664,1458,1164,1222,942,639,855,755,825,736,811,1120,1312,1062,931,1142,896,816,1182,1054,860,924,982,1009,1220,1354,1236,1214,1164,1212,1380,1302,1182,1222,1286,1338,761,581,612,662,681,653,630,629,581,752,788,481,397,362,371,367,343,329,249,235,252,264,380,350,288,347,314,312,301,382,479,717,951,736,525,717,943,1194,1088,956,883,1016,1252,1354,1266,1106,1180,1166,789,424,361,485,662,1036,1466,1152,1170,1232,1344,1230,888,822,1078,1326,1396,1482,1184,1290,1374,1456,1458,1228,1302,1302,1410,1376,1028,913,1250,1284,850,1042,1216,1158,1284,1180,1312,1416,1194,1032,1014,1004,1418,1160,898,756,838,1158,1304,1026,559,467,660,784,1106,1356,1162,832,872,1001,865,728,1026,724,478,376,307,348,591,948,1020,1076,616,475,487,719,799,889,1266,1746,1692,884,427,349,294,534,741,442,333,331,322,348,375,400,429,489,548,399,384,419,449,418,532,526,943,1068,860,1060,1262,1236,1230,761,509,819,1230,1644,1484,1202,1166,1172,893,938,1280,1208,1052,1232,1296,864,825,827,1272,1340,1340,1454,1622,1910,1678,1282,1278,1182,1010,1054,953,814,1322,1472,1278,1010,1034,1136,1300,1304,847,783,738,1114,1450,1450,1422,1346,962,979,984,1152,1342,1300,1290,1210,1128,875,984,1004,946,866,965,1228,1150,794,769,880,692,795,905,521,512,542,488,425,586,976,821,603,625,690,769,735,792,585,431,421,422,384,378,443,624,669,527,543,407,434,924,1294,1170,1418,1528,1212,667,751,1164,1182,1284,1412,1130,1062,977,1002,1304,1326,999,1432,1820],[1134,1106,1046,825,783,425,759,1154,800,572,838,1028,1019,1072,927,1046,1174,1230,1042,1030,1100,1152,1278,1160,1088,1078,1256,1054,880,972,1384,1334,1052,1150,1170,1144,1120,1102,1298,1378,1234,995,1318,861,1224,1874,1824,1536,1142,595,574,693,627,643,713,1062,1048,1170,1086,1170,1164,849,755,963,1166,1130,1198,1102,1086,1074,1064,875,436,303,303,297,307,379,354,268,290,302,343,358,353,364,380,363,359,391,393,338,259,270,372,373,404,473,512,408,390,372,872,1224,1078,904,1036,1276,1112,1108,1604,1426,1350,1420,1034,1234,1346,1178,847,835,758,552,386,311,558,836,601,467,1166,1500,1366,1072,1204,1220,1244,1404,1096,581,704,1466,1432,1204,1122,544,524,560,717,992,1076,832,901,1050,858,718,747,1012,1426,1384,1560,1380,691,355,351,515,792,708,647,957,611,339,288,337,321,348,423,452,398,379,371,387,457,547,809,1090,1242,1222,822,809,751,855,971,681,374,349,454,525,853,887,758,755,684,371,271,310,408,529,479,421,458,650,729,964,1114,552,460,762,1088,1320,1220,827,500,625,938,853,763,855,686,697,581,457,576,955,1238,1094,766,786,1154,1252,1246,1188,1086,1082,1162,1114,974,1096,1172,1170,1032,908,854,889,810,1146,1236,1126,1148,1146,829,794,1068,793,672,695,807,886,1142,1382,1552,1402,1166,1264,1042,988,927,841,750,674,743,1080,1204,1220,1200,1102,995,1078,1044,1112,1742,1438,996,1140,891,732,832,977,1134,1294,1308,1566,1964,1682,1368,1314,1274,964,688,940,1178,1054,785,764,1132,1344,1238,1230,1396,1268,1230,1216,1124,882,796,534,377,550,912,1132,1150,1054,751,554,959,1308,1204,1052,1108,1208,1176,1120,988,1164,1316,1176,1256,1378,1236,1146,769,658,575,465,487,691,1005,1252,1350,1434,1170,1096,1052,1228,1318,869,637,721,781,1024,897,722,962,794,688,929,929,835,947,1240,1126,676,361,343,458,457,390,390,390,309,332,363,486,554,1004,1196,1038,1106,1170,1464,1140,860,1072,1022,1094,1102,1114,860,679,937,1238,1394,1520,1492,861,628,628,609,824,1013,822,1080,995,940,1020,796,968,1134,1178,998,971,1318,1262,703,544,1032,1248,777,864,1476,1904,1500,1216,1090,843,602,595,993,1166,1144,951,1002,1162,1172,959,1040,1216,1060,675,427,530,622,702,608,461,379,471,762,827,1142,1380,1232,1132,847,761,1004,1214,1248,952,973,959,912,871,783,1009,1168,1210,1110,1122,1248,1088,1148,1038,1104,1166,1060,959,1162,1152,1194,1288,966,932,644,555,496,516,926,725,521,588,662,937,931,1050,1420,1128,977,1278,1604,1522,1474,1106,683,577,875,1007,741,503,516,635,895,965,1064,1030,1152,1044,928,822,835,704,426,329,293,346,323,273,307,272,254,300,283,281,311,493,827,898,864,1016,1188,1126,1244,1116,767,763,883,637,448,464,702,951,1052,955,1052,1136,886,838,965,1228,1284,1009,736,889,835,393,517,626,767,743,499,352,327,376,636,902,1194,1312,1104,1216,1320,1896,1472,795,1394,1800,1282,680,419,417,483,858,1338,1506,1158,1056,829,648,803,1188,1088,1224,1160,1114,1252,1200,1406,1502,1188,1360,1268,1198,1318,1400,1340,1400,1408,1288,997,785,1042,1160,1114,928,893,880,1108,1484,1442,1484,1362,1332,1370,1332,1260,1260,1382,1332,1506,1104,1128,1254,1146,952,1292,1372,1236,1206,1402,1688,1656,1030,715,705,491,469,485,759,1414,1108,710,748,673,723,901,1026,1360,1206,1500,1003,899,1192,1238,1324,1558,1570,1324,759,521,460,419,530,573,515,485,929,1354,1172,854,655,569,531,1206,2512,2674,2278,2094,1274,1816,1418,1490,1596,1830,2170,2028,1758,1482,1344,1354,1384,933,1460,2254,2330,2302,1606,1028,1019,1144,974,662,659,1098,814,619,544,518,454,446,806,894,521,547,641,482,364,759,1060,1384,1834,1224,1628,1432,2010,2684,1838,748,568,899,1013,973,1306,960,1730,1610,1738,1910,1350,813,573,689,1664,2002,1570,1922,1766,985,469,368,450,437,522,532,339,648,1126,1124,989,822,566,522,704,889,755,706,746,624,637,792,668,553,651,733,876,1198,1394,868,799,989,1013,1142,1254,893,823,1268,1250,1614,1082,916,1176,1382,1404,1256,1194,1324,1428,1430,1026,1054,2314,2320,1023,828,1376,1510,1042,808,1146,1318,1186,744,1190,1756,1760,747,554,715,790,910,783,533,525,503,487,866,1352,979,939,1106,1028,924,589,535,532,411,336,553,876,937,985,873,638,663,642,721,663,794,902,959,841,548,610,1023,1106,1102,585,498,533,694,708,771,865,1026,961,641,408,353,316,268,347,377,393,383,373,441,584,604,531,507,537,484,440,477,533,458,426,598,1058,1132,901,885,1016,847,522,410,471,532,1002,1022,1046,839,896,1140,2746,3724,2148,1686,1792,1690,1476,1400,974,1048,1102,1016,889,619,531,593,824,977,1080,1340,1060,562,404,852,1050,583,626,914,1542,2026,2198,2032,1724,1578,1676,1418,1086,852,634,957,1174,811,565,920,1148,1108,937,606,595,1274,1868,1474,1116,1224,1338,1338,1090,1202,1304,999,902,1078,1238,1522,1780,1588,1544,1672,1660,1208,1244,1552,1732,1680,1512,1516,1976,1948,1828,1680,1310,556,280,546,1102,1736,1798,1692,1910,1780,1344,1416,1598,1494,1672,1516,1278,1192,1080,1042,1372,1688,1452,1116,1318,1224,1130,1744,1632,1320,1048,925,993,700,455,570,641,1002,1674,1958,1628,1116,1730,2002,1766,1638,1218,1009,1002,1100,1316,1504,1670,1524,1294,1518,1498,1542,1608,1536,1654,1618,1402,1732,2024,1624,1448,1224,888,762,694,920,1090,1068,974,1344,1720,1774,1422,1108,1360,1440,1334,1432,1015,997,1204,1334,1368,1458,1548,1574,1584,1450,1126,1078,1208,1366,1598,1518,1648,1546,1448,1308,1078,1044,1160,988,828,884,1092,1370,1168,1268,1476,1536,1366,1268,1172,961,1016,1472,1826,1744,1354,2100,2452,2556,2526,2588,2028,1438,1358,1338,1278,1084,943,1072,1334,1510,1248,899,1260,1886,2012,1688,1536,1328,1188,1142,1178,1188,1260,1512,1690,1420,1438,1580,1374,1308,1344,1246,1166,1330,1380,1498,1418,1370,1534,1550,1740,1454,1142,1146,1366,1594,1616,1576,1526,1354,1426,1516,1294,1246,1260,1194,1194,1266,1194,1118,1124,1260,1386,1336,1304,1394,1192,1130,1116,1220,1256,1116,1218,1370,1434,1350,1140,1142,1402,1548,1532,1592,1354,1268,1348,1306,1234,1260,1186,1104,1260,1298,1312,1044,882,645,645,1016,1100,1318,1462,1282,1232,1256,1172,1194,1158,1086,1094,966,1010,1172,1162,1194,1208,1144,1120,1100,1402,1172,1206,1210,1066,1108,1054,934,924,1018,1130,1438,1742,1506,1332,1108,991,1014,1142,1314,1314,1072,1058,1068,1004,1072,1038,1076,1138,902,692,702,631,704,963,1064,1246,1452,1594,1676,1554,1384,1216,960,849,960,1082,1032,1130,1332,1296,1192,1106,1122,1010,1158,933,775,906,791,957,1246,1302,1256,1288,1230,1130,1306,1344,1262,1308,1754,1344,1244,1290,1268,1300,1262,1172,1196,1308,1234,1348,1476,1034,1015,1368,1222,1180,1124,921,1112,1392,1158,1034,1206,1272,1218,1316,1208,1416,1120,880,1294,1738,1386,1032,1332,1650,1630,1300,1246,1210,883,725,763,864,1308,1230,926,781,605,593,982,1238,925,1130,1588,1698,1288,803,692,729,953,1062,685,875,1416,1648,1394,1182,1168,933,897,1040,1106,1334,946,909,1250,1340,1078,905,1007,932,1084,1394,1424,1252,1376,1196,1108,964,800,593,518,587,639,678,682,638,527,484,491,458,419,398,351,323,308,251,226,230,292,437,332,376,432,441,368,350,447,486,563,727,660,544,935,929,800,801,873,751,550,716,1208,1190,968,1338,1164,810,699,736,718,899,967,1028,1114,1070,1226,1484,1234,1220,1478,1266,1190,1238,1164,1354,1606,1422,1380,1300,1056,1088,1194,1300,1268,1122,1156,1372,1430,1242,1262,1258,1270,1300,1012,745,759,857,1196,1218,879,675,877,1252,965,729,1007,1264,1202,799,678,653,532,784,1024,1080,1068,981,1086,1017,698,531,399,355,413,455,598,1100,1372,950,584,866,1068,848,742,747,774,941,1262,1184,577,380,345,312,669,777,495,325,303,328,342,363,361,399,629,595,453,468,405,430,430,431,488,815,1088,1001,1186,1196,1274,1268,960,933,988,981,738,740,897,1406,1356,861,761,1080,678,558,908,1190,897,852,625,749,658,780,1154,1488,1780,1534,1152,1176,1036,766,573,495,514,984,1436,1378,1122,952,855,1062,1030,847,797,547,773,1104,1404,1396,1040,807,1005,1092,1196,1368,1312,1262,1080,802,692,916,854,1090,1072,1048,1206,1100,707,724,886,815,886,771,577,583,661,555,435,554,755,730,504,484,608,791,935,1048,841,526,518,693,637,522,680,913,783,559,954,821,422,545,611,790,1328,1490,1212,850,742,1162,1212,1330,1382,1116,865,702,733,1256,1556,1526,2174,2366],[1260,1328,1160,1194,1094,484,948,2048,1238,608,778,893,1020,958,731,893,863,867,940,1030,1100,1212,1318,1360,1322,1218,1064,877,1106,1188,1490,1390,874,662,777,1050,1222,1198,1206,1470,1118,950,1180,957,1013,1898,1982,1416,1230,876,651,595,632,713,821,1080,1096,1122,1094,1262,1046,777,865,965,1164,1118,1156,1136,1028,1152,1048,800,453,314,233,223,274,302,252,313,265,287,312,337,315,327,407,422,398,422,430,436,391,423,473,356,361,366,328,376,419,322,688,1066,991,644,703,1088,1118,1122,928,645,1704,1732,1154,981,1136,1009,637,745,690,440,367,339,382,332,271,424,976,1416,1528,1406,1021,690,919,1238,706,375,460,976,1078,1158,773,491,780,962,1052,1310,1292,924,684,697,688,584,561,742,1188,1144,1134,917,456,354,645,1208,1598,1388,625,380,337,292,306,357,346,330,353,370,362,422,536,686,875,968,1300,1894,1686,1076,1062,1180,749,644,852,583,343,395,651,540,599,784,805,651,598,426,316,378,470,502,465,418,357,374,563,926,1364,1070,790,979,1064,959,771,573,571,819,837,802,788,1048,888,773,709,666,720,930,1244,1076,1172,1240,1154,1036,849,758,1082,1312,1230,1470,1374,1444,1368,988,723,665,748,955,826,828,1152,1296,1264,1116,940,784,774,1024,751,687,596,696,1162,1386,1382,1196,1212,1276,991,996,976,863,756,653,816,1076,1126,1192,1198,1054,1038,1108,1058,1050,991,672,680,705,862,1084,1186,1202,1246,1308,1086,1412,1666,1372,1284,1348,1540,1190,1026,1314,1078,781,699,859,1242,1194,1072,1108,1214,1150,1318,1330,1320,1184,879,560,408,462,615,1023,1488,1396,606,555,821,1166,1334,1534,1728,1410,898,492,607,1110,1276,1011,1086,1156,1094,1028,826,597,530,481,581,741,716,866,1308,1428,1314,1468,1256,1350,1160,1048,1040,1094,1210,1260,1036,744,757,678,705,831,979,1114,961,920,844,513,355,514,729,664,391,367,432,409,332,332,414,538,886,949,872,846,1150,1570,1292,1426,1106,952,1504,1360,1076,675,400,891,1574,1354,1228,987,502,403,558,614,800,1116,1166,1298,990,1030,1188,1030,850,870,830,823,1019,1200,913,571,539,803,1232,926,957,1676,1564,1120,1204,1058,780,802,587,535,765,933,933,1320,1844,1424,911,1164,1482,1344,890,667,601,593,604,634,550,412,379,607,680,609,709,932,1118,618,569,1102,1326,872,823,856,837,1194,1250,836,1072,1072,1068,860,1108,1218,1182,1132,1192,1260,1140,883,797,1128,1178,1278,913,752,580,595,824,728,683,675,397,365,296,477,771,838,1272,1340,1298,1094,1256,1304,1304,1028,654,686,817,923,979,1316,1056,931,723,980,1202,1162,1104,1198,1098,833,903,1080,723,335,328,303,267,245,298,337,294,283,310,281,306,321,544,984,991,938,1472,1082,628,875,984,781,625,617,641,737,695,778,854,701,523,892,1036,1007,696,766,1152,1440,1520,1208,902,823,581,1036,973,867,969,608,371,392,469,753,1084,1670,1700,1236,1246,1450,1450,799,894,2028,2084,1400,794,529,659,927,1058,1050,1116,979,1008,730,544,605,1016,1188,1346,1282,1166,1386,1206,1120,1286,1384,1474,1318,858,798,918,1044,1220,1416,1598,1526,1068,1012,990,863,675,963,937,1272,1496,1378,1450,1516,1450,1402,1438,1352,1308,1320,1320,1552,1588,1476,1334,1138,913,1138,1434,1378,1342,1174,789,598,620,801,1056,973,715,726,952,1190,1060,611,573,619,563,612,822,1242,1238,1494,1084,891,1158,1424,1584,1452,978,1202,853,633,541,463,435,577,615,568,1120,1520,1240,1052,675,613,872,1410,1936,1744,1934,1628,1748,1786,1336,1354,1354,1218,1154,1382,1804,1344,1472,2176,1816,1082,1266,1432,1228,1106,1060,1036,1044,1188,1082,678,983,1116,986,657,531,593,716,736,779,778,421,436,544,541,659,1244,1088,1586,2086,1592,1434,828,758,1102,764,473,624,722,764,1554,2730,2182,1770,1608,1316,1196,812,590,513,915,2018,2858,2364,2158,1826,901,445,380,389,575,1016,953,738,1118,1062,951,880,669,568,534,712,892,916,856,771,642,708,636,612,656,916,922,1046,1792,1730,1104,1166,1104,864,948,1396,1300,924,880,982,1238,1146,1001,1042,1178,1134,1078,1126,1184,1192,1236,905,990,2218,2098,1040,777,1312,1560,971,728,1198,1444,1404,1178,1972,2416,2272,1036,630,769,565,531,755,733,611,437,546,694,1046,705,1542,1484,688,401,725,821,371,325,448,741,789,901,960,652,379,452,703,680,606,754,794,806,819,565,543,710,489,490,460,669,822,577,450,576,574,565,369,265,367,357,338,311,309,292,604,948,1212,1236,662,468,415,412,402,415,477,476,396,415,402,874,1426,1408,1608,1664,1578,1402,1322,1016,922,948,955,742,1130,944,552,640,1454,1794,1376,1858,1732,1684,1648,1434,913,551,713,1126,1146,1108,1006,913,560,524,659,926,641,404,495,819,806,608,727,1334,1988,2242,1918,1508,1516,1698,1596,1500,1434,1152,570,764,1202,1124,894,659,818,1242,839,448,651,1342,1456,1246,1284,1166,1218,1344,1360,1142,865,937,897,1042,1158,1160,1312,1446,1556,1570,1570,1648,1684,1642,1742,1788,1716,1482,1536,1614,1710,1694,1446,825,401,334,675,1288,1870,1904,1776,1782,1688,1600,1576,1592,1642,1268,639,696,784,744,982,1556,1634,1338,1586,1368,931,1362,1410,1078,1100,1454,1616,1180,666,862,1100,1262,1446,1892,2042,1842,1734,1538,1378,1188,1052,1058,994,1018,1110,1352,1646,1584,1508,1672,1642,1578,1528,1466,1544,1666,1576,1588,1912,1516,1314,1366,1336,1234,1272,1214,1200,1284,1416,1592,1616,1586,1534,1462,1504,1398,1414,1362,1202,975,880,1238,1614,1660,1532,1434,1372,1234,1076,787,1178,1530,1858,1842,1726,1776,1930,1918,1646,1600,1862,1766,1792,1762,1664,1448,1154,1170,1262,1266,1172,1006,960,968,1168,1484,1632,1798,1958,2464,2626,2876,2648,1858,1478,1470,1390,1332,1246,1088,725,716,1084,1310,1146,890,1414,2110,1926,1490,1220,993,1040,1102,956,1212,1262,1466,1528,1150,1230,1230,1160,1354,1380,1258,1282,1494,1340,1278,1308,1410,1642,1522,1450,1332,1140,1178,1070,985,1340,1582,1688,1632,1532,1594,1362,1150,1140,1090,1026,1208,1280,1094,1058,1000,1234,1334,1284,1320,1168,1044,1104,1336,1310,1156,1206,1294,1280,1378,1318,1402,1548,1584,1382,1314,1228,1136,1222,1238,1168,1166,1198,1230,1246,1346,1232,1054,1178,911,930,1188,998,1028,1288,1508,1392,1354,1266,1328,1314,1428,1306,980,976,1128,1198,1270,1154,1168,1216,1164,1340,1248,1288,1112,973,1100,1136,1084,1078,1268,1294,1344,1520,1396,1082,814,995,1128,1138,1238,1216,1250,1310,1358,1352,1170,1010,1066,1158,977,921,913,868,1013,1132,1046,1084,1186,1396,1542,1320,764,646,1168,1336,1332,1426,1406,1254,1104,1140,1202,1288,1184,1126,1200,998,729,1178,1192,1296,1314,1202,1174,1226,1100,1102,1232,1264,1316,1372,1330,923,1088,1372,1438,1410,992,860,1132,990,1500,1398,1460,1196,1388,1460,1356,1226,1038,1011,1200,1366,1108,1074,1226,1448,1328,1426,1266,1818,1440,1090,1788,2058,1494,1542,1710,1710,1716,1158,1022,856,678,738,777,1058,1116,922,935,838,581,683,1052,1172,1194,1460,1516,1526,1360,1038,857,695,979,1152,927,856,802,1312,1154,754,884,949,1015,965,1478,1800,1282,1176,1420,1238,957,692,670,604,964,1398,1312,1208,1448,1414,1170,800,697,612,533,507,507,487,545,601,641,597,530,476,443,401,344,314,318,239,213,236,314,438,532,514,480,533,548,442,390,509,483,675,753,760,1224,1284,971,1076,1232,841,514,438,639,901,861,1058,880,1106,1484,1438,1406,1310,838,572,674,920,1262,1302,1005,1228,1566,1238,1396,1360,1070,1036,1324,1410,1456,1246,1184,1254,1294,1324,1160,1076,1174,1368,1396,1190,1202,1324,1356,1162,857,633,862,940,1090,1162,1072,1032,1368,1456,1018,1140,1368,1202,1266,1278,1220,732,420,412,604,917,1054,891,701,547,405,373,327,357,644,763,794,1170,1200,1082,907,1023,1288,1102,753,867,1244,901,612,510,392,341,292,247,385,429,311,257,308,405,338,337,323,355,511,490,423,393,363,398,378,360,410,912,1442,1188,1134,1166,1494,1038,1132,1192,1160,996,655,432,651,1032,963,955,672,973,642,497,576,936,1078,893,722,955,1054,848,1046,1562,2204,1848,1490,1132,1015,768,497,511,466,749,1348,1482,1252,954,969,987,996,1046,803,769,691,670,947,1244,1019,714,926,1046,1418,1236,1356,1534,1228,686,551,848,1086,1100,1024,1190,1252,1282,814,692,802,1084,919,675,590,569,621,645,654,714,692,641,535,555,686,757,665,599,567,513,464,681,888,838,752,966,722,695,1036,1176,673,479,521,760,1052,899,918,1178,1326,1416,1102,1118,1166,932,1070,1078,899,1168,1626,1626,1852,1600],[1005,1076,1042,885,860,481,611,1218,805,687,774,822,978,1134,1010,938,780,567,669,843,841,1052,1096,1254,1104,1068,890,758,841,845,1028,1246,1001,549,555,1012,1180,1284,1294,1122,1204,1098,752,930,1110,1092,1023,946,997,668,528,632,922,783,907,1066,1132,1150,1092,1220,975,789,855,1064,1114,1188,1080,1102,1056,1108,1072,752,387,290,234,267,283,244,302,656,647,430,329,393,350,317,367,422,418,406,411,479,486,501,498,348,281,483,810,1236,1100,654,900,1188,1136,927,836,888,1070,1066,963,1050,1476,1288,1146,862,504,502,602,962,694,536,636,579,456,594,766,950,1212,1166,1346,1236,659,582,715,1054,641,364,466,723,1134,1172,898,819,939,841,706,1056,986,738,524,430,485,412,331,369,883,1158,951,637,395,485,935,1672,1986,1440,892,574,409,322,314,357,371,368,527,719,846,852,1064,1134,1058,1088,1072,1312,1244,858,745,700,446,423,496,413,498,549,559,536,864,1098,933,786,556,350,314,475,569,616,404,309,310,294,355,476,1202,1538,950,389,373,615,681,628,667,1114,1058,1150,1254,1310,1130,872,915,1084,1126,1254,1288,1264,1112,896,722,538,390,518,926,1007,858,1050,1112,1312,1280,1068,746,562,568,645,474,601,1076,1196,770,536,745,592,396,560,562,572,496,538,926,1334,1398,1456,1206,1038,1028,948,850,854,705,640,816,1048,1228,1204,1168,1030,1136,1368,1216,1152,815,840,786,598,729,958,1080,1003,1076,1186,942,1190,1086,866,833,1003,1288,1072,849,688,586,565,463,678,1036,885,838,922,821,850,968,1007,1046,781,645,681,530,655,858,1206,1208,1200,725,550,680,1544,1824,1588,1668,1138,702,607,646,756,1158,786,692,814,885,1060,1206,1058,899,778,896,919,712,882,1390,1372,1448,1438,1286,1156,952,1034,1238,1346,1388,1138,999,958,1030,1102,769,668,664,814,686,550,558,493,466,602,894,904,713,1304,1064,626,455,458,650,1009,1017,743,1228,1538,1244,1282,1080,1434,1098,1022,1462,1412,1040,711,633,1138,1882,1210,1124,691,616,838,1256,910,560,571,856,1218,1170,1078,1094,794,1006,1036,620,776,867,730,604,706,584,579,1154,1404,1210,1062,814,752,912,1176,997,866,659,642,722,983,1044,1118,1060,712,865,1134,1318,1230,854,972,716,631,638,588,576,473,387,525,668,497,447,573,651,433,570,1086,1178,777,673,728,755,1144,1516,969,1090,1144,989,973,1318,1208,978,951,1158,1098,769,752,1060,1400,1382,1338,915,491,327,657,1326,1452,1021,543,299,300,271,374,417,644,1190,1262,1596,1720,1498,1248,995,630,419,411,626,707,1002,1670,1430,1236,861,967,1142,1024,1122,1272,1188,959,744,861,699,560,645,513,318,443,564,451,312,311,319,283,301,308,845,1448,1348,1236,1344,1184,893,818,1036,1034,1062,1038,1062,824,702,494,667,486,317,414,564,522,422,717,1206,1278,1366,1464,1226,893,822,1346,1298,852,662,491,414,497,692,973,1156,1172,863,1316,1324,1288,957,695,1306,1606,1242,1234,1114,698,691,754,666,711,1114,897,650,540,581,586,839,1088,1250,1406,1266,1356,1054,775,977,1444,1338,1220,750,616,799,825,1009,1078,1182,1034,790,670,551,481,580,930,1030,1336,1402,1130,1184,1172,1019,1170,1526,1332,986,1198,1288,1224,1488,1450,1272,1144,909,1012,1410,1434,1152,741,583,780,956,1124,1094,1148,1072,952,962,796,735,756,1084,835,465,388,578,1032,1240,1296,1212,1080,1062,1188,1316,1272,812,1176,965,585,458,429,532,837,854,525,987,1478,1332,1628,1154,1178,1490,1376,1256,1266,1882,2206,2114,1544,888,704,771,731,1316,2012,1848,1482,1952,2684,2110,1246,1170,1226,878,663,658,677,951,905,1046,902,1340,1460,1316,1042,1001,1330,1344,1005,625,401,310,339,345,595,1576,1932,1726,1938,1586,1216,1072,357,646,1220,1112,1024,1144,1250,1214,2014,3010,2180,1510,1432,583,496,377,392,540,896,2032,1898,1280,1602,1558,943,549,378,593,1100,1246,1088,1118,1066,1003,918,814,659,568,565,538,554,638,713,860,742,805,861,880,841,927,1028,1194,1452,1308,1184,1308,1214,969,757,1146,1290,1056,657,519,611,675,605,616,590,844,1506,1456,1136,942,931,821,984,2116,2352,1286,826,1104,818,512,630,1318,1692,1620,1526,1242,1326,1724,1144,555,656,545,636,1034,1002,949,648,917,1222,1174,789,1744,1804,808,625,1350,1172,373,346,594,654,781,1570,1188,517,463,531,939,971,540,504,682,725,483,477,390,383,435,497,483,528,406,245,254,336,333,313,313,412,526,481,448,493,491,371,505,1174,1876,1476,620,478,413,454,708,1122,1276,1198,1202,1094,844,1122,1384,1226,1202,1510,1654,1248,1562,1880,1818,1616,1128,880,1178,1014,833,623,617,581,1021,1644,1428,1360,1384,1242,1050,902,825,1116,1210,1058,1126,1178,860,707,513,392,338,397,655,703,659,767,838,1200,1312,1524,1114,909,1070,1464,1654,1678,1588,929,486,1258,1974,1526,1268,1132,767,945,742,1038,1344,1746,2136,2520,2120,1124,1404,1460,1378,1322,852,709,1144,1650,1620,1376,1322,1478,1538,1736,1896,1772,1538,1640,1728,1760,1854,1834,1402,1494,1584,1548,1532,1282,877,777,1358,1502,1550,1498,1664,1666,1958,1948,1764,1682,1666,1136,814,1328,1072,798,819,1462,1564,1154,1086,758,688,968,1009,1234,2288,3088,2732,1756,1009,1520,1656,1510,1428,1746,1992,2060,1722,1356,1444,1484,1526,1542,1108,984,981,1188,1504,1670,1728,1648,1592,1628,1578,1524,1566,1682,1784,1388,1742,1726,1272,1038,1312,1566,1650,1630,1566,1566,1682,1658,1650,1618,1588,1592,1600,1600,1578,1466,1486,1444,1406,1528,1492,1376,1268,1180,1114,1106,1246,1356,1396,1564,1694,1624,1622,1776,1880,2032,1962,2008,2204,2172,1982,1640,1366,1294,1306,1322,1206,1164,1104,1026,1318,1356,1306,1340,1410,1692,1816,1682,1560,1954,1912,1318,1460,1664,1628,1388,1170,1142,990,907,1048,1208,1324,1442,1716,1652,1622,1364,1023,586,592,1122,1294,1228,1046,1228,1522,1632,1478,1114,1200,1368,1484,1356,1336,1292,1166,1112,1116,1306,1506,1354,1370,1370,1398,1446,1328,1188,1062,1224,1316,1522,1592,1632,1606,1294,1144,1082,1066,1272,1280,1278,1030,958,1134,1294,1194,1148,1184,1100,1086,1170,1268,1374,1402,1242,1208,1220,1288,1422,1572,1458,1218,1226,1288,1266,1264,1098,1110,1160,1212,1134,1100,1202,1218,1254,1256,1001,798,709,717,1152,1260,1436,1546,1496,1532,1460,1462,1402,1208,1188,1294,1224,1376,1328,1394,1346,1310,1294,1274,1192,1246,1154,1038,1082,1080,1104,1132,1194,1100,1110,1230,1230,1128,880,843,993,1220,1402,1422,1548,1412,1306,1202,1148,1120,1138,1188,1084,1054,1042,822,1092,1260,1092,1154,1160,1300,1220,744,470,371,883,1490,1610,1418,1196,968,1042,1142,932,975,759,991,1238,1216,1130,1132,1188,1360,1414,1484,1288,1290,1204,960,952,998,1106,1154,1080,801,1058,1446,1478,1256,936,949,1264,1434,1854,1388,1144,1288,1448,1284,1310,1046,878,1122,1236,1128,1152,974,787,1046,1268,1234,1182,1036,838,1190,1562,1476,1538,1718,1828,1910,1426,1206,970,1034,1268,1158,900,980,1180,1146,1050,1148,927,628,878,1090,1356,1244,1152,1352,1390,1418,1230,1040,1178,1118,1164,1258,963,1202,1162,838,689,724,935,1120,1118,852,814,1318,1514,845,788,878,951,1172,1494,1486,1168,1250,1398,1438,1138,638,614,604,551,429,439,444,390,388,504,626,626,518,450,411,336,283,264,219,256,312,364,410,479,464,477,496,498,376,323,553,872,989,757,1050,1416,1396,1378,1634,1166,574,419,353,386,435,536,854,1248,1476,1658,1598,1394,1015,750,619,570,775,1048,1168,1236,1236,1118,1308,1444,1360,1158,1096,1240,1308,1460,1466,1474,1320,1256,1148,1318,1306,1008,1070,1064,821,930,1234,1274,1140,1078,705,990,1007,1018,1214,1392,1300,1238,1362,1588,1774,1564,999,1250,1626,1272,991,685,438,466,651,813,703,468,483,480,414,407,459,589,791,850,886,1028,1240,1182,989,972,989,890,1304,1430,711,466,391,365,341,305,228,272,319,252,281,340,400,369,341,325,422,498,436,426,383,334,359,393,446,427,772,1104,1238,1158,1226,1238,1136,1114,963,940,1032,955,700,786,1028,1252,985,660,748,643,535,501,929,1324,1224,1114,1086,1126,1238,1344,1506,1670,1730,1698,1290,1206,959,558,467,552,933,1154,1158,1340,1182,1268,1084,948,830,833,973,850,773,994,1156,778,833,1112,1400,1176,789,1152,1568,1400,844,487,536,924,1310,1324,1316,1250,1148,824,917,968,866,798,708,556,512,596,745,778,729,568,554,714,686,544,447,365,324,403,417,369,478,811,834,1058,1108,1388,1222,1122,1234,831,474,582,801,924,927,940,1310,1482,1116,1012,1028,1042,1156,1174,1066,984,1136,1550,1300,1284,886],[583,821,711,498,555,444,423,547,737,651,624,601,855,1086,930,838,682,443,495,849,667,900,1056,1114,1140,1026,695,470,380,556,1062,1440,1078,948,621,558,672,1046,1268,1004,836,664,866,1214,1318,968,780,737,874,616,668,735,968,848,973,1090,1098,1128,1162,1256,888,902,809,1132,1080,1166,1132,1056,1074,1096,1030,798,368,332,296,270,284,274,586,827,750,487,339,355,314,265,319,502,479,484,478,464,406,325,299,305,332,543,957,1334,1284,1042,1014,1044,1040,940,865,849,1074,1278,1468,1678,1426,1082,973,627,669,772,764,904,963,1030,1072,940,688,1102,1588,1506,987,919,1202,756,483,684,1030,955,608,657,997,1110,1240,1378,1416,1118,1052,879,815,933,764,539,467,352,352,383,346,412,651,906,1100,885,519,470,538,1170,1656,1144,808,769,476,292,375,505,622,955,1412,1660,1510,1538,1782,1476,1036,1110,949,484,573,749,364,357,424,497,681,699,788,1202,1104,720,1022,1126,913,860,371,262,357,644,869,1017,614,325,314,403,604,803,1070,1026,626,263,451,950,1088,846,979,1200,1060,1300,1158,958,1030,1142,1272,1244,1194,1036,972,1009,1126,1036,503,403,397,445,571,637,685,776,942,1100,1160,701,381,498,557,624,879,1060,1088,1280,720,448,515,379,397,565,689,822,692,534,764,1246,1320,1148,1060,1180,1082,875,798,804,863,998,1078,1128,1226,1072,1242,1104,1028,1158,1192,1178,1020,1148,1158,915,781,886,1024,978,1086,843,642,557,717,727,561,480,560,587,429,541,846,472,328,435,439,479,698,883,931,1080,908,655,629,566,930,882,741,1024,1430,1396,762,781,1106,872,724,1584,1916,1346,1286,945,625,962,921,596,878,771,541,927,1172,1080,1086,1208,1456,1180,788,688,981,1168,1334,1340,1510,1568,1240,1088,1246,1144,1448,1824,1396,1114,1020,1366,1638,1248,662,487,401,504,642,537,568,513,653,1064,1236,961,1130,1594,1466,923,800,947,858,678,800,707,1202,1278,1374,1244,1228,987,1028,1256,1026,874,526,475,553,633,1008,953,879,656,819,1208,1658,1128,578,663,872,1198,1294,1064,1062,755,870,897,838,1354,1240,695,655,869,689,671,1182,1376,1400,919,554,682,929,1013,1126,976,659,677,777,832,855,995,958,668,797,990,921,724,684,758,750,806,757,673,629,492,384,475,562,462,402,464,493,598,774,874,833,654,513,594,1168,1178,1332,1072,963,1208,1238,1288,1428,1266,1146,1136,1148,1034,756,800,1246,1510,1338,1092,1021,830,694,713,996,1236,990,462,296,309,304,363,313,666,1046,969,1370,1716,1412,1172,829,513,476,487,618,708,861,1138,1278,1460,1246,942,1074,933,1046,1016,979,809,594,990,844,599,968,814,348,534,892,841,637,534,465,518,476,509,893,1272,1556,1520,996,872,1080,1144,1144,777,1084,1220,1212,902,1102,830,427,330,260,285,400,560,442,419,838,1172,946,1009,1238,1108,857,733,717,864,978,890,894,865,913,710,779,969,781,1246,965,664,647,951,1476,1620,1432,1708,1460,639,456,490,502,426,982,805,553,679,642,454,698,1078,1212,1362,1282,1294,1268,1066,1074,1402,1284,937,752,985,1009,848,1114,1016,971,860,675,527,386,691,870,995,1276,1406,1384,907,756,588,541,847,1306,1200,1032,1186,1256,1416,1628,1466,1350,1332,1162,1166,1300,1434,1028,604,581,1014,1038,1012,1126,1086,863,847,826,844,978,789,1278,1450,889,460,363,725,1198,1168,1134,1168,1070,1636,1626,1378,1078,1112,772,398,479,842,1118,1102,1152,637,921,1394,1164,1564,1706,1826,1406,996,1148,1600,1882,1766,1098,861,808,938,1142,769,1020,1216,1015,1246,1730,1638,1144,1146,1298,1242,1210,1478,1878,1998,1790,1340,1070,951,1138,1152,1182,1222,1042,1310,1178,894,533,432,481,610,865,820,703,1042,1136,980,977,1334,1532,1252,2046,2008,1378,1258,1246,1058,1034,1478,2000,2026,1852,1582,564,380,371,576,763,744,1872,2230,1970,2382,2176,1278,719,664,1098,1104,910,1100,1166,1050,913,913,843,689,750,818,733,863,849,758,714,775,841,905,923,846,827,1078,1312,1348,1526,1598,1448,1338,1098,915,1048,1386,1302,929,556,503,608,419,518,582,1122,2334,1864,1574,1232,1146,1114,1244,2154,2320,1344,815,998,807,749,837,1420,1510,1382,1130,1108,2126,2654,1622,562,677,919,897,1164,1284,1094,960,969,1226,1248,753,772,1230,933,1190,1648,1180,441,551,883,542,553,1246,913,440,439,495,1024,1398,860,568,539,864,863,695,492,411,422,422,451,390,246,281,308,395,432,412,370,515,724,845,948,879,718,644,347,522,1186,879,441,443,572,868,1394,1472,1288,1330,1216,795,963,1440,1298,1518,1686,1804,1440,1178,1584,1694,1594,1562,1268,1324,1714,1656,1464,728,479,521,580,772,838,874,977,950,1112,1406,1116,1370,1210,1096,1222,927,764,828,913,864,807,850,973,775,1032,1260,721,724,893,1098,1130,887,720,965,1328,1452,1368,751,625,1086,1796,2122,1574,1282,1166,860,832,1886,2228,1818,1592,2098,1910,1005,1086,1192,1452,1428,1306,1084,1366,1602,1642,1804,1886,1564,1074,1448,1372,1464,1396,1364,1426,1622,1692,1542,1348,1140,868,974,1396,1596,1350,1368,1970,1990,1546,1720,1708,1288,1140,1356,1480,1312,1440,1510,1184,1328,955,803,808,1366,1440,1009,860,1015,931,804,805,1180,2802,3860,3188,2002,1164,1454,1604,1556,1512,1794,2042,1886,1460,1240,1386,1568,1582,1458,1172,959,931,991,1310,1748,1872,1600,1514,1590,1608,1654,1734,1682,1686,1252,1600,1784,1790,1664,1542,1624,1698,1678,1644,1592,1658,1666,1570,1510,1310,1378,1432,1364,1360,1396,1502,1330,1176,1344,1208,1010,929,992,1274,1538,1614,1504,1484,1630,1548,1246,1180,1462,1584,1980,1902,1946,1990,1588,1294,1098,1062,1284,1314,1266,1190,1254,1460,1268,1322,1436,1026,850,1194,1524,1484,1322,1336,1316,1282,1188,1378,1496,1232,1312,1404,1246,1102,1230,1424,1534,1204,1148,1510,1278,1368,1190,993,786,775,1258,1432,1148,937,1050,1554,1648,1408,1130,1310,1310,1318,1312,1132,1120,1178,1202,1194,1264,1334,1374,1334,1238,1354,1178,1150,1168,1246,1188,1314,1310,1168,1452,1506,1558,1710,1448,1344,1338,1390,1400,1160,1050,921,955,1136,1156,1080,1050,1246,1312,1440,2174,2298,1704,1420,1384,1548,1574,1478,1432,1362,1302,1274,1358,1338,1122,1178,1566,1362,1076,1196,1268,1228,1120,1248,1308,1150,1011,797,1190,1208,1360,1592,1592,1566,1554,1428,1216,1192,1160,1202,1248,1410,1476,1588,1362,1384,1452,1172,1076,1230,1246,1130,942,1182,1366,1238,972,927,897,1268,1340,1222,1212,1004,1006,1224,1592,1636,1612,1536,1228,1068,984,1042,1012,852,915,1132,976,579,1038,1606,1134,1170,1154,1298,1186,676,410,431,523,872,1378,1350,1122,971,1014,1016,847,714,646,1028,1336,1338,1372,1382,1232,1410,1650,1542,1310,1250,1222,1164,1110,969,860,970,839,865,1080,1158,1328,1208,1058,918,805,844,1078,1186,1186,1252,1144,1150,1200,1000,891,907,1224,1074,1080,1018,843,883,1122,1242,1246,974,650,625,749,1060,1476,1562,1528,1398,1432,1274,1030,1238,1322,1078,943,909,1264,1456,1658,1696,1518,988,1058,1260,1005,934,1278,1208,1152,1354,1382,1234,1216,1044,984,824,872,1202,1200,1030,847,639,791,1140,987,504,639,888,899,829,825,1224,1406,1410,1494,1340,1272,1252,1216,1210,706,579,547,470,447,396,376,388,352,328,368,464,633,714,534,390,296,249,227,226,272,397,453,485,487,498,487,453,424,390,375,530,845,1080,921,909,1222,1224,1162,1020,547,363,388,364,328,368,560,924,1198,1204,1206,1240,1184,1148,1140,920,764,766,838,1030,1244,1138,1366,1888,1664,1116,1130,1056,1322,1344,1252,1480,1540,1404,1372,1508,1458,1046,711,739,928,728,872,1300,1376,1394,1416,753,605,891,1120,1312,1046,814,789,1368,1946,2156,1472,976,1534,1404,1344,1268,692,394,461,839,1116,930,466,527,855,598,409,570,759,1058,952,889,1086,1110,1124,1066,1021,1256,1078,1398,937,455,408,370,345,351,320,233,254,308,266,281,356,344,357,337,339,484,495,408,469,440,380,339,305,403,467,478,789,1372,1122,639,903,1124,1028,1190,1106,764,766,791,1048,1412,1294,969,1015,1124,1012,781,458,709,1232,1154,1074,836,901,1090,1108,1376,1432,1396,1584,1602,1404,1222,922,830,1009,1030,746,1010,1412,1422,1050,908,977,1015,1024,854,706,998,1098,1056,1013,1272,1326,1250,996,773,963,1270,1220,907,699,668,761,1272,1488,1132,1050,1076,1010,1432,1500,1023,742,619,499,590,717,754,705,609,517,543,788,727,429,320,344,372,368,348,451,811,1210,1104,1450,1410,1464,1358,1292,1186,1094,990,681,701,888,1170,1256,1372,1214,894,783,688,965,1230,996,1130,1022,1138,1452,1532,1364,774],[730,742,520,540,561,413,392,404,363,337,388,398,394,414,484,508,363,361,357,611,608,833,1334,1388,1024,1030,633,515,518,583,947,1398,1378,1362,898,745,758,972,1178,1346,1102,693,1040,1180,1264,1196,839,816,896,890,983,1126,1138,944,1028,1108,1156,1062,1218,1264,855,818,922,1100,1122,1132,1120,1114,1088,1164,1080,728,366,252,288,269,337,327,715,633,342,289,269,257,247,322,500,657,631,619,543,447,432,422,305,339,329,377,875,1188,1334,1412,1144,1090,1100,1078,994,904,885,867,1176,1398,1102,1048,700,598,970,1286,1516,1566,1596,1394,1204,947,694,1070,1600,1452,956,1224,1024,844,497,340,656,744,798,1104,1130,1030,1130,1156,1040,702,916,988,889,1070,829,522,468,343,427,579,437,466,620,916,1298,1100,617,456,367,554,1152,1108,734,772,640,608,648,729,733,1146,1552,1484,1222,1388,1484,1126,836,940,634,525,581,721,694,938,1122,1011,971,1028,1040,1420,1570,1062,984,1150,1212,1142,585,469,488,885,1326,1826,1270,386,341,664,1236,1320,798,405,560,487,797,872,823,919,1234,1246,1021,896,912,1108,1242,1212,1084,918,855,696,615,1048,1948,1750,563,413,480,451,422,404,599,829,883,930,791,522,397,526,589,999,1326,1322,1216,1384,997,510,400,645,787,769,955,972,750,702,799,1042,1210,1298,1378,1362,1058,846,975,1142,1180,1084,1110,1052,950,1030,1390,1450,1256,1240,1250,1316,1412,1224,1230,1116,921,1018,1250,1220,1116,775,566,627,1338,1438,724,562,548,554,407,588,514,385,422,415,474,659,849,1064,1222,1126,1100,1007,776,682,1218,841,825,1368,1470,1064,694,713,821,681,652,1023,1284,1208,984,827,846,1128,1040,910,990,929,866,1124,1198,1176,1018,1344,1546,1226,882,674,693,882,1021,1136,1376,1376,1216,1168,1098,1104,1324,1964,1354,1170,1060,1744,2108,1622,951,499,427,700,966,637,800,630,878,1334,1410,971,1164,1510,1120,730,963,1092,862,347,317,558,937,1064,1144,1152,1170,653,438,508,566,511,348,320,288,280,503,976,1392,1214,900,1074,1440,1090,780,812,919,1368,1280,1166,1394,1006,672,670,720,959,1236,1158,908,1168,1050,1272,1182,1222,1532,1180,847,1010,985,794,822,584,514,556,420,506,934,882,830,807,951,999,666,595,710,727,886,965,842,722,643,479,375,481,518,437,390,412,573,915,1030,1062,888,688,610,834,1518,1244,1370,1021,953,1162,1188,1198,1288,1328,1232,1230,1172,1128,1036,985,1128,1224,1042,961,1110,1164,1112,1038,1112,824,739,508,365,317,378,430,349,867,1136,661,911,1170,1240,1108,966,729,626,1078,1460,1005,689,1146,1434,1404,1334,1100,1356,1050,984,875,1040,800,803,1116,855,662,892,828,637,728,1072,1228,1044,1028,1038,1116,825,699,699,843,1390,1548,1106,1240,1298,1220,943,509,688,753,846,873,1026,833,655,733,487,445,814,993,810,574,670,961,933,788,581,742,854,852,985,1168,1244,1264,1264,2070,1672,689,415,640,901,896,550,537,722,805,888,1122,923,1676,1110,517,725,667,546,658,969,1060,805,590,496,508,663,824,1166,1214,1262,1310,1476,1292,1042,980,899,778,655,836,1088,1248,1356,926,727,699,556,481,427,508,557,855,1288,1466,1522,828,480,623,807,720,1042,1288,1176,1156,1310,1532,1766,1516,1356,1300,1100,1080,1242,1508,1160,705,787,1094,1064,946,730,718,637,628,543,453,693,528,656,1094,1238,1001,411,601,863,1044,1154,1262,1426,1290,944,816,699,1002,897,393,514,1086,1676,1172,1148,644,787,1268,803,663,724,872,965,890,1070,1130,1268,1650,1234,2074,1934,1708,1948,1146,807,1116,1162,1382,1484,1126,1178,1182,1036,1418,2100,2124,1864,1392,1028,1015,978,970,1018,1154,1138,1356,948,867,731,800,556,453,420,639,1290,1234,565,514,229,352,670,1318,2024,1766,1490,1224,1132,1290,1386,916,834,1332,1854,2056,1942,1754,788,355,337,671,846,683,1288,1462,863,1238,1198,841,553,741,918,929,1124,1070,966,713,644,783,675,510,570,685,819,945,740,633,788,733,641,605,551,719,953,1012,1122,1076,1358,1606,1260,1058,1096,969,1122,1396,1306,1340,1012,509,435,625,978,857,1174,2040,1798,1654,1376,1226,1280,1126,1250,1001,817,670,818,901,1028,1212,1648,1656,1494,1230,1528,2440,2192,1354,649,594,909,1028,946,1015,929,1184,1266,1048,1062,1210,1146,1174,1120,1510,1522,901,621,933,1008,751,456,391,400,377,390,300,476,657,689,952,822,721,878,866,656,420,397,363,402,382,321,393,564,806,708,411,270,387,556,572,608,505,427,384,282,333,642,917,698,788,913,902,1074,1100,832,462,371,257,283,468,711,1796,2176,1816,1610,1534,1310,1420,1892,1530,918,1088,1572,1614,1314,675,646,698,854,982,662,659,974,1300,1290,1088,1036,1346,924,1338,1616,1080,713,487,561,895,1170,1350,1324,959,989,1296,1040,1170,1170,1250,1274,872,734,1020,1462,1408,1156,634,692,891,1590,2128,1592,1040,1074,1260,1432,1642,1932,1692,1586,1842,1266,901,1082,1346,1578,1470,1512,1470,1288,1286,1740,1664,1488,1358,1009,1354,1692,1406,1186,1284,1376,1332,1294,1132,815,513,416,598,1120,1548,1564,1650,1616,1416,1540,1888,1648,1110,930,913,711,1026,1296,1418,1214,1076,860,1064,1358,1476,1358,1006,1070,1164,1028,1018,1120,1324,2556,3334,2756,1842,1140,1388,1804,1818,1990,2148,1714,1536,1476,1294,1262,1380,1484,1462,1316,1154,1007,952,1052,1326,1650,1600,1704,1886,1876,1786,1822,1686,1714,1736,1656,1572,1592,1606,1644,1642,1632,1656,1656,1562,1446,1226,990,915,842,960,1080,1274,1406,1242,1412,1338,1400,1118,927,683,972,1382,1640,1738,1686,1576,1400,1390,1224,1104,1154,1246,1442,1804,1648,1512,1478,1015,784,885,1252,1496,1204,1106,1146,1214,1362,1224,1180,1204,828,839,1318,1370,1246,1312,1344,1150,1170,904,1076,1276,1372,1476,1466,1292,1308,1570,1724,1576,1370,2128,1806,1390,1360,1292,1246,1134,1224,1416,1360,1204,1164,1168,1648,1614,1290,1098,1226,1318,1368,1288,1152,1234,1172,1208,1246,1220,1188,1310,1350,1114,1130,1126,1112,1200,1278,1256,1282,1166,1282,1500,1516,1462,1592,1494,1380,1390,1614,1588,1376,1030,943,999,1162,1144,1036,1256,1228,1296,1516,2020,2592,2358,1650,1664,1692,1452,1360,1416,1160,1194,1202,1342,1298,1158,1334,1648,1408,1242,1212,1238,1192,1110,1288,1208,1470,1214,922,1172,1254,1340,1478,1522,1488,1314,1364,1250,1368,1208,1178,1260,1260,1260,1330,1228,1278,1300,1096,1134,1194,1186,1196,1202,1416,1688,1310,1054,1154,1001,974,1078,1262,1390,1214,1238,1882,1650,1380,1298,1174,1088,1040,920,1042,1090,1038,1248,1098,863,803,951,1146,1148,1090,1072,1322,1156,563,433,672,676,599,973,1378,1284,1020,912,837,857,758,821,1182,1398,1432,1362,1284,1118,1038,1138,1354,1290,957,760,894,1102,809,632,882,727,1064,1154,1088,1070,890,769,590,436,634,929,995,1084,894,968,1104,1052,987,969,1238,1366,1172,1046,1066,1284,1194,947,772,984,969,756,721,833,856,666,854,1005,1148,1348,1182,1172,1250,1122,1082,987,987,1244,1206,1382,1366,1394,1056,966,1082,1146,1394,1154,1058,1368,1390,1232,1374,1150,1312,1368,1076,1132,1152,910,1062,1216,1110,970,1090,968,626,616,780,1042,983,1078,1396,1450,1556,1422,1166,1056,880,1106,1190,896,683,601,560,532,436,390,374,357,274,325,501,762,767,591,504,417,303,234,236,322,406,446,504,517,466,433,463,455,454,595,539,551,841,1012,1112,905,887,683,654,903,581,380,396,418,418,556,808,1038,1166,1226,1072,891,1250,1214,945,722,761,875,953,1204,1336,1540,1854,1532,1108,1184,946,1134,1100,1214,1448,1336,1324,1648,1594,1080,737,1026,1266,1120,821,863,933,1324,1254,1180,944,946,891,899,1270,1078,1070,908,1290,1438,1176,866,1060,1184,828,722,513,359,384,460,819,1036,791,485,705,1282,891,557,724,1098,1412,1184,800,899,1108,1198,1464,1570,1338,1036,1072,764,462,414,400,387,339,333,311,375,396,365,314,359,357,393,397,354,414,386,388,409,407,406,311,306,345,484,516,749,1202,1194,1130,1288,1006,1030,1408,1356,821,811,952,1306,1274,856,1098,1778,1660,1058,805,905,1226,1274,1088,1066,876,1162,1146,682,879,927,756,1182,1568,1390,1390,1234,1182,1294,1208,1140,1272,1394,1206,992,1224,1358,1282,854,532,636,984,1210,1292,1434,1546,1280,1040,1088,1080,1056,1048,1218,1084,955,1088,988,1262,1328,1032,1056,1086,1206,1416,1360,675,476,445,427,523,721,785,791,663,495,543,648,514,390,376,342,342,401,474,677,1268,1274,1130,1156,1200,1094,938,977,968,1320,1296,986,694,820,1152,1152,1310,1410,1218,1007,680,730,988,929,1224,1364,1538,1604,1810,1682,1364],[750,767,750,554,398,392,419,419,406,368,350,382,374,402,425,411,354,348,340,361,426,369,971,1212,721,1116,1096,1052,947,758,1042,1432,1476,1310,1156,1076,898,952,1218,1672,1502,1056,847,846,1136,1017,1216,1330,910,828,1023,1208,1258,1294,1368,1278,1268,1216,1312,1114,920,805,987,1130,1112,1194,1096,1064,1150,1284,1160,511,335,325,307,293,327,421,465,271,216,260,269,264,289,458,582,608,672,703,597,401,589,878,469,342,347,469,1160,1390,1418,1266,919,822,688,619,626,643,568,487,641,877,1404,1224,772,857,1076,1202,1418,1546,1304,820,771,890,636,769,1110,1190,1290,908,752,828,487,286,545,939,1144,1122,811,1110,1132,694,623,875,1096,1094,1002,941,762,633,694,548,543,786,624,620,500,811,1156,1084,973,692,446,350,504,745,979,711,494,606,988,1012,1006,1262,1332,940,721,866,1058,1118,976,871,775,1320,1032,866,1272,1522,1460,1322,1158,1130,1112,1294,1718,1566,1108,1306,1702,1256,845,758,946,1001,1250,1830,1242,425,503,875,1186,564,90,444,770,720,879,827,495,578,846,1146,1204,1204,1332,1428,1456,1336,993,991,962,1032,993,836,957,955,451,449,697,529,357,361,357,325,458,598,502,365,510,680,568,700,713,772,898,1052,1064,939,960,1306,1294,1002,1002,976,1160,1256,1080,1098,1276,1320,1240,1284,1310,1214,1246,1244,1126,997,913,776,943,1276,1342,1234,1196,1260,1244,1212,1100,1066,1138,1016,929,1004,1122,1088,982,902,789,1172,1936,1964,1064,861,1038,793,472,372,351,482,591,685,670,567,730,1068,1262,1250,1294,1282,985,870,1018,1116,1192,1166,904,783,835,951,1001,866,657,524,753,874,1005,1002,1040,922,999,1134,1050,1044,1114,1440,1272,1192,1186,1738,1338,1130,1246,857,691,814,918,1048,1338,1270,1290,1186,1072,1064,926,1292,1174,1250,1802,2392,2544,2010,942,542,503,709,836,619,648,719,1056,1400,1166,591,563,883,890,637,849,892,532,350,346,391,493,491,615,1114,1266,760,691,911,478,574,916,513,316,318,411,772,1028,936,838,949,1146,1100,1156,1174,1270,1492,1216,991,1196,1068,665,486,486,505,581,714,1036,1534,1572,1114,942,1196,1444,1510,1262,1204,1003,577,433,479,560,698,486,601,721,554,678,612,683,783,464,533,719,743,871,934,788,695,639,479,366,500,525,394,460,484,603,847,752,791,779,480,446,893,1522,2980,2336,883,843,1064,1152,984,1056,1288,1354,1200,910,922,876,985,1104,1048,1216,1378,1198,1166,1112,1038,875,816,874,646,402,361,502,628,578,846,904,572,588,727,943,1092,1144,1013,720,1286,1556,822,634,909,826,818,1092,1378,1378,1138,1164,1344,1388,1068,897,952,955,879,709,658,692,929,1056,957,850,749,871,1082,911,805,1080,1362,1394,1426,884,1174,874,923,926,860,864,958,1058,990,822,582,778,1006,894,708,932,960,1170,890,959,1278,1256,899,485,403,442,908,1302,909,1036,1148,841,810,884,872,667,530,564,568,768,954,778,771,606,797,666,778,584,584,864,798,824,799,728,786,707,583,705,935,973,796,1108,1158,1262,1186,1001,1178,1092,746,864,961,723,656,1144,1448,1158,715,563,482,504,478,447,429,430,679,1242,1672,1606,1007,855,939,1005,891,959,1078,788,932,1402,1516,1532,1400,1316,1142,926,1036,1252,1526,1382,841,731,1038,995,988,767,814,673,657,544,604,726,520,697,1128,1316,1594,807,544,709,785,970,1202,1294,932,669,720,912,1228,1172,680,481,654,1020,604,563,407,917,1108,636,444,494,922,1408,1372,1358,1428,1468,1520,1326,2270,1520,1250,1744,904,634,1028,1134,1434,1508,1028,1192,1007,820,1366,1432,1194,1124,1058,1066,959,843,1060,1098,1818,1250,1214,725,303,508,771,711,650,430,351,711,745,437,348,439,764,1120,1102,1748,1800,874,550,927,1312,1532,881,1074,1256,1932,2166,1998,1924,1096,452,345,529,746,750,1228,1808,1412,1562,1698,1152,583,543,883,1116,954,846,744,570,484,550,604,458,647,783,737,723,569,686,800,599,598,687,544,735,777,1050,1434,972,1148,1456,1256,1044,895,700,942,1316,1272,1572,1350,866,547,1011,1532,1298,1318,2122,2164,1758,1338,1088,1222,856,777,442,542,619,623,584,1302,1486,1384,1526,1120,993,1172,1312,1146,878,557,483,817,1054,860,607,767,1136,1194,968,759,911,1196,1410,1290,959,688,544,780,824,776,906,537,527,494,373,368,339,310,328,387,885,881,677,815,990,1074,724,437,359,565,736,788,973,1072,905,621,490,422,355,504,543,426,488,396,333,397,573,832,1078,1202,1150,697,561,658,688,391,215,183,218,251,392,1030,2258,2758,2270,1804,1334,1250,1604,1620,1244,775,866,958,794,558,486,911,1064,1530,2710,2066,1278,1308,1856,1594,986,829,927,1158,1858,1532,1080,1092,617,543,464,731,1354,1250,932,743,969,834,1050,1462,1548,1074,691,937,1410,1268,1506,1036,1060,1102,913,1178,1438,1484,1418,1090,981,1528,1418,1366,1318,1484,1782,1572,1326,1542,1612,1478,1480,1544,1522,1436,1552,1712,1384,1330,1126,959,1196,1608,1380,1122,1244,1516,1450,1378,927,483,339,358,644,765,1154,1650,1886,1506,1420,2002,2220,1650,1148,1150,1124,901,1230,1196,1388,1378,1246,1030,1032,1338,1416,1292,1182,1970,2050,1556,1232,1116,1282,1708,1842,1646,1554,1308,1360,1882,1758,1946,2112,1116,1100,1470,1478,1272,1216,1510,1622,1684,1642,1150,941,933,1136,1578,1810,1942,1846,1452,1306,1262,1472,1760,1620,1538,1550,1442,1256,1526,1344,1200,1368,1600,1516,1520,1264,792,576,573,614,606,866,1336,1380,1656,1548,1288,976,931,1084,1388,1558,1520,1418,1386,1238,1254,1316,1172,1134,1150,1270,1348,1482,1488,1406,1138,872,836,973,1578,1512,1234,1144,1140,1094,1132,1198,1240,1252,1182,1276,1534,1698,1250,1218,1280,1406,1302,916,977,1150,1174,1224,1396,1464,1636,1808,1688,1308,1224,1508,1470,1454,1416,1562,1404,991,1036,1174,1310,1328,1182,1128,1608,1898,1576,1210,1218,1248,1384,1484,1272,1296,1178,1354,1418,1246,1148,1288,1302,1206,1316,1394,1246,1140,1240,1252,1136,1200,1214,1252,1302,1394,1378,1334,1182,1558,1672,1394,1484,1354,1266,1282,1256,1236,1354,1316,1220,1042,1250,1614,1982,1946,1776,1596,1336,1282,1218,1246,1180,1278,1256,1342,1332,1306,1408,1288,1254,1334,1162,1170,1096,1136,1202,1466,1978,1458,974,1020,1180,1360,1376,1396,1560,1482,1354,1228,1222,1098,1152,1218,1176,1268,1310,1252,1130,1017,998,1116,1138,1060,1128,1246,1300,1430,1478,1540,1454,1368,823,972,1632,1798,1358,1168,1542,1400,1288,1108,1148,1290,1142,999,1030,901,873,1170,1168,1206,1076,1094,1282,1182,1024,1172,1372,915,430,688,1228,1366,922,527,1018,1390,1194,915,1182,1414,1266,1186,1288,1192,1152,985,789,678,576,556,997,1056,869,929,960,1036,1013,921,967,877,921,1040,1036,990,879,871,960,755,547,732,916,1118,879,869,1120,994,1015,1130,1248,1224,1224,1032,1082,1404,1240,995,912,772,774,688,1040,1302,1186,707,507,668,996,1052,1078,1188,1142,1246,996,1082,1054,1006,1168,1222,1138,1142,1284,1192,854,770,972,925,1450,1564,1200,792,948,1194,1490,1538,1368,1130,801,685,998,1368,1344,1334,1188,1242,905,716,1015,1204,1190,1122,1366,1498,1524,1256,1094,1016,1078,1450,1584,1312,1248,1284,1240,1250,1016,602,532,469,492,569,780,775,556,518,558,510,386,254,302,482,504,474,458,460,514,512,514,471,830,1138,697,509,880,1124,1158,586,560,562,905,1090,683,399,580,634,540,525,556,857,1214,1086,792,611,1084,1152,937,645,604,814,1108,1250,1256,1410,1448,1250,1342,1356,1362,1130,1192,1202,1276,1184,1148,1508,1616,1296,1066,1332,1500,1178,1204,1226,1188,1306,1174,1180,1098,1058,831,872,1042,1134,1506,1242,1058,1038,1072,1098,1088,869,608,465,502,456,387,426,664,612,571,541,709,1034,1022,944,595,709,1040,1154,735,655,825,1090,1474,1512,1496,1450,1354,1266,822,523,566,490,379,341,332,346,367,373,320,277,333,451,455,385,375,367,379,419,448,398,350,474,487,499,594,725,1084,1260,1246,1288,1034,991,1318,1152,841,876,1244,1832,1376,461,642,1058,1188,1170,1036,1126,880,932,1250,1296,1030,1208,1064,604,699,860,722,995,1368,1410,1396,1340,1316,1418,1474,1340,1234,1512,1452,1166,1310,1436,1524,1346,1138,1021,891,810,1184,1592,1572,1356,1316,1522,1410,1202,1186,1294,1210,930,1036,995,1019,1202,1368,1192,1212,1322,1166,1011,580,521,481,439,418,505,549,613,673,646,585,521,417,363,394,412,483,501,517,901,1222,1020,939,1034,1282,1152,915,985,761,1064,1186,1310,1186,1078,1216,1440,1590,1300,1068,986,549,744,1007,1188,1428,1548,1522,1666,1686,1344,1400],[849,866,688,611,496,437,427,429,375,377,369,380,380,400,414,402,390,386,371,349,357,379,518,607,816,999,1044,1148,1288,1334,1426,1370,1268,1288,1434,1384,1134,1158,1140,1188,1068,838,746,1136,1492,1346,1584,1494,1062,1190,1408,1256,1274,1444,1530,1570,1524,1488,1540,1264,1038,993,1070,1134,1128,1106,1160,1074,1412,1412,1106,507,341,350,316,334,355,343,253,202,264,326,250,262,305,485,575,769,919,860,877,717,731,931,493,319,314,419,963,965,1104,1012,612,380,451,476,417,445,481,807,1280,1206,1496,1128,1032,1190,1326,1322,1019,1086,1204,864,800,1052,976,951,801,1150,1334,1108,890,670,509,475,716,1212,1322,797,617,999,972,627,600,1028,936,808,869,870,735,552,899,943,813,857,788,943,1060,1210,907,810,937,737,427,414,403,455,480,501,471,790,910,959,1082,1262,1368,1104,783,657,818,1124,886,588,717,1132,947,855,1458,1888,1680,1648,1350,1112,1100,1196,1594,1620,1122,1158,1276,1164,998,898,1076,965,1054,1554,1354,516,849,1058,1186,736,494,648,939,870,651,684,821,1088,1188,1244,1096,852,974,1204,1378,1244,1058,1064,755,772,601,484,520,353,303,354,382,326,357,376,348,386,388,414,421,383,551,634,601,616,545,480,542,577,742,1188,1118,945,757,713,735,876,1084,1168,1230,1352,1516,1582,1388,1252,1444,1342,1266,1132,1174,1066,1044,1086,1224,1382,1374,1304,1452,1350,1270,1332,1218,1222,1158,1130,1192,1130,1152,1068,1078,1084,939,1354,1562,1222,1104,1198,1338,930,488,311,313,462,725,980,1001,637,610,1094,1472,1478,1520,1336,1262,1438,1504,1620,1396,1032,1150,1328,1306,1470,1302,1146,1104,755,735,779,875,1056,986,858,983,1192,1152,1036,871,962,1106,1064,857,948,855,1023,1013,890,1118,810,980,1020,1100,1024,958,1108,1224,830,580,740,705,773,1332,1782,1988,1910,990,911,919,819,912,875,739,617,621,803,822,503,318,345,437,614,762,675,667,608,413,399,422,365,391,777,1162,805,879,1240,513,612,813,550,340,346,323,400,402,412,618,655,525,544,902,1070,1120,1024,950,711,526,431,381,452,436,437,394,529,1252,1524,1440,783,640,927,1270,1492,1396,1136,755,412,446,780,711,596,701,669,415,369,601,637,675,730,505,606,758,725,878,1072,951,772,665,528,415,521,536,380,364,444,711,631,520,616,600,434,572,922,974,1032,919,777,808,865,1058,788,1048,1204,1242,1070,908,1000,837,951,1128,968,966,1160,1102,1102,781,718,869,1150,1212,733,350,392,644,846,850,977,669,565,394,491,749,902,1176,1036,548,678,919,836,816,769,571,707,1234,1530,1632,1476,1266,1116,1026,1132,1094,1140,1146,905,475,617,944,848,668,668,716,735,691,692,880,874,1009,886,1056,1368,1148,1254,1026,1034,1120,922,937,1208,1260,894,789,548,741,701,1078,1028,757,1068,1060,787,938,993,906,775,544,692,563,798,1346,1116,1124,1196,1158,1122,1156,1003,709,567,526,560,963,922,529,505,638,973,780,619,590,529,717,997,1158,813,683,681,993,1066,1118,1166,1196,908,943,1176,1252,1174,1058,1378,1312,991,1118,1060,802,631,893,1118,943,781,643,484,509,477,495,523,425,710,1086,1376,1336,1088,1062,912,988,1088,855,702,765,1232,1496,1348,1232,1248,1100,988,966,894,1016,1498,1610,1412,919,609,739,837,937,1168,906,769,550,641,979,819,885,1614,1278,1112,1007,778,803,886,844,969,1192,957,839,1170,1214,1240,1462,1220,640,430,554,453,536,686,775,619,491,468,496,904,1434,1272,943,1328,1434,1218,1500,2040,1462,1378,1282,624,542,954,1232,1366,999,1042,1726,1884,1448,1338,1318,1354,1844,1998,1642,1074,677,1106,930,1342,937,1152,924,372,480,808,1076,905,561,341,393,466,401,464,794,1066,924,633,1324,1900,1304,705,1038,1294,1838,1430,1406,1710,2098,2266,2200,2046,1562,869,471,580,886,725,947,1240,1330,1440,1314,682,423,681,965,1050,981,702,586,552,433,611,575,502,883,822,716,725,521,488,543,507,608,772,731,672,766,800,744,919,1460,1624,1328,1074,1013,1042,1098,1220,1208,1370,1286,1254,746,852,1404,1376,1498,2226,2290,1926,1366,957,1150,762,829,725,928,824,576,1542,3022,2092,1094,1508,1070,816,799,908,905,624,390,386,656,846,716,634,492,630,860,713,414,313,418,1021,1284,929,452,507,669,598,753,1008,675,1024,768,470,396,325,305,290,393,753,1086,930,1148,825,865,940,776,520,780,1094,1132,1068,884,677,680,541,415,378,780,902,683,611,539,440,568,714,940,1412,1390,912,391,567,702,630,353,205,187,189,475,1200,2104,3022,2688,1802,1876,1446,1184,1646,1712,1114,789,1104,1094,856,686,599,1028,1068,1598,2850,2426,1600,1970,3538,2602,993,1160,1454,1332,1534,1202,880,1150,1030,869,617,803,951,615,399,477,676,733,825,836,811,507,774,1090,1492,1282,1372,1288,1632,1456,1212,1030,1372,1788,1996,1678,1138,1216,1366,1406,1466,1388,1426,1494,1604,1654,1490,1422,1512,1538,1216,1144,1500,1202,882,989,836,650,1122,1418,1412,1378,1250,1098,1180,1368,968,519,358,360,331,428,945,1626,1760,1466,1404,1544,1572,1560,1306,1324,1080,1030,1310,1500,1856,1642,1166,1002,933,1248,1412,1618,1236,1562,1682,1382,1134,1126,1436,1562,1344,1074,1192,1362,1436,1688,1714,1616,1532,1194,1036,1170,1412,1364,1218,1296,1344,1320,1374,1270,1256,1472,1734,1616,1384,1280,1007,885,1022,1194,1512,1650,1484,1484,1230,1084,1344,1712,1288,1152,1358,1500,1604,1656,1360,816,1018,875,966,791,799,1104,1528,1650,1522,1294,973,794,987,1352,1484,1110,1130,1294,1404,1482,1324,1120,1168,1388,1352,1318,1432,1512,1362,1256,1120,897,1264,1446,1110,1015,1158,1164,1028,1046,1216,1334,1242,1218,1268,1412,1356,1198,1228,1208,1182,1158,1170,1162,1252,1260,1182,1492,1750,1648,1578,1670,1544,1252,1294,1476,1362,1340,1374,1260,935,835,1078,1412,1194,1002,1212,1700,1642,1346,1362,1350,1258,1180,1324,1284,1308,1272,1448,1440,1290,1310,1256,1214,1406,1540,1484,1302,1286,1370,1426,1266,1288,1224,1332,1346,1090,1140,1324,1500,2088,1552,1162,1246,1328,1468,1608,1406,1388,1316,1168,1140,1054,1126,1452,1674,1758,1748,1694,1626,1312,1068,1100,1356,1368,1136,1196,1302,1364,1394,1366,1296,1186,1066,1048,982,1054,1110,1266,1398,1270,1038,1112,1192,1206,1170,1300,1466,1592,1418,1212,1212,1442,1556,1342,1186,1346,1308,1202,1130,1094,1005,1116,1090,1100,1158,1178,1252,1318,1354,1512,1344,1376,847,1018,1532,1832,1422,1088,1092,1234,1214,1206,1376,1280,1042,1032,988,962,990,1122,1138,1202,1182,1378,1486,1098,1058,1154,1212,611,554,1200,1708,1732,1424,797,723,1198,1300,1182,1550,1584,1268,1234,1074,1086,1130,1192,978,877,815,716,781,810,927,1032,775,954,1388,1288,1296,1004,944,1072,1074,1194,1216,1172,1138,912,861,879,976,1302,1404,1302,1084,949,1096,1198,1316,1570,1372,986,1136,1302,1290,1064,1090,1164,976,835,1122,1330,1106,869,833,1102,1246,1030,1172,1013,1060,1148,830,1044,1166,1366,1282,1180,1304,1422,1524,1180,968,720,1013,1056,1386,1342,960,640,677,866,926,1132,1178,761,586,542,792,1156,977,978,1064,1092,940,1020,1086,1524,1964,1074,1288,1454,1238,1218,1036,1104,1474,1538,1316,1328,1444,1194,1250,1618,1590,1056,618,520,807,842,690,483,423,524,601,542,463,338,381,540,467,442,432,379,414,491,521,443,586,753,560,688,1104,1166,983,547,640,571,426,470,441,423,593,708,595,675,1015,1202,1152,803,523,494,634,940,1102,912,822,1050,1376,1216,1194,1360,1110,1098,1072,1326,1426,1266,1228,1118,1188,1198,1012,1262,1558,1690,1506,1440,1468,1396,1306,1148,1204,1102,1250,1322,1336,1426,933,1021,853,836,1516,1252,722,581,534,633,757,724,742,478,421,500,516,574,716,624,644,721,608,495,692,1160,658,566,987,1112,1128,905,705,893,1350,1552,1460,1478,1504,1428,1062,744,625,530,393,331,292,252,283,328,303,293,423,508,405,390,400,384,357,450,469,368,443,729,683,431,566,663,1064,1005,969,1346,1134,1152,1098,833,722,789,1074,1102,606,427,509,440,804,1472,1340,1168,1056,927,981,1152,1040,728,789,976,993,1056,1030,1172,1372,1542,1426,1362,1416,1302,1304,1286,1164,1282,1186,1242,1498,1542,1510,1238,1332,1468,955,650,836,894,1180,1424,1354,1516,1482,1304,1410,1432,1096,738,822,954,860,1006,1362,836,738,937,1082,758,565,500,477,422,372,354,328,370,545,672,666,595,455,375,419,504,532,475,767,1408,1412,762,772,997,1208,1078,797,890,1072,987,1150,1400,1340,1202,1398,1600,1548,1202,752,604,697,893,1050,1256,1384,1604,1650,1598,1476,934,952],[1210,1438,1384,1062,476,412,444,485,399,435,376,343,330,340,353,367,395,393,362,338,341,366,553,806,960,1100,858,1058,1284,1350,1404,1234,1088,1398,1416,1476,1266,1064,1044,1178,1152,829,803,1100,1250,1420,1484,1214,1410,1558,1268,905,1084,1250,1430,1580,1580,1582,1658,1608,1530,1450,1394,1252,1250,1138,1198,1252,1432,1504,1110,497,388,327,278,337,317,235,233,241,273,284,273,290,260,287,401,674,785,927,1584,1908,1038,437,418,385,508,639,681,722,857,996,885,512,458,470,451,501,515,768,1028,1004,1062,896,796,1118,1366,1274,1080,1150,1140,1072,921,1028,1306,1158,905,1102,1058,1114,1260,1148,1100,1026,745,966,1234,708,839,1174,846,516,698,1122,1076,693,641,694,684,475,806,1036,686,623,620,812,1044,1138,1126,1080,1040,985,585,837,937,678,540,534,413,602,637,573,662,1046,1404,1430,965,518,681,825,593,508,549,623,767,766,992,1346,1498,1770,1484,1194,1208,1288,1534,1592,1216,1108,1288,1308,1268,1194,1208,1154,1005,1488,1482,788,583,930,793,532,572,558,744,1012,1005,1106,1178,1140,984,1052,940,606,866,1158,1384,974,651,415,394,415,317,350,372,387,384,358,336,333,355,355,335,403,503,460,416,449,554,561,536,614,590,515,470,413,540,868,810,785,662,538,491,753,933,952,1290,1514,1536,1640,1572,1268,1290,1360,1264,1176,1246,1220,1310,1482,1318,1240,1300,1228,1350,1340,1498,1384,1272,1218,1080,994,931,986,1246,1260,1154,1208,1354,1100,1040,1022,1208,1272,1308,993,564,578,633,516,552,534,485,655,759,1130,1310,1482,1504,1248,1184,1350,1688,1922,1402,1066,1060,1398,1506,1618,1394,1166,1004,673,767,1130,1220,1218,1120,957,1208,1124,981,822,1019,1126,1234,1184,984,803,769,900,834,766,1188,1172,1190,1056,923,742,819,1114,1058,777,702,871,710,789,1078,1062,1334,1428,915,988,1170,1118,1180,1114,997,800,637,529,422,424,352,306,321,437,403,350,444,422,336,374,406,409,323,454,804,651,597,499,329,555,866,626,348,419,305,314,400,496,599,607,611,712,725,915,1068,1028,1098,919,570,488,379,410,383,400,392,651,1154,1164,923,561,466,1072,1806,1628,1558,1410,854,432,442,721,774,894,1242,865,393,397,552,793,728,604,698,973,854,802,903,1112,1042,781,658,584,562,688,724,587,614,724,863,572,421,686,778,637,696,849,886,821,1014,891,926,1070,1028,672,734,970,1007,879,1038,1094,912,966,1068,985,831,1044,954,1090,839,894,1164,1338,1312,1048,912,686,697,825,739,759,672,706,492,749,1038,931,1060,959,621,513,742,1144,890,721,875,880,1196,1542,1698,1500,1344,1294,1180,1072,1106,1182,1122,943,589,583,830,733,709,830,964,1394,1328,1186,1015,861,972,838,1160,1332,1330,1244,944,1028,1094,830,942,1252,1278,1038,799,787,550,441,754,761,1212,1512,1048,789,516,384,473,659,678,923,1060,1322,1504,1280,1248,1380,1408,1350,1266,897,713,1086,889,616,790,764,819,919,791,891,977,943,888,666,788,1158,1182,1146,1072,872,1182,1328,1236,1156,1146,793,731,1084,1224,1244,979,1014,1080,1002,1148,1130,890,673,616,846,1108,966,856,792,819,617,551,636,509,785,949,1192,1208,789,758,943,666,620,691,838,1094,1270,1194,1012,1009,1232,1074,869,1054,977,867,1166,1148,1282,1326,717,510,785,1010,1014,798,644,560,572,712,926,976,1086,1102,796,957,933,556,531,691,1082,1448,1232,1022,1424,1246,1046,1476,1180,553,483,625,764,1062,903,579,409,421,450,433,917,1408,959,599,1160,1520,1322,1796,2066,1166,927,874,1024,772,1021,1226,1422,1288,978,1628,2160,1538,1898,1708,1634,1892,1566,583,237,282,875,839,617,655,1050,1142,681,395,573,598,353,285,312,316,321,468,910,1220,1064,677,442,792,1186,1640,1114,1202,1576,1566,1490,1616,1960,2054,2116,2194,2014,1752,1136,631,660,851,615,698,708,534,443,491,467,714,952,965,955,717,522,509,450,419,428,538,790,789,528,611,716,656,673,706,608,656,697,658,668,910,767,738,872,1206,1520,1268,1158,1344,1282,1182,1106,1266,1180,1188,1280,946,711,892,1386,1760,1958,1716,1764,1338,878,1092,899,932,783,785,916,565,1788,3646,1960,919,1374,717,594,811,1208,1318,883,353,335,425,500,650,804,550,414,596,503,276,255,281,491,949,1130,758,364,427,448,482,689,888,1382,998,769,733,354,277,277,357,689,1009,869,1220,643,572,684,861,1036,1018,898,1013,1058,835,619,533,331,333,383,575,466,382,593,705,580,666,745,966,1310,1428,1276,699,574,679,747,527,295,236,569,1652,2622,2916,2460,1720,1294,1654,1580,1356,1732,1588,934,750,717,558,1138,1394,1120,1534,1706,1974,1876,1386,1398,2334,3454,2310,1488,2898,3256,2386,1234,783,557,1044,835,603,825,1106,790,552,658,488,364,495,682,1034,991,765,793,1100,1384,1616,1322,1360,1240,1230,1444,1020,1636,1876,1874,1854,1490,772,915,1538,1582,1386,1416,1548,1744,1764,1780,1448,1318,950,635,1084,1500,1368,1352,1324,1048,1138,1202,758,626,946,1174,608,654,1184,1306,823,467,427,343,375,849,1488,1728,1478,1278,1182,1284,1668,1384,1202,1226,1382,1814,2038,2014,1626,970,950,944,1454,1684,1902,1212,1038,1244,1392,1498,1486,1448,1464,1516,1096,1120,1208,1404,1586,1618,1454,1454,1328,1176,1136,1256,1450,1408,1126,1078,1092,1368,1442,1478,1548,1418,1132,1116,1058,831,910,1222,1532,1672,1432,1418,1600,1194,1354,1792,1712,1330,1244,1418,1516,1584,1500,1436,1376,1918,1356,1332,1296,1204,1326,1606,1598,1468,1256,807,557,794,771,573,683,872,720,801,893,930,1150,1364,1268,1256,1388,1432,1306,1284,1332,1302,1178,1166,1058,974,912,982,1086,866,658,987,1262,1034,968,1116,1296,1336,1392,1384,1394,1310,1330,1256,1156,1156,1244,1428,1612,1528,1462,1498,1670,1806,1706,1534,1350,1258,1284,1350,1248,1012,971,918,1104,1324,1434,1508,1566,1600,1674,1566,1432,1404,1254,1310,1362,1562,1354,1254,1170,1164,1394,1362,1272,1230,1266,1346,1346,1410,1384,1400,1290,1362,1518,1844,1892,1258,1274,1414,1548,1662,1344,1142,1172,1238,1412,1358,1580,1690,1490,1342,1318,1230,1166,1442,1710,1648,1582,1620,1418,1172,1122,1198,1234,1206,995,1086,1162,1236,1344,1500,1280,1118,972,882,1034,1192,1024,875,756,977,966,1084,974,1044,1120,1186,1302,1578,1654,1538,1506,1472,1378,1260,1282,1252,1198,1506,1398,1222,1154,1346,1388,1374,1422,1300,1252,1426,1268,1332,1458,1488,935,808,1126,1450,1320,1009,1040,1390,1232,928,1136,1062,1062,991,1058,976,706,908,962,1100,1498,1380,1272,1202,1316,1352,1036,569,852,1604,1876,1826,1682,1118,543,673,1074,1190,1078,959,676,873,1009,1060,1152,1388,1206,1012,1010,763,932,999,848,954,907,1128,1262,1180,1244,1122,966,900,907,910,1092,1158,945,873,1208,907,1009,1412,1492,1182,1046,1206,1346,1416,1600,1662,1188,874,1152,1390,1472,1210,1024,1092,1018,1012,1232,1274,1200,1128,1170,1174,1040,1160,1438,1412,1224,905,777,906,1338,1408,1110,1192,1252,1072,844,770,1009,1058,961,1028,1206,1122,872,781,890,951,684,660,1264,937,610,468,539,633,568,667,1066,1023,809,840,714,769,1020,969,1166,1242,1334,1236,1118,1336,1400,1274,1322,1350,1310,1340,1128,1210,1362,1448,1090,842,849,708,431,386,477,605,602,502,487,458,381,411,436,467,443,406,443,460,491,460,361,453,725,1128,954,1036,1094,921,1170,1106,756,452,387,478,910,1282,888,1122,1360,993,929,761,436,451,635,898,1062,1046,1306,1214,1252,903,1262,1384,1034,783,749,998,1006,850,933,1154,1362,1276,1246,1278,1526,1480,1508,1546,1444,1412,1204,1128,1466,1580,1700,1354,1384,1264,1046,956,665,760,1084,826,576,502,441,678,711,749,989,613,478,700,764,849,979,901,705,650,483,441,462,929,877,655,974,1280,1628,1426,962,948,1390,1358,1144,1450,1432,1382,1414,1176,761,503,349,277,284,245,250,311,391,407,333,343,311,343,398,416,391,420,460,384,451,794,716,444,513,636,1004,1104,1158,1224,1400,1360,1108,1082,952,947,1040,906,574,581,713,534,951,1260,1056,1140,1384,1248,981,1068,1240,912,1040,1034,926,1036,1346,1388,1384,1522,1580,1570,1544,1434,1366,1320,898,702,833,1160,1460,1674,1668,1368,1356,1450,1244,1136,1019,835,1184,1382,1284,1280,1328,1152,1208,1252,851,637,859,1022,1070,1248,1272,756,822,1036,905,692,555,434,388,403,384,340,459,523,793,739,735,652,513,518,561,536,539,571,698,1148,1176,856,1060,967,898,1014,1178,1296,1390,1220,1168,1302,1096,982,1238,1168,1280,1064,621,558,725,901,1182,1412,1416,1556,1528,1246,946,725,660],[1252,1166,1276,1007,466,373,492,500,412,536,628,561,417,354,381,402,399,381,391,355,338,483,661,683,946,1324,1182,949,962,1188,1252,1182,1338,1338,1278,956,556,765,1048,1278,1166,918,757,838,1140,1156,1013,813,1358,1242,937,917,933,906,946,1066,1192,1304,1396,1468,1466,1490,1378,1288,1324,1344,1236,1418,1452,1348,980,404,387,324,260,285,308,349,308,312,314,303,310,278,222,203,290,408,477,1132,1570,1610,1144,918,979,872,948,872,731,1088,1066,1202,1074,857,487,415,464,477,426,459,882,1236,1362,1094,651,1040,1236,1240,1720,1076,1001,841,609,666,964,1058,1044,981,920,1328,1562,1422,1232,1016,686,691,683,566,894,1062,677,397,686,1210,1062,659,680,595,526,496,828,926,715,530,491,848,1142,1216,1324,1248,1009,858,875,1278,1406,874,625,540,360,410,578,861,802,922,1110,1310,957,547,517,523,665,722,628,973,1170,880,720,624,1130,1710,1604,1346,1418,1384,1410,1572,1274,1182,1332,1224,1330,1238,1324,1440,1356,1444,1446,1054,810,816,719,749,928,1074,1156,1206,1114,1001,872,796,711,686,775,1046,1008,547,678,463,343,386,511,524,432,334,317,366,388,383,354,345,356,353,385,517,669,553,435,431,509,561,496,625,655,582,515,495,528,686,1007,1074,714,561,664,980,1140,1376,1544,1376,1344,1394,1190,1158,1196,1204,1026,877,990,1180,1318,1388,1200,1244,1344,1354,1266,1144,1614,1580,1316,1220,932,674,618,879,969,1314,1212,1058,1384,1138,918,1076,1278,1352,1294,987,714,757,1094,611,354,321,324,519,944,1260,1384,1398,1404,1410,1224,1918,2476,1866,1026,828,1402,1610,1500,1428,1130,787,554,610,878,1216,1318,1212,1106,652,831,862,673,611,1316,1584,1172,1028,1226,1418,1066,1007,1138,960,1052,1076,1008,1024,969,875,1106,1206,1036,966,1238,1524,1132,1072,1210,1576,1964,1660,1148,1130,1030,988,1090,1023,955,988,1021,1110,861,525,388,386,388,395,424,379,283,226,280,347,410,588,586,564,678,596,436,409,353,424,536,399,304,393,384,508,675,928,958,993,1036,932,810,944,1126,965,1152,972,792,444,368,439,429,385,350,576,869,931,928,787,847,1156,1590,1558,1386,1340,1204,686,494,558,728,980,1070,702,465,408,426,681,891,865,959,1064,912,788,786,985,961,735,667,576,465,522,547,512,501,639,737,630,653,807,689,756,827,933,1180,1034,963,985,1232,1208,761,414,482,778,1018,1112,1116,1023,805,770,853,819,1030,1116,1122,1108,1040,1056,988,873,1220,1332,1312,937,820,794,1060,1282,1020,838,723,902,1060,1034,1104,769,704,913,837,1212,1072,902,993,954,1001,1130,1178,1196,1250,1160,807,908,1009,1102,1396,1264,734,525,655,638,722,818,938,1536,1348,1278,1074,857,721,974,1324,1310,1168,1046,1116,1148,1098,1026,1276,1204,1098,1224,1272,1176,723,567,542,875,1606,1448,945,704,592,678,864,775,706,943,1334,1432,1472,1516,1358,1324,1502,1400,1138,998,1058,1286,999,630,852,1142,1180,937,572,773,1570,1310,1023,1044,929,1128,891,1182,1050,720,1005,1514,1450,1224,1272,1150,750,942,1152,1314,1102,862,862,927,1110,1134,884,749,637,759,1023,860,1013,1172,1348,993,680,741,707,918,1094,1334,1470,1078,941,1216,925,808,879,1040,1122,959,1066,1142,1172,1226,1100,866,843,730,771,779,754,749,1236,1160,688,665,1144,1220,677,680,868,901,728,813,995,733,435,546,1012,1008,881,1186,1348,1292,1472,1390,1060,1358,1300,1106,1356,1196,844,1013,1308,1402,1294,654,544,493,376,487,471,900,1274,1250,1188,1408,1442,1204,1632,2222,1530,1272,1210,1470,1064,1082,1280,1450,1738,1296,1324,1616,1150,1402,1864,1668,969,581,554,750,893,1428,1398,713,573,540,536,435,683,688,390,325,359,361,256,433,858,1178,1046,695,818,551,465,451,1414,1534,1498,1460,929,651,681,1136,1732,2060,1968,1830,1776,1070,834,563,368,391,493,426,286,350,440,815,1040,939,991,631,480,469,533,617,618,592,713,793,592,415,475,571,587,634,650,594,764,783,605,656,624,537,688,753,830,1130,1290,1342,1322,1182,1266,1182,1238,1204,1308,1298,1122,875,620,1272,1748,1666,1188,1480,1442,1272,1252,937,921,871,815,994,1168,3128,3706,1418,772,1372,968,456,918,1172,1026,1136,678,481,320,380,557,685,706,501,456,435,573,672,482,528,482,605,954,694,503,408,390,760,1074,1340,1242,1512,1582,1142,728,370,370,437,467,661,723,483,617,741,776,900,1064,799,839,760,612,356,339,421,539,547,362,317,471,717,890,849,748,1013,1162,1072,1038,1102,1272,1198,882,772,843,729,421,1270,2912,3974,4308,2430,1614,1256,1560,1622,1400,1484,1330,908,878,999,553,1166,1500,1514,2150,2166,1588,1076,963,1366,1404,1388,1322,1346,1488,1958,2164,1244,860,810,929,576,350,890,1250,839,979,1384,981,411,415,407,540,965,1086,1164,1238,1214,1188,1200,1460,1606,1520,1188,867,1196,1438,1612,1672,1556,1044,871,1232,1450,1364,987,1344,1910,2136,2130,1628,1266,1050,1468,1568,1380,1374,1680,1578,1358,1494,1094,511,600,748,666,409,401,579,830,807,648,463,403,357,576,1356,1846,1556,1416,1360,1154,1018,988,1154,1486,1532,1600,1330,1328,1500,1124,1130,944,1452,1696,1798,1282,966,1276,1490,1626,1452,1152,1178,1912,1524,1478,1394,1488,1640,1532,1428,1430,1400,1340,1302,1102,1194,1470,1380,1162,1406,1610,1432,1466,1816,1714,1252,1406,1582,1484,1096,1188,1180,1458,1284,1396,1506,1294,1620,1766,1568,1340,1230,1554,1672,1456,1460,1316,1606,1818,1346,1290,1316,1302,1410,1524,1592,1434,1020,666,525,596,531,521,714,768,561,520,608,802,1134,1396,1378,1362,1366,1462,1426,1480,1292,1342,1290,1019,987,945,924,1250,1326,996,849,1132,1082,1005,1086,1214,1334,1410,1248,1154,1232,1470,1406,1128,1106,1000,1366,1700,1488,1482,1670,1664,1648,1696,1532,1226,1420,1312,1248,1350,1266,1192,887,715,780,1058,1322,1056,1102,1526,1526,1292,1350,1384,1760,1660,1392,1358,1088,929,772,850,1050,1148,1204,1422,1500,1360,1260,1470,1490,1444,1348,1506,1710,1786,1516,1242,1312,1332,1350,1290,1228,1266,1234,1368,1418,1598,1632,1624,1714,1628,1430,1320,1476,1582,1436,1250,1356,1394,1416,1308,1268,1416,1130,1092,1050,1120,1144,1009,1198,1476,1344,899,625,772,1254,1324,927,960,728,692,912,1090,1176,1080,1216,1482,1560,1384,1514,1674,1620,1310,1220,1252,1202,1208,1336,1358,1382,1388,1410,1426,1354,1442,1540,1204,998,1180,1286,1300,1386,1328,832,633,943,1152,1224,1240,1166,1376,1216,914,1180,1284,1270,1190,1270,1078,747,592,675,1398,1518,1594,1720,1584,1778,1716,1048,645,1007,1602,1842,1810,1708,1220,644,650,620,1202,1316,1290,1266,1404,1268,1004,1282,1394,1050,766,642,552,848,833,856,1076,1180,1015,1086,1188,1218,1300,982,737,821,691,950,1440,1108,1126,1172,1019,1144,1384,1418,1116,1076,1364,1644,1306,1088,1013,891,929,911,1050,1368,1404,1270,925,784,955,1084,1098,927,965,1126,1260,1406,1200,1366,1470,1238,1042,951,1176,1466,1116,1020,1086,1432,884,831,1005,1094,1058,1188,1572,1324,1214,839,852,939,1040,847,800,1182,1356,1064,663,387,586,823,980,1204,986,884,663,586,471,436,573,968,1444,1672,1236,1010,1270,1410,1548,1380,1050,1172,1714,1108,1060,1342,1642,1538,1106,824,772,908,641,659,651,481,431,426,507,455,388,337,412,494,528,477,417,401,343,341,614,1080,1060,672,850,977,1064,1242,1312,1218,642,606,1016,1128,1350,1434,1344,979,687,976,1072,675,489,509,631,890,869,1004,1190,1208,846,825,1016,1240,1000,799,960,1042,845,1192,1080,954,1094,1230,1146,1130,1148,1314,1472,1518,1274,1136,1148,1220,1434,1700,1584,1416,1262,962,745,570,466,436,489,543,437,503,875,807,683,772,671,742,879,999,1168,1070,951,678,983,729,500,390,778,1072,1098,1044,1164,1424,1314,979,1146,1544,1434,1144,1330,1412,1376,1392,1516,1110,598,440,342,333,303,326,398,481,442,412,431,436,379,388,457,383,384,440,377,373,744,720,495,373,606,1042,1316,1250,1240,1300,1242,1294,1436,1338,1290,936,638,400,451,581,810,1106,1388,1356,1232,1362,1256,1028,985,1180,1138,1334,1058,921,1098,1310,1346,1338,1452,1616,1660,1650,1496,1406,1406,786,593,926,1296,1508,1428,1346,1314,1230,1220,1404,1436,1476,1378,1410,1226,964,1184,1192,902,974,1172,1170,1128,1202,1172,1208,1416,1040,804,709,765,757,531,402,388,366,362,378,452,566,578,950,772,580,536,575,543,430,433,531,655,595,954,974,1008,921,719,694,974,1376,1376,1204,1040,1232,1064,1196,1310,1070,693,1013,1110,885,878,1028,1184,1376,1314,1354,1530,1496,1294,1056,919,821],[961,581,568,433,446,370,634,672,491,632,723,517,397,365,426,458,464,435,422,394,379,835,1136,1009,1212,1204,973,898,946,1138,1054,1270,1252,1072,1196,799,519,576,934,1212,1034,916,607,695,1234,1234,980,576,1112,1128,1260,1396,1044,785,526,590,692,767,799,991,1092,1110,1262,1378,1342,1240,1246,1314,990,748,582,371,452,443,329,455,990,934,430,331,356,409,394,255,188,224,265,414,454,851,800,705,908,1306,1266,929,1150,1130,910,1188,1034,722,854,960,609,326,372,440,400,355,583,924,922,693,450,813,1202,1622,1500,720,785,841,702,673,788,1013,946,648,957,1312,1174,1002,702,558,778,805,588,625,647,640,587,595,566,583,418,477,493,519,486,515,868,1126,1002,655,745,1056,1246,1318,1448,1252,1186,1094,848,825,815,753,767,767,612,559,491,761,968,1376,1596,1388,1034,704,570,1019,1560,1100,525,725,677,668,636,447,708,1224,1490,1354,1352,1382,1326,1222,1280,1034,1112,1258,1144,1076,1358,1404,1498,1570,1438,1428,1174,967,1032,1180,1230,1042,806,694,723,704,488,382,354,325,471,581,466,334,319,457,483,455,518,540,476,377,345,351,336,391,419,346,367,480,535,561,609,496,390,407,450,614,641,678,636,645,618,473,430,534,1084,1186,828,870,884,1090,1206,1324,1292,1226,1344,1328,1422,1322,1034,1074,1106,810,563,841,1446,1214,1078,984,1080,1100,1044,1110,1516,1582,1248,1212,1124,893,686,875,808,1154,1066,1015,1176,881,906,962,747,875,1122,1084,927,778,985,579,386,483,508,431,854,1100,1284,1460,1614,1588,1068,924,965,747,619,776,1198,1322,1276,1288,1296,1024,736,827,737,1058,1232,1086,725,572,643,944,746,611,1176,1302,1080,929,878,1094,1034,1122,1516,1334,1094,1024,933,946,685,693,1126,1114,932,930,1428,1358,781,579,755,1126,1496,1254,1084,1272,1054,761,761,1150,991,997,1294,1456,1108,754,440,380,403,369,452,387,256,246,267,342,550,727,690,538,590,601,407,422,662,613,482,373,399,603,515,844,1158,1302,1202,1154,1214,1300,1114,869,1048,1060,973,735,608,431,325,376,435,421,398,489,651,821,821,1005,1136,1142,1296,1504,1430,1176,1176,1086,849,708,841,965,823,562,597,520,373,554,623,765,1108,1026,812,795,788,1082,1038,843,725,592,435,408,444,466,401,603,904,822,916,1122,1186,1310,1166,1288,1178,970,743,919,1208,1252,906,381,473,774,1068,1216,1294,1232,1140,1438,1052,907,1094,907,1056,1266,1190,1146,1162,1164,1322,1498,1388,1092,1196,1074,1252,1406,1322,1322,919,648,587,873,1082,785,945,987,723,975,881,636,614,752,1180,1260,1208,1234,1294,1102,683,614,695,862,1204,1368,948,719,916,689,527,613,740,1302,1332,1184,1204,1092,800,817,1178,1198,1122,1042,1090,1126,1272,1130,1230,1274,1312,1402,1514,1236,804,748,803,890,1044,792,544,381,550,1090,1400,1026,945,1254,1178,1202,1298,1116,1138,1228,1454,1440,1430,1288,1204,1208,931,816,1156,1328,1246,1054,687,866,1404,1418,1294,1208,1068,1160,993,899,860,794,787,1010,1298,1498,1528,1248,1094,915,1102,1260,1212,946,844,1018,936,840,778,825,799,726,884,771,892,926,1296,1308,971,794,1028,1322,1146,1438,1562,1516,1502,1352,1096,909,689,679,860,1168,1230,1056,1206,1100,1058,944,659,525,609,895,1116,1058,1116,1216,1172,584,597,739,538,628,666,824,864,731,736,599,396,447,703,758,703,1188,1346,1000,1316,1444,1172,1250,1346,1278,1278,1230,1114,935,1144,1214,914,827,1466,963,419,567,644,870,1206,1192,985,984,1222,1252,1622,2024,1554,1226,1026,987,993,1446,1530,1364,1634,1310,1144,1070,1146,1350,1278,1300,1054,1120,1498,1346,1230,1634,1470,779,387,300,303,570,1008,970,822,609,510,524,345,464,961,1264,1236,886,827,574,680,681,1042,1154,875,616,528,664,766,933,1364,1274,1516,1628,1610,877,948,922,437,545,1122,1007,544,600,894,1154,971,865,877,612,489,484,764,773,739,749,649,641,586,428,546,741,630,536,553,532,716,650,581,743,653,446,560,772,908,1080,1338,1158,1138,1422,1438,1086,1114,1250,1368,1204,1264,1108,636,736,1392,1706,1434,1404,1548,1712,1434,970,840,1032,1006,1088,1070,1918,2450,1584,1100,1224,949,388,803,1286,1212,1022,883,621,274,326,580,708,602,493,514,386,447,727,931,870,470,277,542,1036,827,558,640,901,1110,1224,1504,1738,1630,2094,1592,753,387,545,579,517,425,342,358,634,1023,929,671,736,907,1009,816,414,320,506,739,660,358,296,298,367,639,815,586,1072,1568,1614,1484,1166,1322,1584,1378,1048,1302,1310,955,2136,4252,5668,5400,3104,1826,1294,1404,1548,1482,1554,1274,1040,684,870,701,1084,1214,1450,1782,1502,949,773,1114,1426,1256,1104,839,1362,1594,1312,1148,1028,1006,996,1190,984,650,1206,1048,684,1412,2106,1454,775,585,508,538,635,551,639,946,1184,1248,1190,1200,1272,1152,965,1176,1118,1192,1450,1582,1664,1636,1446,1372,1110,1236,1234,1015,1432,1764,1628,1412,1268,1170,1426,1814,1758,1248,1394,1362,990,1122,987,905,1028,736,407,326,306,347,399,541,646,436,480,591,756,1288,1532,1608,1518,1434,1272,973,730,741,957,1044,1094,911,1232,1396,1152,1156,1054,1206,1454,1666,1318,885,968,1198,1468,1208,972,1038,2010,1500,1168,1216,1406,1570,1604,1508,1492,1440,1268,1396,1086,1254,1670,1550,871,909,1406,1542,1814,2426,2116,1344,1408,1632,1404,1020,974,1146,1244,1362,1502,1428,1516,1664,1568,1330,1356,1364,1484,1572,1440,1524,1052,1660,1814,1272,1322,1334,1300,1318,1522,1610,1418,1050,641,531,484,415,508,642,583,498,477,709,1106,1210,1518,1440,1378,1542,1522,1498,1516,1424,1342,1042,928,977,936,896,968,1324,1382,1106,1146,1144,1168,1262,1174,1130,1164,1240,1266,1184,1240,1510,1368,1416,1096,1434,1522,1266,1418,1600,1708,1738,1732,1576,1702,1980,1544,1542,1400,1130,1056,835,910,1234,1208,1002,882,1184,1526,1716,1500,1356,1396,2032,1958,1148,1106,1108,960,814,862,965,1156,1228,1318,1528,1318,1118,1138,1362,1416,1176,1288,1722,1582,1338,1158,1158,1140,1140,1268,1370,1192,1202,1332,1474,1700,1484,1548,1642,1746,1726,1648,1570,1394,1416,1428,1296,1222,1472,1420,1162,1180,1156,1214,1288,1262,1104,1146,1276,1140,984,753,614,752,1094,1290,1264,1026,634,688,1080,1186,1266,1216,1164,1428,1520,1232,1476,1532,1522,1434,1322,1388,1384,1046,961,1280,1368,1338,1290,1130,1124,1296,1596,1482,1244,1206,1150,1082,1022,983,865,810,1132,1262,1254,1458,1324,1322,1322,1346,1244,1196,1238,1380,1550,1428,1244,1128,1180,1854,1676,1704,1654,1770,1982,1636,834,531,965,1500,1836,1784,1560,1058,937,822,497,742,1320,1522,1284,1426,1460,1318,1490,1098,912,728,676,1086,1246,893,973,1186,1106,1050,1136,1140,1030,1238,1164,900,971,1001,1158,1328,1040,894,1052,1234,1228,1268,1178,1108,1090,1248,1406,1394,936,751,890,755,545,840,1042,1194,1094,1052,857,941,1062,1278,1320,1346,1076,1196,1318,1312,1312,1312,1158,931,1104,1566,1374,1150,946,1009,1270,1114,1256,1152,1003,975,1032,1152,1064,1288,1198,1324,1348,1118,1016,1126,1466,1608,1304,1016,789,897,1288,1200,1164,1082,1164,879,599,525,601,660,849,1242,1484,1118,890,1026,1002,1244,1040,797,1208,1526,1252,1138,1466,1644,1480,1288,1032,986,1300,1024,818,617,470,418,414,413,399,399,400,412,448,482,448,402,424,351,410,790,935,669,462,591,823,922,1013,960,811,691,883,1416,1664,1532,1294,849,507,664,1276,1446,1080,622,526,465,810,858,842,1206,1322,1034,826,1078,1346,1136,1188,1444,1376,1394,1366,976,1230,1154,903,1194,1326,1242,1284,1364,1452,1428,1306,1148,1236,1104,1356,1384,1188,1156,957,924,628,615,695,545,547,395,439,521,587,569,579,763,969,1015,1050,1202,606,485,704,1252,1034,612,455,698,1132,1378,1208,1134,1310,1294,855,1042,1650,2026,1324,1152,1622,1390,1186,1420,1158,673,462,377,327,322,361,406,399,453,617,686,651,526,473,521,409,336,371,375,372,761,931,680,497,550,951,1200,1050,1038,1050,1266,1594,1800,1524,1318,729,472,437,370,666,951,858,1372,1388,1340,1290,1252,1278,1036,1028,1096,935,772,766,917,1224,1248,1274,1300,1434,1572,1412,1332,1296,1262,958,931,1220,1572,1648,1286,1234,1472,1230,1164,1296,1290,1410,1334,1384,1198,1036,1012,859,1186,1324,1154,1236,1378,1340,1172,1188,1290,1001,734,622,672,604,431,414,440,412,366,530,610,438,471,783,797,604,508,589,624,559,496,426,480,481,1124,1400,954,677,838,849,979,1416,1242,1076,905,1108,992,1440,1368,996,618,592,893,1060,1060,911,1142,1312,1314,1376,1240,1338,1396,1184,1268,1400],[808,531,426,408,570,959,1246,874,608,587,594,462,475,480,480,479,468,416,374,405,445,988,1284,983,1042,1078,890,687,818,799,681,749,887,1264,1376,890,590,615,1084,1258,1228,1198,1030,1017,1070,1282,1020,672,1034,1232,1108,931,739,653,523,452,442,604,651,626,647,775,946,1014,1050,1166,1356,1272,833,635,405,288,374,401,401,629,915,620,364,363,345,441,323,213,204,209,207,383,561,482,423,490,830,1208,1013,1018,1664,1432,1132,1212,965,879,818,858,691,411,349,398,390,337,350,407,374,354,315,554,1158,1464,868,499,744,969,943,786,753,990,935,533,736,886,750,708,688,622,905,1092,899,731,533,609,709,830,538,474,492,466,437,506,493,555,880,944,785,670,758,1060,1656,1606,1422,1224,949,538,501,506,366,484,590,857,860,764,1120,1236,1316,1722,1826,1432,1090,982,868,1024,1272,849,1064,1340,675,495,492,403,487,984,1346,1280,1566,1418,1750,1676,1334,1100,1026,1226,1118,847,1064,1146,1180,1208,1122,1436,1246,990,966,858,640,529,529,583,676,578,301,262,286,372,612,667,652,472,354,412,470,515,574,644,549,419,385,381,337,335,344,381,419,466,422,350,391,389,354,389,391,590,757,672,496,503,481,479,535,792,1380,1524,1238,893,644,725,1240,1390,1194,1260,1234,1340,1588,1290,923,1220,983,617,505,552,850,755,944,898,767,885,1240,1280,1158,1110,1088,1172,1180,956,1064,978,947,1066,921,1100,1060,819,849,904,1202,1220,971,934,922,647,665,641,587,906,961,774,916,998,1282,1456,1342,960,598,487,426,377,535,579,678,933,1066,987,929,652,652,807,841,1058,1062,1030,611,430,432,418,380,694,1426,1458,1224,1002,1040,1028,1092,1260,1516,1300,1252,1234,863,689,590,882,1060,911,958,1078,1112,834,417,360,576,853,874,729,1100,1182,719,621,769,1262,1410,1358,1410,1194,993,843,410,352,372,445,471,693,630,326,324,511,542,462,509,716,1208,1152,538,825,1304,1350,1310,819,656,738,495,635,911,1062,1166,894,891,1302,1356,1128,1006,771,1014,848,521,446,408,466,433,390,446,508,685,1160,697,596,793,1094,1422,1562,1382,955,774,1056,1076,680,751,769,763,606,572,549,388,498,740,976,1216,1166,926,932,826,1028,995,868,704,612,455,452,494,489,495,907,1586,1144,1056,1224,1294,1262,1200,1250,1102,1156,1012,960,1104,1202,966,523,483,791,1074,1220,1224,1230,1266,1410,1080,959,823,756,1174,1262,1026,898,1010,1464,1400,1350,1024,916,1136,1152,1262,1348,1262,1240,749,537,897,1380,1350,846,760,916,963,832,679,827,534,579,845,959,907,1416,1582,1326,1058,834,713,730,1007,1094,830,664,1028,760,671,650,499,706,874,1028,1146,1232,1021,730,911,974,1104,1044,1144,1044,1212,1354,1400,1438,1506,1520,1392,1118,847,644,734,578,418,400,401,427,590,1066,1498,1268,1194,1180,763,954,944,1007,1208,1300,1326,1300,1404,1262,1068,973,925,1036,1244,1198,1176,772,854,1182,1180,1196,1142,1080,1064,1020,973,944,952,1148,899,877,976,1452,1660,1312,1250,907,950,1172,1188,1144,994,943,608,706,884,1118,927,637,726,908,995,1218,1354,1214,879,634,1118,1454,1192,1418,1632,1440,1434,1338,908,511,439,584,816,1040,971,875,1100,959,982,1086,786,581,887,1180,1019,1023,1164,953,1204,915,506,469,491,582,421,525,880,996,826,758,591,347,557,710,873,1260,1516,1220,1338,1444,1282,1228,1340,1660,1540,1194,1084,644,961,1086,794,1006,1028,611,418,445,705,960,948,980,1160,1258,1300,1318,1570,1408,1340,1304,969,671,876,1372,1342,940,1324,1424,1178,1013,1180,1228,1516,1908,1246,760,792,919,1300,1744,1450,1066,477,339,390,550,631,767,1068,993,733,591,383,444,865,948,1178,848,606,439,785,1028,935,547,252,290,372,743,962,893,1194,733,825,1578,1534,959,1102,989,537,796,626,630,794,940,1192,1238,1036,686,573,904,766,607,855,837,742,643,535,590,581,493,596,744,632,645,686,576,607,474,427,561,581,481,600,972,952,738,651,763,1124,1688,1688,1290,1252,1106,1426,1138,1250,1236,917,571,1012,1592,1432,1108,1296,1226,1020,1084,776,961,1034,780,760,739,561,1074,1306,1084,1062,571,492,1009,819,387,377,424,320,293,443,523,393,353,404,447,366,448,882,851,387,248,378,709,896,1005,974,863,1196,1322,1714,1630,1650,1942,1282,594,400,400,375,361,355,360,377,681,939,840,684,518,617,626,583,450,341,468,788,698,361,319,339,450,810,803,688,1158,1544,1650,1562,1382,1328,1266,1278,1512,1698,1384,1394,2128,2858,4752,4348,2434,1534,1230,1300,1298,1526,1542,1646,1440,1050,1100,863,1070,1096,1062,1260,866,382,736,1484,1502,1524,1326,807,1146,1294,1284,955,1030,1250,954,1094,1168,1270,1238,556,474,1396,1848,1434,1368,1656,1360,798,640,484,505,419,501,1016,1332,1088,839,933,963,924,916,827,850,1166,1500,1752,1606,1782,1710,1040,1148,1132,1116,984,1030,1274,1352,1250,1112,1364,1560,1168,1094,1250,1054,897,727,533,495,473,407,320,277,301,312,413,566,577,672,641,637,883,1248,1676,1656,1560,1578,1122,698,457,515,880,947,919,1110,1288,1156,1176,1256,1214,1384,1630,1340,824,805,954,925,701,598,436,678,749,761,982,1230,1528,1682,1484,1436,1130,833,772,597,871,1392,1350,995,1594,2066,1750,1932,2356,2020,1224,1244,1316,964,997,1118,1246,851,880,1486,1784,1720,1360,1302,1200,1510,1606,1326,1372,1510,1532,1046,1124,1274,1118,1344,1286,1146,1120,1542,1682,1648,1168,653,521,477,399,538,681,525,504,726,1006,1126,1184,1440,1354,1388,1458,1404,1416,1416,1422,1162,890,796,913,963,1052,1066,1582,1368,999,1110,1200,1194,1212,1198,1132,1090,1310,1366,1312,1316,1410,1354,1468,1586,1586,1404,1500,1364,1228,1272,1612,1708,1638,2030,2276,1802,1522,1190,836,805,765,829,1126,1142,1190,1282,1118,1166,1476,1470,1198,1444,2740,2696,1012,1009,1258,1068,1104,1116,987,998,1024,1250,1286,1262,1302,1228,1296,1452,1442,1454,1334,1228,1304,1206,1130,1120,1194,1242,1258,1284,1302,1222,1256,1444,1346,1354,1430,1500,1732,1708,1404,1288,1280,1376,1426,1284,1380,1190,1160,1100,1078,1144,1236,1186,1160,1356,1316,1246,1238,880,648,700,807,1214,1438,1172,912,1148,1282,1120,1210,1200,1240,1134,1100,1172,1246,1476,1592,1466,1372,1442,1416,1094,962,1230,1250,1080,1100,1248,1142,1158,1804,1814,1294,1238,1266,1028,987,1106,1110,1142,1256,1106,1174,1240,1122,1170,1272,1278,1162,1136,1178,1266,1438,1250,960,1056,1318,1776,1676,1476,1668,1948,1888,1410,614,467,598,973,1384,1602,1400,959,1038,912,788,623,799,1156,919,613,1084,1394,1484,1126,1084,1072,1074,1296,1280,1030,1048,1038,958,1062,1094,1198,1118,1164,1188,1010,1100,1090,985,1198,1156,890,982,1136,1214,1202,1188,1482,1272,1120,1012,980,969,1168,1084,654,750,1136,1094,957,1032,1278,889,968,1048,1172,1490,1158,902,1122,1270,1400,1276,1310,1344,1222,1196,1264,1218,1232,937,864,1058,1326,1470,1208,1074,1176,1194,1040,993,1086,1332,1468,1262,1070,963,831,1134,1540,1082,912,1280,1288,1336,1280,1192,1230,1112,1050,848,684,785,968,1006,1084,1148,841,802,753,732,880,946,1064,1310,1408,993,789,1172,1438,1334,1334,1074,1060,1130,912,814,756,605,449,404,324,327,339,399,382,384,397,442,458,524,504,462,532,581,553,436,502,525,489,611,713,808,742,993,1456,1642,1338,1026,901,749,789,1256,1520,1584,1246,739,457,526,589,950,1360,1222,773,743,1044,1058,988,1116,1398,1484,1460,1484,1268,1328,1272,1158,1444,1600,1404,1234,1330,1286,1366,1446,1434,1356,1274,1396,1390,1656,1700,1302,1310,728,638,823,573,430,375,395,436,507,625,895,1130,1328,1356,1096,803,540,506,661,744,667,1021,1360,1154,1630,1852,1326,1198,1116,1014,789,1017,1452,1306,1060,1430,1714,1370,1110,921,946,725,831,606,390,306,303,318,329,438,578,636,690,654,605,637,521,524,473,396,543,860,968,907,653,647,978,1188,1064,988,1226,1444,1556,1516,1312,1216,1022,861,857,785,857,857,787,1182,1494,1300,1232,1430,1444,1318,1244,1290,1196,1044,984,1100,1404,1178,1146,1160,1186,1460,1470,1438,1358,1023,732,982,1180,1404,1532,1448,1460,1556,1362,1250,1456,1290,1220,1410,1310,1110,1030,1098,863,1356,1346,1282,1226,1318,1464,1310,1388,1506,1346,1176,913,621,563,426,390,497,510,366,427,469,449,480,555,629,639,527,543,578,645,608,494,440,804,1304,1036,745,678,778,926,828,1236,1526,1434,1182,1152,1040,1208,1114,763,541,580,834,1318,1198,901,891,1190,1300,1172,1176,1428,1496,1334,1286,1150],[852,614,539,478,595,1236,1640,1216,833,681,570,641,601,531,465,442,462,433,387,396,375,435,529,670,854,1023,968,723,918,829,578,608,814,1009,894,771,769,735,1104,1278,1444,1600,1580,1432,1302,1430,1280,1004,1158,1144,942,914,738,571,564,448,364,675,761,536,526,642,624,586,639,800,1028,974,742,602,432,265,293,307,330,466,457,492,567,476,414,422,272,247,280,292,297,409,620,705,622,520,814,1058,938,986,1198,893,1058,1306,943,912,1122,1050,890,611,318,316,379,301,347,438,542,525,408,445,860,1162,1154,1116,915,1006,1074,888,973,1192,724,509,543,402,419,619,790,904,974,1194,957,713,694,924,897,846,672,505,480,725,749,636,584,488,709,968,1074,853,547,677,1266,1652,1506,1030,528,360,472,529,471,560,594,1088,1274,1176,1162,1106,1256,1476,1482,1294,1176,918,684,678,646,488,814,653,276,283,349,473,588,848,1350,1372,1482,1592,1720,1610,1396,1172,993,943,824,709,828,1114,1152,1246,1200,1019,760,474,348,298,290,387,387,468,615,397,299,291,373,484,667,818,689,406,286,264,331,421,575,741,628,448,406,387,349,403,449,424,461,478,518,484,383,370,364,398,375,461,586,529,442,458,611,827,728,1032,1406,1512,1516,1302,805,486,612,749,821,725,777,1130,1286,1156,1084,1021,738,818,890,566,420,583,1040,1216,798,724,857,1104,1212,893,672,879,1046,1158,1348,1316,1342,1054,843,1158,1166,1172,1102,999,1244,1256,917,550,529,466,447,537,633,659,1032,1518,1306,1316,1448,1294,783,435,411,418,325,386,517,465,627,996,1270,892,644,551,377,722,1078,1258,1272,987,653,623,516,511,672,887,1472,1434,1190,1116,1144,1136,1138,1078,1068,1230,1540,1318,1150,1072,992,1300,1020,913,667,509,519,522,643,796,664,933,948,916,1266,1100,729,850,823,874,1252,1416,1448,1226,894,549,328,343,318,440,556,956,880,605,668,941,879,685,656,805,1388,1338,693,963,1306,1388,1360,1142,778,503,349,472,732,1007,1042,765,767,1026,1042,1112,1116,1258,1290,885,493,463,556,721,659,902,1126,1082,1130,1558,940,726,855,938,1238,1118,764,518,631,1000,1230,955,834,805,802,538,562,523,365,588,954,1070,1176,1116,1012,991,905,871,836,785,702,656,529,489,455,428,454,661,1166,976,1060,1250,1130,986,1048,1056,1068,1030,913,744,700,1046,919,905,1036,1168,1110,1138,1190,990,941,1034,757,760,723,873,1148,1240,1048,903,1066,1264,1166,1040,1023,919,861,1058,1336,1374,1054,959,929,695,959,1668,1582,1034,832,905,1012,760,540,647,490,471,576,593,582,1170,1378,1038,631,753,777,798,1152,887,505,408,735,528,488,427,376,633,966,1180,1440,1142,737,742,838,995,1100,1158,1218,886,876,1244,1340,1134,1076,1282,1322,1222,993,664,478,525,571,480,376,555,631,672,980,1168,1258,988,776,937,1068,1216,1332,1336,1194,1180,1226,1342,1326,940,965,1122,1028,949,1276,1162,1198,1234,1132,1318,1456,1198,860,696,1068,1090,891,1009,716,705,1498,1864,1532,1224,1146,924,800,1130,1298,1334,1162,834,567,521,762,1110,927,584,717,939,1080,1170,1170,1296,1220,1362,1426,1274,1176,1274,1544,1442,1326,1322,1082,737,683,1018,929,644,472,646,870,803,942,1048,692,618,1062,1130,677,566,753,1066,942,1134,1164,734,424,462,593,755,868,913,958,770,526,398,524,741,1070,1164,1340,1394,1382,1386,1266,1172,1198,1462,1468,1412,1444,916,1040,928,863,1086,727,489,359,454,1134,1472,1448,1452,1378,1208,1164,1532,1440,817,775,965,902,815,881,987,924,766,964,1106,1152,1184,1266,1466,1896,1580,919,1346,1892,2094,1974,1856,1790,1460,747,339,301,467,569,579,971,1064,761,485,329,343,640,641,722,693,485,315,566,1110,1328,838,458,336,353,668,1040,1230,1108,605,587,1198,1282,778,858,813,1026,1012,417,475,758,960,1188,919,611,604,785,1142,902,517,605,772,858,732,603,589,554,702,593,503,507,558,537,547,658,435,355,343,318,466,858,929,613,419,393,512,962,1700,1772,1344,1268,1118,1116,1015,1166,1244,1208,829,778,1116,952,645,1114,1456,899,1072,849,1064,986,843,1210,1036,629,963,1482,1582,1352,1062,494,506,417,366,456,511,422,311,281,277,298,465,604,662,732,709,904,494,212,222,491,949,1120,814,1144,1412,1394,1744,1722,1494,1526,1360,735,554,577,534,475,451,453,368,314,529,606,572,647,600,527,642,779,590,518,414,786,858,490,426,455,588,974,1178,1290,1450,1642,1698,1432,1184,1332,1280,805,1156,1754,1498,1312,1752,2220,2698,2688,2178,1406,1350,1250,1021,1242,1216,1256,1232,1200,1000,1118,1494,1024,538,515,360,305,561,1186,1244,1356,1472,1488,1682,1758,1438,786,525,506,406,546,806,1416,1350,894,709,995,1302,1450,1660,1864,1656,850,680,720,505,477,524,520,942,1106,899,868,821,679,618,463,422,653,1254,1684,1572,1836,2350,1598,915,1190,1218,624,488,780,1178,1438,1128,1102,763,661,763,1042,1054,788,528,393,395,390,392,365,307,287,316,368,577,986,992,574,431,482,768,1328,1422,1484,1494,1216,678,449,843,1140,1184,925,922,1194,1190,1170,1268,1164,1168,1556,1344,664,608,825,715,733,844,726,651,830,928,1136,1278,1362,1240,1034,775,598,492,547,829,1210,1574,1496,1734,2688,2446,1686,1372,1504,1382,933,1220,1104,846,1088,1368,1328,1010,1050,1696,1794,1528,1372,1694,1388,1600,1698,1528,1508,1520,1444,1144,1150,1296,1256,1542,1504,1144,1036,1484,1600,1496,1019,637,653,684,429,555,641,520,419,564,679,844,1246,1502,1350,1142,1090,1166,1260,1240,1058,894,874,819,938,1056,1174,1366,1256,985,1030,1016,1192,1324,1100,1136,1302,1236,1144,1132,1364,1610,1412,1216,1444,1598,1310,1216,1360,1520,1486,1256,1328,1266,1440,1826,1786,1532,1236,765,555,524,601,755,955,1134,1160,933,829,1104,1186,959,961,1186,952,955,1150,1192,1198,1226,1340,1144,941,853,1064,1208,1154,1208,1192,1296,1770,1972,1774,1228,1058,1256,1396,1332,1202,1300,1430,1328,1330,1386,1252,1190,1068,1134,1254,1466,1646,1714,1574,1346,1296,1282,1358,1336,1432,1390,1520,1446,1238,1062,1086,1296,1390,1328,1400,1410,1342,1618,1408,978,913,1066,1230,1366,1436,1274,965,1140,1106,1252,1394,1330,1310,1148,1066,1018,1162,1396,1452,1382,1316,1166,1336,1396,1358,1490,1272,1046,1104,1110,910,899,1444,1716,1208,748,1062,1098,1144,1200,1268,1194,1228,1118,1058,1216,1226,1144,1150,1114,1000,1100,1114,1196,1528,1154,706,851,1244,1384,1160,1100,1298,1572,1550,1060,660,734,627,607,788,1220,1208,1008,965,952,951,518,462,786,1164,703,847,1268,1344,1204,1302,1376,1264,1316,1234,1134,1200,998,922,1130,1356,1288,1290,1218,1278,1272,1184,938,1056,1122,977,952,894,667,697,915,1096,1166,977,872,1208,1320,1026,1084,928,675,1116,1300,1136,644,578,626,808,1202,1216,1262,1134,811,889,1128,1136,1156,1186,1064,1036,1250,1052,709,659,810,927,929,1162,1504,1090,735,968,1276,1296,1112,825,806,1114,1254,1066,830,857,905,595,854,890,1078,1224,691,837,1258,1372,1338,1266,1128,1090,1040,907,794,903,1164,1013,811,844,678,539,742,1072,1216,1272,1120,786,929,1334,1362,1130,910,997,1080,941,968,1098,1002,706,494,383,385,342,391,399,381,383,448,569,588,677,675,451,379,406,457,508,529,571,532,611,711,721,831,1068,1312,1444,1092,977,965,803,1028,1362,1620,1512,1280,858,435,484,874,1168,1234,1050,675,590,697,702,988,1246,1426,1376,1284,1256,1230,1268,1180,1370,1500,1610,1338,1180,1282,1268,1188,1370,1548,1452,1416,1316,1324,1242,1180,1220,1402,816,501,419,339,336,310,351,404,436,885,1236,1362,1334,1116,888,740,525,404,438,504,800,1460,1830,1380,1354,1812,1364,1212,1108,987,1001,1100,986,700,638,890,1214,1066,1018,874,929,743,965,988,563,272,272,271,302,477,519,551,578,660,664,611,640,678,570,477,884,1178,1066,1016,807,772,1084,1300,1166,1308,1346,1322,1202,1180,1204,1346,1424,1260,1268,1284,1120,742,691,1216,1440,1004,1066,1372,1528,1510,1142,1434,1494,1498,1250,1148,1021,955,1162,1130,1120,1252,1378,1568,1428,947,826,1114,1316,1084,1350,1382,1310,1280,1300,1358,1470,1468,1506,1192,750,799,886,1062,1132,1318,1166,1214,1094,1170,1306,1210,1216,1166,1238,1172,855,700,639,457,434,576,534,540,662,555,457,512,440,423,462,570,504,398,622,721,678,600,741,735,500,581,741,734,766,691,1242,1448,1252,1146,1266,1354,1186,744,447,479,586,946,1594,904,1074,1284,1250,1138,1234,1384,1496,1588,1474,1246,1108],[1244,1168,877,518,529,647,890,1058,1116,979,807,821,675,506,392,440,522,415,388,378,314,286,336,341,623,608,706,830,988,1032,910,711,775,710,483,988,1054,1002,1180,1194,1270,1494,1432,1350,1710,1710,1310,1090,1212,1058,879,780,700,515,432,416,407,646,813,664,513,499,513,533,571,612,695,773,678,702,738,519,346,293,276,264,262,536,583,491,483,731,612,505,666,648,511,554,681,724,682,487,796,1010,871,967,910,974,1016,885,777,846,1160,1066,1116,1186,639,382,362,307,381,352,661,719,431,530,1056,1408,1366,1172,1056,1010,1300,1122,825,850,546,341,346,295,343,378,439,519,782,1036,619,628,803,1064,991,767,993,851,638,1009,963,635,483,378,495,573,508,610,550,504,849,1680,1872,1228,841,668,648,558,479,562,903,1694,1826,1668,1484,1400,1260,1472,1626,1428,1152,722,849,732,494,437,520,523,473,500,610,598,615,717,1166,1240,1308,1550,1540,1298,999,746,730,777,820,969,1086,1046,977,831,577,369,292,311,382,450,433,592,489,344,407,305,265,291,368,448,611,839,830,503,357,357,383,391,460,567,532,451,426,458,447,416,469,406,440,430,639,579,385,341,368,365,375,440,482,464,413,457,695,1204,849,1100,1336,1098,1290,1180,695,594,541,471,554,594,524,788,996,975,1050,932,769,1048,1030,539,427,673,1354,1614,1300,1082,1146,1732,1676,1154,990,955,1246,1878,1864,1388,1328,1092,865,892,1036,1048,1132,1166,1300,1118,758,651,489,510,702,719,890,729,1300,2002,1378,1110,968,552,296,327,377,421,451,375,386,360,549,1060,1364,927,868,829,555,560,777,930,850,835,986,1332,764,762,1260,1288,1154,1096,1302,1252,1170,1244,1166,980,1104,1210,1428,1186,1078,1108,1064,1170,1188,850,519,422,323,381,673,921,662,836,1040,938,1132,1220,966,972,768,813,1146,1062,1288,1278,661,347,310,334,310,358,748,995,766,618,867,1190,1106,1116,1354,673,729,677,418,697,969,1108,1476,1406,919,602,497,477,667,1018,935,683,686,935,968,1094,1140,1162,1330,1124,486,475,582,856,966,1346,1444,1312,1248,1436,1036,868,816,682,918,1028,703,649,965,1062,1152,1174,897,768,818,684,565,494,415,618,999,1040,899,1070,1108,960,879,871,996,899,696,681,623,650,599,462,472,691,585,492,741,1032,1015,1044,1106,903,1016,982,917,919,1232,1366,1050,1166,1264,1346,1440,1352,1254,1054,991,1504,1062,931,996,1174,1156,1256,1200,1290,1302,1192,976,778,755,830,916,1082,1342,1023,503,626,1082,1036,1090,1478,1244,843,564,662,590,428,500,595,512,547,936,1076,1158,1140,1098,994,589,727,1048,1086,1116,715,378,738,872,583,483,459,698,1096,970,898,1310,835,562,1070,1172,1152,1100,738,929,1396,1294,1390,1154,798,611,777,1328,1314,866,604,534,921,1094,766,879,1760,1250,1009,606,788,1036,893,1106,1290,1260,1330,1338,1174,1354,1528,1116,1228,1390,1318,1314,1130,974,978,1128,950,977,1080,1116,1440,1344,985,731,491,645,771,910,978,898,1418,2470,2014,1124,1030,1080,1015,988,1070,1574,1402,1250,985,829,870,1030,1282,1224,919,772,769,814,990,1282,1364,1366,1616,1556,1528,1396,1478,1532,1234,1172,1220,1070,980,1058,1036,686,962,728,420,518,602,905,963,683,569,908,768,461,411,619,1082,932,891,1242,1206,775,466,582,963,1098,708,927,822,713,722,604,620,1022,1242,1378,1428,1360,1308,1224,1232,1202,1544,1844,1638,1620,1124,1028,1024,932,1310,960,460,357,418,1005,1328,1302,1288,1194,1208,1062,1282,1364,715,675,773,992,1078,785,785,1090,1108,1032,1060,1001,1232,1340,1172,1230,1402,1256,1854,1920,1576,1322,1204,1142,1366,1128,579,417,393,516,490,542,571,546,353,272,287,320,344,585,798,631,288,383,947,1294,814,544,389,382,535,849,1030,850,815,902,1154,1092,487,421,891,1356,788,374,684,1062,1038,1250,943,677,885,1040,1256,996,476,552,632,738,798,680,523,515,483,418,525,512,436,426,559,492,322,332,369,361,371,433,373,330,368,365,399,566,996,1258,1314,1386,1274,1094,1178,1132,1148,1322,1098,844,534,544,497,756,1188,762,904,921,1036,1158,1270,1572,1368,698,929,1516,1812,1368,1268,691,281,280,437,706,829,736,434,302,273,301,424,727,786,1106,1482,1324,543,302,366,592,1023,1454,730,714,1084,1302,1810,1916,1624,1382,912,460,577,737,705,611,381,392,273,256,267,283,292,559,739,524,615,778,671,603,830,1196,1522,941,506,488,605,856,1162,1402,1610,1710,1734,1362,821,892,819,764,991,997,969,1108,1484,1914,2426,3540,3164,1710,874,746,987,1118,1062,1020,1168,1166,963,1058,910,572,471,670,557,417,400,670,1220,1736,2076,1472,1368,1528,1198,904,871,449,340,413,1001,1250,1264,1234,946,868,860,1019,1384,1472,1250,802,790,689,335,1009,985,435,404,626,668,586,608,738,579,330,300,455,875,1492,1702,2092,2302,1710,981,896,1042,1030,991,870,865,1042,907,810,648,529,703,1126,1046,714,659,505,509,430,390,386,423,370,357,304,659,1076,929,692,588,569,430,744,768,841,1238,1492,872,581,832,1232,1294,1010,1158,1266,1294,1174,1150,1070,1122,1324,1220,839,950,1242,1308,1226,1262,1110,691,803,847,970,1058,771,591,604,741,956,794,775,1052,1068,1314,1298,1160,1806,1774,1498,918,1088,1106,952,1088,986,1092,1322,1290,1354,1510,1780,1852,1764,1538,1632,1664,1656,1934,1896,1680,1580,1530,1428,1098,916,959,1174,1398,1656,1328,1130,1510,1660,1270,713,583,641,680,412,624,658,456,400,498,614,869,1180,1360,1302,1016,916,958,883,747,779,857,856,805,1032,1074,1082,1260,1001,757,830,1048,1362,1188,1126,1162,1186,936,804,1098,1482,1542,1326,1278,1494,1648,1084,889,1152,1514,1500,1324,1414,1134,930,1416,1656,1344,894,493,532,711,657,675,660,689,595,476,699,1044,1226,1202,1230,1284,884,1070,1256,1266,1310,1516,1494,1256,1060,1184,1478,1310,1202,1140,1088,1234,1486,1614,1496,1186,1160,1240,1344,1426,1382,1284,1450,1434,1282,1252,1168,1176,1160,1188,1558,1836,1760,1456,1212,1340,1262,1000,1074,1198,1388,1380,1416,1324,1240,1202,1202,1242,1136,1160,1268,1214,1226,1406,1232,1102,890,969,1376,1380,1338,1152,831,1058,770,1092,993,1028,1036,1054,855,771,1036,1090,855,1048,1476,1502,1698,1758,1898,1684,1216,987,1156,1432,1328,1056,1578,2600,1404,841,1154,1132,1017,1174,1124,1046,1124,1092,1216,1370,1126,678,687,961,882,1050,1112,1410,1882,1356,853,893,1190,1118,1040,1240,1290,1224,1100,657,911,1232,1128,930,981,1312,1248,1048,771,870,778,461,486,502,927,1208,1350,1576,1490,1456,1880,1708,1130,1017,731,717,1044,1001,728,945,1116,1144,1106,1178,1302,1292,1218,955,1092,990,921,957,762,567,611,752,973,976,606,501,985,1212,1134,1078,994,840,810,1108,958,545,610,655,803,1226,1378,1412,985,755,1126,1380,1412,1110,1212,922,868,1186,888,491,749,1128,1250,1130,1026,1122,1186,775,832,1378,1714,1478,936,901,1009,796,591,533,603,643,399,519,828,1184,1330,860,523,915,1390,1458,1336,1216,1306,1284,1036,1082,886,961,1190,1056,922,944,738,716,1048,1332,1316,1730,918,1096,1578,1132,827,985,1170,1062,904,1166,1344,1224,737,455,516,565,514,497,417,384,433,533,554,603,785,750,441,376,400,420,482,484,505,754,829,760,902,1072,1256,1156,1144,701,820,932,727,863,1246,1260,1116,1434,1224,826,1044,1376,1038,677,659,750,879,1076,887,937,953,956,939,1168,1196,862,1118,1160,1326,1600,1490,1394,1376,1356,1452,1390,1368,1544,1560,1426,1534,1526,1036,1134,1042,1144,687,361,327,320,314,322,333,416,779,1292,1520,1602,1011,641,722,929,797,436,427,828,1296,1096,1250,1372,1358,1332,1272,1344,1316,1308,1350,1094,660,497,491,593,942,1252,1218,922,1132,994,883,965,568,263,278,349,380,458,523,514,487,739,973,1023,895,709,647,595,955,1344,1398,1444,1488,1394,1220,1264,1292,1462,1474,1310,1170,1202,1170,1294,1620,1542,1260,1388,1426,1152,798,919,1316,1142,1120,1312,1658,1526,1066,1122,1420,1420,944,891,1002,991,930,879,1007,1060,1140,1588,1612,1246,1204,1120,1274,1132,1210,1404,1338,1346,1492,1472,1338,1338,1136,832,760,844,1100,1390,1542,1464,1430,1462,1284,1262,1296,1220,1286,1296,1376,1376,903,697,644,548,457,493,493,546,589,454,424,452,381,371,421,551,515,398,381,500,651,636,644,784,677,440,480,460,529,587,1118,1376,1172,973,1002,937,694,694,1038,1274,832,854,1330,1102,1044,1062,875,907,1160,1324,1564,1534,984,1038,1440],[1438,1366,935,465,446,417,442,539,530,669,787,738,708,585,375,411,495,419,365,386,342,353,365,330,334,338,387,488,572,760,874,816,641,562,486,601,627,1019,1166,983,1086,1432,1266,847,948,1024,1086,1044,1074,998,771,673,584,456,395,346,404,681,814,735,553,390,360,464,621,700,678,687,624,776,918,656,396,372,320,355,350,458,436,553,433,537,477,647,1024,913,1026,1008,979,933,827,691,897,735,770,861,864,1210,939,849,980,833,641,938,1154,916,733,485,320,358,450,419,494,525,492,971,1752,1764,1356,895,838,939,1284,1100,846,819,482,347,310,273,356,289,284,296,491,506,422,532,648,1028,839,458,788,880,661,836,724,469,480,476,534,461,383,502,617,454,985,2382,1788,966,895,658,507,618,627,594,1014,1462,1842,2114,1720,1322,1262,1410,1274,1432,1470,1206,1015,642,349,308,495,563,547,552,533,501,561,810,977,1142,1302,1180,907,661,557,626,861,1086,1162,1134,904,645,455,311,274,244,276,367,483,536,364,590,464,294,411,451,260,266,299,399,621,841,877,540,371,342,381,418,465,422,412,420,427,449,467,393,401,417,473,377,328,344,383,423,474,446,431,485,467,569,601,670,761,1148,1042,1888,2156,1100,1138,1128,771,705,554,544,1048,1052,636,490,500,480,527,735,839,1058,949,562,485,791,1604,1538,1448,1120,944,1178,1120,926,1180,1238,1338,1960,1946,1502,1214,1028,990,1066,1188,947,1168,1396,1184,894,905,1220,942,702,1090,974,838,656,1474,1950,1138,675,489,388,363,333,391,710,710,458,413,446,792,1066,1142,737,468,498,642,737,606,563,705,856,982,866,538,863,1310,1482,1338,1360,1416,1316,1144,812,921,1060,1432,1436,1356,1250,780,669,1036,1346,1042,467,357,325,412,735,959,1220,1122,1080,1060,1072,1256,1124,874,735,884,1132,1076,917,1064,820,440,375,337,280,288,354,654,958,666,487,604,782,694,566,448,324,448,381,324,547,777,965,1340,1250,861,594,563,862,858,745,758,582,819,1180,1316,1338,1346,1410,1296,967,598,807,1026,1474,1402,1404,1466,1272,1042,944,973,952,944,829,739,832,793,915,1096,1162,1000,1184,1084,628,647,715,493,437,415,494,976,1096,786,1136,1504,1268,890,824,1007,972,696,633,604,636,572,411,363,666,797,790,713,830,831,788,1090,973,964,902,1020,1158,1518,1450,1140,1174,1160,1134,1174,1056,969,926,993,1532,1194,924,1005,1162,1314,1318,1250,1232,1264,1214,890,803,905,1036,1118,1080,1114,1124,834,623,946,996,1132,1390,996,617,506,641,612,499,511,566,562,658,809,897,1021,860,985,944,719,559,939,1234,1766,1206,583,951,800,561,567,565,725,900,539,545,635,532,605,1030,915,850,811,669,1406,2024,1506,1144,1172,937,628,465,899,1204,1102,863,684,549,764,677,607,1154,1328,1340,807,813,1102,968,1040,1176,1160,1144,1084,1146,1474,1490,1300,1302,1396,1548,1490,1362,1206,1214,1166,965,1144,1174,1122,1210,1032,815,650,633,795,858,963,924,999,1376,1576,1212,930,963,1054,1078,1074,953,1624,1440,1250,1240,1058,1060,1430,1576,1308,922,771,760,854,906,983,1050,1252,1482,1598,1616,1710,1852,1362,1224,1272,1146,926,921,1004,933,1274,1914,1388,641,416,608,759,671,908,731,888,807,506,482,802,1242,1324,1182,1174,1296,1346,785,490,604,847,822,854,662,792,1154,828,436,772,1050,1206,1220,1168,1296,1126,1116,1110,1892,2300,1756,1538,1108,834,1094,833,1036,957,608,482,430,807,992,922,855,1024,1170,806,929,1260,963,1012,1052,1216,1198,730,544,1186,1236,1044,1318,1106,1320,1416,1334,1546,1660,1422,1476,1498,1526,1630,1684,1622,1740,1558,841,451,381,428,464,345,309,248,183,224,282,348,356,385,521,508,291,297,459,503,358,380,524,633,744,932,929,868,897,1005,1018,1036,613,818,1058,750,380,451,843,938,1098,1266,1200,1002,860,833,1250,971,475,749,860,851,948,720,407,386,397,504,688,634,680,544,618,504,372,436,425,351,332,331,329,327,333,328,338,348,469,700,791,944,1016,1064,1228,1246,1052,1198,1238,1248,792,575,519,518,1032,916,702,795,684,782,1072,1448,1556,1408,1598,1490,1488,1156,1210,888,327,378,503,622,1148,1278,879,375,251,379,1156,1274,1021,1080,1822,1904,616,323,542,833,1094,1032,1056,744,684,1028,1562,2164,2152,1428,599,335,436,615,635,606,578,489,328,289,298,296,510,976,793,397,510,857,917,1078,1114,919,1212,890,452,433,488,647,1021,1422,1600,1682,1508,1134,947,725,641,902,940,760,834,992,1370,1534,2304,3454,2812,2118,1044,870,1188,1272,1140,1078,1168,1108,951,799,505,726,823,962,731,505,444,997,1210,2382,3890,1752,1568,1390,864,742,753,427,372,639,1058,780,705,901,748,540,655,500,550,938,1104,675,509,416,783,1184,683,352,273,275,330,582,780,595,358,312,452,692,902,1194,1692,2158,1904,1350,736,707,1150,1450,1406,1286,1226,1190,894,574,589,668,571,686,794,979,1240,1066,630,380,361,390,441,471,366,230,345,435,604,811,595,737,426,393,376,703,1354,1554,1194,853,749,1010,896,701,1164,1520,1406,1048,985,1094,915,916,1128,1046,1148,1576,1656,1262,1124,946,732,887,948,1024,965,647,672,819,1184,1504,1134,729,725,636,1256,1254,1118,1432,1466,1488,1034,1030,987,739,897,1008,1328,1394,1032,1296,1610,1634,1626,1526,1498,1706,1592,1534,1976,1950,1664,1556,1428,1372,921,611,697,1072,1314,1484,1140,1020,1478,1510,1030,750,502,539,576,509,882,722,387,470,563,548,653,897,1284,1162,861,855,929,752,701,813,794,655,796,1096,1272,1992,1848,918,577,577,1028,1380,1142,1192,1216,1080,918,839,1052,1068,1142,1098,1272,1578,1482,912,1078,1334,1492,1446,1106,1166,1260,987,1210,1482,1546,775,451,568,909,660,448,425,475,686,947,1084,1100,1338,1448,1360,1150,905,868,886,1102,1268,1412,1584,1532,1274,1220,1340,1258,1194,1340,1378,1250,767,728,946,1098,1136,1198,1226,1268,1312,1402,1310,1266,1354,1378,1180,1158,1210,1398,1642,1616,1482,1228,1130,1262,1382,1248,1198,1232,1266,1256,1236,1280,1212,1250,1444,1432,1160,1168,1290,1438,1432,1266,1072,932,785,905,1156,1224,1258,1096,859,971,797,904,879,956,1088,941,667,601,716,764,756,795,1246,1456,1368,1504,1404,1170,1086,964,1092,1382,1500,1206,1356,1832,1246,1176,1412,1322,1420,1364,1104,1164,1194,1294,1394,1312,1032,626,785,835,829,980,1180,1226,1322,1642,1572,1376,1576,1186,1190,1240,1338,1364,921,648,1194,1636,1466,1146,1084,899,674,1012,823,803,563,484,505,666,825,1072,1540,1668,1238,1312,1660,1118,1008,1822,1686,946,930,1080,944,871,916,1018,990,1144,1178,1054,1038,1144,1278,1148,1030,824,861,961,867,857,1128,1310,857,529,1068,1154,1048,974,1004,891,567,648,867,979,1006,804,872,1226,1328,1372,892,628,996,1282,1362,1390,1260,803,769,869,873,692,890,1246,1224,1068,948,919,1166,799,714,1194,1544,1266,936,893,750,607,475,483,415,363,323,401,821,1088,1046,800,513,567,971,1190,901,1152,1328,1306,1158,1007,902,924,1142,1278,1328,1292,1112,872,1312,1284,899,1060,883,945,956,940,1092,1280,1204,962,982,1310,1444,1222,694,497,801,621,500,444,394,391,484,552,402,464,627,653,447,497,455,443,417,432,457,608,794,1178,1392,1440,1396,1318,1122,999,1182,1394,1116,1138,1444,1290,1352,1404,1112,1322,1308,963,690,718,824,1048,1190,933,826,767,659,891,891,882,1058,905,1190,1326,1242,1430,1352,1250,1178,1050,1240,1358,1512,1404,1376,1494,1600,1504,1396,1302,976,778,629,406,397,337,321,339,375,407,969,1402,1470,1292,1212,1164,975,1206,1140,655,571,1000,1013,661,1130,1582,1602,1390,1398,1238,942,1019,1382,1096,826,643,532,814,1538,1434,954,787,953,1084,762,501,316,256,321,530,603,926,905,546,536,733,960,1278,1268,971,843,725,1174,1656,1580,1892,1804,1196,781,764,940,1238,1366,1372,1214,1242,1282,1330,1694,1480,1620,1790,1564,1152,739,923,1202,1098,1096,1258,1354,1196,866,915,1186,1256,818,574,762,762,650,746,709,1004,1264,1570,1648,1498,1414,1202,1312,1404,1304,1212,1188,1180,1002,1148,1344,1156,847,965,926,812,956,1268,1314,1302,1268,1070,1216,1378,1342,1362,1746,1710,1538,1442,1044,717,655,577,455,426,406,434,464,349,472,441,444,468,511,527,542,508,424,475,574,514,564,741,710,519,495,452,503,541,880,1296,1208,811,664,601,765,1074,1536,1350,1082,1498,1700,1200,641,526,614,972,1412,1320,1290,1194,769,783,1086],[1482,1764,1142,473,412,397,408,412,436,554,728,869,965,665,514,694,897,841,567,369,340,344,357,341,344,365,363,342,345,499,539,578,558,478,414,396,513,805,955,1284,1518,1246,850,692,828,933,996,854,1132,1040,723,622,523,463,375,368,436,728,750,701,541,433,403,468,618,534,495,661,633,530,744,832,546,498,564,688,506,303,310,325,302,275,377,779,881,929,914,1030,1346,1320,1005,823,836,624,774,744,444,529,681,930,843,734,452,761,733,516,641,481,308,301,352,375,352,326,363,733,1368,1404,1136,868,738,735,1086,1154,1002,1088,913,849,554,407,411,314,230,331,587,497,417,452,518,735,569,468,615,621,658,568,696,816,634,542,522,439,426,586,703,614,529,592,664,547,643,786,641,545,686,806,737,975,1286,1200,1132,960,1166,1476,1322,1306,1108,821,677,334,349,489,582,474,577,683,916,1078,1108,1030,985,1094,803,679,729,988,1138,1076,995,901,722,480,290,286,279,301,301,290,272,291,556,775,570,584,491,315,728,899,350,317,270,377,639,754,756,729,479,363,606,925,914,722,711,425,411,383,379,372,389,470,469,380,347,372,421,498,566,539,402,430,695,1246,1238,1082,1272,1540,1600,3084,2908,1106,774,996,1062,1022,1026,932,588,885,1009,806,600,483,478,468,461,628,760,847,605,649,1122,1172,1021,1026,988,1130,1100,940,1210,1202,1050,1490,1732,1294,1014,1154,1108,912,921,764,1062,1566,1568,1076,993,1242,797,805,1586,1228,716,691,1156,1198,800,469,379,444,393,416,805,1322,984,506,451,461,307,684,1192,1056,680,539,556,797,976,1048,1102,973,938,559,345,648,1015,1078,1090,1382,1250,1256,1288,1086,1030,1058,1296,1120,1154,1132,691,608,857,1144,1122,844,534,373,460,895,1104,1188,1026,1116,1288,1400,1300,1310,1136,968,949,1164,854,1146,1322,1102,593,326,321,399,688,725,525,668,545,871,917,659,448,360,342,324,372,424,387,689,1138,843,904,1088,818,857,807,1162,885,525,555,544,494,634,1013,1130,1003,1302,1158,1096,1240,1260,1272,1644,1314,1016,998,838,656,860,1080,957,1082,980,1464,1582,1742,1248,907,1120,1001,1108,1178,786,738,850,446,375,365,426,836,855,667,1026,1492,1360,1194,1240,1180,927,562,546,514,504,441,344,350,575,785,861,866,898,703,769,1086,1116,1156,904,764,778,754,722,889,1056,873,810,808,725,648,731,743,624,545,597,659,608,769,1142,1218,1100,1096,955,796,851,969,1088,1242,1368,1306,1238,1122,829,767,594,494,529,805,895,824,665,579,520,485,500,553,673,635,615,882,764,613,576,689,777,958,1186,1588,1322,960,784,594,988,951,762,472,434,472,597,893,804,714,1116,1003,758,578,788,1013,1104,1034,976,1182,1376,971,636,830,1078,1168,1218,1088,705,548,510,882,1210,1212,890,857,1018,977,830,813,838,908,750,974,1220,1396,1268,1252,1390,1468,1530,1474,1352,1232,1214,1232,1208,1362,1190,932,1005,1042,732,473,713,1086,1166,889,999,1236,1186,1100,999,724,860,872,878,1078,965,1052,1244,1324,1462,1438,1300,1454,1512,1276,898,764,810,994,1042,1114,1234,1284,1268,1338,1388,1450,1528,1254,1166,998,1108,944,959,1116,941,953,1104,1070,992,741,759,641,664,1248,897,594,705,810,1030,1140,1122,1332,1328,1052,1192,1534,1322,708,422,655,981,937,651,711,957,871,415,438,655,1002,1008,1096,1202,960,903,1016,1570,1700,1332,1268,844,491,739,759,755,1008,766,544,492,836,1038,610,479,864,1294,908,728,794,736,588,693,1072,1354,1120,769,1010,1208,756,940,1100,1284,1520,1614,1356,1246,1642,1912,2012,1992,1820,1858,1808,1920,1858,1130,478,436,716,809,606,472,313,212,243,300,353,352,315,299,303,219,228,242,296,384,702,1068,1130,1304,1142,1184,1058,966,830,792,774,511,664,488,245,217,345,504,651,952,1092,1274,1122,650,451,978,1212,925,1382,1606,1188,931,769,419,328,412,552,599,435,509,622,741,558,407,436,412,353,335,317,302,302,309,309,318,326,421,750,971,814,830,980,1036,1232,1116,921,1292,1292,889,615,480,487,853,986,666,669,639,795,1294,1804,2066,1376,1176,1184,1104,829,875,996,543,332,375,467,874,879,552,289,245,308,589,907,1134,959,734,501,263,240,473,786,1062,1206,1236,924,735,705,905,1666,1876,980,476,340,451,619,684,765,1040,969,595,478,355,404,767,1208,794,509,437,724,1052,1494,1168,601,483,430,317,375,460,688,920,1052,1336,1550,1068,589,721,669,586,836,1010,855,756,749,1116,1214,1280,1528,1924,1974,1007,588,855,1001,1044,977,1036,874,946,694,478,592,705,825,562,289,604,1296,1290,2736,4620,1882,1412,1398,1246,984,853,585,487,784,932,655,546,843,1164,727,607,488,377,396,518,648,692,471,510,526,282,224,251,300,326,455,709,618,391,301,576,934,1366,1350,1384,1504,1396,1168,751,1282,1302,1228,1320,1030,973,1150,1250,1238,1068,984,564,481,692,1306,1610,1492,853,471,487,454,368,398,364,256,280,309,432,671,648,658,468,344,339,835,1400,1548,1430,1154,969,915,458,325,553,1164,1470,1023,936,1300,1042,874,1120,1124,1188,1412,1316,1040,969,930,845,1062,1176,1254,1086,823,801,802,1015,1408,1194,789,813,808,1460,1218,1170,1574,1666,1454,1058,947,1032,813,980,921,1184,1088,836,934,1302,1614,1510,1362,1444,1340,1304,1370,1808,1820,1606,1532,1384,1340,848,476,688,1064,1296,1354,1046,940,1462,1562,1154,653,457,517,531,521,780,650,387,507,576,567,532,637,995,838,752,846,807,615,680,788,702,705,967,1168,1234,1582,1214,825,555,594,849,1120,1078,1116,1230,1328,1176,1094,951,910,1007,1007,1208,1570,1376,1146,1192,1052,938,1064,965,1054,1356,945,647,869,1224,1136,714,393,645,715,463,351,465,815,1022,923,855,1328,1454,1236,984,1136,1228,978,759,942,1440,1498,1658,1472,1318,1372,1244,1172,1480,1908,1760,1144,853,1017,1204,1104,1100,1148,1224,1278,1410,1508,1434,1516,1250,942,1162,1046,659,1003,1400,1422,1344,1272,1274,1404,1370,1248,1180,1272,1200,1100,1366,1382,1316,1394,1272,1192,1292,1286,1416,1336,1182,976,824,1034,1104,1092,1224,1290,1194,1218,1252,1064,1034,826,847,1116,1078,1007,778,636,968,1224,984,1154,1270,1146,1158,1146,1162,1116,977,1132,1726,1626,1466,1326,1302,1374,1494,1336,1138,1192,1026,1080,1134,1003,1017,1238,1262,906,609,782,951,1010,1206,1566,1598,1534,1758,1730,1370,1518,1208,1200,1166,1372,1498,973,840,1028,1020,991,1120,1344,1188,1074,1028,1078,976,838,738,828,1182,919,614,1100,1532,1350,1626,1588,1144,1362,2818,2520,1584,1362,1128,745,588,769,1050,651,802,1100,1198,1222,1372,1370,1148,1054,828,803,1056,1192,1238,1362,1466,1206,751,974,1152,1112,929,1120,954,478,493,888,1356,1592,1514,1106,1130,1134,1162,1068,967,658,736,1019,1234,1070,659,799,1140,813,881,857,1182,1290,1246,999,784,792,705,872,1126,1252,1290,1048,593,505,532,419,382,389,352,363,332,454,597,470,397,372,447,530,472,368,705,1202,1094,555,553,857,847,611,855,1212,1576,1110,783,1174,1170,823,958,1260,924,917,1196,1262,1404,991,744,852,1042,1084,838,716,1016,921,516,354,354,364,378,471,545,448,409,595,664,566,604,559,507,496,437,364,364,798,1430,1502,1506,1312,952,1346,1626,1512,1564,1322,1054,1150,1214,1356,1262,1284,1484,1298,962,1214,1234,1282,1448,1164,566,546,605,698,996,1142,908,632,673,1001,1196,1134,1300,1426,1388,1188,1036,1364,1448,1494,1256,1242,1380,1476,1362,1196,837,578,820,1003,489,454,422,336,298,377,401,655,1174,1328,1318,1686,1690,1260,1162,1242,1102,907,977,1152,814,816,1216,1262,1310,1400,1220,1198,1090,741,959,1124,912,929,1152,1376,1010,910,876,772,828,701,464,329,265,305,993,844,944,872,527,469,575,816,1170,1122,988,1080,1362,1236,1298,1354,1290,1182,856,719,808,1034,1318,1206,1250,1180,1372,1388,1416,1484,1286,1416,1494,1166,812,999,1018,824,957,999,1136,1344,1250,749,891,1062,995,882,782,800,1098,1270,1042,1066,1204,1196,1366,1588,1582,1408,1290,1278,1196,1026,952,1144,1528,1214,1086,1300,1104,778,577,650,655,824,1316,1406,1338,1280,1234,1304,1246,1204,1306,1558,1532,1338,1274,1260,1224,1001,719,535,498,505,524,686,855,932,800,565,489,548,538,504,532,487,469,550,524,515,702,622,504,480,511,590,619,689,941,1292,934,571,653,803,1007,1252,1244,1506,1708,1290,738,485,645,975,1342,1578,1316,1016,804,899,1040,1102],[1388,1678,941,452,428,365,369,388,347,442,725,841,737,464,486,1000,1654,1910,1056,365,336,334,308,314,328,330,331,358,381,364,451,653,997,879,548,596,852,1104,1092,1198,1036,714,713,686,846,1196,927,714,1148,1184,753,543,582,758,614,600,555,756,775,714,618,613,662,679,601,411,507,758,673,937,995,869,630,614,643,678,441,481,681,417,380,321,415,634,617,1138,796,572,692,913,1022,1010,826,571,691,593,426,441,597,583,479,412,350,366,291,310,366,383,361,300,333,321,283,315,300,441,639,915,1100,1274,1102,641,783,1034,1054,1356,1852,1860,1720,1008,379,269,455,616,555,483,372,505,630,673,524,702,769,880,1396,816,612,796,593,489,512,423,408,524,624,690,618,794,1218,1042,933,1015,1010,914,1062,1064,520,521,658,672,765,1176,1366,1268,888,627,461,582,759,540,391,565,655,680,811,998,1188,1148,1094,877,975,1288,1224,1094,925,753,598,450,523,722,744,573,364,322,293,303,316,305,294,235,709,1450,1364,689,404,346,658,650,314,301,261,311,473,498,456,722,747,596,816,1266,1286,982,714,407,366,325,321,367,436,488,432,394,401,408,560,874,987,606,567,869,1124,1428,1328,1092,1370,1348,868,1212,1416,1194,554,597,1204,1400,1356,818,550,1010,1212,916,655,540,482,480,517,484,846,1130,1042,1200,1262,948,624,713,1050,1328,1428,1344,1468,1512,1268,1324,1466,1344,1120,1352,1308,900,806,818,1038,1622,1758,1460,1444,1092,661,872,1432,1166,610,442,616,727,544,300,291,367,376,403,773,1104,761,448,457,456,420,519,789,731,664,894,960,778,935,935,1194,1146,1050,746,472,745,1076,778,767,1092,1116,1234,1322,1238,1112,1266,1444,1352,1322,886,429,476,548,637,954,1252,912,702,689,1001,1216,1102,977,938,1434,1544,1140,1308,1316,1296,1064,946,984,1116,1014,706,438,379,383,547,905,813,485,665,730,854,920,837,521,350,327,327,329,322,360,809,921,582,771,1015,805,1176,1264,1208,800,429,618,866,955,552,617,681,798,1282,1296,1110,1090,868,891,1002,736,818,880,645,631,1160,1100,1012,1058,911,1394,1750,1606,893,652,948,1018,1006,1268,1056,745,832,534,313,323,504,725,737,618,800,1152,1108,1042,1338,1372,1088,618,512,506,464,388,366,408,497,585,626,685,653,522,680,946,862,983,963,670,459,428,458,648,615,369,465,532,503,429,774,851,536,351,579,784,557,593,1072,1092,1172,1062,882,882,1021,1096,1258,1420,1408,1246,1372,1206,825,638,601,850,680,787,1178,1066,752,663,540,494,536,629,613,763,564,641,742,525,571,1112,1334,1106,1086,838,633,751,750,706,1098,1330,949,538,516,640,682,875,992,886,939,678,624,619,1068,713,538,728,1068,1070,1130,1232,1050,780,864,1000,1003,808,582,665,929,1516,1982,1316,573,857,991,1074,1246,1228,1124,1074,1018,1144,1192,1332,1450,1494,1426,1318,1278,1142,1262,1338,1180,1214,1200,1266,1200,1060,916,732,583,547,859,1364,1360,910,1184,1200,1154,1208,1222,1070,1124,964,895,1172,1040,896,1092,1388,1504,1434,1240,1072,822,636,764,1000,1158,1246,1176,1044,964,843,814,1026,1118,1202,1348,1294,943,574,851,927,970,1120,858,500,597,1013,1126,1004,1028,699,763,1116,784,593,911,1270,1282,1180,1368,1062,1002,945,1108,1306,1288,863,531,498,887,846,562,839,1140,994,691,396,459,623,676,843,789,811,827,719,1116,1238,989,1092,894,705,691,833,800,1034,1036,755,511,711,976,642,557,753,1146,681,485,644,656,565,687,1160,1522,1246,853,825,938,603,862,1078,980,1152,1294,1120,1158,1522,1676,1792,1942,1876,1704,1714,2018,1874,1450,908,682,929,1140,979,706,351,245,233,257,309,403,348,280,261,211,204,287,444,598,1001,1158,744,612,498,804,596,694,909,865,595,440,405,337,294,304,388,415,415,814,1180,1300,1196,862,1140,1820,1660,1166,1382,1690,1344,963,615,254,168,482,920,726,512,690,847,625,365,350,359,355,350,343,321,292,304,320,308,307,335,319,644,1134,833,618,784,840,1034,1184,844,1066,1194,1224,947,534,430,550,716,542,622,692,1142,1810,2140,1908,974,497,715,812,616,586,710,692,368,349,374,384,336,272,301,349,448,616,956,1048,1156,863,461,293,276,312,741,1348,1328,813,520,572,674,461,668,1242,924,490,323,383,437,527,636,1102,1294,963,1110,1086,885,1230,1348,917,473,380,524,810,999,862,522,587,514,336,635,586,634,649,574,560,631,541,801,1170,594,471,577,785,795,550,407,543,855,969,1358,2090,1956,902,774,882,965,850,760,885,655,802,1182,963,390,364,499,437,337,785,1432,1482,3144,3350,1434,1456,1704,1396,1246,1288,1138,876,761,572,444,450,561,1150,1206,1088,785,505,349,269,374,616,635,429,243,211,238,384,469,404,345,349,462,432,396,530,967,1166,1256,1588,1140,977,745,749,1194,961,882,1174,839,705,1076,1034,1260,1154,835,825,741,939,1460,1494,1454,1120,694,593,523,386,387,393,251,276,344,358,533,805,682,457,423,599,977,1074,1228,1434,1324,800,399,278,252,536,1142,1626,1284,1084,1382,1132,844,1100,1114,1166,1454,1054,1012,1042,1007,893,958,1228,1246,1132,866,733,859,1004,1450,1298,813,780,804,1330,1172,996,1514,1704,1730,1082,768,921,928,1007,829,1216,1310,1044,998,1304,1600,1510,1334,1230,915,915,1216,1428,1600,1638,1410,1360,1352,845,408,590,974,1170,1208,1150,1154,1556,1648,1474,924,519,484,474,515,665,579,397,511,561,529,528,628,752,678,822,932,710,608,742,695,662,837,963,1018,1180,981,766,601,532,608,803,852,784,920,1005,1152,1176,1024,852,909,968,1132,1518,1530,1238,1268,1334,1060,697,882,1036,1170,1288,1056,734,711,1142,1562,1020,544,777,905,665,579,503,600,719,966,1404,1658,1558,1054,675,810,833,982,904,1104,1554,1622,1526,1336,1308,1312,1256,1216,1382,1516,1354,1146,996,982,1086,990,988,1194,1316,1122,1400,1594,1326,1296,1346,1112,1288,919,600,1036,1356,1074,1122,1250,1306,1320,1332,1284,1286,1296,1200,1005,1162,1322,1284,1242,1186,1096,1078,1160,1202,1268,1156,949,811,925,1056,1210,1114,1262,1252,1228,1216,1114,1122,1007,1072,1196,1150,1244,833,650,1042,1242,1360,1520,1412,1242,1288,1350,1280,1210,1058,855,1318,1370,1300,1510,1626,1414,1344,1028,795,921,1194,1206,1058,866,861,1284,1348,997,901,959,927,1012,1122,1114,1072,1188,1144,1408,1420,1228,1176,1166,1338,1484,1023,752,1068,1040,982,1074,1240,1550,1392,1360,999,969,688,823,1218,1328,1238,960,670,668,1320,1648,1926,1558,1462,1438,2846,3040,1804,1378,1172,773,752,714,1204,710,556,974,1218,1296,1306,1284,1386,1390,1134,940,802,968,1412,1550,1546,1288,882,557,606,688,1018,1270,730,385,362,420,741,1088,1200,1158,1158,1118,1062,1162,976,645,685,969,830,1064,799,581,634,551,743,803,944,1032,1202,1130,944,998,867,1180,1312,1038,1282,980,658,954,858,498,437,371,421,634,594,370,359,386,473,481,536,477,364,361,601,1224,1402,890,797,988,1190,907,999,1172,1714,1164,869,1298,1650,1114,804,1070,810,1106,1434,1300,952,866,676,680,768,774,809,1200,1166,472,377,373,383,379,567,605,583,538,430,479,589,638,617,558,545,534,440,465,669,1202,1632,1504,1444,1190,602,791,1252,1370,1412,1294,1022,1080,1128,1094,1228,1330,1488,1382,1060,1230,1502,1366,1124,863,871,908,1042,835,1084,1256,979,567,375,682,854,826,1170,1296,1262,1246,1300,1390,1440,1278,1060,974,1186,1478,1478,1128,637,541,952,915,449,524,491,331,322,360,432,679,1152,1534,1284,1080,1196,1282,1254,1396,1650,1450,1076,1001,854,761,999,1356,1438,1436,1134,1100,1015,774,974,1186,1284,1188,1180,1044,770,708,1002,1224,1001,669,538,368,309,258,702,788,546,529,413,508,719,945,870,700,611,1058,1450,1252,1416,1156,676,629,838,1210,1054,1012,1320,1250,1140,831,944,1320,1416,1404,1384,1124,821,571,535,1096,1046,913,1264,1446,1516,1580,1142,684,640,594,876,1268,1302,1252,1322,1412,1278,1318,1144,1032,1260,1596,1620,1390,1356,1318,1260,1048,1024,1210,1472,1130,1120,1316,1390,1004,753,958,879,725,1362,1610,1270,1146,1164,1204,1212,1294,1174,1102,1196,1400,1604,1506,1400,1178,1023,802,765,807,777,711,879,1044,904,669,548,451,451,460,565,542,408,464,620,514,504,482,415,510,702,665,631,730,639,1094,1090,927,1328,1336,1011,1274,1562,1536,1002,537,429,653,1032,1412,1540,1522,1432,1134,764,1050,1216,1048],[1408,1604,1021,369,361,292,349,386,364,511,739,746,669,565,457,681,886,1040,857,478,325,318,289,286,303,335,344,368,386,362,545,1144,1742,1500,886,1088,1470,1522,1214,1218,1104,749,799,686,854,1400,1152,1001,1114,1198,789,624,653,773,691,657,661,774,821,697,545,565,572,580,601,599,673,686,708,1094,648,349,436,584,573,396,372,331,471,381,405,343,495,637,683,1088,907,685,667,816,1188,991,693,476,807,745,516,441,448,428,311,372,460,349,317,321,334,415,392,361,332,329,371,394,375,398,537,794,971,1056,1004,682,623,859,1186,1614,2010,2154,1926,912,341,569,891,867,927,860,813,731,1023,1092,1072,1106,781,1078,1550,908,609,1032,1000,516,461,432,397,476,557,860,1202,1302,1338,1370,1326,1021,908,971,1028,849,561,744,912,650,852,1216,1232,1390,1294,926,588,588,696,579,391,446,503,531,642,797,785,754,875,1044,1188,1250,1082,806,491,448,556,610,683,720,610,395,283,473,532,504,415,401,364,266,331,925,1138,485,415,444,723,688,443,278,321,267,309,377,369,547,836,935,756,1136,1130,1006,653,448,359,326,376,457,486,434,375,368,381,411,633,1016,1138,865,1072,1310,1264,1466,1612,1398,1202,807,487,720,899,792,438,374,877,1250,1372,982,698,847,1066,1238,1088,763,534,529,519,655,1366,1264,1324,1520,1256,984,830,923,1280,1444,1484,1382,1268,1356,1354,1356,1504,1402,1250,1310,1200,1234,1064,1052,893,1046,1354,1262,1110,703,529,523,766,912,780,839,936,862,553,342,285,297,263,310,571,867,666,429,474,576,554,361,326,350,572,852,786,879,902,996,1096,987,1266,1410,954,1024,1170,962,1076,1136,1166,1366,1292,1040,828,1064,1344,1286,1290,1010,658,496,439,586,769,866,850,642,693,1240,1318,1018,906,877,1328,1272,1406,1486,1428,1230,975,937,1018,894,801,594,566,521,430,483,755,703,524,625,676,896,887,641,653,608,330,354,305,285,422,993,814,509,967,1068,746,785,978,846,495,482,587,855,1024,642,805,882,908,1021,956,791,832,893,820,639,636,886,1034,904,693,1048,1076,1036,1140,949,930,1086,1096,1192,650,872,1050,1026,1228,1242,743,586,513,315,330,422,518,608,532,599,510,424,362,695,950,780,514,461,461,371,320,357,386,440,564,602,518,465,513,976,1074,676,837,1128,763,449,458,525,386,264,319,497,709,569,374,529,749,612,385,706,1242,845,691,1334,1290,988,759,771,973,1288,1526,1614,1648,1566,1256,1490,1410,1274,1130,1096,1240,1184,1102,1234,1262,1230,991,933,637,596,622,500,637,578,771,741,544,598,832,1100,1122,1186,748,786,1180,1260,1268,937,888,857,887,1072,1122,1078,879,1058,1072,745,529,486,545,837,634,565,783,968,1080,1112,1224,974,973,822,665,601,437,382,509,979,1450,1704,1302,712,940,915,971,1222,1124,1214,1144,1136,1094,1007,1070,1224,1332,1390,1288,1154,832,964,1214,1224,1108,971,924,1010,1052,912,807,888,1034,1108,1060,1072,912,1078,1234,1228,1178,1194,1238,1248,1172,1240,1274,1142,1170,1058,1410,1528,1294,922,756,881,1188,1368,1306,1168,942,720,676,824,923,1194,1234,1116,1150,1206,1300,1170,857,771,822,935,1050,1166,721,609,820,1064,1064,1062,727,518,572,539,577,833,1074,1048,898,978,722,965,1098,969,1007,917,976,1052,707,714,850,818,999,1260,1150,1056,651,480,465,419,535,663,779,700,480,716,700,656,874,964,693,419,659,883,1042,1080,802,555,643,1156,719,429,1040,1432,1118,825,875,997,744,617,780,985,927,907,1162,785,490,1017,1021,940,1224,1120,985,1622,2488,2994,3030,2852,2510,2140,2124,1978,1874,1616,1034,531,736,1268,1476,1015,359,241,225,222,300,659,577,356,318,281,276,448,770,680,424,332,340,317,333,393,505,719,803,712,655,540,431,343,277,456,553,484,479,839,1168,1284,1214,1158,1490,1654,1208,644,1212,1506,1670,1250,508,444,1005,1634,1660,1128,698,619,758,497,353,368,378,410,398,369,341,312,313,321,310,343,365,335,391,492,468,566,653,822,886,919,774,731,971,1316,1174,872,398,336,344,313,429,665,1008,1514,1698,1550,1182,633,546,497,664,1013,787,772,514,365,306,322,279,340,444,591,626,647,783,694,825,854,523,335,369,331,418,669,683,386,282,428,735,634,456,595,1022,921,542,341,566,677,685,1162,1048,1252,1926,1958,1346,1026,1172,987,524,344,467,603,588,683,647,565,433,537,1001,1166,967,908,923,632,463,428,614,692,472,400,431,480,428,287,337,491,613,680,929,1408,1592,1672,1754,1734,1428,1024,1222,1054,839,1126,1732,1484,452,310,357,294,361,783,1038,919,1428,1574,1346,1542,1766,1480,1134,1182,1030,891,726,385,342,332,381,687,747,822,932,677,437,345,302,283,337,329,240,265,302,517,951,754,284,282,415,640,670,712,1250,1332,1322,1466,1400,1108,614,522,860,968,1108,1226,915,1260,1814,1498,1274,1232,733,849,971,1150,1382,1578,1610,1572,1208,695,489,308,316,305,258,296,332,346,495,800,874,654,717,774,744,860,1080,1460,1490,973,449,397,808,1522,2116,2010,1438,990,988,943,792,1015,1028,1238,1290,786,824,944,1002,987,1036,1180,1106,1248,1088,982,1166,1218,1500,1406,1406,1604,1546,1592,1260,869,1210,1776,2332,1224,911,921,924,1204,1194,1214,1374,1344,1370,1476,1528,1480,1440,968,883,949,863,868,1216,1478,1434,1372,1128,554,422,519,778,973,1052,1140,1202,1556,1698,1624,1144,587,485,525,482,573,628,494,532,543,554,507,561,582,579,827,926,673,684,839,672,680,799,1036,1158,1300,1054,678,462,467,777,1048,963,1060,1110,1374,1242,1106,982,856,986,1158,1346,1682,1450,1021,836,780,829,643,594,966,1134,1212,962,827,1142,1524,1506,1018,619,676,955,1146,1160,1100,969,860,999,1362,1700,1604,1080,861,838,727,1054,1134,1356,1326,1338,1190,1184,1312,1330,1280,1304,1180,1320,1288,1160,1314,1222,1152,1042,1070,1176,1274,1354,1384,1346,1336,1422,1360,1444,1198,894,781,926,1052,959,1066,1284,1306,1180,1212,1252,1324,1338,1534,1290,1200,1144,1236,1272,1138,1088,1130,1136,1078,1150,1196,1042,911,985,1072,1166,1200,1260,1340,1660,1622,1190,1210,1310,1144,1108,974,1294,1118,879,1007,1270,1404,1422,1408,1448,1530,1462,1488,1366,1292,1140,1272,1036,899,1356,1562,1460,1318,1064,1042,1312,1520,1360,1340,1042,1214,1526,1362,999,885,805,684,824,1148,1698,1714,1224,1152,1382,1512,1334,1310,1376,1518,1446,894,760,1154,1188,956,1382,1644,1604,1518,1100,963,870,568,950,1196,1132,942,1028,1036,700,832,1366,1814,1666,1476,1426,1644,1550,1556,1348,1194,833,750,852,990,787,819,1084,1322,1400,1318,1386,1316,1314,1172,1036,946,1196,1346,1052,1098,1098,880,736,642,976,1318,1118,473,603,645,417,339,532,666,1018,1240,1080,1019,954,771,811,1005,1158,921,1162,1094,684,673,927,1110,996,1001,1036,1062,1078,1094,1436,1312,1444,1482,1286,968,581,714,1102,998,810,623,529,532,628,725,403,365,740,850,808,891,637,396,597,670,919,1504,1324,988,1082,1360,1310,1132,1234,1472,1576,1614,1964,2294,1402,937,1332,1180,1084,1266,877,1038,1152,681,567,654,899,1340,1372,750,490,409,404,386,531,828,792,660,689,612,453,509,697,647,569,542,668,638,736,1142,1292,1394,1404,1454,1230,728,768,1482,1158,957,1008,937,816,1026,940,964,1118,1268,1240,1230,1346,1126,1080,927,991,1266,1288,1434,1200,1038,884,804,650,813,1324,897,642,889,912,968,955,1254,1494,1448,1236,1062,1028,1142,1442,1528,1384,850,695,980,946,567,442,471,488,422,426,642,1082,1480,1560,1368,1300,1226,914,854,1144,1688,1648,1023,894,1001,1092,883,816,1320,1424,915,1066,1444,1186,857,1182,1202,1114,1158,1070,977,959,890,1056,778,425,405,520,526,318,455,739,683,475,459,634,798,857,815,733,786,1136,1328,1378,1424,1008,945,956,1368,1418,1242,1182,1298,1164,883,807,1042,1158,1182,1192,1344,1174,863,808,848,1274,1384,1372,1410,1354,1346,1360,932,450,543,795,1178,1400,1360,1242,1238,1270,1514,1570,1286,1202,1240,1264,1460,1280,1338,1088,907,741,763,1036,1356,1614,1572,1726,1726,1118,884,808,870,613,1082,1140,1082,1362,1658,1486,1400,1480,1284,1190,1248,1428,1514,1230,1312,1240,1322,1294,1354,1262,1044,835,613,744,872,677,568,476,511,487,520,468,390,465,505,415,398,411,433,535,822,833,586,583,441,685,901,865,1094,1150,1230,1364,1204,1072,581,536,454,473,828,1242,1656,1836,1516,1028,627,804,1094,998],[1504,1632,870,451,334,366,418,365,350,666,1478,1864,1606,1082,738,481,481,488,371,345,304,339,329,296,313,354,383,413,420,391,422,734,1474,1624,1186,1320,1720,1562,1166,1140,1136,1268,1324,922,1150,1632,1394,1648,1310,991,710,644,677,550,504,590,684,766,671,529,383,385,398,408,446,535,675,509,455,462,424,483,533,614,721,480,564,341,372,338,291,334,592,711,700,795,875,899,773,888,1064,828,615,674,811,720,772,618,393,379,327,389,481,401,315,325,325,419,445,428,314,296,361,408,446,648,940,939,854,645,584,655,587,867,1090,907,1062,1326,1108,626,592,928,1228,913,1208,911,1260,992,1318,1684,1672,1264,816,942,1019,592,644,1040,976,542,453,453,413,432,439,713,1050,1200,1262,1434,1432,979,764,716,692,594,537,622,719,912,1278,1009,1122,1178,1216,942,600,509,451,406,398,489,579,563,589,830,1007,1172,1240,1294,1240,816,527,437,407,487,618,833,579,401,447,789,457,760,1266,1032,722,653,341,235,209,281,266,362,666,697,1056,1294,783,343,298,248,285,310,281,334,567,1006,1070,1048,1118,1038,754,558,440,403,513,583,476,355,346,330,343,446,713,1022,1226,1244,1216,1194,1388,1544,1280,1168,1136,989,1160,889,453,348,526,479,578,979,1232,1224,1072,746,706,1036,1166,767,490,561,655,704,1006,1312,1488,1444,1340,1120,857,1114,1268,1378,1398,1196,1034,1394,1118,821,1168,1348,1322,1068,1080,1278,1012,1520,1208,826,861,930,716,463,495,528,763,712,995,1232,815,644,471,392,334,306,340,356,453,509,423,352,487,781,618,489,460,420,642,659,688,1058,990,923,943,1058,1354,1492,1232,1124,1272,1172,1196,1226,1318,1294,1100,948,855,939,1134,1186,1218,1544,1638,1074,594,608,579,544,559,489,669,856,1078,863,949,961,1086,1230,1404,1366,1410,1322,1208,1246,1108,777,550,622,877,679,433,526,1132,1174,691,426,591,933,1036,895,765,899,518,376,348,383,605,1108,741,478,855,1090,882,545,478,443,530,511,438,491,499,599,1168,1356,897,667,826,1192,788,557,444,518,659,1034,1348,1224,696,628,733,974,1162,879,929,1128,1356,1802,781,1004,933,706,872,1222,921,661,737,394,350,415,511,471,398,509,508,531,482,493,553,515,477,480,438,329,294,299,326,361,507,545,480,460,482,744,774,512,553,764,705,663,523,579,390,285,322,435,621,560,419,691,1013,639,439,781,1190,929,1064,1564,1434,952,770,1023,1200,1352,1320,1162,1418,1400,1288,1444,1512,1316,1284,1244,1060,984,1214,1254,1017,1210,1396,1446,1132,895,752,743,680,976,1212,858,736,787,675,1208,1208,1256,855,965,1026,1356,1432,1050,1078,1108,1026,1021,1226,1174,999,862,888,942,632,583,850,717,472,727,994,906,922,1168,1188,782,775,552,417,372,382,398,359,634,982,1216,1582,1058,803,931,1144,1218,1242,1194,1038,946,972,929,860,742,948,1738,1650,1332,1036,1410,1440,1454,1278,1158,1146,965,645,591,825,1066,1282,974,731,629,664,1076,1358,1260,971,763,877,1156,1234,1372,1540,1284,923,753,1132,1262,918,843,1080,1180,1054,829,766,810,682,675,799,1206,1310,1318,1106,1130,1082,1028,1318,1374,1044,764,863,1266,1396,1568,1154,899,1114,1312,1126,896,828,623,576,481,745,1076,735,1009,1164,1005,837,879,868,879,1013,904,1076,1446,1196,639,855,1078,680,809,911,1108,833,376,379,403,522,795,873,872,706,672,489,375,818,1048,656,446,475,725,915,795,623,636,664,1460,906,470,1052,1168,1094,1032,929,1116,868,824,586,894,1042,929,1098,1120,889,781,703,951,1434,1138,1162,2480,3044,2768,2260,2034,1926,1806,1766,1704,1528,1128,662,407,552,866,929,691,315,265,251,307,548,930,744,409,414,356,353,458,667,495,331,326,441,579,597,559,583,544,500,592,579,505,420,321,424,610,605,528,648,753,907,1058,1350,1604,1440,1256,1470,1800,2196,1626,1350,933,436,789,1664,2002,1782,1358,993,1098,1318,653,412,451,526,526,538,523,407,392,349,350,322,326,337,342,357,376,479,536,508,656,777,764,643,535,708,1214,1174,1130,515,332,363,313,352,774,986,943,1244,1106,593,514,532,495,565,828,774,573,685,673,364,326,323,366,383,633,676,747,720,590,432,518,514,407,375,353,288,271,219,272,335,518,681,715,536,302,498,933,951,484,518,1004,1198,991,1172,2234,2480,2202,1836,1230,836,639,522,292,374,678,738,621,695,835,564,425,611,1064,1344,1408,1244,652,585,458,465,440,377,361,370,360,377,455,530,672,1104,764,771,1120,1402,1740,2280,2630,1892,843,1019,1234,1180,973,832,773,511,411,322,317,705,1238,1034,639,623,945,1015,1174,1520,952,618,666,566,731,513,426,417,415,437,477,354,460,717,671,754,614,371,303,299,231,299,321,327,492,853,687,308,505,459,442,788,1017,1176,1412,1526,1510,1450,1246,781,345,530,897,901,799,810,1426,1948,2046,1500,1288,1146,877,841,1062,1294,1770,1788,1892,1616,947,552,339,312,298,281,281,277,312,411,826,1168,1180,1062,742,450,777,1140,1312,1354,1226,733,861,1778,2172,2294,1930,1346,813,747,753,845,1010,1072,1258,1410,1260,1186,1402,1460,1368,1252,1234,1284,1388,1268,1294,1438,1610,1640,1476,1302,1068,996,1188,1282,908,1222,1522,1802,1232,894,760,851,1336,1316,1188,1344,1310,1310,1252,1386,1554,1388,931,891,888,839,929,1076,1276,1414,1394,1116,523,583,672,854,954,982,843,924,1420,1730,1608,1064,546,589,866,929,828,760,608,490,514,554,521,518,514,510,557,700,710,738,680,586,615,729,1062,1316,1250,965,588,383,527,1026,1262,1122,1232,1066,1334,1130,925,960,918,977,1134,1356,1642,1072,761,681,560,455,399,393,527,775,947,913,1112,1404,1282,884,1204,1172,1328,1300,1234,995,881,926,882,719,1014,1840,1674,1328,1030,722,726,969,1042,1304,1460,1494,1504,1388,1158,1170,1196,1362,1360,1618,1250,1228,1418,1244,1148,1216,1148,1044,1164,1376,1554,1456,1522,1410,1188,1348,1224,1132,1140,1146,1092,1130,1210,1290,1236,1056,1134,1118,1146,1362,1586,1298,1152,1152,1350,1340,1126,1230,1172,977,1058,1066,1100,1216,1150,1144,1120,1094,1082,971,1190,1208,1110,1682,1320,1382,1300,1148,1214,1292,1224,1202,1262,1250,1086,1136,1256,1406,1598,1588,1540,1356,1250,1160,1026,1013,1102,1178,1298,1612,1488,1252,1312,1372,1408,1284,1176,1002,1110,1410,1350,1082,895,991,708,692,1078,1534,1288,1007,1224,1724,1824,1556,1698,1614,1534,1188,663,946,1260,903,636,1216,1434,1114,998,811,792,867,857,749,630,709,637,875,912,731,580,908,1450,1610,1532,1460,1004,1002,1324,1456,1244,763,836,1056,938,834,895,1268,1584,1560,1356,1182,1172,1260,1114,1250,1206,1176,1214,1015,1102,1154,1116,1114,899,601,703,780,526,656,784,625,637,821,1014,1334,1316,947,762,921,1078,1218,1548,1156,1194,1238,1246,1186,900,849,1194,1288,1368,1034,857,918,934,1186,1198,1172,1134,1001,650,607,912,1156,1238,1126,706,512,655,1196,1010,835,672,518,558,870,1138,891,938,1140,848,828,1442,1470,1516,1422,1362,1454,1450,1394,1502,1696,1888,2030,1700,1012,1050,1386,1474,1338,1001,554,724,712,501,506,478,582,1011,986,590,548,432,359,457,695,838,680,530,655,720,563,432,516,561,477,469,551,713,1290,1410,1228,1330,1488,1208,1110,1062,906,771,840,930,850,1014,1084,933,931,1034,1018,1242,1136,1270,1410,1012,1007,1484,1542,1046,1152,1436,1390,1126,974,943,651,874,1742,1260,726,903,878,722,955,1338,1420,1332,1402,1460,1412,1400,1490,1378,1498,1310,946,983,1130,789,460,757,1058,923,788,1058,1520,1646,1688,1420,1250,1005,539,590,1196,1752,1468,1144,1202,1118,1210,1060,1122,1412,1298,1202,1358,1398,982,808,1248,1078,1096,1136,1242,1280,1148,995,1003,822,536,724,1096,1064,539,458,800,1144,904,619,668,761,682,614,587,661,817,784,699,882,866,1260,941,1106,1220,1488,1456,1356,1294,1040,965,1160,1346,1342,1054,1254,1274,1184,1212,1302,1192,974,990,1030,1094,1180,1304,1102,787,1038,1146,1114,1162,1274,1334,1542,1564,1434,1354,1216,1238,1254,1370,1472,1130,1288,1120,814,480,716,1164,1404,1234,1114,1558,1544,1274,777,808,1208,1310,1550,1428,1262,1674,1760,1208,1248,1346,1152,1150,1074,910,768,713,1110,1454,1440,1294,1294,1017,687,734,907,1040,1082,962,795,572,612,604,540,450,398,458,418,370,404,504,491,491,608,596,482,398,514,757,670,597,940,1288,1194,912,1100,1510,1328,1074,661,664,1038,1246,1664,1792,1372,1302,835,857,1384,1072],[1758,1294,521,425,330,383,460,463,469,803,1440,1514,1364,1524,1274,512,454,448,422,336,317,356,404,398,369,368,392,385,345,382,387,508,1200,1590,1610,1472,1432,1480,1506,1190,1056,1228,1008,691,1198,1276,1200,993,1178,958,728,747,751,576,483,526,634,766,488,380,381,377,423,385,450,608,539,408,579,846,711,779,943,638,577,702,776,810,728,462,469,507,495,612,517,529,878,965,781,766,798,1046,1158,1436,1254,1074,1074,647,318,313,350,401,448,456,410,391,364,397,409,399,342,317,322,321,565,1338,1498,1214,1011,913,835,1017,836,1058,979,684,872,792,610,831,1174,948,826,573,789,521,896,846,655,1012,1330,859,526,762,1150,806,624,550,383,383,455,360,287,347,362,557,620,858,1050,971,886,715,597,692,757,761,830,690,898,1764,1566,1132,1280,897,716,713,603,485,416,395,395,547,775,938,1144,1316,1208,869,618,852,1178,1078,731,395,412,404,332,304,362,348,714,1296,750,671,1246,1048,522,360,222,224,300,413,394,387,629,647,453,604,455,241,244,288,271,235,248,252,334,680,1236,1342,1234,1164,1044,912,607,440,586,709,535,368,354,324,343,583,963,1246,1422,1434,1284,1394,1438,1312,1396,1172,962,929,781,525,357,627,1058,893,586,850,1262,1296,1466,1368,1104,1344,1474,963,683,651,595,754,1110,1424,1390,1366,1354,1002,691,1106,1182,1280,1252,1007,958,1046,899,704,846,1176,1346,1130,1268,1234,1352,1614,1286,734,545,865,962,915,777,741,1102,825,937,1426,1004,489,452,602,502,301,268,302,334,388,604,578,466,662,621,529,525,542,880,1078,1176,1170,884,973,1076,1620,1770,1716,1604,1512,1492,1138,937,1078,1102,1050,991,1044,1122,1064,962,610,562,1352,1666,949,427,407,498,650,686,771,1318,967,913,837,1028,761,1018,1334,1324,1448,1366,1204,1068,1238,1852,1602,879,877,934,676,511,435,597,782,691,459,624,1040,1282,1098,1024,1174,752,440,476,522,847,1222,975,635,767,1126,802,726,466,346,420,367,456,502,419,521,1128,1168,702,653,1044,1362,672,435,395,447,534,789,1015,946,779,541,527,780,1042,835,1001,980,863,628,490,745,911,785,734,1011,1182,828,881,484,381,391,448,450,477,550,624,713,626,460,470,539,518,431,366,327,317,317,369,404,496,531,472,448,446,465,451,453,459,612,883,811,641,594,501,399,315,326,331,406,637,1110,1428,1076,641,768,826,747,1128,1372,1302,1114,778,867,977,1068,761,645,942,874,786,1090,1362,1266,1274,1196,1060,1028,1128,972,942,1001,838,1096,1194,942,1030,1082,839,954,902,787,955,1212,1600,1536,1188,1114,880,885,1114,1312,1136,1076,1104,1024,930,816,1023,991,579,341,685,1322,1094,867,1238,1068,799,749,836,630,510,625,762,806,808,1003,990,752,555,477,389,456,853,1128,1694,1156,825,913,1086,1228,1264,1122,1070,1170,1170,1030,970,897,1460,1976,1444,1094,972,1648,2148,1798,1394,1320,1074,991,677,557,932,999,1036,911,861,691,739,878,951,865,589,453,606,1044,1248,1364,1450,1018,584,526,859,1186,1334,1388,1196,935,834,858,963,886,711,730,989,1162,1120,1072,1054,1130,1080,1144,1236,1026,750,809,1114,1196,1360,1336,1124,1026,1068,1288,1306,1064,1170,822,628,539,487,503,529,725,647,522,624,712,612,702,762,774,1254,1598,1304,906,788,797,521,482,720,1144,1124,484,405,469,516,634,579,541,741,843,576,477,932,1019,908,922,518,612,991,802,619,592,670,1284,1064,506,797,1020,1003,1058,979,1164,1030,944,752,1154,1204,752,730,1248,1224,860,916,805,1184,1176,1062,1780,1930,1900,2054,2040,1808,1736,1836,1782,1260,604,325,356,336,257,218,300,298,320,361,626,1036,1036,631,424,470,374,292,271,332,348,323,317,415,735,939,823,644,340,338,357,362,468,338,460,756,887,857,929,1020,801,761,838,1278,1612,1054,936,1422,1704,1512,1058,818,996,750,590,1052,1184,1378,1526,1256,1184,969,539,396,530,691,758,1244,1196,528,505,435,368,396,368,343,342,341,344,405,508,661,690,622,710,734,630,612,866,1186,1224,722,455,480,797,863,730,1004,996,1056,972,915,674,546,672,796,673,421,288,556,854,610,357,394,493,341,455,670,813,642,384,216,343,555,596,353,317,383,372,276,282,317,362,593,625,395,261,347,827,1048,1074,864,1118,1188,959,1980,2614,2130,2148,2382,1866,913,747,558,347,340,298,365,421,555,647,662,597,709,1116,1288,1400,1202,519,496,499,428,458,405,356,348,333,373,601,806,685,1040,1290,1682,1378,1862,2036,2128,2432,1642,760,1086,1494,1582,823,648,607,636,499,320,471,1246,1388,834,643,714,675,566,675,887,641,571,658,744,577,389,496,557,470,329,332,284,404,872,1058,1320,1238,590,270,272,466,558,400,346,357,398,360,411,763,721,425,386,888,1082,1170,1376,1524,1306,1026,447,411,1210,1638,882,969,1122,1294,1708,2166,1772,1228,1320,1172,637,781,1274,1532,1404,2088,1926,1386,805,394,321,332,328,299,335,330,399,752,1206,1172,957,630,760,1154,1188,1154,1250,1558,1158,1126,1808,1930,1936,1888,1370,929,835,883,958,1116,1274,1278,1166,1050,988,1176,1356,1268,1188,1512,1482,1218,1174,1230,1204,1146,1294,1388,902,627,742,924,1410,1010,1013,1066,1278,1324,1238,984,907,1306,1178,1206,1094,1246,1322,1536,1790,1692,1260,890,899,853,795,935,1096,1294,1500,1532,1324,713,730,1072,1212,1160,1180,1156,1110,1454,1664,1454,896,610,659,893,976,961,910,733,535,460,508,555,557,518,516,607,801,821,722,564,547,630,685,979,1224,1048,999,867,733,721,1038,1154,1162,952,730,976,1042,887,923,980,969,1266,1666,1456,723,519,592,664,578,473,406,438,581,766,1300,1758,1564,897,621,1140,1266,1328,1434,1212,796,641,806,879,883,921,1242,1458,1310,910,586,756,1042,1032,930,1118,1454,1898,1666,1456,1382,1322,1174,1360,1480,1260,1240,1262,1100,1021,1050,969,912,1218,1208,1486,1682,1506,908,492,863,1356,1330,1092,961,1020,1007,829,1080,1184,1332,1232,1162,1170,1266,1250,1190,1328,1414,1400,1278,1074,1130,1066,1050,1168,1182,1252,1360,1172,1238,1390,1198,991,916,1190,1272,1202,1896,1384,1222,1282,1296,1334,1268,1158,1376,1332,1318,1248,1482,1472,1512,1560,1600,1550,1444,1426,1310,1122,1088,1130,1150,1270,1458,1346,1260,1132,1160,1354,1210,919,927,1192,1470,1322,1278,1042,960,875,728,1019,1296,1026,882,1128,1288,1090,997,1234,1298,1494,1364,840,1166,1360,988,771,1148,1162,599,518,552,709,801,756,578,853,984,650,722,684,568,709,795,868,1522,1542,1274,1286,1866,1500,1418,1326,883,824,904,1126,1152,857,857,1134,1270,1122,1146,1210,1148,982,1006,891,948,1144,1140,1154,1084,997,1134,949,671,878,725,525,500,633,712,734,1019,1262,1442,1364,1080,1050,1132,1060,1490,1512,1448,1382,1214,1308,1214,1180,1278,1270,1334,1324,990,782,727,1048,1224,1502,1190,643,549,498,572,703,1130,1348,1338,949,851,1250,1506,1254,1318,1164,835,722,641,1100,1294,1052,1096,1152,1196,1402,1068,1216,1602,1516,1296,1334,1624,1696,1174,1444,1108,792,846,962,1066,1268,1232,904,529,389,503,719,963,880,582,396,517,662,519,373,346,444,548,590,470,375,474,725,810,644,399,408,432,364,368,792,1274,1260,1056,1284,1394,771,789,1206,1172,716,649,1011,1010,1048,1126,887,877,980,1100,1060,788,790,967,1076,1194,1558,1390,1124,1164,1128,1180,1156,1274,1074,662,532,895,1332,1194,1208,1126,1020,1186,1308,1346,1498,1470,1670,1452,1042,1038,1112,1214,1470,1404,1142,1026,741,508,811,1060,1170,980,1036,1296,1316,1350,1368,1230,869,644,594,1212,1590,1376,1152,845,931,940,1154,1344,1190,1100,1230,1184,1190,983,785,919,908,1174,1192,1346,1114,789,688,913,965,557,889,1338,1426,728,521,628,1416,1384,655,516,671,556,422,664,974,813,491,618,1020,948,987,817,928,1122,1390,1454,1464,1350,1142,1270,1440,1180,1036,1186,1296,1216,1112,1246,1416,1148,953,872,850,1170,1494,1364,1146,1011,1102,1274,1294,1294,1432,1420,1564,1542,1326,1390,1222,1021,983,1158,1454,1450,1390,1122,719,686,911,1338,1638,1414,1100,1234,1364,1446,974,1046,1280,1478,1766,1746,1438,1376,1320,1262,1252,1194,1008,1236,1156,922,770,973,1428,1578,1360,1336,1246,714,401,585,996,859,930,1162,1001,597,588,828,792,491,426,505,514,592,589,629,557,433,521,544,444,559,738,857,1015,850,987,1228,1034,932,1370,2310,2226,1430,994,1014,1112,1198,1256,1424,1456,1538,1118,1004,1226,1132],[1588,1196,537,441,368,331,352,439,561,868,935,883,1194,1338,914,413,426,413,390,354,354,390,425,448,418,382,393,341,263,391,512,598,883,1480,1626,1288,1194,1414,1382,1128,943,1042,806,610,1056,954,991,978,1262,992,587,644,717,598,587,726,691,772,491,359,390,389,341,332,375,608,920,830,689,841,777,776,873,719,856,948,769,1021,990,565,551,531,526,685,684,626,809,977,1144,984,1102,1338,1360,1302,1208,1140,1186,861,439,281,339,697,684,549,486,380,345,359,384,402,344,301,314,305,462,858,679,880,699,521,1000,1398,1254,1184,954,970,1052,692,385,553,1064,1034,695,495,459,474,671,835,648,811,1100,700,618,977,1306,1134,666,441,489,482,468,295,398,436,510,517,475,579,825,749,467,452,487,623,844,887,961,948,1216,1458,1464,1478,1456,1054,555,476,471,370,399,591,883,1102,1210,1314,1238,1400,1220,580,338,448,792,964,720,274,288,347,404,395,503,444,482,595,516,477,695,987,726,284,271,252,240,311,393,356,568,632,372,413,513,476,358,286,230,208,271,341,382,499,1014,1268,1300,1434,1298,1220,810,479,458,550,476,422,397,352,406,648,1044,1390,1572,1462,1046,1010,924,794,929,641,628,828,967,754,463,767,1428,1428,866,1162,1394,1378,1494,1316,1154,1194,1300,1194,1026,771,385,433,772,1028,866,916,1038,789,704,793,825,1100,979,527,477,472,835,1126,1094,1206,1100,1210,1266,1222,1268,1068,793,528,553,643,1026,1122,774,1007,1290,1028,774,1156,1144,716,581,781,591,277,242,284,309,349,447,528,439,487,509,549,476,600,1106,1348,1054,1046,1006,989,1050,1724,1898,1532,1360,1480,1368,1124,1044,1196,950,1090,975,1332,877,970,821,382,306,375,430,395,369,339,454,485,421,418,764,698,926,1428,1184,669,944,1046,1100,1348,1182,1160,1254,1720,1732,1354,964,976,1096,1166,1080,767,583,769,737,524,800,1138,1540,1144,1042,1152,882,550,695,963,1023,1350,1464,1144,854,932,1140,771,387,368,413,453,621,770,781,660,910,901,905,630,1326,1094,597,414,393,412,421,516,569,765,1074,690,570,951,902,1160,1200,751,749,745,500,534,792,1086,1082,819,1366,902,855,698,518,457,413,377,412,407,735,1136,752,423,411,407,350,358,347,397,419,437,450,408,435,493,551,526,493,554,449,390,440,586,723,810,916,1102,1122,691,549,581,535,540,637,822,996,791,538,612,595,670,1044,1282,1358,1324,1338,1532,1484,1296,915,753,980,1060,747,1088,1488,1168,1017,813,778,919,1004,1056,959,804,814,1034,1196,1028,1024,1012,932,1122,936,691,963,1100,1268,1004,946,1008,781,679,1156,1282,975,1058,1354,929,896,1044,1021,937,949,802,603,807,1054,954,1044,944,870,918,741,452,477,520,658,872,1130,1246,1222,1154,1005,849,577,677,1216,1396,1354,1042,1026,1096,1142,1310,1268,1118,1046,1066,1496,1256,1104,1140,1402,1102,1009,882,861,1548,1918,1594,1454,1378,1220,1316,888,751,899,858,681,725,832,943,987,733,927,893,605,537,428,771,1108,1028,822,511,483,799,1162,1322,1372,1124,931,1008,994,926,1152,955,748,797,1136,1216,1250,1444,1220,1023,932,1248,1286,1322,947,984,1042,980,1082,1152,1030,793,824,1366,1346,1182,1234,1144,904,577,427,461,571,563,492,404,593,756,516,656,1108,1098,1023,890,919,1256,1266,847,444,422,650,842,900,477,390,490,508,568,512,499,584,642,532,642,1034,1194,1276,1021,587,485,763,862,731,605,610,1324,1356,420,582,1126,1138,1030,1014,1100,842,576,616,845,943,742,621,1032,1010,1023,1004,923,1080,1420,1190,1202,1414,1538,1670,1748,1918,1814,1410,1178,921,495,353,383,322,285,314,311,362,426,463,759,893,723,495,441,479,322,257,218,258,336,355,455,587,630,661,797,725,364,293,402,542,500,317,579,819,861,788,921,1052,526,620,990,1280,1082,611,580,934,965,877,670,751,1466,1334,625,1492,1780,1556,1400,835,619,621,457,428,602,765,1404,2030,1316,653,608,536,749,603,439,389,325,317,325,366,551,752,728,597,524,698,766,624,612,1084,1404,1344,998,866,1180,1172,679,929,1186,776,659,729,604,1128,1520,857,309,294,301,339,563,915,743,616,443,358,448,882,979,558,360,261,324,542,651,555,473,539,536,364,334,395,379,315,236,170,199,489,1114,1172,1170,1226,1432,1138,1588,2324,1874,1584,2010,1960,1106,897,1216,884,456,319,326,330,359,371,437,601,843,1166,1332,1086,963,926,852,786,729,634,541,456,381,348,366,425,607,1226,1264,1586,2184,2332,1504,1456,1684,1458,1396,1316,1076,1290,1402,1404,777,628,536,478,350,379,882,1180,862,794,599,331,296,346,383,686,901,838,821,672,333,455,688,650,574,410,342,385,380,814,1060,1098,838,334,186,239,498,932,959,632,320,258,286,351,529,837,774,426,427,811,1136,1228,1280,1346,811,341,1172,2718,3184,2324,1580,1015,1038,1440,1844,2020,1604,1346,1456,877,568,789,1282,1520,1732,1770,1744,1238,667,432,420,414,342,391,569,489,460,776,608,383,695,1496,1750,1508,1416,1268,1524,1424,1208,1460,1686,1786,1688,1606,1378,1272,1238,1134,1248,1378,912,544,569,675,787,1298,1476,1466,1880,1892,1588,1324,1166,1334,1246,1422,1450,902,769,943,1058,1386,1162,897,1082,1344,1378,1362,1282,1000,939,1058,1007,1194,1344,1460,1796,1720,1474,1218,871,889,850,814,957,1264,1428,1464,1444,1310,795,631,961,1284,1394,1664,1842,1684,1616,1650,1404,934,792,785,815,714,691,817,835,691,509,550,570,560,500,565,731,839,777,873,973,907,860,739,916,1188,1090,988,1178,1210,977,1142,1126,1188,1172,951,1028,943,805,971,1086,1152,1316,1658,1092,514,510,673,636,492,555,616,608,971,1472,2520,2260,1344,913,777,1090,1244,1156,1182,984,722,617,588,712,904,933,854,1170,1302,1088,785,719,1020,1238,1354,1382,1212,1560,1354,1388,1342,1376,1214,1216,1336,1266,1144,1228,1138,1122,1066,1146,1068,1384,1426,1582,1486,1078,885,767,886,1294,1232,1026,1110,1274,1200,1144,1226,1478,1664,1296,1136,1122,1136,1244,1194,1196,1048,998,1150,1056,1104,1116,1066,1108,1100,1136,1152,1070,1038,1001,1058,1272,1260,1182,1366,1084,877,896,966,1152,1314,1466,1434,1372,1792,1366,1404,1280,1260,1368,1406,1394,1632,1748,1676,1360,1001,837,1050,1226,1210,1288,1228,1358,1316,1156,1196,1234,1046,883,1192,1134,1278,1416,1202,1200,958,645,672,1166,1370,1072,952,1302,830,543,614,955,1160,1344,906,690,1009,962,689,803,1148,1236,883,911,814,807,647,708,866,1198,1288,1074,1016,904,818,1002,1040,1204,1578,1694,1404,1458,1488,1340,1500,1310,1072,1042,1060,1232,1052,797,647,1242,1352,1186,1248,1356,1108,783,871,849,593,696,966,1170,1258,1186,1280,1184,1068,1150,1056,935,1028,1270,1256,773,860,1052,982,886,860,1082,1172,1320,1310,948,1108,1294,1246,944,928,1242,1176,1118,1004,943,1040,868,944,1124,1128,1444,1198,963,653,471,569,797,1352,1386,1566,1738,1284,1486,1312,1192,1348,1384,1256,907,597,1074,1494,946,849,1188,1400,1270,922,1222,1804,1792,1560,1490,1722,1682,1158,1310,1162,1276,1306,1092,1018,1016,887,858,556,415,667,947,912,1394,1116,522,379,450,375,293,395,552,438,437,377,325,318,437,713,774,489,334,319,317,309,588,1028,905,603,1046,1166,680,598,821,711,538,534,708,803,563,589,806,832,896,1072,944,804,987,1062,1190,1202,1028,868,1174,1160,1074,1274,1322,1496,1410,1026,632,671,1066,1408,1506,1172,1150,1344,1118,1310,1446,1332,1304,1001,753,975,1112,1202,1454,1562,1470,1146,852,849,1000,956,1172,1282,1266,1284,1258,1196,1126,959,984,906,700,1013,1394,1402,1108,1013,1144,1184,1290,1330,1248,1062,877,1056,1364,995,781,596,695,916,955,861,576,532,526,600,774,561,838,1346,1302,886,805,634,1066,1096,625,581,538,555,573,1001,1504,1284,596,767,1030,963,813,1054,1354,1388,1422,1452,1392,1180,918,1088,1162,738,793,1158,1284,971,748,1084,1346,1236,1188,1158,1158,1150,1212,896,854,843,703,1136,1316,1224,1438,1412,1278,1134,1248,1376,1424,1252,1242,1134,1334,1428,1282,1114,1222,1466,1021,1304,1534,1294,1092,1252,1334,1448,1276,858,938,1400,1412,1104,1268,1332,1326,1328,1346,1184,1118,1248,1294,1172,1144,1492,1612,1388,1018,1088,1178,1003,583,495,705,624,841,926,749,699,603,705,714,448,404,417,478,533,489,628,594,569,760,684,867,1108,815,881,1202,1026,1112,1048,1036,1074,1080,1420,1548,1300,891,1074,1390,1212,1196,1154,1410,1402,957,890,988,1192],[1568,1250,444,239,243,259,326,390,563,1050,1286,1058,1084,1012,803,732,642,501,444,393,416,433,436,444,442,405,400,361,326,468,619,680,692,1019,1338,1226,1080,1202,1136,1290,1274,1200,941,795,885,721,1036,1460,1394,970,547,623,760,606,692,738,676,749,578,397,385,397,392,547,728,691,799,791,810,1088,1058,951,1044,1274,1364,971,638,781,728,529,557,433,505,783,832,713,951,939,813,1154,1384,1374,1448,1196,1092,1122,1288,1390,697,411,1086,1964,1366,618,417,346,311,404,359,388,332,273,242,286,344,373,396,476,374,303,574,1038,1290,1064,724,1044,990,696,563,665,1030,1078,800,564,861,924,706,905,938,1021,1220,875,645,930,958,1030,785,467,394,412,350,298,465,487,564,599,473,370,650,799,551,529,608,642,916,1256,1002,995,1232,1046,1248,1406,952,647,425,485,675,893,1148,1282,1238,990,918,861,839,1448,1396,753,507,287,399,443,377,297,323,832,883,369,375,507,510,440,345,262,354,656,664,379,325,320,331,363,532,614,642,750,588,788,1188,838,399,280,259,229,309,443,463,467,762,1104,1324,1544,1340,1150,749,456,356,381,380,374,365,376,477,720,1194,1484,1494,1356,1032,630,513,702,711,654,809,1284,1440,825,721,790,1170,1288,1444,1640,1296,1176,1226,1224,1194,1108,849,685,905,899,564,513,756,842,798,1078,1158,879,692,642,705,805,745,351,387,790,1332,1394,1252,1576,1548,1474,1302,1206,1120,780,630,526,520,501,908,915,722,1196,1418,1050,683,842,1108,869,480,659,641,414,350,343,338,352,424,418,442,673,990,941,544,841,1342,1212,918,1322,1382,1212,1176,1268,1028,853,1124,1300,1126,862,931,1092,1007,1158,1120,1152,820,977,789,412,359,368,384,347,323,294,454,396,303,330,392,550,1048,1476,1007,437,481,589,581,745,964,1072,972,1166,1444,1184,699,797,1210,1284,1116,897,645,489,419,406,717,780,1854,1678,996,879,884,851,1082,1368,1064,1021,1208,1292,981,1001,1354,836,377,400,416,588,804,822,1096,1021,905,763,600,485,1212,1068,694,568,441,400,390,488,670,731,808,613,664,982,944,1310,1044,497,615,747,607,590,768,895,849,703,1284,1058,960,933,607,391,453,570,557,655,1088,1003,634,487,449,477,438,403,400,479,500,438,388,332,322,374,598,502,424,502,487,465,523,568,714,1006,1038,999,811,798,966,1026,1174,1164,766,684,684,564,738,775,743,820,890,1060,1338,1152,1218,1382,1484,1362,1060,831,916,1006,827,1212,1490,1074,946,667,897,967,1216,1406,1252,1170,852,915,1366,1036,1086,1116,927,1046,944,762,963,1082,984,1030,1180,1009,812,672,800,929,688,686,1034,824,897,1180,964,716,1050,1206,889,850,1362,1162,896,769,594,769,852,692,726,903,954,1028,1016,912,1030,1150,1160,914,727,833,1034,1200,1222,998,1001,1104,1082,1146,1200,1148,1160,1190,1636,1354,1214,1284,1256,1236,1352,1144,1102,1372,1482,1330,1414,1406,1520,1396,1034,1178,1224,1064,923,1016,1094,1124,995,681,557,361,427,526,481,882,960,791,750,941,1160,1196,1080,1058,1244,1010,932,963,853,908,963,835,739,778,962,1128,1382,1584,1352,893,990,1208,1216,1318,1140,879,614,810,1142,1152,1114,993,1048,1440,1110,1018,1138,1240,873,461,416,543,778,1018,980,750,575,798,756,997,1506,1168,758,840,1092,1418,1744,1412,811,399,453,445,418,326,365,416,381,451,633,645,439,588,664,870,1128,1322,1252,1178,978,966,1106,1128,1050,884,914,1126,907,767,894,1178,1166,1102,1090,844,778,785,739,965,1318,1076,617,935,1216,1416,1166,1092,1078,1016,999,1046,857,1080,1546,1654,1804,1434,705,574,735,450,329,345,350,331,262,261,277,339,608,838,547,378,363,408,367,262,255,273,316,332,472,726,903,803,480,566,639,542,396,478,653,553,493,793,814,552,576,897,896,571,648,763,636,553,556,596,887,1076,1312,974,549,1264,1454,661,1532,1640,1442,1178,779,699,568,481,595,883,1450,2230,1918,869,540,413,730,1578,1910,1392,508,303,306,359,370,467,565,589,543,624,693,714,678,737,917,1244,1550,1318,1062,988,1306,1278,915,1140,934,715,709,1360,2568,2010,930,446,624,584,465,357,662,1050,913,467,326,463,635,483,283,297,332,449,797,691,683,695,611,413,280,354,433,342,244,253,349,1170,962,770,1106,1230,1070,1240,1544,1860,2024,1732,1284,1716,1552,831,961,1112,1250,1050,516,274,369,504,686,492,471,606,940,1210,1242,816,786,729,640,1072,1156,553,404,403,416,550,530,763,1332,1634,2032,2150,1940,1344,824,656,595,1001,1232,1266,754,877,972,838,609,331,270,489,1023,1262,917,774,1174,785,474,352,313,444,939,1216,888,864,841,469,476,790,846,672,459,358,398,349,258,296,443,381,234,236,248,320,497,615,677,349,300,325,331,343,462,491,438,336,397,827,1136,865,1236,952,1402,2852,3348,3262,3190,2374,1042,888,1164,1478,1590,1104,1326,1542,1104,635,562,1080,1524,1390,1522,1802,1362,715,451,382,413,675,814,788,490,369,569,610,577,1188,2410,2524,1504,1260,1116,998,1346,1360,1410,1584,1572,1486,1374,1234,963,608,722,1284,1608,953,837,981,1064,896,1284,1560,1580,1808,1720,1672,1454,1254,1644,1476,1412,1508,901,754,951,1066,1410,1238,817,1108,1350,1226,1132,1512,1426,827,727,614,999,1280,1456,1786,1894,1666,1250,848,871,830,829,925,1400,1600,1478,1438,1224,728,731,1062,1180,1334,1650,1638,1726,1642,1672,1550,1100,838,856,834,660,602,809,956,772,592,505,481,473,495,686,843,778,987,1722,1932,1656,1210,896,1244,1246,1054,828,908,988,890,1142,1168,1078,1254,1406,1480,1028,996,1034,1160,1322,1498,1582,996,741,730,562,530,458,484,561,954,1502,1748,1934,1192,791,719,785,1116,1152,906,903,727,1036,775,609,993,1148,1332,1070,1088,1412,1218,1009,1238,1382,1432,1396,1334,1308,1218,1150,1164,1296,1354,1342,1476,1362,1180,1246,1270,1108,1198,1118,1210,1436,1616,1706,1646,1168,821,998,1000,705,1086,1268,1198,1190,1078,953,1138,1278,1244,1206,1240,1236,1140,1226,1216,1000,1106,1140,1312,1472,1218,1064,1060,1108,1242,1242,1238,1246,1220,1110,1110,1194,1572,1282,1146,1230,1130,1009,897,960,1190,1094,1274,1406,1348,1302,1254,1262,1136,1156,1274,1158,1204,1632,1912,1808,1468,1046,1118,1462,1612,1350,1152,1330,1378,1206,1202,1248,1310,1140,999,1220,1300,1416,1278,1056,1182,1366,1116,1009,1390,1370,1016,1044,1466,915,760,957,1120,1352,1250,709,609,830,719,550,742,1134,1302,1122,1008,796,737,746,718,725,929,1142,1222,946,756,834,949,1018,1262,1416,1736,1682,1564,1458,1322,1288,1100,1068,998,1102,1166,1058,903,889,1648,1490,1150,1278,1204,700,534,542,728,593,445,614,1108,1264,1510,1460,1236,1142,1168,1100,1266,1296,1082,1152,948,943,1266,1132,882,740,797,1154,1454,1152,806,605,834,1090,928,1172,949,944,951,849,817,1100,1290,1312,1498,1568,1376,1086,1324,930,473,526,1078,1332,1204,3582,3760,1388,1098,979,1152,1386,1508,1452,1266,1286,1240,1034,742,977,1400,1366,1022,681,1046,1404,1180,1112,1440,1468,1458,1254,957,1070,1298,1506,1438,1076,844,773,907,933,665,951,940,854,1072,859,498,362,361,323,259,281,336,288,438,477,359,263,335,519,610,639,523,331,304,334,413,489,486,446,548,639,632,543,592,554,535,568,557,571,499,736,1224,988,684,522,464,788,990,696,552,781,980,948,1170,1106,1338,1580,1364,1208,1190,1208,1048,930,1064,1284,1350,1266,1262,1170,1154,1246,961,961,865,538,619,952,1130,1212,1232,1300,1566,1436,1278,1284,1330,1326,1302,1394,1502,1488,1244,1038,1088,1218,1174,1086,805,1034,1262,1426,1376,1336,1442,1366,1130,1020,1302,1284,1028,1322,1406,1040,744,648,651,559,633,574,406,439,693,808,888,1070,1068,1098,932,730,660,482,566,686,420,400,403,612,616,824,1300,1154,547,655,852,810,974,1266,1196,1180,1198,1238,1238,980,846,1166,1298,836,621,835,865,830,878,1034,1440,1608,1178,1158,1356,1152,1076,702,674,841,972,1396,1444,1268,1388,1410,1208,1222,1326,1222,948,1232,1660,1550,1518,1566,1362,1256,1344,1372,924,1232,1288,1156,1218,1318,1338,1428,1288,957,775,1003,1182,816,1076,1248,1256,1130,1262,1306,1418,1300,1288,1340,1348,1370,1110,1040,1152,1314,1544,1512,797,425,552,797,1044,912,1136,1154,597,386,526,509,476,521,656,749,802,1044,1032,698,741,786,1314,1034,612,629,572,827,1136,883,771,1112,1494,1268,1384,1440,1013,1066,1368,1382,1154,726,868,825,716,1026,1444,1880],[1238,922,418,333,331,341,350,377,673,1592,1876,1680,1952,1718,1704,1582,1284,1064,581,392,457,440,405,410,428,411,405,369,389,545,711,695,550,638,993,1264,1028,1007,1240,1574,1510,1268,1018,834,1015,1310,1592,1764,1606,1062,870,800,789,692,778,732,659,667,624,604,502,441,468,608,846,737,439,385,628,1100,1044,1019,1244,1354,1108,851,641,679,617,545,799,502,459,549,716,647,850,877,659,814,999,1001,1198,1036,962,891,824,1226,899,774,1708,2194,1416,559,403,576,437,437,308,360,353,328,275,270,314,281,354,566,667,401,371,554,995,734,565,960,929,899,783,912,941,754,767,976,1200,997,899,1015,1252,1422,1410,1146,1382,1220,1172,1070,603,411,316,305,301,334,350,506,600,537,406,305,485,744,531,597,735,603,553,485,597,1234,1854,1456,866,858,595,670,852,988,1080,1078,948,732,579,609,886,1042,1354,1664,1272,1238,539,325,339,276,335,368,253,720,763,311,303,361,360,326,250,234,391,620,604,346,272,298,284,362,601,760,634,799,599,686,952,581,273,393,533,359,239,296,375,418,681,1002,991,1226,1268,1246,764,422,372,359,358,347,363,402,549,982,1516,1298,1001,755,655,532,536,634,689,783,844,936,1028,863,940,755,962,1354,1390,1282,1126,1072,1038,894,1284,1696,1222,819,1024,1178,933,694,785,799,945,1302,1282,953,670,1030,1252,976,776,658,557,969,1330,1256,1288,1592,1770,1688,1422,1488,1300,832,683,583,492,427,734,815,762,704,883,1064,944,828,860,763,438,552,599,472,375,319,321,323,361,415,516,813,956,837,458,604,692,586,1178,1598,1346,959,1005,860,593,725,762,1084,1318,995,998,1208,1324,1124,998,733,625,835,760,483,449,434,493,529,591,454,428,438,596,736,693,814,1146,1256,665,439,428,501,463,589,986,1028,762,745,1250,1310,964,1144,1206,551,448,659,619,471,362,430,589,858,1208,1418,1368,1004,1244,1184,1232,1292,1220,908,1238,1628,1316,999,1004,832,791,921,911,903,789,609,642,882,765,513,354,373,699,901,894,742,439,427,397,486,865,1376,969,689,832,715,660,802,633,417,502,642,697,548,848,908,812,960,1296,1224,1078,1056,726,355,500,958,784,655,971,839,534,431,434,415,389,462,550,641,650,465,440,412,428,515,753,891,911,772,622,633,713,605,611,1018,938,1005,705,896,1022,1076,1330,1252,897,889,875,741,873,888,1156,1106,984,1232,1190,1019,1126,1450,1642,1476,1296,946,878,1068,1146,1416,1306,1152,1158,864,825,784,1074,1366,1378,1210,621,770,1306,1080,993,996,822,895,1042,1015,1100,1166,946,1258,1204,871,791,783,714,892,691,615,893,993,1060,1106,901,1080,971,1122,1116,1186,998,1152,1102,789,636,683,788,800,836,1188,1394,1244,1058,1168,1342,1268,1170,1068,934,717,801,1372,1556,1082,921,893,973,974,1034,1082,1120,1176,1046,1198,1422,1410,1426,1534,1352,1584,1462,991,1236,1352,1252,1200,1400,1376,1268,1202,1104,1120,1216,1144,875,684,664,855,748,567,826,890,822,763,695,878,1066,1062,797,651,708,869,1282,1090,760,697,720,766,755,680,694,692,707,988,1474,1458,1132,912,979,890,844,1032,1222,910,516,657,826,850,1080,1222,1232,1034,844,722,685,764,684,665,732,974,1064,1314,1160,1013,528,767,995,988,1028,1098,1172,1344,1874,1960,2050,1744,1346,630,373,371,362,582,586,313,520,872,1028,1110,526,651,1204,937,774,944,714,854,1130,1116,962,943,1006,925,789,736,1030,1250,1248,1005,847,1068,1198,891,663,927,949,997,1486,1270,760,1042,1070,951,1028,944,713,633,672,441,437,785,1090,1314,1560,1030,498,772,606,336,394,390,463,456,255,297,347,465,703,621,415,346,375,422,386,333,313,366,461,664,870,805,701,684,766,647,521,546,539,428,389,465,647,910,732,531,843,930,628,650,481,383,747,1144,781,633,858,966,1520,905,374,815,1310,917,1204,1588,1582,1260,1082,938,558,617,729,808,1356,1760,1426,732,525,519,969,1588,2088,1708,539,604,611,365,367,382,505,626,571,592,633,681,842,875,758,796,1332,1242,933,972,1510,1748,1244,1072,1134,1108,965,1932,2696,1324,803,632,1310,1162,945,653,435,772,1005,868,441,327,312,287,343,398,448,749,1074,924,612,499,566,473,344,322,336,314,276,277,381,1004,798,651,955,1274,960,727,1002,1428,1626,1804,1582,1154,875,536,491,839,1392,1240,506,234,283,384,512,370,521,639,703,883,1084,879,684,576,477,885,954,416,319,392,408,538,721,793,789,1830,2556,1810,1324,1040,564,403,510,672,1148,1296,1144,1384,1144,753,538,401,624,1014,962,599,663,796,1058,755,632,558,536,454,876,1280,902,972,953,825,547,556,892,1068,899,630,425,385,322,288,304,276,269,300,431,498,477,443,317,256,331,317,273,281,265,296,492,731,422,401,738,886,952,1204,2292,3188,2766,1942,2402,2850,1440,930,862,653,542,676,1516,1562,1378,1042,599,713,1190,1544,1720,1696,1466,1084,471,299,647,816,715,599,480,493,594,756,922,1404,2732,2570,1572,1340,1066,663,976,1326,1418,1422,1322,1001,846,1009,938,894,1340,1556,1824,1172,919,1012,1056,929,1138,1310,1168,1722,1758,1370,1418,1436,1676,1494,1418,1430,1062,882,1086,1204,1216,952,662,959,1052,930,1172,1364,886,481,444,566,664,902,1512,1856,1902,1672,1464,1296,1144,937,974,1186,1588,1622,1396,1468,1206,756,1162,1236,1182,1286,1626,1540,1486,1584,1656,1588,1326,1068,892,754,777,732,881,1008,942,644,569,739,913,1036,1012,866,839,1504,2116,2126,2048,1314,948,1044,940,1148,1090,1132,1260,1050,1180,1330,1642,1648,1604,1450,1106,1042,873,1042,1344,1676,1432,894,1018,948,893,895,703,785,730,1124,1378,1404,1048,700,572,509,854,1032,1068,990,868,912,1426,1180,1236,1368,1226,1164,1009,1080,1416,1140,928,1218,1376,1392,1126,886,1015,1176,1244,1218,1312,1304,1398,1440,1486,1474,1296,1208,956,970,1220,1482,1688,1694,1442,1270,1382,1206,1154,1058,599,718,1068,1258,1094,1003,1009,1118,1332,1362,1272,1174,1178,1416,1410,1192,1252,1302,1206,1546,1714,1270,995,1150,1238,1298,1294,1442,1410,1152,1172,1138,1336,1292,1068,1156,1244,1300,1216,1166,1218,1268,991,962,1288,1278,1048,1124,1174,1104,1134,1238,1270,1296,1350,1482,1582,1550,1366,1382,1376,1448,1372,1232,1414,1394,1330,1274,976,696,602,708,932,1019,1005,960,927,1076,1168,1408,1376,1296,1194,1060,1136,1272,1074,965,867,1052,1408,1058,513,611,719,751,742,603,551,803,824,680,782,1002,985,848,786,999,1286,1318,1054,1124,841,684,909,896,871,1306,1606,1660,1660,1320,1048,1166,1264,1082,1052,1214,1482,1350,1296,1476,1164,935,1476,1488,771,574,422,578,520,386,407,842,1130,1236,1272,1286,1150,633,637,1126,1108,602,630,839,1032,1230,1224,917,650,786,908,907,938,806,636,852,714,1018,1132,890,1084,1058,1005,1270,1564,1354,1180,1178,1106,904,695,948,990,609,376,828,1023,921,1450,1584,1214,997,875,576,843,1256,1472,1714,1832,1248,746,630,1012,1340,1230,882,726,720,660,499,577,827,1360,1560,1324,1013,741,752,1230,1110,800,1042,1248,1036,973,877,813,566,591,764,748,514,379,441,489,290,227,244,295,382,401,299,333,391,315,350,489,615,576,397,457,516,462,392,375,365,393,438,541,608,563,575,675,595,567,505,514,951,1236,904,624,541,487,572,371,419,825,1212,1410,1376,1282,1460,1426,1356,1332,977,917,1250,1164,1146,1198,841,939,1216,1196,1266,1094,792,672,478,415,459,498,808,1112,1310,1376,1452,1566,1504,1316,1312,1324,1400,1482,1306,1330,1294,1336,1490,1532,1584,1528,1262,1242,1310,1460,1500,1512,1400,1346,1164,1040,1142,1184,1336,1378,965,1088,1286,904,502,568,871,837,643,615,1060,1130,1176,1556,1464,1212,1068,723,365,340,427,572,350,327,383,521,615,662,937,783,571,1114,1362,1042,1000,1178,1228,1134,1142,1264,1238,934,859,1246,1366,967,703,865,1054,1334,1098,991,1334,1550,1142,1256,1290,1204,1144,748,689,1096,1162,1340,1456,1314,1402,1480,1512,1514,1438,1362,1332,1428,1494,1520,1494,1678,1388,1384,1206,1208,1154,1336,1334,1288,1216,1010,955,1242,1328,1192,840,868,1106,922,1014,1228,1384,1558,1598,1476,1418,1296,1414,1404,1404,1268,728,949,1236,1310,1250,1104,921,866,1082,1238,1064,1012,1290,1052,646,545,739,806,666,678,867,868,722,1132,1250,753,762,844,1236,916,620,616,716,807,1090,1148,777,1236,1818,1506,1372,1550,1244,962,1228,1166,686,465,480,549,809,997,1276,1356],[709,573,433,434,428,424,368,405,1026,1858,1740,1998,2466,2452,2460,2082,1740,1304,546,400,444,418,358,361,378,374,374,399,477,608,676,562,401,379,422,690,620,675,1054,1600,1454,1058,860,662,915,1224,1290,1428,1858,1344,1092,877,717,754,833,739,671,635,622,646,505,426,456,675,713,678,464,399,958,1208,924,850,811,708,515,477,390,518,642,606,612,495,483,416,306,282,481,576,451,379,521,1058,1396,1170,1042,640,393,579,721,907,1158,1284,1084,471,536,596,648,428,391,385,348,363,322,268,281,274,408,999,1019,511,351,497,829,714,453,385,582,868,1002,996,562,482,772,1360,1166,903,1122,942,825,1132,1228,1296,1560,1606,1676,1434,1136,576,272,397,677,703,720,725,509,667,661,306,280,485,534,526,558,520,462,484,637,1030,1388,1096,699,808,1017,1158,1116,948,780,623,493,480,600,854,1124,1598,1494,1013,583,502,296,326,401,377,421,491,402,485,519,400,342,244,179,210,196,246,464,574,474,383,342,355,351,351,454,569,363,534,368,385,524,484,326,425,565,419,267,293,356,399,645,1074,1152,1060,1090,1116,753,451,356,364,342,370,405,481,619,892,1226,835,487,673,675,548,723,937,907,1098,976,615,1024,1616,1156,810,1284,1716,1572,1450,1466,1456,1294,848,1262,1698,1348,1182,998,993,1200,1003,818,921,1054,1340,1324,1072,854,1212,1332,1076,992,843,919,1334,1388,1088,889,1176,1454,1450,1446,1490,969,700,1078,794,496,436,390,677,1022,1004,950,832,1072,1192,1230,1226,669,620,558,379,317,321,315,247,386,472,486,509,725,664,399,361,447,883,1406,1580,1288,969,957,877,756,901,904,1536,1416,1454,1578,1664,1604,1274,837,502,780,1128,1038,1168,1030,680,1005,1318,808,434,532,684,1018,1182,1104,997,955,742,485,359,361,388,408,838,1142,939,897,1104,1124,857,736,888,612,365,458,700,769,508,316,408,763,997,1011,1716,1484,778,708,723,1021,1090,1005,1024,1748,2224,1370,736,932,890,932,897,991,1086,661,601,772,1018,798,533,442,325,430,901,1156,897,595,405,384,448,927,1482,927,760,970,850,666,500,462,387,463,577,724,494,808,1250,1394,1140,1017,1172,1052,1086,948,658,466,622,535,517,653,736,753,669,598,402,428,521,602,698,620,473,468,495,559,536,977,1318,1324,1120,772,637,655,669,741,1274,1042,948,874,951,937,923,1010,902,922,636,689,1016,1028,1050,1274,1174,1005,1096,1100,1050,960,1052,1290,1384,1232,1082,1112,1012,1202,1554,1322,1032,927,1068,1054,493,584,1050,1294,1080,561,740,872,681,534,910,996,860,1094,1034,1148,1058,659,727,739,852,738,839,929,1080,1140,1086,1007,888,897,979,991,1026,566,819,1350,1188,772,1192,1284,976,968,1023,1232,1338,769,1108,1450,1326,894,725,830,1018,1026,790,606,741,933,1380,1346,1100,995,939,902,908,998,996,1064,1136,1166,1302,1372,1136,985,1470,1398,1520,1086,736,1070,1218,1268,1272,1282,1490,1500,1188,1068,1142,1256,1146,727,659,1042,1306,1072,990,1244,1132,968,1062,1250,1192,926,717,664,834,977,811,1094,1254,928,684,724,747,734,694,697,722,661,634,1086,1174,1036,974,803,816,1084,1164,1062,935,664,734,820,1146,1282,1228,980,706,636,539,472,558,715,830,823,1084,940,993,1664,1836,971,706,921,955,756,890,1290,1432,1864,1982,2048,1572,1522,1136,617,425,442,740,990,444,664,1078,944,1176,750,601,1017,833,740,844,700,706,704,649,500,714,1278,1280,789,568,841,1292,1620,1622,1322,1072,1074,1138,889,786,708,815,1002,899,1058,1064,681,848,1068,705,762,1252,1062,472,469,656,1956,3122,2350,948,608,763,406,376,443,367,332,413,344,374,501,516,433,455,473,303,307,341,316,405,580,599,865,792,641,550,518,689,833,623,417,792,1412,1158,607,753,1036,924,949,769,1020,786,673,643,703,1066,1482,1482,783,463,478,540,844,618,602,552,991,1078,1084,1250,1356,1362,1220,954,512,618,836,1012,1640,1798,1316,843,852,881,1120,1354,1954,1456,739,1142,821,390,332,307,446,613,611,570,415,568,825,698,471,522,985,1234,1256,1026,1130,1410,1544,1126,897,1284,1052,882,1018,571,390,361,871,1007,1308,1232,791,857,813,982,875,463,315,377,350,299,390,479,565,714,716,675,737,614,580,432,312,252,261,286,422,690,591,377,749,1064,642,454,489,637,1246,1748,1084,426,420,486,481,599,869,823,395,194,417,664,685,530,456,477,604,779,731,572,542,783,673,432,344,270,267,281,284,300,421,550,684,1594,2830,2292,875,623,461,323,408,576,818,642,646,980,861,550,477,800,1116,984,489,455,710,580,953,1312,1174,952,772,459,445,736,796,709,637,937,826,593,589,751,1084,1002,672,458,261,267,302,341,291,285,515,816,761,530,373,349,320,263,224,238,265,259,480,917,742,572,444,733,1108,1274,1888,2768,2518,1548,2100,2698,1540,968,715,542,789,1246,1526,1366,1504,1302,810,476,884,1322,1390,1498,1468,979,601,582,737,528,404,662,929,1040,979,1015,976,1206,1676,1520,1154,1048,1132,836,627,867,1290,1296,1100,705,885,1402,1202,1028,1248,1478,1670,1130,868,1164,1280,1224,1148,1278,1326,1776,1822,1720,1594,1384,1638,1676,1510,1406,1086,1046,1218,915,979,747,735,835,813,1138,1556,1288,700,436,448,536,561,926,1420,1586,1602,1498,1636,1498,1176,1152,1478,1656,1684,1540,1312,1500,1266,705,892,1238,1330,1306,1522,1726,1718,1654,1666,1388,1040,1174,1082,862,810,821,902,932,982,781,1086,1458,1422,1344,1012,756,1021,1616,1722,2056,1976,1172,694,623,848,1056,1066,1340,1706,1474,1328,1310,1472,1406,1182,1072,1128,1140,1078,1090,1326,1642,1310,903,1020,1010,959,846,868,1030,979,1206,1384,1256,869,602,712,856,993,697,892,993,818,859,1330,1360,1166,1396,1512,1376,1188,1224,1452,1044,696,1002,1090,1306,1288,1302,1450,1384,1302,1286,1312,1246,1376,1392,1466,1572,1436,1412,1156,1080,1448,1704,1688,1548,1294,1210,1354,1362,1306,1576,1090,977,1168,1400,1350,1138,1158,1264,1404,1528,1482,1256,1320,1450,1284,1242,1304,1180,1021,1172,1336,1180,1056,1206,1192,1152,1042,1066,1118,982,1138,1274,1238,1120,1034,1118,1128,1108,1130,1260,1346,1294,1098,1038,1248,1254,1088,1048,1098,1104,1160,1250,1160,1306,1290,1312,1346,1338,1372,1562,1332,1140,1198,1232,1344,1360,1382,1460,891,555,454,568,1076,1150,818,1174,1658,1488,1318,1596,1446,1290,1322,1150,1118,1068,1074,1190,1158,1230,1352,811,445,642,585,538,476,378,318,430,641,801,902,928,974,1019,960,1032,1194,1262,1162,971,850,899,964,739,637,888,1262,1564,1800,1522,1086,1128,1382,1328,1168,1524,1776,1388,835,801,670,698,802,1016,1052,1208,1650,1366,714,692,908,744,591,634,861,1130,1102,771,921,991,882,753,595,713,790,948,1190,885,472,666,978,745,725,678,969,1238,1034,927,1066,1326,1130,1048,1130,1356,1460,1394,1246,905,864,1136,850,794,1126,811,541,833,828,671,579,629,767,756,792,477,389,1030,1612,1748,1610,1336,965,816,731,972,1110,922,930,969,753,628,734,757,1034,1432,1486,1126,785,780,807,655,802,1650,1924,1370,1230,1186,947,815,499,549,747,778,605,920,670,336,263,335,331,236,206,229,373,544,446,306,327,362,478,489,533,596,517,424,399,377,397,474,465,419,473,568,552,484,509,441,351,560,912,850,666,639,394,495,358,527,1062,1404,1418,1226,1166,1186,1212,1468,1342,1003,963,1212,1056,1136,1020,652,627,979,1130,1180,1122,1042,999,680,457,446,514,733,1030,1188,1252,1216,1382,1528,1452,1294,1470,1610,1672,1466,1396,1566,1448,1180,1290,1744,1592,1028,1054,1268,1158,1426,1590,1538,1676,1318,1260,1488,1270,1154,1286,1334,1338,1350,826,498,487,759,803,812,964,1194,969,1182,1422,1222,1256,1168,705,353,366,414,623,480,427,462,477,476,586,942,844,593,1216,1270,1078,989,1104,1146,1146,1288,1416,1462,1340,1122,1074,1234,1354,1174,1098,1330,1094,993,1082,1202,1366,1196,1080,1204,1554,1566,1142,1010,1244,1264,1268,1350,1234,1096,938,919,1046,1086,1158,1234,1232,1258,1306,1372,1598,1318,1248,1170,1294,1372,1372,1234,1192,1084,953,1050,1252,1290,1300,1134,1084,1098,1132,1242,1422,1428,1434,1476,1486,1574,1234,1324,1398,1366,1190,861,940,1152,1352,1306,1372,1394,1364,1552,1514,925,975,1140,957,893,750,1190,1316,755,850,944,730,529,815,785,673,642,761,1102,918,568,702,963,921,1005,1232,1050,1254,1324,1102,1158,1226,1110,1064,1386,1414,921,528,556,540,614,558,923,1346],[575,438,435,451,374,388,401,526,984,1570,1698,2130,2518,2492,2486,1974,1882,1278,498,383,425,387,345,355,362,320,296,385,471,547,645,538,323,301,279,315,350,406,612,880,820,730,581,658,908,959,1090,1242,1692,1536,1396,1028,667,671,813,819,753,653,630,675,534,400,456,630,813,764,450,395,728,832,775,809,605,470,393,403,377,381,478,551,481,501,608,668,479,341,377,475,462,467,469,836,983,1332,1476,1018,854,836,703,709,824,835,477,478,909,948,749,460,424,334,228,284,348,310,355,359,451,1108,842,608,465,503,771,788,589,434,651,951,973,803,711,496,760,715,1224,1332,1074,710,625,935,1078,915,712,800,1080,985,981,740,565,969,1060,1008,1150,738,444,1086,1007,551,368,345,368,399,482,473,421,515,698,796,1040,1168,1196,1152,1084,772,447,358,401,427,469,583,746,846,1062,1514,1003,455,329,275,302,400,717,680,415,474,460,437,321,216,189,191,223,264,291,343,484,492,380,504,440,446,483,451,582,563,294,445,473,397,580,671,529,431,395,365,280,341,328,362,504,928,1150,1056,1064,872,586,453,365,368,333,388,431,526,579,671,896,658,413,607,944,1074,1046,981,1015,1278,1046,1344,1338,1090,888,839,1308,1562,1324,1402,1408,1320,1366,1248,1432,1604,1522,1023,523,744,1266,1136,819,794,990,1216,1064,1070,1086,1160,1386,1202,1246,1172,1228,1650,1444,912,709,1190,1220,1428,1324,1246,1050,932,1158,897,459,393,437,668,885,1320,1158,841,1018,1256,1234,952,585,489,415,317,336,362,442,410,416,348,363,323,430,467,411,422,819,1406,1486,1310,1292,1142,971,1015,859,725,911,1312,1017,1062,1082,1084,1160,1246,1208,1064,976,1010,975,1088,1000,731,1058,1378,935,538,532,836,1182,1176,1332,1022,1104,828,592,480,358,330,505,1234,1576,1108,1278,1610,1174,505,427,785,625,417,455,492,466,378,339,595,1124,1244,1226,1224,881,543,576,618,1006,1126,940,895,1248,1500,916,464,545,550,780,689,789,569,550,698,827,1176,1124,683,614,431,558,877,926,647,530,339,346,518,810,794,555,768,1068,927,797,516,510,658,423,285,423,413,590,1019,1354,1034,793,1174,1166,1198,1180,935,480,343,359,421,439,785,862,705,769,510,513,533,561,625,581,511,423,433,535,557,756,964,962,970,952,902,843,1050,1100,935,882,1016,1092,1204,1017,858,1046,666,814,623,622,883,918,1015,1076,1122,1230,1378,1418,1300,1162,1013,1084,1258,996,1198,1238,1178,1284,1566,1316,733,455,565,641,496,493,690,979,1182,775,715,731,486,548,1060,1044,868,1114,1240,1328,783,508,428,452,808,1030,1198,1286,1300,1234,975,883,686,563,583,871,669,491,692,1070,863,1100,1572,1408,1268,1014,1066,1436,1640,1038,982,1088,1104,880,665,577,688,938,982,869,1158,1248,1422,1168,1166,1234,1046,955,1106,1120,1013,1094,1372,1556,1142,1056,953,868,1104,1244,1290,1228,1166,1152,1278,1626,1652,1314,1352,1460,1314,1122,1100,1110,1228,1100,1140,1318,1452,1318,1204,1134,1122,1090,1017,877,753,639,686,702,697,774,697,894,1216,1120,621,664,714,717,710,692,756,665,595,709,1050,1264,1174,986,879,1166,1162,925,916,690,571,771,1242,1402,1262,901,609,525,447,440,670,979,1120,838,566,706,833,1880,2740,1830,717,754,1202,1132,927,1150,1342,1574,1880,1556,999,1024,1084,856,466,378,602,1078,542,785,702,373,601,938,866,1000,934,584,765,766,637,695,556,482,758,1210,1154,775,513,830,1456,2066,2670,2534,1682,1106,1190,1174,1038,919,1092,1192,1128,992,706,576,839,1116,720,1184,1148,619,389,378,452,2096,3096,2128,853,516,565,279,344,354,299,313,368,368,402,419,466,446,605,691,460,397,348,767,1021,747,664,725,550,445,393,413,467,559,648,582,1158,2222,2334,1726,1454,1382,969,720,678,663,514,632,843,1026,1170,1028,707,719,816,986,1122,709,560,528,657,912,785,792,1066,1326,1506,1442,967,667,813,959,1318,1822,1932,1314,927,1110,1070,1250,1068,1932,1166,954,1192,655,371,330,338,455,566,883,1134,594,547,588,517,475,510,595,931,1234,1262,1004,948,1300,1096,890,1268,1250,742,575,420,348,426,397,414,799,1072,730,918,766,574,615,799,562,423,408,376,321,230,305,649,1226,1246,1252,1930,1182,728,503,296,309,397,473,513,585,461,437,519,462,437,634,662,793,1178,1028,629,446,453,444,437,349,315,268,275,697,949,1004,933,572,267,368,500,329,275,355,449,747,597,342,453,554,547,615,493,465,778,818,759,1344,1018,445,441,478,392,305,415,424,334,413,597,758,1056,1132,1058,752,471,492,783,1068,1192,1416,1368,1328,1282,849,416,430,505,666,431,501,794,916,713,360,292,476,623,830,639,336,286,280,391,415,315,281,628,896,677,370,343,254,291,290,307,301,300,475,540,682,739,496,397,697,993,1068,1412,2322,2792,2790,2480,1368,931,850,858,1268,2272,2312,1326,1572,1252,967,575,713,1005,1126,1336,960,630,1013,1044,575,321,622,1536,1684,1428,1198,1254,1052,1128,1084,1122,931,718,863,1032,846,597,1128,1258,756,363,561,1324,1402,1184,1176,1484,1660,1222,921,1456,1538,1600,1410,1242,1454,1686,1636,1806,1698,1366,1478,1604,1656,1512,766,537,646,565,908,794,941,1112,1246,1662,1452,797,528,494,451,399,362,797,1106,1302,1460,1498,1568,1432,1250,1382,1722,1672,1518,1188,1088,1202,1080,639,600,1172,1316,1366,1526,1610,1486,1476,1616,1252,824,1015,1088,1148,1412,1666,1410,1108,954,954,1274,1530,1372,1154,800,749,1220,1306,1328,1682,1366,843,592,892,1066,816,853,1150,1924,1508,1178,1286,1270,1100,1080,1206,1286,1314,1242,1230,1324,1564,1296,1218,1208,1150,1266,1342,1220,1002,827,939,1366,1518,1050,861,1054,800,656,626,780,647,514,545,733,769,888,1476,1814,1628,1158,1188,1556,1340,1078,1104,1212,1506,1592,1376,1238,1224,1182,1266,1192,1260,1304,1368,1302,1166,1316,1532,1522,1532,1636,1626,1614,1230,1368,1484,1350,1372,1576,1460,1138,1238,1440,1410,1206,1128,1112,1272,1308,1588,1544,1394,1378,1390,1306,1272,1368,1204,1100,1120,1021,1062,1130,1156,1200,1186,1036,1160,1262,1248,1686,1856,1412,1140,1232,1406,1274,1020,1248,1338,1296,1232,1056,1084,1286,1246,1200,1198,1218,1272,1318,1216,1104,1240,1210,1172,1366,1322,1328,1616,1428,998,1136,1272,1224,1408,1488,1426,1510,1066,384,538,894,897,671,1210,1584,1652,1638,1316,1510,1728,1280,946,982,1064,1236,1350,1526,1688,1378,635,384,484,483,397,407,445,484,642,929,1066,978,887,983,1060,1122,1136,1164,1152,908,550,503,891,1000,964,1260,1092,1104,1092,1460,1406,1138,962,1112,1252,1372,1522,1494,1156,750,888,705,981,924,904,1262,1794,2338,1922,1064,1086,1340,1212,1160,823,807,1058,1224,1166,1003,836,1064,1028,899,879,477,506,908,1102,802,477,595,938,990,994,1194,1522,1740,1238,1096,1314,1206,1100,1302,1400,1432,1530,1260,951,1058,1288,938,799,898,937,1016,1284,1310,880,819,819,637,672,1046,919,728,1288,1764,1486,1096,1120,1176,1724,1224,968,1026,1112,1136,1044,833,761,727,891,1396,1554,1668,1606,1376,1042,634,667,1108,1844,1898,1372,1238,1336,1302,1302,947,610,903,1048,1024,1192,572,236,253,285,284,264,243,287,307,344,449,361,333,318,342,405,502,610,673,678,504,380,550,576,393,343,495,803,662,469,443,425,402,351,442,450,425,534,802,1010,807,1158,1426,1142,897,913,1015,1024,973,1332,1324,1390,1376,1254,1228,1182,940,752,705,824,1054,1194,1082,1005,1290,1090,614,415,415,611,827,1120,1222,1180,1210,1294,1628,1692,1686,1656,1632,1454,1168,1382,1222,963,951,1318,1236,700,700,1030,1046,1168,1288,1472,1498,1248,1282,1336,1242,1032,1158,1446,1528,1080,610,492,414,468,615,832,968,998,872,777,820,888,990,1068,682,574,807,720,589,467,416,426,460,440,572,1118,1336,987,937,943,786,905,1138,1200,1260,1402,1422,1290,1190,1264,1330,1412,1504,1294,1180,1324,1338,1352,1290,1378,1450,1366,1182,1120,1226,1178,1178,1604,1232,1148,1054,1148,1290,1202,781,758,1122,936,1112,1238,1378,1312,1268,1414,1642,1450,1110,1046,953,964,1080,1076,1142,1002,1030,1236,1142,996,1124,1198,1112,1108,1134,1164,1370,1334,1406,1530,1588,1622,1368,1444,1360,1324,1338,980,647,910,1230,1214,1336,1406,1348,1404,1288,1216,988,860,756,743,597,840,1072,1140,1194,988,921,709,688,593,826,965,945,1020,1076,935,670,728,959,1036,1332,1274,891,896,974,983,869,918,1056,1240,1534,1324,694,531,703,1102,792,760,1116],[1546,849,489,419,296,267,356,624,1194,1602,1502,1780,1964,2066,2288,1756,1850,1080,429,395,408,351,328,347,336,282,302,347,399,413,455,347,269,289,287,291,293,295,343,367,450,517,497,764,1070,930,673,994,1298,1368,1336,1007,785,739,798,894,912,942,1026,1204,816,437,430,419,465,433,379,409,597,1028,1174,1116,605,389,379,429,441,434,638,749,655,633,766,952,685,501,400,339,373,392,532,947,911,1001,1212,1146,1206,1116,836,608,748,764,443,615,1140,1294,804,357,340,350,318,322,279,327,419,365,286,415,511,560,535,628,649,908,899,480,529,979,915,725,643,414,314,967,1754,1298,1086,1084,1598,1648,1210,1148,745,503,480,582,1078,1162,848,1036,702,450,434,341,485,875,847,897,645,356,442,513,565,590,789,982,1156,1172,1140,988,817,680,630,458,273,296,433,447,409,514,702,1013,1202,895,371,328,320,423,478,369,514,420,345,366,294,285,226,207,214,230,241,240,276,329,397,477,661,727,385,325,292,351,583,581,345,419,485,335,441,431,381,459,622,593,446,415,332,422,578,917,1246,1150,1184,983,713,450,408,412,455,436,456,499,481,647,756,571,414,669,1346,1302,1506,1330,1332,1488,1164,1256,1156,1110,943,822,1224,1768,1172,1358,1556,1490,1532,1526,1654,1534,1488,1270,648,629,1076,1290,1158,667,811,848,868,687,630,993,1350,1340,1440,1188,1096,1384,926,702,672,826,949,1200,1330,1356,1208,1024,1078,1108,938,612,410,413,488,721,783,1294,1426,1022,835,937,800,657,511,387,368,368,410,457,386,346,383,386,308,323,363,445,789,1174,1062,933,1196,764,628,843,832,666,1024,1062,935,1104,1204,1044,913,1200,1424,1324,1078,745,707,620,655,742,872,913,731,492,506,764,1112,1092,1242,1182,1264,1074,922,880,557,292,405,948,1294,1246,971,862,805,461,487,639,491,407,380,320,322,334,380,812,1160,1302,1088,750,691,632,586,733,1032,1150,1432,1522,709,463,453,563,883,939,1012,954,669,414,643,724,684,758,978,647,607,1238,1710,1482,733,357,384,293,348,626,968,987,700,895,1130,913,713,538,532,605,383,253,432,549,591,926,924,861,961,1154,1234,1350,1200,922,590,483,440,412,471,569,494,572,959,796,675,548,568,622,659,641,498,412,516,627,615,764,790,872,1130,1316,1372,1318,1068,921,804,995,1396,1560,1082,590,646,523,541,961,1316,1114,896,916,971,1036,1086,1248,1398,1322,1052,1058,1186,1246,1208,1400,1400,1378,1440,1482,1476,1108,760,598,639,599,677,763,791,933,1064,1288,1114,829,974,1040,844,910,1118,1442,1284,619,336,319,395,811,1356,1368,1198,1026,918,913,765,747,751,561,506,462,678,859,694,679,1186,1412,1416,1388,1230,1386,1340,1176,1012,821,661,661,833,991,1008,971,1013,1046,991,1146,1352,1484,1198,1204,1306,1132,1100,1180,1154,1124,1166,1202,1048,956,919,960,1070,1013,1100,1368,1390,1214,1128,1354,1484,1252,1208,1150,1150,1404,1332,1214,1176,1148,1158,1228,1388,1466,1198,1146,1310,1224,783,836,939,854,628,659,760,744,781,691,760,1140,1356,711,625,709,697,614,645,724,800,755,687,877,999,924,792,754,961,974,1076,1146,1009,884,917,926,1108,1402,1174,857,565,477,456,744,1144,1222,988,872,941,890,1172,1346,1004,879,605,756,884,966,1102,1328,1362,1360,1066,1136,1104,819,982,647,372,578,887,482,986,837,419,391,996,1214,832,991,512,692,763,597,706,549,456,744,982,967,789,539,902,1428,1792,2148,1904,1266,1005,1242,1250,916,589,777,882,557,440,695,970,926,1164,839,1108,629,349,371,431,877,1392,1282,1138,553,421,405,287,361,366,318,325,315,307,379,370,356,428,474,571,670,678,612,1114,955,530,771,610,376,390,356,390,646,1412,1698,1226,1482,2240,2530,1992,1364,1130,963,811,749,628,437,483,835,787,893,888,713,723,819,1164,1218,816,627,534,477,527,514,519,568,684,1388,1554,1346,1304,1278,1252,1506,1928,1858,1224,1258,1222,855,915,890,1660,980,562,562,423,346,328,415,758,859,818,867,800,650,555,647,617,576,490,593,1066,1692,1462,1212,1082,1028,1082,1180,1202,708,379,365,457,549,541,328,372,622,529,681,648,530,442,764,841,546,429,537,509,416,330,474,1238,1362,1716,1932,1050,783,621,370,396,450,393,360,500,678,346,254,344,313,510,760,543,499,846,893,883,682,414,394,346,370,379,449,621,619,918,1074,565,284,349,426,364,379,362,323,332,450,397,397,781,1134,1048,938,1112,1130,752,695,791,613,502,519,616,485,269,291,324,441,513,760,1184,1284,966,583,420,501,709,1204,1732,1732,1284,946,802,763,667,374,393,468,435,428,647,788,730,629,456,279,332,324,668,847,546,345,311,322,292,288,342,496,464,468,547,429,318,442,449,590,649,542,492,519,559,581,661,517,406,520,789,866,1230,2214,2656,2734,1918,1196,1158,1054,1128,2030,2282,1384,1460,1102,990,930,662,898,957,867,843,832,1012,841,714,858,1236,2124,1902,1574,1344,1158,836,820,974,1064,780,435,477,789,960,767,946,1230,756,410,665,1360,1794,1556,1354,1486,1700,1416,1338,1806,1660,1634,1318,1168,1564,1830,1682,1758,1714,1384,1500,1508,1698,1564,614,417,899,844,949,946,1042,1266,1448,1494,999,733,416,418,454,435,712,1001,1298,1554,1568,1528,1602,1684,1572,1544,1464,1472,1446,1068,807,637,885,788,637,764,978,1148,1258,1428,1264,1386,1600,1350,1172,1176,1206,1454,1702,1872,1958,1640,1204,970,1132,1248,1186,836,622,1034,1192,993,1050,1034,855,664,707,1254,1164,1086,1100,1144,1272,789,765,1108,1134,948,932,994,1106,1138,1090,1172,1230,1522,1364,1336,1172,1011,1140,1188,1122,1156,1170,1148,1216,1210,885,896,1476,1082,681,774,807,705,572,554,599,664,740,1230,1512,1382,1288,1278,1450,1448,1060,734,1014,1432,1570,1266,1334,1288,1268,1222,1372,1388,1350,1456,1384,1312,1462,1588,1770,1682,1776,1764,1534,1292,1406,1422,1310,1462,1494,1326,1226,1264,1340,1282,1354,1268,1190,1284,1436,1482,1506,1552,1586,1696,1508,1600,1560,1242,1310,1278,1008,1078,1102,1128,1188,1058,915,1020,1112,1306,1604,1508,1322,1286,1440,1522,1270,1172,1402,1460,1332,1134,739,735,929,1176,1268,1356,1268,1246,1122,1007,1048,1198,1160,1100,1204,1288,1344,1500,1316,1130,1314,1194,903,1168,1346,1354,1632,1232,541,677,977,1112,969,960,855,1216,1166,1154,1738,1666,854,442,518,756,1028,1590,1810,1746,1252,637,541,670,687,484,478,665,951,914,919,952,1130,989,916,896,1034,1172,1188,989,768,742,675,1092,1030,1034,1256,1338,1390,1102,1088,1238,1082,956,1392,1470,1246,1464,1388,1268,1140,1046,947,1130,1214,1256,1352,1616,1970,1614,813,847,1184,1028,922,1050,846,896,1354,1318,882,820,1050,1376,1236,844,584,576,1056,1476,1326,958,903,1134,1160,1074,1128,1490,1318,956,1015,965,828,688,1001,1212,1282,1040,1026,1168,1234,1148,855,833,1120,1178,1330,1404,1534,1254,1166,909,896,882,745,1094,1384,1454,1388,967,1020,1218,1566,1666,1007,921,1202,1322,1050,684,673,752,1001,1390,1406,1560,1482,1352,1584,1338,928,912,1366,1682,1592,1264,1200,1158,1432,1222,871,558,702,758,1068,855,351,261,212,279,340,253,267,278,263,301,338,319,309,305,361,402,423,478,629,732,636,520,628,624,520,389,422,527,460,432,416,411,435,346,408,396,790,1180,1366,1346,1198,1248,1042,600,511,628,803,1064,1050,1262,1152,1390,1368,1252,1200,1250,1174,923,797,818,867,983,1120,1084,1410,1310,952,690,619,567,603,889,971,968,1122,1004,1392,1642,1566,1610,1534,1130,688,700,1064,1292,1290,1264,984,528,615,850,976,1208,1328,1372,1340,1166,1266,1394,1248,1218,1562,1664,1384,969,693,524,578,627,709,780,840,1218,1168,863,664,744,967,1005,574,629,991,777,489,476,472,501,501,458,443,788,1258,1352,1208,1090,973,1120,1346,1434,1418,1418,1354,1362,1018,1152,1498,1432,1250,1362,1360,1144,1324,1288,1198,1246,1260,1086,780,1058,949,869,1212,1708,1450,1192,1005,907,979,805,582,1030,1700,1382,1482,1390,1326,1310,1384,1500,1624,1516,1302,1204,959,966,1166,1256,1078,1160,1164,1186,1216,910,895,1126,1138,1320,1296,1172,1162,1162,1360,1676,1574,1332,1312,1360,1306,1318,1208,879,633,641,1186,1204,1152,1290,1346,1348,1264,1158,895,695,695,774,846,1078,1126,805,1042,997,892,754,790,695,791,860,899,1274,1344,887,569,815,1160,963,1042,973,626,588,814,887,733,836,1152,1318,1396,1416,996,805,1290,1388,1120,1172,1186],[1418,650,416,431,385,389,428,836,1678,1732,1268,1428,1334,1444,1416,1218,1280,747,364,370,368,352,359,354,322,294,284,320,361,367,332,269,247,255,265,266,252,272,372,462,471,425,350,450,662,653,567,673,765,981,1184,782,861,1174,1146,1266,1334,1324,1390,1292,700,405,395,355,412,459,439,432,647,1040,1284,946,503,351,368,391,394,431,553,681,817,836,1007,972,494,457,401,311,337,331,441,700,836,904,724,1048,1278,817,480,529,620,583,717,887,909,714,478,355,357,370,335,329,384,342,376,352,336,390,505,520,600,668,430,659,692,389,412,822,979,942,799,651,546,943,1686,1276,1190,879,1272,1572,1300,980,542,420,478,552,824,963,486,476,671,675,493,300,871,963,666,808,539,357,521,778,1084,1132,1264,1246,1272,1272,1122,853,599,437,417,346,263,347,446,492,526,525,656,961,900,583,468,530,527,635,590,420,397,539,549,369,235,220,210,185,214,255,273,231,270,363,409,383,460,441,335,374,336,280,327,366,267,344,533,371,411,505,549,477,1116,1170,544,381,327,364,525,907,1396,1270,1192,1040,774,426,376,404,451,482,479,427,519,774,487,393,366,378,460,694,1280,1460,1538,1390,1142,1150,929,673,488,789,1328,1346,1158,1118,1428,1422,1216,1296,1568,1520,1714,1616,889,573,888,1168,1104,691,698,778,800,934,1182,1066,887,1050,1242,966,1050,1154,912,581,486,656,719,899,1358,1516,1274,1062,1110,1298,1124,531,383,713,980,654,886,1550,1510,827,766,1072,1072,836,643,684,582,575,659,510,382,363,324,296,384,561,559,462,511,779,1144,1468,1576,974,666,906,718,609,941,825,717,1188,1998,1434,1042,1204,1304,1152,893,715,518,663,1048,1190,1204,924,642,586,709,735,882,1030,1082,910,830,902,1068,1094,592,311,418,514,865,1036,587,401,453,377,425,428,310,278,312,283,276,271,302,608,1011,1198,1142,854,723,902,984,1092,1234,1240,1174,1490,874,1023,1228,846,865,1294,1456,1288,872,698,673,550,479,568,1030,979,719,944,1116,1260,768,450,484,328,387,544,710,863,625,632,953,1102,954,778,678,713,608,401,557,730,543,624,796,960,950,1072,1134,1054,976,910,869,805,545,442,493,503,490,585,875,860,748,635,577,511,520,497,401,383,489,513,531,821,1092,1360,1556,1476,1548,1472,1260,1220,1060,1036,1130,1252,962,847,898,659,452,758,1096,1024,880,980,907,729,1001,1140,1210,1262,1030,808,644,825,992,1026,1148,1346,1262,955,1440,1294,1298,1012,816,821,1104,1110,932,877,988,1282,1276,1070,1080,814,835,763,1068,1756,1272,511,337,454,477,656,1076,850,709,644,647,688,536,766,925,1094,850,621,981,880,412,456,878,1236,1212,1122,1252,1434,1498,1412,1304,1088,729,603,1036,1264,1262,1282,1400,1070,1046,1230,1416,1516,1308,1216,1172,1158,1144,1284,1208,1166,1100,1164,1142,1194,854,619,819,1094,1378,1520,1456,1426,1430,1250,1232,1058,1284,1296,1072,1288,1408,1356,1246,1200,1166,1240,1384,1504,1460,1528,1360,1013,530,445,420,514,654,869,1003,798,975,1032,760,786,1230,863,720,778,645,610,705,748,764,748,729,764,822,791,760,972,1128,1112,1098,1130,1098,1106,1258,1080,1106,1282,1228,1050,688,518,418,648,979,1062,1098,1202,1128,1130,1310,1032,1002,1074,536,570,1190,1344,1230,1296,993,530,697,1316,1412,1030,987,932,543,411,490,333,807,990,677,564,799,842,653,1074,569,692,637,541,764,766,562,667,1076,1226,940,582,833,1296,1490,1458,1254,1010,956,1198,1358,1056,561,641,694,487,474,575,717,708,1286,1104,732,450,355,330,475,1040,1166,837,780,501,608,449,289,357,337,301,361,331,328,514,515,337,332,281,304,529,652,648,691,458,487,795,698,755,691,577,634,661,1356,1882,1524,1102,1924,2072,1018,845,1013,655,603,771,720,715,391,407,463,499,477,501,455,430,531,469,477,550,491,498,738,740,573,566,614,885,1192,1364,1218,1178,1230,1284,1498,1438,1144,1296,1036,984,1042,1670,1682,664,408,411,367,318,307,517,800,896,754,625,1044,926,768,775,620,603,918,997,976,1678,1570,1434,1320,1162,1026,760,819,976,825,599,824,944,956,396,277,318,305,453,434,578,595,576,822,985,541,393,571,587,419,547,943,1386,2106,1686,1001,1206,896,645,493,435,822,472,684,1002,570,320,405,346,426,780,724,349,537,506,788,1060,918,615,488,425,500,569,380,258,417,658,469,493,852,619,345,448,587,535,357,485,475,319,771,969,676,704,632,597,689,742,717,774,783,721,846,929,513,335,524,624,738,911,839,593,440,351,426,623,846,1388,1644,1272,924,890,641,471,599,471,402,363,315,348,518,693,622,604,639,525,399,319,572,1228,1126,525,294,304,377,447,552,523,453,411,457,448,675,767,453,567,957,911,563,648,496,383,647,534,418,334,512,930,926,810,1126,1678,1516,1240,1292,1218,1128,1050,1212,1346,1586,1018,756,1138,780,594,1026,1274,1246,747,775,1032,1046,1494,1382,1604,1950,1644,1180,846,308,390,762,1146,890,650,877,991,1064,890,817,1226,909,648,1126,1742,2006,1600,1288,1390,1582,1340,1108,1336,1318,1150,1108,1130,1466,1860,1644,1758,1736,1390,1700,1678,1874,1752,791,465,1360,1414,946,1011,1066,1552,1556,1060,846,920,593,471,565,890,1450,1578,1490,1516,1714,1526,1158,1204,1432,1470,1488,1566,1372,1422,1322,844,745,880,1056,1164,1264,1404,1300,1140,1082,1530,1744,1526,1308,1188,1362,1656,1702,1644,1712,1920,1448,1032,1062,1110,954,752,628,828,860,777,836,813,764,706,1088,1402,1066,959,1246,1508,1402,985,912,1270,1426,1188,1130,1005,1030,1004,1050,987,1250,1548,1564,1418,987,651,838,1011,1184,1206,1152,1230,1072,625,580,788,1600,1522,864,962,1152,673,550,591,599,736,697,847,1176,1396,1338,1190,1340,1512,1322,1142,1168,1376,1586,1374,1164,971,1172,1222,1256,1224,1288,1408,1328,1310,1542,1600,1340,1510,2100,1760,1094,1228,1352,1060,1194,1526,1454,1378,1266,1498,1340,1138,1204,1164,1152,1336,1354,1230,1392,1460,1580,1750,1576,1798,1522,1256,1142,1098,1044,1050,1040,1048,1162,1080,1052,1090,1218,1224,1244,1390,1252,1132,1274,1330,1176,1204,1384,1384,1062,1012,658,678,597,957,1188,1116,1084,1030,1048,1098,1144,1170,1110,1018,1108,1154,1246,1314,1378,1506,1334,1036,1070,1154,1122,1376,1458,1150,904,1014,1194,1134,992,964,1090,1188,1098,905,843,955,611,511,439,535,852,1544,1870,1846,1086,548,525,616,740,517,572,807,1250,1050,960,928,958,1018,993,934,1000,1060,1056,908,830,1023,1001,1266,1246,1019,908,1005,1102,1144,1166,1260,1250,1394,1614,1176,1186,1422,1314,1302,1386,1332,1300,1204,937,1132,1268,1284,1532,1688,1062,1023,1384,1162,1246,1258,1021,1110,1404,1246,1164,1296,999,1056,1090,899,911,996,1138,1300,1422,1250,1132,1170,1168,1154,1340,1356,796,883,708,626,661,670,658,965,1204,832,888,1250,1144,1040,1050,890,1140,1282,1300,1308,1502,1450,1250,1188,1338,1034,653,889,1066,1348,1160,1194,1418,1516,1508,1060,608,657,975,1246,1066,968,890,949,1290,1152,1218,1454,1312,1732,1722,1332,1376,1228,1044,1278,1356,1466,1558,1458,1318,1156,663,404,359,463,655,490,303,250,203,250,239,226,261,220,224,255,281,265,254,324,394,361,377,443,497,469,495,497,583,685,652,485,408,392,397,412,389,405,419,479,574,525,631,1076,1284,1366,1240,841,497,345,478,636,860,1184,1300,1342,1016,1120,1244,1218,1248,1168,1016,1060,1156,1202,996,1094,1076,1288,1608,1296,1004,1009,1166,956,648,728,844,700,926,1062,1396,1608,1584,1546,1336,1058,801,623,853,1416,1402,1032,1236,1156,869,650,735,1082,1130,1516,1798,1340,1218,1288,1320,1518,1888,1472,794,802,686,834,1180,844,566,800,1088,1003,686,880,1266,1390,946,697,464,418,495,469,590,536,483,552,561,457,466,634,1130,1438,1476,1334,1278,1396,1426,1546,1560,1406,1402,1356,1044,1180,1588,1536,1276,1700,1562,1100,1252,1070,1048,1100,927,948,706,1048,905,883,1294,1506,1186,1166,923,549,371,477,1440,1580,1598,1432,1294,1034,1094,1274,1208,1268,1562,1620,1540,1516,1236,1146,1484,1446,1168,1174,1216,1366,1334,1092,1188,1266,1220,1306,1222,1222,1142,1302,1884,1866,1406,1344,1452,1386,1400,1404,1286,1240,1030,774,883,1156,1336,1342,1340,1218,1114,1048,893,818,1236,1518,1306,1166,864,531,945,1306,1266,1082,957,932,694,608,706,1332,1152,659,557,1096,1418,1172,972,783,600,515,630,785,692,911,1142,1282,1172,1308,1188,1170,1208,860,1009,1376,1484],[777,375,323,293,377,506,550,999,1714,1736,1576,1318,922,825,916,1058,1170,720,322,330,342,325,436,405,299,315,234,285,300,305,314,288,246,253,236,236,244,301,357,429,419,350,322,351,365,379,465,725,658,862,1184,741,891,1366,1408,1358,1266,1240,1350,1138,592,384,347,349,376,359,409,471,623,734,634,498,407,335,331,319,366,426,518,633,650,685,776,811,486,301,340,367,354,337,302,375,858,1498,1172,829,975,825,566,386,640,1154,1218,928,722,408,355,334,308,275,314,404,405,305,297,360,375,355,432,460,636,829,866,541,336,424,715,922,636,718,1136,1260,955,1070,1376,1090,1058,892,924,1146,1310,1268,1242,1086,844,634,991,805,420,276,587,702,567,381,542,533,351,324,542,872,1154,1314,1394,1440,1250,1106,1024,1098,1054,624,494,361,270,266,329,456,612,694,539,393,434,440,428,440,527,673,615,677,793,530,470,495,621,559,353,292,272,244,242,251,234,225,316,491,480,422,348,383,569,508,372,389,391,500,480,615,890,642,633,730,593,455,1158,1246,581,349,397,430,569,915,1298,1232,1032,885,673,431,425,490,436,389,396,442,574,731,468,472,408,439,556,804,984,873,876,791,757,1084,1122,956,606,760,1612,1244,1004,1056,1013,885,808,1146,1402,1536,1672,1344,856,717,1036,968,700,588,755,1052,1023,1272,1498,975,585,744,1048,1388,1328,1252,920,612,510,590,659,781,982,1074,978,714,720,1078,829,447,276,866,1172,947,1046,1470,1340,716,1088,1150,941,770,498,603,736,830,943,721,440,402,370,711,1072,957,760,588,654,781,1056,1562,1418,692,618,958,897,722,1144,946,730,1302,1986,1318,967,1100,1024,782,802,819,658,811,1156,1248,1314,1005,967,1270,1186,963,1134,1122,892,786,585,839,1278,861,401,419,528,576,637,708,688,527,405,296,344,359,312,285,306,273,256,255,267,359,846,1226,1274,917,706,858,1050,1024,1054,1356,1500,1434,1188,1408,1460,1062,1028,1388,1626,1416,1020,776,803,516,443,600,1012,854,792,1466,1434,637,437,489,539,357,400,620,940,998,643,536,1078,1144,1152,1218,843,964,949,818,777,1038,953,953,1152,1380,1122,1108,1108,939,922,893,610,608,513,508,532,510,424,464,568,547,672,750,590,469,426,492,439,408,604,617,535,682,1080,1348,1438,1326,1296,1196,1042,1200,1230,1076,1002,1256,1017,909,836,555,422,552,725,703,716,1056,841,716,1166,1180,1094,1286,980,802,848,633,538,472,513,944,1156,698,1260,1296,1422,1076,953,1066,1222,1338,1168,1140,1062,1288,1406,923,698,860,1084,680,493,540,420,372,427,688,608,536,780,545,638,684,540,497,711,791,761,879,658,626,795,633,630,888,1018,1040,787,810,963,1134,1296,1424,1366,1192,1054,1046,1382,1282,1064,1048,1168,1021,1092,1220,1328,1170,1007,1064,1009,960,998,1072,1015,1038,913,825,1104,1288,938,865,1128,1394,1292,1446,1406,1400,1412,1146,1184,1320,1396,1320,1158,1222,1188,1068,1166,1420,1400,1550,1604,1648,1600,1542,1186,1032,799,491,379,470,764,904,943,651,1036,1234,739,533,1042,1074,863,756,706,736,754,766,785,789,786,769,767,810,1114,1342,1206,1070,953,784,899,895,1104,1066,990,1038,988,905,808,581,669,988,1108,1066,1100,1122,1072,1136,1070,784,952,905,553,765,1196,1042,1036,993,558,540,786,935,1038,825,906,1068,960,713,446,292,497,863,877,834,1160,797,447,417,370,499,489,735,866,774,653,739,1182,1062,771,633,715,1180,1418,1412,1200,985,954,990,1070,841,487,669,708,462,325,393,444,641,1092,860,467,433,353,409,569,838,992,1144,1122,899,693,328,225,321,327,301,357,328,324,502,464,316,285,267,234,255,440,550,508,322,536,803,558,749,693,741,661,497,616,796,944,736,902,907,765,954,1060,641,502,575,989,1494,744,544,473,363,401,503,620,831,596,279,340,374,399,468,824,727,488,538,835,1007,1194,1136,938,1246,1100,981,1112,1484,1488,1394,1438,1574,1560,1976,1550,596,484,413,389,376,478,1006,817,638,473,524,846,846,693,596,630,912,1146,621,494,995,1350,1494,1124,853,898,914,722,668,1110,875,794,705,563,350,314,358,535,707,618,712,940,759,692,931,933,576,457,529,943,1078,1176,1624,1726,1042,1052,1636,1344,1248,824,532,922,543,566,689,475,567,877,746,406,542,459,305,740,775,658,548,373,474,691,845,698,418,262,265,343,401,341,550,822,485,403,615,854,922,592,661,948,378,465,593,651,771,525,419,572,620,639,655,727,1150,1124,537,393,610,647,461,459,543,344,204,259,362,686,1098,1542,1902,1692,1400,940,1012,729,673,674,451,403,318,440,673,594,634,576,1023,1090,794,557,506,478,861,1098,838,381,289,436,817,921,408,329,600,572,401,603,925,734,364,565,660,408,397,318,269,405,601,703,443,300,574,1032,1056,1026,1404,1440,1388,1262,1138,1128,1042,998,875,893,800,912,1204,970,844,1266,1312,1260,827,755,1102,923,1192,1448,1510,1976,1932,1250,845,299,496,959,1282,1322,955,883,753,661,637,872,1296,1266,938,1166,1498,1338,962,832,1210,1362,1136,843,1070,1202,1124,1282,1222,1374,1766,1764,1722,1754,1502,1580,1626,1576,1360,780,422,1254,1606,933,1170,1294,1688,1216,560,551,577,508,456,669,1234,1384,1188,1232,1346,1782,1666,1390,1102,1336,1030,822,1272,1258,1402,1578,1058,665,840,1236,1508,1878,2190,1816,1518,1578,1694,1700,1266,840,1078,1310,1236,1460,1434,1334,1754,1458,1334,1248,970,886,868,690,583,670,739,750,734,734,730,1146,1272,1204,1234,1382,1336,1152,1158,1158,1206,1192,1154,1170,1270,1172,1098,1040,993,1310,1526,1436,1168,1078,548,623,999,1210,1120,1092,1254,1021,671,634,739,1134,1210,1046,1356,1698,850,641,719,738,929,1064,1122,1276,1234,1034,1188,1454,1754,1764,1834,1394,1376,1434,1388,1178,1011,1011,1132,1232,1130,1190,1376,1450,1730,1666,1418,1266,1288,1420,1136,902,1118,1260,1238,1356,1170,1368,1498,1408,1470,1350,1038,746,539,835,1316,1318,1308,1354,1328,1490,1570,1466,1342,1256,1174,1116,1086,1024,1198,1284,1166,1306,1150,1312,1368,1286,1310,1342,1322,1086,1108,1394,1410,1444,1428,1328,1248,1052,1316,1166,1114,789,700,1070,1352,1306,1346,1294,1272,1288,1112,1154,1150,1152,1098,1100,1188,1366,1422,1136,940,1268,1154,1026,1346,1292,1001,1080,1070,959,907,1098,1070,976,1100,1152,955,719,1042,731,874,648,694,1100,1542,1814,1692,940,482,620,683,645,628,666,921,1180,937,834,891,1010,1096,1076,1001,1009,1118,987,860,883,850,1058,1148,1254,940,624,667,742,927,955,904,1292,1688,1480,988,1166,1248,1264,1228,1170,1218,1368,1418,985,1094,1186,1194,1052,1134,1174,1292,1286,1122,1150,1180,1202,1078,1028,960,1260,1256,1026,1180,1334,1202,1148,922,774,971,1090,1282,1548,1538,1308,1150,1480,1204,1186,1136,765,567,818,972,712,753,857,915,1108,1266,1174,885,995,1048,937,1058,1234,1330,1476,1280,871,813,1246,1306,1168,839,890,1116,1013,1108,1108,1110,976,767,547,546,791,1136,1166,1066,556,672,803,828,1214,1318,1176,1682,1950,1430,1376,1458,1476,1340,1502,1780,1698,1470,980,695,518,314,272,271,307,395,325,287,243,272,223,249,226,208,212,234,229,202,335,470,407,443,456,448,394,371,405,399,434,558,639,619,537,462,457,412,389,460,475,813,981,802,906,1042,1076,1188,936,908,758,437,544,728,1076,1174,1172,1034,818,1146,1256,1020,1086,1178,762,866,1021,1290,1250,1302,1052,1136,1378,1492,1274,988,954,1006,724,681,900,787,728,1024,1348,1642,1780,1640,1388,1356,1184,919,672,763,846,971,1332,1196,1064,953,857,1210,1510,1688,1650,1604,1444,1432,1442,1378,1284,813,542,518,408,659,941,673,704,1036,1264,776,637,846,977,1108,1098,785,412,422,410,452,933,745,552,601,572,398,618,921,1318,1522,1568,1504,1220,1396,1274,1622,1348,1406,1378,1218,1036,1092,1356,1412,1164,1198,1044,993,1236,1064,1086,1120,1017,801,475,433,694,1007,1346,1410,919,1142,962,689,740,1015,1230,709,683,1009,1130,1054,959,1118,1212,1462,1798,1674,1442,1262,1114,1144,1318,1396,1394,1290,1248,1254,1284,1270,1250,1244,1278,1310,1204,1098,1348,1580,1488,1324,1320,1224,1132,1360,1344,1396,1234,1100,969,814,1088,1356,1420,1506,1350,1220,1254,1258,1210,1170,1220,1458,1970,1786,1050,795,1320,1622,1616,1218,1000,771,667,919,700,868,932,578,529,1104,1134,819,895,872,718,722,1042,1084,727,974,996,976,1280,1510,1472,1356,1038,951,1122,1584,1578],[734,610,466,368,346,357,548,927,1282,1126,1060,1110,932,860,932,1212,1410,822,509,340,338,321,347,309,377,389,293,290,328,294,261,272,244,224,227,243,243,309,347,354,377,379,330,333,384,364,525,1014,786,650,986,910,988,1268,1346,1278,1234,1250,1268,964,506,470,435,423,409,354,419,537,589,639,590,509,410,325,367,327,375,430,515,597,688,661,569,512,376,311,319,333,382,398,289,298,387,827,953,608,547,564,471,368,493,899,1210,1082,754,462,370,365,347,338,321,290,280,270,328,455,448,337,388,449,600,717,934,918,850,901,992,1060,549,692,1360,1358,1264,1318,1428,1092,1192,1320,1007,1214,1430,1428,1778,1208,1122,990,687,382,280,271,417,378,349,418,469,613,701,898,1142,1180,1102,1024,994,1166,1272,1262,1142,1130,1160,601,352,317,344,458,498,565,590,502,333,256,250,259,302,402,536,752,844,804,583,411,439,403,352,418,491,412,416,345,284,260,266,316,362,494,407,275,270,519,697,418,305,327,350,573,565,459,752,615,485,457,326,370,613,775,750,579,593,610,634,968,912,745,634,538,486,415,452,510,451,399,469,495,510,556,491,521,419,449,628,1036,1294,1114,487,612,649,1072,1432,1350,1062,1122,1328,998,811,932,895,644,965,1001,1020,1384,1188,615,642,752,841,810,753,769,1007,1056,966,1172,931,656,532,695,884,1218,1390,1182,875,719,714,845,611,875,874,733,645,474,742,1020,1052,878,650,770,1052,1248,1356,1372,1356,982,1164,913,999,935,512,427,692,1030,1230,987,525,414,405,827,1020,777,767,677,843,998,954,1028,1120,951,781,1052,1232,1062,951,1028,969,1110,1416,942,686,1014,1086,1264,1080,926,1036,1110,1206,1392,1248,835,872,1126,1252,1134,889,898,1020,1186,641,533,871,514,476,729,974,1166,866,806,991,805,565,317,337,317,305,279,329,315,266,273,353,454,768,1262,1274,932,819,615,957,1136,946,919,1042,1208,1268,1260,1338,1090,919,1382,1680,1164,626,675,845,561,803,1178,1066,872,818,787,705,595,508,524,628,631,675,617,667,538,367,560,906,1021,1440,1498,1090,1158,941,873,738,789,1058,1044,1360,1902,2316,2026,1094,960,1023,1178,1310,648,388,451,500,606,476,515,618,628,778,654,542,516,502,608,634,547,524,650,786,899,1206,1414,1266,1184,1268,1378,1520,1532,1406,1196,1072,1276,1084,690,530,466,424,634,921,1118,1182,1202,861,728,1042,1120,1202,1058,636,790,1006,602,411,412,487,767,940,799,1110,1096,976,853,1116,1522,1432,1332,999,865,1134,1572,1406,895,677,951,1154,808,546,502,588,518,491,869,518,539,875,812,868,694,526,663,861,792,645,549,444,813,675,495,990,1190,1152,984,898,902,863,1072,1280,1300,1194,1230,1158,1224,1360,1302,954,745,854,1064,1042,1021,1015,1005,872,791,981,882,1090,1214,1122,1080,1100,828,667,846,952,1278,1146,928,860,1274,1158,1314,1466,1206,1086,1050,1112,1184,953,1066,1064,1116,1398,1576,1596,1702,1776,1554,1272,1348,1134,918,959,688,450,550,663,875,1442,773,768,866,518,415,887,1238,1078,846,769,690,689,728,660,697,663,672,901,1218,1394,1288,940,943,984,565,649,761,904,619,797,1148,916,844,881,871,1010,1072,1214,1144,1222,954,919,820,748,939,1116,1001,664,731,995,558,694,764,399,415,554,586,554,589,935,998,992,940,545,312,391,641,1296,859,1314,1040,525,391,399,356,388,464,500,649,601,570,821,745,591,666,555,897,1242,1210,1024,1008,894,799,778,756,749,661,717,518,377,548,691,799,1018,828,414,400,334,360,670,935,1114,1224,839,706,626,343,293,318,328,382,508,411,366,391,337,229,234,282,299,364,575,677,565,555,755,947,622,700,664,596,465,424,471,586,628,528,570,909,1001,1172,978,551,533,714,1098,888,621,597,348,340,431,543,869,1108,750,373,275,306,639,911,714,470,385,564,979,1020,1294,1100,734,1092,1016,823,1178,1400,1496,1528,1432,1550,1640,1680,1554,1120,659,514,401,297,363,503,627,535,421,562,638,598,515,448,731,1176,987,841,1278,1000,1074,1446,1272,932,727,763,502,356,764,1152,762,413,248,305,346,339,601,811,614,590,811,799,925,552,612,891,821,814,1046,1310,1690,1224,822,567,547,899,930,1160,1130,624,541,446,300,267,298,640,974,1090,490,315,288,303,642,919,797,372,279,286,392,701,1096,947,694,453,464,476,411,480,536,487,583,666,650,697,573,808,1118,539,345,578,966,1100,666,428,974,1420,1350,1244,1258,1584,1186,627,469,561,365,290,291,302,327,303,388,643,1146,1606,1742,2134,2314,2358,1486,990,678,652,547,372,387,328,659,1448,1112,803,1034,1910,1480,645,659,854,775,761,916,1110,470,324,428,749,946,528,246,496,802,735,603,410,384,266,328,503,590,474,339,409,375,553,696,480,330,542,871,1088,1216,1302,1380,1212,1126,1160,1066,945,922,862,996,1212,1108,813,798,1118,1192,1238,1116,1020,1260,1314,960,833,1023,1094,1608,2212,1942,960,335,894,1294,1846,2342,1520,835,1023,1150,1260,1300,1384,1614,1198,1064,1140,1006,1007,1138,1015,1174,1106,966,1542,1532,1290,1416,1370,1296,1210,1236,1324,1660,1296,843,808,825,1056,875,428,1054,1664,1036,1446,1566,1196,691,538,490,462,495,468,780,1330,1372,1636,1648,1626,1940,1868,1874,1482,1476,1112,746,1224,1382,1428,1586,1128,748,906,1368,1386,1502,1680,1532,1470,1470,1540,1526,1044,1102,2050,3450,3774,2044,1270,868,1054,1242,1276,1094,925,805,811,713,591,637,722,782,854,824,752,1006,1312,1422,1276,1186,1164,1162,1228,1142,1138,1252,1310,1170,1306,1164,1094,1088,1168,1348,1562,1658,1450,1466,757,1064,1430,1410,1282,1208,1316,1118,725,709,852,1124,1490,1296,1616,1824,987,809,1013,1042,1164,1370,1418,1462,1322,1318,1144,1244,1548,1628,1550,1482,1394,1442,1800,1742,1284,1060,1106,1388,1486,1400,1594,1838,1904,1780,1708,1478,1160,944,951,1023,1152,1356,1284,1266,1230,1426,1532,1396,1212,1450,1354,750,669,1054,1394,1328,1382,1208,1340,1244,1248,1148,1288,1350,1234,1374,1296,1096,1290,1234,1110,1132,1160,1406,1250,1254,1388,1250,1190,1200,1282,1316,1352,1306,1356,1268,1112,900,1012,1094,1023,904,973,1400,1578,1422,1616,1434,1256,1248,1176,1226,1300,1300,1142,1070,1192,1214,1196,1170,1216,1320,1013,857,1098,1334,1214,1023,881,729,959,1294,984,848,1174,1268,1104,723,882,608,568,461,656,961,1216,1594,1442,703,504,506,528,584,579,570,985,1074,822,718,754,946,1010,882,1019,1034,1190,1204,1090,884,1012,1354,1332,1282,973,803,819,805,1007,1148,1272,1276,1406,1392,1158,1232,1178,1340,1302,883,1168,1542,1484,1148,1138,1316,1188,1007,1094,1007,1220,1238,1036,992,1023,951,634,824,1132,1460,1344,1206,1122,948,1048,1232,849,663,714,774,948,1622,1794,1378,1088,1324,1450,1438,1198,742,510,728,752,791,621,671,842,820,947,739,469,542,840,1432,1854,1506,1354,1192,878,688,568,818,1218,1156,1026,1316,1206,1080,1136,1168,1166,1100,861,600,682,1042,1260,1318,886,708,645,552,1018,1380,1136,1184,1610,1600,1610,1514,1388,1218,1412,1550,1526,1428,1236,858,693,697,406,288,383,824,789,409,283,254,239,248,283,283,266,234,223,226,238,369,390,405,597,565,473,434,400,400,393,437,538,594,692,711,579,475,397,415,478,497,895,1086,932,1116,1288,1194,1246,927,799,819,942,1030,1066,1186,1150,1108,922,968,1420,1202,1162,1380,1602,1308,1262,1302,1444,1438,1444,1262,1098,1510,1880,1636,1358,841,602,546,687,918,1026,944,881,1148,1448,1416,1610,1434,1192,1196,1306,966,840,824,922,1011,948,1100,1228,1260,1618,1714,1492,1556,1566,1362,1312,1322,1124,696,491,639,762,470,497,806,852,983,1174,1218,904,1276,1366,1232,1446,1438,1156,689,560,562,505,884,703,521,592,641,493,642,1206,1710,1650,1660,1678,1356,1614,1432,1482,1146,1238,1366,1594,1720,1318,861,833,807,835,874,836,1152,1202,1470,1334,1318,1056,683,703,961,1288,1338,1332,1066,1026,1290,1294,1134,1346,1232,913,998,1176,1526,1484,536,689,1140,1416,1572,1760,1490,1234,1384,1386,1232,1232,1048,913,1242,1242,1382,1534,1360,1102,1278,1408,1122,998,1250,1278,1154,1312,1316,1068,787,1280,1234,1344,1354,1422,1264,1084,1644,1794,1296,1310,1270,1124,1252,1408,1316,1270,1156,1784,2602,2128,1166,1268,1594,1296,1010,807,718,517,529,640,632,957,929,801,893,1194,906,850,1108,949,995,1112,1368,1224,1070,1066,1046,1208,1472,1620,1416,1124,1136,1226,1376,1488,1316],[445,487,513,460,395,325,514,544,669,693,739,944,1200,1488,1356,1116,1218,1170,818,366,313,311,304,361,566,693,600,332,355,284,270,276,293,261,260,251,264,274,354,505,570,469,314,343,379,380,425,557,627,455,866,1332,1378,1286,1288,1250,1214,1246,1216,776,823,742,486,389,396,348,404,530,564,647,615,504,403,282,334,352,339,362,415,532,708,689,567,446,380,337,259,274,484,645,548,453,535,683,858,796,479,424,401,386,395,389,488,868,862,669,556,436,396,420,318,337,525,577,505,416,365,314,325,625,762,556,971,1542,1420,1120,1068,1438,956,789,1196,1262,1198,1156,1178,1192,1482,1470,1244,1464,1316,1228,1296,767,887,899,700,581,371,250,287,276,378,579,1012,1238,1166,1028,964,882,716,669,756,1078,1266,1236,1042,1082,1052,881,467,371,467,469,374,359,356,256,238,285,401,489,259,300,530,828,933,656,478,565,642,534,403,518,769,556,575,542,424,363,299,276,320,408,384,312,368,691,976,521,380,353,339,535,734,691,702,512,288,429,465,404,526,818,709,462,557,608,590,921,785,457,457,412,474,465,448,551,557,586,758,663,408,453,545,433,451,509,744,938,890,846,630,931,1194,1236,1172,1064,1182,1058,864,808,550,512,701,599,816,727,613,1138,955,482,623,723,1013,1238,1048,1116,1252,1016,1126,1312,992,661,392,605,825,1110,1210,1308,1264,853,973,870,506,415,547,870,855,704,943,1124,1186,1118,1140,1226,1370,1338,1015,1250,1260,1246,1060,646,667,663,531,569,902,1210,1362,1188,1044,653,559,594,796,1040,858,699,931,1102,1148,977,1338,1366,1260,1346,1256,1007,731,937,925,730,726,780,837,1072,1008,1102,790,691,736,1066,1274,1268,780,587,881,895,951,874,624,681,949,1316,724,524,518,442,734,971,1086,1076,959,1032,1388,1230,699,406,300,281,307,310,352,381,386,360,500,776,888,867,789,1088,769,431,537,899,1172,1056,778,1066,1328,1328,1360,1252,1200,1428,1428,1028,554,631,686,881,1218,1056,987,1188,1238,969,719,505,437,508,730,1062,998,574,394,379,401,428,510,850,1290,1332,1168,1064,918,930,645,403,623,755,1100,1510,1838,1770,1318,1104,1022,1158,1520,776,399,393,583,682,454,537,685,648,587,562,625,609,529,584,629,565,463,658,1009,1212,1226,1146,967,1184,1324,1418,1420,1306,1086,937,969,884,808,1070,1162,749,606,738,869,1002,1088,1170,888,599,824,1414,1592,703,451,750,1012,775,829,987,899,886,1038,1096,1224,1130,717,749,799,776,970,1023,991,1162,1104,1046,1046,866,637,1005,1454,1192,1002,942,985,613,379,513,542,642,655,747,936,940,1036,1412,1240,937,959,847,593,1028,795,696,1148,1220,1146,1120,948,949,1230,1432,1788,1380,1056,928,888,898,1001,959,868,990,1014,1056,1144,993,921,1002,875,638,752,1132,1234,1076,1050,1110,1096,743,709,791,1032,1406,1172,746,751,1238,1352,1396,1444,1240,1164,990,1098,1294,843,823,829,688,1005,1406,1524,1650,1844,1598,1328,1260,930,733,766,583,559,710,659,814,1118,838,681,565,501,487,618,1078,1282,1334,1026,680,570,579,568,566,523,769,1258,1218,1013,1060,658,655,640,619,817,589,781,770,816,775,597,631,866,1166,1062,1416,1606,1456,1436,1240,942,736,780,905,1034,1060,818,1030,1540,789,606,639,447,388,410,442,398,534,1007,1116,884,682,631,374,402,430,1404,1154,830,835,754,533,473,378,431,328,371,608,540,570,998,1004,669,584,581,628,752,810,749,799,690,769,805,805,793,520,727,816,440,416,507,648,910,776,323,262,282,377,642,1102,1072,857,651,559,537,371,343,343,294,310,400,466,399,336,316,310,396,414,328,563,900,733,531,738,695,802,527,478,564,474,455,521,560,540,564,665,850,1350,1264,1324,745,319,304,639,752,506,871,1176,645,419,485,505,868,1138,811,464,397,390,722,899,751,833,567,433,480,708,925,891,664,664,632,604,893,1180,1390,1382,1342,1552,1590,1576,1528,1242,1080,937,783,439,311,345,421,455,615,810,811,731,651,625,921,826,980,1520,1714,1354,901,825,1150,1084,799,484,297,338,544,991,1154,847,422,340,323,302,391,378,286,338,723,855,762,438,318,556,876,1162,1172,1584,2212,1344,653,802,579,463,761,1252,1114,1001,966,695,366,305,374,498,642,598,347,238,234,237,248,468,481,269,278,410,462,592,889,1058,973,866,818,572,489,427,308,301,365,387,318,293,255,361,493,384,240,440,718,730,477,563,1390,1524,1216,1252,1144,960,858,555,293,279,294,321,286,315,330,321,419,802,1622,1664,1708,1880,2248,2338,1766,1066,586,463,381,289,230,339,971,2040,1584,974,1458,1818,1254,865,741,873,1150,1030,610,650,555,686,666,608,731,524,396,681,882,660,578,348,300,296,283,414,519,609,603,506,450,425,368,478,742,978,897,926,916,1168,1114,703,852,960,662,744,902,874,1140,1378,1088,466,526,1052,1078,1016,942,1192,1426,1376,1086,820,1190,1258,1200,1536,1474,888,336,847,1436,2092,2402,1576,1160,1722,1846,1576,1572,1372,1396,1242,818,821,1072,1292,1194,882,1180,1280,1092,1628,1370,1386,1470,1100,823,974,1320,1574,1716,1156,578,733,1124,1696,1294,524,1028,1642,1200,1510,1368,798,538,632,697,586,433,463,1108,1650,1346,1532,1618,1560,1918,1722,1748,1602,1544,1408,718,1188,1456,1472,1632,1120,785,946,1316,1250,1204,1284,1274,1292,1282,1494,1626,1250,1272,3086,5360,5192,2624,1450,1078,987,1214,1162,825,664,527,600,733,750,696,771,712,949,996,841,1000,1126,1100,1272,1886,1626,1452,1346,1318,1212,1268,1268,1282,1384,1388,1390,1318,1356,1418,1618,1682,1416,1376,1170,1456,1616,1322,980,943,1114,1176,980,995,1138,1236,1698,1342,1426,1700,1528,1448,1410,1114,1310,1576,1422,1340,1170,1350,919,1184,1456,1620,1478,1390,1452,1478,1642,1524,1334,1170,1134,1416,1532,1376,1732,1862,1554,2018,2032,1436,1240,1009,877,1012,1210,1382,1246,1302,1444,1362,1428,1382,1196,1360,1450,1200,1206,1562,1406,1344,1198,1138,1240,1234,1284,1278,1454,1418,1196,1132,1216,1152,1360,1260,1176,1264,1344,1594,1532,1508,1402,1296,1422,1382,1190,1138,1242,1306,1632,1350,1092,1084,1156,1062,991,1116,1318,1510,1542,1330,1278,1272,1248,1182,1042,876,905,1126,1328,1558,1616,1334,1088,1110,1376,1318,1192,949,1017,1266,1316,1384,1266,713,513,608,586,509,910,877,856,984,1068,691,418,464,639,736,674,1212,977,486,500,416,354,551,640,595,723,757,857,1005,1060,1094,903,740,938,1015,1114,1224,1194,1180,1420,1296,1382,1300,789,626,872,1126,1238,1290,1262,986,1372,1650,1324,1094,1254,1482,1344,1108,1468,1434,1470,1578,1382,1382,1208,1146,971,857,1362,1312,1110,966,1044,1009,885,1072,1268,1342,1366,1278,1282,1064,1046,1220,944,858,854,933,764,1538,2130,1694,1458,1252,1248,1382,1068,859,1198,1182,885,1144,807,887,1128,821,680,708,594,444,576,1196,1770,1588,1326,1180,1070,950,832,954,931,810,1098,1534,1566,1290,1150,1052,976,1290,1154,926,1058,1264,1398,1292,1062,1092,973,699,1350,1540,1270,1394,1454,1460,1550,1346,1178,1068,1138,1288,1372,1232,934,1082,981,984,736,559,453,827,1230,841,327,284,266,233,236,231,266,298,257,262,468,477,425,427,655,677,483,495,419,387,416,451,546,688,679,663,559,467,402,623,1009,1114,1130,1044,744,938,1198,1310,1328,1298,1110,1116,1318,1254,1130,1150,1346,1410,1108,1266,1318,1172,1324,1366,1528,1810,1768,1550,1298,1306,1534,1282,902,1304,1358,1292,1412,1094,547,410,578,934,1168,1044,1021,1290,1013,842,1312,1552,1292,1148,1174,894,991,1158,896,792,1082,845,1015,963,1318,1526,1476,1416,1272,1234,1328,1316,938,512,514,959,1180,1032,619,930,1276,1030,800,989,1460,1672,1400,1356,1416,1470,1416,1026,1088,856,702,645,424,368,541,793,717,520,886,1552,1538,1400,1428,1560,1644,1400,1272,1152,1180,1512,1504,1360,1188,741,624,678,710,919,1010,1268,1378,1666,1564,1206,1218,1038,1140,1152,1354,1218,1344,1210,1124,1306,1300,1062,1172,1306,1250,1202,1112,1530,1636,708,681,1060,1356,1500,1700,1702,1478,1366,1332,1184,1268,1174,1046,1023,1216,1310,1278,1198,1068,1120,1214,1156,1032,1096,1202,1152,1096,974,723,695,1042,1166,1266,1188,1082,1162,1266,1710,2136,1402,1270,1068,1196,1009,1172,1238,1042,1076,1394,1494,1340,1104,1150,1410,974,611,603,732,670,551,529,1262,1462,915,1068,1128,1268,847,1028,1210,832,748,1488,1570,1356,1248,944,1072,1214,1172,1616,1412,1144,1610,1626,1494,1376,1486],[315,502,503,440,413,444,595,487,399,368,311,451,674,764,755,609,850,1264,697,393,411,344,270,343,574,733,563,314,358,324,308,415,379,324,294,248,273,296,440,716,672,486,347,360,375,386,525,589,681,588,611,1122,1484,1276,1286,1272,1242,1268,1198,714,492,387,315,387,583,512,360,459,561,659,580,444,376,327,360,370,339,339,412,564,612,608,592,453,387,360,287,284,373,857,1178,828,705,995,1174,1368,1288,875,408,351,364,378,350,408,566,707,681,572,432,354,333,497,822,1120,924,546,663,874,675,811,995,731,1110,1688,1710,1120,1136,1530,1100,832,1166,1364,1258,1186,1152,1114,1110,1120,945,1336,1226,1108,1050,722,604,683,716,635,585,503,743,925,918,1015,1182,951,545,351,581,979,973,711,935,1272,1080,926,626,709,646,805,838,831,746,584,438,419,441,275,257,312,408,590,518,419,400,511,597,576,520,643,798,518,480,1098,1878,1034,527,458,432,333,337,317,372,434,517,519,418,756,1116,731,587,474,386,477,635,651,655,643,332,370,481,442,437,633,597,456,491,532,546,833,789,457,462,458,546,529,484,499,749,980,1056,788,624,824,773,404,472,666,818,824,404,352,619,1052,1158,893,770,1144,1206,722,503,713,688,427,384,601,1190,845,588,1158,1168,827,570,533,1328,1208,936,1330,1370,1024,1126,1110,929,653,363,407,999,1350,779,955,1278,1170,1200,789,505,441,719,1142,1176,1094,996,995,1152,1182,1260,1264,1192,1148,1238,1328,1154,1238,1290,1104,844,806,843,805,930,1290,1240,944,989,1034,948,655,495,705,619,490,806,1260,1082,869,1088,1386,1550,1486,1276,752,584,787,1186,1316,771,651,550,918,714,954,825,606,583,912,1256,1366,1252,978,1104,1268,1344,1198,1150,1210,1106,893,674,516,380,513,688,742,695,594,752,868,1316,1234,1180,794,428,319,300,354,357,319,344,502,751,911,822,677,680,678,410,378,583,753,1074,1356,1296,1550,1380,1156,948,1264,1250,1264,1118,976,638,421,446,826,1058,799,1030,1354,1234,920,614,533,518,695,880,972,734,475,494,518,650,762,827,1058,1138,1154,1006,723,799,1134,780,448,481,754,1450,1312,1112,994,1262,1078,954,946,957,914,746,585,743,863,455,426,456,496,524,554,580,557,585,589,529,503,468,409,710,1140,1216,1262,1098,1166,1172,1434,1776,1330,702,700,730,924,1072,1512,1830,1162,810,703,758,947,1010,1012,847,919,1272,1426,1492,871,835,991,1102,1170,1582,1666,1388,1260,1236,1094,979,784,704,983,540,364,695,738,993,1274,984,941,1144,843,713,1244,1588,1064,730,1068,1104,616,400,658,1012,822,514,615,681,651,963,1842,1568,1138,1210,1026,746,886,870,911,1386,1874,1694,1100,796,854,1296,1216,1488,1270,1007,788,641,555,747,1104,1294,1256,1238,1182,1214,1134,948,1060,1068,750,800,1246,1266,1218,1422,1340,1268,1013,1010,796,1070,1258,1268,1056,885,1182,1304,1332,1276,1200,1240,1204,1174,1520,872,613,993,897,787,1208,1482,1504,1784,1716,1328,845,763,877,755,578,670,1198,1182,770,934,1170,1006,659,574,563,529,850,1182,1546,1296,812,531,510,572,579,515,728,1106,1134,1016,1036,780,735,707,685,859,836,894,929,775,475,417,491,942,1312,1238,1284,1228,1452,1446,1372,1184,1003,1022,827,825,1018,930,1054,1118,825,592,505,457,401,393,418,374,450,796,879,771,694,868,720,579,380,877,906,432,619,982,569,419,482,510,431,510,625,563,575,863,894,753,673,620,563,542,508,512,545,645,825,846,840,719,489,793,1005,561,347,413,585,850,836,455,279,287,310,580,960,816,527,665,829,495,319,313,358,288,266,298,321,336,333,298,422,657,590,340,444,642,611,797,1160,703,566,577,634,747,794,641,508,907,953,790,829,808,1254,1262,1198,720,355,433,767,702,474,738,1230,739,653,680,396,427,969,769,764,904,649,938,939,748,932,564,396,332,325,494,769,764,595,567,694,1194,1438,1418,1542,1510,1448,1584,1438,1480,1018,505,753,879,779,712,635,687,490,508,836,913,768,631,1050,1036,610,753,1106,1416,1620,981,438,701,910,955,535,429,756,928,876,955,1048,668,475,491,477,488,577,386,349,568,462,285,307,276,297,432,908,1290,1310,1814,1626,1262,1158,802,528,569,705,1042,1416,857,554,390,435,591,518,391,327,338,449,486,352,373,527,662,567,537,659,640,680,585,548,482,557,728,811,784,688,521,390,330,335,255,217,207,196,271,281,291,333,255,237,243,428,960,975,977,1184,1096,1086,987,459,258,324,359,325,278,242,276,334,403,916,1594,1774,1980,2042,2122,1664,1086,540,419,256,422,434,329,446,882,1456,1724,1092,485,735,711,658,544,568,971,1134,683,515,633,847,740,610,545,523,735,887,792,774,785,422,440,468,358,322,322,611,1005,1046,671,346,264,448,929,1084,746,1042,1166,1004,961,824,871,1142,1052,955,830,647,667,1280,1276,814,622,971,1080,1044,1212,1426,1494,1220,850,1124,1536,1382,1418,1378,1328,1040,455,737,1644,2258,2438,1786,1180,1664,1930,1726,1592,1194,1258,1054,597,551,763,1094,1006,830,1130,1416,1144,1390,1350,1484,1610,1204,1062,1228,1446,1542,1448,1110,637,787,927,1326,1190,521,964,1778,1588,1350,998,636,540,902,1320,1020,482,494,1340,1802,1384,1492,1692,1560,1842,1730,1554,1758,1612,1642,716,1136,1424,1386,1496,1094,767,954,1234,1230,1244,1382,1396,1360,1424,1582,1656,1308,1126,2556,4160,3664,2006,1338,1062,1228,1262,909,657,511,508,513,594,696,778,822,716,988,1180,1190,1228,1166,1160,1558,2138,1626,1558,1462,1494,1416,1294,1242,1438,1584,1488,1476,1386,1396,1498,1362,1422,1548,1390,1286,1356,1302,1038,832,779,664,691,803,1082,1500,1268,1260,1422,1290,1618,1764,1556,1268,885,1110,1328,1280,1256,1246,1410,1102,1242,1544,1656,1456,1266,1338,1368,1282,1386,1488,1188,1074,1240,1584,1732,1642,1330,1404,1444,1160,1064,1074,556,639,1130,1260,1038,930,1176,1262,1208,1160,1306,1438,1326,1204,1160,1296,1710,1322,1098,1026,1150,1194,1126,1168,1312,1278,1292,1316,1184,1302,1256,1206,1146,1010,1102,1256,1310,1324,1310,1242,1310,1358,1204,1194,1318,1376,1342,1388,1500,1274,1110,1152,1054,1092,1316,1376,1592,1686,1440,1142,1210,1376,1410,1208,1012,1032,1122,1290,1534,1444,1246,1230,1110,1234,1368,1374,1186,987,1106,1290,1380,1324,687,532,801,1036,602,488,512,639,1156,1378,828,359,504,756,742,548,1266,1046,581,522,487,500,633,633,827,1240,1194,1164,1102,1122,1100,1000,883,863,963,1138,1164,880,1092,1370,1278,1384,1232,1188,951,940,1224,1272,1306,1074,1040,1360,1614,1634,1720,1684,1692,1936,1368,1118,889,976,1210,1172,1026,995,1044,922,984,1126,1194,1220,973,985,1032,1072,1130,1332,1288,1036,1072,1100,1094,1126,1168,1022,995,944,959,846,928,1032,1312,1500,1246,1438,1244,813,845,1342,1280,1124,1212,1166,1322,1512,1011,705,971,697,774,995,1128,1202,977,1078,1360,1270,1240,1266,1226,959,998,1272,1322,1282,1036,1130,1406,1260,1108,1078,1084,1278,1544,1510,1360,1256,1108,829,545,987,999,1406,1798,1572,1346,1230,1046,935,1046,1050,1032,1144,1406,1552,1192,995,926,724,815,523,298,562,460,318,305,274,251,265,262,276,351,431,465,963,799,476,568,898,771,522,442,428,394,391,442,608,705,699,759,799,661,578,925,1280,1236,1350,1158,830,1454,1334,1210,1200,1324,1150,995,1192,1356,1294,1216,1320,1308,1262,1260,1438,1666,1498,1178,1324,1606,1528,1438,1494,1488,1566,1506,1294,1670,1592,1332,1290,838,420,385,335,399,512,726,929,1096,1046,835,916,1110,1318,1144,772,828,935,919,728,578,1028,1190,1112,715,828,1106,1260,1322,1372,1516,1478,1142,671,546,720,1130,1166,1284,1070,1278,1478,1344,1150,1098,1266,1458,1250,1282,939,993,1250,1318,1268,918,884,831,760,467,492,757,840,583,480,506,848,1376,1618,1554,1320,1026,944,880,971,1146,1190,1154,1170,614,637,722,865,1021,1038,1126,1216,1528,1324,854,871,1058,1264,1316,1296,1220,1156,1230,1124,1044,1186,1250,1376,1350,1248,1222,1266,1216,899,591,654,949,1288,1278,1284,1726,1682,1490,1486,1300,1274,1108,980,852,1026,936,817,942,1126,1064,1084,895,958,1132,1312,1354,1472,1192,675,703,1052,1148,1144,1290,1396,1356,1182,1274,1362,1404,1278,1022,956,1034,1116,1015,948,906,885,755,922,1188,1318,952,688,745,976,998,654,508,420,1018,1568,974,781,901,726,578,725,990,851,799,1242,1338,1396,1210,940,1066,809,966,1444,1306,1634,1996,1778,1344,1380,1642],[405,501,509,443,339,399,611,464,329,312,302,334,407,403,362,293,843,898,390,572,877,769,421,390,577,550,356,311,330,316,297,512,613,514,419,314,290,321,502,762,602,458,367,359,374,499,835,960,904,722,558,1064,1600,1378,1266,1300,1306,1318,1082,678,542,540,486,462,519,431,431,594,775,608,470,417,403,423,436,415,403,375,431,596,549,567,588,488,432,419,372,342,308,651,988,777,661,827,1080,1436,1366,1202,858,524,378,436,378,454,610,566,530,500,365,331,259,556,678,874,1001,874,982,1306,1134,794,532,769,859,943,1066,1166,1244,1382,1070,760,976,1224,1214,847,773,1240,1636,1072,860,1228,1050,775,709,838,1034,957,478,591,921,985,926,877,733,919,981,682,435,290,491,984,1024,789,874,852,691,622,456,384,400,728,1086,1122,885,543,389,485,492,439,348,248,211,299,448,449,525,623,552,451,610,751,708,461,688,1820,2088,990,744,1316,1302,637,448,773,913,737,774,562,510,467,425,736,1224,941,378,349,357,369,435,665,348,293,340,384,429,546,552,454,512,561,631,872,699,507,441,549,671,574,517,448,914,1388,1256,927,810,758,498,338,322,557,1026,832,378,374,473,488,550,606,786,998,850,766,608,692,571,504,549,542,573,481,631,1132,1374,903,435,500,869,632,950,1428,1462,1204,1048,775,616,673,649,814,1180,1060,827,790,944,1016,1116,1398,1292,916,1023,1302,1284,1210,1078,1120,1274,1080,1112,1180,1074,1118,1274,1312,1290,1110,1060,1310,1474,1386,1300,953,1013,1504,1176,695,1116,1290,1015,694,639,751,673,837,1262,1040,847,909,1092,1494,1396,1324,1036,531,537,875,1396,1558,1244,792,658,854,803,713,559,767,825,855,1176,1498,1754,1462,1242,1290,1298,1188,1152,1116,817,836,910,718,645,468,357,448,447,579,738,852,943,970,1142,838,430,303,284,356,434,339,595,1596,1322,866,695,730,725,608,588,835,1480,1600,1018,1050,1102,1046,1124,844,706,1152,1398,1302,1194,1026,732,552,461,572,610,661,1238,1608,1306,897,732,772,809,858,774,785,603,567,1001,1344,1410,1358,1236,1108,1100,940,833,688,877,1210,864,669,647,684,1304,1254,1272,1264,1418,1226,1020,994,1060,1086,866,845,928,951,580,378,339,414,484,537,565,526,485,526,570,537,463,420,763,1184,1160,1144,1088,1162,1148,1272,1324,846,526,848,721,775,1072,1230,1322,1086,656,486,722,858,965,1122,955,1044,1432,1792,1404,1328,1326,1186,1092,1210,1390,1200,818,777,839,974,823,625,680,876,727,731,653,518,689,869,855,1140,1252,736,668,1178,1708,1104,996,1586,1324,750,454,701,1166,905,570,558,406,394,765,1782,1758,1490,1430,1142,831,695,749,1150,1460,1866,1528,949,754,871,1004,1310,1416,1174,1050,626,487,745,846,1118,1346,1322,1498,1170,876,837,990,1356,1190,929,1132,1382,1188,1486,1484,955,1078,833,693,754,1054,1194,1238,1158,1250,1200,1044,990,1062,1090,930,980,1110,1146,692,458,622,593,501,907,1422,1478,1606,1404,1098,885,938,1050,1028,1126,1122,1698,1708,893,1050,1188,1048,977,1156,1104,813,763,1009,1346,1388,1028,612,544,554,521,497,615,860,1066,879,925,960,810,650,596,643,804,1005,966,957,547,554,872,1178,1130,1144,1220,1144,1190,1250,1124,808,880,999,719,700,1007,1048,1134,910,757,761,782,752,529,412,375,348,311,421,672,869,1032,1148,1312,1096,631,447,448,390,648,975,496,382,495,453,407,468,549,482,420,409,425,702,879,955,569,404,523,673,602,706,869,1048,1138,1012,693,731,753,567,371,848,903,873,889,597,331,308,384,577,840,915,630,705,836,469,272,278,315,276,271,276,294,370,345,372,464,605,506,396,357,426,466,701,1168,828,438,655,778,435,570,535,376,488,401,518,556,541,900,1280,1364,830,496,932,1376,946,495,343,301,466,778,683,525,680,894,885,1416,1466,778,1102,1586,1196,919,1052,614,399,363,363,925,1374,1032,689,630,874,828,1066,1382,1476,1656,1648,1418,1470,1023,686,903,548,453,534,859,868,973,918,703,733,792,865,1018,912,732,621,707,521,572,566,395,366,502,902,908,919,1066,1258,1436,1082,614,380,648,864,1154,1146,952,964,896,904,977,853,879,935,939,815,843,1246,1450,1456,1282,1188,813,590,649,650,630,719,621,550,733,949,879,716,698,771,654,446,573,663,547,576,901,757,532,570,516,407,381,352,352,283,238,347,319,498,593,576,514,498,591,660,510,337,321,325,241,230,215,261,387,446,617,810,816,886,1122,1102,1022,811,406,287,309,327,321,310,204,279,357,582,1086,1302,1914,2596,1538,1138,1316,721,538,549,392,587,657,429,458,490,562,867,805,441,538,577,521,558,630,695,840,1017,754,463,614,563,520,678,835,771,666,544,753,900,770,603,510,419,387,321,322,568,874,524,255,206,326,947,1102,1136,1254,1250,1240,1142,1122,1336,1276,1186,1232,913,622,698,1028,1168,965,541,591,919,1288,1528,1528,1266,782,1096,2052,1760,1426,1432,1468,1376,896,479,636,1500,2010,2260,1858,1478,1782,1668,1520,1478,962,1016,1044,467,344,585,1036,1288,1110,1110,1532,1294,1470,1494,1466,1526,1288,1082,1154,1498,1448,1134,1134,664,774,849,1232,1156,1070,1820,2012,1462,1018,670,518,470,1152,1676,1534,977,732,1360,1760,1418,1374,1694,1632,1748,1876,1480,1874,1550,1578,746,990,1250,1190,1426,1152,692,886,1146,1218,1288,1330,1388,1458,1492,1610,1714,1336,1156,3322,5292,3648,1796,1282,1394,1394,1030,670,471,473,576,561,503,518,663,763,828,1032,1212,1318,1164,1104,1052,1136,1216,1252,1350,1308,1294,1366,1278,1106,1242,1442,1322,1510,1564,1490,1094,739,1116,1624,1526,1282,985,1086,1272,1246,976,536,507,788,973,1076,1228,1914,1730,988,1058,1130,1042,959,805,987,1228,1256,1238,1238,1306,1392,1588,1790,1672,1408,1206,1034,1038,1094,1252,1294,1144,1088,1334,1694,1798,1348,951,1018,1096,1028,954,1208,887,1042,1324,1224,903,894,1158,1352,1466,1298,1462,1486,1248,1200,1274,1278,1520,1656,1290,977,1184,1230,1128,1154,1194,1212,1252,1342,1136,1040,1232,1322,1302,1190,1058,1104,1176,1324,1478,1474,1444,1402,1202,1156,1230,1382,1468,1556,1418,1076,990,888,1068,1388,1262,1270,1698,1878,1632,1426,1412,1316,1214,1244,1232,1180,1088,1122,1224,1234,1246,1250,1010,1100,1390,1488,1282,978,1146,1318,1378,1344,789,499,670,814,588,532,559,711,1066,1116,975,701,893,706,505,589,910,1110,1026,700,371,455,585,576,754,974,1336,1136,1062,1040,962,897,916,933,935,985,865,593,1003,1304,1288,1312,1240,1332,1048,1068,1112,1144,1088,918,1052,1240,1438,1702,1686,1644,1686,1886,1548,1218,969,888,1010,997,782,896,1017,1042,1188,1158,1276,1326,1266,1015,1000,1166,1250,1252,1048,929,1454,1390,1216,827,988,1122,1026,1076,1206,911,498,557,1116,1236,1160,1222,1016,875,702,803,650,696,870,1190,1650,1622,932,866,1202,1196,1260,1426,1290,1130,777,1026,1064,921,991,1080,1214,1007,1216,1502,1328,937,916,1352,1400,1256,1052,834,1036,1490,1464,1344,1266,1048,1128,540,372,472,518,1066,1352,1240,989,794,777,911,1160,1228,1218,1174,1382,1650,1626,1290,750,458,494,388,343,384,327,271,291,263,271,258,278,248,415,538,849,1272,1132,841,922,1420,991,891,618,459,448,524,607,688,733,812,865,914,950,883,915,986,839,752,1066,1048,1346,1122,1026,1232,1298,1100,1046,1384,1356,1194,1406,1314,974,1072,1342,1736,1640,1112,805,1196,1424,1290,1410,1386,1154,1380,1578,1304,1212,1156,1044,1090,814,401,383,314,369,564,633,804,926,1038,1088,1072,1206,1388,1388,1062,848,691,435,403,515,932,1082,1386,1360,999,645,679,991,1302,1396,1010,662,856,852,1230,1444,1230,1042,1110,1294,1392,1380,1226,1014,1330,1440,1350,1082,1026,1328,1312,1332,1106,845,758,817,1126,626,602,738,1032,813,574,547,612,807,1222,1294,807,926,938,473,350,420,542,588,771,525,750,1076,930,902,907,1230,1340,1450,1336,1166,766,1028,1412,1304,1202,1136,878,1176,1366,995,848,1316,1572,1384,1450,1466,1536,1380,1344,972,637,706,1021,1172,1272,1658,1494,1100,1090,1298,1102,1010,1008,1222,1144,951,1092,1234,1282,1108,1022,747,1023,1274,1478,1518,1362,1122,984,1144,1356,1294,991,882,887,901,947,1092,1378,1916,1844,1594,1112,1040,1198,1042,972,823,825,832,1308,2120,1748,915,752,798,948,916,909,935,724,716,1082,995,570,625,556,551,564,685,696,781,848,970,1498,1948,1560,1128,788,919,955,890,1412,1570,1536,1436,1512,1642],[500,399,476,417,323,429,613,518,722,508,368,293,366,381,320,394,963,929,660,920,1118,952,401,408,662,497,361,326,318,293,279,453,554,398,379,325,323,371,480,645,523,374,330,339,332,453,613,621,628,523,572,1214,1606,1572,1412,1374,1318,1186,932,868,981,894,835,648,816,537,470,619,615,452,448,574,511,462,591,589,465,391,436,581,498,488,518,456,381,359,343,387,537,617,968,990,620,1050,1296,1266,1344,1376,1196,863,807,444,392,425,456,447,363,357,399,432,377,323,300,381,614,719,509,667,783,695,956,1516,1001,608,708,929,1218,1280,952,555,686,1112,1060,800,700,1334,1654,848,505,572,742,1054,1280,1188,1278,1274,929,850,1170,1148,702,503,743,1072,1032,738,616,397,361,673,1148,1192,844,552,477,510,436,418,544,691,943,984,716,617,501,327,313,622,533,273,223,262,298,428,849,1032,795,336,292,519,466,378,709,1292,888,432,858,1874,2004,1206,750,1500,1362,1218,1050,934,883,641,408,527,823,585,342,485,378,378,353,645,429,389,569,736,700,798,885,568,438,468,660,1028,713,521,439,564,551,513,492,407,462,749,1308,1290,1078,775,485,392,402,933,1404,828,368,337,318,326,336,408,697,855,1184,1114,1082,861,444,356,608,587,367,404,676,925,1266,912,565,899,915,603,854,1192,1350,1360,1306,998,706,795,984,1136,1340,1284,1288,1350,1222,1088,1252,1560,1508,1298,1024,1130,1298,1444,1340,1300,1322,1236,1164,1168,1130,1007,967,1310,1260,1130,1368,1258,1066,977,1090,1216,1358,1568,1266,865,1068,1086,1144,979,888,758,1064,1720,1532,1306,1138,1260,1440,1244,1186,1040,579,444,569,655,938,804,730,576,969,1386,1392,1004,621,967,1074,1232,1686,1562,1394,1412,1240,1318,1072,717,894,1322,1470,1450,1144,965,793,633,508,572,588,597,598,706,778,742,583,452,300,296,336,477,616,514,498,939,1072,984,1036,1094,800,792,871,1023,1880,1576,769,1026,1058,978,1224,1174,1300,1508,1356,1246,1216,1154,1308,937,861,1023,954,861,1208,1572,1566,1010,694,755,794,802,841,1080,962,660,1122,1394,1444,1428,1266,937,782,767,652,603,845,995,702,632,640,756,885,987,1086,1072,1282,1252,784,732,780,797,656,753,847,596,384,399,468,513,535,519,506,456,390,426,551,554,600,603,852,1212,1078,995,1142,1250,1288,1204,1046,591,451,752,693,697,667,728,962,1130,837,602,774,938,1238,1242,1188,1310,1954,1750,1396,1306,1224,1120,1130,1028,1116,1502,792,513,672,881,1090,852,1044,1098,1104,1058,763,569,736,1050,1012,1104,1164,778,668,1240,1642,1140,1376,1708,1242,1040,732,493,633,865,932,739,590,661,929,1460,1620,1704,1650,1318,1044,1178,1038,1174,1134,1222,1014,702,677,750,764,1494,1652,1136,974,612,458,836,1108,1138,1294,1528,1464,1234,1086,897,1316,1590,1122,1258,1384,1566,1488,1272,838,697,891,940,868,828,938,1156,1232,1186,1288,1114,991,1042,1118,1130,1108,1412,1564,1312,901,620,510,471,384,705,1430,1444,1106,1102,1080,1036,1048,1178,1350,1230,861,1238,1536,1094,1252,1190,1100,1112,1154,1015,955,799,937,1222,1328,1234,825,641,541,436,470,699,764,686,624,897,900,603,547,635,623,792,975,729,823,709,905,987,1048,873,969,1208,1084,1192,1578,1280,855,949,1572,1540,1472,1250,802,736,665,597,839,990,902,664,464,351,374,502,655,749,1030,1110,1088,1278,1206,1046,722,539,465,791,785,455,393,407,401,410,462,540,477,362,673,792,953,651,641,584,489,754,978,943,718,685,1012,1362,1418,763,633,559,512,389,697,637,668,872,710,359,344,404,546,872,829,498,478,511,450,334,303,348,303,254,284,337,358,334,535,603,577,433,405,361,376,443,847,1164,944,769,763,861,560,421,271,352,440,774,992,924,1382,1828,1644,1628,814,509,1070,1404,1156,778,551,525,830,716,441,626,984,984,772,1186,963,573,1014,1534,993,1228,1540,959,724,586,354,826,1852,1660,950,609,579,607,720,916,1020,1156,1376,1356,1302,1021,959,1102,774,532,387,373,539,707,813,949,949,805,612,579,907,955,821,503,472,437,366,562,594,643,938,1216,990,792,1122,1582,970,411,487,521,604,846,774,738,859,848,1078,1252,1278,1370,1450,1612,1446,1324,1322,1372,1528,1574,1424,1102,897,691,651,644,653,495,405,497,576,547,538,473,440,488,514,501,605,432,755,1324,861,701,962,711,344,250,327,461,530,357,396,318,403,534,582,410,438,719,777,705,721,661,651,548,367,360,493,565,415,483,678,658,965,1708,1734,907,526,404,291,256,316,463,393,238,261,364,748,1414,1570,1500,2228,1836,1548,1542,739,678,556,484,645,617,399,316,380,415,558,1082,997,1004,627,357,331,528,678,666,811,1032,853,559,370,430,780,893,575,385,348,401,647,951,974,774,397,417,444,396,322,372,298,255,280,258,739,1178,1128,927,1382,1802,1064,832,1142,1172,1122,1042,641,439,882,843,742,896,626,362,638,1176,1396,1486,1044,1015,1620,1752,1084,1044,1342,1416,1174,565,471,642,1334,1800,2060,1980,1890,1592,1242,1238,1196,800,965,1104,571,564,718,1038,1302,1060,1012,1562,1400,1252,1222,1098,1194,1170,1172,1288,1486,1162,1070,1246,1036,1010,958,1226,1314,1506,1896,1566,931,601,622,481,992,1918,2090,1798,1036,808,1350,1760,1490,1262,1644,1594,1690,1980,1512,1850,1478,1456,805,930,1356,1238,1416,1210,613,821,1170,1162,1226,1208,1242,1184,965,1292,1700,1324,1034,2108,2830,2146,1656,1286,1470,1278,763,508,456,495,568,535,482,505,558,666,699,1058,1304,1164,1062,1110,1052,1034,1108,1256,1276,1166,1198,1338,1208,1078,1262,1460,1440,1438,1550,1438,907,825,1500,1648,1356,1548,1228,1324,1830,1826,1158,550,514,919,842,565,638,631,523,699,781,873,913,961,879,947,1102,1244,1226,1166,1280,1496,1648,1716,1682,1364,1382,1244,1154,1252,1286,1286,1256,1302,1390,1450,1430,1166,1238,1192,1206,999,955,1208,1148,1140,1296,1214,1162,1180,1186,1356,1316,1092,1058,1196,1280,1414,1860,1770,1456,1694,1694,1328,1270,1216,1324,1224,1184,1240,1188,1168,1230,1210,1322,1406,1366,1290,1202,1174,1194,1090,1100,1246,1630,1510,1370,1338,1372,1382,1284,1578,1388,1188,1158,1082,1218,1386,1226,1284,1516,1548,1388,1254,1278,1028,1116,1296,1430,1300,1110,1050,1226,1306,1324,1260,1230,1260,1110,1296,1450,1322,1592,1554,1408,1158,914,594,515,627,694,1012,1058,776,915,984,1048,974,1028,727,369,572,768,916,1364,1268,636,426,530,854,1002,778,1158,861,800,849,849,906,935,843,796,860,1076,748,904,1120,1210,1284,1262,1124,1154,1156,949,850,1084,1242,1266,1514,1360,1550,1388,1322,1486,1296,980,855,910,894,1036,1108,1264,1346,1068,1226,1274,1240,1130,919,894,814,786,1048,1286,1216,1186,852,1418,1614,1112,971,1186,1042,1052,1252,1110,857,635,769,1326,1332,1350,1266,1170,1158,914,907,952,704,601,805,1158,1302,899,1048,1332,1432,1118,1334,1398,1294,1108,1090,925,916,846,740,1268,1294,1560,1392,1284,743,925,1042,943,1080,852,515,773,1238,1108,1298,1086,901,932,572,345,312,384,807,992,1132,1506,1252,1018,1028,847,1114,1300,1104,1244,1634,1656,1414,1042,632,425,387,359,393,352,272,277,281,249,328,360,343,435,653,1214,1660,1404,913,982,1548,1096,900,600,434,791,1174,960,769,916,1048,975,945,945,938,901,907,818,931,1304,1372,1332,1416,1556,1350,1140,1218,1336,1510,1324,1344,1336,1344,1054,783,1212,1480,1244,1188,1144,1110,1372,1666,1472,926,840,990,1204,1238,1280,898,655,867,845,454,377,375,486,524,705,1182,1296,1536,1640,1390,1516,1354,1310,1382,747,462,538,595,963,1296,1214,1258,1486,1230,783,1062,1342,1274,1154,641,485,752,984,1296,1398,1252,1286,1344,1204,1516,1428,1360,1380,1516,1414,1292,1180,1310,1266,1282,1196,732,778,1003,1018,1092,1240,1262,1004,1230,976,614,652,618,750,1136,931,657,782,539,427,399,361,343,522,930,750,1164,1936,1554,1522,926,870,937,1226,1330,1052,742,1011,1346,1132,1122,1118,874,1252,1402,770,735,1172,1218,1376,1572,1476,1262,1320,1550,1284,1013,778,1013,1202,1276,1588,1454,1122,1030,1144,1180,1232,1222,1116,924,1044,1096,1192,1398,1328,1023,977,1260,1400,1338,1128,1138,1284,1268,1272,1312,1438,1272,1216,1238,1226,993,855,1228,1650,1846,1626,1298,1328,1334,1266,1012,1108,1160,1250,1296,1278,951,874,783,747,779,895,1188,1314,1242,814,958,1090,803,574,491,505,519,647,914,1023,1003,932,1294,1722,1634,1032,1094,1306,1009,1194,1632,1592,1532,1198,1164,1472],[703,337,432,421,315,455,854,1040,959,994,740,361,314,388,326,484,879,575,719,1172,802,559,314,460,733,656,405,317,305,268,234,331,376,231,288,263,271,368,473,563,517,385,335,350,308,344,375,565,630,506,783,1222,1418,1550,1488,1332,1238,1136,1016,879,705,746,745,839,1168,684,435,497,453,438,580,726,635,502,579,504,460,424,425,612,598,516,470,454,401,353,384,598,792,727,1782,921,754,774,906,1126,1254,1488,1200,1128,863,502,394,388,372,387,420,479,389,430,422,317,345,330,298,375,488,590,800,865,1200,1520,1064,784,991,1104,1070,932,982,670,766,1196,1026,1046,869,1114,1328,888,464,528,946,1278,1368,1334,1332,1484,1226,814,1074,1102,825,850,916,876,1064,845,565,463,413,469,737,833,688,573,505,498,644,782,943,1010,1074,720,466,543,448,343,356,566,520,249,287,373,351,386,657,861,688,398,353,451,450,482,830,991,994,599,660,819,960,1318,792,913,1512,1440,835,622,733,784,512,386,451,410,439,561,440,399,320,602,609,427,1017,1516,912,760,1042,738,432,423,693,982,705,476,433,518,496,513,534,419,390,566,949,1184,1262,1202,866,482,458,1462,1770,667,344,331,303,305,318,333,648,741,1454,1262,839,867,752,451,479,562,390,532,1072,1262,1352,1160,912,1178,1322,1016,840,1102,1236,1284,1210,1030,824,950,1256,1182,1256,1360,1260,1080,1068,1146,1386,1546,1288,954,755,951,1350,1430,1252,1224,1262,1154,893,821,1003,1296,1178,1138,1220,1336,1338,688,717,723,565,824,1148,1378,1282,945,1042,1024,1304,1232,1048,807,1274,1586,1252,1034,910,1260,1180,864,1009,611,425,385,490,430,458,387,350,932,2024,2154,1602,1208,791,766,814,1054,1300,1300,1116,1070,927,624,578,529,592,1018,1212,1300,951,870,1052,948,617,514,495,525,604,675,598,520,497,377,415,369,438,571,699,904,736,522,655,843,1108,1110,1148,1350,1202,703,1246,1180,1086,1488,1222,867,1054,1290,1474,1310,1278,1218,1208,1238,1540,1124,1346,1520,1234,962,1116,1468,1580,1308,992,755,551,618,610,983,740,575,1114,1450,1466,1252,1001,984,740,827,844,852,977,807,458,381,438,558,619,778,912,789,1034,1252,684,602,811,1018,633,556,494,387,478,552,468,474,447,491,465,398,402,421,505,577,661,746,1040,1196,912,824,1068,1334,1290,1200,1138,778,686,1142,1232,792,518,697,1015,1146,939,835,1336,1234,1316,1298,1152,1050,1324,1216,1108,1142,1066,886,949,895,915,1380,789,560,616,628,990,1306,1532,1400,1134,1106,889,769,830,969,1174,1422,1332,849,592,669,680,813,1318,1246,691,1026,778,418,413,1136,1320,850,719,999,1134,1172,1302,1222,1084,1260,1170,1152,1106,1042,1050,1090,937,596,604,705,603,737,641,724,576,358,276,408,728,820,1102,1366,1444,1336,844,558,1050,1422,1110,899,915,1270,1320,932,608,874,1052,1110,1032,834,876,1230,1146,1122,1190,1200,1106,1056,932,998,1198,1340,1604,1550,966,653,510,529,730,907,1464,1544,1246,1188,1166,1180,1298,1322,1318,913,938,1870,1880,1196,962,838,934,972,1032,994,918,935,931,1080,1266,1356,1046,609,433,367,425,532,503,484,555,874,935,625,515,849,988,1054,1018,916,778,1258,1194,809,942,772,657,793,1001,1330,1506,1168,1086,1098,1878,1848,1378,1072,623,440,588,731,872,1078,1090,1116,727,503,693,813,818,769,906,1084,968,1058,1136,1056,1162,686,466,730,908,720,426,364,378,403,503,544,536,633,1068,933,987,699,609,520,648,833,916,978,790,781,993,1236,1312,932,724,769,579,370,443,575,678,788,708,367,310,343,533,851,747,638,525,401,452,408,349,414,339,314,253,267,283,350,532,634,602,453,408,369,336,593,1110,1100,1112,1310,984,772,752,455,355,413,560,953,1218,1208,1648,1954,1666,1522,720,361,525,952,841,572,495,826,1080,908,637,441,561,774,558,609,492,374,951,1484,1214,1798,1938,1262,1220,1166,744,774,1312,1132,749,529,432,415,542,735,657,565,619,824,1094,822,557,495,787,738,464,375,358,318,421,550,547,482,429,622,617,638,885,801,894,692,430,614,1007,909,721,1280,1094,772,716,819,462,333,766,802,481,703,970,964,1032,913,569,489,854,1434,1670,1710,1570,1504,1256,1212,1366,1482,1472,762,400,727,810,730,533,297,315,354,411,488,413,325,234,306,509,526,827,736,525,1000,1092,1410,1744,1164,413,295,327,547,734,425,277,219,574,1038,1202,1082,827,739,543,429,430,442,657,688,618,383,367,357,229,328,599,769,814,1400,1422,727,458,397,306,264,307,367,264,229,269,434,906,1378,1730,1690,1576,1180,1236,1160,738,636,555,610,769,651,518,444,389,291,530,1266,1222,1003,563,343,328,382,576,533,479,774,1090,944,710,918,1184,948,613,596,613,499,653,708,960,1168,868,463,382,462,489,562,481,305,272,304,410,702,1056,999,1228,1544,867,552,733,1040,1204,1032,545,436,667,498,456,492,590,537,693,854,1198,1482,955,1112,1358,1102,1102,1122,1366,1388,932,484,431,844,1228,1268,1354,1528,1504,1290,978,778,678,727,1136,1262,671,518,644,1028,1340,1074,882,1362,1220,889,1180,1302,1352,1364,1360,1366,1224,963,1116,1434,1352,1232,1224,1086,1238,1522,1514,1276,734,456,622,747,1420,2232,2342,1534,774,927,1526,1810,1564,1040,1284,1186,1296,1890,1552,1758,1572,1388,940,875,1516,1298,1382,1288,664,765,1124,1104,1166,966,846,651,486,1032,1620,1346,990,1654,1948,1708,1326,1156,1023,808,593,475,486,544,562,497,494,514,495,575,544,615,747,903,1076,1220,1202,1100,1142,1222,1220,1094,1132,1206,1152,1266,1400,1490,1376,1272,1346,1488,1346,1094,1284,1202,1246,1452,1548,1626,1920,1786,1222,785,852,979,637,424,469,771,934,1010,818,785,959,990,926,997,1298,1298,1038,1144,1458,1418,1338,1246,1610,1386,1322,1470,1482,1488,1512,1488,1368,1170,1166,1534,1350,1310,1360,1532,1278,1208,1100,1294,1516,1224,1204,1334,1166,777,650,933,918,1023,1054,1010,1306,1560,1662,1602,1494,1496,1732,1768,1694,1236,1262,1208,1272,1250,1224,1128,1118,1226,1274,1100,1112,1182,1284,1290,1272,1106,1178,1342,1368,1180,1084,1044,1300,1592,2294,2592,1416,1362,1368,1392,1372,1336,1282,1328,1396,1268,1204,1162,999,728,975,1282,1384,1206,1078,998,976,1186,1316,1200,1422,1398,1118,1236,1456,1484,1586,1360,1344,1094,963,922,867,955,954,1128,1160,971,908,880,1019,1150,778,448,393,465,596,777,1162,1068,788,761,553,866,830,647,805,794,682,610,709,893,905,750,529,525,939,705,813,1078,1140,1378,1378,1104,1074,949,674,680,1136,1378,1488,1266,1338,1430,1007,1186,1432,1202,833,786,637,677,1138,1660,1826,1660,1252,1194,1034,1022,1074,962,773,514,517,750,1136,880,878,759,1202,1604,1426,1390,1416,1180,955,751,700,719,892,1112,1248,1280,1198,1102,1042,1150,1174,1118,786,641,662,651,684,985,1140,1160,1284,1270,1516,1272,1122,1260,932,1017,1054,912,795,600,809,1382,1622,1404,883,777,1080,830,689,895,714,628,489,498,907,1238,839,860,798,674,561,431,619,1108,1158,1114,1122,1334,1236,1007,903,1002,1060,971,975,1038,1046,1310,1468,1312,883,478,321,351,352,365,308,292,286,318,357,409,469,775,1336,1620,1362,976,1050,948,673,747,850,868,1464,1628,1320,957,1028,1098,1104,1068,1000,916,1008,1224,1256,1270,1482,1620,1538,1592,1572,1368,1340,1350,1372,1478,1390,1344,1312,1290,1064,946,882,1170,1450,1384,1015,920,1246,1540,1456,1358,993,843,1074,1144,965,520,733,1188,1210,715,422,402,410,543,866,1384,1684,1502,1266,1496,1492,1416,1412,1626,1094,740,980,1230,1394,1438,1270,1348,1418,1226,1338,1596,1450,1296,980,574,502,628,877,1264,1288,986,1408,1352,884,826,1066,1346,1664,1772,1470,1224,1384,1330,1046,1214,1354,1090,883,790,1118,998,957,1196,1306,1310,974,778,910,883,1100,1110,864,741,951,737,857,855,730,669,906,1142,865,1094,1928,1554,1514,1260,907,935,1052,1009,1112,1182,1052,955,949,1152,1280,1340,1128,1214,1009,959,1026,788,973,1248,1332,1316,1504,1448,1100,857,703,943,1200,1384,1610,1486,1210,1154,1254,1388,1330,1022,919,792,1010,1034,1310,1400,1212,1156,1272,1338,1368,1186,988,1114,1268,1208,1300,1514,1594,1516,1516,1312,1180,897,794,1108,1330,1394,1310,1368,988,968,1224,1112,1188,1296,1254,787,505,634,805,695,965,1090,1042,877,1052,924,569,658,884,844,564,450,450,506,546,601,804,982,965,1296,1268,1276,1382,1804,1894,1640,1822,2214,1840,1472,962,877,938],[602,455,398,398,345,556,856,1166,1266,1296,874,392,286,280,243,351,628,428,472,875,1044,785,494,615,836,656,364,292,235,212,176,229,261,338,426,305,299,511,629,597,574,415,328,361,332,430,565,786,796,598,588,974,1394,1470,1520,1300,1150,1162,1134,913,675,599,529,893,1180,717,465,512,488,495,565,615,715,488,453,442,488,438,423,582,647,548,518,611,493,337,371,875,761,573,642,619,767,1001,1102,1274,1288,1140,1092,1158,596,420,404,383,355,388,547,855,1244,833,485,401,301,251,302,537,946,880,1003,1148,1023,953,875,885,971,868,943,922,1114,1128,1230,1374,1140,843,775,1036,1132,974,944,1011,1182,1114,1114,1450,1356,1464,1434,1434,1380,974,901,1050,894,828,1002,725,422,360,393,393,482,628,573,558,706,822,982,1022,857,756,854,632,411,365,317,327,309,367,460,237,334,512,392,343,335,656,518,380,362,322,306,711,1722,2146,2024,730,604,724,1510,1848,816,507,519,494,464,342,343,412,567,581,410,324,401,406,358,358,305,525,779,805,1382,1392,659,428,570,664,519,555,828,933,726,587,546,532,498,477,485,408,404,569,745,860,1278,1548,1012,527,522,924,1016,575,338,303,348,486,568,486,835,1206,1226,768,499,553,562,849,908,574,685,926,1262,1256,1272,1402,1220,1122,1250,1246,1306,1366,1160,1186,965,1118,896,1094,1300,1310,1190,1106,1164,778,795,1128,1506,1266,766,797,938,972,1250,1074,938,1176,1218,1202,870,662,694,957,1268,925,1164,1290,1162,858,1046,931,525,761,1134,1176,1222,1128,1048,1156,1320,1278,1282,1382,1378,1170,1356,1178,968,1036,966,1104,946,609,516,350,341,328,275,285,335,818,1738,1764,1326,998,735,748,891,772,707,809,834,1130,1013,536,700,383,408,654,677,786,778,631,704,817,664,642,874,661,763,1138,759,583,662,541,511,678,689,662,933,1220,1038,912,833,1064,1230,1156,1202,1444,1390,846,1082,1428,1282,1278,1222,1168,1298,1280,1344,1458,2210,1330,1226,1382,1416,984,1034,1256,1012,555,666,839,1108,1134,1046,759,399,460,508,677,498,636,1418,1716,1428,956,675,944,729,970,1242,1036,1180,910,475,604,818,795,868,852,872,674,1090,1184,796,838,857,907,954,968,656,566,895,839,389,399,422,489,516,489,524,583,596,581,697,965,1202,1196,984,928,933,1092,946,1038,1090,758,744,1208,1318,907,535,772,1064,1058,852,993,1308,938,966,1130,974,861,974,1090,1234,1136,961,740,951,982,709,1074,778,394,394,457,889,1302,1154,1212,1304,1350,948,877,1021,1060,816,840,869,684,656,725,733,968,1212,1048,765,952,875,549,414,670,929,1009,1086,1256,1194,1196,1222,917,571,639,725,903,1005,1184,1134,1410,1448,779,639,669,526,640,592,391,396,360,386,401,447,744,1152,1364,1318,1194,790,453,488,789,786,999,888,913,930,817,793,986,1012,1170,1248,1146,1058,1246,1194,1166,1054,1108,1212,1412,1400,1132,1206,959,1150,1005,751,445,584,1024,1278,1266,1418,1476,1290,1178,1152,1284,1276,1026,926,568,1064,1974,1698,1172,938,933,822,775,938,835,974,1114,904,1015,1194,1382,1258,797,577,483,467,446,399,395,603,1008,1014,940,572,854,1252,1176,1050,1216,1264,1296,1020,678,952,869,927,966,1002,1144,1052,1194,1416,1120,1282,1428,1110,708,508,453,656,1120,1090,1176,1342,1136,755,940,1204,935,773,653,754,1138,1036,968,1156,1156,1322,1074,649,470,451,347,345,368,371,433,499,473,660,621,899,935,757,607,566,568,664,691,697,736,853,1298,1268,1214,1316,1013,771,942,761,378,693,1270,931,735,669,439,300,321,483,808,904,984,891,693,576,415,291,407,375,334,229,289,334,380,412,481,412,417,418,436,437,584,742,528,623,1056,725,522,581,462,416,535,738,841,830,996,1302,949,904,1296,786,369,264,216,230,269,270,377,637,696,645,626,563,628,702,691,737,562,728,1000,1268,1838,1604,1070,1274,1372,1001,835,949,1001,752,488,408,370,369,391,401,408,519,868,1124,760,468,360,464,498,422,372,390,445,512,592,479,397,364,716,625,406,599,639,594,503,384,642,1172,766,445,841,1156,1070,687,338,281,396,836,875,385,461,931,1172,1484,1406,872,603,801,1396,1712,1614,1668,1720,1304,1146,1164,1082,1204,1128,614,1284,1050,843,685,365,385,387,576,647,664,943,537,305,267,228,528,488,305,405,718,1566,2368,1822,549,306,322,560,584,386,225,217,506,905,1084,1068,1003,1074,800,619,665,691,605,485,406,365,369,379,517,494,458,666,626,1722,1348,608,398,348,307,237,231,210,171,198,258,365,716,1226,1410,1762,1394,1234,1158,792,660,446,483,750,824,519,469,525,547,633,1052,1316,744,416,539,691,566,475,631,503,341,415,644,894,642,804,1032,1092,1106,935,803,670,680,521,670,689,703,386,502,532,458,623,741,411,387,467,391,407,1036,1286,1198,1086,612,843,969,854,971,952,521,529,488,418,421,319,390,472,888,952,1196,1192,935,1250,1306,1324,1362,1410,1360,1368,1068,792,720,928,997,983,1170,1274,1218,1410,1438,682,665,1078,1202,1416,832,529,597,993,1510,1206,957,1278,1246,1432,1916,1954,1716,1478,1604,1660,1162,884,1144,1388,1218,1052,1254,1124,1422,1544,1442,1244,883,690,999,1346,1676,1958,1582,1009,1178,1468,1744,1844,1580,926,874,841,1086,1868,1794,1664,1706,1456,1148,705,1382,1114,1304,1270,680,597,752,912,733,457,477,599,984,1466,1676,1528,1236,1388,1448,1338,1220,1056,821,641,539,553,565,632,673,608,579,530,514,509,569,586,615,796,1044,1148,1190,1206,1184,1150,1278,1200,1152,1086,1080,1116,1168,1124,1200,1346,1236,1302,1518,1390,1016,898,1194,1232,1316,1586,1612,1242,1130,1164,859,775,577,447,580,1188,1294,1232,1100,1340,1266,843,897,947,1290,1294,1052,1152,1248,1170,1138,1238,1570,1474,1524,1634,1312,1440,1616,1510,1334,1042,1019,1236,1324,1314,1322,1244,1050,1204,1168,1080,1064,1022,994,1278,1192,992,915,733,730,1094,1258,1158,1354,1510,1490,1354,1610,1554,1622,1584,1322,1106,1354,1562,1490,1422,1230,1007,1024,1196,1040,1058,1060,1246,1238,1230,1198,1204,1396,1436,1190,926,1058,1302,1368,1386,1776,1356,1050,1116,1206,1320,1350,1258,1152,1308,1426,1416,1326,1344,1056,904,1136,1334,1316,1382,1354,976,1170,1588,1214,1132,1110,1090,989,1312,1462,1454,1444,1440,1452,1286,1322,1372,1202,1174,937,816,1008,1284,1096,799,913,929,749,649,580,643,432,617,644,550,554,923,1056,762,429,420,425,475,628,565,730,1044,910,684,560,539,635,698,1003,1212,1070,1134,1152,1124,1236,1378,1150,1104,1084,1372,1168,758,1306,1678,1408,1662,1386,1438,1036,647,589,772,1110,1256,1058,1134,1156,1098,1180,1184,1054,1104,912,722,877,909,1046,1198,1019,861,1216,1522,1384,1194,1086,922,760,750,628,538,641,857,1162,1020,915,1018,1194,1376,1366,1202,1264,1118,904,713,628,755,979,953,993,1350,1386,949,946,1138,895,1312,886,832,1044,897,839,1220,1396,1058,638,991,1198,1106,719,640,828,1134,892,791,1050,1368,1224,834,860,1088,1080,930,834,984,1150,1146,1218,1282,993,1100,1192,1019,1138,1070,861,1108,1142,1272,1384,1360,1398,1100,716,491,430,371,315,300,289,306,315,361,603,1076,1288,838,959,870,1010,1550,1184,529,713,1418,1770,1412,1300,1090,1082,1110,1098,1080,1032,908,963,1156,1168,1128,1350,1542,1368,1426,1252,1050,1306,1544,1484,1288,1344,1412,1208,907,841,937,1156,1316,1464,1518,1438,1366,1082,1032,1338,1520,1460,1250,1058,969,598,444,854,1148,1154,655,357,367,527,985,1194,1226,1242,940,1108,1438,1498,1478,1692,1746,1478,1154,1005,1220,1332,1396,1352,1542,1126,1212,1580,1506,1264,1166,1016,713,502,513,696,1032,1032,1068,1396,1088,769,824,946,1136,1504,1646,1702,1574,1296,985,1208,1266,1394,1354,1616,1222,1015,1126,1058,1190,1244,1268,1432,1614,1142,1054,1406,1496,1170,974,1164,1188,1332,1416,1366,1354,1246,1108,1076,1088,1318,1262,1330,1428,1300,1046,789,926,1198,1140,818,852,1068,1246,1350,1412,1114,1114,868,544,473,517,572,691,1046,1362,1684,1372,946,663,681,882,1148,1450,1572,1370,1284,1394,1228,1190,1358,1146,1026,757,940,984,955,1032,987,1100,1448,1494,1394,1168,1186,1318,1090,1044,1282,1456,1508,1476,1198,1064,1248,1126,967,1114,1364,1328,1296,1350,1206,1162,1366,1500,1308,1224,1176,755,683,580,854,887,1096,1180,1244,872,841,739,481,487,681,803,602,508,597,605,456,393,479,581,708,921,938,1082,1440,1478,1280,1454,1504,1650,1488,1228,937,741,651],[957,644,486,385,379,604,716,959,942,793,547,353,357,518,270,258,347,403,391,763,1202,902,382,500,645,463,253,200,199,230,221,266,281,521,639,507,363,472,533,517,574,435,354,368,368,538,699,963,907,567,441,899,1342,1366,1500,1378,1218,1108,960,850,652,486,505,714,726,565,478,425,463,527,674,648,713,713,495,480,661,599,381,521,701,567,557,574,548,535,544,783,742,821,863,739,820,957,1028,1154,1360,1230,1134,676,465,487,517,448,421,559,723,1274,1968,1290,702,502,379,386,618,786,1064,984,757,807,1094,1226,1182,1080,748,728,1168,1446,1276,1112,1124,1112,925,684,748,1076,1148,1240,1172,1128,952,849,871,1092,1270,1348,1446,1362,1214,849,539,506,503,894,1042,758,530,414,356,343,384,433,488,664,994,813,930,824,829,852,805,670,488,352,314,272,257,297,425,312,440,630,576,399,323,441,468,586,569,425,282,442,765,1014,859,495,469,1266,2276,1396,567,546,464,414,375,304,222,260,486,693,640,716,671,579,488,319,308,431,810,642,830,780,560,452,525,574,587,619,829,872,577,585,646,573,511,452,392,434,472,575,604,653,1264,1592,1252,792,711,687,694,514,407,519,1036,1334,1226,845,827,1070,891,559,498,560,597,1296,1510,1436,1432,1326,1088,786,1118,1596,1550,1312,1046,1176,1252,1106,1162,1242,966,1116,1148,1218,1144,1170,1058,913,963,640,960,1250,1562,1216,789,904,1198,1192,1310,995,846,966,1072,1252,1160,927,918,948,1112,824,906,1086,1054,1234,1260,931,615,724,1038,1092,1230,1288,1194,1396,1158,1082,1182,1394,1650,1392,1456,1312,1116,924,1090,1280,977,979,740,320,350,390,312,297,310,474,1172,1012,893,860,883,1022,1108,811,574,718,1210,1854,1538,1122,1264,653,450,528,550,657,720,509,457,620,626,724,748,513,767,1011,991,1146,1120,980,1036,955,884,920,1020,1112,1086,1056,1116,1508,1396,1070,1236,1566,1196,956,1216,1494,1246,1092,1302,1532,1638,1504,1376,1098,1192,1312,1294,1166,1118,1116,1042,1166,1320,1008,944,702,870,908,849,660,483,357,747,1170,974,1050,1516,1584,1216,827,678,963,948,1142,1040,821,1316,1086,467,808,1312,1018,1042,1048,872,617,1138,1168,1005,1007,971,943,1060,1058,785,722,905,714,442,407,348,370,548,524,489,569,580,530,661,968,824,886,1018,879,817,872,925,1019,996,715,667,1016,1924,1742,754,860,1134,1146,838,806,734,665,891,1240,1106,854,709,857,1146,1166,1066,639,852,1036,746,786,570,341,306,316,742,1268,1146,1502,1644,1214,909,990,1182,1094,937,711,419,513,635,601,560,761,951,1190,1042,1062,1216,937,550,487,855,1218,1294,1232,1005,1288,1410,1356,780,708,902,1044,1268,1294,1196,1312,1178,899,1001,942,1050,1108,879,606,502,394,439,541,661,846,1072,1116,823,929,774,502,476,705,943,875,824,885,794,751,938,1198,979,1046,1042,950,1026,1266,1372,1666,1418,1194,1346,1936,2024,1460,1418,1220,1310,1224,1274,996,996,1180,1290,1262,1230,1354,1422,1382,1604,1248,918,635,855,977,1400,1428,1128,1198,1310,957,655,792,1062,864,938,863,996,947,1156,1416,1412,1118,772,587,483,482,438,477,637,959,900,1092,924,1046,1252,996,1088,1672,1416,965,987,739,984,967,1152,1250,1152,1074,1308,1396,1064,930,1146,1198,1160,1021,802,778,928,1550,1294,1134,1040,683,583,973,1274,1260,865,512,629,1160,926,798,995,1350,1522,1438,1080,745,402,390,466,472,621,1002,797,715,965,1000,1086,913,747,751,707,581,607,691,612,772,1178,1512,1276,1256,1326,929,739,1010,839,406,595,883,662,833,915,603,437,399,420,605,862,847,588,871,829,756,517,412,488,444,353,493,509,521,1152,1228,475,477,505,498,547,657,626,545,414,310,281,403,539,552,616,714,957,1090,670,1234,1934,1358,725,1122,1003,460,290,326,313,249,260,353,636,643,541,409,336,407,476,598,794,828,1058,1208,711,651,639,686,807,736,698,1166,1396,1128,745,484,455,396,363,379,377,423,486,612,770,640,520,548,591,426,383,392,454,605,739,547,534,496,396,576,466,349,407,373,436,412,340,460,624,582,397,396,920,1230,1026,624,362,481,620,441,296,324,536,796,1036,1252,1054,943,1030,1158,1814,2366,1966,1718,1594,1738,1230,955,890,1086,1042,766,363,590,821,534,318,413,796,745,1212,1158,575,417,315,240,276,259,218,229,366,673,905,535,293,315,303,353,380,278,236,315,548,774,832,843,876,865,827,717,763,879,663,403,400,502,394,436,659,656,337,414,421,656,385,333,357,311,258,214,239,235,218,261,272,364,667,1310,1512,1542,1292,1140,627,458,514,378,722,937,722,698,1030,1021,932,948,1164,1034,785,877,945,855,907,597,593,480,328,363,331,607,836,846,921,1276,1278,898,737,675,716,598,401,242,223,251,691,1128,661,415,525,554,646,623,506,411,710,1186,1554,1428,820,607,813,873,969,893,652,835,546,422,341,362,359,267,268,633,1144,1212,1168,1402,1288,1422,1544,1606,1428,1224,841,690,880,951,1196,1460,1454,1374,1162,1318,1284,618,728,1146,1222,1480,1030,523,621,1008,1290,928,1074,1300,1242,1486,1540,1454,1258,1272,1340,1244,878,682,776,1019,869,710,786,1200,1610,1528,1386,919,602,753,1568,2160,1694,1070,772,830,1396,1666,1810,1820,1626,991,774,857,1060,1890,2180,1690,1798,1422,1204,648,1234,1098,1158,1108,668,455,386,438,640,862,936,1268,1608,1688,1750,1510,1106,1190,1286,1254,1140,829,636,554,538,672,670,639,656,645,629,597,566,561,601,637,612,683,911,1136,1276,1334,1384,1560,1396,1182,1096,1078,1102,1164,1172,1194,1206,1218,874,1078,1438,1564,1368,1034,960,1030,986,1390,1626,1222,858,990,711,589,494,529,602,846,1096,1086,915,1009,882,585,769,744,1052,1174,1178,1310,1258,1026,1060,1194,1380,1592,1542,1316,1190,1410,1440,1432,1240,1106,1054,1210,1242,1162,1228,1164,1136,1466,1258,1114,1114,1354,1180,1216,1268,1240,1050,960,976,799,891,924,1284,1454,1632,1438,1512,1230,1104,1198,1220,1366,1664,1798,1554,1472,1312,1102,1272,1332,1208,1278,1170,1120,1148,1184,1136,1202,1482,1460,1328,1174,1256,1416,1356,1334,1278,1098,1054,1104,1274,1426,1246,1042,1028,1254,1328,1326,1306,1404,1252,1172,1200,1184,1244,1238,973,668,1178,1572,1328,1084,950,1084,1192,1268,1196,1296,1362,1256,957,1030,1338,1428,1018,826,860,760,1284,1722,1152,642,772,851,1036,1042,810,726,497,1236,829,529,640,1122,1438,943,455,437,378,415,606,758,910,1104,926,598,493,409,423,691,1184,1322,1080,1306,1204,1074,1094,1312,1350,1456,1258,871,545,549,1116,1550,1494,1622,1074,1066,1268,953,1046,1138,1304,1250,940,989,1204,1038,695,598,957,1250,1138,1013,1144,960,751,1056,1096,938,1300,1554,1450,1050,908,929,1404,1268,708,411,459,682,866,912,862,1052,1396,1356,1106,1002,1302,1118,1001,990,842,568,833,1048,1078,1334,1188,1154,1364,1264,1418,1398,844,872,922,1250,1404,891,758,713,715,852,1220,1396,1016,505,639,962,883,782,760,1003,952,708,575,922,1332,1386,918,864,1046,983,919,872,855,1108,1228,1236,1252,1086,1168,1278,1126,979,1148,1086,931,1258,1292,890,462,343,345,349,393,350,357,539,924,1192,1480,1076,918,824,819,1422,1344,514,862,1422,1116,1196,1450,1432,1238,1114,1068,1104,1062,926,885,944,1052,1076,1366,1556,1416,944,686,715,1130,1406,1116,1068,1396,1296,899,1026,832,632,1030,1240,1346,1570,1700,1316,894,1122,1260,1316,1356,1510,1356,821,493,395,667,705,684,583,433,425,828,1206,1232,1176,975,1010,821,1064,1270,1396,1516,1512,1626,1448,1046,999,1001,1138,1184,1196,877,1146,1418,1388,1160,925,905,860,588,487,535,690,890,910,1118,1230,1096,1126,933,860,1234,1654,1650,1332,957,1034,1238,1288,1432,1348,1636,1336,1074,1130,921,967,929,985,1282,1440,1122,1130,1376,1450,1090,844,919,1038,1220,1540,1510,1478,1346,1332,1260,1334,1272,1448,1246,1186,1308,838,621,764,1076,1126,685,1156,1426,1444,1606,1450,1354,981,562,535,475,492,568,714,1158,1032,1072,1336,1216,984,818,683,914,1436,1602,1478,1320,1152,1018,908,1280,1284,1130,767,1004,1156,872,980,1126,1140,1336,1462,1334,1224,1176,1256,1338,1336,1404,1508,1576,1436,1214,1192,1412,1340,1202,1292,1466,1232,1202,1214,1198,1432,1584,1440,1150,913,1160,1054,827,545,703,932,1070,1046,861,527,504,530,404,381,610,1038,1120,753,756,610,424,400,409,386,588,901,777,863,1190,1140,976,901,785,917,1094,1392,1216,994,1236],[854,703,500,360,471,586,775,1082,572,421,457,425,278,326,231,239,296,361,348,452,792,700,261,315,381,274,211,227,245,262,296,357,339,380,634,624,386,327,431,477,516,471,420,377,358,537,734,819,714,430,408,865,1370,1472,1542,1360,1224,1042,826,799,681,623,857,930,673,563,466,504,533,546,615,582,737,910,641,401,615,880,624,577,714,583,671,694,891,1064,923,819,917,1184,940,708,960,1196,1108,1148,1322,1158,829,612,508,455,566,524,435,719,1021,1064,997,749,474,477,449,702,973,1136,1356,1264,865,1052,1330,1644,1458,1130,915,840,1042,1200,1046,1040,1124,948,992,1196,1244,1166,1022,774,506,563,788,1378,1514,1208,1178,1150,1358,1144,979,915,500,556,615,796,982,1022,726,386,334,295,358,526,529,566,635,597,1080,1100,1054,892,581,513,468,364,389,319,287,241,311,513,609,581,534,468,353,340,491,601,623,546,371,280,243,307,282,301,247,493,635,509,498,397,420,392,376,361,292,363,465,613,752,731,538,689,1010,857,574,607,987,767,849,910,769,519,565,632,579,673,838,632,485,608,567,533,444,401,385,469,517,626,630,751,1202,1434,1376,1023,777,786,838,663,717,1166,1936,2026,1338,975,1324,1330,722,588,648,726,785,1194,1558,1926,1722,1262,658,508,1050,1562,1622,1274,868,1120,1442,1392,1428,1534,1220,861,968,1288,1352,1180,947,1032,1058,750,1056,1434,1498,933,659,982,1208,1192,957,651,905,1090,1324,1486,1490,1296,1268,1094,992,888,984,1094,937,1196,1090,973,1138,1196,1168,1009,1122,1194,1246,1312,1064,1006,962,864,1156,1084,1404,1528,1396,1190,1044,948,793,924,852,477,392,356,328,283,291,500,795,579,752,884,981,1166,1200,937,930,745,860,1416,1328,1126,1304,808,432,386,404,774,1100,733,477,578,615,594,420,379,701,935,1066,1272,1228,1542,1642,1186,1114,924,1023,1120,1166,703,892,1262,1310,1528,1784,1256,1007,1298,1560,1620,1236,1304,1588,1454,1368,1402,1246,1066,886,818,703,651,760,953,1072,1144,863,847,1008,1023,1009,959,724,722,648,568,905,1320,1202,1090,1036,938,764,633,769,1356,1388,1278,1094,955,897,549,441,777,1372,1001,904,985,719,604,1116,1160,1005,1098,841,568,593,775,863,817,735,514,490,396,338,349,522,687,693,670,681,583,462,441,426,925,1188,982,921,1204,1072,822,904,1108,1220,1023,1454,1246,980,1120,1024,858,992,933,781,791,976,928,858,770,488,667,1016,1260,1116,642,874,899,611,524,463,472,602,742,960,1282,1318,1476,1592,1434,984,749,803,749,717,677,558,605,577,483,498,556,673,1054,1246,1338,1288,896,562,711,1068,1246,1260,1378,892,794,933,803,924,1380,1310,1170,1140,1017,1116,1156,1300,1020,1678,1572,1330,1236,1026,1072,979,546,583,838,955,754,1186,1100,910,888,689,733,713,1154,1334,760,915,1138,1090,1160,1138,1288,1050,977,1012,1018,1146,1282,1230,1138,1258,1444,1356,1288,1144,1382,1244,1216,1340,1498,1540,1298,1240,1360,1312,1100,1126,1330,1500,1360,1484,1023,905,792,1020,1330,1190,838,771,1030,1304,971,722,901,1086,785,678,670,886,717,921,1372,1468,1334,946,619,563,602,541,536,724,808,816,1048,1222,1274,1062,764,900,1158,916,810,1100,912,1106,1062,997,1178,1318,1146,1076,1130,1428,1322,1238,1298,1238,1296,1182,957,962,935,877,1080,957,686,774,1007,1134,1294,1140,959,657,742,983,1180,1214,1268,1706,1918,1366,1378,825,493,557,494,706,1616,1122,810,1100,1088,904,645,871,1012,926,655,893,1180,1170,770,817,1048,976,1160,1318,996,634,975,749,456,523,590,597,954,1110,819,543,430,362,569,1048,873,601,1023,1092,758,585,610,652,542,501,738,1092,1492,2114,1630,705,685,713,568,703,789,821,847,618,381,342,385,427,526,824,977,822,894,677,1204,1786,1064,522,1158,1256,626,279,306,271,233,316,442,650,744,550,383,346,344,358,346,336,484,634,761,794,618,706,823,678,608,526,819,1032,984,664,517,572,579,483,454,440,416,410,442,471,426,384,651,888,536,407,330,375,534,725,565,496,480,478,446,375,361,397,423,479,519,429,490,535,587,450,300,408,750,1116,962,576,379,379,341,358,300,323,471,834,1280,1224,1254,1422,1434,1986,2302,1918,1782,1818,1870,1338,1050,886,645,690,896,728,448,417,332,288,339,538,767,1068,603,292,360,377,301,258,250,193,246,250,339,433,371,313,309,386,514,494,388,288,372,596,681,811,758,1070,888,633,644,756,748,488,345,328,308,271,326,436,387,245,240,311,339,396,409,357,315,300,294,290,274,206,219,242,420,918,1152,1326,1400,972,790,511,671,556,695,1001,832,592,911,1188,1044,849,731,720,819,1202,1504,1866,1700,1004,449,356,328,338,397,321,392,683,969,1066,1168,1180,619,563,771,1007,1028,907,644,444,558,1092,1306,579,407,362,520,578,508,459,415,476,803,1436,1842,1342,776,956,1244,1084,668,690,744,604,502,382,369,330,258,241,307,567,1038,746,775,1100,1210,1346,1460,1354,961,595,807,955,900,1328,1578,1318,982,1028,1080,724,452,689,1010,1192,1352,1058,496,604,866,1204,989,1042,1378,1120,1110,1192,1238,1200,1318,1330,702,426,386,495,1076,874,1176,1592,1774,1700,1438,1366,971,445,702,1202,1746,1498,805,747,922,1290,1638,1700,1806,1722,1144,765,767,921,1902,2424,1842,1810,1388,1188,742,1324,1354,1190,1092,556,357,444,1144,1832,1904,1494,1422,1516,1584,1736,1472,997,995,1150,1114,900,727,538,561,645,675,629,602,576,584,601,603,595,609,618,631,666,637,669,1034,1336,1290,1478,1570,1324,1116,1074,1066,1080,1180,1260,1396,1144,1064,780,1152,1428,1460,1544,1350,1090,886,831,1476,1478,1468,1126,862,854,720,531,576,551,742,1148,1104,934,1006,737,601,634,557,600,912,1140,1180,1170,1248,1130,1134,1268,1646,1404,821,835,830,936,1272,1258,1098,1244,1408,1208,1176,1176,1044,1242,1576,1278,1226,1040,993,1110,1236,1202,1240,1240,1070,931,966,1058,745,1070,1368,1510,1372,1238,1010,1192,1236,1116,1426,1396,1250,1350,1642,1676,1422,1344,1316,1244,1246,1146,1202,1364,1292,1452,1402,1334,1240,1188,1200,1272,1358,1306,1272,1342,1254,1198,1278,1174,1212,1282,1282,1414,1256,1202,1242,1286,1326,1013,860,1182,1392,1714,1462,982,648,752,1130,1416,1414,1310,1242,1236,1264,1156,1024,860,1040,778,749,1026,1222,1126,913,921,1078,1130,1174,1180,832,756,663,866,833,810,526,516,1160,1007,597,735,1284,1406,924,448,394,374,385,461,695,879,1092,996,675,436,388,536,588,1130,1422,1136,1252,1372,1166,1090,1040,1108,1574,1312,598,525,704,1122,1524,1448,1226,928,1086,1578,1676,1536,1314,1416,1356,1174,1164,1294,1130,1110,1028,1138,1266,1234,1220,1226,894,744,1104,972,709,983,1208,1132,948,838,1250,1466,991,625,458,367,486,886,1124,997,1232,1312,1184,1003,1017,1336,1450,944,926,1148,1144,1196,1354,1230,874,754,1374,1616,1030,877,1246,1158,783,752,974,871,472,423,642,1186,984,1244,1312,911,565,550,689,995,1050,881,860,653,871,594,590,1162,1304,1264,1160,999,930,1118,1100,769,693,930,1462,1032,1015,1070,655,506,461,996,1262,1080,1136,1326,1552,1130,580,377,412,485,422,443,634,717,843,789,442,601,631,651,1148,1230,993,1452,1538,1156,1392,1366,1308,1434,1250,1078,1100,1110,1050,927,966,970,1044,1422,1240,967,916,1056,1080,1042,865,855,1048,1286,1044,978,1086,709,557,931,1304,1350,1400,1414,1170,1152,1364,859,695,1024,1158,1200,788,543,424,410,433,605,850,592,593,1144,1512,1462,1240,1138,1136,1032,1070,1174,1262,1270,1364,1458,1292,1410,1184,1128,1370,1138,1170,1088,875,739,778,838,631,556,791,833,635,468,848,1224,1094,1164,1200,1264,1438,1020,795,1210,1720,1772,1242,1050,1488,1410,1034,1038,1408,1830,1664,1598,1650,967,1040,908,979,1120,1158,1036,1104,910,927,956,610,954,1170,997,1250,1222,1186,1466,1468,1272,1372,1472,1438,1116,1194,1402,1448,1100,632,843,1316,843,1084,1384,1598,1758,1512,1204,996,975,901,865,809,883,985,1162,910,800,1066,1356,1208,653,526,982,1432,1620,1412,1310,1252,1088,1096,1392,1280,1142,790,747,999,847,899,1100,1280,1478,1972,1648,1198,1196,1334,1474,1406,1284,1196,1220,1228,1306,1248,1336,1410,1360,1310,1338,1312,1208,1272,1382,1352,1374,1666,1836,1404,1088,949,1070,1126,745,786,1124,991,590,466,395,479,416,397,635,1024,782,597,627,503,403,400,444,440,610,902,706,704,869,941,1054,763,455,532,841,1238,1236,1396,1522],[758,810,833,629,788,1076,888,966,540,569,523,337,256,225,194,267,321,301,241,350,781,656,362,325,357,310,237,222,249,242,300,397,338,451,714,644,400,370,409,397,447,513,496,400,359,487,630,667,583,346,384,746,1266,1510,1584,1340,1144,978,910,1068,1140,1194,1374,1300,749,524,551,725,788,768,798,718,702,749,514,548,833,1106,840,588,715,562,559,759,1244,1478,1270,1212,1366,1320,1360,902,913,1064,956,1180,1158,972,907,929,625,406,419,525,417,823,1134,910,844,564,425,513,625,661,825,1224,1430,1170,699,1192,1404,1476,1404,942,636,657,671,781,1080,1188,1272,1278,1178,1086,796,619,487,412,414,572,1084,1706,1490,844,739,688,1154,943,658,625,736,836,976,1000,878,1023,810,706,723,764,883,1142,768,579,414,527,1372,1626,1152,891,500,420,379,372,394,348,332,233,245,454,646,473,267,342,350,406,408,642,708,450,354,317,551,561,347,298,352,523,579,391,275,287,393,461,484,426,333,425,550,721,866,579,365,403,650,649,760,824,923,672,494,494,405,393,544,546,554,701,805,489,466,466,458,438,366,381,450,525,569,684,741,890,1216,1412,1132,850,1023,1262,1290,1306,1266,1272,1378,1198,907,675,1262,1542,965,880,1156,973,740,1066,1682,1904,1620,1392,1058,731,1296,1654,1596,1262,1662,2092,1524,1244,1422,1316,937,699,657,905,1090,1114,1138,956,975,715,681,1218,1284,864,781,974,1354,1426,1068,897,1156,1642,1462,1246,1160,999,1056,1038,1044,886,837,782,1074,1162,1144,841,869,849,1048,1142,1080,1013,1108,1232,1156,1214,1378,1316,1324,1052,1088,1090,1394,1334,1046,915,582,930,1324,1006,615,396,321,376,383,576,578,556,668,644,703,943,1086,905,1102,825,755,777,747,738,841,845,633,477,469,779,1112,670,484,796,943,551,366,418,738,979,1180,1306,1254,1234,905,874,1042,648,860,1250,978,559,448,763,1066,1390,1356,1144,1210,1510,1534,1194,1360,1576,1474,1138,1013,1110,1216,1168,1196,875,396,430,636,937,1028,962,952,1224,1312,1374,1210,1060,1158,893,493,681,865,969,745,783,830,706,656,521,747,1204,1256,1560,1550,1130,952,924,738,1013,1274,700,453,692,760,614,1026,1074,821,1126,623,505,633,796,752,667,679,582,525,464,506,503,511,670,640,727,667,470,392,466,388,973,1228,1034,1078,1170,1050,761,711,1056,1372,1158,1194,1104,1072,1188,1072,1036,1032,946,861,941,1120,1124,1588,1068,603,698,936,886,704,571,519,441,381,441,621,937,1208,1482,1150,1270,1258,1130,1026,835,725,567,764,916,932,1040,1013,855,601,511,461,523,547,776,1226,1232,971,814,698,1116,1308,1170,1310,1334,1078,763,763,1170,1518,1428,1354,1260,879,681,810,1278,1242,1178,1738,1486,1326,1368,1294,1382,1322,839,728,1026,1046,988,1078,794,929,901,985,1330,1072,1010,1162,889,738,1026,1074,959,994,907,905,1042,1242,1242,1186,1170,1194,1188,1430,1576,1324,1192,1202,1282,1312,1398,1480,1560,1532,1642,1628,1556,1334,1192,1226,1322,1520,1434,1284,1202,1002,755,830,1056,1108,1098,1026,827,1166,1244,794,854,910,912,735,734,1060,875,732,1166,1376,1394,1004,691,710,691,644,642,771,738,735,827,962,1056,1024,903,1050,970,1202,1148,920,963,1120,929,705,846,979,942,800,637,1244,1616,1242,1086,1018,1278,1264,1040,1001,865,777,1026,1038,799,794,1164,1290,1320,1212,1270,872,636,915,1130,1272,1122,1682,1990,1322,1404,1314,802,491,414,753,1372,1056,792,1000,916,697,510,966,1010,794,649,880,855,705,466,444,681,876,1005,1214,995,502,749,646,433,522,853,836,709,994,949,524,394,379,957,1284,1148,654,1090,1526,1242,854,837,826,700,648,1020,1538,1620,1694,1380,814,690,585,490,597,620,589,521,461,373,327,375,509,514,532,919,731,801,705,868,1294,873,630,1372,1388,723,328,285,328,250,326,368,455,614,578,444,365,391,368,309,290,292,244,304,570,588,902,1356,1492,1220,1092,1144,824,663,698,621,619,599,536,486,396,325,359,472,581,425,357,449,533,403,389,381,386,404,487,509,446,444,483,409,406,379,328,394,716,750,645,654,531,360,280,284,262,423,862,1132,974,650,609,451,357,500,568,441,558,854,1092,1378,1750,1932,2190,2150,2072,1888,1898,1882,1332,912,680,399,321,605,1184,1022,457,266,272,279,298,376,364,267,287,401,665,437,266,239,233,293,315,401,365,284,325,496,897,1162,1008,567,276,300,612,748,822,861,1172,874,433,419,375,305,276,265,352,431,305,274,268,241,199,257,346,363,433,449,299,267,234,433,429,373,298,265,298,513,917,1166,1340,951,911,1026,641,647,523,831,926,716,779,932,1080,1058,774,428,527,985,877,1490,1816,1354,680,373,375,424,488,535,454,339,385,511,741,966,1108,758,661,962,1186,1288,1376,1104,673,1224,1724,877,447,398,447,494,462,419,435,457,536,640,973,1488,1298,781,957,1104,813,565,581,538,601,463,314,312,329,313,288,277,322,623,653,527,644,992,1264,1358,1194,792,552,969,1252,1080,1368,1448,1240,1058,1142,1104,1188,1224,999,1070,1232,1294,1246,552,582,742,1276,1372,1128,1454,1280,994,1160,1302,1180,1168,1068,494,539,570,566,1158,1262,1558,1738,1668,1554,1086,853,764,618,1498,2020,1560,789,605,802,1148,1406,1320,1356,1582,1548,1300,873,996,1168,1924,2364,1916,1788,1378,1094,821,1402,1588,1120,1094,479,345,583,1756,2240,1872,1172,843,782,1164,1738,1644,1001,887,1090,961,769,619,513,572,653,610,593,571,543,537,537,568,576,589,578,676,744,668,572,611,828,1130,1136,894,943,1088,1292,1294,1280,1222,1290,1344,1212,1068,885,1046,1332,1408,1396,1478,1616,1778,911,1108,1362,1528,1526,1368,960,602,542,588,595,835,1180,1278,1210,1230,785,576,703,656,758,1021,1076,1044,1366,1816,1194,1174,1246,1602,1722,1118,875,1108,1222,1182,1106,1086,1264,1260,1182,1098,1204,1214,1262,1184,1262,1334,1246,1128,1174,1344,1216,1272,1264,996,892,1350,1382,1044,1208,1388,1374,1420,1372,1324,1560,1498,1158,1144,1176,1324,1512,1568,1554,1452,1400,1378,1338,1318,1156,1346,1644,1358,1428,1160,1130,1164,1104,1030,1222,1360,1124,1256,1428,1342,1314,1346,1316,1468,1368,1354,1484,1260,1120,1260,1316,1180,962,835,1062,1378,2066,1756,1146,789,998,1230,1390,1378,1280,1296,1274,1322,1010,808,688,881,1174,885,742,1096,1010,639,937,1340,1150,1154,920,905,997,982,849,640,559,500,570,709,756,670,502,650,962,719,418,397,392,383,379,478,808,1172,1078,733,539,635,889,858,1316,1558,1272,1070,943,957,1210,966,962,1488,1148,474,422,364,764,1080,1134,1146,1058,1360,1542,1564,1556,1356,1500,1370,1142,1108,1230,1294,1216,1009,871,843,974,1058,952,768,818,998,836,550,605,792,844,795,989,1478,1228,801,783,997,855,1004,1274,1196,1034,1186,1156,1284,1108,725,1188,1528,981,834,1256,1404,1384,1278,1302,1158,1110,1450,1430,1184,935,980,1054,686,617,607,508,355,424,823,1242,1054,1038,1116,1138,1122,944,1042,1456,1426,1354,1038,897,1260,806,470,817,1108,955,894,1130,1274,1626,1626,1015,777,899,1001,1074,1138,750,370,293,298,643,1015,1354,1502,1318,1406,1536,1346,775,493,401,449,632,884,1023,998,747,455,586,705,1188,1136,1046,1114,1336,1434,1372,1684,1506,1318,1466,1572,1214,1044,1098,1098,1044,984,919,1036,965,715,734,1052,1366,1216,698,431,404,752,1096,1116,1170,1078,882,868,1356,1642,1558,1322,1038,1090,1386,1568,1106,729,839,850,641,541,520,427,404,382,424,412,433,970,1386,1338,1298,1202,1264,1130,874,1054,1124,962,1084,1194,1294,1424,1628,1318,1356,1642,1306,814,731,602,453,672,655,475,453,561,766,730,662,769,710,1064,1370,1124,1180,1230,869,1030,1504,1686,1444,1174,1238,1542,1334,654,739,1424,1778,1556,1716,1854,1130,1146,1134,1294,1150,801,728,753,545,461,531,778,1126,1160,1376,1346,828,997,1434,1400,1422,1468,1328,1236,1100,889,849,1328,1110,664,540,1106,1005,1166,1582,1820,1812,1028,655,834,880,1138,1440,1354,1482,1448,1558,1574,1288,1186,1242,1232,1005,769,1152,1324,1620,1512,1462,1236,1014,1222,1220,935,1064,865,650,885,1022,1378,1344,1320,1282,2342,1780,764,669,988,1364,1470,1274,1138,1460,1432,1380,1416,1324,1368,1736,1836,1476,1176,1044,1136,1260,1250,1554,1782,1698,1908,1346,917,1088,916,576,766,1122,1064,621,455,370,424,317,317,444,837,817,685,641,568,448,365,413,487,780,725,474,528,844,1022,946,651,556,541,753,1052,1132,1396,1450],[1108,1070,1052,930,1094,1244,1178,1238,1304,1128,848,775,598,321,256,269,267,252,273,415,802,616,465,445,361,278,244,215,265,283,296,464,512,390,283,471,340,278,317,344,358,398,443,412,350,386,386,433,476,369,337,655,1194,1574,1538,1224,1066,1030,1026,1022,933,1034,1190,1220,1036,1124,1346,1356,1324,1290,1194,818,718,885,726,549,717,754,584,538,625,678,929,1128,1150,1210,1260,1142,1216,1376,1410,1032,1044,1210,1298,1306,1260,1054,1012,1212,915,559,353,465,501,1028,1226,705,498,498,472,771,1002,592,651,852,1250,844,739,1400,1290,1074,1128,818,577,690,931,1140,1302,1466,1822,1990,1132,492,434,404,356,383,539,773,1138,1660,1606,939,464,368,1020,902,598,643,901,1148,1318,1278,1015,1088,1076,1146,960,1080,1028,854,690,619,444,451,919,1034,979,808,476,433,405,405,400,351,314,260,238,338,436,345,240,293,412,611,402,563,758,504,388,661,915,741,473,271,352,514,437,216,270,362,798,1044,809,473,339,364,378,637,909,499,361,308,398,542,573,491,583,545,506,634,532,454,475,412,584,826,693,468,504,480,457,396,365,388,563,890,1100,1150,982,962,975,1146,879,1084,1636,1360,1412,1898,1806,1620,1526,1078,1066,771,1054,894,728,1064,1372,1182,1214,1614,1546,1524,1104,932,899,706,1013,1186,1410,1512,1904,1786,1274,1274,1284,980,725,840,703,657,850,893,764,579,808,943,985,1158,1068,964,973,949,1192,1164,1326,1054,811,1082,949,897,966,1064,1019,970,1106,918,670,816,1156,1202,1202,1030,781,795,1070,1092,1136,1130,1292,1396,1290,1220,1344,1264,1426,1058,774,954,1138,1130,1294,1130,597,1002,1338,1078,576,362,424,461,438,550,555,450,460,459,617,797,780,875,982,641,594,597,464,664,1250,1440,1066,786,517,470,611,853,505,437,511,501,423,412,525,636,905,1150,781,471,395,763,1078,877,1126,1322,1102,858,620,493,728,1018,1200,1332,1194,1302,1196,1040,1238,1266,999,991,856,918,1260,1158,1224,931,558,561,997,1144,888,752,1020,1028,973,1116,995,949,1158,810,493,705,896,666,572,841,1016,856,691,539,691,1214,1566,1782,1250,1140,1144,1160,996,1306,1356,725,443,818,993,695,1042,1174,777,791,447,478,498,559,484,480,475,397,413,388,454,466,463,585,391,332,400,357,397,478,415,790,1094,1168,1244,1136,1124,963,804,1166,1372,1290,1282,1176,1056,796,629,550,542,697,719,1058,1188,1138,1756,1208,867,1006,840,524,708,974,489,455,447,482,940,1208,1190,1250,1142,1282,1088,1007,1058,868,918,1274,1552,1354,1048,1206,1310,1036,659,523,429,464,506,821,1256,1150,1244,1620,1372,2214,2018,1252,1202,1168,1202,1230,1332,1598,1526,1214,1636,1660,1252,1234,1284,1682,1440,1184,1234,1592,2072,1392,1370,1296,1134,1130,962,991,852,1036,1050,894,1064,1188,1416,1776,1380,922,1130,1176,883,937,1082,1204,1062,849,833,1152,1342,1202,1172,1160,1194,1134,1476,1722,1766,1492,1274,1432,1560,1540,1450,1302,1340,1366,1068,1166,1328,1402,1364,1334,1500,1556,1462,1332,886,485,522,913,1164,1066,870,638,833,1026,998,998,1052,1266,1194,1120,979,609,650,1008,1250,1388,1262,1168,877,772,996,1122,892,624,568,727,1024,1266,1302,1054,1126,1116,1238,1104,856,996,1108,966,907,1052,1258,1170,1052,619,1216,1414,1354,1124,1166,1306,1110,818,819,914,1036,1048,1038,774,625,845,1054,1244,1276,1344,1154,1358,1666,1484,1272,1080,1060,843,800,852,1212,1248,909,781,1106,1256,914,899,939,824,753,714,1106,1112,984,943,678,347,383,435,518,723,722,936,1066,758,603,864,776,426,383,899,1174,853,964,841,557,440,351,918,1240,1198,591,891,1654,1610,1342,937,647,719,918,1188,1302,1222,1350,1560,1010,543,565,542,399,337,355,355,472,495,516,636,790,714,415,605,781,872,831,838,897,813,849,1390,1470,899,409,572,744,454,329,360,429,489,480,501,409,362,303,246,270,321,363,392,544,564,612,865,823,962,1232,1250,1330,1112,688,529,459,411,405,362,331,355,353,408,579,417,361,292,238,300,352,364,383,430,438,421,407,404,450,434,402,396,516,1050,1632,1162,600,522,388,276,220,255,260,287,526,1112,1128,948,797,447,336,651,1078,1044,785,746,781,1386,1574,1674,1838,1810,1892,1678,1426,1530,1412,1240,747,389,367,602,1148,1356,927,544,401,377,383,357,334,381,358,516,1322,821,334,237,243,278,306,348,318,262,312,514,905,1430,875,349,229,327,717,1072,1266,1256,1202,843,536,675,983,743,390,273,291,291,300,242,189,217,208,244,346,410,351,335,414,471,389,417,438,357,327,302,317,532,877,1338,1240,591,935,971,653,442,437,569,515,891,1460,1256,1224,1156,783,410,431,821,646,983,992,577,422,461,478,600,710,681,645,428,347,319,356,730,1028,799,619,946,1186,1032,759,891,785,1444,1390,646,412,466,512,495,368,296,448,643,630,622,607,653,445,386,696,772,493,504,490,492,609,500,390,351,324,360,287,259,271,644,1026,714,384,614,1002,1186,928,634,535,1013,1136,1160,1410,1404,1076,1000,1188,1166,1376,1456,988,1036,1134,1126,1276,632,565,817,1306,1340,1092,1366,1448,1074,1156,1222,1244,1254,916,643,716,763,865,1418,1614,1622,1734,1648,1482,858,631,613,932,1914,1976,1014,519,555,940,1226,985,647,845,1562,1804,1528,1266,1436,1516,1928,2382,2060,1830,1472,1023,844,1206,1602,1016,1013,524,362,491,905,997,739,527,748,1084,1280,1664,1642,971,907,1028,812,667,565,547,604,631,614,597,582,563,537,528,571,552,561,526,670,713,629,547,502,540,649,630,679,989,1058,1160,1330,1318,1422,1408,1310,1188,976,1062,1302,1432,1380,1242,1252,1642,2204,1260,861,1320,1674,1384,1312,1454,996,608,497,588,1142,1348,1426,1410,1324,1138,1226,1226,879,956,1146,1026,1120,991,803,705,812,961,1404,1672,1140,1108,1456,1282,1268,1210,1212,1274,1130,1194,1194,1316,1310,1316,1404,1348,1186,1118,1108,1160,1316,1078,1092,1090,1072,1126,1358,1332,1178,1306,1392,1256,1314,1278,1240,1474,1454,1390,1382,1334,1328,1382,1340,1382,1554,1700,1602,1392,1368,1412,1454,1372,1370,1238,1188,1428,1384,1224,1030,1028,1028,1116,1408,1358,1500,1512,1288,1494,1920,1656,1282,1158,1023,1034,1246,1408,1290,1204,1248,1166,1005,1994,2132,1424,1280,1404,1122,806,769,1088,1144,1010,954,712,737,826,627,974,1100,987,1098,1024,1044,1290,1258,1148,1196,855,877,974,946,767,722,744,620,908,1010,847,742,420,364,667,679,471,385,456,487,425,440,738,1140,1066,720,563,918,1322,1206,1444,1634,1360,1172,977,995,1318,1180,1088,1496,1194,579,509,521,727,994,916,691,947,1262,1494,1530,1626,1318,1098,962,1156,1164,1186,1162,1100,1060,745,623,736,772,874,836,904,1096,800,451,604,697,938,1120,1322,1652,1634,1304,1212,1512,1620,1218,976,931,989,1200,1234,1019,611,618,1108,1414,1260,1048,1648,1568,1202,1154,1294,1138,1102,1394,1304,1394,1144,790,792,597,561,511,456,556,619,668,756,791,1100,1350,1326,1172,1128,1338,1432,1238,1112,924,1064,1086,1001,1007,1124,1388,1156,1007,1190,1350,1482,1256,915,826,864,879,1028,968,702,504,400,413,918,1632,1866,1436,1216,1090,1050,979,1212,1142,720,688,1034,1286,1314,1026,839,545,542,1024,1480,1108,1346,1528,1650,1570,1468,1588,1580,1738,1790,1702,1392,1162,1100,1030,1094,1068,1013,956,745,583,619,875,1222,851,421,373,621,1088,1260,1404,1740,1878,1266,1006,1102,1336,1428,1382,1116,800,1238,1486,1236,1034,946,637,417,473,509,425,387,387,484,430,509,846,916,840,935,1068,1116,930,930,902,714,945,1354,1238,1350,1410,1306,1328,1262,1144,899,497,537,738,725,751,615,602,565,456,433,642,1190,1216,852,990,1048,978,1114,1356,1088,1258,1500,1560,1236,1116,1332,1732,1560,840,788,1156,1324,1336,1550,1522,1416,1598,1512,1194,783,461,476,540,468,427,468,821,912,1374,1576,1174,868,1012,1272,1392,1460,1522,1532,1676,1378,750,481,985,1001,615,478,728,974,1314,1590,1616,1426,732,540,732,793,902,1086,1566,1540,1152,1588,1824,1410,1164,996,1042,1336,1170,1270,1418,1688,1656,1408,1178,1068,1256,1300,1158,1080,1134,839,555,531,885,1116,1134,1154,1202,759,536,707,1138,1048,1334,1430,1620,2110,1656,1228,1232,1414,1442,1548,1484,1266,1102,1072,1170,1344,1540,1848,1586,1088,976,811,639,623,516,466,584,764,602,504,472,400,350,330,351,403,705,893,742,605,576,581,507,658,633,895,666,394,497,894,1011,657,470,553,675,1140,1162,1102,1022,1224],[581,524,706,789,592,451,496,901,966,816,944,1010,960,859,572,474,426,283,245,363,367,392,397,523,508,339,287,254,293,267,433,771,949,685,441,389,312,356,483,455,377,415,478,493,362,323,330,436,431,397,422,586,1036,1494,1484,1156,1040,963,1086,1016,893,928,878,1020,1506,1442,1654,1780,1888,1704,1318,892,993,1164,819,458,580,562,402,531,619,665,820,878,739,1130,1218,1082,1388,1160,952,1066,1194,1352,1428,1296,1080,948,1118,1182,896,783,565,510,443,799,1058,681,538,689,976,1122,1130,809,670,500,612,731,1058,1192,933,784,952,1050,1076,1180,1178,1194,1600,1924,2084,1920,953,371,336,369,418,460,645,774,1064,1376,1528,1026,686,755,1330,1288,813,915,1266,1268,1408,1502,1044,1028,1256,1034,597,667,614,464,404,368,330,446,704,728,871,611,455,464,423,390,401,413,408,310,227,258,301,316,435,722,803,583,448,662,699,378,408,564,671,730,462,231,343,396,257,190,268,286,561,877,752,443,428,387,351,318,513,397,335,319,512,650,633,519,496,511,387,491,612,440,309,409,507,788,621,410,402,443,451,388,344,399,800,1394,1550,1344,1260,874,695,988,894,1224,1546,1116,1376,1836,1558,1322,1080,915,1001,1148,1410,1168,957,1142,1306,1312,1284,1488,1464,1476,1296,844,529,574,857,968,1292,1554,1290,882,1018,1118,1370,1482,985,469,294,576,1022,1094,746,641,1026,1164,993,770,768,745,781,814,880,739,977,893,961,1128,1258,1126,953,970,969,1218,1048,812,915,1142,963,1072,1426,1514,1262,1224,1262,1196,1060,935,1154,1346,1340,1356,1398,1220,1156,921,839,1001,661,708,1428,1296,910,1176,858,739,818,688,509,544,705,938,886,493,574,684,923,1030,990,927,775,445,358,525,551,555,1050,1162,1116,851,681,592,1188,1432,907,587,404,468,440,367,642,630,577,768,538,473,681,1062,1184,1018,1018,1116,1166,1044,942,708,767,974,1310,1208,1086,1362,1440,1294,1062,708,702,860,725,755,1216,1250,1332,1178,757,586,806,704,526,775,1022,1013,1294,1124,1078,978,1044,758,430,593,767,636,615,722,859,737,506,434,778,1192,1296,1196,943,1120,1152,1196,990,1060,1084,874,748,677,859,754,1210,1058,566,755,922,779,582,555,480,519,542,365,338,395,617,424,363,472,360,380,372,368,411,391,426,636,890,1046,1248,1338,1380,1172,982,1096,1198,1158,1052,937,639,316,327,412,788,1264,979,1148,1210,1078,1016,963,871,821,558,487,731,910,467,427,441,576,847,863,1130,1418,1438,1250,1238,1264,1256,1236,1474,1848,1800,1498,1094,1060,1160,993,908,922,580,673,954,1580,1810,1274,1324,1296,1124,2048,1910,1216,1120,1408,1400,1380,1486,1360,1038,1304,1566,1258,1232,1318,1250,1324,1108,1084,1250,2796,4156,1622,1456,1460,1080,1324,1394,1050,801,885,966,921,830,1032,1388,1432,1246,1118,1318,1456,1009,575,833,1172,1090,988,985,1312,1216,1236,1366,1294,1208,1174,1240,1136,1476,1604,1560,1524,1294,1178,1074,993,1192,828,752,1102,1132,1086,1172,1136,1202,1322,1374,1160,772,462,475,742,937,998,708,569,673,878,1062,1080,1094,1080,1248,1280,858,838,1170,1068,1154,1348,1388,1216,910,773,794,982,1042,669,566,1001,1150,1232,1266,1190,1218,1056,851,927,1368,1524,1302,1088,759,579,1072,1044,1040,927,1078,1274,1422,1416,1356,1226,1040,731,902,953,802,711,844,825,666,741,1236,1282,993,1096,957,1252,1532,1096,1068,919,824,738,741,813,1144,1288,1438,1308,1498,1620,1538,1262,1120,1106,1162,1228,1208,943,942,1208,1142,805,650,547,962,1148,796,785,1008,807,623,864,878,550,449,537,731,1066,888,634,651,479,360,555,847,761,415,806,1324,1648,1522,1082,582,530,1112,1120,1334,1308,1246,1514,1188,572,493,442,420,531,621,657,883,1104,864,842,935,651,424,603,883,800,877,984,498,548,1062,1318,1524,1128,585,987,1396,900,337,345,453,413,524,527,339,349,471,405,403,442,460,455,689,755,498,511,473,556,536,598,665,502,372,374,307,266,344,346,336,372,398,479,644,976,714,400,346,377,420,365,353,471,460,416,448,390,425,406,433,719,1048,1346,1294,706,351,352,386,394,291,255,261,270,288,622,932,993,574,288,323,480,672,682,753,811,748,982,1132,1290,1180,1124,1372,1398,1576,1792,1706,1578,1082,650,485,553,919,1128,939,939,904,593,409,330,324,444,378,785,1566,974,332,232,235,268,271,286,248,217,224,325,464,539,345,280,209,451,824,1244,1804,1760,925,642,569,1216,1666,1228,565,356,274,288,297,236,269,292,296,451,427,505,539,659,749,702,648,633,481,262,299,303,335,677,1021,1420,915,641,883,819,529,305,321,300,311,752,1272,1204,944,949,854,546,375,521,865,1086,756,511,357,439,542,903,744,636,498,365,337,343,374,661,1056,988,771,1007,1286,1050,677,760,814,1160,1028,515,394,538,555,491,427,415,487,682,673,609,554,461,323,281,554,637,650,710,395,425,581,548,674,926,589,334,320,339,292,475,916,988,537,472,623,995,1152,1120,760,1020,1076,1092,1260,1274,976,1050,1360,1380,1462,1396,1012,912,808,1108,1456,1050,742,787,1128,1408,1372,1424,1682,1480,1298,1392,1390,1496,1174,899,952,1066,1112,1526,1672,1340,1262,1792,1660,879,717,741,1256,1700,1100,493,503,813,1238,1332,953,730,733,1488,2006,1434,1382,1530,1512,1804,2292,2094,1580,1318,985,898,1120,1362,902,771,577,380,368,421,424,570,807,1318,1766,1454,1532,1578,968,933,954,816,600,522,547,567,611,639,600,568,586,601,595,596,609,543,521,614,612,539,522,535,492,520,601,686,975,940,1058,1126,1202,1394,1212,912,790,846,998,895,1216,1224,1240,1220,1462,1560,1282,1042,1134,1212,1194,1496,1240,1204,1196,1180,1350,1472,1612,1686,1366,1400,1820,1968,1600,1024,1134,1344,1232,1220,985,931,880,621,732,1306,1692,1400,1144,1300,1130,1328,1396,1396,1266,1212,1238,1228,1278,1282,1312,1326,1346,1180,1092,1192,1208,1212,1092,1164,1152,1160,1214,1184,1150,1198,1294,1368,1256,1342,1188,1504,1714,1650,1600,1494,1418,1432,1310,1106,1246,1320,1384,1472,1312,1328,1346,1428,1388,1428,1362,1410,1480,1362,1198,937,1020,1144,1244,1346,1150,1236,1324,1354,1490,1388,1156,1098,994,861,933,1220,1328,1260,1396,1472,1226,1030,1716,1794,1314,1400,1484,1312,861,957,1308,1194,1166,766,462,588,776,785,970,1238,1456,1252,1136,1454,1486,1030,1030,1246,1252,1378,1158,924,1030,1188,888,695,1130,1410,1182,937,557,420,641,766,624,430,463,466,472,457,623,1032,1038,675,616,994,1050,875,1176,1410,1384,1440,1284,1238,1282,1182,940,1586,1200,526,549,761,890,989,930,907,1090,1166,1256,1174,1442,1428,954,777,923,971,1174,1388,1456,1116,635,537,639,683,890,951,875,841,634,425,493,662,706,667,1046,1412,1522,1108,988,1448,1980,1442,1196,1238,1152,1260,1276,946,582,688,987,1288,1292,1174,1344,1168,988,876,1100,1146,1378,1682,1246,941,1046,1104,1046,746,762,749,728,1036,908,842,1020,1112,1238,1166,1250,1106,1112,1338,1122,1332,1386,1198,1104,1132,1228,1212,1334,1474,1198,990,1258,1520,1330,807,608,725,931,1088,1112,980,891,852,530,679,1252,1502,1514,1236,996,894,954,855,1176,1600,1450,1212,1246,1220,1166,913,760,718,835,1346,1460,1514,1612,1676,1670,1544,1506,1546,1606,1764,1982,1604,1376,1302,1072,905,959,963,905,805,782,576,451,587,725,458,359,555,1166,1334,1300,1440,1594,1656,1456,1410,1368,1248,1036,1290,1278,1092,1298,1350,1004,937,1090,837,546,404,367,339,416,560,626,675,797,754,542,499,675,861,945,991,842,450,353,567,792,840,1058,1312,1506,1544,1528,1046,554,390,614,1042,1054,664,447,659,787,747,710,1016,1506,1236,786,829,954,1214,1196,1208,1322,1326,1278,1230,1388,1384,1216,1234,1188,1030,662,672,794,1238,1492,1484,1476,1332,1122,727,464,385,419,421,386,421,387,444,555,995,1276,1360,1256,1260,1372,1492,1288,1416,1912,1664,1028,984,1020,1268,1302,938,713,988,1420,1238,1322,1338,1130,936,647,1090,1532,1368,1310,1504,1426,1222,1360,1364,1204,959,1023,1212,1288,1386,1432,1536,1644,1530,1332,1276,1212,1422,1326,1316,1114,882,637,537,642,689,886,1160,971,742,744,902,1288,1388,887,868,1094,1382,1572,1344,1082,1206,1368,1196,1224,1400,1470,1114,1250,1396,1386,1578,1690,1504,1050,753,716,487,500,478,520,573,647,418,319,311,328,317,307,309,401,585,723,592,424,427,531,569,788,758,785,604,392,504,735,754,607,450,522,1003,1062,835,797,656,988],[612,760,1128,782,372,361,432,619,496,339,302,298,478,545,680,841,752,707,752,648,432,320,290,370,404,322,261,259,314,398,804,1011,874,561,402,371,337,280,365,483,422,461,555,493,375,332,349,467,437,376,393,511,941,1398,1454,993,776,815,1224,1196,929,677,1316,2156,1768,1682,1574,1610,1638,1436,1244,1108,1106,960,666,548,828,963,694,672,762,715,434,459,567,1032,1216,1210,1242,1114,1042,1202,1262,1222,1186,1090,772,692,1046,961,594,633,669,645,527,594,926,908,825,1058,1266,1304,1214,1130,979,1012,950,984,1082,878,1021,1015,1092,1092,922,819,607,790,1656,2030,1508,785,496,393,364,365,498,422,529,733,1366,1454,1692,1662,1506,1660,1658,1328,1056,1168,1446,1214,1360,1402,833,758,1078,765,383,440,481,463,421,364,312,355,387,541,637,481,394,487,510,408,405,402,449,346,246,299,312,296,382,630,695,484,293,461,493,328,281,230,299,441,303,229,312,358,280,221,250,381,702,708,557,473,380,357,566,601,517,384,305,254,315,421,416,320,387,404,330,416,442,360,295,370,651,780,503,430,383,385,394,390,353,398,848,1602,1976,1736,1224,1001,971,1009,1194,1152,1196,1170,1200,1112,904,869,1026,1278,1362,1492,1402,1092,1009,1172,1060,995,1226,1440,1380,1348,1344,1050,706,833,924,849,1248,1334,1172,1009,933,1260,1640,1642,825,379,358,621,999,984,678,905,1352,1530,1184,724,611,825,1234,1302,1308,1460,1228,1282,1168,1024,1254,1178,952,913,979,1176,984,883,1248,1384,1232,1354,1440,1488,1392,1138,1354,1544,1114,1110,1416,1248,1180,1330,1238,1300,1268,1036,939,965,726,829,1434,1672,1288,1090,937,774,671,572,521,722,831,711,554,587,653,948,1080,810,707,847,692,534,452,655,799,777,1202,1302,1156,686,670,872,1328,1330,1144,794,442,402,431,641,1120,847,521,530,502,794,1214,1396,1390,1138,750,707,863,644,720,871,844,1018,1118,808,855,1212,1278,1390,1188,775,839,855,565,711,949,766,548,803,877,808,969,924,737,803,924,1240,1394,1194,1488,1166,812,759,769,785,888,874,563,518,536,547,642,666,1012,1064,1088,1070,1092,1338,1328,1146,891,741,647,579,502,489,624,943,1370,910,692,996,1412,1382,677,535,514,398,347,356,321,429,897,636,511,813,907,679,454,431,419,433,376,545,916,950,896,1068,1260,1208,1040,937,865,778,560,435,298,281,313,458,932,1170,1154,1174,1232,961,797,913,725,834,551,455,500,465,372,416,555,926,833,721,1166,1328,1232,1296,1386,1386,1034,1058,1296,1288,1152,879,878,1310,1388,1140,984,959,719,908,1150,1046,1108,946,1038,1490,2234,1968,1208,1162,1256,1482,1286,1392,1252,1156,1292,1430,1338,1244,1528,1290,896,1264,1122,843,807,1978,2124,1086,1272,1446,1214,1180,1166,1002,984,1026,844,568,501,651,1066,1170,1310,1132,1070,967,651,518,723,821,757,799,1086,1460,1208,1048,1240,1348,1560,1774,1574,1318,1444,1574,1318,954,882,1090,1168,985,976,796,1048,1250,988,816,1068,1180,940,977,1334,1200,1100,900,565,580,735,617,525,594,637,796,1000,1050,1216,1310,1290,1254,978,1021,1160,940,1076,1270,1418,1404,1034,827,639,808,890,883,848,848,948,1170,1232,1126,965,692,494,619,1190,1274,1180,1162,901,713,810,887,1130,1296,1382,1416,1328,1444,1114,859,885,1134,1282,1342,928,487,785,1396,1370,1042,1040,1001,1050,1112,890,972,1030,683,1020,1026,890,1228,1166,828,1048,1314,1494,1432,1498,1466,1272,1148,1024,804,695,696,725,829,1008,1132,1330,1292,1656,1472,1344,1316,775,895,1208,941,821,797,883,842,673,496,667,1308,936,554,816,648,386,449,479,413,468,631,651,1250,1422,1112,871,945,1628,1882,1450,1040,1190,1406,1254,753,699,894,933,1074,1166,1034,1180,1544,1238,1094,1184,799,694,646,878,750,631,729,397,372,458,830,1316,1198,750,924,1458,874,454,388,428,304,466,476,359,538,681,522,555,676,714,784,1194,987,586,583,597,648,656,534,376,429,491,458,537,580,412,399,447,452,522,568,1122,1262,594,388,413,393,432,447,423,461,431,443,427,405,402,554,1002,1578,1704,1252,930,583,406,427,519,547,443,337,280,270,263,260,529,873,786,458,321,381,376,388,567,848,982,1015,1248,1314,1060,1194,1332,1144,1582,1718,1722,1310,810,713,752,521,728,1102,977,869,1214,1062,545,314,308,366,296,435,633,442,238,257,300,284,260,236,203,184,186,214,264,255,273,269,223,353,688,1208,1710,1374,637,461,494,1036,1304,948,596,427,235,211,260,383,582,687,749,918,583,589,753,837,860,1106,1250,822,588,311,297,287,389,739,1023,1210,774,832,915,501,395,412,381,261,265,269,369,556,696,1008,992,824,599,337,743,1054,740,619,382,276,432,714,495,379,309,345,438,560,735,938,1130,981,1052,1192,1180,1116,849,765,721,910,818,491,455,469,490,471,486,568,607,542,527,541,546,484,367,280,293,349,684,676,353,375,544,697,1290,2274,1770,758,390,426,313,259,495,988,924,875,999,1180,1302,1562,1268,1076,1002,1052,1160,1144,930,1168,1384,1336,1324,1328,1204,802,534,1034,1430,1370,1302,1396,1558,1690,1734,1624,1706,1798,1566,1538,1312,1296,1278,1068,966,1098,1164,1450,1356,1048,1396,1884,1838,1216,947,1198,1378,1228,756,391,683,1130,1224,1686,1310,1138,825,1332,1802,1498,1450,1526,1462,1636,1938,1786,1272,1120,907,835,1028,992,709,457,509,563,484,383,578,1084,1206,1430,1766,1150,1432,1634,1023,1001,1009,753,557,462,442,459,497,478,541,599,606,644,615,662,684,577,514,540,577,561,549,543,532,554,613,535,738,803,972,992,939,954,837,450,414,630,845,745,908,885,1238,1356,1376,1510,1528,1380,1238,879,859,1138,813,809,963,1356,1690,1612,1820,1880,1518,1360,1334,1488,1418,1406,1274,1206,1226,1226,1306,1458,1288,984,1024,1284,1630,1588,1278,1370,1270,1422,1516,1432,1284,1284,1234,1234,1242,1230,1250,1194,1306,1360,1164,1028,1230,1156,1092,1108,1194,1282,1274,1328,1344,1270,1262,1408,1294,1240,1210,1606,1650,1470,1410,1492,1440,1472,1362,1126,1128,1184,1384,1544,1476,1504,1394,1412,1362,1364,1418,1294,1388,1300,1200,1096,1356,1738,1710,1480,1380,1480,1346,1510,1448,1222,1164,1112,966,965,1060,926,918,1140,1314,1510,1550,1366,1310,1308,1448,1398,1450,1404,1318,1198,1240,1216,1194,930,785,872,918,1086,1084,1202,1600,1676,1344,1324,1324,966,936,1116,1236,1294,1128,984,1164,1048,549,781,1114,1192,1118,921,536,467,646,811,770,442,497,469,458,437,620,917,973,633,648,962,1015,1144,1388,1412,1440,1048,696,986,1026,951,791,1380,1040,504,799,758,654,846,755,868,1066,1106,1050,971,1150,1542,1294,919,821,1138,1350,1454,1416,912,811,927,821,675,794,1088,910,564,670,641,580,898,1086,664,875,1128,1062,1038,827,1082,1508,1300,1208,1278,1212,1042,739,847,878,779,680,828,860,713,656,675,631,660,996,1396,1250,1266,1152,1070,1040,1302,1036,782,1162,1162,1088,1344,1162,941,1142,1188,882,772,1026,1152,1066,1042,1206,1360,1418,1306,1204,1280,1232,1142,1362,1398,1412,786,913,1264,1174,1054,956,992,1192,1320,1142,1078,1166,1200,890,984,1470,1526,1338,985,734,1013,1232,1226,1340,1360,1562,1676,1208,1110,1274,1023,1246,1156,1200,1234,1124,1412,1528,1512,1462,1702,1642,1604,1632,1754,1604,1350,1338,1418,1302,1032,865,794,653,695,1006,736,566,552,510,382,429,789,1216,1366,1400,1586,1482,1562,1786,1726,1610,1318,1290,1384,1262,1148,1220,1300,1198,1046,1344,1148,988,588,434,412,668,851,831,969,1134,993,649,403,570,778,698,735,636,512,419,525,664,652,747,1328,1520,1528,1616,1338,790,528,771,987,820,515,498,697,739,861,929,1178,1272,1356,1468,1092,980,1092,1052,905,764,965,1236,1086,1018,1080,970,679,653,524,507,751,856,1052,1226,1262,1330,1128,686,481,456,524,463,406,386,373,357,440,572,842,1326,1516,1384,1516,1398,1232,1248,1472,1958,1538,1100,1152,1300,1434,1314,1196,1200,1254,1198,1576,1614,1504,1388,1296,1072,1402,1594,1466,1388,1394,1400,1152,1268,1268,1208,1128,1148,1300,1448,1536,1566,1658,1504,1402,1278,1346,1362,1334,1226,1290,1374,1128,972,976,1032,855,966,1262,845,783,905,899,1398,1448,1194,1014,1003,1310,1432,1164,1098,1023,858,937,1152,1224,1196,1282,1508,1418,1032,1168,1548,1548,1406,1230,896,560,557,523,597,606,635,473,339,336,379,431,377,385,491,571,656,505,383,396,415,458,590,727,886,778,539,630,614,567,647,510,500,955,845,901,1068,1020,1070],[758,883,991,578,331,327,489,680,404,373,474,464,398,292,312,306,406,570,839,1007,970,851,926,1050,808,723,644,411,356,576,827,940,791,484,386,301,305,251,414,459,394,394,474,466,382,336,391,466,408,379,373,400,793,1388,1550,1382,1360,1204,1190,1296,1116,628,893,1422,1516,1748,1420,1456,1648,1666,1360,1007,963,968,832,658,822,863,730,777,895,798,715,769,817,941,1116,1178,1200,1278,1050,1280,1272,1212,1174,1098,993,1068,1280,1150,828,597,578,663,675,611,988,1246,1224,1394,1428,1412,1456,1414,1148,1009,1030,1118,1216,1202,1202,1004,784,615,446,509,426,579,1340,1966,1484,580,443,412,354,345,474,408,487,776,1562,1876,2028,2132,2110,1778,1412,941,941,1058,1110,1250,1302,1296,843,551,720,712,404,415,496,537,464,411,375,370,437,698,596,436,461,497,464,409,428,378,356,331,236,278,294,250,246,368,580,577,320,458,574,406,305,257,431,380,257,265,402,502,387,350,327,423,531,343,504,630,418,597,1080,1136,661,388,331,219,226,264,295,414,463,419,327,339,355,340,372,423,712,782,437,456,360,350,460,457,401,371,732,1332,1532,1372,1292,1500,1450,1162,1198,1438,1402,1564,1592,1028,1022,1190,1312,1248,1340,1668,1388,996,1019,1168,720,598,1036,1128,1124,1264,1338,955,532,769,833,1001,1052,1244,1430,1472,1130,1138,1450,1256,641,292,376,487,623,774,659,1015,1322,1288,1270,993,902,1218,1490,1444,1890,2092,1484,1456,1192,613,544,805,1226,1528,1023,876,1130,1270,1464,1496,1216,1242,1266,1204,1332,1260,1282,1278,1160,1196,1398,1238,1092,978,785,1094,1146,957,1144,1238,1072,1310,1568,1614,1644,1368,923,650,432,378,404,529,521,383,337,451,587,1010,1442,1288,838,1026,1188,1210,518,435,713,830,1234,1694,1488,813,666,1042,1226,1082,826,508,419,341,362,846,1236,1032,717,584,657,1028,1238,1210,1370,1214,729,624,673,485,721,789,756,801,777,903,1356,1302,990,1386,1260,1354,1096,827,485,857,1122,1098,1009,1038,1136,1304,1516,1146,1015,882,747,1198,1252,1192,1590,1458,1048,1190,1502,1216,1152,971,526,549,834,1056,1316,1096,857,830,1013,998,1218,1548,1388,895,733,628,554,473,400,379,388,875,1202,841,957,1196,1396,1414,644,586,585,457,451,478,430,520,870,799,686,965,988,642,517,614,439,415,372,520,912,933,966,1078,1034,1102,1238,1046,737,825,533,382,293,283,297,393,513,941,1238,1072,1004,813,577,636,750,1078,653,528,407,398,445,509,689,940,817,464,587,762,982,1350,1262,1188,1128,957,1078,1002,754,756,1040,1412,1304,928,713,609,547,721,985,881,755,793,908,1322,1302,896,1194,1450,1256,1338,1182,1330,1250,1122,1164,1216,1296,1390,1158,912,967,1370,1406,1194,750,1196,1202,1040,1140,1154,1182,1180,984,889,1030,1034,849,547,616,870,1080,1262,1330,1344,1418,1072,456,572,728,670,1018,1070,1250,1372,1208,1020,1162,1292,1522,1736,1684,1462,1242,1306,1020,709,747,1100,1112,739,652,709,1086,1438,1188,904,1102,1252,1268,1284,1476,1166,983,987,614,410,423,398,500,634,805,915,1040,1108,1148,1226,1290,1030,984,943,794,839,997,1138,1354,1532,1268,988,980,1210,1042,943,723,576,838,1134,1032,741,628,322,343,416,863,968,1004,1074,1144,937,723,985,1338,1466,1300,1210,1338,1638,1190,811,902,1044,1052,1396,1394,883,830,1426,1676,1296,1036,1116,852,918,885,839,910,750,880,1118,1150,1144,963,712,1034,1338,1376,1494,1438,1178,1144,1224,818,430,451,391,550,925,1178,882,904,1232,1576,1580,1486,1112,1158,2160,1504,1440,1266,897,749,990,772,609,656,918,692,586,632,618,509,416,326,276,447,632,567,1052,1488,1520,1406,1350,1368,1186,980,944,1246,1346,1274,890,1214,1256,959,1054,1448,1496,1232,1410,1454,1276,1410,854,652,429,655,737,515,462,443,343,323,614,1092,1284,938,879,1098,572,735,1036,728,407,489,493,500,781,792,828,1224,1056,1044,1084,1162,874,511,397,534,780,956,857,610,339,378,488,543,540,574,555,678,822,676,855,1344,791,546,844,625,394,402,468,416,429,457,627,589,478,407,560,1152,1832,1532,678,687,959,708,476,408,439,503,453,318,247,269,267,320,648,965,744,373,307,308,446,736,913,1032,1023,895,987,1190,1058,1042,1248,1484,1354,1434,1018,613,775,851,911,985,1184,1264,1124,1032,1026,838,630,441,325,341,310,287,263,282,448,413,397,435,274,239,240,251,282,271,247,285,389,335,515,651,885,984,636,389,410,524,689,878,808,506,320,209,223,509,662,599,1390,1500,926,494,498,855,1018,837,1112,1452,948,615,446,368,286,495,802,915,920,919,1040,992,866,778,559,407,259,299,293,419,500,602,808,954,1066,739,353,443,717,561,400,273,351,376,456,557,508,577,832,1056,1304,1396,1268,1260,827,747,858,713,594,438,414,675,792,655,842,807,751,595,539,611,695,640,512,482,497,478,438,383,290,311,459,715,480,351,265,369,669,1628,2722,2504,1182,537,423,306,336,499,1122,1228,1148,964,914,1128,1086,1082,1166,1164,1190,1122,1052,789,846,897,1020,1140,1012,1188,1122,984,1354,1476,1402,1370,1186,1148,1166,1292,1598,1742,1576,1536,1448,1316,1310,1250,945,835,1256,1504,1440,1114,1274,1704,1830,1780,1498,1384,1360,891,581,529,425,606,955,1150,1770,1222,1082,965,1328,1870,1526,1044,1238,1272,1244,1228,1490,1312,1148,787,642,789,733,525,420,581,656,529,376,470,1016,1180,1274,1560,1016,1316,1606,1168,974,888,643,479,467,466,472,459,410,450,527,586,615,608,667,716,660,562,531,562,579,557,550,554,572,591,524,468,591,819,972,1066,1130,1034,681,551,585,771,787,750,777,869,891,777,982,1400,1530,1152,839,968,766,1058,1188,1013,1182,1298,1304,1520,1660,1722,1502,1410,1688,1336,1344,1212,1160,1254,1322,1626,1844,1136,1002,1072,1001,1384,1538,1336,1382,1344,1292,1360,1370,1352,1414,1396,1436,1370,1182,1228,1300,1318,1376,1224,1092,1230,1546,1600,1302,1510,1388,1272,1232,1216,1310,1324,1440,1264,1256,1252,1340,1808,1920,1686,1594,1484,1372,1154,1134,1334,1338,1412,1480,1428,1360,1218,1220,1222,1096,935,870,1280,1422,1338,1310,1242,1720,2254,1782,1442,1474,1340,1362,1238,1228,1114,1070,1236,1130,1074,1180,1130,924,1007,1346,1488,1410,1228,1170,1174,1338,1322,1130,1284,1248,1224,1136,1100,1072,951,1102,1040,1260,1256,1374,1490,1632,1546,1308,1126,1028,1044,1136,1208,1130,1074,1056,1260,906,555,908,1108,1074,1148,849,437,488,777,883,780,447,520,497,413,348,628,840,751,601,619,775,1114,1378,1402,1372,1432,1152,768,1040,1190,985,902,973,770,612,956,1034,462,447,491,530,724,691,959,999,1420,1980,1612,1328,1266,1538,1434,1434,1620,1444,1230,1168,952,776,855,911,680,672,608,604,547,738,822,785,948,939,638,541,530,815,1110,948,984,1116,984,828,905,849,967,894,824,982,855,531,484,539,596,677,1056,1472,1320,1278,1090,1074,1312,1376,1098,915,839,913,1064,1082,1238,1182,1346,1240,744,809,1076,1194,1040,822,616,758,1094,1068,1410,1328,1178,1268,1168,964,1176,894,817,1138,1312,1324,1382,1354,1376,1272,1126,1296,1292,944,628,686,1220,1422,1194,775,681,1244,1218,1280,1290,1188,1316,1484,1598,1476,1252,1050,1106,1122,1126,864,815,1190,1720,1570,1692,1666,1526,1594,1506,1548,1512,1362,1336,1228,1013,1132,1178,987,570,690,912,832,692,501,449,429,663,903,921,1064,1228,1086,1186,1684,1552,1528,1320,1398,1688,1518,1380,1260,1226,1094,1208,1238,1214,815,807,864,735,614,998,1310,1326,1302,1250,1144,676,387,389,532,549,613,735,735,721,871,1134,1148,755,991,1418,1632,1574,1544,1212,719,523,543,489,515,689,854,678,797,950,1078,1186,1242,1324,996,612,751,1042,1122,810,1022,1174,1009,913,1064,905,515,457,446,516,954,1228,1212,1182,1196,998,704,619,530,437,418,429,461,539,514,394,419,530,878,1352,1250,1592,1566,1430,1200,714,1010,1394,1372,1400,1354,1156,877,807,974,1056,1298,1390,1528,1544,1482,1404,1384,1378,1358,1304,1550,1504,1484,1340,1290,1316,1376,1488,1260,905,1102,1364,1548,1730,1644,1356,1316,1264,1019,1020,1276,1142,932,1146,1426,1296,1030,940,807,1116,1448,1446,1298,1080,934,1340,1362,1104,1208,1334,1298,1286,1158,1282,1374,880,791,855,1142,1470,1482,1372,1334,1130,1182,1478,1426,1120,1140,865,655,588,553,556,514,538,446,303,331,443,491,391,425,479,501,621,514,412,437,415,393,464,696,1013,1144,714,702,482,462,935,956,764,923,962,1342,1836,1472,1312],[442,454,334,277,293,339,478,662,398,577,947,861,584,362,345,356,369,545,594,841,1418,1218,764,642,834,1338,1312,1232,1158,830,773,695,525,357,275,328,372,310,462,464,397,403,495,493,375,338,343,322,362,417,389,395,709,1394,1698,1436,1212,982,908,1260,1772,1692,1448,1382,1382,1306,1300,1548,1642,1548,1326,1204,1160,1104,969,711,572,712,850,850,899,769,767,904,1052,1050,1008,1050,1048,1204,1216,1334,1230,1228,1214,1168,1246,1200,1170,1172,922,555,564,682,914,786,746,1042,1456,1650,1664,1666,1562,1328,1256,1332,1348,1344,1160,773,523,380,290,375,374,343,376,426,980,1706,1388,625,404,389,337,361,448,440,434,722,1332,1692,1824,1938,1714,1228,1021,714,579,649,725,887,884,748,548,482,572,598,404,399,395,388,403,368,359,353,583,791,535,407,425,423,413,398,455,386,308,346,313,291,282,258,277,314,386,375,283,336,572,543,366,267,597,692,400,290,378,493,442,567,569,742,617,579,625,521,285,505,1048,998,510,462,351,218,278,368,397,494,395,432,391,328,469,543,470,505,867,628,387,380,363,373,626,505,389,393,669,982,977,1019,1186,1340,1442,1186,1282,1498,1194,1266,1050,979,1332,1406,1438,1484,1400,1292,1244,1274,1630,1612,780,468,957,1294,1338,1156,1124,1014,675,779,969,1152,1224,1380,1388,1146,697,390,598,929,663,315,336,414,621,734,659,797,1074,1122,1352,1404,1214,1076,1226,1204,1478,1704,1258,1078,1108,683,410,636,1136,893,409,501,746,1040,1344,1080,995,1296,1002,1152,1244,1256,1250,1308,1310,1266,1242,1196,1256,1140,1044,1376,933,828,1434,1674,1350,1602,1576,1270,1656,1388,717,508,408,368,359,334,377,389,386,411,562,812,1476,1692,979,1290,1572,1124,618,597,841,1272,1282,1308,1376,1232,1162,1306,1128,834,606,431,358,302,338,605,616,651,669,532,595,853,1298,1426,1426,1302,1024,732,750,924,1062,1058,746,562,781,1074,1416,1288,1016,1338,1354,1336,782,490,553,1054,1520,1566,1298,1414,1738,1808,1754,1406,1046,1208,900,766,827,854,1050,1038,747,1004,1444,919,667,594,469,751,1396,1626,1718,1210,549,529,664,802,1114,1318,1080,908,669,497,449,394,337,352,341,849,1362,1122,1228,1328,930,915,894,996,1044,923,894,922,808,775,1021,965,877,849,771,626,717,852,543,380,359,531,915,969,927,1070,956,820,995,1015,924,1028,658,372,306,331,340,461,850,1214,1138,911,551,566,810,849,838,905,778,626,500,462,567,695,751,924,912,590,830,863,1238,1540,1240,1312,1544,1344,981,688,603,819,852,883,689,548,610,609,528,758,1230,1222,858,651,631,869,683,872,1250,1194,1068,996,979,1182,1324,1382,1098,1084,1322,1648,1576,1174,1204,1274,1194,1266,1056,1154,1328,1152,857,849,1126,1100,871,976,1050,1154,814,664,1011,1126,1094,1116,1232,1606,1840,1566,730,664,844,1026,1052,1212,1346,1158,1098,1174,1312,1262,1216,1410,1328,1322,1162,1198,1250,1098,921,988,855,538,374,500,1007,1470,1172,981,1102,1268,1202,1256,1572,1324,946,779,642,383,418,672,857,1020,1194,1156,1258,1268,1058,1015,908,784,969,916,865,895,995,1152,1288,1486,1412,952,863,856,707,576,535,774,974,827,730,938,1110,596,524,491,956,1020,912,953,953,702,677,881,1090,1374,1324,1248,1178,1168,1204,1208,1116,1024,1158,1410,1778,1450,1236,1250,1154,1206,1220,1078,777,905,983,1019,1160,1214,987,964,1088,884,577,655,1000,1026,1142,1404,1422,988,802,805,497,552,926,580,541,763,738,764,1112,1250,1088,1158,1548,1296,1902,2156,1338,1260,1032,1042,761,877,926,773,576,404,616,1120,760,625,698,538,357,317,596,1246,1230,1336,1500,1424,1360,1288,1096,1236,1380,1092,960,1242,1302,1236,1534,1090,825,963,1426,1562,1186,1134,1130,1168,1362,1160,774,397,454,745,573,450,574,472,519,646,1005,1288,931,778,633,526,995,1526,1160,624,474,514,597,862,818,791,933,847,929,1036,1017,687,471,423,529,893,1238,1084,961,750,576,495,561,513,495,518,659,832,656,875,1310,1306,1606,1528,891,507,418,416,405,458,474,594,718,692,496,474,610,1004,901,414,435,1088,998,567,346,327,460,543,532,383,281,272,279,397,999,1024,708,456,388,603,774,824,987,1092,946,759,832,587,785,1068,1224,819,537,466,528,755,780,765,1088,1302,1366,1598,1266,734,784,997,713,372,339,234,202,230,314,630,691,745,593,290,230,231,298,402,393,350,379,417,280,593,590,533,479,481,427,371,486,480,525,558,494,293,269,228,505,850,900,1046,861,612,465,591,1166,1148,948,1054,1494,1078,618,543,428,268,571,1050,920,595,809,1048,1026,1408,1366,842,368,262,288,317,597,931,1006,591,642,883,789,558,526,868,492,266,225,432,604,739,926,919,1062,1246,1214,1320,1458,1274,1252,980,642,565,560,424,369,554,769,820,1026,1196,1224,1218,1013,669,604,737,641,507,495,448,398,401,463,327,315,619,590,537,509,315,359,577,987,1616,1590,713,403,281,401,551,774,1282,1510,1246,775,815,1076,963,1154,1102,1086,1220,1082,970,866,925,996,844,643,657,1090,1102,780,1080,1692,1458,1136,773,769,635,903,1462,1790,1642,1320,1274,1166,933,917,794,939,1404,1508,1052,1078,1690,1756,1644,1538,1372,1498,1270,739,695,629,440,542,795,1158,1676,1472,1316,1136,1302,1960,1644,883,1062,1184,1212,1320,1896,1574,1182,767,601,669,596,518,459,631,598,449,349,400,1072,1384,1670,1632,1000,1216,1658,1304,993,800,515,422,449,479,457,439,434,452,467,489,519,558,596,655,692,655,630,590,574,584,549,532,529,534,527,453,440,567,993,1374,1466,1094,862,685,679,963,843,602,628,435,414,728,1120,1298,1572,1304,1140,930,584,580,713,1072,1340,1338,1228,1156,1306,1488,1478,1594,1538,1394,1390,1400,1452,1544,1466,1814,2094,959,899,1068,1214,1588,1734,1346,1226,1314,1382,1476,1394,1188,1282,1404,1264,1204,1264,1266,1382,1340,1192,1108,1158,1324,1506,1520,1520,1464,1380,1328,1324,1356,1300,1250,1310,1346,1454,1444,1382,1536,1466,1240,1246,1246,1214,1156,1122,1356,1182,1007,1242,1414,1320,1222,1190,1088,750,786,1007,1180,1170,1260,1204,1152,1262,1450,1444,1276,1314,1174,1106,1372,1302,1150,1250,1278,1140,1462,1670,1290,1098,1282,1218,1158,1256,1102,1060,1208,1416,1202,1066,1102,1286,1296,1176,1250,1234,1300,1192,1072,1186,1278,1332,1300,1414,1506,1460,1270,1136,1182,1230,1182,1038,1018,1154,1434,977,686,963,1021,1068,1152,664,447,423,669,639,575,426,576,670,666,577,719,781,462,601,1020,1240,1454,1504,1188,1166,1206,1290,1202,1200,1168,1134,949,617,671,549,997,1354,675,344,427,615,595,684,992,1264,2040,2596,2064,1520,1490,1750,1684,1500,1666,1682,1268,1178,1278,1028,748,695,738,721,599,579,404,468,544,583,829,776,437,344,432,746,1024,794,849,1014,1044,1166,1240,1070,1006,955,944,869,994,961,814,554,484,646,799,1098,1366,1268,1118,952,1116,1488,1612,1550,1162,1320,1250,1206,1182,952,1110,1290,1005,958,1184,1210,1136,1212,793,768,1120,1276,1438,1404,1276,937,622,864,1278,1158,1152,1118,899,858,1282,1366,1272,1354,1196,1124,832,538,407,521,858,1012,1062,759,615,1126,1350,1074,960,1036,1128,1190,1400,1570,1460,1356,1334,1436,1148,1158,1092,993,1352,1504,1434,1456,1538,1412,1392,1382,1436,1390,1298,1302,863,957,1208,780,469,646,730,813,736,508,534,720,1092,1316,1166,1246,1160,766,1184,1406,1446,1432,1378,1668,1744,1528,1446,1244,998,728,628,705,912,863,764,1072,962,854,1126,1354,1394,1260,1210,1090,697,587,445,491,725,644,523,741,1198,1496,1318,1108,1036,1100,1324,1340,1388,1354,1358,1156,753,610,491,728,952,894,793,756,771,772,1174,1262,1196,789,620,1092,1106,1008,810,1162,1204,873,1080,1384,1008,548,457,378,503,875,1178,1454,1310,1070,832,700,725,843,677,401,469,659,631,486,343,329,369,576,1024,1260,1486,1364,1450,1366,954,1021,1050,1158,1348,1330,886,658,792,622,761,1054,980,1005,1228,1384,1490,1316,1090,1030,963,1176,1262,1294,1396,1566,1494,1368,1450,1190,878,1416,1470,1448,1710,1504,1332,1226,951,1060,1246,1124,818,818,1160,1300,1104,862,1007,1170,1382,1436,1314,1302,1266,1122,1234,1250,954,827,866,1180,1380,1300,1380,1404,1286,1170,1112,1282,1452,1350,1104,1140,1001,1074,1432,1284,811,678,723,868,872,799,642,445,491,517,405,492,713,667,501,584,597,421,498,522,405,398,396,365,456,594,894,1334,1094,904,724,634,1086,1350,1162,1188,1650,2392,2520,1632,1490],[269,272,299,315,328,306,626,724,394,744,1046,900,500,266,352,505,440,507,631,1096,1344,1020,875,684,767,1294,1252,1452,1360,991,1042,708,799,659,470,494,458,388,664,763,625,470,476,530,406,370,380,437,546,608,468,434,759,1494,1574,1072,912,786,720,1160,1418,1498,1450,1322,1250,1274,1406,1430,1456,1338,1266,1246,1198,1152,1032,727,686,875,853,742,660,725,830,677,723,980,915,1056,1164,1170,1482,1438,1260,1288,922,726,872,698,649,780,848,839,772,813,1252,1054,980,1322,1532,1504,1418,1472,1464,1294,1186,1062,1017,950,928,905,804,693,674,727,473,368,430,366,473,529,563,511,472,404,352,428,462,388,415,722,1294,1340,1256,1352,1324,1316,897,484,380,314,358,392,361,280,307,400,415,340,357,409,390,437,471,397,345,426,850,926,541,419,409,380,348,376,432,408,386,421,394,327,288,294,308,302,312,245,252,229,274,416,397,371,632,587,347,286,384,561,440,440,695,736,587,722,695,541,478,419,530,520,258,279,265,269,287,349,675,777,451,349,361,398,554,672,684,726,910,490,379,390,360,371,492,437,394,465,687,615,565,891,1150,1072,1224,1080,1146,1088,996,1040,855,655,869,1160,1360,1600,1372,1216,1284,1382,1476,1388,839,689,932,1058,1250,1006,1212,1244,1042,1094,1362,1418,1356,1406,1260,807,570,620,564,886,989,614,430,477,613,760,874,874,1036,1406,1588,1490,1322,979,1007,864,1358,1642,1144,1160,1076,588,355,497,730,753,569,390,425,758,1282,1038,1138,1042,1028,1200,1346,1368,1102,1166,1428,1660,1642,1418,1500,1372,1086,921,631,925,1372,1434,1330,1332,934,1220,1122,1026,905,1084,779,663,662,559,516,446,388,412,564,670,1206,1612,1106,1046,1002,988,934,702,675,1282,1778,1290,1162,1506,1646,1744,1140,697,566,462,398,357,523,772,732,480,332,308,418,561,959,1216,1306,1358,1198,1005,867,803,971,1238,1310,1044,1030,1196,1154,945,1015,1294,980,810,729,762,1002,1222,1330,1402,1442,1814,1994,1990,1754,1462,1192,1306,976,637,740,854,534,561,548,760,1034,659,414,629,595,967,1650,1648,1302,760,395,400,522,771,822,951,991,714,511,432,375,392,369,347,409,972,1420,1176,1350,1242,1015,943,1238,1622,1456,989,751,981,1126,955,913,996,1074,781,702,695,860,886,508,340,412,628,986,1120,1142,1094,998,792,966,1110,1001,1068,747,382,320,350,339,640,1382,1376,1176,1136,664,591,932,854,587,430,328,384,511,776,1062,1128,1188,1324,1112,914,1112,1032,1162,1450,1478,1338,1224,901,944,1264,1212,1276,1026,897,626,425,684,792,609,1024,1648,1598,819,521,612,1044,904,755,711,726,1001,959,905,1156,1322,1466,1334,1388,1448,1494,1622,1554,1488,1278,1018,1276,1418,1238,1019,1160,1020,1306,1262,683,588,1010,1132,1130,1009,1258,1512,1204,1120,1282,1556,1730,1380,1242,1124,834,655,868,1256,1806,1572,1210,1250,1450,1414,1102,683,823,996,1318,1282,1104,1100,1176,1060,821,487,450,404,442,759,1466,1388,1078,1122,1330,1190,1208,1472,1384,800,544,876,583,762,1062,1144,1512,1244,1242,1362,1290,1344,1418,1134,818,850,785,637,738,1092,1118,1190,1344,1406,975,659,607,452,449,653,907,924,827,956,1188,1092,1148,1226,1140,1064,1020,1066,1138,1098,777,371,405,640,980,998,875,879,1152,1304,1010,617,739,989,1016,1264,1218,1134,868,848,1380,1404,1026,1068,885,686,803,1010,1090,962,821,981,1210,946,733,895,1010,1022,1180,1338,1408,947,332,408,684,1136,963,627,533,463,374,639,952,874,872,984,1216,2158,1288,1190,982,1348,1468,939,940,1036,726,442,350,555,1092,737,441,753,766,865,934,966,1296,1476,1426,1392,1276,1302,1380,1438,1510,1444,1526,1332,1374,1406,1848,1848,1140,977,1160,1312,1316,884,802,846,1076,1466,1490,858,436,504,788,826,778,749,956,976,644,667,1034,837,483,385,442,770,989,860,733,558,569,532,639,623,701,737,912,1072,1108,767,536,512,414,653,1106,1130,871,814,1272,1190,672,617,541,390,349,391,513,501,684,1300,1932,2126,1898,1290,672,410,337,405,497,478,454,669,1001,792,500,484,643,692,410,423,587,578,575,462,336,365,499,534,490,404,314,276,267,639,961,1056,835,637,580,660,918,1096,1152,765,393,313,395,584,976,885,566,835,886,608,501,518,664,925,1156,1694,1882,1624,1166,641,558,700,696,378,252,246,280,382,384,443,610,449,281,215,222,357,545,596,764,634,279,204,624,742,708,969,1122,614,447,525,397,626,758,481,276,252,294,489,797,820,861,818,461,347,564,1140,750,962,829,1190,1008,496,516,541,402,898,1274,786,625,977,1018,1282,1594,1478,999,518,268,293,343,482,808,1114,686,491,544,606,462,516,578,408,293,372,664,895,847,929,1100,1130,1036,991,1102,1072,990,1148,1166,826,625,630,778,927,970,680,631,1042,1098,1154,1174,1190,937,577,624,633,539,467,410,401,442,406,271,462,750,527,496,555,498,513,486,604,498,477,397,331,368,669,697,702,1030,1232,1158,648,473,919,1230,1146,716,523,800,779,718,854,1094,1180,993,797,885,725,616,761,1108,1502,1526,1126,787,1002,1118,1180,1450,1698,1708,1170,1056,1028,819,1068,1190,1338,1492,1180,786,1408,1882,1688,1622,1336,1040,1346,1396,895,1070,1032,599,585,733,1070,1570,1456,1192,1100,1370,2088,1704,1005,1120,1202,1206,1260,1780,1676,1234,842,566,630,565,478,427,595,597,597,493,383,563,1078,1624,1412,949,1346,1626,1072,1006,760,527,443,443,468,459,466,488,457,460,473,480,505,545,552,623,661,644,612,597,597,583,571,559,588,570,466,429,452,633,1200,1272,1252,1032,689,666,976,918,668,778,410,417,952,1066,919,1178,1354,1314,841,597,630,703,1034,1378,1592,1394,1314,1198,1272,1286,1238,1296,1230,943,1152,1636,1720,1694,1782,1676,1362,1328,1478,1634,1816,1776,1486,1206,1054,1184,1256,1270,1104,1316,1484,1236,1198,1266,1138,1200,1208,1122,1130,1376,1698,1440,1210,1348,1554,1566,1460,1456,1186,980,1015,1248,1472,1400,1200,1140,979,925,1078,1262,1230,1230,1164,1156,1238,1216,1172,1240,1432,1462,1374,1228,907,892,1128,1222,1400,1484,1366,1300,1260,1238,1248,1216,1186,1130,1236,1168,1308,1182,1074,1266,1194,1118,1520,1582,1388,1374,1382,1230,960,1048,1034,1014,1142,1102,1236,1500,1362,1026,1082,1240,1456,1272,1272,1098,1022,1118,1272,1228,1216,1188,1250,1428,1438,1300,1238,1122,1262,1058,1032,1354,1414,862,641,855,852,843,955,849,813,708,749,546,528,525,673,1114,1346,1166,1172,1244,574,617,1130,1192,1112,1070,1234,1214,953,979,1228,1218,954,808,638,792,1202,661,627,627,442,483,775,886,761,976,1168,1194,1212,1764,1528,1360,1592,1626,1644,1684,1696,1412,1134,1308,1448,1292,929,772,708,1038,959,758,697,551,352,418,540,466,352,378,424,548,984,1384,1046,968,1100,1062,1138,1174,1028,1074,941,1122,1258,1142,801,550,475,437,490,733,875,938,855,796,1040,1152,1262,1478,1416,1626,1560,1388,904,827,1280,1434,1214,1160,1256,1268,1094,1360,1332,1316,1356,1346,1098,913,615,446,512,706,1040,1032,1028,894,965,890,1126,1296,1372,1540,1310,871,730,588,517,796,1110,1172,1462,1274,915,828,1426,1078,664,870,1130,1156,1300,1504,1372,1532,1354,1304,1376,1442,985,867,1226,1246,912,1098,1192,1130,1190,1382,1482,1390,1310,1256,992,946,726,478,422,433,584,726,778,694,762,929,1092,1294,1102,1198,1150,1244,1356,1294,1458,1410,1318,1378,1440,1444,1230,1040,1162,1036,592,362,916,1196,1122,1024,758,900,1058,1390,1598,1296,1082,794,535,680,817,822,930,846,1036,1044,1282,1356,1238,919,1074,1404,1370,1400,1290,1076,1322,1520,1322,862,775,1138,946,638,841,1052,886,857,899,1060,1436,1062,659,986,869,1164,1174,1202,1206,902,1162,1396,1004,788,713,651,729,1142,1216,1332,1042,660,623,629,711,982,761,444,613,753,509,325,292,304,365,362,792,1392,1614,1286,1760,2066,1472,1338,1232,1494,1236,1038,916,997,1001,876,987,857,795,1142,1276,1300,1100,935,1010,1148,1108,1142,1232,1278,1294,1188,1180,1158,1140,1068,996,1410,1476,1510,1656,1404,1262,1236,1116,1210,1134,963,1001,1122,1266,1382,1370,1054,1132,1332,1456,1332,1108,1206,1338,1212,1380,1434,993,750,910,1288,1642,1636,1530,1448,1400,1310,1312,1288,1288,1274,1116,1072,1196,1334,1456,1116,745,662,715,832,856,775,623,696,570,612,717,822,1056,1060,721,586,593,437,448,547,451,365,393,499,760,630,687,1160,1030,995,861,605,850,901,854,1100,1496,2104,2144,1506,1634],[318,290,319,284,295,292,641,740,478,450,861,905,317,272,272,351,292,290,532,819,929,828,1098,915,980,1166,985,1742,1564,1248,930,581,598,541,604,1152,1470,1484,1666,1288,901,891,663,580,503,440,426,637,872,818,629,546,834,1372,1118,952,899,842,994,1456,1478,1222,1090,1238,1208,1304,1504,1826,1716,1542,1130,1172,1176,1150,985,833,921,905,786,873,1021,1016,1008,747,702,1118,1170,1460,1378,1206,1488,1450,1266,1152,804,566,730,616,805,1018,1116,1152,1108,1236,1428,1300,1124,1082,1312,1420,1450,1566,1300,1002,890,1072,1108,765,932,1158,1110,1120,996,1082,848,595,422,344,313,378,448,457,549,487,356,415,400,289,345,591,785,711,708,678,674,947,699,330,298,301,275,242,246,247,252,364,357,390,404,399,470,608,607,498,508,792,985,682,413,394,399,393,342,316,353,404,399,364,306,309,335,339,294,273,263,252,243,224,257,354,382,454,524,619,558,336,505,1214,1376,1040,833,519,370,343,377,362,397,391,580,446,267,292,343,342,265,234,410,473,348,310,292,383,549,713,752,971,772,495,477,455,392,367,341,427,509,523,783,473,414,819,981,1100,1300,1276,1208,1142,1174,1024,776,800,1023,1200,1476,1532,1264,1076,1132,1152,1034,979,870,1230,1196,1340,1284,1134,1414,1154,1180,1284,1434,1272,1020,1238,1210,937,798,1244,650,872,1272,868,545,442,465,692,897,901,1136,1414,1270,1206,1326,1266,1182,1088,1296,1264,1242,1064,662,553,531,664,949,1062,747,422,402,746,1098,1166,1036,824,832,870,940,968,689,998,1278,1450,1502,1410,1270,1128,1132,1021,775,772,1034,1242,1166,918,1021,1776,1376,996,1182,1504,1484,1700,1502,1050,698,677,581,444,641,736,680,1040,1038,738,540,690,721,479,612,1180,1364,937,1422,1534,1710,1754,1520,979,575,512,482,465,578,906,1246,836,412,356,804,904,700,656,1034,1132,1094,1266,1196,831,763,1114,1536,1178,987,964,980,1100,1308,1268,1138,1038,982,1218,1452,1338,1244,1170,969,1300,1832,1620,969,715,847,924,880,735,1082,1478,514,458,407,598,843,595,410,771,821,1046,1328,897,520,374,379,388,450,581,528,468,609,470,415,423,397,401,425,381,471,1168,1454,1360,1382,1420,1474,1514,1560,1544,1378,966,543,728,1062,1054,901,751,693,703,731,682,747,727,548,476,816,1050,994,734,561,632,954,892,868,1003,910,1003,888,395,309,402,469,742,1130,1346,1434,1336,1180,1074,960,706,431,368,324,364,394,563,917,1060,1208,1218,852,777,1046,1190,1314,1570,1396,813,717,548,771,1166,1164,883,724,835,650,415,741,898,754,1150,1772,1722,1246,817,937,1126,1194,1090,831,747,875,947,912,1212,1336,1338,1274,1444,1342,1230,1406,1658,1816,1618,1448,1482,1400,1328,1124,1284,1372,1328,1002,596,484,622,749,662,527,921,1388,1060,992,1056,1400,1438,1166,1038,1140,980,628,938,1912,2094,1444,1538,1376,1218,988,820,809,698,665,828,825,650,811,1170,1216,1152,558,492,484,531,879,1328,1426,1372,1172,973,1013,999,1044,1212,1056,763,1178,806,1078,1300,1324,1252,1098,1278,1130,1114,1304,1210,1034,775,763,850,838,780,1120,1134,1086,1248,1394,1154,688,637,530,529,603,662,870,970,1126,1256,1162,1130,1352,1288,847,730,976,1226,1282,1130,552,403,438,513,496,678,1126,1598,1786,1266,830,824,1074,944,1066,1136,1220,1608,1502,1820,1808,1090,1058,939,863,877,948,832,936,1180,1212,1592,1472,1002,984,979,1018,1176,1316,1536,1070,476,556,949,1506,1516,833,480,574,497,474,751,711,630,967,1282,1090,764,869,1142,1794,1432,810,998,964,619,481,458,412,538,420,359,418,533,713,972,1202,1302,1472,1428,1352,1414,1500,1500,1520,1336,1308,1642,1672,1564,1384,1402,1482,1108,1264,1276,1130,962,930,1132,1072,984,1334,1152,509,564,750,715,1046,1310,1007,990,856,519,377,724,1020,805,455,367,617,774,815,740,650,612,778,966,1106,1290,1400,1348,1030,673,443,431,414,426,416,666,963,891,720,677,743,911,1088,760,497,404,376,448,480,717,1360,2076,2318,2084,1438,756,432,348,416,426,437,467,481,844,1084,725,960,883,438,236,357,544,586,452,367,330,275,397,466,479,554,513,359,256,266,449,865,1001,1012,590,401,769,1056,924,404,505,1460,1516,958,835,782,1140,1280,1130,849,544,730,1144,1010,1326,1874,1726,1576,1160,486,313,382,819,907,561,296,312,389,296,302,348,321,365,265,245,358,572,750,1268,754,259,336,726,952,943,1266,1108,406,383,435,324,592,1088,625,340,598,800,827,804,489,372,381,250,245,349,455,352,521,441,547,543,466,610,760,665,1378,1492,738,832,1192,1130,1466,1662,1404,1264,818,288,384,463,360,755,1074,822,777,683,536,333,357,554,546,439,445,501,775,935,1282,1460,1262,772,543,725,926,993,1090,1114,1038,703,448,733,1010,879,605,544,810,1074,1168,1056,1076,1052,592,482,513,505,412,413,392,375,380,351,688,783,391,390,486,614,728,581,518,384,388,367,328,451,650,524,375,422,738,991,441,327,807,816,728,985,955,1052,1082,1124,1412,1276,1132,967,907,1234,1052,841,1126,1620,1818,1630,1134,716,1086,1154,871,1298,1570,1456,875,910,813,749,1084,1490,1584,1316,807,1028,1666,1638,1654,1430,840,877,1160,1468,1248,1376,1326,720,570,689,878,1556,1666,1242,1002,1300,2096,1762,1272,1174,1152,1174,1244,1530,1676,1266,891,590,647,554,450,457,498,544,563,526,569,554,662,987,930,978,1548,1606,863,558,483,488,462,457,498,508,521,516,463,495,470,481,514,507,517,546,560,574,614,620,574,582,546,546,563,578,489,438,432,401,631,870,1036,910,697,699,874,984,1170,1090,730,547,628,624,516,771,1322,1416,855,579,510,591,973,1316,1522,1308,1312,1334,1318,1218,1138,1216,1132,814,901,1194,1582,1588,1404,1362,1412,1466,1440,1306,1400,1634,1552,1168,887,1012,1208,1254,1350,1532,1514,1338,1272,1164,1112,1274,1406,1552,1666,1524,1638,1508,1306,1192,1348,1422,1310,1118,870,1009,1066,1156,1416,1298,1074,1062,898,708,923,1060,1124,1092,1112,1192,1200,1296,1404,1392,1496,1478,1354,1256,1036,1048,1132,1196,1250,1278,1286,1380,1382,1272,1164,1326,1328,1206,1312,1334,1250,987,996,1468,1432,1094,1128,1458,1458,1238,1112,1046,1168,1148,943,1050,1140,1122,1200,1468,1370,1194,1146,1390,1426,1192,1192,1238,1170,1090,1186,1220,1182,1068,1132,1356,1482,1388,1334,1344,1328,1216,1394,1624,1396,727,652,841,844,1024,1142,1266,1148,914,1012,855,727,1012,1014,893,1378,1250,1428,1316,633,948,1506,1470,1376,1326,1306,1148,972,1134,1410,1246,1112,1550,1256,944,929,561,437,500,678,970,1372,1166,1036,1020,1106,1024,1046,1196,1124,1152,1390,1462,1362,1362,1376,1134,1106,1246,1304,1380,1064,861,774,805,611,680,968,775,444,481,377,367,636,719,492,411,964,1784,1646,1178,938,965,1336,1154,879,1003,996,1056,1072,968,1012,950,713,519,820,962,831,1088,912,802,915,1036,1032,1174,933,781,1300,1160,668,733,1196,1560,1470,1282,1268,820,709,915,1224,1478,1138,941,1202,1194,618,540,639,510,444,610,538,481,686,872,1148,1144,1372,1620,1080,588,733,741,807,687,1122,1636,1352,1222,1212,886,1178,1344,1224,1142,1350,1242,1204,1496,1354,1272,1426,1394,1470,1396,957,911,1328,1001,646,912,1180,1324,1088,1306,1734,1726,1502,1218,1186,893,408,353,334,359,505,669,740,777,807,686,897,1032,1042,1018,925,1236,1404,1490,1422,1492,1584,1482,1224,1208,1210,1222,1254,1206,931,827,738,730,998,1250,1028,893,1096,1362,1420,1302,1192,1090,874,1016,1394,1308,922,766,644,728,980,1007,1042,828,924,1132,1158,1216,960,828,1192,1336,1412,1078,993,1064,1005,807,821,858,789,1084,1066,860,1118,944,566,724,780,935,1019,1542,1470,1068,1278,1160,669,782,1078,726,876,1166,1162,957,756,609,598,711,749,962,712,407,401,407,351,278,261,298,317,324,600,1624,2106,1402,1364,1522,1498,1334,1344,1288,1188,1118,1104,1062,850,723,811,652,951,1416,1462,1434,1450,1226,1216,1168,1074,1214,1296,1304,1210,988,1192,1178,1156,1080,1164,1472,1506,1516,1464,1340,1346,1284,1216,1256,978,1066,1098,1122,1720,1736,1262,1090,1152,1300,1466,1248,761,861,1244,1260,1398,1540,1432,1544,1516,1380,1440,1414,1348,1454,1514,1300,1224,1306,1404,1302,1134,1108,1104,1260,1316,1108,1048,931,683,626,577,642,493,917,698,774,774,612,790,922,968,1034,893,608,654,657,568,577,550,767,899,608,484,651,724,848,630,408,438,480,491,692,954,1158,1430,1618,1594],[380,312,298,287,273,369,558,653,488,326,549,578,228,249,213,223,289,396,925,1264,1064,925,1148,1100,891,799,1368,2226,1576,894,713,548,488,480,478,1472,1616,1506,1556,1700,1444,1028,891,1010,959,832,979,1164,1094,984,977,866,1036,1246,865,886,882,771,1136,1506,1538,1520,1564,1500,1212,1352,1432,1886,1696,1452,1198,1156,997,1164,1376,1200,963,931,854,1080,1288,1186,1056,777,899,1254,1224,1326,1352,1262,1176,1144,1100,1290,1082,735,899,913,1013,1214,1320,1332,1372,1454,1476,1504,1508,1400,1290,1152,1072,1136,877,741,950,1192,944,571,717,908,1120,1194,945,882,875,706,495,384,348,401,400,401,489,468,321,470,414,503,492,402,403,407,437,413,416,517,488,387,324,350,259,262,266,275,273,408,480,451,438,601,976,1202,1074,833,854,1011,705,425,351,374,379,355,366,414,447,370,322,265,248,309,354,344,320,323,282,278,253,234,245,242,287,397,383,531,616,363,307,549,610,766,678,477,393,289,259,234,345,370,373,391,365,384,458,513,422,248,265,396,393,395,453,451,576,675,735,913,616,410,466,435,406,449,453,460,621,810,785,506,397,440,633,1004,1158,1172,1100,1172,1086,886,789,1076,1124,1262,1454,1404,1376,1192,1164,1290,1386,1202,1142,1316,1110,1282,1282,1070,1020,834,844,965,1188,1378,1190,1204,1376,1100,601,949,639,720,847,534,390,409,437,570,811,823,1306,1494,1054,921,1190,1116,1090,1194,1152,1134,1112,777,510,517,503,535,995,1022,593,466,821,918,1104,1166,730,546,738,980,804,694,688,1214,1380,1394,1448,1516,1240,904,885,1086,995,1072,946,887,1178,862,1436,1608,1246,918,1160,1430,1282,1072,1080,1154,664,559,423,384,632,546,407,832,966,631,604,620,625,464,607,1306,1108,795,1106,1294,1542,1678,1692,1376,1034,874,835,856,656,540,896,877,614,451,820,895,719,946,1088,1052,1440,1624,1640,1400,875,907,1086,1184,1124,796,597,955,1266,1398,1338,1152,1162,1420,1432,1298,1434,1268,1158,1354,1424,1076,680,765,643,597,666,753,1276,1226,621,560,504,604,811,579,379,772,1023,1044,1222,869,577,439,395,404,498,648,675,664,609,431,476,459,426,406,413,379,487,1324,1492,1500,1670,1770,1672,1608,1400,1090,966,669,382,505,880,683,414,402,463,592,819,932,684,625,744,561,852,1050,1168,620,446,624,997,1166,1056,836,725,796,844,436,502,590,538,909,1084,1232,1292,1436,1400,1210,1292,1074,707,524,563,574,697,680,802,774,831,900,794,815,1078,1064,935,1066,1216,764,794,534,574,633,521,383,417,691,699,679,907,850,781,1003,1300,1366,1366,1168,1216,1432,1324,1058,1100,1060,859,920,952,891,840,875,1118,1294,1224,1182,1106,1158,1638,1886,1742,1350,1252,1134,1068,1062,1396,1180,849,645,450,404,448,424,416,711,1013,944,1004,1028,1128,1044,1264,1648,1528,1162,1090,1354,1708,1666,1332,1080,952,940,680,865,1230,1120,879,906,764,606,741,1032,1394,1334,923,812,569,371,530,637,860,1268,1338,1100,973,623,584,738,1158,1288,1432,1332,1284,1062,1002,941,986,1072,1204,1200,1212,1230,1184,1005,857,683,905,770,821,942,1068,1248,1332,1374,796,889,987,655,547,706,752,716,1026,1300,1086,1022,994,977,634,719,1012,1168,1234,1068,667,438,426,421,393,681,1234,1384,1476,1476,1230,1122,1380,1374,1412,1694,2082,1906,1498,1614,1750,1013,700,1062,1238,931,1090,1048,998,1306,1466,1692,1638,1294,1208,1172,828,776,892,1044,1236,1020,749,625,1013,1266,761,702,1102,987,608,746,597,692,1078,719,350,487,730,1028,997,806,1166,1218,1015,912,649,435,356,330,393,503,452,550,1010,1230,1272,1624,1806,1716,1748,1604,1494,1524,1478,1428,1360,1396,1358,1062,1136,1246,1430,1588,1732,1322,1366,1152,854,694,784,1006,1084,886,649,1250,1344,805,1176,1020,998,1108,1150,848,467,711,1146,1004,910,769,801,836,949,1078,1214,1276,1272,1094,841,698,802,982,816,681,748,842,815,707,455,408,516,572,558,653,719,756,858,819,511,461,437,458,520,479,961,1272,1172,1328,1154,727,545,421,410,384,346,382,369,468,822,1036,1036,553,303,217,328,490,511,403,350,418,333,360,437,491,565,590,515,311,283,306,560,1094,1084,880,590,781,1003,637,574,1882,3132,3228,2822,1174,545,725,903,1132,1044,703,645,561,851,1736,1632,692,514,619,892,533,300,393,905,939,561,367,325,305,245,263,264,307,294,284,336,440,742,1118,749,309,404,771,1086,1164,1200,574,297,332,428,486,639,609,388,473,739,805,534,510,425,304,296,260,260,300,326,322,339,316,336,583,630,545,767,797,1306,1228,612,707,925,988,1238,1226,1316,1470,910,426,818,661,328,613,686,440,390,619,696,446,440,729,736,410,502,566,682,1236,1654,1538,1390,951,504,698,1036,962,667,741,807,418,329,617,642,494,536,546,598,645,706,761,656,576,301,354,397,386,417,406,402,369,291,455,848,680,380,433,497,409,467,626,585,452,389,310,304,318,275,255,307,335,581,824,532,629,929,1007,822,1074,1404,1640,1572,1520,1536,1038,979,1136,1066,1366,1216,705,1052,1664,1676,1556,1188,691,706,709,918,1148,1416,1132,990,959,1036,1154,1304,1372,1294,1250,1254,1550,1338,1434,1652,1064,672,943,1158,1570,1616,1536,1418,883,532,766,795,1440,1444,982,1094,1280,1946,1814,1226,1116,1134,1146,1238,1444,1878,1370,843,600,593,479,390,418,436,680,1120,1322,1348,1202,987,1034,1250,1382,1470,1454,807,498,505,493,501,475,491,494,533,557,532,546,527,528,541,506,522,538,508,521,581,606,601,588,544,527,518,556,518,467,437,419,414,500,747,926,785,689,882,1086,1230,919,783,624,429,450,672,1066,1318,1384,944,514,612,684,866,1054,1194,1158,1112,1190,1286,1262,1088,1122,1122,920,951,1092,1300,1278,1284,1322,1242,1290,1476,1506,1428,1598,1500,1322,1208,1298,1376,1274,1300,1406,1398,1432,1592,1472,1058,1344,1480,1504,1440,1260,1288,1592,1692,1248,1114,1238,1122,844,841,1124,1112,1108,1328,1054,1058,1210,1126,881,832,988,1102,1172,1172,1172,1294,1250,1354,1578,1614,1400,1248,1194,1164,1104,1194,1394,1322,1284,1232,1246,1244,1202,1404,1586,1494,1516,1378,1148,1052,1112,1208,1528,1444,980,1100,1352,1256,1040,991,1328,1484,942,808,1252,1250,1282,1288,1206,1204,1242,1260,1394,1246,1132,1254,1416,1356,1108,1172,1216,993,1150,1262,1526,1532,1432,1488,1698,1626,1484,1522,1608,1384,958,866,808,730,1028,1250,1242,1400,1254,991,1100,917,929,940,744,1096,879,1294,1044,975,1530,1634,1564,1516,1442,1448,1456,1372,1360,1248,1150,1300,1648,1668,1088,532,449,456,667,1082,841,711,843,1154,962,980,1248,1478,1364,1166,1018,1128,1456,1510,1280,1300,1068,1152,1232,1328,1352,1192,1248,1266,1142,1176,926,798,1100,1006,874,556,418,791,803,511,529,780,1310,1532,1038,705,938,1200,1042,803,855,961,669,913,1166,1354,1448,949,678,1048,1076,1484,1406,1170,1064,1110,1470,1228,975,847,1028,1132,915,987,1324,1344,1534,1276,1036,1166,661,637,764,1028,1156,1019,986,1128,968,589,347,433,421,466,644,685,982,1026,1126,1400,1302,1644,2062,1346,686,469,517,562,596,1136,1506,1434,1744,1456,1082,1104,1172,1166,1084,1324,1274,1256,1300,1374,1120,1068,1370,1416,1352,1278,1346,1302,1001,707,1046,1328,1370,1126,1260,1604,1564,1366,1330,1116,593,393,355,309,352,567,755,745,656,636,738,876,847,1044,1234,1174,1260,1334,1266,1482,1660,1644,1212,1238,1306,1148,982,961,1116,1224,1066,527,437,509,945,977,1166,1720,1604,1334,1276,1136,1312,1238,1092,1424,1572,1086,683,441,527,585,717,945,938,1009,1017,877,1202,1216,1076,1258,1304,1474,1282,878,624,936,1098,903,1019,873,808,1174,718,621,1168,1216,1186,1030,840,915,1294,1314,1354,1284,869,692,940,959,570,856,1050,1152,899,694,669,557,522,880,1084,783,460,355,330,304,288,316,337,320,304,474,1110,1468,1406,1060,1026,1434,1306,1412,1278,880,804,986,1234,1208,1082,915,987,1216,1310,1334,1544,1620,1382,1378,1186,996,1038,1112,979,962,1092,1094,1226,1358,1216,1054,1130,1350,1542,1556,1340,1310,1036,735,955,952,984,918,1162,1410,1396,1296,1138,876,1062,1234,1132,1198,1542,1602,1406,1316,1126,1180,1630,1620,1306,1142,1216,1302,1336,1490,1550,1238,1158,1172,1009,1168,1254,1158,1388,1532,1462,1246,735,623,672,683,958,788,816,780,827,777,698,697,824,810,636,534,476,515,610,595,681,617,625,593,479,406,507,524,477,434,426,378,376,395,431,639,1122,1650,1792,1426],[346,308,251,310,279,324,514,614,373,283,229,194,236,260,224,235,324,553,1376,2178,2046,1592,1462,1192,935,774,1548,1482,777,1128,994,502,497,418,441,586,785,1078,1412,1522,844,445,500,493,482,642,788,857,1136,1244,1204,1378,1482,1470,1254,1204,1094,1021,1266,1414,1230,1036,1242,1540,1446,1456,1354,1346,1344,1164,977,1098,1342,1542,1916,1576,1026,1024,1142,1406,1384,1262,1212,866,811,1078,1126,1266,1512,1262,1110,1166,1086,1364,1218,1118,1300,1386,1306,1220,1260,1376,1332,1388,1432,1384,1158,882,667,733,1100,1268,1158,1130,1242,1186,796,691,865,622,528,917,969,962,960,777,504,379,361,361,380,383,392,505,783,904,576,599,645,498,453,433,401,421,419,343,310,285,312,323,268,262,256,263,301,433,475,384,426,837,1372,1350,1254,1250,1288,1228,810,443,357,359,336,313,330,379,421,443,301,278,270,263,290,283,304,313,319,327,293,285,245,228,229,277,320,361,300,239,243,266,319,307,278,488,491,305,237,254,374,382,585,528,368,499,604,688,514,310,357,756,570,383,355,390,569,575,782,817,415,379,405,368,422,465,655,560,841,1032,832,735,485,368,514,508,559,717,599,584,527,632,650,783,855,1074,1284,1312,1400,1536,1528,1004,1206,1230,1350,1228,1418,1704,1328,1188,1278,988,932,995,1158,1346,1218,1252,1542,1282,621,479,682,906,714,486,412,362,466,615,975,1134,1352,1368,1166,1005,850,723,954,939,885,1130,1226,1246,615,396,342,414,667,628,585,803,1178,1118,1028,968,792,673,607,890,860,1084,1090,1104,1318,1482,1612,1484,957,800,996,1218,999,999,668,944,1378,1318,1358,1080,772,816,1140,1210,1390,1338,1142,864,804,908,619,491,606,763,871,901,855,846,1688,647,423,513,501,830,944,777,619,889,1266,1350,1326,1606,1752,1628,1542,1282,937,899,781,846,904,784,1036,1096,952,1176,1016,1280,1504,1528,1398,1116,675,891,1066,958,929,957,958,946,1120,1254,1106,1172,1286,1346,1408,1366,1478,1394,1440,1604,1450,1024,800,818,597,558,569,601,699,640,651,667,558,567,764,776,583,527,670,1188,1338,743,432,499,565,412,536,712,677,796,744,445,408,374,406,401,396,378,666,1190,1194,1282,1496,1600,1322,1130,1000,865,722,594,401,384,645,556,503,554,447,430,708,868,543,589,871,962,1072,1050,1238,919,922,1106,1206,1228,998,1006,1074,764,828,923,1064,987,594,532,847,1114,1126,1260,1238,1190,1144,942,770,538,753,891,996,962,885,937,871,736,593,583,688,510,444,691,984,1010,990,682,507,496,521,444,429,698,872,853,959,874,865,1088,1344,1284,1094,1118,1506,1732,1482,1256,1194,1256,1080,628,550,648,785,839,960,1001,955,1448,1620,1122,1670,1932,1844,1576,1322,1060,766,772,993,1010,791,599,618,473,378,354,618,989,1094,907,887,966,1078,948,1026,1542,1606,1268,1304,1488,1582,1402,1013,634,703,629,557,739,1202,1550,1338,1274,1066,823,591,761,1142,1168,1128,1084,697,532,955,1268,1300,1032,1172,1234,1106,565,537,561,1100,1426,1428,1416,1214,1168,1108,1028,1206,1210,1302,1124,1128,1364,1288,1088,907,718,583,420,476,571,930,1166,1236,1512,1058,1032,1012,703,605,637,632,782,1120,1228,1100,1414,955,999,666,794,1064,1176,1130,912,613,587,727,551,472,561,1038,1056,974,972,1002,1252,1188,1021,714,1318,2238,1444,1170,1370,1172,816,807,932,1064,993,918,931,952,915,1084,1124,1274,1404,1240,771,839,942,780,933,1036,1142,1152,606,482,669,533,603,1013,983,871,782,490,694,1356,1052,388,369,501,452,335,598,1474,1898,1140,1068,971,672,490,383,479,626,559,944,1860,1404,1434,1494,1638,1532,1504,1470,1436,1340,1440,1604,1418,1492,1494,1372,1490,1692,1432,1484,1474,1466,1610,1308,996,631,593,1044,1032,1100,985,1488,1272,1094,1324,1122,939,891,1048,770,383,479,1017,1072,1354,1094,1178,1144,1050,963,792,661,652,689,883,1094,1100,1262,1240,1110,959,840,865,817,775,1072,890,377,496,766,844,812,461,452,454,529,649,1182,1406,949,845,915,1084,1100,948,694,615,437,364,361,346,343,377,417,415,785,1040,526,300,273,315,342,405,476,463,465,383,368,322,383,464,540,630,484,365,357,422,875,1056,1196,924,741,796,866,1548,3088,2976,2714,2932,1576,716,422,586,1362,1544,944,569,533,719,1194,992,491,466,1072,1662,899,336,289,626,1058,1118,932,778,691,363,240,242,294,292,259,310,352,458,631,671,358,352,381,651,789,764,384,272,337,513,888,986,546,344,579,885,1098,845,396,309,348,310,285,330,351,361,498,689,565,558,737,769,770,795,730,1242,897,580,933,1024,1036,969,984,1418,1770,1252,537,532,330,226,292,331,361,480,669,692,561,570,1108,1146,472,401,726,691,967,1172,1242,1186,863,521,547,892,674,324,449,729,522,359,423,327,298,331,368,396,341,432,459,340,478,426,459,506,602,589,377,342,388,349,730,1134,753,791,1174,964,380,269,511,630,601,505,363,286,307,298,295,332,330,528,818,769,568,779,988,896,1090,1346,1422,1086,1330,1444,1390,1410,1298,921,1124,919,505,870,1354,1514,1576,1508,942,1398,2294,1764,1126,1372,1464,1244,1060,1290,1564,1276,760,850,1256,1272,1226,1015,1460,1544,1144,1042,1114,1322,1596,1636,1446,1326,1013,514,771,794,1356,1528,1248,1160,1234,1854,2070,1516,1208,1110,1066,1172,1344,1724,1230,706,466,399,401,394,432,495,824,1470,1684,1572,1310,1282,1338,1334,993,1196,1230,604,388,449,456,484,547,523,476,522,573,552,547,533,558,552,507,536,576,522,480,487,500,584,670,574,523,511,554,580,502,418,429,460,458,505,734,899,1086,1170,1226,1264,1007,921,824,647,741,1288,1816,1430,1438,1092,625,697,684,824,1100,1176,998,940,1032,1200,1266,1194,852,697,846,1032,1078,1084,1200,1160,983,861,1100,1438,1376,1334,1602,1518,1300,1278,1522,1556,1264,1015,1122,1400,1596,1964,2050,1382,1266,1222,1282,1220,1230,1384,1532,1416,1198,963,915,1110,1072,1186,1190,1098,1230,1204,860,951,1204,1238,1208,1236,1272,1250,1244,1340,1406,1416,1302,1370,1416,1318,1260,1210,1288,1414,1410,1362,1330,1332,1190,1282,1376,1354,1252,1494,1476,1600,1920,1772,1416,2138,1624,1224,1226,1688,1462,1372,1588,1468,1126,1132,1288,1318,1272,1246,1192,1284,1434,1294,915,1114,1216,1108,1180,1302,1204,935,1122,1272,1122,1116,1266,1232,1302,1362,1432,1416,1362,1494,1642,1656,1414,1278,1416,1268,828,818,712,691,821,870,944,1202,1158,1028,1188,1058,894,1072,808,850,951,1108,921,1250,1554,1522,1646,1638,1488,1516,1406,1064,962,890,912,1054,1046,1023,965,765,591,533,604,962,1009,1086,1302,1232,1032,1078,1146,1098,1076,1232,1134,1222,1334,1212,1306,1040,742,1007,1578,1772,1512,1126,1028,1114,1366,1528,961,799,1110,739,645,587,455,475,383,594,1054,938,631,740,927,780,861,1124,1170,965,1013,1102,983,1080,1222,1314,1220,866,1072,1234,1274,1344,1066,1066,1178,1282,1070,794,838,1026,1518,1566,1272,1332,1402,1400,1244,858,677,529,406,408,780,1350,1228,1086,1256,1264,933,485,325,355,399,763,905,943,1196,965,1028,1252,1444,1578,1482,1312,1132,771,525,446,858,1488,1528,1604,1636,1116,937,1252,1146,645,603,898,1052,1188,1120,1023,1070,1122,1134,1192,1442,1498,1490,1282,1194,1240,1360,1368,1278,1168,1194,1326,1374,1312,1100,604,507,498,420,347,341,513,612,572,484,430,545,724,942,1412,1890,1736,1276,1314,1458,1560,1518,1372,1250,1260,1166,1021,855,1007,1210,1390,898,758,759,623,773,1110,1398,1526,1378,1372,1138,846,1268,1274,1098,1192,1238,1160,789,668,826,621,697,986,860,767,766,616,898,1158,1276,1304,1316,1402,1402,1100,656,719,930,1092,1310,825,490,625,683,780,1100,1452,1188,1104,1228,973,741,1052,1448,1098,805,783,937,876,718,631,685,781,632,438,537,480,683,1324,1304,1042,639,395,379,298,261,294,368,390,379,438,639,1186,1494,1298,1064,1216,1302,1378,1138,707,681,1044,1258,1372,1404,888,822,1124,1052,1100,1444,1558,1470,1382,1310,1340,1228,1062,698,739,1220,1238,1254,1294,1276,1184,1074,1294,1500,1446,1316,1262,670,462,761,1152,891,699,891,1142,1274,1358,1238,952,1030,1260,1236,1106,1554,1770,1482,1334,1270,1214,1256,1282,1312,1224,1282,1260,1072,991,930,844,844,982,1124,1208,1332,1198,951,888,1218,1212,828,741,809,895,1144,1256,1134,984,888,787,683,695,726,549,466,458,525,482,630,703,554,515,644,771,667,404,406,401,420,431,414,394,348,382,558,821,1290,1672,1544,1194],[633,618,538,560,375,273,304,422,265,232,219,234,261,249,225,261,352,753,1586,1846,1688,1318,1116,1608,1838,1528,1346,1100,766,1042,907,487,429,392,433,480,509,929,1488,1116,506,416,354,344,347,321,342,474,889,775,896,1206,882,1092,1580,1310,1072,1240,1368,1174,1023,1184,1372,1342,1280,1378,1372,1226,1132,1274,1248,1284,1574,1582,1726,1392,1078,1170,1354,1532,1300,1146,1212,1042,1098,1250,1180,1408,1666,1544,1416,1440,1240,1366,1326,1364,1278,1044,1044,1130,1340,1526,1462,1320,1238,961,739,653,617,839,1118,1326,1542,1186,1172,1166,764,776,918,660,473,667,753,680,556,446,355,330,318,318,342,380,389,464,546,514,380,623,711,427,457,591,365,329,442,345,282,250,303,280,262,246,246,268,332,417,404,407,481,669,880,913,1156,1250,1356,1172,626,354,365,370,285,299,308,280,290,342,343,335,299,281,269,295,271,239,290,333,291,299,271,221,227,249,312,318,278,268,258,287,307,276,280,352,347,242,240,296,486,550,505,384,298,325,318,395,382,365,540,876,509,346,338,351,422,586,921,605,401,419,409,401,494,486,555,477,551,498,712,831,539,536,336,293,388,493,539,491,490,588,608,661,769,991,1174,1376,1754,1652,1402,890,1266,1156,1202,1246,1278,1456,1366,1346,1362,1302,1220,1066,1334,1456,1490,1318,1172,1164,755,655,1342,1484,1170,789,473,391,385,710,1814,1914,1398,1134,845,604,555,464,667,645,724,979,986,1132,723,525,405,541,966,1162,1204,1366,1390,1334,1224,1028,1068,1112,866,995,926,1090,1486,1538,1430,1416,1540,1492,1302,1294,1366,1278,1013,774,605,1094,1376,1136,945,957,1174,1382,1446,1316,1468,1422,1106,719,746,825,622,659,964,1196,1010,756,396,570,1146,702,509,630,529,605,827,768,569,577,818,1184,1094,1276,1562,1676,1430,1046,932,852,992,1350,1274,1208,1230,1108,1212,1188,1034,1174,1340,1308,1009,739,619,699,671,541,612,872,1038,1054,1080,875,929,1056,1134,1272,1324,1350,1448,1280,1188,1236,1188,950,815,647,617,621,601,581,601,617,606,614,581,664,876,732,479,434,488,1126,904,466,494,962,1078,830,773,544,565,553,550,443,389,564,669,497,419,368,865,1164,796,670,1124,1884,1330,621,493,465,583,924,631,312,357,414,440,322,300,336,403,451,421,501,938,1082,942,984,1036,1008,1164,1126,841,655,651,1094,1094,674,866,1206,1228,1096,797,678,1084,1340,1140,1102,1160,943,997,943,636,467,1006,1106,1068,1218,1216,1018,706,612,405,302,325,454,444,658,1140,919,644,905,778,469,510,582,575,703,1058,1023,742,585,720,1222,1512,1284,1312,1632,2154,2082,1390,1058,1220,1154,943,808,788,948,1104,1042,1216,1204,950,1180,1052,902,1648,1692,1564,1758,1438,983,786,788,1044,1114,527,448,645,492,438,708,1202,1288,846,691,952,1124,1346,1216,894,1272,1550,1288,1230,1128,1100,1226,968,701,865,712,429,608,1136,1424,1316,1172,1174,1120,857,955,1128,1068,973,931,770,714,1198,1418,1284,854,927,1216,1196,633,501,590,991,1300,1426,1354,1300,1322,1192,836,1092,1114,1216,1128,1210,1282,1134,977,913,946,822,703,932,763,768,1104,1166,1494,1188,818,644,692,753,608,747,1168,1182,1228,1624,2358,1362,1004,826,936,1214,1388,1360,1020,816,820,974,976,825,527,814,808,533,796,1196,1312,1210,945,800,1388,1816,1240,1324,1428,1034,900,1032,981,1244,1376,969,852,1023,993,1158,1354,1528,1780,2050,1694,1616,1522,1252,1190,1015,735,954,742,476,709,692,583,593,686,1438,1122,522,1056,1312,749,281,370,751,511,417,477,996,1058,762,1104,1296,1144,923,595,532,607,611,1184,1534,1410,1408,1142,1226,1340,1494,1434,1394,1174,1152,1228,1250,1322,1418,1530,1362,1200,1152,1202,1240,1662,1742,1336,1058,713,1038,1786,1070,1088,1222,1120,985,1058,1126,1528,1282,755,774,602,348,321,570,745,922,595,608,644,633,621,665,797,879,824,845,1016,1210,1330,1196,1076,1136,1022,866,838,899,984,852,598,465,446,613,1056,980,886,927,1006,1236,1610,1594,1144,783,760,1208,1104,973,790,786,582,537,569,571,703,938,1013,829,890,1104,722,311,290,326,289,344,461,530,458,383,389,280,331,450,492,600,599,467,482,479,554,927,1260,1076,929,790,1102,1426,2242,1892,1438,1008,810,862,631,466,883,1260,783,441,732,766,508,458,424,608,1584,2090,1126,354,421,519,673,789,1040,960,959,772,548,444,345,286,273,312,391,442,557,563,339,276,267,433,401,402,307,335,357,391,622,536,285,285,484,689,1094,1202,671,323,370,362,336,388,348,373,497,839,692,683,808,948,1050,1126,1096,1086,846,920,1220,1136,1028,684,1202,1348,1848,1380,529,357,334,263,298,427,529,357,432,669,792,488,599,854,472,343,481,683,817,775,886,689,492,446,383,538,445,330,268,461,472,329,280,246,271,272,325,355,377,386,287,300,466,498,536,486,495,645,516,319,399,733,1046,1058,850,987,1638,1244,456,311,433,571,622,594,413,339,365,340,288,395,426,515,742,661,539,847,969,956,924,783,694,636,1130,1386,1128,725,717,868,987,933,842,908,1010,1466,1522,1664,1142,1148,1344,1290,1228,1570,1786,1562,1374,1524,1514,740,625,1420,1388,1410,1770,1644,1576,1588,1366,1148,1194,1440,1516,1656,1068,755,693,452,635,746,1274,1418,1072,964,1003,1804,2176,1518,1166,995,957,1144,1206,1170,869,667,639,561,491,406,427,402,747,1434,1428,1440,1060,1190,1256,970,652,926,1076,455,378,459,425,503,619,615,550,512,555,599,575,540,553,556,536,582,592,514,460,463,489,541,614,513,489,508,540,557,494,403,421,456,448,438,575,763,1108,1392,1528,1248,1002,944,996,864,1058,1742,2340,2354,2008,1348,790,586,771,958,1168,1304,944,893,1180,1194,1310,1196,747,724,962,996,1032,1192,1238,1160,1320,866,1060,1412,1282,1208,1576,1614,1400,1300,1310,1312,987,783,948,1496,1444,1640,1598,1312,1146,1066,1092,1074,1180,1334,1344,1300,1360,766,779,1454,1456,1416,1334,1188,1156,1226,1238,1282,1368,1354,1310,1320,1198,1138,1282,1410,1388,1258,1196,1224,1100,1078,1198,1202,1362,1450,1544,1380,1258,1394,1310,1268,1278,1270,1140,961,1023,1228,1470,2222,2016,2784,1622,1134,1112,1444,1404,1312,1492,1282,1252,1200,1192,1330,1444,1494,1246,1412,1344,1106,893,887,918,920,1118,1404,1268,990,1248,1174,1150,1272,1532,1534,1434,1308,1300,1184,1320,1520,1614,1504,1120,1088,1042,1030,825,784,806,781,771,606,708,909,1096,1200,1092,976,853,1058,1014,913,1152,1322,1388,1524,1510,1440,1430,1266,1044,1156,1206,925,897,1048,1096,1108,1112,1005,1086,1017,744,878,1102,1324,1198,1166,1550,1372,1074,1216,1202,893,904,1210,1176,1164,1222,1242,1494,1222,780,985,1744,1796,1260,730,671,775,1418,1284,592,778,874,796,801,991,972,575,363,541,1026,946,468,578,963,959,829,1060,1198,982,1006,1200,1132,1020,1166,1106,1110,1110,1296,1338,1366,1396,1418,1338,1184,1184,1232,1266,1324,1404,1594,1244,1072,1302,1372,1338,1018,722,509,436,579,611,750,1186,764,720,1006,1108,1032,681,499,469,821,1400,1306,817,907,852,1084,1013,1094,935,1042,1230,1388,1328,918,548,937,1462,1494,1364,1270,718,569,898,903,595,911,1154,1030,976,1214,1322,1100,1050,987,913,957,1252,1320,1230,1312,1394,1428,1466,1442,1366,1304,1460,1488,1132,658,435,417,399,397,369,391,417,369,405,524,554,497,507,810,971,1252,1384,1288,1282,1486,1542,1440,1458,1320,1130,1118,1206,1162,1308,1388,1246,907,919,1088,1009,1160,1498,1244,672,595,935,898,917,1328,1478,1504,1664,1364,1098,906,877,803,824,1082,1158,751,460,411,367,910,1258,1116,1116,1366,1310,1338,1316,1132,770,906,1250,1426,1036,573,450,696,910,1290,1336,699,676,929,1028,790,1252,1340,897,714,622,641,763,783,576,530,688,706,467,636,432,760,1366,1276,1178,747,411,372,316,323,460,646,802,525,382,415,914,1362,1230,1142,1338,1376,1216,1122,1266,1192,1302,1628,1798,1428,731,615,518,619,1100,1434,1576,1260,1146,1400,1330,1044,1023,1054,1122,1232,1144,1212,1264,1090,891,1178,1460,1422,1058,951,850,440,351,722,1015,872,736,603,709,918,1026,1142,960,866,1009,1414,1394,1440,1520,1430,1406,1368,1268,1256,1116,1180,990,936,919,866,940,1007,1010,952,1194,1400,1178,1320,1304,956,807,957,1056,965,949,912,888,1134,1176,888,889,902,700,819,686,569,589,520,546,666,601,591,626,499,500,700,843,877,496,374,411,412,402,357,347,341,458,735,786,1066,1648,1384,929],[881,1132,1003,940,725,343,228,242,228,250,243,255,270,311,356,292,320,891,1998,1790,1354,557,866,1594,1714,1174,1013,723,509,572,436,442,382,386,417,422,543,1122,1550,964,410,377,380,387,392,434,438,519,874,844,962,1026,720,1030,1522,1862,2636,2480,2208,2182,2182,2018,1700,1622,1470,1096,770,627,738,769,741,973,1192,1148,1316,1390,1250,1186,1438,1610,1354,1262,1354,1296,1278,1300,1306,1504,1698,1576,1566,1546,1254,1015,1060,1250,1224,1246,1338,1362,1230,992,595,452,727,797,680,815,804,785,1220,1908,1920,1118,739,636,526,489,509,467,440,443,390,350,318,302,297,302,312,318,338,370,343,338,325,359,409,505,675,538,708,991,503,393,373,376,405,340,305,317,267,240,242,265,314,381,445,538,534,489,463,538,746,1024,1094,781,578,473,381,395,303,294,308,295,306,313,396,425,373,297,283,344,288,251,241,273,254,296,291,254,273,342,414,435,391,357,336,297,307,272,295,339,342,344,309,340,440,286,260,365,402,527,409,450,555,473,772,729,442,408,292,328,394,687,830,471,433,461,554,586,496,610,673,584,537,560,670,523,376,493,410,337,386,421,480,504,469,451,521,542,540,940,1418,1412,1140,1216,962,931,1278,1306,1366,1366,1270,1148,1194,1194,1164,1144,1138,1106,1312,1490,1396,1234,1112,1128,926,853,1440,1264,998,623,377,395,542,620,1342,1936,1492,1062,852,720,753,623,690,770,878,994,713,739,875,930,777,818,1080,1228,1538,1578,1524,1376,1094,1112,1214,1110,1220,1520,1220,1084,1500,1410,1354,1374,1454,1256,1778,1824,1584,1418,1162,1064,1238,1364,1330,993,623,816,1368,1316,1156,1522,1728,1640,1194,802,721,811,804,689,921,888,469,357,364,374,490,720,608,488,713,971,634,648,722,617,681,1054,1376,1382,1258,1490,1566,1494,1456,1496,1932,2302,1700,1182,811,885,1266,1388,1136,1028,1350,1238,794,782,909,589,536,792,767,785,1030,1096,908,806,1074,1252,1318,1382,1278,1224,1286,1308,1114,1036,1142,1010,866,670,586,563,601,608,637,705,651,626,595,640,680,367,342,395,390,684,796,700,573,936,946,791,742,511,648,519,625,521,498,1082,1300,884,612,681,988,1234,979,810,1166,1688,1150,656,604,686,1086,1368,781,317,278,292,300,296,299,287,341,464,408,467,740,913,728,533,642,749,744,622,541,408,448,1146,1296,749,702,1050,1122,966,861,767,961,1058,1170,1168,1084,755,949,792,468,467,755,992,941,769,808,714,516,382,292,314,350,599,540,590,1082,932,664,1154,1220,907,799,1048,1224,767,737,868,467,317,490,803,1140,1450,1498,1642,1890,1730,1330,921,1176,1392,1318,1432,1338,1056,970,1074,1272,1346,1258,1148,1140,1066,1376,1338,1494,1546,966,877,868,962,1242,1126,559,450,412,487,805,1202,1504,1556,1172,938,1126,1070,1272,1354,1204,1466,1504,1336,1092,869,927,1160,875,501,589,565,608,817,1086,1164,984,942,1180,1106,788,1142,1230,818,724,862,846,783,1156,1412,1120,940,909,1250,1350,981,815,920,1176,1296,1510,1390,1232,1178,951,909,813,1064,1274,1146,1212,1180,1098,1098,1009,924,924,983,1074,863,705,966,1134,1422,1272,742,681,923,861,618,633,899,1036,1318,1320,1128,1032,1036,1176,1280,1218,1428,1460,918,542,782,1064,1404,1112,873,959,691,654,1120,1120,1038,1044,878,1236,1534,1300,1378,1318,1332,1388,1294,1212,1288,1380,1206,1086,1120,1350,1374,1328,1406,1844,1764,1584,1258,865,1140,1682,1396,1432,896,1070,1216,740,555,790,753,463,740,1606,1190,457,878,808,494,411,774,1258,819,420,285,464,521,847,1274,1376,1744,1620,1130,767,608,632,1005,865,1356,1188,903,1013,1528,2188,1584,1448,1468,1308,1410,1400,1152,1272,1280,1290,1472,1796,1652,1284,1378,1472,1458,1232,1310,1856,1926,1021,966,1252,1170,1136,869,900,1734,1488,1011,764,713,526,394,433,670,662,460,749,1246,1066,691,520,403,310,310,381,738,950,902,871,1234,1458,1112,990,919,931,973,944,862,716,561,415,872,1134,1202,1188,1240,1610,1700,1686,1360,735,567,969,1102,1070,999,936,999,1152,1092,1048,1266,1668,1706,1472,1134,1030,961,545,346,315,259,321,451,556,561,487,328,253,331,489,520,529,662,645,565,477,308,465,877,997,1102,694,790,722,1022,1226,1023,850,1032,996,799,797,577,445,396,617,1150,1088,786,509,361,521,1066,1234,587,393,724,891,683,554,789,655,700,891,988,813,809,744,469,383,346,450,877,648,384,230,280,325,278,255,242,286,249,296,504,442,270,300,377,429,419,673,624,353,466,511,375,491,534,562,636,678,495,389,369,435,587,763,981,1244,1060,926,975,1094,1396,867,1304,1424,1786,1336,535,391,324,347,547,913,955,506,549,918,926,628,419,338,266,318,496,660,706,559,568,667,535,441,431,399,364,282,297,432,325,264,293,285,332,295,262,297,389,528,519,462,480,556,610,386,270,319,285,288,390,899,896,552,584,720,1076,1030,642,443,453,381,491,531,339,322,457,361,286,372,636,955,902,666,785,1210,1146,1174,1504,1206,1092,1222,1372,1378,883,623,750,786,929,1028,898,1118,1050,1394,1538,1558,1212,1142,1442,1350,1294,1714,1802,1660,1684,1624,1178,664,1322,1824,1106,1068,2088,2192,1708,1598,1412,1102,1274,1260,1202,1824,1390,1106,1001,616,593,755,1136,1448,1364,1092,716,1554,1960,1288,987,824,1000,1206,1246,1166,814,683,766,681,690,641,602,424,1092,1650,1544,1490,1282,1288,1002,657,475,729,1212,836,448,387,420,497,589,626,637,593,584,625,628,603,589,586,616,552,532,526,524,517,508,563,570,540,493,452,473,478,475,393,424,463,440,410,447,672,846,1023,1114,817,908,901,829,690,1426,2272,3046,2912,1982,1560,1290,927,982,1060,976,1052,998,1470,1382,881,933,1184,1196,1168,1106,1058,1416,1556,1624,1272,1428,1256,1234,1418,1274,1094,1394,1688,1650,1450,1356,1218,943,884,1084,1314,1200,1222,1428,1762,1632,1214,1140,1322,1322,1284,1262,1316,1376,1038,1066,1412,1400,1226,1100,1124,1186,1230,1388,1514,1388,1308,1222,1094,860,888,1234,1382,1312,1202,1208,1240,1078,1122,1380,1262,1288,1512,1886,1524,1340,1278,1232,1312,1374,1456,1104,1011,1280,1374,1242,1360,1486,1574,1278,1120,1300,1466,1036,809,1274,1498,1478,1204,1272,1484,1438,1152,1058,1150,1078,1130,1156,1176,1126,1240,1300,1416,1564,1410,1300,1044,1024,1238,1550,1738,1566,1322,1682,1376,1316,1454,1462,1426,1230,1050,989,1172,1218,1104,977,770,777,597,921,986,1082,1074,878,806,691,1020,1246,1068,1152,1448,1382,1422,1404,1274,1274,1068,972,1074,1156,913,855,1154,1204,1022,789,695,779,1206,1288,1270,1252,1510,1360,1058,1146,1198,1116,1290,1020,739,1122,1200,1206,1174,1272,1432,1174,988,1050,1019,1534,1276,1282,877,678,755,1090,777,509,375,684,995,937,1454,1358,905,505,397,649,879,852,735,993,1100,1026,1274,1382,1302,1290,1136,906,847,913,659,887,1204,1242,1394,1512,1460,1366,1354,1312,1372,1324,1518,1550,1552,1410,940,570,677,739,617,564,631,852,1260,1476,1302,882,703,400,497,953,1152,1150,1108,920,1021,1592,1730,1702,796,817,1015,874,1001,1023,966,1196,1214,1268,1292,1016,544,648,1096,1438,1488,990,729,797,1326,1300,998,1080,1064,966,1124,1600,1594,1076,727,1066,1250,991,1130,1452,1682,1626,1300,1104,1278,1586,1448,1304,1284,1132,749,637,543,418,358,310,345,413,426,356,366,388,384,478,588,703,922,1458,1498,1372,1306,1256,1312,1420,1314,1196,1013,1162,1230,1384,1398,1388,1290,1108,1092,1236,1114,1102,1262,824,514,369,506,479,648,1062,1158,1114,1420,1410,1132,1076,1328,980,1080,1250,1058,572,407,380,332,487,836,1210,1386,1316,1332,1360,1040,1284,1204,974,1104,1196,988,721,576,793,1152,1358,1158,949,814,839,691,827,1172,1048,1126,1028,764,697,740,990,768,591,600,686,691,716,430,818,1042,1080,1178,817,480,362,318,336,722,1096,1070,564,378,399,658,1042,1086,907,1098,1440,1404,1068,1136,849,846,1368,1536,1108,996,958,528,520,891,1388,1262,724,700,1296,1184,1146,1160,1276,1390,1318,1264,1238,1322,1246,1134,1272,1504,1306,1272,1070,586,358,312,550,827,838,777,772,1042,894,728,718,673,775,1074,1340,1394,1262,1172,1206,1286,1314,1354,1194,822,694,705,754,791,829,984,1092,1048,942,1015,1136,1028,1212,1626,1440,1320,1310,1208,881,693,714,875,880,813,825,653,910,1180,1290,813,667,814,673,486,571,548,579,648,451,454,578,742,974,518,357,390,448,411,341,363,381,510,722,938,2040,2280,1142,679],[830,1082,756,925,884,477,324,284,263,206,238,309,292,301,280,244,220,769,1792,1828,1416,1076,998,1264,1406,1278,1100,782,519,411,372,362,329,347,350,371,697,1510,1650,802,429,411,383,359,394,484,466,441,495,650,1024,1040,687,1132,1666,2596,3802,3790,3662,3632,3356,3252,3266,3186,2568,1470,825,498,458,425,637,741,945,1010,1122,1356,1252,1202,1406,1324,1392,1354,1290,1172,1246,1506,1554,1524,1598,1612,1490,1366,1416,1268,1260,1318,1416,1310,1144,823,605,594,610,527,559,659,667,585,435,554,797,964,1246,1200,698,433,435,412,385,383,409,405,406,387,352,373,373,338,309,298,322,309,378,621,716,684,596,439,792,703,773,825,642,609,450,355,393,331,277,284,254,244,243,258,314,383,448,420,430,480,643,941,1262,1424,1188,701,458,391,408,416,327,292,303,309,324,353,383,379,383,368,395,346,293,249,263,276,276,328,334,249,246,333,396,461,432,487,505,443,512,417,302,404,550,533,474,372,336,196,258,369,474,543,657,607,427,426,738,813,657,543,285,264,458,980,684,478,434,484,578,565,520,634,831,906,907,821,747,510,350,504,486,381,361,384,407,390,398,454,714,628,771,948,1300,1394,1584,1422,1272,1418,1290,1434,1440,1466,1402,1444,1180,1082,963,1108,1312,1136,1242,1454,1218,1050,822,996,1312,1150,949,701,538,379,243,462,842,700,604,921,1164,1292,929,695,691,694,615,467,742,977,1014,1262,1366,1130,1080,1338,1412,1480,1714,1544,1448,1192,741,731,979,1022,928,930,1018,1376,1874,1234,1094,1070,1026,1166,1710,1806,1796,1576,1142,1102,1302,1052,1208,1126,557,877,1232,1150,1302,1560,1932,1914,1488,1086,1062,1172,1184,1013,821,745,452,627,724,767,1108,1052,520,482,693,935,563,686,1130,846,688,931,1454,1896,1908,1778,1814,1966,1846,2084,2878,3204,2188,1118,948,1388,1434,1626,1430,1440,1434,1176,1132,925,1018,987,649,775,652,477,806,1034,861,850,1288,1642,1644,1468,1084,974,1198,1382,1272,1286,1268,946,750,644,498,502,539,617,679,879,796,727,658,523,466,799,874,544,386,542,907,822,566,829,827,1020,761,629,905,697,629,626,686,1310,1618,1100,1150,1588,1230,777,611,631,1294,1374,799,532,557,788,1246,1166,477,356,262,290,278,290,321,290,325,460,468,440,506,680,721,453,372,445,395,402,555,564,432,839,1382,1180,625,530,743,1036,983,902,1054,1128,1160,1088,969,905,860,825,737,543,777,1112,705,400,414,311,285,278,320,314,386,658,634,598,978,1015,910,1130,1028,808,717,703,1062,1012,738,507,324,315,351,386,595,1080,1412,1510,1458,1246,1572,1800,1710,1610,1526,1472,1378,947,786,919,1204,1324,1338,1476,1448,1302,1260,1182,1450,1578,977,947,1202,1844,1864,1360,860,742,645,774,1054,1230,1148,888,708,834,954,1290,1416,1488,1294,1038,965,857,771,830,901,990,943,665,813,977,1036,907,1112,1100,963,1054,1260,1228,1318,1772,1290,747,800,736,948,887,1074,1300,1150,990,928,1144,1428,1364,1234,1202,1186,1202,1240,1436,1428,1023,843,1328,1238,1250,1292,997,1046,1180,1180,1188,980,893,1098,1001,550,672,840,937,1120,1314,1376,857,673,849,837,773,1080,1048,971,1220,1162,934,763,722,982,1190,1264,1420,1368,874,560,921,1274,1388,1112,1282,1462,974,867,1340,966,985,1094,775,584,459,825,1164,1444,1716,1462,1344,1358,1372,927,825,1230,1616,1552,1336,949,1080,1906,1662,1062,1090,1086,1172,1712,1138,874,852,1026,1422,1278,845,778,681,455,601,1058,964,745,659,735,664,575,756,975,744,443,672,742,514,822,1030,1146,1406,1360,1330,1156,1156,1062,742,642,724,764,1010,986,1264,1704,1534,1406,1516,1382,2076,1736,1310,1314,1324,1456,1662,2136,1806,1422,1426,1420,1334,1272,1300,952,709,625,865,1252,1352,1162,668,903,1610,1428,1512,932,803,727,420,368,634,846,708,859,1350,800,318,243,329,435,441,547,715,1040,1450,1128,1104,1148,991,971,1000,993,991,982,910,886,750,421,524,943,1164,1080,847,1110,1062,1332,1302,708,496,771,1005,1102,1192,1198,1190,1206,1192,1054,1124,1264,1486,1208,1054,1542,1610,1036,533,317,291,304,409,558,601,535,299,219,299,400,415,461,548,568,560,458,313,289,362,581,806,795,647,440,671,962,988,1312,1490,1406,935,879,886,470,344,457,628,742,783,551,354,329,425,484,318,456,1002,1402,1530,1210,670,602,830,811,561,861,1220,1262,882,736,782,614,459,345,325,349,327,278,268,264,288,272,249,354,510,367,227,247,282,321,313,392,392,274,295,522,587,858,663,404,405,413,370,357,339,316,343,331,453,969,1080,808,711,1216,1406,1302,1734,1982,1978,1412,671,370,353,442,688,1168,1082,651,573,837,828,558,443,436,286,288,390,345,343,301,271,367,332,289,333,372,389,431,405,497,287,242,277,237,325,330,316,347,448,838,1010,606,343,435,551,538,406,299,314,296,423,771,624,510,600,513,681,711,535,485,399,267,342,389,292,304,345,309,309,421,803,1064,1134,938,851,1152,1064,1282,1808,1422,1200,1352,1422,1120,406,260,243,301,475,943,1080,975,1192,1632,1588,1610,1366,1206,1422,1416,1476,1736,1786,1676,1500,1012,967,1116,1334,1110,845,1152,1458,1482,1650,1614,1378,1108,1404,1034,1294,1968,1914,1592,1342,832,543,722,896,1366,1638,1222,868,1284,1886,1746,1046,763,1086,1234,1260,1276,916,789,918,830,817,912,631,451,1166,1598,1572,1426,1324,1102,789,538,380,566,1286,1282,665,414,441,455,522,560,574,570,575,600,602,626,602,636,622,600,557,528,531,533,554,547,475,481,510,466,473,463,478,449,465,449,466,448,489,742,701,567,626,610,683,749,612,1208,2056,2924,3296,2386,1498,1518,1430,1176,1080,1158,1306,1454,1344,1480,1058,677,875,1078,902,808,895,1186,1626,1802,1746,1330,1068,866,880,1310,1550,1394,1316,1600,1664,1464,1540,1266,1216,1021,1190,1350,1244,1260,1362,1510,1478,945,1136,1344,1356,1302,1270,1406,1396,1038,850,941,1158,1166,938,832,1096,1272,1394,1302,1274,1200,1274,1238,1110,1188,1294,1262,1312,1394,1348,1188,1090,1126,1446,1384,1200,1302,1582,1492,1232,1100,1262,1356,1216,1294,1078,1374,1592,1710,1568,1284,1472,1600,1350,1188,1204,1250,1048,960,1328,1440,1466,1288,1246,1272,998,728,974,1082,1046,1126,1078,1344,1168,1300,1268,1260,1684,1542,1174,1200,1226,1302,1462,1572,1456,1150,1230,1206,1070,1106,1230,1376,1444,1362,1372,1520,1544,1356,1044,897,816,608,963,1106,1088,999,1054,1001,800,1190,1364,1354,1278,1324,1126,1112,1254,1310,1270,1368,1290,1130,1256,1190,1094,1060,1050,905,651,616,746,938,1088,1392,1348,1338,1248,963,914,1086,1232,1144,818,797,1152,1166,1102,974,787,839,879,927,1250,1019,1272,1242,1268,1310,1214,1300,1138,1110,1074,902,1236,1306,897,1176,830,829,548,530,620,832,960,691,841,1096,1013,943,1334,1524,1362,1230,1074,1394,1011,764,1094,1254,1184,1186,1460,1612,1376,1264,1450,1264,1168,1286,1290,940,631,572,491,444,491,568,774,1118,1502,1760,1628,1626,1528,1021,617,652,1028,928,686,536,664,1120,1676,1656,1470,1088,877,981,1122,1110,1016,1248,1184,1084,1244,848,741,509,725,1196,1468,1394,851,1004,1224,1394,1340,1112,924,691,711,1158,1412,1246,1124,843,1066,1346,1212,1060,1096,1474,1598,1268,949,1015,1404,1404,1178,988,621,655,773,689,694,498,419,407,447,463,420,400,394,351,593,932,869,1250,1694,1556,1396,1432,1610,1484,1562,1360,1384,1128,1006,1020,1208,1204,1300,1440,1344,1266,1318,1108,1228,1346,669,301,312,397,607,694,867,1180,1186,1290,1116,1222,1422,1438,1270,1130,1166,1007,620,493,452,418,356,580,1238,1286,882,1266,1444,1220,1278,1474,1148,902,946,881,906,1164,1274,997,654,804,852,777,592,440,782,1074,1132,1144,932,1232,1124,1028,945,902,736,714,673,924,793,542,764,842,1102,1146,953,772,466,332,298,444,750,714,438,332,422,552,813,1070,1318,1276,1484,1854,1520,970,680,700,930,987,962,1078,1134,1106,946,1024,1238,1156,800,857,1214,1146,915,1010,1404,1462,1426,1332,1344,1420,1328,1362,1490,1446,1238,1188,935,534,332,311,367,561,755,694,855,1166,868,469,814,1336,1584,1580,1416,1406,1252,1240,1360,1402,1346,988,717,676,692,700,707,718,697,750,821,889,809,781,952,936,1102,1372,1278,1140,1290,1288,1164,995,783,857,709,502,414,389,910,1606,1624,1034,862,957,725,446,492,415,434,490,451,371,415,1048,883,440,412,415,432,398,388,452,450,466,554,680,1054,966,615,469],[812,726,585,924,755,660,568,302,290,283,282,268,265,268,282,226,384,1132,1656,1502,1256,946,663,705,790,777,693,673,622,540,381,303,334,386,397,402,822,1746,1618,650,415,432,383,364,371,415,442,451,563,698,966,910,852,1320,1644,2844,3698,3514,3652,3916,3876,3852,3616,3482,3090,1686,780,482,523,532,621,741,1168,1454,1248,899,1048,1294,1312,1218,1556,1360,1316,1356,1804,1828,1710,1678,1496,1334,1248,1348,1504,1544,1420,1272,1268,1242,1048,618,475,511,515,467,393,364,395,395,383,415,451,960,1616,1782,1316,720,430,392,369,455,548,554,433,352,408,494,477,370,350,491,560,454,603,991,1082,716,445,322,527,604,586,408,392,459,402,295,286,244,254,254,240,241,228,227,305,374,492,587,526,625,1078,1334,1556,1522,1222,638,450,402,399,375,305,288,300,321,411,484,465,379,364,404,383,294,271,257,249,324,420,387,378,334,309,298,289,332,350,455,523,505,591,569,379,554,704,631,684,595,595,481,406,375,424,462,565,441,246,317,419,384,458,473,243,287,767,1023,648,456,466,495,557,561,462,457,589,669,791,642,790,715,525,609,540,356,351,396,403,445,461,408,496,1082,1300,1080,1192,1490,1858,1700,1630,1678,1230,1448,1368,1320,1438,1406,1146,1174,1096,1172,1356,985,805,1180,1232,1094,706,852,1122,664,469,518,422,280,265,403,612,701,592,745,1300,1332,855,711,858,791,579,445,514,819,1034,1156,1128,902,1068,1416,1418,1384,1322,1434,1100,836,849,720,645,881,1064,833,1000,1302,1534,1354,1478,1024,759,1172,1434,1606,1340,884,1198,1336,1244,1116,1180,852,659,1021,1003,1244,1578,1604,1538,1488,1364,869,1240,1788,2170,2402,1758,1190,645,454,678,893,1072,1082,671,630,659,721,709,931,1306,1196,1310,1388,1554,1958,1924,1710,1718,1898,1858,2178,3010,3088,2122,997,755,1250,1628,1742,1602,1400,1204,1212,1602,1280,1124,1260,740,453,382,619,1064,1090,949,1162,1620,1690,1390,1188,1178,1128,1368,1302,1080,1166,1248,773,583,583,506,551,670,980,788,989,1126,921,802,719,673,1024,968,587,397,544,854,947,703,496,708,836,603,580,797,880,791,569,777,1436,1236,965,1290,1460,1384,811,537,839,1468,1232,612,413,444,559,760,761,390,309,258,283,308,357,325,306,338,480,560,460,463,419,394,355,386,432,447,462,544,597,452,633,1118,1052,577,662,868,1004,830,1010,1120,1152,1080,919,1110,1350,1200,1202,850,560,849,1022,520,381,404,314,317,350,344,307,496,879,890,636,1134,1134,841,733,797,711,696,700,886,1004,686,536,480,351,401,409,427,611,1058,1388,1550,1876,2210,1938,1360,1280,1248,1276,1336,1160,860,851,1100,1334,1372,1562,1588,1396,1082,1246,1498,1738,1514,1306,1526,1464,1600,1664,1098,818,1048,1050,982,1021,605,651,814,1084,1216,1472,1452,1376,1282,1038,814,762,806,728,821,971,1052,927,1066,1134,987,1126,1344,1256,1196,1062,1098,1294,1090,1316,1454,1626,1312,971,1122,811,799,1148,1106,802,811,968,1380,1182,814,938,885,1074,1192,1396,1302,966,1004,1316,1276,990,813,776,1074,1284,1108,1012,1044,1094,1080,989,747,753,774,697,1054,1224,1470,995,627,607,705,770,1130,1100,827,758,691,698,781,982,1152,1134,1246,1356,1422,1106,1052,1140,1204,1200,1064,1238,1778,1456,689,962,1116,1422,1258,728,563,563,841,940,1214,1616,1180,1202,1396,1422,1009,1158,1350,1326,1278,1134,1170,1510,1406,963,1036,1190,1094,954,1134,973,978,949,923,1306,1356,1510,1660,1094,555,443,514,740,739,587,687,845,812,682,869,847,655,1262,1152,802,1009,696,725,844,1360,1750,1498,1246,1276,1276,866,577,553,819,1114,1260,1544,1596,1410,1324,1312,1354,1450,1568,1400,1484,1592,1466,1672,1606,1238,1256,1308,1218,1366,1118,562,653,1130,1314,1330,1448,1166,686,1110,1432,1556,1570,1038,751,602,527,601,799,1058,870,796,1288,1148,747,753,874,822,1036,1438,1572,2442,2768,1394,1040,982,958,976,1013,990,932,895,897,832,626,366,543,963,1194,1012,762,752,587,758,818,591,488,657,940,1112,1196,1260,1360,1182,1042,951,901,1054,1130,809,1078,1472,1464,1272,964,532,294,311,391,546,600,538,365,280,276,279,290,379,495,541,541,501,445,359,295,293,406,612,794,783,865,949,1296,1746,1806,1420,861,607,651,488,371,297,284,402,623,761,631,433,401,401,339,452,1146,1464,1186,742,452,472,830,782,944,1308,1334,1166,510,907,1328,1174,862,592,543,549,394,405,246,246,278,261,282,367,310,231,231,257,256,261,303,295,360,456,597,965,998,1012,876,537,477,894,1056,896,635,428,292,273,307,738,1040,948,650,899,1256,1260,1340,1416,1568,1420,1040,541,493,567,614,665,584,567,478,460,451,365,380,440,315,234,236,258,288,347,389,435,446,413,516,720,771,689,368,328,399,524,430,255,319,361,390,365,573,1316,1278,612,357,531,484,897,910,475,274,275,475,673,519,658,836,505,560,407,365,492,507,353,342,404,349,395,518,427,315,455,919,1108,1390,1288,1220,1322,1338,1454,1700,1568,1192,1021,1166,963,344,280,426,430,557,1022,1562,1130,1009,1318,1400,1668,1608,1442,1684,1624,1570,1584,1798,1578,901,1116,1660,1412,1260,1318,1264,1388,1288,1504,1488,1316,1226,1218,1440,930,1436,2008,1608,1570,1644,1190,614,611,713,1066,1642,1500,1032,971,1178,1236,1010,850,1074,1248,1166,1090,951,859,759,698,730,798,560,460,881,1202,1282,1328,1108,702,674,718,546,526,1232,1426,780,422,407,402,483,601,577,565,581,584,628,622,672,753,721,651,571,541,536,474,459,533,573,466,557,579,568,538,511,477,462,490,527,495,503,783,617,485,551,664,772,902,1170,1824,2408,2884,2742,1804,1506,1684,1606,1268,1162,1260,1316,1396,1556,1250,733,664,694,586,461,475,547,1126,1576,1576,1316,1246,1174,929,1042,1462,1566,1360,1186,1390,1732,1950,1936,1392,1282,1212,1348,1356,1228,1286,1172,1122,1082,888,1112,1332,1252,1144,1200,1206,1086,977,1004,1028,913,916,825,998,1312,1328,1438,1264,1158,1154,1220,1230,1246,1282,1152,1164,1406,1302,1284,1023,1354,1444,1410,1416,1418,1418,1458,1396,1164,1042,1084,969,926,1120,1164,1346,1388,1434,1360,1096,1154,1388,1278,1174,1184,1154,1104,1236,1396,1566,1410,1356,1324,1164,994,874,1306,1440,1230,1294,963,1034,1164,1120,1126,1306,1786,1548,1098,1380,1506,1348,1246,1340,1126,1100,995,814,847,1092,1300,1444,1462,1350,1318,1680,1668,1466,1094,1140,988,734,908,1066,1122,1148,1198,1208,897,1150,1420,1430,1402,1208,1186,1262,1268,1120,1194,1340,1234,1130,1204,1158,1188,1090,1220,1106,1024,822,803,901,1030,1154,1184,1268,1146,1152,1236,1150,1172,1028,968,1034,987,985,1068,776,499,592,582,594,1046,1132,870,959,1206,1360,1400,1274,1422,1624,1290,1118,1058,1070,1104,1017,794,1030,1080,955,907,980,915,791,830,767,1023,796,1166,1142,872,1060,1360,1836,1406,995,1002,1120,966,1007,1023,1214,1020,1023,1122,656,646,810,714,466,313,257,290,335,619,1114,1520,1666,1826,1738,1636,1660,1758,1562,1084,1054,1298,866,608,592,644,877,931,1216,1104,1194,999,836,998,766,685,1260,1224,1050,1074,675,607,702,1056,1192,1254,980,553,868,1232,1308,1442,1188,970,633,474,835,1210,1328,1356,1150,1338,1340,1074,1026,1100,1172,1452,1372,1192,1272,1382,1380,1216,903,703,1132,1306,1322,1360,821,615,402,406,408,405,440,477,634,1070,1009,661,741,936,1226,1378,1644,1686,1494,1550,1382,1328,1332,1224,1142,1310,1540,1634,1382,1346,1610,1496,1220,1346,1278,722,404,395,435,697,960,960,1120,917,985,1248,1404,1576,1232,926,858,1156,1116,599,403,388,434,561,1002,1332,800,576,833,1122,1354,1166,1100,1278,1160,814,1024,1404,1094,1154,675,429,545,651,833,808,568,755,1192,1244,1288,1244,1542,1296,1114,1136,1034,912,723,687,988,943,891,778,555,627,930,1120,1262,692,370,360,321,372,479,463,481,519,560,738,846,1116,1282,1416,1570,1548,1234,957,1036,1126,920,1144,1010,1094,1058,1162,1124,1056,1192,1182,1106,1194,1314,1310,1294,1448,1430,1434,1378,1378,1394,1250,1352,1468,1258,1112,1192,1082,471,348,329,485,565,806,1026,988,934,671,412,604,827,1036,1208,1116,1110,1100,1066,989,1076,1058,872,756,667,642,677,768,719,684,816,1028,1252,1448,1364,1448,1704,1636,1400,1344,1082,1242,1262,1350,1340,1110,760,640,581,591,516,761,1602,1534,707,644,584,464,444,519,418,411,546,531,525,617,957,1142,785,485,518,435,412,406,449,404,455,523,609,921,993,609,406],[554,415,513,605,683,773,432,285,298,293,301,316,296,305,290,241,652,1422,1462,1246,1012,616,467,440,558,582,539,492,477,428,351,327,365,417,408,448,933,1832,1522,620,432,436,389,357,333,349,347,460,835,777,960,949,1224,1390,1666,2886,3804,4026,4104,4152,4168,4164,3984,3938,3362,1674,688,579,587,549,513,614,885,988,722,578,1128,1170,1164,1276,1470,1150,1164,1408,1758,1892,1826,1556,1448,1428,1504,1438,1244,1222,1122,1168,1324,1144,800,503,378,354,371,391,347,346,388,395,399,397,561,1530,2364,2318,1806,1180,469,394,357,441,702,769,565,513,586,633,611,469,374,434,398,434,527,656,702,423,248,258,294,353,363,285,303,432,422,252,235,229,239,239,238,227,225,260,360,575,853,894,552,628,1226,1274,1190,1218,1050,554,390,390,346,312,290,273,291,331,356,322,356,408,403,497,492,363,313,294,251,400,529,392,391,411,378,349,314,318,344,404,407,413,612,669,429,589,561,533,634,701,876,838,627,520,532,540,488,356,242,322,431,516,549,382,261,387,959,1302,1118,692,428,493,593,588,464,399,362,443,764,776,930,956,733,589,435,387,363,427,477,516,443,396,328,846,1170,1622,1714,1134,1196,1300,1392,1318,835,980,1126,1350,2250,2082,1282,972,833,1122,1440,1130,709,912,838,906,965,850,926,641,479,673,551,236,305,419,414,383,534,863,1212,880,555,763,1118,867,512,512,736,973,893,842,825,660,867,1234,1286,1170,1152,1118,697,513,893,1230,1056,786,921,1102,1222,1194,1170,1436,1578,1130,1060,966,1042,1406,1248,952,1266,1390,1318,1284,1136,981,869,973,1240,1566,1594,1580,1396,1202,731,659,1250,1912,2346,2464,2258,1844,1294,888,835,954,1182,995,714,780,846,851,743,818,1018,1116,1148,1298,1610,1820,1618,1256,1390,1672,1870,2396,2962,2462,1734,935,769,1414,1750,1872,1766,1428,1072,961,1300,985,744,942,753,675,930,1216,1318,1222,1184,1460,1626,1632,1232,1122,1058,1138,1310,1108,758,1096,1180,622,504,482,471,510,709,870,821,1402,1552,1118,1016,955,723,645,549,479,626,885,1118,1212,752,449,473,504,514,576,775,1018,966,985,1248,1826,819,459,717,1158,1462,1414,1346,1242,1096,980,985,907,868,597,464,502,396,354,297,313,366,423,389,354,368,374,391,444,482,393,367,358,376,501,565,659,800,709,483,527,689,681,390,459,567,754,906,1102,1050,1042,1168,1084,1128,1086,1078,1005,927,947,1274,1224,618,340,280,287,300,309,306,319,414,762,962,1422,1692,1356,962,790,902,1126,1166,966,802,789,910,812,560,409,404,388,524,785,1026,1166,1642,1852,1474,1078,1228,1168,965,1202,1284,1224,1154,867,937,1280,1310,1508,1466,1660,1080,1208,1312,1612,1864,1682,1404,1174,1382,1654,1428,1014,1014,1060,1208,1272,766,666,1110,1350,1282,1466,1490,1292,1194,1076,1040,1066,988,646,678,853,958,1000,1110,1192,1224,1310,1286,1218,1112,819,871,1202,1202,993,995,1110,772,727,829,772,698,995,1066,1015,1306,1512,1372,1166,738,691,754,1012,1216,1202,1230,1058,764,1016,1056,932,1056,1102,1188,1450,1286,1092,1098,980,839,986,1034,864,641,551,1004,1238,1502,1104,692,524,545,611,763,984,1294,1516,1752,1952,1738,1478,1098,810,1086,1410,1426,1242,956,748,1102,1152,940,874,1634,1392,760,706,1168,1560,1080,614,545,515,952,1202,1016,1552,1154,1232,1628,1692,1324,1462,1294,872,826,885,972,1300,1396,1122,1224,1192,1128,1066,794,717,1074,1170,1216,1338,1342,1384,1610,1560,1180,962,926,920,704,709,674,747,1036,802,693,625,747,1428,1170,1042,1340,873,689,893,1772,2290,2200,1716,1060,909,679,893,1216,1264,1142,1200,1450,1594,1306,1088,1242,1370,1618,1478,1300,1322,1188,1130,1244,1266,1104,1130,971,764,904,1028,791,756,1464,1506,1470,1554,1266,1001,1366,1814,1698,1130,887,647,610,528,618,940,1110,1009,764,1404,1428,910,871,904,992,1728,2264,1654,1808,1920,1206,1050,855,1016,1142,1040,964,882,873,890,795,502,454,724,815,1046,938,934,1046,637,643,791,671,558,540,782,1016,1068,1100,1268,1138,984,1001,1326,1272,697,622,1114,1388,1352,944,1100,702,372,302,392,528,563,439,304,264,276,328,325,392,441,446,562,531,493,452,330,259,249,416,761,1038,1224,1240,1316,1446,1900,1016,869,879,552,412,361,328,467,587,648,721,752,631,665,446,296,318,777,1028,600,361,284,349,729,859,1194,894,1010,642,596,1336,1818,1376,586,735,879,945,776,487,321,306,260,270,329,308,278,274,248,266,332,382,457,606,769,778,606,562,717,1058,1096,567,807,1628,1786,1708,1456,718,296,314,314,700,964,885,612,787,1148,816,868,829,600,753,1140,1102,701,609,556,343,364,392,346,382,379,444,573,585,631,572,440,395,459,543,689,788,807,805,742,1260,1422,1382,927,607,753,887,730,409,280,309,357,366,667,1228,763,374,406,477,624,1226,1124,467,306,356,542,515,529,488,697,454,436,397,374,580,559,336,365,464,473,364,384,378,381,601,998,1190,1348,1434,1380,1472,1558,1480,1584,1454,786,439,771,988,473,447,1210,1350,1454,2092,2248,1438,982,1266,1364,1720,1794,1676,1716,1532,1422,1522,1576,1007,805,1628,2102,2042,1792,1530,1088,1354,1530,1798,1206,985,1202,1206,1192,961,1428,1922,1914,2002,2054,1578,713,529,638,865,1204,1022,707,752,892,877,911,868,908,1150,984,748,878,958,813,786,676,585,487,415,753,990,1024,937,785,686,726,1110,907,544,1098,1328,737,443,469,446,446,497,519,521,537,575,593,639,736,743,702,658,636,585,541,517,471,590,610,452,509,579,598,544,468,433,480,507,478,439,560,885,600,536,550,583,781,801,950,1438,1996,2244,2054,1762,1700,1724,1642,1188,987,980,935,1034,1030,558,578,655,567,471,453,469,602,1184,1282,1354,1454,1268,1038,880,1174,1428,1234,1178,1236,1490,1852,2332,1910,1342,1260,1242,1280,1240,1336,1422,1604,1402,1366,1332,1172,1050,803,987,1288,1212,1186,1352,1468,1190,1006,1354,1444,1570,1610,1534,1536,1330,1142,1046,996,963,703,890,1124,1238,1318,2292,2368,1354,1380,1546,1432,1320,1294,1272,1302,1344,1060,1178,1236,1134,1084,1128,1186,1296,1236,1190,1302,1306,1236,1448,1380,1374,1240,1182,1280,1296,1430,1492,1322,1382,1336,1492,1502,1246,1114,1260,1256,1438,1292,1214,1216,1104,1096,1294,1498,1340,1122,1234,1104,1026,1060,1278,1116,1166,1134,899,1022,1306,1410,1434,1202,1336,1220,1528,1658,1634,1250,1086,1140,1102,988,921,988,1154,1168,1290,1028,1344,1470,1382,1414,1480,1508,1368,1084,1072,1372,1478,1334,1348,1246,1398,1510,1300,1312,1222,1088,796,700,1070,1106,1076,996,1088,1132,875,960,1160,1134,1064,1296,1462,1016,701,582,407,625,758,556,414,549,1052,1122,1366,1952,2108,1778,1330,1324,1324,1264,719,734,964,1158,1064,1096,1134,1092,1092,1196,1184,1148,942,656,576,938,855,975,924,850,1014,1176,1092,969,872,818,1044,1036,921,569,534,484,452,527,444,348,400,602,669,483,319,374,482,973,1580,1798,1814,1926,1886,1808,1732,1592,1604,1636,1292,1182,1274,868,794,965,954,1021,1120,1026,1240,1078,866,1076,910,728,1100,1278,1310,1064,758,732,1100,1538,1336,898,647,446,557,1023,1360,1400,1216,1096,938,670,615,695,990,1172,1184,1354,1288,1104,1260,1120,861,1150,1458,1248,1102,1164,1172,1194,1013,1100,1738,1860,1908,1694,1228,872,725,600,478,458,588,739,1024,1280,976,761,721,877,1146,1286,1458,1826,1810,1492,1400,1162,1100,1354,1318,1368,1338,1310,1426,1650,1528,1376,1390,1418,1352,1108,795,442,495,735,1154,1100,1090,960,1064,1094,1144,1246,1046,781,752,993,1050,525,439,414,553,798,1238,933,536,617,647,733,1052,1192,1112,1168,1486,1188,846,1194,1152,1038,599,449,623,735,785,1004,1122,960,889,742,959,1456,1474,1224,1042,935,860,773,719,823,1034,1160,1254,951,778,663,739,763,828,687,534,543,354,343,458,571,535,456,545,747,830,1234,1678,1404,1106,1140,1094,903,1160,1248,671,822,1072,1138,1152,1190,1048,1156,1492,1506,1246,1116,1192,1336,1324,1338,1318,1240,1140,1174,1212,1312,1442,1302,1220,1116,1136,898,667,516,508,730,794,1036,1178,955,1064,1062,880,719,743,673,738,667,578,579,446,338,441,437,453,500,868,1572,1416,1202,1017,1114,1342,1674,1662,1446,1754,2004,2062,1914,1416,1282,1224,1344,1168,1172,1130,971,726,811,925,832,544,792,1246,726,503,796,646,501,487,533,472,455,594,517,559,654,714,1040,835,611,621,514,408,402,523,518,480,495,536,668,569,414,409],[609,578,383,139,604,560,362,291,297,285,293,311,314,308,322,373,708,1106,1274,1168,691,506,455,451,525,511,466,447,426,427,470,478,433,411,389,509,1162,1920,1352,621,492,457,408,379,377,381,319,371,875,861,908,928,1296,1350,1708,2520,2588,2512,2666,2832,2592,2266,2546,3042,2576,1368,623,498,461,520,492,460,385,404,539,677,886,963,1054,1242,1180,971,892,1040,1388,1632,1528,1390,1344,1208,1442,1420,1332,1234,1190,1678,1914,1302,1009,678,450,366,391,356,334,376,427,368,381,441,579,1340,2280,2238,1996,1574,611,391,393,570,744,794,660,632,696,746,769,592,386,382,418,356,262,305,344,340,340,341,349,428,426,435,552,605,428,290,263,271,278,284,275,263,276,279,375,732,1152,966,654,713,1180,1318,1222,1060,925,604,346,398,420,381,361,289,274,341,291,254,305,408,417,426,388,297,283,306,358,452,454,364,391,422,378,415,423,316,449,877,948,568,587,769,456,387,558,688,687,683,827,891,828,886,828,744,606,462,451,392,334,455,443,310,262,578,1136,1442,1456,852,439,450,508,452,383,350,502,628,601,745,933,827,670,677,739,576,433,713,579,496,452,436,475,551,1036,2008,1964,1438,1294,1036,1092,1094,849,937,1052,1146,1286,1284,1084,624,479,957,1232,1156,899,857,505,577,1076,965,851,764,416,537,425,357,314,377,395,371,520,706,971,1108,1192,1440,1350,850,631,910,975,1082,854,791,647,532,888,1078,938,1020,943,679,449,415,626,959,1040,822,572,920,1288,1218,1158,1266,1152,902,942,1008,1256,1252,1124,891,1332,1442,1140,961,1382,1356,620,738,1210,1384,1294,1312,1454,1424,918,904,1454,1964,2042,1956,2128,1978,1078,999,1604,1704,1288,875,827,703,849,996,1130,1158,1008,977,1094,1440,1286,1306,1454,1050,1292,1368,1472,2210,2348,1736,1638,1362,1072,1546,1930,1874,1734,1230,1086,932,1172,1042,639,604,761,1042,1140,1092,1036,1434,1426,1560,1400,1418,1268,1162,800,618,1106,1336,1002,1172,1005,499,430,420,431,602,803,715,973,1430,1294,718,539,743,899,669,691,772,846,975,1216,1370,728,416,879,1144,795,580,846,985,998,1458,1658,1572,931,495,741,1230,1406,1690,1874,1266,956,886,936,1021,1086,659,434,420,387,362,352,355,396,429,368,363,411,379,373,407,435,393,375,364,388,473,605,696,622,560,439,622,894,1011,648,503,788,1200,1304,1272,1490,1520,1386,1198,1176,1094,1114,1156,1186,1066,1266,1036,611,412,320,298,287,268,323,412,609,948,1176,2072,2026,1266,925,791,726,1028,976,780,628,730,1248,706,377,359,369,408,530,837,900,788,1106,1174,1228,1242,1356,954,887,1160,1192,1238,1416,1402,1332,1360,1418,1448,1240,1476,1140,1184,1268,1346,1694,1760,1400,1172,1278,1672,1616,1034,900,841,1184,1478,1334,1082,1034,1052,1150,1282,1188,1086,873,949,1042,1012,905,792,1062,1164,1084,1076,1122,1266,1186,970,1228,1462,1136,644,784,943,845,689,680,621,577,754,1196,1148,798,1218,1362,1516,1506,1412,1356,1222,993,937,1152,1188,940,916,1252,990,715,1160,1002,910,1030,1048,1136,1198,1038,832,759,877,1088,1216,1158,891,525,521,971,1208,1464,1256,771,702,979,1248,1688,2078,2418,2458,2442,2438,2004,1458,1064,918,1072,1368,1400,1222,974,916,1228,1234,774,675,1584,1340,852,836,1050,1242,1016,813,806,477,736,1046,985,1220,1190,1278,1170,1060,1282,1438,1234,591,619,948,1148,1334,1494,1166,1204,1140,1266,1278,857,771,981,1196,1202,1154,986,1122,1450,1598,1594,1192,967,964,691,935,1292,894,1010,982,696,829,846,1170,1122,1152,1126,1130,1080,1260,1560,1612,1796,1420,636,548,683,1160,1744,1676,1238,1092,1412,1838,1592,1222,1330,1364,1584,1378,1060,1024,954,960,1158,1220,1144,1168,1090,735,627,1106,1114,879,1698,1534,1540,1584,1200,1068,1144,1300,1026,576,852,1242,1102,615,473,593,935,1180,841,535,341,313,436,693,941,1502,2262,1622,1714,1632,1200,1244,1298,1396,1250,1050,999,969,971,946,703,558,868,869,716,842,915,1238,1190,927,763,689,691,568,458,582,914,1042,1052,1106,1003,705,1102,1924,1744,1013,775,1272,1152,854,764,1280,993,462,304,375,515,563,396,243,241,259,302,379,418,395,364,486,517,512,513,469,373,318,358,707,1082,1142,1410,1444,1428,1082,641,786,954,792,558,378,556,833,796,621,604,867,733,724,536,399,297,314,383,345,444,434,333,559,969,917,796,755,436,915,1748,2182,1134,474,381,392,704,933,993,814,717,634,526,373,335,377,329,281,313,559,764,642,749,852,579,685,1390,1716,1748,1056,501,548,973,1162,1732,1726,833,357,464,393,524,902,861,655,533,882,1044,1090,1220,998,605,839,1148,1023,900,753,681,764,828,597,438,458,618,704,639,604,527,379,432,693,1042,1154,1100,1176,1172,987,1606,1908,1982,1412,962,753,1034,1686,1032,771,487,416,389,497,597,467,396,430,421,882,1420,962,381,352,501,661,724,881,616,692,588,409,372,412,559,529,392,368,502,602,460,346,276,345,500,644,690,874,1156,1410,1410,1344,1468,1440,1378,817,394,595,921,594,528,1578,1834,1350,1798,1760,1156,885,1208,1214,1628,1642,1616,1738,1692,1616,1570,1372,1050,1060,1628,1920,2024,1798,1450,1116,1362,1588,1632,1130,1100,1180,1042,1030,905,1628,1944,1830,1632,1622,1664,893,503,579,677,776,737,628,739,819,663,752,778,691,728,672,480,750,968,979,973,701,554,561,453,908,1290,1078,816,807,1017,1128,1146,814,518,987,1364,814,526,492,499,460,475,375,353,469,545,567,776,938,756,770,833,712,528,509,503,495,550,491,466,485,544,582,541,509,476,466,446,436,455,607,828,591,558,600,481,525,591,811,974,1290,1434,1616,1642,1688,1668,1194,988,1062,1030,1134,1144,1310,956,580,544,454,432,391,356,678,1034,990,1224,1434,1374,1184,1334,1406,1362,1254,1430,1588,1598,1722,1862,1620,1444,1494,1378,1556,1796,1808,1400,1416,1420,1346,1238,1200,1204,1218,1224,1376,1408,1368,1300,1248,1272,1428,1336,1526,1544,1294,1320,1438,1428,1282,1138,1166,1106,669,915,1158,1112,1110,3328,3022,1610,1506,1554,1376,1310,1454,1426,1408,1302,1056,1174,1220,1184,1102,1136,1416,1376,1256,1138,1222,1198,1186,1306,1316,1266,1178,1234,1388,1418,1432,1334,1182,1282,1210,1076,1208,1422,1042,813,846,1256,1534,1542,1382,1144,1252,1286,1300,1218,956,995,960,755,791,1150,1266,1408,1262,1007,1038,1024,1190,1444,1530,1390,1286,1462,1640,1610,1316,1208,1446,1380,1144,968,964,959,955,1092,1018,1490,1626,1388,1172,1156,1306,1436,1246,1366,1282,1252,1188,1318,1268,1404,1406,1306,1200,1114,913,584,625,1038,1056,756,633,1040,1086,892,769,805,1108,1134,1120,1208,1032,725,519,414,396,452,642,688,518,672,1086,1444,1804,2364,2346,1742,1344,1376,1118,837,1344,1504,1248,1296,1304,1112,1058,1164,1042,968,996,1074,739,628,885,1064,1116,1070,1028,1158,1208,965,1007,1056,1108,1007,693,441,371,384,375,354,414,379,257,351,631,910,858,595,473,661,902,1242,1612,1854,1902,1938,1950,1862,1682,1636,1758,1714,1354,1190,1022,806,960,1296,1444,1150,1130,1378,1021,560,637,703,649,1016,1148,1232,1052,702,778,1416,1726,1504,830,690,536,726,1252,1528,1526,1274,1400,1300,940,553,579,1088,1066,1000,1350,1146,1532,1790,1412,902,855,1132,1320,1066,655,750,973,843,851,1360,1726,1376,993,1278,1190,1116,1064,796,484,818,1186,1166,1268,1108,983,850,721,908,1246,1508,1810,1768,1644,1554,1180,1300,1424,1426,1440,1072,1238,1554,1574,1416,1258,1176,1246,1200,1256,1236,804,842,1040,1158,1238,1434,1274,1132,1072,1032,1168,1390,705,543,794,882,505,631,579,661,1080,1290,899,625,694,912,837,785,826,977,1188,1298,1504,1296,1002,1184,1228,718,491,835,1006,885,1350,1036,708,568,520,809,1328,1212,852,723,610,636,675,695,592,733,1158,1486,1302,1102,872,816,861,960,758,560,573,561,655,834,723,449,461,617,884,951,953,849,787,811,810,1082,1098,1158,943,535,472,765,1104,1276,1258,1188,1410,1660,1328,1076,920,1228,1404,1450,1328,1240,1252,1236,1064,1056,1318,1434,1290,1344,1226,1078,898,720,637,667,717,938,1356,979,771,1098,1166,1050,887,1038,1160,925,708,541,487,356,429,568,533,472,509,935,1524,1376,1234,1184,1116,1182,1316,1300,1156,1332,1454,1436,1398,1352,1322,1260,1178,1174,1186,1242,899,780,1011,1004,827,533,763,716,572,608,1168,975,657,655,725,601,576,663,630,604,517,567,773,742,683,633,610,508,450,504,523,531,521,488,409,365,343,383],[694,546,412,334,481,407,322,304,289,293,306,314,314,310,336,504,616,843,960,800,511,440,444,470,472,453,453,461,427,404,411,581,487,447,403,550,1280,1570,969,587,495,473,383,300,294,295,292,279,500,529,557,699,1130,1340,1600,2128,1966,1886,2098,1764,1522,1450,1182,1106,1122,849,596,615,1007,1228,1100,877,780,803,921,1062,1110,1014,1048,1242,1324,1324,1304,1316,1392,1352,1104,1266,1332,1090,1310,1538,1462,1316,1278,1918,2426,1302,1180,861,428,353,437,414,343,366,339,303,357,399,455,710,1112,1260,1206,920,592,466,468,621,766,760,694,770,744,652,616,482,418,427,408,297,287,294,342,468,548,523,419,762,907,696,597,421,333,292,261,252,260,260,259,271,279,289,317,455,630,790,1130,1106,955,1172,1012,571,677,716,516,536,579,557,644,381,261,287,276,300,347,374,382,386,326,318,315,326,378,365,352,346,384,405,373,420,473,336,404,1096,1596,1078,764,758,528,366,422,521,621,667,698,765,832,905,777,600,369,517,656,613,624,600,458,303,401,813,1154,1408,1574,828,419,401,417,349,350,352,585,675,611,756,678,572,573,677,757,645,585,905,910,739,614,575,582,619,982,1656,1676,1614,1266,1086,1432,1552,1378,1234,1264,1204,766,885,908,588,536,929,963,755,879,987,605,380,706,893,1108,1056,440,452,405,460,421,367,365,377,595,772,1082,1406,1478,1324,1048,948,1306,1610,1582,1488,1064,806,616,620,867,1062,996,651,428,345,385,409,442,486,555,596,500,998,1338,1284,1166,805,756,697,774,1064,1168,1174,1070,909,935,1072,1082,1032,1198,1116,740,792,835,1256,1370,1318,1342,1244,1023,1078,1350,1506,1426,1356,1892,2128,1196,745,1482,1538,1074,839,680,642,798,1142,1616,1720,1498,1068,1302,1544,1122,1202,1290,1108,1226,1100,814,1068,1254,1300,1614,1738,1468,1738,1842,1864,1772,1356,1380,1124,932,888,742,608,684,702,711,761,792,1318,1732,1674,1214,1084,1088,1146,1054,866,1036,1414,1384,1346,917,498,409,431,444,824,960,863,1046,904,691,477,515,673,814,972,1050,772,702,828,1006,959,515,437,976,1246,728,385,499,655,767,1152,1180,1110,1048,854,761,1026,1308,1144,1202,766,554,517,604,613,634,594,461,364,343,342,379,408,443,423,329,342,349,333,337,358,369,386,415,400,368,415,569,568,447,463,380,724,1088,1058,627,436,720,1206,1132,919,1176,1392,1168,1130,930,1019,1240,1298,1056,1038,1166,865,714,435,393,591,491,586,841,861,1050,1282,1292,1292,1308,1174,663,708,850,971,1011,883,688,594,625,453,345,426,552,486,425,524,577,593,576,728,1044,1068,1092,1136,1224,1296,1288,1322,1350,1344,1456,1508,1444,1228,1070,1200,1128,1128,1216,1230,1556,1750,1436,1434,1678,1432,1356,1310,1372,1202,1242,1350,1294,942,705,950,1204,1418,1108,819,572,616,917,991,925,1044,1246,1266,1094,1194,980,1078,907,567,908,1154,1072,947,1058,1028,660,645,974,1164,1088,919,1208,1190,696,1110,1134,865,756,748,971,1254,1182,1144,1390,1344,1058,1180,1438,1284,1058,1206,1122,1044,996,1001,1098,1264,1094,567,524,774,1056,1194,825,802,816,657,841,1108,1416,1388,769,964,1606,1592,1874,2098,2458,2500,2376,2322,1992,1570,1516,1284,916,877,1234,1350,1023,1074,891,944,579,845,2324,2004,893,1036,966,1134,1454,1292,1174,742,718,899,1204,1402,1204,1278,1478,1730,1676,1388,1244,551,465,895,1394,1438,1290,940,1066,1254,1290,1362,1208,1236,1132,1174,1300,1170,609,520,1012,1100,1338,1472,1272,861,515,780,1021,592,955,1444,927,951,980,862,906,959,1192,1372,1034,1354,1834,1470,1052,758,890,1004,1086,1700,2284,2244,2024,1754,1474,1140,1182,1260,935,736,1100,874,608,496,634,1136,1724,1730,1632,1520,1544,864,537,857,1166,1018,1174,1354,1668,1864,1736,1490,1234,977,667,679,1328,1550,1362,1036,982,882,920,1168,893,421,371,440,713,938,1082,1404,1860,2498,2942,2046,1244,1284,1344,1234,1098,1062,1034,954,883,814,514,488,777,802,749,753,1178,1416,1002,1048,828,763,692,552,577,719,947,1088,1072,1058,813,931,1674,1776,1354,1180,748,1202,1168,825,1122,1442,1112,761,573,355,457,532,431,280,269,283,298,335,382,406,340,256,336,484,530,536,488,449,354,377,818,1108,1338,1428,1302,963,547,421,569,634,478,504,783,971,869,657,435,480,631,666,546,478,437,279,269,358,680,490,316,355,673,990,1274,855,683,1450,1394,1800,1118,815,511,382,385,605,625,647,798,858,881,533,549,543,508,417,396,558,603,419,496,550,381,1066,2094,2056,1650,653,467,421,377,455,1226,1612,1026,512,594,477,396,641,547,594,825,1082,948,1006,1326,1472,1210,869,581,720,1108,1536,1370,1200,911,597,356,424,662,629,498,573,709,597,480,493,772,1278,1192,1454,1356,982,1382,1816,1854,1300,553,634,1902,2930,1924,1140,760,628,530,441,412,412,527,554,635,1190,1158,634,391,480,719,693,1070,1284,886,849,724,415,426,554,598,475,340,359,561,466,431,408,378,497,591,438,348,383,639,1080,860,965,1580,1366,1200,976,660,728,1052,841,612,1390,1754,1314,2064,1930,1352,1242,1250,1042,1466,1588,1498,1660,1588,1178,1050,1240,1262,1148,1660,1934,1960,1710,1446,1318,1406,1434,1418,1368,1272,1009,977,1054,922,1484,1632,1440,1600,1628,1454,798,459,567,606,565,576,584,597,631,658,636,698,692,628,546,417,639,1004,1160,1020,667,521,607,515,925,1500,1138,849,1204,1556,1554,1390,1070,528,896,1454,912,548,495,491,470,520,424,343,422,525,607,990,1370,1106,704,658,595,478,452,441,503,491,454,487,487,514,539,553,553,524,467,419,398,436,661,833,661,685,733,473,800,1350,1716,1390,1024,1128,1122,949,1116,1094,965,1178,1100,1198,1318,1376,1554,1266,641,376,371,367,375,405,740,1166,1134,913,868,1210,1200,1336,1224,1058,992,1176,1224,1210,1498,1666,1428,1336,1710,1792,1520,1656,1710,1368,1152,1194,1266,1394,1306,1224,1258,1120,1186,1190,1164,1088,1062,1290,1486,1302,1122,1122,1252,1312,1488,1474,1316,1260,1234,1272,1070,1212,1246,1152,1144,1384,1478,1240,1330,1504,1504,1272,1328,1302,1384,1376,1352,1284,1192,1344,1328,1162,1328,1282,1304,1194,1180,1142,1416,1354,1162,1118,1148,1164,1320,1256,1192,1150,1150,1088,1050,916,991,1184,1128,747,805,1222,1334,1418,1062,828,1234,1334,1206,1156,905,1100,1346,991,927,1144,1256,1410,1268,1224,1166,921,1164,1548,1344,1164,1250,1482,1616,1488,1246,1332,1454,1288,1230,1300,1400,1090,897,803,947,1360,1260,919,861,850,996,1178,1422,1350,1334,1226,1196,1208,1196,1234,1252,1222,1178,1266,822,637,660,791,746,662,951,1120,1102,1162,830,564,897,969,894,1116,1016,663,684,983,684,314,514,778,825,514,652,1314,1730,2036,1804,1478,1412,1074,726,1058,1538,1536,1488,1376,1298,1224,1318,1332,863,685,958,1306,1092,719,834,1080,1164,1204,1138,1172,1048,542,649,1040,907,535,345,310,310,383,502,693,891,565,274,304,401,759,1054,1008,674,598,750,798,1150,1742,1846,1878,1950,1954,1900,1776,1734,1834,1804,1350,947,623,852,1676,1676,969,770,897,898,703,623,576,559,728,841,1020,1206,1220,1488,1644,1086,852,721,868,716,1004,1394,1506,1214,976,1082,1130,1116,880,910,1156,1210,1312,1286,836,1334,1738,1710,1150,668,511,705,1150,1110,765,711,750,673,844,1122,1012,1266,1396,1450,1360,1222,913,716,1236,1322,1388,1136,1010,860,650,510,666,1013,1284,1410,1572,1554,1436,1272,1252,1342,1366,1300,1184,1320,1390,1136,1044,1072,1228,1312,1328,1438,1310,1218,1182,1146,1166,1256,1112,990,915,919,890,900,1026,771,489,720,1216,1036,1020,830,641,669,760,1134,1004,624,995,1170,907,955,1138,951,911,1200,1502,1374,1236,1282,1116,534,697,1094,844,1210,758,678,913,908,1019,1332,1028,594,515,526,521,614,692,736,967,1508,1612,1390,1290,1226,941,717,774,779,521,470,800,1144,1354,939,655,672,910,1222,1144,974,744,884,858,988,1228,1290,1138,985,782,606,983,1190,1198,1386,1416,1306,1174,1086,1234,893,1228,1460,1482,1476,1360,1218,1170,1160,1222,1448,1352,1354,1340,1240,1226,924,667,782,1136,1170,1180,1456,827,796,832,522,470,587,1106,1062,1092,923,626,526,451,558,827,686,469,632,1166,1506,1350,1264,1244,1198,1254,1270,1302,1118,1108,1424,1410,1172,1206,1218,1168,912,998,1220,1228,920,841,860,893,763,735,969,876,872,796,1010,1062,944,1060,1180,1023,718,639,836,770,661,875,969,722,480,446,605,746,647,563,664,550,432,409,393,322,317,367],[925,1150,646,321,506,546,458,389,350,344,338,326,314,303,294,466,544,576,533,461,439,448,458,434,397,411,473,465,331,315,368,391,361,374,479,841,1302,1226,797,558,475,403,303,249,278,289,283,296,376,448,512,712,1013,1044,1062,1186,1042,1070,1262,856,755,697,577,631,709,507,670,1832,2792,2354,1804,1310,1196,1158,1240,1392,1338,1176,1216,1378,1478,1528,1338,960,849,905,733,916,1144,1384,1360,1186,1204,999,1148,1512,1726,752,607,387,300,322,349,310,302,454,578,605,449,367,680,934,963,703,433,537,764,689,530,551,573,497,594,717,658,520,460,471,506,581,510,397,438,398,332,454,494,486,357,584,861,738,578,558,471,303,252,278,311,275,262,250,248,255,272,312,344,475,757,763,606,732,640,528,589,762,580,460,539,909,1004,824,626,369,258,266,293,302,324,336,348,433,385,364,374,330,320,342,404,422,417,426,473,384,436,919,1342,1116,1032,902,650,504,499,522,442,546,607,655,708,653,611,603,504,590,568,731,1084,1160,1060,819,905,1232,1248,1230,1140,631,389,334,339,336,332,283,338,419,641,661,578,475,503,650,714,811,975,1088,973,850,794,881,915,956,1015,1250,1214,1214,1350,1200,1196,991,710,684,1338,1570,895,1124,974,735,769,892,893,860,1002,911,497,678,636,640,980,1128,567,596,714,1024,908,573,446,724,1316,1406,1110,1116,1384,1050,779,949,1346,1394,1412,1284,1066,910,1158,1260,802,618,565,390,398,472,520,549,472,447,547,565,592,931,1138,957,619,413,305,415,626,1042,1082,1002,1042,684,402,613,1009,955,634,840,1198,1258,875,1042,1412,1354,1288,1108,861,1023,1110,1136,1060,744,1598,2122,1090,670,1142,1046,923,797,589,689,724,1136,1760,1710,1460,935,947,1192,1362,1188,1072,1172,1062,988,807,905,1472,1864,1950,1776,1244,1550,1754,1808,1656,1360,1320,1296,1054,883,805,805,910,627,482,426,559,980,1372,1134,847,764,998,1264,1122,1290,1058,1176,1296,1148,749,479,442,495,582,812,797,812,735,664,583,846,735,648,706,1064,1096,729,718,921,999,869,706,557,774,662,445,291,308,390,533,764,998,1062,835,783,786,923,1224,588,692,942,919,539,505,619,803,912,743,451,385,354,337,371,411,415,350,311,268,277,318,337,346,358,356,354,360,389,369,436,503,504,439,561,639,501,382,472,775,965,818,962,987,1098,1200,1210,1026,1146,1178,1040,916,1048,1130,1028,963,786,1100,1762,921,1023,1470,1050,603,826,1138,1230,1344,1194,683,620,661,786,1366,1438,992,878,1046,964,847,1030,1208,703,456,432,543,596,576,722,959,902,1013,1414,1444,1322,1188,1210,1056,1058,1114,1046,1086,985,934,1146,1168,1192,1166,933,1086,1558,1476,1516,1280,1190,1304,1352,1280,1264,1392,1564,1430,1078,1068,1154,1152,1390,1018,863,856,781,987,706,609,820,952,1318,1120,1092,658,764,728,602,844,1340,1462,1162,1164,1176,991,1074,1032,903,816,767,1038,1122,912,1082,850,688,711,662,1026,1300,1140,1098,1094,1284,1130,1196,1034,1178,994,852,785,756,807,720,861,1266,1094,743,662,818,1178,1458,1005,874,1044,869,838,1106,1344,1486,790,849,1516,1722,1766,2070,2426,2502,2366,2386,2056,1746,1874,1352,799,701,1066,1272,888,672,626,754,637,485,1384,1648,1150,1244,1130,918,1140,1108,1154,1010,835,977,1180,1008,979,1322,1732,1472,954,1116,1294,785,440,641,1034,1062,1012,1060,1430,1532,1208,1406,1362,1536,1138,1058,1172,1186,893,709,690,845,1466,1574,1472,942,886,885,616,483,864,1019,907,1198,1194,717,483,526,882,880,649,972,1384,1314,1268,1026,1008,1040,1344,1906,2220,2454,2554,2258,1266,847,890,1040,839,855,913,681,509,372,408,1118,1920,1732,1320,1176,1194,759,559,583,858,972,1180,1476,1516,1684,1732,1454,1372,1192,824,632,984,1082,1122,1306,1614,1268,965,1094,799,423,403,727,1092,1098,1128,1068,1250,1662,1888,1704,1266,1276,1308,1106,1030,935,916,889,882,579,579,617,539,667,774,836,1230,1512,1236,1070,902,880,844,592,479,489,782,1078,1072,932,1038,1732,2154,1416,851,1060,681,835,810,1054,1570,1554,1272,1342,1154,633,481,551,498,387,356,319,301,301,339,379,318,181,258,326,583,637,524,491,473,429,408,738,1052,1142,1118,1003,412,305,422,424,508,625,833,1012,1056,774,562,554,509,597,653,683,705,389,297,304,371,292,270,275,468,1019,1410,911,977,1802,1938,2054,1500,1374,1014,596,802,1092,877,558,588,545,498,339,481,526,436,351,419,462,436,467,530,440,433,1452,2214,2182,1054,451,375,472,677,748,788,717,586,535,540,246,231,308,247,590,1238,1188,749,849,1042,1162,1188,1136,653,495,892,1550,1400,1368,1028,675,481,583,799,860,913,1134,1122,843,521,419,480,1023,867,889,874,886,1602,2172,1992,1208,469,1378,2612,3138,1630,695,578,518,544,569,396,339,573,768,966,1310,663,400,376,733,727,813,1470,1468,897,705,715,541,592,723,718,469,444,466,525,346,331,383,473,780,725,387,521,688,564,792,710,1132,1492,1596,1406,1158,1034,846,812,835,1072,1456,1882,1970,2152,1742,1364,1112,907,824,1298,1606,1408,1336,962,714,984,1288,1202,1104,1086,902,858,1156,1098,1034,1282,1418,1538,1578,1354,894,1050,913,1172,1538,1606,1786,2074,1938,1406,942,501,519,559,518,550,499,452,534,544,516,631,675,588,450,305,531,988,1100,828,556,540,585,469,782,1098,923,1158,1648,1736,1622,1458,1046,508,769,1488,1084,579,517,487,492,506,481,471,467,602,805,1044,1148,908,620,641,558,498,463,458,520,535,473,471,523,523,507,503,520,490,443,417,459,695,1036,987,693,655,675,551,1224,1684,1650,1384,1440,1418,1116,1014,815,733,757,872,1134,1242,957,936,977,1106,735,418,424,448,455,475,545,631,634,492,530,637,628,661,693,583,582,880,927,894,1396,1666,1284,1240,1468,1648,1488,1792,2118,1792,1466,1394,1418,1436,1300,1282,1326,1168,1284,1428,1262,1028,1098,1238,1266,1038,1200,1266,1324,1270,1382,1480,1514,1376,1134,1176,1162,1230,1312,1172,1264,1528,1570,1282,1080,1218,1432,1528,1430,1388,1340,1494,1766,1534,1098,1456,1442,1202,1292,1528,1542,1422,1094,1174,1460,1410,1312,1352,1272,1238,1410,1354,1244,1090,1076,1080,1202,1120,913,1132,1286,1134,1316,1392,1072,1404,1322,1250,1306,1282,1118,933,918,1358,1512,1168,877,688,742,890,1110,1422,1490,1206,1148,1122,1070,1144,1194,1422,1640,1686,1356,1374,1290,1434,1324,1412,1404,1200,1204,1068,1062,1008,688,586,943,1142,1154,1246,1422,1422,1458,1360,1282,1208,1268,1248,1020,900,1198,1338,900,734,561,550,497,484,773,930,886,1028,943,691,813,1212,1078,1042,749,524,592,813,659,337,535,925,1110,715,602,1348,1738,1698,1566,1304,1088,702,748,1120,1144,1038,1220,1298,1258,1304,1358,904,718,835,1166,1354,1058,821,830,906,823,1116,995,917,925,498,331,594,538,364,404,573,599,442,475,1016,1394,959,442,362,339,480,910,1342,1106,702,714,525,722,1290,1642,1776,1944,2006,1978,1918,1874,1860,1886,1580,1114,779,913,1334,1206,698,489,524,606,665,960,977,706,638,662,513,690,905,1320,1456,797,495,716,846,624,896,1136,995,753,656,827,989,1270,1470,1422,1114,1086,1096,1062,719,591,1058,1424,1024,508,411,860,1282,1314,1152,746,750,711,779,839,998,1204,1466,1530,1520,1418,786,733,1302,1120,838,633,912,881,612,547,694,851,1118,1520,1700,1384,1378,1244,1044,1146,1274,1346,1192,1238,1410,1196,1078,1030,1378,1474,1454,1514,1352,1068,807,962,1476,1340,854,923,655,474,495,749,675,613,673,682,702,995,1312,1194,1180,865,714,1268,1056,589,976,1076,928,935,951,1023,983,1128,1482,1490,1536,1332,1318,732,833,1016,783,993,1021,989,1124,1344,1272,1272,792,571,491,447,436,442,569,758,1290,1678,1384,932,1106,1328,951,976,1178,1204,620,360,486,755,1068,1074,899,764,911,1078,900,666,706,1172,1242,1614,1334,994,1058,1140,939,1072,1448,1296,1258,1268,1364,1184,1001,869,732,888,1252,1360,1182,1238,1216,1126,1005,1202,1322,1394,1318,1584,1306,973,1034,1136,1050,1052,1220,1180,1246,1216,802,982,1005,818,539,411,686,969,1110,817,586,607,549,722,1270,1174,782,859,1472,1648,1366,1364,1322,1416,1464,1274,1082,1102,1288,1560,1448,1124,945,1032,1202,1076,907,887,1116,1106,888,799,851,918,888,825,890,1094,973,789,854,870,1088,1246,1154,697,533,610,708,753,783,712,552,589,631,532,676,574,491,475,360,312,388,531,388,326,343],[1368,1666,854,425,534,570,454,397,409,381,350,348,363,312,336,428,489,539,508,429,407,420,369,367,346,411,489,466,346,327,338,324,317,343,417,579,781,758,594,444,450,403,306,288,327,360,422,467,445,491,615,704,576,482,452,397,383,427,415,367,371,458,466,506,768,1520,3574,4156,3396,2492,1902,1300,1050,1348,1630,1664,1478,1316,1412,1364,1172,1316,1136,856,988,1200,990,843,1072,1272,1248,1252,1376,950,913,1020,744,416,455,453,385,326,324,309,392,739,830,827,554,406,939,1096,1076,1056,799,767,827,627,634,885,738,678,614,579,567,468,429,467,548,540,449,685,936,527,434,565,350,277,458,805,1015,1284,1558,1094,532,314,292,269,301,269,297,285,291,252,275,310,335,349,385,301,480,926,826,592,606,770,626,526,572,1100,1294,1130,805,425,319,293,332,351,366,320,360,513,484,400,393,449,413,345,375,357,372,386,449,400,404,840,1078,861,887,844,560,485,465,491,496,521,562,585,611,551,625,602,432,628,791,849,1088,1224,1266,1000,800,1054,1038,847,598,451,327,348,350,370,363,320,341,417,561,664,784,589,709,1092,895,656,855,918,671,686,696,751,742,526,472,601,740,938,896,662,602,622,788,585,1126,1106,781,933,895,1052,1268,1210,1192,1294,1336,836,770,1110,914,977,1190,1328,940,914,799,944,1064,702,382,528,878,1138,786,888,1242,1050,620,955,1276,1038,831,796,728,677,1012,1516,1460,854,442,399,480,656,1128,1194,784,699,819,1070,911,988,929,754,959,652,376,423,841,1404,1276,1314,1334,789,391,480,897,911,1056,1490,1658,1562,1418,1238,1022,1062,1134,1080,1094,1278,950,1230,1332,1108,1672,1800,1236,903,799,868,1062,937,879,835,836,831,1352,1560,1372,1078,1068,1158,1148,863,742,879,839,861,682,754,1462,1946,2154,1878,1366,1252,1434,1780,1678,1648,1786,1812,1278,926,583,767,996,742,445,408,417,521,744,1054,958,556,1001,1258,1036,882,980,1208,1084,1042,900,713,862,778,665,588,536,686,644,952,812,1092,1005,900,839,943,1068,1106,985,1112,1122,846,909,747,588,396,405,407,330,359,666,772,600,524,449,706,888,956,1288,1076,1010,1278,1140,667,705,945,1028,1052,1028,645,520,426,356,376,362,346,318,301,312,333,330,320,339,354,339,380,431,480,408,402,408,498,536,463,373,328,361,515,913,858,896,901,1192,1272,1158,1084,843,752,800,713,603,777,984,946,933,1044,1250,1090,700,791,1332,1290,626,706,1100,1390,1310,1322,907,660,781,847,1500,1672,1170,1120,1216,1122,1102,1196,1114,793,576,575,744,753,597,846,1488,1334,703,990,1214,1366,1198,1086,990,950,743,835,1094,1068,1054,1030,985,1214,1068,920,862,1478,1748,1694,1624,1516,1348,1076,876,1020,1324,1418,1288,1028,800,1088,1438,1404,1146,1338,1332,935,665,498,530,531,662,1058,713,674,484,602,865,1042,1192,1512,1616,980,1021,1224,999,937,706,972,832,648,980,1098,1023,1296,1176,744,661,511,725,1002,1002,1002,882,1180,1242,1190,1034,950,678,681,929,914,616,412,758,1100,915,807,772,806,1236,1620,1308,1044,1122,868,732,1086,1272,1556,897,716,1246,1944,1964,1906,2166,2238,2072,1808,1698,1672,1722,1370,836,717,1112,1528,1172,749,762,730,651,426,468,849,1424,1438,1136,688,718,697,664,921,978,965,1009,1300,1278,1274,1518,1266,1005,1092,1230,943,713,768,1001,1036,734,717,1154,1316,1140,1452,1378,1496,1258,1220,766,823,1040,930,848,1372,1926,1466,1572,1350,1368,1072,727,841,866,592,653,1108,1178,638,497,666,826,857,1118,1322,993,1126,1406,1282,1018,930,1446,1922,2238,2352,2344,2010,947,741,688,599,793,1008,726,496,401,302,623,1270,1632,1554,1144,936,918,784,732,673,767,1172,1540,1428,1084,1268,1298,1130,1176,996,612,677,1042,1058,960,1284,1824,1430,1172,1132,1058,727,711,1094,846,579,537,813,1312,1316,1250,1240,1164,1268,1068,878,848,841,879,851,710,553,711,652,619,715,891,1302,1302,1398,1372,1522,1298,1210,1274,835,495,559,700,952,869,1072,2024,2194,1744,937,564,565,626,915,1364,1504,1364,1720,2204,1948,1484,1082,533,470,530,521,498,469,402,295,300,348,271,186,226,224,367,471,477,468,510,490,466,399,412,745,1132,985,620,348,302,422,781,823,830,885,864,813,784,552,418,487,609,683,705,364,242,311,313,295,284,396,573,575,1108,976,1296,2198,2720,2330,1396,814,551,574,1182,1336,1038,1222,974,537,503,594,477,390,366,337,426,520,464,409,419,334,526,1748,1986,1390,639,420,370,506,785,982,880,461,412,714,642,319,570,495,336,454,821,960,1166,1312,1158,1018,1028,882,885,1084,1144,1028,937,983,1198,1278,876,549,706,835,968,1238,1122,604,402,685,834,922,672,360,327,662,1388,1858,1932,1310,900,2160,3326,2986,1266,853,859,550,382,435,469,521,690,648,426,568,519,375,452,735,709,916,1096,1136,958,402,571,603,565,672,771,648,583,536,490,435,384,278,473,940,814,564,928,1170,857,874,751,1100,1410,1672,1496,1112,1144,969,891,963,1216,1382,1482,1880,1974,1736,1236,716,502,529,1186,1576,1404,1090,905,1372,1356,1172,1360,984,1244,1842,1672,1380,988,969,1238,1490,1566,1358,1104,974,1150,685,891,1378,1586,1818,1998,1926,1218,991,694,560,581,793,804,602,579,588,616,585,551,596,514,471,388,562,908,909,695,555,624,651,606,578,614,1013,1800,1720,1686,1478,1412,984,490,644,1378,1192,604,461,477,484,510,490,476,604,702,957,863,802,757,792,684,509,534,558,558,519,493,454,535,556,568,504,458,417,417,466,532,607,690,726,629,625,585,524,492,1188,1620,1466,1490,1538,1144,1204,1648,1326,1023,821,904,983,896,659,636,857,875,599,487,817,1186,1042,1042,980,876,554,469,481,449,539,565,529,558,922,1376,1336,1278,1612,1716,1358,1312,1252,1268,1544,1820,1772,1532,1500,1392,1254,1306,1300,1244,1354,1184,1252,1382,1224,1122,977,949,1116,1064,1562,1518,1272,1194,1450,1654,1640,1354,1064,1158,1066,1152,1222,1186,1240,1346,1356,1384,1238,1164,1198,1386,1514,1508,1434,1520,1642,1504,1166,1290,1368,1278,1206,1432,1750,1528,1456,1476,1178,1262,1594,1560,1378,1312,1206,1322,1172,1148,1190,1298,1172,858,926,1070,1286,1278,1284,1312,1138,1238,1376,1264,1092,1028,1084,1164,1194,1378,1240,1120,951,523,613,1182,1110,1130,1220,966,931,1108,1208,1138,1128,1312,1506,1824,1598,1408,1170,1220,1208,1342,1384,1238,1208,1270,1104,1036,747,534,710,1084,1106,1254,1384,1362,1136,1030,1274,1256,1334,1350,1220,770,725,969,1326,1308,775,440,463,526,633,725,662,1006,683,751,874,1062,833,633,746,958,732,415,300,314,437,861,1154,1040,927,1266,1494,1708,1544,1130,948,785,777,890,831,862,1054,1302,1302,1244,1554,1334,843,918,1132,1118,824,838,1090,1348,940,990,730,586,822,654,437,470,422,395,353,561,736,636,653,957,1378,1388,921,573,399,351,639,1182,1212,725,530,669,1062,1162,1408,1702,2020,2094,2004,1920,1870,1852,1754,1398,948,881,1290,1010,729,524,419,378,338,686,1082,1114,1180,1030,1054,764,965,697,770,1004,916,1030,974,615,622,875,839,770,645,686,879,1015,1448,1360,1316,1306,943,757,698,514,428,599,681,499,353,602,1434,1424,1102,1238,1278,1019,719,887,1104,1110,1086,1032,1140,1504,988,566,530,789,641,446,748,1086,969,793,838,1086,1090,970,1208,1336,1082,1009,1132,1202,1294,1458,1492,1346,1252,1228,933,898,922,1020,1328,1620,1344,938,878,758,958,1472,1288,1023,1136,783,426,377,673,777,736,1118,1116,764,938,1212,1400,1460,1001,697,1062,1244,792,641,688,697,672,862,1176,1290,1546,1800,1550,1584,1338,1246,982,1078,1118,1144,1264,1448,1374,1236,1074,1036,1152,973,707,543,498,464,438,463,791,1454,1672,1462,1070,1312,1410,1144,1380,1460,1148,607,397,794,1064,897,922,722,545,594,610,543,420,574,998,1328,1520,1248,1032,1212,1352,1466,1468,1390,980,700,1040,1616,1240,833,792,833,1132,1688,1456,1416,1522,1322,1266,1304,1532,1498,1354,1434,1506,1372,1238,1216,1210,1001,956,789,766,960,960,675,932,1026,931,702,410,381,602,1092,1134,1030,745,632,824,1186,1152,1170,1350,1638,1668,1396,1154,1186,1522,1376,1226,1270,1256,1244,1370,1448,1326,1086,1186,1356,1306,1108,1054,1376,1278,904,840,995,1018,656,661,860,1102,1262,951,842,800,776,1048,1048,760,819,703,741,808,667,576,588,662,534,378,351,337,392,452,415,346,390,376,336,384,359],[906,897,560,442,459,405,406,366,339,313,322,325,328,306,398,495,470,462,372,404,390,410,427,477,477,466,540,529,455,396,342,302,300,402,464,451,422,443,472,480,514,462,387,391,433,466,522,514,560,531,574,597,474,461,462,448,491,521,503,487,548,593,513,486,655,1266,2554,2330,1888,1892,2026,1814,1520,1700,1618,1490,1486,1318,1316,865,731,942,976,869,1011,1208,893,709,969,1064,1246,1430,1394,1216,996,910,758,683,709,654,540,458,370,290,343,684,636,499,449,377,717,773,634,754,917,1058,1044,799,793,879,709,630,597,551,565,589,412,348,473,560,720,1028,1208,630,625,548,369,393,924,1482,975,893,1382,1250,730,391,319,266,305,272,303,301,308,299,295,386,476,451,442,538,772,1106,1064,587,574,752,634,447,664,1010,905,742,591,412,384,339,427,401,405,375,388,439,478,411,354,361,415,381,357,359,369,375,415,412,375,646,781,531,478,408,458,410,357,415,417,467,536,568,607,701,824,735,972,1380,1104,726,790,1230,1072,704,704,924,819,582,589,576,436,535,429,425,370,330,309,379,466,650,811,621,763,1222,885,443,368,476,399,350,310,343,408,383,403,459,539,771,913,694,774,922,894,630,604,478,514,772,1160,1206,1246,1330,1102,1308,1262,930,1180,948,1078,1404,1446,1262,1102,884,648,789,1214,647,312,329,428,724,805,751,850,758,784,1144,1032,800,711,458,806,1230,760,866,1432,910,396,370,406,614,1178,1524,1488,1210,1058,1052,1386,1476,1009,594,671,536,383,296,561,744,825,1158,951,599,532,1050,1013,903,1154,1424,1610,1594,1460,908,808,1058,869,922,1014,925,614,937,817,977,1564,1470,931,807,857,784,1472,3010,2974,1348,973,745,949,1490,1612,1468,1244,1058,813,723,644,791,764,907,771,1214,1738,1926,1982,1368,865,687,937,1692,1572,1588,1612,1422,925,692,470,451,361,364,412,412,494,708,1032,1240,1036,688,976,933,839,597,860,1296,1136,1072,1146,1096,859,683,531,500,530,500,439,512,800,1208,1294,1112,908,872,738,912,1224,1230,1110,882,1082,966,797,658,626,616,456,444,874,1080,816,499,609,750,991,1050,1370,1520,1206,1194,1202,1070,1104,1444,1130,722,661,681,635,472,418,428,328,268,295,315,336,339,326,332,344,365,354,419,481,550,488,322,340,480,487,383,325,321,383,452,473,499,686,544,785,897,890,965,772,879,1070,750,471,582,916,1036,901,1056,1138,1013,850,651,1014,1076,855,1198,1312,1290,1122,1272,937,710,692,569,847,894,881,615,749,1040,892,651,795,836,484,564,815,869,873,957,1098,1038,654,901,1092,1096,1094,1140,1080,935,1018,1384,1426,1326,1042,767,735,1042,1274,1286,1144,1476,1604,1510,1408,1326,1294,1140,1072,1108,1180,1230,1168,1078,995,1340,1694,1506,1248,1188,1186,979,960,846,999,970,1064,1128,805,731,576,464,586,1054,1092,1170,1484,1005,947,824,590,489,427,1158,1196,880,912,838,722,927,1084,827,457,509,684,954,1048,1136,1084,1156,1230,1152,1108,1086,725,1236,1798,1206,691,532,566,752,930,1124,1200,799,714,1220,1302,1004,1100,725,617,1044,1238,1512,979,653,1090,1758,1960,1960,2004,1892,1816,1708,1736,1648,1182,1100,814,827,1116,1706,1588,912,803,703,623,423,448,597,1102,1288,1152,897,900,1040,1017,1023,1084,1046,1074,1678,1286,1068,1056,1016,1098,1192,960,965,1282,1128,1186,1294,862,542,648,1184,1332,1294,1172,1332,1420,950,496,713,1004,1050,1080,1426,1348,1216,1204,1384,1468,1072,786,1084,1134,596,551,966,1005,757,1270,1070,629,691,1166,1084,643,819,1158,1212,1264,1094,1346,1716,1816,1604,1540,1166,822,869,607,301,655,1064,585,388,452,939,1658,1372,1404,1284,1050,972,933,877,849,851,1086,1310,1478,1572,1234,1304,1166,1192,1370,1222,919,1116,1478,1634,1604,1390,1802,1444,1192,1124,1152,1002,1660,2010,1432,902,596,724,1210,925,611,1108,1250,1172,937,894,933,909,808,744,591,672,904,630,846,812,1012,1198,1028,1060,1174,1346,1224,1378,1392,890,532,547,643,700,720,1202,1910,1868,1174,677,516,591,768,1086,1468,1036,595,1156,1978,1786,1622,1366,680,408,514,530,536,563,499,352,350,440,335,232,244,321,366,477,404,358,458,495,491,425,325,386,715,977,946,529,285,513,703,867,924,805,853,1098,739,703,686,505,469,398,377,343,308,293,297,256,286,458,515,457,930,1168,1013,1554,2198,2060,1614,942,617,528,898,893,1076,1406,868,432,899,901,370,236,269,339,387,394,397,347,429,280,821,1844,1840,930,430,483,532,529,544,642,529,333,394,636,532,630,923,771,494,316,456,945,1260,1424,1200,1106,1096,558,508,827,1172,956,811,1040,1228,1584,1246,857,602,609,744,686,622,350,491,946,844,601,650,499,377,572,1542,2008,2040,1226,1064,3028,4140,2258,1152,1390,1120,865,872,585,417,587,797,720,474,390,397,423,745,822,825,1066,491,412,542,599,780,819,603,618,708,673,619,531,431,427,373,299,459,814,858,935,1384,1506,1262,1148,890,876,1232,1452,1246,1034,1136,1216,1252,1138,1394,1216,1072,1356,1550,1562,1070,381,492,1170,1700,1762,1544,1104,1418,1788,1218,1028,1408,1296,1776,2072,1652,1466,1350,1148,1272,1606,1416,1072,968,984,912,642,862,1002,1152,1708,1682,1682,1488,1264,1144,906,922,1124,1086,974,864,751,747,708,620,555,451,568,659,750,844,772,674,602,620,745,736,717,861,1328,1794,1616,1416,1318,1302,812,424,579,1116,1322,938,503,492,495,522,554,661,987,880,808,874,942,1100,1046,684,555,568,539,504,480,529,504,467,487,485,459,430,384,385,454,596,782,949,722,655,689,522,445,534,1064,1426,1526,1648,1188,962,1604,2254,1908,1412,1066,941,1048,1188,757,702,1182,1184,633,484,812,1078,1290,1364,1340,1316,765,520,546,537,599,627,642,719,1030,1222,1230,1526,1654,1696,1476,1340,1220,1150,1492,1534,1054,1096,1462,1298,1206,1382,1248,1144,1186,1112,1090,1082,1122,1204,1268,1130,1306,1282,1558,1576,1382,1288,1440,1530,1650,1368,1001,1224,1378,1366,1256,1128,1098,1158,1438,1402,1028,987,1120,1066,1456,1616,1510,1530,1490,1374,1300,1408,1500,1394,1332,1216,1070,1174,1434,1500,1316,1422,1448,1350,1240,1268,1342,1272,1138,1262,1346,1290,1144,1116,1350,1212,1300,1328,1300,1320,1256,1186,1356,1372,1230,1054,967,1026,1192,1410,1306,1204,1068,671,851,1418,1338,974,608,612,841,1056,1176,1240,1172,1244,1520,1824,1708,1450,1332,1260,1126,941,1122,1190,1208,1392,1204,861,717,729,917,1136,1246,1314,1358,1372,1174,988,1106,1284,1314,1224,1310,1012,587,729,1238,1218,759,683,1088,1166,984,913,720,772,666,745,781,973,960,796,961,1118,977,722,428,339,678,1404,1484,1272,1102,1078,965,892,1376,1342,1052,897,908,846,1084,1086,1152,1438,1390,1164,1634,1804,1242,1011,1058,1256,1040,1196,1266,982,549,622,603,452,478,557,633,698,438,456,398,387,625,705,853,906,1136,1376,1376,1128,644,417,527,722,957,657,469,631,1216,1082,910,1266,1860,2146,2122,1918,1866,1904,1636,1114,931,1126,1188,929,659,531,403,311,382,732,946,991,1152,1148,1206,1222,1488,1270,1122,1034,1166,1358,1216,1044,653,477,502,882,970,1060,1162,1152,1216,1162,1224,982,745,1004,1078,719,486,515,455,448,412,794,1258,1302,1182,1030,1350,1488,1244,1202,1202,1172,1238,1028,1252,1019,562,536,681,678,560,589,924,1068,1052,1044,1186,1186,1268,1078,1088,1038,851,835,1026,1132,1148,1346,1390,1146,894,1154,841,978,786,622,1062,1438,1128,801,896,698,935,1146,863,879,799,493,398,439,695,875,967,1250,1372,1438,1076,1034,1312,1400,1154,972,1270,1454,1030,751,775,863,966,1184,1306,1402,1310,1350,1386,1364,1476,1424,1086,835,954,1322,1554,1354,1492,1602,1282,1266,1610,1468,1108,919,764,554,456,479,838,1354,1422,1500,1300,1588,1122,1168,1434,1324,1162,835,461,630,769,712,664,584,556,497,511,484,439,673,1254,1490,1328,1156,1282,1368,1532,1382,1334,1288,811,531,605,916,811,612,678,561,753,1422,1570,1582,1670,1786,1614,1604,1644,1364,1158,1140,1154,1230,1320,1122,804,763,697,538,852,1190,930,841,981,918,908,882,597,559,880,1418,1616,1266,893,1042,1078,1136,1202,1238,1224,1128,1023,977,1070,1530,1498,1232,1122,1038,865,733,913,1378,1444,1288,1400,1316,1128,1038,1224,1528,1382,1028,908,944,684,432,667,916,1066,976,1038,902,786,842,1084,1050,760,520,528,763,850,762,877,777,573,361,336,383,374,341,411,393,346,382,317,321,407,399],[816,678,502,431,456,423,399,348,266,269,323,332,315,314,437,610,727,477,383,404,374,352,386,413,464,456,446,478,502,451,402,317,282,385,402,389,426,463,480,472,433,397,357,339,329,348,381,396,525,401,373,378,393,360,354,415,463,485,477,487,475,514,548,648,694,881,1410,1538,1528,1692,1908,1682,1324,1194,846,683,938,1288,1290,1007,995,993,849,689,857,1015,669,635,1068,1108,1180,1162,1322,1462,995,663,804,1094,1180,1226,852,637,427,359,390,421,434,370,407,445,619,902,787,794,879,870,664,736,902,1372,1306,827,847,644,465,640,537,412,568,717,689,691,929,899,954,887,774,573,907,1306,843,428,430,589,799,651,466,431,386,307,270,272,314,328,323,316,375,341,400,678,1011,1040,875,786,710,747,600,417,738,943,932,984,803,674,1034,1136,727,564,542,625,639,401,398,334,320,417,529,473,365,363,365,356,380,381,407,520,419,369,574,441,441,367,349,426,417,487,538,597,666,742,793,747,813,745,642,539,743,918,717,680,860,970,828,454,421,474,415,568,458,399,353,342,412,438,409,431,626,733,805,857,472,257,255,273,248,248,284,297,268,265,387,454,409,562,796,841,946,1108,1078,1021,730,553,572,1042,1364,1090,1170,1388,1492,1338,1068,1266,918,719,1094,1526,1346,976,893,659,510,537,475,353,471,600,486,800,1044,1112,1110,938,1392,1270,969,620,417,381,738,1158,1072,827,930,822,514,363,412,524,724,1072,1144,1116,1260,1158,1490,1654,1136,679,697,780,580,596,657,453,397,421,555,624,1230,2062,1436,1092,1009,1034,1430,1378,1360,1032,1594,1674,1288,1174,1196,894,626,630,482,675,1100,1108,879,962,775,642,1168,3752,3056,1110,872,991,1302,1598,1608,1650,1376,1224,1001,854,719,919,888,714,900,1650,2118,2246,1748,713,474,436,590,1192,1322,1092,1052,785,660,637,581,457,398,542,519,681,1194,1510,1252,1246,999,938,855,637,851,863,890,1140,1176,1200,1346,1554,1122,723,463,806,969,967,747,457,687,1116,1308,1048,769,789,793,952,908,924,952,826,932,902,937,992,775,712,505,380,564,633,508,618,896,893,615,593,1128,1484,1400,1368,1318,1226,1494,1966,1154,508,429,874,1020,681,432,421,372,355,358,326,324,333,324,340,341,364,359,388,404,413,397,400,389,411,393,347,321,349,420,455,375,336,347,422,670,730,667,832,1020,980,1080,959,845,901,1110,1334,1080,849,975,815,717,987,1072,799,818,1136,1120,772,651,1014,942,815,825,448,359,390,694,735,824,1040,782,967,1570,1148,551,877,1054,971,1104,965,601,497,624,803,860,1076,1202,1088,1164,1080,1158,1348,1224,1084,915,812,1158,1366,1538,1512,1498,1460,1332,1510,1542,1562,1300,1170,1028,931,979,1176,1056,1136,977,1136,1672,1572,1294,1268,1308,1406,1658,1468,1294,1180,1204,1246,1252,903,453,394,479,686,606,680,1204,1504,904,941,1116,767,640,875,907,780,607,568,827,1202,1444,1094,961,948,880,1026,1280,1192,1094,1278,1210,909,763,982,1136,1526,1798,1384,893,849,1438,1742,1248,1096,1098,834,764,1048,1124,827,976,949,718,984,1218,1588,1354,1016,1442,1860,1852,1874,1854,1758,1772,1780,1736,1478,842,845,788,747,1058,1278,1438,1344,1072,991,581,419,404,446,1032,1346,1056,727,824,1023,910,909,1078,1182,1172,1296,1286,1282,1220,1150,987,966,1013,1062,1282,1288,1310,1070,829,777,625,911,984,943,1126,1258,1142,916,948,941,1064,1154,1188,1256,1150,1082,717,868,1220,1186,791,738,646,412,529,1350,1370,1314,1334,713,531,761,870,741,772,929,1396,1610,1638,1050,1208,1464,1376,991,865,660,590,697,491,621,1796,1642,1066,917,1280,1692,1522,920,694,734,764,715,953,1270,1100,928,1256,1378,1370,1412,1166,1110,926,856,916,924,1252,1470,1620,1660,1480,1084,847,827,969,1068,1082,1150,1874,2544,2216,1332,662,735,905,558,467,1100,1222,998,938,874,783,653,504,449,479,1056,1021,661,626,979,1324,906,601,568,695,849,1138,1258,953,680,576,466,487,525,549,789,1110,1001,710,564,532,626,719,935,1266,1026,669,823,1400,1358,1166,1102,857,607,433,511,525,578,566,580,490,552,462,330,414,514,539,561,521,445,451,474,494,492,454,428,345,508,825,775,768,902,761,709,845,691,748,1238,952,650,564,482,354,286,386,579,378,293,352,360,615,989,946,573,599,979,721,1466,2568,2310,1892,1178,1228,936,788,1084,1336,1262,733,392,453,389,368,323,285,360,379,389,404,382,380,297,1238,2154,1526,662,584,634,765,763,605,642,389,330,607,486,352,861,1158,821,524,310,563,1208,815,818,774,1036,1023,765,783,1162,1152,756,671,1200,2092,2710,2106,1372,1128,875,565,363,337,383,696,802,651,530,546,619,421,488,1380,1754,1900,1346,1028,2410,2644,1078,713,648,521,791,1048,761,418,666,813,667,695,628,424,606,982,785,1013,1086,366,248,555,1344,1450,1036,681,524,451,454,557,572,516,478,303,280,484,502,619,1036,1538,1594,1498,1512,1252,1132,957,915,1092,1248,1126,1324,1320,886,787,970,1170,1536,1560,1460,1200,1021,2182,2598,2464,1920,1526,1148,1278,1432,1432,1728,1454,1212,1350,1454,1876,1700,1538,1340,1374,1522,1188,1005,1114,1014,827,672,1196,1434,1346,1106,1526,1326,1198,1090,1080,979,855,810,951,964,816,745,756,871,861,688,470,566,750,799,778,758,731,586,588,673,656,740,1220,1624,1678,1548,1268,1196,1120,738,407,513,1096,1460,1116,606,451,445,515,595,973,1330,1238,1108,1194,1376,1460,847,532,562,506,474,446,440,498,509,441,422,441,442,479,415,393,535,604,1296,1666,1001,693,701,534,437,696,1174,1382,1700,1504,1244,1598,1980,1622,1354,1592,1478,1202,1460,1222,709,1142,1444,1224,695,487,493,554,556,579,674,679,605,563,485,537,670,789,658,551,972,1144,1212,1324,1368,1652,1698,1300,1216,1190,1340,1446,1150,1140,1352,1372,1470,1340,1146,1128,1128,1230,1218,1266,1372,1896,1710,1472,1592,1372,1234,1400,1256,1116,1242,1244,1406,1374,1168,1246,1280,1280,1224,1124,1152,1272,1330,1464,1472,1410,1224,903,1130,1460,1550,1392,1278,1210,1368,1674,1562,1310,1112,997,1100,1274,1288,1180,1192,1414,1526,1462,1360,1428,1534,1416,1246,1184,1172,1150,1100,1328,1604,1658,1486,1422,1462,1384,1120,1019,1250,1368,1306,976,795,1100,1280,1480,1352,1064,990,858,954,1280,1560,1372,786,968,827,822,1216,1306,1158,1214,1380,1598,1716,1548,1108,766,893,631,858,1190,1296,1430,1320,850,866,1058,1005,1140,1082,1000,1150,1462,1426,1260,1176,1362,1412,1246,1120,919,701,843,1194,1002,842,1110,1284,1206,830,656,713,747,918,842,765,997,1162,1116,951,1188,1152,1100,653,344,941,1654,1508,1150,788,704,836,1064,1272,1614,1582,1278,1118,1130,1434,1528,1388,1370,1278,1064,1404,1918,2012,1238,876,1036,1466,1886,1512,843,767,836,623,446,464,618,584,771,682,670,615,396,420,632,832,882,988,1092,1290,1202,1009,821,560,470,818,764,637,832,1000,775,587,824,1252,1692,1866,1824,1848,1670,1238,804,746,960,990,869,991,1092,744,661,998,1032,1040,1074,683,946,1370,1538,1464,1418,1176,1112,1420,1168,1152,927,604,512,507,797,954,1054,1522,1282,913,1190,1392,1026,886,1164,882,1010,1090,1056,611,476,1198,2520,2286,1284,1230,1060,1260,1490,1480,1186,1019,1146,1206,1400,1060,506,397,571,779,764,546,559,873,1023,1120,1164,1084,1118,1476,1444,1258,1140,760,703,965,1296,1252,1130,839,613,710,964,796,766,544,402,686,984,1084,817,696,426,849,1114,1246,1182,786,435,505,831,1012,819,882,1134,1234,1228,875,702,1024,1316,1132,1138,1388,1252,1200,1074,870,1038,1234,1316,1484,1496,1336,1226,1444,1348,1390,1576,1322,1042,1262,1408,1590,1388,1694,1492,1324,1190,1190,1058,1104,1294,1092,815,692,717,1170,1222,1136,1232,1356,1326,872,852,1118,1222,1146,877,734,760,552,680,845,1058,824,640,779,772,729,916,1222,1258,1060,994,1146,1324,1500,1178,1128,1086,896,717,441,423,391,479,522,539,459,572,1320,1686,1964,2128,1872,1660,1490,1158,951,813,985,1084,1021,899,537,948,1208,833,960,1058,824,1074,1336,1224,919,1042,746,572,951,1174,1440,1106,992,1186,1238,1210,1232,1176,963,938,1484,1256,1372,1420,1256,1146,1140,832,511,709,1194,1472,1520,1336,1450,1514,1120,897,1168,1100,1028,1148,785,540,440,423,534,647,943,996,954,670,457,753,904,787,653,671,702,842,848,929,929,668,428,312,380,402,341,260,246,263,309,361,319,330,375,404],[1536,1232,617,486,471,415,401,350,311,327,357,381,338,349,516,477,569,481,464,399,383,344,360,466,460,380,408,401,418,366,315,290,293,334,320,341,400,422,446,440,395,363,336,323,327,371,383,524,457,319,325,448,508,363,312,309,347,386,406,418,381,412,984,1366,786,752,1196,1426,1428,1548,1486,1288,867,875,616,426,644,1212,1230,989,1020,908,680,587,767,975,1202,1554,1400,826,788,741,1284,1676,1124,555,628,1007,1252,1344,1284,1066,1090,876,672,493,484,457,504,457,590,983,1052,988,828,996,761,706,985,1266,919,484,377,429,600,897,837,937,1134,1090,968,1054,1140,980,836,968,948,568,435,656,797,486,391,542,918,891,634,589,547,395,407,417,378,343,337,310,452,505,735,798,1464,1318,1034,1250,805,688,643,416,882,730,611,1021,963,678,910,928,945,999,711,522,514,469,395,299,303,445,529,469,355,342,375,368,344,379,360,292,279,417,545,457,421,385,409,462,470,520,568,557,505,580,591,484,412,376,403,410,464,492,615,816,850,865,752,448,382,402,343,443,484,445,447,486,547,497,442,430,513,540,728,654,350,233,241,248,246,237,289,465,557,529,492,496,789,1014,1016,1056,1134,1416,1338,1092,1120,1060,1126,1452,1108,1210,1322,1354,1606,1228,1272,1200,1144,1446,1502,1388,861,589,781,1078,1088,884,620,550,742,1038,789,800,908,990,950,760,1300,1172,821,415,323,411,432,674,1216,1160,947,1152,984,556,447,448,627,698,574,837,940,1048,1028,969,897,623,657,905,683,974,1460,963,666,613,800,1326,1548,1232,1224,1344,982,719,1074,980,1090,952,1854,1852,1556,1188,1128,1009,667,590,603,748,872,737,708,835,713,755,968,1672,1260,776,723,832,1166,1352,1514,1560,1212,1528,1496,1380,1136,1180,963,538,579,892,1502,2036,1224,493,378,448,489,637,849,703,684,543,463,610,832,747,745,918,1092,1230,1536,1466,1106,1166,1100,1046,736,516,721,837,990,1198,1007,1120,1352,1476,1360,951,756,1210,1354,1040,776,588,508,694,1034,1106,925,1038,1118,875,491,694,788,777,796,653,963,1222,1196,780,460,354,539,708,601,448,706,855,616,624,732,1288,1344,1005,949,813,1404,1422,848,481,567,830,933,705,354,313,288,312,340,306,325,356,368,354,348,352,368,358,354,346,328,372,360,373,377,354,346,406,510,504,437,401,342,413,846,1020,558,609,957,922,973,1110,1248,1172,1210,1382,1250,1106,948,850,937,1232,975,810,901,665,502,532,656,783,748,486,487,342,304,408,1040,1180,908,702,586,903,1528,1722,1184,1202,1362,980,982,952,568,379,457,465,557,880,970,814,1124,1186,1092,1230,1222,1152,1170,1142,1252,1328,1306,1150,1208,1086,945,1320,1402,1544,1312,1172,792,522,773,1058,1148,1268,1020,882,1174,1302,1212,1174,1284,1484,1388,971,874,974,1220,1428,1350,988,719,802,532,471,385,662,1506,1600,980,1442,1550,1154,1206,1144,932,676,572,843,987,1036,1005,1005,1332,1246,1120,1316,1510,1352,1304,1238,1162,874,1062,1172,1164,1236,1526,1416,845,990,1976,2016,1590,1222,1138,902,846,885,717,666,1070,990,670,944,1238,1626,1910,1826,1658,1738,1704,1618,1598,1708,1910,2050,1976,1462,813,949,1136,1064,1248,1252,1554,1436,1368,1422,799,441,454,577,838,802,618,589,630,625,763,929,1118,1242,1322,1412,1434,1372,1294,941,502,525,960,1136,1350,1370,997,747,725,740,622,771,922,894,1202,1248,1312,1250,1182,924,1004,1038,698,941,1216,816,470,452,789,1384,1042,582,421,464,770,2094,2256,1426,678,512,688,911,952,498,600,1024,1332,1448,1274,1004,952,1122,915,767,1088,946,1210,1510,978,829,2344,2514,1622,1418,1488,1404,1502,1166,585,927,1044,739,885,1648,1434,1526,1416,1340,1444,1160,1182,1676,1320,634,730,1158,1480,1262,1246,1126,988,1096,868,571,728,1044,965,991,1664,2186,1968,1258,676,645,573,410,522,666,623,728,809,666,538,469,472,587,566,1086,794,482,786,1354,1334,992,701,529,591,650,742,643,636,750,716,654,551,487,428,462,577,732,877,878,603,443,759,1120,1236,973,838,924,1052,905,708,541,823,858,449,435,488,543,549,603,580,566,521,511,534,548,481,465,568,556,512,466,472,495,499,487,399,314,386,589,850,934,1108,929,734,635,1086,1630,1664,964,458,464,314,346,525,722,704,669,507,611,916,1176,811,413,822,1048,778,830,1388,2062,2478,2282,1958,1212,974,1104,979,799,592,522,353,416,502,420,285,349,420,381,336,359,330,454,1436,2006,1178,675,1112,1222,1006,717,757,730,417,415,494,352,412,892,1152,838,524,341,504,1270,984,527,393,531,862,996,1100,1100,1162,1158,1028,1232,1728,2502,2888,1794,909,968,815,563,339,456,735,783,929,742,469,473,352,646,1534,1940,1826,1476,875,692,596,532,503,403,446,1064,947,512,456,792,822,845,911,860,721,968,1008,973,1144,849,341,484,1002,1500,1388,879,444,492,488,498,550,590,644,505,356,360,314,232,469,1120,1676,1664,1672,1716,1302,1188,732,771,1152,1404,1338,1286,1324,1074,1013,1172,1030,1288,1218,1294,1300,1230,1966,2522,2364,1786,1540,1136,1072,1516,1504,1430,1290,1122,1266,1686,2070,1810,1448,1410,1474,1376,946,930,906,774,894,944,2066,2214,1366,926,1584,1616,1124,771,748,753,777,516,616,731,622,632,812,959,980,864,597,523,629,728,794,818,805,719,681,603,756,992,1666,1732,1624,1510,1318,1064,731,617,496,623,1146,1544,1466,839,470,511,570,647,879,1126,1312,1372,1940,1998,1396,634,460,495,442,402,382,399,434,448,460,444,423,403,509,512,644,794,619,991,1400,1200,825,645,518,500,818,1290,1538,1590,1462,2054,2370,1760,1492,1604,1664,1606,1434,1520,802,803,1292,1356,1458,915,442,465,529,474,396,381,365,443,468,511,624,1007,1472,943,532,879,1216,1234,1240,1396,1638,1838,1646,1478,1366,1404,1388,1210,1152,1146,1322,1608,1538,1276,1023,1184,1278,1186,1378,1704,1892,1614,1502,1556,1288,1256,1336,1086,1064,1150,1182,1390,1530,1136,969,1282,1434,1230,936,919,1204,1272,1440,1534,1556,1192,954,1122,1222,1262,1110,1064,1124,1336,1386,1236,1268,1266,1180,1202,1244,1322,1310,1454,1356,1496,1458,1130,1108,1252,1356,1390,1170,1164,1148,1090,1244,1276,1248,1288,1306,1186,1017,891,1040,1108,930,1046,1104,1017,1098,1230,1370,1200,1060,1164,1234,1318,1202,1482,1438,1294,1412,1152,1322,1554,1288,1064,1090,1110,1398,1758,1556,988,1001,1262,1166,1114,1266,1228,1208,1264,1094,1072,1282,1062,1068,919,871,700,1122,1228,1272,1252,1306,1290,1218,1072,760,855,945,810,980,1090,1050,765,553,549,687,827,946,996,872,997,807,959,1140,1412,1640,1292,1116,841,452,668,1030,1146,962,712,924,1216,1594,1452,1534,1632,1626,1642,1658,1562,1432,1360,1434,1344,1356,1174,1186,1612,1446,1366,1756,1682,1394,1144,1088,1324,1106,728,488,415,356,371,556,821,885,661,415,331,479,743,961,1050,922,915,714,1048,1202,682,408,748,1006,907,772,740,657,683,730,691,1030,1394,1668,1618,1190,977,947,1146,1238,927,879,1140,1348,1434,1192,1534,1284,1312,1340,1016,989,1366,1476,1412,1380,1170,934,1005,1290,1470,1102,1152,911,706,961,957,940,1328,1112,778,1015,1438,1142,729,724,570,951,1316,1340,913,846,1872,2656,1642,929,1232,1064,1498,1154,1138,1318,1158,850,882,790,418,437,547,600,824,1046,781,470,614,940,1100,1106,1264,1322,1482,1384,1312,1080,569,423,559,912,1126,1032,763,626,700,877,857,871,587,314,393,502,744,706,764,785,1054,1366,1560,1530,1288,799,688,1152,1138,766,1102,1084,1018,897,772,831,1118,1174,755,827,1154,1194,1432,1318,994,1218,1178,1236,1416,1582,1596,1390,1426,1474,1546,1650,1596,1372,1536,1510,1422,1548,1280,1194,1094,1198,1378,907,1076,1670,1416,1114,879,771,1158,1592,1376,1362,1688,1420,883,705,1100,1060,1028,1100,1190,1162,907,828,1402,1472,1032,1192,1304,1144,1152,1194,891,1100,1158,1296,1290,1208,1288,1248,1162,1003,1180,1222,602,397,373,398,448,584,509,497,1076,1334,1358,1684,1814,1702,1416,1304,970,774,1021,1126,1198,1090,626,900,1176,919,1112,1372,1126,954,1216,1334,763,832,646,515,509,883,1110,714,706,918,1062,890,974,1182,1108,1186,1898,2654,2226,1314,1092,1064,1258,781,502,611,1064,1266,1308,1216,1294,1522,1388,1150,1140,1058,1166,1182,847,478,549,716,670,865,946,929,698,424,461,465,468,536,581,804,741,653,517,492,461,443,367,307,322,336,290,244,208,246,310,337,304,310,307,313],[1222,979,630,549,416,360,360,308,303,295,357,383,345,327,477,379,300,262,263,336,377,317,396,497,354,274,369,333,351,329,304,309,314,320,322,348,380,406,433,425,368,349,372,336,314,362,597,662,440,338,346,464,462,331,295,320,335,342,371,415,471,574,1952,2386,1188,1300,1344,1396,1360,1132,684,498,687,1164,889,625,789,1014,849,572,753,760,491,492,605,814,1434,2084,1656,996,770,847,1112,1260,954,737,497,655,1158,1312,1440,1284,1208,999,669,472,628,767,838,566,697,655,450,544,854,1142,913,750,884,839,642,602,465,437,558,767,930,982,1140,1104,684,464,728,995,959,757,542,500,393,531,502,359,365,490,886,1146,829,581,755,776,810,684,537,387,328,454,626,712,911,875,1104,1152,1032,672,502,553,650,548,1268,1026,664,1088,987,619,782,993,944,801,577,546,492,426,401,371,328,314,333,338,327,335,361,382,349,362,348,442,357,360,426,506,465,366,347,353,503,664,608,550,414,493,516,401,318,339,345,304,394,665,1026,1194,1062,1074,729,514,432,393,367,483,526,491,561,656,572,425,390,390,486,438,408,394,275,240,266,277,257,241,314,489,524,493,308,442,1019,1654,1480,1104,1204,1592,1570,1438,1776,1472,1160,1128,1011,969,989,1328,1446,1524,1476,1100,1202,1674,1406,1146,779,597,702,1268,1472,1440,1512,1216,1142,1316,1100,694,539,695,700,670,1100,1426,938,477,340,363,412,544,627,617,924,1150,914,783,691,565,711,592,523,556,639,784,749,825,709,516,500,485,401,866,1628,1542,1198,946,1142,1666,1584,996,1001,1180,1180,869,811,690,881,1118,1346,1336,1212,1112,1306,1192,720,680,713,938,1134,1006,656,505,601,910,1272,1656,1670,1194,852,567,989,1826,1772,1172,854,1013,1262,1358,1378,1426,928,505,620,592,767,1082,832,439,336,417,401,508,489,470,583,506,441,529,826,940,963,812,1178,1178,1108,1134,1172,1160,1084,1028,731,548,719,799,918,1176,1098,1174,1178,1256,1216,954,887,943,866,880,940,657,657,828,958,986,991,1005,1092,747,358,435,677,1001,1158,850,966,1094,1116,936,702,541,830,972,775,491,469,606,728,672,503,847,1266,1076,1272,983,1017,1110,705,463,529,509,540,492,257,257,260,288,342,353,361,363,315,333,387,391,367,380,350,350,344,348,367,374,374,390,401,445,485,457,434,420,375,388,491,568,700,885,944,1200,1288,1100,1236,1164,1094,1164,1354,1112,770,944,1108,993,591,498,578,499,385,515,770,959,1030,709,453,331,362,535,1172,1126,601,473,476,665,1452,1970,1420,1182,1094,909,1084,1218,802,435,446,461,533,786,1246,1094,1140,1310,1342,1334,1268,1192,933,653,565,841,1332,1450,1526,1090,723,1084,1418,1390,1456,1436,1080,711,881,1110,1272,1316,1088,998,1176,1356,1330,1036,1086,942,641,666,747,913,1198,1268,1114,1098,826,623,613,587,529,562,571,750,1086,1368,1234,1044,1180,1110,733,642,611,848,877,1078,1276,1328,1290,1240,1202,1332,1306,1444,1352,1028,1146,1128,1410,1240,1098,1304,1208,984,1106,1384,1418,1318,1604,1028,916,748,797,830,698,686,932,943,778,933,1300,1658,1878,1384,960,1096,1506,1794,1970,1846,1832,1884,1760,1388,786,1078,1256,1230,1194,1212,1454,1524,1430,1362,1108,824,661,587,592,607,645,507,456,489,828,1066,1212,1232,1298,1370,1222,1194,1242,1060,688,440,673,858,993,1086,789,653,806,960,987,1142,946,647,839,727,1038,1128,1068,960,838,715,482,553,708,716,647,544,703,1396,1562,1040,497,528,927,1176,1000,595,532,774,471,511,777,575,608,486,664,1080,1142,836,625,652,653,708,760,876,1190,1810,1396,1224,2060,2302,1772,1450,1074,1210,1536,1100,740,1498,1162,1108,1730,1770,1302,1494,1120,1100,1380,1212,1200,1698,1290,723,924,1356,1472,1378,1400,1104,1004,1296,1066,445,670,1074,1072,938,1432,1332,984,563,462,602,496,379,353,289,372,522,565,499,531,601,702,925,820,1023,1158,1094,1332,1246,842,786,604,550,606,623,595,615,645,756,785,724,587,422,368,505,651,851,1284,1021,443,743,1604,2230,1858,1376,1126,956,936,755,541,619,789,870,766,453,421,494,534,571,584,563,563,586,550,466,283,285,495,547,526,533,472,465,503,491,484,418,292,297,484,803,843,1064,758,800,1308,1924,2050,1306,612,824,522,397,613,647,1192,1326,788,477,525,522,437,978,1640,1416,1104,1074,944,1194,2698,2612,1304,613,651,641,597,601,531,433,384,429,407,377,273,318,422,382,358,391,370,609,1146,1128,733,1162,1606,1690,1234,817,680,436,285,290,278,296,495,841,698,463,428,427,434,848,997,911,615,371,393,608,922,1096,1072,1114,1414,1352,1202,1280,1748,1464,1150,1108,769,756,786,587,482,854,1016,689,349,302,457,832,1432,1802,1784,1512,828,724,686,603,501,368,529,1036,790,447,662,926,809,1017,1336,1278,915,1122,733,797,870,753,476,513,960,875,645,587,491,584,534,513,524,606,614,480,461,481,352,248,400,998,1644,1616,1320,1488,1344,1226,740,849,1132,1344,1438,1386,1284,1120,1186,1488,951,970,923,925,973,1076,1300,1216,1100,1402,1620,1354,1382,1510,1260,1694,1544,1066,985,1184,1244,1009,932,1100,1440,1436,884,1274,1258,1134,917,1344,2094,2022,1242,1034,1530,1510,981,952,1023,783,759,472,534,689,625,538,632,799,891,917,765,590,642,839,941,875,789,771,709,775,951,1486,1722,1618,1638,1542,1504,1322,1068,973,886,937,1268,1646,1718,1318,871,575,528,647,791,893,1062,1090,1508,1476,864,543,458,474,446,389,382,410,454,482,494,490,451,422,456,708,1166,1230,846,634,758,825,724,537,483,687,1048,1278,1062,933,1016,1658,1600,865,1172,1888,1744,1598,1550,1242,722,983,991,1250,2068,1378,594,578,492,388,346,467,386,379,490,740,874,874,1072,1086,821,790,910,988,1182,1594,1588,1818,1656,1550,1392,1252,1298,1274,1158,1130,1306,1408,1240,1250,1236,1270,1216,1142,1072,1260,1268,1444,1992,1528,1494,1288,1214,1122,1166,1318,1354,1528,1644,1526,1312,1368,1404,1058,697,789,1114,1238,1366,1502,1412,1018,872,900,1002,940,1076,1262,985,1076,1302,1244,1246,1388,1206,1194,1212,1264,1364,1454,1216,1070,1144,1164,1362,1322,1268,1232,1182,1190,838,822,839,904,1196,1394,1174,722,869,1006,1242,1210,981,1124,1272,1110,1013,974,1120,1182,1190,1212,1324,1308,1082,1638,1506,1632,1514,1346,1504,1516,1322,1216,1072,1038,1404,1710,1646,1396,1142,1118,1172,1100,1192,1246,1224,1262,1264,1052,1056,1216,1074,1028,913,841,1198,1284,1068,1238,1446,1384,1346,1356,1126,1230,1360,1178,1078,852,792,630,634,721,715,930,1040,1015,688,1146,935,1188,1548,1632,1466,1094,1118,1266,877,601,982,1078,659,781,1128,1222,1206,1324,1188,862,842,1216,1522,1614,1454,1542,1496,1272,1362,1122,1262,1560,1612,1588,1208,815,734,805,822,879,1082,1060,922,722,537,423,480,708,812,713,565,551,598,914,1054,986,753,585,627,841,1136,973,709,1008,1218,1110,1042,1092,949,844,632,604,543,673,898,988,1002,1106,1388,1496,1238,828,514,736,977,1232,1460,1534,1144,1130,1246,1214,1050,814,1072,1266,1238,1412,1230,877,1354,1282,1066,1180,1142,888,999,1058,750,953,860,766,1208,1188,748,549,665,675,1013,1322,1200,1070,1098,1362,1454,1146,1378,1360,894,1286,1001,679,919,1286,1136,681,454,516,601,550,496,700,1250,1164,601,422,655,973,1076,1226,1490,1448,1266,1218,746,466,446,588,679,633,917,1142,949,941,1007,932,741,403,350,430,327,599,1020,1188,1466,1272,1240,1570,1602,1616,1550,1498,1328,1278,1382,1414,1186,1134,1232,1070,910,1048,1226,1038,1152,1274,1274,1414,1216,1110,1192,934,952,1088,1290,1376,1398,1512,1452,1284,1344,1508,1566,1460,1294,1290,1524,1444,1436,1482,1546,1482,1360,1678,1604,1826,1556,819,716,992,1056,948,1354,1688,1456,1272,1032,1216,1066,1294,1478,1278,1176,1007,1015,1332,1158,965,1256,1536,1434,1194,1040,995,1192,1330,1368,1326,1224,1344,1592,1464,1272,1342,977,520,379,464,500,472,401,482,881,1246,1040,1202,1532,1724,1604,1452,1404,1112,989,1112,1098,1040,846,558,394,433,609,1066,1384,1318,1084,1182,1278,827,638,794,838,885,1276,1078,451,426,529,620,502,725,1214,1324,1386,2240,2742,2084,1530,1144,1212,1400,751,779,683,827,1072,1176,1148,1302,1484,1542,1450,1328,1556,1554,879,1050,1009,1342,1368,932,900,956,982,673,387,579,625,459,444,621,650,564,441,483,564,544,474,371,326,285,312,264,229,242,246,438,482,367,365,365,370],[943,744,587,452,369,346,328,286,281,294,352,353,319,324,357,345,337,350,323,315,422,512,477,565,935,996,680,547,455,376,365,362,378,383,365,373,387,418,444,435,355,529,544,372,337,466,658,573,524,416,367,366,360,331,322,388,406,354,355,397,461,775,1462,1524,1376,1622,1450,1138,880,560,423,456,850,1136,831,778,938,1118,669,415,512,453,415,493,562,879,1240,1294,1278,1310,1238,1040,774,971,847,792,473,520,988,1224,1342,1358,1060,853,646,480,783,1266,1248,991,1006,640,434,845,1328,1554,1206,642,628,815,659,699,896,1028,915,672,677,714,937,801,375,413,809,1280,1094,891,926,511,466,545,521,530,499,395,653,1262,1092,689,1400,1814,1286,707,476,328,297,578,959,1256,1110,467,414,745,1058,742,438,406,848,1060,1208,1040,650,538,479,584,1022,1152,819,714,446,475,574,494,393,410,399,341,323,304,318,341,357,366,346,399,417,433,367,352,448,586,492,366,404,325,412,567,521,474,372,379,484,487,401,398,374,337,396,731,1054,1198,966,1120,780,444,407,384,370,385,425,509,673,615,594,500,377,344,362,306,297,302,349,367,257,260,251,253,262,307,321,413,352,356,652,1112,1324,1324,1132,1294,1714,1638,1670,1214,1338,1310,1270,888,823,1212,1456,1562,1572,1594,1544,1442,1360,1250,943,662,1000,1350,1334,1394,1548,1448,1266,1310,1534,1328,943,1180,1298,1082,1080,1226,1310,1004,565,455,617,919,727,519,830,865,742,735,734,826,903,707,574,603,774,779,648,673,651,551,455,460,475,1100,1704,1588,1208,1042,1154,879,696,532,438,602,758,960,1002,740,839,1422,1572,1350,1244,1172,1074,1012,816,822,628,861,1092,919,902,987,763,642,726,1128,1428,1220,909,612,656,955,902,792,1136,1000,656,792,1160,1464,922,719,594,458,495,552,566,424,390,447,382,416,484,591,1056,985,610,738,938,974,867,723,741,961,1448,1436,1106,872,581,536,476,459,583,662,694,977,1354,1240,905,974,1102,1112,1110,747,515,724,927,619,824,1048,1016,1002,1072,1258,1220,825,582,404,735,1020,1112,701,538,828,785,886,786,605,763,764,665,555,450,368,730,719,496,499,1074,1498,1560,952,864,949,553,477,412,405,486,419,259,282,289,269,344,420,419,401,391,399,399,392,356,381,364,352,344,352,367,383,383,382,412,380,390,437,478,437,378,401,383,528,809,1126,1034,971,1078,794,924,1040,1001,959,1128,727,641,764,730,547,432,345,351,424,459,559,780,1006,1282,1021,600,445,341,559,1090,1110,643,725,750,457,545,1072,1302,1134,1120,1242,1130,1014,733,699,767,896,1052,1160,1310,1240,1206,1094,1118,1010,844,901,750,518,489,783,1932,2294,2016,1754,1256,1250,1254,1388,1464,1344,1078,937,1114,1130,1132,1206,1296,1316,1382,1416,1346,1150,1210,1200,823,811,974,1250,1438,1292,1298,1138,944,873,889,726,901,850,456,789,1194,1194,1106,1064,1092,766,1050,1198,1003,1002,951,973,1108,999,1058,1328,1294,1144,824,1246,1284,1013,1160,1252,1356,1148,1216,1456,1038,700,796,1056,1206,880,744,869,769,514,818,909,822,920,785,846,954,893,1260,1554,1300,727,711,1054,1706,2154,2166,1798,1614,1640,1266,764,564,993,1172,1330,1140,1248,1376,1354,1382,1462,1282,1192,921,711,630,586,617,515,515,582,816,1156,1262,1204,1184,1004,730,1070,1072,712,492,404,436,841,978,912,883,692,836,1454,1464,1302,860,628,706,1312,1608,1150,1204,1140,709,441,361,373,662,941,971,659,465,866,1662,1444,744,788,966,790,976,970,1420,1318,626,568,607,657,685,579,719,1160,1160,903,935,977,1048,954,963,1030,951,993,921,1334,1642,1606,1926,1710,1288,1198,1036,629,803,1424,1154,1790,3276,2564,1466,1362,1110,1066,1114,1128,849,984,803,840,873,1298,1522,1544,1536,1332,1132,1240,1048,398,572,937,1120,1106,1138,667,736,730,557,438,331,315,298,309,401,382,358,340,382,558,686,796,935,1262,1464,1438,1042,741,641,647,602,637,601,564,603,797,800,666,700,762,769,780,752,932,956,1246,1382,803,850,1564,2380,2820,2556,2030,1376,796,729,900,801,625,533,683,907,587,331,413,461,508,556,519,514,489,516,497,326,303,487,469,423,409,304,406,502,468,477,412,256,273,315,396,434,627,737,825,1068,1530,1752,1332,918,755,893,487,268,612,1310,1512,991,400,287,305,613,1460,1792,1234,885,1024,766,834,1812,1676,690,304,353,408,590,1180,1268,761,475,415,388,332,268,241,330,383,373,348,343,787,1148,810,836,1558,1700,1608,1264,993,677,318,252,229,305,408,621,662,633,551,382,556,742,722,738,957,1036,830,486,502,506,692,1008,1136,1158,1432,1610,1292,1078,893,840,978,970,762,742,885,694,774,630,426,303,353,543,904,1750,2254,2208,1536,943,774,568,873,921,724,924,963,976,1162,1162,1130,1134,1396,1542,1334,1082,976,626,633,728,812,771,666,738,792,772,788,591,383,301,379,385,364,402,375,365,467,355,285,371,1034,1638,1388,680,904,1194,1096,784,732,1070,1334,1202,922,589,467,662,1254,813,601,639,897,1050,1180,1278,1015,733,1050,1224,1302,932,442,454,913,816,852,1054,1300,1192,844,952,1284,1778,1592,1046,1528,1654,1402,878,1172,1190,1040,939,1034,1396,1408,1094,1146,932,697,568,503,465,548,547,454,440,466,592,782,830,741,742,1007,1040,872,886,779,694,966,1434,1686,1522,1558,1666,1576,1420,1226,1308,1166,1194,1152,1282,1606,1632,1660,1572,1136,644,520,715,866,857,736,722,664,656,626,504,483,423,408,432,490,536,547,566,553,493,450,531,1276,2094,1998,1534,1154,1018,810,504,436,417,695,1104,1278,1080,1192,1312,1192,799,523,1396,1984,1546,1346,1342,897,967,1330,1194,1042,992,711,827,818,601,553,403,413,377,512,750,939,1068,932,832,909,905,896,910,1104,1140,1414,1348,1670,1664,1396,1156,1232,1384,1168,1078,1076,1368,1284,1278,1394,1356,1346,1388,1232,1058,1130,1384,2566,2972,1632,1444,1250,1178,1246,1758,1738,1458,1448,1522,1640,1440,1214,1100,942,976,782,894,1104,1246,1356,1126,962,766,858,1192,1021,1170,1490,1322,1332,1408,1320,1210,1270,1226,1196,1120,1140,1250,1296,1148,984,971,1182,1284,1154,1074,1254,1498,1362,980,934,1060,1182,1200,1180,872,872,1180,1488,1356,1050,655,841,951,969,1196,1290,1108,780,1056,1198,1266,1248,1348,1716,1384,1312,1364,1256,1298,1188,1220,1260,891,1024,1390,1760,1700,1736,1386,999,807,885,1236,1238,1212,1130,1132,1406,1550,1422,1232,1240,1174,1102,1322,1304,984,926,1256,1396,1320,1754,1448,1312,1556,1232,872,1070,1166,967,1016,1028,931,963,997,869,913,1272,905,1222,1788,1472,920,677,891,1142,1124,852,1058,802,680,980,1120,974,943,991,771,389,322,307,488,1026,1466,1642,1420,1236,1272,1218,1456,1444,1302,999,619,547,921,979,769,1088,1680,1972,1788,1398,904,545,559,799,910,847,686,756,714,816,1015,743,543,545,749,1048,1372,1302,903,1134,1038,977,1152,1550,1338,885,910,847,615,467,424,747,1224,1182,1368,1360,1196,711,495,457,599,995,1580,1584,1240,1104,879,1092,981,786,996,1194,1328,1384,1334,1378,1366,1000,1086,1440,1412,995,970,979,869,774,557,1015,1514,1268,668,628,989,1032,1278,1346,1278,1502,1252,1260,1190,1234,1272,1152,1100,1178,1196,976,981,1222,1384,1282,720,640,604,592,589,832,1238,891,484,428,489,792,1034,1020,925,809,1092,979,679,621,955,1032,767,553,649,904,1172,1132,822,787,571,414,406,531,682,1178,1356,1456,1544,1222,1196,1554,1632,1446,1446,1624,1388,1456,1562,1520,1340,1350,1468,1300,1186,1192,1350,1070,780,1136,1178,1284,1418,1394,1152,1054,1012,1284,1390,1100,1088,1194,1066,1128,1182,1244,1534,1624,1412,1432,1696,1628,1780,1916,1924,1618,1302,1620,1846,2070,1434,955,883,1018,1048,988,1240,1324,1090,1300,1450,1250,1476,1500,1154,1182,1440,1374,1228,1038,680,874,1242,1534,1474,1007,920,1040,1320,1440,1304,1220,1118,1346,1534,1240,1344,991,627,485,431,786,1130,749,521,914,1296,1490,1390,1538,1598,1508,1372,1324,1404,1424,1136,779,636,795,960,906,491,433,611,1004,1322,1512,1428,1368,1400,1140,906,1218,1420,1326,1274,1034,912,588,447,385,360,524,1100,1292,1310,1580,1524,1466,1250,1102,1294,1130,998,1274,1354,1222,1108,1172,1338,1324,1368,1362,1328,1434,1412,1218,807,1019,1164,976,830,744,782,900,753,485,400,464,475,463,385,461,456,551,585,539,446,422,430,379,351,310,287,342,432,348,298,560,546,573,681,589,509],[401,448,415,315,322,336,316,301,261,273,332,350,318,351,374,401,484,473,339,355,461,517,469,934,1850,2266,1946,1332,976,988,834,528,475,495,451,433,436,434,486,548,516,758,666,379,348,506,539,412,442,406,394,384,369,343,298,372,425,379,415,442,528,954,1364,1332,1488,1350,1030,577,430,557,616,480,713,952,760,1050,1318,1114,594,461,554,515,420,397,593,912,989,849,796,1292,1340,1034,944,1074,921,719,735,634,555,879,1182,1282,1072,965,706,755,839,1168,1046,975,1106,966,814,879,946,966,809,688,657,778,1130,1278,1524,1346,916,581,598,1054,1382,929,464,742,1174,1370,1130,1486,1758,1306,930,713,874,890,563,517,482,968,1152,1042,1488,1948,1382,633,545,527,374,604,1362,2008,1324,539,651,966,1154,884,442,354,832,1048,980,979,641,488,475,822,1046,1080,1444,1466,791,469,653,601,378,334,382,376,348,316,321,330,356,381,359,594,668,436,349,377,476,673,529,401,379,391,381,412,430,375,344,488,582,487,437,405,423,478,479,763,991,944,735,1056,811,391,418,397,367,376,407,437,430,416,551,422,346,317,296,289,329,401,451,414,236,231,231,232,254,248,470,619,465,278,347,505,774,948,986,1240,2006,1488,915,929,1292,1414,1350,1118,996,1128,1490,1612,1738,1792,1740,1334,1448,1366,1090,822,896,1078,1416,1582,1472,1094,1324,1452,1370,1206,1124,1452,1722,1842,1534,1294,1500,1052,511,561,607,860,869,789,1070,1068,968,754,559,777,1003,950,630,702,912,813,754,709,661,568,502,484,697,1446,1884,1754,1140,680,806,601,538,627,441,392,439,478,807,871,901,1432,1272,1244,1412,1404,1056,631,664,763,558,552,568,472,844,1448,1378,935,530,654,929,930,886,738,828,1050,768,781,1204,995,572,630,711,796,592,605,506,383,423,541,579,495,506,531,425,490,839,1028,1712,1250,629,901,1170,1312,1236,961,650,921,1246,1280,1162,733,523,504,495,456,455,469,679,1136,1292,1090,880,828,960,833,574,508,487,639,582,680,1048,1003,938,1066,1094,1350,1370,1046,863,581,832,1182,1020,706,524,511,553,772,691,561,763,841,722,592,626,568,574,505,457,424,720,1240,1276,997,1110,958,460,412,427,462,468,370,278,290,306,306,361,434,470,454,436,459,394,326,280,347,371,368,405,438,453,481,437,424,478,451,459,383,382,292,348,513,545,592,921,971,739,655,495,545,724,907,890,659,482,469,538,497,402,365,413,412,444,459,404,427,535,841,1172,1080,998,899,680,795,1122,1186,694,681,904,532,554,1126,1368,987,888,1082,1072,1144,1186,1240,1258,1140,1060,805,681,756,835,658,600,625,525,820,879,705,822,968,1876,2624,2622,2006,1472,1354,1582,1682,1398,1106,674,825,1180,1400,1152,1024,1116,1312,1420,1430,1222,807,741,998,717,933,1212,1354,1134,1048,1058,1094,1154,1086,818,543,832,1092,824,813,941,1146,1250,1244,765,612,1326,1888,1782,1354,1144,1186,1178,845,910,1116,1050,812,872,1210,1364,1308,1320,1296,1268,1240,1448,1488,1218,1007,904,1256,1442,869,741,705,628,724,1036,1260,1176,1090,957,934,793,905,1154,1502,1086,531,562,949,1462,1642,1430,1152,1034,1072,912,626,524,1206,1572,1408,1146,1116,1192,1204,1224,1414,1254,1134,890,686,568,852,1650,1538,973,1114,949,967,1146,1188,1202,1288,905,901,712,449,449,461,396,693,821,781,1005,906,1128,1712,1282,940,918,847,610,1268,1328,1204,1426,1108,644,408,420,720,1094,1194,962,460,341,1038,1870,2006,1590,1004,758,901,1272,1192,1330,847,596,899,1042,1044,968,648,689,904,852,603,801,1100,954,1318,1420,1298,1052,888,849,900,1015,1222,1424,1146,1360,1284,1054,791,1252,1182,761,1156,2410,2318,1416,1194,1322,1174,1028,890,664,651,908,930,812,1284,1362,1252,1220,1014,951,1010,846,425,755,1096,899,625,598,667,924,846,439,411,373,341,345,372,339,284,269,302,300,430,621,601,492,595,750,850,649,659,813,675,640,621,598,589,649,822,778,623,758,937,1013,930,750,827,849,1334,1108,668,896,1714,2728,2898,2710,2302,1440,799,659,635,647,460,343,385,766,864,474,301,303,319,392,412,477,487,511,514,479,479,559,521,478,503,428,430,514,520,493,464,388,354,326,276,280,416,744,993,1180,1009,896,522,411,427,683,413,705,1578,1574,1578,1512,643,360,578,913,1352,1180,921,803,896,888,764,822,904,354,323,833,1220,701,1350,1740,1206,746,636,504,463,495,711,736,455,363,311,317,917,1218,774,1128,1648,1666,1536,1252,1062,493,272,299,366,344,458,604,555,782,736,385,365,577,852,680,502,811,1007,621,570,481,623,991,1164,932,700,1016,1512,1400,938,658,614,827,921,813,685,750,872,805,557,383,470,471,543,1382,1758,1896,1230,896,727,587,767,692,767,1054,1240,1652,1694,1556,1492,1714,1632,1364,1058,919,889,949,963,836,763,888,883,814,828,1064,1324,1190,687,298,333,310,343,410,375,478,622,424,324,363,866,1554,1562,922,1010,1318,1166,915,619,979,1122,716,675,873,1172,1478,1440,818,586,959,1326,1344,1326,1212,697,557,990,840,1312,1066,481,303,319,869,1682,1834,1672,1506,1310,1530,1548,1896,1442,735,1108,1298,1142,921,1100,1138,742,568,512,1004,1394,1230,1180,596,398,413,490,465,456,454,485,588,481,402,554,771,835,824,962,884,806,794,749,804,863,1226,1544,1506,1668,1700,1550,1334,1108,1246,1066,1054,1078,1238,1626,1458,1376,1502,1522,1274,941,736,675,725,616,459,529,693,680,529,462,448,479,486,547,580,578,601,546,457,409,701,1636,2230,2282,2176,1832,1688,1322,669,444,417,460,981,1302,1108,1270,1322,1015,1058,1150,1870,1676,1700,1360,1158,1230,1214,1174,985,780,751,733,808,861,614,447,403,424,436,511,621,733,769,733,797,862,921,976,935,791,931,1122,1178,1620,1784,1446,1110,1062,1108,1240,1280,1206,1248,1290,1484,1444,1250,1302,1356,1298,1124,1170,1532,2074,1484,1350,1260,1354,1416,1306,1460,1440,1334,1116,1334,1548,1276,1246,1330,1190,1292,1036,1098,1372,1610,1520,1316,1068,761,883,1092,999,1076,1240,1422,1520,1394,1140,1130,1158,1176,1224,1204,1282,1124,1292,1382,1288,1142,1144,1256,1206,1252,1432,1460,1344,1174,1218,1272,1102,869,814,693,994,1282,1470,1158,772,723,642,685,962,1346,1218,1060,648,988,1238,1240,1328,1162,1212,1376,1272,1114,1122,1342,1102,1166,1308,1080,1132,1198,1528,1698,1860,1776,1322,1038,1090,1222,1410,1256,1072,1212,1282,1408,1550,1432,1244,1194,1318,1272,1098,979,977,1238,1124,959,1392,1348,1144,1036,966,1124,1036,1106,955,947,905,1102,1120,1084,797,947,1084,965,1214,1210,883,653,447,612,847,714,932,918,872,1058,1166,1056,922,816,510,372,289,336,307,291,373,1042,1376,1296,1114,1318,1626,1312,1212,1122,792,841,822,1428,1312,1302,1562,1802,2188,2068,1524,986,734,601,742,925,933,826,738,681,446,423,440,569,1084,1578,1508,1300,1406,1002,837,1064,1158,703,717,882,722,696,1154,1314,932,756,1176,1170,1140,1212,946,736,603,561,506,648,811,1028,1176,1084,963,874,1316,1164,1116,1080,1530,1482,1282,1362,1520,1126,911,1454,1396,1038,954,748,797,1028,890,860,1262,1388,1078,729,709,831,1252,1562,1394,1438,1472,1344,1146,1110,1238,1184,1316,1340,1244,1334,1202,1338,1274,1312,1454,1342,924,633,833,725,930,1282,1002,733,547,529,686,886,802,560,764,1416,1530,1088,1002,1312,1234,717,440,389,455,749,957,1028,946,727,564,521,623,995,1368,1568,1560,1506,1480,1242,1498,1460,1438,1666,1414,1202,1312,1230,1302,1432,1478,1560,1418,1268,1296,1092,705,647,792,1070,1024,843,948,1138,1278,1284,1462,1474,1258,1092,905,1004,1362,1278,1226,1434,1656,1672,1460,1340,1416,1602,1772,1860,1332,1122,1312,1898,2120,1938,1786,1368,1546,1566,1280,1232,993,626,1078,1532,1232,1136,1042,836,901,1106,1318,1620,1266,760,1028,1288,1498,1564,1206,1110,1342,1616,1516,1482,1446,1368,1342,1180,1042,1176,1012,936,1028,940,971,1088,733,1172,1428,1420,1490,1610,1694,1620,1574,1452,1348,1478,1424,1194,880,789,1224,1094,864,529,625,772,1050,1180,1162,1278,1242,1340,1300,1048,1282,1488,1386,1274,1280,1256,1098,837,678,723,828,1238,1416,1242,1268,1394,1036,1106,1082,850,816,1124,1448,1558,1534,1384,1430,1588,1494,1600,1506,1450,1314,1252,1350,1224,1198,1224,1023,817,614,577,516,419,396,483,608,624,587,430,434,528,562,560,493,391,367,403,414,397,349,292,393,512,448,542,673,731,717,469,592,476],[443,401,359,359,350,325,307,320,257,265,327,332,341,352,380,442,495,429,385,528,549,474,343,949,2096,2662,2448,1824,1232,1048,850,605,450,446,457,495,587,548,566,568,545,664,559,425,450,586,499,463,454,431,402,376,352,343,346,381,404,412,431,496,714,866,1166,1326,1172,805,510,395,526,946,1040,534,607,904,966,1440,1380,951,557,486,576,619,515,529,683,651,858,790,767,939,820,868,1170,1288,1070,839,893,664,453,461,476,634,697,646,949,1036,919,867,738,891,1282,1104,856,993,606,654,855,812,891,1005,1142,917,702,594,560,468,532,855,851,677,559,883,1084,1052,1262,1262,1344,1676,1742,1358,1044,940,474,477,441,752,933,1118,1001,931,772,499,553,634,609,880,1264,1268,678,444,931,1672,1724,1146,557,425,671,892,892,1216,1118,1104,794,855,776,910,1220,1360,1186,844,697,537,428,343,365,393,502,428,359,378,447,462,397,441,509,550,466,528,857,714,442,384,274,317,372,384,380,336,391,558,518,407,397,468,486,437,381,475,678,698,716,998,929,844,846,565,491,448,445,420,386,366,366,360,343,354,338,296,329,362,331,343,257,255,271,243,259,234,418,659,590,343,490,507,515,452,755,1302,1478,826,843,937,925,1046,892,1102,1362,1506,1278,972,1013,1426,1432,1394,1206,1046,980,963,988,861,1238,1544,1280,1152,1548,1372,1400,1448,1444,1462,1538,1722,1576,1384,1460,1100,857,707,479,577,1116,1446,1532,1484,1458,1214,647,862,1278,1412,1144,1048,1001,913,920,854,739,620,541,579,1096,1704,1860,1798,1172,813,794,846,1102,1110,757,548,493,516,639,736,835,1094,1178,1094,1186,1394,1144,717,711,930,1054,822,578,401,518,968,1308,997,887,1428,1348,1238,1434,1566,1550,1268,954,866,838,878,573,581,614,561,514,573,553,474,402,341,280,354,427,463,437,610,1146,1096,1660,1058,816,1050,1108,1316,1198,833,753,791,684,836,1260,1182,1100,825,647,458,400,516,887,1278,1162,1082,1096,965,861,897,776,592,642,642,554,817,965,901,980,1068,634,691,966,1202,1256,1116,1030,1032,967,1052,985,651,452,581,541,703,1052,1102,959,637,669,652,444,391,427,393,416,764,1274,1432,1108,786,465,410,381,351,342,346,300,297,331,354,390,433,450,421,361,385,351,343,361,432,439,384,440,449,478,556,477,404,524,531,488,378,295,305,315,421,453,616,1186,843,422,354,404,511,658,844,872,681,456,491,630,568,433,385,362,534,810,753,461,390,441,765,1208,1394,1418,1400,1266,1330,1154,847,693,730,749,544,764,1276,1434,1316,1246,1294,1350,1104,957,892,788,698,1160,1096,689,811,1044,995,1044,871,669,775,1013,1076,1021,1154,1478,2048,2024,1452,1098,1216,1542,1356,1224,1132,1028,978,1250,1388,985,805,1146,1338,1300,1224,1012,772,728,902,1086,1406,1250,1148,985,863,1016,1344,1178,975,813,659,824,985,691,541,861,1234,918,594,539,731,1070,1240,1134,926,1005,1178,974,829,767,673,692,887,1094,1300,1286,1306,1404,1264,1378,1398,941,1046,946,749,864,1164,1246,939,758,866,933,838,792,847,819,945,997,932,744,1034,1228,1462,1154,442,472,705,836,746,581,540,731,1122,1060,734,521,813,1112,1232,1332,1446,1448,1156,1130,1278,1312,1098,1084,719,832,1272,2872,3538,1642,1246,1028,860,1062,1310,1240,1478,1206,955,755,498,504,416,431,766,1048,1148,1268,1112,1130,1042,732,504,519,612,581,633,842,1250,1400,984,625,538,683,1230,1154,1080,877,530,813,1428,1916,2264,2168,1430,904,703,1007,1182,1324,974,534,813,990,935,625,452,608,794,1082,1232,1036,1072,1042,1124,1342,1394,791,502,567,661,684,955,1096,1346,1268,1310,1034,1244,1462,989,708,694,1062,1230,1154,1418,1860,2194,1538,923,758,858,1032,1009,1422,1638,1500,1988,1682,1262,1388,798,457,557,756,1009,687,365,423,529,744,896,742,585,403,400,458,442,361,323,320,359,344,384,658,688,386,395,578,1232,1204,758,698,642,615,585,583,619,765,841,800,849,883,859,700,512,440,437,551,865,939,1068,969,946,1654,2194,2070,1316,854,993,714,521,485,456,512,354,518,934,724,334,271,279,251,265,335,427,461,487,498,540,617,628,613,599,573,580,573,536,537,514,466,457,435,390,357,381,498,733,882,990,737,434,353,395,559,649,1624,2602,2010,2286,2096,814,448,638,594,766,1066,1046,870,1178,1578,1266,749,827,487,432,1074,1300,1102,1610,1778,1164,772,707,680,578,680,620,646,480,416,312,267,517,735,858,1420,1758,1718,1444,1216,908,331,286,410,423,309,355,481,558,736,705,408,427,647,777,815,612,596,503,314,397,361,392,820,1334,1238,1202,804,647,1016,730,917,1008,706,825,1098,901,609,645,811,916,766,445,317,323,1080,1166,1216,989,839,759,598,611,478,663,778,1294,1546,1650,1704,1656,1862,1490,1062,968,948,1064,1186,959,595,825,975,1080,863,630,929,1390,1786,1266,682,831,547,304,319,347,598,574,472,455,403,824,1158,1194,1344,1284,1360,992,852,586,1044,1220,888,1194,1480,1572,1720,1588,1098,645,768,1086,1158,1278,1148,541,815,1250,966,1216,1208,668,451,714,1312,1626,1638,1570,1658,1444,1450,1384,1754,1162,686,958,1000,1224,1298,1258,1188,964,675,544,1180,1560,1278,1150,756,634,868,709,441,415,419,448,547,608,505,535,636,741,769,653,587,568,552,843,921,804,1364,1596,1430,1576,1716,1516,1332,1260,1268,1194,1184,1009,1136,1438,875,786,939,1162,1476,1532,1434,1106,733,493,416,561,787,851,581,462,550,606,577,587,609,626,643,601,508,434,614,1324,1918,1946,1870,1850,1910,1674,1102,696,482,508,853,924,735,887,832,1188,1272,1490,1396,1206,1412,1288,1116,1072,996,990,937,1138,1058,800,641,730,641,614,709,739,763,747,707,694,634,608,707,825,854,825,805,949,1322,1314,1164,1368,1620,1648,1306,1082,1262,1638,1520,1346,1226,1318,1472,1344,1230,1260,1292,1220,1126,1162,1450,1780,1554,1416,1384,1200,1062,1206,1204,1204,1176,1088,1260,1424,1472,1368,1440,1258,1300,1188,1116,1422,1560,1276,894,673,480,783,1050,1108,1270,1222,1306,1224,1108,1108,1142,1220,1210,1206,1328,1400,1110,1152,1512,1384,1144,1122,1246,1290,1328,1396,1448,1470,1364,1364,1216,1088,803,1202,1350,1286,1334,1344,1010,660,944,897,709,694,776,976,1296,1096,990,1132,1224,1126,1076,1306,1458,1358,1176,1106,1174,1238,1446,1452,1338,1228,1182,1360,1700,1880,1758,1570,1600,1468,1104,1168,1144,1034,999,1144,1628,1586,1126,1084,1290,1406,1188,1023,1288,1182,960,861,1024,1240,1216,1007,816,1246,1388,1124,1098,1086,1088,915,1192,1340,1032,900,1174,1158,1174,1224,1106,967,993,738,615,585,696,883,913,1034,1154,1160,1216,1230,829,247,223,283,281,299,317,281,403,748,994,838,1026,1582,1410,1074,695,838,1146,1194,1354,1492,1838,1676,1366,1528,1648,1508,1188,745,752,596,677,649,633,611,599,445,452,453,716,1214,1302,1068,1302,1732,1748,1384,1532,1234,671,713,896,800,669,946,1122,1298,1290,1412,1224,1268,1308,1074,727,632,670,905,1152,1282,1080,830,843,1003,1230,1642,1504,1236,1464,1576,1488,1562,1374,1234,1015,916,1150,1224,1340,974,653,765,781,1015,1352,1288,916,736,947,893,950,1842,1632,1652,1556,1490,1216,938,1098,1160,1280,1498,1236,1138,1238,1224,1082,1038,1094,1152,1400,1202,994,980,972,1186,1406,1330,868,494,633,708,912,843,565,1088,1686,1572,1326,1392,1376,1094,494,404,396,401,441,585,912,1092,880,566,477,705,932,1256,1498,1418,1704,1726,1506,1486,1452,1522,1388,1224,1164,1056,1104,1310,1238,1094,1074,1120,1168,1190,1020,912,1182,1244,1196,1080,838,1054,1102,1194,1388,1422,1338,1484,1232,966,1015,1084,1098,1290,1412,1640,1714,1630,1024,673,832,1374,1470,1384,1546,1616,1602,1640,1692,1750,1172,1150,1460,1382,1248,1136,771,946,1372,1312,1038,935,848,853,796,897,1182,1076,1136,1248,1274,1406,1440,1382,1482,1684,1736,1142,1334,1524,1478,1082,698,953,1224,1484,1256,1020,750,651,717,1074,1354,1478,1608,1644,1694,1598,1528,1552,1324,1332,1360,1176,1232,1128,634,841,767,813,771,960,1080,1384,1306,1134,1412,1338,1316,1322,1316,1206,1192,1178,1248,1146,1126,1192,1112,1288,1234,1278,1488,1606,1746,1512,1428,1576,1692,1242,964,1250,1512,1416,1316,1424,1246,1426,1488,1538,1532,1510,1534,1330,1350,1562,1504,1208,935,630,699,618,474,479,494,441,469,525,559,584,451,492,477,495,488,464,451,467,551,477,423,438,377,412,621,1030,1252,1002,929,1042,929,689,475],[393,389,372,343,310,283,307,352,288,265,305,338,437,406,345,382,306,247,371,596,595,483,327,847,1722,1942,1892,1620,1026,783,790,590,505,568,872,1002,960,855,630,547,435,513,523,404,508,590,532,523,470,407,383,364,346,346,382,414,404,435,505,763,1040,1252,1360,1048,658,402,357,330,408,846,1114,565,483,648,1074,1322,1170,796,509,501,471,435,403,512,648,567,834,761,927,1160,934,704,738,783,636,410,475,567,868,653,636,672,746,638,720,834,993,1242,1001,800,941,702,529,1156,916,957,705,501,558,641,629,640,669,576,491,476,688,781,666,755,781,606,436,666,1050,1322,1202,926,1126,1007,737,704,605,473,497,512,545,694,680,818,921,865,963,558,674,1268,1456,1106,623,433,940,1794,2128,1570,787,693,830,907,872,1116,1168,805,513,493,413,695,1108,1372,1322,988,1120,1116,579,373,422,763,874,575,390,383,350,370,458,549,491,553,515,480,907,766,433,322,258,311,363,354,345,325,423,624,563,444,409,424,365,330,375,423,532,614,641,952,1196,1758,1796,1410,844,572,508,435,387,332,313,363,364,406,413,387,366,322,279,311,279,260,260,234,217,238,274,328,344,670,865,720,572,777,979,901,761,984,1248,1178,1036,1194,1015,1334,1452,1208,659,426,382,968,1420,1558,1292,843,920,1082,1164,937,1144,1262,1212,1382,1252,1122,1408,1318,1278,1486,1448,1440,1314,1454,1368,1290,1438,1020,925,1146,1416,1416,1366,1528,1528,1186,656,862,1484,1384,979,868,829,968,1036,977,859,710,579,775,1516,1830,1900,1422,933,842,910,777,833,1062,1078,1015,891,871,577,655,885,919,1260,1122,960,1158,852,539,658,887,980,716,530,437,750,843,1482,1488,1476,1528,1006,1080,1598,1688,1766,1780,1186,728,545,684,627,595,582,558,499,482,508,507,412,410,357,294,374,472,413,965,1344,1366,1650,1380,1440,1302,771,940,632,567,1204,1432,1332,1282,1306,1198,956,874,916,619,414,625,1056,1316,1124,1372,1166,916,790,960,817,715,858,882,1078,993,505,630,980,915,711,912,1476,1316,866,767,741,756,843,952,1172,818,608,437,448,877,1182,1028,771,677,811,700,477,533,563,645,684,775,1056,1280,1138,722,459,395,326,305,284,225,214,255,280,317,354,395,419,417,407,475,526,590,664,684,571,406,457,469,421,453,497,474,593,647,663,572,387,342,274,291,342,534,943,688,448,393,444,441,562,785,856,526,362,696,1018,691,413,376,389,562,1001,965,546,449,467,657,1194,1348,1348,1470,1322,1360,1180,943,871,933,1084,1158,1274,1408,1490,1240,978,822,1104,836,635,820,774,904,1562,1588,877,702,976,737,686,666,946,1102,1268,1058,681,713,1166,1492,1280,874,688,889,1206,1148,1290,1360,1036,687,973,1202,965,685,797,980,1110,1278,1222,1438,1306,1086,1230,1066,808,697,800,890,902,1078,1094,1246,1332,1148,1198,1238,815,645,1086,1266,893,639,780,793,1060,1110,688,590,793,969,897,928,946,730,803,1124,1366,1448,1178,1001,1166,1152,1378,1318,746,919,999,778,815,1106,1262,1012,539,646,750,592,553,556,590,1082,1194,1220,974,909,1244,1448,1244,512,511,706,878,753,640,610,700,1238,1244,776,706,1044,1378,1362,1304,1382,1512,1388,1262,1284,1246,1220,1248,854,957,1234,2238,3306,1562,1078,1156,921,1082,1326,1212,1296,1018,968,973,504,415,449,687,977,876,1088,1148,1094,1242,967,626,530,531,443,423,572,1080,1416,1112,941,707,816,1018,1194,1304,1058,623,869,1636,1724,2078,1924,1568,1218,1272,1112,978,1472,1648,1150,918,788,440,503,395,499,730,688,849,1376,1438,1570,1416,1152,1434,1214,481,425,463,480,657,957,1046,1126,976,1058,1176,1264,1136,1094,1106,749,1102,1452,1908,1746,1758,1996,1378,836,765,1000,1042,1086,1404,1344,1528,1858,1522,2066,1584,694,741,1122,1144,992,777,466,588,923,1136,1672,1282,743,453,346,383,474,438,432,443,401,372,441,600,513,432,483,528,939,922,587,625,1016,951,687,668,684,771,1030,1244,1000,596,447,421,429,475,408,445,721,1040,1182,1012,975,681,940,1054,843,661,832,640,388,433,532,609,443,395,725,928,521,267,303,293,227,232,255,348,503,535,564,583,591,597,605,610,639,611,533,513,496,503,484,477,480,470,439,360,400,544,693,867,865,557,411,720,1458,2658,2740,2586,2500,1844,832,608,498,310,309,511,557,495,1434,2742,1650,908,594,391,409,601,550,552,703,735,712,949,959,675,621,1348,835,405,330,361,301,274,447,600,1078,1772,1714,1534,1314,1296,886,432,267,462,617,527,357,370,509,512,460,448,656,1068,973,641,556,775,868,578,288,281,311,394,558,600,1274,1562,1194,959,794,1044,1194,1184,1188,1324,993,852,767,482,554,871,831,634,430,645,895,1142,1026,955,772,646,648,517,592,392,625,966,1356,1606,1478,1280,1152,965,903,952,1266,1242,991,631,926,1334,1460,1278,1094,1290,1720,1886,933,928,1162,547,238,229,402,708,492,375,492,391,742,1322,1542,1498,1310,1372,756,844,686,1040,1500,1122,1102,1440,1512,1660,1700,1382,654,800,1202,1232,1212,1144,547,377,1028,1232,1272,1378,1114,836,915,1462,1680,1576,1814,2056,1594,1172,1364,1538,960,1036,1204,806,1212,1310,1426,1316,1278,1086,933,1412,1650,1378,945,546,798,1178,719,505,405,361,369,367,434,491,462,524,735,695,494,557,612,628,852,791,797,1302,1392,1342,1414,1628,1864,1714,1344,1322,1218,1214,951,1082,1162,850,1148,1308,1274,1176,1252,1500,1524,1338,1136,692,564,766,758,514,469,550,616,618,577,583,656,723,658,617,555,559,656,640,619,791,951,1256,1560,1526,961,597,990,724,457,466,579,800,1182,1312,1284,1068,1054,1050,1002,1296,1622,1534,1400,1112,985,732,576,530,528,504,645,893,906,922,883,883,863,888,755,679,725,691,623,678,828,1078,1306,1236,1130,1508,1712,1544,1372,1530,1532,1418,1232,1180,1240,1214,1290,1322,1210,1094,975,1222,1390,1380,1258,1386,1520,1472,1228,1146,1216,1182,1168,1316,1362,1148,1272,1528,1456,1204,969,1094,1300,1324,1300,1950,1432,717,523,538,1010,1114,1244,1432,1278,1246,1252,1294,1268,1326,1354,1258,1142,1422,1344,1208,1282,1422,1298,1172,1182,1226,1264,1322,1438,1648,1406,1396,1384,1362,1316,1120,1484,1562,1356,1368,1092,969,648,735,845,700,797,969,1218,1296,1066,990,1284,1166,1188,1376,1524,1582,1440,1298,1250,1018,1122,1172,1194,1216,1144,1250,1368,1650,1508,1152,1114,1416,1288,872,1062,1276,1172,1046,1152,1332,1172,934,1086,1176,1228,1138,1080,1198,1188,900,767,1110,1154,852,496,562,1422,1556,1238,1186,1218,990,871,1118,1222,1068,1068,1294,1112,1007,966,1034,1166,1330,1158,653,724,894,867,940,881,970,1054,948,901,617,267,218,286,335,310,334,269,232,263,347,704,982,1262,1026,823,789,932,1124,988,890,943,1140,1694,1904,1238,1450,1996,1840,1038,938,902,725,517,442,530,576,607,830,752,899,1228,1276,1116,1700,1946,1598,1378,1426,1058,1042,1508,1102,800,1108,1084,1120,1094,958,1308,1666,1452,1478,1476,1166,927,744,1080,1220,1472,1148,681,583,678,1072,1322,1312,1346,1538,1534,1646,1766,1334,1380,1176,1042,887,1324,1526,767,547,564,659,1138,1158,812,636,401,523,963,1368,1432,1520,1454,1406,1496,1220,1232,1152,965,1384,1240,671,1040,1220,1368,1396,781,560,973,1312,1394,1332,853,663,863,906,1058,943,780,891,1164,1442,1308,1030,1252,1524,1200,910,1062,1278,783,442,404,397,398,386,404,446,606,822,863,505,661,677,954,1326,1382,1560,1478,1636,1456,1234,1260,1266,1272,1028,1106,1300,1218,1190,1032,780,1000,1136,1122,1126,1028,896,1126,1252,1304,1286,1172,874,1120,1164,1005,1382,1472,1380,1476,1348,1004,1146,1544,1594,1668,1540,1456,1376,989,852,1206,1316,1384,1698,1790,1584,1550,1510,1272,1144,890,832,1176,1164,991,1164,1144,1034,1246,1262,882,776,806,554,569,977,1172,1028,773,723,832,904,875,815,1058,1368,1292,1234,1298,1298,837,497,460,932,1422,1070,890,1004,977,1074,1242,1001,1364,1766,1818,1650,1434,1506,1372,1134,1246,1264,917,1128,870,690,739,724,1040,1130,1030,1100,1154,1390,1308,1490,1430,1306,1156,1162,901,1005,1272,1162,897,1076,1274,1326,1104,1126,1296,1296,1592,1880,1426,1304,1400,1522,1426,1316,1344,1598,1330,1360,1508,1314,1378,1572,1750,1708,1492,1346,1114,863,1072,1052,800,713,728,726,662,530,515,536,476,441,482,686,698,505,665,469,419,426,423,443,691,806,565,369,389,413,414,488,693,786,860,714,861,798,583,480],[396,368,333,330,311,277,283,297,245,224,229,268,402,630,495,356,262,253,418,579,536,480,453,731,1248,1506,1478,1212,926,819,966,841,749,907,1188,1142,918,906,679,471,397,556,503,410,550,556,547,567,452,354,365,376,392,419,438,466,484,580,760,1074,1354,1320,844,545,494,452,408,368,417,713,944,866,761,709,1152,1350,1142,696,459,388,395,392,394,402,600,683,925,1078,1130,1188,868,453,519,673,577,405,437,493,897,680,661,720,662,611,685,750,856,1242,1184,783,563,600,747,1236,1046,919,593,333,396,632,720,476,612,648,479,648,822,1144,1230,1310,1190,781,527,610,789,980,801,736,906,1442,1354,841,591,633,718,707,641,593,499,625,772,745,674,510,615,996,1268,1007,787,688,644,843,1003,973,932,1003,1072,841,1054,1130,1003,644,539,598,557,592,874,940,795,896,1138,932,514,368,345,415,477,410,361,368,404,535,680,727,501,460,464,354,378,396,410,311,287,351,341,345,351,369,422,577,641,495,443,454,416,375,413,485,413,476,514,984,1240,1924,2288,2190,1758,1052,540,448,406,339,339,408,339,377,443,523,466,364,245,239,242,228,232,233,249,270,272,246,286,761,1010,859,795,1040,1058,674,606,1164,1344,1364,1230,1338,1226,1348,1172,1202,1144,755,610,1004,1316,1376,1248,971,1246,1434,1328,1148,1376,1238,1286,1550,1266,1130,1446,1316,1148,1260,1382,1212,1288,1228,1266,1426,1616,1470,1438,1478,1384,1274,1316,1518,1596,1376,1009,717,833,653,666,615,694,980,899,992,872,686,698,1136,1604,1810,1666,989,747,836,1012,830,718,1052,1222,1252,1110,912,745,1066,1256,1186,1228,949,827,959,666,487,531,713,778,634,612,608,927,962,1568,1776,1862,1686,854,1202,1738,1218,1166,1052,747,959,838,678,1001,1056,761,523,529,515,463,445,383,485,438,399,381,379,618,1534,1948,1644,1264,1268,1256,922,479,483,397,632,1176,1578,1632,1432,1162,1364,1340,863,1068,986,623,504,1062,1494,1318,1604,1384,872,793,998,882,788,1050,1220,1368,929,797,724,1062,1148,697,695,1502,1248,658,530,641,689,694,758,911,519,631,445,397,655,716,718,887,908,827,912,946,876,684,753,735,735,773,859,1174,999,576,462,459,369,296,241,278,267,264,326,418,509,517,536,583,658,736,761,720,639,509,519,607,615,519,451,479,590,786,816,728,728,644,672,391,354,482,560,652,597,473,398,378,440,645,968,1236,842,514,655,949,840,476,363,413,477,748,687,438,447,462,637,1256,1390,1440,1420,1334,1330,1256,1228,1202,1080,1250,1376,1238,1244,1490,1386,1194,923,1138,1088,818,659,717,946,1106,1130,855,645,920,569,350,540,1017,1318,1358,1210,976,909,1190,1208,1100,650,475,620,942,1272,1430,1332,818,724,1092,1246,947,552,619,911,1032,1336,1260,1292,1182,715,587,786,804,536,835,1128,863,947,1332,1344,980,1138,1290,1294,949,691,1007,1350,977,713,1034,778,1004,1078,715,782,990,1216,1296,1110,872,789,1042,1422,1542,1472,922,705,1160,1306,1470,1168,615,799,1236,1262,1198,1210,1236,918,509,648,640,704,949,738,694,961,1128,1538,1340,1018,1244,1504,1106,488,471,694,790,772,874,824,669,946,1116,955,1070,1048,894,941,1122,1234,1288,1406,1232,1060,1120,1250,1238,1086,1082,1144,1348,1256,932,967,1088,1050,1212,1172,1214,1420,1144,1134,1250,598,545,747,890,1180,1244,995,847,1010,1126,827,774,945,800,554,487,503,673,885,771,977,918,1184,1152,1124,1466,1246,660,728,1668,2270,2250,1776,938,553,1176,1438,1284,1356,1396,1222,1282,1038,749,469,517,593,559,442,465,742,1200,1450,1240,1174,1056,724,466,539,728,777,764,927,1034,995,1032,1300,1274,1442,1468,1254,758,781,1116,1224,1848,1642,1264,1020,816,619,683,995,837,983,1048,1322,1310,1094,2288,2394,903,669,1078,1226,1240,1158,1094,509,530,607,1080,1504,1244,744,454,358,300,339,391,477,426,422,501,525,436,342,415,520,475,473,484,434,661,1005,967,766,716,778,1042,1276,1136,667,334,350,448,448,435,426,491,862,996,904,644,636,514,471,708,720,482,603,487,437,758,582,499,478,445,581,842,507,335,390,309,239,236,258,289,385,514,585,599,541,547,590,576,573,576,562,533,494,554,533,493,499,528,542,516,401,329,364,722,1066,966,651,782,1400,2042,2676,2890,2356,1288,578,526,554,433,206,290,591,622,1278,2268,1876,1386,731,395,403,377,331,365,481,597,540,651,1004,772,799,1604,1196,470,280,317,262,295,383,442,765,1354,1302,1184,1164,915,507,316,304,515,843,992,629,371,366,306,361,651,803,934,937,633,378,624,876,993,745,643,444,267,309,335,478,854,814,532,837,1464,1852,1796,1538,1384,1148,957,702,478,427,545,863,947,915,803,988,1140,1023,1256,931,775,752,696,612,547,674,897,1194,1282,1108,1058,973,837,956,906,1100,1142,852,739,1162,1542,1620,1390,1678,2544,2404,1774,1072,855,916,486,299,243,588,783,471,377,387,361,713,1284,1324,963,1248,1526,923,831,722,942,1500,1256,1028,1440,1478,1630,1710,1490,809,511,788,1160,1046,879,587,499,1098,1432,1446,1514,1602,1556,1280,1300,1624,1576,1952,2148,1792,1456,1576,1418,921,1578,1536,1014,1278,1290,1350,1292,1262,1132,1060,1090,1238,1278,891,651,707,871,575,542,490,402,354,336,334,354,379,503,725,687,585,556,681,702,674,650,771,1238,1438,1380,1414,1628,1992,1866,1488,1362,1206,1134,1164,1324,1088,1178,1570,1816,2048,2024,1734,1622,1262,1284,1484,1226,915,753,628,532,466,561,789,780,607,616,675,664,601,622,695,697,576,484,473,415,407,491,728,1116,1050,1082,1120,583,525,658,695,603,792,1128,1186,935,769,866,868,965,941,834,756,760,672,553,803,755,422,447,688,1009,940,868,921,891,859,825,798,695,609,598,584,558,676,894,1074,982,1066,1456,1664,1668,1356,1362,1542,1354,1102,1054,1210,1216,1386,1486,1426,1044,920,1196,1376,1268,1324,1420,1384,1354,1174,1182,1366,1390,1268,1268,1198,1094,1354,1568,1222,656,550,857,1254,1246,1278,1914,1416,912,753,936,1416,1472,1390,1284,1138,1246,1310,1252,1418,1530,1352,1196,1394,1548,1322,1070,1042,1090,1110,1158,1160,1334,1354,1406,1292,1350,1206,1326,1336,1458,1502,1322,1256,1328,1588,1692,1000,830,717,755,1030,1180,1438,1440,1162,1220,1140,952,1144,1232,1114,1260,1316,1348,1424,1390,1280,1064,1082,1070,1020,1364,1310,1360,1178,1288,1300,958,713,1136,1332,922,767,1220,1316,1184,1330,1378,1218,1112,1246,1196,1114,1278,1380,1184,914,748,754,957,931,537,525,635,985,1368,1270,1152,1252,1266,1274,1282,1186,984,889,1130,1092,975,1038,1218,1260,1476,1296,858,866,993,984,959,1054,1094,546,437,493,302,238,341,853,1066,612,493,261,243,234,256,378,742,1004,753,590,847,1144,1082,708,661,680,1214,2024,1824,1086,1144,1682,1858,1520,1182,1019,934,872,773,672,555,485,666,983,1132,1658,1404,853,1312,1618,1206,874,918,884,843,1120,1062,726,841,977,1544,1266,467,824,1424,1620,1650,1274,950,996,1058,1194,1172,1092,774,623,604,829,1180,1214,1344,1528,1216,1200,1514,1598,1454,1144,1120,1074,1178,1594,1380,776,603,781,1168,1272,1013,936,1178,668,377,955,1328,1328,1504,1414,1532,1498,1102,1234,1152,1032,1054,667,556,985,1196,1370,1272,824,756,1158,1472,1356,1200,1248,978,974,727,738,927,895,903,1176,1324,1170,1290,1394,1180,1030,897,951,933,633,491,412,402,380,380,373,383,433,584,654,517,460,457,833,1526,1694,1492,1416,1550,1394,1180,1180,1250,1346,1328,1504,1538,1023,1150,1548,1342,1150,1136,1116,1138,1216,1106,1112,990,1032,910,579,658,814,1072,1320,1232,1232,1392,1584,1512,1150,1282,1538,1406,1556,1316,1234,1562,1376,985,923,984,929,1434,1480,1520,1570,1598,1696,2068,1948,1368,1354,1370,1256,1522,1344,1138,1194,1328,952,666,416,451,953,1588,1678,1162,760,604,814,867,785,823,1001,1030,1338,1512,1262,1048,948,606,744,943,1186,1208,1050,1394,1484,1422,1382,1428,1670,1724,1604,1542,1348,1360,1432,1500,1598,1242,1001,914,688,1018,1240,1214,1180,1176,1410,1426,1198,1182,1132,1406,1496,1406,1158,1062,932,1028,1210,1032,1126,1228,1164,1378,857,927,1196,1182,1262,1274,1242,1212,1296,1416,1472,1550,1346,1372,1246,1282,1256,1404,1666,1698,1918,1750,1140,1019,1180,1052,805,939,991,794,1262,931,670,600,503,500,536,499,437,472,423,534,721,507,409,387,392,370,531,664,498,397,572,604,483,437,577,641,714,521,832,948,709,668],[311,321,332,316,323,320,290,265,244,396,564,500,461,697,657,402,320,333,451,566,486,518,578,720,1366,1598,1598,1408,1182,1312,1436,1160,952,1112,1196,1098,812,720,654,446,410,581,488,455,577,574,553,550,433,347,417,519,540,522,492,514,550,581,836,1230,1262,825,579,706,658,502,424,382,502,673,760,966,1254,1288,933,843,956,620,482,569,1230,833,588,696,839,963,1192,1266,1138,988,976,707,691,822,807,458,435,549,758,797,702,518,451,527,893,1358,1300,1126,1194,1004,916,805,608,692,786,589,415,425,724,1206,1072,487,550,761,541,623,730,810,943,980,914,806,564,485,573,1052,1058,1192,1328,1406,1234,721,648,728,685,641,650,922,764,678,626,621,508,487,528,594,588,531,698,841,712,671,616,609,662,738,730,1021,1152,1182,1278,1100,993,844,595,580,953,962,846,969,846,565,446,404,495,774,733,504,373,348,321,516,851,894,593,581,703,507,301,407,440,321,325,342,325,343,358,467,475,483,536,488,464,461,494,450,465,521,364,389,489,1174,1664,2150,2394,2262,1842,1046,576,567,651,420,463,515,374,360,432,421,447,395,300,279,262,226,213,215,239,239,260,219,275,323,603,800,662,328,575,953,794,993,1074,1062,1152,1080,1156,1048,803,1046,1384,1214,824,871,1023,989,1224,1412,1390,1298,1216,1240,1128,1148,1400,1510,1308,1334,1406,1074,608,493,814,1324,1320,1028,1180,1264,1208,1330,1562,1496,1248,1128,1164,1492,1522,1330,1190,1210,973,567,800,1034,976,937,708,823,689,589,786,1044,1384,1642,1196,763,688,750,1028,1192,1272,1236,1086,941,719,513,642,1206,1476,1318,1154,1007,1124,1176,720,390,416,628,896,1094,1372,1106,792,1172,1778,1716,1708,1914,1216,1188,1544,1096,904,1090,1494,2230,2136,1910,2044,1830,1038,533,524,443,376,403,398,412,460,540,474,592,1116,1822,1892,1388,1212,1230,1176,868,666,619,492,534,823,959,1190,1490,1300,1290,1118,1090,1380,1086,757,495,933,1540,1468,1410,1236,935,858,794,806,998,1306,1468,1288,951,1138,933,954,946,575,691,1146,1212,871,871,997,897,848,1074,763,334,443,358,338,435,455,642,915,1046,993,1194,1060,1003,730,538,456,469,530,483,749,1104,1054,721,692,508,290,257,306,285,277,390,621,630,509,536,597,695,803,874,808,665,546,610,691,664,622,525,544,939,1084,993,575,576,1030,1578,912,592,608,548,615,833,730,437,400,590,1018,1130,1038,805,722,711,824,1014,750,336,318,371,486,571,724,943,1088,1170,1388,1628,1596,1414,1382,1340,1232,1424,1722,968,863,1364,1416,1470,1576,1456,1030,989,1380,1416,968,631,902,991,799,977,963,837,1042,752,444,855,1354,1400,1526,1516,1412,1320,1478,1562,1820,979,473,505,777,1048,1160,888,614,688,680,960,1038,1062,1268,1048,1084,1212,1174,1242,1190,917,973,1286,1082,773,1046,1380,1096,1230,1446,1324,1362,1488,1370,1200,893,764,1062,1178,766,559,775,751,839,934,1146,1148,1050,1168,1036,670,470,549,814,1288,1216,1404,890,863,1428,1322,1410,1318,841,885,1082,1160,1210,1334,1250,697,458,600,572,1020,1300,911,843,753,932,1336,882,1108,1256,1572,927,449,439,601,764,1040,1214,1032,826,810,922,1012,1178,860,694,930,1124,1192,1174,1013,809,792,1058,1468,1304,1276,1232,977,977,890,852,894,1050,1194,1346,1322,1028,1196,1210,1120,1023,905,857,1019,1084,1802,1992,1168,705,930,944,712,918,1266,816,549,509,454,436,633,1018,1186,1088,1026,1146,1288,1204,909,775,630,1248,2430,2418,1710,921,591,962,1482,1584,1150,968,1046,986,1002,1244,1056,1074,832,500,388,435,502,604,664,800,1090,963,639,550,752,1518,1462,1194,1352,1664,1472,1506,1730,1354,1436,1484,953,459,698,754,954,1342,1440,1328,1194,744,690,798,1074,689,852,982,1316,1324,1868,2666,1362,572,994,1130,1292,1310,1198,1130,753,536,557,1218,1242,898,578,495,442,356,404,380,388,374,343,430,442,359,304,332,382,394,428,460,521,533,569,724,758,747,712,692,534,367,330,418,452,412,408,462,515,437,644,602,660,540,443,442,397,680,799,423,564,458,293,280,302,391,521,557,472,363,307,297,288,242,275,284,267,257,254,381,560,538,414,474,576,554,520,541,550,502,584,608,589,544,529,577,584,590,682,653,426,661,1106,963,997,1144,1288,1462,1942,2478,1786,750,586,581,594,587,402,794,1386,1316,1400,2034,2120,1594,1182,1100,995,909,760,550,663,960,731,697,872,631,656,915,683,501,353,303,224,273,320,392,429,837,1024,944,758,433,279,303,444,543,788,1062,943,543,370,306,454,985,1146,914,805,686,559,677,705,748,1001,968,705,351,247,331,390,441,341,350,750,1454,1940,1740,1704,1804,1642,1164,569,443,404,687,871,594,823,1114,977,604,683,967,863,776,819,763,584,738,996,1060,1128,1182,1028,897,736,908,946,1084,1262,1260,879,888,1388,1328,1168,1406,2786,3330,2442,1800,1380,1010,615,490,419,349,593,463,272,279,357,424,552,871,1092,1060,1358,1614,1272,1086,901,869,1348,1282,1172,1416,1400,1440,1438,1406,1232,825,789,1036,810,786,866,705,1200,1476,1322,1346,1666,1846,1640,1792,1760,1516,1560,1476,1342,1242,1406,1240,791,1616,1628,1430,1506,1352,1252,1476,1420,1090,854,739,971,1412,1114,799,709,623,539,473,462,410,354,350,393,432,442,545,702,707,604,653,897,634,641,657,789,1418,1772,1724,1542,1678,1842,1974,1750,1342,1126,1340,1268,1328,1068,932,1464,1858,2140,1994,1732,1952,1474,1080,1060,1344,1420,1236,897,550,409,462,725,728,599,594,669,621,650,668,755,810,720,579,450,413,441,408,442,537,1150,1108,789,831,909,976,901,864,915,926,1082,827,667,714,810,776,798,731,618,767,821,763,730,603,382,494,661,967,837,502,427,505,607,569,637,881,873,632,612,582,489,408,571,622,1078,1410,1534,1610,1670,1742,1462,1202,1228,1158,1178,1222,1312,1480,1336,1080,807,745,989,1278,1400,1392,1246,1316,1388,1396,1478,1422,1104,1068,1188,1306,1334,1246,1222,928,681,994,1328,1366,1023,1084,1164,1010,1058,1172,1246,1296,1230,1146,1182,1270,1272,1210,1422,1286,1224,1516,1600,1338,1114,1056,1260,1278,1168,1168,1250,1184,1250,1388,1278,1152,1256,1312,1168,1228,1400,1334,1268,1340,1432,1234,872,685,791,1030,1258,1470,1532,1338,1144,1114,976,778,1016,1214,1206,1258,1150,1276,1328,1128,1023,1052,1204,1332,1212,1288,1144,975,1080,1038,1284,1118,758,1124,1332,964,720,1138,1334,1346,1416,1334,1512,1316,1394,1340,1130,1136,894,754,940,928,757,893,885,507,586,775,835,1066,1252,1298,1242,1266,1478,1442,1350,1136,1226,1332,1434,1302,1346,1388,1344,1390,1274,1168,929,1082,937,622,595,960,501,314,324,275,303,491,1056,1280,1128,652,301,248,253,268,263,399,949,1202,1015,937,929,907,585,628,993,1400,1412,868,677,1001,1266,1342,1416,1338,1266,1156,1340,1346,760,648,736,858,946,937,1338,994,501,816,1206,1210,1050,824,607,491,639,874,825,902,854,966,783,486,844,1320,1384,1360,1120,648,683,1038,1384,1472,1026,684,821,929,1144,1262,1112,961,979,1040,642,984,1284,1352,1368,1166,818,1174,1464,1252,1062,811,814,1128,754,708,873,860,488,360,593,960,1306,1310,1398,1410,1232,1044,1328,1282,1100,849,805,819,917,978,1114,1110,969,717,609,862,1108,794,1134,1336,1118,725,760,974,1032,1106,1008,915,1188,1588,1268,912,1276,1332,1180,788,621,507,434,385,362,375,374,393,494,625,662,566,447,573,957,1242,1318,1356,1304,1266,1336,1220,1006,789,1194,1786,1764,1302,1076,1226,1344,1270,1280,1206,1124,1048,1332,1410,980,821,966,834,775,815,888,1286,1162,1116,1170,1438,1596,1384,1274,1320,1224,1238,1360,1278,1234,1516,1576,1396,893,834,645,734,1054,1126,1032,1366,1640,1770,1576,1156,1054,1156,1150,1140,1218,1418,1294,1298,1086,634,412,581,1058,1802,1850,1088,707,666,884,1088,1130,1172,1062,799,1012,1432,1190,1038,1128,749,880,976,1460,1516,1530,1698,1590,1338,1428,1478,1548,1440,1018,1160,1286,1332,1574,1564,1372,1202,1274,1122,1019,1246,1490,1528,1312,1266,1416,1426,1330,1390,1044,1254,1322,1244,1086,1030,1212,1128,1228,1272,1232,880,792,1056,1038,1232,1294,1212,1296,1370,1302,1100,1268,1394,1528,1534,1250,1032,1078,1076,1590,1668,1230,1236,1542,1368,1090,971,1184,944,672,1284,1324,839,835,802,816,825,799,720,697,661,509,458,441,527,644,597,474,426,446,393,363,361,341,435,647,752,803,532,597,816,766,676,755,613,528,826],[304,341,348,307,328,345,303,275,251,717,1100,991,759,563,407,368,300,342,406,453,423,564,445,585,1386,1440,1130,1164,1562,1818,1896,1630,1178,1214,1116,1042,871,771,648,474,473,564,524,507,598,599,547,514,462,470,529,545,519,507,537,539,643,979,1270,1224,910,495,496,644,620,575,600,469,506,659,789,940,1152,1070,536,523,1028,848,581,591,1124,1092,1058,1112,1008,1120,1306,976,935,1470,1368,944,1005,1276,1090,615,478,532,721,973,944,585,487,560,884,1522,1606,1244,1216,1388,1094,707,616,602,521,271,254,382,712,924,666,440,719,902,619,417,547,744,807,709,525,460,543,633,907,1256,1015,909,791,733,659,561,813,819,761,755,670,906,827,827,833,832,938,1162,1082,720,416,323,404,612,804,928,747,494,502,590,752,944,810,717,802,713,774,689,570,669,563,618,763,891,802,468,538,716,762,1034,1354,1074,469,422,498,636,943,1009,774,931,1210,707,374,372,415,369,412,342,308,345,345,320,312,395,466,485,513,467,497,446,465,524,448,413,563,1088,1578,1974,2170,2190,1956,831,558,693,758,594,529,447,391,359,315,314,366,389,354,266,242,231,221,225,219,213,251,280,275,266,367,604,728,420,716,1021,854,883,891,920,1160,915,549,520,508,533,844,996,1021,713,554,909,1470,1594,1454,1514,1470,1094,1142,1290,1496,1592,1470,1376,930,554,386,393,525,940,1094,1038,979,976,980,864,1418,1534,1432,1302,1096,1426,1388,1140,1234,1554,1418,1058,863,986,837,726,1001,894,685,642,733,1060,1592,1592,1128,811,614,530,753,1001,1298,1490,1434,1098,677,438,716,1292,1222,1098,915,1086,1366,1296,899,673,810,886,924,1134,1606,1642,1510,1650,1732,1476,1522,1378,866,1028,1914,1628,1282,1696,2112,2302,2334,1950,1726,1858,1522,819,524,429,479,463,366,303,386,534,813,913,1028,1480,1396,1556,1560,1770,1764,1278,988,647,414,512,716,786,944,1336,1094,1076,1048,908,1140,792,489,361,567,1060,1296,1100,980,1214,1226,822,971,1066,1158,1410,1202,1106,1034,917,905,526,378,681,997,829,518,687,684,755,904,999,694,473,375,340,481,664,572,684,698,844,838,870,742,911,799,536,373,305,317,323,364,565,986,1010,745,679,489,312,280,265,238,342,561,654,667,771,836,916,939,897,794,725,538,498,554,584,827,1136,1364,1796,1414,1162,946,782,1010,1596,1408,946,701,620,809,1216,1100,622,486,632,1102,1016,811,875,996,1070,922,883,1021,734,797,1016,1054,1001,1010,1202,1318,980,1154,1612,1356,1230,1600,1566,1260,1178,1488,1304,1030,1230,1312,1232,1294,1450,1066,758,1100,1328,1058,739,832,1044,1054,1320,1356,1082,937,908,629,685,1056,1178,1224,1296,1268,1302,1564,1566,1438,847,541,475,585,1124,1284,1062,1134,1128,831,993,1112,1208,1288,1334,1244,1166,1052,1002,1082,1004,976,944,788,835,924,1116,799,913,1102,1164,1282,1088,1040,954,577,524,886,739,718,874,1130,1098,1202,1246,1094,929,861,920,755,763,838,962,742,770,868,1266,948,589,735,990,1256,1220,1206,1350,808,774,713,1038,1134,722,494,777,932,949,765,940,1332,937,995,1160,690,1038,1234,1504,930,420,424,561,908,1148,1100,1023,1080,852,944,1294,1342,1054,1090,1236,1136,1198,1262,957,613,709,1122,1336,1156,1154,1282,935,822,771,808,1182,1582,1548,1382,1262,1052,1144,1206,937,881,1144,1158,1023,915,1460,2066,1652,678,678,738,886,849,824,783,838,617,466,670,941,926,941,833,786,1194,1082,850,902,941,1042,1582,1622,1166,1054,983,839,1502,2458,1866,1486,1202,890,612,658,1018,1096,1042,951,700,396,437,431,417,523,1018,1382,932,565,503,854,1220,1318,1524,1766,2576,1908,1188,1080,1026,1330,1128,692,554,700,907,968,1280,1296,1162,1234,610,651,510,703,881,974,1152,1328,1370,1870,1556,712,1002,1122,1028,906,966,1130,1180,808,528,913,1370,1138,631,375,382,399,412,425,335,284,345,378,369,336,335,348,316,301,314,374,425,486,526,525,695,710,608,505,404,404,357,321,466,492,440,516,601,656,574,429,383,449,489,568,771,784,713,735,573,634,438,306,305,563,858,704,474,435,376,271,221,228,243,390,387,301,296,310,422,612,573,415,451,566,556,493,474,500,420,443,542,530,373,364,530,696,822,681,700,519,433,622,961,1110,1178,1192,1250,1428,1340,716,470,565,827,968,678,574,962,1258,1078,1184,1758,1840,1414,1130,1260,1024,1202,1120,1048,1007,971,896,695,648,624,727,803,557,420,314,279,276,282,265,268,315,502,543,462,375,330,293,334,399,343,445,760,1144,800,454,393,429,806,1060,786,874,969,901,863,987,662,545,628,758,591,408,445,379,368,445,615,776,883,1324,1596,1688,1692,1682,1320,636,504,362,395,458,417,478,996,915,718,641,677,772,819,847,870,725,583,608,841,927,865,826,844,908,1023,830,904,985,931,1011,1116,1304,1194,1156,1116,1980,2286,1500,1078,772,381,246,343,396,554,720,289,273,273,302,467,611,955,1338,1254,1304,1508,1350,1028,886,822,1108,1011,1348,1552,1468,1094,770,985,1344,1056,685,579,415,744,1104,1284,1700,1696,1078,1158,1440,1542,1430,1438,1346,1268,1306,1180,1276,1348,1286,1054,852,1364,1472,1686,1572,1216,1332,1344,1304,1328,1164,1032,1092,1544,1352,780,697,659,520,391,335,347,337,424,535,510,483,698,763,722,569,877,956,577,604,656,803,1448,1920,1920,1520,1320,1570,1716,1642,1404,1288,1104,883,1124,1012,771,1386,1732,1388,1272,1528,1706,1608,1586,1550,1254,1106,1250,1386,1132,701,565,626,570,534,564,592,614,795,808,673,710,740,761,536,400,411,431,465,757,1176,830,818,998,1082,1262,1194,914,949,907,985,822,558,460,719,880,883,723,645,694,610,552,430,404,585,756,896,1166,1156,958,888,847,755,730,766,979,1252,1026,656,448,445,437,471,471,785,1106,1096,1306,1724,1462,1216,1422,1424,1286,1250,1188,1232,1348,1226,1048,733,525,824,1108,1058,1258,1380,1252,1312,1256,1216,1196,1250,1334,1326,1190,1082,1310,1528,1356,1200,1082,977,976,760,885,962,844,1046,1196,1180,1230,1288,1196,1042,1306,1428,1244,1090,1124,1268,1396,1250,1030,1156,1180,1324,1264,1208,1152,1076,1140,1284,1250,1248,1296,1328,1310,1166,1278,1322,1110,1140,1186,1224,877,794,850,899,951,1152,1306,1244,976,1048,606,509,809,1174,1206,1368,1342,961,1116,1334,997,955,1394,1348,1520,1908,1604,1232,1058,1190,1184,1416,1404,1142,1290,1210,1406,1440,1366,1344,1454,1426,1246,1506,1478,1274,1356,1460,821,880,932,979,742,672,1156,1176,719,634,875,1178,1348,1152,1218,1292,1128,1432,1580,1372,1188,1362,1292,1324,1434,1388,1348,1388,1382,1328,1082,565,752,840,515,363,385,306,264,240,273,294,379,643,1054,1094,482,254,223,265,302,284,253,558,1086,1412,1174,944,1246,930,698,946,1064,827,506,726,1192,1062,839,713,866,1104,1268,1534,1306,858,951,975,1122,1130,1080,1098,711,692,963,1032,960,1316,1054,586,727,1076,824,696,990,913,827,935,797,656,880,925,950,1154,961,930,1322,1530,1392,1016,774,1070,1328,1434,1009,1042,834,942,1188,749,695,1218,1522,1802,1272,599,847,1228,1120,1084,1116,752,720,659,737,624,427,433,389,580,761,763,1252,1394,1128,854,1172,1354,1052,803,965,1100,1136,1042,1028,1218,1504,1548,1064,766,1009,1074,1020,1136,1320,1390,1086,950,1208,1422,1440,1270,986,1208,1426,911,573,705,744,745,744,547,429,480,436,404,422,518,719,924,821,671,517,634,1003,1070,840,680,912,821,805,1208,1044,954,765,750,1578,1754,1388,1208,1062,1012,1100,1250,1466,1340,946,1148,1136,1040,1144,995,891,1214,1098,1100,1260,1222,1194,1166,1472,1196,777,960,1240,1174,1082,1208,1302,1114,1458,1224,1516,1368,865,700,776,955,960,1206,1654,1634,1476,1196,1070,987,817,1044,923,1116,1178,1324,1458,1310,897,536,578,893,1230,1316,853,671,462,578,1142,1394,1296,1056,738,736,1006,1042,837,903,944,988,894,1312,1592,1782,1840,1570,1272,1358,1102,1154,1478,966,813,1052,1438,1310,1352,1298,951,1005,1166,1196,1126,1218,1236,1192,1126,1344,1218,1106,1022,959,1166,1028,1130,1050,1240,1290,1050,1168,1280,1176,653,588,932,1052,1268,1420,1344,1208,1176,1248,1206,1252,1456,1488,1116,971,1180,1028,1104,1464,1472,1310,1160,1406,1354,1118,950,970,968,732,1078,944,606,820,885,787,830,855,617,573,581,498,442,441,586,763,707,538,500,493,373,294,344,308,367,489,870,1038,658,717,995,851,673,555,547,805,983],[352,376,349,343,320,314,292,285,257,670,1234,1050,567,379,292,380,512,328,368,373,371,440,376,632,1226,1260,768,857,1576,1636,1964,1758,1386,1238,1116,1021,932,803,585,468,468,514,532,537,615,655,639,639,599,507,416,379,415,489,565,630,1007,1300,1120,752,596,471,525,575,510,710,617,455,727,1001,1062,860,711,493,405,642,1210,1180,829,684,767,1252,1654,1406,1208,1250,1216,651,686,1582,1412,1042,1158,1312,1202,779,426,403,458,800,1292,1048,1074,847,714,969,1058,1180,1364,1292,1104,843,770,673,560,273,242,324,374,455,563,910,990,681,509,576,758,602,879,775,821,651,522,724,869,685,494,397,380,452,501,451,522,683,757,730,604,543,661,760,689,708,834,1021,920,717,604,433,454,639,712,592,464,450,538,667,830,1050,825,335,307,406,532,470,631,574,491,527,385,432,583,762,835,785,1072,1644,2038,1306,492,419,465,769,1040,960,810,885,1216,642,357,426,425,381,367,274,252,332,341,268,262,373,493,462,469,386,381,348,365,430,390,337,589,1013,1192,1782,2142,2338,1910,756,547,732,743,544,512,442,349,364,354,332,358,328,241,256,246,232,225,226,244,270,266,246,248,285,328,395,395,319,536,837,943,932,782,744,1086,1094,675,613,543,516,1156,1774,1848,1102,686,1270,1484,1432,1324,1242,1070,1176,1414,1394,1422,1372,1424,1070,679,495,471,553,879,1180,814,803,1208,1184,1312,1226,1256,1470,1610,1614,1630,1568,1340,1050,902,1210,1480,1210,589,481,438,807,1324,1058,987,960,921,1438,1614,1286,928,653,574,490,636,649,857,1216,1542,1384,782,577,1284,1838,1728,1790,1238,1212,1204,1268,1024,1178,1188,830,824,938,1054,1324,1742,2048,1580,1192,1532,1272,1094,1068,1568,1666,1520,1678,1934,1992,2160,2070,1692,1792,1842,1008,544,475,502,465,379,445,524,416,630,855,1094,945,836,1416,1724,1610,1400,1192,965,703,575,775,1008,724,719,971,504,432,497,455,541,493,399,397,420,721,1148,1146,907,817,1062,628,634,878,1007,1015,1108,1368,1136,936,722,365,375,511,727,480,379,636,535,455,593,833,935,694,363,393,554,991,891,1038,724,474,471,425,515,666,608,512,386,310,300,298,268,337,688,1094,1058,833,493,363,294,310,312,387,651,914,890,886,981,1074,1026,913,763,580,414,391,406,552,1230,2110,2592,2806,2248,1394,1678,1472,883,1038,1382,1208,786,763,1100,1250,1014,689,520,561,883,1046,1005,1148,1262,1276,1194,1086,1116,900,794,846,827,788,979,1370,1466,1100,1362,1800,1328,1252,1958,1848,1424,1034,1294,1334,986,1240,1538,1112,991,1262,1054,916,756,1038,1482,1262,1302,1488,1164,965,927,662,588,808,720,823,827,883,916,1148,1302,1450,1470,1354,1102,703,468,490,1030,1686,1330,1278,1412,954,770,927,772,808,1036,1050,1002,1046,1048,1114,897,863,875,973,1192,1094,861,888,948,948,913,1015,1050,649,524,1008,1356,1252,1418,1084,812,971,1124,1044,910,877,1200,1400,1062,951,991,1476,1846,1386,622,530,753,1172,1084,798,1008,1262,1034,936,1013,1174,727,528,526,983,1292,842,525,902,1206,807,369,625,968,833,963,988,723,990,1314,1442,928,428,491,609,681,802,843,907,1144,1098,1128,1452,1332,882,1024,1376,1182,1262,1158,1090,938,993,1224,1010,847,1140,1262,1034,902,1070,1236,1140,1520,1716,1404,1015,1078,1330,1252,1010,1036,1092,1023,876,585,964,2114,2012,850,763,1028,1046,874,1001,1618,1432,825,533,605,1034,885,778,874,941,694,604,694,855,1026,1326,1500,1584,1448,714,904,1001,1374,1834,1334,1298,1502,1208,652,404,689,1176,1554,1382,1282,998,622,568,549,647,1092,1017,592,488,535,998,1602,1470,1316,1232,1516,957,668,703,1126,1428,1026,647,495,980,1602,1194,1562,1514,1408,1274,869,836,896,954,848,879,1184,1382,1198,1004,802,993,1086,918,742,678,617,938,1072,708,607,766,982,730,385,250,283,501,413,255,221,306,365,357,374,361,357,441,391,336,326,343,392,408,458,498,515,421,363,376,409,483,422,352,437,449,456,580,655,760,634,540,497,407,553,841,1232,1070,697,882,574,542,556,422,275,761,1478,1248,464,490,495,285,229,221,286,371,404,426,364,343,472,666,659,550,487,570,541,405,330,363,326,312,466,535,368,323,500,706,866,710,646,609,439,300,436,824,1064,1116,1220,1294,944,798,924,692,1452,1344,721,585,862,920,795,1240,1698,1780,1106,756,1142,732,501,599,702,868,1102,1064,1023,1046,856,891,941,688,351,412,386,318,295,301,371,342,367,549,565,521,637,389,299,294,311,304,577,1018,725,480,618,515,560,767,375,382,596,710,908,991,492,260,351,515,634,826,858,783,951,1048,994,885,535,860,1088,1188,882,711,665,511,430,328,325,468,597,854,1110,1086,965,922,984,1064,960,917,772,486,392,309,435,536,692,855,1011,1124,857,495,434,555,798,988,991,1092,1208,1014,809,1180,1738,1558,1014,447,264,278,278,383,791,747,367,333,368,339,366,486,846,1202,1250,1142,1076,1140,734,810,679,1054,1124,1296,1404,1012,636,613,962,1322,1192,811,971,1268,1716,1466,1650,1826,1536,1214,1254,1410,1422,1258,1166,1176,994,941,1254,1514,1478,1292,1158,1212,1544,1786,1902,1496,1230,1440,1312,1426,1284,799,565,820,1112,1102,750,685,656,470,393,390,382,342,347,364,450,550,667,675,625,730,935,690,566,631,622,521,720,1032,1108,1088,1682,1700,1454,1372,1054,1158,1278,1186,1216,868,696,1142,1112,904,1576,2268,1962,1476,1460,1652,1626,1298,1044,1100,1344,1360,1194,780,447,447,498,505,617,976,1212,1015,821,762,758,663,743,789,688,775,1212,1238,1072,873,908,1050,1378,1412,1190,1036,922,966,958,808,607,638,694,625,542,647,560,402,415,532,814,1812,1908,1382,1346,1432,1290,1184,1184,1020,1060,1078,872,1030,1136,672,402,509,527,471,413,518,713,924,1400,1808,1628,1434,1404,1354,1388,1512,1340,1222,1312,1384,1252,1136,1072,1094,1138,1212,1452,1452,1236,1018,963,1186,1274,1312,1526,1576,1002,936,1336,1150,1186,1538,1270,874,800,970,1162,1172,970,1186,1168,1206,1174,1100,1164,952,1144,1118,1005,1172,1262,1210,1172,1128,1138,1200,1346,1290,1188,1162,1462,1368,1262,1242,1236,1490,1510,1286,1244,1396,1434,1362,1030,1128,1416,1488,1194,996,1084,1154,1194,1208,1238,1346,1168,1358,1052,868,1322,1716,1556,1304,1190,974,676,791,712,951,1362,1268,1306,2076,2204,1526,1042,954,1222,1598,1636,1384,1124,1182,1478,1596,1524,1338,1268,1272,1134,1180,1360,1620,2002,1538,667,912,991,1012,1048,818,900,1042,855,856,1190,1322,1274,1144,1480,1490,1278,930,1148,1312,1274,1268,1382,1510,1328,1136,1156,1282,1326,1156,593,350,733,736,437,270,257,249,233,241,266,338,362,387,581,412,237,215,241,285,272,402,854,966,678,766,975,1136,1202,1226,1122,1088,1194,835,737,1240,1064,650,610,508,609,887,1076,1082,841,889,947,920,1028,932,947,843,638,813,1082,1098,1546,1606,990,780,1010,1208,996,844,902,1090,1366,1476,1202,963,828,664,543,647,979,1234,1510,1748,1636,1256,801,1172,1520,1596,1362,943,745,817,995,684,656,947,999,987,692,681,611,684,821,847,1100,752,691,1060,1198,1001,838,611,423,717,874,612,703,914,1050,1046,1078,961,615,495,677,960,1154,1066,1204,1162,1454,1834,1386,1052,1384,1248,1252,1140,1060,1084,1248,1316,1234,1336,1236,1322,1300,1234,1086,733,397,415,525,822,1030,800,505,537,528,456,561,960,1412,1270,923,774,811,851,835,623,485,516,630,719,842,890,904,1260,1562,1202,739,906,1260,1192,993,962,1110,1194,1334,1344,1242,1196,955,892,1214,1118,906,865,967,1256,1182,1064,1530,1504,1354,1334,1012,816,1098,1268,988,963,1140,1262,1410,1152,1256,1502,1200,840,828,972,1082,1256,1344,1430,1494,1126,883,1018,1012,1086,1184,1096,1146,1468,1374,1498,1500,778,535,996,1218,1278,807,615,604,631,1058,1314,1334,1198,1150,655,528,756,1162,918,952,1338,1530,1498,1602,1614,1660,1516,1410,1292,1030,880,1130,814,594,1126,1418,1210,1232,1190,1198,1005,975,1382,1198,1094,1304,1298,1282,1284,820,628,713,965,956,798,1092,1172,1344,1172,1060,1098,1186,1078,972,1128,1009,871,943,1074,1222,1100,925,1158,1208,1186,1264,1432,1264,1232,1148,1013,1262,1322,1354,1300,1420,1714,1600,1196,737,653,796,716,763,753,670,952,832,692,727,681,633,531,461,430,461,455,543,802,845,594,540,474,387,368,378,404,613,648,615,687,685,891,963,621,411,389,446,716,860],[448,402,388,368,340,311,313,301,310,789,1174,776,361,288,310,372,532,409,351,404,434,421,483,726,1124,1460,1378,1182,1606,1636,1876,1676,1424,1202,1136,1005,1036,966,692,469,478,514,511,568,621,725,731,602,503,441,388,378,470,651,742,944,1310,1050,883,707,515,530,595,500,523,779,808,617,717,1112,1180,848,507,454,393,843,1456,1402,1208,1116,950,1246,1406,1274,1192,1338,1042,658,692,1488,1466,954,1034,1450,1490,922,461,354,357,641,1138,1288,1356,1194,1180,1192,1140,1372,1192,830,1182,1282,1078,1009,918,597,414,386,367,535,943,1312,1238,956,634,745,910,681,932,1110,791,776,1040,962,655,541,536,526,596,494,582,666,623,576,790,894,794,753,985,1048,539,604,951,1038,738,659,570,508,674,637,566,642,594,564,637,811,535,442,396,357,333,356,359,446,499,388,342,496,674,509,644,720,509,338,570,877,1484,1036,470,478,646,927,937,985,1142,758,753,497,414,423,374,393,346,254,264,313,339,349,284,299,351,424,484,413,359,326,341,399,457,447,639,1114,981,1556,1526,1804,1250,649,587,738,681,464,388,354,329,351,352,349,341,353,326,341,323,257,226,242,251,251,251,260,284,299,312,295,245,370,515,715,858,921,795,901,1362,1210,771,803,647,722,1178,1600,1812,1182,889,1318,1428,1216,807,929,1118,1272,1470,1522,1334,1334,1338,1356,1154,760,741,880,1244,1614,1188,678,896,774,1146,1398,1220,1384,1678,1706,1662,1382,1182,1324,1694,1472,1488,1134,750,508,517,686,932,1216,1328,1268,1186,1328,1224,1088,657,491,456,583,869,848,705,755,1090,1032,670,738,1162,1520,1688,1764,1582,1272,1166,1098,799,985,948,723,982,819,880,997,1228,1772,1556,1208,1372,1404,1318,1204,1212,1378,1328,1220,1382,1892,1746,1758,1890,1798,1866,1410,705,537,575,712,729,549,499,349,430,744,761,568,480,619,792,777,1050,1324,1005,841,819,770,791,483,556,788,504,321,328,335,332,354,393,434,507,838,1132,1118,681,500,857,904,1023,1226,1076,917,1378,1736,1432,1226,958,548,381,310,355,333,322,333,398,615,962,966,734,593,794,768,866,1184,1282,1644,1506,940,587,377,383,369,480,603,436,385,325,400,368,658,936,1016,1256,1006,417,485,393,362,415,525,623,753,791,824,877,907,905,903,869,626,370,354,493,1382,2190,2322,2676,2828,2120,1476,1648,1526,1156,1068,1494,1338,892,696,771,890,833,762,788,871,1074,1284,1262,1238,1208,1192,1118,1232,1084,593,455,549,927,1092,1098,1458,1694,1506,1584,1970,1836,1520,1400,1490,1354,1090,1248,1122,827,1168,1580,1374,962,708,948,1262,1013,1042,1554,1500,1116,1060,918,694,1006,979,461,700,1066,936,747,875,996,1134,1290,1432,1302,1110,1358,1162,863,1538,2062,1898,1450,959,727,536,382,501,869,900,646,875,1170,1114,1268,1258,1004,886,1106,1566,1458,1178,1054,726,622,734,765,657,779,899,848,1230,1658,1740,1466,976,539,487,739,822,656,1036,1328,1356,846,615,884,1578,1830,1172,559,413,689,1232,1178,1220,1276,1312,1032,1030,1418,1330,763,448,622,1186,1344,832,543,951,1118,769,557,605,626,652,799,761,730,1064,1470,1434,744,516,761,853,533,416,644,701,873,1140,1270,1276,1054,1362,2706,2446,1158,882,800,868,1094,1236,1336,1512,1542,1372,1326,1054,1044,1484,1250,785,1220,1750,1310,1122,1256,1310,1376,1404,1214,971,1298,1354,855,799,1280,1176,861,875,793,888,1009,1560,1924,1412,1166,879,487,538,697,1028,1116,885,743,810,874,1082,1262,1186,1226,1616,1598,1102,1162,1098,1102,1038,1132,1252,1044,927,985,794,1070,1260,1278,977,1552,1368,1152,1116,824,758,949,722,581,574,516,1014,2208,1606,1112,1114,1300,1312,1238,993,1092,1316,1064,747,647,1714,1860,1390,1672,2180,2416,1848,1260,1150,1012,594,522,598,719,1424,1364,908,1050,1086,927,747,703,881,830,927,735,474,466,517,457,387,361,290,396,667,769,490,228,412,464,372,392,414,421,534,510,432,364,372,362,297,279,279,361,337,365,423,450,457,470,433,369,412,491,507,599,628,469,352,380,532,667,792,759,604,472,636,605,564,482,368,290,521,1064,1058,502,469,372,265,257,278,267,271,441,571,517,414,445,604,567,502,470,525,430,241,197,262,283,301,434,572,539,467,471,484,497,565,573,567,464,361,331,338,553,946,1130,1156,1062,901,1214,1302,1292,713,466,499,721,813,1170,1466,1216,807,389,378,887,946,670,471,518,599,563,609,836,1130,1306,1266,955,799,618,753,810,946,917,778,814,828,814,912,954,943,1038,742,548,529,418,276,355,378,294,581,1144,902,505,617,509,357,350,334,557,617,354,430,697,802,869,1108,967,1048,1020,971,1024,911,710,700,524,509,630,699,588,633,711,908,957,1064,920,799,760,832,899,835,689,556,536,625,453,276,271,279,277,317,376,374,724,977,577,471,695,897,877,993,1234,1116,968,756,877,1996,2502,1432,794,477,290,286,293,366,877,689,346,460,591,462,394,380,688,1118,1138,900,921,1023,701,972,698,910,1208,1294,1306,1042,996,1326,1506,1466,1534,1476,1842,2098,2106,1544,1472,1466,1346,1344,1376,1370,1380,1396,1314,1332,842,850,1288,1416,1286,1410,1596,1574,1758,1932,1772,1010,1034,1518,1534,1526,1170,600,364,604,924,832,637,703,605,536,535,535,433,429,402,453,490,584,636,600,663,904,800,501,539,641,673,694,772,1009,923,715,970,1058,1332,1142,794,913,1172,1344,1354,771,584,675,936,1144,1828,2430,2424,2310,2000,1554,1428,1510,1554,1300,963,1076,1382,1324,918,628,602,507,677,1080,1294,1036,922,734,866,1302,1412,1054,1026,1420,1254,1180,1230,1238,1168,1238,1394,1324,1372,1244,1158,1068,977,930,739,661,626,662,602,487,410,370,507,724,1288,2632,2718,1454,1048,1158,1086,1023,1090,968,1022,968,624,773,1054,785,569,650,609,466,398,512,955,1504,1740,1638,1644,1406,1228,1408,1606,1410,1168,1152,1240,1432,1356,1522,1716,1390,1262,1344,1418,1314,1180,832,647,877,1210,1224,1190,1222,1120,872,1052,860,1016,1534,1478,1180,1198,1412,1130,855,916,1258,1146,1196,1288,1288,1376,1236,1070,919,825,1104,1300,1076,1190,1218,1178,1144,1350,1318,1138,1290,1498,1388,1180,1102,1332,1472,1434,1262,1178,1348,1312,1150,836,994,1390,1438,1302,1220,1232,1282,1576,1582,1344,1382,1624,1672,1340,1340,1494,1500,1512,1272,1016,1028,593,533,459,764,1064,997,1208,1992,2144,1276,991,965,1404,1658,1600,1082,741,1112,1296,1428,1578,1382,996,1066,1288,1470,1328,1162,1188,1128,961,854,880,1036,1042,780,711,1090,1015,1144,1170,1218,1308,1456,1370,996,798,774,1086,1300,1328,1342,1388,1186,1082,1020,764,1062,1010,738,389,243,300,321,289,203,199,246,253,234,306,371,341,391,414,342,253,263,338,280,274,664,1010,1190,1020,641,559,1018,1234,1194,1184,1486,1664,1372,1410,1198,511,396,511,543,550,761,686,380,623,1282,1592,1074,849,572,583,516,502,630,794,1416,2042,1434,596,696,1044,1154,954,1126,1500,1732,1544,1490,1324,1504,1594,925,514,682,648,566,1021,1550,1694,1340,1278,1336,1572,1562,1366,1230,1048,846,548,383,382,484,499,491,443,573,529,452,413,628,962,1026,1292,1518,1202,1120,1316,709,422,433,499,410,577,767,1046,1003,615,693,763,588,767,988,767,725,1034,1400,1548,1490,1224,1598,1704,1358,1324,1218,1378,1062,1126,1516,1220,1186,1240,1448,1360,1018,1202,1074,460,417,405,511,777,965,840,587,486,713,1178,1618,1526,1302,1334,1108,1210,848,688,548,501,529,472,537,681,619,690,1194,1450,1180,880,788,1032,902,1122,899,1158,1550,1548,1394,1290,1266,1118,932,1048,1234,1138,888,965,1260,1368,1390,1474,1188,881,869,830,852,1032,1220,1312,1018,1036,1368,1110,832,806,1044,1400,1394,1032,977,990,1050,1130,1310,1344,1068,579,618,874,1042,1128,872,1026,1176,877,1368,1770,1062,472,901,1058,982,741,944,1192,957,1100,1224,1192,1426,1206,550,377,513,1070,1044,1116,1628,1792,1720,1576,1686,1444,1298,1298,943,733,691,519,440,608,1018,1154,1094,1110,1098,1011,734,971,1172,1228,1236,1400,1504,1544,1250,742,577,725,891,883,893,1007,1316,1194,958,1122,1192,1180,1128,1126,1236,1190,929,870,1018,821,605,1005,1318,1318,1372,1434,1372,1260,1466,1416,1392,1400,1282,1378,1230,1380,1552,1368,1272,1032,775,1064,1202,1104,1028,888,969,670,614,747,813,802,619,457,367,396,522,622,667,857,832,680,474,463,565,485,404,545,695,865,735,539,488,435,355,382,506,488,671,901],[682,518,378,458,383,278,348,361,316,506,473,357,308,303,411,404,423,460,491,617,608,371,332,443,1058,1692,2118,1958,2058,1926,1792,1730,1284,1082,1090,1074,1138,1158,836,474,446,509,556,642,748,944,796,509,450,440,398,406,570,663,952,1282,1058,817,1080,855,522,518,526,480,395,530,878,1042,1146,1444,1112,675,494,458,529,1168,1760,1598,1166,1013,1094,1182,1094,1158,1072,1312,1024,565,547,1128,1340,958,771,1240,1508,1362,794,710,834,919,1021,1088,1058,880,753,887,797,987,1242,1170,1294,1264,1166,1024,709,522,447,351,342,661,1102,1202,973,685,803,1034,930,675,938,1200,752,897,1372,1208,894,752,469,418,454,786,1306,1044,590,780,1104,948,942,998,914,886,587,599,750,694,700,1078,1376,1120,949,1048,902,982,1050,738,662,918,766,869,903,523,274,318,305,298,355,427,501,846,1046,659,680,600,422,480,547,562,695,656,599,647,790,923,760,780,1120,915,430,276,363,335,333,437,457,310,344,363,414,414,380,362,412,593,718,616,448,489,617,675,744,769,896,1166,1017,1144,821,786,665,560,576,653,610,460,393,378,328,328,328,341,360,357,324,383,410,296,251,256,255,245,243,250,266,325,346,253,239,549,805,826,957,847,843,1052,1126,871,814,1010,919,969,1158,1348,1290,820,786,1074,1248,1306,980,1002,1200,1368,1426,1244,1206,1148,1302,1606,1668,1488,1200,1366,1328,1510,1286,831,480,459,939,1368,1258,1234,1454,1446,1384,1212,1282,1544,1786,1322,921,644,647,659,849,1038,953,1158,1378,1428,1232,1094,975,1124,804,481,453,604,816,880,530,717,1268,1007,668,771,1296,1632,1510,1528,1664,1516,1142,784,638,794,793,836,1164,749,722,1038,1100,1370,1334,1068,1102,1632,1600,1028,987,1504,1258,1276,1272,1432,1462,1828,1848,1628,1842,1750,1138,891,769,757,556,595,518,390,457,513,375,314,336,390,482,720,1410,1472,916,902,915,608,868,930,1068,963,524,312,262,280,414,579,653,810,863,1062,1282,1021,620,730,995,1072,1312,1294,840,929,1432,1734,1728,1604,1454,1188,673,332,405,507,416,327,375,598,1082,1048,562,474,819,747,937,1244,1486,1744,1406,1004,860,563,407,430,520,669,469,520,668,785,670,1244,1722,1252,818,960,772,891,858,684,1134,1172,854,804,779,794,815,844,809,813,797,661,447,410,879,2056,2268,1958,2346,2190,1256,1034,913,958,1278,1316,1598,1488,1194,1018,966,1038,951,956,1376,1490,1264,1188,1136,1054,1070,1060,993,778,1023,888,580,456,912,1308,1334,1376,1318,1340,1406,1736,1532,1438,1488,1356,1224,1396,1408,1356,1212,1078,1224,1294,1202,743,695,1144,1258,1058,1422,1470,919,1058,1192,945,1366,1092,597,832,1146,1130,964,1002,1278,1312,1058,1100,1076,970,1076,1090,1166,1716,1718,1330,1362,1188,552,372,353,491,893,926,504,636,1096,1234,1172,1005,897,918,1196,1368,1128,1074,1094,1078,849,462,530,834,1032,1210,1208,1154,1256,1096,797,620,467,395,446,638,817,1396,1240,1020,602,450,545,1030,1346,936,481,659,1080,1274,1210,1298,1410,1282,1007,990,1400,1358,811,484,622,1036,976,796,512,848,857,709,691,680,714,720,680,641,722,1172,1524,1560,865,805,918,944,678,461,578,661,829,1192,1378,1336,1070,1168,1782,1270,860,585,598,776,852,933,1028,1100,1040,966,1200,856,749,637,662,630,1184,1574,1142,997,1021,1206,1354,1516,1448,1160,1432,1324,1222,1188,1144,1010,916,1018,959,1023,1312,1626,1382,1252,1428,1140,719,687,913,1070,1088,1032,1202,1254,1210,1416,1232,992,910,1232,1278,1256,1042,1096,1100,1070,1250,1350,1272,1062,1238,1146,1336,1440,1400,819,782,756,891,1196,1042,924,974,916,1076,1036,763,1052,1510,1122,888,1010,893,834,1050,1062,973,973,846,773,687,917,987,1198,1294,1992,2058,1392,1068,1172,1190,763,1256,1780,1878,1778,1676,1372,1332,838,461,474,746,909,959,892,709,955,768,462,399,463,394,320,358,615,981,739,302,435,474,311,313,380,434,534,523,472,402,316,241,367,492,879,916,574,482,389,449,445,448,396,478,618,569,603,577,484,415,375,410,509,502,496,477,506,436,516,601,482,470,531,391,817,1090,700,477,332,229,268,355,395,380,438,544,621,599,493,602,611,503,433,352,325,295,252,241,267,305,392,518,582,586,401,307,301,316,339,311,373,480,408,296,221,269,571,1034,1062,1026,915,856,735,614,648,759,637,545,643,916,799,379,220,261,520,1134,1244,833,490,524,857,978,910,703,634,1070,1192,1440,1007,436,438,625,808,723,698,749,729,631,842,1134,1120,1072,1018,1010,845,624,576,515,383,319,628,1052,543,320,409,563,538,425,383,296,387,518,879,987,922,891,921,843,1176,926,509,716,970,1004,819,705,583,708,694,852,801,693,676,726,677,538,653,726,703,692,965,733,587,891,651,379,282,311,374,471,636,455,405,727,783,736,1288,1678,1662,951,738,991,803,506,381,638,1654,2258,1212,1114,566,305,307,328,567,948,810,598,752,775,594,955,677,480,544,571,782,916,1102,944,1062,835,702,939,1040,873,720,1168,1670,1422,1300,1378,1438,1506,1676,1682,1404,1242,1284,1394,1344,1368,1226,1184,1082,973,1032,1046,1056,1122,1304,1388,1626,1598,1230,1346,1382,1450,1040,1084,1126,927,898,752,585,556,864,993,780,633,694,624,610,703,650,485,448,425,509,543,520,565,689,877,974,662,518,556,652,869,1044,1060,1116,937,780,791,830,691,570,793,833,932,1338,1364,1036,804,886,1110,1246,1816,2176,2304,2778,2854,2542,1876,1532,1620,1696,1626,1226,987,1196,1396,1118,826,735,1052,977,1021,858,814,880,1402,1614,1060,619,845,1244,1204,1468,1860,1992,1456,1268,1252,1258,1328,1398,1454,1122,768,961,772,670,517,449,396,396,410,387,449,559,1040,2380,2942,1646,1084,1102,1023,1250,1632,1294,1030,1096,1176,1270,1290,1034,874,861,708,530,478,624,964,1362,1452,1488,1742,1650,1418,1448,1456,1286,1216,1274,1364,1262,1208,1732,2170,1938,1512,1282,1196,1208,972,667,664,736,834,1152,1410,1476,1510,1034,755,1040,1356,1540,1624,1504,1378,1396,1144,893,1018,1350,1180,1192,1298,1288,1266,1200,1206,1058,869,1230,1428,1472,1318,1140,1190,1388,1366,1260,1434,1622,1350,1212,1086,1130,1314,1188,1044,1172,1422,1386,1256,1110,805,765,951,1028,1156,1204,1230,1688,2526,1962,1418,1424,1484,1348,1334,1268,1272,1282,1354,1434,1344,1076,573,502,560,931,1248,1318,1278,1290,1298,940,823,698,1042,1262,1262,990,1064,1316,1392,1250,1316,1542,1208,1236,1360,1372,1234,1018,920,1130,1182,966,900,1021,1052,900,775,1002,1015,1120,1146,1080,1204,1190,901,847,888,1112,1320,1294,1216,1102,1116,999,1074,843,606,590,486,511,427,278,292,288,256,179,150,236,283,258,353,378,308,333,379,285,265,356,390,300,324,577,691,1284,1254,788,422,526,796,966,1260,1902,1998,1642,1390,753,679,651,473,549,495,905,1098,495,793,1466,1622,1092,729,689,1154,991,813,617,691,1278,1826,1470,519,440,628,725,645,663,1112,1626,1792,1682,1328,1056,744,493,669,678,604,655,766,1198,1652,1494,1670,1644,1456,1064,904,1144,1172,791,353,334,326,394,339,380,473,437,520,684,568,570,992,1384,1426,1354,1280,988,1250,1064,790,747,529,499,869,863,945,976,698,973,1194,807,709,985,702,425,943,1440,1522,1262,863,1008,1168,1178,1108,1260,928,829,1488,1734,1528,1136,1005,1154,1052,1246,1466,867,361,306,437,562,427,602,939,741,612,1154,1346,1196,1294,1428,1364,1306,928,1118,1084,730,703,613,479,436,518,547,782,977,922,1228,1250,1116,1180,1062,1058,836,1054,1588,1588,1220,1318,1606,1210,1010,911,1076,1244,1252,1240,1276,1300,1170,1094,1130,1364,1354,992,1120,1112,1108,1486,1198,860,835,762,817,714,635,1046,1528,1592,1284,985,764,1166,1584,1490,1064,794,913,1038,1202,1514,1270,1496,1334,974,1042,1440,995,474,451,414,434,535,772,1034,1088,1320,1296,1196,1182,1000,666,571,731,1124,1430,1548,1568,1562,1384,1454,1196,1009,988,840,521,371,363,346,467,843,1190,1186,1164,1166,1260,1086,999,1272,1352,1190,1023,1326,1750,1496,1156,939,926,1140,863,653,741,829,1180,1342,1214,1266,1466,1532,1496,1232,1202,1186,903,1176,1350,1358,956,890,1272,1354,1268,1394,1372,1260,1406,1360,1382,1378,1372,1374,1256,1206,1368,1814,2140,1792,1238,1278,1092,1114,1118,1148,969,664,547,747,852,670,678,790,387,495,796,697,583,897,794,647,664,609,539,536,427,334,685,1064,630,374,388,567,525,436,457,461,498,748],[1022,781,1032,1242,639,425,513,518,440,455,389,271,280,377,388,279,407,592,650,691,651,444,480,728,1122,1440,1798,1990,2136,1920,1682,1494,1220,1128,1118,1158,1160,1112,748,511,498,612,748,936,965,875,750,555,480,449,449,521,655,951,1272,1102,893,914,1032,888,796,808,767,560,388,340,527,937,1322,1394,848,568,625,644,803,1172,1656,1412,909,628,732,803,977,1112,1050,1082,1001,825,939,1054,1242,1242,927,1230,1368,1452,1208,980,891,885,960,844,465,402,396,412,339,533,949,1202,1354,1338,1394,1072,491,267,374,426,411,578,715,675,474,279,532,717,711,633,763,932,1038,1024,814,876,1116,830,449,432,802,1366,1498,982,600,854,899,1009,942,1132,930,842,565,654,687,714,771,1108,1400,963,762,1132,1108,949,1072,1268,1146,1114,919,1098,1150,572,279,315,262,277,346,393,446,799,959,763,631,560,667,924,941,871,775,662,642,702,935,808,1048,847,645,656,426,247,308,326,415,523,483,296,330,395,487,440,382,349,479,671,795,714,536,554,667,672,671,674,1048,1026,698,641,684,659,657,630,618,618,603,454,387,372,419,530,507,472,398,354,287,308,349,278,261,251,243,226,218,235,257,300,294,287,420,764,1046,1010,1026,764,761,828,637,485,865,1128,1240,1240,1052,1242,1134,938,975,985,1296,1214,1144,1152,1218,1338,1178,1216,1092,1056,1424,1446,1422,1318,1144,1310,1082,1166,1264,946,572,498,777,1128,1212,1218,1390,1388,1372,1346,1380,1512,1470,1332,957,770,1184,1404,1418,1340,935,1100,1390,1384,1172,1384,1122,1030,874,524,542,601,541,598,534,1146,1646,1370,805,865,1382,1310,1066,1088,1220,1332,973,598,717,980,930,607,787,1004,918,959,835,966,1480,1402,997,1686,2028,1216,957,1620,1520,1564,1544,1182,1548,1886,1556,1258,1040,869,672,568,511,637,402,483,566,554,920,1168,802,403,383,502,546,781,1358,1200,1062,1060,723,623,874,1072,1274,1056,572,348,348,470,1108,1676,1930,2162,1916,1566,1104,807,852,1030,1160,1160,1007,797,580,678,868,1228,1498,1748,1660,1272,739,446,465,583,651,415,448,452,567,602,761,734,684,608,600,825,1318,1442,856,634,822,976,801,656,566,551,669,1164,1698,1374,892,1270,2054,1640,872,957,1414,1510,1628,1108,1058,913,863,843,727,777,744,725,728,798,736,569,435,447,1370,2254,1928,1888,2386,1538,909,1188,1110,1148,1376,1268,1322,1278,1232,1260,1288,1350,1242,1216,1240,1192,1094,1108,1220,971,1092,943,849,889,761,697,701,387,563,984,1240,1316,1444,1560,1674,1572,1304,1242,1374,1250,1086,1378,1218,1230,1194,833,680,876,1046,1130,928,1008,1394,1410,1360,1148,1108,1530,1334,949,937,691,730,811,1238,1390,916,670,868,968,938,1022,949,860,772,843,1118,1524,1714,1578,1826,1566,733,448,480,450,698,642,673,753,889,1130,962,672,830,1005,1086,1390,973,1130,1248,1048,611,780,1282,1834,1662,1216,1068,1194,1196,1152,1020,971,579,446,314,389,579,1005,952,625,496,508,602,851,833,739,603,1018,1310,1404,1226,1040,1150,1302,1084,1050,1322,1186,713,539,686,915,686,811,855,1102,1202,1028,746,635,636,674,660,688,792,1306,1572,1454,826,694,782,740,694,616,560,680,860,1072,1060,960,823,736,714,630,495,503,533,527,588,805,1082,1356,1446,946,1096,1001,818,738,754,636,1078,1418,1204,1013,1019,1136,1194,1286,1364,1336,1218,1250,1280,1228,1280,1118,919,987,1154,1376,1572,1344,1166,1162,1302,1034,842,940,1072,1176,1154,1132,1262,1302,1302,1274,1108,666,552,810,1048,844,783,1078,1050,962,1064,1260,1416,966,1028,844,1032,901,1016,1272,1320,1134,969,895,949,977,916,899,1234,1282,905,908,1176,1318,1216,1160,1060,670,702,1312,1080,1124,1094,862,1098,1060,1128,1152,1058,1234,1318,1160,1076,1406,1476,1456,1918,2214,2270,1902,1566,1248,1004,774,437,495,824,858,814,911,885,1278,1196,686,451,602,660,464,354,444,615,510,354,420,398,292,318,456,465,413,398,409,341,292,781,1386,960,1490,1962,1910,1092,809,674,424,449,535,789,842,742,561,528,776,764,503,444,426,419,425,514,578,513,521,545,592,519,527,504,1250,1438,664,279,225,258,373,458,515,550,570,541,534,515,517,576,404,402,357,227,264,321,322,310,379,418,505,522,548,534,391,323,402,402,285,283,325,469,452,371,278,339,445,536,844,1014,1044,854,661,626,756,942,827,630,710,626,486,276,264,395,838,1300,1314,1124,804,705,1224,1294,1334,908,742,664,1017,1540,1060,591,712,778,538,375,375,309,358,454,680,778,751,695,570,513,408,460,636,882,625,413,384,423,330,328,662,1178,869,536,701,586,585,852,985,810,764,907,966,1013,1170,918,586,762,1148,1354,1190,640,299,421,431,464,471,405,412,681,732,625,586,733,776,738,1220,795,612,1040,710,397,310,303,359,428,510,379,490,764,716,1166,1522,1510,1300,940,1184,1302,699,303,302,344,813,1458,1260,949,431,320,335,404,730,1023,1019,774,755,1172,896,1382,1005,780,865,969,1142,1015,1090,1088,893,808,749,1074,1174,740,750,1292,1112,713,590,743,1046,1256,1350,1316,1378,1272,1230,1482,1402,1418,1410,1248,1110,1222,1494,1406,1042,991,1234,1376,1504,1312,1066,1126,1054,1298,1258,1242,1230,1028,662,488,666,901,1202,945,877,695,693,727,735,751,645,508,463,544,588,500,441,559,751,988,900,698,602,666,661,778,901,1172,1190,863,765,813,840,793,694,781,857,869,1188,1244,897,729,987,1098,1262,2190,2630,2502,2834,3020,3082,2792,2246,1826,1838,2070,1860,1516,1048,968,1404,1262,1230,1448,1328,1172,1048,959,1034,1118,775,474,478,518,963,1550,1768,2352,2018,1202,1030,1168,1276,1276,1346,1306,1002,651,857,979,587,380,395,412,401,396,384,430,617,1038,2126,3002,1888,1488,1332,1272,1352,1210,1198,1444,1562,1366,1260,1570,1364,976,678,668,580,498,684,955,1166,1190,1250,1444,1704,1720,1420,1298,1264,1260,1190,1250,1206,1202,1418,1722,1634,1358,1202,1186,1176,800,786,804,852,675,742,1218,1348,1344,1210,1030,1310,1478,1396,1520,1500,1382,1204,1190,1282,1516,1516,1384,1478,1472,1268,840,713,1246,1472,1512,1430,1308,1464,1336,1182,1286,1444,1508,1408,1494,1672,1400,1316,1346,1148,1148,1078,1005,1316,1660,1360,1166,1238,1146,1010,1000,1086,1156,1362,1198,1380,1672,1732,1626,1466,1400,1400,1444,989,1018,1320,1240,1400,1418,1188,839,609,664,1016,1302,1190,809,760,862,1116,883,491,617,965,1066,1256,1516,1394,1340,1306,1392,1558,1590,1316,1162,916,1062,1268,1190,1006,829,826,983,1198,899,652,672,672,1178,1444,1272,1042,1122,1204,1334,1344,1286,1390,1220,1092,901,1058,1368,1320,1228,802,346,234,318,443,395,302,238,248,229,178,205,270,246,250,317,305,243,284,392,335,321,336,295,262,266,256,418,681,617,359,251,297,311,361,752,1730,2068,2040,1536,810,655,691,708,780,918,1370,1220,759,1078,1152,1424,1366,727,1010,1788,1840,1698,1222,772,680,980,852,589,453,698,708,507,500,594,647,932,1178,1084,905,653,591,673,541,741,1222,1290,1260,1676,1660,1636,1554,1158,812,832,950,659,453,382,329,315,320,396,738,746,400,393,452,540,751,1046,1342,1566,1468,1140,734,717,628,837,1060,937,1015,1206,696,728,814,871,1018,1006,645,788,1308,1068,452,516,684,722,803,772,929,1100,1108,975,761,535,1246,1714,1358,1232,1202,1114,771,736,1190,984,492,329,306,655,771,484,506,634,698,1009,1290,968,730,968,1144,930,763,875,1296,1450,1498,1042,629,573,516,488,510,810,847,1168,1396,1240,1272,1126,1002,1158,978,661,919,1376,1274,1138,1312,892,1030,1084,808,869,1108,1356,1416,1324,1282,1270,1248,1444,1346,1238,1266,1154,1276,1550,1628,1130,598,744,1160,855,552,788,1274,1650,1552,1340,1098,993,1332,1532,1246,1204,1540,1502,1234,1498,1556,1556,1296,1250,1396,1360,943,716,670,623,522,462,445,636,1238,1466,1352,1424,1058,932,885,810,1202,1562,1744,1764,1554,1548,1252,1378,1188,1224,1020,662,337,312,330,351,440,783,1360,1456,1530,1494,1906,1538,1260,1176,1350,1538,1294,1464,1730,1410,1390,1426,1322,1238,987,780,487,709,1216,1386,1280,1366,1456,1398,1464,1236,1250,1164,1164,1216,1084,1270,1184,963,1000,1206,1298,1402,1356,1512,1544,1494,1352,1280,1310,1362,1282,1256,1484,1584,1896,1860,1296,1050,773,827,1028,1186,904,613,563,605,727,716,666,832,448,461,512,397,524,1015,882,624,730,640,521,644,544,535,937,696,417,356,436,470,420,419,403,469,535,552],[845,834,1278,1420,828,664,830,1068,1448,935,610,598,446,366,473,749,825,579,412,370,717,1212,1606,1498,1278,1494,2048,2496,2402,2016,1670,1584,1438,1152,1024,1028,1252,1094,703,545,618,788,936,944,831,664,551,510,498,481,618,683,875,1224,1050,941,1108,1188,1154,777,969,1060,1290,988,651,422,370,444,827,888,562,509,445,727,1124,1390,1698,906,641,524,494,520,633,870,716,521,752,825,957,997,1190,1366,1524,1398,1210,1052,866,658,489,479,659,772,309,359,439,568,487,414,782,1194,1284,1218,1072,679,464,315,350,468,374,348,374,394,373,294,313,443,594,763,855,1086,1438,1158,748,561,697,536,422,490,1078,1556,1188,749,782,1112,1338,1626,984,963,802,649,639,740,785,838,832,781,810,615,919,1084,1166,1252,1218,1144,1318,1186,781,953,835,364,338,361,275,347,408,320,369,832,1102,1114,1056,781,1048,1182,989,771,669,479,580,563,636,745,1200,1052,637,536,378,265,279,405,896,831,453,316,300,420,411,393,406,356,455,642,768,748,662,714,832,797,825,800,1138,1278,1128,1112,1184,999,728,668,679,649,620,463,330,326,499,621,688,644,415,377,341,304,292,263,251,243,242,236,228,243,274,294,270,293,384,579,943,1096,1134,941,625,575,555,739,1038,1002,1250,1250,881,1242,1178,1394,1660,1498,1450,1044,1114,1172,1013,821,959,1460,1560,1618,1626,1494,1408,1368,790,569,731,1024,1240,1128,730,571,887,1202,1246,1174,1368,1514,1488,1338,1418,1538,1382,1278,1140,937,1202,1472,1634,1336,1344,1408,1228,1034,1342,1654,1378,1044,825,775,672,540,375,374,900,1462,1678,1476,1178,1078,1164,1012,724,998,1234,1148,1058,929,908,1172,996,561,491,626,907,973,656,753,1388,1848,1386,1326,1730,1510,961,1168,1244,1452,1648,1492,1614,1650,956,437,340,334,344,510,695,848,688,602,666,866,1174,1150,902,750,659,713,811,833,949,913,1282,1178,760,688,833,1226,1382,1042,706,484,429,703,1246,1610,1668,1440,1554,1426,845,991,1246,1282,1056,921,770,841,673,544,552,720,1012,1428,1504,1310,1092,953,628,527,698,631,985,832,544,501,850,1078,1015,816,691,833,1286,1272,843,487,543,719,929,921,675,648,816,1202,1516,1194,813,708,1262,935,899,1015,1262,1438,1400,931,581,525,718,775,851,1032,1038,1092,1110,949,754,547,436,391,1032,1730,1786,2176,2386,1332,1018,1252,1388,1152,1019,1056,1182,1172,1204,1400,1482,1356,1360,1396,1222,1172,1186,1048,961,796,974,845,708,1160,1162,805,837,419,402,486,711,1022,1368,1246,1068,1058,1294,1398,1400,1360,1400,1362,1244,1356,1086,857,940,1080,888,1158,1490,1554,1580,1418,1017,656,946,1092,860,929,923,1013,902,937,1386,1248,1007,756,832,959,1240,1300,1226,1086,899,998,1484,2078,1912,1362,1256,823,773,553,419,328,557,716,893,961,1006,1194,1124,950,1190,1176,1021,1110,1108,1604,2978,2102,1220,1708,1694,1432,1298,1098,940,1150,1124,869,935,1454,751,383,445,535,797,1086,827,664,525,412,385,440,435,520,631,872,1194,1372,1312,1120,1072,1278,1174,1080,1062,885,703,807,796,846,885,947,893,799,1118,1170,843,711,684,705,672,663,850,1334,1556,1282,921,842,755,642,666,694,549,533,939,1372,1426,1138,796,623,578,546,452,431,536,755,769,834,1038,1376,1550,938,1100,1248,1120,912,731,725,909,982,844,1024,1142,883,1188,1128,1190,1270,1096,1028,1106,1102,1176,1266,1060,821,1150,1434,1598,1426,1390,1182,922,886,1092,1198,1188,1202,1138,1042,1048,1086,859,658,870,872,619,770,1019,720,599,859,966,916,1076,1160,1180,944,995,962,935,829,672,844,1324,1316,1324,1374,1240,1190,1078,893,1098,1010,899,1023,1062,1168,1012,1218,1456,916,983,1280,1064,1224,933,669,937,804,741,1064,1116,924,1015,917,1122,1418,1450,1376,1488,1464,1372,1620,1550,847,473,427,404,430,539,611,966,1158,1314,1350,836,587,694,735,818,704,561,503,408,389,369,393,345,323,354,384,395,401,379,354,374,1064,1734,1550,1023,1484,1884,1678,1528,1804,1698,1144,802,799,733,519,467,522,764,1011,1023,769,499,440,430,383,429,522,477,445,490,680,509,620,574,806,779,383,243,284,374,487,530,533,509,495,472,472,482,542,451,276,232,202,200,266,367,478,461,522,544,492,332,370,435,412,398,505,547,440,433,450,498,507,497,430,432,424,314,373,657,949,991,979,1222,913,816,854,792,641,595,536,446,576,888,1046,1106,1174,1196,1152,878,1316,1288,973,849,960,501,489,1096,943,864,1594,1562,730,489,541,372,417,612,709,595,535,432,401,540,509,318,383,458,655,681,507,369,370,313,598,869,613,355,402,630,588,653,770,684,731,808,826,885,1038,1202,1226,1206,1200,1148,943,469,421,519,698,792,709,586,396,444,816,1082,896,1134,957,564,803,938,853,751,561,373,263,232,229,236,268,347,698,684,618,918,910,820,865,761,911,1486,1410,931,517,344,336,424,616,532,441,389,367,568,938,980,1142,960,948,1766,1654,1580,1132,826,890,963,1006,952,1064,1068,835,1058,1278,1344,1302,1106,849,1176,1046,464,225,348,632,1322,1422,1228,1218,1280,1396,1460,1356,1388,1154,833,1140,1500,1200,1040,1082,930,1188,1358,1498,1250,1110,1194,1108,1172,1136,1152,1192,1084,727,601,1030,1266,1252,833,766,724,727,737,735,674,559,466,457,541,492,429,508,752,879,957,767,742,775,686,666,631,822,983,718,639,705,769,772,713,583,635,727,762,1102,1276,760,1024,2032,2104,2130,2840,3292,3120,2878,2994,3176,2954,2584,2060,1620,1742,1754,1908,1804,1440,1314,1406,1510,1550,1524,1478,1294,1022,861,653,528,730,601,550,1426,2288,2508,2096,1398,1054,1090,1050,1250,1322,1306,1134,1122,721,601,692,560,470,453,427,427,461,462,532,788,1064,1520,2060,1672,1354,1254,1248,1242,1318,1434,1426,1352,1090,947,1482,1482,930,570,543,546,487,575,848,1084,1142,1054,855,1354,1682,1506,1374,1338,933,724,1016,1276,1310,1256,1290,1256,1312,1302,1238,1086,862,843,782,752,761,669,768,1006,1108,1054,1266,1206,1192,1136,1234,1478,1790,1532,1312,1310,1302,1216,1176,1180,1054,970,1238,936,1042,1262,1332,1094,905,1005,1176,1338,1288,1272,1446,1384,1532,1436,1296,1220,1256,1236,1130,1023,1038,1350,1508,1142,1388,1362,1186,1146,1112,1190,1013,1021,1250,1428,1418,1400,1092,1174,1102,1216,1434,1004,1012,1288,1208,1238,1482,1466,932,586,567,658,865,818,939,853,1024,1070,745,519,732,1086,1208,1294,1478,1230,1210,1154,1226,1354,1622,1560,1398,1112,1160,1188,984,704,748,995,1198,1220,692,683,913,948,1036,1122,1038,1054,1360,1232,1264,1496,1234,1050,1052,1126,1092,1130,1044,1042,1017,598,278,267,320,351,365,308,291,256,218,212,248,292,269,238,266,250,267,353,428,336,251,246,234,260,330,401,376,344,335,270,248,320,475,474,520,1158,1666,1860,1782,1304,827,508,557,902,1234,1178,1104,1292,1138,995,1114,1316,1272,1506,1820,1962,2048,1792,1048,532,492,492,575,645,1001,821,610,835,756,642,655,372,498,512,481,527,403,523,859,1150,1080,1354,1754,1538,1522,1266,1056,1070,1092,796,444,396,324,291,336,367,446,788,780,346,329,342,617,796,1094,904,1180,1378,1152,966,727,578,500,583,1056,1344,1170,846,933,969,941,1002,764,696,1132,1234,1050,953,802,670,972,954,1070,1120,1114,939,1142,1030,1224,2014,1924,1262,861,1017,1318,1021,568,508,668,743,576,445,942,917,514,497,634,1064,1320,1104,899,899,683,899,1036,686,862,1042,1238,1420,730,448,501,555,630,537,617,805,1210,1404,1546,1440,1100,964,1202,1216,1038,958,924,647,540,909,1342,1570,1194,1120,1216,1292,1428,1564,1276,1402,1342,1488,1132,929,1144,1296,1310,1144,1430,1546,679,433,625,759,583,777,998,1218,1382,1506,1554,1344,1190,1432,1332,1166,1176,1626,1428,1184,1334,1356,1136,1024,1013,1230,1484,1102,948,817,813,807,792,522,470,872,1096,1378,1494,1350,1488,1510,1506,1708,1628,1662,1678,1622,1360,1142,1082,1260,1454,1422,1021,599,391,362,390,404,547,1038,1312,1418,1400,1416,1346,1304,1208,1352,1662,1530,1750,1622,1504,1252,1248,1310,977,1048,992,771,1214,1294,961,1070,1182,991,1120,1284,1352,1356,1258,1288,990,644,689,1028,1158,921,1118,1202,1356,1336,1378,1300,1172,1094,905,976,1013,850,1076,1270,1276,1264,991,815,770,549,703,901,899,829,674,539,469,539,549,484,509,766,794,649,673,782,856,785,632,637,591,491,583,496,601,809,671,490,399,433,458,474,467,451,488,466,591],[727,656,639,628,479,554,861,1188,1116,916,982,1034,841,694,1170,1748,1482,634,446,509,1332,1732,1950,1990,1890,1938,2198,2526,2426,2108,1692,1548,1270,1082,942,836,1098,1228,899,689,919,1024,984,924,789,606,517,494,478,443,500,772,1196,1182,946,1086,1322,1620,1190,868,854,835,1028,1146,1132,824,407,512,871,799,567,497,497,691,957,1312,1160,758,628,451,443,484,516,655,670,425,560,497,432,482,714,1388,1820,1498,1124,880,722,672,433,409,707,709,351,364,664,763,801,750,747,1106,1150,1056,1044,489,322,361,620,451,289,363,398,458,404,280,383,599,811,865,923,1006,1260,1220,951,684,612,512,445,436,697,1084,720,422,613,765,744,933,1094,1110,889,691,716,731,812,824,912,861,916,717,1078,1040,1056,1328,1286,1100,1192,1030,752,676,604,432,636,739,667,613,759,752,662,1076,1324,1522,1346,794,932,886,811,572,484,574,745,780,991,1018,865,957,919,860,621,424,420,425,709,675,404,341,320,362,411,426,375,328,368,463,748,1240,995,824,832,968,1112,1078,1120,1070,1220,1288,1552,1096,598,431,430,425,547,468,363,368,452,501,483,546,469,368,382,511,415,279,271,276,290,299,277,265,300,291,253,274,287,376,600,808,721,514,375,458,508,716,1200,1304,1064,849,501,691,1116,1498,1584,1354,1346,1288,1174,1168,1244,1218,1266,1252,1414,1366,1284,1236,1366,1274,914,805,905,937,1184,1100,650,482,850,1042,944,1024,1162,1370,1512,1396,1172,1048,1012,1050,1332,1456,1556,1578,1568,1434,1472,1570,1084,915,1300,1174,735,705,949,1242,1078,796,622,837,1416,1702,1554,1666,2046,1454,1246,1100,771,1110,1362,1180,1246,1218,1040,958,863,626,489,460,495,575,649,616,1003,1576,1242,973,1026,1204,1082,916,1100,1484,1238,802,1040,1494,1210,563,401,373,297,379,714,941,754,913,757,725,654,602,791,810,750,971,1068,1168,926,836,1342,1316,1016,1048,1009,1068,1220,1126,1064,959,909,1186,978,768,833,875,1176,1174,1180,1500,1316,1284,1007,662,540,612,581,542,494,480,787,1124,838,848,1070,1506,1048,576,660,964,1316,982,672,802,910,963,1022,1076,1278,1366,1498,1458,1060,672,600,480,767,943,764,734,700,655,584,506,628,992,1126,837,846,962,828,1010,1318,1002,511,485,678,777,1052,1182,1134,1090,1018,771,577,578,657,761,973,1180,1442,1874,1694,1322,974,1128,1392,1096,985,1102,1208,1172,1068,1230,1274,1238,1154,1422,1296,1396,1390,1112,1054,865,739,801,739,1054,1100,1094,922,664,552,514,808,1068,932,717,508,634,1144,1120,989,858,1486,1556,1372,1130,869,809,895,915,855,955,1242,1496,1534,1382,1003,938,1112,946,766,788,1102,1344,1042,937,1334,1078,717,776,781,877,1010,1116,1328,1304,1194,1202,1488,1726,1692,1744,1166,893,859,613,494,391,418,653,752,802,1086,1084,1058,1320,1292,1270,1230,1182,978,1670,2896,1914,1178,1384,1064,924,761,822,704,794,1198,1034,900,1158,711,390,406,445,904,1264,1078,1126,1034,1007,572,526,752,1030,933,836,1106,1240,1316,1312,1334,1310,1246,988,893,709,540,855,772,706,955,1122,1054,1152,1358,991,1168,936,518,512,677,634,896,1344,1500,1170,795,862,820,708,655,738,495,479,892,1236,1390,1234,843,558,511,485,504,725,1116,1164,715,576,642,772,821,709,935,1390,1500,1154,795,621,612,918,1058,1198,1038,805,705,848,1048,1172,1046,931,1204,1296,1346,1418,1212,1056,1130,1234,1550,1600,1412,1242,1102,1176,1290,1350,1312,1192,1158,1082,1216,1074,915,805,1023,1244,1094,985,881,767,568,872,1192,1180,1168,1300,1100,983,1124,1000,1042,1384,1264,1218,1184,1082,906,688,933,1226,1278,1318,1284,999,966,966,838,1048,1338,2076,1716,1090,1328,1194,1172,1224,773,667,807,973,1108,1102,1090,1028,1024,883,1090,1266,1476,1482,1566,1526,1526,1580,1001,451,355,434,841,1148,880,686,1013,1068,1330,1328,672,571,913,777,837,1140,851,892,646,406,332,326,304,320,402,554,656,400,305,493,609,1372,1590,1678,1980,2284,2254,2126,2032,1762,1600,1154,666,669,652,716,878,1058,1044,1046,1280,1044,543,463,454,417,444,448,431,442,377,628,584,455,492,446,220,252,332,425,506,550,522,454,445,475,498,509,521,512,450,351,281,334,300,350,472,558,543,529,555,483,372,307,270,346,452,490,577,568,568,602,586,571,550,547,568,517,443,306,319,483,941,1046,1090,1192,973,743,637,592,510,551,572,735,1302,1402,1278,1604,1346,1298,965,1052,1034,580,569,653,500,604,1136,960,560,1040,1166,540,423,720,691,434,581,836,570,367,323,641,1162,971,549,341,316,419,577,592,704,646,290,250,314,317,320,380,613,1034,1034,664,473,500,652,656,728,908,755,904,893,875,1002,877,557,573,787,1080,980,633,508,500,447,742,1108,1346,1520,1112,479,544,869,797,517,420,337,278,230,259,253,273,540,869,762,756,662,744,1186,1224,582,628,1238,1306,1292,1009,597,396,402,381,379,359,383,511,841,843,748,1104,915,1132,1604,1504,1354,857,557,827,933,1050,1158,1246,1346,1238,991,999,963,1118,967,639,1228,1408,639,470,868,1368,2612,1794,1136,1170,1192,1134,1262,1470,1500,951,354,497,831,1042,1011,1094,915,1248,1334,1620,1260,943,1196,1270,1032,1082,1282,1212,1140,810,683,1158,1338,1218,766,605,696,656,652,646,590,415,437,514,527,455,458,695,734,717,811,662,669,758,688,709,852,991,821,689,604,601,682,736,716,624,484,632,1034,1262,1262,703,1148,2780,3190,2930,2934,2966,2822,2452,2090,2282,2424,2256,1758,1468,1642,1790,1656,1650,1766,1834,1628,1398,1600,1490,1170,828,570,511,527,1024,985,733,1322,2240,2774,2304,1314,789,717,807,711,1011,1294,1400,1266,1024,557,421,595,709,642,561,526,562,593,617,720,610,741,1076,1238,1260,1124,953,894,808,737,814,924,1188,1314,1380,1224,932,747,660,546,520,498,433,544,911,1278,1170,798,1042,1562,1686,1492,1290,809,562,926,1116,1296,1248,1422,1380,1410,1452,1290,1130,1034,899,895,1108,1116,818,684,697,886,925,1220,1330,1234,1086,980,1228,1538,1340,1314,1156,1222,1174,869,1050,1162,1082,1404,1106,848,1138,1206,863,775,871,972,1158,1086,1264,1378,1354,1406,1278,1180,1218,1298,1354,1198,973,932,887,985,940,1210,1158,1170,1290,1126,902,685,698,1280,1850,1650,1284,856,977,970,1054,1188,1162,1230,1372,1390,1284,1344,1404,1014,625,486,655,689,813,1042,818,861,1148,1074,902,1112,1126,1126,1310,1472,1007,1050,1240,1330,1330,1348,1474,1458,1340,1318,1124,974,847,1176,1120,1048,797,544,711,878,1216,1536,1312,1150,896,937,681,803,1178,955,851,1158,1432,1306,958,1110,1562,1230,488,348,319,294,319,369,406,455,305,296,345,259,326,447,342,297,290,330,385,342,204,142,197,276,355,444,506,472,326,237,168,223,379,686,860,870,799,775,827,779,1062,1476,1086,454,519,786,511,547,947,1138,1048,999,1338,1526,1676,1834,1930,1824,1606,913,730,1050,990,982,1216,1262,888,983,1122,957,639,581,565,565,413,423,876,656,543,846,997,855,1136,1260,883,850,1360,1314,1116,779,705,621,391,317,335,432,528,438,552,708,560,421,550,742,924,1050,747,668,822,937,995,1198,1556,747,697,1064,1340,1276,1012,1174,1330,1100,941,750,945,1350,1070,926,1124,1184,1394,965,734,861,1080,901,758,1230,1538,1760,1670,1482,1400,742,819,1001,1312,1112,761,844,1072,938,751,691,567,524,658,1028,1262,1230,1196,1406,1118,988,1222,1448,1224,920,942,949,845,609,480,525,521,543,589,617,940,1220,1412,1554,1272,1006,666,903,1128,1130,1011,900,649,821,1234,1558,1536,1490,1378,1282,1396,1312,1434,1498,1410,1174,1376,1023,608,819,1294,1288,1244,1544,1340,568,398,515,561,626,1014,1238,1288,1238,1200,1312,1500,1190,1222,1410,1390,1454,1660,1350,1424,1490,1394,1384,1294,1072,857,908,1046,1088,1198,1356,1358,1158,907,777,695,1052,1650,1786,1772,1758,1700,1538,1516,1574,1614,1414,1134,1180,1190,915,750,1098,1368,1202,1122,830,544,428,477,828,1108,1422,1798,1776,1462,1298,1252,1188,1148,1450,1372,1560,1434,1342,1242,1172,1110,854,707,754,1218,1716,1332,917,1204,1188,925,650,878,1214,1316,1350,1322,1102,1038,807,760,1404,1274,1088,1044,1242,1338,1180,964,1130,1006,718,991,1038,1034,1040,1020,963,799,463,448,613,616,619,772,809,817,733,677,597,531,525,587,717,998,885,633,717,823,807,626,450,544,584,550,598,734,789,703,669,496,390,374,375,411,464,440,454,477,837],[926,576,497,547,558,507,720,774,879,1194,803,1154,1184,1120,1422,1732,1404,601,419,719,1736,1942,1904,2268,2148,2218,2354,2568,2540,2272,1984,1622,1254,1070,1108,1266,1386,1372,1170,1232,1582,1372,1022,1112,831,587,521,479,429,422,646,1064,1112,895,886,974,1324,1678,1032,849,847,792,813,875,1092,1166,774,563,578,626,526,433,489,788,792,788,739,830,794,610,611,598,485,472,609,538,610,557,405,355,810,1542,1658,1382,1226,1166,827,651,435,671,1268,912,435,284,459,596,798,785,472,905,1038,1070,1054,736,410,324,519,386,345,380,414,412,329,306,618,1346,1466,927,672,617,959,1312,1024,650,502,414,375,424,494,797,625,460,421,512,487,1078,1584,1404,965,727,731,831,870,871,1132,995,805,644,586,576,829,984,1110,1396,1428,1338,1178,977,890,814,973,1050,970,919,1070,1152,1176,1100,1296,1786,1708,1438,1116,905,691,486,473,763,1374,1556,1470,1322,1090,728,562,959,1114,585,419,444,423,450,471,408,433,545,613,480,354,373,381,483,735,1282,828,350,399,427,519,908,1138,1058,1180,1060,1284,979,665,464,441,520,527,360,435,525,550,474,463,526,454,407,677,1224,787,316,341,326,332,358,314,269,231,211,235,287,293,305,410,452,445,445,480,586,549,541,957,1084,531,427,406,890,1194,1246,1156,1218,1380,1362,1300,1434,1054,1174,1316,1080,1028,875,671,669,873,1074,1388,1404,1238,1466,1528,845,399,397,648,678,617,698,966,1228,1432,1544,1146,1168,852,821,1168,1294,1366,1880,1868,1820,1624,1280,1234,1226,893,708,785,700,874,1494,1646,1324,1034,1062,1350,1632,1350,1836,2076,1372,1214,1180,902,1272,1330,1262,1252,1306,1208,1124,1030,552,461,484,458,435,528,666,927,1104,933,892,919,736,856,1148,1294,891,619,684,914,1514,1384,822,456,308,336,372,818,971,596,836,677,522,531,828,870,530,632,1090,1390,1216,829,842,1054,1023,1378,1344,988,957,1232,1238,1204,1250,1388,1462,1126,719,607,768,1056,1258,1430,1312,1042,937,888,623,530,532,530,568,495,480,929,1260,739,547,894,1410,1188,770,552,904,1116,740,591,664,470,457,530,799,1236,1450,1476,1404,886,621,609,637,887,784,682,692,717,654,521,471,689,1190,972,570,760,912,785,808,1206,1328,889,519,594,865,1052,1001,961,965,1010,1092,1200,1304,1248,1110,1114,1230,1012,1192,1220,1262,1274,1350,1238,843,587,786,1052,860,1156,1454,1386,1332,1092,1278,1256,1296,1246,1016,909,556,550,586,754,1070,1562,1484,933,749,671,689,1154,1226,747,566,560,977,1240,1172,887,957,1960,2082,1390,888,680,998,945,881,755,566,696,1148,1252,1598,1494,1506,1614,1462,1180,1152,961,1042,1250,943,1140,927,685,548,509,601,921,1478,1456,1015,923,987,1176,1390,1708,2018,1502,1092,917,938,823,591,582,817,984,1008,1198,1162,1562,1394,1162,1330,1190,1210,1086,1206,1472,1396,1332,1212,1080,1068,897,958,568,529,662,607,709,778,641,482,424,703,1080,1050,1420,1388,1306,1174,642,607,1208,1514,1092,1024,1246,1350,1178,1204,1318,1362,1544,1516,1216,822,693,727,624,617,844,1062,997,1178,1170,843,1656,1498,713,530,680,628,947,1364,1356,1138,705,739,880,791,676,730,549,525,983,1014,952,1158,943,601,466,555,698,855,1378,1362,1016,698,529,535,648,594,752,1278,1326,1106,777,766,1136,1440,1352,1100,976,710,673,1020,1134,1144,985,991,1238,1290,1324,1294,1174,1160,1344,1484,1468,1334,1240,1352,1296,1360,1266,1102,1136,1128,1206,1506,1356,1202,1434,1418,1168,1278,1324,957,763,515,582,965,1260,1186,980,877,965,1156,1296,1316,1328,1600,1454,1100,1018,1048,914,941,956,974,858,1007,1378,1474,1244,1450,1394,1390,1848,2360,2986,2526,2012,1638,1416,1278,883,1086,1076,1322,1278,1088,876,893,1140,1042,802,973,1186,1196,1328,1270,1426,1440,830,366,333,384,1026,1512,1302,973,766,529,576,652,621,587,704,658,938,1138,1072,1094,889,684,496,421,412,459,899,1170,963,610,962,1388,1582,1616,1614,2054,2184,2014,1710,1346,980,854,889,733,513,659,731,751,802,928,886,825,1144,1156,658,454,440,431,425,365,408,449,339,574,760,622,617,467,278,381,509,570,578,543,485,464,505,532,534,548,523,463,519,504,447,561,493,545,602,574,449,351,434,480,436,378,301,355,394,402,409,500,548,549,534,548,553,593,594,544,561,450,362,346,530,925,996,1028,1050,863,467,430,559,648,583,631,1296,1776,1652,1368,1058,1168,1198,1166,1036,839,587,711,1032,736,560,521,412,1018,1056,498,543,1021,1122,593,574,716,591,444,399,708,1162,1178,833,386,334,662,759,608,779,609,417,526,461,322,277,346,533,850,828,497,467,694,818,434,580,773,741,984,919,833,1013,858,388,391,1078,1578,1058,659,673,999,680,558,832,1106,1280,891,441,481,527,440,375,413,421,355,288,264,255,283,594,806,937,957,695,536,602,928,915,921,1172,1018,1186,1352,1222,912,517,399,314,335,459,703,853,686,613,871,772,1060,1366,1140,1002,915,846,1058,1224,1228,825,1072,1312,1038,594,966,1182,1280,1092,764,1384,1578,750,565,1390,1982,2350,1660,1110,1166,1362,1656,2250,2302,1798,1096,428,271,430,1088,1222,1148,949,1002,1268,1456,1062,892,1240,1312,919,851,1088,1208,1136,673,557,923,1204,1134,794,881,983,612,643,661,585,524,509,558,615,506,584,781,603,601,647,562,578,642,628,797,1070,880,702,658,596,562,605,698,713,602,436,586,847,1382,1226,734,1236,2714,3294,3076,2888,2878,3042,2448,1474,1658,1660,1438,1326,1278,1240,1180,1118,1660,1872,1888,1930,1614,1554,1484,1422,1322,765,537,888,1284,1328,1394,2100,2798,2526,1490,1222,896,637,632,646,988,1244,1108,807,504,414,441,445,566,633,579,512,561,610,527,582,760,860,852,913,973,1009,945,869,805,1248,1516,1726,1692,1460,1412,1048,635,680,717,587,534,510,553,619,951,1300,1292,1282,1412,1520,1682,1530,1218,1312,1438,1170,685,1166,1296,1332,1486,1438,1370,1220,1322,1542,1362,1266,1302,1242,954,811,720,731,903,1210,1262,926,1162,1302,1220,1614,1600,1312,1174,1240,957,881,1268,1572,1282,1060,1018,921,856,791,695,1054,960,929,1212,1290,1334,1316,1278,1184,1124,1218,1272,1182,1218,1132,905,838,745,896,983,1160,1236,1354,1572,1490,1006,673,893,1268,1592,1504,1366,1162,1236,1242,1192,1084,1058,1186,1152,1074,947,1032,1186,1146,899,698,1088,1146,713,656,894,997,1282,1410,1354,1256,1104,1288,1378,1628,1170,1092,1310,1226,1212,1246,1172,1360,1466,1230,1100,1136,1332,1704,1296,1142,990,755,868,1134,1460,1610,1248,1284,1030,669,568,815,953,940,1058,1270,1476,1290,883,1192,2170,1626,848,571,449,326,314,329,498,539,326,332,420,332,375,709,525,311,260,284,339,279,178,203,246,292,401,451,427,434,255,210,211,267,484,783,1132,1208,729,382,393,440,800,1336,1278,582,407,473,434,444,655,730,515,554,564,625,1268,1728,1920,2166,1760,796,650,1302,1484,1290,1590,1560,1226,1520,1034,769,753,938,813,721,527,677,894,675,569,753,708,815,936,897,659,597,1144,1380,1132,647,729,705,430,364,336,619,808,643,521,817,927,868,1250,1504,1376,1376,1238,632,529,513,590,858,1374,1274,1124,1188,1256,1026,1050,1198,1284,1314,1094,843,825,1078,1180,1266,965,1036,1030,583,692,636,628,698,781,874,1190,1412,899,973,1328,1062,844,745,1128,1488,1244,1036,1360,1498,1232,1132,1070,807,1074,1282,1252,1338,1394,1272,996,1022,1156,1140,929,1056,1076,772,462,430,585,707,747,620,573,662,786,971,1440,1376,1196,946,778,556,670,527,438,424,672,1112,1372,1398,1274,1338,1394,1630,1564,1444,1410,1468,1232,1058,930,693,590,962,1190,987,1118,1624,1120,762,533,439,462,522,775,977,1066,1274,1504,928,1256,1432,1200,1532,1350,1190,1250,1454,1618,1312,873,1126,1404,1470,1066,1214,1324,1438,1392,1404,1350,999,863,907,915,1436,1842,1892,1732,1492,1302,1028,1200,1290,1252,1230,1080,934,722,572,372,514,822,1044,1196,1182,942,780,876,1108,1186,1086,1584,1614,1316,1074,992,998,990,1176,1382,1498,1300,1128,1064,814,855,839,1070,1034,1416,1434,1146,1350,1338,1482,1408,1078,944,886,1066,1172,1314,1242,954,1015,1200,1426,1278,946,1030,1262,1344,1336,1274,1116,863,844,1162,1218,1316,987,767,561,483,475,420,462,650,716,709,803,848,747,706,719,543,479,570,608,605,436,316,395,597,647,471,440,588,652,719,563,616,702,724,663,450,383,325,346,332,320,343,503,543,676],[877,637,716,756,538,505,641,644,896,1264,763,1150,1356,1076,1330,1244,1146,764,570,1050,1584,1684,1952,2182,2082,2316,2508,2526,2206,2066,1924,1344,921,855,963,1034,747,671,749,946,1644,1550,1224,1100,760,547,473,428,490,736,1106,1100,774,816,905,1007,988,901,1146,1156,1048,1110,1330,1478,1122,1174,978,682,604,603,511,445,666,1206,1130,645,601,863,937,1040,1174,675,451,500,459,527,572,476,407,520,908,1086,996,971,713,678,523,424,450,815,1228,989,516,281,360,470,535,586,328,383,605,906,778,777,516,322,335,378,401,378,397,407,368,391,800,1374,1264,872,1134,1216,1294,1296,664,410,349,358,395,392,433,523,498,477,349,573,724,763,973,959,909,860,756,849,830,882,1078,953,1048,949,570,769,1154,1064,1300,1592,1426,1420,1326,1074,1340,1154,835,1060,1004,701,772,828,883,1076,1416,1364,1294,1148,1194,1040,719,540,481,1013,1804,1836,1532,1150,980,456,312,631,607,409,349,349,402,545,576,439,367,458,559,530,547,565,476,595,743,924,616,347,399,436,613,1064,879,786,838,852,829,695,485,359,487,646,565,590,778,735,784,678,526,434,418,459,692,856,579,393,375,339,383,390,375,265,262,285,287,282,325,361,358,345,349,473,788,593,441,364,804,821,501,338,677,1240,1090,984,1278,1248,1266,1500,1354,1368,1190,855,743,937,1200,1286,974,605,888,1262,1658,1536,924,1172,1386,716,341,402,522,621,702,608,445,845,1712,1872,1378,841,595,703,729,817,1584,1636,1015,1234,1624,1482,1322,1332,888,641,577,597,586,1078,1262,1170,1156,1078,1086,1214,1246,1910,1404,1174,1001,1156,1106,1296,1272,1322,1346,1276,1216,1118,641,430,430,432,460,377,387,533,532,803,864,697,779,850,827,953,1046,703,716,771,818,1044,1404,1258,586,450,484,400,677,646,488,608,663,661,619,815,667,651,672,828,1338,1222,1050,927,909,1124,1400,1148,750,996,1412,1264,1009,1140,1556,1514,1248,849,537,661,756,1106,1078,823,802,839,817,886,860,622,603,633,563,772,1358,1560,1396,1072,1106,988,784,584,371,396,549,810,728,730,505,423,400,440,559,860,1256,1134,655,615,625,866,976,794,932,1021,1023,905,717,493,564,989,957,824,1282,1258,919,1082,1152,1358,1300,995,1080,1322,1406,1366,1260,1216,1108,1001,847,648,509,508,689,1188,1134,1238,1466,1388,1054,1092,1032,869,741,788,790,644,1102,1458,1520,1450,1336,1250,1238,1218,1009,868,1096,728,482,575,908,1136,1198,1130,950,732,591,583,868,859,622,595,677,1144,1236,1516,1692,1524,1824,1744,1484,1220,884,1156,1080,915,755,691,672,1086,1560,1808,1648,1524,1746,1776,1420,1492,1256,1310,1436,1280,1158,949,662,645,833,855,1310,1636,1188,630,477,632,921,1210,1424,1480,1288,954,854,1056,1224,876,904,901,1011,1222,1304,1588,1404,844,871,1216,1318,1046,958,1200,1098,1250,1172,1100,1052,1098,1144,913,769,717,596,874,1011,928,905,861,637,944,1238,976,1134,824,761,711,638,852,1296,1370,1130,1102,1320,1450,1160,1052,1124,1276,1490,1704,1338,839,814,739,720,758,806,781,787,1274,1516,979,1378,1066,570,677,730,677,1074,1390,1336,1188,926,1098,1022,939,951,959,624,429,825,1084,1134,1160,1022,811,779,962,975,937,1342,1558,1366,922,579,512,561,677,706,1012,1268,1196,921,1015,1512,1472,1004,811,799,742,870,1010,1098,935,1068,1036,1310,1320,1130,1164,1326,1174,1226,1274,1202,1266,1226,1202,1314,1522,1162,1024,1122,1012,1150,1416,1370,1370,1442,1498,1234,1382,1146,916,963,848,1036,1200,1240,1236,1024,856,1278,1336,1162,1118,1023,1214,1252,1204,1366,1068,1128,1224,1238,1116,631,794,1196,1232,1015,1346,1532,1650,1556,1652,2028,2392,2562,1850,1432,1306,1070,1118,1182,1148,1026,989,862,1076,1328,789,394,657,739,788,931,1072,1118,1164,794,404,295,384,623,997,973,573,717,847,500,473,653,529,666,655,783,891,1304,1112,545,480,509,560,554,464,1026,1132,1072,1042,1324,1808,2020,1848,1818,1618,1232,961,638,678,560,546,521,469,440,525,463,457,590,849,937,858,1062,1404,1006,569,442,477,427,380,413,430,338,393,700,769,439,278,346,518,568,533,521,526,508,449,463,514,531,536,550,564,600,573,560,564,556,547,443,406,354,240,340,378,356,375,327,252,271,309,301,412,455,370,313,322,310,435,489,634,714,626,542,476,345,404,758,980,952,865,737,447,581,683,651,679,757,1124,1462,1548,1118,963,1170,1230,971,1012,706,1366,1550,859,510,370,376,953,1100,659,722,659,792,488,607,503,474,394,389,855,1144,1200,1130,525,433,916,995,908,998,727,501,714,684,529,426,407,383,427,440,467,590,604,529,503,758,856,1034,982,824,882,981,849,584,600,1054,1340,1034,626,713,976,607,433,532,529,487,341,333,397,414,453,572,593,577,532,548,425,319,368,555,1078,1252,944,791,741,753,985,1094,1394,1766,1674,1466,1434,1632,1334,807,437,324,367,695,944,969,951,821,1080,1204,1306,1482,1298,785,711,800,850,1158,1304,957,751,1005,754,546,1412,1822,1432,1154,1046,1484,1416,921,579,1268,1860,1566,1242,1118,1214,1396,1804,2352,2070,1656,1276,489,293,539,1164,1506,1614,1188,910,1322,1376,1000,1206,1124,1106,891,1076,1284,1188,891,473,641,1036,1198,1148,831,818,743,599,564,551,462,524,526,514,637,647,727,642,539,639,523,600,645,541,578,870,884,727,681,631,573,588,648,744,717,678,557,536,808,1390,1148,722,957,1758,2300,2370,2468,2656,2568,2236,1584,1560,1262,1072,1050,1056,882,1046,1796,2128,1704,1272,1214,1434,1682,1804,1678,1712,1462,1184,874,879,1312,1562,2114,2342,1598,1009,1160,871,628,487,893,1126,750,430,395,357,382,458,458,518,568,524,488,502,488,368,526,1046,981,647,627,595,792,860,998,828,1322,1794,1840,1506,1370,1380,1068,748,772,751,662,612,427,568,702,880,1220,1550,1722,1420,1250,1586,1732,1506,2148,2280,1744,1552,1514,1402,1298,1368,1776,2030,1438,1448,1460,2316,2082,1128,1022,960,828,752,860,1162,1374,1212,904,1196,1542,1562,1498,1568,1410,1256,1092,1007,1234,1112,1016,1122,1026,1010,1068,1248,1438,775,933,889,933,1338,1494,1446,1374,1180,1144,1202,1274,1280,1176,1112,932,846,816,672,854,1114,1132,1198,1582,1794,1640,1064,802,1084,1296,1396,1378,1428,1268,1132,1206,1312,1054,998,1216,1222,1056,1188,1282,1282,1278,1034,997,1268,1126,593,673,952,1238,1366,1344,1338,1132,1086,1214,1160,1538,1544,1356,1416,1390,1400,1272,1066,1152,1360,1340,1168,1088,2450,3134,1840,1084,1052,1198,984,1094,1372,1548,1134,1136,1356,1108,995,1200,1060,868,968,1156,1368,1086,1262,1764,2042,1760,1292,1024,849,531,377,384,448,543,555,578,610,449,323,559,411,271,263,253,277,250,194,229,271,338,521,505,424,367,269,255,233,497,1044,1118,883,558,458,472,463,345,590,1272,1454,1040,873,891,920,473,354,416,390,348,289,328,567,1070,1714,1974,1456,672,372,507,651,905,1420,1248,1300,1474,1007,742,635,623,620,578,807,1184,1214,1044,846,890,691,687,840,1202,1036,1154,982,1112,1318,1192,808,634,794,672,535,758,959,738,643,1074,1078,1076,1482,1870,1870,1826,1820,969,615,809,709,909,912,1176,1282,1256,1300,1218,1008,1312,2182,2068,949,996,1046,1124,1090,1092,1068,1056,719,440,572,784,886,1170,1296,750,635,787,971,1130,1274,1118,987,961,1116,1530,1482,1154,942,1252,1412,1494,1264,1136,1306,1308,1368,1440,1466,1650,1434,1034,1114,954,703,578,1108,856,441,413,623,678,623,686,808,694,617,732,1218,1198,1188,729,480,346,278,253,281,324,579,898,1100,1266,1340,1238,1690,1526,1480,1370,1512,1360,1182,1488,1264,754,491,668,1068,1214,1354,1396,1376,1360,990,680,666,664,655,891,1062,1248,1552,957,965,1442,1714,1478,1011,988,1234,1448,1436,1088,797,983,1184,1418,1192,1476,1532,1444,1404,1404,1288,1070,975,974,1266,1606,1648,1550,1158,1270,1384,1276,1360,1208,1118,1230,787,735,643,394,326,365,440,664,969,1268,1208,1146,987,1086,944,715,1094,1134,1084,746,879,922,666,921,1336,1524,1410,1264,976,819,927,948,1017,1062,1300,1056,1238,1628,1576,1440,1282,1472,1238,930,1106,1284,1314,1130,718,833,1172,1276,1112,1028,1160,1286,1158,1230,1364,1244,1310,1284,1526,1524,1082,695,484,471,558,593,501,512,794,976,711,667,724,604,516,713,794,684,703,461,397,335,333,504,637,518,401,534,667,615,547,418,344,375,468,535,524,442,347,352,356,458,558,661,792,697],[1116,1128,1070,835,694,656,785,736,724,944,810,899,975,671,854,828,694,536,867,1464,1544,1526,1892,2114,2176,2050,2082,1882,1572,1788,1836,1438,1138,1094,1060,969,739,599,526,652,1512,1590,1356,979,661,619,540,426,591,963,1196,779,534,728,844,1004,709,606,1142,1278,1092,1148,1242,1354,1516,1364,1108,1534,1410,1092,789,443,525,977,933,466,491,675,821,849,959,856,519,385,374,381,479,547,497,509,695,739,733,988,1134,995,637,536,524,483,558,692,448,280,278,330,366,378,279,298,533,736,637,492,398,326,268,332,341,367,351,376,324,365,640,815,648,721,1212,1270,1186,1098,691,396,353,358,362,408,464,668,1202,1138,534,579,712,475,469,705,885,780,571,564,518,480,484,741,1320,1246,658,769,1076,929,1062,1256,1070,1012,1066,1192,1542,1174,683,666,628,503,533,558,449,837,1048,1046,1146,1138,1198,1104,777,555,540,874,1372,1350,1654,1122,518,328,292,619,692,455,455,455,479,518,473,426,415,594,613,571,498,519,533,485,465,412,337,376,413,505,614,1068,679,473,537,491,362,376,370,413,540,604,420,562,685,910,934,897,628,404,364,442,665,730,474,505,699,571,318,332,403,418,413,334,325,376,448,466,354,304,307,501,754,633,505,341,368,384,389,342,742,969,702,997,1216,1164,1470,1560,1388,1362,1336,945,565,801,1480,1642,1246,1018,1328,1444,1208,1026,1054,1264,957,566,433,491,439,576,1134,918,557,748,1838,1904,1548,1036,1009,1042,948,1286,1752,1576,966,1038,1512,1158,824,997,816,577,666,713,824,1216,1332,1306,1206,1258,1378,1512,1482,1326,1088,1298,1382,1234,948,996,1332,1614,1410,1242,1158,943,564,558,498,371,377,458,451,393,398,463,523,617,624,603,741,897,636,638,926,784,1042,1554,1348,938,623,604,538,452,694,749,617,634,525,695,1009,959,579,565,630,1052,1388,951,836,808,738,752,863,688,451,675,900,952,1034,1160,1484,1330,1344,1108,623,449,447,560,547,489,484,551,811,1104,970,745,774,657,657,1138,1192,1100,1234,1144,1005,887,650,489,360,338,537,894,728,664,485,445,440,405,384,378,542,614,615,642,716,1072,907,1120,1302,1434,1212,835,618,493,511,824,1228,1412,1648,1554,1294,1456,1350,1202,1296,1396,1524,1568,1444,1046,683,637,594,625,620,533,465,444,852,1232,1162,1202,1316,1238,936,896,1170,975,669,648,625,753,1182,1390,1268,1262,1310,1224,1003,763,809,847,1156,1282,908,808,996,1226,1118,970,893,616,520,587,785,716,597,603,709,1056,1184,1464,1808,1548,1214,1458,1522,1336,1416,1190,1090,1440,1194,1078,1242,1460,1472,1248,1066,1134,1688,1732,1338,1412,1410,1320,1382,1322,1186,924,535,641,955,1310,1556,1228,829,540,641,694,858,971,888,895,1118,1210,1236,1200,1260,1007,1198,932,1015,1310,1438,1284,940,911,1026,1040,1192,1178,1148,1042,1216,1226,1140,1106,1174,1258,970,843,1094,876,749,1024,998,980,907,718,634,725,973,895,896,955,952,813,646,955,1182,1282,1396,1296,1370,1354,1198,1142,1186,1290,1504,1638,1290,908,945,1005,1216,1126,1158,823,807,941,713,669,854,615,583,605,619,648,1158,1340,1566,1218,979,1152,1116,1042,987,1012,797,391,405,611,720,814,823,780,796,955,1186,1312,1288,1416,1494,1112,576,474,532,659,573,753,1240,1226,1060,947,1004,777,550,799,1120,1074,937,960,1102,912,958,1146,1432,1470,1512,1810,1810,1400,1320,1324,1420,1426,1278,1234,1362,1444,1272,1360,1456,1338,1354,1334,1282,1310,1368,1396,1368,990,783,1072,1214,1206,1154,1214,1310,1244,1246,1414,1482,1260,1152,942,1096,865,853,1400,1358,889,721,810,942,727,678,870,1088,776,695,992,1344,1398,1228,1160,1290,1706,1752,1592,1528,1240,1234,1296,1246,1144,910,803,906,1222,1088,395,511,803,778,662,903,1058,596,388,431,468,486,601,881,1196,1132,949,950,1096,691,877,1088,974,808,739,822,1250,1502,925,390,361,408,576,509,463,1406,1688,2060,2070,1724,1372,954,857,980,675,562,644,550,486,565,808,924,697,474,405,314,330,504,938,997,977,770,1108,1180,730,479,485,406,389,401,424,354,350,576,482,280,284,427,555,540,499,453,482,450,278,340,482,585,577,583,600,623,576,540,555,561,455,305,319,338,295,325,338,360,351,337,272,281,284,366,510,490,375,311,307,274,278,302,673,800,652,602,509,373,299,329,606,975,919,896,772,565,516,592,647,697,891,1394,1576,1112,915,1002,1264,1256,1102,1080,1704,1682,1074,746,557,448,716,1023,622,633,621,585,421,386,315,461,464,313,567,751,1001,1072,518,398,1152,1296,888,907,1016,783,608,482,486,778,762,585,628,454,422,532,616,735,796,872,961,901,678,628,705,876,752,651,864,1372,1378,767,353,379,457,323,250,277,269,336,532,664,540,370,492,648,630,601,460,413,593,667,572,570,1160,1128,935,823,878,963,909,796,1394,1858,1418,1019,1001,1224,1334,1260,641,356,330,874,1088,1082,1112,1182,1212,1138,1156,1324,1042,501,456,792,750,984,1470,1560,1056,842,771,634,1076,1400,850,769,1096,1466,1260,1094,885,1198,1706,1500,1050,856,978,1388,1480,1522,1520,1410,1306,682,326,503,1194,1926,1938,1354,933,1266,1270,846,1076,1005,1178,1058,1292,1614,1860,1340,483,661,987,888,1112,900,694,525,472,438,426,323,358,425,439,506,671,699,465,471,573,583,613,673,494,371,502,691,714,692,694,650,713,714,725,724,736,756,554,608,1168,1074,720,720,844,879,880,971,1116,1460,1434,1246,1278,1220,1078,1020,898,649,903,1410,1272,1080,1140,1278,1326,1798,1986,1636,1510,1610,1548,1026,626,883,1322,1596,1312,899,807,938,930,688,1024,1734,1614,795,453,450,382,339,536,576,514,509,487,472,415,366,432,1076,1766,1274,825,706,530,1042,1190,1192,1166,868,567,657,754,739,525,452,569,701,722,600,555,434,553,708,986,1400,1690,1494,1078,1204,1388,1734,1936,1964,1630,1484,1932,1888,1312,1368,1380,1434,1780,1614,1548,1594,4752,5148,2614,1118,1060,938,852,1238,1528,1542,1340,1212,1346,1474,1512,1374,1532,1576,1576,1366,1354,1476,927,744,996,1168,996,868,1072,1312,965,1038,945,856,1154,1342,1452,1362,1130,1200,1234,1294,1278,1200,1186,873,805,922,1052,1198,1264,1236,1260,1376,1404,1318,811,527,822,1226,1282,1268,1312,1210,1080,1148,1428,1328,1338,1606,1414,1282,1396,1370,1424,1206,777,667,856,818,825,1074,1090,1356,1012,1116,1510,1470,1322,1242,1216,1372,1540,1514,1516,1410,1246,1182,1310,1086,929,1312,1410,1034,2236,3056,1798,1104,868,824,726,827,1080,1246,918,866,1308,1288,1294,1438,1118,652,852,1076,1228,1104,1372,1748,1902,2382,2072,1394,1190,961,520,473,466,505,558,566,528,422,315,292,260,245,246,257,265,246,211,245,278,405,530,472,391,287,263,278,357,874,1396,1712,1540,719,415,510,617,541,504,1008,1396,1498,1258,1156,1586,1106,572,497,492,328,253,284,315,485,713,1044,1108,623,473,393,491,683,1464,1182,792,865,917,1084,842,507,622,669,953,625,682,1058,1316,1242,1026,759,1166,1398,1214,1096,963,1110,1472,1534,1224,865,917,717,652,652,784,924,1108,1120,842,808,1662,2336,1990,1542,1532,1208,1090,1282,1158,1038,653,923,1278,1316,1466,1288,740,1038,1866,1472,925,1166,1216,1122,1058,1124,1212,916,495,448,601,977,944,1192,1168,946,628,857,1354,1316,1100,1044,1030,934,1182,1388,1230,1420,1084,922,1176,1124,1248,1208,1100,1278,1372,1480,1782,1710,1460,1374,1114,949,1007,821,1048,880,544,443,525,637,612,829,1116,797,576,626,1002,1148,894,496,261,214,258,276,278,272,357,645,1084,1298,1300,1276,1430,1212,1256,1370,1356,959,897,1204,1550,1132,771,940,1230,1390,1526,1396,1258,1114,1152,871,1284,1410,870,991,1198,1284,1244,1148,1278,1506,1682,1598,1300,1088,1110,1170,1384,1058,1010,1282,1164,1294,1324,1448,1410,1384,1454,1324,1254,1288,1508,1644,1700,1576,1492,1274,1162,1408,1456,1436,1370,1128,1003,1054,695,514,634,458,375,541,448,381,598,921,1282,1284,906,790,1090,955,1144,1076,814,648,869,855,806,1064,1326,1296,1268,1278,1052,1156,1000,1284,1278,1146,1178,1192,1410,1522,1478,1372,1114,1048,1028,938,1166,982,841,915,731,709,836,835,810,1180,1350,1316,998,1132,1412,1200,1224,1494,1302,1084,1230,1256,1112,1232,1034,877,664,698,896,1072,952,667,586,600,506,713,998,735,873,641,560,511,527,623,709,723,607,567,583,567,426,369,361,425,408,434,471,501,424,354,525,849,851,850,1000,789],[1178,1692,1612,843,874,995,973,1064,1212,1114,850,796,824,695,612,572,404,566,1360,1810,1730,1696,1572,1868,2018,2078,2014,1406,1274,1836,1880,1326,1062,1178,1092,935,735,530,450,835,1448,1550,1406,987,605,472,486,450,791,1204,1064,626,437,489,668,776,565,602,877,1004,877,1152,1052,1180,1354,1194,1068,1516,1520,1244,1066,634,534,941,637,318,459,458,474,508,651,901,730,447,356,392,705,703,644,892,871,538,612,963,1316,1046,686,563,565,698,888,1088,434,282,267,272,255,266,249,262,452,814,904,568,505,401,372,365,345,370,367,360,322,300,394,412,391,481,411,454,614,725,673,408,338,365,316,472,708,1196,1938,1666,1048,709,656,433,556,877,1114,886,629,576,427,505,748,839,1614,1518,857,640,661,733,902,1100,1020,1142,1368,1270,995,1066,1114,766,473,370,404,448,409,824,1080,1084,1136,1044,849,888,675,409,404,1078,1926,1692,1470,797,419,341,314,553,738,504,667,792,646,473,423,483,487,605,616,565,517,396,362,412,357,335,354,337,348,400,753,955,638,430,489,605,498,357,369,525,485,411,390,461,727,942,876,646,396,356,437,487,860,680,455,591,1036,770,368,296,306,343,335,341,390,430,446,480,343,309,291,434,808,1190,953,567,514,528,471,434,785,695,880,1042,694,927,1336,1454,1450,1632,1604,1330,1160,1112,1526,1548,1356,1266,1314,1412,1094,932,1186,1122,989,1076,681,469,463,913,1688,1009,630,820,1634,1554,1174,1068,1332,1284,1244,1548,1678,1642,1338,1158,1260,1606,1530,1066,888,1128,1228,797,944,1308,1434,1440,1322,1356,1448,1584,1194,777,757,792,968,916,641,810,1224,1426,1428,1322,1021,557,400,495,565,458,332,387,368,356,440,466,507,668,729,626,580,825,706,714,979,825,802,1242,1144,833,727,578,432,555,635,683,661,574,681,1202,1610,1144,669,641,788,1060,898,636,684,716,694,691,598,420,370,498,834,730,879,1088,1164,1362,1380,1462,1374,1112,941,639,390,415,399,498,926,1100,949,830,836,841,1124,1238,936,695,657,618,550,463,525,856,547,382,504,632,460,449,516,459,402,374,347,392,529,595,847,952,1174,954,1038,1322,1322,1342,948,613,750,799,842,1004,1100,1306,1148,876,800,1120,957,621,751,989,1334,1400,952,617,732,1084,1074,1094,845,620,574,584,1094,1390,1116,1252,1158,851,680,811,1182,1004,824,1052,1122,1212,1448,1268,716,705,877,943,1007,714,731,1026,1328,1422,1066,757,793,1112,1376,1284,836,768,792,1304,1480,1122,821,724,710,1106,1382,1292,1488,1406,1100,1402,1480,1268,1596,1566,1302,1254,1238,1190,1256,1148,775,468,532,769,1188,1404,1172,1292,1322,1226,1130,1084,1238,1198,628,605,1096,1466,1308,1072,827,625,652,670,678,724,813,724,868,1154,1100,789,866,1252,1446,984,626,1186,1488,1134,1108,1372,1620,1340,1262,1216,1264,953,1312,1282,1184,1044,991,894,900,1042,991,760,1072,971,937,1084,881,620,474,599,1134,1198,842,1130,1230,990,644,1036,1234,1456,1418,1266,1354,1390,1276,1196,1058,1038,1428,1602,1146,1094,981,1020,1134,1144,1202,1040,864,862,714,781,1003,993,897,761,803,727,1258,1344,1582,1312,1140,1208,1236,1170,1005,1005,850,441,395,659,868,785,702,694,757,824,1138,1386,1134,1208,1498,1372,866,873,1004,720,483,688,944,992,962,990,1074,829,665,1080,1528,1184,766,993,1144,903,922,1174,1298,1434,1752,1710,1496,1134,1136,1046,1300,1266,1202,1226,1274,1272,1276,1296,1288,1246,1440,1386,1324,1212,1332,1584,1496,1100,1078,1256,1410,1274,1074,1310,1428,1254,1610,1928,1520,1236,938,996,1202,1032,808,681,805,691,441,588,930,659,719,846,667,461,719,1022,1190,1372,1170,959,1312,1236,1082,1092,859,530,952,1224,1052,971,1046,1176,1024,895,739,510,610,794,1116,988,953,673,370,301,431,677,669,722,666,686,772,850,1002,1070,747,1084,1326,1340,1300,928,895,1454,1110,622,482,405,502,590,523,476,1120,1876,1904,1296,782,486,339,270,411,344,394,602,623,891,1190,1148,884,541,415,438,399,368,336,573,825,1012,808,697,828,722,474,428,445,436,382,406,331,408,465,279,301,430,513,528,448,286,231,316,452,360,300,506,644,615,595,608,618,558,504,537,496,316,276,317,323,372,323,367,351,350,354,293,276,299,385,509,586,567,502,502,453,392,357,511,711,891,761,486,354,318,256,288,519,913,933,943,827,583,402,477,783,1274,1498,1314,1218,1144,807,1012,1340,1282,1018,1018,1066,982,951,726,602,597,747,454,321,359,371,318,244,306,755,784,275,458,957,930,924,664,518,621,874,773,1184,1362,731,521,420,319,625,1156,1208,1180,657,468,619,777,869,891,991,956,691,353,286,403,563,528,530,465,1384,1520,695,310,231,256,267,342,338,395,610,751,1108,847,430,428,549,520,502,518,692,935,909,737,542,562,589,662,713,692,737,705,553,849,1098,850,1182,1350,1498,1446,1178,588,343,498,738,746,874,948,1120,1388,1076,1232,1682,990,933,783,811,689,664,1386,1800,1212,625,912,699,1214,1952,1332,1068,1272,1272,1052,1106,987,1198,1732,1260,1009,867,1030,1256,1308,1394,1460,1534,1556,1042,546,501,1082,1590,1288,973,912,1406,1060,830,1020,1098,1230,1068,1098,1326,1522,1278,608,903,995,762,911,843,692,559,444,468,651,677,533,458,425,560,705,549,465,519,622,630,647,670,534,344,351,536,695,766,710,692,749,703,711,674,666,843,683,797,1256,940,635,639,612,565,482,509,651,620,510,608,705,713,795,865,679,637,823,764,944,1200,995,1024,1246,1476,1416,1486,1432,1324,1614,1370,798,656,1168,1350,1152,1007,888,1160,1013,1122,1954,1750,1358,776,516,387,387,354,463,471,388,358,364,330,421,641,957,1588,1420,1166,819,775,933,1040,957,932,909,677,501,531,591,613,443,465,527,580,599,470,525,505,437,715,1238,1334,1542,1546,1280,1212,1280,1534,1688,1422,1442,1360,1428,1438,1282,1452,1400,1284,1108,1230,1228,1148,2932,4824,3220,1056,928,1072,1250,1560,1588,1456,1400,1346,1166,1268,1232,1158,1322,1396,1412,1124,1192,1200,725,719,954,1456,1064,665,796,1172,1424,1486,1186,966,1168,1372,1320,1274,1272,1340,1264,1296,1250,1190,1160,981,866,943,1154,1306,1422,1278,1086,1136,1310,1296,797,622,1013,1242,1196,1264,1396,1540,1484,1378,1252,1126,1438,1488,1060,1494,1564,1224,1310,1200,794,469,496,696,1002,961,1122,1412,1086,1568,2298,2270,1810,1226,1426,1464,1610,1418,855,945,883,1168,1348,1098,941,1204,1382,1184,1130,1288,1160,1136,1094,1138,1124,998,1017,1284,1007,711,838,1026,1478,1564,1290,919,880,843,1076,1278,1382,1354,1694,2392,2476,1598,1252,1134,585,484,510,547,432,323,305,252,269,381,408,407,314,278,264,226,212,253,260,340,447,458,315,228,277,351,504,963,1286,1710,1706,1136,516,422,1042,1358,869,785,705,856,1360,1560,1858,1420,588,442,395,301,289,310,325,321,321,571,949,1124,845,524,537,591,1378,1130,532,557,680,980,950,693,730,863,956,749,659,785,1190,1232,1070,1116,1310,1104,789,789,1208,1196,1472,1318,1454,1472,1003,755,755,937,1096,1180,1364,1284,819,560,1066,1676,1562,1090,975,1078,1302,1126,1038,913,618,703,832,1142,1240,1166,716,623,802,846,943,1100,1140,1192,1356,1322,1136,684,468,483,952,1258,896,729,899,1011,1046,1236,1094,1034,1104,1046,1180,1248,1272,1098,832,966,1254,1218,1028,938,1204,1240,1140,1428,1438,1544,1678,1011,687,987,657,508,896,822,458,383,462,547,578,666,686,772,542,589,618,805,846,719,611,409,236,267,288,254,244,285,315,576,907,1092,1312,1356,1420,1450,1248,1168,1122,905,1015,724,1154,988,796,1252,1444,1496,1390,1270,1138,891,1062,1056,1498,1302,719,657,686,855,1072,1064,1038,1126,1482,1592,1638,1468,1190,1058,1158,1016,999,1062,1094,1406,1454,1170,1088,1534,1604,1284,1252,1402,1734,1762,1476,1308,1224,932,1164,1454,1476,1390,1216,1168,1078,743,529,596,864,598,357,363,350,343,388,736,1350,1450,1378,743,1032,1244,1288,1030,798,702,726,963,1164,1260,1380,1148,989,985,1274,1078,785,1084,1232,1064,1018,1142,1338,1278,1324,1272,1262,1202,1212,1142,1370,1072,826,826,934,1236,1162,709,691,1118,1262,1238,1180,1406,1324,1028,1258,1222,915,1030,1310,1484,1492,1364,1322,1160,880,921,753,824,872,588,434,442,496,666,802,686,716,718,559,597,570,544,709,736,664,659,690,578,376,369,383,426,408,440,480,607,678,654,907,1154,1026,1170,1010,554],[1166,1960,2030,1306,1464,1506,1038,1178,1100,719,625,651,722,716,616,409,356,530,1438,1766,1814,1802,1504,1614,2046,2398,2328,1758,1448,1454,1344,1001,932,1072,1084,955,797,693,519,1056,1600,1514,1384,1022,660,466,435,567,1102,1156,904,835,777,594,453,502,733,836,888,1106,1056,1180,946,1046,1174,1170,1138,1228,1214,1136,1182,1190,791,588,449,345,323,309,485,572,595,774,827,530,373,377,750,619,655,767,556,417,518,610,598,595,650,511,536,856,1254,1566,618,251,256,276,271,236,231,241,310,525,667,924,772,531,482,476,401,386,379,345,300,337,431,337,289,297,350,408,520,602,551,476,384,339,341,532,890,1168,839,835,869,529,589,504,777,962,1104,1018,824,854,632,641,1023,1076,1716,1436,860,586,672,670,624,886,1124,1136,1220,1202,1088,1258,1180,647,449,463,470,590,525,697,1032,1036,1212,1316,1206,962,905,779,584,1478,2238,1750,1080,886,521,282,269,392,651,484,559,684,799,565,411,380,371,355,339,430,415,365,390,362,352,360,493,500,558,579,926,941,498,406,375,456,495,307,310,390,447,327,382,576,906,1090,918,490,285,420,606,725,1086,756,621,712,1126,760,252,245,257,285,330,358,374,336,290,323,337,317,312,365,860,1370,1118,788,742,1184,919,460,492,458,886,943,940,865,998,1284,1560,1788,1738,1472,1422,1478,1374,1188,1564,1164,924,1090,1114,1016,1084,1042,1128,1450,1176,597,465,825,1082,1044,882,1016,1266,1178,874,742,946,1296,1464,1376,1016,1090,941,735,900,1266,1598,1582,1154,1352,1300,774,997,1290,1268,1264,1009,1160,1362,1328,854,576,576,542,516,521,641,594,795,1204,1216,1094,844,534,399,428,518,483,307,368,501,474,564,671,598,641,788,785,703,693,942,1116,749,442,351,563,982,963,951,708,427,553,567,506,589,612,714,1196,1332,874,865,744,719,909,822,885,952,844,806,716,613,430,339,487,858,563,807,938,878,1262,1360,1562,1580,1472,1572,1064,449,376,354,403,779,957,910,746,724,1080,1208,844,760,599,549,514,638,615,839,822,544,504,427,415,466,576,555,454,443,400,362,469,846,995,1216,1372,1154,673,828,1154,1192,1236,1144,1180,1346,1322,1332,1254,854,808,723,553,814,1426,1074,546,480,554,1007,1368,799,699,1026,1434,1544,1502,1100,708,668,786,1198,1398,990,1186,1160,888,597,487,738,1028,995,708,747,1048,1220,809,468,495,577,766,963,802,872,1232,1356,1204,1090,1052,890,816,1172,1266,816,1140,1498,1720,1852,1618,1524,1334,744,877,942,761,1524,1598,1540,1312,987,1024,1582,1802,1466,1296,1328,891,684,461,368,423,399,826,1336,1440,1248,1230,1452,1490,1282,1104,1172,1004,918,895,959,1212,1042,843,871,673,508,548,673,706,973,1062,949,1002,1064,933,1058,1358,1508,1312,1128,1268,1366,1244,1242,1440,1650,1566,1432,1310,1256,1406,1550,1594,1478,1136,1034,1218,1428,1154,1114,954,993,675,717,962,727,416,394,753,1416,1180,1026,1334,1082,1052,788,860,1040,1268,1336,1346,1404,1300,1005,1001,902,860,1498,1396,1334,1378,1142,1102,1168,1164,1136,1058,1004,1144,1058,1114,1212,1504,1084,1248,1192,974,1312,1444,1490,1372,1192,1114,1114,1238,1182,1082,999,543,375,678,781,658,636,680,760,843,977,1390,1484,1608,1570,1178,710,579,665,523,403,467,546,745,1112,1432,1246,928,938,1332,1334,955,744,963,1194,1048,769,982,1356,1428,1144,919,761,742,731,713,1012,1100,1026,1074,1184,1190,1172,1176,1070,1238,1324,1496,1574,1418,1372,1526,1164,1222,1754,1736,1466,771,564,955,1226,1232,1676,1606,1322,1200,985,890,1140,1224,905,551,722,1226,1172,1098,1184,1148,1064,1050,875,650,1056,1434,1406,1722,1578,1116,1492,1290,891,781,795,1104,1466,1310,830,954,1046,1064,777,576,633,736,789,857,1304,1376,798,325,315,318,440,738,803,993,593,379,373,466,478,645,980,1096,792,788,1004,630,480,664,459,419,388,278,346,535,599,497,594,744,491,383,416,422,397,290,352,422,615,723,641,806,725,446,342,435,561,569,526,482,387,305,544,846,840,865,947,763,421,456,500,413,357,292,207,220,223,251,444,573,525,495,350,202,208,227,378,463,398,534,624,609,583,592,597,599,521,519,376,281,293,304,370,480,426,448,484,448,386,327,311,311,327,405,530,593,612,617,617,577,551,565,582,582,546,427,324,292,265,253,230,400,777,999,1046,966,582,532,1180,1544,1220,1136,1418,1236,841,934,1244,1272,736,406,499,764,1094,987,785,661,591,484,529,608,482,345,337,464,746,535,277,332,819,1176,1476,835,497,525,430,422,623,641,386,455,593,737,781,999,959,993,983,922,934,852,832,937,1226,874,658,388,296,294,330,344,388,400,709,682,464,336,330,539,602,469,284,321,441,639,832,675,389,310,336,413,677,874,700,643,563,599,498,452,483,444,412,342,381,451,331,357,417,838,1414,1534,1496,1466,955,493,653,902,652,309,596,697,1120,2318,1346,982,1044,611,976,1100,1034,806,421,901,1406,1144,596,875,563,1340,1836,1772,1512,1320,1044,966,1272,1102,1006,1038,673,751,954,1340,1368,1222,1118,985,1094,1322,1226,1038,972,1170,1396,1104,1080,1362,1660,1007,957,1070,995,1210,1244,1492,1406,1048,781,687,1378,1118,835,818,793,628,562,492,488,743,872,641,600,536,688,573,442,414,517,638,619,588,594,554,505,498,671,901,874,727,702,769,717,654,634,639,767,709,764,1104,703,592,641,731,586,520,544,700,696,625,605,595,595,666,508,449,530,719,907,1328,1444,1410,1472,1590,1418,1296,1372,1180,1208,1448,1598,1372,992,987,1168,1266,1138,1184,1094,896,1626,2008,1088,1138,875,535,359,555,691,510,367,343,376,536,702,954,1232,1380,1676,1376,927,777,631,562,405,359,510,553,553,598,573,577,706,550,463,430,460,539,615,598,447,352,495,988,988,1380,1548,1224,1228,1236,1416,1666,1604,1310,959,1013,1388,1478,1574,1432,1244,833,1074,1212,1036,1200,1502,1144,758,761,1208,1510,1506,1496,1490,1366,908,682,994,1080,1086,1136,841,964,1272,1120,973,899,921,806,1332,1146,635,781,1104,1122,1026,1060,1024,1238,1332,1166,1150,1152,1124,1190,1300,1298,1324,1272,1088,833,863,1058,1178,1284,1102,1278,1576,1622,1410,1108,1078,1146,1162,1214,1330,1184,1436,1650,1544,1344,1282,1438,1192,959,1262,1410,1248,1234,1072,861,579,546,1068,1540,1288,1224,1188,1084,1422,1758,2126,2822,3134,2376,1910,1704,1424,933,955,826,1130,1412,1206,1256,1394,1552,1758,1444,1246,1134,1282,1374,1138,854,921,934,789,702,602,652,767,1410,1462,1074,803,566,612,915,973,836,908,1110,1478,1942,1384,1338,1254,665,464,534,607,535,410,323,236,259,391,435,556,553,401,307,249,233,237,251,263,325,344,303,255,275,391,384,387,895,1448,1538,883,472,456,832,1050,788,919,813,953,1518,1768,1738,973,395,290,296,329,308,261,298,342,369,386,697,1582,1218,847,904,973,1074,583,383,452,698,875,783,659,462,728,906,946,929,799,926,1174,1350,1266,1136,922,691,1092,1774,1240,1112,1112,919,1254,1356,1060,802,1278,1476,1084,1009,899,500,467,604,826,867,781,884,913,855,848,1084,1216,1220,1076,691,798,1110,1316,1052,903,747,623,636,1002,1344,1334,1214,856,867,577,724,792,1334,1508,1380,1070,921,943,1306,1206,830,1206,1208,1017,1180,1002,738,921,1066,878,951,1174,1282,1120,1206,1328,1278,1330,1490,1378,905,554,540,866,788,877,1038,678,601,457,433,587,629,483,520,604,488,537,784,924,695,583,392,411,322,313,328,325,278,306,356,737,931,1054,1432,1448,1414,1202,1310,1318,1076,985,951,687,910,968,835,1048,1400,1438,1348,1412,1302,1102,1128,1332,1138,860,794,630,550,778,809,982,1182,1078,1378,1490,1554,1676,1480,1116,1090,998,966,926,1112,1382,1328,1402,1434,1592,1540,1244,1326,1572,1620,1472,1304,1228,1052,1164,1508,1532,1498,1248,1094,1112,1200,828,552,559,539,394,339,323,397,377,315,423,883,1256,1240,810,852,1212,1222,1186,913,767,919,1412,1622,1582,1456,1356,1144,1146,1232,1034,1021,1238,1360,1060,1186,1268,1320,1332,1410,1194,1246,1334,1036,1028,1106,938,1186,1410,1418,1362,1288,1146,1032,893,1308,1276,1088,1416,1360,1284,1448,1272,1162,1500,1642,1410,1282,831,776,742,760,804,840,1021,749,727,674,547,600,713,891,749,505,412,350,379,395,474,552,564,762,1064,1074,579,377,350,375,385,361,394,519,816,1020,1064,1013,1296,1598,1452,942,750],[1438,1852,1802,1294,1392,1206,878,1098,966,633,575,675,755,883,677,430,409,408,1400,1850,1700,1636,1498,1528,1938,2360,2250,1548,1272,1186,1660,2022,2050,1898,1958,2060,1900,1244,581,1066,1506,1432,1296,825,575,475,476,919,1102,785,847,1064,1084,684,497,912,1470,1096,796,985,1150,1072,693,810,1274,1326,1196,1098,1242,1396,1428,1362,885,477,354,313,265,289,390,466,556,835,903,522,390,471,469,332,414,389,318,353,494,436,275,422,569,522,497,770,1206,1572,788,233,272,287,317,360,396,303,297,275,303,595,1072,1122,883,625,458,418,400,334,288,387,401,301,282,282,356,411,556,627,582,526,418,404,352,371,450,625,376,282,304,290,485,658,815,875,919,828,644,961,906,757,795,1023,907,890,911,896,896,901,972,943,964,779,882,1090,1007,1001,865,672,599,604,880,975,662,468,545,565,649,584,517,570,867,1506,1244,841,1274,1308,988,1026,437,296,298,440,617,500,521,801,810,529,407,380,397,424,389,461,398,317,350,489,534,514,881,1066,1036,992,948,595,402,477,411,487,470,411,346,314,328,283,359,653,932,1056,797,481,343,351,519,808,1258,1414,1154,1042,1088,635,294,283,260,287,321,344,384,380,334,317,283,275,287,283,416,568,667,769,1094,1678,988,381,320,409,724,1054,1098,1164,1174,1250,1658,1602,1626,1468,1448,1522,1418,1116,868,612,739,1192,1350,1098,928,1076,1400,1362,1240,707,557,611,608,963,1052,961,1304,1028,837,1016,673,968,1332,1440,954,623,546,872,1128,1000,1504,1786,1472,1490,1400,1046,1110,1360,1568,1350,788,692,787,702,506,442,465,541,753,739,681,435,464,714,682,611,565,378,337,417,610,736,590,525,844,966,858,781,851,870,761,841,786,547,612,677,493,445,465,441,567,872,1144,986,559,455,510,607,766,709,752,1009,835,513,462,404,721,1116,1178,1502,1598,1156,734,601,713,616,430,383,445,415,725,716,871,1346,1278,1376,1626,1800,1566,954,648,415,340,384,552,779,727,579,714,1250,1250,963,918,747,745,651,558,861,1054,907,869,638,424,566,738,727,611,482,568,642,495,521,849,1096,1228,1224,1192,1132,1216,1498,1476,1332,1228,1104,1010,1110,1334,1368,1306,1042,836,694,954,1632,1182,623,533,614,1138,1448,1230,1236,1490,1628,1558,1558,1296,730,706,955,1430,1172,881,1170,1021,760,776,675,521,841,892,716,778,716,728,492,460,472,552,766,943,921,920,1064,1296,1306,1316,1324,1042,590,722,830,874,1102,1192,1516,2054,2084,1870,1606,930,702,565,540,1436,1776,1422,955,1022,1474,1868,2086,1734,1186,916,477,478,499,528,502,346,635,1013,1184,1142,1230,1450,1490,1378,1152,1288,1278,1284,989,656,802,735,916,798,574,432,566,880,1144,1210,1508,1030,894,1122,1056,1036,1194,1160,1100,1260,1202,1172,1138,1170,1176,1160,1206,1272,1220,1234,1400,1604,1732,1344,957,1160,1430,1350,1222,1168,1068,999,963,964,970,781,569,572,881,1302,873,1222,1252,1094,1262,1192,1324,1152,1152,1442,1404,1494,1418,1160,1222,970,1258,1896,1456,1556,1516,1202,986,1030,1058,1122,1186,1120,1234,1274,1332,1270,1332,1128,1246,955,1022,1422,1538,1632,1462,1456,1456,1150,1224,1288,1194,991,647,456,575,630,543,632,777,774,818,895,1216,1370,1266,1134,976,955,1200,1090,619,471,413,466,739,1328,1550,1318,1222,1072,1170,1218,1028,906,1140,1370,1110,849,1136,1132,1374,1380,1140,755,1118,1036,877,1062,1110,1136,1160,1208,1116,1208,1194,1220,1266,1242,1422,1426,1340,1488,1230,901,1268,1926,1716,1272,1120,863,724,1062,1100,1174,1206,1114,1146,928,1268,1736,1444,803,644,751,1676,1464,1154,1326,1496,1376,1196,1054,1116,1354,1246,1812,1942,1332,1192,1306,1070,1166,1360,1630,1978,1916,1624,1108,1300,1042,725,532,505,690,986,966,1142,1302,899,412,321,415,361,361,487,819,940,761,630,445,354,284,545,946,1002,1046,1172,815,315,282,324,310,403,395,373,442,509,484,444,493,561,419,433,404,391,395,407,512,674,1022,1070,818,516,406,497,883,969,871,760,722,646,530,391,419,655,889,893,877,854,635,556,585,452,310,214,202,259,323,427,532,492,446,372,243,192,263,303,357,477,557,570,593,603,581,571,563,547,479,446,314,328,303,321,438,556,558,516,505,543,499,484,376,331,309,298,321,435,567,633,617,575,590,630,639,642,630,514,381,340,346,310,282,248,377,655,1082,1186,965,1024,1346,1448,1230,1310,1142,819,716,584,860,1250,1026,467,402,645,1202,1098,709,685,761,560,690,1108,844,477,593,451,410,303,299,337,788,1570,1714,871,409,450,373,293,400,582,573,560,687,550,325,364,617,910,717,838,1140,1026,872,880,694,680,604,335,335,440,508,432,417,551,520,408,428,324,383,500,489,506,404,299,277,244,269,326,323,387,563,812,1100,1312,812,598,627,575,523,469,296,215,255,242,270,287,534,976,583,565,926,1124,1058,934,610,472,874,843,498,480,1886,1988,1456,2066,1426,973,706,485,751,835,978,1092,472,677,1178,1254,587,634,579,1346,1910,1682,1516,1274,632,715,1270,1348,1274,1090,629,661,1268,1546,1106,732,734,813,905,1108,1168,1042,947,1074,1262,1242,1248,1414,1370,915,1044,1128,869,1048,1278,2012,1444,1382,932,681,1372,989,746,1120,1042,680,560,505,488,532,628,454,568,717,737,541,445,453,496,550,562,489,455,520,618,789,1076,1108,921,789,775,792,777,698,574,604,647,539,913,1174,589,533,535,595,530,469,527,574,623,711,717,631,488,481,444,493,574,794,1022,1150,1252,1522,1676,1590,1218,1282,1252,946,1264,1136,1086,1260,1404,1172,913,1092,1422,1322,750,897,1316,1440,1116,1234,1224,918,570,625,844,591,378,462,742,991,1246,1386,1258,1058,966,715,1019,1234,660,387,372,370,428,495,702,794,582,551,721,735,613,475,455,500,486,405,345,352,338,419,537,960,1360,1418,1384,1258,1182,1456,1600,1140,757,769,1230,1286,1300,1242,976,1042,1388,1370,1310,1200,1042,913,835,1168,1592,1566,1510,1368,1078,905,849,660,791,1272,1444,1130,664,669,1268,914,885,1150,1328,988,1172,1322,902,827,924,868,659,980,1158,1228,1200,1136,1120,1066,1080,1216,1350,1372,1414,1348,1164,659,706,886,952,1042,1186,1354,1564,1664,1524,1448,1340,1376,1388,1376,1444,1080,1238,1496,1360,1408,1522,1244,1146,1102,1474,1684,1434,1008,617,493,738,874,1144,1294,1284,1332,1128,1024,1310,1470,2036,3840,4324,2674,1826,1794,1514,1010,878,783,925,1240,1362,1384,1412,1516,1476,1452,1146,1252,1612,1586,1076,772,974,679,630,729,1078,1388,908,951,1220,813,481,361,532,811,680,475,579,611,724,1024,1012,1256,1316,894,500,446,572,658,535,287,231,218,296,355,408,393,387,322,223,240,348,406,379,315,273,223,267,318,469,620,709,635,645,611,448,465,586,782,1086,620,635,1268,1426,1240,1574,1748,1294,680,322,315,351,299,326,326,306,281,339,484,1098,1028,672,615,912,991,409,334,374,766,1024,701,670,581,606,925,926,741,844,959,1198,1198,913,1078,1080,1040,1416,1910,1368,1080,1232,1158,1014,1254,1570,1456,1396,1336,1102,795,739,905,1192,1048,995,1132,1078,1194,1218,731,737,1356,1404,1324,1128,860,993,1302,1424,1470,1218,997,1352,1426,1548,1694,1400,1062,1078,1134,869,786,1178,1350,1314,1122,934,750,782,1414,1376,1190,1534,1362,1422,1010,400,367,881,1066,885,926,966,1328,1352,1204,1334,1426,1238,1158,931,987,1052,1038,1080,940,1328,1200,1080,1246,904,515,543,590,527,472,557,608,733,1013,888,849,789,334,343,372,377,374,392,412,495,605,937,1218,1288,1512,1544,1036,891,1212,1450,1003,904,1184,996,855,1132,1376,1502,1428,1460,1448,1376,1326,1184,1172,1334,904,651,1236,1298,731,975,852,902,1140,1090,1270,1550,1616,1610,1610,1650,1536,1394,1242,1036,1508,1534,1486,2236,1738,1532,1414,1370,1644,1608,1416,1432,1184,909,1046,1528,1546,1672,1382,1392,1360,1124,976,800,685,759,724,562,390,301,334,347,294,278,363,647,1072,951,710,867,876,1194,937,1070,1120,1474,1644,1476,1262,1222,1206,1196,1092,1144,1116,1100,1288,1250,1340,1474,1122,1012,1278,1272,1314,1252,1094,1144,1122,1072,1160,1530,1528,1242,890,1050,1142,1042,1128,1166,1226,1238,1108,887,1290,1434,1488,1700,1746,1426,1108,628,473,544,730,632,608,812,633,654,804,937,719,654,740,557,373,268,380,509,514,444,419,487,572,954,886,597,429,343,371,394,409,419,491,778,1204,1706,1372,1460,1690,1274,1172,1208],[1494,790,699,888,944,658,775,1148,1362,1232,808,657,670,852,541,333,327,363,1072,1770,1840,1870,1900,1836,2004,2354,2048,1266,1356,1408,1992,2376,2398,2436,2378,2492,2178,1198,608,1104,1246,1260,1368,1022,627,439,754,1154,909,1048,1066,805,686,543,888,1456,1632,1444,1192,1016,1304,1408,1088,1106,1670,1658,1392,1158,1172,1256,1350,943,492,351,328,299,334,423,431,423,447,514,479,390,531,522,404,391,307,304,329,490,647,480,362,360,496,495,482,653,1160,1576,951,336,305,281,318,471,522,300,286,238,289,522,978,1250,1328,1232,841,623,410,313,303,404,461,650,405,265,346,421,565,572,520,442,380,453,368,364,287,315,354,365,440,371,434,630,666,711,977,953,593,938,1106,720,503,513,433,762,1346,1516,1094,783,736,783,625,547,898,956,567,430,584,830,759,655,1116,1082,717,568,516,553,510,439,434,387,435,653,508,550,798,824,612,696,432,523,387,455,451,393,455,616,669,554,597,634,522,470,439,501,412,339,464,1190,1354,1068,1306,1526,1448,1198,1130,560,435,495,466,448,435,404,335,375,399,308,336,501,893,1046,548,403,346,346,769,1030,1138,1246,1260,1376,1334,1078,429,328,289,273,274,319,346,388,354,269,265,267,289,311,308,356,556,653,784,650,332,390,589,552,777,1062,928,1032,1162,1700,1926,1830,1536,1468,1556,1382,1172,1122,876,433,498,667,735,679,601,698,809,1266,1074,866,1018,850,613,930,1088,744,1214,984,809,922,561,829,1028,1342,1406,1042,913,1488,1448,1400,2238,1792,1522,1432,1284,1298,1390,1510,1516,1082,773,695,612,592,572,482,456,687,1500,1428,656,322,285,457,581,464,456,416,456,312,552,652,472,448,659,1124,1214,1126,1492,1430,926,718,735,635,488,536,801,995,775,456,432,565,978,1162,750,706,1070,1200,1266,897,778,808,733,469,360,447,752,1044,1502,2002,1944,1302,538,380,677,741,582,419,458,485,712,806,890,1196,1232,1212,1322,1256,1094,641,555,366,331,430,822,1009,904,1102,1328,1186,956,1021,1086,1094,889,965,1050,802,597,829,926,657,775,1130,1332,946,679,472,526,596,529,609,1009,1356,1490,1466,1378,1308,1180,1222,875,726,676,544,618,1180,1462,1572,1474,884,453,384,985,1510,1170,718,583,733,864,865,1212,1388,1352,1604,1572,1562,1476,997,803,965,1356,987,1056,1036,804,863,1028,1124,746,858,1136,999,832,773,625,750,763,636,633,882,1046,1124,1032,1060,1348,1300,1268,1368,1112,631,604,812,1026,1224,1340,1542,1832,1794,1400,1162,1184,689,576,579,1208,1286,820,852,1020,1130,1356,1904,1564,886,614,441,567,606,767,788,557,542,869,1242,1154,1390,1476,1432,1570,1526,1580,1814,1444,895,934,825,949,1378,843,608,705,925,1048,1210,1160,941,580,577,791,951,989,1026,1124,1312,1328,1204,1162,1160,1086,1108,1090,996,986,1028,1066,1148,1462,1596,1262,825,1146,1356,1148,929,1040,1076,1106,1204,1036,916,789,1054,1080,650,683,722,931,744,888,1056,1106,1310,1160,1238,1266,1320,1340,1300,1242,1346,1282,1482,1582,1518,1372,1230,1098,893,957,1162,1262,1222,1094,1158,1630,1538,1360,1200,1410,1498,1042,1088,1494,1520,1628,1432,1340,1250,1224,1274,1320,1290,1134,931,843,1038,973,793,788,761,702,797,1019,1094,973,848,1152,1404,1318,1270,1098,811,669,518,489,554,969,1222,1412,1406,1152,1019,1030,1056,841,1052,1336,1346,1306,1292,959,1280,1384,1082,945,1036,943,885,1009,1212,1206,1182,1138,1112,1212,1150,1222,1372,1310,1462,1548,1494,1252,684,796,1390,1588,1506,1460,1604,1078,947,1270,1286,1302,1230,1168,1216,1026,1198,1510,1384,753,624,890,1238,836,632,920,987,1078,1248,1094,1578,1598,1426,1716,1626,2128,2232,1594,1432,1218,1374,1562,1770,1804,1716,1398,1472,1268,1114,1130,997,1072,1003,886,1124,828,540,378,355,483,462,543,462,788,1094,1284,1080,479,382,321,353,443,501,539,760,573,325,333,367,379,412,423,448,466,401,376,479,567,595,462,367,369,326,382,669,904,1214,1200,814,704,460,463,520,814,1144,1104,962,893,650,618,667,478,851,1152,1036,1148,1068,977,701,519,467,317,226,305,415,492,573,526,379,265,215,196,244,313,351,422,525,575,563,573,547,540,518,518,364,295,304,319,297,271,292,373,504,541,569,572,553,534,540,409,311,318,301,274,260,330,386,320,363,529,634,654,625,559,559,536,505,452,424,328,282,310,344,546,920,1132,1118,1254,1348,1406,1132,648,727,781,428,420,848,1220,908,859,949,1084,1070,988,935,935,592,503,742,726,818,1246,862,414,329,317,338,805,1456,1424,919,555,482,621,837,735,564,361,393,486,367,311,377,664,946,993,893,1144,1100,1202,1136,756,765,600,383,590,956,882,402,395,535,482,509,464,333,264,266,522,949,882,471,316,268,313,371,405,749,1046,1116,1276,1312,814,648,677,558,532,486,330,258,266,294,281,289,524,714,437,306,473,606,474,304,286,625,973,942,549,658,2728,2250,1294,1396,988,803,542,482,892,973,1015,1078,741,913,938,615,464,830,915,1068,1496,1492,1294,882,564,1294,1388,1604,1774,1354,813,1102,1516,1274,990,750,810,1070,966,1274,1198,850,694,958,1146,1140,1224,1460,1358,971,1230,1090,1026,1202,1472,2220,1676,1462,844,569,826,666,777,1090,1070,785,521,425,482,377,411,473,693,810,658,473,442,456,498,565,630,512,525,514,607,844,1238,1450,1150,811,771,728,644,533,606,808,762,505,1048,1026,552,415,433,535,557,535,612,568,680,716,648,587,494,459,474,592,712,824,936,983,1112,1522,1406,1262,1310,1154,1102,1246,1120,905,938,1104,1272,1366,1176,852,1008,1082,816,1066,1238,1234,1332,1482,1282,1230,968,625,616,475,466,564,1062,1308,1074,1102,951,730,813,1166,1584,1672,1044,639,512,446,508,656,794,598,455,534,706,824,692,418,387,437,460,434,365,341,324,326,412,745,1248,1366,1302,1232,1148,1246,1582,1518,1224,1062,1176,1198,1244,1244,1124,1150,1438,1410,1410,1350,1262,1114,1170,1580,1610,1488,1306,963,673,604,664,641,594,844,1017,827,957,1268,1676,1322,1042,1282,1356,866,1002,1196,908,922,1066,1112,677,864,1388,1216,687,801,1034,1072,1048,1124,1276,1352,1502,1422,1102,583,520,818,1066,1290,1458,1582,1678,1528,1540,1490,1312,1116,1314,1444,1576,1458,1456,1440,1496,2040,2004,1268,1274,1036,1258,1246,1132,686,447,414,731,957,1036,1218,1340,1272,982,1256,1460,1334,1790,2648,2482,2128,1864,1752,1692,1602,1526,1200,1176,1326,1466,1372,1428,1502,1578,1714,1454,1338,1416,1270,1072,1056,1078,713,808,684,1236,1224,1026,1260,963,422,372,487,525,464,473,717,990,763,506,708,941,1164,1474,1272,662,440,494,500,437,230,243,283,350,312,329,376,363,262,204,303,495,550,674,467,277,279,436,590,828,1138,1190,783,405,354,350,458,522,529,626,498,473,937,982,1184,1598,1682,1694,1402,759,419,351,267,302,298,312,297,304,389,987,1376,1158,877,670,859,679,451,359,609,1056,1104,900,676,829,1098,1096,732,893,1184,1382,1066,833,979,840,639,562,854,1122,1148,872,905,1106,897,998,1370,1384,1324,1170,949,849,1160,1506,1046,955,1128,1114,1268,1332,958,763,1160,1432,1336,948,906,1342,1252,1042,1368,1352,1176,1434,1198,1432,1686,1388,1244,1062,1102,1118,1096,1158,1194,1236,1258,1222,1009,1018,1028,1156,1512,1664,1416,1296,985,467,409,644,874,1120,1148,974,971,1340,1386,1418,1158,785,809,1116,1376,1324,1246,806,542,1018,1094,1162,1418,1402,862,612,831,842,502,439,692,1166,1178,916,903,706,400,328,340,415,411,415,497,596,673,794,1230,1358,1502,1378,807,1078,1560,1494,1140,1188,1382,1312,1200,1426,1656,1066,931,1188,1334,1526,1560,1456,1392,1230,809,695,1470,1644,1152,988,1076,1054,957,864,1166,1322,1394,1488,1490,1720,1712,1642,1416,1376,1560,1570,1620,1610,1332,1418,1524,1674,1666,1356,1332,1440,1136,745,979,1696,2304,1782,1296,1416,1236,961,1116,1108,1138,944,1306,1150,881,486,292,281,274,263,278,360,654,835,833,835,800,1050,856,948,1048,1104,1292,1326,1240,1064,1023,1190,1334,1272,859,1019,1136,1216,1390,1404,1286,1368,1158,1048,1200,1046,890,1176,1328,1320,1104,1208,1324,936,709,797,858,1116,1244,1448,1396,1134,1272,1094,1216,1170,1128,1306,1202,1218,1318,922,713,712,851,738,751,738,530,473,543,558,543,547,427,450,401,309,477,536,736,629,458,470,496,567,589,634,589,426,390,424,424,462,405,529,814,1204,1000,1218,1382,1372,1390,1180],[1130,692,648,893,1068,866,957,1422,1376,1364,970,625,621,630,483,396,348,369,1013,1922,2014,2054,2176,2120,1876,2230,1970,1246,1376,1566,1964,2432,2338,2532,2366,2418,2336,1278,673,1082,844,854,1438,1260,592,552,1078,1074,882,1112,822,589,519,811,1268,1642,1536,1500,1366,1168,1260,1416,1432,1538,1620,1586,1374,1120,937,824,693,455,377,379,405,623,955,885,504,353,368,338,278,480,617,481,555,659,689,449,501,640,672,514,485,573,764,626,490,692,1250,1478,921,282,238,225,244,321,290,318,290,245,345,753,1164,1162,1086,1250,1226,1104,805,457,426,589,792,806,487,458,579,622,680,595,474,406,379,414,362,341,349,344,356,455,587,781,769,806,653,717,734,726,576,688,847,802,692,608,690,840,926,777,852,828,566,583,559,670,1224,1250,701,444,399,502,560,680,849,932,907,808,881,1138,1246,1202,1074,724,380,308,343,440,531,602,371,301,370,620,473,464,535,588,767,733,677,638,792,761,549,468,456,487,407,316,673,1346,1222,838,1242,1428,1338,1300,1202,850,994,1094,827,618,433,328,336,441,450,505,439,399,552,560,396,328,303,331,919,1482,1606,1506,1418,1384,1378,963,415,277,272,258,250,255,243,280,282,235,253,276,289,292,264,291,346,479,465,336,348,470,495,612,886,1096,879,913,1078,1536,1974,1804,1526,1522,1426,1666,1642,748,286,361,410,474,482,325,423,608,706,843,801,1234,1716,988,608,1200,1212,778,890,1108,1074,876,595,682,1114,1380,1572,1506,1514,1818,1898,1904,1412,1116,987,830,816,875,1070,1360,1272,797,767,1124,1380,836,533,388,412,691,1134,980,532,328,292,549,659,477,471,384,360,291,392,369,320,377,388,581,772,1148,1782,1718,1222,890,813,758,874,866,1076,1410,1078,689,736,622,845,1310,1232,1180,1472,1402,1212,957,772,792,786,572,665,957,825,870,1362,1208,1294,1384,897,473,666,838,629,476,510,587,941,1114,1178,1260,1362,1174,1112,1034,959,562,355,332,454,777,1166,1234,982,1300,1358,839,636,772,869,928,830,1106,1470,1172,512,599,802,675,1048,1290,1218,955,948,845,1009,1254,1220,1190,1348,1344,1440,1102,673,665,808,785,529,502,675,879,1122,1120,1212,1394,1021,736,443,399,1136,1488,918,615,648,1002,977,622,841,1208,1328,1438,1620,1664,1612,1206,823,1052,1032,729,830,739,1180,2192,1858,1314,1084,966,1164,857,498,516,716,1030,1258,957,672,984,877,868,1036,1192,1148,1238,1220,1272,991,855,1008,1120,1236,1398,1642,1810,1836,1892,1578,1524,1526,982,633,512,547,456,749,1262,1276,1126,1018,1376,1312,1126,922,621,496,520,585,722,561,603,1168,1326,1280,1342,1194,1164,1336,1306,1362,1682,1582,1362,1312,796,547,860,1422,1216,1236,1174,1132,1236,1212,792,541,898,1344,1064,1104,1168,1362,1390,1404,1286,1134,1088,815,895,1158,1078,1064,1021,1088,1008,985,1030,1280,1260,1250,1428,1312,1042,1078,1168,1398,1184,881,722,666,913,1154,886,691,825,1136,1192,1118,1024,1182,1428,1434,1386,1266,1384,964,880,910,1388,1500,979,819,982,842,763,933,1220,1110,1158,1164,1142,1168,1124,1186,1340,1272,1124,1468,1644,1382,1184,1448,1442,1516,1380,1238,1084,1168,1144,913,903,1142,1126,995,1282,1272,1212,1010,672,526,881,1198,1230,1076,932,1114,1224,1230,1164,1260,1260,1106,706,709,955,1110,1202,1416,1416,1284,1094,764,855,1034,1404,1152,1228,1334,1162,1136,1340,1250,1264,1148,941,1008,946,1216,1376,1284,1176,1240,1182,1092,974,1234,1578,1250,1282,1424,1320,736,407,414,885,1328,1696,1796,1374,1015,1058,1250,1272,1482,1312,1290,833,803,921,1404,1158,568,527,922,1100,797,1078,1390,1009,860,1120,1224,1648,1554,1772,1666,1974,3276,3096,1516,1168,1518,1292,1572,2210,1742,1242,1216,1356,1042,1196,1424,1268,1434,1434,1144,901,487,336,393,338,332,377,641,639,760,1228,1422,956,563,560,402,307,289,344,340,297,237,305,393,408,424,410,387,380,361,350,452,475,536,537,386,444,740,591,521,945,847,715,558,462,476,515,911,843,719,1102,1206,1144,888,586,551,628,511,1040,1136,1254,1310,1076,1060,875,638,503,313,300,498,645,653,579,417,261,248,296,328,379,372,411,504,553,537,523,540,526,480,373,325,228,198,249,264,245,285,303,303,400,650,733,548,476,480,477,382,360,414,356,300,324,301,202,212,281,425,441,402,412,482,518,533,580,631,585,419,333,337,332,332,463,879,1138,1182,1274,1334,909,441,658,981,730,458,571,1152,1262,1112,1256,1352,1324,1256,1178,1178,730,458,919,907,1254,1452,837,293,302,408,499,785,893,901,613,482,899,1102,1084,1100,822,449,494,367,345,561,967,1100,1368,1766,1862,1574,1224,1202,1220,997,704,460,457,973,1252,807,347,406,435,416,450,487,377,259,233,430,909,1032,491,319,278,322,335,257,350,823,1058,1486,1742,1140,578,649,549,517,453,425,376,302,301,329,369,399,361,470,576,600,379,315,271,393,789,835,905,547,856,2688,2670,1638,1340,1013,1510,913,597,1000,1298,1576,1428,797,649,569,409,523,1012,1238,1120,1090,1224,919,717,1098,1332,1326,2126,2676,1886,1228,1620,1336,851,1446,1360,1056,1156,1296,1344,1252,855,661,851,1050,1232,1282,1564,1278,885,1594,1430,1340,1238,1370,1874,1932,1374,631,521,499,570,838,1134,930,813,509,340,490,426,367,506,694,772,515,412,455,471,511,594,727,658,605,543,628,1003,1722,1964,1492,1188,947,713,586,719,1138,1172,1112,779,1196,1202,576,404,420,497,527,525,629,639,615,601,525,521,499,480,574,720,764,694,704,802,940,1294,1112,1128,1396,1226,1072,1070,1080,926,829,689,799,1074,1404,1112,1090,1494,1316,1202,1042,995,1482,1716,1782,1834,1382,871,600,582,706,744,1176,1220,1138,1190,1134,900,974,1342,1632,1636,1528,1220,728,641,822,938,912,738,520,596,812,875,658,398,373,376,392,479,423,350,326,330,403,749,1306,1278,1308,1214,1152,1160,1432,1656,1456,1390,1222,1202,1434,1272,918,969,1154,1290,1410,1468,1604,1572,1644,1666,1544,1324,857,580,576,550,572,730,557,653,872,1150,1302,1450,1470,1248,957,880,1180,1092,570,466,500,565,650,806,929,973,988,786,713,792,962,1156,1072,1138,1302,1410,1292,1256,1000,643,600,881,1256,1544,1406,1438,1684,1648,1548,1520,1464,1292,1410,1406,1418,1430,1322,1424,1614,1456,1238,1428,1036,713,815,1128,1128,654,367,504,728,1138,1458,1468,1222,1120,923,1144,1230,1218,1150,974,1274,1692,1668,1682,1700,1836,1742,1476,1328,1262,1184,1080,1382,1552,1296,1224,1398,1416,1116,801,1050,1272,1362,1328,1470,1032,762,1050,1138,882,559,384,626,1300,882,448,368,591,960,1076,938,923,1116,1298,1616,1444,942,466,342,320,272,219,258,310,355,330,315,345,360,234,239,276,430,656,857,523,249,379,567,615,524,576,642,527,371,311,270,319,549,667,582,566,580,499,656,1140,1332,1300,1366,1710,1552,978,465,304,341,343,375,323,304,513,1094,1522,1472,1238,1090,1270,1082,663,547,609,677,1005,931,752,1282,1538,1158,962,1158,1448,1254,1098,1028,899,669,503,637,897,1206,1190,893,1116,1236,696,713,778,954,1270,1382,1604,1758,1596,1274,1002,1046,1068,1064,1118,1094,1050,915,1104,1538,1348,731,716,1098,1046,1026,1368,1338,1238,1432,1274,1062,1142,1102,1142,1026,1112,1418,1226,894,919,1036,1026,962,910,1132,1001,979,1254,1680,1454,1007,929,510,414,609,1066,1324,1324,1036,1120,1448,1594,1416,951,621,708,1164,1250,1202,1264,631,627,1160,1288,1240,1304,1378,1162,1030,1260,931,507,579,1034,1378,1436,1090,839,575,365,321,318,352,415,534,631,730,698,877,1344,1312,1334,1426,1324,1478,1446,1294,1356,1472,1500,1510,1264,1414,1456,1286,1158,1072,1430,1688,1334,1160,1268,854,573,538,968,1336,1140,730,944,1258,1252,1090,998,1068,1166,1390,1594,1758,1758,1710,1568,1584,1446,1440,1528,1544,1514,1358,1722,1742,1472,1388,1372,1234,884,942,1394,2194,2282,1816,1566,1390,1272,1438,1460,916,879,833,1282,1296,1202,1009,752,489,377,360,296,322,406,860,1302,1482,1194,1258,1016,788,828,1066,1194,1009,1050,1092,1172,1358,1434,1246,1100,1320,1276,1466,1672,1446,1350,1450,1186,987,886,757,636,1040,1206,1132,1048,1064,1028,765,856,1066,789,798,926,914,1338,1114,1262,1446,1310,1218,951,927,1246,1334,1278,1160,1130,1142,1166,1192,1208,848,527,597,689,614,662,572,517,520,427,476,489,470,489,478,822,1134,1032,913,780,620,606,419,369,365,335,368,395,590,1088,1172,864,1150,1338,1096,1074,1076],[968,704,648,830,964,941,971,1752,1324,1630,1442,969,941,806,602,514,372,448,1308,1884,1900,1992,2250,2142,1816,2010,2080,1488,1168,1450,1836,2214,2138,2214,2122,1974,2192,1214,781,978,619,848,1396,946,503,847,1152,966,1128,1052,661,648,924,1174,1504,1528,1206,1110,1072,900,717,1005,1396,1374,1544,1464,1104,883,726,495,295,316,370,431,699,1120,1396,1198,759,507,350,278,447,667,545,491,733,1194,1514,1066,681,866,1098,1254,1256,1156,998,795,688,768,880,794,560,295,253,258,234,247,276,319,294,301,415,582,915,1058,811,944,1124,1316,1318,948,820,984,1023,881,851,744,850,766,658,616,569,486,406,541,483,372,394,343,380,528,793,1002,641,606,700,952,1204,1356,858,633,957,890,507,460,755,904,776,639,859,968,545,482,564,748,1368,1424,735,468,420,566,724,758,546,501,662,904,1176,1462,1562,1616,1600,1194,468,353,310,409,503,617,498,367,538,838,732,514,549,738,1090,1162,863,485,754,695,496,417,438,463,404,373,488,740,612,615,1162,1302,990,1122,946,631,1190,1478,1378,1158,510,377,310,423,528,766,813,628,452,374,370,395,281,424,877,1100,1456,1270,1440,1164,1254,843,454,318,322,323,271,243,253,266,325,386,261,280,254,261,247,241,252,332,322,344,530,557,570,916,1262,1316,862,587,956,1438,1700,1642,1418,1182,1092,1670,1810,703,310,296,328,329,379,376,466,587,648,678,585,797,1138,792,818,1124,1178,1252,1023,1040,1336,1288,999,1218,1602,1376,1438,1416,1516,1618,1776,1706,1076,1005,786,476,422,444,641,873,908,695,565,809,896,907,866,427,314,538,740,606,449,377,322,412,555,675,633,536,466,384,356,392,438,427,383,478,551,684,1396,1350,771,890,1084,1086,1050,1112,1578,1490,1108,937,1032,1266,1186,1426,1464,1488,1686,1274,990,936,940,959,864,829,880,677,590,593,968,1186,1262,1406,977,495,822,1170,918,567,552,672,875,874,811,1114,1174,1188,1124,1058,830,507,527,450,538,794,1156,1322,1080,913,1118,987,525,721,1028,926,880,1026,1170,971,466,461,749,660,832,1236,1224,1324,1526,1562,1416,1250,1192,849,777,810,1008,662,449,461,667,640,494,541,653,714,608,590,920,736,446,531,702,863,1548,1524,772,654,945,1124,1134,948,630,816,1302,1282,1450,1650,1784,1536,984,975,1009,669,900,1224,1350,2006,1760,1266,942,877,843,643,547,644,767,782,827,817,817,934,980,1256,1330,1426,1058,755,1122,1128,634,771,1266,1424,1390,1490,1556,1236,1696,1920,1460,1444,1422,1158,848,549,528,539,909,1208,1152,967,1114,1046,1246,1426,1262,892,750,811,513,492,381,445,913,1316,1368,1013,662,553,725,928,920,1104,1272,1360,1322,1104,775,978,1348,1464,1480,1266,1212,1592,1290,957,1030,1646,1676,1112,1140,1172,1328,1374,1518,1414,1256,1086,781,1122,1340,1276,1284,1326,1188,900,886,1009,1136,1012,1130,1376,1068,836,983,1282,1422,1418,863,518,698,847,872,837,869,861,796,837,921,1006,1076,1146,1290,1516,1456,1258,1023,766,855,1528,1488,755,455,709,972,1144,1064,1262,1202,1268,1060,893,841,862,1174,1344,1274,1512,2098,1664,1428,1278,1322,1516,1432,1298,1274,1194,1194,1092,960,1188,1176,1076,858,1094,1158,1176,1009,635,456,661,948,1132,1162,1316,1388,1556,1792,1294,1268,1354,1292,1104,1208,1272,1138,1166,1276,1352,1404,1134,871,814,1194,1336,1070,1174,1356,1242,1222,1230,1170,1302,1226,1222,1228,1168,1382,1388,1188,1258,1458,1182,1188,1288,1320,1292,1178,1216,1264,930,666,414,531,1010,1124,1498,1692,1362,1050,1050,1142,1104,1152,1164,960,704,1098,1078,1074,922,771,771,711,1170,1456,1294,1350,1298,1188,1007,1560,1746,1444,1552,1374,1042,1174,1794,1540,1212,1444,1298,1492,1730,1514,1162,1054,1086,876,789,1042,1466,1610,1436,1316,788,424,337,335,279,293,392,725,785,601,998,1166,531,433,357,268,257,281,371,403,390,408,446,446,393,447,384,364,380,314,352,525,514,474,477,496,790,1316,1068,650,760,555,408,432,497,489,598,1064,997,847,1354,1616,1460,861,587,547,531,488,1236,1364,1322,1364,1058,811,872,829,546,364,507,439,391,516,400,249,238,361,500,540,539,540,539,544,522,483,384,330,284,229,194,202,221,228,252,262,324,387,490,448,300,441,532,508,508,495,491,452,459,490,470,416,431,358,262,311,340,340,294,337,412,463,532,519,530,591,653,574,509,434,325,333,315,401,714,1086,1254,1244,1152,745,547,705,1026,1038,759,969,1236,868,1070,1700,1530,1122,1174,1318,982,569,1080,1116,891,767,533,330,349,506,449,449,500,852,686,426,527,781,686,956,949,675,798,806,621,525,913,1448,1454,1720,1854,1632,1614,1390,1200,1110,711,585,607,810,783,515,366,403,422,418,441,469,412,306,270,341,386,277,222,256,333,318,191,312,640,941,1140,1738,2106,1604,644,689,659,586,482,480,453,384,397,423,505,566,777,1246,1194,933,511,354,347,744,705,562,744,651,1268,2964,2636,1102,705,1224,1898,1262,1080,1378,1560,1660,1394,750,385,516,569,603,993,1210,1108,1100,888,772,1040,1564,1542,1838,2710,2846,1780,1080,1344,933,1366,2276,2222,1454,1224,1318,1394,1300,1120,1256,1100,922,1168,1256,1494,1160,984,1682,1492,1346,1034,873,1224,1340,1054,495,404,456,775,969,1116,708,661,580,500,673,579,452,558,688,716,515,587,502,481,541,614,700,633,564,595,660,1194,1994,1916,1554,1428,1216,1164,1166,1060,1186,1192,1226,1176,1324,1110,504,449,430,480,469,458,497,554,529,521,516,490,440,452,565,628,655,604,588,645,903,1138,1138,1280,1178,1178,1154,866,1110,1002,912,641,644,655,1146,1448,1200,1202,1248,1306,1168,925,1264,1800,1910,1826,1920,1556,860,499,792,1218,1224,1134,1434,1508,1410,1276,1490,1144,1554,1576,1502,1092,686,586,782,952,915,862,552,659,727,752,556,560,495,475,472,505,477,390,363,388,428,651,1232,1182,1092,1009,1018,1074,1140,1384,1544,1430,1288,1194,1230,1188,1166,1134,982,1158,1132,1344,1616,1570,1558,1516,1118,659,536,540,571,571,810,1074,869,1078,1194,1015,998,1256,1536,1290,1122,805,982,987,504,319,426,637,893,1154,1360,1512,1454,965,852,861,980,1284,1360,1292,1244,1080,1126,1400,1496,1182,753,684,1116,1446,1504,1506,1522,1490,1826,1972,1790,1616,1478,1404,1534,1616,1396,1388,1394,1450,1402,1158,924,1078,1532,1476,1218,1252,998,1114,980,1350,1624,1484,1246,1168,1296,1256,1158,1178,1268,1322,1378,1176,1028,1336,1340,1500,1510,1166,1024,1028,931,983,1124,1032,1088,1316,1554,1606,1378,945,1308,1504,1624,1438,1318,1042,1021,1124,747,680,478,395,555,1262,786,363,303,423,657,1078,1292,1302,1454,1168,1094,1292,1344,666,340,354,305,281,298,335,373,348,264,236,253,235,272,378,463,773,697,412,303,273,371,401,320,328,386,383,332,296,330,377,691,1003,807,754,870,479,506,593,833,1168,1838,1660,1084,1238,1013,591,379,359,306,258,314,364,447,614,645,745,844,836,736,750,879,750,634,797,820,874,1204,1282,1176,1364,1304,1226,978,899,1080,1140,755,544,747,1028,1140,938,1102,1440,1244,1144,1284,1098,795,830,852,1080,1730,1522,1278,1296,1314,1474,1408,899,930,1104,1088,1248,1228,895,910,904,996,1202,1410,1386,1310,1248,1248,1144,970,890,1026,1314,1274,1406,1596,1260,1064,1064,971,935,949,1011,1132,1118,1090,991,1190,1224,857,1054,861,610,869,1236,1350,1232,1072,1350,1494,1430,1376,1250,979,1342,1404,1338,1136,946,547,492,1122,1262,1198,1234,1194,1506,1644,1142,686,768,924,1396,2118,2204,1476,795,482,374,350,304,314,487,637,714,794,717,890,1166,1268,1332,1390,1628,1582,1066,1066,1260,1478,1544,1516,1020,1130,1226,1268,1294,1444,1576,1534,1204,807,841,493,461,544,964,1244,919,698,1018,1334,1120,579,514,867,1224,1022,1018,1246,1478,1626,1682,1616,1396,1406,1498,1432,1390,1368,1666,1318,1364,1434,1396,1354,1174,1040,1480,1884,1684,1582,1654,1476,1214,1620,1102,447,482,885,1042,1144,1214,1310,1278,1036,882,602,419,349,360,796,1200,1168,1040,1162,1110,884,890,1128,1226,1044,883,1076,1114,1266,1200,916,1102,1390,1294,1324,1468,1302,972,1076,1110,1110,916,641,656,883,990,1046,1126,1120,1160,1092,1180,926,977,1114,1048,607,922,971,1110,1304,1230,1272,1202,1116,1192,1130,765,915,904,1248,1172,924,962,1015,703,552,570,636,633,593,505,487,584,634,601,580,560,536,827,1310,1568,1184,695,484,461,371,350,341,352,407,558,593,815,959,825,917,1440,1042,749,815],[1080,933,919,1044,991,978,1064,1346,1066,1310,1356,1224,1088,781,499,489,459,584,1286,1826,2030,2040,2214,2288,1956,1878,2062,1886,1502,1630,1670,1760,1694,1500,1572,1670,1820,1026,771,922,576,1023,1318,672,676,1018,755,986,1126,847,705,1023,1320,1496,1504,951,725,926,1204,1268,953,785,993,1084,1316,1302,1038,1001,1092,821,436,354,393,458,834,1284,1426,1462,1262,899,645,543,488,619,524,560,825,1402,1268,955,560,778,1310,1512,1608,1278,709,715,757,576,412,413,365,308,310,296,262,286,280,254,283,333,526,672,598,609,693,953,1102,1186,1238,1086,1228,1422,1268,1110,1164,965,870,935,1040,721,550,479,361,360,457,551,514,390,379,583,880,824,458,540,877,824,1054,1054,602,935,1374,777,391,467,853,1072,1118,1046,697,498,376,488,670,744,1090,1174,696,538,512,612,715,741,554,415,560,693,813,1142,1366,1522,1422,1088,496,368,327,522,598,544,451,436,698,940,901,893,672,626,943,1023,579,366,660,648,432,404,482,463,353,344,518,623,491,833,1358,1482,1142,1042,930,752,967,1318,1832,1452,576,395,437,741,819,887,1240,965,458,379,404,508,601,678,1154,1372,1236,876,774,806,925,720,424,318,343,347,276,232,249,262,325,407,314,245,236,245,233,234,257,273,389,885,1074,965,1023,1108,1224,1050,674,544,861,1058,1322,1620,1410,843,861,1346,1180,516,250,257,296,287,280,285,350,454,769,824,495,633,1034,1274,1086,800,1082,1272,1204,1270,1332,1288,1240,1418,1428,1158,1418,1394,1468,1538,1628,1266,858,887,607,422,476,561,802,725,805,623,552,484,573,1102,1162,560,322,809,1288,728,632,501,393,314,674,807,594,738,734,449,341,397,545,545,539,1214,1192,929,805,641,402,809,1188,1460,1618,1332,1310,901,654,814,1112,1360,1268,983,927,1028,1206,1312,1228,1242,1410,1148,752,746,680,881,1088,913,1080,1266,1228,1284,1052,875,1178,1366,1224,1005,722,781,553,615,755,693,593,1042,1194,973,750,677,662,449,577,898,1110,1070,955,1098,1666,1216,724,1102,1210,1172,1028,993,1112,879,725,626,971,1212,1310,1444,1452,1348,1470,1586,1344,1070,1166,852,659,634,548,483,597,877,1094,846,445,372,327,372,343,441,551,403,425,719,1344,1426,1328,1112,1090,1112,1074,880,1038,1142,651,488,866,1208,1276,1276,1440,1384,957,885,995,855,965,1242,1340,1306,1354,1328,891,712,658,630,689,763,898,997,1208,1088,986,772,865,1018,1302,1584,1206,869,967,893,538,651,905,1228,1304,1128,955,673,1348,1772,1508,1360,1302,1224,1200,778,507,468,689,764,1100,1312,1148,854,955,1090,1178,816,828,1266,698,374,318,401,763,1150,1260,1136,719,475,641,1076,1096,659,982,1324,1274,1294,1252,1382,1378,1218,1256,1362,1472,1838,1338,1216,1360,1470,1272,1172,1256,1396,1418,1222,1268,1346,1228,1122,964,1288,1442,1362,1282,1262,1096,1170,1216,1114,1184,1332,1660,1432,937,950,830,1090,1108,924,565,549,786,1015,948,848,1114,1112,930,876,1130,915,1118,1338,1356,1550,1460,1274,1166,686,563,868,1005,879,856,940,1266,1264,1142,1052,1074,1044,702,654,631,711,1046,1248,1376,1476,2002,1738,1186,1296,1422,1512,1442,1270,1228,1180,1112,1272,1226,1282,1214,1146,866,957,1090,1200,999,601,480,543,814,1060,1534,2446,2292,2132,1622,1172,1212,1238,1318,1346,1174,1132,1104,1312,1388,1490,1482,1124,953,1104,1234,963,927,1068,1172,1104,1100,1114,918,708,1040,1344,1216,1256,1438,1346,1090,1274,1380,1100,1194,1306,1372,1278,1230,1218,1164,1146,999,834,941,1112,1178,1282,1438,1278,1142,1250,1256,1268,1142,1176,944,1028,1338,963,473,492,790,1004,1132,1482,1460,1382,1552,1332,1258,1108,1332,1372,1356,1602,1260,872,949,1194,1322,1064,724,861,925,990,1346,1386,1312,1052,694,685,965,1414,1564,1298,1126,909,678,454,289,296,285,407,783,715,711,799,851,429,250,247,259,284,349,392,404,428,443,436,466,487,556,494,453,403,370,444,561,573,431,417,667,901,1370,1054,613,633,479,393,576,910,957,947,1030,869,800,1286,1726,1716,1246,732,519,464,593,1374,1418,1256,1282,1044,640,428,391,426,438,489,331,351,462,355,362,450,449,542,587,547,523,461,387,318,290,215,185,225,243,238,260,278,278,270,315,514,554,617,555,327,244,304,395,512,527,502,487,518,527,536,497,493,433,380,341,327,349,370,440,420,534,519,454,492,525,548,571,607,545,415,347,322,318,323,548,974,1242,1322,1306,957,650,552,866,860,692,1202,1110,706,1274,1226,899,761,978,1064,617,539,615,557,558,496,400,326,402,310,325,405,735,1013,688,450,780,944,779,671,685,789,1324,1164,545,318,865,1318,1582,1108,943,1296,1430,1430,1406,994,534,720,835,576,421,413,417,417,420,430,436,484,417,326,349,497,401,289,241,231,215,231,474,1026,1236,1700,1874,1780,1334,741,764,669,521,433,332,299,414,508,437,509,907,1230,1152,754,472,387,300,579,943,813,543,515,736,1484,2156,1352,455,592,1312,2110,2128,1584,1578,1360,774,675,683,532,552,403,379,735,1168,850,614,651,890,1196,1166,1328,2132,2666,2224,894,555,1003,1022,1968,2608,2120,1516,1284,1310,1646,1588,1190,1202,926,1014,1128,1246,1354,1010,924,1324,1222,1174,1042,1050,1328,1346,1142,612,426,547,832,1096,963,581,592,547,499,623,584,525,548,789,589,496,515,468,493,554,554,605,573,525,583,695,1230,1986,1638,1476,1306,1410,1726,1594,1046,966,1180,1312,1324,1102,683,460,473,425,456,451,446,494,546,539,515,521,488,465,472,475,445,508,637,785,870,821,865,1038,1046,1118,1450,1320,797,1040,979,891,645,550,531,879,1284,1498,1408,1218,1256,1400,1240,1572,2040,1220,823,1350,1864,1272,874,1182,1256,1224,1550,1598,1204,1184,1404,1428,1230,1334,1160,1050,1052,836,506,706,869,832,778,692,849,761,671,619,632,601,680,700,626,484,423,473,496,458,530,1052,1118,982,886,856,796,663,938,1376,988,980,1206,1328,937,860,966,1186,1170,1130,1122,1218,1520,1362,961,645,534,541,542,574,841,1212,1354,1180,1112,984,800,937,1204,1200,883,1013,1012,704,798,769,413,392,818,1112,1090,1394,1560,1400,955,1096,1074,1278,1508,1468,1218,1028,1120,1334,1530,1738,1448,916,626,969,1238,1428,1300,1242,1742,2292,1986,1570,1408,1430,1544,1530,1616,1280,1334,1268,1346,1272,1322,1234,1084,1296,1094,1208,1532,1196,1136,1094,1288,1556,1570,1338,1178,1274,1422,1158,1076,1570,1516,1202,809,548,934,1278,1464,1626,1262,955,960,1060,1134,943,775,1622,1656,1884,1760,1596,1390,1422,1648,1890,1754,1482,1308,1250,943,574,583,576,428,377,511,548,557,555,572,472,716,1212,1300,1196,1056,851,1218,1522,869,380,346,328,357,399,353,370,334,242,288,315,409,404,334,405,489,372,269,254,267,384,440,315,336,404,402,347,387,463,606,860,885,650,785,967,866,1140,1054,872,1050,1610,1130,445,630,1058,1146,648,364,277,297,362,357,341,301,305,330,275,277,351,409,364,477,805,1128,946,1154,1021,692,622,693,894,1130,1180,1096,1346,1440,876,795,1204,1342,1108,1120,961,897,1050,1272,1280,1200,1068,868,619,888,1456,1638,1688,1434,1334,1668,1316,647,880,1340,1222,1176,1072,1144,1092,1106,1236,1360,1130,1168,1242,1288,1354,1258,1174,1144,1258,1406,1366,1378,1278,850,608,604,518,629,579,686,808,793,753,903,1202,1152,1013,927,809,897,946,816,951,1166,1218,1228,1406,1512,1142,1368,1362,1468,1550,1686,996,416,356,321,566,1084,1572,1282,977,1580,1788,1394,980,1086,968,1280,2098,2082,1154,571,406,375,357,375,437,522,564,633,694,586,768,1140,1450,1526,1316,1366,1314,919,805,1034,1390,1466,1466,1394,1210,1156,1270,1520,1616,1442,1406,954,867,762,541,441,596,1022,1154,1188,1208,1256,1224,976,626,737,1018,1266,836,722,778,826,1078,1368,1448,1484,1330,1226,1460,1498,1712,1592,1358,1466,1148,1042,1224,1104,809,854,943,1142,1394,1466,1354,1484,1600,926,591,785,991,1062,1120,1028,1154,1336,1232,1206,709,431,291,276,428,778,906,661,797,1062,1008,1096,1302,1256,1350,1090,975,1086,1340,1302,928,1052,1310,1422,1566,1588,1338,790,781,1078,1384,1244,716,492,620,794,880,836,879,1250,1404,1688,1198,1252,1390,1026,633,581,676,1004,1282,1088,1166,1242,1434,1260,980,805,981,860,757,643,453,671,953,658,522,444,455,590,683,461,449,466,553,617,629,623,538,504,653,916,1086,567,437,413,371,345,377,392,466,661,762,925,876,893,931,1528,1440,1282,1244],[896,944,1272,1068,699,828,1164,1050,921,1072,1040,937,890,626,647,736,673,767,1232,1492,1542,1694,1982,1880,1660,1870,1918,1614,1704,1694,1602,1546,1588,1792,1904,1952,1502,675,634,761,597,1112,996,642,998,1114,669,608,753,943,1244,1426,1498,1550,1418,875,868,1128,1460,1756,1366,985,1130,1220,1090,1260,1362,1340,1084,894,590,448,415,449,535,885,1290,1506,1340,1148,1046,775,447,503,591,975,1316,1168,718,562,487,505,547,886,1350,924,456,908,1050,773,465,390,435,364,303,265,267,309,302,246,347,492,525,552,530,706,957,1038,948,984,932,675,773,1044,1204,1328,1268,1302,1246,1262,1382,927,538,471,551,507,962,1150,1218,1152,655,735,880,793,467,527,608,426,700,843,813,1112,1270,807,539,537,683,717,705,774,883,761,469,455,738,662,835,857,661,656,572,480,482,461,435,470,601,653,541,776,874,966,784,605,430,373,316,582,760,623,571,622,670,742,746,1252,918,464,546,503,423,376,452,517,381,408,474,438,334,360,404,419,557,687,933,1388,1242,942,557,627,713,985,1094,816,654,502,674,842,876,1066,1274,1034,907,765,574,413,671,618,1072,1498,1092,954,1064,992,865,711,523,396,501,426,363,379,365,326,366,417,385,292,241,249,291,307,320,455,804,1372,1288,1290,1466,1278,1114,978,778,1023,1388,1378,1450,1542,1104,883,1232,1110,584,369,303,315,314,288,252,249,297,620,1110,902,484,518,931,1202,1005,1018,1150,1328,1378,1272,1228,1232,1234,1005,1270,1390,1520,1314,1396,1506,1148,708,901,1076,605,383,342,481,1036,1122,1098,1052,894,843,849,1078,973,441,471,1132,1256,798,775,543,374,337,636,709,694,713,596,594,366,490,772,581,571,969,1194,820,395,373,435,981,1352,1310,1434,1390,1230,971,669,704,1174,1178,663,413,440,630,1068,1276,1126,856,637,512,723,860,584,840,1344,1342,1428,1594,1440,1292,1152,1272,1248,1122,1064,1228,1294,929,788,933,984,765,598,971,1124,896,631,558,597,543,777,889,886,860,745,1240,1756,1130,724,852,862,1210,1168,1274,1484,1428,1178,727,734,1064,1162,1164,1274,877,966,1228,1208,1078,793,621,639,574,474,448,709,1042,1162,709,440,331,266,371,343,533,603,498,446,766,1196,1200,859,808,1288,1266,1216,1198,1094,838,538,410,453,889,1246,1094,892,973,923,998,1148,938,1064,1300,1778,1542,1374,1282,1056,1066,924,1120,1056,772,833,1260,1912,1632,984,655,643,1002,1472,1342,1080,1194,890,808,522,558,741,1096,1036,764,650,540,1056,1730,1632,1010,943,1108,1256,1134,671,510,599,819,905,951,1096,951,1032,1216,1256,622,436,747,734,533,325,361,641,792,991,1296,913,405,397,799,1026,783,905,1212,1460,1510,1428,1282,1290,1382,1310,1438,1670,1528,1200,922,777,890,927,1052,1132,1192,1208,956,1212,1288,1286,1192,1148,1232,1116,1070,1268,1354,1390,1426,1144,981,1104,1340,1582,1256,912,1003,1382,1170,810,546,606,829,858,877,835,979,1166,1044,956,1148,1294,1128,1324,1254,1196,1284,1140,1086,974,452,529,808,1106,1280,1538,1230,1162,1114,1040,937,1056,1028,716,735,727,626,748,1072,1196,1114,1174,1284,1136,1298,1492,1472,1312,1166,1148,1108,1098,1266,1296,1216,1348,1290,930,1068,1360,1176,1038,899,757,698,843,987,3208,4928,3820,1724,932,1340,1368,1154,1224,1296,1070,877,885,1102,992,821,675,721,733,830,746,713,803,756,1066,1156,1184,999,989,1178,1160,1062,1100,1302,1522,1460,1274,1334,1270,827,948,1218,1340,1256,1322,1224,1302,1298,1250,1296,1168,1188,1212,1290,1302,1170,1318,1452,1418,1222,1246,1238,1094,1148,1028,505,386,461,1274,1930,1434,1302,1418,1468,1524,1404,989,1086,1426,1284,1238,1160,709,619,645,1038,1266,857,696,1196,1076,721,941,1048,1316,1302,1120,1048,1134,1414,1334,1254,1014,937,1362,1260,567,398,300,312,557,662,1274,1412,1404,803,330,340,287,285,353,395,435,439,427,428,514,689,701,612,513,409,368,406,511,495,379,412,611,607,776,643,442,719,816,698,993,1496,1366,1380,1390,1180,1154,1248,1464,1438,1350,926,528,380,537,1082,1222,1626,1454,1430,979,433,407,580,460,280,314,474,561,522,521,565,556,556,560,517,407,307,296,319,312,253,233,248,255,233,229,278,375,390,350,609,805,894,777,565,443,391,310,379,422,501,461,453,513,512,478,514,513,477,436,400,373,478,602,406,498,363,298,385,486,516,514,557,583,503,425,357,306,286,300,438,866,1188,1400,1422,1224,767,440,331,510,1128,1208,510,575,637,477,379,740,948,776,832,963,1058,949,439,316,320,318,489,778,814,898,1098,798,439,513,780,866,774,472,675,1124,854,357,296,368,646,846,681,462,543,951,1354,1476,1256,590,606,858,830,753,589,459,453,428,449,462,477,408,377,349,697,650,422,322,185,428,684,817,1118,1462,2356,1734,1230,912,700,637,464,347,348,386,484,846,1012,605,447,682,636,472,382,367,377,694,958,858,777,411,398,1108,1590,904,538,1188,1540,1862,2346,1808,1178,1162,1084,733,439,332,363,367,490,455,659,1126,852,504,769,1138,1208,979,1076,1440,1714,1218,531,786,1304,1528,1902,1958,1588,1278,1216,1446,1768,1792,868,838,1388,1790,1930,1606,1292,919,810,1092,1128,1260,1004,1146,1422,1434,1294,645,412,583,841,1144,813,503,628,542,556,590,588,487,648,854,619,504,370,268,436,605,660,651,498,445,543,722,1362,1866,1482,1324,1290,1452,1586,1220,880,1372,1438,1472,1290,1280,647,424,435,421,422,396,459,547,584,599,529,541,496,437,435,443,417,417,708,1260,1448,1172,1104,1086,1100,1312,1460,1302,832,977,960,792,630,549,538,691,1154,1482,1136,1084,1340,1310,1604,1328,1564,1110,781,1023,1336,1440,1200,962,994,1052,1112,1172,1528,1808,1888,1918,1484,855,733,1056,1232,1200,963,991,940,1238,1220,1104,928,600,516,596,554,480,502,511,562,509,444,412,448,640,732,851,861,741,631,562,662,745,912,1328,929,696,650,875,613,409,439,412,735,1230,1013,1150,1250,1094,699,568,538,445,498,611,625,683,1028,1302,1172,1021,962,961,927,1020,856,849,1104,764,492,473,453,455,697,1300,1480,1376,995,813,653,1156,1322,1450,1430,1210,1052,1058,1260,1208,1224,1338,1288,1112,880,942,1108,1182,1236,2014,2702,2142,1444,1412,1514,1510,1532,1444,1446,1164,1234,1312,1216,1236,1438,1238,1140,1426,1590,1378,1272,1200,1120,1208,1316,1380,1350,1338,1374,1496,1636,1560,1500,1426,1132,861,656,498,1078,1510,1476,1592,1348,1156,1120,1236,1078,994,900,1284,1422,1622,1506,1192,1252,1512,1648,1914,1796,1432,1000,685,814,801,637,669,625,487,412,517,613,828,955,598,996,1442,1218,924,1010,1142,1286,1154,752,512,297,279,285,328,270,266,300,245,340,403,582,657,516,452,437,394,280,271,318,419,547,383,397,413,346,401,550,634,862,1232,1226,1220,1066,1162,1318,1498,1552,1254,890,729,465,386,330,476,880,1322,888,604,385,330,306,358,454,469,300,303,372,430,433,391,505,586,1016,1074,1250,1102,899,680,552,702,999,1214,1236,1250,1296,1034,868,1168,1476,1328,1300,957,860,1154,1260,1472,1306,1218,1044,1019,1354,1432,1152,1282,1336,1482,1648,1302,969,1148,1036,858,1068,1048,1050,1003,829,859,1026,1310,1332,1138,1222,1326,1284,1210,1154,1254,1220,1174,1116,1021,1080,992,752,477,360,520,822,733,977,922,1362,1540,1252,1124,1172,985,948,954,996,1188,1144,919,827,1238,1500,1310,1410,1638,1798,1854,1598,907,568,487,333,499,952,1256,1226,1104,1444,1448,1216,1030,1130,879,736,1100,1060,639,523,547,467,459,686,824,569,497,553,596,559,761,1192,1424,1464,1362,1310,1334,1450,1152,894,951,1016,1232,1180,973,1102,1366,1460,1288,1066,901,504,437,575,568,493,462,702,1158,1356,1106,888,668,891,1038,1380,1242,1096,920,682,679,677,838,1410,1494,1390,1396,1236,1338,1578,1694,1474,1418,1320,991,881,908,738,606,554,619,1230,1288,1168,1124,1194,1082,1096,1076,1084,1262,1230,1142,1142,1246,971,1036,980,720,536,386,323,518,1026,1082,521,550,963,1140,998,1046,1176,1442,1282,1358,1488,1560,1510,1252,1312,1378,1606,1396,1530,1338,744,752,1106,1396,1444,1250,863,843,1082,1138,1296,1084,1190,1434,1372,1020,1064,958,689,528,506,487,675,1166,1140,1102,1044,1320,1122,1142,1358,1216,798,643,573,453,681,819,650,457,499,516,601,692,691,515,412,413,422,504,563,528,536,630,916,937,564,422,387,319,316,396,437,565,777,996,1212,1318,1186,1342,1360,1184,1124,981],[1258,1192,1224,1152,1106,1222,1300,1442,1466,1642,1274,761,604,603,924,1054,948,1060,1194,1080,1062,1292,1648,1614,1406,1612,1926,2038,1854,1384,1702,2088,2182,2380,2446,2328,1448,576,490,459,437,745,589,792,1044,780,570,573,745,1238,1530,1542,1440,1428,1322,1116,1422,1458,1376,1336,1216,982,877,1024,1048,1130,1486,1580,1124,992,858,567,467,483,424,485,775,1018,890,973,1346,1192,580,383,573,715,913,1030,735,419,390,542,596,787,863,755,456,692,941,1150,763,348,396,344,301,261,281,393,434,332,433,544,523,402,558,922,985,912,760,505,606,551,582,881,1062,1258,1390,1566,1224,1100,1098,825,867,894,1124,911,1356,1560,1594,1208,943,998,802,531,441,500,495,580,777,1009,1130,1148,1202,1232,831,471,351,320,396,637,1094,1196,975,436,836,717,910,755,632,754,597,450,446,461,470,440,430,507,352,465,446,473,480,463,419,376,391,628,911,1100,1108,937,810,793,742,1102,767,400,354,305,337,397,552,484,388,444,491,482,410,414,567,766,689,573,937,1452,1148,842,433,451,417,484,444,552,707,800,734,581,724,984,944,683,1116,1196,869,708,690,858,1074,1122,1038,1386,1748,1132,717,814,722,650,974,748,694,670,667,509,357,465,489,397,349,344,313,323,360,463,753,1392,1404,1330,1202,1110,1136,1021,922,874,1330,1420,1314,1234,1180,1206,1348,880,520,452,457,390,286,285,315,321,412,921,1238,1164,790,549,1126,1490,1294,1426,1464,1346,1324,1344,1288,1298,1610,1266,1378,1628,1744,1556,1438,1342,833,589,979,1013,595,414,413,445,950,1334,1662,1930,1638,1180,805,807,673,418,491,1048,839,613,544,557,529,423,393,421,520,512,625,831,421,378,481,453,475,536,816,582,375,406,568,1048,1232,1200,1026,1226,1428,1388,1054,917,1184,1021,614,606,451,482,686,1001,1092,853,523,585,1002,1242,1052,1014,1222,1288,1602,1518,1284,964,1056,1218,1196,943,781,1266,1338,868,987,995,988,1094,899,767,861,1001,930,621,527,587,749,718,663,648,613,1032,1568,1288,972,1154,1296,1384,1122,1196,1426,1290,895,634,791,1260,1082,662,727,504,422,478,645,707,627,681,540,522,617,669,754,577,737,606,525,438,299,355,325,332,378,410,379,399,688,841,628,504,567,841,1018,1042,1232,1036,556,455,422,524,916,1288,971,886,883,1024,1160,893,938,1246,1396,1294,1282,1158,1222,1342,1098,1316,970,636,858,1352,1914,1508,750,648,865,989,1118,1268,991,944,1038,841,525,489,700,1004,889,643,625,521,546,872,962,664,664,904,1054,1102,800,699,705,668,664,764,949,1108,1012,921,583,414,351,492,1016,863,362,356,393,398,499,681,528,371,333,528,744,944,912,1220,1546,1600,1646,1616,1388,1418,1332,1244,1206,1220,984,984,942,735,816,1144,1410,1230,1090,984,998,1122,1200,1218,1192,1196,886,846,1312,1550,1362,1200,788,666,827,1308,1400,1278,1262,1552,1886,1478,698,434,698,1082,951,755,476,469,608,932,1146,1182,1362,1488,1360,934,741,592,625,1212,1284,778,668,754,1150,1350,1242,1132,1116,1015,1204,1176,957,819,617,555,604,535,900,996,933,867,854,1034,975,1386,1466,1470,1278,1104,1102,1188,1064,1204,1294,1126,1108,1076,960,1062,1296,1116,1102,1266,1272,1274,1234,1132,2132,2188,1792,1396,1116,1204,1304,1304,1158,1052,958,692,760,637,590,753,766,747,877,964,848,1038,1238,993,1136,1416,1338,1024,1306,1534,999,689,991,1206,1386,1478,1164,1074,1116,990,1090,1124,1148,1266,1182,1146,1330,1484,1528,1296,1196,1104,1058,1196,1134,1146,861,1094,1242,1026,1064,974,901,1009,1022,772,615,553,1400,1774,1496,1410,1472,1522,1592,1218,791,1108,918,869,1076,841,810,803,875,954,1232,1034,591,1032,954,854,1009,1028,889,1096,1306,1218,1360,1394,1278,1378,1132,882,1066,1478,1092,561,330,291,454,466,1082,1384,1188,795,399,329,307,302,370,389,439,403,438,473,547,744,709,504,425,412,363,372,448,526,906,995,818,872,1214,981,531,670,984,967,1066,1174,885,844,1466,1418,1282,1038,1188,1108,919,807,464,336,442,1186,1218,1190,1654,1654,825,393,408,620,522,356,444,558,590,598,543,500,468,450,358,270,229,250,302,308,240,202,223,239,251,331,459,672,1116,702,373,455,518,674,750,826,670,540,388,290,284,323,282,256,300,366,443,488,513,532,525,514,497,623,875,878,619,313,287,364,383,435,492,499,506,519,541,507,413,323,280,292,459,808,1142,1342,1410,1290,1030,726,832,1274,1012,533,555,735,680,542,626,842,961,935,1005,999,1062,548,367,438,384,510,887,941,700,733,678,686,709,660,618,756,667,558,529,390,278,322,373,486,597,472,392,658,1230,1316,1422,955,576,770,855,869,910,963,740,522,409,419,519,500,464,447,383,484,609,636,264,396,1064,1104,1032,1052,1300,1664,1276,919,716,566,429,398,566,753,602,484,662,635,377,286,268,302,343,393,421,625,928,752,589,542,282,997,1810,1632,711,910,1538,1688,2162,2014,1334,1042,982,1048,874,434,296,319,296,382,337,550,985,846,584,1046,1334,1278,1192,1272,1564,1246,681,633,1044,1406,1776,1776,1418,1438,1204,1294,1658,1676,1656,772,756,1500,1956,2046,1598,1296,1270,1172,1464,1228,1410,871,910,1036,1166,1086,619,444,540,654,657,487,518,704,667,778,774,721,571,792,806,625,600,522,443,547,691,772,687,597,579,628,694,1166,1382,1472,1380,1190,1394,1422,1228,1252,1516,1306,1366,1350,1344,666,382,430,373,346,357,408,489,646,695,561,584,522,470,413,407,390,390,700,1284,1506,1334,1270,1260,1332,1332,1021,984,874,912,851,832,812,714,763,736,1044,1366,1296,803,1050,1260,1104,990,1196,1094,1142,1060,1108,1288,1070,1070,1136,833,586,816,1196,1448,1434,1011,599,806,1310,1544,1194,1118,1009,1184,1008,1204,1306,1228,884,515,522,491,434,385,412,422,645,608,408,408,670,934,893,916,833,599,676,883,1036,876,720,1236,1200,691,432,553,478,429,503,491,864,1046,899,1036,1092,1017,777,614,535,398,409,525,525,611,1023,1360,1144,1284,1526,966,1214,1362,818,519,791,908,619,666,738,510,514,1076,1188,1026,737,865,995,1174,1194,1204,1222,1136,1302,1142,1226,1324,1122,1324,1318,1066,748,844,1013,1044,1240,1380,1424,1504,1562,1490,1438,1400,1290,1292,1330,1152,1180,1370,1288,1238,1184,1094,1334,1640,1328,1092,1344,1332,1090,1170,1350,1386,1508,1564,1400,1384,1274,1324,1516,1496,1478,1116,837,797,1228,1558,1686,1738,1626,1284,1230,1190,1112,916,678,959,1482,1544,1344,1116,936,1272,1682,1742,1434,957,582,497,517,706,724,716,921,869,459,343,343,504,725,698,833,1132,1278,1068,983,1350,1554,1092,536,601,314,263,209,215,171,205,263,241,276,302,559,1030,992,518,255,296,275,368,516,465,557,583,474,407,339,478,879,986,730,1018,1021,905,1066,1102,1190,1216,1396,1448,949,540,664,882,397,350,421,820,1184,1202,737,349,383,568,805,588,283,329,446,466,483,737,818,456,615,768,800,945,949,840,688,654,800,1108,1094,1160,1146,1308,1334,1416,1328,1238,1114,908,848,1082,1168,1452,1214,1216,1162,1070,1272,1166,993,993,954,1264,1656,1532,1260,1162,1046,947,983,752,629,956,1162,1009,1114,1418,1130,877,1046,1298,1262,1126,1144,1158,1048,915,827,843,1068,1308,1442,998,648,802,1182,1038,1021,1021,1182,1226,1040,1018,1170,854,702,1170,1488,1132,874,789,738,1148,1472,1580,1468,1472,1696,1646,1230,1036,986,924,532,592,1068,1350,1354,1366,1430,1266,1144,1226,1170,988,897,629,504,512,414,560,758,820,724,557,441,444,473,545,610,863,1272,1382,1260,1154,1164,1216,1440,1582,1476,1104,715,724,875,1126,1182,1376,1534,1484,1208,976,714,523,628,1016,1026,520,744,1316,1224,1202,983,643,851,1260,1256,868,893,808,594,719,966,1118,1322,1664,1318,1350,1492,1512,1538,1576,1450,1378,1384,1368,1114,832,484,518,531,950,1216,1080,1196,937,648,838,1328,1492,1366,1224,1200,1222,1152,1206,788,813,983,1050,1023,727,450,539,928,1108,569,397,632,700,470,392,977,1590,1532,1400,1400,1484,1554,1216,1202,1160,1432,1368,1416,1444,965,681,1050,1302,1472,1302,1064,1140,1558,1350,1324,1434,1484,1396,1324,1410,1156,658,498,494,526,505,582,773,919,958,1130,1250,1068,1218,1386,1130,713,540,490,400,476,543,761,506,437,703,792,881,958,609,448,452,543,481,466,426,445,560,683,557,437,417,401,371,360,398,515,561,814,1238,1320,1322,968,994,915,976,1080,947],[888,1060,1136,1342,1572,1590,1658,1598,1604,1912,1454,810,500,604,963,1166,1166,1230,1340,1388,1454,1444,1708,1894,1434,1404,1798,2022,1880,1546,1958,2578,2514,2578,2662,2294,1158,533,423,347,337,431,656,1102,1042,756,744,1054,1090,1092,1282,1244,1068,891,1006,1222,1416,1348,1300,1434,1200,843,623,661,954,1050,1360,1350,1108,1212,976,554,472,413,388,401,509,688,709,922,1346,1252,662,432,671,731,628,453,354,316,337,385,514,556,630,619,516,505,520,645,490,339,394,346,274,260,274,404,423,414,514,477,361,347,632,885,855,876,743,537,639,452,592,948,936,1062,1328,1346,1134,833,971,1144,931,881,1019,1026,1416,1440,1180,854,1136,1410,1040,505,532,518,507,608,713,957,935,1296,1334,1126,1050,833,532,352,385,589,905,1112,1128,518,782,936,1054,857,658,658,462,444,440,440,427,426,363,374,352,352,346,352,387,368,351,373,498,753,1060,1024,1008,827,711,694,732,952,824,441,395,414,422,458,641,445,373,408,454,460,447,432,1066,1472,722,625,1044,1450,1308,650,414,405,392,371,349,339,441,661,805,893,918,1058,981,827,1354,1254,775,670,692,931,1484,1694,1042,1430,1684,830,512,462,604,971,1498,1270,689,607,816,783,739,644,505,465,443,473,344,414,744,802,827,921,1134,1246,1058,1082,951,822,1006,807,1260,1334,885,1078,1262,1318,1348,1156,879,520,432,337,274,365,385,509,1013,1376,1356,1198,1030,993,1306,1310,1266,1128,1508,1428,1354,1260,1352,1404,1426,1360,1244,1238,1440,1488,1410,1276,929,1038,858,537,429,691,885,893,1116,1252,1938,2884,1958,1254,946,543,406,446,442,503,516,474,423,550,576,439,366,531,600,457,638,771,460,336,412,441,346,455,579,396,407,479,475,729,885,913,811,1102,1444,1352,1100,1019,1094,902,735,792,691,620,439,626,991,1054,626,561,781,1062,1374,1248,1058,1052,1036,803,823,1074,1328,1266,1212,912,954,1494,1368,973,850,788,930,1080,791,656,834,1084,803,532,497,542,564,594,656,781,983,1240,1476,1310,924,1004,1150,1252,934,728,1038,1116,930,623,825,1334,1208,635,332,312,305,423,510,504,577,623,730,930,1052,1334,1118,789,695,827,734,448,412,550,423,345,473,509,370,401,375,356,470,443,420,357,539,979,1330,1018,525,399,370,430,584,1042,1250,1007,796,1034,991,850,1152,1114,683,695,879,916,948,1092,1234,1378,1316,911,1052,1698,1836,1162,935,1050,1012,582,669,1322,1410,860,725,739,558,633,966,1262,1144,806,672,689,569,476,506,497,421,647,830,947,1028,1072,1182,1068,1094,918,830,1228,1050,844,550,354,320,433,698,529,294,338,329,312,294,352,303,252,243,285,431,604,1036,1462,1396,1598,1890,1732,1390,1206,1186,1086,1118,1216,1188,1174,984,902,1070,1108,1112,1146,1028,928,919,1050,1062,1050,1122,1140,1036,1152,1518,1650,1338,1248,1002,966,1236,1274,1224,1250,1158,1268,1474,1060,519,396,447,706,760,573,404,647,884,1190,1278,1328,1380,1466,1454,1021,984,800,772,1114,1204,1198,942,775,921,1118,991,1012,1166,1632,2138,1674,1050,904,611,464,686,777,846,820,909,901,1020,1248,1028,1466,1358,1460,1306,1148,1132,1238,1088,1172,1256,1120,1052,1036,1028,995,1120,1023,1072,1296,1244,1184,1122,1222,1204,1082,1260,1512,1298,1098,1266,1224,1142,1088,1174,880,761,797,753,727,716,944,1158,1170,1150,1304,1572,1296,1078,1256,1290,1258,1360,1204,999,938,924,1132,1228,1246,1114,1232,1160,1112,1128,1234,1312,1160,1011,1136,1202,1238,1340,1130,1030,1108,1152,1130,1494,1492,846,995,1250,1136,1154,1154,1084,1196,1198,874,1009,976,1028,972,931,1272,1864,1728,1472,1202,909,907,819,1476,1056,567,921,1164,1036,871,1184,1068,914,1009,781,844,919,963,654,630,1110,1554,1484,1350,1360,1009,1188,1170,1116,982,876,729,433,396,594,517,788,1208,1384,927,604,422,401,332,406,392,416,462,535,513,474,502,449,408,454,437,380,393,397,661,1084,1238,1010,1018,960,623,597,947,1130,1068,1366,934,527,727,1618,1632,1198,819,943,1160,797,537,351,313,441,1270,1348,1250,1496,785,261,319,562,803,631,561,553,578,558,500,430,339,286,303,276,248,305,325,330,256,298,273,288,272,241,578,935,973,722,413,463,453,324,368,540,822,894,771,570,437,321,286,290,236,203,234,305,428,456,491,496,510,551,610,716,917,830,455,352,343,273,315,356,347,405,480,514,564,570,501,377,304,357,376,527,966,1322,1394,1394,1312,1354,1306,807,492,823,1166,1098,924,861,1106,1366,1208,775,666,847,614,338,321,385,385,604,705,313,395,696,876,1052,1016,911,736,724,770,524,365,322,299,468,982,1019,576,371,797,1198,1418,1406,817,772,1078,1200,1216,588,719,951,937,723,535,512,492,495,477,395,414,691,781,1292,1326,1156,1066,935,1008,1094,1094,1034,808,426,373,455,669,844,1016,653,410,336,299,315,310,326,367,386,503,665,884,1056,753,475,269,661,1642,1650,1164,756,1042,2024,2330,2060,1592,1638,1180,1052,990,1102,761,437,329,369,418,403,399,752,1011,573,749,1196,1412,1296,1380,1480,1300,944,1050,1124,1280,1752,1134,1246,1378,1196,1416,1410,1628,1712,1128,974,1440,1716,1438,1116,1158,1364,1942,1932,1382,1436,915,686,674,959,1042,639,436,487,556,582,602,527,624,574,582,827,722,695,780,685,616,683,662,735,741,759,752,697,719,689,681,811,1328,1660,1652,1346,1464,1562,1288,1360,1514,1654,1628,1788,1770,1294,617,380,424,398,480,433,437,486,637,681,591,595,546,455,407,415,399,364,442,738,916,999,1198,1232,1044,941,1007,1282,1336,1108,830,977,1146,1158,1338,1064,968,949,1320,1024,653,925,1194,1256,1108,1023,830,732,1080,1021,846,590,629,736,641,631,929,1276,833,796,1354,1840,1650,1166,720,834,1116,1332,1056,1154,1330,1042,705,377,367,357,339,325,529,734,906,663,364,514,839,867,677,775,1024,1106,902,1021,1012,852,720,1034,1288,946,608,692,778,615,428,600,1044,1010,1162,1224,1086,1013,852,602,525,484,482,482,429,541,915,1138,1140,1430,1232,941,1216,996,813,655,582,957,805,668,748,535,639,910,1116,1184,1010,893,971,1074,1030,1056,1078,950,1278,1154,1218,1330,1224,1338,1418,1234,977,1096,1294,1230,1142,1280,1668,1630,1520,1384,1444,1384,1214,1170,1176,1148,1226,1296,1316,1208,1040,1078,1200,1600,1448,1256,1470,1594,1426,1292,1478,1426,1316,1202,1112,995,1040,1998,1684,1222,1364,1112,1042,1422,1416,1616,2206,2118,1686,1346,1408,1190,1224,1130,980,1262,1474,1410,1334,1444,1120,1046,1462,1644,1140,593,404,354,596,905,800,927,1028,1040,739,409,418,379,565,705,528,719,1030,841,534,1003,1700,1300,709,430,310,266,215,245,237,232,272,322,267,220,391,711,583,285,260,327,358,641,937,789,492,534,586,560,409,599,844,998,769,824,835,849,1009,1216,1346,825,985,1518,1290,1012,1118,1450,595,428,411,382,419,868,1116,929,688,988,1028,425,307,465,828,709,1104,1334,1010,752,752,803,547,425,489,681,995,920,949,1210,1150,966,1050,1200,1244,1284,1312,1322,1148,1058,1120,1112,1308,1300,1030,1036,995,1044,1252,1090,908,1158,1176,1412,1748,1704,1500,1136,863,912,922,719,532,685,1226,1378,1434,1298,1110,820,772,1074,1062,972,957,1026,1168,1242,1054,897,1106,1356,1360,1406,953,1050,1534,1046,672,1021,1090,875,981,1134,1090,639,666,1274,1406,1028,1122,1302,1086,1212,1374,1328,1346,1506,1578,1516,1424,1148,648,596,778,698,1038,1388,1284,1282,1318,1130,1102,1354,1356,1116,723,643,538,436,504,972,1298,1310,1072,748,492,461,452,481,580,805,919,858,778,877,1124,1232,1404,1652,1682,1340,1050,502,521,919,1270,1206,1264,1488,1226,1060,900,528,648,1102,1260,960,766,1180,1158,905,683,533,874,1388,1108,659,785,786,502,541,1172,1310,1250,1408,1272,1392,1578,1692,1810,1806,1726,1450,1036,1230,1222,965,629,634,579,1016,1134,1274,1344,875,765,923,1222,1544,1498,1430,1360,1228,1038,1164,1266,1222,1248,1280,943,637,487,557,886,1076,561,398,428,364,309,450,942,1160,1310,1340,1220,1168,871,586,771,918,1196,1334,1428,1450,1146,932,1003,1100,1416,1388,1396,1270,1472,1350,1416,1580,1504,1440,1598,1340,987,867,855,699,783,656,645,597,655,841,1013,1086,1132,1186,1036,796,614,478,422,389,328,443,633,588,673,856,849,806,927,653,441,569,574,471,430,393,421,496,618,642,457,404,377,431,429,414,495,729,807,998,1184,1090,894,780,823,1072,1216,1542],[394,709,1198,1166,1400,1746,1622,1154,1388,1826,1446,1030,828,703,901,1110,1094,1164,1338,1410,1398,1380,1630,1814,1434,1458,1798,1920,2036,1856,2316,3052,3056,3078,3074,3242,1472,460,464,423,391,490,940,1126,929,1032,1148,1348,1062,558,565,835,697,444,633,957,1168,1322,1362,1034,610,600,722,821,1100,1106,1246,1166,992,833,543,388,411,430,435,436,460,585,664,810,893,730,472,495,615,615,509,458,408,427,394,390,501,630,703,521,564,580,471,501,431,420,717,507,348,358,295,384,424,361,412,421,297,317,488,658,842,919,629,514,601,389,454,872,1152,1162,1011,992,1212,960,1086,1164,850,578,602,1160,1368,1214,1028,1030,1482,1700,1156,743,576,344,296,269,436,486,1030,1858,1536,1098,1174,1015,705,426,340,541,1032,1448,1158,788,940,1001,1158,1094,773,616,433,412,408,379,338,372,324,311,341,370,393,372,377,346,335,349,363,370,477,442,524,499,472,495,467,623,755,495,465,444,496,541,552,373,338,403,458,462,409,378,688,945,523,581,983,1172,1110,581,399,350,328,402,397,356,333,440,686,815,1006,884,919,1108,1084,929,948,702,691,1052,1562,1562,886,1040,698,488,579,542,684,825,1354,1384,1156,1088,742,777,1112,912,763,619,594,579,492,563,937,1260,1350,1126,1228,1194,866,703,925,866,1040,1180,1360,1028,668,1004,1208,1328,1288,1544,1286,764,495,304,286,335,488,915,1542,1504,1158,1178,1126,977,1010,780,1034,1142,1218,1266,1218,1264,1192,1082,1298,1286,1062,1094,1234,1778,1458,1476,1060,1021,846,600,466,613,923,1102,1222,1476,1742,1830,1334,1084,734,570,492,430,766,1074,788,387,325,339,393,666,533,706,775,703,964,1134,735,390,453,416,368,531,672,531,564,582,607,945,847,838,952,1142,1294,1234,1011,942,1082,707,852,896,909,814,554,522,595,774,602,409,433,629,1230,1198,1188,1162,947,677,819,1252,1488,1394,1328,1426,1650,1656,1494,1020,705,981,915,777,493,554,842,854,674,647,820,1052,1128,1158,1216,1288,1436,1472,1540,1444,1044,869,902,1262,1015,596,990,1262,1288,857,1030,1174,1140,647,310,289,325,413,434,440,458,641,1062,1294,1248,1034,879,818,718,822,754,493,514,711,482,494,805,883,445,381,356,411,570,635,525,613,1138,1404,1202,938,505,399,416,389,359,576,1050,1176,1007,1130,1180,984,761,458,319,364,435,611,681,836,1192,1632,1952,1676,1360,1578,1798,1250,1160,1019,1096,789,480,710,910,701,898,990,772,809,1162,1606,1494,1188,711,648,591,437,601,706,594,713,959,996,630,830,1598,1598,1122,684,620,1116,1262,1112,649,337,297,295,374,324,297,338,304,293,278,297,274,267,353,540,684,748,1290,1454,1550,1668,1582,1600,1470,1204,1023,1008,1154,1208,1056,1118,1178,1100,1036,948,1028,1116,1096,893,1102,1360,1202,1144,1124,979,1276,1384,1400,1464,1258,1360,1400,1300,1306,1174,1230,1478,1222,916,713,645,509,372,363,425,467,459,521,930,1352,1392,1232,1310,1374,1522,1552,1282,806,930,971,1128,1316,1114,995,754,824,1108,1114,1156,1206,1256,1286,1270,964,778,825,675,935,992,703,1046,1356,1384,1234,1106,1068,1410,1350,1376,1200,1302,1322,1296,1292,1288,1322,1318,1274,1204,1232,1062,1100,1156,1246,1224,1100,982,951,1104,1046,1054,1216,1248,1328,1334,1526,1572,1268,982,995,856,799,888,618,546,559,760,1150,1326,1382,1224,1198,1106,1134,1254,1236,1208,1202,1021,1226,1244,982,1128,1106,1062,1258,1250,1234,1232,1060,1176,1166,1222,1146,1194,1272,1290,1234,1196,1180,1342,1368,1180,1412,1432,1086,1110,1370,1354,1284,1084,1156,1260,1132,1086,1416,1430,1072,1070,1138,1304,1674,1494,1108,894,904,920,1420,2026,1612,1404,1298,1264,1450,1178,1152,854,1364,1378,944,637,878,885,552,423,885,1580,1592,1414,1246,1050,1208,1334,1330,1006,941,939,596,546,885,717,820,897,1556,1126,732,474,377,341,425,418,413,434,443,456,473,596,504,472,519,423,366,333,272,481,835,940,918,905,615,778,876,1118,1266,1056,1354,853,406,893,1500,1334,1122,699,605,758,476,365,351,416,450,661,806,620,403,278,320,431,743,1017,704,600,580,536,475,397,341,267,257,344,367,354,413,433,356,289,336,342,303,252,229,525,1194,1476,858,399,532,896,940,999,679,556,719,715,694,652,460,378,360,263,239,222,203,251,327,432,476,477,505,543,553,668,750,557,448,396,301,248,233,249,251,341,438,490,530,535,483,380,327,247,260,425,876,1212,1344,1384,1354,1166,838,741,932,1172,1142,618,589,1124,1648,1368,1136,1166,881,647,497,334,337,339,325,318,441,564,788,1008,941,883,1312,1182,764,835,777,840,460,383,474,796,1048,658,392,575,565,777,902,572,756,1102,1540,1632,777,596,844,966,988,929,808,558,472,430,365,618,869,766,1874,1186,821,1028,1050,1006,1044,1152,1300,992,492,594,781,810,675,807,644,579,553,420,351,307,343,494,645,747,829,808,1090,879,554,509,1446,1848,1056,982,922,666,1138,1484,1376,1298,1368,867,824,1132,1560,1632,950,462,466,467,485,418,611,924,533,670,1142,1520,1494,1348,1384,1284,1312,1644,1528,1668,1512,637,1054,1020,1018,1498,1344,1288,1458,1276,1142,1394,1664,1208,867,1270,1242,1998,1614,1342,1418,1138,957,869,1286,1168,519,398,421,530,509,503,492,512,519,577,524,603,765,713,695,621,597,647,805,793,738,705,684,655,658,630,893,1650,1962,1688,1606,1698,1360,1328,1592,1524,1514,1638,1930,1792,1292,625,481,441,444,496,483,539,588,641,628,604,599,569,498,426,406,411,352,388,538,576,996,1086,657,562,755,1140,1686,1458,1346,902,808,953,1206,1470,1370,1052,897,1284,1354,811,498,806,1158,1052,807,813,824,872,877,885,781,1068,1023,597,525,981,1274,1034,1564,2076,1686,962,792,950,1266,1310,1240,1124,937,998,664,481,377,451,407,354,395,731,805,858,814,472,651,1140,1304,1338,1042,939,1162,893,879,998,1024,780,756,1234,1242,713,802,1190,1274,1132,832,937,1248,1360,1744,1758,1212,763,567,507,527,527,496,464,538,692,1003,1112,1258,1196,1038,828,783,992,992,792,1084,1206,1282,1020,805,805,1076,1520,1626,1258,949,686,942,1120,1112,1110,1102,1262,1286,1220,1180,1144,1184,1250,1130,1100,1086,1434,1428,944,734,1142,1242,1122,1174,1460,1532,1342,1200,1144,1064,1142,1294,1368,1204,986,1132,1194,1388,1510,1554,1682,1808,1616,1504,1466,1120,912,865,1256,1246,1274,1472,1036,844,1064,1580,1366,1622,1390,1582,1944,2202,1990,1554,1408,1354,1280,1232,1076,951,982,1188,1274,1416,1324,1150,954,1318,1230,672,379,379,619,678,628,1206,1112,1092,986,550,455,440,494,785,973,626,796,1070,669,694,1478,921,913,530,286,270,248,235,225,200,290,528,522,321,275,353,303,234,312,379,352,348,788,1011,611,595,658,738,655,1056,1016,724,808,1052,1146,1476,1512,1366,1130,686,1234,1512,1182,927,1268,952,381,539,924,813,399,555,910,1310,1266,1004,626,311,426,895,1048,639,669,840,1120,1198,1190,1470,1342,722,467,503,769,1122,1598,1592,1094,1040,1020,1068,1090,1280,1212,1126,994,963,1118,1266,1428,1296,1212,1152,1162,1368,1238,690,689,1296,1404,1974,1794,1246,1324,1582,1396,991,1042,1106,679,1050,1470,1218,1354,1372,1428,1244,1001,1126,1216,1196,847,644,976,1106,1186,1026,976,1210,1360,1414,1190,1288,1438,955,734,1144,1112,992,1300,918,713,750,927,1164,913,867,979,1032,1001,995,1070,1098,1296,1412,1450,1394,1600,1264,962,1108,1198,1072,1176,1090,1144,1366,1216,1152,1180,1210,1148,899,568,688,688,735,1226,1522,1472,1562,1412,1140,729,464,454,435,588,805,635,563,654,915,1190,1232,1248,1472,1338,1300,1214,580,657,1046,1528,1446,1088,814,651,616,626,543,562,731,1078,1142,935,1058,1192,1296,1152,892,1004,984,651,422,563,828,651,626,1166,1302,1534,1420,1182,1480,1734,1578,1644,1808,1822,1376,852,988,1192,1058,716,678,673,855,1206,1328,1022,694,607,792,1158,1009,1030,1382,1360,1350,1276,1132,1246,1376,1158,1226,1312,1288,836,582,528,532,400,388,390,330,288,439,857,1116,1284,1410,1250,1212,1030,622,433,680,1086,1288,1296,1094,1238,1170,937,1120,1374,1446,1360,1396,1334,1372,1554,1586,1504,1526,1402,884,868,1182,1306,1180,1146,951,784,604,716,820,786,1100,1616,1610,1108,844,817,732,618,464,437,653,653,592,746,711,647,519,702,514,532,619,511,483,473,441,441,504,681,717,427,386,393,390,346,363,388,526,674,705,607,634,678,636,764,1274,1648,1702],[389,678,1126,1130,1400,1494,1440,1304,1436,1460,1464,1568,1394,939,1002,1070,1094,1192,1262,1236,1230,1358,1708,1848,1404,1440,2012,2160,2042,1792,2028,2678,2458,2286,2138,1970,875,460,435,430,437,701,1136,968,896,1292,1352,1288,981,576,402,422,416,398,472,717,1066,1222,945,535,462,482,559,581,810,1058,1170,1138,866,543,454,385,390,407,393,398,450,631,659,483,527,475,385,458,443,406,352,355,375,387,383,384,506,777,659,520,546,469,412,460,401,384,842,634,422,365,336,424,467,426,406,409,406,430,459,568,899,997,631,457,493,406,457,777,1090,889,752,890,807,1094,1302,1362,1266,1002,837,1130,1264,1294,1274,1330,1074,894,850,662,521,429,349,349,419,374,652,1094,978,1148,1152,669,561,408,389,652,1634,2210,1632,1023,1032,1102,1015,868,503,311,288,352,367,336,343,364,327,330,343,422,539,457,541,462,447,440,484,438,388,417,398,364,400,360,601,1224,1015,541,527,687,865,678,485,438,477,617,547,501,409,382,454,559,757,740,852,1021,907,531,403,325,344,349,411,428,411,474,653,769,717,507,612,1090,1020,1136,1522,1144,1100,1132,1276,1106,957,863,780,661,616,930,1034,926,1124,1168,1452,1506,902,883,1282,1410,1112,916,936,820,738,778,593,752,882,882,1288,1142,1009,891,833,752,818,1214,1396,1110,1062,1078,842,1100,1156,1416,1240,781,426,349,350,372,736,1360,1486,1272,1328,1130,929,869,638,597,866,1234,1250,1360,1448,1288,891,659,885,1344,1314,1340,1634,1498,1342,1458,1314,1306,1196,957,613,572,993,1282,1180,1146,1504,1406,984,679,610,736,677,374,503,713,601,588,415,304,336,594,756,605,499,430,755,1248,1018,482,434,531,385,395,551,797,681,517,847,1258,883,747,1214,1208,1186,1264,1378,840,1054,1158,1314,1334,1188,943,928,653,475,827,902,825,765,594,1042,1048,1086,1294,1510,1434,1250,1234,1284,1224,1070,1382,1548,1280,1088,1030,797,1058,1028,686,515,799,1108,1102,1100,1150,1190,1068,1150,1302,1602,1510,1476,1396,1514,1526,1394,1118,748,1090,984,772,1076,1192,1256,1092,1154,1084,775,430,294,289,332,379,398,474,461,551,999,1164,1082,893,1018,1062,774,604,531,353,343,536,448,520,884,863,565,506,405,502,959,1262,1060,926,1188,1238,854,942,632,471,505,466,440,441,659,1062,1364,1246,1005,792,476,314,308,332,408,463,431,518,592,788,1136,1366,1288,1468,1120,937,1090,1082,1360,1120,710,569,391,450,603,780,1200,1294,1428,1560,1604,1448,941,631,476,433,516,631,852,1078,1194,1090,623,927,1356,1382,1170,846,816,1144,1324,999,453,379,305,303,324,384,339,340,304,290,300,311,314,346,478,937,991,839,958,1300,1696,1526,1256,1352,1380,1350,1294,1372,1310,1186,1042,1240,1448,1324,1068,1130,1138,1192,1252,1146,1368,1438,1238,1268,1232,1056,1138,1268,1226,1266,1064,1224,1316,1042,1180,1322,1420,1334,1124,941,615,594,560,451,422,390,391,433,721,1108,1238,1156,1104,1244,1248,1388,1474,1428,1186,1074,883,1404,1636,1060,761,591,780,996,1102,1138,1288,1070,1188,1248,874,844,953,690,714,745,655,893,1532,1716,1274,1030,1254,1364,1332,1318,1220,1290,1368,1490,1368,1440,1446,1334,1240,1354,1388,1110,1040,1206,1218,1122,1090,1048,1404,1452,1202,1226,1350,1172,1280,1336,1460,1432,999,673,578,488,499,775,654,967,818,683,1050,1200,1290,1362,1134,1052,1088,1116,1198,1144,975,1074,1394,1334,1266,1238,1390,1466,1416,1216,1188,1260,1250,1416,1440,1278,1188,1222,1380,1484,1366,1248,1198,1362,1458,1218,1164,1280,1300,1322,1212,1276,1316,1064,1132,1260,1266,1418,1552,1510,1280,1204,1224,1196,1364,1614,1520,1064,763,632,1208,1708,1714,2270,2074,1394,1644,1448,863,954,1236,1284,930,702,1278,1450,1172,555,1146,1588,1698,1316,1076,1290,1326,1184,844,744,962,1174,879,549,847,620,631,600,904,865,593,521,597,612,447,413,416,429,524,664,612,654,573,471,390,261,230,276,250,272,581,985,1122,939,830,706,675,927,1100,1088,1272,1048,651,1007,1506,1144,1138,585,720,1074,560,354,342,528,739,813,570,409,464,398,426,612,744,770,708,602,558,386,267,291,310,309,306,319,352,379,332,630,673,461,405,472,513,419,241,487,1118,1388,1034,697,735,953,1312,1570,1476,1056,515,425,625,830,692,562,480,333,284,239,215,242,276,337,403,490,508,492,540,590,641,576,530,509,422,298,272,275,262,231,231,370,505,495,488,518,434,322,294,301,439,798,1124,1402,1678,1426,1180,1200,1256,1146,877,381,453,1001,1576,1566,1576,1556,1058,880,763,595,484,302,271,416,944,1116,885,897,1192,1428,1368,1064,1092,1232,734,764,717,635,489,352,432,337,383,526,505,391,268,270,381,727,1170,1160,717,628,1146,1394,954,702,946,968,698,520,619,890,564,1336,2458,1522,803,1050,1258,1542,1860,1632,2754,2800,1042,740,641,533,475,403,439,620,595,431,378,483,661,838,618,459,529,749,876,800,574,648,1272,1348,1116,1220,854,915,1082,1310,1252,1174,943,652,979,1568,1828,1356,803,789,682,537,427,367,613,1056,948,759,1058,1192,976,1136,1434,1244,1278,1410,1764,1870,1238,987,999,733,915,1324,1294,1418,1472,1312,1166,1322,1522,1232,844,1314,1560,1782,1432,1352,1288,1188,1244,1050,1136,775,539,474,489,507,439,451,471,502,638,578,459,714,789,736,700,551,436,579,763,805,723,682,733,738,750,755,1284,2286,1962,1562,1660,1396,1202,1572,1582,1482,1458,1424,1398,1494,1212,636,541,492,478,464,521,612,613,591,572,515,544,560,455,421,409,397,387,398,861,1078,1462,1198,599,843,1152,1446,1760,1528,1406,932,636,595,988,1386,1444,1082,871,1326,1610,1180,543,494,584,736,827,976,844,623,760,1232,1344,987,963,926,1450,1748,1590,1378,1770,2398,1542,1032,1102,907,852,977,1164,1226,1252,1434,787,500,444,439,386,414,607,884,881,888,787,520,832,1450,1742,1700,1076,865,1134,993,791,707,715,587,729,1092,1408,858,1001,1322,1682,1806,1120,1034,1454,1522,1546,1902,1524,673,668,612,546,512,501,507,695,1040,1232,1318,1484,1490,1230,959,717,940,1038,1186,1116,1222,1200,1130,1242,1118,1180,2098,1928,1208,695,748,1166,1056,1015,1040,1024,1176,1266,1286,1404,1356,1348,1290,1196,1078,1016,1820,1896,1082,620,938,1212,1256,1362,1344,1532,1490,1208,1244,1038,1064,1194,1220,1274,1328,1532,1500,1398,1410,1482,1322,1174,1056,1074,1410,1056,862,919,1122,1316,1494,1582,1140,794,1028,2238,1562,1382,1378,1420,1914,2452,2264,1584,1510,1710,1158,669,672,1178,1092,1180,1272,1312,1062,838,782,1007,1246,1010,365,323,415,587,1274,1592,1310,1292,1080,519,358,412,433,824,1116,598,631,929,811,720,965,1090,951,527,356,313,297,276,268,217,365,775,1102,591,292,372,392,323,317,637,853,423,394,590,800,765,708,688,780,982,724,894,1428,1604,1550,1368,1062,738,471,655,1312,1208,984,617,522,575,612,499,768,581,405,485,571,626,1196,1086,655,427,739,1166,764,321,260,305,475,712,1206,1620,1248,926,625,455,525,781,1540,1680,1288,1270,1364,1368,1366,1102,850,809,653,809,1028,1166,1286,1378,1240,972,1224,1528,1146,797,1220,1578,1202,1238,1062,1154,1412,1592,1460,1226,1254,1320,1274,1744,1558,1170,1328,1364,1392,1396,1310,1078,1140,1294,879,462,540,862,1274,1038,943,1494,1588,1714,1542,1444,1168,881,976,998,1400,2138,1858,805,702,968,1222,1156,774,666,507,458,911,1262,1092,1176,1416,1424,1424,1398,1628,1546,1492,1644,1438,1322,1366,1186,1322,1494,1226,1004,1112,1282,1042,771,760,777,936,1478,1780,1482,1534,1520,1144,982,828,567,466,397,525,819,870,809,975,1212,1306,1188,854,1013,1132,1292,1244,1138,1102,1340,1530,1404,938,563,527,655,868,552,439,515,670,855,1210,1324,965,1062,1212,1256,1058,636,697,498,586,802,653,849,1154,1358,1564,1404,1126,1196,1274,1578,1634,1670,1726,1354,851,735,897,784,497,447,574,1021,1334,1444,1070,518,416,774,741,466,484,580,809,1276,1346,1236,1318,1100,1152,1338,1554,1620,1192,714,624,559,343,364,364,323,317,321,537,1152,1406,1498,1450,1470,1466,1142,816,735,1164,1138,1338,1180,1356,1442,1334,1328,1456,1382,1270,1172,1288,1456,1422,1324,1366,1494,1584,1044,889,1246,1320,1246,1310,1208,837,604,809,743,742,990,1118,1244,960,861,720,553,530,427,427,586,678,849,643,385,360,452,617,451,392,505,550,515,422,444,455,477,528,581,417,405,479,456,371,320,314,408,524,451,401,445,423,403,498,877,1384,1216],[521,636,991,1340,1426,1636,1500,1288,1476,1460,1482,1618,1448,862,787,910,974,1146,1376,1390,1270,1338,1500,1500,1474,1508,1756,1836,1930,1820,1494,1730,1748,1432,1262,868,435,407,390,408,552,1048,1218,1090,1222,1454,1354,1372,1210,758,436,395,404,433,403,497,763,743,531,497,451,401,428,430,511,822,1276,1038,640,651,648,458,398,402,369,393,700,1344,1306,672,487,395,404,409,411,368,379,398,407,404,371,375,705,777,502,455,410,433,473,439,348,383,621,550,367,361,388,411,497,473,417,384,388,357,384,583,725,919,843,509,470,444,523,625,598,535,807,943,519,581,982,1318,1548,1396,1302,1450,1164,1174,1362,1262,803,971,1048,660,441,481,518,489,446,386,495,797,616,854,874,747,665,547,533,742,1196,1446,1350,1060,907,972,645,528,438,355,329,364,296,314,388,379,357,383,386,556,1324,1208,1017,769,672,875,927,621,405,389,377,375,430,474,841,1222,785,698,825,910,1082,984,717,618,663,852,636,506,418,367,404,662,1064,909,651,879,802,414,331,330,345,313,397,436,469,510,758,910,1028,969,1016,1152,1048,1384,1428,1102,915,818,1100,941,988,1166,1174,1074,995,1120,996,749,956,1108,1116,1104,1144,1130,1242,1356,1410,1358,1334,1168,1108,1192,560,430,633,640,803,595,718,789,899,816,869,1340,1486,1586,1400,977,648,1110,1110,1252,1234,736,550,578,330,630,1260,1656,1212,983,1104,1104,1118,883,867,921,843,1038,1304,1388,1294,972,703,894,833,1102,1314,1390,1570,1354,1396,1466,1338,1072,996,955,572,686,1108,1564,1318,1106,1484,1148,658,898,1114,930,861,557,547,355,389,760,517,302,473,757,881,734,555,436,565,847,1170,730,538,588,562,619,559,507,458,508,1017,1394,944,965,1252,964,786,1232,1406,846,817,1038,1250,1412,1550,1650,1290,637,529,713,929,946,861,946,1122,766,746,1182,1466,1424,1212,1100,1102,1152,919,1520,1354,1262,1106,873,777,1090,1342,1322,1288,1276,1360,1322,1076,1030,1001,647,958,1606,2086,1632,1288,1198,1274,1632,1802,1026,826,857,662,923,1322,1086,1152,1262,1274,1232,968,599,354,346,345,400,448,596,474,652,1032,1028,1096,1280,1532,1554,1020,479,377,303,277,486,686,577,540,435,467,603,432,468,1076,1278,1368,1116,1296,1548,1346,1340,908,546,575,575,466,393,457,649,1166,1308,1186,717,379,312,382,558,601,458,323,319,285,377,401,592,616,1112,1016,741,786,1228,1386,1020,799,745,463,569,698,793,1084,1023,1358,1440,1444,1404,1060,705,478,438,521,840,1009,971,1228,1466,880,1003,1284,1336,1412,1328,1366,1402,1262,875,562,451,384,363,394,484,536,427,340,320,320,348,380,561,779,1092,1007,981,1128,1402,1542,1380,1374,1150,1096,1454,1484,1534,1372,1214,1216,1246,1440,1196,1124,1362,1200,1126,1116,1192,1230,1262,1142,1202,1262,1338,1354,1440,1440,1398,1364,1454,1476,1078,1180,1278,1118,858,1144,1038,995,845,610,498,498,454,385,369,498,880,1154,1174,1078,1036,1138,1418,1506,1196,930,880,1040,1514,1380,1100,819,688,601,910,796,1040,1282,1208,1526,1638,1216,688,499,633,648,763,1066,1438,1674,1390,922,775,1194,1400,1332,1360,1208,1266,1182,1314,1512,1542,1430,1340,1354,1318,1196,1086,1036,1196,1174,1214,1130,1334,2370,1780,1494,1494,1264,1196,1274,1028,971,952,767,736,612,556,822,952,722,943,1003,973,1218,1412,1578,1492,1270,1200,1100,1078,1248,1238,1104,1208,1268,1394,1388,1386,1468,1386,1238,963,1158,1158,1172,1328,1372,1318,1242,1290,1468,1498,1422,1338,1416,1482,1408,1416,1212,1196,1196,1192,1144,1104,1108,1024,1036,1138,1244,1196,1318,1228,1168,1178,1410,1340,1372,1478,1422,1086,788,914,1794,1698,1332,1328,1428,1676,1932,1516,946,1472,1450,1092,888,468,708,1754,1840,1242,1192,1250,1532,1442,1388,1488,1406,929,661,835,1098,1376,1015,585,856,547,412,522,709,777,955,1170,1356,1096,473,435,399,422,576,809,702,591,453,366,328,229,240,312,304,355,658,1024,1080,1020,1084,946,836,1118,1312,1154,1182,1258,1124,1282,1388,1032,777,366,663,1004,745,581,882,1588,1802,1470,518,558,775,462,388,555,694,826,688,459,349,290,324,314,311,313,213,403,618,567,427,754,1196,855,480,698,830,682,296,440,657,567,438,522,979,846,789,775,1282,1490,850,377,455,797,895,813,665,518,428,335,272,269,277,280,327,448,522,535,569,571,607,547,528,539,500,424,341,264,259,201,205,288,445,465,487,504,543,499,392,298,284,333,483,1234,2132,1970,1462,1316,1242,1078,792,433,403,772,1036,909,959,1142,860,827,978,895,756,505,346,741,1284,1414,987,774,1310,1770,1188,1078,1362,1338,1212,913,662,836,857,582,334,285,338,681,957,637,337,278,262,476,980,995,497,520,1084,1298,890,504,703,886,1062,1001,1130,985,756,2156,3816,3514,2292,1406,1598,2202,1880,1820,3312,4020,1704,427,340,403,549,504,406,488,662,628,764,901,842,849,735,579,531,829,936,725,590,768,1220,1126,1354,876,620,938,1112,1026,1023,844,509,425,791,1592,1514,792,439,636,697,535,429,445,814,1092,711,573,769,667,534,845,1156,1360,1192,1142,1198,1158,1276,1334,950,480,532,733,984,1510,1458,1282,1142,948,1056,901,863,1116,1072,1282,1302,1212,1144,1234,1608,1392,980,603,813,807,648,520,459,451,437,571,737,604,669,789,851,725,532,423,408,595,774,810,727,656,616,496,614,729,1146,1790,1502,1898,1834,1316,1320,1460,1578,1622,1552,1306,1150,1476,992,633,552,510,510,511,482,552,594,547,522,475,487,532,437,406,392,569,588,521,713,1052,1392,1336,608,745,985,1482,1824,1498,1326,968,613,546,968,1316,1068,869,702,942,1460,1438,812,556,570,407,620,984,945,686,752,1146,1380,997,941,1102,1364,1494,1710,1694,1842,1788,1490,1434,1110,943,1226,1498,1360,1298,1268,1282,888,568,444,478,403,410,723,1122,1222,1158,556,359,562,905,994,1026,655,527,880,966,912,1076,1258,1060,1116,912,1438,1156,1250,1184,1290,1438,1262,1418,1714,1978,1600,1466,1066,600,847,754,536,499,560,664,1094,1354,1228,1388,1466,1404,1226,1100,623,908,1206,1132,916,1084,1278,1256,1474,1356,1274,2564,1544,1080,598,690,985,1007,1042,1070,1146,1308,1440,1484,1490,1462,1456,1418,1392,1560,1482,2256,2142,1216,901,1066,1236,1204,1370,1348,1332,1198,1102,1192,1260,1234,1086,1258,1500,1594,1632,1332,961,715,1106,1172,1408,1484,1402,1496,1108,1078,1170,924,1116,1028,1010,970,1190,971,1620,1632,1506,1168,1216,1720,2282,2388,1914,1756,1628,951,469,632,1524,1174,780,980,1186,1088,993,1228,951,959,1252,700,466,454,881,1506,1476,1094,1080,735,403,410,521,416,440,443,332,287,411,432,620,1184,1456,1086,670,373,325,310,293,240,308,538,750,729,506,396,374,375,307,419,919,1036,495,379,342,595,693,648,519,594,544,559,998,1412,1726,1420,907,1324,1148,808,693,648,602,700,695,562,982,1294,642,526,555,449,408,473,349,587,796,861,934,1258,994,547,402,414,491,499,397,620,777,818,857,812,891,1054,1126,1102,1176,1450,1350,1536,1388,1378,1152,811,761,851,1021,1202,1226,1490,1436,1138,914,1204,1326,1058,1106,1424,1282,1052,1194,1284,1360,1456,1390,1446,1526,1620,1672,1862,1898,1376,1084,1066,1174,1134,1188,1196,890,723,863,904,681,523,517,833,1236,988,930,1768,2264,2254,2034,1008,1262,1342,1166,1250,1632,1208,662,733,1136,1236,1098,1184,1090,594,522,901,1364,1318,1330,1134,1164,1124,1262,1480,1476,1544,1448,1302,1330,1286,1898,1752,1340,926,626,1001,1478,1254,830,838,1126,1472,1908,1858,1532,1582,1216,866,774,839,713,503,395,496,764,907,860,767,977,1208,1019,571,659,963,1184,1532,1370,1328,1682,1504,1462,1134,963,659,603,1342,818,348,453,682,822,1178,1194,797,855,904,952,746,843,847,541,582,729,805,1018,1308,1386,1266,1456,1388,1256,1218,1602,1702,1656,1712,1614,1258,1152,1292,797,424,466,653,1228,1404,1390,778,407,390,463,559,550,390,520,856,1184,1260,1164,1240,1202,1538,1568,1458,1476,1276,1072,897,617,327,350,309,332,392,487,530,959,1064,1198,1466,1538,1328,1180,1226,852,1164,1366,1366,1312,1256,1252,1360,1412,1238,1384,1638,1290,1312,1384,1512,1560,1288,1272,1354,943,947,1174,939,1018,1306,1494,1772,907,717,617,528,712,919,1062,897,639,478,498,484,349,363,412,489,746,484,323,299,373,460,427,440,454,458,520,510,450,453,568,871,832,466,399,423,401,356,325,345,364,380,427,516,390,299,402,786,1142,1284,1346],[440,900,1462,1510,1416,1654,1352,998,1230,1298,1290,1408,1058,807,837,836,1070,1246,1078,805,833,1090,1562,2072,2150,1526,1660,1596,1778,1820,1808,2026,1910,1562,1350,951,423,423,408,454,888,1394,1516,1284,1308,1388,1182,1198,1352,1394,604,397,387,391,421,339,365,392,460,506,426,396,414,448,439,589,979,621,490,621,639,546,496,415,388,548,1362,2456,2178,1510,880,518,449,373,394,454,477,451,426,413,381,693,1084,781,631,617,458,528,579,458,451,618,797,717,483,449,411,404,551,577,483,323,346,429,551,580,646,1268,1618,984,491,515,534,446,430,586,660,608,424,379,556,825,1184,1226,1544,1444,1206,1172,1013,1013,1110,1222,1007,613,374,390,521,510,381,351,462,749,556,449,573,776,714,680,691,783,741,722,752,709,646,613,561,491,564,454,379,351,237,263,287,351,400,414,422,726,1532,1704,1488,969,820,1028,951,539,298,309,361,393,374,627,875,1006,1002,1134,1248,1252,1352,1152,1036,658,599,670,720,626,388,539,802,991,1164,941,704,961,679,462,436,709,580,411,387,496,462,536,871,976,738,637,940,1102,1328,1498,1194,859,666,691,672,548,899,1184,1192,1408,1436,1470,1005,609,593,740,1082,1364,1052,1015,1162,1334,1486,1430,1214,958,1110,867,514,463,536,615,553,494,611,656,788,937,1009,866,827,1092,1058,588,535,1284,1470,1412,1144,769,877,877,669,859,761,1023,830,875,1192,1404,1184,936,1046,915,733,894,1222,1328,1146,715,550,830,1256,1334,1278,1354,1414,1400,1392,1454,1300,888,792,753,621,761,785,514,546,987,1066,824,921,1280,1130,679,532,591,822,527,459,657,498,727,1050,877,871,844,674,694,608,668,922,633,514,492,598,703,524,398,469,706,1320,1542,1166,1478,1162,807,656,852,758,657,739,824,953,1384,1534,1538,1350,1034,903,887,1028,819,568,1062,1348,993,1007,1226,1400,1380,1038,1008,1262,1434,1316,1496,1268,1306,1354,1306,1350,1516,1654,1450,1238,1208,1106,1204,1060,1114,1234,1010,1274,1772,1744,1378,1156,924,1156,1546,1406,912,1052,882,580,841,966,618,951,1492,1490,1380,1284,886,431,368,374,388,572,656,460,567,932,1274,1532,1334,1260,1154,1098,493,312,282,283,404,764,736,347,352,496,589,476,532,888,977,1280,1140,1486,1402,1088,990,669,416,352,368,327,310,356,498,762,1156,1364,910,698,568,455,547,463,422,335,322,312,414,554,518,364,532,854,691,532,907,1174,977,693,770,561,565,904,827,946,1318,1504,1310,1296,1017,735,721,608,643,976,941,722,935,1234,1340,1144,1202,1252,1260,1122,1134,1396,1700,1704,1274,1054,622,361,382,472,782,1114,976,598,375,322,357,363,562,872,956,1005,1202,1394,1388,1278,1426,1400,1150,1208,1268,1498,1386,1250,1106,835,729,984,1014,1068,1162,1246,1198,1058,1162,1086,1100,1288,1218,1340,1320,932,1074,1296,1250,1268,1288,1354,1256,1274,930,928,1428,1516,1172,1090,1312,1532,916,514,410,332,368,427,865,1226,1362,1194,1174,1432,1608,1464,1290,1248,1204,1122,1140,1216,1228,1166,1192,1021,847,835,1070,1150,1180,1180,1200,1176,879,912,1016,957,771,1068,1408,1310,1001,797,840,1214,1366,1428,1298,1224,1572,1252,1290,1482,1456,1344,1226,1272,1334,1226,1206,951,1174,1148,1222,1236,1178,1496,1390,1268,1458,1608,1594,1438,1002,904,912,843,953,929,752,681,756,1178,1686,1554,1266,1286,1322,1140,1122,1384,1288,1032,1156,1378,1344,1256,1216,1296,1360,1450,1514,1548,1250,1148,941,1136,1176,1052,1368,1496,1222,1060,1180,1228,1428,1554,2194,2250,1362,1322,1500,1312,1152,1212,1348,1258,1206,1286,1190,1106,1040,936,899,1198,993,1034,1136,979,1028,1140,1278,1386,1034,1062,1776,2222,1356,1044,979,1102,1340,1570,1362,941,1148,1154,1015,803,771,780,1670,1476,1362,929,681,924,1266,1422,1442,1260,899,818,960,1252,1436,1192,680,523,560,541,912,1390,1482,1638,1510,1596,1296,626,469,437,452,580,758,749,635,446,430,458,340,340,391,365,566,644,760,899,1023,1044,1024,1070,1158,905,527,425,493,586,575,528,541,447,426,556,733,928,835,1116,1748,1714,1396,477,645,893,494,249,362,421,557,540,372,332,362,318,286,326,310,324,1090,1688,1808,1216,636,795,557,407,418,503,626,342,378,410,414,481,506,785,1130,1008,579,491,730,812,724,606,620,774,894,849,675,558,443,333,258,276,296,298,370,480,579,585,550,555,540,532,531,517,509,465,384,398,331,262,279,377,431,463,481,508,527,525,482,485,339,304,458,1116,1564,1416,1322,1136,1158,966,566,779,1488,1226,581,460,626,882,965,1294,1396,1156,963,690,504,665,940,794,808,1062,929,1072,1414,1362,1310,1432,1332,1060,785,841,777,502,304,309,594,929,700,349,285,387,417,465,435,313,451,628,895,1078,871,733,602,615,1066,1322,1140,1144,2018,3508,3850,2846,1870,1884,2134,1386,785,994,1888,1378,703,538,645,732,749,669,719,667,433,475,592,455,400,578,730,783,874,984,1060,763,947,1344,1402,1054,785,662,483,899,998,657,486,349,436,798,1510,1526,812,491,416,506,633,792,916,1220,1174,710,492,675,569,648,807,1320,1364,1326,1292,1034,1014,1158,985,774,443,831,1632,928,1424,1524,1166,965,798,871,990,1260,1002,865,1268,935,1118,1078,1302,2020,1672,1258,1246,1644,1448,891,594,546,515,514,744,728,738,899,861,827,766,652,503,512,722,847,785,665,638,628,499,557,641,758,1022,993,1606,1500,1126,1396,1412,1530,1426,1604,1104,1148,1362,823,590,569,521,529,521,492,491,521,487,418,458,472,454,421,428,540,996,901,649,868,956,1068,1456,914,951,945,1156,1566,1482,1288,949,670,594,985,1438,1074,1021,653,590,1050,1420,1202,1140,1304,988,827,1238,1448,1140,843,785,827,672,578,1110,1648,1668,1538,1730,1814,1770,1808,1372,1120,1246,1498,1428,1274,1134,792,459,428,740,1138,928,348,364,573,927,930,888,632,426,379,419,401,539,440,491,831,1020,1204,1220,1306,1100,1130,795,1176,1538,1282,838,979,1166,1250,1664,1670,2306,1804,1040,485,462,839,902,623,523,605,926,1258,1184,1236,1338,1258,1466,1172,909,763,807,802,926,893,809,1242,1334,1488,1714,1422,1046,985,977,642,713,880,907,1026,1124,1274,1388,1698,1436,1218,1206,1244,1350,1294,1294,1324,1604,1430,1174,1242,1108,1068,1104,1166,1358,1490,1202,1198,1330,1372,1344,1276,1240,1168,1250,1005,984,1016,1274,1922,1610,1556,1598,1424,1360,1004,771,919,700,674,796,1104,1266,1188,1172,1446,1974,1820,1142,1352,1772,2292,2612,2102,1710,1464,971,531,525,984,1150,1238,1316,1322,1208,1178,1702,1058,826,1328,1476,960,632,934,1284,1180,1196,1152,600,375,467,743,595,364,351,339,312,304,328,463,693,689,477,445,369,315,328,302,306,375,553,711,756,750,604,600,511,564,728,1066,1262,1236,895,477,354,473,587,651,630,742,886,1232,1344,1424,994,583,897,1015,832,529,345,379,560,902,634,455,806,695,597,978,852,500,460,402,415,803,933,742,930,1110,963,774,448,321,369,375,397,695,1120,964,873,1230,1328,1152,968,1126,1276,1348,1444,1300,1358,1550,1312,1112,1244,1126,1232,1498,1562,1322,1336,788,948,1140,1248,1112,879,750,803,1322,1232,1164,1146,1224,1378,1344,1480,1910,2064,1672,1338,1272,1126,1132,1382,1528,1152,995,938,800,847,827,786,739,1038,1396,1142,780,1084,1694,2014,1318,1082,1162,1030,1310,1224,1082,1050,995,742,725,1001,951,1032,893,645,706,796,1034,1152,1240,975,821,904,1194,1172,1150,1372,1582,1620,1466,1386,1512,1054,930,860,667,799,997,870,984,1876,2056,1572,1516,1212,1086,791,708,980,1164,1036,653,485,479,571,728,850,910,789,645,703,667,577,631,974,1468,1632,1534,1886,1910,1070,830,918,873,773,843,1048,645,428,407,435,586,999,948,993,546,528,569,472,578,613,659,812,992,1320,1312,1422,1388,1172,1534,1286,1114,1262,1434,1654,1708,1528,1504,1530,1592,1568,904,494,501,820,1058,1112,1144,840,567,565,793,940,676,590,661,1344,1334,1266,1005,1212,1442,1620,1582,1550,1632,1390,1456,1148,754,411,362,317,321,394,716,926,1086,1206,1450,1510,1614,1560,1226,1262,1528,1998,1622,1196,1204,1240,1240,1328,1324,1216,1184,1714,1862,1458,1424,1468,1404,1210,1196,1212,1120,1150,1142,1023,995,792,1072,1572,868,730,589,469,507,541,659,702,448,382,475,538,646,433,339,347,303,300,293,258,296,453,511,496,441,414,442,527,521,474,574,1021,886,433,439,482,427,418,415,499,427,329,328,407,356,331,523,1188,1688,1636,1250],[675,1104,1194,1188,1286,1588,1278,758,1090,1388,1312,1234,1130,1490,1770,1806,1946,1466,890,756,864,1005,1578,2186,2146,1666,1516,1304,1498,1768,1968,2094,2136,1712,1162,700,406,443,412,677,1168,908,1070,1286,1092,1007,1188,1174,1284,1362,599,402,414,386,424,375,387,432,460,437,416,408,401,423,412,408,405,373,437,496,507,558,557,424,466,1064,2288,2608,2276,2106,1108,486,365,328,416,535,624,564,398,368,423,897,1002,1050,913,619,468,675,842,853,933,1068,1001,692,573,629,408,487,605,655,527,334,375,527,493,383,513,1150,1644,981,592,531,444,392,469,548,547,524,477,501,511,502,701,1130,1492,1232,1088,1032,1026,1168,1126,968,943,505,329,400,444,413,565,533,434,474,368,278,493,569,467,656,652,686,647,745,736,623,651,871,859,704,515,393,330,318,296,354,368,449,545,497,474,789,968,1005,1066,1054,951,653,580,432,328,343,350,398,440,689,924,1034,1112,1194,1078,870,1074,1310,1328,655,454,495,938,1302,1200,999,820,885,961,1102,969,978,704,633,749,1060,924,514,397,393,381,561,918,906,742,604,541,626,918,1312,1298,1178,1132,1014,968,1011,995,861,1098,1310,1284,1126,729,590,634,596,785,943,1042,1140,1188,1280,1452,1472,1182,1001,1148,680,412,430,425,423,394,498,648,707,1102,1296,912,443,383,458,458,352,384,681,1390,1692,949,626,777,735,949,866,512,476,628,876,966,901,782,896,1054,722,760,1078,1578,1874,1322,904,979,1252,1418,1266,1186,1354,1514,1282,1348,1508,1474,1240,990,1038,761,581,604,487,491,602,537,543,995,1412,1212,637,448,697,631,439,377,378,415,846,1062,556,586,987,957,849,918,908,511,525,1014,1017,669,573,520,341,466,894,1552,1534,1248,1434,1050,999,1216,1238,1080,800,935,1062,1124,1290,1304,1374,1152,933,1200,1178,1226,1158,755,970,1436,1422,1400,1510,1724,1728,1562,1406,1548,1660,1664,1652,1486,1406,1328,1400,1458,1456,1710,1692,1308,1282,1278,1656,1534,1470,1462,1290,1334,1344,1354,1522,1272,853,916,862,469,813,1262,1058,724,642,584,658,941,1062,1256,1466,1224,980,706,536,409,427,636,666,500,637,965,1490,1672,1272,1310,1224,1148,669,336,296,333,298,669,952,447,495,681,785,666,932,1162,1106,1132,1062,968,1013,1030,679,336,312,278,266,261,316,272,282,332,713,1086,1120,1092,1136,764,340,311,332,336,289,310,356,498,563,431,375,597,660,592,1024,1196,624,648,987,786,743,874,997,1210,1478,1376,1148,1088,661,587,795,842,968,1036,814,598,776,1084,1152,900,901,1064,1156,1020,887,1120,1498,1544,1344,1266,858,637,774,716,720,1202,1310,783,491,483,435,405,735,1124,1122,944,1144,1356,1196,1032,1324,1358,1300,1276,1222,1498,1608,1416,967,731,879,912,925,1078,1230,1526,1282,1044,1056,1182,1244,1176,1404,1732,1172,711,881,1366,1208,1216,1652,1506,1382,1148,1126,1260,1660,1768,1456,1220,1406,1604,1168,636,443,585,716,724,1134,1444,1420,1246,1154,1380,1584,1428,1358,1260,1358,1216,1005,1152,1090,922,1096,939,779,1038,1164,858,951,1068,1013,1074,1068,1184,1092,819,584,659,622,580,690,770,850,1338,1322,1562,1482,1294,1330,1146,1098,1156,1210,1302,1280,1376,1616,1288,1230,885,786,867,1240,1296,1246,1286,1362,1454,1158,1400,1508,1384,1052,1022,1436,1174,1019,1092,1060,987,1082,1396,1548,1462,1204,1208,1156,1142,1224,1396,1312,1146,1294,1368,1282,1244,1204,1128,1116,1462,1586,1606,1472,1296,1166,1194,1208,1352,1466,1744,1482,1124,1114,1298,1374,1374,2316,2732,1814,1454,1404,1342,1354,1412,1440,1244,1162,1206,1128,1172,1174,1102,1266,1144,1016,1362,1482,1110,1062,1126,1366,1082,722,1028,1370,1206,841,860,940,1128,1416,1548,1330,1054,1396,941,927,920,1300,1374,1148,1306,1226,841,726,943,803,958,1562,1510,1262,1242,1664,1656,1454,1334,835,491,600,651,1160,1756,1708,1764,1866,1730,1390,756,478,454,506,642,728,795,863,591,656,624,660,585,517,486,647,632,652,699,847,969,917,905,667,324,292,335,281,237,310,438,504,647,903,1088,1322,1328,1042,1130,1548,1682,1156,443,520,831,537,279,344,352,346,301,312,374,932,1406,867,1116,1530,1278,1660,2226,2358,1456,329,265,399,745,534,356,358,277,297,412,504,505,535,867,1204,912,619,416,483,753,1150,1104,850,648,632,622,615,586,427,416,305,287,300,291,271,364,488,466,412,441,488,496,400,339,473,541,544,542,460,377,354,372,339,356,441,482,501,535,601,697,533,417,350,377,697,1130,1262,1186,1242,1240,786,838,1626,1468,1146,1616,1360,1290,1466,1606,1556,1300,796,610,735,639,574,725,1032,1156,1130,1416,1478,1542,1454,1168,1068,1023,736,536,471,518,560,480,428,457,371,282,336,419,367,320,298,463,951,988,1528,1888,1294,642,419,550,970,954,727,1001,1234,1828,2070,1910,1786,1842,1560,1100,593,434,672,815,699,693,677,429,371,363,405,371,354,452,516,477,427,521,605,1062,984,753,998,756,1170,1600,1600,1376,1634,991,309,489,495,407,438,412,458,411,760,1482,1522,977,581,486,628,1007,1190,1036,1180,1090,672,753,873,947,1204,873,614,1036,1512,1442,1258,1072,597,470,407,1636,2418,1942,2426,1896,1258,980,920,1320,1876,1888,993,901,1076,789,1222,1234,896,1264,1528,1410,1634,1736,1428,934,641,571,572,642,681,702,799,789,867,816,739,666,559,649,874,867,798,571,525,555,497,540,633,1064,1286,1006,1064,902,757,737,792,951,1132,970,852,1236,1238,753,632,623,582,551,567,532,451,405,415,397,422,431,401,416,529,1144,1860,1432,788,600,685,1166,1476,923,808,960,1250,1510,1572,1260,792,591,591,928,1530,1524,1144,840,675,680,1222,1462,1438,1372,1188,1382,1522,1452,1462,1084,553,407,448,609,1094,1266,959,1019,1076,1017,959,862,625,926,1282,1372,1138,943,682,448,529,884,1292,1356,826,468,439,459,523,463,607,799,710,631,568,610,922,1005,1148,1100,1052,1210,1060,1144,1004,1092,943,1018,1434,1082,666,916,1036,1316,1436,1416,1620,1278,993,818,526,576,660,479,468,656,1098,1200,1354,1502,1404,1048,1128,1180,1015,1102,1232,1230,1174,716,505,1118,1206,1204,1316,1200,809,609,642,682,797,761,948,983,1062,1296,1624,1770,1538,1224,1278,1410,1288,1194,1312,1324,1174,1122,1038,1158,1078,970,1228,1410,1494,1454,1460,1510,1496,1558,1424,1126,1028,1224,1268,1052,1258,1142,1118,1616,1432,1284,1216,1344,1384,1222,676,849,1152,697,925,1310,1156,1098,1434,1676,1918,1684,1482,1840,1842,1980,2322,2066,1456,846,581,602,654,921,1156,1224,1500,1580,1232,935,1144,1132,1104,1334,1434,1346,1114,996,1264,1244,1158,1078,682,666,787,976,813,654,598,749,687,321,392,460,371,282,333,373,365,310,278,278,314,385,621,988,1466,1290,584,745,740,589,887,1276,1510,1286,779,421,314,346,606,759,521,943,975,1136,1386,1448,1024,618,500,509,481,321,304,579,758,998,866,550,516,603,847,1656,1598,750,556,575,437,693,877,750,554,617,840,857,860,685,534,564,606,1240,1616,778,688,1116,872,1068,1184,1234,1024,1244,1222,1090,1274,1410,1222,1176,1226,910,1034,1118,863,1244,1614,1118,976,1106,1100,944,1064,1156,946,1150,1260,1416,1176,1308,1332,1210,1324,1570,1748,1580,1306,1216,1078,1192,1290,1200,1070,988,1154,1782,1638,943,713,1038,1292,1212,1018,894,1226,1438,1400,990,1222,1026,849,1236,1236,1066,1366,1376,994,583,760,659,570,742,846,1058,739,783,1048,1046,1130,1108,1242,1282,1162,965,960,1322,1566,1584,1508,1578,1368,1224,1278,1118,830,745,772,894,1370,1490,1332,1021,880,1228,1148,959,1030,866,694,440,408,458,543,709,773,809,774,568,471,714,918,1078,1324,1382,1472,1444,1626,1060,539,945,1104,830,696,722,771,659,521,377,625,985,1086,1100,856,485,487,788,759,444,421,632,871,1038,1490,1310,1192,1448,1290,1260,966,1056,1340,1346,1448,1348,906,965,1102,1496,1382,819,548,843,1204,1098,988,1100,1013,871,906,1040,1172,833,972,1226,1522,1524,1358,1154,1124,1072,1248,1388,1488,1280,1252,1428,1442,1118,775,726,667,526,458,593,780,868,1032,1248,1256,1376,1390,1356,1428,1588,1720,1536,1282,1106,1124,1200,1222,1418,1558,1200,1518,1478,1250,1286,1452,1534,1302,1003,1052,1274,1046,835,903,907,760,695,778,1028,1196,859,551,485,538,601,679,485,434,430,625,868,533,300,313,328,307,293,293,364,702,668,455,452,392,393,445,468,514,551,733,706,490,478,536,550,675,811,827,692,536,465,547,535,462,799,1200,1552,1500,1240],[1016,1350,667,624,1178,1606,1382,1146,1192,1204,1318,1532,1318,1426,1858,2014,1920,1360,1288,1204,1466,1376,1450,1962,2012,1660,1452,1534,1670,1792,1854,1448,1368,1262,1012,462,362,436,491,1009,1066,557,822,1400,1324,659,761,1224,1080,675,402,319,352,385,406,426,446,444,446,424,435,420,389,397,395,377,401,458,500,523,513,531,558,506,464,928,1830,2288,2416,1878,722,418,417,462,482,469,495,420,381,426,666,1138,1188,1232,797,464,425,674,898,1018,1150,1372,1136,637,503,433,469,594,673,691,531,447,470,471,431,429,495,633,865,682,679,597,490,432,455,611,626,606,911,676,510,461,451,713,1166,1256,923,562,889,1476,1320,1020,939,484,369,449,582,723,839,711,382,364,470,329,352,305,493,646,724,755,750,826,892,893,858,874,839,662,435,343,349,361,344,314,341,444,578,594,568,681,758,885,1082,1258,969,435,355,357,321,337,335,437,475,522,664,764,1030,897,830,554,799,1392,1232,603,411,562,1222,1792,1802,1236,544,472,651,1272,1264,703,523,550,536,711,742,725,713,578,447,539,909,688,775,689,651,517,528,775,1294,1788,1476,954,1310,1490,1138,554,502,664,897,960,846,686,632,706,617,656,1028,1192,1240,1234,1274,1384,1346,1296,1080,662,458,438,491,416,400,438,479,728,1788,1296,565,375,350,401,352,304,332,386,775,1042,791,521,405,696,832,612,379,305,392,574,946,1210,744,775,1162,1000,1274,1562,1750,1324,671,691,1056,1252,1254,1108,1154,1172,966,1178,1122,1094,1306,1380,1864,1926,973,383,467,483,361,328,325,543,647,824,1030,988,1038,1098,709,375,394,431,481,533,485,361,537,1176,1464,1432,1416,1038,542,668,1226,1218,772,498,561,383,376,714,944,974,1486,1534,1144,1088,1064,1214,1296,956,1198,1346,1356,1208,1148,1334,1266,1190,1264,1256,1396,1318,949,1212,1716,1700,1638,1694,1812,1796,1722,1576,1412,1158,1017,982,960,1150,1302,1416,1272,1021,1306,1594,1408,1382,1396,1268,1156,1236,1174,1308,1452,1456,1376,1664,1466,1216,980,674,651,1002,1250,1214,1260,904,802,877,664,539,890,1336,1300,1204,963,609,473,502,587,709,608,814,796,1338,1382,2658,3342,1874,1002,780,411,332,339,294,545,985,666,589,714,705,634,1044,1218,987,857,716,631,1128,1052,586,371,363,321,263,312,374,345,332,335,363,695,1092,1116,1400,1560,648,379,403,383,333,616,860,659,445,458,494,605,841,1020,1282,1180,653,571,691,581,597,854,1062,1090,1108,753,857,880,597,702,882,1146,1062,752,579,655,703,846,1296,1238,1152,1184,1416,1322,1080,1098,1286,1286,1160,1068,984,1015,1404,1320,758,806,852,553,637,787,555,442,680,963,934,912,1170,1372,1362,1324,1224,1108,1216,1310,1440,1502,1502,1396,975,606,594,592,933,1102,1230,1094,1104,1194,1060,1126,1212,1100,1418,1542,1200,1192,1170,1438,1090,1198,1202,1154,1176,1180,1392,1370,1466,1632,1306,1306,1274,1013,943,774,625,811,721,789,1318,1482,1242,1246,1200,1396,1522,1224,1174,1005,910,1166,1122,851,631,689,948,1060,916,971,1282,1120,1110,1222,875,763,780,1003,1052,790,869,866,549,666,1011,777,979,1384,1424,1482,1384,1260,1226,1230,1394,1316,1184,1324,1312,1280,1260,1314,1258,919,675,742,1100,1220,1330,1262,1476,1876,1418,1168,1356,1216,1188,1160,1310,1320,1021,877,965,1180,1264,1232,1264,1364,1326,1280,1238,1310,1340,1392,1304,1328,1396,1230,1150,1204,1194,1234,1274,1378,1250,1352,1458,1314,1342,1048,1234,1588,1262,1432,1252,1200,1340,1384,1306,1238,1304,1910,1556,1246,1266,1288,1282,1244,1300,1158,1118,1158,1232,1378,1338,1270,1146,916,965,1544,1968,1288,1126,1076,1208,1064,1136,1150,1084,1048,750,766,927,1078,1320,1364,1092,1084,1386,1182,1170,1298,1596,1522,1316,1192,1000,755,1176,1920,1166,601,1350,1596,1502,1752,1744,1400,1096,766,546,590,749,750,1328,1984,1802,1788,1754,1174,960,834,552,498,445,436,509,855,1028,647,582,576,661,542,462,684,626,544,563,286,440,598,407,339,280,277,307,289,294,407,682,999,1076,1094,1294,1398,1356,1360,949,680,839,1118,882,515,572,735,510,330,369,342,332,323,376,1376,3806,3742,2136,1920,2212,1880,1432,1362,1614,835,259,232,328,633,968,1046,644,303,318,474,791,822,441,584,718,697,760,444,440,815,977,1188,1340,1044,642,604,731,839,669,496,280,254,288,312,277,288,372,451,444,358,339,362,322,217,302,442,509,574,584,549,549,472,334,320,379,468,477,532,577,554,579,476,327,365,492,605,933,1242,1232,1338,1224,761,694,1144,1558,2334,2504,2076,1760,1640,1426,885,372,386,514,860,735,620,956,836,1216,1668,1376,1222,1066,1036,1094,914,615,578,465,338,458,737,698,433,264,306,374,396,398,476,424,428,1086,1300,1516,1600,1212,775,520,749,1104,770,498,783,1092,941,686,624,834,1012,771,439,289,259,356,392,333,467,431,497,645,596,608,528,569,660,716,639,538,605,505,913,1058,989,1052,1010,1248,1488,1304,1434,1478,681,440,455,480,724,714,705,785,590,391,668,1272,1606,1310,979,697,585,629,444,947,1042,724,725,912,1116,1200,785,528,961,1458,1270,1130,691,432,711,786,1598,1566,1924,2578,2008,1246,1009,854,1011,1686,1826,1130,903,879,803,1250,1238,907,1490,1772,1476,1664,1332,1396,901,639,558,589,672,622,667,500,443,655,818,774,584,454,622,861,843,798,592,496,553,555,611,630,827,1316,1456,1310,1194,1286,1178,940,929,1090,874,883,1324,1148,645,688,704,722,649,600,587,498,457,460,414,401,417,424,564,879,1294,2212,1532,625,636,691,1190,1282,620,586,1066,1222,1042,1328,1252,752,703,910,1026,1400,1452,1168,1110,902,692,977,1420,1594,1440,1296,1466,1486,1064,1210,1104,796,732,758,780,813,807,719,1052,921,651,640,721,729,1162,1554,1388,959,692,777,988,1322,1422,1224,838,549,453,397,425,398,621,999,991,855,769,586,794,1116,998,846,673,788,1154,1134,1082,1148,1092,1050,875,1288,1190,913,854,990,1182,1024,1522,1528,1166,1312,1422,688,432,454,514,694,774,979,1262,1350,1260,1328,1260,1112,954,1120,1296,1394,1222,1034,684,431,868,1358,1358,1338,1416,1192,821,670,871,1156,1230,1174,1048,1302,1326,1354,1290,1362,1086,925,1238,1334,1146,1156,1146,1446,1448,1208,1270,1404,1228,1436,1642,1560,1578,1650,1534,1460,1542,1256,1028,892,1044,982,1306,1378,997,1019,958,852,1156,819,1040,1098,1042,785,694,865,748,922,844,712,941,1310,1664,1770,1530,1864,2198,2168,1962,1710,1638,1336,847,808,957,924,1026,1236,1350,1378,1556,1412,1116,1068,1274,1334,969,972,1550,1572,1252,1236,1009,978,1092,988,1116,1244,1208,1092,993,1062,1408,1172,468,394,324,313,286,355,369,337,275,238,285,317,502,873,965,1294,1092,512,611,595,404,453,893,1068,1062,980,504,336,390,785,924,551,877,1332,1428,1456,1444,1090,633,501,548,462,343,333,507,556,737,977,578,340,456,505,968,1116,487,400,484,432,306,528,922,912,658,452,558,794,980,1072,883,619,778,1001,618,763,813,505,1710,2136,1566,1422,1414,1256,1214,1026,1046,857,924,1017,869,620,777,767,878,882,806,886,902,711,781,1178,1470,1036,827,1270,1352,1124,1192,1210,1272,1352,1410,1444,1544,1156,973,1021,1140,1184,1072,973,1054,1216,1942,2082,1232,982,1228,1276,1022,801,1002,1190,1340,1548,1420,1372,1176,756,813,1098,1322,1554,1178,1050,832,1021,1050,1042,952,1166,1280,959,960,901,996,1164,825,703,1084,1182,930,1086,1278,1614,1736,1538,1420,1396,1458,1394,1450,1056,648,596,775,1050,1114,1003,1176,1242,1474,1718,1090,754,559,432,392,365,384,456,596,674,694,739,673,641,902,1244,1476,1534,1392,1306,1110,1124,847,558,671,771,839,809,643,673,661,382,692,1236,1382,1390,1024,681,606,558,762,717,405,421,619,588,656,1170,1262,1274,1552,1554,1342,1078,1164,1394,1576,1642,1188,722,957,999,1198,1372,1152,1238,1454,1210,1076,1182,1138,939,1074,1044,1572,1570,1272,1252,1382,1438,1598,1394,1152,1334,1380,1188,1126,1090,1007,1102,1126,1360,1350,1344,1364,1242,1074,890,833,880,883,1050,1166,1122,1288,1490,1396,1362,1372,1318,1384,1232,1084,1226,1202,1278,1448,1620,1284,978,840,990,1154,1288,1282,1098,876,1138,1548,1202,813,689,643,607,749,857,856,871,801,644,599,552,582,611,496,437,393,475,563,451,333,299,278,299,299,345,404,772,678,498,498,456,402,405,429,460,490,492,560,691,696,857,697,866,1052,1094,1210,1078,954,1218,1296,1118,1124,896,1224,1158,821],[899,751,403,386,813,955,918,1023,939,1036,1506,1590,1210,734,866,1516,1492,1278,1368,1370,1692,1364,913,1382,1794,1340,1136,1040,1070,1502,1712,1368,1188,1208,881,393,375,437,812,1174,677,453,891,1592,1716,1050,994,1294,852,421,379,369,373,378,382,379,416,401,411,409,472,485,420,404,383,344,370,407,467,493,504,474,481,437,393,380,579,1124,1736,1118,397,462,494,626,674,477,493,574,551,592,807,1018,1192,870,487,408,422,597,731,990,1134,1132,1058,736,479,442,576,615,689,708,522,506,470,413,501,518,614,511,513,630,786,914,824,597,503,646,662,791,1710,1554,1134,690,411,424,632,997,1186,862,856,1332,1026,1258,1002,769,688,1050,1470,985,648,520,311,559,688,338,276,290,386,389,444,509,709,838,850,767,724,839,662,433,343,419,417,378,330,282,282,356,621,951,947,868,779,785,852,872,872,1134,1019,518,325,380,467,540,587,477,645,841,956,719,889,757,678,1004,1036,616,432,655,968,1108,1400,1092,705,602,1092,1648,1264,583,428,453,475,605,857,1142,1278,1186,932,773,715,694,845,865,797,801,849,786,932,1232,1236,1122,1168,1298,922,453,363,389,732,1144,1116,791,728,1034,910,722,1184,1240,1194,1246,1404,1444,1376,1316,960,635,505,531,669,540,424,458,433,407,589,454,340,345,340,367,353,291,297,346,361,311,415,437,459,596,555,379,330,332,330,341,647,1086,818,694,872,645,811,1240,1282,863,513,553,724,1144,1336,1334,1178,839,648,996,833,720,1074,1316,1464,1488,1112,476,444,595,456,314,306,453,486,556,760,1056,1432,1518,685,397,385,414,526,513,341,299,487,893,872,737,452,269,262,401,654,871,891,722,557,539,400,537,490,506,810,948,1080,1014,918,1116,1302,1134,1254,1522,1512,1482,1362,1480,1498,1366,1430,1506,1582,1528,1286,1454,1606,1692,1678,1562,1490,1504,1500,1416,1310,1036,1180,987,1140,1064,1110,1142,920,982,1206,1238,1116,989,1010,1066,1226,1022,1186,1328,1226,1060,1116,1164,1038,1152,1014,930,1092,1180,1136,1358,1704,1210,1042,996,703,576,568,927,1280,1180,808,509,528,619,700,714,877,1015,1242,1180,877,2600,2952,1340,971,1194,594,332,341,276,419,1148,1300,787,444,536,635,709,965,1018,827,830,890,1252,992,477,356,393,345,321,284,298,368,364,364,390,440,805,1176,880,1130,713,377,332,349,366,473,606,785,765,625,629,858,977,1378,1126,967,811,591,558,380,372,736,1172,1160,961,871,1005,833,728,912,1186,1242,904,660,580,497,460,569,940,1284,1290,989,1384,1396,1212,1310,1288,1194,1366,1392,1100,809,1246,1288,1148,785,515,407,525,572,472,409,666,1028,980,1152,1362,1286,1294,1324,1230,1246,1406,1454,1472,1550,1418,1506,1250,794,589,834,1154,1158,1154,878,1100,1272,927,940,1270,1284,1108,1054,1232,1094,968,1250,1864,1650,1274,1428,1272,1336,1470,1454,1388,1346,1158,1306,1374,1234,1050,857,628,578,633,929,1188,1286,1228,1308,1310,1284,1544,1310,864,603,789,951,757,709,810,775,925,1160,933,1004,1242,1190,1130,1178,976,605,713,1288,1158,929,1200,1110,694,1017,1448,1036,1324,1336,1474,1532,1416,1666,1670,1312,1324,1278,1166,1250,1260,1162,1114,1288,1204,886,779,803,890,964,997,1086,1310,1420,1438,1284,1340,1228,1136,1238,1478,1314,1010,967,1204,1122,1064,999,1166,1238,1234,1140,1128,1172,1220,1188,1162,1202,1214,1250,1218,1212,1096,1248,1294,1202,1258,1340,1260,1324,1428,1148,1178,1112,1176,1270,1264,1156,1400,1384,1224,1086,1348,1402,1208,1126,1044,1138,1208,1148,1228,1244,1190,1150,1216,1340,1354,1332,1344,1194,1050,1206,1312,1186,1156,1314,1200,1388,1576,1286,1128,937,777,1042,1040,1166,1360,1478,1064,1166,905,1090,1250,1438,1686,1538,1172,945,788,713,1266,1918,1180,1046,1438,1376,1332,1566,1450,1138,669,307,322,372,386,529,1078,1594,1584,1534,1506,1460,1758,1600,625,469,443,372,356,768,863,613,498,603,645,539,605,729,518,397,368,278,271,281,242,279,288,274,303,379,619,713,738,1194,1196,1256,1302,1294,1110,1288,900,603,645,652,579,539,767,1026,709,597,670,626,411,546,596,974,1300,1460,1550,1496,1376,1376,948,525,687,394,248,239,309,339,852,1476,1076,314,328,477,766,724,319,362,357,552,586,401,386,692,838,795,839,1174,1122,969,854,863,723,401,272,281,339,371,332,305,296,365,425,397,343,312,253,189,250,303,365,509,586,601,642,604,528,484,413,359,414,733,691,560,579,448,288,501,740,523,513,1001,1392,1392,1368,1236,1038,1380,1498,1494,2172,2744,2438,1258,849,587,342,334,455,585,604,739,803,537,746,973,850,985,1198,969,1096,946,739,689,560,406,537,644,598,650,485,359,319,308,305,348,352,369,689,1106,1334,1224,1176,1038,879,1000,1072,968,1046,1138,1088,771,612,536,402,413,326,265,282,281,325,645,1122,1090,683,633,577,901,1036,488,430,507,659,606,793,833,605,807,850,1028,1034,948,1070,1038,1326,1384,1054,495,539,419,576,982,962,1036,1122,799,478,378,509,1240,1762,1570,1017,469,347,371,656,722,422,460,612,684,1011,1182,1044,1352,1180,1228,1009,441,448,841,1066,1550,2010,2454,2784,1830,1128,1011,910,999,1872,1750,1138,1170,1268,1150,1392,1168,985,1398,1584,1448,1372,1130,1454,987,642,544,634,632,684,623,379,340,572,791,827,629,446,624,855,857,753,627,462,481,586,580,659,778,1434,1724,1802,1678,1494,1410,1404,1378,1202,757,872,1382,1013,572,703,814,800,802,816,771,620,560,522,457,475,514,535,741,1246,983,1754,1366,609,843,1112,1660,1468,666,576,844,1408,1642,1612,1120,721,800,893,801,1001,1354,1308,1140,1028,731,805,1364,1534,1564,1622,1470,1108,862,1182,1015,736,998,991,552,449,570,604,941,1268,777,544,1080,1434,1562,1638,1372,752,529,740,1040,1404,936,752,924,1028,684,356,357,331,523,833,733,740,980,1202,1036,764,547,579,619,763,1102,1228,1430,1592,1100,1104,730,1076,1290,1278,1076,1182,1320,1408,1702,1826,1334,1018,1010,480,361,589,819,1094,1122,863,839,1112,1328,1350,1330,1126,1024,1290,1438,1484,1224,1194,1142,686,811,1248,1354,1458,1414,1066,907,765,1166,1294,1232,1104,1104,999,997,1224,1192,1194,1224,1068,1328,1430,1308,1156,1158,1658,1594,1390,1464,1534,1386,1390,1302,1144,1286,1310,1144,1154,1404,1396,1240,1060,1024,1152,1380,1208,923,839,1040,1048,1344,983,646,656,691,834,1352,1354,1064,1060,678,683,904,1058,1324,1306,1576,1576,1764,1822,1488,1218,1262,1502,1394,1236,1194,1172,1322,1392,1274,1270,1406,1302,1098,1078,1376,1172,1236,1830,1814,1390,1380,1316,1194,1194,1244,1142,1170,1500,1534,1540,1440,1096,1092,1482,819,433,345,283,262,329,351,291,264,241,243,303,581,881,554,493,462,497,520,405,357,359,435,491,800,1011,685,410,441,882,805,658,1296,1750,1626,1484,1204,849,687,629,720,510,486,440,451,482,750,1130,784,307,360,268,343,376,523,771,772,719,467,366,730,984,821,638,722,1088,1266,613,440,454,624,810,836,785,871,804,1068,1396,1436,1534,1458,1346,1194,878,744,987,1244,1132,1084,1015,943,951,793,503,644,794,645,580,696,883,1254,1028,810,1078,1386,1262,976,973,1100,1170,1222,1086,1266,1416,1254,1174,1176,1218,1200,1054,1148,1460,1566,1374,1116,1310,1306,1202,1012,980,966,825,1342,1854,1592,1172,955,514,578,986,1582,1792,1162,1066,825,1040,1120,1236,1100,744,940,1054,808,901,1328,1050,596,458,827,1062,1288,1388,1418,1604,1628,1670,1484,1268,1066,1314,1366,1162,736,601,695,1036,1142,1148,1490,1548,1676,1620,763,441,381,393,410,392,371,374,458,574,626,672,713,730,963,1070,955,1210,1354,1216,935,853,1076,910,662,732,1044,1184,1020,597,413,495,1632,2574,1826,1009,766,648,830,867,835,833,685,482,744,932,816,743,833,1170,1534,1642,1124,766,916,1304,1626,1706,1262,944,1016,804,579,976,1382,1678,1654,1246,1234,1316,1262,1054,1106,1196,1376,1504,1384,1288,1284,1038,1060,1130,999,1108,1030,1248,1202,1090,1322,1390,1058,1082,1254,1364,1360,1352,1196,1160,1324,1480,1256,1340,1478,1344,1354,1456,1440,1466,1428,1410,1396,1100,1280,1288,990,940,1268,1544,1186,884,968,1198,1026,784,777,1074,976,1202,1172,899,1064,1036,819,829,919,1072,681,533,683,571,591,605,630,713,583,427,449,452,451,460,371,309,364,484,496,480,374,640,659,525,487,482,458,422,429,440,445,424,452,550,593,771,1009,1004,911,1198,1496,1538,1502,1640,1394,1186,771,658,686,546,833],[986,1176,789,502,597,511,357,411,395,481,699,810,933,556,931,1350,1236,1224,1192,1128,976,640,484,836,994,929,1068,1128,1712,1936,1716,1504,1276,1058,593,389,409,603,1164,981,451,374,730,1460,1892,1586,935,692,547,419,429,396,395,382,339,336,396,403,415,416,444,459,438,444,405,348,390,430,462,438,438,417,391,358,375,399,377,475,543,466,547,654,709,774,763,584,614,991,1244,1260,1106,839,596,486,455,455,519,469,547,619,800,907,963,803,554,580,542,468,517,567,528,419,345,372,445,503,528,498,526,583,669,819,832,860,758,674,587,930,1716,1882,1356,763,403,378,570,662,1028,1172,877,761,480,592,542,841,841,764,752,506,526,401,301,346,345,379,487,462,428,318,241,318,475,611,584,621,1040,1064,744,386,355,375,325,386,384,306,324,421,689,1021,1018,1212,827,633,781,671,986,1864,1672,665,352,456,922,1202,1016,634,731,1021,1032,1042,1180,1208,835,671,923,661,460,467,390,526,714,687,755,728,980,1338,1132,672,567,437,509,617,778,1010,1116,1220,1300,1028,679,667,671,727,845,683,743,816,550,546,764,802,987,1198,775,407,321,269,669,1222,1218,1194,1082,1296,1206,1022,1230,1300,1326,1344,1316,1250,1226,1058,645,944,838,608,579,540,494,483,425,393,467,738,1046,708,412,373,365,342,324,326,294,322,274,339,449,534,464,321,352,351,364,427,843,1220,1072,700,539,451,478,640,763,744,741,935,816,1406,1448,1354,1036,743,849,1030,996,1102,1290,1378,1360,1132,1190,666,422,431,430,365,308,332,353,328,521,863,1196,1294,499,485,431,488,766,541,323,281,595,605,338,383,516,560,599,539,441,819,1234,1294,821,502,405,654,864,866,1166,1210,1138,1154,1254,1290,1496,1436,1430,1584,1654,1652,1482,1480,1732,1638,1604,1584,1530,1462,1552,1406,1478,1570,1398,1366,1396,1368,1382,1684,1914,1268,1082,1196,1764,1184,760,948,944,1052,951,719,681,559,830,1100,1056,1156,1300,1330,1338,1380,1296,959,836,1068,1214,1090,1096,1308,1108,1228,1408,987,926,1088,1096,1028,835,680,783,600,461,431,430,683,821,765,794,712,1174,1208,1108,1338,801,632,882,942,606,372,297,280,317,985,1570,1070,717,1072,1023,965,1480,1432,1418,1334,1074,997,832,485,342,425,434,374,328,328,364,344,391,361,375,544,1064,979,753,527,418,356,345,355,347,346,501,865,724,724,808,1134,1380,977,695,677,824,797,477,551,687,1126,1476,1082,1044,1082,1180,1268,1276,1270,954,625,692,720,598,586,582,695,1124,1024,756,1168,1316,1250,1256,1236,1236,1334,1166,946,702,1072,1242,1238,1134,866,595,514,432,446,740,1082,1394,1064,1156,1310,1328,1368,1300,1242,1114,1296,1418,1422,1372,1282,1470,1292,1090,1038,1128,1292,1274,1058,662,531,661,821,954,1438,1486,1054,938,1108,922,998,1384,1908,1676,1324,1344,1246,1318,1350,1072,974,1086,1226,1164,1342,1224,808,567,551,651,935,1022,646,724,1274,1202,1210,1300,1470,1416,930,770,1124,1040,764,891,1104,950,958,1058,976,1062,1212,1352,1312,1270,1270,916,865,1056,1036,1122,1460,1158,887,1162,1208,1170,1498,1416,1556,1676,1396,1318,1488,1502,1468,1410,1212,1284,1322,1142,1186,1402,1250,871,793,804,894,951,1112,1096,1250,1172,1114,1284,1340,1298,1250,1136,1076,1102,968,927,1142,1130,1050,1030,1094,1136,1230,1326,1370,1228,1312,1310,1246,1019,1180,1256,1198,1132,1160,1292,1222,1116,1098,1098,1112,1328,1346,1344,1296,1288,1776,1666,1418,1466,1202,1204,1310,1216,1332,1422,1412,1542,1156,1202,1260,1366,1344,1304,1088,883,877,998,1122,1148,1204,1136,1108,1044,1001,986,1130,1430,1274,1252,1366,1064,777,998,968,1072,1156,1504,1648,1130,1116,1260,781,835,1078,1356,1490,1212,1182,905,786,803,1368,1436,776,703,827,763,927,1246,1512,1216,742,433,360,360,326,352,736,1106,1336,1636,2012,2050,1904,1470,520,348,315,333,422,544,586,603,668,735,664,619,565,455,417,735,584,294,218,230,254,269,253,325,375,557,1008,861,772,1200,1124,1186,1284,1320,1216,1322,1174,730,597,670,602,921,1192,1012,680,763,601,469,392,509,683,993,1104,898,656,898,816,724,607,417,404,316,265,297,376,355,461,766,722,354,305,404,408,305,276,335,404,444,411,436,600,804,708,785,826,1050,1434,1480,990,704,474,477,468,341,310,329,334,364,371,344,316,296,286,280,183,178,282,301,303,414,440,453,447,547,556,554,448,333,362,502,537,557,594,508,306,552,814,483,340,844,1328,1392,1366,1314,1246,1448,1494,1282,1456,2662,3050,1378,549,370,299,792,1566,1268,583,663,847,516,283,308,595,1102,1244,912,957,997,818,698,589,608,869,772,414,470,637,605,398,274,273,285,228,263,361,484,791,1116,997,720,902,1110,1008,1336,1636,1636,1504,1426,1384,790,370,295,226,265,319,383,504,661,617,513,633,520,274,650,1272,1080,1280,1488,1484,1066,1046,1122,784,719,792,916,858,627,814,1166,1428,1270,805,547,569,561,1016,1104,861,999,1246,1016,530,477,1132,1466,1346,1200,692,335,344,339,572,762,633,834,923,550,465,797,1410,1154,740,999,653,382,727,1200,1416,1820,2128,1638,1636,1416,1086,1013,1156,1406,1902,1592,866,1058,1296,1366,1422,968,1134,1240,844,1206,1356,1338,1390,982,604,590,687,691,772,718,574,488,667,727,767,655,560,747,952,883,697,585,466,539,767,656,670,1032,1540,1490,1556,1620,1428,1426,1458,1390,970,633,937,1360,808,558,508,525,567,668,695,582,484,474,446,570,917,994,828,1056,1394,1144,1406,1282,761,731,1082,1582,1620,718,669,1016,1378,1490,1494,945,641,872,923,712,927,1296,1398,1416,987,743,725,1158,1490,1522,1322,1196,1110,1100,1410,1182,745,630,1068,984,705,608,472,516,908,1160,1530,1798,1716,1722,1532,919,389,371,813,1230,1460,1052,1242,1818,1572,673,381,317,293,388,756,1576,2552,3334,3046,1594,577,393,444,596,780,1034,1262,1424,1620,1172,906,672,858,1226,1260,1094,1454,1782,1498,1508,1470,1296,1120,623,621,911,1112,970,782,999,839,618,1154,1604,1288,999,803,1210,1270,1234,1218,1212,1332,1366,1250,1278,1448,1356,1398,1009,611,918,821,1296,1626,1348,1404,1426,1074,1076,1328,1368,1282,1182,1312,1350,1318,1340,1320,1224,1312,1562,1628,1526,1250,1042,940,744,858,939,1030,999,1020,1130,1218,1134,1080,1086,1170,1284,1130,1028,1094,1156,1106,1542,1162,659,592,713,837,1108,1084,974,1214,1008,987,1032,907,1020,1044,908,875,1162,927,852,1130,1270,1510,1532,1118,749,1038,1478,1430,1324,1534,1408,1198,1130,1210,1930,1272,1314,1250,1150,1009,1334,1494,1130,1052,1310,1190,1376,1928,2138,2236,1266,1324,1666,1736,989,505,324,299,274,313,333,303,262,212,238,283,495,819,710,571,570,608,467,432,466,365,302,436,856,1406,1426,702,611,1128,1036,1130,1858,1878,1574,1354,1136,1228,1030,1122,1198,720,465,403,364,484,705,1078,1078,427,329,292,304,558,1388,1552,1392,1306,927,483,463,778,1084,834,725,750,673,428,460,401,409,376,435,629,1118,1226,1122,1160,1404,1362,1118,861,706,671,574,895,1238,1322,1302,985,986,951,749,408,318,368,538,664,801,1162,1216,1188,1166,1310,1256,1124,1274,1488,956,1094,1120,1190,1066,1310,1542,1428,1370,1390,1132,1036,1432,1432,1296,1162,989,1164,1202,1284,1256,1220,796,734,1346,1464,1196,990,670,617,960,1294,1454,1628,1306,1136,1094,1054,821,922,903,600,804,861,1148,1184,983,915,745,635,752,1198,1532,1436,1440,1450,1184,1222,1488,1314,951,1306,1168,835,897,889,648,559,826,1048,1114,1270,1482,1146,752,517,378,447,438,393,374,390,443,516,553,576,648,816,997,1011,1068,1084,1182,1272,1180,1196,1168,1074,857,988,1178,979,879,586,407,637,1444,1904,1220,524,527,719,971,949,893,1084,1240,980,1104,1326,1470,1116,619,678,1180,1510,1230,1078,1272,1506,1054,883,670,808,1136,907,636,916,1528,1696,1650,1528,1518,1410,1362,836,612,1004,1208,1428,1498,1242,984,666,647,1010,860,792,689,805,1019,1186,1462,1544,1396,1266,1154,1404,1346,1314,1372,1572,1358,1430,1388,1372,1306,1276,1288,1192,1316,1278,1296,1574,1550,1360,1272,965,861,1108,1560,1598,1178,965,925,1346,1070,783,967,1268,924,1036,1038,857,1138,1144,993,935,871,951,581,464,418,464,527,717,731,753,679,488,445,430,484,471,407,366,525,568,550,446,352,508,619,561,498,492,503,482,435,421,440,373,391,469,507,902,1332,1438,1430,1354,1460,1666,1836,1774,1070,908,971,934,753,880,1376],[976,1512,1146,667,819,681,518,765,547,449,578,455,541,624,1394,1860,1556,1288,1294,1228,1198,872,656,1056,1216,1312,1442,1032,1622,1888,1770,1792,1504,875,389,375,455,939,1190,589,404,391,416,1096,1846,1718,1118,737,384,401,414,348,354,360,380,348,388,446,460,427,414,422,422,412,413,430,475,590,585,454,440,431,383,370,385,424,399,397,404,427,551,678,611,558,536,606,651,1284,2146,2156,1668,705,473,478,447,586,603,460,448,408,415,414,613,855,914,625,397,366,423,434,401,352,432,507,429,396,444,444,526,521,470,456,452,747,717,769,617,1150,1660,1100,790,593,387,499,1134,714,514,747,976,882,604,399,361,548,771,872,828,628,657,550,349,278,297,415,501,472,501,442,328,351,311,379,428,753,1344,1316,998,902,846,524,453,514,503,367,585,962,1196,1702,1830,1606,1074,866,724,706,1382,2338,1834,566,430,568,1236,1416,908,681,656,796,797,956,1212,1306,941,573,875,755,508,348,293,360,395,480,597,567,509,854,1246,1448,1102,605,449,409,498,974,1246,1202,965,748,613,658,668,734,1026,781,840,885,799,750,710,761,863,1058,918,552,357,380,572,793,890,1164,1278,1494,1224,1094,1276,1430,1430,1256,1164,1170,991,849,750,1376,1306,685,441,536,530,442,430,479,525,968,1454,1426,1038,523,389,362,343,280,244,263,271,311,398,486,518,391,397,477,508,451,837,1184,1052,686,533,408,356,397,602,918,802,957,1106,1316,1228,1136,1294,1212,1178,1228,1142,1132,1088,1222,987,613,798,634,378,297,460,575,482,368,361,365,397,682,763,737,528,527,409,514,641,563,393,400,763,1038,963,996,1015,772,965,820,858,1002,1166,1384,1030,579,470,742,1192,1138,1200,1102,1092,1290,1404,1374,1422,1582,1726,1800,1738,1682,1432,1502,1676,1566,1354,1052,1050,1342,1450,1332,1498,1612,1414,1352,1312,1262,1356,1654,1664,1310,1476,1240,1126,938,537,678,1052,996,577,804,1064,788,912,1090,1206,1108,862,1190,1284,1118,1040,906,755,724,1184,1154,981,1068,960,1148,1228,1124,1166,1158,1078,1310,1252,753,632,440,388,421,399,741,696,942,965,698,957,1294,1406,1246,783,781,959,1084,1015,596,341,331,290,440,740,865,896,1056,855,995,1708,2222,2380,1484,855,976,1056,626,321,343,365,355,323,290,313,361,432,369,372,415,736,1034,869,478,506,494,448,557,524,525,631,500,576,656,761,1184,1274,1202,1066,1012,1214,962,675,532,796,1328,1576,1306,1058,1098,1382,1416,1160,1004,943,597,598,728,664,613,644,570,799,919,1040,1368,1356,1396,1274,1334,1250,1236,1214,1316,1158,1172,1202,1170,1262,1244,1204,982,706,785,1274,1456,1312,1290,1362,1278,1414,1354,1288,1262,1182,1246,1222,1324,1084,1288,1538,1384,1246,1326,1398,1360,1236,865,591,579,777,1178,1132,1210,1366,1096,1015,1216,1198,1218,1226,1048,855,1044,1034,1116,1130,1222,974,951,1001,1040,1272,1418,1164,791,669,951,1032,1140,1158,869,1006,1310,1296,1294,1264,1192,1254,1182,1072,1040,1378,1320,1148,1078,777,815,831,875,1062,1154,1198,1190,1096,1060,1198,1056,957,1080,1338,1604,1274,963,1102,1072,1358,1596,1504,1708,1660,1140,1030,1446,1612,1384,1302,1268,1342,1274,1246,1350,1382,1250,955,924,831,831,850,1106,1162,1130,1142,1216,1400,1540,1552,1400,1224,1226,1092,921,1082,1174,1244,1224,1266,1284,1214,1204,1412,1656,1422,1470,1660,1470,1116,1146,1224,1366,1160,1058,1266,1392,1216,963,1190,1336,1242,1248,1390,1460,1474,1682,1404,1782,1926,1224,1136,1300,1234,1414,1640,1556,1454,1304,1178,1126,1222,1246,1180,954,594,490,536,719,935,1194,1164,1162,1058,1015,1002,1212,1356,1200,1272,1168,849,628,1108,1206,1514,1498,1518,1600,1138,1132,984,722,790,796,1124,1168,1278,1176,1052,911,1238,1598,1164,552,560,966,974,1528,1498,1368,1362,778,453,368,395,391,433,866,1506,1786,1942,1894,1218,871,794,1042,576,455,833,1082,847,561,492,507,495,479,736,729,614,428,463,331,234,241,255,265,278,301,377,414,407,439,497,919,1326,1196,1190,1208,1164,1168,1288,1066,523,433,574,406,600,651,785,788,634,422,306,311,278,486,767,683,495,442,446,480,438,336,310,302,258,279,458,777,842,525,289,315,477,529,421,314,332,406,600,698,453,385,621,763,960,899,910,789,712,1080,1500,1600,988,485,569,532,505,495,315,340,495,495,395,309,284,301,261,220,233,287,269,293,359,403,472,454,527,567,454,367,453,531,535,558,669,968,862,589,528,582,380,297,843,1262,1302,1266,1278,1422,1520,1358,1460,1858,2520,2404,1366,655,439,492,1060,1750,1496,628,365,569,706,479,389,471,717,948,904,866,816,821,841,595,636,1120,1158,569,335,454,823,809,520,354,334,357,469,686,788,862,786,765,816,1108,1108,1178,1622,1778,1598,1576,1916,1774,887,727,642,818,972,1058,1142,1324,1542,1216,594,387,360,356,816,1618,1802,1806,1892,1908,1440,1044,1096,945,854,1040,857,615,638,806,1350,1252,756,424,393,463,702,868,822,821,884,877,839,559,1064,1648,1244,764,666,465,294,335,318,406,656,1032,1142,1012,863,791,672,1058,1044,1015,749,504,983,1340,1334,1372,1462,1204,826,1194,1282,1142,1070,1086,1408,1874,1392,803,1310,1766,1646,1378,1078,1398,1286,596,628,857,1138,1222,886,655,736,755,744,806,814,830,808,716,682,755,609,526,692,829,811,619,532,468,526,767,849,681,972,1350,1418,1550,1584,1494,1452,1324,1064,715,744,1360,1460,937,629,564,520,481,545,588,554,501,484,465,639,1278,1368,1070,1032,1068,991,1094,1086,846,913,979,1108,1468,666,709,1028,927,1272,1454,968,693,910,879,669,733,793,955,1524,1438,1030,708,800,1270,1380,1019,1108,1232,1432,1632,989,1104,1062,1238,1344,1100,700,506,538,800,1310,1434,1282,1456,1470,971,567,412,449,990,1442,1538,1366,1542,2194,1834,653,394,329,357,383,551,1818,2402,1918,1382,984,519,550,630,676,526,735,781,1208,1562,1046,658,695,768,1070,1338,1240,1442,1760,1504,1106,832,945,740,603,930,1260,1472,1250,882,911,1062,1344,1290,1308,1060,894,926,1028,1208,1186,1456,2142,1810,1166,1050,1090,1296,1394,1360,955,866,785,626,1001,1136,960,1290,1498,1410,1212,1030,1332,1380,1556,1470,1154,1023,1206,1510,1310,1128,1214,978,719,602,495,578,690,1090,1030,1156,1246,1176,1208,1290,1192,1168,1206,1318,1312,1238,1238,1306,986,1066,1174,733,577,601,675,709,958,1170,1182,1360,1438,1178,974,695,993,1234,990,1112,957,658,915,1212,1098,1322,1504,1262,975,1136,1326,1260,1248,1250,1184,1238,1180,1114,1820,1370,1242,951,929,879,1168,1718,1804,1684,1410,1184,1260,1264,1848,1982,1230,1350,1504,1212,1132,896,359,329,301,308,308,271,205,204,255,277,327,577,655,648,607,455,397,486,420,297,298,419,542,1114,1020,591,571,929,908,1003,1476,1208,1046,1316,1432,1356,947,1216,1466,1092,798,651,540,902,1156,1328,1350,585,297,383,382,698,1240,1318,1410,1370,1008,502,395,456,969,741,455,346,467,548,510,426,480,414,385,493,681,835,1034,1106,1358,1302,1506,1130,559,446,714,1130,915,1038,1132,1152,1220,882,580,583,475,469,730,1150,1374,1164,1148,1230,1386,1460,1090,800,1200,1654,1280,1164,1210,1176,1104,1130,1290,1286,1190,1346,1118,1054,1246,1100,737,810,875,1030,1360,1444,1284,1100,883,859,1384,1416,1196,1242,998,833,1094,1162,863,930,1050,1030,1246,1346,752,637,688,744,691,895,1600,1236,716,846,969,1100,1072,1030,1286,1172,879,892,892,866,1170,1230,805,943,1202,992,823,877,758,403,533,1028,926,741,830,976,956,692,776,863,550,480,509,516,425,385,465,545,617,780,765,716,793,854,880,1013,1388,1322,858,991,785,744,922,571,468,422,432,699,933,882,550,410,521,928,1064,838,774,1124,1412,1570,1356,1032,1374,1676,1382,799,1216,1410,1422,1382,1534,1632,1062,610,484,594,686,709,772,973,1426,1554,1734,1544,1396,1514,1572,1084,688,703,800,1036,1234,953,858,867,987,1158,1180,1252,1070,907,971,1112,1392,1640,1716,1346,816,1008,1054,1038,1224,1246,1074,1212,1288,1244,1172,1218,1290,1288,1378,1282,1288,1418,1306,1450,1434,1256,1280,1310,1306,1374,1340,1340,1142,1132,1140,1238,1372,1482,1064,792,847,827,830,912,955,954,1112,1030,583,438,506,451,443,619,683,558,533,465,369,387,566,495,484,442,535,608,646,530,363,474,753,711,601,546,531,555,538,425,422,365,404,494,727,1048,1316,1510,1472,1528,1612,1660,1782,1726,1056,769,1346,1580,1268,1594,1832],[1066,1312,811,594,922,944,916,1136,993,698,669,708,690,771,1588,1904,1116,700,775,683,1196,1194,1068,1462,1584,1638,1798,1512,1600,1772,1714,1474,911,384,358,395,765,1360,1228,711,470,385,319,694,1262,1282,1332,1266,529,383,392,385,397,425,432,388,410,480,524,521,531,437,430,402,422,503,535,625,606,535,550,504,436,390,379,407,388,387,382,403,487,542,490,418,447,524,570,999,1674,1664,1188,489,435,417,405,479,463,391,357,398,365,288,322,631,865,589,389,369,460,364,300,301,399,517,488,387,483,462,423,354,331,397,416,630,649,701,713,965,933,680,794,772,623,553,1048,659,367,345,589,935,1026,974,794,758,872,1034,888,1060,1092,772,508,424,378,577,894,803,518,553,399,390,359,408,433,568,772,891,996,1322,1352,1013,962,963,1214,1116,1416,1820,1528,1324,1402,1436,1272,948,612,750,1130,1444,1136,444,408,513,872,798,648,631,614,698,711,581,706,1086,1162,641,875,836,535,405,405,415,413,433,517,532,566,1002,1254,1610,1534,891,464,383,469,645,899,1070,1198,1228,991,819,700,792,811,683,962,877,893,683,415,656,1064,1188,1023,662,686,763,867,744,639,735,1058,1274,1034,1088,1290,1354,1344,1350,1200,1130,1122,924,1156,1422,1160,738,852,1136,854,496,472,465,705,972,1136,1246,861,716,509,375,355,325,296,322,333,306,297,389,473,370,413,739,836,724,626,517,357,409,717,647,335,328,734,1064,815,937,1266,1248,1078,1262,1478,1256,1318,1046,716,504,509,924,881,634,498,413,408,391,391,571,623,553,634,638,623,664,475,465,566,519,365,417,611,653,530,684,1032,1412,1444,1226,1154,878,937,795,954,991,929,1198,1015,638,658,978,1372,1498,1494,1474,1528,1586,1628,1162,849,1312,1660,1572,1252,1318,1106,1390,1426,1316,1180,857,857,1146,1376,1344,1330,1476,1340,1126,1146,1284,1420,1452,1388,1011,697,635,960,899,510,491,738,930,674,988,1052,678,788,951,862,885,1228,1186,1040,1266,1034,606,490,370,760,1096,1290,1386,1306,1128,1090,1068,920,908,994,1156,1080,1050,1272,636,436,438,410,476,574,830,887,1015,1016,1072,1192,1028,705,580,948,1186,1142,742,365,313,302,374,547,593,479,431,359,800,1364,1662,1668,1278,877,850,877,439,343,324,363,318,301,268,241,284,349,378,402,390,454,789,1084,672,513,521,585,722,722,681,858,753,631,603,800,1004,935,1160,1212,985,1250,1174,860,626,1106,1440,1422,1118,776,747,1190,1224,1130,1568,1130,524,423,690,670,510,513,453,663,1036,1248,1344,1270,1358,1430,1334,1142,1176,1186,1312,1394,1422,1336,1156,1230,1270,1212,1234,1158,1274,1500,1400,1486,1770,1508,1286,1380,1224,1260,1220,1290,1340,1388,1224,1032,1296,1412,1384,1356,1256,1226,1484,1330,1122,990,772,946,1136,1100,1358,1442,1054,847,818,868,1062,904,645,1024,1266,1188,1194,968,953,1080,1268,1058,890,1292,1228,1170,1248,1114,1270,1218,1172,1278,975,1182,1444,1296,1360,1252,1088,992,930,806,965,1228,1068,1078,1114,769,653,604,671,990,1078,956,1088,1132,1096,1358,1262,1072,1104,1428,1422,1150,1076,1004,1011,1588,1604,1644,1740,1348,838,1060,1394,1410,1330,1372,1346,1298,1222,1328,1442,1482,1246,915,932,1028,935,974,1194,1230,1118,1188,1302,1444,1510,1486,1288,1422,1404,1486,1380,1478,1298,1172,1266,1340,1374,1274,1230,1332,1432,1228,1148,1422,1340,1296,1356,1372,1368,1220,1186,1258,1174,1006,1036,1166,1274,1062,1174,1274,1402,1576,1418,1084,1138,1238,1138,1194,1244,1204,1256,1288,1322,1360,1294,1172,1082,1112,1072,951,844,558,805,658,624,910,1232,1166,1048,1110,1162,1158,1250,1154,1248,1454,1272,1078,738,843,1018,1150,1078,1232,1170,891,1202,807,635,686,960,1196,1200,1328,1228,1102,970,1252,1270,813,379,922,1730,1532,1904,1920,1516,1336,1198,890,502,412,455,458,579,714,988,1406,1402,1142,1470,1564,1494,769,514,1032,1256,764,468,532,559,505,405,459,467,670,692,513,361,376,356,331,357,382,412,354,406,470,549,548,569,963,1264,1080,938,1140,1164,1042,596,378,408,371,225,497,693,802,799,713,583,337,339,322,491,747,1078,630,335,583,724,495,286,328,313,291,372,604,871,792,475,362,376,560,766,558,344,423,647,1040,1072,939,1128,919,908,1108,1016,843,748,741,839,890,771,528,455,498,683,1028,977,619,440,753,703,518,399,298,304,288,290,253,283,288,290,326,565,722,667,822,1100,901,509,443,482,552,448,491,793,1174,969,666,587,439,615,1030,1032,1030,745,793,1112,1366,1454,1470,1444,1494,1272,849,540,672,736,739,579,467,371,840,935,918,753,500,340,481,600,666,901,738,606,757,497,518,1054,1052,480,288,385,711,969,949,839,761,788,781,932,1222,1011,712,919,1250,1268,1192,1464,1742,1654,998,910,1434,1428,1430,1748,1716,1824,1934,1940,1954,2072,2000,1242,644,517,450,430,1282,1764,1728,1868,1966,2060,1866,1390,1048,949,764,818,802,662,576,1004,1218,974,568,382,226,376,831,977,1038,985,680,591,535,863,1688,1282,606,493,693,638,310,348,365,351,503,1208,1182,824,799,962,976,927,1048,1052,619,1628,2678,1766,1192,837,1086,987,857,1268,1258,959,1005,1274,1466,1850,1278,842,1388,1840,1516,1194,819,1250,1514,1256,1098,995,974,1050,821,684,755,757,850,849,860,797,795,690,702,729,599,586,646,617,619,552,554,603,545,709,872,796,1176,1566,1488,1460,1494,1616,1746,1242,760,852,1130,1356,1356,1046,913,836,663,607,521,551,453,460,474,535,803,1498,1266,1148,1250,1318,1318,1304,1356,1112,987,878,1224,1480,1172,987,885,733,1120,1520,1080,669,913,847,563,583,582,646,1180,1446,1252,994,898,1230,1414,1108,1302,1498,1274,1038,830,1166,1366,1142,1046,1244,1152,759,678,819,1032,1114,922,1162,841,695,794,594,486,880,1366,1736,1826,1586,1672,1058,470,389,377,395,386,392,448,575,559,667,841,628,683,916,923,923,1058,1003,1180,1112,739,715,893,914,965,1130,1256,998,1450,1126,684,451,478,608,655,963,1350,1366,1218,1112,878,1080,1520,1290,956,750,658,1048,1204,1214,1218,1572,2086,1160,881,1011,1102,1252,1322,1210,1112,1102,901,561,627,818,985,1216,1344,1136,1005,726,1116,1013,898,949,1034,698,719,1318,1434,1042,1066,1260,1318,1176,939,719,697,1030,1038,1038,1216,1148,1208,1314,1170,1096,1244,1114,1110,1262,1350,966,659,1036,1094,891,847,1144,1154,1214,1136,1362,1496,1340,1376,1022,691,639,918,1222,1230,1096,582,572,1072,1270,1026,1328,1524,1332,1266,1310,1238,1120,1110,1064,1140,1256,1096,1130,1100,1026,957,1150,1106,658,847,1636,1914,1600,1290,1158,1280,1326,1086,1046,1166,1090,1023,1216,1460,1234,909,358,342,327,304,313,283,269,271,289,303,297,324,324,307,315,391,457,442,476,411,422,405,408,461,513,573,774,871,932,1104,1042,1162,1700,1484,1080,807,891,1240,1206,1116,1028,734,1266,1780,2038,1578,733,393,460,422,550,544,588,1032,1258,890,411,332,285,557,558,451,809,904,792,600,472,423,332,399,401,308,407,447,605,830,896,1060,904,556,467,951,1302,934,1176,882,889,1070,1166,1100,1316,1114,739,949,1344,1306,1180,1188,965,845,945,1072,680,679,1090,1218,1376,1244,1086,1316,1042,702,564,602,1028,979,1136,1142,1116,866,895,977,1120,1258,1368,1170,1168,1410,1068,1364,1570,1314,1114,967,845,1046,1003,585,518,712,980,1166,1314,639,798,882,730,795,955,1452,1486,1070,1004,1114,1202,1152,1176,1124,836,805,913,825,653,789,1230,1072,774,835,1088,1080,1116,950,704,661,799,891,832,715,916,1018,859,894,796,651,625,615,579,477,471,589,603,559,617,677,603,497,780,996,1102,1284,946,741,957,929,842,869,563,380,388,386,709,1074,690,410,348,628,816,847,739,952,1288,1332,1288,1122,775,772,1534,1418,1228,1372,1388,1478,1378,1392,1340,871,519,443,453,522,581,622,863,1294,1504,1480,1638,1578,1356,1312,1490,1232,1054,888,716,544,510,854,1152,982,935,1170,1392,1504,1418,1256,1404,1416,1380,1534,1234,1138,861,537,693,1230,1304,1220,1398,1582,1484,1192,1078,1262,1310,1428,1478,1274,1224,1300,1406,1538,1544,1360,1376,1218,1206,1208,868,736,741,1026,1292,1352,1434,1328,1146,1072,864,868,932,1340,1202,1009,974,560,667,730,488,532,577,515,453,397,375,367,492,597,468,414,359,444,614,576,437,354,612,1004,1005,836,655,576,597,678,617,452,362,361,541,982,1218,1172,1284,1128,1356,1480,1576,1648,1606,1166,1354,2004,2030,1748,1884,1700],[1136,926,513,495,857,1062,1122,1498,1346,888,971,1094,951,527,833,1230,678,395,577,681,861,914,758,664,912,1358,1694,1936,2020,2072,1526,741,466,355,357,551,1108,973,690,755,690,449,347,401,653,791,1158,1668,943,415,362,403,430,505,492,424,421,512,624,790,906,709,636,619,603,523,509,522,508,512,493,472,471,461,422,398,422,491,526,546,491,423,368,354,356,359,422,552,710,678,453,361,336,349,321,344,433,422,354,396,343,311,315,427,650,628,467,467,521,406,355,328,327,393,323,301,493,553,412,364,314,376,437,661,964,786,762,1000,830,1162,1028,1200,1316,657,412,472,490,399,534,621,774,1078,1300,1320,1262,1104,917,1310,1228,849,857,922,941,1088,1532,1294,691,584,421,360,382,486,472,466,427,615,1076,1108,976,1284,1262,1298,1440,1426,1846,2008,1664,1236,1210,1204,1120,1128,1252,1214,668,587,500,330,465,508,489,493,525,562,632,698,777,606,631,834,752,641,728,626,468,413,429,423,373,348,357,499,619,937,854,1096,1326,810,487,416,414,528,717,857,1088,1534,1432,1316,1262,1202,998,661,722,772,755,496,615,1134,1056,907,769,484,424,722,1034,1026,683,462,702,898,1019,1288,1378,1222,1248,1344,1222,1094,1016,776,803,967,1142,1220,1226,1270,1018,739,475,527,916,1176,1372,1190,1068,903,565,415,330,346,334,350,344,309,264,330,383,318,432,698,858,891,710,624,606,686,756,682,423,469,719,700,727,1182,1310,993,984,1250,891,832,1013,799,670,612,504,673,861,709,473,362,339,388,261,277,419,626,849,959,947,662,483,651,824,750,694,446,456,644,851,982,1236,1274,1288,1300,1030,855,1066,1266,1380,1184,1100,1394,1438,1356,1360,1198,949,1290,1584,1540,1550,1512,1488,1332,1152,1246,1252,1158,1114,1252,877,777,755,1042,1198,1048,1168,1136,1244,1270,1294,1986,1590,1160,977,1007,1240,1360,1436,1244,961,1240,1184,734,554,482,663,842,725,792,585,385,572,893,896,1028,1376,1036,936,1001,1054,621,373,371,691,1160,1532,1764,1500,958,935,882,816,1112,1136,882,934,1224,1454,866,490,416,363,353,437,555,630,1212,1034,779,797,741,841,758,799,813,659,479,381,296,315,301,261,265,251,287,379,1023,1314,1320,1458,1126,645,421,455,328,331,339,397,372,301,288,278,281,315,372,409,426,462,495,921,966,582,488,555,655,761,796,699,485,549,666,706,1036,1098,1226,1386,1022,924,1074,1004,975,1150,1324,1292,1102,1088,921,1104,1156,1300,1428,986,706,722,861,855,605,451,525,565,649,937,1130,921,1076,1390,1412,1122,760,738,1170,1416,1470,1438,1382,1412,1356,1338,1028,1038,1244,1362,1404,1268,1050,1236,1288,1260,1316,1186,1066,1160,1216,1460,1316,1206,1300,1296,1372,1552,1420,1562,1716,1250,1464,1366,855,811,862,977,1378,1302,767,609,787,886,887,763,634,1448,1258,1052,1242,1120,712,568,1040,1324,1156,1148,1144,1368,1376,1470,1370,1302,1138,956,972,1362,1290,1015,1292,1044,1218,769,664,807,1040,944,835,1084,1212,969,608,401,420,715,1076,1194,1248,1260,1266,1260,1314,1334,1294,1432,1478,1202,1196,1278,1316,1716,1526,1792,1622,1032,746,1048,1512,1586,1490,1272,1180,1360,1246,1222,1144,1362,1184,849,883,1034,1100,1064,1100,1188,1152,1030,988,1184,1154,1324,1486,1486,1534,1708,1560,1486,1410,1190,1190,1090,1148,1216,1176,1170,1218,1146,1070,1078,1154,1284,1180,1120,1046,1148,1594,1288,1122,1056,1180,1238,1194,1204,1288,1238,1232,1366,1310,1012,839,816,1003,1238,1218,1274,1300,1186,1200,1134,1144,1318,1206,971,833,855,930,996,1182,1076,990,1017,1032,1058,1186,1292,1164,1260,1330,1090,1490,1582,1550,1350,850,538,752,1028,943,742,771,1046,1592,1130,721,1054,1232,1208,1502,1390,1184,1136,1154,1182,1022,817,1238,1898,1576,1268,1264,1466,1946,1744,1298,1438,1021,550,537,497,383,318,739,1180,1182,1196,1214,922,764,600,409,544,592,510,699,1010,1194,918,465,317,287,376,551,649,654,611,433,359,296,298,377,465,777,609,334,340,302,666,969,750,582,868,700,544,481,552,728,602,386,1284,1938,1458,1162,939,821,514,416,442,533,728,1344,877,310,966,1862,1312,325,341,440,531,723,1072,1078,716,728,771,686,883,1074,926,523,470,631,1142,1194,1015,818,725,990,999,1023,1100,1060,1010,969,957,776,518,413,422,512,729,771,686,587,581,659,813,557,307,225,228,266,220,283,271,256,268,391,558,771,1166,1448,1232,807,605,475,655,554,401,679,1348,1246,833,633,633,970,750,547,626,526,458,470,661,1182,1498,1324,958,711,603,709,1022,690,566,600,618,666,1350,1856,1372,684,530,521,634,802,816,930,854,537,421,306,323,615,754,709,762,885,1020,1130,1264,1228,1076,822,590,1290,2038,1516,709,661,1150,1210,954,1406,1814,1676,1266,1150,1620,1774,2026,2202,2074,2018,1798,1650,1712,1556,1192,609,454,609,448,657,1580,1826,1852,2008,2044,2060,2060,1828,1078,647,541,645,727,730,905,1194,1424,1140,597,386,198,507,1384,1420,1242,904,626,542,836,1592,1676,1200,619,651,778,732,438,350,373,396,708,1202,1184,787,608,724,1134,1224,880,611,855,3212,3230,1552,1122,602,527,674,874,1220,1174,888,1428,2090,1836,1738,1178,968,1320,1692,1638,1416,1378,1470,1544,1880,2382,1842,1146,922,758,749,811,835,861,732,649,874,943,706,673,641,576,662,660,583,558,513,650,695,606,768,828,761,950,1132,1202,1208,1176,1128,947,686,630,1040,1434,1496,1148,684,689,746,879,841,793,738,524,548,492,486,1015,1462,1256,1286,1342,1528,1704,1876,1918,1938,1748,1278,1148,1034,1009,1344,1448,1340,1546,1598,945,625,968,869,609,670,803,910,1266,1398,1270,1234,952,1112,1554,1296,1092,982,954,1264,1240,1128,1296,1178,844,1138,1470,1296,928,623,486,800,807,853,857,849,762,626,568,708,1196,1566,1572,1310,987,511,387,408,443,533,531,549,663,803,917,1054,1254,974,1166,1476,1256,1350,1498,1170,931,857,765,886,644,475,558,798,1310,995,1204,896,447,563,1054,950,771,1232,1300,1108,688,747,765,915,943,557,454,691,1060,1346,1206,905,882,963,1106,669,837,1218,1394,1368,1322,1216,1124,1234,1282,942,792,1236,1424,1092,1104,880,946,807,988,758,429,628,827,743,902,1482,1532,1444,1304,1992,2286,1970,1498,918,618,918,1194,1112,1236,1132,1162,1356,1250,1284,1210,1322,1424,1312,1174,1021,1018,1170,1380,1490,1404,1952,1726,1314,1226,1358,1368,1282,1236,1300,1270,1138,1114,1388,1530,1100,989,1090,1258,1172,1144,1432,1416,1398,1572,1448,1328,1288,1302,1306,1196,928,749,892,1136,932,694,822,891,1056,1118,1406,1504,1512,1324,1212,1224,1194,1116,1120,1140,1005,636,948,1318,1122,1322,548,366,326,258,269,298,328,320,279,316,325,287,283,350,434,518,565,905,989,591,379,335,404,678,877,911,1092,1082,1074,1536,1324,1248,1668,1412,1346,1272,916,1214,1532,1286,854,691,1220,1472,1614,1410,852,547,596,596,426,389,473,533,475,472,341,256,291,332,431,580,771,1144,1152,554,462,448,414,424,462,395,404,477,428,433,480,836,1138,781,781,1082,932,1036,1354,1036,1174,1484,1446,1190,1382,1308,957,1064,1302,1176,1028,736,714,534,466,659,564,477,860,1238,1316,1196,1338,1610,981,504,360,368,916,1108,1168,1210,1190,1218,1286,1220,960,1248,1374,1388,1354,1414,1290,1636,1532,1272,1088,975,1018,1148,1322,940,542,542,1070,1244,1238,761,1066,1222,1078,1007,933,1436,1820,1394,1080,1234,1228,1260,1264,865,879,1116,1166,1019,1064,1400,1374,968,1015,658,1122,1332,1202,1052,1174,1182,886,1064,1208,1064,1009,793,691,770,763,701,684,605,553,510,531,546,486,479,516,585,634,620,1038,1242,1284,1280,856,892,1072,993,1068,999,608,388,411,402,544,769,475,468,404,546,698,1136,1338,1046,916,875,938,1190,892,601,922,1228,1324,1156,1166,1208,1240,1250,948,570,453,463,490,894,798,848,962,1298,1194,1104,1314,1478,1438,1322,1488,1400,1274,1168,1088,1019,929,942,1158,899,755,1072,1410,1462,1572,1274,1488,1324,980,1084,1136,1132,1154,996,1018,1374,1254,1436,1570,1606,1642,1064,1094,1178,1120,1344,1304,1188,1210,1266,1322,1388,1090,1158,1358,1250,1150,1104,1052,1044,839,940,1174,1152,1038,1356,1124,1058,849,813,630,1136,1132,971,910,749,804,807,926,849,600,419,385,385,416,410,482,493,409,350,330,402,537,498,373,354,686,824,749,630,614,645,703,817,832,472,415,511,702,1110,1484,1432,1116,714,691,954,1238,1556,1744,1572,1768,1562,1694,1750,1696,1426],[1240,1126,881,674,784,637,582,1372,1238,818,797,808,691,375,399,438,483,717,601,934,1282,1146,877,765,1013,1424,1518,1966,1980,1614,972,542,501,516,486,878,1120,664,397,458,673,682,383,336,406,572,821,1472,1206,554,392,417,437,483,451,425,439,547,808,910,921,877,757,681,560,451,456,402,428,453,461,430,449,494,464,400,400,409,410,421,430,436,405,420,399,362,373,424,405,320,344,343,342,338,305,320,336,409,475,468,363,387,372,333,511,605,516,642,801,638,374,299,256,340,316,390,547,484,394,458,424,399,411,644,1030,810,709,1366,1434,1418,1094,1192,1034,565,447,585,686,653,926,712,472,697,948,942,1028,1216,1322,1434,1350,1184,1382,1388,1164,863,1146,1154,995,583,392,404,367,331,354,404,393,569,1162,1354,1436,1302,876,1152,1488,1694,1952,2024,1642,1192,1288,1036,925,915,991,1130,1016,1017,604,557,854,698,419,390,354,448,530,695,836,691,699,770,594,666,633,449,436,411,408,433,365,347,359,395,637,677,564,591,509,414,480,670,675,728,741,616,537,753,838,1092,1118,1160,1098,974,767,885,1090,775,721,1176,992,781,688,462,489,831,984,698,496,463,438,589,1036,1226,1198,1156,1222,1268,1136,1068,917,872,994,965,1398,1940,1750,1508,1694,1426,961,727,706,950,1308,1246,1082,1078,856,625,320,324,297,316,316,297,299,318,332,415,859,1116,934,826,558,556,1054,1194,949,791,739,902,799,675,830,1032,1288,1015,753,846,990,681,521,472,401,434,389,565,932,800,397,291,258,399,393,453,440,594,896,1054,988,754,579,880,1126,1064,699,477,603,713,732,905,1500,1198,1032,1260,1344,1392,1448,1598,1608,1454,1334,1474,1378,1142,1244,893,615,1030,1252,1180,1320,1344,1106,938,1136,1252,1366,1396,1284,1234,796,827,904,967,993,926,1230,1158,1296,1474,1536,1708,1526,1404,1226,1130,1208,1036,998,1366,1388,1490,1196,1146,1112,991,952,839,728,868,945,807,750,1019,1318,1238,1110,660,598,517,908,668,586,827,1018,1146,1390,1676,1446,1230,1122,1196,1220,1316,1404,1194,905,869,1013,801,498,440,429,392,380,603,755,935,863,760,1009,1002,953,1015,854,681,449,516,619,362,334,326,286,289,303,292,446,792,940,1136,933,637,353,318,313,297,331,313,354,388,363,324,294,312,320,345,408,408,402,406,582,1042,831,487,511,583,603,669,559,461,648,839,802,1168,1180,1278,1186,805,872,1144,1224,1166,1236,1344,1322,1258,887,872,1028,1138,1274,1318,1164,883,832,719,967,1032,688,1062,751,605,946,907,642,788,1252,1426,956,661,651,1044,1230,1316,1236,1272,1166,1096,1344,1248,1316,1328,1062,1216,1110,684,1318,1368,1222,1386,1128,1078,1208,1402,1422,1222,1098,1102,1130,1176,1424,1372,1484,1350,1270,1288,1276,1174,1074,1072,1136,1242,880,549,586,937,934,805,786,1116,1678,1202,1009,1258,955,525,426,708,1162,1048,958,1168,1288,1172,1324,1346,1296,1190,1178,1290,1494,1228,1142,1390,1260,1412,1010,685,734,1044,981,1003,1186,1232,975,684,672,692,919,1009,1110,1184,1194,1148,1118,1250,1376,1290,1272,1382,1470,1548,1416,1592,1620,1498,1858,1660,1266,921,955,1392,1474,1474,1206,1080,1326,1418,1296,1546,1600,978,744,868,980,1104,1140,930,932,1336,867,750,1088,1390,1534,1538,1446,1550,1726,1524,1432,1438,1218,1272,1214,1460,1166,1126,1074,1152,1174,1142,1084,1116,1194,1216,1180,1060,1328,2342,1664,1182,1200,1288,1130,1084,1376,1382,1216,1314,1520,1398,1286,1166,846,1056,1200,1266,1256,1094,1005,1046,1140,1144,1172,1174,926,1136,1232,1254,1302,1268,1182,1158,1146,1196,1190,1254,1374,1260,1316,1426,1254,1364,1576,1438,1238,1136,891,1036,1158,1054,794,825,855,1314,1300,1140,1202,1188,1250,1302,1288,1214,1280,1344,1094,620,365,1592,2120,1784,1472,1362,1226,1650,1744,1232,1478,1384,1076,670,464,365,359,445,725,655,546,657,836,1122,1090,630,618,515,551,971,1488,1986,1220,541,433,328,272,418,856,510,390,371,454,350,277,363,745,1100,647,305,455,744,783,562,729,637,981,1058,927,695,617,932,874,536,1210,1942,1538,1234,979,698,486,415,506,448,438,603,483,249,514,923,780,380,404,536,859,1308,1758,1360,826,1086,1296,1522,1558,1324,1188,851,984,886,1146,976,916,694,976,1090,841,919,695,719,865,761,616,603,509,401,338,386,457,450,606,727,443,487,803,603,365,328,319,319,291,281,274,283,257,299,491,832,1252,1396,1172,859,805,727,904,905,902,1100,1290,1218,978,702,959,963,514,444,477,462,444,371,419,680,1006,1266,1240,944,586,837,823,860,1548,1312,1120,1246,1720,2144,1578,659,374,486,698,585,519,604,576,437,425,545,748,899,1050,1166,1004,872,941,1170,1644,1658,1106,659,1274,2656,2968,2038,1110,561,938,1144,823,1116,1296,1216,1146,1588,2280,2024,1846,2076,1584,1034,695,567,845,860,553,664,559,384,375,1004,1754,1852,1924,2050,2122,2120,2050,1722,1138,666,612,666,662,703,715,1130,1624,1138,628,307,265,1114,1744,1662,1582,1001,519,523,1338,1514,1040,943,895,917,524,493,390,379,440,396,720,1180,1046,677,620,868,1260,1208,855,512,870,2532,1904,1094,1001,611,368,663,1110,1220,807,747,1880,2868,3112,2284,1072,1013,1454,1516,1430,1476,1414,1470,1372,1440,1792,1512,1230,932,811,852,819,854,825,676,613,708,890,749,640,561,539,652,614,569,483,486,574,674,886,984,776,671,729,792,766,754,739,694,537,496,761,1238,1388,1402,1030,503,478,544,556,594,704,844,1124,999,778,566,932,1340,1202,1332,1322,1582,1754,1908,1964,2040,1910,1486,1246,949,916,1366,1324,1382,1554,1606,928,605,828,699,582,713,758,759,1134,1378,1246,1224,890,906,1434,1356,960,895,1056,1110,929,703,805,908,954,1224,1462,1432,1258,694,348,581,843,1042,1348,1422,985,626,602,479,563,910,1548,1346,767,445,392,484,750,867,648,720,863,830,619,689,1104,1084,1180,1182,985,932,959,979,1494,1618,1444,1226,669,430,686,839,1212,1258,1132,761,611,1070,1506,1266,1256,1416,1466,1160,752,926,1118,871,570,453,443,638,1005,960,708,533,800,894,776,661,641,916,1170,1410,1600,1416,1230,1482,1500,1352,1024,1224,1378,1198,1284,1314,1368,1142,702,444,314,438,753,1064,1038,1448,1186,1232,1152,1704,2064,1930,1438,772,492,707,1108,1140,1138,1120,1246,1344,1110,1040,1110,1376,1522,1448,1214,1162,1322,1600,1556,1772,1854,1894,1666,1236,1212,1422,1440,1214,945,1236,1344,1300,1194,1302,1382,1034,1206,1270,1080,1136,1438,1554,1498,1544,1470,1408,1428,1336,1184,972,953,1054,1198,1276,1178,871,594,544,854,1120,1110,1208,1250,1534,1598,1310,1162,980,886,1086,1224,1154,792,580,1036,1316,1384,717,347,279,257,273,300,375,431,422,589,595,342,495,536,589,834,895,1136,1272,745,354,380,586,763,995,828,774,844,1114,1858,1760,1574,1458,1144,1440,1438,972,1180,1400,1076,747,805,938,850,820,785,756,706,657,684,459,419,419,370,283,290,243,237,279,264,425,648,758,1000,769,460,366,442,497,521,537,480,424,466,486,481,480,483,426,514,677,908,833,883,1286,1342,1038,1062,1072,727,1100,1330,1228,908,1002,940,977,886,689,594,428,507,817,960,692,851,928,1058,1100,777,620,468,423,337,820,1350,1344,1154,1298,1316,1404,1428,899,910,1340,1904,1646,1006,991,1394,1388,1322,1228,1005,927,1090,1358,1346,766,789,1336,1806,1362,794,1122,1368,1322,1224,1208,1696,1932,1742,1632,1388,1270,1306,1380,1138,921,673,572,769,1156,1116,757,658,1222,1202,1166,1202,1278,1256,1150,794,624,1080,1300,1228,1278,1116,623,569,626,675,694,599,563,602,523,419,368,387,442,532,616,823,943,1210,1156,968,727,728,914,1108,759,507,396,350,337,394,461,425,326,358,350,296,434,739,782,502,451,442,604,943,762,695,781,1124,1254,1168,1114,1188,1156,878,686,436,536,544,526,680,625,873,1316,1344,871,858,926,1034,1184,1602,1572,1600,1506,1376,1474,1738,1456,1232,1112,580,534,1008,1310,1174,1146,1074,1152,1206,1122,1074,1068,1238,1484,1254,1160,1418,1448,1924,1706,1398,1370,852,957,1130,1272,1480,1338,1338,1318,1612,1508,858,597,835,1200,1134,944,808,780,709,682,722,803,956,1108,1440,916,667,880,902,604,525,527,827,1046,1138,1030,1132,1312,946,748,581,429,427,530,509,438,431,386,351,330,345,442,498,391,307,476,509,434,410,448,531,613,671,644,417,508,792,863,1114,1304,1300,1032,740,706,1068,1338,1430,1450,1724,1794,1578,1920,1786,1524,1508],[1278,1470,1462,1194,949,570,416,401,469,469,333,451,391,634,684,594,879,1122,783,953,1348,1188,921,574,657,1234,1312,1646,1646,1350,1064,955,925,775,749,1138,828,446,408,385,452,791,539,345,304,453,610,918,943,604,411,411,413,435,423,416,442,521,894,978,925,885,814,798,697,627,628,490,505,536,501,430,453,481,448,390,349,341,351,357,381,448,487,479,419,410,416,443,446,424,395,369,349,373,360,339,354,339,455,416,329,372,382,335,468,624,609,797,1015,747,374,238,202,228,359,548,607,471,553,881,741,477,462,517,607,620,568,1108,1124,1136,1072,802,515,409,387,464,409,661,1021,653,518,986,792,449,485,883,1350,1462,1594,1472,1456,1262,1036,851,827,834,1064,875,648,631,631,680,784,803,789,864,1276,1618,1682,1408,1102,1300,1520,1546,1628,1636,1490,1264,1360,1138,1130,897,1018,1634,1664,1158,700,778,957,592,403,377,456,532,469,603,784,937,1040,902,621,496,599,487,477,438,353,410,388,350,347,364,601,574,556,571,501,416,557,973,1072,1044,756,580,514,500,404,542,805,893,716,822,927,1262,1332,992,540,675,849,1284,1148,647,710,1228,1124,425,390,415,400,514,905,1238,1264,1198,1184,1048,857,1017,1046,1114,1184,1124,1328,1666,1694,1824,1868,1844,1736,1320,1058,1250,1428,1222,990,980,980,886,445,329,272,308,338,327,369,441,404,744,1352,1286,1066,965,921,858,930,1019,1274,1492,1370,1302,1148,960,832,1130,1238,1098,1056,1448,1028,444,343,332,313,309,251,452,791,928,608,437,374,608,773,904,845,724,896,1070,943,627,496,630,766,939,552,568,664,857,820,1086,1392,1290,1390,1602,1732,1514,1366,1158,1224,857,541,955,1288,1256,1282,1126,926,1068,1178,1120,1292,1406,1114,801,908,930,864,799,1160,1074,641,825,1019,996,1038,1332,1620,1416,1250,1282,1204,1136,1260,1426,1344,1106,1116,1078,847,1250,1412,1548,1394,1074,878,725,586,575,672,747,956,1064,936,739,983,1048,1228,839,653,505,383,441,637,841,927,848,994,1256,1492,1448,1296,1202,1248,1434,1548,1278,938,803,654,446,436,437,565,548,451,734,1158,933,882,1044,924,626,703,1004,1122,1074,719,738,874,497,316,314,281,287,308,289,351,345,460,569,371,528,448,371,353,394,401,341,354,347,329,348,353,317,342,402,471,404,343,326,336,794,1028,684,418,460,464,581,505,447,667,945,1026,849,803,1078,918,573,696,1192,1356,1240,1024,1626,1630,1362,1016,1015,1162,1346,1332,1664,1620,803,744,825,1058,1300,859,930,760,865,1106,821,666,1044,1334,1226,747,641,691,910,993,1188,1130,984,786,753,919,1086,1304,1340,1122,1186,1140,956,1354,1376,1362,1354,1340,1306,1108,1018,973,1013,907,1028,1190,977,1058,1184,1274,1348,1436,1282,1174,1262,1344,1310,1146,1204,854,544,1036,1880,1548,971,969,1578,1758,1090,1078,930,514,327,306,404,540,694,720,886,980,1052,1138,1278,1382,1398,1344,1352,1406,1494,1570,1538,1324,1124,1128,981,955,983,727,839,936,1254,991,752,819,1062,1186,883,830,1074,1166,1122,1146,1262,1772,1622,1044,1064,1224,1372,1682,1814,1688,1724,1796,1564,1292,908,850,1168,1192,1266,1428,1276,1192,1220,1384,1816,1328,803,896,999,1158,1372,1360,1230,919,1188,951,1023,1136,1424,1470,1238,1306,1444,1518,1354,1404,1264,1222,1306,1272,1360,1146,1046,1056,1136,1216,1204,1222,1226,1164,1308,1210,1172,1178,1282,1192,1218,1202,1086,1074,1326,1464,1230,1302,1526,1726,1472,1664,1560,1376,1344,1258,1400,1176,1040,1068,1186,1074,882,1096,1118,1190,1354,1292,1302,1248,1084,1126,1350,1212,1106,1080,1100,1028,925,938,1160,1234,1104,1494,1454,1174,1412,1304,1198,1015,1088,863,962,1012,1334,1400,1364,1158,1086,1198,1488,1302,1226,1412,1170,683,384,627,1152,1446,1562,1594,1338,1330,2098,2040,1280,946,934,1344,1180,749,460,384,419,453,533,678,825,1418,1948,1958,1146,561,452,554,767,774,772,667,706,720,434,238,349,811,576,336,520,916,716,327,339,742,1012,571,410,689,1018,899,676,914,1124,1398,1348,1102,662,425,526,601,836,1408,1540,1246,1122,1156,965,807,623,466,354,336,416,517,418,403,388,468,449,393,476,532,1034,1532,1228,993,943,1040,1416,1294,943,901,1164,1450,954,932,960,849,652,749,959,906,850,681,770,1013,912,548,537,445,436,590,570,409,404,557,711,358,329,445,451,363,500,534,461,327,266,268,315,273,287,361,529,859,1214,1240,1220,1100,1007,888,1016,1248,1324,1368,1376,1038,948,1274,788,492,502,572,550,451,427,469,424,419,667,897,1054,998,740,643,1158,2436,2978,2150,1318,1542,1686,818,376,274,307,514,660,699,846,959,1078,1024,967,879,746,714,1032,804,1244,1630,2106,2396,1948,1470,2074,2714,2570,2684,2508,1444,533,703,1250,965,1194,1718,1978,1874,1636,1662,1776,1754,2008,1176,314,255,329,628,681,583,828,647,385,399,871,1662,1916,1956,2170,2222,2072,1974,1364,883,518,632,916,830,677,774,1508,1660,960,698,456,339,1568,1792,1214,1262,1184,943,1038,1404,1266,1114,1258,1262,1023,466,341,336,435,539,469,576,991,1198,1042,1036,1198,1332,836,586,655,877,1354,1294,982,644,368,499,1020,1390,1270,848,732,1598,1786,1906,1716,976,1008,1490,1432,1200,1108,1148,1250,1120,1224,1154,1016,921,835,899,883,863,940,794,646,606,769,950,782,648,497,503,654,631,614,614,550,619,1034,1196,936,763,645,546,533,479,515,497,441,494,598,687,780,932,1270,763,441,436,503,553,512,371,437,546,748,805,566,963,1220,1082,1346,1632,1726,1856,2012,2030,2044,1846,1572,1788,1470,894,1096,1270,1506,1570,1582,888,542,565,615,652,500,585,994,1240,1292,1338,1426,982,828,1314,1444,1100,929,905,650,438,475,678,634,1058,1258,1242,1170,991,719,669,843,853,814,1248,1524,1346,752,983,987,867,1052,1366,1202,728,459,685,849,906,775,677,581,546,562,432,472,833,1036,1102,1008,774,786,639,624,941,937,838,953,713,536,695,858,905,1158,1278,811,1044,1466,1410,1390,1360,1192,1036,975,1050,1192,974,505,429,422,482,845,1036,766,540,533,891,870,679,645,591,1028,1560,1600,1556,1244,1180,1394,1500,1594,1494,1374,1466,1380,1166,1158,1296,936,558,434,320,385,612,784,709,1114,850,683,689,1068,1482,1202,882,534,423,498,852,897,956,1152,1122,742,672,1074,1420,1410,1478,1440,1500,1542,1364,1426,1474,1708,1426,1042,1188,1224,1188,1110,1204,1216,1048,1216,1366,1414,1352,1482,1360,995,935,979,820,886,1356,1438,1238,1154,1288,1272,1218,1266,1324,1214,1260,1360,1346,1394,1230,847,789,888,1278,1034,943,1072,1404,1854,1918,1588,1144,822,927,1118,1140,1288,1172,952,1248,1340,1162,771,420,301,321,386,601,707,531,563,849,841,491,523,687,722,1088,1322,1208,1062,758,491,529,779,881,856,779,730,856,1330,1716,1544,1510,1348,1224,1668,1528,947,819,824,843,678,516,458,421,531,834,1146,863,545,908,961,524,604,606,366,356,303,293,268,278,366,568,867,739,576,479,435,379,474,499,426,426,462,613,514,434,477,537,493,399,354,386,356,712,1142,1106,650,705,658,870,1330,1518,1442,968,691,782,1126,994,691,600,968,1230,1366,1358,1104,1100,988,1086,916,618,508,399,404,584,794,1118,1484,1384,1270,1086,990,967,800,826,1196,1708,1606,1072,912,1206,1532,1532,1562,1001,933,1058,1098,1170,948,1210,1488,1410,1130,1202,1108,1040,1216,1170,1334,1692,1824,1754,1604,1394,1364,1338,1294,1310,1158,793,634,653,712,1020,1102,910,1248,1570,1468,1300,1280,1202,943,815,488,664,1214,1248,1254,1300,926,642,598,546,573,605,625,690,655,584,442,377,411,509,558,655,746,930,911,619,459,401,610,814,496,422,293,257,230,244,259,304,313,294,321,440,449,553,879,600,478,402,427,609,549,480,675,1028,1174,1250,1288,1482,1152,796,693,689,662,501,462,426,464,666,1060,1082,723,1034,1126,872,1186,1250,1454,1754,1578,1310,1366,1450,1274,1160,1336,1156,788,769,816,794,938,1174,1414,1452,1466,1396,1136,1378,1476,1198,1292,1168,877,1250,1282,1172,1288,1102,979,1240,1360,1324,1376,1450,1436,1246,1202,883,722,745,1076,1370,1152,824,669,519,527,528,565,653,1268,1476,1148,858,1050,1156,814,430,541,982,935,843,843,1108,946,753,847,735,487,469,566,581,646,674,442,366,329,329,397,456,417,316,282,303,292,320,415,515,503,658,479,433,479,631,755,912,865,860,834,853,943,1102,1382,1266,1348,1588,1680,1690,1812,1472,951,1034],[1274,1300,1310,1414,1116,487,338,330,332,291,269,301,340,985,1112,858,1180,1390,976,929,1328,1246,962,779,641,724,941,1434,1416,1318,1430,1354,1366,1188,1104,1068,558,388,430,401,349,608,619,451,336,429,572,780,954,874,644,399,364,399,396,406,449,582,961,1018,897,858,841,850,854,715,707,640,641,641,577,543,507,426,351,337,344,355,361,364,369,333,398,456,448,446,421,434,469,422,393,405,400,446,387,325,336,341,343,348,389,392,371,335,464,653,735,930,928,653,516,332,221,217,370,591,747,882,690,863,641,500,611,448,415,608,688,1094,1294,1104,1066,1022,631,365,354,352,361,994,964,540,720,824,494,454,492,899,1128,769,882,890,955,940,1090,1090,1030,1160,1274,1146,1066,1198,1272,1166,1062,998,1038,1240,1282,1202,1160,1218,1260,1306,1134,1112,1350,1464,1378,1308,1372,1246,1310,1350,1400,1468,1418,1208,783,678,766,404,457,494,535,642,594,550,729,985,1013,1012,708,529,590,543,484,406,329,372,372,373,347,517,708,451,435,466,412,355,462,816,1130,990,661,506,511,467,446,481,583,573,429,530,996,1316,1146,1098,866,833,949,999,859,745,839,966,920,604,482,451,396,672,923,1034,1180,1200,1152,1064,1007,1062,935,1250,1292,1212,1116,1120,1040,1020,1452,1850,1670,1420,1152,1332,1218,1278,1174,1172,962,794,468,305,283,368,419,372,476,665,463,627,1152,1180,1098,1021,1168,1050,748,839,1416,1530,1224,1288,1332,1272,811,1100,1460,1060,923,1244,808,382,332,367,455,623,475,398,473,959,1070,863,460,518,873,987,931,902,1278,1404,1150,795,875,1018,948,1106,1176,1272,1356,1446,1284,1242,1358,1312,1154,1404,1358,825,816,786,1050,1042,799,807,987,1010,1210,1250,969,859,1066,1158,1146,1132,930,970,1006,786,726,896,1156,1072,738,643,1006,1046,1302,1514,1432,1058,881,830,945,1078,896,1122,1098,956,1168,1100,531,811,1114,1296,1142,712,452,409,451,532,655,620,803,952,828,691,672,1066,1306,971,769,715,508,418,479,556,651,740,882,1180,1484,1482,1444,937,1050,1466,1350,1294,1302,804,642,469,432,408,894,1000,824,923,1346,1024,650,680,541,394,474,970,1298,1296,1072,1354,1400,778,310,313,301,287,257,213,266,284,362,304,275,413,439,445,401,349,330,334,339,305,357,352,306,336,366,420,454,420,394,354,298,481,891,989,532,473,489,516,538,779,816,805,1204,1206,1036,1144,929,644,906,1218,913,661,444,877,1098,1152,1132,1126,1328,1464,1424,1368,1038,779,1174,1190,875,874,703,851,1028,919,955,758,580,913,1362,1354,1013,863,1001,1044,1002,1170,1198,1110,1036,880,1028,1296,1404,1318,1258,1032,1064,1238,1302,1182,1088,1194,1194,1078,912,979,968,749,846,1194,1190,1228,1204,1180,1230,1246,1398,1376,1432,1476,1476,1328,1080,940,617,873,1470,1822,1612,1190,1072,1206,1086,958,949,559,362,319,308,339,653,1084,769,413,691,1134,1176,1264,1420,1420,1444,1346,1320,1490,1598,1604,1434,1150,1138,1246,1048,812,832,1023,1140,1140,1194,1040,807,738,957,997,1190,1544,1312,1172,1226,1186,1496,1278,771,663,929,1230,1532,1738,1678,1914,2022,1690,1450,1170,1016,1174,1148,1168,1134,1132,1282,1160,1434,1618,1056,982,968,1020,1288,1570,1392,1216,830,989,1104,1056,1072,1202,1310,1304,1482,1560,1256,927,1202,1256,1298,1336,1454,1472,1114,999,1074,1106,1194,1130,1322,1236,1156,965,850,1056,1102,1082,1158,1244,1230,1120,1244,1290,1518,1290,1350,1386,1296,1312,1584,1562,1562,1316,1316,1468,1382,1344,1332,1282,969,970,1128,1136,1230,1282,1300,1256,1258,1274,1224,1278,1104,1032,1048,1228,1090,1042,1300,1866,1710,1184,1232,1210,1486,1594,1560,1398,1258,1366,963,1202,1462,1172,1272,1242,919,763,1202,1264,1068,1294,1276,749,349,670,1152,1276,1198,1280,1264,896,1522,2260,1820,793,336,566,1170,1450,1310,866,434,377,463,860,1017,1458,2088,2144,1678,865,433,509,725,748,532,523,366,557,997,876,371,323,536,469,302,453,1016,1030,473,332,524,802,645,594,1023,1166,1158,1228,1180,1212,1376,1434,1108,569,434,514,663,1254,1510,1164,1076,1011,1274,1058,553,628,656,631,795,805,719,618,489,465,573,414,598,880,677,758,944,1172,1636,923,823,771,795,1084,1542,1430,1226,891,982,1026,823,763,918,1158,1310,1388,924,1104,1418,1354,800,441,313,601,1278,1324,741,599,818,977,550,358,328,515,692,645,603,434,333,369,346,327,288,317,316,345,478,780,1064,1246,1316,1300,1212,1098,1052,1388,1340,1300,1064,911,895,643,525,591,607,578,488,425,465,448,369,370,433,651,1042,1186,1264,1194,1552,2270,1978,1226,1118,975,538,523,578,613,835,1084,1068,1062,1166,1002,956,999,825,714,637,901,1096,2868,3426,3146,2502,1448,1226,1820,1596,1084,1692,2254,1794,1008,908,1268,1108,1600,1888,1372,1224,1023,585,767,912,1340,965,442,336,298,299,280,343,450,438,363,339,424,944,1576,1838,2072,2010,2028,1766,1050,629,374,548,854,835,747,1023,1654,1574,962,563,398,584,1420,1560,1186,1021,1130,1434,1260,974,1092,1298,1454,1288,755,393,350,477,603,466,401,345,571,1022,1116,1458,1580,1218,656,536,776,1001,1026,1094,1278,988,700,769,1198,1374,1234,905,1246,1586,1232,1362,1328,997,969,1242,1362,1002,606,798,1220,1164,1274,1274,1002,864,836,879,858,890,816,664,571,559,825,878,767,677,522,475,540,623,675,678,747,976,1384,1196,848,722,622,486,467,507,539,444,496,838,905,382,376,860,1230,709,503,469,556,620,512,360,317,469,560,463,440,792,736,515,1148,1780,1692,1820,2168,2192,2144,1854,1566,2048,1598,1120,1778,1886,1544,1572,1444,761,525,733,1192,993,464,588,1200,1356,1390,1368,1312,1016,932,1150,1422,1312,1007,1222,848,535,429,619,758,1180,1258,1210,1406,1072,637,617,821,955,1064,927,1272,1230,964,1066,981,769,703,838,1058,803,435,750,861,626,415,588,664,546,640,576,670,1054,1056,977,922,639,483,419,524,908,1072,1008,1048,985,971,1016,865,622,732,1288,1206,1260,1344,1180,1024,1064,958,851,1238,1036,756,708,505,480,527,684,1162,1204,1034,865,665,715,666,710,719,725,1308,1656,1480,1470,1254,1390,1526,1632,1592,1440,1160,1112,1074,932,1320,1590,1256,1156,822,387,297,477,680,655,833,886,676,485,565,706,456,361,360,421,416,554,512,705,896,843,848,1040,1320,1330,1418,1544,1820,1576,1534,1488,1238,1286,1262,825,738,974,784,895,1294,1250,1224,1280,1216,1400,1478,1472,1452,1268,1072,760,639,797,1030,1126,1116,953,1166,1274,1288,1314,1222,1198,1458,1624,1638,1376,1368,1130,896,1052,1334,1007,935,1080,1084,1288,1514,1474,1410,1146,722,969,1086,1080,1028,758,796,1058,1034,771,588,471,308,381,683,795,744,554,421,594,717,599,1158,1852,1364,1314,1316,1224,857,572,573,692,1262,1626,1256,957,1256,1378,1332,1446,1378,1572,1494,1560,1844,1440,883,549,484,518,414,370,282,499,1066,1504,1064,847,447,451,910,966,1106,1142,689,522,341,341,281,272,380,369,723,680,491,414,483,516,532,562,328,312,427,509,422,430,415,383,399,431,341,265,328,334,523,796,771,467,510,905,1136,1106,821,549,565,767,631,539,662,1064,1758,1442,1230,1278,1244,1156,1270,1046,628,692,929,581,535,852,850,1426,1756,1688,1412,1186,1234,1050,1124,1108,1162,1376,1310,1022,965,988,1422,1660,1470,1194,1028,1018,1136,1056,1094,1308,1294,1042,1268,1562,1202,1150,1086,991,1422,1582,1504,1164,1016,1240,1234,1154,1324,1360,1366,1294,1344,1106,908,1132,1302,1072,1288,1404,1422,1478,1144,880,891,1020,758,654,1194,1472,1444,1470,1112,675,538,457,507,706,727,731,634,595,480,394,376,461,524,628,754,836,775,479,433,344,317,401,440,360,292,244,232,253,302,354,372,404,621,746,615,708,599,399,462,428,401,449,493,387,495,766,1009,1166,1544,1570,1290,891,713,961,789,537,471,408,498,831,1052,1106,822,797,1014,1288,1394,850,933,1578,1618,1524,1608,1570,1246,1228,1388,1216,997,796,921,883,772,1084,1494,1490,1376,1214,1026,1410,1412,1716,1614,1282,1194,1318,1258,1322,1628,1492,980,1044,1328,1344,1344,1334,1508,1236,1282,1240,940,797,974,1346,1396,1398,1050,645,567,607,644,575,777,1074,1236,1160,1000,1066,956,695,714,1130,908,482,492,549,573,703,710,468,418,496,570,621,830,820,462,342,339,420,489,510,476,351,239,238,278,409,499,516,447,497,504,498,492,656,1009,1038,987,1086,1164,1482,1044,669,1180,1478,1428,1510,1632,1774,1734,1140,656,1030],[1136,1076,1104,1272,1076,497,340,258,246,293,292,255,311,1006,1488,1286,1454,1744,1834,1270,1534,1456,1076,1360,1008,671,896,1410,1678,1730,1662,1646,1510,1140,1216,733,438,390,390,393,356,449,606,607,356,383,479,632,797,1080,858,494,390,408,435,466,359,491,740,651,713,673,607,558,575,518,529,502,494,545,589,519,425,358,343,401,467,451,406,390,408,377,412,453,444,440,439,448,425,426,433,398,386,400,356,310,299,325,324,333,369,346,369,330,548,925,926,863,764,744,555,358,277,252,386,664,884,1166,797,495,446,442,432,375,344,526,802,1004,1082,960,1013,1042,728,448,377,425,853,1700,1644,1021,754,525,475,465,563,987,758,507,486,500,639,616,512,516,469,538,726,778,869,849,531,476,489,623,950,1040,1002,1100,1238,1302,1268,1342,1170,1150,1410,1528,1388,1466,1350,824,1090,1634,1406,1394,1410,1422,1060,1084,1220,1020,927,674,638,664,556,663,867,593,486,757,577,590,618,493,423,405,365,342,364,423,394,637,885,433,363,391,357,328,521,877,840,681,605,419,455,409,434,455,476,446,379,833,1102,930,880,1224,1180,769,828,741,713,788,1078,1072,922,891,689,518,347,675,1022,1042,1074,1184,1118,1152,1122,1044,1026,1098,1060,1110,1188,1040,871,959,1532,1774,1280,1038,961,1170,1138,1388,1586,1438,1114,811,481,338,312,389,448,421,399,398,372,392,760,1011,984,1034,1013,736,787,1130,1470,1290,1110,1498,1666,1496,1116,1290,1564,1274,1236,1140,799,714,409,438,597,827,826,505,615,1216,1494,1218,677,387,375,491,650,699,927,1120,1292,1410,1522,1552,1466,1262,1132,1392,1448,1144,908,617,718,887,689,983,954,808,607,836,825,852,1046,792,825,810,1102,1246,802,681,1078,1324,1236,1100,884,610,487,689,936,1152,1102,1222,967,619,655,981,1246,1512,1490,1176,830,484,751,1104,799,806,865,615,511,392,405,577,788,1062,1194,1072,828,469,595,772,797,513,457,832,983,1106,1284,1332,1156,986,922,1088,595,406,409,439,568,550,788,1194,1168,1338,1366,1240,1508,1322,1288,1698,1490,800,645,501,478,505,805,1378,1466,1074,937,645,474,500,569,725,681,850,1050,990,1348,1904,1726,865,343,321,287,234,259,280,302,302,334,330,316,319,409,499,372,306,289,321,370,346,350,261,254,309,332,401,451,427,390,362,334,339,579,1094,776,526,426,352,432,932,1030,962,1006,945,966,1186,955,989,874,963,873,620,402,431,626,891,1034,1200,1256,1208,1198,1244,1298,922,1120,1156,951,788,706,884,1066,809,804,511,604,1094,963,1406,1422,1346,1070,740,765,988,1246,1170,866,772,945,1018,1262,1268,1268,919,907,1178,1268,1094,1172,1396,1044,896,883,910,883,631,635,788,1094,1344,1282,1222,1188,1208,1382,1484,1432,1432,1520,1466,1338,1038,808,1100,1488,1608,1294,852,672,1064,912,727,585,465,395,303,292,325,591,797,669,558,816,1088,1288,1458,1362,1264,1282,1296,1400,1506,1494,1428,1548,1246,1208,1202,1070,1072,1196,1186,1178,1272,1372,1306,1206,1116,1005,893,1096,1134,1110,1122,952,1142,949,850,667,559,925,1310,1728,1682,1638,2046,1880,1806,1716,1626,1694,1512,1384,1228,1116,1244,1342,1478,1282,1017,1208,1268,996,1044,1216,1412,1590,1472,1046,1066,1210,1114,1054,1078,1214,1164,1244,1188,1003,822,1086,1304,1392,1596,2074,1726,1096,1014,1144,1256,1268,1116,1110,1056,946,914,1028,1146,1210,1246,1240,1248,1122,1186,1416,1396,1536,1290,1278,1306,1324,1430,1476,1494,1494,1224,1504,1544,1428,1366,1384,1318,1150,1094,1104,1200,1278,1328,1350,1240,1166,1174,1088,1124,1017,772,1078,1208,1226,1438,1564,1846,1650,1110,956,1106,1602,1494,1366,1376,1368,1346,1108,1418,1648,1478,1388,1284,1122,1108,1286,1086,1102,1408,1296,703,585,1074,1388,1396,1274,1300,916,1466,2112,1842,1090,466,379,543,847,1088,1326,1272,816,429,494,1154,1300,1816,2174,1820,890,420,381,506,974,736,418,414,434,415,861,700,434,392,543,466,257,288,545,686,522,379,434,751,1116,1120,1240,1330,1282,1234,1166,1236,1464,1262,991,426,395,537,964,1056,661,669,905,1015,1140,878,577,589,554,569,1054,1334,882,701,604,581,584,423,854,1236,838,1000,1128,898,1350,1294,1594,1354,767,794,1152,1172,1136,1210,1436,1356,1070,659,572,779,1168,1154,846,1156,1338,1246,1056,730,284,522,1458,1458,891,628,919,1118,810,449,285,456,647,739,795,488,376,537,467,302,280,285,230,279,351,422,608,910,1130,1140,899,1021,1284,1248,983,1228,1134,602,483,546,581,659,621,440,444,494,515,521,529,407,298,430,760,1104,1370,1300,1186,1278,1138,1122,1252,1052,912,982,1036,955,968,841,658,869,1332,1288,1312,1138,1052,1250,1420,1126,1062,2000,2566,2396,1586,966,844,1242,909,1070,1448,1838,1854,1302,924,1100,1096,1068,994,601,565,942,647,392,912,1668,1182,532,332,299,333,302,243,269,334,357,303,283,397,814,1564,1964,1966,1914,1312,728,521,418,468,559,634,827,1272,1624,1266,679,345,229,519,1006,1388,1460,1476,1448,1368,1274,730,585,852,1042,1009,636,469,393,539,821,523,331,329,381,711,1076,1402,1180,617,502,814,999,1236,1160,1178,1636,1438,1376,1154,1354,1328,1124,1062,2094,2126,1432,1174,1044,735,852,1108,1148,1076,719,776,1038,1338,1440,1066,942,853,854,864,837,731,636,607,534,623,878,868,792,725,537,506,583,750,930,909,1044,1250,1424,1144,885,663,513,519,492,438,456,492,777,1178,973,469,543,1120,1014,658,579,498,571,547,472,402,432,633,592,652,537,691,965,918,1122,1314,1448,1864,2248,2322,2194,1744,1754,1946,1260,1050,1232,1074,954,1426,1278,667,682,805,957,733,608,720,1002,1026,948,905,935,1048,1154,1230,1432,1462,1078,1112,1005,739,614,753,813,1020,1230,1344,1358,1110,832,468,533,901,965,528,1044,1426,1388,949,1021,1314,620,698,997,813,593,407,374,366,332,520,691,624,560,571,1140,1584,1188,866,781,924,774,653,601,1044,1120,969,1388,1482,980,620,518,405,408,1016,1310,1376,1454,1450,1180,1050,1004,1282,1400,1150,1272,1009,645,492,993,1052,1294,1304,1034,943,761,579,626,869,887,730,1104,1392,1494,1648,1650,1570,1488,1404,1336,1302,1202,1180,1166,1082,1032,1124,1108,1282,948,551,581,755,841,706,896,1000,714,538,439,455,432,373,432,477,401,372,383,607,915,1122,1362,1306,1220,1326,1436,1642,2132,1742,1454,1308,1228,1168,965,597,570,671,550,591,933,993,1270,1412,1306,1308,1252,1394,1454,1194,1280,980,665,881,1130,982,949,918,1032,1108,1230,1238,1009,1068,1404,1432,1362,998,1168,1218,1274,1232,924,788,1084,1164,1160,1262,1372,1200,1152,1450,1030,748,641,666,601,605,684,991,1192,1010,580,550,690,722,849,735,504,382,374,512,748,850,1484,2410,1670,1198,791,1114,1011,640,532,832,1292,1386,1114,968,1354,1292,1068,1108,990,1242,1330,1352,1536,1332,727,429,379,242,624,967,395,532,1332,1558,1010,711,458,276,849,1266,1362,1418,717,277,280,266,266,255,444,415,405,661,653,323,383,432,464,738,522,396,424,414,415,412,360,312,285,298,281,321,372,271,393,480,849,1004,883,952,1166,860,429,391,458,631,542,401,519,1156,2022,1688,1102,1015,1252,1654,1454,1304,1042,794,828,419,634,1278,1344,1920,1822,1654,1594,1448,1220,1252,1256,1196,1384,1138,997,996,855,625,1104,1798,1680,1444,1162,1094,1104,1120,993,962,1060,1138,1110,1120,1172,1122,842,915,1190,1224,843,588,860,896,1208,1282,1416,1398,1460,1394,1360,1108,1196,1292,1124,1004,1262,1346,1404,1532,1220,948,905,992,722,755,1282,1540,1406,1136,818,622,584,719,598,727,659,656,587,571,595,512,412,392,451,579,659,689,651,464,455,448,480,467,421,386,316,253,246,234,271,340,426,586,758,831,673,955,948,767,704,383,372,581,769,604,811,915,1030,1224,1414,1388,1382,966,794,808,594,585,774,829,572,803,1030,1130,991,1084,1498,1900,1976,1516,1044,1526,1666,1750,1650,1490,1226,1314,1360,1126,943,905,810,870,1036,1176,1498,1478,1448,1292,1024,1042,1184,1476,1310,1136,1346,1506,1480,1498,1108,1023,872,954,1230,977,913,1030,1072,1011,1092,1116,937,977,1078,1200,1270,1234,831,607,702,943,920,692,749,859,991,925,960,921,995,805,625,860,965,965,987,533,495,675,698,434,422,534,619,581,667,542,336,321,385,478,610,731,605,425,364,350,363,428,469,453,454,491,513,542,673,795,599,863,1078,1238,1232,1212,661,444,1036,1134,1060,1510,1654,1844,1524,1224,844,831],[1460,1366,1021,1228,1076,500,314,289,304,333,294,342,530,908,1284,1220,1496,1672,1874,1326,1546,1478,906,990,855,720,1070,1426,1688,1556,1282,1218,1552,1400,928,521,401,386,397,374,341,354,515,737,412,361,365,497,608,859,886,656,456,427,432,413,402,513,454,396,453,412,366,350,350,365,327,315,350,405,401,367,357,362,398,478,537,514,472,426,407,440,462,430,415,420,449,467,439,477,496,405,377,379,343,315,287,296,324,328,343,293,355,350,619,798,866,673,730,774,534,517,472,613,742,867,893,818,719,579,521,396,342,417,409,422,730,940,805,1212,1118,643,620,566,437,404,618,1226,1610,1158,637,440,407,444,658,926,653,469,454,532,581,448,471,532,421,532,697,454,577,586,401,335,261,524,1068,1146,1090,1192,1188,1486,1706,1774,1528,1182,1278,1382,1200,982,604,578,1328,1650,1186,1266,1130,1500,954,727,770,1134,1282,1238,1168,1050,887,830,993,743,649,857,1072,977,748,516,385,427,374,322,384,408,428,794,769,511,419,448,464,400,522,787,691,602,538,387,480,393,395,409,429,417,375,1172,1326,682,811,1320,1104,596,689,549,629,689,644,1052,1248,1100,886,554,343,443,657,769,935,1106,1104,1256,1144,972,1072,1092,1152,1564,1548,1002,919,1352,1882,1854,1552,1282,1404,1358,1340,1356,1354,1204,1176,856,419,310,392,409,442,401,483,469,423,373,490,940,1222,1208,1106,1023,1152,1338,1386,1216,821,1054,1498,1506,1218,1178,1248,1252,1236,1012,830,855,426,375,372,452,777,912,1194,1466,1442,1510,1340,1018,880,1074,1230,1432,1576,1560,1572,1534,1400,1466,1418,935,905,1290,954,732,877,554,658,962,730,663,602,570,603,932,952,762,722,568,617,683,875,1074,775,822,1176,1344,1310,1472,1444,841,858,1030,913,915,874,1036,985,720,550,595,965,1394,1360,1456,1058,556,622,741,861,914,850,686,615,599,623,728,880,942,774,1080,1216,529,476,659,695,430,529,1230,1468,1206,1001,924,1168,1304,1372,1526,1160,599,381,400,418,565,843,826,592,761,1014,1254,1466,1100,1284,1378,987,872,764,484,478,536,467,919,1362,1090,826,818,558,579,652,941,1044,1112,974,1228,1562,1406,1068,556,371,288,308,321,321,311,299,288,284,298,356,397,552,616,410,301,325,402,412,379,308,304,329,323,338,408,467,434,365,352,360,307,443,889,1030,737,419,415,457,587,857,1108,952,1056,976,1020,1070,1274,730,630,952,860,537,452,631,929,973,1030,999,763,978,1294,1590,1244,890,895,1082,1418,1268,634,791,720,853,622,633,755,513,1005,1526,1318,749,669,877,1048,1498,985,481,398,756,1172,1230,1092,976,916,998,1238,1290,1144,1240,1272,1014,872,938,948,650,625,754,949,1186,1230,1308,1180,1116,1378,1378,1464,1384,1442,1438,1446,1344,1368,1230,1032,1168,1140,1274,1176,991,1244,1208,875,458,380,467,460,397,361,369,506,689,866,1208,1212,1312,1448,1338,1316,1286,1316,1436,1724,1728,1426,1170,1028,1264,1150,1001,1146,1346,1340,1278,1188,1178,1262,1372,1244,1138,1062,846,845,803,768,738,885,736,828,750,770,1130,1606,1792,1620,1872,1986,1718,1698,1554,1528,1430,1362,1414,1352,1316,1344,1504,1644,1144,1130,1262,1344,1092,951,782,843,1274,1354,1128,1030,1160,1184,1252,1258,1130,897,960,1092,1138,1172,1206,1230,1308,1580,1900,1418,1168,1226,1340,1340,1264,1212,1170,1058,948,835,811,1136,1286,1180,1146,1086,1094,1064,1140,1174,1186,1210,1232,1448,1672,1516,1404,1348,1450,1328,1412,1452,1368,1204,1210,1250,1268,1226,1182,1278,1388,1344,1300,1336,1048,1009,1074,1124,993,750,834,1078,1254,1244,1164,1512,1428,1126,1094,1052,1130,1314,1322,1100,1244,1438,1088,1366,1534,1412,1272,1306,1834,1926,1272,1086,1808,2062,1360,928,1376,1260,1306,1434,1748,1642,1824,2458,1948,1330,792,453,326,456,789,761,1080,1252,1196,908,754,1388,1828,2082,2058,1242,571,586,438,776,1538,814,522,621,626,414,419,339,287,321,468,441,251,272,297,303,327,411,509,912,1212,1272,1354,1256,1216,1062,1196,1192,1066,1198,1480,693,682,910,1644,1354,576,448,508,786,705,620,826,917,613,462,612,814,673,618,598,677,534,320,525,953,1054,1168,1080,802,1090,1450,1990,1738,903,1136,1716,1428,1418,1488,1030,1072,1176,1108,1234,932,1100,1244,1552,1564,932,868,1016,469,278,321,774,636,472,393,529,681,645,475,279,357,521,538,738,656,720,694,529,368,328,241,218,240,284,278,308,488,680,857,699,560,760,861,1028,1110,816,577,575,567,512,530,608,322,297,461,566,568,556,521,395,318,389,581,905,1206,1378,1200,885,935,875,573,428,845,1250,1152,901,711,665,899,1478,1558,1588,1418,1184,1324,1360,854,522,608,619,713,910,839,783,957,1242,1190,867,1346,1552,1046,888,1070,1092,888,822,498,422,839,750,637,1446,2176,1652,762,316,367,449,383,302,254,239,250,287,407,410,537,1000,1272,1410,837,660,505,348,353,504,612,525,808,1356,1692,1184,459,280,252,737,1688,1764,1536,1528,1468,1548,1450,1108,997,738,777,880,719,592,408,434,885,899,568,371,322,524,1007,1234,883,574,828,1566,1218,1150,1050,1082,1542,1560,1460,1456,1420,1248,882,1538,2930,2876,2980,2182,716,470,648,738,1017,1234,889,830,1112,1514,1202,916,974,909,933,965,771,599,574,607,591,675,921,883,742,722,523,529,663,752,692,672,741,1284,1566,1262,811,606,464,461,418,418,665,981,760,608,550,510,730,1186,833,549,576,490,526,498,480,447,542,636,572,653,559,618,873,1130,1186,1274,1514,1926,2280,2342,2142,1548,1878,1904,1488,2518,3510,2248,1238,1584,1286,788,910,921,879,877,867,962,1018,1076,1198,1174,1036,1074,1072,1118,1184,1506,1412,1268,1162,1174,1268,1230,1014,1090,1252,1240,1164,1038,866,794,602,717,1042,828,657,1088,1156,545,1386,2602,1180,686,757,1068,983,579,605,606,413,542,689,492,393,473,948,1056,1268,1238,1028,971,625,473,648,1192,1284,1224,1778,1752,1294,728,424,345,385,584,1070,1546,1562,1288,1076,1038,1054,1224,1172,1714,2208,1274,698,1210,1666,1436,2032,2242,1082,997,826,411,680,1150,1344,1256,1422,1560,1528,1354,1120,912,976,1248,1302,1274,1200,1136,1258,1026,920,1080,997,1048,741,549,712,757,666,487,796,1156,555,357,393,460,448,369,466,554,465,377,419,655,1150,1366,1364,1284,1426,1502,1250,1338,1604,1592,1390,1216,1236,1130,1118,700,444,458,496,569,932,1160,1450,1572,1482,1472,1382,1372,1434,1114,1266,969,666,1332,1440,1242,1080,1046,1282,1382,1288,1060,940,1154,1292,1416,1412,1242,1566,1560,1382,1284,949,949,1318,1330,1412,1444,1448,1208,1200,1546,1546,1086,903,960,725,816,995,1304,1314,1186,875,760,951,900,789,781,598,633,866,687,802,1042,1244,1384,1206,912,646,965,1104,849,542,805,1128,1354,1344,1090,1011,1015,815,803,1074,1738,1834,1454,1674,1842,1280,1088,942,1070,1450,1154,463,341,699,744,747,771,684,303,360,631,1110,1382,789,352,293,269,247,286,711,878,512,422,609,493,358,424,515,658,498,361,336,320,370,380,332,277,264,327,301,366,416,336,376,377,487,750,850,780,1026,1050,672,719,656,536,451,359,644,1374,1764,1302,1100,952,1152,1330,1038,1508,1350,857,760,581,669,943,998,1130,1348,1488,1666,1728,1518,1546,1428,1346,967,769,927,982,938,564,760,1490,1720,1394,1526,1284,843,767,558,705,907,1106,1086,1114,1188,918,598,544,861,1128,1068,1210,1208,869,1124,1402,1478,1682,1552,1588,1622,1322,1080,1298,1452,837,945,1384,1396,1512,1404,1100,702,515,656,1246,1490,1096,790,651,556,517,691,1068,755,605,577,609,811,1011,824,572,451,365,393,610,790,778,595,480,436,425,459,401,339,372,395,313,259,244,304,308,439,785,755,924,783,814,984,1172,1282,802,622,1082,1116,925,1260,1310,1192,1500,1410,1010,1046,1050,1013,643,442,371,717,1048,808,562,949,1282,1242,1424,1672,1534,1656,1638,1350,1480,1582,1776,1650,1412,1456,1482,1404,1356,1286,1254,812,561,841,868,1144,1428,1538,1480,1196,876,987,1390,1336,975,1396,1682,1672,1354,1052,1226,1068,1364,1156,624,610,606,640,625,628,821,810,916,971,1020,996,1002,873,811,946,1102,965,1008,874,736,1082,710,450,424,618,586,528,1190,1208,1074,937,531,473,757,752,390,373,530,667,736,617,407,354,321,333,373,505,653,542,355,440,420,521,479,387,457,466,406,448,507,822,1036,681,1160,1216,1312,1064,683,405,423,802,976,1104,1406,1582,1608,1208,1116,1021,822],[1278,1344,1168,1256,974,494,447,385,302,346,286,407,673,722,1024,1038,1304,1480,1268,1042,1448,1498,1030,918,1126,1200,1330,1330,1276,1238,959,697,1240,1118,612,440,398,388,390,364,292,307,406,720,555,375,348,485,599,839,1022,730,447,417,415,427,722,713,410,357,377,357,348,354,350,371,386,438,580,725,465,373,425,448,490,512,520,545,547,455,377,375,421,491,537,512,542,654,539,478,545,474,403,356,343,345,305,274,314,314,300,253,305,412,775,923,747,605,555,586,678,730,582,738,742,579,548,518,518,533,497,433,334,312,347,371,520,989,774,821,576,343,478,492,417,457,473,674,981,684,427,424,451,411,773,1019,745,449,423,579,630,379,426,563,727,890,991,599,465,450,393,376,301,389,720,993,1108,1021,694,1178,1420,1604,1588,1274,1302,1290,931,783,479,586,1324,1308,919,1062,1086,1300,783,488,658,1007,1154,1182,1162,1300,1298,1242,1332,1256,1186,1332,1506,1178,768,565,380,381,393,331,359,368,494,913,878,860,847,798,671,495,564,525,396,349,346,404,475,418,378,394,481,446,351,733,849,686,849,957,698,661,1100,830,542,693,610,1064,1662,1880,1410,564,418,345,343,518,857,973,1184,1306,956,776,872,957,1244,1506,1368,1514,1632,1572,2088,1858,1710,1322,1140,1354,1272,1202,1084,709,606,453,330,411,547,854,867,645,616,565,480,407,399,908,1292,1180,1128,1048,1102,1252,1364,1292,1106,892,1084,1378,1044,750,837,1094,1316,1090,1244,1078,744,550,451,598,990,1328,1422,1302,1324,1696,1610,1574,1616,1490,1378,1572,1350,1266,1378,1232,1206,1294,1088,989,786,759,522,669,741,521,808,846,645,653,640,792,852,681,594,516,446,415,439,781,984,1034,1004,1042,1244,1272,1376,1872,1428,856,996,1170,1024,792,1028,1240,1346,1166,689,651,915,1238,1396,1526,1042,672,588,457,574,849,1092,1302,1452,1252,757,682,866,894,563,938,964,614,514,516,455,506,970,1488,1398,933,858,1078,1134,1362,1368,1218,1436,1094,568,390,416,423,408,372,347,411,532,723,1170,1066,1026,853,714,680,558,402,451,568,764,835,1094,1110,880,580,662,791,847,923,1072,1018,848,1510,1562,943,991,683,354,236,288,337,334,323,292,259,239,248,339,469,656,718,510,338,358,411,386,350,337,332,303,361,377,402,466,456,388,344,348,293,369,575,961,1000,526,589,756,550,514,570,873,1156,960,902,1188,1007,603,511,547,694,635,601,800,850,827,919,725,460,701,999,1388,1440,984,784,1160,1232,1172,923,1238,890,920,738,573,449,440,810,1324,1250,800,722,1076,1074,1360,1030,600,420,613,966,1202,869,597,855,918,1020,1094,1104,1346,1318,1142,944,927,912,724,664,742,758,1000,1156,1210,1060,1246,1490,1262,1214,1250,1366,1494,1454,1392,1268,1126,1232,1388,1376,1508,1612,1498,1338,1500,1352,789,527,538,582,502,512,590,717,993,1190,1282,1312,1292,1310,1406,1400,1398,1418,1670,1926,1656,1232,1204,1034,1152,1328,1182,1138,1238,1400,1360,1238,1332,1174,975,782,1002,1182,936,1102,1132,859,866,956,869,726,897,1190,1502,1764,1806,1694,2088,1828,1620,1498,1306,1246,1234,1122,1044,1196,1250,1308,1448,1570,1448,1432,1428,1412,1204,1090,1007,839,1038,1284,1290,1064,1098,1106,1122,1306,1180,904,864,1020,1178,1304,1304,1158,1222,1188,1182,1328,1416,1360,1378,1250,1186,1124,1128,1144,1110,1170,1316,1384,1280,1310,1166,1080,1130,1122,1212,1222,1234,1244,1484,2098,1628,1100,895,1152,1316,1408,1504,1384,1314,1160,1072,1390,1910,1656,1310,1374,1368,1228,1064,1150,1114,1214,1222,954,886,1106,1280,1250,1354,1534,1184,1218,1204,1328,1366,1094,1022,1214,1112,771,971,1388,1332,1482,1344,1208,1262,1400,1918,1996,1320,908,1316,1550,1140,813,1378,1378,1494,1586,1686,1462,1904,1664,805,758,1068,918,575,792,648,780,1218,1110,1096,1282,1180,1302,1718,1886,1246,501,631,843,896,1172,1376,1220,1002,711,545,365,249,277,300,357,381,369,284,331,292,297,393,584,892,1384,1526,1460,1294,1021,1248,1134,1222,1112,1266,1288,1262,902,1015,1260,1454,1286,979,846,869,1126,910,1026,1186,1202,1048,989,1007,922,928,882,800,771,573,580,657,775,915,1166,899,639,965,1318,1274,1066,1034,1294,1430,1150,1346,1462,763,688,963,931,1102,1478,1764,1904,1626,888,583,663,940,735,383,259,403,603,557,327,372,419,313,301,312,323,429,401,422,645,949,893,579,369,286,210,159,180,263,228,254,315,393,547,683,732,752,958,1024,691,493,618,766,612,494,402,386,280,258,369,528,595,569,570,486,366,299,349,625,869,1114,1258,955,979,1070,1038,1092,1594,1464,1210,891,583,680,910,1438,1592,1664,1476,1094,1048,1001,779,622,507,378,513,697,970,981,711,1094,992,1015,1264,807,960,1026,908,1046,725,541,565,441,412,416,594,1540,2286,1948,882,467,543,551,501,360,289,276,276,283,351,415,655,703,929,1820,957,1080,713,411,453,915,755,460,803,1406,1818,1592,649,296,346,1402,2204,1570,1274,1310,1110,1252,1466,1610,1484,907,766,875,685,445,332,348,389,689,781,541,372,365,716,908,515,573,1668,2108,1482,1108,1028,1040,1312,1308,1294,1538,1432,1062,973,1802,2918,3176,3508,2338,877,698,970,1138,1348,1018,633,570,782,1136,888,994,936,982,1036,924,637,528,456,493,589,775,996,848,630,675,516,567,738,577,429,682,767,1060,1554,1388,1040,908,727,619,445,702,1144,1354,816,524,530,497,902,1140,608,551,539,482,521,492,512,487,550,554,522,515,520,615,774,894,1002,1612,1824,2030,2268,2342,1982,1668,1882,1816,1744,3062,4452,2852,1672,1560,1182,792,907,979,989,1019,1064,1098,1158,1214,1236,1182,973,1050,1136,1488,1274,1506,1636,1472,1564,1772,1768,1582,1526,1586,1384,1268,1164,918,949,1020,944,872,1252,1318,927,1046,1356,958,1482,2592,1510,1198,1470,1528,1366,1194,1072,899,591,836,1034,660,639,877,1090,1056,1542,1412,934,661,427,469,974,1872,1896,2094,2470,2030,1562,738,543,542,456,407,728,1266,1372,1170,1404,1294,1060,1154,1766,2548,2442,1388,1030,1310,1648,1608,1670,1666,1164,962,1260,1074,1350,1520,1434,1260,1134,1048,980,940,1014,1072,908,1272,1280,1180,1172,1382,1310,1050,1260,1660,1642,1120,781,433,608,683,683,503,597,1258,933,488,462,501,460,391,399,484,498,428,408,504,796,1060,1324,1512,1538,1426,1244,1216,1408,1604,1540,1224,1144,1164,1196,666,400,406,459,745,1166,1264,1316,1488,1400,1410,1308,1194,1336,1132,888,765,649,822,1336,1828,1340,1134,1266,1622,1632,1462,1094,973,1023,1212,1460,1478,1472,1388,1394,1454,1294,1204,1416,1410,1360,1432,1560,1324,1176,1336,1640,1568,1384,1090,1168,1120,710,882,1248,1274,1250,1298,1308,888,565,468,578,728,747,944,739,1076,1004,1128,1250,853,636,600,948,914,563,865,1366,1742,1416,956,741,846,786,824,1180,1398,1252,1206,1334,1314,1272,1160,882,863,670,409,325,285,356,822,1066,800,895,380,314,450,571,811,713,428,291,290,264,236,487,924,719,300,358,511,421,361,545,809,503,317,406,348,300,319,286,279,284,328,324,372,361,343,318,379,357,477,637,528,650,1150,1132,919,611,442,379,381,603,1048,1344,1430,1296,1060,943,907,564,758,1023,927,943,926,747,569,884,1148,1188,1196,1054,1556,1616,1482,1318,1202,1005,1078,928,843,838,525,358,751,906,717,1288,1198,885,767,969,1076,863,922,1264,1390,1048,885,988,665,775,1340,1354,1186,1440,1900,1732,1614,1572,1394,1180,1068,891,877,1001,1072,899,664,887,1182,1322,1394,1506,1248,747,781,1318,1626,1306,907,872,744,807,787,820,804,682,583,659,998,1320,1186,724,472,365,341,343,564,785,925,700,486,444,414,380,357,355,429,502,346,276,275,302,329,686,1104,1150,1114,747,817,1158,974,1324,1266,1040,1220,1082,1094,1214,1236,1206,1310,1266,977,938,1030,936,543,385,429,630,670,514,444,821,1262,1382,1506,1288,938,1001,1114,1200,984,1236,1538,1620,1566,1582,1608,1552,1494,1310,1374,786,420,436,511,925,1290,1242,1082,1096,1040,800,1132,1306,1086,1456,1682,1532,1114,1244,1136,1030,1264,824,486,546,568,593,598,569,506,506,760,1001,1146,935,875,1074,1054,1080,1202,1144,1354,888,611,869,656,448,442,425,506,699,633,691,783,593,479,724,761,679,401,348,570,825,905,629,413,420,319,305,335,445,402,402,345,299,357,545,517,420,451,390,341,565,720,873,1074,932,970,1220,1378,1178,742,442,584,972,1346,1316,1494,1544,1436,1300,1094,1050,700],[921,1126,954,1058,949,544,490,402,474,670,417,522,383,423,1140,1390,1026,1021,994,1019,1354,1600,1528,1384,1560,1330,1306,1180,1126,1214,960,957,1228,767,430,427,445,419,449,394,324,357,357,596,676,446,293,380,501,679,653,454,412,403,390,526,935,752,603,653,676,644,621,605,626,747,741,696,917,1380,1074,655,476,430,509,531,477,462,427,411,498,601,578,735,675,598,628,691,505,432,518,525,440,388,335,343,296,284,292,256,254,278,359,582,925,971,924,771,495,567,563,561,537,561,505,602,781,766,555,391,434,487,304,269,290,343,376,683,697,490,372,354,363,404,392,453,558,621,599,481,437,419,444,513,757,791,644,469,552,589,549,474,448,464,952,1019,803,585,384,325,352,350,303,293,519,864,1014,1044,1626,1434,1318,1634,1632,1542,1498,1222,857,1026,935,843,1086,1021,1001,1094,1172,927,644,738,1058,1394,906,681,681,736,962,985,1160,1350,1302,1338,1448,1166,614,487,547,740,835,436,333,345,656,764,895,1146,1096,1150,1070,886,896,598,367,309,386,395,431,429,404,447,510,511,558,860,857,753,1032,644,674,850,1578,1418,972,969,1078,1310,1858,2054,1362,554,357,339,340,462,664,820,1176,1122,667,514,504,576,789,949,1362,1516,1482,1442,1778,1794,1516,1262,1216,917,921,1136,1126,920,794,407,384,528,794,1188,1306,1266,1020,608,440,383,630,1482,1236,1110,1036,678,749,1166,1292,1310,1278,871,879,1356,1162,1016,1026,1074,887,1042,1524,1700,1290,940,938,1096,1438,1620,1400,1328,1378,1302,1114,1102,1404,1222,1090,1262,1296,1416,1422,1018,919,738,517,755,566,799,576,498,437,301,552,648,724,911,861,1200,1192,714,485,451,353,390,494,700,724,861,1032,1032,1278,1092,1266,1412,741,577,692,1068,1019,899,1252,1292,1438,1482,1228,1328,1322,1440,1384,869,793,645,593,594,571,729,1018,1310,1588,1452,701,483,624,946,832,881,655,538,750,740,604,743,1074,1264,1300,1190,1194,1322,1220,1296,1236,1582,1904,1368,700,360,393,419,336,255,317,348,418,760,1160,1062,765,671,628,436,402,437,484,456,711,849,1064,1124,1146,838,929,1166,1118,1013,908,762,603,1122,929,974,1626,1222,473,280,363,375,330,307,276,282,318,307,325,554,644,692,566,403,378,377,373,399,365,266,267,327,346,359,425,452,419,365,327,284,313,404,678,1114,839,696,897,586,561,497,625,753,540,673,852,679,634,511,544,919,1026,858,977,866,1008,1116,888,685,699,756,807,1094,871,784,1076,1116,1036,1204,1034,825,759,863,1038,554,480,470,778,1146,1260,894,990,1194,1298,1232,796,494,524,748,1006,804,753,786,976,1144,1284,992,988,1138,1230,1220,1070,860,532,675,938,870,703,952,1140,1066,1222,1278,1270,1114,861,980,1056,1140,893,732,779,720,968,1028,1250,1388,1412,1454,1516,1398,1190,1086,668,555,805,700,730,1012,1270,1346,1318,1266,1410,1476,1400,1412,1534,1654,1814,1886,1598,1138,1292,1184,1228,1384,1240,1190,1386,1514,1260,1206,1220,1102,979,760,997,1068,930,888,993,1184,1074,1038,1072,1110,1324,1486,1664,1786,1706,1844,2030,1756,1562,1366,1172,1240,1384,1274,1148,1478,1788,1520,1318,1338,1442,1414,1318,1302,1254,1286,1276,1036,1174,1382,1342,1220,1244,1208,1278,1414,1152,945,984,998,976,1282,1268,1160,1124,1116,1118,1306,1362,1250,1246,1212,1232,1136,1124,1078,1156,1278,1400,1374,1260,1256,1160,1162,1176,1322,1346,1374,1362,1260,1358,1714,1470,1072,1021,1098,1228,1620,1698,1418,1290,1058,923,1206,1482,1174,1098,1254,1246,1298,1116,969,1080,1200,1144,974,1196,1376,1526,1294,1376,1792,1666,1332,1182,1376,1416,1172,1184,1184,1106,902,1074,1438,1582,1498,1118,1040,1023,1182,1324,987,983,1200,1190,1394,849,920,1292,1660,1782,1394,1626,2020,1566,946,565,972,1278,739,680,798,502,847,1310,1136,913,960,1116,1406,1410,1088,465,499,686,1050,1008,736,979,1330,937,922,1138,625,362,521,275,366,361,288,335,476,408,390,443,628,835,1098,1582,1274,935,1290,1476,1388,1234,1310,1406,1096,1100,1220,1250,1238,1214,1108,849,631,530,794,681,789,649,604,675,970,1194,919,957,1056,1076,1152,1196,1146,1244,1122,1090,1216,1194,1000,910,767,719,780,985,1066,990,742,927,865,577,707,865,636,826,1354,1426,1548,1320,850,487,760,1626,1462,612,407,798,1012,623,281,336,437,483,422,441,351,376,538,570,808,911,688,720,612,312,236,241,282,299,276,280,299,284,289,391,639,1040,1110,639,354,477,714,866,672,519,344,272,251,245,290,393,540,529,563,561,443,323,281,274,605,918,1094,1252,1302,1172,1242,1316,1392,1114,1150,1136,927,889,965,1416,1562,1464,1418,1004,832,1060,1040,962,946,669,482,608,725,557,877,1296,835,677,655,595,1110,1244,918,1030,659,282,386,457,637,632,651,1532,1860,1918,827,517,417,364,367,304,288,316,310,320,347,415,585,708,846,1298,734,729,802,705,731,925,843,648,947,1498,1750,1700,984,539,692,1840,1900,1552,1100,743,666,873,1001,1176,1382,1250,1484,1536,1003,459,327,356,307,460,623,478,352,469,753,754,481,1206,2192,1970,1468,1308,1184,1158,1194,937,1080,1338,1292,1096,1078,1792,2458,2508,2684,2020,816,812,1354,1578,1362,585,466,607,582,697,872,1011,980,902,874,727,605,596,520,449,538,722,829,738,617,659,542,615,594,479,592,664,688,1146,1378,983,720,545,560,659,835,800,887,916,659,505,430,498,1023,1060,615,501,461,501,535,490,466,493,586,607,568,533,503,634,651,627,959,1522,1704,2038,2352,2326,1832,1684,1892,1650,1700,1980,1932,1786,1562,1694,1236,898,941,962,990,999,1092,1256,1320,1226,1222,1226,1086,1098,1078,1608,1576,1456,1406,1098,1218,1474,1432,1306,1644,1448,1306,1026,1066,1007,890,978,987,1056,1480,1536,1476,1264,1320,1606,1626,1676,1642,1760,1736,1544,1490,1332,1130,1174,1116,1240,1260,803,721,911,879,719,982,1198,1340,1278,512,438,758,1884,1970,1544,2026,1714,1364,806,781,936,535,357,439,863,1394,1410,1428,1472,1734,1878,2126,1974,1370,1262,1470,1440,1682,1602,1400,1236,1318,1168,1364,1176,916,745,549,536,796,1180,1302,1312,1372,1332,1070,1162,1232,1188,1174,1258,1238,1182,1156,1704,2188,1304,988,473,546,695,1094,1154,795,1074,1090,616,458,496,383,353,397,563,566,476,451,380,711,1392,1880,1746,1428,1504,1424,1214,1164,1594,1616,1218,1298,1334,1232,794,536,583,607,815,1010,953,968,1534,1382,1288,1200,1134,1284,1146,1042,1084,1090,1150,1298,1334,1320,1454,1426,1266,1526,1624,1254,1130,953,940,1208,1278,1430,1552,1368,1246,1180,1104,1118,1332,1456,1538,1410,1324,1198,1328,1664,1672,1598,1340,1596,1426,932,998,1332,1708,1754,1384,1198,1182,1009,530,648,860,973,1440,1090,992,714,888,825,770,993,962,1216,1120,592,839,1428,1458,1030,777,581,683,1021,1282,1017,757,1116,1604,1009,682,981,1184,752,353,441,629,466,314,587,920,982,620,663,365,343,406,401,459,580,490,298,266,241,245,319,574,520,307,292,453,628,449,304,436,376,353,418,344,339,327,344,310,220,284,322,325,347,313,313,375,331,351,506,594,545,825,1010,964,796,628,599,816,959,904,1202,1460,896,664,947,1402,1052,940,957,827,896,948,738,470,707,979,1232,1280,693,1142,1444,1310,1186,1186,1252,1140,788,810,819,476,329,436,535,593,907,1210,1428,1328,1268,1052,683,622,959,1124,913,1130,1428,1114,771,1210,1428,1156,2132,2602,2076,1536,1096,830,965,803,743,692,897,673,520,976,1172,1144,1438,1262,1174,1372,1118,1010,1332,1358,1190,1248,983,1044,1136,930,711,614,648,691,1052,1460,1128,636,469,374,322,319,334,443,647,850,724,475,429,405,361,391,389,395,248,265,342,346,355,304,649,994,1150,1412,1060,1086,1340,1378,1236,1122,1318,1194,1005,1194,1328,1314,1142,1250,1398,1176,757,822,856,790,684,864,938,716,618,587,798,1124,1188,1100,1066,1174,1360,1262,921,741,1046,1318,1384,1522,1538,1134,979,865,788,1026,752,488,436,507,850,1136,1018,966,1060,1232,1302,1356,1298,1376,1448,1338,1140,1120,1210,1238,1382,1019,579,542,561,508,504,533,512,483,685,1204,1410,1338,1122,984,904,1132,1382,1354,1248,1200,818,781,724,548,629,742,633,902,1204,921,622,517,650,608,841,774,720,525,441,637,848,907,573,404,424,466,412,407,550,514,480,409,296,323,396,413,451,414,369,455,844,1168,1122,910,746,879,1076,1102,827,661,608,680,849,1418,1640,1734,1270,1146,928,872,989,841],[621,669,752,927,873,565,543,455,714,926,503,681,527,424,1308,1424,651,738,1070,1172,1168,1434,1472,1194,1274,1316,1318,1326,1332,1146,914,1208,1092,568,422,375,440,391,392,384,371,386,352,384,631,670,403,394,456,414,348,365,400,354,455,783,803,631,670,766,785,805,789,713,702,778,819,796,897,1430,1792,1394,856,966,1018,785,567,404,377,412,545,648,601,831,708,521,531,623,639,567,569,621,499,528,402,374,359,333,272,281,393,466,503,760,1060,976,899,760,694,741,532,369,475,880,1090,900,970,1007,531,420,348,379,280,260,225,306,336,379,393,346,368,335,357,397,398,485,503,553,486,502,494,470,507,644,684,545,498,549,764,850,814,874,717,515,722,622,539,468,373,375,372,349,311,283,425,1042,1560,1536,1742,1660,1458,1470,1600,1772,1662,1386,1118,1096,1476,1516,1290,1138,1144,1154,1108,775,543,865,1450,1228,618,456,489,633,803,661,921,1003,899,1260,1356,1064,585,706,1148,1426,1150,568,348,423,814,828,828,1246,1232,1344,1410,1466,1260,1034,545,268,311,354,399,376,403,459,520,720,1112,1302,1196,1146,997,780,1232,1194,1208,1528,1232,843,841,857,1190,1430,1422,728,347,340,394,444,487,851,1324,973,614,650,520,518,692,829,960,670,633,1088,1488,1526,1334,1338,1288,1166,1336,1094,1152,1266,1078,557,419,641,1004,1144,1148,1122,654,428,416,386,489,921,1084,1178,871,523,763,1130,1246,1372,1234,912,985,1484,1622,1694,1808,1524,1128,1238,1532,1638,1438,1384,1456,1384,1400,1262,863,635,604,686,912,1158,1274,1306,1226,1042,1038,1270,1360,956,778,741,570,391,388,482,383,403,374,284,313,343,552,762,958,1282,1370,875,520,491,463,498,625,768,819,1100,1116,799,1134,1024,786,660,620,609,492,757,944,1100,1438,1284,1238,1642,1598,1236,1132,1144,1064,897,877,799,725,869,1074,1023,1074,1346,1298,1124,816,544,653,1100,1162,1128,1040,921,888,944,886,745,773,1010,1272,1278,1278,1350,1270,1130,1270,1490,1282,928,944,510,407,403,378,321,279,313,393,620,684,569,485,475,424,383,337,371,466,534,762,949,945,924,1068,1206,1332,1136,838,686,711,875,591,598,458,1104,1832,1282,456,351,423,360,305,264,241,286,337,359,372,510,648,684,525,394,374,345,315,357,372,280,291,295,367,375,415,445,411,373,337,332,315,363,453,911,1184,874,637,677,825,705,535,521,471,519,606,732,683,450,741,1116,1242,1222,1186,1096,994,916,1110,1112,919,919,857,940,869,971,1266,1064,1052,1356,1052,740,695,834,1066,793,680,505,702,1011,1116,1182,1250,1148,893,683,512,525,445,579,610,796,838,777,1250,1744,1478,1236,1238,1172,1458,1460,1140,1182,990,965,1208,949,896,1344,1342,1250,1256,1210,1142,1078,987,1254,1516,1452,832,865,1001,867,778,919,876,708,1052,1112,1220,1078,1190,1246,753,570,709,514,677,1278,1248,1066,1150,1292,1502,1462,1370,1444,1460,1544,1516,1676,1688,1434,1438,1406,1334,1212,1156,1346,1516,1384,1232,1198,1194,1196,1092,1054,986,819,799,987,1350,1318,1158,1206,1340,1352,1432,1654,1790,1776,1668,1894,1864,1428,1206,1236,1204,1278,1406,1268,1242,1414,1468,1300,1136,1352,1826,1842,1412,1398,1272,1368,1332,1232,1220,1300,1280,1370,1764,1652,1410,1478,1326,949,940,728,823,1036,1222,1372,1238,1216,1158,1352,1444,1432,1538,1304,1242,1222,1028,931,1380,1394,1272,1252,1148,1094,1180,1120,1300,1588,1182,1194,1310,1106,1126,1322,1438,1434,1074,851,1026,1214,1388,1250,1202,1038,981,1116,1436,1240,1246,1344,1256,1300,1152,951,1154,1364,1186,1124,1716,1810,1364,1248,1388,1372,1264,1262,1152,1162,1188,1520,1598,1198,1190,1234,1472,1598,1452,1060,617,985,1228,1032,1040,979,1020,1096,1346,1482,1016,1446,1798,1860,1428,1132,2214,2266,1144,903,897,1240,977,753,772,607,730,1334,1598,1448,1318,863,742,1380,1416,999,696,944,868,1182,843,411,1066,1516,1350,1738,1516,861,671,518,292,285,381,594,780,755,791,876,742,582,634,733,808,945,1146,1338,1054,1001,955,886,1018,1190,1244,1134,824,566,608,601,452,271,272,529,583,454,351,466,878,1144,1228,1180,1234,846,727,565,448,612,971,1058,872,1003,1326,896,606,730,1096,996,1002,1166,1014,789,965,1152,941,969,1140,927,776,674,592,760,640,652,516,543,949,891,552,564,944,861,411,303,355,596,865,702,501,374,515,690,629,852,1136,822,661,708,474,309,284,257,266,329,349,303,292,481,868,1222,1190,731,341,354,567,534,664,659,368,236,312,289,253,252,267,342,433,521,574,535,363,283,282,365,570,850,1046,1076,1056,767,913,1009,1015,1176,1274,1196,1058,1092,1454,1550,1456,1424,1340,1054,858,899,1222,1458,1288,1032,809,540,643,1336,1704,940,347,327,550,1310,1680,1334,1222,755,348,305,294,539,869,557,879,1184,1426,841,506,587,491,284,261,250,261,348,474,320,285,324,505,588,594,405,488,740,759,583,539,720,646,713,1036,958,1104,1142,844,1378,2002,1908,1874,1550,919,699,942,798,1190,1802,1822,1842,1888,1456,690,368,358,387,626,785,691,657,1004,1136,893,755,1780,1926,1604,1230,1208,1260,1294,1002,861,1504,1350,1226,1216,1142,1666,2208,2250,2530,1900,809,1014,1384,1570,1140,600,679,848,898,984,1078,1052,916,868,769,644,631,628,589,501,551,637,566,631,653,583,540,684,633,609,788,657,716,1194,1009,656,547,423,410,868,982,477,367,491,507,447,452,621,1230,1254,876,623,555,487,491,484,468,552,604,632,587,495,495,571,554,601,846,996,1358,2044,2352,2226,1764,1598,1810,1692,1932,2744,2512,2214,1716,1826,1284,861,949,1021,1118,1070,1130,1268,1362,1236,1190,1136,1090,1021,1206,1600,1388,1294,1390,1352,1230,1424,1316,1410,1562,1578,1542,1178,1156,1278,1148,1178,1164,1042,1318,1322,1302,1392,1582,1564,1366,1238,1408,1478,1510,1494,1234,1150,1160,1454,1600,1056,957,998,901,820,893,870,937,1378,1760,1426,571,441,464,793,953,1100,1046,750,741,769,774,814,547,730,637,599,997,1742,1792,1676,1764,1862,2148,1820,1210,1358,1626,1522,1714,1654,1626,1464,1244,905,908,705,478,439,338,443,859,1284,1304,1416,1730,1450,1218,1280,1274,1108,1009,1242,1252,1042,897,1160,1530,1004,974,577,505,628,874,976,693,812,1078,713,346,292,283,359,577,694,661,505,472,502,740,1308,1952,1838,1530,1428,1426,1092,1005,1490,1560,1346,1406,1356,1294,1178,1068,1114,1156,1096,1152,1292,1048,1224,1694,1700,1330,1200,1324,1252,1080,1202,1214,1182,1174,1266,1636,1672,1230,793,1072,1478,1388,1182,1090,896,1016,1356,1286,1552,1560,1438,1422,1342,1284,1228,1398,1514,1212,1328,1404,1420,1472,1464,1574,1570,1622,1672,1494,1468,1464,1518,1424,996,1034,1354,924,584,681,965,1005,952,1050,991,737,537,537,894,1244,1412,1586,1554,880,902,1164,976,1044,1200,805,614,1186,1434,818,578,1164,1536,904,498,778,1648,1594,693,533,893,673,336,510,615,642,541,621,427,281,309,284,440,827,843,293,249,243,241,311,347,301,281,286,367,745,818,415,375,393,384,379,386,361,351,415,395,328,380,351,321,381,348,340,337,301,338,320,475,529,827,1060,1244,1244,1068,1214,1632,1844,1660,1204,919,735,767,1170,1290,1190,1266,1368,1802,1484,640,532,496,633,803,1282,1408,1023,925,1312,1450,1260,1176,1156,1007,1300,1456,959,641,404,296,574,901,1114,1204,1484,1268,706,607,630,625,807,1116,1174,1242,1396,1456,1162,952,1142,1210,1510,1732,1486,1238,910,808,1110,823,932,665,785,688,600,1636,1652,985,1001,943,745,1094,1440,1044,786,1152,1178,1048,954,1160,1160,1048,849,604,605,630,805,810,529,406,420,372,336,331,347,411,602,767,678,508,487,477,393,383,385,424,352,462,542,440,529,624,672,1136,1582,1548,1452,1286,1158,1158,875,794,1024,1060,1106,1372,1320,1078,1298,1716,1590,903,824,1026,1194,1224,1100,1200,1034,871,935,838,930,1224,1108,909,759,1028,1354,1266,1198,1088,1168,1334,1260,1166,1584,1392,977,653,606,1054,924,449,489,557,501,593,771,1134,1114,1144,1216,1296,1426,1418,1370,1272,1210,1318,1294,1422,1532,906,603,543,656,667,579,501,425,598,1090,1274,1366,1604,1310,1058,682,869,1222,1222,1090,904,706,885,992,1007,1050,1040,908,1010,1254,1200,681,533,662,674,565,613,724,560,480,569,709,741,585,442,452,525,431,358,449,476,446,390,361,346,372,346,372,390,345,539,814,1130,1294,982,730,932,1018,1046,736,695,943,991,1011,1502,1792,1416,1150,1122,835,842,1126,1256],[1344,1204,1044,984,830,780,861,651,756,696,609,924,670,316,979,1396,886,1082,1182,1180,1514,1460,1416,1194,1232,1312,1268,1450,1338,935,1104,1260,685,473,406,355,376,361,344,344,338,336,344,330,435,637,839,651,525,380,430,593,664,664,804,810,613,607,636,772,794,771,745,710,735,778,802,786,937,1400,1950,1894,1334,1508,1426,1074,728,424,334,429,486,449,393,392,408,361,325,414,580,583,615,627,467,413,493,611,520,377,380,536,685,681,600,818,1054,835,753,755,576,459,443,472,655,864,728,770,915,906,527,522,426,360,269,214,220,275,266,257,267,325,320,304,374,421,457,590,804,900,718,560,491,505,686,750,561,521,469,535,731,856,916,1134,835,527,491,406,428,386,353,410,357,327,299,322,412,1574,2700,2116,1194,1490,1482,1506,1450,1340,1386,1492,1306,1236,1522,1588,1510,1278,1021,1021,819,546,576,1400,1726,874,558,419,508,780,629,552,980,1164,1256,1536,1386,1108,628,748,1180,1508,1462,986,659,708,1023,813,940,1400,1568,1582,1630,1624,1398,1092,555,300,347,357,401,365,365,375,451,741,1144,942,880,1001,793,868,1594,1484,810,878,1068,828,562,442,644,1062,1222,578,254,320,392,440,516,932,1310,810,705,1116,972,824,631,377,347,458,572,808,1142,1344,1134,1078,1144,1482,1344,1120,1238,1446,1200,767,545,560,853,1074,956,913,739,591,441,426,438,578,879,949,908,1054,1208,1262,1434,1440,1220,1260,1406,1660,1608,1570,1588,1498,1448,1522,1500,1376,1278,1444,1294,1076,1116,1210,817,553,465,487,884,1168,1144,1386,1372,1170,1346,1272,1066,990,828,637,597,661,728,766,550,285,307,274,375,471,683,680,922,1350,1310,749,492,474,541,707,955,1294,1108,1068,1676,1158,891,638,659,844,1074,1212,842,658,938,932,1034,1094,1112,1420,1506,1466,1282,912,904,825,692,885,779,897,1240,1302,1794,1968,1298,922,1030,996,962,1086,1200,1192,1330,1244,1052,1050,911,990,993,1066,1140,1236,1118,841,880,1086,1302,1398,1234,1264,1606,1080,500,388,376,281,250,335,407,415,379,379,394,381,374,427,368,418,633,939,1350,1478,1146,780,678,1024,1372,858,528,462,507,761,636,421,346,604,944,726,400,283,345,301,297,276,268,288,348,385,358,415,544,504,366,350,336,276,280,388,374,337,319,301,274,250,351,375,363,337,339,368,348,383,440,593,1072,1048,902,930,978,760,481,502,578,594,814,824,625,454,630,866,1084,1412,1522,1172,891,501,840,1174,912,863,850,1114,1198,1154,1092,885,955,1130,1090,761,538,510,529,716,985,866,1026,1272,1348,1318,1322,1222,809,440,536,835,587,442,476,781,714,909,1212,1003,917,1176,1194,1140,1438,1190,1150,1156,1054,1012,1046,1106,1936,2074,1306,1096,1134,1214,1190,1202,1060,911,1214,1164,910,841,622,548,711,761,531,353,389,448,797,1024,1100,1104,1104,927,642,506,716,808,854,1188,1040,1138,1286,1322,1292,1306,1476,1666,1594,1648,1666,1474,1498,1318,1228,1046,961,1272,1302,1092,954,1023,1278,1248,1170,1102,940,948,877,1128,1472,1298,1322,1502,1534,1404,1738,1900,1818,1672,1768,1934,1606,1192,1214,1256,1324,1302,1308,1334,1346,1220,1036,928,1152,1806,2492,2266,1526,1462,1150,1118,1460,1486,1262,1310,1344,1670,2018,1634,1396,1634,1512,1040,778,707,784,906,1136,1278,1192,1166,1242,1362,1254,1462,1488,1332,1276,1298,1144,1382,1500,1312,1260,1168,1156,1268,1346,1346,1540,1366,839,952,1242,1274,1500,1484,1376,1290,971,1026,1070,1228,1180,1096,1208,1154,1122,1068,1182,1140,1416,1428,1222,1182,1194,1001,1140,1090,1068,1074,1550,1570,1468,1466,1458,1350,1384,1402,1228,932,917,1350,1490,1284,1178,1372,1836,1556,1220,1058,766,1364,1608,1428,1234,1250,1262,982,1426,1374,1042,1712,2164,1554,1015,1676,2204,1422,1100,1698,1302,924,766,972,1086,1376,1690,1362,1508,1650,1500,996,579,901,1396,1346,1296,1218,1218,1396,926,613,1152,1388,1352,1368,720,618,836,730,402,496,667,866,1148,942,1174,1158,727,436,678,1038,864,954,1328,1072,722,1048,997,840,1250,1494,1172,662,314,285,351,358,334,283,250,467,667,521,319,514,1144,1356,1230,1106,1246,882,708,458,325,452,744,933,550,469,524,355,308,306,472,500,550,612,606,542,604,716,838,1138,1170,1238,1230,978,857,828,905,1116,989,802,692,603,532,507,716,579,714,677,552,655,811,721,475,374,430,669,634,691,998,1102,1044,949,844,636,385,251,246,286,367,470,674,1001,1114,1116,756,485,410,524,508,325,464,579,370,264,329,316,224,241,241,226,309,452,588,633,542,373,275,276,297,501,900,822,1102,1054,888,924,1074,1194,1208,1222,1242,1302,1478,1550,1584,1500,1576,1366,893,1076,1672,1782,1462,1408,1118,686,796,1222,1710,1220,581,733,1294,1948,1742,1208,935,637,420,309,288,379,774,543,661,1416,861,568,579,487,407,341,285,262,288,427,621,330,264,301,470,691,821,640,595,877,860,560,595,698,524,426,427,411,693,1013,1134,1432,1450,1482,1500,1021,528,701,861,1030,1890,2060,1910,1876,1924,1588,905,466,515,657,874,968,930,935,1172,1158,843,980,1566,1698,1340,1168,1096,977,1050,797,1244,1736,1526,1380,1242,1100,1192,1568,2062,2322,1838,1484,1432,1372,1130,799,744,840,645,780,938,1036,1026,949,866,637,666,618,617,615,580,545,667,602,490,435,480,639,758,653,636,670,640,884,871,708,709,491,358,751,1264,978,435,355,429,452,462,635,993,1428,1288,1044,1054,1056,998,912,706,680,601,538,561,588,446,540,612,579,662,796,842,1374,2094,2344,2140,1660,1780,1780,1604,1470,1838,2622,2230,1658,1726,1224,833,989,1016,1074,1116,1152,1204,1310,1196,1210,1194,1076,1058,1376,1392,1154,1300,1524,1498,1318,1350,1328,1268,1048,1158,1548,1560,1580,1492,1388,1168,1304,1154,818,1010,1152,1302,1552,1512,1202,1116,1346,1390,1488,1476,907,968,1236,1376,1422,1238,1332,1400,1202,1042,1430,1570,1592,1644,1282,807,434,558,805,657,487,529,584,515,410,672,822,565,574,777,867,799,909,1388,1560,1586,1356,1428,1842,1654,1226,1242,1558,1626,1594,1394,1144,899,739,647,676,698,684,711,501,394,679,1040,1056,1474,1794,1510,1322,1138,1172,1226,1134,1204,957,1056,1021,1072,1066,1002,1194,945,493,520,643,537,568,755,760,554,336,300,405,440,596,752,708,688,770,895,1054,1112,1204,1456,1520,1494,1418,1232,1336,1590,1698,1676,1584,1444,1412,1276,1184,1226,1440,1306,1382,1478,1272,1144,1716,1938,1454,1294,1216,1034,700,1148,1496,1528,1420,1600,2098,1572,705,416,675,1388,1560,1434,1182,846,1262,1438,1316,1404,1404,1202,1144,1196,1062,960,910,1086,1292,1208,1292,1206,988,1013,1166,1296,1414,1252,1344,1462,1390,1394,1142,965,1090,829,413,623,960,1112,734,484,695,839,718,458,822,1300,1458,2056,1940,1692,1078,846,1082,1036,958,1110,865,979,1266,954,578,410,796,1068,1326,995,732,1702,2048,1096,625,877,623,404,814,926,931,811,695,450,380,360,333,444,542,471,271,229,250,266,260,293,283,315,480,615,733,1030,813,433,421,497,485,441,433,393,441,454,423,415,417,437,311,326,317,308,254,353,344,474,601,667,880,1242,1122,895,1210,1810,1744,1382,1106,997,1156,1348,1118,932,1288,1310,1476,1714,1362,563,384,698,1202,1076,1366,1324,1082,1009,1072,1252,1354,1158,1158,1060,1526,1654,1366,1264,681,606,973,1150,1104,1094,1142,1034,865,927,801,972,1040,1148,1272,1272,1282,1332,1174,996,980,825,961,1116,1084,1246,1056,960,1268,1224,1248,1190,956,694,956,1472,1242,991,959,1136,1138,935,1354,1336,935,839,937,1040,1080,1007,913,902,667,691,614,505,553,457,375,409,398,380,365,352,349,360,472,570,597,578,465,428,412,393,366,399,422,521,511,445,962,1340,849,973,1394,1460,1528,1396,1128,1082,1026,747,614,875,1116,1362,948,781,1284,1436,1250,999,1234,1318,1284,1132,1218,1598,1400,1174,1346,1220,1060,1404,1616,1204,822,915,1015,1200,1260,1007,1108,1070,1130,1196,1368,1666,1600,1010,730,935,736,465,636,620,414,545,699,817,1060,1302,1144,1162,1388,1362,1274,1184,1198,1260,1278,1338,1228,730,498,502,730,776,760,666,445,803,1226,1078,1258,1530,1156,765,963,1650,1616,1284,1222,1140,1190,1058,1058,1248,967,860,1124,997,749,921,991,974,1062,928,609,587,625,549,655,509,506,470,402,382,452,448,379,362,385,449,485,389,420,405,408,381,375,422,367,694,1164,1328,1416,1252,871,961,999,1058,945,1007,1242,1106,1190,1802,1738,1282,1110,1426,1486,1202,1126,1386],[1532,1306,1288,1240,841,664,1080,1084,802,631,683,763,639,526,830,1068,1108,1158,1192,1021,1820,1674,1388,1078,1015,1132,1424,1736,1400,1050,1286,902,504,454,394,336,351,361,353,346,345,345,340,360,363,390,523,537,496,346,332,488,814,997,1198,1078,680,599,680,745,749,780,819,800,846,865,996,1052,1164,1504,1808,2014,1544,1428,1384,1036,756,599,550,545,465,423,368,293,323,290,244,286,380,444,449,451,511,444,527,669,557,474,547,735,798,788,688,728,755,569,689,802,749,880,1014,870,1052,965,608,511,827,678,658,728,520,302,261,247,250,239,228,245,270,312,285,296,341,457,576,639,841,1060,1056,880,667,586,912,766,564,501,470,488,553,514,470,397,355,380,357,375,426,350,317,468,426,354,283,276,429,996,1578,1610,1190,1626,1520,1544,1108,871,1036,1118,815,667,658,548,840,861,530,606,714,669,812,1330,1272,767,552,375,407,428,398,641,1456,1742,1672,1920,1278,1015,894,1074,1288,1242,1100,1114,1274,1280,1266,833,988,1378,1522,1634,1810,1698,1462,1192,658,343,351,327,344,336,374,473,641,778,778,910,1060,974,749,803,1040,792,655,702,793,592,370,335,422,603,590,443,364,358,388,352,634,979,937,713,824,1140,1200,1001,570,321,325,336,440,703,1190,1318,1132,1270,1184,1288,1266,1190,1182,1356,1390,1276,1166,1007,995,856,973,1252,1434,1042,541,473,507,512,542,562,768,1242,1418,1454,1634,1662,1628,1666,1642,1620,1620,1542,1260,948,865,825,869,788,1040,1514,1382,1064,1272,1386,1080,1058,949,907,1038,883,745,1294,1382,1186,1354,1046,718,712,719,583,576,655,677,685,529,297,344,284,270,580,816,744,965,1422,1268,807,712,648,867,1392,1368,1514,1266,1490,1900,1154,727,780,1092,1272,1190,787,761,905,1330,1124,766,967,1222,1298,1318,1468,1780,1602,1182,1096,993,1130,935,923,1094,1184,1652,1566,1284,1188,1098,1230,1210,800,956,1100,1318,1396,1104,604,470,880,1088,1010,940,937,596,486,768,1128,1116,1100,1048,1300,1446,1002,543,390,315,273,309,353,380,410,396,415,397,375,379,416,363,392,676,1078,1316,1230,788,573,703,636,610,403,348,376,405,537,577,555,487,646,913,584,435,330,372,332,309,284,251,292,392,414,383,376,363,313,330,395,384,304,289,346,317,306,267,205,226,272,251,282,330,360,374,372,383,407,447,428,772,1058,833,1016,1692,869,466,435,602,638,786,714,628,531,551,636,816,1710,2164,1252,924,578,467,583,746,856,929,1166,1246,1134,894,827,974,931,796,716,458,516,626,615,874,1230,1330,1302,1296,1188,1188,1298,1050,479,607,902,621,511,789,1034,900,892,722,521,749,1010,1060,1134,1118,1128,1194,896,581,717,870,1080,1808,2048,1180,916,944,1158,1142,1108,1236,1218,877,733,877,880,522,427,582,496,430,376,342,352,695,965,1122,1116,880,786,761,844,982,1012,1156,1138,935,908,1160,1328,1382,1368,1342,1572,1670,1544,1592,1374,1222,1240,1218,1084,1108,1344,1384,1108,819,1028,1272,1210,1090,1166,1148,1262,1338,1266,1252,1258,1396,1558,1448,1672,1976,1830,1650,1748,1920,1846,1432,1154,1136,1310,1250,1056,1082,1364,1432,1306,971,977,1450,2050,2514,1568,1184,1342,1132,1042,1424,1402,1182,1168,1108,1204,1238,1334,1376,1362,1214,1028,671,630,786,861,1004,1152,1200,1284,1450,1284,1166,1282,1362,1480,1542,1536,1440,1684,1566,1226,1260,1394,1296,1248,1268,1284,1256,1174,767,804,1194,1348,1548,1510,1174,1074,891,728,540,964,1162,1132,1278,1348,973,881,1120,1054,1322,1252,1158,1142,1186,1212,1222,1252,1364,1288,1278,1364,1476,1584,1590,1400,1504,1260,975,804,920,945,1278,1416,1210,1350,1330,1074,828,941,1120,1192,1358,1492,1564,1694,1416,1318,1532,1262,1048,1820,1708,1026,1270,1904,1732,1198,1610,1864,1238,598,427,535,755,1250,1260,1278,1520,1270,1026,886,780,1092,1216,1172,1314,1294,1288,1346,866,820,1070,1310,1384,929,446,449,732,735,376,704,873,461,445,624,1156,1284,1054,748,656,818,814,1034,1394,1092,913,1178,1510,1618,1476,884,400,277,312,311,344,455,444,380,280,421,944,1282,736,620,903,1076,1266,1354,1112,885,869,620,577,544,921,971,541,688,444,325,301,350,488,594,512,347,288,320,354,434,522,539,550,834,894,503,418,555,557,647,865,1108,1100,1236,696,347,652,1021,1132,933,832,856,882,799,793,747,584,859,624,369,451,809,1082,990,676,402,271,236,269,351,630,1040,1220,1080,634,396,581,685,686,637,409,307,468,532,356,417,507,396,271,249,249,254,313,420,517,556,572,485,340,291,316,304,480,790,1124,1312,1058,775,725,973,1120,1250,1274,1426,1496,1534,1668,1602,1592,1478,1138,1106,1348,1218,1068,1404,921,522,688,1208,1598,1394,980,1094,1422,1654,1964,1598,914,821,563,323,303,329,675,624,1116,1322,744,738,735,464,380,427,353,269,307,456,596,498,483,560,742,1048,1094,947,833,810,707,595,628,730,601,438,388,511,639,886,1224,1382,1036,961,774,1036,776,699,904,1202,1764,1994,1930,1920,1924,1722,1222,720,686,750,879,949,807,794,863,748,665,903,1402,1860,1686,1322,1120,1388,1198,857,1392,1560,1128,1190,1216,1062,1024,1172,1348,1504,1420,1244,1012,1288,841,528,867,976,663,670,966,973,870,861,596,579,648,628,653,545,403,452,602,598,469,412,528,644,642,581,578,569,830,1028,786,581,538,426,662,1224,1232,672,427,322,364,429,538,625,1184,1434,1336,1072,841,983,1007,1104,1236,1142,966,954,713,571,551,553,636,624,682,819,872,1444,2080,2344,2172,1616,1832,1560,1074,1448,2122,1916,1290,1222,1628,1186,1004,1108,1078,1098,1080,1144,1290,1356,1302,1272,1266,1178,1180,1572,1278,1136,1176,1312,1520,1242,1076,1158,1180,887,781,1284,1534,1594,1252,1170,1316,1490,1090,924,1422,1414,1148,1388,1344,908,963,1202,1250,1466,1306,1238,1456,1412,1284,1384,1348,1007,1052,1216,1005,1532,1900,1804,1594,962,576,437,676,1112,869,561,466,703,912,684,651,1030,1078,1604,1902,2066,1960,1550,1442,1634,1338,1084,1094,1318,1346,1122,963,1352,1424,1154,843,618,608,666,733,714,805,862,649,645,440,506,700,970,1466,1340,1226,1374,1110,999,1098,858,1058,855,1066,1100,1200,1240,1036,1108,1060,514,463,651,767,828,816,508,415,348,411,589,615,615,712,963,1432,1454,1298,1350,1370,1220,1436,1450,1636,1560,1442,1482,1610,1676,1710,1636,1366,1338,1264,1050,1076,1224,988,1118,1422,1314,1088,1398,1300,1020,1308,1090,1292,1018,1278,1660,1604,1384,1136,1504,1666,996,572,1009,1346,1320,1434,1028,982,1450,1504,1488,1376,1228,1024,879,726,577,603,763,1088,1202,1098,1076,1140,919,977,1152,1278,1422,1094,1332,1356,1288,1118,1120,965,732,448,414,530,864,1148,824,673,739,985,930,568,1084,1212,1114,1666,1648,1126,758,814,1032,973,841,974,1268,1086,1064,1164,886,466,418,1110,2072,1660,987,1548,1636,1230,584,375,582,645,935,847,744,969,912,522,766,415,316,361,284,252,247,260,282,354,357,314,483,900,1290,1388,933,1046,1328,752,379,412,426,386,381,413,498,500,477,501,843,737,434,356,298,325,302,343,354,387,548,630,469,723,971,969,1060,1122,800,778,1348,1268,995,1064,741,781,889,968,1140,1184,1274,827,633,952,1160,1324,1500,1090,825,987,1094,895,1264,1242,1009,1130,1350,1422,1606,1622,1070,911,1384,1334,927,780,719,684,745,984,988,1160,1266,1314,1250,1162,1128,1102,990,1242,1356,1010,920,1202,1202,945,546,491,831,866,1224,1296,555,320,549,1032,1268,1204,1174,1234,1442,1242,1302,1456,1156,917,1092,1128,886,1102,788,662,550,535,454,389,397,357,384,423,365,335,333,334,328,342,393,467,483,534,502,429,400,398,384,386,392,413,492,985,1462,1202,675,759,1032,1252,1440,1542,1316,1010,798,948,1122,1294,1166,1288,960,977,1116,1266,1258,1262,1196,1198,1178,1226,1222,1438,1388,1268,1040,909,793,1044,1260,1100,961,838,830,949,999,970,1098,1014,874,1262,1322,1426,1600,1528,1228,1036,755,641,820,626,634,1098,1418,1350,1270,1366,1098,772,974,1334,1270,872,1088,1230,1500,1428,987,682,519,583,547,472,642,568,552,1200,1212,1094,1244,1120,1226,963,1100,1450,1288,1272,1136,1134,1296,1290,1312,1286,1132,1108,1090,767,473,650,828,781,877,781,624,873,691,720,436,343,340,377,401,406,426,434,375,373,420,446,457,414,401,375,412,399,412,519,519,655,1060,1202,1476,1388,735,794,808,797,1076,1236,1452,1404,1544,1870,1662,1394,1136,1496,1362,1172,1182,1400],[1282,1200,1272,1260,860,750,1070,1138,978,968,1170,1162,855,654,656,817,1296,1268,1206,1222,1616,1592,1470,1192,772,875,1380,1740,1606,1434,1082,539,438,429,396,365,369,372,364,362,360,347,358,390,350,354,360,377,271,250,270,324,339,505,962,1086,620,460,641,758,800,810,790,963,1340,1474,1422,1294,1320,1536,1932,2122,1786,1360,1548,1236,1016,988,731,612,530,411,329,301,342,310,326,366,343,337,335,335,419,558,742,782,608,641,530,700,657,750,890,816,648,867,907,755,1054,1412,1202,617,1100,1170,1148,804,697,594,1028,1506,948,425,474,346,321,236,228,338,578,725,485,315,508,736,782,554,601,1000,1124,1188,1100,977,903,568,486,464,415,438,410,436,488,449,449,401,378,376,355,355,336,393,403,409,427,438,468,630,1440,1956,1528,1232,979,1166,866,870,954,772,659,332,347,339,361,388,339,472,793,1124,1094,878,624,598,613,359,345,397,578,917,1502,1390,1590,1794,1468,1316,1234,1354,1242,913,544,586,1294,1598,1584,1418,1294,1292,1366,1542,1622,1528,1368,1162,576,323,368,350,367,349,398,598,755,762,952,1384,1526,1190,866,713,653,579,839,556,370,393,363,360,366,292,314,368,314,328,330,442,539,731,714,935,1062,1062,1202,943,548,393,312,285,362,541,1104,1166,1266,1600,1326,1234,1340,1182,1352,1434,1232,1574,1368,1322,1642,1230,896,1132,1224,851,579,505,508,569,719,933,1010,979,1280,1520,1598,1688,1498,1388,1362,1518,1500,1322,979,660,656,500,749,704,1092,1056,885,953,1534,1644,1011,884,1062,1326,1466,1378,1190,1294,1270,1174,1192,901,669,988,1346,894,692,742,812,597,650,511,416,351,317,617,712,710,1116,1556,1230,850,712,736,1074,1360,959,950,1172,1648,1476,1060,918,915,1180,1360,1408,1326,1214,1106,1050,946,967,1178,1144,1218,1140,1188,1938,1970,1472,1444,1408,1284,1198,1190,1356,1452,1262,1124,1206,893,668,1100,1418,838,667,964,1168,1122,1300,1042,788,980,846,564,683,678,361,480,766,1116,1474,1412,1312,1132,849,585,438,348,302,340,383,388,361,412,477,437,346,374,383,428,427,451,688,1015,1032,789,759,817,1174,651,458,453,416,476,442,341,334,535,765,986,821,501,379,330,309,300,305,288,309,400,434,390,379,371,423,412,386,377,393,375,350,334,321,346,303,191,270,386,299,313,322,348,326,353,411,409,393,367,511,886,1021,909,1404,659,410,577,883,764,560,568,544,440,594,718,616,1226,1810,1384,910,683,501,591,943,1084,959,813,985,1100,866,933,1188,1154,960,626,488,666,826,785,793,951,1204,1204,1064,998,991,1134,1086,774,741,618,417,611,995,1042,814,839,908,592,820,987,756,630,948,1276,1124,687,438,686,1026,1152,1210,1228,917,836,1048,1154,1048,974,1306,1382,1240,1338,1488,1488,672,505,810,697,497,394,370,365,794,1362,1482,1042,566,675,1124,981,826,1130,1300,1008,977,1194,1230,1270,1464,1426,1290,1478,1528,1498,1584,1538,1232,1120,1124,1176,1178,1148,1192,1164,1056,1148,1112,1206,1044,1136,1266,1234,1238,1136,1234,1346,1518,1478,1450,1756,1674,1654,1656,1760,1816,1482,1226,1158,1116,1108,1246,1298,1278,1364,1324,1198,943,1316,2344,3064,2296,1372,1192,1360,1204,949,1126,1148,1212,1174,1256,1322,1272,1278,1346,1468,1418,1000,600,583,720,868,1132,1104,1344,1534,1542,1332,1476,1434,1444,1426,1484,1560,1562,1510,1228,1202,1486,1166,1244,1232,1176,1284,1104,1268,1352,1246,1148,1204,1410,1300,1034,1108,791,508,641,1170,1262,1102,1242,1432,1272,1156,1534,1208,1202,1236,1054,1186,1116,1164,1158,1346,1516,1250,965,1288,1424,1536,1498,1378,1412,1400,1138,980,1270,1538,1642,1618,1426,1292,1078,1150,902,1362,1422,1228,1466,1290,1190,1154,1196,1500,1582,1296,1170,1590,1054,1182,1466,1534,1288,781,1202,1584,1038,455,403,452,753,1176,971,1096,1204,959,802,955,1200,1108,977,889,913,1322,1390,1184,869,779,1094,1572,1410,617,305,357,524,483,298,562,820,716,604,1116,1282,1232,1038,678,456,438,606,973,1106,1166,1478,1542,1478,1476,1082,472,302,345,399,502,763,893,692,481,413,504,945,1360,758,435,570,730,694,814,943,894,925,908,775,544,801,758,553,826,675,421,370,449,763,933,530,333,292,342,523,933,899,506,297,569,725,482,365,383,505,803,785,708,670,833,405,244,574,719,631,678,598,549,709,894,825,691,797,1078,1100,913,623,505,516,511,575,591,511,499,494,670,877,891,791,489,278,318,479,656,752,645,508,498,525,578,511,516,588,547,411,290,236,262,340,418,528,489,505,529,450,348,287,275,325,327,608,920,961,759,540,496,764,1096,1300,1528,1600,1504,1570,1642,1616,1462,1252,1192,1400,1208,828,1116,878,653,1074,1368,1454,1606,1220,887,1188,1630,2024,1226,789,913,641,464,388,291,576,648,848,1166,1386,1348,617,416,595,480,338,304,401,591,579,510,587,580,607,791,630,500,422,461,487,561,827,897,735,621,794,886,601,645,679,772,777,1120,1780,1998,1310,1018,1116,1310,1914,2140,2004,1924,1938,1736,1366,1009,621,604,898,874,807,702,418,350,527,854,1086,1238,1482,1100,1246,1554,1814,1700,1512,1302,1007,861,807,966,1138,1150,1266,1208,1278,1036,691,949,792,711,1032,1104,891,842,994,864,767,661,538,583,713,714,581,396,324,434,580,630,655,651,639,586,524,550,602,618,930,900,647,595,388,589,1130,1114,863,572,475,383,353,338,370,767,1136,984,1246,1456,1360,1114,1021,1088,1005,946,998,1048,1156,1102,950,962,914,702,720,762,808,1524,2076,2172,2072,1686,1700,1526,1230,2458,4596,4348,2458,1470,1736,1094,918,974,1078,1086,1134,1226,1236,1312,1310,1250,1268,1202,1106,1272,1034,838,861,1244,1720,1494,1058,1020,1188,1284,1078,970,873,724,755,1134,1594,1530,1080,785,1100,1264,1150,1320,1068,655,821,995,990,1146,1078,1288,1594,1650,1426,1428,1310,1152,1222,1032,963,1620,1842,1882,1938,1340,988,1028,1100,1174,843,857,817,894,960,739,865,853,1474,2338,1926,1610,1726,1410,1520,1266,906,756,623,725,860,819,986,1422,1426,1258,938,611,615,752,883,977,964,860,641,554,506,714,1034,1458,1500,1028,998,1234,1038,712,813,1019,1336,1246,973,1044,1116,883,666,815,973,512,397,509,697,1032,1072,655,387,361,409,517,738,1005,874,1052,1454,1622,1272,1288,1460,1328,1226,1286,1352,1404,1442,1484,1490,1378,1424,1394,1204,1042,1124,1112,1116,1216,1140,1104,1178,1118,1074,1160,1023,1003,1198,1238,1692,1516,1178,1300,1374,1030,775,1072,1416,1288,1146,1268,1394,1362,1338,1000,1120,1472,1630,1792,1722,1338,1108,1060,932,752,603,849,743,1002,1306,1232,1224,1122,1188,1208,1230,1178,767,719,711,1044,1076,1202,1096,637,451,558,533,717,1036,720,597,932,1434,1186,579,414,351,537,940,981,685,555,703,830,1122,1360,1054,1032,1130,1058,1034,956,659,357,763,1488,1230,1156,1622,1472,1498,1054,836,965,822,605,421,410,868,1202,569,624,386,251,264,334,345,333,307,313,401,469,525,891,1330,1572,1376,776,798,1160,1016,652,359,345,379,371,387,449,472,565,686,1086,775,539,358,265,321,339,364,369,330,428,748,412,363,763,1100,707,429,321,409,667,566,480,592,744,965,642,680,852,1096,1200,1268,1160,1196,1252,1168,810,544,533,794,1180,932,924,1454,1460,1348,1344,1516,1628,1572,1086,691,969,927,805,463,649,833,666,763,976,1244,1324,1104,1124,1254,1396,1534,1166,1272,1266,1034,973,1108,1050,854,580,368,401,670,1248,1108,699,488,541,673,970,1258,1238,1072,1094,1194,1152,1156,1384,1336,1140,1098,987,1252,988,835,882,562,327,287,308,393,402,390,368,429,440,362,318,302,363,419,390,487,533,487,443,414,386,398,442,475,482,788,792,588,440,492,782,1110,1242,1368,1526,1248,939,1128,1058,904,1028,1272,1220,968,1120,1596,1454,1260,744,872,1140,1390,1172,1490,1358,1054,963,1038,1050,1058,1080,1058,979,872,963,738,680,744,954,1014,1246,1246,1086,1316,1626,1632,1706,1562,1098,1114,928,769,964,1188,1306,1480,1444,1246,713,435,488,838,869,988,1020,1060,1354,1052,874,963,818,657,572,482,679,583,813,1348,901,883,1352,1356,1202,1072,1180,1208,1278,1344,728,677,891,1206,1402,1212,1174,1192,1007,849,788,974,1017,608,664,713,738,888,802,653,394,401,421,429,489,437,368,357,373,386,397,400,422,428,372,311,393,495,520,587,690,702,640,701,982,937,734,725,988,1404,1544,1546,1450,1664,1782,1586,1590,1204,984,847,1028,1050,1078,1086],[1568,1876,1814,1406,1240,1240,1218,1268,1274,1238,1116,767,527,433,415,442,509,913,1324,1344,1090,1202,1556,1290,736,752,863,1142,1418,1460,865,670,489,334,359,368,364,357,349,369,351,326,334,346,350,331,358,350,282,234,252,280,344,418,662,1090,812,464,656,858,800,761,775,1136,1614,1240,811,877,1116,1546,1728,2198,2062,1438,1422,1274,1250,1384,1192,921,502,357,275,260,316,247,341,412,371,331,310,319,368,521,708,749,662,464,354,567,725,888,1070,918,734,1020,843,650,912,1666,1490,630,943,1278,1432,1062,894,867,881,1044,817,642,683,744,435,265,291,300,710,1150,735,321,438,665,785,694,814,766,885,955,868,888,659,393,419,400,385,456,395,447,486,517,411,361,386,329,371,523,511,448,648,763,805,755,783,1394,2574,2578,1524,627,448,783,952,821,813,721,829,434,372,340,346,350,355,412,806,1092,792,586,700,849,554,378,374,433,572,1006,1018,783,837,1078,1416,1282,1202,1126,745,532,549,731,1334,1318,1312,1490,1422,1416,1420,1360,1468,1532,1384,957,500,409,376,430,448,336,369,594,982,1494,1860,1844,1614,1120,576,430,530,466,521,451,429,485,393,384,312,253,317,328,291,334,379,478,415,496,608,1106,1346,1330,1394,958,494,533,512,371,421,465,597,843,1288,1522,1242,1148,1406,1258,1408,1230,937,1312,1186,1262,1388,1366,1178,1162,1168,1096,1072,1122,1264,1404,1510,1450,1108,577,730,1040,1364,1498,1462,1316,1136,1246,1116,1058,1003,661,544,486,845,1338,1566,1072,527,572,924,1076,767,594,1003,1296,1322,1476,1522,1592,1376,1042,1088,1150,1132,1310,1138,842,1108,1174,988,661,602,594,702,875,859,955,1194,1022,1110,1610,999,725,676,808,1062,899,698,949,1180,1226,1272,1082,1108,993,1174,1392,1346,1058,722,788,945,1034,943,827,893,921,533,525,1246,1498,1342,1194,1282,1190,1100,1206,1478,1488,1118,976,1034,699,663,933,1180,687,643,1066,1102,1064,1222,1254,1100,880,869,756,621,704,488,725,712,813,1218,1206,896,747,794,641,543,591,488,395,377,371,362,419,550,503,400,395,559,685,512,418,493,717,838,1046,1060,1240,1080,529,405,413,498,614,626,462,388,547,1016,1108,719,462,380,357,322,289,277,292,387,537,521,402,399,396,400,418,410,361,381,402,368,369,362,321,261,211,300,369,301,284,323,298,292,375,403,354,322,336,403,571,1080,913,550,338,391,785,1040,823,684,508,543,522,697,918,1066,1018,1132,1052,610,479,629,911,1188,959,870,931,995,938,780,987,914,767,843,752,659,861,1056,1246,1118,1023,1278,1218,944,921,659,966,1011,885,721,377,517,954,874,1005,989,811,632,577,843,863,563,346,547,735,871,720,590,984,998,901,868,1294,1178,1148,1122,1046,1036,1110,1390,1440,1194,793,1108,1554,1114,981,1216,927,609,688,810,714,854,1148,1018,1003,905,767,1334,1160,741,1216,1532,1220,1232,1354,1194,1302,1492,1318,1246,1334,1440,1524,1578,1488,1296,1260,1226,1166,1124,1034,1078,1090,991,1050,1236,1216,1122,1122,1182,1184,933,805,957,1444,1512,1264,1314,1564,1638,1650,1732,1722,1578,1284,1242,1324,1332,1222,1246,1400,1782,1428,1122,905,1628,1856,3146,3392,2172,1460,1176,1274,1126,801,833,1026,1310,1146,1108,1168,1180,1222,1502,1580,1368,1130,774,677,722,821,1136,1234,1406,1448,1338,1338,1484,1584,1542,1408,1274,1376,1510,1418,1192,1252,1220,975,1332,1272,1176,1122,1116,1340,1354,1256,1210,1166,1378,1360,1038,1028,924,876,1194,1466,1360,1264,1290,1404,1486,1486,1750,1242,1202,1192,1096,1136,1136,1148,1268,1456,1416,1304,977,1130,1204,1390,1454,1464,1504,1488,1448,1328,1382,1516,1598,1656,1436,1236,1216,963,1348,1504,944,1710,1978,1012,666,536,586,1070,1488,1226,1094,1086,1652,1738,1468,1450,908,334,471,760,680,613,481,650,1290,1310,1056,1070,1098,1344,1278,1124,1090,824,1064,1372,929,1070,1466,1362,1042,883,1100,1408,1088,433,366,356,284,276,298,333,733,939,728,1356,1296,689,485,371,330,354,493,926,1380,1556,1532,1040,631,951,1060,717,330,426,521,547,763,1017,1008,669,631,488,526,551,471,810,1100,1002,1020,1182,1058,988,958,1308,1294,778,945,966,586,797,1096,958,594,390,692,813,410,318,291,368,878,1408,1376,726,282,609,871,462,415,499,537,1180,1426,1082,648,670,487,311,752,892,500,350,369,299,396,425,491,530,522,565,930,1278,1262,1098,1060,804,738,651,590,706,662,569,449,298,187,174,222,300,451,662,594,421,394,504,458,383,454,538,579,589,539,427,313,289,341,497,552,494,487,509,549,437,287,261,279,302,338,386,526,651,845,594,506,794,1262,1484,1506,1490,1520,1628,1600,1446,1426,1252,1462,1300,1250,1454,1192,1021,998,908,1334,1520,1188,969,1062,1534,1246,947,1252,929,620,628,561,426,541,654,648,590,1088,1250,483,329,330,276,259,302,443,595,593,470,379,339,359,490,548,601,612,653,614,457,677,849,567,726,1486,1360,606,451,394,621,1506,2674,3562,3206,1632,805,656,829,1696,2048,1904,1836,1764,1662,1302,993,621,517,666,717,674,511,464,725,596,741,975,1308,933,731,1178,1930,2776,2494,1376,1052,928,712,678,763,1036,1110,1056,1206,1458,1388,987,625,586,961,1186,1074,949,991,920,736,618,541,507,587,692,624,519,478,411,515,670,615,659,695,632,585,560,621,651,703,891,719,614,659,622,1090,1028,503,476,572,568,551,427,340,408,813,899,601,969,1070,1286,1312,1136,1220,1190,993,736,824,928,715,977,1036,1110,1236,1124,1036,1172,1864,2036,1976,1912,1854,1748,1388,1428,3498,6700,6040,2380,1318,1546,1086,932,974,915,874,855,966,1058,1188,1180,1208,1278,1064,1500,1268,815,1034,1276,1628,1866,1594,1128,1140,1210,1080,728,445,365,396,621,1036,1398,1492,1224,774,957,880,1011,1036,995,1140,976,850,997,767,719,969,1052,1254,1226,1262,1082,1030,913,557,787,1858,2454,2322,2032,1676,1822,1780,1320,734,724,908,1040,1040,774,508,636,601,914,1298,1366,1562,1412,1250,1132,1116,1050,602,412,433,668,1044,1440,1398,1278,1316,1015,591,536,683,806,1074,1038,1082,952,741,951,1242,1324,1190,1020,1272,1188,913,611,691,716,771,1222,1324,1114,1126,987,638,583,739,852,520,360,455,632,1120,1180,667,519,775,866,878,881,1224,1120,909,873,1192,1206,1310,1328,1174,1172,1268,1310,1462,1450,1604,1542,1500,1564,1454,1156,1050,1226,1246,1366,1454,1346,1226,1005,1130,1522,1562,1278,1248,1224,1290,1528,1382,1116,1030,848,775,782,794,888,977,1168,1072,1552,1516,1314,1144,1036,1272,1670,1786,1488,1092,1090,1168,833,888,944,1018,686,682,1116,1272,1166,828,712,810,969,850,525,293,361,658,901,999,758,524,468,530,669,998,954,703,505,855,1132,810,387,336,423,595,902,1052,672,368,603,984,1130,1364,1028,662,928,871,508,558,633,338,321,496,720,1100,1276,1456,1816,1278,623,624,456,370,393,282,407,980,824,724,483,438,553,489,458,513,405,449,536,796,1062,1100,1116,1346,1322,670,499,686,851,885,537,359,357,404,398,400,501,581,664,738,594,460,387,318,321,366,457,391,392,383,777,627,383,433,638,628,587,445,513,714,568,467,725,1011,962,708,882,950,929,1118,1216,1180,1146,1060,823,572,461,495,700,1154,1228,778,1064,1490,1460,1486,1550,1108,825,604,496,719,535,461,459,822,883,582,755,988,1258,1292,1004,1148,1178,1246,1534,1308,1208,1232,959,711,930,1544,1664,1005,402,331,501,968,919,788,554,988,988,731,854,988,902,826,1186,1160,1038,1242,1432,1019,1194,1086,1066,858,593,499,359,289,297,346,345,409,389,398,525,515,439,372,348,408,445,461,515,549,600,566,454,409,388,401,446,431,429,466,513,497,426,515,821,933,1184,1642,1108,1007,1182,1268,1208,1200,1156,1150,1182,1172,1404,1360,1270,883,800,1362,1410,1444,1734,1288,954,1096,1286,1400,1220,1064,1084,1286,1240,1310,1174,980,1066,1182,1476,1648,1120,1010,1346,1610,1584,1682,1648,1374,1226,1170,1118,1274,1406,1506,1534,1290,1146,1072,584,430,443,637,1154,1013,998,1348,1318,1058,1194,1156,882,861,663,629,504,839,1166,847,875,1268,1238,1076,1124,1288,1332,1460,1338,902,940,852,974,1212,1170,1226,1336,1236,1348,1206,1052,1158,1336,1200,1208,1152,922,841,630,540,615,559,474,452,397,398,347,359,342,357,387,414,425,359,320,446,582,533,509,525,474,436,598,755,966,1278,1208,1388,1508,1316,1122,943,1428,1428,1490,1168,843,723,554,791,1030,1174,1346],[1494,1534,1182,1020,1208,1060,711,906,904,847,656,441,398,360,363,412,415,533,847,1136,1172,1036,1236,1206,899,804,986,1178,1426,1102,1058,1112,777,571,362,344,365,350,327,368,358,336,343,346,343,321,296,292,304,243,262,264,318,485,633,943,1086,844,756,825,798,885,955,1120,1600,1556,1208,974,1104,2126,2362,2432,2094,1238,1152,935,924,943,1228,1218,539,369,394,495,400,268,351,543,667,457,309,326,368,442,545,527,467,364,416,655,928,915,854,899,777,899,516,385,621,1332,1306,686,559,758,956,991,1078,1058,737,559,630,854,777,965,622,309,343,269,315,397,348,291,429,713,808,902,1044,952,1308,1072,681,623,477,440,419,384,401,411,401,458,474,469,348,339,402,386,473,702,637,420,714,878,954,891,855,958,1078,1488,1028,435,495,1114,1416,1134,979,955,813,529,498,444,400,369,358,401,569,652,467,540,1356,1622,608,351,385,402,707,1074,908,702,650,992,1456,1418,1334,905,583,504,775,1036,1494,1322,1272,1228,1056,1388,1534,1564,1508,1598,1246,609,484,491,440,673,831,658,394,455,877,1644,2098,1864,1142,917,539,332,364,350,491,510,375,390,301,317,323,300,310,287,276,341,476,442,329,307,441,694,1054,1450,1426,876,537,1096,925,672,753,799,866,977,1320,1506,1482,1476,1498,1458,1462,1410,1128,1242,1420,1540,1514,1388,1242,1116,1114,1144,1098,1208,1426,1622,1600,1130,600,439,623,942,1300,1552,1504,1380,1326,1048,678,628,570,420,424,573,1296,1704,1432,838,389,365,345,354,449,747,1096,1174,1154,1282,1358,1522,1404,1146,1354,1030,976,1286,1030,1003,921,805,570,558,552,479,691,1060,1178,1282,1498,1124,893,1214,796,569,941,1004,830,1004,1070,1064,1068,1040,1182,891,1060,839,931,1236,1228,923,836,960,935,877,664,456,772,857,468,390,1124,1316,1246,1354,1382,1292,1190,1522,1748,1538,835,681,727,739,827,822,1002,681,899,1064,827,736,875,1294,1096,729,949,729,553,606,587,548,342,369,633,994,1023,897,864,718,911,1005,908,591,389,343,449,457,467,575,569,519,737,633,421,457,684,805,1016,1100,1034,1066,890,673,510,449,492,552,591,470,473,549,849,782,601,509,455,375,338,291,284,300,405,492,489,451,455,434,374,371,377,359,373,360,336,353,343,284,245,206,297,348,282,263,298,277,228,271,318,258,273,318,441,430,622,1074,1102,748,575,651,558,664,943,748,667,507,712,1188,1454,1262,980,771,583,832,1026,996,1216,719,661,693,995,937,863,946,947,754,767,720,695,879,1278,1428,1026,1011,1330,1316,1056,921,796,872,779,640,645,522,553,796,966,1286,1328,1026,920,926,729,785,619,480,697,807,924,617,801,1011,927,882,943,883,1042,1094,891,1082,1058,904,932,1110,1224,574,606,803,818,1228,1332,980,914,1180,1378,1204,851,754,546,921,1110,1060,1266,1060,1078,1324,1158,1038,993,1250,1350,1508,1498,1304,1296,1410,1466,1522,1584,1462,1462,1432,1192,1576,2282,1286,1214,1174,1312,1606,1306,1184,1210,1220,1230,1116,988,1084,1334,1560,1274,1212,1338,1504,1654,1764,1772,1784,1492,1240,1260,1344,1290,1328,1202,1814,2294,1866,1178,1005,1604,1912,1924,1560,1480,1402,1168,1306,1140,829,902,1062,1262,1228,1168,1218,1172,1168,1400,1362,1130,1124,1094,1068,932,986,979,1132,1236,1284,1444,1552,1542,1392,1318,1416,1296,1242,1130,1416,1416,1238,950,1262,1390,1168,1160,1058,1224,1396,1310,1426,1454,1128,1136,1308,1318,1362,1442,1396,1202,1086,1266,1290,1120,1258,1410,1470,1380,1106,1120,1326,1274,1080,1128,1238,1432,1554,1812,1734,1470,1072,872,953,1288,1606,1560,1442,1488,1458,1516,1676,1438,1318,1314,1240,924,843,1202,1076,899,1538,1782,1272,1010,579,441,750,1312,1200,1176,1328,2092,2048,1542,1628,1356,426,416,996,816,616,664,1120,1362,1224,1176,1184,1262,1442,1278,847,772,921,1080,1366,1406,1244,1334,1456,1422,1362,1230,1134,803,329,359,347,286,288,316,408,696,741,644,1252,1378,795,672,494,736,1010,1084,1392,1374,957,710,582,765,796,939,951,621,566,491,389,390,642,847,751,606,428,407,304,446,1038,1382,1376,1438,1326,1080,1052,867,813,736,655,1224,1164,486,667,1248,1252,658,335,505,890,656,410,299,401,901,1562,1678,792,280,443,799,458,468,659,512,807,1274,1444,990,714,533,305,619,720,507,622,694,402,358,658,1102,1274,1078,701,492,874,1136,548,437,586,803,817,670,449,436,381,446,412,273,304,309,322,457,623,503,409,477,437,382,307,335,484,572,572,596,577,473,382,304,367,492,527,493,463,509,476,348,209,265,362,311,232,285,325,609,797,673,656,997,1356,1418,1484,1494,1502,1550,1624,1638,1314,1138,1296,1592,1388,1198,1288,1054,1058,1222,1226,1600,1440,1076,1262,1012,1042,1226,1188,831,520,748,911,602,581,767,1230,1472,819,631,594,490,430,381,344,388,486,636,750,669,646,601,580,534,502,572,723,642,378,547,705,631,778,1328,1048,583,797,683,1728,3124,3460,3242,2446,737,565,1270,2362,3250,2440,1810,1776,1854,1594,985,779,667,585,974,941,465,579,1868,1520,1028,975,968,1250,1146,990,1224,1764,2348,2044,844,514,414,487,527,503,750,1007,877,1026,1436,1364,783,438,1005,1572,1302,1011,1005,969,823,693,567,586,550,557,574,528,579,556,430,528,631,623,735,753,561,533,532,434,501,827,1036,670,689,585,1038,1256,670,458,469,542,622,644,552,378,523,991,763,551,719,1166,1350,1148,1050,1338,1216,864,905,1050,1026,711,858,758,896,831,974,1188,1240,1508,1482,1460,1584,1730,1800,1272,1012,3038,4720,4492,1968,1015,1328,1178,1144,1212,930,863,669,1130,1290,1078,906,922,1030,933,1360,1158,1013,1438,1566,1484,1494,1680,1312,1462,1258,1050,900,598,465,769,899,683,1010,1092,1008,973,1214,1038,1160,1026,723,1138,1216,782,564,509,700,911,756,908,1124,1306,1168,1023,756,492,433,728,839,836,849,853,738,456,413,329,576,1222,1500,1116,713,537,514,665,888,1128,1346,1384,1338,1192,648,510,465,335,424,907,1100,804,1162,1108,1040,1146,948,594,504,518,448,651,1040,1324,1300,1362,1614,1490,1370,1216,945,1274,1124,955,709,931,858,636,980,1362,1394,1340,1262,1104,1066,958,884,556,353,415,633,967,1032,872,962,1180,1092,1192,1158,1238,1288,1190,1330,1526,1354,1314,1378,1344,1198,1430,1368,1304,1502,1494,1542,1298,1090,1252,1128,1146,1382,1420,1460,1338,1008,943,1084,1720,1732,1308,889,944,930,849,734,648,941,973,719,896,1023,1002,1042,1152,1166,1500,1702,1326,1278,1354,1040,1104,1488,1188,1282,1114,857,844,1104,1264,1284,1242,821,672,1000,910,758,635,1000,1372,1170,803,581,432,386,629,720,589,534,580,550,778,1019,1009,857,691,498,347,417,464,363,349,509,600,871,947,603,569,755,1021,1182,1218,881,522,463,402,369,389,640,490,357,312,1009,1708,1430,967,1082,977,774,659,400,321,307,330,418,636,563,640,607,586,674,526,603,755,593,572,437,759,1228,1013,764,1232,1776,1478,1122,1660,1736,1260,846,517,338,342,340,433,716,795,586,525,507,501,634,394,340,336,404,402,470,397,598,756,595,418,485,504,498,472,574,818,797,839,1080,929,778,1100,1298,1186,1208,1276,1144,1240,1017,879,690,653,467,401,653,966,1190,828,576,1032,1522,1582,1394,1224,952,646,481,548,436,381,463,681,619,455,564,836,1132,954,1074,1304,1212,1418,1390,988,1042,1174,889,767,1064,1414,1236,1074,510,370,430,1364,1122,620,544,894,676,384,502,804,898,709,924,1072,1202,1100,1424,1158,825,744,905,803,783,634,369,388,393,430,310,363,343,373,487,442,340,343,360,357,421,433,464,492,522,521,436,443,427,436,457,399,404,502,534,571,471,412,619,1013,1260,1214,1144,1228,1288,1366,1334,1366,1326,1186,1204,1342,1272,1450,1338,1168,1318,1480,1448,1400,1016,780,949,991,1086,1260,850,979,1200,1258,1262,1346,1236,1122,1354,1454,1724,1568,1066,1194,1478,1566,1650,1672,1690,1666,1498,1290,1318,1446,1466,1650,1422,1158,1184,1120,768,496,433,897,1238,1158,1266,1298,1336,957,971,1122,1076,971,882,777,957,1007,1013,1086,977,1054,866,1114,1302,1450,1378,1572,1356,1302,1348,1048,802,932,1244,1182,1196,1354,1396,1528,1070,1176,1434,1070,966,1050,924,697,651,687,560,451,441,350,360,412,376,331,423,577,539,487,406,324,313,392,518,571,529,495,468,375,709,969,839,1009,1420,1386,878,945,948,1004,1178,1210,1100,801,832,1140,1078,709,800,1164,1414],[1054,996,612,576,608,455,330,327,326,525,511,335,314,298,363,433,380,379,436,692,1054,1116,969,886,985,1208,1254,1396,1306,1100,1324,1128,835,660,373,372,372,384,372,362,347,348,363,348,325,296,276,269,282,272,286,282,324,495,557,549,818,1256,1312,1498,1750,1680,1502,1532,1742,1904,1946,1742,1750,2204,2266,2172,1824,1044,919,1140,902,688,725,722,564,567,792,883,473,295,425,903,816,456,319,298,322,403,507,436,375,480,622,733,664,550,745,890,872,735,532,505,668,850,696,514,421,432,624,611,583,597,608,722,810,885,721,864,752,406,477,397,310,333,391,529,767,778,785,832,875,1076,1108,740,713,808,912,596,381,381,397,412,447,468,502,572,490,353,424,431,394,456,404,387,690,837,905,948,875,1106,1982,2378,1824,768,813,1300,1334,1376,1190,1100,828,551,463,386,372,384,404,428,469,525,549,675,1184,1194,608,443,527,561,759,783,713,792,756,1082,1466,1566,1406,703,437,573,860,1170,1316,1148,1206,1316,1394,1294,1444,1572,1598,1656,1484,1086,927,816,695,805,948,713,499,571,662,735,761,1001,642,689,597,313,460,878,1158,792,411,371,265,286,319,360,379,343,312,323,327,299,350,414,442,409,503,634,951,813,523,838,769,783,957,1184,1358,1296,1494,1628,1476,1418,1386,1500,1482,1406,1324,1260,1248,1170,743,667,576,525,469,368,375,706,1388,1824,1638,1013,581,661,917,1052,1108,1398,972,886,948,809,536,480,455,430,376,608,1080,1028,965,509,349,345,351,460,443,591,773,935,1122,1272,1178,1234,1296,1252,1256,868,697,1023,765,717,840,806,592,487,644,826,908,1040,1030,1096,1086,916,867,968,617,580,999,899,811,1056,1128,1096,1148,774,914,1023,1032,688,891,1124,1162,1092,1015,872,818,934,767,473,750,1156,992,728,1100,1330,1310,1340,1452,1408,1170,1392,1428,1240,954,976,900,930,778,694,811,764,744,757,555,316,557,1200,963,557,589,466,385,582,938,788,385,305,414,694,859,897,875,854,1010,1252,1256,862,588,510,480,486,495,482,477,515,533,388,330,629,1346,1384,1140,841,506,474,541,636,870,897,780,726,590,436,499,595,557,430,418,401,423,351,313,328,301,337,403,370,410,516,603,547,391,318,354,364,380,374,382,365,344,281,226,191,257,339,296,285,290,302,264,253,248,232,245,237,336,360,432,927,1320,1152,687,741,628,525,851,868,953,973,1112,1222,1384,1328,999,870,1008,1290,984,1068,1128,1312,1410,988,1084,1124,1130,1188,967,731,1082,1192,828,832,1348,973,800,1074,1202,1250,1214,1180,990,817,688,536,685,694,577,733,969,1170,1054,928,1034,865,858,1234,1070,867,891,1096,1054,713,786,938,1108,1054,1028,991,1052,1154,1009,1026,1082,694,780,1208,974,485,519,486,484,835,1054,1023,1226,1390,1262,1166,1046,792,656,808,772,927,1052,839,883,912,855,965,991,1216,1324,1360,1278,1208,1262,1390,1438,1516,1616,1420,1270,1176,1192,1440,1830,1622,1484,1368,1394,1276,1206,1284,1310,1310,1188,1200,1114,1268,1418,1168,1172,1290,1438,1672,1760,1742,1742,1644,1516,1542,1218,1348,1210,1258,1190,1920,2130,1472,1074,1288,1298,1324,1352,1356,1300,1382,1360,1534,1216,983,1186,1320,1260,1280,1350,1238,1096,1001,1344,1388,1266,1126,1928,1852,1246,995,985,1022,1050,1432,1532,1432,1450,1406,1406,1456,1188,1114,1160,1246,1376,1418,1396,1402,1270,1222,1222,1066,1196,1376,1178,1278,1300,1226,1332,1462,1412,1462,1428,1088,1108,1414,1388,1338,1290,1470,1512,1508,1520,1274,1288,1550,1330,1460,1464,1296,1284,1438,1598,1378,1368,1054,838,966,1220,1478,1432,1262,1426,1358,1226,1312,1398,1234,1172,955,1026,1088,888,783,1152,1780,1764,1416,827,727,551,922,1274,1114,1378,1590,1594,1668,1732,1928,1284,510,915,1316,1026,921,1224,1294,1162,1148,1252,1208,1158,1090,858,484,685,1210,1262,1538,1820,1600,1316,1388,1128,1164,1438,1518,1086,569,445,335,322,322,317,597,782,772,866,1216,1212,1100,871,1074,1342,1234,739,726,708,526,381,541,722,514,481,521,730,820,562,412,354,440,465,465,553,684,594,448,667,1230,1364,1224,924,910,666,477,470,422,457,629,957,807,466,504,747,702,401,321,607,941,1026,686,307,351,471,995,1710,853,316,322,615,472,459,631,599,603,1108,1432,1004,764,662,356,318,375,473,445,435,352,550,850,1204,1404,1400,1130,607,870,1144,575,641,1130,1252,1116,977,862,613,324,440,621,512,381,269,281,394,539,524,518,576,569,489,383,396,487,561,612,551,559,543,484,368,321,349,446,502,468,459,473,398,250,256,246,224,223,248,257,393,570,793,900,856,1038,1200,1378,1448,1472,1498,1534,1436,1440,1338,1408,1438,1298,1356,1598,1174,1222,893,1114,1488,1278,1172,1130,1148,1346,1436,1200,877,626,738,1054,837,613,592,885,1026,1042,980,905,805,636,478,386,377,375,448,726,579,478,491,563,670,714,759,732,532,441,789,872,845,733,1128,811,479,1116,1416,1426,2106,3050,2566,2148,1136,1726,2920,2338,3226,2910,1982,1688,1412,1021,728,756,741,681,879,567,728,2374,3400,1826,1134,1268,1322,1368,1402,1288,1284,1356,1434,1278,683,441,419,346,318,419,681,1032,1096,1170,1360,1110,586,807,1556,1452,999,952,929,858,786,618,574,561,604,816,719,570,539,478,433,493,571,768,914,785,730,961,798,609,824,1100,832,597,517,617,1014,770,529,507,527,660,619,592,582,408,679,1208,747,483,638,973,969,896,1132,1514,1182,891,1084,1238,1156,1158,1116,993,1056,1094,1110,1001,887,814,922,1098,1212,1362,1468,1356,1216,2040,2706,2696,1574,1088,1136,818,1180,1496,1256,1082,848,1252,1524,1084,753,639,718,794,883,997,1134,1238,1472,1454,1368,1512,1286,1456,1368,1216,1009,811,612,880,1114,1152,1162,1182,1208,1400,1556,1192,1108,1112,664,823,1216,946,885,772,691,976,736,730,800,1118,1180,849,688,554,368,407,434,466,406,425,418,460,517,533,489,1038,1416,1106,1010,1108,1144,1378,1384,1220,1013,1174,1094,880,677,771,874,539,500,744,607,587,1322,1448,1072,939,753,493,464,462,463,669,893,1024,1232,1410,1506,1120,968,1038,998,886,858,842,749,727,806,728,1076,1306,1172,1208,1336,1416,1292,1160,865,470,383,452,781,953,1058,938,904,1032,1114,1106,1210,1190,1180,1058,1023,930,883,1202,1208,1220,1106,1424,1350,1404,1454,1426,1614,1326,1168,1470,1184,766,838,1320,1354,1438,1250,1112,1376,1648,1514,1104,1078,1136,763,538,454,572,688,846,871,1019,1108,1118,1470,1410,1178,1456,1486,1418,1346,1324,1170,1284,1314,1180,1060,1005,977,976,1138,1148,1168,1224,803,995,736,750,875,1032,1396,1442,1294,940,694,854,685,569,617,506,690,806,838,887,777,773,813,838,699,343,340,424,434,328,495,459,510,484,391,721,779,712,825,700,665,560,525,506,412,290,446,504,392,287,818,1450,1266,580,417,673,989,742,502,407,325,357,420,409,320,373,414,600,777,549,530,804,695,647,415,684,1286,1136,717,856,1452,1998,1824,2356,2490,1632,1144,893,518,371,326,441,971,1238,706,559,429,448,666,491,317,291,346,347,390,426,455,707,894,647,598,434,564,834,996,1122,1282,1338,1442,1360,1284,1260,1202,1318,1366,1220,1434,1236,1030,1340,824,628,461,345,487,794,995,761,745,1116,1482,1614,1106,900,1072,855,709,607,427,402,449,534,526,325,356,764,1542,2024,1250,1015,1192,1074,1038,913,896,1142,1176,1248,1274,1120,1268,1322,717,414,416,724,833,681,810,1118,813,353,464,880,986,558,544,878,1186,1176,1388,1372,923,563,603,857,1178,951,546,372,372,337,261,339,324,394,578,631,575,354,343,324,375,425,444,418,395,430,453,445,391,433,408,317,465,641,582,523,499,498,806,1274,1240,1268,1464,1454,1362,1384,1420,1520,1504,1404,1446,1240,1202,1522,1226,857,1026,1302,1462,1172,831,658,761,946,1076,1148,1098,1222,1214,1340,1220,924,1156,1362,1268,1104,1144,962,851,1318,1738,1788,1560,1582,1512,1554,1670,1552,1528,1692,1804,1670,1250,1160,908,612,498,458,595,1010,1258,1172,1194,1236,1222,831,750,800,1002,897,822,1188,1306,932,1074,1302,1280,1184,704,1038,1316,1392,1322,1472,1350,1382,1502,1584,1418,1266,1284,1250,1296,1048,1136,1278,1074,1114,1004,954,851,551,451,440,631,793,538,377,488,430,309,301,333,325,558,835,649,564,478,350,319,350,456,489,450,410,460,495,666,984,1038,1346,1556,1310,835,807,768,976,1338,1290,1026,1036,1066,1356,1056,849,843,993,1100],[686,760,566,430,335,274,274,324,358,566,520,303,353,307,331,351,444,460,495,483,510,771,897,1010,1206,1466,1578,1576,1616,1384,1150,1216,1026,577,473,535,361,368,445,363,361,356,359,334,303,279,267,262,264,269,300,330,340,373,409,364,454,1188,1660,1724,1710,1668,1692,1686,1620,1634,1744,1802,1686,1542,1516,1450,1240,1214,1302,1492,965,651,643,789,968,880,1007,888,379,326,386,566,378,310,339,355,353,429,577,632,551,499,492,468,511,643,668,595,823,816,711,642,680,716,561,384,333,521,861,603,342,297,384,531,566,562,471,609,667,484,510,563,650,555,730,768,702,522,596,607,467,574,587,466,556,643,811,494,340,359,358,407,435,351,502,912,797,472,552,361,378,355,399,430,443,589,772,961,914,1162,2092,2436,1596,741,935,593,707,1208,1166,1122,972,562,455,368,379,347,357,388,488,548,498,565,908,951,659,520,530,623,754,462,426,722,966,1300,1408,1562,1168,581,514,1006,1368,1196,836,587,1122,2670,1726,893,1164,1428,1534,1584,1622,1594,1528,1356,1130,873,869,695,796,741,869,1104,1214,987,686,788,704,332,382,788,1288,741,379,348,305,252,300,518,707,597,345,272,331,375,425,443,412,438,464,534,874,875,643,664,739,925,1140,1334,1350,1374,1426,1324,1122,899,871,1003,1120,1174,1160,1256,1440,1078,547,498,430,411,456,487,551,576,1162,1600,1306,1058,954,897,988,796,805,1182,795,614,703,694,545,507,438,426,382,593,945,741,702,496,399,353,365,485,477,741,1132,1088,1172,1262,903,1206,1164,1238,1336,998,778,911,725,692,958,1042,839,650,947,1108,1018,764,607,855,883,696,609,548,524,667,1020,1260,1236,957,866,934,992,987,1036,1132,1132,860,814,1088,1406,1438,1234,933,1072,1216,850,596,842,1246,1324,1146,1298,1418,948,789,1056,1170,955,1034,976,834,1023,1302,1298,1338,1186,987,1180,1196,656,502,497,785,1260,1021,862,800,627,529,661,855,846,655,608,376,464,568,849,861,792,799,1204,1484,1062,666,655,699,578,605,495,417,435,389,357,372,587,1023,1518,1412,975,971,645,429,369,390,1010,1316,1320,1226,941,684,561,597,445,470,774,772,386,313,220,269,303,335,372,393,399,487,509,419,379,350,386,385,390,385,388,371,367,310,267,244,258,339,283,262,291,324,306,266,244,241,259,247,244,257,385,628,888,1158,1102,1236,1068,489,571,524,494,1040,1282,1090,1092,1096,1050,1132,1244,1208,1192,866,761,1122,912,1008,1208,1170,1196,993,675,684,1160,1196,1064,1170,1318,824,764,957,1146,1044,1078,1214,1140,855,916,683,741,704,649,822,1076,1158,1010,1052,1240,1156,1005,1442,1458,1164,1088,924,749,677,752,953,1210,1210,1110,1068,1052,1336,1200,1194,1730,1260,982,1152,785,372,426,576,639,823,1260,1294,1300,1208,1212,1288,1164,754,803,747,568,716,625,399,499,899,1178,1374,1322,1290,1158,1140,1274,1264,1350,1476,1492,1466,1600,1336,1302,1266,1154,1098,1270,1252,1170,1238,1128,1100,1310,1200,1118,1136,1090,1156,1214,1198,1152,1218,1392,1506,1630,1662,1652,1614,1428,1434,1656,1936,1388,1250,1180,1146,1334,1528,1390,1048,1005,1130,1226,1298,1512,1418,1322,1432,1402,1342,1210,1017,1150,1284,1130,1384,1708,1444,1102,1074,1524,1466,1374,1246,1780,1608,1204,1090,1250,1254,1234,1354,1270,1356,1306,1274,1320,1334,1046,997,1154,1210,1256,1330,1472,1446,1402,1226,996,933,1396,1404,1216,1312,1380,1356,1354,1178,990,1164,1408,1166,1382,1512,1308,1250,1140,1300,1512,1532,1698,1716,1654,1568,1524,1778,1310,1054,1088,1142,1250,1208,1242,1270,1032,991,1252,1664,1376,1300,1416,1284,1216,1258,1116,1016,965,1366,1560,1272,1098,968,1394,1478,1212,1052,1048,1168,810,1132,1366,940,1084,1340,1382,1660,1876,1582,751,837,1334,1410,1448,1954,1914,1236,823,659,601,458,401,641,714,623,1224,1600,1430,1460,1734,1748,2460,3378,1070,541,896,1130,1316,1196,916,873,836,718,595,638,740,686,838,1082,905,908,594,916,888,579,363,427,648,774,549,360,313,268,374,485,359,621,876,746,458,432,384,375,602,628,506,457,576,647,725,841,608,759,705,549,459,497,563,547,700,678,403,381,388,265,268,274,295,399,552,447,319,278,401,626,919,398,261,285,561,565,445,554,651,713,875,756,662,1015,895,458,309,316,303,273,264,297,464,925,1286,944,1021,1192,685,785,1338,1023,823,1036,1092,970,703,594,750,703,804,772,1050,956,573,305,324,468,531,552,615,657,596,510,436,486,531,573,533,533,560,587,517,388,272,306,442,492,437,453,426,351,235,210,251,237,221,252,253,286,511,846,1054,985,777,879,1194,1340,1434,1448,1452,1534,1566,1356,1472,1588,1296,1330,1648,1620,1148,941,924,1024,1158,1160,1150,1256,1344,1166,946,1058,658,933,1088,819,579,576,889,1210,1204,1152,1088,888,510,404,417,368,354,486,583,651,649,764,929,932,922,760,430,402,879,887,948,881,828,658,716,1410,1728,1384,1404,2950,2658,1534,1924,3582,3876,2414,2480,2302,1796,1522,804,614,736,904,1100,1038,623,813,2370,3406,2258,935,633,910,1294,1604,1538,1308,1290,1252,1334,1218,804,543,601,502,352,451,668,1013,968,980,913,767,640,1268,1486,984,752,879,810,723,603,546,582,619,756,789,613,529,448,388,439,517,528,636,799,838,1082,1440,1362,1278,1324,1132,733,510,489,907,910,472,435,449,607,639,490,557,444,414,985,1050,556,424,720,1100,1096,930,1126,1578,1382,984,893,893,859,1166,1190,999,1166,1272,1144,1266,1010,1260,1216,680,585,782,993,1170,1178,1322,1640,1576,1272,1174,940,519,543,655,1134,1188,1114,1252,1130,985,803,538,563,680,717,788,980,1176,1458,1448,1270,1310,1386,1384,1302,1308,1362,1346,854,1166,1288,983,1214,1436,1282,1416,1540,1074,1060,1310,734,753,1302,1302,1010,809,812,1080,877,699,799,1098,1152,965,849,833,940,992,985,1016,1046,1194,1180,1092,1116,1092,1116,1276,1330,1346,1052,1023,1114,1170,883,649,576,971,1284,1266,1048,1007,980,579,469,515,395,418,988,995,758,965,869,554,432,525,807,901,704,853,1310,1382,1007,731,885,1130,1092,944,832,806,848,664,808,721,973,980,869,641,785,1254,1344,1220,872,535,645,745,1144,1180,1208,682,522,696,794,744,708,846,1264,1382,898,400,436,697,763,944,1320,1520,1396,1364,1426,1690,1878,1550,1022,1188,932,784,988,1272,1266,1384,1276,1288,1356,1398,1218,767,922,1124,871,526,367,385,318,543,927,1152,850,806,1190,1124,1186,1276,1346,1342,1064,908,938,1194,1256,1310,1340,1288,1024,871,1070,994,1006,1298,1064,899,666,735,689,656,860,1102,1274,1144,943,1314,1216,508,549,603,750,929,968,678,648,913,866,977,1086,504,316,447,429,321,375,333,307,296,285,489,755,908,611,535,741,696,787,921,802,604,423,484,581,468,506,938,926,509,396,545,955,835,714,461,315,324,335,366,383,420,428,646,855,717,490,567,579,459,439,986,1650,1456,965,810,1000,1678,1542,1548,1876,1820,1450,945,639,413,252,328,608,954,687,634,558,514,702,511,305,300,332,352,357,383,316,447,840,784,711,517,808,1500,1744,1266,1028,1298,1758,1858,1382,1106,911,1202,1344,1040,796,825,758,1010,807,506,462,672,946,1236,1250,969,966,1246,1442,1650,1380,955,932,1206,1248,819,513,468,618,901,987,658,780,885,1566,2436,1472,776,955,1118,1184,1154,1202,1302,1228,1038,1174,883,948,1380,1005,606,583,641,708,481,794,988,728,364,388,745,1066,782,534,936,1176,1288,1266,1080,1028,890,799,1204,1148,1176,1196,674,369,303,270,343,416,713,1114,1288,983,404,349,339,360,397,426,458,475,465,447,365,328,287,239,246,389,627,561,475,533,765,1164,1090,1032,1400,1344,1252,1312,1322,1476,1670,1758,1836,1488,1132,1554,1974,1458,1048,1316,1408,1394,1350,966,803,1056,988,1076,1530,1490,1390,1428,1218,996,944,1174,1228,1240,1062,858,827,1294,1530,1644,1618,1754,1730,1134,934,1384,1676,1656,1682,1602,1390,1302,1342,1050,746,637,520,500,765,1224,1268,1096,982,789,541,605,574,865,905,765,1118,1122,951,1164,1236,1240,838,839,1136,1278,1398,1490,1396,1282,1336,1390,1360,1324,1254,1270,1360,1154,819,948,966,1034,1230,1094,995,741,483,422,365,546,785,709,467,373,350,261,231,301,350,400,532,439,345,315,340,315,303,343,350,300,335,781,1228,872,1106,1030,1034,1554,1420,1132,872,930,1150,1254,1176,1008,886,814,834,553,455,1156,1490,1278],[864,579,385,377,371,346,260,346,717,816,514,385,385,344,373,406,773,638,460,441,428,397,559,968,1400,1748,1670,1574,1440,1282,1040,920,771,579,969,944,632,1090,1264,497,355,346,350,324,290,283,288,274,269,252,289,386,426,400,397,515,386,903,1416,1504,1482,1424,1344,1504,1534,1346,1272,1290,1260,995,1009,1066,1128,1138,1216,1176,928,881,948,1282,1336,923,737,623,368,361,359,273,322,420,530,491,465,639,775,676,525,416,414,414,678,786,502,592,955,1015,896,569,525,658,450,393,423,462,725,527,345,328,423,626,626,503,644,842,531,386,414,639,770,822,936,708,415,526,805,612,377,698,828,795,553,642,889,626,433,348,313,400,431,357,378,474,518,588,585,437,404,502,613,471,328,399,530,592,800,1186,1750,1924,1050,668,836,763,931,1370,1384,1290,1096,776,864,775,683,569,410,562,709,717,517,392,537,580,502,497,500,550,631,366,325,565,1038,1522,1394,1046,916,978,973,1316,1560,1136,582,445,486,808,666,574,735,1064,1370,1512,1366,1522,1674,1700,1528,1212,1344,1444,1430,894,722,1064,1034,797,644,601,522,476,508,598,951,841,471,448,527,355,268,461,521,410,318,372,390,431,584,593,642,714,771,889,1090,1210,1300,1370,1352,1268,1222,1166,1168,1194,950,747,689,496,469,684,1086,1470,1688,1886,1810,1028,606,555,498,525,608,757,792,802,1208,1328,1048,1028,1250,1318,924,1202,928,1068,1282,1094,1244,1096,578,498,340,319,375,571,676,613,478,425,412,401,453,538,432,651,1212,934,803,959,1122,1314,1172,1250,1392,1066,692,634,661,927,956,839,784,704,1196,766,650,606,607,939,891,661,508,382,428,601,988,1038,1026,1126,803,799,742,1488,1676,1188,1134,626,664,999,1302,1230,1180,1150,1200,1122,625,496,612,826,1216,1164,934,1120,846,987,1142,1230,748,997,1168,972,952,1306,1652,1666,1412,1350,1306,1234,697,686,815,831,927,879,1154,1384,1306,1174,1174,1102,1202,1084,1058,743,590,605,788,579,458,749,1226,1044,560,493,684,818,814,786,628,487,403,353,419,433,410,661,1086,1034,1448,2462,1402,536,491,545,1182,1432,1550,1534,1426,1132,608,532,508,648,1108,1013,536,439,386,409,510,383,379,363,394,487,532,493,461,456,401,373,370,360,373,393,384,339,344,269,195,279,277,286,342,397,385,310,259,263,286,299,254,274,328,518,633,805,1156,1246,1096,752,610,421,560,725,678,1326,1412,1256,1052,1180,1462,1704,1606,909,730,857,777,794,842,963,1054,1188,1140,951,842,681,686,1214,1240,1023,1186,1140,1026,857,1128,1094,1146,816,1006,1046,854,811,775,990,1262,1186,1126,1234,1350,1206,832,969,1248,1028,968,1005,855,966,999,918,1096,1196,1024,863,907,979,830,696,1084,927,910,1104,741,499,535,814,1136,1282,1544,1212,1028,1130,1438,1274,1154,1164,978,882,836,712,436,365,442,744,1086,1454,1324,1362,1362,1222,1160,1194,1316,1328,1384,1410,1500,1272,1188,1254,1200,1112,1228,1178,1098,1144,1068,1100,1160,1028,878,1011,1170,1042,1098,1208,1320,1358,1492,1646,1644,1614,1636,1484,1270,1288,1332,1286,1288,1236,1154,1198,1426,1340,1112,1194,1284,1138,1396,1456,1482,1328,1288,1594,1616,1372,1238,1021,1100,1188,1072,1074,894,825,825,948,1556,1528,1294,1288,1266,1294,1322,1500,1610,1394,888,965,1176,1308,1236,1054,1084,1072,869,953,1210,1198,1180,1330,1388,1494,1494,1284,1118,1870,2332,1612,1224,1522,1730,1172,963,967,742,1130,1506,1390,1408,1308,1204,1406,1418,1432,1532,1364,1560,1802,1804,1784,1838,1576,1270,990,986,952,952,960,1108,1366,1232,1122,1268,1590,1354,1250,1324,1260,1262,1214,1188,974,1174,1454,1100,1064,1226,1262,1418,1544,1384,1264,1250,1017,853,1260,1324,1016,1190,1376,1584,2042,1968,1005,996,1362,1598,1940,2420,2352,1428,665,324,288,398,548,457,419,591,511,677,1042,1272,1550,1596,1738,2614,2486,745,483,416,449,783,675,747,977,1126,1406,1400,1328,1300,1306,1340,1366,1228,686,417,570,535,439,467,625,978,625,712,602,537,527,569,543,412,387,569,650,655,601,366,289,328,347,495,800,601,444,514,448,419,495,502,457,380,398,450,502,606,572,366,555,466,309,298,339,428,507,495,383,286,294,409,490,455,322,287,272,501,685,494,651,962,542,494,858,855,1108,984,460,272,260,238,279,314,324,443,938,1150,802,729,631,440,554,1216,1166,692,558,586,615,621,427,694,1074,1096,1080,1666,1840,1100,389,301,415,536,574,624,629,563,509,499,557,498,479,495,494,526,574,583,507,337,277,345,487,473,446,438,428,331,272,282,254,230,269,265,246,334,735,904,1076,783,536,714,1134,1340,1330,1382,1372,1408,1280,1318,1572,1362,1042,1416,1704,1518,1082,890,980,1110,1018,912,1015,1274,1366,1342,1196,558,582,976,1092,850,687,751,1007,1110,1026,1268,1076,518,477,529,396,310,346,583,758,629,586,789,945,1108,982,618,518,727,740,891,866,728,954,1288,1764,1732,1448,1304,2104,2950,2176,1700,2476,2294,1418,1076,998,1448,1456,759,832,1044,1072,1256,1088,733,2020,3232,2446,1464,965,789,1202,1412,1738,1638,1210,1188,1220,1214,1094,728,462,556,665,547,505,672,1030,709,960,950,844,1062,1328,1062,762,832,844,789,733,587,594,621,737,655,549,542,450,387,378,432,480,444,606,913,1108,1252,1208,1120,1104,985,774,626,610,996,1272,927,549,651,558,511,427,448,560,380,487,1068,838,491,541,697,1138,1136,1028,1186,1478,1312,816,543,835,1108,1214,1236,960,1116,1382,1294,1442,1096,1410,1406,937,809,1013,1252,1166,812,837,1036,1112,1328,1250,944,1102,979,941,1064,1104,1102,993,895,908,734,516,516,639,680,686,605,698,943,1294,1334,1166,1404,1550,1338,1362,1350,1534,1134,1180,1262,838,972,1112,1272,1556,1404,1110,1158,1206,596,550,989,1380,1464,1316,1256,1300,1276,1204,1130,1038,1102,1278,1370,1330,1188,1190,1310,1462,1554,1544,1174,942,1204,1190,1150,1082,1238,1268,987,742,634,728,722,582,462,551,904,1168,1200,870,579,326,318,681,605,351,396,353,437,745,878,761,483,578,1194,1274,964,825,834,855,858,946,877,707,821,723,688,703,770,722,811,844,1056,1005,664,609,755,995,1418,1356,1112,984,1204,910,1044,921,586,703,979,919,623,517,489,668,863,807,618,498,318,305,475,916,1544,1532,1378,1250,1384,1726,1724,1472,1202,1136,1094,1232,1182,1156,1252,1278,1278,963,595,858,1020,816,774,849,656,556,586,523,393,455,948,1214,859,803,1100,766,866,1084,1374,1100,812,655,767,1182,1464,1580,1460,1256,864,852,1340,1384,1328,1266,1220,1142,756,471,434,538,822,1168,1146,1066,1088,1262,1308,1048,1100,1184,1064,805,708,608,585,854,1080,1046,966,516,320,329,295,336,421,485,473,431,408,462,519,811,943,891,614,669,687,854,899,691,569,723,982,787,477,904,758,667,439,351,445,724,838,676,527,544,702,532,623,642,517,436,586,683,587,773,814,601,415,934,1704,1608,1028,681,848,1432,1178,926,1364,1942,1678,865,689,508,365,280,320,444,550,577,571,683,667,397,347,350,346,396,380,317,346,379,634,802,637,380,760,1450,1384,1290,1610,1428,1686,1770,1260,1236,995,893,987,950,786,662,676,710,658,689,786,1136,1192,872,847,1030,1062,1238,1500,1614,1602,1290,1134,1296,1090,939,807,633,939,1166,1408,1426,1322,1104,1432,1506,1172,913,1140,1432,1034,1050,1372,1334,969,908,1028,1022,940,855,940,1192,1074,931,933,492,558,498,361,343,408,761,1386,1150,902,1368,1572,1556,1190,853,869,1256,999,919,958,1274,1364,908,556,442,356,388,641,1330,1484,1296,875,706,474,343,361,341,393,410,374,392,386,274,248,178,229,265,296,437,547,531,833,996,808,703,863,1322,1356,1264,1212,1066,1260,1260,1588,1726,1574,1506,1710,1870,1512,1290,1354,1538,1520,1476,1004,1080,1340,1096,1086,1312,1248,1124,1284,1372,1470,1146,1036,1156,1410,1682,1422,1100,1480,1712,1396,1316,1584,1376,749,511,825,1244,1530,1578,1378,1296,1382,1356,1406,1264,855,772,494,635,1552,1422,937,541,329,366,373,398,597,752,583,769,998,1212,1070,1166,1142,919,1013,937,918,1284,1714,1612,1182,1020,1100,794,1096,1084,1294,1312,1156,926,811,786,872,1124,1296,1154,655,508,440,373,688,852,836,618,353,316,310,383,480,473,471,404,435,408,327,304,291,265,285,294,300,378,690,1236,1032,1076,891,1166,1622,1274,918,962,937,866,927,1058,937,700,497,430,443,367,1410,1990,1720],[985,495,335,343,336,313,222,463,1128,1324,1454,1064,537,371,412,533,954,805,441,444,462,539,744,1080,1456,1528,1616,1646,1208,1204,821,389,541,1250,1728,1290,1086,2042,2398,919,365,340,366,340,290,303,331,313,283,253,232,348,530,425,386,406,244,529,1284,1676,1626,1554,1454,1658,1554,1376,1220,1394,1368,1180,1250,1310,1450,1346,1124,999,1140,1178,1210,1098,977,727,459,634,648,587,719,688,561,832,1122,907,954,1056,797,534,418,390,524,613,816,838,571,786,1176,1012,778,517,747,1046,833,753,918,748,444,375,370,394,629,940,982,951,1108,930,536,372,412,615,753,1010,1108,788,545,875,1172,846,512,749,592,612,468,536,775,676,449,371,331,365,365,351,361,375,538,567,466,434,489,584,637,614,530,547,590,562,1130,2276,2418,1932,1358,1256,1200,1116,1324,1608,1598,1246,1154,1132,1142,1266,1388,1148,700,751,1100,1060,582,422,454,502,430,432,476,702,507,326,403,453,897,1354,1132,633,673,1240,1300,1708,1722,855,390,354,443,676,820,701,741,849,973,1250,989,1402,1496,1532,1610,1476,1510,1716,1814,1194,767,973,771,772,832,704,788,758,809,844,1013,824,378,429,618,504,356,448,433,571,681,801,945,1052,1106,1130,1112,1146,1300,1452,1460,1356,1126,896,868,744,777,889,752,752,1288,1916,1504,874,644,990,1428,1496,1400,1540,1324,813,622,604,501,552,874,1108,1050,1108,1290,1030,901,1102,1060,772,655,1098,996,1050,1364,1388,1220,802,423,469,392,327,373,413,502,554,483,409,436,445,435,492,451,597,808,654,650,833,1132,1236,1174,1076,1140,950,505,444,436,574,614,590,574,507,677,748,680,603,576,552,586,630,471,400,521,608,972,1210,1300,1156,740,698,684,1294,1532,1202,1172,891,999,999,996,1180,1084,1072,1138,795,416,375,368,639,1023,799,534,774,711,869,983,966,591,822,1168,976,706,850,1368,1648,1306,959,1204,1118,933,1086,1056,972,1100,1148,1284,1228,1136,930,854,858,979,972,1278,1216,1001,898,663,528,485,720,985,650,463,499,637,806,722,658,760,824,788,672,489,453,509,607,768,858,1328,1376,876,589,709,1178,1218,875,933,968,990,617,380,576,850,659,803,774,672,567,536,854,1158,479,411,383,405,453,534,469,407,445,434,431,414,429,481,503,501,405,335,291,243,331,329,366,430,424,361,269,249,299,352,437,407,397,462,668,521,448,677,973,965,807,821,606,576,497,951,1520,1242,1322,1096,731,963,1490,1476,1098,756,645,859,960,994,795,986,1178,1010,951,739,515,524,747,780,922,1192,921,501,535,891,1028,975,757,805,858,883,769,651,722,946,1234,1232,1378,1460,1082,877,850,1164,1280,1294,1162,1004,1080,1098,901,1082,1186,1070,937,983,900,684,640,655,496,697,971,574,556,517,519,629,981,1176,1144,1076,1134,1050,825,922,858,839,842,1028,816,601,591,541,503,760,1130,1176,1210,1322,1526,1626,1418,1254,1300,1316,1460,1448,1220,1068,1220,1360,1346,1248,1158,1152,1168,1074,1104,953,737,773,877,905,993,1128,1240,1308,1440,1470,1504,1578,1652,1556,1432,1376,1262,1076,1132,1272,1246,1142,1268,1358,1100,1068,1374,1456,1482,1498,1480,1494,1454,1342,1486,1542,1336,1172,1042,1166,1120,833,601,498,609,924,1334,1484,1256,1362,1332,1344,1456,1560,1830,1750,1354,1070,1420,1354,1092,1268,1310,1294,1304,1130,1146,1158,1178,1126,1202,1250,1290,1416,1522,1854,2442,2090,1342,1278,1534,1418,1154,905,1066,1120,1328,1524,1582,1444,1414,1524,1608,1504,1236,1186,1284,1476,1666,1902,1910,1584,1482,1498,1284,1116,1021,1132,1096,1218,1244,1194,924,1094,1260,1424,1534,1324,1150,1128,1196,1016,1148,1430,1218,1004,1248,1510,1370,1516,1586,1426,1354,1144,1096,1036,1090,677,642,1290,1514,1798,1994,1194,799,1086,1028,1208,1776,2214,1618,669,455,564,566,719,1066,737,364,489,582,568,775,1256,1774,1606,1402,1098,1001,1248,785,397,396,386,472,515,298,518,1023,1384,1378,1308,1050,731,626,572,490,468,408,409,419,547,1212,1750,602,558,728,1050,922,564,430,539,586,397,324,587,963,709,347,247,322,732,1580,1502,1003,811,729,982,1030,709,454,344,311,428,402,403,382,323,321,286,338,376,404,539,666,604,549,335,265,272,294,341,383,398,327,511,783,572,661,1078,781,1218,1766,1160,1098,1096,554,257,232,248,249,305,328,365,748,926,773,684,959,926,612,943,619,339,304,488,680,712,495,567,730,783,1246,1860,1894,1150,352,295,409,578,619,593,506,369,383,460,435,369,349,361,487,545,528,554,580,479,318,285,383,450,459,439,450,428,343,261,248,262,250,259,298,308,444,789,944,938,811,675,702,993,1198,1390,1404,1266,1152,1212,1578,1640,1082,998,1704,1870,1294,1056,1142,1022,832,784,1040,1248,1120,966,669,340,334,808,1284,1234,1070,919,838,821,736,692,483,311,639,837,519,305,288,410,591,556,428,425,442,455,435,453,618,781,623,740,1024,894,1036,1572,1908,1998,1696,1488,1332,2504,2730,1798,1394,970,658,661,796,1196,1004,595,640,1005,1026,946,806,1376,2422,2214,1600,1482,1216,998,1482,1506,1698,1544,1122,761,747,962,990,874,805,538,615,597,499,953,1206,1062,1134,1166,1156,1206,1058,759,825,888,826,743,642,579,560,620,726,518,478,555,459,421,438,427,411,578,1122,1276,1184,1112,1086,1040,883,609,592,544,785,1414,1290,786,665,712,630,452,418,465,467,391,800,1226,822,756,749,582,866,1015,1170,1182,1352,1354,918,603,1092,1310,1026,1158,923,930,1360,1144,1146,1088,1388,1332,943,991,1168,1384,1234,1058,1010,1204,1226,1214,916,981,1132,825,928,1108,1148,1176,666,599,673,689,568,414,367,470,547,549,564,612,1001,1192,775,1222,1572,1440,1356,1354,1340,1098,1166,1360,1202,1098,1254,1240,1188,1070,952,1116,786,584,683,774,1172,1184,752,678,780,677,465,706,938,1168,1114,783,841,996,936,876,1044,1262,1320,1086,608,567,567,678,782,1092,994,960,829,594,849,1056,784,516,444,577,663,731,549,408,323,242,424,412,328,381,466,523,895,1106,917,601,512,1021,1176,956,903,905,882,989,1126,938,572,642,808,789,702,618,846,970,869,920,909,882,1030,896,1016,1400,1216,1318,1038,1009,709,699,818,702,628,1136,1284,722,568,400,405,410,428,497,439,371,704,967,1312,1604,1532,1438,1302,1486,1488,1400,1346,1450,1350,1166,1284,1316,1378,1536,1432,1384,1058,634,747,877,756,693,736,672,614,525,605,624,444,651,736,965,1188,1534,1100,1052,1292,1400,1422,1304,940,1050,1402,1528,1536,1202,1126,1240,1780,2302,1942,1380,1498,1716,1260,737,612,434,552,818,1120,1007,800,880,982,949,1005,1086,1126,1116,765,416,380,377,530,814,879,805,550,358,289,307,330,456,568,468,492,458,492,573,927,1244,1094,707,659,611,465,329,455,761,1292,1224,788,452,683,921,1178,811,587,864,901,736,892,836,1144,1478,706,536,451,554,670,598,501,605,612,981,1304,1021,1174,1512,1232,886,963,1626,1894,1410,1226,1368,1356,1578,1382,1019,1019,686,540,392,380,542,590,631,586,360,308,406,361,341,410,422,331,383,403,448,775,760,933,1724,1692,1096,1310,1702,1610,1392,1616,1342,1590,1310,732,727,861,728,607,620,631,859,882,979,1180,935,604,590,851,1126,1310,1354,1360,1382,1196,1342,924,615,709,935,1174,1280,1030,1058,1436,1174,1224,1516,1394,1152,991,1086,781,657,945,1252,1322,785,690,982,1178,1016,627,1108,1498,1236,1132,852,608,544,417,338,607,709,903,1088,856,1040,1466,1500,1358,1406,1054,839,1238,1274,767,625,935,1108,920,563,486,552,562,929,1356,1052,952,793,814,544,328,330,371,377,397,323,298,392,453,315,256,255,267,289,414,576,705,722,676,990,919,1013,1242,1158,1028,1092,960,1108,1240,1056,1262,1448,1412,1386,1296,1050,944,1268,1326,1210,926,1017,1236,1007,807,1068,1188,1284,1260,1284,1356,1556,1590,1910,1576,1294,1576,1552,1498,1480,1490,1372,1616,1488,1262,844,569,519,794,1170,1432,1376,1154,1212,1300,1450,1202,948,1136,742,500,964,1152,977,530,291,364,404,407,392,557,694,1108,1252,1278,1108,1198,1322,1238,1090,898,909,1110,1542,1382,1096,1102,1016,1268,1550,1442,1410,1274,1268,1192,1180,1208,1320,1378,1346,847,477,618,529,319,444,697,803,702,590,670,471,590,653,591,500,419,464,480,364,281,294,254,291,303,326,412,547,1124,1310,1042,907,1280,1594,1346,1018,786,772,866,822,971,791,564,406,455,569,475,946,1510,1482],[598,397,407,385,384,413,372,348,592,753,987,996,612,385,363,473,784,759,484,465,534,788,881,1326,1644,1638,1678,1438,1456,1678,1028,530,828,1858,1776,1146,1374,1892,1602,858,553,364,315,304,307,348,324,348,322,256,238,343,469,431,410,357,303,336,1202,2008,1762,1598,1724,1748,1504,1066,1001,1404,1334,1306,1056,997,1328,1342,1122,1160,1130,921,1015,959,980,614,580,913,1060,1064,1006,802,926,1476,1894,1114,642,720,814,1042,708,389,518,602,615,665,500,515,703,768,785,819,951,900,1094,957,978,886,575,515,427,606,790,718,833,1142,905,568,412,315,355,383,346,437,684,1032,852,691,514,516,416,391,321,275,338,560,623,398,375,370,335,352,381,332,351,416,495,509,462,440,484,564,639,689,715,742,841,1042,1210,1936,2260,1512,1050,1386,1260,1310,1592,1800,1586,1202,1023,906,1106,1504,1496,1310,882,589,706,831,488,455,437,433,419,422,528,698,440,313,370,360,442,688,858,986,1004,1042,800,1054,1382,1018,468,301,501,760,635,497,549,530,651,849,909,1298,1404,1454,1614,1734,1720,1688,1626,1354,1210,1170,1134,1352,1408,930,697,721,834,838,933,799,655,828,1056,1040,960,1016,1174,1356,1406,1272,1108,1052,1134,1046,772,778,946,1240,1322,1078,1138,1096,925,757,720,670,558,837,1628,2286,1724,1566,1006,1268,1874,1996,1910,1654,1118,758,601,520,513,665,1054,1086,1090,1146,1198,991,868,1260,884,493,539,636,764,709,1128,1224,713,449,523,508,378,322,332,383,506,512,465,478,400,390,332,402,391,480,525,726,697,819,1112,1244,1066,661,742,884,549,462,421,472,614,594,547,733,1132,1358,1240,1162,1048,918,636,950,1050,746,579,487,922,1520,1820,1392,952,825,459,594,910,1194,1116,1176,908,779,841,974,1080,1334,1266,617,607,622,550,919,1070,1136,1042,801,678,676,927,988,615,501,590,576,541,561,623,896,827,791,1210,1108,883,864,761,896,1296,1184,1015,716,604,691,896,966,745,1018,1260,924,805,859,818,478,337,444,528,435,482,446,510,660,990,985,863,882,1094,1130,808,469,385,505,866,1002,1017,858,882,775,827,1512,1332,569,462,852,1032,569,412,754,1390,1292,797,1022,1244,977,950,1470,1382,571,467,484,437,455,468,387,412,491,501,536,637,677,714,722,717,674,541,333,287,408,399,403,438,361,319,330,354,394,378,346,478,506,660,637,467,372,475,932,1162,727,807,692,546,629,1336,1304,1318,1422,1204,747,734,921,921,1086,938,724,1020,1186,1306,1048,1046,863,624,890,984,670,481,404,542,1036,1074,640,357,319,403,603,568,526,517,561,607,482,452,614,953,1182,1346,1300,1288,1058,915,1009,999,874,955,990,1074,1304,1104,1066,1346,1290,1108,1042,1092,1052,943,885,982,1023,871,988,569,498,504,426,585,923,1064,1170,1058,821,924,1066,977,612,501,437,800,742,737,771,778,803,912,1090,1362,1378,1382,1650,1468,1284,1194,1178,1370,1560,1476,1228,1160,1244,1288,1060,990,1010,1422,1394,1394,1390,1192,969,949,944,1044,1238,1296,1312,1456,1428,1166,1338,1542,1558,1272,1392,1384,1262,1178,1017,1019,1196,1266,1214,1220,1124,1390,1370,1352,1460,1426,1406,1422,1470,1298,1174,1344,1344,1134,1005,1172,1005,592,394,549,813,1072,1406,1642,1980,1464,1422,1294,1214,1296,1538,1444,1216,1314,1754,1536,1170,1406,1480,1464,1428,1382,1334,1164,1046,877,898,1194,1318,1306,1332,1510,1604,1326,1270,1492,1222,1164,1294,1046,1070,1104,1122,1406,1396,1290,1610,1840,1970,1810,1428,1310,1364,1378,1622,1744,1616,1406,1280,1382,1394,1336,1076,1156,877,1076,1138,1122,1028,1090,1210,1294,1172,1164,1020,986,1220,1150,1598,1482,1224,1110,1410,1602,1600,1616,1488,1250,1166,1198,973,1166,872,454,411,1030,1704,1932,1244,564,735,802,763,1032,1276,1286,839,534,565,621,751,918,957,894,730,532,633,644,817,1870,1860,1238,1015,966,2400,3074,1334,297,274,421,663,677,487,390,882,1506,1432,991,610,427,235,268,501,701,532,373,322,464,763,763,411,288,345,805,900,521,481,767,636,479,521,366,539,884,649,403,317,513,1146,1718,1698,1120,818,1272,1228,744,623,502,456,533,663,708,448,366,268,381,601,905,711,542,379,360,393,436,447,531,585,533,722,669,344,475,756,616,585,1092,1190,1478,1542,951,933,1262,806,314,378,422,309,280,408,444,601,599,774,1046,1716,1700,641,859,503,365,629,750,724,1116,838,433,328,329,608,907,818,518,263,262,393,579,633,561,346,197,316,462,374,240,237,248,396,538,549,522,522,495,392,328,335,402,456,436,437,442,397,301,256,249,246,272,283,308,302,399,686,943,990,926,606,561,951,1236,1302,1318,861,670,1082,1250,1274,1858,2298,1946,1264,1160,954,701,717,784,996,1176,860,411,223,305,787,1412,1384,1098,1260,1226,1088,1026,985,912,792,599,697,1074,747,421,353,329,343,351,329,348,507,513,451,535,894,1066,907,934,1140,1314,1384,1968,2010,1792,1608,1556,1334,2142,3144,1520,961,1268,991,773,669,525,437,412,535,923,906,698,1340,1926,1766,1560,1522,1490,1178,1418,2286,1860,1544,2012,1522,713,676,521,474,781,1128,948,557,461,626,924,1019,1106,1122,1166,1204,1156,822,750,875,803,867,662,783,825,578,483,513,471,552,589,491,518,531,459,492,1009,1546,1318,1082,1132,1122,864,586,509,476,413,901,1252,778,492,589,736,603,524,473,450,443,455,993,1182,651,927,903,529,602,939,1200,1086,1106,1316,1098,773,1007,1134,883,1256,1124,949,1152,1190,1310,1104,1124,1310,1256,1106,1042,1270,1306,1416,1304,1142,1144,1322,1012,1012,1246,1184,1070,1030,1154,1186,608,782,841,896,932,641,408,543,750,753,648,498,608,951,1166,1348,1610,1536,1002,678,642,633,617,693,902,1028,1021,791,888,938,756,1046,1122,1244,1456,1258,1112,833,516,333,428,373,499,1142,1182,1094,868,512,718,1012,1210,1482,1094,936,864,696,395,335,324,375,630,1154,832,524,680,577,697,904,678,490,406,371,422,407,443,439,436,392,318,316,314,534,806,479,915,1296,1146,779,493,714,977,971,1009,1092,926,1005,1150,1086,971,962,1002,929,1044,811,763,778,595,502,628,915,1120,1014,927,1084,1002,1324,1234,1050,933,706,637,550,645,1076,1196,907,588,435,460,455,397,412,493,501,885,1226,1244,1440,1692,1582,1122,990,1052,1166,1294,1348,1336,961,1052,1682,1932,1698,1530,1406,1078,828,949,949,832,860,928,1084,1050,761,725,814,405,383,694,873,1196,1546,1428,1204,1282,1470,1426,1246,1260,1294,1362,1312,1262,1076,1166,1214,1428,1842,1616,1344,1648,1416,1146,1016,944,522,912,1084,1094,1130,1088,950,919,785,565,755,1136,1264,1156,548,399,403,415,454,495,415,362,375,360,352,350,519,544,550,639,527,390,552,894,948,623,472,484,486,420,620,962,1056,1302,1190,938,469,504,1096,1556,1246,758,973,1138,820,642,543,818,919,673,566,449,726,1034,603,905,1422,670,983,1584,1530,1136,713,588,590,628,1062,1506,1572,1408,1032,842,1290,1806,1412,1102,575,556,447,348,347,572,876,706,478,355,401,395,395,328,343,354,439,466,397,571,870,1322,1588,1310,987,973,1122,1614,1418,1598,1456,1184,976,939,1144,1222,807,563,465,681,1148,1152,883,937,1002,1348,1254,824,1074,1412,1102,1242,1398,841,1048,825,771,825,1062,1378,1444,1332,1368,1274,1296,1394,1104,833,772,736,897,739,662,921,1154,1058,821,1118,1168,1062,824,738,990,1132,1190,1444,1126,624,449,380,707,1032,963,1080,1164,1122,1144,1298,1224,1456,1352,1118,947,993,1318,1120,477,553,733,641,537,536,582,924,1400,1218,699,576,600,547,451,337,346,342,292,339,368,398,564,764,558,302,243,279,318,408,617,813,606,544,907,1084,1244,1350,1112,1086,1358,1318,1358,1354,1092,1376,1406,1332,1398,1314,908,683,1003,1282,1068,731,982,1340,1174,909,959,1296,1282,1138,902,1132,1172,1604,1490,698,903,1336,1632,1862,1766,1642,1730,1876,1328,1198,1256,917,565,554,693,1062,1368,1282,959,1296,1474,1506,1072,827,733,541,567,937,1160,742,394,397,392,383,373,436,995,1490,1448,1346,976,966,1194,982,953,1078,1322,1532,1642,1296,1234,1200,793,901,1232,1248,1118,1044,1132,1230,1418,1300,1322,1440,1146,574,438,602,593,388,343,468,567,694,701,574,376,473,488,557,549,428,387,413,343,294,284,254,301,337,349,450,460,771,1190,1354,1324,1356,1452,1582,1440,1076,802,713,612,644,708,908,722,589,786,634,714,1262,1256],[897,1112,1068,526,401,423,351,297,295,276,329,388,377,368,402,742,896,802,530,673,756,625,680,1170,1476,1578,1668,1472,1560,1740,1490,1156,1140,1684,1342,880,1404,1374,739,773,691,383,346,348,520,735,442,327,337,285,240,289,546,595,459,355,304,252,767,1894,1816,1588,1790,1764,1570,1208,1088,1200,1232,1204,1007,922,1160,1244,1220,1284,1116,1023,964,1220,1192,783,666,847,1158,1114,811,722,1084,1490,1478,680,408,480,908,1192,948,536,400,529,662,1108,1104,557,568,958,1064,810,687,744,947,963,889,940,1174,1066,555,549,726,526,592,872,648,555,508,518,669,503,326,367,816,1416,1064,543,401,725,657,457,554,589,578,805,839,506,413,391,384,388,390,353,351,439,551,516,430,603,762,597,565,603,683,886,1160,1460,1530,1666,1816,1558,1198,1194,811,1218,1614,1866,1736,1234,806,546,636,726,825,908,580,522,473,527,423,393,421,422,407,403,619,646,361,317,368,380,359,528,998,1452,1110,594,437,810,1592,1500,889,587,631,485,376,420,359,406,670,927,1046,1120,1228,1466,1656,1630,1404,1450,1384,1410,1474,1208,1298,1396,1120,775,1078,1400,1268,1158,1300,1314,1252,1270,1270,1256,1364,1338,1244,1194,910,583,419,476,750,812,536,556,963,1164,1244,1062,1406,1628,1460,1260,991,632,577,853,778,1092,1460,1702,1450,1076,975,1220,1626,1458,932,609,508,475,703,1136,1212,1154,1266,1440,1376,1400,1322,938,532,359,426,611,707,440,602,1148,931,687,788,549,366,344,306,392,479,420,464,556,487,474,457,458,373,344,295,371,550,849,959,1092,867,687,711,665,505,435,394,578,1078,956,755,1156,1366,1494,1396,919,722,921,735,1002,1138,1013,724,574,934,1194,1082,1292,1364,1174,860,732,977,1238,1262,1434,1005,737,826,983,1106,1372,1428,847,741,756,780,1062,1092,1214,1116,738,735,1036,1228,1188,760,390,408,463,547,664,699,595,467,843,968,1072,1140,975,803,813,1104,1114,949,615,554,902,1190,1044,880,963,991,904,731,724,1060,661,386,402,459,504,477,429,506,803,890,772,758,877,1176,1264,989,671,571,722,1238,1214,774,706,1158,1172,798,1180,1056,538,879,1422,1164,619,472,1068,1764,1278,750,1086,1312,967,1308,1792,1134,550,467,487,448,428,394,354,361,455,439,517,667,711,791,802,758,717,650,440,312,359,419,391,419,450,510,486,440,338,303,278,325,393,539,789,677,346,477,954,876,1014,1172,681,517,623,899,1188,1344,1268,1038,639,619,666,795,1222,1272,973,1086,1056,1070,1194,1098,684,485,722,776,874,723,500,766,1138,1160,681,348,321,392,498,526,451,397,421,388,478,565,680,753,885,1138,1158,1266,1168,1142,1194,905,653,1068,1202,1064,1236,1170,1314,1360,1308,1306,1346,1288,1258,1128,1023,1068,1178,1186,1072,716,589,544,450,674,937,923,1108,1142,1148,1262,999,969,717,656,767,772,724,656,796,991,975,1034,1190,1350,1312,1330,1460,1332,1218,1076,1164,1320,1484,1506,1370,1390,1434,1442,988,1210,1232,1352,1366,1432,1498,1434,1230,1064,1132,1388,1386,1250,1448,1476,1148,1278,1476,1548,1394,1294,1332,1400,1594,1360,944,916,1104,1104,890,933,1116,1276,1232,1306,1328,1340,1406,1396,1454,1312,1404,1344,1172,1172,1032,1116,1048,731,605,924,1174,1108,1134,1356,1976,1572,1376,1178,1242,1300,1304,1304,1230,1200,1478,1350,1502,1678,1366,1286,1296,1328,1154,1140,1088,730,714,1092,1166,1078,1050,986,1286,1620,1528,1356,1164,1058,1017,1088,1102,1092,1334,1328,1240,1326,1500,1626,1910,1726,1092,1148,1362,1414,1304,1278,1354,1258,1262,1370,1344,1378,1106,1036,708,790,1212,1338,1274,1300,1262,1210,1196,1234,865,652,918,1252,1344,1226,1100,1276,1346,1474,1600,1360,1036,938,927,1046,1024,1302,926,593,800,1272,1684,1382,687,698,827,768,914,1174,1356,927,525,669,769,672,855,1180,1170,1188,1258,766,580,694,894,1502,1382,1250,1106,795,1728,2082,736,299,294,425,838,1288,1036,595,833,1324,1456,833,451,369,286,321,455,803,812,483,308,350,336,315,268,245,314,441,529,620,828,1182,828,611,640,446,415,522,681,782,562,405,439,797,773,437,607,957,1012,667,568,583,624,903,1392,1202,350,317,319,449,583,866,1318,971,480,333,332,507,713,730,625,585,898,796,442,362,558,691,524,810,1166,1166,1238,1124,769,737,595,363,374,553,489,352,421,396,475,745,1062,1456,1358,866,452,813,691,676,1188,938,714,842,604,320,288,274,271,209,203,209,221,251,304,502,576,404,205,200,379,498,413,294,266,297,317,463,533,553,530,500,457,428,391,321,425,452,433,454,420,342,284,245,255,292,278,277,296,291,321,562,919,1002,830,548,568,883,1076,1126,832,466,722,1100,2132,3034,2418,1556,949,1058,901,735,677,688,970,1252,1019,833,676,1110,1612,1856,1556,1156,1062,1014,1058,1148,890,615,1007,1152,1007,979,681,793,670,481,513,522,383,378,439,623,766,572,578,602,1002,1202,1166,1308,1704,2304,2150,1496,1406,1846,1412,1350,2958,1874,1918,2404,1438,789,588,397,432,495,592,758,851,1246,1814,1766,1918,1610,1352,1450,910,1450,2488,2012,1964,2768,1808,948,746,898,576,876,1236,1196,755,499,451,686,926,950,1224,1278,1202,901,763,841,811,864,806,593,705,733,490,357,424,441,478,438,418,468,452,439,802,1326,1446,1266,1164,1186,1086,1003,1015,661,387,384,772,677,508,484,575,589,471,469,460,439,372,548,1214,962,955,1076,934,646,577,996,1310,1015,1128,1442,1246,707,930,1054,1026,1220,1204,1148,1232,1362,1478,1340,1122,1350,1228,1316,1058,1048,1294,1354,1278,1124,1152,1156,1058,1156,1346,1308,1178,1052,1268,1130,886,1011,928,725,645,656,633,600,576,432,484,572,532,772,1010,871,1346,1430,796,467,476,520,565,612,658,785,683,473,401,670,735,984,1284,1654,1918,1342,955,645,561,398,404,357,342,747,943,1102,1052,562,593,869,1344,1412,658,560,522,509,491,509,413,315,414,698,594,343,414,446,584,565,425,329,285,332,406,416,418,436,532,521,425,387,341,653,787,540,1013,1038,852,704,525,561,977,1082,858,798,982,993,990,1048,1020,1228,1072,1003,1008,727,841,1064,730,745,1019,1098,1132,1332,1440,1482,1172,1184,1015,922,970,698,705,896,1058,1054,1056,1340,1192,623,583,677,612,882,845,613,671,948,1150,1290,1164,958,749,712,702,855,1068,1284,1336,966,1082,1532,1678,1376,1516,1366,1052,987,1130,1122,1010,981,1086,1192,1082,1124,1300,814,445,317,786,1172,1172,1196,1440,1272,941,1128,982,1078,1244,1404,1404,1336,1278,1302,1278,1090,1060,1362,1466,1594,1384,686,542,595,645,492,778,735,899,1084,1001,1086,1090,864,547,813,1234,1352,1428,1250,1026,789,605,488,426,412,348,426,397,398,425,524,489,467,440,401,372,356,425,426,408,354,333,411,409,455,877,1088,1184,1556,1232,698,834,1202,1368,1260,959,1204,1206,1036,579,368,383,477,766,1052,789,733,944,1114,1930,1734,857,963,1568,1598,1354,971,559,552,725,742,800,1226,1438,1108,1240,1250,1864,1968,937,339,389,336,381,348,515,823,515,355,376,343,278,261,272,302,371,380,334,357,414,610,1074,1178,1348,1196,976,1340,1714,1598,1550,1666,1484,976,742,1050,1188,712,528,405,540,902,992,1146,1490,1252,1174,1156,1082,1322,975,790,1244,1582,1280,1054,1015,1116,1236,1398,1348,1294,1396,1166,971,1446,1384,857,440,496,449,733,884,752,783,875,816,1146,1628,1166,987,1062,1274,1140,1130,1250,1534,1154,549,367,324,431,664,915,799,988,1164,1322,1478,1408,1454,1194,1016,1012,959,1102,1258,925,955,1202,1122,865,896,1312,1422,1416,1230,707,548,604,679,451,341,341,282,274,348,424,530,623,717,638,452,283,330,312,298,333,468,587,704,1028,1040,1016,1142,1208,1276,1310,1232,1196,1240,1440,1218,1186,1030,1102,1094,1048,1064,1184,1388,1406,1098,993,1576,1456,1202,1076,1534,1362,935,783,810,962,1052,696,606,726,935,1558,1646,1478,1448,1654,1504,1302,1432,1366,1234,807,705,610,719,1092,1466,1318,1336,1424,1478,1134,946,956,745,561,720,852,528,424,527,471,355,586,890,1210,1152,1158,1408,1224,1194,1236,922,1018,1296,1414,1550,1452,1216,1182,1176,1112,995,1132,1098,1166,1376,1226,1146,1088,972,1188,1132,719,598,471,432,470,559,383,397,400,596,683,484,409,407,398,513,507,435,389,511,397,353,358,462,427,332,309,397,404,533,932,1244,1344,1582,1550,1860,1880,1232,1104,1248,1016,815,1100,1282,1076,749,706,501,569,1212,1220],[885,882,1058,525,361,396,385,349,354,343,289,316,423,399,476,949,917,727,626,706,611,612,1082,1412,1498,1418,1512,1668,1652,1650,1862,1866,1662,1646,1142,1118,1498,1132,937,1144,704,393,369,399,613,841,443,325,319,326,277,330,689,940,718,369,301,267,454,1620,1912,1566,1676,1714,1656,1440,1146,1236,1404,1264,1192,1090,1162,1096,1182,1418,1118,1104,1074,1176,1188,1194,1132,1256,1224,937,680,852,1142,920,521,315,344,415,603,1082,1354,615,550,662,1021,2118,2396,1120,969,1292,1194,662,533,1036,1382,1086,742,1042,1092,887,653,393,378,375,378,428,586,743,498,574,868,580,426,367,789,1086,867,541,511,899,987,641,775,1152,966,722,571,455,429,413,427,456,422,391,404,457,571,615,451,583,738,622,502,614,874,976,1098,1226,1304,1496,1404,1714,1858,1548,922,996,1322,1230,925,965,1064,1088,1298,1094,583,527,401,458,452,462,377,371,447,438,401,489,717,573,394,346,394,349,329,573,913,1034,785,772,962,1288,1482,1122,1142,883,525,407,399,362,315,299,369,484,619,627,678,1202,1544,1328,1284,1392,1054,1030,1254,1390,1378,1338,1252,1318,1542,1530,1302,1144,1414,1638,1208,796,650,644,970,1102,931,702,388,303,337,682,1124,736,515,628,827,880,1074,888,1114,1608,1544,1434,1146,825,792,861,579,767,1184,1414,1308,702,390,529,565,664,633,508,518,725,1560,2366,2036,1454,1210,1234,1152,1004,781,324,281,340,423,493,641,730,757,979,822,690,569,493,420,332,329,458,456,500,630,626,490,484,576,472,328,288,296,257,410,735,820,971,586,562,551,559,515,495,480,633,923,794,881,1260,1212,1310,1074,597,491,413,542,740,888,830,682,715,1040,1370,1348,1320,1244,1204,1066,999,938,1036,1356,1356,1142,1090,1146,1658,1366,1470,1236,747,570,868,1098,1278,1112,864,794,566,564,873,976,1092,861,442,376,378,487,563,720,666,712,679,564,1018,1218,1182,1044,1056,1092,1090,885,691,807,949,952,1032,1240,1306,1216,1148,973,760,741,593,459,402,469,501,430,396,653,1132,885,836,849,912,969,975,974,944,850,949,1168,1126,895,733,1362,1286,771,756,767,586,1340,1736,1188,852,984,1286,1202,1030,1104,1288,1186,1062,1280,1204,795,477,418,445,432,414,421,492,458,445,439,656,744,673,674,749,792,707,663,619,435,356,398,441,483,512,497,450,385,272,242,251,280,277,303,410,328,355,580,882,822,1278,1126,604,477,661,963,1054,1028,1482,1428,988,680,650,629,894,1182,1228,1138,914,879,980,803,692,581,728,562,825,926,671,847,1198,1138,675,348,385,580,637,534,465,420,383,414,666,1174,1274,983,969,920,1007,1206,1206,1046,1176,1186,1282,1456,1338,1021,951,1118,1284,1326,1288,1378,1500,1284,1226,1162,1278,1460,1216,1232,972,561,451,423,442,776,1156,1102,1244,1314,1268,1324,1018,1092,1184,1208,1108,1034,1106,1120,1128,1058,1074,1080,1064,1080,1134,1202,1476,1494,1001,1023,1370,1310,1448,1560,1416,1346,1284,1422,1300,1390,1278,1166,1390,1510,1456,1306,1284,1332,1326,1384,1448,1486,1654,1484,1426,1526,1502,1406,1424,1384,1278,1406,1394,1378,1332,1242,1258,1254,1010,946,1011,1076,1262,1306,1290,1440,1384,1338,1322,1410,1534,1550,1390,1204,1050,1114,1312,1042,1054,1250,1288,1322,1354,1254,1282,1378,1110,1082,1108,1044,1312,1700,1636,1226,1340,1226,1526,1664,1500,1184,1216,1224,1220,1244,1176,1062,1004,1080,1224,1278,1230,1096,1104,1334,1588,1498,1212,1026,1112,1256,1274,1308,1444,1340,1380,1354,1492,1482,1570,1608,1160,866,1100,1388,1310,1386,1388,1412,1180,1224,1268,1296,1154,1022,987,1136,1340,1516,2304,2412,1382,1360,1426,1278,925,719,1002,1154,1158,1052,933,899,1300,1440,1214,1204,636,908,1084,1322,1302,1316,1126,973,1564,1606,1100,694,672,698,713,855,1086,1204,1256,741,313,541,852,871,873,1366,1350,1204,1184,780,482,598,621,636,1064,1446,1278,896,653,640,395,305,304,517,1070,1748,1292,705,636,876,1054,729,596,556,459,365,460,692,662,590,674,546,289,346,306,299,412,417,385,535,771,871,1068,741,509,602,592,384,427,676,805,711,441,391,410,474,717,906,675,436,484,460,379,538,912,915,341,292,376,636,511,707,1318,1184,587,325,380,507,694,613,886,722,709,940,719,386,475,687,572,702,1210,901,1008,1206,857,676,819,679,929,1144,900,512,426,471,447,844,1158,1716,1436,945,478,495,620,639,476,489,564,532,521,435,479,439,321,294,303,277,233,255,299,525,630,375,203,221,361,442,356,321,349,317,237,273,444,561,558,549,497,447,445,328,360,442,443,451,429,391,284,224,270,305,232,206,214,191,213,316,588,913,902,912,783,627,694,975,786,332,602,1060,1976,2054,923,430,605,896,970,837,744,898,971,913,881,1216,1208,1556,1490,1242,1130,935,1058,1162,859,981,932,722,1066,1240,1122,1144,1184,1246,1052,985,1150,987,742,904,1015,1092,1032,542,630,840,916,1250,1404,1398,1404,1804,2282,2278,2326,2254,1636,1284,3012,3648,3628,2862,1732,1434,898,442,633,773,965,728,1168,1834,1932,1946,1824,1296,1152,1308,1114,1260,1498,1278,1820,2382,1526,1030,878,752,597,727,888,1118,1232,814,329,615,886,1094,1406,1312,977,723,832,807,872,915,684,565,644,669,517,476,505,506,443,439,444,454,466,774,1338,1382,1156,1224,1246,1164,1144,1168,891,426,357,479,558,447,587,705,641,604,448,427,460,391,357,833,1296,858,1084,1096,986,744,568,1154,1636,1094,1192,1380,1190,689,916,944,1070,1268,1148,984,1228,1344,1218,1448,1136,1310,1224,1410,1180,1100,1190,1176,1156,1278,1306,1200,1394,1520,1488,1312,1318,1274,1360,1144,907,821,698,525,449,440,502,521,499,423,512,540,427,462,532,514,990,1384,900,428,484,558,676,656,701,799,853,664,473,719,822,756,1128,1650,2032,1292,755,550,833,530,473,504,539,1010,1134,1130,1152,539,597,811,1644,1638,775,689,830,751,755,766,649,443,464,488,462,437,439,629,594,637,576,354,309,353,363,343,346,443,514,505,492,707,615,589,863,920,905,869,708,610,473,460,875,1158,849,1072,1324,814,623,858,1056,1160,1005,888,886,852,929,1130,698,819,1262,1324,1160,1138,1396,1290,1118,1194,1268,1206,946,763,874,1021,1090,1062,1023,949,766,576,837,1074,912,1148,846,976,1001,951,1100,925,598,525,628,651,536,532,604,766,999,1110,1226,1130,1204,1294,1422,1388,1412,1278,982,870,966,871,835,812,650,824,796,695,515,480,934,1194,866,740,767,1012,1202,1030,638,844,716,1140,1754,1724,1488,1384,1208,1064,885,956,1296,1274,979,502,395,594,796,839,886,884,1124,1048,622,522,694,995,991,1192,1346,1278,1228,1220,955,773,777,544,318,378,393,438,431,399,484,383,294,321,351,421,434,354,344,364,380,399,376,383,308,290,504,768,743,675,849,1110,1172,1074,1384,1354,1546,1372,1076,1006,820,485,350,483,761,976,752,565,719,1566,2326,2114,1474,1052,1112,1342,1554,1352,800,551,818,718,572,696,1036,836,1174,1194,1226,996,475,537,607,445,431,423,366,488,399,524,451,306,250,268,250,253,343,358,313,314,351,347,770,981,1340,1450,1350,1844,1964,1648,1582,1622,1466,740,429,567,787,1156,1116,725,520,735,855,1058,1268,1066,915,901,1208,1348,1162,1322,1310,1388,1382,944,898,1346,1436,1236,1254,1306,1310,984,752,827,1250,863,502,512,521,893,1134,918,806,854,987,1288,1414,1082,806,717,919,1030,1042,879,888,1005,976,669,375,318,395,778,814,1000,1156,1284,1522,1460,1332,1344,1288,1090,1062,1158,1108,1410,1538,1380,1118,1078,1282,1252,1186,1294,1200,800,885,963,1060,697,448,383,399,382,372,366,405,516,653,666,670,412,372,310,298,367,681,868,1038,1212,1068,1008,1048,986,1202,1046,1138,1644,1554,1430,1196,991,883,912,1122,1098,911,1306,1380,1346,1204,1296,1538,1456,1486,1390,1494,1490,1172,806,749,1182,1038,621,1070,711,736,1304,1506,1504,1472,1438,1322,1292,877,703,1156,1104,918,783,860,1314,1560,1664,1638,1572,1516,1352,1324,1314,946,907,759,603,425,407,703,650,523,783,994,1310,1220,1300,1404,1390,1294,1158,768,759,1246,1402,1300,1070,1086,1012,1092,1062,1232,1284,1204,1286,1070,1028,1048,924,1082,1322,858,614,821,545,408,487,688,595,466,434,533,638,586,545,529,438,513,514,495,458,687,449,333,389,497,430,326,318,333,365,526,626,855,1252,1836,1658,1774,1698,1292,1040,1116,1044,890,1134,1078,917,649,594,481,511,992,1166],[1056,727,695,649,514,412,410,378,357,394,308,307,355,394,639,857,764,427,472,564,480,703,1258,1576,1428,1186,1470,1504,1820,1682,1738,1990,1720,1360,1122,1290,1300,1070,1472,1334,745,422,416,395,390,498,349,274,314,342,319,312,505,837,878,492,442,304,298,1312,2036,1878,1758,1846,1776,1334,812,1162,1368,1134,872,815,784,867,1306,1390,1264,1054,870,877,1070,1294,1152,1005,1106,1070,701,487,431,406,414,399,401,395,471,769,922,677,766,772,1036,1266,1352,1108,1060,1410,1114,648,827,1072,1124,847,495,737,562,403,390,312,299,298,584,896,760,612,440,609,763,493,358,312,447,719,1084,1160,934,915,996,708,829,1086,1003,589,332,273,308,328,368,428,398,456,655,619,568,517,448,492,542,504,528,731,897,957,1018,929,829,1318,1488,1426,1388,1408,1172,994,1048,904,751,837,843,935,894,777,519,480,379,327,435,490,398,372,408,427,389,497,813,501,412,379,370,366,336,449,866,1158,1172,1650,1820,1462,942,1007,939,747,483,465,427,336,287,284,336,378,471,644,708,1192,1278,1084,1010,813,630,650,810,1086,1404,1366,1310,1122,954,913,750,695,1270,1516,1110,617,364,487,990,1258,791,452,308,295,342,494,624,515,481,755,1198,1494,1338,853,781,802,736,725,732,613,505,442,485,786,1092,1238,969,458,386,434,530,717,490,480,536,1220,2392,2736,2192,1490,942,1344,1860,1500,841,403,413,445,421,381,414,573,611,548,738,794,460,435,498,323,297,407,479,456,550,580,566,663,668,467,286,262,355,296,310,588,1036,1016,719,476,396,480,489,502,480,457,499,505,828,1021,967,768,959,744,460,495,585,758,880,593,438,602,1046,1246,1100,1266,1322,1316,1362,1184,844,726,756,969,1558,1460,1122,1324,1272,1330,1136,820,697,757,1058,1232,1220,1192,1130,605,609,983,976,1320,960,457,376,409,486,528,462,590,869,669,455,800,1328,1222,938,1096,1440,1204,611,647,847,661,905,1216,1364,1282,1278,1344,1184,933,712,619,493,396,419,398,364,403,706,1146,1544,1242,1100,875,733,835,1140,1226,1202,1158,1246,1023,863,801,1380,1013,622,1184,1536,998,1106,1266,833,911,1690,1556,714,895,1206,1346,1001,1188,1290,711,309,365,426,448,448,415,418,573,605,550,468,613,781,746,583,625,725,631,594,636,664,626,541,536,525,415,457,439,295,230,234,250,263,285,288,372,386,386,890,890,1116,1572,979,546,975,1314,829,802,839,1140,1106,1306,1014,856,830,710,957,1208,802,476,508,579,541,750,863,907,602,558,852,904,841,824,768,630,365,378,623,662,564,530,465,406,363,525,962,1108,1120,945,893,803,1078,1152,705,918,1204,1400,1294,1304,1230,1008,943,1216,1300,1224,1262,1358,1364,1122,1118,1256,1338,1038,891,831,595,532,426,533,1080,1542,1310,1178,1192,1294,1282,1052,1104,1320,1310,1220,1194,1224,935,688,774,1246,1084,920,1074,1290,1366,1492,1122,844,1054,1196,1328,1484,1628,1490,1450,1522,1568,1370,1256,1112,1190,1540,1350,1116,1144,1338,1348,1280,1426,1550,1578,1598,1500,1500,1484,1240,1166,1414,1246,1288,1380,1252,1400,1430,1284,1294,1252,1044,1078,1096,1100,1324,1482,1392,1398,1304,1304,1300,1360,1640,1694,1214,1086,1074,1058,1316,921,1122,1238,1264,1096,1136,1098,1246,1332,1028,1090,1354,1294,1528,1990,1646,1076,1146,1056,1256,1166,1234,1184,1126,1288,1346,1176,1172,1190,1152,1096,1372,1566,1328,1186,1180,1482,1814,1628,1578,1434,1336,1282,1328,1472,1344,1414,1400,1254,1490,1454,1330,1352,1312,1166,920,1110,1270,1266,1238,1416,1190,1230,1278,1276,1126,988,1078,1246,1154,1668,5072,3474,1496,1250,1394,1272,1042,1030,962,1250,1554,1480,1092,1096,1500,1170,1366,1108,636,764,1038,1570,1546,1280,1306,1158,1484,1400,974,824,944,1092,1078,1144,1302,1378,1250,847,415,763,916,678,637,1126,1038,1180,1468,1180,531,485,527,711,926,1056,1164,1244,664,626,585,418,332,381,602,735,601,598,933,1354,1488,980,594,1012,1166,503,355,543,559,557,747,713,481,416,431,443,631,604,376,378,417,429,667,492,383,678,607,304,428,461,414,740,769,568,370,494,847,1028,1015,860,760,471,289,296,417,405,317,292,371,433,403,438,612,699,494,462,402,383,572,617,1100,1120,750,920,860,408,421,646,688,489,723,670,713,952,1066,1144,1062,809,976,1276,1266,641,442,471,447,968,1084,1212,688,459,376,316,528,498,304,448,587,607,641,476,408,365,323,307,267,232,239,294,379,604,670,488,256,272,336,427,441,450,354,236,213,268,366,405,464,539,550,518,548,394,273,312,393,445,444,430,364,313,299,324,204,209,246,263,300,328,337,379,593,1014,1204,982,558,717,482,415,485,861,1316,989,675,933,1224,1208,1050,973,731,966,1344,1142,1154,1232,1230,994,561,546,750,786,745,969,1102,1204,1156,1196,1556,1192,998,1086,1166,1176,1122,1172,1274,1338,1204,970,1176,1078,877,663,1232,1580,1100,1028,1388,1244,738,749,1072,1204,1110,1032,1612,1858,2388,2214,1758,1342,1130,1252,840,683,806,578,627,1090,1802,1556,1376,1644,1554,1214,1194,1166,1046,1348,1114,653,834,1438,1366,902,630,514,449,343,374,718,1152,1011,705,548,914,1404,1422,1206,819,798,851,835,843,647,576,592,613,596,479,513,621,600,467,457,435,424,728,1252,1338,1174,1128,1236,1160,1004,869,681,650,587,782,861,468,370,558,665,698,702,489,518,532,538,485,1007,1102,849,1102,1192,1050,774,637,861,1172,1026,846,1292,1238,722,776,965,1156,1416,1306,1226,1360,1442,1166,1546,1290,1262,1202,1358,1182,914,1036,1290,1332,1360,1266,1336,1538,1506,1466,1252,1344,1370,1442,1248,874,709,613,511,466,416,433,410,456,432,459,550,507,413,406,402,764,1402,1202,523,446,503,656,695,699,777,849,754,664,800,913,495,775,1554,1676,1088,592,403,802,706,689,881,1005,1338,1108,995,1188,617,554,773,1536,1618,1144,1060,1114,838,758,677,695,596,518,541,745,606,624,1034,799,860,1030,645,383,381,387,336,320,350,291,439,744,1274,1060,811,1100,989,841,1058,1108,1017,854,731,897,1072,910,1180,1078,941,985,1114,1180,989,681,893,1056,753,628,646,678,937,1180,1120,1056,1524,1924,1424,1154,1064,1422,1116,1174,1130,1086,1126,1174,1144,927,565,728,897,858,1090,1162,1126,1082,1306,1306,1156,1200,902,600,536,544,591,504,394,409,662,1004,1366,1350,1196,1268,1450,1488,1414,1224,1232,974,573,642,568,430,425,529,952,1076,835,551,547,979,1094,776,948,553,777,1220,1023,821,717,791,1350,1768,1624,1364,1224,1048,1038,1262,1070,716,848,920,547,454,874,1036,787,761,939,1310,1124,669,492,748,1224,1186,921,1166,1300,850,597,714,992,996,593,321,340,398,433,338,217,225,238,275,333,353,351,357,389,436,508,432,372,345,321,259,334,546,635,739,1050,1354,1202,1150,811,1408,1700,1516,1046,745,865,1066,664,374,443,518,505,593,776,636,946,1794,1410,1194,1258,1122,1876,1792,1786,1592,840,836,604,491,517,845,769,813,834,574,433,452,528,648,590,537,423,350,326,380,468,389,278,276,251,213,241,274,269,266,309,277,235,525,832,1398,1414,1108,1442,1456,1412,1550,1262,927,535,441,435,821,1472,1378,896,689,936,1282,1062,760,593,520,946,1204,1252,977,1142,1196,1030,1290,1208,940,1414,1666,1490,1360,1332,1354,1010,785,990,1312,1010,672,630,966,1280,1130,1118,1072,1176,1478,1230,1110,1134,888,818,1106,1182,1002,786,540,761,916,796,412,340,372,672,1142,1510,1188,904,1148,1272,1378,1364,1342,1140,1320,1348,1178,1332,1592,1324,1092,1372,1250,1196,1322,894,891,822,1194,1426,1258,897,581,607,587,421,353,336,343,524,777,742,808,638,372,300,274,569,1070,1258,1238,820,691,989,1122,981,1222,1238,1240,1198,1152,1384,1438,1056,541,605,1036,1052,1300,2010,1406,1234,1362,1334,1256,1664,1920,1738,1644,1434,941,567,502,815,1194,1056,1294,1152,1124,1378,1516,1494,1468,1374,1238,922,617,533,748,1084,1094,994,1316,1780,1764,1494,1512,1648,1718,1560,1610,1494,1138,1220,798,399,443,448,511,475,769,1250,1186,1310,1526,1574,1416,1572,1422,977,695,982,1382,1498,1316,1028,862,885,1090,1136,1072,1050,1122,995,810,872,1005,954,922,969,691,794,982,603,535,722,698,527,424,428,461,590,616,477,482,439,471,400,432,419,554,535,465,429,370,354,306,303,308,335,515,570,827,1410,1888,1682,1202,1090,1154,1036,1056,897,1068,1348,955,620,464,458,485,536,693,906],[1358,1194,1118,1204,836,484,404,409,355,380,371,394,328,375,813,888,647,390,320,408,423,618,1230,1512,1308,1324,1470,1318,1490,1500,1654,1744,1684,1538,1566,1572,1238,1374,1438,1048,487,385,377,383,436,393,271,258,319,346,334,351,423,509,757,717,545,360,258,978,1948,2074,1912,1964,1816,1666,917,966,882,737,736,870,610,615,912,1152,1276,1188,771,781,766,872,811,976,1074,1004,645,317,305,366,426,411,410,409,570,631,569,732,811,784,771,1028,1548,1132,850,1156,1058,808,1288,1316,1268,929,487,684,660,624,636,368,330,475,1052,1360,799,413,339,569,694,493,356,361,490,750,968,1072,1336,1532,1180,666,764,728,651,607,520,382,370,362,331,310,409,996,1360,1230,807,510,406,390,412,492,711,872,807,843,1062,1114,1014,1372,1576,1322,1130,1148,766,716,1058,1132,1008,846,739,735,559,558,562,455,438,397,530,662,477,437,419,421,415,676,968,589,447,394,374,368,362,418,1072,1886,1750,1914,1958,1714,1248,948,511,925,1134,632,346,339,383,453,495,458,452,564,630,899,1114,1114,850,699,516,534,622,662,872,747,799,575,417,527,531,433,569,704,951,940,484,601,1238,1036,650,408,356,345,342,368,458,532,619,924,1220,1240,1412,1486,1100,652,635,671,653,553,503,456,482,703,821,982,948,423,351,421,513,603,458,481,405,876,1768,2046,1470,810,719,1592,1998,916,464,508,563,392,272,233,268,396,487,439,597,861,631,689,787,386,273,258,377,485,471,438,442,472,506,369,302,269,284,318,384,687,879,989,976,802,777,623,456,408,388,403,484,492,659,780,802,717,1134,1024,510,528,669,905,939,533,371,591,1070,1146,860,1116,1310,1334,1400,1396,1250,854,575,815,1318,1296,1082,1160,901,983,1030,1030,1005,1096,1266,1150,1224,991,977,555,609,1092,1336,1408,1038,664,590,713,846,850,711,682,576,623,744,664,775,699,714,761,645,615,749,541,518,564,1058,1172,1102,1066,1356,1622,1428,1044,989,903,481,358,435,411,411,487,964,1178,1444,1200,819,918,1122,1036,933,1030,1048,1122,1478,1023,529,557,817,894,775,989,1338,1160,904,797,750,1122,1726,1490,634,631,626,579,911,1436,1416,758,345,317,367,420,466,324,357,523,649,608,581,673,781,771,658,702,661,361,491,864,857,711,574,537,450,298,300,277,232,225,275,261,294,326,348,379,400,626,1268,1266,1384,1332,690,540,733,721,497,650,1028,1108,1094,1278,1128,847,772,670,706,869,511,327,312,487,700,855,848,881,766,702,769,861,1036,1070,906,610,437,439,631,643,541,496,518,536,472,689,930,1042,1242,1104,1148,788,800,769,686,903,1082,1200,1330,1370,1158,975,1108,1226,1150,1170,1176,1100,1314,1216,1032,1154,1322,1136,1256,1126,636,611,621,849,1236,1448,1506,1410,1430,1300,996,966,1002,1240,1292,1344,1356,1256,924,629,841,1184,1202,1492,1992,1810,1290,1476,1322,1238,1122,1224,1594,1616,1680,1610,1560,1530,1460,1340,1260,1322,1416,1426,1386,1500,1506,1400,1384,1558,1578,1406,1426,1526,1526,1484,1300,895,915,1252,1340,1390,1282,1162,1072,1032,1158,1240,1108,1058,1170,1132,1198,1396,1604,1710,1322,1256,1410,1376,1354,1502,1480,1380,1156,1094,1104,1306,1294,1278,1520,1462,1168,1128,1090,1100,1005,905,960,1362,1166,1340,1732,1428,1118,1126,1160,1240,1258,1244,1142,1268,1302,1152,1208,1234,1164,1034,1180,1226,1146,1294,1440,1220,1440,1700,1370,1310,1538,1544,1490,1610,1354,1208,1244,1146,1224,1406,1378,1302,1422,1380,1292,1102,1098,1146,1234,1188,1156,1296,1270,1130,1048,944,1110,997,1240,1410,1498,1462,1048,1246,1302,1218,1078,1298,1052,763,1252,1924,2150,1622,1498,1314,1262,1650,1218,563,460,809,1328,1190,1178,977,957,1048,1080,921,786,1058,1278,1384,1372,1282,1264,1188,937,540,797,565,379,466,718,872,995,1564,1490,886,771,443,623,688,786,1362,1446,1248,1158,747,442,317,291,333,342,317,335,545,596,550,493,502,692,602,348,245,368,411,227,371,724,346,384,649,811,1260,838,378,361,325,353,313,228,467,816,455,662,967,682,410,567,1130,1136,825,837,839,791,799,861,821,410,349,321,290,336,349,756,974,525,411,300,260,341,442,470,420,397,499,547,859,1106,763,550,487,295,318,560,785,460,699,901,659,565,750,990,923,766,930,1212,1280,721,516,443,370,431,512,478,350,442,399,339,598,703,336,454,506,524,608,286,174,222,269,258,223,218,242,282,423,664,667,562,372,393,419,424,409,345,241,234,226,225,279,273,340,508,550,579,670,433,253,255,328,426,454,467,474,441,375,313,207,234,353,503,542,593,605,408,336,551,971,1208,701,446,505,693,724,1118,1222,1096,1112,1128,1388,1316,987,1114,991,1046,1460,1352,1250,1108,1040,702,421,440,677,1010,985,1120,1284,1412,1232,1114,949,583,602,1016,1422,1390,1180,1390,1426,1546,1326,1018,1346,1428,1154,710,1330,1984,1158,894,1302,1286,965,734,598,524,494,487,1132,1610,1142,595,897,998,599,507,577,1042,1114,822,1170,1610,1426,965,864,991,1032,796,786,750,951,1024,792,646,946,1416,1158,681,452,376,330,277,266,393,462,622,674,886,1334,1416,1280,1026,855,841,843,902,741,603,557,500,474,525,460,628,822,603,416,414,383,483,932,979,700,713,930,1032,889,728,633,973,1318,1202,1336,1050,525,505,447,416,471,511,498,722,774,646,709,1176,1038,880,1116,1060,993,837,683,930,1294,1158,713,976,1136,753,715,1022,1078,1282,1396,1454,1196,1324,1092,1208,1042,1134,1298,1292,1162,827,1032,1408,1444,1472,1316,1400,1234,1080,968,1034,1040,1036,1402,1142,912,774,492,442,453,410,418,380,396,477,556,601,543,410,362,465,919,1416,1354,669,448,527,581,555,557,695,728,582,600,709,981,666,785,1154,875,764,692,460,660,806,630,648,685,974,795,915,1022,733,699,792,1306,1540,960,862,1148,856,949,1021,612,596,584,875,968,612,556,990,993,689,755,626,465,419,471,377,295,357,414,618,919,1064,771,827,1042,854,820,982,1150,1138,1132,919,870,814,980,1164,1092,1086,1248,1182,1136,941,511,659,812,573,753,1026,1112,1300,1322,1190,1176,1406,1634,1448,949,934,1288,887,1018,1150,1190,1228,1098,1086,1082,691,616,961,1110,1166,1332,1012,876,1234,1302,1266,1252,978,689,535,470,472,501,618,895,1260,1200,1170,1302,1218,1166,1420,1456,1338,1242,1478,1448,993,664,716,781,752,750,966,1234,1042,612,469,926,1242,999,1250,875,786,722,576,765,791,1122,1634,1576,1410,1208,1180,901,845,872,748,800,1220,1250,1015,747,595,536,361,575,980,1176,1300,1182,872,940,899,1024,1040,817,951,885,637,999,1044,802,525,386,371,440,381,237,201,202,275,381,336,322,350,350,326,413,419,339,321,332,305,260,394,495,455,726,1290,1268,941,1066,1238,1464,1504,1294,1106,867,984,1196,745,516,507,541,408,375,805,663,595,1220,1510,1720,1506,1066,1224,1438,2016,1986,1418,765,487,553,485,530,533,561,515,316,337,415,336,537,610,502,340,289,313,321,368,359,243,281,278,257,258,293,313,281,275,293,270,414,651,1078,1084,827,1064,1346,1358,1322,1158,1060,894,694,507,628,890,835,869,1084,1636,1604,1642,1136,660,697,976,1250,1262,1032,878,791,938,969,827,1354,1742,1736,1768,1416,1166,1126,748,500,942,1190,825,614,732,1170,1460,1076,1236,1482,1368,1388,1188,1062,1242,1294,1212,1306,1266,1226,1224,984,973,781,826,716,544,388,683,1198,1228,1040,1056,969,1288,1352,1140,814,1040,1246,1628,1618,1426,1572,1626,1570,1414,1216,1030,841,834,964,1134,1342,1214,889,636,503,488,445,385,324,305,366,613,744,1038,1826,1264,443,328,326,661,1138,1324,1098,699,820,1090,1330,1100,1092,1354,1174,855,994,1312,1538,1334,988,746,1012,1172,1348,1672,1382,1270,1270,968,1180,1772,1638,1472,1422,863,594,682,750,811,971,1030,1270,1368,1406,1508,1422,1408,1490,1218,1456,990,624,492,644,1064,1228,1292,1428,1560,1730,1516,1472,1340,1516,1272,1570,1552,1470,1438,856,533,656,678,471,412,706,1030,1438,1478,1482,1450,1624,1606,1318,858,565,860,1182,1276,1270,1190,894,1186,1098,847,900,1184,1208,1226,1284,1070,943,810,764,732,663,768,952,667,848,1004,769,472,348,361,417,545,701,574,569,514,455,350,340,455,572,495,504,524,340,291,288,273,292,310,501,599,777,1300,1708,1688,1418,1312,1186,1216,1208,1214,1314,1144,760,617,857,797,578,668,738,872],[720,1140,1318,1180,824,607,450,404,479,421,427,517,407,503,814,769,620,402,327,385,478,935,1520,1584,1466,1438,1240,1296,1354,1306,1326,1368,1412,1604,1694,1606,1372,1606,1176,708,494,433,413,523,563,331,219,259,316,325,386,408,447,466,577,574,412,382,300,675,1706,2160,1996,1946,1892,1692,902,740,700,689,672,604,599,733,901,882,775,945,637,515,419,752,628,755,1021,1036,887,813,593,381,452,430,432,469,693,620,533,779,841,855,1118,1466,1372,1068,1042,910,901,998,1416,1042,852,754,402,576,807,984,938,631,377,325,620,630,263,297,439,501,483,585,663,594,678,713,865,1082,1202,1804,1246,677,796,677,577,628,560,549,497,428,344,289,529,1176,1248,1086,968,712,484,376,418,619,777,809,845,869,1088,1170,1132,1288,1376,1262,1428,1102,493,778,1318,1230,1034,876,1218,1248,797,586,766,720,604,511,488,586,455,532,506,446,437,808,900,850,666,455,372,365,356,387,740,1554,1698,1550,1664,1514,1114,636,486,904,818,437,362,394,413,388,357,377,486,733,907,741,1100,1246,957,800,653,725,934,877,587,423,482,350,303,469,543,767,980,655,980,1344,758,685,1072,665,708,567,345,272,408,677,648,529,628,896,1148,1702,1670,1904,1284,803,680,635,605,667,905,738,432,489,528,539,525,366,363,398,590,565,468,518,446,424,695,1162,926,624,429,667,808,400,351,480,413,303,330,386,365,415,599,565,460,875,669,713,719,428,262,301,396,375,363,342,352,365,403,314,292,227,365,408,506,902,1226,1200,896,846,1080,707,438,371,394,523,466,454,615,993,1200,924,1004,1072,723,731,949,1380,1456,716,427,768,1240,1264,1018,916,1015,1306,1224,1188,1092,729,695,932,1246,1168,1080,1014,836,848,960,1098,949,894,1134,1104,965,1058,1234,1250,1168,1238,1192,1220,1240,804,608,942,1048,905,887,810,680,802,766,505,522,599,602,482,467,870,1072,576,590,574,962,1246,1278,1248,1252,1310,1122,773,579,563,458,446,427,459,540,615,722,1054,1194,885,611,636,816,1034,797,1052,954,1300,1538,908,428,423,414,617,709,718,1094,1122,1122,923,979,1310,1466,1134,826,955,904,830,1192,1576,1542,689,304,322,368,312,307,326,451,550,557,625,832,888,907,901,816,825,666,474,1140,1716,1182,760,635,530,397,295,287,278,246,232,261,277,318,327,392,445,429,883,1390,1280,899,430,361,459,491,390,353,455,724,769,717,957,1152,823,659,592,565,568,464,529,421,576,813,810,705,863,924,766,748,885,1140,1442,1716,1324,874,650,636,623,521,472,625,745,838,1196,1392,1360,1132,995,1042,1028,927,903,987,1016,1108,1142,1114,1108,986,1062,1136,1182,1122,1102,1116,1466,1576,1252,947,778,987,1288,1570,1318,998,936,1074,1198,1282,1588,1688,1404,1302,1300,1048,1114,938,1236,1366,1438,1392,1156,1138,1148,1050,1120,1554,2122,2252,1742,1128,1278,1390,1284,1214,1356,1610,1576,1690,1722,1474,1592,1614,1402,1418,1346,1250,1372,1366,1250,1280,1420,1472,1224,1076,1286,1516,1542,1270,1040,1096,874,843,1050,1562,1690,1408,1194,1110,1272,1408,1278,1100,1258,1210,1116,1290,1390,1848,1872,1454,1366,1364,1290,1284,1226,1392,1310,1296,1200,1194,1326,1426,1330,1416,1390,1238,1172,1104,1076,809,749,919,1064,1160,1386,1412,1482,1442,1346,1230,1144,1136,1272,1334,1318,1230,1256,1418,1368,1108,1170,1302,1274,1516,1610,1358,1068,1108,1080,1222,1178,1288,1452,1604,1848,1724,1426,1186,1224,1294,1126,1252,1242,1428,1260,1500,1420,1180,1080,1110,1142,1196,1130,991,1090,1040,1014,1136,1174,1594,1634,1392,1334,1388,1250,1182,1088,1366,1140,942,1206,1322,1902,2210,1908,1344,1308,1556,1426,1024,504,787,1338,1138,919,1074,548,526,521,369,274,399,686,1208,1872,1520,1058,827,1054,1128,767,667,695,634,610,775,742,714,799,934,1660,1648,584,498,645,609,1626,1882,1350,893,509,310,220,269,321,559,452,318,331,375,508,797,1030,767,317,271,247,245,237,214,337,537,314,438,710,1046,1252,785,466,422,383,372,322,376,709,731,449,969,1310,1174,943,1246,1824,1708,1512,1358,788,499,503,551,444,451,466,318,315,369,402,902,1186,883,853,655,404,301,320,398,408,494,631,659,800,786,453,411,460,358,324,542,830,548,406,359,342,353,486,872,975,726,968,1136,899,474,466,491,405,310,267,284,332,478,501,336,463,611,312,360,298,264,301,268,223,226,238,218,220,221,233,258,408,630,615,475,356,406,486,465,423,371,266,247,215,203,229,259,282,458,571,593,662,566,362,319,406,476,453,463,472,476,403,307,265,357,490,624,718,807,742,479,305,417,843,1036,1148,1036,1092,1250,1350,1368,1240,1218,1216,1220,1140,1001,1052,1188,1202,1118,1064,994,888,968,1030,789,519,460,653,788,950,1156,1464,1528,1384,1166,765,402,305,479,994,1222,748,821,1138,1300,1242,1156,1148,1284,1294,785,716,1218,1096,1088,835,697,736,834,753,596,419,330,694,938,677,600,702,596,694,974,1162,1282,1456,1452,1618,1472,1148,1014,884,959,1090,733,681,615,591,640,937,1024,1176,1278,849,480,384,284,319,283,352,823,697,525,651,1192,1422,1302,1096,959,879,805,896,878,761,579,530,484,416,430,572,847,836,544,440,466,477,659,783,581,547,616,782,710,568,660,904,1182,1272,1352,1158,709,468,488,490,479,444,412,434,558,628,625,930,1212,832,876,938,1034,1218,1254,918,930,1196,1200,980,964,963,860,611,927,789,630,1076,1196,1028,1058,1034,1124,1170,1140,1234,1228,1294,1094,1262,1310,1226,1268,1406,1234,847,832,741,949,1274,912,1160,1156,987,693,588,511,483,444,425,400,425,547,582,528,462,383,427,864,1722,1860,1578,1012,505,509,594,508,455,521,521,447,386,567,1007,878,888,985,901,838,594,563,951,1146,636,573,583,680,728,1272,902,720,1023,838,1174,1338,840,980,1068,837,1003,1132,752,720,857,1044,1120,941,668,767,916,454,366,493,712,888,753,532,386,357,891,1612,1762,1146,838,913,1202,1122,1388,1248,1084,846,880,748,533,691,1042,976,559,642,1118,1094,1180,747,625,716,768,617,532,740,996,908,998,1212,1344,1218,1272,1322,1023,960,1286,1382,1342,1236,1246,1332,1108,1054,1140,969,940,1242,1330,1400,1358,1198,1166,1318,1390,1302,1320,1126,786,521,435,584,919,1112,1228,1264,1204,1200,1332,1284,1036,1266,1406,1510,1812,1638,1608,1338,1128,1114,844,811,940,871,1136,1040,551,655,1424,1428,973,1072,862,848,981,921,909,935,708,751,1704,1598,777,979,1232,1088,711,867,1172,1154,1156,1208,1130,993,724,435,686,1092,900,1074,1310,1198,1232,968,949,1340,912,769,1282,1118,1234,781,375,392,386,398,404,279,265,333,257,349,551,488,337,323,320,241,341,430,367,253,243,318,516,592,840,608,485,1034,963,697,996,1424,1388,1208,1114,879,1110,1344,1348,624,526,490,405,313,252,385,511,787,1017,1136,1258,1482,941,639,1012,1760,2056,1920,1240,697,482,484,520,594,846,1156,529,310,334,325,463,659,763,501,238,328,297,353,441,365,337,324,291,284,295,284,275,324,318,348,429,478,1064,1022,1258,1404,1584,1492,1152,1226,1628,1532,1056,810,825,629,498,674,739,1340,1003,1402,1238,1446,1254,991,1021,943,1234,1372,1380,1356,843,735,1126,1360,1338,1682,1580,1332,993,800,980,1176,1098,902,938,890,808,1094,1116,1040,1090,1154,1184,1010,1018,1498,1542,1346,842,879,1206,1268,1278,1086,819,880,1126,1264,866,564,968,1322,1384,1140,918,1262,1318,783,416,603,674,902,1232,1482,1584,1614,1406,1278,1230,910,937,831,861,1036,1108,868,532,494,605,518,501,436,369,332,427,736,828,963,1698,1410,496,331,297,510,1070,1332,990,653,1006,1238,1210,1052,1144,1078,1072,1064,1028,1192,1546,1204,1023,906,1090,1310,1364,1328,1456,1362,1023,912,1218,1492,1354,1582,1222,699,705,709,855,1172,1090,1154,1396,1316,1244,1476,1622,1666,1600,1072,962,1052,818,714,944,1040,1170,1290,1232,1244,1578,1542,1498,1318,1344,1452,1550,1552,1632,1386,1028,925,977,1266,904,516,705,874,1038,1306,1350,1328,1482,1412,1344,882,957,825,645,922,1216,1078,1128,1160,1038,1048,1220,1200,1250,1338,1436,1298,1180,934,811,670,809,857,883,870,979,1066,839,450,324,333,378,509,736,709,626,550,471,428,455,491,521,443,322,366,329,306,321,302,307,311,531,739,1002,1346,1666,1432,1696,1860,1132,1312,1318,1298,1052,889,610,502,864,1002,836,990,1144,1410],[387,580,699,857,615,528,432,332,371,433,502,659,558,517,666,458,501,479,369,407,700,1284,1516,1532,1344,1222,1072,1126,1330,1360,1452,1256,1492,1776,1520,1534,1562,1576,1084,691,631,591,556,599,655,416,300,307,277,280,363,404,544,640,634,493,350,411,388,508,1438,2160,1984,1748,1554,1168,876,744,750,695,646,716,810,813,825,684,641,652,987,847,645,843,703,767,1042,943,1146,1312,1110,575,404,413,423,512,492,359,424,505,561,909,1562,1732,1240,1068,854,669,718,763,1046,696,648,1050,858,525,592,955,730,658,483,408,386,284,265,379,603,731,639,703,727,736,995,1040,1012,1268,1272,1310,930,791,718,476,586,643,639,521,415,378,322,339,425,610,774,811,838,807,752,544,559,742,631,634,835,885,933,1064,982,771,860,1240,1394,1126,770,969,1278,1092,998,976,1144,1218,855,789,1138,962,561,504,564,539,430,458,464,446,561,826,738,536,533,535,396,354,367,333,444,1448,1652,1376,1322,1348,964,546,508,538,409,314,393,372,336,350,384,435,570,1013,1013,499,733,1012,626,560,720,811,1084,1026,680,482,416,352,360,464,456,843,1202,751,1230,1606,1182,951,963,946,980,867,583,319,750,1094,926,825,791,983,1348,1600,1160,1212,919,755,750,756,559,436,450,392,412,360,457,411,354,326,361,412,595,605,827,1066,559,495,711,803,654,507,367,346,375,369,362,293,241,310,400,506,436,359,456,487,482,748,682,665,488,300,304,356,321,312,280,302,326,339,351,374,354,273,314,394,524,872,1294,1078,756,677,876,608,401,381,363,473,450,515,874,1222,1048,931,1134,1066,1204,1302,1196,1468,1612,869,488,929,1230,969,1052,1132,1112,1036,1038,1003,921,783,874,907,1254,1354,1188,1136,830,720,881,1017,849,650,1005,1080,1130,1624,1860,1810,1420,865,720,1158,1356,822,526,408,451,561,827,918,874,996,893,772,736,787,702,752,523,628,910,955,833,873,1100,1260,1070,855,922,1108,757,643,441,396,477,800,668,581,818,869,691,801,829,728,436,410,516,890,857,1110,1114,1230,1036,741,658,552,412,339,375,762,1064,940,758,709,581,849,1146,1030,883,1132,1208,931,995,889,587,361,377,389,325,277,307,371,394,421,515,615,838,888,872,850,790,821,718,976,1878,1880,1130,816,714,657,612,495,308,285,240,246,284,363,375,312,323,394,634,1108,1078,1009,1114,702,548,484,380,385,681,789,531,590,630,828,1004,679,604,418,659,1038,714,556,503,615,807,633,558,841,1032,811,847,1092,1114,1294,1422,1452,1504,1340,940,678,670,554,735,865,883,924,1224,1426,1210,1074,1034,1088,1112,1256,1454,1192,1212,1298,1212,1013,891,980,998,1098,1146,1164,1228,1288,1372,1312,1080,698,822,1116,1174,1180,1090,1148,1392,1490,1500,1592,1648,1404,1216,1384,871,675,590,1004,1346,1200,998,1068,1534,1580,1001,822,1214,1548,1666,1810,1216,900,1030,1072,1328,1552,1608,1544,1678,1880,1620,1490,1418,1528,1710,1734,1646,1584,1368,1424,1644,1500,1136,1102,1410,1578,1578,1406,965,779,974,1126,1170,1200,1556,1686,1462,1186,1296,1656,1346,1052,1020,1088,1198,1316,1322,1246,1338,1454,1462,1296,1258,1416,1278,1286,1488,1140,1470,1274,1214,1378,1498,1496,1454,1400,1242,1254,1166,1260,893,647,948,1010,1128,931,1060,1504,1586,1420,1214,1060,1200,1744,1482,1260,1156,1074,1252,1292,1108,1346,1506,1560,1886,1444,1168,1244,1184,1172,1238,1260,1196,1072,1304,1684,1582,1450,1344,1186,986,725,824,955,1204,1388,1476,1310,1162,997,1012,1202,1074,784,1078,1356,1144,1184,1374,1560,1648,1422,1324,1256,1038,1166,1136,1268,980,1150,1666,2132,1770,1830,1788,1382,1256,1616,1580,952,574,651,944,1458,1116,1190,941,522,509,485,415,502,606,821,1312,2706,1602,588,329,877,1404,1260,784,766,824,896,1078,901,899,703,811,1358,1180,730,504,559,635,1278,1492,923,632,524,377,255,288,304,482,520,410,324,382,616,819,809,602,315,328,282,241,215,241,311,359,342,412,558,700,698,736,614,464,348,275,265,344,578,478,357,572,787,892,1132,1738,2048,1904,1624,1306,1122,739,510,357,333,593,764,686,498,436,547,1340,1216,1050,1280,931,443,287,312,385,464,572,613,662,727,518,529,809,944,611,380,460,777,650,321,432,537,551,596,710,790,611,846,1118,948,649,575,526,371,255,255,380,666,1104,1148,502,348,538,357,303,290,442,775,717,281,182,183,211,230,269,307,303,447,640,615,400,203,301,466,478,440,420,319,249,201,232,248,242,217,297,473,526,557,613,528,357,373,409,450,491,467,479,509,478,443,432,557,724,730,771,731,580,446,361,681,965,1172,1214,1246,1178,1234,1178,1064,1074,930,727,717,618,603,889,1056,801,659,811,797,1072,1268,1066,752,701,693,505,645,985,1324,1494,1446,1038,805,782,404,428,1160,1116,589,1018,1262,1244,1356,1236,1072,1128,1328,1028,527,850,1132,995,677,719,694,590,629,563,375,332,362,379,447,703,1098,872,681,908,1180,1212,1174,1230,1428,1464,1456,1400,1342,1310,1362,1334,1136,988,894,937,1174,1290,1282,1022,841,534,467,347,421,510,793,998,971,815,1118,1400,1252,984,902,860,753,830,833,661,692,623,616,628,489,393,507,626,558,476,619,686,682,798,553,446,587,641,547,585,831,1068,1094,1012,1268,1086,524,474,615,753,678,625,645,519,375,363,430,562,1007,1256,768,684,846,1190,1428,1552,1266,1018,1116,1230,1132,1162,1108,1110,748,1144,908,780,1164,1094,957,1210,1352,1304,1500,1216,1262,1274,1372,1260,1082,1274,1334,1306,1310,1110,973,865,650,1078,1686,1208,1200,1302,1182,976,907,743,546,472,435,435,454,457,444,388,375,400,612,1280,2072,1908,1606,1262,556,437,522,457,415,422,416,379,358,623,965,977,1012,1164,1182,987,660,629,1064,1232,794,827,1120,1017,969,1556,1166,667,907,637,811,1334,1300,1266,962,779,852,811,753,1044,1220,1354,1634,1314,807,587,745,561,660,495,573,905,785,518,408,753,1554,2160,1762,1050,912,950,1232,1274,1668,1478,927,624,593,509,496,722,1114,959,696,698,1012,1156,1412,1001,769,911,1064,1040,659,680,984,1006,996,1012,1150,1280,1122,919,767,934,1304,1368,1154,1190,1304,1302,1290,1456,1236,949,1002,1302,1318,1284,1296,1208,1022,1242,1604,1456,1614,1048,827,794,943,1246,1506,1384,1262,1202,1236,1302,1350,1126,1098,1272,1360,1402,1556,1762,1520,1158,1256,1294,1009,845,882,717,1146,1164,570,551,1214,1048,655,733,830,855,1092,1036,957,977,593,560,1664,1216,750,1034,1462,1472,1122,842,628,775,674,610,718,481,390,431,781,1000,736,739,1011,1438,1438,951,641,752,707,643,1162,1362,930,413,377,383,336,350,318,308,521,816,491,364,467,505,383,259,267,318,323,289,282,230,401,932,1100,832,1214,800,398,854,1074,725,593,952,1172,1198,1082,1038,895,1148,1068,498,394,357,312,243,253,294,478,820,1172,1050,600,854,542,453,606,1528,2316,2242,1910,1294,553,419,645,1040,1088,1468,835,386,327,319,283,419,688,708,288,326,303,315,440,473,457,386,294,262,289,263,246,289,305,290,448,631,1056,1448,1916,1622,1246,1001,976,1152,1122,1086,935,1098,1400,1098,1056,810,672,734,799,940,1084,1288,1230,1138,869,868,1354,1588,1642,1332,1338,1198,1078,1188,1456,1476,1528,1696,1314,1072,1332,1114,1136,1222,1180,1158,1058,1098,981,709,604,785,880,547,598,992,1198,1138,1064,1098,1168,1198,1192,872,669,839,1146,1354,1318,758,797,1214,1354,1272,1098,883,590,372,314,304,394,691,1116,1364,1528,1674,1708,1574,1246,1062,1210,1092,950,1078,1004,776,473,435,528,658,755,727,547,438,678,1216,1230,744,781,666,357,330,279,336,795,897,676,483,514,885,897,738,633,522,895,896,692,1052,1170,1176,1444,1160,781,1148,1366,1342,1460,1320,1184,920,1280,1198,1148,1216,1050,859,697,650,928,1206,1314,1284,1448,1322,1104,1346,1608,1384,1034,667,512,656,747,984,938,748,922,1056,1010,988,1444,1516,1504,1494,1360,1416,1566,1606,1502,1192,1094,966,970,991,891,705,893,1158,1380,1542,1288,1356,1422,1276,1166,649,776,568,595,870,867,726,863,1001,1005,1118,1270,1278,1194,1172,1072,1166,1330,903,911,893,949,1098,1019,847,798,918,605,369,315,318,341,430,687,655,473,440,388,471,708,581,397,367,310,277,277,304,310,292,289,353,525,923,1526,1588,1932,1376,1756,1704,1102,1454,1472,1040,868,1009,910,686,600,774,922,1398,1356,1472],[328,310,356,345,276,404,434,319,369,424,476,772,743,429,511,496,474,457,394,516,1042,1388,1428,1366,1110,851,749,758,1072,1470,1276,1023,1708,1896,1134,958,1348,1476,1424,1276,1102,852,544,419,362,365,379,341,311,346,323,334,446,599,713,603,498,661,596,440,1066,1990,1902,1826,1732,1654,1612,1450,1692,1424,915,850,814,750,734,666,722,735,979,1048,1034,1046,925,992,866,700,1042,1390,1028,570,441,387,672,1114,935,512,505,561,657,1304,2190,1978,964,468,487,718,635,356,449,456,522,910,996,568,382,422,442,530,516,478,482,427,316,400,622,799,1160,1222,1052,905,824,1013,1162,1222,993,872,799,822,872,521,492,756,661,616,565,542,528,522,473,780,1140,1058,839,861,764,597,559,666,649,824,957,741,635,988,1130,771,645,1036,1180,1264,1188,1028,1216,1290,1078,935,1256,1404,877,676,1018,908,760,655,718,557,451,451,458,468,662,868,716,500,424,381,361,320,330,336,457,1028,1324,1214,1196,1396,1228,980,428,383,402,297,320,344,330,314,406,541,777,1128,797,410,469,766,493,410,598,577,675,625,449,360,500,668,630,658,520,662,897,970,1572,1656,1394,1172,960,907,913,919,976,573,834,767,919,930,881,920,938,673,896,991,638,656,602,536,416,373,359,329,442,462,512,508,402,353,402,543,696,879,1684,1936,949,734,813,714,548,403,307,341,369,372,342,285,298,352,451,653,437,338,778,693,404,645,780,530,328,305,347,384,284,257,289,353,356,360,349,419,447,387,396,626,1068,1186,950,611,579,643,785,602,433,390,333,389,519,857,1302,1250,997,1202,1356,1000,1126,1318,1128,1180,1322,1044,687,970,992,910,1011,933,987,675,769,1198,1076,923,959,1044,1386,1384,1136,1060,638,648,693,977,988,1072,1238,1122,1066,1040,1098,1024,1054,1086,914,966,956,619,667,476,380,402,592,827,1044,1098,894,939,1132,1104,935,984,661,466,757,991,964,780,847,975,738,683,705,717,513,505,414,480,597,976,1150,1078,1060,931,706,720,916,827,534,562,764,734,1248,1372,984,956,738,741,918,549,341,284,333,684,733,522,412,444,447,807,1228,1080,1020,1132,1112,584,905,682,379,353,386,306,251,328,357,407,422,375,373,501,630,745,768,791,751,713,678,777,968,948,648,559,730,772,675,611,514,395,388,404,395,439,337,298,342,382,675,1204,938,1094,1378,1166,1020,1004,916,1001,1296,1060,657,645,573,747,918,566,422,370,730,962,706,502,386,602,912,987,1078,883,987,1028,1030,1278,1150,1074,984,882,1112,1250,903,1038,1148,614,647,816,1218,1005,909,786,837,986,985,1112,1154,1070,1332,1334,1296,1200,968,859,683,601,709,1002,1306,1310,1198,940,1228,1308,1160,1106,1116,1186,1240,1356,1204,1108,1324,1334,1244,1300,1530,1502,1208,883,648,599,653,916,1104,1007,877,1052,1358,1334,920,810,1324,1830,2012,2124,1462,1218,1340,1266,1292,1518,1538,1538,1608,1976,1874,1688,1754,1736,1724,1600,1394,1438,1570,1544,1208,1012,1130,1502,1604,1538,1384,1012,996,1384,1674,1702,1506,1538,1352,1220,1358,1364,1670,1666,1234,1158,1172,1036,1216,1402,1382,1414,1432,1466,1428,1268,1174,1510,1388,1286,1294,1210,1282,1148,1012,1284,1498,1404,1388,1322,1138,1210,1128,1218,1150,1176,1072,1018,1022,767,955,1610,1726,1384,1152,1050,1104,1328,1338,1248,1304,1260,1108,1220,1280,1272,1224,1268,1358,1024,1170,1188,1256,1416,1448,1336,1062,791,950,1388,1444,1554,1534,1170,1308,1094,735,1064,1192,1136,1114,1118,1164,1086,1090,1100,1062,1094,1344,1420,1300,1470,1606,1472,1290,1218,1354,1260,1306,1270,1616,1250,819,1916,2122,1964,1808,1898,1658,1312,1300,1088,926,736,401,422,496,706,894,1188,911,393,500,619,683,925,929,1134,965,2386,1556,819,1378,1784,1722,1310,824,874,717,789,882,1086,1398,927,859,1094,1144,1036,709,496,593,913,988,944,788,641,300,280,296,260,250,380,398,523,805,735,516,432,390,397,626,789,489,298,330,514,801,925,771,473,477,938,1416,714,427,349,357,316,287,297,283,291,347,438,621,1272,1802,2020,2004,1856,1828,1388,869,670,508,341,426,533,618,724,587,630,1070,1230,993,1506,1526,808,269,312,363,440,400,325,441,597,362,547,1186,1098,614,321,326,628,736,336,331,469,550,536,702,880,663,772,809,742,902,870,544,300,256,255,301,459,708,1182,690,320,416,389,256,262,434,846,838,298,211,223,209,227,287,337,336,567,720,637,517,269,301,405,500,461,434,318,242,213,234,225,205,175,223,310,407,531,618,624,328,275,317,407,441,444,468,472,563,611,502,470,641,683,739,725,629,578,375,341,620,972,1062,1062,720,1136,1324,1130,1118,983,650,599,541,484,631,699,809,861,1184,1158,1222,1322,1154,1348,1288,753,372,477,883,1140,1288,1418,1046,1310,1612,975,1082,2610,3020,2076,2494,2940,2482,1924,1334,969,1080,1304,1204,606,810,1110,799,782,749,718,843,849,709,457,400,447,410,377,457,948,1138,991,910,938,1040,811,728,912,1108,1328,1266,1400,1344,1404,1450,1312,1314,1394,1334,1312,1476,1380,1088,1330,854,596,566,575,645,827,966,854,998,1400,1360,1124,791,770,683,791,806,651,578,623,554,521,549,448,388,386,385,491,720,868,901,944,872,673,641,638,540,658,949,1108,1106,1019,1300,1086,552,383,512,650,641,518,566,653,498,383,415,449,625,1258,974,788,837,986,1236,1400,1396,1280,1148,1084,1222,1104,1184,1262,1280,885,1122,1024,1198,1444,1298,1242,1238,1422,1246,1512,1344,1306,1244,1310,1114,1036,1438,1570,1366,1168,1098,1220,1042,539,1084,1412,1180,1380,1304,1156,1134,1062,808,592,563,495,449,408,517,465,426,526,890,1074,1050,1340,1500,1438,1356,624,415,472,457,427,419,442,408,440,731,902,824,1054,1074,962,1038,1130,1002,915,783,529,506,706,758,1058,1730,1388,525,631,550,800,1282,1260,1306,1007,921,1094,896,662,921,1278,1450,1252,905,626,450,597,840,973,599,316,393,702,936,613,975,1640,1758,1112,940,979,1050,1090,1066,1310,1332,946,584,440,376,695,805,951,955,662,579,829,1156,1280,890,730,774,996,966,838,872,1072,1126,672,769,813,1214,1148,711,921,1206,1142,1240,1066,1344,1384,1266,1220,1568,1426,1036,1028,1078,1146,1410,1520,1202,1094,1338,1406,1208,1252,1042,1050,1224,1294,1376,1398,1290,1206,1122,1340,1302,1276,1260,1360,1456,1360,1294,1546,1454,994,1132,1232,1118,1196,1236,1056,1013,1226,1042,549,628,800,501,399,659,1056,948,891,752,1198,1294,868,844,673,500,763,1124,1248,1230,1196,937,945,948,791,655,684,550,430,410,739,1028,1150,1044,1128,1420,1124,1006,747,725,688,619,916,1356,1044,413,332,334,433,747,830,459,623,877,520,366,355,406,362,269,325,472,414,259,287,454,815,1052,664,680,909,551,287,575,1168,956,571,706,1226,1328,1132,1378,959,535,398,384,323,369,419,460,532,334,277,362,596,521,359,365,438,468,871,1776,2042,1720,1668,1526,980,459,639,1302,1120,1126,1086,643,302,307,257,301,393,404,296,297,403,439,436,462,457,345,269,284,253,247,255,287,295,242,287,673,1146,1648,1610,1214,1094,861,813,1170,964,954,860,819,963,1142,1698,1338,1044,1160,888,658,802,1240,1600,1394,1156,1164,1348,1220,1288,1270,1546,1406,1116,1412,1896,1542,1372,1180,1472,1098,1282,1418,1222,1408,1254,929,1156,1212,926,621,414,546,698,517,572,738,923,1022,1296,1284,1001,938,1184,1212,1108,1094,915,1054,1534,1244,926,924,1136,1394,1316,1144,866,571,446,326,340,482,1056,1142,1268,1426,1432,1466,1514,1384,1220,1078,819,758,642,491,368,351,460,672,716,747,800,777,901,1284,933,450,351,412,536,639,462,323,442,500,480,434,459,619,564,437,389,452,597,805,764,1030,996,1280,1572,1174,912,988,1146,1346,1190,1216,1448,1192,890,803,1062,1068,1138,1092,909,803,739,1220,1540,1194,1246,1314,1246,1130,1046,1010,888,615,572,695,880,754,585,501,557,815,1112,1106,1342,1616,1560,1244,1142,1388,1552,1466,1434,1300,789,711,691,585,1076,1162,1009,1214,1476,1402,1298,1666,1610,1358,1218,770,615,717,998,1050,818,1011,1003,1008,810,888,1144,1015,994,1302,1160,1256,1106,1026,1166,828,681,904,1256,1028,608,453,334,499,431,324,349,384,504,491,416,437,378,422,574,666,439,374,331,289,266,269,292,309,297,371,480,742,1216,1202,1522,1592,1422,910,775,1024,1068,894,987,1040,1358,1076,1132,1134,1074,1248,1322,1422],[697,618,405,343,270,328,406,408,472,496,716,1090,713,472,483,488,435,405,476,858,1316,1334,1216,1196,1118,1148,1026,666,1554,1688,1278,1092,1494,1390,816,1104,1350,1060,985,1224,1346,1282,872,513,512,419,397,401,487,704,647,515,412,508,631,617,534,611,613,420,897,1850,2056,2084,2198,2136,2060,1964,1714,1274,925,827,725,731,634,636,838,745,562,629,700,758,1005,860,697,590,687,1054,955,821,738,628,833,1408,1368,886,525,473,685,1528,2030,1650,919,483,422,511,438,288,280,303,314,469,493,417,326,362,544,608,530,395,413,506,424,536,709,963,1936,1496,1174,1544,1226,861,1072,1007,698,990,1166,1146,1072,583,552,709,728,932,739,563,728,786,714,1036,971,751,805,911,765,603,557,659,854,925,795,694,746,998,1212,1014,815,975,1218,1096,865,933,1218,1340,1130,1352,2108,1984,816,796,1460,1028,982,991,980,633,405,480,494,479,641,847,844,543,404,335,327,294,281,327,417,567,1042,1550,1560,1528,1610,1432,612,608,760,513,375,399,366,366,351,585,1142,1334,669,397,384,419,571,494,373,368,368,415,401,388,607,978,1060,701,448,892,1058,1324,1672,1528,1094,893,858,726,636,1046,1120,531,382,325,480,614,1002,1134,1140,1342,1620,1528,788,647,546,419,367,381,361,344,490,578,555,508,419,392,432,563,786,1024,1742,2044,1334,891,664,496,389,309,292,324,261,328,455,512,351,275,351,488,361,393,717,629,474,780,890,427,337,288,311,353,300,300,317,327,342,345,363,510,574,521,537,766,1138,987,775,803,824,778,805,585,375,391,453,656,836,1196,1720,907,975,1202,1046,808,1112,1376,1210,1024,1060,1142,1007,980,840,1100,741,783,857,891,1026,1168,923,756,824,1206,1416,1154,1176,1268,993,852,824,940,1160,1770,1580,837,728,462,451,491,912,1512,1466,869,523,420,589,725,606,447,480,592,585,629,834,1164,958,514,672,683,430,259,304,455,645,647,497,451,862,940,588,463,478,408,505,815,866,832,1012,1118,818,735,743,702,1148,1148,647,750,1021,1246,1876,1648,1114,968,781,1058,1126,524,348,325,335,516,498,524,689,760,741,1120,1366,1092,1258,1046,706,756,1258,851,365,333,369,292,230,279,272,436,504,432,390,404,493,576,590,718,759,692,704,747,777,730,411,324,494,675,628,583,620,547,540,568,572,605,477,428,435,417,798,1058,720,1032,1138,789,886,1188,1266,985,894,850,955,630,587,813,728,529,442,430,566,605,525,411,309,350,795,873,1142,1050,711,830,1050,1190,1204,1108,970,929,758,685,792,1640,1416,615,543,881,1370,1592,1166,752,900,824,631,930,1246,1094,969,1100,1194,1284,1100,1002,756,1018,1302,1050,1190,1250,1172,1164,1470,1360,1182,1344,1166,1030,1250,1478,1376,1102,1230,1300,1318,1390,1232,1408,1244,841,770,866,949,999,1156,1098,1026,1158,1262,1364,1112,877,1348,1776,1946,1638,1080,956,1036,1060,1136,1394,1512,1498,1622,1962,1806,1604,1564,1592,1700,1790,1758,1676,1368,999,940,1344,1578,1660,1614,1356,943,1050,1514,1484,1506,1590,1374,1554,1372,1268,1278,1466,1562,1460,1432,1464,1324,1274,1366,1318,1310,1444,1358,1296,1278,1226,1266,1438,1354,1328,1446,1316,1230,1226,1007,1178,1182,1132,1354,1294,1306,1222,1158,1146,1250,1350,1136,1090,1188,1202,1406,1926,1716,1318,1180,1294,1332,1194,1242,1206,1346,1384,1132,1266,1392,1042,694,1021,1096,1228,1426,1360,1348,1368,1436,1470,1306,1116,1126,1212,1284,1466,1502,1490,1558,1015,1018,1418,1204,951,994,1112,1172,1120,984,1026,1172,1430,1476,1606,1792,1738,1550,1444,1382,1282,1274,1338,1306,1590,1678,1294,1608,1776,1738,1914,1902,1756,1666,1570,1294,677,710,866,525,623,1028,1384,1398,1158,906,349,375,467,713,1024,1054,1007,749,1388,1178,926,1220,1284,1184,708,576,996,991,924,869,901,1018,571,514,853,1232,1418,1001,412,363,680,930,1064,933,660,365,360,558,626,426,412,382,566,835,1010,960,1001,1118,1040,1168,1268,722,386,397,723,1344,1490,916,537,525,1388,1540,706,350,466,480,290,285,317,275,291,298,501,1210,1082,1136,1754,2064,2092,1888,1072,420,505,711,490,345,331,458,672,521,695,622,688,1252,2042,2148,1302,364,333,377,390,299,215,354,596,423,334,711,1058,926,348,207,371,651,387,339,495,530,739,1046,787,569,735,692,637,1003,862,564,375,269,233,265,295,327,579,508,336,465,571,307,317,273,380,503,368,264,270,285,235,290,307,360,598,713,622,545,325,342,415,506,488,461,352,216,206,237,238,225,227,256,270,374,687,670,618,368,268,330,365,339,351,435,484,533,563,525,494,683,742,746,647,647,590,387,274,292,504,841,996,750,621,942,1186,1010,885,881,979,1011,946,775,650,1010,1126,1250,1130,769,707,1086,1206,855,644,549,658,865,1042,1112,1136,1286,1824,1904,1876,2392,3658,3904,3326,3552,3908,4180,3318,1852,1626,1704,1484,1202,781,975,933,865,1023,1208,1470,1298,1108,938,494,375,377,368,459,542,1034,1478,1446,1310,1378,1488,1130,1022,832,1019,1194,957,863,766,927,1076,1130,1200,1272,1154,1396,1500,1488,1346,1234,1252,1246,1040,992,702,525,885,1102,1318,1456,1292,1040,817,729,764,796,633,588,610,574,468,456,419,433,464,401,435,756,1030,987,887,865,771,611,606,590,690,1134,1294,1176,1008,1282,1122,532,413,489,525,486,532,541,562,633,490,392,455,495,797,1300,879,755,809,749,871,1050,1042,1114,1160,1252,1372,1296,1274,1268,1300,938,731,819,1202,1456,1340,1460,1178,1334,1252,1274,1274,1070,1019,1042,943,999,1188,1312,1202,811,613,1094,944,510,881,1352,1274,1168,1086,1076,1046,1080,995,784,558,424,412,402,458,451,479,736,1140,960,637,1023,1234,1050,1382,865,455,484,518,445,367,393,393,527,1028,1086,1064,1132,1120,986,1090,944,675,842,801,642,749,1114,1074,1084,1160,814,411,361,584,794,956,1158,1132,770,676,832,715,653,751,1154,1278,1226,1009,727,581,678,792,824,752,494,659,1114,1110,616,779,1224,1538,1318,1136,1338,1398,1210,1066,1122,1144,1104,873,735,762,1086,922,1098,1064,748,710,686,1016,1242,1130,1042,683,943,1112,1202,1060,1202,1104,785,694,709,1120,1114,973,1142,1398,1594,1384,1282,1180,892,700,769,1158,1286,1192,1284,1122,1100,1212,1254,1090,1116,1240,1058,1146,1148,1112,1350,1542,1496,1426,1382,1264,1214,1100,1118,1328,1258,1302,1270,1324,1488,1600,1586,1136,935,1162,1070,1142,1324,1340,1254,1256,1220,919,748,897,689,456,608,810,690,641,1086,986,1082,982,702,632,594,581,970,1350,1180,1015,1150,1338,1522,1430,1236,1072,1212,1162,935,933,1016,1016,1340,1220,1284,1140,880,1088,1042,1202,1162,840,840,1434,1448,871,450,407,725,1312,1538,636,636,655,397,375,340,371,351,416,620,691,425,318,284,534,730,700,507,619,719,529,434,774,1440,1242,1248,938,1342,1150,1000,1270,1118,657,356,315,288,417,408,617,1019,745,376,323,262,346,416,576,889,970,1056,1566,1760,1418,1324,1534,1482,894,700,788,665,1023,1546,1066,348,315,288,281,316,385,345,284,391,467,367,312,366,440,419,362,226,228,278,252,219,221,243,376,842,1378,1308,1336,1396,1200,948,1170,1160,979,1156,1762,1506,1600,1962,1730,2308,2920,1236,835,1064,1528,1262,896,820,1070,1004,1194,1426,1328,1240,1108,1106,1746,1700,1340,900,629,977,1064,1238,1338,1404,1534,1022,625,847,856,926,1084,809,579,709,966,893,784,854,994,1120,1116,829,792,1384,1620,1392,1366,989,822,1112,1246,891,684,1038,1184,1180,1322,1102,999,846,473,451,674,966,829,994,1072,1046,1360,1566,1005,666,885,497,393,389,338,356,382,483,737,705,780,1286,1270,801,560,351,350,460,651,778,764,576,469,409,406,514,597,691,706,480,420,634,523,488,868,748,857,1138,1300,1178,774,725,906,1218,1040,1088,1276,1422,1456,1136,1128,1012,811,887,887,959,1132,1094,1324,1548,1384,1428,1540,1354,745,545,716,811,769,806,946,1078,733,567,498,479,589,1042,1258,1172,1402,1622,1378,1456,1470,1484,1072,974,1242,1322,1200,924,805,1332,1618,1336,1294,1468,1500,1494,1542,1248,1326,1758,1204,1082,1308,1254,1052,656,753,972,1202,752,885,1060,1072,1032,1120,1140,1078,960,1154,1086,719,639,869,1176,815,544,439,363,591,518,323,361,388,436,596,672,539,409,390,484,549,457,349,287,285,265,282,302,321,310,404,631,599,468,675,1346,1820,1570,1200,1072,949,883,1004,1128,827,884,800,1012,948,780,792,903,885],[1050,917,804,642,394,289,345,437,504,519,649,706,479,437,412,355,364,383,652,1186,1470,1366,1212,1108,1166,1206,921,604,1230,1484,1246,1020,1258,1016,582,933,1262,891,585,603,821,1106,1246,1116,1134,1020,683,435,697,1104,1001,632,448,493,521,594,586,589,554,594,893,1464,1802,1528,1284,1003,828,743,691,783,847,881,796,647,579,815,1002,854,608,800,596,633,705,730,767,678,639,709,814,761,703,751,967,1132,1302,1372,1130,1120,1120,1088,1136,1182,1040,692,384,264,281,298,339,495,361,285,295,288,369,455,493,567,526,424,441,594,689,727,803,1094,1750,1092,1122,1572,1030,796,1046,1060,902,1086,1070,1294,1038,594,636,536,538,738,633,485,625,774,960,1130,830,910,873,858,800,616,485,762,1013,884,724,918,1168,991,1238,1250,1036,994,1116,858,673,913,1252,1300,1146,1310,1810,1776,1164,1118,1030,949,818,673,776,615,369,455,530,537,871,1194,1272,702,441,362,300,322,510,471,292,536,1400,1842,1732,1628,1618,1132,835,952,1136,831,484,409,312,339,379,825,1210,1168,566,424,392,386,562,524,416,334,290,394,471,540,691,843,1094,867,658,1120,1316,1594,1518,1028,641,632,675,806,769,1120,850,457,309,315,349,461,887,1084,934,944,1504,1466,825,538,385,294,335,368,384,450,564,585,590,603,569,471,403,609,705,680,913,1352,1112,682,581,415,278,307,362,317,319,380,583,592,444,400,314,244,304,441,628,633,519,899,1118,805,740,410,337,409,357,332,368,353,396,457,484,762,849,642,471,620,844,1050,1146,1340,1466,1256,911,528,463,406,544,753,896,1154,1358,730,614,508,604,734,861,1178,1060,1012,1024,1100,1023,855,929,1250,1084,768,783,895,1082,1100,741,795,876,1138,1316,1084,1276,1254,1102,1018,985,918,1026,1562,1604,767,599,630,694,730,1038,1364,1222,896,823,746,802,865,593,565,680,722,625,526,895,1214,838,569,555,491,372,334,493,395,341,457,486,397,558,582,458,404,382,413,513,685,976,1032,904,934,1090,777,673,577,944,815,625,695,772,1110,1156,1126,1130,1138,1044,1270,1102,579,365,330,290,440,684,810,1004,1142,1174,1272,943,849,883,802,597,1004,1354,825,399,442,443,349,355,343,281,383,436,444,469,452,485,374,410,717,791,740,761,794,810,740,437,297,391,557,550,501,586,536,441,524,578,572,578,531,639,610,954,809,511,900,990,648,566,913,1212,843,777,1012,1232,790,746,682,459,435,469,372,334,480,528,500,555,495,492,689,1166,1104,844,999,1212,1394,1362,1236,1388,1296,741,742,1084,1640,1272,759,1044,1584,1642,1676,1638,1396,1023,900,839,1142,1510,1296,797,713,1042,937,905,1021,800,1332,1440,1196,1210,1214,1146,1062,1270,1348,1246,1376,1394,1080,1150,1600,1668,1212,1005,836,857,1015,1130,1382,1412,1346,1196,986,783,552,711,966,1252,1226,1016,1058,869,728,942,818,857,982,965,1190,1116,1134,1184,1094,1390,1316,1600,1576,1340,1248,1330,1620,1832,1920,1650,1228,827,1007,1426,1662,1748,1776,1476,1008,930,1332,1530,1426,1210,1258,1448,1504,1380,1248,1258,1210,1122,1378,1582,1586,1426,1208,1294,1246,1382,1656,1622,1354,1378,1324,1486,1518,1312,1284,1362,1250,1190,1302,1074,1120,1408,1380,1250,1080,1100,1144,1232,1282,1266,1144,1120,1070,1154,1294,1406,1650,1254,1170,1264,1382,1422,1416,1242,989,1009,962,1100,1110,1550,1030,1002,1328,1088,1030,1220,1382,1238,1244,1418,1404,1274,1202,1210,1256,1184,1232,1484,1648,1554,1308,1526,1622,1036,946,982,1028,982,951,959,1001,1126,1356,1582,1900,2050,1796,1548,1322,1346,1340,1324,1028,1450,1818,1438,1626,2024,1604,1494,1764,1406,1172,1642,1538,983,700,1014,985,547,741,1156,1392,1260,1056,645,466,390,343,539,647,723,696,522,558,723,728,514,525,844,599,511,955,993,913,785,668,664,627,574,462,687,899,937,583,397,468,852,902,780,600,489,544,1040,1372,1002,617,399,556,710,1001,1502,1886,1702,1260,1296,1056,561,417,337,509,1023,1288,801,664,667,1346,1110,588,625,722,649,389,324,382,334,372,367,484,1110,1200,1674,1946,2030,1876,1054,565,346,394,606,706,456,342,369,444,376,648,858,565,695,1506,1712,698,397,351,342,277,243,321,500,711,513,293,423,702,653,334,203,238,615,507,358,485,519,530,522,420,414,601,722,600,890,819,607,429,309,264,271,275,282,307,333,282,360,631,358,330,307,328,503,512,698,1048,742,338,264,244,340,572,664,617,576,473,414,455,531,525,486,368,195,185,259,299,250,244,242,277,342,606,641,538,349,284,402,401,310,297,412,534,533,539,496,565,722,816,731,470,378,489,399,250,258,265,644,928,1096,832,770,738,658,847,843,785,1156,1104,868,1011,1328,1354,1466,1132,656,1088,1634,1444,886,814,951,1005,536,743,1017,1108,1308,1530,1700,1954,2200,2526,2566,2640,3362,4204,4496,3050,1808,1686,1520,1206,937,733,636,835,1270,1288,1176,954,989,1102,774,378,323,341,386,566,628,699,1050,1508,1490,1284,1312,1210,1009,689,1086,1260,1262,974,861,898,987,816,1060,1758,1168,1356,1272,1242,1148,944,1170,1310,1332,1246,740,756,1010,1276,1356,1288,1098,959,817,757,855,756,626,583,536,508,572,614,531,473,443,473,499,737,1184,1326,904,621,554,484,580,667,787,1086,936,1034,1256,1262,658,433,399,427,448,495,825,764,587,642,589,558,488,536,1130,1246,726,625,617,669,862,1034,1012,1130,1238,1310,1410,1300,822,650,1040,1086,828,1054,1272,1456,1212,1306,885,1080,1206,1078,1042,934,1066,1206,1116,1164,1316,1248,1020,522,412,833,769,523,857,1338,1416,1208,1030,933,964,878,1118,995,736,481,393,419,432,438,451,595,963,896,625,698,735,775,1344,1060,501,415,558,532,518,480,369,634,1616,1408,1100,788,630,624,951,1032,866,874,1058,950,1014,2006,1994,1588,861,849,737,647,883,906,1036,1248,980,655,564,486,607,890,860,1168,1188,1138,1090,988,790,695,737,571,695,648,944,1050,942,630,657,1276,1720,1506,1490,1484,1242,1264,968,803,846,907,913,814,658,748,1142,1470,1166,957,911,670,841,1174,1020,1060,965,1064,1102,1232,1164,1340,1146,888,837,945,1094,1084,1186,1206,1152,1492,1466,1188,1032,971,838,789,1098,1288,1138,1166,1110,1202,1028,1058,1160,1176,1302,1284,1194,1056,1050,1366,1546,1528,1370,1478,1302,1194,1140,1216,1270,1226,1338,1354,1412,1676,1648,1504,1064,1023,1200,1140,1136,1384,1460,1336,1134,797,543,766,1050,1110,887,1034,1094,688,617,1138,1154,795,673,676,476,389,610,1262,1518,1048,971,1138,1232,1432,1602,1362,1122,1116,1094,1318,1194,1056,763,677,733,660,541,636,915,1196,1294,1302,1168,1186,1528,1576,1344,676,510,613,794,787,446,458,420,299,265,276,371,481,742,965,702,414,384,347,346,328,372,385,367,665,802,812,687,797,1482,2014,1518,902,387,479,808,1032,1034,561,319,346,633,688,476,536,506,396,290,286,350,380,459,834,1082,777,907,1372,1340,1216,1822,1812,1194,905,656,422,891,1858,1354,487,276,254,333,458,495,455,372,336,467,498,333,417,786,652,369,255,238,255,270,236,218,252,316,692,1238,1296,1352,1572,1226,1688,1582,1140,1036,1568,1830,933,918,1792,1984,2064,2052,918,728,1448,1406,850,613,716,937,866,1072,1246,1058,818,1216,1432,1752,1350,1396,946,664,607,941,1172,1082,1112,1142,908,557,577,886,1080,1262,1124,727,794,983,767,863,1166,1092,785,723,1012,1044,1026,1021,1158,1360,1302,1168,1386,1382,909,686,807,979,1450,1542,1570,1300,973,656,711,738,869,887,789,901,899,893,1440,1120,684,665,552,644,572,443,431,367,383,478,703,974,1034,668,431,436,474,607,783,790,714,678,524,343,398,484,672,788,763,691,536,838,1298,907,700,1174,1019,750,959,1122,844,407,390,708,1036,1268,1450,1310,947,898,1310,1478,966,626,724,767,895,972,1128,1628,1434,1290,1248,1268,1050,451,503,764,865,905,926,1202,1304,838,702,596,401,372,650,893,885,1358,1710,1600,1570,1356,1272,913,1005,1310,1384,1400,1292,1470,1632,1708,1622,1642,1478,1444,1568,1268,1176,1870,1978,1456,1474,1098,932,1020,843,683,1042,1005,777,1272,1250,1078,1132,1202,1260,1286,971,947,1056,993,1166,1080,886,615,495,445,396,462,406,327,336,436,543,631,761,550,455,418,471,485,427,359,315,288,285,282,292,308,309,367,466,508,466,705,1218,1536,1692,1470,1328,1072,974,1394,1372,976,557,447,466,549,720,648,481,526],[1032,1002,1034,1050,760,389,298,296,472,488,656,572,346,388,353,331,386,495,917,1316,1428,1136,1152,1108,1090,932,811,672,645,730,708,821,1122,1023,601,719,1028,659,398,435,422,473,623,775,1102,1340,1258,1176,839,773,893,837,547,494,594,721,727,605,688,879,1084,985,797,642,666,713,813,850,850,849,817,850,841,695,846,988,1036,900,658,533,441,468,428,781,849,574,468,517,592,594,546,458,718,807,1176,1282,1362,1672,1714,1232,872,1068,1238,709,365,263,240,286,428,641,404,300,350,381,573,495,394,451,443,476,495,700,968,769,818,662,523,622,865,1120,1120,1018,1156,955,743,747,705,1030,987,999,1030,587,604,893,735,618,658,667,688,920,730,867,1030,861,806,869,993,1130,932,905,869,1036,1170,987,1064,1186,946,735,745,683,557,710,1152,1182,1170,1078,1418,1592,1566,1464,1326,1234,1001,950,1048,622,423,440,449,555,1268,1676,1362,737,443,416,307,270,320,354,305,399,802,956,1007,1256,1416,1015,780,1172,1406,1068,487,429,374,386,390,525,901,916,833,848,718,740,644,662,644,489,365,661,893,767,601,527,644,607,768,1078,1456,1572,682,562,471,691,615,825,898,1008,1098,800,323,453,534,495,757,778,728,854,1244,920,633,472,379,334,334,356,387,493,606,572,618,747,1082,1184,1050,852,633,445,475,728,701,609,568,478,488,494,573,382,310,332,421,388,396,441,376,320,316,349,472,465,425,1056,1068,766,898,760,459,349,357,412,523,464,469,583,694,901,865,513,785,724,648,1134,1330,1220,1410,1478,1056,496,616,596,618,596,1080,1312,813,568,664,536,694,1124,1304,1316,1036,1164,1064,1194,1064,982,1124,1086,814,946,1146,1054,933,898,1005,957,932,1166,1394,1200,1134,1082,971,968,741,576,737,1019,509,587,587,599,644,713,1136,1312,1372,1366,1134,858,593,608,608,569,753,1012,660,389,695,919,936,979,821,634,448,457,688,491,318,397,504,421,333,373,405,367,339,389,440,504,680,956,855,709,984,710,696,929,879,756,1134,1420,1058,879,865,1244,1236,1214,1400,1258,912,504,347,335,327,508,913,1104,1126,1080,1242,1194,1016,901,675,498,425,748,1024,629,404,492,487,301,330,312,256,339,456,439,339,361,437,287,297,456,664,650,701,677,660,576,496,604,639,532,442,346,355,477,347,446,559,508,440,506,592,766,924,514,475,778,1160,1196,745,1046,1192,884,959,1154,996,753,890,881,800,618,426,474,533,640,811,790,816,826,616,630,991,1146,1126,1116,1138,1204,1156,1158,1438,1006,517,677,910,1098,1116,1013,1254,1302,1212,1654,1764,1580,1196,1180,1374,1582,1650,1380,952,965,1152,978,855,859,948,1290,1274,1284,1392,1344,1250,1090,1068,1188,1084,1294,1388,1186,1286,1614,1680,1432,901,912,1200,1318,1440,1580,1688,1708,1552,1184,698,810,1068,1032,1184,1021,810,888,995,1142,1118,708,521,598,882,1242,1228,1366,1158,1072,1318,1450,1472,1204,1516,1686,1748,1700,1736,1818,1378,744,919,1428,1670,1744,1818,1642,1324,1216,1232,1450,1384,1476,1348,1362,1504,1468,1576,1454,1296,1182,1298,1478,1572,2010,1668,1288,1380,1288,1306,1144,1048,1154,1264,1202,1246,1282,1362,1244,1256,1218,1244,1430,1190,1234,1272,1352,1352,1178,1094,1552,1444,1388,1408,1392,1266,1172,1470,1340,1246,1098,935,1104,1254,1236,1324,1132,881,875,1013,1216,1780,1686,1702,1136,879,973,897,727,656,814,1116,1348,1372,1250,1276,1378,1336,1190,1102,1290,1348,1392,1628,1478,1396,1422,937,924,724,679,915,1034,1021,1088,1126,1170,1384,1772,1692,1568,1544,1356,1194,1160,1172,1306,1396,1300,1464,1906,1848,1676,1364,1144,1124,1390,1400,1144,886,662,874,979,645,957,1098,1340,1042,1126,644,430,394,433,505,409,379,453,367,325,455,594,519,629,781,973,862,1142,1260,835,474,330,445,810,949,1005,949,528,653,804,536,532,835,933,936,794,694,755,1094,1434,1106,614,432,651,612,854,1170,1156,873,742,769,769,669,394,292,331,951,1088,752,811,733,901,817,743,1074,977,841,474,466,713,635,498,424,473,655,1186,1922,2330,2198,1542,1166,1068,581,542,685,739,682,546,349,338,429,771,1040,778,767,669,861,570,813,758,532,421,378,453,740,853,622,276,321,316,244,238,281,242,585,591,464,558,450,314,299,293,289,524,735,546,764,933,653,456,375,299,280,292,286,344,336,294,325,492,314,471,568,773,976,563,567,917,742,401,252,312,342,497,647,624,582,499,392,447,550,548,488,362,200,186,240,261,243,248,264,312,427,556,586,511,312,280,464,535,485,338,314,484,536,517,521,624,750,760,692,591,361,477,411,245,251,269,538,906,1298,1058,733,725,783,1110,1046,528,919,1180,1184,1382,1460,1392,1394,1080,1122,1800,2634,2352,1338,1220,1186,1015,504,433,689,1017,1140,1116,1248,1428,1678,1810,1664,1842,2348,2922,3088,2116,1328,1266,1230,994,806,875,736,1262,1504,1134,706,610,602,523,408,366,406,346,340,503,711,671,993,1650,1460,1312,1376,1220,777,689,972,1504,1610,1322,1104,1018,1144,1210,1672,2934,1896,1220,768,636,943,1102,1162,1250,1162,822,402,730,1196,1272,1336,1144,974,952,886,816,693,569,565,582,505,498,615,691,618,454,452,606,690,758,960,941,702,581,625,734,982,857,678,771,769,1072,1372,906,401,376,390,368,427,420,660,511,424,565,558,470,505,781,1316,1252,818,1005,1428,1242,1354,1382,1478,1252,997,1010,1116,1022,597,434,807,1026,643,875,1010,1234,1015,1026,777,873,1136,1196,1254,1100,1260,1418,1240,1164,1220,1296,1116,762,520,747,969,931,940,1136,1350,1304,1003,973,871,644,1102,1272,892,511,369,367,416,477,458,436,725,792,589,539,570,545,1034,1276,744,390,438,427,637,518,424,639,1360,1354,915,648,485,477,827,1168,1050,957,1058,969,990,1504,1498,1528,1007,856,902,1003,1021,798,776,1038,774,550,462,560,930,1042,1188,1338,1288,1226,1094,882,779,836,1056,708,1074,1026,888,684,863,685,478,1019,1384,1202,1188,1216,1182,1350,1132,897,760,654,652,760,667,775,1168,1114,985,870,822,753,918,1280,1116,1074,1222,1238,1140,1052,1290,1346,1112,1166,1130,996,1032,1144,1148,1230,1156,1230,1416,1384,1174,1062,874,810,974,941,894,664,1010,1280,1212,1490,1470,1310,1436,1238,974,915,951,1202,1404,1770,1582,1416,1340,1262,1264,1316,1252,1234,1332,1640,1512,1496,1460,1590,1464,1362,1410,1246,1240,1406,1460,1428,1130,590,535,798,942,1278,888,972,1124,949,903,1208,1314,999,849,994,621,702,1044,1034,1132,807,675,943,1224,1446,1564,1354,1354,1192,1198,1274,1130,1418,952,622,602,554,758,935,991,1210,1322,1252,1260,1400,1572,1556,1506,1056,681,423,440,437,344,383,387,343,302,290,362,401,508,518,495,452,354,324,327,330,309,286,394,956,1390,1598,1080,968,1462,1464,1400,1174,684,405,509,735,1138,838,549,461,1144,1126,457,315,547,590,460,426,344,365,329,480,636,741,940,1216,1236,1352,1260,907,1054,968,1014,706,747,1220,1288,766,385,309,324,380,473,511,420,337,448,669,379,356,900,837,430,278,231,247,268,231,230,238,311,591,1068,1060,1258,1482,1080,1532,1256,735,953,1392,980,379,665,1786,1520,1320,1090,859,996,1372,1206,1102,1060,1070,1004,979,1006,998,1188,985,1272,1194,1342,1620,1454,1176,1000,677,602,870,1208,780,952,1170,807,623,1004,1280,1168,1010,773,711,838,965,985,1042,944,720,498,1146,1320,842,569,658,815,919,1192,1680,1576,1001,717,784,695,1086,1434,1514,1206,1138,1058,1030,897,606,604,743,1024,943,798,1252,1260,637,582,898,1344,977,447,597,742,827,810,987,700,493,364,410,477,453,638,817,739,608,499,401,424,399,494,720,716,610,614,846,1266,1448,1118,1030,1300,1023,1104,797,1030,1372,895,838,778,756,1146,1438,1130,811,949,1312,1488,1294,1050,1076,1042,937,855,1030,1282,1142,1102,1290,1286,813,633,586,1082,1138,1282,1322,1170,919,786,882,878,597,440,765,1158,1568,1798,1806,1512,959,664,639,714,1007,1160,1316,1224,1394,1522,1428,1606,1622,1754,1672,1654,1646,1336,1450,1924,1560,1422,1526,1154,1152,1184,918,774,1238,1138,1246,1490,1346,1384,1448,1506,1506,1798,1266,1116,1154,1184,1228,886,697,572,529,498,420,346,341,332,350,513,663,583,692,779,864,707,482,446,419,406,309,333,332,285,261,268,337,417,457,502,496,587,756,1100,1654,1470,1528,1166,960,1274,1146,796,514,524,488,478,571,770,793,847],[938,879,981,837,673,433,444,446,488,484,603,473,350,447,672,796,616,803,1276,1556,1382,1120,1142,1194,1166,822,625,785,824,785,699,703,938,796,516,575,567,431,433,585,552,355,349,389,546,971,1202,1512,1334,1198,841,635,644,585,639,1044,933,574,526,615,921,1064,924,784,760,775,796,797,800,757,713,774,689,593,788,1007,999,863,656,473,409,433,621,772,548,572,511,439,465,444,415,344,357,569,783,901,1112,1344,1450,1144,651,782,903,502,275,246,254,285,393,448,374,346,417,708,706,531,447,630,490,420,430,880,980,735,708,595,609,902,1030,821,1350,1034,773,572,408,431,648,808,777,982,1052,608,449,621,677,715,752,735,821,810,867,1212,1004,770,1009,979,1096,861,908,990,976,1102,1176,1009,955,1118,1114,679,587,837,679,891,1088,988,1136,996,1028,1202,1116,998,1048,1132,1194,1138,1146,617,426,418,410,669,1412,1562,1168,792,473,408,360,312,340,383,355,349,395,353,443,709,986,699,611,1102,974,741,397,439,494,451,450,443,700,697,551,569,797,973,628,666,823,716,399,619,824,668,497,415,406,467,577,745,1130,1112,735,657,586,698,656,758,774,1208,2018,1464,329,435,473,558,925,999,1194,897,634,508,466,487,522,483,368,360,425,516,610,620,607,704,850,1334,1382,915,491,383,377,429,559,818,567,685,932,633,466,378,245,287,452,454,361,316,290,280,285,311,337,334,555,1068,848,440,760,1023,520,334,402,383,463,374,390,648,921,977,703,389,494,453,392,610,913,1178,1140,1140,991,639,672,722,716,738,1088,1240,904,927,969,633,603,1174,1236,1282,1266,1226,1072,1017,1054,1184,1298,1186,982,966,1166,1462,1086,814,1060,839,638,706,843,944,935,955,1296,1528,828,669,537,711,610,617,567,477,634,1106,1318,1264,1520,1546,1004,738,507,745,911,661,554,615,513,463,637,734,854,1042,992,776,648,465,383,401,339,319,346,372,374,352,359,367,404,388,364,434,484,578,575,894,1136,890,990,1034,764,822,995,1312,1222,1004,1124,1446,1434,1472,1754,1536,901,409,350,349,440,491,724,969,957,1140,1316,1218,1072,868,632,460,442,646,803,536,390,469,458,319,327,361,317,456,529,360,236,270,374,262,220,276,507,551,535,573,589,490,584,804,791,651,453,415,464,389,325,398,468,455,377,420,529,872,809,429,460,552,1068,1208,744,957,1003,1011,1166,1234,827,491,592,800,1020,816,791,738,793,827,827,799,735,756,809,665,629,944,1064,1104,1186,1094,1088,1148,941,691,568,671,697,659,753,930,1198,1438,1876,2136,1888,1672,1454,1146,1392,1700,1708,1700,1540,1312,1174,1014,1090,1188,1182,1304,1336,1296,1334,1284,1266,1234,1106,952,724,1204,1418,1500,1588,1698,1744,1572,1374,1626,1790,1696,1682,1672,1754,1696,1134,827,633,879,976,737,769,803,651,1003,1300,1188,1017,800,615,899,1050,1048,870,908,1104,1338,1282,1386,1394,1256,1716,1730,1702,1682,1446,1660,1144,907,1390,1660,1750,1740,1446,1236,1576,1606,1282,1370,1408,1530,1390,1448,1450,1346,1390,1352,1072,1130,1496,1628,1410,1764,1510,1426,1510,1428,1246,1150,1150,1226,1208,1080,1250,1406,1408,1384,1340,1358,1476,1502,1212,1148,1330,1368,1604,1648,1376,1958,1626,1372,1326,1318,1222,1256,1344,1218,1132,1144,1310,1426,1434,1150,1228,1178,990,875,1150,1378,1498,1412,1446,1462,1550,1678,1554,946,634,807,1148,1050,935,1112,1290,1454,1326,1036,1218,1370,1248,1118,1170,1218,1166,1348,1170,1142,924,935,1262,1166,1144,1088,1092,1350,1476,1516,1500,1562,1408,1066,990,918,1268,1626,1374,1096,1438,1762,1352,1472,1058,946,1442,1494,1242,1188,1186,1040,819,911,1020,1554,1492,1756,1228,1232,933,652,665,657,528,589,1124,659,448,329,367,530,604,689,814,912,804,737,604,552,522,359,367,533,813,1260,950,472,598,705,670,786,750,686,785,917,1112,1026,1108,1234,1136,779,523,656,763,985,919,563,449,490,390,531,657,504,383,338,714,805,764,592,495,581,702,696,918,1242,1050,521,459,672,780,874,758,499,491,665,1082,1966,2192,1620,1874,1738,1010,1074,1138,822,821,891,768,455,354,549,891,1178,924,498,421,655,1058,1009,593,511,620,780,902,767,620,303,316,258,247,287,325,223,470,716,580,473,446,349,425,473,373,414,716,619,710,682,431,382,382,308,281,254,332,565,546,386,289,382,354,535,708,1060,1052,474,371,413,314,322,317,363,370,484,640,644,558,344,268,384,527,537,497,408,232,201,219,223,225,218,254,332,418,511,602,542,246,259,446,557,577,390,303,429,539,549,546,562,669,651,709,725,568,570,420,287,287,327,317,624,1122,1070,1018,1048,889,683,901,521,447,941,1328,1234,1032,1116,1238,1460,1334,866,1550,2208,1932,1594,1466,1194,709,440,548,838,930,995,959,1024,1132,1228,1470,1726,1900,2072,2018,1618,1340,1310,1288,1026,766,1090,1080,1274,1312,803,558,548,491,535,524,496,445,412,437,561,869,995,1130,1478,1702,1656,1522,1382,1078,858,1108,1460,1184,1230,1086,1136,1236,1546,1434,1954,1904,1186,579,490,834,993,1082,855,556,449,441,860,1216,1356,1252,991,934,915,836,658,556,622,594,628,529,482,571,630,546,486,586,781,890,897,830,674,723,748,901,1028,915,765,799,850,1042,1168,946,634,514,555,585,430,386,377,386,381,418,510,428,340,501,969,1544,1360,1316,1606,1854,1488,1516,1526,1494,1172,994,1048,1058,1182,982,644,1078,1286,752,1020,1208,1182,1130,1322,1324,1184,1302,1290,1464,1294,1208,1400,1294,1284,1042,1036,1122,1048,1009,1034,1194,1294,1064,971,1284,1462,991,1076,1088,1048,1354,1248,723,543,607,514,546,780,828,894,897,791,583,661,722,466,673,1180,997,436,392,310,344,357,494,995,1554,1478,946,678,724,598,803,996,672,1124,1282,1572,1710,1716,1836,1980,1510,891,1026,833,791,578,400,502,389,314,292,353,742,1072,1060,1130,1186,1208,1158,880,1256,1048,1154,689,703,537,575,601,731,825,544,815,1182,1144,1042,1074,1092,1186,1008,747,647,679,677,807,738,566,965,1208,1174,738,704,703,1108,1334,889,901,1294,1366,1184,1034,1178,1060,1172,1304,1180,908,1030,1028,1190,1324,1194,1152,1224,1204,999,987,1268,2100,1772,1082,1158,697,821,1122,1140,1392,1376,1216,1208,1166,1142,1180,1214,1284,1450,2230,1956,1528,1912,1844,1322,1370,1344,1372,1242,1128,1023,1364,1528,1490,1306,1164,1086,950,1074,1384,1464,1528,1322,850,1024,1278,1078,902,670,510,602,870,1132,1192,1238,924,790,1088,1138,1194,1274,848,691,656,576,710,992,1220,1290,1060,1266,1158,1136,1114,1194,1484,1006,721,967,1026,991,879,847,1044,1032,1072,1468,1754,1732,1274,1206,1228,1022,800,918,526,501,790,614,365,321,338,418,374,374,385,429,442,359,331,370,387,321,303,677,1084,1354,1316,1138,1286,1152,773,771,1318,1332,836,863,1010,882,837,831,647,927,802,455,368,386,449,645,551,330,291,499,754,783,860,1078,1182,1116,983,702,789,1104,859,1044,1090,739,497,918,1032,616,310,309,353,459,451,360,335,368,608,457,335,694,652,368,303,259,263,261,222,225,234,323,564,982,1023,1090,840,608,702,574,480,685,844,487,372,652,1128,1254,1266,1236,1280,1406,1114,971,1332,1174,814,705,765,841,1034,1326,1246,1070,975,1488,1698,1122,767,950,918,495,697,1274,1244,1142,1068,853,642,801,897,905,1170,1086,872,897,1042,747,626,671,744,487,772,1320,1136,548,463,687,1116,1256,1398,1316,1116,1438,1434,765,754,1278,1434,1268,1310,1284,1098,1100,724,459,753,1224,1398,1070,1184,1398,892,526,764,876,694,916,1298,1322,1100,636,493,400,401,428,478,525,632,940,979,711,510,403,625,852,509,481,661,611,595,874,1256,1384,1332,1148,982,971,963,1092,955,1450,1594,1312,1282,1128,941,1168,1210,876,908,1134,1246,1378,1544,1476,1476,1186,894,1108,1366,1432,1368,1092,888,950,1158,1036,658,718,1272,1648,1382,894,882,907,944,950,815,696,1007,1460,1798,1764,1732,1576,1028,602,554,619,692,827,901,1178,1452,1408,1484,1484,1454,1396,1450,1592,1590,1454,1490,1490,1150,1202,1356,1222,964,1156,1172,1176,1236,1256,1506,1354,1272,1488,1398,1490,1446,1228,1160,1244,1092,808,596,604,648,458,362,425,487,497,451,380,420,455,561,628,635,649,769,725,517,429,338,332,301,315,300,288,269,308,382,387,438,484,551,476,562,897,1698,1522,1780,1384,924,935,1066,1272,1118,1054,704,463,429,695,1170,1324],[540,489,467,369,355,372,432,505,537,575,568,517,512,715,1094,1096,698,1154,1416,1530,1404,1456,1398,1388,1248,831,763,945,860,969,988,610,586,469,396,392,363,398,439,467,473,354,487,903,656,713,699,954,1282,1428,1126,897,940,727,918,1394,1370,1062,822,607,781,869,828,777,752,778,763,755,704,576,458,441,352,399,599,929,908,804,711,603,554,568,700,659,558,907,694,468,447,396,315,312,313,372,502,714,850,993,981,929,578,647,1082,823,419,368,309,367,439,340,355,428,799,1218,723,558,688,825,713,513,660,978,935,891,745,401,513,781,768,799,1094,679,481,429,421,567,875,1034,650,387,420,528,402,580,656,720,681,668,1036,1152,1144,1564,1476,903,988,859,962,1005,958,1020,966,1100,1142,896,1084,1154,892,511,638,1034,1078,1084,1006,988,1090,814,774,926,768,603,638,792,1372,1218,1116,564,372,412,513,752,946,976,966,832,465,305,343,292,249,359,375,365,364,356,399,485,416,359,395,580,456,522,486,433,513,548,544,488,625,740,424,490,520,702,597,555,661,661,449,427,571,614,466,360,390,365,546,651,698,1090,1228,822,888,1009,775,640,639,910,1030,733,553,495,400,647,959,1074,1074,723,561,492,468,421,456,407,366,368,415,489,558,580,614,735,764,759,807,566,360,392,417,354,430,483,583,1032,1116,964,796,510,346,299,320,282,291,266,256,271,296,314,334,363,632,945,778,425,594,841,396,349,472,352,381,495,720,972,1134,1074,709,450,362,359,373,415,444,522,589,725,1052,1036,893,700,733,1096,1464,1410,1084,1156,1172,759,749,825,1028,1034,1516,1694,1678,1428,1058,1222,1344,1148,1114,800,750,1070,952,952,1013,709,740,910,709,781,1056,1046,1266,2144,1682,932,644,655,626,654,622,447,653,1224,1478,1400,1246,1590,1158,936,574,568,571,682,645,533,508,557,627,784,1088,1072,1050,741,527,444,401,355,292,281,356,397,384,342,356,342,437,443,495,444,433,442,562,1076,1192,949,1186,1290,1250,1106,955,1046,1212,866,1052,1104,911,1364,1526,930,611,490,449,436,496,434,458,672,1144,1324,1142,1212,1100,536,450,650,666,755,746,554,519,571,607,512,436,437,444,581,586,489,384,352,486,313,227,243,376,385,314,476,657,616,702,588,472,580,399,344,355,350,412,443,408,425,429,344,550,1014,604,443,434,400,683,983,674,636,801,816,886,893,584,457,535,783,1084,1110,1150,1158,1108,925,822,813,584,466,740,690,586,600,924,1128,1098,1094,1260,1040,588,498,580,648,626,771,794,968,1422,1892,2050,2008,1936,1836,1486,1522,1986,1996,1654,1708,1788,1532,1376,1172,1310,1226,1636,1880,1392,1234,1258,1162,1144,1260,1124,771,901,1290,1594,1782,1860,1876,1772,1694,1636,1422,1302,1228,1222,1290,1494,1378,848,543,467,528,692,681,702,830,918,1274,1310,1174,1078,1034,1240,1178,962,866,853,1023,1162,1242,1438,1548,1500,1562,1672,1642,1520,1470,1324,1558,1428,1378,1646,1720,1728,1388,972,1198,1330,1198,1268,1294,1474,1382,1366,1390,1234,1146,1056,1010,970,1146,1126,1078,1214,1350,1376,1408,1426,1352,1212,1212,1266,1240,1262,1362,1448,1466,1382,1410,1502,1490,1428,1380,1160,1226,1424,1280,1416,1520,1308,1372,1410,1344,1256,1244,1230,1196,1110,1013,1132,1388,1584,1620,1296,1264,1226,1386,1310,1246,1210,1224,1416,1658,1554,1490,1534,1616,1800,981,691,1256,1578,1136,844,827,966,1074,1066,1130,1426,1258,1080,1030,1011,1114,1422,1682,1418,1362,1406,1316,1466,1382,1166,1078,1350,1562,1366,1274,1504,1516,1282,1178,922,932,1464,1564,1284,1528,1666,1410,1572,1368,929,1256,1524,1416,1576,1746,1148,1022,710,524,601,880,1036,988,1134,1386,1078,1024,1023,662,527,952,2292,1730,993,469,410,634,760,673,685,828,854,700,667,645,567,603,358,485,784,972,792,600,699,1260,1528,665,721,530,459,448,641,756,769,771,988,766,369,414,741,1350,1236,918,1064,1028,863,766,791,728,472,393,330,493,634,448,473,589,1188,1200,676,819,772,506,376,343,601,1009,1076,794,539,439,418,874,1184,1274,1682,1644,1418,1520,1366,890,684,739,959,902,449,301,541,1078,1094,599,396,465,636,672,444,736,1132,802,755,493,347,286,269,314,444,480,354,199,337,719,828,874,971,687,806,801,581,366,567,574,350,283,330,443,544,399,242,252,355,959,1016,511,289,346,434,433,523,719,492,357,340,252,270,449,396,368,430,568,661,621,565,355,287,365,504,555,503,428,291,251,249,225,219,232,244,234,252,342,535,553,355,276,408,538,588,511,390,389,503,541,612,562,579,611,702,584,504,558,491,370,343,351,314,394,717,1122,1062,1212,1080,1306,2322,1450,477,1082,1346,1136,1148,1332,1286,1158,1262,921,586,1554,2042,1848,1456,1070,747,538,872,1009,808,762,827,934,784,678,813,1278,1700,1884,1888,1814,1404,1230,1088,1138,1124,872,702,711,998,836,581,522,388,435,515,554,561,631,604,655,791,669,533,822,1114,1130,1256,1238,1114,965,1500,1216,1338,1560,1304,1168,1164,1312,1584,2020,1664,1108,808,822,899,1224,1196,603,539,716,765,952,1178,1260,985,886,892,817,687,561,565,606,544,568,539,531,627,586,460,502,741,977,849,678,622,1192,1430,1228,1220,932,764,918,952,949,940,781,595,589,539,609,561,447,471,456,381,417,445,552,612,509,538,1096,1376,1146,1426,1582,1596,1510,1544,1512,1342,1040,924,1058,973,984,834,802,1150,1242,866,829,910,1158,1354,1368,1396,1112,1274,1182,1470,1480,1252,1406,1376,1278,1132,1068,1086,1088,1174,1156,1196,1226,745,796,1246,1160,720,587,709,995,1208,1180,895,981,1028,1252,1694,2026,1512,1180,836,560,716,1005,1074,684,497,890,1222,559,387,342,387,351,370,761,1368,1436,816,600,937,603,746,896,540,888,1580,2792,3256,3150,3248,3332,2258,965,1208,987,1102,818,656,800,744,672,595,440,706,928,681,758,1204,1432,1528,1100,1824,1368,1122,869,735,719,708,681,720,842,657,889,1412,1334,778,844,1114,946,660,636,667,659,767,802,729,484,1012,1294,1116,767,769,755,865,1186,1188,985,1150,1250,1206,1144,1158,1000,1048,1228,1152,1042,1006,966,979,898,998,1180,996,1554,1704,1378,1394,1266,848,1078,1364,915,827,1176,1346,1340,1254,1368,1130,1308,1186,1240,1316,1310,1288,1394,1404,1702,2126,1924,1552,1366,1272,1422,1610,1200,1158,1526,1468,1406,1482,1374,1296,1112,1232,1378,1380,1606,1476,1154,1210,1432,1076,823,905,676,791,745,594,750,955,657,571,1040,1354,1288,965,771,912,806,726,711,1062,1438,1396,1472,1340,1146,1062,896,816,904,896,952,1198,915,622,634,1136,1318,844,929,1628,2360,1954,1382,1242,1148,1396,1032,1236,1076,1088,981,828,491,325,496,581,537,511,398,363,418,366,466,445,394,503,701,838,958,1180,1384,1294,698,856,1082,916,1322,1636,1556,1446,1110,1160,1198,835,568,477,578,984,581,314,320,589,659,467,335,973,1456,999,466,619,1024,923,772,521,609,882,959,1294,1350,1078,757,775,1196,1116,597,340,374,375,499,511,401,351,480,638,570,430,592,471,302,296,271,248,207,230,227,303,440,847,1060,739,439,375,333,479,1030,1086,518,385,369,935,1288,1230,999,1062,1326,1094,856,845,1316,1082,805,1030,800,809,1274,1258,1032,1182,1478,1544,1364,1328,1170,1120,1023,693,963,855,1001,934,809,841,882,860,905,1074,1452,1420,1282,1338,1192,710,631,772,681,484,514,856,799,495,648,788,1178,1316,1158,1214,1230,1346,1202,852,762,1100,1268,1172,943,1074,1076,1172,857,458,734,1348,1622,1360,1204,1166,1078,794,650,895,1526,1932,1650,1108,804,706,535,352,322,456,649,821,1146,1242,1100,630,435,403,706,1122,978,692,562,602,944,1406,1554,1580,1346,1310,971,938,874,574,700,1316,1640,1112,673,890,1192,1832,1542,1226,1094,1106,1098,1186,1382,1448,1282,888,790,1011,1310,1544,1794,1280,843,857,1062,818,543,552,683,872,993,1112,1154,1020,843,946,1090,996,937,1182,1456,1544,1512,1622,1112,703,828,828,619,745,1260,1284,1036,1180,1310,1448,1526,1434,1312,969,1194,1152,1146,1476,1548,1606,1558,1316,921,1124,1408,1220,929,933,1194,1200,1440,1362,1416,1570,1562,1554,1272,1036,781,461,404,490,586,492,466,491,601,635,520,438,338,303,429,610,670,479,454,438,404,392,325,317,353,355,364,331,256,323,392,369,389,469,579,494,667,1098,1616,1616,1572,1052,904,1188,1110,1182,985,1306,942,505,468,602,1020,1064],[438,465,387,352,346,354,353,328,463,825,776,725,447,609,957,757,892,1316,1508,1406,1220,1244,1318,1418,1322,1160,891,856,904,921,801,515,394,368,368,407,412,443,596,670,565,483,659,1024,815,750,616,866,1216,1274,1282,1274,1316,1050,974,1032,1094,1290,1064,751,680,644,721,767,741,611,531,523,496,453,430,398,315,343,414,505,625,769,804,576,479,540,619,562,441,560,505,456,418,403,419,331,297,413,636,549,432,600,766,601,499,520,799,643,487,513,405,416,512,356,360,689,1198,1212,1124,997,642,566,793,991,968,794,838,695,652,416,459,559,506,673,820,731,596,643,711,600,978,1072,547,289,335,527,699,599,543,547,540,658,976,1174,1272,1422,1044,938,924,1011,967,833,785,855,930,1132,927,623,932,991,778,714,646,852,998,993,963,1100,1036,601,662,783,673,441,419,661,1566,1550,1238,631,404,445,569,681,454,466,568,520,433,363,349,318,266,350,375,336,316,325,486,577,286,280,409,550,520,683,797,566,370,402,533,525,716,822,505,600,561,725,1078,940,618,509,390,480,686,658,439,446,495,438,801,1304,1594,1632,1108,641,744,742,442,467,476,681,782,645,867,584,437,1200,1528,1172,843,527,490,473,481,541,896,641,665,461,376,456,493,536,739,922,758,619,584,330,327,388,361,335,334,457,904,1124,1021,1056,1018,905,478,343,427,406,448,352,328,341,338,361,375,319,492,838,704,327,272,274,286,309,375,369,404,558,521,656,954,937,780,492,336,423,348,338,336,465,505,595,679,885,974,719,925,1544,1750,1468,1234,1232,1114,1274,1162,628,520,795,1338,1558,1600,1430,1170,1338,1268,1316,1442,769,529,550,681,702,583,517,584,685,498,756,1288,1498,1560,2088,1512,1048,1080,851,616,856,925,769,1072,965,1084,1046,1132,1432,1490,1170,708,606,916,1072,888,791,623,473,350,475,846,1048,1092,891,767,582,354,330,315,333,350,354,333,345,445,451,394,543,766,845,901,843,846,942,895,929,1306,1126,1048,1342,1394,1296,972,939,1176,695,794,1352,823,472,354,348,414,484,580,515,400,517,938,1082,1078,1284,955,654,838,1142,698,872,742,567,543,515,653,665,529,491,408,508,429,432,474,520,643,473,292,307,345,403,446,613,626,574,578,380,405,423,361,366,331,368,441,453,461,441,395,369,767,879,509,419,413,550,1118,1176,644,899,1238,890,655,536,429,421,352,689,804,1015,914,1054,1396,1242,998,819,587,417,565,567,501,409,768,1180,1068,1054,1202,845,470,464,586,636,625,641,1044,1400,1726,2010,2040,1746,1826,1992,1788,1866,1986,1996,1838,1716,1854,1756,1460,1240,1314,1248,1684,1802,1328,1258,1220,1220,1168,1128,854,1008,1206,1314,1498,1704,1900,1842,1866,1976,1546,1072,973,930,999,1164,1384,1260,927,641,468,477,464,570,827,975,1232,1400,1244,1102,949,1244,1444,937,721,960,1142,1080,852,1102,1502,1730,1750,1588,1724,1742,1340,1208,1356,1654,1686,1688,1718,1698,1388,963,1128,1418,1306,1358,1338,1390,1352,1015,1004,1000,1068,1296,1312,1186,1242,1264,1222,1258,1312,1358,1384,1412,1506,1470,1404,1344,1238,1104,1220,1318,1402,1526,1456,1402,1472,1476,1592,1428,1202,1302,1444,1302,1262,1140,1194,1282,1532,1708,1600,1344,1244,1344,1438,1230,1198,1384,1284,1142,1196,1268,1418,1514,1332,1268,1430,1330,1408,1500,1500,1470,1490,1224,1210,1002,1142,1290,1126,1148,1005,919,648,709,984,1344,1324,1246,1090,1066,998,886,946,1224,1478,1528,1202,938,1352,1632,1346,1372,1666,1732,1582,1536,1448,1260,1056,808,792,890,981,1240,1422,1854,1778,1720,1622,1140,1162,1454,1378,1284,1512,1650,1000,840,598,716,538,719,1124,1074,1188,1338,1032,1072,824,485,723,1384,2328,2258,1830,1310,929,887,846,698,876,1188,1180,692,630,369,398,651,448,407,795,934,796,749,798,1864,1860,767,576,501,483,380,392,446,432,565,1058,970,355,333,536,991,1152,1246,1240,770,971,1064,853,718,770,731,598,610,732,495,415,413,638,706,559,378,391,502,651,590,552,499,640,1028,651,338,267,291,397,709,1116,1586,1740,1584,1206,843,931,621,513,724,788,565,468,552,520,431,419,377,422,577,567,940,1462,1256,539,228,260,293,231,321,533,614,349,272,283,614,704,671,992,840,769,870,708,392,399,447,288,312,338,361,617,491,239,271,378,987,949,384,251,316,443,497,571,630,525,630,422,251,260,383,438,526,543,551,704,620,591,360,283,351,500,557,503,473,417,319,230,205,203,204,222,240,232,263,517,725,597,383,338,443,542,542,427,301,307,417,540,550,590,598,609,473,435,576,535,370,321,333,323,355,557,1240,1192,1230,1238,1380,2148,1824,749,1562,2128,1678,1494,1534,1312,982,1196,1160,950,946,1170,1366,981,571,400,418,1102,1162,837,1012,791,998,1252,1006,787,874,1348,1750,1924,1782,1320,1178,999,1052,962,545,490,730,1056,801,594,556,509,532,468,561,529,694,633,673,683,523,458,544,691,698,925,1098,886,1140,1490,1648,1664,1714,1494,1048,760,1030,1624,1886,962,922,835,951,1144,1368,1174,695,756,955,973,996,1190,1018,794,880,836,750,629,558,554,480,486,553,552,509,480,467,555,684,811,792,664,654,1044,1312,1104,1268,1168,858,939,975,1020,789,484,429,503,602,548,572,517,468,505,483,450,540,565,576,579,389,559,1288,1142,1188,1488,1516,1494,1412,1520,1434,1356,1310,1092,935,824,896,954,1038,858,832,854,875,957,1074,1312,1246,1322,992,1132,1094,1194,1270,1284,1284,1212,1324,1330,1080,1162,1282,1422,1100,1050,1130,902,681,551,601,739,856,981,898,959,1228,1146,1132,926,1002,1584,1868,1270,866,716,537,799,1062,963,547,491,825,1314,749,357,357,346,334,301,577,1368,1596,922,559,952,800,738,666,535,612,1520,2536,2688,2684,2540,2492,1854,1136,1046,1122,1284,915,757,966,1058,1186,1216,833,810,856,699,632,1070,1316,1400,1116,1432,1262,1140,1200,1210,1184,1128,1080,1052,991,1050,1308,1550,1266,717,705,850,798,735,1158,1284,893,879,869,799,704,752,717,565,554,595,503,539,887,1042,1040,920,896,1088,1336,1370,1258,1108,1262,1400,1190,1062,1120,1114,858,978,1332,1220,1354,1338,1262,1230,1338,1432,1278,1262,1194,932,1230,1676,1592,1342,1192,937,1176,1166,1254,1156,1106,1356,1504,1350,1350,1324,1496,1512,1370,1452,1622,2070,1762,1324,1340,1372,1502,1484,1268,1274,1144,1174,1120,1236,1482,1646,1436,1260,1388,1108,639,828,1296,1214,730,576,750,994,810,676,1124,1366,1138,745,786,817,816,1046,1056,1204,1262,1340,1522,1344,1062,844,775,706,771,1060,1200,1446,1060,868,1106,1196,1208,1034,1146,1354,1476,1536,1506,1188,1058,1484,1416,1622,1326,1104,1108,1150,690,484,620,708,579,612,489,408,365,303,479,418,308,720,993,665,821,1180,1060,733,490,815,1262,1512,1572,1692,1644,1220,780,920,1182,891,516,450,994,1598,1054,492,426,700,818,574,414,822,1210,932,358,371,678,677,1016,887,805,1346,1450,1268,1308,1288,1118,887,1302,1676,967,365,340,412,623,747,544,314,512,1064,1172,514,439,292,251,295,273,237,254,255,241,276,330,656,999,839,954,861,443,359,721,841,594,444,457,827,1044,888,763,1294,1458,1024,1092,794,1148,1230,1052,951,950,1020,980,1023,1192,1118,1406,1512,1596,2080,1186,896,866,854,832,716,483,526,810,828,642,832,1002,1296,1252,1214,1248,1106,875,726,860,1100,833,511,550,613,709,1016,1228,1023,1080,1001,1009,1376,1412,1228,1102,892,871,1122,943,1306,1284,1062,794,755,585,401,555,965,857,716,884,756,946,1460,1490,1556,1670,1500,1054,709,781,716,472,325,353,624,986,1356,1388,1042,728,556,594,730,925,1374,1606,1166,640,908,1346,1518,1572,1554,1422,1378,946,846,830,613,455,642,843,564,538,780,1312,1600,1460,1328,1390,1268,802,863,1114,1132,1132,1252,754,800,1372,1696,1720,1404,1252,1072,725,469,460,555,610,725,1090,1742,1794,1416,1106,1142,944,810,1214,1342,1370,1278,1056,1480,1216,932,753,1098,1400,1066,827,797,891,1130,1220,1134,1188,1256,1158,1100,1348,1080,1015,1064,1344,1506,1576,1638,1428,1456,1478,1360,972,1154,1262,1390,1584,1588,1644,1620,1496,1226,713,559,441,402,630,773,684,475,390,394,517,604,601,431,248,290,388,398,455,487,524,398,345,350,328,298,342,425,439,376,295,328,356,373,447,529,525,480,742,1214,1528,1446,1136,1000,681,767,601,942,951,1360,1042,918,841,577,624,550],[425,452,404,368,390,394,379,379,670,1044,1074,811,381,425,619,729,1130,1344,1464,1246,1240,1354,1192,1200,1108,959,951,913,924,957,855,619,428,404,433,503,457,489,572,578,583,488,675,855,621,708,917,1030,1216,1356,995,830,974,1150,1066,1070,1138,1138,1172,1176,999,819,794,832,758,564,513,512,486,384,318,366,329,356,459,437,422,561,668,527,561,591,576,505,431,411,389,397,412,498,536,354,279,304,490,409,284,357,413,399,400,430,475,497,580,563,559,491,634,458,506,1244,1152,769,1007,1086,628,651,705,998,814,466,441,437,451,324,339,536,670,859,993,705,495,526,750,763,973,893,437,310,333,498,802,783,458,315,384,649,905,1182,1610,1460,882,688,680,792,666,611,771,772,785,901,862,868,1174,1144,997,1016,910,962,1184,1196,1034,1074,905,477,453,457,499,462,437,648,968,1328,1278,576,413,399,554,653,406,375,440,443,417,406,390,318,284,334,364,318,323,316,387,438,306,278,342,516,593,707,714,517,345,464,538,425,800,854,740,862,944,1050,1404,1126,582,384,314,386,605,603,483,678,603,464,854,1430,1628,1482,1106,594,509,628,505,750,545,526,799,561,490,542,794,1602,1742,996,777,657,514,573,874,1206,1218,1260,1246,626,354,392,432,469,594,540,464,434,379,339,364,352,333,327,404,786,1042,908,1104,924,929,951,441,310,364,495,505,437,429,383,359,388,370,351,483,854,717,444,323,304,289,273,307,341,471,462,337,379,519,645,681,401,643,766,512,465,559,614,737,665,516,535,446,416,579,858,1510,1498,1464,1302,814,951,969,808,793,869,1294,1390,1304,1416,1472,1454,1284,1370,1008,521,455,459,482,367,356,371,463,497,448,861,1372,1344,1072,1078,1204,1110,814,692,531,742,817,695,742,614,730,924,1228,1614,1548,1160,877,769,991,1288,1348,872,999,695,618,760,868,946,857,882,1016,714,335,347,354,352,382,442,383,318,331,356,339,541,719,877,1246,1094,835,787,882,1110,1312,1300,1278,1362,1172,900,729,977,1092,583,788,1156,677,478,390,347,352,373,473,435,389,643,963,808,1136,1092,777,577,831,866,498,546,631,610,576,471,672,796,691,613,644,676,439,450,482,543,683,654,454,442,640,670,512,404,487,456,441,417,429,351,421,512,504,514,397,398,424,477,458,523,1028,786,538,494,367,517,1086,1148,766,1308,1490,1074,779,713,683,611,487,428,489,645,746,1268,1498,1474,1444,1114,865,666,1132,992,472,328,523,875,883,844,774,665,523,601,664,636,686,579,1007,1764,1852,1902,2000,1952,2064,2152,1820,1714,1886,1940,1990,1864,1822,1894,1646,1346,1330,1166,1098,1148,1166,1330,1362,1332,1432,1114,877,1174,1226,1256,1312,1352,1656,1624,1906,2154,1608,1166,910,826,869,981,1136,1034,939,788,485,538,685,1036,1302,1290,1454,1344,1228,1062,917,1218,1274,877,1048,1216,1084,821,1050,1484,1758,1914,1898,1638,1454,1428,1430,1304,1490,1756,1738,1726,1686,1462,1134,1060,1218,1096,920,952,1264,1560,1278,1120,1184,1350,1414,1374,1276,1438,1476,1328,1394,1520,1452,1426,1320,1390,1440,1356,1464,1264,1196,1344,1280,1324,1644,1710,1512,1368,1280,1430,1886,1748,1270,1430,1390,1270,1340,1310,1448,1578,1486,1614,1886,1418,1230,1422,1362,1302,1418,1464,1178,1104,1210,1242,1248,1284,1538,1650,1420,1226,1188,1228,1206,1204,1212,1176,1276,1216,1324,1434,1176,977,909,945,640,915,1236,1272,911,1092,1312,1172,1050,979,1015,1064,1120,1318,1202,994,1292,1588,1542,1296,1348,1520,1548,1646,1544,1322,811,854,1318,1009,1486,1730,1720,1588,1696,1584,1400,1768,1554,1228,1318,1456,1384,1474,811,588,983,1360,984,974,1542,1686,1538,1260,743,574,661,974,1964,2474,2476,2354,2142,1980,1792,1426,1230,781,874,1116,1066,689,454,368,414,455,343,309,661,927,800,812,755,1396,858,737,851,733,807,1009,656,378,420,601,1030,715,442,440,340,574,1094,1638,1578,849,754,1188,1416,1490,1030,764,725,664,588,482,334,488,798,1074,888,376,492,844,1005,1056,902,574,514,885,745,420,306,419,478,401,801,1584,1626,1360,955,962,980,664,434,355,680,791,642,367,409,508,675,515,450,454,410,491,1154,1660,1076,349,344,401,262,265,406,771,622,341,252,505,691,524,716,835,745,855,702,356,359,455,376,328,290,411,690,491,269,286,356,561,483,283,275,268,537,654,544,699,960,1102,753,329,307,319,336,565,628,540,711,616,589,346,267,323,436,510,517,483,456,315,227,219,207,210,228,244,253,241,383,606,697,573,374,386,437,534,492,307,249,335,394,414,533,569,500,454,456,533,569,389,332,378,377,404,680,1160,1306,1196,1202,1320,1312,1124,418,1220,2242,1732,1296,1366,922,614,976,1326,1430,1382,1368,1230,1294,1076,637,567,745,786,946,1040,703,1104,1422,1320,929,752,1112,1256,1472,1170,1016,1068,853,724,513,369,409,813,1078,544,571,723,675,605,602,830,942,991,861,719,685,697,612,417,872,1074,873,948,747,1126,1570,1494,1396,1404,1538,1426,1074,1126,1326,1338,1012,916,957,972,1086,1256,976,711,626,597,759,957,968,770,867,855,769,671,561,545,548,534,586,625,604,514,460,559,729,776,770,688,485,680,1054,1102,1060,913,845,879,919,1068,1282,705,495,546,659,594,780,866,712,659,562,492,439,545,739,725,756,515,732,1262,1128,1400,1534,1680,2178,2048,1546,1462,1428,1420,1298,1292,1272,1280,1224,890,515,536,719,1007,1038,950,1248,1228,1054,828,955,1086,1138,1350,1370,1244,1412,1390,1378,1096,948,1038,1176,1076,885,839,894,756,648,842,1100,1214,922,1028,1200,1242,1150,1100,963,692,880,1344,1364,943,879,725,871,792,561,1102,1194,974,1312,1048,460,340,321,324,311,479,1296,1622,1046,535,779,840,654,490,509,739,1148,1166,1182,1346,833,715,1102,853,545,527,651,695,661,706,1036,1266,1280,991,1078,954,893,937,961,1030,974,928,936,1178,1176,1270,1288,1256,1230,1034,996,1186,1402,1506,1520,1248,1050,901,697,683,596,1018,1208,969,999,1204,943,734,924,941,713,628,538,334,361,605,1134,1506,1130,898,1114,1232,1174,1196,1058,1048,1226,1154,1102,985,1007,943,1086,1448,1306,1304,1278,1250,1384,1760,1708,1276,1344,1394,1172,1158,1356,1388,1242,1136,1118,1242,1268,1308,1310,1162,1278,1570,1390,1456,1368,1532,1500,1478,1544,1540,1584,1438,1248,1082,1454,1296,1118,868,888,839,1072,1186,1092,1222,1392,1376,1338,1278,1174,659,767,1212,919,579,528,778,1188,942,643,905,1236,1394,1092,1186,1298,1880,1938,1450,1054,1092,1148,1134,1126,1142,1104,1248,1186,1172,1324,1316,1560,1366,1250,1152,1086,1112,1102,1236,1138,942,1214,1550,1042,1030,1022,1400,1462,1010,844,1116,1188,902,678,523,641,630,797,514,340,289,384,496,488,764,1452,1366,901,933,1230,1152,841,523,451,785,866,687,1218,1588,1158,735,1020,976,719,727,681,832,1192,945,551,592,785,674,442,394,623,1250,1380,681,306,361,602,890,1154,1290,1716,1676,1030,1080,1408,1654,1164,1050,1122,803,440,321,363,456,594,568,412,456,826,1030,471,270,236,295,283,248,252,265,242,227,254,295,484,1022,908,1090,884,403,305,413,391,330,367,432,466,494,572,626,975,896,1080,1238,1240,1194,744,453,444,883,1340,1012,901,1422,1704,1344,1124,1376,1488,1118,701,792,1096,950,896,775,506,761,1284,1202,1038,852,849,977,924,1046,1046,1007,912,857,1328,1220,686,875,1013,1308,1310,1274,1058,1064,1188,1302,1456,1500,1428,1176,850,733,922,623,842,1198,1192,946,1036,1006,646,376,428,501,554,511,508,654,1356,1644,1448,1594,2070,1460,646,551,442,410,495,764,998,1324,1302,1078,835,588,517,765,919,917,1362,1716,1170,688,1004,1530,1580,1278,1268,1006,888,640,478,522,500,513,619,556,496,803,1122,1306,1346,1680,1488,1404,1328,1100,907,1006,1140,1070,1072,841,1226,1506,1414,1296,1416,1248,816,579,484,498,503,495,851,1282,1650,1626,1456,1158,1002,915,1021,1306,1188,1002,873,968,1496,1488,1318,1284,1362,1614,1256,810,662,850,1188,1152,993,875,1158,1110,1166,1322,979,860,1124,1252,1074,875,944,962,1202,1400,1604,1288,1398,1456,1422,1422,1490,1738,1696,1340,1098,847,561,554,637,1132,1186,685,398,386,386,361,360,368,325,290,346,405,501,451,415,543,424,364,434,393,321,389,452,351,307,307,333,357,369,408,490,745,918,1088,1522,1712,1044,593,671,464,346,290,772,1044,1066,764,987,1294,1015,805,557],[343,345,390,448,463,451,406,447,576,835,1106,624,305,504,586,917,1024,859,1152,1011,1394,1440,1278,1308,1144,824,908,989,915,904,910,845,636,594,430,390,413,476,561,556,497,484,559,484,518,791,752,636,657,545,417,501,488,661,1144,1324,1102,1356,2018,1766,1286,1334,1100,959,646,518,525,547,552,412,295,380,351,435,907,799,419,410,514,458,547,655,625,458,458,492,415,360,386,377,397,351,313,286,304,261,271,325,319,295,307,342,432,482,440,433,482,567,724,743,619,775,1158,1192,1440,1780,883,745,642,816,585,468,378,427,454,332,262,473,908,1324,1148,772,711,664,719,1054,1238,1180,731,420,548,934,1132,684,357,380,324,532,846,1302,1510,1026,701,638,705,817,853,919,1076,1196,1248,1148,1278,1426,1538,1546,1354,1172,927,645,597,582,659,953,596,397,368,309,430,466,382,403,425,614,741,491,445,412,497,843,653,424,444,391,383,413,342,273,245,262,336,314,321,316,501,615,486,450,404,363,457,571,720,686,509,523,494,422,904,855,708,876,852,961,1202,1098,758,403,325,268,332,400,422,502,402,503,921,1232,1208,1268,1090,896,754,715,590,684,513,518,705,613,439,538,701,893,915,680,903,781,589,827,1009,1040,980,1372,1282,529,365,373,386,360,441,498,590,486,419,396,357,366,359,316,361,685,971,795,823,840,867,466,339,303,285,375,432,391,423,418,394,353,347,404,599,948,804,628,388,254,252,275,323,430,478,358,323,315,297,343,391,397,897,1320,1100,727,642,744,811,582,452,460,443,384,380,466,621,836,1234,1166,876,694,566,648,844,846,1108,1238,1202,1346,1426,1404,1332,1232,940,764,620,609,684,515,544,392,405,423,529,826,1238,1362,1142,1148,1512,1140,632,653,566,456,546,653,671,684,692,789,1302,1934,1736,1124,721,743,574,1256,1432,777,1050,1190,1172,1064,738,589,499,780,979,586,382,364,365,360,415,482,439,350,339,362,474,861,952,886,1154,1042,1008,1002,982,917,1108,1386,1360,1262,1034,977,981,948,794,639,672,668,550,420,401,413,400,417,368,350,433,567,630,602,962,1004,747,517,553,875,990,799,699,598,607,564,708,821,617,555,522,508,517,634,704,632,672,791,647,537,890,586,545,573,529,415,341,492,539,365,454,574,489,375,283,382,457,361,325,724,1018,675,520,458,382,455,951,1340,1084,1460,1460,1242,1038,875,908,1206,1036,584,440,487,843,1426,1236,1498,1730,1036,799,863,1330,894,432,436,583,704,535,579,606,927,1054,1100,937,680,630,661,1450,2024,1870,1974,1926,2036,2078,1804,1162,1380,1816,1946,2012,2022,1870,1820,1820,1598,1378,1054,1162,1272,1488,1556,1340,1190,1308,1260,1216,1192,1106,1120,1272,1346,1538,1522,1848,2474,2214,1540,1008,828,831,883,962,888,908,918,549,567,819,1366,1510,1360,1284,1284,1390,1294,959,775,720,723,969,828,844,1246,1606,1770,1660,1492,1518,1590,1600,1444,1332,1542,1758,1536,1426,1572,1610,1092,864,1208,1370,1154,1274,1528,1696,1592,1366,1346,1358,1730,2162,1650,1020,1138,1302,1380,1626,1570,1478,1560,1488,1494,1462,1292,1372,1438,1346,1276,1176,1236,1568,1606,1422,1214,1122,1186,1086,1682,1302,1064,1170,1318,1454,1582,1524,1578,1698,1294,1344,1288,1092,1140,1322,1686,1468,1394,1494,1710,1810,1626,1728,1810,1750,1610,1032,999,1004,1078,1006,1046,1158,1284,1360,1292,1009,1108,1278,1080,1088,870,636,1054,1436,1258,1270,1478,1500,1308,1006,1092,1232,1184,945,959,1164,1258,1372,1414,1348,1186,1212,1446,1516,1600,1682,1614,1510,1692,1708,1310,2314,3272,2470,1606,1584,1196,1550,2150,1624,1268,1172,1210,1258,1346,788,527,921,1108,1021,1208,1426,1450,1580,1084,540,934,1642,1846,2178,2222,1998,1850,1852,1732,1354,1170,1308,1102,768,827,1018,723,365,363,447,491,452,325,507,767,552,678,720,570,529,985,1252,794,822,1210,931,467,637,614,724,547,589,532,610,1198,1620,1844,1412,904,1098,1606,1642,1658,1146,836,617,563,516,419,267,384,678,1160,1130,480,654,819,988,913,1100,950,545,505,672,590,417,477,446,307,385,719,1152,1160,1278,1328,767,452,463,428,380,570,940,695,506,563,735,667,547,512,409,261,557,1362,1344,433,344,397,257,268,330,506,491,305,259,426,686,623,631,951,766,786,607,301,312,504,539,375,336,481,736,604,265,272,266,266,271,450,418,249,410,514,346,475,822,1184,1008,503,307,238,252,415,441,598,669,594,603,418,278,369,447,489,532,496,470,295,239,192,184,210,239,250,249,227,238,373,607,634,421,311,299,487,565,502,384,363,480,567,473,296,334,481,502,451,495,375,258,329,399,563,810,1014,1362,1202,1154,1294,1064,594,304,954,2112,1898,1444,1330,1034,1066,1294,1524,1600,1644,1654,1660,1926,1440,1268,1162,746,647,978,816,877,1454,1494,1460,1202,1024,1002,1054,1064,776,758,869,750,581,403,422,553,915,948,775,971,1256,1188,835,690,992,1338,1412,1336,850,780,1128,1084,904,1032,1040,951,724,702,1400,1914,1562,1228,1034,1208,1396,1438,1394,1388,987,888,1088,1268,1132,1288,1176,756,706,618,466,441,658,711,810,862,802,745,659,579,552,579,576,647,666,698,581,510,677,710,653,498,409,619,949,1192,1198,883,805,911,920,1212,1196,1026,655,544,655,708,772,1226,1382,1178,1016,943,724,633,657,748,752,876,844,1198,1268,1096,1586,1644,1926,2424,2388,1888,1662,1600,1532,1346,1358,1422,1304,1182,912,466,352,695,940,1022,1010,1142,1114,869,677,938,1190,1158,1352,1340,1214,1422,1268,1222,1208,921,935,1144,1188,926,793,959,948,1042,1018,868,968,590,712,1176,1010,802,998,1013,810,820,1048,1208,855,800,703,727,632,611,1008,838,607,1068,1294,625,309,320,306,324,385,1172,1638,1334,763,497,554,753,887,846,1198,1144,944,1068,1236,858,1036,1208,654,470,574,375,395,384,533,1130,1182,842,557,824,983,990,1046,1292,1390,1230,1092,849,1184,901,1110,1362,1152,814,509,623,1174,1678,1786,1622,1352,929,789,857,822,683,626,759,992,973,831,755,762,910,1114,1334,1458,901,547,677,729,1180,1318,1042,988,1234,1476,1306,1036,926,800,1100,1078,991,1108,1007,1024,1210,1318,1276,1346,1374,1318,1340,1440,1322,1748,1716,1648,1686,1288,1206,1332,1314,1344,1392,1312,1208,1260,1298,1212,1140,1280,1252,1390,1338,1448,1592,1702,1722,1470,1256,1106,1146,1246,1824,1378,751,915,1094,782,779,1062,1208,1384,1654,1686,1422,1130,1232,1074,659,408,413,473,576,813,821,549,425,519,897,1212,1206,1324,1378,1252,1590,1252,838,1060,1114,1140,1148,1208,1214,1498,1426,1254,960,948,1112,1178,1268,1338,1294,1046,976,1088,816,678,1042,1460,1234,930,624,919,927,593,707,873,1056,977,811,732,736,1120,1218,825,511,418,476,572,753,1004,1192,901,808,870,1044,793,792,552,363,438,365,387,874,1548,1258,666,1032,989,1022,1132,1046,738,584,536,525,592,636,449,367,461,863,1546,1322,624,395,642,1010,1112,1032,1126,1240,1160,714,796,1454,1600,1346,988,752,835,654,296,283,289,308,414,362,391,317,401,319,255,260,276,274,271,307,278,251,222,227,267,324,981,931,593,286,246,309,455,657,634,435,529,411,522,436,474,771,1036,983,936,1112,1120,832,585,428,505,747,1100,1556,1792,1716,1032,872,1036,1268,1622,1366,897,688,919,1220,1042,691,805,1214,1346,1310,947,764,1072,893,841,1154,891,724,778,891,1140,943,1238,1256,1300,1430,1342,943,955,1224,1280,1360,1252,1228,745,746,1060,959,727,665,977,1192,1144,1170,1054,785,364,386,479,546,400,405,367,874,1284,1138,1158,1458,1062,495,351,386,626,1254,1218,736,532,728,1210,1020,596,587,811,929,951,1130,1190,589,539,756,1196,1222,1170,1338,929,557,476,394,330,458,487,601,735,1034,1106,1126,1164,1280,1392,1462,1528,1590,1472,1092,1146,1306,1322,1322,1328,1564,1156,766,1084,1296,1042,516,511,445,412,445,537,968,1222,1156,1028,904,792,1066,1438,1528,1288,986,1218,1376,1628,1632,1502,1526,1340,1212,1050,610,461,445,791,1288,1138,932,750,882,858,1268,1406,932,883,1230,1274,1092,571,569,480,549,860,1202,1460,1544,1622,1608,1440,1516,1732,1628,1482,1450,1250,1032,747,818,1092,988,612,403,403,351,297,310,384,366,312,374,403,422,467,482,503,577,618,576,555,405,409,498,363,305,300,350,357,363,393,698,1114,1088,1148,1506,1690,1098,993,786,458,422,348,538,769,669,627,925,1160,1508,1011,739],[301,289,355,394,448,479,442,545,577,901,983,563,387,501,750,1196,1102,871,1058,1002,1028,1212,1316,1306,1128,841,791,918,921,866,835,785,708,673,483,427,448,498,589,591,484,575,902,1030,908,815,497,367,419,438,511,509,404,491,675,1010,1316,1230,1522,1870,1422,1038,877,1042,1074,989,910,956,1006,715,259,284,291,418,1126,890,425,449,485,468,484,549,550,414,435,401,423,418,440,386,344,332,317,296,290,286,278,311,336,332,314,315,342,375,301,320,366,426,568,818,1030,885,655,819,1192,1264,767,760,857,769,590,519,430,386,367,308,296,355,639,858,921,965,714,536,776,1132,1160,999,667,389,647,1230,1240,796,562,455,405,559,612,819,932,905,802,768,906,1060,1016,1134,1340,1354,1366,888,899,1168,1190,1108,957,668,421,328,300,444,880,848,532,457,329,324,413,466,438,481,570,532,612,711,1023,1090,1122,1476,977,469,413,317,325,363,282,290,301,269,305,303,352,521,1008,1036,813,837,575,412,437,439,480,649,588,504,524,509,840,866,810,791,602,700,819,672,789,919,579,573,519,448,510,537,672,721,788,871,848,1282,1316,1048,1050,1324,1184,692,706,908,772,538,556,508,499,670,900,755,875,718,907,1130,753,395,398,738,833,392,332,373,396,375,401,433,437,388,404,409,377,380,365,294,306,410,682,745,925,946,527,318,372,366,380,598,682,569,450,487,469,413,525,604,580,842,696,424,390,332,290,280,390,513,390,367,350,362,292,281,298,284,622,1188,1174,845,691,716,819,952,761,614,699,559,411,426,402,528,619,656,648,773,982,772,637,862,1104,1120,1030,917,1162,1334,1140,1160,1466,1378,1064,1014,999,681,645,491,421,438,501,981,1516,1352,1096,1262,1496,981,1222,1252,980,752,538,700,823,724,616,610,996,1534,1566,1222,926,909,793,1242,952,654,1406,1490,1216,1282,1192,760,553,869,985,689,428,355,343,358,409,454,499,504,413,373,457,889,1044,1100,1116,1072,1366,1374,1152,1034,1138,1330,1420,1374,1290,1218,954,798,587,601,616,594,509,417,379,375,466,427,429,427,395,387,406,514,752,818,582,406,451,781,1054,833,607,475,489,550,581,666,553,373,240,241,379,569,756,711,791,912,780,517,445,340,503,569,554,487,339,347,278,248,357,549,498,348,265,393,498,365,353,873,922,478,454,438,365,421,990,1432,1376,1384,1282,1142,1268,1018,1054,1434,1066,646,619,729,1014,1106,649,968,1050,601,469,891,1134,741,471,574,843,859,689,549,700,1144,1032,860,724,624,583,900,1838,2116,2142,1650,1510,1870,1580,1080,997,1486,1786,1902,2012,2050,2000,1842,1846,1814,1480,1222,1276,1408,1358,1272,1588,1726,1122,1328,1242,1098,1186,1246,1338,1314,1362,1490,1696,2036,2156,1854,1250,800,764,792,856,800,843,1016,678,514,901,1322,1514,1544,1360,1316,1400,987,651,570,678,691,738,1032,1454,1534,1266,1080,849,691,733,996,1366,1790,2030,2040,1748,1392,1428,1722,1494,1130,1478,2044,2136,1470,1486,1890,1742,1422,1542,1554,1384,1974,2162,1604,1242,1130,1158,1398,1470,1462,1412,1462,1476,1660,1670,1438,1236,1302,1364,1280,1254,1340,1548,1458,1410,1112,1220,1226,1196,1498,1404,984,1080,1494,1488,1428,1448,1610,2082,1500,1116,1080,1186,1136,1214,1370,1350,1412,1570,1418,1290,1302,1928,1600,1092,557,826,905,910,1110,1170,1190,1322,1380,1278,1110,962,780,1114,1244,1007,987,1218,1390,1282,1228,1208,892,1148,1278,1132,1290,1274,1138,980,991,1108,1494,1614,1196,1110,1462,1500,1526,1400,1294,1304,1520,1656,1404,1106,1226,1920,2194,1960,1654,1242,1180,1520,1284,1390,1486,1296,907,990,1108,1012,1212,1004,822,1198,1005,944,1108,1322,951,1250,2132,2086,1814,1984,1708,1526,1572,1890,1244,921,782,872,1124,808,727,1088,913,635,349,421,748,785,369,339,636,500,669,931,893,728,702,763,662,715,714,573,712,1034,1078,1176,1066,1012,936,1488,2446,2778,2480,1544,1480,919,1316,1594,1838,1666,1028,566,433,307,309,329,318,455,518,584,469,764,1478,2060,1238,951,1010,741,536,667,673,494,410,436,306,360,648,603,604,720,1058,959,426,570,782,463,408,670,1078,805,637,561,700,672,474,378,358,375,550,418,285,278,255,249,261,240,251,267,292,386,465,653,723,570,971,899,763,758,427,299,427,455,355,349,539,783,548,247,262,310,441,374,475,576,410,309,312,259,252,508,905,739,427,252,224,277,269,254,505,611,571,608,503,362,346,396,483,521,505,434,294,258,235,216,232,248,245,245,246,249,291,462,547,464,359,361,475,552,559,535,539,655,730,456,228,328,388,430,466,472,375,261,292,326,597,869,907,1164,1092,1116,1072,1258,849,426,904,1956,2124,1748,1640,1500,1394,1378,1464,1282,1380,1170,1256,1496,1440,1374,1098,1010,1106,877,626,1180,1516,1196,879,1020,1082,1050,909,836,934,955,993,972,568,413,422,768,1148,1004,1050,1302,1466,1192,797,789,1318,1578,1396,1144,982,960,963,1100,1244,1070,1158,1050,822,1242,1984,1956,1422,1184,971,942,1672,1978,1648,1286,977,865,1342,1520,1234,1226,877,823,1007,628,439,332,473,727,853,840,788,678,660,620,577,570,479,529,635,722,799,747,592,548,487,454,711,994,1154,1156,876,818,966,1034,890,960,848,684,650,579,540,566,708,1140,1538,1554,1566,1358,817,740,807,630,606,813,1026,1376,1138,1134,1448,1656,1642,1878,2048,1918,1666,1706,1678,1486,1516,1470,1310,1226,1013,548,392,667,714,938,1108,1214,1013,818,1064,1138,1218,1112,1296,1318,1246,1132,1148,1300,1556,1304,1058,1184,1114,669,615,915,943,1108,1244,914,784,563,513,759,770,716,833,1012,812,822,927,945,847,1092,1126,915,701,679,974,1062,604,738,1186,604,414,353,344,401,318,822,1334,1230,1002,834,1002,1380,1458,997,1204,900,751,854,907,1064,1312,1298,766,385,390,317,292,296,546,869,910,636,407,471,602,739,730,960,1404,1162,916,1214,1152,731,984,1486,1418,1068,730,711,1114,1398,1398,1268,1222,1100,1052,1206,1268,1108,857,671,690,771,760,854,666,797,1009,1302,1246,1122,1001,863,650,940,994,869,870,1108,1780,1500,1001,967,856,1136,1058,927,949,706,841,1162,1194,1270,1426,1322,1260,1428,1466,1614,2578,1898,1528,1356,1076,1092,1166,1198,1206,1466,1494,1404,1424,1452,1362,1130,1046,1324,1596,1340,1288,1480,1720,1552,1288,1262,1007,1152,1462,1708,1462,1084,1170,1230,1022,1060,1262,1314,1454,1762,1934,1350,1372,1638,1554,970,521,458,434,546,857,1058,1021,727,528,545,609,891,1112,1218,1222,1258,1196,1009,1088,1015,920,962,1040,1264,1404,1460,1550,1370,1050,1104,1368,1328,1130,1038,868,813,746,544,561,689,766,700,501,479,896,1096,982,742,919,933,792,1023,1046,1018,1262,1244,1172,971,645,526,669,905,709,859,592,608,1005,1144,847,760,669,472,341,351,503,814,1396,1340,1044,952,971,1162,1234,1494,1376,748,474,590,559,499,478,437,394,441,774,775,551,438,540,739,747,535,721,806,692,612,534,652,1180,1936,1658,811,738,865,481,309,276,303,339,416,391,289,466,511,324,346,607,814,476,394,298,288,259,230,270,251,754,883,434,267,340,317,536,1250,1136,556,594,438,591,561,451,490,620,795,1040,1126,926,887,849,1002,898,719,973,1406,1696,1570,988,832,775,1064,1630,1820,979,432,726,751,751,660,950,967,586,935,1072,873,1023,1044,800,816,670,860,904,699,987,1298,1438,1216,1216,1342,1196,1016,1024,1132,1236,1226,1170,1210,1152,1420,1600,1005,699,613,610,692,727,752,925,1052,576,360,469,615,412,406,484,696,1098,1114,832,810,746,519,590,566,821,1320,896,624,1032,1456,1488,1180,670,583,512,640,708,547,376,382,471,633,1038,1450,1646,1064,597,473,487,495,456,478,480,733,1266,1520,1100,1030,1202,1009,1356,1936,1798,1494,1160,1174,1236,1122,1100,1314,1698,1582,1072,1078,1116,1124,1246,568,479,362,406,473,695,1132,1072,723,560,538,949,1456,1494,1236,1290,1290,1482,1360,1310,1406,1538,1616,1502,1102,655,381,419,615,1050,1218,1054,953,839,766,707,766,1118,1362,940,740,761,692,536,658,629,662,583,585,626,833,1246,1416,1544,1722,1688,1708,1542,1250,1106,951,831,1078,1080,880,719,585,532,426,377,572,669,468,338,395,380,360,451,579,554,526,427,462,527,518,430,385,350,347,338,368,373,352,343,428,513,528,878,1274,1598,1306,1290,897,657,797,611,389,469,457,739,1042,1074,1892,1330,908],[273,265,316,305,449,468,476,844,1018,818,710,661,590,584,1040,906,926,1308,1140,1100,748,592,841,932,768,494,497,738,834,838,815,783,642,554,662,703,523,474,673,892,578,792,1170,1302,1276,959,472,341,389,428,707,940,708,717,678,898,1228,1278,1360,1656,1534,1332,933,938,1248,1262,1036,1018,1134,842,294,272,305,345,1094,936,450,443,523,500,435,373,399,323,386,379,386,405,441,405,405,371,332,321,306,268,282,329,368,384,384,350,319,308,310,331,378,419,360,543,1082,905,619,574,583,633,636,744,796,630,703,868,598,370,376,383,390,392,441,440,778,987,576,325,539,814,885,721,753,618,780,991,1044,950,860,648,434,436,477,522,740,779,528,460,623,1048,1244,1742,1652,1152,1136,1242,1032,728,659,538,455,467,449,365,346,652,1042,652,429,407,390,423,421,516,396,372,433,398,568,995,1498,1460,1290,1230,877,453,392,320,336,409,333,272,305,262,244,318,399,639,1104,1310,1256,810,402,435,437,404,432,438,483,502,439,618,932,799,775,772,660,743,775,590,945,1534,1288,929,791,995,1152,1142,1284,1114,621,575,908,1360,1360,1006,1400,1692,1006,636,1062,1218,1056,711,900,680,523,572,673,835,871,786,1060,1128,673,312,329,320,240,283,291,326,376,410,425,421,400,369,386,408,386,343,341,356,393,424,668,1332,1396,701,484,484,437,441,722,772,607,603,520,491,474,468,596,674,618,754,729,406,293,293,352,297,415,361,300,384,405,362,325,281,264,274,385,433,586,665,805,957,968,1070,949,915,1120,775,419,437,594,738,529,533,622,947,1124,938,805,901,1104,1348,1334,1306,1260,1238,1056,920,1190,1028,1122,1216,1186,946,841,631,483,509,694,1328,1470,1344,1494,1490,1456,995,1826,1410,1086,829,489,640,740,667,645,674,879,1356,1304,1110,1202,1154,1000,1102,805,408,488,819,1280,1644,1394,600,489,648,651,598,403,331,328,345,393,439,472,469,424,570,622,777,1056,803,677,858,1312,1394,1134,1182,1166,1052,1034,1194,1246,1060,1013,882,653,675,965,1100,459,446,440,402,451,452,457,402,329,351,466,655,832,709,604,378,384,435,670,587,532,432,381,338,325,492,490,323,260,305,450,620,761,619,573,937,986,685,365,404,592,601,515,496,419,312,236,289,405,494,542,446,328,421,455,316,483,871,825,505,393,339,266,313,780,1350,1384,1242,1182,1300,1482,1274,1132,1180,1166,854,973,1192,1276,948,660,609,574,485,568,866,880,562,536,942,1162,1186,1030,903,1130,1400,1266,840,611,541,567,1154,1998,1998,1708,864,691,1126,981,1062,1638,1936,1890,1842,1954,2002,2056,1930,1836,1922,1694,1272,1188,1324,1302,1392,2400,2762,1114,1340,1332,1204,1342,1260,1142,1162,1394,1758,1920,1968,2200,2106,1504,840,720,736,787,785,783,1028,806,684,1228,1526,1534,1438,1282,1134,1036,626,705,830,796,889,1202,1444,1316,930,670,598,658,706,673,686,792,1390,1842,1802,1556,1652,1884,1858,1350,935,998,1366,1578,1496,1778,1744,1432,1428,1542,1446,1352,1486,1560,1478,1384,1392,1490,1642,1306,1314,1284,1444,1476,1466,1394,1406,1256,1202,1274,1118,1238,1350,1376,1296,1314,1188,1340,1290,1352,1508,1444,1232,1112,1332,1410,1318,1292,1306,1438,1212,1094,1372,1356,1194,1200,1268,1350,1534,1778,1442,1626,1504,1790,1282,792,607,728,722,783,1015,1000,1164,1220,1158,1410,1064,1002,684,817,1230,929,817,1240,1386,1488,1790,1316,1166,1094,971,1104,1236,1204,1030,954,971,1226,1638,1522,1440,1232,1322,1406,1260,1202,1124,1019,1284,1366,1168,1266,1562,1484,1354,1194,1112,1260,1374,1260,1344,1666,1750,1450,1086,1074,1088,1476,1624,1204,1324,1448,1015,767,997,1098,769,1308,2008,1842,1500,1890,1760,1704,1944,2222,1392,885,861,874,1364,1158,522,733,943,611,314,426,752,779,458,339,586,531,577,1013,1122,886,857,666,861,612,447,403,739,1220,1528,1460,1398,1478,1318,1472,2264,2570,2176,1454,1462,777,1122,1492,1532,1508,884,437,591,471,356,430,408,538,625,554,578,814,1288,1544,1312,942,760,799,749,672,684,519,457,551,550,590,529,316,319,272,475,664,444,581,902,639,405,492,1128,1250,916,707,827,749,388,309,309,322,328,311,304,311,334,336,265,299,460,608,756,932,778,595,844,505,508,670,691,604,409,333,350,330,322,285,342,297,227,245,276,296,526,454,549,730,474,285,354,374,269,391,511,393,338,314,259,252,231,233,432,595,574,592,578,463,356,303,264,444,532,444,362,354,320,296,259,258,271,252,253,263,412,519,506,518,520,468,527,606,607,584,601,596,449,307,295,266,241,392,477,475,408,291,278,274,400,751,876,966,1238,1064,986,1166,995,703,961,1892,2054,1502,1598,1384,920,903,1214,927,875,1092,1354,1440,1322,1044,1240,1230,977,561,808,1322,1272,725,469,474,500,860,1100,924,970,891,895,733,459,379,421,618,807,835,1128,1390,1452,1166,773,658,1254,1730,1284,554,521,521,492,512,946,1202,1015,932,1132,1386,1824,1684,1272,1164,1054,1254,1668,1736,1444,1200,1276,1412,1624,1452,1312,1062,722,764,882,659,451,422,628,840,858,791,666,658,710,577,624,596,508,536,661,773,852,641,538,590,608,713,957,1196,1040,830,823,966,1052,1182,907,555,514,628,648,780,612,588,624,822,1064,1208,1474,1288,794,728,856,746,659,727,1005,1202,877,1134,1350,1366,1422,1556,1626,1506,1542,1730,1642,1494,1454,1356,1478,1312,1024,652,471,506,536,752,1038,1256,916,709,876,1026,1128,1188,1306,1284,1200,1064,1162,1394,1344,1076,835,968,984,678,616,912,869,1040,1136,1150,1058,687,524,516,828,1040,1032,1148,1152,1204,1290,1190,1118,1306,1102,659,565,753,990,961,789,593,1022,790,461,373,410,389,309,517,792,1092,1290,1138,1272,1464,1544,1122,1078,828,804,877,1034,1268,1192,1316,774,340,373,344,311,325,570,634,607,570,436,355,454,660,960,1162,1444,1124,948,1384,1560,1246,1102,1242,1318,1044,852,1044,1300,867,1092,1058,1374,1246,1116,1088,1178,1300,1322,905,517,819,1126,1144,612,587,973,1216,1382,1408,1098,669,539,786,840,835,753,827,1334,1196,1126,1260,1072,1054,1050,969,949,951,1014,1334,1408,1240,1444,1168,1266,1358,1316,1318,1368,1246,1372,1432,1214,1138,1132,1258,1356,1980,1664,1346,1122,1262,1284,1110,1062,1534,1642,1370,1194,914,1178,1126,1154,1418,1304,1300,1252,1284,1402,1426,1312,1360,1406,1444,1510,1428,1176,845,926,1286,1844,1842,1522,1058,744,479,497,836,971,1226,1426,1026,619,442,426,630,933,1242,1340,1360,1262,1116,910,830,926,1274,1318,1180,1074,1306,1606,1362,1074,1260,1248,796,838,1184,1122,976,1036,908,681,501,738,811,546,767,1276,1244,1454,1084,918,870,934,1038,910,1054,1190,1160,1130,1232,1016,804,929,1052,560,1004,1005,908,1208,1412,1044,628,611,489,337,315,332,673,1004,1130,1226,943,689,655,870,1456,1208,688,691,896,683,586,683,521,568,692,555,642,816,604,352,287,321,618,1086,1242,860,637,610,873,1528,2316,2322,1156,669,936,701,391,298,291,311,359,362,472,701,548,491,661,1206,1648,845,416,324,302,290,263,270,225,601,916,521,480,800,824,528,1370,1232,905,730,886,1236,1046,749,598,435,614,1218,1348,1024,1010,709,859,748,966,1510,1404,1220,1110,1122,1318,828,656,755,1154,743,1004,902,482,727,857,785,462,383,615,908,1096,860,1080,1324,1136,650,740,1064,1212,1216,1330,1366,1134,979,1166,1280,1416,1426,1302,1272,1320,1330,1234,1188,1346,1042,653,683,750,791,844,665,525,938,1254,800,572,550,429,539,971,966,667,729,805,637,683,846,825,1032,708,572,639,836,1216,1382,1358,1486,1366,713,611,419,399,464,355,386,512,599,746,1005,1570,1612,727,472,414,400,539,547,484,647,995,1272,1318,1250,1408,1102,584,955,1876,1844,1478,1144,1222,1058,697,605,955,1564,1574,1386,1440,1398,1268,1218,1050,709,673,872,799,877,952,663,417,359,554,1208,1368,939,738,1162,1262,1296,1256,889,1014,1394,1280,1196,696,469,419,398,871,1242,1328,1156,1044,1054,959,838,990,1196,1362,908,518,450,440,626,933,1082,987,598,455,543,777,825,986,1250,1136,1406,1582,1698,1682,1388,1086,1030,1052,871,852,971,988,865,766,628,1042,1166,734,513,511,404,337,377,573,572,500,514,563,470,474,570,490,344,339,328,343,388,377,355,363,476,533,610,1094,1484,1144,816,895,1178,916,664,410,574,917,1044,773,755,956,937,891],[295,235,273,303,346,343,855,1910,1844,1128,921,882,645,886,1096,753,1138,1018,742,778,560,458,532,495,500,501,603,697,801,727,730,850,743,554,560,540,421,425,499,635,499,1048,1516,1368,1134,765,363,393,729,605,533,871,733,709,763,993,741,943,1294,1278,1156,1282,1230,980,843,597,415,382,685,736,449,331,325,325,984,1140,689,686,617,449,425,370,400,349,349,374,380,372,428,480,445,375,332,329,332,315,306,301,397,456,423,393,347,348,395,385,372,368,379,407,871,666,443,430,563,587,549,572,602,590,639,606,415,358,404,424,461,525,513,407,719,883,681,771,932,976,1050,952,1094,1238,1028,1122,1300,1050,786,626,474,421,393,546,920,729,443,388,658,1198,1610,2000,1764,1040,791,1050,1118,835,475,380,412,629,554,401,399,912,1168,876,625,561,603,591,491,575,624,717,839,1028,931,656,1026,1570,1390,1106,988,527,434,378,373,407,472,375,343,291,225,331,435,576,839,974,1030,566,403,403,413,387,442,408,413,462,473,745,1096,747,780,800,722,648,611,502,800,1464,1434,665,764,1396,1450,1232,1182,1060,942,1140,1418,1414,1250,1224,1214,991,785,702,993,841,1054,1210,998,770,789,1266,1126,907,1017,887,1300,1346,656,308,305,298,315,320,296,333,364,372,408,396,347,327,350,356,360,473,492,458,465,358,692,1378,1088,718,753,674,815,998,1062,570,433,416,529,560,550,502,466,538,625,780,916,622,309,286,393,419,331,256,238,350,439,390,296,248,293,373,372,357,576,691,1228,1014,655,611,790,1398,1360,612,409,413,502,548,492,612,631,625,761,894,1188,1242,1208,1340,1400,1640,1404,1256,1252,1158,1284,1154,1244,1340,1162,738,731,551,430,470,695,1078,1014,1438,1302,1072,902,756,1086,831,506,430,535,726,681,619,644,636,802,1134,1104,1068,1174,949,840,1003,960,531,400,821,1460,1764,1644,1144,818,678,800,667,371,393,383,361,351,371,412,420,437,872,1132,860,847,802,863,1001,1110,1268,1290,1284,1182,1230,1232,1264,1004,1036,1054,713,788,1076,1198,1032,643,498,469,463,437,451,448,363,276,290,545,1066,1062,666,616,436,445,651,739,717,591,505,451,403,490,569,398,229,236,292,612,688,680,536,925,2314,2878,1526,423,478,644,653,561,495,475,325,269,419,462,395,444,407,354,454,435,386,502,473,811,848,523,437,392,373,706,1172,1216,1242,1282,1126,983,1262,927,1020,1246,1242,1190,922,940,1266,1122,728,501,498,822,1050,715,572,539,862,1018,965,911,1034,1180,1324,946,673,650,540,591,1456,1952,1518,859,504,402,686,1006,1374,1766,2032,1994,1864,1838,1860,1904,1888,1824,1876,1882,1598,1264,1230,1396,1472,1754,1974,1196,1174,1274,1458,1566,1238,928,1120,1410,1804,2094,2140,2232,2310,1850,995,704,708,744,817,748,902,1098,1318,1632,1616,1348,1108,927,647,698,950,1122,1204,1426,1638,1500,1090,694,521,478,504,667,793,694,740,903,1282,1682,1796,1782,1950,1962,1710,1260,963,722,984,1372,1730,1830,1564,1460,1422,1394,1378,1362,1324,1448,1366,1406,1424,1458,1476,1372,1390,1380,1254,1316,1422,1520,1572,1350,1550,1596,1168,1182,1218,1260,1198,1108,1250,1358,1450,1604,1400,1466,1412,1150,1106,1246,1284,1358,1444,1282,1096,1352,1372,1021,1220,1208,1228,1300,1644,1920,1392,1274,1710,2082,1470,1011,789,881,731,632,722,940,1222,1158,1138,1238,1042,705,521,900,1194,901,910,1234,1406,1704,1980,1298,1198,1048,1150,1144,901,935,1014,1174,1258,1009,1180,921,995,967,1144,1246,1130,886,840,1004,1120,1356,1290,1470,1486,1514,968,809,1248,1498,1304,1506,1830,1674,1416,1156,1046,889,1198,1052,1144,1106,1792,1922,1722,1436,1230,973,713,1094,1694,2072,1134,1614,2060,1954,2110,2452,1810,1066,917,995,1188,749,356,722,1432,981,460,402,576,616,521,400,517,618,536,719,741,830,1222,639,441,458,430,389,563,832,855,879,1072,1096,1030,1324,2140,1884,1116,780,1238,975,956,1330,1250,930,688,582,620,541,350,367,367,1007,1238,924,650,684,819,1040,1050,794,659,516,415,436,469,422,454,427,631,988,869,458,301,305,314,392,403,615,861,521,302,520,609,650,883,933,727,667,469,505,975,854,424,283,420,460,320,291,392,871,1232,1274,1232,1176,948,819,976,573,296,415,459,391,384,550,584,434,346,269,255,314,384,339,312,304,399,393,428,446,313,230,351,374,332,503,440,285,356,326,238,268,247,226,326,533,581,584,618,609,494,314,296,419,520,503,467,422,338,329,239,250,231,230,285,300,403,513,557,596,563,484,534,583,566,571,546,566,395,295,293,231,238,401,517,507,449,355,285,275,305,597,822,766,1126,1108,976,1040,1012,827,833,1702,1822,1018,836,1256,1484,1532,1422,912,568,825,1432,1720,1322,1248,1312,988,930,978,1180,1310,1050,679,489,456,358,548,964,743,886,777,979,768,594,560,645,658,698,849,963,882,971,745,632,500,921,1572,1694,1232,996,835,749,716,783,1100,959,934,1280,1136,1048,1134,1986,2126,1580,1272,1368,1460,1282,1230,1300,1438,1640,1512,1324,823,829,593,480,448,396,555,764,834,805,623,492,553,531,492,537,555,521,521,689,769,640,539,427,464,778,949,1028,975,751,822,918,981,1222,1118,656,566,714,584,491,775,892,1012,1030,985,951,882,877,870,714,684,979,1184,882,691,1058,801,561,684,1044,1396,1504,1464,1578,1672,1632,1622,1584,1640,1582,1666,1766,1356,996,709,599,569,441,536,973,1302,996,898,911,936,1038,1076,1130,1154,1080,1068,1318,1394,1058,1110,960,963,1178,1238,1012,1036,916,926,829,874,1136,1206,999,892,1144,1318,1188,1052,1104,937,960,1146,1236,1202,1106,890,549,686,694,487,588,510,881,1062,656,403,471,360,386,438,763,1616,1636,732,660,1288,1494,1132,1015,804,700,841,1084,1242,927,1042,610,437,527,511,353,349,625,656,534,550,508,451,444,620,1356,1482,1604,1542,1490,1484,1678,1736,1356,1214,1424,1322,1242,1406,1400,867,1076,1070,1238,1178,980,913,1194,1364,1332,836,426,586,880,1100,756,437,720,1082,1228,1180,972,626,705,975,929,937,687,502,985,1134,1144,1318,1454,1416,1244,1238,1298,1102,1116,1426,1408,1276,1460,1416,1224,992,1144,1232,1130,1168,1410,1466,1174,1236,1252,1042,1196,1296,1102,1068,1116,1222,1246,1154,1248,1360,1186,1350,1412,1384,1524,1432,1380,1496,1358,1246,1350,1282,1228,1318,1340,1518,1448,1202,1202,1438,1060,597,578,1282,1990,1994,1642,1492,1322,839,852,900,950,1112,1146,1376,1192,576,433,411,485,694,1110,1304,1028,830,714,739,812,1116,1114,856,753,887,1242,1184,883,1042,1052,855,1572,1730,1252,1056,989,1110,1050,950,1026,866,842,1190,1306,1158,1414,1246,901,761,844,888,971,1212,1354,1448,1290,1132,1016,1180,1005,469,403,775,1042,1092,1092,1428,1560,1246,529,358,344,287,280,336,484,694,1080,943,534,408,618,832,404,439,823,994,1048,875,883,743,833,1032,774,543,677,648,465,399,682,1534,1672,1542,1194,802,678,935,1182,1542,1896,1452,855,760,915,623,336,281,301,303,333,645,999,615,597,733,1268,1656,1104,576,329,294,304,284,266,260,463,877,664,699,1082,979,449,534,1238,1786,1404,844,1002,1046,807,932,959,845,817,693,1036,886,718,613,395,697,1500,1692,1094,1009,896,1072,974,716,489,489,714,1130,884,616,691,900,915,513,378,583,614,972,982,1300,1656,1176,568,615,852,913,774,969,1128,1016,926,1424,1742,1714,1362,1296,1374,1180,1262,1256,1306,1340,1050,825,844,936,1096,1372,1016,626,717,828,557,351,306,314,608,1080,1056,805,548,704,654,775,872,1040,1146,846,781,1220,1386,1238,1212,1652,1578,1402,750,530,508,502,498,443,471,561,725,926,910,1116,1064,597,454,379,440,507,525,740,1064,1272,1122,1023,1190,1440,949,486,583,1424,1670,1598,1482,1294,897,564,382,538,1084,1498,1382,1248,1694,1106,669,833,1038,1356,1442,1112,854,692,524,615,546,626,1022,1186,906,792,1224,1288,1152,1200,953,1136,1476,1500,1268,921,655,444,503,885,1234,1290,1230,1396,1426,1248,995,1082,1368,1158,950,621,467,517,665,716,1026,997,562,707,1052,1328,1192,1252,1510,1566,1654,1738,1840,1756,1698,1552,1528,1384,898,1028,1126,1208,1174,877,700,1032,1190,789,493,519,408,354,401,461,401,434,560,580,483,406,563,633,425,371,316,352,420,385,363,365,419,509,587,1116,1426,971,633,565,631,600,609,848,1338,1392,1078,610,693,1214,1104,778],[309,249,292,356,383,596,1564,2432,1720,928,1012,849,802,1256,1068,1170,1160,573,493,522,656,891,827,759,732,703,649,613,594,630,812,805,612,547,649,480,525,649,579,511,430,1005,1512,1330,940,528,255,412,882,646,447,869,908,780,827,780,523,649,1120,1410,1344,1144,1001,1166,842,578,466,561,786,773,573,427,366,392,890,1400,1332,1356,896,658,448,512,511,381,361,314,310,355,491,651,528,379,321,331,367,383,393,538,640,631,648,514,360,347,365,358,403,423,403,415,538,514,554,483,497,525,506,554,565,563,648,577,437,442,417,424,489,547,527,512,549,489,604,849,1078,1052,1124,1030,1088,954,830,1080,1250,995,630,483,538,530,529,669,772,577,488,643,750,1120,1510,1490,1156,706,549,501,457,568,417,334,328,541,532,442,535,736,948,943,994,948,897,808,602,694,983,1444,1584,1564,1142,608,1228,2042,1628,866,788,662,485,447,437,400,467,387,268,277,246,308,397,495,554,519,550,491,490,472,468,461,464,493,480,446,424,572,810,614,788,1174,1078,860,885,902,1066,1462,1670,1404,1404,1170,985,1046,1220,1368,1710,1830,1496,1432,1700,1316,973,1664,1372,752,834,719,842,1208,1090,778,783,1320,1242,1064,1110,915,996,987,493,351,427,320,276,270,253,304,368,383,395,373,345,324,285,336,605,1060,1042,1066,904,424,417,592,806,802,741,871,1388,1266,858,457,406,430,464,537,646,572,448,489,634,813,858,873,468,297,404,425,258,235,263,320,413,431,333,354,503,456,458,488,591,763,907,703,653,595,1178,1912,1152,575,565,536,565,491,534,642,593,526,575,658,957,1298,1394,1312,1388,1670,1438,1194,1208,1190,1328,1604,1364,1154,926,504,478,468,441,472,664,1028,1122,1250,962,515,376,445,517,532,431,405,567,697,633,581,636,622,892,1178,1128,1060,1036,1068,948,901,1026,716,537,943,1440,1434,1496,1502,1122,836,985,874,386,371,375,349,327,365,440,441,615,891,894,930,1172,1114,1268,866,806,1222,1206,1230,1380,1394,1366,1118,1182,1604,1300,981,1106,1262,1196,1430,1714,1100,786,603,530,516,449,381,312,369,684,1152,1170,893,918,843,821,1080,1280,962,499,420,513,580,680,743,550,340,332,327,653,765,664,516,1414,4002,4920,2236,775,631,505,480,496,467,498,419,401,487,407,314,400,454,415,493,468,529,449,404,1009,1194,848,577,478,400,684,1252,1302,1316,1286,1462,1158,1310,1140,1142,1240,1426,1278,999,1130,1448,1310,940,430,558,915,980,774,760,576,453,709,819,641,608,781,830,539,695,665,573,551,1076,1278,816,535,509,484,519,734,1176,1584,1914,2032,1970,1812,1768,1798,1860,1876,1850,1876,1788,1368,1346,1318,1302,1282,1218,1132,1032,1208,1472,1522,1324,1208,1260,1366,1770,1998,2142,2182,2324,1992,1178,805,769,723,669,628,960,1388,1310,1017,801,645,709,809,985,1272,1516,1572,1498,1404,1162,853,545,404,451,604,807,1274,1242,726,670,1040,1316,1572,1928,1886,1874,1898,1660,1290,1156,1148,1230,1418,1854,1578,1404,1960,1760,1416,1372,1376,1502,1378,1284,1378,1318,1292,1288,1260,1438,1512,1256,1516,1368,1288,1298,1344,1692,1516,1330,1302,1164,1226,1288,1200,1340,1396,1556,1634,1404,1592,1516,1262,1164,1186,1282,1380,1416,1300,1294,1426,1240,1021,1284,1334,1332,1332,1616,1644,1384,1284,2078,2270,1472,1108,910,866,737,510,632,957,974,1032,1100,1056,1007,782,705,1009,1216,1020,1022,1224,1276,1332,1418,1294,1322,1009,901,979,1004,1074,1238,1312,1598,1350,1086,800,751,1100,1280,1130,897,890,1272,1144,1066,1360,1400,1592,1296,1302,892,1302,1700,1514,1174,1304,1588,1624,1378,984,818,1196,1918,1402,1064,1234,1804,1986,1852,1676,1468,1206,1124,919,1216,1978,1758,1974,1860,1716,1888,2056,1842,1516,1310,1418,1322,671,428,966,1412,1076,512,340,408,447,536,435,384,594,562,524,526,728,910,538,352,402,491,506,403,327,294,434,502,458,545,555,865,733,472,426,717,656,501,778,1036,993,947,691,459,409,319,464,638,781,888,804,539,818,960,1148,1126,790,637,570,340,280,315,370,404,408,404,545,725,645,271,343,433,452,386,436,664,650,433,368,311,297,452,818,932,645,611,562,975,892,493,230,647,909,476,282,448,1138,1606,1524,1312,1060,838,739,928,688,323,398,499,392,325,480,458,367,430,354,296,808,920,608,319,303,303,291,221,214,220,256,318,412,363,634,606,346,422,459,324,306,236,279,343,419,523,594,774,854,622,411,419,501,598,678,612,470,343,265,205,214,196,214,294,320,352,513,637,621,561,491,407,435,525,564,562,584,572,511,373,263,309,383,501,515,444,382,294,261,268,363,650,798,982,1158,999,828,1052,876,678,778,715,556,388,966,1370,1476,1386,944,644,451,852,1290,1230,1226,954,822,1298,1228,1222,1302,1252,1094,591,435,320,491,708,586,656,985,1158,1036,1008,1116,1044,867,716,572,599,551,496,512,624,609,800,1012,1308,1368,1170,1162,1148,889,457,767,790,1088,1144,1068,1036,1344,2388,2880,2470,1724,1516,1454,1090,831,1007,1356,1484,1412,986,706,681,513,490,455,492,738,829,783,689,593,450,469,505,539,530,460,474,620,652,580,525,395,455,744,963,1142,926,737,755,805,980,1166,973,675,594,736,608,464,452,933,1576,1654,1384,1180,1074,1000,1000,892,747,674,1038,1346,998,904,1344,969,471,422,590,997,1376,1522,1622,1734,1844,1770,1716,1832,1768,1926,1880,1322,834,570,621,556,455,495,838,1318,1368,989,902,938,1076,1224,1328,1328,1216,1154,1124,1076,1260,1316,1134,931,1146,1212,1024,1062,1052,897,717,741,885,1172,1140,1158,1174,1200,988,1023,1074,935,955,1168,1276,1250,1152,1086,691,552,563,933,1122,787,773,1144,1058,481,475,541,543,487,767,1330,1358,652,608,1240,1438,1318,1162,705,413,515,799,845,962,915,888,881,819,763,529,467,568,469,422,474,482,404,367,745,1058,1244,1468,1422,1192,884,888,767,705,927,1314,1312,1184,1134,1132,996,941,955,1009,1228,1366,1282,1110,1102,879,453,373,550,723,780,794,683,788,1150,1040,1005,1070,960,1034,1234,1246,1188,1046,732,866,1172,1242,1072,954,924,941,1114,1314,1092,1066,1138,1086,968,1066,1384,1170,846,1023,1116,1122,1184,1190,946,919,1218,1316,1108,1262,1198,1198,1382,1416,1310,1012,929,1222,1268,1324,1398,1410,1498,1448,1430,1596,1780,1780,1644,1556,1334,1394,1412,1598,1562,1328,1046,1322,1544,1228,990,916,1320,2000,2342,1222,1248,1428,969,954,1040,1312,1360,1352,1480,892,437,472,420,396,814,1292,1092,738,536,560,547,459,586,807,1096,915,745,1138,1390,1268,1216,1134,1192,1406,1292,1206,1052,1020,1050,1024,1256,1136,897,1023,969,998,968,1260,1528,1236,741,640,877,1194,1266,1232,1334,871,636,665,750,535,468,612,751,978,1074,1238,1528,1566,1418,836,472,312,288,353,430,496,673,1114,1076,650,723,554,612,639,628,763,1198,1310,896,715,758,861,515,513,428,497,385,450,444,626,1534,1892,1336,1056,1044,696,698,927,1292,1754,1508,1166,1076,1372,1164,586,289,301,279,262,367,921,1076,646,610,919,1052,1080,844,499,350,288,294,284,293,355,826,900,975,832,559,367,675,1250,1480,1094,694,701,727,565,1132,1606,966,445,401,503,433,689,639,384,370,587,996,1404,1428,1064,946,882,890,885,771,1012,1178,1072,969,969,904,1056,768,391,357,564,681,905,1186,1100,888,1158,1278,991,841,951,1150,929,886,1314,1854,1620,1306,1118,1284,1218,979,913,709,736,724,987,938,1124,1001,1108,1346,1174,797,495,470,512,534,485,536,601,1124,1430,1208,752,871,1114,1048,824,930,1032,1040,1538,1748,1386,1142,1764,1910,962,777,730,622,544,484,426,437,472,458,536,822,1098,1196,907,537,588,651,614,664,1001,1268,1318,1356,1324,1432,1340,1358,1182,680,614,1080,1448,1392,1108,868,806,675,516,522,677,1086,1158,1340,1450,1002,593,673,1090,1396,1136,764,974,769,833,1288,1030,626,702,955,990,1076,1256,1048,802,768,1005,1436,1648,1752,1418,1448,1172,979,1034,916,1070,1066,1330,1510,1450,1094,1222,1116,1526,1584,1202,742,476,611,643,487,561,456,600,1076,1324,1134,1268,1416,1478,1714,2010,2324,2166,1630,1290,1013,1024,1186,1354,1438,1394,1400,1302,942,567,677,840,601,519,551,598,467,412,384,368,406,383,374,400,368,450,629,519,385,323,365,421,400,422,486,518,742,714,858,1398,1186,1208,789,612,875,818,930,1202,1048,718,460,483,697,377,444],[279,285,299,304,393,868,1316,1316,788,520,756,760,1017,1136,998,1260,1462,974,623,607,778,773,1038,1188,1172,932,597,429,365,430,709,907,544,529,744,601,739,987,803,608,590,996,1478,1488,1010,374,232,297,586,545,608,1092,854,485,432,443,432,605,885,1080,1044,1270,1316,912,805,1070,919,1080,1216,868,471,411,339,385,689,1342,1584,1648,1300,882,569,689,539,459,521,376,324,303,389,576,511,343,288,279,394,479,460,491,532,637,669,427,314,324,459,452,465,448,441,459,410,511,522,434,515,520,551,568,546,560,655,506,426,514,459,381,450,478,432,506,598,536,683,613,763,1082,1108,894,844,789,810,902,751,631,775,901,606,429,391,406,413,343,440,472,420,767,976,926,771,508,422,350,366,396,335,328,295,357,397,479,618,589,552,568,794,842,946,981,866,789,1146,1836,1914,1694,1058,521,905,1322,1005,619,599,593,504,447,468,402,351,355,292,287,303,322,297,305,480,798,1060,860,462,419,406,378,348,403,426,446,426,613,660,803,1456,1758,1240,1100,1710,1956,1962,1700,1648,1562,1340,1194,1238,1070,984,1072,1432,1834,1294,1472,1534,882,1454,2024,908,637,798,664,470,735,1172,987,777,1062,1052,1134,1178,935,1130,864,419,405,425,357,320,273,274,296,345,422,439,458,399,344,366,573,852,1026,1240,1434,1148,612,406,510,979,1194,933,1168,1332,921,560,411,426,580,655,770,788,717,668,603,674,684,659,783,680,489,379,285,206,233,275,304,393,421,444,659,949,1344,1224,739,719,947,777,673,790,703,1516,1448,770,710,617,650,609,502,601,680,666,586,540,592,800,846,962,1190,1432,1592,1312,1144,1196,1170,1160,1338,1330,1206,843,514,479,451,411,438,672,1024,1002,948,726,507,416,387,352,453,531,524,663,618,518,505,686,909,1084,1120,1106,1058,1072,1116,894,971,1110,940,945,1156,1068,899,769,609,445,479,614,545,360,337,343,360,321,321,393,391,476,681,670,694,1050,1222,1166,788,870,1070,1252,1286,1392,1486,1420,1078,1252,1648,1334,1474,1926,1480,1122,1310,1144,1062,969,747,768,667,459,503,371,327,377,654,807,830,1098,1140,916,935,1122,832,525,445,617,653,691,965,778,491,377,437,546,704,863,618,880,2168,2558,1166,861,794,458,466,515,434,412,474,545,462,358,406,514,469,492,455,680,792,522,604,1222,1288,896,799,761,447,483,924,1001,1318,1200,1388,1502,1484,1160,987,1130,1102,1046,976,823,873,1222,776,677,1420,1420,1144,959,922,760,833,863,843,623,549,491,480,492,617,569,517,526,554,487,473,517,521,567,574,606,830,1368,1846,2000,2046,1938,1792,1762,1828,1914,1870,1804,1618,1158,1384,1430,1726,1552,1384,1262,1152,1284,1346,1270,1324,1282,1170,1392,1746,2070,2206,2100,2224,2112,1362,733,613,562,685,1116,1398,1172,833,938,946,662,714,1082,1410,1632,1704,1600,1404,987,569,405,387,420,591,802,971,1212,1128,877,816,971,1238,1422,1870,1724,1832,1836,1488,1314,1262,1414,1544,1736,1686,1198,1760,2786,1938,1356,1270,1362,1678,1548,1320,1340,1444,1432,1396,1306,1356,1570,1442,1492,1080,1108,1282,1350,1320,1300,1414,1292,1234,1570,1764,1494,1616,1546,1302,1378,1368,1470,1410,1354,1344,1250,1354,1562,1436,1266,1460,1372,1378,1240,1168,1250,1290,1290,1410,1378,1382,1462,1550,1484,1426,1322,968,977,933,623,656,760,820,1092,1212,1286,1176,971,1110,1194,1210,1346,1274,1316,1238,1278,1188,1278,1620,1332,1104,969,883,1084,1130,1030,1062,1050,1146,1005,1108,1268,1076,1016,883,992,1116,1116,982,1376,1298,1420,1338,805,780,1278,1562,1434,1226,1310,1342,1338,1192,811,889,1408,1838,1346,602,847,1456,1304,1154,1182,1474,1320,1362,705,855,1590,1796,1644,1592,1660,1722,1736,1650,1566,1468,1404,1358,984,434,518,774,741,444,355,360,347,521,631,412,644,713,568,630,648,483,444,417,382,424,448,546,638,458,554,622,616,542,397,405,357,311,335,421,453,523,732,672,648,700,453,295,506,712,734,959,1166,909,549,557,826,698,678,703,549,401,323,287,269,408,533,376,372,289,290,430,562,489,538,549,462,385,326,349,368,455,295,305,349,368,516,888,1015,822,559,455,540,554,518,820,1018,589,356,388,845,1652,1800,1526,1294,951,533,618,745,378,334,390,328,271,307,345,459,659,564,409,596,1036,1020,345,259,239,251,261,313,329,380,325,325,324,532,604,350,461,792,468,320,212,241,292,302,471,594,688,719,614,460,310,351,550,890,1005,622,378,250,203,206,195,201,220,209,300,477,609,585,521,508,372,287,424,527,536,550,568,585,470,278,276,279,394,506,472,435,374,276,263,256,510,800,777,948,916,651,974,968,775,467,439,449,415,747,1138,1256,1202,658,522,800,935,1013,1210,1064,796,1328,1626,1312,1288,1130,1344,1322,738,508,440,580,623,738,799,1054,1130,1072,1066,1082,1174,1410,1268,1038,1030,962,832,860,851,929,1007,1016,982,620,496,720,603,586,733,795,1058,1284,1196,1194,1192,1434,1604,1868,2828,2646,1610,1062,730,965,1502,1634,1472,1160,576,390,459,501,550,605,761,815,806,724,627,537,433,491,538,540,508,461,678,836,575,542,485,461,620,750,880,791,657,633,615,843,1300,1194,714,542,667,739,604,559,692,1394,1808,1564,1316,1178,1106,1224,1256,1064,944,820,1038,1262,924,1050,1340,860,580,553,441,504,824,1178,1340,1590,1808,1794,1770,1780,1754,1990,1736,1064,683,543,529,410,442,503,727,1204,1472,1202,930,877,972,1224,1272,1176,1314,1138,979,903,1250,1234,1036,868,993,1012,954,963,1082,1070,819,803,750,847,803,1066,1162,1184,1140,943,856,931,1138,1230,1100,1088,1338,1204,732,563,570,626,688,769,915,1062,1302,598,345,421,398,553,860,1144,841,455,656,1050,1332,1256,1156,717,415,443,499,556,782,1007,1332,1126,809,890,683,574,510,329,389,430,438,424,623,952,708,591,646,666,807,582,469,482,543,628,1106,1238,1150,881,719,779,830,719,969,1102,1208,1456,1144,1224,921,644,583,667,599,639,994,1068,1128,1440,1050,1194,1190,1202,989,807,1050,1104,1060,1066,1001,1012,1254,919,744,792,616,713,965,1006,1042,1140,1462,1282,688,929,1186,1216,1248,1260,1246,995,923,571,703,1142,1342,1334,1448,1466,1384,1322,1276,1160,973,1068,1314,1488,1490,1442,1450,1546,1538,1462,1570,1400,1382,1312,1498,1366,1506,1496,1468,1454,1438,1250,1384,1494,1304,1018,1040,1342,1410,1566,1096,1262,1444,1128,785,993,1340,1146,1192,996,435,377,519,369,402,822,1170,1011,682,487,538,683,783,1064,882,831,880,777,894,1032,1288,1400,1250,1284,1332,1300,1258,1190,1120,1332,1296,1020,1034,1258,882,604,766,861,1216,1360,1426,1062,690,894,1294,1344,1236,945,558,424,484,453,608,913,849,791,1128,1184,1368,1340,1202,1166,1036,688,299,334,456,951,1310,985,822,1158,995,1044,623,452,942,1224,1138,1230,802,576,678,1160,1420,833,675,762,944,796,816,1005,889,858,1224,867,886,1206,1032,733,1090,1802,1994,1606,1524,1476,1432,1428,877,342,297,307,297,298,501,663,488,465,533,749,1104,1190,895,499,308,312,294,260,298,741,1110,1040,751,535,373,489,931,1170,774,645,493,505,597,1612,1834,949,551,648,809,873,432,316,324,335,324,521,1268,1326,1140,1322,1236,1078,1022,1462,1338,1038,1314,1308,1394,1148,797,716,656,576,850,852,919,927,792,965,1274,1344,1356,1276,1272,1062,1015,1164,1382,1560,1420,1280,1354,1344,933,436,393,444,1054,1290,1042,781,969,950,1138,1422,1398,1158,860,935,1010,1134,789,868,897,1252,1450,1050,883,934,1078,1292,917,669,1050,1358,1412,1266,1358,875,1018,1344,1048,711,631,500,430,397,390,463,490,458,413,382,527,699,636,527,594,655,699,1017,1276,1202,1242,1266,1230,1160,805,1002,1298,1078,849,891,1136,1130,827,755,891,843,677,632,641,680,716,1130,1550,1172,538,634,1066,1110,812,610,852,863,1034,1316,1174,742,558,540,570,722,658,465,715,727,949,1404,1716,1774,1686,1584,1262,1116,1248,1172,1160,1064,1456,1098,565,520,1132,1252,1288,1604,1656,1030,546,559,621,562,405,528,798,1148,1020,969,1464,1454,1476,1754,1750,1968,1756,1005,877,962,649,730,641,859,1288,1366,1466,1302,988,928,591,517,524,728,995,646,435,437,427,417,385,383,391,361,368,522,468,334,339,392,494,516,495,452,721,1166,800,1056,1196,777,1214,957,689,708,661,702,971,792,353,374,444,544,524,527],[272,304,345,347,522,1276,1718,1416,849,664,653,974,1144,918,935,929,930,1212,993,658,775,591,518,708,808,664,487,423,387,408,696,1072,622,513,819,769,567,710,666,473,524,930,1300,1266,1098,417,291,328,655,624,728,965,721,425,423,469,429,542,728,691,495,885,1370,1282,1040,816,943,1294,1294,744,432,350,368,381,585,1236,1394,1338,1266,1194,1018,616,384,432,460,462,452,345,335,442,426,355,305,274,413,628,612,511,409,321,284,264,306,356,487,518,512,485,492,428,381,448,447,430,522,563,441,560,612,630,652,536,468,528,508,470,493,541,455,624,922,633,744,659,830,1252,1172,887,873,746,788,972,707,589,901,1202,698,593,608,505,426,332,306,327,408,588,727,963,791,502,401,361,310,315,329,336,342,344,397,472,516,552,518,601,740,872,860,808,836,877,1274,1606,1650,1534,758,435,486,568,522,441,391,493,497,419,383,346,366,357,383,388,393,399,354,335,612,1054,1324,1032,433,323,329,365,366,400,372,403,334,715,891,774,1158,1512,1194,1144,1710,1488,1374,1098,1146,1344,1406,1266,1120,850,568,512,1094,1870,1318,1378,1004,1019,1932,1252,479,453,540,440,490,978,1068,732,720,771,670,718,954,1116,1200,819,434,533,653,527,383,409,375,315,342,373,402,410,399,384,454,645,780,982,1236,1104,982,819,457,471,795,855,944,1010,796,623,468,403,415,514,516,739,971,812,672,693,610,477,517,459,471,594,471,257,215,203,210,256,337,352,487,1052,1354,1312,1026,757,745,907,869,1002,1168,957,1174,882,987,998,859,662,424,581,775,672,700,625,705,764,775,768,801,981,1220,1404,1556,1456,1244,1242,1418,1720,1522,1292,1144,1354,890,482,411,462,750,1032,1084,1021,981,938,724,710,947,853,879,977,993,696,403,588,916,1120,1198,1218,1214,1102,1158,1152,1166,1210,1162,1176,1174,868,671,575,481,466,495,447,495,451,368,350,355,379,399,385,361,397,457,508,507,530,655,548,530,792,841,661,1019,1384,1364,1454,1264,747,858,1190,1072,814,918,1044,1170,1248,1007,907,857,763,1018,922,606,548,415,390,350,379,395,474,808,1136,1110,1026,1170,696,683,636,660,645,681,863,648,459,389,420,450,529,839,687,550,715,1026,942,795,611,468,508,530,415,395,454,392,420,441,416,420,343,428,574,848,685,408,591,989,1038,1088,1346,1168,688,415,324,514,1050,1110,1252,1388,1176,1036,1128,1302,1090,1100,1020,873,626,714,431,501,1038,1626,1658,1414,971,852,1292,1004,832,547,466,499,518,574,661,585,556,579,447,430,435,483,544,582,605,531,587,957,1500,1902,2056,2044,1926,1742,1758,1852,1914,1952,1432,1376,1508,1292,1340,1426,1390,1392,1230,1198,1238,1288,1332,1288,1294,1542,1570,1652,1738,1738,1874,1842,1180,724,703,988,1326,1310,882,523,601,796,788,875,1194,1432,1586,1656,1432,1104,734,521,493,596,627,576,645,736,799,993,1198,1312,1236,1222,1610,1600,1896,1868,1936,1678,1476,1352,1338,1540,1664,1732,1372,998,1288,1220,1186,1274,1262,1328,1656,1670,1386,1438,1384,1378,1428,1338,1432,2064,1678,1222,1272,1426,1318,1244,1138,1258,1400,1354,1410,1584,1648,1446,1490,1422,1534,1460,1394,1612,1456,1346,1242,1230,1126,1136,1362,1270,1290,1316,1238,1158,1220,1204,1252,1324,1256,1312,1158,1214,1290,1384,1462,1448,1364,1362,1166,1018,940,882,1166,1492,1416,1632,1318,999,1302,1388,1396,1460,1490,1466,1260,1192,998,1092,1458,1476,1604,1238,915,803,911,874,796,991,1116,1222,1254,1018,878,944,1266,1328,1198,1096,869,1280,1620,1620,1208,886,1010,1120,1254,1400,1542,1376,1358,1076,963,1188,1256,1009,1038,991,602,885,1578,1186,800,894,1192,1348,1208,674,828,1284,1502,1512,1516,1392,1310,1236,911,968,875,705,926,927,551,268,401,513,390,340,369,349,462,540,365,592,748,560,578,616,449,410,372,441,491,567,905,912,669,608,576,509,447,372,352,383,282,271,369,560,772,1058,634,398,376,355,300,483,784,761,587,600,340,389,628,515,391,429,307,271,289,282,299,272,421,713,697,450,266,251,296,532,627,446,322,365,442,450,366,407,594,459,590,529,417,580,824,901,1058,1058,668,400,513,840,854,550,426,430,428,669,1370,1738,1434,1240,763,333,436,795,622,466,380,332,304,358,560,558,628,670,352,524,1294,1378,477,289,271,277,280,471,528,483,355,245,293,370,507,336,495,1204,1198,636,276,260,222,258,416,560,606,622,589,488,262,262,342,659,1222,881,455,355,284,241,214,211,203,174,246,288,411,546,558,528,487,339,290,376,495,535,539,561,427,199,181,255,416,515,493,485,406,275,241,245,367,600,435,580,659,611,699,932,949,745,565,402,392,572,921,994,766,482,739,1046,1144,1136,1188,1050,937,1200,1384,1230,1100,1136,1314,1344,1088,775,1017,978,807,807,985,1142,1228,1216,1252,1252,1304,1428,1286,1160,1114,1164,1160,1162,1168,1200,1242,1218,1032,750,752,1016,831,925,1004,991,1280,1326,1444,1396,1094,926,1028,1318,2344,2164,1322,738,698,1882,2324,1596,1260,997,485,377,480,576,619,719,807,774,686,534,466,451,474,568,600,631,590,584,614,644,648,459,439,634,800,818,640,625,717,531,539,839,920,582,562,593,527,517,621,676,965,1588,1770,1494,1344,1398,1376,1252,1064,869,958,879,880,894,762,1174,1288,750,947,1078,909,550,523,646,745,941,1294,1542,1656,1676,1746,1672,1232,852,624,472,478,599,756,624,457,752,1346,1260,868,905,982,1030,866,811,1188,1050,918,1086,1162,1188,1078,839,836,1023,1232,1160,1224,1366,1232,976,960,955,924,1086,1124,1244,1240,960,723,893,1158,1254,1146,982,1082,1224,924,675,637,502,589,650,1003,977,1354,785,422,413,509,538,905,1104,637,521,622,986,1374,1152,1104,719,471,483,531,553,472,618,788,706,647,1038,749,553,565,412,405,473,437,637,982,863,509,392,392,535,982,601,583,608,624,587,1086,1406,1170,885,758,1010,1074,886,902,1068,1268,1374,1128,1312,930,466,761,793,487,763,995,849,1017,1482,996,1052,1188,1342,1240,1072,1148,1013,971,1520,1384,777,1370,1424,1284,1024,745,830,915,855,820,694,1050,1440,995,870,1026,1046,1012,1124,1222,1058,963,853,998,1378,1700,1474,1144,1162,1184,1186,1130,1324,1868,1692,1302,1346,1166,1232,1564,1562,1688,1398,1256,1022,1186,1380,1532,1386,1372,1496,1478,1416,1406,1330,1252,1258,1196,1170,1362,1138,1064,1134,1246,1068,1108,1406,1132,747,893,764,488,359,271,347,408,338,600,1176,1348,1094,990,1036,1272,1190,1182,1448,1410,1362,1400,1064,1076,1198,1266,1306,1092,1096,1284,1312,1252,1238,1252,1426,1180,761,783,1210,1088,816,719,988,1162,1150,1490,1472,892,1148,1178,1102,902,792,753,503,499,416,755,1007,830,1168,1542,962,797,852,1130,1120,1082,976,380,371,763,1460,1340,1216,906,697,1174,1222,843,907,1534,1744,1418,930,546,551,966,1368,2248,1686,1052,946,981,858,876,1320,1186,577,581,682,1068,1200,785,601,1106,1684,1928,1880,1622,1334,1518,1256,728,365,308,307,298,311,314,346,416,495,612,712,951,1196,979,594,329,270,295,234,237,615,966,1082,1212,892,504,404,954,1492,1026,638,497,547,687,1110,1194,1066,1026,951,852,1056,500,410,384,328,328,733,1021,854,1178,1290,1058,1202,1578,1828,1676,1252,1182,1390,1288,864,597,985,1216,1152,1058,963,860,764,987,820,909,1062,1240,1246,986,638,925,1432,1340,845,912,1278,1308,948,515,655,878,655,1066,1354,1276,963,785,725,932,1188,1318,1196,896,1284,1394,1406,1266,1244,1202,1290,1404,1126,959,1074,910,1262,1412,1152,1384,1338,897,582,1104,1048,1048,1718,1628,932,636,475,415,423,437,509,521,538,514,402,364,407,497,551,498,547,822,1318,1404,1298,1190,1114,755,563,456,703,901,790,919,1005,1086,990,995,788,795,966,1094,998,796,607,513,750,1294,1140,551,507,897,1086,1056,821,983,1078,916,1184,1280,864,455,368,414,825,998,702,963,1382,1426,1516,1688,1614,1422,1352,1226,1062,1338,1436,1390,1320,1194,766,614,988,1442,1196,1168,1388,1482,1192,871,725,604,529,449,385,591,818,762,1204,1572,1454,1456,1606,1538,1480,1300,1007,1132,963,661,709,671,875,1100,903,773,1206,1616,1468,1336,1116,854,947,857,569,492,448,452,462,505,406,400,406,374,502,452,378,419,458,487,542,498,430,738,1070,781,968,1074,850,914,1106,1558,1676,1005,617,1094,1058,594,571,497,594,948,821],[268,331,467,445,826,1448,1724,1600,1422,1001,842,1162,1042,932,1032,832,448,698,913,843,907,649,412,367,345,397,452,419,356,370,392,630,534,423,545,624,499,415,456,419,527,888,1086,1018,894,418,293,323,388,479,700,634,413,327,372,432,454,410,379,394,335,720,1178,1282,1094,650,527,931,1084,552,504,345,461,539,647,1254,1416,1300,1158,1404,1874,1182,414,397,394,352,385,357,466,571,472,421,411,316,425,662,546,428,368,365,344,323,297,260,275,331,387,423,397,346,365,372,401,477,539,570,514,662,697,725,695,609,778,1048,1124,1140,995,739,593,597,599,618,805,835,874,996,992,875,792,896,730,720,715,532,500,620,741,940,888,619,333,296,335,357,351,525,769,755,476,394,434,407,336,339,339,395,450,390,515,483,413,426,327,354,517,557,610,724,736,811,1072,888,982,851,517,409,463,471,438,420,403,432,473,478,354,342,371,354,538,524,433,410,417,375,516,793,902,734,333,338,360,359,294,338,492,501,313,711,942,575,635,998,1194,1616,1648,1154,1018,717,943,1194,1340,1428,894,551,534,756,1354,1888,1664,1224,901,1830,1636,563,431,512,568,551,929,908,739,657,653,590,623,808,792,678,991,1156,920,772,933,832,667,656,482,337,339,386,375,386,424,399,433,818,1366,1064,982,666,709,830,505,569,792,807,1088,1056,1013,855,564,469,426,400,467,465,664,626,477,595,523,365,431,377,299,415,562,438,246,250,263,268,296,333,476,866,1036,963,945,758,888,1090,907,1046,965,1114,1012,719,726,924,854,464,318,519,786,552,655,733,869,960,914,913,951,875,710,893,1232,1244,1196,1534,1648,1580,1174,973,1276,1570,1216,735,552,542,752,933,763,631,778,1128,1100,1378,1606,1434,1360,1144,874,674,647,999,1046,1124,1118,1244,1490,1666,1390,1396,1584,1172,986,1248,1030,962,1026,857,970,887,780,607,583,532,401,371,373,371,407,392,323,316,395,402,397,723,1040,663,430,707,785,750,1144,1434,1466,1322,871,661,1104,1274,1270,1034,848,837,959,1088,1178,1362,1368,1462,1738,1238,1094,862,569,457,587,588,434,655,977,1160,1124,955,1182,1060,1070,1100,1028,971,1120,1015,903,1080,702,418,513,480,726,558,413,641,724,543,401,419,422,474,569,522,420,353,265,363,434,408,341,283,449,740,786,852,751,531,521,523,767,1192,977,627,385,283,372,555,788,1116,1062,940,1088,1140,1156,685,534,724,832,857,769,481,339,423,701,1266,1798,1852,1312,860,674,824,837,795,730,542,497,561,508,521,554,460,402,435,495,531,555,542,478,489,606,1030,1626,1904,2058,2002,1772,1754,1698,1504,1648,1850,2074,1928,1568,1606,1666,1352,1404,1290,1162,1270,1282,1342,1386,1570,1730,1506,1232,1134,1234,1226,1132,1007,1100,1170,1224,993,670,540,514,514,604,926,1362,1514,1376,1438,1280,898,580,442,634,1072,1274,914,603,634,686,828,1068,1192,1400,1498,1396,1512,1694,1908,1928,1890,1588,1328,1284,1448,1772,1892,1574,1490,1290,1358,1416,1504,1348,1186,1492,1996,2064,1670,1492,1358,1260,1346,1232,1302,1400,1306,1256,1312,1350,1394,1286,1208,1134,1324,1390,1302,1266,1372,1196,1254,1302,1358,1332,1594,1716,1476,1346,1196,1264,1106,1130,1184,1144,1132,1216,1178,1142,1220,1302,1460,1394,1270,1494,1560,1310,1262,1372,1338,1214,1108,1006,1250,1392,1172,1226,1404,1392,1202,1312,1402,1126,1104,1290,1332,1254,1368,1330,1142,1288,1104,1250,1174,1148,1162,888,981,1130,1274,1076,850,945,1190,1350,1178,1058,755,915,1320,1328,1206,1310,961,1146,1450,1060,1058,1450,1202,824,1098,1650,1460,1432,1120,562,576,815,1050,782,690,1020,1184,1182,1422,1538,852,851,1196,1426,1238,1056,1216,1346,1282,904,884,1006,1036,668,412,570,637,502,411,638,790,445,342,345,357,385,380,349,348,492,664,902,1090,808,434,497,568,643,960,1032,786,672,569,522,516,441,336,284,343,328,301,256,270,321,464,600,796,963,1102,926,462,429,460,383,503,681,566,361,385,614,640,479,790,850,563,498,413,308,287,288,315,397,558,514,367,309,393,773,811,507,260,327,401,355,366,708,711,718,857,1096,943,796,929,836,783,733,680,615,684,669,532,321,361,434,486,673,1618,1852,761,743,449,281,317,713,718,509,504,556,429,399,584,499,454,642,354,452,1224,1434,558,285,311,309,281,400,610,721,500,268,345,293,304,316,519,1050,1664,1068,334,279,210,230,307,445,591,622,578,512,331,287,266,401,763,694,509,458,388,282,211,215,223,207,223,205,203,428,573,564,541,501,408,327,421,502,552,540,490,322,253,303,415,502,498,481,431,286,216,251,272,390,361,598,694,641,612,737,840,991,914,474,374,438,549,699,678,816,990,844,1278,1726,1400,1021,1186,918,913,1176,1188,1352,1270,1428,1312,1274,1434,1180,776,771,1172,1306,1252,1168,1108,1086,1178,1208,1194,1190,1196,1162,1168,1228,1204,1222,1284,1282,1050,960,912,996,952,1160,1294,1830,1992,1450,1390,1286,1094,839,871,947,1368,1516,1112,647,1294,2562,2198,1188,819,594,500,499,602,634,726,827,784,681,557,449,425,434,535,591,587,577,697,645,636,632,580,566,880,1074,844,588,625,803,792,728,650,566,442,438,451,431,423,512,581,648,1082,1570,1656,1578,1504,1360,990,791,684,650,882,899,662,393,643,1296,1018,816,1196,1254,1216,797,561,516,557,569,739,1242,1606,1722,1386,773,782,966,719,601,860,1092,1050,953,725,748,1176,1096,1060,1066,1050,1162,1100,1116,1234,1248,1018,926,1086,1270,1146,861,1030,1072,1188,1260,1236,1130,1094,870,763,978,1180,1013,905,1280,1150,1246,907,775,736,816,896,923,975,1021,974,927,835,635,648,496,610,586,1062,830,437,688,966,697,561,576,655,1036,746,806,1294,1246,1156,797,565,532,513,462,404,451,497,805,766,996,688,555,583,426,369,378,443,804,887,686,440,487,483,617,1064,642,449,412,326,434,960,1422,1338,1178,1200,1152,1146,1184,1096,1222,1288,1294,1078,965,614,580,1009,781,455,733,574,527,828,1146,1172,1410,1312,1352,1528,1358,1150,1112,1046,1138,1138,1040,1478,1696,1524,1082,879,834,648,582,702,875,1007,1070,756,1046,1084,888,888,1040,1204,1302,1154,1056,1142,1468,1832,1764,1506,1566,1400,1346,1350,1702,2706,2118,1238,1238,951,868,1340,1318,1570,1486,1464,1356,1392,1430,1288,1376,1426,1420,1570,1542,1400,1462,1278,1256,1020,1001,1036,927,1134,1522,1418,919,919,1414,1350,874,471,334,302,422,437,487,446,505,1106,1504,1348,1244,1302,1140,1292,1368,1288,1460,1368,1522,1578,1334,1288,1152,1216,1314,1100,1190,1416,1260,1068,825,747,965,890,542,637,951,1074,949,518,688,944,1362,1356,1432,1224,1188,947,703,791,1130,894,673,822,636,621,631,886,1334,1026,580,554,791,1218,1262,1150,888,424,506,813,989,646,1010,1232,974,1084,1178,987,874,1310,1812,1494,988,587,574,735,685,893,1094,1188,832,564,513,543,756,661,537,532,686,1019,1030,727,626,695,882,1268,1692,1426,1196,1346,1504,1174,637,363,314,298,276,301,375,519,655,610,575,644,1016,973,589,306,269,283,285,290,472,642,702,1118,884,538,355,569,970,855,686,505,417,604,605,697,1186,1354,809,535,836,733,760,733,426,362,734,1038,841,650,818,752,841,1368,1638,2120,1450,1072,1438,1238,662,789,1402,1460,1188,944,1102,1042,708,864,1062,1328,1456,1394,1078,779,696,792,1318,1286,1106,951,1136,1472,1021,968,1406,1262,1208,1490,1366,1326,1306,1052,835,871,894,1096,1086,1078,1260,1202,1306,1282,1100,1228,1316,1190,898,594,850,683,943,1478,1578,1396,1228,958,624,1090,1568,1908,1842,1198,665,471,359,367,391,424,480,504,547,578,605,577,394,387,476,772,1038,982,1178,1230,1330,1256,856,546,524,676,703,541,492,714,877,1212,1318,1154,716,598,993,1356,982,727,544,565,474,849,1262,889,902,1150,1188,1260,1310,949,516,606,1126,1132,1368,830,580,849,1260,1378,1076,1114,1452,1492,1328,1430,1638,1646,1396,1170,1124,1400,1406,1074,1102,1322,1154,1036,1368,1336,842,1028,1218,1388,1584,1252,738,473,383,374,385,546,733,825,814,1538,1712,1602,1482,1328,1372,1356,1030,868,774,506,675,828,1098,1122,693,709,1026,1454,1318,1204,1208,1228,1256,1230,977,702,638,532,552,642,490,474,464,410,489,525,442,458,497,425,407,412,397,460,561,802,1088,1364,1030,805,1262,1926,2054,1468,865,1042,1148,1188,984,561,629,1212,1128],[380,354,454,594,907,1332,1738,1666,1080,755,1068,1136,996,1018,1058,678,558,678,696,853,877,535,367,348,338,365,358,377,379,396,479,486,388,402,486,508,394,422,440,468,474,730,988,1090,807,421,314,294,241,342,486,352,338,345,393,475,537,513,402,501,719,748,506,729,1152,1122,640,556,611,479,467,512,854,948,818,1090,1216,1112,1092,1326,1768,1064,449,451,470,408,424,383,629,896,757,768,821,645,503,524,393,341,344,333,312,290,258,268,273,271,335,353,393,383,409,373,424,456,474,435,499,582,627,680,648,708,992,1438,1484,1280,1170,821,615,531,580,888,1060,985,691,619,704,802,877,1268,1152,897,691,624,638,604,571,631,736,829,493,438,377,418,569,588,572,463,383,368,367,370,329,346,326,376,397,435,585,585,494,415,287,251,312,355,539,654,736,816,950,786,682,505,438,425,441,394,361,403,381,370,502,680,419,363,341,362,482,556,520,497,461,416,385,403,434,361,327,391,375,340,356,509,746,659,425,483,597,565,783,988,1260,1686,1286,799,700,586,745,708,642,672,511,499,498,492,724,1104,1094,876,1262,1628,829,372,561,644,611,691,872,606,702,748,632,642,832,1132,963,498,550,890,1254,1204,1122,954,789,592,356,369,439,402,380,347,404,524,477,747,1482,1312,919,426,547,957,822,758,789,1066,1208,1030,924,879,1020,743,377,379,449,438,549,636,620,593,420,372,390,354,324,319,371,686,540,300,278,348,365,325,404,555,519,633,799,652,801,1054,1094,943,828,1134,1116,723,879,976,568,338,318,296,352,330,503,757,821,1154,1276,933,591,552,664,880,789,1009,1268,1448,1408,1468,1016,1680,1980,1166,1116,982,988,990,984,786,521,704,1164,1682,1072,1048,1378,1468,1640,1440,738,795,937,902,777,1040,1050,975,1544,1932,1474,1282,1290,879,775,818,674,938,1130,1484,2098,1538,1442,1284,728,535,433,400,377,402,368,284,301,296,583,735,565,981,1332,780,460,724,860,878,1114,1250,1482,981,655,729,1068,1220,1166,832,724,870,1148,1062,819,1116,1282,1376,1190,1288,1416,1200,871,728,1168,1208,752,658,1088,949,576,460,740,932,1158,1354,1348,1362,1424,1294,1274,1296,772,422,540,478,422,322,357,455,528,522,515,427,391,420,462,473,375,289,289,350,406,461,447,573,805,757,618,808,844,768,447,302,312,386,293,258,258,295,422,526,568,743,855,697,785,976,1258,999,489,390,444,675,896,808,613,423,550,987,1428,1618,1268,988,790,945,977,1100,1192,710,539,494,435,453,422,436,418,448,476,495,522,495,468,481,490,720,1308,1486,1858,2012,1866,1784,1700,1758,2310,2442,2114,1974,1902,1532,1464,1334,1312,1200,1208,1354,1334,1248,1286,1520,1562,1466,1160,1040,1170,1370,1656,1832,1584,1132,752,555,538,575,594,722,1132,1432,1466,1406,1324,1028,642,491,700,1232,1678,1836,1494,933,764,788,940,1132,1228,1444,1586,1716,1710,1776,1982,1928,1748,1754,1710,1518,1594,1766,1682,1838,1968,1722,1562,1944,1720,1466,1504,1358,1454,1636,1780,1490,1254,1230,1196,1278,1222,1160,983,897,948,998,1036,1036,1122,1058,1172,1238,1106,1224,1228,1222,1228,1290,1222,1168,1316,1276,1238,1284,1356,1244,1188,1164,1084,1068,1106,1200,1384,1350,1116,1126,1202,1198,1228,1310,1404,1436,1302,1346,1532,1376,1122,1042,877,1168,1204,982,1172,1438,1108,1178,1610,1584,1156,952,1144,1290,1388,1466,1382,1384,1488,1350,1376,913,736,739,772,1148,1330,1288,932,819,881,1256,1164,1048,1164,1260,1126,1186,1230,1522,1784,1288,1292,983,974,1310,1570,1418,1084,1020,1352,1498,1310,681,763,711,462,520,579,1124,1380,1168,1348,1442,1236,965,1210,1412,1422,1368,1272,898,880,692,474,700,1044,994,659,764,1204,1154,681,321,572,954,730,395,353,319,333,345,331,390,824,1014,623,790,1102,755,971,1296,1664,1902,1364,806,572,451,449,542,583,473,615,820,993,490,303,359,323,437,552,669,942,1104,737,372,375,370,374,422,420,541,487,408,640,639,472,602,594,694,686,514,421,324,257,433,650,548,414,406,411,563,901,980,890,503,414,425,347,344,595,739,891,1002,1284,1494,1224,807,474,564,905,736,553,703,846,567,371,363,359,386,586,835,754,389,537,497,329,264,631,683,414,423,598,478,340,385,307,253,477,352,313,791,866,458,302,265,281,299,294,377,476,424,246,294,287,333,299,299,471,1002,816,306,302,269,261,255,309,512,623,609,540,468,372,310,357,452,562,529,505,459,348,273,259,222,197,232,228,195,309,525,589,539,561,514,361,349,430,507,529,551,489,385,338,446,528,498,470,519,365,218,226,251,413,700,1072,958,672,736,663,725,1086,961,676,465,377,309,394,816,1234,1224,1288,1666,1736,1958,2136,1830,1288,968,847,897,1164,1158,1013,1186,1556,1358,1004,735,828,1248,1810,1300,1176,1188,1158,1090,1134,1162,1158,1138,1094,1072,1208,1244,1158,1136,1122,1036,973,882,779,945,1278,1600,2088,2104,1620,1234,1110,1368,1146,1142,1196,1132,1186,901,823,2026,2600,1422,963,695,420,480,597,618,684,811,777,652,597,496,488,516,456,527,593,654,770,697,565,501,408,594,924,1168,1030,583,601,866,826,850,828,579,422,440,543,572,581,505,460,525,716,1212,1578,1524,1604,1672,1160,594,517,492,595,786,822,681,417,774,1348,857,1112,1372,1300,1007,604,496,496,542,513,586,758,955,1196,1110,748,728,753,555,706,1154,1346,1268,1003,988,1104,1178,1126,1188,1092,914,1088,1010,810,1088,1328,1048,968,1136,1140,1120,1148,983,1026,1138,1184,1108,930,908,952,800,927,1180,915,646,1124,1224,1296,985,696,753,972,1009,1004,1160,1330,1332,995,738,638,727,624,549,389,789,952,475,550,1021,1352,860,650,757,979,775,992,1402,1412,1250,948,618,541,520,569,426,423,540,816,745,627,474,526,571,383,370,322,404,562,845,957,559,441,472,807,1266,1196,936,678,493,501,763,1190,1090,1324,1522,1366,930,560,694,839,846,846,967,1118,882,774,803,959,962,729,654,813,934,970,1168,1400,1352,1232,1538,1688,1336,1050,858,702,1056,1202,1180,1280,984,728,877,722,568,799,1096,1926,1820,1270,1212,1404,1418,1434,1442,1214,1174,1328,1222,1026,1054,1332,1426,1460,1332,1492,1332,1618,1666,1210,1396,1450,1182,1198,1100,1028,1252,1344,1266,2054,2022,1528,1576,1560,1454,1504,1466,1334,1438,1454,1532,1638,1376,1248,913,727,1086,1290,1336,1502,1368,1278,1210,1200,1274,880,444,353,498,876,741,373,433,843,1396,1234,1082,1200,1194,1078,1042,1154,1188,1322,1412,1412,1286,1124,968,1158,1278,1364,1404,1262,1042,824,973,894,962,1224,738,463,656,947,1206,1124,628,866,1108,1106,917,876,1194,1338,664,480,829,1114,860,841,981,627,644,562,852,949,798,905,788,954,1064,852,642,668,414,417,1016,1226,688,845,1262,1054,937,1210,1464,1092,1398,1632,1382,1088,702,724,902,810,497,1072,1854,1322,507,381,393,415,456,530,555,614,802,982,798,499,603,730,955,914,1038,991,868,1112,1512,1226,492,284,275,264,309,325,415,563,559,675,646,621,901,825,413,323,353,381,319,404,610,572,811,783,741,599,502,605,656,751,570,462,643,618,658,1360,1330,1014,739,764,1118,1462,1076,409,296,466,990,1168,837,1166,1140,1290,889,571,986,990,1166,1202,947,655,685,1216,1340,976,683,1076,1064,703,914,1476,1666,1636,1652,1350,969,820,748,1296,1188,1178,1240,1258,1512,1338,1354,1192,882,1130,1512,1434,1314,1158,971,1090,1160,1036,1294,1398,1324,1300,1178,1290,1476,1592,1572,1356,1260,1040,532,552,804,1538,1864,1522,1158,1016,866,969,1294,1230,1604,1272,792,487,391,354,401,508,509,423,494,566,543,628,653,444,409,586,869,1106,1014,1132,1310,1190,767,451,495,749,689,465,386,407,389,525,897,1092,872,727,590,793,1056,875,791,652,557,448,586,1064,946,615,566,557,755,893,607,542,548,844,1152,1992,1490,955,1260,1494,1252,1172,1482,1522,1220,1154,1338,1516,1600,1516,1114,1046,1400,1622,1376,1306,1156,1008,1432,1424,1004,1009,825,843,1348,1656,1246,762,494,415,379,350,407,695,1100,784,1888,1880,1588,1416,1388,1430,1394,1252,1158,1001,468,572,677,600,713,604,935,1278,1388,1356,1214,851,585,786,908,1048,1332,1218,1056,1062,828,616,539,558,517,483,588,597,458,435,465,796,774,508,498,678,697,920,1218,971,694,966,1716,1776,1158,1170,1388,1626,1644,1282,1011,1316,1446,1232],[639,641,831,1032,1222,1466,1560,1466,1140,1018,1354,1282,1234,1100,750,547,462,556,713,602,432,402,448,314,328,330,347,389,464,520,473,401,453,443,419,415,411,591,546,482,559,572,977,1240,714,340,335,294,261,308,435,300,305,338,415,504,581,534,418,767,1294,995,377,515,1012,1310,1236,802,509,444,590,696,1004,1021,783,1050,1318,1076,1296,1528,1224,718,471,460,471,508,671,827,890,768,795,1194,1680,1150,658,711,530,355,348,356,321,248,211,238,255,262,359,540,475,403,379,365,419,444,391,371,496,531,565,563,545,559,575,929,1214,1110,1021,872,573,506,877,1364,1290,1104,612,680,744,871,1216,1226,1114,922,639,855,1058,888,624,790,959,874,815,675,547,634,667,491,357,365,383,325,302,309,327,361,367,323,419,543,547,534,561,523,427,437,453,456,536,615,711,698,629,619,636,599,483,432,372,403,428,444,397,343,466,517,403,360,343,378,414,425,448,555,497,433,374,338,304,253,399,515,499,414,337,378,474,469,503,837,683,715,1028,1020,1268,1362,886,634,579,671,836,701,847,880,836,633,465,570,447,349,473,516,730,774,402,323,445,574,411,438,422,678,862,639,523,894,1476,1480,867,539,519,812,730,951,1280,968,437,253,302,375,422,428,379,344,418,482,420,520,828,1278,839,324,420,606,773,975,1024,1200,1270,1060,601,729,1218,816,374,448,477,522,805,945,866,500,401,357,350,498,766,670,425,746,841,561,327,364,329,343,529,619,607,619,702,768,761,706,771,733,554,717,710,791,1082,572,353,347,304,282,309,311,342,578,931,1168,1242,914,515,558,917,946,664,686,1048,1232,1322,1304,1318,2348,2214,1222,1350,1130,1042,1284,1100,607,464,711,1036,986,527,644,1070,1332,2086,1730,922,786,741,693,751,901,1050,1170,1142,1120,1162,1304,1360,1182,1094,1118,967,1094,1252,1570,2266,1918,1998,1920,824,451,411,395,347,395,431,403,604,538,792,1060,792,929,1084,775,659,861,698,654,692,977,1136,777,678,732,720,976,1226,963,729,1282,1694,1244,996,1206,1126,1028,838,1162,1282,1228,979,974,1198,1284,859,781,1262,1328,1096,979,1108,1032,839,1074,1142,1216,1064,1108,1318,1132,782,566,518,479,432,387,387,637,978,913,752,510,379,396,386,379,363,377,411,402,496,630,844,1070,988,650,706,860,817,731,399,271,241,232,210,182,227,316,480,680,728,558,499,437,516,835,1276,1028,501,393,616,970,1044,1304,1074,871,737,1088,1362,1300,1266,1332,1474,1482,1016,653,576,477,508,438,509,512,415,443,445,450,474,489,492,490,473,487,571,557,620,1102,1714,1892,1738,1722,1888,2314,2632,2676,2376,1980,2048,1608,1300,1372,1314,1276,1238,1244,1246,1140,1112,1190,1328,1642,1376,1250,1688,1952,1794,1318,915,646,517,649,630,583,876,1242,1408,1348,1274,1436,1288,697,571,809,1210,1590,1488,1198,995,807,816,930,1250,1316,1276,1484,1744,1858,1834,1796,1866,1864,1750,1686,1676,1742,1832,1702,1766,3216,2814,1520,1766,2150,1416,1266,1336,1250,1354,1502,1462,1306,1284,1308,1402,1410,1324,1288,1152,981,968,1144,1196,1174,1126,841,1028,1170,1001,879,1014,1194,1192,1194,1206,1328,1372,1324,1260,1196,1126,941,1038,1268,1196,1011,930,1138,1494,1592,1222,1114,1134,1126,1170,1204,1360,1396,1394,1516,1626,1542,1310,1170,1010,899,885,1112,890,1208,1132,1476,2036,1736,1184,1240,1308,1232,1396,1382,1280,1570,1622,1470,1378,1042,1005,1058,1128,1284,1350,1140,846,794,1128,1152,946,945,1356,1426,915,937,997,1110,1538,1376,1366,1330,1270,1210,1278,1748,1692,1316,1204,1116,825,763,879,673,361,381,897,1972,1898,1290,1370,1198,938,1332,1426,1268,1050,781,574,382,361,318,594,788,703,915,764,694,1072,850,462,346,511,995,958,524,486,432,366,371,512,910,947,810,462,552,1002,824,960,875,971,1130,1048,972,959,851,660,769,883,809,1266,1338,1452,755,355,319,288,370,331,473,976,1246,949,492,333,294,433,321,235,385,541,533,708,1000,902,578,652,738,743,423,347,369,405,575,696,899,769,558,596,611,578,709,707,606,520,571,573,511,645,676,795,997,946,743,938,590,412,601,1060,1236,848,472,386,379,365,353,308,463,753,472,393,408,990,902,414,214,501,675,410,235,297,314,314,391,409,289,357,343,299,350,364,549,689,395,254,330,295,276,310,367,333,341,327,309,269,225,262,344,310,235,247,175,201,225,399,562,610,625,601,539,463,426,358,377,521,540,521,500,474,359,261,218,211,210,236,234,240,367,549,561,547,536,554,458,370,428,514,517,543,489,365,391,493,504,484,561,438,247,218,251,316,639,1078,979,748,811,949,1278,1368,1126,1126,817,553,625,1032,1468,1636,1522,1378,1454,1362,2098,2482,1930,1088,844,791,834,753,458,378,662,927,844,935,969,1122,1964,1898,1498,1562,1694,1538,1340,1376,1110,1108,1080,1046,1006,1208,1222,1102,1038,1015,972,902,631,588,1064,1312,1610,1836,1692,1414,1260,929,962,966,1224,1210,1006,946,789,1134,2524,1866,1182,692,384,453,619,672,648,760,822,687,553,514,434,389,392,447,438,622,735,625,507,510,454,643,1254,1296,1188,686,681,995,945,1007,869,471,360,479,552,492,527,681,583,455,516,644,985,1340,1472,1482,1606,1090,497,469,490,570,641,700,562,433,1011,1158,872,1110,1342,1218,776,564,480,461,538,612,524,388,442,590,741,683,554,459,589,1154,1402,1088,1230,1190,1270,1212,1242,1140,968,1013,1042,996,1021,1062,1112,1448,1066,971,912,979,1166,1366,1108,1100,1282,1190,885,792,1020,1206,896,872,1124,991,1062,1226,1238,1288,1100,890,928,965,932,1013,1200,1340,1166,938,663,781,767,842,942,544,910,1428,891,517,722,779,835,797,755,1013,1488,1676,1576,1364,993,1096,794,569,579,592,501,514,634,691,462,336,373,592,686,490,580,485,513,620,728,1042,1086,1108,868,856,1302,1582,1430,1164,1015,861,833,1306,1116,1222,1328,1280,960,718,727,780,932,1004,977,969,1048,1086,965,1026,965,666,710,929,1056,1146,1098,857,1023,1328,1436,1686,1456,1032,730,830,982,1050,1184,1286,982,656,735,600,570,747,1078,1876,1830,1332,1298,1382,1382,1390,1384,1242,1168,1206,1210,1168,1230,1246,1230,1310,1324,1290,1264,1838,2008,1366,1614,1740,1244,1268,1322,1310,1434,1456,1300,1516,1480,1452,1684,1482,1386,1538,1538,1400,1394,1412,1516,1416,1278,1470,1294,1092,1254,1288,1254,1316,1326,1168,842,1066,1328,881,551,468,485,698,576,433,511,969,1036,1064,1044,1046,913,1204,1166,844,891,1009,903,857,1064,833,843,1220,1292,1372,1396,1332,1100,745,894,1108,1090,993,650,585,915,1208,1366,1326,921,783,737,808,706,502,927,1416,726,540,763,825,558,882,864,574,679,769,677,481,549,954,901,799,893,877,905,763,509,530,1230,1560,964,676,712,677,866,1234,1532,1092,653,868,1036,1068,943,980,1366,1154,501,1070,2058,1628,910,543,442,482,479,444,510,568,699,974,950,852,892,612,713,730,616,584,797,987,1340,1186,711,601,505,405,464,485,405,400,455,539,492,462,824,986,550,394,408,362,325,354,518,635,722,1046,1306,1242,1042,749,753,768,610,830,996,1050,1118,1488,1288,1258,861,617,1030,1350,835,348,311,362,761,1304,1338,1382,1706,1970,1058,489,730,1054,1220,774,702,495,413,975,1360,1052,756,769,867,1021,1174,1348,1466,1516,1458,1412,1234,1238,1424,1576,985,804,1056,1102,945,947,940,999,1098,1052,997,1272,1284,1238,1016,1160,1192,1072,1220,1178,1172,1390,1376,1362,1528,1594,1286,1178,1422,1250,793,580,1232,2122,1878,1450,1426,1001,594,1030,964,838,1232,1248,761,446,384,357,351,454,580,587,423,423,394,553,487,379,378,735,1202,1282,1116,1158,1072,655,458,525,984,1412,1052,508,372,501,540,616,633,528,406,478,587,830,918,673,807,1096,965,851,726,756,635,470,539,673,745,764,789,777,547,629,844,1376,1392,1216,1384,1178,852,1142,1524,1218,1180,1318,1434,1456,1534,1442,1224,1062,1008,1152,1418,1348,868,759,1172,1218,979,1204,927,633,1408,1664,860,742,513,426,320,278,251,407,848,939,1210,1290,1362,1520,1584,1452,1184,786,994,823,517,477,669,735,925,849,965,1108,1072,1214,983,766,557,463,440,575,634,930,1042,1178,1438,1280,1096,1015,762,567,547,664,539,471,591,1512,1478,678,537,706,702,1017,1490,1154,658,597,1260,1212,714,1134,1422,1324,1502,1426,1136,1708,1790,1304],[574,553,752,1268,1478,1450,1320,1420,1434,1386,1440,1314,1386,1214,845,828,631,412,348,314,282,300,290,314,361,364,358,395,473,534,521,690,656,614,411,392,395,519,568,653,702,709,1104,1202,636,350,313,261,234,264,394,305,261,325,419,518,594,537,560,997,1316,1036,661,802,1128,949,1032,1270,1004,745,785,831,959,950,987,642,778,989,1438,1642,1422,1084,799,731,713,781,807,1180,1532,1174,1032,1294,1854,1410,859,768,598,387,378,320,301,281,247,258,271,304,379,541,505,387,349,362,318,349,354,408,610,769,724,683,639,557,524,565,903,1296,1472,1110,475,626,1410,1734,1522,1270,824,634,654,1056,1436,1150,999,1130,861,930,993,937,1015,1150,1012,1158,1358,880,544,587,569,480,425,404,398,347,305,321,325,378,468,425,451,521,478,401,521,525,401,463,428,414,531,620,689,689,670,610,633,589,493,405,342,387,491,511,446,278,309,341,385,370,330,387,525,518,477,497,589,415,337,310,265,396,627,716,1044,1058,781,394,373,519,583,813,872,1023,981,674,714,940,854,731,504,521,674,725,910,1088,894,526,519,561,428,437,715,709,575,451,435,403,422,422,285,260,335,493,526,499,902,1504,1886,1676,897,546,645,824,554,426,772,1030,831,484,386,451,500,540,386,400,593,714,540,451,537,507,361,308,379,531,703,846,1082,1314,1232,823,675,875,1128,717,361,465,479,521,644,630,695,841,616,379,349,438,911,836,458,559,638,802,562,338,256,438,699,686,666,733,792,653,706,871,919,840,521,525,644,1262,847,438,658,624,360,303,342,314,416,670,704,1058,1484,1370,1018,807,741,689,672,754,985,1002,1294,1524,1798,2018,1388,1162,1240,1146,985,1152,1086,683,541,757,943,709,512,618,1028,1082,1060,1000,916,670,464,703,1042,1162,1188,1042,912,1040,1260,1130,1124,1260,1146,1202,1132,1226,1294,1368,1560,1362,1352,1304,858,680,448,411,437,451,527,681,1064,867,819,957,865,923,1019,698,913,1056,793,736,597,595,707,653,604,834,826,849,1706,2094,1180,1396,1454,1604,1932,1466,1136,1176,1340,1224,824,1130,1072,1208,1216,1176,943,1004,1482,1372,1252,1268,1146,1368,1228,1136,987,1132,1016,1208,1468,1534,938,439,466,412,330,388,493,785,1092,1052,716,483,369,421,367,319,343,430,570,595,698,859,928,832,767,621,523,465,359,328,263,240,230,222,221,226,242,275,349,442,644,576,427,382,338,585,845,619,324,457,1124,1388,1346,1584,1396,1160,975,864,1004,1180,1058,1186,1410,1290,893,590,423,411,470,437,467,444,423,449,459,446,428,442,451,482,485,497,579,595,512,940,1464,1368,1314,1708,2018,2286,2562,2474,2618,2160,2018,1970,1494,1312,1340,1304,1290,1254,1260,1356,1560,1622,1600,1648,1824,2066,2092,1624,1086,849,820,663,500,550,610,984,1416,1476,1394,1194,1114,1346,1152,1016,1294,1282,1170,964,955,902,1074,1088,899,880,952,1090,1402,1730,1882,1866,1846,1830,1802,1878,2014,1950,1896,1802,1602,1390,1394,1678,1470,1254,1420,1428,1084,1102,1148,1292,1400,1526,1564,1410,1294,1316,1384,1402,1310,1282,1138,1078,1236,1164,1432,1604,1236,843,912,1136,1094,1050,1278,1218,1168,1138,1246,1350,1370,1332,1264,1296,1290,1152,1230,1348,1236,1082,913,1200,1434,1388,1296,1112,998,1122,1224,1222,1232,1180,1166,1438,1610,1576,1310,1100,897,866,913,721,515,936,1324,1588,1884,1578,1168,1124,1006,1032,1124,1368,1346,1434,1376,1350,1400,1212,1246,1494,1510,1386,1496,1052,827,1056,1244,1020,692,679,1214,1334,965,1236,1296,1096,1478,902,954,1210,1146,866,796,1124,1288,1274,1180,781,725,716,498,420,384,458,1208,1878,1804,1436,1116,1030,1142,1174,781,580,514,463,552,476,375,502,769,625,872,1256,811,650,911,538,275,389,705,1072,896,434,340,392,429,512,1036,1640,839,417,396,448,980,1001,839,772,808,796,735,755,1124,1098,612,579,752,855,1072,1098,1228,908,540,739,1072,542,423,448,615,832,935,668,394,296,362,341,267,330,602,691,741,1056,1160,731,394,388,523,504,683,777,1076,936,622,894,1012,738,607,711,539,450,401,351,294,631,908,736,556,689,698,823,946,683,744,567,477,587,1074,1274,843,438,424,373,470,451,542,752,980,556,532,800,1128,868,435,238,392,656,548,271,311,456,373,307,362,293,367,466,473,555,730,1100,1566,728,357,307,274,320,537,811,761,441,313,286,240,260,261,257,271,231,228,212,248,278,429,560,597,597,628,551,485,443,382,379,473,538,532,518,506,467,383,293,246,222,224,223,228,254,476,557,554,543,522,457,339,317,440,528,550,526,480,381,391,472,506,540,416,278,265,280,299,446,818,933,816,847,988,1290,1384,1346,1194,1048,1086,1016,1152,1628,1834,1796,1356,1056,937,1504,1748,1802,1762,1278,807,1070,1022,553,476,629,538,494,737,1068,1172,1466,1384,1334,1562,1656,1638,1548,1632,1460,1224,1256,1290,1410,1274,1104,974,861,802,921,793,407,626,1024,1322,1664,1816,1754,1854,1438,962,833,1070,1290,1180,965,780,664,2232,3272,1986,1246,740,457,469,615,650,680,824,754,523,444,430,432,440,466,537,553,648,617,476,415,554,741,1200,1626,1278,1042,874,957,816,884,922,505,338,402,498,566,476,418,484,544,609,690,721,767,948,1142,1190,1256,1118,812,656,474,590,519,473,442,551,1202,1038,908,1176,1142,921,694,588,571,558,543,502,502,481,476,478,545,495,443,403,539,1032,1518,1094,1130,1176,1230,1278,1440,1256,904,943,1090,1062,1102,1294,1282,1680,1236,935,940,1182,1290,1066,935,1058,1184,993,855,857,1044,1364,1394,1032,1140,1220,1246,1160,1176,1248,1148,877,771,865,691,851,1044,1134,1170,1274,891,734,873,940,1044,676,1007,1534,1284,656,659,596,777,813,738,1136,1690,1512,1306,987,887,1226,996,705,720,679,731,750,659,528,324,292,312,439,495,527,872,833,791,922,946,1350,1700,1736,1632,1384,1418,1616,1386,1194,1194,1152,939,1220,1062,1108,1464,1498,1354,1088,1044,1036,1110,1156,1032,951,1162,1080,772,662,999,1268,810,681,874,1250,1154,904,972,1452,1376,1340,1238,772,726,1160,1312,1242,1220,1280,1046,1052,810,773,750,673,957,1252,1210,1472,1428,1011,1060,1174,1194,1136,904,1076,1216,1332,1310,1196,1262,1372,1308,1330,1434,1598,1496,1292,1406,1526,1194,1140,1048,1220,1398,1326,1372,1482,1520,1464,1592,1454,1478,1578,1422,1384,1158,1210,1494,1398,1220,1276,1152,1332,1162,975,965,1046,1009,908,1014,1206,1224,877,662,508,450,367,389,516,629,669,513,969,1318,1266,1096,1176,1001,762,980,1246,1058,963,910,687,949,1288,1210,959,836,1026,1164,1146,1024,841,680,487,540,664,794,876,1044,1064,867,474,451,777,971,722,829,1070,1212,869,810,886,818,760,574,514,849,1394,1282,692,591,839,1092,990,811,794,848,827,995,836,634,1002,1032,590,523,542,606,778,810,755,736,754,929,1148,1114,1352,1204,1106,683,413,644,1078,1272,956,562,436,571,800,766,568,621,863,972,771,702,709,667,543,611,861,744,675,724,697,726,518,425,423,626,628,642,740,683,468,289,301,465,628,431,424,480,686,620,368,366,750,1064,1256,1064,726,598,625,639,615,698,1338,1326,1694,2142,1712,1158,922,619,343,377,504,477,549,407,300,565,882,1184,1052,1266,1600,1166,792,1120,980,1220,797,603,384,505,1200,1522,1214,1204,1004,714,995,1304,1520,1502,1498,1200,1260,1358,1380,1472,1284,954,1314,1332,786,692,858,974,1003,1164,1210,776,989,1356,1370,897,539,716,1172,1184,1090,1144,1344,1422,1476,1530,1416,1158,1322,1426,1442,1118,681,993,1380,1062,1086,1466,1394,1170,1382,1192,1019,940,746,479,413,413,314,293,370,400,383,347,348,345,387,366,321,310,697,1176,1194,1192,944,628,562,655,1015,1456,1542,1248,705,463,482,497,487,360,356,397,600,1007,1018,911,921,1128,1226,1266,1344,1016,680,664,554,516,803,1142,1252,816,458,426,771,810,740,1052,1290,1296,1013,946,1300,1504,1188,1134,1342,1482,1336,1340,1512,1360,1258,1322,1154,1230,1150,994,994,1124,1036,844,670,576,666,1318,1520,1042,1104,1108,653,324,281,289,274,606,1166,1362,1236,1388,1388,1344,1180,987,696,1264,1310,833,826,1302,1260,1082,938,810,969,1064,1174,955,1168,770,585,578,500,451,607,782,1058,991,1004,1160,1426,1522,1252,1020,957,684,519,708,1566,1742,769,495,557,590,742,1250,984,835,735,947,1088,935,1062,1316,1238,1376,1620,1606,1942,1672,1430],[787,728,884,1230,1312,1228,1082,865,1092,1356,1296,1290,1404,1290,1030,786,602,443,345,317,318,300,328,341,358,375,374,383,398,456,517,741,527,621,639,520,389,357,438,578,742,930,967,718,381,327,303,263,271,261,257,271,303,359,414,499,603,587,415,620,938,1100,1056,935,765,492,680,1296,1482,1224,867,859,1015,758,876,672,701,840,1146,1420,1562,1290,970,977,861,843,631,807,1036,804,1108,1272,1296,1222,914,754,724,529,412,363,360,314,299,289,288,409,508,495,495,455,413,371,429,425,375,413,570,766,818,780,570,413,471,489,626,919,1316,967,491,566,689,764,1072,1042,785,790,911,1021,1140,1068,1086,1126,965,980,1056,1112,1198,1104,1044,1406,1456,940,662,569,458,407,420,367,376,355,330,416,438,418,478,506,493,540,463,404,439,451,442,387,412,506,526,533,515,528,630,581,531,456,494,401,324,309,378,433,382,290,278,320,344,362,346,394,496,510,453,482,645,467,270,269,313,648,754,609,1154,1370,1236,731,616,577,554,813,1162,1286,910,830,993,993,825,715,430,488,833,1154,1328,1372,871,532,705,504,390,562,922,897,684,349,380,463,393,307,309,359,415,471,583,742,1642,1934,2014,1620,924,590,761,693,402,336,430,592,788,857,587,479,540,513,387,655,1372,1610,893,431,556,594,572,423,307,499,726,932,1098,1296,1442,1310,896,630,491,303,312,506,577,438,462,509,1026,1632,1360,696,371,390,514,490,540,532,494,791,913,517,327,467,766,718,622,738,812,828,909,929,691,919,940,636,928,932,622,913,1532,1310,571,274,316,401,687,662,563,1066,1112,1188,1162,1120,1032,787,711,982,904,690,1278,1350,1582,1632,1300,1114,978,1310,1482,1202,918,847,886,951,1100,1080,1046,1007,985,1132,1068,1272,1332,941,582,713,1003,1044,877,762,893,1074,1320,1242,1234,1234,1254,1132,950,1136,1378,1242,1064,1190,1140,948,1040,850,447,422,497,514,499,767,1019,1182,1816,1324,1290,1058,998,933,938,906,1392,1260,883,883,801,574,717,988,775,761,1394,1892,1140,786,838,1750,1912,922,962,1568,1644,990,456,744,1550,1544,1334,1148,1116,1322,1648,1192,880,881,811,863,1238,1046,926,902,875,1222,1470,1562,968,454,444,463,461,484,576,723,875,939,613,510,477,439,402,331,274,329,487,817,999,778,482,425,698,613,367,325,301,276,274,252,206,225,237,229,237,235,255,294,415,457,420,321,331,565,640,407,313,603,1240,1162,1454,1666,1686,1476,1180,751,577,889,1042,767,489,485,515,451,369,386,432,416,426,435,433,445,461,451,390,402,408,418,466,529,522,479,537,919,1302,1512,1866,2018,1954,1976,2074,1928,2486,2444,2048,2120,1958,1398,1242,1898,2656,1816,1552,1526,1438,1454,1504,1402,1614,1538,1021,743,647,553,542,575,503,761,1248,1516,1410,1190,1112,1222,1422,1460,1438,1572,1432,1262,1310,1214,1240,1488,1498,1250,817,760,903,1044,1450,1810,1848,1784,1778,1960,2014,2150,2072,1876,1522,1276,1428,1388,1288,1336,1326,1228,1154,1116,968,1188,1454,1426,1406,1528,1566,1410,1332,1384,1278,1220,1140,1050,968,1072,1226,1180,1436,1478,1038,721,798,1050,1236,1402,1414,1246,1192,1114,1152,1330,1362,1272,1072,1198,1388,1206,1278,1248,1230,1336,1166,1334,1400,1428,1374,1250,1122,1266,1642,1518,1238,1210,1344,1524,1534,1548,1398,1142,861,775,1026,1100,902,948,1284,1422,1478,1188,1100,907,868,958,1094,1250,924,915,1172,1056,1440,1548,1274,1336,1458,1600,1306,1072,1082,1288,1248,951,667,716,811,1254,1588,1622,1082,1272,1288,666,831,1208,993,622,589,814,1098,1232,794,825,985,1060,754,550,418,630,1070,1322,1206,885,987,1050,834,505,403,469,852,1138,886,505,362,535,756,650,776,915,1038,1116,882,422,261,291,443,791,861,625,467,526,558,506,936,1436,1038,1030,1328,1262,1152,1010,675,488,422,459,482,505,1122,951,626,567,523,632,792,836,1212,1216,810,882,1472,1126,534,440,582,904,777,487,376,243,282,321,324,561,788,679,506,521,875,846,557,550,651,709,798,844,1318,1422,1282,761,812,641,433,559,763,719,514,346,299,586,986,1023,698,719,665,628,779,900,839,544,345,578,830,672,555,448,459,441,714,762,522,636,993,832,629,968,1028,494,334,294,370,614,698,324,228,497,480,555,524,276,302,491,566,630,915,1058,1176,811,501,590,894,974,1068,1260,969,524,457,516,309,312,279,269,269,268,276,285,337,378,300,382,568,580,622,588,556,502,364,289,356,482,537,545,540,518,472,443,283,211,214,203,209,197,377,532,552,541,544,489,347,250,303,481,550,548,532,462,372,437,514,550,540,381,274,330,328,311,799,1015,803,826,852,803,886,1178,1312,1023,1118,1254,990,1158,1428,1334,998,1114,1204,1440,1188,1136,1708,1676,1130,1142,985,793,756,996,759,370,417,622,1056,1366,944,831,1186,1600,1778,1688,1550,1594,1588,1726,2134,1990,1252,996,861,877,1030,1362,738,713,823,982,1244,1306,1340,1372,1346,1264,1138,938,1274,1276,1050,858,567,1392,3382,3462,2078,1170,642,460,537,599,657,802,830,739,563,489,548,561,538,513,524,630,637,468,349,574,758,857,1064,1070,994,1002,1062,813,464,555,493,345,422,484,498,508,443,634,877,970,1100,854,689,626,547,780,803,724,979,617,376,341,477,446,429,491,890,1122,821,1120,1322,1096,764,629,614,702,689,680,557,556,721,665,473,426,469,421,452,604,747,1052,1021,1042,1005,966,1128,1310,1194,1024,1066,1112,1148,1076,1086,1110,1346,1260,946,905,1144,1102,1076,1180,980,1046,733,762,827,891,1306,1484,1116,936,1013,1054,1226,1342,1310,1278,906,721,1202,1172,1110,1152,1220,1280,1466,1038,692,877,932,1050,686,802,1028,1328,869,670,752,778,899,905,1030,1302,1320,1294,1074,1013,1132,844,587,467,388,616,847,924,805,343,295,265,305,424,599,1310,1422,1312,1130,976,1396,1792,1682,1656,1616,1620,1628,1422,1048,974,926,937,1268,1222,1152,1320,1262,1372,750,875,1108,1268,1366,1474,1302,898,752,684,435,924,1418,1078,813,877,1284,1280,1218,1130,1168,1150,951,925,1009,1118,1462,1564,1534,1222,1168,980,1092,1015,1180,1098,871,1050,885,778,1324,1122,1058,1260,1366,1360,1474,1314,1100,1038,1120,1144,1188,1328,1344,1258,1378,1462,1622,1474,1386,1470,1454,1188,951,929,1284,1412,1462,1556,1380,1346,1372,1388,1316,1204,1206,1282,1454,1336,1168,1234,1058,875,1124,868,1248,969,666,943,1158,988,1166,1458,1416,1046,834,1098,946,740,550,589,799,978,1026,1608,1768,1196,1262,1218,1208,1122,830,868,1166,1472,1328,987,661,877,1324,1248,821,762,907,978,1244,890,532,375,433,930,1308,1094,993,1044,952,943,492,381,607,970,938,829,793,1266,1322,1002,723,787,901,571,441,673,1316,1546,908,778,1114,1736,1362,692,639,747,1012,1564,1420,718,618,918,544,389,405,422,543,551,579,758,905,817,806,691,872,746,1132,1082,669,666,1070,1434,1210,774,753,1130,1378,1194,651,595,678,957,711,592,1144,1194,612,769,1070,959,1092,948,817,700,416,355,570,753,619,566,847,922,647,302,283,275,409,486,503,739,1118,793,374,312,437,843,1246,913,717,959,927,738,611,747,1108,1136,1484,1604,1160,721,444,344,320,353,325,516,1082,661,365,619,655,602,517,445,588,877,1354,1154,723,796,583,517,483,556,1406,1930,1482,1446,1028,591,1008,1260,1306,1244,1328,1602,1598,1328,1062,976,1058,1238,1250,949,804,657,827,1064,1162,1218,980,702,916,1030,849,596,439,828,1400,1356,1272,1340,1294,1376,1456,1412,1268,1266,1356,1440,1616,1370,1050,1038,1248,1454,1104,1228,1590,1562,1484,1290,819,590,554,555,409,354,239,279,377,320,288,308,386,400,328,323,314,354,601,772,787,1102,901,514,637,1020,1412,1422,1482,1384,786,518,474,434,430,436,396,375,395,819,965,818,900,980,778,724,1042,1088,934,1084,893,1005,963,1036,1172,940,540,471,879,1014,800,1086,1210,901,947,1126,1034,1038,948,803,843,1064,1132,1088,1466,1450,1294,1368,1360,1336,1348,1408,1340,1005,796,650,431,384,517,692,874,849,1268,1400,698,312,247,276,266,385,785,1086,1052,1186,1408,1730,1294,952,835,827,871,799,971,1084,765,745,644,514,508,640,998,1184,1206,783,600,567,490,484,521,908,1172,766,569,483,1154,1528,1608,1560,1514,1444,1272,1112,1516,1704,882,625,610,768,803,1152,1266,1182,916,897,1270,1246,1102,1022,984,1330,1700,1542,1568,1446,1326],[940,921,908,1162,1312,828,444,576,1062,1198,1042,1009,1254,1118,849,614,689,525,356,338,307,298,364,373,337,366,345,329,325,349,438,714,708,559,673,702,443,343,337,491,767,694,529,338,263,278,267,263,259,265,284,298,320,394,411,458,611,587,375,352,873,1288,1118,628,379,465,954,1470,1528,1458,1308,878,614,642,606,651,822,780,962,1404,1446,1290,953,910,840,695,520,511,639,972,1004,775,872,976,836,724,825,552,447,810,633,358,320,310,312,413,487,547,533,498,518,411,495,586,612,586,603,634,579,551,441,475,641,739,679,633,595,573,586,658,666,758,763,623,631,775,797,897,939,1052,1158,870,790,964,946,1100,1136,706,651,1084,1152,807,809,561,374,342,380,332,328,351,339,383,383,362,463,498,388,403,379,396,402,403,499,501,482,475,442,433,393,441,544,528,533,467,466,422,414,365,319,365,384,363,344,330,326,349,376,383,392,402,409,429,475,388,319,310,280,484,788,725,685,926,1018,765,791,658,714,958,918,1046,919,1066,948,885,925,766,515,604,1050,1474,1904,1956,1254,535,542,330,471,896,736,719,631,376,336,376,332,307,349,371,530,637,772,1426,2170,2082,1662,862,594,661,582,473,417,369,386,377,357,688,853,645,564,460,439,777,1322,1402,742,441,550,545,530,450,412,623,689,846,1196,1208,1250,1470,853,439,280,279,350,680,768,458,577,763,1194,1786,1666,738,372,335,324,526,813,636,533,604,870,763,449,431,688,655,702,555,641,672,794,717,518,731,1046,1120,969,529,526,1012,1324,858,406,304,438,648,951,939,629,581,554,717,699,987,1416,1130,624,673,733,586,731,939,1440,1550,1548,1428,1228,1332,1412,1306,1152,1126,1396,1428,1208,1102,1312,1622,1250,1126,1108,1226,1248,929,547,644,721,619,593,655,742,811,747,725,865,979,1118,1100,937,1320,1598,1144,938,1118,1108,832,784,596,487,606,727,802,982,1166,1106,1842,3212,1904,1224,1032,1138,1356,871,1282,2006,1176,924,1118,1040,913,929,963,661,582,994,1266,913,667,662,1142,1116,506,651,1406,1306,663,421,725,1428,1330,1168,1128,960,1138,1336,822,626,547,1026,916,1076,1044,749,645,949,1052,1062,1278,1058,918,546,444,385,315,386,539,565,552,463,451,456,458,452,447,508,623,717,1023,794,386,285,302,545,618,392,306,262,269,304,257,243,232,232,234,232,231,245,283,291,280,259,271,379,812,741,397,327,473,883,1158,1276,1360,1302,1066,788,560,378,531,816,1116,705,393,397,451,418,404,437,421,408,400,432,458,464,440,389,389,399,430,471,485,452,463,692,1064,1310,1638,1888,1920,1976,1986,1908,1962,2368,2536,2226,1918,2000,1814,1388,1736,2266,1808,1674,1826,1698,1698,1494,1008,882,913,753,578,491,443,498,604,897,1272,1434,1356,1210,1064,1028,1214,1490,1500,1386,1346,1134,1722,1738,1412,1372,2270,1912,1178,879,766,887,1272,1572,1670,1742,1662,1814,2040,2036,1760,1414,1388,1352,1446,1688,1444,1322,1210,1182,1118,1072,877,922,1250,1628,1578,1290,1176,1180,1196,1126,1186,1468,1328,1170,1094,1192,1292,1026,885,822,987,1148,597,675,1066,1140,1170,1324,1412,1290,1226,1230,1208,1650,1814,1266,1196,1200,1124,1260,1230,1330,1472,1356,1346,1382,1444,1494,1446,1284,1362,1388,1126,1348,1380,1394,1426,1252,1790,1986,1536,1150,899,819,950,1046,1170,1216,1344,1042,988,1126,1038,993,1070,1176,1072,874,1226,1386,1092,1372,1364,1284,1286,1540,1588,1278,1236,1386,1416,1064,726,817,901,1014,1046,1654,1634,1308,1268,829,671,1005,1136,1015,942,689,778,797,690,869,1268,1136,957,1264,972,852,1282,1244,976,1004,1126,897,517,516,742,913,651,822,1248,895,449,445,589,791,714,724,908,1410,961,334,240,267,335,588,802,886,1019,724,680,850,605,681,1034,1486,2148,2362,1886,1290,1014,570,426,534,725,751,518,973,973,1005,1060,1076,1498,1414,1250,1456,824,972,790,739,627,466,419,1134,2032,1650,967,441,320,341,299,320,654,968,862,453,289,675,861,771,907,1007,597,504,499,736,1546,1936,1204,641,474,543,576,753,828,678,339,311,455,664,928,830,861,757,495,523,747,784,590,426,556,516,358,358,273,303,455,592,494,457,486,734,1056,919,673,573,335,289,246,307,500,666,359,233,411,642,755,504,326,253,368,504,616,791,844,836,817,538,695,1008,957,1184,1378,985,594,442,735,492,383,393,503,537,379,280,282,368,416,309,433,551,600,618,599,543,419,274,248,341,429,473,535,545,531,509,510,381,269,230,207,214,214,272,428,562,557,564,527,475,344,252,396,525,544,547,476,342,376,531,647,596,443,319,339,303,241,489,947,920,701,791,922,896,944,1384,1268,724,1042,675,519,696,894,1082,1186,1480,1550,997,577,896,1312,1278,1394,1446,1019,973,1130,680,280,217,269,645,810,612,663,933,1350,1530,1400,1338,1404,1300,1506,2144,1914,1164,999,1086,1084,920,767,742,959,944,1170,1228,1076,1068,1252,1252,990,1070,1246,1324,1226,915,875,888,2570,3698,2530,1272,724,476,525,641,602,785,862,710,666,657,644,663,590,520,603,693,631,486,657,800,873,764,799,794,765,964,995,982,902,427,298,368,525,530,433,396,558,991,1372,1406,1096,999,855,555,522,491,519,520,666,974,774,480,427,478,563,741,817,916,737,494,891,1152,941,680,642,673,652,664,712,645,588,675,676,534,415,469,469,520,490,470,485,824,950,795,920,935,1007,1064,1007,905,849,908,733,587,777,1070,1208,1066,1060,993,1084,1512,1270,895,1013,888,974,890,755,1108,1178,819,915,1080,982,1032,1174,1248,1290,985,681,653,894,958,979,1110,1122,1316,1032,745,803,847,885,695,749,890,1348,1078,659,997,1064,995,753,666,977,1384,1144,895,804,945,830,545,348,396,553,786,973,1042,511,301,281,337,386,512,1007,1384,1406,885,642,939,1532,1598,1562,1456,1414,1464,1310,804,703,847,946,1120,1312,1072,1106,1060,996,778,1032,1204,1222,1238,1190,1100,904,806,565,524,616,951,815,637,861,976,1088,1212,978,838,982,1020,1130,1400,1426,1544,1600,1402,966,844,975,1184,1260,1298,980,1005,1282,980,822,1106,1108,1346,1282,1234,1172,1294,1412,1028,849,904,805,841,1094,1009,1118,1378,1590,1592,1452,1262,1098,1188,1256,1150,1360,1502,1426,1470,1506,1446,1440,1464,1446,1358,1232,1366,1456,1464,1410,1210,1030,933,693,1162,1404,1430,959,708,1144,1244,1100,1380,1384,1046,673,790,1130,1068,807,714,1002,1288,1350,1462,1728,1400,1196,1544,1356,1280,1154,1124,763,847,1308,1310,1082,832,938,1200,977,1001,1120,1048,959,843,823,791,620,454,811,1376,958,667,706,804,1021,565,809,930,621,834,979,812,1002,1376,1168,719,676,899,676,430,639,1294,975,754,1074,1298,1266,1016,557,396,434,709,1058,1080,656,939,959,511,441,506,434,581,689,521,879,819,549,502,485,769,894,894,871,702,619,752,859,863,1182,1446,1522,1380,1454,858,584,572,711,602,525,843,782,461,394,511,1034,1566,1302,874,991,816,540,710,778,578,766,1630,1540,964,444,336,496,934,1096,770,571,672,491,305,295,335,447,885,814,1194,1690,1532,1358,860,539,628,682,776,662,493,297,256,268,264,401,455,491,590,401,449,659,647,625,541,491,505,822,1166,728,792,891,763,724,767,641,1232,1534,971,1048,536,489,875,913,1140,1064,1108,1544,1694,1378,1178,1228,1312,1356,1182,1019,885,825,954,1092,1202,1096,775,837,932,913,887,982,811,491,850,1030,1134,1374,1334,1418,1532,1526,1186,862,866,1007,1128,1320,1208,1408,1338,1084,869,845,1284,1358,1122,957,798,720,822,525,350,332,267,306,282,262,293,319,422,447,394,425,396,417,596,686,698,844,1042,1007,1188,1372,1422,1350,1234,980,533,442,466,506,506,469,435,386,344,628,834,907,1024,819,606,770,1034,992,869,843,803,967,833,691,916,986,634,463,628,971,1206,1208,992,987,1248,1102,886,968,1104,949,698,839,1228,1302,1488,1556,1322,936,1042,1164,1034,1052,1332,1192,670,499,422,495,612,547,557,417,738,611,348,255,221,241,260,275,366,521,532,673,1208,1484,1288,1132,960,764,676,675,789,726,498,466,423,403,423,509,759,955,900,700,501,489,476,433,534,964,1278,739,562,668,1019,1138,830,755,1020,909,1012,1460,1608,1538,1534,1354,1274,1460,1508,1540,1324,1394,1436,1468,1818,1450,1156,952,1370,1504,1784,1332,1202,1104,984],[425,361,575,1050,1098,641,563,971,1106,969,873,911,1086,809,651,704,735,593,463,397,350,305,373,433,340,379,326,290,322,321,446,896,1160,810,546,513,383,338,323,427,507,496,391,298,289,273,251,238,227,267,310,336,403,615,444,453,602,555,449,637,1122,1368,954,455,545,863,1322,1286,1226,1150,1350,1278,991,1164,910,975,1516,1136,803,1446,1444,954,920,901,766,569,414,405,686,1284,1462,1236,1032,975,814,735,713,480,486,1021,744,345,325,317,345,403,428,460,473,519,557,525,539,575,580,594,606,626,622,538,469,679,933,952,816,573,460,553,565,574,665,759,667,559,504,602,596,679,642,665,742,755,912,1102,885,792,854,527,509,857,935,717,553,380,317,284,263,236,271,324,339,350,356,376,408,423,352,387,386,383,403,432,471,490,496,484,447,386,410,460,508,535,631,532,460,435,456,490,413,408,405,393,375,383,399,389,381,401,424,451,442,396,395,378,324,310,320,660,1492,1166,543,504,645,784,899,824,991,896,872,789,744,949,962,1152,1234,894,551,616,837,1120,1776,1770,1202,503,413,361,611,860,778,1001,897,500,353,334,270,275,332,499,1326,1574,976,1504,1896,1822,1286,556,778,1108,915,531,514,495,456,466,425,359,677,932,783,486,524,902,959,742,385,338,441,610,634,655,675,623,589,725,938,875,1034,1410,781,486,312,297,530,809,725,468,879,1184,806,957,1080,572,494,435,484,657,1108,1044,719,559,502,713,796,706,649,655,838,543,380,370,726,492,472,532,740,1072,827,395,505,615,543,385,309,417,744,770,890,1158,843,514,539,580,507,534,719,641,455,666,756,516,399,620,1152,1342,1508,1550,1252,1190,1210,1288,1214,990,1046,1274,1120,916,1170,1472,1460,1356,1026,818,786,811,522,615,655,501,489,544,521,456,426,523,747,910,1078,1356,1390,1050,1030,1098,1228,1346,1362,1198,993,886,932,959,1164,1432,1482,1574,1456,1788,2216,1448,919,797,1048,1007,517,1044,1350,943,1188,913,861,867,828,666,514,500,653,758,680,645,1140,1408,1242,894,684,834,832,608,418,771,1352,1446,1042,741,607,847,832,626,473,386,785,1110,1316,1360,1005,681,1050,1002,844,1148,1266,1260,1092,893,743,548,480,526,545,505,492,431,361,441,619,813,938,836,564,579,496,342,355,308,428,707,584,306,289,222,221,226,248,263,246,209,216,225,231,237,246,278,271,513,835,1080,664,401,346,310,423,558,764,910,835,1104,1094,744,611,772,857,1002,654,394,401,452,479,510,565,453,436,423,432,457,474,438,466,617,691,651,516,454,518,611,679,891,1182,1642,1836,1946,2058,2048,1980,2122,2384,2520,2498,2126,2034,2218,1666,1418,1536,1538,1618,1582,1264,985,760,641,662,691,655,437,428,477,625,1020,1372,1444,1284,1064,1007,1009,1078,1208,1380,1266,1206,1250,1302,1876,1670,1306,1212,1226,1310,1182,1040,1154,1154,1418,1620,1646,1846,1924,1838,1590,1510,1352,1062,1284,1506,1454,1468,1346,1486,1322,1222,1214,1023,996,1088,1174,1384,1306,1009,1216,1302,1290,1110,1152,1572,1526,1332,1072,1470,1672,1406,1176,1028,1384,1700,1120,864,977,1156,1180,1148,1166,1164,1306,1376,1372,1534,1424,1290,1290,1226,1456,1406,1396,1344,1262,1228,1180,1230,1418,1462,1318,1248,1306,1472,1412,1504,1454,1462,1404,1720,2184,1660,1320,1254,1042,993,1046,1136,1140,1158,1354,1160,1070,1130,1166,1192,1114,1046,990,796,1338,1052,816,1084,1404,1680,1538,1572,1382,944,1098,1354,1168,759,591,679,827,1108,1030,1288,1314,968,742,764,981,1072,1144,1228,1146,969,844,581,725,1204,1019,685,1176,1532,1208,1058,965,897,630,496,680,551,686,1084,1324,1252,902,981,1330,713,614,1044,1106,1076,1282,1202,1378,1476,724,260,316,313,631,1268,1154,797,1040,833,650,1184,1150,628,999,1748,1896,1768,1104,968,1058,769,658,604,858,1070,1140,1158,1142,1288,1488,2192,1876,1256,1562,1610,1324,1648,1222,717,458,384,249,917,2220,3060,2302,674,339,367,301,295,534,1308,1556,835,469,578,699,897,653,595,363,317,368,526,975,1512,1650,894,498,775,916,861,659,803,767,489,365,425,764,843,1058,891,522,669,904,874,744,583,618,633,494,386,299,296,607,566,283,559,810,601,905,1244,1248,960,565,313,300,337,631,762,432,215,381,720,805,454,298,251,285,391,510,603,731,857,807,573,662,1180,778,1096,1166,831,641,477,604,490,481,614,807,802,588,392,309,376,314,313,466,449,540,604,589,587,487,356,279,320,344,371,470,529,528,527,517,472,415,349,247,220,241,243,351,548,554,569,569,579,468,322,297,442,552,561,576,557,425,517,631,589,527,447,357,290,303,313,486,492,677,1170,1412,1334,1142,1154,1436,865,710,444,348,481,838,1178,1260,891,649,600,595,699,1162,1068,1478,1856,1310,1046,814,309,198,189,371,673,571,574,758,1062,1340,1466,1230,1326,1414,1100,1162,1460,1316,1020,1032,1138,1038,658,533,872,877,1009,1282,1398,1266,1152,1278,1162,971,1206,1484,1372,1110,1166,1178,1492,2680,2810,1742,1018,530,462,563,578,688,866,835,613,491,597,738,673,612,670,646,589,568,781,1202,1092,985,1318,1564,1218,847,869,990,1320,1240,581,371,451,660,572,313,354,908,1078,1066,1314,1023,959,1013,752,763,850,679,466,529,799,667,335,408,636,829,1001,989,1070,624,446,416,656,712,615,620,689,688,669,686,562,413,489,529,478,548,559,531,531,434,388,400,732,1042,1032,873,869,1022,1042,908,860,719,661,480,405,543,914,1260,1216,1194,1044,1216,1438,1072,1013,1238,1194,1172,868,605,1002,1318,1106,1130,1160,952,952,1110,1202,1260,950,606,519,704,844,1007,1210,1078,1017,899,684,871,790,692,861,1046,1046,1070,1001,622,873,1012,952,729,648,644,913,884,553,515,695,877,847,388,365,525,943,1176,1294,664,307,301,332,293,307,438,720,1174,1016,861,653,1070,1448,1456,1472,1622,1628,1494,1488,1568,1668,1670,1256,1356,1034,939,871,741,864,1214,1278,1384,1422,1242,1208,1208,1076,643,837,627,697,827,802,805,705,894,1138,875,723,907,1202,1288,1296,1362,1316,1510,1226,780,506,608,998,1500,1854,1646,1194,1198,884,836,939,1005,944,803,888,1306,2192,2172,1042,743,766,636,587,706,700,1001,1324,1454,1424,1516,1356,1114,1342,1358,1156,1184,1396,1426,1482,1516,1392,1482,1538,1666,1694,1438,1522,1448,1454,1280,1134,1078,1118,1244,1394,1336,1416,1110,991,1282,1338,1334,1146,838,542,459,612,854,1150,1062,878,1066,1248,1210,1300,1196,1011,1152,1126,1226,1284,1266,1270,991,879,742,703,631,598,826,1210,1152,1242,1164,1216,1058,875,894,1010,1138,713,706,1068,613,850,770,1112,1198,705,954,891,752,991,1150,949,851,1326,1446,967,1094,1470,1138,637,798,973,609,581,927,1152,1476,1758,885,476,497,720,715,522,638,963,736,687,1100,1090,844,1306,1134,558,726,451,362,375,357,611,702,637,650,789,727,456,384,444,781,1072,1001,1232,1456,985,639,464,639,941,772,631,678,648,449,443,682,917,949,947,1324,1440,1023,832,758,678,888,1664,1850,1100,496,262,1072,1858,1720,769,433,337,339,397,394,383,326,537,1009,1192,995,969,965,711,618,499,468,506,496,477,496,364,294,346,309,300,321,348,357,400,441,458,510,491,479,434,697,652,736,993,1108,857,843,1018,724,1040,1208,562,627,436,637,916,894,1350,1388,1168,1318,1506,1620,1482,1350,1310,1218,1154,1276,1252,1160,940,846,1058,938,785,945,1138,1214,980,993,760,516,740,910,1282,1506,1354,1318,1404,1242,879,695,784,872,1406,1498,1230,1120,1116,1088,972,804,956,1180,974,1176,1326,839,691,447,405,323,253,286,300,318,332,377,509,508,506,698,565,460,546,706,601,751,1082,1116,940,948,1126,1110,713,535,504,451,473,512,487,495,557,508,471,820,1094,968,1108,1008,688,1058,1212,1038,692,602,613,561,741,869,712,722,732,568,771,938,1464,1406,833,747,942,1146,1234,977,1086,1024,802,1242,1382,1194,1402,1566,1284,976,891,863,918,1262,1588,1392,877,661,656,831,844,777,488,288,268,236,250,207,230,259,265,262,247,278,267,596,1488,1640,1318,1398,1002,455,614,672,538,403,520,645,841,644,479,433,607,741,502,465,414,734,1152,797,549,639,896,607,501,750,915,800,639,597,522,521,896,1352,1488,1410,1460,1578,1636,1494,1650,1594,1376,1560,1684,1664,1678,1388,1402,1474,1802,1818,1682,1192,800,1015,1026],[495,392,524,559,490,500,843,1164,919,706,794,1021,908,532,505,613,761,956,757,457,361,330,403,529,434,375,343,345,342,339,535,1001,1278,886,477,409,365,340,411,451,442,485,421,314,267,258,269,240,272,369,473,383,469,710,565,492,516,431,616,919,1034,1112,783,614,777,1144,990,890,839,918,936,1032,1312,1368,945,888,1532,1186,716,1180,1058,627,803,905,719,590,555,488,910,1456,1314,1130,1032,857,720,757,574,362,596,881,582,345,370,318,287,367,487,458,512,593,596,581,505,445,451,487,545,597,583,527,675,610,594,631,598,467,520,561,516,496,606,655,607,692,623,475,394,415,401,407,510,695,801,868,670,541,489,443,440,542,600,540,300,255,277,269,270,258,267,275,315,373,360,363,364,380,384,382,377,381,388,404,419,440,500,513,461,412,472,423,525,654,636,571,461,440,405,493,464,429,390,389,415,467,495,453,415,435,439,482,478,442,389,354,337,348,423,764,1194,742,385,444,454,846,1116,1014,1090,732,1012,919,657,1018,979,960,1224,1154,947,797,859,912,1450,1318,1166,739,529,452,352,426,843,1316,1140,634,444,351,304,321,333,690,2272,2492,1148,854,1240,1380,843,390,598,843,725,563,527,535,459,408,371,303,522,910,861,760,722,987,1384,822,406,289,355,797,1180,1382,1252,745,893,1128,686,583,656,709,812,614,353,332,684,1076,1156,937,1060,1178,688,785,700,360,385,492,767,748,1092,1170,827,534,546,1224,1478,959,828,509,526,607,445,701,854,735,598,616,1007,1032,768,356,365,451,528,570,519,698,704,646,687,769,761,615,487,523,464,401,314,317,288,415,475,440,349,679,1172,1204,1276,1036,845,1414,1526,1416,1354,1156,828,786,1084,1092,1216,1404,1526,1492,1308,965,908,954,822,809,565,411,412,414,418,467,467,478,619,1234,1558,1420,1310,1040,1230,1296,1422,1592,1652,1598,1300,1216,1208,1202,1182,1220,1346,1438,1296,1442,1358,1060,848,630,1104,981,582,698,575,1116,1628,1156,1082,703,527,463,636,813,567,608,663,677,1448,1722,1540,982,594,594,639,496,412,648,1009,1126,956,979,819,961,781,711,572,484,886,1304,1160,1010,1000,742,768,692,840,1042,1252,1438,1454,1216,954,773,650,450,465,409,578,748,884,1036,976,925,697,427,290,402,406,306,377,360,407,730,789,396,314,396,563,643,445,306,218,185,196,216,259,276,376,422,327,742,1478,1324,812,629,529,457,514,578,609,822,766,1140,1284,1166,1001,1028,1068,876,893,1498,1450,695,526,588,836,802,539,455,441,436,477,462,525,595,564,576,507,514,650,714,1094,1232,1448,1926,2018,1858,2048,2134,2178,2036,2198,2450,2530,2412,2110,2214,1926,1668,1532,1282,1044,830,626,552,548,591,611,763,902,612,532,806,1198,1396,1350,1218,1004,885,807,899,1038,1070,1200,1182,1302,1416,1416,1354,1292,1310,1248,1376,1510,1228,1242,1400,1388,1494,1500,1702,1864,1724,1470,1422,1490,1412,1124,1144,1340,1338,1294,1212,1278,1236,1250,1170,1046,1036,1070,1204,1244,1364,1274,1382,1576,1522,1220,1082,1262,1442,1278,1198,1510,1584,1528,1248,1120,1330,1346,1156,879,888,1284,1294,1080,1134,1246,1424,1542,1364,1400,1262,1322,1426,1344,1486,1354,1296,1294,1338,1570,1316,1184,1294,1404,1302,1254,1282,1380,1438,1422,1522,1514,1490,1888,1940,1532,1428,1003,736,936,986,1130,850,856,960,844,800,981,1420,1478,1234,1028,1056,760,1434,1214,1060,1382,1470,1572,1622,1544,973,720,1070,1002,691,855,1122,1001,1034,915,1004,1390,1394,1005,697,847,821,659,916,884,899,962,675,586,1015,1030,523,822,1274,1272,1194,832,757,778,491,310,339,642,1096,1362,1344,1238,1394,1510,1224,653,1126,1884,1772,1656,2110,2244,1924,1156,390,306,324,362,830,1142,1142,807,772,866,834,1418,1634,986,1154,1198,823,799,629,905,1042,853,689,688,747,992,1096,847,1106,1064,1178,2048,1562,1510,1446,1808,1686,1054,859,604,460,438,346,523,1676,2866,2714,1090,350,306,276,260,429,1128,1444,684,484,645,913,953,470,301,319,512,531,464,622,942,836,500,667,1196,1026,730,443,560,929,805,576,657,921,1282,1348,859,764,1042,1092,1030,937,874,695,532,418,426,373,329,605,776,513,393,538,400,695,924,989,1294,939,522,559,691,855,901,755,288,304,478,742,446,255,233,377,589,566,450,630,803,755,584,678,1694,821,613,455,361,356,323,345,350,507,728,705,550,416,326,439,648,501,390,525,421,407,560,596,573,536,430,251,292,303,286,388,502,542,558,539,423,345,354,284,225,261,262,258,456,523,540,572,567,526,433,363,469,567,565,576,705,552,540,602,621,609,517,356,270,266,252,312,773,1282,1376,1538,1636,1318,1146,1292,1248,1074,772,477,408,521,648,824,510,509,537,475,853,1414,1060,865,854,736,694,408,218,169,290,593,786,651,502,735,1350,1650,1514,1290,1220,1390,1634,1626,1316,1066,854,1007,1036,772,453,577,759,957,1242,1048,1274,1368,1270,1660,1870,1234,1300,1430,1332,1106,1150,1050,1072,1412,1572,1238,727,461,500,585,594,814,830,753,612,453,605,711,625,677,686,647,593,885,1224,1148,1142,1454,1694,1560,1086,735,901,1322,1322,721,573,484,431,805,809,516,545,802,959,912,1116,908,717,777,636,689,780,583,453,489,574,475,283,365,673,897,1134,1050,1282,706,385,386,447,487,547,579,606,660,680,584,449,369,398,428,491,651,582,571,528,441,412,483,968,1420,1194,1054,913,1148,1058,927,1023,850,692,730,699,785,895,1282,1232,1007,1116,1038,801,748,938,1158,1134,1128,1032,789,860,1274,926,1019,1108,929,994,1015,1180,1306,1092,766,648,749,883,890,935,740,857,915,1178,1434,1136,805,717,786,630,433,953,910,796,1240,1214,1136,901,648,807,835,833,1060,1100,1074,1086,501,366,785,1086,1322,1208,619,334,295,277,319,303,326,508,742,735,706,518,651,1304,1854,2002,2048,2032,2062,2164,2098,1894,1606,990,1202,912,688,749,918,1160,1216,1246,1378,1384,1268,1124,1204,957,756,820,612,634,706,565,464,442,453,546,670,1021,1007,657,600,803,1222,1402,1512,1216,716,457,533,1194,1776,1936,1562,1404,1150,979,880,959,1028,846,971,1136,1234,1784,1716,985,976,948,549,448,528,597,914,1212,1244,1376,1412,1250,1324,1512,1204,1068,1160,1190,1238,1372,1314,1368,1574,1450,1554,1622,1362,1332,1274,1212,1066,1104,974,1118,1420,1334,1452,1386,971,1098,1242,1294,1102,667,593,444,420,541,649,844,959,890,1076,1306,1388,1460,1400,1404,1600,1326,1272,1218,1226,1312,1412,1068,642,542,586,494,610,872,1028,1250,1224,1090,1142,1316,1146,978,855,767,490,307,385,794,626,952,1302,1064,985,962,888,841,1152,1214,760,939,1410,931,760,1404,1350,756,816,889,778,666,827,1112,1772,2046,938,592,809,1350,1274,712,611,655,593,1240,1804,1396,949,1140,741,432,424,352,361,518,656,585,587,846,982,1212,990,634,411,562,1054,940,631,656,669,766,830,720,849,919,1086,659,667,969,630,361,407,479,539,666,1126,1394,1186,729,741,686,810,1308,1318,849,557,398,522,1226,1296,588,342,330,350,394,336,299,442,897,1498,1486,961,502,400,404,427,428,647,623,496,465,910,1028,628,327,297,242,234,277,397,476,243,270,394,371,255,427,532,355,450,879,1274,1100,1002,1162,675,755,848,574,720,706,775,904,792,1024,1296,1070,987,1302,1616,1666,1430,1038,1092,1218,1302,1322,1196,865,818,1056,1116,1076,1134,1182,1166,931,794,644,805,1060,1214,1384,1478,1208,1002,1024,1024,569,776,965,796,1096,1004,836,1015,1344,1076,853,921,874,1120,1358,1354,1294,1316,724,495,637,442,281,308,343,347,398,630,1070,913,704,818,772,569,566,751,683,628,1076,1508,1122,944,989,666,518,503,514,528,543,552,421,636,1132,1004,872,1434,1442,1304,1454,1214,970,1158,1050,642,505,739,689,611,1001,1005,807,896,831,882,985,1092,1784,1614,833,779,1017,1046,1436,1174,922,1016,953,1284,1242,1226,1438,1406,1302,1092,1150,1118,1062,1124,1258,1176,977,897,777,820,1082,1048,582,314,307,268,252,224,236,247,246,272,261,302,281,409,1220,1786,1440,1276,714,464,783,717,446,368,456,636,872,903,835,585,579,736,496,501,585,1170,1538,1302,843,561,672,595,480,705,836,740,696,632,530,626,1014,1658,1706,1470,1524,1552,1226,1060,1184,1216,1698,1550,1590,1526,1548,1444,1506,1744,2010,1940,1564,1310,1166,1276,859],[405,514,591,562,573,675,1086,1078,726,590,865,921,689,525,525,554,540,714,686,541,436,365,428,505,452,380,362,315,382,555,608,819,1036,696,466,431,364,323,381,407,401,422,442,404,360,338,317,254,272,295,533,397,385,597,536,419,478,408,403,556,698,723,652,1002,936,1090,802,665,1036,1354,1178,741,907,1196,1168,982,1686,1302,1326,1438,1168,940,850,745,471,471,546,677,1168,1272,1272,982,921,733,685,720,511,305,408,450,393,364,368,341,211,295,430,452,462,514,549,497,423,373,391,494,568,630,685,583,879,669,479,498,419,407,468,479,421,424,456,533,538,579,551,514,445,406,448,530,651,560,411,432,375,394,334,345,467,580,631,460,264,342,458,477,375,347,370,451,436,421,373,364,381,381,386,398,401,381,387,436,460,430,451,455,439,415,419,380,563,588,412,487,404,432,393,417,408,404,422,516,505,460,504,516,421,432,465,541,506,445,406,350,353,392,385,440,473,383,373,433,458,778,978,1360,1144,846,979,914,828,1082,891,733,747,793,904,805,883,1007,1262,1246,1340,979,766,698,401,416,723,1124,871,511,401,328,298,335,399,824,1708,1538,855,659,623,702,492,398,382,492,567,523,539,525,398,340,382,391,544,829,590,612,824,894,1100,661,360,333,358,728,1152,1352,1152,725,950,991,689,689,855,841,783,545,342,382,636,924,1096,1028,1088,1152,979,1088,586,325,398,566,767,674,599,569,544,498,810,1526,1314,604,682,633,731,653,780,1058,1054,1078,900,987,1348,1262,938,562,620,433,419,570,515,458,473,513,539,583,544,605,403,451,510,374,394,466,351,396,525,437,386,788,1108,940,762,650,886,1826,1930,1440,1106,1282,1058,894,1238,1236,1192,1044,1456,1516,1510,1246,1042,968,1276,998,491,382,349,364,410,456,455,427,583,1566,1546,1266,1324,1304,1278,1264,1452,1550,1526,1486,1122,1023,1406,1680,1344,980,821,870,984,1246,1364,1372,1126,942,1562,1172,1276,1058,687,946,1074,1132,1246,805,487,550,769,614,464,780,825,893,1232,1578,1298,676,476,544,593,530,469,497,704,901,1012,1416,1242,1064,1186,1156,769,512,562,599,579,506,683,615,705,946,820,1086,1396,1410,1610,1976,1812,1570,1110,689,906,1046,1184,963,884,725,375,216,175,181,254,424,698,616,556,394,443,580,750,684,684,924,1560,1460,585,340,234,206,193,218,278,349,534,609,432,645,1028,986,1054,1136,956,627,633,632,732,1026,620,730,988,960,921,760,690,734,1114,1906,2112,1418,805,561,677,625,459,444,460,451,477,485,432,381,403,433,464,494,596,613,1002,1366,1710,2570,2552,1692,2062,2280,2450,2308,2162,2342,2498,2540,2324,2144,1874,1382,998,689,544,517,506,475,514,543,657,703,774,789,924,1180,1324,1270,1080,815,874,813,637,732,775,917,1088,1086,1172,1310,1272,1238,1322,1290,1122,1090,1144,1132,1166,1198,1500,1586,1476,1660,1782,1472,1494,1520,1306,1252,1092,1044,1246,1224,1272,1290,1258,1224,1210,1086,1158,1146,1238,1256,1240,1376,1428,1420,1256,1046,888,871,927,1208,1350,1284,1378,1328,1194,1132,1254,1396,1374,1172,995,1030,1152,1032,1074,1070,1250,1272,1354,1216,1450,1434,1242,1160,1184,1216,1146,1194,1224,1540,2084,1844,1374,1200,1242,1296,1364,1460,1534,1510,1400,1434,1408,1410,1202,1242,1398,1302,838,764,964,1066,1050,1042,988,706,710,872,977,1348,1514,1624,1244,960,915,1540,1594,1334,1396,1720,1842,1664,1324,882,789,1176,752,402,572,886,1478,1656,1344,1066,1260,1060,1136,899,828,655,678,1015,985,924,677,411,458,660,624,647,774,1194,1450,963,685,512,337,285,316,532,1004,1260,1274,866,839,1194,1052,647,651,1482,1920,1988,2084,2162,2344,1788,721,263,281,329,306,766,1015,1134,939,796,903,714,692,1004,705,1100,1370,1116,794,776,976,915,848,797,559,438,613,574,515,740,912,1064,916,871,1022,987,1424,1468,1424,1226,583,401,377,393,505,1820,3030,2392,1010,347,390,414,318,296,447,532,387,452,551,628,650,416,325,568,742,656,554,736,1306,1362,946,795,1814,1742,941,434,407,904,1132,1038,1078,1188,1296,831,552,728,796,772,794,967,1010,929,744,647,794,465,322,487,833,599,471,408,329,554,757,1496,1982,1126,402,594,830,677,695,898,432,287,282,356,304,321,338,689,1070,854,491,480,460,333,370,353,849,508,379,301,293,294,294,357,323,366,559,805,709,375,370,518,723,604,427,487,458,303,451,623,596,577,422,217,199,213,245,318,422,536,576,541,462,297,225,329,307,311,237,198,309,456,533,573,593,579,528,416,426,517,570,758,1036,750,597,600,619,680,590,459,325,236,225,281,717,1332,1726,1816,1786,1444,1308,1304,1276,1292,1021,494,360,360,591,656,474,901,1338,890,1012,1556,1296,608,522,791,709,334,225,211,518,809,1084,1432,1042,764,1134,1416,1270,875,834,1266,1596,1642,1300,957,812,959,944,571,489,985,980,969,1048,1058,1218,1166,1152,1274,1100,1168,1336,1250,1140,1190,1240,918,1124,1216,957,841,460,398,494,573,787,879,758,733,656,593,647,688,740,677,583,548,1030,1488,1296,1138,1284,1294,1146,1020,803,857,1152,1260,769,474,682,612,350,455,539,785,870,447,564,553,695,570,341,416,390,480,681,640,463,443,440,387,324,388,606,749,998,1204,1118,592,432,485,426,426,503,469,589,641,582,446,368,405,460,458,518,594,700,724,524,563,573,583,931,1030,889,839,786,905,857,860,966,865,935,1044,1042,979,708,1138,1266,1060,943,778,756,767,949,1120,1064,1298,1288,811,871,1152,992,966,1076,1116,1080,1174,1228,1266,1236,927,745,769,977,816,837,935,1074,999,1023,1266,1022,666,620,747,723,452,993,1208,836,898,982,926,832,834,949,1052,1272,1336,1424,1202,1108,794,453,371,459,931,1346,1082,579,566,777,664,362,375,516,454,401,573,872,1338,1974,2254,2174,2178,2142,1990,1960,1904,1638,1382,1058,1188,1140,1030,1234,1336,1288,1284,1274,1304,1398,1144,1108,1224,995,854,809,788,717,617,563,364,299,299,375,434,1082,1108,640,727,993,1200,1234,965,960,709,559,522,1172,1622,1572,1188,1204,1076,1010,869,1068,1216,1130,1266,1158,865,1018,994,940,922,691,530,513,736,916,860,1082,1246,1268,1290,1590,1422,1492,1252,1146,1226,1194,1170,1164,1150,1466,1618,1318,1272,1328,1222,1160,1140,1212,1402,1206,945,1384,1704,1554,1402,1094,1090,1434,1180,865,486,444,558,459,450,624,730,908,1046,918,938,1012,1310,1354,1258,1142,1132,1238,1254,1308,1578,1338,1312,847,543,631,1494,917,529,461,692,1078,1150,1034,1120,1166,1204,943,697,530,416,359,302,403,731,1042,942,863,1052,1316,1040,744,1028,987,630,766,1182,1226,998,1274,1272,1054,1066,894,826,667,638,902,1248,1122,556,575,921,1300,1440,1112,844,779,703,1015,1034,709,458,329,368,440,410,397,417,561,703,550,483,943,1410,1466,1266,968,825,973,1104,1100,1060,791,526,680,798,668,757,1186,1384,619,479,828,604,453,659,753,779,870,1026,1164,1476,776,465,576,789,839,877,804,692,573,326,317,285,323,255,293,339,348,476,449,440,798,1104,1386,847,555,458,441,389,495,702,635,506,843,1412,1148,636,325,279,268,321,327,322,430,281,284,549,659,438,434,451,333,401,711,1406,1698,1554,1352,822,749,869,802,763,997,1166,1086,940,763,1144,1470,1610,1866,1688,1626,1218,1088,1478,1216,972,1180,977,717,877,1260,1366,1208,1258,1224,1100,849,734,774,835,948,1210,1342,1434,1098,930,900,924,532,637,678,531,641,664,522,911,1416,1080,775,818,718,770,1316,1098,883,1003,658,780,1088,636,315,297,444,699,860,1216,1614,1170,869,893,879,713,647,755,650,553,858,1358,1274,941,686,453,488,484,500,532,541,468,485,1084,1538,1406,1312,1378,1078,1222,1384,1446,1372,1000,629,462,705,990,798,546,611,768,880,1017,1156,1230,1274,1536,1654,1290,1078,1232,1226,616,1064,995,816,702,696,1070,1262,1302,998,900,1278,1422,1440,1334,1362,1206,1108,924,997,1078,897,810,788,737,466,344,268,228,246,245,255,253,247,238,235,263,273,298,619,1162,1204,960,603,672,1152,822,446,412,401,529,774,913,789,753,708,1032,1116,1094,1094,1244,1152,1170,1138,1180,1188,744,482,808,929,775,651,652,716,796,965,1182,1120,965,975,1084,1286,1246,1306,1202,1472,1512,1414,1562,1542,1374,1534,1636,1816,1874,1652,1542,1344,1262,846],[512,561,617,546,628,990,1104,924,658,512,620,633,529,397,475,506,411,430,472,554,454,355,336,387,468,591,624,435,557,642,489,860,781,530,429,420,412,374,366,407,445,496,473,436,470,411,379,307,276,271,249,270,347,423,409,440,499,452,415,619,639,512,807,1230,1032,827,521,621,871,1252,1538,946,862,911,1196,1268,1138,1202,1744,1388,819,830,822,694,560,450,444,832,1302,1248,890,814,743,654,664,584,430,316,349,375,366,324,240,349,338,291,349,395,363,412,475,436,439,404,410,633,840,965,1044,1030,984,699,661,695,496,421,435,439,472,481,424,658,564,479,487,447,398,410,445,543,647,420,297,273,289,279,299,318,561,837,849,651,590,739,844,756,597,540,699,852,672,441,368,401,404,387,387,399,406,407,396,387,442,470,416,409,439,507,528,467,396,410,298,361,375,386,384,370,390,457,558,556,424,369,539,667,608,513,527,498,417,448,421,297,326,336,298,278,369,419,437,659,739,767,920,1310,1256,1396,1452,892,821,1148,1078,730,490,394,672,905,684,876,1120,980,880,849,905,1002,613,584,673,702,561,419,397,365,322,350,520,891,1120,964,923,931,1180,1238,774,587,528,684,662,438,437,379,373,444,396,384,525,873,818,731,648,724,868,640,339,419,641,760,810,948,591,692,717,908,1074,700,485,582,519,354,276,462,673,716,754,663,771,1238,1230,1164,626,365,801,1206,848,539,472,367,345,432,694,757,562,365,371,281,446,808,1134,1068,1208,1202,1058,1196,1304,1268,1094,848,574,378,493,597,430,393,483,451,445,632,464,438,385,473,466,403,440,502,357,296,359,397,483,678,1023,690,498,717,763,1376,1566,1230,995,932,871,944,1208,1696,1328,1198,1574,1640,1500,1340,1126,1140,1144,728,458,413,323,317,332,358,352,468,692,1106,1582,1738,1356,1322,1394,1376,1466,1430,1310,1432,1306,910,1144,1298,1370,1182,785,742,973,1222,1228,1126,934,1364,1748,1656,1534,741,425,528,502,805,963,674,500,629,675,371,357,680,902,1170,1324,1192,761,403,444,508,497,444,509,510,559,903,1218,1448,1190,1036,1200,1192,849,505,606,1042,996,677,736,580,767,837,684,1060,1324,1466,1948,2178,1788,1582,1306,813,906,868,871,541,469,529,379,265,275,229,289,704,1310,1266,1042,612,516,691,832,816,781,1006,1786,1684,535,315,238,200,210,250,275,319,473,441,419,548,480,468,804,1092,674,547,626,857,837,828,662,964,1240,985,701,495,663,645,510,695,894,865,566,466,451,444,509,514,447,447,395,388,423,414,406,402,393,432,468,590,826,1050,1372,1684,1534,1594,2002,2372,2482,2532,2362,2342,2410,2370,2170,1798,1220,713,655,648,515,465,487,473,471,506,517,456,660,1080,1350,1374,1188,1005,826,716,764,570,698,1056,1350,1506,1318,914,987,1220,1202,1286,1276,1296,1144,1126,1156,1120,1166,1404,1642,1654,1620,1720,1406,987,1252,1378,1324,1236,1124,1064,1010,1160,1324,1274,1238,1268,1368,1334,1256,1244,1026,853,1042,1224,1390,1322,1070,852,886,1013,891,925,1009,918,942,1170,1278,1266,1352,1346,1232,1102,809,1004,1017,968,1250,1218,1470,1276,1152,1340,1416,1240,1154,1076,1082,1262,1330,1218,1160,1156,1302,1528,1260,1166,1230,1438,1676,1548,1496,1454,1326,1308,1300,1364,1142,934,976,1030,808,904,1266,1272,1168,1290,1218,951,908,1066,1174,1206,1208,1292,1100,996,1220,1222,881,795,993,1264,1488,1570,1084,758,1030,1144,827,669,704,1012,1654,1692,1400,1032,1082,796,1242,1202,720,1072,1330,1154,1112,835,597,591,499,384,481,872,1019,880,711,618,431,316,332,332,345,532,874,1060,993,622,582,642,584,514,799,1576,1938,2066,1910,1548,1498,992,416,242,254,358,392,600,670,563,624,772,993,881,434,427,387,538,432,672,782,1050,1210,893,792,852,470,394,486,516,675,792,1858,1860,1456,1234,674,670,871,969,1404,1498,670,390,310,382,372,992,1514,1346,719,320,431,498,543,321,297,405,680,791,644,437,481,625,943,1306,1026,712,529,573,917,1870,1470,703,1178,2010,1428,709,738,1108,1460,1300,1042,1042,1316,907,632,685,672,608,668,946,863,769,774,1084,1542,764,396,424,548,355,302,335,341,449,698,1398,1836,1021,307,388,627,564,519,874,702,566,521,496,563,440,390,764,1162,820,431,290,302,309,351,387,379,408,420,401,543,549,284,284,232,303,573,767,755,613,715,1032,885,408,371,347,340,326,384,539,599,618,486,276,211,255,269,282,367,541,581,550,518,405,319,366,336,289,237,227,262,359,500,567,603,604,572,439,299,421,552,912,1198,902,677,669,650,655,680,625,389,290,257,278,416,1034,1704,1778,1516,1414,1572,1528,1268,1120,1296,781,577,426,994,1146,539,648,1020,883,825,965,958,799,739,874,962,706,375,439,730,813,1478,1936,1078,839,922,1308,982,619,652,1344,1456,1260,1166,1076,1280,1560,1156,913,1056,1366,1152,938,1003,1438,1236,1188,1030,808,974,1318,1240,1150,913,894,1240,1122,1168,916,658,493,396,406,504,727,902,843,649,616,728,875,878,882,688,613,615,963,1470,1310,1238,1354,1520,1456,1338,1066,1024,943,726,641,473,459,825,832,397,337,481,983,1082,767,486,416,607,579,474,445,327,293,458,473,443,535,604,530,507,572,745,742,968,1242,855,396,401,450,390,469,722,865,907,697,540,457,418,422,485,626,739,710,674,597,573,631,637,544,434,563,939,1244,957,572,480,581,959,1066,1130,1232,1050,895,659,800,1038,1110,845,845,863,908,982,1078,950,1054,1108,916,990,1338,1262,922,1058,1260,1354,1064,902,944,1202,1148,1158,1054,1300,1292,895,627,810,857,866,1194,979,741,653,725,808,553,815,1244,959,642,886,1254,1688,1998,1600,1382,1870,1888,1620,1078,1046,1021,655,368,426,703,1212,951,644,761,1140,792,366,324,340,364,446,783,1562,2096,2410,2688,2688,2580,2402,2358,2400,2342,2222,1648,859,976,1464,1550,1354,1146,1200,1248,1268,1882,1684,1130,1224,1296,1194,1194,1452,1748,1044,432,367,403,427,338,307,368,711,703,562,800,992,1158,1170,1156,1368,698,437,561,968,1308,1318,1260,1290,1332,1086,1026,1228,1196,1028,1036,1086,880,913,821,868,750,628,714,692,977,1320,827,929,1192,1288,1388,1382,1276,1454,1508,1232,1052,1144,1196,1204,1174,1404,1556,1328,1212,1314,1202,1212,1262,1220,1182,1166,1266,1554,1496,1404,1007,1106,1102,1046,669,394,438,505,505,468,658,1092,1234,918,1046,968,989,1158,1122,1012,1060,1114,1196,1396,1184,1344,1820,1302,834,604,802,964,813,595,797,760,514,814,1176,1262,1094,1184,1034,684,1132,995,704,469,296,357,690,885,711,838,1016,1312,1150,1300,1252,843,636,809,1252,1550,1506,1430,1226,1362,1158,868,610,584,630,811,747,606,645,622,748,866,1114,979,952,796,862,757,1344,1124,480,416,518,469,388,380,335,382,327,310,433,705,1306,1442,1292,1136,1009,853,850,1108,1294,1256,1086,974,605,389,480,682,798,567,487,534,426,493,701,740,738,535,777,1244,1400,822,505,750,915,813,762,820,1372,1001,316,284,353,318,304,286,282,323,727,880,336,293,502,930,658,641,810,780,560,597,583,547,986,1926,2216,1146,539,512,401,297,290,296,304,503,410,337,894,1118,656,405,398,395,381,549,1268,1382,1202,881,937,1030,966,852,656,890,1168,1312,1088,609,911,1180,1664,1796,1484,1464,1050,1007,1360,893,628,791,733,828,1116,1384,1262,1206,1274,1268,1260,1150,915,859,952,680,830,1090,1298,1252,918,859,907,698,607,536,451,486,618,888,1114,1000,738,835,843,546,444,1034,1086,756,615,558,744,1028,645,476,425,791,1152,1060,1228,1392,950,736,885,885,783,669,698,741,606,601,842,1001,641,399,430,492,500,433,439,488,434,680,1386,1548,1270,1294,1328,1218,1266,1326,1458,1334,799,614,635,938,1102,774,667,684,860,855,1112,1322,1282,1484,1698,1512,1030,1166,1108,735,420,502,397,766,835,807,1176,1208,1044,1068,813,1136,1606,1804,1322,1296,1324,1546,1484,1246,1160,973,790,690,365,274,307,283,235,251,271,271,258,243,224,233,267,256,260,535,1562,1190,869,804,821,943,649,424,383,360,578,1106,1222,634,640,623,1004,1372,1394,1200,1260,1444,1474,1578,1646,1348,990,649,1080,1316,1066,736,626,698,802,740,733,730,714,700,733,1134,1080,1090,1192,1360,1220,895,828,1040,1360,1594,1692,1650,1366,1520,1582,1376,1368,1306],[572,575,580,546,850,1094,835,677,516,430,394,382,404,352,354,345,336,312,372,391,388,480,451,366,498,729,813,615,915,755,463,468,428,394,487,747,772,574,432,393,449,626,484,539,645,535,444,390,356,275,257,276,301,345,432,476,478,494,835,1022,828,810,1282,1264,1166,1007,899,1158,1040,929,1424,1266,1108,944,988,1300,1374,1476,1456,1248,1028,881,611,492,660,546,414,860,1230,951,536,495,700,1130,1034,583,346,342,381,324,275,220,271,543,557,383,395,432,365,319,373,420,495,471,461,601,833,880,923,924,757,677,713,708,485,419,424,448,607,597,650,683,632,612,402,483,430,449,492,670,501,349,271,258,265,267,287,360,616,827,725,608,771,902,821,744,785,830,957,1016,816,520,411,403,354,350,365,387,395,419,398,420,450,425,426,466,545,719,667,597,372,308,344,361,375,395,413,377,341,379,408,350,439,561,668,810,957,818,619,514,514,502,362,504,607,345,336,311,583,637,665,1100,1364,1226,855,784,870,977,689,455,1094,1670,1592,1152,854,463,393,409,327,569,838,764,752,753,901,1066,728,626,594,705,588,404,495,489,350,482,741,1128,1508,1072,849,1056,1808,1744,1380,1100,819,861,681,413,417,590,821,815,617,537,641,860,1026,942,877,897,858,943,651,567,980,1056,1070,858,520,684,745,869,879,523,338,359,247,274,301,670,904,918,788,1044,1188,1248,1318,1136,626,692,1348,1802,1252,863,696,698,466,438,456,711,645,496,598,473,423,846,1266,1152,1024,1028,753,1042,1428,1452,1262,999,720,586,591,786,620,463,428,379,462,607,628,484,354,393,544,588,508,438,332,295,298,317,492,1066,1328,933,805,783,710,600,731,1194,1284,1156,1112,1182,1512,2458,1432,1170,1288,1344,1344,1124,1116,1352,1102,858,481,398,299,302,317,326,318,508,773,1086,1598,1516,1264,1068,1294,1544,1234,1180,755,898,1024,928,1001,1142,1302,1186,712,479,740,1162,998,1022,738,1050,1172,1242,891,491,493,533,760,940,631,799,835,767,435,309,364,554,796,1050,1042,1112,760,553,661,560,451,424,492,477,580,680,751,1010,1174,1116,1180,1120,805,489,697,1412,1224,881,1132,965,749,658,786,1260,1554,1560,1496,1300,1112,1086,704,413,522,798,957,614,843,1520,1012,252,238,231,257,603,1032,1478,1256,596,593,1010,953,571,546,475,767,843,367,245,205,215,218,266,327,462,487,379,484,433,451,444,692,854,566,685,1050,1262,810,530,631,869,954,782,785,506,611,623,472,399,418,520,510,459,420,461,567,593,590,626,454,381,438,437,398,396,410,449,472,490,613,1018,1302,1216,807,894,1534,2154,2430,2526,2490,2362,2276,2230,1674,901,474,460,735,698,508,416,412,451,479,413,399,669,1076,1310,1248,996,725,619,767,857,640,444,670,1238,1594,1586,1354,824,777,775,1060,1194,1214,1328,1202,1200,1238,1220,1526,1686,1664,1516,1550,1396,841,623,868,1138,1404,1342,1100,1042,1120,1394,1364,1054,1134,1378,1474,1410,1042,1132,817,483,672,991,1320,1282,1126,1030,1204,1274,1120,1038,1021,1042,1048,1188,1256,1290,1352,1248,1180,1018,1058,2046,1848,1162,1272,1360,1278,1376,1312,1188,1178,1296,1312,1384,1462,1470,1274,1126,1120,1122,1218,1168,1108,1058,974,1258,1600,1404,1372,1216,1226,1214,1158,1532,1278,733,943,1342,1076,846,1078,1670,1722,1552,1186,1182,1100,1164,1402,1340,1202,1350,1334,1278,1064,578,724,886,1062,1246,1640,1264,820,830,1052,1076,949,789,697,932,1284,1192,1164,1158,790,849,1172,1010,859,1384,1294,960,658,480,830,976,555,642,879,991,1108,939,743,477,315,326,333,341,351,540,680,557,562,579,690,799,766,563,1015,1858,2052,1870,1444,1214,904,816,454,243,302,649,744,481,388,471,788,862,995,1044,567,360,410,491,472,487,717,1138,1138,985,794,979,523,367,464,719,767,772,1598,1966,1884,1716,802,495,448,421,678,795,428,328,286,299,258,337,609,772,448,422,650,840,993,415,292,422,883,923,724,508,431,844,1848,2076,1072,706,587,553,380,440,766,919,894,1092,1232,1072,814,1320,2148,1254,697,678,731,698,753,725,813,795,939,1126,803,713,697,1078,1758,1476,655,390,367,315,419,611,552,377,639,1136,1770,1124,438,513,608,664,525,785,1052,890,607,471,389,318,336,448,914,807,452,413,480,493,477,456,451,445,422,418,549,452,270,248,232,258,435,766,825,589,531,797,864,389,315,257,294,421,406,449,588,633,591,466,353,260,213,233,279,391,543,580,537,496,454,444,386,309,243,244,255,301,437,560,576,607,594,453,333,382,502,612,602,567,599,526,533,617,743,777,622,516,348,295,301,792,1378,1308,1236,1298,1472,1696,1424,1042,1256,1164,853,589,728,718,692,778,825,890,831,953,962,764,845,1030,1268,1324,948,802,749,679,882,1086,765,749,1122,1448,917,542,527,761,888,1015,928,819,1020,1210,807,1007,1064,1208,1520,1312,1408,1460,1188,1076,811,870,1244,1218,1196,1138,743,705,1352,1340,1130,670,419,361,390,518,655,844,805,594,470,570,949,1134,1023,742,601,697,758,988,1236,1176,1384,1312,1088,1066,1354,1198,1368,959,471,385,393,581,833,638,441,500,640,1148,1136,877,497,619,788,776,772,706,594,342,350,493,703,799,659,488,648,880,802,744,1122,1264,780,383,318,365,386,475,630,1090,1202,941,704,577,514,455,526,791,827,623,443,444,530,445,539,538,447,471,550,552,532,667,691,709,1012,1100,1256,1208,1026,908,788,738,1072,1342,1064,1007,750,1184,1102,1096,829,859,1186,990,777,1064,1166,913,853,1186,1242,995,630,498,837,813,868,1004,1310,1428,1020,655,662,747,802,1194,879,727,695,762,799,731,866,1260,1294,988,1384,1720,1936,1802,1670,1736,2098,1858,1608,1488,1212,1054,933,421,464,874,1216,747,425,522,863,675,403,366,332,382,531,1218,2150,2050,2292,2590,2664,2586,2510,2510,2444,2498,2464,1650,777,691,1342,1588,1332,1220,1108,973,1246,1566,1378,1328,1250,1318,1392,1346,1246,1384,810,563,534,526,498,362,257,262,329,377,403,489,774,1112,1042,882,767,436,313,565,865,1156,1294,1126,1332,1444,1100,1116,1266,1152,1226,1488,1618,1346,1190,1094,1026,827,649,651,756,924,1340,1174,1204,1328,1550,1560,1482,1356,1428,1606,1372,1098,1202,1268,1234,1240,1534,1446,1294,1238,1284,1320,1378,1378,1246,1354,1538,1328,1072,783,1056,900,1098,1202,1166,787,522,551,541,543,664,884,992,1334,1220,1005,1062,1080,1190,1316,1114,1044,1130,1282,1148,1010,1124,1154,1082,795,537,550,516,524,699,943,935,645,571,747,1018,1021,1262,1009,836,1256,1398,1280,1084,792,616,729,1068,952,998,1158,958,915,1364,1388,1158,966,970,1228,1280,1586,1498,1070,1254,1186,928,674,569,611,636,486,683,926,914,1038,897,780,725,1078,1032,962,848,1786,1874,962,616,686,800,587,361,303,310,231,229,341,336,908,1462,1362,1228,1046,987,1013,995,880,1128,1774,1508,663,394,393,451,711,546,467,505,455,381,461,550,672,674,820,1132,1504,1190,541,832,997,625,550,913,2002,1502,489,285,334,372,357,284,260,350,697,714,321,264,363,620,915,788,954,1478,1374,977,753,1078,1910,2292,1860,1024,571,530,545,319,231,257,371,678,579,341,596,697,511,405,610,606,415,845,1508,1382,914,579,720,807,800,791,874,916,832,863,981,889,1005,1118,1176,1002,857,1194,1318,1086,976,873,921,900,1086,1054,892,922,1182,1636,1616,1428,1208,1188,863,623,692,721,977,1350,1446,1322,951,1294,1350,739,554,518,512,513,791,1078,964,582,628,1042,854,567,563,791,1066,978,454,458,469,729,913,706,732,1252,1212,992,969,976,835,643,824,843,748,674,646,770,717,709,641,481,373,407,398,431,477,420,415,495,535,621,900,1256,1230,1222,1446,1488,1466,1606,1392,1216,792,691,1038,982,901,787,842,901,869,967,1210,1230,1100,1312,1534,1464,1064,977,777,747,758,557,362,541,695,888,920,689,581,872,871,1214,1548,1288,988,1162,1302,1436,1448,1200,1264,1094,741,502,331,290,307,312,295,284,271,260,246,245,241,233,244,234,268,383,1036,871,685,680,700,561,321,287,324,335,451,1044,1214,850,493,394,855,1256,1160,1090,1306,1428,1490,1586,1276,1248,1238,803,969,1226,1024,818,763,810,817,574,676,924,1064,860,698,719,751,765,806,910,971,928,763,750,854,1398,1426,1230,1582,1622,1658,1466,1212,1458],[503,537,522,645,1094,838,430,445,461,552,496,402,307,298,360,384,342,360,363,340,375,428,453,498,505,487,517,670,1018,708,398,389,405,365,595,965,938,667,566,499,442,472,462,535,671,698,552,539,483,449,513,409,393,429,477,487,467,492,1142,1466,984,918,1098,1294,1500,1180,1340,1362,977,810,1038,952,1270,980,653,868,1054,1504,1574,1288,1132,1002,647,448,573,478,435,723,898,602,357,430,671,1026,1352,647,345,390,321,248,252,290,437,511,475,442,387,443,355,331,336,374,421,437,462,569,818,822,521,408,462,656,711,822,546,538,541,515,472,396,402,476,820,1064,579,511,473,439,590,634,453,316,249,233,227,249,265,342,493,569,583,578,677,767,825,728,672,890,1072,1058,837,520,436,389,319,322,329,331,322,378,406,420,430,401,427,457,433,415,455,470,384,404,402,355,356,365,377,377,348,367,423,504,849,1009,1050,1070,1038,1064,830,533,521,474,608,1108,1018,418,330,430,452,553,774,1106,1186,970,793,719,733,988,890,539,1212,2400,1614,1168,1128,542,272,366,604,1036,1316,1128,861,750,916,1124,983,728,395,385,401,368,466,736,745,883,1100,1288,1504,1290,919,957,1390,1302,1154,1038,960,926,658,603,594,956,1206,1013,1032,929,872,969,991,818,883,948,929,607,539,556,730,848,1170,996,957,893,583,490,512,440,348,339,321,318,348,574,996,870,594,882,1312,1382,1310,892,680,1005,1654,1650,1700,1620,1274,1110,1012,753,682,735,662,882,1174,814,609,885,1052,1186,1296,1106,880,1278,1468,1230,1006,807,957,905,719,577,736,606,463,570,577,494,523,434,345,390,572,733,702,526,393,376,341,319,671,1610,1684,1586,1544,1098,972,805,1001,1302,1254,1156,1132,1040,1268,1526,1250,991,1072,1430,1262,1142,1220,1188,1044,1204,645,355,320,320,328,337,397,751,1190,1304,1414,1258,1362,1112,1432,1546,1346,871,428,363,521,724,615,602,954,1112,678,441,498,753,805,973,850,590,636,869,898,627,475,651,1110,865,767,1420,1036,537,525,422,405,458,702,1009,869,1196,1112,1110,1126,883,572,455,492,404,557,946,1240,1294,1272,1186,1200,985,612,404,735,1282,1262,1134,1220,1352,1368,1256,1332,1274,1310,1380,1284,1394,1458,1198,622,373,415,841,1082,689,880,1062,613,290,245,232,220,456,728,932,734,492,589,767,838,613,728,444,425,486,398,273,242,261,281,310,376,507,475,433,505,407,407,558,935,1138,721,623,1080,1180,750,657,546,430,433,770,925,531,383,385,422,453,479,449,457,481,457,431,528,682,736,649,530,456,443,468,451,420,448,487,538,571,608,794,1206,1182,737,657,1016,1668,2268,2486,2486,2226,1766,1248,665,449,402,427,613,601,503,476,464,454,448,520,809,1168,1324,1226,1102,781,603,572,819,964,660,454,640,1096,1240,1268,1302,904,669,882,1132,1216,1278,1140,834,873,1064,1120,1422,1640,1842,1366,1184,852,664,830,1110,1368,1566,1382,1106,1042,1230,1374,1306,976,1184,1400,1388,921,483,508,461,652,875,749,1074,1240,1228,1250,1160,1012,901,984,1118,1076,1140,1242,1306,1244,1366,1318,1212,809,1052,2314,2204,1344,1576,1582,1268,1332,1286,1100,1168,1368,1448,1362,1240,1338,1314,1300,1316,1284,1278,1276,1252,1338,1144,1058,1142,1080,1284,1498,1514,1282,1150,1438,1350,858,894,1156,974,881,1138,1432,1390,1276,1216,1298,1340,1366,1380,1362,1184,1242,1246,1260,1130,745,907,760,654,1072,1376,838,626,888,1054,1042,919,1052,857,1118,868,750,829,825,860,1010,1378,1378,1264,1354,1096,752,613,555,893,935,1438,1238,929,1036,781,689,458,289,281,280,323,547,517,557,715,536,356,381,383,567,689,650,1150,1804,1878,1572,1158,962,864,864,443,219,414,918,1144,534,379,875,2068,1560,1086,1268,836,421,440,523,568,558,775,1178,922,1006,672,745,426,306,575,840,791,894,1466,1892,2220,1764,903,822,713,534,487,431,343,265,276,284,272,298,321,297,238,461,630,634,538,334,283,268,277,343,430,448,513,611,1246,1246,700,669,649,608,496,348,466,790,1052,1258,1074,1250,1276,1778,1882,1150,602,658,857,1064,904,692,830,888,996,1140,849,700,510,742,1252,1408,813,467,531,687,936,1086,843,358,488,1003,1620,1040,680,892,748,733,607,660,907,563,368,416,471,494,449,416,813,962,717,542,529,470,432,424,435,428,406,382,359,300,225,213,315,370,343,557,664,477,430,522,844,672,348,294,262,358,493,470,468,606,617,561,471,300,227,220,261,305,483,563,541,482,491,516,457,357,254,252,239,260,334,503,549,577,615,541,376,290,369,497,560,540,559,415,479,521,561,645,630,589,435,283,221,328,572,740,1016,1208,1578,1610,1466,1086,1058,1162,871,626,658,578,778,930,883,828,609,904,1112,1058,1122,1222,1424,1362,1476,1412,1058,920,782,816,733,858,1454,1222,711,533,481,417,650,1078,758,497,841,1196,1112,901,1054,1236,1334,1382,1528,1260,853,1030,863,1144,1190,1148,937,739,543,1406,1692,1488,1170,658,430,354,472,597,768,913,673,440,432,585,858,982,789,710,825,836,915,1100,1284,1320,1328,1266,993,956,1088,1232,1060,650,444,644,912,609,600,355,385,724,1260,1362,1100,823,457,456,697,626,437,352,483,448,432,366,436,566,481,348,479,514,548,830,1256,1238,636,417,397,386,337,393,448,845,1216,1196,910,730,611,545,641,837,679,398,336,502,483,366,397,498,567,525,431,559,865,1108,1204,1264,1172,1416,1710,1484,1362,1176,905,650,720,914,1018,966,737,859,1116,1118,904,990,1076,990,894,1110,1288,897,785,1044,874,822,647,512,655,827,1228,1598,1368,1218,1152,746,598,712,773,1076,866,889,1052,943,857,835,739,1048,1386,1116,1476,1638,1714,1678,1738,1814,1774,1620,1676,1720,1254,890,1018,582,426,680,697,480,529,720,668,432,384,419,406,433,627,1468,2058,1772,2120,2482,2600,2544,2508,2490,2414,2460,2126,1356,978,819,1290,1398,1316,1316,1230,1088,1176,1350,1288,1230,1198,1396,1372,1202,935,456,536,607,526,443,435,363,258,285,260,250,300,534,1100,1060,948,692,461,445,468,713,838,1110,1548,1404,1120,1228,1324,1542,1540,1218,1186,1278,1270,1288,1382,1372,1086,834,820,884,897,840,1138,1266,1362,1520,1448,1260,1208,1268,1500,1490,1268,1130,1162,1328,1296,1392,1352,1090,1180,1466,1574,1450,1404,1296,1136,1252,1416,1206,848,854,1228,1304,1210,1246,1412,1330,817,771,648,614,1206,1042,822,1202,1120,1072,1320,1120,843,1040,1362,1306,1024,908,1023,1206,1190,1076,1094,1016,716,489,381,539,879,735,790,1044,1042,988,948,968,896,1064,1296,1112,916,1116,1424,1190,852,895,1122,1042,1220,1182,876,809,1060,1400,1264,855,1006,1078,780,1084,1576,1230,1092,1104,1184,967,613,422,497,559,590,565,668,1294,1220,673,445,515,631,859,803,912,1046,1124,1024,907,959,491,320,409,371,280,337,417,465,915,1250,1312,1400,1302,1152,1294,1030,724,1020,1512,1422,986,638,375,894,1742,1236,1352,937,651,477,539,613,607,751,717,726,1330,1412,661,770,1086,714,590,620,1098,839,400,353,364,322,343,413,450,374,450,441,384,288,310,478,916,770,806,1456,1314,893,554,914,1658,1288,588,498,507,370,324,244,230,268,359,489,461,351,322,253,314,351,450,357,342,795,1114,969,810,858,1046,1188,1246,1318,1346,1128,912,1080,1270,1220,1066,1160,1382,1242,1016,1176,1466,1466,1166,1072,1220,1450,1560,1012,990,1176,1388,1822,1640,1378,1108,1106,923,811,1110,1176,1102,1130,1134,745,735,1546,1692,800,664,524,491,478,521,430,443,631,675,516,361,571,941,725,764,1262,745,605,639,1034,1238,1026,1148,1398,1210,1018,1015,753,726,608,680,832,828,764,743,855,780,662,515,385,382,407,381,391,433,451,446,447,434,511,785,982,1006,1198,1384,1372,1524,1548,1418,1070,734,686,793,824,689,719,951,1118,872,1028,1278,1372,1015,1126,1302,1326,1268,1274,1118,1034,1180,1124,527,554,848,1036,671,453,480,896,1390,1638,1708,1462,1332,1306,1318,1200,1268,1110,1188,1122,936,525,326,297,268,294,294,277,280,272,264,255,244,239,247,243,270,319,433,562,717,778,550,353,278,292,377,332,315,591,799,677,502,678,922,1260,1492,1466,1416,1370,1368,1416,1298,1338,1350,1126,891,812,942,1012,847,849,891,636,733,1004,996,765,627,613,687,756,786,727,806,959,826,880,914,1460,1224,951,1268,1566,1672,1582,1750,1688],[449,520,532,908,1054,527,364,401,568,813,705,482,364,400,455,425,398,398,362,327,304,293,328,396,516,432,544,656,636,436,325,380,392,378,639,1015,930,576,626,529,400,387,447,440,493,570,727,1044,948,784,1012,684,568,604,594,546,478,379,596,763,720,901,1080,1054,1192,1128,983,811,757,924,905,1072,1600,907,476,531,712,1136,1660,1400,868,729,808,699,458,382,451,499,714,628,380,538,561,705,1014,718,536,375,249,315,332,333,417,378,535,617,507,451,386,389,371,374,394,469,644,604,513,514,618,774,841,1038,946,844,596,668,698,541,454,386,331,458,649,987,833,536,414,456,647,538,429,344,254,225,224,241,261,314,362,392,423,563,608,593,741,785,833,1040,1070,1116,885,509,411,409,350,326,314,322,344,383,427,439,404,386,416,388,422,459,432,441,417,398,383,387,414,421,399,438,470,477,555,637,952,1474,1368,1034,1226,1248,1102,711,454,659,1166,1044,599,387,288,516,511,490,946,1086,978,1036,1010,736,791,1304,1220,567,834,1780,1256,819,758,461,416,643,1094,1798,1788,1306,893,852,1078,1244,1404,993,379,457,830,673,675,1018,957,794,1272,1282,1564,1554,1018,910,959,1300,1932,1368,915,876,728,964,735,957,1240,834,660,794,681,758,868,788,827,891,860,462,374,475,508,767,1136,1214,1164,1086,945,689,439,446,454,450,444,410,433,427,509,672,675,958,937,1140,1192,880,553,518,973,1210,1690,1830,1372,1324,1340,1500,1902,1104,619,782,1144,908,588,647,891,1004,1182,1100,1092,1290,1054,744,755,599,706,1015,1110,726,1014,784,548,664,546,384,300,302,372,402,447,544,623,501,380,394,335,327,855,1516,1330,1432,1598,1198,894,1062,1262,1214,1268,1252,1100,913,1070,1372,1384,1074,1460,1740,1460,1396,1384,1328,1216,897,485,342,351,336,314,360,453,777,1030,1142,1306,1044,1072,1064,1050,1166,1232,710,505,440,447,517,508,670,1304,1530,981,466,395,697,856,952,976,725,963,1552,1578,931,681,966,980,820,998,1330,1036,1104,1160,662,509,694,799,834,1164,1356,1582,1284,1074,1023,986,1044,762,631,870,1208,1332,1336,1042,1142,1134,886,671,582,874,1278,1354,1328,1262,1470,1618,1484,1354,1086,1186,1398,1470,1490,1550,1216,717,374,360,563,708,820,1224,1230,776,345,222,233,225,245,228,210,285,322,396,639,824,648,813,863,676,761,821,603,436,391,385,333,315,432,366,361,408,362,286,464,740,670,458,524,641,753,739,842,912,654,544,442,406,415,362,407,444,425,448,445,534,509,502,481,528,565,544,471,505,554,515,466,440,404,487,595,658,683,718,745,1002,1054,742,576,696,1188,1996,2246,2042,1530,913,567,485,397,350,385,429,455,495,536,524,451,590,983,1234,1256,1184,946,800,658,742,734,850,1023,788,568,874,1210,902,1074,1134,762,597,891,1136,1264,1254,1100,966,846,853,1048,1234,1372,1466,1416,1062,769,926,1072,1146,1252,1328,1210,1084,1120,986,1066,1318,1268,1330,1250,1044,647,555,735,600,853,1108,915,1158,1334,1406,1432,1120,851,734,809,933,1078,1062,981,1188,1322,1252,1122,1076,932,944,2064,2020,1248,1326,1368,1222,1190,1120,1100,1420,1444,1616,1454,1342,1410,1492,1428,1406,1406,1336,1194,1174,1346,1244,1152,1056,1084,1244,1506,1562,1312,1154,1248,1244,977,692,714,979,1274,1412,1222,1040,763,1088,1304,1440,1428,1012,1048,983,1134,1190,1098,1250,844,743,919,901,1338,1264,581,761,1204,1058,1140,797,935,848,921,910,902,1006,1074,1048,1206,1534,1278,1108,1076,942,634,1064,794,670,932,1246,818,991,1096,843,697,362,322,233,260,411,818,615,732,1098,644,395,418,388,527,1246,1818,1360,1094,1228,1226,1052,1176,1284,755,321,252,300,609,1174,590,438,1526,3574,2666,1348,1290,1010,480,393,498,642,582,514,651,544,626,487,694,596,321,576,786,639,875,1672,1418,1566,1088,656,805,932,961,861,662,498,319,314,244,263,276,253,322,282,374,349,285,245,231,228,289,458,486,334,359,511,599,551,719,853,1120,1028,771,460,288,293,398,1086,2264,1448,1650,1382,1184,1580,1660,952,529,647,738,635,717,714,736,759,982,977,841,559,645,930,848,550,566,590,770,1142,1178,787,426,443,850,958,739,653,561,688,751,493,475,886,621,393,478,650,656,718,691,813,1034,827,465,487,456,415,400,420,411,386,368,399,378,301,263,395,495,328,321,434,441,443,452,782,891,501,360,393,376,507,574,301,420,542,550,397,265,273,276,303,386,445,415,346,334,451,504,495,444,333,331,240,205,205,384,535,604,636,604,455,300,314,502,546,557,592,547,517,503,536,519,519,550,477,247,233,267,396,616,874,922,1324,1718,1668,1226,1088,1282,1128,822,829,1114,733,692,883,875,932,942,919,942,800,1238,1358,1054,1222,1726,1854,1682,1324,1003,774,1192,1444,968,608,586,660,767,958,1230,926,734,721,976,1216,1062,1544,1836,1622,1484,1648,1468,1234,1302,1018,1152,1234,1140,620,434,1168,1968,1778,1322,815,580,354,397,617,756,850,797,470,393,503,780,904,736,770,1066,994,933,1015,1102,1366,1386,1268,1106,963,1096,1416,1248,685,528,737,1158,1066,913,944,588,590,995,1412,1114,893,1136,971,742,963,801,764,700,761,931,1068,1026,1166,1306,1150,1128,1114,802,1009,1224,1404,1180,652,427,348,422,439,473,493,544,865,1088,1002,807,766,602,697,677,453,369,441,437,417,404,394,444,661,742,667,691,910,1314,1298,1196,1174,1360,1264,1062,1102,1146,1018,746,674,675,813,971,888,769,954,979,802,718,1032,1296,1074,1196,1150,931,738,931,1108,1096,1070,966,1018,1116,1262,1604,1236,977,1023,664,500,599,707,1052,1007,865,1060,907,835,800,613,785,1350,1368,1574,1690,1660,2026,2108,1676,1554,1732,1516,1138,955,850,1072,919,586,425,441,455,829,1170,891,543,487,476,432,430,583,1396,1660,1412,1758,2360,2610,2548,2496,2484,2510,2418,1926,1188,733,666,1166,1334,1196,1196,1352,1240,1184,1446,1360,984,1246,1356,1328,1162,810,450,541,750,691,489,486,357,249,244,220,232,312,608,1210,1088,772,559,419,401,463,741,854,1338,1716,1450,1076,1248,1764,1740,1230,1138,1242,1044,1098,1298,1626,1782,1003,980,983,1044,883,870,1150,1268,1250,1152,878,1036,1236,1310,1522,1750,2198,1900,1310,1442,1480,1342,1336,1260,1350,1504,1354,1372,1384,1278,1226,1322,1374,1416,1088,857,1356,1892,1592,1516,1632,1334,922,904,698,1256,1632,1194,1194,1454,1424,1334,1272,1156,1006,909,1212,1368,1170,830,985,1134,1138,1086,1156,1032,733,624,468,676,1166,803,821,1102,1254,1358,1362,1064,692,974,1130,795,683,1148,1178,1312,949,838,963,1084,1566,1178,740,949,912,1060,1228,974,962,1250,1260,2314,2126,1550,1202,1108,1366,1192,754,553,897,921,515,337,327,535,523,441,485,622,843,859,650,471,458,768,963,792,905,499,370,513,479,424,505,691,1026,1426,1464,1296,1196,1306,1350,1528,1256,950,783,974,1430,1492,1070,656,835,1670,1550,1828,1532,1196,617,579,711,591,586,682,769,726,978,901,650,667,609,511,423,594,671,370,302,310,290,288,386,587,405,318,455,594,390,451,647,492,469,803,990,791,884,755,1580,2058,1514,706,529,507,420,397,286,244,318,406,334,342,256,229,258,255,304,327,283,393,602,538,377,351,600,855,971,995,998,1060,1320,1298,1040,1042,1270,1312,1266,1184,1186,1266,1198,1338,1472,1242,985,1060,1330,1400,935,854,1232,1294,1302,1396,1180,1222,1402,1328,1364,1470,1240,959,1064,1102,824,798,1280,1502,971,1364,855,489,403,424,455,501,606,441,307,294,394,486,434,511,1194,1294,1248,1188,1214,1068,1102,1250,1296,1228,1019,962,736,771,778,782,788,836,871,887,816,666,559,516,437,418,401,377,378,401,435,476,496,461,725,937,880,925,1204,1346,1548,1902,1672,1152,812,721,680,967,897,559,720,1086,1164,841,1268,1484,1422,1352,1404,1384,1376,1504,1478,1394,1202,977,992,503,653,1268,916,568,483,671,1136,1336,1354,1376,1572,1428,1396,1344,1204,1322,1190,1216,1140,872,533,283,307,344,379,270,257,266,231,227,244,237,233,255,275,276,252,401,796,995,919,578,341,259,329,376,331,282,316,517,651,824,1180,1136,1288,1366,1346,1192,1144,1244,1394,1416,1202,1013,1218,1116,1182,1192,1036,1074,727,822,700,650,675,624,610,590,561,560,585,592,733,892,785,698,646,545,948,1152,1324,1404,1318,1582,1732,1650,1572],[498,503,695,1072,676,382,367,556,837,849,729,522,347,357,335,358,418,392,370,373,279,250,340,375,520,528,467,528,524,375,309,356,411,496,659,836,866,760,632,446,369,350,375,447,567,619,700,842,775,741,872,786,764,741,670,625,532,372,477,783,884,1210,1436,1208,849,988,937,637,432,588,762,1312,1626,579,524,589,659,1314,1742,1610,1366,1110,969,867,560,703,1156,865,1052,1148,723,783,550,656,761,705,553,312,252,323,280,292,447,371,588,810,810,590,416,376,391,364,379,608,785,518,357,472,793,1120,1120,1184,1360,1122,751,880,775,463,422,411,429,522,536,632,704,583,513,662,700,536,459,350,252,250,253,257,269,285,314,420,600,744,688,498,605,974,998,866,1001,1400,1244,599,393,411,363,341,336,340,356,383,412,430,410,418,432,397,435,435,416,468,435,386,403,430,492,605,519,557,645,713,601,552,763,1146,1146,1380,1606,1484,1270,1019,984,1204,975,550,494,411,288,394,458,810,1292,837,655,905,617,610,839,1148,854,457,496,613,483,382,476,449,458,632,1040,1654,1356,1150,913,927,1268,1272,1058,620,530,585,647,636,883,1072,915,1064,1490,1456,1218,1038,927,853,809,982,1452,1072,838,880,1068,853,545,1056,1470,1176,1106,863,473,692,864,893,897,933,764,825,668,463,359,493,830,1002,1074,1130,1158,772,530,418,483,729,769,728,864,733,843,892,649,1028,882,829,849,692,463,433,463,716,1224,1490,1484,1534,1310,1424,1242,1300,995,891,857,752,615,501,546,749,848,743,937,764,509,518,694,858,987,751,785,772,890,751,441,390,376,338,360,364,412,466,560,442,420,386,354,340,569,789,762,879,662,651,854,773,547,744,1028,1210,1338,1288,1132,967,847,877,718,823,1256,1504,1662,1406,1176,1088,789,636,518,382,388,368,343,362,612,1484,1602,1386,1222,677,510,874,923,906,727,608,711,457,373,388,398,764,1638,1894,1226,610,538,990,1302,1066,814,562,801,1086,1216,1044,924,918,826,824,1044,1056,854,1200,1332,977,961,1500,1096,647,1092,1180,1222,1146,949,1072,1404,1214,761,1140,949,1108,1300,1418,1100,1060,1070,1056,1142,1170,1306,1282,969,1023,1374,1624,1372,979,921,827,905,1374,1424,1242,1282,1244,861,479,346,458,523,724,948,1074,843,461,229,229,223,226,253,272,282,305,379,571,802,996,1078,1074,908,868,1140,1128,785,728,684,445,451,478,354,336,361,385,356,394,452,438,608,728,774,998,961,1090,1094,642,691,662,440,378,415,594,611,453,518,542,498,438,495,528,533,502,436,419,556,762,705,560,529,551,572,608,616,629,670,673,877,1132,970,611,585,875,1644,1666,1106,587,477,584,649,512,401,399,415,455,500,538,599,773,1134,1252,1160,1058,960,842,777,957,1094,930,918,772,744,933,1132,1248,960,887,786,775,819,955,1003,1106,1170,1023,952,1044,1108,871,838,1148,1404,1452,1196,993,1236,1222,1084,950,1246,1206,1118,1182,722,959,1218,1028,820,728,689,593,888,1252,703,700,939,1194,1390,1412,1350,1442,1166,872,875,1024,1068,984,935,869,995,1310,1232,1260,1168,952,1038,1402,1108,782,894,948,999,1142,1088,1946,1700,1396,1570,1466,1416,1352,1316,1226,1308,1550,1312,1208,1204,1322,1310,1300,1172,1162,1336,1356,1360,1216,1172,1346,1404,1144,776,636,1080,1232,1318,1324,998,795,993,1286,1488,1146,835,929,793,968,1000,858,1120,958,916,1408,1782,1520,789,505,704,1246,940,1010,756,874,1200,1052,780,851,1086,1256,1538,1384,1156,1056,1240,1023,639,1044,1482,1182,995,1278,1352,1254,1308,1238,1130,608,413,380,372,515,597,814,792,1018,1404,634,516,489,448,600,2472,2612,1488,1328,1248,924,895,1260,1312,780,349,295,337,550,1021,702,573,1184,2552,2468,1474,1056,1042,688,415,360,430,387,299,320,406,411,469,742,613,316,395,486,414,617,1432,1212,935,761,515,569,944,1158,1128,1008,822,429,317,302,351,361,363,305,270,274,255,235,214,232,304,503,736,707,491,327,451,670,881,1080,1274,1264,1006,724,446,318,323,380,557,963,1466,1858,1094,490,768,954,745,580,525,549,984,1050,788,624,614,772,948,983,767,626,682,642,743,703,487,599,1182,984,642,437,364,439,337,394,453,340,417,415,314,373,880,766,427,411,800,1224,1160,737,645,930,1052,550,460,436,414,402,404,396,396,394,397,438,460,300,265,437,365,354,395,402,349,378,652,865,529,371,551,401,437,822,347,268,393,516,446,380,436,436,450,491,420,336,232,263,380,569,653,612,564,483,325,191,172,258,372,559,611,611,559,473,440,546,562,567,586,580,528,497,519,504,487,516,525,330,254,255,304,495,755,853,1088,1450,1434,1340,1318,1316,1284,1252,753,979,1354,1310,1164,1188,1252,1024,973,888,783,1096,1234,1100,886,974,1660,1662,1226,1138,1340,1494,1240,741,608,908,1066,1086,1238,1174,991,965,1218,1372,1252,1390,1410,1674,2008,1798,1510,1444,1362,1206,1106,1192,1192,925,610,800,1580,2100,1730,1050,705,535,486,589,808,792,714,527,391,496,687,724,626,661,794,760,829,887,935,1282,1760,1512,1110,1016,1062,1412,1320,774,487,847,1250,1330,1194,1334,1080,968,979,1376,1778,1430,977,1192,1206,723,849,1018,1276,1420,1466,1450,1126,866,1106,1374,1426,1328,1116,914,1078,1266,1414,999,1106,1050,748,695,563,609,743,758,868,1058,1022,886,866,796,679,466,374,415,416,429,425,424,445,426,501,598,593,496,769,1072,1052,1140,1194,803,583,859,1394,1416,1194,1060,957,978,1007,1094,879,573,738,938,799,513,836,1454,1278,1244,1492,1344,926,948,1076,1074,1012,1220,1484,1620,1254,1480,982,868,987,670,550,662,741,1068,1028,747,716,592,706,804,657,642,1146,1464,1646,1626,1510,1694,1744,1720,1562,1366,1046,805,850,829,910,1082,853,550,477,421,606,1026,1158,704,419,409,405,388,655,1400,1464,1166,1510,2230,2536,2484,2326,2348,2438,2170,1588,1078,721,593,981,1262,1208,1176,1132,1088,1184,1424,1526,1058,1080,1106,905,854,725,454,485,885,977,645,594,380,291,269,301,323,334,741,1210,962,852,889,600,437,619,871,931,1048,1122,1094,1056,1016,1088,1132,960,960,896,1080,1140,1300,1626,1656,1028,1023,1028,1202,1166,1016,1122,1128,1014,1038,922,1148,919,1088,1456,2282,3168,2610,1426,1252,1432,1320,1372,1380,1484,1432,1260,1312,1254,1350,1286,1274,1270,1344,1324,987,1348,1936,1488,1286,1512,1656,1222,882,1014,1334,1222,1202,1334,1342,1072,1072,1278,1542,1432,1058,1126,1440,1460,1244,1238,1302,1112,754,768,769,761,868,897,1028,857,836,1024,1130,1168,1216,1338,1170,896,670,707,532,729,1120,1126,1272,1012,920,903,1064,1288,1196,735,786,642,593,882,1144,1260,1346,1344,1556,1374,1426,1396,1194,744,580,534,828,1066,1216,625,280,285,407,469,451,679,945,776,494,433,453,681,929,775,586,624,587,624,483,354,281,347,892,1234,1344,1178,1306,1208,954,1092,1244,1216,931,736,730,1058,1426,1128,904,727,1184,1306,1086,937,727,498,675,682,480,493,754,960,597,583,1188,1070,525,586,857,797,991,1064,604,315,265,240,292,303,346,354,500,676,635,420,492,761,520,721,879,718,647,1064,1204,2040,2068,953,293,329,338,358,273,249,284,331,292,333,373,300,295,314,298,342,330,318,491,648,504,388,391,364,660,775,733,480,565,1220,1478,1082,924,1296,1488,1406,1312,1298,1350,1142,911,1178,1216,963,1078,1120,818,662,736,1372,1362,1404,1282,1072,1132,1176,953,929,1050,1064,1158,1582,1340,755,554,835,887,651,1004,828,565,509,478,434,477,697,598,357,303,296,435,639,628,1013,1412,1386,1322,1260,1266,1212,1164,1172,1126,825,778,829,753,656,663,808,982,1076,1144,1086,760,532,482,410,432,412,377,387,402,419,464,463,865,1454,1138,1084,1036,1118,1260,1528,1600,1346,781,685,901,1232,1532,1132,530,456,543,798,722,1116,1314,1222,1142,1288,1276,1210,1450,1400,1670,1588,1028,519,393,597,755,598,476,577,953,971,1204,1142,1146,1368,1510,1500,1296,1142,1414,1492,1314,892,829,774,377,356,356,371,290,289,294,267,254,262,247,253,261,286,281,290,554,1118,1032,907,639,417,361,338,369,383,281,291,364,450,670,1004,957,1202,1312,1284,1156,1234,1318,1142,1100,1156,1192,1086,923,1308,1272,879,696,587,605,699,742,590,546,560,586,560,584,617,691,856,854,667,669,683,711,1074,1290,1244,1040,1080,1662,1592,1194,1282],[414,562,1070,928,507,392,484,774,1046,948,810,620,454,344,306,298,310,309,313,323,311,289,314,382,525,552,479,424,312,314,398,584,505,553,735,918,839,700,604,463,392,384,391,416,587,449,481,511,571,554,586,749,680,483,610,734,631,505,686,834,749,1156,1272,1230,1114,1158,904,590,495,457,480,709,700,446,543,742,984,1484,1802,1704,1670,1660,1306,987,723,969,1186,1156,1254,847,448,489,464,642,728,475,369,284,286,363,413,699,890,558,407,697,653,453,462,482,423,387,405,363,364,466,516,652,1002,1142,1002,1184,1722,1498,854,916,835,520,435,324,353,349,481,794,1032,1070,1024,931,673,532,531,467,327,317,321,293,252,260,299,495,733,842,805,673,1015,1270,1144,1344,1548,1906,1588,690,346,375,364,326,296,266,324,391,405,402,400,446,441,412,420,382,426,566,628,465,399,587,1538,1236,850,846,770,604,433,536,745,873,1202,1496,1436,1362,787,763,1250,1072,560,408,420,394,465,929,1194,807,756,468,670,744,521,537,548,513,440,424,383,357,366,509,858,696,523,520,612,1126,961,547,516,672,920,1048,758,518,556,480,310,509,641,961,955,782,1262,1220,603,639,734,854,938,836,868,746,813,811,1070,1005,630,924,1396,1170,1194,1028,497,515,824,830,814,833,795,971,950,524,428,493,467,465,758,1096,1520,1106,891,805,803,964,873,827,998,700,692,526,557,944,965,1046,835,501,383,385,371,382,594,1006,1372,1424,1424,1372,1096,1306,1412,1124,814,752,634,607,635,722,677,651,672,829,559,403,517,802,976,751,594,566,661,664,468,410,351,360,453,428,491,633,677,452,309,339,382,402,771,1106,778,697,618,367,560,922,820,641,661,930,1114,1020,1100,1186,781,606,480,684,1092,1672,1382,938,898,714,578,615,598,524,435,427,420,466,823,1392,1592,1316,1100,751,533,834,1052,818,503,600,570,405,328,308,317,454,917,1166,944,647,601,986,1182,982,929,691,666,826,944,1268,1194,1172,1238,877,1354,1324,680,1062,1506,1366,1390,1578,1256,921,1366,1510,919,859,1120,1362,963,628,642,1184,713,730,1340,1610,1378,1136,1166,1268,1212,1250,1532,1626,1238,1126,1422,1296,1312,1258,1160,893,830,1294,1412,1430,1312,1338,966,844,586,369,315,311,400,766,1013,768,275,243,230,236,225,229,244,318,419,407,746,1310,1400,1170,1058,1190,1566,1140,487,637,647,813,749,425,335,320,328,332,375,534,579,556,579,641,974,1316,1098,948,833,462,393,400,377,512,678,574,717,541,545,555,486,492,540,580,563,546,471,455,576,861,849,645,609,544,546,569,556,530,561,675,887,1202,956,705,889,1274,1086,675,509,512,612,749,770,609,490,422,435,469,596,857,1146,1390,1234,960,844,870,1056,1146,1214,1640,1212,1112,1064,902,1452,1376,1116,1212,1298,1262,980,1007,1160,1384,1176,1134,1202,1100,984,909,941,858,879,1112,1200,1184,1216,1118,1302,1222,790,570,824,1122,1262,1232,780,692,820,647,623,719,825,754,771,788,435,810,1246,1214,1162,1042,1192,1576,1350,1300,1238,1078,1138,1134,937,971,1158,1216,1176,1296,1158,856,1028,1038,896,632,780,793,969,1148,1066,2530,2222,1390,1412,1372,1262,1170,1242,1226,1306,1812,1666,1636,1370,1310,1268,1418,1290,1100,1148,1198,1282,1382,1426,1396,1178,1104,925,613,753,901,1098,1174,1000,954,904,1114,1334,1334,1060,1028,835,819,869,957,1366,1532,1380,1584,1864,1096,569,505,763,1194,733,832,1046,1244,1276,1088,799,963,1280,1376,1504,1258,760,710,1172,897,514,1021,1272,1226,1278,1534,1408,965,1034,947,600,422,444,382,364,590,705,789,905,1000,1490,739,550,630,502,884,2234,1838,923,882,961,646,796,960,1023,940,414,302,327,476,861,839,668,780,1196,1376,962,592,769,789,372,324,381,355,548,787,729,567,606,851,589,322,352,375,361,504,1196,1264,1048,1274,1096,882,1124,1114,1194,1222,1088,601,400,426,423,361,336,322,308,287,287,217,293,328,641,901,1504,1392,850,452,402,588,738,855,1160,1222,885,472,568,928,705,451,344,370,855,1256,839,489,714,604,429,609,713,644,713,995,961,733,608,637,818,982,832,670,781,996,919,770,516,488,1168,1138,603,435,343,326,341,306,306,289,376,403,489,471,769,832,529,372,773,1288,1126,650,555,913,1148,619,438,401,401,408,390,384,400,410,406,424,423,307,223,308,298,341,377,352,331,324,535,590,350,295,434,334,386,721,476,289,316,473,541,515,536,558,559,479,461,420,351,416,491,819,927,745,609,540,361,201,203,199,242,425,567,570,576,543,476,539,589,585,567,579,605,543,522,502,499,508,514,456,306,250,272,415,662,808,1052,1392,1346,1600,1616,1482,1476,1360,1086,1188,1240,927,808,1019,1236,1334,1068,768,882,1003,1028,948,757,789,1009,993,821,854,1182,1192,1003,641,761,1004,1094,1054,999,882,838,886,1168,1248,1520,1568,940,1009,1600,1976,1694,1600,1478,1268,1236,1152,863,561,616,1198,1610,2354,1606,1208,834,601,561,799,952,698,477,378,449,579,642,625,645,924,1010,756,873,960,975,1290,1370,1023,871,1098,1206,1194,644,494,950,1556,1230,1086,1024,1026,1426,1322,933,1178,1706,1742,1474,1282,1142,679,740,1122,1362,1330,1518,1656,1096,567,907,1512,1362,1100,1050,1248,1430,1396,1256,1144,1660,1902,1760,1072,661,519,700,976,1100,982,974,1034,946,903,749,525,430,484,460,474,443,447,450,431,402,419,480,472,495,688,897,1012,1226,883,842,1152,1494,1314,1180,1076,1078,854,808,1036,912,658,798,906,894,771,934,1260,1162,1080,1266,1172,937,948,1116,1003,994,1300,1414,1488,1072,1100,742,753,1104,930,611,774,987,1074,1182,973,721,612,761,796,717,651,927,1350,1606,1688,1538,1724,1700,1620,1266,919,751,738,831,834,1005,1384,1266,1086,734,426,471,869,1342,991,786,601,377,550,957,1136,976,905,1130,1758,2156,2230,2062,2190,2262,1832,1398,1192,836,662,838,1030,1134,1256,1376,1304,1144,1210,1350,1282,1172,989,1046,1114,688,440,474,874,959,725,673,567,518,464,684,854,891,1066,992,846,1206,1272,764,643,1046,814,659,974,1086,993,877,750,826,1058,1058,1102,917,1150,843,995,1466,1554,1302,976,799,887,998,973,1036,1344,1456,1440,1436,1340,1136,1298,1304,1700,1798,1470,1332,1216,1216,1216,1210,1360,1484,1308,1312,1400,1346,1282,1166,1224,1180,1208,1376,1096,932,1368,1416,1458,1566,1268,1022,1130,1368,1414,1484,1664,1458,1172,905,1186,1374,1632,1318,1224,1464,1526,1536,1442,1252,1274,1296,1011,742,703,842,1058,1250,1176,705,742,1138,1126,930,932,1028,1086,729,623,1088,806,995,1484,1444,1160,1062,882,725,693,716,849,621,712,851,932,1026,1076,1056,1030,1244,1142,911,1122,1334,1316,738,441,466,987,797,570,452,371,402,425,422,437,669,797,616,477,437,442,536,907,900,849,936,854,775,630,495,359,521,1090,1208,1082,1272,2024,1604,992,1306,1432,1178,680,774,701,842,1036,1122,832,1286,1844,1434,1013,885,657,702,795,793,872,557,709,795,495,548,1582,1604,819,883,1006,880,1228,1376,780,462,331,260,285,284,276,310,474,587,496,348,326,441,564,1498,1420,1048,1208,1452,1324,1532,1156,450,283,246,269,388,409,496,328,206,226,372,372,277,293,314,353,355,317,342,601,744,872,599,452,375,780,1132,918,538,636,1086,1344,1220,1254,1166,1256,1288,1384,1426,1372,1326,1116,1178,1222,1154,858,704,603,536,701,1290,1434,1466,1250,1228,1302,885,457,533,962,1130,1092,1474,1168,542,460,572,655,584,620,678,849,740,494,438,454,755,742,441,497,654,1072,1312,1144,1218,1412,1430,1192,1021,1232,1072,1024,891,836,711,760,744,718,1056,1470,1388,1160,962,907,927,796,779,548,492,500,434,393,389,378,387,419,417,557,802,1224,1174,937,954,1015,1070,1250,1376,1086,603,775,1344,1322,1178,965,729,922,1044,859,897,816,880,1009,1152,1320,1542,1352,1416,1620,1060,778,505,401,623,883,975,612,904,1744,1056,1104,983,1032,1356,1630,1550,1338,1278,1440,1592,1210,940,1060,1013,530,366,295,279,259,259,257,260,292,290,255,247,280,413,597,981,1080,1232,918,1040,1021,813,724,485,417,423,321,294,328,362,633,950,864,1060,1136,1070,1306,1458,1248,1064,1104,1376,1650,1238,839,971,1350,1114,818,771,683,794,919,648,531,563,639,629,763,770,614,687,818,940,1216,1324,1340,1484,1240,804,852,1374,1742,1522,1466,1428],[398,821,1080,638,397,419,643,899,1011,888,921,756,807,528,374,379,324,332,353,378,393,338,350,355,396,397,430,437,318,320,416,444,382,491,858,1152,908,505,460,443,406,393,405,402,463,502,821,855,585,416,428,472,417,476,830,928,869,634,588,529,538,740,690,758,1308,1326,630,563,908,811,636,766,741,472,491,908,1448,1760,1792,2058,2014,1578,1496,1424,1134,1368,1354,1404,1182,547,477,501,423,533,701,412,343,319,349,332,354,822,1076,876,424,374,361,380,450,495,397,389,365,355,520,714,559,591,928,1052,1272,2214,2440,1700,800,693,758,493,396,333,303,366,871,1366,1440,1432,1372,1158,979,985,752,552,410,327,329,268,243,299,347,527,747,985,1070,1084,1892,1530,1542,1942,2002,2024,1506,741,358,389,317,301,346,359,404,426,419,393,462,513,468,421,366,394,450,574,673,465,426,716,2054,1822,1262,1152,810,498,426,482,569,733,944,1013,1278,849,567,750,725,509,526,483,355,436,706,1084,1050,543,352,559,932,835,565,362,321,359,424,427,420,385,468,874,1196,1124,741,570,644,1009,939,455,460,445,555,1162,961,579,438,410,322,295,251,560,778,826,929,750,529,609,819,940,999,932,1108,976,669,662,728,754,879,868,1142,1002,1310,1236,789,666,659,618,719,811,925,1510,1234,658,631,581,438,306,402,788,1274,1358,1232,1236,1104,914,659,919,956,495,443,709,901,949,993,1104,933,833,823,477,357,402,431,558,965,1194,1402,1268,1334,1252,1276,959,752,872,708,705,882,1004,1164,1100,565,852,771,469,425,483,398,292,372,537,626,641,570,487,432,464,511,476,473,525,438,329,334,386,565,1010,909,762,827,1094,1023,738,824,1224,1454,1322,891,623,664,664,791,1176,1042,724,484,781,1246,1496,1256,1170,1110,860,861,885,741,745,495,464,441,599,894,1158,1232,930,640,592,623,645,628,463,606,546,399,360,290,257,282,330,382,455,526,491,521,753,1250,1372,1262,883,706,644,1001,1472,1062,1194,1476,658,990,1078,575,634,1010,1148,1288,1334,1026,853,1394,1578,873,1056,1516,1520,716,457,699,984,758,886,1274,1444,1476,1114,1036,1144,1108,1186,1154,1286,1208,1300,1538,2310,2374,1428,1284,1138,1120,1236,1326,1376,1246,1246,1108,1140,821,400,329,292,498,949,1192,949,344,238,228,208,212,244,262,342,442,466,696,952,894,1116,1266,1578,1450,724,294,277,375,811,744,376,338,325,422,433,523,575,808,862,666,914,1312,1118,689,735,724,480,402,491,414,572,617,375,476,508,492,501,561,565,652,736,428,376,379,423,516,626,631,570,597,578,528,522,584,588,617,824,1098,1522,1384,1444,1500,1298,711,482,543,598,637,707,684,595,514,446,449,599,955,1210,1268,1148,798,588,792,1078,1494,1620,1254,1350,1068,1066,949,874,1450,1466,1448,1494,1290,1106,796,796,930,1138,1136,1182,1198,1324,1274,1098,1152,1132,1003,1092,1144,1116,1094,982,1092,1208,794,553,805,1005,962,797,561,596,705,599,556,452,353,336,350,299,324,824,1166,943,1080,1122,996,1374,1372,1322,1298,805,996,1174,1108,1230,1256,1026,791,972,838,719,1010,1120,816,639,735,831,1078,1194,1166,1490,1418,1434,1266,1284,1114,1162,1316,1374,1438,2022,2124,1850,1562,1328,1218,1220,1134,970,979,1136,1166,1338,1354,1138,972,1126,1174,857,747,1042,1208,1326,1410,1228,929,1028,1224,1230,1100,1188,860,651,965,1092,1186,1470,1602,1714,1382,660,538,536,788,1080,991,963,1266,1368,1252,1278,1166,1256,1158,1282,1316,1080,875,937,1140,953,1064,1626,1170,1042,980,1190,992,768,785,478,264,272,323,367,312,436,706,941,794,855,1492,1526,1692,1682,744,926,1746,1428,775,960,1434,921,1168,996,1176,585,289,307,358,361,513,752,631,332,489,669,496,502,669,730,408,337,468,622,1124,1428,1023,686,604,1156,732,347,354,415,482,517,869,1054,1206,1404,1348,1224,1322,1192,1148,1124,1212,849,532,477,399,320,309,335,321,254,255,283,350,280,512,918,1496,1574,1036,598,648,863,585,760,1282,1094,929,562,694,1558,1434,694,370,385,462,534,760,1184,877,601,608,681,1150,894,465,557,771,813,633,590,750,922,1088,1114,1272,1208,990,950,704,382,740,890,656,660,450,334,313,318,328,587,605,680,757,406,514,793,646,375,591,1222,1484,918,591,918,1238,739,448,457,426,408,391,382,381,384,402,402,410,364,308,387,354,337,384,477,570,486,523,280,328,373,332,279,311,442,426,339,320,398,543,574,570,554,553,530,491,285,292,448,510,641,753,748,748,572,285,220,248,211,212,274,446,527,594,603,568,634,633,583,572,564,605,576,561,555,614,603,603,599,504,365,282,338,535,686,832,1190,1562,1668,1652,1656,1614,1266,1134,1360,1001,615,755,597,772,1242,905,528,528,856,1126,1060,820,692,682,844,1002,1182,891,601,794,796,1010,1019,922,862,780,647,639,1017,1212,1346,1682,1168,817,932,1040,1338,1730,1962,1600,1216,1246,941,652,566,965,1406,1546,1592,1144,857,682,553,527,885,914,637,541,495,591,681,678,654,879,1072,1058,1046,1168,1180,1144,924,785,941,1112,1102,677,553,567,1094,1322,1028,1032,1262,1334,1338,1032,863,1120,1184,1572,1818,1730,1576,1504,1432,1368,1432,1516,1298,1368,1626,1356,1254,1306,1732,1456,1318,1312,1336,1376,1476,1248,1000,1572,1902,2084,1686,1238,735,538,578,854,966,984,1060,1086,1004,946,914,615,531,451,465,426,487,498,439,386,350,414,493,483,633,746,664,888,1023,1136,1322,1388,1588,1432,1222,1054,786,832,939,938,1000,989,1054,1032,856,703,807,879,974,1320,1356,1068,1090,1268,1160,1304,1278,1498,1526,1048,935,922,977,1332,1144,581,706,1286,1484,1474,1298,1130,907,907,910,795,661,690,1200,1604,1776,1498,1494,1338,1104,799,699,584,472,740,1084,1446,1832,1538,1404,901,624,559,685,937,838,1023,893,664,890,1124,1482,1342,888,672,852,1306,1516,1482,1676,1694,1426,1394,1108,635,637,843,1088,1346,1316,1322,1384,1156,1001,1084,1224,1216,1034,936,657,645,695,733,1000,1118,979,861,932,823,647,737,711,601,570,711,839,784,676,487,703,1038,944,851,728,785,904,964,854,768,805,1230,1256,1142,1482,1138,1232,2168,2398,1738,1164,698,749,890,1009,1066,1162,1196,1284,1410,1276,1216,1256,1142,1102,1158,1164,1262,1312,1142,1120,1019,1412,1542,1416,1340,1276,1332,1258,1160,1282,1204,1108,1322,1204,972,1282,1262,1714,2054,1550,1238,1440,1574,1756,1442,1584,1368,973,748,989,1334,1432,1432,1598,1452,1362,1516,1550,1330,1430,1322,1072,1005,1009,985,1122,1410,1380,906,664,1010,968,987,932,836,966,665,695,966,1080,1148,987,800,802,749,538,670,666,771,555,386,649,952,1282,1318,1216,1118,941,825,747,1023,1288,1254,1266,1228,771,385,563,490,378,339,441,695,631,490,548,663,563,468,397,397,418,755,1344,1332,1142,1152,1116,862,783,803,641,677,915,969,757,794,1312,1410,1208,1476,1444,1048,633,907,800,899,993,1094,1026,1320,1658,1416,1192,1128,753,916,913,814,842,650,787,787,658,1252,2204,1626,587,810,1194,1034,899,1160,840,564,453,367,284,299,333,458,499,390,359,233,227,265,327,1236,1614,1584,1968,1866,1394,1144,547,348,266,244,341,518,1024,1001,407,213,233,286,265,241,265,291,383,325,250,251,569,795,759,492,393,330,662,1156,1070,733,643,958,990,816,1056,973,1030,1282,1338,1232,1498,1510,1130,1224,1076,1432,1156,825,1136,868,733,1188,1346,1350,1346,1450,1512,901,549,550,902,669,771,1182,1164,737,410,517,633,615,547,647,1023,916,632,583,473,509,614,679,830,1012,1444,1610,1436,1284,1350,1532,1522,1272,903,719,846,825,619,673,763,669,943,1384,1250,597,590,845,1040,997,1290,1010,538,445,486,471,408,387,354,357,399,444,442,588,822,717,679,764,667,703,1070,1396,1490,804,692,924,930,1180,1458,1190,857,849,1088,803,554,725,997,1260,1136,1296,973,1148,1204,774,660,576,526,713,1098,997,769,997,1566,1096,807,787,1456,1982,1770,1576,1468,1194,1292,1484,963,962,1026,1094,630,366,436,399,295,243,227,227,247,242,235,284,509,794,1036,1212,1154,1132,1005,1021,1066,1118,1019,712,590,546,478,426,480,503,713,1036,1048,1058,847,845,977,1068,954,1206,1350,1296,1112,761,616,794,979,915,786,736,727,1126,1058,745,568,581,675,957,1164,863,621,774,1040,1280,1396,1606,1548,1426,1202,711,705,1028,1382,1438,1222,1262],[615,1032,777,408,419,768,974,882,882,828,756,830,728,475,404,400,390,404,365,401,418,334,311,289,295,301,348,386,301,310,413,397,344,422,684,1036,1013,489,375,389,369,368,376,420,383,529,904,904,492,435,441,404,375,404,838,1072,1021,1032,941,579,448,472,367,546,1112,1080,516,506,951,1013,650,853,995,667,692,1080,1506,1760,1742,1816,1484,1292,1362,1396,1380,1248,823,993,965,569,658,602,483,523,611,443,363,366,417,383,559,995,1960,2258,802,565,440,633,735,470,383,334,351,473,814,890,747,876,1248,1354,1704,2418,2222,1556,1040,1120,1062,762,450,329,318,652,1440,1596,1402,1448,1122,946,1090,877,590,508,419,301,280,272,446,671,759,760,973,1130,1182,1160,1678,1356,1268,1390,1294,1294,1362,881,420,402,288,266,310,336,361,395,403,418,475,495,457,408,387,377,395,454,470,412,375,663,1592,1766,1366,1284,934,478,415,409,496,631,783,833,622,620,884,793,521,695,658,470,476,401,767,1322,1136,684,568,794,733,529,378,307,337,375,403,405,365,455,817,944,1026,1140,1090,981,953,916,927,582,445,422,479,875,789,508,448,473,415,360,321,484,747,1438,902,1020,819,703,800,807,848,881,1414,1588,902,747,950,926,819,1020,1356,1688,1526,860,891,1140,813,577,777,1064,1216,1672,1274,1222,849,651,422,328,330,377,603,859,1130,1272,1328,1364,1128,1028,730,571,622,869,976,924,948,1086,1015,1096,988,561,508,408,391,488,645,1034,1222,1386,1664,1532,1096,672,584,689,609,553,479,430,966,886,548,821,872,537,487,418,388,445,528,751,796,717,666,570,544,615,607,507,431,415,452,547,461,428,504,808,860,774,882,1022,1192,1284,1230,1222,1330,1296,1116,895,906,895,927,847,1032,821,599,1012,1404,1294,888,1038,1080,971,1256,1094,848,1182,1084,804,535,651,1104,1306,1264,917,645,633,603,661,565,494,510,383,330,285,251,259,283,328,344,386,433,386,448,619,1206,1554,1404,1086,879,469,561,927,877,979,1072,772,719,847,651,747,932,903,1042,1022,791,756,965,915,755,784,753,815,561,567,777,951,993,957,854,832,709,918,1106,991,816,1030,905,1040,1348,1156,1050,1636,1390,836,1007,1268,1246,1132,903,1007,1128,1142,1058,933,683,404,321,315,563,587,576,963,597,254,222,236,241,251,282,391,483,556,661,711,1056,1298,1288,1362,868,423,266,245,435,744,611,520,331,237,372,565,656,545,828,985,959,1298,1282,735,633,696,628,490,452,502,357,424,475,426,476,449,388,393,470,460,485,518,352,310,330,368,378,392,434,518,557,527,513,532,579,637,854,1086,1238,1186,1122,1028,730,513,433,432,545,543,529,520,482,525,441,488,799,1196,1368,1220,874,655,561,630,974,1270,1432,1468,984,1011,1088,1094,928,774,1146,1180,1200,1340,1152,913,919,719,633,869,1092,1452,1344,1178,1244,1158,1064,1158,832,788,1096,1164,1208,1348,1598,1550,1098,617,622,789,748,675,769,878,937,661,390,328,301,440,776,1004,844,809,1078,888,1218,1330,1052,1136,1282,1140,969,841,1007,1040,1118,1154,1140,1074,966,891,691,689,1028,1342,965,706,855,1056,1188,1190,1284,1454,1358,1406,1042,1018,1066,1268,1374,1274,1268,1344,1230,1228,1440,1544,1264,1154,1092,1028,1005,1114,1184,1336,1454,1326,1182,1376,1398,1013,970,1220,1250,1224,1076,1220,976,679,808,985,1204,1324,869,556,667,850,946,1390,1390,1522,891,505,481,504,832,1126,982,902,1100,906,1220,1328,1396,1304,1104,1090,1066,878,883,1208,1324,970,1642,2360,1240,670,1094,1110,813,830,525,255,302,332,532,643,429,389,513,734,650,647,1046,1830,2404,1752,741,769,1290,1148,816,938,1202,931,1026,951,841,628,580,447,343,298,374,477,491,299,360,505,999,1098,800,792,661,435,599,804,1402,1854,957,341,404,1382,974,402,414,474,631,886,897,836,1046,1188,1236,1296,1140,1194,1070,1096,1298,1130,751,501,352,339,317,314,302,231,248,312,308,287,306,489,815,1082,1366,1410,1532,1722,1432,2002,1554,921,842,908,940,946,756,501,374,484,408,415,656,1014,646,376,577,969,1094,733,494,295,409,684,704,633,789,788,976,1078,1258,1076,1020,1222,1066,543,479,539,704,596,368,277,241,264,291,421,411,792,807,328,366,699,744,399,483,945,1118,942,751,764,1122,949,514,451,393,374,383,369,361,360,386,370,364,362,349,366,329,350,389,458,712,759,602,508,426,332,302,367,450,561,514,384,394,326,515,576,569,567,555,631,633,395,277,314,427,540,507,606,772,477,241,250,263,231,218,221,317,458,569,603,617,634,559,585,582,544,552,561,469,456,544,691,802,761,599,336,265,279,503,709,954,1368,1506,1510,1570,1556,1416,972,912,1184,822,844,1180,819,730,1122,929,569,517,766,1008,1024,980,877,784,781,811,882,628,814,1100,1114,1038,969,1003,1074,916,492,725,1144,1186,1340,1034,763,872,1032,946,872,1118,1678,1792,1458,1100,805,480,778,1138,1188,1250,1084,661,466,519,484,688,959,703,547,519,592,717,677,684,835,959,964,946,1024,1096,1140,914,767,977,1188,1472,1126,579,585,969,1138,991,744,804,992,1056,965,1012,1038,1148,972,1272,1712,1584,1482,1468,1356,1346,1342,1320,1312,1222,1206,1134,1322,1450,1646,1488,1356,1366,1346,1278,1384,1122,684,838,1208,1522,1384,1050,819,619,528,769,848,924,908,958,1038,1068,970,681,603,519,473,441,484,511,423,357,328,357,500,577,553,671,817,1390,1390,1422,1746,1334,782,880,1134,1094,806,999,1106,1128,1102,853,998,1042,786,658,816,889,850,1256,1434,1190,1060,922,759,1044,1194,1458,1544,1090,866,890,915,862,874,865,1206,1346,1356,1452,1488,1444,1076,853,910,813,637,592,971,1482,1538,1260,1008,1058,903,607,588,510,485,773,1346,1714,2240,1958,1434,1040,739,489,455,563,910,1068,943,1238,1302,1140,1388,1546,1204,758,844,1058,1020,973,803,656,883,981,530,377,386,549,1028,1500,1466,1366,1228,902,611,880,1238,1248,1082,953,928,813,778,890,1210,1426,1198,831,758,544,335,257,292,418,443,564,606,433,368,358,491,684,935,885,603,830,1078,1108,1198,1092,1026,1294,1404,1262,1486,1372,1466,2036,1622,1398,1406,1112,1202,1246,1340,1288,1450,1304,1180,1398,1414,1312,1158,1186,1332,1460,1368,1344,1296,1170,1118,1092,1230,1314,1446,1378,1238,1334,1450,1366,1412,1450,1410,1484,1322,1124,1054,1062,1354,1616,1476,1518,1434,1396,1696,1682,1338,1302,1178,1222,1202,1194,1340,1406,1330,1256,1368,1482,1600,1436,1332,1214,1188,1170,1240,1232,1156,1450,1500,996,438,630,922,852,903,968,925,579,315,413,609,730,915,737,577,632,791,683,550,733,650,443,484,827,1362,1468,1314,1196,867,726,952,1102,1456,1188,943,1212,1080,505,289,333,303,342,491,710,576,551,585,612,488,393,366,383,636,1048,1160,1320,1288,1136,944,854,806,872,608,398,548,672,677,846,1088,1516,1588,1378,979,874,753,685,561,856,921,974,1262,1278,1334,1204,1326,1652,1188,1128,890,579,613,693,745,867,774,874,1676,1202,438,725,997,1054,685,529,422,374,528,572,388,446,570,1034,790,404,371,313,246,310,340,698,1116,1004,1300,1670,1626,836,351,292,310,409,505,938,1476,948,326,249,258,259,239,248,267,377,465,362,262,250,335,421,325,227,215,273,627,1166,1100,615,716,1028,931,670,722,819,988,1240,1286,1242,1330,1122,787,912,975,1352,1478,1454,1812,1698,1388,1306,1310,1380,1268,1184,1206,1044,887,837,759,451,691,1236,1478,932,437,394,461,509,494,808,1250,1034,787,970,819,596,588,703,736,987,1626,1636,1338,899,1148,1474,1558,1482,1348,1562,1700,1428,1030,875,1032,1170,1526,1858,1268,860,803,739,647,486,397,336,395,469,493,495,428,370,351,392,398,427,433,431,385,463,605,581,480,767,1272,1490,1510,1116,780,601,1078,1322,1262,1252,1110,955,722,421,745,1182,1134,1400,1436,1434,991,742,971,1023,734,761,895,725,890,1028,1156,1082,1170,1019,727,659,1314,1588,1176,1204,1494,1188,836,682,560,982,1262,1294,749,349,354,312,305,285,326,275,258,280,419,915,1112,1278,1334,1400,1238,780,780,937,958,907,766,1222,1350,933,718,917,1122,854,689,620,645,769,1060,1228,1003,756,850,1138,979,659,500,393,509,689,893,1116,1076,858,884,1096,951,857,703,693,755,1238,1248,663,590,945,1011,1206,1056,1376,1466,1278,1021,803,783,1074,1366,1448,1438,1634],[940,929,477,352,553,1070,1160,1118,844,793,642,694,675,558,408,396,451,500,437,402,355,334,322,313,312,328,326,338,332,322,330,332,372,364,416,565,635,439,362,368,395,405,376,379,413,379,463,544,386,400,475,508,445,383,455,513,737,963,777,546,416,361,385,405,781,839,426,369,918,1008,651,573,749,1034,1158,1136,1494,1754,1610,1136,897,654,743,786,883,1136,958,675,744,841,846,816,952,923,724,548,433,415,451,434,852,1348,1682,1918,1274,1036,831,1174,1072,650,479,447,828,1108,848,505,516,497,752,969,1430,1878,1552,1264,1368,1534,1700,1312,537,338,416,761,1130,1092,1062,1216,846,771,849,711,532,642,636,378,297,365,610,910,986,869,941,1200,1234,1028,791,667,880,723,756,1052,1332,875,515,455,404,318,312,339,451,430,382,411,430,485,448,367,385,381,392,389,388,435,410,676,1402,1328,952,1230,854,506,504,434,471,557,741,712,607,768,933,1168,1172,1362,682,619,538,465,567,924,870,681,952,905,437,512,856,773,404,398,391,383,413,1090,1484,1096,888,1130,1310,781,560,523,990,1112,663,503,521,661,770,650,509,471,393,361,485,594,578,1146,1354,1302,987,754,545,811,1080,926,1250,1644,1396,1256,1238,1110,786,818,1232,1504,1420,1106,1016,1122,666,610,866,930,831,824,1354,1128,564,446,616,569,315,285,417,633,985,989,1294,1306,1190,713,435,563,821,803,799,866,894,1024,1076,967,549,447,1001,626,310,371,674,1060,1070,1288,1342,1064,636,557,608,659,581,499,372,288,352,328,346,706,957,633,673,565,503,548,764,873,922,861,823,729,666,800,799,672,517,462,871,1013,648,466,708,830,730,965,1490,1646,1306,1316,1358,1118,773,980,852,863,738,763,860,612,654,598,832,1408,1622,1044,525,713,804,1001,1102,1054,1130,1448,1476,1032,602,812,1148,949,1112,1072,1250,1064,896,727,567,472,404,345,320,317,297,300,304,283,259,307,439,482,477,614,938,1450,1424,987,686,417,390,683,1318,1336,862,730,697,679,738,833,1068,1610,1554,1007,650,689,774,697,719,604,598,548,689,869,535,755,1264,1128,1264,1470,894,1148,1172,1058,985,865,999,1268,1008,595,563,1036,920,664,921,1122,1050,918,653,764,988,1017,889,691,654,438,428,567,651,608,513,1136,935,361,265,274,279,258,295,410,493,813,921,665,1022,1022,1078,1116,816,501,410,420,508,588,533,778,478,281,283,591,667,559,666,685,763,1062,857,579,615,575,518,430,411,423,271,314,512,608,527,371,345,307,381,392,355,351,385,375,402,406,426,412,392,435,497,524,581,577,579,637,1054,1252,1058,697,568,473,448,467,465,464,514,487,465,509,573,584,684,1015,1208,1198,1210,880,497,473,684,1072,1180,1122,910,661,477,869,1396,1604,1282,1284,1662,1230,1190,1284,999,742,1480,1338,891,977,1168,1236,1160,1062,1192,1090,895,1360,899,727,635,886,1290,1352,1132,1032,844,484,520,522,525,712,767,763,811,596,351,301,246,508,899,1026,953,681,1048,1116,1286,1144,1274,1226,1258,1046,946,1136,1036,866,960,1014,1188,1266,1110,965,875,916,1066,1194,1030,904,1015,1138,1240,1230,1232,1118,877,865,960,1128,1284,1422,1324,1170,1050,1134,1304,1094,1272,1360,1122,1040,1138,1374,1164,1040,1136,1374,1532,1316,1388,1390,1394,888,1038,1148,1206,1188,879,960,899,791,1064,1316,1352,1254,1088,833,777,932,1034,1232,1500,1216,741,638,419,538,955,1214,1372,1208,888,2004,2886,2390,1792,1372,1132,1154,1106,855,836,1034,1396,1022,1788,2324,1196,735,937,825,767,616,304,279,270,374,658,648,427,403,717,822,589,736,884,1100,2100,2900,2154,706,885,714,782,985,901,562,547,727,677,702,857,630,481,502,341,276,383,353,328,741,1522,1524,934,775,735,368,480,649,1208,1226,571,378,535,1252,1098,610,607,562,887,1418,1272,932,1086,1060,1005,1126,972,955,1013,1208,1312,1194,855,575,359,328,280,293,260,215,260,308,312,289,280,329,308,410,1036,1592,1926,1980,2038,2078,2046,1638,1098,1036,923,817,402,383,695,1044,798,448,371,514,482,387,680,1182,960,692,513,246,253,378,613,719,815,824,833,997,1188,1144,934,1066,1200,642,377,470,802,631,417,263,252,282,349,382,339,446,461,336,305,589,832,496,477,667,843,1046,905,679,935,1086,628,461,440,378,374,383,381,376,375,368,397,361,256,240,264,297,333,305,522,667,622,662,483,406,505,583,691,843,831,501,435,319,393,560,582,563,816,860,664,688,655,262,340,484,535,532,529,385,269,236,263,245,194,195,242,260,298,492,565,544,367,477,558,555,526,469,330,312,448,694,905,855,646,379,273,276,476,714,1030,1296,1452,1588,1554,1264,979,757,794,1128,891,721,778,622,955,1346,1060,725,824,963,1006,980,788,777,1032,916,971,946,868,1007,1186,1170,1006,988,1072,1204,913,591,1005,914,782,1094,1050,972,1002,986,938,912,1094,1340,1382,1236,767,564,622,1144,1272,1186,1160,984,622,519,475,550,940,777,610,606,607,667,673,630,796,912,863,866,792,1000,1164,1003,839,966,1168,1426,1296,774,659,1248,1384,944,801,725,1054,1182,1114,1004,995,882,930,1078,1090,1142,1184,1100,1142,1240,1236,1042,927,1092,1112,995,976,1023,1058,1124,1240,1272,1078,934,1088,1346,854,593,505,504,800,1064,1322,1224,858,991,1250,744,747,742,892,913,957,990,946,781,612,605,558,504,517,354,320,335,329,417,476,466,609,800,1406,1432,1146,1206,842,583,604,786,1170,1062,1050,1110,1146,1044,872,959,1128,868,694,816,802,785,1148,1342,1222,1086,961,1068,1302,1260,1378,1566,993,642,688,758,670,516,1050,1472,1300,1152,1026,1334,1562,977,905,958,753,720,706,760,1274,1180,824,1588,2292,1446,693,599,493,467,886,1390,1280,1428,1958,1888,1532,1050,552,331,454,713,860,1080,1418,1466,1388,1482,1412,1226,1023,1074,1284,1306,1392,780,495,985,1050,492,337,434,431,788,1284,1368,1202,1104,996,766,1017,1092,1000,899,761,667,590,750,1009,1186,1190,894,511,522,374,322,373,344,404,471,816,1028,879,681,548,655,905,1038,674,534,780,1282,1200,1168,1174,1256,1260,1456,1390,1348,1196,1386,1648,1588,1460,1320,1284,1144,1302,1644,1522,1672,1656,1518,1632,1488,1484,1448,1388,1384,1392,1412,1402,1374,1380,1288,1206,1356,1414,1388,1316,1334,1290,1426,1574,1714,1510,1516,1416,1140,1170,1278,1196,1170,1346,1318,1394,1422,1434,1422,1188,1214,1288,1206,1274,1212,1100,1256,1186,1248,1250,1198,1460,1664,1422,1242,1324,1388,1284,1262,1140,1056,1432,1378,1016,586,546,855,911,1104,955,622,390,337,337,559,938,824,696,744,763,643,646,616,607,706,680,743,1162,1628,1300,1392,1196,948,1194,1088,886,1104,1146,944,898,1246,880,358,412,365,528,630,524,406,476,547,556,461,458,495,502,1068,1230,1148,1406,1402,1332,1272,1340,1316,1088,753,598,836,959,827,1023,1330,1654,1578,1202,1148,1370,1108,566,318,519,974,1062,1007,903,950,772,1284,1338,945,850,821,843,868,841,771,905,956,718,730,555,410,378,427,853,799,453,374,498,702,590,447,538,836,1360,742,509,708,469,270,332,404,675,877,877,1238,1140,899,475,304,273,348,761,797,428,478,357,253,263,272,273,255,267,308,424,507,420,413,411,269,219,226,211,269,365,899,996,1056,975,1044,1096,977,783,771,947,1098,1094,916,1058,1222,1184,1030,1106,855,1002,1414,1478,1614,1852,1694,1450,1384,1492,1294,1402,1472,1284,1036,1206,1084,558,508,919,794,576,661,767,1338,1474,1294,1450,1540,1084,697,700,862,1198,1282,798,611,874,1340,1362,1100,832,1194,1498,1602,1626,1504,1528,1500,1230,1096,1128,1182,1684,1808,1824,1118,719,566,379,295,275,292,349,449,608,586,435,408,375,345,366,398,401,404,427,420,430,480,525,712,1042,1514,1554,1440,1422,1116,608,808,1412,1456,1198,955,689,403,334,844,1552,1216,1322,1520,1172,600,522,819,813,688,1076,1134,1146,1170,1106,1000,962,974,992,816,560,720,789,709,797,1388,1422,1088,1052,1082,1324,1248,1002,617,281,272,283,323,285,336,302,342,348,490,972,1296,1418,1350,1366,1362,1084,946,957,705,798,934,1272,1354,1100,785,968,1214,1096,894,522,712,686,1128,1450,1350,882,821,734,518,466,445,389,334,429,844,1172,1160,861,1284,1056,919,1011,992,921,733,852,683,685,1296,1732,1310,1210,1190,1378,1088,708,735,995,1346,1506,1382,1524,1674,1456],[1052,619,330,354,535,807,924,1024,1058,789,536,541,753,924,686,502,477,448,357,355,360,336,322,311,314,322,312,344,391,359,320,334,367,367,397,421,409,367,346,346,375,405,388,334,400,342,354,319,358,407,599,842,838,620,434,448,601,690,600,626,416,431,373,299,666,827,637,472,543,636,565,499,891,1258,1130,810,782,579,570,791,1208,1074,515,375,498,816,1232,1236,991,822,839,1212,1428,1132,766,601,465,440,400,419,948,939,782,1016,1200,1180,1206,1334,1008,891,714,481,645,874,671,397,387,399,492,480,611,823,974,1328,1450,1544,1770,1294,611,397,524,589,548,765,1064,1100,1204,1088,978,946,950,1104,871,441,304,442,725,1276,1350,964,1112,1482,1450,1420,1200,935,1198,1040,983,878,907,736,562,799,902,844,803,806,929,562,397,363,404,544,570,438,419,414,395,406,472,618,684,804,1418,1400,1394,1288,893,713,686,654,448,544,742,682,750,919,888,1180,1454,1144,919,1410,921,455,532,689,596,907,1098,731,482,566,1064,873,412,378,381,401,639,1096,1468,1484,1124,1144,1080,814,618,485,675,1102,980,1054,1290,1206,1366,1206,612,480,482,453,849,710,800,1604,2204,1882,1140,807,694,830,935,889,761,1396,1830,1168,906,1128,897,721,894,958,1086,1056,1152,1124,554,481,669,839,996,786,419,318,358,562,922,713,385,283,494,891,619,820,1066,1036,897,692,519,562,642,753,826,713,863,1108,1392,1128,671,886,1104,617,327,383,752,929,631,946,1294,894,465,702,778,879,747,581,419,296,295,317,324,628,1012,989,931,796,612,722,894,869,803,863,1052,1016,818,818,800,727,588,411,647,790,730,618,761,951,1014,1066,1520,2244,1516,1388,1234,968,511,425,391,683,707,694,639,561,602,583,621,884,1186,953,709,583,821,1144,999,847,937,1068,1180,984,877,954,858,705,1066,1196,1288,1294,1116,1038,849,353,296,303,385,346,295,289,298,261,249,286,455,570,502,451,743,1240,1028,1100,667,432,475,715,1007,1040,810,793,723,608,896,1278,1366,1678,1460,1396,1666,1420,1194,1038,818,662,621,694,1288,1582,881,932,1234,1286,1964,1720,1130,1492,1650,1740,1704,1252,1138,883,577,477,688,1112,951,763,843,851,1001,1112,1004,1036,1094,1148,1058,1007,1058,847,808,819,709,654,518,915,1118,593,295,255,250,253,303,515,541,755,977,796,753,987,1172,982,1028,1118,847,764,741,550,794,1234,857,368,243,611,825,597,762,1036,883,910,859,673,579,518,588,835,636,318,300,376,463,502,479,359,351,289,344,354,376,410,490,544,477,393,416,422,368,375,445,521,619,540,519,662,756,795,760,583,451,381,422,430,434,452,473,510,571,619,646,849,1136,1268,1200,1066,947,599,514,651,788,907,834,696,588,518,537,742,1284,1418,1292,1652,1904,1198,953,837,608,499,614,713,764,852,1032,1216,1230,1286,1444,1260,1578,1628,995,707,623,850,1202,1017,825,561,451,382,447,455,545,576,514,400,451,512,449,427,379,415,661,905,742,664,1088,1328,1272,1042,1015,892,777,646,639,944,964,854,822,1030,1122,1064,887,1142,1206,1122,1000,812,712,735,883,991,1038,1248,1308,1024,872,921,1272,1396,1284,1220,1290,1326,1122,1082,1334,1238,1354,1224,1182,1126,1178,1302,1134,967,1114,1400,1470,1520,2056,1322,1182,1034,1272,1200,1084,1146,1094,976,851,704,963,1194,1004,894,1008,977,932,813,635,924,1188,879,1074,857,457,530,1098,1176,1216,1144,1034,1970,2484,2134,1676,1158,891,1056,1013,752,991,1246,1012,874,1570,1832,1158,870,828,563,726,361,321,317,319,501,788,621,494,661,829,636,503,693,796,999,1760,1992,1166,544,437,418,565,790,680,644,835,866,956,618,564,489,674,985,556,361,546,465,285,735,1392,1410,952,628,785,389,323,368,740,610,458,402,521,889,954,887,1034,655,865,1404,1142,960,1262,907,719,806,690,750,967,1236,1346,1272,872,457,315,290,216,263,249,200,248,285,285,280,302,408,449,508,410,579,836,1386,1584,1308,1216,1062,1344,929,716,753,648,817,800,892,930,577,373,543,667,518,579,725,563,567,551,333,311,332,518,740,702,550,739,977,999,841,687,880,1020,561,413,391,697,629,421,360,352,353,360,383,368,367,314,293,263,422,820,563,437,628,1018,1344,1090,874,961,1118,751,521,490,410,374,414,423,412,373,390,417,321,242,280,312,397,437,470,579,576,670,734,477,411,550,574,738,749,1086,1004,687,497,358,461,461,398,639,730,663,871,985,392,285,334,491,566,513,485,384,267,254,247,184,193,247,218,244,433,574,588,399,394,539,588,555,416,292,333,420,624,919,1004,765,400,286,285,360,637,894,1214,1530,1470,1162,1034,1148,1046,854,1020,1142,880,779,1026,1318,1222,1042,843,692,901,966,1060,1154,843,531,713,871,775,614,749,1182,1134,1024,976,1086,1064,669,953,1028,716,647,717,904,1062,1024,985,1108,1072,1258,1164,1272,1088,669,636,1128,1136,1042,1038,843,919,643,450,467,786,822,633,760,867,760,687,625,677,877,861,752,952,947,1120,1050,906,1046,1232,1150,993,732,615,830,935,900,1148,1011,1418,1122,999,1198,960,805,886,1112,1108,991,939,1056,1186,1236,1019,858,738,835,1104,1152,1026,1019,977,948,1148,1146,938,900,1142,1258,1322,849,641,653,670,646,700,772,897,1178,1136,1064,708,615,700,822,924,1202,1310,1184,1140,1032,734,624,676,647,431,344,326,341,384,498,530,490,775,1394,1350,760,539,711,820,629,717,1108,1172,1120,1058,1052,1462,1638,1152,1148,989,761,802,792,854,1086,1246,1158,1072,1166,1290,1144,1202,1346,1490,1036,633,645,774,731,528,879,1012,1005,1152,899,1264,1672,969,755,614,547,706,827,716,1072,1334,1226,1760,1960,1422,940,664,697,1007,1288,1240,1010,1040,1636,1958,1588,1110,844,456,527,931,1220,979,1052,1334,1316,1318,1146,1011,985,812,957,1234,1412,713,419,688,908,622,448,518,495,652,1212,1510,1350,1314,852,694,562,418,473,832,1130,982,872,969,1186,1366,1202,886,464,499,384,309,321,330,374,384,597,858,917,819,655,805,943,969,885,751,944,1192,881,703,1110,1108,1184,1474,1254,1250,1498,1550,1276,1248,1144,1108,1186,1028,1424,1914,1654,1656,1522,1312,1602,1304,1300,1558,1420,1350,1438,1284,1130,1176,1460,1450,1130,1252,1440,1522,1450,1398,1294,1448,1510,1392,1596,1842,1632,1444,1454,1244,1170,1346,1410,1316,1394,1484,1442,1296,1234,1100,1044,1230,1288,1242,1058,1232,1028,1032,1206,1262,1334,1444,1488,1422,1426,1366,1350,1266,996,780,766,813,1126,1176,1250,1242,1166,944,571,532,423,351,343,700,835,481,565,709,669,567,687,583,387,402,437,765,1460,1506,1278,1328,1246,1246,1356,940,754,735,716,877,875,1034,1216,604,449,524,879,1020,584,379,443,476,510,699,1134,1112,679,749,844,858,1018,1214,1222,1294,1628,1500,1068,934,1118,1024,1080,906,1262,1698,1570,1478,1466,1402,1222,813,438,260,517,1164,847,561,591,1178,1052,866,988,1090,648,644,805,935,729,595,770,916,723,694,573,436,381,618,965,1003,696,427,548,660,557,535,525,753,872,434,495,811,736,348,338,385,583,827,1278,1086,461,251,281,263,268,303,563,585,274,272,369,282,262,268,273,265,240,256,387,531,531,525,490,290,285,269,260,490,662,1072,915,788,987,1192,1252,1126,778,561,839,999,1188,1232,1310,1432,1342,1012,823,675,772,1334,1576,1554,1544,1450,1162,1240,1364,1226,1140,1206,1108,869,763,746,532,829,1120,731,522,701,1270,2026,2164,1832,1804,1426,984,836,457,702,1272,1222,550,696,662,516,688,924,1009,1268,1466,1584,1594,1554,1584,1594,1011,1050,1354,1182,1504,1462,984,503,359,306,291,266,254,310,379,455,557,556,463,399,395,346,343,412,397,400,408,397,424,500,803,1054,1206,1432,1436,1382,1350,1246,859,664,1230,1490,1028,655,489,433,401,656,782,646,853,885,518,400,481,538,433,508,797,1106,1480,1808,1338,858,1060,1192,1174,998,561,459,663,1092,1034,1332,1506,1350,1356,1544,1250,666,535,628,556,498,351,358,520,588,556,574,705,787,939,1306,1380,1224,1410,1670,1440,975,973,714,737,1114,1080,1005,930,532,589,946,619,734,827,1016,721,866,1248,1244,1148,1040,825,623,535,463,363,340,364,687,1064,1282,1010,1200,1186,1308,1306,1120,1008,905,1021,1038,1116,1648,1470,1436,1388,1098,846,670,675,1110,1358,1370,1322,1480,1438,1388,1544],[823,403,343,346,422,547,936,1414,1512,962,750,683,857,1074,700,466,431,338,303,368,362,328,318,318,310,304,306,312,372,425,375,371,371,397,428,458,430,386,355,349,394,457,551,544,613,424,346,328,351,363,410,579,745,843,813,651,546,485,404,482,412,415,342,401,795,1036,1106,904,639,361,323,394,544,525,617,655,523,457,899,1296,1468,1364,761,644,1013,1108,1102,1072,1204,998,1070,1202,1266,963,536,376,336,373,356,456,766,544,519,763,1112,995,866,970,1060,971,755,525,437,745,544,469,501,539,444,402,427,439,442,674,1260,1744,1758,1324,771,418,590,704,575,1044,1236,1266,1500,1106,1030,868,865,993,1017,606,346,500,978,1300,1092,676,866,974,874,868,781,1048,1618,1390,839,788,1112,935,746,976,1082,1152,990,532,468,505,412,372,477,615,601,458,372,391,457,565,565,638,748,827,1430,1448,1376,1398,1320,1156,1292,1202,730,566,681,919,986,1142,950,1162,1110,996,1528,1426,683,499,437,647,821,1026,1082,788,719,544,653,437,369,419,344,602,1200,1356,1390,1438,1092,1224,1232,1382,969,515,474,761,1094,1364,1708,1894,2164,1802,960,650,868,747,740,924,1498,1952,2234,2146,1230,879,736,628,647,1048,712,1692,1574,556,792,1340,1204,980,893,1220,1346,1058,937,713,443,477,690,1190,1270,738,456,584,554,356,311,451,361,303,568,566,401,616,743,686,741,794,643,767,681,899,841,801,1288,1692,1650,1270,998,883,543,447,458,484,767,579,526,1234,1128,524,538,740,1112,1274,818,567,562,592,524,398,326,582,672,927,1208,1296,942,579,682,865,802,844,932,965,890,844,767,669,545,435,420,897,1118,971,1090,1042,886,801,855,1082,1040,1296,1220,1036,671,525,672,918,990,868,533,588,623,623,705,640,697,1040,995,552,644,973,969,1126,1444,1130,1060,1084,1206,1312,1116,1134,1286,1100,1034,1110,738,622,639,305,315,339,385,326,284,271,276,265,293,313,409,518,516,455,662,964,786,1226,886,486,422,641,1106,2010,2054,1062,664,691,753,1234,1534,1550,1236,1572,1904,1522,1372,1214,782,630,925,889,1144,1328,890,727,894,1708,2412,1548,805,922,1050,1330,1478,1352,1300,1050,900,822,929,1028,1114,1006,856,804,753,962,1009,1094,937,877,773,1054,1108,1036,946,1082,1008,717,500,651,1106,716,293,254,243,233,267,421,442,493,677,622,476,756,1036,863,1015,860,746,1056,1262,846,1146,1744,1170,366,253,565,860,567,557,853,866,843,1048,887,714,753,1044,1192,711,297,343,390,395,389,355,354,465,496,418,365,373,504,629,622,568,399,424,426,388,367,387,456,540,516,503,604,708,777,721,603,513,414,427,446,462,511,532,557,626,642,877,1230,1192,1019,1122,738,778,786,639,618,591,527,458,755,1008,788,770,906,1206,1220,1114,1244,1108,1200,1162,703,465,578,750,864,883,997,971,1244,1280,1270,1428,1762,1538,1174,951,764,628,680,1003,536,448,535,556,375,525,790,763,773,641,447,633,675,622,728,602,615,776,763,601,720,1122,1258,963,763,899,968,742,601,796,1104,852,590,783,1142,1062,854,825,1042,966,748,610,489,566,666,1128,1070,1116,1208,1244,1170,1132,1144,1172,1136,1052,1030,1298,1296,1098,956,991,1088,1178,1226,1160,1172,1310,1260,1186,1210,1224,1374,1464,1528,1670,1504,1610,1484,1160,1042,1058,1136,1158,1078,1050,1064,1180,1260,828,593,575,515,517,488,554,1056,1056,1002,1126,758,786,669,1074,1028,730,980,1242,1342,1322,1168,1216,995,1022,1058,1038,1078,2380,2156,1026,780,1164,1226,799,982,1272,705,756,372,355,342,344,717,896,775,825,866,706,463,444,413,481,472,279,466,794,1140,880,658,574,796,1184,1500,1676,1196,1134,582,448,418,446,538,507,382,366,331,292,543,882,844,581,550,981,610,343,422,530,456,332,330,386,728,976,940,1114,665,519,677,771,1092,1554,1404,1002,740,619,552,663,781,1042,970,630,388,277,276,222,250,284,286,324,324,314,342,387,727,965,999,837,498,450,649,800,933,707,475,715,634,791,695,894,1184,1182,1406,1250,810,731,605,591,519,470,620,645,425,449,681,537,360,411,613,698,774,1058,840,650,787,1130,1210,802,424,310,269,419,769,1021,677,392,409,407,397,343,336,302,288,294,341,659,681,541,612,833,1224,1162,1134,1046,1208,935,624,527,538,630,623,473,442,394,423,462,409,306,260,418,737,725,955,884,691,1074,905,406,404,847,582,677,546,1036,836,600,636,480,368,443,361,274,324,488,628,683,456,309,243,359,516,577,557,498,391,289,231,215,234,272,235,229,321,407,494,521,501,492,531,623,621,437,386,452,613,763,963,849,435,252,259,365,601,930,1424,1238,914,913,1116,1400,1366,1168,1116,1180,1228,1350,1364,1194,846,929,1096,846,815,813,927,1030,805,554,456,485,564,640,1162,1538,1284,1202,1028,1021,765,873,1192,1028,946,833,629,628,706,935,984,1102,1268,1224,1290,1202,888,639,1036,1358,1232,1040,799,659,647,594,473,587,863,763,796,854,731,671,625,617,844,976,991,1084,1462,1382,1296,1278,1196,1198,1132,774,526,594,795,896,915,866,817,1132,1140,1184,1316,1034,976,979,957,1078,817,1034,1030,1108,1188,1122,880,700,716,969,1134,955,971,1162,1042,897,809,835,899,934,1122,1388,1242,1042,1164,1364,1408,1062,955,1000,1166,1456,1210,1028,1026,822,802,739,882,1380,1366,1142,1386,1196,924,766,752,652,522,408,367,404,396,484,590,538,539,669,601,556,746,728,787,666,612,912,1186,1150,1116,1004,1028,1066,981,1152,1214,854,805,833,855,1050,1064,974,1032,976,1078,1002,1188,1298,1332,1140,872,706,758,840,883,1004,940,999,948,920,1288,1638,1042,546,477,628,810,880,586,792,1426,1592,1512,1282,1082,1102,996,1486,2288,1982,1318,1124,1350,1700,1444,974,963,1054,680,675,1004,1202,1004,949,1004,970,1234,1296,1272,1214,999,905,1040,881,500,375,382,413,509,676,855,824,536,1000,1542,1152,1096,1086,835,486,489,716,1164,1114,508,355,614,1114,1280,1082,994,505,503,466,335,322,385,406,359,431,631,758,637,727,961,1050,1220,1440,1110,964,1152,876,812,902,695,1058,1506,1366,1488,1592,1498,1268,1330,1376,1268,1412,1350,1416,1798,1492,1332,1356,1240,1542,1344,1300,1436,1412,1390,1324,1152,1038,1086,1400,1294,1228,1150,1188,1490,1434,1390,1406,1478,1548,1814,2008,1822,1844,1616,1708,1454,1340,1452,1410,1320,1244,1384,1400,1208,974,705,977,1434,1122,1009,1100,1334,1176,1040,1126,1302,1322,1296,1234,1324,1296,1350,1158,883,746,666,887,982,1374,1702,1566,1456,1290,775,619,905,540,413,335,464,446,380,654,745,861,1208,971,397,343,347,329,427,684,1002,1080,647,636,996,1220,1158,870,633,566,598,880,883,1218,1064,833,693,1052,1040,581,601,608,599,858,1110,1190,1284,825,432,700,933,1118,1244,1250,1420,1206,766,955,955,1232,1118,899,822,1306,1494,1286,1358,1418,1188,731,464,396,367,625,894,569,400,833,1270,1154,730,863,1370,1048,535,373,454,359,329,602,700,719,619,384,430,473,733,1088,1496,1050,632,613,348,389,383,345,754,1038,507,537,1212,1308,418,356,374,536,1230,1326,716,333,291,316,280,255,464,362,247,317,286,287,272,253,261,248,244,292,447,645,650,495,514,496,341,271,267,226,735,1066,766,674,928,1104,1320,1226,877,658,457,840,1144,1332,1324,1350,1346,1306,1060,908,810,824,1176,1248,1356,1456,1306,855,773,727,730,870,1050,1164,935,424,403,495,1066,1250,935,606,903,1144,1052,899,891,1222,1306,1112,844,645,785,929,784,708,905,789,612,799,1094,1196,1216,1322,1370,1446,1672,1776,1968,1252,1224,1210,1192,1192,1013,631,344,361,312,303,318,347,343,469,488,528,551,493,437,464,423,432,438,391,394,421,460,514,819,1158,1208,1294,1380,1452,1478,1322,1240,1230,767,734,1018,807,585,507,473,505,560,488,534,651,503,426,545,440,410,562,916,850,1001,1542,2138,1686,1346,1410,1332,1002,775,574,844,1014,1162,1248,1466,1588,1506,1464,1322,855,666,1066,1062,875,931,956,877,984,852,645,759,1056,1032,1238,1364,1308,1050,1400,1678,1134,895,1080,1100,1178,1268,1212,1282,1176,814,647,882,466,620,1028,1112,830,656,736,1021,1152,847,531,426,395,368,282,345,368,444,692,987,1166,1210,1124,1298,1282,1060,957,872,855,1266,1256,1440,1356,1172,934,621,499,571,821,1232,1382,1526,1382,1370,1380,1532,1328],[522,367,346,340,395,615,1200,1562,1080,1042,1300,979,750,768,482,375,372,398,388,365,352,332,324,312,300,303,311,298,332,402,346,340,365,389,409,427,408,349,356,385,435,467,555,532,544,495,493,440,386,381,383,394,410,552,712,921,555,399,370,440,408,323,283,585,872,955,1470,1576,1338,552,323,330,372,380,589,675,578,553,828,1072,1064,1204,952,795,1007,1096,756,528,890,1270,1490,1598,1460,811,574,349,326,368,346,586,1100,831,519,514,756,824,516,536,872,814,662,498,662,815,615,471,551,593,443,393,448,411,487,911,1394,1672,1578,977,532,492,668,673,629,811,919,1386,1056,744,801,610,620,640,948,764,475,949,1242,1009,674,359,287,267,341,456,394,919,1456,1750,1754,1684,1652,1100,669,756,707,682,620,396,386,442,429,389,416,521,539,425,332,406,470,565,503,576,733,865,1324,1632,2094,2100,1682,1472,1328,921,982,840,638,720,831,934,719,1017,1438,1540,1594,1172,724,614,364,545,915,1156,1508,1262,908,729,572,360,437,410,522,979,1394,1366,1354,1220,1080,1332,1024,995,847,538,687,1164,1478,1460,1666,1686,1490,1118,996,778,797,716,587,771,1136,1478,1448,1212,749,781,762,760,894,973,818,900,589,374,624,1066,1484,897,596,566,525,648,802,744,463,296,531,938,1019,626,423,483,459,288,372,621,397,274,397,454,453,610,780,555,684,844,616,1054,1192,888,783,1020,1246,1248,1156,871,725,783,647,563,661,982,1264,698,927,1298,768,584,862,1038,1312,964,673,481,544,706,693,368,338,605,840,1066,1062,1013,839,553,502,727,865,902,877,908,907,861,748,610,525,556,884,1208,1018,1238,1422,1300,847,675,733,655,1240,1588,1464,1206,841,813,1001,973,631,526,447,434,493,544,665,594,685,1028,778,608,978,1224,913,781,1426,1460,1242,1216,1314,1384,1336,1434,1404,1212,1092,991,771,496,296,292,340,368,397,396,311,261,286,301,290,271,294,351,508,496,557,841,896,888,800,697,785,1050,1716,2338,1910,1050,700,563,506,790,958,1410,1236,905,958,1026,1214,1180,781,814,1310,821,594,651,798,718,711,1268,1578,1042,500,398,451,636,1124,1456,1476,1292,1082,1122,1072,1050,1196,926,915,1010,789,564,590,902,956,1080,1222,1304,1194,1082,1010,1294,1446,885,697,799,980,645,321,292,255,189,230,335,449,597,712,603,404,452,577,852,1136,1024,1282,1512,1434,966,860,1078,798,310,212,422,662,525,686,1100,1170,884,771,697,781,974,1118,796,442,400,384,383,381,432,399,338,393,401,365,365,383,455,573,730,689,606,519,462,421,410,433,443,446,525,592,557,592,460,473,489,556,470,400,406,490,603,595,567,712,977,1294,1264,898,655,792,893,1170,1170,934,863,672,497,666,1064,1208,998,733,976,1194,1148,1244,1158,872,825,725,599,522,802,968,1064,1318,1204,1210,1670,1522,1218,1440,1490,1011,1034,1082,747,652,586,807,542,673,779,603,354,576,721,705,801,507,450,651,664,648,797,678,675,562,449,330,630,1116,1046,771,947,1046,1278,1162,1040,744,977,828,901,1200,1158,1244,1198,1009,1086,856,590,700,800,978,933,1014,1038,1198,1498,1462,1110,1036,1194,1170,1038,962,855,1258,1316,1128,786,879,1040,1120,1208,1078,1112,1324,1262,1276,1306,1234,1248,1394,1418,1366,1490,1574,1386,1230,1204,1214,1146,1382,1236,1174,1076,865,733,516,440,535,583,574,616,927,1172,959,1382,1092,969,1096,718,948,1080,828,1024,1482,1522,1384,1302,1278,1034,1112,1168,1184,1252,2164,1678,957,1038,1290,894,915,1656,1782,1026,588,336,346,441,530,672,694,901,1100,1044,991,943,803,578,541,455,725,1021,915,937,947,959,697,739,1208,1628,1410,969,944,548,500,628,662,497,341,396,511,548,368,440,583,587,610,516,824,656,368,473,647,587,379,357,543,938,1174,1034,1170,828,928,1714,1924,1692,1592,1648,1128,1294,1456,676,435,535,832,824,841,676,349,342,239,245,305,348,346,410,508,491,394,674,792,937,974,654,524,684,825,897,952,783,1028,1224,1622,1616,1272,894,1080,1478,1196,1104,1588,1462,1120,710,539,758,948,622,573,727,715,655,421,506,808,785,789,772,658,899,1100,784,582,593,460,336,479,909,1260,691,485,407,417,405,334,311,313,484,636,459,442,679,480,530,645,1038,1230,1206,1021,1146,1106,861,707,683,698,661,449,455,425,437,474,420,335,251,373,672,785,1106,1302,975,661,339,333,462,1092,897,683,571,620,464,430,521,583,377,412,390,212,241,361,503,604,473,282,245,304,450,558,576,547,491,386,263,240,232,218,236,216,216,215,244,276,283,317,451,694,807,653,550,625,828,827,859,866,580,271,291,378,685,1546,1794,1013,813,981,1090,1338,1498,1560,1548,1294,1312,1642,1414,1044,1021,1090,1108,1118,920,804,839,982,891,664,404,343,444,603,1084,1344,1326,1208,1122,767,653,1084,1100,1130,1242,1206,802,658,756,1072,837,975,1180,1196,1130,932,666,802,1326,1490,1710,1348,832,687,639,635,563,792,787,648,850,788,619,606,613,852,1001,1030,1090,1300,1708,1534,1422,1230,1156,1352,948,570,596,680,761,823,683,527,420,692,879,1096,924,725,763,809,941,1096,944,1056,1122,1054,1078,1184,1188,1020,1016,1272,1518,1120,1092,1208,1048,1036,1072,1116,1360,1372,1484,1534,1202,1098,1098,1490,1790,1306,1072,1040,1206,1196,1268,1094,1015,1028,954,835,1052,1306,1284,1300,1448,1274,1122,890,693,581,527,431,375,409,425,469,584,723,698,699,694,555,692,1184,1340,1078,1074,1194,1200,1130,1004,701,875,1042,1028,1238,1086,837,843,984,922,787,993,1156,1084,954,1042,961,1110,1250,1376,1312,1074,963,1086,1268,1302,1234,918,1168,1124,1102,1222,1534,1392,893,670,835,1058,1028,525,538,1202,1312,1494,2412,1474,861,802,808,1660,2238,1998,1286,1572,1938,1296,1122,1056,1001,1010,901,1052,1168,1011,1202,1170,1208,1480,1190,1272,1400,1240,984,905,789,601,463,366,405,540,736,651,587,480,694,1108,848,774,1104,768,405,578,1130,1466,1082,421,416,644,1072,1090,936,979,598,498,559,368,325,438,521,377,406,608,713,568,1036,1130,1212,1376,1292,907,917,1122,849,941,869,866,1428,1906,1528,1374,1568,1534,1278,1182,1034,1048,1346,1558,1552,1528,1426,1328,1416,1168,1134,1174,1256,1454,1478,1282,1418,1480,1376,1324,1288,1278,1768,1512,1086,1166,1276,1234,1314,1594,1740,1582,1766,1776,1772,1400,1430,1444,1252,1166,1120,1066,1228,1350,1328,1140,889,852,1118,1218,707,667,963,1208,1266,1270,1282,1322,1318,1058,1072,1230,1326,1406,1294,1222,775,521,761,1134,1622,1628,1434,1360,1244,1050,963,1070,921,735,482,278,313,391,495,771,966,1030,588,596,488,494,639,691,838,1009,746,738,893,854,908,710,464,779,1066,922,1012,1064,1168,1328,1188,707,514,595,567,926,1154,1122,1420,1522,1064,1046,1021,954,1158,1310,1368,1224,1152,977,1060,720,1088,1274,1526,1366,906,649,750,852,948,1032,982,720,595,605,630,405,352,403,437,450,601,741,769,557,637,967,1066,660,306,298,526,620,594,469,710,694,386,507,786,1514,1266,1148,971,1066,644,261,336,382,453,950,1208,491,500,1246,948,340,303,348,623,1416,1578,925,342,304,290,273,545,1236,734,356,373,397,357,264,181,238,329,365,426,615,724,493,366,401,340,291,233,286,333,698,1011,780,702,1020,1350,1424,926,745,1110,843,1026,885,659,809,955,1206,1266,1046,704,818,971,849,812,1324,1516,1238,1002,963,935,838,637,528,708,756,536,451,546,630,994,1142,956,1068,887,714,796,893,1168,1580,1526,1194,1284,1082,875,844,1152,1406,1320,1052,1154,1618,1368,1138,1009,1150,1338,1600,1678,1554,1332,1272,1396,1542,1364,1052,588,411,373,337,359,422,420,382,462,551,572,561,508,543,672,629,498,417,332,342,435,493,706,1174,1270,1216,1234,1388,1392,1322,1198,948,896,651,658,820,900,887,746,610,483,404,390,513,406,332,635,787,487,445,946,1340,1296,1062,1138,1236,1302,1374,1470,1286,1134,795,736,808,598,749,1182,1476,1576,1448,1366,1052,761,1054,1454,1318,1256,1216,1086,1096,980,791,715,837,837,1052,1440,1388,1312,1244,1246,1198,1114,1270,1256,1034,1066,1142,1144,1246,990,990,854,866,711,532,554,871,1108,1138,1021,992,764,578,412,421,427,501,501,432,503,591,605,908,1348,1402,1332,1408,1192,1080,1062,965,883,860,823,875,902,727,444,385,530,865,996,996,1516,1732,1506,1370,1476,1522,1560],[417,345,345,376,359,651,1252,1268,981,1228,1262,861,480,426,456,412,382,406,394,368,362,360,331,310,299,299,311,300,304,342,380,406,383,370,396,416,387,362,371,374,383,379,371,374,505,667,692,553,401,374,372,434,487,479,480,603,490,397,408,466,517,603,552,571,802,871,1036,1436,1012,521,437,395,297,298,477,656,426,422,518,521,748,1180,1282,886,805,775,573,517,539,838,1186,1500,1286,861,615,383,398,583,484,661,1130,1016,734,801,1288,1154,614,482,609,655,471,333,824,1100,794,484,359,459,430,389,412,398,404,670,917,1028,1170,956,573,487,615,669,624,596,952,1444,921,819,979,796,672,694,832,628,422,492,767,1036,585,333,306,314,341,410,343,634,1102,1506,1574,1584,1516,1152,716,508,428,520,568,508,430,410,439,414,412,463,434,363,292,390,447,492,506,520,530,622,1084,1922,2184,1816,1592,1572,1162,562,531,771,797,657,571,605,582,718,827,884,1282,1460,879,369,463,684,880,1316,1416,1384,1280,985,642,422,397,438,874,1036,1054,988,1456,1470,1474,1644,1250,968,614,960,1328,1310,1152,1538,1538,1126,772,796,1058,1018,832,713,890,922,809,831,725,638,405,605,713,894,856,744,876,815,794,708,1052,2104,2030,761,425,354,582,708,982,1002,584,340,457,639,738,554,497,396,302,310,321,340,336,361,488,546,485,689,862,500,695,968,973,1346,1166,688,579,841,912,659,502,422,530,974,708,495,647,1274,1013,568,830,832,614,979,1478,1434,1046,724,626,469,670,504,387,326,468,645,907,1054,632,519,702,649,636,708,662,644,800,838,874,833,690,561,449,453,739,1128,1172,1664,1506,1228,754,581,614,623,1082,1370,1302,1272,1152,1256,1378,1050,583,443,580,598,457,429,459,378,583,782,539,520,800,937,624,477,843,1268,1426,1786,1694,1082,993,1228,1542,1690,1526,1074,1064,539,294,276,280,350,377,357,305,281,305,336,336,382,346,367,428,430,405,462,497,458,624,1260,1914,1630,1760,1152,828,557,394,334,385,636,888,1174,926,580,878,944,899,1184,1178,1068,1284,977,719,623,598,563,511,816,1164,1034,806,608,741,901,939,1234,1318,1116,986,1066,956,763,770,685,839,1014,949,1110,1134,1142,814,691,972,1316,1338,1152,1318,1792,1442,756,1064,1366,1128,660,387,287,230,206,292,577,870,908,825,689,521,576,563,863,1378,1260,1322,1492,963,592,713,603,405,245,224,307,474,446,819,1056,926,873,669,615,561,555,595,445,442,424,423,440,404,375,382,391,432,429,376,386,381,403,468,631,702,755,632,546,497,481,463,458,557,739,803,708,721,471,432,476,568,565,446,406,500,578,584,659,1036,1226,1266,1007,608,446,898,1192,1100,952,967,1232,885,807,1230,1288,1084,620,556,761,1108,1366,1202,933,828,558,592,903,680,853,1084,1116,1384,988,1068,1384,1204,1654,2396,1646,1284,1306,1140,788,766,683,641,589,573,475,394,319,496,751,814,706,583,943,761,681,585,694,570,466,525,540,404,536,956,1064,1046,1340,1278,1234,1256,1094,604,639,803,1158,1194,885,1276,1448,1178,1048,925,788,988,893,858,725,598,882,1602,2026,1472,1138,1128,1366,1238,1014,823,794,1156,1312,1324,1186,1096,989,1052,1028,1078,1188,1334,1290,1062,1032,1250,1208,1358,1478,1428,1394,1284,1308,1300,1216,1440,1386,1532,1334,1144,998,885,700,514,486,445,600,786,1034,1278,830,1110,1188,1194,990,687,687,974,1218,1200,1015,1202,1126,950,971,1358,1078,1078,1090,910,1078,1202,1194,794,777,1126,772,1046,1904,1914,1232,606,451,590,560,805,1246,1148,1052,1166,1980,2556,2310,1998,1166,570,510,946,1128,1002,951,644,659,608,800,1380,1212,579,565,806,626,395,492,778,791,457,444,569,766,448,402,574,653,698,557,758,854,438,411,483,434,379,349,870,1158,1154,822,1134,1136,1102,1928,2336,2060,1454,1086,850,2088,2100,833,350,492,720,849,1158,976,503,326,273,310,348,413,536,761,827,598,416,486,657,872,965,892,791,642,544,559,535,454,932,1566,2062,2010,1476,1000,745,906,874,1340,2020,2132,1682,930,525,545,962,932,473,655,1210,872,467,433,618,825,786,722,700,968,1060,800,709,670,472,394,468,581,736,437,552,421,459,438,354,417,553,745,792,460,339,639,444,425,584,1030,1338,1344,1023,924,1084,908,617,539,463,576,471,452,425,403,396,377,346,283,300,331,228,410,790,550,282,277,469,867,1130,1126,834,653,627,532,646,497,490,466,325,364,303,247,293,463,608,551,442,333,282,405,513,547,535,500,474,334,270,221,183,184,189,222,238,249,222,234,302,443,738,848,777,720,722,759,761,764,807,660,332,352,661,1514,1798,2340,1432,854,747,775,1040,1492,1566,1408,1634,1572,1490,1594,1284,905,908,1060,1108,1188,1086,813,809,1028,893,610,491,490,434,432,640,682,698,685,607,944,1194,1396,1640,1910,1562,1146,863,1040,959,739,975,1186,1332,1112,539,603,1304,1400,1450,1868,1388,698,590,624,549,624,818,711,723,753,687,622,710,799,1005,1010,1050,1130,1560,1702,1354,1184,1192,1502,1556,1064,636,655,740,855,902,810,801,938,1086,1226,1094,1050,1172,1358,1432,1394,1406,1376,1324,1490,1502,1490,1510,1320,1158,1306,1346,1552,1290,1162,1208,1388,1516,1516,1516,1694,1776,1686,1512,1466,1592,1246,1370,1662,1302,1078,1044,1318,1426,1338,1312,1150,1094,1160,1044,1134,1338,1360,1370,1372,1360,1206,928,659,610,538,424,429,543,543,553,679,735,626,576,651,523,483,1172,1748,1554,1424,1434,1204,1016,981,994,1246,1194,1292,1314,1140,948,995,1238,1080,871,1132,1260,1132,991,1100,926,952,1260,1498,1408,980,803,893,1120,1388,1400,1028,1005,1162,935,879,1288,1486,1180,828,979,1172,1246,661,412,1058,1244,1600,3276,2392,625,571,560,1054,1906,2512,1788,1252,1198,1680,2062,1316,812,1142,1136,968,941,982,1342,1658,1536,1572,1238,1216,1376,1214,934,893,825,753,601,448,464,423,463,427,430,446,469,803,877,778,544,396,351,505,998,1246,1026,439,430,566,946,1190,1118,1066,943,970,1134,659,529,469,494,491,480,610,600,725,933,872,983,963,628,471,530,916,959,1314,1310,1648,1864,1742,1308,1304,1412,1122,1019,1118,921,1252,1234,1528,1418,1300,1120,950,1086,1220,1180,1164,1282,1524,1538,1302,1290,1140,1066,972,1044,1166,1442,1538,1440,1400,1334,1126,1290,1484,1572,1546,1688,1550,1542,1482,1242,1252,1136,990,1314,1566,1600,1386,1270,1470,1340,977,1068,1020,932,819,788,1126,1354,1310,1136,1182,1134,1230,1248,1252,1262,1192,1132,1038,725,646,894,1234,1200,1012,1302,1382,1378,1356,1272,1294,1416,1412,1138,706,548,681,748,1030,942,922,717,802,711,757,943,1216,1476,1160,608,717,1026,1288,1374,819,708,1004,1108,1086,1218,1024,788,935,1152,907,877,1026,785,919,1370,1422,1440,1434,1178,1074,950,1032,1276,1572,1706,1332,1154,1012,1090,917,1198,1382,1306,1204,963,677,623,659,915,907,966,837,684,850,860,517,316,346,467,630,552,833,866,452,348,349,431,343,274,265,440,749,650,420,623,440,518,830,644,692,453,498,780,998,732,332,336,380,361,401,393,282,430,772,431,257,333,394,806,1406,1348,821,397,325,270,362,930,1260,705,375,462,520,433,328,467,910,863,707,443,351,310,283,306,321,392,343,262,260,332,744,1130,1150,1290,1226,1240,1102,965,1096,1688,1460,998,724,594,432,581,1021,812,1058,1222,1254,1014,965,1122,1476,1418,1158,1020,852,980,1218,1007,620,861,1196,1023,949,680,495,993,1174,1216,1212,1034,1274,1310,1318,1300,1724,1562,1372,1668,1438,835,734,1212,1432,1286,1200,1192,1180,1038,963,802,1040,1246,1472,1542,1524,1534,1376,1488,1422,1216,974,573,505,498,400,362,402,369,383,515,621,621,639,558,599,626,603,508,470,368,339,439,667,1104,1140,1228,1742,1664,1588,1508,1382,1200,700,560,675,739,790,1012,945,673,572,485,606,768,1172,934,636,684,729,561,611,1316,1616,1184,979,1348,1218,1266,1168,1548,1572,1342,1046,1102,913,571,672,1134,1286,1308,1366,1472,1250,1274,1418,1316,1332,1288,1144,1240,975,692,763,1120,1070,901,1260,1484,1460,1550,1422,1098,1086,1306,1588,1486,1272,1316,1166,968,1118,1068,940,854,821,863,719,711,1258,1616,1422,1126,1056,736,505,530,659,937,879,590,517,664,1068,1192,1310,1448,1400,1400,1294,1156,1020,884,817,670,583,598,753,843,663,419,433,596,814,933,1232,1478,1358,1390,1440,1272,1344,1590],[383,366,368,368,365,453,602,850,998,804,730,546,482,541,513,455,415,426,471,446,418,360,334,314,307,307,310,322,341,369,400,397,348,324,401,419,363,365,367,387,389,379,386,438,473,357,374,455,474,544,507,448,495,574,480,426,484,525,473,477,543,730,576,416,880,643,645,886,605,484,494,397,395,558,609,710,417,405,473,475,933,1426,1390,1192,1082,720,682,647,549,539,714,1248,1408,1266,861,636,470,641,604,723,1160,1400,1362,1400,1428,1158,833,682,658,570,387,355,777,881,513,372,690,1122,648,438,426,447,391,441,378,471,714,807,684,506,497,513,452,897,1636,1548,1112,1278,1086,794,733,849,967,923,1378,1046,919,924,500,318,284,269,268,339,401,677,1074,1152,1828,2216,2114,1494,757,429,583,714,694,649,506,410,389,408,418,423,378,393,345,391,478,548,591,574,477,393,596,977,1070,979,1376,1794,1206,626,561,709,747,600,537,561,702,596,543,572,756,996,591,566,728,590,760,1172,1262,1150,1138,878,512,441,492,709,802,664,652,713,1196,1504,1548,1378,1246,1422,1144,1686,1676,1238,777,645,695,800,750,675,849,940,922,901,1007,984,719,478,405,422,360,392,539,810,900,801,995,1298,1572,1108,1174,1324,757,550,721,1096,1164,980,1036,988,763,477,586,833,660,525,411,309,280,318,346,353,394,496,451,442,451,692,872,730,537,521,728,1030,957,630,495,582,738,833,888,670,666,824,588,440,538,835,947,947,634,691,886,1250,1550,1376,1138,936,548,546,687,430,397,406,590,766,947,883,559,548,620,690,632,676,606,536,475,615,711,612,615,827,789,547,370,569,1310,1688,1222,865,893,944,832,612,724,1086,1302,1250,1180,1262,1202,980,820,554,730,903,751,702,597,408,432,672,560,439,340,325,360,551,1088,1132,1252,1902,1572,866,1020,1264,1294,1282,1394,1228,1001,534,344,289,317,485,675,613,406,458,444,476,478,610,574,461,391,369,379,383,436,483,547,1062,1890,1614,1092,888,702,457,367,368,385,498,716,809,946,1030,894,775,736,1082,1344,985,1258,1308,1122,1074,973,841,719,644,905,1486,1184,842,946,623,402,701,885,841,648,647,677,645,769,725,832,1148,964,1144,1094,952,795,936,1316,1324,1222,1262,994,754,447,354,666,746,593,460,335,290,282,303,410,675,1005,1160,793,596,654,631,709,1178,1396,999,1184,1628,889,386,520,523,474,474,403,307,433,509,774,974,1100,982,645,580,498,366,371,449,442,371,372,444,412,416,516,513,518,518,380,360,361,417,495,636,739,730,668,594,557,514,448,455,662,962,954,902,788,521,464,546,577,549,482,434,471,559,603,973,1326,1202,896,482,383,344,584,673,505,492,766,1264,1326,1450,1596,1052,555,426,729,882,986,1034,709,610,531,484,1162,1590,1104,1062,1016,880,962,647,855,1286,1122,1420,1688,1252,984,1108,1214,1122,1056,900,558,498,539,424,431,409,495,512,510,641,685,662,494,533,567,580,454,371,500,593,444,525,1138,1182,1340,1278,1514,1510,1406,1146,697,661,841,966,874,648,963,1158,864,937,1038,826,1216,1396,957,752,1160,1112,1258,1392,1050,1238,1438,1310,1030,983,767,974,1236,1228,1138,999,1106,990,1058,990,1246,1356,1384,1196,1118,1084,1230,1290,1234,1440,1444,1264,1316,1378,1304,1362,1444,1406,1500,1230,971,1013,949,701,709,811,1124,1478,1412,1576,1212,981,1007,850,985,671,486,452,780,1162,952,977,1126,838,669,690,1084,1222,1468,1378,702,1032,1474,1638,1172,1116,1232,1104,1046,1154,1146,1116,772,597,768,576,713,1260,1019,827,1019,1852,2468,2568,2342,1316,550,439,492,648,651,665,383,370,576,999,1958,1746,1184,1046,724,351,276,302,460,714,648,495,484,772,492,322,407,549,708,631,797,1064,551,409,414,406,433,375,1009,1242,796,708,1302,1412,919,1162,1206,1304,1334,907,547,1228,1232,555,318,461,592,682,955,833,602,464,372,343,378,425,616,709,595,491,375,365,490,618,673,744,752,568,502,480,424,384,476,891,1526,1592,1128,975,731,830,1084,1098,1510,2020,2094,1200,550,584,852,998,719,1178,1036,491,321,290,334,728,816,687,658,886,1036,938,714,684,628,419,448,467,375,327,279,301,547,597,466,519,766,914,645,348,286,567,541,413,511,951,1318,1382,1258,1248,1310,1048,655,563,502,579,476,469,425,399,404,420,398,325,265,248,264,288,319,278,256,320,505,982,1094,1054,1210,982,926,1180,1114,756,383,501,389,270,241,208,224,333,487,561,568,426,298,318,483,519,517,512,524,472,392,312,256,222,232,230,241,264,211,226,261,330,567,709,677,628,576,610,625,613,719,767,559,390,729,1456,1150,1114,1384,1294,965,678,1030,1790,1768,1648,1236,1048,1296,1450,1500,1476,1056,721,925,1326,1160,1032,844,956,1010,869,711,586,444,406,392,427,407,309,745,1192,1396,1504,1606,1902,1298,893,968,1013,722,877,1146,1368,1434,1356,788,1202,1524,1388,1354,1434,922,415,508,667,633,742,763,718,671,602,630,831,915,854,951,988,1098,1338,1708,1648,1292,1274,1562,1770,1680,1440,1116,1078,1056,1118,1230,1264,1406,1382,1234,1021,1009,1076,1094,1010,1284,1204,1218,1130,961,1184,1626,1874,1606,1514,1274,1000,1156,1356,1396,1318,1414,1576,1510,1408,1412,1510,1650,1776,1688,1652,1478,1074,1170,1296,1206,1144,1248,1574,1438,1152,1238,1350,1342,1212,1050,1130,1146,1116,1296,1260,1220,1434,1336,819,590,573,711,532,551,581,697,753,633,621,698,633,462,461,751,1266,1494,1392,1334,1094,1007,1140,1488,1584,1282,1118,1128,1166,1120,927,857,901,865,1086,1222,1124,937,964,879,906,1242,1250,1296,921,640,620,674,1166,1354,927,766,1094,1082,890,1092,1388,1346,967,882,1086,1332,867,497,911,1384,1542,2554,2554,1007,882,532,631,1476,2204,2344,1668,1152,1692,2302,2030,1316,1036,1258,1164,667,773,1344,1668,1266,855,1004,1522,1506,876,630,616,527,662,616,630,776,880,913,899,886,792,747,1066,1392,1206,448,409,383,377,570,1004,1152,859,896,979,1182,1324,1194,1188,1300,1276,1268,735,694,478,320,291,315,432,491,658,707,675,689,949,530,451,473,1054,1078,1394,1250,1334,1526,1448,1314,1102,813,781,1110,1422,1306,1366,1270,1112,791,891,940,808,972,1372,1372,1242,1116,1200,1158,1300,1124,985,1156,1282,1090,935,1218,1418,1378,1550,1654,1348,1214,1330,1278,1412,1520,1560,1554,1362,1046,818,742,904,1044,800,1160,1422,1256,1304,1204,1146,1128,1372,1556,988,769,1208,1584,1272,1252,1007,933,1162,1244,1120,987,1030,1078,1122,985,1007,1154,1274,1144,937,1322,1290,1122,1340,1406,1348,1404,1538,1538,1130,702,991,1230,1034,801,796,552,421,522,621,669,890,1338,1222,980,717,827,1358,1562,1068,994,1086,1140,1094,841,741,792,721,1004,935,1106,1308,1238,1026,1368,1346,1244,1138,844,797,693,1018,1318,1606,1510,1250,1030,1136,1196,1048,926,775,652,644,821,842,670,634,767,813,966,827,699,907,979,552,306,316,373,464,800,1432,1152,656,454,306,257,235,264,263,326,481,571,413,557,447,715,1192,833,433,344,510,735,902,590,333,486,501,451,529,485,308,367,562,452,354,527,731,839,897,608,476,496,301,304,761,1132,862,434,297,364,345,337,444,439,686,761,588,309,225,224,249,253,278,309,312,472,746,802,976,1002,1314,1624,1360,930,704,769,969,1338,1230,912,912,948,533,680,785,771,1166,1358,1524,1338,925,637,935,1094,1012,984,807,858,1200,1396,843,1310,1598,1148,1128,915,703,932,962,1080,828,845,1026,1252,1224,1009,1478,1516,1340,1376,1198,940,865,948,1042,1146,1244,1156,1106,1310,1050,1026,1266,1168,1216,1444,1512,1432,1394,1400,1306,1340,1058,742,827,863,539,373,424,411,398,503,592,633,644,599,654,693,610,480,476,494,496,540,882,1240,1106,1030,1754,2026,1490,1098,908,886,714,891,1142,841,753,1110,807,582,585,980,1044,1016,1354,1456,1112,770,717,720,683,1328,1734,1364,1268,1478,1196,980,1036,1504,1428,1007,1158,1390,1208,985,977,1374,1414,1310,1124,1126,1310,1406,1316,1302,1168,792,695,1044,1112,835,827,1308,1328,1512,1232,1068,1412,1394,1222,1082,1056,1286,1378,1260,1108,902,965,1110,1440,1234,841,691,670,584,393,641,1376,1382,1224,1288,1372,1264,1030,962,1218,1356,948,671,745,886,1162,1272,1432,1116,1030,1184,1340,1374,1124,974,774,709,626,587,647,572,417,373,406,556,862,1232,1510,1478,1438,1606,1386,1516,1636,1616],[334,368,376,408,388,637,677,639,728,650,591,545,782,1194,1088,608,432,462,456,391,485,369,326,322,311,318,323,336,355,383,365,341,361,419,470,482,418,380,376,359,332,360,390,430,389,324,416,435,638,932,826,563,568,568,428,331,433,555,488,527,559,624,680,412,543,498,724,854,717,728,766,736,610,729,886,898,514,378,489,485,641,858,1086,1284,1136,1094,857,937,694,532,860,1332,1492,1404,1370,1017,559,565,692,681,960,1438,1716,1644,893,700,1132,1546,1460,800,501,766,957,733,470,517,984,1328,648,413,499,443,418,465,413,439,619,1012,1216,762,495,475,534,1126,1262,836,904,1226,860,496,698,1316,1266,1282,2454,2212,2100,1390,498,361,367,300,307,430,524,428,386,548,1418,1804,1988,1526,649,369,488,575,592,585,517,471,369,397,403,408,405,444,409,398,454,501,577,559,449,469,523,548,722,957,1502,1806,1372,884,902,1168,1084,818,668,484,611,502,390,396,419,626,713,797,623,449,564,758,826,751,902,705,558,505,535,816,1054,1128,1150,1174,966,1084,1076,893,915,847,1434,1828,1680,1730,1256,608,446,637,756,673,606,695,833,893,772,645,503,417,402,398,333,318,422,748,1094,1086,1686,2092,1602,1160,1334,1372,1009,606,712,922,824,940,1082,1017,967,947,777,743,1082,953,428,310,349,350,404,648,1114,1090,661,630,533,862,1096,1108,1122,848,788,1146,1030,577,520,459,824,1168,1468,1254,891,666,692,508,601,1100,1366,1318,812,754,1076,1236,1106,865,878,962,730,672,584,473,520,480,782,736,943,706,554,642,719,627,488,423,443,421,405,480,483,436,406,884,1220,662,427,849,1498,1532,1114,985,1064,1090,1154,694,701,1324,1606,1072,980,1172,1001,634,754,702,481,533,636,969,836,852,722,1140,1240,945,655,484,567,736,866,788,720,1068,1136,1048,1042,1740,1426,927,1084,1162,749,425,380,295,301,565,944,677,405,487,453,453,463,543,603,540,424,405,395,376,376,388,395,670,964,938,982,1072,755,452,363,429,464,437,739,638,874,1128,736,647,779,893,772,802,1046,841,1012,1202,1134,1242,1240,939,1134,1482,1216,1214,1122,656,511,657,1124,1142,855,1012,1030,984,973,745,928,1208,991,805,729,852,1078,1122,1158,1064,911,729,600,809,573,298,309,434,584,490,276,282,338,407,618,713,886,1002,804,692,700,836,1216,1274,1088,672,703,1138,825,560,551,687,496,419,379,331,428,592,763,827,629,433,455,497,518,538,474,476,495,421,349,409,527,647,607,597,590,550,455,447,475,560,605,665,725,677,614,547,506,481,430,436,731,1074,987,843,630,463,498,559,518,539,557,488,442,511,979,1358,1206,763,457,351,401,583,563,524,448,597,747,892,1064,1336,1298,850,468,474,690,760,873,964,1026,890,810,783,1066,1244,1058,897,864,971,732,387,585,973,1214,1238,893,747,1003,1096,894,819,903,804,547,492,670,653,682,500,642,788,785,796,596,424,682,816,674,697,664,386,495,794,659,611,1146,1400,1782,1274,1066,1282,1286,1234,999,883,1007,1130,837,615,663,738,700,1146,1088,904,1192,1178,1050,1182,1668,1236,1270,1482,1316,1304,1428,1464,1372,1270,1002,935,1068,1294,1336,1162,1094,1064,1176,1078,1146,1324,1280,1402,1714,1414,1378,1400,1344,1174,1262,1412,1482,1456,1282,1290,1300,1366,1290,918,626,731,950,847,1017,1028,1156,1420,1428,1440,831,684,574,697,901,545,523,313,501,1162,948,1078,1178,858,560,423,765,1076,1118,1208,1100,1478,1758,1796,1108,1264,1428,1394,1368,1284,1410,1562,968,572,889,805,933,1294,1102,611,698,940,915,1012,1084,684,395,361,249,248,299,372,417,398,516,1226,1836,1542,1302,1152,590,293,399,843,1440,885,777,548,420,639,459,300,398,617,810,1042,999,1150,645,510,583,543,529,429,772,919,670,932,1456,1472,992,1036,817,1044,1290,960,529,426,319,561,814,447,457,631,677,786,622,502,400,489,626,768,847,647,462,394,373,525,823,822,428,396,470,487,413,583,737,486,414,659,1104,1210,1084,1154,1015,1290,1506,1356,1184,1678,2050,1214,617,763,601,718,822,1230,558,368,354,290,346,566,666,656,615,744,966,998,719,772,787,463,368,283,270,291,263,318,532,657,399,392,794,982,698,456,360,552,619,438,498,920,1290,1396,1470,1482,1496,1278,739,556,512,606,800,693,455,401,403,425,418,355,253,269,361,288,240,248,254,303,491,980,1064,847,1440,1150,913,702,700,971,536,469,555,357,220,222,228,278,363,492,567,529,372,250,348,441,514,544,531,500,500,458,377,292,224,210,245,237,214,254,276,279,425,579,583,497,356,409,529,529,604,747,669,476,543,1154,1598,1564,1676,1754,1358,977,1040,1408,1278,1224,749,932,1408,1548,1902,1946,1606,1074,1220,1021,999,811,969,933,922,854,754,560,422,380,438,425,345,461,981,1188,1290,1170,1434,1144,830,747,807,673,924,1190,1356,1404,1438,1174,1152,1614,1476,1218,1210,1142,791,515,569,601,641,896,850,799,638,698,693,929,794,818,982,1036,1040,1056,1248,1290,1278,1528,1638,1558,1606,1500,1370,1220,1005,982,969,1406,1814,2000,1456,870,726,716,978,1262,1470,1140,1038,1116,1294,2062,2462,1958,1518,1388,1226,1086,1394,1572,1532,1414,1508,1434,1256,1108,1188,1252,1466,1722,1630,1478,1270,969,1078,1340,1494,1498,1294,1302,1136,1210,1156,1416,1560,1328,1080,1230,1260,1324,1322,1158,1250,1368,1372,850,523,752,1338,730,556,695,847,659,490,613,664,524,482,490,437,696,1072,1110,1082,1058,755,688,938,997,1080,1224,1142,1048,1028,832,832,962,1032,1284,1282,1048,862,915,1023,922,1176,1176,1278,1036,921,835,893,1324,1120,630,772,1184,1174,893,1036,1314,1318,1062,880,989,1180,935,645,969,1456,1346,1332,1988,1320,841,742,550,767,1210,1950,2168,1792,1578,1698,1794,1824,1196,1396,1514,918,1044,1570,1226,807,876,1414,2120,1636,713,628,933,661,662,630,792,1210,1202,1116,1116,1102,1104,1140,1268,1354,1306,691,614,449,346,457,752,765,656,748,1013,1406,1280,1152,1202,1118,1044,881,546,453,363,262,244,276,299,517,796,1092,1060,857,1082,600,539,616,1013,1021,943,913,1108,1338,1254,1176,1142,1154,1116,918,1086,1072,1024,1198,1148,913,810,968,1156,1170,1198,1104,1088,1210,1142,1150,1324,1204,1186,1370,1400,1252,1196,1310,1334,1276,1356,1686,1388,1236,1288,1262,1472,1594,1524,1426,1542,1390,750,796,1088,1144,846,1132,1176,1078,1148,1262,1202,1266,1188,1009,685,694,962,1332,1278,1384,983,959,1086,1016,1020,967,1072,1080,1106,1064,1164,934,720,788,756,1036,1178,1222,1396,1326,1372,1554,1474,1308,1198,1060,1284,1340,1005,757,641,519,346,337,424,541,869,1532,1536,1448,1218,1122,1216,1007,625,570,847,1286,1094,821,1236,1190,918,998,1316,1082,1180,1282,1108,1192,1136,1314,1238,970,833,745,1046,1452,1380,1188,986,929,937,986,1196,871,609,724,948,1378,1260,626,501,822,879,827,854,761,865,1026,783,487,439,458,963,1512,1926,1218,869,772,350,263,301,282,323,542,644,608,391,378,401,596,818,731,507,379,564,977,893,483,408,1174,1294,1368,1422,891,350,302,336,321,348,561,711,628,414,309,392,321,238,315,567,520,316,279,279,337,406,448,578,451,380,376,283,222,246,254,216,221,240,280,463,729,965,927,861,610,869,1058,969,749,594,614,791,1190,1148,1246,985,934,853,931,624,721,873,1138,1372,1242,904,753,733,1042,1050,1174,1012,1156,1332,1028,803,1176,1023,718,997,1068,666,687,767,875,712,581,689,1104,1005,956,1306,1546,1524,1074,1020,1196,1196,1310,1902,1632,1340,1200,1298,1368,1162,1100,1180,1164,1156,1322,1232,863,1446,1394,1202,957,706,621,796,805,453,349,423,418,428,543,606,772,692,603,702,738,625,499,459,530,552,557,609,952,1072,943,1023,1174,870,726,1130,1190,838,769,647,373,533,1140,959,635,1078,1470,1242,1356,1680,1622,1624,1474,807,738,656,904,1246,1334,1412,1288,1272,1372,1362,1430,1572,1292,1126,998,1356,1410,781,1092,1066,1032,794,644,1150,1664,1822,1502,1196,813,832,1092,1048,999,955,989,1066,1512,1266,1032,1416,1244,1382,1466,1250,1244,1302,1132,1162,903,991,1366,1216,864,1010,811,652,381,286,376,694,722,931,1218,1344,1372,1220,1148,1320,1158,1178,1098,1048,1104,1094,1130,1348,1178,899,998,1186,1138,1378,1512,933,800,688,546,471,420,375,379,424,938,1494,1484,1526,1606,1422,1604,1330,1378,1358,1666],[332,372,382,442,476,800,875,1116,1268,944,968,781,861,1448,1126,502,404,415,446,401,511,469,329,275,300,322,335,344,373,419,391,359,433,573,457,372,413,418,376,374,409,388,367,388,381,385,414,381,513,573,497,551,633,677,594,419,440,727,844,694,558,691,817,499,424,426,485,532,445,505,988,1200,963,973,1009,1068,835,510,372,390,406,517,909,806,594,731,922,972,605,667,1298,1700,1382,1174,1416,1326,933,650,1098,998,658,1104,1654,1528,727,475,943,1266,885,598,932,1262,991,730,536,1007,1406,1009,476,398,382,326,379,457,471,456,554,1112,1368,822,525,386,555,703,586,563,825,1070,675,401,471,908,930,811,1130,1148,1814,1306,474,681,797,406,411,350,350,251,318,449,1240,1848,2088,1628,979,838,631,688,912,995,921,493,343,394,406,415,434,466,439,404,404,484,616,596,502,548,635,787,951,1208,1300,1332,1316,1244,1266,1450,1266,1030,896,435,357,396,396,374,556,916,999,903,778,652,691,680,627,562,547,518,703,596,531,844,1476,1814,1700,1772,1112,1364,1300,1150,963,680,865,1344,1764,1750,1458,938,485,464,641,811,755,653,645,616,483,442,456,379,347,388,374,390,426,542,1017,1518,1728,1500,1290,1468,1504,1366,826,449,486,537,527,955,1162,1014,1142,1316,974,774,1050,834,365,393,350,459,780,1304,1726,1026,576,613,543,726,859,1088,1402,1390,1228,1310,882,582,482,537,985,1274,1638,1360,943,775,680,754,1090,1624,1494,1074,916,924,1362,1188,703,760,938,923,842,736,494,411,426,570,1018,731,791,920,814,809,760,752,782,611,436,421,411,392,409,440,607,1086,1082,776,871,1332,1616,1542,1350,1388,1180,839,789,558,509,822,1112,1206,1324,1164,681,379,429,414,370,306,331,655,1007,1368,1056,1426,1682,1320,890,758,953,988,559,548,669,856,1266,1308,780,907,988,1126,1152,899,684,669,480,371,352,595,682,492,416,492,521,540,476,419,529,578,510,456,444,443,427,426,590,899,1196,1212,1100,916,607,424,497,673,745,639,1112,1162,1134,929,737,767,742,715,632,828,857,728,906,777,919,1450,1346,1506,1974,1688,1394,1490,1266,1190,984,1066,1354,1096,1198,1598,1438,1568,1486,899,875,1050,1122,1036,812,748,1003,1196,1312,968,637,415,337,418,422,314,213,305,515,561,300,268,312,400,816,913,685,602,634,667,674,985,1072,773,744,559,483,641,630,677,758,732,476,399,388,330,473,654,656,654,625,487,380,416,451,474,402,377,463,448,368,361,491,670,705,731,754,710,718,722,689,665,624,655,602,476,455,462,455,451,405,376,516,608,637,608,505,472,669,623,514,590,590,565,600,1034,1318,1244,881,436,377,422,580,907,939,1144,749,660,693,836,1332,1206,924,777,683,1078,1104,904,989,982,1068,869,1011,1040,1084,1214,1208,908,844,970,805,596,677,888,1066,855,547,641,1050,1156,946,785,790,768,570,359,408,481,494,413,689,682,644,669,441,395,601,704,691,733,678,383,556,916,671,551,939,1408,1432,937,814,899,840,968,808,686,985,1102,830,811,814,763,1084,1448,1132,1106,1556,1858,1780,1382,1298,1990,2614,2056,1570,1412,1456,1366,1036,1144,1166,1042,956,1340,1250,970,1130,1158,1216,1260,1278,1298,1186,1270,1406,1296,1432,1202,1188,1030,1140,1268,1346,1340,1376,1288,1146,1046,706,473,681,603,797,1062,925,910,1134,1290,1440,1172,635,667,560,679,971,825,792,417,525,1164,1088,1016,1028,722,410,529,1152,1278,1220,1360,1282,1352,1658,1842,1446,1516,1596,1412,1238,1258,1628,1908,1182,533,777,946,1130,1316,1078,654,458,457,510,587,501,400,314,353,292,272,305,342,360,359,547,1262,1424,796,473,710,502,355,523,1272,2384,1528,914,724,429,554,526,393,405,771,1194,1704,1284,1250,778,549,740,696,531,420,598,1040,1116,1308,1520,1354,1178,1154,1288,1472,1426,988,554,447,670,1404,1328,536,356,561,789,891,557,350,346,396,641,902,959,981,977,681,639,921,959,547,345,397,694,806,473,709,1214,849,535,489,951,1048,1028,1216,896,1130,1284,1005,891,1076,1015,718,771,1232,734,680,686,528,385,321,296,263,339,451,495,516,619,633,859,1084,794,639,542,417,415,440,325,344,330,251,381,687,426,345,662,788,526,392,387,613,838,470,394,764,1172,1348,1460,1382,1600,1460,885,597,537,588,638,451,414,379,401,417,401,319,233,260,319,273,240,268,285,342,774,1230,987,904,1234,1228,953,570,652,969,659,450,697,624,277,263,241,257,253,343,507,578,377,228,254,333,460,539,554,536,524,519,484,437,337,247,241,238,232,232,251,288,323,470,499,464,338,376,473,513,536,611,659,563,449,755,1116,875,792,1176,1950,2198,1332,755,847,892,772,1126,1476,1698,1816,1754,1746,1556,1434,907,893,848,807,951,1008,808,688,597,439,398,478,438,587,965,1056,1334,1340,1302,1158,986,863,904,937,1021,1388,1356,1402,1434,1302,1052,1622,1848,1324,1226,1184,959,606,543,762,687,881,1024,1003,750,659,636,818,833,788,951,963,962,815,875,1102,1084,1520,1520,951,800,967,1042,1084,1009,1122,1418,2088,2474,1794,1886,1324,965,865,1166,1468,1506,1406,1252,1188,1005,1248,2016,1848,1502,1190,711,890,1412,1488,1244,927,923,1270,1258,1046,1016,1134,1346,1546,1392,1402,1520,1290,1222,1118,1348,1586,1352,1300,1318,1228,1270,1034,1472,1636,1394,1334,1466,1582,1556,1256,1416,1622,1232,1015,805,519,778,1166,1024,753,663,675,489,451,547,547,437,393,432,460,483,533,483,560,654,514,572,775,998,939,758,801,841,979,950,930,1020,1034,1040,1062,959,835,761,911,852,1186,1112,1126,1136,1146,982,872,780,597,727,1318,1338,1102,893,1048,1242,1302,1196,1078,1070,1016,893,1050,1306,1410,1494,1188,2220,1710,981,1218,909,633,723,1116,1806,2360,2014,1552,1516,1966,1846,1722,1726,1332,1312,1426,1066,750,740,1200,1744,1094,1088,1372,1556,919,608,866,1102,1224,988,900,1318,1156,891,963,624,714,1384,967,567,374,347,337,373,379,369,431,729,1434,1342,1358,1268,914,753,581,418,367,336,306,344,313,339,731,750,1036,1174,1318,1280,1220,1198,1158,1206,1138,1190,1088,930,1150,1210,1250,1284,1182,1084,867,954,1032,1048,1150,1198,1026,901,808,1136,1168,1002,1007,1010,1170,1042,985,1142,1118,1296,1530,1360,1218,1250,1240,1230,1300,1308,1386,1284,1624,1742,1688,2092,1742,1258,1274,1510,1282,1056,1274,1150,1132,1294,1272,1244,1256,1398,1416,1390,1372,1028,928,1000,750,949,1244,1270,1212,848,968,1146,957,958,1144,1138,919,1382,1214,1144,1142,1004,766,771,1048,1188,1298,1424,1198,1122,1278,1226,1182,1234,1128,1110,1034,1102,948,559,513,454,438,666,1118,1294,1104,1580,1628,1354,1174,995,630,640,702,905,889,619,654,1030,1007,921,878,1252,1184,1042,1098,1122,1168,1228,1260,1266,1204,1102,759,907,1238,1230,1021,745,546,507,797,1298,871,811,938,1280,1612,1350,724,386,543,618,554,601,776,1116,942,806,648,458,623,1040,1048,932,681,983,1166,581,343,357,347,550,1126,1060,562,297,300,378,372,397,519,513,619,1236,1228,729,429,481,1068,1060,1212,1540,1076,382,303,314,308,289,720,659,564,376,339,303,221,264,408,486,354,248,305,506,346,390,378,483,436,336,289,296,330,310,220,240,268,265,412,975,965,828,962,825,610,766,987,918,651,487,517,713,1312,1574,1624,1272,900,838,1118,827,871,1238,1366,1222,1098,745,988,1046,1466,1396,1274,1474,1482,1234,940,1068,1230,930,588,659,892,575,889,1078,783,482,484,507,600,638,824,1050,1001,1056,1356,1494,1326,1402,1260,1588,1610,1352,1206,1370,1488,1388,1338,1268,1360,1396,1472,1520,1490,1534,1172,1058,1066,850,576,425,377,250,282,371,433,513,559,559,777,883,766,618,577,635,662,604,560,508,569,835,1322,1276,1019,1124,974,712,944,1060,777,713,543,421,435,543,850,887,722,920,1214,1382,1186,1060,1236,1764,1990,1182,796,852,976,1288,1514,1262,1174,1158,1194,1408,1320,1342,1342,1604,1002,1450,1214,688,717,623,744,702,733,1184,1666,1516,1388,1192,895,1102,1250,1114,1252,1030,819,1011,1023,1150,1082,1578,1616,1512,1448,1146,1100,1256,1330,1384,1126,1032,1302,1194,1138,926,828,566,317,327,354,378,543,894,1174,1160,1058,1266,1284,952,791,1182,1106,985,995,1064,1502,1688,1374,1288,1600,1782,1608,1650,1186,699,741,811,562,444,425,409,390,726,1498,1384,1272,1362,1228,1470,1606,1380,1292,1456,1606],[339,391,379,641,659,574,813,1440,1784,1160,1021,899,611,659,585,488,456,490,600,492,418,435,347,276,310,326,336,367,448,458,411,321,364,477,516,594,597,412,385,389,391,377,398,377,367,385,384,361,387,380,367,412,436,499,508,577,814,1222,1368,1024,611,753,807,448,412,362,346,347,400,632,1220,1342,1120,1038,938,1102,1058,594,368,350,411,574,902,476,456,361,383,429,419,755,1408,1594,1264,1026,1192,1286,1374,1050,1274,1040,1016,1400,1760,1360,569,519,587,616,858,874,1042,1202,686,413,359,744,973,596,361,402,287,263,311,307,336,336,370,504,627,587,555,426,318,261,366,628,654,658,510,495,403,436,369,566,982,1092,1110,807,497,871,903,532,483,378,347,307,311,360,743,1166,1422,1266,1092,1184,1132,1042,1078,836,781,560,397,428,462,458,515,555,446,391,369,402,582,616,554,560,644,682,1024,1276,1094,1334,1376,1168,989,903,716,936,825,513,414,426,545,640,614,986,1266,1858,1276,722,703,649,647,601,855,1234,1042,650,604,1042,1638,1718,1582,1608,1324,2076,1478,1044,1158,1046,686,893,1134,912,1062,1015,564,433,429,570,829,788,876,943,877,900,888,473,346,330,386,444,499,454,771,1170,1048,1156,1738,1606,1009,999,781,590,368,525,1002,1216,973,899,879,863,909,872,939,767,478,514,385,439,830,1242,1196,999,1106,814,614,530,594,963,1472,1510,1114,1058,811,944,1017,803,965,1576,1464,946,785,833,935,1332,1598,1978,1354,1122,1202,1132,1015,741,772,1060,1338,1009,603,677,550,431,419,707,1104,1032,736,580,763,999,1262,1296,1214,1068,648,530,509,486,412,711,1136,1252,1016,622,793,1302,1390,1342,1068,1200,979,544,312,379,470,435,748,1076,1011,995,847,794,1218,716,373,399,655,1302,1524,1048,789,988,1248,1078,853,1136,1202,781,907,1294,1530,1428,1132,1250,1090,971,1106,1040,982,651,528,462,368,370,340,769,970,687,496,545,509,462,411,360,439,475,561,541,502,467,433,419,799,1016,739,586,665,722,636,712,1009,995,1166,1234,1112,1500,1598,977,553,679,695,738,981,1314,956,851,1042,1007,1092,1284,1214,1656,2006,1620,1548,1482,1562,1612,1290,1136,840,526,550,964,1216,1458,1290,1062,1110,1134,1538,1452,863,551,797,1396,1582,954,553,451,272,287,372,324,257,309,472,675,445,267,241,500,1021,1076,739,626,619,611,535,713,670,671,691,609,413,500,536,477,373,295,408,601,549,345,450,590,541,644,625,490,458,458,466,462,424,350,391,418,389,368,526,629,598,905,1100,854,677,692,597,533,477,432,393,412,449,497,498,463,392,375,446,463,432,447,469,504,714,622,558,604,557,616,962,1304,1328,1144,623,385,537,603,677,872,927,1186,1072,881,813,1140,1154,598,552,604,694,1352,1432,1278,1192,1264,1170,1328,1336,1094,1220,1290,1100,792,527,570,750,570,553,803,896,669,340,578,1138,1272,1136,924,879,821,553,338,343,410,341,359,511,594,675,512,331,329,425,566,584,507,485,404,599,900,661,940,1686,1366,1084,910,1076,1232,1114,1218,990,987,964,1022,1092,951,902,1100,1432,1330,1048,1410,2004,1914,1684,1278,1108,1632,2128,1866,1432,1124,1044,1038,864,888,1162,1096,961,1066,893,879,1034,1262,1438,1226,1164,1094,1160,1140,1194,1212,1334,1152,1032,965,977,1008,1212,1360,1370,1170,1088,752,409,538,964,937,999,1009,799,736,1190,1538,1420,892,672,891,1142,1352,1278,902,718,458,600,1036,896,824,1102,988,612,1322,1764,1520,1380,1698,1456,1512,2096,2094,1578,1368,1428,1438,1304,1406,1554,1540,1196,744,778,980,1206,1320,1142,893,633,619,461,303,340,362,302,285,285,286,275,298,474,503,548,1350,1772,1168,509,675,537,441,437,868,1816,1386,801,857,496,733,677,433,336,536,913,1416,1214,1198,925,564,844,816,614,541,691,1352,1462,1610,1478,1196,1160,1208,1222,1178,1010,727,519,469,865,1116,679,375,422,485,618,784,552,418,728,1152,818,552,654,682,941,1030,953,1042,955,664,462,435,725,636,391,568,1074,885,596,495,683,816,857,775,708,644,1032,1250,772,860,953,1058,984,1618,1432,1224,1022,671,332,406,481,554,603,450,417,440,697,591,631,957,936,749,623,481,496,639,553,694,630,357,347,646,418,287,372,416,316,280,324,485,731,567,396,626,1058,1498,1648,1796,1800,1552,1032,599,585,616,658,545,633,750,723,519,422,297,220,251,306,372,301,273,268,278,721,1296,1950,1328,1064,933,555,446,399,507,751,656,585,767,435,260,237,237,231,249,381,554,508,341,220,242,368,448,473,514,527,549,522,498,422,316,311,336,261,221,262,286,295,326,293,383,409,397,402,464,505,497,440,398,394,346,513,714,812,1306,2690,2072,663,599,983,1090,1022,987,1256,1792,1832,1958,1910,1784,1492,1056,836,1023,1028,927,849,893,738,521,458,453,478,587,1003,1156,1092,1202,1368,1274,1042,1270,1094,954,907,1320,1394,1472,1486,1440,1148,1512,2114,1606,1100,2040,1896,1130,608,540,708,771,919,942,786,610,589,744,839,760,933,960,976,1066,1054,984,1023,1350,1554,1024,648,712,912,1258,1550,1500,1804,1794,1938,1704,1200,770,1134,1472,1446,1598,1546,1332,1392,1374,1098,1056,1198,1288,1310,1464,1302,1202,1346,1332,1328,1266,1110,1502,1228,1076,1066,1200,1292,1562,1718,1358,1506,1526,1272,1266,1178,1426,1510,1032,1214,1128,1224,1438,1346,1358,1446,1298,1302,1450,1472,1354,1328,1282,1436,1332,1432,1270,973,857,961,1180,871,590,537,451,408,451,550,445,366,363,411,420,386,258,342,456,510,724,1036,1144,819,698,768,920,1038,980,894,824,839,803,964,1018,934,795,965,1064,1244,1160,1308,1362,1188,1112,941,676,803,904,1232,1126,1174,1058,802,861,1046,1032,1110,1178,1062,1192,1360,1342,1228,1430,1184,1800,1802,1066,973,1150,987,1132,837,828,1928,2344,1638,1324,1760,1950,1848,1856,1758,1570,1338,1186,803,871,1018,1280,865,749,1146,1526,944,453,575,777,966,866,796,1054,1024,1092,1108,581,434,1250,1186,529,274,372,589,538,330,334,508,830,1526,1546,1340,1016,686,505,432,416,369,325,291,279,247,383,979,1184,1338,1302,1304,1400,1390,1170,1222,1302,1582,1550,924,597,835,1266,1402,1238,951,695,602,1048,1256,958,839,1010,1068,1023,992,1016,1068,1078,1058,1166,1228,1058,1086,1048,1048,1300,1550,1508,1248,1126,1204,1268,1220,1322,1342,1184,1632,1992,1588,1472,1336,1374,1538,1510,1452,1364,1078,731,902,1019,1060,1282,1478,1674,1414,1068,934,704,628,657,741,1068,1344,1328,887,653,962,1166,1150,924,1148,1142,948,1242,1168,960,1240,1604,1462,1366,1334,1224,1234,1320,1136,785,908,1290,1224,946,974,1034,1118,1396,1570,1148,678,637,666,1108,1428,1248,1188,1512,1548,1234,1090,904,435,567,883,914,738,1018,916,762,985,952,911,1316,1432,1324,1082,1144,1328,1406,930,811,1166,1124,852,792,864,860,610,510,433,698,783,867,516,674,591,508,781,999,781,465,450,418,435,839,1500,1548,1026,805,833,486,561,853,761,464,504,951,1288,1022,508,415,360,510,1256,1230,753,604,355,395,372,549,477,464,689,1512,1056,620,525,592,645,779,1176,1328,888,359,257,271,280,278,636,687,438,299,312,235,228,239,355,361,307,277,339,581,380,264,393,399,307,249,221,245,309,267,308,366,302,272,554,991,968,1108,1262,918,702,982,1256,869,913,742,596,792,843,1104,1106,1180,1032,1198,1242,1022,1268,1228,1294,1398,1416,1024,1036,1154,1400,1442,1046,874,862,908,1007,1036,1348,916,572,462,671,634,1232,1448,907,620,595,400,503,670,915,1176,954,1002,1390,1526,1206,1120,1184,1350,1392,1458,1592,1510,1434,1406,1414,1208,1334,1342,1402,1520,1588,1644,1324,1196,1266,921,553,341,325,326,294,318,469,555,516,474,621,852,696,481,455,549,552,505,505,650,1005,1266,1294,1354,1322,1090,922,953,1068,1028,750,616,493,545,584,575,782,849,745,843,1220,1482,1312,1012,1198,1548,1808,1620,973,981,1306,1478,1428,1486,1462,812,952,1278,1070,998,1528,2702,2092,1572,1168,831,662,727,1000,1132,1288,1310,1532,1406,945,667,574,984,1318,1126,1164,1328,1318,1258,786,946,1084,1508,1632,1298,1298,1250,1136,1084,976,846,784,899,1212,1204,936,612,691,483,297,291,383,583,708,799,1272,1418,1360,1344,1009,775,740,1196,1346,881,631,1092,1600,1406,1372,1454,1656,1470,1422,1310,1166,1058,1324,1276,779,462,441,465,509,838,1028,689,857,897,861,1202,1160,1056,1262,1456,1416],[296,299,422,761,648,539,781,1220,1354,1176,1226,851,492,408,428,543,549,453,502,454,404,426,475,361,349,346,319,349,381,434,424,347,414,610,734,583,453,435,395,366,339,378,437,408,360,462,536,377,401,444,531,549,425,335,384,556,988,1326,1588,1306,860,962,1062,610,556,679,683,695,878,1132,1316,1256,1170,1006,1044,1196,1064,605,413,386,386,701,699,435,403,315,252,307,348,497,880,1350,1278,890,1021,974,1168,1456,1462,969,861,1238,1614,1230,755,995,968,740,984,774,1082,1120,697,477,441,359,335,337,426,391,287,350,250,286,315,281,300,325,502,778,751,361,257,296,286,449,612,680,605,498,426,489,469,1050,1782,1142,1172,753,781,1572,1372,1314,1256,747,362,303,325,403,799,1468,1188,784,872,719,771,824,672,537,692,659,461,475,516,580,616,602,452,407,391,321,429,551,573,565,608,872,1238,1118,646,778,708,632,536,443,405,498,623,725,922,982,715,1044,1018,1290,1444,1596,1194,921,760,561,597,698,1012,1238,1038,1042,1172,1262,1432,1390,1606,1498,1524,1698,1296,1142,1608,1666,843,531,649,761,1066,1172,740,622,499,435,638,1094,1324,1442,1406,1266,976,411,356,345,331,442,554,499,531,754,1246,1742,1740,1266,606,935,1170,720,357,474,703,842,780,579,600,902,830,809,943,703,605,431,408,420,630,1026,1046,1374,1498,1234,1026,822,778,1015,1394,1116,882,832,1042,1288,1344,985,1032,1250,1086,764,552,597,837,1216,1616,1664,1110,1182,1120,1024,1005,881,1260,1362,1384,842,678,753,737,707,707,885,1188,1514,1220,719,622,758,1318,1410,1015,924,611,595,731,936,1574,1968,1346,1340,907,429,493,786,1076,1274,1082,905,1068,585,289,363,420,535,966,1106,984,1026,1102,764,1396,856,426,446,822,1466,1466,1192,1017,892,1160,1282,1200,1328,1184,1122,1334,1624,1852,1542,1270,1398,1288,1470,1754,1566,871,762,799,601,594,552,532,915,1274,1160,1044,818,500,432,415,390,501,537,570,665,557,468,477,396,509,571,409,430,470,543,541,778,1102,1104,1262,1560,1758,1584,1254,1005,973,761,687,722,891,1254,956,828,1326,1764,1642,1270,1136,1432,1622,1556,1396,1322,1502,1328,1470,1102,634,401,332,437,771,1030,875,759,885,1096,1238,937,573,408,566,890,917,572,505,595,386,275,210,228,287,351,516,676,563,357,276,641,1106,933,752,683,787,713,641,839,896,805,1108,813,321,437,540,406,309,278,366,521,628,336,357,409,348,418,459,512,517,507,550,505,458,411,435,401,381,397,579,647,547,929,1310,834,471,459,491,536,599,551,473,498,512,506,514,512,441,401,404,431,424,452,519,576,631,583,556,585,593,915,1290,1250,1180,772,482,728,1518,1540,956,791,728,641,938,1100,771,683,598,467,432,585,498,974,1084,967,866,878,1176,1652,1400,827,676,765,581,649,502,447,498,503,468,678,996,920,668,644,871,614,1024,974,952,840,558,403,412,428,399,521,584,523,488,521,631,630,541,499,529,510,605,589,642,921,719,951,1700,1232,1028,871,1096,1488,1438,1324,1016,990,1094,1138,1126,1202,1282,1456,1378,1122,1440,1372,1382,1382,1244,1028,1120,1326,1264,1162,1106,1012,987,875,1100,1012,991,1005,792,581,541,742,982,1440,1504,1238,1098,1082,1206,1198,1206,1166,1340,1240,948,776,605,680,1040,1588,1644,1196,1092,774,543,557,596,796,785,864,1046,887,1194,1392,933,472,650,932,1182,1298,1118,738,539,468,658,1082,1236,1664,2074,1656,1230,1384,1490,1486,1326,1512,1510,1730,1930,1698,1368,1064,1220,1468,1220,1276,1388,1178,1034,719,730,1172,1306,1206,760,549,507,561,459,308,309,299,298,321,436,520,462,455,577,608,444,644,1001,910,639,857,918,830,625,636,792,567,559,791,375,406,651,525,359,338,438,802,888,973,999,540,802,811,594,458,701,1220,1556,1684,1570,1148,933,1248,1296,772,459,391,521,543,613,486,519,630,785,664,498,702,385,345,703,1086,879,641,642,830,778,842,983,1156,1228,885,629,538,698,617,483,490,741,1132,896,477,495,713,890,1114,1338,591,712,1178,916,1218,1728,2032,1260,1340,1694,1376,1512,1558,865,636,912,1322,1456,731,509,472,529,507,580,905,1184,1214,1018,846,451,477,701,1152,976,480,362,508,380,314,566,645,412,312,358,412,491,655,409,472,1320,1730,1538,1548,1462,1428,1202,783,815,957,1110,1088,1146,1220,944,577,458,368,255,272,374,631,430,299,296,285,298,469,938,1112,872,395,308,485,512,675,1070,1214,703,676,676,378,234,237,215,218,283,438,561,504,285,236,313,298,318,377,461,502,502,499,475,406,360,336,258,262,280,268,300,293,300,409,436,360,369,409,385,491,503,423,394,303,347,473,762,1646,2060,996,523,907,1084,1132,1152,1116,1001,1262,1600,1658,1830,1606,1044,632,879,1162,1196,946,572,831,1160,897,539,458,509,911,1170,1194,1222,1036,1160,1392,1220,1444,1362,969,1262,1420,1388,1444,1440,1204,1378,1802,1788,1860,2128,2596,1918,1138,687,663,700,870,926,780,642,604,659,818,728,902,932,956,1180,1344,1360,1162,1206,1368,988,648,791,1011,1152,1616,1866,1794,1904,1868,1744,1316,779,880,1526,1858,1936,1528,1340,1200,1132,1042,1072,1210,1254,1218,1188,1140,1108,1208,1356,1188,1122,1240,1142,1154,835,974,1190,1274,1466,1598,1626,1286,1114,1048,1198,1306,1266,1188,1392,1400,1260,1044,1120,1412,1312,1166,1456,1196,1164,1402,1398,1212,1412,1358,1302,1448,1646,1444,1224,1096,1058,927,843,587,521,444,460,458,506,490,388,366,436,522,503,360,392,450,575,724,1046,1248,1042,899,871,977,1126,1296,1011,723,708,802,895,1156,1048,862,930,1098,1236,1278,1260,1306,1242,1276,1174,884,864,1170,1534,1052,893,1020,798,811,992,1122,1216,1320,1662,2258,1580,1166,1166,1272,1240,1492,1766,1268,696,673,680,992,750,874,1360,2204,1896,1678,2008,2100,1860,1726,1586,1684,1370,1164,885,900,1210,1608,1416,1134,1194,1268,896,637,897,985,769,572,538,1180,1366,1362,1084,684,722,1186,1300,903,513,952,1392,962,410,314,377,766,1206,1272,1023,576,356,336,363,378,326,296,262,238,242,675,1222,1382,1420,1412,1352,1340,1092,694,1066,1230,1456,1015,529,551,902,1202,1212,1122,1148,1060,889,1208,1246,1160,1046,907,883,1034,1158,921,996,1232,1246,1408,1502,1472,1620,1302,1284,1200,1130,1240,1288,1368,1236,1036,1134,1428,1544,1254,1262,1322,1472,1394,1378,1506,1542,1526,1498,1438,1018,805,968,917,1276,1412,1548,1462,854,498,484,408,398,636,969,990,948,971,675,673,769,1023,1108,861,1012,1154,1184,1282,1282,1086,1266,1414,1228,1280,1322,1318,1408,1294,988,881,1044,1158,935,619,568,698,1076,1466,1732,1656,1066,829,1020,1262,1260,1380,1468,1450,1432,916,775,670,743,738,1410,1368,1164,1448,1316,1084,935,808,977,1050,1006,1312,907,984,1174,1216,739,492,825,1036,803,509,497,610,667,489,475,1042,1080,817,557,584,554,431,616,1134,1134,727,561,508,422,625,1204,1270,1070,1046,1074,667,451,603,600,466,528,1005,1102,742,493,465,408,413,714,1034,1396,1186,586,637,715,1028,585,510,1238,1408,1080,882,752,857,825,667,656,575,458,289,234,231,201,283,529,597,401,422,487,252,232,210,234,298,321,290,279,340,384,444,357,249,278,311,355,354,278,252,480,532,414,316,303,521,729,961,1148,891,960,996,993,952,1282,1006,1040,1148,876,775,969,1036,869,1048,1192,1050,1312,1232,1884,1812,1584,1342,1182,1176,1388,1216,932,955,672,954,984,695,1110,807,485,596,662,612,903,905,828,1122,793,383,523,638,1060,1288,993,974,1222,1170,1122,1138,1072,1156,1264,1460,1438,1202,886,741,834,976,1106,1134,1200,1524,1738,1606,1522,1458,1118,992,813,633,794,529,325,323,409,457,495,525,584,685,1060,1090,590,490,514,545,800,1226,1446,1336,1250,1466,1478,1060,1066,1046,1104,1092,1076,739,501,458,484,619,907,711,648,1100,1384,1454,1516,1012,1160,1500,1482,1434,1252,1016,1212,1300,1274,1428,1316,1102,1274,1064,987,1354,1540,2238,2154,1470,1120,932,833,1030,970,1094,1116,973,1154,1388,1256,940,760,993,1276,1230,1286,1560,948,636,636,763,1202,1432,1422,1370,1340,1208,969,799,495,514,883,708,719,785,546,430,327,280,297,318,487,751,1078,1188,1458,1512,1478,1378,1036,1120,991,1158,1418,1026,807,1250,1488,1256,1332,1350,1568,1592,1510,1424,1500,1162,904,977,851,559,556,514,612,998,959,660,681,835,1008,1192,1222,1102,1232,1214,1284],[386,318,541,855,679,802,1074,1510,1488,1228,1150,835,469,448,503,640,640,419,444,482,472,502,603,414,329,353,325,339,393,440,416,386,382,459,655,495,399,389,365,391,391,390,407,388,350,455,623,416,425,412,480,349,289,342,366,562,762,1122,1518,1126,1098,1292,1114,1154,1080,1058,882,777,878,1164,1120,1094,1198,1182,1132,1268,1180,704,408,375,321,748,669,394,379,305,293,301,399,383,436,789,879,603,815,1118,1236,1236,1288,1270,963,818,874,760,1030,1714,1568,959,1058,1120,982,838,605,390,381,355,350,459,449,272,256,298,265,314,298,270,265,251,362,661,568,314,348,322,354,455,631,695,567,514,567,606,613,1440,2236,1336,995,509,983,1714,1450,1388,1214,636,340,355,523,779,1018,1456,1148,902,901,744,1000,949,766,788,647,530,440,534,583,661,659,564,434,408,384,361,403,484,565,537,610,1106,1318,1082,556,635,792,667,469,394,505,626,786,926,896,885,829,1202,1298,1354,1384,1550,1550,1686,1404,910,713,671,719,912,1114,1128,1306,1478,1956,1876,1768,1820,1816,1902,1498,1128,1366,1146,604,506,672,888,1224,1240,960,697,649,571,886,1332,1354,1448,1322,1096,619,359,376,419,393,441,513,512,494,620,927,910,1236,1364,656,843,1038,607,352,373,393,544,675,672,763,788,993,1064,849,860,642,451,444,429,562,720,1122,1644,1610,1418,1190,1252,1200,1120,1278,1118,979,1001,1180,1366,1420,1078,1136,918,991,681,515,489,477,653,929,861,874,1064,906,822,1240,789,894,1456,1754,1246,1016,840,558,522,931,1100,1202,1640,1634,1007,807,603,1015,1114,1019,778,672,781,1192,1646,2818,2596,1538,1292,636,760,616,418,581,951,1334,1296,713,274,268,350,544,859,1154,1302,1138,880,706,481,736,661,619,607,636,715,821,937,1214,1290,1102,1212,1172,1166,1254,937,578,844,1296,1184,719,942,1300,1510,1544,1538,963,851,652,630,840,879,717,954,1432,1688,1770,1038,752,518,390,427,464,491,614,692,634,595,554,459,413,354,420,433,486,474,558,612,744,901,1110,1560,1898,1466,1144,956,982,737,846,860,671,576,531,871,1200,1174,1202,1384,1382,1494,1504,1352,1150,1214,1230,1354,1418,1144,899,683,567,505,789,564,401,349,587,709,542,369,500,751,706,897,1102,756,652,794,561,307,297,299,322,451,576,564,521,423,329,598,713,487,617,851,1102,816,676,828,937,890,760,541,378,579,940,529,362,314,362,365,392,275,307,303,242,262,322,388,381,403,434,401,383,422,442,389,367,361,445,565,625,938,1170,675,602,585,644,750,840,700,606,601,601,584,616,610,484,418,442,420,416,493,555,594,749,780,730,590,704,1218,1278,1262,872,505,459,1124,2030,1776,1040,792,597,662,1102,1260,846,541,618,484,402,441,341,379,375,414,588,870,1186,1358,1104,903,932,686,604,573,564,426,461,661,714,991,1023,1154,1296,1436,1396,1208,1062,785,890,842,600,400,479,513,391,553,730,823,836,823,888,905,859,814,708,690,835,816,904,965,778,542,946,1180,1090,1060,1206,1370,1498,1390,965,988,1132,1170,1120,1302,1206,1302,1080,1168,1534,1140,1054,1148,839,822,1086,1170,1003,1108,958,1108,973,777,1042,1210,1126,1216,1008,551,493,760,1138,1496,1360,1366,948,1214,1190,1146,1182,1228,1354,1240,1056,968,866,876,1028,1408,1328,1036,1046,913,867,950,739,602,774,786,874,1007,1178,814,520,588,699,1017,1170,1120,1104,745,694,714,807,909,1262,1538,1534,1140,979,1214,1582,1346,1044,998,1112,1416,1570,1036,922,816,1260,1622,1122,815,1076,1009,1016,1100,1090,1218,830,525,377,461,346,339,332,312,307,272,268,393,715,789,664,440,368,354,391,383,1094,1112,638,678,861,1044,1052,794,869,1126,703,715,454,375,560,481,362,350,369,671,810,926,1001,558,749,822,571,469,741,1310,1758,1766,1528,1196,941,987,1410,910,428,418,582,576,476,503,1022,1552,1060,571,493,727,354,267,477,699,915,811,800,912,686,840,680,998,1026,545,574,514,672,1007,731,535,591,977,966,453,412,723,999,1032,1160,694,622,796,774,1072,1554,2022,1432,833,1244,1216,1122,1210,935,568,838,1556,1644,858,585,444,306,335,478,628,742,877,915,1062,605,419,467,1009,960,437,325,544,631,469,893,902,442,390,412,360,549,744,470,207,996,1738,1580,1274,1198,1268,1418,1228,1186,1332,1644,1374,1212,1300,1030,601,458,475,426,339,310,619,479,378,365,280,267,317,642,814,464,316,375,487,705,896,830,1312,816,443,692,565,278,245,213,233,240,313,502,555,408,257,260,254,272,273,281,393,484,516,523,472,382,274,227,242,294,332,290,244,341,465,448,410,406,392,268,452,578,598,467,303,250,289,410,852,976,650,815,1038,1038,1096,1148,1152,1040,883,1214,1842,1672,990,716,884,1092,1342,1526,929,607,918,1288,1394,1028,656,804,1170,1228,1384,1224,1202,1146,1242,1418,1662,1296,880,1256,1466,1504,1548,1304,1232,1820,1846,1662,1592,2224,1864,1338,792,630,783,794,952,1002,868,670,653,686,680,848,944,945,1166,1364,1332,1154,1248,1430,914,520,841,1106,1078,1252,1564,1596,1802,1900,1806,1474,878,818,1356,1690,1664,1522,1222,1162,1298,1272,1048,951,935,1032,1250,1184,998,1004,1052,1118,1106,1002,711,605,735,752,1082,1240,1496,1848,1644,1486,1300,1210,1122,978,1208,1154,1130,1392,1450,1338,1306,1198,1244,1328,1322,1432,1134,1046,1244,1222,1108,1268,1392,1312,1116,1114,1278,1266,1412,1430,1146,1044,670,576,482,452,451,463,467,415,397,539,490,402,428,583,532,655,725,954,1274,1360,1114,874,891,916,1003,974,861,925,941,828,997,959,789,873,1212,1246,1104,1170,1310,1362,1402,1266,1176,1244,1526,1604,1009,726,1038,1378,1456,1092,979,1226,1388,1580,1810,1488,1362,1440,1474,1418,1330,1652,1394,788,499,797,680,471,835,1138,1604,1542,1362,2250,2874,1522,1722,1932,1594,1298,1112,1180,1168,1310,1170,1194,1378,1122,1050,1086,611,884,801,678,696,489,642,727,755,616,721,972,872,950,1284,993,1312,1342,927,484,521,701,894,778,624,643,446,400,381,389,378,342,330,298,301,310,771,1164,1168,1370,1300,1058,1002,937,802,1158,1404,1190,688,604,656,908,1186,1092,1104,1220,1208,922,1014,1240,1228,1194,1084,914,1204,1412,985,811,1088,1328,1418,1450,1650,1574,1260,1112,1206,1416,1450,1364,1152,892,882,1230,1470,1486,1266,1226,1246,1414,1404,1214,1236,1510,1584,1560,1388,1070,1013,1130,1536,1896,1576,1418,1204,897,656,394,436,792,1158,1148,760,653,720,594,515,608,872,901,913,1076,1132,1142,1294,1150,1028,1286,1340,1368,1238,1434,1338,1284,1208,843,761,1038,1074,955,671,565,841,1188,1600,1520,1598,1150,917,1116,1182,1290,1340,1256,1362,1432,778,591,707,767,565,1032,1340,1140,1134,1276,875,451,717,1068,1074,706,1136,1028,944,1346,1560,1160,877,835,685,417,487,594,686,818,720,576,837,823,756,739,578,524,665,532,847,1034,897,661,508,441,645,927,1140,1116,1028,905,487,390,433,424,713,881,787,581,407,375,455,628,611,542,1040,1420,816,488,510,623,758,462,913,1730,1722,1344,1128,1246,1638,1296,619,415,326,259,255,251,234,229,301,539,549,389,493,546,253,226,229,268,346,389,360,338,323,367,416,383,291,288,311,550,503,272,292,307,473,550,427,247,302,314,454,777,788,872,896,1050,1066,1202,1216,1208,1180,1162,1184,1114,1012,798,979,969,987,1230,1594,2084,1942,1624,1354,1084,1108,1230,885,896,994,801,1092,905,464,541,481,444,991,1088,514,465,453,572,888,756,764,841,626,995,1004,871,1122,1262,1198,1212,1032,668,901,1084,1278,1184,1106,697,437,614,963,1272,1460,1494,1642,1740,1484,1398,1448,1426,1410,1180,1142,1100,647,442,469,506,513,504,497,561,1294,4024,2610,926,542,558,811,1294,1554,1394,1208,1324,1376,1242,1004,1226,1136,1172,1116,891,755,891,935,750,1014,1208,1018,1180,1422,1290,1444,1378,1288,1288,1400,1466,1742,1736,1194,1266,1292,1382,1176,1005,1170,1126,1011,1017,1132,1184,1036,864,1174,1216,989,1058,1422,1021,808,889,919,860,1278,1478,1092,1224,1284,1520,1322,1176,1246,1010,1360,1284,1214,1382,1438,1504,1522,1438,1102,549,590,714,1116,1218,656,492,452,403,406,473,498,455,680,1044,904,990,945,1098,1126,1134,932,643,886,952,972,1288,1390,1492,1544,1514,1474,1520,1350,1282,1270,1316,1376,1170,775,606,683,786,617,610,772,783,764,745,661,670,927,1020,1068,1130,1256,1440,1730,1622],[559,335,719,774,584,669,974,1232,1154,1108,1354,1021,523,913,1260,924,714,580,558,658,799,844,763,452,294,325,331,347,379,437,414,347,321,418,525,456,407,408,393,418,423,391,392,390,382,378,408,385,393,350,338,400,424,437,507,644,922,1312,1438,1032,1200,1384,916,917,1074,1302,1296,792,818,1122,901,902,1040,1064,764,855,839,618,419,369,438,605,473,398,419,388,321,437,557,508,374,516,516,529,740,1013,1006,703,701,920,1252,1296,928,703,741,1250,1278,965,1064,1240,868,536,357,263,284,329,299,359,374,296,250,244,248,263,278,287,267,284,322,358,301,325,381,294,389,423,458,611,664,540,541,570,520,998,1134,1124,889,730,1034,971,536,323,237,291,373,469,714,998,1100,1262,1164,974,816,808,1230,1404,1130,1010,637,459,455,536,594,680,712,579,434,401,397,411,430,409,439,533,734,1074,1344,1366,974,911,912,775,560,433,554,626,876,1088,763,672,998,1238,1422,1218,888,1050,1526,1922,2068,1864,1266,918,1150,1556,1240,760,915,1274,1498,1462,1530,1594,1444,1996,1410,1078,1050,601,473,578,572,697,860,1136,974,543,644,746,1138,1188,1216,1272,1300,943,498,411,404,452,428,391,431,444,405,439,629,491,583,943,965,1164,1019,549,365,477,463,461,672,863,982,1238,1336,1274,863,667,458,392,448,463,468,810,1412,1560,1542,1230,1166,1350,1192,830,1070,1400,1140,1042,1192,1284,1398,1508,1604,1090,1048,780,554,554,467,422,514,834,1114,1192,1216,1166,1194,597,743,1390,1516,1408,1390,825,478,662,915,689,1026,1492,1030,974,1134,999,986,836,857,1042,1372,1654,1428,1452,2196,1736,1432,1318,1007,1056,658,506,588,665,886,803,478,452,470,530,466,927,1074,1172,1120,1250,939,838,989,789,832,1048,948,955,1104,728,664,935,1356,2016,1638,1300,1202,682,400,448,680,959,1060,988,1154,1332,1432,1180,858,502,440,647,918,932,758,931,1068,1446,1548,1010,719,489,429,495,464,418,540,644,663,700,683,629,517,405,497,470,446,549,637,592,603,713,772,873,1016,836,738,679,691,715,760,738,595,547,670,907,959,884,946,1064,1334,1580,1376,894,884,910,879,987,968,996,1078,934,765,647,990,800,677,503,628,472,347,416,866,1246,1088,1066,1134,722,509,609,680,541,368,271,250,407,510,487,453,401,282,286,354,529,663,951,1152,1152,1152,1026,1108,987,497,398,475,787,1034,753,490,401,431,396,376,337,311,301,273,296,341,432,384,363,371,383,352,385,413,377,369,337,319,493,672,865,825,624,731,764,753,772,777,765,728,567,568,597,654,712,606,487,458,409,423,513,549,587,736,884,755,614,1026,1242,1208,974,577,501,597,936,1074,939,1092,1040,560,523,893,1168,1086,722,576,460,407,407,440,459,515,844,1234,1086,1134,1154,1152,1176,924,663,698,637,617,586,728,1010,780,788,994,1390,1346,1264,1230,1768,1206,952,1028,908,890,727,516,487,485,743,763,767,666,507,511,556,615,656,598,658,625,730,1400,1400,1376,661,694,987,1164,1144,1182,1298,1296,1220,1320,1422,1180,1356,1188,1268,1302,1300,1120,1204,1274,1136,1304,1218,810,1018,1240,1056,1158,1028,955,1078,1018,945,1072,1166,1180,1126,1060,971,1038,1016,1390,1302,1466,1372,1242,1312,1150,1066,1136,1274,1282,1328,1312,1352,1212,1098,1064,1104,1202,1264,1232,1234,1254,1084,1052,930,1218,1082,989,1048,1266,636,588,808,674,807,850,979,1456,1054,1044,843,930,948,1280,1308,1138,1048,1084,1488,1720,1302,927,1198,1500,1184,1444,851,894,875,1144,1444,1072,865,837,634,818,852,633,790,459,298,512,700,498,401,431,426,351,245,252,455,1016,963,910,428,276,319,391,654,1224,978,553,720,723,979,1256,795,1058,1160,716,694,625,425,292,247,275,342,729,1704,1360,1020,1010,589,636,645,562,701,936,1312,1564,1550,1076,1017,1162,746,1100,841,451,661,929,725,470,405,825,1490,705,392,485,719,459,395,550,751,1338,1292,976,988,674,671,418,652,1088,768,534,543,656,733,603,565,513,412,410,372,340,597,957,975,672,458,343,270,427,831,1418,2004,1604,722,985,1174,645,284,342,328,416,881,778,483,522,499,459,487,688,634,540,592,796,1064,717,372,267,547,589,294,307,460,731,539,841,893,607,404,376,271,401,673,594,263,497,996,1248,1346,1284,1256,1482,1316,1224,1318,1538,1350,1184,1288,1154,794,635,745,640,412,288,433,376,428,554,474,356,487,948,1066,720,618,794,592,604,477,311,617,519,590,1016,932,497,241,252,247,207,250,405,505,523,369,269,259,271,261,251,311,453,514,505,492,473,378,300,298,335,338,331,315,289,343,281,345,470,478,374,434,558,563,420,287,233,281,340,607,1076,1060,1044,1060,1064,1062,1070,1066,1056,984,1168,1456,1104,704,821,1028,1120,1044,1376,1478,1068,845,930,1366,1472,1314,1372,1378,1350,1426,1424,1710,1452,1388,1594,1530,863,788,1198,1416,1478,1426,1180,1684,1820,2022,1758,1392,1228,1162,1078,732,745,795,849,886,1009,1032,704,655,681,824,962,906,1102,1350,1368,1166,1040,1410,1446,1202,1084,1136,1216,1242,1616,1548,1220,1396,1610,1392,918,766,1388,1712,1628,1566,1240,962,1034,1226,1206,1026,1021,1214,1178,1192,1084,1036,1086,1068,1058,1110,1206,997,1002,1154,1056,995,1010,1066,1274,1610,1534,1488,1346,982,883,1021,1092,1130,1180,1306,1404,1198,1066,1062,1228,1344,1312,1188,1264,1366,1142,1086,1150,1176,1116,1292,1480,1412,1396,1578,1504,1402,1192,853,831,807,537,437,531,520,516,411,511,537,541,479,529,478,579,777,999,1152,1258,1208,1022,883,643,785,1142,1094,1184,1264,1110,857,854,820,846,1122,1040,720,1092,1288,1312,1272,1152,1136,1274,1368,1362,1310,1384,1614,1470,1212,1102,1132,1258,1300,1448,1958,1858,1506,1534,1562,1538,1284,1410,1456,981,553,778,1028,828,582,889,1180,1024,1520,3332,2880,1182,1862,1820,847,727,1028,937,700,806,699,905,1124,1500,1652,1394,554,605,552,838,1136,949,886,1014,765,414,586,689,439,780,1506,1390,1462,1628,1086,515,826,1424,1520,1258,864,832,534,484,473,437,393,372,388,361,346,336,695,1208,1186,1298,1268,902,672,703,869,1222,1194,1054,1092,960,776,1202,1456,1216,1070,766,855,952,1052,1282,1260,1232,1023,848,1366,1792,1448,916,948,1102,1120,1154,1406,1224,765,611,1013,1420,1536,1486,1088,996,1192,1714,1644,1494,1354,1278,1212,1120,1250,1118,1020,1372,1278,1328,1324,1300,1306,1310,1500,1510,1316,1192,1174,1224,987,577,760,1130,1302,1310,937,1054,1280,962,570,523,772,954,1010,1206,1001,621,642,706,1032,1360,1394,1200,1096,1416,1548,1440,1218,809,435,654,957,716,626,736,1170,1072,849,929,941,1074,1214,991,899,1216,1418,1418,1456,1208,918,1048,852,446,349,607,810,590,861,1428,1200,608,856,1266,1466,1007,941,1180,1040,770,1050,1204,785,466,356,317,544,689,925,957,683,537,649,731,796,969,1062,534,656,594,516,639,749,912,772,447,428,678,1048,941,912,899,717,551,448,333,870,882,399,297,341,304,441,750,912,729,537,415,257,323,312,312,294,388,741,1198,1722,1346,896,1472,2182,1474,608,344,272,244,246,222,231,251,280,486,376,304,485,558,519,353,273,307,399,505,419,320,361,311,246,275,531,440,349,550,365,204,239,242,234,277,289,239,341,369,333,598,833,907,779,1848,1580,720,940,986,1158,1266,1094,874,1102,916,1058,957,1238,1484,1776,1808,1526,1178,863,673,705,620,439,630,861,849,1116,988,711,551,366,511,1080,979,340,439,540,431,458,883,1240,946,645,958,1036,1078,1130,1082,1164,1180,1180,1012,1082,1168,1200,1114,1186,932,547,616,854,1206,1534,1328,1530,1570,1570,1458,1464,1390,1344,1164,961,939,868,671,561,585,539,525,506,581,1260,2530,1660,723,536,663,1122,1574,1490,1250,1332,1480,1224,1060,1172,1410,1266,1086,1190,1244,1072,1274,1268,1050,1136,957,1066,1356,1120,1152,1322,1424,1076,851,1250,1408,1334,1420,1368,1218,1164,1096,1170,1154,1142,1100,1019,896,739,822,1158,1312,1318,1282,950,1630,1764,1384,1138,1260,1222,1042,1526,1708,1542,1446,1346,1508,1130,999,1148,1354,1226,1168,1322,1258,1100,1280,1584,1742,1470,651,474,556,747,732,625,505,422,484,771,1032,1324,879,811,963,1224,856,718,709,811,1128,868,601,1009,1060,1052,1324,1572,1634,1586,1546,1600,1500,1256,1180,1230,1334,1080,670,529,720,747,683,487,436,629,717,528,543,562,546,782,1018,893,1032,1316,1424,1424,1456],[438,334,646,678,834,529,433,506,718,1102,1126,791,479,766,1220,1080,819,883,906,1038,1182,1122,841,453,298,323,332,342,350,400,421,330,284,310,402,410,401,418,394,413,439,393,404,395,384,375,395,378,385,357,444,709,681,501,559,673,940,1314,1356,1340,1406,1418,971,1440,2144,2058,1670,860,515,426,390,506,581,558,499,510,577,577,547,575,536,599,411,436,412,349,324,324,601,665,507,608,688,733,865,1002,695,401,531,583,744,1238,1400,1286,1278,1380,1300,1012,804,863,638,514,355,328,374,402,365,338,331,268,236,242,250,251,264,282,286,308,311,331,362,350,326,284,404,519,463,667,887,583,562,610,455,417,583,1104,1042,1036,1338,1224,677,526,488,568,496,739,979,1036,1340,1568,1418,1176,940,633,1004,1534,1066,992,940,517,426,484,514,633,730,613,443,401,383,421,462,449,429,556,685,997,1272,1250,1168,1044,659,618,659,634,465,561,1236,1630,1368,1350,1184,1170,1538,1268,947,980,1198,1290,1732,1960,1730,1354,1488,1646,1130,656,1074,1550,1954,1812,1424,1258,1007,1482,1202,1134,979,605,547,669,685,649,809,1204,930,512,506,748,922,753,1034,1368,1308,670,408,386,322,409,408,325,431,413,375,527,869,874,769,751,889,852,529,409,642,1102,1008,743,885,1092,1248,1076,1240,1216,689,363,455,568,430,473,550,1206,1564,1554,1458,962,1034,1246,1124,897,756,872,1040,963,1094,1390,1202,1534,1574,1384,1450,1086,565,477,618,602,633,1070,1032,878,856,1102,772,491,511,750,689,1018,1208,849,798,877,713,463,588,1092,1146,1134,1158,1058,1094,1262,1152,1252,1550,1576,1126,1080,1424,1876,1404,968,1082,1184,897,672,698,749,855,875,841,777,1112,1018,684,945,987,961,1092,1100,977,1156,1002,843,1098,1010,915,976,913,550,395,406,1116,2082,2072,1550,1092,618,439,408,550,555,755,1250,1306,1528,1482,1350,860,432,551,647,662,635,761,1376,1376,1078,1274,1296,846,524,543,587,473,339,462,560,587,567,532,530,507,496,530,499,363,375,515,532,502,616,538,625,740,709,626,684,786,785,796,642,749,838,873,1084,1104,1060,1104,939,1138,1406,971,784,876,621,645,610,721,880,1030,1064,1108,1005,924,1034,1042,1098,844,464,515,426,636,969,1166,785,691,535,349,493,614,467,342,466,863,937,608,563,444,356,269,287,498,691,618,745,1186,1440,1302,1154,929,862,635,421,634,922,998,1028,609,339,365,381,358,318,302,282,292,319,323,381,387,373,331,334,324,335,375,369,365,389,347,443,547,783,855,877,874,842,742,718,755,782,841,731,905,892,954,1026,937,849,655,432,418,519,608,596,605,724,659,927,1260,1190,1094,619,447,543,669,822,953,1050,1232,873,691,501,511,827,1038,919,846,723,499,427,510,636,818,1324,1596,1388,1086,959,1100,1022,984,966,813,788,704,690,860,1310,831,728,665,869,902,872,810,685,849,1144,899,810,1008,669,608,832,551,680,573,611,636,385,263,372,596,651,494,503,657,836,1282,1378,963,507,873,971,863,1106,1208,1296,1222,764,959,1090,1100,1412,1196,1015,1288,1546,1462,1254,1218,1162,1310,1036,741,799,1136,1046,1196,1108,1118,1136,1112,967,938,969,1011,1224,1252,1290,1156,971,1158,1194,1322,1296,1388,1414,1186,1108,1404,1432,1310,1354,1298,1272,1140,992,824,759,973,1344,1272,1130,1296,1188,1021,1017,1142,1152,1122,1136,933,441,422,474,462,688,740,832,1360,1236,1116,735,585,889,1034,909,963,1010,1134,1716,1930,1382,956,1146,1366,1182,1290,1146,1086,828,920,1114,1072,1368,1266,971,901,690,666,1256,987,533,824,1002,1004,993,849,654,455,283,310,569,935,922,1208,689,224,361,444,437,471,400,587,655,497,948,1470,1034,808,621,446,591,679,531,390,516,695,779,832,1628,1110,947,1054,647,450,473,439,478,787,1100,1322,1166,738,1016,1432,906,944,984,630,695,1124,1122,703,339,378,639,528,454,588,769,534,448,582,706,1013,1450,1676,1508,820,591,568,509,921,946,700,582,633,709,796,588,447,329,496,587,541,619,929,860,559,402,324,315,358,646,1322,1296,883,1122,1638,1242,677,449,325,281,306,357,370,770,1046,713,854,894,827,891,729,693,718,993,894,408,258,331,410,455,442,442,643,450,549,701,557,314,302,309,332,592,716,398,743,1832,1502,1182,1007,1232,1524,1420,1264,1250,1306,1200,1190,1268,1224,1110,1084,1176,825,518,350,379,470,457,441,436,420,573,996,1023,899,827,1180,728,339,312,312,571,987,1698,1680,1200,838,338,249,210,179,192,266,413,539,515,423,317,291,277,297,276,355,460,492,582,627,514,471,484,501,373,308,341,278,278,234,285,372,438,446,398,339,303,252,250,271,297,419,939,1294,1168,1110,1076,1092,1086,1028,1021,1021,976,1064,981,535,724,1026,1130,1074,791,1020,1072,1062,1094,750,995,1400,1552,1642,1354,1046,1094,1538,2010,2182,2056,1816,1124,752,1028,1354,1426,1406,1532,1430,1582,1350,1772,1846,1380,1136,1070,783,771,846,744,880,879,932,908,664,615,822,999,929,1026,1268,1368,1306,1206,1180,1208,996,1372,1648,1532,1484,1418,1542,1838,1736,1304,1048,769,599,1132,1644,1676,1628,1256,1028,1180,1220,1288,1406,1228,1136,1406,1348,1172,1056,1044,1094,1136,1144,1114,1154,1021,908,1044,1076,951,1226,1324,1618,1584,1336,1382,1324,1010,866,1144,1350,1186,964,1134,1324,1228,1216,1198,1232,1382,1334,1288,1408,1302,1164,1286,1054,1100,1260,1292,1170,985,1298,1456,1466,1430,1218,1068,1360,1328,678,526,551,538,518,451,400,462,522,509,509,484,561,840,1038,1032,1172,1094,813,946,810,887,1110,1190,1340,1306,992,780,891,912,1062,998,840,716,968,1110,1210,1266,1286,1298,1238,1208,1442,1650,1466,1416,1206,1060,1220,1156,1206,1320,1312,1440,1576,1478,1388,1430,1384,1350,1366,1604,1232,603,433,955,1176,660,605,973,1324,1432,1824,869,1132,1650,1094,644,557,860,1040,739,602,587,763,1120,1588,1742,1362,1436,1274,1040,1236,1318,1240,1042,955,700,639,851,536,404,744,1004,1124,1462,1670,1256,800,1278,1320,1462,1784,1460,1078,625,513,471,441,383,365,407,428,422,401,672,1304,1156,1146,1312,1172,881,1118,1282,1007,792,1204,1558,1238,1334,1720,1484,979,750,501,631,922,1023,1092,1222,1222,1060,879,986,1400,1364,1366,1322,1010,884,780,650,483,346,357,613,1052,1360,1592,1418,1470,1556,1720,1770,1594,1350,1282,1192,1340,1536,1430,1010,1144,1118,1294,1482,1698,1746,1496,1276,1182,1174,1268,1430,1300,1164,1152,1244,1238,1480,1460,1138,1276,1638,1456,987,725,584,836,872,1160,1278,1058,893,940,1216,1344,1316,1220,1198,1328,1544,1416,1272,971,751,659,727,536,539,518,642,562,603,705,502,701,1038,1015,1122,1138,912,1252,1166,800,768,1024,961,468,366,408,478,503,816,1172,1222,760,641,912,1106,972,791,1070,1322,858,1096,1278,690,372,390,354,486,555,572,546,425,419,736,1166,1134,1276,1548,1005,934,720,808,926,940,1356,1302,858,432,488,678,1020,953,890,755,1032,705,299,637,744,428,348,339,338,391,589,1332,979,388,402,532,666,583,316,395,884,1106,1494,1650,1222,629,820,1240,846,440,333,277,248,219,224,231,245,243,448,332,281,407,437,397,278,287,415,524,437,319,277,377,275,213,266,796,675,383,322,296,227,222,219,248,269,223,294,448,526,561,574,498,727,920,1352,1042,625,563,725,1140,1316,1244,1052,1204,1268,1158,1040,1322,1588,1612,1422,1224,968,784,647,989,846,853,984,1050,1082,1274,1218,976,855,522,438,737,823,384,404,462,372,343,986,1372,977,691,731,747,833,1128,1212,1250,1017,952,990,1032,1234,1192,1132,1310,1060,660,1048,1184,1078,1210,907,1092,1274,1538,1528,1546,1528,1460,1198,706,716,922,922,803,893,1122,1170,842,501,565,800,778,713,1016,1536,1676,1562,1378,1222,1346,1464,1306,1144,1274,1328,1136,1074,1382,1476,1224,1322,1376,1276,1286,966,997,1092,1170,1180,1148,1048,838,997,1220,1158,1102,965,1072,1350,1388,1054,1034,1172,1420,1436,1110,1052,1362,1060,1072,1504,1482,1182,802,1338,1664,1454,1406,1382,1144,1001,1148,1250,1422,879,866,1234,1228,1138,1526,1820,1422,1484,1304,1242,1332,1490,1688,1644,1234,668,352,305,503,704,609,472,498,786,2046,1692,1688,1328,1272,1456,1352,950,856,836,818,875,797,697,807,777,1200,1282,1214,1244,1306,1166,980,1007,1368,1476,1300,969,616,566,888,1236,1142,702,449,456,527,567,543,467,443,420,690,1172,1282,1150,922,1096,1248,1202],[494,435,364,439,527,482,409,487,656,839,957,747,448,601,802,659,745,1004,1019,1023,1144,1138,858,499,360,332,346,346,346,357,383,320,275,304,374,383,337,368,382,405,430,415,381,341,340,366,378,351,368,362,426,713,795,623,558,931,1096,1034,1144,1320,1434,1450,1060,787,787,669,744,622,386,322,286,325,356,469,791,794,710,1046,1048,824,796,605,376,442,440,385,470,473,521,554,632,610,536,874,980,1134,801,444,467,385,615,749,918,1176,1416,1502,1346,1238,1394,1186,827,697,625,686,806,653,375,331,317,261,248,258,264,255,305,278,310,350,336,411,464,448,586,742,747,772,818,890,883,644,622,608,646,919,1160,964,958,1134,1174,1136,920,979,927,984,1066,1464,1528,1500,1590,1436,1160,1036,1012,810,1300,1544,961,957,1152,792,604,565,551,698,843,720,551,480,517,550,500,462,469,474,570,1110,1418,988,893,1118,818,656,885,1158,1074,746,1162,1780,1818,1772,1640,1640,1682,1516,1294,1116,1374,1300,1332,1798,1692,1332,1476,1544,974,631,1204,1334,1594,1566,1670,1472,1506,2182,1452,750,556,476,645,755,882,879,828,953,1094,686,491,804,678,386,644,1076,970,458,400,384,327,366,418,408,409,439,439,498,628,847,868,501,448,409,346,407,770,1100,1156,742,673,1274,1804,1470,983,792,964,844,1048,1178,824,921,872,1074,1196,1286,1180,903,938,937,1056,1258,1038,755,865,947,1276,1516,1556,1534,1542,1656,1462,944,422,356,466,403,459,800,1110,806,548,686,674,582,599,515,364,435,625,872,836,1122,786,518,627,1400,1490,1134,1098,910,910,1134,1016,1042,1040,1312,1408,1366,2402,2420,1606,1108,897,973,938,1046,1256,1021,1088,1214,998,1096,1632,1406,1184,1270,1094,1026,987,547,698,1032,648,826,1876,947,511,578,626,726,608,446,1012,1852,1936,1464,1058,1019,781,542,606,724,1040,901,1124,1344,1234,1300,1006,908,647,895,875,887,769,1184,1528,1286,1015,1013,952,922,672,594,420,359,420,426,494,513,550,510,463,483,518,482,391,405,407,518,482,473,472,525,643,692,550,879,1082,803,816,582,744,778,784,870,810,727,949,1268,1420,1178,720,1030,1042,617,669,626,774,786,813,680,629,579,615,774,1344,1896,1212,858,752,456,479,857,890,520,811,858,541,525,437,393,336,500,886,890,531,469,414,351,275,376,505,576,620,829,1344,1454,1276,827,568,648,444,418,709,894,1198,1384,1078,498,340,306,308,296,299,290,309,326,340,347,358,341,289,279,284,275,268,358,361,353,341,512,613,959,1030,857,835,843,868,971,982,1154,1214,1208,1376,1410,1258,1244,1212,1174,988,598,464,585,696,746,594,542,754,1202,1310,1122,631,497,614,737,948,1224,1350,918,949,690,644,616,679,919,1080,1148,1152,932,623,523,924,1278,1388,1454,1498,1230,731,543,729,807,962,1164,925,899,954,808,609,904,572,514,588,693,577,658,703,703,1118,821,645,1004,999,652,780,730,414,385,419,419,363,340,306,338,359,405,390,377,384,552,839,951,582,598,1200,1206,966,1106,1620,1470,1268,875,1094,1048,1330,1864,1490,1132,1262,1448,1462,1148,1236,1162,1158,1164,893,849,1036,1088,1260,1490,1364,1138,1112,1036,1084,975,720,934,908,743,840,1086,1202,1146,1086,1140,1168,1090,1106,1186,1488,1300,1364,1418,1476,1512,1324,1198,1004,729,699,1132,1310,1182,1194,1220,1232,1188,1096,1088,1218,1182,552,403,417,429,487,882,765,801,1018,1294,1328,926,474,698,913,656,604,905,1114,1274,952,1068,1010,916,1012,1290,1470,1352,1096,934,688,579,715,1124,1062,1414,1278,753,684,1830,1992,1114,896,1246,1382,990,951,1002,544,334,383,735,815,613,647,428,267,342,408,626,653,390,703,691,615,1008,1464,1206,691,346,422,643,777,835,508,799,1262,926,571,756,973,1192,1032,634,415,403,330,482,829,971,961,582,719,1362,1710,1186,846,924,846,608,932,1312,1278,544,339,566,664,904,1128,890,529,374,451,518,727,1362,1694,1462,926,697,841,745,616,749,792,552,662,935,1318,619,409,536,1058,1098,847,794,1012,937,547,434,375,410,448,524,1262,1018,1186,1442,1394,912,727,536,336,323,279,344,621,761,779,861,1320,1198,1034,1124,854,568,623,986,980,416,362,421,886,1066,677,506,601,471,339,353,381,427,500,434,346,610,875,505,617,1312,1224,1023,1002,1362,1502,1428,1346,1290,1274,1204,1174,1182,1130,1176,1144,1154,894,531,316,356,593,570,479,538,582,700,873,724,696,733,1064,813,351,535,1132,1650,1686,2094,1960,1592,1180,554,277,206,207,230,263,349,492,572,561,461,432,388,351,345,280,291,369,815,1100,801,512,628,906,750,468,429,303,222,270,296,364,383,366,322,232,230,233,277,367,399,766,996,989,1052,1124,1100,1048,1072,1026,1034,952,860,890,831,790,991,1026,1023,946,630,592,781,1284,1584,1392,1154,1160,1192,1440,1522,1226,957,1042,1410,2128,3196,2888,1116,1042,1374,1596,1518,1300,1272,1510,1522,1170,1116,1248,1280,1240,930,562,655,670,863,825,869,811,648,608,751,991,989,990,1232,1368,1360,1166,1386,1266,888,942,1362,1794,1942,1820,1434,1260,1634,1780,1272,775,601,955,1554,1628,1444,1122,788,937,1206,1228,1346,1370,1444,1448,1222,968,933,979,1140,1124,1202,1252,1162,1150,1110,1044,1006,1084,993,1380,1776,1742,1474,1166,920,889,835,1010,1418,1028,742,683,1008,1116,1180,1332,1406,1546,1490,1518,1842,1534,1188,1092,1272,1092,1124,1298,1310,1021,913,938,1034,1284,1288,1276,1240,1434,1440,678,598,566,517,473,473,481,443,398,440,476,426,458,698,861,939,1096,968,844,902,925,1004,937,894,1110,1262,1192,1080,1126,925,930,1216,1120,848,724,822,1108,1288,1320,1336,1308,1362,1432,1516,1548,1570,1124,1198,1596,1434,1288,1338,1218,1084,1346,1408,1482,1714,1418,1372,1382,1680,1588,843,435,604,1132,1078,683,695,1288,1528,1448,838,1003,1020,823,819,514,817,1294,1138,886,875,857,1206,1548,1570,1566,1540,1118,920,1032,1200,1302,902,682,666,995,1070,653,367,477,747,1005,1190,1370,1438,1028,1414,1390,1662,1740,1282,855,673,544,418,417,404,416,435,455,451,418,592,1060,1100,1118,1352,1396,1250,1456,1426,1074,1150,1860,1534,1136,1426,1366,1140,1186,1176,763,519,777,965,982,947,1034,1122,965,1104,1302,888,1021,1154,1134,1162,1046,731,523,398,327,365,843,1256,1420,1416,1316,1278,1316,1578,1476,1368,1322,1232,1336,1366,1440,1248,1056,1174,1226,1462,1598,1420,1302,1218,1102,1290,1504,1576,1354,1400,1552,1274,1094,1320,1356,1278,1290,1290,1208,1316,1018,601,752,754,662,999,1212,1206,1106,1104,1294,1242,1108,1244,1298,1480,1402,1198,971,940,722,794,771,594,647,781,763,741,769,633,538,660,930,1210,1202,887,758,560,704,960,886,912,597,578,543,549,729,718,624,554,513,553,852,1218,1100,909,1174,1444,1282,1162,1314,985,488,341,372,411,439,544,641,570,662,926,676,855,1604,1790,1068,938,786,660,862,953,1148,1194,1312,618,455,581,988,760,868,1238,1368,913,500,667,677,317,313,299,295,354,421,1001,805,446,579,751,940,926,399,313,736,1416,1868,1302,1100,682,445,449,388,395,333,313,280,221,225,214,212,260,397,312,208,187,222,241,227,265,455,483,293,358,398,354,254,203,247,676,912,515,362,533,367,247,257,416,415,400,377,399,543,758,724,583,753,920,612,683,901,767,824,998,1312,1146,1038,974,1086,1072,1002,1322,1476,1366,1202,1066,1112,1032,1140,1192,1426,1444,1154,1116,1108,1046,1172,844,956,788,507,729,930,565,438,617,588,581,1024,1180,940,897,1132,1088,1062,1210,1316,1400,1056,822,817,1116,1200,1044,929,755,664,505,617,539,719,968,713,851,1204,1424,1556,1586,1670,1668,1300,988,1244,1692,1604,1452,1336,1126,1182,897,489,519,702,910,1172,1332,1480,1418,1282,1310,1488,1494,1434,1288,1354,1614,1588,1348,1110,1376,1516,1786,1840,1620,1146,1274,1210,1136,1094,1060,1138,1246,1023,964,1152,1186,1190,1086,894,948,1256,1574,1572,1242,998,908,864,926,1384,1756,1370,1206,1382,1542,1268,1120,1632,1732,1460,1166,1316,1080,871,1112,1286,1354,1023,1066,1316,1212,995,1084,1412,1256,1216,1328,1770,1628,1382,1316,1128,919,557,346,412,540,672,516,404,467,574,1064,1212,1404,1674,1598,1374,1206,1026,673,658,998,719,589,540,482,508,991,1320,1252,1106,1180,1096,868,1158,1606,1312,1084,1090,878,993,1350,1266,1052,752,474,438,455,553,656,524,440,398,555,864,1124,1009,963,1152,1254,1028],[938,727,683,1005,1452,1322,750,849,747,607,791,889,657,1019,1220,741,741,1011,1010,1016,1136,956,926,637,409,342,337,318,337,346,319,292,287,304,346,366,358,413,377,425,443,433,385,342,331,349,357,346,359,354,410,757,813,670,704,975,1154,1116,1192,1418,1406,1290,1174,573,435,402,423,502,409,523,651,501,313,296,504,580,634,1044,676,554,1021,636,462,452,689,720,584,631,427,539,861,724,839,1116,1104,1234,861,454,390,376,538,744,862,905,838,1066,1402,1532,1768,1460,1144,959,902,774,777,745,621,600,356,293,263,336,361,322,306,333,342,366,451,499,506,700,1250,1428,1256,1512,1438,1216,1150,886,710,784,821,1200,1406,1354,1506,1288,1102,1122,1090,1230,1200,1036,1210,1562,1670,1760,1786,1536,1120,1158,1342,1360,1488,1344,1252,1288,1086,952,1170,1246,1410,1304,1170,1208,1294,1288,1184,1098,1128,1142,1060,958,1023,1348,1350,952,965,1242,1166,948,1046,1428,1274,814,1152,1600,1580,1428,1450,1632,1776,1590,1272,1986,2126,1902,1936,1998,1450,1252,1414,1510,1086,637,1058,1328,1866,1792,1776,1448,1724,2172,1400,662,554,608,706,782,924,884,799,615,1013,739,706,828,497,441,588,811,647,411,283,320,327,324,433,483,438,472,465,396,451,683,897,450,333,359,416,403,688,963,1034,917,747,1024,1534,1444,896,622,1050,1010,1100,1122,1064,1102,1044,901,726,858,795,465,575,799,1216,1310,1224,943,906,1048,1256,1496,1714,1444,1312,1592,1242,601,382,367,419,390,358,379,691,730,505,571,686,745,764,481,370,451,836,714,730,1338,1226,744,901,1266,883,615,1007,1170,628,802,1124,1350,1740,1614,1262,1388,2014,1812,1490,1232,954,816,909,1300,1544,1268,1112,1170,1002,1392,1446,1036,970,1064,1070,1126,616,439,600,537,528,587,614,406,474,547,583,705,675,717,1454,2168,1854,1268,803,817,976,783,531,726,870,540,432,464,758,1164,1382,1440,1068,1422,962,590,628,660,803,865,719,659,756,1040,1260,1048,631,528,477,368,415,529,532,446,399,356,468,486,409,458,375,426,418,367,466,466,526,643,625,725,775,518,563,405,694,1122,1362,1028,1196,1584,1642,1542,1398,1056,994,1208,875,610,515,432,535,1072,1096,745,708,670,536,637,1612,2062,1164,917,661,487,464,644,636,490,761,901,716,577,495,600,518,394,430,421,342,394,419,473,465,490,610,607,576,742,1082,902,697,408,336,288,295,348,572,949,1198,1530,1124,445,354,311,308,288,290,303,310,304,283,265,277,269,258,263,254,238,258,360,535,737,1116,1174,919,1050,1188,1234,1252,1142,1210,1332,1268,1352,1306,1318,1350,1438,1404,1372,1334,1338,1294,817,577,1226,970,705,611,673,1114,1326,1310,833,504,670,662,1044,1254,1190,1140,1148,1036,1002,977,811,769,864,925,932,756,615,635,642,955,1362,1428,1428,1440,1052,612,743,1042,1398,1102,1348,1066,890,1007,877,659,631,647,695,851,830,656,683,745,887,1178,829,838,984,937,819,826,720,569,533,525,531,541,556,481,519,564,586,461,391,370,417,618,818,653,563,1112,1464,1460,1376,1700,1416,991,1030,1068,826,1590,2042,1340,1062,1268,1112,1222,1246,1324,1194,1040,1352,1234,1044,982,968,1080,1388,1220,1122,1284,1292,1076,772,555,694,664,611,872,996,982,1036,951,1058,948,731,988,1180,1262,1240,1318,1410,1272,1144,1432,1704,1318,954,794,1224,1550,1464,1368,1264,1568,1670,1274,977,1124,905,494,910,856,667,603,1148,988,709,976,1328,1440,1009,558,835,943,641,597,875,843,935,926,1068,1056,1146,1476,1318,1094,1172,874,484,364,481,630,942,1021,1136,1134,861,449,1062,1638,861,611,814,980,843,709,909,663,439,457,507,506,459,289,300,298,397,805,1050,828,550,609,642,740,1046,1210,987,520,363,732,992,684,944,557,847,1200,796,416,662,1242,1372,1146,631,401,406,433,591,787,846,559,383,553,951,1100,832,650,767,986,810,1190,1650,1648,841,380,537,1028,1548,1316,892,529,883,655,491,586,707,938,1018,791,846,1238,1166,820,830,968,872,790,818,826,566,558,536,988,1300,1348,1146,832,1002,745,587,498,464,514,479,969,1068,988,968,937,714,648,468,468,443,365,469,1010,1066,1236,1148,1312,1074,764,988,1044,869,964,1178,904,485,703,785,993,1136,737,510,620,634,434,339,510,794,919,493,253,386,778,609,467,755,1130,1622,2086,2062,1572,1520,1462,1350,1278,1226,1144,1112,1082,1108,1136,1178,962,538,372,320,477,769,592,462,639,909,703,478,677,777,899,1012,538,792,1490,1416,985,1114,1666,1936,1536,890,499,237,236,239,226,253,393,561,557,588,585,544,527,419,309,282,291,509,858,734,525,538,695,722,551,497,354,270,289,348,439,422,331,289,263,296,325,391,414,751,1088,714,863,1482,1604,1100,1007,1013,986,1036,1001,985,912,770,962,1036,922,938,916,568,456,453,792,1400,1514,1250,944,700,1092,1548,1626,1368,1050,1056,1282,1556,1736,1020,1222,1548,1534,1532,1432,1224,1180,1470,1564,1312,964,968,959,796,564,599,757,907,808,818,741,617,695,916,1190,1168,1170,1334,1290,1170,1420,1448,975,794,1058,1422,1786,2186,2372,2192,1642,1584,1402,846,655,942,1440,1650,1440,1020,645,516,788,1194,1174,1366,1406,1418,1434,1242,1236,1190,1062,1092,1122,1164,1134,1288,1282,1294,1282,1138,1054,989,1176,1342,1434,1488,1194,774,825,1090,1342,1096,882,1034,1278,1206,1196,1472,1494,1470,1406,1402,1610,1976,1584,1350,1292,1266,1178,1092,1178,1172,1108,1146,973,1204,1306,1432,1298,1036,1232,1180,670,626,623,528,417,401,481,481,404,402,396,450,462,469,655,874,1016,1076,1090,1046,1036,1082,1100,857,900,1034,1028,1264,1492,1138,797,1002,1122,897,654,500,852,1226,1376,1282,1260,1378,1266,976,1332,1506,905,902,1382,1246,1184,1342,1280,1126,1298,1374,1732,1912,1588,1420,1372,1588,1822,1084,544,401,718,1050,1050,704,636,833,741,597,645,584,936,1144,831,1011,1454,1332,1338,1072,1174,1576,1610,1486,1378,1170,1036,1034,1444,1296,1220,944,735,871,938,678,600,630,790,1206,1416,1140,1180,1662,1152,1422,1650,1550,1138,806,678,649,695,505,492,549,575,523,444,429,412,557,1005,1386,1644,2034,1698,1116,1158,1084,928,1180,1666,1202,1144,1102,1010,1110,1356,1396,1008,543,763,1204,1182,1036,1096,1160,1108,1202,1332,999,980,1290,1308,1224,1122,861,717,608,408,413,694,1180,1294,1302,1416,1300,1182,1218,1048,1344,1532,1278,1118,1194,1470,1406,1164,948,748,1013,1406,1396,1290,1358,1574,1250,1284,1380,1232,1190,1106,1050,1122,1258,1488,1408,1224,1048,1112,1334,875,738,732,741,618,793,1074,1258,1282,1144,1346,1192,1254,1302,1354,1244,1226,1268,1102,840,834,1068,816,724,1074,1274,1164,953,849,677,660,564,620,892,818,503,449,344,619,971,725,530,630,727,883,921,1060,902,800,764,571,577,713,833,856,1130,1074,1344,1546,1376,1178,797,422,373,375,443,691,938,1064,1150,1028,1158,661,822,1290,1186,1001,1108,817,510,999,1260,1320,1022,1104,670,438,414,479,416,462,658,783,624,672,988,626,318,341,326,288,380,533,783,714,478,681,830,1064,835,403,318,536,1252,1404,1160,996,612,463,550,478,458,399,324,267,254,217,218,241,281,380,472,370,245,267,215,184,228,362,430,362,450,504,345,243,253,380,848,1028,407,510,874,643,358,325,639,659,677,582,370,474,577,514,633,919,758,741,1082,1256,1216,998,892,955,888,934,926,1152,1130,1064,1174,1284,1244,1106,1226,1282,1218,1238,1330,1576,1516,1450,1532,1148,753,1012,1046,1360,1434,1162,1222,1158,833,879,1196,1192,1252,1116,937,884,708,1082,1252,1366,1182,974,988,1068,1013,1016,1182,870,1028,842,576,596,591,644,500,515,711,624,785,1082,1054,1466,1554,1776,1708,1182,1184,1616,1948,1748,1552,1270,863,797,965,915,948,799,1090,1460,1420,1204,1164,1210,1314,1396,1532,1578,1440,1440,1498,1646,1588,1204,1028,962,2052,2482,1752,1164,1270,1234,1226,1280,1256,984,1050,1168,1296,1266,1028,1016,1126,952,731,936,1316,1254,1234,834,541,544,841,1374,1538,1444,1448,1562,1548,1410,1840,2038,1608,1476,1460,1348,1122,1042,1134,1005,1013,1162,1332,1174,1156,1128,1104,1266,1250,862,843,1474,1240,1108,1080,771,618,516,375,433,429,432,436,441,600,852,1262,1378,1648,1802,1422,1026,886,843,1130,1094,1174,786,526,488,484,484,626,979,1144,1058,1242,1264,1122,1096,1164,887,1212,1218,1172,1416,1306,1032,1240,1050,567,421,465,427,533,518,465,453,495,697,852,1044,1350,1338,1356,1192],[1012,1026,950,1320,1848,2464,1272,979,849,1026,999,890,949,1528,1416,949,997,1006,935,1256,1112,775,839,739,500,354,327,287,321,361,310,279,294,310,319,328,377,462,408,446,443,364,367,406,336,328,343,342,355,357,428,776,755,637,709,942,1266,1340,1328,1422,1390,1264,1264,841,581,466,425,576,954,1364,1144,688,443,402,434,340,488,818,844,788,805,597,399,346,709,657,508,580,582,1026,1548,1316,1376,1016,885,809,442,264,362,582,829,985,832,791,479,495,838,1176,1478,1404,1322,1316,1206,813,815,601,636,493,346,304,393,621,607,478,411,436,471,611,843,789,752,727,872,1036,1278,1646,1610,1512,1486,1248,1011,968,758,1021,1021,1164,1392,1290,1150,1064,1160,1294,1336,1386,1536,1534,1416,1350,1350,1442,1504,1562,1494,1450,1460,1428,1350,1194,842,694,1224,1001,771,724,880,1238,1364,1236,1212,1368,1380,1340,1432,1484,1260,1262,1350,1380,1384,1424,1486,1524,1484,1558,1340,1166,1352,1560,1476,1454,1512,1682,1736,1288,745,1230,1788,1840,1792,1578,1344,1362,1324,1282,1004,840,1186,1224,1124,1094,1278,1356,2006,2248,1400,631,611,645,707,825,891,843,670,521,665,628,866,818,407,409,512,675,433,369,451,684,658,522,503,546,539,512,486,584,841,1170,1570,1020,487,459,525,456,757,1124,1082,976,825,714,892,1102,1130,950,1198,1246,1132,984,1118,1042,830,1122,1124,1072,780,484,601,788,1116,1140,1088,1002,1154,1346,1278,1116,1342,1214,1204,1366,771,418,378,422,589,490,368,474,752,631,421,564,718,898,968,601,413,481,935,968,698,740,910,1026,1010,753,579,973,1348,1170,772,827,1072,1214,1990,1952,963,758,996,1088,1188,943,727,907,904,1256,1484,1486,1244,1188,1178,1188,1142,949,769,905,966,1206,567,550,718,620,1020,1072,657,466,536,752,869,732,617,855,1474,1486,1318,1104,695,466,654,686,633,1058,1078,531,369,382,586,785,1010,1202,1456,1520,933,529,482,413,516,809,603,794,1444,1744,1550,1316,1134,923,635,500,415,498,564,597,517,408,482,359,285,392,298,321,380,577,673,563,805,781,731,608,455,480,638,587,850,1242,1390,1372,1722,1908,1676,1490,1140,1284,1182,991,887,579,407,384,358,647,902,1356,1528,982,1070,1102,1536,1742,1212,726,725,687,559,576,771,905,761,677,913,1172,1144,699,564,514,466,507,564,494,417,579,561,484,586,606,477,474,524,408,328,340,308,289,328,302,404,514,601,780,487,358,371,332,271,267,315,336,316,282,286,292,292,304,356,381,356,308,343,543,1084,1426,1570,1438,1142,1286,1456,1200,1252,1522,1354,1346,1332,1368,1344,1312,1392,1398,1434,1486,1394,1406,1400,977,579,1390,1054,609,540,868,1256,1326,1146,588,786,896,932,1386,1168,915,1122,1372,1015,974,999,800,774,767,554,453,445,455,615,683,750,1218,1400,1298,1338,1348,1072,1492,1196,1404,1306,1266,895,874,1206,1112,931,1122,1438,1264,854,874,1410,1182,1176,1140,904,1122,1378,1144,819,616,536,588,602,605,556,538,576,651,615,611,637,579,454,423,433,375,427,659,778,641,1010,1456,1258,1408,1580,1260,901,950,913,890,1272,1350,950,1310,1350,954,1160,1338,1182,1014,1056,1234,1256,1004,684,720,836,1023,1244,1292,1256,1414,1056,813,805,626,587,746,758,781,1146,1162,1040,1020,1054,970,1174,1464,1514,1206,1066,1190,1090,982,957,929,907,962,1208,1258,1420,1418,1442,1322,1536,1616,1322,1406,1288,625,915,1238,1202,971,739,1140,955,538,714,921,1040,960,984,1042,1011,972,719,838,719,744,983,1160,1056,1098,1592,1152,866,1372,747,429,748,1094,1264,1023,792,698,668,738,393,481,786,610,617,778,904,872,580,680,650,472,512,481,537,528,346,373,340,510,1314,1440,1466,1224,900,687,683,1222,1418,751,322,446,1176,1310,576,775,626,619,627,460,320,518,1134,1134,1344,741,485,455,398,388,469,444,380,455,506,460,607,671,633,741,957,953,893,1148,1520,927,347,675,1470,1658,960,658,568,1462,998,467,444,656,1142,1216,648,861,1202,1162,1184,825,733,1068,810,594,596,660,651,788,1112,1444,1912,1698,689,883,863,668,648,628,495,369,447,669,875,954,962,812,940,710,591,563,694,547,912,1288,1546,1436,1332,1060,563,560,982,1214,1001,858,670,669,749,894,1104,1104,929,611,606,668,595,407,478,693,800,424,278,315,655,657,456,613,1108,2128,2630,2468,1750,1516,1436,1334,1246,1188,1156,1154,1168,1166,1168,1156,1064,647,446,326,336,714,574,429,627,768,639,597,558,656,730,1128,587,557,1150,1156,1336,1302,1340,2042,1920,1094,826,346,245,243,244,230,301,472,543,582,601,630,625,556,451,341,313,299,292,336,461,469,436,429,468,527,477,412,408,507,591,461,294,293,330,323,309,401,684,1058,780,499,690,896,874,814,801,790,892,1034,1074,980,800,928,1188,1042,633,691,1342,890,678,587,434,635,770,977,1015,794,939,1082,1428,1696,1536,1140,895,847,904,1050,1446,1572,1362,1200,1396,1564,1402,1208,1214,1438,991,860,618,495,502,530,926,1106,951,860,738,630,802,1060,1232,1274,1296,1298,969,1180,1560,1120,726,884,954,1038,1324,2208,2454,2326,1956,1660,1034,660,948,1242,1376,1312,802,554,661,568,463,747,1066,968,1008,1384,1342,1222,1246,1130,1208,1312,1322,1112,1340,1528,1454,1466,1344,1342,1270,1188,1346,1422,1510,1360,1140,805,684,1476,1478,1001,1015,1082,1544,1462,1248,1482,1810,1654,1274,1232,1480,1232,1312,1356,1368,1338,1292,1166,1172,1272,1216,1172,1224,1342,1402,1780,1526,1198,1308,1156,716,626,747,691,524,408,449,551,466,390,381,410,382,354,487,723,876,977,1102,1134,876,887,1232,1026,951,1104,1076,1042,1262,1238,910,938,1024,921,930,780,868,1060,1342,1554,1532,1402,1232,1066,1156,1088,890,833,1011,1108,1180,1592,1384,1060,1288,1520,1646,1558,1312,1196,1372,1268,1426,1228,670,379,397,654,1160,1134,805,819,894,1020,760,633,1026,1432,1160,1108,1394,1342,1284,872,858,1446,1616,1236,970,954,902,677,989,983,988,869,754,803,605,550,933,1330,1196,925,1180,1356,1120,1572,1246,833,650,544,451,694,885,768,833,739,708,743,747,590,446,408,402,560,1040,1294,1284,1206,945,917,933,1003,814,664,855,1044,995,898,808,828,930,943,746,492,645,1024,1400,1426,1170,1226,1232,1007,1026,1124,1120,1104,1200,1232,1058,1056,1056,828,533,665,836,976,1188,1412,1486,1334,1288,1154,1108,1404,1672,1442,1180,1230,1262,1690,1488,868,802,1066,1200,1460,1262,1250,1692,1294,1112,1256,1422,1260,924,1036,1382,1522,1438,1220,1422,1218,1186,913,680,697,666,565,491,844,1294,1514,1412,1434,1472,1294,1508,1630,1582,1432,1248,1108,1122,1082,1142,1218,863,813,974,1284,1354,1190,1216,1344,1102,628,617,736,695,605,615,507,567,724,630,694,905,899,1010,1292,1318,1116,1092,999,886,1160,1098,1012,868,1108,1014,1106,1198,1062,680,446,359,349,361,673,912,1228,1456,1860,1444,1340,938,658,677,665,1064,813,608,768,984,1142,1162,752,586,473,379,307,295,301,335,424,566,616,815,896,580,396,389,386,408,477,558,796,1212,891,868,863,736,530,342,372,488,815,1174,1240,1060,690,525,621,454,405,338,239,234,237,233,213,202,227,306,534,733,375,332,234,201,311,400,480,482,507,410,287,239,270,495,727,594,292,557,690,605,424,502,756,742,727,684,654,695,538,468,874,1258,1122,1228,1186,2188,2186,1140,1064,1058,746,511,693,1142,1080,1118,1138,1258,1258,1238,1288,1194,1036,887,1088,1282,1482,1472,1276,822,999,1248,1184,1294,1486,1504,1410,1176,1112,1212,1422,1548,1390,1108,963,938,782,1070,1234,1034,894,1216,1302,1274,1424,1414,1224,719,999,1194,1094,968,1034,796,449,336,513,616,1030,1396,929,1270,1584,1568,1412,1158,1070,1264,1462,1416,1262,1016,952,1288,1300,1118,948,864,1118,1386,1434,1422,1364,1334,1400,1434,1514,1488,1372,1188,1484,1580,1510,1448,1021,716,1130,1614,1442,1404,1476,1466,1498,1614,1110,610,807,991,1040,1028,1064,1078,981,741,1009,1180,1120,1204,1122,673,505,738,993,1288,1516,1374,1432,1672,1730,1606,1688,1686,1592,1716,1560,1150,1334,1486,1230,912,800,964,1408,1382,1434,1362,1470,1182,1054,904,915,1202,1290,1566,1620,1046,698,462,400,450,398,470,643,854,1158,1246,1224,1404,1466,1374,943,691,963,1046,930,567,885,784,497,473,457,540,904,1456,1620,1220,1240,1396,1328,859,691,601,743,877,997,1166,1090,875,1156,1244,700,385,356,394,489,551,502,433,568,980,1378,1394,1294,1068,1278,957],[1162,1038,689,874,1034,1290,990,977,739,542,670,930,1496,1710,1140,1488,1332,832,638,720,891,1036,1052,977,655,350,324,300,325,363,354,299,308,321,330,367,419,458,425,384,349,328,384,524,415,376,369,343,380,395,405,749,814,629,766,1092,1136,1134,1184,1118,1028,1023,1222,954,592,490,578,686,888,1042,559,496,545,835,727,585,572,520,802,1011,730,416,335,451,586,567,458,388,668,1006,1044,1072,965,636,595,529,394,271,324,397,628,720,568,533,530,502,512,867,1168,1250,1382,1396,1312,836,761,664,880,832,574,344,534,803,746,505,447,442,473,929,1528,1196,1066,854,793,846,1108,1306,1404,1298,1108,1272,1458,1348,959,1418,1776,1846,1382,1284,1402,1432,1408,1268,1138,954,897,965,695,655,647,907,1011,1272,1588,1732,1536,1264,1140,1140,835,551,1044,993,996,1102,874,1013,1112,955,1122,1250,1238,1418,1396,1228,957,761,621,552,684,717,721,770,913,1034,1186,1592,1382,1376,1444,1528,1552,1532,1560,1318,1076,1302,1462,1310,1354,1428,1412,1228,1210,1314,1530,1674,1576,1498,1482,1488,1350,1482,1864,1816,1256,912,875,877,946,868,855,1116,1104,893,839,796,951,719,703,672,692,608,478,487,534,606,813,778,545,625,597,515,559,880,922,1312,1506,1144,528,350,467,446,574,839,808,823,1005,730,825,1182,1414,1376,1312,1226,1224,1186,1344,1146,715,1016,1160,903,554,419,654,996,1088,1019,1134,1210,1266,1388,1338,1230,1168,869,886,857,563,427,569,775,745,588,399,549,663,396,424,593,809,957,1162,897,779,693,749,802,559,520,813,1072,880,565,644,1086,1144,945,991,979,901,883,1284,1222,656,575,656,796,1096,930,799,975,672,794,1096,1202,1122,986,813,745,1001,1023,870,1064,1436,1544,1062,1252,1124,926,1164,826,566,590,595,869,1114,876,500,608,854,732,999,1148,785,461,814,1228,1200,1302,741,597,526,500,672,966,1162,1126,1122,983,825,457,394,418,745,941,673,1268,1982,1648,1178,1108,1124,1036,1190,878,566,444,500,626,551,484,450,324,252,293,268,293,521,930,1070,934,994,629,588,726,613,614,722,677,742,1064,1210,1310,1702,1672,1536,1256,970,1486,975,684,698,537,579,526,477,469,461,894,1122,918,1504,1910,2102,1850,1312,1218,1478,1274,843,866,819,965,1494,1148,891,1178,853,331,328,437,479,498,532,514,677,602,383,419,458,608,507,491,446,351,347,328,319,312,287,275,292,357,422,374,383,382,423,448,383,346,354,348,360,296,321,389,362,404,499,482,448,413,542,940,1260,1420,1452,1214,1096,1302,1212,1116,1390,1670,1716,1594,1450,1456,1322,1222,1232,1278,1382,1378,1328,1480,1462,995,552,702,692,537,650,1136,1346,1380,848,757,932,1358,1118,959,1198,1206,1372,1154,831,838,752,835,866,601,468,596,451,599,846,805,985,1202,1376,1756,1740,1604,1158,1090,682,885,780,549,473,1072,1732,1524,1246,1312,1664,1274,833,1062,1618,1356,1302,1380,1004,882,1094,1104,829,479,533,608,585,602,529,518,611,691,651,600,606,587,483,426,431,398,383,450,784,879,1206,1200,1070,1192,1086,885,768,879,1174,1160,1050,1076,899,1156,1180,950,1202,1384,1312,1152,1074,1140,1084,762,470,548,650,984,1328,1382,1302,1244,1001,978,930,661,668,490,538,912,1224,1148,1150,1148,1186,1234,1418,1464,1228,982,952,1124,934,1112,1158,1154,1058,1118,1354,1342,1288,1328,1382,1464,1522,1426,1476,1494,893,647,892,1056,830,568,724,1130,954,542,628,670,1034,1398,1134,1038,1068,1320,1220,1198,1007,872,1078,1160,1224,1268,1460,863,988,1346,780,553,945,1428,1498,1112,890,766,579,665,438,396,716,864,713,841,896,760,605,653,630,452,577,461,396,335,357,392,412,576,1168,1384,1322,1158,958,605,593,1154,733,262,300,393,821,885,436,672,860,550,471,490,425,633,1742,1338,1400,838,424,325,258,290,356,354,395,509,838,692,778,547,599,693,772,941,730,819,1122,697,563,766,907,868,543,521,473,1366,1266,513,494,804,1196,1250,620,626,822,864,917,857,685,886,1001,813,770,824,692,693,767,1198,1836,1816,706,612,896,659,546,731,644,480,379,427,639,1002,1074,1172,1228,1184,736,495,610,438,662,1256,1480,1450,1302,952,603,801,794,1172,984,890,1196,1074,642,720,884,965,1110,625,527,571,575,427,381,429,462,400,368,294,430,614,463,543,961,1914,2462,2494,1784,1512,1446,1318,1220,1156,1170,1170,1154,1184,1230,1230,1142,711,518,359,283,563,571,485,717,842,763,613,477,539,661,883,615,519,1052,1464,1710,1464,1218,1574,1328,988,1018,609,312,241,217,216,284,412,507,501,530,577,577,591,560,493,458,411,425,388,388,320,292,303,330,478,533,545,544,628,768,702,399,353,397,338,268,419,881,860,409,367,411,455,593,913,569,424,493,697,839,886,940,1056,1090,769,375,467,1022,769,674,567,386,373,339,502,483,527,927,628,905,1592,1736,1432,1316,1444,1454,1592,1728,1588,983,783,1148,1268,1438,1534,1184,1186,948,630,487,550,541,705,1084,1134,964,865,656,565,840,1184,1088,1184,1272,1172,1180,1460,1244,733,853,1330,1282,1088,1090,1780,2280,2108,1634,1096,639,890,1372,1324,1050,681,767,827,829,746,633,846,858,719,938,1100,1374,1376,1444,1470,1454,1478,1454,1400,1524,1522,1458,1466,1582,1658,1482,1322,1206,1436,1532,1058,794,725,565,977,1064,1058,1018,993,1188,1230,1232,1396,1186,1134,1046,1238,1744,1126,1068,1434,1412,1126,1062,1192,1472,1678,1340,1180,1306,1276,1222,1132,1134,1162,1160,1096,810,532,610,691,689,526,535,678,521,383,369,378,381,353,434,658,879,969,1004,1064,980,849,1126,1180,1130,1006,962,921,1028,1292,1396,1054,1034,1066,922,1090,1304,1214,1266,1236,1236,1454,1388,1148,1021,1172,1196,1132,1118,1288,1438,1506,1346,1308,1368,1410,1592,1318,984,1010,1466,1334,1272,1338,838,359,325,393,724,985,914,891,970,912,859,891,1030,1064,1026,1136,1240,1316,1300,1038,986,1168,1136,898,968,972,947,918,1092,880,767,991,1152,1116,903,745,930,977,805,661,1104,1038,664,949,871,539,599,570,676,951,1300,1120,831,831,844,800,752,561,449,555,560,695,946,700,821,1116,1066,913,777,1068,933,735,791,741,915,891,705,623,583,924,1036,720,716,1112,1454,1152,1038,1058,678,589,1026,1412,1196,957,1198,1426,1526,1378,1094,968,907,752,632,742,1156,1582,1492,1236,1142,1142,1428,1550,2214,1794,1376,1286,2266,3460,1994,1112,1294,1422,1322,1456,1272,1356,1682,1318,996,1266,1594,1416,1202,1168,1328,1510,1362,1160,1364,1250,956,710,651,637,854,906,792,1044,1470,1478,1284,1432,1522,1114,1136,1478,1442,1274,1054,1080,1256,1332,1144,1104,1252,1216,1172,1346,1420,1432,1338,1216,879,541,544,520,538,611,731,871,770,681,667,810,1088,1208,1182,1216,1234,1198,1308,1278,1092,1386,1358,1212,1252,1368,1352,1230,1250,1116,444,350,336,385,484,810,955,1248,1410,1516,1320,1172,842,581,535,832,1396,999,609,1010,854,626,369,430,642,720,625,420,532,716,598,773,864,996,1176,1058,682,575,601,423,400,514,717,952,1720,1248,1034,1404,922,380,333,396,713,1528,1886,1440,1138,764,1080,938,509,346,283,228,238,225,231,214,202,236,437,644,1072,601,389,271,231,274,341,327,315,362,394,339,255,243,410,375,249,400,504,461,501,478,550,675,670,711,846,1011,778,621,764,1430,1320,1246,1460,1394,2026,1910,1322,1256,1120,1148,1068,808,909,1002,1013,985,1182,993,883,1094,1036,675,666,881,1316,1582,1360,1182,1178,943,943,1108,1246,1220,1388,1418,1176,1372,1080,1164,1176,1378,1404,1282,1076,1166,1376,1426,1208,1026,1204,1232,1190,1478,1452,1028,870,944,1180,961,1188,1306,719,401,460,701,965,1312,1566,1160,1330,1686,1748,1610,1346,1146,1172,1368,1400,1526,1184,1138,1186,892,1016,1174,1396,1422,1254,1222,1442,1482,1402,1438,1450,1440,1446,1418,1648,1602,1328,1494,1342,880,697,907,1122,1138,1400,1378,1376,1720,1490,1024,918,1162,1354,1114,997,1304,1176,876,1034,1210,1270,1098,1122,1156,927,670,733,1028,1528,1656,1364,1502,1598,1616,1548,1474,1524,1678,1582,1228,1382,1602,1614,1344,1302,1206,1080,1300,1568,1282,958,902,743,812,932,1020,1122,1348,1500,1518,952,681,561,566,660,741,935,1288,1404,1294,1088,1084,1216,1124,1072,1066,1082,1424,1150,963,931,931,862,473,497,484,596,944,1246,1376,1216,1118,1318,1454,1108,869,634,514,708,843,667,721,795,892,652,394,408,424,415,415,516,596,543,791,922,1178,1202,1166,1044,1218,1198],[985,664,709,910,1104,1082,1104,1158,872,443,466,689,1134,1054,674,849,1164,702,467,504,808,1128,1130,1034,817,378,327,321,347,370,399,359,328,316,342,406,443,449,427,354,305,364,420,539,460,388,405,372,381,388,372,629,848,825,1030,1108,895,949,968,786,883,1016,1208,1064,597,415,701,928,893,1174,731,722,1410,1800,1262,807,555,449,758,1108,823,402,302,349,491,547,449,341,561,777,711,790,689,483,451,376,305,251,285,292,380,321,365,355,504,671,758,962,965,977,1058,1294,1402,1164,1019,1188,1428,1168,592,507,775,976,1012,581,437,372,443,1142,1430,1164,1114,806,736,732,692,990,1378,1380,1070,1150,1202,1314,1380,1708,1874,1732,1562,1518,1324,948,589,577,795,1005,1262,1234,651,434,565,951,1162,1268,1574,1628,1386,1118,877,724,585,599,999,1014,985,955,868,1056,1044,655,828,1248,1512,1396,1248,1034,902,633,446,453,427,304,305,403,455,469,884,1420,890,650,927,1232,1300,1376,1544,1302,1078,1106,1054,753,684,635,706,564,597,1042,2120,1926,1130,1338,1462,1312,1460,1470,1312,1288,1340,1188,1154,1340,1274,1012,1100,1194,1200,1346,1382,1146,1106,702,935,1074,826,738,626,463,456,419,564,524,412,448,389,559,706,974,1364,1520,1076,736,447,432,515,665,564,521,576,961,1122,1142,1478,1522,1478,1394,1170,1336,1352,1222,1586,1456,1204,1112,868,529,442,568,630,948,1028,901,1278,1666,1194,1078,1202,1470,1118,656,524,619,758,711,924,1226,1160,1005,647,441,449,402,414,516,500,792,1056,963,946,1026,960,662,541,473,757,956,729,496,1056,1332,1210,1098,981,973,1148,1322,1318,761,609,528,582,634,725,852,987,865,659,587,693,731,876,1108,1013,954,1366,1280,1192,1346,1610,1546,1384,1458,996,721,807,600,599,874,858,915,973,683,579,626,528,768,1198,1448,1122,564,1007,1432,1686,1488,835,966,874,537,672,1178,1320,1364,1274,779,717,464,424,435,1078,1454,996,1034,1286,1268,1052,1178,1692,1788,1408,1180,1130,830,641,608,490,444,396,346,333,302,251,228,271,433,802,1052,827,554,536,639,633,638,690,613,600,807,992,1276,1724,1652,1570,1180,1356,1356,802,711,741,632,775,1148,1240,956,853,959,1188,1098,1368,1692,1440,1244,1322,1472,1572,1214,879,999,637,623,982,496,430,543,390,296,305,437,594,599,583,798,825,440,294,420,541,641,452,426,435,353,329,318,333,339,352,386,425,524,581,601,570,510,534,577,502,412,363,329,426,361,287,333,354,418,485,469,475,538,816,1164,1140,1354,1400,1054,1254,1100,833,919,1122,1350,1600,1546,1366,1372,1216,1152,1294,1362,1388,1482,1400,1470,1570,1254,675,470,590,565,857,1374,1466,1094,890,1038,1122,1570,1362,1034,975,1078,1090,1040,1224,908,690,694,593,377,452,768,761,632,844,994,877,896,1482,1956,1740,1520,850,443,382,619,659,672,928,1334,1512,1434,1350,1244,1722,1346,1100,1001,1128,1182,1200,1126,874,805,962,937,873,482,607,658,622,585,540,545,607,662,640,595,590,587,525,493,451,393,384,364,643,904,1238,1214,947,1224,1448,1011,929,1007,1088,1262,1346,1160,1094,1044,977,1072,1082,1108,1290,958,834,778,1050,1038,644,825,1026,1050,907,852,940,796,830,1450,1244,976,1184,915,751,1086,1860,1620,1146,1092,1204,1460,1412,1240,1106,1140,891,1114,786,899,1136,1176,1396,1382,1174,1288,1344,1262,1420,1598,1376,1490,1560,1148,890,1028,861,636,581,547,703,1138,1162,678,687,833,994,1168,715,873,1122,1118,984,884,948,939,1206,1086,991,988,1478,1242,1272,1300,1228,1112,1082,1150,1198,1104,902,674,522,754,503,468,822,929,816,818,915,887,834,660,590,572,601,434,357,363,426,418,400,566,794,878,888,861,772,411,472,879,502,330,293,263,386,489,406,530,905,830,636,559,487,401,1222,1136,1298,927,361,329,298,346,435,437,394,348,427,629,857,576,527,781,861,927,936,469,332,508,1094,1898,1092,458,434,526,513,1162,1262,644,767,1166,862,847,911,764,799,709,763,1168,982,687,885,1144,979,826,710,580,546,871,1468,1484,696,469,789,717,395,562,952,1086,545,438,441,842,954,1056,1262,1328,725,310,341,274,438,799,1156,1194,979,689,534,736,465,777,1184,1252,1288,1148,812,634,700,781,1052,713,554,491,577,574,479,545,546,486,465,234,294,604,529,483,736,1708,2446,2678,2128,1580,1444,1344,1268,1246,1256,1304,1402,1498,1482,1460,1260,796,571,413,272,491,724,698,1060,1424,1600,1224,558,520,763,815,605,449,763,1248,1656,1442,1048,922,941,1032,987,877,480,267,241,225,223,220,255,270,374,508,538,511,549,578,561,528,517,484,466,399,305,237,238,418,516,471,553,644,656,658,630,523,414,385,339,554,857,441,368,314,300,318,379,412,324,242,289,348,422,544,670,931,1002,638,510,411,389,448,491,385,437,602,650,557,362,750,1224,991,716,1134,1676,1818,1898,1840,1856,1918,1876,1486,995,1058,1290,1094,1034,1412,1540,1272,791,462,453,532,638,866,884,932,759,794,631,594,1030,1078,794,974,1060,1098,1452,1310,794,680,1104,1572,1392,1498,1290,1552,2208,1928,1140,745,1004,1322,1412,1230,765,792,1044,1096,1122,987,1010,1150,839,731,875,1164,2118,1650,1532,1436,1222,1302,1450,1616,1510,1318,1372,1276,1320,1396,1516,1494,1450,1594,1362,934,769,759,736,738,758,996,962,918,756,804,902,1005,799,913,1068,1260,1318,1140,1076,977,1009,940,1050,1366,1512,1610,1226,1338,1454,1480,1208,832,934,1196,1236,1224,1028,613,683,758,736,642,492,466,447,432,438,448,417,346,410,528,735,904,915,963,976,929,933,1138,1334,1048,713,791,1084,1118,1302,1021,1052,1288,1170,1188,1362,1374,1160,990,1296,1418,1288,1298,1142,1236,1322,1240,846,1208,1624,1440,1294,1338,1208,1144,1286,988,744,1066,1560,1432,1308,1486,1194,536,348,353,407,654,785,700,804,1150,1102,1004,1324,1392,1242,1092,1108,1102,1050,979,1306,1344,1130,1244,1294,1288,1120,836,914,1042,1210,1404,1420,1282,1260,697,514,573,796,835,999,1176,930,558,684,511,447,563,1010,1094,1066,809,659,786,847,795,771,642,576,708,733,780,1040,775,550,833,1140,808,628,890,966,1306,1232,656,817,734,624,565,734,1138,1226,1174,931,952,1238,1106,861,581,403,608,1166,1510,1254,1394,1478,1470,1592,1236,956,1376,1516,1142,564,520,846,1368,1302,1284,1178,1294,1408,1422,1534,1300,1440,1656,1930,1472,1390,1144,1256,1390,1044,1088,1252,1616,1594,987,886,1174,1438,1310,1244,1336,1656,1504,1040,796,802,877,720,712,861,1052,1298,1378,1360,1364,1424,1230,1226,1208,1340,1368,1524,1378,1242,1438,857,943,1346,1216,1048,1152,1218,1296,1260,1332,1536,1670,1450,1056,752,695,390,439,713,1066,1280,1262,971,792,1014,1240,1266,1070,998,1184,1332,1252,1060,1056,856,918,1042,1064,1202,1400,1368,1212,1248,1252,615,504,689,924,805,509,1340,1922,1372,1310,1424,1656,1376,606,526,912,1020,702,833,1048,1224,991,407,639,1007,954,1006,797,903,780,912,981,912,1256,1446,1094,735,666,827,516,513,792,1310,1652,1920,1178,1202,1692,1152,430,358,342,713,1500,1620,1372,1150,747,1088,968,407,209,184,187,241,239,231,207,208,203,468,575,695,475,320,243,221,227,221,195,233,305,442,379,264,240,281,272,244,570,896,702,385,378,502,774,1136,1134,1148,1138,797,717,1228,1348,1048,1470,1378,1208,1494,1356,976,824,608,746,1208,1028,892,1094,1028,650,676,641,388,530,659,491,1064,930,1116,1424,1274,1300,1013,573,833,1050,977,1060,1176,1192,1340,1382,1046,1166,1282,1482,1344,1230,926,673,969,1232,1298,1296,1222,1024,792,1278,1132,763,659,681,922,925,1038,1208,1184,1052,877,875,1392,1598,1454,1096,1202,1462,1722,1552,1316,1284,1700,1738,1654,1678,1214,1332,1104,1110,1284,1762,1856,1460,1328,1322,1528,1428,1412,1478,1394,1488,1466,1450,1606,1578,1570,1482,1272,785,689,1019,1238,1262,1272,1314,1218,1290,1000,979,1354,1434,1168,1128,968,889,1174,1070,1208,907,791,783,1036,1382,1270,1048,1268,1550,1668,1736,1556,1336,1440,1448,1420,1378,1366,1500,1404,1282,1112,841,1192,1238,1204,1082,1218,1432,1632,1278,738,548,675,834,750,615,676,1138,1250,1015,765,597,654,803,1001,1010,1068,1338,1300,1294,1392,1274,1013,1336,1600,1672,1576,1454,797,629,767,839,924,607,767,657,736,887,1362,1376,1250,1021,939,1482,2060,1548,781,509,436,444,393,535,1530,1626,798,921,1038,539,508,531,637,753,537,822,653,1036,1336,974,835,842,992],[1218,1144,1346,1328,1011,796,1084,1360,1316,600,491,961,756,543,687,791,688,604,580,519,680,1058,1012,983,877,407,318,317,332,397,428,407,374,327,342,366,378,380,398,374,323,355,378,408,466,448,425,385,451,597,626,674,901,1166,1206,784,764,902,850,750,897,1084,1260,1204,849,651,709,857,838,1228,1190,1228,1528,1726,1528,1080,897,1074,1248,1232,853,422,274,334,662,631,416,298,479,684,895,1160,883,545,427,294,220,238,312,376,365,353,346,275,326,533,875,854,624,692,701,954,1494,1556,1456,1468,1418,963,557,631,885,848,742,613,511,557,994,1386,1170,1126,1210,1042,808,622,838,1112,1440,1510,1194,1108,1366,1750,1758,1612,1410,1166,979,874,917,903,699,626,936,1158,1180,988,677,496,647,984,1126,1114,1440,1460,1296,973,668,581,511,590,793,930,1096,1108,1048,1064,1066,651,895,1444,1502,1276,1064,864,797,666,466,409,411,375,403,465,546,634,1078,1620,1378,702,720,1090,1266,1748,1766,1354,1506,1124,639,604,497,432,778,877,631,839,1626,1492,864,967,1158,896,1012,1198,1078,703,545,504,645,872,753,721,1154,1224,1060,999,822,974,1116,868,943,1072,930,996,738,457,490,422,371,390,402,378,294,411,600,618,842,830,778,765,516,552,777,1054,850,827,1470,1724,1346,1450,1790,1730,1650,1506,1054,772,1048,1078,1378,1538,1448,1312,1088,706,602,707,579,682,935,1130,1428,2238,1282,713,778,956,773,713,583,434,664,941,1048,1144,995,990,1054,864,818,549,507,463,354,529,841,1066,1136,1084,716,420,576,552,470,702,584,599,1028,1376,1616,1616,1468,1256,1370,1382,1412,1040,1148,1024,568,565,910,995,606,462,859,1084,792,570,1026,1306,1104,1284,1566,1466,1160,891,949,1034,1086,1140,1056,976,701,763,1017,1048,1040,893,733,587,1052,1272,1010,869,1074,1392,1038,821,877,898,1378,1314,912,973,953,523,810,1548,1460,1450,1474,978,597,459,421,595,1038,1172,923,865,1274,1382,971,780,1062,888,695,1110,1082,943,885,741,545,362,298,322,288,271,244,251,274,279,315,531,459,438,412,422,515,455,380,541,722,1036,1250,1572,1676,1692,1404,1360,1610,1466,921,673,718,663,642,756,889,862,1126,1238,1374,1306,1320,1312,1148,1168,1138,1120,967,861,636,484,382,424,432,460,541,480,421,356,317,451,695,834,1068,1466,736,289,381,504,613,567,453,454,438,431,442,475,500,511,515,510,570,654,681,628,538,457,455,480,491,421,349,328,462,396,296,352,379,373,408,377,343,606,993,1224,1254,1328,1376,1250,1378,1146,863,830,1021,1226,1306,1158,1144,1162,1126,1288,1546,1400,1368,1444,1378,1466,1570,1242,672,478,568,600,1194,1476,1366,839,1036,981,1030,1142,1017,1248,1368,1246,1006,952,1412,1240,1012,641,530,629,561,854,882,619,860,1208,1090,840,881,1304,1620,1542,1056,702,547,602,991,1306,1510,1490,1452,1748,1306,1310,1768,1336,1108,1106,1142,1226,1130,901,837,724,680,598,805,579,559,609,596,586,583,587,591,619,590,564,569,568,563,574,505,402,351,401,643,969,1484,1594,1186,1366,1354,892,824,984,1036,1166,1156,888,956,1042,965,1084,1021,933,965,857,849,967,1482,1310,715,802,1058,1018,1010,948,834,707,1036,1666,1138,1272,969,1002,1116,1180,1638,1654,1390,1118,917,1056,1152,1200,1228,1172,1008,1060,863,1026,1186,1016,1208,1302,1302,1334,1300,1468,1638,1656,1598,1640,1536,1334,1424,1598,1498,1294,1070,576,660,891,1122,700,624,863,1050,1018,814,1090,1280,1114,1016,839,1021,750,695,841,789,583,1048,1384,1488,1738,1538,993,811,619,782,1002,1076,835,767,727,431,423,861,1402,1130,728,854,743,615,503,522,697,574,419,395,407,451,408,408,549,579,613,513,525,487,317,371,471,534,437,275,285,529,943,987,508,804,753,428,464,600,469,609,823,1164,1132,514,404,343,338,499,726,490,321,328,526,662,555,679,1132,1126,974,1058,763,733,1154,1288,2382,1930,656,392,457,556,880,1296,644,510,646,576,749,1084,937,766,652,536,566,619,596,547,835,828,857,870,1104,928,797,933,890,749,606,586,586,502,795,968,1170,613,469,428,478,499,431,639,771,419,300,335,334,362,428,825,988,835,982,1098,795,516,830,1354,1384,1318,1150,1158,1134,841,1016,1292,855,665,775,828,684,652,574,498,482,512,301,309,564,584,498,655,1530,2476,2834,2318,1522,1498,1466,1462,1472,1548,1532,1532,1490,1420,1388,1268,903,567,391,234,338,651,884,1500,1366,1166,1001,732,834,767,528,406,462,709,816,903,746,655,1134,1396,1390,1072,803,660,342,228,228,212,185,216,199,262,351,370,373,416,466,528,561,559,561,580,497,481,385,326,438,433,314,712,979,709,643,636,406,284,309,295,548,1070,828,517,367,332,341,345,367,301,263,323,332,333,347,390,556,954,646,637,526,286,314,295,304,525,884,1512,857,638,1146,1260,1318,990,982,1426,1800,1822,1716,1714,1798,1880,1512,1236,1013,1056,1262,1218,1324,1520,1322,801,550,576,576,680,951,824,722,648,760,696,1094,1420,983,722,926,993,1330,1368,855,612,825,1036,993,952,1606,1888,2188,2196,1372,784,983,1418,1198,1036,803,895,1176,1224,1338,1282,1098,1260,1290,1036,965,1120,1306,1450,1328,1454,1496,1466,1604,1752,1762,1460,1426,1506,1266,1380,1600,1440,1440,1626,1650,1378,1230,1086,1012,1364,1116,673,730,807,823,747,783,918,875,916,1026,1170,1202,1068,1188,1200,1021,1034,856,1190,1500,1622,1496,1214,1212,1418,1550,1208,882,824,906,1028,1048,1244,982,1098,1098,881,636,445,405,373,450,619,633,508,398,385,451,534,689,846,966,986,1048,1060,1062,1176,1198,1058,933,1126,1138,1142,1194,1066,1200,1396,1360,1214,1270,1166,1224,1826,1612,1328,1324,1316,1258,1418,1320,1001,1242,1548,1422,1292,1222,1232,863,914,812,696,1174,1476,1484,1440,1644,1672,834,535,498,606,1202,1060,692,1156,1596,1144,724,679,830,918,705,667,719,809,1126,1394,1438,1026,1114,1566,1526,1040,730,695,1192,1540,1174,890,917,1246,1070,955,896,809,670,582,940,1138,891,1084,675,455,554,1056,1272,1216,778,541,730,826,734,712,684,771,808,803,908,1242,1166,698,827,1124,924,615,626,1026,1440,1178,854,1086,1270,944,887,896,1046,1246,1406,1358,1282,1342,1320,1062,724,660,574,865,1196,1808,2036,1632,1526,1454,1230,1318,1470,1154,1192,722,577,684,1106,1348,1436,1378,1462,1370,1286,1366,1296,1334,1430,1542,1502,1406,1162,1120,1148,1030,1182,1262,1166,1228,1308,984,1208,1542,1528,1468,1456,1582,1366,1056,647,455,495,463,808,1478,1744,1244,1288,1332,1456,1378,1396,1378,1168,1178,1270,1240,1094,1009,1044,640,833,1388,1346,1238,1264,1418,1344,1110,1262,1454,1372,1306,1180,857,961,679,696,778,1046,1192,1226,1320,1346,1278,1136,1106,1028,1022,1184,1324,1312,1186,1148,1080,1108,1164,995,1072,1300,1366,1182,1244,1228,1011,890,1050,1262,1002,451,828,1442,1536,1388,1216,1328,1290,734,502,803,959,659,765,924,783,603,454,493,713,794,1124,1030,993,678,1023,1098,1015,1456,1676,1138,858,561,621,446,607,1114,1344,1220,1021,1266,1400,868,679,509,393,331,511,1019,1346,1318,1156,843,663,415,187,165,204,271,393,264,272,464,348,223,428,841,781,351,234,217,235,239,229,226,256,302,379,351,255,236,305,355,296,498,904,921,533,418,572,905,1196,1172,1374,1434,1162,1018,1298,1138,1164,1674,1015,590,605,885,634,459,347,379,722,908,881,879,748,379,339,331,305,330,289,350,682,880,1162,1430,1290,1182,1044,931,908,789,899,1042,680,774,1498,1124,785,1092,1260,981,966,1017,583,370,546,550,888,1300,1302,1026,946,1344,1200,1012,792,669,991,1282,1432,1362,1104,1116,945,620,1064,1188,906,931,957,1110,1522,1530,1454,1462,1742,1668,1490,1018,803,853,1048,1378,1464,1508,1392,1422,1614,1604,1410,1196,1374,1582,1464,1448,1428,1358,1382,1548,1482,1138,1110,775,652,878,1094,1272,1394,1476,1306,1158,1308,1462,1422,1378,1302,1832,1800,1374,1408,1340,1366,1156,828,603,847,1242,1254,1214,1612,1672,1392,1404,1426,1494,1700,1648,1504,1406,1336,1354,1484,1294,950,634,708,966,1340,1358,1356,1324,1332,1302,946,805,761,532,605,624,519,604,523,430,632,923,1154,1310,1280,1001,1376,1616,1224,1172,1300,882,1036,1502,1744,1706,1592,1192,655,404,516,852,1158,1152,1054,952,1021,976,1144,1256,1062,665,568,927,1518,1098,726,780,758,697,769,875,1498,1422,1208,1470,1144,609,671,703,753,845,576,576,498,576,566,479,616,794,806],[1454,1526,1484,1270,995,933,1172,1316,1324,723,651,1408,1116,622,532,502,536,730,792,609,601,905,815,655,487,341,315,323,325,407,455,455,414,330,344,350,374,343,368,400,364,356,379,450,495,452,412,407,476,651,878,883,947,1094,1286,926,700,780,807,879,974,1018,1120,1138,993,839,777,651,1012,1310,1388,1106,800,773,781,886,1028,1104,784,809,791,425,266,346,774,886,615,446,407,522,988,1304,850,470,368,258,239,260,367,448,368,357,438,365,401,575,752,569,462,908,1142,1060,1266,1362,1372,1542,1568,1204,916,616,697,744,570,497,728,774,943,1250,1380,1278,1304,1296,1048,1060,1420,1492,1480,1382,1308,1328,1642,1826,1784,1682,1448,1144,880,979,1350,1252,974,705,765,956,980,1002,811,531,698,989,1098,1058,1230,920,623,774,659,539,607,650,818,1042,1068,1060,1118,1078,1102,900,998,1392,1370,1308,1308,1124,809,583,418,417,415,433,555,613,489,805,1140,1626,1790,1052,940,1310,1278,1236,1386,1338,1402,1074,778,850,719,558,741,907,794,596,943,1248,1102,847,868,730,806,840,771,521,379,421,460,622,605,543,596,688,473,354,331,505,637,799,1066,1136,934,797,639,487,478,402,387,440,506,424,269,303,328,303,346,351,372,428,481,644,778,846,996,1100,1506,1638,1408,1416,1750,1816,1700,1588,1352,728,812,1019,1024,1198,1432,1464,1162,846,749,647,599,849,862,1088,1388,1514,969,837,1050,866,690,705,615,610,778,785,723,803,653,670,868,1086,1036,866,829,590,503,619,971,1210,1214,1160,796,628,509,525,456,628,661,500,719,952,1188,1490,1288,1278,1412,1324,1318,1012,1384,1432,646,586,889,962,750,476,691,667,504,522,840,815,1064,1238,1268,1338,1256,1262,863,820,814,900,1102,1420,937,584,623,1102,1066,952,843,765,1152,1396,1272,914,1246,1112,861,891,905,1007,1004,996,1060,1092,910,459,499,733,1058,1238,1054,805,651,655,619,882,1274,1206,966,901,1128,1306,805,512,419,435,670,992,943,926,997,1064,843,517,303,300,261,271,262,239,270,265,265,289,358,458,499,513,550,454,394,597,921,1142,1204,1290,1362,1080,1066,1464,1438,1306,778,644,550,466,551,704,804,920,1136,1074,995,922,946,1102,1130,1208,1318,1164,1144,1172,577,318,371,467,808,1136,980,713,536,418,385,574,955,1144,1308,1364,995,841,770,590,535,514,574,516,482,537,543,525,512,514,462,433,497,616,639,616,522,443,444,421,408,363,292,351,442,405,336,362,362,336,372,387,418,832,1168,1122,1266,1354,1378,1248,1090,1094,1224,1216,1448,1488,1424,1134,1260,1084,1072,1308,1312,1222,1366,1356,1294,1278,1088,814,555,550,537,839,1246,1410,1120,901,899,639,829,990,1036,1404,1334,1356,1226,1406,1868,1456,854,757,942,852,697,879,744,855,1062,904,1017,987,1012,1332,1610,1418,948,982,1142,802,1504,1938,1568,1496,1528,1552,1360,1300,1466,1374,1132,1050,879,954,799,688,626,596,649,584,819,680,534,648,638,625,641,644,586,572,544,564,572,560,491,453,425,374,352,483,766,896,1082,1294,1214,1298,1390,1142,1001,1050,1015,1090,1070,897,819,883,966,695,763,1242,1256,1166,1048,1066,984,950,824,628,793,1066,1290,1230,1132,1300,1370,1256,1518,1450,798,891,1042,1023,890,1023,1228,1294,1172,1080,1058,1052,944,727,577,658,1050,1604,1588,1204,1056,1098,1230,1116,1102,1662,1748,1760,1842,1682,1440,1316,1266,1570,1714,1624,1212,580,636,661,971,1160,1070,1180,1378,1244,1204,1100,1322,1280,1516,1352,1542,1250,1118,1082,1094,676,739,1338,1388,1644,1510,1366,977,827,919,814,762,792,1020,1026,670,406,865,1642,1114,605,659,578,569,613,583,639,513,382,407,416,459,426,436,633,670,533,645,687,422,292,439,915,1080,547,292,381,681,1206,1280,596,834,618,298,308,370,371,561,763,1164,1430,720,360,338,347,499,850,610,402,434,410,392,358,601,1378,1208,890,1005,1160,1009,1460,1976,2602,1764,579,364,394,502,788,1670,862,495,529,580,711,924,893,684,595,579,543,422,551,684,717,866,957,1072,1150,901,662,631,945,1372,1134,764,512,570,662,556,592,430,357,365,343,309,326,530,478,333,466,414,357,449,559,636,764,1134,1314,1122,1134,1126,901,961,725,890,1224,1188,1232,1230,1330,1076,778,809,1050,983,615,692,807,551,336,341,376,331,544,652,522,560,1328,2422,2800,2478,1562,1556,1574,1572,1556,1562,1506,1436,1376,1394,1396,1306,1024,579,358,244,275,669,824,979,791,626,641,886,1056,764,615,567,532,708,677,754,694,469,946,1236,1564,1132,566,745,575,241,244,215,191,209,201,251,268,258,253,267,331,404,413,490,519,481,355,447,441,422,468,428,276,535,692,581,581,356,215,240,266,466,953,1206,1274,1148,810,481,350,327,295,255,288,343,349,334,340,502,771,807,480,382,312,281,310,309,339,495,803,1334,747,1140,1011,907,1152,1084,1018,1078,1342,1238,1494,1710,1710,1748,1572,1258,833,924,1288,1266,1019,1058,1162,827,521,583,648,893,926,854,692,611,695,994,1576,1688,1458,1132,902,1290,1478,1010,633,597,938,1030,907,1454,2078,2298,2440,1962,879,854,1216,1342,1270,960,764,1116,1334,1386,1330,1276,1158,1222,1216,1202,1132,1062,1112,1126,1026,1270,1322,1264,1370,1572,1490,937,884,1052,1142,1344,1510,1260,1266,1482,1592,1372,1188,1021,1124,1366,975,555,448,705,842,858,750,814,1086,1136,1278,1404,1326,1254,1238,997,1058,1232,1224,1292,1504,1552,1460,1326,1110,1146,1332,1176,1052,1012,1078,1156,1124,1216,1156,1318,1174,758,554,457,410,385,426,561,576,506,449,410,451,453,536,720,859,994,1060,1080,995,759,1094,1224,1100,1142,1202,1210,1186,1114,1048,1154,1322,1028,1154,1302,1232,1246,1358,1328,1222,1194,1142,1262,1292,969,1032,1416,1086,962,888,630,576,1070,976,1104,1448,1504,1600,1432,1588,1902,1112,672,550,889,1186,1034,1030,1440,1528,1274,980,692,460,555,619,464,612,971,1286,1490,1682,1150,901,1546,1582,1202,1154,1062,1044,1144,1180,1018,1200,1346,1256,1266,1192,999,756,649,832,1328,1346,1306,587,337,433,811,1096,979,686,450,548,731,579,621,680,647,584,628,847,1066,1094,1116,1048,853,782,611,659,632,739,881,1104,1180,1330,1152,1230,1234,1272,1428,1394,1420,1388,1538,1542,1426,1284,1292,1078,941,1146,1630,1526,1494,1500,1336,1394,1232,863,552,698,769,915,781,881,1314,1476,1400,1472,1362,1128,1324,1352,1246,1276,1416,1464,1230,1244,1176,1008,1136,1248,1166,830,995,1810,1272,1340,1278,1298,1474,1440,1438,1510,1146,631,419,403,521,981,1514,1514,1158,1160,1426,1604,1434,1330,1350,1460,1076,888,1088,1256,908,727,875,976,1318,1558,1418,1386,1536,1408,1050,1168,1350,1560,1570,1124,952,1214,1144,1088,1058,956,1018,992,1224,1438,1290,965,859,976,1194,1360,1306,1236,1126,1010,1078,1160,1366,958,780,1084,1282,1192,1116,1122,1336,1254,1266,1358,998,573,621,1134,1512,1426,988,1340,1644,949,448,638,768,667,743,835,581,471,443,345,476,1194,1382,1260,998,951,1158,1074,1318,1520,1878,1368,917,488,471,609,844,1104,1108,789,624,1182,1120,457,779,921,510,351,383,774,1212,1120,849,631,427,294,250,219,261,445,816,497,286,529,416,217,402,709,576,260,207,233,250,226,208,230,234,350,529,496,340,281,349,381,319,579,899,680,519,518,830,783,726,1016,1960,1952,1052,855,1014,1180,1368,1376,709,365,426,513,524,490,555,614,706,904,773,746,816,583,444,382,337,318,427,555,719,948,1172,1474,1334,1015,1274,1078,766,872,861,601,530,573,1166,1262,791,1066,1326,753,727,916,418,317,345,380,491,871,858,690,1130,1474,1426,1298,1250,1236,1194,1206,1302,1368,1512,1542,823,495,852,806,670,842,1064,1114,1404,1638,1534,1544,1632,1340,752,404,558,965,1322,1446,1400,1242,1248,1644,1680,1538,1322,1162,1236,1422,1300,1218,1366,1470,1484,1598,1408,938,1028,1128,1350,1268,957,930,1212,1396,1524,1416,1476,1420,1298,1336,1374,1712,1532,1468,1598,1660,1440,1362,1172,744,977,1472,1414,1114,1150,998,884,1078,1266,1422,1556,1482,1334,1330,1260,1220,1578,1416,1019,736,631,874,1050,966,1056,1080,1224,1322,1212,850,743,587,521,444,426,352,349,362,440,755,1368,1750,1310,1106,1454,1414,991,985,1376,1266,1066,1314,1592,1470,1296,1130,761,633,577,836,1242,1356,1072,806,929,1140,1152,1382,1208,476,364,554,1020,835,919,900,1040,1200,1112,1114,1090,1100,1390,1048,689,653,756,883,969,901,653,556,535,506,461,373,515,770,963],[1350,1092,1212,1390,1218,1250,1132,1336,1350,1070,852,825,791,540,486,568,667,952,884,631,672,767,572,421,358,296,330,355,366,409,428,406,369,365,355,369,365,352,376,448,441,380,376,410,428,412,412,409,351,450,894,1068,993,898,1190,1028,607,695,814,988,1114,1052,1090,899,993,1146,1002,1008,1196,1088,800,473,537,612,532,599,992,1138,819,826,750,485,293,331,540,739,850,697,357,599,1464,1856,1054,390,259,262,286,278,333,375,263,498,1044,1256,1136,767,633,702,1260,1642,1194,832,912,1176,1164,1324,1560,1606,1428,909,781,1040,1232,1100,984,839,901,1426,1784,1504,1428,1384,1108,1342,1520,1410,1378,1496,1598,1704,1664,1492,1528,1654,1630,1328,1238,1468,2184,1800,1318,997,713,980,1202,1042,673,475,568,626,752,752,704,526,394,771,1044,964,818,593,835,1036,838,781,885,924,1040,1056,1226,1262,1096,1046,1186,1038,775,700,492,400,381,405,613,668,635,1021,991,1294,1686,1102,732,812,958,1108,1206,1188,1172,1010,793,766,587,451,561,545,574,426,1046,1886,1614,1128,832,711,592,429,439,404,358,391,623,940,924,972,802,798,584,389,401,356,328,369,680,1216,1244,1116,768,498,426,392,550,608,545,374,291,338,333,317,316,327,439,467,400,885,1050,1009,1021,1010,1294,1494,1406,1382,1730,1874,1808,1626,1648,1512,1342,1222,955,958,1326,1214,825,933,971,587,429,496,626,1166,1194,865,803,1126,1318,1270,1019,879,980,684,669,758,583,511,478,489,582,657,659,962,918,1024,1054,692,692,944,1026,1066,1256,1148,621,341,623,1280,1098,514,505,533,792,1028,1002,1112,1038,1312,1338,1128,1468,1174,501,647,949,1284,1148,545,504,492,506,631,714,706,879,1056,1182,1088,1078,1318,692,827,783,871,1146,1072,877,595,604,913,972,1056,1262,1216,980,1138,1212,1116,880,1368,1238,832,794,853,874,986,1092,1116,985,506,349,418,693,1074,946,564,431,820,1200,979,704,828,825,755,866,1064,697,498,486,533,680,905,896,766,794,1112,966,739,675,451,325,298,271,268,274,243,254,272,315,414,540,591,613,453,459,630,1204,1336,1206,1272,1212,985,644,619,635,676,586,524,569,616,570,613,907,1148,1044,789,749,996,1406,1720,1848,1494,1496,1242,1500,1296,542,354,454,580,728,843,760,608,465,487,752,948,1144,1300,1328,1262,999,718,636,612,537,501,551,543,537,511,521,570,650,563,472,469,487,518,516,639,568,496,451,401,369,374,372,348,375,398,365,343,342,318,345,379,735,1260,1368,1340,1512,1594,1432,1362,1522,1474,1494,1312,1130,1334,1368,1192,1318,1246,1302,1328,1174,1216,1266,1238,1320,1224,944,741,598,675,641,1064,1246,1098,870,1076,1234,954,1074,1440,1156,1108,1104,1512,2010,2314,1916,1196,1230,1446,1116,916,890,821,725,980,1052,938,1424,1344,1190,1278,1264,1182,789,1236,1460,916,1166,1388,1306,1394,1260,1252,1332,1064,962,1058,1004,1208,1126,1560,1210,894,565,584,736,739,824,675,492,684,678,641,666,685,600,540,538,554,545,543,472,414,424,374,321,438,722,691,1048,1296,1294,1248,1174,1082,1058,1046,1170,1148,1150,979,944,1011,668,628,551,584,778,994,845,933,797,634,648,512,509,846,929,852,914,1290,1262,1494,1922,1288,633,760,670,824,1138,1338,1204,1242,1298,1238,1052,1023,888,807,855,1009,1098,1108,1496,1506,1066,1005,1008,665,751,1366,1652,1622,1648,1476,1168,849,891,1152,1148,1170,897,695,700,653,923,1162,1050,1188,1520,1346,1204,681,1228,1344,1514,1362,1708,1514,1090,1184,1350,1198,1178,1488,1466,1618,1344,1352,1132,902,1009,733,309,683,1190,1252,1090,560,633,1314,774,478,477,502,571,612,542,572,509,390,380,378,451,408,477,639,948,570,400,571,548,321,492,1152,1222,566,367,438,636,883,833,503,580,543,357,326,351,364,458,702,1090,1414,1162,583,343,359,651,841,653,437,438,357,339,348,523,1164,1094,780,655,923,913,1076,1920,1898,780,683,772,583,617,710,1428,913,469,416,418,539,819,797,639,588,532,472,447,581,766,980,885,843,968,938,886,637,680,1344,1400,684,566,592,659,460,383,467,445,328,272,270,270,353,670,601,567,731,595,398,454,539,449,572,883,938,984,1290,1017,697,484,364,401,874,1060,1102,1268,1164,825,807,720,892,1016,884,767,594,657,564,529,440,230,373,548,491,405,974,2180,2740,2614,1744,1486,1550,1548,1532,1482,1428,1360,1332,1310,1318,1350,1120,606,425,303,253,487,634,593,618,768,702,639,813,618,503,390,285,464,585,1058,1332,694,532,967,1040,738,799,982,921,387,257,255,258,251,244,250,240,234,271,286,335,383,367,343,368,293,208,288,333,314,376,433,394,418,544,521,482,288,259,300,369,1018,1778,1698,1218,1164,1306,1108,635,468,315,288,310,372,399,362,306,541,982,993,606,405,237,260,298,455,600,578,598,408,807,1146,755,799,879,1106,1518,1238,1374,1202,1482,1648,1652,1882,1742,1086,879,1266,1312,1048,687,766,825,633,556,639,779,993,956,910,650,462,584,1100,1406,1650,1688,1274,1332,1566,1126,707,610,819,1260,1350,1526,2056,2204,2210,1898,1048,816,1172,1238,1156,852,755,1030,1278,1452,1470,1384,1416,1332,1182,1100,1154,1228,1248,1134,799,875,1232,1152,1118,1180,1390,957,595,733,988,980,1190,1030,1007,1252,1346,1548,1448,1146,999,1180,1028,927,689,568,786,727,543,472,675,839,778,1316,1512,1794,1152,1202,1060,1015,1244,1328,1338,1462,1444,1504,1332,1192,1166,1456,1554,1272,1238,1234,1134,1158,1188,1242,1372,1312,799,500,453,469,405,358,382,533,500,408,511,583,521,552,626,643,759,918,953,824,602,961,1376,1450,1238,1062,1006,969,1013,1009,1084,1266,1192,1298,1418,1320,1310,1388,1426,1310,1114,1040,1106,1222,1010,932,1086,982,950,720,816,1214,1054,847,1128,1336,1198,1398,1472,1526,1676,1294,790,927,1412,1548,1440,1378,1418,1346,1246,1432,1280,967,554,543,677,866,917,1007,1494,1852,1486,1090,1168,1366,1234,872,565,633,1356,1578,1236,1188,1140,1208,1192,1110,1134,1009,995,919,1150,1009,784,391,323,326,613,992,987,789,623,756,1090,854,763,854,592,495,565,576,670,1112,1494,1238,852,770,909,1398,1166,879,971,968,1174,1346,1104,1392,1866,1614,1438,1320,1310,1464,1588,1346,1172,1308,1464,1360,1142,1314,1434,1444,1614,1194,1082,1430,1170,1136,1016,1086,1078,1064,1009,918,1230,1428,1230,1242,1320,1224,1244,1394,1412,1476,1422,1298,1294,1260,1050,983,1248,1202,974,931,785,865,1174,1310,1252,1308,1270,1126,1244,1102,644,570,563,780,842,1078,1186,1088,1040,1170,1354,1360,1278,1246,1428,1998,1302,841,776,893,1015,1150,1258,1238,1468,1614,1578,1682,1772,1562,881,877,1250,2002,1976,1780,1404,1148,1196,1202,1332,976,646,410,543,760,940,781,711,760,1021,1246,1214,1196,1070,1220,1180,1044,1296,908,705,1021,1086,1166,1216,1310,1308,1004,771,1012,945,554,570,892,1228,1260,1036,1092,939,554,480,883,1262,690,481,694,634,534,599,469,471,738,850,899,669,807,946,1116,1388,1152,1396,1194,879,567,582,1096,1234,1002,1190,861,552,731,864,722,1138,894,589,556,555,632,681,573,404,377,485,420,295,222,224,604,1024,809,494,421,353,239,363,747,710,321,230,237,212,212,226,240,230,449,922,1114,793,618,412,404,334,786,979,797,680,674,690,530,424,849,1604,1830,1456,1048,1082,1296,1258,1122,586,340,338,334,405,586,979,884,623,905,592,539,873,974,861,707,447,399,853,1230,1052,1015,1064,1470,1524,1328,1444,976,958,1130,1060,1026,1001,588,538,803,875,1196,1236,863,1152,800,404,350,331,416,778,1076,883,850,977,1252,1660,1426,1292,1394,1366,1476,1302,1128,1312,1054,510,660,866,635,592,606,1020,1172,1302,1622,1608,1526,1226,727,436,500,969,1368,1406,1374,1192,1074,1280,1468,1440,1340,1360,1362,1382,1482,1308,1140,1394,1556,1498,1552,1382,1070,1428,1736,1886,1584,1028,1278,1562,1592,1702,1508,1476,1474,1444,1318,1062,907,1007,1118,1550,2206,1490,1282,1218,1132,1398,1622,1604,1418,1456,1234,1102,1302,1376,1338,1254,1166,1478,1644,1286,1110,1466,1476,1294,1170,1302,1578,1388,929,871,1116,1252,1364,1554,1026,561,397,364,407,407,321,317,347,437,569,940,1422,1132,1060,1282,1394,1120,1138,1340,1226,1442,1550,1694,1334,1176,942,610,682,767,690,824,808,778,792,774,922,1066,1214,1070,581,424,328,538,886,1196,916,1014,1142,832,749,775,539,543,459,514,767,1046,1214,1066,875,673,482,490,416,393,365,477,974,1470],[1236,1092,991,1176,1294,1038,843,1318,1324,1082,1044,1322,1354,671,572,721,668,1007,886,668,893,865,541,378,348,339,424,455,482,459,436,393,338,371,427,383,357,393,403,465,480,396,365,334,323,363,407,430,349,455,841,1012,920,840,1074,1138,734,767,926,1218,1444,1174,1098,869,815,825,734,741,949,1136,666,559,640,629,558,539,778,882,651,459,589,537,332,321,315,430,405,374,285,572,1248,1356,862,431,270,252,261,267,298,273,333,915,1444,1490,1204,845,944,1186,1344,1056,761,543,554,723,1098,1570,1560,1666,1688,1572,1382,1500,1672,1504,1200,1052,1204,1478,1570,1542,1438,1342,1360,1550,1686,1672,1738,1776,1620,1576,1524,1516,1654,1780,1624,1262,1238,1376,1606,1206,1100,1132,665,684,810,635,343,375,446,463,503,449,371,388,445,811,1532,1738,1416,826,791,1072,1154,1158,854,955,1090,988,933,814,828,882,950,1060,886,993,668,612,500,522,1001,1084,1040,1264,1000,1062,1372,890,595,529,624,996,881,652,604,428,354,408,389,365,381,356,399,359,667,1794,1980,1542,937,583,500,394,376,398,395,416,856,1154,1460,1482,1152,1001,652,379,424,346,247,270,479,919,897,884,1158,1086,863,627,429,374,424,341,406,521,438,365,353,365,728,877,697,843,904,917,919,1015,1310,1458,1448,1572,1688,1850,1686,1498,1454,1302,1092,990,688,651,950,1256,921,899,1005,667,551,428,406,975,1174,642,811,1322,1336,1116,939,774,991,664,587,935,956,695,440,646,1140,814,506,606,729,1284,1062,581,716,812,935,1050,1158,1018,731,803,1078,1416,972,769,745,697,549,690,869,794,883,1208,1074,705,629,467,425,457,1040,1164,998,712,507,483,661,857,802,644,929,1192,1038,797,783,694,645,797,720,1015,986,737,889,1054,1500,1644,1124,868,969,1262,1372,1240,1056,956,999,1296,927,721,786,856,943,1120,923,973,806,431,307,384,591,1018,1046,742,692,747,993,713,521,825,779,720,1001,968,739,654,571,580,1019,1344,1004,835,965,933,562,481,668,813,709,442,263,262,260,246,277,289,313,447,368,413,516,500,414,808,1324,1314,1340,1146,1268,1110,531,618,930,886,697,602,781,811,702,777,847,875,773,664,893,1136,1496,1536,1454,1318,1196,1019,1282,1070,652,628,619,543,404,357,316,341,333,311,826,980,985,1128,947,866,783,562,511,431,398,492,501,486,469,460,480,521,503,454,543,568,479,423,451,582,513,467,430,368,350,378,393,382,408,415,444,446,435,379,374,604,1158,1470,1554,1390,1378,1482,1448,1354,1448,1300,1132,871,823,1048,1044,1176,1284,1202,1188,1210,1400,1452,1240,1260,1372,1178,899,907,912,725,882,1262,1142,991,765,1068,1180,1184,1248,1350,1186,1178,1342,1264,1374,1698,1152,714,1164,1894,1576,1152,885,768,678,844,860,1216,1284,785,773,819,783,944,965,1068,1262,1232,1174,1112,1112,998,641,708,979,978,1048,1138,1194,1630,1384,1200,1076,755,477,498,645,712,797,681,447,624,658,648,674,651,608,579,550,541,532,507,497,447,419,358,286,422,605,682,984,1224,1378,1470,1340,833,811,1016,1202,963,1032,941,955,748,643,745,681,550,696,692,518,926,824,551,888,1058,899,987,947,708,959,1800,2042,1838,1770,924,503,428,524,761,1290,1448,1316,1216,1100,913,963,1030,986,1164,1072,1278,967,1210,985,847,917,834,705,529,589,948,1306,1450,1496,1180,810,1194,1428,1260,796,697,771,867,709,514,737,1140,1368,1432,1410,1258,1070,688,1124,1396,1446,1384,1522,1290,1013,1166,1280,1338,1282,1562,1302,1252,1204,1284,1220,1126,1504,1064,813,1956,2498,1500,1098,526,486,1048,919,560,443,452,478,509,586,651,504,396,384,368,443,390,512,768,1378,1288,637,563,770,401,375,516,607,426,769,1378,1498,1004,645,505,586,675,491,501,653,515,419,772,886,1256,1498,1064,464,321,370,448,494,411,378,416,343,386,441,582,920,969,613,816,976,666,776,761,830,973,1194,774,684,650,820,905,735,412,393,487,910,779,648,784,694,496,582,717,642,669,627,709,849,1023,984,744,676,1426,1776,942,741,728,494,497,350,456,574,372,292,304,270,351,666,896,807,686,806,742,499,508,501,482,490,705,1021,1368,1062,649,526,414,345,604,957,1048,1132,1222,802,842,502,738,948,1038,814,429,299,395,566,501,223,271,368,462,397,792,1968,2710,2722,1858,1470,1530,1494,1410,1416,1408,1314,1284,1198,1160,1236,1118,672,434,309,223,383,615,662,678,724,586,539,774,781,608,463,408,425,494,975,1166,579,417,562,637,653,1226,1272,946,662,397,288,303,291,298,271,240,258,254,240,256,306,326,291,244,215,199,265,303,255,295,444,581,633,975,681,413,310,314,322,698,1482,1884,1744,1512,1366,1130,1114,1054,708,396,370,362,338,351,335,385,714,1108,866,477,361,331,346,280,378,465,373,302,445,900,849,476,502,559,1023,1166,1000,1350,1516,1648,1694,1748,1940,1874,1510,1218,1354,1238,969,659,556,495,441,458,545,880,969,965,907,556,403,409,824,1162,1680,1490,1450,1608,1252,733,572,784,1450,1872,1998,2160,2340,2348,1868,1114,689,1044,1214,1186,879,779,1194,1352,1408,1464,1520,1430,1268,1332,1222,1378,1608,1604,1498,1060,689,872,1328,1246,1376,1414,1396,935,860,1186,1212,1180,1320,1198,1262,1390,1312,1438,1398,1524,1436,1274,807,854,779,706,877,874,750,610,681,852,971,949,1174,1384,1062,1136,1338,1318,1338,1328,1338,1438,1610,1616,1462,1322,1404,1498,1440,1372,1410,1242,1132,1128,1096,1252,1320,1352,960,506,414,426,347,340,376,518,511,464,554,549,509,573,576,554,548,602,611,594,672,701,820,1112,1030,893,874,913,951,1032,1112,1015,1184,1570,1582,1434,1556,2164,2248,1434,1294,1146,1140,1168,1110,1282,1446,1302,1164,1007,1104,1082,850,1094,1330,1382,1000,1318,1392,1260,1720,1440,965,1102,1334,1654,1814,1444,1138,1146,1116,1188,1244,1012,677,553,564,653,612,814,1530,1748,1464,1440,1308,999,796,627,491,929,1718,1672,1272,1272,1214,1252,1072,1224,1154,936,821,904,1098,1060,686,311,419,444,596,935,1088,1168,964,833,883,639,370,478,577,674,749,601,518,1078,1378,1366,1138,1098,1082,1286,1136,1288,1710,1360,880,969,1108,1556,1548,1222,1184,1240,1478,1494,1354,1386,1306,1108,1082,1196,1240,1386,1386,1368,1312,1096,745,846,1094,1132,973,922,982,1256,1288,752,806,1122,1216,1362,1456,1348,1360,1520,1506,1428,1368,1364,1346,1190,996,865,1124,1176,1003,816,744,771,924,1092,991,874,943,849,992,750,704,763,727,1040,1166,1386,1432,1290,1338,1310,1064,988,938,1184,1372,1658,1376,1090,786,916,1084,1070,1168,1226,1418,1322,1464,1904,2122,1892,1272,1180,1498,1500,1390,1572,1234,814,987,1180,1362,1072,662,513,570,814,1146,922,629,726,1050,1174,1220,1070,832,1206,1054,1021,935,916,1150,1176,1046,884,963,1094,1026,1160,996,1328,1494,920,639,806,1084,921,591,745,940,513,498,1256,1830,950,564,550,642,582,608,655,547,635,863,1016,642,1028,1238,998,1124,818,852,1172,1178,777,607,771,625,716,1086,661,586,1122,1240,1192,1224,766,606,604,503,444,447,470,312,309,357,389,264,199,191,478,849,1010,662,298,343,262,376,862,614,317,247,284,265,256,249,265,266,500,1364,1772,1150,1184,901,980,608,723,794,753,1032,1005,829,621,649,974,1680,2414,1806,1252,1208,1154,1240,1186,788,452,386,549,736,861,1058,760,672,1034,876,698,1076,1072,1066,977,785,646,924,1272,1098,1058,1272,1408,1542,1494,1328,1400,1404,1282,1322,1350,1072,519,647,1005,623,1001,1150,1220,1358,919,495,389,369,640,1234,1204,1044,1010,723,832,1302,1438,1128,1138,1348,1432,1340,1268,1144,814,482,541,639,646,664,635,951,1172,1304,1502,1848,1798,1218,643,720,1084,1294,1296,1592,1598,1582,1370,1254,1244,1390,1374,1360,1506,1700,1518,1172,1238,1578,1496,1426,1600,1684,1380,1378,1416,1342,1174,998,1294,1208,1094,1102,1310,1368,1988,1698,974,634,456,725,1196,1302,1578,1518,1236,947,973,1238,1404,1532,1648,1780,1638,1442,1356,1228,1072,918,948,1666,1910,1696,1466,1404,1322,1282,1432,1716,1814,1540,1246,1098,1334,1184,1222,1534,1190,579,318,374,631,880,545,355,319,408,463,510,1018,1230,1262,1462,1574,1462,1550,1088,882,1454,1592,1444,1262,952,448,268,408,713,1000,830,558,836,1104,1178,860,1066,1266,1248,951,524,353,742,1274,1266,1288,1272,969,727,548,430,392,425,462,713,1050,1108,885,623,536,560,463,423,356,345,402,536,839,1096],[1206,1096,761,802,1116,1044,975,1009,799,808,1044,1236,1390,828,719,538,479,946,974,629,545,621,489,364,379,365,407,400,409,419,423,366,336,327,341,293,299,361,412,454,472,403,365,321,290,335,405,462,409,452,677,918,959,843,984,1114,816,745,911,1017,1094,1009,867,701,589,616,610,466,677,1302,897,670,508,589,669,653,607,930,807,365,510,669,376,291,303,381,291,425,335,371,681,965,862,468,294,266,263,249,277,254,332,798,1144,1698,1732,1168,1254,1322,1302,1246,619,465,452,626,1496,1774,1614,1644,1704,1648,1698,1748,1682,1556,1542,1444,1498,1742,1626,1600,1706,1796,1750,1698,1604,1472,1424,1256,1082,1390,1504,1394,1450,1508,1378,1158,1076,1020,979,1015,1040,844,521,409,401,458,373,351,415,469,449,447,400,375,404,528,1354,1890,1542,980,573,991,1428,1224,896,1108,1246,1021,996,959,955,989,946,1100,1048,1026,629,350,383,583,783,947,1314,1490,1568,1194,944,724,681,626,725,908,580,284,286,327,307,270,379,450,468,407,355,371,410,805,1340,1316,865,819,1092,919,458,432,392,288,762,1126,1288,1232,1132,1003,518,400,395,306,264,307,608,888,565,351,648,1076,1174,1154,824,521,425,478,882,755,375,365,459,446,672,997,1084,913,886,1136,1116,1290,1360,1394,1374,1580,1736,1718,1742,1744,1482,1072,693,512,578,879,829,797,688,749,867,951,854,518,421,591,756,498,854,1270,1254,1110,929,675,669,514,610,902,1100,1022,593,716,1240,866,646,878,1236,1450,1066,799,1058,1128,1126,1272,1282,1008,944,1104,901,1038,1012,925,909,905,695,588,638,814,821,901,818,480,409,528,519,426,486,549,874,1052,921,648,716,883,754,587,801,980,860,921,867,735,736,711,738,924,786,538,796,1196,1358,1206,1040,872,811,831,1106,1048,857,886,1276,1404,985,775,631,776,1262,1476,1158,1158,993,633,512,405,346,619,695,731,924,502,766,623,988,1174,991,1100,1178,1048,1242,1274,1078,688,737,858,968,1078,1192,1016,643,459,605,1138,1382,1008,588,424,498,404,383,350,313,393,394,414,493,482,445,793,1034,1174,1156,1011,1442,1450,1222,1202,1324,1044,740,767,742,679,754,882,916,784,619,622,716,742,927,999,1028,1184,907,822,1272,1042,686,610,540,682,435,296,404,400,296,326,570,618,744,1028,949,619,680,521,375,273,343,499,493,451,453,458,489,501,514,525,595,590,521,461,429,472,457,447,399,321,275,310,354,375,400,382,466,441,407,423,422,921,1416,1428,1198,1136,1302,1194,1392,1422,1334,1282,1188,944,1048,1270,1210,1190,1284,1328,1322,1356,1450,1308,861,958,1242,1172,1162,1264,1216,944,1132,1278,1082,800,1060,1316,1062,1160,1286,1104,1196,1220,1046,747,586,601,714,670,1670,1654,2020,1238,615,828,1098,1174,1214,1264,797,574,703,852,709,719,1142,1072,1082,965,678,830,1174,937,643,591,668,918,1314,1440,1156,1200,1122,1306,1250,824,603,536,566,652,778,862,600,638,690,687,631,589,539,484,418,434,384,318,323,314,310,275,272,457,630,781,1007,1262,1208,1180,1142,1254,1432,1560,1602,883,822,858,712,554,497,476,589,694,683,605,579,1010,838,651,1332,1480,1154,1088,1080,805,1007,1562,1716,1644,1888,1022,707,520,611,854,1028,1112,1120,1300,1186,854,935,1072,995,1072,1622,2188,1404,1260,1242,1204,861,806,830,713,885,1021,1250,1464,1340,794,647,1350,1772,1816,1340,894,674,546,366,558,1176,1274,1708,1444,1466,1100,826,639,1060,1522,1472,1462,1518,1246,1178,1246,1350,1322,1328,1272,866,940,1256,1340,1126,1218,2056,1354,1138,2302,2598,1428,1130,685,421,742,788,493,433,469,507,566,664,633,514,428,459,400,402,376,396,763,1384,1524,1076,639,637,514,535,1064,981,461,805,1534,1534,1032,602,444,442,637,518,469,605,719,473,698,914,943,1318,1428,933,364,311,296,292,341,408,543,523,472,553,723,1246,1308,700,648,973,610,350,510,738,811,940,725,705,636,639,1338,1290,635,498,540,819,850,525,636,673,592,788,998,718,563,810,965,846,918,1124,789,681,1204,1780,1476,1486,1344,579,553,363,447,639,425,361,256,259,341,505,773,781,581,770,852,495,509,551,373,379,626,998,1384,1052,672,697,516,312,514,736,841,1294,1622,857,724,489,554,823,1001,797,446,492,466,392,434,290,286,460,643,507,566,1700,2632,2798,2166,1524,1604,1650,1586,1580,1504,1330,1270,1198,1100,1110,1102,761,444,368,280,349,671,890,808,646,504,423,604,800,833,851,691,532,595,732,565,346,411,660,1628,1456,1724,1506,1042,932,637,355,355,421,448,386,351,305,445,394,245,260,252,237,232,234,238,280,367,404,462,702,664,594,742,546,343,282,365,733,1438,1830,1710,1662,1698,1658,1150,697,810,744,666,646,451,314,326,375,604,960,1244,653,496,395,343,377,449,415,301,307,331,489,666,464,406,403,411,742,724,1122,1478,1658,1782,1722,1638,1678,1762,1886,1398,1170,1050,1076,1218,1166,786,466,418,631,918,852,1030,752,497,460,367,706,1150,1316,1336,1552,1294,744,626,743,1346,1886,2224,2190,2032,1824,2018,1442,710,874,1116,1100,837,758,1316,1428,1684,1600,1288,1172,1250,1188,1268,1312,1480,1760,1634,1344,760,723,938,1262,1120,1076,1240,1244,1092,1094,1172,1226,1440,1454,1328,1312,1418,1368,1416,1296,1428,1526,1334,1182,1104,902,934,877,955,977,754,700,872,1007,838,1238,1120,1005,1344,1428,1310,1316,1356,1348,1260,1300,1388,1560,1638,1536,1440,1316,1390,1562,1440,1256,1312,1230,1190,1272,1376,1172,647,485,513,417,377,453,503,496,430,427,415,367,397,458,482,521,503,491,553,608,501,610,910,753,875,979,853,937,1076,988,879,893,1166,1394,1274,1826,3350,2546,1324,1086,1208,1200,1184,1122,1504,1704,1488,1666,1552,767,785,1062,1322,1206,1102,1924,2052,1522,1312,1178,1058,947,1122,1320,1552,1640,1244,1013,980,876,661,1130,1544,1280,781,581,786,803,695,1584,1804,1498,1448,1592,1044,637,572,543,820,1372,1416,1362,1228,1272,1240,1042,1009,944,911,960,983,896,988,1023,601,699,574,675,1078,1144,969,636,379,469,476,457,732,1044,1004,861,615,405,696,1190,1024,606,816,1152,1254,1188,1518,1870,1460,963,930,1094,1448,1826,1214,959,1136,1186,933,933,1204,1402,1416,1260,1326,1480,1522,1484,1194,1302,1250,849,1040,1370,993,745,650,630,1140,1260,758,834,1014,1086,1292,1422,1332,1440,1484,1330,1184,1366,1534,1310,1268,1308,1074,944,1098,991,710,771,761,683,760,838,877,905,996,1112,822,623,653,897,1106,1118,1136,1216,1218,1064,1108,1084,1017,766,858,1176,1322,1324,1176,896,907,997,1136,1458,1488,1448,1328,1546,1780,2018,1782,1448,1402,1202,865,1050,888,843,1023,1266,1262,1378,1126,791,816,1026,1250,1262,1048,724,819,1220,929,768,783,784,1146,1098,874,783,972,1122,1322,1019,554,565,835,894,1490,1504,1312,1198,957,985,1134,1100,1034,400,400,636,424,538,1116,1616,1138,797,791,1198,1134,791,974,719,1006,1100,830,449,805,916,850,1120,931,764,1034,1206,1060,866,673,671,779,745,494,595,1016,1224,1372,905,606,681,453,302,386,422,449,340,344,347,307,275,264,266,233,420,791,484,271,219,222,451,695,842,578,293,309,281,293,273,290,308,630,1574,1720,1226,1388,1196,1492,894,695,833,931,1444,1368,1360,1132,999,1090,1558,1664,1102,1216,1332,1294,1182,1338,1236,760,859,1108,1036,752,745,745,826,1140,1242,1088,1054,973,958,1128,1172,1034,886,1023,1166,1108,1302,1406,1582,1738,1658,1712,1536,1132,1216,1262,1118,852,1116,1176,746,1090,1184,1276,1498,1146,655,684,855,1042,1282,1152,924,1266,966,1064,1216,1294,1162,1050,1316,1432,1344,1280,1184,1168,641,340,434,807,760,835,1026,1144,1158,1402,1756,1592,974,766,1232,1720,1468,1332,1344,1392,1692,1500,1182,1450,1638,1454,1542,1742,1946,1542,1496,1530,1566,1434,1574,1614,1424,1492,1678,1628,1554,1372,1200,1300,1440,1470,1396,1384,1476,1404,941,634,452,414,689,1376,1396,1226,1368,1274,876,832,965,1188,1410,1508,1598,1594,1414,1498,1350,858,749,882,1118,1158,1368,1522,1472,1516,1804,1540,1400,1300,1594,1832,1530,1364,932,1021,1534,1478,824,383,689,1360,1472,972,469,364,413,357,424,874,1456,1444,1242,1296,1574,1870,1182,1066,1138,1144,1176,912,448,281,334,381,752,1266,1142,1136,1194,1088,1052,957,1044,1190,1360,1116,681,545,797,1232,1052,1284,1290,1156,862,612,486,446,455,598,823,785,577,414,370,397,551,633,450,357,358,402,719,984,968],[1208,711,604,737,905,1170,1496,1494,955,818,922,1234,1408,1134,970,632,470,886,1034,661,512,491,368,352,403,398,393,368,379,357,331,323,325,338,332,310,340,381,418,447,472,413,360,364,373,404,461,475,417,399,488,633,816,843,995,1220,1044,880,828,947,979,865,836,711,656,613,599,549,772,1168,965,685,499,345,734,1005,656,659,594,509,449,756,429,241,290,336,298,337,320,317,546,665,280,249,280,291,243,250,288,306,308,594,1154,2036,2182,1184,1017,1050,1322,1064,510,403,499,1128,1454,1554,1778,1734,1500,1406,1432,1528,1724,1654,1670,1600,1638,1724,1768,1830,1948,1776,1650,1494,1202,1192,1440,1252,1168,1332,1332,1346,1180,1150,1334,1278,1078,1026,1278,1208,1054,713,448,321,329,388,404,486,664,629,566,508,409,432,429,440,1016,1704,1678,1212,795,1058,1394,1194,860,1166,1272,930,888,891,832,874,847,980,1026,764,544,466,487,598,708,1108,1406,1366,1528,1490,1370,973,710,655,581,622,612,714,554,297,239,272,422,414,461,644,794,851,698,558,725,1036,1068,1240,1776,1354,553,409,345,453,668,685,670,593,652,777,540,454,401,281,253,269,479,640,435,274,591,930,980,1246,1366,1130,701,526,750,641,488,560,760,1032,1176,1312,1164,884,743,958,758,952,1128,1022,851,1036,1448,1744,1952,1838,1576,1216,890,496,712,1023,788,527,711,1150,1076,1228,1244,830,808,989,765,560,802,1026,975,1030,882,722,542,419,455,615,720,687,536,448,622,687,634,611,934,1230,1202,1148,1162,1146,1298,1250,1074,1348,1356,1208,788,985,1074,879,816,892,1124,956,980,1344,825,755,822,877,937,936,582,437,404,901,1318,1198,962,998,758,712,883,1002,1010,1056,929,990,1068,1246,1120,861,883,773,465,520,555,666,964,1064,1126,1146,944,692,890,1034,1224,1482,1216,1230,1672,1376,970,1082,1398,1374,1098,1086,1032,813,940,679,512,769,787,979,907,702,1052,728,785,966,1052,1278,1128,766,1220,1282,1230,735,620,560,491,789,1176,1260,1124,921,909,1322,1290,1250,915,816,894,824,593,371,314,368,381,414,485,496,566,824,803,1256,1444,1448,1132,1270,1130,1044,993,669,464,541,561,726,794,662,559,585,572,484,424,374,925,1438,1318,1154,1106,1048,1346,1036,1030,828,528,622,422,304,573,742,601,342,398,586,697,708,640,426,412,309,250,248,293,417,498,457,484,621,593,541,574,666,642,549,463,420,460,455,448,435,371,300,260,282,310,377,431,439,418,362,414,477,514,821,1314,1470,1182,1386,1432,1136,1120,1162,1300,1350,1368,1210,1194,1274,1094,1160,1412,1472,1348,1364,1408,1528,1406,1482,1484,1296,1258,1464,1554,1106,1250,1322,1052,659,1150,1262,975,1310,1282,1304,1970,1854,1202,705,466,692,1118,1088,1860,1400,1162,814,613,764,1212,1344,1288,1048,693,1144,1154,1212,1023,934,1054,1016,1124,1022,869,1194,1870,1282,616,433,563,810,1502,1592,762,474,758,988,1204,1406,1062,1021,735,709,762,998,731,517,721,666,599,755,586,432,310,303,336,402,543,596,461,396,375,446,557,797,1078,913,1090,1388,1282,1756,1578,1424,1060,610,789,701,535,532,517,465,582,896,647,469,490,1015,763,776,1288,1354,1064,957,1222,1174,1090,921,1284,1534,1612,1246,1120,863,719,812,871,863,1010,1288,1266,1148,1216,1060,1048,1226,1452,2238,1610,1058,1160,1084,849,963,944,1062,1176,1186,1390,1564,1092,771,1015,1484,1804,1930,1876,1288,544,553,479,480,885,1108,1386,1104,1234,999,619,518,1011,1520,1512,1412,1388,1158,1108,1358,1492,1472,1308,1278,1250,1314,1492,1504,1346,866,1366,950,924,1786,1578,1026,1032,786,424,607,714,448,433,443,503,516,329,415,533,440,463,451,392,352,594,1396,1826,1616,1256,905,531,513,646,811,613,352,486,789,880,820,399,328,361,592,504,456,574,775,534,689,1254,1526,1568,1380,1354,709,346,306,355,398,467,868,964,552,470,750,1114,984,733,571,789,867,500,386,608,751,714,551,628,583,474,1182,1626,913,783,845,754,700,756,711,865,866,751,889,698,1013,1484,1114,745,661,770,641,630,979,1458,1274,1020,1090,527,593,509,424,678,609,404,255,278,340,386,551,733,823,792,708,499,481,507,422,444,471,685,990,857,847,1206,929,456,537,514,494,791,827,875,739,627,694,661,665,610,502,698,669,563,440,264,238,547,790,603,638,1576,2592,2842,2322,1576,1714,1800,1668,1604,1568,1434,1356,1246,1134,1158,1166,843,480,451,362,323,662,727,808,625,595,471,394,567,810,866,898,740,596,591,461,405,423,438,1462,1864,1776,1418,1284,1298,966,559,424,482,578,519,381,411,991,751,334,360,438,375,272,248,286,422,633,511,569,973,794,621,523,265,204,310,728,1436,1542,1332,1434,1550,1616,1376,819,766,799,679,734,1046,1144,637,470,583,875,979,854,662,547,608,537,445,618,562,442,482,341,386,490,430,421,410,409,387,697,1260,1516,1538,1468,1356,1296,1540,1594,1704,1654,1630,1460,1416,1514,1440,913,577,590,831,907,698,930,688,490,465,370,597,879,1108,1374,1382,997,778,1106,1582,1874,1664,1922,2038,1722,1732,1612,833,715,976,1030,828,722,1350,1622,1454,1488,1520,1382,1280,1432,1396,1288,1072,860,924,849,706,654,988,1136,1142,1222,1370,1344,1274,1188,1188,1170,1276,1288,1154,1148,1112,1210,1350,1174,1036,1238,1306,1262,1078,1152,1292,1272,1268,988,801,929,883,894,993,1124,1234,1146,1270,1204,1292,1306,1328,1588,1416,1220,1194,1158,1340,1578,1592,1490,1332,1302,1292,1596,1764,1556,1366,1072,1136,1212,1112,835,708,639,549,472,537,468,419,425,408,383,383,401,388,442,487,500,480,417,414,396,411,489,623,820,951,872,818,926,1021,1002,832,847,1048,1244,1362,1686,1282,1166,1134,1172,1194,1180,1150,1312,1390,1442,1726,1422,990,1172,1366,1428,1620,1510,2450,2358,1536,1510,1388,1366,1238,1438,1432,1482,1324,856,913,855,565,402,619,872,803,703,730,876,1014,1010,1730,1904,1784,1588,1498,1342,954,493,508,543,944,835,1030,1086,1130,976,645,430,575,787,797,629,471,689,1282,1178,1076,862,849,1156,1092,1046,790,332,344,331,514,1010,1166,818,568,452,350,362,549,474,429,527,752,1004,1076,987,1138,932,1150,1100,872,1036,1698,1506,1388,1354,1100,1040,1132,1004,1140,1498,1124,1194,1376,1530,1430,1478,1248,928,1190,1464,1268,632,886,810,761,896,1096,1016,956,1002,1042,1148,1280,1400,1468,1318,1214,1136,1304,1398,1344,1444,1460,1120,1016,1172,1009,835,834,798,633,502,579,683,845,1170,1338,1270,1023,854,1096,1400,1108,933,1752,1248,677,758,1074,949,529,529,965,1428,1516,1276,1256,1230,1180,1218,1352,1358,1300,1350,1220,1116,1294,1348,1294,1322,1118,784,1044,972,1140,1308,1102,891,971,756,574,888,1400,1454,1282,1192,709,663,988,829,633,832,932,1192,1134,1050,1502,1338,752,642,447,430,586,921,1172,1630,1668,1340,1162,987,1080,1284,1342,1350,625,530,877,582,468,634,1138,1196,797,825,1324,1306,803,1052,679,869,1174,800,644,947,886,883,1130,1010,974,1116,1372,1376,1140,718,835,1064,700,528,631,595,843,910,472,534,706,416,318,277,350,400,340,313,285,278,314,301,334,252,280,372,312,220,257,374,586,698,971,823,518,311,375,505,405,306,273,522,1104,1098,1032,1160,1194,1308,734,657,932,1012,1512,1566,1344,845,688,928,1306,1178,1192,1378,1504,1476,1238,1378,936,645,740,892,971,756,908,1100,1062,1216,1354,1220,1066,1010,796,789,1012,1050,1224,1238,1384,1144,1230,1346,1316,1514,1644,1496,1378,1352,1268,1306,1278,1021,875,852,1013,1184,1344,1454,1308,1116,939,1064,1230,1200,1316,1236,1296,1294,1270,1404,1338,1306,1003,1074,1400,1378,1190,992,947,910,469,324,351,599,582,507,687,890,1172,1486,1600,1368,987,1464,1410,1380,1306,1132,1096,1282,1444,1664,1756,1644,1500,1512,1538,1576,1460,1316,1372,1380,1412,1500,1628,1550,1548,1834,1680,1440,1380,1448,1390,1492,1378,1360,1386,1360,1294,864,645,651,828,918,1080,1088,1374,1608,1664,1428,1038,815,986,1204,1342,1350,1314,1230,1386,1572,1440,958,540,773,1036,1036,1226,1474,1688,1564,1526,1356,1202,1168,1522,1400,1398,1512,1250,1142,1294,1574,1180,870,1370,2066,1698,1260,611,328,339,329,292,909,1772,1250,1084,1106,1366,1388,1270,1013,899,1252,1242,717,433,376,282,271,341,459,934,1278,880,498,475,682,1013,1038,997,1002,905,1100,1230,1432,1290,1276,1208,816,455,402,383,388,602,878,709,619,562,423,380,393,497,618,506,384,349,337,674,973,796],[1012,899,1136,916,773,1102,1370,1310,1138,1310,1294,1294,1336,1160,992,692,479,813,1062,724,556,460,391,472,538,528,451,409,373,350,346,315,336,342,339,390,399,392,390,437,469,420,364,373,435,500,536,480,404,351,346,362,529,714,860,971,1078,1162,1086,974,994,862,968,969,918,640,564,496,572,669,664,648,545,262,449,805,670,637,585,749,476,679,545,326,300,276,259,261,268,284,364,390,231,274,296,321,248,245,306,325,278,575,1144,1428,1570,1090,720,749,1108,791,745,599,618,1406,1700,1612,1634,1394,1400,1328,1266,1346,1576,1672,1750,1780,1690,1566,1428,1494,1570,1150,1518,1592,1368,1366,1612,1556,1750,1290,764,789,782,1330,1980,1736,1246,666,918,843,720,736,557,448,451,430,400,541,937,1392,1264,887,777,639,473,477,828,1312,1712,1510,937,1086,1244,1282,1132,1254,1204,1024,1019,1052,1046,1068,967,1032,1058,689,491,502,764,816,1132,1364,1594,1300,1072,979,925,858,728,662,661,904,1306,1246,797,396,342,419,507,449,660,1108,1338,1484,1466,1062,578,868,1038,1023,1456,893,466,460,375,550,691,534,411,465,428,430,437,439,343,241,260,355,573,641,458,303,422,826,1072,1260,1588,1620,1354,1106,1064,902,769,776,1222,1948,1172,1224,1246,1066,876,1440,1184,674,778,866,753,1130,1418,1398,1328,1230,1234,1038,913,532,585,777,636,491,1122,1684,1470,1454,1256,1198,1210,1058,686,617,712,789,1016,996,690,747,595,573,868,922,1003,904,630,589,891,814,502,461,545,672,966,1262,869,695,1202,1372,954,905,943,780,746,1000,1026,910,739,1268,1916,1174,1018,1086,828,683,801,819,795,836,655,474,619,721,767,954,1140,1528,1376,1220,1262,1186,999,986,986,904,1158,1438,1076,918,1112,847,559,647,628,575,658,869,1212,1354,1128,841,972,877,1010,1212,944,1516,1810,1806,1542,1442,1256,1212,1212,1078,723,536,742,936,873,982,927,1046,1238,1260,1023,833,844,683,688,709,750,496,662,796,662,479,498,527,546,784,851,705,1026,1026,806,803,1202,1246,882,1028,1310,1158,921,763,607,546,491,526,488,556,678,984,1108,1418,1208,1126,1068,817,686,613,576,579,515,488,452,664,790,714,547,538,471,407,383,399,761,1232,1084,1090,1368,1270,1344,1056,1054,750,405,361,282,431,602,562,555,380,509,943,703,442,349,306,267,243,278,277,260,346,505,509,650,1010,790,577,681,689,586,570,535,552,658,592,556,533,432,373,390,417,417,485,507,466,434,487,512,448,604,863,880,1096,1422,1346,1600,1498,946,954,1066,1106,1272,1248,1432,1166,811,1272,1428,1298,1412,1470,1458,1488,1436,1528,1570,1372,1322,1462,1098,1094,1256,1302,715,660,1130,1023,863,1054,980,1636,2424,2040,1538,1080,890,651,871,1192,1120,882,768,892,1082,826,805,1172,1418,1542,1088,1118,1550,1462,1124,1068,904,1022,1396,1386,1542,1324,1538,1138,659,532,658,725,1144,1208,718,605,824,879,1044,1262,1226,1188,910,783,739,1013,819,336,466,515,589,672,623,631,615,855,796,893,1056,944,962,951,661,587,504,833,1078,1068,1290,1470,1346,1730,1382,1180,943,818,750,511,767,863,590,433,435,536,445,510,644,1052,955,1012,1378,1526,1302,925,1282,1458,1436,1500,1730,1538,1372,1338,1634,1604,1200,1038,810,852,997,1164,1140,1108,1286,1162,1056,1110,1252,1290,1350,1706,1434,1170,946,1108,1154,1124,1120,1330,1688,1324,973,1384,1656,1632,1632,1702,1432,1144,760,811,602,639,1268,1656,1632,1558,1590,1494,983,563,915,1418,1512,1264,1306,1270,1366,1626,1650,1396,1124,1170,1164,1142,1356,1400,1204,812,750,628,999,1390,1210,946,915,753,424,446,538,545,377,293,247,318,476,648,629,490,512,471,394,389,720,1478,1846,1894,1138,855,766,524,562,472,362,337,421,677,663,701,359,324,369,597,727,575,498,565,380,597,845,1074,1886,1388,1294,1234,651,348,371,407,478,893,955,473,364,438,564,673,700,833,724,892,713,358,507,700,786,651,565,382,288,537,761,626,1030,1378,1116,885,954,825,1058,887,645,543,766,1192,1246,766,570,667,930,901,560,615,527,543,583,516,396,502,597,542,824,1044,690,298,283,310,341,416,507,758,686,944,787,557,451,449,438,363,422,760,998,1130,1476,1212,1032,607,416,349,415,596,749,707,571,585,587,516,695,852,673,617,704,599,338,229,487,818,729,504,1144,2414,2756,2532,1736,1698,1814,1724,1666,1644,1544,1410,1266,1188,1222,1230,945,495,446,350,265,582,737,893,1092,943,491,379,435,755,811,838,795,561,658,748,770,608,282,854,1616,1734,1478,1472,1648,1214,846,613,772,869,872,592,375,520,526,451,581,646,431,296,281,306,408,585,404,393,534,584,643,458,220,249,419,1266,1822,1494,1542,1422,1134,1116,802,751,928,993,963,923,1030,1324,1376,1242,938,1026,836,583,589,561,530,569,514,472,451,398,351,386,498,480,426,428,567,486,471,1028,1396,1400,1198,1064,1542,1644,1758,1742,1692,1646,1738,1742,1582,1510,1188,702,607,709,1148,987,788,813,655,528,591,587,597,899,1420,1562,1230,744,963,1644,2086,1862,1736,1936,2198,1980,1540,822,637,932,1002,816,586,1194,1744,1572,1454,1448,1318,1182,1170,1282,1286,1186,803,685,644,763,913,857,752,981,1104,1098,1082,1064,1150,1090,1058,1158,1442,1212,1106,978,1170,1294,1116,987,1136,1338,1282,1366,1148,1158,1428,1352,1196,988,1162,1274,1142,1009,992,992,1108,1144,1210,1180,1268,1216,1132,1174,1334,1304,1140,1164,1410,1482,1210,1278,1544,1444,1190,1418,1600,1380,1134,1148,1100,894,969,1246,1162,814,709,528,559,556,481,453,484,446,435,417,380,412,407,405,446,401,418,483,490,388,392,579,793,860,874,874,1012,1072,785,779,1100,1224,1614,1784,1448,1264,1166,1124,1290,1312,1188,1238,1388,1348,1274,1188,1202,1408,1520,1220,902,1020,1672,1918,1438,1526,1506,1570,1574,1554,1304,1298,1082,672,615,565,440,358,345,386,619,748,539,621,876,1052,1644,1668,1484,1460,1252,1040,1204,603,510,769,1094,803,1028,1318,1021,851,836,849,1040,745,411,348,343,556,1344,1334,1176,1090,839,876,964,1030,930,400,325,458,560,772,708,492,420,448,421,389,377,386,430,538,566,573,685,1048,960,930,877,781,792,1112,1288,1420,1528,1248,1080,984,1184,994,894,811,533,681,1084,1312,1478,1510,1094,806,1104,1434,1420,808,777,763,776,600,735,932,1108,1156,933,948,1264,1406,1294,1316,1208,1284,1344,1348,1440,1568,1368,1004,912,960,1098,1222,1046,896,840,565,527,566,955,1426,1460,1510,1594,1370,1550,1312,1140,1554,2570,1500,691,727,1100,801,477,649,916,1144,1246,1112,1158,1172,1212,1146,1294,1400,1444,1362,1188,1208,1184,1158,1234,1202,1276,1194,1142,1266,1242,905,629,533,579,533,442,639,1120,1246,872,515,518,744,828,680,888,989,1418,2052,1684,1622,1824,1174,814,850,584,441,820,1296,1386,1558,1592,1448,1222,1238,1202,1250,1248,1184,642,786,998,559,384,675,1210,1312,1064,785,634,583,627,916,766,701,655,689,933,1144,1106,962,917,780,775,621,918,1190,1094,714,763,917,654,417,370,315,423,658,526,518,794,512,291,278,361,448,431,338,295,313,281,271,340,279,297,293,390,378,279,594,789,614,881,835,720,398,762,1010,669,336,260,633,1292,880,798,1060,1096,1314,768,754,632,700,1021,1188,869,564,537,729,821,932,1228,1482,1684,1488,1180,1034,484,593,716,583,673,1094,1296,1104,870,850,980,1274,1122,1180,1128,919,1238,1258,1290,1266,1224,1186,1244,1166,1310,1666,1678,1626,1428,1428,1392,1306,1266,1372,1724,1964,1538,1166,1206,1094,1108,1332,1224,1180,1572,1306,1310,1356,1110,915,1384,1508,1210,769,725,1256,1350,1072,1256,1082,1176,1200,836,498,351,463,589,497,524,596,864,970,1404,1572,1486,1412,1274,1274,1370,1274,1438,1638,1588,1628,1406,1338,1426,1412,1418,1488,1424,1338,1260,1360,1476,1424,1396,1416,1418,1426,1294,1062,965,1188,1330,1476,1434,1278,1240,1026,704,567,586,724,1130,1362,1482,1484,1514,1482,1526,1516,1242,915,1186,1510,1454,1350,1334,1328,1430,1186,900,677,543,745,1172,1532,1418,1464,1508,988,1182,1388,1262,1364,1420,1440,1710,1524,1008,917,1224,1644,1604,1698,1812,1648,1290,898,450,335,352,371,344,495,951,1220,1130,1094,1104,1134,1302,1314,1414,1542,1196,1096,801,561,496,351,329,558,987,963,824,645,468,636,653,848,1172,1104,1136,1394,1368,1362,1134,835,628,447,364,352,414,487,803,1110,985,1416,1010,540,425,385,446,503,529,525,494,333,397,529,450],[1170,1262,1304,1062,1172,1166,935,1248,1426,1426,1172,872,879,1011,830,595,501,688,937,604,502,489,450,688,697,465,378,395,349,376,360,308,313,319,319,377,446,468,446,433,443,407,387,368,434,475,469,430,397,331,274,282,498,658,793,894,882,926,883,922,837,599,862,874,808,640,513,427,394,446,470,505,512,341,398,693,874,781,489,475,593,976,754,332,339,248,246,247,249,248,238,239,254,270,282,315,267,237,301,314,319,495,850,806,629,559,733,781,817,799,1136,917,429,884,1266,824,1052,1068,1120,1118,1154,1408,1674,1878,1776,1550,1638,1584,758,907,1184,1166,1394,1206,1136,1084,1506,1842,1630,1152,974,1034,1170,1824,2072,1500,1248,812,856,873,698,536,510,584,606,548,495,512,801,1876,1692,1144,1138,1005,615,434,587,737,963,1016,880,884,923,1164,827,731,1114,1380,1450,1350,1352,1444,1388,1230,1336,861,698,832,1462,1300,1256,1426,1536,1240,973,932,917,807,639,570,928,1170,1174,1080,787,590,589,641,719,744,908,1130,1188,1232,1208,1198,745,600,860,1026,1204,792,519,393,347,362,500,476,431,385,381,430,349,321,310,252,237,422,713,783,664,479,486,683,965,1708,2124,1880,1560,1422,1346,857,697,872,1176,1408,986,969,1636,1616,1400,1724,1448,1088,1184,1001,1013,1548,1610,1332,1222,1444,1354,969,651,596,711,678,560,619,1270,1680,1236,1512,1414,1266,1172,1120,1050,882,894,1104,1600,1730,1100,1015,1028,770,1162,1450,1252,863,640,681,949,978,785,530,504,451,570,1042,704,419,631,688,511,516,501,556,822,831,904,996,836,998,1078,798,1060,1190,1356,1112,1062,955,878,1007,864,721,656,716,576,624,1164,1388,1728,1834,1690,1256,996,1092,1044,1108,1154,974,769,1242,1212,736,694,1054,1007,803,521,592,1084,1360,1362,1114,725,521,530,764,1222,1654,1648,1686,1562,1398,1072,896,1108,1066,557,507,453,656,1034,1234,1150,1212,1102,1152,1290,1280,1244,1388,1011,551,844,926,1124,1005,543,477,667,698,515,642,509,349,349,441,813,637,938,1202,1398,1722,1522,1296,1480,1194,1154,995,857,998,1009,1042,1032,1040,1404,1576,1308,1350,1206,735,531,642,996,697,633,642,625,717,1028,786,455,455,444,503,412,360,468,620,546,865,1122,1080,1262,1054,1006,801,273,276,259,271,327,241,270,286,557,753,499,352,342,313,262,302,324,281,257,315,443,502,742,1068,815,642,630,559,607,642,544,664,960,919,847,591,426,408,437,450,428,485,500,420,457,605,561,642,1052,1270,846,897,987,835,1136,1078,736,888,972,1050,1306,1286,1320,1352,1368,1426,1408,1382,1388,1372,1394,1372,1400,1366,1466,1368,1422,1630,1030,1110,1246,991,555,585,952,919,732,785,977,1556,1680,1954,1336,1046,1002,775,779,890,937,799,604,816,1328,947,904,921,876,1394,1216,932,1306,1400,1210,1190,1013,912,938,824,857,814,1024,1162,821,524,610,558,554,584,590,808,1140,1026,979,933,1130,1356,1112,672,610,1120,1432,1132,1090,962,949,1024,1198,1028,766,902,656,564,882,1006,966,1002,1050,1021,910,921,1288,1322,1298,1272,1494,1716,1356,1124,863,459,385,374,546,1098,1114,597,358,404,643,1024,1166,1432,1628,1538,1502,1860,1808,1200,1240,1482,1502,1610,1516,1140,1192,1262,1372,1482,1368,1244,1046,984,1066,1102,1048,1138,1210,1198,1292,1136,1028,1080,1524,1984,1606,1106,982,1118,1208,1356,1460,1542,1360,1162,1400,1670,1814,1388,756,896,1010,1358,996,938,680,758,1508,1722,1434,1474,1730,1682,1146,644,854,1358,1548,1268,1366,1212,1074,1426,1562,1302,905,1022,1268,1372,1414,1302,1248,927,605,612,580,429,571,760,842,548,319,227,262,350,492,421,469,1010,1240,1028,780,518,550,446,371,361,660,1122,1042,1252,831,785,711,429,496,632,470,440,651,1222,1012,1328,728,370,346,535,842,565,443,568,404,543,737,1018,1734,1550,1300,1414,1158,646,463,493,484,557,460,350,490,401,449,727,1264,1490,891,788,874,457,459,647,791,860,615,340,268,393,567,750,921,1068,984,986,873,861,753,780,913,861,971,1032,847,649,654,827,1152,1002,448,470,577,499,425,412,502,501,587,633,838,1162,748,412,340,333,375,440,530,618,663,830,996,852,542,502,471,438,471,542,438,724,1034,889,1066,743,537,590,401,355,543,666,614,626,397,442,702,681,893,764,605,475,289,252,370,690,814,439,865,2226,2724,2486,1678,1620,1780,1740,1722,1692,1588,1466,1380,1284,1258,1258,1002,535,401,288,217,488,713,785,976,991,526,430,371,521,685,672,824,717,670,687,960,941,382,431,846,1488,1616,2126,1988,1080,811,632,625,863,1146,975,498,530,679,525,521,491,346,453,396,376,340,250,279,304,390,603,517,249,187,387,852,1528,1708,1804,1806,1148,852,930,700,861,1030,1200,1178,1136,1086,1312,1426,1616,1442,1100,624,524,813,808,407,475,634,570,416,305,401,489,804,958,715,632,709,529,856,1372,1404,1042,1042,1470,1524,1434,1460,1654,1782,1704,1686,1688,1640,1554,1172,764,629,915,1240,1234,882,718,662,613,714,821,1040,1376,1588,1662,1112,840,1166,1848,1992,2054,2138,2314,2284,1726,954,637,809,1032,800,561,1046,1608,1440,1254,1514,1600,1352,1260,1298,1186,928,791,625,652,794,1017,1128,914,854,1086,1296,1496,1356,1296,997,758,824,995,1246,970,836,1054,1482,1370,847,912,1226,1374,1500,1464,1564,1236,1158,1210,1086,1124,1126,934,989,948,1074,816,1080,1338,1520,1418,1354,1310,1200,1256,1452,1278,1084,1264,1396,1410,1094,1140,1488,1528,1560,1644,1248,1016,1404,1344,828,927,1342,1804,1480,984,636,529,563,684,569,448,546,539,422,378,342,384,395,436,449,458,567,625,537,400,306,342,489,833,1126,1028,960,1028,1015,1042,1148,1204,1290,1414,1440,1318,1276,1274,1394,1376,1158,1388,1382,1112,1048,1192,1116,1250,1274,876,831,1224,1516,1636,1188,1208,1446,1384,1184,1290,1458,1546,1432,717,461,420,485,405,327,324,576,627,449,677,931,1154,1368,1358,1362,1564,1218,876,1132,1184,1126,1498,1502,1036,1192,1522,1206,998,1098,1164,1021,613,353,359,373,364,975,1240,1008,773,606,602,780,772,681,386,320,427,378,398,450,387,402,456,489,449,543,689,644,432,493,1048,1092,807,629,718,913,982,934,1056,1096,1090,1138,1074,1044,720,814,806,542,405,499,631,805,1296,1638,1418,1222,1236,1182,1290,1548,1218,783,646,694,894,1030,899,1052,1112,954,1244,1390,1116,923,1007,1234,1372,1334,1482,1594,1494,1280,1256,975,974,1226,1404,1288,1406,1186,656,744,864,1038,1422,1454,1528,1478,1486,1820,1252,1008,1150,1674,1528,936,766,799,648,653,971,867,933,1052,1378,1674,1532,1360,1234,1382,1376,1262,1292,1220,1228,1352,1264,1200,1222,1338,1128,1060,1290,1134,886,888,764,584,564,597,605,767,1278,1146,993,959,1094,1120,973,844,682,1166,1736,1324,1418,1206,731,558,844,855,616,855,1168,1220,1362,1398,1484,1282,1160,1126,1362,1200,642,441,907,973,507,339,548,956,1040,1078,894,658,564,543,904,1080,1086,982,706,556,964,1286,866,638,612,764,929,932,970,922,846,1020,1036,763,630,628,435,561,671,496,513,571,427,533,669,511,608,516,347,386,352,291,317,344,324,313,354,583,593,442,800,764,516,506,497,508,330,738,948,610,293,255,465,562,506,775,982,1282,1344,684,667,484,615,935,1134,752,350,869,1146,552,385,665,1382,1394,1288,1172,995,808,885,740,759,976,1136,1110,705,572,517,726,1246,1088,1130,1176,1150,1234,1142,1210,1532,1642,1284,1274,1432,1548,1650,1694,1546,1236,1388,1638,1558,1512,1572,1536,1156,973,1046,946,698,1058,1230,1196,1196,1388,1310,1240,1128,792,1094,1454,1378,1176,753,463,906,1170,932,1122,1222,1216,1284,1212,941,755,916,789,628,591,628,740,735,1236,1708,1604,1328,1224,1438,1646,1418,1646,1762,1644,1670,1466,1434,1344,1394,1926,1842,1468,1504,1476,1516,1466,1392,1490,1602,1614,1346,1498,1452,1282,1378,1310,1013,1094,1362,898,598,441,611,777,1112,1404,1374,1336,1490,1472,1678,1770,1374,1366,1340,1720,1722,1614,1596,1376,1394,1288,802,735,557,448,506,947,1418,1252,1266,1506,1106,1094,1252,1406,1622,1548,1490,1440,1052,811,976,1266,1536,1638,1788,1510,1138,982,535,420,406,415,357,368,364,772,1408,1206,1242,1418,1288,1344,1528,1788,1654,1212,1286,1224,927,838,476,293,594,1118,1122,926,725,656,847,822,713,896,1244,1432,1598,1404,1124,1040,899,675,719,714,759,730,608,757,999,1028,1010,965,969,758,896,967,554,680,673,474,375,292,287,328],[1350,1178,1224,1152,1270,1232,1042,1276,1472,1394,1036,613,743,1004,695,554,568,673,728,614,557,483,429,634,641,330,277,321,331,345,346,323,303,303,290,328,415,564,561,462,384,360,423,395,444,437,441,423,379,362,328,312,469,688,837,882,813,576,359,439,416,430,556,581,623,566,518,455,350,409,439,530,808,650,345,569,727,758,580,504,730,886,842,365,371,275,265,240,235,243,253,251,273,290,293,292,267,273,337,344,343,406,529,685,846,672,554,724,728,566,716,645,305,426,514,507,994,1410,1318,1212,1418,1708,1784,1656,1408,1332,1636,1064,494,625,1018,1238,1100,819,935,1038,1036,1078,717,650,995,999,1190,1136,888,818,1042,1062,1178,1110,824,747,660,593,680,694,447,544,526,890,1060,896,937,1040,694,510,484,440,447,448,634,694,661,887,706,715,1150,1216,1050,1017,1118,1042,1023,1003,1260,957,909,1166,1532,1470,1204,1268,1476,1256,876,1009,1080,904,875,733,908,996,799,897,1064,1068,1002,1024,1346,1090,1007,1234,1246,1021,954,896,665,541,601,1142,1338,623,495,406,430,449,433,375,390,349,412,430,377,381,464,508,589,938,1052,1168,1190,1316,1128,849,957,1712,1692,1058,898,896,1278,1174,787,849,959,1192,1268,1158,1506,1432,1268,1246,1286,1690,1556,1382,1446,1342,1290,1264,1388,1598,1656,1396,980,858,866,628,560,518,908,1072,610,886,1132,1272,1098,926,1044,1198,1172,1250,1216,1250,915,939,1006,854,692,1294,1168,709,536,541,552,634,647,507,524,458,422,835,730,484,497,680,918,954,609,761,1054,916,1070,794,691,821,580,564,974,1310,1206,1184,1344,1146,1040,733,763,770,539,603,577,572,763,1162,1538,1808,1780,1280,1136,1094,978,1200,1152,1276,1290,1444,1228,843,1009,1472,1348,855,442,567,822,1048,1072,848,611,590,483,631,1096,1312,1550,1582,1282,903,1012,957,1996,1268,652,488,533,722,957,978,1064,1212,1354,1312,1108,1408,1408,1696,1120,755,851,838,947,968,806,780,1162,1192,464,383,377,395,368,428,772,714,984,1174,1338,1532,1464,1378,1692,1588,1142,879,979,1438,1344,1116,1160,1178,1376,1310,1062,983,1001,641,488,456,519,478,449,470,497,644,837,760,755,673,551,502,440,382,422,338,309,438,504,769,1152,1070,972,796,274,266,225,210,279,293,260,273,338,328,300,315,317,266,281,287,292,281,257,311,443,566,763,896,841,856,809,655,625,643,616,763,1206,1258,1082,628,417,442,403,398,430,518,565,523,530,550,771,989,952,1021,807,570,688,711,705,846,894,629,522,839,1192,1332,1286,1318,1380,1356,1428,1418,1332,1354,1382,1202,1256,1354,1356,1394,1500,1320,954,1188,1306,981,560,729,824,872,963,814,963,1244,1238,1242,825,802,1168,1418,985,890,869,818,590,645,987,806,704,599,458,780,1038,891,1132,1272,1134,882,934,944,693,589,715,838,1094,1360,1052,701,665,633,857,760,789,979,1248,1244,1180,1016,1152,1442,1256,871,756,1320,1482,1258,990,854,1004,1258,1360,1058,886,769,615,673,1096,1382,1286,1184,965,874,1262,1358,1374,1236,1310,1254,1250,1396,1440,1494,1082,610,451,380,297,523,811,813,824,976,1056,1216,1852,1956,1650,1440,1586,1708,1534,1336,1482,1622,1576,1468,1284,1218,1576,1510,1346,1226,1214,1432,1300,1400,1232,1028,919,970,1134,1302,1544,1344,988,1052,1252,1308,1438,1130,1028,1252,1388,1234,1380,1340,695,891,1528,1678,1704,1450,882,869,905,1009,818,899,792,729,1466,1686,1186,1348,1776,1802,1220,643,823,1322,1602,1522,1370,1262,1262,1488,1418,1312,1324,1378,1560,1666,1584,1552,1560,1134,744,884,675,490,905,1082,1038,856,394,508,947,1238,1310,902,845,1362,1240,854,727,462,419,351,374,389,861,1376,1294,828,591,792,626,368,744,1226,583,532,750,933,1290,1460,767,287,258,512,794,562,350,503,477,608,748,1094,1772,2128,1566,1262,1376,1122,523,460,407,396,369,271,350,384,317,552,1176,1350,867,670,973,769,504,604,1070,1088,537,292,292,344,453,562,674,708,760,1000,824,744,748,756,741,999,1296,1120,812,868,781,800,896,852,565,410,713,670,559,469,475,471,573,656,695,946,518,530,432,450,611,692,775,631,597,700,810,794,818,844,600,456,418,416,366,476,697,716,660,501,727,984,677,378,419,505,681,797,605,510,551,657,963,689,363,273,225,264,295,593,891,516,693,1938,2532,2372,1844,1614,1672,1722,1702,1678,1672,1562,1408,1320,1250,1218,1023,596,348,292,244,376,626,629,474,560,468,398,388,448,472,494,902,968,602,436,589,883,664,643,786,1696,1576,1708,1440,618,438,371,263,448,886,1082,620,432,535,535,382,401,604,960,785,395,317,325,318,275,383,566,334,153,271,1008,1616,1686,1704,1422,959,894,1128,991,967,1086,1156,1198,1428,1232,1322,1622,1548,1538,1516,1450,842,427,501,452,302,342,576,669,390,351,472,483,798,1028,960,1126,797,773,1260,1678,1498,1130,1374,1444,1410,1584,1498,1460,1630,1798,1786,1708,1658,1514,1422,1082,985,1264,1410,1250,809,651,547,583,618,813,1210,1500,1544,1620,1306,996,1438,1696,1598,1688,1896,2138,1798,1005,594,700,789,700,529,1056,1632,1426,1184,976,1064,1204,1278,1214,989,561,533,584,437,397,541,711,728,782,1046,1026,1356,1614,1434,1462,1372,1120,692,508,591,457,482,706,952,977,838,791,1114,1420,1498,1396,1404,1410,1154,1002,1306,1216,747,684,1014,934,1054,991,1062,1252,1428,1318,1362,1528,1344,1334,1360,1230,1172,1360,1282,1210,1234,1192,1368,1572,1766,1628,1418,1988,2216,1490,1052,1172,1568,1714,1490,1242,910,708,532,532,509,485,546,535,468,413,383,364,375,439,438,545,652,592,520,421,367,328,339,537,882,1168,1284,1114,979,1088,1220,1298,1206,1310,1418,1338,1360,1390,1416,1342,1134,1344,1378,1132,1154,1058,1024,1140,861,918,1116,1194,1248,1410,1410,1312,1472,1434,1072,1278,1472,1600,1970,987,469,485,664,503,343,405,436,422,456,774,1172,1116,1302,1468,2514,2724,1522,1088,1044,1296,1582,1536,1450,1366,1322,1312,1120,819,597,530,462,374,374,404,421,335,610,1070,1188,1021,985,755,818,705,479,336,330,378,411,415,342,322,356,420,515,686,952,1276,1196,764,601,811,1120,882,518,451,508,726,917,925,869,1008,1278,1124,1058,955,1266,1504,1078,593,703,808,823,1328,1478,1396,1144,1672,1682,1382,1246,1344,1220,730,806,1236,1290,791,712,857,1084,1138,1174,935,949,1094,1238,1238,1262,1390,1510,1426,1214,1028,1220,1142,1184,1332,1494,1512,989,645,786,888,1136,1324,1318,1340,1332,1412,1162,879,951,1102,1364,1492,1368,1322,997,1056,927,1011,1142,1148,1028,1184,1118,1064,1180,1456,1876,1654,1256,1218,1210,1186,1236,1338,1526,1372,1102,904,1001,1368,1334,1460,1216,738,631,666,689,516,849,1162,1196,1296,1204,1212,1052,741,518,436,583,783,1015,1018,947,899,643,647,780,655,653,659,780,902,911,1230,1256,1178,1074,1160,1188,937,904,1072,922,465,304,301,442,821,900,1044,1106,1214,1260,1204,1260,1468,1146,872,650,1188,1316,747,519,635,807,970,843,785,984,1080,875,983,1058,836,830,829,996,616,604,552,301,437,924,1282,1122,813,604,1166,1222,689,482,416,366,361,290,342,580,608,623,877,437,422,422,531,580,400,380,365,247,217,289,319,412,686,667,750,1158,1134,907,638,426,409,708,1056,725,448,974,1172,558,348,805,1400,1244,1332,1330,1082,935,788,789,959,947,797,784,523,639,792,926,1082,882,641,878,1168,1190,1354,1316,1510,1712,1460,1432,1600,1516,1286,1396,1368,1144,1272,1418,1400,1232,1114,1322,1176,1148,1158,1302,1096,1184,1298,1348,1410,1480,1458,1282,988,1004,1086,1394,1360,1084,832,543,644,844,916,1110,1234,1278,1266,1308,1200,1088,1284,1050,925,759,739,913,1106,1388,1570,1588,1434,1394,1978,2100,1472,1418,1476,1400,1384,1338,1242,1092,1452,2090,1808,1516,1412,1462,1368,1318,1476,1614,1598,1472,1346,1600,1678,1460,1440,1440,1052,1010,1098,589,452,636,886,1248,1452,1268,1166,1554,1670,1622,1466,1192,1268,1490,1442,1412,1488,1454,1386,1344,1604,1152,626,624,432,365,424,825,1292,1238,1456,1636,1440,1446,1362,1428,1786,1340,1194,1244,1134,1346,1302,1236,1234,1558,1530,1172,1530,1598,713,525,475,411,388,406,503,863,1122,1208,1302,1328,1312,1404,1394,1556,1272,1074,1102,772,788,637,365,386,581,973,1214,969,961,1274,1252,1140,778,862,1050,1064,1068,819,741,1044,1208,1272,1260,1302,1216,929,882,1094,1260,1272,1240,1364,1324,1007,1400,1220,742,809,769,497,479,426,364,388],[924,807,1042,1052,1160,1382,1366,1238,1266,1040,765,656,787,1102,866,868,923,946,933,929,708,483,433,516,536,367,312,291,347,331,323,327,328,324,287,268,296,398,545,567,377,312,375,420,437,415,477,462,372,332,334,403,505,664,707,620,491,383,309,272,276,274,304,422,535,529,579,523,357,376,430,597,929,865,447,289,323,515,867,1056,801,690,994,477,419,400,343,283,262,274,290,274,259,278,295,272,288,330,357,367,534,500,332,452,554,478,621,775,711,512,408,487,357,429,382,473,977,1382,1342,1284,1584,1770,1582,1388,1302,1470,1692,897,527,491,822,1272,1506,1558,1558,1388,807,583,444,422,771,1144,1138,723,854,1194,1230,1350,1338,1064,1092,797,509,538,528,593,543,572,608,757,934,945,1102,1136,766,509,484,533,462,437,456,779,809,750,715,791,1174,1082,1032,941,979,891,865,1092,1146,907,855,1122,1348,1236,1208,1208,1290,1230,843,761,1032,870,893,877,973,912,639,860,1304,1412,1050,1068,1794,1456,1288,1578,1496,1048,859,748,615,505,464,789,1152,838,476,440,568,596,588,529,441,460,496,705,954,722,766,1009,1184,1266,1124,1008,1078,1236,1170,1144,1296,1424,969,814,805,616,730,1144,1260,901,676,959,1050,1100,1300,1332,1500,1486,1350,1664,1642,1594,1072,901,1148,1482,1470,1484,1488,1368,1182,929,739,539,494,433,500,566,565,658,880,1136,1190,1056,778,914,1180,1642,1182,842,743,709,647,588,725,1026,1044,802,460,435,410,517,610,573,532,451,377,764,867,583,562,683,1004,1098,655,805,1204,923,1042,613,408,431,528,546,600,929,1246,1400,1416,1270,954,749,935,651,478,647,703,563,459,739,1350,1750,1558,1634,1430,1005,1208,1372,1394,1444,1244,865,896,821,869,1190,1030,557,463,910,1118,1066,1023,800,1015,1092,818,1240,1684,1538,1396,1194,888,882,1422,1802,2742,2294,1216,744,750,806,886,954,1080,1020,1434,1168,1022,1228,1196,1332,1228,1028,1102,1246,1162,1156,858,999,1164,722,335,296,425,726,560,414,799,986,815,1044,1218,1492,1412,1230,1308,1628,1170,864,969,1438,1248,1052,1166,1418,1306,757,490,351,454,567,477,347,440,445,397,413,453,495,548,1018,1926,1866,1074,700,440,400,462,417,345,314,324,503,823,1048,1050,649,290,266,232,237,289,278,276,301,285,276,262,291,287,312,355,308,338,326,276,302,754,1001,782,871,946,959,656,532,462,423,438,834,1344,1272,1005,643,404,420,490,493,590,551,609,534,539,581,1294,1614,902,714,782,830,1042,1052,861,823,1130,954,676,724,1092,1490,1596,1432,1224,1248,1300,1266,1346,1310,1370,1394,1294,1334,1428,1450,1584,1194,944,1324,1288,1074,1015,1060,895,1074,1310,1104,1224,1380,1620,1398,1021,965,1254,1328,1074,1110,1420,1236,1142,1046,1106,965,515,571,845,1168,1318,887,750,651,861,781,957,1013,694,709,1124,1002,1124,1628,1438,1058,896,948,1320,1340,1238,1004,1072,1180,1244,1154,1020,1140,1172,899,758,1360,1310,1178,969,946,1354,1784,1536,1124,1230,1096,1106,830,1028,1122,956,1166,1042,844,1254,1404,1470,1482,1392,1100,1124,1184,1246,1522,1174,908,556,413,502,407,592,1048,1206,763,521,791,2046,2208,2046,1576,1404,1340,1482,1610,1532,1458,1416,1434,1360,1244,1710,1684,1640,1296,1344,1610,1604,1584,1284,1194,1190,1444,1686,1558,1772,1160,1001,1260,1256,1550,1664,1310,1156,1324,1662,1758,1454,991,791,1002,1172,1528,1646,1400,758,735,1136,1264,914,753,783,558,1244,1584,1126,1422,1842,1904,1396,736,881,1400,1544,1406,1278,1384,1506,1384,1352,1166,923,1021,1340,1494,1534,1466,1568,1502,1302,1480,935,832,1514,1644,1344,1002,621,1096,1502,1370,1238,841,711,1274,1146,872,822,725,447,325,399,427,667,1136,1294,920,727,971,828,507,772,1290,784,549,546,466,550,596,431,260,297,346,611,568,402,1216,1238,985,721,718,1578,2372,1782,1486,1384,1344,617,364,393,505,581,631,985,896,338,467,594,672,1028,860,775,833,612,499,903,806,428,343,405,344,340,383,541,542,545,828,995,771,816,877,700,838,1334,930,672,802,659,695,1122,1210,744,429,638,888,913,641,446,462,487,536,506,698,433,419,433,546,854,958,830,547,554,673,664,528,680,952,745,479,373,395,424,371,442,476,397,428,727,1198,726,318,323,292,500,996,1086,932,611,593,678,495,297,268,300,349,287,479,893,630,591,1194,1412,1448,1636,1548,1622,1662,1716,1714,1682,1612,1480,1320,1232,1232,1100,694,401,384,283,312,521,738,664,631,993,714,386,490,519,544,889,963,613,588,611,833,683,737,644,1430,1272,760,477,375,338,304,312,385,652,995,689,479,531,525,639,959,1010,1230,1406,891,351,298,246,274,306,258,162,234,799,1392,1624,1712,1510,763,323,739,1362,1444,1322,1264,1102,1550,1448,1332,1486,1166,1628,1954,1370,1276,965,389,359,370,283,240,447,487,414,605,656,559,673,637,750,1208,1112,1344,1416,1390,959,1126,1494,1334,1506,1702,1738,1598,1578,1494,1792,1572,1504,1570,1658,1540,1462,1422,1470,1186,664,591,472,545,594,936,1352,1430,1214,1290,1424,1456,1556,1192,1130,1252,1784,1670,1126,623,678,752,601,557,863,1390,1294,1078,1332,926,828,1210,1274,1170,879,629,678,542,400,368,381,406,561,811,714,916,1330,1722,2132,2094,1958,1466,810,648,555,657,831,931,1214,1148,1242,1264,1212,1372,1620,1810,1544,1360,1336,963,767,761,847,892,1412,1318,1066,1162,1238,1346,1424,1256,1256,1318,1122,1178,1168,1222,1274,1350,1226,1238,1222,1194,1292,1432,1494,1456,1726,2030,1484,1062,1348,1392,1370,1284,1338,1258,1144,953,579,497,458,521,562,468,425,415,466,404,372,409,406,518,579,514,481,401,439,368,342,383,641,1210,1542,1184,950,1116,1284,1340,1366,1598,1588,1442,1434,1366,1330,1224,1076,1288,1388,1256,1228,1276,1262,1172,1186,1306,1240,1096,1324,1552,1550,1420,1400,1372,1086,1204,1558,1860,2024,1058,498,405,586,556,452,541,644,578,745,1374,1482,1226,2308,2712,4028,3322,1440,1286,1232,1240,1376,1344,1478,1628,1482,1108,665,418,350,390,531,730,821,865,792,450,455,954,1396,1236,1216,713,596,590,386,295,348,391,386,344,390,419,412,406,496,977,1560,1748,1214,1378,1142,620,767,645,454,416,482,648,667,695,700,869,843,795,904,1048,1238,1532,1448,941,910,889,1110,1250,1190,1208,1096,1622,1632,1712,2016,1722,1494,833,675,948,1026,652,610,827,1060,1086,1150,1200,1238,1170,1070,1106,1216,1360,1588,1500,1368,1202,1470,1296,1116,1404,1748,1332,841,771,784,693,889,1068,1138,1046,1264,1162,925,1100,1036,769,884,1388,1468,1472,1288,1442,1258,1044,1360,1352,1122,1064,1064,1194,1260,1516,1788,1500,1396,1158,1238,1070,832,1090,1334,1086,1144,1140,918,1360,1294,904,443,372,579,629,659,617,664,841,1072,1056,804,955,990,1178,830,517,601,752,667,623,918,1070,785,409,361,436,546,639,720,892,802,1136,1010,1068,1192,924,1001,1230,1106,1024,885,453,280,254,261,460,431,683,930,1058,1188,1144,1136,1456,1236,1242,999,1194,1072,1004,755,478,613,957,971,800,1226,1354,804,948,1368,1222,1218,1446,1318,1172,1660,1208,422,720,1786,1756,993,841,540,1350,1416,1128,1020,546,486,571,534,741,628,619,656,450,360,355,475,643,727,735,624,423,321,314,295,277,691,1154,922,735,790,940,1120,949,551,465,647,1023,772,561,1112,1152,535,355,1018,1092,1134,1382,1314,1008,839,714,1062,1164,911,517,474,591,900,1166,1268,1350,906,490,800,1128,1268,1224,1086,1348,1666,1412,1432,1572,1330,1084,1078,1296,1416,1354,1306,1274,975,671,1190,1252,1118,1272,1208,819,1007,1102,969,1160,1338,1188,1026,1008,1188,960,1308,1390,1122,824,755,755,818,1120,1228,1234,1160,801,1122,1178,1356,1400,1394,1338,930,802,1050,1200,1316,1554,1742,1736,1472,1968,1906,1518,1346,1334,1320,1576,1654,1332,1394,1668,1894,1432,1400,1410,1572,1360,1350,1498,1522,1548,1414,1388,1544,1528,1582,1628,1498,1278,1100,1116,785,630,755,943,1352,1360,961,1116,1440,1444,1400,1390,1356,1224,1174,1040,1048,1384,1546,1260,957,1284,1446,1282,779,495,429,417,606,1212,1428,1222,1132,1028,1322,1482,1088,1406,948,1036,1122,1148,1180,985,726,861,1410,1440,1346,1828,1742,969,586,556,780,1048,844,788,1022,1208,1512,1196,1258,1282,920,728,1204,1204,1106,1030,587,381,326,588,935,998,1076,1092,951,955,1230,1330,1212,888,784,1084,1336,1086,700,617,573,891,828,913,1422,1298,1058,827,1188,1454,1448,1448,1328,1364,1316,1678,1258,894,714,814,863,1006,816,538,447],[768,622,583,952,1150,1152,1216,1334,1586,990,744,582,744,1168,1001,919,1036,1086,1078,968,744,598,483,539,486,411,312,358,393,339,321,319,337,352,303,263,259,334,564,563,455,365,348,502,462,401,449,425,367,343,379,413,417,435,435,372,336,314,262,266,261,268,293,359,464,640,865,591,364,417,484,666,819,697,447,277,293,532,1009,910,737,1082,1042,505,430,479,339,258,249,282,287,236,240,253,270,240,290,312,317,509,740,483,351,480,377,515,910,799,582,453,358,560,474,401,565,778,890,1042,1324,1588,1614,1546,1506,1472,1434,1522,1432,908,805,703,673,1262,1672,1554,1320,1058,778,550,473,463,755,1016,770,776,1278,1400,1318,1436,1308,1120,1244,829,525,515,689,749,580,498,554,663,708,910,1204,1088,675,507,471,607,629,622,599,844,1012,800,672,728,1180,1108,1052,1022,965,915,885,1122,1136,915,844,1104,1338,1146,1210,1106,827,999,1082,714,794,1001,948,877,960,854,712,1058,1388,1210,897,946,1504,1230,1290,1562,1440,1294,908,674,662,513,422,514,891,790,741,863,896,1023,1140,977,841,835,519,610,1150,1118,771,984,1062,1572,1536,897,910,1122,1382,1644,1660,1268,1042,801,858,676,677,722,1056,1276,1078,1050,1366,1560,1616,1406,1504,1290,1136,1278,1202,870,792,1060,1460,1524,1388,1602,1570,1490,1084,862,760,656,439,426,607,750,622,686,956,1148,1080,1114,978,1002,1009,1372,961,608,749,734,564,456,527,753,688,602,720,647,486,758,1002,823,650,513,387,753,1005,767,623,508,604,588,646,795,816,835,872,560,557,696,773,844,732,937,1820,1952,1762,1350,760,553,776,772,771,960,960,669,500,515,1062,1378,1112,1522,2076,1736,1402,1532,1460,1494,1292,763,661,554,885,1090,566,442,553,777,1092,955,904,1080,1434,1456,1172,1666,1900,1652,1358,1005,530,824,1208,1808,1996,1548,1188,1108,990,831,788,1108,1252,1180,1534,1360,1388,1348,1202,1015,857,976,1184,1288,1272,1046,697,943,626,335,290,280,447,824,692,451,949,1376,1398,1652,1672,1606,1230,1178,1412,1208,1158,1062,1096,1184,899,898,780,1332,980,460,343,332,340,704,667,413,392,450,452,434,457,480,669,1504,1856,1784,1158,701,552,451,343,405,360,272,300,383,413,524,432,294,241,232,252,268,291,277,261,282,276,259,253,306,263,325,559,530,408,408,334,326,719,1214,1128,1112,1698,1820,1058,791,467,352,423,864,1196,1164,1160,619,395,396,565,560,523,670,642,565,634,645,1356,1382,694,747,671,1132,1110,1122,1044,742,1112,1204,864,783,1088,1508,1628,1562,1360,1238,1268,1454,1808,1400,1354,1350,1300,1504,1480,1520,1602,1180,1098,1294,1200,1018,1166,871,813,1184,1282,1260,1330,1408,1352,1106,1442,1448,1318,1046,1010,1130,1842,1620,1262,1122,1180,949,479,677,1176,1412,1058,850,879,663,774,893,999,1044,979,1200,1412,1288,1730,2172,1760,1570,1164,984,1048,1112,1044,919,811,1044,1394,1230,919,810,936,952,834,1260,1076,1130,1410,1454,1494,1360,1130,1046,1040,968,1009,985,960,836,724,936,772,820,1170,1232,1060,924,1170,1210,1076,1810,1166,803,1266,1610,1052,809,781,635,835,996,1030,619,795,821,1680,2126,2088,1724,1172,1334,1494,1224,1440,1440,1438,1676,1378,1418,1438,1520,1504,1208,1324,1472,1536,1308,1074,1248,1246,1378,1584,1134,1019,933,1072,1272,1310,1440,1360,1270,1310,1302,1482,1598,1240,868,1248,1590,1152,1274,1582,1406,1156,1362,1532,1116,640,612,708,415,897,1268,1160,1504,1886,1926,1550,901,827,1394,1472,1498,1232,1162,1102,1396,1296,993,691,948,1306,1376,1508,1626,1612,1604,1284,1534,1522,901,1152,1324,1106,751,581,853,985,1052,1130,753,435,692,850,951,1028,1060,854,555,453,526,624,706,907,760,594,1007,799,580,527,546,666,708,515,471,431,658,525,278,313,346,579,617,389,864,1448,1110,709,625,1180,1750,1442,1142,1188,1330,971,506,568,824,791,935,1578,1558,461,443,704,1608,1854,1332,739,899,793,495,539,401,445,615,565,417,380,307,295,399,820,1594,1570,911,755,683,495,658,954,645,692,741,731,858,1340,1254,720,476,587,807,861,537,381,361,274,373,509,705,579,590,695,681,754,919,980,569,470,617,695,637,489,697,805,711,673,561,416,293,264,320,337,350,538,1210,852,406,306,444,906,985,1052,1236,899,639,650,379,271,402,456,417,321,340,772,722,458,675,836,1124,1400,1176,1540,1626,1670,1670,1648,1602,1490,1332,1250,1316,1236,796,437,422,281,242,406,804,874,1084,1452,846,356,634,883,838,675,570,660,982,1294,1544,977,662,547,651,656,416,393,390,338,476,474,357,475,869,763,846,1046,930,901,785,531,720,1432,1586,629,301,304,323,275,179,174,648,1284,1500,1710,1826,1582,766,518,818,1016,1246,1274,1332,994,1504,2216,2282,1566,988,1886,2662,2024,1334,1096,752,850,690,363,354,405,381,619,766,727,935,1023,1174,857,1234,1630,1744,1804,1240,843,1222,1232,1350,1520,1588,1488,1392,1394,1570,1650,1544,1290,1176,1476,1680,1642,1438,1110,846,720,678,563,673,769,1150,1514,1186,614,863,1380,1362,1698,1488,1044,1122,1612,1246,637,573,741,599,490,792,1216,1372,987,1088,1430,1248,1108,1216,1262,1454,1094,576,470,376,379,352,388,573,730,1144,1166,1448,1398,1550,1948,2084,2026,1736,1170,1194,1288,1578,1272,1250,1310,1178,1214,1376,1400,1472,1846,2214,2104,1626,1184,1166,781,854,857,616,848,954,979,1016,1300,1490,1544,1428,1244,996,963,1126,1086,1200,1048,1062,1332,1356,1060,868,1048,1312,1230,1246,1546,1738,1362,1082,1324,1492,1412,1254,1264,1294,1356,1256,722,582,526,606,664,503,414,402,413,404,430,429,400,488,494,436,443,417,428,380,379,424,564,970,1222,1126,996,922,990,1034,1248,1394,1484,1434,1326,1044,976,1098,1108,1154,1112,1076,1016,1090,1312,1350,1408,1466,1248,1172,1350,1318,1284,1012,908,1344,1208,1126,1544,1788,1488,985,623,471,503,485,444,420,440,438,743,1300,1096,2092,3328,4252,4324,2166,1218,1644,1274,978,966,1232,1192,1034,710,612,430,314,332,484,821,1056,808,829,972,578,417,733,1324,1064,798,703,597,472,391,375,378,420,341,288,358,378,464,447,539,808,1216,1398,1564,1844,1484,837,755,437,320,378,511,583,607,471,730,915,949,902,1064,1332,1322,1052,973,882,1162,1328,1404,1502,1302,1376,1450,1550,1560,1440,1852,1550,1370,1106,594,551,907,826,830,1166,1334,1316,1248,1204,1346,1094,805,948,1328,1442,1362,1350,1384,1592,1600,1310,1150,1214,1464,1242,1094,1042,843,586,603,720,965,957,949,789,824,1150,1042,930,1096,1370,1362,1450,1372,1438,1238,1056,1200,1444,1528,1314,1338,1372,1332,1382,1424,1402,1274,1013,1136,996,542,456,557,745,1010,1120,796,1064,1204,814,511,487,711,802,866,714,429,431,484,451,554,854,918,1322,1282,914,761,760,524,483,659,759,941,805,638,729,811,796,840,1050,893,1026,865,803,1140,816,1088,1062,756,783,715,463,368,316,494,667,677,887,956,944,733,672,879,1126,1228,1154,1236,1150,910,710,532,378,521,954,1066,632,913,1014,938,932,1092,1340,1208,1238,1120,1164,1786,1216,489,846,2376,1786,1022,863,730,1470,1510,1450,1412,599,500,584,991,1390,727,435,360,271,368,314,507,927,857,640,868,838,585,343,269,250,777,1536,1284,717,430,544,1124,1354,540,688,678,727,578,600,973,772,457,435,925,1324,1324,1146,1009,791,1176,1118,1152,1350,908,480,484,998,1246,940,1204,1742,1266,546,520,834,1316,1202,1254,1364,1422,1438,1674,1504,1310,1138,1082,1232,1322,1154,1210,1220,1246,1116,1396,1372,1150,1116,837,783,1054,1005,970,1364,1314,1224,1100,1282,1180,886,1404,1556,1416,1300,1172,990,1068,1390,1434,1306,1136,1218,1228,1176,1356,1234,1256,1224,1040,826,1112,1098,1042,1224,1398,1646,1392,1366,1522,1506,1566,1466,1330,1798,1808,1522,1626,1606,1484,1484,1492,1406,1334,1308,1362,1344,1484,1552,1346,1230,1386,1420,1328,1360,1416,1182,940,872,705,823,1092,1086,1314,1220,1106,1038,1082,980,794,1140,1654,1298,889,994,1226,1568,1656,1144,1172,1876,2198,1768,912,491,438,493,519,847,1270,1244,1088,783,807,1078,877,1170,1022,688,493,561,513,477,612,1042,1352,1438,1396,1422,1452,1260,1356,1322,1284,1328,1084,1122,1256,1138,1310,1318,1318,1282,719,589,1064,1256,1274,931,444,387,308,483,800,998,1196,1116,971,860,787,972,1372,1356,1246,1432,1500,956,807,622,556,1050,1066,1140,1406,1460,1262,1090,1280,1188,1232,1366,1332,1510,1512,1216,1038,923,662,673,1064,1094,715,550,447],[1064,766,756,1230,999,868,940,1216,1454,893,612,649,869,1168,1028,832,1016,940,893,829,633,615,767,927,749,438,270,347,393,347,327,339,380,368,310,261,260,309,399,460,528,463,384,459,454,414,418,395,365,356,374,366,327,303,300,292,286,277,276,269,274,268,292,427,730,890,1032,651,435,415,526,740,590,388,336,274,288,375,730,1106,1080,1306,1246,767,635,529,291,259,282,278,263,228,282,272,263,243,287,280,292,810,1060,445,503,807,475,373,583,477,375,287,337,496,474,401,518,766,863,806,1140,1724,1692,1526,1490,1266,1212,1368,1262,955,937,896,695,838,1021,880,998,1128,1518,1198,1002,874,664,777,875,1058,1422,1644,1534,1256,1212,1308,1624,1062,727,779,812,727,657,521,423,417,511,679,978,1112,742,562,673,629,440,736,749,752,1160,951,613,639,1130,1098,937,905,916,949,949,1090,1310,1302,1046,1136,1376,1152,1154,1174,921,916,1078,899,886,1088,1009,976,924,549,596,1128,1164,987,825,892,1176,918,662,679,966,1256,844,596,672,530,407,499,642,835,1446,1754,1610,1606,1412,1226,1434,1272,597,361,761,1098,786,890,1122,1198,1019,1056,1070,870,783,1146,1556,1528,1594,1166,714,550,810,821,719,1010,1388,1480,1518,1758,1552,1224,1698,1664,1648,1246,1062,994,675,1082,1460,1198,1110,1426,1498,1042,705,706,1086,1248,946,637,614,611,474,647,837,1002,993,906,975,1030,1126,1286,1140,891,844,619,489,445,435,495,471,515,590,615,590,689,843,886,845,695,628,911,785,610,716,627,670,712,854,1012,955,909,733,651,709,750,800,896,817,1206,1848,2042,1744,1146,917,836,956,1264,1184,1096,1236,789,800,543,673,1010,1042,1730,2334,1820,1220,1250,1338,1502,985,830,595,620,1284,1082,574,853,901,681,816,833,548,637,874,909,744,936,1672,1712,1460,1036,725,513,744,1074,832,744,903,1036,758,533,843,1142,1048,1172,1366,1300,1268,1306,1178,904,665,891,899,890,799,868,1356,1280,666,367,327,304,363,455,430,484,1086,1444,1364,1272,1598,1156,913,1228,1648,2206,2258,1876,1294,832,582,792,963,1272,654,338,343,302,336,555,553,472,417,429,454,602,525,480,655,1276,1782,1526,753,431,560,641,443,367,313,299,294,341,335,296,242,250,228,213,253,293,328,301,247,256,273,310,499,518,327,369,695,838,979,869,548,461,755,1372,1184,1228,1722,1522,919,799,702,472,471,789,1042,1296,1296,685,515,481,421,510,500,677,717,836,954,949,1106,866,990,1190,601,858,1144,1150,959,597,786,1080,1012,946,1052,1422,1470,1586,1452,1334,1346,1400,1368,1232,1438,1648,1448,1394,1396,1470,1454,914,1108,1228,1074,831,1042,991,853,971,1100,1078,1066,1278,1340,1530,1632,1794,1982,1640,1230,1272,1336,976,684,690,907,973,826,670,1096,1126,693,720,603,645,767,849,984,1112,1382,1528,1514,1712,1628,2006,1670,1370,1068,930,992,912,1048,993,639,714,833,894,1056,916,1116,1136,1184,1378,1018,722,877,974,1036,1007,1078,1218,1010,891,822,927,1070,898,996,1222,866,702,699,730,747,480,644,926,1112,1252,926,836,1015,863,888,998,778,896,938,678,880,1068,1322,957,1346,1644,1700,1376,1148,1596,1528,1306,1202,1432,1470,1582,1588,1520,1436,1588,1606,1460,1422,1470,1400,1410,1266,1400,1576,1304,1162,747,604,969,1148,1264,1340,1242,1146,1334,1418,1064,1296,1548,1356,929,1202,1526,976,1002,1532,1628,1606,1348,888,776,724,656,667,461,792,1128,1228,1570,1806,1848,1714,1050,705,1340,1450,1660,1200,1434,1764,1576,1128,962,1068,1250,1542,1162,913,1044,1320,1368,962,809,844,897,1172,1322,1332,1116,768,810,1236,1576,1792,1198,576,1090,1560,1406,948,979,1242,1054,816,715,1086,1262,1210,636,453,941,860,948,1100,695,829,1268,1070,494,546,1134,675,307,313,361,512,654,473,608,924,792,758,904,1462,887,949,633,856,1190,1152,810,894,1138,739,797,1360,1920,809,548,723,1548,1884,1466,758,902,926,504,456,396,729,1244,820,595,450,371,836,1246,1786,2906,2370,741,634,579,412,477,548,595,816,845,841,952,1126,897,572,486,453,512,416,371,445,454,386,537,753,681,559,858,1028,891,924,700,800,651,634,547,420,509,523,484,415,661,892,824,449,301,375,434,491,480,417,587,520,450,387,1150,2402,2304,1368,1204,1226,708,579,396,490,611,644,529,306,335,686,886,554,775,939,845,882,1028,1474,1618,1654,1650,1604,1546,1448,1346,1296,1388,1274,885,480,411,298,251,308,633,767,908,1162,744,349,631,1250,1074,454,457,765,1330,1720,1902,1432,688,646,912,647,399,414,426,423,381,441,368,550,988,1030,1226,1520,1314,910,547,499,632,813,1576,1014,551,629,555,335,231,672,1636,1682,1518,1472,1688,1388,924,810,976,988,1044,1106,1152,951,831,1124,1968,2358,2022,2836,3002,1694,1436,1368,1220,1354,1009,525,682,590,472,839,737,713,1054,1116,1564,1300,1498,1604,1730,1716,1344,1466,1484,1424,2168,2068,1568,1648,1560,1708,1894,1708,1498,949,601,1064,1566,1616,1554,1058,739,682,636,646,849,1094,1472,1434,849,592,944,1394,1282,1582,1600,1432,1126,816,556,543,696,714,524,745,1013,1284,1238,894,920,1224,1250,1056,1122,1384,1418,883,518,412,390,349,346,423,918,834,1013,1422,1594,1326,1224,1592,1864,1272,1144,1030,1412,1650,1820,1778,1826,1354,863,730,926,1242,1498,1842,2128,2220,2008,972,937,996,980,592,367,549,1108,1142,694,1112,1320,1370,1174,953,864,1168,1432,1144,950,1034,1080,1004,1286,1146,949,868,1146,1238,1252,1402,1662,1544,1422,1268,1194,1338,1314,1294,1362,1410,1302,870,644,579,630,672,556,495,444,370,379,442,466,503,561,492,405,469,435,430,432,415,500,694,891,1184,1476,1158,786,874,1226,1320,1266,1356,1382,1332,1122,1182,1162,1072,996,803,883,1022,886,982,1132,1204,1366,1296,1328,1332,1120,1098,1104,774,1238,1414,1074,1228,1318,1188,1044,664,473,477,460,433,419,464,450,624,901,1230,2442,3718,4584,3056,975,1202,1780,884,825,1176,1158,1072,724,548,613,577,492,520,697,861,945,615,686,841,760,630,561,1128,983,744,868,740,661,645,551,503,585,368,346,357,371,349,414,857,986,800,1180,1584,1378,1252,950,745,484,692,757,553,381,437,706,799,817,1090,1021,1562,1718,1536,1172,801,767,1021,1192,1416,1560,1504,1508,1428,1588,1954,1268,774,656,952,1066,733,641,991,1100,1064,1300,1396,1282,949,717,1132,1214,838,851,1242,1482,1428,1452,1584,1436,1168,1098,1032,924,933,952,1036,1234,1352,1274,948,865,1194,1184,944,712,769,957,789,897,1214,1132,1422,1556,1438,1404,1332,1076,1001,1412,1562,1196,1160,1166,1390,1672,1690,1482,1202,869,777,745,647,648,691,749,1046,1044,856,930,914,954,869,815,1070,1100,895,517,401,387,515,529,919,1274,1394,1498,1622,1492,1168,897,578,721,920,1011,1058,1148,749,915,1188,1194,919,726,647,683,711,888,1036,1034,1012,619,558,562,697,702,476,449,887,1176,1066,1044,987,691,626,596,606,954,1220,1188,1108,1086,864,491,469,487,753,1194,1274,634,425,462,429,768,1252,1094,724,667,1002,1336,1532,720,375,620,1280,857,803,919,1184,1740,1596,1244,821,469,543,1572,1790,1200,511,272,269,280,285,256,397,908,1214,907,949,1004,686,296,244,324,877,1346,1094,502,495,824,1030,1028,521,577,1034,861,684,863,949,877,744,772,1300,1760,1532,1092,1362,1268,1434,1206,1238,1394,736,414,650,1218,1356,926,792,1146,1118,623,626,1158,1340,1260,1422,1492,1342,1462,1510,1256,1144,1162,1440,1328,1444,1162,1188,1214,1222,1300,1326,1278,1338,1108,943,999,1082,1092,1192,1378,1210,1206,1274,1470,1082,683,1036,1200,990,1009,928,1174,1440,1436,1128,979,1226,1498,1250,1118,983,1076,1478,1676,1440,1054,1246,1328,1126,901,1138,1552,1474,1552,1614,1320,1368,1316,1442,1606,1390,1556,1604,1468,1412,1418,1392,1476,1540,1474,1498,1484,1448,1450,1252,1360,1544,1606,1282,1240,1288,1144,1188,1032,803,720,1066,1376,1080,1048,1214,1334,1328,1104,846,740,794,550,609,1270,2182,1824,1208,1136,1456,1762,1688,1680,1440,773,378,550,803,1248,1302,1084,1036,916,802,810,880,1088,1064,800,453,425,377,412,527,984,974,811,1270,1400,1224,1482,1792,1434,1086,1178,1242,1138,1100,1168,1184,1278,1420,1382,1054,1100,1224,940,678,532,470,423,302,361,678,1086,1244,1358,1328,1112,890,1130,1424,1350,1132,992,832,660,744,600,556,1050,1400,1520,1610,1614,1474,1454,1472,1360,1404,1328,1332,1462,1440,973,953,1258,1011,636,729,786,624,499,427],[968,1050,722,1076,1138,1116,1168,1254,1216,742,646,1076,1144,994,785,968,1182,770,701,905,865,598,946,1250,987,479,299,384,357,304,313,321,380,339,316,301,285,322,336,350,529,586,418,446,423,401,382,359,345,338,321,298,281,271,264,288,311,313,302,277,313,284,314,544,893,1186,1172,722,420,368,494,459,354,320,374,452,382,316,598,1106,1198,1618,1726,1010,697,405,285,284,305,278,265,249,273,272,280,261,269,273,371,796,791,495,607,749,405,379,480,493,438,334,313,393,457,408,370,421,637,545,1180,1650,1512,1656,1554,1252,988,1138,1350,1692,1352,1330,1062,927,987,1032,1312,1250,1330,1352,1382,1204,847,753,1208,1338,1514,1632,1224,1124,1290,1310,1208,944,1136,1234,1076,518,581,625,475,415,487,642,915,872,667,662,814,905,1780,2598,1644,935,1200,879,662,601,1032,1262,1234,1258,1242,1312,1366,1358,1228,1420,1302,1023,1300,1332,1222,1370,1190,661,789,1078,1034,1090,1001,927,752,514,473,818,784,678,719,935,1086,957,685,697,695,796,1044,830,552,417,373,505,668,807,1020,1030,1188,1344,1388,1378,1180,948,700,518,590,1090,1114,1058,1224,930,1026,949,651,540,492,672,1142,1564,1520,1516,1518,994,688,847,619,684,1112,1484,1584,1546,1354,1092,1460,1636,1208,782,703,667,661,969,1540,1714,1074,822,873,614,532,754,1332,1746,1350,836,561,559,800,874,765,858,889,824,857,1028,1140,1128,1001,968,869,539,396,422,532,535,866,1124,785,521,545,846,1328,1142,741,752,808,688,527,509,611,512,579,902,1136,1120,1062,1294,763,810,791,788,889,698,580,738,942,1328,1366,1002,831,1007,1316,1410,1118,765,864,776,802,569,838,879,849,1526,2254,1720,1038,1104,1078,1126,1282,1220,686,802,1023,637,465,753,754,592,860,1188,974,522,497,533,485,464,791,1442,1102,591,531,431,719,739,608,766,786,840,477,388,489,606,912,896,810,801,722,918,971,1066,1082,1060,916,1306,1204,1648,2076,1598,937,332,309,347,419,621,673,556,1064,1288,1406,1136,1338,1326,960,912,1562,2182,2474,2612,1422,496,596,580,1023,1108,619,726,1086,816,331,374,411,383,389,420,644,630,504,435,753,914,875,822,695,650,632,752,711,653,433,357,329,345,325,298,269,271,258,248,276,297,361,346,281,267,277,321,668,714,420,332,415,705,1016,753,681,503,611,1192,1160,1028,1040,954,777,1084,1290,912,976,1138,904,1044,913,616,554,434,343,372,489,678,725,862,927,738,868,1218,1392,1015,675,830,1084,972,946,690,453,552,659,962,1110,1396,1426,1468,1396,1500,1480,1400,1476,1406,1456,1714,1450,1486,1512,1422,1434,954,1188,1284,965,679,714,800,846,891,1218,1006,727,993,1092,1296,1170,1280,1548,1400,1130,869,567,489,565,618,700,1092,1198,1152,1316,1130,1202,1090,726,1124,1236,882,802,780,1296,1378,1462,1820,1490,1350,1042,1018,1050,1050,1166,1078,929,866,910,863,858,970,895,877,1206,1546,1532,1354,1104,600,659,677,775,860,857,1172,1128,960,830,886,1088,1136,1016,1228,1028,1013,872,741,781,661,619,633,1018,1066,822,792,819,910,1030,1204,819,971,1224,1126,983,736,624,868,1576,1996,1700,1360,1102,1852,1610,1268,1112,1218,962,852,1017,1166,1310,1470,1570,1694,1660,1556,1580,1678,1596,1680,1730,1354,1168,1019,988,894,901,1064,1252,1218,922,850,1030,1028,1260,1076,1194,1298,1226,880,741,902,1254,1572,1778,1076,769,865,792,649,595,426,810,1390,1432,1572,1762,1798,1606,957,703,1306,1452,1518,1390,1522,1568,1400,1372,1146,1126,935,1312,954,926,1284,1712,1360,781,579,806,1094,1334,1376,1166,883,866,1224,1646,1786,1952,1426,764,1174,2344,2386,885,794,1594,1958,1284,683,860,874,1214,1000,555,829,812,1021,1498,1058,720,1086,1290,620,380,671,437,322,344,420,542,622,640,442,654,822,705,1072,1890,1228,942,647,615,903,1017,1015,819,912,509,581,872,1918,1270,629,490,761,1326,1248,799,890,854,508,370,621,1298,1736,1028,657,597,780,2086,2930,2432,2430,2976,1005,567,475,390,401,615,810,913,933,835,847,904,763,600,455,486,553,447,546,591,571,609,850,1078,935,708,807,1038,896,1086,824,506,550,929,758,381,371,672,642,317,482,712,894,623,398,570,558,505,432,382,305,365,404,741,2202,3046,1874,1234,1078,1062,754,502,409,613,1028,1598,1234,331,345,619,945,588,713,840,762,895,1128,1390,1562,1612,1618,1598,1602,1494,1390,1350,1440,1310,987,585,476,364,263,258,537,794,855,1256,943,411,405,631,803,508,456,612,796,698,943,908,624,959,1246,777,613,656,742,680,418,468,648,758,769,755,930,1104,806,473,325,341,415,693,1608,1438,993,1056,1036,591,372,1114,2540,2278,1746,1464,1534,1282,1190,1060,927,980,1226,1196,1010,797,731,897,877,1792,2246,2496,1736,1272,1340,1300,1324,1190,708,485,661,602,429,655,611,1026,1272,1190,1228,1472,1636,1656,1692,1412,1448,1612,1578,1964,2662,2264,1828,1952,1828,1854,2026,1908,1328,934,752,970,1400,1642,1638,1484,1212,721,579,802,969,1322,1570,1166,689,883,1290,1274,1224,1196,1610,1694,1512,1200,747,655,904,922,765,913,1086,1366,1338,1206,1166,1314,1168,1024,1266,1582,1410,729,453,404,406,404,375,460,936,1080,1022,1220,1414,1370,1116,929,1282,689,1046,893,727,808,880,949,958,963,1062,913,940,1232,1526,1732,1688,2136,2354,1484,797,954,981,500,477,726,1086,1234,889,1318,1444,1302,1096,1094,991,944,963,734,605,937,1136,999,1128,1112,864,824,1040,1226,1410,1572,1620,1554,1362,1294,1246,1304,1422,1332,1246,1404,1400,1256,969,664,582,567,643,653,487,382,400,427,501,477,579,503,405,455,462,457,449,474,572,861,1086,999,893,1018,999,822,1200,1350,1226,1212,1272,1252,1376,1756,1296,1096,811,761,720,976,1110,1196,1252,1278,1324,1498,1676,1498,1274,1452,1364,828,1104,1300,855,801,1042,1064,969,679,527,427,452,535,461,564,659,831,893,893,1324,2708,3248,1512,874,1316,1522,616,627,818,703,1074,1012,677,626,686,617,643,924,1094,909,641,462,488,750,753,601,969,1128,745,747,819,962,908,745,709,786,647,447,401,454,404,394,866,1476,1328,1180,1536,1488,1192,834,571,595,937,970,766,617,749,1166,1034,991,1196,1184,1674,1504,1062,949,1076,1162,1138,1218,1246,1304,1488,1216,1260,1176,1588,902,458,537,738,836,982,1112,1236,1262,1116,1166,1238,1094,695,457,702,1028,1038,1104,1344,1506,1436,1442,1506,1216,1066,1013,1010,965,902,969,1106,1220,1174,1380,1398,1204,1250,1226,1368,1013,1024,1164,862,1024,1052,1078,1302,1206,1046,1136,1262,1042,1010,1162,1180,982,1064,1128,1476,1760,1660,1272,752,433,497,636,805,780,937,863,1180,1212,1076,1048,781,722,907,791,726,633,486,412,440,458,563,730,839,1028,1192,1208,1480,1444,1268,1104,1148,1144,1290,1138,1228,896,719,1074,979,727,705,812,823,889,1126,789,594,634,499,425,456,461,544,549,407,500,1038,1376,1226,870,1005,702,639,758,712,969,1346,1258,1028,1009,763,759,665,810,798,998,1130,794,726,875,654,511,634,613,701,1274,2264,2194,1640,736,401,362,303,317,588,929,985,1052,852,982,1007,565,484,680,760,673,442,253,243,276,261,247,313,760,1394,1096,650,485,426,316,304,441,898,1378,1214,636,837,1144,896,868,1096,1268,1570,1314,960,982,1204,1312,1226,1290,1356,1426,1358,1228,1368,1410,1604,1062,863,745,404,399,663,976,752,730,745,832,932,928,881,1340,1390,1370,1492,1492,1386,1296,1246,1090,822,1001,1130,1266,1426,1158,1364,1340,1018,1084,1426,1884,1710,883,683,677,927,773,901,1266,1438,1378,1260,1306,1126,1018,1224,1172,1462,2170,1174,1324,1498,1222,855,764,1382,1672,1106,989,1158,1314,1572,1542,1360,1230,1172,966,937,1166,1458,1694,1614,1618,1864,1494,1448,1554,1486,1492,1740,2108,1736,1410,1468,1388,1392,1672,1652,1488,1634,1686,1472,1512,1442,1526,1556,1588,1342,1226,1468,1880,1622,1152,842,595,940,1370,972,1136,1214,1352,1538,1508,1142,702,590,468,480,1090,1756,1448,1174,1376,1556,1520,1560,1786,1564,914,452,754,1202,1600,1156,1102,1306,1018,1028,1152,1228,1242,983,630,328,362,334,354,373,571,745,779,1404,1622,1324,1434,1506,1448,1322,1294,1310,1180,1330,1538,1400,1234,1260,1160,1090,1108,973,627,351,312,306,355,534,717,708,933,1312,1302,1064,1086,1166,1074,1344,1318,1334,946,924,1188,1238,844,530,731,1312,1716,1716,1484,1526,1560,1640,1638,1474,1454,1460,1560,1516,1444,1492,1438,1020,689,576,620,550,576,502],[731,775,659,870,1316,1290,1224,1304,1362,1146,1001,1064,1019,724,557,968,1096,726,712,1042,1090,735,890,1286,1040,495,352,399,371,372,372,354,347,331,333,346,331,338,370,403,595,573,405,411,354,315,314,324,311,286,264,268,278,250,253,319,368,361,355,303,296,262,279,600,918,1320,1396,882,487,365,322,264,412,539,1198,1296,716,483,843,1096,1288,1604,982,636,405,275,290,280,299,292,295,299,286,277,286,284,305,317,467,905,758,416,534,589,386,590,944,878,491,310,338,478,447,383,334,399,450,765,1200,1176,1604,1784,1548,1240,1126,1510,1562,1830,1328,1268,1124,1158,1244,1198,991,692,892,1378,1214,1082,918,984,1232,1258,1322,1516,1560,1852,1672,1072,788,794,1150,1226,990,504,730,1132,783,485,623,774,799,641,541,500,600,879,2170,2688,1780,1182,1284,1070,818,719,982,1276,1288,1376,1292,1086,915,893,1002,1208,1390,1164,1092,1312,1324,1250,1226,598,724,1180,1338,1250,1010,745,549,526,506,543,664,678,899,1162,1198,1074,883,730,537,490,690,577,479,428,366,412,480,443,537,1174,1780,1602,1528,1466,1468,1186,1080,828,696,1392,1418,1170,1230,722,661,604,408,419,661,1050,959,905,1168,2072,2692,1810,786,732,760,796,795,936,1300,1656,1818,1656,1810,1626,770,607,488,576,1120,1324,1362,1512,1248,1024,1090,854,557,683,1230,1656,1238,1370,1170,881,1009,1136,872,694,724,715,726,817,832,711,691,623,705,625,453,432,628,886,1662,1964,1384,810,523,898,1412,902,725,933,833,521,481,458,414,408,659,981,1068,1144,1924,3304,1638,1208,940,745,592,449,479,544,741,1160,1268,1126,838,916,1092,1094,1324,1250,1088,1005,904,863,1134,1216,583,599,1032,984,1066,1032,937,991,1246,976,702,1316,1426,698,560,963,1128,764,692,788,803,898,852,674,527,542,1104,1656,1032,471,471,630,1166,1066,661,477,722,714,399,369,491,825,1015,722,565,615,374,488,528,622,988,1080,938,1126,1138,1730,1982,1474,738,329,302,401,358,472,467,506,750,764,604,596,1116,1196,793,888,1294,1180,1150,1010,731,633,803,764,1220,1120,588,767,1152,823,365,325,289,309,332,402,684,1046,909,682,1058,1298,1138,943,839,1078,636,681,636,902,918,689,525,433,333,321,339,344,312,295,294,324,372,390,338,330,336,368,637,620,354,333,454,810,938,620,394,415,504,1056,1470,1228,1024,877,900,1196,1338,1076,946,968,856,725,576,484,489,454,373,371,553,673,749,974,1220,1110,1314,1344,1166,1078,984,1106,1180,955,995,797,535,673,841,1010,1240,1428,1582,1406,1326,1354,1256,1122,1212,1168,1242,1482,1266,1332,1430,1514,1324,1015,1224,1300,959,496,394,394,558,774,1070,749,821,1006,957,985,953,747,647,564,544,425,375,427,509,592,577,969,1322,1456,1208,1076,1638,1528,764,1396,1888,900,727,847,1070,1064,1246,1484,1464,1094,741,999,1224,1150,1066,966,1118,1154,1126,1360,1328,763,437,736,1506,1932,1278,1266,1122,794,1176,861,568,678,981,1272,1174,1000,1042,1130,1274,1592,1434,1086,1058,1218,1444,1206,946,909,695,921,1640,1410,908,531,478,445,690,1370,1324,1064,1090,1276,1030,662,703,1108,1792,2216,2262,1726,1196,1932,1686,1122,899,954,1168,1162,1034,1208,1306,1336,1440,1426,1378,1460,1526,1322,1272,1502,1610,1702,1508,1146,1090,980,1060,1114,1268,1292,993,568,550,1074,1028,775,1190,1556,1328,915,1440,1362,1192,1368,1568,1026,711,775,721,645,565,364,635,1396,1438,1324,1512,1614,1472,885,694,1206,1434,1460,1364,1056,1174,1310,1670,1168,1110,844,1044,1076,1534,2448,2398,1424,745,675,1092,1232,1310,1364,1118,756,767,1182,1614,1808,2004,1714,1062,1180,2302,2342,846,708,1638,1854,1340,735,1028,1324,1766,1514,1026,1032,559,455,873,760,502,661,651,375,242,291,299,352,583,922,1120,899,856,468,434,515,461,1084,1748,1188,880,829,741,1036,954,1128,816,883,525,436,739,1730,1420,598,448,874,1284,833,593,588,572,493,359,492,816,1184,1036,781,779,1152,1998,3052,2938,3022,3172,1420,557,404,382,543,807,811,757,670,660,730,733,767,785,521,676,924,1032,895,556,546,831,1162,1310,1216,711,571,905,814,1156,1005,598,522,801,946,739,429,469,474,286,374,573,658,498,415,526,648,616,434,375,319,480,762,1274,2666,2482,911,655,604,518,578,623,502,425,630,888,965,387,311,446,844,619,681,947,1019,1344,1406,1292,1556,1556,1560,1604,1616,1516,1466,1388,1388,1328,1072,673,543,498,311,279,464,903,929,858,727,411,322,350,432,334,303,646,802,501,566,569,707,789,893,877,620,630,822,794,543,455,717,728,529,495,717,990,506,315,333,404,490,943,1088,783,883,1038,1296,977,466,549,1534,2042,2098,1800,1528,1252,1266,1318,1166,1218,1736,1504,1210,955,741,705,658,652,1334,1618,1180,1154,1316,1308,1250,885,384,353,441,349,290,293,346,634,1184,1368,1388,1558,1604,1768,1548,1090,1096,1490,1764,2132,2364,1960,1748,1770,1808,1784,1816,1562,1076,1214,922,857,1400,1748,1656,1576,1522,1234,1026,1016,1234,1580,1382,824,774,1288,1338,1388,1180,1766,2552,2262,2232,1938,1284,719,929,876,719,685,1082,1350,1332,1434,1494,1506,1222,1236,1262,1252,1208,669,431,395,385,380,348,403,783,1015,863,1146,1540,1622,1426,991,1032,1256,1824,1736,1504,1354,1232,1160,1050,986,1476,1506,1238,1304,1568,1600,1558,1826,2100,1870,1248,1102,1268,749,578,875,713,781,1098,1250,1004,741,664,884,960,888,888,761,835,1100,1052,1088,1076,1106,1326,1460,1394,1216,1260,1344,1422,1458,1150,1188,1200,1310,1304,1226,1148,1324,1420,1434,1180,897,654,734,1036,808,539,402,404,448,506,473,623,571,459,448,448,463,437,491,663,1000,1116,717,549,666,746,641,720,922,1166,1220,1184,1100,1192,1300,1290,1210,757,861,1192,1270,1310,1332,1436,1914,2224,1462,1544,1588,1172,1078,1128,1000,1104,1220,820,662,949,879,775,736,706,505,476,452,692,1240,1188,880,916,880,869,1034,1214,698,623,885,800,571,495,659,775,1004,1376,1286,1032,939,818,886,1020,1216,817,512,472,531,608,689,736,872,1228,1038,1170,1232,1356,1372,1150,858,593,604,667,767,999,1088,662,578,1174,1232,1314,2030,2148,1892,1166,803,907,888,862,1238,1324,1020,1158,1015,1224,1456,1578,1284,807,549,489,756,1088,1376,1632,1302,1258,1388,1270,1340,1102,1170,891,715,669,588,813,1198,1196,1130,985,946,1460,1448,1346,910,693,866,1226,1374,1388,1456,1456,1364,1328,1450,1198,1126,1324,1132,1004,1038,1019,1282,1430,1168,1246,1256,1064,1058,1192,1320,880,884,943,828,902,1005,1012,998,1086,1054,1036,1010,976,1100,1116,1136,1280,1318,1196,1176,1378,1898,1772,473,404,445,570,641,722,937,955,1202,1266,1122,1092,847,746,717,628,583,495,427,400,455,474,629,971,872,763,1023,1260,1298,1164,1186,1062,1260,1290,1078,810,913,752,950,1188,1124,1074,935,816,985,1372,1504,1001,588,402,321,336,443,403,312,360,458,450,661,1156,1226,1094,1192,763,661,987,1007,1302,1376,857,557,639,549,834,997,1362,1260,1278,1220,977,1352,1562,860,468,468,515,719,1448,1926,1750,1218,577,426,414,388,385,599,805,805,1334,888,1420,1316,587,427,397,331,375,412,254,242,296,229,258,280,484,828,876,721,469,347,287,323,336,421,617,752,785,1170,1650,1314,1448,1544,1628,1522,1148,952,949,1350,1192,1288,1600,1324,1388,1504,1456,1274,1380,1446,1030,646,478,375,447,802,964,555,591,723,783,921,1038,1120,1310,1376,1434,1594,1446,1230,1342,1042,755,1086,1326,1358,1256,1166,1232,1328,1166,1138,1278,1582,1544,1228,771,646,1001,1288,1164,1226,1500,1570,1422,1290,1392,1250,1284,1390,1364,1574,1548,1400,1506,1360,1372,1244,948,1082,1444,1544,1744,1632,1246,1372,1180,1130,1050,965,988,1210,1526,1766,1878,1766,1636,2062,1606,1408,1380,1426,1630,1576,1592,1506,1406,1604,1500,1460,1732,1538,1490,1530,1550,1416,1470,1626,1780,1628,1440,1508,1864,1830,2004,1628,1214,947,653,833,939,1114,1326,1134,1050,1422,1648,1208,678,605,489,540,1032,1218,1152,1260,1412,1538,1704,1540,1582,1516,868,556,963,1242,1308,1200,1400,1416,1366,1318,1086,1042,916,547,356,302,312,269,479,675,975,1234,1328,1472,1538,1538,1344,1236,1178,1216,1144,1114,1118,1390,1798,1828,1478,1440,1244,1218,869,1026,921,525,308,267,359,694,850,736,863,1116,1280,1208,1272,1124,747,1202,1408,1316,1066,1052,1414,1230,530,336,515,1220,1422,1448,1368,1614,1694,1716,1592,1316,1356,1402,1162,1170,1382,1246,1454,1150,867,747,677,655,721,684],[826,781,890,1196,1376,1320,1368,1390,1208,1108,877,737,646,630,572,505,689,647,706,1066,1106,791,872,1202,1010,497,371,358,371,401,449,421,332,301,305,329,384,569,691,631,619,545,439,295,247,250,256,254,239,225,229,260,275,258,269,310,341,357,376,362,354,320,291,589,952,1098,1154,948,583,390,390,380,477,772,1760,1878,1096,910,1000,1026,1282,1294,739,699,578,329,285,272,277,295,297,282,277,305,282,286,290,280,358,880,857,426,430,536,387,395,652,785,562,371,292,378,386,435,457,526,734,1260,1132,1082,1472,1464,1362,1396,1256,1374,1622,1584,1280,912,1032,1290,1284,1266,895,638,774,932,858,830,634,1088,1410,1330,1080,1266,1688,1948,1816,1270,1406,1512,1324,1124,928,603,977,1462,1074,1258,1670,1112,887,687,581,510,530,738,1162,1416,1220,1074,1188,1144,999,937,1017,1278,1256,1248,1098,894,990,1114,1276,1190,1158,1318,1120,1054,1372,1238,1040,785,666,934,1096,914,660,872,1204,1007,671,667,908,990,1346,1544,1332,1302,1086,844,598,645,761,675,513,445,471,568,495,424,448,927,1432,1452,1494,1576,1636,1486,1418,1056,724,995,943,1138,1078,799,688,491,389,384,485,621,618,590,600,1048,1804,1870,1140,710,912,839,669,732,917,1252,1734,1876,1724,874,691,906,933,825,890,1122,1510,1606,1308,1450,1444,1168,1160,1148,1310,1152,1078,1886,1618,1170,1122,1206,1002,725,650,673,755,800,775,683,672,635,576,714,700,750,873,1216,1496,1128,814,802,510,593,708,560,625,1056,913,489,474,468,401,349,490,745,890,820,904,1250,1206,1226,832,590,474,414,483,629,916,1224,1100,1244,1472,1504,1186,1238,1346,1050,963,1190,1300,1138,1514,1758,901,920,1114,847,992,957,955,1532,1450,763,706,1142,1246,713,474,812,1102,951,462,541,575,692,901,831,580,547,1080,1596,1280,914,644,982,1372,1296,1054,969,1009,730,395,741,1228,1234,1154,917,730,615,551,628,593,963,1184,1058,1114,1034,1080,1218,1108,924,432,341,310,489,507,507,385,412,516,407,401,718,1086,1160,1070,1474,1688,1452,1346,1164,1108,1230,1086,1110,1362,1074,814,554,607,440,329,304,257,305,283,425,922,1278,1138,1220,1488,1492,1366,1194,958,1178,754,640,593,738,940,914,802,670,473,377,408,345,324,330,317,325,391,428,437,483,364,339,540,563,459,423,584,841,706,516,471,522,589,716,835,1042,1118,885,664,1005,1004,985,742,778,1152,1200,1014,908,765,617,448,354,487,556,590,868,973,1132,1332,1256,1164,1150,1134,1252,1396,1050,1036,1266,962,981,1028,1250,999,989,1120,860,866,974,1144,1198,1214,1112,1320,1488,1594,1620,1538,1578,1160,955,1236,1168,890,524,498,729,802,642,659,694,1040,1280,1184,1054,1032,598,670,527,481,445,543,498,731,853,955,1252,1406,1214,1084,1076,1172,962,950,1134,1318,825,865,976,983,1238,1430,1450,1324,1248,1178,1434,1476,1150,783,735,896,1038,1136,1328,1202,823,996,1074,1204,1166,1066,1078,1058,899,1154,915,558,596,860,1084,1044,1134,1422,1242,703,794,1162,1210,1260,1356,1372,1013,810,727,736,1230,1874,1234,1064,597,539,490,658,1316,1396,1046,1136,1168,1036,868,1042,908,561,838,1015,1078,1272,1532,1518,1100,831,1172,1436,1556,1554,1790,1682,1378,1434,1500,1366,1252,1318,1334,1332,1422,1412,1252,1252,897,1084,1282,1338,1284,1202,1092,1126,901,858,1140,700,576,1044,1338,1206,861,1178,1166,1007,910,1296,1208,823,752,846,775,609,433,487,1232,1410,1106,1210,1474,1398,921,655,1052,1406,1390,1442,1158,1584,1216,1258,768,1134,1450,1742,1586,1438,1936,1736,1212,877,899,811,1178,1512,1508,1320,1286,1002,969,1394,1692,1968,1928,1244,949,1246,1390,952,858,1058,1276,1116,696,956,1344,1396,994,644,923,876,852,1066,1306,738,387,345,291,289,336,315,308,532,955,1204,829,698,669,666,636,440,672,1092,891,876,1436,1066,1116,875,1206,903,982,654,436,1036,1456,824,365,368,550,725,533,535,604,545,453,361,394,350,449,697,713,787,1124,1432,2208,2570,2930,2554,1546,631,390,358,515,661,653,865,712,742,744,659,667,711,636,965,1408,1356,865,480,621,1001,1388,1604,1560,920,603,651,632,861,826,588,454,560,736,756,507,404,594,553,459,617,683,575,467,558,891,835,514,355,247,435,910,1174,2332,2316,1282,650,411,269,340,600,681,450,329,444,926,720,400,273,576,694,717,1100,1442,1494,1360,1238,1544,1570,1590,1578,1554,1474,1462,1440,1392,1354,1138,729,543,529,273,281,344,818,752,448,275,312,369,438,506,447,572,1076,774,857,605,583,581,702,1384,1586,1013,665,885,958,756,415,580,630,659,511,506,810,601,576,677,545,590,801,815,536,471,641,1104,1190,659,619,714,860,1434,2168,1886,1054,1316,1506,1366,1366,1378,1942,1526,1136,996,824,670,568,701,874,1068,1224,1294,1250,1030,840,436,327,337,296,335,359,336,487,764,1078,1602,1598,1478,1476,1108,912,803,1016,1538,1918,1912,1848,1780,1692,2058,1808,1562,1186,977,975,893,1064,1590,1748,1194,1013,1472,1634,1578,1450,1506,1606,1334,841,919,1222,1218,1394,1246,2026,2664,2698,2714,2440,1432,719,799,957,877,616,1090,1508,1530,1598,1478,1560,1614,1402,1310,1262,1184,667,395,371,380,375,337,363,672,1070,1426,1622,1686,1384,1406,1218,1052,1478,1908,1876,1824,1828,1764,1876,1606,847,954,1192,1224,1436,1444,1446,1562,1670,1904,1968,1832,1642,1538,1156,691,819,886,800,1102,949,533,531,500,581,884,1222,1244,1058,1040,1122,1070,1192,1162,1298,1476,1318,1244,1258,1298,1396,1404,1148,1070,1042,1194,1324,1306,1234,1156,1168,1264,1242,1294,1502,876,953,1198,919,629,462,411,436,403,568,752,587,463,423,438,513,485,549,769,841,829,659,566,608,544,446,495,645,1058,1156,1124,1208,1330,1320,1276,1408,1380,1294,1266,1232,1172,1132,1606,2622,2964,2022,1450,991,660,414,619,836,970,1268,1060,564,1034,1306,935,749,740,575,408,449,1036,1570,1184,837,925,880,916,836,680,778,904,1226,1332,837,368,874,1388,1056,1252,1278,788,819,945,954,1032,1180,1068,1076,1160,1432,1794,2020,2172,1506,1248,1408,1516,1440,1332,1492,1434,991,705,686,973,1296,1394,1600,1112,662,824,1015,1176,1388,1930,2150,1526,868,874,1023,1284,1262,1284,1266,1074,1048,873,1196,1334,849,533,480,512,692,1070,1438,1476,921,1054,1224,1170,1324,1180,1232,1324,1156,948,1046,1184,1318,1060,878,752,912,1616,1870,1556,1136,780,725,986,1194,1424,1376,1318,1412,1498,1534,1406,1456,1380,932,875,1122,1160,1186,1618,1592,1100,1136,973,1244,1354,1009,704,737,884,1182,1350,1280,1120,1450,1444,1222,1174,1202,1154,1082,1094,1076,1120,1238,1108,1072,1120,1146,675,393,403,366,509,811,1152,1176,1013,1086,1220,1248,1068,836,676,730,880,827,897,631,362,467,661,1162,1506,1118,631,692,1136,1014,897,952,1078,1200,1266,802,796,1048,833,1016,1296,1372,1322,1262,946,949,1298,1382,945,454,332,364,478,742,509,283,328,444,433,399,450,553,862,991,750,856,1084,1116,969,1124,957,602,458,554,653,1004,1444,1318,1330,1062,760,1266,1548,912,516,417,468,745,1456,1804,1464,854,400,381,388,348,320,433,533,814,1532,944,633,644,431,314,286,228,255,229,241,249,231,227,296,288,364,500,698,789,559,386,362,341,332,369,461,495,800,803,560,726,1184,1308,959,707,1076,1272,1090,1198,1076,1094,1274,1240,1336,1568,1594,1478,1464,1224,1168,874,688,661,618,1334,1498,719,484,563,847,1072,1184,1334,1290,1162,1160,1360,1242,1216,1302,1246,1060,1366,1270,987,846,970,1212,1212,1124,1086,1276,1480,1422,1482,1232,1128,1308,1458,1470,1506,1406,1268,1096,1332,1404,828,899,1120,1980,1932,1396,1504,1256,1220,1320,1318,1152,963,1312,1628,1838,1594,1142,1300,1012,789,848,1056,1326,1528,1508,1676,1826,1826,1644,1638,1408,1266,1386,1614,1592,1576,1670,1604,1438,1352,1392,1530,1636,1520,1522,1522,1498,1378,1288,1538,1684,1574,1422,1446,2276,1628,1506,1440,969,761,747,738,921,1212,1166,1018,969,1214,1792,1286,869,689,675,874,1066,1126,1360,1626,1522,1276,1244,1278,1426,1356,1034,985,1080,1164,1186,1230,1454,1500,1440,1190,999,598,491,352,343,421,400,423,784,971,902,1062,1368,1202,1436,1614,1760,1836,1638,1428,987,873,1174,1270,1464,1494,1372,1426,1256,1272,800,914,919,479,281,328,529,895,912,617,710,854,1262,1318,1356,1062,1034,1356,1566,1250,791,708,930,730,450,532,871,1382,1420,1424,1482,1750,1720,1652,1486,1328,1402,1374,1180,1164,1272,1296,1492,1324,973,714,666,758,818,860],[744,471,615,961,1104,1032,1322,1434,1046,670,748,614,513,714,858,646,706,720,663,1044,1100,831,940,1154,1040,541,340,326,378,376,378,410,376,302,316,384,472,634,496,387,336,355,316,264,251,246,243,250,250,247,260,281,264,280,311,321,321,349,399,420,428,395,340,592,1020,1001,926,882,631,433,433,567,636,650,885,913,883,839,867,1222,1250,1120,717,644,578,329,231,260,279,275,316,317,296,322,295,281,315,330,334,475,406,347,394,396,322,297,309,489,675,544,428,343,470,583,847,1104,1338,1478,1144,1180,1428,1388,1438,1416,1312,1416,1432,1406,1158,685,860,1160,1260,1092,698,794,1084,1042,957,930,842,1118,1202,922,882,1040,1042,1436,1766,1322,1430,1368,1266,1062,880,630,534,641,662,917,1182,1100,1196,892,618,425,409,528,567,961,1186,988,1016,1002,871,734,949,1176,1154,1216,1090,941,1026,913,1013,1168,1204,1224,1268,1086,1278,1442,1046,719,586,707,747,717,854,1356,1222,1072,828,808,1152,1166,1432,1346,1006,1144,1260,957,913,1122,774,552,451,398,438,415,346,383,348,385,761,860,954,1330,1602,1382,1128,980,858,856,1154,1406,1084,856,587,337,375,389,365,361,404,432,393,460,912,1602,1202,605,634,739,693,917,1020,697,1130,1638,1792,1384,911,1048,1316,1350,916,701,1114,1302,1194,993,786,1013,1444,1484,1242,708,626,1009,1136,1078,1118,1192,1146,744,705,709,709,775,736,738,701,700,721,697,647,701,761,792,569,377,386,511,432,428,545,676,641,995,1160,836,692,577,467,460,541,615,648,659,547,677,978,735,465,560,544,521,621,752,679,940,1252,1038,1514,1706,1332,1196,1198,1274,1300,1510,1600,1296,1044,1310,1576,1686,1116,655,851,963,1214,1546,1116,926,803,665,768,761,762,687,1070,807,461,424,422,538,760,1013,786,477,539,927,1172,1340,1240,1010,947,915,1372,1606,1198,772,604,797,1204,1052,1272,1638,1322,806,884,1340,1276,1007,859,846,1054,1294,1286,535,336,408,348,311,331,539,568,462,394,448,551,504,563,825,1100,1134,1140,1654,1654,1298,1332,1150,1174,1384,1154,1124,1366,756,708,452,360,323,275,276,294,313,302,416,752,1126,1240,1040,1394,1336,1312,781,930,1094,999,870,563,520,575,664,825,898,869,501,393,388,387,456,397,392,518,475,449,382,259,313,424,824,838,658,604,641,552,550,594,488,595,804,1354,1512,1344,1404,1036,1064,1019,993,908,999,1374,1580,1210,909,985,951,842,738,564,583,401,713,962,1248,1406,1398,1342,1186,910,930,1416,1264,1042,1007,1174,1162,810,830,755,562,614,545,556,783,1236,1248,1268,1162,1330,1268,1214,1246,1346,1312,1128,1176,1274,1264,811,737,1290,1444,1023,539,591,858,907,1112,1096,619,633,613,743,810,544,646,1038,992,854,1018,1268,1196,1202,969,1100,1206,955,1290,1802,1302,666,780,1236,1240,1176,1332,1324,1134,865,1312,1422,1322,1200,914,634,904,1100,1170,1272,1340,1232,1236,1200,1064,1120,940,1054,1194,1172,965,911,942,857,861,993,1034,1184,1266,1632,1220,532,384,530,865,1032,908,692,694,863,761,1017,1678,1702,1242,1326,1009,1202,1056,901,1404,1094,753,803,830,1005,930,959,805,971,939,885,1188,1280,1252,1274,962,1050,1334,1480,1494,1404,1324,1434,1350,1478,1556,1386,1462,1544,1308,1512,1544,1324,1526,1500,1028,1120,1320,1562,1442,1094,1024,1152,1140,1234,935,634,815,941,1198,1640,1344,998,888,690,560,706,793,952,1005,1098,733,653,570,481,1202,1628,1308,1196,1420,1512,1158,619,805,1316,1338,1526,1180,1430,1214,824,696,1102,1332,1550,1382,1120,1476,1470,1360,990,1136,1186,1390,1576,1682,1500,1400,1208,908,1224,1532,1656,1700,1042,755,667,516,574,791,720,576,451,326,525,1001,1120,681,509,963,943,1072,1230,1666,1032,426,504,371,252,271,282,410,569,658,496,505,574,625,855,1021,832,637,943,920,1116,1698,1044,957,656,1130,1324,1230,728,445,699,656,395,341,341,363,547,719,792,921,722,539,591,484,357,347,431,752,781,867,1132,1448,1780,1638,1714,1344,553,412,362,438,526,626,889,918,891,795,827,803,647,589,1050,1538,1064,542,388,573,1182,1618,1720,1560,1026,562,571,821,821,688,724,683,514,490,597,698,570,781,760,640,748,851,824,657,910,1009,778,561,378,256,321,594,913,1788,2444,1796,698,493,616,338,443,679,691,429,440,995,813,410,283,430,623,662,881,1202,1190,1302,1214,1498,1562,1554,1572,1566,1500,1444,1392,1346,1332,1168,802,608,639,383,288,317,744,743,467,355,342,422,596,654,559,718,1382,976,958,849,621,503,1156,2394,3310,2460,749,786,1068,962,409,617,658,590,400,315,492,580,828,807,361,475,505,658,660,404,498,875,1023,861,915,973,744,556,1082,1470,1250,1294,1432,1488,1410,889,1015,1240,1270,1202,1088,1036,1036,861,810,1180,1240,1262,1022,861,820,509,381,342,318,403,484,502,791,845,1274,1580,1728,1852,1208,897,807,712,676,888,1186,1656,1724,1626,1952,2282,2164,1736,1064,970,824,937,1176,1518,1290,819,482,844,1476,1402,944,1120,1498,1324,766,980,1248,1264,1508,1240,2558,2764,2792,2720,2144,990,583,660,922,1080,934,1254,1472,1526,1344,1534,1424,1392,1304,1248,1324,1284,933,500,383,448,501,367,338,752,1104,1322,1370,1416,1578,2006,1952,1366,978,919,796,823,868,792,1094,1070,694,728,916,1166,1406,1316,1356,1826,2050,1876,1692,1328,1076,1036,1234,937,802,905,995,1284,1286,742,656,759,806,701,844,1238,1026,1001,1322,1400,1260,1208,1286,1298,1218,1154,1198,1290,1230,1094,897,1076,933,865,1218,1374,1288,1178,944,816,1044,1148,1120,859,973,1122,1128,763,468,431,390,456,740,688,512,464,484,516,541,644,924,1228,1272,1182,867,494,478,581,508,491,454,898,1248,1330,1330,1268,1176,1200,1446,1674,1488,1040,980,1023,1009,1372,2164,2072,1390,818,674,656,454,414,521,611,1186,1222,664,886,1314,1278,888,620,541,593,937,1220,1490,954,855,759,774,943,1016,914,832,954,1332,1390,894,725,1134,1316,1056,1150,1172,904,832,825,961,1280,1420,1782,2302,2514,2604,2266,1908,2030,1532,1000,1322,1426,1302,1342,1346,1176,1206,1224,1210,1606,1468,1136,1288,1162,1020,1072,1282,1548,1284,1278,1848,1704,1150,1206,1090,1306,958,1126,1128,1276,1352,869,637,816,921,718,488,886,1260,1650,1288,1332,1054,1001,1024,1004,1015,1166,1462,1522,1418,1346,1230,1150,1084,838,510,853,1286,1030,870,1310,1266,960,1074,1160,1074,1388,1366,1366,1278,1354,1356,1234,1272,1238,846,755,880,1142,1122,1370,1512,1120,1094,1332,1320,1001,728,733,769,856,959,1036,1124,1162,1524,1382,1328,1342,1394,1372,1094,996,1038,823,767,719,771,753,621,395,385,405,429,678,1072,1214,1262,1194,1080,1254,1138,1176,1180,1194,1392,1128,1092,1222,785,401,396,767,1360,1384,1112,555,625,921,666,505,594,977,1794,1630,673,538,621,451,563,938,987,1096,1322,1188,1092,1372,1390,792,495,425,675,869,1248,657,335,366,385,490,549,509,672,926,1268,2052,2266,1568,1208,960,1212,1384,1238,863,656,556,714,847,726,908,797,656,1013,1316,846,498,510,525,915,1502,1228,568,387,339,359,375,302,325,441,441,517,880,659,388,342,315,284,303,280,258,387,615,397,203,216,249,220,322,508,646,1013,642,521,431,398,397,473,479,579,951,893,695,766,900,1050,918,1068,1194,1220,934,797,1052,856,721,1166,1516,1634,1646,1526,1526,1270,1238,1238,890,640,550,1320,1216,556,630,890,1058,1202,1338,1292,1290,1226,1302,1166,1028,1216,1374,1316,1200,1086,1196,1176,1228,1416,1220,1188,1266,1244,1292,1318,1032,1104,1392,1078,957,1326,1422,1350,1274,1378,1003,1112,1048,926,1130,1110,1748,1750,1484,1406,1088,1164,1104,836,930,1072,1208,1148,1620,1554,1156,1104,1126,1072,1086,1326,1384,1496,1366,1466,1648,1726,1702,1476,1380,1366,1382,1438,1440,1504,1412,1318,1242,1290,1338,1326,1360,1356,1438,1498,1572,1604,1362,1376,1526,1694,1606,1454,1548,1396,1304,1012,778,747,819,787,889,1104,1084,985,991,1186,1736,1640,1194,943,925,966,1094,1304,1648,1738,1456,1120,935,1122,970,1208,1328,1160,1250,1244,1104,1232,1710,1396,1174,1116,1006,928,1004,737,559,679,711,624,589,587,788,1052,1362,1538,1614,1576,1670,1582,1742,1736,1272,1048,1100,1364,1248,1070,1358,1454,1344,1070,918,841,725,813,769,572,791,1104,990,641,847,1166,1312,1374,1416,1462,1410,1648,1710,1228,1034,944,777,819,694,760,1224,1482,1278,1118,1348,1538,1624,1632,1382,1534,1556,1552,1510,1362,1378,1372,1294,1102,808,555,532,701,828,862],[482,423,556,839,791,1072,1420,1500,1154,817,802,593,479,642,977,978,896,683,542,761,830,616,663,755,701,418,338,355,346,345,347,378,420,327,395,543,513,437,338,337,291,257,250,236,238,238,239,239,240,251,252,292,278,301,328,337,341,372,428,430,411,409,395,676,998,812,758,631,636,702,843,1318,1198,929,1194,1180,889,575,459,775,1178,1144,772,686,672,613,437,364,370,291,393,366,336,305,265,261,300,341,747,1076,934,1004,727,533,385,341,363,463,723,775,535,490,895,1116,1172,1554,1652,1312,1082,1070,1388,1322,1390,1246,1172,1336,1328,1252,1294,1206,1150,1236,1312,1248,1300,1302,1456,1466,1432,1238,1136,1258,1076,888,1036,916,681,1602,1456,778,899,1158,1268,1096,787,536,611,736,596,469,696,1322,1450,1180,727,530,677,783,795,951,1011,871,1001,860,603,479,878,1118,1304,1294,1116,1034,1007,907,936,1106,1062,917,1332,1344,1206,1460,1374,1020,781,711,634,526,1044,1738,1222,1082,675,644,1174,1266,1440,1240,915,1068,1130,799,1166,1684,1026,537,422,430,400,385,383,403,410,338,414,664,831,899,1116,1036,580,776,912,703,1016,1328,1196,940,550,257,290,290,322,333,310,314,471,672,1130,1134,818,509,484,713,901,990,1134,747,1048,1570,1818,1698,1388,1202,1380,1334,885,518,430,580,898,463,384,774,1356,1502,1130,828,855,1013,1072,974,999,1170,1136,789,821,810,754,709,692,662,653,673,680,677,669,604,586,697,888,644,343,347,364,338,430,556,636,995,1116,1116,1106,966,684,573,511,487,483,668,639,918,1334,969,872,855,773,796,992,1050,1021,1268,1104,653,824,919,817,859,1076,1716,1654,1592,1370,1504,1352,1680,1938,1528,763,617,1170,1526,1282,1070,847,974,694,410,442,821,1128,927,771,541,439,293,336,421,767,1290,1166,786,690,921,1228,1382,1266,762,406,648,1058,1056,1056,948,1148,1096,821,755,956,1754,1862,894,619,1166,1060,571,785,650,962,999,900,530,327,345,344,318,515,818,722,562,371,407,556,771,1372,980,951,893,980,1058,972,1254,1372,1160,1212,1344,1050,1048,1176,813,662,464,435,380,254,248,302,359,405,362,379,492,599,821,1060,1362,1274,902,1036,1172,1166,986,706,736,561,541,816,1106,1208,616,350,395,448,539,482,337,337,395,478,400,344,534,688,933,810,662,538,405,453,536,548,485,816,849,1058,1104,1054,1048,998,1003,1015,1070,1200,1096,1226,1388,897,600,863,996,1001,979,1108,919,575,663,1248,1542,1368,1506,1500,1482,1268,1294,1508,1524,1302,1200,1488,1484,983,619,658,788,661,504,597,1056,1428,1446,1376,1134,1060,1003,1076,1104,1066,852,783,1154,1238,1212,800,941,1760,1590,710,663,1162,1112,840,942,703,516,673,647,808,1080,789,819,1072,1146,1328,1454,1246,1124,1308,1362,1100,1050,1132,1134,1232,1094,814,996,966,1088,1122,921,737,579,1128,1732,1490,1448,1464,1038,790,741,841,1064,1100,1164,1110,1224,986,768,963,890,1112,1388,1326,1132,915,1216,1140,857,977,1142,1500,1324,1442,1164,582,475,785,1050,1080,863,511,847,913,686,876,1366,1594,1494,1338,1326,1432,1194,1174,1426,782,716,792,951,1118,1114,1130,1038,1214,1578,1588,1188,1224,1262,1318,1092,871,1046,1416,1474,1816,1962,1636,1434,1578,1502,1394,1378,1412,1332,1458,1334,1019,1178,1222,1378,1208,995,1324,1432,1206,1254,976,1174,1252,535,708,1194,1564,1356,1272,1082,937,885,668,490,494,642,1006,1072,1092,705,747,697,488,1108,1682,1588,1398,1420,1518,1194,745,1002,1306,1384,1458,1098,1236,1130,965,1218,1088,1062,820,825,959,1426,1390,1290,943,1020,1210,1256,1242,1088,1000,1394,1282,987,1038,1124,1324,1346,885,789,695,474,402,653,1020,844,380,324,638,1164,1234,627,426,739,657,392,472,642,576,597,657,352,281,342,426,624,1114,1019,666,511,691,948,1048,1074,946,645,685,883,896,936,790,564,393,864,1418,1308,590,453,512,432,390,339,337,368,469,596,789,871,684,681,841,694,416,492,625,871,895,897,955,1298,1354,1040,1092,602,315,338,325,386,505,607,631,640,608,667,668,626,631,553,744,1024,745,543,553,806,1162,1614,1600,1458,1074,614,704,795,732,802,895,986,771,903,1046,735,553,683,607,747,860,874,1015,1106,1378,1074,876,647,363,250,322,358,496,1092,1626,1184,725,1122,1476,787,527,538,621,573,422,387,300,304,312,386,650,807,810,866,829,1190,1192,1428,1604,1604,1578,1548,1500,1434,1334,1284,1260,1200,892,705,636,351,231,302,692,813,455,369,325,480,957,683,475,705,1742,1298,685,744,807,862,910,1916,3090,2036,818,653,908,943,486,584,762,574,298,251,272,478,916,1032,478,474,432,353,509,652,739,848,811,562,692,1058,1152,647,405,503,1064,993,1242,1340,1316,1172,946,966,1158,1344,1172,1168,1346,1198,1138,1240,1302,1166,936,1086,956,558,359,368,419,661,753,661,614,935,1436,1648,1820,1676,1488,1200,776,739,791,1086,917,1132,1390,1648,2172,2170,2078,1584,1340,1062,720,974,1428,1546,764,571,362,503,1274,1134,629,763,1316,1328,802,1003,1328,1268,1516,1704,2680,2910,2954,2708,1590,705,609,651,1112,1454,1156,1520,1194,1124,1346,1664,1380,1232,1344,1340,1242,1138,838,484,399,471,446,447,421,747,1046,1138,1180,1488,1906,1860,1482,1270,915,547,471,462,409,328,478,484,664,1080,1318,1502,1724,1568,1318,1720,1958,1776,1214,1042,949,784,1238,1434,1216,1230,1234,1100,1186,1026,968,891,713,526,508,868,857,949,1226,1240,1120,1072,1090,1202,1348,1188,1122,1230,1160,1108,1202,1188,1200,1396,1274,965,960,930,832,851,1104,1074,1074,953,952,1001,769,552,456,437,433,716,750,503,611,688,579,540,525,708,1100,1360,1426,1464,1278,924,586,777,1038,691,474,833,1268,1436,1334,1222,1214,1230,1308,1338,1360,1268,1146,1078,1005,1032,1180,968,553,368,448,861,797,1104,1098,955,1062,1208,819,619,1032,1440,1238,749,500,650,995,1040,1144,879,736,594,514,888,1482,1286,957,1260,1826,1522,1084,687,1084,1192,1216,1298,1104,659,578,581,615,893,1326,1910,1950,1732,1044,539,261,1160,1508,941,1200,1758,1814,1434,899,917,1332,1436,1358,1338,1050,832,1104,1094,1040,1248,1666,1762,1150,1216,1336,1354,1282,1382,1328,1332,1010,918,1260,1660,1388,962,714,755,948,1124,1020,1290,1454,1522,1270,1288,1370,1308,1224,1274,1376,1342,1318,1178,1274,1208,551,592,906,828,583,915,1294,999,617,813,1104,1262,1526,1472,1388,1512,1502,1484,1366,1292,1284,1156,1224,1454,855,825,1090,1168,1128,1094,1822,1924,1430,1284,1212,994,731,822,876,1134,977,775,771,880,1120,1224,1362,1304,1268,1374,1378,1288,1390,1120,1120,743,626,596,497,419,339,382,409,567,931,1128,1294,1358,1084,761,881,1400,1522,1422,1262,1200,1242,917,678,592,404,558,1054,1252,1274,1002,840,621,442,535,522,615,1012,858,892,471,465,491,366,282,472,618,1002,1378,1248,1272,1212,900,919,542,596,1238,995,440,392,352,337,511,816,1036,1015,1038,1374,2288,2116,1530,1382,1658,1686,1432,1416,1146,661,580,772,722,648,1024,1020,1058,1216,1546,1036,510,563,676,950,915,451,346,300,290,311,291,324,496,718,553,608,1188,888,373,335,340,290,328,265,195,615,764,345,229,276,258,237,339,543,758,1252,724,405,407,502,449,441,463,609,1012,1206,1246,1278,1308,1190,1086,1174,1050,1158,915,905,1344,950,593,1180,1558,1478,1480,1388,1594,1422,1196,1188,919,586,692,1106,734,679,1264,1328,1158,1372,1438,1422,1398,1268,1120,1054,929,1028,1392,1516,1056,800,1322,1278,1244,1374,1080,807,789,1134,1368,1254,979,1234,1440,896,1009,1210,1282,1256,1370,1506,1192,756,815,957,960,1196,1100,1252,1238,1048,974,820,827,1170,1340,1056,1044,1220,1300,1212,1162,1140,1152,1184,1288,1264,1162,1396,1332,1466,1678,1720,1732,1606,1456,1328,1240,1480,1452,1210,1126,1196,1510,1636,1522,1488,1426,1270,1260,1126,1328,1466,1238,1440,1588,1486,1514,1466,1410,1266,825,799,871,807,770,910,996,982,1090,1178,1364,1476,1516,1436,1098,945,1009,1188,1422,1498,1518,1330,1174,1096,1010,1150,1062,1338,1178,824,1302,1312,1134,1400,1660,1280,1196,1050,891,1136,1180,855,669,837,1044,1104,926,821,1166,1454,1378,1460,1472,1494,1510,1688,1792,1580,1404,1288,1188,1290,1178,1004,1196,1522,1500,1108,907,774,1006,1416,1270,631,617,1082,1306,1104,977,933,1250,1478,1496,1372,1208,1468,1246,691,1240,1366,1194,1026,761,813,1152,1238,1286,1512,1520,1470,1544,1584,1128,1454,1444,1356,1264,1418,1456,1188,986,885,625,441,473,582,778,854],[333,421,692,854,479,957,1366,1284,1214,1206,912,516,323,386,639,866,839,450,414,398,375,359,329,351,359,339,369,374,371,374,351,336,373,381,501,567,451,384,365,349,289,250,246,239,242,241,239,246,255,262,279,326,324,327,335,364,396,369,367,333,326,357,374,659,827,747,557,479,1138,1556,1654,2114,1388,1036,1270,1278,673,849,1022,724,532,544,498,333,336,528,508,594,610,382,375,321,368,414,338,289,307,496,1036,1332,1396,1586,991,606,399,365,382,467,774,951,945,1070,1340,1306,1176,1654,1450,1496,1338,1017,933,1022,1284,1302,1134,1212,1350,1514,1404,1084,1066,1250,1438,1626,1772,1688,1456,1258,1124,894,1152,1628,1448,1444,1542,971,949,1938,1386,719,1096,1388,1272,1262,1110,988,1212,1160,701,391,689,1128,1098,851,553,514,807,935,943,994,972,664,831,747,561,439,833,1152,1204,1380,1272,1056,976,782,891,1142,867,931,1072,1378,1312,1214,1406,1324,827,667,661,526,709,1172,1310,1244,957,796,1086,1330,1422,1260,1088,1060,999,856,1074,1630,1118,766,583,470,398,395,446,452,397,404,591,1016,1306,1038,1046,1068,885,1080,1156,926,894,1080,916,819,591,288,270,298,296,292,361,441,607,1124,1282,736,544,343,317,542,1030,1228,1504,995,1202,1670,2014,1836,1434,1166,1034,1152,1084,745,692,692,1138,862,619,929,1152,1038,1021,1178,1318,1102,977,817,792,910,959,846,828,857,813,692,656,645,670,636,632,770,615,655,1070,918,988,805,562,409,414,381,551,604,649,854,685,753,733,1006,992,711,641,645,548,685,833,1168,1384,1196,1270,996,825,802,1009,1236,1416,1230,863,533,478,462,537,875,1023,1466,1370,1234,1166,1192,1116,1396,1328,939,814,642,1140,1842,1290,778,799,809,611,403,383,598,773,980,818,509,386,336,425,454,799,1192,1316,1166,1262,1500,1604,1550,1354,980,608,982,1214,900,1278,1302,1244,979,858,659,485,1076,1270,582,483,946,775,458,794,871,1600,958,489,461,345,307,323,328,501,757,696,716,482,433,618,866,1462,972,669,711,915,1082,908,1044,1328,1224,1274,1394,1326,1364,1144,1060,800,449,351,281,280,278,323,418,737,675,531,434,495,629,990,1372,1286,1038,949,1092,1456,1342,1138,1266,1240,1018,937,1272,1112,518,345,363,476,621,640,596,615,904,961,830,666,898,929,916,628,460,491,344,356,435,535,521,788,951,1046,1190,993,1001,1116,935,937,937,1078,1050,1148,953,694,671,746,757,803,903,1006,1130,1092,927,1140,1350,1342,1226,1416,1162,1042,1120,1372,1600,1646,1788,1882,1494,1252,1150,1102,1238,1192,1072,1194,1648,1726,1594,1378,1254,1188,1092,1136,1136,1144,1030,705,1074,1246,1100,761,872,1148,816,701,883,808,729,895,854,576,495,534,506,1140,1540,1017,662,826,1708,2086,1560,989,1312,1046,960,771,778,1078,1028,1170,1090,1162,1362,1042,1130,805,799,610,1005,1942,1966,1466,1318,1116,944,963,532,564,703,662,976,1310,1512,1388,1142,1090,907,778,922,1023,810,638,963,1086,905,909,1078,1250,1152,1086,995,677,497,880,1210,1184,1178,809,842,728,486,449,663,1244,1444,1148,1088,1008,722,662,903,756,787,747,930,1120,1194,1230,986,904,1328,1310,869,1088,1230,1270,991,611,501,596,960,1406,1540,1274,814,975,1206,1172,855,971,1404,1394,1344,1044,815,1054,1382,1018,885,1298,1238,1268,1222,1108,1444,818,475,931,1422,1510,1064,795,855,975,1142,1158,599,437,556,614,586,558,543,929,901,666,982,1354,1420,1328,1306,1212,951,912,1132,1322,1454,1560,1358,1328,1216,1021,1326,1036,1244,1272,1378,1013,1186,1226,1342,1019,672,901,1170,1130,680,549,1150,982,970,1028,1168,1412,1294,840,858,835,462,464,647,1154,1188,512,346,496,548,683,502,374,760,755,367,300,302,565,689,630,352,355,362,392,833,1340,1236,772,354,623,981,1176,1080,773,794,598,601,528,598,883,687,524,814,1262,1188,514,401,529,580,366,258,368,418,346,391,601,618,471,432,812,993,522,448,529,738,941,879,891,1098,884,678,722,299,218,281,320,333,465,518,513,495,463,505,442,446,601,494,546,600,426,422,560,914,1220,1348,1422,1238,794,709,824,662,760,913,942,816,713,781,775,709,827,711,606,802,848,821,914,1130,1198,1007,839,647,371,297,341,310,324,488,778,863,1124,1580,1382,670,460,427,375,460,560,496,347,416,380,441,708,908,745,747,888,1122,1170,1408,1606,1604,1562,1532,1482,1418,1344,1322,1274,1260,1013,791,600,365,256,300,574,836,477,395,339,491,1100,849,415,667,1630,1338,688,562,562,865,813,1005,1570,1070,726,664,743,891,619,440,745,729,403,255,290,457,794,1014,553,361,445,398,353,656,844,831,814,439,519,869,1238,929,466,471,679,854,962,957,1048,1258,1360,1288,916,958,990,705,831,1108,1224,1246,1262,928,861,985,694,534,337,381,462,573,590,520,589,1252,1542,1684,1616,1556,1948,1726,1306,980,1014,1124,1440,1338,987,1402,2084,2304,1976,1376,1272,735,728,1066,1766,1516,702,666,465,603,1324,1328,999,1040,1384,1174,746,1028,1264,1300,1384,1494,1948,2276,2578,2298,1136,595,555,782,1396,1312,1338,1640,1378,1266,1368,1454,1328,1238,1330,1254,1122,887,599,441,425,461,421,843,846,653,893,978,1052,1230,1294,1068,960,1178,1214,1014,875,740,755,919,1015,1004,1114,1362,1510,1510,1516,1510,1346,1312,1492,1708,1250,1284,1368,852,927,1512,1490,1416,1422,1374,1048,1126,1072,752,556,469,413,419,633,977,1290,1188,1046,1210,1162,1048,1015,1074,938,1090,987,830,1220,1296,1332,1464,1150,818,878,930,813,800,1106,1156,1226,1188,1148,1021,559,409,456,586,860,897,669,627,983,864,564,482,409,526,888,1266,1404,1444,1498,1410,943,933,1466,1130,612,756,1116,1212,1352,1302,1188,982,1042,1086,1278,1390,1326,1226,1206,1080,750,565,532,469,429,965,874,1126,1256,1430,933,1012,990,550,711,1232,1264,925,561,537,832,840,873,760,623,578,614,1166,1692,1364,829,715,1090,1150,1036,818,871,1176,1372,1346,1134,695,571,536,508,783,1628,1890,1244,1498,1036,885,832,1536,1824,862,870,1480,1644,816,561,1016,1290,1378,1226,983,718,728,1006,902,977,1214,1294,1122,1282,1102,797,735,648,782,1154,1240,1226,1262,1338,1524,1064,1256,1210,857,700,935,1278,1472,1434,1278,1286,1396,1484,1516,1550,1512,1856,1374,854,711,834,843,597,799,1240,1050,1004,1060,1009,881,583,682,1144,1590,1760,1466,1248,1032,811,875,1116,1060,922,1166,1290,1262,971,1050,1090,1246,1288,1050,1610,1852,1326,1278,1744,1696,1224,995,944,972,761,687,688,835,1070,1340,1404,1312,1284,1318,1368,1384,1484,1158,1130,756,546,549,812,958,554,368,478,690,1090,1256,1250,1338,1250,889,944,1376,1394,1226,1200,1194,1116,765,987,1130,516,374,467,697,1004,1078,991,686,571,669,752,927,1070,1120,816,461,604,588,534,686,653,681,1022,1180,1036,1036,1376,1310,1150,675,489,890,596,350,335,311,330,442,842,1282,880,884,939,1488,1682,1644,1614,1732,1578,1322,1354,1074,627,819,1262,1232,893,1304,1112,702,935,1210,855,445,505,783,1004,683,359,393,453,327,291,436,574,520,649,586,641,1204,766,431,332,318,266,228,216,218,440,447,247,302,408,306,261,318,488,618,804,602,382,448,606,476,442,601,769,1088,1314,1254,1462,1628,1438,1238,1264,1168,1260,1036,1042,1408,1114,709,977,1172,1290,1290,1322,1624,1322,1264,1280,1340,1238,1094,988,740,649,1064,1194,1152,1492,1356,1374,1336,1274,1278,1322,1180,1142,1368,1314,705,1106,1756,1470,1362,1152,1018,748,582,818,979,990,1188,1256,1156,1012,1140,1286,1394,1354,1448,1594,1424,960,940,1104,1080,1074,826,1214,1194,687,667,1158,1742,1604,1268,1196,1116,1086,1042,1068,1098,1156,1202,1158,1228,1260,1274,1372,1512,1714,1646,1606,1752,1720,1308,1266,1296,1606,1342,1256,1368,1542,1742,1600,1422,1422,1412,1402,1410,1222,1440,1556,1484,1768,1622,1302,1366,1530,1776,1580,1096,1356,1426,1224,927,957,984,940,1005,1168,1188,961,924,1146,1108,1028,1194,1308,1548,1330,1200,1098,912,1032,1092,847,696,802,681,874,1178,1332,1412,1594,1524,1366,1290,1106,1064,1152,1150,778,500,882,1306,1338,1236,1009,1098,1462,1560,1530,1520,1420,1466,1644,1460,1362,1296,1460,1394,1362,1458,1382,1372,1490,1442,1412,1264,988,1232,1434,1236,824,796,1418,1582,1326,1242,1216,1324,1558,1548,1304,1320,1418,1088,651,1078,1316,1394,1258,885,891,1224,1278,1298,1264,1306,1384,1448,1360,1044,1276,1432,1318,1472,1440,1288,1500,1290,682,479,392,409,543,735,630],[380,435,861,750,495,1021,1396,1382,1372,1310,935,495,343,429,742,1432,1294,830,860,774,613,557,497,429,357,347,353,332,348,357,359,357,354,339,384,356,346,374,351,330,300,283,270,260,248,239,246,258,265,297,351,376,364,356,317,295,323,331,349,387,399,418,462,633,683,639,546,758,1530,1638,1294,1246,838,766,918,883,580,1013,1054,514,371,402,293,257,297,303,678,943,694,545,689,611,495,640,566,420,381,470,458,389,624,722,519,404,445,457,393,431,529,745,1236,1412,1456,1340,1454,1464,1366,1716,1344,872,800,1080,1432,1426,1302,1132,928,1194,1050,842,785,957,1068,1250,1384,1446,1306,975,1086,1264,1318,1792,1526,1512,1536,1170,1158,1156,969,1168,1244,918,1012,1306,1222,1132,1188,989,952,1418,1224,731,609,442,395,525,832,921,1009,879,553,438,882,797,460,397,738,1196,1226,1366,1224,1080,1138,1144,1136,924,1032,1018,754,1214,1418,1154,1140,1472,1021,651,702,567,574,747,1360,1614,1270,1090,1094,1126,862,521,662,872,1003,995,910,872,836,1088,803,462,459,509,543,518,681,1038,1196,1674,1592,1110,764,529,913,1140,1300,1450,808,730,857,1060,1064,430,270,279,278,426,682,810,715,857,885,411,376,354,354,340,593,987,1290,1138,1104,1288,1388,1350,1438,1328,982,1190,1078,1046,890,879,1478,1302,764,1050,1218,976,1056,1354,1292,1198,1064,853,784,751,802,901,882,848,768,666,655,673,672,658,662,715,467,890,1080,749,554,792,915,570,450,373,551,611,781,681,521,632,794,1021,954,835,1104,1100,862,1174,1136,934,681,960,1206,1086,839,598,589,1046,1462,1316,1118,550,364,375,516,875,1046,1174,1120,1088,1046,1005,1324,1284,1028,724,904,744,576,1058,896,474,811,891,704,692,604,600,758,924,735,579,617,436,438,480,582,955,1136,1226,1484,1640,1614,1614,1478,1078,848,1228,1262,807,1042,1028,808,634,726,558,434,957,1446,937,869,1426,1122,979,975,1398,1808,1001,510,442,368,288,268,281,283,343,412,675,713,554,790,1046,883,490,426,451,576,692,723,824,1070,1366,1552,1574,1498,1070,667,697,509,303,326,278,276,278,323,636,1138,1064,622,777,1074,973,960,1154,1332,1532,1290,1060,1398,1222,1160,1310,1398,1264,1026,1130,1010,458,363,426,590,805,999,960,1052,1382,1418,1398,1406,1074,692,685,455,492,725,515,399,314,390,498,590,817,1192,1284,1014,963,954,577,544,573,588,565,844,868,727,753,628,491,507,585,716,1140,1208,1274,986,1282,1094,886,1078,1072,995,998,1060,1134,1474,1390,1452,1326,1206,1196,1162,1296,1324,1230,1210,1372,1476,1380,1260,1232,1200,1172,1268,1500,1414,1262,902,1038,1298,1062,652,823,1196,974,1020,806,683,847,932,676,446,411,432,874,1778,1722,1002,970,1032,1766,2206,1396,1324,1348,769,870,1136,1244,1208,927,1116,1196,1340,1132,1128,1288,843,1013,946,828,1090,1050,952,1060,919,630,810,724,1158,1146,882,834,1128,1110,990,1134,1176,1034,797,525,773,979,700,766,1048,814,576,717,742,666,881,836,494,549,947,1068,1110,913,830,683,712,767,669,620,946,1338,1122,690,597,579,817,1194,1162,976,962,1114,1218,1122,1030,1024,1318,1108,970,991,1026,941,719,708,987,977,609,821,1130,924,880,774,558,554,843,1048,1092,1300,1642,1512,1146,984,1106,1082,692,807,1116,1334,1482,771,987,985,540,709,1324,1314,811,708,920,1003,1092,1418,1418,614,416,479,425,375,366,511,837,916,936,1118,1346,1230,1244,1328,1320,1274,1152,1130,1334,1536,1658,1504,1496,1542,1040,1032,1104,1338,1428,1630,1260,1234,1352,1282,932,551,897,948,960,672,566,1072,944,866,1056,1354,1382,1186,833,714,669,538,552,792,1190,1152,636,344,335,552,982,860,490,838,819,503,397,407,543,638,412,417,382,377,380,567,606,473,380,316,655,984,1026,800,606,640,518,875,903,532,672,700,740,937,1174,1340,680,364,552,916,667,298,364,379,310,298,404,443,392,354,592,1020,781,497,469,633,787,742,778,803,543,836,1006,589,325,350,353,276,370,401,413,439,402,341,487,381,343,486,786,770,526,489,508,833,1216,1272,1308,1318,1064,857,891,815,706,647,624,563,678,915,1023,1060,895,640,539,622,657,590,574,628,662,712,729,478,303,383,371,316,333,380,535,650,823,1168,701,428,583,745,798,518,481,684,546,486,413,354,708,939,669,615,1094,1302,1128,1382,1590,1614,1572,1518,1446,1382,1340,1300,1244,1274,1160,814,511,361,244,252,383,768,563,372,354,522,931,786,340,600,1272,1324,1286,980,391,441,598,779,1130,1352,943,498,518,671,572,532,719,721,608,416,343,405,519,756,622,628,761,584,358,421,617,567,532,435,485,598,959,938,684,783,806,663,785,1046,882,1038,1148,1272,1208,953,924,841,803,1006,1092,1144,1176,760,607,666,499,405,379,481,567,448,410,455,980,1396,1506,1622,1406,1636,1490,1776,1660,1692,1750,1510,1810,1670,1056,849,1016,1394,1372,1236,1008,614,834,1274,1824,1476,813,501,453,1016,1424,1484,1486,1334,1108,950,747,1172,1210,1156,1170,1072,877,832,1250,1176,694,595,729,1180,1376,1296,1404,1608,1544,1302,1170,1262,1412,1460,1348,1238,1015,735,731,583,449,441,415,1130,1334,618,611,807,1060,1026,1068,1184,1276,1262,1250,1022,779,974,1136,1098,1102,1262,1260,1306,1306,1320,1440,1448,1210,1046,1598,2148,1668,1168,1266,882,774,1334,1290,1292,1200,1086,1112,1034,756,702,652,397,331,461,741,734,857,974,1310,1368,1370,1042,885,1112,930,989,946,612,973,1238,1228,1278,1026,1003,1252,1352,1228,1044,1132,1274,1294,1078,1168,1202,995,624,601,993,1266,855,717,967,1052,700,506,469,430,545,787,1108,1416,1434,1456,1528,1348,855,824,1048,965,783,1003,993,1198,1064,827,821,1160,1450,1378,1270,1440,1452,1288,1154,867,583,596,528,406,627,709,993,1216,1090,756,832,1003,696,563,1036,1056,812,582,492,963,1100,802,736,730,639,987,1320,1640,1366,849,880,930,811,668,768,944,1248,1350,1286,1152,664,589,529,547,637,1418,1892,2210,2114,1572,1574,1572,2032,2004,941,894,906,1290,958,610,705,861,744,601,763,739,578,779,1046,1302,1130,941,1058,941,1004,1044,751,775,1122,1126,882,926,1058,1360,1220,856,975,1426,1096,988,936,1152,1416,1222,1264,1350,1518,1254,1208,1036,1224,1416,1238,840,977,863,741,890,913,1254,1218,1136,1046,985,1186,1001,703,899,1360,1286,876,667,474,406,555,760,794,619,998,1184,1244,1036,1028,1128,1520,1520,1124,1276,1316,1312,1836,1834,1478,1134,1086,977,674,650,733,801,863,960,1316,1344,1368,1228,1336,1434,1404,1286,1218,1130,919,875,811,1046,1314,773,431,625,858,1208,1290,1256,1312,1302,1080,1050,1162,1236,1322,1256,974,1206,1126,1328,1272,773,528,397,587,738,705,671,725,905,871,969,914,1001,1052,588,359,508,540,857,1176,756,863,795,730,796,1358,2248,1650,1154,1104,1506,1450,448,458,460,558,621,735,791,1120,916,890,960,930,1266,1808,1660,1788,1378,1226,1242,1086,637,704,1332,1316,1032,1226,1052,566,425,576,778,463,642,963,884,491,376,444,428,311,334,732,972,467,492,448,519,599,408,411,364,294,262,278,277,306,481,337,249,309,412,362,283,268,451,613,973,1050,554,458,750,652,540,814,794,763,745,743,969,1068,1070,1152,1224,1188,1092,1072,1058,990,799,535,442,552,875,988,951,1034,1322,1510,1482,1550,1354,1062,994,1116,921,919,899,772,1092,1376,1472,1442,1354,1220,1166,979,1196,1390,1350,1146,1352,1714,1552,1448,1414,1234,862,495,545,716,1000,1472,1522,1300,1180,1160,1250,1246,1108,1168,1250,1226,1318,1242,1112,1052,722,578,694,879,769,736,1106,1114,706,886,1188,962,1200,1372,1236,1110,1124,973,1106,1244,1152,1246,1466,1628,1622,1344,1394,1716,1910,1664,1414,1242,1270,1238,1340,1426,1528,1498,1500,1504,1510,1380,1444,1416,1342,1212,1478,1638,1578,1404,1298,1388,1496,1514,1566,1752,2288,1548,1384,1466,1136,976,927,742,741,897,895,972,1448,1248,1126,1342,1236,1294,1052,744,826,863,860,1138,1522,1454,1384,1260,1100,872,993,971,1220,1524,1544,1344,1290,1408,1324,1220,757,854,1180,1288,957,991,1170,1198,1444,1584,1520,1294,1228,1248,1582,1476,1362,1404,1372,1278,1352,1404,1510,1630,1520,1386,1366,1212,926,1172,1404,1092,813,1340,1700,1530,1440,1334,1590,1606,1568,1266,1182,1516,1650,1278,1014,1174,1206,1200,1196,1040,1210,1036,877,1122,1114,1128,1342,1462,1248,1338,1374,1396,1446,1456,1264,1244,1306,891,504,367,372,426,470,667,576],[500,650,678,469,620,1136,1406,1346,1260,1478,1240,684,497,781,991,1252,1156,1172,1354,1138,930,950,881,762,412,319,297,299,322,346,354,347,368,380,369,323,360,379,351,334,301,286,285,276,260,260,265,268,275,300,329,339,356,370,347,351,384,407,418,423,571,725,713,717,694,647,621,910,1368,1174,863,785,926,1142,1184,723,515,651,528,375,405,386,280,288,312,473,1050,1288,951,697,885,1118,1100,996,890,900,459,417,448,320,322,525,528,435,471,448,429,648,785,692,843,1242,1578,1644,1522,1334,1528,1562,1264,1023,1013,1172,1402,1690,1368,1168,802,631,893,1108,834,861,1084,1046,903,1378,1302,1048,984,1188,1234,1408,1286,1234,1334,1484,1462,1370,1506,1452,1306,1204,1334,1390,1232,1360,1340,1000,1332,2022,1676,1132,651,532,586,795,1036,1266,1524,1242,748,616,969,1003,511,469,692,1176,1024,1274,1340,1092,1214,904,745,869,910,824,1094,1482,1450,1462,1222,1410,1468,916,727,705,560,489,1056,1550,1478,1264,979,816,609,487,482,636,818,739,537,354,499,711,557,473,489,522,642,980,1246,1682,1760,1338,959,863,742,502,530,542,689,1016,842,672,887,1170,1024,550,399,464,501,508,725,794,561,446,439,401,346,354,368,327,295,643,1116,1310,1250,1108,1124,1248,1142,1584,1452,1078,743,648,545,603,1098,1048,614,981,923,543,596,1062,1322,1126,1230,941,720,756,752,791,857,865,819,741,670,652,592,554,615,513,345,489,451,330,551,1264,1124,822,593,475,484,548,993,953,938,996,873,822,771,760,753,913,1170,1462,1346,916,730,791,712,712,694,541,488,601,1130,1390,900,565,589,475,524,883,1138,1226,1124,1196,969,867,1476,1312,1272,1072,1130,871,589,925,783,643,1200,1270,1396,1260,806,1042,998,857,751,547,389,325,360,443,550,828,1110,1234,1450,1480,1278,1402,1210,1216,1306,1176,1160,1112,1180,1198,840,592,747,585,523,1052,1190,804,857,1140,1118,1192,1108,1444,1406,785,590,538,404,365,350,489,494,448,405,526,615,653,871,1004,723,354,404,419,515,679,1040,1100,1168,1346,1484,1434,1312,1015,438,449,521,312,283,269,304,343,459,1011,1598,1156,799,1246,1158,1002,1176,1166,1306,1148,940,828,1072,1090,1192,1150,1042,1040,832,1010,1038,494,412,478,694,1052,1444,1390,1208,972,1005,1358,1484,1272,1116,869,694,612,938,670,480,357,418,620,910,1136,1005,645,740,866,1023,541,374,401,489,460,576,619,730,738,425,389,446,496,740,1114,1132,1166,819,980,1218,1200,1050,1088,1152,1074,677,616,1208,1320,1382,1104,997,1176,1316,1356,1288,1306,1328,1248,1236,1260,1282,1182,1226,1266,1428,1406,1284,1166,971,1116,1252,912,498,723,1088,802,666,577,791,1022,1032,827,594,493,774,918,1552,996,863,858,929,906,1022,1296,1438,942,966,1490,1506,1274,951,803,878,1318,1054,897,1236,1214,810,974,1016,761,677,1372,1866,1914,937,596,886,832,883,1722,1440,857,1158,896,735,857,970,1230,1600,975,777,1166,971,800,821,680,619,680,544,491,695,854,722,872,1250,1056,904,801,625,466,671,1038,914,712,1144,1136,1160,989,694,483,612,1026,1046,1154,1226,1158,1284,1526,1612,1506,1808,1706,1302,990,1009,1010,867,989,1324,1156,711,1014,1554,1390,1094,1136,1136,942,946,1226,1100,1038,1406,1364,1074,893,1078,738,527,659,720,1182,1040,793,948,902,824,746,1154,1028,792,1046,1288,1550,1274,1266,893,464,514,487,391,399,356,550,1098,1013,1030,1366,1460,1302,1328,1474,1516,1452,1356,1334,1422,1538,1642,1486,1560,1266,1230,1278,1360,1284,1202,1256,1118,1248,1442,1082,584,503,1160,1015,597,437,575,570,623,753,1046,1332,1310,1166,801,537,368,339,615,895,1090,1072,580,355,499,816,1384,1218,587,851,894,822,490,400,491,559,574,589,473,382,402,462,525,789,709,435,664,785,783,614,561,594,504,822,982,447,716,951,1030,913,933,1274,904,465,583,838,673,379,350,455,317,278,365,428,545,447,325,681,1026,990,550,400,590,708,680,819,493,798,1228,974,562,374,366,363,376,426,617,801,642,454,492,437,356,574,756,534,516,735,890,1015,976,1194,1272,1354,946,880,899,657,463,420,475,637,805,822,743,739,525,555,558,592,451,324,319,444,480,485,483,344,339,435,378,316,343,415,544,617,626,556,388,408,497,916,1224,586,347,503,810,676,511,607,985,1038,675,558,1080,1498,1204,1328,1532,1502,1374,1282,1230,1144,997,820,651,688,862,695,439,377,267,263,252,579,517,314,374,492,768,923,543,548,1092,1286,1624,1402,484,269,435,650,699,841,821,562,579,816,990,761,890,840,642,457,535,439,270,386,567,916,896,530,437,479,501,437,401,502,545,551,694,807,962,1070,1168,962,750,1001,1260,1068,982,1022,1132,1102,1174,1400,1162,713,634,812,742,615,462,437,543,533,443,549,523,465,451,819,1338,1426,1590,1422,1344,1594,1580,1848,1562,1772,1902,1798,1896,1616,1228,985,862,594,683,772,633,706,924,1418,1710,1248,722,398,651,1186,1026,1122,1422,1134,965,1004,777,1174,1272,1017,1028,1124,1046,861,738,597,613,666,1054,1428,1320,1302,1364,1564,1560,1248,1166,1314,1396,1448,1442,1412,1328,1240,1254,802,454,429,427,1010,1262,583,744,1316,1224,1304,1460,1454,1332,1050,890,608,430,427,474,625,920,841,769,850,713,625,781,905,747,893,1638,2056,1886,1248,1236,1142,741,1204,1364,1044,858,982,1080,865,540,608,398,336,427,732,878,675,390,449,813,1046,1194,1192,1138,814,957,1094,978,696,939,1194,1310,1222,1224,1284,1424,1554,1468,1346,1252,1192,1150,1202,1504,1434,1344,1066,1214,1458,1328,939,951,1234,952,523,485,455,441,572,644,818,1348,1542,1494,1564,1490,1198,976,949,879,919,1228,1102,1290,1478,1116,986,1366,1470,1270,1282,1498,1452,1248,1122,1074,547,368,328,305,327,434,651,679,691,926,912,987,876,647,1015,921,615,420,489,940,1106,905,876,725,1003,1566,1576,1488,994,750,804,959,1128,976,868,949,1122,1224,1246,1112,597,502,407,431,502,1292,1902,1826,1388,1062,1144,1902,2188,1994,1804,1844,1812,1652,1486,1200,807,650,572,552,657,601,513,648,666,796,837,835,885,698,974,1400,1112,650,902,951,866,1072,1000,1240,1176,1076,921,1106,1370,1636,1406,1166,1318,1086,1108,1278,1354,1015,1182,1462,1614,1518,1192,781,927,875,706,931,1018,1078,860,833,1410,1302,1118,811,633,866,1350,1272,714,652,571,509,529,433,428,487,813,951,1019,1092,1234,1612,2024,1578,1158,1294,1298,1854,1942,1328,1024,1017,1202,974,681,701,785,971,1186,1042,1344,1360,1136,1216,1510,1558,1432,1284,1288,1256,1274,1302,1136,1274,1368,773,624,646,730,1166,1218,1026,1058,1007,1015,988,1007,1298,1240,883,909,979,971,1346,1438,990,518,437,472,501,470,684,955,1250,1346,1282,961,1094,1078,619,408,530,634,880,1074,830,1250,835,1054,1260,1368,1290,1110,1274,1394,1614,1554,697,944,921,1226,1410,1284,1340,1466,1108,1058,1344,1258,1282,1212,1032,1620,1190,826,1024,837,614,534,725,770,923,1364,1170,438,334,389,550,702,1188,1164,758,475,444,411,303,279,409,891,923,544,550,504,341,262,320,338,281,239,252,298,263,473,741,344,269,223,262,405,358,306,458,712,1072,913,538,444,963,671,492,736,487,371,444,568,669,724,1092,1538,1550,1162,943,1048,990,623,429,309,466,655,767,1001,1274,1278,1376,1266,1132,1074,1184,1158,1326,1078,833,856,632,560,988,1224,1252,1394,1332,1366,1318,932,1001,934,841,969,1194,1166,1112,1172,1196,1023,900,837,662,985,1492,1678,1532,1338,1282,1284,1076,684,622,831,923,1056,1304,1138,922,1056,698,553,848,890,520,492,659,665,500,722,987,836,1338,1320,1194,1194,1110,1216,1380,1240,1114,1320,1372,1334,1514,1726,1836,1926,1942,1996,1648,1246,1078,1208,1378,1344,1440,1376,1478,1406,1416,1314,1302,1404,1326,1060,1322,1638,1512,1456,1362,1396,1416,1260,1656,2004,2004,1476,1440,1300,946,846,849,778,664,837,1090,1288,1558,1330,1250,1282,982,955,974,707,722,855,849,896,1524,2176,2048,1570,1176,1038,830,971,1174,1108,1234,1358,1476,1496,1230,1136,1084,1136,1232,1210,966,1021,1248,1224,1202,1036,1246,1242,1296,1134,1484,1572,1392,1312,1086,897,722,772,1034,1032,1162,1272,1190,1234,1412,1326,1192,1094,937,1122,1412,1410,1444,1468,1614,1612,1510,1306,1552,1510,1398,1214,1206,1244,1130,1260,1394,748,687,466,375,569,881,1004,1162,1354,1440,1400,1246,1312,1296,1324,1422,1510,1264,1158,824,422,376,403,383,548,666],[407,456,372,389,627,1106,1502,1208,932,1118,1098,950,894,1058,1094,1132,1168,1316,1432,1322,1470,1174,1001,776,440,304,252,315,340,323,329,337,361,403,398,320,364,390,361,315,311,287,270,280,268,254,243,265,267,283,316,352,364,350,352,372,379,395,417,556,916,1076,973,898,759,705,633,813,943,741,748,1274,1434,1254,1208,985,730,501,419,360,392,332,301,405,560,640,1234,1474,896,528,860,1184,802,744,1140,1610,767,350,370,304,386,551,598,586,586,537,656,1140,1614,1502,996,1005,1440,1700,1314,1022,1072,1078,1062,794,497,652,1144,1388,1392,1402,1040,888,1388,1500,752,782,1108,1174,949,1274,1238,1080,1244,1396,1622,1536,1416,1336,1286,1088,861,974,1668,1532,1352,1366,1202,1072,1092,1216,1356,1360,1602,2144,1542,1194,755,799,1026,1318,1402,1592,1606,1218,1308,1204,844,1036,727,526,694,1122,1010,1112,1230,1224,998,755,1004,980,924,1200,1328,1488,1236,1500,1418,1228,1562,1396,1142,914,644,641,835,848,1130,959,581,433,375,429,424,441,705,755,531,448,585,745,507,444,515,871,1506,1682,1302,1134,797,477,367,562,845,743,509,316,307,558,802,777,651,678,630,750,831,738,747,501,684,545,415,360,360,396,396,374,390,367,544,1202,1372,875,774,922,1136,1310,1052,1234,1396,1322,954,598,655,955,1324,1206,579,668,803,893,731,1015,1250,1236,1116,713,685,794,785,806,763,806,811,745,648,618,569,559,655,577,388,336,361,349,647,1288,739,575,740,742,632,667,1038,967,996,1242,1332,964,601,894,977,730,1052,1378,1342,752,422,493,409,437,579,485,567,554,1016,1148,919,875,881,611,859,1258,1214,1220,1284,1214,1116,1474,1878,1584,1538,1192,963,724,886,1260,996,1116,1500,1508,1742,1106,560,846,723,662,608,471,407,307,286,413,511,651,921,1272,1056,786,672,1074,1198,1750,1818,1450,1460,1282,1158,1172,1190,1126,978,808,835,1212,882,497,505,908,1192,1162,971,1130,999,655,483,619,480,449,772,1114,1084,799,900,1058,972,731,810,924,634,379,399,397,446,623,1066,1004,1062,1362,1528,1358,1278,767,303,273,318,282,242,268,359,446,777,1194,1230,1060,825,1160,866,650,843,1050,1074,908,831,797,758,656,877,927,937,1218,1170,1406,1072,525,410,447,702,1116,1376,1402,1262,968,844,1128,1252,1518,1550,1230,1230,926,745,631,461,346,372,590,979,1460,1602,1098,1042,1126,1348,657,329,376,464,534,476,597,865,569,300,327,609,573,702,886,844,808,1052,1310,1218,1314,1314,1292,1102,750,548,441,672,1028,1196,803,1014,1542,1422,1278,1238,1384,1428,1246,1338,1386,1194,1148,1290,1264,1140,1244,1446,1158,898,1202,1166,756,451,519,570,728,865,785,959,1232,1114,964,890,1456,1806,655,1002,940,1164,895,814,835,730,998,979,676,799,732,1086,940,630,1018,976,941,951,1260,1472,1084,742,917,1398,1522,1142,1980,2008,1528,998,952,1262,1102,709,673,691,882,1182,1326,1316,1088,789,987,1820,1316,852,1030,851,678,724,540,430,694,885,872,889,1388,1234,1338,1412,808,418,388,350,507,899,1238,1076,800,1270,1348,1042,1216,1184,859,744,634,561,821,871,926,932,1344,1514,1282,1172,1510,1108,690,900,1244,1396,1556,1690,1498,1020,1202,1248,1182,1052,798,723,847,908,886,788,807,918,990,919,661,698,693,628,972,839,706,825,1104,901,1082,1666,1152,797,775,979,1484,1490,1624,1248,733,472,739,1086,808,454,411,422,521,1152,1336,1368,1678,1390,1098,1106,1254,1194,967,943,1136,1374,1490,1562,1418,1792,1560,1408,1516,1366,1032,969,1094,1106,1015,1130,1046,505,404,1042,1210,633,360,410,336,364,503,894,1114,979,893,623,564,451,478,702,586,461,476,339,306,510,880,797,693,477,971,1158,1024,737,496,454,708,778,667,609,475,385,589,972,1140,1018,717,699,585,662,763,528,461,442,619,770,439,612,1024,1066,605,594,1068,1116,680,571,488,453,492,492,633,439,325,422,374,541,561,344,551,974,1046,776,462,730,797,667,758,466,363,466,547,457,409,651,716,469,614,936,987,687,476,392,453,435,498,630,642,774,1092,944,598,462,904,1218,1044,718,814,913,1032,1152,1104,736,622,675,623,612,659,552,434,309,283,237,209,251,381,544,656,601,380,345,400,380,355,364,376,533,637,561,454,400,478,448,1015,1202,571,349,405,873,901,522,565,990,1028,545,435,979,1476,1162,1294,1336,1042,856,758,715,684,532,395,361,454,725,677,448,380,336,319,244,475,523,335,398,393,548,736,533,478,810,984,1266,1176,765,890,1038,919,550,425,472,732,772,950,1340,1013,869,750,491,400,573,432,256,340,549,986,895,449,514,547,408,518,601,819,785,518,513,600,691,746,1256,1286,634,1140,1770,1816,1310,1048,1306,1420,1110,811,967,625,518,918,840,803,663,565,417,309,339,469,591,546,697,1334,1494,1458,1362,1126,1482,1494,1770,1762,1632,1982,1864,1640,1756,1698,1606,1190,965,737,727,765,728,812,1072,1616,1510,828,468,348,841,1086,799,894,1376,1382,1480,1268,805,1040,1346,1012,1042,1156,988,1005,1064,916,699,729,1040,1042,960,980,1240,1402,1588,1312,1250,1382,1392,1462,1468,1498,1408,1362,1280,827,570,497,701,999,1092,667,976,1332,1224,1290,1270,991,715,584,611,591,670,562,720,627,883,1068,905,667,401,348,381,513,649,893,1590,1954,1930,1568,1524,1358,850,1160,1476,1158,719,558,852,683,566,822,399,357,393,637,874,714,526,488,556,744,806,831,934,550,748,912,1158,995,1278,1644,1576,1116,1184,1510,1514,1506,1380,1372,1376,1258,1222,1342,1498,1432,1162,1038,1334,1550,1276,988,1166,1188,839,721,595,472,464,491,471,541,1004,1404,1434,1448,1600,1738,1528,1322,1268,1324,1268,1262,1388,1478,1412,1360,1328,1302,1180,1176,1352,1252,1022,1130,1166,576,268,264,251,261,354,554,541,519,1032,1126,985,1008,998,910,696,449,360,954,1828,1750,1244,873,876,1422,1644,1338,931,683,702,640,874,1160,1144,1017,780,855,1052,1362,1068,761,729,745,744,672,829,794,527,733,781,1001,2108,2374,2578,2724,2822,3038,2458,1582,1060,473,527,678,650,723,874,913,927,833,711,905,1016,841,766,1006,1754,1684,860,789,1020,1158,1228,1366,1408,1284,1232,931,828,1140,1378,1100,1174,1386,1190,1154,1358,1384,1328,1710,1952,1664,1332,894,414,586,629,705,896,1156,972,985,1418,1872,1742,1230,969,974,993,1320,1464,995,1116,1076,736,523,497,487,440,503,550,738,1296,1700,1556,1746,1580,1204,1504,1708,1656,1242,909,748,765,772,666,722,915,1088,1206,1624,1282,1164,1252,1182,1362,1424,1374,1384,1192,1140,1278,1212,995,834,948,861,719,802,807,844,982,897,968,1396,1394,1432,1424,1336,1192,847,532,596,843,1212,1228,1130,634,324,445,744,977,905,974,1240,1400,1808,1740,1304,1434,1040,480,374,470,529,623,757,874,995,1062,1428,1672,1402,1044,1166,1346,1490,1626,1282,904,1062,933,1220,1232,1058,1126,1098,1040,1048,1256,1432,1204,1128,1166,1290,841,695,966,1136,878,495,564,649,869,1048,953,521,522,551,546,1206,1466,1074,652,433,487,442,399,557,497,579,504,569,495,376,315,282,303,282,252,310,339,318,325,725,670,320,314,302,390,636,645,515,445,612,1042,1098,468,397,1094,659,435,586,463,417,426,569,913,1094,1194,1198,1212,1028,1086,1180,970,767,921,961,965,1060,1048,1198,1754,1512,1384,996,1054,1138,1254,1282,1400,985,700,1054,961,597,939,1102,1086,1450,1290,1188,1148,1036,857,645,545,1096,1314,780,656,546,599,641,730,651,497,847,1144,1354,1386,1384,1444,1396,1306,797,642,764,922,1034,1136,860,654,597,653,906,1196,1134,760,612,841,991,661,787,982,962,1202,1264,1296,1192,1198,1228,1130,1158,1170,1230,1276,1476,1882,2006,1934,1694,1714,1922,1760,1456,1224,1098,1032,1132,1448,1422,1528,1476,1516,1510,1290,1366,1352,1098,1322,1592,1406,1416,1396,1290,1314,1460,1770,1646,1212,991,731,512,626,733,703,800,717,899,1294,1334,1320,1214,1070,938,630,586,947,930,749,695,702,650,1122,1436,1432,1120,1124,1122,1030,1230,1262,1106,1250,1484,1354,1802,1600,1308,1264,1128,1104,1308,1332,1292,1332,1032,986,1088,1388,1414,1504,1166,1186,1474,1364,1170,1102,845,610,617,634,461,1026,1216,1414,1314,1034,886,1070,1378,1208,898,1126,1270,1382,1556,1376,1428,1112,1164,1626,1584,1388,1230,984,718,594,648,557,329,301,275,281,412,795,963,1082,1418,1610,1488,1488,1708,1616,1698,1670,1374,986,1072,754,353,336,379,330,337,497],[650,330,502,875,1016,1368,1294,1164,974,979,985,1040,1036,969,910,1046,1224,1218,1092,1074,1380,1166,1094,864,667,477,390,393,348,361,371,349,350,388,462,408,335,313,293,297,405,415,331,306,286,278,305,284,268,281,312,343,332,316,325,344,351,400,454,566,833,1078,1144,1106,799,565,559,680,669,694,800,1280,1472,1230,1480,1480,1248,812,484,343,316,329,329,619,861,777,872,952,855,809,1012,872,569,832,912,1478,999,342,375,310,361,603,1004,1140,1134,902,1040,1412,1674,1324,1186,1470,1606,1534,1040,691,731,714,965,938,670,733,971,1244,1420,1058,922,1000,913,900,818,1062,1136,809,1108,1144,1172,1270,937,1156,1544,1188,819,1120,1114,1122,806,1007,1720,1588,1136,1074,846,599,821,1040,1342,1300,1048,1005,656,538,566,794,1080,1136,1158,1374,1346,1328,1548,1112,665,1026,707,535,951,1166,945,952,1306,1298,1038,1078,973,835,1186,1396,1436,1396,1032,1282,1580,1422,1384,1564,1382,1060,1078,1004,959,540,866,762,378,308,334,361,377,424,689,872,697,481,552,801,562,647,777,1122,1682,1316,862,697,512,475,791,1262,1078,1020,497,280,301,794,1042,653,459,597,939,1278,1434,948,742,688,635,399,358,342,326,389,429,415,407,465,1074,1794,2016,1442,879,975,1450,1682,1426,1032,767,1064,1328,927,869,1246,1176,1038,661,430,473,601,902,1082,1066,1174,998,768,796,866,889,806,751,741,747,674,618,622,614,639,675,634,563,540,428,335,778,919,692,943,987,976,1040,1202,1214,736,622,801,1792,1778,680,838,904,693,980,1398,1366,833,487,591,570,631,653,662,771,839,963,709,993,1062,930,887,1034,1284,1294,1108,954,1250,1110,1324,1660,1832,1706,1007,667,827,1168,1116,1023,1366,1660,1656,1340,863,716,860,765,691,682,623,448,321,346,368,395,463,514,932,913,740,563,598,1272,1982,1714,1704,1588,1178,1244,1244,1244,874,726,995,998,1090,973,769,931,1300,1462,1005,570,676,723,523,382,448,501,655,984,1318,1052,691,849,849,766,595,657,672,810,792,491,387,441,631,711,658,1080,1406,1220,1160,1184,450,200,222,280,268,281,298,345,498,962,1356,1284,1256,768,913,1058,928,607,671,868,1038,936,714,711,794,1034,913,1072,1506,1154,1100,914,528,458,480,714,1154,1286,1164,1172,1090,1058,933,1250,1428,1290,946,1076,1412,1356,897,558,401,403,602,965,1340,1526,1316,1284,1334,1308,777,419,445,714,945,882,1080,1038,469,353,490,895,1124,1098,1116,1102,861,1042,1436,1208,1186,1030,858,554,639,1214,1090,1134,1412,1316,959,1122,1904,1396,1162,1374,1478,1316,1252,1340,1488,1328,1180,1300,1178,818,998,1318,1114,880,1166,1208,840,616,484,550,1136,1532,1070,744,1015,1314,1210,1520,2566,1786,770,972,1246,937,684,1126,1332,1034,920,1090,1130,1300,1386,1296,1010,959,1408,1288,1090,1266,1332,1178,1088,854,697,925,1132,1072,1284,1354,1130,955,1126,1306,1330,1274,1080,1002,935,925,867,998,1152,1146,1070,1060,914,866,939,875,818,935,918,999,1038,1318,1042,825,1028,991,1132,1110,530,492,712,742,828,1002,1300,1250,942,755,584,780,1058,930,1060,1124,810,648,734,669,858,776,1190,1962,1668,985,1224,1290,1172,836,862,1128,1458,1344,1384,1258,1526,1610,1340,1120,934,817,839,658,470,492,489,579,750,700,576,543,616,620,888,833,628,905,982,715,1316,2024,1688,805,586,1110,1632,1412,1007,705,502,419,731,1262,1013,595,443,429,499,960,1424,1376,1256,1176,1158,1234,1206,1298,977,832,1050,1462,1510,1464,1044,1010,994,956,1130,1188,1254,1426,1556,1576,1306,1376,1428,946,529,466,420,295,447,484,356,343,477,630,861,832,714,915,1036,858,833,724,488,390,300,269,372,924,1428,633,673,790,866,882,835,831,683,526,1026,1124,771,722,807,642,654,1023,1052,990,703,544,803,964,724,368,345,418,528,649,447,661,1364,1062,561,426,709,1076,795,547,629,583,778,721,702,583,436,454,520,697,667,574,494,765,757,1028,804,634,452,606,772,501,290,266,286,311,381,602,922,616,659,755,547,485,543,615,640,540,492,767,877,929,1062,622,339,331,539,1130,1178,984,1218,1234,1042,745,507,448,642,799,731,653,681,544,383,312,211,192,233,290,481,723,647,554,376,363,362,338,366,395,447,487,475,518,489,558,933,723,832,767,461,281,534,1018,888,429,364,575,955,568,388,760,1236,1224,1368,1080,638,520,520,669,858,721,495,381,376,665,702,479,344,323,310,242,428,544,302,348,319,439,437,466,464,518,572,605,669,1042,1222,1068,912,576,566,474,765,703,615,873,1092,873,550,465,400,392,325,372,359,514,937,967,575,506,410,351,528,723,931,957,607,632,535,429,528,946,1338,737,1080,1708,1992,1510,1064,1506,1802,1460,987,1160,864,661,1052,1504,1312,851,722,547,374,670,909,478,611,1212,1504,1610,1282,1130,1392,1516,1644,1860,1676,1784,1856,1412,1572,1872,1638,1744,1622,1202,828,639,744,880,838,1072,1354,958,626,412,446,1090,1005,926,1094,1420,1454,1484,1390,933,919,1368,1040,1064,1092,1003,1182,1266,1180,853,764,708,810,1172,1126,1440,1268,1560,1516,1372,1248,1366,1322,1116,1088,1038,1202,1394,973,926,639,701,928,1144,691,1060,1544,1184,936,940,724,591,716,895,974,1094,1078,1036,784,949,1534,1666,1114,656,649,588,640,801,1160,1654,1874,1998,1772,1522,1312,944,1082,1282,929,846,672,600,569,683,792,469,439,401,374,633,819,913,885,659,487,634,618,604,616,585,497,767,767,1198,1570,1412,1174,1332,1524,1388,1240,1146,1282,1514,1484,1348,1346,1400,1188,1102,1180,1278,1480,1350,1194,1250,1032,977,1124,841,617,516,477,475,432,636,1144,1394,1288,1452,1704,1632,1648,1794,1892,1406,1222,1332,1174,1250,1390,1162,935,965,1284,1230,967,1054,1100,929,594,326,297,319,309,325,528,721,496,886,1386,1202,1262,1246,742,498,445,573,978,1526,1296,1100,1236,1446,1458,1544,1188,730,902,980,709,623,806,1488,1400,1188,1122,1314,1554,1094,1056,1372,1274,1122,1074,1150,980,698,898,951,1244,2286,2978,3166,3130,3186,3654,3260,1564,1216,620,558,669,646,1186,1604,1456,1292,1008,689,754,1086,1142,962,877,1664,1504,877,761,1328,1584,1340,1288,1192,1270,1300,805,647,756,995,858,1372,1664,1498,1334,1406,1316,1230,1496,1532,1454,1362,1270,745,719,774,824,837,1013,1314,1512,1394,1490,1600,1412,1254,1238,1046,1112,1152,1212,1430,1484,1308,1166,850,505,458,411,428,526,1112,1758,1760,1560,1602,1358,1356,1378,1122,800,663,666,753,803,828,846,1096,1418,1616,1750,1466,1278,1360,1444,1448,1142,1222,1310,1230,1021,1332,1470,1312,1130,1220,1020,794,960,1040,1086,1178,1076,969,1366,1504,1258,1302,1152,967,850,692,608,894,1562,1378,1250,829,526,739,774,1072,1378,1322,1332,1224,1502,1328,1260,1750,1272,637,572,785,707,678,624,939,1110,1066,1236,1332,1162,1140,1294,1382,1474,1612,1142,1004,1150,1194,1136,923,803,853,872,1284,1358,1354,1338,1168,1078,1092,1204,935,764,1328,1700,1116,889,653,625,1048,933,778,559,972,1194,872,851,1030,1096,1002,897,754,637,566,698,649,537,499,492,379,334,322,311,376,304,321,371,384,354,282,599,457,309,306,424,665,630,428,333,432,530,967,1036,521,463,1170,899,345,447,590,631,579,609,1192,1252,849,624,935,1196,1024,768,642,930,1238,1114,852,703,723,751,983,1070,1282,1168,1200,1254,1384,1392,1228,816,890,1218,1242,943,919,733,828,1356,1246,1042,1238,1060,802,645,506,834,1162,774,851,556,449,450,465,424,430,558,762,1142,1408,1312,1194,1268,1288,881,628,612,994,955,728,954,1300,1156,1050,1296,1296,1272,1224,1118,1188,1148,748,778,906,926,1228,1324,1030,962,976,932,1338,1300,1254,1184,1420,1810,1716,1516,1438,1344,1568,1898,1904,1750,1662,1178,692,982,1134,1078,1418,1636,1698,1548,1432,1534,1528,1464,1426,1332,1144,1326,1418,1352,1416,1690,1606,1212,1248,1278,836,557,616,742,733,796,1052,1472,1360,1036,1072,1009,953,982,880,535,844,1028,780,566,584,539,755,1102,1106,894,881,1152,1312,1302,1304,918,1316,1662,1428,1440,1300,1306,1484,1172,893,939,905,1060,1250,1120,1120,1266,1354,1028,1088,1050,1032,1322,1454,1316,1036,957,1028,653,347,393,773,1154,1446,1498,1202,839,1152,1496,1356,988,968,1188,1340,1448,1436,1210,717,943,1520,1542,1252,755,401,290,363,455,388,323,300,281,285,307,703,1278,1460,1586,1440,1464,1598,1616,1476,1528,1476,1172,993,894,587,397,382,397,362,311,370],[1162,634,919,1306,1388,1462,1300,1182,1246,1218,1166,1017,777,797,746,841,1180,1428,1148,1186,1396,1410,1304,1234,1244,1168,919,688,491,433,352,363,368,339,404,414,350,315,306,315,465,495,303,280,340,350,375,336,306,343,350,386,405,390,379,382,392,418,472,527,585,811,1242,1408,1004,546,521,589,599,560,664,914,1028,996,853,1026,1324,811,413,401,374,441,490,716,1136,1134,861,927,828,913,943,940,714,899,999,1312,1078,376,391,317,342,578,1082,1300,1204,995,967,1184,1082,868,1674,2094,1778,1380,1194,899,861,806,945,1102,1202,1116,1001,1080,1162,1132,1086,1122,624,554,1040,1152,900,492,629,604,671,1054,1118,836,1028,1246,1050,1482,1334,1000,571,555,779,803,841,1038,757,593,867,853,777,638,416,299,467,634,638,666,924,1226,1292,1192,1264,1634,1550,791,430,669,582,1138,1356,1226,1120,1050,1260,1224,1072,1032,990,1118,1348,1474,1184,999,1206,1222,1406,1570,1302,1372,1432,1054,984,1102,1082,568,755,635,312,273,285,284,282,429,660,713,698,648,583,596,585,1164,1102,877,896,763,693,673,696,808,1416,1632,1290,1009,418,245,259,666,833,542,610,1192,1746,1198,1332,1216,817,565,330,283,343,342,324,335,380,415,375,637,1632,2010,2198,1812,1426,1400,1556,1446,1162,966,591,831,1352,1424,1390,1556,1434,1444,831,447,430,414,477,722,857,816,969,1068,899,775,849,947,840,774,822,738,675,720,718,753,747,670,667,704,494,390,815,1046,1060,1272,1308,912,897,994,1152,880,542,839,1378,773,549,952,1546,1514,930,954,1264,1210,1004,1016,1000,1030,771,792,954,951,931,917,950,1023,1070,1096,1128,1092,1248,920,1364,1818,1110,924,1420,1670,1494,1178,858,740,961,982,888,1212,1584,1724,1500,1142,808,641,880,907,691,552,500,340,330,288,335,352,530,1068,1176,910,739,807,1634,1742,1634,1924,1596,1140,1268,1036,1066,593,537,825,808,696,667,604,551,830,1272,879,471,423,344,268,279,385,490,703,888,709,458,703,803,493,415,621,678,551,1054,1358,989,708,450,506,687,785,1086,1192,963,1246,898,355,271,265,279,306,329,316,350,611,1084,1282,1364,1015,918,841,1220,1528,1110,645,505,752,824,487,605,916,995,1094,1074,1234,973,945,785,488,561,514,666,1120,1272,1310,1290,1152,1490,1056,1104,1262,1304,1266,1160,1250,1290,833,449,387,474,602,1142,1422,1466,1410,1244,1007,803,800,779,854,1096,1182,1250,1366,1082,631,464,590,943,1210,1234,1366,1266,1126,1272,1448,1286,1216,1238,964,665,1160,1758,1590,1432,1440,1288,998,881,995,742,1142,1472,1404,1216,1132,1188,1386,1262,1021,1230,1222,1026,1208,1384,1060,963,1188,1266,988,625,727,1044,1410,1618,1176,1110,1306,1366,1264,1614,2360,2330,1542,1470,1576,984,1009,1668,1332,869,1007,1470,1368,1428,988,555,704,1060,1544,1698,1584,1472,1322,1040,890,837,645,581,612,549,681,912,858,892,1134,1082,1120,975,885,968,1176,1286,1268,1246,1230,1206,1198,1074,1206,1074,1152,990,907,1204,1546,1538,1238,971,653,536,516,393,491,608,405,465,739,883,1050,1068,1194,1252,974,527,495,746,907,614,682,999,900,666,697,808,904,910,1996,3260,2128,893,1076,847,587,386,566,825,868,886,995,883,903,952,960,998,881,666,719,786,713,1144,832,577,467,435,435,492,521,546,615,551,757,1178,716,566,1068,1708,1246,943,1036,1338,1402,1154,1013,1032,796,383,430,957,1030,818,518,390,454,791,1078,1138,1262,1282,1472,1582,1280,1274,1206,1120,1298,1488,1554,1578,1005,531,478,381,477,738,1168,1404,1404,1192,995,1246,1208,1004,666,293,318,412,647,593,437,484,662,648,842,1216,1418,1354,924,736,875,710,660,753,385,311,412,772,787,447,595,838,774,630,677,945,827,844,1798,1578,763,716,736,601,686,1006,934,669,574,432,495,885,769,406,426,871,924,631,811,1412,1210,658,486,373,533,800,597,558,1050,810,996,942,606,453,384,393,582,780,814,692,363,393,423,639,878,833,522,601,851,551,347,284,356,472,756,576,783,899,788,493,363,483,690,744,680,625,676,976,1130,1007,778,447,328,373,511,808,862,725,642,499,389,356,361,517,711,650,579,660,669,495,432,379,239,217,233,309,388,592,463,351,626,768,609,689,663,832,1132,922,1130,814,621,581,746,728,667,560,479,653,912,845,514,317,355,423,935,780,532,573,881,1394,1562,1182,754,653,691,785,797,701,478,376,341,608,720,495,301,261,249,209,374,565,350,345,339,593,720,529,437,519,622,608,796,1254,1144,635,424,440,568,532,595,535,439,490,761,722,474,436,423,355,457,697,482,359,773,828,640,529,346,247,404,648,808,1134,817,736,465,385,654,929,1132,695,841,1538,1628,1564,1600,1582,1400,948,500,408,492,423,448,816,974,866,990,607,460,854,986,682,1144,1496,1460,1340,1090,1608,1782,1788,1866,1618,1610,2012,1776,1498,1812,1952,1678,1992,1666,1112,796,633,800,988,1126,1158,979,645,514,348,751,1058,946,905,1212,1450,1088,1168,1388,1000,885,1296,1026,1056,980,1198,1388,1360,1214,886,750,765,1082,1294,1324,1498,1260,1518,1620,1246,1126,1156,846,734,918,1072,1090,1152,1038,918,827,749,1252,1786,1178,755,860,655,504,600,720,968,1156,1136,1172,1294,1108,896,786,716,747,827,842,750,866,932,980,832,1194,1562,1604,1588,1394,951,715,600,880,1198,882,1184,1162,719,539,706,759,606,448,367,401,512,640,883,977,887,663,618,474,529,581,532,581,684,717,977,1010,1060,1032,938,1322,1246,1050,860,885,1144,1358,1266,1282,1316,1098,1108,1190,1314,1442,1566,1510,1182,1038,1948,1872,1001,727,525,548,589,452,504,847,1438,1472,1508,1566,1678,1902,1960,1894,1512,1148,1206,1001,1008,1128,1270,1007,683,1098,1092,777,952,1230,1284,954,466,464,562,383,393,792,1084,717,1148,1352,1048,1450,1272,671,579,991,1208,593,386,611,894,1158,1402,1890,2092,1136,1016,1260,1488,1224,967,1096,2042,2282,2148,2066,1928,1690,1384,1320,1504,1350,1134,1130,1224,1118,847,949,1010,1160,2554,3726,3824,4048,4024,3790,2858,1360,1444,1092,899,858,641,1218,1412,1132,991,979,941,760,1048,890,579,787,1268,1160,959,794,1406,1598,1126,996,728,778,931,786,976,1030,1380,1334,1274,1138,1050,904,667,616,797,1356,1526,1528,1470,1548,1354,1116,897,1050,1062,987,1316,1704,1758,1462,1348,1184,925,802,1010,1282,1324,1682,1468,1152,1428,1730,1260,583,455,424,440,434,865,1406,1482,1410,1426,1198,948,946,1074,905,780,926,913,863,907,901,1174,1520,1572,1594,1398,1284,1458,1324,1300,1302,1100,1068,1400,1210,1376,1470,1470,1234,1076,1366,1502,1336,1158,1216,1384,1346,866,1072,1328,1236,1338,978,772,828,825,913,739,990,1136,1212,1086,919,1388,1350,1212,1318,1514,1386,1226,1008,661,1260,1414,790,439,461,977,938,632,714,926,783,619,729,963,828,858,1666,1394,1500,1666,1098,901,1280,1424,1244,1108,990,988,1126,1434,1504,1332,1178,1396,1058,709,1180,1170,1009,1598,1700,936,1023,726,683,832,769,662,656,1084,1140,1114,1292,1090,843,864,741,695,746,962,890,725,800,657,517,480,354,330,365,355,285,302,357,807,787,733,736,305,319,339,523,719,401,273,271,452,441,533,665,562,698,1352,1042,348,444,648,537,599,467,586,602,380,528,924,1108,943,810,748,1068,1108,1156,1138,965,1002,813,960,1228,1234,1294,1302,1244,1290,1304,953,863,1538,1352,1466,1392,1228,1260,1098,1088,1176,1274,1240,1086,912,724,528,601,1244,1084,931,733,556,505,454,449,393,425,604,1042,1450,1284,1124,1228,1342,951,605,531,959,891,647,1178,1396,950,977,1154,1144,1094,950,1086,1186,955,804,909,827,660,1078,1310,1044,1106,1058,1110,1068,1038,1394,1754,1942,1678,1420,1418,1338,1396,1438,1694,2042,1904,1770,1456,899,951,1120,1174,1372,1432,1428,1382,1478,1786,2216,1990,1478,1278,1366,1322,1424,1450,1350,1436,1338,1222,1148,1020,1118,755,616,856,976,1296,1704,1842,1566,1054,966,881,897,936,1092,588,763,1252,1198,661,543,611,801,976,872,846,1038,990,1110,1098,1112,1004,1346,1428,1272,1152,1005,1190,1502,1250,871,706,821,1412,1562,994,951,1194,1138,1082,1102,942,1017,1356,1606,1444,974,781,619,379,318,623,1028,1356,1764,1800,1300,1010,1214,1484,1262,992,1016,1262,1296,1040,819,528,475,839,1490,1350,807,429,327,407,736,1114,902,426,345,307,279,278,582,1240,1498,1488,1610,1566,1722,1360,1328,1408,898,761,974,1036,634,513,391,361,410,420,433],[1424,959,866,1152,1338,1356,1232,1272,1378,1322,1376,1168,865,688,672,854,1194,2006,1364,1034,1270,1316,1366,1288,1246,1168,1082,951,619,509,380,399,407,341,346,374,397,395,336,354,490,486,338,304,293,589,926,650,404,375,393,449,494,488,463,448,433,459,484,514,518,553,820,1332,1340,900,705,747,692,583,578,606,635,907,626,485,514,475,580,523,536,707,542,628,1064,1138,991,728,528,785,1072,970,603,940,1312,1074,1016,1040,663,379,383,489,1052,1384,1098,908,967,1078,944,1226,2056,2062,1586,1488,1404,1148,1216,1106,1288,1250,808,820,973,848,805,998,1260,1196,800,921,879,924,714,387,484,593,695,991,1188,1294,1444,1292,893,1084,1196,706,392,441,472,445,505,572,485,797,843,887,793,625,437,389,426,591,686,561,738,1136,1090,1120,1156,1394,1720,1090,430,419,857,1284,1078,987,1106,890,1102,1318,1190,996,1266,1490,1450,1142,1012,1214,1130,1090,1492,1494,1100,1010,1378,1322,943,754,894,603,592,727,596,465,327,348,370,460,885,1064,900,801,654,520,808,1132,894,570,489,537,710,743,783,858,1084,921,890,755,474,316,264,431,566,580,838,1262,1172,1106,1130,1126,722,374,284,284,320,335,348,326,309,336,443,1084,1902,2126,1996,1976,1926,1544,1456,1428,948,680,531,771,1260,1390,1704,2038,1918,1438,963,617,443,384,682,1005,1066,711,666,990,968,986,1046,1021,874,841,837,774,770,830,734,679,741,732,751,753,495,385,673,955,684,680,684,620,1006,1224,1196,1310,876,875,893,618,701,1054,1384,1362,1140,1266,1766,1570,1220,1024,1048,1238,828,717,914,943,1060,975,819,963,1064,1156,1180,1036,1106,733,907,1272,900,830,1272,1396,1396,1218,969,1146,1268,1160,1054,1272,1408,1478,1652,1902,1532,927,1158,1148,1188,824,804,413,341,431,484,419,430,786,1036,1272,1190,1182,1432,1392,1540,1388,1038,686,742,1118,998,571,748,1048,1108,705,705,863,634,485,800,633,436,407,331,302,361,378,340,609,1086,817,539,1136,1278,1026,943,918,765,675,995,1218,1132,980,610,683,593,827,1030,833,860,1212,678,295,285,292,397,353,306,332,419,850,922,1170,1056,634,683,496,630,892,833,674,466,673,1048,1152,930,1134,877,1152,1322,1290,969,752,618,432,471,457,590,855,1190,891,933,1316,1770,1424,995,993,1240,1304,1144,745,589,504,384,401,509,601,1092,1398,1354,1114,956,1044,693,891,1282,1468,1330,1128,1240,1398,985,578,606,775,918,1070,1368,1326,915,785,1074,1526,1702,1404,1428,1230,1118,1244,1206,1322,1222,1200,1272,980,868,999,1108,1348,1488,1566,1294,930,1102,1386,1358,1254,1154,987,807,1054,1178,898,1038,1218,1144,761,490,913,1136,1406,1222,1182,1154,1286,1116,1042,1100,1390,1742,1792,1716,1404,1312,1334,1588,990,747,633,1226,1406,1028,581,499,655,1118,1546,1390,1672,1714,1290,870,740,720,920,1120,1018,899,880,827,865,1010,1094,887,966,812,819,1256,1274,940,673,700,875,927,1094,1026,1284,1026,1402,1234,903,982,1166,1278,1092,587,386,357,410,412,484,386,292,422,688,971,1002,1086,1158,1394,1406,1078,812,676,738,728,1012,947,1028,988,882,986,1216,1214,1624,1838,1268,756,788,900,801,559,698,634,854,908,612,464,452,650,800,805,701,644,802,860,1306,1530,768,444,493,405,449,773,1007,946,787,617,1078,854,412,645,1374,1340,810,791,1268,1488,936,1026,1316,1284,1102,558,404,867,1112,1052,713,439,485,766,955,1072,1342,1416,1464,1344,1270,1262,1266,1166,1472,1606,1420,1440,1150,619,493,478,462,526,1162,1394,1244,993,964,1486,1508,975,769,531,447,634,815,569,512,647,845,780,670,907,1288,1256,821,801,915,747,939,954,432,303,479,609,672,680,879,995,679,637,1028,1504,876,521,777,664,715,1110,931,625,724,993,1076,908,821,543,419,821,924,1010,873,1538,1504,384,499,726,473,319,255,446,548,607,413,496,883,826,953,1056,581,328,370,410,487,372,295,278,278,331,431,433,542,701,818,824,825,463,343,358,351,425,729,564,503,756,702,344,296,501,758,652,610,571,719,1114,1094,770,512,319,390,621,645,461,404,391,433,456,349,303,349,367,335,383,457,505,468,440,535,398,270,417,639,525,292,301,309,501,1130,1164,831,944,891,1622,2224,1722,1586,1136,744,461,387,391,584,844,873,692,465,349,438,552,441,365,766,723,612,654,762,1296,1320,1224,888,730,669,614,652,549,393,363,328,550,750,529,359,350,342,238,365,707,420,311,246,479,867,769,429,550,807,747,780,1076,1102,704,463,388,472,710,636,444,390,320,373,418,625,681,400,325,478,697,688,536,556,651,762,791,374,269,319,471,703,1090,818,596,404,296,646,825,561,421,826,1428,1444,1262,1140,1098,1152,999,619,423,511,462,349,563,650,626,1132,1328,869,1072,1216,1280,1448,1396,1450,1284,1484,1968,1872,2036,1792,1422,2032,2120,1626,1556,2022,1784,1900,2086,1330,784,764,736,782,1174,1648,1512,909,626,428,397,987,1178,966,894,1148,1300,805,777,1254,1086,1007,1296,1100,941,767,900,1182,1288,1224,900,719,807,1328,1258,1720,1512,1266,1320,1536,1642,1430,999,755,1036,1238,1392,1166,1170,1064,899,941,684,1080,1952,1412,467,581,715,420,411,568,853,1062,1124,1102,971,930,1104,934,875,756,731,625,605,633,799,1100,880,979,1362,1328,1336,1306,1100,1228,791,934,1162,1019,1368,1144,756,534,507,794,857,376,314,493,763,845,743,859,932,880,639,383,408,437,499,767,803,807,965,901,863,904,741,1023,962,854,712,719,984,1168,1210,1366,1404,1238,1088,1072,1262,1514,1622,1480,1228,1782,2658,2032,1344,1118,801,689,639,473,522,621,1184,1556,1672,1500,1532,1852,1990,1994,1848,1358,1460,1358,1016,1168,1354,1324,1248,1410,1360,1204,1208,1360,1344,1210,611,464,626,433,425,841,711,633,1644,1864,1112,1318,1358,949,823,1326,1344,792,686,641,541,1023,1290,1450,1678,1594,1392,1176,1764,1544,1020,965,1814,2346,2260,2148,2036,1684,1160,796,1264,1274,968,748,1050,1512,1498,1332,902,1026,2352,3836,4320,3676,2420,1888,2268,1904,1474,1116,1148,1138,841,707,705,706,861,724,563,720,957,761,787,774,750,797,822,651,805,1020,1009,1078,644,659,630,766,861,959,1334,1330,1304,1240,1120,1012,473,461,453,875,1328,1454,1312,1118,1340,1238,782,775,1013,1050,1230,1528,1462,1368,1394,1378,1170,1110,1378,1426,1470,1534,1003,858,1200,1720,1688,863,568,499,446,434,714,1238,1544,1572,1320,846,772,1050,1328,1110,999,1116,978,886,874,900,1094,1390,1660,1648,1294,1096,1314,1066,1068,1374,1328,1468,1286,1338,1266,1132,1274,901,729,1264,1556,1412,1218,1352,1310,1013,678,856,1068,1280,1210,674,462,542,607,860,852,1098,1388,1350,1212,1316,1300,1144,1300,1526,1596,1274,1372,976,667,1050,878,517,348,308,440,519,836,1172,1212,843,576,525,771,679,756,830,676,977,1270,1120,890,966,1462,1446,1320,1306,1136,1166,1312,1190,1116,1198,1346,1128,871,1020,1144,1266,1938,1566,731,621,653,626,467,579,683,657,801,815,1004,785,495,466,545,536,580,860,1402,1004,507,599,656,563,383,271,273,330,231,247,414,561,952,816,509,504,335,332,386,507,696,423,271,248,433,458,371,520,472,569,966,782,633,476,562,474,559,528,459,370,256,325,382,443,802,1220,960,1038,1104,1098,941,893,999,945,809,894,1124,1232,1428,1290,1058,1346,1000,800,1224,1220,1296,1234,1234,1200,1142,1246,1604,1610,989,924,932,671,576,628,982,945,928,968,885,799,494,441,473,462,623,1114,1378,1336,1400,1322,1302,1338,1086,778,753,562,533,933,787,533,658,939,1220,1064,781,964,1218,1142,893,921,922,624,868,938,988,1120,1038,1176,1220,1160,1542,1876,1640,1444,1604,1478,1226,1334,1220,1490,1914,1964,1654,1520,1296,1306,1538,1500,1502,1434,1236,1340,1336,1576,1592,1344,1380,1360,1426,1428,1318,1062,979,1186,1160,1306,938,760,1030,928,783,898,938,1180,1352,1200,1460,1228,1066,915,912,935,1274,807,677,1354,1250,652,822,1030,1168,1022,968,1019,1296,1030,911,993,1236,1404,1386,1426,1356,1034,1232,1406,1426,1678,1638,1264,974,1332,1414,1130,1284,1220,1256,1394,1290,937,1056,1506,1642,1444,1064,737,467,378,360,456,626,1306,2062,2222,1666,1352,1154,1322,1072,1040,1252,1436,1066,762,841,535,401,587,1088,1090,834,552,496,688,890,1250,1322,521,332,326,287,296,482,1142,1486,1490,1194,1274,1686,1608,1730,1464,827,603,562,693,626,536,415,537,756,679,455],[1402,1234,1210,1368,1350,1282,1306,1360,1294,1274,1252,1366,990,593,844,1122,1174,1506,937,646,979,1442,1490,1334,1150,960,992,934,599,428,433,459,458,393,326,324,379,397,322,329,566,680,492,331,328,830,1256,1158,849,529,430,511,511,550,529,516,503,505,507,534,542,610,719,993,1224,1096,1084,916,551,412,387,469,643,819,700,600,569,825,968,872,933,796,475,416,456,452,455,347,357,597,767,553,438,554,832,869,1476,1630,861,452,464,628,970,1026,975,932,756,560,884,1474,1946,1744,1192,1526,1566,1318,1110,1012,1388,1166,1028,1120,1152,886,827,844,1112,921,1019,991,689,838,902,530,466,608,941,878,912,1122,1230,907,727,919,1018,711,454,472,536,574,439,385,593,846,625,595,968,1026,619,334,334,428,569,428,438,735,821,1002,1104,1334,1426,855,424,393,500,512,570,689,890,790,934,1166,1286,1478,1500,1430,1184,1122,1246,1112,952,1132,1416,1216,848,711,1144,1462,1080,553,453,419,422,658,922,745,479,615,817,612,670,925,1224,1234,772,652,1028,995,713,452,658,1166,1152,929,976,1128,998,714,617,557,482,413,332,345,455,455,608,711,1086,1594,1286,827,497,311,289,288,306,292,297,326,293,385,451,820,1500,1642,1354,1324,1404,1210,1202,909,508,459,520,1128,1624,1464,1396,1704,1572,1300,1146,662,631,646,898,940,955,689,716,998,1162,1130,1198,1236,1112,964,873,855,867,868,724,713,761,771,778,679,495,590,938,1062,516,513,521,788,1202,1398,1544,1530,1272,1080,865,730,913,1238,1416,1454,1154,1164,1388,1248,851,797,1114,1250,1032,1014,919,1062,1276,1140,968,960,972,1200,1122,1158,1214,1038,1009,886,559,604,1098,1310,1136,745,640,952,1238,1250,1370,1384,1230,1238,1490,1636,1704,1160,1015,888,778,602,558,375,432,674,838,620,350,593,1148,1402,1134,1210,901,799,580,394,357,432,723,1130,994,787,1108,1252,1208,609,697,841,744,752,781,536,427,425,318,295,366,360,326,502,767,641,617,1014,1050,1230,1212,951,835,689,1010,1350,1188,982,1166,1294,1102,1246,1218,781,1010,1092,461,307,270,369,773,554,348,324,573,942,1001,1160,922,955,939,506,449,527,499,639,614,612,901,1344,1144,1060,860,1140,1502,1354,1013,641,495,475,541,492,824,1220,1488,1262,1338,1676,1652,1434,1096,1148,1312,1358,1296,1212,1310,1096,705,376,469,626,928,1286,1374,999,982,1250,846,767,1228,1474,1108,986,1308,1380,878,517,679,1168,1206,1044,1206,1144,1070,1062,1268,1466,1356,1066,1014,1158,1172,988,788,1114,1184,1200,1328,1272,932,943,1162,1242,1366,1628,1478,1086,1158,1346,1344,1384,1200,1088,1086,938,810,816,1052,1254,1032,688,846,1384,1674,1342,1118,1324,964,1032,1146,903,814,1108,990,1256,1416,1484,1504,1208,1186,1230,1108,836,1126,1218,754,565,574,608,1160,1830,2020,1844,1652,1072,794,1076,1134,1274,1714,1872,1600,1306,1009,849,925,1212,980,983,1262,1216,1182,912,423,389,582,754,674,784,831,852,591,940,1000,778,669,786,1122,918,438,391,336,328,412,513,441,338,521,1390,1428,1062,1282,1110,1196,1394,1378,1488,1212,1044,785,916,980,1070,1023,848,922,1182,1246,1210,1190,1506,1298,1478,1023,568,753,797,539,477,582,576,374,375,780,944,926,838,927,1030,834,1296,1344,736,469,506,469,498,966,1532,1492,941,1013,1086,612,426,735,1168,1130,803,472,685,771,543,872,1408,1334,1228,896,503,645,1046,1138,807,499,476,747,1142,958,1086,1220,1278,1366,1306,1246,1088,991,1410,1410,1308,1462,1370,1086,871,873,915,1021,1462,1290,1050,880,908,1248,1278,1040,868,860,988,1066,852,543,480,606,705,692,856,947,951,1112,856,824,767,810,982,689,333,285,460,576,555,889,1576,1116,661,715,1632,1784,996,435,296,238,756,1544,1316,697,604,677,966,544,854,681,438,751,1116,1466,1522,1896,1088,237,259,320,416,507,439,387,436,525,587,580,650,836,899,1104,750,372,398,431,395,319,283,343,352,410,479,508,713,495,585,854,677,343,387,415,322,414,765,735,326,289,367,320,318,457,657,524,465,504,612,822,735,524,485,559,691,647,355,280,386,342,351,305,232,240,334,485,694,590,561,651,406,326,408,353,268,528,808,620,353,258,266,484,968,916,835,689,666,1402,1958,1530,995,895,748,383,336,290,468,806,810,535,400,360,766,852,607,470,739,787,582,679,684,1134,971,1168,763,669,588,497,473,417,368,356,329,476,777,596,408,372,371,258,354,579,407,302,255,372,870,981,384,398,720,699,640,735,990,742,469,414,600,764,663,519,537,491,437,379,563,661,669,538,338,342,600,645,340,438,749,832,291,244,295,458,527,736,854,602,390,422,694,973,945,1038,1220,1362,1270,1060,1488,1660,1526,1562,1032,586,905,926,638,449,496,793,1310,1600,1584,1682,1486,1444,1602,1460,1254,1342,1826,1716,1984,2078,2028,1934,2320,2026,1528,1798,1980,1796,2136,1938,1100,702,892,892,954,1422,1704,1490,875,524,326,573,1054,1074,1062,955,1054,1220,741,686,1166,1194,1178,1294,1098,884,797,954,1190,1336,1358,1019,730,1094,1406,1340,1474,1526,1484,1316,1478,1560,1522,1558,1378,1350,1262,1270,1170,1154,1058,915,778,453,728,1822,1532,521,455,536,423,418,514,636,626,646,922,1178,1454,1242,995,1005,598,636,868,971,1142,1438,1300,739,1021,1366,1404,1824,1644,1362,1686,910,1026,1150,927,939,1020,871,675,448,531,600,449,557,752,584,667,760,754,952,984,603,426,417,476,887,1270,1094,877,831,986,732,811,907,988,789,647,879,1154,1268,1300,1322,1284,1638,1432,1186,1086,1320,1534,1444,1482,1470,1466,1614,1380,1592,1510,1058,692,525,498,553,521,816,1364,1638,1458,1436,1842,2032,1870,1920,1476,1350,1378,1168,1130,1262,1326,1404,1448,1508,1550,1500,1324,1184,1306,1082,599,490,495,437,492,428,527,1466,2406,1454,1268,1456,1286,1306,1356,833,653,955,1018,938,973,981,861,736,1028,1224,1346,1726,1338,963,1246,1612,1506,1200,1338,1932,1728,1086,886,1003,819,789,725,871,1132,1286,1366,1418,1290,1378,2100,2534,1868,1678,1052,2070,2536,1720,971,966,1176,1216,1216,1136,686,658,669,592,754,947,1232,1166,779,673,755,948,803,597,626,894,1050,977,842,717,708,872,1112,1190,1322,1534,1388,1288,1308,813,614,537,529,889,1250,1250,1074,1078,907,681,851,920,905,1106,1522,1488,1218,1056,1208,1120,1170,1618,1426,1040,1013,670,706,1090,1572,1724,1010,991,844,509,406,596,1036,1072,1042,1220,865,1042,1164,1324,1248,1184,1186,1004,886,816,923,1204,1534,1634,1444,1096,1110,1140,1454,1522,1422,1274,996,967,1260,1288,1310,1356,985,927,1264,1902,1826,1292,1100,773,441,351,592,1166,1394,1206,794,461,459,625,827,1210,1638,1504,1214,1404,1328,933,1208,1372,1420,1388,1344,1512,1218,1212,1116,612,448,348,339,319,532,1064,1534,1310,925,752,717,652,626,971,1198,1030,806,1042,1180,1168,734,1016,1252,1406,1346,1256,1236,1382,1460,1424,1358,1484,1366,1086,1002,1066,1498,2274,1730,706,378,532,648,711,647,633,636,821,787,759,615,477,584,604,601,636,1052,1534,1134,627,463,514,424,289,324,460,397,271,341,575,898,1090,716,549,434,348,357,423,576,821,514,278,283,355,435,386,433,302,446,645,676,462,373,557,617,676,741,1032,664,406,398,428,658,971,1278,1226,1050,1010,1066,827,832,902,796,716,833,993,1064,1234,1444,1396,1302,940,662,662,977,992,947,1090,1266,1262,1238,1368,1314,644,463,823,612,707,909,995,836,843,978,778,854,716,1012,1030,756,1034,1372,1376,1324,1294,1272,1390,1238,904,719,550,393,337,462,777,955,715,806,1130,1306,1015,800,1118,1324,1116,747,536,487,799,1072,1066,960,966,1156,1238,1508,1802,1672,1388,1704,1546,1402,1406,1224,890,1038,1592,1896,1776,1698,1764,1750,1598,1376,1302,1280,1274,1324,1484,1500,1356,1348,1284,1192,1442,1534,1434,1090,820,925,827,969,836,689,658,875,996,960,960,755,753,793,1224,1366,1134,1007,1118,1218,1196,816,562,745,896,1166,1368,991,1184,1011,1350,1558,1318,1010,1023,1074,1048,969,1128,1484,1434,1444,1686,1454,1152,1306,1296,925,684,1178,1460,1392,1346,1300,1318,1262,1234,932,912,1076,1548,1560,1316,1184,849,527,439,449,723,1054,1280,1448,1308,1090,1088,1034,793,788,1092,1388,1158,1512,1268,686,420,647,861,1394,1496,942,528,901,876,648,755,462,313,341,266,269,385,1084,1450,1570,1636,1498,1560,1594,1482,1496,1344,817,555,573,631,670,818,1070,1236,911,502],[874,1046,1228,1550,1478,1400,1322,1284,1310,1288,1182,1060,671,697,961,939,1180,1188,736,793,1120,1266,1248,1432,1326,1116,1078,849,529,437,462,484,525,479,392,317,377,384,338,506,830,767,473,318,334,849,1368,1366,1286,1186,810,538,521,558,541,525,492,485,504,550,592,677,799,807,899,792,694,534,354,327,393,458,622,694,549,421,498,750,811,695,622,470,412,382,391,436,463,458,278,314,255,286,390,406,480,819,1522,1236,624,576,596,735,653,606,773,843,576,542,683,1080,1584,1654,1094,1286,1588,1786,1794,1510,1682,1220,1342,2024,1500,926,922,864,733,697,733,521,519,771,1124,995,962,977,1288,1154,1200,1228,944,797,932,786,814,807,582,790,761,728,601,568,737,893,878,800,890,1156,982,550,424,331,400,395,458,505,800,1174,1294,1180,782,536,426,637,1180,927,572,630,594,577,809,984,1258,1396,1280,1148,1040,1158,858,852,1306,1396,1410,1282,1066,810,883,1296,1350,978,445,410,448,403,688,753,471,533,726,507,357,763,1688,1830,1220,1512,2104,1526,859,1016,1810,2068,1584,1240,1182,977,626,530,487,429,500,456,407,405,413,393,414,387,745,1122,1120,920,576,366,352,320,332,307,297,307,447,1016,1054,729,802,1128,1286,1440,1676,1356,1202,810,625,907,1005,1234,1366,1212,1300,1830,1700,1516,903,490,590,849,782,1007,943,819,1078,1318,1390,1348,1484,1388,1516,957,633,806,927,861,747,645,592,695,820,730,556,828,963,1416,1240,739,677,975,998,1074,1204,1210,1246,1180,1064,825,1023,1232,1184,1009,648,458,730,912,1056,1318,1568,1548,1326,1246,1186,1304,1388,805,792,1146,1019,883,993,1162,1358,1502,1260,750,569,430,458,620,818,730,1094,1202,1154,1470,1648,1510,1268,1288,1454,1360,1272,1416,1454,911,521,572,425,375,617,929,961,884,559,694,1166,1136,984,1018,740,541,473,433,412,523,754,952,719,597,818,1106,1172,896,881,865,833,936,912,802,678,593,543,598,641,643,524,568,831,913,752,683,810,896,879,876,979,857,893,1054,1062,955,1302,1468,1488,1472,1328,1252,1310,1040,434,350,312,528,1080,988,536,344,557,686,1028,1226,1248,1230,1092,686,580,668,831,810,835,1100,1224,1178,1066,1088,1230,1478,1448,1300,909,555,515,611,730,639,1016,1492,1900,1998,1728,1616,1378,1272,1456,1372,1608,1468,1412,1542,1322,1280,752,330,394,539,945,1136,1178,1300,1428,1058,648,502,1084,1210,1023,1302,1518,1610,824,639,864,958,1116,1130,902,1016,1126,1344,1476,924,693,988,1354,1274,1386,1058,805,1158,800,758,1184,1414,1360,1404,1382,1294,1332,1380,1188,1246,1284,1262,1366,1486,1206,1104,1018,868,873,803,1062,1240,1134,890,1216,1446,1460,1040,1102,1328,1234,1058,1010,1032,835,761,783,1032,1198,1446,1246,1026,1112,1308,1296,821,507,577,629,550,586,713,929,1298,1776,1688,1506,969,583,828,1036,1092,1368,1414,1206,1278,1360,1202,1296,1368,749,663,915,882,879,750,375,389,704,878,515,527,861,1116,792,601,724,804,767,812,954,994,653,561,507,378,563,863,889,645,790,1246,1146,1021,824,861,1164,1138,1316,1620,1622,1296,984,876,953,1064,956,1038,1150,1286,1424,1218,1200,1454,1428,1686,1036,426,447,599,604,680,843,559,454,670,763,706,970,872,950,786,383,521,634,547,506,526,592,495,683,1214,1162,874,1152,819,634,924,949,796,1002,861,660,711,844,460,425,1022,1286,1288,1150,788,470,795,1026,638,457,457,695,1150,960,1090,1378,1454,1344,1290,1356,1142,795,1158,1112,1368,1482,1448,1340,1246,1210,1146,1092,1070,1172,1060,878,1046,1007,1274,1226,748,550,952,1132,781,625,514,538,459,459,818,882,680,681,830,888,799,953,893,508,338,344,461,441,363,777,1256,797,992,944,1296,1476,1240,771,418,343,661,1178,909,606,546,351,433,343,640,565,472,655,1306,1790,1306,1832,708,330,290,364,476,741,521,250,247,377,702,775,801,1174,913,923,828,524,491,371,291,331,277,315,490,686,843,692,949,617,376,451,521,535,468,419,547,576,650,756,429,296,270,311,283,359,498,462,457,550,532,498,454,466,714,786,748,439,304,496,776,521,252,306,395,437,449,796,1224,647,593,1400,966,386,263,254,280,549,716,680,735,444,364,647,1420,1300,895,697,824,1174,1120,1114,895,502,347,262,338,585,864,739,396,337,329,444,1001,1042,786,528,756,924,501,443,672,1064,885,969,673,580,601,514,501,487,404,367,343,403,781,651,437,397,340,241,383,636,575,339,300,331,650,680,330,372,549,562,614,673,851,950,715,460,500,619,637,388,645,872,871,594,276,260,444,411,298,293,411,517,444,392,671,809,409,287,313,708,794,694,813,717,759,962,1118,1036,655,427,622,1116,1274,1244,1964,2150,1634,1490,975,532,975,1136,827,675,591,926,1154,1290,1600,1362,882,865,1132,1468,1304,1202,1368,1278,1620,1984,1788,1660,2044,1946,1708,1932,1732,1900,2240,1610,767,736,900,976,1184,1434,1672,1290,727,450,306,578,1054,1078,1096,1064,960,1272,937,586,936,1026,992,1194,1040,874,804,984,1322,1386,1372,1204,839,1328,1498,1308,1458,1724,1704,1720,1494,1416,1740,1986,1666,1196,1158,1240,1180,1336,1204,771,526,516,562,1698,1826,788,398,564,524,397,544,669,689,667,954,1050,1262,1252,1096,828,557,477,621,1032,1440,2042,1732,823,1238,1614,1340,1756,1544,1206,1698,1094,1090,1288,955,987,1030,807,653,374,420,683,862,1124,950,533,405,631,826,1126,1164,683,392,361,673,1490,1614,1240,1106,1128,955,788,870,965,1104,1124,1110,1208,1344,1416,1332,1368,1730,1590,1316,1352,1390,1466,1478,1368,1452,1382,1496,1628,1434,1500,1582,1118,700,526,494,469,448,543,881,1348,1466,1466,1876,1808,1628,1862,1540,1324,1334,1168,1214,1280,1262,1246,1262,1324,1382,1484,1366,1276,1408,1404,1128,897,921,774,403,381,544,1202,2346,1354,1042,1390,1426,1432,1022,530,667,981,1068,969,1108,1040,781,821,935,979,1304,1526,1324,1364,1544,1392,1452,1636,1700,1734,1604,879,812,982,814,872,1056,1282,963,951,1394,1786,1322,1466,1554,1738,1432,1860,1392,1716,2676,1974,816,1048,1170,1140,1284,1224,709,558,586,890,1144,966,962,1072,998,919,776,625,671,822,1274,1186,1140,1174,872,672,636,745,1202,1320,1204,1138,994,1108,1300,959,838,720,612,900,1122,970,927,1066,927,776,758,546,843,1110,1162,1372,1488,1366,1066,934,830,1148,940,609,641,691,713,933,1026,906,882,1338,1318,738,434,591,818,847,892,1100,896,992,916,993,1100,1258,1084,915,915,828,957,1370,1444,1304,1064,777,853,1148,1464,1592,1374,951,837,935,1078,1170,1356,1454,988,926,1234,1340,1238,1224,956,522,453,397,603,772,597,691,892,708,672,708,944,1332,1434,1110,1332,1638,1350,1214,1158,1256,1344,1336,1290,1326,1422,1566,1064,905,1130,695,408,518,860,1156,1294,865,629,740,1044,988,1038,1508,1454,1112,885,963,1356,1216,688,1040,1482,1372,1264,979,931,1124,1142,1152,1146,1374,1170,1162,1226,1570,2322,2586,1738,688,833,951,626,881,662,600,919,781,702,676,772,858,708,556,555,623,796,1104,939,590,484,406,296,285,530,694,466,432,454,424,690,993,514,340,420,348,283,455,655,622,426,325,290,376,552,318,366,344,473,592,854,739,569,589,667,623,1422,2322,866,499,453,443,745,1086,1190,982,722,759,963,1021,1154,1180,1030,630,644,874,1012,1068,1602,1682,1074,847,1028,863,724,882,981,925,1048,974,1118,1238,1406,860,544,780,674,747,1070,1276,1094,705,480,503,753,814,948,849,996,1238,1334,1274,1302,1108,778,901,631,443,505,371,290,318,507,957,946,1060,971,664,873,1016,1104,968,1044,1208,837,552,473,576,647,599,510,653,1011,1578,2168,1750,1362,1420,1314,1104,1146,1332,1102,773,1068,1422,1478,1888,1888,1876,1780,1622,1512,1410,1462,1440,1542,1560,1350,1350,1364,1422,1470,1454,1118,1322,1252,1020,775,810,1058,847,720,969,1178,1312,1072,1042,979,1128,1006,847,1148,1044,940,970,810,766,651,454,669,1278,1502,1434,730,995,1094,1190,1272,1234,1184,1178,1156,1086,1030,1084,1342,1476,1526,1454,1328,1030,760,714,776,824,1332,1628,1334,1086,1388,1294,1324,1344,1236,1152,1302,1732,1786,1642,1642,1304,761,536,468,877,993,895,710,775,1009,1058,943,750,970,1154,1332,982,1188,946,679,522,573,1034,1468,1440,912,621,857,601,377,316,325,454,471,415,544,653,1120,1198,1338,1532,1548,1490,1550,1360,1464,1322,886,933,974,736,744,871,936,933,938,744],[670,877,1030,1244,1472,1566,1366,1322,1388,1406,1130,847,789,1013,955,834,998,1022,874,1005,1088,1252,1292,1264,1017,1056,1140,775,491,454,450,524,699,621,522,413,424,421,354,499,711,526,367,332,308,541,1072,1380,1380,1382,1015,505,451,544,548,512,507,505,500,535,609,640,756,602,599,513,411,312,288,284,432,573,612,619,436,403,380,375,464,594,839,772,526,383,383,408,560,595,357,309,312,358,350,326,376,509,824,792,845,781,475,520,855,1062,944,757,760,847,607,871,1444,1230,1092,1738,1292,1206,1326,1360,1470,1356,1528,1934,1336,1048,967,797,707,632,714,672,560,858,1126,1060,1054,1138,1048,1060,1194,1428,1224,1010,1150,1312,1312,1180,1180,1568,1366,1234,1102,1162,1532,1528,1372,1378,849,1042,1110,826,508,466,580,600,697,731,1054,1270,969,649,584,576,474,1038,1772,1578,962,730,653,648,627,893,1088,1058,1168,1140,1204,974,897,1172,1420,1242,1042,1080,1266,1034,883,1017,1092,1204,752,466,412,416,479,520,349,375,350,281,305,550,1256,1874,1802,1434,1466,1180,1224,1448,1690,1560,1248,959,679,510,434,473,523,456,438,417,368,352,336,367,371,354,484,763,1001,1182,685,373,330,311,336,321,345,346,937,1846,1816,1342,829,998,1438,2110,2100,1684,1330,1164,1070,1432,1592,1238,982,1274,1166,1788,1496,1452,963,716,698,810,869,1138,1086,1026,1070,869,1038,1190,1072,1078,1280,765,641,861,1058,1074,818,642,579,792,1013,1096,1024,770,1011,1572,1820,1520,1286,1228,1078,988,970,1168,1178,934,959,1152,1112,1058,977,901,643,468,522,610,799,1344,1870,1670,1216,1176,1314,1176,1296,1014,796,1146,1056,755,954,1244,1422,1466,1184,807,617,562,420,347,608,892,940,927,1116,1214,1482,1500,1352,1460,1486,1404,1216,1826,1948,1042,504,475,409,587,800,650,454,584,888,1302,1302,794,730,847,833,681,519,397,429,772,1302,1206,520,455,634,912,1340,1316,1046,816,861,1094,968,745,1052,917,754,669,895,850,655,547,792,835,583,937,1230,1128,912,755,970,1104,1070,830,875,983,1180,1388,1370,1328,1406,1476,1422,878,437,283,285,693,985,825,554,684,633,514,628,1112,1680,974,852,661,965,1274,1336,1124,915,717,812,983,978,1090,1340,1340,1310,985,802,521,377,552,744,611,589,1038,1356,1092,790,1306,1368,796,841,1150,1440,1452,1508,1298,1308,1158,563,318,300,538,1074,930,906,1210,1294,844,455,872,1538,1422,1206,1032,1128,1532,1142,1036,1174,1110,1110,1448,1038,938,1020,955,1216,1110,1186,1488,1732,1494,1576,1190,951,1232,788,638,1136,1284,1194,1146,1130,1130,1282,1360,1418,1258,1238,1202,1288,1312,1244,1212,1120,1288,1352,868,1158,1400,1304,910,1096,1164,1226,1344,1528,1558,994,832,1104,1142,1090,819,719,610,706,872,741,417,622,897,660,612,629,560,572,460,525,687,625,630,828,1116,1282,844,626,782,995,837,1130,1094,888,1106,1406,1180,1036,760,382,414,567,619,689,691,426,534,916,1096,871,744,1076,1474,1056,622,736,903,661,677,811,843,655,653,594,531,615,940,1212,704,511,763,940,859,572,931,1124,1106,1252,1174,916,935,1278,1272,1104,1118,1076,1164,1164,1350,1312,918,1062,1156,1122,1144,1001,716,718,680,601,582,530,499,648,764,595,658,930,921,849,595,484,653,672,476,498,462,513,587,633,896,812,1009,1002,577,924,1550,1256,720,674,720,1058,1048,1136,686,344,612,1146,1500,1288,1004,679,836,843,519,444,430,643,1036,1254,1326,1328,1102,1038,1182,1298,1072,829,1184,1300,1376,1406,1418,1388,1394,1286,1098,1086,1288,1316,988,1236,1356,1340,1100,987,629,454,983,1014,674,728,664,617,418,335,546,841,725,452,793,1192,1013,924,818,490,491,394,504,318,254,404,554,519,954,821,714,1094,1116,802,420,375,444,681,697,729,763,615,531,495,348,335,517,813,1088,1372,625,523,387,362,429,703,838,672,391,253,275,372,649,987,896,1004,932,769,916,1066,1008,644,294,336,305,323,481,606,1204,926,563,475,386,377,534,764,703,619,1108,1144,891,622,449,321,252,259,238,213,339,545,621,442,349,374,435,538,639,542,435,370,374,767,961,487,352,506,620,660,778,883,988,597,644,1402,1256,552,285,275,335,548,830,927,781,584,382,598,792,716,650,699,776,780,959,1122,690,405,347,454,709,710,648,560,376,392,518,904,1282,1208,824,477,706,821,521,369,664,947,822,891,825,599,619,533,438,408,410,381,362,360,689,689,478,410,350,250,360,690,681,374,323,262,311,433,400,411,371,421,749,887,810,958,679,505,611,600,708,441,411,678,996,652,264,247,254,320,421,638,548,330,386,354,453,821,606,346,251,514,783,758,961,1146,1228,1108,1318,823,237,221,495,971,1222,1302,1614,1974,1512,1272,622,557,951,1550,1282,1838,1298,678,807,1138,1552,1116,734,854,859,1258,1172,1318,1326,1436,1694,1782,1316,1084,1462,1668,1808,1764,1672,2110,2008,1102,619,686,820,995,1252,1576,1414,831,596,406,478,937,1126,1038,1218,1140,1138,1488,1226,832,908,896,681,1024,986,1026,1100,1122,1366,1452,1434,1228,982,1254,1542,1350,902,1160,1376,1450,1306,1460,1650,1708,1640,1296,1168,1052,1202,1630,1302,811,508,786,711,1372,1426,763,397,553,541,366,578,927,1324,888,930,832,770,1068,968,831,1116,970,800,1118,1616,1924,1596,1008,1248,1700,1334,1686,1704,1214,1596,1348,1100,1420,1002,995,1038,826,598,415,395,569,1052,1354,1028,822,713,529,673,1036,1170,862,631,746,868,1224,1240,1142,1174,1300,1182,1084,1072,926,1023,1280,1506,1556,1412,1388,1366,1432,1400,1302,1274,1368,1528,1360,1334,1548,1676,1490,1354,1346,1314,1468,1322,1042,970,783,577,491,441,420,502,726,1166,1604,1880,1750,1632,1834,1688,1370,1346,1230,1100,1130,1302,1692,1726,1400,1270,1532,1520,1514,1472,1234,1152,1012,1150,1200,1156,1106,1028,1396,1930,1580,1260,1300,1408,1162,647,589,617,846,717,684,981,990,874,906,949,990,1000,1116,1422,1544,1220,820,916,854,913,1102,1270,1038,1212,1088,819,994,946,1344,866,828,1430,1650,1086,913,1148,1362,1646,1894,1410,1434,2404,2176,1364,1476,1072,782,1234,1332,775,610,723,739,870,884,931,1224,890,715,719,634,638,1464,1676,1003,984,1072,993,854,623,691,1290,1184,830,643,612,794,1188,1046,833,741,785,1288,1256,1138,1052,1410,1414,878,615,728,980,1134,1182,1296,1926,2068,1206,895,622,810,717,1022,890,929,969,919,842,614,709,1278,1582,927,463,556,734,973,1116,1188,1042,924,952,1078,1362,1330,987,943,880,794,949,1322,1140,961,985,769,949,1302,1094,1142,1160,915,816,929,1180,1300,1178,888,1006,1244,1258,1300,1420,1258,799,472,658,856,956,547,457,900,1224,1364,1120,742,697,794,827,1010,1654,1588,1378,1146,1172,1284,1372,1296,1296,1406,1478,1420,1056,1164,1700,1094,632,709,738,1022,1332,965,515,794,1220,1028,1198,1544,1448,1138,1108,1236,1244,1328,1017,1118,1234,1200,1376,1060,1134,1296,1412,1142,1050,1030,836,798,837,1912,2768,2536,1446,670,1438,1440,760,774,788,876,673,670,968,1240,1892,1908,1126,833,981,742,761,815,647,554,567,550,451,388,611,648,414,470,654,406,544,567,336,246,352,346,331,578,744,615,343,261,242,326,540,643,691,467,388,586,951,835,687,630,654,623,849,1164,824,589,399,596,1078,1090,1038,934,661,761,1006,955,885,1042,1120,792,658,927,921,1168,1622,1592,1200,1104,1142,1144,1188,1234,938,653,730,799,901,1024,1172,874,803,940,758,847,1002,1218,1140,902,654,726,905,854,597,606,912,1264,1358,1086,908,817,547,615,425,407,430,293,274,280,681,976,860,1152,1140,1116,1030,825,915,905,1166,1374,1054,529,354,471,672,761,537,495,1076,1644,1920,1318,1072,1220,1182,1190,1312,1230,1002,1096,1310,1350,1504,1816,1808,1750,1522,1960,1934,1484,1354,1406,1528,1510,1510,1442,1278,1460,1302,949,820,1228,1286,1372,1090,838,1068,1172,927,1320,1408,1500,1122,1162,1126,1068,888,716,994,1020,811,767,683,594,725,637,711,1334,1434,1152,614,877,1264,1332,1610,1796,1238,1328,1310,1098,1290,1412,1470,1514,1312,1170,1080,777,449,580,979,1208,1744,1458,1056,1342,1502,1356,1028,1018,1330,1378,1226,1560,1704,1694,2110,1570,1180,870,1102,1384,1256,1084,1094,1330,1116,852,910,826,1296,1426,1482,1256,1252,1182,1216,980,722,1034,1488,1320,784,618,813,578,397,348,619,1052,724,583,1048,1252,1290,1015,1238,1506,1654,1278,1346,1178,1138,1184,1206,1394,1188,861,874,943,1076,1086,1364,959],[670,908,1406,1494,1580,1604,1574,1346,1388,1342,1118,990,1008,1190,1292,1162,1060,1122,1198,1146,707,871,1172,1003,655,670,716,545,462,438,590,680,628,533,462,496,512,547,509,393,289,287,314,339,303,311,685,1354,1264,1128,813,583,518,532,513,485,500,511,491,492,500,550,598,438,376,372,360,361,369,404,460,503,590,716,669,469,409,412,520,1021,1328,1066,777,645,525,473,503,537,450,346,334,323,323,336,355,414,470,520,512,471,403,539,1008,1376,1732,1198,882,806,856,1606,1700,1324,1640,2180,1106,929,727,628,772,815,1032,1232,1200,1170,1034,797,655,643,1080,1076,689,771,741,655,675,604,525,827,1882,2410,1556,1326,1126,1182,1208,1026,1160,1286,1420,1620,1170,1302,2098,1808,1056,879,597,703,1002,880,916,1264,1260,963,814,1236,1560,1148,508,435,517,512,708,1554,1732,1826,1622,1050,1046,1130,554,716,781,891,1298,1340,1214,1238,1216,1356,1346,1262,1310,1404,1514,1282,946,886,1064,1098,1082,680,377,370,389,363,379,479,437,292,286,421,672,1634,1646,1248,1404,1408,1620,1620,1466,1252,967,592,475,501,383,385,568,610,499,387,322,330,375,423,371,447,543,586,499,655,433,358,328,303,315,358,366,561,1520,2144,2308,1822,1300,1130,1548,2028,2156,1782,1378,1328,1416,1450,1324,1072,718,1140,1272,1448,901,1014,1304,1005,568,495,648,886,919,1062,940,722,791,871,894,1062,1046,764,780,1100,1444,1280,957,587,634,948,903,1044,1256,1056,1314,1704,1752,1388,1332,1302,1158,1022,1390,1206,948,711,610,958,1282,1118,993,879,562,526,700,960,837,1428,1672,1616,1298,1290,1352,1044,981,1098,1150,1272,1140,810,827,1194,1368,1284,1250,1040,601,528,545,535,899,990,693,497,556,628,924,1000,882,1272,1288,1042,1196,1668,1512,843,495,477,436,871,1024,527,383,503,1100,1466,1272,1140,953,804,908,891,623,436,520,838,1290,1007,557,513,630,769,918,858,730,790,755,891,970,616,775,791,688,593,848,769,508,620,893,953,738,1256,1504,1302,879,1014,1596,1638,1420,1196,1144,962,966,1274,1422,1540,1432,1478,1456,913,440,298,318,454,607,529,469,617,600,546,631,1566,1706,1294,946,783,1114,1354,1234,952,788,432,453,655,902,1058,798,846,872,683,691,489,343,535,827,698,645,911,967,789,679,1234,1258,764,936,1410,1376,1350,1230,1184,1382,1040,518,363,357,596,925,938,872,720,722,872,1152,1308,1426,1540,1604,1190,800,960,1284,1334,1428,1320,1404,1638,1472,1130,816,713,1066,1274,1806,1712,1554,1346,1118,1118,940,788,579,615,988,1110,1098,1088,1106,1126,1256,1534,1572,1128,971,1212,1344,1294,1222,1176,1052,1236,1016,799,1220,1598,1208,750,913,1246,1432,1314,1732,1506,699,717,825,784,951,1152,968,805,677,766,894,478,942,1134,960,1254,1040,675,377,491,683,785,764,717,565,857,1218,680,724,817,836,662,760,868,811,772,884,867,838,430,300,278,345,489,736,666,495,657,1122,1278,1272,1096,971,962,714,575,865,1124,821,638,674,886,815,662,830,1015,855,850,1322,943,861,1056,897,810,586,783,1062,1144,1128,1062,1008,1318,1318,1088,1294,880,800,984,1128,1192,808,479,620,1015,1194,1016,946,939,1402,1208,860,700,689,764,961,829,560,701,984,975,868,944,905,1328,1202,576,701,865,736,606,530,605,930,1110,618,561,1006,1260,878,668,816,1012,1094,1024,1156,976,545,450,823,1354,1208,1010,959,688,854,817,602,440,598,1068,1312,1322,1262,1162,1290,1138,959,843,1120,1314,1436,1478,1476,1482,1106,739,817,932,880,1136,896,885,859,1098,1240,1310,1320,1140,1134,1272,1082,649,737,993,695,437,377,433,488,411,504,1102,1514,1332,1006,963,871,557,428,535,333,286,338,306,359,689,661,668,1070,863,681,370,302,444,926,875,894,855,705,1004,1066,363,355,477,886,560,289,345,399,577,440,326,616,649,287,268,253,361,570,642,1074,1016,850,828,755,933,1112,1244,1110,594,833,549,402,425,448,1088,919,417,349,394,433,556,719,631,642,1038,1244,1104,624,401,274,226,200,228,247,288,419,537,431,496,494,459,420,394,437,339,342,539,755,764,623,332,446,543,959,1346,872,642,567,617,612,360,309,354,405,337,342,461,628,546,521,371,585,645,838,994,897,818,659,606,525,334,318,353,569,603,592,849,863,620,434,316,440,813,930,634,371,759,841,714,470,613,898,757,907,1092,650,581,512,425,392,389,373,364,346,641,758,507,393,347,262,301,653,695,443,369,289,257,367,512,506,299,387,940,1048,705,852,921,627,724,816,914,587,294,354,521,520,468,517,437,399,586,958,664,336,522,526,422,518,595,650,717,1024,1286,1278,1116,865,795,1050,2038,1740,1284,1080,1022,1092,899,1140,1304,1480,1514,1330,767,702,1078,1632,1748,2172,1334,552,772,1012,1470,1290,894,885,933,1362,1003,1152,1562,1732,1828,1602,1078,1200,1514,1724,1632,1480,1742,2038,1566,744,560,617,816,1017,1318,1606,957,581,491,369,685,1178,1126,1144,1248,1134,1294,1572,1376,1021,868,1060,1168,1440,888,838,1046,1128,1208,1272,1244,969,774,1344,2216,2368,781,681,1120,1218,1206,1054,1096,1512,1640,1262,1250,915,1162,1490,1226,707,357,548,493,394,503,595,453,537,499,368,624,811,1120,894,970,942,894,1036,711,658,1236,1400,1180,1380,1598,1592,1488,1114,1482,1758,1264,1496,1486,1050,1464,1486,1080,1518,1654,1444,1212,988,681,434,440,558,865,1140,1000,701,635,537,885,1168,775,727,705,896,1086,1062,1108,1324,1614,1538,1230,1276,1346,1210,1360,1376,1444,1424,924,1032,1410,1456,1368,1522,1392,1288,1360,1286,1490,1578,1628,1570,1498,1384,1368,1422,1208,1158,1332,1140,694,634,497,436,466,491,602,963,1120,1044,1204,1688,1848,1384,1380,1310,1082,1260,1288,1376,1594,1310,1340,1638,1478,1532,1672,1236,1094,1058,1252,1282,1660,1670,1606,1478,1490,1628,1534,1202,1236,1092,488,481,540,690,558,533,625,790,978,1007,1178,1284,1152,1138,1414,1182,743,513,651,630,545,788,1082,1094,1332,1284,866,924,940,1058,763,707,941,1074,1024,708,580,792,1238,1438,1262,1324,1614,2156,1740,1620,1284,1280,1598,1606,1144,984,1194,854,768,1042,1166,1248,937,858,1016,926,854,1216,1042,902,1236,1468,1614,1640,966,543,761,808,1068,913,586,602,932,1368,1460,1184,1294,1888,1432,1472,1634,1732,1570,1082,933,974,930,993,1180,1350,1456,1344,1188,871,645,822,1126,1648,1742,1706,1282,1001,865,671,772,1112,1522,959,503,537,843,964,1106,1194,1056,1214,1438,1534,1556,1350,1052,1034,996,863,1100,1358,1090,910,945,778,1062,1266,747,689,782,833,973,1118,1342,1192,789,860,1304,1522,1050,1010,1286,1262,734,561,977,1234,956,457,568,872,1056,1268,1278,1060,473,503,713,1192,1324,974,1090,1166,1416,1344,1070,1028,1070,1144,1404,1448,1350,1448,1350,912,1222,1498,975,1082,1604,1456,1016,1132,1122,788,949,1426,1564,1240,1340,1538,1180,1140,1202,875,772,866,1128,1116,1058,1186,1326,1100,1146,931,802,808,1228,2512,2932,2138,1030,608,949,1224,791,509,899,1058,648,758,1200,1784,2258,1700,1078,951,815,644,521,432,448,589,625,466,393,457,468,322,412,800,1392,601,398,446,404,385,372,342,342,509,542,405,246,227,243,301,591,1398,1500,841,646,1023,1190,1042,913,767,716,784,812,965,970,724,483,650,818,659,743,789,774,1090,1266,1098,836,1009,1068,1082,691,631,816,1064,1228,1292,1300,1194,1236,1352,1382,1360,970,654,917,1072,695,802,950,883,1350,1432,997,1138,1072,1072,1156,933,705,588,816,969,856,810,915,1322,1386,1008,484,542,541,603,520,395,335,298,288,357,673,822,741,849,1234,1266,700,573,587,802,1320,1298,819,552,302,399,575,780,685,614,1000,1420,1418,1272,1288,1188,1222,1504,1672,1102,795,917,875,1094,1344,1758,1826,1726,1710,2112,1812,1220,1158,1306,1282,1372,1384,1314,1096,944,837,804,733,958,1206,1162,858,553,771,1094,1154,1296,1030,1156,979,969,892,742,791,932,1126,1062,924,926,822,501,698,666,531,1030,1406,1134,1026,1316,1482,1814,2040,1892,1042,1112,1460,1216,1128,1324,1476,1386,1013,711,507,467,550,777,988,1274,1596,939,622,911,1406,1422,1056,985,1172,1312,1236,1528,1754,1716,1562,1560,1536,1422,1572,1512,1356,1166,1112,1312,1054,906,866,1058,1382,1456,1570,1464,991,847,1082,1098,1034,1134,1460,1294,849,589,449,404,360,444,725,1058,1021,870,1144,1262,1354,1356,1450,1498,1580,1362,1362,1294,1338,1400,1326,1334,1284,1062,1050,1092,1090,1360,1248,753],[524,688,819,1172,1330,1252,1472,1386,1068,880,645,777,1192,1172,1208,759,785,1152,1266,1110,707,901,1152,892,605,587,619,469,473,533,520,580,675,659,491,480,494,539,571,518,410,346,315,325,338,445,893,1360,1386,1028,634,473,461,485,452,470,474,468,477,458,452,500,443,491,540,467,410,412,422,593,584,441,541,744,752,609,476,394,524,979,1148,1058,957,770,655,516,485,484,410,360,346,307,314,380,508,424,403,486,471,428,504,708,1472,2612,3308,2132,573,584,1100,2252,1870,1324,1250,1344,1098,918,799,799,730,673,894,1234,1562,942,721,871,820,686,853,934,970,755,505,478,494,473,460,654,1726,1748,1206,1444,1376,1102,999,770,767,688,876,1300,891,874,1272,1156,683,624,798,820,1015,1182,1484,1488,1328,1248,1054,1376,1136,716,479,602,546,417,617,996,1494,1776,1482,1290,1114,766,501,528,811,1086,1228,1142,1142,1046,958,1212,1434,1446,1350,1434,1288,1150,1166,1296,1548,1108,1146,1072,621,326,331,441,505,655,572,354,304,377,467,953,940,993,1406,1550,1360,1322,1268,1090,814,482,388,404,416,408,772,1070,872,516,453,356,398,466,368,415,411,338,332,347,336,314,321,301,284,358,324,509,1370,2122,2036,1570,1176,968,1362,1960,1956,1388,1024,1001,955,1126,1346,1060,1094,1272,1346,935,483,508,1030,1264,872,653,752,771,774,857,755,1200,970,959,988,1003,1162,1026,995,1436,1580,1086,1198,844,1728,1432,835,897,915,1126,1666,1908,1416,1334,1302,1094,808,702,1332,1168,646,700,755,932,1186,1174,1024,750,707,963,941,963,1066,919,934,1300,1412,1410,1328,1060,1058,1226,1178,1240,1250,710,493,785,1084,1000,1066,1023,802,733,567,858,1096,690,512,592,543,665,915,981,1026,1052,1000,1090,1232,1164,1012,878,949,907,570,682,725,646,487,764,1334,1298,955,664,592,810,1384,1416,739,611,570,655,888,827,627,484,430,396,373,437,482,494,542,1016,1118,823,637,711,713,749,988,841,639,943,1026,1038,764,921,1042,1088,1142,1226,1678,1726,1208,1016,1144,693,624,940,1414,1444,1314,1412,885,414,322,273,439,725,600,441,519,565,559,573,771,1370,1360,976,760,1026,1048,919,888,495,532,638,549,513,744,884,530,439,509,852,1116,787,576,756,1142,959,1084,1066,1474,1434,1234,1286,1270,1138,1324,1368,1298,1122,1052,1264,1326,1048,503,363,449,618,782,1016,1064,875,504,616,1000,808,868,1162,1126,1110,1306,1352,1430,1744,1948,1794,1558,1324,1202,1246,1090,844,1356,1540,1896,1542,1334,1100,1068,935,430,354,398,720,1210,1172,1188,1284,1514,1384,1174,1320,1410,1060,912,1260,1302,1266,1102,1120,1074,897,748,839,1282,1698,1222,631,807,1046,1412,1218,1198,812,595,684,636,644,771,1082,1222,1054,890,1216,1048,698,947,912,1102,1680,2038,1064,491,703,1016,1294,935,984,966,892,1166,831,745,646,685,730,715,1058,1076,836,1028,1078,916,631,563,886,1048,899,569,462,575,662,771,1068,1290,1032,1018,725,612,605,915,1432,1392,1018,702,694,884,980,1178,1212,1174,1122,1248,901,830,995,754,617,516,697,1003,1058,1200,1316,1486,1726,1300,880,1048,706,847,1058,1056,889,544,417,558,989,1218,1136,1280,1258,1628,1570,1140,1040,1088,1198,1214,743,606,734,797,875,997,1440,1206,1292,1212,939,1434,1638,1046,965,887,760,1066,831,497,618,943,771,922,1072,1130,1268,1212,1132,1212,1044,769,607,803,866,1178,1092,1200,870,640,850,850,538,583,973,1050,1206,1328,1216,1136,999,1024,1218,1286,894,733,940,1252,1456,820,516,953,1012,771,1216,1170,722,550,648,736,960,1116,1230,1194,1344,1202,908,642,728,659,548,511,546,510,448,855,1378,1616,1338,911,1252,1114,989,641,490,426,480,604,628,457,601,844,927,1196,832,660,515,349,734,1616,1454,688,519,633,1054,1236,379,289,336,737,501,331,368,650,929,654,270,314,370,462,697,895,1414,1456,922,1086,1140,1016,910,755,962,1462,1580,1588,1064,1462,984,595,482,719,1250,1036,469,309,294,445,724,664,393,265,338,653,708,560,418,411,365,280,322,419,546,532,394,578,611,469,354,343,397,486,351,297,456,582,674,631,350,392,402,589,1058,807,404,373,339,367,370,308,354,458,312,234,287,378,344,352,302,448,573,596,730,814,761,585,487,334,467,573,385,322,280,484,907,1116,805,492,278,311,479,511,403,265,626,763,655,413,511,905,777,799,1120,654,514,470,409,404,411,372,385,375,570,800,539,348,250,261,277,695,763,515,408,398,444,618,854,904,636,653,885,963,784,908,823,647,506,481,605,502,441,641,767,822,743,982,609,326,566,693,446,227,396,747,854,785,1002,1090,1070,1010,758,561,467,527,768,1009,1426,1630,1538,1192,1003,1128,1090,949,1344,1372,1412,1009,675,683,1080,1238,1702,2162,1032,586,723,1142,1482,1494,1298,1372,1602,1598,1146,1130,1788,2154,2076,1782,1328,1422,1582,1814,1470,1406,1370,1478,1054,630,581,706,1152,1510,1598,1548,727,591,616,564,916,1202,1370,1316,1172,1198,1208,1382,1164,1434,1076,1012,1146,1484,992,471,445,469,539,598,602,574,587,1362,2024,2080,1172,921,1466,1890,1584,1274,1266,1304,1314,1034,785,926,1198,1322,1198,727,359,339,372,341,494,688,513,454,336,306,576,654,771,763,736,702,754,866,891,865,1396,1590,1484,1494,1528,1744,1744,1586,1744,1650,1312,1338,1130,921,998,1216,1244,1486,2030,1958,1486,1090,749,488,650,720,570,586,590,498,503,600,814,1026,855,737,725,833,1021,1332,1312,1346,1434,1308,1240,1386,1540,1392,1292,1300,1334,1142,832,936,1180,1342,1400,1494,1344,1444,1516,1548,1442,1356,1368,1426,1358,1254,1340,1360,1214,1080,1230,1104,824,765,651,586,532,497,487,478,502,575,698,1184,1808,1540,2132,2178,1350,1272,1288,1622,1776,1588,1666,1438,1410,1636,1704,1324,1202,929,1280,1314,1530,1860,1830,1432,1202,1298,1426,1186,1354,1434,750,418,415,724,727,487,832,1310,1116,1220,1168,982,906,1158,1228,1178,767,678,811,692,743,1070,1188,944,1046,700,781,894,1030,1108,1023,1078,1126,1192,828,520,562,855,1306,1148,1212,1206,1320,1688,1836,1824,1518,1466,1542,1406,1340,1230,1262,1176,1028,1182,1250,1418,1432,1378,1198,1102,940,668,862,941,953,1224,1372,1514,962,483,533,667,973,806,727,752,798,1358,1498,1242,1306,1702,1274,1344,1360,1222,1170,1276,1306,896,763,989,1218,1036,1096,996,836,610,808,938,1268,1242,1028,1007,873,851,742,740,720,960,1074,596,441,574,739,958,1232,1148,1056,1218,1324,1450,1244,1364,963,789,888,928,1136,1318,1150,1010,962,792,1218,1130,833,721,764,683,551,760,1021,931,1038,1212,1066,1064,720,823,1224,1072,905,763,846,880,564,400,489,662,968,761,778,720,433,459,769,1262,1156,773,626,963,1490,1316,797,895,1204,1476,1298,1334,1440,1498,1530,1410,1708,1684,1112,1256,1268,1266,1240,1312,1208,1054,1318,1414,1142,1026,1228,1314,1160,1184,1226,1070,1040,1056,1084,989,706,565,749,949,994,708,679,957,1532,2490,2180,926,491,495,604,791,764,851,1220,1062,567,721,1336,1916,1974,1452,1066,835,704,719,705,922,1550,2170,1740,996,1018,711,373,327,342,582,666,336,275,301,301,265,358,500,805,1196,656,398,297,254,242,328,652,1612,1860,876,670,994,806,719,741,561,632,803,820,965,935,607,301,329,330,301,560,681,982,1210,1276,973,836,1166,1108,879,1362,1920,1414,1114,1098,1218,1150,1240,1354,1360,1394,1260,1092,767,959,1166,999,1082,1220,1394,1440,1388,1292,1360,1366,1124,1180,1074,953,896,915,850,978,1106,1250,1250,863,683,646,571,440,499,594,488,361,346,377,676,952,937,657,882,1268,847,393,330,385,621,954,825,645,702,445,485,542,689,883,1092,1358,1466,1316,1202,1120,1304,1386,1534,1758,1320,1188,1256,1604,1520,1386,1686,1876,1916,2072,1918,1360,1146,1186,1320,1366,1214,1122,1200,902,973,1234,988,903,1228,1162,1168,1318,727,833,1026,1482,1752,1118,761,689,880,1192,1240,1126,1126,1068,1015,1168,1164,1130,804,675,580,596,962,1188,1232,1560,1596,1668,1726,1552,1426,1094,1030,1542,1478,1332,1432,1250,1128,916,763,372,444,727,828,1016,1460,1438,900,490,568,941,1042,916,1134,1294,1360,1252,1484,1750,1770,1702,1798,1702,1646,1400,1542,1926,1750,1180,1200,1428,1010,710,1090,1456,1312,1088,857,708,1044,968,1003,1188,1232,1234,1172,1144,788,428,450,353,315,590,1258,1396,1226,1330,1490,1624,1562,1396,1240,1310,1428,1440,1504,1538,1492,1400,1354,1350,1196,1108,896,834,1050,808,514],[534,950,912,912,1028,1134,1362,1130,880,698,580,622,817,1140,1009,572,822,995,1030,879,572,804,813,605,504,521,516,473,406,444,484,387,534,550,482,443,423,426,495,541,408,310,280,328,371,615,998,1290,1300,967,652,498,502,484,448,468,460,416,463,571,709,658,771,1068,992,683,481,513,490,555,543,529,610,608,731,599,497,452,532,943,1018,1226,1060,747,521,457,419,383,383,407,375,355,476,908,954,537,511,548,562,639,820,1306,2610,3322,3162,1584,567,528,1364,2286,1866,1036,740,855,1019,1124,1200,1186,1124,1196,1208,1432,1840,1296,1164,1430,1060,727,1090,1578,1324,780,513,466,469,419,385,482,1176,1146,1108,1360,1392,1258,1017,984,1054,821,930,1132,1094,721,656,814,609,479,637,985,1272,1172,840,841,1164,1394,1372,1562,1076,640,829,1272,919,354,332,406,677,1030,1154,1180,1126,694,720,925,1178,1352,1060,892,1048,1108,1318,1572,1584,1466,1148,1214,1038,1048,1250,1114,947,888,1048,1260,1150,704,573,556,553,678,473,363,307,325,409,946,1498,1292,1268,1056,662,922,912,664,569,445,363,467,427,396,719,1110,1064,726,758,425,358,347,346,340,363,344,339,381,401,420,333,292,306,353,561,605,629,1356,1750,1226,836,708,753,1094,1582,1300,1066,1023,829,1110,1526,1324,1270,1318,904,446,391,399,625,1094,1600,1466,1186,780,676,529,642,735,496,747,1020,874,638,738,1058,1272,1046,920,1052,1400,1922,1516,1184,1100,869,754,1106,1324,1208,1568,1386,842,473,376,489,449,356,586,1028,1186,1038,1144,1096,1170,1266,1494,1564,1598,1506,1166,1018,1096,1330,1490,1358,1240,1464,1294,1032,1138,1104,669,584,1020,1226,1000,919,962,855,921,893,786,810,1064,1032,1124,883,677,812,931,839,791,1104,1308,1238,1348,1208,1258,1466,1386,929,781,928,957,807,878,1064,1132,1009,781,758,1114,1606,1578,1186,950,833,1238,1440,1054,852,792,581,460,446,473,684,947,1096,1026,781,657,754,808,744,874,811,850,886,1168,1248,1090,825,648,632,661,519,613,922,777,520,450,562,422,422,489,535,646,1250,1498,868,337,306,406,600,758,502,303,381,345,430,490,656,1152,1506,1278,1064,1136,1056,1046,1050,815,927,1258,1138,785,620,476,394,412,472,669,793,526,529,841,1182,877,912,1150,1382,1212,1124,1360,1338,1342,1526,1302,1230,1026,1192,1402,1402,1058,623,411,509,551,589,728,642,470,296,498,929,886,739,954,813,749,1042,1278,1438,1696,1752,1712,1460,1310,1256,1580,1078,803,1274,1300,1214,1204,1090,966,1200,1044,577,411,501,844,1268,1132,1044,1334,1678,1466,1252,1312,1358,1118,1076,1240,1086,1180,1202,1298,1406,1318,1094,949,1424,1848,1322,623,764,639,684,929,791,619,595,659,615,550,771,1306,1324,974,678,1358,1312,1042,1021,844,1104,1614,1530,780,539,904,1232,1334,882,1252,1548,1210,1020,932,937,841,838,772,720,1040,1072,1512,1520,979,886,863,740,1030,1048,824,834,865,753,809,1048,1472,1164,599,666,678,636,550,676,1124,1360,1128,816,947,1017,1098,1192,1192,1144,1032,991,792,775,730,481,601,912,797,711,1078,1122,1412,1310,1372,1242,1170,1312,1198,1236,1278,959,658,513,579,914,1250,1290,1019,1184,1082,1216,1316,1114,1094,1184,1312,1500,1062,905,1168,1168,927,1070,1306,1146,975,927,1074,1534,1210,573,716,703,989,1064,565,436,531,735,872,1128,1056,985,1278,1282,1130,929,854,902,648,546,604,1220,1296,1166,993,636,700,895,603,546,1005,1017,797,871,913,1030,1210,1222,1098,904,592,572,633,1048,1450,733,445,685,893,1068,1240,1188,1072,860,769,543,560,815,910,1016,946,1166,1226,1098,881,653,576,603,636,455,574,932,1236,1410,814,1954,2588,1992,1364,747,473,659,783,637,769,584,690,1284,1310,1146,787,682,683,399,621,1172,912,346,424,442,694,855,522,441,465,699,512,353,586,940,1194,943,336,356,680,1226,1598,1494,1410,937,567,796,1096,1122,922,808,932,1410,1328,1618,1216,1522,1232,613,398,730,1322,1198,467,294,276,331,676,659,491,389,357,401,695,772,582,415,322,258,321,550,834,719,452,330,238,391,572,562,703,689,411,521,581,663,625,448,295,350,389,272,339,327,364,419,356,442,478,481,637,745,550,418,548,503,375,325,351,485,672,523,656,741,625,438,456,604,987,999,583,356,335,455,645,990,616,400,292,306,469,782,874,532,415,535,423,322,466,811,785,666,886,585,460,482,441,446,435,383,398,375,473,824,608,358,269,259,262,752,1023,783,541,393,435,697,959,637,549,1019,1134,932,624,818,889,708,489,497,561,654,602,850,1110,791,617,820,505,365,365,295,273,263,435,861,959,973,1102,836,595,530,572,552,617,841,1024,945,828,850,932,1006,482,488,915,949,1176,1238,1008,638,398,662,1152,1208,1330,1566,708,563,974,1390,1230,1340,1522,1530,1460,1384,1206,1102,1300,1432,1666,1870,1474,1370,1602,1370,1446,1624,1474,1042,615,570,650,849,1190,1678,1688,1004,500,354,789,1352,1400,1372,1506,1244,1246,1340,1244,1422,1552,2346,1612,961,1015,1406,1234,678,739,899,723,404,304,321,440,1230,1450,1456,1498,1470,1788,1742,1288,1018,973,1074,1182,1472,1460,1522,1250,802,776,714,401,349,426,404,427,726,764,558,437,342,366,432,534,593,728,855,807,851,962,991,972,815,725,810,800,769,1198,1456,1376,1574,1460,1380,1306,1118,1070,1144,1314,1404,1644,1556,1312,1430,1244,586,622,714,554,591,570,634,522,541,572,586,847,954,958,955,839,1312,1286,1284,1312,1282,1296,1306,1520,1490,1400,1358,1196,909,814,855,1134,1406,1296,1272,1246,1490,1638,1626,1350,1418,1614,1514,1380,1418,1528,1394,1286,1224,1554,1270,935,1030,949,678,581,609,511,499,543,563,595,1010,1410,1224,1736,1516,1254,1376,1250,1280,1428,1808,1628,1322,1208,1208,1238,1282,1124,1009,1376,1346,1180,1472,1450,919,854,1006,1152,1636,1926,1764,1116,653,569,771,720,769,1580,2206,2090,1518,1292,1074,678,892,924,661,474,727,784,772,874,1186,1250,1042,1520,1108,1262,1246,1278,1128,932,1012,1124,1322,1160,919,813,1058,1180,1184,1050,946,1026,1032,1384,1670,1708,1496,1242,1272,1438,1224,1021,1054,1198,1342,1334,1330,1336,1138,1108,1288,1246,937,846,642,648,553,578,688,491,448,683,895,932,1118,1440,1302,869,1204,1230,926,1058,1294,1166,1164,1108,1100,1166,1306,1372,1044,979,1226,1590,1368,1226,1226,1011,982,1080,1212,1278,909,966,1020,949,921,889,979,816,995,979,503,386,521,525,784,1064,1058,1106,1048,1078,1324,1426,1306,838,677,830,963,1096,1210,1094,1062,974,810,1364,1228,983,801,841,730,495,570,890,977,810,1154,984,527,596,1370,1448,842,824,1036,1172,724,393,473,581,983,1488,971,800,780,775,841,971,1258,1330,984,612,730,1244,1386,1080,1120,1366,1366,1174,1188,1456,1732,1828,1510,1490,1388,1528,1768,1316,1120,997,895,824,874,1276,1414,1104,850,790,787,1144,1234,1196,1350,1260,1100,991,867,714,425,405,619,584,469,777,766,828,1150,868,627,739,649,604,684,764,1066,1480,1148,601,721,1332,1366,1364,1246,1070,799,918,1160,1072,1460,2258,2852,2584,1828,1472,775,376,299,287,313,324,364,310,263,249,274,395,628,1294,1390,753,485,358,259,249,291,624,1424,1760,902,539,807,836,704,620,419,387,483,674,720,612,417,288,312,343,395,625,902,1120,1174,1122,888,1076,1302,1172,1088,1562,2012,1604,1300,1354,1382,1418,1466,1104,1040,1224,1182,1152,1132,974,1058,1184,951,844,834,722,1006,1260,1314,1416,1150,1108,1226,1174,1316,1206,894,1044,1372,1192,792,405,452,612,514,405,476,576,572,472,327,347,686,861,871,665,728,827,553,380,322,331,526,844,882,836,893,666,677,674,785,1108,1422,1542,1462,1476,1196,872,996,1122,1366,1498,1452,1352,1584,1852,1542,1410,1512,1704,1818,1696,1360,1354,1274,1310,1284,1010,869,995,1242,1382,1538,1512,1312,1412,1626,1188,1238,1442,966,1234,1418,1186,1400,1400,942,813,1176,1444,1350,1058,1238,1400,1482,1470,1302,1262,981,625,562,824,1180,1306,1498,1652,1560,1502,1394,1352,1476,1396,1206,1352,1426,1354,1268,1070,1172,1188,785,469,559,946,888,1064,1492,1460,1114,875,615,692,867,1007,1372,1444,1332,1302,1436,1476,1452,1614,1760,1702,1512,1166,1146,1864,1938,1506,1222,1058,888,962,1316,1614,1274,877,642,568,655,590,899,1214,1372,1366,1470,1556,1015,432,473,380,301,470,966,869,680,626,1062,1356,1460,1548,1316,1310,1562,1406,1484,1296,1382,1538,1408,1490,1532,1184,735,631,726,697,587],[548,1013,1068,1046,1316,1242,894,638,554,603,664,662,857,1240,1184,783,724,765,822,673,547,700,741,507,445,429,412,462,406,368,364,362,353,385,487,443,458,447,568,661,444,332,310,294,514,963,1190,1094,750,638,555,605,772,577,480,529,493,444,451,624,876,991,1168,1274,925,617,503,623,653,670,742,1150,1016,639,567,429,541,452,354,576,727,1023,890,684,560,514,424,331,346,380,370,373,589,1202,844,485,547,563,712,968,1032,898,741,1062,1358,476,523,543,1578,2254,1874,1132,700,748,1064,1304,1466,1410,1366,1188,1158,1466,1416,1390,1254,1052,727,558,828,1070,970,866,608,474,428,417,380,456,696,895,1002,974,962,786,698,1322,1620,1490,1212,1058,1018,681,636,810,744,515,601,943,1042,730,480,550,873,1160,1274,1146,869,831,925,1046,687,407,372,391,435,734,685,653,654,594,938,1012,965,1316,1288,1082,1074,1336,1496,1432,1152,1110,1062,1116,1202,1080,891,977,1238,1132,985,1132,1382,1406,1206,777,491,401,319,310,295,323,316,811,1528,964,662,903,651,880,827,635,455,459,536,551,540,695,1023,1580,1442,1140,917,486,320,299,310,320,351,324,318,358,447,600,454,337,306,706,1500,1386,866,826,1026,1084,846,606,554,624,982,1268,1448,1458,1094,1230,1422,1362,1472,1346,750,455,392,477,781,918,1438,1658,1426,1138,750,474,477,418,379,472,683,835,449,687,1078,1352,1340,933,574,1106,1484,1478,1708,1172,845,718,650,805,1512,1560,1154,935,706,491,398,362,462,678,734,892,1208,1314,1110,1184,1188,1294,1538,1600,1422,1238,1050,966,1462,1648,1520,1474,1594,1490,1020,1142,921,771,971,1180,1302,1172,661,752,618,966,1344,1356,1344,1648,1490,1232,993,763,788,1234,1188,1130,1272,1590,1009,1082,1070,1036,1028,973,996,1286,1458,1418,1388,1084,783,899,733,908,984,1166,1482,1404,1194,1082,1005,1266,1494,1166,1104,1390,1082,681,640,1023,1150,902,725,539,333,496,905,1009,779,807,589,907,1314,1426,1046,837,865,950,939,517,415,712,863,384,317,361,421,358,387,429,370,476,1060,1410,914,381,309,443,590,669,413,406,419,337,292,288,434,824,1272,1252,1116,1076,1156,1246,1184,1128,1112,1172,1042,936,659,402,322,347,344,348,447,439,403,877,1260,1212,1188,1140,1084,999,1166,1516,1174,1330,1214,1256,1188,1050,1176,1300,1300,830,499,641,761,596,638,770,827,738,412,491,951,1260,1220,1122,808,902,1358,1394,1528,1622,1484,1534,1594,1442,1168,1166,1006,1186,1478,1262,1018,1019,1108,1158,1218,1096,899,939,950,1170,1250,1092,888,998,1316,1310,1190,1202,1342,1080,1120,1302,1236,1202,1272,1418,1432,1504,1270,939,1478,1964,1266,608,666,610,474,482,418,428,611,780,734,650,1166,1648,1150,873,610,866,1308,1282,1013,950,855,966,1064,957,1246,1614,1766,1548,1222,1102,1014,1070,1009,1130,1296,984,1038,1062,940,1292,1452,2108,1672,1108,937,659,521,684,617,542,764,800,539,662,1048,1454,949,492,666,921,749,435,607,1156,1478,1276,980,1302,1042,963,918,985,843,800,721,530,651,716,684,628,815,756,792,1324,1080,1246,1146,1266,1296,1076,1422,1410,1268,1146,939,826,684,972,1268,1172,1200,865,576,624,893,1078,1009,986,1140,1366,1610,1852,1366,1098,1134,1200,1248,946,578,672,711,772,901,746,534,523,560,1032,747,559,629,901,1090,1021,1148,1102,1106,1166,1024,982,678,1082,1476,1090,591,437,827,1210,1210,1154,780,632,892,782,492,832,933,761,946,1200,1218,1340,1226,634,528,717,1036,1166,1276,1142,600,397,408,499,1092,1518,1366,1224,1044,1252,1362,894,495,495,542,711,971,1116,1240,1194,1001,545,532,585,568,891,777,764,872,1254,2526,2244,2548,3220,1694,823,1216,1300,713,535,748,847,1434,1538,1470,1104,635,473,339,355,514,532,412,373,326,434,554,963,1282,1092,871,614,379,576,762,1062,1124,474,442,880,1410,1472,1196,774,558,711,711,827,1032,797,1100,1306,966,960,1256,1080,1098,960,473,391,590,982,791,504,473,567,393,590,806,731,585,433,446,625,600,725,682,625,368,352,709,1220,875,568,536,450,955,1256,1198,1536,1150,503,419,686,810,474,282,280,374,497,463,382,498,609,664,594,642,741,794,636,604,633,560,508,463,417,372,497,772,797,509,587,727,592,559,692,763,989,1074,780,436,412,448,425,454,339,260,247,328,507,828,948,716,383,394,302,284,447,690,747,650,623,470,413,474,452,468,444,421,395,401,407,791,683,465,336,287,243,535,976,1122,983,752,738,1018,1023,893,1566,1580,1266,1012,535,362,503,594,525,858,1130,1440,791,933,875,420,371,378,310,409,487,445,584,461,448,613,542,516,468,343,390,395,471,585,700,838,1048,1088,1024,877,1160,753,294,252,741,1100,1252,954,542,600,738,824,1208,1166,811,503,421,750,1340,1372,1218,1302,1170,1144,1404,1384,996,1302,1426,1528,1786,1792,1554,1312,1168,1362,1678,1584,1362,739,558,563,656,910,958,1406,1256,694,415,345,805,1376,1388,1136,1246,1540,1656,1306,1360,1494,1622,2198,1786,998,982,1346,1298,757,940,1194,1004,488,313,330,385,1002,1278,1474,1862,1506,1506,1228,991,888,875,1154,1270,1360,1376,1482,1116,630,575,609,414,378,628,833,435,480,780,693,460,413,441,437,377,412,691,656,600,606,461,583,725,811,686,655,613,608,780,850,899,1150,1052,830,955,719,558,490,794,1284,1210,903,1250,1620,1844,1044,695,832,1092,991,921,807,541,472,424,531,883,993,1064,1066,926,1268,1288,1386,1378,1356,1318,1282,1428,1346,1350,1464,1296,1444,1726,1128,1206,1021,639,897,1136,1216,1406,1332,1336,1618,1488,1246,1218,1400,1640,1476,1358,1318,1850,1702,1396,1350,1116,894,731,769,708,619,598,564,619,982,1128,1216,1382,1354,1482,1520,1448,1372,1324,1254,1154,1400,1332,1256,1140,1288,1012,776,1166,1240,1306,1628,1342,1072,1058,1262,1704,2248,2250,1866,1356,955,841,968,1056,1202,1958,2944,3196,2042,1474,951,724,820,577,307,444,710,694,975,766,863,1120,983,1156,947,1052,1080,976,1026,1032,1080,1246,1112,1188,1238,1260,1504,1402,1344,1078,1060,1046,1078,1028,1260,1298,1566,1708,1620,1644,1622,1614,1596,1474,1376,1340,1344,1324,1114,1088,1214,1122,889,614,656,840,612,424,377,339,578,884,747,760,991,1226,1302,883,982,1172,1276,1400,1378,1296,1226,1180,1224,1126,945,850,1196,1218,1000,1358,1426,1140,1084,1012,988,1094,1160,919,694,1058,1060,893,899,916,976,854,966,1038,539,384,514,572,761,1110,1250,1034,977,1204,1416,1554,1456,964,725,834,967,967,1048,915,924,950,941,1136,1082,916,742,763,739,519,741,1324,1210,845,918,814,678,950,1246,1036,1015,1108,1310,1318,716,652,804,598,673,950,1018,1116,1226,1366,1216,1034,1034,1096,905,832,980,1064,1064,1252,1526,1526,1120,839,1094,1206,1034,934,1154,1060,1336,1338,1214,905,1032,1005,977,1060,1034,983,1068,1086,1086,1180,1112,1474,1414,1009,1242,1164,895,789,678,704,555,627,735,819,907,1082,985,757,554,482,747,995,775,759,798,738,913,1396,1010,636,852,1210,940,724,557,590,620,692,825,756,1040,1772,2320,1832,1292,822,442,348,256,235,320,425,381,295,270,332,372,474,501,777,759,619,523,361,239,226,266,503,1088,1190,719,546,1140,1214,919,779,691,617,708,827,592,382,315,438,590,613,608,638,907,1142,1200,1158,1198,1550,1538,1444,1154,1070,1344,1184,1260,1360,1260,1130,1074,1020,1130,1264,1144,992,1017,898,955,774,565,601,573,581,1110,1256,1096,1090,758,833,1284,1274,1440,1178,1136,1144,1110,895,626,441,429,429,428,455,503,532,625,558,358,471,525,491,443,419,666,761,415,360,429,419,460,600,985,1036,1102,800,719,936,998,1112,1434,1288,1176,1382,1372,1108,1008,1004,1166,1320,1418,1386,1288,1190,1306,1526,1450,1522,1664,1790,1336,1192,1128,1136,936,848,1062,1368,1530,1386,1204,1826,1942,1548,1204,1026,1448,1614,1446,1542,1404,915,876,1198,1266,1126,1026,1116,1088,1152,1442,1466,1524,1614,1392,1080,981,741,742,1020,1318,1418,1576,1714,1678,1596,1672,1628,1628,1416,1188,1334,1542,1414,1290,1378,1434,1318,1023,974,1144,1156,954,1030,1302,1428,1162,1034,736,949,894,1236,1276,1258,1542,1720,1494,1462,1378,1548,1802,1666,1184,988,921,1136,1496,1410,1108,1090,1170,1242,1426,1308,1026,849,943,800,506,511,760,966,1002,1176,1432,1234,865,450,402,351,295,429,529,328,282,361,819,1130,1188,1338,1160,1268,1584,1584,1654,1438,1164,1080,1048,1276,1400,1224,1020,711,720,849,650],[365,826,1158,1214,1234,1082,733,751,663,809,1034,1114,1172,1332,1272,991,897,846,761,807,709,993,940,659,542,455,390,376,372,365,377,355,350,356,460,438,441,479,518,426,380,335,309,350,645,1216,1428,886,660,707,566,550,646,537,473,630,611,424,449,569,763,868,951,846,763,756,700,759,849,919,1009,1320,1158,800,697,694,764,854,747,442,448,471,483,514,559,517,407,307,359,330,317,308,719,1284,757,364,432,437,445,659,932,982,837,811,677,1360,2366,1154,1098,1654,1346,828,705,725,1064,1194,1262,1330,1264,1038,1238,1370,1396,1400,1070,742,497,579,676,625,578,896,658,442,419,475,466,469,624,847,960,1022,1004,1020,931,1288,1672,1274,953,732,765,1296,1438,969,919,851,898,940,585,501,692,564,770,873,1110,1216,1148,965,605,473,415,433,351,527,802,945,606,455,548,709,932,946,915,974,1060,1252,1162,1128,968,1074,945,948,1026,1066,1054,1060,714,951,1258,992,826,969,1202,1372,1222,710,500,444,348,292,280,323,368,387,693,563,554,936,999,1360,1400,928,555,576,634,867,1206,1658,1738,2216,1844,1566,951,541,423,405,341,306,338,334,353,378,454,615,519,337,590,1532,2348,2008,1262,1022,1142,1074,667,556,527,777,1028,1356,1296,959,971,1378,1448,1346,1650,1680,1340,877,472,692,1232,1230,1208,1454,1592,1262,652,622,812,778,650,505,478,505,545,1326,1556,1826,1824,1318,1058,1040,1110,1686,1884,1516,1296,881,1009,1112,1318,1132,1050,1276,1424,1210,594,528,444,563,524,759,1272,1334,1504,1376,1044,1210,1294,1402,1476,1576,1416,1358,1594,1642,1644,1600,1404,1428,1548,1432,1172,1082,1222,1236,1378,1430,988,879,996,1246,1472,1552,1572,1624,1466,1058,938,1110,1176,1266,1040,996,1116,1536,813,475,667,919,1094,1220,1302,1354,1484,1594,1500,1508,1426,1056,585,450,514,814,1266,1368,1436,1214,1262,1562,1534,1346,1230,1302,1162,661,756,1412,1528,1128,641,550,419,534,597,742,776,1026,907,920,1224,1224,705,528,777,1076,1024,699,604,1010,1040,487,312,333,396,379,334,416,520,660,1086,1166,780,445,397,479,913,695,336,368,395,342,283,267,374,724,1038,824,1064,1116,826,768,955,922,1023,1324,1262,952,749,907,807,588,547,621,639,477,407,863,1200,1252,1270,1140,768,518,796,1230,1042,1344,1268,1054,1160,1220,1023,1084,1182,502,329,469,645,645,564,610,944,948,612,590,1038,1302,1082,1034,1130,1152,1144,1512,1836,1620,1356,1560,1772,1664,1310,1204,1334,1622,1796,1238,971,1150,1084,954,835,689,926,1102,1214,1340,1042,758,686,1016,1508,1332,1208,1252,1314,1246,1274,1296,1236,1252,1426,1398,1418,1486,1232,1044,1488,2058,1074,436,484,441,498,720,645,454,611,786,767,746,1034,1256,1300,994,563,716,1358,1420,1132,935,732,792,949,1086,1576,1518,1310,1194,1114,988,857,1066,1328,1254,1342,1114,1124,1416,1282,1170,1092,1630,1572,1338,1138,794,463,679,564,421,424,446,527,1186,958,620,603,577,903,1384,1272,1108,1138,1218,1352,1156,736,954,832,630,511,562,529,554,622,1015,1880,1166,1246,565,444,487,655,1008,1190,1316,1410,1946,2004,1296,872,1076,1124,989,959,1015,996,882,788,1190,1240,530,282,320,346,522,943,996,677,733,933,1358,1308,1222,1294,1428,1444,1046,435,402,624,795,686,760,650,487,836,870,509,559,706,915,960,1002,1236,1170,973,951,838,634,430,1018,1644,1346,806,402,601,1166,1186,1256,1062,592,669,720,555,682,1034,1278,1384,1178,760,733,797,764,863,898,1230,1146,643,422,387,375,427,487,720,1086,1392,1114,1266,1374,1310,689,375,406,373,380,553,855,998,951,904,873,967,1003,1012,1024,955,712,536,2122,2512,1172,2452,2896,1742,1150,1682,1126,581,503,929,1216,1780,2026,1780,1276,711,424,298,554,825,1144,645,392,409,441,630,1346,1938,1544,987,824,446,371,471,587,745,481,368,495,477,502,745,814,910,1182,782,620,938,697,1214,1528,1136,702,723,794,526,331,301,427,450,536,407,440,510,633,486,513,818,1040,769,299,301,755,1052,1194,1538,1296,567,448,1212,1522,1116,959,1096,743,1228,1478,1638,1568,1024,484,374,512,544,368,334,462,508,567,650,599,614,684,624,787,886,766,631,443,479,586,602,427,401,271,328,431,544,668,848,842,722,507,377,473,420,562,847,794,433,395,648,830,515,296,254,221,280,432,557,615,704,471,390,319,337,454,714,830,650,693,756,430,447,436,495,454,425,380,403,403,734,743,444,288,245,218,324,755,1226,1360,1160,821,759,885,1350,2496,2266,1304,1008,477,325,695,1252,803,675,1154,1396,963,827,525,323,292,314,427,612,802,772,739,443,377,261,305,479,500,600,694,558,586,567,804,979,915,1214,1004,775,916,488,254,588,1122,1066,728,378,361,422,629,671,857,660,440,429,623,1112,1470,1384,1308,1138,1108,1046,1306,1368,844,1142,1290,1366,1716,1676,1488,1588,1490,1528,1698,1526,941,573,496,490,752,921,1013,1220,912,604,426,567,966,1334,1250,1166,1316,1516,1602,1314,1488,1462,1572,2120,1666,969,979,1466,1244,692,849,979,946,550,309,365,525,1044,1260,1412,1668,1300,1448,1408,1116,1216,1392,1458,1444,1324,1366,1356,962,621,617,573,446,313,417,529,443,434,509,443,433,628,550,505,433,363,396,321,306,289,286,261,376,569,763,819,873,941,977,854,1013,1082,930,717,993,850,487,354,595,1194,1296,988,1238,1390,2000,1660,1510,1288,1516,1174,1094,966,563,678,730,759,942,1132,861,752,1144,1334,1436,1544,1472,1370,1312,1316,1462,1418,1520,1598,1382,1500,1636,1282,1020,656,423,819,1040,1016,1152,1198,1354,1478,1222,1280,1468,1526,1508,1576,1670,1626,1626,1552,1414,1362,1482,1470,1236,1444,885,572,561,597,612,592,768,1060,1328,1344,1238,1310,1466,1370,1088,1206,1378,1404,1512,1400,1138,1190,1058,919,851,1060,1282,1266,1346,1498,1300,1390,1690,1676,1604,1758,1462,1036,876,1322,1778,1886,2496,3356,2446,1784,1686,1050,717,799,525,275,337,520,824,1112,846,858,955,945,1346,1248,905,955,1088,890,959,1036,1256,1192,1340,1104,1238,1522,1438,1196,992,854,894,1080,908,1086,947,1184,1266,1262,1222,1212,1248,1454,1478,1448,1266,959,1136,1366,1340,1410,1092,796,588,584,586,476,453,446,521,543,591,605,828,917,796,716,760,935,1190,1294,1150,1188,1068,881,675,691,581,491,478,739,811,678,888,1056,1001,995,937,985,1066,1094,990,858,1017,1262,910,808,822,752,771,923,1186,804,465,740,907,734,893,980,968,1013,1198,1152,1432,1610,1054,916,1094,974,972,1104,1222,1244,1332,1222,999,1007,933,677,695,772,650,653,1212,962,568,518,469,719,996,948,1186,1368,1284,1470,1070,757,997,798,639,702,692,852,1180,1486,1318,970,1068,1338,1098,959,1001,1122,684,594,1116,1588,1640,1366,1268,1216,1172,949,1158,999,713,931,1038,1104,1202,1410,1252,1108,1262,1072,684,869,929,1056,1300,1290,1626,1246,747,1136,1196,847,910,842,969,762,969,938,1418,1652,1446,1426,1244,797,597,960,1152,772,715,604,719,910,1070,1072,1196,1298,865,501,437,449,514,661,668,374,296,417,1196,1914,1490,866,518,342,368,269,332,422,426,331,346,238,281,291,330,337,303,331,418,373,261,224,247,260,374,980,914,850,736,800,949,865,721,678,863,872,781,733,498,368,498,739,718,655,675,1168,1416,1226,1324,1406,1394,1466,1578,1286,1232,1354,1194,1476,1664,1576,1370,1054,1230,1428,1262,1104,1110,1194,953,831,949,1023,1164,1024,648,784,1023,1250,1202,843,758,1180,1262,1288,1246,1312,1282,929,824,767,564,498,379,333,391,510,472,547,490,611,651,446,400,404,548,940,1082,580,362,434,689,802,549,1180,1578,1266,983,1204,1406,1290,1340,1288,1013,1296,1360,1496,1468,1234,933,998,1378,1528,1434,1332,1376,1516,1156,1042,1184,1344,1686,1360,1138,1280,1456,1546,1526,1324,1154,915,616,748,1830,1810,1274,1158,1322,1440,1586,1650,1428,1218,1130,1176,1392,1214,1326,1010,861,1124,1446,1504,1514,1528,1610,1606,1172,1146,871,1280,1430,1594,1518,1588,1558,1250,1542,1770,1506,1554,1332,1138,1294,1368,1438,1284,1388,1612,1390,1116,1278,1344,1212,1030,1068,1318,1372,1130,943,818,1144,1250,1470,1448,1330,1492,1578,1276,1364,1410,1638,1904,1764,1368,1360,1372,1172,1340,1392,1130,988,710,669,842,952,1186,809,713,677,552,647,922,1068,908,1036,891,1046,663,531,487,432,371,395,359,349,386,346,609,1056,1230,1466,1570,1520,1362,1352,1434,1424,1126,949,1108,1408,1536,1364,1202,1092,1228,1136,774],[524,1174,1294,1250,1052,873,780,817,756,839,1118,1252,1052,999,915,762,1007,1068,1146,1174,1056,1192,854,500,472,472,430,370,361,355,346,329,315,365,451,414,373,470,539,494,469,389,368,427,593,858,1074,779,679,736,694,469,326,304,455,640,602,460,447,661,962,928,792,509,832,1206,1240,1078,936,939,1300,1740,1108,564,525,740,917,1338,1152,532,373,448,431,390,528,542,468,647,540,381,379,417,946,1212,720,359,370,418,503,778,1036,1152,1072,1294,1116,1148,1278,774,559,977,1128,628,838,1134,1270,1150,913,987,882,1004,1224,1410,1656,1410,1224,1094,711,745,636,527,377,601,441,361,535,614,558,559,527,802,1288,1416,1372,1200,1222,1222,1716,1490,999,884,1094,1630,1532,619,705,819,744,828,889,1036,1262,1046,720,569,589,765,1144,1012,624,474,430,611,796,1028,1394,1202,904,750,620,548,610,706,832,886,974,1098,1126,1013,1104,1238,1046,949,1052,959,1064,1512,1140,1290,1378,1118,724,808,1152,1324,1164,730,525,520,416,312,297,300,323,382,568,542,509,632,899,1422,1672,1298,911,941,919,1160,1960,2410,2070,2214,2132,1520,937,684,787,991,539,328,286,320,409,397,491,673,587,388,589,1378,2070,1840,1390,1116,1110,954,861,1002,1062,1244,1478,1472,1048,890,1200,1448,1324,1210,1632,1562,1494,965,687,953,1172,1238,1074,1104,1360,1270,681,507,759,1212,1332,996,730,545,778,1438,1782,1904,1608,1566,1410,1024,1074,1198,1114,1096,981,894,1454,1442,1086,941,813,1050,1434,1416,1320,1230,736,487,534,767,1106,1482,1762,1266,1186,1390,1300,1186,1274,1752,1736,1682,1410,1300,1474,1444,895,763,1154,1318,1410,1378,1130,996,1118,1224,1374,1584,1532,1330,1516,1586,1604,1650,1220,690,1052,1238,1484,1362,1340,1308,1356,1544,1344,1146,1128,1306,1438,1494,1450,1582,1568,1588,1648,1556,1640,1348,1015,813,727,1088,1388,1060,1208,1086,1394,1550,1432,1510,1434,1200,1038,664,675,1032,1266,1200,600,413,375,493,505,468,877,1308,1164,1082,1162,1016,655,686,772,894,998,1142,889,916,950,541,312,320,365,485,631,746,910,1216,1226,682,394,300,357,358,562,481,296,281,308,267,303,274,357,894,917,802,1204,1132,812,690,681,771,965,961,627,441,479,535,518,488,559,617,791,856,732,713,727,725,667,680,346,394,736,1050,1216,1272,1346,1470,1420,1282,1056,839,907,400,351,302,303,290,333,318,453,518,590,659,939,1280,853,824,1446,988,959,1444,1630,1420,1256,1430,1798,1742,1450,1308,1294,1498,1600,1172,871,1019,954,836,823,946,1058,1050,1170,1166,719,485,678,1054,1248,1234,1278,1220,1100,1074,1200,1336,1358,1364,1428,1240,1460,1326,869,1042,1566,1914,1007,390,439,404,449,611,735,476,509,694,662,625,526,630,842,695,676,1188,1186,775,738,549,777,957,1066,1096,894,615,702,835,922,962,859,1242,1134,1128,1258,1204,945,1148,1092,1172,1172,1110,1256,1300,1480,1478,858,943,869,975,995,739,764,1312,1032,554,570,663,837,1180,1454,1470,1448,1434,926,543,368,464,591,504,470,611,711,912,979,1262,2808,2056,1314,598,386,416,512,720,952,1054,1084,1306,1616,1384,1048,1730,1480,1256,813,1134,1368,745,760,1338,1110,544,446,332,412,595,1007,778,460,423,524,893,1194,1392,1480,1446,1044,760,636,657,681,930,1212,1314,1130,821,910,591,417,456,584,653,805,1148,1012,1042,889,832,637,426,540,1072,1444,1208,1050,597,534,1076,1218,1034,866,468,490,974,1122,1106,1284,1222,680,417,400,492,1068,1046,1004,901,1174,913,400,334,393,458,406,401,437,561,499,525,979,1228,1402,957,625,730,383,348,410,413,516,522,913,1042,1196,1280,1560,1436,1210,823,1366,2774,1246,1056,2976,2402,1528,1456,1538,776,466,547,999,1098,927,1066,1294,969,563,421,291,591,945,1310,767,327,303,350,489,938,1540,1176,677,1005,603,293,345,391,383,392,534,579,398,534,1166,1072,774,781,430,389,811,986,988,831,649,585,623,728,466,336,339,343,372,412,378,537,989,959,529,332,480,839,645,334,264,735,1274,1564,1404,883,402,360,593,709,1078,1358,1062,825,728,722,844,763,475,308,331,338,293,354,520,680,593,339,485,569,576,689,564,818,955,648,345,372,625,1098,1420,684,357,424,579,508,462,543,756,767,477,321,364,627,761,871,721,747,609,434,925,1252,786,408,296,238,269,381,368,352,417,536,624,439,379,408,666,942,715,796,1070,500,443,420,466,454,434,419,422,391,650,816,525,383,269,223,300,781,1104,1346,1186,913,951,1020,1148,1738,1722,985,736,534,470,990,1760,865,505,973,1186,983,634,364,503,704,835,882,1004,852,752,684,834,768,445,296,471,554,594,769,758,779,437,594,796,747,1056,918,616,365,184,402,1028,1058,697,444,370,384,413,341,432,554,430,329,587,1015,1328,1394,1190,870,889,1268,1050,1362,1374,942,1124,1494,1650,1758,1612,1442,1498,1530,1540,1478,1240,722,511,584,674,777,753,1023,1020,642,508,669,792,1005,1310,1216,1392,1426,1504,1434,1346,1656,1538,1340,1528,1250,962,909,1554,1310,1082,1618,1444,1052,714,400,397,379,755,1384,1486,1520,1300,1482,1406,1298,1446,1454,1418,1404,1120,957,843,805,594,487,481,412,331,374,373,529,683,558,332,504,835,489,391,448,437,379,322,256,397,527,363,420,469,373,424,553,552,541,750,1218,1444,1084,756,997,1108,718,378,627,1208,1434,1144,1230,1130,1702,1686,1296,921,951,946,852,678,764,954,930,739,874,1028,568,561,980,1438,1518,1838,2106,1398,1346,1392,1422,1438,1630,1470,1384,1412,1304,1334,1140,722,686,1016,1108,1088,1060,1250,1372,1228,1264,1324,1338,1326,1334,1644,1858,1600,1472,1524,1266,1670,1560,1230,1246,1482,990,879,990,954,825,796,708,827,1048,1058,1382,1252,1174,1164,1086,1498,1638,1464,1456,1182,966,814,954,1176,998,1166,1282,1272,1654,1676,1520,1512,1534,1528,1638,1716,1588,1268,945,1112,1400,1468,1560,1230,932,1300,1484,1094,760,624,672,400,558,973,862,819,839,937,966,799,949,991,1094,944,1334,1396,1522,1178,1396,1424,1190,1142,1344,1208,1086,1126,1112,698,963,786,774,578,760,974,1192,1222,1015,995,1444,1806,1494,1454,1608,1234,1090,1260,1406,1334,1324,1230,1012,853,588,598,591,646,710,635,645,1382,1426,1078,813,754,846,890,953,1044,658,885,870,627,592,536,492,625,756,734,701,657,708,1460,1654,1324,1100,1078,1214,1310,1466,1210,953,1090,1023,874,725,671,698,805,1088,807,584,917,1048,795,843,1192,1152,1042,1166,1072,1204,1234,1126,1282,1484,1336,1312,1410,1488,1482,1562,1310,873,797,667,575,561,500,546,568,1072,1052,755,821,866,938,821,753,1136,1240,1112,1372,1272,1362,1392,756,447,390,339,637,1250,1288,1032,1120,1124,857,550,739,1122,965,518,730,1194,1396,1612,1628,1288,1294,1570,938,982,1158,1036,748,828,866,997,1356,1288,996,955,620,693,1262,963,950,908,813,1015,1078,1014,1334,1464,1060,907,986,1140,1004,1090,872,979,1102,1132,1250,1104,853,837,1026,991,716,636,579,826,805,666,843,1108,922,498,451,550,686,625,573,649,379,316,318,552,925,988,672,475,511,667,401,412,405,314,282,344,265,231,382,514,363,345,334,316,279,237,240,278,265,553,1082,1086,1220,915,448,505,586,554,664,868,673,565,573,630,545,512,612,662,564,832,1486,1438,1356,1428,1632,1408,1466,1484,1528,1554,1436,1264,1424,1528,1514,1418,1342,1390,1448,1376,1062,1076,1166,1238,1118,1128,1272,1302,1144,830,628,740,1158,1200,1164,990,959,1112,1404,1392,1334,1052,713,750,634,478,616,472,264,300,429,429,419,386,548,519,514,805,951,1005,1262,1068,703,705,742,896,929,603,929,1242,1048,1250,1258,1418,1664,1470,1304,1192,1132,1188,1432,1444,1136,714,771,1262,1346,1324,1628,1378,1178,743,821,1086,1328,1572,1550,1494,1570,1606,1478,1428,1034,497,429,847,1164,1270,1146,990,1434,1572,1160,1368,1876,1604,1346,1286,1206,1256,1842,2038,1252,880,1216,1646,1530,1306,1040,1062,1294,1332,1246,1146,1426,1300,1350,1476,1520,1168,960,1378,1494,1084,1316,1542,1222,1224,1070,1284,1534,1446,1594,1434,967,1136,1440,1130,700,772,1130,1052,980,1126,1328,1262,1184,1246,1350,1426,1312,1410,1244,1174,1264,1596,1560,1758,1840,1628,1574,1368,1316,1306,939,646,444,326,372,642,862,832,705,680,1052,1222,1300,1348,1152,1184,860,1190,621,569,760,606,410,351,387,510,616,761,1334,1412,1418,1280,1324,1392,1238,1170,1068,1144,1240,1186,1252,1442,1416,1400,1312,1338,1390,1256,1160],[480,969,731,730,774,769,889,1090,1164,1100,1036,817,404,417,372,463,767,901,1376,1260,1240,1224,683,276,339,501,449,404,388,365,336,335,341,383,399,398,383,468,595,598,564,495,452,449,410,543,919,871,649,835,868,666,430,375,641,1052,673,461,481,728,811,688,582,666,1044,1226,1260,1152,908,597,481,606,720,509,507,623,617,819,680,315,364,451,402,316,359,358,422,527,465,521,475,437,767,1012,719,569,474,562,654,982,1166,1326,1504,1622,1238,836,1026,991,559,871,1086,683,1036,1500,1484,1384,938,484,503,633,827,1276,1426,946,797,746,1020,999,595,445,413,482,875,1306,1400,1220,755,717,893,1444,1290,1418,1506,1606,1716,1670,1744,1754,1618,1326,1116,1420,1346,702,673,898,826,753,1023,1046,1138,1252,1000,594,513,648,865,813,682,729,880,1360,1590,1322,1014,984,1310,920,489,568,772,663,521,712,948,1032,1130,1050,997,861,866,1472,1624,1410,1426,1180,1068,1120,1036,1172,1222,1380,943,664,1218,1172,595,452,462,404,347,332,498,595,596,490,419,435,675,1196,1396,1282,1060,943,995,969,1608,2274,2062,1738,1302,668,585,791,1586,1742,811,383,296,288,452,511,581,666,624,517,412,683,1310,1404,1202,1040,1012,899,921,1284,1398,1462,1584,1386,1360,1548,1256,1246,1360,1212,1158,1326,1222,743,768,1078,1274,1194,1074,994,1144,1400,1206,838,1290,1542,1524,1398,1424,1258,1042,1074,1226,1334,1468,1940,1364,889,754,634,698,730,739,955,1554,1446,988,1148,1076,1406,1446,1278,1332,1320,1180,1012,933,936,1138,1400,1428,1206,1412,1316,1172,1146,1410,1650,1586,1534,1442,1338,1460,1456,1036,846,735,791,1086,891,548,683,653,979,1510,1690,1442,1426,1514,1342,1490,1554,903,643,697,850,1152,1048,916,996,1334,1512,1484,1290,1056,858,955,1312,1242,1146,1252,1438,1270,1160,1324,1386,1298,1324,1326,1270,1288,1232,1288,1030,1184,1406,1618,1574,1436,1398,1366,1210,1092,1172,1284,1180,898,651,614,763,738,788,1282,1464,1410,1488,1258,1034,705,976,1084,1184,1232,1224,905,810,763,520,402,400,408,552,973,1220,1334,1522,1022,408,281,314,281,235,290,348,296,275,248,253,285,271,437,1019,1112,955,829,755,930,1232,1146,1026,907,515,365,388,285,271,352,303,314,604,805,577,607,794,637,449,394,361,322,478,810,1020,1032,1130,1520,1580,1236,849,730,578,443,327,294,257,271,325,325,274,285,354,541,597,586,565,425,659,1044,722,1076,1640,1354,1078,1038,1488,1672,1540,1548,1414,1224,1230,1310,1314,1136,1112,1076,851,867,997,1066,1184,1324,1050,866,726,997,1444,1216,1042,1106,1178,1198,1248,1450,1478,1426,1328,1420,1328,1496,1312,908,1042,1684,1734,846,420,430,443,396,545,982,624,467,568,439,371,390,466,633,551,912,1336,947,1072,1306,708,710,868,974,1015,1040,933,578,794,1256,1136,1086,1028,813,1378,1328,1278,980,588,685,952,1072,1176,1336,1386,1444,1268,1094,1026,1278,1438,1210,785,562,568,463,568,663,815,816,910,1388,1520,1438,1454,1066,590,541,793,807,607,639,922,1030,1106,1005,865,1366,1212,957,592,420,600,875,930,813,875,926,905,1094,1114,1488,1554,1400,1400,769,745,1142,1021,1230,1426,1012,917,842,672,399,620,1312,1250,888,712,837,1174,1260,1356,1564,1788,1302,771,963,1296,960,819,711,1166,1448,927,739,423,454,502,572,533,608,969,772,757,783,624,449,469,650,957,1362,1196,1382,907,473,576,844,697,546,597,891,1106,989,1036,782,605,323,357,425,556,1296,1106,584,694,886,543,341,327,349,450,431,395,373,432,347,371,418,616,880,890,1200,1302,561,387,484,650,716,486,650,971,1120,1210,1236,1420,1540,1272,1646,2356,1130,2374,2736,2036,1438,1376,1052,611,503,777,1146,833,889,540,466,456,714,694,406,373,628,750,542,291,243,306,336,576,890,677,539,878,578,303,407,513,563,633,543,532,381,443,822,562,379,389,308,290,644,980,673,390,413,564,964,1090,709,486,351,289,342,411,345,581,949,808,364,284,415,676,716,455,255,319,506,459,237,216,246,332,763,735,803,1106,1224,962,507,369,337,348,321,286,283,363,464,466,467,375,292,373,533,714,892,716,537,736,800,550,296,387,918,1430,1290,656,450,626,525,557,751,477,366,356,351,479,542,645,871,803,490,554,670,576,987,1570,1080,511,286,261,390,543,422,311,280,512,726,502,353,361,568,945,951,711,826,548,449,466,502,489,471,444,415,402,569,863,588,474,287,232,256,785,1090,1310,1122,951,1044,1068,1270,1596,1294,702,548,504,422,979,1015,494,531,932,948,859,993,1012,1052,1090,1004,1190,1482,1158,794,637,688,750,531,325,369,571,795,785,797,1000,628,459,502,993,1354,942,446,231,274,879,1120,662,432,400,371,377,456,280,223,353,375,367,696,1222,1396,1266,1132,1086,1246,1284,1064,1350,1370,1196,1372,1370,1516,1700,1478,1472,1102,1234,1460,1532,1112,590,562,730,870,857,778,994,777,586,455,812,854,1126,1160,1338,1494,1184,1212,1274,1216,1512,1488,1240,1048,897,937,990,1636,1396,1086,1416,1334,1188,927,454,373,331,596,1296,1422,1462,1688,1728,1530,1412,1318,1424,1454,1458,1362,1220,999,724,576,439,383,516,695,664,617,731,781,779,413,480,645,498,619,836,733,570,359,410,835,929,504,434,478,426,346,285,318,416,711,1001,1100,1019,842,842,1008,880,617,1078,1480,1526,1322,1050,935,1482,1462,985,846,838,762,678,776,1004,1004,1076,926,706,511,538,937,1250,1390,1378,1598,1512,1248,1332,1332,1348,1430,1478,1260,1272,1284,1224,1324,1284,1438,1158,1192,1212,1118,1278,1422,1416,1306,1366,1366,1202,1042,1228,1454,1352,1254,1384,1664,1484,1826,1516,963,1142,1260,1332,1534,1434,1444,1220,985,1022,1070,870,1688,2484,1478,832,890,1124,1372,1322,1272,1290,1326,1106,861,991,1056,1392,1540,1350,1514,1876,1946,1848,1688,1488,1410,1360,1510,1678,1328,797,773,846,1004,1134,911,1112,1130,1012,1366,1296,1070,1138,662,1144,1626,916,405,528,940,1042,605,969,1160,1088,969,996,1162,1362,1224,1536,1572,1174,1001,1204,1284,1454,1420,1116,1017,828,1058,1180,736,805,929,1021,1048,1224,1142,1512,1610,1322,1016,1080,1156,1244,1312,1442,1354,1036,872,1086,1184,1234,1094,1084,1036,710,720,1286,1824,1600,1170,996,1072,1024,1020,1444,1544,871,869,998,1118,1070,703,681,924,964,701,521,479,498,1190,1220,1094,1324,1798,2066,1664,1438,1332,1108,1214,1064,849,641,684,754,701,800,585,671,989,998,809,830,1056,1078,952,1078,1068,1140,1216,1256,1270,1314,1360,1228,1072,1134,1120,1194,904,597,891,1072,1118,1104,960,723,768,1144,1254,1186,1178,1260,1236,1006,835,1216,1224,1334,1450,1392,1602,1368,717,675,577,489,730,1106,1158,1284,1240,1328,962,723,1118,1448,1230,848,1354,1610,1864,1680,1246,1030,1356,1280,683,954,1914,1708,949,1078,1140,674,1088,1118,609,687,602,882,1400,1166,933,957,802,1048,1240,1376,1588,1618,1240,923,1032,933,797,879,750,626,739,866,1042,804,633,677,889,1156,775,778,690,736,1021,842,800,884,679,636,618,814,1006,728,658,720,424,376,574,495,443,596,507,424,657,814,422,313,335,336,356,345,328,276,503,686,386,258,335,314,297,268,252,253,225,675,1028,721,729,786,691,509,446,521,652,780,586,499,630,857,879,671,594,718,476,587,1190,1344,1404,1340,1324,1190,1156,1298,1360,1312,1438,1454,1194,1132,1418,1200,1290,1142,1208,1100,1048,1116,1166,1376,1346,1264,1246,1011,1007,819,785,877,777,1052,1296,1180,811,957,1488,1472,1122,876,675,744,536,588,661,546,342,301,324,365,400,448,525,499,793,1244,1090,883,1086,1044,812,963,1124,890,484,407,764,1064,1086,1534,1290,1536,1394,993,1144,1180,1230,1162,1068,1092,800,422,607,993,1124,1372,1832,1422,860,625,821,1214,1404,1400,1448,1576,1560,1592,1278,1256,1148,1248,1996,2024,1616,1234,744,840,1298,1318,1350,1544,1636,1604,1650,1366,1254,933,1870,1896,1116,869,1234,1472,1282,1166,737,858,1202,1306,1246,1298,1312,1292,1356,1518,1544,1484,1296,1214,1042,1100,1450,1522,1334,1386,1390,1654,1644,1500,1498,1380,1284,1580,1744,1522,1032,915,1017,728,728,1344,1476,1130,1188,1194,1208,1212,1164,1406,1310,1140,1136,1148,1064,1688,1992,1438,1322,1578,1318,841,517,491,529,733,981,742,637,1160,1302,1252,1168,949,1142,1310,1168,1013,1334,1132,526,730,932,683,467,390,554,774,785,962,1344,1324,1070,749,1078,1418,1450,1260,1162,1512,1484,1288,1458,1394,1030,930,954,1084,1210,1206,1166],[538,788,745,1028,1198,1060,1036,815,1058,1180,1186,578,431,494,521,850,1052,1212,1212,1164,1252,1072,698,405,446,683,511,414,367,341,356,348,383,351,332,375,368,417,551,548,371,388,403,442,498,594,713,653,673,623,579,636,553,421,769,1246,784,493,575,644,624,611,561,808,1418,1626,1466,1420,994,516,379,360,386,483,587,717,567,385,343,315,298,342,350,289,330,372,393,398,487,522,394,365,644,927,716,993,1084,1700,1566,1054,975,1052,1020,1072,1060,823,802,718,624,747,682,401,645,1038,1230,1340,990,642,502,668,1504,1426,1220,828,667,1009,1534,1230,593,496,478,615,1268,1526,1594,1652,1124,788,875,1082,1204,1276,1150,1286,1614,1782,1968,1904,1320,1152,720,858,854,736,999,1748,1776,1306,1034,1098,1432,1520,1208,757,661,654,583,568,675,904,896,1230,1504,1136,720,594,788,763,565,620,846,829,681,572,538,734,938,891,869,786,1206,1742,1498,916,846,666,693,815,813,927,1290,1021,565,490,851,1320,874,567,572,616,702,758,708,672,555,490,433,413,480,895,1324,1164,894,769,862,1032,1186,1574,1578,1074,709,601,706,841,1532,1604,1252,805,430,298,400,536,619,580,554,632,637,1180,1688,1058,602,622,831,975,893,981,1282,1378,1322,1186,1822,2004,1886,1240,1122,988,839,899,1072,1034,963,1198,1158,907,1048,874,1248,1352,1598,1376,1366,1406,1017,800,1066,1424,1324,1190,724,690,1958,2148,1714,1192,694,422,424,926,1306,1376,1372,1260,913,921,963,1492,1734,1248,1118,1490,1320,984,1022,1208,1410,1384,1200,1174,1306,1428,1222,1264,1520,1710,1654,1512,1508,1556,1556,1392,922,733,716,640,883,841,594,769,760,847,1378,1578,1338,1440,1530,1306,1274,1500,1182,943,1044,855,902,1138,940,820,1282,1286,1266,1140,1200,831,818,1138,1342,1106,1024,1422,1532,1260,1410,1418,1306,1288,1528,1284,1288,1152,871,720,1034,1290,1114,1090,1326,1320,1310,1266,1322,1368,1042,848,840,794,767,921,1052,1228,1348,1348,1494,1644,1534,1406,1250,1188,1444,1376,1172,1114,1056,922,626,614,680,589,722,852,1128,1466,1506,1472,1112,630,379,347,303,245,257,248,257,322,324,272,236,248,409,586,725,767,694,876,1412,1786,1328,805,521,302,311,308,271,304,302,296,483,869,875,595,596,846,659,434,299,318,348,443,739,1042,1066,1306,1410,901,933,518,531,689,457,310,265,279,303,296,257,249,273,369,659,579,471,359,438,401,549,473,795,1003,1005,1350,1448,1644,1278,1344,1478,1124,965,1110,1026,1144,1360,1368,1282,1090,1106,1136,1410,1158,1406,1242,1030,848,878,1082,1378,1482,1318,1402,1274,1318,1406,1306,1276,1444,1544,1272,1086,1044,955,1072,1598,1604,767,458,473,508,359,375,716,679,752,743,626,769,704,982,926,567,983,1350,1288,1378,1268,746,741,975,573,395,737,828,558,724,1100,980,894,815,1002,1300,1340,1360,823,641,1186,1278,1212,1062,1356,1350,1506,1490,1400,1206,1166,852,733,1114,1424,869,481,620,688,633,674,882,1196,1282,1324,1506,1434,1128,1007,1098,1112,830,578,765,796,944,916,935,1178,1084,788,509,490,778,909,763,730,1124,926,752,849,1032,1328,1192,1204,1272,1110,1036,1480,1908,1736,1102,797,1028,1284,1144,533,690,1152,970,834,1214,1292,1130,1076,1132,1200,1604,1308,626,606,994,1074,951,803,1018,1015,494,325,357,520,550,570,577,650,802,662,462,403,451,546,617,569,631,1001,1212,1730,1390,630,335,473,680,973,1216,1262,853,438,333,306,433,705,594,364,653,1262,1034,413,424,628,486,275,255,311,385,426,412,378,355,394,410,512,638,409,543,1152,1100,846,819,941,891,669,487,517,521,761,1092,1206,1132,1190,1428,1534,1924,1990,2986,2094,1364,998,678,518,478,519,893,1158,759,957,737,455,440,1116,1170,637,384,434,564,598,376,357,413,434,578,594,557,578,773,631,345,389,356,521,745,357,263,238,266,303,289,495,601,393,345,614,916,505,301,370,554,868,792,699,567,331,248,292,396,441,384,416,920,760,523,662,644,789,707,459,360,379,459,488,541,524,499,953,764,616,585,639,490,429,406,318,350,513,475,273,320,355,344,362,296,381,459,422,450,535,492,560,593,591,374,237,351,762,836,553,484,633,711,538,751,858,509,386,489,667,770,452,510,493,318,264,372,621,698,1000,1590,880,448,309,316,732,924,666,380,331,540,809,554,374,403,548,1007,1238,955,1162,788,459,476,531,527,486,447,433,439,509,866,700,524,330,256,330,878,1350,1228,830,812,1296,1580,1572,1928,1708,985,458,316,273,304,398,527,764,977,904,922,899,677,514,770,747,1100,1456,1474,1340,881,590,681,393,302,282,387,905,902,678,636,478,403,566,1068,1188,550,252,234,612,1140,780,466,367,447,415,474,518,369,289,317,346,479,972,1360,1296,917,1156,1488,1284,1170,1170,1328,1404,1222,1484,1332,1354,1636,1520,1520,1154,1116,1130,1074,778,485,586,702,911,913,824,803,539,459,644,791,714,1146,1300,1256,1194,950,1066,1344,1286,1736,1574,1450,1332,1064,920,1078,1550,1362,745,854,1182,1692,1160,448,408,463,677,1230,1410,1440,1638,1600,1412,1228,1184,1244,1226,1158,1192,1330,1196,915,651,547,619,832,1234,1248,744,636,560,576,539,642,735,514,574,709,838,930,626,492,407,438,422,297,316,281,252,257,356,464,470,537,893,1166,859,1138,856,642,923,1434,1426,1408,1528,1360,1276,1312,941,708,966,1082,738,597,885,1106,1024,1096,879,675,778,970,1186,1300,1372,1282,1288,1426,1416,1416,1392,1284,1384,1454,1224,1224,1372,1226,1002,920,1434,1072,902,1028,1046,1104,1200,1426,1610,1604,1354,1106,963,1130,1272,1094,1102,1296,1328,1594,1974,1682,1218,913,1248,2254,1902,1358,1626,1544,1518,1250,1210,1094,1968,2110,1182,695,769,1120,1204,1012,1046,1378,1314,1444,1350,1166,1176,1844,1830,1298,1376,1580,1462,1694,1362,863,701,919,1346,1616,1550,1050,746,752,772,993,1060,1442,1392,1212,1390,1512,1290,989,589,638,1001,924,636,769,1210,996,495,653,792,908,916,913,1130,969,969,1108,932,916,861,813,1378,1446,1812,1310,1060,772,882,973,974,928,818,1013,948,1076,1130,1534,1564,1168,977,810,639,586,807,1116,1354,1070,901,785,937,1124,1154,1304,1252,1270,1360,1506,1540,1278,987,892,980,952,968,1278,946,702,1144,1350,1334,1104,870,947,1078,1194,1262,1086,1118,1122,1042,824,1078,1642,1854,1842,1712,1610,1516,1382,1392,1140,895,706,810,914,749,527,357,579,1046,1198,925,911,1146,1192,974,1426,1420,1386,1498,1428,1310,1262,1368,1268,1174,1214,1072,867,558,518,852,1484,1678,1632,1466,1262,1170,1028,1026,1052,1078,1004,1026,1128,1340,1422,1246,1124,1040,1298,1600,1054,514,791,1208,1028,1332,1252,1142,1156,1264,1542,1418,1284,1058,1256,1496,1302,1418,1662,2200,1628,850,1020,1140,824,659,1102,1960,1692,1134,1212,1208,784,1156,944,449,520,846,861,937,1162,1302,1172,582,775,1040,1212,1078,1208,1290,1062,1044,1012,775,588,549,480,596,984,1350,949,559,513,879,1018,817,959,816,919,1682,1406,935,936,713,573,526,534,587,506,623,596,384,754,1566,963,603,721,483,478,758,763,458,321,329,389,362,366,330,239,474,575,405,264,347,358,286,245,272,252,237,510,653,573,1054,1750,1250,639,404,509,605,615,676,749,1050,1312,1078,1060,1176,916,615,474,845,1410,1436,1190,1210,1102,1174,1482,1262,1206,1208,1066,1042,1003,1184,999,1100,1012,1158,1228,1428,1500,1484,1672,1500,1460,1616,1050,1023,888,908,776,912,1202,1222,1344,1224,1098,1382,1186,871,830,777,915,632,639,541,353,301,297,339,435,490,564,543,527,1208,1416,1204,1004,1120,1118,969,1086,1064,843,630,772,1156,1266,1172,1476,1566,1560,1122,1030,991,909,922,744,904,1284,1102,631,553,940,972,1038,1096,1118,1194,1194,1202,1282,1400,1534,1256,1610,1552,1656,1470,1256,1074,1534,1964,1638,1562,1386,752,1028,1648,1474,1404,1422,1262,1574,1706,1368,1158,1290,1484,1226,1150,1038,1190,1098,1092,1322,1400,1346,1262,1394,1532,1412,1500,1554,1364,1322,1486,1594,1376,1132,1146,1366,1454,1384,1338,1284,1254,1278,1362,1518,1412,1340,1046,1196,1380,1418,829,456,560,681,904,822,662,758,1038,1100,883,962,1036,1370,1428,1046,940,995,1328,1920,1966,1574,1486,1626,1602,1190,1058,1202,1372,1478,1366,1260,1302,1374,1216,1386,1068,991,1234,1264,1294,1362,1500,1004,497,571,660,753,787,782,719,673,613,1026,1510,1428,934,527,749,1250,1500,1290,1484,1700,1774,1366,1478,1252,882,523,383,568,1062,1322,1058],[1190,1202,1150,1454,1406,1038,1090,854,774,817,908,506,580,662,865,1186,1172,1124,1122,1194,1042,1044,867,643,744,673,476,367,330,319,352,392,387,362,372,376,331,366,436,430,367,315,349,369,380,433,526,725,580,483,461,514,521,378,759,1102,984,771,678,750,838,795,836,888,1092,1206,1356,1394,882,516,388,491,761,764,783,816,600,455,360,334,379,570,521,377,446,548,684,731,936,1152,616,374,490,608,591,837,1234,1686,1438,1074,937,964,937,784,709,656,735,694,551,718,670,420,474,828,1318,1362,1100,962,1048,1278,1384,1190,1430,1066,772,860,1144,1140,907,782,685,767,1390,1388,1568,1698,1264,797,633,989,1514,1266,978,1280,1654,1488,1814,1556,1192,738,538,741,835,697,1086,1560,1434,1310,1182,1110,1156,1058,909,825,689,730,851,695,713,918,1182,1158,1106,782,685,785,676,540,632,608,602,824,979,787,520,473,596,672,1298,1528,1574,1254,974,643,480,498,573,821,960,912,1142,582,416,420,490,1086,1212,795,948,1244,1220,1170,745,619,540,592,454,397,385,522,1042,967,761,628,620,907,956,1003,1136,896,553,813,1246,1378,1384,1432,1690,1506,871,430,304,411,516,498,528,889,993,1144,1084,624,376,345,545,846,948,1010,1440,1344,1236,974,1472,1730,1504,940,819,843,883,1164,1404,1234,1376,1144,962,857,1118,1302,1500,1390,1700,1764,1488,1064,666,598,530,820,1202,976,551,492,708,1174,1322,946,557,376,621,1138,1096,1322,1286,1356,1254,835,796,1232,1260,1208,1432,1466,1284,1100,1278,1460,1552,1376,1160,973,964,1260,1288,977,913,1188,1288,1422,1372,1340,1234,1122,663,512,497,704,1023,1132,1070,1118,944,694,860,885,780,1126,1148,1196,1260,1626,1204,952,1260,1044,957,1150,862,672,1168,1346,1376,1114,1248,1226,1036,1152,1312,1242,1148,1336,1382,1320,1486,1214,1358,1544,1394,1224,1184,883,581,640,1076,1416,1342,1234,1402,1312,1628,1584,1166,1028,866,776,576,482,762,1088,1066,720,595,708,846,1068,1162,1356,1372,1350,1488,1340,1318,1382,1458,1366,1048,935,1122,1094,988,893,946,1282,1458,1416,1110,647,433,355,330,297,254,274,332,340,318,281,253,276,379,424,485,590,783,943,1414,1210,789,515,313,328,368,290,260,292,323,428,626,710,475,460,468,515,452,351,329,339,331,498,1082,1488,1060,1218,1004,991,1138,1064,1130,831,470,343,280,300,308,304,290,267,306,443,600,543,541,1072,1170,897,914,879,755,622,1160,1422,1414,1234,1244,1318,1244,1208,1386,1318,1050,1204,1350,1078,1250,1344,1250,1280,1764,1332,1034,859,713,705,827,984,1268,1190,1248,1554,1306,1344,1238,1090,1128,1250,1296,1136,1001,1084,1002,1216,1472,1336,664,546,519,557,471,355,368,563,994,1218,1400,1528,903,1290,1266,924,1188,1084,762,865,1130,872,978,1480,855,444,407,591,855,859,679,668,591,838,1222,1252,1338,1206,807,743,1354,1876,1954,1226,1180,977,1362,1632,1436,1460,1142,869,1200,1522,2154,1416,725,706,785,680,568,466,789,1196,1180,1074,1362,1282,1158,1042,1128,1062,689,680,711,1114,1132,978,1186,1056,750,619,470,549,576,456,684,1128,986,824,869,1152,1290,1018,959,1068,1068,943,1260,1768,1444,752,649,824,908,741,434,426,451,659,1110,1118,1310,851,854,1272,1460,1556,1148,702,852,905,879,799,831,564,739,347,263,322,403,467,578,816,906,736,578,462,432,465,499,500,549,750,1276,1550,1786,1688,1005,714,937,1290,1428,1406,898,595,440,409,711,822,1006,778,303,772,1418,1232,747,420,493,566,374,282,307,333,393,476,443,386,397,444,536,650,375,499,781,866,1002,977,604,374,375,440,476,503,624,880,1096,1228,1104,1138,1324,1746,1950,1682,1338,1250,1170,668,485,572,589,1140,1016,736,761,910,628,718,1310,1252,807,805,794,763,708,421,390,458,533,606,615,577,509,500,494,337,384,280,564,565,302,233,258,265,346,350,591,869,511,467,445,728,568,332,299,508,473,419,495,384,253,220,238,378,504,375,343,803,766,556,555,427,402,573,639,565,760,827,739,675,673,813,1028,869,757,717,600,436,502,684,736,613,766,480,249,221,211,288,387,368,362,469,357,329,475,563,648,564,540,406,257,310,446,425,447,455,549,642,507,659,745,567,377,597,955,828,344,168,180,250,281,323,563,755,1046,1012,579,330,255,265,492,905,719,312,234,383,824,610,400,365,417,788,1094,1168,1136,766,512,537,518,514,518,491,463,442,466,855,750,496,366,289,370,836,1340,1080,859,886,1532,1894,1658,1300,1278,918,408,279,281,376,638,844,1160,1194,994,891,724,705,998,1230,1060,1074,1462,1764,1334,692,350,381,276,262,307,451,710,698,577,666,557,396,430,813,1170,706,615,773,1090,876,538,375,341,417,565,724,608,426,354,430,384,593,1174,1278,1210,1112,1284,1172,868,942,1112,1326,1412,1308,1312,1262,1264,1642,1602,1562,1532,1478,1166,644,479,466,597,728,758,753,758,645,448,438,772,801,709,1068,1166,1196,1156,1060,1036,1262,1668,2122,1800,1350,1300,1076,803,1100,1582,1402,779,897,1128,1678,949,437,488,445,713,1240,1396,1576,1582,1292,1190,1136,1268,917,756,792,904,1102,1162,1112,937,791,876,1160,1434,1424,970,740,525,458,594,1110,1100,543,509,733,741,884,871,776,932,854,683,877,708,352,316,382,539,525,579,690,1046,1036,896,1176,1056,1040,1106,1224,1056,1060,1396,1140,860,808,602,483,673,985,663,722,1196,1318,961,742,607,535,546,941,1258,1450,1300,1202,1486,1638,1472,1598,1494,1216,1214,1214,1152,1250,1378,1390,1194,868,1028,1138,1170,1106,1104,958,910,1180,1364,1398,1144,956,907,1036,1102,1166,1180,1190,1164,1350,1518,1446,1346,1114,1234,1660,1516,1430,1688,1512,1314,1422,1548,1440,1510,1364,952,797,1354,1344,1310,1290,1276,1288,1262,1316,1326,1246,1198,1164,1112,1174,1262,1278,1456,1556,877,582,934,1400,1762,1870,1670,1360,971,949,640,731,1046,1332,1230,1160,1328,1302,852,775,974,743,1200,1518,1116,1136,1332,979,733,864,979,856,684,913,1001,797,922,1036,1160,985,819,709,1182,1018,836,943,1032,973,893,1102,1180,948,1030,1042,1086,1013,1204,1408,1366,1196,1004,918,1023,981,828,825,1102,1266,963,770,947,978,891,705,723,941,1028,1262,1368,1238,1350,1530,1374,1264,1448,1462,1030,1088,1544,1700,1788,1632,1412,1206,1236,1412,1576,1436,1356,1202,930,960,1246,1302,1302,1478,1532,1570,1372,1472,1594,1374,1306,1174,948,976,975,714,628,788,1414,1684,1534,1782,1888,1288,935,1438,1450,1244,1602,2082,1766,1324,1384,1436,1650,1158,967,965,810,637,808,1180,1348,1478,1394,1124,1118,1028,834,825,970,1132,1110,992,1136,1272,1224,949,747,1294,1260,520,392,677,1070,1300,1538,1498,1400,1032,1104,1354,1592,1398,721,995,1326,1598,1378,1672,2106,1540,1018,1392,1210,672,709,905,995,960,1102,1382,948,745,1048,1056,739,799,1118,944,616,630,800,778,666,775,918,824,709,1070,1186,1009,756,750,612,462,405,263,328,462,572,576,533,521,735,1052,1070,977,612,631,1300,1456,1074,990,788,522,452,480,438,409,428,411,360,1002,2008,1440,1023,700,395,417,491,425,378,354,336,336,336,406,271,267,269,250,328,427,412,342,261,205,232,207,205,283,419,732,1116,1414,922,643,544,524,678,845,850,1098,1484,1318,957,1072,1180,970,786,505,737,1220,1232,1052,1146,1168,1200,1284,987,1156,1184,1230,1260,1144,1172,1298,1370,1264,1432,1908,2570,1672,1492,1316,1284,1334,1372,1126,1298,1178,1036,869,1068,1260,1160,1138,1054,783,855,790,904,987,965,969,1150,1052,651,481,312,290,326,381,592,626,453,796,1256,1400,1434,1294,1332,1218,1142,1314,1168,1386,1444,1528,1600,1560,1454,1418,1370,1318,1318,1262,890,771,884,1080,1498,1602,1600,1202,825,891,1148,1376,1050,1158,1318,1472,1506,1412,1458,1686,1302,1626,1542,1328,1232,1196,1188,1432,1500,1320,1544,1328,1102,1548,1538,1320,1388,1350,1400,1598,1266,933,1338,1988,1914,1360,1306,1216,1058,1248,1426,1276,1256,1362,1400,1546,1578,1530,1648,1776,1696,1584,1620,1638,1570,1660,1806,1618,1206,1124,1474,1184,907,946,1338,1384,1346,1528,1120,803,1174,1228,746,533,866,1158,1162,680,489,709,1142,1330,1064,980,949,1332,1668,1170,776,991,1168,1356,1848,1888,1602,1320,1308,1890,2242,2080,2126,1840,1408,1736,1598,1198,954,1294,1484,1558,1532,1576,1606,1478,1498,937,561,473,564,743,902,811,535,495,465,738,1258,1412,1052,893,1098,1396,1498,1458,1518,1646,1736,1262,912,784,667,398,306,439,838,1118,1009],[1488,1410,858,760,1098,823,823,751,572,772,850,681,828,838,1016,1294,1284,1306,1484,1598,959,875,1026,803,623,490,401,351,343,359,411,414,386,378,420,404,336,348,389,451,421,365,287,284,438,424,456,696,511,801,918,973,764,496,867,1308,1130,809,658,691,730,901,1244,1420,1256,831,882,1048,831,631,749,981,1028,944,955,1046,783,484,384,458,593,919,750,542,566,669,1190,1216,1706,2026,1062,453,375,365,400,395,572,858,1090,972,903,981,955,559,365,417,488,517,562,999,1064,562,580,1100,1464,1038,560,811,1682,1794,1150,1034,1168,921,895,930,994,1278,930,852,1132,1430,1604,1638,1626,1446,1486,1758,1380,1456,1588,1544,1776,1966,1538,1092,975,738,732,752,925,1236,1062,803,952,1001,1150,1204,826,525,648,864,1158,1028,917,1218,1142,1040,1180,1430,1902,1378,1017,782,716,1084,789,502,563,597,576,606,700,568,452,569,656,560,1146,1504,1110,880,993,939,777,530,508,844,1074,1092,1388,869,503,444,425,636,1118,1216,1412,1824,1490,1382,1013,664,516,537,409,333,367,373,680,842,863,847,642,693,827,888,861,705,541,880,1232,1676,1508,1264,2352,3116,1548,858,405,367,461,626,868,999,987,1013,991,706,439,391,406,815,1450,1340,1080,821,1206,1298,1322,1422,1180,1004,974,767,925,1282,968,735,1330,1360,919,1098,1272,1294,1122,946,1576,1958,1690,1318,1058,987,571,675,597,524,778,841,683,569,637,667,528,548,575,749,819,1310,1260,1432,1448,1472,1532,1032,736,1086,1558,1384,1306,1440,1558,1378,1448,1278,1246,1174,1090,1142,1024,951,1668,1500,1236,1410,1290,1238,1178,998,557,413,671,1054,1334,1460,1294,1034,812,875,1160,1030,656,1198,1152,1112,1276,1238,792,735,1058,922,713,933,716,486,832,972,890,792,1150,1110,810,1088,1404,1416,1156,1304,1252,1210,1042,922,1182,1396,1100,839,647,508,471,521,907,1252,1052,580,882,1040,1308,1580,1376,1056,1130,1194,1064,1036,1066,1354,1360,850,646,919,891,805,705,959,1010,1118,1490,1328,1272,1452,1632,1510,1030,841,1256,1386,1194,1016,946,1154,1628,1416,864,415,303,327,382,342,313,372,386,338,320,290,286,297,406,504,503,555,488,523,656,758,794,527,343,392,415,343,312,300,474,542,653,488,323,270,449,539,396,405,423,270,326,540,815,915,672,783,869,1128,1320,1534,1362,734,363,321,293,359,536,492,332,306,325,517,658,600,682,1158,1500,1414,968,1270,880,825,896,1009,990,1005,1114,1106,971,1050,1250,1360,1286,1268,1438,1282,1268,1316,1226,1288,1278,1110,875,870,888,1118,1280,1182,1278,1142,1192,1418,1476,1302,1178,1168,1416,1484,1256,1274,1244,1168,1032,1242,1506,1228,668,546,593,858,909,670,517,597,1204,1664,1474,1146,885,1086,1152,1246,1288,751,444,550,651,630,889,1350,1194,620,499,605,1134,928,550,607,771,1180,1394,1276,1292,1106,935,825,1116,1766,1632,1036,1350,1402,1138,1052,949,1594,1226,1066,1236,987,1080,704,495,591,701,688,539,575,1110,1308,1180,1102,1290,940,807,876,1148,1180,818,522,562,876,1196,990,1134,1418,1152,841,843,1056,743,499,622,722,929,1184,1120,1340,1400,1114,1076,1232,1384,1470,1005,669,610,618,1001,1042,661,580,400,495,585,922,1382,1438,948,491,642,934,1328,1928,1808,823,715,714,788,692,647,839,630,349,317,299,326,400,598,910,659,477,537,561,507,429,397,497,692,1230,1970,1794,1462,1404,1322,1294,1418,1432,1246,1022,529,463,477,540,1030,1234,1146,711,336,599,1196,1300,979,494,351,528,484,389,451,404,341,436,468,407,333,415,365,299,242,738,1120,854,739,666,419,481,558,394,374,519,832,951,1034,995,1070,1180,1114,1200,1404,1200,850,1086,1062,457,414,709,794,1312,1072,918,1005,944,887,1009,1244,973,601,1216,1412,1404,1052,482,349,421,435,501,511,419,370,328,331,299,384,318,331,289,222,258,290,286,350,323,562,1208,844,495,299,630,570,314,257,350,439,503,361,262,351,233,225,336,368,266,250,438,730,711,417,295,254,275,284,388,702,526,393,463,536,525,406,456,601,536,357,364,570,692,758,648,478,294,286,269,264,281,325,454,767,897,488,311,444,476,492,460,379,296,271,369,581,709,629,421,445,631,592,860,1092,962,480,546,730,459,241,207,247,296,296,290,593,699,578,390,336,274,230,226,387,584,349,245,241,296,637,522,452,366,397,527,638,675,692,653,547,654,640,620,560,534,498,393,419,841,890,584,435,316,311,694,1330,1106,957,841,1134,1560,1516,1054,996,960,641,392,410,602,823,753,896,1036,1218,1378,1272,980,1260,1482,1028,731,735,503,278,238,274,321,271,305,371,723,941,585,544,830,689,394,574,919,1328,1058,930,1030,1046,783,443,413,604,672,753,808,541,387,401,647,570,902,1274,1210,1162,1464,1166,522,645,1112,1138,1390,1156,1212,1174,1286,1238,1594,1800,1650,1408,1422,1296,594,448,571,626,822,759,753,662,596,508,602,799,693,706,1220,1172,1422,1498,1412,1406,1350,1914,2166,1528,1084,1282,1114,831,1036,1662,1470,813,794,1176,1626,1072,416,437,356,636,1238,1272,1300,1416,1388,1328,1314,1456,1070,813,795,856,966,1050,785,752,980,1106,1628,1884,1372,565,636,729,592,543,630,611,506,546,859,1018,944,905,974,1218,1046,704,734,647,349,433,651,811,505,501,546,842,911,1110,1058,1068,1172,1250,968,630,745,1322,1300,1044,793,651,583,775,932,616,614,830,646,592,559,411,421,585,849,1112,1202,1434,1460,1636,1432,1268,1372,1338,1198,1250,1254,1400,1528,1420,1418,1302,890,760,998,1270,1278,1206,960,714,1009,1184,1120,1090,1134,1204,1104,1100,1180,1052,1014,1198,1440,1804,1658,1478,1388,1484,1604,1362,1170,1292,1424,1416,1552,1664,1510,1400,1422,1244,1362,1554,1144,1092,1318,1472,1328,1142,1118,1222,1116,1210,1292,1172,1108,1036,1184,1292,1078,591,1018,1952,2188,2208,1996,1566,1290,903,1030,929,1192,1112,984,1030,1080,935,888,888,1268,1356,1174,1582,1442,1260,1428,1526,1076,917,1015,1026,1050,836,772,786,833,604,1020,954,1108,1360,850,847,908,858,1316,1428,991,786,962,924,856,1086,1210,931,875,1100,1302,1086,804,639,757,1102,1080,967,1112,1162,1162,939,785,980,1028,778,544,526,661,619,574,561,739,1202,1376,1358,1480,1550,1596,1610,1638,1440,1226,1230,1008,1184,1001,1264,1632,1450,854,865,1168,1064,565,655,819,973,968,952,1224,1172,1048,846,925,1058,932,926,1048,915,773,1028,1202,1550,1690,1698,1902,2004,1392,1100,1452,1590,1354,1698,2082,1732,1364,1444,1558,1650,1072,965,918,973,960,919,1134,1332,1368,1404,1282,1284,1180,1128,1300,1254,1390,1272,1198,1422,1338,1256,1136,905,1240,934,684,633,532,608,1148,1510,1532,1278,1134,1138,1346,1528,1062,908,1186,1486,1580,1322,1592,1778,1198,911,1318,1007,736,693,774,783,620,722,720,559,676,935,991,777,775,741,678,585,645,641,503,641,842,1538,1334,1032,1114,1094,1180,744,516,402,439,368,288,326,374,488,551,532,638,1322,2034,1590,1102,496,442,1144,1510,1450,1204,841,539,441,422,371,375,391,380,345,885,1005,891,871,648,283,238,341,382,240,257,287,299,402,298,259,367,295,266,417,425,375,402,311,232,228,237,249,347,668,625,729,616,424,582,656,731,960,1394,1216,1018,835,805,997,988,896,1246,1256,895,767,854,1096,1194,1238,1170,1044,1272,1046,1254,1354,1532,1446,1310,1310,1390,1344,1232,1680,3038,4188,2122,1334,1342,1470,1374,1068,1266,1512,1312,1268,1252,1328,1492,1378,1238,1050,633,783,1064,1034,1130,1048,1086,1330,1152,1136,1142,460,302,344,379,704,760,814,812,915,1300,1372,1524,1466,1244,1150,1252,1414,1676,1680,1700,1742,1638,1404,1048,879,1272,1444,1250,718,647,1438,1858,1576,1342,1978,1842,1400,1198,1150,1196,1046,1404,1264,1328,1164,1440,1526,1048,1134,1738,1750,1406,1324,1340,1260,1322,1172,1136,1262,1210,1228,1292,1212,1368,1350,1048,950,933,699,564,1302,2084,1826,1260,1246,1148,1132,1316,1294,926,929,1354,1626,1486,1448,1546,1498,1488,1474,1476,1718,1708,1552,1654,1618,1570,1292,1214,1338,910,1040,1206,1110,1276,1506,1526,1184,1048,1222,1302,1342,1406,1240,1017,955,741,646,1012,1348,1534,1472,1180,1274,1438,1534,1328,1082,1238,1328,1550,1866,1964,1476,850,1005,1636,1962,2082,2202,2086,1572,1448,1370,1212,1122,1284,1334,1472,1608,1634,1748,1396,1540,1340,1340,1010,931,753,868,1096,1104,1092,858,712,1242,1322,948,1134,1470,1556,1430,1368,1414,1542,1466,1128,627,523,379,280,294,346,466,930,1176],[1736,1918,1114,1036,1656,1402,1500,1202,769,1098,1204,1228,1390,1168,1250,1376,1320,1340,1504,1376,762,912,1116,843,431,446,484,453,486,502,495,539,640,559,550,558,427,355,375,436,485,450,321,314,425,393,360,409,392,799,1098,1092,788,695,1058,1122,803,494,368,351,453,1028,1572,1716,1620,1412,1392,1340,1005,580,512,507,466,731,1086,1122,704,496,444,425,681,910,669,634,783,916,1294,1372,1376,1432,1022,546,382,353,360,354,357,657,979,824,858,908,886,515,354,425,543,807,985,1050,931,395,529,833,1036,894,576,1192,2122,2396,1502,597,626,532,447,689,1116,1482,800,846,1482,2010,1664,1188,1096,949,1260,1426,1164,1604,1510,1294,1148,1250,1760,1132,717,728,707,786,818,904,769,1118,1708,1604,1698,1300,756,733,868,980,997,941,1156,1086,980,1466,1268,1354,1334,1210,1320,1130,662,514,386,467,534,608,548,406,368,368,421,685,634,562,662,644,463,436,656,930,1018,843,1032,1328,1428,1304,1164,814,523,365,354,371,756,1152,1072,1568,1802,1420,1066,651,480,396,395,500,430,368,498,741,1074,995,633,553,572,810,888,872,679,564,942,1308,1034,1196,2490,3296,1582,738,461,386,385,806,946,894,1160,1100,793,612,477,554,475,571,1432,1626,1013,626,1410,2050,1770,1270,1032,1062,903,554,698,760,647,605,663,883,1038,1450,1264,1126,1005,694,1094,1646,1852,1664,1372,1402,896,507,481,810,1204,1404,1204,800,935,917,631,504,597,672,580,588,1072,1634,1792,2362,2330,1770,1172,1262,1076,1006,1534,1720,1306,890,1068,1396,1626,1638,1516,1390,1036,863,833,930,1222,1220,1258,1238,1216,959,586,605,667,982,1242,1268,864,573,451,698,1030,886,638,1140,1342,1084,969,813,552,474,686,534,481,553,442,490,548,416,417,739,1072,731,501,921,1268,1256,1058,1330,1476,1368,1064,1116,1332,1042,709,650,480,464,410,538,904,905,608,427,901,976,805,1140,1410,1278,1112,935,983,1062,1034,1982,1920,980,1082,1278,989,777,750,1012,944,1122,1702,1250,1110,859,835,1140,764,459,843,1310,1368,1414,1384,1500,1680,1360,1032,571,462,659,751,719,473,441,433,390,511,521,408,480,523,510,638,684,606,538,558,696,611,463,424,461,464,458,382,324,645,711,638,436,329,331,448,469,355,390,371,319,514,885,1021,641,513,600,791,1194,1500,1562,1368,673,419,422,353,419,627,457,274,292,375,609,821,656,464,807,1418,1134,893,983,1038,1118,915,1108,1052,775,829,906,890,1044,1372,1812,1820,1106,737,1090,1122,1126,1216,1144,1226,1168,1132,1334,1150,1030,1222,1260,1328,1246,1178,1136,1274,1216,1152,1226,1234,1100,1172,1258,1194,903,979,1122,1540,1304,659,460,707,1088,1082,808,765,879,1202,1528,1450,1138,1009,990,1004,1066,918,579,612,746,727,784,1246,1542,1432,857,522,477,783,655,392,406,719,1344,1294,1016,1068,815,704,859,1116,1384,1036,763,1520,1756,896,549,827,1528,1176,891,692,438,463,804,839,535,514,740,993,1068,1204,1158,1196,1252,1354,1034,1140,1368,1242,1158,952,503,572,913,1544,1258,1542,1936,1234,785,970,1092,799,649,590,521,786,1094,1007,1036,888,889,1164,1396,1428,935,667,678,491,785,1024,881,1108,1140,552,576,677,981,1522,1554,959,473,479,709,1328,1864,1664,893,1036,978,963,667,741,747,402,338,357,351,410,512,386,651,861,622,556,567,482,413,373,623,738,893,1352,1334,1328,1322,1376,1438,1170,703,489,569,775,812,535,647,1198,1350,1304,587,356,536,1026,1056,776,458,277,591,755,621,454,421,324,358,462,472,391,390,360,327,304,401,443,477,661,669,587,725,632,409,514,535,741,986,1002,703,737,1096,1204,1164,1198,1344,931,581,365,361,378,468,886,1238,852,988,1174,915,1028,1160,1510,1454,925,1342,1722,1688,1226,675,455,401,283,411,535,628,380,339,449,351,285,339,322,277,267,277,296,273,287,305,620,1194,827,437,499,580,380,262,273,327,313,347,421,628,780,386,239,340,294,246,267,330,495,515,447,339,255,304,359,523,765,476,315,488,471,312,240,316,438,542,428,433,514,495,382,290,317,381,350,319,352,383,312,619,1084,768,437,274,323,350,357,339,351,445,487,404,440,485,359,433,631,967,775,733,881,740,419,318,253,220,258,243,259,326,430,341,641,731,430,366,350,349,299,285,464,766,448,352,353,336,390,369,532,547,463,501,503,534,616,664,453,518,480,548,548,606,582,505,490,758,1005,628,451,327,290,570,1206,1092,1020,1572,2032,1780,1402,1164,1162,1248,836,482,382,488,857,888,1102,1318,1410,1594,1510,1132,928,958,658,387,428,276,272,250,273,356,510,634,677,869,957,817,953,865,654,466,892,861,772,604,697,814,792,582,423,502,651,665,980,850,480,344,529,765,1021,1310,1266,1010,1094,1516,1098,672,667,1128,1192,1384,944,1092,1274,1210,1260,1532,1588,1524,1624,1884,1248,547,535,675,752,736,852,795,610,597,545,752,876,662,759,1324,1208,1556,1628,1294,1178,1418,2082,2116,1378,1520,2098,1448,948,963,1622,1660,1386,2250,2290,1830,1728,908,582,356,507,1050,1130,1264,1378,1322,1366,1436,1438,1444,1202,663,599,815,989,450,498,754,1558,1918,1892,1140,595,831,815,537,604,521,539,547,542,626,975,758,706,652,525,597,471,369,436,369,562,664,578,505,510,494,642,946,1104,1132,998,1116,1384,915,761,668,1030,1172,873,918,1002,896,838,869,976,1278,1542,1020,902,775,497,742,1066,1172,1126,1062,1356,1678,1490,1244,1292,1362,1284,1202,1032,1158,1362,1562,1368,1246,1246,1088,768,660,852,1106,1124,1001,727,876,1128,1238,1352,1528,1108,786,988,1220,1166,993,1180,1898,1542,1298,1340,1196,1224,1300,1296,1208,1242,1234,1328,1474,1418,1494,1528,1548,1484,1642,1464,895,720,1094,1278,1262,1226,1068,1032,1040,1326,1346,1266,1334,1180,1120,898,476,339,958,1924,2044,1964,2104,1824,1576,1130,740,517,972,1200,903,726,740,943,1232,1094,1166,1268,1162,1150,1196,1374,1464,1368,1094,988,996,989,1002,871,767,702,833,647,781,661,1020,1340,990,1134,1016,845,1216,1278,713,879,1248,1138,1026,1110,1270,1266,1070,1226,1338,893,764,708,1000,952,750,677,952,932,940,945,710,747,767,668,669,870,1076,692,498,488,636,976,1092,1130,1064,1018,1334,1330,1372,1214,1120,1226,980,1002,977,1194,1322,968,792,1166,1148,1168,595,625,812,1030,1234,1266,1246,1176,1082,750,534,880,1013,877,838,797,637,738,963,1328,1594,1550,1500,1484,1286,1258,1394,1512,1366,1332,1296,1402,1416,1390,1452,1590,1412,1188,1086,1298,1254,1194,1250,1212,1246,1148,1430,1356,1266,1316,1304,1334,1450,1288,1244,1192,1021,1168,943,1248,1230,753,761,833,552,495,769,1138,1284,906,872,955,1408,1230,1046,1160,1358,1580,1390,1252,1336,1094,776,608,661,558,585,652,977,965,669,538,521,537,656,874,764,913,1112,768,1044,819,598,893,818,503,935,1508,1180,1058,880,867,1312,873,480,324,289,257,269,249,272,380,470,535,716,1334,1624,1528,1064,534,483,1196,1642,1624,1272,760,390,355,337,393,408,466,556,408,499,529,428,615,638,286,274,433,497,267,265,276,377,459,306,260,342,489,805,809,333,277,312,289,251,220,228,229,367,492,338,321,489,788,1110,1312,1210,791,1088,1005,772,728,899,1184,1096,1120,1566,1560,1280,1034,1056,1246,1342,1272,1176,1078,1322,1292,1310,1038,1112,1306,1180,1244,1356,1432,1332,1676,2480,2978,1960,1162,1212,1178,1156,1240,1332,1318,1154,1272,1334,1728,2406,1810,1344,1007,573,875,1172,858,881,1172,967,769,990,1130,1088,659,326,332,662,769,864,1362,1322,1124,1004,1120,1064,1248,1226,1072,1414,1604,1444,1444,1516,1582,1476,1366,1196,1160,1380,1316,975,636,711,1152,1332,1180,1192,1876,1852,1360,1360,1176,1238,1364,1482,1328,1224,1004,1442,1432,891,982,1536,1872,1686,1230,1114,1228,1238,1272,1896,1690,1304,1280,1096,1228,1394,1038,777,776,903,792,981,1542,1684,1460,1214,1290,1300,1072,1038,1142,736,664,1086,1476,1520,1638,1574,1520,1514,1444,1256,1440,1594,1566,1556,1708,1588,1005,991,1104,1144,1380,1422,1440,1496,1312,1044,878,995,1102,1238,1386,1310,896,713,662,581,975,1384,1172,1234,1352,1284,1500,1360,1230,1296,1576,1644,1588,1464,1632,1938,1684,1396,1410,1464,1544,1972,2086,1988,1604,1482,1518,1354,1226,1392,1520,1378,1250,939,1310,1370,1556,1584,1498,888,1050,1058,807,1150,1378,1332,1156,971,1034,1092,1490,1512,1544,1384,1206,1338,1490,1266,882,808,571,531,360,331,353,327,330,586,1184],[2308,1814,1282,1234,1732,1842,1582,1006,921,1001,991,1112,1206,1274,1322,1358,1572,1676,1544,867,713,906,936,917,550,441,525,675,824,734,518,560,857,746,488,379,360,357,444,584,610,399,333,336,491,449,384,409,463,659,810,711,804,1534,1296,736,520,413,432,442,453,1014,1380,1372,1376,1072,893,866,673,471,444,465,422,541,856,941,786,607,579,549,477,547,622,544,483,637,619,761,675,657,617,525,506,486,445,530,648,968,950,925,826,869,780,481,465,756,901,876,1116,1096,949,451,465,527,651,742,588,992,1434,1580,1120,498,609,791,1776,2182,1356,948,736,746,1204,1588,1342,800,590,867,992,914,1284,1626,1470,963,908,1500,2024,1446,894,1056,1078,943,498,504,562,1166,2228,2090,1850,1606,1388,1194,865,651,727,849,1009,703,604,1001,832,805,1162,1288,1484,1128,477,375,321,414,433,544,599,420,340,414,440,655,670,550,634,710,544,472,846,994,1232,1530,1360,835,507,467,488,590,517,315,343,348,418,868,1178,1210,1416,987,774,572,476,561,917,933,510,443,727,967,1238,832,539,404,690,1486,1508,1146,850,511,627,958,1290,1130,1050,1160,747,434,493,426,343,556,615,1108,1914,1716,720,710,775,885,828,794,1118,1338,1054,1014,1614,1772,1664,1268,922,818,687,564,651,926,1034,890,916,1212,1346,1450,1456,1682,1368,1312,924,1064,1898,1894,1570,1376,792,744,1130,1092,1100,1432,1398,1066,1034,783,742,619,715,739,524,656,1210,1370,1750,2564,2096,2216,1416,1268,1076,1332,1570,1400,1094,1050,1198,1252,1188,1422,1742,1528,1156,1288,1220,1040,860,880,1100,1120,1268,982,732,1152,728,675,1106,1368,1096,649,558,672,761,770,882,1212,1250,1012,839,771,686,673,969,1024,759,550,787,1080,926,736,559,521,423,360,485,960,1214,1168,1080,1250,1470,1294,1021,1078,1284,830,368,301,406,440,447,508,604,514,397,456,910,1214,1252,1358,1262,1138,1014,1019,678,695,1282,2458,1898,821,984,1046,717,630,798,855,705,953,1722,1506,1274,655,391,501,622,583,703,1266,1588,1654,1542,1576,1574,1290,1192,851,838,875,1090,1030,692,839,584,459,436,508,702,799,778,680,755,806,692,692,1050,1262,596,359,393,480,495,463,345,310,457,566,529,573,733,540,477,443,361,404,391,386,628,1030,1298,1054,806,599,766,1236,1816,1692,1174,1174,754,455,390,468,507,399,313,313,351,509,613,598,905,1128,732,859,1234,819,955,1012,921,1138,1056,858,991,735,615,982,1526,1788,1564,965,798,1098,1042,1098,1274,1340,1286,1230,1464,1802,1596,905,869,1100,1132,1224,1224,1086,1118,993,838,844,918,1260,1286,1176,1198,841,940,1202,1506,1256,535,535,850,1040,956,856,1228,1192,1140,1278,1312,1066,964,1130,1110,1146,900,525,735,916,754,891,956,891,1026,936,522,346,411,337,336,519,875,1328,1252,1172,1220,901,620,583,655,739,637,447,874,1334,942,865,1008,1005,798,647,555,528,581,849,1142,997,650,681,704,927,990,1116,1490,1526,1478,1496,1474,1332,1023,987,912,797,840,1106,1434,1278,1138,1038,968,767,752,1090,1248,1118,1070,856,905,884,806,590,610,1014,1082,1122,915,656,1015,1050,918,853,693,626,1368,1418,786,586,498,714,1266,1556,1176,482,553,1252,1918,1656,1005,1130,1422,1652,1614,1208,1028,667,408,355,422,623,540,716,512,758,1290,850,518,556,472,408,398,429,436,620,930,1168,1376,1338,1106,996,641,558,687,811,1090,1013,672,784,1418,1294,1074,643,363,522,1106,1170,914,585,324,516,900,877,371,308,329,298,376,431,372,345,325,324,348,383,499,710,774,655,959,946,666,710,940,894,668,741,809,636,877,832,689,914,1348,1268,1368,868,518,434,457,401,1042,1340,529,549,579,660,1068,977,1670,1986,1424,1532,1800,1724,1526,1050,593,489,354,636,962,992,560,419,591,401,266,268,249,259,295,346,338,277,251,241,241,425,388,442,680,554,254,238,269,271,334,664,1080,973,818,493,278,301,300,268,304,377,367,371,426,321,339,445,708,866,704,411,399,467,487,422,261,307,527,764,824,667,527,385,324,393,490,494,515,362,353,451,376,719,717,560,351,263,306,432,565,577,560,553,561,390,502,825,702,784,1021,1074,766,484,363,313,354,363,305,296,354,314,442,808,1132,675,597,744,555,597,490,343,234,231,472,991,936,595,477,623,642,477,376,424,462,457,472,497,558,581,419,481,480,408,408,467,698,828,752,893,1146,714,487,347,258,566,1108,948,832,1346,1580,1362,1182,1356,1294,978,536,384,572,636,938,1498,1642,1220,1004,1052,895,683,420,476,565,1338,895,364,300,254,407,789,1138,1112,1164,986,890,702,821,556,530,711,794,534,401,401,669,841,547,476,477,534,469,379,573,781,558,352,577,1046,1330,1152,850,1112,1516,1566,1184,1278,1144,1218,1240,1256,984,1088,1382,1368,1364,1750,1644,1554,2022,1968,879,504,615,732,781,759,836,683,583,518,631,825,799,592,728,1238,1322,1610,1742,1354,1096,1504,2286,1938,1246,2116,2674,1682,999,943,1576,1670,1876,3388,3196,1772,2024,1394,813,366,514,1096,1244,1326,1454,1354,1618,1972,1660,1390,927,461,426,442,513,708,828,597,1136,1492,1632,1496,1488,1212,984,471,950,792,502,558,543,580,711,726,625,601,655,724,559,459,677,564,450,451,560,724,607,623,908,1198,1316,1322,1098,1246,1368,1334,1616,924,965,1384,1280,1328,1272,1066,1072,1184,1384,1316,1382,1364,1238,1132,1036,1160,1194,1168,1262,1242,1236,1364,1384,1312,1328,1428,1316,1176,914,862,1082,1078,844,1036,1222,993,614,738,1266,1262,1162,1732,1422,1064,1290,1366,1296,1196,1162,1332,1280,1488,1162,1274,1192,1580,1432,1308,1274,1230,1170,1140,1138,1268,1388,1116,1078,1388,1122,1416,1624,1732,1496,1376,1444,1280,1160,1232,1354,1360,1420,1274,1134,1100,1410,1240,1362,1578,1226,977,893,580,1098,1758,1908,1576,1304,1906,1910,1602,1262,625,310,613,1026,1050,701,489,602,1034,1106,1232,1538,1126,1178,1428,1516,1902,1368,1046,1142,1162,1230,1162,803,845,691,577,606,623,705,1130,1230,1150,1322,1126,1238,860,899,769,978,988,1076,1052,954,1174,1188,1034,1442,1216,789,699,791,1020,1162,830,581,707,644,688,866,873,785,676,564,893,1256,1384,855,488,458,619,850,1032,1260,1208,741,1106,1460,1686,1532,1388,1482,1384,1100,912,869,901,990,912,1176,987,952,673,633,815,891,972,865,914,1140,1284,920,697,1278,1426,965,946,1216,968,913,1302,1514,1546,1604,1798,1642,1098,929,1360,1618,1050,1034,1152,1304,1450,1484,1488,1494,1538,1360,1348,1656,1604,1620,1816,1522,1320,1126,1328,1468,1328,1294,1212,988,1072,1034,1102,1036,1036,896,632,862,820,614,733,702,454,404,331,622,1076,1058,1048,1070,1230,1018,966,1176,1398,1512,1564,1344,1106,1006,814,663,602,579,647,877,900,644,506,485,509,587,901,879,773,717,918,979,1204,708,531,972,834,471,519,564,669,742,789,896,1180,746,441,380,360,395,375,251,290,328,425,578,741,1370,1218,1386,1028,454,425,673,1017,1192,1160,662,376,349,364,336,554,1196,1236,596,427,495,434,441,347,212,251,382,400,299,301,305,509,536,310,313,353,517,1078,991,362,279,437,332,239,218,229,230,230,276,289,391,738,780,1318,1866,1666,903,666,518,696,959,1040,1224,1216,1120,1444,1460,1248,1124,891,678,789,1026,1004,924,1074,1196,1272,1224,1188,1108,1080,1142,1158,1122,1078,1302,1512,1466,1298,1170,1152,1388,1494,1208,858,1208,1274,1154,955,1282,1656,1660,1274,1040,898,905,996,827,910,1438,944,645,1164,1332,1017,686,743,872,861,712,807,1162,1426,1560,1054,999,1023,1290,1394,1288,1490,1450,1554,1542,1384,1494,1622,1376,1268,1170,1338,1330,877,854,1168,1322,1376,1482,1624,1664,1350,1354,1264,1028,1238,1506,1546,1466,1466,1606,1560,1132,927,1040,1340,1632,1760,1408,939,1066,1060,1284,1744,1304,1302,1758,1478,1484,1314,943,770,733,907,1140,1338,1438,1392,1268,1058,833,1130,1240,1020,811,623,682,880,962,1174,1520,1578,1570,1506,1404,1452,1600,1744,1584,1520,1902,1568,1066,1318,1584,1500,1118,990,1276,1470,1208,839,878,1288,1136,1440,1516,1262,1360,1306,711,634,1362,1932,1494,1046,1324,1144,1060,1310,1460,1726,1820,1614,1462,1510,1664,2188,1982,1774,1710,1954,1490,1644,1786,1528,1344,1376,1488,1288,1192,1310,1372,1224,1114,839,1310,1338,1494,1478,1364,1208,1224,1116,938,1224,1378,1134,1102,953,1098,1246,1590,1516,1472,1216,1084,1238,916,569,379,452,502,550,437,409,444,405,345,461,939],[1224,1068,1042,1168,1294,1352,1054,631,742,832,988,1104,1204,1306,1306,1360,1446,1504,1502,1072,686,775,969,824,741,467,455,646,782,741,602,692,908,739,438,349,326,346,551,671,464,287,296,320,520,513,412,449,509,526,606,628,788,1344,1078,670,461,522,553,497,480,803,1172,1548,1704,1028,614,600,547,469,432,446,479,556,636,800,811,537,617,634,473,631,631,489,453,508,402,357,423,450,439,392,395,363,426,582,705,797,713,852,821,684,696,584,467,608,686,776,1284,1410,1088,508,416,648,1076,889,385,455,492,666,813,800,802,1018,1762,2158,1390,637,622,662,554,564,705,946,1248,1578,969,659,1122,1316,1288,1180,1384,1682,1582,1094,869,1448,1230,979,583,515,526,843,1766,2052,1980,1770,1214,963,973,1158,1422,1198,1146,857,530,479,818,871,1076,1406,1344,871,382,334,303,393,514,816,783,503,532,653,475,506,605,500,441,515,630,523,1016,1252,1532,1656,1478,909,688,1076,929,733,569,352,379,437,412,539,1100,1262,970,664,604,658,1040,1296,1294,608,573,724,1644,1636,1302,868,500,863,1962,2156,1250,977,1140,679,782,954,1026,771,974,809,516,644,800,639,447,413,487,791,1268,1448,1446,1570,1230,1028,1258,1258,849,861,742,994,1206,1098,1156,1390,1354,1015,643,609,793,875,1102,1418,1608,1466,1158,1168,1672,1698,863,1244,1092,759,1190,1378,1428,1382,965,519,712,914,1272,1256,963,896,811,640,1046,974,630,553,665,1094,1074,991,1534,1692,2178,1998,1506,1254,1534,1514,1005,944,1032,1364,1510,1240,926,908,985,1098,1382,1320,1156,1028,688,933,1344,1326,1352,855,455,517,415,504,799,879,755,792,1290,1526,1414,1534,1502,1398,1320,1262,1130,948,863,829,1072,1390,1110,752,856,931,866,969,662,436,360,371,505,974,1194,1380,1296,1202,1090,730,866,1098,1144,627,307,321,362,511,787,654,422,464,576,666,1096,1036,944,960,929,860,692,1144,1112,929,1688,2204,1352,536,519,763,1112,995,1036,1084,757,1290,1562,1328,1300,730,375,626,1054,1158,1202,1130,1172,1510,1572,1470,1472,1256,1154,1104,955,1012,1226,999,907,1010,927,861,730,689,556,535,683,763,1000,1098,929,850,1238,1238,655,394,408,496,474,432,321,276,386,459,390,501,570,389,491,390,395,453,376,351,578,828,907,1216,1374,858,617,949,2154,1694,1011,1254,1080,722,615,595,438,349,321,366,429,472,397,423,926,1032,620,844,868,536,888,1170,1058,1362,1094,1290,1482,1118,805,1184,1470,1288,1416,1620,1370,1070,1178,1422,1310,1328,1110,1118,1288,1538,1278,897,811,968,1132,1176,1160,1240,1284,1214,988,687,741,1260,1360,1188,1178,912,951,1288,1388,1046,432,514,802,804,630,912,960,948,948,960,1052,908,1028,1234,1008,1046,849,527,812,968,783,1260,2098,2426,2160,1258,547,327,306,370,421,548,1016,1496,1242,1200,1005,503,365,420,464,678,823,608,708,980,635,562,927,1038,1013,994,771,677,858,1108,1290,1038,822,740,692,701,943,1222,1360,1248,1356,1498,1260,1084,895,1088,873,996,1260,1240,1168,1278,1136,1014,1011,811,764,957,1034,994,1212,1252,1098,922,730,508,699,900,844,941,765,910,1042,969,1106,915,696,613,812,752,760,825,656,681,1013,1094,705,479,522,666,1044,1030,1166,1048,860,1316,1524,1474,1166,519,497,534,428,525,646,788,628,644,1088,873,467,484,462,397,402,422,635,991,1234,1350,1224,780,541,439,421,597,778,849,1196,939,772,814,1214,1268,960,698,421,596,1234,1288,1056,543,386,500,872,977,534,328,352,340,336,367,346,320,299,305,327,398,631,913,910,871,1218,1466,1246,1316,1584,1622,1178,566,642,1058,974,570,462,462,800,1050,1218,1206,983,568,410,538,1238,1058,475,417,393,765,1082,651,832,1340,1582,1644,1808,1808,1618,1164,564,459,422,850,1178,1106,667,427,471,275,249,264,245,248,293,326,321,296,284,280,270,394,848,1270,689,352,289,233,294,350,417,825,1022,674,456,368,307,278,286,291,324,318,322,313,338,293,457,874,1174,1013,678,709,792,842,694,521,327,305,383,583,559,453,387,357,423,449,524,492,600,490,397,373,346,337,585,539,267,255,336,521,674,541,380,302,342,460,828,1212,1082,802,646,432,311,427,616,839,498,401,302,321,401,653,976,1084,1210,976,621,847,796,835,650,275,211,255,487,761,714,440,299,342,478,454,359,366,418,441,466,454,622,677,522,406,396,462,533,452,565,614,750,838,1078,658,398,322,255,598,968,855,849,1262,1426,1046,637,1058,1108,718,532,613,1021,780,773,1612,1512,664,356,354,585,613,470,561,428,890,656,456,562,703,841,1172,1536,1594,1646,1126,849,563,437,400,612,802,544,312,317,626,953,856,437,391,508,471,353,364,486,466,389,418,855,1292,1312,1088,760,1218,1700,1704,1360,1152,1114,1076,1188,1280,1046,1178,1548,1636,1482,1782,1732,1232,968,770,597,629,797,871,805,838,831,603,554,486,731,1002,777,565,796,1222,1318,1606,1738,1512,1410,1726,2216,1686,1312,2162,2608,1678,969,980,1452,1650,1766,3330,3292,1662,1652,1284,990,464,600,1166,1328,1234,1218,1310,1690,1986,1782,1360,807,806,687,480,556,942,1176,1700,1700,1094,1324,1378,1236,842,755,546,915,747,491,635,640,509,1005,1322,824,559,711,887,683,423,444,424,340,325,540,673,548,533,804,949,846,854,980,1116,1256,1390,1340,996,1036,1250,1542,1458,1184,1126,1234,1210,1148,1023,1140,1170,1170,1216,1232,1244,1132,1004,1028,1036,1023,1150,1270,1344,1632,1268,1023,1108,962,747,949,1028,929,1456,1404,865,768,931,1012,1156,1206,1586,1440,952,841,1068,1228,1542,2142,2148,1576,1444,1376,1314,1242,1196,1256,1300,1394,1426,1414,1548,1416,1412,1444,2338,2344,1892,1418,1470,1472,1570,1544,1476,1252,1394,1482,1388,1422,1518,1512,1488,1250,1160,1234,1272,1488,1532,1410,1472,1470,1266,1728,2140,1802,1021,514,1550,2096,1752,1482,852,398,501,718,817,714,769,1018,1200,1472,1368,814,639,1174,1420,1954,3076,1710,1116,1720,1848,1332,1142,824,731,672,704,894,725,798,1266,943,1280,1240,1218,984,930,984,1060,1322,1418,1268,797,902,1262,897,833,1260,1024,906,976,771,816,1023,894,784,505,489,626,1128,1148,772,694,578,791,1130,1098,669,515,677,836,797,1046,1218,1232,895,1094,1522,1854,1446,1250,1442,1482,1288,952,1024,1198,1394,1262,1116,1190,1076,844,961,989,1028,1224,1198,1164,959,797,610,538,738,826,799,865,927,835,771,830,1042,1358,1376,1418,1400,1194,950,1356,1404,1150,1120,1268,1504,1642,1698,1518,1406,1458,1476,1544,1490,1560,1684,1688,1556,1402,1246,1440,1590,1338,1270,1000,784,956,992,1252,1152,1306,1102,722,650,693,989,1028,667,451,472,385,654,916,1168,936,990,1234,1168,1078,1042,1164,1298,1334,1238,1052,1284,937,1016,1478,1440,1410,1410,891,564,466,381,470,640,702,558,822,1058,1422,1548,1390,775,532,1023,642,442,463,623,971,866,1118,1426,1308,979,748,451,560,777,902,405,314,393,479,612,1032,1686,1416,1232,994,594,440,609,789,1206,1278,843,512,385,466,347,614,1536,1776,924,493,540,378,298,266,252,301,379,515,564,420,252,329,372,337,318,298,248,569,520,346,325,469,428,305,272,255,238,235,359,338,383,708,788,868,1580,1464,1370,1056,502,711,912,898,877,1174,971,1104,1428,1196,1112,1060,883,786,767,972,1310,1318,1258,1312,1510,1368,1138,1060,965,940,980,825,808,1082,1136,1112,1228,1260,1202,1214,937,944,1520,1324,912,566,838,1418,1548,1186,1142,1164,939,720,1058,926,1034,1144,1082,1306,1426,1072,726,985,1172,861,1024,1060,912,1560,1516,1266,933,1140,1390,1518,1650,1616,1778,1760,1436,1322,1436,1470,1526,1390,1278,1272,1134,1092,1200,1322,1354,1354,1490,1648,1576,1602,1592,1194,821,914,1206,1364,1396,1524,1842,1692,1282,1066,1188,1332,1528,1832,1780,1300,1204,1200,1376,1442,1282,1722,1780,1428,1282,1584,1180,723,1068,1526,1590,1434,1328,1260,1312,1156,973,1030,962,844,754,779,768,845,915,1128,1380,1532,1614,1600,1638,2004,1704,1766,1520,1710,1676,1426,1362,1152,1406,1582,982,893,1252,1600,1534,1302,1284,1644,1550,1674,1504,1388,1656,1438,777,705,984,1710,1782,1236,1208,835,903,1834,1838,1466,1628,1584,1646,1682,1366,1544,1718,1642,1660,1594,1296,1490,1416,1272,1278,1216,1500,1500,1184,1216,1312,1412,1302,1282,1292,1326,1470,1432,1560,1504,1500,1224,1003,748,567,746,1258,1052,848,919,1104,1388,1322,886,940,1026,714,424,378,381,461,480,402,379,435,408,424,714,1016],[985,976,960,1074,1200,1332,981,622,761,1098,1248,1160,999,1092,1220,1250,1318,1344,1236,1070,541,497,586,635,708,619,573,545,497,488,389,468,772,647,411,359,345,332,521,556,375,292,326,485,651,548,473,458,399,321,379,513,871,886,678,528,477,555,601,533,501,755,1126,1716,1942,1038,511,705,576,487,655,719,650,535,633,1250,1294,719,617,614,554,532,467,418,386,372,357,436,480,454,355,322,339,354,389,454,622,659,604,844,829,603,758,590,461,408,365,700,1546,1690,1144,569,497,1086,1752,1140,329,305,389,536,521,484,650,1208,1320,1362,1162,887,942,771,528,454,495,796,1100,1766,1154,778,1400,1498,1442,1510,1584,1466,1034,1013,1598,1642,885,933,699,509,513,793,1372,1526,1368,1086,700,530,811,1370,1512,1298,1528,1468,1012,829,963,941,908,1174,985,768,821,702,496,547,1040,1226,881,634,830,899,469,639,957,808,634,580,696,730,844,1190,1608,1622,1600,1394,1132,1522,1188,817,639,661,967,938,736,536,732,1168,1230,867,667,1084,1670,1714,1184,763,791,621,926,1266,1366,1250,1506,1876,1802,1528,1242,1454,1424,1174,1438,1334,1130,986,941,815,886,1056,1078,858,637,532,538,474,662,1522,1452,1212,1116,1144,1340,1030,934,1276,641,670,765,884,844,1019,1180,880,585,623,698,665,825,1238,1468,1238,958,858,1632,1998,1256,932,984,1064,1222,1348,1422,1316,1404,813,545,672,1600,1616,1162,873,698,908,1218,869,681,666,940,1120,645,792,1138,1592,1812,1714,1448,1362,1656,1342,802,847,1112,1220,1394,1168,1028,798,930,1270,1570,1224,846,796,753,1052,1138,1084,1192,848,408,306,402,470,667,792,637,1060,1982,1754,1028,921,1054,1120,1266,1594,1368,1118,1010,735,760,998,791,791,962,847,989,1108,965,648,425,467,772,1054,1192,1494,1306,885,750,823,1268,1660,1426,771,442,459,522,452,539,671,475,880,1138,1017,1346,986,991,957,990,894,650,744,836,1028,1334,1318,855,426,381,944,1770,1444,1021,1114,839,1224,1388,1714,1854,880,451,604,1130,1436,1244,1108,1244,1426,1350,1162,1268,1380,1428,1522,1388,1242,1136,1240,1258,991,1338,1428,1020,657,739,800,823,957,1038,1130,1226,1240,1474,1100,863,566,483,483,447,377,310,270,352,395,401,438,427,337,375,326,399,402,348,468,697,772,513,506,655,799,778,819,1072,1022,1260,1426,1338,1118,746,550,350,315,341,384,603,545,439,330,506,503,616,1038,857,437,871,1246,1242,1422,1328,1522,1710,1456,1188,1226,1352,1572,1812,1710,1460,1386,1406,1360,1204,1144,1122,1032,913,905,630,651,978,1090,1132,990,849,1362,1412,1306,1242,918,1142,1260,1094,930,758,699,973,1256,1318,799,462,419,596,758,850,1068,1066,1038,1060,1250,1440,1404,1244,1014,1044,1002,1007,802,807,966,998,1498,2058,2254,1912,1200,512,362,362,764,913,767,1054,1262,1066,1292,1116,540,463,614,675,577,455,386,604,1002,781,610,963,1108,956,929,771,828,760,838,1016,766,748,786,861,814,865,1430,1504,905,1006,1480,1212,1017,871,1126,960,1018,1308,1256,1172,1132,922,661,689,804,644,571,541,636,1028,1330,1238,1108,958,774,743,817,790,833,912,1122,984,1082,1298,1174,1058,817,600,1015,1556,1162,1023,868,515,383,413,583,521,416,785,1194,1224,849,703,821,1152,1260,756,556,825,856,699,751,889,880,694,617,673,613,488,460,472,503,659,948,1246,1326,1186,962,673,490,453,444,458,733,1400,1158,1220,837,663,694,930,1016,746,565,373,725,1270,1080,1156,521,415,516,1044,1234,650,321,407,451,410,364,305,320,333,320,319,335,334,555,751,1130,1294,1388,1426,1258,1146,1482,1444,839,716,890,548,412,446,415,409,666,908,1174,1310,921,519,919,1488,825,499,403,772,838,897,1132,983,1380,1698,1636,1846,1722,1590,1040,442,366,403,706,710,557,433,375,465,300,273,378,397,395,391,318,297,307,346,330,282,438,1136,1730,892,430,288,512,677,489,361,500,741,1028,1016,781,462,330,365,321,308,256,264,317,341,328,658,1238,1298,987,632,653,813,1036,565,383,367,300,244,303,323,312,253,321,384,335,512,572,524,747,658,365,284,222,244,324,487,373,380,341,363,378,405,517,501,437,474,506,427,329,263,246,324,577,682,964,558,372,312,321,376,867,1250,879,792,800,708,785,550,515,316,230,256,262,350,310,176,180,226,310,433,299,352,381,408,424,465,433,492,697,708,503,486,504,600,562,566,555,532,533,955,799,431,392,437,822,1274,1314,1100,998,896,631,651,1306,1648,1136,677,1068,1532,1046,978,1636,1066,614,425,438,577,530,428,508,680,899,850,610,893,1128,1228,1150,1228,1620,1618,1003,840,732,414,533,860,694,391,389,558,927,712,408,353,421,487,390,365,562,530,299,347,548,1106,1334,1266,1170,1108,1460,1350,1606,1706,1402,1294,1001,933,1208,878,1294,1456,1368,1528,1502,1354,1076,860,896,824,796,981,976,803,952,904,685,500,565,929,1094,781,561,966,1340,1180,1404,1416,1274,1216,1968,2154,1372,1614,2524,2754,1832,894,1046,1418,1726,1594,2718,2664,1868,1794,1820,1220,463,588,1144,1332,1382,1288,1458,1418,1482,1480,1500,1506,1144,616,406,422,622,1224,2048,1682,1274,954,1016,1108,1194,961,811,828,816,742,875,816,571,565,645,689,533,462,521,616,440,371,437,310,262,398,461,354,414,515,644,862,852,976,1230,1306,1072,784,861,865,1001,1468,1396,1332,1162,1350,1284,1256,1520,1284,1040,1015,1050,1174,1214,1150,1156,950,819,1300,1354,1134,1100,1280,1140,1090,1194,1242,1074,1066,1194,1176,1444,1120,973,1202,1328,1270,1256,1234,1128,1002,849,1040,1184,1382,1462,1456,1510,1448,1488,1422,1366,1320,1330,1286,1302,1436,1458,1400,1390,1416,1382,1400,1940,1880,1520,1472,1418,1332,1476,1552,1482,1218,1246,1316,1420,1284,1638,1774,1394,1072,1078,1088,1372,1434,1522,1572,1662,1670,1450,1380,1938,1946,1050,762,1702,2148,1992,1724,1224,561,514,636,594,665,1114,1406,1478,1564,1274,731,896,1084,1180,1390,1548,1312,1116,1560,1780,1306,1026,857,962,982,846,977,854,906,1170,821,959,1120,1186,922,642,602,830,1023,890,1096,855,714,662,391,518,1100,970,814,859,807,836,1066,1440,1170,500,393,830,1410,941,484,526,521,550,690,777,849,780,997,1102,904,909,1232,1434,1308,1180,1498,1846,1534,1354,1356,1426,1266,1004,1158,1360,1344,1200,1240,1360,1120,797,868,976,1086,1358,1244,1074,803,610,514,433,402,405,778,1072,920,772,667,789,1122,1704,1284,979,1232,1050,858,1004,836,846,1104,1250,1300,1490,1656,1394,1522,1706,1604,1280,1188,1204,1220,1374,1538,1554,1476,1378,1398,1272,1288,1364,1870,1578,1454,1650,1602,1660,1500,1164,1116,1058,1130,883,586,724,1068,841,633,597,922,973,930,1240,1224,1316,1322,1374,1252,1374,1676,1364,1206,889,733,1470,2176,1716,1234,838,935,487,346,507,592,524,543,699,733,938,1384,1338,780,706,735,457,448,617,813,954,788,874,1270,1348,1260,1112,497,638,1058,1144,526,433,480,584,732,949,974,848,859,680,489,458,749,1174,1538,1314,948,586,393,413,385,359,771,1324,847,620,644,394,321,405,355,291,361,719,1023,667,255,337,406,326,300,269,226,344,395,354,288,351,430,488,464,260,235,253,345,403,538,780,1009,801,1306,1658,1774,1594,816,1042,913,847,783,1320,866,908,1556,1304,1238,1770,1712,1152,1064,1470,1340,1078,1324,1262,885,584,558,821,792,514,680,658,713,944,901,735,985,1156,1028,1005,1078,1012,1010,1034,920,733,1076,1476,1290,894,998,1250,1188,962,1276,1310,1294,1364,1454,1446,1446,1266,740,860,991,547,861,1204,1162,1700,1806,1448,1260,1374,1404,1478,1568,1590,1836,1494,1418,1386,1502,1412,1510,1560,1542,1404,1262,1180,1396,1306,1176,1200,1860,1772,1528,1466,1338,1138,914,1044,1286,1272,1266,1348,1498,1592,1528,1414,1382,1256,1490,1614,1648,1620,1462,1302,1290,1366,1330,1676,1442,1464,1378,1394,1048,874,1440,1662,1478,1328,1226,1226,1208,1140,1258,1200,995,763,807,1005,938,902,1230,1572,1830,1586,1542,1434,1218,1200,1266,1380,1278,1378,1496,1618,1412,1274,1640,1748,1118,954,1060,1528,1598,1448,1432,1472,1600,1684,1426,1434,1432,1482,1324,763,685,1302,1400,1232,1170,768,680,996,1166,1620,1582,1568,1650,1412,1230,1152,1562,1860,1744,1460,1338,1332,1196,1284,1448,1126,1260,1802,1368,1468,1394,1210,1466,1526,1278,1220,1020,1054,1340,1506,1568,1218,1036,719,537,553,961,886,480,502,880,1482,1110,679,1034,1228,1270,814,415,326,370,369,388,373,445,602,852,980,1106],[760,877,1058,934,1216,1192,753,794,1344,1550,1310,1088,982,1118,1136,810,750,883,823,786,664,652,484,519,711,910,808,580,444,420,386,386,664,644,421,335,351,305,359,367,379,390,322,433,670,558,403,303,403,537,634,611,581,612,577,510,545,579,547,516,532,695,984,1324,1296,739,458,483,539,723,1042,1390,1122,894,1288,1448,1428,1208,713,384,409,476,461,416,421,410,392,588,560,466,419,442,401,311,292,526,818,767,677,826,681,629,707,540,503,484,354,445,891,1356,1300,720,567,977,1316,943,368,360,429,465,423,376,720,1156,1250,1552,1200,997,982,625,553,498,557,945,1406,2032,1560,1472,2038,1394,1406,1604,1636,1654,1310,1766,1656,1296,1342,1222,744,591,601,586,618,625,612,491,509,785,922,1106,1040,1132,1388,1234,1230,1272,1282,976,866,1332,1090,683,926,1168,1030,1152,1642,1666,1230,833,690,644,432,704,963,725,755,731,582,922,1500,1786,1484,1476,1412,1322,1206,1088,990,867,689,1100,1868,2010,1382,725,685,996,1460,1282,808,1238,1454,1408,780,588,594,429,568,1062,1136,1132,1614,1518,1246,1476,1716,1630,1466,1606,1478,1194,1019,998,869,624,619,749,701,667,758,565,590,626,618,1318,1696,1530,1302,1384,1288,1108,894,1114,601,563,739,875,1362,1028,560,505,527,915,1232,855,688,601,630,995,876,565,1194,1492,973,1068,1676,1696,1308,1300,1506,1310,1478,1344,963,660,967,1148,1154,1228,1178,955,1062,828,937,1208,1316,1166,758,536,518,828,1102,1262,1296,1382,1038,892,836,998,1526,1434,1278,1152,1066,937,1050,1332,1406,1152,862,700,866,1005,933,722,1020,988,599,407,457,523,693,950,733,1186,1842,1622,1350,1162,1216,924,772,830,694,772,730,415,474,820,695,720,800,907,1190,1382,1206,879,670,700,997,1214,1368,1456,1164,704,814,1228,1322,1428,1138,583,503,720,647,416,730,1072,709,854,970,908,889,948,1180,1058,1030,1148,981,678,695,632,676,971,711,477,393,832,1350,1100,1078,1060,698,960,1480,1544,1392,717,451,415,938,1382,1096,1258,1542,1450,1450,1518,1542,1646,1714,1704,1582,1094,1154,1470,1542,1208,1080,1266,1038,890,1268,1072,1026,1070,1021,854,791,1350,1490,907,485,446,441,390,419,313,334,309,327,365,424,462,513,479,397,379,469,458,444,770,1124,759,471,542,762,1015,1058,1156,1206,1072,1382,1488,1400,1102,766,573,444,370,365,448,586,463,379,390,455,405,551,1078,1038,471,655,1124,1216,991,910,1176,1406,1318,1344,1380,1556,1510,1460,1354,1204,1152,1078,1076,1178,1050,1078,900,766,833,524,624,1124,1250,1106,990,753,1256,1170,1222,1240,1168,1262,1054,965,689,514,541,1072,1252,1302,799,560,622,778,884,896,912,866,911,1098,1260,1362,1334,1128,1180,1202,1011,1222,1336,1324,1260,1202,1001,855,1328,1356,1072,530,344,340,552,1044,949,966,1172,1060,1382,1472,977,655,578,649,426,345,365,383,653,847,851,813,844,738,1104,1682,1296,704,921,1198,985,1146,1152,916,1018,932,1166,1009,655,721,1382,1294,1166,1164,1038,890,910,979,908,905,860,698,714,960,1074,637,410,372,389,998,1448,1052,877,926,730,927,1138,941,814,987,906,845,1116,1088,869,1082,1272,1330,1390,1514,1382,1196,1022,558,401,444,463,403,475,1162,1576,1040,934,892,797,1170,884,672,717,1066,983,687,613,777,1010,971,785,522,562,435,426,604,927,1198,1492,1610,1400,983,610,438,475,525,471,395,675,1386,1258,1058,891,1017,1084,1194,1148,957,673,466,830,1262,1230,1022,568,434,713,808,717,619,520,615,778,660,440,270,270,329,320,319,368,341,422,613,879,1032,1094,1122,1186,1100,1228,1310,908,706,511,381,398,399,444,414,381,448,772,1130,1284,1066,1340,1312,789,499,540,1190,1334,1542,1422,1022,1340,1560,1742,1610,1400,1072,553,290,282,274,299,306,406,603,625,572,324,272,444,717,644,430,408,370,320,335,338,293,335,677,1144,867,464,296,513,788,812,536,439,696,1194,1366,1110,505,310,424,348,307,246,293,338,338,344,428,604,882,641,424,468,399,335,330,404,388,305,337,444,423,309,325,326,418,491,504,435,311,399,283,208,359,399,259,359,513,350,350,373,388,506,653,780,641,326,234,280,381,340,322,469,408,633,675,704,657,511,310,294,271,399,538,424,473,721,817,724,393,295,322,332,309,400,512,577,577,463,311,437,842,521,332,327,386,466,469,415,307,346,521,493,576,565,536,504,482,459,418,342,764,979,728,880,1068,1252,1314,1062,780,744,824,880,1088,1452,1596,1314,728,745,797,541,791,1494,943,501,320,421,462,586,746,948,1118,1192,1028,563,901,1306,1290,1118,774,948,1226,800,725,875,413,423,679,397,350,438,728,1110,679,348,303,366,401,347,452,622,362,309,492,1010,1310,1286,1256,1168,1432,1500,1388,1818,1722,1570,1562,1132,820,1236,1088,1500,1262,1322,1634,1558,1454,1400,1204,831,670,880,992,932,802,1166,1001,598,456,719,1058,878,578,632,1166,1316,1138,1364,1416,1166,1278,2048,1974,1324,1918,2626,2552,1968,866,1015,1368,1782,1594,1642,1760,1910,2120,1866,1074,577,612,1166,1214,1350,1176,1350,1394,1384,1382,1492,1550,1160,702,482,739,787,883,1290,1270,1340,1094,725,833,892,941,991,1030,814,903,911,730,903,854,677,577,585,530,562,643,477,435,517,381,266,335,384,428,518,406,739,1200,1268,1340,1374,1454,1282,1168,1072,991,1220,1542,1590,1724,1340,1362,1326,1334,1342,1206,1216,1060,1066,1218,1174,814,905,1052,1082,1318,1290,1166,994,1110,1402,1300,1284,1276,912,939,1122,1028,1024,1130,1034,1112,1294,1088,940,980,832,797,746,1136,1440,1450,1450,993,1148,1388,1490,1438,1216,1132,1344,1294,1224,1308,1264,1376,1396,1346,1356,1438,1244,1198,1386,1342,1188,1228,1362,1518,1470,1874,1486,1302,1340,1578,1816,1520,1214,1013,1013,971,1318,1276,1270,1440,1562,1516,1396,1152,1620,2166,1792,1652,1576,1448,1640,1530,1368,817,769,692,528,766,1138,1322,1268,992,1009,1066,790,578,803,925,1028,1118,955,1324,1382,1046,991,750,1002,965,1038,1140,981,1198,1100,1132,1228,1166,984,688,593,654,515,574,571,947,781,624,599,581,682,1076,1234,820,904,1392,1178,1178,1072,680,877,1754,1644,1054,658,480,438,444,444,471,543,661,799,618,628,693,603,813,1214,1538,1462,1244,1288,1246,1074,925,1032,1174,1462,1194,827,666,873,1128,1016,888,891,875,943,1190,1580,1132,987,776,735,664,460,437,449,764,1200,1264,1122,851,745,1360,1534,940,1228,1434,917,821,942,982,1306,1598,1354,1340,1548,1632,1358,1346,1466,1238,1154,1268,1216,1246,1344,1324,1352,1218,1344,1246,1318,1564,1588,1646,1584,1460,1378,1422,1422,1378,1432,1480,1448,1322,1086,859,1036,1498,1452,990,955,1180,1198,1182,1322,1198,1036,1272,1328,1308,1426,1562,1388,1080,885,858,1494,1952,1612,971,554,446,372,429,560,952,1032,737,751,827,999,1282,948,686,982,620,391,419,496,595,660,492,412,887,1252,1106,1082,576,405,503,676,636,605,754,999,970,637,457,517,803,783,615,511,771,1678,1948,1560,1080,669,433,333,379,544,828,1310,1148,1002,719,487,365,267,276,231,317,655,985,588,273,323,346,293,286,292,290,363,398,335,321,407,417,709,738,547,351,278,482,882,1058,974,871,691,1026,1704,1828,1738,799,749,661,791,962,1050,866,726,884,997,931,1110,1244,1262,1550,2188,1610,886,936,908,602,860,871,1066,1210,946,877,788,1174,1003,866,815,750,677,865,949,1158,1210,1112,1180,1274,1272,1294,1100,1046,1294,1290,1320,1340,1094,1138,1314,1392,1498,1562,1378,1094,1052,885,1196,1176,998,1036,1236,1296,1372,1388,1306,1222,1172,1412,1582,1462,1480,1396,1370,1382,1558,1704,1646,1550,1544,1586,1394,1182,1278,1416,1206,940,1300,1918,1554,1362,1438,1356,1148,1026,1128,1158,1112,979,848,1030,1414,1426,1428,1178,1104,1386,1568,1592,1446,1654,1354,1266,1282,1100,1252,1354,1360,1388,1328,1040,1166,1832,2176,1910,1300,799,684,733,966,1288,1422,1116,764,676,1005,897,559,876,1244,1190,909,1296,1202,928,974,1402,1414,1440,1592,1730,1454,1246,1276,1302,1528,1224,888,763,1346,1650,1452,1608,1678,1532,1592,1632,1692,1478,1524,1562,1009,685,1102,1610,1762,1360,828,415,411,874,1466,1718,1650,1694,1520,1370,1404,1650,1986,2092,1938,1322,1122,960,962,1130,752,833,1082,1290,1788,1500,1344,1780,1478,1204,1190,1230,1240,1410,1438,1556,1236,1136,971,658,452,461,419,343,508,949,1322,752,594,1060,1334,1336,1013,550,318,298,300,358,489,733,976,991,1102,1322],[625,812,957,585,767,798,974,1050,1488,1590,1282,1278,1154,936,954,712,554,698,941,745,689,616,466,389,511,598,477,443,419,455,459,392,467,612,697,656,448,298,302,375,485,489,340,374,369,278,259,220,596,884,1006,837,519,471,454,455,516,572,545,456,476,489,580,415,502,635,479,482,614,879,1240,1526,1202,991,1056,896,973,1032,632,346,356,386,383,408,592,566,438,794,738,616,419,436,362,325,460,675,825,763,889,930,738,719,573,489,486,514,466,398,387,819,1396,720,445,418,535,733,482,352,416,421,426,463,952,1358,1176,1596,912,789,734,555,556,570,519,709,1002,1440,1364,1360,1696,1406,1244,1388,1350,1618,1808,1946,1616,1366,1082,725,520,467,497,433,360,396,446,477,731,1338,1364,922,801,1152,1324,1274,1182,1362,1594,1378,1192,1352,1242,786,1028,1394,1358,1858,2140,2038,1316,775,619,656,786,864,645,448,455,491,499,711,1488,1870,1138,1064,881,682,758,832,825,802,628,897,1710,2030,1478,1166,1064,1011,1086,1338,1266,1210,1466,1534,1008,720,568,546,827,894,626,811,1220,1332,1384,1318,1504,1632,1406,1270,1156,1018,1070,1044,695,504,423,656,886,787,695,646,683,902,926,850,1060,1252,1176,1128,1208,1298,1090,952,859,1038,800,929,1474,998,425,437,415,721,1294,1492,943,567,606,683,620,719,962,879,599,1084,1630,1202,835,929,1324,1470,1350,1376,1298,987,772,1028,1164,1350,1384,1086,1158,1434,1372,1364,1396,1230,897,921,790,639,1058,1086,1112,1462,1312,1400,1198,1146,1410,1242,993,1036,987,911,1094,1316,1294,1166,919,697,633,752,904,812,1016,985,568,365,450,563,571,714,572,1016,1324,1430,1360,1152,1098,644,587,1040,1094,811,708,616,676,999,991,1098,1156,1090,1064,1196,1124,777,672,838,921,1126,1456,1506,1478,1078,1158,1388,1266,1238,882,427,667,1098,761,398,541,685,796,700,891,971,796,884,916,847,1002,1260,1007,566,700,744,824,961,544,435,442,703,863,813,1128,1078,663,902,1132,785,736,579,507,636,1130,1324,1154,1476,1508,1290,1570,1434,1262,1516,1582,1606,1744,1644,1604,1572,1696,1718,1466,1446,1350,1176,1274,1310,1094,838,717,681,868,1374,1300,891,659,434,364,309,324,254,306,299,293,331,379,429,385,298,332,440,588,548,645,1130,1436,960,713,1100,1354,1418,1296,1212,1090,960,1246,1396,1304,894,775,749,482,353,339,600,677,397,435,554,700,483,439,511,603,456,680,1222,1298,952,647,1038,1344,1286,1264,1256,1404,1378,1246,1268,1272,1318,878,878,1038,1012,1023,941,1184,1012,569,449,609,885,1064,931,830,1078,1060,1162,1230,1384,1344,708,592,568,505,558,1106,1340,1266,901,808,893,976,955,805,807,866,959,951,976,1128,1046,811,1150,1614,1630,1412,1370,1122,996,1180,1146,699,808,850,818,711,653,527,552,741,671,882,1020,1148,1222,1570,1306,939,520,361,320,323,359,365,751,1406,963,653,653,1288,1484,1192,753,692,1238,1534,1372,1676,1620,1180,1021,879,980,979,1002,1164,1524,1266,1554,1838,1432,1192,808,921,832,881,979,885,825,988,1112,688,350,317,390,955,1268,710,640,757,504,883,1240,1144,949,646,682,1064,1278,1004,560,774,1320,1600,1400,794,832,1112,947,677,553,401,297,399,852,1314,1278,1190,980,582,916,1100,625,702,966,1106,896,862,863,965,1382,1352,1054,590,584,648,904,1256,1490,1442,1294,1070,1034,1022,698,469,496,539,456,428,865,1350,1418,1036,746,718,703,1170,1202,1230,604,457,976,1050,899,937,631,355,695,961,964,1040,763,607,875,866,749,429,336,369,335,322,361,439,602,839,1036,988,965,1092,1052,1020,792,683,521,430,361,381,421,430,441,430,370,299,622,1156,1356,1428,1466,1112,808,507,791,1460,1368,1510,999,1240,1286,1332,1648,1214,759,526,399,304,270,310,624,1096,1246,1188,813,431,256,239,510,922,918,741,572,309,257,327,599,430,404,437,587,478,382,574,514,454,785,872,560,450,527,444,302,236,536,708,516,415,424,528,471,444,351,384,496,467,310,352,485,443,409,478,515,440,385,603,726,531,425,461,451,464,461,425,278,198,218,227,331,598,667,379,271,290,516,651,719,538,551,951,1112,735,374,360,297,609,763,818,771,372,611,981,981,946,625,313,335,262,232,266,322,339,392,558,682,488,278,304,340,358,614,861,1072,1034,542,325,586,912,568,315,292,344,468,461,408,320,344,465,458,575,703,585,437,341,375,534,708,1084,1354,1220,969,695,583,634,531,577,1158,1516,1118,889,1200,1422,841,542,327,305,484,728,1176,767,342,259,248,412,897,1454,1506,966,954,1126,631,969,1372,1138,677,501,709,821,741,733,890,479,437,575,494,442,648,1034,776,363,317,289,329,339,306,426,434,387,359,679,1166,1234,1186,1220,1454,1550,1348,1810,1958,1430,1382,1452,1070,914,1208,1290,1408,1346,1334,1268,1146,1144,1126,1142,874,771,850,926,824,952,1108,795,473,520,980,1044,706,645,766,1368,1440,1306,1404,1376,1084,1472,2100,1938,1570,1932,2584,2764,2002,875,897,1296,1718,1516,1290,1582,1842,1692,1256,814,558,568,1170,1228,1206,1234,1332,1532,1582,1404,1474,1268,955,731,581,1276,1412,724,896,1252,1350,948,1404,2088,1324,1144,1122,800,907,1126,959,514,547,731,629,593,741,711,636,626,684,559,687,564,388,326,373,484,444,393,678,1168,1752,1666,1416,1548,1442,1298,1184,1212,1268,1542,1648,1630,1548,1550,1384,1222,1138,1212,1268,1288,1162,1208,1012,714,913,1028,1013,910,864,1176,1322,1180,1186,1146,1440,1620,1136,1020,1178,1286,1256,1290,1282,1028,965,1130,1364,962,950,942,1048,1250,1258,1122,1104,1070,1274,1504,1480,1052,1005,1282,1452,1324,1260,1414,1332,1328,1372,1344,1296,1286,1438,1626,1438,1438,1348,1390,1372,1334,1518,1782,1638,1554,1396,1676,1964,1952,1438,1084,1190,1194,1256,1306,1104,1068,916,998,1166,1058,1386,1862,1592,1240,879,827,1158,1202,1394,1366,1216,710,520,933,1238,1286,1170,915,894,1114,735,717,1088,1005,1172,1194,931,1174,1078,1112,1082,974,1036,1262,951,733,703,1023,1106,920,1172,1362,950,761,674,621,391,416,575,583,588,952,897,758,985,1132,1436,1398,1086,1074,1320,1296,741,634,1450,1862,1466,1138,567,500,456,467,511,780,677,727,1070,876,882,1072,1106,1306,1474,1268,1080,1250,1172,1390,1310,1400,1570,1730,1946,1506,1182,1156,1216,1360,1272,1286,1336,1126,865,1074,1530,1260,1088,830,820,904,641,455,452,636,974,1096,1220,1486,1118,1320,1048,503,765,865,756,992,1312,1594,1732,1808,1278,1388,1494,1422,1472,1440,1394,1334,1338,1464,1240,1036,857,1094,1194,989,1262,974,1200,1474,1510,1628,1682,1568,1444,1538,1624,1646,1582,1588,1536,1366,1320,1142,1094,1390,1048,636,831,1050,1238,1436,1278,1268,1300,1338,1332,1332,927,794,1066,1188,997,846,971,1100,1448,1044,855,619,382,451,671,1114,1288,1048,974,1068,1316,1020,852,657,653,564,530,477,459,488,492,395,543,1082,1124,900,1062,1040,838,630,812,875,805,994,1170,1018,821,527,841,1180,916,693,551,807,1570,1936,1632,1250,760,413,399,555,818,816,891,981,1028,661,461,463,309,350,353,315,379,352,295,339,332,353,320,333,386,368,318,325,378,428,445,411,711,808,709,556,381,455,668,615,847,1200,1138,866,1214,912,694,415,424,526,580,711,730,681,607,606,725,811,1144,1264,1248,1366,1286,1066,939,749,642,570,868,1052,1088,1140,1270,919,1108,1278,831,686,615,737,742,460,523,887,1120,1020,774,946,1320,1228,999,1178,1494,1400,1250,1302,1210,1254,1426,1318,1266,1332,1026,683,654,866,1328,1220,1194,1030,1013,1246,1282,1158,1296,1094,1282,1598,1422,1328,1360,1196,1260,1344,1716,1872,1678,1600,1390,1388,1444,1438,1210,1276,1406,1210,1134,1050,1128,1356,1460,1434,1290,1202,1054,914,955,905,764,860,1198,1406,1366,1186,1166,1246,1276,1076,1042,1526,1468,1340,1360,1300,1394,1454,1296,999,1001,1240,1298,1003,1450,1418,1003,688,620,827,982,1624,1792,1122,641,659,691,536,495,644,838,808,1194,1310,1200,1202,1334,1420,1520,1586,1620,1726,1400,1278,1160,1088,1344,1410,1086,773,1120,1302,1152,1550,1640,1328,1446,1718,1412,1274,1294,1246,1190,1162,1272,1636,1932,1440,1188,621,428,573,840,1246,1406,1520,1392,1222,1306,1406,1650,2056,1708,1388,1526,1078,880,1114,1122,1370,1316,1148,1300,1406,1754,1838,1650,1798,1552,1382,1454,1316,1204,1516,1394,1108,1080,943,394,299,337,473,686,1104,1106,880,861,1370,1488,1260,1144,838,422,379,367,520,1056,1022,1098,1270,1360,1300],[444,573,528,389,564,1062,1278,1226,1338,1024,1234,1462,1208,1248,968,1090,1202,1186,1018,673,545,522,458,393,352,359,427,418,395,437,564,492,485,635,1042,1318,877,368,348,477,586,659,393,317,346,292,251,259,601,813,714,606,503,559,617,503,454,541,537,473,460,485,699,750,736,816,476,378,349,655,1140,1170,885,591,462,453,436,418,409,402,388,417,417,403,567,632,496,803,945,641,304,317,292,280,432,842,728,578,630,585,630,685,599,566,552,561,480,453,579,810,1252,634,346,361,477,552,537,582,578,453,423,539,1086,1580,1658,1766,1026,749,669,621,582,513,478,521,547,514,608,807,844,729,695,1064,1005,1008,1260,1460,1370,959,725,565,468,544,676,644,459,543,703,757,1058,1632,1556,1212,1300,1254,1556,2056,1896,1712,1512,1634,1278,1234,1260,918,1378,1532,1214,1716,1872,1948,1118,509,630,812,1072,1072,802,534,394,433,529,757,1348,1007,574,595,451,371,451,583,673,654,557,677,1212,1654,1650,1644,956,565,540,861,1340,1250,1372,1486,1174,974,741,735,1009,1007,779,971,879,931,1162,1180,1410,1678,1432,1016,892,1072,1034,765,509,459,442,553,882,825,557,619,841,1068,936,785,702,517,536,634,934,866,735,932,1046,978,671,491,636,488,416,468,491,468,552,896,754,567,645,501,588,921,984,819,746,849,950,879,929,977,1228,1334,1272,1166,1252,1444,1290,1332,930,887,1064,1430,1596,1884,1302,789,982,809,916,1594,1180,915,979,647,604,954,1274,1772,1584,1224,1456,955,353,434,568,663,771,914,1226,1306,1130,788,611,763,1044,1021,1038,961,618,610,448,568,568,576,559,610,780,928,831,538,413,397,509,676,539,670,772,1018,1084,1312,1144,1294,1156,1096,1288,1112,971,698,530,659,839,747,717,1104,1400,1252,1250,1176,1112,1214,1016,688,895,1258,859,693,634,589,605,860,1248,919,626,811,821,977,1208,1312,938,503,586,961,986,886,648,466,540,870,999,749,604,527,456,650,755,622,549,543,549,734,1054,1104,1170,1508,1516,1364,1334,1118,1582,1918,1576,1492,1548,1542,1548,1598,1700,1460,1240,1460,1324,1218,1268,1064,907,677,761,853,1084,1442,1094,751,542,383,382,476,522,393,294,296,283,306,365,406,382,295,318,379,484,620,796,1134,1252,1160,1028,1124,1058,935,993,1104,1058,1082,1158,1148,863,870,715,711,447,294,382,749,777,576,581,599,648,582,579,385,445,846,895,650,810,1019,902,1050,1108,1096,895,1070,1140,1144,971,1104,1292,1174,918,850,993,1008,1130,1088,1386,805,466,453,583,826,1016,1108,1052,971,992,1056,956,980,866,510,508,543,434,630,1120,1420,1194,788,949,990,1092,1064,802,912,1196,1126,920,1166,1242,1088,850,841,1010,1178,1088,797,528,920,1336,1194,536,391,418,480,594,791,1056,1028,1024,991,1024,799,965,1002,1238,1212,987,640,313,286,266,316,389,1034,1334,650,367,523,1390,1754,1368,899,686,882,854,692,1216,999,783,709,960,1230,1302,1274,1396,1512,1362,1562,1714,1948,1738,1052,913,864,1044,930,1098,1032,935,932,572,373,340,465,1090,1414,769,704,852,681,1166,1270,1200,927,507,762,919,898,959,857,857,786,1018,1116,686,656,951,719,553,491,457,401,611,1004,828,1072,1412,1272,861,945,678,597,755,917,1108,936,868,1028,800,1220,1006,724,611,858,1162,1316,1456,1600,1504,1284,1010,1042,1538,1004,580,485,474,418,409,795,1148,1176,955,710,614,730,1410,1212,1150,626,435,860,989,933,897,518,482,924,1324,1330,1194,622,749,993,850,888,521,291,332,290,275,424,737,802,785,862,743,691,970,658,522,517,393,346,383,406,375,391,436,464,453,448,463,510,1048,1456,1528,1200,843,844,662,1106,1394,1708,1870,1516,1264,872,1090,1288,1126,800,548,374,343,323,522,1126,1548,1138,681,472,313,283,304,361,619,801,656,397,294,306,637,1148,786,424,335,461,694,1054,1174,686,377,637,1070,949,538,354,313,314,317,886,1226,881,830,649,924,1116,870,515,369,513,395,268,341,439,518,584,593,614,633,558,787,799,604,553,712,891,712,511,553,345,245,299,375,502,519,566,557,346,291,486,814,901,471,378,577,541,433,345,357,307,749,849,733,573,370,702,1017,897,802,560,355,433,364,301,445,593,613,440,564,612,392,262,291,358,393,443,774,1158,910,435,297,582,763,406,269,290,350,455,476,422,387,547,551,484,784,974,715,403,371,590,1042,1090,854,769,525,487,917,822,442,420,573,1130,1664,1358,894,758,664,329,349,325,282,412,930,995,599,493,412,539,722,982,1540,1318,804,897,1152,760,865,978,699,472,363,630,1070,1156,832,733,511,469,708,885,821,908,841,464,348,323,299,335,288,315,392,291,342,637,1100,1228,948,908,1438,1568,1266,1704,2078,1740,1958,1634,1350,881,948,1234,1398,1738,1666,1202,1066,1148,1144,973,1212,974,871,864,848,813,939,758,594,457,727,1048,879,694,661,837,1344,1692,1756,1770,1492,1196,1686,2152,1824,1354,1694,2464,2396,1958,1086,816,1200,1610,1488,1294,1676,1744,1122,854,920,659,625,1322,1376,1072,987,1072,1494,1516,1318,1368,1148,766,1054,1072,989,1218,828,810,1166,1336,934,1842,2050,731,1338,1618,908,611,755,946,864,697,551,407,566,760,787,858,760,781,621,769,780,573,437,413,374,345,433,772,1470,1710,1282,1078,953,1020,1144,1200,1164,1288,1562,1570,1406,1332,1378,1334,1430,1810,1298,968,1102,1230,1346,1166,978,1102,1142,1042,860,752,1130,1202,1080,1214,1356,1498,1452,1230,1244,1260,1424,1272,1140,1248,1260,1404,1164,1142,768,1084,1122,1050,993,761,853,1210,1478,1652,1516,1372,918,834,1272,1348,1246,1156,1130,1310,1354,1284,1362,1400,1268,1388,1422,1362,1508,1500,1382,1394,1410,1516,1366,1472,1620,1552,1544,1592,1642,1302,1376,1526,1366,1272,1188,1142,1104,1252,1238,910,907,1150,1196,922,580,534,550,609,789,1166,1554,1306,929,1064,1232,1512,1708,1680,1038,1232,1476,803,653,1072,1312,1750,1414,1246,1784,1252,1258,1462,1294,1170,1086,731,764,664,904,1254,1036,1196,1236,767,526,734,827,485,410,597,583,655,786,648,754,1072,1338,1378,1270,610,540,1204,1180,949,1132,1560,2592,3598,2232,764,499,470,541,767,1198,885,924,1110,1018,1114,1584,1808,1504,1070,607,677,1188,1538,1644,1358,1436,1516,1314,1228,1410,1586,1586,1516,1646,1616,1600,1440,1078,730,986,1218,1234,1282,1064,956,1408,1044,493,432,741,1136,1178,1180,1188,949,753,572,545,511,614,938,1004,1296,1456,1394,1266,1168,1438,1550,1388,1406,1476,1418,1344,1386,1572,1092,1012,929,1178,1146,1070,1188,1334,1422,1252,1296,1404,1474,1674,1594,1570,1638,1614,1632,1632,1548,1452,1378,1094,963,1058,755,912,955,868,1242,1370,1146,1166,1152,953,1166,1136,792,799,1142,1450,1013,1364,1306,1076,1456,1576,1214,797,794,800,507,514,689,984,1094,991,834,741,937,808,631,742,891,676,467,489,508,387,523,669,670,544,789,1164,1001,904,1234,1021,561,489,576,993,1516,833,1112,1338,943,832,637,462,810,1266,1444,1246,891,673,846,963,748,489,461,718,1108,1068,562,713,554,406,468,302,357,296,350,344,267,307,327,373,353,371,397,404,482,449,402,492,688,705,594,633,509,409,362,319,562,967,1074,943,1324,1004,819,730,505,454,480,688,908,943,837,736,863,990,1446,1490,1258,1222,1066,1236,1218,824,639,752,1023,1212,998,871,1252,854,910,885,862,916,815,1162,1210,696,403,476,680,657,755,655,865,1122,1278,1208,1036,859,1138,1598,1524,1308,1092,1188,1472,1238,784,555,504,1013,1154,987,976,788,940,1246,1256,1454,1158,816,1320,1584,1398,1302,1396,1672,1548,1290,1864,1770,1442,1356,1015,1178,1132,1294,1230,1222,1364,1296,1156,1198,1314,1310,1268,1334,1296,1172,996,758,840,943,930,1050,1448,1516,1372,1436,1360,998,1058,759,817,1216,1644,1622,1454,1330,1328,1334,1296,1228,1290,1308,1132,571,573,442,498,623,713,962,1242,1400,1384,1076,708,855,558,481,514,524,655,866,1472,1572,1328,1380,1320,1270,1368,1306,1284,1334,1436,1278,1234,1454,1470,1410,1328,954,1128,863,1010,1460,1592,1284,1302,1318,1264,1400,1138,777,952,1248,1240,1298,1718,1524,1362,978,950,720,486,643,879,1302,1568,1112,1344,1352,1522,1814,1406,1470,1372,1068,1334,1518,1262,1250,1244,1118,1013,1118,1298,1670,1818,1610,1384,1552,1600,1322,1218,1438,1472,1064,980,845,576,561,879,1028,872,878,1120,1226,1316,1574,1534,1512,1434,1266,705,629,800,1098,1400,991,986,1220,1158,1128],[636,560,486,594,701,1023,1212,1200,1086,921,1246,1240,1208,1582,1316,1358,1484,1312,1000,882,635,558,527,341,239,273,344,359,391,394,462,468,536,622,888,1332,1270,521,472,778,851,826,462,386,478,412,355,364,455,518,452,449,565,731,689,699,534,528,543,474,427,614,1174,1248,833,784,568,534,469,543,678,618,458,411,451,445,409,406,380,390,309,368,365,306,415,529,471,831,1198,651,325,309,299,337,540,979,746,684,704,616,676,661,646,664,632,554,435,529,598,885,1266,788,417,393,538,1024,1396,1322,1282,1052,698,690,756,835,1034,996,764,691,567,523,575,554,594,568,557,562,518,559,598,756,924,1056,899,860,1050,1026,960,1094,791,389,477,812,1130,1238,810,924,1258,1142,1236,1396,1476,1210,1270,1598,2216,2246,1780,1174,1386,1752,1312,1160,883,562,709,683,747,1015,967,967,630,422,443,525,546,536,615,557,463,476,711,747,903,799,707,571,491,407,399,446,577,572,516,529,670,1114,1162,1474,928,472,449,464,865,1282,1274,929,777,907,919,882,1023,1002,1234,1418,940,843,1124,966,1226,1236,846,644,800,882,715,755,563,462,477,567,761,655,516,603,854,836,471,444,535,486,443,421,497,556,599,1000,1562,1312,550,404,389,412,476,466,441,475,449,539,478,426,433,396,432,546,595,595,648,727,1234,1590,1244,948,1114,1128,1132,1230,1086,1262,1552,1554,1294,1290,1196,1244,1174,1020,719,658,866,764,988,1280,788,706,761,561,724,1432,1490,1150,900,792,779,565,343,280,346,617,848,1218,1232,949,744,877,846,703,756,772,887,854,549,626,514,492,497,582,814,861,750,874,806,465,505,482,429,608,462,527,846,1274,1166,1152,1242,1254,1140,962,1020,1036,849,791,777,671,760,564,600,1302,1426,1118,1444,1272,989,1230,1318,1074,1282,1390,875,1098,1054,730,735,829,882,724,447,495,593,773,1005,1210,816,565,892,870,766,1018,1076,949,565,475,577,741,1066,1060,835,696,720,872,953,766,1040,1410,1070,988,1024,850,1154,1526,1190,1090,1536,1354,1114,1242,1480,1566,1322,1280,1240,1508,1570,1542,1248,1012,1032,718,501,506,722,1021,1350,1444,914,814,938,563,634,822,786,574,381,349,321,333,381,637,902,410,295,324,432,649,724,988,1406,1450,1172,969,1110,1082,1132,1022,1178,1152,1200,933,909,933,857,877,634,386,657,1136,651,608,621,892,669,762,908,532,532,851,699,488,591,813,954,1188,1048,968,1062,1098,1242,1096,1060,1456,1508,1422,1040,876,1290,1296,1528,1760,1372,695,469,647,890,936,1204,1424,1230,1266,1282,1064,771,585,519,550,644,592,433,695,1156,1400,1204,712,959,975,1078,1040,792,883,1102,1060,802,768,1040,1274,1104,1338,1268,1832,1214,598,950,1376,1510,1160,561,344,322,300,444,930,1316,1448,1480,1228,1112,854,792,1012,1664,1824,1256,1019,554,374,345,335,394,874,933,667,456,386,1072,1878,1578,1044,767,809,718,991,1100,689,976,1004,1064,1246,1250,1214,1378,1476,973,1212,1220,1474,1456,1034,872,980,1058,843,874,719,566,681,719,506,460,625,1192,1414,1090,1138,1078,794,1009,1174,1188,938,784,954,971,740,775,832,1186,1290,1344,1154,965,1248,934,589,508,404,419,558,808,852,1218,1316,974,956,1136,766,384,652,804,820,1172,1212,876,662,514,642,711,940,1156,1274,1318,1046,948,1328,1390,1396,1296,966,1274,1130,678,494,451,401,399,785,1240,1092,1028,816,637,894,1212,1246,1026,622,369,792,1078,964,980,444,581,952,946,816,850,758,792,666,822,924,549,486,556,317,290,606,898,835,642,649,776,891,854,514,423,517,420,409,449,443,380,367,435,454,405,398,493,592,864,1104,1338,1282,894,544,628,1230,1090,1488,1898,1450,693,675,778,717,808,606,481,325,286,338,624,809,625,405,341,332,292,296,325,311,340,356,355,521,479,335,631,1132,1122,669,617,789,949,1294,1118,503,324,502,603,886,924,672,425,416,515,720,1164,1384,1594,977,696,597,522,495,500,440,304,328,545,824,1040,971,582,577,783,741,724,700,709,720,861,987,1062,1011,841,556,645,711,620,780,684,1072,1044,408,266,316,439,469,411,491,452,352,324,505,381,228,330,284,253,343,397,516,620,696,607,411,296,713,726,498,733,824,507,562,682,403,286,262,313,645,680,401,350,416,407,414,301,570,916,453,346,375,460,561,528,453,389,542,532,452,698,1084,1136,1030,1122,995,1052,781,637,562,486,713,1170,861,472,445,412,574,796,1078,1526,1130,453,386,455,336,427,703,933,723,404,361,441,1034,1136,1040,930,990,932,948,1096,973,868,761,417,396,453,855,1392,1013,832,647,447,297,375,637,948,1002,560,364,325,311,324,362,270,248,288,372,677,1156,1284,1114,958,896,1220,1402,1758,2026,1716,2106,2212,1698,1250,614,747,1240,1388,1522,1390,1302,1570,1324,1166,1118,968,771,806,887,741,852,955,625,579,581,918,1040,835,998,857,1080,1412,1612,1736,1604,1294,1292,1882,1984,1582,1144,1940,2584,2562,2348,1416,818,1080,1584,1556,1230,1564,1656,1082,816,868,691,727,1160,1332,1246,1322,1364,1266,877,1162,1570,1370,721,1152,1338,675,515,998,1194,929,792,587,960,853,731,746,916,1148,1030,578,544,669,794,778,644,758,879,1048,987,991,662,694,1250,1284,846,554,484,518,426,458,799,1282,1030,1160,1228,1020,1046,1018,1114,1180,1290,1510,1550,1500,1454,1454,1356,1270,1622,1300,996,1102,1308,1302,1190,1202,1208,1252,1368,1320,1236,1290,1023,1294,1350,1262,1460,1364,1194,1128,1202,1406,1406,1396,1250,1196,1188,673,749,733,999,1200,1166,831,626,1048,1504,1564,1532,1330,1398,1410,1318,1438,1260,1272,1294,1214,1310,1340,1256,1368,1444,1344,1196,1136,1240,1380,1278,1268,1360,1560,1666,1186,1124,1230,1572,1494,1584,1468,1348,1452,1566,1422,1124,1142,1132,1094,1108,1040,1016,1018,1004,1042,820,565,408,431,825,1046,1012,1466,1466,1268,1406,1484,1676,1440,1394,993,1300,1734,1114,787,1180,1488,1678,1684,1892,2442,1736,1560,1570,1412,1380,1288,1522,1576,1120,1268,890,937,1108,1124,1048,932,1042,913,583,510,542,557,599,639,670,1170,1004,1366,1312,1296,825,591,830,943,1164,1012,1410,3714,4132,1846,962,613,788,1064,1140,930,700,875,1316,1392,1180,1570,1516,1012,733,738,794,1064,1366,1100,1056,1336,1160,775,780,1388,1634,1148,1088,1186,1406,1476,993,608,493,821,1308,1326,949,1196,1050,1574,1021,560,490,1042,1094,779,793,1034,1146,738,607,784,1102,987,899,852,1132,1310,1444,1358,1312,1550,1600,1344,1294,1454,1396,1332,1378,1488,1280,1234,1104,1202,1210,1370,1394,1148,1152,1444,1364,1162,1336,1454,1352,1374,1344,1482,1440,1390,1658,1716,1434,1376,1262,991,785,1280,1310,813,953,1180,881,930,1192,1180,1256,1294,998,1022,1206,1358,1268,1754,1412,1236,1802,1708,1254,1048,1486,1358,777,577,690,1030,1036,937,947,927,805,578,454,683,873,606,367,338,278,285,364,341,357,335,488,943,1174,983,1246,1090,559,455,481,1110,1312,649,508,484,560,833,638,422,573,845,1186,1112,1128,1042,813,617,508,485,480,570,1128,1618,959,990,960,473,292,297,404,348,254,517,1072,716,331,446,351,234,267,437,394,385,339,527,940,805,395,528,658,527,311,341,416,360,494,780,961,998,1412,1330,695,543,659,985,1078,1662,1938,1180,993,1082,1424,1578,1232,977,1018,1076,1074,1044,885,793,993,1366,1124,851,771,559,506,877,1230,1003,851,1172,1332,1072,673,633,645,802,1028,822,966,1414,1338,1012,835,557,589,681,1130,1184,794,871,1322,1230,877,859,894,901,813,677,627,1032,1506,1516,1328,1176,920,839,1226,1368,1294,1240,1192,1346,1282,1216,1754,1722,1284,1018,920,1178,1228,1556,1444,1080,1356,1334,1118,1288,1448,1506,1488,1382,1292,1344,973,535,528,772,1314,1676,1438,1334,1356,1386,1210,803,1084,1158,1400,1468,1558,1696,1638,1354,1214,1216,1218,1076,1248,1248,725,442,433,474,830,1064,976,1092,1052,788,901,666,919,955,583,478,498,508,554,640,994,1340,1504,1578,1460,1366,1310,1252,1194,1386,1414,1490,1478,1118,861,1144,1246,1344,1644,1172,1222,1406,1318,1013,1202,1344,1056,896,929,877,1116,1306,1222,1296,1240,1104,1174,954,882,620,377,667,1112,1284,1046,1064,1404,1516,1504,1734,1838,1780,1500,1496,1702,1488,1284,1492,1394,1348,968,941,1214,1544,1638,1434,1438,1586,1620,1520,1340,1278,1384,1222,1074,1108,1210,1208,1324,1104,845,1098,1368,1296,1270,1464,1344,1450,1638,1438,972,917,1140,1360,1340,1122,1024,1005,1256,1300],[1270,723,560,630,704,967,1434,1274,949,1030,1052,1094,1562,1472,1396,1644,1472,996,771,1080,1086,917,531,295,232,272,375,399,379,382,382,381,365,412,530,826,1196,822,639,946,1242,976,532,406,512,579,504,433,433,448,500,474,513,609,593,664,613,574,568,613,719,901,922,779,595,532,505,586,591,502,532,585,543,533,495,458,372,340,285,393,356,341,318,303,413,520,520,745,753,441,277,273,333,362,610,1012,902,871,749,560,637,672,704,686,609,660,652,620,642,1048,1296,855,466,416,538,994,1316,1274,1244,981,623,521,510,665,700,616,753,821,842,1102,824,615,595,480,429,463,502,628,661,821,1078,1036,858,1018,982,722,919,775,467,479,647,752,1288,1470,937,1120,1340,1440,1156,897,946,636,873,1770,2120,1376,681,536,1092,1618,1108,904,725,470,641,679,807,694,497,481,463,455,466,413,342,441,704,616,566,874,796,479,456,811,910,750,672,438,425,404,511,571,493,468,475,505,657,1300,1156,607,397,405,483,852,1308,1044,947,787,731,805,1030,1174,1218,1492,1418,1544,1362,917,1170,953,720,656,634,561,747,859,653,601,527,531,686,527,519,483,566,462,393,503,816,725,493,413,683,984,885,1222,1828,1586,764,375,399,484,501,506,518,464,419,412,403,410,372,402,620,592,646,769,568,525,1132,1698,1338,933,1048,1042,1182,1328,901,965,1374,1544,1404,1282,995,1088,1212,725,572,897,1044,1100,1030,630,456,438,571,671,1100,1868,1742,1170,797,667,471,767,626,418,336,413,428,674,1176,1138,700,966,1024,736,847,1066,1166,792,477,709,720,492,451,580,977,1108,814,673,563,455,531,568,499,658,653,1124,1526,1344,1004,1096,1188,1112,1212,1318,1196,998,586,494,523,727,636,482,960,1916,1688,1202,1570,1064,914,1104,1202,882,811,994,750,814,777,733,805,611,526,554,564,577,576,658,850,944,667,698,1218,1156,897,1066,961,673,365,294,372,1204,1602,1548,1278,821,772,1268,1564,1206,920,1164,1662,1666,1548,1354,1312,1566,1592,1576,1360,1018,1068,993,788,885,785,1226,2780,2596,1598,1462,1522,1466,1222,921,741,597,783,947,1084,1142,1200,1094,1024,742,934,963,688,495,381,416,397,462,638,841,930,621,393,366,487,683,687,745,1068,1202,998,799,821,1092,1246,1332,1476,1336,1266,991,923,929,894,904,855,677,786,1032,552,477,803,1222,948,714,580,436,660,814,661,594,455,412,815,1250,1062,1004,1216,1184,1256,1272,1470,1686,1368,1142,814,702,1094,1076,1044,1488,1224,877,729,766,907,996,1182,1230,1196,1290,1208,944,805,725,683,637,623,554,435,724,1272,1376,1100,768,897,980,1013,844,784,783,855,868,691,672,929,995,1218,1520,1742,2082,1074,888,1350,1336,1178,1040,761,644,632,572,880,1164,926,1278,1488,1176,1180,1020,860,996,1184,1152,820,927,756,680,529,505,462,501,578,512,427,350,602,922,729,530,583,758,870,1370,1248,910,1098,1192,1212,1180,1294,1408,1572,1802,1158,1266,895,1019,1066,758,896,1052,1030,1176,1116,1126,890,807,735,533,692,969,1360,1396,1026,775,706,852,1144,1172,1088,915,897,966,1120,902,831,1054,1248,1490,1572,993,968,1312,918,1046,996,647,433,735,1156,1262,1350,991,598,833,1092,639,634,699,669,652,1090,951,694,530,538,702,1088,1376,1052,777,798,735,852,1220,1260,1318,1360,1274,1290,938,581,482,457,423,527,850,1092,1110,1154,882,784,1058,1078,1082,1068,667,399,632,802,916,1066,565,630,1096,1092,1023,1008,1130,1120,930,1098,971,625,782,971,626,404,653,996,832,727,815,827,748,662,496,468,491,484,415,415,414,397,411,442,426,430,597,1066,1744,1946,1080,988,1438,1076,489,454,672,541,616,1026,917,844,1142,689,351,443,380,336,242,270,296,306,298,312,437,643,572,365,368,351,292,324,351,389,609,531,367,329,530,717,865,1060,896,995,1001,832,575,456,562,557,593,709,873,970,760,745,519,799,1340,1454,1023,580,328,341,486,533,469,376,390,614,802,1218,1092,617,705,918,907,738,773,651,601,793,678,656,684,591,719,861,799,489,667,749,957,791,393,378,505,640,618,573,541,315,221,302,526,380,280,402,445,495,528,395,382,352,568,505,325,306,669,526,436,922,939,395,328,331,262,249,299,291,667,691,427,365,613,928,1004,688,588,992,503,390,398,456,543,486,433,407,574,848,997,1204,1288,1296,1170,813,518,475,499,877,1234,982,653,783,788,631,637,415,486,554,818,1302,968,376,433,529,458,663,1072,1250,878,402,339,400,862,1226,1238,1166,1132,881,805,1001,949,664,755,677,591,491,690,1288,930,527,481,429,575,984,846,818,657,398,329,288,286,342,350,309,267,330,628,1082,1342,1162,841,1042,1026,769,1256,1770,1660,1700,2124,1956,1716,1476,915,977,1332,1400,1422,1298,1548,1856,1482,1162,1060,743,720,820,776,604,821,747,642,480,673,1038,1032,882,1158,1094,1190,1404,1732,2096,1770,1350,1406,2078,1882,1390,1250,2222,2604,2632,2440,1406,857,897,1410,1502,1166,1296,1604,1634,1232,899,787,830,1182,1348,1432,1582,1482,1352,872,1020,1406,1376,940,994,918,677,679,944,1370,844,689,434,426,476,801,845,725,1044,792,381,456,473,749,698,933,960,1028,1084,810,803,633,809,1212,1326,1180,700,571,788,704,649,886,1142,1244,1538,1160,994,1150,893,1012,1242,1608,1940,1640,1584,1344,1194,1194,1194,1306,1130,1013,1188,1292,1228,1258,1466,1476,1338,1236,1244,1132,977,777,956,1088,1194,1240,1154,1098,979,1110,1348,1098,1028,1260,1484,1258,893,705,728,1080,1488,1416,868,847,1116,1330,1382,1492,1208,1256,1412,1416,1450,1438,1508,1492,1402,1310,1444,1362,1356,1332,1442,1350,1212,1188,1372,1516,1256,1320,1494,1552,1366,1394,1590,1548,1426,1452,1354,1440,1538,1478,1228,1154,1278,1082,1040,930,1048,1284,1268,1114,1096,1009,781,753,1196,1492,1592,1246,1372,1508,1178,1232,1400,1300,781,672,890,1326,1844,1346,1064,1206,1116,1214,1406,1448,1528,1360,1256,995,965,1190,1110,1304,1586,1350,1072,602,705,771,894,1084,1272,1192,998,941,1062,902,567,612,1244,1092,800,913,1146,1260,1476,1200,830,832,1096,1466,1224,1188,1874,1790,1458,1516,1322,1182,1284,1130,818,670,691,566,509,952,1494,1492,1104,999,883,765,1228,1264,950,1060,997,910,738,533,1014,1548,1310,886,807,1068,1052,849,699,592,749,1282,1208,781,1214,850,1118,980,727,827,1306,1166,736,552,901,829,569,529,607,1034,911,655,735,1026,1262,1408,1444,1426,1502,1354,1472,1452,1532,1440,1386,1474,1450,1404,1308,1224,1268,1456,1476,1460,1302,1466,1650,1266,748,850,847,816,741,1021,1506,1302,918,1194,1656,1572,1606,1492,1530,1324,1170,1174,876,1040,1442,905,998,1438,1130,1072,1374,1322,1426,1486,1276,1502,1918,1514,1352,1682,1230,961,1156,1584,1514,1082,1004,1172,1322,1100,1088,1150,564,581,880,850,394,341,396,380,374,331,325,336,332,345,361,405,706,1024,528,736,852,591,499,585,716,509,352,411,337,501,930,792,534,571,697,913,944,1128,1034,610,565,589,662,550,539,594,952,1018,828,645,532,525,351,308,290,243,428,858,603,333,339,248,223,234,245,241,257,244,386,691,650,315,345,525,438,272,258,270,231,566,1278,1478,1072,1278,1272,991,930,807,974,840,1598,2592,2010,1212,1092,1266,1384,1046,735,1098,1466,1194,1350,1188,860,684,1098,1260,1268,1300,706,490,918,935,910,802,732,1160,1188,914,705,527,705,740,677,1024,1358,1262,951,777,509,487,703,907,1106,830,813,1428,1398,1094,1252,1372,1021,807,884,882,1368,1466,1284,1320,1470,1874,1896,1592,1382,1180,1062,963,1220,1366,1074,1252,1458,1003,506,421,730,1060,1404,1206,935,1180,1332,1316,1622,1518,1376,1138,1288,1412,1382,1013,750,905,998,1494,1924,1280,1328,1392,962,619,694,1128,1248,1256,1306,1262,1338,1764,1460,1494,1606,1658,1824,1794,1204,598,487,479,813,1278,1284,1238,1052,810,772,1198,1106,1288,931,540,490,535,540,492,791,1254,1152,1248,1504,1684,1428,1332,1158,1122,1294,1348,1544,1426,1006,1046,1146,849,1244,1238,1232,1302,1450,1406,1144,1158,1264,1330,1178,1154,1184,1130,1106,1106,1246,949,530,469,443,462,505,455,621,1076,1250,1070,1154,1254,1344,1428,1638,1874,1886,1546,1372,1206,1208,1296,1368,1170,1434,1300,1366,1220,1260,1648,1594,1410,1406,1410,1304,1170,1128,1270,1440,991,760,1182,1478,1250,952,1136,1250,1238,1368,1400,1496,1168,1206,1670,1310,967,1338,1648,1448,1354,1260,1202,1256,1454,1518],[1588,999,1001,1011,1256,1136,1266,1284,1250,944,791,1266,1594,1172,1174,1370,1270,1214,916,963,1062,915,517,320,289,355,513,514,377,365,353,389,407,400,464,482,775,1124,892,869,918,574,458,391,363,430,465,424,452,437,457,471,491,545,604,603,531,504,646,882,1052,1208,968,639,464,489,554,595,561,502,470,505,514,478,458,472,418,309,252,408,452,376,345,324,361,456,592,686,509,411,301,362,343,417,520,615,592,591,613,548,574,547,470,408,624,954,1134,1174,1290,1404,1434,979,576,485,589,736,838,738,518,486,548,550,702,874,686,622,924,1078,1114,1276,714,484,470,425,358,435,571,578,480,650,974,840,688,793,556,462,825,670,600,662,633,614,881,965,1030,1400,1034,966,1104,1130,743,453,680,1488,2116,1616,643,557,778,955,855,933,827,469,604,590,734,698,470,444,411,451,471,431,373,439,558,495,586,881,619,384,408,703,1052,991,1088,508,412,379,401,459,500,525,526,470,478,664,937,937,557,395,432,481,1078,1362,1168,907,897,962,1528,1492,1116,1160,1284,1630,1750,1448,1328,828,624,806,843,1036,1128,725,725,838,850,1058,987,466,417,503,554,416,409,560,662,675,615,389,482,988,1282,1506,1458,1426,805,382,403,486,476,464,457,331,274,307,328,341,410,390,571,825,1216,1224,890,581,832,1340,1186,1076,1238,1058,935,804,775,1028,1152,1352,1512,1170,677,681,726,677,854,1338,1416,1080,550,439,506,545,920,1306,1500,1664,1268,714,658,736,769,1478,1250,730,439,352,352,654,1548,1652,888,791,944,863,1166,1282,1288,833,532,1021,965,538,587,706,1005,1222,830,540,357,349,491,576,584,683,1086,1564,1428,1270,1242,1218,1106,1104,924,1216,1350,842,442,384,380,386,406,561,1188,1730,1594,1080,1260,981,783,1034,1010,601,545,501,548,738,1074,1072,688,502,478,526,685,972,1284,1448,1330,1082,832,969,1256,1370,1072,1062,1150,684,413,449,521,775,955,1114,879,550,512,705,937,890,872,843,1122,1346,1450,1470,1510,1604,1664,1684,1520,1408,1382,928,442,421,518,920,2964,3008,1708,1338,1620,1460,1478,1478,1308,1116,944,666,1016,1144,1282,1144,940,916,1380,1338,741,565,449,482,502,770,1144,942,764,633,452,445,412,507,683,694,757,1134,1098,710,596,893,1062,1154,1064,1042,962,692,634,735,724,641,694,546,631,587,463,596,1110,1176,762,622,494,566,938,1114,981,778,738,738,836,1050,1086,1034,1316,1620,1404,1478,1488,1300,1210,1366,1086,811,839,682,760,1096,1168,1134,1158,1298,924,850,1032,1064,968,753,791,975,910,785,631,531,535,535,443,797,1252,1440,970,815,894,996,1021,967,1022,936,992,1068,863,773,932,1096,1052,969,1250,1066,1004,1364,1382,1302,935,931,894,874,1017,1042,1304,1036,594,1166,1428,1206,1242,998,1028,778,460,510,421,385,607,744,763,771,550,422,441,359,276,318,603,713,582,444,474,726,866,1036,1009,1094,1370,1688,1882,1184,944,1208,1506,1624,1954,1918,1104,852,832,869,912,769,1168,1262,980,1128,1164,996,621,480,1128,1250,1136,1294,1142,789,741,819,717,644,745,881,902,911,1226,1110,1120,1488,1456,1536,1386,1150,1298,1122,1118,1274,1412,998,651,766,924,1388,1638,1152,930,1220,999,615,727,710,613,526,738,644,550,688,1058,1360,1490,1274,517,478,756,1460,1914,1440,1174,1314,1182,1064,999,657,558,491,452,441,491,769,1326,1272,1032,908,829,1012,1070,913,1070,519,463,485,502,644,686,493,706,1492,1454,1060,975,1212,1290,866,997,774,551,748,987,1046,628,469,740,922,1346,1466,1066,861,914,662,541,422,421,389,395,414,415,442,483,444,559,1250,2072,2612,2452,1274,755,1154,1226,735,367,314,349,413,552,796,995,797,472,514,691,615,359,277,330,352,338,424,510,385,469,552,517,572,377,259,273,302,387,426,384,379,277,309,391,491,581,487,697,938,1242,1086,610,730,950,969,604,702,1023,989,880,750,611,869,755,532,343,294,479,608,672,738,638,560,617,714,928,922,758,584,717,782,748,834,475,444,791,636,578,766,827,680,577,665,713,611,555,710,710,535,451,614,448,318,252,289,373,400,348,286,307,309,311,333,628,832,754,783,619,822,727,394,340,401,275,358,601,673,392,279,230,234,265,273,227,355,396,293,550,1210,1444,1328,641,554,923,562,379,384,365,408,466,536,629,861,954,741,851,764,902,972,790,826,655,581,734,893,861,453,493,593,540,722,469,478,534,758,999,700,315,316,354,495,594,721,1094,1230,588,361,348,431,882,985,822,631,502,672,940,757,688,747,530,508,451,550,871,590,336,475,597,1076,1168,1086,1208,590,351,262,276,295,320,320,289,274,453,926,1208,1286,1174,1138,1300,1094,1114,1432,1436,1176,1126,1620,1864,1674,1428,1442,1394,1274,1412,1562,1554,1738,1854,1350,1140,1007,720,758,848,610,603,669,625,520,425,799,1092,811,910,1186,1013,1262,1310,2094,2256,1674,1268,1562,2114,1912,1284,1474,2486,2626,2624,2354,1340,934,822,1418,1606,1162,874,1068,1218,1054,875,767,617,995,1248,1346,1296,1510,1802,1524,1284,1268,1448,1418,1218,1090,908,766,1066,1396,972,506,416,506,585,910,916,677,744,664,457,479,995,1494,1438,1172,982,1084,1136,1042,831,724,1238,1392,1416,1284,571,645,777,825,925,940,1080,1340,1404,1024,978,963,809,1054,1200,1220,1200,1548,1708,1412,1170,1146,1232,1266,1092,989,1128,1150,1318,1510,1858,1670,1306,1388,1440,1322,979,648,885,1086,896,892,1112,1100,905,881,1114,1110,1056,1756,2088,1366,1198,1194,1042,1226,1592,1428,1266,1112,1078,1318,1572,1582,1336,1274,1316,1344,1482,1476,1326,1248,1386,1468,1400,1260,1266,1220,1234,1322,1494,1470,1584,1686,1344,1350,1316,1262,1222,1198,1456,1610,1490,1446,1482,1510,1584,1398,922,775,998,1012,877,982,1202,1494,1224,901,1058,1304,1230,1256,1430,824,1242,1498,1416,1494,1408,1360,1548,1636,1156,673,964,1368,1476,1042,1058,1016,971,1510,1260,752,892,912,782,760,957,1194,1090,884,1210,1272,828,579,552,717,822,852,813,760,1023,1012,980,1050,960,713,873,978,889,797,889,1234,1520,1266,976,849,931,1040,1094,976,739,1466,2186,2432,2014,1404,1468,1362,1056,700,460,505,796,1088,1362,1428,1232,1082,680,543,814,721,758,843,1036,1544,1092,500,566,872,962,940,916,915,767,702,857,1142,937,1244,1194,1060,1224,1100,1318,1246,873,1104,1294,1214,1226,741,1056,854,524,456,398,458,429,418,554,915,1286,1532,1574,1470,1354,1084,1188,1316,1320,1186,1160,1284,1420,1530,1488,1264,1140,1354,1314,1740,1396,1858,1844,1128,567,635,830,784,837,750,1334,1396,919,1001,1484,1540,1492,1464,1390,1182,951,1122,1432,1572,1516,1224,1406,1174,734,797,942,1208,1426,1202,987,1288,1528,1554,1406,1674,1646,1206,1282,1576,1512,1188,958,912,1026,899,1140,1474,942,1152,1338,1052,580,375,466,489,390,372,378,376,351,340,360,376,499,1114,949,700,843,639,443,464,356,269,322,312,353,755,1226,974,565,569,697,971,836,786,944,569,491,574,797,636,615,593,633,651,486,481,1068,1450,960,369,326,301,284,255,285,298,371,500,490,321,248,253,226,258,261,255,360,509,539,533,524,372,228,246,270,507,1120,1310,1238,1316,1476,1788,1468,1021,603,486,1001,1766,1626,1130,1062,1080,1096,982,705,1016,1190,1024,1188,1064,1084,860,1010,1184,1156,1050,598,577,776,878,1328,1104,692,852,1104,1124,698,615,828,734,842,1188,1330,1280,1106,885,523,495,784,871,985,980,1084,1152,1086,1224,1284,1344,1078,934,1318,1372,1494,1366,1262,1214,1200,1606,1720,1478,1356,1392,1290,1294,1560,1572,1466,1462,1404,1164,664,368,419,748,1166,1124,1132,1460,1444,1446,1484,1394,1436,1300,1324,1354,1184,1032,1202,1318,1172,1178,1406,1394,1422,1118,731,656,865,1222,1228,1220,1086,876,782,1312,1684,1942,1938,1930,1896,1730,1366,905,768,835,1290,1412,1490,1458,1306,1226,850,1062,1342,1098,689,561,561,558,561,749,1122,1452,1250,1066,1158,989,830,1032,1086,1112,1280,1250,1376,1006,647,821,867,1023,1362,1414,1414,1332,1322,1266,1142,1202,1192,1422,1356,1478,1394,1062,1116,1238,1346,995,590,807,862,698,695,949,860,1234,1510,1216,1184,1290,1268,1358,1588,1850,1938,1470,1328,1364,1388,1462,1336,1282,1360,1498,1454,1032,1036,1296,1354,1300,1416,1472,1294,1214,1434,1532,1414,1134,789,734,1084,1202,1294,1438,1172,979,1296,1454,1464,1532,1586,1448,1100,996,1528,1804,1350,1346,1284,1216,984,1128,1524],[1152,1328,1266,1246,1052,885,938,1346,1384,815,641,993,1186,1210,1130,862,787,1050,1070,981,851,580,423,391,352,418,432,357,318,341,357,447,467,375,441,487,613,868,696,460,408,408,409,372,418,447,463,462,459,462,481,514,570,623,570,553,469,456,724,856,1126,1620,1334,653,456,434,396,417,528,423,291,321,349,394,418,486,490,397,306,347,385,328,324,344,381,426,393,503,517,404,360,462,477,444,458,450,305,335,408,331,400,525,415,385,642,730,823,999,864,895,1460,1046,871,645,585,691,787,801,701,802,820,776,871,924,827,708,869,1046,849,805,614,519,468,373,456,647,658,705,713,692,797,752,919,761,487,388,732,1056,873,713,818,824,928,1356,2004,2128,2074,1454,1194,868,869,1005,864,1254,1912,1572,717,719,637,470,564,689,583,372,340,303,492,689,441,421,413,467,458,415,393,512,646,617,701,755,536,434,417,781,1003,916,1426,711,414,357,329,394,542,573,505,445,406,464,915,828,651,417,412,400,955,1520,1486,1286,786,646,1054,1238,1638,1378,1388,1136,748,985,1496,1170,779,919,1034,1232,1140,780,909,744,1046,1436,911,494,519,618,646,628,465,567,633,693,755,585,850,1318,857,897,1042,829,408,312,382,508,486,407,408,323,310,310,379,407,443,487,838,1308,1330,1194,1142,775,720,1258,1228,1256,1188,952,606,680,868,937,1050,1278,1472,1358,880,576,753,846,998,1436,1416,901,533,530,598,681,1250,1658,1658,1578,1100,950,1072,928,936,1164,1036,880,807,603,464,812,1742,1430,1130,1005,1020,1015,1030,1064,1282,988,536,645,639,734,730,850,988,1214,1170,944,519,382,419,437,525,561,890,1290,933,1212,1322,1180,998,1224,1130,1448,1728,1154,548,354,412,496,566,563,862,1180,1416,866,756,1026,875,980,843,686,955,948,854,935,847,612,597,703,802,869,1192,1372,1432,1138,899,880,944,957,1106,1402,1248,1060,1023,631,518,695,666,630,685,528,386,716,954,1180,1004,628,473,347,395,717,847,830,1210,1622,1582,1252,1102,1620,1310,650,446,542,595,654,1196,1412,1294,1478,1704,1334,954,1240,1532,1532,1462,1236,1104,1278,1498,1724,1384,1236,2154,2302,1286,949,752,719,935,1164,1138,985,1056,1156,1110,648,413,822,1082,898,931,1138,1152,902,731,1021,1268,1190,1015,946,578,524,486,550,513,461,492,513,753,677,561,827,1086,931,607,755,658,925,1334,1396,802,393,666,781,781,959,1026,1026,1348,1368,1286,1488,1394,1220,1164,1266,1376,1200,808,678,1054,1246,1324,1212,1290,1364,803,705,1064,1028,774,502,570,863,956,811,529,443,409,409,419,924,1246,1482,955,656,911,1044,1140,1294,1414,1260,1396,1366,1068,980,1200,1194,877,932,1262,1096,1076,1230,1142,1114,797,1282,1488,1600,1244,1102,1390,1026,654,1214,1348,1034,1182,776,986,1194,912,762,694,572,681,774,917,990,854,565,545,529,407,522,780,755,750,651,415,565,785,777,677,963,1126,1772,1932,1346,1332,1704,2074,1754,1668,1434,1126,951,760,847,996,895,1110,1034,1024,1094,1094,1268,998,1008,1412,1198,1174,1100,952,762,778,814,559,412,597,977,919,858,1072,1034,985,994,1218,1472,1366,1476,1376,1106,760,767,900,812,697,563,555,745,868,1076,1098,1414,869,326,477,666,602,483,586,805,979,1256,1406,1290,1336,1310,865,1018,1274,1432,1272,797,826,1100,1036,1410,1520,958,653,539,498,443,425,726,1186,1366,1190,1016,860,913,1174,698,760,454,411,419,430,551,445,441,934,1350,1128,964,944,1164,1228,1036,1044,815,569,761,813,824,506,294,471,1044,1494,1346,1196,825,1072,1340,810,492,419,370,402,439,402,365,401,529,1015,1904,2448,2578,2322,1550,844,904,1268,933,542,420,440,568,631,703,886,814,733,824,1198,1000,420,343,472,581,556,639,706,530,852,904,800,764,518,255,240,273,377,545,525,419,296,303,325,476,672,585,998,1382,1594,1328,1226,1516,1448,1184,761,813,746,518,661,822,831,708,495,330,256,277,385,494,546,615,854,808,720,772,628,709,885,831,824,935,854,731,605,462,728,776,805,572,427,392,365,336,315,317,363,445,347,286,306,410,349,320,263,252,455,774,660,372,324,296,272,244,434,541,477,565,566,699,1036,1005,509,568,769,604,498,480,334,304,318,305,306,301,258,347,375,289,418,886,1104,1030,423,612,958,628,354,432,572,753,1015,1120,800,736,699,516,659,711,1054,1046,1224,1296,701,630,627,577,545,369,422,552,589,636,432,318,316,473,717,601,507,512,417,510,560,646,1302,1180,537,335,339,310,404,548,677,567,653,628,540,423,353,446,343,270,269,505,639,442,566,777,773,1194,985,1504,1522,745,446,347,298,307,278,224,264,265,532,1168,1262,1134,935,1156,1362,1274,1326,1222,1096,1294,1442,1824,1748,1636,1404,1496,1312,1022,1320,1520,1468,1492,1492,1348,1170,756,672,761,735,555,715,634,542,409,529,999,1070,796,971,1174,982,1282,1274,1938,1984,1572,1296,1850,2170,1722,1294,1740,2634,2556,2758,2322,1352,995,929,1290,1606,1176,733,554,722,946,882,886,603,976,1154,1068,1338,1332,1540,1794,1668,1506,1610,1526,1316,1158,982,1090,1252,1144,1230,949,590,350,619,969,752,360,398,681,785,801,1730,1952,1820,1814,1448,1015,589,827,1066,1134,1282,1366,1466,1152,565,774,846,865,1034,1038,1050,1116,1094,1114,1044,1066,1184,1316,1322,1012,1276,1960,1956,1522,1250,1122,1122,1162,1150,1252,1272,1116,1328,1374,1524,1380,1324,1468,1216,1088,921,737,916,1011,766,937,1380,1302,991,764,906,1146,1176,1628,1718,1188,1332,1498,1254,1180,1278,1350,1352,1016,1138,1554,1650,1500,1476,1382,1384,1494,1498,1296,1210,1384,1830,1946,1866,1998,2004,1726,1560,1560,1622,1592,1416,1190,926,1220,1266,1242,1262,1350,1434,1440,1422,1326,1330,1500,1534,1316,1009,913,900,781,658,798,983,982,1023,1560,1594,1356,1156,1196,1528,850,753,1368,1446,1462,1616,1820,2208,2120,1626,879,1136,1350,1072,839,1140,1132,1218,1552,1160,640,844,965,969,1212,1316,1190,1226,1126,1348,1202,915,867,847,957,1108,877,611,749,757,735,965,1582,1376,1016,1354,1696,1200,1009,929,1007,913,1032,1023,659,496,824,1156,1314,1058,1458,2144,1860,1650,1578,1572,1136,844,785,865,1026,1152,1288,1272,1220,1080,716,424,538,517,465,537,785,1066,1092,642,355,308,454,739,837,821,874,633,684,982,1118,982,1172,1382,976,998,1356,1390,1274,1016,1094,933,845,611,861,887,858,775,552,345,290,367,383,463,902,1328,2070,1760,1494,1494,1444,1332,1244,1336,1362,1332,1412,1496,1482,1430,1374,1002,1090,1248,1390,1430,1884,1546,708,538,907,890,613,720,697,1202,1108,973,1042,1350,1438,1418,1294,1300,1386,1046,989,1148,1412,1406,1542,1722,1598,1416,1294,1366,1580,1520,1044,926,1250,1256,1336,1566,1708,1744,1504,1288,1356,1446,1238,1196,1164,918,836,866,1192,908,1204,1272,1092,946,708,602,494,417,343,379,380,342,375,421,463,538,1096,1052,1126,1228,812,655,553,405,339,320,361,441,747,1268,1114,768,821,965,1152,1062,848,971,643,545,560,501,509,563,628,599,428,327,438,1024,1824,1260,448,318,317,309,312,314,344,550,807,882,766,418,326,272,252,226,255,347,566,692,608,580,468,250,283,443,651,837,823,957,998,1284,1670,1056,631,543,498,952,1298,979,1034,1188,1384,1830,1536,871,1013,1464,1152,965,914,1132,1226,902,934,1015,1208,1054,804,930,1132,857,1092,1074,822,1076,1100,709,935,1070,1052,1236,1268,1306,1340,966,719,476,637,1042,1220,1288,1288,963,626,799,1220,1352,1266,1266,1362,1262,1388,1572,1218,1005,1122,1454,1456,1248,1230,1284,1216,1114,1382,1338,1114,1176,1188,1312,1112,592,483,726,944,864,827,1062,1456,1558,1742,1576,1290,1182,1180,1328,1434,1434,1390,1356,1216,1122,1320,1444,1272,1028,810,1048,1206,1100,1168,1110,1150,962,612,710,1196,1544,1786,1896,1986,1908,1644,1572,1142,1320,1640,1434,1196,1338,1216,1150,1122,841,1038,1156,680,556,623,678,631,730,960,1042,1286,1264,951,777,766,683,667,785,1182,1418,1338,1300,822,582,483,546,894,1276,1426,1380,1412,1660,1142,1186,1240,1094,1260,1224,1450,1546,1244,1224,1488,1498,1172,743,1026,1390,926,856,964,804,1168,1088,863,1170,1318,1300,1266,1646,1848,2032,1686,1492,1496,1442,1410,1344,1032,813,1086,1330,1442,1430,1344,1416,1376,1410,1270,1188,1414,1566,1474,1486,1420,953,537,773,1236,1400,1262,1258,1098,1338,1448,1130,1358,1730,1416,1212,1222,1530,1466,1376,1556,1606,1584,1368,1316,1432],[1250,1256,1002,1128,1294,991,777,1112,1360,711,637,585,741,1394,1164,624,495,656,987,961,604,401,361,372,399,472,356,318,318,322,318,374,409,361,355,425,573,538,425,369,392,385,390,374,437,459,462,461,469,484,507,494,505,652,477,459,523,543,785,761,937,1606,1378,552,380,476,593,330,530,502,519,598,498,429,644,851,607,340,292,341,440,547,593,513,475,402,351,382,390,399,409,446,504,592,794,481,349,356,402,301,374,579,468,491,502,529,925,1218,977,731,1278,1222,1080,807,487,445,538,498,636,998,1040,1174,977,1036,1206,778,585,607,480,440,410,427,455,463,451,453,598,858,787,668,959,995,1036,873,594,743,1448,1670,1282,1124,1214,1288,1802,1698,1554,1732,1966,1836,1690,1150,1010,1005,741,1054,1620,1592,1410,1624,1136,623,478,465,370,319,367,380,441,764,484,415,437,493,502,557,705,885,966,954,999,1028,594,381,472,911,846,1038,1604,1344,691,345,374,396,505,555,462,377,442,581,816,551,612,536,442,454,918,1426,1498,1288,894,648,1214,1918,1938,1332,1150,761,487,858,1408,1138,813,822,810,822,1130,1072,539,693,1017,1308,1272,816,800,1088,1328,1250,572,525,622,686,805,760,1166,1060,916,946,815,497,336,311,385,507,500,429,338,329,342,332,537,680,603,796,1224,1288,733,745,1028,943,979,1366,1208,923,726,468,548,990,940,783,1224,1432,1334,1498,1358,1090,1372,877,547,958,953,652,544,556,736,1058,871,1040,1188,1158,779,979,863,947,1040,928,1090,1204,1354,965,665,677,1178,986,1015,1212,1158,1088,973,800,1011,1004,430,411,514,744,686,710,698,1036,1224,973,511,390,560,742,796,597,691,1184,999,1162,1170,833,815,1196,1390,1410,1366,1182,760,575,790,850,764,666,567,647,858,954,778,866,794,626,571,491,752,1220,801,639,529,569,694,724,973,1360,1318,1130,1188,1122,1042,1138,1320,1104,1046,1222,1256,954,762,561,479,674,644,604,611,512,431,656,1158,1542,1422,1204,835,430,543,841,722,654,1136,1650,1528,1194,894,911,794,749,772,791,741,418,518,825,1126,1278,1344,1086,913,1546,1418,1170,1460,1626,1622,1500,1510,1618,1236,1340,2376,2922,1448,1080,947,822,979,1044,1096,1284,1318,1312,1138,614,431,1192,1152,938,815,998,1194,1034,1028,1224,1366,1230,1084,1154,1074,745,473,546,514,482,421,712,1134,908,667,904,994,982,830,1148,1108,1019,1378,1328,705,586,703,658,713,669,711,928,1386,1640,1554,1478,1360,1246,1162,1076,1100,990,719,894,1294,1246,1106,1050,1140,952,852,900,1074,1106,833,511,525,739,717,565,461,434,420,429,476,979,1294,1338,838,1044,1738,1174,1344,1412,1316,1228,1268,1022,1064,1116,806,715,868,891,1050,1004,1208,962,1104,1132,669,910,1210,1428,1210,986,976,684,569,955,1024,929,1026,847,1408,1782,1330,1144,899,631,679,907,918,1020,1318,1034,766,642,515,538,605,603,953,808,455,642,948,1100,775,751,938,1788,1896,1808,1738,1394,1438,1670,1314,1096,955,1118,1092,1026,966,1388,1648,1356,1288,1288,1216,1374,1262,1396,1638,1448,1648,1158,1068,725,827,805,702,650,797,886,775,832,980,1019,791,642,899,843,907,1254,1192,1018,603,360,579,931,893,860,961,1015,553,508,701,1260,1220,618,372,518,649,802,1070,1184,1210,1142,940,603,865,1300,1284,1310,1264,1198,1274,1118,650,908,1348,1962,1604,1304,830,571,529,512,448,930,1498,1386,1198,1015,1062,841,930,568,393,374,527,549,449,502,594,705,915,1030,952,895,985,1120,1026,999,1086,1036,750,565,428,310,372,328,341,724,1220,1312,1372,1078,1396,1696,1056,578,455,582,847,669,428,593,1018,1064,1456,2064,2578,2574,2180,2032,1382,940,1272,1086,761,480,480,690,619,706,1174,1316,1144,891,1016,846,367,351,570,747,734,530,814,917,952,1224,1015,749,730,420,275,272,299,391,362,322,323,457,423,746,1028,814,874,1266,1152,611,970,1842,1676,1066,732,874,841,560,430,509,580,675,695,572,362,262,246,334,297,311,453,530,512,575,601,707,751,672,576,658,721,499,478,587,713,837,946,1015,1066,838,733,337,358,370,252,308,249,291,446,675,710,503,320,234,510,1242,1148,1194,810,378,274,272,336,284,292,328,339,405,817,1292,748,621,703,850,1068,1074,1044,882,715,616,409,282,252,271,279,311,342,494,629,639,402,703,1128,996,904,1070,1124,1142,1212,959,770,695,714,946,1184,1003,935,932,1100,933,507,627,737,958,730,394,498,1086,1016,603,445,317,429,466,530,849,1362,777,389,437,501,482,1066,1218,702,387,409,393,540,681,1007,1048,1120,1180,913,608,396,378,329,257,350,550,714,600,850,655,871,899,1506,1620,811,533,678,656,440,326,272,224,312,527,892,1062,783,581,728,1166,1448,1532,1370,1004,1242,1642,1392,1552,1348,1222,1007,1288,1276,1152,1264,1350,1400,1372,1334,1322,948,591,598,710,661,670,700,599,509,476,882,1362,1326,972,882,870,1152,1316,1432,1692,1806,1570,1490,2042,2144,1538,1210,2094,2712,2574,2622,2470,1448,939,965,1244,1462,1244,1112,915,1262,1146,960,680,626,1294,1450,1380,1482,1356,1478,1766,1658,1524,1570,1442,1044,723,743,1198,1208,791,1028,1626,1118,271,404,582,651,583,553,622,647,1262,1772,1584,1454,1322,1402,1021,593,736,845,1136,1354,1706,1404,1148,860,1100,1298,1130,941,809,929,1244,1262,1154,1146,1250,1412,1432,1422,1500,1948,2014,1754,1484,1412,1256,1184,1256,1330,1300,1158,1328,1450,1312,1332,1284,1218,1044,811,763,884,877,982,957,662,1122,1494,1346,924,963,1170,1200,1270,1256,1378,1516,1260,1234,1208,1142,1076,1114,930,932,1220,1514,1842,1448,1348,1368,1360,1352,1364,1098,1402,1814,1986,2110,2008,2100,2228,2316,2338,2108,2014,2036,1452,1013,1144,1444,1328,1268,1310,1204,1236,1342,1530,1522,1332,1434,1420,1314,1200,1050,1050,890,834,1094,960,739,857,1160,850,626,603,852,1458,1256,852,1042,1306,1400,1806,2062,1870,1418,1228,748,1196,1070,729,651,1058,1710,1880,1406,1124,667,700,1022,1108,1144,1154,1118,1418,1404,1272,1186,930,839,871,881,1009,1019,941,1108,785,833,1410,1362,1044,1168,1556,1632,1290,1306,976,1358,1416,1030,971,688,393,626,1002,1230,1048,857,872,1246,1336,1514,1332,1086,1080,1138,1076,814,969,1192,1174,1170,542,435,539,647,557,524,558,917,894,498,336,277,304,468,722,848,908,889,768,1314,889,704,1005,1106,1050,1017,1254,1298,1056,1064,1136,1036,927,1078,877,972,955,974,888,655,475,420,382,464,616,949,1326,1658,1574,1482,1316,1310,1392,1318,1396,1506,1448,1316,1294,1426,1486,1438,1036,938,913,974,1216,1314,1084,761,866,1318,1158,646,405,622,914,827,1262,1610,1664,1642,1572,1344,1168,1124,1184,993,891,1312,969,814,1316,1284,952,1370,1590,1588,1512,1488,1294,1422,1400,1174,1044,1174,1476,1656,1336,1170,1522,1144,1290,1304,1104,1160,1138,1356,1096,1216,1292,990,835,961,733,398,376,342,412,491,426,450,678,867,1013,1228,1582,1916,1648,1132,675,551,656,681,522,430,498,880,1396,1202,927,971,989,1194,1204,800,865,726,623,573,588,746,833,667,507,439,362,380,687,1332,1020,806,457,274,279,279,289,335,389,529,794,817,685,668,506,326,276,262,259,306,345,474,610,570,354,459,626,673,806,867,829,638,814,1240,1010,543,612,607,1108,1618,1506,1426,1406,1450,1672,1608,1328,1350,1488,1172,843,775,1244,1388,665,964,1210,1470,1428,1036,1005,1152,930,1144,1172,870,1124,1208,1080,1318,1300,1428,1270,1242,1454,1216,964,860,705,940,923,1044,1322,1674,1194,899,1086,1332,1310,1232,1338,1312,1120,1230,1310,904,1126,1504,1396,1082,1180,1264,1278,1318,991,925,799,731,889,1138,1406,908,667,672,951,1108,766,807,940,1016,1358,1632,1448,1148,1202,1560,1322,1550,1494,1416,1164,980,917,910,735,630,738,1148,1372,1346,1432,1090,886,689,511,485,848,1128,1086,1368,1716,1650,1570,1472,1210,988,1460,1498,1394,1302,1392,1216,972,1098,1050,822,734,578,700,729,620,702,1032,1020,794,661,839,898,730,898,675,541,469,852,1396,1238,910,632,584,530,500,764,1140,1482,1572,1700,2402,1440,1322,1266,1264,1484,1368,1318,1436,1444,1444,1332,1288,1264,847,924,1086,854,794,588,757,1078,875,870,997,1020,1160,1326,1636,1824,1946,1726,1522,1326,1240,1636,1484,1024,1146,1288,1472,1636,1766,1806,1624,1442,1382,928,908,1482,1464,1142,1286,955,679,440,644,940,876,755,1005,1136,963,1150,1360,1244,1406,1178,1162,1238,1352,1368,1472,1624,1686,1572,1448,1552,1656],[1272,1458,1058,1180,1666,1550,1118,751,950,983,764,579,592,672,652,487,438,733,1080,825,428,343,320,386,447,409,355,361,339,336,304,320,354,365,355,448,690,552,435,415,429,410,412,417,418,416,433,464,482,485,518,548,575,548,433,401,517,463,642,724,564,667,537,360,347,473,559,448,542,521,593,1098,929,474,808,1136,654,353,332,386,511,747,790,488,361,393,445,422,387,426,422,495,725,1098,1318,702,392,352,333,314,573,732,587,741,703,1144,1456,1096,1076,1172,1328,1130,623,392,415,393,410,444,577,762,894,1228,1040,895,1048,800,552,471,452,424,419,392,499,676,550,440,636,677,581,737,1190,1220,1064,1002,971,1530,1908,1784,1562,1302,1468,1750,1748,1368,905,988,1126,1398,2022,1670,1154,739,888,1038,1306,1584,1778,2124,1698,887,558,443,422,484,581,594,626,1076,829,656,662,789,1168,1526,1460,1158,907,977,1036,1360,841,409,383,516,711,971,1318,1520,938,362,449,362,410,446,428,404,400,469,541,576,885,872,509,523,700,1014,1310,1022,1246,1428,1874,1722,1480,1116,733,573,414,596,828,709,894,901,882,713,1208,1302,976,1146,893,872,984,696,917,1148,917,627,578,506,510,517,599,753,908,698,713,766,557,296,369,473,413,464,415,419,358,442,479,402,623,752,800,1078,1066,1406,862,846,849,758,1060,1386,1328,965,731,521,516,652,818,1198,1534,1432,1180,1366,1568,1482,1274,745,567,937,1108,749,602,418,578,1282,1044,727,738,782,837,742,682,1256,1632,1450,1146,1004,1090,697,653,579,520,830,1046,1016,816,932,1194,1220,1015,894,434,430,512,612,639,643,922,1256,1316,1136,830,722,1068,1262,1162,755,727,1128,1086,927,695,486,615,933,1166,1094,1354,1426,988,569,552,440,644,1114,1290,908,1009,1316,1114,875,778,647,547,436,450,534,891,893,572,522,705,1090,1350,1156,1158,1094,702,886,1128,1376,1336,1050,1146,1274,1128,876,587,500,373,499,473,448,324,416,476,664,998,1164,1140,1258,1390,1104,948,1050,744,630,1226,1584,1340,1308,1058,756,499,565,701,713,626,542,686,958,1196,1236,1182,744,983,1914,1532,917,1344,1532,1408,1326,1540,1566,1376,1256,1550,1886,1514,1482,1240,1098,1116,1226,1770,1656,1246,1376,963,667,771,1306,1184,1102,1050,1156,1124,678,865,1180,1348,1168,1160,1126,1092,703,500,506,554,495,521,1038,1344,1108,926,892,989,935,740,925,1108,954,1017,924,523,435,455,586,616,749,809,833,835,1066,1166,1464,1428,1246,1146,1152,1194,1001,795,1176,1214,1332,1380,1272,1128,912,854,769,1028,1158,821,529,552,733,534,397,392,425,405,368,537,1034,1418,1290,897,1844,2390,2656,1888,1584,1310,1170,1180,836,852,1158,940,801,580,589,1120,1248,1242,1166,1046,1036,672,504,791,940,730,752,814,949,535,687,777,918,1042,1096,1322,1282,1080,985,880,724,708,886,644,888,1356,1442,921,836,742,366,285,800,1274,717,1040,1474,1642,1466,912,1000,1282,1308,1418,1606,1190,840,1176,1514,1164,1224,954,1180,1228,1134,910,1368,1744,1460,1456,1432,971,1224,1242,1804,1874,1442,1614,1238,1428,1288,1028,935,897,1096,1242,971,995,1076,1010,1080,977,1256,1516,1158,1018,1170,1230,1122,532,311,657,1054,951,1340,1426,1356,714,481,633,1210,1532,1132,623,697,1072,1316,1260,896,697,432,560,678,730,1090,1216,891,1144,1336,954,963,639,794,1292,2106,1688,1464,1102,690,543,475,473,889,1234,1007,883,744,623,572,693,665,918,1368,1418,1094,801,929,1100,786,660,774,946,937,1026,1042,1002,1136,1198,1154,1082,836,728,521,741,745,455,478,1142,1630,1316,1346,1830,1766,1288,698,496,716,947,670,752,1302,1880,1512,1448,2020,2418,2374,2344,2350,1782,1382,1400,1254,994,557,442,594,852,1386,1626,1382,974,625,459,456,375,321,407,711,743,675,930,810,539,720,673,608,686,593,334,305,334,295,246,379,547,628,449,436,672,645,478,387,379,385,356,640,590,624,619,736,705,763,813,362,357,290,430,579,654,428,322,299,241,257,408,436,479,825,733,698,774,458,551,840,869,751,777,708,600,832,838,984,1114,816,610,311,375,423,347,349,262,326,678,937,825,626,436,320,538,1142,1366,1382,777,347,286,379,412,467,485,387,596,404,651,1518,1116,896,969,970,910,998,1088,959,926,800,686,811,655,408,452,483,375,381,402,391,403,823,1284,1276,1058,927,750,698,720,634,790,1004,846,999,1220,1074,1002,915,705,520,446,699,780,1334,1054,438,531,1120,1036,505,431,415,670,657,761,1204,1416,764,352,325,346,321,669,1156,977,655,689,734,760,979,1272,1420,1624,1466,885,594,417,639,621,306,393,637,906,899,655,469,720,1222,1636,966,631,648,672,930,617,332,243,277,426,1005,1222,901,565,498,948,1372,1352,1202,1230,1176,1464,1302,1338,1658,1380,893,963,1300,1252,1342,1524,1642,1200,1280,1274,1228,724,562,662,774,799,902,846,648,607,724,1356,1826,1768,1462,993,827,1290,1518,1444,1418,1490,1356,1448,2144,1838,1486,1384,2330,2574,2688,2534,2454,1614,854,941,1128,1284,1300,1576,1332,1770,1874,1700,1300,976,1312,1642,1666,1686,1184,1302,1672,1642,1522,1486,1490,929,535,576,926,1386,1192,831,1362,1520,941,552,426,393,492,677,626,618,1334,1620,1622,1348,929,928,679,1004,858,509,769,936,958,1222,1132,958,1017,918,692,595,790,904,1176,1352,1130,1324,1180,999,1228,1332,1992,2518,1652,1316,1306,1454,1498,1280,1174,1340,1404,1364,1334,1108,1106,1248,1140,1044,1015,792,736,1023,891,1260,1194,974,1100,1208,1296,1166,1276,1270,1280,1316,1332,1534,1444,1228,1258,1292,1316,1238,1238,1198,1372,1554,1684,1974,1516,1382,1460,1486,1438,1526,1278,1504,1816,1810,2034,1924,1936,2020,2260,2338,2212,2070,1810,1464,1310,1532,1662,1458,1188,1023,1236,1556,1388,1494,1530,1482,1360,1246,1310,1256,1040,1020,1064,1130,1096,1230,1284,754,634,654,608,636,741,1108,1362,1019,638,780,1182,1666,1820,1500,944,714,644,833,764,499,525,1020,1932,2490,1450,1164,1236,1206,1238,1194,1268,1056,1068,1334,1376,1600,1434,773,850,823,671,739,763,941,1042,741,852,1110,814,749,658,988,1058,1054,1192,1006,1250,1450,1030,952,852,354,400,579,814,1056,1434,1948,2338,1740,1528,1376,1190,1088,1314,1290,1108,1218,1048,669,670,532,674,768,771,575,514,875,1260,921,445,375,473,586,694,700,695,872,801,1094,1258,978,1136,1350,1356,1352,1666,1598,910,650,899,1078,1130,1224,1192,846,780,769,627,557,606,644,614,562,922,1036,999,1648,1704,1428,1418,1290,1460,1574,1410,1444,1532,1500,1376,1368,1638,1572,1082,838,969,909,944,1390,1682,1388,1148,1162,1110,1216,804,464,667,937,1468,1766,1674,1688,1500,1450,1416,1262,937,881,816,1284,1538,954,585,852,980,1268,1564,1432,1580,1410,1532,1678,1550,1544,1488,1208,1266,1404,1438,1758,1694,1396,1252,1720,1512,1434,1396,1296,1166,1058,1242,1162,593,538,805,560,357,348,447,626,752,610,746,1120,1244,1372,1496,1560,1694,1610,1502,865,694,1166,1166,738,527,525,903,1108,743,491,550,599,974,1204,901,871,806,651,634,808,1206,1576,1216,663,459,366,344,342,386,700,874,637,311,274,273,292,332,378,551,779,926,690,791,799,663,564,508,329,263,300,416,622,750,468,402,465,609,819,807,722,771,715,874,1166,659,577,839,926,844,963,1114,1080,1084,1062,1124,1202,1178,1222,885,887,759,1344,1108,624,1062,1302,1428,1540,1152,912,995,1018,1360,1324,1356,1486,1202,1332,1368,1266,1206,1248,1548,1700,1356,1322,1208,937,1054,927,1252,1238,1482,1284,1454,1538,1570,1274,1014,992,1005,933,831,803,970,1566,1390,955,1005,1144,1224,1246,1096,979,1152,911,611,892,1316,1190,757,550,444,541,689,785,978,948,1040,1354,1334,1108,1296,1526,1846,1704,1432,1338,1430,1310,943,687,669,804,736,1062,1400,1394,1440,1366,1194,1242,861,689,858,1044,1108,1038,1038,1268,1742,1930,1012,727,1094,1448,1482,1530,1428,1386,941,764,1152,1166,703,537,583,632,586,640,1050,1148,827,543,700,1124,1324,1042,844,740,625,504,578,702,649,550,498,589,771,920,987,1096,1416,1610,1550,1594,1302,1326,1368,1224,954,895,1064,1374,1566,1406,1088,1056,1326,979,772,747,1136,1382,1212,1100,1005,1284,1398,1020,1092,1218,1400,1762,1868,1860,1660,1680,1464,1214,1282,1024,752,1502,1620,1582,1514,1448,1282,1198,1064,882,824,985,1302,1138,880,789,492,345,335,330,525,795,742,844,1144,1180,1270,1390,1286,1390,1088,1122,1036,1136,1274,1488,1720,1512,1514,1814,1862,1578],[1440,1480,1240,1606,1770,1604,1334,1058,1296,1288,753,545,524,454,427,408,495,957,1198,730,408,331,324,392,429,416,529,445,327,326,299,306,318,336,364,445,583,498,400,401,418,417,395,356,351,385,440,476,484,509,488,560,488,319,320,343,443,458,590,715,525,436,407,374,277,308,349,371,497,519,746,1062,874,650,817,1278,840,545,389,361,493,628,608,374,449,698,736,607,526,584,589,569,621,919,871,456,347,322,328,369,771,977,657,844,881,1492,1554,1350,1470,1570,1532,1186,651,426,439,398,451,432,440,515,576,938,933,698,758,874,789,728,586,372,572,593,506,510,413,444,601,592,530,554,908,1388,1454,987,789,1452,1866,2198,1832,1426,1578,1704,1632,1600,1376,1040,1036,2006,2654,2008,1192,770,1412,962,764,1142,1252,1326,1266,1050,995,1012,930,884,891,990,1112,1314,1172,991,855,1122,1764,1858,1946,1700,1216,975,1012,1404,1046,484,332,322,638,925,899,1036,839,419,440,337,364,475,473,413,395,404,386,396,657,811,604,531,566,733,1240,1076,1282,1666,1600,1060,796,602,536,544,583,751,523,450,901,818,814,713,1019,1182,1182,1015,668,705,710,708,1120,1116,700,606,596,583,573,592,608,694,744,777,662,396,378,411,405,426,428,429,409,399,364,472,525,509,476,494,632,960,968,1234,1328,1172,856,879,1166,1306,1088,1036,1216,716,513,586,1140,1656,1550,1154,1078,1164,1444,1616,1324,702,694,1174,1364,1178,879,521,485,799,982,1182,1044,816,896,985,1066,1274,1458,1388,974,719,569,536,585,453,491,622,681,557,466,885,1170,988,924,774,803,1080,823,669,834,1052,1268,1472,1562,1400,1226,1170,1278,1282,1260,985,704,950,1122,955,619,628,931,970,1158,1226,1330,1072,687,491,383,284,457,717,807,807,1054,1116,1005,716,874,805,561,463,472,694,1136,1200,777,568,1028,1360,968,802,1106,1132,836,1284,1494,1440,1054,816,1028,1056,1096,1005,833,684,494,460,430,467,379,463,595,640,602,752,966,1232,1418,1316,1312,1088,698,765,1404,1566,1278,1104,974,725,417,459,550,753,651,691,940,1348,1328,1246,985,663,1208,1880,1520,1036,1378,1490,1402,1286,1468,1262,1322,1500,1442,1406,1604,1674,1500,1820,1314,1516,2990,1960,1652,1698,1604,1332,1158,1236,1244,1364,1392,1158,961,1042,1172,1162,1382,1174,983,802,727,859,756,554,576,548,679,1326,1008,828,949,949,741,576,503,741,1054,995,1019,1124,752,618,833,869,886,878,781,738,914,1316,1480,1492,1432,1136,1096,1774,1506,1034,959,1282,1260,1400,1794,1604,1248,1454,1326,888,1044,876,694,591,493,609,469,386,388,401,401,360,590,1102,1420,1356,1198,2316,2466,2350,2410,2396,1538,884,936,686,657,936,927,1015,622,657,1218,1202,1168,1246,1392,1392,720,552,926,1106,802,670,1148,1372,737,693,651,835,993,801,786,1013,1032,1068,1086,905,1036,846,527,944,1478,1596,1202,963,785,655,984,1378,1290,1216,1642,1696,1464,1356,1154,1084,1380,1392,1342,1318,818,980,1016,1290,1312,1404,1324,1356,1356,1336,1388,1648,1826,1584,1548,1542,1450,1482,1007,1382,1560,1356,1218,1198,1472,1258,918,858,1112,1418,1630,1294,1072,993,898,911,1254,1430,1854,1946,1394,1306,1332,1016,511,333,545,1154,1432,1482,1364,1240,841,570,697,1182,1440,1444,1152,1214,1372,1194,1002,630,498,452,582,1112,1216,980,1130,957,1038,850,571,742,1152,1100,1003,1818,1892,1582,1290,869,581,434,452,772,1244,653,369,469,411,410,623,745,1036,1440,1460,1212,1316,1476,1340,884,739,800,871,838,958,1042,1032,1362,1412,1076,1144,1236,1220,773,1058,1212,700,468,954,1152,972,1590,1776,1444,1380,1054,579,569,656,1088,1634,1816,2060,1952,1862,1948,2126,2332,2206,2020,1802,1942,1456,1318,1186,810,509,580,1012,1294,1272,1168,1146,907,504,581,550,348,432,928,983,976,1114,977,813,843,658,672,671,710,487,346,315,285,411,766,902,614,323,424,481,352,309,241,303,322,322,339,382,491,804,803,524,1040,1164,393,308,356,311,347,592,700,675,583,445,348,415,459,427,538,498,483,827,830,881,947,775,640,623,555,661,1060,890,900,1098,739,329,268,412,509,469,310,296,463,836,1186,1296,1040,368,358,766,866,573,387,262,245,333,342,299,532,630,603,624,339,708,1628,1612,1190,1074,976,887,699,691,734,728,539,554,599,557,716,901,881,822,760,669,699,889,1194,1132,919,628,778,1254,1142,736,804,1310,1338,716,648,963,1120,1124,946,502,539,770,958,932,1386,1210,621,660,953,763,590,456,420,886,789,867,1210,990,424,258,302,343,370,631,1001,788,532,413,647,766,1023,1366,1366,1400,1256,904,821,374,666,650,393,468,491,960,1120,661,753,1136,1604,1132,656,741,705,842,726,377,257,239,281,706,1194,1050,655,485,803,1306,1138,847,931,1132,1360,1508,1416,1706,1748,1390,1148,1256,1210,962,1120,2028,2574,1338,899,772,697,570,615,714,607,656,1009,979,713,572,944,1688,1694,1438,1398,1030,994,1384,1320,1516,2384,2648,1358,1704,2126,1692,1296,1474,1948,1974,2220,2430,2348,1460,891,945,987,990,1132,1562,1278,1162,1246,1490,1628,1222,1084,1538,1982,2104,1360,1388,1526,1492,1394,1430,1354,1066,628,533,858,1278,1540,1052,1548,1484,1116,691,762,585,307,486,795,1194,1396,1598,1518,1202,633,477,366,752,927,981,1316,1390,1092,748,653,680,530,501,476,354,614,813,1104,1166,1066,1092,1088,1166,1226,1244,1404,1570,1362,1254,1344,1490,1634,1498,1244,1094,1000,1148,1160,961,1030,1476,1440,1220,1011,697,863,859,863,1186,1370,1438,1276,1324,1336,1246,1266,1340,1454,1442,1388,1224,1078,1190,1336,1472,1384,1180,954,1208,1362,1608,1604,1788,1360,1168,1356,1512,1504,1484,1354,1476,1726,1686,1930,1952,2126,2194,2338,2386,2364,2128,1450,1168,1396,1318,1348,1612,1638,1450,1346,1458,1176,1306,1340,1420,1350,1286,1320,1100,1272,1312,1064,1116,1086,1782,1852,1164,805,689,664,673,689,742,973,1018,719,704,1166,1642,1836,1588,957,781,853,974,964,634,533,915,1488,1984,1454,1076,1220,1428,1478,1472,1276,1036,986,950,1232,1408,869,524,912,1186,1160,1232,1030,719,669,550,568,733,758,711,574,528,747,662,690,963,1168,1236,952,847,1016,462,356,459,756,738,1152,1958,2226,2150,1816,1582,1360,1156,1258,1526,1404,935,731,760,875,1018,882,846,798,619,708,1176,1302,835,597,717,843,772,860,667,708,863,1056,1456,1278,1324,1394,1384,1342,1560,1498,1346,959,731,956,1256,1378,1328,1234,1282,1274,781,419,387,462,599,615,688,980,1254,1128,1230,1352,1390,1530,1382,1394,1494,1328,1398,1382,1362,1350,1376,1434,1446,1272,1120,1194,1078,1023,1296,1390,1318,1174,1340,1594,1664,1214,776,845,1556,2344,2132,1360,1154,1184,1318,1474,1048,787,865,1322,1716,1290,845,675,887,925,1206,1278,1456,1488,1538,1580,1358,1368,1590,1432,1110,1330,1230,985,1572,1490,1294,1740,1732,1522,1608,1556,1454,1212,1118,1194,1094,731,756,636,576,568,623,959,1162,1526,1514,1044,1306,1322,1386,1324,1432,1512,1460,1072,789,1017,1262,1064,581,440,477,650,825,665,471,381,432,854,1236,1158,957,954,990,866,925,1106,1256,960,990,797,513,383,440,509,701,1210,1180,466,278,259,301,292,382,671,802,765,612,498,618,735,885,923,589,432,695,744,952,1074,790,478,499,726,914,921,624,378,375,435,778,713,612,1166,1046,754,807,970,982,797,807,1132,1176,1232,1370,998,1048,985,1192,908,670,949,1106,1142,1282,1204,1140,1358,1074,1228,1522,1390,976,1150,1522,1288,1096,1174,1378,1548,1512,1356,1260,1084,999,852,948,1178,1140,1350,1478,1564,1630,1602,1372,1196,980,1060,821,1036,979,1362,1440,1640,1938,1258,816,1102,1072,831,1048,1282,1164,825,1106,1230,682,425,367,341,399,665,983,994,819,988,875,948,1046,1788,1804,1588,1458,1312,1408,1346,1076,910,918,1210,1286,955,896,1102,1216,1460,1516,1542,1484,1290,1214,1076,865,780,825,920,988,1518,1758,1126,950,1322,1522,1622,1278,1120,1316,1336,1064,1322,1108,794,723,639,570,664,971,1092,1044,910,805,1190,1058,1384,952,578,663,632,530,507,498,553,601,605,855,1274,1378,1354,1388,1364,1368,1330,1400,1542,1460,1466,1346,1016,925,828,1056,1262,1316,1164,735,683,736,840,1164,1628,1668,1410,1172,1094,1526,1584,1396,1386,1406,1506,1704,1922,2062,1836,1590,1378,1294,973,680,379,777,1007,1152,1324,1328,1148,1006,1086,1092,1154,1174,899,626,525,452,419,328,292,249,396,695,787,802,1010,1156,1470,1438,1412,1556,1338,906,863,1220,1302,1332,1338,1096,1280,1106,1020,1326],[625,688,1056,1426,1460,1294,982,815,1020,1310,985,482,480,437,437,458,468,635,658,409,303,271,267,247,267,313,373,379,321,299,351,399,379,356,354,363,418,404,372,387,414,406,347,325,364,382,375,440,467,482,472,460,351,291,274,271,329,411,563,672,570,474,589,531,339,241,293,323,403,571,776,1064,1096,965,695,965,1302,1202,987,941,784,855,941,871,713,777,779,768,744,948,1004,713,384,744,769,386,290,345,403,435,716,850,625,1110,1174,1572,1418,1406,1686,1728,1456,1006,742,714,521,366,458,463,475,581,656,821,960,1154,1128,1013,791,847,856,1084,2210,1584,800,916,709,408,722,944,1003,1236,1232,1394,1220,661,691,1210,1810,1902,1388,1068,1102,1412,1678,1754,1418,938,1184,3540,2664,1462,742,539,501,446,869,1306,927,873,1474,1920,2148,1374,986,882,790,760,906,1062,1260,1238,1108,1190,1870,1642,1656,2126,1830,1348,1252,1338,971,464,439,366,506,935,834,511,366,298,326,324,329,337,380,473,434,375,385,358,369,666,913,587,509,678,1098,1138,1176,1358,1230,1001,821,414,440,567,870,772,409,285,569,1142,1358,1036,1036,1270,1118,841,838,788,558,822,1158,874,538,581,703,709,655,805,933,837,694,669,666,493,451,532,503,404,415,450,486,526,538,446,381,404,399,560,624,925,919,691,844,784,673,827,1116,957,793,1074,1068,787,882,1252,1230,1704,1644,1130,1110,1138,1114,1296,1490,1324,993,1218,1274,1378,1046,647,469,487,783,1206,1118,841,932,1032,832,828,1120,1148,803,613,711,1060,927,463,409,427,387,445,1096,1136,913,811,950,786,912,1362,1332,1168,1222,1182,985,1052,1264,1352,1340,1294,1260,1182,1023,724,441,739,1038,785,698,1112,1026,933,1110,1134,1072,1040,842,631,372,325,346,413,493,857,1466,1340,1040,842,781,711,670,542,745,1066,1068,902,696,1046,1296,901,841,1346,1504,1410,1210,1046,1028,1190,982,702,906,1182,1140,1009,930,616,509,494,499,523,453,380,427,427,367,495,921,1188,1308,1278,1388,1032,697,849,1346,1562,1228,844,705,629,535,604,611,720,622,485,815,1158,1218,1244,957,929,1007,1170,1188,1154,1264,1282,1322,1412,1320,936,816,1118,1380,1448,1622,1556,1366,1670,1378,1158,1644,1350,1512,1482,1528,1344,974,889,905,881,1266,954,760,917,1112,1180,1258,1086,758,593,1006,1320,832,544,480,538,848,1104,587,716,802,550,383,410,503,555,879,1022,968,1372,846,873,1594,1426,1262,1086,935,948,1310,1838,1686,1478,1410,1140,1136,1334,1144,970,1094,1013,925,1198,1698,2354,2590,2128,1750,1009,741,636,588,508,408,545,513,401,415,410,412,411,636,1210,1572,1310,1240,1756,1664,1554,2292,2414,1234,675,533,351,458,757,930,833,750,897,1396,1292,1170,1256,1504,1520,689,474,668,1162,1104,1013,1020,780,696,706,835,1218,1218,900,552,874,1212,1030,1052,1008,973,789,733,1208,1560,1512,1402,1212,743,963,1730,2434,1714,1238,1456,1600,1516,1622,1388,1288,1914,1692,1346,1448,1202,1376,1562,1500,1572,1660,1466,1394,1390,1484,1592,1726,1672,1654,1674,1406,1340,1116,974,1334,1538,1266,988,907,718,756,707,535,1180,1228,1196,1226,1030,708,691,683,1130,1488,1482,1442,1366,1542,1622,933,388,288,317,771,1306,1266,1122,857,767,623,821,1230,1260,1312,1306,1254,1004,858,759,662,706,868,1094,1414,1364,655,805,1062,724,738,1062,1090,1512,1404,1050,1432,1996,1962,1396,1086,656,376,398,819,1042,485,349,362,541,690,714,831,827,1062,1072,825,1106,1086,966,843,642,824,749,539,882,1030,1026,1100,1054,998,1204,1308,1140,827,1020,989,597,622,1126,1128,1202,1984,1736,1254,1036,1312,922,785,1184,1758,1898,1842,2036,2148,1844,1466,1876,2536,2610,2076,2000,2062,1618,1482,1250,1066,836,570,828,1000,963,948,1106,1248,877,760,594,394,502,653,714,1214,1786,1656,1017,1110,873,657,523,629,560,342,241,306,465,716,848,528,332,576,449,332,302,283,306,317,262,345,583,880,1250,1334,988,684,357,359,730,1118,1176,962,605,500,611,682,739,758,615,687,672,483,444,540,865,977,900,701,549,801,1096,1118,564,647,994,1256,1700,1162,449,449,827,969,539,256,321,634,794,812,747,543,327,326,458,351,274,351,372,364,385,304,442,760,956,1060,622,596,861,1526,1688,968,983,1322,1582,1056,699,745,682,626,727,532,635,1001,1000,844,774,955,981,1017,1362,1362,1096,639,587,1130,1592,1312,929,955,1194,1326,839,678,1312,1334,1316,933,499,812,1316,1218,1009,1076,972,660,647,1130,1110,663,455,368,429,368,488,795,811,515,468,561,551,608,670,683,554,414,438,711,828,819,1126,1416,1240,1328,1492,791,397,681,510,460,447,422,959,1158,969,1214,1782,1614,854,965,960,865,1168,659,293,269,340,702,1156,1090,718,546,681,1250,1332,788,723,924,1088,1272,1282,1612,1850,1500,1240,1198,1394,1288,1036,1382,2028,1524,1074,773,628,639,602,642,704,600,697,843,814,673,700,1230,1820,1406,943,1168,1042,1094,1512,1268,1448,2330,2278,1512,1778,1762,1654,1208,1166,1230,1210,1372,1374,1520,1050,840,708,648,542,958,1548,1222,959,1023,1154,1494,1158,820,1378,1742,1582,1296,1388,1400,1326,1310,1314,1388,1268,795,533,612,746,1064,818,1564,1222,780,608,846,730,426,470,1120,1598,1306,1396,1396,820,502,365,373,677,1136,1334,1276,1344,1402,1204,1034,895,559,382,444,505,755,1116,1070,963,1068,1038,977,1009,1172,1136,1222,1418,1394,1270,1284,1484,1632,1530,1368,1238,1178,1010,1016,1142,979,1023,1310,1328,1146,1174,1402,1148,957,1178,1316,1258,1412,1356,1126,1224,1246,1454,1404,1378,1256,1084,1130,1174,1326,1496,1338,1350,1164,1252,1082,1220,1582,1644,1250,1182,1190,914,873,988,907,1150,1538,1652,1918,2006,2280,2338,2308,2318,2322,1870,1048,1148,1224,731,726,984,1426,1888,2050,1674,1202,1264,1500,1510,1266,1076,1234,1068,1086,1092,1226,1108,1004,1302,1406,1296,958,794,757,689,643,585,820,1130,1080,1236,1506,1748,1694,1312,992,855,742,654,534,379,332,459,976,1242,1372,960,935,1404,1512,1134,623,828,846,661,818,822,550,644,1032,1038,979,1242,1128,1048,1244,912,770,926,1146,991,837,554,530,731,706,620,821,1040,1076,974,1324,888,492,539,573,491,689,1482,2078,1780,1408,1258,859,988,965,1224,1086,727,788,1100,1118,852,701,714,564,524,651,946,749,482,448,779,835,680,570,806,1232,1096,1126,1594,1726,1464,1070,1044,849,940,1068,1026,849,883,979,1136,1228,1302,1782,1892,1714,1210,610,508,591,550,552,558,945,1518,1218,937,1294,1440,1406,1252,1316,1310,1254,1236,1310,1230,1166,1238,1210,1294,1274,1170,1190,1134,1096,1252,1376,1394,1368,1482,1520,1432,1312,987,1130,1426,1516,1606,1418,1468,1160,1264,1422,1334,1312,1380,1558,1420,755,628,841,893,839,925,1208,1256,1296,1390,1244,1158,1136,1446,1876,1188,1274,1136,1194,1332,1220,1500,1732,1618,1614,1560,1440,1478,1410,1520,1484,1378,1078,829,568,689,847,1104,1296,1258,1626,1368,1114,1366,1484,1448,1396,1260,1302,1494,1086,913,954,768,540,440,465,454,378,662,909,644,483,572,859,1164,1068,849,870,1015,625,518,575,578,760,1224,1446,1328,902,498,566,1096,1848,1624,707,313,276,306,264,260,398,560,522,393,700,866,540,897,1108,726,364,608,851,1130,1190,937,677,622,894,1322,1562,952,420,328,335,415,565,822,1142,1020,981,880,899,1084,814,760,919,1164,1152,1274,1396,1288,1246,1068,929,982,960,780,933,1086,1272,1290,1182,736,868,1396,1272,1126,1658,1562,1058,1042,1294,1266,1294,1266,1284,1038,999,1162,1292,1406,1224,1426,1452,1326,1480,1462,1284,1324,1114,860,1020,619,952,1466,1418,1068,1416,1604,902,519,758,759,579,828,914,1040,954,902,707,415,371,375,406,678,916,872,777,854,875,850,938,909,1478,1562,1210,1156,1402,1282,1224,1432,1188,1152,1470,1310,981,913,1184,1232,1202,1346,1472,1388,1412,1178,890,644,791,824,848,1130,1382,1578,1654,1712,1728,1646,1314,869,1084,1366,1246,1318,1548,965,620,554,582,666,1011,1288,1114,1290,1216,803,971,977,1196,885,549,601,636,540,462,463,689,836,976,1162,1332,1256,1210,916,883,1264,1462,1518,1528,1418,1576,1456,1232,1232,1114,1194,1432,1426,1014,610,742,1204,1424,1500,1748,1374,1302,909,1342,1352,1692,1816,1390,1236,1066,844,888,1356,1598,1580,1292,1240,1404,1028,465,375,478,639,1015,1282,1188,1032,1026,1098,1064,1202,1046,928,609,431,386,299,318,283,331,412,484,640,979,805,1112,1518,1598,1456,1270,1038,1060,1244,1422,1350,1204,955,1090,901,1022,1238],[528,546,625,648,584,509,474,425,727,1426,1216,469,432,442,451,484,445,369,390,322,269,259,264,281,289,270,262,275,311,318,375,412,409,405,420,391,398,383,358,337,369,373,368,365,358,346,355,449,486,475,424,361,328,305,287,293,307,380,567,596,498,417,372,397,396,295,285,306,354,445,514,697,904,809,630,818,1062,1222,1306,1296,1166,919,911,1032,745,886,1034,1028,971,1138,1128,650,634,1166,1052,552,422,436,486,449,387,541,465,680,1272,1516,1138,1228,1772,1798,1250,1080,985,933,592,413,436,444,473,523,702,811,1232,1866,1372,1110,804,886,1152,1162,1282,1218,1214,1224,705,442,690,1084,1716,1904,1422,1604,1132,974,1444,1490,1346,1086,756,746,883,1330,1634,1322,828,740,720,1994,2150,1358,980,736,566,764,866,1298,1002,823,1316,1522,1448,872,665,658,615,671,819,1160,1622,1276,1334,1230,1288,1662,1410,1836,1868,1732,1720,1680,1040,487,512,401,394,772,987,582,403,338,292,295,315,329,422,600,661,653,572,478,554,947,1372,1352,906,735,1158,1234,1052,1160,1062,1090,1152,628,534,569,861,850,582,396,467,1152,1702,1156,682,598,412,416,650,587,431,440,763,597,562,644,709,763,745,786,700,599,508,415,384,429,500,534,535,471,437,461,468,536,603,527,528,441,545,652,579,703,703,592,514,448,525,703,1042,1094,996,1478,1388,1174,1262,1300,1336,1764,1644,1062,987,1144,1100,1126,1394,1836,1524,1294,1134,1034,969,777,715,951,806,1334,1610,1410,1070,954,800,733,896,852,588,429,586,972,1010,626,463,394,450,1070,1942,1228,1062,1108,983,1086,1202,1400,1356,1134,1068,904,815,886,1198,1334,1178,1108,1110,962,969,888,536,711,1010,724,614,780,912,906,979,930,865,1058,1454,1222,467,328,340,408,477,1003,1442,1344,1002,853,752,750,806,799,902,1062,1328,1322,1110,1450,1210,1070,1144,1334,1476,1334,1156,968,1126,1504,1296,742,780,1032,861,1142,1076,673,573,541,434,421,435,344,300,314,434,564,976,932,980,1282,1306,894,734,1064,1438,1598,1286,905,705,675,745,708,701,587,495,522,813,1116,1302,1204,730,1072,1104,1624,1356,933,895,1172,1296,1218,1104,710,642,1088,1490,1464,1440,1478,1532,1486,1564,1446,1346,1352,1376,1406,1658,1438,1134,940,1102,1062,1072,853,800,801,879,921,706,676,916,1010,996,1118,550,377,484,518,1058,896,726,1190,1044,891,1013,723,589,557,1166,1442,814,793,514,915,1420,1332,1174,979,951,1290,1544,1694,1396,1516,1158,953,1354,1500,1226,1168,1358,1134,860,925,1290,2016,1988,1017,998,691,551,492,484,461,406,545,584,430,423,386,357,404,671,1310,1676,1080,884,1122,701,1078,2132,1930,692,466,354,325,346,573,911,1038,836,777,1064,1244,1376,1266,1372,1366,849,604,621,1256,1160,1176,933,525,606,755,1142,1324,863,854,943,1034,1252,934,977,985,719,660,851,982,1114,1338,1170,937,975,874,995,1514,1744,1642,1412,1288,1484,1632,1730,1792,2022,1752,1576,1562,1582,1664,1462,1260,1554,1556,1288,1260,1342,1368,954,1194,1452,1582,1518,1510,1416,1222,1330,1656,1768,1512,1346,1016,818,876,726,813,1396,894,595,996,897,576,521,581,891,981,1178,1322,1192,1344,1302,841,436,328,495,948,921,1048,1468,1196,800,875,1190,1376,1376,1312,1050,767,661,858,1036,1106,1260,1560,1188,723,866,748,928,1316,924,1204,1324,826,933,1308,1116,999,1732,2234,1756,1412,907,508,342,592,595,429,483,536,501,625,1090,883,597,506,424,508,1150,1384,957,836,918,1076,889,781,1048,1360,1418,1228,1184,1116,1350,1274,841,599,949,1054,662,625,975,1162,1596,2018,1948,2220,1072,1028,1494,1556,1744,1882,1834,1920,2036,2046,2034,1886,1806,2536,2810,2156,1910,1868,1868,1776,1334,1162,1088,699,631,923,1082,1060,1013,1228,920,607,590,440,333,250,426,1144,1568,1208,912,1296,1094,647,458,614,677,531,284,262,361,638,863,641,342,323,390,338,312,469,614,470,453,865,963,666,865,970,910,590,380,525,1316,2064,2098,1456,943,841,608,383,483,549,703,845,833,807,672,602,808,854,611,547,933,1252,1408,1376,580,404,966,1516,1510,830,394,696,1050,846,339,260,373,758,404,227,338,334,274,278,319,332,299,412,737,616,402,318,606,956,1052,899,565,545,528,972,1316,843,1278,1272,1508,1256,746,677,570,841,1206,913,968,1316,1084,1134,965,983,779,877,971,1176,1100,655,728,1122,1282,992,824,912,894,1540,1046,991,1548,1428,1316,801,411,986,1680,1216,991,1224,1492,753,550,1156,1040,697,527,368,300,301,270,411,749,695,582,677,549,609,629,709,701,545,547,752,604,488,1080,1584,881,1424,1516,676,491,847,673,528,338,536,1048,961,758,1500,1884,981,845,1009,825,1176,1218,615,292,288,477,1058,1256,818,449,636,1202,1512,969,695,896,954,1192,1602,1924,2416,1914,1726,1580,1384,1394,1354,1266,1554,1450,1200,961,599,599,594,558,655,638,635,938,726,662,652,825,1494,1760,1238,1144,1468,1110,1272,1306,1254,1178,815,963,1058,1202,1412,1542,1294,1180,1168,1248,1298,1188,1274,825,788,750,991,838,800,1308,1448,1400,1340,1372,1766,1346,825,1198,1264,1154,1192,1202,1300,1518,1470,1196,1256,1316,938,515,383,434,517,489,563,811,992,1164,954,590,576,592,749,1134,1112,1032,973,505,338,328,578,1164,1632,1304,898,962,995,1114,969,861,623,430,572,774,1094,1388,1446,1324,1078,764,692,1112,998,1050,1240,1144,1092,1288,1746,2128,1854,1604,1450,1444,1290,1254,1572,1814,1360,979,1100,1224,1184,1208,1268,1188,1104,1074,1094,1180,1316,1154,1174,1068,1108,1274,1208,1268,1172,1164,1276,1194,1236,1306,1438,1506,1530,1192,830,788,1148,1434,1388,1254,1262,965,818,681,574,676,1162,1576,1676,1764,1974,2030,2016,2062,2054,1384,766,1278,1030,495,517,521,653,927,1282,1338,1164,1272,1454,1482,1390,876,1100,1180,1040,1108,1482,1360,1282,1472,1580,1296,775,783,725,659,741,601,950,1278,1360,1400,1502,1652,1652,1528,974,742,1166,818,523,593,654,763,1384,1810,1568,1204,1258,1504,1172,829,566,711,565,437,426,490,448,535,904,991,846,974,1054,1200,1146,969,965,805,895,710,690,814,811,763,860,1006,1394,1704,1588,1204,1232,1220,951,759,672,608,574,996,1610,1354,1150,1128,1044,1156,1032,822,736,802,935,1126,1038,576,530,506,438,483,519,398,310,380,396,721,1160,996,818,1108,1190,1142,1320,1294,683,586,778,1146,1208,1076,1300,1232,1046,1126,1102,1108,1036,998,1056,987,1204,1190,923,794,752,712,633,478,832,1238,865,878,1236,1034,855,863,1094,1242,1328,1324,1266,1136,1166,1342,1342,1370,1428,1262,1142,1268,1268,1278,1390,1562,1490,1456,1300,1130,1218,866,894,1038,788,902,981,895,1084,1208,1296,1482,1434,1194,937,1116,826,568,375,481,809,998,985,846,995,1438,1336,1268,819,893,1774,1402,1482,1202,1498,1432,1184,1324,1454,1454,1428,1428,1408,1486,1418,1334,1130,1158,1072,775,608,830,1094,1378,1488,1234,1202,680,708,1166,1600,1372,1282,1021,1070,1472,1390,1048,1136,1168,980,545,676,572,419,978,1436,958,506,469,606,1001,1040,849,776,747,1068,752,507,448,745,1170,1470,1398,809,367,460,948,1386,1182,943,592,406,349,350,301,239,371,571,741,1468,1264,450,409,713,549,373,362,514,899,1062,1064,1044,782,943,1522,1720,855,454,354,309,653,1154,1322,1242,987,850,880,1072,1152,1192,1021,866,1070,962,1812,1954,1400,1278,1082,1038,1260,1090,838,1398,1158,1080,1044,1112,886,1098,1498,1470,1262,1130,1062,1054,1042,1266,1222,1296,1100,1009,1082,1246,1386,1490,1090,1102,1494,1234,1324,1482,1256,998,967,1042,1036,955,565,1036,1390,973,783,860,1134,1032,615,715,880,775,1136,1044,1004,1136,1152,999,659,393,425,656,1050,825,619,880,927,698,850,882,619,630,966,1186,1094,1244,1298,1388,1158,1216,1274,1398,1350,1180,1226,1290,1202,1090,1122,1282,1464,1424,1182,899,792,856,995,1016,1122,1302,1426,1546,1804,1664,1516,1372,1028,1172,1332,1246,1654,1260,659,578,570,556,942,1298,1450,1286,1378,1222,845,929,904,961,869,602,618,540,527,440,431,656,818,1394,1586,1480,1300,1021,870,1042,1162,1306,1270,1390,1144,1172,1058,1290,1488,1252,1300,1560,1188,513,653,1264,1488,1172,1216,1870,1668,1710,1182,1116,1414,1520,1042,683,680,458,404,587,788,943,1296,1174,1314,1466,998,556,384,424,386,697,958,780,1014,1192,1258,1184,1118,1130,1098,767,558,430,351,337,294,397,372,974,1032,941,694,952,1394,1402,1390,1172,1272,1510,1478,1218,1206,908,781,1088,1120,1002,1202],[440,400,355,389,384,382,441,446,567,941,821,506,412,384,397,399,372,303,281,266,271,272,268,274,280,264,257,265,284,322,336,356,399,422,418,448,446,344,378,371,377,361,368,394,377,386,450,516,516,475,410,384,369,349,347,345,368,388,578,611,501,464,429,454,357,301,389,573,670,544,497,522,471,448,471,724,1194,1156,700,1009,1088,1004,909,802,747,968,1036,1064,1096,1102,811,579,1178,1396,1048,812,702,792,792,653,455,437,553,653,976,1172,1096,1182,1778,1718,951,802,728,554,428,393,373,380,409,535,771,827,1056,1456,978,971,845,836,1004,868,1098,1494,1384,1042,474,388,484,767,1318,1578,1750,1760,1040,955,1208,1128,1038,968,637,612,728,1102,1402,1028,749,638,578,712,1066,1816,1990,990,950,1628,1384,1272,975,637,610,806,1064,803,472,567,533,505,677,1204,1882,1594,1834,1794,1126,1224,1140,1226,1644,1894,1692,1644,1036,522,386,333,426,530,980,862,566,439,361,331,324,332,393,569,861,816,685,653,695,737,1264,1804,1362,838,968,1150,882,882,941,1160,1062,753,664,694,775,859,714,463,416,662,1046,759,670,785,626,778,509,383,471,439,566,1120,1432,839,539,627,693,588,456,397,382,429,395,402,402,371,417,443,419,400,449,390,556,703,667,497,662,814,628,391,407,397,547,661,579,778,903,1174,1272,1550,1278,1324,1476,1336,1306,1460,1418,1238,1118,1036,1178,1302,1504,1626,1804,1940,1570,977,908,1160,1204,1476,1304,1704,1884,1748,1366,976,803,736,609,510,444,355,438,864,1156,1064,882,775,747,1070,1322,804,1104,1362,1023,1326,1176,1100,1112,901,943,985,1172,1564,1612,1422,1356,1308,1288,1282,1324,1342,669,609,980,769,497,632,1156,1110,818,1086,1148,971,1294,1136,612,493,381,404,492,799,1202,1144,835,619,691,769,667,992,1562,1538,1242,1232,1412,1210,1156,1584,1144,989,1274,1128,975,1172,1358,1450,1436,1034,735,677,792,1410,1404,690,593,617,545,499,464,305,260,335,462,935,1050,803,838,1236,1390,986,880,1282,1402,1592,1460,1252,1102,1066,1058,1036,861,583,535,585,847,880,1017,962,603,993,1208,1528,1014,674,969,1366,1182,844,750,704,808,1706,2158,1620,1236,1140,1340,1662,1732,1606,1538,1628,1676,1786,1774,1734,1576,1252,1398,1356,806,917,1298,1168,813,590,536,530,827,1372,750,488,363,343,440,600,965,969,1262,1592,1196,1346,1644,1370,615,400,787,1114,799,731,1001,1250,1268,1268,1128,745,846,1424,1572,1494,1372,1534,1030,774,1188,1438,1146,1040,1330,1266,936,596,979,1866,1464,632,522,548,484,397,359,379,412,471,529,424,427,415,403,379,716,1238,1496,982,768,972,401,451,671,762,499,392,299,327,358,363,788,1098,755,741,1292,1504,1282,1210,1144,955,830,639,606,1003,1152,1112,866,580,512,516,772,1178,974,938,1216,1316,1202,990,874,759,566,568,912,986,1002,1498,1176,1070,1300,892,938,1458,2050,2554,2164,1402,1816,1976,1968,1880,1770,1678,1490,1450,1416,1266,1330,1526,1622,1482,1412,1412,1664,1682,1400,1324,1416,1412,1550,1622,1534,1550,1572,1700,1652,1588,1454,1148,1180,1158,949,935,1016,726,744,1032,998,933,635,794,1122,930,1226,1312,1376,1310,1088,786,555,420,615,836,490,766,1340,1546,1388,1392,1418,1216,995,736,420,322,534,884,1208,1626,1200,923,795,638,710,927,831,980,1032,1012,1076,1282,1280,1166,763,702,1258,2084,2150,1560,923,541,424,495,663,927,943,1204,906,766,1202,645,351,363,384,678,1460,1732,1356,1130,1118,1262,1334,1380,1074,1252,1490,1880,1690,1308,1290,1532,1286,618,900,1042,487,448,702,1236,1936,1752,1926,2046,1005,732,1310,1844,1834,1874,1974,1890,1880,1856,1998,2018,1862,2304,2376,1946,1714,1802,2116,2032,1412,1180,1021,687,510,754,959,1032,1011,1086,921,669,709,594,390,347,383,668,813,713,905,1246,1178,725,597,649,727,805,468,308,347,419,595,448,274,400,556,455,400,793,1058,771,431,876,1196,864,626,568,592,621,625,622,642,745,899,641,553,886,683,401,351,345,465,752,791,493,335,267,493,899,1110,1092,1244,1278,1218,1252,644,322,583,597,497,445,365,636,686,431,347,328,347,452,329,272,328,284,227,265,332,338,236,332,691,483,331,437,922,1110,525,309,316,285,364,868,1030,1066,1548,1830,1996,1478,1448,1520,848,624,843,799,1294,1366,1150,1198,807,997,1300,1098,612,884,1030,697,946,1110,1142,830,576,733,869,1492,1084,1238,1412,1460,1316,637,420,527,968,702,814,1224,1362,812,655,1216,1350,1130,765,407,392,408,349,375,536,601,353,399,509,565,974,1304,999,561,516,1050,755,706,986,786,516,1212,981,501,460,407,434,416,333,650,1228,1240,1012,1132,885,533,922,1056,1268,1426,923,371,320,496,910,1238,1034,565,500,954,1558,1124,648,837,980,1058,1534,1918,2366,3284,2722,1846,1584,1456,1162,1224,1406,1416,1108,886,642,489,587,665,662,625,530,677,1154,882,688,720,1112,1702,1506,963,1202,1328,951,1372,1250,1238,1266,1194,1038,709,778,1256,1344,1028,1046,1042,1078,1252,1166,1028,739,809,846,1140,1098,549,691,1158,1372,1314,1466,2186,1782,1176,1178,1322,1344,1310,1182,1258,1500,1470,1204,1260,1184,788,553,527,472,394,487,670,768,1168,1400,883,579,556,687,728,570,681,954,912,720,604,637,918,1058,1456,1386,1044,963,1256,1570,995,582,427,433,746,1086,1194,974,1176,1252,1058,1104,1238,1390,937,1150,1308,1122,1182,1328,1858,2198,1660,1608,1450,1272,1272,1666,1948,1800,1482,1264,1040,1158,1444,1354,1034,1132,1166,1100,1042,1080,1144,1090,1090,1190,1398,1398,1330,1102,1134,1168,1214,1292,1272,1342,1606,1538,1412,1288,1004,846,1150,1650,1468,1252,1094,1064,1054,854,584,804,1412,1632,1568,1410,1310,1404,1556,1616,1556,988,653,1296,931,472,450,468,484,529,863,803,950,1346,1276,1384,1456,1382,1340,1350,1250,1232,1366,1432,1400,1322,1406,1100,967,1054,667,545,618,522,814,1328,1634,1384,1378,1488,1494,1564,1090,1106,1508,1294,1316,1516,1584,1770,2374,2394,1538,1130,1200,1096,600,463,391,373,372,375,420,594,734,778,755,662,724,830,897,1016,1202,1294,1194,929,805,856,878,980,1334,1304,1592,1746,1758,1654,1300,789,720,1094,1036,716,698,599,603,969,1474,1406,1570,1578,1058,843,943,876,924,1023,1003,786,610,389,418,494,458,387,368,352,394,577,585,957,1578,1300,739,787,936,915,1248,1190,675,694,1092,1936,1788,1122,1406,1452,1240,1005,777,915,1104,1714,1624,1208,971,934,894,958,1116,1050,688,470,604,548,445,580,874,952,840,672,810,930,1048,1294,1266,1282,1336,1482,1418,1436,1360,1214,1244,1256,1176,1005,1100,1430,1250,1224,1082,1160,1172,694,599,653,857,1192,1118,1040,918,1009,1384,1350,1198,1124,966,1166,1758,1290,621,785,1070,1016,936,959,1034,1474,1564,1534,803,637,1412,1640,1378,1194,1128,927,1124,1272,1250,1422,1378,1410,1362,1460,1154,831,855,943,931,890,759,1038,1306,1294,1228,1104,953,722,1009,1300,1290,1136,1214,1364,1318,1364,1538,1166,1464,1542,1252,1046,1576,1354,848,753,911,706,384,307,490,1128,1376,1418,1386,1048,969,1048,926,726,794,1009,1238,1274,1088,573,538,918,1064,1186,1162,954,773,788,830,805,594,400,511,791,1282,902,645,538,373,449,558,390,272,346,658,1046,947,493,587,1112,1024,535,432,361,397,946,1328,1376,1350,1023,1340,1352,1308,1294,1244,1013,739,670,1005,1676,1436,1118,1210,1010,788,1066,992,696,755,719,951,1042,979,1140,1300,1244,1440,1316,810,1072,1110,952,1050,1206,1262,1098,1310,1608,1522,1428,1464,1444,1360,1250,1200,1446,1406,1246,1088,904,744,996,1090,987,1342,1266,1252,1006,638,696,1136,923,1082,1338,1296,1264,1126,1194,1238,1214,1274,1048,497,388,770,1216,1010,1246,1504,1132,758,805,886,910,695,596,852,1234,1328,1414,1290,1058,1112,1134,1206,1126,1130,1144,1208,1178,1044,1110,1140,1506,1554,1110,739,781,799,729,793,1104,1666,1686,1462,1590,1574,1410,1260,1114,1192,1220,1044,773,460,522,512,441,770,1340,1260,1260,976,924,954,738,990,1158,952,838,904,783,545,567,432,414,590,860,1120,1318,1480,1430,1070,755,999,944,1156,1066,1050,899,790,870,1112,1224,1142,1396,1828,1670,633,725,1222,1100,825,1144,1898,1922,1670,1388,1352,1648,1656,1298,543,365,348,463,952,1246,860,996,1238,1142,912,547,536,454,498,439,553,599,507,1136,1450,1442,1670,1438,1284,1286,1230,900,677,599,476,333,511,658,1038,1060,947,882,1180,1340,1302,1322,1412,1216,1210,1204,849,846,672,893,998,760,840,1214],[441,474,455,389,392,433,450,450,436,501,556,487,418,414,394,349,310,285,267,269,273,259,256,260,267,275,283,269,215,244,287,313,343,349,354,386,322,338,390,377,358,379,402,431,417,424,514,561,518,439,359,390,364,370,413,402,368,422,615,611,565,464,332,388,347,340,734,1452,1654,995,596,501,455,483,465,525,722,988,1208,1604,1150,948,990,1036,1088,1120,1030,1090,1032,925,894,871,1140,1266,1134,1013,882,1202,1154,686,423,529,922,1194,1354,1326,1442,1272,1542,1668,959,678,822,633,406,307,326,366,490,579,767,800,927,1114,1012,1084,1054,829,692,724,913,1054,1266,1122,666,469,453,566,1108,1506,1636,1074,679,987,860,734,785,1182,1068,668,920,1210,1200,912,653,536,637,976,1698,2154,1858,1240,893,1472,1138,847,787,768,758,960,1262,980,543,672,625,582,719,1462,2172,2444,2556,2066,1524,1328,1338,1454,1668,1904,2258,1806,1046,514,281,332,381,306,516,751,604,390,375,388,338,347,424,628,957,976,871,781,637,542,1172,1850,1560,824,760,1144,747,1088,1842,1478,1058,905,713,697,642,749,582,393,365,481,602,772,1560,1936,1690,1362,722,464,530,454,645,1388,1426,726,500,477,590,546,458,389,395,495,556,519,391,301,346,398,424,738,683,546,797,875,778,742,761,731,613,385,379,474,652,648,733,944,1074,1032,1056,1188,1328,1452,1744,1758,1190,647,1036,1332,1464,1500,1352,1266,1290,1406,1610,1680,1708,1268,661,777,1388,1540,1336,1578,1676,1274,1186,1118,744,740,698,487,440,421,425,545,943,1066,1152,1186,1088,1242,1342,904,708,668,810,1220,975,913,1078,1236,1384,1252,1244,1566,1516,1246,1176,1108,1306,1164,1316,1484,984,764,966,873,599,749,1230,984,562,628,743,713,1054,1038,872,917,838,998,889,606,738,951,907,984,1194,1132,802,1380,1822,1368,883,811,1340,1348,1240,1226,927,814,1020,1100,940,903,1140,1282,1924,1478,763,811,943,1194,1044,529,593,625,657,534,457,336,312,403,645,944,919,938,1006,966,1170,1015,987,1044,1028,1400,1414,1206,998,1028,1172,1084,664,442,444,629,1009,956,1178,1182,950,691,816,1216,1290,1346,1316,1124,836,676,459,585,848,1746,1940,1562,1272,1104,1324,1686,1600,1282,1540,1432,1568,1788,1928,1932,1638,1278,1692,1506,710,832,1304,1116,1108,1182,1012,896,733,864,510,254,290,447,517,722,1102,1416,1580,1554,768,730,937,901,485,664,965,1013,962,1092,1350,1282,1232,1130,894,882,882,1116,1294,1344,1412,1302,1023,908,1090,1256,1142,796,891,1172,1388,787,883,1472,993,584,644,649,577,600,628,526,402,392,510,496,526,529,521,458,799,1214,1328,1036,751,1196,622,764,1442,876,518,879,746,359,313,291,538,741,605,716,973,1001,1012,1346,1060,704,701,849,1032,1170,1122,850,1210,1242,773,653,952,1246,1050,960,1132,1270,1212,832,636,756,944,735,989,964,859,1382,1328,1172,1188,1124,1360,1812,2040,2220,2288,1808,1764,1744,1820,1672,1300,999,1048,1368,1112,899,1476,1654,1580,1524,1586,1308,1458,1470,1606,1476,1250,1324,1478,1510,1606,1600,1592,1624,1650,1726,1372,1206,1404,1300,1064,893,792,810,1042,1226,1472,1688,1344,1322,1582,1198,1068,1236,1360,1324,1130,901,666,758,1240,1446,785,577,1156,1404,1364,1440,1172,716,613,561,513,656,1126,1480,1216,1378,835,545,719,726,672,875,973,955,958,1024,1014,1346,981,891,869,752,765,1532,2218,1744,846,448,441,467,585,977,941,1102,880,793,954,673,427,424,391,620,1166,1248,882,1003,996,984,761,953,680,1072,1680,1838,1432,1108,926,1046,789,339,523,653,404,404,547,1432,2006,1744,1668,1410,989,708,903,1554,1886,2014,1958,1784,1760,1810,1966,2088,1968,1854,1782,1646,1462,1692,2090,2326,1670,1302,895,549,345,478,680,827,1010,1086,1166,1007,954,822,448,337,339,626,855,970,962,1048,962,724,607,532,819,1007,760,403,340,326,210,234,533,722,668,579,403,466,1078,1054,387,681,939,643,459,437,509,626,666,636,476,420,636,745,522,866,726,460,436,344,654,1294,1108,469,256,343,553,755,864,1042,1234,1242,1306,1190,499,291,328,256,274,339,337,401,433,454,527,544,339,283,267,244,289,270,201,243,249,219,209,243,363,409,839,946,1094,1022,390,297,249,248,720,1250,886,1366,1334,1454,1404,953,1088,1062,700,609,713,764,1418,1134,921,952,899,1058,1428,1256,641,586,792,538,792,939,1106,896,605,910,1300,1474,1316,1394,1474,1492,994,679,528,519,1015,684,551,1005,1322,1132,931,1410,1888,1610,1128,680,566,719,582,427,357,368,472,645,805,624,919,1488,988,518,487,1140,608,561,517,423,463,665,658,557,553,586,470,486,490,715,1054,1344,1368,1234,736,447,777,1290,1500,1098,495,361,501,922,1266,1142,725,537,825,1488,1486,820,792,962,1018,1230,1832,1918,3020,3560,2706,1632,1396,1400,1382,1440,1408,1252,965,707,534,544,617,676,712,515,465,711,703,615,719,858,1362,1840,1142,740,1001,839,1013,1448,1278,1244,1334,1244,918,698,1062,1454,1268,958,1007,934,1086,1108,962,944,732,750,865,1176,1056,544,616,1158,1322,1092,1426,2012,1716,1218,1172,1286,1368,1104,1002,1172,1450,1588,1670,1412,940,633,472,499,463,377,466,555,669,1164,926,595,583,629,658,721,869,655,482,546,542,717,1030,1288,990,1284,1482,1176,995,1080,1046,918,822,495,623,958,1005,1030,1086,1752,1820,1778,1796,1620,1376,1058,1110,1272,1250,1310,1236,1204,1346,1500,1732,1616,1660,1756,1554,1342,1222,1126,1032,914,1028,1214,1214,1015,1100,1154,1208,1216,1136,1122,1072,1040,1192,1322,1532,1404,1080,1188,1220,1242,1282,1446,1592,1638,1554,1420,1368,1162,1208,1468,1300,1072,1186,1162,1272,933,725,667,791,1050,1352,1730,1498,1270,1204,1212,1100,1050,922,891,1242,832,492,450,341,441,901,1396,988,1094,1432,1378,1460,1504,1504,1542,1482,1306,1222,1284,1432,1454,1274,1290,1228,1528,1192,677,504,365,423,553,1148,1848,1488,1406,1324,1372,1592,1402,1276,1432,1512,1802,2210,2012,1762,1810,1658,1418,1164,706,467,382,377,378,393,418,405,461,703,1188,1340,1258,1108,1036,1166,1116,948,1009,1272,1164,902,1005,1334,1192,1028,1060,1274,1390,1130,1056,907,765,800,775,965,1112,631,490,636,959,1708,1516,1306,1532,1340,945,828,835,951,1005,1124,1228,648,359,334,463,610,519,412,376,388,502,557,527,664,1054,1190,733,457,673,875,957,991,912,1146,1836,2030,1168,923,1324,1146,903,984,922,848,1094,1356,1126,692,546,565,600,973,1272,1194,703,437,542,469,446,628,748,883,848,700,766,846,1072,1368,1298,1334,1324,1332,1272,1252,1276,1340,1312,1242,1090,885,1060,1404,1256,1338,1300,1382,1246,767,709,869,1286,1566,1344,1016,689,801,1156,1346,1124,1080,1232,1120,1390,1312,1042,1154,1268,834,827,943,1316,1592,1482,1356,877,706,1302,1726,1624,1352,1044,671,1068,1312,1346,1444,1334,1318,1238,1284,1086,915,1166,1126,807,897,1140,1166,1336,1398,1212,1009,806,977,1360,1200,996,957,1122,1272,1232,1100,1420,1404,1534,1376,1152,1472,1566,1510,1554,833,558,794,620,404,452,648,1172,1838,1950,1552,923,885,1036,1112,959,1026,1462,1522,1478,1120,883,921,790,819,1074,1072,926,1128,1516,1716,1028,415,351,345,351,326,460,471,491,859,959,429,255,286,379,824,696,478,460,739,738,472,339,328,657,1268,1028,1288,1264,930,1090,1136,1298,1376,1302,1094,630,487,754,1242,1174,1180,1300,1144,1114,1260,1206,683,427,558,944,1202,1152,1152,1194,1062,1196,1368,937,711,890,978,1124,1104,883,1000,1244,1360,1250,1274,1264,1440,1364,1316,1482,1452,1160,1228,1312,1140,1060,1278,1438,1528,1444,1156,1306,1136,817,790,1078,982,1026,1110,1108,1200,1156,1044,991,1236,1250,1200,626,583,1108,1334,1302,1468,1630,1324,831,774,577,830,1056,849,667,1136,1192,1092,1150,1224,1130,1192,1162,1150,1190,1188,1168,1186,1292,1316,1386,1300,858,655,747,850,716,661,670,1060,1578,1360,1562,1276,1520,1760,1580,884,771,856,486,394,655,540,373,615,1262,1380,1194,1202,1048,952,835,851,1048,766,636,843,862,882,709,657,554,612,936,1040,1160,1494,1262,1346,1228,1132,1042,780,904,1094,1168,1018,937,973,1010,1022,1390,1930,2104,1826,1018,742,1074,1264,1294,1450,1862,1750,1374,1212,1440,1692,1650,1194,558,379,463,619,970,1338,976,829,1168,736,431,396,525,562,591,573,525,547,513,1200,1552,1368,1758,1362,1142,1274,1114,948,1204,1574,1102,599,635,752,800,1042,1108,937,1190,1470,1416,1292,1532,1024,870,635,623,750,794,960,1024,719,905,1324],[419,479,514,373,366,441,421,429,422,408,469,417,402,426,405,353,310,284,265,258,261,255,248,255,255,264,269,244,198,234,328,342,331,304,350,380,338,322,362,359,361,480,579,492,394,471,589,605,502,453,387,402,378,426,496,488,440,564,757,615,579,457,303,375,392,457,1108,1786,1666,930,613,542,534,533,502,484,513,1218,1960,1310,1001,1248,1290,1262,1146,831,824,896,836,852,869,786,543,963,1028,943,1088,1506,1144,564,616,624,664,655,752,1054,1422,1110,1084,1550,1128,713,836,692,539,547,602,602,694,784,1013,1090,1190,1284,1234,1084,902,685,702,1088,1180,999,1416,1456,1018,694,824,1054,1460,1578,1240,852,1016,1446,1200,1388,1038,1344,1114,835,1280,1382,1112,1074,843,623,876,1144,1194,996,1094,1876,1050,541,544,783,1072,1190,1068,1013,1350,1128,599,796,824,1002,1322,1876,2318,2686,2612,1870,1202,1072,1152,1384,1734,1488,1858,1542,855,381,282,343,515,470,354,781,747,435,397,423,370,364,491,787,1058,1028,686,562,780,943,1116,1490,1360,803,954,1166,852,1120,1464,900,735,805,714,734,1090,1404,650,379,396,486,574,1026,1958,2402,2062,1370,854,753,622,547,594,1005,877,501,413,381,522,640,527,343,354,474,551,503,396,332,313,386,362,667,680,738,716,760,934,1076,1392,1120,604,401,401,651,644,502,582,636,807,946,1208,1526,1692,1446,1414,1023,1068,1280,1494,1340,1520,1528,1220,1158,1174,1314,1318,1234,1448,1804,1530,1296,1400,1502,1696,1698,1376,1100,1226,1042,592,645,1032,619,409,353,377,406,993,1168,1012,1110,1046,1316,1528,1100,880,1094,1158,1330,1242,1164,1310,1406,1422,1360,1248,1116,1026,985,1016,1242,1422,1342,1366,1396,1012,648,743,842,544,493,523,358,374,399,396,490,1048,1434,1574,1384,1098,1214,1266,861,617,838,924,1192,1738,1456,1308,1564,1754,1662,1146,900,1364,1368,1024,716,772,786,1086,1262,1140,1144,1332,1292,1512,1240,909,935,918,750,553,477,529,580,650,510,396,311,279,295,485,745,976,1142,1224,771,952,1015,1072,976,852,1244,1302,902,763,794,1028,987,640,412,569,884,984,1080,1454,1570,1244,718,601,969,1418,1458,1520,1244,1056,973,703,803,936,984,1132,1172,1124,1114,1064,1172,1204,1148,1234,898,1466,1644,1642,1652,1538,1374,1334,1116,890,813,956,916,1468,2066,1754,1080,545,482,430,324,356,477,777,1324,1336,1714,1776,1286,534,382,343,341,432,960,1494,1478,1210,1194,1394,1364,1360,1048,703,554,972,1350,1308,1282,1300,1256,1110,868,1142,1500,1216,532,647,1042,1286,833,969,1510,1396,1009,655,830,1046,1108,1054,778,361,297,475,576,555,610,768,714,875,1218,1286,858,791,1270,709,611,909,795,625,881,908,462,420,384,378,448,469,632,744,967,1072,1214,1146,741,464,849,1344,1146,792,647,1504,1574,1172,1352,1382,1128,1015,1172,1376,1766,1452,862,658,883,1230,1072,1114,896,608,980,1190,969,1009,1154,1260,1578,1844,1748,1764,1794,1730,1694,1646,1342,866,691,1056,1522,1532,890,1446,1856,1572,1632,1458,1166,1158,1170,1312,1218,1148,1180,1202,1200,1572,1542,1338,1426,1576,1686,1626,1600,1492,1068,1016,957,1016,1396,1396,1094,1336,1376,1268,1254,1548,1296,1172,1360,1270,1152,1016,783,827,1154,1228,1156,796,916,1300,1262,1166,1050,639,483,724,814,1042,1140,1368,1218,652,610,681,641,582,719,833,808,1144,1040,1052,1168,711,634,900,1214,1430,888,612,1078,1404,1412,1005,448,379,362,406,525,530,591,827,1040,1072,729,616,639,706,724,923,1210,1092,1064,1005,984,924,677,594,1156,1482,1174,1060,1084,816,665,537,570,632,590,485,507,767,1640,1792,1432,1726,1752,1404,861,597,1001,1744,2042,1998,1866,1892,2004,2062,2172,2100,1678,1334,1232,1090,1528,1738,2400,2142,1504,1052,802,586,438,446,539,919,1016,1070,999,741,697,534,450,658,728,754,858,886,955,847,805,538,472,709,634,550,318,250,256,252,373,608,646,593,473,442,315,392,687,673,655,469,283,332,386,519,440,321,519,524,546,952,1172,899,899,772,693,476,448,711,841,659,702,489,428,505,727,1224,1302,1074,841,655,495,303,236,221,246,257,274,287,328,354,312,512,542,354,474,373,276,230,192,213,218,208,243,280,288,308,404,763,888,770,611,289,257,332,659,1104,987,875,1442,1017,539,469,399,345,410,755,1252,1230,1218,1760,1300,689,946,988,1009,1436,1134,675,951,1188,689,678,1350,1748,1344,902,1294,1734,1454,1086,1100,1368,1418,662,606,578,887,1340,1009,697,1100,1792,1664,1042,1488,1782,1140,984,617,424,713,850,634,407,335,328,686,1302,1218,654,1104,993,886,587,486,341,325,380,488,792,1120,879,530,486,561,482,545,626,797,988,1062,1258,1428,1118,724,953,1300,1166,582,325,411,901,1198,1208,850,482,755,1440,1628,865,760,1006,1102,1096,1742,2074,2494,3646,3306,1910,1394,1424,1320,1272,1296,1386,1362,1096,660,568,597,641,718,614,423,613,757,518,622,711,1001,1678,1752,810,869,1058,815,1244,1462,1340,1394,1224,1080,735,730,1306,1510,1292,1016,1144,1168,1356,1272,1324,1294,764,772,914,1326,965,674,847,1474,1404,1280,1506,1700,1672,1548,1282,1192,1444,1520,1562,1550,1562,1344,1048,780,638,514,464,417,334,379,587,810,686,701,611,608,675,705,681,686,699,601,438,377,503,1030,1296,1334,1138,1398,1100,949,1120,1044,825,807,822,579,859,811,710,781,1080,1656,2024,2146,2008,1786,1478,1092,997,1372,1296,1110,888,935,1416,1578,1754,1674,1366,921,809,1023,1236,872,1218,1270,1194,1048,1144,1262,1294,1302,1302,1168,1054,938,837,1010,1098,1186,1302,1316,1272,1152,1208,1470,1460,1346,1276,1230,1358,1498,1508,1328,1530,1592,1406,1256,1144,1112,1290,1074,770,838,891,653,836,1488,1404,1242,1272,1244,1200,1222,1058,1136,1222,648,575,653,454,521,1046,1502,1166,1368,1488,1486,1378,1124,1236,1554,1542,1306,1332,1456,1400,1274,1202,1328,1498,1532,1092,1048,973,533,457,457,861,1612,1576,1428,1366,1200,1424,1506,1214,1282,1440,1612,1710,1428,1276,1592,1542,1366,1160,665,404,393,384,383,407,450,490,550,762,1254,1314,1262,1032,1426,1732,1452,1090,977,1364,1316,1418,1118,894,1000,922,921,1222,973,817,1136,1056,806,828,830,963,1302,952,894,1524,2890,4152,3008,1616,935,922,1010,965,1106,1486,1234,806,694,600,461,367,564,767,600,393,368,691,1028,626,490,496,514,1030,1086,616,835,906,813,810,725,1136,1976,1900,1286,1180,1172,921,968,959,852,990,1224,956,531,505,501,399,794,1206,1182,1280,1028,577,436,455,511,847,1100,968,810,824,979,1018,1334,1476,1450,1136,1090,1218,1192,1164,1350,1526,1376,1080,818,693,923,1136,1166,1106,1092,1160,1210,1094,870,739,1220,1632,1026,625,835,978,910,1178,1064,1170,1334,1304,1676,1576,1312,1180,1140,1196,1256,886,1192,1390,1368,1632,1258,739,1268,1482,1186,1084,829,597,1126,1334,1502,1460,1422,1398,1378,1520,1238,968,922,820,877,1122,1342,1302,1356,1320,1364,1334,915,767,922,940,797,999,1114,1218,1456,1216,1318,1506,1482,1456,1416,1414,1512,1354,1596,1082,869,1246,951,775,590,538,900,1060,1396,1322,867,946,1252,1490,1354,1232,1552,1390,1074,1050,918,586,539,675,1058,1106,971,838,1030,959,533,294,263,291,321,293,294,339,483,927,995,473,274,311,296,486,503,572,543,634,789,532,334,371,837,1228,796,1058,1050,1210,1300,1210,1300,1162,1054,896,663,1032,749,1140,1610,1584,1218,1230,1476,1324,1158,1062,1174,1422,1228,1108,963,952,1418,1186,1010,1154,1006,1020,1220,1190,1068,1056,1250,1234,1330,1032,1020,1224,1338,1350,1252,1142,1128,962,796,1080,1176,1236,1284,1444,1698,1714,1232,869,1172,1100,922,1138,1270,1050,866,769,963,1192,1014,919,1086,1196,1412,1358,765,658,896,1018,1148,1290,1314,1170,953,829,812,1314,1460,1382,1360,1270,1058,980,1070,1086,1074,1142,1084,1108,1266,1262,1194,1288,1284,1248,1472,1180,697,716,905,1122,913,877,703,929,1326,1312,1392,1226,1232,1590,1732,1152,659,466,357,494,736,561,546,1110,1346,1276,1170,1078,1126,1136,883,808,875,869,794,799,681,937,913,716,630,741,832,715,943,1144,1116,1282,1462,1534,1302,839,574,868,1128,1088,688,649,692,863,1034,1528,1848,1682,1230,985,1104,1216,1204,1388,1576,1676,1726,1502,1462,1370,1190,759,480,406,374,336,527,851,709,601,1260,1134,467,386,516,543,550,518,427,503,479,974,1630,1274,1246,984,999,1130,1038,968,1360,1512,1220,980,860,1008,998,1436,1500,1292,1262,1404,1102,1168,1258,1284,976,525,594,608,472,803,1262,1190,1118,1136],[330,346,442,390,379,436,487,495,432,415,424,412,419,406,374,346,329,303,282,269,255,250,263,268,259,254,245,240,240,268,296,408,365,325,357,429,391,344,371,356,396,605,754,623,463,538,606,518,482,415,382,404,402,473,511,479,484,556,731,556,565,495,339,438,537,590,859,1296,1072,451,631,661,556,450,387,448,375,738,1034,506,464,678,783,863,1003,643,516,532,610,681,883,698,594,915,916,788,1086,1408,941,647,788,613,390,432,451,514,1602,1576,777,1304,1352,909,946,872,578,525,489,479,513,780,1100,1416,1588,1402,1100,1038,1142,919,980,1354,1284,893,976,1124,1182,1240,1426,1612,1470,1190,996,1100,1562,1714,1708,1814,1576,1754,1266,991,1570,1548,1106,1005,1082,918,1302,1428,1340,1076,1120,1200,643,513,889,1306,1064,860,747,1104,1660,995,538,629,769,792,1030,1688,2204,2510,2702,2368,1662,1218,989,1244,1406,1202,1206,924,441,326,313,317,475,399,332,627,656,519,518,393,328,355,615,1018,1190,1098,947,946,1102,1250,1008,1250,1102,792,1106,1250,1023,943,668,529,760,722,593,664,1062,1410,858,457,393,446,471,886,1778,2358,2162,1748,965,746,649,649,598,627,496,376,387,368,455,640,638,407,336,426,421,369,338,314,290,313,340,331,437,621,697,774,1008,1248,1284,1164,749,570,491,681,844,706,481,753,968,902,1346,1528,1320,1260,1214,1098,1308,1478,1486,1366,1498,1466,1472,1212,1132,1326,1418,1296,1534,2002,1962,1696,1546,1454,1810,1868,1168,1008,1324,758,541,792,1178,778,630,584,450,427,860,1066,1032,995,818,797,938,811,1228,1696,1732,1438,1140,1210,1422,1486,1312,1434,1326,1238,1244,1156,1036,1232,1346,1248,1138,1080,807,557,797,900,664,768,552,374,293,289,349,374,880,1354,1218,912,704,719,816,987,872,982,1126,1210,1100,1192,1386,1310,1514,1418,814,936,1478,1222,1186,973,977,1003,1260,1222,953,988,1020,872,814,838,580,414,436,427,421,518,542,641,670,428,270,313,408,583,588,552,768,993,1288,1236,1118,1090,1050,1036,1102,1266,1244,893,1000,932,1001,1146,935,503,728,1110,817,795,1272,1532,1606,1526,1013,993,1506,1188,1248,1136,1038,1426,1172,672,951,1362,1290,1266,1404,1308,825,664,1058,1324,769,783,1346,1208,1042,1314,1444,1498,1480,1426,1306,1286,944,846,1358,2002,1938,1154,618,603,624,391,410,474,989,1978,1742,1620,1230,807,532,427,401,377,555,1090,1564,1606,1396,1246,1588,1644,1494,1204,1066,780,847,1100,1132,1306,1324,1216,1112,1188,1270,1636,1224,762,954,1030,1056,767,850,1136,1178,990,759,953,1312,1026,624,532,346,269,422,625,686,857,1196,968,1004,1184,1344,825,966,1044,700,952,1278,1208,819,593,779,489,368,345,388,588,683,769,885,1030,1050,1200,1226,746,691,1132,1266,1226,714,576,1284,1302,1158,1302,1302,1200,1140,1296,1576,1966,1606,1168,777,796,1004,1050,904,709,915,1460,1302,886,1074,1284,1396,1532,1610,1636,1632,1664,1590,1442,1314,1176,943,1112,1136,1458,2254,1274,1224,1724,1648,1720,1500,1252,1214,1280,1220,1172,1198,1174,1124,1124,1196,1170,1140,1388,1432,1452,1548,1718,1770,1690,1848,1712,1170,1404,1420,1208,1222,1146,1196,1084,1084,1266,1282,1296,1304,1134,1152,957,1498,1656,1540,1176,966,1208,1126,698,498,432,496,801,1208,1250,1528,1128,974,984,798,571,527,550,717,1206,1168,710,839,1338,1268,944,783,858,1021,994,998,1044,1164,916,633,772,636,383,343,377,498,700,630,761,985,1198,1012,454,642,1028,1290,1034,987,1202,1126,955,1011,1250,1038,816,1042,1094,918,875,1042,1168,1028,1044,1064,954,1050,1098,1078,1122,1354,1936,1862,1554,1450,1782,1654,1144,622,644,1328,2076,2288,2086,2042,2098,2152,2156,2144,2070,1678,1390,1360,1620,1680,2072,1866,1466,1266,1106,957,597,371,435,742,996,1023,1284,1076,771,607,490,585,741,768,520,635,692,598,590,517,427,464,403,318,371,383,324,300,400,590,765,583,385,560,502,331,711,891,620,427,355,374,475,822,667,448,399,418,724,1200,1094,936,1130,1314,1268,792,564,846,772,959,1152,648,318,377,571,869,803,677,725,670,405,282,272,288,314,376,327,298,332,338,361,410,346,285,523,598,469,284,257,227,202,269,292,234,221,215,335,926,1058,768,583,336,409,558,741,807,572,748,1174,1032,550,358,353,373,397,728,952,897,856,849,592,498,778,635,543,596,554,494,1044,927,533,675,1526,1804,1434,1130,1178,1470,1186,472,642,1338,1026,630,515,498,672,940,940,865,1236,1650,1206,621,784,1028,828,672,418,376,548,752,668,797,1056,564,472,1182,983,419,825,1410,1382,805,462,412,338,386,643,1266,1280,817,553,532,552,520,437,612,1314,1482,1006,846,1328,1302,1015,1172,1106,532,318,428,809,1152,1098,1166,880,684,1096,1370,1022,692,965,1288,1268,1378,1924,2096,3008,3498,2142,1036,1294,1330,1350,1112,955,1460,1490,1214,991,758,662,690,694,552,508,741,600,517,713,934,1242,1874,1646,771,966,989,887,1474,1312,1172,1188,1284,1076,978,1322,1764,1520,1300,1200,1180,1154,1066,971,1034,1016,805,843,974,1404,896,682,1102,1560,1726,1822,1748,1802,1726,1560,1324,1152,1306,1530,1740,1418,1021,722,571,634,588,506,462,455,424,390,401,883,828,554,553,621,708,730,667,673,670,625,532,419,389,587,874,725,811,1164,836,663,965,1154,1002,816,731,700,793,1138,1074,855,917,1290,1656,1642,1542,1552,1362,1008,880,1262,1484,1294,1132,1412,1554,1450,1414,1378,1372,803,778,1178,1362,1144,1214,1218,1506,1284,1028,1200,1252,1260,1346,1234,1140,1310,1142,844,985,1222,1134,1272,1122,1005,1048,1244,1368,1140,1046,1284,1430,1478,1484,1484,1590,1470,1474,1932,1782,1288,1352,1015,932,969,1306,1118,1208,1594,1554,1032,603,680,1042,1352,1242,1146,1298,977,785,828,800,841,799,1001,1182,1270,1356,1426,1278,1084,1214,1444,1422,1368,1506,1460,1270,1096,1140,1226,1278,1230,1244,1104,800,553,558,826,1364,1620,1556,1692,1860,1346,1228,1536,1248,1166,1452,1490,1292,1092,1114,1840,1790,1422,1240,719,371,373,387,473,495,454,539,505,505,784,835,788,658,1024,1308,1216,880,1136,1786,1552,1464,1010,979,1090,1094,1402,1522,1016,826,996,1040,813,696,709,1232,1730,1644,1518,2368,3178,2640,2460,2194,1196,1404,1518,1160,1028,1282,927,572,670,1054,794,505,897,941,448,430,932,1454,1486,846,732,802,554,892,1042,976,973,822,842,753,689,990,1366,1570,1494,1348,1268,1070,1122,865,441,785,1228,981,803,664,480,455,1248,1236,1190,1350,1328,877,587,736,986,1118,955,830,1003,1028,1030,1092,1316,1378,1494,1082,840,969,949,868,961,905,904,736,660,602,538,561,672,828,910,946,1206,1566,1406,1018,1394,1686,744,577,1015,1282,1186,1306,1260,1288,1232,1134,1168,1360,1268,1194,791,1162,1412,1100,1144,1288,1011,1262,1384,935,1216,1146,982,1130,1106,749,888,1228,1458,1458,1324,1015,1108,1068,976,1318,791,457,639,813,1015,1356,1472,1246,1272,1324,1050,1021,1540,2158,1222,977,1194,1156,1332,1394,1384,1442,1400,1554,1524,1250,1116,1404,1202,680,576,924,1234,1332,869,663,621,558,724,613,768,1098,1248,1136,925,1138,1406,1152,725,980,1116,804,679,623,910,1062,837,539,619,491,345,374,440,433,295,321,329,362,364,544,494,326,251,231,242,284,415,506,440,713,1208,829,417,484,980,1208,971,789,877,1260,1482,1480,1400,1322,1404,1062,744,1086,737,900,1226,1400,1156,1482,1812,1328,1166,1286,1470,1708,1440,1258,870,800,1184,1136,1220,1136,1156,1358,1190,1056,1012,1100,1408,1478,1284,798,811,1256,1494,1238,1418,1390,968,688,854,1090,951,935,758,1020,1410,1404,1150,1276,1302,916,896,1230,1382,1248,1098,1072,1380,1286,1090,1102,1312,1386,1354,1258,1044,1056,989,971,908,1054,1340,1452,1108,879,1078,1396,1256,1098,1005,1118,1106,1040,970,1066,1092,1112,1132,1148,1186,1174,1228,1222,1208,1360,1268,781,656,810,688,1050,1258,1168,922,989,1318,1400,1316,1284,1202,1094,1314,1670,1013,653,585,589,583,570,926,1202,1104,1162,1216,1196,1350,1296,889,708,769,906,970,1003,1220,1310,1038,798,647,600,540,689,1414,1294,1272,1166,1210,1328,1600,1186,809,1110,1488,1324,605,582,696,1060,1148,1122,1268,1384,1320,1302,1264,987,919,1308,1042,1392,1404,1494,1384,1280,1266,792,402,400,338,303,349,373,404,596,1170,1402,952,631,522,506,680,814,676,530,501,651,1010,999,861,904,1220,1284,1274,1208,1294,1266,1344,1230,1144,1268,1278,1514,1498,1414,1164,995,763,818,1152,1382,976,514,462,487,415,392,980,1294,1412,1362],[330,341,404,480,506,487,496,464,405,420,435,416,392,367,344,339,336,318,287,269,265,276,289,279,263,256,245,247,268,304,332,412,382,351,303,364,426,416,393,373,408,508,656,641,513,596,525,464,507,392,368,417,438,505,491,396,423,644,979,836,751,701,736,570,390,431,445,599,726,621,783,681,485,388,419,490,345,307,348,380,419,432,388,425,617,481,442,497,465,622,710,541,674,828,951,796,867,1204,1230,1114,1210,794,387,363,405,312,979,1122,863,1290,1472,848,653,522,407,329,324,330,350,489,728,1108,1396,1238,1010,1046,1006,1084,1310,1366,1378,1266,883,770,1110,1354,1056,1032,861,667,593,1136,1554,1268,921,842,1304,1466,1176,1526,1794,1308,1224,1620,1434,1272,1584,1810,1942,1474,881,519,482,763,1144,1824,1676,1254,697,977,1272,886,562,531,639,790,1130,1474,1858,2306,2728,2652,2374,1748,927,1034,1464,1410,955,480,359,330,293,293,416,388,328,492,734,750,537,366,408,433,583,1210,1614,1208,914,1226,1180,876,919,1440,1250,763,1052,1174,852,960,737,558,977,968,641,783,781,811,702,599,529,434,509,820,1574,1926,1654,1472,904,665,639,619,519,403,339,375,373,319,336,440,561,435,298,348,411,391,325,267,256,298,342,453,589,522,560,628,707,1072,1036,814,631,570,534,874,1186,773,468,808,811,759,1042,1202,1270,1318,1566,1410,1224,1410,1318,1384,1450,1554,1372,930,1326,1336,1412,1246,1456,1562,1128,1140,1490,1506,1550,1606,820,656,859,843,665,907,983,918,1056,1014,719,551,499,857,1400,1340,1116,1002,990,839,1152,1544,1718,1406,1044,1064,1100,1036,1182,1562,1616,1678,1672,1362,1066,1140,1242,1184,1176,1082,870,1015,1632,1230,657,597,448,397,320,272,322,319,508,618,430,405,475,577,488,794,980,1048,1264,1240,1094,1344,1242,985,844,1084,777,665,756,567,799,1016,1180,1064,1206,1140,658,666,981,1016,893,958,659,480,394,435,459,554,625,691,688,500,329,379,576,776,597,568,822,1050,1096,1108,1118,1062,1017,1154,1246,1104,1328,1028,732,465,496,804,645,435,651,912,758,750,1336,1550,1562,1384,783,769,1072,907,785,1040,1344,1726,1274,780,1418,1628,1400,1498,1442,792,647,519,1028,1086,567,771,1194,1044,728,1042,1110,1222,1436,1642,1750,1700,1580,1378,1412,1620,1222,633,565,907,770,374,399,432,1116,1722,1250,992,938,757,531,332,339,412,647,1220,1594,1626,1500,1398,1588,1460,1328,1256,1200,943,963,1108,1030,1110,1310,1404,1230,1338,1332,1404,1182,1258,1416,1358,1124,796,958,724,623,616,701,854,1182,949,659,615,443,349,456,791,1072,1096,1166,832,1056,1256,1260,891,904,887,905,1166,1418,1196,805,805,875,673,343,309,448,800,894,691,892,1156,1142,1248,1444,910,693,839,1132,1666,1076,919,1396,1300,1216,1290,1098,1294,1066,1028,1142,1122,1282,1208,1152,1160,1256,1316,931,563,937,1678,1534,1140,1294,1548,1570,1550,1572,1464,1312,1548,2078,2168,1284,1240,1006,825,821,1272,2030,1548,1072,1226,1442,1412,1434,1306,1202,1328,1162,969,1009,1140,1068,1122,1210,1186,1266,1346,1300,1342,1472,1678,1604,1490,1610,1766,1148,899,1072,1226,1262,1140,995,1094,1094,1110,1244,1322,1018,943,1454,1570,1636,1906,2102,1744,1418,1290,805,368,422,607,894,1194,1406,1396,1354,818,571,678,530,535,1046,1164,769,935,1082,1024,1208,1472,904,585,604,590,789,1062,1172,1702,1602,900,524,621,580,394,343,380,529,736,916,1438,1500,1021,1056,871,904,1038,766,463,720,919,1030,860,867,963,653,513,1200,1410,1282,1120,1114,1096,1036,1032,906,977,1428,1334,885,722,1294,2072,1824,1622,1262,2438,2510,1490,752,534,897,1738,2236,2128,2082,2120,2136,2156,2324,2470,2250,1664,1554,1754,1340,1014,1112,1210,1452,1462,1050,835,492,392,477,930,1232,1476,1422,981,659,468,432,810,1260,953,562,462,531,546,468,355,369,431,486,539,739,644,326,322,537,640,462,291,394,441,361,426,683,709,374,292,288,339,782,795,571,358,384,633,833,880,1242,1566,1314,1278,1184,641,791,1130,1142,796,403,332,395,608,888,719,846,1120,1372,762,365,403,685,907,689,482,380,459,707,703,443,272,268,552,888,878,449,249,222,259,277,256,322,568,758,750,1204,1256,1196,695,294,415,530,533,767,703,528,612,1064,1009,757,642,881,924,796,592,739,772,491,460,441,549,480,518,396,398,459,1004,864,429,796,1534,1686,1406,982,736,641,631,448,499,708,586,507,462,419,364,442,499,686,1144,1404,852,364,346,568,538,488,488,450,744,1074,637,663,1058,582,352,639,390,356,1020,1258,848,380,396,495,571,465,477,875,552,413,505,565,808,677,529,1011,1496,1366,1232,670,916,1290,987,761,624,321,339,716,1202,1152,1116,1060,797,1052,1158,676,560,887,1250,1490,1300,1802,2198,2540,3338,2822,1048,806,1262,1454,1924,1792,1488,1562,1500,1400,1184,778,647,673,658,550,695,986,625,629,797,1024,1544,1930,1346,800,1090,869,1098,1636,1104,1078,1110,1060,757,1146,1854,1934,1460,1338,1300,1174,1158,1066,1106,1052,718,621,810,1013,1318,937,757,1238,1576,1856,1944,1676,1790,1472,1176,1470,1230,1208,1530,1488,933,760,760,697,601,503,492,489,476,467,444,337,414,494,564,635,661,687,689,673,725,681,622,609,542,494,420,367,328,554,688,597,672,806,944,1009,865,659,542,585,1092,1224,885,748,921,1034,1004,1128,1450,1484,1086,886,1072,1436,1578,1666,1780,1380,1302,1630,1258,1556,1152,948,1148,1418,1472,1672,1808,1714,1500,1196,1068,1150,1148,1302,1310,1432,1586,1486,895,1032,1120,1222,1334,1072,1013,1038,1200,1374,1266,1232,1226,1104,1108,1196,1332,1384,1382,1434,1522,1502,1052,1094,1072,1088,1106,1248,1170,1554,1904,1768,1166,565,512,778,1094,985,756,719,908,1078,1050,1242,1144,797,962,1007,799,895,1206,1290,1314,1296,1422,1350,1318,1314,1302,1212,1266,1318,1258,1214,1242,1288,1128,828,698,810,1058,1406,1766,1678,1724,1832,1302,938,1426,1338,1118,1328,1454,1410,1266,1440,1652,1488,1510,1180,614,580,807,876,1128,1046,862,981,911,841,966,1064,1094,1094,1092,1242,1290,861,972,1118,1186,1290,1000,1194,1546,1374,1040,886,629,474,491,688,733,556,577,1144,1754,1680,1524,2106,1836,1154,1660,2030,1672,1598,1610,1356,838,597,716,825,1088,1294,805,459,563,577,667,1220,1600,1206,1116,1032,1108,1034,683,540,799,1362,1400,1274,1144,1100,943,1150,1386,1356,1388,1036,905,1009,1092,923,622,980,1042,763,995,1068,923,912,1354,1090,794,896,970,750,499,744,1282,1288,1152,827,973,1202,1230,958,786,985,972,669,535,576,656,660,595,576,597,588,549,492,460,447,487,636,843,1202,1448,1596,1576,1168,1360,1192,688,615,1015,1078,964,1136,1262,1310,1142,1158,1152,1576,1066,996,886,1082,1376,1106,922,995,1058,1194,1362,1132,1116,1316,1504,1432,1362,1064,923,1164,1346,1470,1244,800,1076,943,944,1076,710,599,965,1042,912,1078,1296,1400,1274,1214,1218,1454,1552,1744,1230,1064,1250,1310,1366,1278,1200,1442,1692,1692,1594,1548,1370,1514,1158,746,634,882,1334,1400,1007,586,623,805,603,594,1038,1566,1222,932,973,1244,1580,1354,832,988,1116,874,632,791,1380,1164,742,554,471,370,354,446,422,378,330,381,341,372,289,244,240,231,239,256,254,286,353,454,553,639,977,911,935,998,1112,1106,853,688,923,1238,1098,1086,1328,1460,1140,623,495,525,675,1120,1188,1170,1300,1388,1342,1230,1502,1386,1540,1572,1408,1330,1212,839,848,1250,1548,1406,1338,1288,868,741,766,919,1420,1628,1244,710,613,915,1238,1382,1466,1472,1064,493,470,745,1058,1076,987,879,1216,1390,1292,1356,1104,800,902,1174,1072,1088,1224,1330,1414,1274,1080,1084,1274,1094,1014,1186,1184,1094,904,995,861,1236,1616,1468,923,998,1628,1534,948,853,850,1090,1100,1014,908,1106,1154,1166,1108,1090,1234,1314,1214,1126,1258,1276,1220,903,800,921,560,738,1182,1276,1164,1098,1182,1350,1306,1122,1118,1386,1470,1640,1638,1240,937,781,755,918,1078,1032,927,988,1242,1366,1424,1190,900,811,900,954,1062,1180,1214,1228,980,771,610,559,598,973,1494,1374,1068,878,967,1348,1488,1294,1166,1318,1290,854,591,667,824,1412,1356,1072,1324,1396,1434,1264,1302,1102,1268,1346,1138,1136,1434,1424,1210,1152,948,526,344,355,298,329,346,425,926,1300,1286,1428,1250,697,558,631,917,1042,974,725,564,486,696,835,702,1088,1462,1370,1318,1370,1136,813,1288,1544,1484,1548,1148,1170,1224,1084,995,1074,1012,710,594,722,724,504,398,406,366,263,692,1236,1460,1240],[339,352,412,452,468,462,452,422,404,408,398,380,360,350,330,322,329,315,286,285,322,341,303,269,255,247,250,265,275,280,367,367,308,315,307,349,467,449,392,392,412,435,510,534,558,648,644,646,487,339,309,404,426,447,569,483,694,1020,1130,938,904,930,582,375,276,274,336,630,998,887,763,656,485,334,379,404,332,328,441,562,1040,713,456,375,445,459,446,440,383,700,941,857,781,670,871,915,971,1444,1266,883,1021,718,368,303,279,285,563,1148,1042,954,1418,796,528,506,462,426,361,311,318,413,596,991,1116,1004,915,963,1002,1160,1388,1272,1022,723,606,841,1184,1326,1028,640,477,523,488,826,1258,1256,747,506,872,1240,1288,1896,1604,1634,2162,2202,1606,1450,1588,1584,1198,713,424,523,976,1656,1454,1500,1148,873,1052,1408,1628,1348,789,790,1028,1048,1048,1504,1868,2148,2410,2544,2324,1404,578,673,1148,1192,566,315,270,306,331,440,458,553,469,653,824,618,436,456,489,368,468,1278,1782,1098,785,940,886,546,641,1108,993,719,1082,1142,832,1140,822,793,1376,1262,866,813,601,409,372,468,492,624,813,1160,1456,1536,1412,996,612,672,1004,1138,903,574,675,616,541,494,364,304,358,285,249,251,356,388,333,307,275,303,341,480,505,424,431,497,535,866,1162,1012,753,541,490,605,771,495,491,625,609,558,949,1322,1180,1174,1416,1424,1478,1420,1320,1666,1688,1548,1352,1294,1382,1262,1072,1174,1698,1410,642,479,731,1242,1554,1400,965,1372,1284,1114,985,1038,988,988,1296,1420,877,700,631,816,1122,1352,1336,1534,1590,1320,1160,1176,1198,1346,1080,1046,1056,1260,1378,1446,1362,1250,1150,977,872,1006,1124,1078,1182,1228,1076,1140,1740,1300,814,594,507,447,370,306,328,336,313,290,321,345,381,603,797,977,998,1256,1550,1418,1450,1454,1198,1076,1372,2044,1454,984,802,553,792,1114,1212,1116,1090,996,520,644,1078,1160,864,689,767,907,651,480,505,573,688,730,735,605,487,454,558,704,656,597,802,1015,934,920,1118,1108,1100,1346,1212,1298,1512,1368,1012,652,511,409,421,602,799,869,893,944,1284,1156,780,648,723,994,648,297,462,759,1021,1142,927,931,1506,1366,1282,1250,1098,809,539,324,607,690,546,558,913,1166,881,841,937,1208,1542,1522,1396,1434,1692,1672,1512,1256,772,532,475,539,466,361,399,667,1264,1354,1004,1046,1172,858,686,498,365,551,722,1282,1636,1650,1418,1566,1598,1152,1078,1210,1334,1096,838,1066,899,711,669,987,1050,1216,1328,1158,1334,1718,1364,1390,1582,1188,1005,806,753,764,899,877,933,880,792,763,545,552,690,981,1110,1194,1086,913,1212,1424,1216,941,835,810,1172,824,645,607,512,843,991,805,464,530,886,1238,1094,700,913,1216,1144,1326,1632,1170,896,574,1220,1748,1278,1352,1632,1224,940,908,1178,1412,1174,901,896,1128,1294,1260,1306,1336,1398,1412,1238,909,783,1226,1350,1344,1392,1458,1464,1476,1162,668,858,1382,1576,1328,957,1140,1178,924,1136,1242,1348,1444,1258,1248,1388,1042,1196,1422,1318,1360,1172,875,871,896,984,1160,1092,1036,1138,1212,1404,1496,1376,1550,1420,1348,1410,1368,1194,1184,1376,1550,1678,1328,899,1136,1070,865,1170,1144,1074,1232,1750,1790,1750,1950,1936,1642,1454,1262,707,439,752,1244,1232,1104,1002,777,806,634,388,558,759,720,1026,983,797,748,1226,1324,905,554,437,495,711,811,1016,1646,1466,1046,976,810,521,583,627,423,343,334,506,727,882,1280,1198,1484,1968,1360,885,559,490,616,803,946,975,970,790,457,353,577,1438,1758,1296,986,1234,1268,1334,1334,1136,1378,1502,1288,877,681,1274,1970,1418,1066,998,2542,2934,1690,852,482,612,1302,2102,2082,2088,2064,2062,2168,2330,2242,1992,1444,1550,2046,1360,528,781,976,1236,1622,1146,1048,656,374,581,1144,1342,1314,1360,985,546,672,650,464,813,1516,1106,512,470,444,335,419,673,803,725,729,807,677,422,253,286,286,268,272,301,309,273,282,536,831,468,302,296,278,675,927,638,389,473,563,403,527,1218,1198,791,1088,1008,662,1046,967,511,336,324,446,509,655,1032,828,640,822,1242,673,314,389,915,1210,781,933,606,689,861,798,358,229,326,432,805,748,387,227,267,291,260,387,724,1114,1018,966,1003,1308,1384,982,580,408,464,366,811,1076,735,607,1044,1046,976,1080,1170,1118,900,716,1104,1446,1272,762,522,964,1454,1256,952,576,437,1064,1086,606,1038,1526,1316,1288,767,730,649,882,780,501,366,353,421,498,426,444,561,353,492,899,1616,1380,546,586,878,695,568,527,756,1212,1224,544,315,410,306,285,281,361,684,1074,1080,672,315,363,540,974,764,439,374,480,579,648,860,1006,833,852,1330,1346,1162,1054,810,811,1002,739,430,317,302,543,1028,1056,1116,1188,813,953,1382,1280,788,803,883,1392,1478,1590,2302,2452,3034,3364,1894,690,1042,1268,1832,1934,1808,1694,1562,1536,1470,1072,689,621,628,578,599,902,885,643,643,951,1458,1784,1770,1186,855,1230,869,1410,1448,1114,1090,1118,879,736,1462,2070,1708,1352,1710,1650,1172,944,887,1092,1106,892,732,810,1074,1268,884,765,1198,1564,1730,1764,1550,1548,1268,1368,1626,1328,1142,1134,763,554,873,1120,750,527,447,516,524,601,616,519,601,591,383,411,684,728,681,664,650,730,742,731,681,622,581,481,359,416,767,803,630,659,903,1064,953,691,528,444,654,1134,1054,722,719,746,672,803,1256,1760,1782,1288,934,872,1096,1458,1522,1158,1186,2128,2396,1808,1642,1418,1124,1754,2198,1588,1708,2050,1488,1436,1408,1262,1094,1262,1410,1504,1542,1314,1288,1032,1126,1224,1176,1134,1030,1098,1292,1446,1236,1122,1134,937,775,1146,1494,1528,1460,1394,1262,1182,1554,1266,1160,1256,1208,1005,951,1294,1554,1666,1818,1854,1266,855,998,1019,727,873,971,991,1094,1106,1028,752,910,1176,1126,936,783,1088,1158,1198,1202,1326,1392,1372,1322,1262,1328,1470,1422,1222,1272,1246,1142,1142,1142,1154,1378,1050,1120,1610,1494,1314,1072,835,802,1392,1588,1324,1318,1442,1422,1512,1724,1412,1164,1344,628,423,826,1456,1662,1804,1738,1628,1722,1834,1814,1708,1384,1138,749,852,1406,1354,1038,1334,1342,1332,1514,1420,1226,1344,1412,1015,612,386,458,764,841,759,642,741,904,1364,1714,1554,1396,1066,576,751,1050,1248,1492,1584,1440,1024,861,1206,1194,922,948,902,628,469,801,990,948,832,522,661,749,946,1208,905,487,764,1254,1009,1058,1134,1042,1098,1292,1436,1410,1270,933,699,826,952,800,1012,1126,785,768,1178,1144,1046,1146,1246,959,729,703,656,719,612,733,1106,1340,1208,1054,1176,1252,1190,827,688,672,522,461,498,625,678,650,584,570,636,639,550,528,492,464,501,583,482,563,1174,1260,1134,1020,822,959,1084,641,686,588,587,788,1262,1256,839,872,800,587,451,697,1032,1078,952,873,1050,971,1198,1194,1230,1100,1118,1302,1352,1388,1434,1518,1302,1032,1138,1350,1268,1088,1122,1064,1058,1230,1044,667,756,1152,1740,1418,860,1230,1366,1272,1424,1448,1416,1248,1012,1007,1108,1166,1076,951,915,1304,1632,1798,1708,1714,1516,1384,1322,1114,1082,1124,1228,929,909,609,593,739,907,804,998,1220,905,861,1064,1286,1378,1268,1160,980,825,716,515,1004,1692,1422,1166,982,435,383,360,379,382,390,399,372,484,557,360,240,221,223,282,321,358,438,602,930,995,590,744,1352,1870,1554,1006,785,691,685,1066,1270,1090,1040,1188,1394,1108,591,366,379,664,1028,1052,1062,1158,1278,1548,1262,1442,1466,1482,1466,1266,1292,1228,988,983,1160,1208,960,796,979,641,802,1018,1144,1498,1506,979,735,729,830,1020,957,1318,1570,1278,710,619,1144,1440,1570,1506,1048,1166,1578,1400,1132,1138,1072,1256,1568,1062,1064,1138,1192,1198,897,745,1042,1188,1130,1382,1394,1408,1198,1104,1164,997,1534,2040,1582,1176,1236,1426,1454,1060,921,796,922,929,1048,1240,1470,1354,1278,1334,1422,1504,1274,1122,1242,1268,1294,1482,1218,742,584,411,601,1010,1030,849,735,844,1034,906,725,1090,1482,1630,1606,1574,1568,1434,917,945,1360,1310,1240,1152,1100,1394,1704,1422,1140,1312,1166,1036,1150,1186,1078,1048,1110,815,640,536,497,678,1112,1290,1166,1178,1268,1500,1718,1522,1346,1172,1154,1318,1158,788,557,574,1194,1144,847,1416,1500,1316,890,990,1158,1732,1684,1480,1378,1534,1456,1023,711,519,325,314,332,348,363,350,902,1418,1384,1320,1588,1492,801,611,748,1052,1294,1150,1158,738,541,618,644,749,1194,1438,1438,1528,1424,948,615,1038,1404,1316,1270,1044,889,865,1216,1052,670,570,469,421,603,596,635,491,326,322,307,456,988,1456,1272],[325,347,365,370,384,406,422,427,444,436,415,395,369,344,326,332,328,303,279,277,290,271,249,251,259,275,272,247,250,255,321,368,327,301,327,356,442,460,417,409,423,398,433,565,772,949,973,730,430,368,412,469,484,569,870,691,774,968,1148,994,919,883,419,388,590,416,446,882,1054,857,757,714,536,473,601,547,445,349,373,360,755,481,354,354,421,363,432,414,398,733,960,995,910,1080,982,741,1132,1354,872,425,317,343,342,279,286,413,689,1038,713,827,1394,991,526,452,503,480,363,322,314,437,559,663,648,553,596,849,936,1206,1522,1256,778,617,752,1176,1496,1112,566,428,498,502,583,1006,1530,1450,866,576,889,1208,1540,2134,2136,2070,1834,1404,1456,1504,1200,778,488,436,530,827,1506,2144,1548,941,731,617,1106,1530,1466,1426,1310,1318,1532,935,646,1476,2022,2078,2102,2374,2032,898,514,572,625,620,345,293,264,263,372,608,642,539,517,708,744,550,439,523,460,325,334,780,1088,786,739,650,496,439,601,829,637,645,1102,1074,813,1260,908,865,1090,1170,1142,855,616,590,451,393,381,469,687,1332,1566,1676,1738,1064,386,728,1512,1852,1478,886,913,962,916,756,540,350,304,272,273,272,280,309,336,354,385,368,316,401,422,454,494,537,617,768,862,883,808,623,582,527,502,485,756,1132,891,679,899,1134,1240,1318,1278,1262,1226,1001,1366,1562,1628,1506,1324,1532,1470,1420,1396,1506,1680,1418,1036,505,507,783,1312,1686,1636,2250,2430,1554,1110,1562,1326,1242,1478,1190,561,677,1112,1118,858,997,1362,1644,1682,1340,1264,1430,1332,1232,1096,977,925,1016,1154,1136,1010,933,844,827,1021,1092,878,1076,1100,1062,1054,1216,1242,1236,984,669,480,412,370,316,338,373,356,308,343,310,336,549,869,1048,913,971,1104,991,963,1248,1442,1382,1750,1532,1220,1372,1396,938,755,991,911,975,1448,1342,700,624,505,414,530,735,1050,1006,605,456,446,438,511,698,738,513,413,422,687,955,794,639,1048,1122,954,829,1036,959,987,1152,1214,1172,1296,1402,1200,1172,1017,769,1042,1378,1474,995,1242,1484,1402,984,709,553,694,847,626,427,466,720,1158,1288,1142,1182,1404,1200,973,979,770,559,411,356,355,411,611,505,613,1018,1684,980,916,1506,1622,1232,843,1200,1556,1628,1754,1544,1384,1250,996,807,703,563,550,1168,1878,1830,970,1078,1262,1166,1374,1020,449,381,755,1350,1556,1460,1222,1376,1516,1368,1292,1180,1274,1304,1444,1302,987,661,519,850,1182,1324,1210,1210,1122,1748,1346,1154,1136,1106,890,949,958,861,874,738,698,753,666,666,558,639,765,717,644,766,710,972,1298,1290,968,594,560,593,1021,529,468,487,359,623,1164,1212,671,455,822,1188,1140,948,725,935,1048,1186,1234,1114,1070,995,1300,1490,1248,1128,1266,1280,1218,1220,1374,1454,1384,1332,1362,1302,1212,1246,1298,1214,1050,749,926,1160,1280,1366,1336,1438,1532,1248,1222,1398,1116,1088,1506,1590,1354,990,995,1278,1410,1148,938,828,916,1116,1438,2036,1766,1118,1326,1590,1316,1548,1258,1005,1112,877,766,639,603,786,1078,1144,1266,1390,1160,1021,999,1140,1384,1512,1580,1606,1830,1792,1906,1656,1068,1142,1216,1140,965,1012,1316,1524,1538,1482,1750,1736,1606,1416,1408,912,935,1232,1004,1104,938,742,833,731,702,612,495,1074,1470,862,724,1104,1322,977,874,838,658,658,631,541,636,1064,1238,1554,1474,1048,916,850,524,509,575,471,429,351,467,757,630,740,813,1670,1782,998,805,854,963,1020,1028,1048,1134,1338,1100,517,378,867,1576,1534,733,636,860,778,809,747,622,683,551,658,710,926,1520,1888,1268,994,1064,1534,1650,1240,1001,503,463,880,1840,2092,2094,2000,2040,2160,2094,1902,1780,1404,1318,1732,1458,1124,1852,1878,1624,1892,1528,1160,852,574,719,995,854,998,1318,1138,705,726,903,681,532,1148,1532,1132,463,382,382,492,755,1056,912,871,811,839,668,395,281,270,310,488,451,317,268,372,514,1023,998,547,328,279,341,360,248,311,633,574,468,491,765,824,665,827,660,336,399,406,436,434,322,403,403,637,1080,680,352,674,927,442,218,260,466,531,498,774,506,609,796,655,332,385,453,368,325,190,242,261,372,330,384,425,1013,996,441,507,1064,1200,713,802,865,560,600,708,1250,1360,736,580,1184,1490,1434,1116,755,686,421,487,1300,1678,1268,976,821,1084,1700,2394,2134,907,519,1017,839,523,1156,1306,962,1064,756,780,1144,1628,1252,789,788,529,750,1110,841,834,865,429,492,642,1128,972,408,748,1094,741,582,383,393,445,469,424,362,429,554,461,350,356,678,1278,1392,806,404,392,730,1114,994,521,387,529,716,1034,1228,990,794,865,1430,1444,1380,985,695,760,910,632,397,339,397,774,1058,1028,1244,997,929,1386,1628,1294,965,789,751,1110,1446,2008,2518,2698,3400,2840,1132,781,1226,1482,1942,1628,1704,1980,1880,1570,1180,846,662,637,730,771,803,964,711,636,755,1350,1926,1930,1862,1144,1056,1048,992,1694,1260,1023,1180,1290,844,1015,2376,2576,1714,1418,1986,1750,1454,1376,899,937,1050,735,743,875,1118,1330,786,770,1206,1608,1596,1530,1422,1302,1394,1686,1482,1130,1078,981,680,515,702,1176,998,564,410,563,701,897,841,623,661,703,591,429,495,631,652,623,579,602,702,789,747,658,633,700,470,365,714,717,594,608,896,1064,941,678,460,399,680,1068,772,1036,910,786,731,1064,1758,2190,2182,1708,1104,875,1152,1556,1440,1028,1760,2460,2530,2010,1454,1528,1774,2312,2502,1736,1198,1324,1412,1462,1304,960,765,1268,1360,1532,1402,1240,1218,1240,1214,1132,1078,1148,1228,1226,1508,1590,1430,1310,1246,953,920,1350,1440,1478,1488,1392,928,1054,1148,1102,1170,1146,1240,1160,1046,1418,1610,1826,1712,1490,1328,1438,1354,1060,750,1026,1152,1146,1368,1528,940,565,996,1240,1386,1394,1200,1116,1250,1186,1150,1356,1422,1386,1198,1236,1376,1432,1454,1108,1210,1202,1112,1238,1168,1394,1576,1104,818,909,998,957,792,948,1322,1592,1700,1450,1248,1422,1602,1678,1910,1670,1336,1102,503,375,625,894,861,704,926,1372,1820,1960,2024,1980,1236,904,580,629,1250,1448,1418,1468,1404,1444,1630,1816,1454,963,1234,975,658,447,401,914,1368,1226,1030,1044,819,938,1688,1444,828,770,868,835,879,871,1176,1438,1382,1114,977,1522,1556,809,898,1070,788,545,910,744,465,449,449,381,403,683,746,746,1344,1274,1026,1216,1384,1204,1002,1254,1432,1378,1122,637,583,1058,1258,1130,719,1058,1204,756,616,857,1068,944,709,723,929,1188,1164,972,1368,1094,987,1096,1230,1188,1294,1214,1110,1092,751,694,660,518,506,523,649,705,631,551,526,624,620,484,447,465,509,442,530,495,696,887,820,994,1428,1238,1064,1262,1256,1296,983,1202,1856,1744,1088,623,662,595,535,624,984,1390,1504,1384,833,901,933,1266,1202,1052,921,1200,1212,825,789,825,1324,1426,1220,1102,1076,1144,1062,951,1062,873,901,1096,732,681,1120,1584,1288,825,1026,1196,1372,1248,1266,1366,917,577,618,946,1226,920,696,874,1106,1450,1746,1758,1702,1592,1422,1023,983,1278,1170,1408,1258,1210,947,711,751,1082,880,754,633,399,852,1108,900,861,1354,1860,1524,1102,764,471,1102,1662,1378,1394,1184,948,769,724,625,436,482,592,485,571,709,586,437,369,412,417,412,653,855,885,1172,1122,864,1446,1866,1568,1166,799,733,722,705,1150,1234,892,976,1130,1206,1206,859,529,785,1268,1354,1248,1270,1262,1338,1528,1268,1148,1376,1438,1078,981,1226,1296,1348,1466,1062,631,584,634,812,976,1190,1152,1108,1470,1366,1040,1100,1192,1126,908,700,1176,1254,1610,1288,828,1056,1532,1488,1324,1334,1334,1666,1440,1050,919,1172,1378,1560,1060,973,944,774,810,616,654,926,1044,1388,1350,1396,1306,1312,1288,1322,1300,1518,1502,1296,1316,1230,1230,1328,1094,1028,926,999,1190,1208,1412,1614,1328,1180,1300,1112,1022,1000,926,966,1120,1216,1170,1238,1146,794,601,759,1106,1096,1184,1086,982,684,536,726,1262,1318,1614,1700,1262,1228,1532,1388,1352,1506,1394,1354,1340,1410,1572,1716,1408,1450,1792,1416,1216,1324,1220,1092,1046,650,468,457,414,390,569,914,999,960,1166,1370,1560,1476,1284,1346,1284,998,1242,1200,888,929,1364,1766,1446,916,1256,1396,1202,940,1014,1124,1328,1304,1376,1658,1686,1218,383,391,430,375,462,497,607,521,591,1174,1462,1344,1292,1338,1402,848,570,574,982,1376,977,707,667,614,555,603,837,1194,1406,1514,1406,1262,1294,868,883,1008,1164,1190,1068,871,650,979,752,451,334,327,430,571,530,871,742,351,352,290,491,1158,1294,1254],[360,368,356,349,349,361,376,398,416,421,419,384,307,259,294,364,353,304,285,266,244,232,235,237,254,263,243,224,238,267,321,362,297,239,328,401,422,438,430,420,409,423,482,613,857,962,717,532,484,468,507,532,474,464,509,540,558,658,839,776,590,474,401,428,797,464,518,929,836,609,695,703,747,835,1072,851,740,509,378,327,386,322,263,447,607,686,933,702,699,791,866,1072,1442,1568,990,827,1212,1266,833,343,316,299,294,266,313,522,835,1138,1034,974,1258,1060,525,500,621,517,360,310,308,452,496,508,569,575,573,716,955,1274,1388,1450,1090,1054,984,1288,1626,1638,1003,547,482,434,622,1019,1510,1484,1128,1066,946,862,1230,1600,2120,1858,1134,1174,1398,1240,872,611,466,485,606,659,1418,2128,1454,738,677,902,1180,874,1062,1832,1568,1378,1166,731,639,1356,2002,2024,1804,2002,1918,891,579,568,327,307,289,237,227,269,466,688,781,822,788,842,895,406,474,463,300,297,309,375,493,615,649,544,514,487,944,1494,1272,971,1332,1150,1030,1472,1230,872,967,1236,1206,935,475,497,438,385,366,436,701,1128,1394,1688,1816,1158,394,644,1488,1716,1382,1076,1060,924,849,669,490,371,296,252,268,299,267,298,303,354,421,354,298,325,379,431,422,459,496,494,548,570,545,644,676,521,731,919,874,813,711,724,894,814,826,1186,1328,1238,1218,1478,1450,1454,1418,1524,1532,1308,1338,1412,1206,1206,1046,793,708,707,904,929,1102,1396,1594,1854,1626,1064,1578,1546,1366,1206,1210,630,325,625,1106,1296,1172,1162,1184,1284,1234,1158,1266,1188,1294,1168,1028,933,929,977,935,858,899,963,954,1058,1390,1434,1112,1664,1326,1012,1064,1060,1404,1600,1006,618,478,432,321,356,436,439,374,343,374,364,487,474,674,1008,785,626,725,1060,1146,1588,1522,1286,1190,1144,1346,1352,992,1011,1046,834,885,1290,1616,1406,885,603,509,615,774,809,766,647,549,545,631,474,444,662,692,572,508,498,708,944,916,1388,2496,1642,1180,618,807,836,1005,1206,1216,756,1042,1284,825,891,1100,888,1206,1842,1610,1260,1660,1494,1162,999,840,814,600,508,491,546,684,1128,1542,1534,1214,1208,1470,1400,1232,1108,779,549,337,334,329,336,311,279,381,847,1544,1046,1100,1450,1286,876,931,1716,1588,1542,1488,1236,1102,1174,1364,1366,1266,1200,1228,1550,2148,2174,1036,770,844,1036,1084,802,638,581,954,1532,1464,1230,1132,1266,1326,1342,1224,1218,1238,1308,1646,1418,1020,783,886,1116,1306,1508,1790,1434,1344,1744,1786,1534,1336,1130,928,1074,1140,1036,854,667,553,593,696,747,652,574,598,646,700,717,675,832,1088,1140,965,720,685,922,1224,885,744,833,946,1074,1262,1378,1112,775,679,739,864,845,758,624,875,1082,1068,1174,1176,1238,1222,1312,1292,1332,1354,1328,1358,1318,1300,1244,1220,1400,1544,1346,1046,1002,1146,722,578,664,982,1548,1562,1212,1142,1292,1290,862,1356,1448,990,1272,1896,1644,1178,1084,1438,1438,1160,1244,1236,1030,960,1021,2108,2666,1792,1278,1436,1568,1452,1494,1322,1144,1272,1118,841,498,481,660,1044,1012,925,951,908,957,1110,1318,1404,1350,1522,1550,1770,1632,1460,1610,1290,1156,1330,1318,1168,1142,1190,1262,1312,1604,1582,1532,1438,1368,948,509,902,1388,956,589,772,899,835,756,959,771,520,573,682,992,967,1194,1570,1054,536,586,657,663,662,755,457,1014,1248,1274,1172,868,606,403,300,376,519,549,452,335,446,775,644,593,570,807,815,792,836,905,916,924,1330,1488,1394,1478,1200,667,615,897,1026,703,335,346,413,316,282,294,302,357,446,465,674,1062,1570,1932,1294,858,1092,991,1072,1250,1220,637,455,579,1170,1930,2146,2024,2020,1982,2036,1780,1448,966,976,1102,1216,1428,1488,1774,1780,1538,1344,1224,980,865,554,555,462,775,1110,1120,1020,647,706,927,789,608,885,1082,594,514,515,436,655,1176,1120,729,402,458,710,625,342,327,541,871,824,513,275,354,576,780,631,433,296,269,236,250,282,328,597,794,705,562,585,677,592,736,732,511,443,498,549,569,370,365,378,452,485,390,374,532,521,278,225,239,210,233,303,230,254,313,371,283,228,399,472,399,375,285,304,368,298,475,675,575,1296,1194,457,331,453,464,389,542,792,602,594,756,844,972,872,725,960,1122,1088,989,726,483,343,587,1390,1792,1440,896,606,756,989,942,606,517,755,1060,909,681,1276,1250,991,965,802,783,1196,1568,1186,804,968,1274,1444,1324,897,650,443,313,424,513,563,519,574,507,626,676,539,468,709,708,565,695,769,817,898,769,352,271,410,973,1036,563,396,563,720,751,652,362,366,567,772,1356,1322,922,814,899,1346,1220,865,684,705,1072,1042,627,402,402,709,903,972,1180,1192,818,1066,1332,1170,1212,1198,1002,1060,1158,1596,2374,2348,2930,3542,2056,774,1056,1414,1816,1730,1520,1940,1800,1942,1566,953,728,608,677,862,858,945,948,814,742,885,1538,1650,1588,1446,1460,1578,1392,1620,1322,791,833,1178,1372,986,1202,2326,2366,1656,1192,1248,1164,1218,1256,914,1052,1164,594,691,880,1170,1428,802,735,1382,1748,1648,1590,1386,1126,1046,1036,965,964,1074,1152,843,530,571,902,1044,834,670,675,673,684,558,556,544,550,498,439,377,442,518,582,561,565,650,707,711,663,641,833,514,433,744,646,489,604,903,985,866,686,745,714,926,1144,971,1366,1000,716,824,1398,2080,2350,2322,2030,1434,1046,1210,1648,1376,1092,1952,2556,2534,1760,1234,1330,1592,1664,1782,1444,1224,1386,1500,1252,831,896,1162,1372,1308,1188,1202,1256,1250,1322,977,1086,1112,1286,1194,866,1188,1350,1210,1194,1146,1082,1074,1250,1416,1620,1546,1416,984,1102,1246,1278,1440,1354,1272,1312,1620,1692,1154,1088,1074,1196,1228,1054,1396,1412,1300,1144,790,913,1340,1482,815,597,1236,1576,1350,1248,1132,1186,1308,1150,1186,1336,1290,1138,1152,1238,1230,1314,1388,1270,1274,1234,1164,1124,1182,1498,1354,1154,962,1102,1040,796,814,1418,1804,1636,1500,1472,1144,1290,1484,1476,1924,1820,1702,978,462,400,400,342,285,282,335,772,1954,2084,1974,1896,1390,837,478,620,1052,1210,1086,832,897,1406,1838,1860,1206,752,1056,1022,889,525,291,524,924,1222,1294,1152,1013,809,1422,1588,1007,660,672,555,583,695,1060,1356,1322,1116,766,1166,959,580,782,767,566,491,439,388,434,452,407,425,547,980,999,1526,1848,1182,939,1510,1372,1216,1114,733,962,1292,990,475,456,910,1244,1106,861,1050,1140,827,620,773,901,710,687,772,704,1162,1298,1384,1472,1300,1230,1146,1120,1246,1278,1118,996,995,775,727,653,502,462,508,607,674,567,463,552,642,539,426,436,482,458,367,673,889,949,724,702,1116,1420,1460,1224,1426,1392,1134,1344,1502,1600,1464,1190,909,899,895,736,925,1388,1386,1708,1684,1264,936,958,1128,1078,1116,985,807,807,727,811,1328,1484,1470,1894,1378,1052,1282,1020,844,1024,943,710,1050,976,673,586,673,882,1009,947,1162,1310,1102,1198,1242,764,670,726,693,786,622,475,706,1122,1402,1548,1734,1554,1458,1666,1266,1070,1614,1428,1586,1334,1184,1114,1176,1302,1246,1224,1176,868,789,961,1236,886,619,1090,1188,881,916,808,563,841,1036,1316,1454,1224,1148,1290,1360,1098,651,484,555,470,434,462,496,647,717,791,516,397,708,705,777,1208,1028,1190,2060,1700,794,606,613,687,671,833,1332,1210,885,1256,1370,1256,1116,1136,1144,1156,1336,1418,1154,1306,1534,1504,1358,1012,948,1450,1708,1430,1000,1152,1238,1410,1122,568,623,967,958,1142,1470,1458,1388,1440,1360,882,677,1156,1732,1134,926,971,1086,1280,1644,1582,1168,1096,1500,1314,1078,894,1310,1544,1386,965,863,1156,1288,1300,1096,1126,729,526,688,847,868,980,1106,1108,1180,1338,1252,1348,1512,1484,1328,1224,1228,1354,1142,1280,1216,1292,1110,1138,1246,1262,1180,1126,1482,1770,1350,1064,995,1240,1256,1302,1066,974,1194,1090,848,1005,1116,1152,1078,1230,1438,1268,1406,1334,846,451,584,1110,1176,883,1064,1382,1340,1244,1252,1694,1670,1538,1398,1424,1434,1512,1776,1816,1252,1342,1692,1650,1880,1642,1378,1156,721,430,401,349,370,397,413,570,773,843,805,1190,1238,1294,1432,1556,1348,1088,872,641,895,1382,1356,1344,1406,1026,1278,1412,810,788,1015,1240,1404,1180,1228,1382,1698,1230,587,497,469,499,601,544,686,1018,1094,931,1128,1200,1252,988,1018,593,402,506,777,844,647,560,579,541,519,672,841,1048,1328,1210,1154,1466,1500,1298,1344,1166,1276,1444,1114,961,634,799,618,505,504,512,631,793,898,1162,996,728,795,619,977,1324,1516,1500],[420,374,367,336,331,341,353,369,384,391,395,361,321,299,289,367,357,266,260,268,261,248,243,237,234,237,234,232,250,290,341,370,307,263,361,485,532,458,437,421,393,431,555,958,1230,818,508,488,464,398,425,442,386,411,633,892,1312,1350,664,486,459,460,520,507,505,851,1372,1534,1256,865,1072,1166,845,1064,1216,1056,960,679,420,357,367,363,342,477,933,1152,1007,878,988,995,1017,1328,1842,1536,769,886,1122,1252,959,400,335,325,284,302,304,549,841,1230,1204,777,918,1218,816,480,587,519,442,458,525,563,471,430,526,565,591,624,646,681,797,979,724,628,473,755,1520,1856,1178,716,700,572,481,563,1170,1394,1292,926,651,791,954,1282,1842,1630,1244,1678,1434,781,587,816,771,670,530,432,717,1118,1094,711,824,1032,1044,619,1036,2056,1882,1212,635,571,502,975,1778,1924,1876,2188,2256,1284,626,478,342,271,257,219,227,373,636,807,872,1070,944,697,608,399,494,440,417,337,296,332,417,736,951,556,535,786,1120,1324,1596,1334,1482,1382,1098,1292,1380,1200,1106,1104,615,612,359,349,350,390,357,455,637,741,1032,1506,1440,915,439,590,1728,1794,1486,1226,1206,879,725,653,450,400,474,333,300,316,253,256,276,356,417,363,331,340,394,399,361,387,326,456,519,579,510,561,543,542,1002,1548,1494,933,636,899,1126,1396,1358,1324,1208,1326,1356,1320,1344,1378,1180,1132,1234,1188,1340,1270,1220,1290,1170,1092,780,780,985,1038,1316,1506,1670,1628,1498,1368,1480,1224,1324,1174,1242,816,510,774,954,1090,1188,1130,943,822,882,847,917,928,1184,1072,882,933,932,946,901,933,989,1058,1100,1180,1368,1252,1170,1208,1102,1128,1144,1216,1508,1546,985,597,691,531,794,1002,625,407,621,803,615,645,733,742,1158,1208,1048,1142,901,879,1372,1836,1662,1088,719,777,1114,1188,1102,1276,1728,921,787,1362,1444,1184,904,772,812,985,929,524,753,1260,1058,782,993,1005,754,687,738,596,560,711,857,930,1214,2092,2414,1976,1604,873,787,1028,1062,1278,1102,606,1032,1372,824,871,1052,851,1164,1204,1052,1444,1518,1176,1238,1100,872,1064,557,407,382,469,689,841,745,649,729,998,1180,1002,1088,922,588,471,403,323,280,329,304,329,336,825,1192,1058,1244,1376,1306,1144,1678,1850,1284,1192,1326,932,484,518,523,563,778,967,1160,1454,1574,1524,1458,1326,1276,1286,1040,943,1066,1072,1230,1456,1188,1082,1152,1320,1436,1512,1522,1524,1494,1506,1436,1294,1244,1202,1370,1610,1500,1570,1788,1534,1526,1566,1750,1648,1448,1272,1334,1576,1490,1258,1116,1122,1202,1362,1218,1080,1162,1298,1274,1138,1082,1118,1226,1448,1410,1350,1234,1284,1394,1332,1302,1328,1554,1648,1330,1252,1260,1252,1288,1074,802,783,592,452,486,371,623,875,835,672,544,776,792,770,669,844,904,1058,1172,1048,995,1082,1184,1556,1472,1356,899,817,1072,1030,959,1224,1332,1556,1476,908,1028,1021,1076,1016,1216,999,830,781,1282,1350,1102,1350,1674,960,655,1038,1238,1310,1180,1220,1628,1904,1656,1236,1112,1262,1110,842,905,795,938,870,842,917,739,645,1098,1082,879,1018,1096,1210,1210,1202,1380,979,1005,1304,1434,1460,1516,1624,1168,903,1116,1154,879,719,839,1150,1374,1456,1262,1162,1322,1186,662,458,598,829,957,799,964,935,987,1266,1460,849,531,511,783,1304,1098,694,820,764,728,694,760,950,789,827,693,764,1072,1306,998,701,529,506,558,578,549,500,432,421,604,893,1050,885,866,1007,962,687,709,1226,1084,736,1448,1462,992,853,1022,868,840,810,468,488,616,718,611,527,582,428,380,545,666,558,1024,1340,1382,1700,889,866,1216,1154,1272,1354,1076,600,437,455,741,1576,2072,1958,1938,1866,1764,1230,841,705,1024,1180,1366,1608,1332,1190,1182,966,1000,1350,1088,1078,530,322,393,633,905,1188,1146,799,591,822,1140,937,536,555,639,570,476,570,886,1102,927,511,281,279,478,594,347,548,836,872,813,513,288,379,747,754,366,298,229,227,246,234,242,273,301,396,569,591,588,768,863,885,653,617,769,805,814,803,810,792,709,680,706,832,709,496,440,415,397,325,363,361,285,310,433,527,478,303,364,368,363,348,253,245,426,604,444,473,565,473,560,475,271,324,353,400,475,379,366,356,440,419,421,568,587,604,849,978,813,841,776,518,425,741,1414,1630,1394,824,453,641,639,466,404,566,745,1150,1262,924,1068,1212,1510,1416,889,770,863,1296,1204,680,598,792,858,670,727,771,684,435,303,422,637,1010,1110,615,565,753,619,695,998,1160,938,924,1152,651,645,998,359,280,373,881,633,353,633,966,1001,1186,989,491,776,915,1028,1346,1196,1015,802,573,641,566,624,897,1084,1194,747,530,474,774,1154,949,1104,1376,1196,751,777,1094,1210,1462,1352,1384,1422,1178,1558,1924,1826,2920,3300,1632,781,1160,1570,2028,1436,1414,1678,1902,2060,1356,896,669,619,708,809,859,954,950,896,871,1616,1870,2138,1898,1422,1400,1406,1460,1626,1482,1074,880,1086,1186,923,1284,1918,2028,1330,864,738,867,1118,1216,1144,1290,1158,691,838,921,1148,1218,762,756,1386,1402,1250,1504,1448,1092,849,1146,1444,1218,1032,1021,836,621,691,744,637,717,783,621,546,629,406,489,457,455,527,468,445,431,394,419,499,572,614,656,664,660,858,645,315,376,649,800,750,666,872,756,678,545,1292,1282,1178,1106,1214,1600,1406,946,1190,1780,2240,2374,2330,2154,1672,1352,1092,1532,1388,1066,1690,2474,2512,2046,1362,1104,1600,1558,1550,1338,1484,1722,1472,1100,965,1026,1300,1484,1378,1466,1620,1278,1288,1344,1390,1236,1166,1462,1204,941,1170,1204,1354,1506,1330,1402,1412,1260,1548,1694,1460,1278,1298,1344,1340,1300,1056,1140,1240,1242,1800,1632,1398,1282,1072,1202,1278,1316,1450,1400,1352,1264,1080,1046,1180,1280,922,531,1188,1354,1174,1210,1280,1504,1354,1286,1306,1274,1296,1226,1466,1340,1194,1328,1116,941,1094,1124,1372,1206,1296,1272,1208,1194,1194,1114,1058,809,894,1404,1880,1846,1436,1436,1184,1328,1398,1184,1150,1466,1638,963,462,510,458,381,284,342,403,633,1184,1074,1242,1724,1670,1054,588,517,653,1128,1158,638,444,1020,1390,995,1202,1402,1212,1288,1044,599,489,467,489,718,978,1018,1060,935,1042,1368,1190,701,439,554,767,1068,1316,1454,1184,950,794,968,794,677,597,471,393,382,403,429,448,471,560,798,1076,1392,1044,1054,1021,1100,1494,1454,1058,1172,1212,1122,1350,1482,1180,735,466,799,1162,1228,1426,1438,1236,961,957,1036,1060,955,872,878,953,1274,1296,1836,1820,1344,1234,1306,1250,1310,1168,1194,1066,1278,1246,876,803,652,448,416,472,645,691,516,531,630,542,469,497,542,618,998,1300,1244,932,555,596,661,851,1278,1368,1214,1210,925,1048,1222,1268,1460,1268,1030,1028,1238,1172,1124,1042,1202,1350,1134,1332,1272,1158,1144,1168,1324,1044,658,1140,1460,1564,1934,2004,2104,2378,1694,1182,1196,932,848,926,1032,943,1116,1192,849,685,777,1118,1256,1120,1262,1586,1260,830,663,488,763,1164,914,855,828,703,886,1388,1472,1498,1568,1332,1426,1718,1468,1824,2364,2214,1636,1132,1110,975,714,913,1380,1600,1442,1406,1308,1178,914,554,553,586,584,760,1024,730,666,1154,1090,981,1228,1296,1280,1328,1302,1202,882,638,611,720,672,491,538,729,848,891,543,387,489,357,355,638,977,1318,1726,1322,697,576,584,786,583,702,1318,1142,1538,1954,1264,1208,1310,1374,1482,1262,1494,1548,1476,1614,1472,1372,1182,885,1042,1494,1498,1392,1404,1314,1282,1406,719,486,792,732,666,1112,1432,1326,1310,1286,1162,718,388,584,1013,1226,1350,1306,1238,1498,1418,1046,1446,1690,1208,1038,916,1174,1616,1444,1272,1052,1032,1052,1132,1210,1282,1178,742,691,1004,1102,1048,1276,1426,1196,1206,1262,959,872,935,1064,1128,1124,1256,1272,1136,1242,1136,984,987,1086,1060,1056,1014,929,1114,1366,1194,1252,1118,1258,1392,1392,1230,1296,1360,1224,1132,1152,1316,1458,1376,1530,1202,1184,1636,1416,893,711,822,1142,1324,1228,1002,1184,1158,1144,901,1268,1772,1772,1628,1560,1390,1482,1954,2024,1594,1544,1488,1426,1758,1482,1520,1268,692,538,575,628,584,448,424,488,750,871,713,981,1110,1148,1246,1198,1282,1370,1150,1032,1124,1394,1572,1816,1820,1282,1184,1198,1108,976,878,1040,1058,1158,1234,1318,1406,1390,1294,1054,961,822,390,484,1064,1626,1588,1120,1320,1256,1292,974,816,677,683,772,767,633,547,490,470,412,467,650,788,1068,1326,1019,952,1154,1174,1280,1224,1028,948,1232,1000,758,742,1088,791,725,888,843,897,735,764,1018,1074,1294,1348,1494,1440,1256,1444,1460],[458,425,384,371,392,389,369,364,364,362,371,373,352,332,300,361,356,275,264,269,256,249,243,230,228,237,241,246,260,314,357,323,321,346,355,446,518,455,416,394,400,457,750,1740,1930,968,495,440,340,307,357,356,382,716,1312,1528,1996,1914,989,778,927,1064,1110,853,796,1478,2008,1984,1368,1212,1260,1296,1094,880,1004,1182,1084,819,475,334,358,344,333,444,833,781,560,604,643,844,1118,1116,1406,1388,960,1260,1038,856,822,399,292,327,295,337,298,409,604,811,978,695,688,1336,1196,554,444,441,489,492,528,631,571,487,534,507,597,559,537,563,498,645,854,716,451,617,914,815,559,870,1104,1122,675,598,929,875,1388,1236,637,582,944,1886,2160,1278,1276,1642,1030,453,360,601,728,602,415,508,564,794,1068,1064,910,765,775,864,705,1394,2032,1328,532,506,481,678,1460,1896,1944,2230,2410,1520,705,463,340,299,269,229,274,394,607,703,697,873,788,456,312,268,287,487,669,528,414,378,394,755,980,686,784,1028,1142,1524,1874,1500,1444,1232,730,790,1184,1370,1600,1430,556,375,321,398,554,523,347,453,807,947,1062,1520,1136,625,458,568,1144,1164,1116,1262,1110,952,1096,1013,879,1296,1500,607,338,286,272,271,261,329,393,361,321,306,361,400,305,335,761,1220,600,347,453,529,487,500,807,1248,1424,1062,974,1056,1284,1584,1078,717,970,1234,1384,1384,1388,1220,1090,1266,1404,1218,1428,1384,1412,1370,1656,1870,1122,658,828,910,1224,1394,1778,1642,1530,1588,1526,1282,1428,1332,1256,917,628,919,1090,999,689,940,1246,1136,689,451,718,1005,1074,816,605,907,954,979,989,1288,1306,1184,1120,1360,1414,1130,1216,1356,1300,1212,1128,1096,1200,1346,1094,1014,1172,917,947,1356,1132,521,739,1098,726,539,515,968,1246,1198,1478,1574,945,469,794,1230,1230,882,664,637,790,1104,1516,1692,2150,1136,862,1030,778,841,1122,1068,945,1298,1188,862,943,1166,979,810,980,1234,901,703,1003,991,923,873,995,1138,1220,2658,2124,2442,1730,659,773,921,1148,1640,1570,1114,1154,1530,1138,987,896,1002,1128,983,1230,1282,1064,1246,1456,994,769,891,504,433,439,530,601,819,937,654,448,669,824,722,896,711,465,379,301,279,260,273,283,311,441,837,985,1118,1034,1192,1384,1442,1260,1082,1128,1172,1300,1082,564,460,367,346,349,441,505,839,1294,1448,1312,1234,1346,1350,1414,1362,1470,1394,1400,1366,1438,1522,1420,1424,1524,1580,1582,1524,1444,1408,1410,1500,1510,1416,1410,1214,1290,1428,1306,1266,1448,1530,1324,1290,1314,1196,1208,1060,885,1084,998,1020,1182,1010,793,805,1026,1282,940,714,764,803,890,1194,1264,1266,936,720,824,842,788,835,1156,1382,805,1164,1058,645,726,683,502,467,390,303,363,541,586,421,316,331,346,457,419,722,916,897,1104,1278,1018,868,618,835,1090,1366,854,906,684,863,1034,1040,961,1194,1386,1300,1406,1122,1268,1064,904,698,469,507,916,969,848,987,884,1398,1788,818,732,990,1238,1278,1230,1268,1368,1566,1506,1276,1032,1064,1282,903,768,1102,1062,742,849,1118,935,742,1114,1238,1294,1368,1160,1274,1196,1654,1744,1001,987,1276,1056,850,1272,1558,1170,1070,1438,1378,670,465,596,940,1320,1302,1070,1156,1398,1262,846,525,468,512,801,971,1242,1360,1348,1218,967,880,731,609,838,1132,1044,850,838,619,808,967,937,851,722,991,1002,727,1082,1100,941,923,1052,1003,874,883,1034,924,746,764,973,1196,1260,1060,957,1078,1012,625,709,1264,1266,761,1070,1218,1096,1028,937,861,938,805,836,1182,1086,1176,1068,928,725,533,502,529,502,484,1132,1738,1510,1298,615,846,1160,1334,1290,1598,1498,897,502,423,612,1142,1820,1936,1914,1628,1112,655,712,1300,1798,1798,1682,1590,1624,1324,966,878,913,1212,1136,1136,810,500,376,472,654,888,1154,1003,722,558,614,644,512,573,779,745,583,560,720,832,807,533,378,385,389,561,464,443,550,833,1052,883,496,391,527,470,261,264,255,264,280,280,250,227,253,351,677,926,713,643,764,650,360,357,448,527,720,728,726,764,957,935,637,667,633,547,471,551,628,455,372,357,414,586,751,824,836,695,648,661,713,583,468,563,910,952,601,405,519,523,358,415,511,607,480,426,521,425,304,278,332,418,368,341,381,505,677,609,422,403,379,329,408,698,1044,1092,971,599,509,467,406,411,416,459,577,1138,1166,717,586,639,643,655,731,716,661,791,656,667,573,794,943,809,753,728,607,419,339,578,909,1426,1020,602,483,687,913,928,936,1040,896,969,1044,499,642,688,336,280,307,294,322,351,416,638,1334,1860,1164,815,1082,1142,1344,1282,1034,698,370,465,811,1008,1380,1480,1184,881,485,396,656,1168,1102,1114,1104,1009,1280,1268,884,943,1282,1410,1392,1622,1522,1268,1224,1278,1558,1892,1554,823,985,1254,1498,1932,1328,1184,1286,1782,1584,1140,880,685,719,763,838,934,922,865,849,938,2040,2302,2678,1898,1306,1416,1268,1220,1418,1512,1158,838,844,1014,1356,1738,2132,1952,1192,879,934,956,976,907,944,1120,866,590,913,991,1216,1104,715,816,1294,1572,1322,1382,1350,973,621,677,1180,1284,1030,1011,872,678,793,587,465,525,569,555,553,538,506,502,462,497,596,566,491,412,396,328,362,503,647,643,601,670,721,420,279,365,421,615,1064,935,1170,959,649,645,1224,1416,1504,1372,1400,1688,1390,1252,1672,1898,2272,2404,2376,2232,1910,1708,1266,1182,1262,1112,1610,2484,2756,2464,1760,1348,1484,1616,1470,1390,1642,1682,1474,1270,1086,997,1300,1376,1434,1608,1416,1182,1238,1344,1376,1084,1418,1666,1003,993,1206,1216,1428,1356,1294,1166,1384,1362,1434,1364,1232,1382,1278,1270,1278,937,691,802,1144,1318,1514,1520,1716,1652,1258,1050,912,1182,1598,1534,1588,1462,1264,1174,1174,1198,924,645,916,1158,1146,1142,1344,1378,1420,1408,1328,1400,1344,1382,1362,1262,1134,1242,1230,1274,1150,1166,1268,1300,1344,1166,1104,1188,1200,1064,1032,725,735,1462,2116,2100,1758,1718,1442,1334,1260,1278,1262,1232,1236,960,667,517,395,347,311,365,381,390,438,437,868,1622,1708,1156,683,414,523,1134,1332,1012,718,938,912,604,1482,1604,982,1072,1078,855,792,879,662,406,660,749,615,664,679,962,1156,763,711,1278,1324,1250,1130,1360,1136,878,730,520,424,408,371,380,389,426,452,446,475,492,761,1140,1366,1104,787,731,1066,1660,1626,1112,974,1244,1176,1138,1532,1582,1038,952,873,843,915,1258,1316,1174,1172,1116,985,1058,1298,1332,1064,879,1108,1334,1700,2082,1744,1302,1340,1384,1356,1368,1368,1086,882,1210,1286,1112,1078,879,561,435,400,553,760,590,542,674,608,577,592,532,918,1698,1836,1242,716,603,644,684,633,1090,1382,1116,1192,1182,1078,1202,1376,1366,1007,1242,1276,1246,1370,1330,999,934,900,1044,1222,1216,1094,957,1040,1316,884,787,1500,2230,2092,1776,2150,2302,1848,1478,1212,1246,916,996,1244,1220,904,1032,1232,893,605,650,769,1086,1354,1300,1252,1028,768,935,573,769,1076,863,860,1190,1312,1264,1318,1176,1356,1476,1438,1570,1782,1484,1664,1854,1234,673,1128,1086,667,424,498,1106,1356,1380,1386,1284,1320,1268,1188,888,722,877,1058,1096,694,630,825,873,1124,1176,959,989,1088,1156,1148,927,863,761,960,879,588,518,626,796,814,497,295,296,327,347,532,784,910,1042,919,574,486,571,715,604,705,934,1036,1176,1140,1272,1074,1176,1304,1424,1280,1644,1570,1372,1296,1382,1510,1384,1242,1068,1482,1480,1312,1462,1366,1260,1136,889,1100,1062,700,1001,1412,1294,898,953,1042,837,485,314,539,1156,1666,1632,1320,1488,1578,974,608,1464,1670,1014,897,1174,1470,1588,1430,1240,1058,951,1176,1276,1042,1082,1274,1180,1176,1054,1072,1188,1296,1372,1084,960,1072,683,799,815,960,951,971,973,1015,1204,1136,1076,1094,1066,1148,973,767,592,780,1166,1382,1324,1490,1342,1170,1422,1404,1220,1304,1196,1434,1450,1178,1350,1812,1714,1332,684,661,1256,1430,926,844,1238,1410,1654,1602,1150,1014,753,780,802,919,1282,1692,1816,1372,1280,1736,1910,1444,1226,1372,1454,1322,1216,1326,1572,1416,1274,1312,1172,1102,1002,702,477,390,473,529,454,524,788,1228,1300,996,1418,1386,1306,1284,1322,1340,1650,1776,1630,1328,1136,1250,1418,1352,1400,1562,1442,1250,1218,1444,1336,1364,1642,1306,1168,1252,539,588,1226,1350,775,920,1412,1230,791,482,514,847,1182,1216,1196,1046,664,543,470,667,1046,1166,1036,1192,1434,1242,977,923,1074,1242,1390,1412,960,1166,1180,814,655,1072,1500,1576,1246,968,901,666,614,543,888,1208,1362,1340,1013,990,1050,1234],[441,508,411,367,392,389,386,382,377,372,384,398,369,362,342,357,368,340,302,275,265,265,254,239,230,234,231,239,251,331,371,308,360,423,361,379,439,390,361,351,349,405,750,1318,1188,702,502,471,493,581,474,400,426,767,1190,1786,1996,1934,1302,863,897,1398,1498,830,796,1316,1660,1432,895,976,1092,1354,1388,795,664,847,1010,1005,642,339,349,363,362,374,447,394,460,531,505,794,1020,916,979,1078,932,987,832,647,858,556,324,307,438,635,547,547,635,558,656,532,371,847,1272,932,467,410,536,571,599,888,988,630,558,494,548,589,485,517,533,1178,1928,1392,645,862,780,554,604,885,886,977,974,967,867,645,543,380,339,422,494,772,1026,601,779,912,508,287,336,371,628,900,777,869,1023,997,1158,1172,673,421,772,1110,540,859,1714,1496,808,515,499,580,1216,1508,1400,1716,2046,1286,733,538,286,266,249,252,315,495,784,702,708,1076,794,354,334,393,325,430,534,443,503,599,532,862,1048,1072,983,1070,1240,1464,1454,1248,1476,1086,624,746,926,743,848,654,431,382,359,827,1344,881,362,547,1388,1494,1458,1570,1384,659,397,552,1052,1126,902,1038,1104,1334,1424,1252,1434,1892,1732,940,451,287,290,259,255,297,356,345,305,270,289,300,315,349,827,962,507,435,601,631,487,534,536,719,1118,1026,830,988,1154,1078,843,767,845,962,1238,1390,1252,1010,1056,1342,1426,1362,1320,1258,1466,1382,1406,1448,1196,1244,1328,1220,1006,1072,1304,1460,1500,2078,2104,1666,1554,1412,1328,1076,979,1016,816,755,772,1068,1318,1190,820,543,641,1028,1094,938,607,857,705,555,882,1274,1272,917,952,1412,1444,1310,1336,1126,1094,1102,1268,1376,1208,1192,1338,1400,1568,1426,1088,1206,1002,621,486,795,1226,714,511,943,953,1028,1342,1478,959,415,466,467,559,601,598,543,616,1156,1362,1010,822,971,1188,916,738,1074,1338,924,543,644,899,1172,1194,1020,1028,1124,1194,1320,1196,918,1056,1054,754,672,652,902,1076,1506,1584,1948,1400,974,1116,717,836,1428,1536,1418,1518,1628,1082,650,578,775,716,738,1048,1106,1140,1226,988,726,855,935,772,503,458,717,666,729,1028,852,488,503,781,744,754,803,506,321,275,261,292,317,323,339,551,841,959,1160,844,1268,1526,1262,1068,847,811,941,1098,1074,618,482,493,430,460,464,737,1074,1340,1510,1122,930,980,942,1138,902,792,913,1164,1066,825,728,830,1102,1138,1178,1516,1508,1282,1294,1260,1196,1188,997,1088,1005,1172,1450,1106,813,1168,1344,1108,1124,1096,1090,825,594,616,833,711,629,946,1114,777,434,583,1020,629,505,525,701,930,1174,1274,1120,724,649,978,1066,883,774,992,1510,802,1038,1268,846,461,429,545,624,464,342,449,889,880,643,522,426,425,608,852,1290,1188,828,908,1172,913,729,505,673,1021,1128,1198,1056,935,1070,991,844,664,991,1134,830,643,883,1166,1034,874,658,424,517,932,1036,814,886,561,812,792,587,893,1174,1328,1190,1021,838,952,1274,1262,1286,1214,1222,1366,1158,759,1112,1092,816,1001,1244,1088,1032,1246,1324,1468,1296,962,1310,1410,1512,1324,959,879,933,713,486,695,1092,1306,1488,1428,1122,992,943,698,594,774,929,1052,1294,1346,1376,1168,739,556,531,811,865,969,1260,1290,1188,1354,1570,1034,777,842,981,845,650,662,553,1034,1152,821,708,973,1384,1110,792,921,544,625,620,543,483,473,650,659,443,580,750,623,733,1134,940,879,1190,1166,889,1056,1212,1446,1310,1072,883,681,522,469,625,1048,982,1434,1948,2084,2360,2230,1474,810,749,603,606,1134,1356,1450,1934,1808,1218,804,869,1138,1292,1576,1980,1792,1268,822,458,539,753,1432,1578,1166,685,582,889,1430,1824,1852,1688,1688,1650,1444,1064,832,872,854,875,1016,1110,926,680,337,414,492,938,1350,905,515,408,344,341,454,872,1176,1190,962,661,725,1036,1162,933,697,579,459,561,714,585,323,513,727,604,397,303,274,242,264,298,287,279,265,265,300,268,261,386,883,1094,892,1008,1066,691,457,651,695,798,843,700,886,935,890,706,576,426,295,270,271,383,397,396,443,304,327,437,661,875,730,452,463,540,521,477,702,860,764,771,824,744,615,671,472,730,845,694,760,803,700,700,675,471,416,540,575,776,837,626,542,375,257,390,541,576,603,910,989,752,487,346,401,321,336,446,452,368,590,1094,1140,774,813,1186,1130,1208,951,902,1012,1023,818,1144,1118,997,1009,1100,1026,753,644,773,650,836,1476,1532,834,511,467,714,959,680,550,708,666,814,875,555,341,274,267,293,330,325,484,712,670,623,1142,1222,565,586,1142,1402,1340,1172,781,588,802,1166,1564,1904,1838,1674,1278,586,379,550,1012,1226,1262,1260,913,744,996,1306,1310,1150,1460,1358,1460,1698,1404,1478,1478,1438,1422,1292,1146,785,1168,1246,1334,1484,1488,1450,1410,1366,1116,917,754,705,763,782,890,1016,879,875,802,1144,1788,1890,1938,1588,1366,1390,1278,1384,1578,1300,941,880,839,940,1806,2278,2178,1702,1108,1138,1118,1084,1078,944,933,1056,949,731,981,1164,1404,1166,713,965,1528,1576,1422,1342,1464,1172,638,1404,2122,1714,1124,974,955,797,760,473,429,437,457,558,529,577,620,543,458,547,621,502,466,415,412,344,287,343,371,422,447,513,452,307,330,514,614,381,432,621,800,943,664,677,811,988,1104,1144,1374,1722,1232,946,1434,1766,2170,2354,2372,2172,1940,1806,1350,1176,1484,1188,1576,2502,2676,2372,1832,1538,1354,1324,1130,1011,1444,1664,1484,1252,1096,719,752,962,1010,1174,1100,1074,1230,1500,1340,1010,1308,1252,612,807,1190,1260,1324,1700,1454,1058,1176,1238,1248,1024,841,1176,1236,1518,1666,1084,930,962,960,1012,1076,985,1236,1472,1284,1054,1120,1654,1816,1488,1318,1364,1478,1486,1390,1484,1454,1212,888,1114,1246,1274,1352,1278,1244,1236,1352,1298,1230,1228,1344,1246,905,1028,1120,1002,1202,1246,988,1060,1198,1388,1318,1344,1206,1124,1200,746,635,1378,1838,1722,1812,1838,1388,1058,1058,1326,1564,1470,1196,1009,823,487,384,328,336,318,334,375,443,385,826,1708,1620,938,502,445,507,648,648,705,916,1142,1056,883,960,805,597,1118,1244,1001,677,720,471,287,423,500,390,518,909,1138,1060,1058,1054,1292,871,817,1066,1222,1196,1112,784,460,359,350,369,399,422,419,413,455,451,417,469,739,902,794,698,843,1540,1744,1356,886,860,1390,1428,1494,1588,1076,845,995,1092,1214,1058,1162,976,986,1234,1364,1072,872,911,1158,1068,1246,1600,1202,1394,1572,1568,1404,1462,1230,1198,1014,1142,960,791,926,1086,1200,1310,1064,703,470,385,409,684,613,513,569,537,498,525,656,878,1150,924,610,980,1012,883,803,902,1132,1290,1324,1282,1174,1194,1326,1236,1340,1364,1346,1364,1642,2014,1774,1200,852,872,879,871,1036,922,876,1216,1512,1124,659,557,1466,1764,1378,1724,1520,1190,1320,899,807,599,696,1014,839,717,770,957,1162,1004,799,766,1017,1170,953,672,744,771,697,612,678,576,537,653,1180,1186,977,1100,1224,1044,1062,1356,1726,1804,1506,1228,876,515,586,1090,1124,816,819,602,616,1102,1144,691,806,1078,1152,1040,1180,1150,1286,1416,1296,1050,1016,1162,1264,1332,1266,1138,1060,981,929,1288,1506,1354,991,745,698,637,631,580,626,576,354,376,367,288,281,305,305,390,553,581,481,466,654,876,909,684,620,931,803,1118,1206,1114,1146,1348,1350,1312,1506,1582,1456,1218,1326,1498,1494,1440,1456,1570,1228,917,1292,1520,1330,1092,1092,1476,1304,620,720,1214,1202,687,946,1062,852,489,311,550,1274,1958,1460,749,825,1084,851,767,1164,1302,1184,1110,1132,1352,1504,1440,1136,1122,1132,1224,1162,905,639,874,885,1118,1252,1338,1198,956,893,891,788,811,667,839,949,979,982,993,979,1104,1238,1116,1088,1028,1028,1268,1138,1220,972,877,1064,1154,1194,1174,898,882,1202,1020,1070,1296,1536,1740,1332,884,908,1562,1500,827,437,470,1005,1408,744,756,892,985,1294,1190,1188,930,997,1140,984,1072,874,1106,1670,1396,1428,1622,1434,1194,1176,1296,1356,1278,1448,1634,1544,1326,1538,2238,1890,1798,1808,1140,535,366,321,328,467,635,837,1268,1222,1440,1412,1354,1642,1666,1348,1350,1582,1470,1118,1088,1042,1228,1472,1598,1628,1670,1324,1138,1160,1302,1222,1186,1348,1202,909,951,727,524,731,1070,812,841,1156,886,493,573,735,1178,1374,1176,1338,1310,824,824,934,1186,1166,755,568,844,1238,982,1110,1262,1180,1252,1388,1372,1440,1612,1186,674,557,902,1390,1026,946,1048,669,423,617,942,1282,1470,1488,997,641,648,766,932],[344,388,382,360,384,394,394,394,402,404,391,359,354,373,378,354,338,294,252,256,267,274,283,268,237,224,220,238,253,310,346,291,300,340,342,350,401,386,361,318,381,437,496,509,474,467,545,684,705,780,651,513,438,663,1300,1772,1664,1340,1116,816,498,755,850,560,492,892,1020,601,381,796,1074,1152,1088,625,443,700,1068,1015,709,374,295,347,356,335,325,330,496,636,653,765,813,640,512,517,412,402,419,567,675,475,381,416,727,1056,938,1066,995,537,331,356,314,565,1216,1322,869,596,644,631,694,1374,1522,1100,786,508,520,578,564,568,565,927,1272,924,871,1286,1204,724,543,621,696,766,908,714,498,522,354,302,317,439,429,363,510,544,644,589,325,370,597,631,873,767,966,1156,1310,1198,1122,671,537,1060,1754,1340,606,584,922,982,1128,670,639,697,1364,1714,1216,1260,1384,982,758,376,284,263,268,296,405,857,1114,1082,1172,1186,816,363,328,405,502,563,404,352,564,586,665,802,772,755,672,889,1266,899,695,919,1360,1166,794,941,827,510,392,357,395,337,352,998,1744,960,399,485,1722,1880,1760,1820,1346,548,355,580,1378,1682,921,837,1596,2060,1406,1218,1566,1644,1692,1466,739,290,291,265,260,271,344,348,281,274,382,413,389,308,453,493,567,799,1066,1082,799,638,687,849,833,791,1020,1520,1194,865,966,844,600,636,1048,1300,901,880,1072,1126,1432,1714,1604,1852,2084,1222,745,952,1310,1478,1352,1404,1256,1112,977,988,1048,1700,2140,1682,1544,1544,1498,1546,1810,1282,1056,1082,949,916,879,1006,1268,1170,1344,1914,1426,1340,1344,1268,693,496,763,1140,1206,776,813,1188,1326,1292,1124,642,694,1088,1384,1384,1230,991,1200,1282,1300,1406,1556,1412,1013,518,452,732,1398,999,818,1114,1052,926,1168,1426,1118,729,678,559,468,491,513,554,503,693,941,932,1082,1388,1182,742,932,1262,1254,854,790,614,680,1106,1366,1334,1236,1046,1204,1338,1272,861,901,749,496,622,815,865,1048,1460,1428,1102,1146,1180,1166,966,824,913,1108,1382,1676,1676,1272,836,669,599,567,838,1098,1148,1194,994,821,825,1007,1072,1032,639,604,930,827,673,758,771,493,587,864,953,888,670,424,317,279,309,377,349,395,390,727,758,789,956,935,1588,1678,1180,1028,1036,985,868,583,860,727,519,508,523,547,442,778,1254,1482,1378,1044,713,794,1216,1074,1198,1164,1278,1168,995,943,755,825,1066,772,693,1078,1398,1210,1110,1196,1204,1288,1080,987,974,1472,1628,874,792,1090,1148,917,904,1094,1358,1052,807,753,990,1148,1104,1174,1124,597,481,658,944,761,681,827,968,865,1050,1386,1166,674,943,1704,1808,1412,964,987,1370,758,785,1400,1142,622,810,1132,764,469,394,372,638,833,863,996,1026,924,665,945,1450,1088,846,566,922,1042,672,432,599,1004,1084,1266,1350,1100,768,730,872,829,1034,848,494,359,658,824,670,760,811,875,1108,930,921,995,878,488,463,535,623,719,822,791,745,668,777,978,1294,1388,1268,1088,786,1142,1118,870,1230,1080,579,823,999,611,951,1268,1350,1342,1044,1166,1500,1450,1002,739,726,725,587,487,451,475,630,919,1174,1280,1194,1208,1158,1028,861,833,1009,1144,1302,1376,1560,1242,1064,750,608,619,565,556,812,1398,1500,1478,1714,978,788,912,1010,1068,776,1160,1228,833,681,1020,1508,1378,1290,1166,1130,673,472,460,492,546,747,547,453,575,510,617,671,548,636,1198,1184,1078,1352,1284,1110,1262,1272,1228,1060,740,556,466,440,483,496,632,562,1532,2198,2508,2702,2586,1902,1192,1174,960,1192,1988,1382,1324,1980,1902,1282,963,811,1007,1656,2004,2114,1886,1438,1180,579,464,532,767,800,607,680,760,861,1192,1720,2102,1750,1552,1270,909,846,807,811,789,605,957,1244,937,887,486,346,313,549,1148,1090,589,408,475,489,410,590,956,1168,969,807,995,1314,1562,1416,1092,805,576,474,668,745,471,370,339,350,392,401,368,350,332,340,299,264,239,386,701,730,696,367,614,801,925,962,702,546,860,1214,927,613,488,518,1124,1018,529,528,640,401,485,797,852,803,729,822,746,394,541,470,444,861,738,448,355,291,273,250,529,688,426,595,1074,1338,1700,1594,929,822,696,702,1001,720,562,801,969,648,482,533,549,792,761,420,398,343,281,380,694,791,503,737,789,781,472,559,577,570,535,563,604,547,697,1138,927,572,972,1674,1202,1012,1040,966,1094,973,1094,1476,1336,1170,960,1094,963,542,765,1218,785,502,665,560,385,418,534,664,555,317,336,412,339,493,628,782,633,387,311,323,398,626,814,1032,1310,1116,804,431,351,687,1560,1698,1276,948,846,1220,1714,1840,2238,1926,1756,1700,1036,475,467,917,1202,1114,1186,1052,986,971,1009,1216,1338,1256,1248,1358,1656,1574,1344,1522,1418,1454,1208,1340,1370,1136,1242,1348,1130,1120,1540,2040,1976,1444,953,753,739,760,736,788,985,974,792,861,828,1392,1726,1448,1448,1368,1416,1464,1560,1512,1668,1322,1256,1470,1052,1044,1798,1914,1832,1702,1576,1594,1394,1286,1418,1504,1620,1446,993,908,1036,1208,1520,1144,732,1214,1816,1458,1498,1090,1630,1348,717,1440,1912,1486,1100,827,923,926,613,416,393,435,466,495,476,536,594,806,1506,1648,1430,863,449,388,394,360,341,325,267,284,326,366,375,350,401,643,776,639,765,799,767,793,759,673,759,1000,598,921,1428,1782,1210,906,1296,1750,1986,2180,2294,2088,1888,1762,1264,1122,1574,1362,1666,2382,2430,2048,1592,1604,1436,1290,1254,990,1388,1494,1490,1362,954,920,1072,1030,1224,1462,1382,1268,1318,1306,903,836,1046,1005,636,1220,1364,1302,1306,1474,1378,1194,1058,1058,1278,1294,1142,1306,1344,1260,1174,1016,1046,954,891,1078,1090,865,802,1208,1444,1302,1272,1264,1336,1296,1296,1652,1802,1518,1852,2566,1828,1728,1322,1512,1654,1418,1370,1396,1284,1344,1256,1170,1240,1248,1360,1188,1024,1064,1170,1098,1008,864,864,933,1136,1346,1318,1230,1252,1376,1610,1352,1182,1322,1312,1372,1630,1862,1636,1224,1096,1252,1496,1248,1272,1042,807,487,359,331,316,292,308,350,413,410,764,1648,1868,1064,501,414,401,393,359,660,1168,1378,1372,1302,959,752,538,846,808,673,415,321,335,461,607,638,673,1064,1322,955,729,1124,926,722,518,624,720,854,1122,1150,960,542,351,346,352,349,373,350,350,354,399,473,456,474,614,968,1190,1268,1676,1488,1234,1156,1304,1458,1484,1386,1256,1212,1072,1184,1260,1100,977,1068,934,1612,1794,1314,893,827,1036,1110,960,1346,1584,894,1021,1224,1170,1154,1096,1228,1042,662,785,966,887,1076,1236,1224,1196,888,695,543,458,399,539,642,719,642,591,688,641,854,910,788,629,887,1192,1266,1020,1040,1310,1274,1306,1186,1048,1316,1444,1446,1414,1692,1626,1402,1388,1784,1960,1650,1122,829,843,805,641,990,1086,1001,1180,1526,1282,686,694,1090,1244,1216,1542,1366,1278,1338,713,639,803,907,922,650,458,625,1066,1382,1526,1562,937,794,869,1010,1021,963,855,1040,1362,1160,804,669,675,943,665,930,1704,1144,533,586,761,1310,1710,1626,1650,1172,847,503,730,747,775,1148,927,524,789,760,498,578,793,1124,937,792,845,1002,1164,1208,1082,1228,1682,1726,1302,1116,1310,1366,1136,916,1000,1250,1008,987,1124,916,942,1250,930,612,518,632,1128,979,989,844,505,503,719,668,502,471,496,689,863,885,628,642,1078,1196,1100,921,938,1096,1182,1168,1332,1464,1514,1522,1346,1026,1252,1412,1172,1240,1358,1390,1432,1440,1274,1172,1116,1230,1178,957,402,602,1162,1152,678,724,1050,1144,703,463,691,1730,2044,1274,819,545,486,782,1128,1288,1182,1454,1428,1500,1734,1666,1366,1238,1344,1578,1546,1320,1020,879,855,812,858,954,1170,944,830,838,906,963,885,711,714,897,989,1072,1158,1156,953,1005,1003,1116,1148,1058,1100,1176,1232,1232,987,896,1242,1220,834,736,803,675,800,1124,1416,1590,1210,1082,882,801,1154,920,378,432,710,837,1066,794,1128,1024,763,990,1204,1052,915,1652,1652,1134,880,586,614,1144,1644,1598,1344,1252,1338,1348,1352,1220,1236,1414,1462,1424,1278,1596,1628,1616,1878,1602,1068,575,341,313,505,927,923,807,1168,1346,1240,1120,1476,1566,1486,1356,1082,1180,1532,1306,1128,960,1064,1230,1290,1362,1590,1606,1498,1382,1010,674,910,1262,1416,1015,969,1154,638,353,556,803,1098,1044,897,891,1082,1194,1440,1506,1556,1582,1224,889,1268,1322,1166,1082,686,589,959,1394,1324,1694,1510,1214,931,824,949,1390,1682,1344,1028,863,630,764,642,990,1038,635,472,502,985,1344,1170,880,514,395,374,478,563],[325,337,361,339,359,396,431,459,451,445,469,458,433,409,387,432,353,291,233,272,275,288,300,295,297,302,304,303,281,296,320,265,280,300,305,323,390,397,367,305,364,462,477,486,532,484,537,788,819,916,933,680,476,440,937,1144,1330,2366,1828,739,491,388,391,398,427,765,593,498,570,1018,1174,803,771,592,433,999,1180,1040,943,544,338,394,427,494,556,521,415,552,839,755,678,475,440,365,323,481,498,511,478,451,427,494,827,1284,963,673,620,458,569,615,637,974,1258,1338,1116,668,616,601,659,1468,1522,1094,712,524,489,526,561,533,447,488,736,730,751,929,1168,1082,1036,1146,1286,1262,906,338,334,377,340,289,337,461,453,497,666,657,758,669,355,562,1028,1094,1090,589,831,1080,1084,960,599,437,850,1514,1598,968,728,832,1214,840,1216,815,613,854,1588,1970,1430,744,741,1021,887,427,286,287,252,414,633,916,874,783,717,401,239,244,278,358,715,585,387,330,382,404,627,821,696,677,678,772,1210,735,730,775,1168,1470,1368,1376,977,555,529,452,528,509,487,1007,1476,918,603,575,1382,1756,1466,1278,942,511,451,608,1030,1262,927,830,1092,1170,1184,1398,1292,1450,1912,1758,963,360,326,300,287,252,332,363,292,301,612,1036,940,707,755,500,518,679,1152,1050,1108,1106,1110,860,694,813,1276,1396,828,750,1110,982,838,848,1272,1342,1172,1156,1226,1218,1346,1584,1558,1544,1536,1382,1098,1098,1456,1404,1210,1078,1134,955,879,984,928,1254,1288,1170,1390,1458,1584,1662,1788,1048,712,800,887,1042,1416,1598,1328,1488,1666,1964,1558,1852,1946,1484,866,568,731,1072,1013,924,1001,1008,1132,1222,1024,672,810,1338,1524,1518,1356,991,1014,1322,1426,1308,1598,1382,1124,720,747,1152,1776,1632,1168,1360,1166,1040,1134,1314,1312,1188,1204,929,551,453,475,520,501,475,568,875,1252,1310,1182,921,1350,1210,968,950,1174,826,522,940,1222,1278,824,539,631,897,1382,1302,1122,708,708,971,1062,729,775,1372,1428,1206,1180,1076,1078,995,971,703,1058,1766,1764,1656,1544,1370,1390,1276,1009,1268,1334,1210,1142,1126,1013,1134,1230,1019,726,543,804,1238,731,509,1218,960,804,983,1274,1426,1086,579,372,355,294,323,382,420,358,524,827,690,555,516,727,1114,1156,915,685,938,907,635,399,735,781,601,548,593,536,416,638,1230,1366,1072,991,788,907,905,828,1260,1066,848,901,1054,1108,779,820,990,864,753,843,1048,1142,928,778,789,1064,1338,1274,1182,1354,985,770,824,870,802,928,1072,976,965,1198,1458,1340,932,1017,1410,1416,1306,896,548,857,857,856,1106,1296,1152,777,1016,1338,1202,641,1006,1716,2080,1918,1416,1290,1248,649,477,853,1094,922,877,1028,613,385,382,434,814,858,808,894,786,715,550,564,940,693,495,371,778,777,738,802,797,869,959,1046,1262,1078,636,852,777,755,1024,998,751,631,630,524,518,572,744,1210,1260,1108,1062,919,1014,802,516,518,517,584,711,800,941,555,917,1460,1630,1538,1384,1044,586,866,1194,1150,1158,840,543,680,920,852,1036,1042,1074,1136,1144,1732,2430,2218,1434,695,781,834,505,419,409,549,650,691,863,1190,1396,1394,1204,1146,1168,1268,1400,1350,1294,1594,1768,1428,1013,714,579,429,493,596,756,1274,1236,1036,1218,799,688,721,900,1236,929,809,953,645,341,661,1146,1038,1007,1038,896,619,529,494,720,1180,1376,943,436,462,511,568,543,512,767,1428,1446,1300,1280,1110,1017,1016,861,688,589,502,493,443,418,471,493,443,666,1376,1854,2366,2652,2424,1668,1294,1296,1072,1094,1848,946,948,1858,1860,1460,1518,1498,1656,2284,2242,2230,2092,1752,1582,858,471,500,477,485,902,1188,766,770,1038,1202,1914,2004,1482,1001,881,883,743,579,595,716,1132,1440,1180,963,933,455,347,386,723,1036,771,485,549,476,416,389,461,635,846,946,927,1180,1540,1418,1120,1106,888,490,442,666,793,590,495,462,398,403,448,528,544,432,354,281,278,506,908,858,998,479,505,814,709,601,415,384,948,1066,583,270,246,286,619,576,616,688,720,468,630,1138,1182,825,730,982,709,796,844,441,437,806,720,670,604,346,342,404,749,700,772,985,1356,1674,2852,3130,2362,1362,703,611,780,534,672,953,888,634,515,470,590,725,492,427,468,350,332,274,395,520,390,405,380,509,382,398,663,731,503,573,855,989,1070,1260,872,504,834,1604,1386,1386,1382,1464,1674,1604,1424,1300,1252,1136,791,558,496,406,590,589,355,310,341,292,243,275,490,644,424,413,453,447,458,519,779,1044,738,549,392,496,422,650,1196,1334,1704,1560,781,412,584,1180,1760,1858,1290,861,910,1378,1750,1404,1572,1870,1694,1116,557,396,797,1282,1306,1250,1192,1120,1370,1268,937,1096,1366,1148,875,1152,1428,1362,1372,1434,1342,1248,1132,1190,1088,1202,1224,963,869,1250,1586,1856,1562,1134,799,818,728,796,872,909,1056,1142,1072,821,1106,1922,1710,1572,1506,1262,1438,1642,1484,1448,1428,1222,1482,1594,1058,1300,2218,1828,1660,1570,1836,1932,1806,1714,1846,1932,1882,1504,1005,869,920,1188,1520,1042,773,1076,1366,1488,1598,1202,1088,841,688,709,761,758,821,760,893,918,577,412,416,428,426,425,443,462,456,986,2068,2750,3078,1464,588,850,890,701,511,325,350,338,391,479,565,478,540,869,888,930,1180,1266,1132,951,927,601,885,1136,778,998,1642,1942,1396,1192,1512,1820,1862,1826,2032,2008,1794,1354,764,1066,1614,1744,1944,2272,1998,1666,1522,1456,1324,1204,1410,1366,1526,1550,1592,1470,1276,1050,910,909,1256,1472,1492,1502,1430,1226,955,863,1000,800,800,1274,1340,1274,1216,1268,1350,1200,968,990,1226,1338,1660,1582,1288,1236,924,843,1052,875,760,980,1028,955,980,1310,1592,1718,1576,1256,1248,1318,1456,1692,1670,1394,1586,2002,2192,1720,1488,1654,1744,1462,1308,1246,1276,1296,1204,1140,1092,1246,1250,1136,1028,1048,1160,1150,919,794,965,1146,1384,1330,1176,1236,1660,1518,1678,1502,1052,977,1156,1272,1442,1638,1598,1420,1394,1814,1636,1126,1250,897,553,411,342,319,281,257,314,360,403,405,705,1472,2000,1122,487,471,507,555,586,742,984,1032,902,817,588,487,487,459,399,407,409,368,465,690,719,700,907,1486,1160,534,549,1042,1009,667,587,734,722,536,649,836,891,739,507,410,364,344,329,346,361,456,866,1094,704,454,551,825,879,1070,1240,1208,1232,1274,1344,1316,1324,1376,1510,1694,1010,1102,1094,764,982,1492,1132,1584,1776,1278,1154,1354,1408,1378,1200,1354,1284,1100,1013,1160,1082,1166,1190,1198,1102,1044,1238,1086,1012,1272,1116,1108,1200,726,500,519,434,431,451,530,749,791,895,1120,1140,1406,1228,1172,1064,744,805,1176,990,968,1296,1290,1023,890,1078,1184,1154,1394,1298,1202,1332,1396,1384,1322,1470,1602,1304,1076,772,654,585,857,1108,1212,1268,1390,1196,1080,1400,1368,1304,1288,1392,1366,1422,1550,1144,968,1212,1318,1114,946,807,725,1192,1966,1792,1366,1078,824,703,883,1388,1426,927,848,827,1004,979,771,725,838,901,1230,1332,1004,968,814,788,1310,1598,1604,1834,1468,980,784,669,434,430,739,1004,839,844,742,869,801,802,847,836,924,838,626,679,1140,1216,1054,1576,1542,1120,599,913,1032,1190,1366,1130,1140,1013,777,733,724,683,777,763,557,421,896,1544,1428,1506,1210,639,810,1142,825,499,543,444,627,920,1058,677,429,802,924,689,716,854,1001,1078,1306,1318,1372,1428,1250,1086,1044,1360,1838,1716,1356,1356,1346,1296,1332,1292,1140,778,818,1078,627,355,590,823,869,1046,962,1076,1144,927,1144,1030,1262,1164,1284,1158,698,688,851,1330,1454,1448,1616,1524,1846,1938,1356,907,970,1042,1482,1578,1456,1326,1108,901,1072,1064,1058,1548,1290,974,937,849,931,1098,1218,1214,967,906,1005,1072,1102,897,673,1062,1498,1220,1007,942,1198,1428,1408,1224,1236,1406,1200,623,923,1146,608,427,810,1300,1312,1106,1174,1042,1186,1454,1100,478,512,778,641,748,1058,1248,1050,1096,1252,1430,1032,818,1322,1330,1358,965,610,744,910,1458,1684,1450,1368,1466,1476,1334,1384,1392,1378,1498,1476,1568,1612,1238,1402,1274,869,587,363,337,351,437,502,529,788,1124,1272,1208,1382,1586,1440,1560,1594,1376,1488,1700,1188,852,1144,1264,1384,1280,1024,1242,1552,1396,1384,990,925,1318,1470,1594,1058,934,1124,750,470,561,1060,1288,734,684,944,1110,1356,1396,1438,1550,1676,1410,1112,1168,1220,1390,1438,954,1062,1372,1538,1410,1672,1508,1036,583,603,965,1140,1260,1280,1352,1104,769,904,716,559,647,722,792,617,749,980,580,391,325,367,473,427,431],[388,371,371,406,473,525,525,474,451,473,527,497,420,430,492,562,410,383,386,406,329,329,408,437,422,409,409,410,391,372,340,253,282,346,296,299,396,417,377,305,299,353,390,399,445,383,365,565,738,745,731,658,514,548,983,802,1260,3626,2574,839,473,452,411,485,543,551,466,536,576,589,750,718,594,511,417,723,751,889,842,561,608,788,760,708,580,502,397,342,686,961,1078,579,313,430,609,582,653,590,399,441,383,483,738,1212,1003,635,494,417,697,865,858,1034,1406,1552,1396,813,591,545,505,808,894,637,536,473,429,476,481,413,446,675,722,606,635,735,1114,1304,1450,1768,1450,987,914,572,458,463,436,383,518,915,939,989,1386,1362,974,637,470,513,905,1204,1036,624,882,1122,1068,994,830,904,1234,1320,1246,1084,754,735,941,964,1222,844,582,736,1046,1788,1882,814,985,1234,933,436,258,296,327,525,630,678,639,534,452,273,298,297,294,330,304,328,359,330,326,328,541,685,498,612,756,796,1056,649,530,698,980,957,1052,1282,1150,861,808,709,725,658,826,1302,1082,762,556,628,921,1054,877,802,939,826,601,554,600,673,736,599,535,714,1200,1214,925,1394,1690,1316,733,359,318,326,307,301,327,343,325,308,631,1214,1290,1268,1190,825,648,648,956,976,1076,946,836,824,824,793,889,865,656,526,866,1302,1484,1488,1438,1244,1266,1360,1228,1122,1424,1558,1522,1358,1266,1344,1416,1472,1438,1310,1214,1198,1062,741,1064,1160,1254,1362,1090,1072,1242,1040,1128,1530,1512,1188,1048,1332,1354,1242,1350,1214,1268,1152,1310,1538,1554,1476,1360,1418,1120,716,855,1020,899,1074,1090,1056,1112,1294,1320,904,900,1210,1116,880,963,882,1040,1322,1324,1230,1466,1428,1282,1256,1440,2040,3118,2614,1178,1276,775,717,957,1304,1646,1470,1116,749,487,481,506,506,492,473,487,786,1138,1242,1224,1348,1520,907,473,529,594,475,636,966,1046,1092,597,382,379,530,1288,1556,1188,766,577,816,1058,681,852,1622,1810,1434,964,849,968,1032,1032,984,1424,1726,1322,1538,1522,1434,1404,1470,1112,1100,1178,1216,1026,1010,1056,1194,1422,1166,745,500,734,1132,1040,899,879,1044,1116,1044,1390,1548,1164,574,370,351,343,368,335,395,339,788,1026,630,473,471,430,759,1126,933,553,552,500,449,339,491,752,670,476,567,589,460,527,1064,1522,1318,952,880,1150,1122,1164,1372,1230,1078,1084,1026,1044,771,967,821,859,792,885,994,984,994,816,566,970,1178,1042,1156,1148,885,1010,959,681,716,1224,1230,765,855,1504,1682,1324,1017,1036,1050,818,868,629,450,902,970,1140,1356,1246,804,656,1180,1372,1278,714,933,1240,1488,1502,1212,1252,1192,712,465,509,828,792,799,1108,748,374,669,1362,1570,908,525,463,747,1184,944,462,453,571,649,532,651,880,1214,1540,1260,666,741,834,829,1114,649,572,522,745,1150,1186,1010,887,868,514,547,570,1036,1368,1320,1332,1142,1094,1344,1154,549,392,496,752,752,712,922,617,708,1250,1594,1576,1438,1050,592,813,1354,1436,1102,847,739,693,709,863,665,594,813,788,918,1836,2896,2680,1862,781,938,744,381,284,349,615,937,920,664,648,916,1346,1434,1428,1320,1424,1356,1294,1444,1646,1614,1552,1142,616,543,893,1306,1198,583,651,746,564,552,611,857,1062,893,763,699,858,1302,1162,444,603,967,1074,1070,1264,1032,666,510,474,643,844,890,818,439,390,473,479,462,457,496,1034,1496,1340,892,655,765,834,784,558,493,480,466,438,421,477,508,432,716,988,979,1448,1734,1906,1108,1190,1296,1174,1046,1826,1354,831,1676,1948,1600,1494,1714,2120,2314,2204,2164,2098,2172,2092,1356,609,467,628,1116,1768,1786,1001,1100,835,764,1324,1518,1188,975,893,738,581,524,719,849,1124,1186,1266,1058,1146,735,412,305,409,617,642,590,513,609,882,896,541,510,694,981,897,748,1042,1262,1086,1028,1054,561,301,462,985,735,459,414,385,446,479,580,550,587,388,277,250,264,244,251,531,361,252,269,276,410,462,424,765,579,328,254,231,283,373,486,510,520,578,436,370,523,647,612,536,611,449,1178,1042,384,416,573,756,1200,933,433,369,576,734,508,743,934,842,1744,2758,2676,1706,520,519,490,345,365,683,1102,1158,601,245,438,774,830,595,691,767,520,386,332,398,420,360,294,294,318,307,359,543,583,338,346,486,843,1092,1268,857,465,745,926,857,823,879,1202,1078,735,637,714,862,809,893,915,850,727,658,626,455,558,810,396,317,390,548,443,371,428,502,447,384,529,1070,1350,816,343,360,724,753,777,1350,1484,1560,1126,637,522,821,1440,1778,1918,1638,1172,1290,1908,1932,1530,1440,1422,994,462,400,769,1338,1394,1320,1174,1164,1458,1582,1192,902,1076,1376,1246,1076,1052,998,1090,1268,1222,1222,1076,839,623,925,1214,1172,737,652,1418,1524,1368,1108,885,944,923,821,1210,1394,1310,1136,1116,1210,863,1368,1914,1290,1438,1322,1088,1310,1874,1858,1588,1432,1242,1250,1294,1072,1684,2228,1660,1660,1604,1692,1806,1888,1860,1860,1808,1514,1272,937,934,763,1136,1496,1092,761,871,1196,1496,1428,1182,857,573,778,650,708,612,582,1026,802,502,478,421,423,448,444,434,427,443,463,1444,2230,2990,2830,1140,738,1344,1392,1300,838,663,572,485,589,900,1062,888,630,865,947,999,1182,1104,799,796,902,912,1142,1038,1198,1398,1688,1820,1450,1076,993,1270,1438,1508,1644,1696,1198,741,728,1094,1490,1388,1616,1690,1186,1496,1556,1308,1140,1078,1228,1428,1800,1814,1352,1036,1226,1288,932,840,1190,1366,1252,1376,1396,1368,1040,929,933,763,1021,1350,1384,1292,1182,1176,1182,1042,1058,917,848,1402,1648,1316,1168,1362,1360,1214,1444,1100,778,1042,1162,1122,1136,1464,1760,1856,1640,1274,1296,1462,1446,1380,1482,1158,1198,1372,1468,1484,1478,1472,1506,1488,1382,1256,1228,1384,1368,1092,836,1130,1050,997,987,944,1150,1290,1086,951,974,1128,1370,1406,1622,1210,1390,1246,1354,1306,1058,1034,1086,1222,1124,1354,1636,1542,1694,2124,1886,1312,1154,747,404,359,334,316,297,285,325,350,360,364,1010,1736,2144,1698,1306,1262,962,780,1310,1378,849,506,479,464,462,584,667,592,418,349,438,392,384,592,674,789,795,1028,865,684,606,905,1180,910,585,1026,1230,661,675,657,735,1004,604,392,369,297,322,509,856,1104,1416,1518,1104,702,702,888,1024,1300,1376,1376,1498,1422,1250,1058,940,1282,1464,1142,628,667,709,752,1104,1584,1430,1172,1256,1382,1498,1484,1414,1290,1172,1306,1272,1072,1240,1190,1158,1378,1344,1090,1256,1260,957,776,1120,1224,824,709,1200,901,482,579,473,498,513,549,868,1300,1084,1184,1218,1140,1202,1232,1048,706,799,1294,1166,935,1148,1344,1015,979,1122,1038,1064,1150,1204,1384,1426,1396,1280,1124,1352,1428,1486,1192,1260,1214,959,1072,1318,1420,1384,1294,1170,1308,1428,1430,1316,1494,1516,1150,1266,1578,1350,1202,1424,1232,1062,1278,1102,690,727,1522,1404,1028,1062,1130,933,1124,1626,1452,962,643,645,877,717,617,771,761,891,1340,1498,1506,1366,1096,767,975,1474,1212,1454,1572,1296,1354,1270,908,604,1076,1720,1356,1050,924,1009,990,844,722,830,909,782,483,623,1228,1112,1080,1764,908,431,436,536,510,633,924,1160,1240,1318,1080,810,792,628,545,526,412,420,1052,1350,1188,1346,1170,525,438,604,518,486,534,505,776,1023,1074,745,483,692,716,678,1072,1294,1292,1190,1494,1412,1390,1238,1074,1126,1302,1448,1450,1256,1198,1428,1252,1134,1290,1376,1302,901,679,507,516,584,514,637,1152,1300,1210,1472,834,887,935,587,623,740,976,1070,1180,1216,1244,1366,1152,1058,1560,1478,1626,1412,1050,864,925,1210,1282,1092,995,1048,885,574,699,879,860,1146,1064,908,828,644,742,972,1140,1140,930,957,906,803,885,896,678,1001,1470,1436,1078,775,933,1278,1436,1550,1388,1104,1346,1072,1366,1330,673,450,524,735,938,1016,1012,1122,1344,1440,1164,763,893,1050,1010,1266,1538,1312,1142,1306,1484,1614,1340,1410,1234,1026,1218,1324,1036,1128,1898,2360,1910,1682,1486,1296,1298,1472,1418,1368,1322,1332,1546,1738,1520,1358,1210,885,600,389,351,383,417,416,421,401,848,1100,1198,1340,1480,1454,1088,1038,1266,1426,1354,1004,814,931,1090,1056,1278,1432,1124,922,1230,1290,1104,1048,1232,1336,1510,1660,1176,776,792,1044,1078,1128,1290,1334,1068,911,1312,1264,1034,1062,1050,1116,1522,1598,1190,1224,1486,1578,1388,1076,985,1282,1196,985,1736,2020,1080,495,490,728,822,996,1106,1332,1340,1390,1228,918,678,536,946,1080,713,570,697,425,320,306,431,522,376,327],[384,381,408,426,458,525,547,561,540,409,365,359,397,464,506,413,416,432,440,422,356,365,409,412,407,401,426,447,435,415,352,267,289,389,356,306,337,371,368,314,287,291,368,372,410,365,357,419,529,502,447,497,525,580,834,757,828,3174,2588,985,533,452,393,469,545,498,516,631,519,656,1090,1172,1122,1112,1015,803,542,539,615,744,633,565,466,462,411,411,449,323,544,1116,968,396,414,762,830,1094,1260,1048,673,453,517,750,803,937,891,891,807,463,343,387,739,1100,1708,1678,1554,1052,617,514,641,752,722,814,624,410,584,672,794,704,591,614,818,868,935,1224,1316,1368,1890,1986,1132,622,926,969,833,717,642,626,952,1282,1140,1366,2126,1792,1064,743,576,590,846,988,966,731,868,1328,1428,1234,894,1216,1112,1284,1552,1176,792,894,1114,1100,985,785,548,618,930,1874,1744,1022,1094,1286,930,436,276,308,373,559,739,711,581,482,317,283,324,277,363,368,299,343,340,347,328,304,502,523,407,469,565,742,979,808,650,874,901,1042,1344,866,1140,1310,796,566,536,465,716,1262,1390,804,349,405,399,415,494,616,780,540,394,372,397,381,391,379,482,789,1206,1164,1016,1284,1120,590,367,411,640,556,386,365,339,359,402,390,526,1072,696,729,968,1002,730,877,1184,1226,902,736,847,893,955,1012,825,1266,1230,855,977,1340,1704,1566,1192,1276,1336,1256,1196,1204,1256,1562,1864,1436,1460,1438,1322,1536,1342,994,810,1108,986,515,625,747,996,1340,1410,1294,1156,1222,1698,1874,1692,1640,1520,1674,1634,1220,844,1064,1328,1344,1312,1282,1378,1272,1252,1484,1420,1158,1070,971,1013,1120,1080,1068,1318,1376,1178,1178,1158,1146,1256,783,764,1052,1288,1408,1266,1274,1642,1624,1466,1506,1474,1636,1732,1622,1628,1378,1200,1176,1154,1406,1858,1760,1334,874,477,532,600,535,439,443,661,1238,930,940,1026,1256,1210,746,605,636,529,658,953,883,1090,1180,676,427,462,468,490,583,686,700,764,885,648,650,655,1288,1432,1238,1100,912,1000,1256,1200,1650,1808,1512,1278,1500,1498,1340,1118,1002,1018,1068,1204,1214,868,854,1202,1282,1196,982,785,446,558,745,1240,1432,1176,1116,1070,1015,1476,1416,733,354,332,314,299,282,291,312,423,1008,1182,638,463,434,438,1008,1316,903,455,381,437,532,482,511,808,959,887,1060,984,746,956,1200,1034,888,841,890,966,1138,1322,1272,1160,633,927,1140,1306,954,1194,949,799,750,752,662,566,588,511,565,932,999,1198,1510,1378,1086,981,1012,782,810,1104,933,788,1362,1754,1494,1276,1204,899,670,711,1072,790,604,960,1100,1504,1382,1036,593,784,1322,1598,1272,638,645,681,772,986,910,993,1338,1050,600,508,601,572,814,1096,769,476,805,1366,1340,1002,784,558,1023,1362,787,393,437,849,1184,895,650,789,929,1388,1082,549,674,1023,1092,1052,633,553,636,773,838,647,802,1338,1518,864,717,803,1742,1810,1372,1176,1122,1068,1136,1102,816,638,810,899,764,918,1110,1009,1010,1324,1558,1390,1006,991,1130,1216,1372,1372,1314,1278,665,463,553,667,712,990,1124,825,830,1554,2308,2126,1550,900,841,644,394,321,326,444,763,932,719,606,621,799,1100,1366,1432,1336,1312,1342,1632,1700,1782,2280,2004,1122,755,1212,1394,1606,1154,934,1036,765,781,904,789,929,771,661,1358,1484,1332,1196,924,977,890,851,1396,1850,1394,649,397,448,644,855,808,678,459,400,411,415,507,624,563,1026,1522,1600,1400,1456,1446,982,891,589,452,462,475,436,356,430,372,545,1514,1332,899,1048,708,606,724,859,865,916,946,1672,1656,706,1458,1832,1526,1606,1636,2026,2244,2176,2088,2106,2078,2114,1732,849,562,861,1286,1864,2028,1442,1009,662,971,1262,1270,1090,854,673,458,516,560,763,847,896,697,759,1021,1158,864,562,343,378,542,651,684,691,1021,1040,1130,980,672,584,800,1032,991,977,915,836,1034,1092,900,724,858,1132,813,487,358,361,308,361,683,641,440,631,541,343,264,288,322,312,287,235,317,296,278,377,458,652,450,276,240,260,293,337,445,492,420,387,358,363,466,441,537,523,422,474,1524,1482,600,445,495,633,938,678,470,392,698,607,502,791,825,669,1944,3034,2504,1482,814,905,502,308,347,392,638,810,507,377,568,702,677,380,554,747,808,594,403,423,375,352,404,524,608,423,353,558,696,380,322,356,342,628,1182,908,422,438,371,336,366,408,414,674,447,317,633,1015,889,1100,1168,972,1114,852,403,356,616,823,483,412,498,752,591,443,483,430,381,313,514,1222,1764,1104,408,333,669,727,918,1034,880,617,539,618,894,1196,1416,1378,1312,1726,1788,1968,2308,2300,2084,1700,1066,615,398,691,1288,1406,1286,1058,997,1244,1590,1430,1078,1058,1290,1278,1068,1318,1238,1470,1176,961,1084,1024,954,637,469,910,1270,1506,1310,1202,1512,1246,1204,989,867,1026,884,963,1562,1946,1754,1204,1010,835,860,1516,1674,1276,850,643,812,1230,2256,2600,1642,1236,1544,1376,971,1146,2084,2012,1682,1726,1686,1758,1858,1826,1748,1762,1508,1160,999,846,869,897,1274,1480,1152,879,1026,1190,1250,1258,1088,825,609,694,576,708,626,867,1110,623,494,460,422,423,439,444,448,437,455,572,1620,2440,3196,2500,843,1004,1456,1026,1214,735,918,962,799,742,876,743,646,623,600,854,1080,913,697,539,529,824,1240,1284,1002,1024,1132,1202,1266,1110,839,612,697,780,867,1036,1136,935,1182,1252,1246,1294,942,1082,1484,1262,1496,1462,1202,1076,915,899,1224,1616,1544,1150,1050,1336,1242,1306,1404,1548,1486,1366,1274,1344,1208,894,909,825,724,982,1200,1136,1184,1248,1210,990,855,1084,1314,1278,1492,1530,1180,1166,1374,1522,1230,1448,1246,1154,1218,905,888,1312,1718,1838,1896,1592,1088,1156,1324,1050,997,1026,993,1148,1346,1412,1394,1418,1428,1364,1500,1546,1466,1294,1300,1222,1236,1140,1242,1216,1240,1182,1210,1132,1038,1172,1156,1188,1396,1290,1506,1646,1010,1026,1126,1086,1058,1130,1202,1278,1358,1312,1900,1904,1682,1750,1830,1462,1172,1150,677,430,356,326,316,310,289,324,343,349,348,1008,1920,2310,2122,1966,1836,1302,615,1354,1556,1050,647,624,626,529,481,539,588,614,405,434,373,321,375,476,860,802,709,848,805,579,687,1096,965,520,1030,1134,1056,1124,1001,1104,983,544,498,654,907,998,1206,1766,1716,1584,1562,1328,1204,1180,1046,950,1160,1364,1448,1330,1338,1454,1338,1268,1214,1342,977,585,521,793,752,581,904,1118,1318,1426,1498,1354,1364,1268,947,891,1228,1262,1088,1134,1166,1294,1498,1280,1170,1206,1334,1246,1052,899,796,589,761,1162,796,549,647,581,619,666,735,954,1206,821,884,1256,1358,1266,1250,1110,750,889,1278,1038,910,1328,1526,1146,1220,1310,1160,1094,1156,1310,1428,1338,1132,993,1092,956,1188,1298,1260,1524,1384,1330,1418,1494,1614,2338,1688,1302,1366,1788,1544,1196,1438,1552,1260,1136,1332,1444,1166,1166,1070,1166,994,861,900,1164,1272,1224,1208,1126,1256,1246,1330,1394,1426,1104,560,463,641,717,923,1064,803,880,1312,1546,1348,1262,962,622,758,1434,1388,1246,1354,1146,1002,1110,1021,888,1478,1542,1550,1622,1344,1070,1002,808,742,794,709,499,445,517,581,572,971,1090,528,324,286,307,376,412,652,952,727,885,1240,1262,1228,1266,1240,1072,997,1122,1394,1488,1478,1548,1268,571,377,462,440,457,490,675,969,921,718,709,934,1208,1292,908,1118,1218,1180,1178,1296,1272,1214,1134,1200,1118,1052,1168,958,1012,1114,1362,1354,1406,1256,1204,1380,1448,1106,681,740,768,679,1168,1368,1084,1238,1206,745,948,952,668,473,440,649,1068,1240,1268,1238,1344,1440,1322,1552,1494,1580,1204,949,947,1234,1420,1398,1134,1048,959,754,565,670,682,596,808,825,1080,1060,568,648,735,777,1082,1476,1166,1190,1248,1228,1212,891,927,1326,1484,1376,1002,744,948,1302,1480,1310,1470,1336,1312,1480,1048,521,445,469,445,763,1292,1426,1334,1212,1106,1290,1134,1214,1564,1686,1512,1434,1366,1252,894,1382,1528,1190,1132,1286,1264,1192,1372,1450,1614,2440,2942,2122,1512,1574,1282,1504,1708,1436,1394,1376,1324,1512,1604,1504,1254,1056,634,437,344,319,331,351,339,357,371,559,689,774,980,1278,1366,1202,1004,1250,1094,1084,964,874,787,864,1346,1232,1072,1274,1344,1866,1660,1072,1140,1402,1538,1566,1484,1386,1266,991,1019,821,762,713,1054,1150,1232,1040,584,486,558,585,547,808,1438,1084,1100,1368,1052,788,760,803,1142,1040,703,1270,1954,1176,859,1312,1572,1098,885,1082,1134,1344,1518,1322,1324,1228,731,833,709,937,661,594,423,356,401,444,416,312,360],[390,394,403,386,539,717,682,686,673,534,435,457,495,520,553,522,484,465,475,460,425,414,414,440,445,410,432,442,425,385,308,277,325,394,406,364,377,440,386,338,308,278,350,384,434,386,328,369,406,422,415,658,963,795,470,497,566,1822,1400,769,623,412,368,427,518,623,1206,1338,818,1194,1434,838,748,1230,1638,1430,1000,703,811,963,519,715,493,354,359,329,367,343,430,762,735,406,565,892,1013,1276,1140,1234,895,685,887,1100,969,691,978,1274,1036,640,436,495,739,1228,1510,1270,1238,1318,1026,670,913,938,671,984,700,618,824,1208,1764,1446,708,835,1270,951,948,1096,1386,1730,1572,1338,955,747,832,1042,1164,849,562,866,1454,1330,975,1042,1594,1322,813,684,644,901,1044,993,917,809,869,1126,1418,1146,1006,1342,1206,1132,1072,720,595,963,1108,832,938,1052,607,460,592,1262,1152,1118,1246,1272,969,501,306,303,301,395,535,592,555,409,268,310,312,303,350,333,359,339,311,338,263,328,505,436,358,367,377,607,987,1066,934,872,1048,1550,1612,790,1058,1338,974,551,376,367,639,1368,1522,804,381,395,387,500,585,462,626,638,455,364,377,421,467,525,618,849,1350,1216,872,641,791,623,471,525,842,897,640,410,345,341,451,704,557,1168,867,801,961,1056,1010,1068,1350,1234,866,1058,979,666,686,1072,1278,1506,1510,1224,1198,1478,1566,1244,1210,1664,1386,1108,1244,1428,1366,1440,1504,1328,1410,1242,1360,1396,922,828,689,832,771,531,615,641,659,698,1068,1180,1032,1350,1636,1698,1428,1410,1454,1600,1610,1418,1272,1404,1510,1416,1250,1284,1306,1188,1158,1456,1350,1154,841,594,814,1074,1084,1178,1532,1390,1264,1248,1248,1074,1302,1070,1112,1254,1432,1350,1174,1338,1584,1588,1554,1256,910,862,1072,1560,1848,1546,1400,980,1140,1446,1568,1606,1434,945,716,701,679,708,676,568,1084,1300,833,807,695,893,1136,917,946,885,786,1124,968,584,880,921,566,550,724,618,673,1024,762,464,643,792,558,824,1322,1504,1194,1190,1338,1326,1736,1858,1294,1598,1670,1574,1616,1698,1732,1174,801,975,1216,1116,1144,994,926,951,1256,1426,1126,1023,916,755,882,1206,1300,971,656,926,1260,1652,1864,1302,645,419,354,310,260,220,243,276,326,543,659,590,613,537,518,1126,1236,761,489,463,673,955,848,536,725,1028,1142,1242,1042,749,798,883,1116,1318,1356,1306,1078,1140,1013,968,1190,858,1326,1324,1292,994,1014,1340,1296,1098,1036,846,702,505,467,501,565,636,767,1192,1196,662,637,933,692,646,1212,1094,1378,1134,1142,1208,1128,1001,853,711,597,727,730,871,1104,1390,1472,1184,1021,742,902,1362,1616,1148,571,733,851,796,922,1040,1156,1510,1208,566,488,941,894,802,929,884,808,735,868,747,951,1188,694,630,754,484,397,479,732,1058,954,666,520,501,723,794,751,854,1050,990,1078,1070,865,732,504,491,724,740,1021,1410,1368,1118,987,1714,1824,1294,964,974,894,919,648,565,525,1005,1216,863,965,1528,1432,1324,1686,1568,963,641,1012,1372,1494,1382,1334,1396,1410,940,540,499,464,558,806,808,645,709,1356,1542,1056,711,654,747,709,731,813,643,387,409,647,693,664,651,687,614,965,1328,1298,1322,1484,1806,1850,1894,2256,2356,1910,1010,960,1464,1792,1420,898,1023,1316,1306,990,940,1508,1170,694,1506,1540,1206,1112,921,635,645,1218,1742,1614,1132,658,364,384,427,390,418,386,408,368,345,484,1013,1200,1166,1730,1452,1702,1516,1340,1476,1108,963,716,499,483,468,465,461,510,370,932,1802,902,1566,1266,485,401,472,430,396,391,507,1324,1868,706,1001,1520,1438,1672,1656,1470,1660,1896,1952,1914,1810,1858,1844,1104,648,855,1034,1842,2196,1628,814,783,1116,1258,1236,1068,662,556,581,763,775,855,962,697,487,450,704,1028,1060,961,902,495,614,696,642,800,984,1040,1172,1276,1280,999,698,738,916,969,752,601,985,1216,1136,931,613,534,659,648,542,354,288,340,613,646,503,1272,1001,569,541,384,313,307,334,266,286,247,295,474,541,436,359,358,265,310,278,301,375,399,398,457,610,677,781,737,566,494,387,661,1398,1202,783,407,489,529,410,427,412,563,641,475,754,1068,662,616,1526,2070,2128,1296,1110,907,466,515,469,369,398,404,347,524,762,738,742,346,473,733,999,603,351,319,260,330,535,933,1098,463,386,745,675,397,423,506,395,579,1092,763,332,496,710,812,440,444,364,424,500,493,985,1274,858,996,1088,958,906,762,354,326,529,574,431,368,558,827,823,894,962,343,316,401,653,1290,1372,705,351,431,523,466,731,1222,947,498,377,611,1198,1522,1468,1276,1224,1322,1622,2016,2326,2490,2384,1592,735,379,455,1082,1390,1300,1042,914,1058,1126,1098,916,1013,1394,1422,1160,1262,1730,2214,1838,1168,1108,1180,1004,912,830,868,1246,1396,1760,1620,1406,1208,1288,1312,1116,1054,962,833,1136,1810,1966,1692,1114,823,749,1002,1440,1384,1058,931,842,931,1298,1650,1676,1554,1644,2370,2378,2062,2062,2098,1700,1664,1684,1490,1692,1784,1730,1794,1782,1538,1220,879,902,744,988,1404,1492,1334,1028,962,1012,967,876,858,816,648,560,498,642,740,1112,907,491,495,487,438,424,392,435,444,441,409,908,1820,2608,3182,2114,640,1158,1432,938,998,569,824,1046,736,633,772,760,877,713,578,558,495,439,441,473,477,804,1022,1074,985,858,942,869,1250,1416,792,606,671,656,541,603,871,1274,1594,1456,1224,1288,1240,1162,1836,1382,1248,1322,944,565,708,983,1338,1556,1332,955,949,1084,700,991,1282,1466,1558,1490,1426,1316,1106,1116,950,573,394,527,830,1064,1194,1342,1124,1042,761,861,1260,1156,1162,1236,940,952,817,1036,1154,1356,1446,1492,1266,680,520,982,1388,1620,1970,1668,1028,980,1068,985,1498,1176,1250,1432,1300,1210,1278,1434,1392,1400,1536,1422,1316,1416,1390,1622,1692,1714,1504,1120,1102,1040,1190,1058,1316,1552,1290,1354,1180,1098,1228,1084,971,1186,1106,943,1036,1292,1360,1086,1062,1012,1586,1914,1824,1654,1566,1242,1062,1192,703,532,415,353,325,327,332,394,379,353,385,946,1952,2254,2098,2136,2276,1976,1142,1534,1476,802,564,626,660,727,534,405,365,573,435,397,395,393,373,417,872,964,660,664,860,778,854,1130,1108,578,725,860,1296,1390,1106,902,730,700,656,895,1334,1013,1162,1528,1562,1526,1470,1274,1316,1188,724,474,473,799,1346,1386,1272,1112,838,1178,839,873,1100,773,555,828,879,839,960,1013,1108,1322,1488,1198,997,806,670,640,732,771,965,1118,1134,1438,1446,1218,1362,1188,1310,1268,1088,1015,913,905,1084,1170,670,525,688,863,841,931,1124,937,741,642,674,947,932,1064,1362,1118,828,1015,1126,775,870,1256,1094,894,1050,1032,1110,1132,1104,1248,1422,1350,974,761,1064,1088,954,1128,1516,1504,1448,1384,1268,1500,1766,2150,1594,1234,1108,1284,1252,1096,1024,1210,1250,1130,976,971,871,974,1238,1220,803,512,976,1626,1360,1250,1320,1282,1102,1052,1266,1488,1606,1106,578,653,877,856,926,1042,982,1168,1402,1462,897,917,633,478,631,1334,1710,1552,1284,1220,1344,1034,861,999,910,1072,1452,1808,2120,1968,1222,619,600,708,751,721,555,528,518,575,575,397,342,318,289,370,481,510,807,1088,685,781,1144,1040,906,796,774,908,1156,1368,1546,1514,1198,1234,1336,1226,936,982,1176,1216,1004,1082,1124,769,766,1224,1388,1368,1390,847,1098,738,913,1328,1416,1200,1316,1338,1118,959,1138,1194,1226,1276,1026,887,1092,1102,827,987,1314,1500,1628,1352,912,737,1076,1370,1170,1306,1116,664,794,1236,1478,1264,852,514,807,1056,1084,1032,767,979,1182,1356,1528,1700,1648,1876,1994,1900,1680,1388,1232,904,1094,998,951,893,899,796,899,925,780,1172,1178,616,671,1021,1322,1974,1854,1224,1230,1368,1362,1038,515,570,1144,1500,1310,1260,1002,924,1172,1244,1376,1548,1192,1108,1300,741,482,409,471,672,1192,1760,1570,1502,1544,1536,1468,1266,1316,1472,1462,1390,1462,1614,1380,948,1230,1360,1028,1256,1504,1454,1378,1614,1686,1622,2056,2530,1622,1058,1412,1504,1968,2204,1856,1562,1522,1416,1208,1308,1644,1410,821,486,417,393,390,371,338,320,339,367,436,498,713,962,1192,1226,1186,1362,1310,1082,1290,1224,866,590,576,910,852,767,828,888,1130,1434,1506,1366,1394,1426,1358,1426,1474,1516,1284,684,467,756,902,935,897,935,646,367,349,333,447,435,634,1778,1582,1424,1448,1262,907,879,1318,1500,1386,1078,1150,1386,1330,1248,1314,1134,761,678,1064,1314,1242,1238,1422,1564,1466,962,858,582,694,819,1023,788,415,420,398,308,279,293],[430,403,406,384,560,747,731,670,650,597,537,522,511,522,562,549,480,432,430,405,422,441,408,433,466,433,432,444,425,366,279,278,343,346,354,361,346,359,359,354,405,350,338,383,489,494,386,398,410,438,619,970,1302,914,451,410,733,966,838,722,594,389,357,461,468,805,1936,1780,891,1088,1026,634,753,1023,1244,1162,1038,801,665,594,327,541,564,860,1094,642,285,373,508,650,691,525,446,579,1170,1092,931,1376,1412,975,802,1086,947,498,786,1020,779,585,459,681,760,895,898,623,695,1198,1376,976,962,866,868,1058,844,917,1120,1230,1346,1276,1005,1278,1224,979,1054,1134,1764,1582,1406,1428,902,517,487,812,969,625,452,783,1432,1204,1282,1238,1248,1050,743,688,904,1250,1190,1054,1284,1550,1188,1196,1316,1019,1390,1604,1432,1104,1028,1060,1164,1782,1288,677,818,948,540,423,495,877,1528,1898,1824,1638,1064,616,532,364,287,294,395,543,539,383,310,337,364,376,326,328,353,360,360,379,374,383,444,388,303,319,339,474,918,1134,948,810,1064,1098,1036,642,889,1110,1136,843,437,375,498,860,1018,570,393,375,387,526,574,722,1070,860,494,417,355,398,491,604,726,777,1074,1340,985,745,871,703,501,556,878,1034,846,427,393,567,782,1110,1012,1234,1188,1056,785,580,474,639,1012,1180,1152,1458,986,590,583,856,1478,1438,1112,1418,1842,1526,1268,1226,1296,1444,1394,1166,1212,1258,1406,1388,1192,1384,1302,1050,1384,1220,928,1002,979,1080,1246,1184,878,964,823,644,1014,929,980,1300,1664,1552,1250,1116,1064,1238,1262,1238,1370,1546,1550,1586,1644,1660,1676,1328,1478,1696,1236,841,698,805,962,1066,1007,1218,1460,1434,1372,1300,1306,1076,1180,1186,1130,1216,1376,1268,1090,1200,1418,1336,1570,1720,1098,843,1130,1392,1670,1646,1378,1084,839,896,1058,1252,982,1060,904,791,774,890,792,880,1412,1094,898,861,455,451,615,880,1094,761,571,673,513,478,921,1138,674,675,776,625,804,1046,909,457,524,758,996,1170,1142,1224,1266,1228,1172,1032,1446,1584,1458,1466,1300,1314,1494,1678,1622,1122,863,1138,1546,1328,1506,1108,1116,1210,1386,1618,1452,1252,1192,1158,1304,1400,1138,842,459,819,1148,1478,2010,1160,430,376,340,282,263,274,236,247,282,341,351,393,478,790,1044,1124,807,540,453,489,673,879,678,423,665,894,900,929,843,808,696,768,1336,1572,1592,1392,1150,1222,802,758,1262,1340,1432,1250,1112,957,1080,1510,1410,1360,1476,1464,974,549,448,471,499,499,682,1244,1506,1176,617,860,726,646,1364,1450,1284,888,1096,1178,915,910,1124,1086,846,698,708,1168,1166,1652,1444,1362,1056,784,996,1304,1462,1066,593,929,974,915,1048,1406,1546,1606,1114,546,749,1150,1090,788,938,1104,842,775,1013,707,1152,1850,960,478,594,606,699,467,360,451,547,553,447,508,1011,1202,944,695,581,658,897,1042,917,498,615,1114,1708,1294,801,1022,1494,1338,1206,1584,1592,1360,1172,1530,1244,1180,666,547,512,828,1298,1272,1472,1874,1360,982,1164,1306,831,591,902,1162,1322,1362,1488,1478,1384,1108,695,811,749,384,197,239,554,872,1504,1346,670,735,970,833,562,703,1076,985,552,422,453,601,706,915,996,626,846,1288,1308,1366,1590,1476,1306,1456,1788,2082,1666,816,639,1078,1228,1060,742,904,1632,1594,1102,1358,1886,1674,839,1220,1494,1204,966,797,803,1180,1394,1060,788,538,379,304,441,562,603,587,819,706,310,364,590,1384,1346,1038,1738,1282,1428,1086,1058,1484,1284,1013,764,474,712,1356,1712,1320,791,421,781,1009,1050,1642,910,318,328,347,319,310,325,418,1038,1756,782,763,1662,1576,1510,1416,1082,1474,1710,1642,1704,1672,1420,1686,1528,867,639,822,1496,2160,1898,1182,1080,1184,1122,1134,960,594,662,715,863,995,847,562,424,414,383,417,624,1072,1110,1178,893,622,479,566,634,651,927,1136,1280,1472,1568,1348,803,761,940,999,863,896,819,840,974,914,814,633,495,611,502,321,273,346,328,258,867,1498,1892,1406,568,342,516,478,321,252,266,329,636,719,731,1616,1688,478,348,304,330,361,302,331,514,656,794,981,935,653,613,633,526,609,480,424,351,386,356,320,341,399,593,424,446,762,689,335,390,713,808,1146,883,915,922,897,664,370,619,1234,970,405,392,666,877,987,501,463,983,883,379,347,364,375,339,500,973,1102,419,369,779,592,296,434,728,546,547,1168,831,346,727,1340,1168,517,292,351,500,711,817,1026,968,916,991,1138,1320,675,492,566,636,480,375,459,540,712,599,560,685,1028,404,322,380,567,778,577,382,509,586,406,265,636,1134,724,500,509,748,929,1356,1414,1154,1007,935,1244,1654,2084,2450,2012,998,478,355,509,1090,1308,1086,860,1390,1892,1550,1000,796,1208,1424,1282,1126,1644,1984,1960,1332,1102,1408,1476,1170,1042,1230,1324,1452,1628,1608,1710,1400,1332,1428,1188,1008,856,819,918,1400,2026,2098,1600,1066,767,728,1110,1274,1180,1300,1122,873,1104,1618,1798,1830,1658,1550,1870,2540,2908,2330,1520,1404,1686,1544,1540,1832,1828,1596,1876,1886,1462,1044,796,825,791,951,1262,1486,1464,1356,1352,1304,1262,1312,1360,1258,1180,1202,1136,987,1224,1346,834,547,595,619,475,420,401,411,434,446,523,980,1546,2032,2420,1388,594,872,960,563,455,359,608,915,705,600,830,787,1016,594,716,467,423,460,549,547,483,578,657,807,753,814,952,821,1218,1588,1088,742,809,743,517,620,1120,1488,1488,1316,1252,1294,1500,1462,1710,1248,1152,1216,1118,1062,954,982,982,1372,1422,1190,904,913,757,1142,1246,1188,1392,1556,1596,1364,1015,1054,864,605,857,906,972,1160,1310,1364,1394,1116,625,805,951,774,807,921,943,1136,1028,1272,1290,1220,1310,1538,1386,711,436,548,802,1274,1700,1432,1170,1224,1258,1446,1672,1620,1612,1544,1570,1338,1470,1670,1470,1332,1312,1208,1192,1488,1488,1570,1708,1742,1328,1046,1156,1038,1394,1306,1294,1344,1224,1338,1442,1358,1170,1052,1286,1332,1072,960,1186,1250,1086,811,844,1015,1396,1550,1706,1632,1170,1072,1154,1001,696,522,416,375,350,328,333,347,351,339,412,974,1758,1900,1990,2006,1998,1934,1848,2002,1548,771,588,659,636,937,561,564,577,696,543,490,561,584,466,431,691,752,802,1214,1404,1114,944,1046,1272,951,689,547,931,1274,997,954,1007,725,579,608,895,836,1104,1454,1498,1432,1214,965,987,898,536,356,461,918,1312,1148,1260,1184,912,923,578,580,866,959,802,932,1272,1092,1074,1274,1144,1426,1602,1618,1456,1012,705,711,747,801,1180,1334,1302,1482,1232,1236,1378,1268,1094,986,1086,1156,1028,852,647,709,593,420,574,881,823,733,1108,1216,589,520,437,569,898,1094,1412,1418,885,559,905,845,587,678,622,527,616,702,1152,1454,1214,1396,1552,1440,1190,1108,1294,1396,1352,1428,1356,1398,1222,1306,1274,1388,1520,1264,1196,1144,891,894,1340,1098,730,617,777,813,749,702,582,702,990,976,764,616,890,956,769,1038,1420,1296,1134,1009,1044,1178,1340,1250,1130,1146,1202,767,650,1023,989,959,1422,1252,751,606,518,473,841,1500,1744,1852,1452,1460,1656,1042,1110,1484,936,888,1426,1456,1470,1642,1302,638,519,582,706,1076,1009,739,758,793,512,366,368,353,337,388,430,348,503,720,901,1042,1406,1594,1046,477,465,720,939,931,1320,1254,572,562,836,828,912,1174,1332,1250,1146,1302,1288,1284,1410,1468,1496,1448,1134,910,912,574,839,1484,1478,1180,1442,1226,868,1136,1644,1496,1432,1316,840,830,1192,1126,748,823,1172,1306,1444,1356,1038,855,1266,1392,1358,1276,739,655,1282,1830,1554,1012,1308,996,963,1378,1144,769,708,916,1168,1444,1764,1594,1594,2164,1844,2010,1512,921,1064,913,952,1054,1082,991,778,686,1052,1056,623,767,932,920,1138,1364,1332,1368,1104,979,1056,1182,1086,700,594,794,1346,1182,1224,1434,1440,1126,1066,1428,1554,1548,1272,1294,1432,763,591,536,717,1058,1136,1234,1270,1472,1636,1498,1246,1282,1344,1406,1390,1472,1410,1390,1134,1046,1354,1250,1210,1368,1276,1532,1538,1750,1820,1364,1366,1412,1038,845,1092,1510,1654,1560,1528,1398,1420,1202,1024,1186,1338,1040,577,437,466,539,478,383,362,337,325,346,401,418,631,1170,1410,1366,1426,1408,1304,1156,1158,1042,864,598,570,857,703,731,808,580,608,1112,1458,1520,1382,799,805,1152,1432,1562,1586,1092,781,825,985,1188,1176,1172,990,477,313,309,337,342,608,1372,1560,1572,1600,1560,1300,1344,1598,1644,1524,1262,1476,1614,1438,1112,1128,1204,949,753,787,858,907,1286,1406,1262,1332,1188,1210,929,1148,1418,1358,1232,724,401,360,261,283,294],[476,415,391,368,483,633,677,719,717,626,523,471,469,513,536,494,447,419,456,424,437,453,422,418,430,407,407,430,435,391,297,280,357,355,302,304,332,292,289,415,550,466,319,327,420,478,430,386,379,491,570,759,904,857,652,617,832,1032,1058,678,596,568,490,488,506,755,1396,1336,758,810,1026,645,509,705,736,803,1186,1172,612,296,296,395,755,1674,1864,870,336,499,966,1364,1170,691,454,624,1108,1286,1412,1710,1826,1110,574,694,565,364,421,508,508,572,555,603,607,593,579,594,694,872,1384,1168,814,946,1278,1070,604,704,1160,1312,1310,1282,1140,1430,1324,935,1000,1208,1466,1254,1328,1160,871,556,387,454,616,500,387,481,1012,1170,1688,1344,949,778,560,752,1142,1346,1316,1576,1978,1686,1532,1486,1021,963,1380,1254,1170,1019,725,999,1372,1926,1144,600,537,559,445,493,544,923,1708,1732,1556,1516,1058,1168,1026,501,297,386,469,634,642,425,308,363,415,364,336,362,350,359,378,401,391,413,506,438,290,379,535,451,788,1152,815,847,824,1026,1388,938,877,1148,1116,1050,642,384,449,1086,1506,676,489,578,521,555,571,816,1126,967,727,591,399,375,416,521,692,1246,1688,1722,1412,1236,1018,672,590,510,749,1072,1102,970,938,1130,1124,896,828,843,840,682,431,407,392,467,634,1023,1198,954,538,451,507,567,568,549,634,1124,1766,1328,1286,1550,1490,1606,1384,1300,1450,1390,1456,1472,1312,1244,1168,1244,1516,1098,890,1224,1236,1148,1368,1430,1396,1400,879,736,1172,1128,1162,1176,1482,1360,1256,1144,1140,1262,1114,843,913,1023,905,1326,1602,1726,1692,1548,1632,1648,1198,762,863,1038,1032,1120,767,1138,1336,1422,1294,1278,1268,1400,1578,1368,1202,1334,1456,1206,919,1013,1338,1122,1228,1488,1058,938,1120,1192,1308,1414,1414,1114,698,821,1038,1032,928,993,986,1009,820,869,1046,1284,1212,913,1154,521,403,750,738,843,885,590,473,579,755,810,985,756,694,894,908,697,841,944,937,760,813,897,1084,914,707,1054,1190,1098,905,1040,1880,1936,1740,1574,1214,1220,1436,1528,1420,1294,1490,1316,1546,1436,1662,1706,1410,1194,1288,1500,1416,1364,1404,1404,1620,1504,1258,1154,772,854,1070,982,864,468,403,446,419,332,316,283,205,240,282,305,314,279,577,1290,1662,1322,736,486,481,509,739,908,908,955,1070,1054,899,965,993,868,861,880,872,1052,920,728,825,1246,1064,846,822,772,971,1140,917,1072,1078,1150,1066,990,1092,1114,874,545,424,411,450,518,666,944,1246,1450,1028,1028,653,624,1005,1234,957,833,1106,1162,1166,1316,1506,1588,1550,1572,1528,1354,1318,1698,1506,1208,914,717,1068,1416,1480,926,551,955,1134,1106,1282,1832,1830,1674,1078,457,645,967,1038,681,846,942,724,726,975,951,1034,875,645,762,554,612,990,481,298,312,353,419,429,630,1140,998,597,479,483,708,854,872,1096,977,1254,1630,1632,1302,1058,974,1296,1350,1214,1176,949,1001,1440,1914,1802,1638,1070,669,507,512,934,1104,738,854,1042,1100,1324,1534,839,384,504,676,891,1234,1538,1544,1584,1352,652,729,653,398,512,894,940,1072,1618,1226,749,893,983,751,645,690,1038,896,571,525,416,509,788,1132,965,723,1116,1268,1164,1282,892,827,787,1518,1706,1450,1110,669,479,486,665,1166,1250,947,1416,2176,1926,1168,843,917,851,905,1076,1170,1144,1214,1096,984,706,506,482,388,404,453,512,724,887,1342,1900,1366,448,645,907,1426,1326,1003,1698,1312,1216,1312,1366,1528,1404,1058,722,579,863,1122,1620,1860,1036,673,598,492,857,929,480,324,275,295,263,302,286,293,695,1140,883,614,1218,1370,1172,1496,1256,1706,2264,1710,1380,1162,1286,1534,1310,819,594,608,845,1288,1920,1974,1202,1108,1050,1002,867,775,828,836,858,787,586,487,473,383,354,381,398,625,1026,1066,1140,1030,658,480,674,857,1044,1208,1298,1428,1520,1730,1312,728,553,717,761,668,543,632,980,998,834,814,751,789,493,374,388,291,264,283,483,1038,1376,723,403,366,720,682,494,388,292,427,691,466,701,1694,1732,640,430,368,367,354,304,406,620,790,905,1016,1042,1142,1372,968,553,584,728,597,514,418,338,332,316,477,584,310,361,299,183,246,817,1322,1212,987,793,970,1294,1198,600,412,919,1762,1030,459,561,825,1068,906,455,505,752,533,320,360,482,483,536,620,875,821,416,300,505,419,247,458,693,392,470,1058,703,303,596,1312,1036,454,362,413,439,535,1140,1382,1650,1508,899,818,1013,507,490,957,1102,771,738,782,706,756,371,500,893,508,334,413,471,448,328,307,504,728,462,282,676,919,622,381,589,933,1046,902,761,830,1066,1050,499,702,1220,1642,1960,1150,475,379,538,875,1166,1160,885,1164,1760,1578,1076,1072,1216,1578,1338,1074,1432,2148,2216,1550,1122,1286,1522,1650,1376,1170,1574,1562,1528,1716,1600,1462,1390,1548,1266,963,863,746,774,969,1730,2224,2102,1410,861,722,812,1108,1210,1378,1386,1254,1009,1238,1886,1986,1904,1502,1136,1334,1604,1628,1532,1556,1770,1776,1384,1366,983,1116,1358,1456,1548,1422,991,780,734,705,1132,1338,1418,878,538,633,907,1062,1062,1078,1210,1216,1168,1260,1380,1430,1408,1386,1204,1164,864,489,433,444,462,476,464,544,764,793,769,769,604,493,608,520,311,331,337,583,803,695,725,851,783,952,623,539,466,571,791,894,760,772,922,1086,1160,898,932,976,853,1004,1176,1122,1028,977,791,568,836,1472,1396,1130,1310,1188,1084,1206,1152,1276,1400,1460,1356,1266,1096,859,693,585,1068,1472,1462,1102,859,970,1212,1016,890,1142,1294,1496,1476,1368,1194,934,780,1100,1086,1076,1146,1208,1296,1340,1226,1134,1040,1058,1062,794,1000,1106,1204,1136,1136,1200,1282,1310,1296,1136,876,729,768,783,1122,1338,1338,1404,1340,1250,1202,1274,1560,1660,1516,1152,1030,1626,1590,1654,1582,1400,1222,1278,1324,1370,1644,1590,1408,1266,1250,958,798,1184,1256,1382,1368,1152,1340,1598,1456,1228,1138,1112,1332,1306,1180,1234,1140,1078,988,704,807,1132,1242,1578,1696,1228,976,1244,888,706,595,408,402,393,337,345,358,349,328,403,1076,1626,1902,1990,1974,2012,1982,2046,2092,1560,805,483,555,459,570,453,800,741,536,501,533,523,572,566,448,536,613,1116,1192,1166,1322,1120,915,1162,970,497,461,820,1216,1142,1314,1632,1106,755,600,843,1160,1212,1342,1310,1128,1038,865,901,1076,883,720,823,1246,1318,955,957,1044,1166,1042,585,503,768,1194,1180,1168,1228,1258,1232,1302,1290,1838,2160,1894,1656,1144,886,1208,1200,1094,1278,1584,1586,1322,1172,1178,1288,1306,1202,1094,922,1002,1005,852,683,562,432,502,659,762,857,681,549,781,632,544,555,1188,1740,1302,1202,1158,773,551,749,971,719,507,488,405,430,943,1218,1534,1454,1478,1444,1066,1016,1362,1248,1354,1236,1084,940,1144,1188,928,1068,1350,1244,1190,1200,1011,864,1160,1666,1032,955,819,576,422,655,948,887,669,681,810,822,1072,1142,662,742,1164,1282,1196,1106,993,1276,1788,1876,1506,1172,949,1002,674,1072,1368,1192,1180,1272,1156,769,440,521,597,1192,1420,1760,1822,1540,1268,1236,1024,1216,1500,1188,1238,1708,1688,1970,1344,760,662,794,691,584,860,1238,1188,880,628,413,346,359,337,374,363,325,302,342,779,1060,1078,1160,1218,884,474,594,1264,1184,938,1376,939,508,496,699,791,753,856,1116,953,796,845,1232,1426,1488,1454,1550,1570,1158,1044,999,690,764,1188,1208,1194,1144,1188,1030,1428,1946,1674,1186,969,915,1140,1450,1472,1198,936,1032,1134,1078,1370,1072,863,839,1066,1470,1110,590,1000,1794,1856,1596,1040,1036,1100,757,919,644,497,691,980,1184,1410,1530,1150,1242,1600,1118,1290,1154,697,819,965,1070,1282,1172,918,662,506,708,569,362,522,853,999,1214,1112,868,750,916,1092,1166,1224,1148,1064,1034,1248,1334,1414,1530,1540,1536,1376,1432,1450,1410,1750,1250,1174,898,647,596,767,1052,1009,1174,1440,1214,1050,1340,1372,1482,1558,1210,1282,1390,1498,1200,1110,1170,1314,1396,1284,1318,1438,1432,1602,1538,1672,1710,1538,1140,1030,1100,891,782,1108,1674,1598,1376,1340,1188,1238,1330,1152,968,744,575,496,525,509,399,369,383,399,346,326,327,353,393,788,1024,1134,1238,1230,1212,1016,1005,994,977,728,623,666,617,949,1210,937,706,977,1380,1458,1400,971,642,973,1302,1420,1478,1092,612,449,686,1256,1326,1346,1028,479,322,310,317,362,404,639,1066,1344,1658,1532,1306,1386,1432,1394,1396,1486,1476,1248,1076,997,869,888,1056,1218,1238,1134,1126,1232,1432,1500,1476,1350,1484,1338,1334,1584,1380,2002,1266,552,368,374,348,288],[417,408,356,374,417,434,494,641,634,561,495,409,405,432,496,450,451,441,465,448,451,451,432,420,414,400,410,443,451,391,314,289,346,357,283,272,323,314,298,559,1014,854,412,343,338,397,371,388,850,1144,788,592,573,630,630,604,731,847,1002,915,766,695,565,623,882,915,1024,1046,730,692,1112,901,955,1206,754,568,808,716,465,336,384,392,647,1414,1514,719,359,738,1036,1364,1176,997,864,872,974,1152,1476,1572,1670,1224,1246,1124,663,349,301,451,527,601,578,442,337,383,495,829,684,871,1362,1408,1304,1282,1416,1262,779,439,633,1144,1710,1062,684,996,1102,890,869,948,962,1056,1168,1013,1222,828,537,428,467,505,329,309,561,1080,1334,880,777,800,653,968,1076,1108,1158,1464,1738,1678,1406,1250,976,1174,1466,866,744,720,713,923,1110,1272,781,525,499,468,392,440,539,694,1262,1572,1578,1418,1232,1292,891,450,388,498,717,932,686,434,321,333,489,353,299,332,307,327,388,442,416,445,525,392,317,480,717,539,592,858,744,799,770,1308,1536,918,987,1440,1032,998,952,510,419,494,485,523,802,714,546,533,582,799,1072,1004,1036,820,404,356,411,420,570,985,1104,1246,1400,1176,747,711,808,769,837,931,1013,1042,772,667,514,298,427,662,783,972,846,521,393,443,561,662,900,769,467,512,745,775,469,692,850,1172,1656,1296,1538,1764,1682,1642,1526,1530,1482,1488,1368,1356,1242,1008,908,1122,1310,836,720,1180,1312,1190,1098,817,983,1272,1026,989,1021,1082,1214,1230,1396,1308,1192,1180,955,1030,791,615,602,517,495,757,1104,1390,1616,1680,1682,1548,1288,1018,792,1080,1176,1368,1180,1406,1494,1578,1448,1242,1302,1502,1348,1136,1448,1348,1210,1140,1190,1102,1094,962,971,1250,1266,1194,1422,1550,1510,1528,1312,1146,730,766,1068,694,1144,1482,1498,1506,1378,1654,1974,1714,874,951,842,483,473,563,600,735,747,624,494,690,962,705,704,540,730,659,815,1050,996,996,999,943,1090,1168,836,531,907,1001,1194,1448,1112,971,1488,1904,2014,1836,1246,1266,1534,1562,1484,1152,872,941,1030,1148,1482,1534,1200,1128,1440,1234,1062,1512,1418,1410,1384,1202,1318,1250,761,722,1030,1028,736,440,376,422,385,350,367,285,240,256,291,334,363,330,848,1794,1944,1810,1192,745,408,482,1136,1600,1880,1660,1320,1138,991,1136,1252,831,688,852,1048,1048,543,427,952,1332,1206,890,984,1180,862,869,855,1374,1084,1290,1200,875,824,925,802,569,600,497,457,491,495,536,437,584,708,974,1007,977,1144,1068,1048,1338,1144,831,965,940,1034,1230,1102,1350,1572,1334,1554,1754,1324,1288,1132,686,1096,1372,1638,873,479,673,889,925,863,816,852,1136,1010,681,698,455,500,872,1268,1044,821,760,879,971,688,684,1001,1078,698,910,1310,750,404,352,391,536,494,648,953,816,581,591,667,796,921,836,996,1166,1188,1232,1034,1126,1326,1070,1212,1108,827,755,677,928,1424,1948,1938,1576,1176,752,472,496,850,948,966,1200,1438,1244,1206,1340,944,483,544,932,1198,1290,1546,1558,1396,1144,829,706,544,390,636,1008,1236,1730,1642,873,647,725,861,781,1023,1019,1142,1234,1080,960,1096,1086,830,817,708,995,1250,1202,1166,1692,1296,1318,1342,1494,1608,1216,755,835,639,589,907,1106,1676,1284,1156,2426,2074,1246,1188,1026,628,650,1078,1214,980,824,530,372,300,341,396,363,481,524,418,617,1048,1438,1368,1166,825,1384,1804,1512,1366,1494,1628,1368,1256,1396,1388,1402,1318,1082,673,600,1252,1292,1144,944,1194,1642,1670,1398,770,329,296,300,355,437,364,372,597,709,582,574,741,632,633,802,825,1466,1582,1608,2006,1814,1252,1001,1226,1330,1062,662,617,658,642,705,1170,1890,1654,1508,1122,794,816,838,805,789,686,571,525,473,402,365,367,364,370,318,484,777,1013,1044,1078,979,697,1132,1628,1604,1428,1384,1440,1678,1838,1434,871,526,552,703,580,693,891,933,639,846,1002,847,532,443,529,601,441,261,285,389,435,428,355,372,650,868,912,612,309,405,593,445,663,816,990,802,525,529,609,469,284,587,1360,1486,982,922,829,852,1138,1064,784,736,822,982,1016,864,517,398,327,509,589,533,463,392,325,264,654,1023,1208,998,836,1108,1060,704,405,592,888,839,415,282,522,909,973,597,386,298,257,284,339,373,580,473,465,437,528,491,339,321,339,310,272,267,300,300,651,1114,658,350,380,602,519,419,507,411,433,945,1868,1596,1406,984,594,586,572,410,369,616,745,589,685,521,580,574,349,505,872,555,318,458,695,597,364,465,705,720,615,945,1426,1498,1146,635,586,919,1260,991,542,1264,2042,1502,564,493,726,1230,1140,563,315,389,846,1322,1220,919,1084,1682,1440,1098,1314,1568,1660,1600,1318,1338,1854,2002,1324,1178,1206,1352,1418,1388,1106,1152,1622,1320,1348,1712,1640,1592,1408,874,906,835,940,729,864,1046,1726,2172,1642,962,757,670,690,1102,1342,1802,1648,1324,1054,1484,1820,1916,1832,1214,1236,1832,1960,1720,1188,1478,1884,1652,1434,1106,887,1180,1434,1356,1220,1036,792,725,626,1046,1620,1484,1264,570,561,957,1054,1188,1462,1396,1056,874,903,909,917,1196,1152,1050,1254,1414,1296,1080,825,593,527,425,477,676,897,623,391,321,325,359,589,583,350,350,350,463,497,546,827,965,1088,1054,660,381,444,716,921,767,685,872,1440,1374,1306,1240,1136,1130,1098,1210,1152,1152,1426,1144,806,517,582,904,730,575,1066,1038,711,863,1218,1532,1544,1168,808,750,485,457,683,870,860,1234,1296,908,875,1114,1064,764,886,1278,1394,1422,1180,1384,1460,1202,1036,874,745,822,1064,1080,1300,1358,1320,1438,1326,1360,1320,1019,907,863,1007,1224,1334,1300,1504,1548,1132,796,822,848,1448,1508,1094,860,1023,1180,1176,1186,1182,1538,1702,1500,1388,1003,966,1450,1460,1422,1400,1226,1210,1376,1182,1288,1758,1570,1298,1382,1446,1058,913,1096,1312,1474,1376,1200,1388,1598,1472,1352,1188,1078,1374,1330,1178,1278,1260,1094,929,910,1218,1392,1472,1446,1656,1362,1010,1288,1011,716,606,436,428,414,383,389,382,348,350,362,1196,1694,1758,1638,1504,1650,1800,1930,1942,1590,926,498,373,368,399,321,463,533,495,482,482,400,395,537,495,439,698,1282,1318,1296,1548,1414,1048,1094,1142,957,900,979,1260,767,609,886,846,922,857,1146,1384,1364,1394,1178,1092,1180,1122,1262,1406,1136,1224,1356,1284,1444,1542,1354,1424,1272,852,596,922,1388,1472,1414,1282,1416,1500,1410,1322,1266,1568,1680,1362,1256,1038,1058,1064,1224,1346,1340,1308,1172,1326,1484,1360,1440,1262,1230,1422,1168,1188,1072,1064,1132,841,649,891,1166,976,808,941,839,593,457,483,1366,2264,2532,1644,822,694,640,503,499,794,1010,612,471,390,397,563,695,834,1100,1438,1494,955,985,1172,1106,1454,1332,1118,1188,1260,1160,897,1098,1366,1610,1634,1322,1114,824,1180,1602,1156,968,820,535,551,769,931,1078,923,806,614,565,882,888,517,588,935,1102,1106,1009,1378,2068,2212,1724,1488,1192,851,916,940,1330,1386,1410,1262,858,799,769,691,895,1019,1294,1434,1876,1700,1516,1296,1202,1300,1140,932,1402,1544,1360,1526,1586,751,477,521,832,929,1072,988,1112,1302,724,412,294,280,314,315,325,345,322,348,557,818,988,1070,1066,1118,812,757,709,957,822,767,969,732,478,555,840,1138,989,1062,1262,935,977,1110,1372,1194,1270,1570,1554,1312,892,735,1030,1076,1032,1398,1312,1348,1132,1188,1044,1172,1622,1410,1028,1008,948,954,1258,1480,1232,855,1096,1138,1160,1384,1166,875,858,1144,1438,1294,995,1114,1448,1210,1170,1092,1024,973,779,634,465,400,509,841,1472,1566,1198,1108,1470,1368,963,1280,944,644,769,723,811,971,908,1042,743,671,557,527,578,781,1088,1246,1262,1160,871,1278,1794,1376,1294,1288,1146,833,907,1288,1284,1334,1406,1582,1442,1296,1516,1402,1410,1654,1206,896,580,451,452,786,1012,1009,1284,1370,1214,827,1202,1456,1870,1488,1250,1276,1520,1472,1332,1528,1306,1210,1206,1382,1586,1644,1694,1670,1356,1446,1378,1054,830,1150,1382,991,621,617,1120,1656,1540,1710,1586,1426,916,569,565,526,486,471,507,413,420,416,457,599,539,417,362,353,373,677,948,1012,1250,1130,883,1060,1182,1240,1186,963,686,708,865,874,1188,1328,1072,998,1346,1622,1542,1256,1100,1394,1352,1306,1476,1042,802,666,717,1480,1772,1432,1258,844,532,514,717,738,828,961,1136,1332,1694,1716,1404,1384,1532,1416,1296,1272,1094,818,939,1198,1009,913,1002,1436,1324,1354,1116,1190,1400,1158,1206,1298,1236,1252,1114,1054,1134,1442,761,542,500,720,594,308],[399,352,352,362,376,396,453,511,467,414,368,378,400,398,502,484,480,465,471,474,464,429,417,437,451,407,421,448,460,387,316,291,321,347,295,276,352,405,440,719,877,631,502,401,345,449,452,627,1194,1060,888,844,584,412,412,469,686,615,800,736,509,441,408,856,1242,912,1038,964,653,687,1170,1214,1032,796,476,569,657,436,349,323,328,303,391,591,832,598,432,728,1009,1158,1270,1228,1009,1004,1154,1136,811,999,926,849,1362,1358,902,473,536,727,492,502,445,288,357,392,431,619,843,1290,1216,1238,1380,1344,1418,1292,877,389,462,656,1350,1296,1170,1030,800,835,1114,1492,1542,1114,1092,1260,1080,572,422,481,569,516,350,394,483,597,611,544,515,568,910,962,702,609,760,969,1294,1260,881,941,1170,1226,1298,1318,1060,946,840,915,1021,945,731,602,513,454,490,422,417,438,796,877,1094,1088,1364,1396,781,381,505,556,836,907,833,475,344,572,955,615,297,350,343,353,426,451,474,691,716,382,300,915,1036,524,412,818,1174,876,752,1180,1020,605,867,1178,788,708,1074,888,613,475,411,682,1036,979,769,615,551,718,1005,980,977,785,379,331,442,432,495,759,1162,1354,1222,1138,969,1064,840,726,591,490,516,581,543,527,585,359,401,753,1316,1854,1688,946,488,361,437,437,735,923,649,603,786,956,711,857,1172,1372,1578,1910,1908,1770,1714,1488,1542,1472,1360,1600,1288,1318,1348,1116,987,1286,1230,1032,1068,1152,900,1040,1026,813,977,1210,1310,1054,725,800,866,972,1224,1140,1066,1084,983,1030,661,498,518,376,777,1144,910,1030,1312,1520,1626,1586,1516,1368,1334,1702,1718,1556,1330,1316,1334,1470,1310,1214,1494,1562,1116,1174,1424,1328,1046,1078,1154,1136,990,945,980,1272,1638,1554,1832,1968,1538,1314,1176,1284,1028,965,827,700,1086,1188,1228,1636,1892,1996,2124,1738,1160,1172,977,532,463,357,468,775,886,636,456,407,604,727,714,811,971,630,482,904,1256,1248,883,1007,1154,1394,1014,845,1064,1264,1316,948,1140,1400,1584,1614,1548,1798,1498,2154,1834,1710,1578,969,801,1198,1122,1064,1148,1380,1290,1278,1584,1282,1284,1444,1086,1086,1172,1162,1182,1178,904,925,858,803,984,711,407,348,312,383,415,305,266,384,681,893,711,623,739,1248,1690,1704,1144,1001,645,604,1144,1290,1108,1076,1144,1192,1034,1122,1190,924,879,1340,1362,1024,737,771,1124,1090,753,645,686,710,1316,2122,2054,1792,1352,1470,1426,1162,1198,1396,946,628,1078,1048,708,554,708,651,588,504,576,912,1056,1062,1152,1284,1650,1572,911,829,843,1154,1502,1628,1578,1530,1484,1488,1696,1834,1642,1636,1142,757,1140,1360,1506,815,426,430,446,461,337,235,382,636,840,1074,929,490,487,782,850,675,599,484,727,1136,836,802,1090,971,742,1002,1390,1015,561,383,466,570,492,666,602,605,713,565,597,708,786,781,869,787,883,1218,1204,1032,972,999,899,1006,1162,922,962,1232,1244,1500,1554,1298,1290,1034,552,452,633,696,854,866,921,1080,1186,1338,1126,690,766,1138,1446,1312,1380,1326,993,1152,1278,823,582,422,419,797,1384,1252,952,653,600,731,640,1316,1610,1254,1154,1294,1252,1214,1170,1128,991,824,935,1202,1288,931,1009,1346,1172,1322,1586,1810,1750,808,549,664,476,436,863,1002,1336,954,871,1348,1370,1490,1880,1824,1078,568,569,540,435,334,305,315,297,328,386,413,440,391,307,380,588,727,875,912,1052,1484,1580,1096,1330,1720,1584,1470,1482,1404,1414,1376,1262,984,1068,1272,1418,1576,1710,1102,858,1476,1870,2192,1662,1218,1398,1490,1384,1292,1272,1556,1712,1682,1326,722,683,581,454,714,1170,1688,1876,1354,1134,1404,1092,706,670,658,623,623,631,674,639,578,648,1024,1502,1432,1036,875,899,865,652,616,619,581,470,368,339,346,360,359,357,341,273,433,858,1152,1088,1190,1044,727,1208,1664,1732,1572,1526,1708,1920,2016,1758,780,543,615,490,733,793,786,647,929,979,648,673,611,407,520,455,291,314,379,321,309,274,286,391,608,588,312,329,306,372,559,738,592,463,356,270,711,1236,907,330,872,1960,2014,1482,753,533,1136,1538,1456,1372,1144,1130,1304,1466,1288,979,797,569,689,652,942,1122,884,483,509,885,939,853,645,473,611,612,580,753,713,461,306,327,353,451,638,583,386,259,255,432,346,281,239,572,461,577,745,425,260,286,297,301,315,208,216,279,296,915,1332,861,469,388,366,491,623,899,940,553,550,802,810,697,576,628,880,872,613,314,390,404,450,592,580,798,639,387,503,501,350,345,373,465,387,381,453,535,829,837,2072,2798,2248,1322,643,648,1142,1432,1194,1072,1744,1332,615,411,542,621,850,826,652,534,556,899,1098,818,930,1550,1682,1098,1194,1658,1664,1420,1318,1472,1562,1604,1188,861,1142,1320,1500,1508,1182,1100,1318,1494,1220,1436,1864,1568,1478,1282,647,761,955,858,849,1032,1130,1734,1956,1234,850,684,669,923,1238,1644,1762,1804,1394,1208,1608,1714,1776,1488,922,1208,1444,1852,1782,894,1050,1656,1626,1726,1290,1130,1574,1732,1730,1440,1376,796,735,677,1204,1274,1460,1282,796,1140,1544,1472,1404,1596,1368,1418,1240,1018,938,959,1454,1100,820,849,883,1158,1214,1396,1278,1036,869,600,621,617,606,637,550,492,523,643,677,556,572,462,555,548,741,863,1020,1302,1310,1154,1013,765,806,828,691,874,760,1072,1050,1238,1160,1090,1142,1108,1242,1168,1176,1354,1032,883,538,459,510,586,804,1013,746,439,896,1470,1540,1254,710,364,395,377,483,671,648,508,921,1124,946,1118,1282,1042,815,1118,1162,1404,1342,1338,1576,1344,1220,1128,840,786,665,1048,1084,1444,1512,1512,1416,1368,1314,1240,1230,929,841,1052,1356,1402,1324,1710,1564,1184,758,465,727,1454,1466,888,744,734,991,1360,1264,1130,1272,1398,1322,1318,1232,1318,1608,1580,1210,1174,1058,1054,1238,1182,1246,1312,1198,1278,1366,1354,1314,1266,1332,1416,1288,1236,1340,1538,1226,1184,1388,1232,1220,1310,1198,1028,1013,1018,1124,1062,1150,1200,1534,1540,1382,1620,1332,1154,1350,1021,584,484,366,380,420,410,382,345,333,381,441,1160,1570,1268,910,550,549,1122,1720,1886,1762,1268,712,448,406,372,370,380,399,447,444,468,506,510,763,706,617,940,1322,1054,829,1164,1246,1144,1060,1118,1294,1142,1158,1272,894,813,912,1082,1158,1194,1440,1354,1180,1278,1174,1046,1030,1062,1138,1340,1290,1382,1386,1112,1292,1526,1092,1092,1258,1230,1038,1244,1494,1454,1454,1504,1406,1102,1030,890,993,1120,1240,1124,1212,921,796,852,1340,1484,1388,1188,1013,1250,1286,1238,1272,1190,1314,1280,1172,1288,1116,1210,1262,890,908,1230,1464,1166,820,1104,1116,817,585,623,1384,1510,930,490,453,543,526,469,448,486,907,957,647,373,489,839,1054,1242,1642,1432,1478,1394,1372,1234,1318,1406,1234,1274,1220,1060,789,912,1276,1482,1756,1534,1624,1734,1460,1084,926,737,615,639,655,772,1042,1100,996,822,985,584,398,644,607,477,522,601,741,852,1138,1360,1028,953,1154,1244,852,940,1316,1210,1086,1194,1348,1284,1100,949,768,686,1118,1334,772,761,1188,1094,1212,1382,1074,1114,968,474,850,828,599,1188,972,546,562,810,1040,1392,1280,912,871,902,677,463,343,349,469,461,403,371,385,573,803,822,847,901,1020,1036,927,1142,1058,715,1003,998,551,415,432,594,853,1226,1318,1410,1316,979,967,1042,1290,1260,1132,1388,1660,1392,1032,628,735,1102,1442,1660,1360,1490,1220,1030,998,987,1134,1068,1150,1368,1056,844,1180,1598,1186,1048,1328,1364,1202,1196,1250,819,1134,1300,1314,1216,1046,1184,1344,1048,907,958,1164,1216,1005,863,590,602,698,1128,1556,1260,1362,1330,1184,1108,1090,782,558,702,648,551,713,976,1066,1170,941,902,841,1026,1168,1098,1252,1144,948,1146,886,1360,1246,1466,1610,1700,1398,745,926,1226,1114,1188,1122,1444,1432,1168,1440,1506,1450,1182,988,1110,940,634,811,1218,1300,1224,1330,1488,1416,1194,1478,1776,1330,1170,1366,1190,1190,1242,1448,1614,1516,1092,1138,1274,1512,1376,1446,1248,1218,1384,1134,771,572,761,901,643,507,496,661,1440,1614,1738,1578,1122,685,814,860,558,494,479,496,449,429,460,524,622,534,446,430,396,397,473,663,851,944,727,875,918,1148,1224,1038,1008,1076,1268,1380,1104,1356,1340,1306,1330,1468,1620,1484,1484,1432,1358,1310,1660,1686,1244,1010,875,1013,1548,1820,1614,1392,1344,1248,1334,1504,1494,1496,1310,1344,1426,1448,1570,1548,1576,1710,1604,1170,808,730,743,739,720,899,732,708,1088,1180,1116,988,1354,1410,902,781,851,689,694,872,799,735,473,376,514,549,568,421,410],[379,382,412,382,362,377,416,423,381,367,357,376,400,401,494,496,474,475,444,425,459,433,448,465,467,412,448,430,432,386,322,282,274,334,330,281,323,418,501,733,526,522,521,391,358,424,383,719,888,814,1060,942,561,389,345,612,526,589,722,562,419,380,384,755,1038,740,828,825,1000,1122,1264,1418,1140,614,363,584,536,278,262,291,258,241,266,256,529,869,734,486,601,796,913,719,608,1030,1466,1212,810,648,755,1168,1318,1184,1048,757,597,936,525,466,421,358,327,316,350,550,1106,1256,890,963,1324,1584,1422,1396,1140,584,415,644,977,1082,1216,1070,690,782,1264,1406,1442,853,1030,1178,719,369,257,312,584,811,706,653,501,430,386,440,543,773,1001,705,493,450,512,611,838,1004,837,898,1070,1066,1472,1782,1046,864,868,827,851,762,603,574,547,424,571,491,387,480,694,711,998,1118,1224,1388,843,362,501,608,807,694,1104,776,628,944,1282,807,305,340,374,383,360,383,593,988,852,529,703,1658,1460,720,713,1096,1136,693,762,1324,1410,1282,1248,1740,1562,749,683,1092,948,489,416,516,1010,1214,833,612,449,616,932,991,996,884,580,458,622,763,798,966,1060,881,681,628,460,755,930,1084,955,518,487,675,689,507,518,341,351,528,1364,1850,1776,1546,992,354,322,336,488,664,893,803,656,808,1114,1290,1360,1804,2308,2098,1720,1560,1430,1454,1416,1310,1478,1396,1296,1522,1592,1262,1102,1084,1166,1436,1100,868,978,1240,1382,1262,1240,1130,1242,962,855,948,860,771,988,792,814,846,1306,1005,814,937,829,428,533,722,828,1052,1122,1334,1288,1360,1204,1386,1602,1666,1710,1606,1342,1268,1436,1404,936,1006,1328,1242,892,1116,1128,1110,976,1262,1750,1784,1350,1036,1013,1384,1732,1584,1900,1606,1240,1114,1280,1168,955,940,840,758,865,621,867,1794,1534,933,954,1258,1354,1350,955,414,350,301,464,850,1076,721,778,588,738,938,1076,1132,1028,730,390,504,827,894,755,1188,890,681,633,999,1178,1268,1136,866,1310,1656,1798,1124,962,1498,1998,2072,1756,1766,1722,1244,1082,1144,1158,1260,1482,1554,1322,1278,1146,1130,1272,1160,901,694,946,1048,1012,1134,1110,1176,736,801,1058,959,572,347,282,288,374,325,348,604,910,1250,1454,1542,980,1378,1922,1448,1192,1392,1176,916,810,722,703,892,1066,1152,1064,900,850,720,695,969,1004,854,850,1013,1142,901,732,988,888,1436,3482,5380,4344,2138,1238,1256,1188,1088,1001,1072,846,886,1454,1550,1326,921,962,1176,1202,962,880,1094,1284,1112,1188,1386,1582,1178,631,1020,1068,1138,1394,1782,1922,1584,1286,1616,1790,1802,1454,1898,1116,780,1122,1472,1418,744,398,400,387,316,208,280,324,511,717,1096,1148,1070,1058,741,399,505,497,503,762,1026,868,812,847,618,465,433,610,709,596,418,356,536,639,971,700,686,753,490,476,602,855,1176,967,642,1032,1314,1268,948,701,813,756,1006,1194,923,928,1096,1274,1424,1324,1328,1244,1028,744,637,483,488,778,727,993,1390,1026,1144,789,432,592,966,1176,1226,1312,1460,1112,1272,1290,759,660,491,476,1206,2244,2288,1510,668,533,465,845,1734,1656,1080,1042,973,952,1180,1174,1010,1038,1196,1202,1234,1122,754,1226,1720,1398,1566,1782,2140,1636,573,372,320,318,308,694,1002,1064,1054,1130,1528,2032,2256,2258,1742,1004,413,282,434,491,440,404,340,299,323,402,561,523,571,591,395,666,1266,1328,901,708,847,861,866,1102,1216,1156,1236,1338,1428,1564,1472,1378,1023,807,1046,1056,1007,965,770,1152,1298,1306,1328,1778,1880,1728,1520,1876,1792,1442,1282,1332,1752,1468,788,714,543,527,1032,1382,1050,1108,1338,1306,1038,644,474,516,522,550,634,567,501,493,475,521,667,988,1290,1208,810,731,608,401,541,664,577,419,334,341,352,365,383,376,360,339,376,498,990,1276,1236,1310,1090,767,962,1468,1820,1824,1800,1914,1950,1394,770,614,494,363,687,923,780,562,902,890,430,529,560,408,296,295,334,550,604,517,347,307,266,250,325,321,222,282,318,346,444,487,412,307,286,299,549,885,478,366,1198,1656,1662,1672,961,434,911,1202,1462,1658,1396,893,785,1023,1076,1017,915,845,852,877,822,803,809,456,451,695,561,474,442,778,1146,776,952,1140,835,529,361,389,431,420,496,623,449,306,313,671,687,533,381,374,258,353,483,395,354,308,318,285,321,625,602,412,521,932,1470,1322,1013,731,420,404,680,1306,1296,624,365,451,769,1076,853,661,922,1056,566,623,839,666,671,876,775,791,781,615,599,449,417,447,343,283,337,509,478,489,866,659,1250,2642,2952,1180,454,667,968,1021,1062,1656,1820,1244,782,525,619,725,472,424,608,958,1190,1190,797,625,1106,1658,1310,1066,1278,1418,1440,1312,1370,1516,1452,1214,663,880,1152,1316,1766,1650,1144,1146,1418,1510,1456,1824,1852,1848,1636,1222,1084,1168,1310,851,815,894,1114,1750,1626,991,824,691,563,1015,1346,1700,1758,1776,1562,1416,1456,1640,1850,1396,996,1060,874,846,736,982,1522,1542,2200,2810,1414,1220,1418,1242,1548,1500,1456,843,735,628,1154,1640,1790,1396,999,1396,1582,1580,1374,1406,1954,3250,3176,2886,2666,1868,1114,853,840,1056,1302,1544,1478,1352,1256,1368,1294,1242,1116,854,786,669,733,921,1074,990,674,613,835,639,685,636,730,786,918,1248,1500,1664,1632,1192,1086,775,910,1042,755,1028,1202,1114,1052,1096,1120,1112,1294,1408,1372,1462,1058,999,1015,1034,814,821,1042,1054,852,480,879,1166,1144,1202,720,434,489,661,636,546,698,615,536,860,1136,834,1064,905,901,1408,1244,1272,1418,1606,1506,1144,1096,1242,1170,1118,1360,1272,1234,1412,1430,1356,1210,1114,1122,1426,1572,972,971,1186,1498,1470,1180,1178,1064,1042,676,407,535,727,685,559,680,594,882,1274,1158,971,1296,1394,1388,1522,1498,1328,1354,1426,1180,1192,1164,1116,901,963,879,976,1096,997,938,1178,1192,1218,1340,1388,1208,1344,1408,1576,1268,1322,1194,1046,1216,1302,1148,1164,1154,1062,1002,1058,1124,1526,1656,1382,1390,1500,1448,1394,1314,954,510,458,419,510,549,604,531,390,394,468,511,604,614,536,478,362,339,604,1494,1776,1820,1532,915,533,443,534,544,745,706,523,564,588,611,531,570,861,1092,1034,849,696,926,1208,1200,1184,971,1202,1472,1262,907,1042,1250,1100,1124,1164,992,1098,1548,1372,1012,1180,1252,1084,1038,872,758,1252,1582,1136,813,692,718,794,720,1028,1242,1228,882,866,1098,1440,1642,1406,899,635,568,616,981,1038,1444,1312,1332,1262,933,1036,1296,1288,1200,1013,1238,1440,1378,1204,1272,1092,1038,1136,1276,1324,1194,1156,1304,1252,1172,1230,1510,1346,916,1082,1060,924,703,549,667,606,490,445,435,430,425,476,559,405,502,843,918,678,735,1208,1300,991,1244,1378,1566,1478,1340,1188,854,840,1192,1200,1158,1064,666,835,1310,1188,1017,1476,2020,2040,1816,1472,1138,720,542,497,655,863,1126,1312,1218,1058,811,581,419,603,693,520,533,639,795,972,1202,1064,912,755,883,957,742,822,1106,1134,1092,1138,1188,1086,1324,1188,1240,868,1212,1072,767,932,921,823,1144,1476,1188,629,489,384,421,375,447,689,747,819,1046,1028,1116,1416,1026,1210,1028,988,847,544,492,763,1004,1036,990,787,621,897,954,905,778,961,1418,1058,984,1194,1086,1054,1578,1232,437,375,643,664,766,1224,1388,1506,1340,1038,905,1015,1268,1306,1054,1236,1296,1246,1386,1264,1240,1296,1554,1514,1210,1154,1078,1070,1160,796,879,1012,980,1328,1210,1376,1398,1556,1418,1288,1202,1224,1454,1254,1260,849,1130,1418,1410,1058,1106,1496,1288,1028,1148,1412,1564,1464,1100,867,739,736,1072,1340,958,816,1246,1108,794,1344,1748,1080,582,675,596,806,875,1992,1656,1394,1366,1182,1056,1040,1244,1166,1188,830,793,689,618,1148,1384,1410,1572,1642,1322,1006,1184,1260,1222,1298,1200,1004,948,785,1220,1678,1356,1162,1142,1050,1086,946,1130,1280,1196,1124,1424,1660,1416,1388,1656,1464,984,1120,1086,874,849,1294,1640,1574,1430,1288,1316,1332,1460,1400,1178,1166,1354,1432,1198,784,502,769,1126,803,506,452,821,1094,1232,1446,1622,1484,1318,1478,1414,828,492,420,416,388,480,553,548,511,462,502,519,502,491,515,542,523,501,483,503,754,1160,1292,1194,1194,1370,1504,1438,1224,1698,1472,1382,1610,1666,1354,1248,1358,1194,1244,1420,1542,1316,1462,812,599,1096,1466,1448,1572,1604,1528,1608,1708,1684,1732,1562,1388,1434,1422,1470,1488,1498,1458,1558,1744,1344,808,831,1088,841,653,1012,1054,814,944,1422,1420,1136,1126,949,594,493,498,586,477,488,368,286,374,401,489,532,327,283,382],[410,598,733,499,365,364,367,384,369,352,358,368,378,393,460,455,410,444,435,399,499,473,445,422,409,403,427,367,380,393,304,242,286,377,375,338,299,350,532,681,524,561,719,578,378,315,371,374,393,680,673,419,307,330,296,390,384,504,558,459,375,313,343,597,1015,1034,1050,1066,1574,1688,1618,1516,1288,702,384,434,369,304,268,374,374,255,278,287,371,614,570,413,410,482,573,576,580,1154,1662,1532,1196,1028,1184,1168,1144,1272,1004,751,798,807,565,510,505,437,400,357,325,484,685,657,830,1226,1262,1360,1376,1372,1304,1026,722,824,894,1102,1388,1166,716,583,806,863,892,760,922,870,684,354,245,332,787,1076,860,744,599,467,493,455,876,1140,865,506,462,447,430,419,495,789,1378,1158,881,1390,1780,1256,725,913,943,755,841,868,535,455,451,442,482,411,363,495,477,466,919,1130,825,744,574,371,550,781,794,818,1288,1350,1230,1490,1466,725,327,305,337,314,277,324,461,753,546,472,750,1090,1152,888,663,717,874,947,973,1188,1388,1610,1788,2184,1768,832,441,792,1126,853,401,622,1462,1604,1242,841,679,833,1066,1066,956,982,965,945,1070,976,722,611,658,809,763,539,387,860,1334,1634,1648,857,486,547,498,485,590,415,400,357,820,1238,1098,991,756,363,328,361,364,589,784,991,1086,1252,1594,1562,1338,1466,1368,1324,1632,1404,1286,1298,1344,1340,1394,1228,1372,1506,1338,1186,1398,1166,1074,1108,1100,1046,1300,1332,1378,1316,1134,1174,1330,1410,1404,1288,1358,887,1024,556,397,485,780,532,858,1254,926,440,337,485,963,1134,1268,1482,1432,1234,1013,1160,1466,1622,1704,1620,1564,1594,1570,1558,1186,1260,1172,915,857,979,1010,1074,982,1180,1700,1838,1504,1298,1058,1050,1400,1282,1646,1530,1142,1248,1256,1110,1198,1102,965,656,657,665,1184,1996,1210,529,650,1332,1388,1048,656,418,386,370,369,414,655,691,965,796,791,986,1292,1344,1310,1186,738,387,448,788,959,1062,570,755,1074,1242,1450,1552,1322,1044,1426,1360,1490,1046,1048,1158,1512,1966,1910,1614,1450,1240,1360,1368,1206,1394,1388,1230,1264,1140,1036,1050,1036,938,764,652,1052,1160,1146,1106,1036,662,623,875,867,1020,865,524,316,307,333,321,446,803,959,852,1698,1466,1060,1532,1708,1322,924,671,703,738,492,444,432,526,931,1456,1322,696,513,595,664,722,599,571,769,794,1112,1076,1078,1396,1012,1730,4272,6540,5592,2558,854,1164,1488,1542,1252,1001,596,818,1134,1320,1166,957,1114,1552,1636,1080,1036,1320,1118,1160,1234,1178,959,740,705,1052,1154,952,934,1130,1086,1174,1386,1402,1624,1686,1392,1338,858,838,1144,1484,1398,608,417,406,373,333,257,289,276,814,1234,1198,1338,1620,1492,936,606,776,908,635,626,618,799,1190,1378,1054,525,476,579,670,709,465,444,619,801,1138,836,601,683,631,472,667,1138,1280,837,724,896,1040,1412,1250,790,1004,1228,1118,1036,991,1007,1068,1246,1382,1296,1178,992,859,886,1100,863,780,1092,886,1054,1350,957,891,573,579,650,874,1184,1160,988,1284,1296,1036,1130,1021,651,473,398,1380,2414,2290,1128,416,373,513,1428,1840,1030,522,608,932,1007,1210,930,586,883,1154,1236,1260,922,910,1790,2268,2150,2082,1938,1974,1192,536,325,275,287,248,532,909,982,1048,907,1360,1858,1772,1466,981,433,311,448,572,569,470,353,449,590,391,430,528,564,1148,1152,714,633,568,580,745,822,939,888,962,1144,1092,1009,1122,995,1244,1460,1436,1448,1450,1238,1030,1086,1426,1182,959,1670,1870,1700,1528,1086,902,918,1005,1202,1262,1370,805,1124,1162,934,757,1015,990,663,1096,1366,851,556,719,1188,1042,535,501,543,565,702,663,530,501,488,515,500,518,675,877,822,838,830,649,472,497,528,483,397,357,361,332,356,365,366,383,372,390,432,500,767,1130,1410,1360,1132,878,781,1346,1760,1812,1818,1712,1368,1388,974,526,397,516,888,782,521,987,820,414,412,455,470,485,425,312,331,570,761,745,445,319,336,322,299,300,270,276,248,205,262,321,301,296,314,292,341,265,379,1012,1082,1040,1340,882,422,859,1238,1326,1546,1194,647,892,1190,1182,724,512,662,691,776,750,385,264,340,618,611,637,747,554,1030,1548,998,998,1136,673,500,860,1044,1050,776,886,1052,743,416,321,473,667,768,631,434,298,360,553,661,541,423,322,342,457,1052,1010,800,951,831,1334,1282,1372,1350,898,443,440,738,702,519,437,589,904,991,621,760,887,938,509,725,866,716,714,910,758,667,758,477,458,637,601,490,375,330,476,496,449,504,665,567,348,829,1172,551,573,731,735,802,1021,1692,1324,756,591,661,1070,797,353,345,568,1082,1284,1064,667,820,1034,1264,1282,1194,1260,1372,1342,1274,1502,1388,1302,1158,912,1038,1106,1208,1596,1658,1274,1286,1510,1456,1584,1644,1592,1978,1588,1284,1166,1432,1268,759,843,774,778,1386,1180,906,686,616,681,1002,1416,1672,1604,1700,1546,1416,1490,1824,1852,1462,1048,1012,1108,920,781,1296,1852,1678,2346,2916,1234,1262,1368,1390,1164,1510,1306,706,466,380,907,1562,1528,1240,1128,1494,1444,1494,1682,3028,3918,4244,4484,4400,3846,2662,1614,1023,960,1222,1792,2214,2222,2170,2052,1734,1594,1472,1274,1248,1236,1172,1060,1003,1418,1282,903,703,799,705,551,484,686,918,1104,1296,1428,1336,1142,1210,1238,817,744,813,912,1130,1262,1584,1666,1242,1230,1124,1272,1504,1298,1346,1058,1144,1260,1066,938,860,991,1068,1026,895,1102,995,1034,1148,664,341,532,1112,1296,922,1178,1196,558,539,1076,828,1148,922,1062,1478,1418,1396,1362,1306,1126,1002,1556,1816,1482,1162,1122,1126,1322,1426,1458,1432,1308,1156,1102,985,896,919,1072,1304,2120,1670,1036,848,938,969,582,330,376,380,419,404,485,574,839,1270,1166,1234,2152,2176,1368,1366,1372,1336,1364,1324,1180,1208,1426,1350,976,940,1164,1162,1010,1176,1128,1476,1218,1082,1226,1332,1236,1009,1100,1456,1496,1208,923,987,1354,1408,1300,1144,1306,1314,1019,955,865,994,739,762,1260,1466,1564,1696,1604,1208,1030,1064,1023,911,835,848,644,425,405,551,615,571,589,454,363,396,523,696,1148,1510,1830,1708,1134,585,549,1076,884,1248,1098,570,534,541,604,609,503,628,829,785,700,770,1208,1516,1494,1456,1184,1272,1564,1502,1104,1138,1140,811,907,1228,1224,1272,1224,1048,1062,984,1122,1376,1368,971,700,1166,1546,1124,727,513,453,475,579,1015,1356,1154,742,947,1350,1666,1554,1174,1244,929,558,532,888,1009,1214,1152,1000,965,1228,1776,1486,1284,1126,1023,1176,1314,1266,1166,1340,1204,1218,1438,1300,1214,1298,1430,1302,1250,1156,1144,1244,1398,1242,1132,1194,1106,891,702,555,427,590,662,477,412,423,536,531,408,363,586,940,993,832,1138,1164,790,840,1266,1538,1570,1284,708,482,711,755,696,894,654,577,1284,1426,1058,1108,1484,1552,1448,1296,1390,1570,1214,781,562,845,805,762,1098,889,583,555,509,469,599,740,694,420,858,1648,1512,1324,1242,1296,1328,1066,867,756,520,603,790,1130,1238,1036,924,1120,1032,1100,1366,1406,1064,1158,1392,1282,1248,1310,1336,1438,1066,521,384,402,402,406,347,522,1042,1302,987,1156,860,1190,1274,840,798,812,599,498,940,1300,1054,993,868,652,1015,1048,1152,1058,1348,1188,698,874,1048,649,805,1376,759,372,404,932,639,411,731,1013,1152,1118,858,832,1058,1202,1358,905,1076,928,1028,894,1292,1556,1598,1662,1410,1013,1152,1246,1306,1148,758,1144,1264,1204,1486,1574,1808,1706,1314,1174,1296,1216,1018,1018,1020,1190,918,1222,1252,1160,1154,1378,1466,1158,866,791,1252,1462,1318,1236,829,797,1116,1418,1048,736,804,925,890,876,1168,1478,1174,621,623,775,1306,1174,1614,1222,927,1038,1304,1422,1482,1294,1252,1338,1348,1020,738,555,704,1062,1178,1274,1360,1216,1210,1310,1050,1054,994,844,724,904,1026,1250,1532,1528,1296,1094,1406,1362,1218,1446,1478,1404,1226,1312,1378,1392,1460,1464,1094,863,897,712,1013,1276,1328,1380,1332,1406,1448,1354,1380,1496,1438,1300,1542,1280,789,552,366,355,569,714,912,960,812,866,939,825,785,1418,1520,1652,1484,1506,1072,543,388,372,340,428,491,534,617,545,501,471,489,500,494,561,540,485,531,652,823,1048,1328,1198,982,1118,1256,1224,1272,1460,1360,1450,1692,1574,1394,1288,1306,1130,1312,1610,1418,1414,1360,814,666,1166,1238,988,1160,1476,1642,1682,1496,1592,1526,1494,1472,1690,1982,1764,1414,1456,1428,1510,1876,1604,1326,985,901,1030,995,1140,1210,1002,929,1142,1116,1216,1108,791,500,331,357,424,354,320,294,388,538,519,448,523,517,588,497],[806,933,927,561,396,386,441,415,374,360,353,363,376,392,420,408,369,408,437,428,477,448,423,419,420,409,403,382,408,423,318,242,242,307,365,391,304,340,521,696,542,489,709,722,376,304,315,367,401,499,499,447,475,434,380,372,423,499,495,419,327,304,330,460,480,454,575,792,1612,2308,1906,1154,677,436,331,459,503,303,290,476,513,392,291,279,291,328,394,389,443,436,509,631,905,1228,1236,1462,1474,1134,894,616,800,1604,1412,1042,1158,1094,774,819,752,454,449,442,408,379,375,530,760,993,951,770,1112,1396,1438,1274,1050,1042,1084,1124,1112,1130,1042,714,609,784,567,468,702,1050,928,737,514,537,996,848,752,1018,825,630,554,452,614,827,646,429,493,576,472,436,382,1052,1614,1268,1428,1654,1406,1094,1142,1324,993,708,688,919,654,437,477,521,416,587,780,661,574,368,481,522,513,455,415,409,647,722,790,1036,1378,1418,1334,1090,438,365,353,329,325,303,347,429,371,454,499,442,401,584,934,693,460,673,1630,1404,941,881,1082,1300,1384,1520,1382,953,470,490,891,1276,764,960,1650,1708,1482,1162,955,991,1134,1028,700,594,669,702,801,626,492,488,634,845,864,587,398,628,1094,1312,1310,902,561,513,964,1440,1130,532,435,427,466,628,639,565,579,620,378,309,439,867,944,1146,1306,1296,1174,1007,1076,1194,932,952,1290,1226,1126,1120,1290,1196,1246,1456,1494,1202,1028,1160,1454,1270,1130,1066,954,1464,1356,975,1208,1192,883,1078,1446,1642,1094,952,864,700,934,621,418,380,397,371,408,521,615,551,457,426,808,1154,1410,1716,1960,1318,924,1106,1224,1390,1734,1620,1596,1620,1662,1678,1578,1736,1690,1268,1230,1024,813,1013,1056,1412,1664,1102,1218,1512,904,847,1318,1324,1294,1100,1172,1424,1274,1168,1072,1064,957,708,631,650,1232,1660,1042,465,916,1616,1280,1023,439,359,390,384,423,585,730,790,900,1012,868,1102,1406,1300,1252,1192,1014,520,422,648,786,845,729,744,902,1036,1382,1710,1632,1110,936,789,835,910,938,1008,1044,1732,2004,1538,1352,1372,1434,1350,1438,1296,1086,1002,1170,1134,1134,1214,1088,967,1128,1046,1174,1232,1246,1056,746,529,836,1038,786,803,942,599,311,321,376,331,390,852,1062,976,1096,709,844,1108,1166,1194,887,984,883,717,709,503,467,401,851,1450,1350,916,710,794,730,576,342,436,641,742,1156,1202,1005,999,753,1180,3452,6356,6260,3234,1154,1250,1828,1714,1436,1132,529,449,557,701,618,682,1048,1282,1178,924,1408,1274,1126,1266,1164,922,1200,1434,1090,1180,1198,868,478,494,741,1182,1192,1018,1180,1580,1548,1072,670,854,1226,1488,1368,559,475,451,408,399,345,316,295,585,913,872,899,1122,1026,638,659,1120,1164,761,618,575,567,851,1536,1548,728,501,474,570,856,812,695,614,733,826,582,599,1054,956,509,633,1166,1164,679,600,504,526,1202,1526,1015,1046,1534,1440,1406,1192,1160,1406,1214,985,1070,981,840,904,1072,1232,1208,1328,1454,1174,891,1138,905,710,598,736,847,807,1092,1258,1015,1226,1600,1244,1164,1108,815,593,395,942,1644,1768,999,413,382,983,1984,1324,608,451,383,399,999,1470,1212,799,852,1076,1278,1098,892,1330,2160,2310,2332,2250,2048,1412,702,445,347,280,276,251,540,1036,916,691,648,872,1064,1146,1192,926,443,454,652,599,691,691,675,1318,1282,567,468,529,592,912,977,881,935,797,720,677,692,894,674,807,1262,1164,1148,1160,897,1060,1376,1262,1188,1300,1090,1140,923,1102,1244,1240,1872,1910,1864,1778,1082,674,953,973,776,1046,1614,786,848,932,1216,1304,1466,1518,1404,1630,1692,1216,937,677,801,1054,758,616,581,581,542,497,552,540,515,485,470,466,494,556,545,1005,1156,1274,907,601,717,720,485,378,385,340,356,356,371,393,368,353,390,437,406,591,1028,1394,1294,1188,948,647,1056,1142,1176,1532,2266,2544,1906,1038,475,597,1092,861,692,1036,813,588,498,618,786,789,669,496,424,363,386,438,405,407,541,816,843,776,574,461,529,421,455,457,322,320,322,268,249,320,365,459,626,630,577,466,441,725,743,1178,1448,946,575,697,1094,1118,689,461,520,376,383,579,774,443,397,615,813,995,880,686,876,1022,804,741,615,493,1024,1616,1392,985,654,747,810,691,440,448,454,587,833,594,720,514,376,672,924,713,509,377,390,455,692,702,628,637,645,1162,779,745,1056,1184,917,572,369,385,495,457,459,547,626,493,800,866,728,506,498,642,692,540,544,686,877,742,365,357,455,536,590,654,553,541,518,543,458,451,319,288,365,460,634,880,726,715,765,1322,1746,1094,717,590,930,1040,460,320,549,1006,1316,1288,1054,1166,1244,972,998,904,1108,984,796,1076,1428,1420,1322,1438,1228,1162,1290,1258,1230,1284,1402,1280,1306,1488,1382,1404,1178,1180,1406,1258,1244,1096,918,781,782,725,592,705,1023,726,630,747,620,767,1202,1756,1920,2010,2216,1744,1598,1424,1594,1580,1560,1374,1544,1520,1122,955,1462,1898,1678,1892,1710,1194,1500,1538,1132,1132,1564,1138,529,328,392,858,1306,1296,1142,1346,1594,1622,1646,1962,3560,4352,4236,4220,4356,4280,3830,2194,1208,1246,1588,2082,2228,2304,2360,2304,2292,2184,2088,1730,821,902,1218,1184,1290,1380,1408,1202,863,821,949,836,862,985,1124,1220,1266,1256,1166,1162,1174,957,779,949,1082,1116,1146,1366,1884,1680,1256,1318,964,1152,1340,1322,1294,1114,1168,1242,1218,1148,1100,978,937,1164,1384,1206,870,908,1016,731,682,945,1152,1308,976,1005,1007,651,503,933,1312,1440,1056,1226,1608,1556,1242,1316,980,998,1054,1918,1636,1186,1286,1180,1264,1420,1448,1454,1304,1146,1172,1154,1102,1094,1036,1272,1296,1406,1298,1126,1090,1140,1042,550,511,557,450,639,806,977,1016,1062,1264,1196,1504,2160,1954,1300,1252,1160,1344,1532,1470,1218,1250,1490,1440,1212,1298,1688,1238,1130,1530,1440,1294,946,1023,1244,1120,1162,1146,978,1172,1188,1176,1178,1408,1538,1522,1438,1332,1178,1013,1244,1250,726,454,541,681,1062,1374,1434,1598,1604,1466,1354,1406,1494,1246,1042,1088,882,552,372,442,595,639,981,860,577,474,690,926,909,970,1296,1610,1444,973,495,916,970,1162,1016,854,833,781,716,658,533,558,783,767,688,819,1192,1500,1500,1348,1262,1220,1304,1478,1412,1322,1020,895,617,745,1176,1170,698,631,854,836,951,1112,872,667,722,715,875,1120,1006,628,489,431,526,698,972,1026,1134,1488,1164,1276,1256,1320,1384,1134,727,583,1086,1258,1164,1306,1104,817,1290,1984,1470,1300,955,1040,1180,1286,1192,1026,965,963,1246,1370,1340,1846,1324,1256,1294,1224,1306,1340,1278,1600,1584,1158,916,871,954,932,811,499,568,598,480,543,619,587,534,466,396,404,633,1021,962,865,662,911,1224,1356,1578,1460,1054,407,481,870,970,639,606,592,554,836,1304,1342,943,1130,1560,1278,930,974,1252,1176,738,670,935,1118,1021,1078,907,625,477,495,522,765,1140,996,453,604,1034,1266,1516,1472,1284,1178,975,1064,957,547,387,428,941,950,916,840,877,905,1052,1382,1104,997,1344,1296,1146,1464,1188,844,1124,1254,896,524,430,417,424,442,527,700,651,677,806,533,501,437,459,569,940,1046,704,595,721,778,534,385,419,653,986,1310,1294,1194,792,569,756,937,714,710,893,577,418,339,471,751,835,624,456,660,904,814,810,966,1374,1584,1048,1244,1140,994,943,1276,1536,1682,1762,1512,992,1456,1746,1686,1246,1092,1376,1456,1408,1488,1566,1698,1710,1466,1494,1466,1234,1168,1226,1244,1288,897,916,1106,1358,1342,1358,1282,1098,803,835,1182,1246,1362,1412,1232,1284,1434,1108,772,680,695,711,645,838,872,808,780,705,708,1188,1382,1192,1144,955,1144,1312,1444,1310,1148,1166,990,1036,1172,1164,1186,1094,1108,1204,898,930,1330,1488,1246,1154,915,828,1186,1076,703,909,1236,1386,1474,1492,1480,1426,1516,1472,1422,1544,1764,1774,1488,1370,1338,1440,1526,1350,1196,1112,1124,942,1200,1378,1472,1584,1888,1826,1356,1388,1380,1322,1306,996,1072,1320,847,579,513,473,422,670,1280,1444,1284,1282,1512,1288,1034,1414,1672,1552,1570,1456,877,440,406,416,347,252,319,432,499,504,489,483,451,488,498,483,507,554,678,1015,1210,1174,1172,1272,972,1001,1282,1090,771,843,1056,1328,1656,1572,1272,1146,1452,1490,1584,1480,1240,1250,1338,1078,765,659,697,713,1114,1810,1322,1570,1640,1570,1586,1644,1510,1648,1830,1838,1246,1430,1404,2288,2420,1794,1334,682,755,1026,1088,1262,1366,1166,849,883,941,1034,618,583,410,261,265,263,293,310,339,519,798,739,465,585,651,718,647],[838,499,441,424,402,525,587,438,362,350,381,465,526,488,363,374,360,386,425,436,423,414,418,420,415,407,405,407,442,423,338,297,278,323,401,387,336,318,398,570,475,430,627,1020,946,730,432,387,381,422,504,519,523,523,477,603,702,653,606,561,441,342,326,416,471,419,451,813,1192,1206,1088,1038,579,390,342,420,413,304,295,320,404,413,320,328,300,283,385,446,534,458,491,837,1562,1474,765,709,603,397,386,448,860,1996,1794,1214,843,778,874,905,586,497,593,505,448,462,618,745,688,656,815,764,900,1268,1470,1300,776,892,1128,806,927,1090,1224,902,845,915,811,670,846,988,796,707,666,485,432,449,791,1074,1028,1003,877,647,743,751,499,445,469,560,441,486,742,1574,1560,1298,1488,1374,1124,1066,1074,964,1082,910,441,616,793,574,415,457,381,583,963,1114,874,609,744,839,1032,803,474,403,549,620,626,988,1222,898,985,915,389,317,266,315,374,356,395,501,447,353,441,461,639,802,698,708,656,761,1202,1144,997,1034,1268,1214,916,1124,1268,1100,720,670,783,1328,1450,1270,1176,995,754,744,773,865,857,1070,880,662,640,742,857,709,479,429,597,794,843,637,533,685,1038,1252,1312,996,753,518,1226,1854,1244,550,430,455,395,416,533,513,456,430,455,457,462,742,1056,1226,1294,1266,874,957,1082,1300,1360,1172,1022,979,739,790,968,1226,1490,1440,1372,1190,940,1160,1218,1354,1238,1334,1238,1464,1216,742,988,1142,984,677,998,1384,990,658,753,1023,940,796,852,719,749,806,603,472,497,536,437,387,465,1112,1404,2868,3342,1404,572,535,651,1178,1368,1402,1268,1334,1556,1594,1632,1598,1384,1310,1236,907,772,1106,1240,1338,1394,886,1128,1224,1009,1084,1140,1200,976,771,1038,1216,1136,1174,1156,1140,994,835,657,636,859,849,700,897,1312,1590,1236,865,523,498,464,430,418,562,964,912,977,1250,791,993,1158,1146,1138,1078,904,705,519,752,878,716,787,922,807,746,844,833,877,971,1009,820,620,437,560,783,1302,2118,2066,1682,1514,1378,971,1023,1260,908,794,1010,1202,1324,1264,1258,1314,1154,1278,1618,1594,1132,1012,1172,1270,1003,1112,1382,922,603,546,386,522,628,544,436,554,797,797,952,836,577,744,1050,1318,1398,935,1116,1334,1128,933,733,627,555,700,982,1302,1094,617,626,593,551,425,452,612,698,1036,980,628,640,655,766,2124,4148,3604,1932,985,1024,1422,993,662,512,325,282,479,837,854,955,1404,1598,1218,1072,1230,1182,1360,1324,1122,1142,1796,1694,904,1015,1272,827,516,589,851,1236,1220,799,669,909,1070,946,572,894,1286,1590,1118,550,479,489,493,508,461,380,315,356,494,407,588,1288,1478,836,541,838,876,991,971,706,638,754,1021,1242,626,451,590,534,908,1144,1066,932,879,810,647,856,1262,922,642,529,746,1150,894,529,459,412,614,1066,1194,1310,1512,1336,846,544,1072,1536,1614,1026,669,588,597,1176,1470,1068,1128,1284,1154,1332,1208,1566,1182,850,610,532,665,693,993,945,823,1118,1534,1116,1108,942,642,626,852,656,701,1084,893,435,603,1338,1826,861,749,627,451,444,1248,2078,1830,1184,1210,1286,1354,1494,1584,1926,2188,2324,2280,2050,1448,739,413,378,349,280,329,426,636,846,1052,753,653,814,1040,1066,989,793,446,479,839,933,1002,945,937,1166,917,619,477,529,680,607,401,531,641,391,360,354,433,580,708,979,950,796,796,701,624,697,913,1030,1040,1074,626,778,1188,1038,949,1184,1480,1570,1622,1544,1432,1270,1272,1170,827,724,933,1510,1822,1682,1384,1152,1392,2402,3286,2744,2208,1820,1888,1444,1009,1216,1128,818,654,645,563,538,518,515,612,631,633,541,491,474,496,460,863,1516,1360,793,893,1148,821,447,354,340,384,390,396,398,361,338,345,380,432,488,670,1164,1476,1346,1290,988,612,383,686,1760,2756,2658,2354,1646,656,678,1242,1056,786,797,583,532,608,717,790,751,805,858,841,583,383,323,553,498,397,781,1238,1344,941,717,961,967,868,616,581,707,658,491,448,496,486,512,538,475,561,612,495,540,474,454,433,568,517,563,752,783,588,436,459,284,327,308,576,406,361,694,896,923,847,573,718,927,763,719,470,425,696,821,665,525,501,691,1094,870,533,738,590,711,980,631,979,885,907,1076,945,655,408,315,381,505,473,411,854,1142,727,1054,636,303,440,617,794,1001,845,594,440,393,422,485,503,529,793,883,669,407,402,550,572,367,444,787,1232,731,396,457,615,506,611,697,614,551,584,749,501,322,297,398,601,641,999,913,724,1122,1080,1140,1786,1636,637,902,1176,601,336,335,777,1220,1154,720,784,1376,1136,748,705,828,1200,1009,888,1312,1404,1310,1424,1408,1162,1214,1300,1302,1266,1272,1166,1124,1296,1498,1446,1260,955,1007,1164,1226,1208,882,879,897,827,680,583,972,1004,701,673,692,640,852,1266,1850,1814,2018,1848,1416,1232,955,1206,1354,1206,1406,1920,2174,1760,912,1488,1806,1366,1854,1610,1468,1820,1682,1134,1406,1620,891,401,321,458,870,1074,1402,1326,1498,1630,1654,1466,2066,3724,4304,4320,4136,4136,4208,3834,1740,1234,1404,1782,2342,2402,2338,2392,2338,2002,1790,1948,1574,948,1104,1112,715,605,830,1034,1136,1138,1154,1302,1258,1346,1296,1250,1350,1402,1190,1074,1240,1290,1186,1402,1938,1832,1228,1300,1376,1212,831,728,660,842,1100,1028,1202,1304,1226,1238,1336,1378,1380,1338,925,750,948,908,649,601,585,521,767,1178,1492,1202,1290,867,593,774,933,584,703,1314,1296,1032,1320,1482,1642,873,1011,1044,1090,1354,1616,957,924,1430,1460,1310,1372,1412,1414,1394,1154,1026,974,962,973,1136,1322,1246,1150,1226,1224,1376,1290,1168,927,1168,929,795,950,1074,1238,1320,1246,1114,971,1118,1136,1350,1528,1234,1018,1138,1380,1368,1048,1014,1346,1520,1354,1266,1292,1140,1226,1282,1364,1434,1378,1296,1072,813,1148,1346,1126,992,865,976,1278,1288,1232,1472,1772,1924,1410,1104,1004,701,586,725,1018,1056,1208,1276,1248,1506,1708,1546,1340,1450,1550,1322,1178,1238,1188,625,413,461,553,852,1350,1178,908,1019,986,906,879,678,593,846,1282,1180,502,717,1684,1560,1017,1003,982,963,703,566,578,869,984,700,397,818,1338,1362,1148,1032,1176,896,913,1240,1454,1202,998,955,477,454,788,860,680,525,815,1204,1284,1102,811,1005,976,648,695,874,765,559,432,401,371,409,484,729,1230,1374,678,860,1312,1466,1386,1460,1044,840,1166,1030,951,1332,1252,1224,1194,888,912,1194,1110,1152,1288,1324,1190,1128,915,1066,1302,1426,1606,2242,1390,1210,1412,1394,1360,1288,1272,1324,1332,1244,948,749,626,749,930,661,449,485,536,605,625,583,555,477,530,604,499,641,1114,991,630,996,1238,1550,1228,889,865,811,791,708,549,435,539,635,670,670,1076,1280,734,662,892,843,672,1106,1250,886,524,461,720,1202,1298,1202,1280,899,427,474,592,642,907,642,382,397,428,533,832,1088,1302,1158,1068,1260,990,668,577,651,924,969,1064,803,574,834,1208,1266,848,875,973,815,1009,1080,887,933,990,1168,1258,657,586,650,505,530,534,509,479,388,427,579,503,785,1188,915,777,1062,998,543,361,565,477,494,779,889,1021,1202,1142,841,672,521,606,722,706,1124,1042,879,631,407,491,933,1272,886,603,827,929,839,858,929,1432,1352,1102,1250,970,781,1120,1328,1332,1252,1234,1458,1558,1592,1800,1742,1664,1588,1470,1404,1380,1490,1470,1518,1614,1440,1382,1226,1122,1406,1288,1092,1007,815,760,1078,1494,1316,1252,1556,1412,899,871,1166,1210,1264,1578,1660,1536,1114,878,912,694,569,593,491,641,955,1116,1190,1082,1005,1300,1304,1076,1176,1284,1216,1356,1630,1604,1302,1328,1104,625,844,1074,1164,1542,1548,1482,1176,1066,1058,1058,955,1018,1040,1026,1164,853,511,642,753,1003,1426,1208,1554,1602,1510,1474,1312,1294,1400,1338,1318,1144,966,1054,1612,1430,1262,1306,1354,1350,1344,1306,1390,2072,2604,1780,1454,1380,1356,1544,1280,1016,1192,1466,1348,1210,1010,730,362,441,590,804,1054,760,728,1011,1394,1566,1636,1628,1512,1026,486,397,416,405,337,286,312,382,345,401,506,576,461,418,458,494,501,555,617,955,1376,1380,1124,1330,1508,1460,1412,1288,899,740,760,967,1504,1710,1350,1350,1142,1310,1566,1526,1256,1212,1476,1434,1184,721,799,1184,1276,1874,2138,1750,1368,1296,1396,1562,1464,1498,1644,1814,1116,1082,1116,1806,1968,1588,1264,774,479,722,1088,1044,774,860,1164,1058,622,395,401,437,358,280,297,296,319,307,365,602,938,842,577,612,695,572,506],[536,407,344,326,372,475,443,372,364,349,365,413,469,420,397,377,365,392,417,432,426,420,423,425,423,425,423,414,390,334,280,330,347,326,400,417,419,383,379,499,572,522,941,984,1060,811,466,433,436,356,407,517,543,548,500,592,647,626,592,579,495,391,311,318,318,423,933,1202,1258,752,1030,1116,702,467,379,314,418,572,539,424,305,324,370,372,322,306,461,529,580,492,423,730,1216,1100,614,491,427,379,386,427,535,1056,1036,823,686,669,894,845,507,496,496,426,427,524,1036,1186,890,736,1062,1230,1066,969,1254,1218,818,852,888,714,837,1206,1250,906,935,1174,1216,1122,1356,1440,1246,856,581,421,500,616,1046,1344,1312,1254,1184,1048,860,468,403,411,434,469,468,546,591,871,1084,1015,1136,1188,1290,1224,1208,771,1078,1074,807,1046,1260,860,508,679,552,430,722,1078,753,908,1028,1196,1358,921,525,477,533,662,745,919,671,814,1142,1238,551,262,263,343,329,250,332,463,440,407,397,610,1006,873,919,1026,727,658,770,1080,1282,1064,1028,1106,1122,1256,1322,1010,647,664,769,1272,1598,1288,872,586,401,509,716,826,683,976,991,976,822,707,677,633,484,372,603,954,1296,1086,829,887,1114,1476,1636,1084,644,416,999,1816,1380,672,376,456,393,379,406,398,767,792,725,625,451,518,816,1120,1002,1108,1052,877,1340,1556,1478,1238,1170,957,711,766,1100,1568,1542,1140,1196,1298,1272,1324,1544,1648,1558,1276,1202,1836,1682,988,1078,1166,1120,916,932,1046,1164,1216,1374,1486,893,614,991,1132,1230,1212,949,727,564,486,397,403,774,1292,1366,1868,1962,892,411,357,543,1094,1320,1426,1282,1304,1498,1474,1360,1404,1626,1534,1362,1302,1296,1594,1514,1324,1450,1160,1188,1048,825,988,1162,935,728,808,1028,1032,1018,923,959,993,1036,736,495,513,519,760,1021,1170,1710,1380,1200,720,480,761,886,701,666,704,982,872,930,1122,943,795,1080,1154,1134,1096,930,787,695,601,794,846,883,1088,853,886,677,603,912,1288,1276,1082,895,573,427,460,918,1522,1708,1696,1398,1184,1136,979,1052,1136,1018,1186,1252,1242,1294,1460,1220,937,1256,1618,1124,869,872,859,1054,1164,1334,1704,990,880,893,633,797,957,1007,676,723,852,761,739,612,689,942,1028,1884,1462,980,1246,1556,977,568,585,503,440,470,786,1356,1210,730,637,755,715,496,400,572,539,620,787,608,512,656,626,577,820,742,647,604,980,1102,605,328,316,350,520,865,956,908,1016,1396,1566,1320,985,861,1196,1416,1250,897,1314,1768,1040,775,689,1202,1212,952,1020,1294,1484,1430,1290,1030,677,602,599,576,1080,1332,1642,941,486,466,501,562,530,459,353,306,303,449,419,536,1005,961,772,719,637,901,1276,1028,726,596,737,991,1074,828,984,1312,1130,1092,1007,884,901,1084,909,952,960,819,662,859,833,863,970,641,442,475,475,531,613,744,1126,1416,891,601,868,1246,1542,1550,1104,1048,1506,1422,980,921,929,1088,1102,950,987,1088,1394,1086,742,663,873,929,620,788,628,1032,1446,1614,1212,845,950,909,1176,1598,954,775,1682,1368,648,1144,1666,997,785,680,420,406,869,1926,2292,1530,1306,1334,1210,778,782,1296,1570,1354,1152,963,727,463,387,413,554,530,370,368,439,586,940,1180,868,796,801,758,767,866,1122,902,886,807,866,961,995,915,718,597,491,424,644,673,436,293,382,552,375,338,369,390,725,1090,1236,1162,899,572,453,449,629,612,750,1172,1208,963,1278,1514,1278,987,881,946,1011,1144,1186,1338,1266,1240,1372,1580,1656,1704,1780,1478,1118,885,703,1038,2312,2944,2010,2182,2276,2294,2170,1472,947,1064,1198,890,568,526,618,773,669,719,721,708,666,651,566,519,553,592,694,586,484,895,1366,1106,736,500,385,355,363,384,372,362,381,382,397,409,464,572,1200,1410,1378,1414,1316,932,728,808,1590,2374,2504,2082,1570,775,555,822,836,798,774,514,642,897,922,527,428,527,468,583,675,708,860,1122,852,438,422,796,1040,885,820,1198,1446,1222,927,875,835,946,1110,1140,1003,1164,1017,868,959,1072,922,951,890,736,636,722,645,394,342,468,550,485,468,594,369,308,276,303,305,343,612,592,509,623,374,580,612,654,631,487,381,269,215,245,622,967,1160,1496,906,626,559,619,773,728,743,890,1023,1268,1316,1288,1098,755,384,502,733,543,508,1166,1126,736,879,608,333,412,327,354,610,1001,1088,968,702,606,563,527,552,700,797,636,422,544,417,321,313,382,436,432,361,688,986,849,761,1100,1286,986,855,762,1202,1014,433,318,820,1360,1328,990,666,955,1208,764,800,1074,1122,843,1282,786,387,478,689,1028,1196,965,761,1094,1222,880,694,689,1018,1288,1196,1166,1284,1294,1306,1464,1354,1414,1460,1310,1282,1252,1248,1122,1156,1440,1430,1304,1284,1126,979,984,1074,903,724,822,899,707,630,745,1060,903,690,709,611,620,805,1034,1324,1676,1842,1628,1440,1266,1014,1324,1620,1446,1328,1804,1832,1296,1098,1602,1634,1516,1874,1648,1294,1410,1562,1084,1276,1388,774,401,375,469,969,1292,1528,1526,1422,1538,1636,1490,2176,4108,4216,4264,4200,4070,4112,3520,1688,1242,1636,1872,1906,1678,1550,1350,1406,1104,988,927,1016,1158,1392,1216,878,698,800,715,807,1048,996,884,1150,1166,1220,1408,1432,1472,1388,1400,1538,1488,1210,1394,1914,1816,1470,1594,1408,1156,849,518,412,797,1078,819,1054,1298,1248,1214,1056,935,1318,1388,1016,805,863,720,473,583,484,451,739,783,861,800,1005,673,612,1058,1052,658,743,1248,1340,1130,1328,1324,1320,1164,1086,1090,1206,1490,1438,1096,1268,1444,1522,1358,1484,1360,1420,1334,1128,897,890,1112,1218,1224,1094,796,800,1166,1372,1556,1408,1412,1330,1276,779,621,714,705,840,1294,1488,1224,1188,1358,1050,1388,1324,905,880,1023,952,912,908,913,968,1418,1334,1240,1202,1238,1256,1250,1404,1470,1350,1180,948,859,1066,1262,1216,1042,1046,1224,1112,959,1306,1546,1786,1916,1446,1272,1078,740,684,673,889,1238,1438,1248,1120,1360,1772,1804,1560,1574,1532,1224,1194,1346,1232,703,535,600,592,889,1268,1130,736,816,898,908,933,771,713,535,833,1232,944,939,1542,1626,1114,951,1003,956,929,1096,1260,1432,1194,739,600,867,1158,1450,1268,965,1076,874,1108,991,1224,1266,1310,1118,732,777,1038,1194,1028,739,922,1214,1244,1224,1238,1288,1002,789,885,996,880,625,441,436,391,393,423,816,1318,1072,561,903,1362,1292,1368,1492,1356,1248,1352,1164,947,922,1146,1460,1246,899,1015,1182,1220,1298,1344,1240,1228,1454,1302,1378,1378,1346,1430,1210,1154,1440,1510,1340,1208,1262,1374,1282,1452,1554,1118,745,657,597,828,864,537,440,557,555,459,474,474,462,539,673,622,442,809,1120,924,605,1382,2150,1500,1068,1078,1356,1082,581,499,588,733,1002,1002,637,801,1134,946,719,621,744,1042,1290,976,584,497,458,704,1064,1012,1032,1164,885,666,459,428,410,490,447,403,442,421,495,669,944,1352,1512,1480,1260,932,792,1100,1092,822,1028,1102,952,763,1124,1340,888,1015,1032,672,677,965,912,905,1188,1094,1018,1216,1032,933,1276,792,438,472,482,458,424,665,888,742,1104,1782,1412,928,796,981,935,711,527,442,479,935,1416,1272,1096,948,703,653,538,526,976,979,683,656,829,759,836,926,894,1002,742,1082,1120,904,787,887,953,1262,1438,1414,1256,918,810,985,1208,925,850,745,967,1282,1360,1278,1450,1926,1886,1572,1576,1644,1698,1520,1494,1642,1590,1668,1556,1564,1708,1662,1554,1154,818,719,1070,1460,1472,1174,1110,1168,980,1001,1238,1134,1406,1732,1458,1058,769,763,796,848,717,659,528,1050,1742,1508,1288,1392,1412,1404,1544,1398,1166,1392,1254,1384,1444,1476,1158,1280,1292,607,456,735,1172,1512,1620,1452,1604,1426,1222,1398,1430,1604,1656,1138,986,930,785,1019,1318,1038,1270,1426,1572,1442,1294,1094,1086,1358,1346,1330,1282,1152,1202,1120,1346,1390,1318,1386,1416,1462,1466,1488,1432,2014,2042,1440,1362,1232,1266,1416,1182,1428,1504,1112,985,1194,1094,774,334,398,520,760,798,731,850,679,1005,1178,1172,1556,1364,656,412,426,428,450,386,389,328,284,379,458,590,656,495,451,483,522,514,485,790,1082,1132,1084,1122,1330,1606,1500,1380,1478,1288,1056,872,1032,1450,1600,1484,1416,1490,1432,1352,1494,1344,1404,1332,1354,1454,1112,1498,1718,1390,1440,1654,1496,1372,1452,1338,1620,1374,1022,951,946,1046,1084,1494,1948,1708,1232,971,514,402,490,809,837,702,867,1434,1368,752,401,431,440,371,308,305,296,322,322,350,614,711,530,621,949,1046,748,820],[416,378,319,308,372,419,381,361,354,342,342,365,357,344,378,377,361,362,399,426,423,423,436,443,430,458,453,436,385,342,319,373,373,323,375,458,405,386,404,432,522,750,986,664,814,813,444,490,502,293,387,527,551,529,525,562,578,535,539,545,502,429,360,365,392,381,789,846,1266,684,908,1090,836,765,505,382,598,538,913,886,433,298,310,287,236,380,651,698,580,441,355,414,469,555,547,496,432,376,379,491,611,780,902,730,645,727,756,631,531,505,425,461,482,465,702,968,1021,815,735,950,1013,1046,1146,935,1212,1366,1164,999,979,1256,1230,883,862,1066,1142,1040,1138,1142,1196,1098,1044,872,585,773,1308,1484,1312,1130,999,1036,715,468,444,465,474,389,476,603,619,993,991,832,1060,1394,1278,1154,1198,1048,1284,1264,1140,1090,971,855,784,1236,1154,606,553,538,455,661,954,1009,1074,1026,822,766,820,777,1038,1266,1100,945,1062,930,465,287,261,289,293,320,355,363,329,437,541,881,1316,1132,1200,1120,770,699,883,1052,883,819,1028,1224,1356,1244,1012,692,394,314,513,1168,1828,1636,1176,652,471,581,726,775,919,904,820,924,781,498,505,544,563,388,681,1222,1656,1364,1184,911,913,1566,1508,926,683,413,712,1616,1560,791,420,390,419,446,455,774,1146,1134,1003,539,370,379,728,1146,1104,1246,1216,839,1302,1794,1494,1178,1450,1332,1142,889,1274,1414,1160,1204,1256,1318,1302,1356,1484,1232,1136,979,995,1072,1156,1288,1302,1258,1376,1338,1338,970,988,1372,1510,1300,706,654,854,1194,1350,1256,1106,1192,1022,706,438,589,982,1254,1164,887,772,616,464,426,517,1044,1198,849,919,1320,1446,1518,1522,1244,1452,1282,904,1176,1534,1676,1600,1602,1562,1286,1280,1304,1052,1062,1092,781,723,1076,1210,1202,1021,912,960,1268,1238,572,456,446,607,1430,1746,1750,1726,1488,1034,548,429,963,1236,840,753,1056,1096,909,900,1246,874,666,1122,1058,1023,1400,1138,976,828,391,537,969,962,665,481,678,591,984,1528,1504,1340,1340,1076,839,764,518,1422,2004,1640,1632,1508,1272,1298,1214,1370,1422,926,960,1042,1132,1056,961,868,1234,1296,1324,1056,797,893,871,1120,1334,1250,1438,1082,1158,1132,846,916,1206,1354,955,926,1282,1158,836,592,835,1098,1302,1900,1362,1178,1388,1302,810,443,426,416,383,424,808,1312,1248,1248,835,605,528,451,513,532,411,540,735,714,583,750,778,861,724,633,672,770,1072,1208,921,358,309,396,890,967,733,838,835,843,920,1126,1196,1132,1124,1218,1300,1068,1296,1310,877,840,730,1318,1578,1318,1256,1548,1668,1400,1518,1636,1284,922,642,694,1172,1526,1552,849,478,470,501,562,533,379,220,241,289,467,503,901,969,515,683,947,771,688,885,1208,1356,879,745,828,836,1148,1686,1660,1396,1462,1108,908,959,1280,667,708,766,500,537,872,1096,1232,803,377,420,449,498,619,619,425,615,879,750,823,753,999,1214,1084,1384,2030,2740,2062,977,788,1066,1252,1098,841,600,798,954,820,1100,1096,1336,1448,1272,1428,1264,1860,1892,1626,1380,1154,1212,1138,935,1003,1072,1042,890,677,860,1678,1344,693,810,495,297,440,1220,2206,1766,1246,1234,1214,816,472,421,630,650,496,393,466,542,486,400,384,409,450,457,616,630,998,1498,1252,802,730,708,588,566,619,1092,951,910,564,611,787,822,764,717,683,490,310,390,424,384,396,436,724,579,394,601,661,805,1126,1430,1528,988,1004,948,769,1011,1060,1154,1370,1176,1060,1220,1186,1092,974,1040,750,865,897,868,1258,1300,1236,1390,1388,1140,1070,1030,864,991,1540,1266,1030,2194,2952,2378,2252,1770,1564,1568,1022,655,554,817,1160,741,498,987,1228,923,809,973,863,680,683,582,744,1222,1078,670,477,538,1180,1312,1220,1124,858,573,386,363,364,364,385,399,381,397,422,419,891,1524,1542,1412,1444,1266,1034,1188,1350,1276,1328,1938,1456,1270,1026,692,770,811,835,828,572,1254,1980,1960,937,596,504,403,360,626,1054,993,502,472,460,538,994,822,780,1280,1832,1808,1494,1438,1406,1050,696,1030,1492,1228,1108,938,813,810,810,960,1062,966,900,979,934,749,629,552,473,564,702,872,794,534,319,262,294,324,310,394,368,490,728,478,368,285,308,294,390,371,298,328,314,578,1046,1402,1018,582,651,905,882,631,368,569,805,995,1312,1318,1312,1050,1052,889,1354,979,736,807,996,835,716,877,532,378,454,433,335,337,563,1080,1320,1224,963,623,440,509,636,534,479,731,1232,739,355,551,741,534,324,377,781,1234,1142,974,1076,1338,1438,1052,655,951,745,369,565,1282,1620,1414,1172,1068,1322,1282,848,892,770,855,1094,836,419,335,630,1098,1224,1218,1046,1007,1186,1148,1112,1078,1028,1232,1268,987,869,1272,1482,1482,1410,1250,1958,1782,1128,1182,1338,1266,1130,1252,1450,1350,1334,1538,1396,1019,1014,887,719,664,767,820,832,885,1174,1332,843,673,669,556,735,774,1066,1166,1512,2062,2254,2066,1462,1292,1708,1758,1600,1952,2046,1870,1192,1262,1630,1440,1284,1428,1472,1172,1186,1504,1124,1262,1156,741,464,396,464,821,1160,1450,1498,1544,1606,1764,1704,2540,4220,4300,4132,4196,4152,4184,3304,1990,2014,1670,1430,1268,784,675,506,577,544,583,723,1236,1472,1116,944,961,1092,1626,1464,1318,1410,1150,752,1021,959,1012,1296,1286,1168,697,916,1112,1340,1284,1384,1444,1416,1506,1526,1630,1548,1034,555,440,711,1074,929,1256,1218,1032,1028,912,908,1274,1348,1009,987,887,543,518,646,445,394,572,734,855,974,747,547,829,965,887,892,1046,1312,1490,1368,1280,1322,1180,1174,1042,872,981,1482,1588,1324,1274,1256,1412,1668,1668,1442,1488,1618,1386,985,924,1020,1160,1140,1068,805,678,730,1178,1444,1330,1016,1010,952,620,610,697,719,959,1466,1494,1248,1110,1474,1244,1120,1054,786,870,948,661,865,1023,896,935,1314,1244,1144,1112,1334,1340,1282,1372,1318,1162,1142,1124,1252,1212,1274,1296,1326,1354,1262,1078,1212,1372,1064,1248,1654,1532,1296,1246,880,764,821,970,1306,1388,1458,1588,1488,1824,1762,1468,1410,1272,901,920,1206,959,630,608,572,633,827,1180,1248,843,531,508,797,1120,1242,1372,835,917,1384,1342,1158,1150,1150,1126,1062,1112,1374,1470,1338,1120,1038,834,823,1168,1174,1298,1614,1040,628,551,877,1736,1458,1300,1356,1308,1090,933,1216,1392,1332,1152,1264,1556,1418,1040,963,1230,1250,1015,736,643,742,707,508,401,392,426,392,383,459,795,773,712,1134,1390,1394,1548,1516,1574,1188,1030,1005,808,806,1140,1148,912,931,1144,1110,1240,1330,1306,1180,1030,1202,1270,1362,1556,1642,1386,1224,1240,1300,1290,1192,1268,1410,1340,1242,1298,1444,1052,891,973,735,686,815,739,426,442,458,448,458,406,437,487,496,438,415,566,882,1062,1108,1984,1902,1744,1138,1046,1254,960,602,627,651,760,1190,1336,639,975,1444,1500,1454,1500,1736,1808,1484,970,514,509,509,725,878,809,758,846,1082,1038,847,847,939,1028,882,509,431,459,609,948,1234,1506,1506,1382,1262,1086,1011,1350,1294,1114,1350,1162,1206,1194,1364,1168,932,984,703,685,1036,1212,1072,1154,1368,1236,1134,1144,1494,1372,1354,1078,857,769,749,654,704,1272,1178,1019,777,1020,1058,924,1096,1032,1102,1050,762,477,309,418,625,987,1080,861,723,680,652,895,1536,1208,667,853,771,720,1136,1334,1212,1256,1078,1234,1064,771,721,827,862,1210,1662,1630,1616,1616,1274,897,1106,1302,1076,728,867,1260,1368,1256,1202,1494,1694,1442,1596,1752,1686,1734,1676,1664,1760,1804,1832,1754,1674,1814,1690,1484,1272,960,1454,1660,1382,929,802,1116,1210,1456,1526,1650,1626,1368,849,655,597,579,585,840,879,796,703,1108,1596,1196,1092,1324,1340,1286,1314,1216,1240,1306,1220,1196,1356,1490,1094,1058,1110,736,552,932,1013,1196,1418,1346,1602,1638,1488,1516,1532,2022,1838,977,919,999,1092,1316,1570,1186,1003,1298,1504,1352,1158,999,1164,1382,1560,1406,1150,1366,1240,949,1048,1306,1442,1362,1614,1702,1620,1742,1450,1604,1622,1222,1256,1214,1216,1372,1606,1654,1476,1152,738,694,582,606,611,536,654,854,731,1092,1396,804,573,849,1268,1476,1504,880,516,408,377,419,419,404,310,255,354,510,550,550,637,604,530,494,398,310,656,1158,1212,1176,1398,1484,1382,1420,1398,1342,1262,1206,1228,1268,1284,1434,1316,997,840,999,1362,1620,1426,1432,1418,1172,1188,1023,1062,1100,1130,1418,1418,1406,1520,1422,1208,1412,1244,1108,882,576,630,951,1236,1354,1440,1712,1446,533,558,834,1052,1070,1003,1170,1346,1090,533,309,370,361,321,317,265,482,750,682,433,535,491,520,928,1340,1218,1108,788],[383,393,479,482,405,450,430,375,365,350,336,340,357,365,375,365,330,330,379,417,427,427,440,458,430,456,459,445,426,387,375,423,396,298,323,401,324,356,407,466,545,586,517,443,561,496,331,383,504,444,507,530,523,538,542,597,580,518,541,561,522,522,420,321,283,283,369,504,714,500,752,926,1152,1494,1044,896,883,463,692,836,740,641,725,620,299,494,724,667,423,358,344,361,398,466,470,417,414,450,464,626,636,555,785,701,623,446,339,348,484,449,446,741,922,778,662,699,811,639,500,619,689,939,1066,1068,1162,1338,1448,1430,1358,1492,1212,967,940,1102,1216,1078,852,902,797,772,1026,873,529,518,1056,1340,937,619,877,923,692,543,474,514,466,323,447,654,858,1130,1108,1250,1104,1322,1470,1166,935,1012,1108,1228,1040,736,655,490,790,1244,1542,1104,681,785,728,815,1044,916,1098,847,714,1156,1670,1538,1608,1486,1182,827,868,769,547,540,512,440,329,393,340,325,294,499,883,753,764,932,912,1042,1062,902,1020,1062,665,706,731,819,1008,891,819,700,377,359,469,1096,1878,1850,1488,709,484,503,507,585,868,1056,991,1042,1015,624,570,521,611,466,838,1266,1280,1084,1044,940,1106,1194,729,502,464,423,478,681,640,587,540,421,435,457,526,827,1086,1220,1188,677,495,460,813,1846,1986,1426,1280,1010,946,1266,1144,1180,1318,1386,1124,1015,1050,917,700,1110,1348,1252,961,965,1296,1310,993,887,778,764,1172,1578,1522,1524,1424,1306,1364,1086,1362,1250,1260,1192,775,835,1042,1350,1466,1136,863,1034,1208,1056,1034,1128,861,1138,1138,1116,1254,857,468,346,545,1096,1090,763,858,1272,1322,1502,1456,1320,1504,1256,911,984,1148,1402,1610,1718,1476,1258,1328,1198,1184,1216,973,639,698,1126,1214,919,727,726,890,1176,948,477,445,455,666,1344,1636,1554,1310,1406,1142,926,752,940,918,902,762,1164,970,835,968,1442,1234,894,993,787,924,1436,1072,1128,822,425,397,505,782,882,531,362,593,1136,1388,1292,1122,1324,1240,1512,1146,552,1744,2228,1698,1612,1582,1372,1330,1122,1284,1340,1222,1396,1254,1282,1180,1012,1104,1302,1308,1266,855,973,1222,922,759,860,913,819,773,948,951,796,896,1020,844,824,966,882,907,943,821,958,1134,1794,1792,1258,1140,1330,1376,990,737,525,432,383,438,641,805,995,1452,1238,930,771,605,637,750,827,916,1066,1152,1058,1142,1340,1460,946,766,940,816,977,1312,980,417,311,322,664,510,393,487,473,491,597,952,1278,1082,916,1090,1122,1076,1048,1094,853,647,801,1068,1232,1440,1604,1572,1260,1088,1258,1472,1686,1432,735,813,1234,1600,1414,614,458,459,506,539,520,356,234,306,358,652,821,1116,1300,847,666,1018,1146,1124,1530,1936,1588,734,439,553,610,877,1660,1754,1076,1366,1256,939,827,855,520,662,810,651,785,1158,1490,1015,448,419,446,452,583,672,727,497,422,589,990,1001,648,863,1032,1560,2310,1896,1830,1170,702,413,797,1236,1058,661,612,789,764,697,1182,997,1334,1512,1328,1250,1400,1492,1284,1172,1290,1154,1021,959,808,696,1286,1054,1028,1468,1722,1746,832,383,442,373,358,700,1796,2120,1334,1322,1334,929,514,436,441,548,658,531,345,357,420,388,377,491,430,594,574,477,444,644,933,813,588,710,608,619,677,521,597,554,532,462,382,389,432,509,473,495,388,312,299,342,398,677,747,1028,960,843,1262,1372,993,1024,1350,1406,692,901,1064,1023,1001,1019,1316,1366,1186,1152,1116,1034,856,1146,1512,1422,1306,1362,1438,1550,1216,893,872,753,447,556,957,897,1046,1506,1532,1118,1736,2116,1876,1606,1328,1312,1204,965,1038,602,484,736,924,559,554,958,1068,1190,1450,1208,760,600,892,2386,2178,1708,1394,867,644,812,947,1040,1056,996,886,666,440,374,379,406,399,410,371,392,426,534,923,1484,1660,1582,1290,1296,1204,1350,1438,1246,1142,1108,1678,1574,827,815,995,838,727,547,1448,2010,2072,1304,699,417,306,298,547,819,540,376,387,454,849,1058,950,716,1144,1574,1472,1178,1192,1362,929,476,959,1986,1534,937,1098,890,748,791,747,744,695,547,481,513,606,493,451,506,497,533,653,849,725,558,548,518,537,635,759,509,524,725,564,315,277,318,331,515,650,468,294,299,601,1226,1496,660,510,470,549,606,391,254,549,1012,1132,1332,1048,1106,613,931,1024,1346,1044,975,1350,1334,919,662,937,492,543,618,637,402,314,619,1080,1320,1404,1346,1092,760,460,559,576,716,1260,1506,702,384,823,1288,1194,639,366,530,966,1028,1162,973,973,905,940,896,658,339,516,1160,1410,1258,1180,1482,1650,1636,1886,1476,1016,779,958,868,461,381,543,851,1200,1238,1208,1210,1180,1148,1236,1278,1152,1224,1388,1238,960,1194,1674,1592,1448,1470,1510,1968,1656,1450,1692,1482,1260,1282,1426,1484,1390,1422,1396,1230,1112,1013,853,722,631,702,857,1106,1226,1270,1238,836,738,664,631,730,899,1124,1230,1820,2474,2668,2408,1732,1584,1682,1610,1726,2398,2452,1964,1174,1390,1770,1572,1450,1458,1300,1150,1276,1476,1400,1706,1130,762,635,448,523,803,1070,1072,988,1116,1192,1952,1970,2944,4120,4344,4180,4040,4084,4276,3594,2696,2890,1362,893,577,465,467,404,522,853,1082,1210,1444,1452,1282,1004,910,1382,1628,1538,1672,1800,1594,1380,1492,1274,993,1374,1602,1214,656,1082,991,1102,1042,1072,1084,1214,1330,1322,1454,1478,1222,1132,1108,1198,1198,1202,1426,1470,1336,1120,1168,1200,1124,1200,1108,1042,1009,614,452,498,409,529,1028,1258,1144,975,854,877,829,706,800,938,1070,948,1132,1232,1298,1262,1086,1208,1358,1116,902,1284,1464,1188,1013,1300,1376,1426,1462,1348,1338,1328,1158,1254,1122,1070,1306,1290,1112,922,816,758,900,1064,1158,769,717,885,612,642,706,697,921,1005,996,1204,1042,939,844,921,937,788,1058,1210,952,1072,1152,1036,1338,1348,1180,1080,1134,1336,1318,1270,1572,2342,1206,1192,1378,1506,1240,1118,1246,1396,1392,1262,1230,1326,1072,750,872,1100,1468,1302,1248,1198,1322,1132,954,1094,1290,1594,1840,1644,1720,1450,1248,1170,1028,754,866,860,722,737,569,465,687,866,1124,1542,1216,697,628,1060,1438,1602,1460,1100,978,1028,1102,973,1176,1020,1350,1354,1194,1072,1112,1062,953,1002,887,877,1256,1350,1090,456,428,453,366,742,1474,1438,968,1046,1266,974,916,1134,1324,1456,1202,1146,1216,1146,870,720,1012,1246,1066,666,441,453,529,430,400,420,429,419,383,408,473,487,810,1498,1504,1310,1452,1478,1348,1140,1162,1366,1180,1138,1216,965,899,1130,1300,1506,1524,1612,1506,1188,882,1002,1134,1322,1516,1214,1003,1310,1278,1120,1166,933,1026,1152,1112,1200,1208,1088,840,688,711,716,653,683,654,525,475,408,442,451,400,362,372,412,433,502,537,534,784,1238,1510,1446,1594,1312,970,852,684,599,659,720,711,822,1118,963,1404,1668,1950,1998,1906,2262,2300,1562,814,506,479,551,911,1210,1018,938,1002,1046,1021,1108,1242,1054,1148,1284,951,580,533,646,1152,1476,1472,1320,1340,1382,1262,1148,920,967,1284,1694,1432,1178,1322,1274,1282,1392,896,548,572,798,995,852,1001,1068,1090,1208,1204,1542,1644,1656,1680,1322,1004,1128,860,959,1754,1340,1104,642,464,615,965,1156,994,1102,1080,1060,918,1044,621,404,659,1032,951,748,625,763,1190,1366,834,582,783,684,617,924,1490,1676,1382,918,872,833,688,741,817,854,1116,1394,1456,1456,1498,1194,969,1166,1226,1066,936,1026,933,664,931,930,1042,1108,1250,1294,1472,1566,1852,1808,1606,1584,1462,1472,1454,1938,1730,1576,1436,1550,1506,1548,1406,1096,732,877,923,1122,1592,1706,1530,1196,966,805,626,674,710,633,922,1168,1178,1356,1384,1378,695,852,928,803,954,984,1134,1378,1516,1614,1582,1640,1532,1124,1072,951,882,963,1196,1048,1090,1376,1476,1658,1624,1458,1366,1406,1816,1396,1052,1094,737,700,1018,1102,813,677,982,1272,1298,1102,1064,1224,1530,1636,1194,1202,1412,1360,1206,1088,1440,1490,1202,1654,1760,1634,1666,1552,1614,1810,1498,1306,1338,1190,1258,1704,1528,1284,1484,1284,1042,1032,1076,1170,1042,819,639,555,1032,1628,793,307,586,1456,1744,1670,1418,764,377,453,460,419,419,286,268,333,408,434,436,613,547,480,418,290,261,497,1040,1462,1550,1684,1684,1408,1636,1460,1256,1402,1118,962,974,954,1244,1316,1150,749,1020,1200,1390,1234,1214,1372,1234,1126,1260,1396,1108,1142,1752,1348,1346,1156,1090,988,1186,1154,996,1136,1022,532,549,846,1256,1604,2244,2132,1356,1354,1460,1398,1302,1352,1444,1406,957,420,353,361,417,549,419,335,669,1086,1023,554,448,797,1114,1390,1466,1096,1024,753],[478,588,683,636,462,596,518,410,382,357,339,337,345,360,383,370,344,329,367,410,423,422,427,430,407,414,425,442,443,387,370,434,440,296,301,300,288,297,264,334,410,365,370,361,302,269,296,341,369,482,557,525,484,552,550,543,519,545,531,541,482,423,339,331,313,362,396,474,474,403,384,484,882,1372,1280,1372,871,594,654,619,738,955,1314,1020,432,553,576,477,382,354,370,363,352,343,353,498,789,810,555,564,509,488,430,523,572,502,528,542,524,389,328,645,1015,846,618,825,608,427,446,494,437,471,709,967,1058,1164,1492,1698,1612,1526,862,668,767,1015,1084,1286,1280,1021,729,717,1080,1338,822,622,736,825,615,632,752,741,783,636,466,495,527,471,470,518,665,803,1252,1638,1386,1216,1110,1056,1150,1260,1264,1224,897,666,480,517,700,906,1134,990,837,858,787,858,873,1038,1064,783,890,1582,2236,2436,2076,1448,985,691,805,806,940,1464,969,657,494,381,277,304,534,755,647,415,562,722,694,1170,1164,838,700,795,711,698,671,691,846,922,927,756,522,395,429,1060,1744,1794,1616,913,517,506,491,493,716,1074,1022,1034,1007,789,709,572,669,595,724,773,709,741,1010,1406,1478,836,386,337,385,445,458,410,465,526,567,531,372,374,513,753,945,1224,1122,673,494,467,951,2290,2086,1388,1536,1322,1028,1168,1214,1294,1306,1330,1122,802,637,730,1002,1324,1356,1318,1044,1124,1434,1456,944,777,595,733,991,1488,1516,1438,1290,1356,1602,1334,1212,1344,1148,1126,767,1134,1526,1308,1062,813,577,675,990,1050,1144,1130,858,869,751,1010,1050,586,351,271,493,1062,1580,1746,1092,1066,1126,1318,1356,1296,1244,1178,1066,798,851,1284,1262,1364,1498,1542,1388,1196,1278,1252,1322,1158,1021,1268,1160,1078,1080,1128,1454,1252,886,556,431,408,548,766,1106,1050,937,1168,1028,1168,1186,1182,1040,1442,891,736,561,711,879,947,1019,1050,1230,1034,849,1019,1048,893,739,691,584,547,1286,1594,879,693,541,847,1230,1256,973,1128,1400,1506,828,482,1186,1628,1600,1578,1438,1334,957,739,1070,1214,1306,1332,1180,1188,1184,1158,1152,1130,1326,1274,662,772,1186,1046,658,446,496,700,569,470,501,596,984,1546,998,703,753,505,582,928,1222,999,1180,1642,1364,1108,943,723,508,585,1118,1182,798,730,841,820,649,858,1270,1356,1426,1298,979,850,1098,1198,1132,1224,1090,1174,1482,1536,1218,942,1012,897,633,676,1074,666,372,328,361,379,343,325,304,406,600,584,686,830,833,808,921,1086,1084,877,1052,1120,1146,1384,1396,1622,1452,1612,1540,1298,1258,1356,1510,1632,1168,689,982,1358,1578,1198,557,435,483,484,457,426,393,341,282,375,830,1020,889,1276,955,569,821,1162,1194,1486,1432,980,624,529,672,660,577,997,1418,978,1398,1264,670,308,303,603,955,886,863,1178,1384,1258,646,488,481,507,482,725,848,988,846,430,558,945,816,830,1172,1262,1782,2310,1478,636,509,477,364,648,1074,1005,839,868,1072,768,560,677,822,961,1108,964,785,927,1042,1258,1614,1278,1120,964,1148,1148,880,1140,913,1252,1962,1964,1172,493,412,382,316,409,1230,2176,1656,1184,1284,1166,836,618,401,369,344,393,689,1003,958,683,613,619,625,847,1174,959,947,1050,592,691,1102,1148,927,803,697,545,394,368,523,701,597,357,375,349,527,611,542,417,369,374,590,720,851,1090,1286,1212,1312,1522,1544,949,1002,1138,1222,1108,1080,1044,1224,1158,1116,1064,1048,1017,971,1232,1184,779,1118,1282,1366,1576,1492,1210,999,726,643,606,847,813,684,1214,1538,1516,1454,1318,883,857,1082,881,867,1432,1354,1334,1454,1670,1514,916,591,899,1092,807,637,890,1216,1418,1024,1016,848,2152,3538,2304,1466,1478,1370,965,677,803,897,944,843,939,988,709,450,386,391,385,363,371,720,1018,805,800,1118,1472,1722,1516,1312,1382,1224,1198,1372,1296,1320,1598,1512,995,694,966,984,797,658,1520,1956,1876,1186,503,336,363,451,733,609,316,373,504,710,711,719,824,627,820,1120,844,485,533,860,705,600,1190,1758,1750,1592,1192,995,1120,793,494,830,951,429,272,438,775,735,552,334,246,367,471,410,364,465,455,601,756,921,982,902,959,832,529,415,527,498,520,897,993,659,401,359,719,889,865,651,728,637,449,486,364,304,616,961,909,1090,1226,1246,943,1050,782,492,501,822,1286,1398,1092,877,949,466,681,892,999,779,452,837,1470,1636,1510,1398,1282,1288,951,757,652,1032,1592,1234,511,618,1178,1362,904,550,447,674,1138,1628,1226,1098,1078,1023,1174,1178,864,506,884,1472,1368,1246,1302,1418,1544,1514,1530,1710,1544,823,560,420,340,508,935,1140,1240,1220,1352,1448,1276,1166,1290,1336,1240,1146,1260,1202,1010,1438,1794,1636,1312,1454,1576,1508,1344,1522,1664,1288,1114,1320,1542,1484,1220,1208,1232,1056,792,704,886,851,656,712,871,1258,1372,1290,915,739,745,603,777,965,1148,1228,1336,1936,2408,2474,2130,1536,1676,1534,1460,1614,1946,2126,1428,1052,1592,1710,1434,1462,1346,1282,1234,1318,1202,1428,1614,963,703,632,407,471,786,1001,592,482,593,1032,2488,2240,3078,4156,4144,4148,4072,4004,4060,3392,2408,1910,962,816,794,731,730,738,939,1428,1400,1278,1552,1570,1216,832,963,1534,1652,1544,1722,1748,1626,1754,1914,1722,981,993,1554,1122,893,1200,1202,1086,1072,985,764,930,1184,1242,1210,1534,1286,1364,1332,1238,1242,1302,1428,1496,1476,1382,1274,1200,1316,1282,1298,797,513,579,656,571,359,516,954,1078,984,678,663,650,682,695,933,1100,958,840,1250,1506,1490,1354,1042,1184,1370,1370,1132,1322,1414,1370,1356,1370,1236,1156,1204,1258,1334,1352,1280,1322,1190,1086,1362,1416,1098,908,973,1252,1136,1072,1248,1092,954,1108,990,918,804,650,828,806,1072,1406,1030,708,565,634,707,696,752,1066,1013,993,1072,1284,1400,1396,1240,1032,1314,1322,1204,1270,1424,1554,1322,1328,1172,1256,1322,1240,1284,1420,1610,1412,1478,1548,1042,952,1234,1284,1340,1038,974,1426,1476,1156,1003,1100,1652,2074,2180,1888,1746,1628,1404,1172,885,769,739,565,799,792,511,442,645,747,884,1346,1034,733,1264,1636,1324,1090,1100,1356,1322,1312,1030,932,1220,1322,1604,1736,1324,987,1076,1246,1402,1168,1184,1262,1434,2056,1576,738,563,457,318,549,984,860,658,860,1013,657,914,1060,1198,1290,1056,1088,1126,1126,1034,1036,1264,1126,684,542,402,357,378,420,523,532,428,383,440,450,481,418,532,1174,1370,1446,1892,2008,1448,1242,1276,1216,1228,1256,1188,1176,1278,1534,1358,1536,1382,1420,1328,969,922,1009,1114,1356,1298,1232,1258,1172,1302,1130,946,913,935,785,706,691,619,599,606,650,672,670,583,514,626,797,713,459,421,439,386,348,349,382,436,586,498,448,804,1658,1854,1616,1318,1011,940,1021,756,655,728,750,707,694,916,1406,1658,1638,1886,2032,1856,1742,2104,2184,1330,802,497,568,956,1062,1038,1176,1228,1168,811,843,1190,1206,1868,1884,1458,946,646,613,1110,1340,1092,1222,1584,1490,1336,1328,1124,1158,1216,1160,976,1134,1214,820,1056,1196,861,989,776,582,794,1004,1190,1258,959,797,1074,1440,1654,1854,1698,1174,692,829,824,735,1002,753,686,711,751,868,1144,1228,1112,1238,1088,1278,1772,2310,1432,595,587,764,769,688,621,889,1142,979,676,617,691,673,533,573,1284,1726,1426,1078,885,851,888,1090,1234,1346,1110,1058,1058,1100,1072,886,904,980,1076,1278,1388,1246,847,747,871,703,549,589,888,1034,1142,1274,1600,1654,1440,1338,1216,1340,1410,1808,1578,1438,1346,1674,1620,1472,1542,1272,1216,1552,1528,1504,1452,1254,796,656,913,932,681,637,651,746,1086,1476,1356,1416,1448,1198,723,714,952,870,762,1050,1190,955,1138,1500,1500,1516,1378,1170,807,712,996,1023,1028,961,1023,1218,1276,1380,1366,1538,1506,1466,1746,1528,1416,1076,696,531,656,745,829,904,948,1232,1294,1182,1316,1460,1590,1118,680,1018,1170,984,996,1146,1322,1068,1460,1516,1344,1408,1580,1596,1446,1620,1556,1216,1204,1015,827,1342,1318,1340,1604,1296,1258,1302,1098,1008,1202,850,454,451,501,633,363,346,468,1394,1862,1382,1306,1228,702,487,490,415,431,383,304,343,368,391,615,836,590,428,462,439,388,401,788,1332,1592,1594,1810,1582,1396,1244,1160,1244,962,647,694,836,834,1128,1216,856,922,844,713,848,1094,1226,1258,1176,1290,1266,1092,1380,1670,1204,833,780,1348,1314,1396,1256,691,906,691,347,492,815,1472,1660,1704,1630,1612,1622,1612,1604,1354,1112,1224,1338,1276,880,586,465,744,855,642,868,1316,1346,910,402,518,889,994,1088,1034,1168,995,961],[692,714,628,570,487,461,446,448,397,358,342,336,346,365,398,370,362,356,377,409,401,405,408,378,377,400,423,441,421,375,395,403,390,295,287,289,286,273,253,261,280,311,356,369,316,294,277,285,343,507,717,662,511,500,478,493,495,505,503,477,450,386,337,330,333,354,548,727,461,579,562,366,678,1106,1236,1146,619,529,796,811,585,572,772,775,453,421,418,372,324,339,360,354,343,345,415,651,1058,1130,752,559,488,463,429,417,741,988,934,948,629,492,608,973,993,880,857,691,492,402,379,442,438,428,600,839,824,1216,1468,1480,1590,1606,1084,916,1082,980,1026,1290,1002,1140,1238,1050,914,1276,1038,987,838,709,725,807,779,852,857,796,613,470,397,437,476,470,483,868,1444,1356,1060,978,983,1128,1168,1090,1296,1188,1013,774,425,469,539,716,985,965,833,756,715,632,801,1176,1056,1208,1584,2014,2222,2330,1926,1256,633,486,710,703,783,1488,1208,745,497,380,337,504,642,543,557,559,744,597,407,599,661,747,1080,1114,1050,1005,891,930,978,858,798,769,664,426,361,606,890,1290,1570,1102,518,497,497,478,553,725,785,817,819,894,839,700,744,844,813,666,590,590,778,1126,1514,881,435,360,368,410,453,446,427,437,508,467,344,367,625,1050,1252,1048,730,553,402,567,1066,1256,1122,1070,899,982,1360,1368,1478,1290,1212,1300,1342,1096,835,904,1220,1244,1138,1464,1196,1396,1678,1176,715,655,714,758,1122,1360,1224,1178,1202,1456,1586,1418,1198,1332,1258,1060,924,1388,1410,818,653,664,943,995,824,1296,1322,1190,1058,823,636,959,1044,567,340,315,493,870,2010,2210,1252,928,1168,1462,1548,1398,1286,1354,1176,865,1003,1024,855,913,974,1520,1648,1564,1460,1342,1704,1598,1248,1158,1244,1838,1970,1810,1334,1414,1262,695,394,396,452,544,877,984,547,677,796,689,738,1144,1232,1402,841,582,581,686,877,962,972,1260,1464,1144,962,1016,1150,744,548,705,849,1102,1628,1730,1484,1620,1090,984,1350,1622,1362,1228,1080,1064,1022,799,848,1284,1528,1582,1578,1306,610,617,848,947,1194,1332,1354,1362,1406,1418,1184,1138,1316,963,525,794,1380,1396,1078,842,874,834,544,514,504,638,905,1260,1018,1042,1238,1092,877,993,1158,1044,1316,1448,1236,836,646,462,417,521,1098,1234,1064,1066,1310,1426,982,955,1172,1290,1864,1282,933,875,834,886,913,760,605,684,1048,1366,1372,1522,1194,904,796,842,1004,705,617,822,839,585,410,530,502,455,680,827,653,502,885,1182,1216,1266,1198,1052,1019,1234,1376,1614,1870,2220,1736,1420,1416,1284,1102,1202,1628,1602,882,675,1184,1432,1602,846,511,423,453,470,528,510,465,352,284,306,517,854,659,630,767,713,825,1078,1062,893,756,1120,1188,650,580,520,477,515,978,1250,1546,1188,852,598,400,604,856,966,856,1150,1232,1023,703,583,442,391,405,622,786,1016,1074,921,791,683,485,502,1070,1114,1118,985,698,566,467,464,511,758,1148,994,922,1172,1286,695,540,531,843,1130,1038,851,432,505,895,1400,1974,1220,1350,1474,1426,1550,1486,1144,722,577,637,712,382,339,345,339,458,947,1934,2032,1208,993,1228,985,1021,993,540,369,303,377,729,1050,897,1102,946,670,670,838,982,772,827,949,995,898,1216,1252,1192,1092,666,366,379,530,691,825,1009,897,987,605,534,599,562,498,450,904,1650,1376,853,1234,1476,1160,965,902,822,741,965,1134,1020,1036,1096,1188,1220,1144,1078,660,678,951,1026,1342,1272,997,736,750,1040,1270,1360,964,1056,1158,833,703,1004,1354,902,1222,1718,1520,977,630,505,647,1206,961,904,1584,1460,1482,1588,1636,1678,1118,812,1003,904,552,737,970,1072,892,1108,1696,1842,3162,2644,1932,1882,1442,1470,1056,681,689,739,661,963,1036,1098,1106,858,547,398,408,387,603,1220,1480,1394,1484,1302,1226,1294,1514,1426,1470,1590,1258,1058,1356,1736,1704,2040,2120,1024,730,616,523,694,1294,1694,1516,852,445,505,751,649,707,456,332,272,586,694,648,825,813,788,963,1106,749,844,494,461,410,328,514,584,673,737,605,514,695,661,424,579,875,380,265,389,818,954,700,373,394,624,639,561,421,518,768,852,657,694,957,958,582,465,530,553,486,404,630,1124,1264,929,738,565,655,709,616,541,755,755,666,777,636,551,853,653,369,498,916,1234,1298,1144,630,382,594,1016,1460,1384,1032,1116,867,433,489,589,930,985,638,989,1612,1802,1506,824,697,1232,1432,1296,1064,1108,1256,963,562,817,1202,846,587,715,644,977,1290,1116,966,968,1010,1312,1246,990,1038,1170,1256,1312,1538,1334,1120,1120,1226,1252,1038,1162,1208,767,406,351,357,706,1148,1222,1160,1210,1480,1440,1260,1276,1332,1116,1060,1236,1352,1126,1180,1318,1184,1432,1454,1430,1516,1546,1516,1132,1264,1110,918,1204,1476,1332,1382,1466,1346,1234,1001,800,803,717,618,669,678,1044,939,888,800,728,616,675,1162,1512,1470,1266,1298,1654,2046,2294,2042,1634,1620,1600,1794,1618,1494,1416,961,971,1706,1720,1418,1500,1322,1252,1234,1240,1102,1514,1554,882,756,524,431,719,1072,1068,835,867,1092,1506,2182,2220,2410,2702,2890,3264,3338,3366,3728,2734,1312,714,882,860,720,849,1044,733,903,1516,1434,1278,1476,1610,1084,742,1204,1672,1756,1820,1816,1788,1766,1804,1738,1210,952,781,1332,1234,1016,1108,1126,1102,1086,995,1062,1096,1214,1200,1328,1692,1346,1210,1064,994,1164,1342,1114,1212,1388,1432,1354,1362,1300,1344,1206,669,494,756,1036,1038,698,739,958,924,777,608,576,535,722,955,1344,1422,1112,1009,1306,1344,1498,1522,1140,1182,1296,1260,1260,1338,1318,1438,1428,1358,1362,1390,1452,1280,1232,1208,1224,1128,1200,1180,1288,1176,959,918,977,1266,1448,1506,1384,1220,1276,1676,1568,1372,1358,1052,965,774,770,830,625,613,668,582,641,599,436,781,1062,969,1064,1220,1212,1166,1220,1218,1378,1188,996,1002,1218,1204,1168,1136,1096,1130,1206,1390,1362,1448,1566,1448,1466,1786,1588,1338,1594,1770,1510,1274,1442,1590,1210,1136,1036,996,1530,2146,2192,1868,1894,1818,1548,1384,973,637,423,373,571,550,494,442,727,1008,767,566,604,803,1254,1142,726,683,748,949,1116,1224,1108,1388,1580,1364,1588,1742,1288,1032,1306,1562,1688,1406,1832,1420,1116,1276,977,648,461,352,323,430,861,1054,1016,917,1013,876,854,995,937,886,1094,1078,877,1154,988,1088,1278,1108,742,485,421,395,407,505,545,506,443,531,755,602,468,417,413,625,1050,1322,1358,1288,1148,1220,1218,1288,1322,1100,1086,1186,1188,1366,1362,1366,1324,1146,1002,1019,888,1322,1490,1304,1148,1228,1440,1378,1410,1258,1034,1082,981,584,527,503,501,505,500,574,602,650,552,428,477,695,667,430,352,351,408,456,430,466,484,443,449,599,955,1380,1798,1776,1162,1210,1642,1670,1214,708,704,707,687,725,701,868,1176,1372,1480,1474,1860,1420,1266,2176,2104,1544,935,658,725,854,1030,1202,1494,1010,552,758,1318,2470,3272,2272,1364,1230,956,851,1314,1306,1036,1018,1438,1382,1388,1200,1188,1264,1032,798,1050,1394,1082,456,555,669,974,1394,1072,717,1080,1378,1242,1204,1108,995,1188,1430,1454,1704,1336,997,662,888,1056,795,459,489,952,1046,851,1118,1206,1152,1112,1096,1056,1362,1262,1464,985,600,927,1078,955,811,713,932,1206,836,583,574,569,581,501,387,480,713,1130,1170,899,1026,1418,1332,1794,1648,969,955,1328,1322,945,767,725,737,866,1130,1266,1088,1198,1040,1020,803,430,474,696,970,1154,1232,1290,1354,1388,1080,1096,1202,1300,1360,1416,1218,1268,1548,1496,1388,1324,1288,1356,1646,1790,1616,1268,1072,754,563,872,986,851,846,656,805,1194,1422,1328,1188,1240,1196,1009,1102,1414,1238,938,1378,1274,802,973,1302,1266,1334,1364,1096,811,825,1128,1302,1148,1234,1238,1132,1322,1128,966,1298,1516,1560,1430,1412,1154,1004,1132,1064,1146,1220,1406,1834,1306,1090,1354,1824,1782,1560,1544,1058,630,797,958,734,628,963,1316,932,1178,1056,1064,1466,1578,1284,1146,1294,1178,1150,1490,1278,908,1082,1176,1352,1356,1166,1268,1266,1054,831,959,455,437,402,375,348,390,453,489,943,1248,845,842,1230,1228,574,550,453,365,447,392,330,433,478,1001,1404,946,499,661,866,708,398,475,1102,1438,1428,1536,1494,1206,1100,1314,1300,983,705,825,1242,813,913,1104,922,663,478,445,597,651,680,960,1204,1302,1376,1198,1578,1422,1364,1202,1390,1606,1496,1886,1670,1344,1108,720,455,779,1044,1344,1526,1490,1368,1358,1308,1426,1376,1058,610,777,780,851,660,743,715,809,1028,1362,1728,1698,1098,650,467,583,564,491,476,564,648,828,1270],[993,700,604,610,566,522,444,406,391,366,348,336,349,357,442,420,390,371,364,403,398,379,403,420,455,423,433,443,423,365,373,375,385,356,321,362,290,269,260,274,292,297,362,485,469,360,303,303,395,655,889,694,441,410,498,509,493,501,506,486,471,434,392,393,442,505,865,1042,533,684,841,667,796,1000,1284,1064,588,479,570,697,628,515,541,644,452,342,334,321,323,333,332,335,331,375,463,563,983,1336,1152,697,523,467,496,467,907,1408,1444,1634,1332,1240,1438,1488,987,769,734,558,433,429,485,479,533,500,509,637,951,1332,1216,1330,1322,1406,1424,1356,1142,812,844,895,650,692,982,914,557,734,824,1021,998,913,917,875,969,1072,662,786,811,548,389,458,527,543,506,615,819,941,912,929,1126,1084,1020,1044,858,796,944,708,540,505,421,513,816,719,678,1010,1050,670,761,824,1000,1364,1712,1882,2188,2202,1610,940,822,743,813,798,455,811,1328,1021,543,560,625,658,513,446,641,554,561,426,395,417,372,516,720,1148,1376,1060,1360,1546,1446,1184,939,778,666,459,380,595,935,1246,1408,1210,497,447,414,443,496,564,587,600,728,852,836,704,592,774,883,727,805,918,1176,1618,1700,955,495,430,430,451,491,486,393,424,449,335,245,335,880,1218,1388,971,447,396,661,1198,1536,1516,1444,1094,964,1418,1550,1418,1296,1282,1392,1354,1256,1198,1150,793,974,909,626,855,871,959,1242,1300,985,1066,1108,1001,1202,1232,1176,1168,1190,1400,1314,1328,1290,1110,1260,1288,1166,1176,1114,670,843,978,1240,965,730,1152,1238,1338,1354,1114,935,1066,1110,541,336,356,495,762,1396,1100,856,774,1064,1338,1406,1378,1280,1422,1250,790,757,705,726,617,893,1670,1776,1520,1524,1210,991,1090,1332,1548,1840,2368,2304,1794,1302,954,733,533,446,447,464,578,594,581,455,686,954,742,676,869,1080,980,988,889,688,717,830,785,1436,2274,1704,1100,761,1146,1846,1438,731,551,684,1148,1622,1942,1918,1594,1136,1144,1456,1594,1246,1128,1232,1110,1094,1110,888,1018,1662,1674,1692,1368,863,571,429,620,910,935,1005,1236,1748,1792,1322,1646,1538,749,415,948,1470,1404,1144,1106,1224,995,709,623,560,537,681,921,1200,1216,1240,1250,1162,1184,1002,1084,1426,1384,1134,585,344,398,396,677,1088,1120,1096,1130,1164,1152,636,592,1042,1220,1848,1072,642,594,491,733,850,609,536,357,487,1202,1614,1550,1044,1020,1046,1080,1120,948,850,1106,1274,856,1019,1534,1050,536,576,1250,944,550,822,1116,1512,1406,1112,1170,922,741,858,1180,1650,2104,2150,1690,1390,1234,855,616,982,1116,667,872,1316,1578,1376,621,468,448,423,478,531,615,686,575,462,430,468,788,782,617,742,748,767,885,1182,1026,635,905,1013,737,495,432,427,377,777,1126,946,811,1064,971,734,1134,962,599,458,879,755,642,787,835,518,298,346,350,384,542,612,769,1086,582,331,489,563,708,785,681,749,685,451,502,673,792,902,1118,949,942,927,764,745,759,1118,1578,1302,972,425,403,623,945,1550,1484,1494,1690,1724,1552,960,798,536,497,388,418,415,400,351,388,544,1082,1676,1652,1314,1166,1160,742,968,1020,587,446,347,437,629,904,800,582,828,1150,805,913,954,501,958,993,647,655,723,679,927,984,675,509,642,966,807,683,1056,1266,1550,993,742,735,645,540,514,1174,2110,1426,726,847,824,763,621,518,505,529,735,922,630,529,821,997,691,897,1140,843,744,1246,1224,1184,1284,980,827,1612,1466,828,1372,1232,974,1096,1015,824,772,1160,877,819,1090,913,560,391,407,509,1058,1018,770,1296,1282,1354,1382,1252,1210,1019,984,839,669,408,422,973,1324,798,863,1484,2932,2978,1608,2344,2908,1760,1220,830,756,688,686,780,1360,1492,1252,928,868,944,693,501,501,863,1210,1154,1246,1424,1500,1306,861,1208,1450,1478,1688,1466,1340,1072,1272,1612,1622,1638,1262,992,810,608,648,734,703,651,524,533,664,617,890,589,313,262,433,508,459,773,919,794,976,1286,1600,1482,1366,725,518,489,355,414,487,483,750,750,346,357,611,426,449,523,348,306,350,440,470,357,303,437,563,550,527,379,530,966,1015,681,750,1278,1272,717,540,553,529,321,629,1156,1448,1420,962,796,810,633,532,443,618,909,511,433,554,592,407,576,471,338,315,387,633,893,943,580,413,505,990,1422,1344,1048,918,633,598,758,489,539,657,713,1250,1548,1446,1156,717,670,1204,1260,1162,1286,1244,1064,797,491,631,845,624,971,1236,938,949,953,1004,1224,753,820,1116,1038,1124,1264,1294,1080,1098,1362,1200,1114,1132,1070,1026,995,985,772,802,449,409,670,1013,1158,892,862,1272,1392,1306,1400,1384,1274,852,991,1296,1180,999,1322,1232,1192,1636,1656,1520,1512,1568,1656,1268,1258,951,1152,1390,1424,1134,1282,1450,1446,2056,1708,1266,780,662,669,588,555,798,812,843,779,745,631,855,1438,1904,1760,1202,959,1050,1266,1268,1434,1828,1698,1582,1640,1410,1398,1238,858,1160,1926,1714,1548,1188,861,921,964,1090,1176,1528,1338,907,857,513,506,820,1062,1040,1030,1162,1444,1788,1860,1792,1730,1804,2098,1966,1854,2186,2266,1636,927,747,885,963,799,852,1124,809,888,1564,1402,1072,1002,950,774,669,1048,1564,1722,1804,1790,1686,1738,1880,1420,756,863,722,996,1100,937,1252,1126,1098,913,833,880,1136,1282,1230,1280,1382,1290,1030,1001,1072,1278,1488,1128,984,1100,1062,1005,1202,1440,1528,1406,1108,874,1054,1280,1240,1034,1078,1250,1292,1010,1013,820,787,793,971,1412,1436,1386,1244,1064,971,1382,1598,1182,1276,1294,1102,1216,1176,1170,1194,1210,1440,1514,958,1300,1316,1220,1218,1140,1218,1264,1188,1242,1052,858,825,1042,1394,1576,1506,1318,1178,1270,1936,1692,1162,1236,1258,1334,969,854,690,670,592,733,884,900,827,932,1023,1015,1058,1190,1302,825,579,1134,1310,1328,1212,1154,1148,1226,1178,1154,1278,1366,1396,1182,1272,1404,1670,1852,1450,1136,1330,1632,1710,1830,1800,1592,1356,1416,1306,1304,1274,1144,1182,1328,1678,1810,1758,1782,1672,1594,1606,931,835,650,719,788,940,806,800,932,880,728,598,644,674,1108,943,853,1048,990,878,1112,1216,1210,1256,1158,1124,1190,1230,1292,1480,1532,1356,1240,1548,1500,1036,1224,1924,2044,1018,570,526,543,554,1242,1504,1018,883,1212,970,621,869,1174,1292,1274,1312,1200,1088,739,750,1086,1294,1110,678,471,412,409,543,772,927,686,692,1490,1072,465,449,454,509,933,1198,1152,1124,1152,1212,1146,1260,1432,1222,1256,1220,1230,1210,1196,1204,1136,1134,1164,1240,890,1306,1290,1202,1282,1440,1400,1312,1284,1076,999,1188,1148,713,600,511,550,487,440,479,611,648,595,492,416,425,387,377,365,426,567,588,431,433,404,378,453,598,684,836,1196,1592,1632,1418,1624,1700,1536,908,641,651,689,726,716,705,756,1196,1738,1062,1288,1870,1238,1264,1754,1930,1740,1428,942,980,1122,1684,1744,725,479,911,1372,1716,1240,879,1154,1166,798,753,985,977,760,699,1002,1190,1005,827,1118,1194,720,612,1118,1252,952,585,468,565,644,960,785,555,741,938,996,1176,1446,1382,1288,1460,1392,1540,1406,979,976,1444,1706,1172,583,850,1194,1022,1002,1376,1202,1114,1198,1068,1056,1218,952,479,440,697,675,772,1020,1008,792,587,842,634,714,1110,945,842,729,404,331,532,885,1002,943,1092,1394,1017,1082,1004,821,995,1128,1044,855,857,535,512,842,913,936,952,1244,1110,1166,999,711,755,882,995,773,764,818,1216,1456,1158,1038,1102,1200,1036,896,1026,1003,1138,1038,1018,1050,1220,1600,1802,1516,1244,1134,994,622,531,812,1168,854,735,700,681,954,1002,1072,974,1166,1210,1072,1308,1152,818,943,1694,1434,988,1094,1046,1184,1240,1476,1474,1192,1034,1384,1578,1712,1566,1616,1156,1140,963,762,1134,1244,1190,1232,1078,889,1252,1428,1366,1060,1330,1964,1920,1584,880,775,1360,1456,1300,1232,1100,1015,1038,1064,1074,1134,1370,1508,1184,1272,1438,1334,1021,939,1166,947,913,817,1102,1148,1070,998,1442,1412,1214,1104,1290,1208,1162,1200,1064,619,366,309,339,405,390,419,399,451,608,663,937,1098,996,1384,1019,705,447,387,660,767,743,696,659,921,1404,1210,679,851,1260,1240,743,504,972,1324,1358,1096,927,794,1234,1454,1162,761,772,877,1246,1192,1090,1184,1148,788,585,651,827,771,677,884,1276,1612,1306,1336,1542,1426,1438,1604,1708,1306,1384,2126,1784,1804,1384,876,729,1078,1204,1274,1322,1268,1348,1326,1234,1176,1090,785,614,587,424,345,371,471,562,693,941,1372,1242,982,907,774,628,1020,702,444,375,344,423,753,825],[1290,1096,1004,885,865,782,578,432,396,407,361,341,352,330,437,418,342,339,339,387,398,361,395,397,403,370,417,474,419,381,560,897,1120,825,346,417,305,300,262,274,314,299,428,628,574,460,424,361,349,448,521,473,419,391,461,583,603,534,443,424,494,469,503,1050,1730,1482,1604,1168,608,836,948,843,741,586,677,672,532,553,733,1004,999,886,751,591,440,374,364,371,346,332,320,318,348,401,463,489,684,1466,1982,1164,438,645,786,616,692,1208,1504,1804,1208,697,837,818,811,690,483,522,479,698,1076,1108,1046,705,852,1212,1470,1224,1030,991,978,923,817,1072,1366,1058,761,621,833,836,995,717,455,496,744,907,973,868,766,655,712,738,780,666,770,791,556,583,686,578,518,532,728,1084,1422,1794,1180,1244,1208,1266,954,570,455,543,644,558,449,596,948,929,912,960,1024,976,1048,1130,1010,1274,1638,1616,2170,1990,1288,1484,1842,1172,871,810,701,1015,1698,1720,1184,987,799,557,433,451,372,349,470,457,418,418,383,397,734,1284,1112,832,1394,1622,1908,1794,1068,571,484,396,463,762,987,1246,1220,1282,537,393,374,423,463,464,509,507,513,616,666,587,525,833,1038,1200,1774,2066,1692,1088,1016,811,484,451,469,446,514,523,539,519,465,313,272,455,935,1244,1362,1158,645,1080,1274,1350,1400,1466,1288,827,877,1226,1388,1464,1432,1290,1226,1360,1102,1078,1252,876,774,734,860,1094,1100,852,891,958,934,1246,1068,1030,1204,1130,936,905,867,926,1110,1356,1322,1356,1480,1584,1144,894,910,730,672,860,1166,978,956,1090,1256,1316,1280,1252,1140,1068,966,438,372,356,409,984,1018,1011,1126,840,918,1118,1318,1588,1336,1228,1202,991,1013,1007,875,749,881,1614,1786,1058,1376,1566,1498,1538,1462,1650,1766,1494,1390,1382,1122,724,526,416,475,567,687,653,444,422,388,560,1036,1288,1106,1114,1044,916,1612,1332,858,841,1042,1808,2620,2292,1358,1216,846,1062,2098,1876,1076,846,716,1162,1510,1496,1506,892,673,1112,1222,954,677,745,1004,1102,984,929,948,1274,1826,1874,1688,1332,1128,930,465,524,828,865,945,1324,1440,1214,1130,2034,1604,644,364,469,806,1110,1294,1382,1254,1028,990,1062,826,526,536,628,789,847,699,613,597,870,1028,1388,1428,1340,877,483,368,350,379,787,1502,1732,1312,911,648,603,637,1024,1316,1132,1210,1114,1078,1170,1009,769,656,582,445,533,908,1080,1017,1232,1068,999,1410,1450,1126,1172,1264,1528,1448,969,1178,1394,933,538,408,599,429,659,1040,1204,960,681,1032,1188,980,769,1094,1290,1224,1390,1848,2060,1858,1162,543,333,457,626,538,1080,1384,1650,1082,478,459,465,436,447,499,608,695,642,486,476,511,758,879,793,867,1048,905,773,1126,1468,1130,1096,974,628,458,419,413,430,580,811,943,751,1180,1410,1212,1448,1190,596,581,716,629,749,1158,1338,828,433,391,316,355,367,397,488,599,479,399,361,355,390,462,648,693,523,462,457,826,880,515,745,979,1264,1362,1064,786,946,1168,1184,1180,989,773,991,1100,1066,1192,971,1180,1692,1736,1334,733,618,600,604,427,445,500,523,551,551,417,521,1026,1726,1604,1566,1204,952,1250,1016,628,719,629,539,791,867,759,769,1168,1448,779,1100,1198,639,864,814,662,824,642,531,897,933,526,526,991,1444,1023,547,495,585,959,885,734,985,951,521,515,740,1186,788,527,479,488,624,684,873,1112,777,626,893,572,617,1090,1302,656,592,885,791,833,962,922,1070,1246,1015,1344,1992,1770,969,985,1252,1158,1150,1178,794,648,771,536,569,536,648,531,562,410,447,830,906,653,943,1124,1002,863,758,662,791,886,781,632,491,504,880,1400,1248,771,1258,2448,1804,705,1188,2000,1560,984,854,922,741,709,738,817,1274,1632,1322,939,1200,1112,896,650,931,1680,1980,1788,1512,1446,1516,1212,780,1082,2210,2036,1572,1606,1464,1086,1118,1236,1228,1132,1362,1322,1015,973,861,461,437,897,1200,923,785,739,544,440,586,835,663,547,596,495,529,778,1092,983,1290,1276,812,698,571,419,557,832,955,976,829,495,413,415,536,867,703,491,649,702,375,285,286,326,311,364,317,266,274,277,433,408,336,703,1264,1410,892,591,639,758,516,1346,1622,1082,1234,1068,821,1028,689,497,673,1250,1550,832,854,952,579,407,738,623,411,634,588,275,295,536,506,435,665,1068,1232,987,776,803,684,864,1158,964,670,444,669,769,747,886,796,576,835,1038,686,555,726,1078,1292,1172,751,565,752,742,606,738,931,1052,1342,1494,1124,419,633,1154,1220,1638,1512,1282,1200,1214,1202,1072,1034,1116,1116,1174,1422,1294,1124,736,399,725,1266,1328,974,789,1116,1160,1226,1318,1310,1470,1174,891,1204,1312,982,966,1184,1136,1278,1720,1616,1508,1436,1520,1468,1276,1198,1242,1494,1566,1350,1040,1296,1238,1142,2124,1682,1136,725,625,669,554,717,843,918,977,742,744,615,835,972,1576,1622,1282,1416,1516,1600,1440,1160,1312,1600,1542,1582,1744,1760,1556,933,1332,1802,1484,1450,1162,927,893,746,1050,998,1258,1048,962,822,497,545,810,1272,1194,557,543,1012,1610,1698,1806,2132,1770,1886,1998,2014,1972,1646,1146,985,1046,960,1138,739,871,1310,1450,1094,1388,1132,1046,1116,816,545,504,700,1142,1282,1336,1566,1660,1696,1850,1148,645,574,464,666,890,1080,1260,619,675,698,648,1060,1396,1278,1312,1250,1354,1410,843,728,1044,1094,1124,1064,857,992,1004,717,797,1248,1452,1456,1352,1334,1462,1520,1334,1218,1318,1356,1442,1312,1280,1048,932,991,1026,1260,1332,1346,1210,1106,896,1238,1494,1380,1474,1292,1234,1320,1210,1250,1216,1298,1308,1270,1128,1346,1404,1388,1290,1162,1216,1208,1182,1060,889,1052,1130,1438,1504,1556,1494,901,744,911,1288,1318,1046,1256,1308,1318,1008,946,736,573,498,597,789,833,1028,1282,1332,1896,1320,974,1122,904,1080,1166,1188,1372,1270,1222,1446,1434,1354,1188,1372,1432,1600,1420,1380,1604,1520,1492,1426,1246,1280,1460,1500,1512,1358,1340,1146,1256,1388,1670,1800,1394,1142,1506,1932,1776,1336,1256,1650,1698,1736,1050,1350,1412,1198,1098,1180,1190,1230,1038,800,887,1120,1058,1444,1866,1380,1024,1116,785,684,1050,1144,963,1172,1376,1288,1028,1072,1066,1136,1272,1168,1318,1512,1066,987,1496,1918,2052,1364,840,621,560,495,860,1056,1080,1066,1102,922,739,1015,1122,954,944,1416,1336,1198,906,832,1114,1324,1268,1002,648,482,689,902,1198,1254,903,1206,2644,1626,496,393,436,459,598,966,1300,1162,1282,1194,1044,1064,1354,1242,1124,1216,1166,1100,1318,1394,1158,1028,943,1046,1106,1390,1406,1272,1136,1158,1188,1186,1470,1422,1304,1136,1072,713,508,468,503,480,442,439,440,475,550,480,383,404,387,389,433,574,651,497,435,430,384,415,480,615,620,583,599,1009,1748,1736,1584,1500,1444,1086,672,561,672,739,735,681,726,886,1462,1598,1198,1620,1684,1412,1636,1682,1622,1884,1380,1012,1100,1676,1090,510,404,788,1252,1274,1244,1402,1454,864,903,1100,656,581,544,712,1072,1140,785,615,827,960,854,1020,1190,749,891,1054,819,702,673,633,524,541,516,418,686,1414,2254,1612,1314,1352,1352,1342,1458,1166,1120,1344,1376,1202,1024,949,1284,1296,1110,1272,1340,1458,1318,1178,1230,1128,792,530,477,628,584,532,856,1140,857,822,1164,935,1170,1440,1218,1350,1140,947,733,1044,974,934,855,974,1030,838,723,859,1314,1290,935,1044,933,1134,989,799,917,757,653,1154,1504,992,871,995,846,733,897,1076,587,633,997,1246,1246,1050,1120,1170,1230,1118,768,886,974,927,588,493,732,1238,1602,1256,918,992,1058,834,527,521,595,1048,835,629,760,613,593,836,1166,969,770,783,657,948,933,765,935,1254,1114,1072,976,819,991,1170,1376,1466,1278,1218,1532,1670,1628,1398,1288,1040,1074,737,971,1362,1042,1018,1092,1242,991,1284,1424,1158,771,1214,2078,2094,1544,1158,921,839,1152,1328,1218,905,1068,1110,1134,1021,1206,1458,1312,1166,1366,1488,1258,658,653,891,733,1160,849,519,439,550,806,1392,1608,1126,1050,1382,1098,1158,1204,872,425,318,295,356,353,295,303,302,356,664,1212,1484,1400,1322,1442,1466,904,529,554,733,939,844,797,1078,987,1040,891,839,895,1076,1100,731,720,894,933,987,649,505,715,1038,888,531,446,622,897,1486,1872,1570,1290,1432,1152,813,1076,1040,955,956,1150,1472,1792,1742,1614,1594,1756,1604,1550,1094,858,1060,1472,1426,1270,1184,1394,1570,1396,1152,988,1276,1444,1664,1406,1534,1708,1356,803,559,525,430,429,483,367,340,509,697,1152,1284,1154,1258,958,865,857,538,455,451,436,848,1086,661],[1768,2042,1260,815,1028,1058,992,728,496,440,383,355,357,364,455,440,326,329,323,365,405,361,370,354,340,361,417,472,464,598,1013,1410,1672,1274,435,351,317,338,294,298,330,310,385,496,480,412,370,303,308,476,529,558,491,474,584,795,914,810,669,511,499,428,506,971,1676,1902,1710,904,681,1052,942,825,879,814,708,526,561,823,825,969,1216,1208,969,572,394,379,362,360,345,341,325,305,389,388,400,443,531,1498,2082,1136,677,921,858,710,593,943,1246,1446,771,400,494,562,666,542,476,461,473,916,1558,1742,1484,1232,1166,1052,1232,1140,899,944,867,493,484,749,1216,1412,1140,1164,1454,1338,837,560,515,468,526,642,995,789,595,560,481,509,637,532,933,1152,686,619,633,630,779,939,974,1198,1356,1446,1046,1072,1268,1268,937,494,605,686,719,813,730,975,1140,1011,954,982,1182,1266,1244,1154,897,1258,1704,2024,2284,1808,1023,961,993,814,710,637,559,865,1760,1962,1378,830,396,372,416,384,348,456,550,428,338,400,491,473,508,524,648,959,1668,1896,1772,1462,842,484,477,391,511,915,1172,988,966,1254,642,405,432,425,458,442,455,439,373,454,550,474,454,745,923,1230,1992,2376,1744,1064,911,605,418,464,488,385,432,527,587,561,481,303,540,849,1048,1312,1252,1228,1616,2872,2198,1498,1400,1272,1013,628,681,1106,1344,1350,1388,1318,1444,1232,885,685,901,855,702,938,1134,1001,955,1102,1034,991,1001,1015,968,944,1004,1023,968,978,926,993,1316,1446,1366,1282,1262,1594,1318,1192,1108,902,882,982,1066,1226,1078,908,1024,1050,1132,1092,836,1132,1032,560,462,407,567,1066,1316,1328,1110,996,1278,1440,1516,1544,1130,949,1112,1118,891,889,1064,1108,1324,1664,1200,675,1042,1340,1710,1708,1620,1542,1488,948,698,968,903,508,413,464,464,697,845,624,631,570,423,401,813,1342,1250,1108,746,1026,1760,1652,1066,1038,1160,1638,1620,952,1038,1482,922,558,810,1122,905,946,795,1264,1704,1446,1120,817,849,1228,1136,1042,925,703,690,918,962,1112,1356,1614,1712,1710,1488,1040,847,809,637,559,881,989,1272,1284,860,662,1390,1960,1132,524,418,437,562,727,1170,1268,1298,1268,1206,1062,1040,867,669,638,619,589,431,324,407,682,1134,1406,1454,1312,774,491,560,759,984,1236,1902,2068,1802,1562,1240,871,843,1028,1108,1038,938,1082,1154,960,764,588,446,341,325,691,1348,1206,1114,1438,993,580,1072,1194,1026,1126,1023,1440,1023,985,1034,1066,1086,705,365,366,547,916,1378,1704,901,702,1028,1152,1090,1009,1156,1174,821,897,1590,2110,2052,1200,479,330,508,505,786,1206,1554,1562,853,522,486,484,517,579,660,626,526,487,631,829,894,870,840,672,641,993,1238,1144,730,1332,1238,991,1098,905,498,361,527,858,963,1086,1256,944,819,1019,1416,1496,1190,1054,1176,1184,1194,1226,1310,1238,785,661,379,291,343,433,533,501,367,455,437,301,344,387,749,968,786,633,561,558,791,808,693,818,1118,1414,1318,1216,680,512,637,780,924,995,1308,1720,1426,996,999,803,940,1498,1384,788,1410,995,662,591,419,324,417,566,827,927,708,426,540,1296,1232,1438,1308,1566,1656,1060,783,1014,880,582,836,755,686,635,425,555,419,407,294,235,326,324,282,289,288,391,424,439,442,422,553,501,348,364,368,355,460,474,401,543,631,515,473,500,661,631,561,564,608,702,773,1068,1260,710,655,933,576,429,629,857,796,591,602,673,547,557,623,759,970,1386,1636,1736,1598,1338,1222,1013,1020,1278,905,466,471,473,583,718,578,855,916,843,672,657,904,1060,843,855,940,736,617,506,547,924,952,1088,882,599,737,1294,1500,1390,1416,1410,1550,1172,817,973,1020,977,764,758,1020,1002,1154,1150,768,867,1372,1436,1388,1210,1410,1128,969,1214,1768,2010,2414,2520,1664,1588,1284,1060,2596,3252,2478,1968,1716,1466,1412,1158,1002,929,1060,1368,1908,1780,1216,1070,619,597,1226,1858,1522,810,386,401,526,639,529,746,612,537,632,734,899,839,780,1086,879,538,463,381,291,558,1200,1300,1126,769,756,734,415,678,1096,913,857,1050,1388,824,763,595,534,430,393,300,260,316,285,259,274,343,606,830,830,612,456,585,797,706,1142,852,705,1332,835,633,827,473,628,1204,1692,1694,877,824,1238,1004,720,855,551,380,542,463,227,247,369,521,536,678,1148,1436,1104,895,849,581,726,862,1066,845,454,520,560,483,564,426,463,790,551,352,379,407,520,841,1182,1250,1082,778,555,557,717,854,933,1272,1404,1094,781,1022,1576,1814,2090,1820,1390,1296,1194,1122,1184,999,952,1154,1222,1102,1322,1178,544,534,1042,1292,1168,854,1054,1180,1200,1450,1592,1322,1252,1088,1094,1240,1154,980,945,987,1072,1198,1382,1126,1256,1372,1380,1410,1376,1244,1378,1604,1582,1318,1046,1218,1076,1078,1512,1582,1056,656,589,606,547,713,773,871,759,700,725,603,822,1092,1510,1456,1418,1520,1732,2456,3168,2050,1488,1570,1440,1188,1144,1448,1240,1009,1548,1736,1442,1444,1312,1218,1106,1078,1286,1098,1134,927,967,771,453,514,859,1322,1174,519,578,964,1560,1664,1932,2122,1798,1720,1804,1870,1876,1698,1488,1466,1356,972,830,702,1084,1584,1250,1180,1268,1006,1068,1009,719,633,664,1312,1168,654,607,1094,1466,1618,1256,803,858,698,591,731,782,1412,1042,569,562,702,981,1532,1450,1240,1322,1240,1516,1402,1172,1086,1090,1174,1118,1124,1256,1164,970,849,773,1094,1402,1456,1212,1550,1420,1380,1290,1250,1366,1406,1418,1448,1576,1384,1098,920,1064,1632,1636,1296,1244,1402,1160,1334,1548,1434,1306,1258,1406,2002,1548,1280,1164,1248,1280,1404,1314,1274,1376,1350,1278,1084,781,851,1007,1064,1102,1242,1280,1136,1190,1668,1440,877,732,979,1192,845,576,922,1066,806,975,1234,1094,874,779,763,634,435,753,1210,1266,1526,903,726,725,1262,1644,1382,1274,1448,1440,1462,1522,1424,1462,1400,1356,1516,1406,1294,1454,1484,1330,1370,1436,1294,1262,1290,1500,1852,1442,1222,1072,1150,1242,2008,2238,1318,1302,1720,1760,1592,1266,1044,1250,1690,1656,1264,1630,1664,1406,1192,1062,1264,1216,1152,1324,1420,1484,1356,1502,1644,1446,1394,1288,828,462,820,1158,1332,1770,1318,1164,961,977,888,1005,1134,1034,826,575,446,968,2186,1686,2814,1786,898,587,513,502,610,830,1058,1038,963,792,1052,1156,1028,839,873,1162,1074,866,766,828,995,1212,1188,1052,922,1048,1536,1372,1216,1086,1015,1310,1562,974,453,407,484,373,594,1140,1420,1212,1186,1118,819,839,996,775,611,749,865,1142,1392,1334,1274,1196,1200,1312,1406,1526,1328,974,1005,1130,1064,892,1472,1570,1448,949,841,654,683,762,760,722,586,504,458,456,544,505,392,446,428,386,398,504,519,448,483,510,410,398,458,638,732,655,599,782,1330,1802,1668,1320,1468,1184,590,664,650,683,565,737,1164,912,810,1482,1560,1292,1566,1774,1894,1730,1224,1292,1244,1504,1080,752,530,413,412,637,825,957,1286,1302,1010,558,720,793,1054,956,781,1194,1306,1166,1248,898,675,730,1020,1288,834,822,1246,1372,1158,1142,1190,848,551,505,455,453,559,1124,1672,1388,1316,1150,1106,1140,1102,1216,1420,1442,1560,1296,1290,1216,966,1126,1266,1306,1422,1400,1204,1144,1144,1044,1013,965,749,702,537,599,755,741,522,783,1036,839,749,1012,1490,1548,1372,1320,1238,1284,865,1007,1042,714,717,930,780,845,1226,1226,883,778,930,875,860,836,843,951,1036,1270,1360,1194,1096,1020,1172,1118,858,951,774,995,1152,1278,1138,784,653,707,958,1296,955,739,724,600,672,516,396,710,794,582,580,521,563,539,495,457,471,846,1472,1288,823,681,653,764,714,558,321,373,517,977,909,766,796,1032,1068,1238,1230,1090,1286,1566,1388,1376,1266,1322,1020,1130,1188,1256,1048,1206,1406,1274,1368,1212,933,1548,1350,1406,1296,1598,1534,1260,1224,1596,1846,1426,1350,1438,1336,1276,1356,1346,1452,1338,1138,1080,1248,1314,1366,1260,1264,1388,1442,1416,1418,1246,1060,954,898,1184,974,551,361,554,810,1110,1378,1036,1134,1658,1414,1166,1038,603,390,360,384,414,411,390,379,394,480,775,1262,1464,1682,1678,1480,1532,1410,1068,891,1064,989,791,513,831,1176,744,622,818,912,972,1018,929,1088,1268,818,537,374,337,656,607,461,432,427,474,750,1178,1548,1652,1174,958,906,983,1354,1320,1246,1132,1262,1528,1504,1310,1244,1594,1958,1880,1642,1232,1206,1260,1374,1504,1402,1282,1326,1528,1444,1188,1017,1346,1572,1770,1738,1638,1256,948,771,632,454,359,506,548,409,451,445,468,987,1010,966,1110,785,619,805,957,931,544,476,1060,989,531],[1478,1404,1086,710,723,832,822,761,600,473,401,372,352,364,424,434,328,314,294,342,399,390,387,381,393,516,753,1015,1156,1144,1106,1005,1266,1260,508,320,360,334,313,338,352,351,438,524,529,430,322,272,385,741,829,894,772,1007,1490,1482,1292,1048,872,676,599,428,396,552,932,650,379,710,1260,1168,885,919,1064,905,802,720,1042,1904,1376,999,1128,1160,945,481,367,347,339,348,346,337,327,348,401,460,445,384,435,783,880,606,628,810,746,904,681,749,873,850,538,398,372,465,501,389,382,473,571,968,1228,1226,1264,1090,767,759,1062,955,541,662,730,508,567,807,991,1252,1462,1620,1468,1046,650,397,513,566,363,538,775,557,390,516,569,544,491,724,1294,1076,525,596,559,812,1214,1246,1120,1302,1256,1192,1240,1338,1300,1246,871,584,659,678,579,615,729,1090,1005,691,1036,1444,1444,1598,1554,977,668,838,1650,2132,1998,1486,868,658,612,546,498,506,448,593,980,1318,1216,613,368,370,425,415,344,408,435,349,304,317,480,481,488,587,648,1050,1368,1204,1001,832,992,1204,834,522,561,1202,1826,1094,905,1238,785,418,462,404,392,399,435,448,381,428,557,454,340,537,704,1000,1646,2032,1636,894,789,799,742,589,537,463,533,658,716,822,732,534,767,1130,1198,1388,1284,1332,1830,2498,1978,1644,1264,1102,1200,884,714,878,1218,1364,1474,1194,1276,889,683,760,905,901,865,876,934,1040,974,1072,916,993,1086,1282,1218,1040,791,591,827,1030,1007,1132,1534,1522,1292,1184,1100,1362,1370,1074,957,959,1006,904,1124,1302,1040,708,970,985,819,676,616,976,907,549,372,407,603,899,893,865,842,1016,1274,1266,1362,1300,1328,1182,1204,1126,617,661,1108,927,1344,1418,779,688,953,1302,1510,1516,1614,1678,1304,811,866,1054,715,438,401,505,586,759,687,591,782,715,581,673,1118,1316,1366,908,1058,951,786,796,939,1074,1230,1540,1362,1132,1522,1228,590,483,619,748,717,978,753,979,1550,1520,1322,955,922,1334,984,760,943,856,885,808,1124,1394,1432,1608,1620,1456,1194,842,789,1144,1032,630,966,1106,1004,540,478,870,1524,1454,819,467,449,446,442,436,716,1148,1278,1410,1318,1108,1178,1104,1056,1062,850,537,365,332,521,809,1224,1308,1180,1004,725,688,645,620,814,1004,1526,1526,1312,1136,1144,915,804,678,581,919,775,691,709,603,492,461,420,369,334,603,1000,885,781,819,662,838,1120,1250,1338,1164,913,1088,866,816,938,1158,1170,861,615,607,680,886,1572,1636,1230,1112,1172,1214,1354,1198,951,853,619,568,933,1268,1190,894,543,375,348,487,984,1316,1698,1448,682,516,544,614,525,483,552,574,676,873,1138,1360,1124,714,644,416,342,478,756,1007,643,576,542,839,1426,1188,588,421,750,1080,934,914,858,918,789,926,1466,1398,1028,1108,1340,1416,1296,1126,1528,1012,701,1012,758,484,374,509,756,697,468,438,376,271,238,302,684,716,441,334,510,668,725,864,1144,1208,1010,948,1174,1172,780,783,902,1108,944,1120,1738,1688,1156,1150,744,665,636,1252,1009,883,1156,808,679,736,586,444,535,745,1188,1176,893,618,733,976,1338,1166,937,1334,1318,1096,1028,840,609,625,800,807,940,913,505,331,332,278,250,263,280,294,329,361,350,372,569,673,761,609,555,641,555,365,329,292,365,626,1028,642,593,525,498,452,591,752,745,656,637,620,659,760,721,361,451,1072,774,479,499,548,825,721,451,598,780,852,551,476,847,1840,1916,1662,1522,1262,1312,1140,952,1066,1023,683,882,694,962,1308,1246,1576,1538,915,786,1044,979,832,753,863,922,863,681,412,550,946,711,772,784,733,1154,1670,1602,1282,1338,1170,1268,1334,1086,936,1168,1184,1042,1122,1338,1396,1396,1294,979,877,882,855,1428,1648,1764,1158,795,931,1007,982,1628,2626,1718,1506,1406,2206,3216,2728,1904,2092,2116,1754,1384,1110,1072,949,1056,1238,1860,1568,1034,891,588,773,1212,1572,1500,1268,819,517,550,665,622,816,669,849,886,683,742,746,925,1144,860,551,423,337,350,572,984,1138,1090,754,789,761,427,419,485,785,1058,1078,1002,1007,1160,743,613,634,329,332,424,527,479,373,274,264,323,409,346,302,225,283,343,528,859,953,1478,1500,564,313,379,319,723,1254,1732,1208,538,866,1544,1200,767,946,457,387,286,251,205,231,434,565,643,825,1148,1328,1030,902,1060,630,466,540,886,604,455,1688,1836,473,392,349,642,1096,524,328,358,384,458,492,608,861,1170,1136,877,741,724,702,865,1232,1598,1460,1266,1406,1770,2016,2054,2170,2972,2060,1258,963,1146,1224,969,965,1052,861,1023,838,524,926,1238,1228,1060,992,1214,1206,1366,1744,1844,1498,1270,1234,1278,1312,1142,778,633,781,946,1290,1092,845,875,955,1206,1316,1452,1550,1526,1558,1572,1108,810,792,844,1042,1522,1496,977,618,562,642,769,913,631,786,513,558,693,720,1015,1362,1420,1382,1446,1478,1250,1526,2066,1560,1510,1560,2098,2248,1938,1564,943,1066,1810,1678,1340,1434,1272,1316,1320,1412,1344,1122,1026,921,979,741,421,452,762,905,968,666,816,1250,1622,1646,1688,1556,1360,1300,1310,1278,1262,1136,1172,1330,1366,1294,1162,969,981,1086,1086,1328,1140,1088,1088,1044,648,688,998,1550,983,818,1009,1058,823,677,625,791,1364,1540,1176,1172,1152,1418,1026,659,835,1036,1416,1808,1268,1130,1002,1482,1492,1300,1410,1150,812,966,1114,1402,1574,1122,968,830,666,863,1286,1174,1104,1068,1001,1090,1130,1152,1094,1268,1472,1460,1544,1562,1448,1038,946,1334,1436,1386,1414,1484,1492,1556,1680,1482,1350,1210,1290,1914,1528,1286,1244,1208,1146,1240,1122,1152,1334,1386,1550,1272,802,998,1130,1020,1196,1266,1400,1580,1760,1866,1300,755,557,858,1158,891,476,629,693,487,637,1005,1122,822,774,869,694,589,843,1016,1112,913,639,645,805,1518,2016,1692,1262,1242,1206,1324,1340,1350,1512,1614,1356,1362,1256,1172,1198,1144,1284,1550,1346,1368,1158,1354,1650,1262,932,1056,972,1022,1074,1442,1760,1310,1272,1616,1594,1278,1266,973,1148,1632,1472,1260,1340,1200,1226,1050,893,1124,1282,1394,1152,969,1130,1194,1172,1510,1958,1720,1272,932,773,1008,1286,1448,1354,1478,1332,752,675,915,901,684,621,454,419,421,807,2090,1356,1466,1324,1040,738,620,500,519,792,1013,1050,1180,843,1136,1516,1458,979,882,1062,861,617,879,944,813,910,850,794,1072,1138,1456,1466,1154,936,1040,1156,1136,766,580,561,753,667,977,1288,1186,1164,1228,1062,928,1092,1162,979,626,727,897,1182,1146,1198,1204,1208,1054,1338,1390,1080,1090,681,688,864,985,844,924,1088,1108,985,800,672,917,1218,1264,1238,1082,656,552,493,504,546,422,387,428,425,414,408,451,512,530,524,436,436,445,579,621,545,481,702,998,1428,1770,1550,1474,1706,1170,1284,1018,698,677,1472,1544,1074,799,972,1478,1706,1676,1848,1910,1876,1398,1108,1218,1438,858,435,410,366,406,366,539,780,1200,1246,1038,816,891,833,1046,1086,1160,1250,1062,1162,1380,1274,1284,1110,1202,1072,756,1002,1116,1288,1360,1210,1078,1028,1076,918,684,681,675,954,1320,1434,1384,1276,1226,1148,1108,1344,1614,1520,1260,1186,1009,1076,1078,1204,1236,1266,1182,950,740,965,854,1009,1266,1144,1102,1038,960,951,855,533,340,469,768,996,953,1384,2182,1646,1316,1306,1180,673,415,590,633,700,858,1006,879,904,906,891,744,510,439,445,454,501,533,581,836,1230,1436,1422,1166,1114,1060,836,1078,875,561,813,1072,1256,1256,820,572,965,810,1108,1236,799,569,755,780,449,451,677,732,1104,1170,591,493,580,626,489,588,918,1166,946,1070,897,573,609,600,524,340,332,481,755,702,604,677,1007,1190,1078,999,1130,1156,1536,1446,1372,1110,1019,1072,1238,1418,1500,1356,1456,1428,1344,1424,1194,788,1084,1208,1016,1146,1442,1408,1456,1572,1538,1406,1578,1592,1488,1404,1226,1006,1424,1596,1564,1442,1426,1410,1542,1490,1428,1708,1468,1338,1278,1076,1160,1248,1204,1160,1013,722,391,277,405,802,1180,1228,899,868,1366,1478,1306,1080,820,408,347,367,442,438,422,486,406,489,639,1032,1578,1604,1158,733,678,1138,1432,1048,1138,1368,1236,697,764,1128,909,788,797,915,1130,1218,1050,1698,1650,1100,555,306,268,486,537,466,432,441,462,579,796,1096,1506,932,692,1268,1338,1244,1138,955,949,1272,1506,1108,928,1224,1212,1550,1594,1058,1176,1302,951,1132,1522,1504,1302,1390,1432,1370,1003,1192,1452,1298,1236,1106,752,607,697,736,669,410,328,448,435,440,868,788,644,910,1246,1366,1124,766,498,736,1180,1160,554,333,521,551,486],[1224,997,813,585,477,469,496,492,528,519,403,416,360,350,476,469,374,322,309,340,403,427,437,504,691,913,1001,945,763,565,618,642,1132,1222,577,295,352,316,309,338,335,319,352,404,491,448,298,227,419,824,1076,1060,888,1246,1670,1426,1250,963,935,741,601,437,352,374,419,355,399,855,1350,803,653,814,1106,855,795,703,1038,1644,1620,1390,1036,1040,741,391,345,324,326,345,336,328,329,454,504,514,463,429,520,572,491,547,512,576,873,1354,982,545,714,718,451,476,443,444,495,365,376,508,504,819,1138,1250,1070,766,662,570,967,1023,767,556,439,348,545,619,1100,1488,1466,1520,1444,1038,594,650,975,816,422,645,690,552,421,446,595,610,465,634,971,655,572,469,606,1182,1426,1278,1202,1080,1158,1332,1400,1274,1396,1576,706,512,603,560,455,505,569,700,666,618,946,1188,1130,1202,1012,1122,886,753,1438,1750,1408,838,529,439,441,473,454,461,423,501,752,1458,1300,597,365,332,413,466,446,392,387,329,283,337,397,703,1238,1328,1072,1134,1124,829,566,641,1250,1406,1034,1296,1226,1642,1614,1176,1246,1328,857,444,439,376,360,420,476,449,371,351,392,362,339,410,464,741,1256,1334,1062,730,811,1574,1376,1326,1322,939,943,1036,1388,1602,1284,913,983,1210,1334,1490,1348,1398,1468,1312,1300,1426,1222,1048,1238,945,807,747,1005,1286,1302,957,657,617,669,718,956,1222,1056,786,698,984,1160,1023,814,902,1160,1500,1448,1282,1014,749,877,1368,1526,1314,1318,1470,1572,1406,1196,1526,1538,1476,1534,1374,1019,880,1104,1320,1288,1144,1232,1162,689,490,538,812,955,819,891,1144,1272,1052,557,479,750,903,957,876,1013,1450,1582,1300,1202,1096,632,591,1036,763,829,954,633,691,972,1218,1284,1078,839,1060,1358,1140,996,1062,594,432,431,505,899,1518,1248,702,641,499,719,1416,1654,1362,1580,797,938,1013,676,628,834,1116,1652,1606,1420,1466,1250,643,475,459,577,636,796,1082,1118,1324,1296,1024,975,657,1148,1512,1296,868,904,1108,1302,1382,1372,1130,1220,1600,1378,1428,1290,1082,976,946,850,504,415,506,531,472,537,1003,1720,1188,1134,842,636,498,490,473,519,775,1164,1400,1158,1236,1328,1250,1238,1102,1007,650,428,319,382,1015,1726,1700,1666,1326,942,995,1040,639,583,710,1118,1032,603,690,943,836,1040,971,636,946,774,564,614,584,506,479,457,410,358,413,480,458,481,490,588,1218,1432,1232,1290,1240,1454,1488,955,624,587,623,869,968,1198,996,965,1156,1572,1372,965,1206,1526,1566,1448,774,711,873,876,803,786,828,611,466,410,419,424,767,1238,1504,1804,1126,617,552,644,814,886,1128,1120,938,1036,1140,1200,964,577,465,737,739,495,394,442,744,927,917,748,874,1238,1110,582,452,798,1048,1012,720,679,836,1030,1010,955,1084,1230,1450,1644,1278,1036,645,1064,956,818,958,1050,978,776,772,832,727,480,351,317,308,293,255,316,337,327,433,523,781,1162,1330,1152,1078,1148,1178,838,714,839,1034,1014,908,755,936,1700,2052,1492,1606,802,707,959,1414,1128,883,802,742,711,686,708,740,860,857,1028,972,702,630,886,1186,1416,1066,949,1134,1230,1786,1466,892,642,637,933,1036,807,630,455,319,262,204,202,257,296,317,294,393,506,553,633,802,852,619,456,561,561,379,334,271,420,777,1490,972,497,483,494,455,886,1432,1268,802,569,547,706,820,659,604,735,1080,864,702,604,519,717,658,480,461,597,612,484,531,1058,1722,1998,1732,1356,973,1068,1302,722,882,1192,1328,1326,941,1252,1588,1242,1001,970,899,890,1022,919,664,769,990,1152,1104,854,553,828,1023,612,567,665,1102,1484,1572,1654,1296,1040,977,1020,1158,1284,1154,1004,1098,1058,1018,1078,1366,1298,1332,1246,1268,988,701,926,1422,1626,1042,642,789,1018,1224,1102,1580,1444,1402,1844,2054,2590,2220,1788,2376,2642,2320,1446,796,852,1046,949,991,1362,1178,1000,974,846,805,1244,1318,990,1162,1000,445,366,857,962,748,895,1422,1474,811,387,443,511,480,548,613,613,829,649,602,804,954,803,573,546,436,411,688,551,952,1142,993,897,811,705,529,968,1036,641,1132,772,547,866,694,454,505,509,522,536,391,295,577,621,766,1116,1444,1540,1036,625,458,360,330,531,1272,1432,765,689,1184,1472,912,703,1104,644,505,545,525,394,397,403,367,501,926,1406,1342,1010,835,953,705,483,460,865,716,852,2338,1772,597,649,586,691,780,432,341,380,397,416,461,439,461,618,960,1230,1208,1044,638,729,1036,1162,1208,1302,1332,1528,1780,1758,1708,2522,2036,1254,1126,1092,947,842,1054,1252,927,538,667,987,1246,1284,1194,1072,1206,1356,1384,1466,1656,1708,1398,1138,1184,1254,1340,1212,1146,987,954,1056,1478,1056,1040,1340,1188,987,891,976,1015,1276,1610,1572,1318,1116,1011,949,964,1178,1028,669,548,613,668,1242,1356,835,775,568,660,755,819,1190,1532,1408,1354,1396,1520,1250,1228,1226,1366,1434,2072,3152,3504,3624,3046,1656,1666,1858,1654,1354,1336,1360,1246,1456,1514,1340,1196,983,819,909,651,452,774,1116,1148,1408,1244,969,1468,1758,1364,1130,979,899,1456,1436,1058,908,1212,1030,1396,1744,1418,1336,1258,1176,893,841,963,984,984,956,794,689,688,1278,1676,1492,1528,1374,840,487,463,604,998,1416,1532,1488,1472,1562,1548,1366,1168,1456,1704,1306,1296,1134,1080,717,980,949,1298,1472,1160,894,1062,1348,1610,1588,947,1022,883,951,1074,1290,1090,1328,1400,1288,1414,1500,1168,1148,1654,1626,1286,1340,1484,1448,1394,1282,1174,1023,1152,1382,1502,1114,946,1390,1532,1430,1140,1260,1308,1320,1296,1248,1166,1160,1160,1202,1346,1366,1118,1282,1338,830,1048,1136,1064,1296,1258,1454,1666,1056,1214,1272,872,455,720,1210,1274,988,821,643,689,938,1216,852,724,739,896,828,949,963,982,1212,1058,908,869,1180,1942,1830,1422,1150,1188,1038,1194,1112,1240,1444,1376,1214,1272,1356,1176,1120,1146,1360,1678,1416,1196,1042,1750,1876,1282,1013,966,990,1032,968,1042,1208,1206,1218,1334,1350,1128,1206,1350,1534,1578,1494,1560,1602,1186,1222,1256,1288,1164,1168,1342,1222,1052,954,1100,1494,1812,2022,1400,1148,698,785,1382,1478,1136,1254,1716,1460,948,662,850,647,413,405,425,412,379,747,1598,1742,1596,1494,1158,1058,971,645,687,874,703,585,482,452,853,1440,1334,1078,1254,1336,1054,1062,1288,885,653,871,684,819,1076,1772,1946,1172,751,678,935,1138,1236,968,843,571,655,1056,999,965,1046,1144,1254,1194,1142,1146,1206,1368,1174,1021,1232,1730,1274,1228,1284,1368,1316,1392,1602,1308,884,475,459,578,912,940,918,974,974,1034,919,890,1020,1136,1054,1114,1102,559,626,619,794,858,553,440,405,421,439,428,472,494,509,536,433,502,495,540,575,473,401,509,714,1140,1716,1826,1238,1546,1602,1620,1544,1206,910,1356,1560,1496,1218,1218,1396,1794,1908,1780,1896,1666,1168,799,672,545,360,372,379,380,467,552,669,994,1176,1280,1498,1290,1218,1208,896,682,1064,1032,938,979,1007,1410,1470,1432,1196,714,983,1206,1028,1186,1078,904,849,1298,1554,1248,1936,1534,988,1108,1382,1438,1368,1366,1308,1086,974,883,1224,1274,880,1000,1152,1146,1248,1226,1186,1042,900,1114,1188,1068,641,579,788,974,1178,1232,1142,1248,1256,847,402,564,1005,1252,1154,1206,1446,1344,1298,1622,1556,1152,789,618,602,918,748,790,845,1542,1532,935,792,777,714,708,603,547,664,744,833,1166,1296,1328,1390,1350,1184,1730,2110,1296,771,1060,1296,1542,1522,1362,912,644,619,903,1240,1350,1144,822,495,375,697,886,885,1192,1250,738,536,541,495,713,870,909,832,967,1298,1015,484,561,634,571,431,442,581,903,1090,894,882,1082,1274,1128,1080,1362,1368,1230,1294,1162,879,828,893,1192,1700,1560,1184,1350,1262,835,943,1010,996,827,645,718,940,1230,1198,1252,1434,1188,943,1340,1242,1300,1021,856,863,1050,1428,1610,1268,1362,1490,1604,1434,1484,1798,1620,1518,1368,865,789,1130,1110,1002,769,475,246,276,315,602,933,1102,1118,946,1076,1210,1078,1310,1194,741,392,314,332,559,1056,937,525,645,1096,1120,1048,1026,818,634,675,917,1482,1622,1960,1854,1116,632,1054,1346,1084,1030,1400,1442,1250,1202,958,1550,1190,818,702,508,422,528,567,475,416,436,504,706,841,736,910,838,1044,1454,1536,1450,1372,1144,872,1076,1180,761,714,948,636,745,1186,1094,1108,1284,1094,894,1192,1040,767,1056,1344,1392,1178,1046,1248,1390,1242,1046,922,1198,1092,915,890,606,606,1070,1080,757,901,887,695,963,1412,1208,869,780,1100,1566,1330,1210,768,386,382,537,763],[1370,1070,754,716,630,445,375,391,423,444,525,582,486,461,491,475,386,342,325,361,489,756,1011,1172,1172,1015,705,526,491,507,590,528,843,1196,803,270,312,301,293,303,280,292,301,314,474,529,378,265,424,744,954,959,700,885,1216,1136,958,1048,1290,1068,869,587,342,429,536,376,360,677,966,622,594,762,847,686,835,863,974,1280,1490,1236,941,1128,828,461,346,337,331,350,338,312,345,466,574,632,407,402,435,366,404,485,430,599,1042,1560,1444,885,766,905,633,528,490,452,478,389,478,611,728,1108,1202,830,591,631,915,796,675,704,836,706,461,352,580,972,1388,1424,1664,1386,1420,1398,738,837,982,832,650,637,621,556,386,437,509,482,398,322,370,432,418,650,802,1176,1210,997,937,774,899,1228,1452,1272,1652,1504,681,433,559,721,728,652,862,789,492,559,1007,1166,1176,1232,886,1023,1010,987,1050,918,825,547,472,466,502,498,500,521,509,668,910,1216,1058,545,342,356,572,691,931,857,622,445,375,394,397,690,1622,2266,1692,1038,637,604,725,849,1368,1646,1518,1902,1780,1748,1786,1590,1536,1420,811,425,416,401,380,414,410,379,333,309,333,343,351,380,438,669,926,738,702,774,1048,1520,1250,1528,1498,1156,1138,933,1186,1576,1288,904,730,1060,1350,1544,1402,1378,1420,1420,1400,1108,992,951,1250,1060,898,685,509,951,1003,753,634,671,761,661,795,1032,965,840,954,974,955,913,794,839,1012,1172,1212,1160,1068,963,1198,1490,1276,1280,1396,1376,1390,1282,1280,1422,1404,1374,1284,1270,1040,1164,1172,1268,1226,1320,1322,1056,672,508,545,730,1002,1206,1502,1490,1426,1158,903,974,1146,873,772,934,1192,1456,1094,1036,827,615,580,712,1138,1654,1968,1426,857,891,893,897,1208,1086,534,618,746,1282,1360,1348,970,625,495,663,1384,1952,1690,1306,815,477,1013,1532,1422,1540,1304,949,1334,1388,1182,1074,947,1348,1750,1172,1504,1260,631,493,539,709,708,717,940,938,1112,1504,1316,1394,1216,956,1378,1602,1466,1060,995,1096,1378,1750,1670,1082,1180,1308,1158,1552,1416,988,604,549,518,370,333,394,457,560,543,1334,1434,1042,1094,1088,1002,745,557,636,708,702,1202,1642,882,1036,1160,1224,1130,788,702,709,661,491,460,653,1050,1512,2272,1448,799,1144,1594,1102,700,815,1186,1132,682,531,754,930,1520,1132,876,1100,881,599,547,516,478,502,507,474,433,422,389,437,428,537,747,1202,1290,1178,1228,1164,1080,887,485,435,475,462,509,777,1070,1136,1432,1324,1148,927,976,1282,1250,1214,848,468,461,729,1020,1208,1244,930,499,363,348,379,598,1060,1352,1754,1510,742,690,662,827,1218,1432,1594,1450,1190,1138,1220,1334,922,505,577,1124,1176,789,651,846,1402,1852,1626,1186,709,915,1296,720,558,852,911,754,703,655,796,1240,926,700,1086,1428,1690,1528,1196,1004,541,769,1060,1116,1036,1021,1138,1076,831,666,510,464,405,319,374,416,337,327,457,660,769,881,1078,1098,1086,948,839,841,830,799,1012,913,732,723,643,721,761,658,1012,1404,1388,1120,1114,996,1005,1206,1228,818,798,799,630,668,868,999,874,783,655,625,628,687,1148,1278,875,1192,1334,1610,1982,1338,981,642,469,899,959,552,336,256,254,287,292,298,318,336,330,385,468,497,597,868,1040,833,609,334,305,368,456,386,358,421,822,1488,1002,468,538,541,470,561,709,946,767,1110,1400,1202,806,734,666,771,1176,1306,1366,1036,826,1152,1144,860,500,403,534,558,455,860,1566,1794,1492,1252,885,813,1007,902,689,624,1204,1372,1074,1168,1042,794,843,822,904,781,587,642,762,1368,1418,1094,1102,1274,863,835,1198,1032,973,910,1228,1506,1334,1356,1324,1136,1198,1206,920,989,959,762,901,1108,1080,814,1090,1136,1400,1546,1380,1142,1218,990,770,950,782,1168,1522,1248,1234,1142,1060,1116,1392,1878,1748,1904,1980,2120,2236,2590,2286,1344,1262,1306,1010,1080,1005,1042,1186,1214,1110,1011,749,444,625,854,1056,742,468,690,980,778,591,784,1394,1488,714,399,485,369,346,358,356,706,1038,1023,1346,1506,907,908,955,793,783,691,637,608,659,666,656,503,305,292,462,910,722,714,1024,792,440,738,752,659,785,935,969,940,595,476,1072,988,1472,1456,1216,1038,893,1194,879,392,427,420,512,764,662,760,1005,1246,894,673,695,648,721,882,883,780,833,597,458,518,705,1076,929,781,951,834,550,441,502,677,609,697,1286,1378,917,907,645,645,509,476,555,483,499,459,477,415,300,381,508,805,1118,1336,1162,831,869,1112,1312,1338,1334,1268,1328,1174,1284,1398,1522,1330,1366,1192,993,1028,1206,1464,855,542,931,1354,1316,1260,1021,1354,1296,1206,1494,1614,1650,1612,1378,1644,1580,1136,1242,1058,1284,1458,1366,1322,1230,946,1166,1410,1486,1470,1384,1100,724,1202,1590,1362,1362,1508,1404,1278,1164,1050,892,691,678,721,785,966,901,894,780,686,717,681,827,1082,1416,1338,1248,1466,1692,1584,1432,1504,1574,1340,1928,3278,4006,4216,3426,1524,1606,1784,1516,1278,1306,1282,1206,1170,1186,1216,1180,983,608,668,517,752,1740,1942,2060,1520,891,966,1678,1810,1180,1098,1176,1636,3138,3278,1462,937,1344,1402,2900,2740,1278,1192,1046,850,734,766,731,530,525,603,578,827,1032,1394,1516,1190,875,574,463,520,552,897,1308,1426,1450,1410,1252,1282,1256,998,1224,1632,1742,1272,1084,1284,1046,811,763,1130,1404,1296,1118,776,997,1290,993,1196,1108,1011,815,852,934,1076,1228,1452,1522,1256,1492,1646,1234,1100,1402,1528,1374,1382,1214,1270,1562,1638,1378,1404,1376,1450,1648,1352,766,1072,1402,1598,1524,1354,1284,1258,1308,1334,1294,1444,1316,1242,1260,1444,1066,1222,1206,896,973,986,969,1130,1278,1632,1400,761,654,682,607,466,767,1318,1560,1252,739,660,1124,1428,1346,978,1284,1214,1206,969,970,883,1042,1338,1228,1130,991,1240,1458,1262,1482,1354,1150,1246,1326,1136,1194,1166,1150,1252,1278,1268,1160,1268,1188,1236,1252,1032,1028,1064,1446,1534,1414,1206,1074,1106,1162,1232,1136,1404,1256,1334,1382,1026,1240,1638,1650,1642,1510,1412,1332,1188,1110,1246,1240,1194,1188,1216,1208,1344,1362,1084,1092,1314,1380,1526,1658,1350,839,684,927,1130,1024,1144,1354,1488,1464,878,716,540,465,469,432,439,325,1026,1876,1814,1658,1610,1394,1398,1278,1082,979,998,615,435,434,491,840,1258,1326,1052,1013,1260,884,812,753,456,469,861,1018,907,926,1758,1832,1200,1062,1108,1210,1162,972,940,938,772,821,872,901,993,1082,1052,1260,1438,1564,1256,1132,1368,1182,928,985,1080,1036,965,1132,1422,1186,991,984,931,812,614,628,630,818,926,1032,1130,1182,1122,868,1023,1088,759,650,878,705,457,446,636,1094,991,626,564,419,386,398,415,404,402,421,440,430,545,576,537,515,500,443,520,586,888,1618,1844,1544,1074,1194,1236,1318,1378,1092,1208,1412,1692,1140,656,924,1554,1756,1746,1652,1406,1216,846,364,414,380,381,430,437,567,1007,1182,1134,1030,1244,1252,1050,1132,1438,1328,878,871,896,940,853,1032,1400,1484,1338,749,505,835,1078,1278,1040,1015,929,716,1222,1396,1194,1232,1136,1318,1362,1220,1262,1336,1314,1144,1238,1106,614,872,1350,1142,1062,1422,1338,1118,869,1015,1034,711,1098,1438,892,514,431,461,803,1218,1198,968,1240,1242,1278,1078,1152,1232,1322,1340,1092,927,935,1126,1560,1720,1756,1250,1002,963,645,612,796,944,1388,1116,614,714,1130,1188,902,623,508,951,1100,909,949,1166,1054,855,1198,1588,1742,1678,1394,1214,1328,1118,1374,1238,1374,1176,755,639,955,1370,1402,1188,796,343,433,909,890,729,820,1028,760,550,544,625,818,803,844,1013,944,1072,1011,916,754,805,880,761,865,1016,1368,1362,1142,1224,966,1009,1078,1150,1366,1358,1136,1050,926,791,572,522,742,1004,1040,1096,1234,959,636,640,662,880,1054,1001,823,912,1240,1174,789,1176,1154,1240,1080,834,836,543,616,1011,1044,1070,1390,1412,1494,1568,1366,1318,1060,1180,1506,1512,1400,1130,1174,1260,869,837,699,444,311,376,357,445,595,772,971,1110,1200,1208,1282,1856,1594,1162,570,342,625,1292,1660,1204,835,1144,1180,974,924,1005,1152,1268,1378,1274,1268,1642,1882,1628,1090,858,930,856,725,885,1618,1948,1582,1158,1150,1422,1120,832,871,799,624,617,601,534,456,403,554,776,701,484,714,1010,1168,1488,1728,1692,1444,941,874,1150,1108,1152,1376,1202,818,927,1306,1220,1364,1438,870,741,1344,858,792,1170,1324,1438,1270,1062,1344,1026,883,1150,1260,1208,1076,1042,1076,1076,1078,1432,1340,920,888,926,1104,1306,1478,1046,747,910,1120,1556,1346,1136,937,508,361,509,699],[1650,1262,906,771,670,594,404,349,350,367,433,467,530,495,617,572,413,373,387,502,818,1196,1224,910,613,483,457,459,488,504,569,642,830,1082,906,316,284,301,298,287,265,326,374,411,518,546,463,345,397,638,788,1140,818,827,1358,1738,1140,1026,1306,1006,563,426,330,397,677,523,364,853,841,489,465,475,451,604,769,739,879,979,1112,1098,1090,830,594,425,346,357,355,355,331,320,359,423,467,440,380,368,370,355,405,456,446,462,617,1034,1292,1366,1274,1360,919,520,451,452,410,367,411,656,1042,1074,756,665,731,655,733,814,568,385,484,624,520,538,934,1232,988,1228,1600,1504,1130,1150,1200,1208,1534,1466,930,623,440,372,410,474,387,349,317,318,363,486,1318,1638,808,732,786,780,941,769,681,1028,1176,1396,1628,1184,652,576,569,828,1076,812,973,1206,799,759,1138,1166,955,845,645,590,763,993,1018,897,895,659,439,440,515,495,452,397,757,1346,1480,1484,1182,513,370,426,1078,1482,1556,1244,850,541,356,356,377,627,1710,2452,1410,770,498,655,648,587,785,1056,1310,1476,1368,1600,2114,2100,1840,1450,775,416,377,368,348,384,392,364,347,353,376,354,359,408,409,623,742,777,908,1208,1312,1194,1102,1298,1534,1200,976,975,1352,1642,1296,932,657,1046,1448,1570,1482,1382,1428,1196,905,643,843,1226,1306,1340,979,547,461,573,487,470,626,848,969,726,700,702,857,867,822,880,949,930,947,918,900,965,1005,1076,1066,1084,1418,1294,1118,1302,1362,1398,1382,1148,1098,1216,1214,1198,990,1202,1242,1406,1584,1334,1132,1312,1184,797,708,813,982,1132,1202,997,1206,1144,991,1112,1246,1352,1488,1294,1190,1108,1062,1188,1036,1170,891,777,1044,1426,1444,1614,1760,1350,1236,1232,1216,1214,1330,1152,724,702,711,1028,1280,1318,1246,1190,1048,1118,1296,1622,1614,1578,969,739,1180,1230,966,1142,912,938,1226,1132,1292,1232,1186,1442,1216,1322,1726,903,446,425,656,918,800,1052,1138,1096,980,1102,1316,1700,1616,1432,1422,1388,1266,1340,1284,996,1042,1346,1654,1520,1622,1798,1632,1582,1158,620,607,693,591,439,501,346,358,415,307,874,926,920,908,1218,1224,961,745,926,1188,1194,1622,1896,839,973,875,954,1252,1064,644,759,810,647,615,709,1007,1440,1852,1184,942,1894,2522,1902,1098,971,1040,1138,978,1106,1442,1648,1876,1236,1066,1256,1021,601,512,498,515,576,580,509,445,536,662,1168,1044,856,1230,1664,1534,1110,957,756,718,866,624,453,477,493,457,510,430,775,1186,1358,1210,876,1084,1218,677,620,416,434,432,732,1050,936,966,1082,783,522,317,496,905,1286,1586,1850,1116,836,1034,784,962,1412,1470,1490,1432,1348,1570,1874,1852,1718,905,691,1044,1070,1084,1196,1280,1682,1774,1414,1256,858,732,1088,1048,1024,921,734,677,1072,1156,835,984,900,1044,1150,1236,1406,1282,1120,881,544,590,916,1214,1096,871,696,689,759,737,497,444,334,519,817,590,474,634,843,861,1023,1284,1338,1272,1194,1034,960,1240,1130,1108,1374,890,711,833,909,963,960,899,1140,1314,1082,726,499,397,397,711,1224,1172,795,763,675,716,766,758,786,877,857,750,684,963,1378,1152,960,1422,1272,1636,1676,958,695,586,435,503,408,306,241,228,247,294,327,318,597,955,690,588,709,546,462,610,641,676,596,450,374,383,613,600,559,449,902,1334,934,530,490,550,468,496,530,545,464,639,754,666,502,579,544,639,1268,1556,1808,1186,1206,1744,1562,868,556,532,615,560,375,448,778,1238,1032,709,969,1028,935,1064,874,525,854,1464,1454,1296,1038,957,1050,926,814,615,918,1188,1038,1530,1752,1376,1202,1346,989,520,780,1002,958,1050,1054,1222,1266,1258,1378,1132,1344,1470,1056,777,541,474,703,1010,970,911,1116,1262,1316,1336,1068,846,998,935,512,394,529,1302,1730,1562,879,669,1038,1218,1420,1460,1366,1534,1636,1760,1598,1948,1380,764,1226,1560,1240,867,966,1108,1196,1208,1294,927,611,567,726,1460,1606,858,720,1130,1316,1110,1026,835,1256,1168,648,492,431,344,635,632,583,1334,2490,2796,2592,1930,1076,888,968,795,769,699,592,619,593,680,793,665,532,455,402,460,368,431,495,467,423,680,965,1096,1120,1062,886,822,524,592,1336,1418,2068,1460,862,895,825,750,577,399,419,401,626,1038,874,1172,1260,1352,1044,969,826,464,651,644,574,792,1010,765,552,667,798,618,382,428,709,925,918,886,731,517,673,713,573,749,951,947,768,870,761,606,689,618,634,535,418,333,499,991,1056,664,536,886,1220,1258,1180,1272,1328,1136,1150,1462,1668,1019,1026,1282,1354,1446,1288,902,828,848,884,1326,935,811,1160,1296,1278,1021,1007,1568,1968,2110,1856,1378,1476,1378,1476,2302,1620,1244,1224,1042,1134,1284,1468,1464,1028,1212,1758,1584,1598,1436,1572,1452,1274,1612,1644,1064,904,1104,1118,1130,1046,940,857,614,653,669,843,886,794,831,708,594,697,607,742,1114,966,984,1048,1186,1398,1462,1510,1482,1470,1354,1890,3392,4176,4078,3308,1244,1050,1542,1346,1182,1200,1334,1492,1346,1068,1080,1120,778,482,609,499,1224,1868,2292,2576,1722,1034,1300,1814,1730,1230,993,1015,2128,4520,3958,1562,1366,1808,1598,1704,1602,1116,1070,1050,993,579,450,390,348,370,390,502,907,1224,1202,998,655,494,511,813,975,984,1204,1392,1352,1406,1498,1312,1080,1218,1098,1298,1334,1256,1192,1126,1274,1096,832,824,1222,1384,1108,797,1042,1198,1260,1284,1294,1324,1192,1106,1168,1014,1046,1246,1544,1788,1588,1664,1672,1334,1098,1142,1184,1198,1270,1340,1346,1562,1554,1554,1616,1448,1680,1644,1600,1328,1364,1372,1496,1532,1312,1286,1276,1258,1276,1460,1338,1138,1038,1302,1238,1134,1244,1188,1194,1240,1098,1178,1418,1734,1744,1386,661,415,509,504,479,467,714,1164,1212,891,747,904,1216,1412,1150,1166,1306,1222,976,960,731,912,1056,894,966,1042,1394,1278,947,1484,1556,1246,1246,1152,1134,1232,1204,1112,1134,1284,1346,1470,1282,1146,1126,1190,1122,1176,1210,1144,1140,1298,1226,1194,1284,1310,1330,1146,1196,1194,1452,1158,807,1254,1460,1342,1136,1310,1164,931,1256,1246,1004,836,648,799,979,937,774,805,1019,1110,1001,1168,1234,1472,1456,1252,926,645,839,1262,1502,1454,1116,1072,801,458,485,742,684,475,421,386,554,1096,1454,1328,1310,1420,1152,1134,1174,1112,1086,719,605,628,730,897,907,1230,895,644,718,591,468,354,420,524,852,1266,1200,1350,1472,1374,1354,1268,1264,1374,1212,1034,1001,974,1104,1066,809,955,789,830,1178,1180,1218,1218,1122,1060,996,922,1009,1048,1124,991,994,1314,1080,744,617,755,1034,810,904,1084,1028,1052,1078,1086,1080,995,1011,944,910,1000,974,1028,1052,904,633,434,628,946,1016,781,659,584,469,370,361,387,528,685,737,572,449,517,532,525,504,486,681,645,699,1294,1724,1810,1412,1082,899,1164,1272,1470,1496,1488,1032,569,400,461,698,1096,1452,1354,1224,1532,922,371,367,362,443,519,542,517,968,1198,1070,1332,1340,944,970,1122,1528,1322,1068,897,986,1206,1112,1023,1234,1462,1070,497,450,483,486,733,721,1218,1262,966,1172,1082,881,849,1010,1310,1352,1106,1170,1158,1274,1198,1344,1132,741,864,1268,1532,1566,1492,1278,1208,929,838,1168,915,1120,942,558,430,297,321,569,895,1138,1176,957,1130,1344,1538,1442,1462,1310,1104,948,876,815,788,1162,1452,1512,1206,1030,1064,750,700,871,1282,1322,847,701,1182,1538,1176,657,442,537,709,576,708,866,852,806,813,1082,1370,1320,1128,1076,1296,1352,1492,1300,1128,985,695,601,615,938,1092,1234,1278,963,441,615,962,1200,820,636,821,677,579,1068,1023,695,1009,1026,1050,992,1248,1082,1262,1032,678,797,839,880,1004,1262,1048,925,801,550,783,991,833,922,1430,1672,1406,1242,818,662,733,796,821,1114,1476,1320,917,595,651,886,962,1046,1070,1244,1270,1122,1148,749,882,1104,979,694,709,639,524,567,653,1128,1082,1206,1388,1486,1260,896,713,714,979,1314,1388,1088,984,1098,1050,1050,1112,1184,774,476,811,823,608,1058,1460,1118,1256,1130,1190,1360,1758,1404,737,484,603,1134,1604,1478,1034,1286,1604,1168,659,598,1007,1290,1262,1240,1180,1017,1294,1526,1096,749,666,505,517,777,1174,1722,1782,1126,882,1058,1096,956,956,1102,1050,772,742,593,550,419,542,921,860,550,525,726,976,1314,1660,1588,1406,910,677,976,1098,1276,1480,1362,1172,1298,1354,983,723,1344,1218,780,1212,1578,864,693,839,763,1042,929,760,717,676,706,1072,1188,1238,910,962,1144,1152,964,786,911,1024,884,1108,1486,1610,1768,1290,1104,877,681,1148,1098,689,502,357,307,368,466],[1152,684,569,594,658,691,570,401,348,353,404,595,593,492,461,550,673,811,999,1150,1086,865,765,604,488,488,553,560,555,535,610,792,850,1068,927,414,322,345,323,299,309,446,505,474,459,440,395,302,337,489,539,805,922,1062,1454,1548,965,670,769,772,537,492,409,480,879,954,679,860,736,532,633,809,887,843,694,636,633,689,746,890,1114,773,434,362,405,455,474,365,360,367,365,649,944,752,583,495,479,402,402,485,548,466,488,1001,1290,1088,1180,1638,990,402,452,392,303,319,693,1224,1162,672,484,768,828,715,594,597,568,532,572,519,458,578,1098,1082,941,1224,1214,1470,1058,900,1266,1506,1714,1628,1172,566,334,306,521,584,432,346,328,350,354,403,1088,1582,1074,900,751,619,732,634,592,823,1128,1378,1320,812,533,576,576,794,1044,785,800,744,601,647,1064,1008,735,941,1114,1246,1312,918,829,1128,925,562,395,390,469,469,430,468,903,1642,2076,2046,1588,700,411,456,1120,1266,1180,1064,703,501,368,334,379,521,1382,2150,1208,713,660,733,735,624,708,1174,1374,1110,1132,1010,1346,1814,1706,1488,837,449,414,368,349,399,416,407,387,356,372,343,381,462,458,615,756,986,1318,1504,1542,1634,1494,1816,1886,1076,913,924,1046,1176,1274,1118,869,1076,1378,1538,1570,1576,1472,984,879,1410,2038,1532,1166,1332,891,529,545,520,696,597,603,866,969,700,581,670,897,844,687,741,884,959,1002,1013,964,943,933,1030,1344,1408,1420,1004,1252,1732,1396,1356,1328,1330,1316,1254,1086,1058,1170,1488,1462,1360,1542,1516,1348,1394,1186,1252,1074,1224,1354,1050,822,837,935,967,961,1112,1232,1300,1456,1286,1070,966,1294,1606,1232,1050,1098,1184,1384,1802,1664,1350,1446,1338,1274,1088,1112,1272,1406,1084,670,590,692,1070,1284,1114,868,979,1266,1362,1278,1124,1300,1424,1050,991,1200,997,749,815,788,999,1300,1062,1112,1082,1021,1098,782,1015,979,528,503,600,713,545,820,1206,1178,1208,1438,1436,1300,1244,1100,1116,1378,1264,1023,1048,1080,1088,1036,931,1180,1620,1988,2030,1794,1530,922,721,974,1154,1250,988,700,339,366,352,313,442,1036,1030,809,1098,849,725,1116,1300,1324,999,1360,1288,782,649,542,625,1012,1210,971,927,947,924,525,401,572,1160,1376,1102,932,1442,2030,1708,1206,949,934,1312,1274,1538,1378,1532,1686,1188,791,1126,1132,668,476,454,502,562,479,383,324,403,698,1482,1332,901,1118,1192,1140,1000,853,750,774,973,937,654,568,545,536,504,638,1001,1472,1820,1496,987,745,606,821,989,584,392,524,865,1076,883,587,760,803,551,391,712,1200,1482,1854,1434,962,1284,1196,833,1072,1462,1678,1720,1724,1952,2146,1934,1390,1454,1274,874,1026,1464,1502,1282,1140,1102,969,933,1088,1030,789,795,1154,1178,846,716,792,1136,1172,598,781,1126,1246,972,998,1344,1262,993,842,828,946,886,1010,936,694,464,689,1104,1084,666,405,566,1504,2038,1212,548,810,739,714,1184,1156,1302,1440,1240,1108,1112,1256,1576,1506,1106,880,1030,966,1178,1240,1018,877,936,987,852,486,352,405,446,431,747,1320,1282,1076,733,586,677,698,735,853,904,666,623,1086,1396,1068,1248,1336,920,1023,1156,1068,1104,1010,670,704,885,734,384,328,381,401,342,326,893,1366,1060,886,1256,1470,912,661,1013,1250,940,579,469,557,713,1024,1396,976,730,987,769,730,645,489,420,460,446,437,400,336,335,345,418,477,524,476,604,686,796,485,489,882,860,686,698,648,543,485,445,398,416,899,944,604,577,830,1040,1110,1021,847,808,947,807,1114,1078,1122,1186,861,683,651,987,1494,1588,1582,1694,1444,936,1196,1042,685,1030,710,566,1160,1550,1556,1106,1007,1162,871,902,952,796,631,554,668,905,1084,1102,989,1038,1116,1300,1438,1010,670,500,429,387,439,409,709,1238,1206,766,762,899,939,1156,1376,1630,1976,1854,1794,1808,1376,928,653,735,1017,821,770,977,940,1132,1262,1286,1246,879,491,760,1616,1520,1238,1266,1192,1214,1042,1080,1044,1078,717,568,677,750,481,369,460,697,1246,2198,2662,2652,1578,1136,1058,1208,805,525,502,328,332,581,688,670,866,860,680,772,622,521,534,595,482,504,732,672,593,706,764,515,448,387,1110,2220,2420,2054,1144,644,644,653,495,393,357,530,606,1080,1114,1088,1382,1364,1328,1104,1064,1020,554,678,763,745,1032,1013,833,585,626,1040,947,418,480,1023,1256,1216,1354,1202,672,475,616,689,517,491,609,653,855,695,505,600,552,594,706,850,583,390,980,1216,644,368,514,765,1028,1248,1318,1308,1154,963,1346,1554,1258,1322,1194,974,1154,1238,749,605,884,1074,993,1110,1264,1298,1270,1160,1021,1092,1384,2006,2302,1842,1432,1582,1582,2242,2268,1566,1416,1228,1086,1172,998,1052,1090,954,1274,1862,1690,1540,1542,1604,1626,1620,1698,1434,951,906,919,831,871,1122,984,698,662,752,735,948,1002,855,780,709,632,624,697,800,1332,1088,1016,1007,1015,1126,1250,1350,1332,1412,1120,1692,2598,3320,3738,2354,1092,1118,1370,1288,1164,1028,1094,1274,1284,1088,1220,1130,746,502,608,484,1130,1764,2006,2206,1780,1376,1558,1688,1428,961,946,1748,2166,2250,1482,1122,1610,1636,1394,1154,1082,962,993,1290,1092,606,589,719,651,525,419,564,1134,1188,787,844,574,481,723,1182,1496,1482,1438,1522,1324,1342,1500,1600,1128,1166,1272,1100,1222,1370,1300,1312,1406,1296,1092,738,1042,1412,1306,973,1250,1040,1080,1290,1108,1202,1490,1678,1594,1666,1638,1366,1400,1658,1720,1768,1528,1174,1066,1160,1208,1134,1248,1408,1348,1420,1278,1362,1666,1640,1622,1342,1256,1396,1458,1368,1580,1468,1350,1468,1620,1444,1248,1456,1392,1716,1648,1110,893,1144,1558,1656,1304,1316,1086,1212,1382,1826,1612,1404,716,441,571,564,613,470,394,803,1082,1146,883,995,1542,1372,988,888,1134,1220,1018,825,871,1254,1122,1100,1116,995,1034,1124,1086,1162,1166,1178,1066,1116,1284,1070,973,891,1074,1376,1454,1328,1262,1320,1266,1172,1284,1638,1194,1290,1350,1120,1114,1254,1108,1180,1354,1424,1236,1216,1456,1098,1220,1302,1482,1220,896,1330,1426,1372,1422,1004,705,624,645,689,784,1066,1032,1128,1232,1172,843,803,1160,1384,1256,1160,977,675,1102,1578,1656,1390,879,1092,1094,592,581,656,520,458,392,354,390,727,1018,829,1026,1346,1190,1448,1408,1416,1268,783,903,725,564,529,460,736,773,713,762,719,500,430,439,500,775,1236,1252,1514,1200,1178,1450,1302,1023,1003,1007,896,888,985,972,1002,789,585,698,848,1220,931,996,1214,1308,1236,866,617,742,1076,1268,991,924,1023,941,1005,941,862,1042,1068,1172,1274,1158,1162,1268,1284,1010,1008,948,650,700,988,1184,1160,1248,1142,618,507,639,955,1130,764,568,612,630,684,723,729,754,905,902,727,539,475,491,546,538,581,738,728,688,944,1438,1748,1694,1666,1104,996,1042,1584,1684,1324,666,298,432,725,819,824,1240,1426,1378,1490,580,357,350,421,572,978,1012,911,1238,1080,829,1482,1874,1368,1300,1140,1032,1100,1224,1236,1126,1222,1394,1278,1318,1262,1114,740,604,576,558,602,648,1140,1436,1240,986,844,681,607,916,1246,1202,914,1078,1252,1200,1432,1980,1514,1038,985,1038,1356,1614,1354,1366,1448,1284,980,1026,1124,884,480,576,546,499,474,537,675,1322,2064,1512,1432,1716,1416,1242,1410,1210,1270,1076,880,871,1017,1304,1532,1474,843,677,894,827,648,925,1328,1066,937,946,1204,1598,1236,642,568,797,760,770,1178,1274,1224,1268,1112,887,806,763,633,975,1268,1546,1694,1498,1364,1038,940,975,871,1224,1444,1534,1023,831,625,708,1110,1198,726,619,695,643,772,1036,813,857,1334,1130,802,662,749,885,1164,1194,1024,1136,1154,1248,1484,1420,996,1306,1078,628,870,953,753,975,1526,1604,1288,1278,1214,974,942,1338,1496,2702,2854,1542,1018,703,743,1126,1378,1172,938,1194,1332,1290,1362,1032,893,1068,821,527,733,720,899,946,750,1302,1504,1434,1406,1118,940,702,455,626,888,1154,966,722,580,504,416,385,661,1178,1230,1114,1270,1398,1182,1212,1174,920,1192,1126,929,733,1168,1056,808,806,796,937,1168,1346,1316,1296,937,630,647,556,1042,1302,1005,972,1140,1034,1040,1418,1166,403,352,409,680,1206,1312,1108,960,867,1076,1324,1064,908,984,1038,1108,946,933,781,571,506,809,1172,1088,879,1108,1116,968,1806,1550,1430,1272,820,727,750,1034,1422,1238,1190,1510,1780,1732,1302,1240,1228,793,764,1144,1426,872,586,841,930,1006,622,560,631,806,1042,1194,1224,1038,717,1084,1394,1064,738,731,921,907,1100,1628,1352,1424,1528,1328,1450,1338,1078,1019,755,456,371,381,325,360,336],[883,1178,1170,870,760,760,726,500,359,357,389,440,532,590,712,1021,1166,1058,868,679,534,521,585,620,536,479,520,537,562,558,615,857,932,1190,1018,530,379,390,377,353,383,480,477,484,415,346,335,319,341,368,402,575,952,1176,1242,934,531,346,428,697,676,501,401,450,610,830,838,724,845,1142,1246,1310,1196,780,485,480,463,496,484,460,677,662,393,375,428,497,539,357,360,404,479,778,1152,1138,955,1024,871,669,588,666,767,619,474,824,984,983,1254,1486,842,400,440,362,381,702,1182,1160,982,1013,781,517,551,541,483,443,525,679,709,549,541,721,1130,1230,1158,990,1166,1334,1174,1076,1080,1112,1462,1628,1154,662,422,670,900,583,375,371,349,475,593,411,489,764,985,1252,1278,1438,1120,593,554,586,814,1242,1112,711,786,671,651,919,1180,1024,849,694,605,572,818,879,615,838,1272,1384,1108,877,1030,1218,795,458,402,422,502,512,461,513,770,993,1166,1182,1142,777,503,487,1114,1808,1972,1380,577,437,378,383,408,495,1284,2322,1432,645,813,894,946,1082,1250,1332,1080,2094,1534,1009,1408,1384,1368,1422,1256,1256,1100,568,410,450,448,438,402,370,401,370,423,536,547,761,874,841,1002,1058,969,1328,1186,1534,1240,1182,1048,926,995,998,1028,934,901,1136,1260,1480,1604,1604,1528,1394,1594,1828,1952,1490,1186,1248,889,533,579,812,1170,778,514,661,674,564,551,594,604,533,361,431,634,788,965,1400,1302,1080,957,940,1044,1304,1340,951,1024,1224,1152,1236,1274,1222,1204,978,846,1172,1324,1294,1248,1114,1324,1470,1368,1236,1142,1354,1118,1092,1202,1134,1318,1238,1026,1502,1770,1418,1202,1240,1352,1494,1334,1296,1812,2182,1594,1064,1294,1366,1328,1368,1484,1482,1504,1296,1230,1072,1064,1038,1138,805,413,464,818,1248,1304,1306,1154,742,631,744,869,1260,1554,1440,1332,1084,885,915,891,918,1102,1338,1312,1278,1192,924,1154,1362,982,1100,974,656,730,1038,1174,1052,1168,1114,1548,1678,1636,1484,1056,1060,1376,1346,1238,981,817,1082,1278,1198,960,1100,1466,1622,1794,1802,1742,1438,928,683,626,715,1138,1266,723,368,341,402,396,688,1482,1554,1222,847,661,757,1192,1508,1124,554,656,831,719,514,472,504,698,1048,1108,826,985,924,529,383,604,1188,1338,1009,782,807,1072,1454,1404,1186,749,1094,1406,1490,1286,1160,1250,948,683,925,1178,767,514,505,466,460,372,295,312,467,721,1320,1566,852,631,553,529,635,885,1146,1048,1102,1212,922,940,1270,1118,993,1070,1110,1514,1996,1732,1268,991,745,1268,1192,536,419,697,964,945,805,397,448,517,430,448,963,1382,1802,1658,943,1138,1588,1554,1460,1580,1642,1688,1794,1926,1936,1814,1528,1360,1524,1350,1096,1006,1136,1380,1130,969,786,698,658,765,1216,1398,1006,843,902,789,944,1148,1026,830,553,904,1240,1144,860,1088,1280,1032,835,996,1250,1294,1142,1132,1076,763,612,1019,1382,1150,728,632,1446,2234,2310,1458,616,638,610,765,927,868,880,819,911,1320,1328,1176,1288,1320,1282,1130,973,859,1048,1156,772,461,515,792,732,464,397,555,662,488,509,942,1392,1294,1180,1110,833,734,686,551,656,585,1028,1350,1294,1094,1202,1080,979,817,666,1066,1110,875,761,1278,1720,1144,518,404,368,421,422,471,796,875,844,1172,1576,1700,1344,1152,1442,1736,1230,730,753,865,766,1102,1726,897,772,1264,1204,1300,1252,722,419,413,427,379,367,439,408,402,399,373,537,539,444,443,404,524,483,469,815,832,622,729,728,634,697,576,497,744,675,675,796,651,657,861,999,1040,1094,872,515,520,466,568,621,917,995,748,526,614,962,1328,1572,1530,1160,1234,1490,1128,1246,972,764,1298,1366,771,426,558,987,617,498,796,828,590,848,1222,1204,1186,1062,1001,1108,1092,1338,1410,1048,684,428,412,414,403,385,430,595,794,1152,1220,792,699,862,1214,1500,1906,2036,2000,1432,771,722,537,439,530,641,964,1140,1362,1148,1240,1312,1302,1260,917,749,951,1168,1654,1644,1256,771,513,722,1232,1030,921,709,919,1264,1046,764,550,879,1220,2020,2240,1906,1272,1226,1316,1150,844,637,503,321,455,540,558,604,1038,749,480,479,481,600,669,738,642,582,597,471,410,504,574,356,332,548,1374,1952,1964,1848,1070,421,365,464,354,325,442,985,1124,950,956,1136,1200,1226,1278,913,1134,993,844,853,957,876,1042,804,691,587,446,794,958,462,519,1018,1234,1094,1302,1430,1106,536,460,681,771,660,451,442,713,446,354,539,482,583,1208,1412,695,311,430,587,424,359,532,584,642,695,1023,1316,1372,1144,843,595,968,1370,1068,785,966,1240,1350,932,666,846,733,1080,1368,1328,1202,977,1009,869,1114,1146,1544,1936,1594,1870,2086,2200,1650,1356,1382,1256,1166,1470,1260,1212,1140,1366,1710,1576,1380,1622,1686,1638,1748,1904,1744,1390,982,1032,1002,940,1142,1520,1094,614,843,916,852,940,867,814,839,665,686,623,636,1048,1304,1072,1000,854,912,979,1032,1050,1158,1056,1494,1634,1500,1718,1792,1434,1188,1282,1450,1410,1458,1320,1354,1292,1184,1222,1310,1238,773,529,602,505,957,1484,1456,1662,1192,764,1614,1748,1348,1028,2160,4572,4232,1534,1138,1500,1410,1284,1426,943,1240,1234,2470,2614,1128,528,793,1074,1004,677,568,857,1092,1000,687,912,682,529,905,1302,1476,1336,1592,1830,1400,1352,1282,1256,1208,1330,1386,1148,1098,1224,1334,1506,1542,1324,1262,1144,1324,1294,1234,1188,1224,1168,1240,1252,1226,1298,1500,1588,1584,1570,1604,1416,1202,1210,1208,1220,1124,1164,1338,1322,1250,1366,1368,1506,1330,1322,1312,1322,1584,1614,1260,1116,1354,1404,1244,1048,1446,1572,1504,1592,1722,1656,1460,1538,1638,1620,1288,873,896,1080,1188,1342,1190,1330,1072,1222,1188,1158,1490,1228,507,468,528,834,1078,662,471,863,1036,1138,913,1422,2260,2244,1692,1236,975,1070,1082,916,983,1218,1248,1232,1174,1180,1188,1034,937,890,937,1028,1212,1414,1500,1118,1074,1214,1196,1336,1448,1332,1516,1664,1230,1182,1372,1304,1104,1298,1202,1300,1456,1250,1028,1050,1172,1340,1422,1396,1438,1332,1532,1386,1418,1322,1394,1564,1544,1438,1328,1042,772,638,872,901,916,1134,1164,1076,1130,951,521,675,1174,1242,1010,921,842,1140,1632,1580,1566,1586,1522,1588,1418,962,476,453,455,407,361,332,348,481,659,673,773,1074,1432,1784,1736,1360,1196,886,1021,905,532,408,394,634,755,657,919,922,620,509,403,438,604,1172,1584,1480,1230,1172,1090,813,816,1058,1186,1144,1098,1021,768,928,826,625,938,1078,1100,1074,1322,1618,1440,940,543,439,436,866,1034,1188,1102,1002,915,1068,1116,949,941,1088,1322,1274,1276,1188,1208,1148,912,937,819,852,971,1034,1082,1230,1324,1300,896,760,716,862,818,615,556,447,504,650,684,645,731,1196,1288,1018,776,537,453,492,559,602,673,740,760,797,974,1300,1350,1610,1610,1212,1076,1384,1150,1200,1186,616,483,984,1011,653,689,1244,1504,914,373,383,457,540,863,1238,1036,1154,919,857,629,824,1038,1470,1500,1186,1050,1010,811,925,1368,1520,1490,1538,1268,974,967,800,659,577,528,574,616,926,1248,1092,809,813,785,664,1078,1294,1292,1426,1676,1700,1486,1852,1764,1100,1340,1408,1194,1254,1628,1404,1436,1434,1090,703,641,1078,1216,791,504,412,501,858,625,574,1180,1440,1242,1904,2186,1268,1100,1178,1518,1450,1210,1186,1108,1282,1244,1310,1050,505,558,1064,1250,1026,839,1068,1052,1348,998,959,1262,1336,1286,1266,1360,948,639,866,790,781,708,637,623,730,811,573,753,1094,1258,1228,1290,1226,1106,1130,952,802,1036,1114,940,683,629,694,781,986,1116,824,713,558,794,1132,1152,1160,772,583,779,803,860,955,1168,1350,1562,1490,1332,968,1158,1021,1066,1302,1532,1100,613,706,736,680,912,948,947,797,897,1206,1296,1140,1182,1600,2414,2154,986,774,1022,877,871,1286,1318,1044,1148,1158,1218,1146,847,972,1072,942,756,988,767,751,608,683,1246,1720,1592,987,797,1138,904,406,540,813,752,520,409,428,349,263,300,788,1216,1274,1388,1736,1584,1440,1282,1162,1146,1106,1246,1212,1110,1188,985,814,654,401,652,1210,1556,1398,786,454,721,905,648,944,1088,978,1334,1288,949,1082,1388,1682,1096,760,844,1202,1128,857,877,813,752,1188,1226,1146,1226,1044,1058,1290,1256,908,763,642,651,673,730,845,1240,1736,1708,1360,1572,1582,1604,1526,1286,1128,805,1026,1372,1188,1388,1542,1638,1560,1604,1520,1001,706,735,1104,1380,907,755,1030,1320,1438,1018,693,499,421,693,998,1358,1320,1036,842,1005,1112,860,819,800,803,1438,1820,1366,1094,1114,1324,1376,1322,1052,706,423,369,365,353,348,369,336],[1418,1992,1566,1044,755,670,703,594,416,362,401,459,630,890,1070,998,785,538,470,471,514,553,571,580,531,447,496,518,574,586,595,690,707,959,1040,687,435,451,435,484,524,816,720,476,369,285,301,328,367,388,349,460,658,925,1290,977,524,433,469,849,808,540,474,440,401,454,629,955,1262,1376,1010,940,816,533,336,318,356,385,436,460,475,476,371,391,437,459,437,407,414,504,779,969,998,834,1052,1370,913,1136,885,838,877,673,405,347,475,683,893,889,512,334,297,390,766,1192,1290,1130,783,1094,847,427,440,666,875,672,1062,1006,638,587,578,756,1198,1394,1178,1302,1438,1148,684,745,1068,787,1042,1442,875,547,613,1030,1324,818,410,434,645,1116,1262,625,703,978,972,1100,1672,2384,1708,627,564,491,492,663,766,944,1146,985,899,1128,1294,1096,965,1088,1098,1044,915,905,575,757,907,1048,997,811,907,908,651,465,437,469,507,502,437,414,377,433,502,535,841,877,797,993,1306,1708,1604,1074,694,630,508,468,468,499,1276,2192,1416,630,927,1028,937,944,1124,898,869,3804,2198,1076,1210,1498,1628,1538,1780,2194,1792,755,451,436,440,436,387,376,416,415,472,548,595,685,587,503,475,794,930,881,1176,1382,1152,1288,1064,1232,1510,1050,677,645,580,712,1118,1408,1420,1102,1124,1240,1438,1378,1278,1174,1250,1264,1108,644,683,982,951,593,447,531,539,484,514,602,540,368,278,315,473,727,1072,1488,1548,1282,1002,1032,1220,1352,1366,1122,833,750,807,1076,1378,1078,1003,965,1028,1320,1346,1264,1216,1084,1196,1488,1324,1250,1236,1284,1070,891,1070,1180,1470,1338,1198,1674,1710,1298,1058,1314,1420,1774,1548,1298,1372,1902,2014,1316,1262,1250,1306,1300,1372,1306,1198,1110,1182,1198,1240,1236,1102,732,409,374,401,411,952,1406,1312,706,547,493,532,964,1288,1260,1272,1430,1334,1218,1098,1102,925,1126,883,888,1086,955,1520,1694,1034,1572,1754,1144,1013,807,820,926,876,1020,1406,1394,1272,1042,928,1378,2128,1736,1176,872,536,673,867,1019,1138,1368,1736,1896,1792,1576,1376,1362,971,710,693,558,844,875,552,468,418,317,391,944,1498,1574,1320,1156,1230,845,941,1178,733,639,1104,1028,732,512,466,478,602,683,916,864,790,757,571,427,478,806,1270,1172,1216,921,1068,1222,1334,1332,792,875,1300,1300,1174,1396,1182,661,905,1204,1266,877,533,477,433,368,445,698,853,896,1046,1156,1620,843,728,422,332,677,926,1148,1074,1130,1230,1054,1090,1116,1064,1306,1216,1332,1582,1766,1588,1534,1356,989,852,633,584,518,678,745,816,680,433,721,708,550,948,1372,1782,2036,1462,1214,1592,1610,1350,1242,1130,1198,1522,1860,1900,1828,1850,1666,1536,1514,1420,1408,1158,1312,1682,1236,1122,915,562,510,659,1082,1278,946,846,935,905,825,938,1328,1230,993,1118,1286,1106,1144,1354,1272,1006,843,1070,1290,1284,1274,1288,1344,1238,887,915,1126,1250,1190,1284,2228,2316,1724,1350,997,848,1046,1048,869,880,592,470,897,1278,1274,1144,865,880,1176,1316,1390,1246,1034,991,680,417,474,830,623,561,569,571,633,538,415,858,1120,951,1310,1062,681,957,914,836,691,756,1322,1564,1344,1144,1134,967,1184,1274,1116,1130,722,548,623,1058,1050,656,630,607,429,455,460,474,593,523,585,846,927,966,1014,954,928,913,701,480,640,760,717,735,1001,706,904,1140,1484,1858,1600,796,455,627,653,472,462,642,682,652,591,565,483,457,561,571,772,1070,619,571,913,797,782,606,628,613,703,711,536,471,459,473,652,829,767,787,640,751,962,1252,1058,1032,955,570,347,348,383,515,458,523,427,731,1104,1016,1013,1832,2146,1410,1014,933,1046,1272,1192,929,576,598,1138,690,662,1172,1584,1110,993,1244,1220,1224,1294,1256,1252,1116,1250,1066,1256,1300,761,442,424,394,434,559,530,600,1134,1538,1234,834,675,704,1005,1190,1476,1598,1130,616,781,802,813,507,567,1128,1616,1628,1070,776,949,1218,1296,1242,1152,626,673,1316,1256,722,469,348,597,798,946,999,698,802,1040,1040,796,686,888,983,1666,1938,1608,1136,1140,1236,1110,943,944,999,691,728,601,462,700,1094,666,417,396,472,447,580,829,767,444,479,471,526,676,682,756,867,744,987,1232,1362,1444,638,349,377,343,295,289,341,634,684,789,1044,996,1102,1348,1176,860,1226,940,789,803,920,788,682,500,365,459,725,1009,925,507,553,970,836,651,840,1116,896,523,610,649,863,895,667,482,691,560,648,901,688,416,927,1044,396,343,474,507,471,427,447,407,725,572,583,951,1188,1322,1108,784,952,1228,1370,1172,1306,1360,1440,941,613,580,880,1306,1388,1230,1128,1164,1152,1058,1224,1068,1118,1696,1898,1700,1776,1960,1604,1432,1370,1096,1076,1246,1210,1334,1464,2706,3386,2844,2424,2040,1714,1638,1676,2104,1778,1224,1002,943,852,956,1264,1470,952,532,709,833,916,874,741,739,799,637,588,689,673,1162,1322,962,1082,1016,938,904,872,830,1184,1146,2746,2958,2568,2756,1964,1016,1182,1526,1598,1420,1466,1556,1704,1498,1630,1394,1434,1614,963,561,616,533,1054,1462,1490,1762,1288,921,1450,1460,1186,1244,2474,4804,4052,1266,1230,1578,1190,877,1064,948,1522,1238,1426,1310,737,480,536,651,751,562,620,1036,759,516,551,784,650,511,810,975,1234,1392,1380,1352,1178,1230,1188,1340,1296,1220,1268,1132,1058,1194,1354,1362,1310,1112,1142,1268,1286,1186,1064,1122,1236,1256,1458,1428,1202,1144,1428,1294,1328,1438,1646,1500,1152,1050,977,1026,1112,1228,1438,1372,1272,1310,1238,1182,1448,1558,1368,1304,1450,1476,1188,1088,1180,1078,1176,1286,1298,1356,1460,1466,1536,1640,1596,1738,1776,1588,1512,1338,1256,1318,1344,1262,1204,1308,966,747,995,1316,1464,1024,633,816,611,649,665,493,515,839,944,996,955,892,1172,1332,1628,1394,1016,1015,962,1050,1154,1060,1098,1062,1070,1478,1420,1009,990,1074,1228,1254,1468,1630,1662,1448,1220,1146,1268,1428,1314,948,1162,1670,1260,1156,1148,1242,1250,1202,1248,1620,1542,1500,1710,1046,1140,1248,1544,1480,1296,1376,1578,1600,1400,1282,1188,1300,1444,1374,1564,1272,973,908,889,977,1100,1066,1208,1410,1316,838,637,969,1176,1040,876,830,601,776,1216,1382,1322,1330,1454,1262,1272,1222,531,444,459,437,424,397,376,582,771,770,701,971,1336,1108,960,1154,1016,829,851,893,913,646,444,600,698,604,622,896,755,596,489,490,821,1368,1644,1330,1226,1250,1130,971,973,1142,1158,1248,1144,889,841,1064,1094,1078,1048,822,910,1140,1314,1470,1158,617,535,1134,1258,1224,1144,1198,1220,1230,1178,1088,1120,1158,1138,1082,1176,988,1136,1178,1232,995,884,1056,1126,1274,1190,1174,1168,1304,1324,1324,1226,1208,1062,838,687,662,703,703,773,854,952,1104,1016,1346,1398,1354,1040,769,571,489,540,498,524,645,659,606,766,895,961,1122,1544,1528,1326,1036,1132,1762,2050,1282,755,642,373,366,407,558,1098,911,440,310,411,517,846,1132,1306,1276,714,539,472,464,837,1114,1050,1010,1112,1050,550,1186,2248,1908,1664,1636,1152,1034,927,778,979,827,507,521,649,1040,1188,787,592,654,631,916,1338,1278,1294,1614,1770,1582,1376,1538,1202,1198,1106,1398,1372,1432,1604,1560,1420,1378,1530,1140,634,943,1166,1128,619,354,405,572,593,832,1142,1112,1372,2094,2088,1278,1176,1266,1582,1544,1226,1172,1102,1174,1076,694,553,625,700,1086,1118,890,463,532,825,1200,927,1200,1492,1482,1588,1692,1738,1238,1276,1030,524,567,629,678,552,515,531,432,539,926,1080,1074,1252,1208,882,631,477,504,621,550,520,517,496,735,1007,1038,1244,1144,927,810,678,733,930,835,697,1072,1034,736,731,833,1078,1134,1320,960,538,404,658,786,1138,1478,1322,876,874,1044,952,882,1046,1021,1332,1100,1242,1586,1610,1364,1384,1638,1376,1286,919,892,1186,1144,1172,968,902,1066,1012,958,1166,1218,1050,1378,1566,1136,976,782,1007,854,691,1234,1702,1798,1396,957,958,984,634,390,669,698,525,466,471,526,405,337,360,506,783,785,783,1186,1390,1312,1056,1074,878,830,992,957,1086,1294,1060,919,659,583,988,1360,1604,1302,775,743,754,699,705,692,678,668,1124,1484,1364,1338,1256,1700,1614,1130,1296,1336,692,597,948,976,1048,1282,1070,1014,1150,1038,1082,1308,1194,825,665,658,713,542,569,650,1252,1266,1356,1596,1366,1338,1470,1422,1470,1480,1120,1214,1622,1472,1444,1456,1452,1348,1400,1366,1072,896,1009,1120,1328,875,838,1106,1426,1650,1492,991,612,469,465,933,1490,1412,950,639,833,755,601,585,959,1066,1394,1738,1858,1594,1112,1180,1420,1308,957,591,413,351,274,367,576,612,468],[1180,1298,1050,869,821,728,760,713,672,692,796,1082,1120,902,623,479,487,445,392,420,482,495,527,547,546,444,518,544,584,584,565,622,716,907,1072,810,479,569,522,691,532,810,821,548,360,274,331,333,362,437,412,451,557,1002,1272,1244,811,739,666,917,869,600,653,529,401,386,585,809,793,623,457,451,415,259,243,305,325,319,314,310,376,440,380,379,376,397,459,521,472,758,1062,670,536,701,903,1154,1312,1350,872,662,647,772,848,667,659,745,861,839,389,299,402,767,1228,1078,982,753,467,568,482,343,362,708,830,683,1278,1438,914,648,609,732,1146,1188,1098,1432,1220,805,495,453,758,749,982,1440,1344,995,875,1232,1128,791,659,551,739,1422,1518,1048,1214,1318,1086,1072,1218,1230,770,456,493,469,472,631,918,1152,1046,1072,1116,943,808,932,1268,1310,1146,1172,1180,1260,968,1202,894,922,849,535,527,538,497,431,442,464,459,466,439,405,299,354,396,455,820,1112,1390,1572,974,804,789,1146,1010,606,542,506,501,509,999,1792,1710,1023,826,984,836,610,801,959,857,1516,1598,1444,1404,1482,1470,1478,1240,1390,1318,886,566,491,478,464,428,424,461,483,483,446,451,584,401,368,414,810,1094,907,1206,1104,906,978,785,1128,1356,1160,634,532,423,658,1018,1128,1030,777,512,561,897,1150,1258,1410,1672,1362,1434,966,927,962,658,395,409,451,483,408,469,543,586,391,309,382,415,764,1242,1280,1198,1122,1044,1194,1300,1440,1468,1170,809,965,1078,1160,1340,1268,1168,1204,1270,1270,1310,1212,1256,1222,885,1172,1224,1328,939,802,839,873,1170,1152,1212,1222,1354,1694,1354,980,1166,1678,1510,1212,1146,1070,1138,1284,1466,1196,1072,1174,1216,1004,884,1076,1426,1482,1296,1256,1254,1044,583,389,357,356,386,551,1252,1354,912,682,657,558,648,882,893,661,817,912,1074,1108,792,1012,1140,1088,812,938,1286,1134,1710,1766,1198,1066,1158,1248,1074,519,611,704,644,1009,1344,1284,1046,802,648,788,1214,1136,1028,864,952,1012,630,700,1110,1368,1476,1468,1698,1572,1466,1628,1404,1088,985,913,760,493,436,383,373,305,589,1748,1784,1594,1158,1434,1476,1124,1202,1046,582,835,1192,812,631,426,443,518,463,425,530,495,472,582,590,477,510,905,1354,1076,1398,1050,1050,1013,968,1232,1478,1262,1106,780,836,1082,775,592,1120,1250,1230,1034,634,436,370,307,556,1234,1520,1136,890,907,1362,817,1034,984,912,1124,1238,1158,902,821,1044,1228,1170,1080,951,1018,1402,1566,1454,1228,1216,1260,908,881,900,611,676,596,505,587,647,548,721,1070,761,817,1268,1634,2134,2134,1682,1566,1632,1522,1150,981,843,1118,1692,2016,1888,1924,1872,1670,1692,1782,1506,1874,1882,1428,1408,1288,1252,1202,779,567,623,716,682,728,783,853,865,758,1054,1408,1256,1028,1210,1424,1364,1198,1038,935,901,929,1156,1228,1194,1390,1394,1334,1406,1322,1464,1082,1178,1258,1352,1832,1948,1360,1012,1023,1080,1210,976,758,883,813,803,1410,1532,1238,980,941,1036,1198,1232,1192,1188,977,708,526,302,271,228,396,543,633,517,413,439,520,901,966,752,987,1080,694,986,938,806,857,1030,1404,1516,1154,929,1412,1336,1404,1202,847,901,840,753,574,365,255,626,971,667,664,655,692,1120,1136,951,890,1100,1116,836,702,796,702,605,695,824,944,869,958,743,604,667,879,857,1200,1872,1666,932,828,1152,720,650,619,740,963,976,838,781,756,762,722,835,1128,1604,944,830,1015,630,432,402,412,473,536,589,528,441,490,542,706,958,970,871,586,600,547,999,1498,1596,1334,805,332,339,341,368,498,998,772,873,1090,1398,2092,2276,1552,1023,1001,1498,1434,1064,1048,830,630,864,1208,1080,898,1130,1480,1218,956,1120,1332,1228,1224,1392,1326,1062,989,1198,1550,1544,1176,760,452,501,698,793,691,537,581,1030,1434,1094,572,566,725,834,827,859,945,780,900,1348,1510,987,641,950,1328,1020,730,579,553,788,1234,1492,1208,765,690,753,686,528,854,1230,1296,1134,1146,936,846,647,646,638,458,738,685,595,966,1094,931,907,955,889,902,868,980,956,767,667,571,545,1170,1068,487,633,726,763,723,631,762,1120,728,394,279,401,458,571,1082,1016,705,957,1112,1036,1020,800,604,532,560,647,601,469,538,681,788,902,863,921,863,604,1184,1196,886,990,1130,1164,993,618,410,461,550,705,683,526,418,736,751,421,577,704,510,442,399,526,636,802,1280,1098,634,668,658,863,883,576,354,441,527,397,394,487,489,510,576,553,470,658,757,732,748,913,1024,1240,1252,977,852,932,735,860,1116,937,706,685,848,1252,1248,988,966,1162,1418,1172,1082,1170,1118,985,948,1432,2006,1910,1556,1444,1594,1494,1756,2076,1880,1472,1260,1878,3430,4124,4068,3914,3508,3142,2054,1656,1864,1606,1156,1056,1110,1050,964,1268,1368,818,582,761,749,793,724,761,890,778,641,610,630,792,1234,1216,1032,1294,1318,1166,1170,1032,1148,1350,2456,4092,3994,4268,4124,2246,796,1270,1618,1674,1446,1364,1572,1548,1334,1276,1506,1874,1838,914,568,580,479,1174,1580,1730,1622,1560,1596,1442,1082,930,1134,1448,1892,1362,873,1146,1028,934,1584,1736,1019,860,936,1316,1028,483,488,434,434,488,493,648,983,779,605,668,814,677,448,693,943,1310,1244,1236,1218,1112,1060,1180,1556,1438,1116,1032,1070,1164,1278,1560,1556,1222,1134,1136,999,991,1246,1388,1262,1090,1260,1560,1460,1456,905,879,1130,1278,1368,1628,1646,1620,1500,1028,1058,1220,1236,1726,1712,1482,1202,1104,1210,1456,1470,1362,1272,1310,1474,1414,1268,1256,1288,1140,1504,1446,1296,1360,1272,1234,1212,1242,1476,1520,1560,1536,1522,1466,1446,1432,1398,1228,1214,1004,766,1094,1302,1212,1260,1322,1462,1078,654,398,313,508,852,946,1002,1018,1184,2196,2448,1878,1372,1092,952,876,907,1380,1468,1106,821,1040,1344,1136,1021,997,1122,1296,1204,927,1122,1412,1500,1482,1310,1396,1470,1304,1052,1011,1132,1210,1180,1236,1440,1388,1304,1394,1194,1080,1504,1786,1234,1154,1304,1592,1496,1200,1326,1434,1478,1556,1208,1062,1294,1516,1390,1406,1230,1214,1372,1306,1084,954,1136,1480,1432,1152,816,807,858,543,689,1032,894,715,564,692,1084,1028,1002,1176,1332,1622,1596,813,459,417,447,421,588,729,767,734,741,699,833,1110,930,845,943,823,636,565,1060,1360,997,798,684,839,846,541,809,995,747,620,716,1048,1478,1396,1110,1128,990,1122,1140,1076,1108,1302,1356,957,901,886,822,1284,1542,1088,967,1310,1256,1224,1208,1230,728,739,1812,1692,1130,1166,1136,1158,1210,1254,1218,1166,1144,1138,1106,1138,1042,1156,1242,1338,1046,1124,1234,774,630,732,924,1003,1410,1462,1350,1248,1230,1172,965,789,828,1266,1366,1258,1160,979,1248,1150,1368,1616,1322,890,837,688,599,508,440,541,689,656,514,619,703,842,879,615,700,994,1254,1522,1312,1598,1180,896,633,463,385,460,784,1120,1060,880,491,444,560,890,1100,1058,856,1032,818,580,676,899,957,927,890,889,911,971,1412,1620,1688,1660,1514,1426,1316,875,806,1104,1660,1608,1076,791,975,861,665,623,568,549,892,1078,1070,1214,1378,1656,1614,1390,1386,1218,1286,1102,1076,1062,1328,1614,1636,1484,1372,1478,1256,888,899,1080,1134,879,554,383,383,553,1094,1208,1316,1188,1388,1484,1314,1562,1554,1302,1366,1298,1226,1184,1262,1292,1015,794,954,998,785,929,943,732,602,871,1086,926,1334,1526,1350,1278,1264,1108,846,1600,1426,651,447,689,981,788,600,561,565,694,1030,1234,1220,1116,1268,891,519,487,613,573,443,458,440,477,991,1232,1034,912,905,1044,847,703,725,733,883,1492,1592,868,703,888,1194,879,594,878,953,753,667,809,1220,1238,1438,1582,1366,1128,1196,1278,1462,1422,1514,1630,1620,1640,1158,1188,1014,1160,1338,1154,1546,1396,1160,1500,1536,1566,1208,817,1036,1023,699,880,616,688,1368,1714,1538,999,620,1040,991,910,1576,1964,1510,1078,976,745,503,540,579,891,703,559,526,487,402,330,314,254,267,354,385,417,497,885,1142,857,768,1005,1054,926,1010,1162,1412,1296,1130,1248,1216,1166,1166,1306,985,812,963,921,777,730,634,788,996,954,1638,1918,1466,1372,1646,1646,1524,1490,1388,885,1110,1246,1108,995,1186,1152,1320,1448,1184,1140,1122,711,544,600,562,574,634,713,994,1260,1244,1370,1354,1300,1284,1356,1396,1536,1578,1728,1728,1742,1276,1104,1312,1522,1390,999,836,919,945,1006,723,1216,1102,974,781,964,1416,1552,1444,1170,899,841,808,1140,1414,866,874,1038,751,766,1248,1534,1232,1194,1438,1918,1512,955,1218,1330,1178,812,607,485,363,306,425,695,806,471],[868,1188,1188,969,802,700,763,825,1122,1204,1116,817,495,335,327,356,459,493,381,378,455,518,529,535,546,467,499,524,541,524,539,664,712,865,1138,1060,1266,1426,664,627,616,696,647,529,412,432,583,449,464,422,437,522,659,1182,1328,1196,927,1226,1236,1088,952,673,678,561,550,553,493,386,371,453,735,977,643,336,289,277,239,221,239,341,376,376,366,368,354,382,462,506,458,622,777,426,357,409,496,948,1748,1372,695,551,480,654,960,792,920,1030,1060,1026,698,529,878,1436,1392,1156,1060,552,281,258,276,344,318,392,444,429,825,1376,1328,800,538,750,1015,837,804,1078,893,476,516,460,602,932,1214,1394,1484,1256,1244,1492,1252,1212,987,720,683,1018,1190,1284,1270,1074,927,750,549,453,400,467,490,547,533,932,1246,1005,678,547,561,508,568,889,1108,885,760,1040,1598,1630,1136,843,746,997,882,753,882,735,489,607,675,670,471,400,447,409,323,309,314,335,445,828,1278,1166,548,588,819,1278,948,539,475,445,498,559,905,2012,2188,1306,916,1652,1222,685,685,1140,1118,977,1266,1328,1346,1374,1462,1382,913,1122,1644,1126,585,538,539,493,434,409,419,513,657,792,951,980,671,573,414,965,1372,966,867,748,620,667,863,1338,1184,1062,626,458,508,1008,1001,579,518,457,458,469,591,948,1122,1532,1698,1646,1610,1228,1234,1294,996,468,661,717,614,523,561,553,475,348,440,606,628,836,1064,1298,1310,1032,1152,1268,1384,1434,1476,1050,1086,1512,1544,1296,1140,1164,1028,850,1002,976,1206,1174,1238,1506,1080,1084,1362,1404,1256,1040,993,1040,948,1074,1086,1296,1446,1578,1206,1210,1166,1196,1054,977,1108,1058,1172,1192,1218,1268,1206,944,811,803,821,1064,1440,1376,1284,1238,1154,702,411,361,331,390,436,651,1106,965,692,843,1021,882,661,814,893,874,750,743,1112,795,403,724,1340,1480,1270,1328,1498,1656,1962,2048,1968,1380,1164,1256,857,430,389,454,730,987,1082,885,687,800,513,538,1072,1250,974,608,848,1142,744,694,1088,1238,1356,1240,1282,1240,1500,1624,1506,1240,992,1064,888,407,392,315,387,469,954,1780,2082,2070,1546,1360,1114,1200,1582,1296,1058,815,780,641,800,638,537,520,423,440,505,444,410,426,507,501,536,875,1182,1044,1288,1296,1254,1178,1484,2352,2388,1348,971,636,449,320,375,757,1160,1298,1480,1252,759,502,487,319,397,620,1178,1176,833,715,880,959,1015,907,966,1116,1034,1152,984,1122,1472,1542,1192,937,1030,1040,1248,1242,1084,1018,1170,952,852,1228,1248,876,752,715,580,409,461,703,1086,999,862,1200,1490,1974,1986,1926,1764,1702,1774,1710,1592,1138,760,852,1188,1500,1650,1794,1892,1744,1642,1616,1330,1748,1974,1402,1172,1226,1262,1162,1080,935,862,868,944,1054,858,691,670,718,1042,1378,1242,1216,1484,1332,1344,1234,1326,1256,1116,1160,1310,1390,1472,1426,1212,1108,1064,1434,1632,1176,1032,1168,1338,1320,1262,1046,768,799,1017,1144,1054,1462,1354,1210,1082,1340,1490,1256,1118,1118,1146,1288,1178,893,658,415,397,414,330,301,317,430,411,289,270,437,600,899,899,728,459,478,583,483,805,816,727,999,1406,1496,1612,1274,942,1454,1652,1460,1186,968,713,694,567,302,286,316,430,474,429,493,449,463,610,747,862,720,611,782,1080,1064,1086,586,474,625,857,977,1042,1122,1158,1250,1160,1036,988,997,898,957,1278,1048,1108,802,919,762,662,1070,1154,821,1005,1616,1782,1374,1208,993,1038,877,1228,1800,1736,1106,630,473,427,435,528,578,611,693,595,658,840,917,821,665,523,421,528,712,890,1228,915,364,377,367,430,397,725,1136,1410,1286,1456,1696,1162,761,1064,1178,1394,956,698,677,502,723,1176,1140,1092,1110,1058,1076,1264,1368,1350,922,891,1168,1414,1396,1418,1760,1626,1078,1054,1430,1284,739,697,851,850,803,608,474,522,810,704,511,667,764,738,656,912,871,709,1096,1808,1894,1314,881,844,632,658,708,619,583,729,1056,1450,1312,1062,877,1082,1026,886,930,1006,1302,1228,1302,746,445,361,358,416,410,460,424,513,663,608,592,641,647,847,1009,683,576,485,487,514,402,477,717,637,449,471,592,659,546,359,667,908,623,406,285,255,229,628,1410,962,572,557,493,666,1026,935,636,511,420,511,615,583,675,694,694,858,791,662,698,874,1194,1110,779,554,379,742,1072,735,468,513,977,1268,785,427,531,849,632,350,634,835,565,292,212,275,538,1220,1814,1054,476,376,375,456,367,344,318,305,357,534,592,587,530,696,920,794,604,595,624,576,891,1152,657,785,1260,1322,1184,838,495,568,701,551,536,810,1188,1186,1190,973,959,1366,1416,1058,1238,1620,1382,891,644,1012,1500,1948,1588,1376,1512,1490,2146,2612,2512,2160,1886,2352,3620,3842,3984,4046,4116,3716,1966,1484,1692,1528,1312,1240,1172,1050,1042,1334,1242,718,679,804,716,633,610,865,1042,742,579,631,721,821,1344,1040,1080,1344,1300,1196,1184,1130,1478,1594,2226,3112,3522,4360,4276,1830,765,1510,1710,1548,1246,1256,1312,1396,1324,1412,2126,1914,1654,834,564,555,539,1126,1426,1394,1288,1636,1660,1172,821,807,844,927,765,722,984,1023,1004,919,1360,1380,987,869,1023,1582,979,427,443,433,437,502,622,638,741,1002,852,673,719,568,596,894,1104,1366,1200,1246,1426,1360,1176,1328,1508,1246,1150,1014,1016,1278,1064,1216,1384,1260,1216,1194,1342,1612,1444,1462,1222,1302,1324,1322,1272,1246,794,943,1280,1208,1318,1600,1758,1642,1466,1334,1220,1428,1412,1570,1560,1570,1472,1256,1198,1338,1344,1198,1130,1222,1440,1316,1228,1312,1234,1118,1330,1334,1296,1322,1302,1208,1238,1338,1382,1342,1222,1304,1384,1400,1390,1512,1588,1464,1442,1400,1390,1500,1572,1262,1384,1570,1404,1412,1056,506,424,609,910,1112,1354,1578,2062,2676,2470,1718,1212,1058,1404,1338,1116,1194,1276,1080,755,838,955,1082,1152,1052,1168,1310,1160,776,786,1166,1398,1470,1408,1392,1332,1332,1710,1432,1176,1196,1142,1404,1616,1310,1254,1472,1200,943,1032,1070,1098,1084,1172,1488,1382,1312,1066,518,1164,1838,1302,1456,1664,1616,1210,1114,1446,1728,1814,1380,1180,1406,1556,1300,852,724,900,702,560,653,960,1144,1074,1048,957,1021,1092,780,651,836,1284,1656,1468,815,495,520,580,764,1286,1506,1260,863,578,499,683,926,927,666,586,879,792,548,907,1094,973,1080,832,993,1126,641,634,938,933,1054,1242,1188,1194,1072,940,1040,940,1012,923,1060,1218,1450,1450,1320,1418,1220,942,1366,1454,1082,1316,1404,1454,1110,890,1074,1040,1118,1556,1382,1190,1274,1268,1222,1216,1322,1268,1228,1092,1090,1208,1152,1136,1104,1302,1390,1176,1376,1096,904,1116,1156,1152,1108,1962,2044,1626,1558,1454,1350,1152,958,667,1116,1300,1208,1186,1212,1198,1236,1532,1398,866,739,747,619,564,467,518,594,681,582,482,547,572,629,568,333,356,477,962,1844,1564,957,836,661,752,706,407,658,1256,1106,1001,924,1044,841,905,1288,1344,1220,992,957,799,554,529,743,1104,1116,878,773,611,1328,1580,1476,1520,1440,1322,1406,1378,1306,1164,1023,1476,1948,2030,1526,979,557,503,501,587,1094,1526,1310,1164,1124,990,1288,1440,1478,1494,1338,1208,1238,1184,1094,1070,1272,1402,1370,1292,987,1062,1206,1074,1054,827,836,771,510,543,763,969,724,974,1058,1174,1158,1088,1274,1676,1510,1092,1038,1146,1222,1378,1482,1260,1108,1112,1056,586,1036,1144,832,688,552,426,719,1186,1160,1374,1340,1282,1132,721,880,831,552,465,730,998,1060,1452,1228,786,889,1250,1720,1610,1400,1390,1144,702,601,796,664,435,496,469,450,839,843,711,574,799,1094,1082,865,550,745,1038,1472,1050,542,541,771,775,541,784,1266,890,626,1078,1406,1284,1318,1546,1858,1556,1492,1410,1232,1080,808,980,1168,1080,1016,619,480,421,528,661,789,1504,1418,1220,1382,1206,1316,1826,1722,1318,979,583,923,778,1084,1450,1576,1586,1102,764,633,854,1480,1870,1720,1136,1188,1128,790,521,864,1132,846,633,538,809,992,644,327,275,262,335,379,387,353,365,389,567,593,713,1170,1398,952,944,1236,1278,1194,1300,1520,1428,1208,1244,1296,1252,1003,874,1052,764,844,874,916,1172,1620,2062,1662,1182,1222,1258,1258,1532,1102,1236,1084,1310,1118,912,739,1050,1350,1460,1366,1422,1186,880,744,497,501,503,506,519,911,1300,1238,1176,1216,1258,1536,1726,1462,1406,1298,1544,1820,1260,893,956,1005,1138,1470,1622,1152,584,527,636,1156,1016,1408,1452,1056,1076,1136,846,953,1032,935,1350,1600,1202,688,582,416,586,815,742,778,1322,1600,1126,940,1102,1224,1010,984,774,757,1006,797,466,453,412,393,464,733,897,542],[2052,2412,1434,1206,908,921,1134,1384,1642,2526,1570,397,441,371,357,336,412,524,426,442,511,560,540,539,572,546,461,429,481,467,497,591,506,606,1136,1422,1656,1162,604,624,669,685,606,459,398,621,1054,869,650,487,487,462,594,990,1136,855,683,957,1058,973,941,514,571,643,586,471,435,479,486,667,1602,2108,1238,839,524,402,296,274,285,319,338,311,329,340,324,346,431,541,447,442,415,427,412,473,469,749,1122,1016,698,543,433,433,630,741,1118,1458,1340,1242,1098,1166,1406,1322,978,788,683,473,294,267,255,271,287,383,434,415,483,911,1376,1300,985,825,866,788,817,1164,1092,776,825,725,612,948,1182,1072,1106,1388,1708,1648,1084,1158,1268,1026,703,626,1010,1440,1366,1042,844,834,790,487,396,456,457,509,703,1132,1042,946,1054,558,513,609,1014,1186,1028,708,512,631,868,908,766,530,724,1064,871,722,858,792,500,672,919,940,566,403,426,427,339,360,364,320,297,558,639,513,522,604,525,461,434,434,430,426,483,597,827,1538,1296,1092,991,1202,1126,973,1014,1222,1078,904,897,849,877,1222,1648,1330,1058,1356,1584,1001,466,453,518,639,721,756,781,934,1060,1098,792,825,959,759,702,982,1003,848,735,555,594,1082,916,951,1034,1034,656,395,581,864,659,361,360,445,496,525,674,802,757,755,957,1294,1178,1156,1452,1448,963,593,1126,1174,716,564,586,596,536,616,758,686,1015,1278,1162,1003,1386,1302,1224,1396,1270,1021,1052,832,765,1140,1474,1368,1132,1226,1254,1044,992,1040,1316,1406,1296,1398,1152,1206,1374,1388,1372,1088,1148,1338,766,946,912,1166,1400,1296,1086,896,962,1338,1492,1302,935,842,833,919,940,1306,1284,1019,975,1014,912,818,998,1538,1444,1104,1102,679,426,369,321,401,536,639,679,801,791,702,952,1106,753,837,949,1146,662,756,1062,914,811,903,1452,1604,1354,1380,1416,1618,1708,1892,1934,1196,679,658,512,530,797,1316,1362,1172,1046,998,810,840,612,452,525,636,656,481,558,672,622,824,1010,1188,1306,1188,1130,1212,1466,1528,1302,1182,1146,1094,728,419,344,329,369,432,1030,1182,1394,1676,1192,1148,1034,1138,1508,1182,1370,866,739,908,1290,1232,886,549,391,578,891,654,444,450,451,556,592,726,1013,1390,1450,1360,1570,1626,2116,2324,2030,1236,845,958,866,838,1026,1376,1224,1242,1520,1300,1112,1026,757,308,276,444,963,1272,1146,1080,1280,1348,1176,671,705,847,681,951,891,1004,1198,1248,1050,880,808,907,937,1126,1526,1140,723,534,656,1054,1206,785,684,835,611,487,807,1088,1054,779,1246,1532,1898,1888,1742,1738,1800,1980,1932,1864,1742,1094,606,623,840,956,1206,1556,1780,1854,1820,1546,1300,1440,1468,1252,1122,1088,1060,1224,1600,1256,1042,1009,987,775,661,854,1050,991,853,1146,1270,1184,1260,1526,1558,1520,1720,1338,899,1230,1434,1508,1310,1108,1076,1138,976,1114,1114,1246,949,781,899,762,1020,1232,815,996,1252,1314,1282,1324,1228,1198,1178,1400,1392,1100,1172,1172,1044,1208,1332,1294,638,338,535,642,543,492,478,428,285,265,318,553,902,1202,830,467,445,484,468,371,381,485,779,1750,2370,1662,1660,1422,1300,1222,1086,800,547,486,533,528,426,280,269,314,363,361,274,212,227,306,352,365,397,486,707,1132,2154,2226,1830,878,542,524,539,461,352,372,654,718,586,976,1332,1140,1250,1376,1492,1164,1028,762,756,949,972,907,879,910,1098,1280,1522,1564,1222,1122,894,577,803,1252,1330,1432,1532,910,703,528,517,681,753,768,706,648,556,489,675,904,852,705,894,856,552,743,688,590,746,870,851,603,467,804,1340,1390,1150,766,877,933,1023,1021,1342,1028,648,525,529,810,1060,1104,1430,1370,934,910,1290,1284,1626,1128,1288,1488,1422,1256,1560,2036,1378,827,811,1296,1202,853,767,756,780,708,641,555,518,532,579,651,658,661,502,656,994,908,868,1090,1408,1622,1490,1362,1112,688,662,661,528,590,707,889,1042,1094,1146,1158,1036,968,1070,1008,1100,859,1118,1250,583,296,385,367,397,440,395,335,375,548,583,725,733,743,863,1296,948,704,714,719,796,593,539,422,409,507,525,486,401,369,497,850,763,526,394,276,258,371,662,1366,1230,811,685,627,717,1046,1034,726,469,472,1078,976,683,1048,1368,1360,1236,1228,1288,1148,899,1012,945,719,669,519,640,813,692,481,553,852,1056,898,470,634,796,417,440,612,844,624,353,289,316,333,551,717,543,377,375,346,310,281,298,426,454,507,435,535,543,393,618,813,562,565,589,702,585,792,737,618,899,930,972,1310,1306,1124,916,497,437,753,1154,1142,1030,1011,1160,952,924,1226,1356,1908,1960,1576,985,783,982,1036,1366,1498,1522,1542,1664,2184,2214,1866,1958,2454,3078,4112,4136,4016,3914,3830,2952,1688,1626,1684,1472,1384,1444,1152,894,1022,1300,1100,620,605,783,771,709,893,1390,1352,755,625,660,1128,1003,1372,1196,1116,1334,1360,1122,943,1082,1492,1706,1672,1762,2114,2580,2588,1092,823,1568,1876,1582,1404,1506,1250,1306,1466,2090,2132,1776,1552,845,594,591,561,778,1126,1210,1250,1636,1482,1018,825,771,688,769,738,875,959,850,900,927,883,929,932,940,936,931,570,455,439,415,491,555,620,581,779,1148,830,776,742,750,910,974,921,977,1056,1306,1570,1336,1208,1390,1218,1174,1346,1104,940,1244,1180,1188,1310,1210,989,1062,1226,1186,1024,1042,986,944,959,1068,1198,999,883,1428,1582,1204,1186,1356,1598,1278,1278,1338,1300,1464,1530,1560,1614,1588,1312,1344,1474,1548,1272,1198,1228,1220,1384,1316,1366,1386,1214,1180,1212,1204,1410,1454,1462,1222,827,669,1014,1412,1540,1670,1462,1262,1298,1550,1454,1412,1398,1400,1512,1530,1554,1504,1552,1608,1612,1524,1412,1272,965,1001,1184,1268,1392,1428,1472,1612,1682,1574,1268,1380,1662,1408,1226,1238,1396,1306,910,846,911,1268,1266,974,921,1150,1098,741,1020,1190,1138,1304,1390,1408,1464,1278,1126,876,849,844,949,1296,1236,1166,1198,1268,1068,1005,1112,1122,1032,1022,1422,1576,1268,1250,1068,779,1686,2154,1836,2020,1838,1626,1190,1066,1282,1858,1810,1092,1542,2092,1796,1234,1124,1032,1080,628,506,611,680,871,1020,995,1238,1114,757,571,548,647,890,1190,995,646,721,1052,1015,1144,1602,1658,1604,1302,692,457,521,774,1136,891,652,910,850,863,1228,1254,1050,974,1012,1172,1274,1068,854,940,1176,1372,1322,1202,1242,1084,818,1148,1126,893,819,976,1356,1600,1524,1444,1434,1324,916,1378,1390,1010,971,1034,1168,856,883,1286,1432,1290,1290,1074,898,1270,1616,1288,913,1110,1266,1348,1158,1148,1152,1026,948,1017,1260,1268,1122,1136,1016,1158,1252,1194,1318,1526,1606,1296,1260,1312,1322,1554,1478,1230,987,926,985,1188,1312,1382,1228,1220,1232,879,625,547,598,554,583,592,529,491,584,636,561,500,465,453,404,405,338,360,512,1080,1762,1686,1068,572,669,791,645,500,747,898,1070,903,929,1266,1368,1334,1178,1406,1384,890,546,413,442,600,1114,1202,1064,955,805,1186,1598,1588,1370,1228,1180,1252,1440,1350,1242,1334,1266,1290,1268,1322,993,739,720,594,762,1170,1364,1298,1168,1140,1032,1242,1432,1490,1532,1344,1042,1150,1068,850,898,1200,1248,985,770,661,927,1230,1204,1128,1084,1058,1360,1454,1416,1346,1162,1009,1056,872,808,1023,976,983,1454,1268,1042,1320,1444,1418,1284,1356,1410,1272,1362,1114,827,1144,1194,871,891,907,940,1060,1216,1222,1226,1198,1476,1318,1036,961,945,858,547,640,1096,1280,1302,859,504,509,993,1620,1666,1194,1090,1015,814,928,981,707,580,510,422,425,693,912,790,823,1222,1234,956,958,577,854,819,866,659,739,1048,919,523,450,667,839,524,781,1592,1952,1916,2208,1724,1312,1110,1102,869,699,684,712,708,728,741,816,802,622,618,646,624,597,630,650,859,1166,933,1292,1834,1476,1316,935,653,877,1214,1322,1054,1186,1462,1628,1384,862,830,1156,1194,1190,1224,1450,1516,1330,872,1228,1364,594,604,755,1628,1770,1120,864,576,407,374,335,336,340,381,398,358,373,481,949,1274,1116,893,955,904,948,1376,1604,1318,1228,1292,937,777,1010,1316,1268,933,1238,1600,1560,1964,2132,1406,1072,1019,1212,1068,705,999,1274,1288,1246,1246,1274,1448,1252,1007,1196,1348,1696,1686,989,711,970,633,368,412,482,395,548,994,1210,1160,1384,1438,1512,1768,1774,1620,1368,1406,1538,1224,1005,1250,1192,1362,1430,1312,1096,716,543,529,1016,1286,1554,1248,726,844,821,695,576,777,915,1256,1504,1434,930,626,507,444,435,398,566,1282,1310,1112,792,912,1136,1092,791,736,771,918,880,443,399,422,431,462,779,937,627],[2020,1960,1520,1456,1366,1404,1402,1190,1124,2160,1520,350,384,344,331,353,374,513,412,404,463,530,556,540,527,564,625,657,660,529,470,525,514,583,1044,1494,1556,954,481,475,487,569,684,623,680,719,1076,1224,751,566,608,535,608,996,1058,600,391,407,448,715,996,684,563,655,650,521,476,543,530,713,1744,2016,950,625,493,461,377,324,379,502,502,505,569,471,405,346,410,704,533,408,422,429,623,647,540,533,549,573,581,505,521,763,1058,1014,1406,1552,1434,1118,771,1102,1402,957,700,634,730,639,390,292,346,357,332,330,326,344,371,530,865,1050,962,758,528,602,692,1032,1214,1162,1356,1362,1019,1082,1064,690,768,965,1472,1660,1196,1124,1284,1224,830,634,815,1284,1426,1096,799,1224,908,469,461,460,444,591,1108,1410,1180,1108,1102,968,673,772,1038,786,500,522,512,656,888,832,683,669,1016,1046,721,472,509,505,485,434,584,573,440,461,687,699,445,418,388,328,291,422,788,661,418,500,434,401,382,344,340,408,468,661,736,987,1166,1160,1104,1216,1156,1226,1360,1498,941,812,810,830,878,1760,2020,1396,1158,1134,1152,957,825,861,908,960,903,759,816,959,1156,1224,795,962,1104,595,643,661,591,791,779,829,885,1180,748,437,626,896,800,437,435,422,385,427,472,457,550,673,716,621,543,846,949,716,806,1082,1306,1250,692,519,979,1048,603,451,529,566,565,686,843,866,1202,1532,1448,1074,1296,1222,879,888,922,667,652,907,1012,1021,1238,1234,1176,1176,1424,1296,1316,1368,1236,1164,1160,1318,1298,1306,1054,1372,1416,1344,1278,1270,1092,1156,1248,1470,1464,1332,1120,1078,1784,2164,1946,1384,570,412,588,734,755,950,1122,1021,818,727,722,820,609,869,1094,943,830,578,440,407,353,427,598,664,872,1402,1222,807,726,805,854,1194,1150,920,829,937,781,651,745,1194,1620,1914,1440,900,1060,1506,1572,1686,1668,1148,683,580,416,509,954,1388,1502,1334,1266,1036,566,419,427,402,357,433,498,448,457,541,519,884,1258,1180,1036,1098,1150,1234,1512,1534,1284,1222,1136,858,803,746,584,477,434,480,683,720,1578,2078,854,683,709,1202,1246,1212,1144,703,547,830,1202,1238,1022,694,537,839,1208,1366,881,547,534,846,791,810,1156,1422,1122,1178,1642,1704,2060,2206,1828,1096,866,786,1058,1312,1406,1488,1060,850,1010,1005,1164,905,673,641,808,1176,1366,1352,1274,1300,1410,1588,1422,663,509,760,865,1042,1140,850,822,1046,1060,1160,1172,1278,976,1014,1044,639,396,388,376,695,911,741,913,977,659,722,984,1190,988,1170,1520,1828,1870,1306,1454,1814,1866,1918,1878,1770,1410,888,530,450,582,763,876,1074,1390,1758,2048,1852,1222,1016,1162,1174,988,872,726,1074,1508,1390,1092,1166,1350,1362,1314,1294,1242,1106,1146,1210,905,658,879,1354,1448,1224,1174,1214,1236,1402,1448,1874,1320,1136,1048,1019,1048,973,1138,1344,852,662,832,709,983,1534,948,880,1076,1262,1406,1388,1386,1194,965,963,915,651,1096,1454,872,855,1180,1414,850,473,595,554,575,843,695,555,439,481,446,699,1072,1178,883,578,636,637,306,302,368,437,706,1544,1714,1650,1700,1248,744,512,434,464,539,683,874,684,383,326,388,385,406,398,332,281,298,354,384,407,397,470,830,1140,1598,1578,1216,1009,883,739,700,600,519,364,319,312,380,513,843,896,1076,1023,1148,1362,1023,724,872,1050,1196,1560,1502,1582,1500,1438,1356,1086,1016,1004,849,728,684,681,750,1282,1938,1422,1338,622,637,777,666,627,794,860,692,443,439,622,1252,1236,1642,1862,747,372,395,861,1514,1794,1466,947,485,633,1090,1530,1600,1013,861,825,1028,1216,1422,1340,1088,902,662,568,882,1166,1122,1166,708,540,897,1302,1650,1468,1532,1622,1148,969,1356,1604,1444,984,574,703,735,747,738,668,702,965,855,586,585,753,818,763,650,651,538,1108,1280,1270,1250,1108,1134,1184,1400,1426,846,780,693,648,579,557,865,1062,598,483,758,971,1172,1388,1042,991,954,974,1140,1096,753,555,630,607,458,385,421,410,639,948,686,778,1011,1012,929,1368,1382,951,1272,1380,1136,997,769,465,422,726,809,799,709,464,500,628,536,444,350,332,351,650,645,714,755,651,617,494,458,604,733,676,480,572,1380,1220,946,989,1042,1158,1302,1290,1206,1194,1130,1070,597,458,475,608,761,554,479,339,652,770,834,831,568,705,801,394,748,821,604,343,373,324,294,346,319,362,327,402,480,320,273,267,335,475,469,485,454,466,522,501,494,667,721,485,422,753,828,893,690,683,993,838,827,1012,1094,1326,1288,974,943,1188,1118,1054,999,825,1050,810,636,839,1090,1726,1850,1526,1104,1122,990,979,1086,1120,1388,1554,1604,1932,2060,2068,1990,1932,2384,3440,3904,3934,4072,4144,2802,1482,1660,1614,1116,965,1282,1078,932,1086,1290,966,568,704,790,708,724,719,915,1042,716,693,732,1202,1342,1552,1466,1164,1300,1482,1188,946,1086,1544,1570,1506,1576,1842,2048,1460,742,933,1590,1770,1562,1360,1538,1344,1578,1440,1574,1888,1676,1372,839,634,659,526,735,1110,1266,1176,1516,1332,956,869,971,1140,1174,1084,1094,1230,1316,1250,1214,1090,1022,1122,1160,1116,948,575,386,412,440,496,513,496,465,978,1028,951,991,846,1030,1336,1250,808,754,1268,1504,1592,1318,1306,1438,1280,1328,1376,1308,1066,1056,1308,1402,1534,1178,693,852,1102,913,806,950,1238,1090,1007,1162,1212,970,974,1184,1102,915,880,1154,1492,1310,1260,1184,1226,1430,1598,1522,1560,1520,1196,1332,1466,1672,1430,1450,1384,1332,1438,1474,1362,1344,1294,1214,1176,882,893,1040,1302,1058,633,511,1058,1326,1528,1378,1050,973,1440,1598,1560,1454,1196,1246,1258,1186,1322,1416,1390,1710,1914,2130,2178,1542,1346,1200,1114,1176,1032,880,1068,1422,1368,1202,1266,1294,1444,1488,1584,1516,1554,1218,861,757,1130,1482,1266,1194,1176,1324,1306,1052,1002,998,864,1160,1015,1466,1730,1084,633,684,608,448,745,1290,1228,1110,1150,1174,1122,1112,1062,1026,934,1142,1596,1428,1164,1268,1102,776,1404,1764,1654,1516,1446,1446,1390,1164,1226,1778,1590,1440,1440,1620,1262,1142,1300,1282,833,442,551,616,527,522,621,855,1012,579,640,678,547,596,810,964,868,705,1040,1490,1432,1572,1700,1728,1576,1316,738,480,486,774,1102,971,1008,977,742,954,1144,1240,1132,1009,962,908,1194,1404,1252,1188,1290,1362,1266,1462,1252,1042,858,878,745,771,863,792,1152,1762,1592,1278,1192,1108,858,1278,1260,987,852,1044,1232,1220,1178,1300,1324,1084,1338,1104,694,1054,1248,1064,1048,1208,1384,1360,1216,1272,1234,1176,1064,1206,1402,1356,1158,1112,1262,1228,1228,1328,1626,2002,1514,901,1038,1086,1170,1350,1406,1154,865,896,1188,1332,1366,1236,1310,1162,715,535,501,421,396,426,543,602,505,430,463,537,488,404,322,489,357,303,294,331,388,453,937,1284,1074,748,666,708,747,613,929,897,841,1010,752,922,1262,1280,1300,1256,1154,1270,1034,854,616,691,1104,1372,1466,1242,976,1232,1426,1254,1120,1290,1228,1226,1224,1168,1190,1246,1246,1292,1009,811,890,1028,1190,1042,1154,1466,1288,980,1062,1306,1432,1476,1410,1280,1314,1154,879,839,1040,667,739,1042,1186,1080,926,678,532,716,1068,1140,907,1028,2000,1912,1746,1360,1370,1342,1016,1009,1422,1486,1198,1274,1628,1100,838,1166,1490,1294,1382,1644,1410,1360,1504,1212,1013,1250,1488,1312,1254,931,1198,863,1134,1198,1282,1484,1306,1236,1128,980,1476,1280,620,689,845,711,583,450,391,428,542,1364,2094,1180,1122,1072,1007,775,463,505,661,785,678,507,722,1030,1018,905,1100,1282,1092,916,696,979,871,750,785,1001,1132,948,565,499,798,681,633,913,1258,1108,1242,1046,668,615,749,711,576,508,578,638,547,484,694,1116,1256,968,736,661,545,599,730,595,1024,2114,1698,1262,1146,988,1040,802,749,1124,1288,1036,1070,959,1024,1360,1134,971,1046,1312,1370,1548,1484,1072,985,1272,1152,1280,893,433,498,847,1086,1182,1366,1306,1100,1068,633,455,472,400,656,575,423,414,451,844,1080,1292,1184,969,875,1190,1692,1670,1278,1432,1466,1278,963,1184,1514,1602,1240,1436,2058,1856,1548,1314,1140,1252,1082,1234,1230,1154,1062,1500,1674,1564,1494,1462,1436,1238,884,836,927,1354,943,645,785,1088,747,413,393,403,382,378,572,1042,1364,1416,1294,999,1218,1562,1600,1546,1578,1808,1742,1292,1546,1346,1364,1378,965,1170,1386,883,633,722,860,1234,1232,746,1008,987,1310,947,1076,858,1072,1086,966,867,932,705,642,501,495,888,1724,1268,1252,1178,1198,1432,1220,1142,1134,706,955,949,453,397,466,474,505,534,598,445],[1134,1096,1372,1366,1064,771,724,803,684,727,535,295,326,338,326,359,369,491,446,397,418,486,557,558,545,639,905,984,740,535,479,612,686,645,1007,1472,1510,948,455,433,435,502,573,818,1074,792,694,617,423,387,548,557,513,907,882,529,430,521,757,954,755,515,417,496,658,684,681,802,814,854,1694,1344,551,484,518,474,353,438,761,854,786,1100,1286,807,579,573,775,1064,749,545,426,370,526,646,621,477,492,473,511,549,708,1174,1344,1250,1268,1088,995,723,683,1220,1100,691,727,818,943,1017,594,271,305,382,365,510,766,520,322,358,419,610,1084,863,713,637,453,883,1258,1168,1166,896,699,1064,1316,752,857,1090,1462,1708,1538,1222,1184,1224,957,634,678,938,888,730,825,992,498,400,434,415,497,783,1192,1258,1392,1158,1136,1640,1210,1162,1132,711,442,393,475,722,1116,1170,868,891,1212,1146,952,691,615,491,363,372,459,443,530,838,1326,1042,619,637,659,482,369,384,691,692,300,410,429,498,444,415,420,517,503,567,601,941,1498,1400,1278,1460,1222,1098,936,788,828,1078,845,882,1182,2248,2250,1202,727,628,796,1372,1302,791,898,937,834,597,455,619,1122,1324,1034,1240,1404,863,848,548,591,575,689,1098,1356,1324,915,417,382,529,623,506,364,444,591,556,568,510,666,712,595,514,456,482,413,577,1126,1520,1624,1476,1023,678,966,1060,731,631,483,462,481,521,612,877,1050,1432,1482,1450,1300,916,547,554,549,740,1188,1452,1254,744,777,946,1286,1356,1340,1254,1358,1394,1428,1238,1012,1308,1108,1011,1002,1160,1286,1396,1424,1338,1536,1746,1416,1282,1374,1396,988,1118,1586,1748,1302,849,570,508,532,527,505,861,1360,897,667,910,1090,1038,832,881,905,658,534,507,392,339,379,479,609,725,1282,1594,1068,878,970,928,996,1236,895,628,916,1108,734,420,392,857,1128,1578,1380,744,1058,1430,1316,1386,1400,1240,1362,1306,1024,888,897,1208,1256,1224,1372,1174,616,555,765,809,593,580,554,623,552,511,445,668,923,891,974,1096,1080,1272,1516,1616,1452,1332,1522,1178,1148,1308,1178,1190,1062,912,761,1034,2310,1682,968,827,830,1362,1460,1710,1236,509,446,569,1026,1130,1102,933,879,1074,1034,1412,1670,1208,859,1144,1264,1068,904,793,907,818,1086,1440,1682,1602,1354,877,643,699,901,986,1290,1572,1338,853,579,752,1216,952,816,944,1136,1290,1204,1290,1476,1494,1212,885,623,485,448,673,965,1058,964,713,976,1368,922,1015,1370,1294,1021,1034,758,504,460,503,606,605,428,737,1009,816,732,778,688,999,1158,1290,1600,1660,1180,989,1478,1870,1952,1938,1784,1282,786,767,566,423,368,499,771,905,984,1230,1398,1120,699,528,752,1036,897,683,513,641,1020,1156,1184,1504,1654,1742,1890,1330,1152,1064,1194,1332,1136,788,563,797,1230,1234,879,974,1408,1274,1036,1332,1228,912,854,1078,1206,1011,875,825,829,969,885,893,838,1023,885,945,994,1200,1372,1340,1162,1106,1326,818,636,571,812,997,770,727,856,939,1010,1001,734,495,438,715,749,661,586,633,681,1144,1316,988,755,764,1000,762,322,337,527,891,1040,962,983,1416,1626,1330,1078,761,491,633,847,818,843,700,506,565,780,714,589,471,383,343,428,456,437,361,449,733,801,727,1042,1600,1394,813,729,719,688,562,460,357,403,431,371,546,689,713,731,849,1290,1600,1396,1003,645,762,1070,1274,981,1114,1140,1144,1340,1576,1328,1098,1142,1050,1008,877,788,1218,1236,1570,1724,963,1118,1650,1240,599,820,1020,806,615,401,400,804,1118,1794,1820,818,388,359,694,1390,1556,1023,623,448,708,795,1264,1666,1466,1060,1144,1246,1324,1576,1414,1164,911,993,893,1009,1304,1624,1518,1088,857,900,1118,1296,1310,1302,1092,684,769,1078,1482,1910,1204,547,446,479,521,591,567,852,1196,633,672,576,718,681,723,830,803,622,617,811,1324,1664,1470,1478,1344,1124,946,964,1023,713,549,528,629,1170,1122,745,705,671,686,794,1138,1442,1266,1240,1158,927,1003,827,769,1070,993,904,990,971,938,1210,1208,895,827,824,967,1098,1306,1506,888,1282,1160,664,805,811,565,471,713,865,982,857,508,354,341,391,430,474,430,380,463,475,455,401,407,349,387,480,443,440,648,553,576,1332,1266,888,513,461,722,817,731,790,907,1022,1022,518,300,472,755,752,613,586,711,780,704,729,462,310,624,722,558,820,858,656,447,339,512,992,561,618,673,462,451,495,335,299,320,291,434,750,592,538,543,665,636,633,670,772,547,330,526,731,882,938,1100,1130,917,787,998,1124,1138,1384,1600,1520,1124,788,993,1007,1062,1112,1218,1074,772,793,1062,1494,1258,1244,1390,1242,1118,1244,1394,1644,1546,1388,1632,1444,1134,1250,1182,1306,1572,1576,2068,2730,2840,2206,1588,1588,1468,942,1104,1266,935,896,1140,1240,868,561,773,842,805,709,629,713,835,658,640,708,1142,1534,1650,1394,1142,1384,1542,1466,1222,1202,1578,1572,1372,1414,1722,1642,1120,654,1122,1592,1592,1840,1604,1498,1528,1968,1598,1264,1256,1434,1464,902,569,670,503,759,1178,1568,1166,1472,1238,738,948,1226,1194,1456,1532,1244,1284,1366,1362,1360,1284,1182,1326,1350,1326,1126,659,428,437,443,454,481,580,571,1138,891,851,744,752,1202,1460,1500,952,763,1238,1388,1316,1280,1194,1204,1222,1216,1288,1426,1372,1396,1446,1390,1268,1194,997,1004,1036,999,809,932,1048,1112,1302,1298,1254,1104,833,664,739,881,1174,1526,1560,1222,834,895,1258,1396,1402,1158,950,1148,1356,1354,1406,1428,1344,1402,1310,1204,1426,1408,936,850,1168,1224,1208,1001,1003,1252,1858,2630,1954,920,1236,1322,1110,925,1130,903,1542,1466,1460,1356,1172,1606,1658,1196,1356,1422,1448,1504,1754,2706,2294,1572,1322,1110,1023,1050,784,501,700,1274,1478,1554,1206,905,980,1254,1512,1614,1600,1420,1366,1268,1390,1444,1324,1540,1654,1402,1344,1328,1310,1148,928,1056,1316,1442,1134,792,953,1003,600,326,418,638,1086,1174,1020,744,761,1018,1018,1050,1036,1124,1370,1064,863,1108,1044,883,1132,1542,1656,1544,1434,1462,1316,1080,1676,1866,1502,1100,832,833,761,916,1158,1198,897,531,567,597,467,408,331,543,765,563,834,1015,774,601,677,856,891,697,985,1404,1552,1760,1780,1716,1454,1082,643,437,525,706,769,858,1172,1252,984,1156,1208,1184,1044,1084,1014,907,1098,1360,1336,1254,1200,1424,1244,1058,882,919,898,588,600,990,1152,1066,1230,1382,1242,1398,1282,1060,721,1152,1130,904,1042,1232,1394,1376,1234,1478,1352,915,949,971,741,731,1021,1114,1202,1338,1456,1106,814,865,1084,1226,1232,1554,1532,1350,1250,1318,1366,1260,1462,1740,1622,1462,937,852,1126,1284,1344,1368,1164,808,514,775,1176,1380,1406,1264,1164,766,563,454,405,416,380,385,491,589,615,556,449,435,340,243,262,433,335,303,324,372,369,321,397,519,788,1114,888,496,448,817,1432,1114,690,863,1052,1198,989,1018,1230,1202,1276,1324,1320,1416,1168,1042,1382,1532,1448,1084,951,1290,1848,1716,1196,1212,1172,1154,1188,1288,1230,1290,1514,1404,1232,1228,1156,1228,1306,1212,1304,1384,1264,1216,1200,1312,1312,1182,1032,979,1184,1018,1066,935,968,952,871,1082,1310,1340,1328,1294,1018,805,978,1374,1238,1148,1744,1506,1198,1194,1212,1170,833,724,1208,1494,1318,1023,1216,1126,787,1388,1798,1210,1136,1282,1220,1306,1458,1350,1242,979,1254,1334,1156,836,797,763,1060,1120,1368,1616,1424,1534,1382,1218,1366,920,707,822,626,534,524,506,486,421,317,686,1252,927,1260,1196,986,647,659,721,767,942,799,575,658,871,1054,1072,1040,1092,891,886,1252,1324,1064,973,1126,915,620,760,787,811,1200,1312,1422,998,612,1258,1808,1166,930,965,636,465,439,591,670,515,446,493,541,813,1360,1476,967,846,554,588,761,658,728,1134,828,680,741,948,962,786,703,935,838,1050,1206,819,666,780,669,882,1096,1232,1388,1406,1180,850,645,943,1320,1470,954,792,854,1064,1168,1204,1318,1204,1288,1166,690,910,650,477,907,844,1078,852,797,925,1122,1374,1126,695,803,1260,1524,1450,1328,1402,1378,1244,1168,1394,1486,1648,1310,966,1184,1394,1392,1122,1176,1384,1216,1210,1294,1322,1308,1630,1888,1854,1794,1482,1174,1154,792,607,570,748,962,755,609,659,479,365,350,354,436,361,382,617,1028,1450,1258,927,1198,1244,1144,1034,1054,1522,1848,1362,1628,1372,1338,1410,1334,1328,1190,933,865,604,1048,1576,1496,732,851,837,1456,1516,1496,1340,962,810,895,1012,1390,1054,1298,1404,1074,1162,1354,987,1014,1114,1128,1316,1132,1054,1056,880,1023,717,502,497,489,477,533,554,448,353],[493,404,409,399,297,250,289,285,336,408,335,319,310,312,319,349,362,468,480,402,409,455,548,557,525,525,792,1184,808,543,507,641,711,628,866,1374,1534,1038,531,463,492,510,502,609,662,672,591,405,343,355,426,433,412,434,509,511,624,782,1140,1008,504,426,403,422,602,959,1088,1388,1764,1360,658,450,559,561,483,424,338,555,1148,1212,1174,1600,1232,559,427,582,921,1001,715,543,368,332,468,604,608,491,554,440,495,607,1005,1226,1196,1328,1290,1086,832,579,1042,1096,894,755,633,778,937,797,577,455,415,539,524,650,876,720,465,384,474,800,1356,1400,1272,821,496,823,1146,1050,945,590,543,699,972,633,553,1036,1534,1600,1616,1632,1310,1122,1020,855,860,809,480,535,1088,894,359,390,418,508,696,899,904,1074,1072,897,1104,1118,889,973,818,583,402,343,363,495,836,594,684,921,1102,1136,820,781,828,568,456,589,711,977,1164,1614,1620,1276,1246,1384,1304,869,665,630,832,856,518,848,840,608,624,548,455,567,601,466,505,1118,1672,1236,1170,1256,1362,1164,1114,1084,920,893,675,527,877,1500,1484,882,468,401,525,1390,1394,810,772,1048,1030,655,428,512,980,1344,1158,1166,1420,1312,1312,774,514,543,1094,1710,1560,1378,1134,478,326,313,338,382,348,442,471,461,497,480,599,741,651,554,469,489,515,689,1244,1522,1410,1310,977,692,855,867,858,1036,834,658,713,909,1106,1312,1338,1354,1524,1540,1480,1100,498,583,865,1284,1350,1166,982,690,739,1015,1200,1240,1098,915,872,988,1350,1202,1364,993,919,1104,912,742,1036,1242,1360,1324,1334,1488,1396,1470,1294,1338,1288,1120,832,808,700,591,518,490,489,484,435,796,1250,858,578,918,1242,918,598,634,759,648,594,480,381,357,385,498,647,974,1702,1398,819,879,1160,1058,1078,1212,787,503,821,892,583,419,423,698,1268,1694,1270,1026,1494,1786,1556,1009,1130,985,891,1210,1362,1130,1328,1452,1218,1316,1478,1458,960,750,1022,1174,1218,1142,1018,1246,1290,1013,840,907,736,743,996,1030,1010,1256,1520,1534,1574,1394,1352,1134,1364,1444,1198,1376,1334,1316,1656,1960,1906,1486,1228,812,1030,1360,1590,1822,1040,487,439,647,1216,1198,1168,1194,1294,1234,1116,1266,1780,1898,1406,1256,1412,1114,882,492,639,711,890,1082,1390,1540,1378,1096,795,924,957,926,1248,1500,1294,1116,802,960,1190,881,834,1176,1220,1128,893,1106,1422,1404,1008,586,519,528,516,673,876,721,503,511,775,1264,661,557,816,952,1084,1262,965,790,911,864,768,617,579,764,579,524,724,911,942,1116,1176,1390,1600,1122,648,726,1262,1722,1792,1448,885,559,567,738,578,460,452,403,596,868,957,934,913,716,530,438,489,633,570,460,454,475,618,908,1064,1192,1690,1928,2082,1750,1424,1044,1050,1144,1316,1148,554,661,1168,1350,1080,741,974,906,797,940,924,752,822,927,822,803,836,792,1042,1178,1324,1354,1240,1412,1448,1282,1232,1160,1266,1550,974,888,1324,780,491,484,491,594,617,721,848,1005,1102,809,608,789,761,600,625,563,516,565,706,1104,1268,925,664,1178,1528,715,350,392,685,937,1120,1268,1504,1688,1478,1013,1216,838,554,764,578,495,548,535,588,706,728,584,404,350,426,443,518,619,649,510,781,1180,1110,1224,1876,2412,1758,751,850,761,560,699,637,544,651,759,655,672,980,1112,896,908,1202,1592,1720,1586,1238,1516,1284,805,728,743,525,814,1798,1920,1188,827,726,857,1128,1296,1322,1186,895,1372,1506,1001,1176,1976,1516,866,673,592,827,947,472,492,750,636,1122,1440,896,539,628,682,598,791,613,670,788,778,936,1242,1510,1510,1178,1216,1396,1074,927,875,859,619,1050,858,660,1018,1180,1278,1534,1470,1602,1340,807,926,1266,1082,935,946,1252,1424,1112,760,563,439,521,534,548,700,1076,1054,938,820,521,562,745,1172,1466,1296,1082,1013,1272,1044,961,1072,1460,1472,1080,946,1412,1292,847,614,545,907,1322,1252,1406,1128,1028,836,707,1180,1486,1234,933,990,1224,1272,1250,1240,1042,995,1082,938,1040,1214,1188,1320,1390,1116,837,976,1490,1686,1394,1072,1246,744,436,660,1078,840,435,604,909,1302,1056,479,400,401,420,513,527,498,677,655,475,478,473,555,502,452,391,442,672,803,449,619,1260,1186,842,615,422,684,995,967,853,586,982,1011,638,583,1110,1260,888,717,678,910,1084,1050,1082,834,390,617,888,893,1200,1466,982,466,328,798,1572,751,830,832,494,417,408,341,447,505,500,1576,2458,990,606,644,631,507,647,670,649,596,537,766,1044,1074,1138,1256,868,1010,922,1060,1324,1262,1384,1574,1400,967,1068,1146,1084,1514,1540,1272,1106,781,676,766,965,1086,1250,1432,1374,960,1344,1658,1726,1668,1668,1776,1180,951,1058,1426,2102,2332,2304,2430,3006,3238,3138,2866,2040,1344,1104,1288,1266,967,955,1146,1228,890,618,785,903,850,684,644,831,919,702,645,657,860,1238,1376,1154,1184,1324,1340,1366,1274,1350,1600,1694,1524,1630,1576,1284,798,582,1044,1406,1434,1864,1680,1494,1538,1570,1306,1116,1214,1588,1632,965,597,736,563,777,1024,1306,1146,1476,1310,848,1120,1162,1036,1554,1770,1360,1344,1174,1272,1396,1562,1512,1286,1282,1382,1150,612,440,408,417,452,522,584,533,891,777,531,468,608,938,1252,1582,1013,1108,1288,1472,1268,1186,1130,1164,1274,1314,1278,1316,1276,1332,1252,1334,1172,1318,1144,813,780,924,913,837,634,635,874,999,1062,1222,1001,1112,1250,1256,1298,1416,1430,1298,1078,1164,1368,1324,1268,1148,1126,1118,1274,1074,1062,1170,1262,1644,1400,1332,1384,1204,871,680,794,927,983,1001,998,1152,1744,2190,1766,1380,1478,1674,1292,1064,973,1060,1352,1298,1144,908,802,1084,1072,924,1476,1444,1692,1914,1926,2036,1606,1248,937,711,862,855,490,451,669,1138,1482,1462,1372,1316,1166,1224,1268,1354,1314,1422,1532,1532,1570,1412,1404,1422,1598,1494,1368,1292,1354,1238,1052,1224,1310,716,523,661,1046,1190,769,424,299,403,744,1030,948,532,902,1606,1474,1148,1002,1456,1584,908,1024,1448,1168,1032,1364,1722,1620,1400,1278,1546,1282,982,1902,2046,1488,1440,1498,1050,758,741,962,1070,785,683,565,468,426,344,317,332,617,807,1086,1302,1190,948,741,594,625,510,683,1384,1632,1640,1682,1610,1248,871,573,443,501,684,736,561,690,959,837,705,728,815,950,1242,1198,767,829,1272,1178,1224,1208,1354,1062,832,874,1194,1244,760,669,741,1156,1264,1360,1350,1378,1512,1324,1148,1152,1074,805,995,1300,1318,1110,824,903,1152,866,1132,1108,827,596,777,1122,1260,1344,1384,1186,1007,1192,939,926,787,819,1254,1456,1394,1322,1272,1230,1334,1764,1810,1438,1112,908,826,900,1226,1454,1250,1024,860,853,1230,1260,1396,1352,1190,1236,1076,993,800,610,574,502,531,760,1100,746,535,460,333,225,231,236,303,338,311,285,350,350,284,322,480,527,706,850,634,463,784,1188,1026,1058,1302,1206,954,866,670,822,1276,1580,1432,1320,1416,1228,1268,1502,1492,1382,1282,1276,1298,1902,1562,1164,1012,1008,1226,1400,1332,1114,1276,1642,1468,1498,1180,1144,1282,1062,1074,1370,1334,1274,1232,1374,1400,1318,1448,1396,993,847,786,996,982,927,1252,1332,1178,1172,1364,1348,1360,1146,1332,1388,1432,1176,1384,1332,1148,1126,1262,1296,1178,984,1116,1314,1328,1048,850,1240,1208,785,1132,1418,1015,847,879,918,1009,1290,1254,1302,1036,1544,1322,860,695,594,783,1116,1126,1236,1388,1362,1460,1404,1118,766,554,1004,1026,552,477,491,508,439,359,362,487,688,1042,1314,1104,753,706,824,747,750,747,570,552,767,932,977,1354,1134,1092,918,722,1134,1274,832,962,1228,711,378,557,926,1340,1206,1532,1542,933,913,1542,1736,902,1142,1182,674,660,856,1106,1192,985,926,1011,1146,1470,1708,1566,1276,995,1140,905,832,1204,1188,907,676,480,556,834,1290,1274,847,1078,1124,1398,1108,816,873,1202,1078,954,725,886,1520,1274,769,1096,917,651,1264,1564,1336,1422,1458,1446,1502,1446,1366,1254,1052,645,1007,1278,858,1076,1036,1036,1346,886,590,841,1122,1080,819,578,379,692,1134,1122,1100,949,837,877,1134,1454,1496,1500,1468,1412,1410,1288,1214,1084,1264,1372,1222,1280,1524,1412,1246,1418,1738,1846,1832,1458,1182,1318,1120,711,569,848,1260,1002,537,487,430,407,560,1184,830,415,471,504,617,814,737,813,1005,1222,1023,1058,1232,1520,1606,1588,1512,1228,1001,1054,1104,1050,1288,1562,1548,837,1452,1716,1654,944,841,1044,1408,1270,1226,1638,1550,680,717,977,1490,1310,1572,1644,1568,1650,1604,1466,1504,1126,1204,1578,1300,971,662,701,849,977,1062,940,785,625,608,657,462,482],[220,226,278,273,252,270,281,330,396,364,369,365,331,314,300,317,343,414,463,402,424,426,518,561,562,550,679,973,763,597,522,551,626,653,762,1322,1552,927,505,505,543,537,549,562,573,634,516,373,279,339,488,570,565,649,904,879,724,529,781,861,495,469,369,422,480,732,750,1356,1792,1246,612,605,716,584,491,415,398,423,532,618,1170,1540,951,434,424,547,894,1007,591,384,388,371,339,366,414,434,534,660,599,678,1048,1082,996,1088,1312,944,593,958,1294,881,787,886,1012,1104,1620,1794,1468,1048,687,758,866,615,671,705,503,509,724,778,919,1246,1262,909,844,1023,1340,1266,926,590,586,516,426,400,620,1060,1190,1100,1284,1434,999,892,1011,949,985,652,409,423,508,583,591,476,421,610,931,794,764,926,691,688,1010,1224,1100,904,802,651,456,437,365,341,375,382,763,968,1021,808,522,766,802,565,529,758,919,1628,1820,1832,1224,996,1586,1964,1596,1021,993,1100,1250,1148,956,1594,1098,494,647,671,567,722,741,547,464,588,777,586,681,768,961,1300,1298,1290,974,459,511,865,1360,1708,1466,683,458,400,370,674,897,766,897,1266,1254,987,625,628,1288,1394,927,974,1426,1592,1388,747,407,716,1574,1982,1996,1740,1210,744,430,358,325,329,356,398,441,451,414,413,564,764,821,735,513,432,601,841,1152,1160,1011,1044,888,588,683,858,1144,1100,719,836,979,1264,1382,1448,1466,1390,1440,1634,1666,1036,596,720,1190,1062,1170,1036,1080,920,1021,1178,927,954,939,492,437,613,1262,1554,1656,1005,677,680,718,711,915,1288,1618,1186,973,957,1138,1146,946,798,647,482,486,519,537,506,430,392,440,458,401,477,567,658,545,1134,1592,892,577,646,749,543,587,475,347,402,411,493,550,1098,1470,1482,1250,780,830,1086,1522,1488,1266,795,1126,1272,1170,844,628,852,1252,1430,1294,1258,1398,1626,1464,915,969,841,645,722,725,840,1394,1716,1660,1664,1754,1732,1268,900,785,1007,1212,1238,1512,1710,1596,1088,974,1146,1090,1108,1074,1010,1230,1482,1662,1456,1354,1364,1266,1248,1216,1128,1174,1250,1330,1192,1326,1530,1806,1884,1582,1346,1342,1438,1720,1654,842,513,552,881,1328,1256,1216,1346,1412,1336,1472,1498,1490,1730,1584,1388,1254,910,990,759,890,937,825,938,1224,1324,1318,1422,1302,1248,1210,970,1344,1464,1360,1338,1312,1338,1166,1021,1252,1568,1202,550,431,739,1084,1236,1250,772,474,535,471,595,914,792,461,503,543,1058,955,1156,1228,1318,1378,1216,882,745,863,720,532,589,723,480,330,440,726,1015,1184,1200,1312,1600,1356,706,520,579,962,1534,1418,918,650,586,580,637,586,580,597,428,405,430,455,741,987,1042,832,590,430,420,447,475,498,614,861,1008,1006,1216,1578,1556,1290,1214,1176,1046,1026,800,1178,1262,1028,1076,1324,1278,1076,888,935,948,944,929,670,566,631,644,656,869,1170,1098,932,1040,1242,1318,1394,1418,1240,1186,1208,897,753,1190,1042,720,756,642,548,517,1028,1328,566,593,886,1200,865,639,602,906,902,616,469,528,607,530,724,843,970,1090,634,1046,1162,692,525,780,877,631,614,897,1284,1586,1478,990,956,786,517,705,625,552,461,579,658,562,422,420,355,339,447,576,505,597,613,581,988,1180,1021,1296,1616,1694,1270,803,866,622,534,913,936,885,1360,1942,1616,865,1056,1346,1394,1282,1556,1600,1336,1206,1206,1540,1072,530,664,957,663,644,1292,1268,955,699,547,536,451,745,1066,1472,1378,1102,978,770,1310,1648,828,1026,838,540,853,825,498,852,1372,1021,708,988,742,748,1140,1334,750,491,458,816,1070,906,971,1182,1378,1478,1360,925,886,701,684,619,620,558,613,588,484,482,713,1206,1142,1312,1670,1180,751,689,948,1308,1410,1370,1302,1294,1378,1202,803,461,605,758,803,868,1038,950,1094,854,599,918,1288,1538,1594,1208,852,1514,2668,1556,888,830,969,927,836,680,624,763,849,821,874,1168,991,1416,1848,1804,1732,1316,1084,1220,1384,1566,1366,1018,871,967,1036,1164,1246,1354,1288,1224,1206,993,1044,1204,1290,1422,1268,1188,1322,1188,892,855,1066,730,424,616,877,678,471,616,709,997,1015,691,496,465,439,502,534,577,838,788,541,603,435,567,658,405,319,362,548,619,412,516,624,521,652,623,489,915,897,804,969,630,964,901,503,653,932,1054,877,716,964,697,797,993,1080,824,558,869,988,980,1448,1588,963,440,367,515,678,540,511,442,382,379,378,358,414,436,412,949,1196,599,489,611,658,576,663,700,689,673,744,901,911,652,813,1076,806,846,888,837,1010,1170,1256,1360,1132,1001,780,668,854,1022,1394,1306,1136,844,768,819,784,965,1072,1136,1084,960,1260,1542,1558,1484,1614,1952,1966,1836,1670,1838,2230,2566,2776,3088,3332,2906,2676,2592,2010,1266,1152,1496,1400,1146,1050,1220,1230,837,703,872,969,829,669,611,1062,1194,846,751,640,929,1350,1312,1194,1280,1322,1284,1232,1212,1444,1654,1290,1052,1146,1272,1332,861,661,1128,1328,1358,1472,1406,1410,1324,1342,1520,1478,1448,1748,1888,973,624,739,491,484,789,976,1054,1412,1428,1020,1186,1366,1352,1516,1628,1328,1272,1224,1338,1508,1646,1514,1396,1344,1390,1202,850,625,572,588,502,675,763,775,1000,679,414,444,568,887,1512,1838,1170,1388,1634,1514,1354,1302,1204,1174,1318,1366,1284,1322,1408,1388,1244,1298,1282,1262,1032,756,635,740,907,750,572,669,754,875,1016,871,860,1130,1462,1534,1562,1516,1258,1150,1316,1382,1448,1322,1344,1246,1248,1198,1256,1106,1084,1330,1552,1756,1326,1142,1230,1198,944,767,678,616,701,855,720,473,659,897,1178,1266,1466,1338,1310,1448,1338,1196,1236,1160,1016,1088,844,774,852,829,1152,1626,2142,2362,1898,1642,1448,921,752,768,777,726,429,354,557,905,1326,1484,1468,1616,1714,1374,1382,1726,1334,972,1136,1356,1488,1494,1444,1654,1814,1730,1450,1316,1220,1128,1240,1456,1346,1110,703,538,873,1388,1236,795,440,380,534,702,816,586,823,1850,2292,1642,1252,1602,1666,1386,1882,1908,1272,1186,1404,1726,1302,1028,703,1090,1262,933,922,1124,1510,2356,2182,1262,1216,1192,948,686,481,497,410,518,518,390,397,413,386,533,976,1336,1064,609,597,579,524,435,609,1288,1708,1786,1754,1428,1066,841,578,557,610,865,892,586,452,444,463,517,615,599,736,912,1054,1088,977,1466,1314,1222,1152,1174,1062,935,932,970,978,1036,792,503,1012,1082,1248,1374,1288,1498,1388,1112,1268,1296,1090,1194,1468,1272,763,624,984,987,689,865,959,882,772,786,1078,1096,962,942,765,1918,2088,1030,700,539,463,625,830,1072,1346,1272,1152,1462,1412,1426,1332,1124,1166,1152,971,1206,1126,1042,1180,1232,1296,1294,1152,1240,1206,1062,1122,1340,1396,1144,1170,1110,793,766,1036,1256,1050,774,600,379,277,273,266,282,305,265,316,358,284,264,369,470,487,466,536,539,464,448,663,976,1284,1598,1202,1176,1296,967,938,1384,1656,1364,1310,1354,1128,1206,1228,1242,1364,1484,1346,1438,1720,1372,1318,1136,1028,1274,1476,1310,1024,938,1386,1644,1290,1234,1294,1230,963,1088,1274,1246,1322,1230,1178,1256,1366,1480,1440,1260,913,811,988,1094,1021,1300,1324,1272,1228,1280,1352,1378,1080,1456,1314,851,657,785,1128,1274,979,935,1086,869,981,1096,1418,1388,918,748,977,1192,1088,1204,1180,929,732,1068,1200,1136,975,974,1110,1004,1088,904,589,563,456,741,1226,1162,1278,1396,1392,1408,1338,926,763,813,1070,1020,557,432,588,635,499,453,697,912,763,755,1028,913,519,379,451,593,768,744,474,648,921,1102,791,919,1038,1058,1136,1042,1030,1144,526,510,544,491,649,858,1382,1568,1100,982,1178,1182,1382,1214,1214,1418,2008,1516,1064,974,973,1066,1080,789,653,822,877,859,843,1302,1720,1372,1596,1368,1476,2028,1762,1370,1136,600,669,643,1174,1340,1346,1428,1318,1376,1088,759,899,1208,1270,1122,586,595,1034,909,714,1050,805,451,677,1078,1472,1470,1224,1278,1176,921,1262,1326,1082,1152,1366,1032,800,966,847,695,675,739,999,1204,1184,1078,600,663,613,774,996,1134,1242,827,612,999,1272,1278,1238,1300,1366,1360,1480,1306,1322,1392,1290,1260,1216,1378,1682,1420,1406,1548,1656,1702,1646,1474,1536,1418,1098,933,823,1112,1402,1032,824,552,469,526,1102,2098,1224,489,530,592,478,469,711,796,792,1350,1170,1410,1546,1536,1612,1636,1472,1340,1170,1003,708,813,1130,1844,1764,1164,1396,1336,1498,1306,996,1310,1546,1120,944,1164,1280,688,788,853,899,958,1216,1636,1918,1512,1422,1694,1456,1212,2064,2306,1290,888,621,539,1194,1616,1328,1186,1258,1122,1178,1176,649,473],[251,250,247,263,330,406,490,557,523,384,354,345,363,407,353,319,329,369,464,442,433,402,451,551,628,558,572,598,513,446,462,524,480,482,534,1126,1618,944,495,560,614,599,554,499,539,630,504,397,290,397,551,630,678,788,895,845,615,523,796,1078,1058,701,454,533,601,783,695,1040,1428,1124,648,643,694,708,684,638,532,408,357,694,1498,1608,905,479,543,761,935,1152,823,563,530,498,464,406,391,443,440,422,469,561,686,684,491,663,756,749,1094,1388,1172,988,648,1240,1786,1356,1736,1698,1224,1202,908,750,915,1070,964,692,564,672,761,695,934,948,863,838,928,1194,1414,1276,749,758,852,586,588,629,748,979,730,565,761,1290,1074,793,853,935,766,438,440,396,424,611,818,968,594,875,1026,680,911,996,813,816,1040,1410,1082,1108,1158,904,538,374,359,411,415,491,805,996,943,810,674,794,976,650,526,557,650,1144,1546,1442,818,825,1470,1610,1078,869,977,907,1142,1238,1138,1462,1182,668,555,619,769,1026,959,678,457,404,410,459,421,628,984,1124,1150,1236,995,530,616,959,1442,1614,1256,672,517,449,419,600,719,675,836,1216,1194,790,615,805,1186,945,490,393,538,968,1002,537,506,1236,1746,1464,1590,1372,1044,884,706,505,383,377,382,391,408,430,414,566,683,744,797,674,559,448,619,905,1112,1258,1130,1346,1192,655,744,962,1642,1516,1040,1162,1348,1338,1270,1404,1498,1462,1380,1548,1476,831,741,1058,1112,1021,1152,1088,1266,1476,1256,1080,1030,936,938,626,427,775,1332,1406,1268,1156,853,683,866,786,756,993,1144,824,675,1056,1338,1012,710,515,403,425,487,468,510,524,480,403,400,491,574,569,573,650,660,1766,2362,968,692,677,625,480,496,485,424,514,591,695,793,748,854,1388,1314,1102,844,1046,1530,1594,1482,1510,1984,2126,1782,1008,690,899,1130,849,654,1068,1224,1582,1190,661,655,584,749,1044,918,1106,1484,1354,1270,1522,1670,1740,1602,1558,1316,1422,1490,1414,1660,1622,1236,1092,975,867,891,713,855,1216,1442,1638,1714,1450,1278,1256,1250,1346,1212,1224,1306,1296,1148,760,536,715,1056,1324,1606,1616,1092,683,974,1130,923,843,805,1126,1390,1630,1816,1648,1442,1450,1814,1576,1252,1488,1650,1792,1146,768,943,992,1268,1126,781,964,1196,1374,1272,1412,1518,1544,1360,897,1210,1548,1444,1136,1208,1230,798,986,1174,1296,1174,623,585,975,1176,1448,1462,937,442,554,677,915,1038,1070,572,432,457,1142,1316,1384,1372,1268,1418,1236,995,812,507,354,356,408,383,355,391,607,980,1160,1152,1332,1538,1194,727,530,500,492,814,1418,1208,735,673,605,555,555,595,857,752,522,444,412,424,457,672,879,1004,913,747,697,498,551,621,749,1152,1396,1358,1600,1498,1338,1096,974,899,866,885,598,1034,1234,1312,1556,1180,890,917,1164,1584,1506,1044,858,691,734,833,634,675,927,924,753,601,877,1200,1310,1286,1116,851,1100,1356,1186,844,1042,1182,801,581,749,636,491,818,803,449,633,836,959,955,750,835,1144,1124,839,679,555,778,964,1376,1344,1001,1020,623,413,398,562,585,897,1084,879,832,987,1202,1824,1584,1084,1268,1220,741,462,551,622,649,613,552,496,480,703,548,329,412,526,355,283,258,298,558,571,385,688,1204,1758,1050,549,662,612,452,717,802,863,1590,2234,1642,725,684,1488,1826,1666,1598,1196,954,1056,1036,977,673,527,792,1108,846,550,987,919,555,645,574,517,499,479,939,1382,977,1150,1194,1013,994,1108,1042,1578,1460,1152,1070,875,683,840,1566,1274,623,828,767,716,1160,1282,730,496,516,572,799,824,788,1212,1776,1302,1230,1001,875,892,869,769,661,932,931,664,586,625,995,1002,739,989,911,1076,1158,1034,896,1028,1288,1440,1338,1426,1156,808,706,758,945,1374,1230,973,1068,1030,820,612,810,1212,1440,1380,937,847,1064,1640,2070,1466,1110,1068,969,793,700,607,565,533,579,664,904,1194,933,907,1402,1848,1982,1664,1290,1346,1330,1874,1892,1708,1650,1132,747,789,708,887,1004,913,1078,1114,1294,1396,1472,1252,1003,1130,984,943,1023,841,873,852,622,500,547,431,479,631,589,527,792,720,540,514,442,455,465,520,755,677,678,982,602,648,702,460,331,403,592,687,671,653,595,540,511,433,377,497,583,642,655,552,784,721,730,593,545,450,428,600,771,600,796,729,592,460,576,1080,1068,785,970,1044,1240,1100,762,512,415,693,807,480,436,557,498,294,284,245,256,352,485,367,303,514,596,509,569,713,696,628,637,578,594,539,1076,1330,1104,790,783,841,810,1020,1400,1224,1094,1048,653,713,976,1188,1684,1844,1488,894,792,1060,1090,1122,1168,1190,1142,1148,1286,1128,1230,1450,1576,1704,1770,1610,1494,1766,2798,3360,3144,2954,3154,3676,3928,3086,1928,1224,1210,1390,1266,1234,1076,1236,1156,709,636,821,739,633,611,716,1194,1362,1186,930,674,977,1584,1642,1414,1356,1400,1406,1440,1444,1614,1582,1216,1248,1230,1166,1070,829,844,1240,1310,1432,1286,910,889,974,1196,1490,1382,1490,1714,1898,978,626,599,386,617,1120,1250,1308,1438,1632,1612,1700,1458,1192,1490,1476,1224,1130,1128,1282,1472,1634,1324,1344,1270,1320,1114,1076,1048,1132,1120,932,964,955,976,1110,684,551,669,893,1192,1634,1364,1130,1224,1174,1180,1236,1168,1340,1606,1426,1418,1380,1484,1580,1518,1328,1268,1406,1250,1098,1080,843,1094,1394,1011,753,659,621,1330,1290,803,846,1034,1360,1404,1638,1474,1284,1018,1074,1886,1706,1354,1082,954,1198,1214,1272,1416,1628,1446,1324,1364,1590,1716,1606,1390,1042,860,765,788,971,1052,558,523,552,882,1188,1246,1186,1060,1084,1288,1306,1150,1264,1168,815,952,1078,803,778,767,905,1366,1812,1940,1490,1410,1460,1262,1532,1592,1196,844,662,453,371,494,863,1224,1366,1688,1530,951,1042,1354,1350,802,622,681,970,1248,1394,1444,1574,1510,1354,1300,1246,1374,1256,1340,1260,893,680,591,766,924,1014,1074,778,435,654,1106,840,683,1538,1854,1664,1264,1300,1656,1642,1744,2052,2226,1788,1674,1534,1572,1256,1044,733,1038,1354,1002,722,1132,1972,2604,1960,1068,1236,1306,923,591,422,315,311,425,535,567,546,514,503,450,477,726,613,484,438,498,445,347,627,1246,1584,1716,1672,1414,1128,874,610,505,448,618,893,854,514,432,508,696,797,634,586,487,765,1076,900,1174,1270,1128,951,983,1058,964,1016,775,777,980,678,480,792,949,1298,1470,1250,1084,983,1090,1366,1316,1368,1274,1500,1340,1026,1000,1324,1382,1158,855,737,843,792,745,930,1036,911,695,927,2408,1732,603,548,592,413,400,464,582,893,1090,1060,1284,1324,1446,1346,1172,1286,1302,988,1170,959,1068,1188,1360,1322,1190,1396,1290,1023,1198,1232,1122,1190,1368,1562,1368,1068,1038,1386,1404,1164,919,687,586,454,291,283,299,338,306,423,481,334,317,440,555,530,571,528,406,500,433,443,877,1338,1324,743,614,927,1178,1266,1412,1304,1122,1214,1144,1180,1104,1218,1350,1398,1418,1530,1836,1792,1356,1176,1174,1044,1102,1374,1172,884,894,1094,1208,1248,1294,1126,1122,1074,1030,1176,1158,1242,1326,1090,1392,1500,1374,1418,1220,939,752,1292,1670,882,1218,1506,1392,1328,1154,1134,1354,1578,1688,1404,1048,1074,1322,1332,1248,1110,1023,1003,1001,852,860,1248,1226,1122,1144,918,889,1124,1300,1104,1162,873,1098,1468,1246,847,819,811,908,1272,1134,858,880,774,997,1314,1252,1264,1196,1234,1108,839,1032,1238,982,858,940,686,503,566,531,455,731,1262,1294,882,770,773,552,400,414,458,645,755,749,699,918,1414,1564,1198,1234,1050,1060,1100,1011,915,1026,600,641,663,698,933,1180,1478,1652,1392,777,858,940,1332,1378,1694,1994,2008,1316,666,465,399,507,775,599,349,269,228,272,312,646,1438,1632,1146,1196,1964,2214,1884,1448,1060,727,838,583,950,1378,1586,1214,811,803,809,935,1256,1318,1302,1174,599,572,1146,1106,735,1050,1166,824,594,1005,1542,1216,779,963,1164,1140,1524,1556,1296,908,613,834,1180,1096,561,412,513,763,1188,1214,1017,1194,977,844,847,1190,1278,1178,1300,1078,948,1338,1764,1592,1518,1390,1332,1540,1400,1180,1248,1244,1306,1392,1432,1312,1288,1278,1384,1362,1396,1160,1066,1324,1482,1046,1010,1180,1318,1382,991,694,1202,838,678,757,994,1072,904,724,466,529,448,393,434,722,938,1140,1210,1402,1542,1544,1520,1598,1398,1356,1520,1222,809,916,731,981,1294,1354,1494,1464,1504,1332,1005,1394,1534,1264,1090,1302,1268,1144,1450,1660,1136,991,1342,1736,1782,1488,1490,1624,817,862,1818,1666,857,679,568,724,1276,1534,1644,1328,1312,1338,1344,1402,1026,534],[260,295,387,502,724,786,625,526,473,412,386,361,495,650,512,349,335,355,468,491,452,401,404,484,594,598,543,545,509,406,384,456,430,385,411,991,1642,1064,502,606,590,556,541,549,545,652,530,405,326,397,555,803,1060,988,758,647,586,572,851,1172,1502,1118,666,637,644,878,987,1058,1090,755,631,619,529,669,657,689,635,555,495,1112,1952,1608,740,468,816,1376,1134,1232,1132,947,781,653,594,465,392,433,482,509,586,486,482,526,461,559,780,1300,1484,1016,866,1060,973,1142,1044,985,1006,960,976,1036,754,666,1198,1636,1202,781,623,550,604,654,1016,982,678,864,860,841,1304,1284,1015,1508,1534,1176,1368,1388,894,593,405,493,565,1032,1358,1044,633,839,1001,578,486,399,542,569,572,863,899,1034,813,672,1090,1204,1066,1046,860,951,703,880,1080,1064,697,351,331,449,569,916,1386,1454,1390,1364,840,662,905,674,499,537,593,626,841,1204,1008,697,987,1124,709,541,559,732,1212,1290,1232,1448,1300,935,824,1090,1100,1088,908,588,443,368,341,467,508,556,645,731,816,816,989,993,683,869,1300,1552,1260,888,787,693,651,916,850,830,943,1134,896,480,396,670,730,475,337,323,367,493,473,360,533,1206,1340,1154,1154,1048,861,753,765,650,427,385,376,424,459,405,430,630,733,780,776,589,475,407,501,1096,2548,2154,1282,1448,1168,760,702,1262,1798,1376,1062,1324,1744,1644,1416,1510,1380,1316,1388,1450,1396,1146,1076,1130,1015,697,453,566,839,1284,1192,1050,1086,1272,1146,684,385,537,762,976,1224,1282,949,698,1090,1164,938,1138,1266,899,832,1246,1266,1026,787,477,407,435,409,372,476,561,559,430,379,485,630,633,664,647,561,902,1290,728,700,680,468,447,558,537,504,613,703,731,719,651,814,1186,1200,1616,1216,845,1158,1566,1414,1412,1876,2312,1764,825,823,1074,1334,1272,896,1288,1150,1126,974,664,569,506,524,601,780,1238,1408,1324,1216,1592,1896,1440,1102,1430,1642,1902,1928,1566,1498,1438,1194,1216,1102,886,796,741,840,1128,1372,1564,1656,1490,1264,1210,1208,1406,1334,1398,1558,1422,935,672,695,733,916,1350,1300,987,580,460,502,642,1064,1350,1268,1148,985,897,1294,1694,1448,1534,1738,1646,1604,1642,1690,1524,910,818,1066,1116,1268,1098,1174,1138,1226,1600,1244,1220,1590,1666,1096,830,1168,1346,1036,808,1106,1188,1074,1164,967,1003,1030,711,877,1100,1396,1858,1602,1522,860,805,735,669,717,1032,735,477,456,1018,1330,1274,1284,1218,1286,1120,1160,716,390,380,350,336,409,530,752,1044,1136,1134,1290,1382,1068,658,650,706,636,532,696,1258,1202,648,623,624,589,554,476,723,714,552,541,502,453,442,435,484,634,944,1078,1038,684,612,775,926,1300,1468,1532,1484,1590,1766,1300,701,615,648,606,735,1246,1242,1592,1796,1296,940,807,1014,1502,1378,919,699,803,763,1015,841,705,920,1017,617,444,825,1318,1346,1290,1240,995,1328,1556,1310,964,852,1118,1026,661,616,574,596,524,372,695,888,763,687,1072,1236,1066,1140,1023,978,1168,609,613,880,1196,955,844,926,776,525,508,589,647,1064,1070,1002,1090,1020,1422,1804,1362,1110,1296,1404,1102,534,622,810,736,462,326,335,650,666,360,252,280,264,218,205,233,282,361,378,506,1958,2510,2332,1162,791,930,612,369,414,449,483,896,1162,962,851,847,1200,1738,1764,1472,1072,1344,1550,1274,1520,779,659,1174,1298,802,426,736,829,653,696,767,676,503,674,1312,1492,1022,774,1332,1548,1448,1204,1290,1788,1666,1288,1488,2078,1818,1092,1150,849,655,786,740,662,828,924,768,707,599,596,521,543,697,1168,1656,1200,901,1224,1182,753,558,733,1130,1246,1013,730,571,756,1288,1336,1084,1118,726,614,971,1254,1182,893,1106,1568,1556,1386,919,481,369,869,1250,1274,948,906,1112,1270,1112,759,1052,1288,1520,1386,896,950,1316,1432,1168,1082,1170,1274,1152,1180,1136,830,674,607,559,519,547,858,1042,1128,1224,1300,1850,2164,1864,1290,1512,1884,1508,1478,1476,960,886,1194,817,861,1066,1324,1244,826,933,1732,1640,1302,1186,1114,1212,1238,1019,911,868,725,907,769,871,982,947,968,952,694,619,505,425,447,422,443,458,440,494,421,736,952,585,696,849,537,318,472,641,921,1080,1009,921,732,702,633,416,317,274,279,269,438,730,578,940,569,377,322,251,421,681,839,987,722,299,301,422,775,759,513,572,760,1036,769,569,634,656,738,564,431,584,872,595,447,507,421,360,316,356,371,356,453,470,402,465,693,574,655,675,529,426,696,991,1164,1132,828,728,682,758,1262,1312,978,1360,1118,859,746,1032,1618,1714,1926,1786,925,760,1284,1260,1168,1316,1260,1244,1360,1120,1086,1518,1686,1504,1296,1102,907,765,1344,2500,2708,2722,3024,3364,3340,2868,2256,1676,1166,1298,1438,1300,1184,1156,1260,1032,655,680,850,694,593,572,564,878,1190,1088,811,647,887,1326,1552,1376,1312,1298,1444,1488,1534,1672,1644,1548,1814,1616,1402,1082,646,920,1600,1688,1600,1476,961,758,926,1114,1088,1188,1332,1264,1056,626,640,659,442,585,865,1000,1220,1456,1476,1870,1556,988,725,1154,1410,1216,1028,1126,1154,1296,1410,1500,1306,1144,1136,1080,1072,1076,1172,1116,1106,1226,1274,1134,1230,1102,915,887,1152,1408,1460,1224,1222,1168,938,1186,1482,1242,1272,1408,1340,1406,1388,1500,1334,1236,1222,1050,1100,1066,1104,943,656,832,1094,1104,858,521,688,1310,1204,885,1224,1594,1238,1084,1300,1138,1228,1282,1242,1310,1248,1342,1202,1142,1284,1282,1286,1332,1534,1058,1007,1354,1730,1732,1582,1306,1021,952,886,1208,1376,962,642,871,992,1272,1342,1288,1268,1350,1322,1230,1158,1318,1472,1306,912,987,825,542,800,1118,1090,998,1106,1080,1080,1412,1484,1222,1208,1222,1288,1116,1017,662,499,712,846,872,1008,1442,1028,602,976,1354,1092,736,658,569,455,625,797,1076,1322,1360,1456,1200,1238,1280,932,821,919,724,705,839,675,912,1520,1692,1482,782,808,1632,1318,654,1490,2120,1892,2106,2466,1954,1476,1406,1248,1426,1208,901,852,869,809,762,891,1208,1362,1080,857,1224,1250,1042,736,531,570,602,541,475,355,388,380,349,460,570,523,512,534,440,338,377,561,544,435,423,368,332,623,1274,1488,1512,1358,1274,1074,887,672,576,602,535,692,667,480,386,432,557,656,557,439,345,524,647,532,638,1017,895,570,836,959,835,634,467,570,765,735,592,683,869,1224,1390,1324,1038,764,864,1374,1394,1308,1420,1556,1412,1174,1036,1300,1406,885,897,910,658,513,601,825,858,686,467,592,706,496,422,509,641,476,439,462,601,935,850,749,779,1100,1248,1094,984,915,810,751,1048,984,1009,1158,1400,1424,1256,1156,864,578,734,933,1042,1208,1372,1394,1154,1192,1336,1430,1216,1044,896,763,778,622,366,345,368,342,306,500,561,416,425,560,560,537,629,644,401,429,529,632,821,904,686,503,606,1026,1308,1250,1266,1076,1218,1134,894,1086,883,1200,1486,1312,1442,1420,1288,1234,1196,1168,1108,808,898,1066,1122,1098,947,752,891,1226,1218,997,1168,1196,1134,1206,1168,1108,1322,1362,1512,1262,991,927,890,756,604,1340,1342,771,1148,1306,1188,1018,745,773,1144,1278,1328,1478,1310,1196,1356,1396,1272,1206,844,845,912,684,929,1244,926,895,1210,1028,938,1284,1266,1366,1104,1206,1052,772,713,661,678,867,934,1162,1136,915,970,1064,1100,1206,1300,1122,907,1076,830,520,805,1096,835,989,1688,1322,693,433,433,571,933,1384,1326,783,619,796,597,433,518,499,576,777,1094,1384,1416,1710,1630,1062,833,595,988,1152,931,719,579,806,1286,1086,778,748,833,1222,1878,1610,884,1194,966,1054,1080,1204,979,615,533,935,1340,868,633,715,469,308,280,269,304,360,402,874,1206,1272,1814,1904,1698,1536,1218,617,689,717,544,857,1246,1308,778,424,604,914,1152,1017,895,1112,826,563,951,1336,725,336,659,818,934,1136,1396,1372,1144,1040,1272,1268,1278,1410,1510,1336,969,933,1250,1616,1326,723,675,997,1030,1314,1350,902,1088,1332,1134,984,1514,1808,1612,1238,1112,1228,1620,1620,1598,1584,1386,1448,1560,1208,827,781,1180,1506,1558,1282,1148,1170,1246,1134,1102,1092,1008,861,1180,1724,1590,1586,1326,1266,1116,825,665,856,736,830,984,770,522,885,1056,753,908,814,464,387,624,996,1180,1146,1300,1434,1194,1180,1564,1348,1756,1686,1050,897,965,847,958,1174,1318,1494,1562,1654,1434,1042,1142,1128,720,1005,1342,1346,1262,1372,1334,1014,1056,1056,1114,976,861,972,977,554,560,727,604,519,530,650,987,1084,1056,1396,1152,1356,1482,1382,1408,1260,760],[493,692,692,767,1002,952,637,432,382,418,543,534,664,805,582,333,303,335,446,518,488,438,406,424,514,580,548,551,521,486,503,488,452,393,386,964,1514,982,673,660,595,598,565,565,565,670,606,496,472,601,825,974,1086,1028,832,720,711,760,929,1068,1013,683,590,648,728,832,902,1256,1186,707,725,558,456,600,568,677,913,1021,1070,988,1260,1144,857,700,1274,1882,1156,836,1108,1354,1198,1200,1132,582,303,338,451,617,750,663,566,507,632,973,1216,1188,914,557,521,673,708,623,559,650,714,833,1062,1010,555,433,1202,1748,1208,1198,884,676,880,921,913,994,739,725,621,661,1160,1200,1140,1336,1330,1366,1672,1520,1034,695,484,517,625,1138,1482,1356,1108,1362,1158,595,515,592,684,526,414,566,769,877,781,678,703,784,1288,1456,781,595,455,520,811,985,760,474,474,531,730,1018,1560,1780,1522,1418,959,768,786,584,477,519,559,518,596,1172,1222,778,876,998,765,512,413,556,832,927,1058,1220,1090,1028,1104,1510,1248,858,605,628,600,414,418,477,521,516,420,424,481,661,969,944,807,959,1346,1476,1082,979,938,786,827,1214,1048,996,1130,1006,626,377,304,701,940,615,655,506,403,409,351,383,480,588,783,1158,1194,1034,1028,1032,1009,661,430,378,404,444,437,374,401,502,590,708,713,612,525,546,428,996,3618,2384,1192,1276,1194,939,816,1482,1526,1006,855,933,1328,1462,1390,1294,1172,1242,1230,1290,1350,1332,1134,866,684,631,582,567,591,948,985,870,611,763,937,697,390,411,400,571,1050,1222,1116,1088,1184,1338,1122,1064,1218,1126,1072,1124,952,1140,1034,733,530,362,374,408,470,600,618,495,401,619,796,529,573,537,574,894,1004,668,733,604,428,459,501,523,582,662,677,637,577,623,967,1234,1052,1009,758,722,984,1108,1084,911,957,1360,1332,1324,977,1134,1582,1626,1392,1490,1304,1200,1204,998,698,567,541,558,763,1038,954,996,1058,1464,1676,1350,1188,1202,1352,1360,1154,1224,1454,1372,1328,1252,1274,1194,1070,996,979,1128,1230,1554,1582,1250,1400,1524,1310,1104,1124,1100,1182,1158,664,734,1070,1050,1046,1360,1150,744,486,454,694,1130,1456,1560,1184,865,842,647,546,855,974,1054,1296,1438,1504,1626,1620,1412,960,899,1202,1076,828,991,1270,1216,1226,1376,1358,1146,1390,1634,1396,1284,1252,1132,872,650,1110,950,866,830,714,674,606,783,1192,1140,1290,1864,1358,1778,1280,897,649,676,1013,1424,1538,1254,800,866,1066,1023,913,892,836,856,1005,673,403,329,295,373,626,929,1064,1108,1174,1360,1220,839,879,1246,1470,1504,1376,1052,996,1412,1422,936,746,649,557,532,480,676,699,593,544,498,477,440,428,437,430,579,862,1050,933,799,937,1282,1480,1440,1500,1610,1866,1470,1068,579,579,871,755,999,1204,1234,1440,1542,1626,1452,1106,821,1013,818,610,501,746,644,948,1054,626,835,1008,530,469,610,936,1172,1400,1290,852,1100,1272,1302,1154,594,732,776,536,433,481,830,664,507,651,673,537,675,1188,1268,1250,1130,853,1252,1270,586,513,665,1030,932,963,1230,1060,819,879,1048,656,545,707,915,1372,1518,1600,1736,1242,688,608,826,835,510,438,461,391,344,325,351,336,245,222,252,286,310,287,285,299,301,433,538,601,1992,2912,2182,1334,1426,1368,659,689,640,552,601,744,749,694,1138,1224,1004,1160,930,491,595,1056,1568,1816,2002,1206,890,1300,1186,604,411,500,519,639,903,1188,877,491,934,1394,1580,1900,1548,1922,1992,1748,1488,1338,1358,1350,1222,1634,2654,2834,2386,1282,618,730,849,886,843,686,625,771,777,747,798,599,507,536,753,1138,1082,608,860,1044,710,706,1180,1260,731,679,905,509,480,850,933,1176,1412,963,536,793,1366,1182,706,1090,1406,1332,1134,921,714,571,952,1300,1216,1005,982,1188,1196,1010,1186,1470,1356,1384,1244,1082,1132,1364,1288,1172,1346,1290,1110,1098,1318,1312,1054,1048,1021,891,742,641,610,703,888,790,879,1160,1496,1430,1162,1668,1844,1686,1676,1608,1096,1688,2514,1494,1286,1094,1814,2326,2216,1740,1804,1708,1614,1188,1003,1148,1332,1206,984,874,959,987,784,977,908,791,949,949,956,973,785,660,618,465,447,426,401,455,455,749,686,368,403,514,420,409,742,853,865,1090,1168,1120,962,955,772,454,326,305,392,386,522,789,364,508,836,1056,678,320,307,425,494,613,464,241,276,480,558,445,641,943,853,609,430,361,694,1110,842,952,1092,689,1013,590,511,722,594,465,391,361,364,434,465,433,492,532,663,679,667,696,548,565,839,799,984,1094,721,445,426,966,1332,993,990,1136,1492,2620,2460,1660,1858,1664,1560,1582,1090,1230,1504,1520,1200,1154,1318,1428,1230,1066,1348,1528,1680,1470,1182,708,675,974,1180,1978,2796,3152,2964,2740,2744,2734,2398,1722,1074,1252,1346,1028,1016,1172,1236,961,588,700,822,646,601,565,529,684,893,948,786,636,854,1262,1234,1208,1360,1170,1372,1428,1528,1672,1582,1558,1738,1532,1422,1116,755,1062,1548,1532,1596,1526,893,1184,1714,2268,2214,2066,2012,1558,743,498,595,686,484,646,657,785,1016,1456,1584,1404,1212,1124,1116,1256,1392,1190,879,1050,1124,1246,1360,1530,1346,1192,1052,1034,1100,1234,1124,1013,1144,1228,1378,1358,1388,1318,1288,1400,1260,1182,1200,1202,1100,1072,1060,1244,1530,1512,1338,1284,1378,1458,1428,1362,1122,1198,1180,1178,738,756,913,763,588,599,804,954,981,1011,889,870,845,929,1310,1640,1218,1024,1166,1306,1344,1338,1404,1298,1260,1268,1494,1346,1260,1358,1408,1416,1338,893,727,1306,2206,2170,1570,1178,1382,1564,1458,1434,1298,1015,959,999,1246,1344,1306,1348,1300,1364,1544,1608,1618,1502,1336,1092,960,772,404,509,911,1028,1104,1296,1392,1082,1142,1292,1212,989,944,655,941,1428,1324,900,749,1080,980,808,759,1210,823,476,599,1056,1152,920,890,764,703,635,413,466,784,1240,1494,1390,1156,1100,967,847,888,820,882,888,751,888,1526,1952,1854,1256,1216,1660,1342,618,1054,1884,2092,2426,2236,1726,1610,1146,1142,1294,1236,1044,803,637,667,771,927,926,1248,1290,908,526,388,410,578,523,369,274,310,333,327,364,328,300,358,498,533,540,502,392,248,337,575,594,426,379,346,410,613,1194,1570,1624,1426,1326,1252,1108,824,863,1010,753,760,523,416,394,408,420,431,410,350,281,344,615,865,904,1110,1078,831,1036,871,913,757,564,632,996,914,763,869,781,1048,1272,1136,962,769,641,1152,1360,1156,1350,1578,1526,1208,682,667,759,839,991,784,673,515,458,552,530,427,421,511,543,625,646,708,802,596,498,578,604,741,737,664,692,733,749,720,661,980,908,984,1180,1130,1244,1234,1244,1398,1082,593,406,364,582,787,1006,1142,1388,1310,914,899,1160,1278,1158,1282,1012,973,874,691,426,420,439,431,439,504,469,419,579,702,484,563,806,726,462,426,503,878,1012,850,699,477,611,1056,1360,1212,1362,1396,1430,1254,1026,1056,915,1230,1406,1312,1166,1142,1176,1286,1294,808,694,745,955,1142,1088,998,779,498,586,659,1070,1196,1312,1348,1306,1126,1168,1007,1005,1224,1174,1028,850,764,766,604,395,544,606,844,1017,1088,1274,1206,937,985,1186,1007,1216,1332,1300,1400,1418,1318,1340,1136,595,573,764,747,967,1090,683,667,850,976,1015,1022,1106,1272,1206,1334,1152,799,516,538,974,948,941,1152,1148,811,763,954,1314,1294,1180,1076,872,996,796,758,924,1100,858,999,1340,1082,650,518,566,756,1148,1152,880,587,672,788,715,523,505,481,574,861,1086,1300,1306,1388,1430,1320,1100,700,952,1198,779,828,740,667,956,688,565,683,848,888,1160,956,602,904,1032,774,668,650,572,521,916,1626,1850,948,677,492,293,264,339,559,699,757,544,596,802,943,1374,962,1100,1468,1474,880,714,882,1194,1282,1210,995,530,426,770,1050,933,954,1234,958,608,763,1340,1458,1124,749,536,726,1202,1406,1378,907,842,1340,1602,1496,1388,1372,1344,1144,1122,1392,1496,1434,949,551,849,1306,1058,1102,1186,1194,1334,1164,725,841,1498,1646,1670,1386,1270,1222,1446,1488,1638,1394,1148,1542,1420,1026,677,742,1254,1744,1512,1332,1216,912,727,792,981,1200,1376,1326,1280,1706,1890,1712,1236,1138,1216,941,795,766,852,963,836,675,879,1490,1198,1136,960,610,419,329,334,541,769,1016,1254,1216,1030,756,1152,1362,1620,1396,1298,1058,774,836,1130,990,879,1118,1124,1310,1456,1280,919,888,786,859,993,1094,896,803,882,1314,1694,1150,894,850,738,660,675,521,430,455,503,526,639,830,1206,1508,1196,1428,1296,1498,1550,1572,1498,1522,1262],[792,995,968,951,959,782,466,260,231,341,576,617,680,800,748,521,345,306,397,477,443,430,400,358,346,447,519,525,520,513,467,453,448,423,435,884,1436,924,1090,739,650,733,621,556,539,648,672,619,774,995,1038,956,1122,1090,1074,1296,1254,1296,1290,1182,886,524,448,516,551,561,762,1300,1320,843,601,496,680,957,996,1242,1316,1532,1382,1322,1574,1548,1514,1406,1266,1148,782,608,597,723,883,1022,1050,415,309,288,395,688,736,682,803,1208,1428,1192,854,588,514,529,418,404,694,581,358,363,538,893,1296,1164,477,493,1112,1306,1162,1712,1242,982,1268,1448,1306,1054,609,333,483,978,1326,1036,1212,1194,1420,1178,1058,1222,1494,1158,731,731,1246,1666,1444,1420,1402,985,766,592,518,524,500,477,522,774,964,946,708,694,618,1288,1816,1306,678,506,439,428,679,872,676,498,535,684,739,1054,1418,1658,1272,969,948,1002,759,501,429,374,483,722,453,667,1000,767,707,709,620,539,512,551,529,433,655,905,1132,1028,1384,1960,1324,800,1002,1252,1242,796,480,615,762,506,415,370,368,574,851,1042,1023,977,1360,1308,755,761,797,781,680,950,1212,1416,1354,1110,675,377,365,628,991,891,644,586,522,478,511,606,745,758,827,1128,1196,1088,1100,1182,1062,648,551,608,639,639,529,414,401,418,466,558,518,520,483,491,454,643,3190,2084,686,952,984,865,991,1102,1176,1176,927,927,1224,1020,1202,1376,1180,1130,1186,1250,1396,1324,1106,977,904,703,650,528,490,647,853,817,654,615,788,738,488,402,388,480,648,953,980,1364,1384,1312,1226,1432,1584,1160,1094,1096,706,935,1190,1176,855,437,377,508,579,532,494,495,408,485,683,588,470,511,635,919,957,754,618,484,452,490,556,673,750,791,641,561,483,681,1088,1142,897,669,543,802,1030,805,873,1030,945,878,1360,1394,883,779,972,1078,1354,1686,1666,1520,1242,1248,901,624,581,633,667,586,539,704,856,933,974,907,1088,1184,1370,1168,697,501,1054,1502,1440,1384,1398,1248,1188,1188,1162,1076,1226,1592,1584,1378,1514,1628,1476,1204,999,731,700,916,526,792,1472,1284,1094,1088,735,433,372,421,822,1300,1330,1114,736,639,874,699,650,1134,1014,607,640,874,1226,1492,1598,1364,753,709,944,929,745,1120,1094,1042,1268,1708,1642,1152,1246,1456,1332,1106,1013,894,906,873,1032,791,816,890,691,509,680,1040,1146,1542,1194,1836,1410,1638,1516,1158,1130,1442,1732,1900,1986,1682,818,691,839,890,944,926,857,803,737,589,465,420,505,858,1180,1278,1164,1318,1360,1084,761,1052,1708,2076,2104,2046,2178,2062,1904,1942,1726,1438,1340,939,597,570,541,450,417,507,552,634,571,389,401,438,416,414,503,771,1096,1196,1272,1484,1240,987,1284,1548,1648,1078,1340,1128,1096,1268,1032,797,893,1186,1278,1506,1368,1440,1332,1062,908,632,542,499,769,1011,1028,899,692,1166,883,753,628,794,918,1340,1508,1326,1156,1120,1080,1326,1466,606,656,788,873,716,766,1456,1454,1222,993,607,456,544,956,1500,1474,935,759,1082,827,571,673,806,1042,1136,1086,1224,1128,1010,1202,1396,1118,1034,1086,1306,1732,1534,1082,1350,1348,680,614,684,606,444,498,782,880,675,462,363,287,308,376,393,362,295,296,329,343,355,504,488,701,2148,2744,1846,1588,1624,1768,875,901,710,477,663,875,718,479,698,945,839,854,761,442,385,466,1026,1214,979,1220,792,672,686,432,472,620,684,886,1106,1174,725,618,1294,1436,1896,2054,2040,2354,2000,1208,995,1372,1572,1390,790,1608,2492,2518,2780,1826,703,649,874,1122,1098,800,774,803,695,759,800,1114,987,540,575,800,795,575,613,955,1318,1134,896,853,968,1256,903,442,414,573,515,705,870,623,552,749,1292,1344,1260,1234,1230,1206,981,882,878,761,959,1266,1242,1240,1312,1390,1194,1080,1450,1396,1262,1238,1084,1036,1150,1318,1174,1114,1216,1266,1080,1052,1112,1242,1188,1448,1540,1250,1058,911,801,756,783,711,585,570,650,616,896,1378,1362,1236,1322,1226,904,2386,3618,2690,2114,1032,1106,1404,1460,1682,1584,1456,1286,984,869,841,1012,832,791,836,750,725,919,910,875,982,869,875,889,689,830,1046,871,1036,1080,811,689,547,509,588,487,411,334,365,277,403,678,740,721,802,897,979,984,889,827,422,245,267,487,392,689,665,405,707,1410,1470,674,266,285,347,393,393,280,278,313,552,511,481,666,1148,1090,658,742,618,749,1048,1194,1396,1350,1046,1030,683,694,736,511,455,420,442,475,522,478,441,429,478,614,664,575,508,357,592,873,729,970,907,634,431,689,1204,1100,924,929,1100,2514,4012,3182,1938,1926,1902,1716,1616,1554,2066,2032,1688,1164,979,1284,1252,916,1258,1418,1598,1686,1484,1058,1100,2522,1954,918,1288,1380,1384,1512,1676,1612,1544,1708,1548,1028,1172,1144,772,910,1166,1240,919,568,722,849,706,637,505,582,532,1258,1638,1146,772,758,1036,1234,1160,1340,1258,1388,1658,1722,1688,1460,1478,1528,1532,1454,1036,739,876,1302,1638,1696,1754,1606,1728,2636,3670,3880,3602,3276,2116,835,850,610,690,598,786,659,865,1100,1400,1494,1222,1048,1154,1294,1384,1642,1324,931,1058,1312,1354,1530,1410,1236,1214,1096,880,910,1146,1200,1122,1184,1182,1100,1086,1128,1100,1246,1306,1160,1332,1144,1230,1198,1120,1234,1330,1592,1562,1406,1252,1308,1570,1422,1288,1276,1268,1164,1380,1172,1186,1198,916,680,664,852,778,628,665,808,629,1016,1026,1192,1622,1450,1266,1260,1386,1568,1488,1450,1416,1410,1354,1390,953,1074,1318,1376,1434,1538,1588,1258,1448,1884,1356,1064,1088,1690,1754,1692,1310,980,1258,1348,1310,1516,1456,1358,1472,1398,1034,1232,1540,1350,1048,1078,1056,1004,747,484,644,913,999,1218,1372,1526,1254,997,1362,1044,609,694,582,713,1140,1190,1158,882,916,869,828,1312,1730,1132,879,978,1032,1009,897,863,847,1196,866,509,551,657,916,1084,1340,1174,904,929,1200,1132,746,724,642,829,857,1324,1696,1514,1030,961,1078,944,787,1044,1158,859,1006,1412,1506,1144,1106,1356,1490,1370,1316,1007,577,523,656,796,712,1202,1464,1172,737,467,493,685,625,415,561,669,542,409,304,339,327,362,393,384,325,247,217,235,291,378,394,348,353,348,417,533,871,1356,1582,1532,1518,1472,1220,791,683,805,778,907,638,571,447,388,395,403,383,322,493,772,761,1090,1066,974,920,1088,811,858,1088,1104,880,838,1084,1026,741,833,974,1050,960,705,763,865,816,979,1022,943,1072,1302,1380,1404,1074,863,795,1005,681,471,631,639,502,387,391,386,533,652,690,697,664,645,701,569,459,525,612,688,623,609,631,527,463,539,799,1164,1248,1504,1370,1296,1206,1168,1298,1182,618,456,522,584,911,792,817,948,1238,1372,1266,1021,1066,1312,1294,1352,1048,1050,977,831,542,428,525,487,364,398,393,379,418,467,515,728,814,811,635,503,663,1114,1202,1234,1162,985,1206,1144,1078,1166,1200,1372,1282,1182,1112,1096,1248,1388,1490,1414,1390,1418,1186,1528,1334,1098,986,843,1005,1144,919,918,778,474,865,1130,1228,1430,1246,1030,1096,1218,1200,1018,1030,1040,709,811,830,775,707,509,344,341,380,708,886,1096,1692,2026,1588,1350,1011,1114,1286,1136,1254,1574,1386,1096,1332,1326,974,678,808,1054,1306,1036,896,742,896,1180,1010,791,999,1300,1492,1598,1280,1078,622,847,1410,1290,1264,1410,1250,1066,1202,1522,1686,1396,1164,1274,970,1206,1160,1044,1078,1404,1156,1256,1472,1074,856,866,830,750,932,727,594,656,739,645,635,532,460,588,1008,1050,891,1388,1402,1302,1110,998,715,658,1044,1184,816,876,821,572,691,709,761,1062,1422,1068,954,655,675,1278,1100,615,655,573,601,719,1670,2190,1166,493,510,362,314,302,535,909,1314,1584,791,770,1440,1172,707,458,1012,1302,1162,1340,1252,1104,1378,1480,1426,1138,720,592,1130,1566,1092,911,854,1032,858,789,1296,1296,1498,1044,595,915,1532,1464,1400,1084,1058,1418,1450,1136,815,663,738,854,1414,1554,1548,1208,774,888,685,633,849,1128,1258,1258,1256,943,948,1144,1356,1508,1504,1412,1380,1076,1130,1270,1336,1318,1198,1184,722,447,629,1166,1446,1472,1224,1378,1112,648,728,981,1152,1416,1266,1590,1598,1538,1654,1816,1558,1280,1118,1088,1146,1074,719,683,972,1102,1124,977,893,1036,677,394,333,271,257,352,639,1170,1138,1252,1330,1302,1488,1516,1174,857,893,994,954,1146,1180,1214,1114,1256,1248,1082,1194,1246,818,803,1128,1026,846,699,583,871,1036,1520,1742,1362,947,883,931,1094,1182,771,432,430,516,651,764,679,745,1352,1376,1498,1620,1476,1520,1582,1560,1636,1422],[969,1020,1036,987,940,570,335,350,284,370,558,584,656,748,777,609,386,304,368,449,368,341,337,349,268,372,493,553,557,527,448,435,468,414,422,760,1456,1058,1164,882,717,744,623,524,634,839,807,880,946,1036,930,918,1266,1296,1398,1640,1680,1620,1352,1023,767,517,420,452,536,589,636,1144,1568,1234,694,824,1172,1032,1042,1224,1514,1678,1356,1588,1600,1180,1218,1438,1280,905,583,598,540,741,741,646,701,406,395,428,636,645,667,944,1126,1288,1017,458,367,435,466,694,535,915,1742,1348,551,302,659,1292,1422,1266,443,572,1222,1278,1208,1038,760,1017,1294,1392,1452,1608,884,605,802,1310,1692,1390,1302,1120,961,806,765,1086,1476,1360,1114,986,1466,1540,1476,1015,1186,1196,927,659,642,531,432,401,597,1048,1080,627,503,777,899,1682,1436,677,504,516,413,366,635,623,563,469,586,962,1018,1162,1422,1410,1332,1410,1314,1206,738,433,416,388,720,1016,609,672,721,495,422,396,385,431,470,428,506,456,618,808,1218,1212,1530,1848,1560,1406,1410,1306,1280,831,576,945,1072,649,467,345,435,493,536,815,766,999,1432,1009,563,485,563,876,997,995,1114,1346,1126,671,419,383,372,514,915,1210,1226,812,617,543,491,476,467,528,625,615,686,871,929,1112,1024,720,574,708,718,615,574,543,468,451,467,481,442,409,384,497,459,381,1238,832,571,814,641,653,922,927,955,779,746,933,1188,1178,1328,1328,1168,1124,1244,1104,1250,1176,1224,1184,1274,1152,734,496,487,540,769,1044,985,888,828,567,622,518,413,396,476,596,586,1023,1370,1222,1098,1130,1084,1150,1264,1130,662,497,863,1180,1084,647,439,636,630,543,618,521,386,405,657,556,458,543,670,731,830,761,520,507,490,520,863,1080,1194,1058,656,499,485,424,781,1224,1080,857,789,880,971,797,841,822,814,919,1436,1550,1176,678,571,723,1164,1766,1998,1614,1220,1262,1050,633,539,657,754,790,616,517,586,565,708,912,1066,1266,1268,1184,955,620,645,1038,1312,1578,1666,1548,1278,1116,1122,1017,1246,1598,1612,1410,1278,1238,1336,1200,1068,905,651,666,496,482,947,1142,1078,734,477,413,469,484,684,1112,974,938,834,858,1001,775,944,1042,662,448,433,421,502,819,1108,1182,736,535,615,714,828,1216,1196,947,1170,1572,1688,1550,1444,1348,1432,1130,985,1100,982,681,614,636,785,808,780,918,1154,1032,1040,1776,1152,1534,1780,2072,2072,1886,1946,2050,1844,1844,1880,1840,1064,805,682,643,727,659,553,504,471,545,758,905,1034,1222,1354,1318,1282,1116,783,800,1322,2014,2354,2362,2334,2284,2322,2352,2310,2266,1958,1642,1504,1122,900,963,858,616,381,389,471,597,508,401,392,397,407,410,394,509,881,1256,1362,1328,1009,1234,1248,1196,1390,1512,1804,1664,1252,1156,1316,1364,1464,1234,1324,1342,1420,1516,1460,1148,669,514,886,1198,1284,1474,1224,1028,1206,1066,962,1050,575,775,1266,1502,1422,1268,1186,834,749,909,999,707,850,1050,1128,1158,1246,1542,1464,1316,1120,859,735,857,978,1160,699,943,1276,1118,922,886,920,776,677,952,1190,1320,1028,1068,1366,1194,835,941,1244,1420,1844,1698,780,866,1356,1130,848,680,619,459,837,1522,1646,1116,555,386,324,372,406,339,303,274,293,311,323,495,686,547,756,1678,1908,1516,1302,843,950,534,959,1298,1036,662,813,806,463,602,688,542,671,584,410,344,365,647,753,813,912,587,481,375,425,863,907,807,976,820,811,657,899,1360,1410,1628,1958,2336,2098,1474,877,779,863,1262,1346,945,1488,2326,2636,2224,1010,561,567,606,998,1102,979,871,626,535,417,700,1302,1152,797,726,534,625,792,666,669,1130,1028,815,893,1366,1302,755,579,962,1288,1042,544,368,398,633,759,704,1308,1360,1166,1226,1198,1054,1180,1108,681,871,1636,1656,1710,1562,1308,1272,1266,1148,1062,1148,1172,1130,1206,1272,1252,1050,1042,1072,1204,1136,990,987,1542,1852,1554,1436,1252,1202,1234,1228,1019,902,771,750,624,474,397,456,567,683,634,532,351,623,1898,2784,2642,1738,865,692,760,830,1012,1196,1156,1186,887,1058,1110,1058,802,966,896,819,1004,859,746,900,792,805,974,973,1142,1036,899,897,948,975,1160,1092,994,1044,890,764,603,339,305,283,354,438,567,655,689,670,854,1018,805,816,428,285,300,425,341,825,807,502,653,1070,1216,671,372,346,372,411,305,270,307,302,498,484,345,356,487,630,747,781,414,410,711,1198,1250,1362,1332,1130,760,538,645,523,515,352,384,449,584,725,608,512,589,595,493,436,503,483,494,837,913,989,793,746,749,1142,1194,1184,1250,902,1506,2946,3308,1980,2044,2098,1980,1890,1838,1538,1714,2196,2244,1696,1330,1222,805,1076,1476,1294,1710,1704,1384,1130,1332,1688,1124,969,981,930,1172,1230,1216,1310,1572,1752,1384,1044,1296,1058,676,959,1172,1212,833,591,772,771,730,709,561,541,472,1224,1738,1114,819,719,1064,1534,1276,1448,1492,1454,1682,1634,1500,1478,1398,1420,1338,1210,717,547,942,1416,1360,1482,1742,2052,2356,2604,3020,3204,3458,3552,2374,908,741,609,684,608,841,1112,1062,1122,1346,1580,1196,843,980,1260,1296,1300,1370,1240,1184,1218,1236,1330,1302,1428,1258,992,868,992,1136,1288,1144,1026,1042,1118,1090,1090,1024,918,895,894,1136,1274,1368,1080,1076,1182,1266,1424,1356,1302,1316,1406,1468,1418,1296,1134,1276,1260,1212,1372,1532,1306,1092,935,921,1142,879,410,328,421,803,1428,1636,1312,990,1056,999,936,1240,1700,1464,1268,1174,1068,1184,1216,902,979,1010,1118,1468,1498,1470,1766,1810,1576,1362,1174,1278,1696,1692,1346,932,913,1152,1132,1322,1428,1494,1272,1444,1494,1264,1230,1362,1064,866,930,921,877,783,675,703,827,771,922,871,836,805,744,980,883,582,643,694,985,944,850,968,1044,940,893,865,792,856,863,798,932,972,1052,1021,990,1098,1192,682,506,407,843,1048,800,792,1118,1256,1156,1160,1312,1140,907,844,1146,1068,1038,1078,857,672,639,720,811,980,1166,1138,918,1114,1490,1470,1042,1478,2092,1572,1048,1124,766,537,909,627,471,503,1056,1478,1292,703,382,432,607,615,456,826,897,481,314,338,509,545,404,337,368,349,296,326,355,320,328,379,382,358,351,368,448,616,1078,1484,1534,1484,1296,994,678,574,632,713,930,908,815,532,351,353,389,437,469,570,689,731,999,1180,1198,1036,1194,1092,1034,1240,1230,907,1013,1164,1220,927,1054,1194,1154,1048,1114,988,871,984,972,949,934,771,1286,1344,1262,1166,1212,1396,1176,669,469,402,532,600,405,388,462,697,782,800,700,595,582,780,768,546,507,474,585,572,515,481,440,443,462,700,843,1230,1376,1236,1122,960,1258,1214,764,450,432,492,855,1222,1196,1222,1214,1128,1366,1472,1538,1332,1384,1510,1432,1378,1234,1050,907,688,520,519,498,406,393,416,379,374,457,543,854,908,947,885,632,813,1242,1332,1312,1228,1228,1376,1192,913,1044,1196,1396,1356,1208,1206,1384,1332,1464,1636,1372,1322,1498,1302,1350,1320,990,826,946,847,976,1154,1184,824,759,1238,1168,1274,1212,1062,866,812,1218,1346,1302,1202,1106,800,554,477,689,820,630,364,337,510,795,1058,940,1296,1496,1112,1234,943,1132,1042,821,1014,1418,1222,944,1086,1198,1026,677,767,1104,1088,1200,998,832,1174,1412,1308,1162,1320,1418,1448,1626,1418,1202,914,1028,1360,1316,1230,1340,1096,1016,1420,1498,1422,1354,1220,1046,854,1676,1548,1134,1092,1096,1136,1500,1384,1236,1648,1236,1120,847,702,673,702,814,749,560,480,501,652,1180,1462,1268,932,1042,1280,1368,1130,933,944,1226,1114,985,879,1018,706,596,800,954,802,1078,1346,1234,1264,867,714,1282,1092,797,630,699,988,1050,1626,1614,652,336,365,335,392,514,555,704,817,612,372,854,1692,1186,590,626,1166,1458,1422,1298,1282,1318,1316,1212,990,1162,1010,987,1068,1206,1338,1005,570,828,920,1032,1262,1098,1170,672,462,992,1352,1394,1250,1050,1190,1332,1164,1050,1196,1042,922,1448,1516,1144,1284,1086,874,1144,759,343,765,1318,1428,994,996,1336,1784,1536,1532,1482,1186,1234,1062,571,617,1048,1432,1400,1042,742,586,536,921,1296,1266,1160,1188,1322,1334,883,827,1086,1152,1186,1070,1528,1562,1244,1446,1818,1886,1548,1042,1044,1282,1284,1013,767,1358,1512,995,512,502,560,436,309,242,246,311,393,513,861,914,1138,1246,1440,1538,1428,1144,941,867,889,816,924,1292,1650,1450,1362,1598,1018,717,1030,1066,940,1222,1160,877,687,730,1160,1294,1696,1656,1202,690,637,691,936,1138,860,541,447,483,653,556,417,554,932,1180,1456,1504,1444,1508,1400,1470,1444,1122],[1018,901,894,822,717,442,387,401,334,365,481,578,628,730,717,545,391,460,379,480,390,329,332,363,349,421,562,571,569,541,510,490,466,373,446,702,1438,1470,1312,1078,965,1070,1104,976,890,982,969,1300,1066,1100,1128,1896,2118,1428,985,1024,1204,1182,897,805,650,536,461,483,492,536,767,1490,1864,1256,999,1772,1602,714,590,911,2074,1802,1330,1378,1314,1088,1508,1744,1622,1222,606,521,473,505,565,680,562,380,434,608,827,600,694,1154,889,654,565,437,384,467,476,724,999,1438,1824,1884,1310,748,993,1410,1300,1042,483,713,1072,1208,1198,780,902,1154,975,1218,1198,1010,565,597,597,866,1028,1372,1564,1146,664,651,995,1160,1021,1002,1086,1248,1354,1244,979,477,713,1278,1334,1164,1090,944,481,446,597,659,595,531,780,912,808,716,537,547,538,535,396,381,611,558,368,362,523,601,504,535,796,961,1220,1282,906,975,684,406,369,308,604,689,482,534,686,595,390,369,389,437,475,377,463,518,750,1080,1248,1258,1368,1532,1516,1410,1074,1148,1198,1050,960,1021,1032,1006,703,405,668,714,384,493,772,1294,1262,921,665,542,419,935,1504,1232,782,873,888,730,615,395,332,445,536,1008,1354,933,729,537,373,289,283,263,326,275,510,729,868,893,992,941,650,521,466,491,558,485,414,447,493,483,443,367,380,490,517,469,530,612,500,797,703,677,1116,712,365,329,516,929,1098,1302,1378,1290,1396,1246,1224,1264,1258,1138,1152,1188,1172,1190,1090,800,554,478,609,1020,998,905,824,600,621,477,440,473,408,339,395,818,1220,1009,976,1026,990,1064,1036,1062,624,378,618,974,1232,927,538,663,656,557,501,499,546,513,473,487,541,560,508,505,670,703,529,424,416,471,1040,1502,1462,1180,706,424,468,459,798,1428,1278,1094,1162,1132,1020,868,1094,955,751,807,1032,1268,1170,858,857,970,1320,2074,2304,2100,1704,1450,1144,687,611,642,1000,1294,1094,969,758,597,567,786,1234,1060,962,1222,1118,705,569,769,761,1034,1468,1540,1556,1328,1118,1128,1300,1630,1616,1340,1286,1138,1224,1196,1216,1246,658,524,542,410,434,760,896,675,531,551,538,440,838,838,1000,1032,874,849,884,821,812,690,576,427,431,381,451,512,700,883,937,859,818,849,964,1080,824,841,1216,1394,1614,1596,1512,1642,1942,1318,995,1021,686,635,689,599,550,551,1256,1556,1210,951,978,1418,1670,1952,2146,2302,2478,2200,2202,2396,2020,1878,1864,2014,1406,758,441,391,408,437,561,761,951,1130,1260,1412,1652,1856,1864,1480,1030,719,821,1504,2310,2680,2784,2734,2670,2598,2308,2468,2644,2530,2186,1754,1546,1296,1188,1248,1013,850,700,495,468,522,452,399,391,390,412,441,420,499,968,1296,1308,1210,1032,881,1007,1170,1596,1858,1634,1158,746,923,1038,1288,1682,1288,1354,1324,1354,1538,1368,893,692,689,902,1106,1186,1520,1576,1424,1852,1482,1130,995,1182,1476,1270,1280,1600,1606,1566,1234,926,781,1138,1566,1726,1300,1154,1432,1432,1254,1086,944,1074,1164,965,870,818,658,657,1266,1202,617,615,956,1042,918,931,1032,1258,1354,1048,1334,1272,920,789,664,731,1000,1572,1416,866,841,803,819,1218,1066,771,666,1001,1160,1138,879,442,324,284,327,356,293,272,285,324,349,338,521,745,500,705,1798,2388,2308,1208,803,913,792,1322,1912,1504,650,625,579,448,553,996,1488,1354,707,422,349,381,486,581,802,706,473,477,414,506,675,747,1074,1016,963,1058,907,1120,1022,966,1250,1722,1810,1426,959,938,769,738,644,496,498,612,1132,1660,1282,644,755,560,417,555,926,1136,947,700,698,551,604,874,630,601,674,589,557,590,597,670,826,968,846,1120,1588,1170,762,709,1194,1714,1688,751,430,656,1030,1006,808,854,902,1116,1294,1302,1102,1140,1282,1108,915,1166,1278,1536,1278,1096,1300,1372,1272,1064,1038,1090,1022,1126,1246,1232,1158,1068,1058,1096,1009,973,1012,1378,1750,1374,1324,1214,1154,1278,1414,1260,1164,1228,1160,1050,827,411,406,404,437,485,512,462,1156,1954,1968,1898,1402,807,759,631,580,735,1154,1438,1504,787,1088,1446,1084,605,622,527,651,921,783,789,933,821,913,844,891,849,889,1074,957,926,1096,959,956,1092,1274,1430,1346,1090,891,620,506,553,428,387,528,536,568,724,874,725,624,419,362,416,369,415,899,835,536,598,597,656,665,426,387,393,380,273,265,285,290,328,294,237,326,421,555,544,400,393,638,1080,1358,1372,1418,1248,1390,1272,1118,899,683,678,703,743,594,568,739,676,490,468,423,487,685,1074,1062,847,1114,1134,827,741,757,1050,1244,1088,1220,1200,1240,2008,2220,1914,2168,2464,2308,2072,1930,1678,1322,1518,1786,2136,2170,1528,899,958,1352,1564,1316,1448,1550,1356,1100,992,908,883,1102,1094,974,954,1001,1078,1420,1816,1794,1274,1008,1262,971,720,968,1188,1146,716,584,814,702,597,625,608,521,675,1588,2102,1334,803,713,1064,1252,1324,1534,1416,1338,1372,1318,1360,1282,1130,1218,1144,822,677,542,1012,1480,1068,1184,1754,1908,1830,1808,2120,2172,2102,2196,2316,1236,543,495,654,547,688,1034,1007,1242,1468,1768,1196,990,1138,1200,962,960,1268,1310,1266,1378,1198,1270,1212,1116,833,762,1012,1006,1294,1368,1208,1138,1138,1150,1070,1036,1028,885,819,913,744,560,579,702,1040,1180,1148,1212,1224,1284,1268,1242,1294,1246,1262,1122,1122,1058,1092,1300,1184,1088,1262,1246,1212,1256,745,327,365,553,1138,1326,1214,1094,1194,1020,736,906,1332,1256,1318,1218,1412,1284,1180,1030,749,828,960,1054,1290,1316,1470,1948,1560,1630,1508,1340,1416,1562,1696,1498,1098,962,1208,1234,1254,1010,1308,1296,1422,1314,1292,1534,1520,960,689,711,837,753,750,719,717,684,671,763,544,579,775,544,465,539,407,378,601,1114,800,456,532,994,1044,877,834,748,852,1052,1198,1380,916,1212,1412,1214,1072,786,580,626,533,626,984,1102,1056,1011,1118,1282,1256,1310,1294,1208,1060,1134,1204,1164,736,487,678,777,844,587,832,1086,1234,1104,1332,1610,1476,1208,1604,1984,1410,813,719,634,522,1014,756,832,789,1028,1542,1252,679,462,443,560,502,468,854,855,511,353,359,554,617,520,489,499,562,571,518,449,356,348,382,376,348,346,368,453,651,1124,1506,1482,1182,778,672,720,845,853,901,912,753,583,438,583,586,549,892,999,678,535,613,1128,1480,1190,996,1088,1176,1060,971,1038,739,901,1086,1188,1138,1222,1120,963,974,1004,803,733,1015,975,970,756,494,778,1012,1030,957,799,855,791,624,451,360,407,593,573,508,508,536,714,869,794,645,637,825,894,711,644,639,724,643,561,487,458,454,524,576,677,1128,1252,1210,1116,1266,1023,1120,993,565,439,689,903,1017,1284,1378,1114,861,1144,1462,1500,1394,1538,1364,1188,1312,1332,1176,977,830,536,372,436,563,471,488,450,364,372,483,656,720,855,960,741,745,1078,1494,1394,1196,1050,1056,1218,1308,1284,1464,1716,1398,1332,1396,1332,1274,1726,2126,1634,1222,1268,1224,1220,1306,1194,1016,951,1044,1028,1148,1144,1088,1098,1114,1142,1078,746,911,1082,1028,1358,1446,1344,1358,1194,858,522,395,451,623,598,464,565,835,849,767,867,1234,1158,907,1120,1110,1256,1070,900,907,1088,1114,991,660,761,674,736,1092,1228,958,592,483,899,1236,1210,879,803,1126,1340,1522,1536,1272,994,825,997,1464,1278,1076,1370,991,770,1007,788,874,1118,1128,772,960,1514,1290,946,1126,1576,1724,1558,1432,1998,1690,1030,900,719,750,789,630,550,694,687,546,552,811,1336,1076,1210,1246,1304,1376,1246,1332,1238,1556,2070,1238,1138,1394,1166,910,1238,1268,1084,756,879,971,1076,1676,1408,662,670,844,773,713,733,786,716,848,780,558,450,421,400,553,789,758,716,631,408,383,1108,1586,931,433,498,781,1184,1492,1226,1348,1188,973,1078,1086,1012,891,1164,1336,1228,1216,874,444,628,1124,1376,1282,1530,1570,1078,768,1024,1296,1220,1094,954,966,1176,1216,1088,1256,1194,1024,1760,1544,1166,1210,889,1072,1284,691,427,896,1290,1200,1110,667,1128,1308,1106,1166,1210,1442,1620,1146,789,690,1092,1580,1366,1038,1088,918,821,1124,1318,1194,1138,1282,1460,1598,1244,927,918,785,541,647,1044,1052,1136,1482,1676,1722,1512,1090,1134,1218,1384,1302,1116,1316,1142,602,390,464,423,354,261,253,287,313,369,565,579,601,830,1092,1172,1332,1516,1328,883,832,775,1120,1104,1178,1358,1386,1484,1522,1190,854,998,1178,745,993,1130,1272,1438,1308,1154,1068,1034,1196,1132,633,594,666,778,767,664,583,558,495,549,567,554,834,1144,1310,1386,1456,1450,1482,1440,1468,1474,921],[913,734,618,525,357,376,489,476,437,333,349,389,354,525,650,616,626,786,526,486,413,332,319,338,402,606,707,533,538,519,517,420,349,357,339,494,900,890,657,701,1064,1466,1396,719,539,603,1420,2014,1416,1001,872,1204,1270,826,427,532,664,615,612,988,847,628,759,745,797,861,1088,1610,1518,963,1178,1588,1338,677,563,788,1274,1232,829,732,936,1120,1208,1360,1360,885,561,535,466,429,517,720,612,535,601,591,576,954,1208,866,478,357,457,365,293,458,426,469,1030,1552,1920,2092,1750,1496,1644,1318,1454,794,453,730,974,1318,1370,946,1062,1364,962,1080,896,900,1030,830,819,661,776,1698,1968,1300,1074,1054,1202,1078,979,1242,1180,1228,1256,1540,1090,520,724,963,1078,1454,1422,1298,791,853,1022,948,817,1230,1436,1082,771,457,394,472,555,428,343,518,660,711,504,371,319,291,328,424,594,726,1001,670,573,717,625,404,355,440,403,422,395,480,787,683,433,383,445,416,437,430,475,554,733,1088,1562,1908,1470,1190,876,996,1310,1448,1326,1318,1260,1068,1106,1184,1080,634,630,630,467,507,1108,1268,795,575,673,598,440,676,1082,1324,1005,868,1074,1112,1276,667,514,815,677,1058,1266,942,820,678,486,326,291,338,370,314,722,1114,1284,985,816,748,501,425,392,455,450,451,405,468,513,494,486,442,473,554,546,466,562,689,502,584,679,669,808,475,341,434,694,980,1064,1264,1288,1350,1458,1294,1104,1092,1100,1238,1278,1450,1482,1300,1386,1234,981,614,657,975,1084,1042,926,850,740,789,1066,1034,611,363,434,791,1220,1294,1024,944,808,1100,1230,1216,712,432,503,707,891,790,728,678,732,747,518,488,605,568,487,465,524,563,543,694,820,780,580,567,698,634,949,1526,1620,1224,687,406,451,557,705,1278,1312,1268,1344,1362,1194,1152,1364,1120,888,935,943,908,1005,1208,1218,1234,1860,2338,2352,2198,1904,1792,1328,688,655,636,966,1228,1130,1130,1156,1058,855,792,1054,948,824,857,599,550,883,914,876,892,1148,1636,1798,1542,1450,1340,1422,1610,1466,1492,1536,1452,1334,1108,1060,1278,799,949,925,504,510,641,630,637,554,596,918,1224,1566,1001,1360,1200,544,558,619,543,659,861,714,404,427,410,482,563,761,843,948,927,774,676,767,917,855,922,1028,1350,1536,1424,1684,1942,1648,1220,1148,805,643,692,680,650,675,803,1462,1542,1528,1824,1970,2046,1910,1470,1124,1570,2646,2182,2018,2052,1840,1616,1444,1194,804,641,672,763,861,976,1108,1178,1232,1342,1562,1874,1990,1822,1314,748,510,693,1282,2042,2446,2630,2642,2408,2200,2240,2136,2152,2274,2388,2162,1808,1610,1460,1350,1272,1218,1094,1094,823,745,777,631,444,373,370,444,508,575,805,1060,1308,1378,1262,1174,1224,1346,1194,1346,1504,1042,684,1004,1040,1064,1124,1552,1506,1178,962,1086,1384,1178,750,853,1106,814,586,961,1534,1400,1072,1322,1516,1216,925,1168,1252,1198,1406,1510,1490,1698,1504,1060,846,1112,1306,1174,915,959,1186,1316,1546,1332,1076,1264,1294,874,619,975,1282,1334,1386,1252,786,788,1182,1032,933,1054,1310,1102,1308,1498,1344,933,672,637,510,533,770,1290,874,665,655,566,711,804,1010,1122,937,735,590,602,543,354,295,269,309,344,324,289,295,396,390,314,471,807,473,658,1974,2658,2212,954,751,1078,1094,1198,1470,1212,525,552,717,630,664,1350,2010,1512,669,467,415,387,448,698,832,756,882,584,522,681,862,843,873,1202,1428,1330,1562,1408,857,1050,834,1100,1292,1246,1120,762,594,591,401,322,348,485,632,641,571,703,899,770,434,507,856,910,966,1228,1278,724,577,761,428,521,836,705,542,444,551,1007,849,995,1222,1320,1576,1260,843,688,913,939,1000,480,394,1023,1368,1140,846,692,819,963,1140,1274,1048,1146,1316,1084,884,960,1072,1166,1026,1040,1276,1242,1194,982,975,930,790,905,1062,1072,930,1015,1130,1122,1026,908,971,1166,1732,1362,1474,1260,1122,1392,1484,1386,1494,1516,1470,1740,1542,920,625,497,388,411,455,504,1188,1720,1900,2020,1322,852,788,584,621,838,1198,1430,941,507,1080,1346,795,547,526,471,458,507,521,533,587,565,946,1032,969,821,920,962,644,655,882,1018,1186,1023,1224,1406,1354,1324,1218,1158,1240,1190,1054,907,833,748,702,510,540,563,440,326,421,590,494,533,882,569,681,838,815,745,513,301,347,335,262,233,222,303,480,376,360,447,362,314,251,192,232,379,719,1166,1074,1044,1160,948,1300,1180,1240,931,841,1062,1672,1398,744,405,433,716,680,503,645,882,1378,1994,1594,1382,1382,1206,1021,859,1028,1260,1076,1134,1148,1170,1782,2082,1814,1696,2004,2266,2468,2480,2318,1892,1726,1820,1566,1736,1626,1098,850,1138,1492,1742,1512,1390,1510,1320,910,1064,1102,752,749,862,930,1078,1150,1046,1394,1824,1688,1246,1024,1104,1062,858,959,1140,1064,676,614,776,668,560,613,660,602,513,897,2200,1776,907,655,811,858,1120,1396,1486,1520,1416,1418,1568,1146,956,1050,1124,925,768,666,1034,1484,1222,1344,1782,1688,1620,1920,2702,2956,2478,2048,2072,1314,576,477,615,680,906,1310,1372,1224,1466,1678,1174,1098,1158,961,981,1158,1310,1378,1406,1500,1296,1542,1302,1174,969,1092,1270,1160,1220,1260,1196,1312,1326,1134,1086,1001,1150,1190,1016,1034,785,730,835,894,1264,1246,1296,1754,1328,1302,1148,1110,1282,1228,1186,1108,1144,1190,1136,1108,1072,1288,1438,1202,879,838,658,430,399,606,905,1074,1168,1332,1262,1396,898,608,1170,1326,1250,781,1022,1266,1098,974,916,953,1130,1194,1334,1494,1588,1208,985,1212,1344,1388,1242,1486,1674,1612,1536,1386,1302,1216,1013,1018,1294,1204,1180,1404,1526,1520,1346,861,724,722,857,766,706,677,714,766,659,509,436,527,573,372,362,423,318,280,282,451,390,321,434,703,816,926,1360,1504,1052,863,838,1134,830,1402,1766,1386,1182,896,677,901,1052,770,960,1052,1134,1002,877,958,1024,1110,1358,1288,1086,1120,1278,1186,1136,1146,1200,808,908,711,589,916,1074,1104,1602,1768,1266,954,1268,1364,1368,969,800,726,866,1144,1376,1754,1340,1076,1492,1372,815,529,611,596,454,555,753,702,609,477,428,627,805,603,455,467,484,443,393,371,361,389,424,426,505,550,511,565,753,968,1260,1302,847,433,453,667,990,1140,1218,1050,571,519,605,1023,1228,1178,1162,1196,808,678,757,1344,1536,974,1058,1390,1398,1148,672,803,675,788,883,1068,1238,1290,1176,978,869,1008,930,930,1080,1188,1338,1058,697,662,1005,1268,959,452,436,401,341,297,347,385,443,722,813,616,462,468,596,686,692,943,1005,1013,1015,927,960,914,828,727,561,514,538,725,802,1034,1290,1164,1082,1362,1350,971,1512,1316,840,672,894,998,951,1136,1382,972,643,1112,1444,1352,1364,1338,1088,879,1036,1278,1218,953,966,672,452,436,440,430,469,438,370,447,558,608,833,871,801,808,698,839,1096,1106,921,899,1126,1250,1246,1224,1438,1532,1600,1588,1396,1178,1456,1692,2136,1542,1182,1268,1294,1200,1212,1302,1338,1140,1276,1124,988,1248,1290,1002,828,1023,1013,958,1228,1250,1164,1180,1310,1318,1258,1054,650,462,642,888,723,639,1188,1106,1096,992,578,873,1328,1208,1214,1318,1282,922,695,864,905,1020,1268,1382,955,903,729,858,1124,1110,1078,831,795,1154,1210,949,515,458,773,1198,1318,1318,1080,1410,1540,1136,1092,1178,1098,1370,962,874,1034,1120,1200,1234,1015,985,1524,1564,1104,960,1278,1526,1538,1358,1396,1222,811,880,921,893,873,763,835,629,666,605,710,689,888,1150,991,1078,1146,1382,1382,1162,1376,1344,1376,1836,1404,1400,1084,962,1476,1660,1472,1250,738,652,711,1032,1578,1310,583,466,630,775,1092,966,624,533,564,631,711,1024,1134,645,666,807,465,354,472,436,532,1278,1488,755,666,705,593,660,884,1104,1076,875,836,865,1092,1058,895,1238,1534,1258,902,821,655,1178,1516,1602,1462,1368,1384,1262,910,996,968,775,1210,1078,741,1310,1538,948,927,1304,1334,1332,979,970,1208,927,1090,1036,706,933,880,658,637,793,704,853,998,1096,1432,1594,1376,1450,1040,1116,1064,733,902,1322,1326,881,933,1270,1268,1452,1408,1268,1332,1604,1490,1104,1202,855,468,406,495,686,1206,1598,1224,1238,1360,1636,1432,1222,1318,1458,1310,1294,1354,1108,635,584,777,533,335,293,319,317,419,534,580,436,337,466,630,767,1052,1532,1282,1170,1308,1340,1470,1412,1214,981,1028,1236,1456,1704,1582,1110,1346,1007,989,1264,1340,1688,1642,1326,1278,860,818,951,1198,1284,1290,1296,1140,891,803,716,554,633,795,907,933,1090,1370,1616,1286,1074,1316,1440,1466,1074,753],[628,497,400,392,361,423,516,563,518,354,335,395,285,309,489,661,768,905,689,464,415,368,341,368,445,551,520,521,369,353,375,305,266,299,264,270,404,450,433,549,932,1214,1246,737,530,565,1418,1714,1322,821,500,547,630,517,463,550,571,574,535,1007,1464,1526,1144,748,973,1272,1188,1188,1106,834,770,833,882,759,675,624,589,539,474,725,1078,673,458,713,711,968,1084,730,555,555,684,814,839,952,1040,1170,990,1152,914,461,387,444,590,604,554,430,474,538,670,1170,1348,1278,1118,1184,1056,821,877,748,629,478,698,1300,1306,764,724,1112,929,990,1174,1534,1400,963,803,638,863,1308,1600,1324,1218,1248,983,1116,1462,1402,1328,886,718,827,520,555,833,555,491,924,1410,1302,1246,1544,1536,1220,1106,1174,970,907,627,397,409,442,508,458,624,596,484,518,440,393,365,378,368,365,479,577,930,590,498,685,745,660,708,849,455,521,455,636,841,631,485,574,602,461,420,446,497,504,598,913,1238,1608,1146,694,772,1222,1428,1416,1520,1606,1326,1158,880,960,1444,1036,736,670,653,1002,1304,855,611,962,1088,582,354,515,977,1234,1440,1268,1154,1368,1648,981,864,1100,802,778,1070,1086,761,896,738,459,388,466,532,600,872,1294,1590,1162,877,760,467,411,458,418,386,448,488,498,487,510,540,575,694,781,639,477,435,476,419,462,551,532,480,354,400,573,836,1134,1252,1144,1236,1346,1346,1222,988,745,1108,1406,1200,1302,1328,1308,1372,1356,1262,831,828,630,872,1017,963,988,919,870,1014,1094,694,375,364,587,1510,1504,996,691,826,885,932,902,615,456,497,456,516,579,662,730,655,798,709,430,467,589,524,467,693,948,965,775,551,588,556,540,727,763,891,1318,1340,1104,604,454,444,530,548,899,899,799,913,1166,1046,1030,1005,908,1072,1294,1394,1390,1326,1200,1138,1366,2020,2302,2236,2072,2046,2062,1368,647,522,530,780,1032,1178,1122,1062,1036,958,932,964,1108,1044,780,735,698,808,790,1020,843,835,1448,1390,1294,1548,1604,1584,1474,1316,1364,1308,1324,1338,938,728,790,1176,1580,1132,801,732,665,525,521,592,877,1056,1014,691,659,1458,1484,835,709,472,389,511,834,761,944,827,503,460,529,683,877,1030,854,567,476,471,481,536,622,962,1542,1560,1610,1754,1542,1204,1384,1148,609,601,598,597,792,927,1007,1422,1738,1910,1802,1460,1110,902,836,940,1126,1750,1694,1494,1388,1228,1066,1042,1026,1054,1128,1242,1356,1388,1394,1444,1608,1842,2014,2046,1760,1244,786,471,411,467,592,1182,2060,2416,2476,2392,2172,1942,1920,1906,1944,2026,1978,1850,1844,1726,1464,1456,1340,1406,1288,1019,1092,1266,1054,868,728,524,626,644,567,717,996,1080,1182,1218,1158,1088,1260,1362,1154,1012,1066,976,1268,1540,1210,1058,1134,1334,1184,1005,986,862,1070,1106,1118,1390,1390,981,694,697,1028,908,811,1092,1146,1234,935,788,1060,1078,917,1050,1128,936,899,764,718,1032,1052,951,840,713,1288,1758,1674,1044,1060,1576,1646,1130,1140,1646,1812,1924,1838,1364,767,1072,1482,1198,1294,1534,1362,1102,1360,1374,1238,1240,1026,922,789,957,1018,1246,1570,1472,1112,867,495,589,794,675,879,619,752,673,574,424,318,437,639,665,766,552,412,574,383,311,494,839,736,1196,1720,1694,1590,1490,1290,1072,1100,1382,1870,1380,856,854,968,918,710,785,1190,965,581,450,455,397,696,1390,1158,1118,1548,1444,1010,1094,1664,1398,982,1216,1522,1578,1716,1464,1282,1640,1134,967,984,1242,1350,1050,957,658,325,376,362,298,329,469,514,488,792,874,712,811,930,1042,1016,1188,1378,946,978,792,580,832,1212,1172,1144,772,732,1072,743,664,1222,1354,1326,1118,643,660,766,540,432,347,498,875,1028,822,608,648,874,980,1396,1322,1190,1368,1268,1058,1064,1260,1348,1156,1314,2244,2008,1248,1090,1062,1074,1066,1196,1224,1382,1426,1086,1088,1138,1070,950,908,1046,1042,1256,1262,1386,1324,1260,1322,1432,1542,1600,1502,1354,1394,1526,1274,974,972,949,637,392,497,806,960,1256,1296,1028,1118,974,693,681,1152,1190,1208,827,747,1550,1446,912,841,927,702,688,669,562,509,469,435,587,700,739,751,1134,1296,838,971,1312,1238,1088,790,1020,1366,1216,993,1050,1196,1142,1216,1282,1194,1290,1312,1156,897,717,623,491,312,309,344,344,562,946,498,580,786,905,927,658,409,383,360,333,248,277,437,597,380,424,479,388,511,386,374,432,348,531,735,481,651,756,748,966,693,1186,1334,841,857,1036,801,528,299,337,555,764,683,730,1014,1294,1578,1594,1622,1572,1440,1080,1042,1268,1102,1108,1162,1014,1194,1294,1402,1684,1974,2012,1970,2214,2352,2428,2200,2176,1892,1858,1968,1446,999,1246,1220,1576,1842,1578,1444,1498,1222,714,935,759,520,534,736,957,977,818,836,1194,1604,1594,1036,1004,786,739,827,959,1106,937,624,690,781,644,585,637,673,595,574,1058,2422,2026,1052,732,840,980,1106,1372,1450,1532,1430,1360,1516,1108,892,1040,1254,952,669,825,1202,1392,1262,1488,1604,1402,1310,1494,2608,3418,3104,2358,1836,1200,645,521,631,709,831,1208,1310,1007,1174,1614,1316,951,944,996,1124,1072,1224,1358,1220,1386,1242,1744,1610,1344,1232,1178,1120,1096,1330,1428,1274,1318,1316,1186,1120,1076,1296,1220,994,1086,899,599,833,1006,1186,1304,3494,3438,1510,1076,987,1108,1188,971,1068,1122,1388,1692,1216,1170,1202,1462,1378,1015,686,785,1162,829,543,792,1104,953,1110,1392,1172,1468,1288,747,1078,1592,1170,949,1296,1206,1122,1160,1362,1492,1356,1326,1440,1444,1504,1344,1194,1190,1344,1284,1202,1670,1694,1656,1730,1700,1138,856,968,1146,1262,1246,1212,1462,1616,1466,1272,756,614,631,752,763,699,645,667,726,697,560,391,426,384,356,419,401,321,292,309,291,303,397,415,468,614,922,1688,1898,1238,751,988,1040,580,1104,1436,1106,965,623,801,1488,1332,858,813,806,781,708,1005,1118,832,810,1048,1290,1300,1232,1256,1218,1604,1406,1156,932,834,740,673,783,1076,1342,1738,1864,1502,1072,1218,1400,1184,813,804,1034,1202,1202,1372,1448,1412,1610,1596,1340,838,726,1086,1216,966,848,774,680,542,503,654,1007,875,645,692,499,364,359,369,389,383,424,506,560,809,840,744,771,1092,1001,1140,1134,1005,792,609,794,1036,1224,1278,1188,919,810,820,1094,1448,1180,932,946,724,680,712,760,982,969,967,1013,1268,1378,1102,1020,950,821,762,965,1172,1240,1302,1232,1042,783,902,1164,1210,1322,1252,1208,1102,1094,1108,828,612,494,438,386,484,401,365,458,469,835,1232,1058,725,620,742,669,724,1172,1302,1250,1340,1316,1286,1204,1208,979,729,672,828,1019,1013,1456,1372,1096,996,1194,985,1300,1648,1960,2150,1180,1134,1170,1300,1300,1244,1294,1206,1376,1272,1406,1238,1028,1124,933,948,1150,1180,984,891,821,682,488,404,443,444,408,438,650,759,719,886,741,507,709,670,814,935,796,645,699,1040,1144,987,1074,1368,1498,2128,1672,939,1266,1426,1294,1246,1196,1180,1294,1126,1224,1346,1710,1498,1376,1250,1216,1266,1290,1146,895,1082,1308,1170,916,851,949,1050,944,1130,1094,1007,1046,924,890,930,1076,896,905,1400,1144,797,668,873,1009,991,1118,1154,1098,1198,1026,1198,973,818,1004,1236,1664,1560,1178,929,1114,1232,1352,1238,1084,1108,1448,1382,1232,1000,800,750,910,846,672,1098,1928,1682,1218,737,934,767,1026,756,906,1088,1186,1388,1362,1290,1656,1942,1506,1168,1088,893,1010,1003,1178,1338,904,613,845,833,851,981,940,1015,725,668,715,827,885,793,1060,1366,1130,1166,1744,1334,1028,1234,1114,1252,1548,1348,1378,863,881,1508,1384,1160,929,722,612,821,865,1350,1226,1080,1202,972,899,1192,969,427,407,592,721,907,1504,1742,918,854,783,456,369,347,536,1021,1236,1028,571,976,1584,1346,720,438,745,908,990,1056,1320,1480,1316,1390,1090,735,530,1130,1420,837,808,1158,1414,1350,1228,1348,1264,809,781,686,507,957,892,672,1023,1272,1070,1082,1346,1518,1418,977,664,965,1200,847,619,963,1406,873,480,437,675,836,832,829,1274,1556,1916,1330,1290,902,1028,1040,822,951,1338,1300,1126,1404,1190,968,1064,1144,1178,1396,1250,1010,1130,1092,580,416,830,1022,952,1282,1698,1410,1364,1348,1634,1752,1612,1478,1318,1152,1068,1280,1256,997,772,550,394,488,430,398,450,557,846,947,619,487,475,546,702,793,1108,844,814,1142,1454,1406,1356,1322,1013,854,1140,1062,1166,1558,974,1214,1390,1528,1634,1444,1192,890,1172,1344,718,543,708,1188,1130,1982,2894,2830,2728,2724,1932,1102,1352,1284,1296,1114,1074,998,1346,1136,935,1250,1412,1344,1084,1058],[472,508,484,401,329,346,329,479,424,370,317,351,301,344,413,615,733,766,621,449,461,391,355,385,400,472,499,505,321,278,321,331,303,253,220,265,462,516,532,552,703,782,1082,967,580,639,956,1230,1234,775,453,440,392,423,431,591,607,515,436,875,1378,1096,765,580,935,1001,1152,1304,1446,962,747,910,996,962,767,644,627,745,905,938,1104,614,495,669,647,1808,2018,1030,670,744,896,1002,1216,1266,1506,1438,1106,769,480,437,420,519,630,792,832,528,1024,960,596,971,1292,1202,1188,1438,1042,731,1078,1306,954,464,433,578,955,1190,1204,1318,1156,1262,1388,1302,943,623,513,609,890,818,862,1182,1582,1474,1178,1598,1640,1546,1364,951,712,492,495,710,630,400,355,400,795,1202,1664,1866,1696,1426,1248,1018,988,937,713,664,608,527,541,785,924,636,358,448,422,407,421,375,324,481,541,585,741,614,601,504,498,665,791,750,417,491,407,379,625,579,428,518,577,454,367,458,739,900,1390,1632,1340,1386,1318,791,811,1178,1486,1422,1260,1330,1410,1226,588,713,1106,978,749,733,1100,1360,935,515,661,1050,1058,614,357,446,874,1162,1516,1628,1370,1506,1518,820,600,935,764,669,1296,1380,697,872,1048,818,688,887,1130,1334,1274,1094,1134,756,781,504,345,409,495,508,417,400,547,537,443,481,540,575,776,875,628,492,397,365,375,435,376,324,446,539,744,678,1028,1960,1924,1308,1220,1050,874,933,930,724,1086,1290,1102,955,1084,1134,891,1176,1154,1086,1114,836,794,849,811,900,725,520,494,547,490,426,419,704,1216,1318,1376,1628,1534,1120,736,602,600,649,584,430,389,566,673,641,722,1066,1056,794,952,1005,735,592,991,1270,1060,683,465,530,592,623,672,572,794,1390,1450,1340,721,540,456,455,500,527,486,505,686,744,838,1238,1164,1388,1496,1400,1332,1440,1470,1154,1166,1668,1740,1676,1686,1572,1568,1620,966,672,487,468,551,871,1246,1054,665,611,615,674,787,1192,1244,1268,1120,848,720,949,1066,788,633,835,1021,1610,1808,1852,1766,1646,1614,1586,1254,1098,1122,853,558,930,1772,1460,814,766,986,802,631,497,629,1092,1280,1154,756,563,1140,1360,996,576,439,405,395,756,1148,1520,1200,676,444,471,538,789,819,675,516,491,527,550,554,832,1186,1038,1044,1330,1266,1326,1582,1592,1064,604,600,592,577,888,1236,1316,1368,1612,1542,858,796,990,1284,1500,1568,1504,1426,1320,1248,1182,1112,1146,1232,1294,1328,1438,1556,1688,1664,1726,1898,1992,1840,1470,1076,738,495,425,409,460,545,565,647,1172,1854,2092,2104,1892,1678,1708,1876,2176,2242,2120,2056,1942,1876,1722,1576,1498,1532,1462,1136,1136,1354,1174,1112,1096,815,795,969,949,833,873,924,955,1074,1094,1013,1196,1288,1340,1262,1284,1304,1560,1528,1236,1234,1354,1268,1208,928,799,766,755,739,1020,1244,1244,1260,1132,1036,1090,1054,1526,1926,1810,1740,1098,719,736,883,1168,1344,1158,819,647,352,397,793,1268,1470,901,593,1452,1698,1258,985,902,1080,1416,1506,1678,1692,1914,2060,2054,1234,509,590,861,1192,1736,1656,1224,1328,1622,1554,1454,1708,1318,1248,1288,1302,1252,1252,1562,1460,1172,888,746,474,492,518,913,877,644,725,782,631,347,499,700,865,1444,971,725,763,511,323,328,483,568,725,986,1372,1464,1428,1340,1374,1258,1124,1524,1738,1792,1726,1420,1148,1072,1058,885,601,475,497,466,488,974,1376,1404,1376,1628,1834,1338,1396,2026,1800,1338,1180,1356,1186,1036,1468,1498,1672,1598,1370,815,752,957,1142,1152,692,413,550,417,312,333,359,499,621,703,754,785,590,732,1322,1232,813,735,1008,1338,829,729,877,979,1196,1622,1308,626,680,824,708,760,1264,1322,852,655,1030,1003,577,369,374,415,718,926,596,541,688,1226,1444,1614,1470,1370,1304,1130,1088,1184,1222,1388,1021,1240,2084,1304,948,1140,1092,1028,1054,1318,1468,1410,1294,1222,1200,1086,1206,1336,1272,1160,1060,814,836,1056,1210,1252,1346,1490,1682,1578,1650,1324,1184,1228,1164,1102,1692,1858,1064,810,702,633,602,798,855,1036,1652,1222,672,811,1114,1036,1306,1332,893,1584,1412,882,877,968,960,1108,921,807,867,713,639,660,588,773,965,1130,1226,956,861,932,1242,1248,924,1196,1290,670,465,613,799,854,1032,980,1072,1172,1136,1256,1184,1090,1096,777,555,716,466,426,816,824,444,512,758,874,886,594,324,473,614,590,328,326,418,787,524,328,318,346,385,378,449,539,772,835,1332,1009,675,678,989,954,745,1284,1342,899,644,539,488,481,496,519,655,800,683,591,1017,1466,1434,1414,1372,1444,1164,789,1158,1072,1013,1284,1138,672,667,1042,1482,1610,1610,1876,1886,1834,1914,2260,2486,1982,1880,1922,1596,1218,1806,1808,1210,1500,1472,1300,1466,1504,1344,939,809,647,516,518,721,952,921,892,909,798,1344,1528,1164,1088,952,863,870,969,1082,896,662,810,847,633,608,634,565,518,797,1714,2758,2302,1168,780,811,1019,1212,1472,1532,1582,1396,1372,1542,1288,1030,1168,1360,1158,711,960,1406,1350,1388,1596,1442,1128,876,1216,2004,2392,2518,2436,2024,1374,855,572,642,667,508,924,1372,1194,1186,1548,1488,1128,1072,1122,839,670,954,1406,1344,1308,1184,1316,1256,1130,1158,1036,851,960,1364,1410,1280,1406,1342,1244,1182,1116,1126,894,824,981,1005,758,1023,970,1068,1046,1332,1216,1124,1022,1072,1602,1580,857,1080,1232,1326,1566,1190,1140,1170,1212,1146,1148,996,1332,1764,944,999,1348,1406,1162,1262,1152,713,1028,1460,1160,1054,1260,871,1086,1572,1150,1318,1450,1654,1568,1394,1378,1298,1180,1094,1208,1224,1284,1310,1454,1274,1474,1514,1504,1456,1434,1200,1216,1322,1230,1120,866,669,780,880,1096,1023,724,681,724,763,761,747,780,825,771,794,672,479,403,523,665,556,358,277,289,325,280,346,397,347,417,426,553,875,829,1052,1048,1294,1120,642,814,945,522,577,719,900,1494,1244,1390,1152,794,666,733,925,896,901,954,731,939,1178,1318,1132,1324,1514,1146,1086,1286,966,816,1114,1116,1602,1554,1632,1666,1592,996,638,1028,1274,933,575,686,916,1090,952,940,1460,1906,1772,1488,1172,1023,1256,1444,1396,1198,852,844,673,613,890,1356,903,626,579,417,406,405,426,439,414,538,661,875,902,856,909,894,1206,1272,1228,1314,1442,1216,949,1040,1104,1084,1006,993,1156,987,664,894,1146,788,581,573,490,648,750,716,800,915,1007,678,926,1290,1304,1158,1218,1128,954,933,1088,1216,1282,1192,908,938,1116,1208,1272,1144,1021,1154,1222,1316,1084,706,858,936,799,653,526,401,415,595,711,1056,1914,1756,1078,1124,1028,750,671,1026,1436,1536,1526,1566,1522,1436,1444,1114,886,695,988,1096,1164,1396,1238,1086,1176,1228,1282,1372,1142,1496,1730,1092,882,985,1276,1166,1396,1434,1532,1584,1412,1250,1032,1238,1528,1076,1030,1100,1146,1164,1086,976,823,695,535,593,538,610,813,894,851,879,719,495,439,606,658,706,648,774,1144,924,735,1146,1090,1224,1262,1442,1538,977,645,969,1076,1090,1098,1394,1338,1266,1240,1316,1422,1442,1280,1212,1176,1268,1140,1224,1144,1012,1260,1384,1160,836,650,1122,1178,897,1070,882,625,801,916,795,839,1036,1082,1346,1300,1026,708,523,741,789,843,948,843,802,945,1470,1630,1324,991,1152,1470,1438,1242,1013,809,1126,1336,1224,1236,1126,1242,1686,1486,1418,1366,1036,1022,1056,719,648,1310,1558,1046,955,933,897,585,455,568,990,1036,1122,1302,1232,1560,1608,1344,1244,1052,1002,980,1104,1212,1234,1130,932,797,788,774,780,843,754,700,615,638,613,1032,1452,1560,2030,1864,1009,692,993,1156,1092,1052,978,1288,1362,1048,921,770,965,1290,855,752,613,588,586,803,684,1092,1032,915,1098,948,933,1290,1036,424,603,1144,970,927,1244,990,868,1013,566,418,390,602,1180,1412,976,692,542,1166,2004,1980,1094,449,801,1236,1246,1184,1202,1278,1244,1360,979,593,466,1236,1580,1166,833,1026,1228,1252,1482,1388,1268,963,913,814,525,673,802,827,869,1009,1318,1472,1426,1346,1418,1400,1048,1106,1390,968,630,741,926,901,725,433,397,683,988,774,916,1017,1440,1172,1024,859,681,817,1108,1174,1236,1246,1294,1422,1160,857,1100,1354,1266,1248,1194,1324,1300,890,736,955,1490,1532,1376,1274,1522,1350,1338,1520,1432,1462,1782,1582,1100,899,955,1162,975,1114,822,500,608,1004,993,865,690,611,990,1252,1042,666,528,575,860,750,568,538,543,741,1100,1214,1310,1500,1654,1500,1422,990,935,1384,1062,912,1280,1592,1618,1504,1490,1218,1216,1312,865,703,826,945,922,2084,3464,3752,3638,3706,2990,1534,1564,1472,1338,1056,998,1224,1370,869,736,1160,1370,1440,1172,1350],[684,581,397,396,409,368,456,640,453,323,292,297,331,421,468,611,619,523,486,521,568,460,345,336,367,336,333,383,347,321,319,308,268,234,210,252,438,491,480,463,459,637,885,670,506,529,502,671,953,624,392,414,393,501,741,1044,829,578,590,923,1368,1042,951,662,852,752,1024,1528,1848,1052,1084,1508,1240,930,1110,1046,874,890,878,1118,1128,939,751,630,867,1742,1970,1216,896,888,1078,1378,1790,1744,1634,1340,1052,594,469,495,515,632,734,978,1202,1038,1370,948,489,849,1312,1324,1530,1474,979,1116,1678,1708,1096,656,709,951,1322,1594,1654,1334,1036,1128,1108,948,723,572,487,603,810,1056,851,1182,1458,1364,1872,1988,1786,1710,1698,1420,1290,985,839,796,459,330,355,407,535,781,979,1386,1584,1682,1360,1332,1288,1094,943,591,401,391,460,827,1112,896,565,856,846,538,419,379,318,528,516,528,569,416,407,412,413,457,487,485,403,370,433,409,594,614,427,529,515,429,515,566,756,1674,2272,1940,1270,1192,1284,919,668,1172,1624,1172,1242,1428,1176,1140,1030,1084,788,728,903,1192,1368,974,550,510,722,885,777,534,402,411,586,1494,1918,1562,1140,853,912,782,830,1122,822,861,1582,1598,909,996,1278,1270,1216,1136,1298,1158,888,659,708,561,731,651,509,449,493,584,463,421,553,531,468,487,452,416,554,645,558,506,440,361,449,604,561,491,532,555,1130,946,1208,1682,1660,1278,1172,1340,1190,1078,1092,813,711,639,824,830,1032,782,854,916,1024,1118,932,803,658,759,738,717,477,397,421,484,472,471,623,1005,1238,1300,1362,1192,733,662,565,580,444,527,514,518,627,1110,1230,917,1016,1140,1012,1184,1352,1238,752,641,908,984,874,582,427,605,645,622,559,491,617,1244,1626,1314,684,545,702,763,593,498,533,576,530,552,970,1322,1150,1228,1226,1260,1498,1794,1616,1100,1482,2164,2262,2144,1782,1110,566,544,560,661,686,623,484,760,1302,1038,579,630,660,874,860,1086,1248,1266,1096,1086,1272,1418,1134,1028,513,721,1504,1766,1898,1866,1622,1730,1718,1562,1388,1216,1136,834,692,1176,1372,863,811,745,957,1054,843,550,667,1184,1432,1182,899,666,792,875,636,536,474,399,366,450,777,929,676,457,335,397,479,529,594,649,553,524,609,658,916,1210,959,814,959,1156,1050,1068,1318,1062,724,561,571,604,600,1088,1414,977,817,1432,1770,1552,1656,1760,1690,1560,1486,1420,1316,1270,1288,1360,1434,1478,1534,1626,1766,1952,2084,2062,1966,1856,1646,1266,847,605,549,532,576,528,506,537,653,708,653,708,904,1202,1370,1228,1140,1284,1516,1816,2162,2286,2176,1998,2036,1868,1698,1636,1614,1594,1322,1090,1100,1130,1078,1198,1116,945,993,1036,906,881,993,1032,1116,1198,927,860,923,1128,1376,1412,1416,1530,1514,1350,1098,1364,1594,1564,1144,614,532,497,564,831,1138,1300,1290,1156,990,639,774,1658,2232,2026,1368,1028,791,549,854,1368,1360,974,809,832,523,744,1100,1296,963,539,590,963,872,806,1262,1394,868,774,1492,1640,1192,2018,1666,1438,942,455,406,493,1020,1628,1350,901,1208,1478,1414,1310,1036,927,1020,996,1240,1318,1048,1108,1166,1266,651,769,755,849,740,939,826,657,741,738,593,329,385,472,613,1312,1278,1100,755,508,406,366,438,539,662,733,1024,1052,1144,1106,927,512,405,630,904,1174,1500,1700,1554,1410,1240,899,608,777,862,718,843,757,904,1068,1046,1312,1232,975,1582,1930,1914,1230,565,563,537,472,714,1376,1606,1394,957,493,451,565,767,1142,811,907,1428,962,399,340,350,333,526,843,932,623,749,747,899,1122,1202,958,1200,1302,1082,1294,1450,1208,1140,1172,699,545,757,670,545,637,881,1158,1034,1196,1638,1206,570,364,397,549,1244,1512,1104,744,909,1328,1460,1540,1492,1380,1476,1462,1320,1338,1070,1200,1098,1112,1322,1086,1066,1106,1056,1338,1538,1288,1506,1494,1298,1296,1310,1166,1380,1284,1178,1170,1020,710,520,869,1226,1158,1340,1364,1296,1264,1168,851,855,948,1092,1324,1914,1834,1202,1166,1212,980,891,728,630,764,1238,982,1026,1522,1580,1242,920,1018,1023,1582,1430,750,410,563,759,750,725,832,943,828,739,929,861,758,1040,1166,593,646,651,877,1288,1292,1232,1400,1222,569,426,553,692,816,761,595,518,559,750,862,958,1138,1000,782,846,824,840,755,1036,786,422,514,703,703,616,432,406,372,554,571,384,275,479,803,471,255,332,383,410,546,492,391,780,925,986,1013,749,639,1144,1100,1074,1894,1874,1366,899,954,852,816,809,664,483,415,717,999,1278,1416,1256,1328,1322,1068,821,1132,1220,1060,1144,1322,1324,973,726,1134,1712,1638,1840,1636,1626,1504,1606,1818,1698,1986,2282,1766,1330,1756,2620,2180,1298,1136,1230,1252,1446,1608,1378,967,774,647,521,589,1078,1404,1404,1380,1184,808,1394,1570,1504,1368,1002,847,888,946,1098,976,787,868,821,680,653,582,478,494,554,1200,2418,2442,1334,844,728,1064,1274,1470,1584,1532,1264,1328,1584,1380,1266,1340,1452,1186,1048,1420,1914,1808,1686,1696,1546,1320,942,1372,1998,1886,2412,2184,1876,1594,948,522,592,678,505,819,1232,1172,1324,1476,1528,1146,1196,1538,1224,1048,1250,1670,1616,1322,1206,1130,1084,1146,1144,1030,797,759,1282,1522,1372,1298,1166,1188,1210,1268,1394,1312,1152,788,962,1005,1078,1160,1198,1118,1048,1246,1276,1166,1300,1602,1590,1210,1312,1216,1186,1190,1204,1156,1156,1200,1052,1092,1018,1268,1302,1068,1310,1258,1226,1072,1076,1220,1180,1040,1112,1132,829,904,737,750,716,641,1088,1468,1638,1158,904,1034,1044,1230,1208,1404,1276,1260,1226,1534,1450,1294,1230,1412,1562,1400,1420,1416,1212,1288,1166,831,834,807,788,1070,966,870,971,933,900,890,883,904,943,866,844,883,733,589,982,1146,715,343,249,314,358,319,408,365,328,595,526,371,420,394,436,764,1042,786,625,978,1154,669,656,1280,1310,1142,1410,1456,891,610,625,856,814,664,627,842,712,998,1110,1036,1064,1362,1460,1364,1382,1422,861,774,1132,1342,1826,1626,1576,1476,1324,1038,850,1052,1284,904,492,648,1120,1142,1230,1166,1232,1286,1474,1546,1152,884,1058,1130,1064,1116,918,869,820,781,1202,1176,680,530,511,614,785,865,908,876,1086,1100,915,1028,907,1088,1092,717,792,1108,1194,1216,1002,958,1236,1266,1266,926,916,997,1092,937,785,916,838,476,411,358,407,606,634,704,653,1186,1178,538,700,1188,1216,915,1252,1202,1338,1180,1100,1228,1348,1094,970,1052,987,993,1001,1011,1040,1110,1270,1310,784,645,750,1032,1100,744,401,399,484,725,791,1128,2378,1780,979,1110,1009,871,788,890,1252,1594,1574,1654,1764,1550,1328,1106,881,722,1048,1266,1450,1312,1162,1384,1372,1100,1324,1072,788,839,1034,733,615,819,1100,1250,1496,1478,1522,1470,1272,1022,1158,1346,1142,969,866,948,1252,1290,1422,1232,802,811,638,660,511,714,913,697,622,858,1048,882,609,601,679,852,976,1064,1470,1454,1586,1594,1288,1314,1372,1520,1480,1044,845,1192,1218,1166,1004,1168,1222,1266,1416,1372,1336,1098,1122,1094,1062,1028,939,1304,1192,1066,1174,1172,994,990,830,818,930,879,751,630,630,631,1005,1222,1072,1024,1182,1378,1312,883,504,476,554,631,1056,742,561,689,913,1300,1276,1324,1352,1400,1412,1018,938,1382,1324,1494,1380,990,1158,1208,1316,1406,1268,1326,1062,697,923,933,453,677,1422,1042,715,693,974,1108,891,521,872,1296,1138,1164,1308,1250,1456,1444,1172,1296,1058,1038,1388,1306,1013,970,703,590,644,700,711,617,600,570,550,695,994,794,1106,1724,1526,1914,1716,931,814,835,1134,1078,801,614,792,1144,988,837,682,1274,1564,706,817,687,509,742,942,685,505,500,565,655,586,1076,1356,880,574,793,1484,1044,930,1134,917,1324,1402,559,504,572,1250,1904,1524,844,542,591,1128,1498,1576,1172,927,1070,821,1007,1312,1542,1166,1174,962,897,709,502,751,1504,1700,1160,1088,1110,1070,1238,1172,1234,1021,1050,952,768,934,1136,1128,1112,1168,1380,1250,1240,1120,1054,1242,1142,1194,1362,1416,1218,1017,1200,1306,1334,796,684,828,899,830,829,929,1140,876,758,845,442,573,1118,1017,902,1534,1484,1160,1246,1080,1206,1576,1478,1222,1378,1480,1222,1168,1138,1132,1550,1344,1520,1466,1412,1368,1338,1376,1354,1380,1660,1652,1294,954,1290,1400,1148,1036,706,778,1142,1090,880,1076,1032,936,1094,782,557,797,714,484,787,863,515,404,622,971,919,926,1298,1704,1640,1494,1528,1456,1504,1810,1686,1384,1358,1544,1700,1714,1456,858,1312,1460,1202,992,1234,1218,940,2032,3564,3838,3660,3746,3260,1598,839,784,789,738,979,1334,1202,940,781,1026,1068,1264,1180,1472],[734,640,371,366,424,350,457,639,504,341,289,288,351,421,505,664,475,392,506,557,495,504,381,310,345,353,349,329,327,359,321,249,213,261,223,280,452,460,429,483,476,628,777,557,527,516,551,828,1338,832,766,750,545,672,1368,1620,1142,962,1018,1018,1332,986,846,631,902,1322,1262,1688,1756,946,1028,1204,1015,561,616,677,913,981,1130,1316,1564,1872,1490,1030,1050,1420,1500,1220,1200,1066,1382,1712,2014,1974,1418,1278,1154,648,485,428,470,584,1016,1284,1184,944,997,733,540,708,956,897,582,291,386,974,1832,1628,1202,1528,1676,1324,1316,1332,1394,1496,1220,1036,891,605,771,661,503,628,1070,1434,1248,1206,1124,1262,2002,2186,1610,1888,2386,2246,1686,1406,1272,657,365,326,324,535,972,1005,633,705,976,1262,1452,1444,1300,1228,1058,724,523,562,488,713,860,700,583,968,1132,733,604,512,401,536,613,527,512,333,454,611,576,493,443,497,370,361,469,419,516,633,456,569,578,656,613,557,659,1502,1772,1456,1060,720,728,749,880,1406,1340,812,1378,1360,1030,1224,1194,967,788,1038,1336,1378,1310,1090,753,630,694,954,835,555,411,375,711,1698,1686,827,678,612,564,688,1136,1148,1038,1050,1504,1362,782,1084,1416,1450,1522,1250,1188,984,715,420,416,507,558,647,698,618,565,543,457,416,490,551,524,455,484,657,913,908,659,631,581,402,516,842,810,1048,1212,740,1052,983,1106,1418,1296,877,927,1128,1250,1190,1088,914,855,659,783,1013,1032,935,901,706,918,1184,1144,1028,609,685,756,818,618,541,505,469,472,419,507,808,1256,1512,1460,844,539,552,653,803,585,464,399,632,927,846,895,1140,1104,1044,1264,1328,1124,1094,747,502,564,750,1024,879,565,623,625,601,622,538,444,562,698,670,540,526,654,707,647,560,536,579,499,600,1186,1274,957,955,988,1094,1352,1572,1598,1250,1576,1742,1928,1664,1794,1134,482,413,386,465,558,491,458,653,889,600,661,645,606,804,949,1026,1256,1226,1238,1412,1522,1492,865,622,414,959,1584,1702,1770,1472,1332,1440,1554,1586,1586,1432,1250,924,1556,1682,1318,1182,1158,1192,1114,1184,913,686,1172,1514,1252,872,502,662,850,850,760,642,583,533,458,450,463,383,368,387,384,702,900,775,1008,808,572,665,641,858,1240,1001,730,719,711,912,920,859,1180,854,563,573,625,606,686,1256,1336,1054,1108,1366,1502,1358,1220,1276,1406,1424,1442,1394,1270,1338,1488,1648,1810,1936,2092,2210,2262,2192,1870,1418,974,664,669,738,694,732,717,637,645,623,646,593,673,845,916,908,999,1060,1220,1348,1276,1126,1318,1800,2124,1998,1842,1920,1936,1802,1774,1696,1626,1672,1782,1606,1256,1082,1100,1238,1222,1060,1094,1196,1046,880,1028,1380,1474,1376,1150,955,919,966,1168,1162,1252,1428,1646,1444,1278,1460,1332,985,766,562,485,849,1020,977,1364,1346,1148,1050,871,536,483,659,1116,1156,936,1242,1306,749,597,766,828,803,1058,1170,946,1210,1582,1562,1058,736,786,874,714,727,1066,1248,798,653,1052,1344,1354,1208,1216,1278,894,557,588,744,1088,1246,1096,617,1200,1514,1154,1082,954,1034,1108,845,884,965,1176,1462,1576,1540,840,901,1308,1292,974,984,894,852,901,942,517,342,603,1062,768,628,796,1052,842,723,636,339,439,634,785,973,1320,1368,1340,1206,771,447,523,564,552,554,722,1010,1158,1304,1350,1272,872,934,908,898,899,854,1118,1250,1152,1282,1124,889,1688,2120,1578,1001,660,469,415,459,599,879,1176,1334,1194,869,879,597,439,491,668,783,923,772,532,453,451,343,404,735,1146,841,897,875,719,684,1108,1300,1216,856,1144,1538,1458,1264,1242,972,708,771,816,530,593,749,715,913,1202,1328,1328,827,514,417,494,737,1470,1604,1264,962,1190,1386,1250,1188,1130,1474,2008,1564,1374,1262,1020,1120,1130,1250,1320,1224,1248,1406,1540,1698,1846,1532,1432,1324,1194,1224,1108,1130,1226,991,1036,1080,949,893,1136,1522,1414,1260,1206,1056,1003,1178,1132,1021,1034,1094,1208,1224,1300,1182,1402,1732,1382,1412,1344,1344,1236,863,702,606,827,1452,1848,1728,946,838,912,1076,980,616,491,618,694,598,585,536,562,531,646,1056,957,667,959,898,673,867,1002,1054,1096,1028,1280,1424,1128,486,391,511,618,904,930,559,332,348,324,342,472,498,574,903,911,1046,965,681,695,778,764,529,536,482,389,616,1466,1676,1374,768,506,449,666,761,345,272,330,437,512,647,676,413,528,774,705,863,965,818,987,1090,1500,2692,3388,2494,1448,1180,1023,1092,1164,1100,750,507,689,1060,1304,1212,794,1088,1130,779,1024,1312,1152,902,783,1152,1440,1406,1394,1490,1554,1676,1732,1554,1534,1420,1596,1814,1756,2294,2258,1470,1594,2454,2552,2132,1360,1268,1204,1338,1432,1344,1250,1032,909,807,542,684,1256,1650,1676,1504,1204,1028,1434,1476,1416,1490,1036,800,782,1009,1342,1082,800,885,785,628,593,576,498,505,543,844,1924,2500,1520,925,745,968,1186,1434,1622,1534,1274,1526,1670,1350,1550,1614,1560,1426,1318,1628,1760,1426,1246,1452,1660,1316,1498,2718,2718,2394,3352,2338,1792,1744,1118,597,595,706,543,556,821,1104,1712,1836,1656,1322,1726,2144,1554,1164,1366,1672,1592,1346,1070,1244,1204,1230,1434,1304,1120,1030,1240,1344,1238,1058,927,979,1050,1240,1454,1378,1094,916,1036,1164,1194,1356,1384,1316,1384,1314,1178,1040,865,1082,1534,1462,1424,1312,1280,1240,1200,1224,1320,1158,720,781,686,795,1038,1328,1104,1040,1132,924,819,1400,1662,1130,1114,1286,894,583,841,867,695,556,642,1076,1228,1260,1366,1120,1216,1404,1134,1306,1344,1278,1228,1280,1270,1190,1152,1532,1656,1420,1576,1582,1262,1138,1186,886,913,1078,1144,1240,959,876,1026,955,967,978,961,1080,1028,854,959,1148,781,437,471,457,411,321,290,286,306,367,359,313,321,496,455,390,511,448,365,561,775,910,1010,1144,1082,685,1058,1336,1208,948,871,810,621,626,1022,913,620,744,546,558,639,981,1242,748,608,961,1300,1406,1440,1394,1044,1124,1170,1562,1506,1672,1622,1476,1396,1212,1254,1162,957,631,1018,1264,1864,1490,1356,1224,1042,770,1028,1510,1246,1040,1080,1438,1216,1034,1062,996,688,717,1106,995,680,874,1198,1084,720,704,620,897,1332,1160,1040,984,945,944,753,716,987,1520,1664,1682,1296,1126,1302,1412,1200,852,827,926,949,901,1052,1042,838,556,573,531,604,746,1001,1278,821,960,1146,888,963,1374,1432,1340,1238,866,1024,1144,1176,1290,1494,1158,672,611,727,686,833,1050,1074,1194,1208,1030,713,688,675,698,628,462,400,438,431,651,866,1894,2224,1328,786,700,830,919,872,887,984,1318,1408,1424,1466,1472,1500,1352,912,692,1003,1272,1432,1334,1266,1578,1608,1130,1286,805,799,1036,920,705,808,1158,1332,1408,1352,1344,1584,1536,1298,1090,1092,1118,1052,1190,1098,1160,1298,1288,1238,887,640,643,590,446,463,803,1009,888,758,984,1282,1124,812,722,920,960,1018,1146,1212,1290,1416,1216,1246,1476,1594,1460,1298,980,896,1190,1282,1340,931,1152,1116,1178,1200,1156,1122,1292,1506,1138,950,942,1152,1270,1270,1116,1034,1344,1188,905,867,806,850,907,675,786,658,926,1290,1456,1130,912,836,803,661,585,544,533,727,898,1090,725,486,661,975,1034,1114,1120,873,974,1230,1066,873,1372,1650,1626,1156,1062,1062,1170,1290,1116,1074,1202,1046,947,945,695,450,1082,1536,1164,902,835,949,1278,1158,874,1148,1344,1390,1346,1300,1418,1458,1636,1540,1284,1310,1824,1938,1374,912,1074,802,498,401,469,653,653,649,653,539,608,919,891,985,1896,1522,2134,1914,1206,862,708,1015,1096,999,791,954,1350,1030,932,727,1298,1192,752,1078,919,769,1026,1184,1102,756,913,867,567,426,973,1266,1098,695,950,1176,1094,1340,1088,896,1182,884,491,756,1274,1896,1728,1136,661,451,716,1158,1478,1512,1256,1614,1906,828,670,1032,1412,1264,1322,989,859,879,692,779,1564,1716,1248,1092,1050,1482,1394,951,1154,1070,855,1064,1226,1232,1450,1562,1332,1234,1294,1128,1034,641,571,894,1216,1422,1400,1268,1262,1472,1334,1278,1276,1234,910,601,521,687,863,827,938,977,946,869,661,831,1340,1368,1252,1436,960,880,1090,1158,1182,1206,1404,1644,1416,1200,1156,1556,1538,1110,1172,1550,1598,1368,1134,957,1182,1434,1490,1384,1378,1458,1604,1322,1190,1118,1128,1030,1019,1204,1042,724,591,1064,1478,1450,1156,778,706,981,935,711,616,633,465,410,619,904,866,1094,1304,1472,1484,1360,1376,1330,1408,1698,1646,1284,1364,1464,1448,1736,1636,1436,1836,1580,1266,1090,1148,1282,1112,2488,3750,3950,3730,3666,3232,1690,629,503,684,901,995,1064,877,793,807,981,1026,1198,1186,1152],[572,561,371,392,424,339,405,644,760,626,303,242,370,582,730,841,658,385,434,531,536,506,394,325,332,333,310,353,337,283,192,196,217,297,301,326,438,469,450,504,524,638,808,541,469,470,561,640,776,931,1240,1266,831,990,1832,1654,1188,1274,1064,1164,1560,1130,897,731,1078,1688,1772,1938,1710,1112,1228,933,696,533,451,649,589,730,1004,946,1224,1474,1418,1264,1116,1286,1106,927,907,1056,1424,1746,1920,1830,1404,1272,965,1224,1418,667,431,519,650,833,692,514,513,707,805,580,803,706,583,457,386,765,1300,965,1028,1478,1560,1260,1160,1268,1368,1310,1184,1154,871,775,867,1046,1004,902,1328,1788,1534,1202,792,664,1060,1716,1360,1328,1572,2066,1490,1118,910,453,371,317,378,717,1166,1248,1014,511,391,549,904,1282,1592,1572,1464,1338,1108,1150,875,832,1090,1058,719,976,1184,1236,1268,1180,1322,1408,1240,717,763,730,922,824,651,527,462,414,423,417,382,393,527,744,506,613,916,890,636,646,886,1328,1250,1026,927,722,492,839,1202,1198,1180,1044,1402,1434,1346,1346,1252,1146,1332,1462,1384,1030,926,879,967,979,968,808,684,536,417,404,826,1738,1606,1196,996,704,622,727,1426,1674,1278,933,1002,778,614,1076,1176,1352,1438,1328,1436,1448,794,380,411,448,675,981,866,786,750,847,724,519,518,594,533,456,676,1042,1216,1066,907,699,628,448,691,1064,830,1001,944,762,970,1268,1454,1242,1210,1006,1266,1266,1526,1268,1052,735,623,622,783,997,1172,1274,1346,1318,817,848,975,1144,771,648,659,638,541,550,529,471,418,393,415,431,647,1216,1478,1480,1116,816,1036,1102,827,698,612,1036,1350,1056,855,784,957,1306,1604,1432,1268,1204,838,785,665,861,1110,1052,651,599,688,778,720,583,429,401,512,649,686,610,483,577,708,536,463,593,572,807,1026,1148,1118,843,838,1218,1346,1015,866,1170,1552,1598,1680,1572,1412,846,428,337,324,421,486,438,394,473,498,1108,1324,1016,772,630,591,660,844,856,993,1460,1850,1386,1158,738,583,1124,1296,1460,1498,1418,1458,1528,1758,1216,1438,1578,1452,1548,1786,1688,1638,1412,1290,1284,1280,1250,949,1296,1650,1214,1198,884,597,709,926,981,836,718,726,586,448,350,346,375,366,394,424,1060,1166,1042,1070,824,827,741,766,1368,1204,797,823,630,501,524,681,656,606,555,565,588,587,497,571,882,1426,1522,1208,1194,1250,1344,1518,1626,1580,1452,1402,1502,1716,1952,2150,2284,2356,2304,2110,1808,1464,1160,908,789,836,988,1084,1062,881,773,670,667,663,618,557,590,767,985,1184,1250,1218,1282,1482,1532,1374,1260,1514,1936,2120,1856,1686,1816,1810,1722,1842,1842,1632,1600,2024,2066,1624,1218,1048,1148,1162,1104,1076,1224,1320,1142,1044,1316,1532,1446,1250,1142,1052,1146,1234,985,949,1226,1728,1356,1250,1460,1246,706,501,505,516,945,955,756,1332,1306,949,812,532,385,389,648,1009,922,999,1440,1396,1034,841,872,1018,1372,1322,1356,1280,1376,1622,1440,1338,1270,1040,1132,1194,830,519,650,689,691,744,1244,1428,952,865,1004,982,1072,994,900,1082,1284,1328,995,1368,1546,1438,1416,1372,1142,1098,778,818,855,1500,1632,1660,1430,793,811,1128,1244,1146,1222,1468,1588,846,1200,1058,567,1002,1224,730,391,393,513,661,821,758,440,782,1238,1194,1266,1078,976,1019,819,452,310,396,384,561,772,711,752,751,752,932,1268,1376,1244,1136,996,566,647,722,797,923,896,856,779,1166,1896,1256,795,669,683,767,605,439,365,535,961,1016,1156,1400,965,897,826,713,497,390,602,839,911,1122,772,586,572,753,702,758,904,830,698,687,1094,1410,1442,1272,1122,1188,1488,1088,897,1046,1070,830,972,927,628,393,550,1086,1290,827,1246,1258,608,477,954,1172,929,912,954,1380,1560,1326,1188,936,1502,1880,1432,1242,1152,1184,1228,1250,1226,1134,1078,1026,1146,1658,1708,1352,1274,1100,1168,1314,1324,1114,1172,1112,891,1020,1086,1090,1158,2044,2004,1288,1138,990,1012,1160,1146,1102,1140,1174,1034,1172,1470,1416,1406,1490,1570,1214,1074,1174,1490,1378,1340,1472,1034,702,752,1250,1318,830,739,969,1166,1204,1176,1118,986,1102,915,996,859,622,632,677,598,706,808,975,963,983,932,1052,1184,1042,838,1206,1362,1056,545,406,382,505,858,922,666,367,342,333,384,372,354,411,513,486,546,902,1158,997,816,886,1016,633,420,334,1028,2678,3382,2456,1456,1332,1124,807,642,267,284,348,436,449,539,570,693,719,608,713,1110,1404,954,810,888,1848,3142,4196,3108,1694,1126,961,961,1086,1196,1200,1088,752,721,1036,1056,1004,1158,811,917,1230,1164,1148,1028,1532,2086,1984,1512,1570,1460,1382,1714,1562,1484,1662,1506,1636,1796,1748,1746,1410,1274,1738,2214,2348,1918,1460,1406,1218,1282,1268,1170,1416,1222,976,984,674,528,859,1544,2012,1622,1148,1278,1556,1442,1372,1616,1538,1276,880,1080,1654,1044,678,899,764,579,515,508,501,476,550,647,1642,2564,1770,1082,797,863,1186,1418,1618,1526,1324,1692,1770,1564,1748,1696,1680,1228,1044,1676,1636,1354,1446,1678,1738,1686,3178,3770,3054,2630,3332,2220,1542,1720,1290,808,827,677,587,565,878,1404,1672,1730,1622,1628,1746,1458,1130,1256,1250,1500,1566,1488,1142,1312,1290,1230,1338,1444,1330,1140,1134,1166,1190,1138,682,659,1104,1242,1458,1344,1192,1142,1088,1158,1350,1418,1338,1078,1146,1194,1364,1282,1168,1388,1506,1438,1388,1222,1132,1032,940,1054,1240,1140,815,684,622,854,1204,1010,690,741,1018,1180,847,893,1366,1208,1466,1360,897,885,1212,1164,805,522,565,1004,1226,1396,1168,1015,1494,1538,1252,1278,1362,1174,968,938,941,832,840,1030,1184,1236,1322,1450,1418,1056,1092,984,1226,1248,912,1098,777,622,709,771,893,996,1160,1268,1066,725,822,1082,808,456,307,532,756,532,377,319,308,508,502,413,372,288,258,243,360,346,303,401,508,818,1112,875,574,670,1015,856,658,650,600,598,497,827,1314,783,741,819,791,765,676,1110,1370,848,604,642,879,1250,1394,1274,1184,1360,1188,1184,1444,1730,1626,1488,1584,1532,1264,824,684,520,1050,1270,2020,1882,1252,882,677,529,797,1474,1332,1456,1064,1274,1174,1094,1084,910,533,623,1021,949,858,1226,1362,1390,1064,1013,647,656,827,906,855,683,767,807,717,993,1210,1434,1512,1622,1426,1344,1080,881,816,817,610,611,844,933,1268,950,767,720,1084,932,739,863,1064,973,755,736,1094,1384,1168,1058,1198,1318,1206,742,745,1156,1330,1374,1490,1282,721,448,745,865,861,944,1298,1338,1226,998,800,639,661,448,384,571,551,379,339,477,754,1682,1600,1011,736,666,737,848,908,1264,1042,983,1074,1168,1310,1290,1236,1176,872,713,891,1224,1460,1512,1422,1426,1330,1206,1194,854,937,1026,1044,1138,1066,1300,1380,1488,1384,1434,1498,1224,1106,1024,1068,1088,1272,1388,1320,1232,1056,902,613,613,628,598,638,623,643,767,847,850,863,968,943,937,922,1246,1302,1234,1228,1218,1158,1136,1158,1228,1490,1598,1398,1128,1032,572,611,915,1360,1396,1278,1312,972,644,692,796,927,1328,1352,1012,871,1216,1398,1410,1260,1019,1102,1306,1062,727,752,871,714,469,807,1240,1634,1554,1242,1102,1070,821,630,415,289,439,462,554,883,917,1044,718,425,637,798,832,1180,1058,794,1032,1164,1306,896,1108,1362,1026,980,1126,1088,1360,1638,1246,1136,1030,1058,984,965,949,959,1492,1838,1788,1592,1104,864,1178,1188,1388,1376,1478,1284,1366,1528,1472,1406,1544,1456,1176,1444,2054,2026,1302,1046,1132,807,531,397,455,598,588,561,572,507,456,541,822,1019,1622,1394,1378,1230,1212,1009,882,1120,1092,1042,832,669,1040,1296,1260,1158,1208,834,858,1170,885,719,863,1196,1418,606,771,716,497,503,1076,1334,1220,974,1054,1080,1202,1240,914,616,448,389,901,1604,2004,1704,985,577,438,603,1162,1240,1410,1436,1458,2084,1874,799,634,1034,1332,1404,1256,1034,1034,929,803,799,1144,1328,1202,1102,1242,1878,1524,875,969,976,952,1074,1078,1132,1106,1454,1354,1272,1376,987,914,826,618,897,1302,1324,1264,1072,834,1064,1196,1250,1306,1436,1126,774,430,478,634,733,1002,1340,1082,1092,1048,1226,1630,1338,1142,923,730,953,1306,1232,982,995,1464,1606,1422,1196,1096,1458,1526,1272,1404,1642,1392,1204,1352,1408,1158,1294,1434,1396,1540,1252,1310,1400,1296,1096,1250,1216,1110,1068,666,545,719,1078,1312,1314,951,1094,1384,1234,1184,1040,770,472,444,395,463,613,839,1015,1202,1516,1620,1488,1256,1248,1266,1710,1384,772,819,1120,964,1162,1288,1834,2054,1196,757,963,1408,2106,2240,2950,3680,3508,3384,3442,2800,1440,674,649,928,1562,1472,1092,1220,948,918,910,1072,1254,1570,1604],[463,461,337,346,417,386,566,858,834,671,427,586,499,953,959,821,846,644,515,605,645,604,513,374,329,339,302,349,325,257,196,204,229,316,365,404,493,502,489,525,577,798,820,573,473,414,452,513,602,655,880,962,633,926,1680,1780,1220,943,820,1158,1434,1188,1009,1092,1538,1756,1054,1410,1192,915,890,1036,1024,711,498,697,619,698,687,477,505,605,720,910,1096,944,974,897,751,1084,1510,1788,2102,1794,1356,1438,975,1424,1524,763,491,480,499,635,606,470,407,514,711,533,666,744,607,502,691,864,643,616,926,1396,1496,1186,1184,1722,1880,1362,1372,1058,780,780,1098,1420,1158,880,1118,1376,1346,977,847,888,876,999,1136,1166,914,904,982,1064,683,421,386,364,366,365,657,912,800,533,470,455,704,1116,1332,1392,1496,1630,1614,1646,1520,1424,1258,1090,1088,1154,1142,1362,1340,1328,1594,1312,1458,1106,1262,1234,1110,1018,821,522,415,530,793,655,412,362,513,819,550,566,911,906,645,541,768,1064,961,922,811,543,384,893,1322,1266,1402,1520,1488,1510,1532,1520,1532,1352,1344,1100,1142,1022,1042,846,621,825,780,723,1007,995,847,623,891,1540,1766,1464,1106,1218,783,581,846,778,666,755,739,639,502,619,595,1062,1136,1102,1284,1216,648,375,440,507,802,1294,1230,872,679,1084,857,539,495,529,484,448,712,1086,1158,1216,1120,550,544,510,736,877,590,636,731,1015,1234,1506,1668,1348,1136,965,987,1022,1244,1182,966,995,1021,805,741,801,1066,1120,1680,1972,800,788,1256,1062,803,676,512,477,512,519,479,487,426,407,420,439,505,1328,1906,2160,1576,1230,1332,1194,1106,1228,1272,1730,1644,1060,602,408,630,1036,1362,1126,1450,1786,893,667,734,1062,1248,1364,873,643,753,748,797,740,436,451,753,977,814,870,668,648,591,450,383,500,661,827,977,1434,1490,1040,957,1266,1330,1128,1198,1100,1108,1140,1302,1328,907,689,702,450,379,460,506,393,380,422,415,954,1626,1708,1184,733,445,371,328,409,502,667,775,871,959,765,860,1068,1234,1362,1380,1500,1432,1666,1390,829,1312,1610,1626,1826,1908,1768,1484,1332,1338,1476,1238,996,1100,1204,895,815,1122,874,628,636,694,611,517,665,926,895,593,422,357,356,561,612,638,862,976,1148,888,831,1372,1188,1288,1336,1282,1124,892,679,576,697,991,927,744,814,1024,747,596,476,462,503,912,1080,1124,1250,1356,1404,1430,1390,1410,1434,1588,2014,2328,2362,2260,2138,1824,1466,1170,906,764,725,768,779,948,989,1104,1112,920,735,678,680,639,598,554,597,779,998,1224,1312,1256,1398,1556,1592,1418,1566,1988,2124,2074,1786,1576,1620,1712,1780,2078,1994,1826,1788,2110,2128,1810,1498,1064,1100,1082,1136,1238,1154,1300,1366,1192,1324,1426,1290,1200,1168,1118,1238,1194,1058,1036,1086,1236,1300,1252,1134,908,672,579,486,501,499,441,427,637,800,785,572,371,444,489,971,1338,1058,1274,1260,1170,1606,1382,1572,1566,1414,1454,1642,1226,1013,933,928,1252,1354,1046,1272,1242,752,447,434,667,826,916,1124,1206,1416,1410,1188,744,1214,1162,846,933,1100,991,788,944,1302,1274,1372,1386,642,588,571,724,616,1268,1548,1648,1412,998,1158,1408,1466,981,768,969,1180,891,1102,1402,1210,861,563,416,410,400,447,486,489,604,594,1048,1450,1438,1330,926,1020,1336,1314,629,423,548,504,567,817,847,832,730,599,718,897,1126,1302,1222,1078,1048,1068,730,565,566,520,597,602,818,1012,797,584,577,781,754,453,298,263,249,441,995,1082,1054,1024,1206,1290,1298,1238,769,561,788,1156,1378,723,431,462,449,393,590,688,698,842,747,705,1318,1852,971,1162,1686,1660,850,695,1038,872,877,1316,1082,567,495,448,564,1084,1009,1224,1080,709,692,1312,1300,937,781,803,1246,1468,1224,909,952,1354,1388,1412,1356,1222,1340,1278,1086,1140,1074,922,1032,1176,1266,1330,1268,1180,1150,1150,1208,1324,1314,1408,1284,1248,1144,1190,1192,1000,1236,1288,1094,1002,913,959,976,1062,1156,1230,1118,921,985,1324,1360,1392,1408,1278,1140,962,1036,1288,1472,1674,1898,1408,1168,1011,888,749,551,587,742,1140,1666,1386,1064,1070,1110,907,1080,973,814,918,974,908,727,736,1100,1128,901,677,1010,1310,989,969,1170,990,701,479,369,361,382,439,529,557,370,350,372,382,368,322,446,581,460,500,665,808,1332,1164,1056,986,968,663,448,1228,2234,2540,2098,1708,1572,1276,769,431,312,316,344,348,320,375,505,792,710,419,506,750,800,497,841,868,1832,3348,4300,3040,1468,1062,973,949,900,905,966,1078,839,558,777,1120,1314,960,813,1202,1164,1108,1246,1396,2016,1938,2148,1620,1318,1566,1544,1490,1532,1708,1516,1284,1668,1518,1422,1432,1238,1906,2418,2264,2374,2266,1828,1250,1110,1312,1194,1076,1346,1444,1084,1015,914,855,1320,1714,1680,1458,1318,1580,1668,1326,1348,1696,1726,1250,901,1224,1604,1001,864,1042,712,581,585,610,610,514,547,560,1444,2552,2304,1404,803,848,1216,1380,1552,1516,1348,1622,1534,1406,1362,1300,1294,1252,1894,2254,1474,1244,1340,1544,1716,2110,3074,3604,3166,2636,3172,2490,1562,1802,1554,839,971,796,700,695,1158,1432,1444,1538,1606,1420,1216,1016,1015,1148,1042,956,1072,1466,1444,1366,1250,1164,1278,1426,1308,1110,1076,1116,1262,1232,1032,808,1176,1282,1192,1206,1174,1136,1358,1514,1636,1504,1372,1498,1726,1356,1410,1410,1276,1448,1556,1450,1292,1082,1200,1026,912,936,1186,1256,1022,971,940,900,1032,1110,1050,807,1132,1178,996,770,974,1164,1324,1238,1736,1968,1584,1328,908,529,509,915,1418,1470,1276,1256,1362,1220,1120,1324,1308,969,633,694,771,650,775,827,1078,1230,1136,981,852,682,713,795,822,857,900,1030,696,623,690,749,830,849,904,1004,1052,841,669,872,816,740,465,652,1016,719,459,434,389,888,1542,1420,814,297,289,568,665,384,287,362,487,863,944,561,395,447,452,479,453,446,466,504,563,821,1021,823,693,783,1028,796,379,533,888,1048,1378,1118,837,1046,1156,1302,1252,1240,1214,1218,1260,1290,1516,1612,1494,1560,1356,948,612,388,547,1030,1470,1358,1170,894,543,441,594,1174,1020,1312,1124,1148,1132,1182,1146,728,460,990,1340,951,1284,1364,1316,1404,1224,1186,1034,833,943,1096,842,600,739,1078,1072,1018,1164,1366,1434,1536,1384,1386,1472,1266,1252,1498,868,644,694,746,1288,1038,708,830,1148,996,730,979,1370,1038,863,939,1224,1236,880,618,912,1250,1030,921,1282,1500,1502,1510,1366,1114,773,907,1136,1202,1176,2092,1974,1214,1244,985,861,975,887,386,479,820,723,434,372,417,457,794,1064,1006,782,665,683,725,843,1932,1526,1200,1122,1090,1184,1082,933,897,907,852,973,1418,1398,1260,903,955,1102,1332,1268,1136,1222,928,726,1112,1328,1182,1144,1154,1462,1716,1438,1188,1312,1380,1382,1346,1250,1280,1208,1082,1018,971,755,647,791,775,581,594,703,663,545,539,569,601,789,1086,1216,1416,1290,1250,1136,1142,1188,1346,1372,1474,1538,1446,1262,1178,1202,852,541,619,724,866,1332,1366,859,650,614,592,1150,1282,1184,1054,1282,1542,1454,1400,1019,805,998,912,1010,689,698,828,818,745,1054,1372,1502,1390,1164,1007,1196,614,362,334,349,372,447,590,940,1372,1276,643,539,656,536,661,1174,1030,963,1390,951,902,1030,1028,1036,1274,1366,1216,1216,1324,1434,1084,1010,1108,1106,933,1010,988,740,886,1272,1480,1642,1154,815,993,1009,1340,1350,1458,1250,1262,1390,1348,1394,1486,1188,1128,1412,1562,1516,965,753,684,503,420,384,389,426,483,492,661,828,852,979,1146,1030,1078,1128,1220,1348,1328,1116,954,1080,840,858,637,750,1666,1968,1910,1404,990,1156,1328,1122,857,611,494,709,713,477,457,444,591,669,746,947,1066,962,709,791,1084,898,525,421,477,994,1824,1886,1418,938,560,475,471,1024,1536,1404,1098,909,1140,1636,1344,1190,1288,1400,1356,1152,1332,1302,1108,811,965,933,1188,1624,1566,1136,990,1322,1334,1052,890,831,628,881,1242,1158,1017,1486,1494,1380,1330,828,780,952,860,610,921,1176,1122,938,938,1368,1378,1186,1342,1324,1300,1150,511,554,819,1016,1250,1578,1202,1288,1200,1232,1246,796,518,743,968,1070,1208,1136,880,805,1004,1488,1476,1346,1308,1276,1180,1112,1198,1248,1240,1220,1380,1378,1336,927,1064,1544,1624,1376,1032,887,1162,1560,1538,1078,665,612,609,648,793,1084,1266,1028,948,1374,1670,1886,1644,1286,1146,823,547,389,371,644,744,808,1138,1368,1478,1404,1360,1310,1416,1480,1352,1184,1384,1488,1180,1114,1340,1306,1490,1398,1392,1522,1898,2028,2340,2814,3018,2714,3054,3194,2432,1340,1056,1314,1470,1782,1720,1354,1390,1384,1036,813,1094,1512,1864,1676],[422,592,538,361,397,535,703,742,495,297,301,642,738,885,883,1032,996,573,476,596,694,621,549,423,360,317,290,310,308,271,218,222,271,329,374,419,477,498,515,485,532,845,743,482,430,423,463,615,671,469,593,670,526,433,838,1100,886,822,982,1070,952,929,1019,1156,1570,1712,1550,1756,954,692,770,1162,1482,932,534,644,571,753,567,397,406,410,364,419,709,853,865,858,1072,1298,1188,1164,1254,1520,1602,1394,1198,1552,1100,570,489,514,505,551,584,459,383,523,462,468,779,1290,1174,1010,955,819,819,832,868,1240,1244,1038,899,1270,1428,1344,1312,1266,1178,1038,1312,1388,1328,1312,1274,1360,1332,778,560,1126,1316,1272,1406,1140,801,572,792,1032,776,543,426,507,460,367,413,528,496,483,460,642,1106,1064,1023,1184,1440,1562,1536,1630,1576,1444,1510,1512,1506,1572,1498,1442,1250,1202,1162,951,1282,995,930,1014,973,1070,919,455,365,539,732,508,382,350,570,810,536,613,1068,979,623,571,680,903,1042,907,1072,974,742,957,1336,1468,1548,1610,1562,1570,1402,1248,1232,1168,1130,1136,1082,1082,1136,1054,1066,1106,691,702,1332,1500,1019,982,935,722,1180,1148,1278,1444,855,491,460,377,473,755,719,535,356,346,453,730,777,849,1036,853,456,395,439,481,700,846,1250,908,539,636,481,496,567,519,469,522,802,1176,1220,1108,880,514,641,891,1110,1064,847,855,1186,1294,1268,1316,1290,1088,1026,705,506,711,818,967,922,807,991,1204,1152,787,946,883,1382,1516,947,1096,1334,960,694,710,518,443,456,473,435,454,505,484,472,528,573,637,1186,1530,1356,1308,1376,1362,1348,1362,1492,1626,1182,662,445,421,448,664,932,991,1520,1354,589,449,482,688,740,684,922,1028,1015,1068,1230,984,415,515,1246,1008,868,1194,802,571,623,697,600,476,681,901,1324,1904,1360,1198,1106,1322,1516,1270,909,756,994,1118,1114,1250,912,1011,891,589,412,459,433,376,422,434,646,1032,1040,773,781,618,479,394,332,373,439,541,601,596,591,572,544,849,1234,1160,1066,1014,1182,1608,1019,1150,1536,1544,1618,1726,1726,1570,1280,1112,1464,1444,998,736,746,781,535,531,602,632,846,878,698,632,612,858,1076,991,669,750,634,617,1438,1744,1184,1028,1074,1140,1038,1358,1540,1332,1266,1482,1378,1194,1018,972,1082,1236,1398,1156,1368,1874,2078,1014,533,500,480,703,1044,1284,1366,1382,1384,1416,1496,1680,1874,2034,2098,2040,1878,1600,1296,998,766,717,717,778,724,733,751,717,1042,1072,1200,1356,1232,949,715,720,670,592,531,609,786,988,1098,1244,1344,1410,1478,1490,1368,1610,2176,2242,2242,1920,1648,1632,1804,2048,2202,1976,1990,2030,2110,2120,1750,1766,1278,1078,1130,1174,1282,1152,1312,1394,1320,1362,1268,1156,1284,1266,1090,1120,1018,1016,1162,1290,1514,1538,1330,1262,1088,805,623,516,450,422,448,416,589,606,563,476,395,437,549,905,1028,864,1114,1272,1448,1648,1422,1416,1560,1118,805,1015,926,613,548,821,1180,1132,779,636,458,356,510,811,1132,1440,1418,1266,1132,1450,1540,1184,518,563,648,588,590,667,819,917,1154,1144,1030,1200,1316,931,875,1186,1314,1220,1548,1664,1588,1426,1080,1430,1876,1788,1128,493,1070,1094,566,548,1136,1394,772,383,358,417,332,440,506,463,598,686,825,851,872,938,1202,1476,1386,1462,746,639,740,599,675,835,759,747,854,762,842,936,821,918,1356,1216,1372,1612,904,508,574,571,693,714,672,569,523,692,1013,838,452,325,371,395,562,822,996,1110,1116,1064,1712,1954,1664,1416,1009,558,462,628,658,526,610,653,548,345,334,490,818,727,690,1132,1282,1078,1804,1626,1310,1316,1010,880,877,1070,835,1100,1210,747,783,480,374,738,1004,819,549,621,877,1212,1262,1516,956,876,1134,2060,2028,1270,1282,1306,1204,1250,1144,1032,1242,1228,1290,1248,1042,967,1098,1376,1332,1092,1086,1204,1232,1056,1064,1234,1614,1662,1356,1302,1216,1364,1310,1088,1338,1430,1324,1372,1618,1142,955,1116,1144,1238,1222,1062,998,1120,1230,1268,1306,1322,1302,1104,1168,1420,1470,1346,1316,1216,1208,1270,1250,1152,982,771,601,752,1296,1290,802,808,902,833,764,974,901,732,1018,1338,1005,912,996,972,975,820,1136,1326,847,837,954,734,514,419,357,361,284,380,470,362,327,366,365,347,342,364,441,449,378,469,816,1006,955,880,1122,1128,1122,921,882,1114,1438,1588,1578,1786,1684,1138,880,538,459,428,394,358,323,298,407,558,495,338,343,328,347,378,846,1058,1924,3544,4200,2762,1224,972,948,967,930,907,855,852,843,712,656,871,874,656,1090,1290,1218,1254,1400,2188,2532,2104,2040,1548,1182,1306,1424,1528,1580,1610,1360,1346,1728,1680,1516,1184,1688,2322,2158,2196,2416,2474,2316,1456,1334,1396,1212,1246,1424,1582,1372,1026,1002,1514,1756,1670,1976,2220,1722,1788,1760,1566,1564,1580,1548,1136,872,1416,1554,905,1022,1010,593,550,565,669,692,609,625,547,1206,2434,2468,1356,878,742,1162,1356,1574,1664,1476,1448,1372,1178,1078,1190,1154,1410,2298,2428,1210,1170,1222,1356,1516,2242,3146,4034,3584,2598,3088,3088,3122,3396,2722,1016,773,796,702,893,1050,1234,1486,1490,1726,1576,1520,1340,1058,1132,1068,786,808,1246,1336,1224,1094,1130,1240,1390,1234,1106,1005,1054,1328,1152,1262,1144,1142,1252,1242,1448,1430,1310,1354,1428,1502,1378,1220,1504,1512,1184,1154,1228,1270,1354,1522,1550,1240,1188,1116,1176,1026,1254,1320,1238,1122,1152,1048,857,791,969,1274,1048,1198,1078,944,692,811,1017,1208,1152,1060,1074,1136,1268,1238,1030,662,903,1490,1462,1440,1350,1236,1218,1332,1350,1228,887,582,613,745,694,759,686,749,913,874,672,470,361,581,741,803,1134,987,933,1026,781,687,766,830,883,947,1058,1072,832,711,665,689,849,652,860,1094,746,480,436,354,778,1326,1274,796,345,240,625,1338,779,397,466,642,1030,829,390,371,365,422,447,344,369,395,484,756,844,575,494,592,762,1005,1046,591,665,754,775,893,1396,1324,932,1026,1152,1078,1184,1262,1214,1376,1194,1400,1450,1144,1156,1124,975,579,360,450,765,1058,1216,1490,1076,681,784,1050,1354,1144,1468,1726,1362,1234,1262,1038,631,402,641,969,1132,1426,1346,1316,1324,1112,1052,1050,790,749,853,788,509,624,1202,1186,824,1110,1416,1512,1626,1532,1696,2164,1860,1108,979,849,622,466,458,559,781,919,1021,880,828,1013,1280,1612,940,621,551,647,876,1068,939,970,1202,1434,1620,1478,1428,1330,1378,1198,1070,1028,1510,1570,1384,1368,1770,1268,952,1276,1196,979,970,608,469,714,901,589,372,341,316,381,503,641,771,722,655,758,661,1268,1798,1202,1592,1690,1268,1021,864,841,897,1152,1024,1174,1356,1300,1120,945,953,1064,1144,855,648,874,919,891,1078,1007,1158,1200,1001,1098,1282,1318,1456,1458,1342,1382,1250,1090,1090,1044,993,1186,1194,921,702,847,833,610,554,615,771,728,643,908,1026,1244,1482,1434,1298,1196,1116,1138,1104,1146,1538,1604,1636,1474,1001,1060,1250,1224,1186,968,700,800,1110,1234,1192,1130,1098,871,924,1258,1254,1112,843,1582,2100,1124,1010,976,973,1102,988,1128,823,586,577,602,1050,1524,1622,1460,1222,1210,1114,1194,631,353,520,539,484,822,865,886,1498,1412,654,888,1248,718,638,729,705,839,1062,806,774,1114,964,661,1012,1384,1288,1490,1116,1028,1176,1158,1134,1026,1126,1220,1042,843,637,700,814,1256,1236,1224,997,1802,1712,1210,1220,1266,1222,1252,1434,1362,1194,1268,1194,1112,1254,1058,1030,1016,631,394,409,412,460,591,465,467,1124,1390,1358,1562,1532,1136,1052,904,811,1150,1366,1310,863,931,843,906,1136,1090,1148,1426,1742,1406,1040,1506,1490,1158,1120,897,641,666,514,449,462,524,662,771,885,1040,1262,1560,1180,1050,1096,857,583,413,520,1198,1632,1280,896,592,515,502,626,1182,1232,1104,874,720,977,1194,1318,1544,1620,1534,1042,1086,1700,1378,1372,817,623,739,1068,1360,1336,1208,933,702,900,1062,1054,909,741,1070,1394,1118,799,1078,1308,1288,1052,905,1028,1302,1274,1021,1288,1542,1066,744,1362,1844,1528,1220,1344,1340,1368,1276,875,849,870,1011,1162,1488,1218,1296,1338,1088,1110,801,689,1058,903,1376,1372,1156,881,1062,1144,1260,1448,1408,1306,1334,1114,987,1198,1498,1500,1574,1578,1490,1386,985,768,889,1070,1230,965,659,913,1562,1322,790,588,705,806,969,1036,1006,888,1014,1268,1270,1556,1790,1416,1158,1134,818,521,397,383,419,451,655,932,1340,1536,1454,1454,1356,1474,1490,1362,1374,1740,1856,1316,831,969,1232,1620,1916,1816,1816,1826,1554,1492,1964,2352,2472,2986,2508,1772,988,969,1312,1260,1694,1542,1366,1278,1390,1314,1098,1144,1540,1490,1104],[347,510,714,611,467,672,653,836,512,411,511,715,877,1100,1428,1474,1044,484,435,478,584,616,595,426,327,304,385,434,381,335,310,307,332,365,356,407,502,515,511,514,516,748,683,444,412,478,581,667,598,502,493,453,408,416,430,414,499,741,1128,1086,819,744,828,783,877,847,921,1004,686,619,821,1034,1130,877,529,450,519,752,502,327,351,376,328,301,495,591,510,526,554,683,984,1126,1288,1448,1858,1710,1466,1288,1004,796,731,600,720,1088,966,583,393,376,411,377,1036,1836,2094,1990,1404,1040,930,924,983,1196,1202,1012,685,763,1110,1312,1294,1260,1180,1023,919,1096,1600,1942,1576,1346,1012,573,872,1816,1724,1300,1254,1176,1060,567,949,1626,1516,961,693,588,583,544,501,501,444,468,465,677,1220,1130,1050,1272,1476,1556,1668,1752,1664,1558,1478,1382,1362,1420,1406,1468,1404,1326,1444,1530,1602,1294,1142,1346,1374,1276,1290,1140,993,1010,1058,933,952,960,1108,1268,1260,1296,1396,1292,1262,1382,1396,1320,1284,1306,1504,1504,1324,1250,1344,1438,1394,1320,1246,1070,912,789,772,1054,907,607,774,1058,1236,1184,1160,1128,615,398,965,1112,803,814,639,764,1108,1312,1318,1202,822,528,446,436,453,877,1140,937,588,437,480,741,927,844,1018,735,473,487,461,754,871,860,1070,771,568,455,402,491,603,537,452,539,583,756,713,587,624,620,927,1060,1208,1728,1706,1156,1272,1084,1042,1268,1242,778,584,598,601,570,578,812,940,922,1314,1284,874,645,1154,1258,1336,1516,1504,1178,996,791,597,695,591,462,422,412,395,385,553,637,608,641,713,904,1284,1634,1304,1152,1424,1364,1416,1580,1354,1100,796,611,539,491,443,678,1158,1544,1308,832,652,492,434,401,488,1284,1968,1402,1376,1534,1526,1262,565,406,808,723,1132,1368,852,753,1068,1098,877,648,872,1138,1432,1610,1196,1378,1378,1306,1198,962,673,769,1080,1220,1110,1266,1116,1138,1182,1034,619,533,432,351,433,562,818,1266,1472,1340,749,371,298,229,249,309,498,672,614,494,519,750,1136,1176,1180,1082,935,1170,1288,1134,1016,1284,1422,1520,1326,1480,1812,1692,1472,1160,1322,1256,1160,1040,1100,1004,520,328,369,467,915,1096,948,1070,991,1116,903,745,729,981,855,721,1476,1756,1432,1328,1252,1248,1368,1948,1652,1386,1410,1424,1424,1326,1276,1460,1460,1310,1240,1090,1158,1500,1698,917,556,727,954,1142,1310,1430,1472,1488,1582,1820,2046,2178,2116,1908,1642,1316,924,699,697,739,797,746,744,759,659,631,616,694,934,1013,1108,1234,1422,1256,1062,898,739,630,523,625,818,1010,988,1092,1340,1454,1592,1482,1316,1648,2196,2026,1906,1726,1576,1672,1876,2230,2204,1956,2098,1932,1844,2186,1694,2010,1494,1118,1160,1328,1368,1394,1452,1342,1300,1302,1230,1260,1436,1528,1264,1052,983,1007,1200,1396,1638,1630,1416,1386,1174,1086,886,620,483,477,467,423,771,883,688,516,400,415,567,897,742,875,891,1248,1508,1338,1312,1432,1572,1512,1104,739,591,415,515,911,1136,977,824,737,650,475,856,1456,1606,1558,1336,1038,661,552,615,496,346,346,381,375,318,463,1026,1406,1244,719,609,1106,1484,1504,1642,1638,1718,2018,2138,2194,1936,1370,829,1250,1864,1790,963,698,1574,1396,604,540,1042,1404,870,440,323,378,356,522,554,598,650,705,750,534,641,1432,2484,2330,1226,818,727,753,758,667,690,650,537,570,647,683,868,934,794,839,1432,1220,964,846,578,560,581,561,611,709,794,575,563,919,1202,1114,703,417,367,520,770,1018,933,920,1288,1182,1264,1864,1470,1052,1472,954,424,369,369,449,649,724,665,437,414,503,888,981,653,1015,1036,1456,1642,1154,1286,995,872,736,817,1416,1136,753,736,949,1182,838,457,523,877,1044,751,810,929,1094,1288,1416,711,922,1094,1638,1528,1416,1432,1240,1426,1556,1408,1424,1576,1388,1316,1158,1040,1013,979,1306,1436,1208,1122,1228,1034,954,1364,1590,1482,1274,1094,1034,1126,1470,1596,1516,1490,1568,1802,1400,1482,1005,913,1090,1406,1170,865,1056,1284,1452,1478,1406,1340,1418,1126,1140,1286,1414,1390,1252,1192,1100,1202,1382,1252,1262,1306,986,847,717,735,760,786,901,1020,832,785,944,767,647,838,986,966,1152,1012,1134,1005,927,1036,880,834,871,728,808,570,568,425,450,493,463,418,346,333,345,351,350,350,323,336,375,356,420,969,938,738,737,805,1106,1248,1086,1166,1516,1512,1542,1604,1772,1548,1256,929,616,487,477,587,546,421,359,338,338,377,360,289,296,308,443,587,675,1442,2458,2696,1738,993,869,866,892,924,943,891,849,822,780,641,468,504,940,1290,1282,1282,1176,1898,2640,2344,2030,2082,1836,1354,1190,1728,1658,1556,1594,1502,1562,1704,1624,1216,1434,2318,1884,1138,1656,2348,2438,2090,1484,1500,1250,1306,1518,1534,1464,1396,1330,1332,1362,1594,3282,3930,3046,1980,1808,1450,1318,1428,1354,1372,1116,891,1284,1268,888,1092,926,539,539,606,708,726,669,661,703,1210,2226,1906,1032,880,702,1034,1246,1484,1538,1294,1260,1314,1082,1254,1592,1770,1894,1926,1672,1184,1300,1368,1490,1584,1630,2116,3520,3520,2662,3496,3698,3504,3040,2240,1072,593,708,722,845,1086,1322,1296,1048,1432,1396,1346,1610,1084,959,951,948,852,931,1190,1166,1062,1190,1228,1172,1130,1116,1086,1190,1328,1294,1272,1180,1318,1470,1412,1548,1324,1266,1342,1216,1306,1460,1406,1384,1340,1274,1232,1318,1350,1240,1400,1494,1346,1306,1044,1232,2354,2128,849,1034,1076,987,1080,1092,861,694,861,1366,1130,654,839,1170,1290,1284,1248,1094,1214,1102,1228,1218,921,1072,1198,1152,1262,1266,1134,1310,1588,1366,931,1122,1214,742,525,529,560,623,727,710,511,409,529,448,394,592,1082,2330,2154,1512,1110,814,894,903,780,632,666,700,780,854,854,767,806,712,702,872,685,447,586,554,459,441,491,364,276,392,410,333,264,287,525,372,407,549,747,936,437,344,339,395,486,482,346,296,302,373,716,868,616,873,1370,1238,831,1168,1024,953,828,710,562,743,726,818,1312,1428,1158,910,1034,1198,1272,1166,1388,1416,1068,888,952,765,421,396,557,1184,1226,1246,1324,1122,997,1092,1166,1278,1160,1486,1864,1202,934,1120,803,490,408,429,742,1434,1526,1208,962,1036,930,672,594,575,722,819,955,633,606,802,818,927,1196,1186,1242,1284,1328,1522,1724,1670,1182,641,600,673,625,550,570,661,921,1296,1078,1088,1488,1554,1888,1272,693,458,413,626,929,1062,1130,1206,1438,1578,1434,1160,983,1188,1122,1106,1011,1003,1124,1030,1124,1064,651,716,1364,1454,1130,984,687,783,740,595,561,445,497,449,481,565,641,661,716,673,837,909,1776,1606,1278,1850,1656,1330,1276,902,709,720,921,1116,1284,1216,1226,1208,1008,766,713,865,705,639,1048,1166,1318,1354,873,953,1252,1252,1122,1154,1206,1464,1652,1648,1210,940,938,973,910,966,990,1034,913,783,802,838,713,615,557,705,723,850,1036,1160,1154,1196,1368,1266,1102,1104,1092,934,1018,1308,1626,1512,1206,1022,1168,1084,915,1258,1300,1078,932,1246,1316,1184,1420,1302,1294,1274,1294,1414,1128,804,1176,1448,1128,943,862,1009,1178,1164,1164,1054,916,921,1128,1308,1134,1040,1230,1288,1116,879,1046,995,673,882,798,768,1136,886,686,907,724,594,1116,1468,978,766,755,952,1016,817,874,1262,1238,1110,924,952,1278,1372,1120,1096,1274,1294,1128,1066,1038,967,1020,1238,1196,789,893,1050,1328,1354,1170,985,1260,1170,1244,1216,1270,1098,1404,1354,1188,1314,1434,1188,1046,892,662,750,824,564,404,461,516,549,706,504,706,1356,1140,1050,1330,1320,1080,924,849,757,637,962,1030,933,1172,977,755,1010,940,651,759,1068,817,717,844,989,1206,1346,1222,789,714,700,480,449,708,882,901,929,1214,1372,1366,1242,1068,957,864,655,431,377,750,1110,827,583,408,442,495,739,730,767,937,833,728,890,767,758,955,915,1206,1252,1196,1118,1410,1682,1016,654,660,910,869,678,894,1012,1036,835,851,1120,1015,929,1072,1290,991,553,858,1324,1272,1156,1188,1160,1322,1640,1878,1766,1550,988,777,1222,1356,1348,1444,1386,1388,1406,1214,1042,1054,804,561,786,1116,954,913,1092,1038,1334,1478,1200,1218,736,960,1350,1146,1500,1948,1424,1248,1256,976,1260,1528,1146,1334,1646,1588,1522,1498,1616,1580,1190,838,713,636,725,988,944,1030,1130,1324,1616,1314,811,796,1252,1430,1410,1452,1104,1170,1274,1136,1372,1198,979,1082,968,472,375,399,407,412,431,442,558,748,1126,1374,1526,1628,1582,1460,1286,1306,1366,1076,982,1194,1164,1258,1528,1520,1572,1722,1872,1912,1814,2084,2344,2372,2128,1354,835,644,597,1009,1007,1128,1406,1498,1228,1382,1454,1418,1300,1572,1588,1462],[343,350,620,549,516,648,596,1032,870,697,742,763,1014,1706,1974,1318,735,481,415,412,466,595,582,396,303,283,371,452,402,343,329,319,352,392,383,411,476,469,482,509,622,830,769,662,594,520,502,458,379,405,371,344,373,392,441,484,522,893,1394,1032,805,751,931,753,526,467,447,540,653,673,770,829,1156,1142,611,498,702,646,483,377,304,361,384,378,352,355,402,388,357,396,364,984,1300,1510,1770,1710,1646,1466,1366,1092,1366,1106,977,1290,1034,545,399,321,432,583,964,1438,1628,1644,1500,1272,1186,1134,1266,1114,1132,893,661,922,1080,1322,1360,929,670,735,753,924,1146,1364,1086,946,623,418,941,1364,1040,773,888,1110,1040,763,759,1044,1108,1256,1304,835,547,435,444,604,1078,736,604,577,910,1016,1322,1388,1214,1338,1492,1570,1786,1956,1990,1468,1086,1082,1484,1332,727,636,835,935,1050,1106,1234,1400,1366,1392,1348,1210,1188,1270,1300,1156,1074,1240,1454,1410,1260,1216,1494,1520,1382,1296,1162,1174,1352,1548,1468,1001,886,802,767,990,864,688,808,909,859,725,836,1278,1056,788,1288,1618,1144,627,480,403,371,276,490,559,735,648,471,466,1166,1700,1334,1358,1162,786,617,446,749,1248,1764,1622,863,498,552,987,1290,1106,1216,625,426,487,430,860,886,1116,1096,654,556,434,419,519,604,500,463,433,354,389,393,521,611,713,882,857,1236,2180,2014,1300,1040,1138,1158,1298,1456,1162,901,915,651,505,745,1066,1222,1378,1296,904,814,1228,1210,914,1090,1402,1422,1050,803,495,658,1015,714,433,379,390,415,393,708,1060,1005,914,1150,1576,1462,1754,1516,1550,2112,1490,1242,1224,1126,1142,1000,1156,1186,956,886,1310,1604,1202,792,1312,1316,633,345,339,469,1570,2502,1360,1570,1858,1744,1638,872,417,432,487,1007,1384,1048,612,550,642,713,619,802,1244,1270,1142,1080,1240,1442,1506,1568,1222,1164,1186,1007,1148,1188,1256,1310,1004,1084,1222,1032,689,484,481,494,502,730,976,1274,1116,446,287,303,240,280,344,459,519,584,901,995,1210,988,619,743,891,771,895,998,785,1074,1132,1164,1366,1230,1368,1554,1656,1682,1610,1498,1602,1622,1376,1312,1176,819,679,849,1286,1234,875,1100,1128,1007,1134,1118,1016,1013,1054,863,528,686,786,1182,1174,1204,1148,1066,1364,1430,1648,1754,1698,1354,930,885,1132,1138,1106,1108,1050,985,1318,1194,775,1040,1278,1324,1362,1522,1564,1632,1648,1970,2162,2104,1840,1454,1102,883,744,796,924,1082,1246,1208,926,1106,1172,996,909,817,814,910,906,855,897,1378,1180,1050,918,778,641,563,581,788,1040,1013,1074,1244,1356,1534,1376,1366,1738,1968,1766,1516,1212,1012,1124,1632,2090,2168,2294,2294,1550,1782,2208,1840,2094,1818,1182,1088,1402,1500,1338,1248,1182,1188,1230,1232,1418,1538,1488,1242,1062,1064,1202,1416,1664,1636,1512,1356,1438,1344,1196,1092,949,760,590,486,505,620,868,1454,1036,600,446,497,672,666,1144,1294,1194,1228,1250,1674,1700,1630,1674,1560,1074,822,600,709,1520,1802,1340,889,908,1013,561,1186,1866,1712,1112,705,432,326,351,343,303,317,362,401,353,495,944,1122,1078,922,711,459,860,1222,1226,1448,1480,1252,1472,1814,1888,1884,1482,767,713,966,964,651,698,1376,1512,884,679,1094,1286,1076,596,386,455,540,606,554,540,581,656,494,366,614,1478,3366,2708,1096,585,649,951,890,813,796,791,860,850,850,565,697,995,954,1052,1448,1262,735,485,373,485,752,714,640,539,532,458,949,1304,1302,1182,1068,797,506,405,485,784,1020,666,1010,1556,1578,1570,1294,1418,1494,786,456,802,1026,724,607,612,625,497,488,597,714,1034,1072,938,1216,1722,1108,963,1007,745,828,850,1084,1360,1130,578,674,1304,1780,1206,420,378,523,1074,1180,937,949,1204,1388,833,555,952,1088,1094,1220,1450,1436,1296,1518,1562,1636,1770,1516,1268,1346,1168,1004,799,945,1266,1464,1324,1374,1560,1356,1334,1578,1302,951,836,949,1252,1388,1422,1632,1470,1350,1412,1362,1422,1398,1254,1312,1398,1364,1015,975,1184,1312,1288,1222,1408,1304,1158,1148,1234,1288,1428,1372,1208,1310,1316,1468,1374,1256,1168,1126,1250,1270,990,875,789,855,1092,1420,1650,1694,1132,1008,917,944,872,1005,1136,963,851,896,1122,1084,1040,1206,918,750,1072,577,402,391,424,477,574,532,409,374,374,379,382,372,298,377,431,328,453,1120,1384,1122,804,559,430,802,1334,1096,1438,1602,1424,1268,1156,1236,1096,579,467,462,521,681,655,550,537,333,243,284,347,359,313,269,467,638,532,892,897,845,613,645,704,780,825,836,869,858,857,843,769,497,425,778,1198,1260,1296,1112,1686,2596,2358,1902,2066,1958,1750,1506,1948,2472,2232,1730,1572,1604,1610,1594,1492,1344,1922,2188,1434,965,1224,1662,1984,1866,1742,1424,1256,1434,1236,1002,1110,1204,1328,1256,888,1080,2306,2064,1628,1622,1726,1488,1346,1524,1528,1454,1110,1028,1232,1002,872,1022,780,543,575,630,619,592,553,545,698,1244,1960,1442,930,894,767,1146,1886,2228,1932,1600,1584,1422,1360,2674,3360,3768,3684,1754,691,1072,1506,1576,1484,1604,1598,2078,3046,2710,2118,1986,1582,1500,1348,1354,1007,732,1007,918,664,994,1278,1001,1100,1356,1050,1288,1528,1078,939,1082,1024,884,1166,1398,1346,1274,1126,1178,1252,1160,1136,1282,1262,1352,1516,1158,1212,1426,1476,1316,1332,1230,1228,1392,1322,1344,1460,1488,1344,1184,1290,1300,1544,1338,1312,1420,1308,1392,1354,1140,1396,2062,1390,706,1042,1260,901,972,1204,1200,1122,974,999,1046,893,880,1280,1200,1284,1226,1268,1594,1244,1156,1090,921,1288,1876,1396,706,815,970,1274,1410,838,580,1218,1002,608,502,448,491,583,630,604,480,554,688,580,578,932,1450,2588,2054,1666,1434,1020,896,824,695,553,650,1056,886,582,714,747,744,714,656,860,920,849,926,586,486,386,364,323,327,377,344,262,298,352,301,294,325,429,524,736,440,375,403,482,490,426,310,235,299,339,472,555,612,968,1196,883,715,826,994,1086,933,921,857,714,882,955,1182,919,811,625,614,849,1104,1296,1376,1288,1170,1230,1138,964,566,509,1078,1674,987,656,855,1172,1334,1148,825,894,1180,1092,1238,1054,1118,1108,598,415,447,432,945,1426,1400,1122,781,800,769,725,953,870,1010,997,843,462,532,873,917,1078,1084,821,787,763,741,919,756,828,1010,926,1056,1242,1058,751,666,694,1010,1114,985,1252,1496,1488,1498,859,475,476,445,765,1038,988,1238,1032,940,1390,1410,1210,1158,1196,1284,1298,960,800,927,958,1054,1090,933,1054,1270,1102,1114,1108,1007,1056,967,725,745,610,694,456,469,556,707,827,738,595,603,841,1144,1220,1450,1574,1362,968,967,553,393,483,608,891,1328,1354,1290,1234,1092,1076,949,971,726,968,1406,1422,1452,1164,849,810,1206,1462,1240,909,987,1240,1442,1360,1028,879,1078,1198,1318,1112,594,683,902,929,683,745,716,623,519,517,485,485,788,1166,1134,1184,1009,811,1001,1088,1274,1188,1166,1458,1434,1286,1366,1294,1204,1216,1134,1160,1208,1100,1032,969,1138,1178,1102,1172,1422,1324,1404,1340,965,1001,993,1094,1290,1021,768,975,1208,1280,1260,1152,1118,1086,921,752,469,592,941,1256,851,1412,2134,1568,1140,986,915,697,966,1160,1356,1104,1050,1082,1148,1064,996,832,709,1118,1132,718,890,1314,1074,1414,1414,969,1056,1464,1310,1178,1254,1278,1510,1434,1056,834,686,763,647,1096,1080,1186,1382,1262,1052,1108,1092,1016,1296,1088,1166,782,1132,1020,1170,1452,1434,1382,1130,746,495,450,448,406,453,485,485,517,571,531,583,592,619,724,799,968,960,722,738,857,479,375,456,752,1106,952,859,979,774,520,838,1054,855,1096,844,831,1042,1206,1318,1026,626,657,581,537,932,1042,987,821,982,937,791,963,817,672,757,548,439,306,468,891,651,523,515,410,549,763,747,727,844,509,416,647,660,538,481,355,746,1460,1276,813,1242,1660,1560,1076,648,1036,782,595,912,1132,1418,821,581,851,1136,1208,1230,1190,1026,755,1064,1234,1328,1440,1480,1468,1532,1722,2076,1720,1124,1118,827,919,1008,1134,1638,1636,1422,1250,1086,1046,1114,835,782,986,1212,1194,933,1218,1274,1080,1290,1392,1316,1021,1058,1228,1262,1714,1886,1428,1218,857,537,675,998,1298,1522,1512,1450,1588,1546,1350,1296,1408,915,684,698,932,969,1200,1396,1338,1160,1534,1794,1494,1534,1992,1796,1686,1522,1626,1526,1236,1176,1266,1232,867,944,1044,637,433,424,379,393,462,422,466,620,937,1124,1366,1604,1332,1054,1334,1406,1192,1204,1228,1176,1160,1208,1184,1204,1412,1876,2200,1810,1758,1846,1884,1678,1502,1562,1502,1154,1030,1046,888,827,1292,1576,1356,1864,1586,1664,1756,1786,1644,1610],[377,306,473,426,498,670,806,1028,971,755,637,609,833,1256,1108,734,550,447,406,387,409,473,439,348,302,311,318,326,365,339,332,329,356,387,407,416,461,486,484,471,590,850,1194,1476,1436,683,426,403,364,358,327,367,429,414,434,520,623,1010,1250,963,783,724,1034,1050,931,868,648,929,1490,1448,927,753,966,934,586,477,814,772,593,394,266,390,417,420,401,420,398,325,321,361,377,760,989,1234,1144,1010,1350,1244,1126,998,1290,1014,927,1054,730,460,436,338,568,1054,1332,1764,2028,1548,1592,1504,1274,1538,1858,1484,916,469,659,954,919,981,1134,1388,1126,630,480,339,411,551,824,872,603,848,1228,1266,833,566,1036,1208,1078,826,604,720,872,1416,1632,702,429,389,423,743,1430,1148,932,642,838,855,894,1240,1372,1392,1036,928,1194,1334,1642,1450,1448,1350,1478,1226,621,383,418,574,536,662,953,1260,1324,1120,1011,1009,823,576,532,600,750,870,1078,1048,1060,1068,1032,1030,1902,2722,2026,1490,1480,1548,1410,754,712,482,470,1058,1216,922,1046,1354,1218,814,790,1070,954,848,1234,1648,1122,587,459,433,328,296,346,573,668,482,420,528,1308,1936,1394,1034,1288,1332,1084,883,1138,1550,1960,1742,730,445,512,940,977,872,785,484,374,374,376,409,494,819,987,654,491,389,410,530,526,441,436,418,415,453,472,541,521,416,477,776,1078,1142,1086,1048,1242,1156,930,1178,1260,916,1242,1282,771,527,825,1076,1176,1152,935,988,1416,1662,1128,1003,1428,1122,827,625,518,464,750,1072,614,466,545,525,390,549,992,1190,886,994,1646,1418,1064,1404,1504,1992,2186,1286,818,890,1304,1384,1116,1066,1260,1064,1210,1504,1440,1290,1254,1406,1054,515,486,361,394,1122,1842,1388,1612,1986,2166,1934,998,448,460,563,919,1286,1076,596,401,407,595,632,573,705,851,752,622,903,1338,1614,1782,1116,1186,1400,1172,1334,1472,1554,1480,1224,1300,1216,1040,618,508,810,895,711,786,772,714,533,316,319,294,282,332,375,644,774,1256,1698,1464,1172,801,524,381,543,715,992,943,827,1248,1021,1216,1356,1398,1480,1610,1600,1692,1760,1570,1644,1674,1300,1138,1284,1134,1338,1572,1610,1206,935,1354,1182,735,989,1358,1472,1378,1144,863,692,505,492,636,772,982,767,644,935,1242,1562,1704,1964,1208,631,625,947,1136,1592,1602,1172,888,910,1080,1128,1284,1258,1362,1522,1710,1710,1662,1854,1986,1736,1432,1106,838,764,735,850,1362,1682,1908,2260,2360,1926,1876,1556,1072,1116,1080,894,841,889,1152,952,1004,849,834,951,993,909,830,798,875,1066,868,910,1046,1548,1712,1450,1380,1526,1586,1282,805,562,496,648,1176,1250,1422,1986,1976,1092,1592,2280,2054,1920,1614,1144,1210,1268,1256,1202,1180,1132,1234,1260,1208,1340,1386,1278,1236,1208,1350,1686,1858,1830,1630,1426,1292,1306,1490,1528,1360,1166,1005,854,604,504,548,1056,1838,1146,1110,897,431,466,859,1374,1232,1106,1440,1498,1624,1698,1604,1588,1714,1246,1204,951,891,1512,1602,1078,791,857,846,680,1280,1538,1138,946,677,390,423,426,368,367,428,476,475,505,841,1194,928,881,824,571,381,621,948,922,1054,1166,1378,1400,1338,1460,1686,1278,631,659,921,1228,1326,1556,2154,1638,907,888,1282,1468,1268,709,382,528,655,655,692,655,653,664,480,391,601,1078,1518,875,910,970,1230,1632,1246,791,793,913,1190,1532,1598,792,441,736,716,964,1476,1114,477,589,510,563,709,557,536,575,661,569,873,1248,1234,1200,1424,1504,1182,708,565,698,1036,915,614,1384,1596,967,841,1458,1384,585,702,1450,1482,807,462,373,405,423,422,637,808,802,995,1020,884,1334,1586,1288,804,633,814,912,1178,1408,1060,612,504,722,1001,848,739,858,579,1007,1466,1076,1040,1532,1234,546,619,1064,1284,1128,1400,1324,1328,1268,1346,1512,1636,1594,1534,2104,1938,1250,1166,826,1132,1204,1440,1360,1370,1348,1420,1408,1112,839,1078,1396,1352,1142,1136,1240,1460,1342,1158,742,991,1700,1350,1166,1244,1296,1460,1476,1340,1262,1262,1058,948,1032,1086,1108,1188,1150,1090,1184,1196,1236,1254,1284,1372,1284,1296,1434,1308,1534,1464,1218,1182,1246,1012,736,1058,1460,1754,1876,1688,1616,1750,1604,1462,1416,1482,1584,1512,1428,1330,1334,1242,865,978,1274,812,498,475,417,336,358,379,351,300,339,410,435,378,323,468,554,471,617,1240,1532,1238,684,505,385,507,1184,1590,1384,1500,1490,1130,923,1226,1036,525,492,442,492,618,709,699,660,394,256,309,506,529,311,297,441,778,588,805,502,574,672,566,477,598,672,736,796,785,809,807,681,431,673,1126,1218,1334,1188,1376,2334,2630,2164,1846,1926,1692,1772,1726,2242,2492,2498,1900,1402,1382,1498,1502,1162,955,1562,1666,1446,1126,1268,1346,1856,1798,1476,1332,1494,1392,994,1086,1262,1306,1346,1250,859,644,1234,2060,2226,1672,1472,1370,1056,1516,1710,1454,924,1028,1194,1100,834,857,756,628,650,510,518,517,409,435,623,1112,1720,1428,1020,991,827,1248,2436,3354,3370,2244,1420,1420,1442,3200,3884,3710,3406,1958,753,963,1446,1438,1202,1514,1848,2820,3130,2200,1678,1466,1428,1642,1506,1372,1188,789,975,875,637,979,1340,1096,1011,1148,1318,1372,1028,1088,1380,1354,1126,852,985,1678,1766,1216,886,1078,1234,1246,1358,1384,1208,1386,1502,1340,1506,1354,1356,1274,1318,1420,1384,1454,1482,1354,1426,1354,1336,1204,1294,1092,1172,1246,1322,1476,1332,1206,1254,1206,1036,911,716,1200,1148,1338,1224,1016,1144,1178,1176,1078,861,957,1056,1194,1318,1140,1306,1234,1350,1360,1076,1050,1266,1198,1338,1672,1108,552,1026,1230,1070,988,697,582,965,1020,954,671,455,543,715,532,547,526,595,630,462,435,727,1274,1472,1318,1406,1474,1472,919,814,763,570,538,974,993,806,854,839,771,727,756,965,994,897,1036,1019,936,545,605,678,410,356,413,337,314,409,366,300,314,368,316,467,534,533,486,518,490,433,296,279,363,300,381,426,637,1066,1058,584,530,578,788,775,586,684,867,1050,1692,1208,957,727,729,666,543,438,594,1076,1328,1080,1056,1340,1356,1184,1194,1238,1324,1088,641,391,501,925,1412,1238,1112,846,1278,1096,982,1074,1038,733,476,415,414,447,703,1140,1230,1278,948,899,1130,1266,1013,930,866,781,622,522,1114,1724,1678,1376,767,584,560,559,538,526,491,539,852,1230,1464,1544,1200,907,809,680,982,774,882,1100,1058,1038,891,501,568,689,678,925,690,814,1038,738,634,1094,1338,1416,1478,1562,1404,1378,1172,777,674,991,1186,1146,1016,1058,1088,929,1060,1406,1340,892,992,899,1124,935,735,571,652,729,799,788,619,593,865,1021,922,1008,1060,1324,1062,761,671,495,500,590,549,1228,1954,1576,1406,1478,1598,1318,1142,1020,966,1354,1370,1268,1280,1306,1472,1280,1434,1408,1042,807,1226,1454,1274,1084,969,866,1048,1120,1010,896,679,752,859,704,508,627,592,528,531,518,545,493,599,903,929,850,810,1040,1018,1046,1366,1508,1570,1516,1196,1162,1438,1154,889,1096,991,1146,975,741,714,686,710,702,762,1086,1206,1298,1368,1366,1248,1026,926,1032,1176,1278,1122,1044,1146,1138,983,935,1074,889,488,410,724,916,861,935,1086,2234,2564,2394,1814,774,780,818,842,1350,1762,1324,1222,1009,844,698,1032,1202,815,930,815,542,922,1132,1180,1428,1188,972,1230,1642,1666,1630,1416,1422,1826,1424,1278,1190,1048,888,849,1142,971,1082,1272,1130,803,856,861,1076,1156,916,1166,1048,918,883,1072,1296,1392,1234,1132,896,490,442,435,441,612,631,634,907,961,630,441,531,795,777,750,733,888,830,1030,994,508,510,499,573,852,694,706,838,761,637,1142,1178,1056,1146,1002,896,1052,1176,1034,891,500,612,792,885,1038,946,858,952,1134,894,833,1148,935,753,1288,855,593,407,393,920,965,963,709,324,375,672,796,645,622,512,487,445,730,1032,767,729,824,983,952,709,789,1344,1118,741,564,970,908,1007,1294,1356,1166,626,405,624,901,1036,990,908,1290,1226,1412,1516,1360,1400,1340,1268,1558,1648,1526,1166,989,1086,622,547,886,1434,1558,1554,1428,1362,1128,907,943,1009,1346,1350,1392,1466,1472,1504,1156,858,1164,1456,1350,1156,1116,1226,1324,1428,1398,1288,1044,812,672,889,958,1162,1166,1274,1688,1654,1288,1005,1026,1158,1088,698,720,916,971,1288,1338,1246,1242,1534,1782,1844,1926,2172,1972,1448,1456,1722,1642,1332,1260,1354,1304,1252,1158,1054,653,486,448,434,372,433,403,430,552,747,854,1048,1350,1270,1118,1418,1412,967,1188,1234,1160,1238,1300,1356,1300,1434,1318,1384,1548,1618,1510,1396,1458,1570,1634,1578,1576,1594,1520,1456,1492,1650,1556,1870,1826,1400,1556,1744,1632,1614,1548],[444,501,655,719,660,637,620,582,604,581,498,521,631,607,484,521,548,507,442,406,396,391,398,309,240,263,336,328,344,326,318,317,332,367,414,438,451,466,465,440,468,675,861,1017,1040,625,445,432,399,355,296,365,537,623,609,682,736,985,730,886,872,833,1172,1266,1296,1516,1448,1230,1828,1790,917,518,572,586,531,623,827,735,611,344,329,389,390,390,390,430,394,369,412,397,462,717,879,1244,746,653,1030,1380,1392,1328,1188,915,744,751,650,532,529,381,555,1350,1686,1766,1748,1684,1956,1720,1007,949,1436,1536,950,459,770,849,915,1080,1072,1498,1128,870,757,450,343,400,539,578,561,866,1158,1154,656,768,1226,1154,900,618,423,472,625,1140,1082,495,412,442,430,577,715,936,1013,924,1064,998,904,1108,1130,1082,995,931,972,1010,1134,1240,1202,1146,1398,1118,453,375,345,505,459,745,1022,1136,1378,1444,1386,1274,904,529,554,662,768,902,1174,1142,1222,1170,1028,854,2028,2578,1642,1156,1282,1502,1244,713,907,641,449,982,1258,1104,1206,1260,1114,890,788,747,635,697,711,1070,1250,981,633,337,256,274,381,647,821,474,388,467,1026,1650,1524,1848,1842,1380,1206,886,653,1066,1332,1282,631,461,498,762,671,559,636,766,615,421,579,589,558,769,816,675,538,411,360,391,395,381,367,403,477,485,393,377,389,375,604,829,1038,945,825,681,774,1084,1218,1300,1116,697,956,808,1176,823,550,985,1164,910,988,1092,1240,1344,1322,1360,1346,811,586,465,437,420,635,721,609,641,852,768,692,941,1136,789,454,625,907,885,1080,1370,1438,1572,1438,1114,1188,1342,1428,1408,1144,799,564,541,806,1422,1666,1466,1238,919,589,731,948,532,346,467,763,932,1250,1780,2062,1920,1350,547,475,563,777,952,879,568,421,430,601,740,697,617,616,633,665,830,1158,1276,2188,1648,1568,1770,1332,1214,1252,1330,1238,1160,1072,905,824,805,579,869,1130,1072,816,661,651,451,295,344,299,301,390,943,1610,1504,1624,1588,1448,1448,1494,1102,716,696,1056,1136,904,1186,1364,1166,1240,1506,1614,1476,1526,1506,1528,1708,1626,1666,1618,1460,1408,976,809,1156,1428,1094,729,1084,1434,1082,730,834,1242,1488,1688,1364,917,1020,781,533,622,780,935,854,1034,1019,1014,1030,1156,1532,1256,1042,1166,1508,1852,1908,1440,1178,1042,1058,1328,1362,1328,1478,1574,1526,1522,1600,1588,1534,1338,1018,842,743,647,675,717,1238,1934,2222,2320,2534,2714,2664,2504,2004,1378,1170,1146,1012,965,1007,1662,1148,750,865,917,993,1104,1282,1700,1722,1410,1360,1076,1174,1204,1938,1920,1456,1432,1474,1164,722,490,438,461,623,1136,1118,772,888,1262,1072,1434,2144,2032,1672,1450,1410,1548,1070,963,1040,1019,929,1104,1256,1294,1316,1268,1250,1394,1428,1466,1838,1952,1796,1598,1196,968,1070,1294,1478,1490,1198,943,974,904,590,498,541,1114,1056,1478,1128,522,570,695,819,1290,1598,1812,1786,1426,1456,1558,1582,1724,1412,1192,1034,754,828,827,440,474,526,636,869,1412,1466,827,719,819,715,694,733,543,539,648,685,888,845,964,1100,1266,1550,1124,598,528,669,968,1202,1128,775,1196,1116,1514,1924,1700,1220,752,1007,1136,1372,1704,2526,2370,1302,745,1021,1754,1842,1356,813,444,539,736,792,821,679,698,756,666,451,588,1494,1528,1220,1730,1310,1100,1836,1788,737,635,676,962,1622,1754,1002,485,539,619,966,1488,1048,544,871,714,832,756,927,1194,1166,993,678,615,896,1278,1630,1888,1782,1302,1096,918,1100,1322,1278,897,1038,1374,1284,999,1088,1320,1021,733,1194,1360,722,413,418,455,565,607,640,710,552,552,995,1192,1012,1070,891,709,584,805,706,635,1092,1302,805,444,572,597,882,1072,1234,729,698,1256,984,980,1182,603,476,918,1360,1612,1234,1246,1206,1316,1116,1118,1274,1314,1272,1284,1600,1400,1214,1238,1118,1246,1298,1372,1340,1196,1158,1362,1050,705,985,1430,1498,1410,1226,1100,1148,1094,971,912,624,1614,2316,1504,997,783,662,850,1276,1508,1358,1172,1078,1302,1104,1056,1260,1218,1136,1092,1066,1128,1312,1270,1078,961,1124,1300,1450,1362,1338,1284,1146,1122,1432,1282,866,654,817,1426,1980,2126,1972,2032,1928,1730,1698,1688,1750,1824,1818,1404,1268,1560,1206,1224,1116,651,555,588,511,408,422,417,304,314,361,409,433,385,326,466,715,645,727,1220,1096,888,543,391,560,658,802,1250,1402,1506,1514,1488,1440,1266,916,713,723,472,427,606,772,765,560,337,268,305,553,819,528,405,662,1154,1003,1138,1088,1126,1404,1172,606,446,379,528,587,599,672,689,518,522,1004,1206,1240,1288,1266,1782,2136,2340,2402,2250,2050,1852,2342,2404,2254,2354,2306,1874,1428,1110,1318,1506,1338,1144,1624,1964,2084,1584,1160,1772,2084,1810,1832,1494,1494,1104,990,1182,1462,1456,1388,1390,1032,705,1642,3312,3110,1824,1430,1032,874,1352,1704,1418,944,1008,1034,794,681,829,686,646,680,559,558,615,521,537,591,774,1484,1500,1100,1026,832,1120,2642,4136,4124,2854,2500,2104,1454,2592,3540,3784,4030,2766,864,813,1100,1196,1312,1588,1918,2336,2886,2426,1844,1602,1532,1920,2110,2086,1764,881,818,792,635,648,981,1044,921,1136,1472,1710,3024,4124,1760,1602,1682,1434,1900,2272,1888,1146,797,985,1244,1378,1252,1194,1268,1364,1284,1472,1354,1458,1490,1356,1482,1556,1398,1384,1480,1358,1224,1172,1364,1470,1418,1012,1132,1484,1450,1488,1354,1082,1092,896,821,1168,930,1232,1144,1214,1250,1102,1168,1130,1052,857,866,1116,1366,1432,1510,1738,1318,1366,1624,1538,1338,1308,1428,1346,924,929,810,691,1252,1266,933,968,861,716,805,1114,1366,1192,1036,855,1032,874,873,747,697,705,753,896,968,827,877,1034,1236,1364,1238,852,1006,577,384,475,703,777,796,940,852,696,791,835,1052,1196,1124,1130,1534,1314,830,1042,1001,485,336,383,323,293,409,458,433,516,739,549,447,872,922,539,537,484,446,362,341,327,309,346,346,466,887,1152,976,715,672,805,827,924,737,831,1412,1748,1250,999,679,528,641,611,397,473,1016,1366,899,985,1052,896,966,1250,1404,1448,1244,823,747,739,716,1023,755,1118,824,1170,918,644,766,969,816,645,495,412,651,1116,1534,1114,1274,1160,965,1218,1258,899,683,616,636,559,477,1230,1894,2000,1478,1066,939,992,1034,1000,861,801,746,973,1604,1734,1776,1076,771,587,433,585,628,645,806,929,878,931,658,678,925,875,871,907,812,761,697,568,769,1406,1658,1564,1362,1228,1372,1214,719,799,1021,1140,1064,788,711,1000,1070,946,1200,1348,1066,1184,1200,1508,1128,755,813,962,957,866,710,685,921,1446,1534,1426,1290,1240,1250,1019,957,828,563,603,760,719,1152,1312,1454,1434,1428,1268,1146,1100,1222,1080,1180,1234,893,970,1036,1134,1170,1476,1392,1390,1540,1620,1336,1064,1092,1100,1086,1008,1007,865,879,923,1134,1442,814,488,589,561,530,586,723,870,739,591,698,859,1030,1422,1724,1392,1146,1284,1556,1516,1292,1054,818,762,616,677,879,1158,1052,612,465,599,858,901,764,792,972,904,1050,1186,1418,1288,1096,963,931,1176,1248,953,682,883,1100,751,826,1072,776,469,549,966,959,648,575,1272,1960,1096,830,1126,1216,693,622,601,965,1144,1078,1046,851,801,638,725,886,891,1154,1082,792,1130,1342,1204,1094,974,1084,1450,1636,1670,1710,1418,1604,1418,1082,1270,1162,1322,1334,1268,1112,1009,1050,1200,938,602,609,536,565,728,1110,1276,1110,1013,968,769,841,982,896,1198,1140,576,416,406,495,616,657,911,1380,1422,899,656,496,672,833,946,828,1158,1300,1324,953,505,572,440,372,608,612,611,1018,1040,843,1020,860,840,1100,1214,954,959,1288,900,577,404,587,858,889,713,539,578,995,1246,1092,858,1126,1124,667,896,714,685,514,483,883,1112,1028,618,355,409,531,834,826,1003,1238,1015,821,1344,1532,1344,1498,1242,787,943,867,767,1236,700,478,615,981,1180,1366,1332,1144,853,496,411,449,572,644,637,1194,1442,1556,1576,1302,1066,1214,1098,946,1262,1314,1146,1034,1222,934,517,751,1218,1436,1448,1522,1362,1272,1184,836,1050,1366,1708,1854,1570,1344,1296,1252,941,886,1182,1388,1360,1180,1088,1013,1206,1202,1030,968,1046,1222,1142,1040,938,964,966,1206,1440,1378,1332,998,1210,1120,1042,924,761,642,702,948,1148,1134,1288,1488,1640,1792,1900,2006,1724,1304,1306,1410,1538,1484,1404,1142,1318,1584,1294,1108,721,518,498,498,479,422,343,415,541,574,652,922,1308,1532,1272,1314,1470,1106,1128,1302,1366,1318,1498,1488,1316,1424,1522,1570,1346,1474,1592,1502,1378,1252,1432,1408,1408,1478,1368,1226,1800,1730,1390,1672,1408,1054,979,1304,1478,1704,1360],[529,584,567,482,404,422,416,449,551,660,527,485,519,538,538,548,561,545,482,439,410,391,409,257,228,289,302,336,336,322,316,301,307,339,410,408,367,349,342,317,410,781,763,508,393,422,411,357,353,375,343,377,499,596,688,677,584,598,772,1050,1076,904,955,1296,1548,1522,1278,913,1166,1180,700,462,517,509,493,729,976,668,424,374,427,398,319,327,397,400,392,374,412,446,651,1298,1250,1194,705,657,1080,1610,1594,1424,1200,727,540,639,507,488,522,460,766,1608,1526,840,657,1152,1476,1368,778,445,441,709,838,725,947,997,957,1018,1354,1354,680,744,1076,753,544,522,521,504,519,467,571,569,443,765,1154,1098,949,941,930,547,477,590,604,563,463,474,465,409,449,509,585,860,1088,815,669,730,892,1001,855,827,948,999,1028,1032,709,712,1003,786,480,375,352,408,371,692,902,952,1206,1332,1312,1292,1142,847,674,789,1017,1396,1480,1384,1208,1312,1154,811,1312,1302,922,782,938,1416,1238,995,1096,769,372,604,937,979,946,818,830,702,935,852,722,747,630,858,1016,1038,794,326,376,363,431,739,1138,763,625,968,1634,1518,946,1046,1184,758,634,504,421,569,599,659,655,709,760,800,594,495,832,1382,1078,639,1310,1434,1136,1062,618,410,417,372,359,371,369,330,294,353,509,514,528,387,375,433,871,832,667,752,960,1158,1072,865,1110,1106,882,792,1002,1004,1650,1220,750,1078,919,604,659,699,984,1212,1036,1136,827,506,475,512,584,522,445,500,596,1006,1104,970,1016,1188,859,539,769,1186,1228,1108,1194,1376,1340,1616,1388,1520,1560,1542,1444,1240,1102,1017,1092,983,978,1272,1490,1564,1324,1136,1044,1252,1180,617,633,885,824,702,815,1212,1670,1900,1490,556,426,423,397,531,846,680,547,594,658,821,739,548,609,609,594,877,940,794,1732,1770,1666,1476,1054,1136,1378,1366,1438,1338,932,1490,1278,1092,747,859,1066,987,662,467,582,466,314,325,331,314,421,1584,1986,1730,1532,1416,1356,1294,1296,1316,1154,1074,1580,1426,1028,1086,1084,1152,1310,1708,1826,1650,1322,1218,1258,1418,1386,1434,1530,1590,1560,1090,1058,1126,990,716,982,1466,1166,924,875,842,845,1174,1492,1224,739,708,783,809,798,802,955,1108,1108,1038,1176,1148,1268,1444,1462,1422,1460,1438,1362,1142,1028,1230,1426,1534,1336,1338,1652,1672,1482,1430,1494,1608,1522,1194,899,764,702,733,700,726,920,1714,2198,2236,2358,2610,2742,2596,2496,2170,1504,1007,1008,1028,934,1200,1792,1342,1002,1376,1644,1624,1686,1848,1926,1644,1362,1208,1288,1306,1332,1732,1664,1510,1578,1084,576,421,427,466,559,811,1086,1266,1074,805,994,1116,1454,2030,1892,1484,1588,1726,1578,976,755,790,814,758,824,1108,1372,1216,1146,1278,1332,1376,1544,1766,1738,1704,1506,1262,1244,1266,1422,1518,1454,1164,715,711,883,843,839,861,1020,1278,1366,868,427,469,499,554,1096,1488,1772,1590,1466,1744,1638,1222,1250,1232,763,708,795,861,1236,904,574,705,768,888,1392,1396,892,882,1226,1178,825,824,600,591,539,532,886,700,788,1070,1076,1220,1120,1038,1166,1013,870,1366,1388,984,1144,1170,1848,2176,1754,1590,1014,1021,1188,1516,1754,2320,1718,801,513,1168,2076,1856,1296,755,477,538,761,865,724,639,787,805,653,464,637,1316,1210,1328,2002,1670,1208,1776,1730,943,1000,846,669,1122,1632,1328,492,502,650,1112,1648,1021,890,1720,1754,1630,1322,1666,2910,3186,1750,812,805,741,938,1362,1642,1588,1294,1300,1392,1640,1388,1050,926,666,651,1222,1678,1302,1488,1068,527,543,726,492,518,698,698,661,727,582,630,501,426,775,1212,877,529,505,484,791,1376,1264,836,761,1015,1002,903,1268,772,858,1172,1258,710,507,1118,1128,526,451,512,851,1013,1134,1170,1084,1140,1180,1200,1084,1102,1294,1392,1166,1036,1314,1268,1238,1166,1258,1248,1468,1434,1344,1314,1352,1278,816,780,983,815,860,930,1144,1262,1144,890,871,978,880,1184,1382,1058,1142,1020,739,926,1094,1250,1492,1334,1004,909,1058,1252,1484,1386,1190,1162,1126,1146,1015,999,836,822,1136,1296,1236,1290,1490,1290,978,1120,1478,1392,1196,886,708,1062,2132,2542,2226,1940,1988,1932,1944,1904,2138,1482,1408,1424,1478,1434,1268,1326,903,378,413,492,394,388,481,463,425,412,318,300,349,326,333,404,477,491,463,623,481,474,433,437,593,625,711,795,1136,1548,1506,1452,1434,973,418,625,853,658,540,553,644,631,524,425,348,423,982,1318,755,583,944,1066,1066,1332,1460,1434,1436,1348,1152,879,521,468,389,333,438,566,491,789,1194,1202,1236,1234,1662,1746,1484,1904,2386,2518,2302,2076,2178,2476,2480,2138,1986,1896,1658,1424,1376,1298,1498,1626,2100,2208,1924,1322,1532,2156,1908,2338,2750,2364,1664,1064,1112,1452,1782,1420,1248,1458,1476,1208,1384,2590,2314,1536,1546,914,929,1370,1780,1400,1064,1282,1076,570,623,868,643,599,655,739,750,716,569,499,516,572,1056,1390,1050,1074,960,966,2098,3342,3658,3820,3970,2862,1600,2388,3742,3864,3682,2734,1024,808,1160,1404,1490,1490,1646,2280,2626,2128,2126,2588,2564,2700,2510,2314,1988,1030,810,822,695,779,938,1005,1110,1346,1516,1772,2856,3580,1652,1772,1860,1482,1452,1500,1490,1156,718,805,1058,1162,1130,1100,1194,1274,1316,1290,1124,1298,1412,1340,1544,1612,1544,1206,1044,1214,1220,1202,1238,1490,1354,1108,1344,1470,1368,1504,1446,1168,1206,1036,1064,963,885,1052,1082,1204,1150,881,982,858,718,936,994,1294,1528,1346,1340,1228,1098,1322,1492,1420,1266,1084,1250,1186,862,849,893,646,716,827,873,1038,1092,1192,1252,1360,1428,1664,1604,1262,1072,1344,1270,1194,1152,1064,1046,1180,1192,873,1094,994,1002,1230,720,616,924,670,449,610,871,883,506,656,806,681,807,797,983,1300,1118,1188,1470,1468,1322,801,534,345,407,369,264,296,424,495,485,416,555,579,760,1404,1148,576,505,509,471,452,433,342,308,256,239,280,512,920,1020,892,1030,1164,1116,1068,1078,1148,1096,1078,1007,890,869,625,621,748,362,604,1236,1030,508,527,752,1042,1100,1134,1310,1358,1306,983,1072,1040,755,575,1146,2076,1136,978,1042,1004,1460,1272,693,670,469,389,789,1470,1460,1134,1280,1118,1005,1100,1068,871,684,561,580,521,441,1328,2084,2198,1554,1110,1106,1400,1750,1472,839,658,625,869,1182,1128,1426,1058,786,619,503,548,705,869,1224,1398,1064,789,957,872,921,733,684,750,905,1028,1032,1130,1142,1394,1502,1502,1416,1296,1396,1300,1100,1108,1152,1222,1114,837,1001,1168,1160,1170,1262,1218,1172,1454,1312,1260,1148,952,989,962,969,867,818,1084,1312,1460,1604,1324,1038,1094,1184,1084,855,774,951,669,619,856,1282,1312,1384,1408,1314,1174,1068,1142,1122,1042,1284,1152,1032,1122,1108,1128,1026,1220,1180,1268,1700,1738,1046,702,747,793,1168,1246,1174,807,884,1068,1492,1282,647,628,613,548,581,705,944,1064,948,745,647,786,1034,1290,1498,1498,1450,1564,1426,1326,1176,882,625,649,673,624,659,835,662,416,441,761,1206,1354,1306,1148,769,949,916,1136,1296,1260,1290,1210,1088,1114,1140,963,667,824,767,594,577,784,573,453,576,726,691,654,546,688,894,532,595,742,1017,716,855,790,808,922,974,1158,1092,1009,875,930,899,935,1244,1342,1200,1076,1028,1182,1208,979,1186,1338,2194,2032,1736,1642,1636,1318,1378,1156,1084,1370,1366,1502,1324,1170,896,1156,1164,819,679,639,708,1050,1366,1244,1110,1272,1028,564,578,636,749,1058,931,506,358,353,480,505,619,1019,1264,1324,1080,874,860,1062,1258,1096,744,1212,1608,1274,839,377,300,270,436,762,820,929,1498,1238,835,695,532,721,1126,1136,725,665,1032,814,473,436,799,1128,908,576,423,517,874,767,645,644,962,965,587,495,856,955,689,574,545,637,686,521,482,628,985,1348,1180,1196,1416,1694,1548,1566,1504,1156,989,875,696,937,814,804,1184,866,629,781,1072,1128,1160,915,980,903,569,394,408,502,532,708,1252,1180,1028,923,923,1250,1164,1048,1028,1160,896,1160,1054,898,835,765,960,980,935,1166,1332,1284,1058,1078,1058,1258,1406,1632,1902,1440,855,1072,1258,1036,1140,1180,1192,1210,1058,754,546,708,1092,1396,1276,1350,1572,1436,1216,1162,1372,1388,1078,1020,1324,1892,1490,1168,970,996,996,684,481,535,723,864,1182,1564,1564,1678,1838,1858,1784,1490,1512,1588,1406,1418,1556,1562,1394,1650,1572,1118,775,495,426,460,448,457,426,365,462,501,498,609,736,1130,1130,1130,1206,1172,1278,1520,1592,1520,1290,1074,1028,1198,1068,1322,1418,1212,1362,1362,1082,924,1068,1748,1632,1720,1780,1332,1036,1378,1366,1350,1424,1522,1176,830,1196,1622,1654,1118],[558,465,414,420,465,521,495,456,425,631,603,491,410,378,422,466,496,509,514,474,401,357,334,285,255,278,301,351,360,330,322,300,286,306,419,335,298,291,300,289,421,767,779,477,403,379,369,361,338,377,379,375,415,486,550,597,552,497,538,851,1472,1476,853,868,1034,823,831,930,897,1076,958,558,544,733,989,1009,1132,803,444,318,362,367,267,278,309,333,375,354,375,408,874,1608,1676,956,454,728,1268,1434,1274,1124,1064,500,394,466,364,346,599,916,1098,1422,1240,644,452,461,613,732,531,434,393,628,1064,1470,1164,987,1132,1136,1500,1374,695,963,1154,946,1106,940,734,517,460,334,444,499,429,650,683,627,985,1576,1866,1216,647,642,881,800,768,766,787,848,762,645,721,770,951,650,586,799,1330,1088,686,770,780,800,940,969,623,895,1302,984,575,428,410,357,344,735,1019,977,1090,1282,1316,1356,1296,1130,868,910,1310,1424,1388,1220,999,1382,1474,1030,1480,1438,769,898,1158,1556,1232,763,810,691,381,412,726,917,1021,692,650,871,1198,1034,671,607,730,847,873,1026,929,560,460,432,647,1005,1174,1066,1176,1448,1468,1280,1312,1124,661,403,388,363,370,414,439,443,582,625,780,692,664,910,1230,1538,1078,786,1418,1462,1158,875,532,412,385,365,358,388,407,344,320,387,606,527,497,428,386,630,1118,1072,699,469,564,1023,1174,760,996,1076,1324,1676,1420,1340,1486,1006,579,663,809,749,666,521,652,1026,833,796,702,576,550,494,469,491,556,589,881,1356,1084,1142,1592,1502,807,537,821,1180,1100,1036,1262,1114,1054,1434,1720,2042,1800,1266,1148,1106,963,1188,1338,1300,1620,1876,1584,1250,1370,1322,1326,1268,770,431,503,530,545,600,619,1088,1150,819,589,438,379,368,387,607,976,1058,980,849,766,751,694,715,794,822,902,1030,1012,1126,1478,1408,1358,1486,1092,799,1116,1650,2030,1772,1644,1672,1110,937,1082,1350,1248,958,697,603,514,397,336,315,310,323,743,1656,1726,1498,1388,1428,949,628,596,733,800,816,929,866,960,869,841,805,999,1462,1652,1448,948,980,988,1172,1168,1282,1480,1528,1604,1636,1570,1500,1274,1286,1820,1642,1104,1017,1122,1003,916,1314,1544,1374,903,688,771,1124,1240,675,552,1278,999,883,1122,1212,1424,1654,1576,1500,1850,1842,2070,1924,1698,1614,1506,1378,1450,1764,1812,1580,1498,1514,1500,1362,1082,883,713,672,600,542,646,700,901,1594,2080,2176,2386,2530,2578,2482,2444,2110,1428,1048,1106,1298,1344,1326,1380,1552,1848,2248,2544,2544,2522,1980,1588,1110,762,673,771,954,1226,1382,1616,1772,1576,966,807,708,608,513,708,912,915,1042,1018,980,893,650,984,1904,1852,1580,1768,1752,1528,1062,704,658,725,783,832,956,1210,1034,1070,1150,1238,1416,1696,1758,1584,1488,1360,1428,1456,1234,1422,1558,1490,1246,1050,1018,908,908,1068,1052,1038,1030,841,781,628,553,496,452,766,1426,1604,1538,1604,1726,1586,1040,792,1182,843,560,1164,1152,1478,1142,828,1062,938,722,796,917,1100,1232,1284,1118,820,921,869,637,566,839,1066,968,1094,1098,1108,1414,1004,1006,1438,1013,922,1148,1104,1128,1172,1396,1734,1794,1768,1616,1082,1336,1418,1650,1872,1938,1490,739,542,1340,1816,1200,1418,1040,468,579,853,1058,869,895,1110,926,614,415,519,999,783,1150,2386,2040,1058,1216,1106,875,986,705,658,988,1582,1074,529,539,674,1092,1550,977,983,1832,1838,1538,1222,1134,1750,2208,1728,814,848,840,988,1066,968,975,1236,1468,1644,1774,1642,1406,892,502,363,640,1438,1590,1238,805,799,599,461,688,1052,1030,716,515,854,999,957,567,397,605,999,1236,968,610,634,1108,1642,1152,746,621,698,1194,1456,1680,1082,752,908,976,866,717,965,1238,701,756,896,1068,1021,1284,1232,968,1174,1398,1390,1238,1350,1796,1940,1248,1056,1294,1224,931,1042,1172,1232,1198,1028,1092,1296,1332,1454,949,937,1038,746,598,636,847,1088,1024,907,894,868,742,724,927,1390,1386,856,728,965,953,1008,1422,1546,1268,1278,1798,1804,1590,1316,1196,1568,1260,1168,1088,846,771,943,1172,1334,1302,1282,1358,1054,678,1042,1356,1346,1166,996,847,658,922,1964,3000,1916,1936,2138,2098,1716,1614,1516,1660,1714,1768,1692,1566,1444,979,422,398,430,375,564,579,595,612,623,512,336,348,328,320,418,542,572,899,1036,861,622,510,560,501,603,832,846,883,1238,1556,1472,1338,772,433,490,625,796,785,569,516,519,634,579,472,431,639,635,393,614,825,551,593,930,1244,1040,578,694,871,1160,1284,938,536,342,412,412,600,1108,1224,1242,1078,1224,1636,1334,1082,1408,1880,2290,2544,2338,2050,2132,2132,1748,1826,1918,1762,1710,1644,1482,1428,1448,1732,1784,1460,1466,2142,1952,2156,2824,2922,2462,1996,1664,1556,1748,1554,1500,2542,2602,1614,1404,1100,1150,1140,1306,1324,846,965,1526,1736,1268,1154,1290,991,709,715,890,556,580,604,577,675,863,955,984,882,680,754,1260,1172,1116,1038,924,1730,3312,4058,4040,4042,3210,1844,1962,2724,2898,2868,2338,1044,785,1260,1572,1486,1392,1490,1720,1694,1770,2036,2624,2468,2490,2172,2478,2222,1146,791,857,788,720,834,1082,1268,1462,1844,1750,1566,1606,1182,1052,1272,1280,1116,1078,1390,1392,795,714,958,1418,1284,1230,1128,1084,1260,1404,1420,1476,1480,1200,1256,1310,1334,1180,1118,1250,1490,1202,957,1030,1072,1076,1004,823,965,1232,1368,1118,998,1262,1192,992,1040,1478,1828,1324,1194,1100,1130,922,594,1078,1362,1500,1522,1496,1432,1296,1196,1146,1250,1406,1286,1176,1386,1048,701,699,856,633,458,714,1048,1015,951,1174,1144,1294,1444,1162,1076,1086,1146,1444,1384,1350,1308,1172,1088,1198,1098,935,948,857,1136,965,527,932,1234,642,653,850,734,1060,822,512,511,440,477,682,1202,1460,917,682,851,1076,1232,854,763,757,633,381,283,297,303,361,470,376,292,345,505,698,483,499,511,514,533,558,462,429,600,620,378,315,361,548,672,936,1256,940,1118,1050,1006,1112,796,827,959,908,1062,845,756,806,422,779,1160,874,651,482,384,636,1018,1266,1410,1060,1084,810,883,1174,1018,1122,1742,1752,972,1000,1288,1350,1390,1094,882,600,383,444,1150,1596,1208,1172,1328,1168,1158,1332,1254,955,680,464,633,588,517,1334,1864,1694,1560,1400,1244,1360,1366,727,414,396,478,783,981,908,899,820,905,842,632,614,727,852,925,1282,1052,786,934,926,730,541,785,1220,1472,1370,1232,1298,1372,1346,1294,1222,1222,1268,1358,1346,1332,1316,1342,1398,1168,1244,1344,1306,1008,1050,1314,1216,1200,1292,1206,1360,1354,1238,1288,1238,1288,1206,1296,1308,1346,1418,1262,1100,1174,1108,1050,1018,708,814,1264,921,656,837,1142,1276,1468,1340,1242,1264,1320,1160,847,950,1228,1386,1144,987,942,880,1002,988,1034,1086,965,1218,954,716,883,1106,1262,1240,822,739,1354,1580,1526,1130,915,890,647,620,648,727,908,973,1013,994,737,607,607,683,1054,1494,1620,1354,1318,1498,962,619,772,759,702,708,518,574,553,408,543,1018,1316,1272,1466,1188,630,745,1116,1284,1238,1238,1360,1406,1216,1116,1152,1004,677,648,781,727,756,968,968,816,584,601,492,645,684,745,699,653,809,642,598,678,999,890,870,1018,1316,1158,975,708,657,813,679,870,1188,1340,999,634,728,1100,1294,1132,1110,1440,2862,2316,1704,1674,1478,1188,1232,1256,1394,1410,1418,1444,1288,1386,1418,1362,1094,1132,1036,799,798,1138,1460,1426,1334,1476,780,467,443,454,657,688,485,381,358,406,461,428,644,1066,1244,1344,1326,1554,1534,1534,1552,1316,1166,1370,1220,1066,933,524,480,451,447,790,937,1030,1136,1026,1009,837,1092,933,853,1060,1280,1124,746,501,461,644,1013,1007,852,669,478,475,1068,911,459,729,987,915,714,724,1007,783,657,517,464,513,641,716,534,955,1448,1262,943,1176,1682,1626,1578,1574,1554,1198,869,1136,983,927,756,716,963,1024,783,907,1007,1002,1136,719,749,703,529,461,636,589,636,710,915,771,483,501,814,1278,991,891,1028,980,1114,1298,958,662,763,1180,1412,1288,1334,1142,965,987,1132,915,805,904,788,1058,1328,1023,1018,1228,1008,952,817,975,1100,760,807,778,683,662,1222,1616,1328,1164,1538,1628,1434,1302,1490,1466,1048,657,731,1406,1582,1416,973,585,581,500,574,830,676,438,650,1194,1594,1786,1882,1782,1770,1844,1882,1748,1556,1590,1482,1392,1332,1432,1512,1058,591,453,402,392,385,420,411,487,985,1142,821,638,547,734,1132,1410,1332,1362,1450,1552,1788,1614,1400,1360,1312,1144,898,1176,1484,1488,1466,1236,792,904,1426,1852,1534,1562,1924,1598,1170,1023,1098,1224,1072,1146,1001,979,1158,1546,1212,1202],[349,349,403,431,447,467,463,400,350,577,630,467,351,361,394,514,492,447,496,483,387,313,321,321,263,255,303,361,389,336,356,307,300,283,379,365,281,274,298,274,325,487,483,418,395,333,350,349,338,386,382,358,335,337,408,447,411,436,523,858,1596,1572,843,559,473,556,905,970,919,1194,1154,853,1064,1418,1550,1196,799,647,509,344,362,351,285,261,231,258,323,377,363,390,753,1005,1330,857,489,898,1030,1104,1378,1314,1152,556,417,408,345,269,329,527,633,750,808,658,425,592,766,537,595,522,436,608,935,1020,634,688,837,828,1126,1068,943,1106,913,1102,1368,1158,863,626,493,445,450,393,571,973,874,861,951,1582,1836,1190,663,1072,1122,805,821,835,955,923,714,639,876,1102,1292,1182,1100,1454,1776,1244,862,727,730,730,769,1013,1150,1118,925,597,422,382,412,385,370,740,1019,1007,1078,1322,1476,1514,1478,1284,1092,1116,1366,1528,1190,514,623,1122,971,971,1410,1208,731,908,1242,1558,1286,559,415,420,376,517,1124,1242,1158,836,758,838,926,832,692,951,1220,1166,839,650,679,678,450,488,933,1250,1216,1070,1005,1254,1334,1088,1170,633,411,386,397,384,428,406,436,455,471,788,818,650,1160,1360,1294,1006,839,1194,1754,1192,820,756,650,637,566,383,373,463,477,424,335,341,469,490,433,432,518,847,1130,1130,845,516,492,1286,2252,1436,1332,1398,1442,1596,1570,1406,1200,933,989,1066,1254,973,942,888,879,849,645,633,707,644,914,828,544,499,648,582,799,1136,1284,1242,1688,1362,1088,995,585,818,923,1054,1088,1080,1272,1400,1958,2150,1542,1256,1576,1378,1376,1746,1738,1450,1392,1368,991,1182,1438,1252,1104,740,458,426,419,475,746,755,775,893,676,543,553,480,380,338,471,732,985,1216,959,700,658,607,791,1060,960,1220,1484,1140,913,1158,1108,1023,1708,2036,1386,877,835,1298,1498,1204,995,995,1072,924,835,731,905,934,825,803,750,445,302,271,299,356,1084,1708,1466,1158,1562,1512,684,437,420,456,826,886,783,1104,1298,912,663,702,824,928,1126,1104,797,843,938,1110,1222,1284,1356,1332,1252,1556,1722,1832,1562,1484,1512,1322,1458,1336,1412,1302,991,1136,1478,1516,1198,1088,888,1256,1384,973,1028,1288,1026,1270,1394,1106,993,1126,1356,1548,1804,1450,1648,1666,1682,1548,1356,1510,1714,1680,1608,1608,1556,1444,1220,1064,968,947,921,947,716,589,621,582,868,1448,1954,2262,2222,2342,2438,2498,2618,2306,1922,1970,2118,2100,2148,2178,2136,2412,2796,3050,3200,3166,2872,2184,1562,963,650,613,632,726,910,1248,1648,1742,1792,1816,1620,1250,796,621,990,984,837,1166,1164,868,716,628,785,1592,1766,1680,1646,1688,1628,1162,713,625,733,833,922,1001,1078,1012,1022,1007,1184,1418,1730,1848,1808,1522,1324,1610,1466,1376,1550,1626,1500,1164,1048,1140,936,916,1218,1372,1188,846,907,1168,1162,747,597,480,568,1052,1404,1522,1628,1680,1710,1562,913,822,1024,853,1266,1250,919,588,675,846,525,384,577,856,1396,1466,1364,993,780,1376,1452,900,788,1008,1376,1076,1212,1220,1154,1268,802,785,1196,1056,1200,898,612,702,998,1454,1602,1580,1716,1420,1100,1682,1896,2060,1970,1872,1930,1254,883,1496,1108,527,615,627,440,604,951,1040,926,915,862,684,574,387,418,785,573,1100,2062,1590,695,755,1080,1224,1462,1060,877,1013,1224,694,592,555,741,689,999,926,858,1324,1216,944,512,472,603,764,990,784,1288,1910,1888,1650,1216,919,1242,1490,1520,1714,1902,1674,961,594,432,359,778,1290,1028,588,489,545,798,1060,1432,1246,558,392,829,1376,1180,606,544,522,468,772,995,647,725,1118,1292,1092,1018,1116,945,919,1224,1310,903,773,841,838,694,556,544,1190,1018,957,948,1070,1130,1224,1168,1196,1252,1272,1300,1366,1446,1704,1462,1120,1234,1428,1176,982,987,1070,1232,1274,1122,1148,1372,1488,1616,1656,1350,1050,813,728,661,779,954,865,943,829,876,1021,1044,1130,1212,976,653,605,725,800,1042,1450,1864,1804,1606,1888,1926,1350,1106,1240,1500,1250,955,688,591,788,909,1446,1974,1406,1072,1212,1042,642,868,1166,1262,994,764,893,780,705,1264,2050,1626,2188,2492,2156,1832,1738,1802,1750,1660,1698,1620,1676,1556,1204,595,425,387,376,651,659,534,562,617,602,524,537,536,510,472,522,811,1282,1344,1214,821,533,496,446,518,732,829,849,958,1424,1544,1562,1182,649,362,394,679,878,755,521,534,556,566,563,508,472,449,371,734,968,583,583,653,766,596,388,361,457,709,742,883,814,519,470,613,916,1290,1268,1372,959,1156,1074,1186,1376,1418,1476,1698,2136,2492,2504,2072,1810,1614,1754,1700,1726,1786,1746,1522,1072,1140,1316,1572,1666,2008,2006,1972,2734,2976,2512,1968,1876,1720,1460,1394,1408,2066,2490,2566,1646,1706,1412,1044,1038,1404,1346,965,1152,1678,1678,1086,1246,1238,874,810,828,858,649,655,656,767,1044,1200,1198,1266,1578,1042,590,1032,1136,1274,1302,941,1420,2754,3676,3816,3876,3376,2016,1524,1356,1434,1344,1116,840,724,1186,1416,1204,1236,1474,1704,1688,1802,1848,1928,2642,2828,2242,2570,2500,1422,700,728,692,646,929,1196,1296,1376,1262,1516,1700,1402,1009,1126,1422,1344,1058,861,1438,1478,802,592,1122,1958,1516,1262,1174,1012,1184,1332,1356,1470,1504,1216,1182,1090,1098,1090,1128,1214,1292,1204,1060,1032,1050,870,666,529,954,1214,1394,1232,1100,1382,1340,1110,980,1186,1378,1322,1602,1294,1276,1340,825,926,1382,1404,1420,1456,1206,1116,1032,1094,1206,1614,1118,971,1292,1266,1017,896,1266,1382,761,853,1046,727,1418,1922,1476,1444,1444,1004,947,998,982,1088,1202,1310,1468,1290,1208,1278,1194,1100,981,1036,1366,1003,691,1492,1664,664,796,891,1122,1486,1274,819,569,441,492,800,1484,1368,838,855,818,904,908,782,761,1006,813,447,303,326,303,337,388,300,234,254,335,481,449,444,473,527,683,738,505,486,951,1432,721,389,424,676,684,828,819,789,1168,1038,771,813,836,631,590,908,908,1132,1214,1013,698,995,1072,794,724,566,399,549,925,1028,1266,897,691,691,709,932,1300,1360,1084,883,708,824,1338,1232,1032,825,1220,965,519,533,962,1240,1252,1246,1246,1192,1348,1486,1252,793,677,571,818,682,588,1394,1662,1316,1484,1348,1360,1304,996,514,341,359,499,722,939,937,592,645,993,875,648,698,820,891,858,1028,1030,930,835,910,909,1034,1152,1148,1046,1092,1038,916,1300,1210,1176,1160,1236,1266,1236,1300,1338,1392,1474,1350,1172,1270,1214,1262,1058,841,971,1092,1024,830,999,1154,1154,1306,1280,1296,1320,1222,1290,1110,1124,1306,1126,1282,1644,1284,1108,1286,974,875,1426,1206,788,805,975,1206,1356,1102,1180,1354,1700,1068,880,1024,1078,1268,893,699,921,1066,1056,993,877,1023,911,1066,1086,992,1162,1374,1278,948,610,719,1372,1836,1124,926,1278,1334,1013,735,681,708,794,836,922,994,854,579,440,676,1272,1652,1438,987,989,1110,674,404,653,677,769,841,717,938,758,605,769,1210,1400,1078,940,597,572,1026,1444,1310,1164,1252,1340,1300,1310,1278,1206,1114,1120,1058,982,1074,1262,1352,1636,1508,783,550,509,535,590,728,673,539,566,941,1108,921,1009,803,937,998,1310,957,547,417,483,819,1074,1020,1028,996,969,792,742,1026,1208,1368,1264,2014,2492,1936,1600,1650,1582,1140,890,1116,1366,1390,1658,1746,1986,1990,1826,1418,1212,1044,894,839,576,747,1384,1770,1546,1078,667,449,417,480,697,767,604,579,415,531,647,604,839,1172,1452,1278,1016,1232,1236,1268,1418,1238,1126,1008,681,1005,1144,982,1050,862,662,749,960,992,1106,1636,1602,1302,1792,1494,934,1258,1572,1700,1094,509,569,701,760,631,736,714,491,455,984,891,727,861,722,722,724,835,1266,574,447,469,589,534,447,635,544,871,1152,882,531,821,1262,1076,1450,1572,1752,1428,1166,1494,1242,1166,1050,521,694,1184,1024,1028,1120,1134,790,382,330,407,568,572,627,667,686,682,609,429,541,601,757,794,758,1074,1354,1196,1224,1320,1132,681,730,1256,1112,727,656,857,1136,892,1007,1248,1012,1132,1142,929,957,857,979,915,674,900,767,1176,1454,1009,878,870,811,927,1232,1162,1023,927,1188,1410,1422,1614,1440,1278,1248,964,1017,1352,1498,1644,1684,1012,429,429,587,798,900,758,704,979,1180,1554,2138,2150,1782,1578,1846,1736,1572,1562,1444,1344,1342,1466,1386,767,436,388,407,392,354,351,418,1136,2084,1924,1378,811,466,487,935,1356,1558,1538,1440,1306,1588,1508,1412,1098,1164,1296,1274,1528,1538,1448,1466,1370,1120,1364,1630,1574,1394,1210,1490,1772,1558,1108,1040,1114,988,989,973,1182,1334,1674,1880,1742],[337,365,396,384,360,342,327,368,574,778,731,679,436,431,481,542,505,468,479,446,372,294,279,291,254,247,286,351,396,397,361,340,334,286,332,332,289,286,292,297,343,399,365,404,438,431,437,384,380,412,394,379,347,298,303,306,308,331,483,808,1364,1338,839,527,526,727,970,724,755,957,1296,1850,1764,1896,1688,1060,663,505,341,295,320,318,273,282,262,244,280,328,296,343,384,710,1138,776,621,607,497,912,1138,1216,985,496,362,471,569,495,459,368,270,298,437,454,458,713,930,807,697,633,486,450,486,451,512,797,982,879,976,1152,1198,1190,1194,1228,1118,774,506,518,456,471,492,515,584,857,802,910,931,1012,1306,938,618,875,940,860,742,985,1454,1260,957,835,918,1040,1266,1320,1450,1948,1878,1292,1224,971,860,1260,1352,1192,1392,1136,668,526,426,447,530,403,394,799,1003,1102,1212,1406,1520,1504,1434,1200,1190,1214,1172,1722,1588,600,505,971,753,728,694,516,508,780,1266,1748,1400,585,413,369,401,468,766,772,692,728,617,515,614,508,715,1570,1680,1346,941,605,786,937,816,840,1434,1692,1340,1180,1226,741,668,890,910,505,372,412,395,392,448,430,445,458,729,1248,725,614,906,1190,1322,727,653,1038,1128,1038,1190,938,601,580,594,539,558,561,572,540,421,320,389,445,428,424,619,1020,1200,1248,954,601,649,1354,1892,1550,1358,1180,1110,1386,1510,1418,1302,1186,1312,1296,1286,1242,1400,1440,1174,1011,973,1152,1378,907,1176,1324,997,678,620,602,792,982,1019,1036,918,952,1836,1714,872,677,1118,1642,1410,1344,1302,1816,2014,1584,1288,1116,957,975,1746,1996,2012,1754,1236,764,548,835,1042,1010,736,631,624,498,541,755,1128,888,749,625,531,462,489,506,449,350,536,959,964,821,877,849,547,478,730,804,840,1140,1434,1488,1236,1140,930,647,1552,1648,1138,871,1324,1454,998,821,813,926,1032,856,653,642,1306,963,700,766,571,323,341,363,384,603,1248,1650,1514,1392,1694,1118,567,481,422,486,809,1098,1042,964,839,635,686,766,865,874,925,788,594,732,932,1016,1138,1340,1562,1112,823,946,1302,1606,1630,1548,1516,1548,1670,1408,1234,1096,1004,1300,1616,1416,855,794,1014,1300,1274,1318,1474,1268,1124,1014,1036,1002,730,1116,1472,1610,1154,833,1324,1656,1686,1538,1598,1812,1664,1382,1638,1626,1410,1070,1050,1050,1282,1206,1124,1122,783,549,595,595,660,803,1534,2110,2006,2244,2396,2406,2600,2670,2630,2752,2820,2598,2598,2608,2778,3050,3272,3450,3394,3082,2720,2256,1418,654,487,610,647,658,861,1392,1712,2092,2458,2286,1982,1624,1172,1126,1382,1330,1320,1394,1318,1150,803,572,735,1484,1832,1626,1476,1672,1692,1192,802,776,797,856,1002,1244,1242,1146,1048,1146,1288,1382,1634,1826,2082,2092,1714,1854,1794,1738,1682,1672,1412,959,882,821,640,838,1194,1444,1020,1066,1290,1216,1190,823,624,572,599,1058,1228,1232,1540,1718,1718,1852,1404,1058,1352,1268,1302,1394,1052,599,736,794,619,589,737,1038,1184,1244,1186,1142,1316,1124,993,1028,1202,1224,1218,855,893,1176,1300,1532,955,621,621,749,1114,849,520,639,1130,1528,1508,1606,1618,1328,1426,1754,1826,1664,1500,1830,2140,1384,1013,1338,656,426,731,855,596,484,571,539,591,697,684,681,501,378,304,530,720,1256,1560,1154,774,1390,1998,2380,2514,2082,1062,866,750,782,683,576,828,807,1011,1184,749,911,477,336,522,1194,1902,2280,1912,992,980,1590,1924,1864,1366,1088,1336,1526,1538,1520,1296,1182,861,653,479,471,750,974,918,732,574,701,942,1062,1146,774,385,353,708,1206,1208,1048,778,516,289,442,896,821,1072,1418,1264,1316,1484,1648,1452,861,791,899,541,476,456,471,523,512,428,996,819,749,1096,1338,1328,1116,1292,1642,1314,1240,1374,1550,1422,1336,1322,1282,1420,1434,1250,1034,1008,1148,1092,1326,1476,1338,1272,1420,1862,1890,1278,931,847,1038,924,832,666,738,835,630,870,1068,1086,1044,1008,914,762,653,605,671,1058,1266,1638,1534,1130,1110,1322,1322,1252,1174,1090,1056,970,594,520,774,1000,1342,1628,1338,1106,1158,1160,1038,920,1066,1256,1009,912,1021,954,839,650,467,1202,2118,2276,2094,1934,2064,1848,1804,1720,1710,1732,1968,1604,1060,546,452,396,356,420,447,425,429,526,736,657,589,600,642,525,578,1068,1250,1208,1126,799,547,512,694,642,770,1084,1158,1106,1180,1306,1448,1338,1120,543,350,495,672,650,471,484,498,509,558,528,481,439,463,856,932,619,754,806,886,984,1032,856,606,651,534,498,662,641,669,825,1130,1250,1262,1168,1346,1216,886,1210,1484,1456,1394,1386,1650,1978,2168,1906,1812,1620,1514,1532,1722,1744,1592,1654,2798,2636,1168,1344,1626,1862,1886,2578,2950,2718,2232,1856,1438,1096,999,1282,1996,2676,2422,2294,1612,1582,1426,1202,989,1352,1476,1005,1086,1644,1538,1122,1312,1078,733,710,854,821,655,609,551,699,949,1058,1010,903,1390,1150,604,901,1666,2440,1870,980,1282,2648,3750,4026,4070,3754,2242,1568,1218,1182,1294,1430,1106,628,836,1144,1248,1384,1406,1670,1628,1890,1894,1714,2680,2828,2328,2820,2932,1626,755,692,677,641,866,1222,1388,1584,1476,1542,1708,1438,1224,1542,1708,1478,1430,1388,1312,1204,1116,1230,1508,1524,1358,1268,1274,1368,1412,1208,1204,1356,1284,1236,1136,1046,1160,1152,1160,1188,1232,1142,1021,1020,1168,1058,620,644,908,1140,1430,1388,1368,1398,913,694,781,1382,1652,1754,1704,1368,1276,1348,1052,910,1108,1288,1406,1394,1286,1162,959,870,866,1224,1124,854,872,1202,1208,1072,1490,1634,744,543,720,553,1212,1630,1706,1310,1026,1108,1056,1070,897,828,990,1372,1436,1094,1026,1168,1268,1294,1158,1074,1102,731,1028,1520,1138,532,599,714,1418,1552,1124,979,849,773,1026,919,1222,1036,966,815,588,818,1092,1004,1086,981,566,417,374,494,467,372,231,201,223,292,351,511,580,501,472,507,693,774,706,783,1022,1015,549,375,634,860,858,571,325,455,626,799,816,932,1512,1438,813,705,621,781,858,1002,1015,1092,1038,1058,1498,1052,514,760,996,758,824,698,614,653,697,956,1312,1108,680,569,483,697,1252,1144,663,659,1184,1262,946,909,1162,839,802,914,1158,1092,1258,1220,929,641,495,626,860,653,625,1396,1710,1418,1526,1444,1362,1252,999,595,405,378,451,720,952,786,444,655,937,972,799,907,1042,1030,1038,916,929,948,1050,1122,929,762,670,698,716,766,918,797,800,957,1108,1272,1320,1106,977,1164,1450,1416,1332,1372,1404,1492,1416,1394,1222,885,927,1152,1036,730,995,1238,1188,1378,1170,1120,1162,1116,1114,984,1196,1350,1394,1542,1438,1180,1130,1208,1172,1170,1354,1112,835,901,952,1146,1380,1270,1212,1266,1324,1118,1072,1222,1262,1218,1180,1076,1050,1232,1222,1148,797,833,957,1280,1294,1248,1372,1490,1188,762,744,719,1076,1392,738,576,762,1146,1242,1076,869,804,847,822,734,805,795,534,379,750,1504,1490,1102,1028,856,843,755,505,597,573,677,731,907,977,1040,1110,944,897,856,619,1036,2330,2194,1340,1494,1274,1290,1314,1258,1120,1184,1234,1326,1272,1252,1262,1036,1064,1268,1350,1576,1504,1256,736,526,509,596,765,708,568,603,918,986,1190,1276,1076,1160,1028,1048,727,419,356,530,954,1102,1178,960,520,620,1264,1650,1636,1418,1432,1284,1636,1824,1846,2226,1756,1578,1606,1476,1848,1654,1510,1346,1406,1580,1548,1372,1366,1306,693,508,555,547,970,1316,1532,1150,938,695,401,430,615,886,963,609,630,535,490,592,816,1058,984,1150,913,556,506,484,796,1166,954,730,786,955,1116,1238,1476,1624,1216,788,959,1396,1042,967,978,790,1310,1600,1434,803,605,750,1192,1014,669,678,584,581,709,882,819,511,394,583,859,927,664,536,617,730,725,611,489,522,535,475,361,399,571,617,843,1204,933,741,842,1098,1094,998,995,1254,1242,947,661,564,1019,1398,683,674,902,1007,1416,1434,933,438,332,392,370,455,498,531,533,606,983,1032,498,631,813,1250,763,527,685,1042,1338,1156,943,873,775,963,1230,1074,1072,952,1260,1614,1364,1228,1410,1400,1406,1454,1120,1154,1266,1072,888,769,745,777,1222,1444,1276,998,811,1156,1448,2072,1470,822,1220,1130,945,1294,1520,1234,1304,1414,1256,1094,1228,1388,2008,2434,1826,886,572,757,718,858,1046,1250,1460,995,1090,1764,1978,1616,1450,1646,1744,1758,1808,1604,1376,1286,1288,952,648,566,424,561,530,388,376,638,1904,2352,2264,1908,785,394,344,551,982,1268,1300,1302,1184,1226,1344,1374,1170,1232,1432,1510,1688,1470,1276,1336,1410,1578,1726,1520,1264,1204,1007,1146,1714,1926,1526,1434,1328,1062,1172,814,1144,1568,1654,1572,1592],[289,324,334,342,362,359,368,485,825,1009,769,785,530,536,551,485,485,491,475,445,421,345,288,266,241,257,289,336,363,433,389,330,286,286,310,278,299,298,293,328,334,358,389,431,465,479,491,444,404,421,423,423,392,284,269,325,361,374,433,680,980,1104,811,586,564,643,1112,1058,1002,1134,1870,2056,1286,1420,1548,1026,549,386,269,313,338,306,282,318,279,264,288,323,358,441,460,835,1120,622,871,860,698,852,1128,960,537,356,281,497,650,510,446,336,318,303,340,336,339,404,563,686,894,755,534,506,542,514,608,833,994,818,934,1104,1134,1248,1420,1300,694,647,804,789,691,605,513,714,815,778,787,666,469,629,835,826,753,598,815,1162,894,1292,1976,1638,1164,921,576,519,597,747,1328,1914,1642,1134,1100,1114,1036,1518,1634,1298,1224,1048,655,561,507,568,685,574,775,1068,1120,1122,1152,1296,1180,942,998,1012,1228,1250,906,1009,1030,593,471,847,732,492,381,396,483,578,1380,2054,1584,703,405,327,384,419,530,525,539,752,825,675,550,371,500,1290,1682,1680,1410,1120,1110,1368,1246,1030,1350,1516,1184,847,833,656,775,1190,1198,741,441,422,414,415,477,427,442,487,805,1110,623,789,922,1132,932,503,769,1198,1022,1010,1146,974,844,590,533,581,524,559,589,512,418,409,440,409,368,380,810,1148,1200,1434,1170,847,935,1118,1236,1294,1178,1078,1086,1380,1406,1588,1372,1202,1164,1114,1156,1228,1378,1126,689,889,1430,1880,1544,1274,1318,1486,1162,986,901,871,1110,1528,1582,1600,1652,1164,1512,1766,1660,1208,953,1094,1434,1426,1310,1302,1272,1186,1052,709,665,703,1346,2018,1876,1642,1404,797,574,565,738,701,467,614,753,778,1216,1312,1086,794,624,610,537,472,532,602,471,472,690,1108,969,824,949,772,516,436,607,840,920,1312,1866,1900,1612,1146,866,468,705,842,912,692,965,1220,1152,1130,948,742,708,798,765,949,1290,1050,854,817,568,404,435,493,433,893,1444,1660,1526,1498,1478,888,576,682,615,527,832,1224,1198,1638,1036,647,756,724,813,776,820,638,488,622,811,977,1244,1412,1398,886,995,745,1096,1668,1742,1626,1588,1690,1658,1444,1396,1262,1156,1418,1618,1366,1094,1015,1222,1346,1224,1334,1296,1254,1454,1262,1182,1144,731,1672,1820,1354,933,1118,1560,1598,1606,1706,1606,1494,1410,1500,1626,1456,1015,680,751,794,896,951,1064,1148,781,637,643,568,625,717,1424,1944,2084,2320,2250,2004,1972,2286,2486,2718,2702,2656,2874,2934,3054,3138,3312,3326,3064,2798,2592,2172,1192,571,493,613,576,654,1090,1642,2214,2780,2824,2436,2064,1810,1600,1504,1516,1534,1500,1122,744,816,883,978,1064,1488,1808,1664,1612,1798,1720,1246,879,738,713,787,1072,1334,1260,1180,1218,1272,1350,1346,1450,1606,1900,2430,2592,2348,2140,1972,1956,1970,1664,1184,1108,764,583,655,852,1013,1214,1308,1332,1326,1196,715,540,705,1084,1520,869,755,1476,1646,1534,1664,1570,1490,1624,1538,1404,1344,1172,1042,1098,943,974,1120,1146,1206,1138,1204,1138,1264,1726,1240,1170,1288,1450,1394,1360,1316,1188,1428,1416,1056,802,756,807,738,1005,911,551,960,1126,1504,1478,1598,1684,1438,1484,1256,1100,871,990,1380,1252,746,907,1122,661,459,1023,1440,1004,579,856,834,624,719,712,732,649,415,315,602,1001,1424,1680,1206,956,1788,1754,2578,2476,1728,755,527,592,704,549,515,698,742,980,1438,748,484,430,372,847,1390,1562,2180,1830,835,765,850,955,1316,1354,1354,1472,1528,1518,1540,1144,1072,1152,1096,635,725,1106,926,809,824,699,602,694,705,551,508,461,326,490,929,1516,1406,675,407,274,283,548,935,869,1134,1252,1404,1366,1380,1754,1038,590,477,409,385,297,355,536,599,462,816,893,886,1226,1180,1098,1042,1252,1480,1226,1220,1524,1514,1372,1172,1036,1172,1282,1074,847,778,1152,1356,1284,1360,1334,1226,1200,1388,1638,1324,1005,911,899,1238,1142,914,775,1034,967,778,1048,1366,1332,1212,1090,1056,1094,1024,935,779,944,1028,886,816,764,692,1078,1534,1586,1448,1348,1282,1272,1142,945,932,1176,1328,1324,1208,1168,1154,1172,1166,985,1182,1072,1196,1240,1240,1190,1088,965,719,683,1178,2126,2242,1842,1646,1484,1650,1732,1604,1622,1436,1444,1096,558,426,503,517,353,319,312,287,558,1100,926,515,505,662,596,629,757,704,814,623,540,727,656,691,671,829,1030,979,1086,1086,1144,1160,1318,1478,1062,606,546,710,733,702,747,627,482,474,474,488,483,555,905,636,860,1142,857,749,767,1356,1298,676,636,500,344,395,474,559,1122,1284,1290,1042,1198,1758,1566,1308,1380,1494,1456,1478,1478,1390,1488,1596,1618,1710,1612,1504,1634,1738,1738,1548,1604,2328,1784,1744,1434,1336,1528,1820,2320,2642,2530,2256,1592,1026,775,1074,1532,2858,3334,2924,1950,1394,907,843,1046,1256,1452,1450,959,992,1512,1256,1204,1346,956,739,752,818,686,436,591,850,1092,1242,1282,1094,894,1100,943,586,713,1306,1466,1024,977,1160,2568,3646,3570,3076,2328,1572,1452,1406,1434,1558,1492,1178,624,637,1084,1388,1322,1202,1572,2018,2112,1902,1704,2186,2798,2568,2564,2046,1014,602,616,706,631,905,1406,1428,1236,1340,1502,1748,1500,1286,1760,1906,1548,1280,1196,1032,1110,1422,1716,1626,1472,1566,1490,1592,1626,1398,1320,1366,1080,944,1298,1282,1110,1144,1158,1216,944,1116,822,865,1088,1376,1078,902,1070,1028,1140,1426,1422,1368,1448,1152,689,632,1186,1386,1086,1005,1178,1136,1066,1152,1084,1042,1232,1362,1410,1272,1282,1184,966,1007,1252,1274,799,903,1398,1212,824,792,963,829,840,1082,1005,890,1138,1404,1154,1072,1194,1118,919,1022,1070,1258,1508,1420,978,923,1286,1394,1292,1086,698,630,985,1254,1160,651,538,813,1106,1108,987,816,626,938,1182,1388,1104,843,1016,1330,1158,969,808,867,1400,1670,1021,641,495,400,656,701,478,270,266,280,292,329,484,576,443,434,415,463,415,570,628,861,603,302,331,558,779,966,799,530,617,913,813,644,852,1506,1438,1100,834,684,762,824,901,1114,1198,1076,1796,2136,1128,443,498,747,1122,1156,709,597,678,534,849,1306,1098,761,540,479,847,1296,1180,908,1036,1050,1142,1062,1092,1072,679,636,543,611,897,1068,1005,637,435,502,681,990,1148,780,1096,1460,1500,1526,1418,1246,1208,1096,680,553,534,506,677,719,483,387,403,612,1128,1152,996,996,1052,943,623,577,513,592,736,785,447,437,474,354,535,1168,1156,706,698,806,1096,1478,1298,742,1052,1460,1366,1348,1360,1260,1344,1344,1396,1176,889,918,1034,1058,1194,1310,1394,1384,1352,1158,1130,1034,1186,1200,1050,1242,1306,1290,1164,1002,716,640,940,1144,1324,1278,938,910,1166,1206,1084,1004,1472,1380,1188,1242,1274,1230,1124,1110,1396,1420,1332,1160,1128,1258,1578,1268,946,1086,1306,1134,1030,1088,1180,970,837,781,851,769,834,739,533,840,1422,1564,1082,952,916,840,846,824,769,647,544,702,1116,1476,1200,733,709,696,926,1302,1050,655,587,702,818,1212,1250,1294,1162,752,536,515,401,1032,2144,2026,1374,1202,1114,1272,1276,1182,1116,1144,1258,1220,850,794,1034,1080,1090,1188,1320,1196,1162,1330,1126,738,617,766,859,717,688,910,1434,1176,1308,1216,1046,1404,1350,915,536,390,371,740,840,856,1216,1146,736,1023,2160,1864,1288,1066,1082,1366,1614,1604,2316,1972,1326,1400,1720,1982,2466,1920,1338,808,488,504,570,583,839,1010,915,666,681,1058,1374,1254,1030,777,769,644,473,865,1096,811,981,725,632,626,497,545,984,1124,1146,1234,976,691,520,455,529,904,709,886,1028,852,860,1154,1564,1522,989,734,681,826,897,782,670,926,1180,1220,1158,1009,810,879,1090,661,612,587,481,653,786,908,870,653,446,578,905,798,615,597,481,798,857,506,597,536,458,417,379,437,656,705,911,1194,1508,972,580,516,496,504,579,1009,1634,1228,593,801,1074,1352,887,816,915,1104,1222,1210,935,592,502,533,388,336,395,475,453,509,852,1004,634,505,541,526,400,412,586,783,637,560,508,499,671,1148,1130,1208,1126,1120,1388,1532,1478,1342,1170,1282,1302,1394,1246,1244,1400,1280,1144,976,924,935,1084,1236,1244,1272,905,1066,1804,2526,1876,1622,1606,1490,1392,1292,939,944,1206,1510,1566,1194,1058,1060,1682,1542,1484,1360,1080,1188,1002,817,888,1304,1624,1084,1180,1712,1614,1440,1510,1708,1672,1654,1798,1760,1570,1244,808,760,1056,832,683,982,791,490,607,1434,2260,2128,1932,1450,855,391,316,323,490,628,631,706,789,956,1282,1422,1196,821,1160,1438,1400,1384,1476,1506,1510,1312,1334,1430,1400,1306,1242,1376,1642,1866,1886,1754,1502,1146,1286,1176,1252,1360,1220,1494,1544],[304,331,314,339,402,402,402,455,707,753,570,645,614,558,426,410,425,394,412,472,505,426,339,286,267,267,297,344,348,401,403,344,310,295,322,304,297,292,284,343,384,425,457,453,457,466,461,413,348,402,448,443,401,367,375,396,437,443,436,425,527,770,922,888,687,643,916,959,1050,1188,1516,1296,778,866,1212,1013,644,468,332,316,314,304,285,307,300,292,267,316,468,500,465,954,962,653,708,888,974,888,688,417,347,364,336,364,357,312,307,327,508,395,296,276,348,438,336,394,553,677,763,705,529,451,562,875,1362,934,664,764,893,1168,1758,1714,733,667,549,979,1042,853,919,988,979,1152,1074,622,400,417,415,536,694,927,1134,1154,896,862,1148,992,762,640,524,414,374,495,751,1244,1242,1032,888,934,1058,1242,1486,1376,1240,979,634,634,631,686,708,614,754,993,1194,1208,1146,1110,807,561,684,874,1208,1284,1030,971,1064,737,550,835,1104,908,518,421,569,576,1198,1682,1542,852,504,471,401,391,523,563,568,642,519,431,425,365,334,741,1404,2016,1932,1792,1880,1772,1504,1060,888,959,850,545,459,839,1274,1216,1032,1011,883,594,423,421,532,452,518,548,756,800,680,814,1038,1114,736,686,1272,1598,1282,1144,915,1110,1224,1006,810,830,761,602,473,381,330,373,360,306,304,318,736,1284,1256,1196,1162,905,869,977,988,985,1046,1224,1204,1194,1346,1684,1484,1078,1020,1238,1054,689,644,566,441,477,703,875,796,1046,1324,1240,1228,1212,1030,1074,1110,1290,1698,2020,1896,1130,1458,2050,2204,1896,1246,956,1282,1592,1404,1054,1076,1007,727,479,516,604,1438,1942,1648,1838,1566,956,808,600,458,373,400,698,641,904,1322,1028,818,830,733,828,803,581,557,616,535,451,551,806,935,797,735,633,455,433,570,747,656,910,979,673,630,713,527,364,582,1012,1096,1094,1212,1220,1248,1198,667,477,590,630,665,852,910,968,945,741,705,610,588,653,705,1306,1682,1740,1752,1582,1140,818,847,820,786,705,1116,1484,1362,1502,871,633,757,793,910,906,670,456,494,804,907,855,1023,1228,1007,1128,1300,1216,1356,1638,1572,1146,1144,1448,1578,1464,1334,1470,1548,1540,1572,1456,1256,1058,934,974,1394,1182,885,1132,887,971,1296,1222,1138,1736,1230,697,1088,1482,1520,1528,1706,1540,1422,1262,1336,1562,1416,1042,632,451,439,442,459,500,585,781,761,1028,1058,1032,1166,1126,1522,1770,1902,2260,2348,2008,1756,1938,2304,2446,2470,2626,2880,2984,3000,3050,3262,3076,2584,2552,2426,1974,926,596,557,606,848,1124,1228,1788,2686,3074,2912,2460,2046,1910,1954,1846,1488,1466,1448,1036,771,585,573,851,1236,1492,1516,1526,1750,1936,1762,1282,863,727,716,1070,1590,1526,1148,1188,1272,1400,1328,1342,1500,1508,1572,1964,2376,2452,2302,2210,2194,2254,2250,1706,1428,841,499,464,655,1056,1142,1028,1136,1282,1222,686,865,1220,1734,1506,895,634,1072,1556,1554,1448,1536,1724,1864,1710,1428,1226,1134,1600,1336,1106,973,1180,1148,1068,1152,1080,1021,1036,1408,1148,993,1100,1170,1194,1360,1360,1400,1602,1522,858,799,882,1170,1036,813,803,733,815,1128,1442,1270,1354,1532,1512,1548,847,903,866,1004,825,491,427,786,993,944,1106,1350,1402,1160,675,1066,982,736,744,707,703,614,347,289,643,1190,1542,1554,1318,1366,1718,1684,2396,2344,1418,914,779,683,730,636,629,664,457,590,1290,1296,991,678,529,1066,1148,697,726,674,744,1220,1414,1306,1288,1490,1488,1700,1388,1352,1294,748,508,870,1142,779,950,1126,769,877,901,921,774,595,644,1206,1656,1142,388,367,653,1390,1222,598,421,365,343,399,836,1182,1268,1338,1724,1218,749,1196,706,423,326,313,481,705,590,489,607,497,738,1180,963,1124,1112,1100,758,1102,1252,1264,1410,1524,1428,1328,1184,1038,1116,1136,1003,916,805,1300,1258,1160,1288,1372,1356,1244,1296,1502,1616,1334,1088,1146,1290,1194,986,763,820,869,916,1104,1060,1072,1218,1150,996,1048,1254,1142,1204,1058,962,845,771,821,802,928,1040,1186,1412,1346,1208,1216,1232,1268,1054,959,1166,1190,880,746,802,932,1054,1018,1310,1194,1222,1162,1144,1262,1406,1340,1058,695,635,859,1236,1510,1442,1410,1468,1300,1094,1288,1324,1532,1454,1036,561,461,429,368,389,387,342,400,802,905,591,480,639,655,600,453,361,469,464,652,719,571,686,829,1028,982,1086,1424,1144,1058,988,1094,1222,1340,963,641,606,664,864,1242,1244,877,575,507,617,689,845,840,528,594,592,558,582,578,572,499,525,538,344,286,332,394,619,1060,1246,1234,1142,1604,1736,1604,1540,1482,1372,1432,1472,1342,1260,1388,1488,1556,1616,1658,1732,1752,1648,1496,1508,1474,1334,1794,1942,1350,1082,1344,1544,1738,1932,1958,1720,1186,803,844,1282,1436,1918,3006,2784,1780,1380,1118,839,661,837,1224,1324,865,916,1334,1288,1300,1250,822,739,790,863,669,495,685,972,906,1028,1274,1166,912,767,622,541,628,990,1280,910,1032,991,1814,2210,1930,1614,1362,1484,1722,1568,1444,1566,1554,1368,759,553,887,1148,1054,1088,1464,1776,1776,1836,1786,1816,2084,1596,1328,1160,1178,730,496,659,599,716,1274,1420,1316,1562,1610,1686,1728,1644,1502,1452,1512,1270,1230,1344,1282,1450,1418,1166,1314,1574,1576,1532,1340,1172,1210,1340,1034,1072,1424,1492,1302,1214,1138,1078,954,1128,894,1010,1162,1204,1222,1394,1444,999,1013,1282,1506,1462,1268,1192,878,725,947,969,904,1074,1236,1134,1096,1326,1312,1174,1484,1454,1548,1468,1200,905,1264,1856,1948,1606,730,1007,1522,1412,988,854,1070,1302,1752,1966,1456,1028,1268,1500,1206,1408,1328,1262,1002,1208,1212,1608,1608,1164,940,1058,1100,975,1212,1094,873,684,1148,1224,1130,761,709,1054,1294,1238,1184,1019,806,909,1094,1478,1368,1084,1372,1678,1518,1424,1176,883,1366,1148,692,846,800,564,669,807,648,393,280,309,309,363,777,1060,722,488,431,502,391,296,364,581,468,327,483,627,816,1168,980,608,672,743,597,547,933,1194,1005,1312,1344,671,658,1088,1040,1128,969,830,1500,1122,504,463,585,675,1070,1172,662,647,898,692,636,880,1006,993,893,673,915,1250,1142,1012,976,930,1138,988,1328,980,794,766,512,742,860,872,920,543,377,453,720,783,875,744,996,1222,1198,1126,1212,1222,1112,841,597,430,393,561,646,404,491,637,739,858,1096,955,859,912,724,673,505,419,456,492,619,959,802,533,469,431,634,1158,1200,854,738,717,1066,1362,996,879,1110,1106,1194,1526,1344,1084,1216,1538,1792,1306,1106,1202,1216,1240,1388,1200,1242,1448,1216,1048,1142,1146,1138,1058,1200,1210,1116,896,816,998,996,811,629,720,1082,1168,822,1046,1260,993,791,985,1238,1204,1174,1258,1396,1558,1170,1132,1520,1356,1186,1160,661,636,1214,1322,1260,1314,1024,899,1038,919,826,951,1110,1840,1842,1124,943,708,794,1156,2054,2002,1262,1020,846,878,810,752,717,690,945,1328,1334,1136,684,386,374,514,979,1426,1116,827,571,662,916,1226,1312,1244,1018,686,539,417,491,862,831,1156,1166,1046,1098,1260,1316,1238,1132,1184,1332,1072,669,1023,1078,1318,1598,1232,1068,1180,1174,1194,1206,785,962,1220,1204,924,705,901,1328,1398,1460,1026,732,1002,1096,874,494,396,648,1136,1086,988,842,1120,999,1548,1782,924,810,1096,1230,1768,2046,1300,1730,1366,1092,1256,1242,1582,1870,1380,856,626,535,443,565,874,1196,878,1054,1022,984,1210,1450,1182,739,571,594,701,866,1422,1260,1266,1272,1204,970,728,591,634,838,973,1118,1070,1240,985,774,563,369,528,479,653,866,922,843,822,807,641,522,636,633,708,850,586,614,1062,1354,1138,1132,1086,1094,1112,1009,543,636,545,601,703,748,755,673,546,561,828,797,596,578,628,664,1146,877,457,379,387,370,353,418,435,403,416,820,1660,1898,854,382,398,400,478,536,604,757,593,610,1064,1098,1015,982,963,966,1098,1264,1130,833,706,714,860,685,499,814,838,641,515,718,961,803,545,461,368,296,355,587,554,570,645,831,636,650,664,636,1056,1384,1404,1462,1510,1356,1256,758,727,1058,1224,1164,1280,1328,1382,1432,1450,1418,1194,925,1136,1114,1288,1290,1522,1598,1522,1348,1476,1434,1408,1516,1202,683,635,1020,1388,1444,918,800,841,1248,1348,1548,1468,1126,980,944,952,970,1392,1306,1196,1522,1692,1528,1510,1550,1598,1572,1230,1328,1774,1410,836,733,1262,1166,935,1178,1250,785,654,1278,2050,2100,1814,2042,2766,1928,725,316,343,389,428,414,414,484,767,891,968,821,751,1248,1540,1466,1520,1454,1610,1616,1284,1414,1538,1400,1446,1602,1344,1376,1586,1684,1836,1736,1482,1360,1278,1076,840,882,1514,1788],[314,368,350,366,424,394,368,400,567,594,460,461,485,433,396,416,343,346,420,490,532,476,411,372,347,323,366,405,354,370,419,345,294,279,273,263,271,294,291,346,412,466,487,479,473,468,454,397,441,489,473,433,393,415,418,429,480,462,415,414,406,470,619,813,808,1208,1428,1332,1124,1378,1782,1252,693,724,1056,813,561,361,342,330,298,280,254,289,318,305,284,292,364,434,547,1114,932,717,661,621,800,937,730,412,312,324,310,256,287,346,314,277,360,300,254,248,290,287,277,371,426,490,525,674,861,839,847,1238,1542,870,398,441,651,1122,1854,1284,824,687,448,878,819,615,710,799,995,1144,875,506,381,439,499,454,677,893,877,820,797,813,785,549,484,857,1326,767,591,609,797,943,822,785,738,901,988,1007,1094,1074,1120,702,491,397,461,571,638,620,527,789,1222,1204,1178,1044,769,612,532,763,1132,1286,1188,1116,1003,819,698,926,1250,971,559,401,468,504,842,1152,1228,896,867,1130,566,380,404,386,407,777,904,570,403,319,254,598,1476,1984,1720,1520,1512,1708,1924,1208,814,731,529,539,735,891,922,1016,1094,1072,984,897,658,525,524,481,599,728,1318,1522,988,568,636,690,703,792,1202,1366,1096,857,815,1046,1170,885,816,943,1152,1230,699,462,438,389,339,273,260,320,849,1888,1782,1062,858,598,637,723,727,603,769,1054,1234,1326,1480,1416,1098,835,830,772,809,536,387,386,495,555,623,881,778,832,1122,1196,1312,1032,777,836,805,979,1434,1620,1232,830,1130,1714,1892,1844,1260,694,986,1626,1662,1102,774,799,725,532,728,1452,1808,1608,1746,1634,1482,1242,1150,805,678,730,659,725,604,669,918,1022,1072,971,1036,955,738,837,1224,1034,604,448,562,838,1052,1028,1234,806,561,519,645,886,732,630,781,973,1102,1116,754,619,885,913,833,1202,1362,1368,1286,1050,642,504,560,569,642,753,772,827,692,412,379,512,739,785,1208,1654,1636,1624,1732,1354,734,990,1340,1204,1330,956,991,1252,1288,1242,1116,984,912,1056,1218,1136,703,466,569,1130,1102,784,694,681,985,1390,1362,1338,1332,1394,1256,943,629,834,1302,1434,1444,1526,1562,1578,1620,1596,1424,1218,979,1098,1462,1054,1312,1272,567,695,1138,1186,1204,1056,611,811,1434,1432,1484,1730,1782,1514,1394,1258,1514,1562,1096,681,478,397,336,346,389,572,543,661,766,713,768,954,1074,1112,1302,1570,2004,2352,2458,2372,2098,1782,1650,1836,2062,2294,2718,2668,2420,2674,2910,2720,2552,2568,2524,1674,755,600,601,769,989,834,1016,2016,2988,3274,3024,2534,2096,1968,2016,1974,1584,1624,1616,1236,943,801,686,604,752,1144,1262,1526,1858,2114,1924,1366,1194,1200,1130,1460,1698,1400,1060,1132,1180,1310,1282,1242,1266,1358,1402,1608,1872,1882,1834,2034,2100,2168,2348,1886,1246,960,774,537,612,850,898,968,1034,960,868,788,1174,1392,1328,1234,1182,930,1100,1440,1664,1470,1304,1356,1698,1622,1096,825,1062,1416,1386,1070,987,968,858,1116,1310,1268,904,1090,1476,1138,807,1176,1188,1204,1328,1056,1122,1126,1110,874,1026,839,1023,1146,965,968,830,745,1024,1178,1318,1550,1226,907,1234,772,737,1212,1574,1086,474,454,703,769,744,1054,1448,1182,1202,728,810,1002,816,607,553,642,622,437,587,954,1346,1396,1222,1198,1332,1368,1556,1760,1584,1580,1604,1282,922,767,787,675,622,471,410,604,991,1026,1180,1422,1350,1212,1348,1532,1362,1026,992,1126,1370,1624,1526,1440,1544,1404,1272,924,561,417,443,692,1312,1628,1232,810,889,968,1138,1072,835,1178,1820,2186,1394,426,340,458,856,1072,1066,824,644,545,379,435,736,1020,1206,1914,1528,753,906,596,382,339,333,566,919,748,505,780,700,590,1018,1148,1330,1092,896,802,1058,1222,1252,1274,1322,1252,1206,1188,1130,1202,1194,1096,1148,990,1232,1356,1350,1334,1412,1306,1182,1318,1540,1660,1622,1518,1432,1244,1220,1176,1096,982,766,784,986,1030,1116,1023,993,1194,1198,1362,1172,1226,1108,931,825,642,733,830,855,847,814,929,839,637,667,1118,1464,1342,1150,1016,881,667,636,728,791,1158,1156,1326,1296,1300,1208,1002,1090,1310,1344,1316,1084,838,695,642,678,713,689,819,913,1388,1600,1482,1734,1562,1350,712,474,421,391,411,383,333,299,464,510,344,351,575,658,783,626,475,443,461,404,395,409,499,890,1186,1234,1588,1714,1154,681,821,868,1086,1120,1152,1086,651,580,891,1316,1396,1396,1130,792,735,711,817,653,579,619,644,664,688,696,718,690,551,525,414,327,299,387,771,1146,1288,1196,986,1332,1310,1222,1230,1360,1488,1454,1526,1426,1360,1406,1432,1472,1562,1620,1772,1700,1334,1280,1358,1384,2590,2776,1570,1122,997,1238,1438,1566,1630,1572,1238,1034,868,1092,1296,1102,1040,1654,2070,1788,1290,1340,1026,650,458,825,1320,1120,1058,1434,1466,1384,1082,822,959,803,859,653,572,759,774,625,825,1224,1298,974,737,619,542,576,877,1296,996,1090,979,1192,1356,1438,1638,1750,1770,1738,1510,1406,1458,1502,1448,974,561,741,1202,1506,1616,1676,1698,1724,1466,1282,1016,1280,1344,1120,1816,2196,1244,583,611,694,761,1192,1256,1302,1432,1302,1290,1652,1422,1122,1328,1566,1412,1232,1224,1182,1282,1186,1070,922,948,1004,1204,1340,1034,1166,1566,1434,1570,1448,1290,1194,1268,1292,1344,1148,1158,1162,1094,1174,1302,1336,1470,1446,1066,1030,1354,1660,1638,1390,1342,1108,1114,1194,917,1021,1142,1208,1114,1272,1666,1730,1478,1554,1490,1582,1682,1218,962,1368,1914,1550,1384,662,640,1088,1342,1240,1100,1108,1260,1214,1078,1001,808,929,1590,1248,1262,1356,1494,1558,1476,1302,1440,1412,982,652,958,905,1028,1260,1246,1100,915,805,936,952,579,535,582,808,1094,957,852,1226,1270,1822,1882,1278,1064,1384,1946,1892,1666,1158,806,1007,1462,1164,901,1320,1188,688,515,499,318,245,317,409,467,598,659,619,421,571,949,808,502,327,443,548,480,634,624,565,838,571,347,405,515,578,745,1366,1438,977,1388,1414,871,969,909,942,1156,1040,1050,993,697,639,758,893,910,1044,1142,929,930,791,753,862,808,864,1070,969,725,834,1144,1230,960,825,1152,1324,1210,1312,979,887,822,794,1356,1656,1554,980,509,454,426,597,519,498,772,1386,1520,1176,1124,1284,1290,1022,564,393,590,779,1136,1062,638,840,1122,1088,1120,1192,941,864,927,624,649,728,521,504,397,468,751,741,721,767,582,564,747,743,875,930,1026,1440,1284,1034,1180,1022,990,1276,1332,1054,922,1154,1566,2192,1600,1396,1444,1208,1230,1284,1222,1338,1372,1296,1164,1228,1196,1186,1090,1184,1092,821,868,1010,1108,1152,1158,841,594,743,1120,962,1152,1260,1132,1092,986,1064,1280,1300,1194,1344,1562,1252,1152,1138,1198,1312,1134,598,475,960,1262,1186,1122,843,827,673,473,508,740,1066,1974,1450,1034,986,844,864,1460,2272,1688,1548,1426,1366,1170,1180,1001,759,946,1428,1340,987,653,331,381,404,699,871,836,567,722,973,1250,1246,1212,1320,1278,1232,985,613,454,847,1116,1156,1386,1400,1244,1236,1444,1416,1120,1180,1236,1300,1280,1026,1066,998,1080,1122,1156,1062,1028,1212,1392,1146,705,1350,1622,1338,1390,1242,1290,1404,1622,1654,1170,999,1009,704,798,876,788,1134,1370,1302,1216,922,985,1066,1312,1242,912,711,863,855,1526,1578,1284,1394,1250,1124,1228,1214,1452,1550,1116,687,976,802,513,673,1338,1870,1908,1738,1306,996,1082,1070,768,601,480,530,815,1438,1802,1390,1056,1168,1328,836,610,802,811,631,614,769,854,1190,1336,1328,943,495,295,346,556,1030,1294,1366,1238,838,615,619,756,1086,1318,901,466,639,1494,1782,918,907,749,890,844,669,472,492,568,664,596,698,843,631,675,1038,875,709,670,576,535,973,1178,716,444,428,457,522,370,463,728,781,414,625,1472,1072,462,379,424,498,531,427,355,358,405,497,656,716,839,1362,1428,1024,1018,1376,1386,902,735,1188,1432,1082,820,1256,1192,1042,914,966,1288,1138,754,619,534,442,425,488,464,865,1088,1208,1234,1234,983,1110,1490,1412,1498,1600,1536,1146,1058,750,637,960,1100,1322,1478,1338,1494,1644,1538,1394,1188,1262,1246,790,804,1124,1504,1478,1264,1248,1220,1314,1400,1238,1148,1196,959,1284,1382,1584,1376,985,781,625,851,1316,1406,1252,1160,999,1016,1272,1324,1256,1562,1664,1440,1246,1312,1280,1128,1310,1314,1302,1488,1610,1266,1334,1504,1134,1136,1572,1160,583,753,1250,1716,1814,1736,1840,2264,2100,924,323,319,379,448,480,430,396,440,451,521,584,861,1366,1364,1350,1502,1470,1640,1502,1394,1422,1550,1544,1724,1416,1192,1326,1430,1576,1718,1688,1694,1632,1266,827,1011,1130,1256,1368],[339,394,332,330,396,385,357,365,461,453,368,381,402,437,418,439,429,426,450,492,519,498,468,434,411,395,397,397,351,345,425,375,306,281,265,269,280,294,316,356,401,441,467,447,423,445,469,427,454,486,444,401,346,368,450,470,486,460,384,383,400,442,537,739,786,1286,1754,1624,1164,1584,1850,1100,1172,952,906,705,531,363,366,353,305,270,262,292,334,335,316,300,319,317,709,1116,869,651,714,718,708,750,540,280,299,287,269,294,325,374,357,351,348,301,255,244,291,280,273,377,474,500,487,489,599,866,1082,1100,1013,560,475,438,561,618,697,532,565,545,603,962,802,501,529,622,713,922,707,574,501,554,770,633,799,1038,969,898,788,696,608,548,608,1346,1716,929,756,1182,1392,1098,927,879,830,953,1056,1220,935,771,971,573,375,295,406,791,1100,897,655,775,1218,1190,1164,997,901,772,545,626,998,1218,1228,1194,903,620,599,709,1056,1178,814,457,446,378,653,825,906,875,959,1272,509,348,426,497,433,713,1272,875,417,620,1001,1210,1506,1566,1406,1216,1268,1624,1674,1420,1056,666,578,895,963,844,1122,1782,1406,1350,1122,1098,983,717,555,570,597,794,1476,1570,1120,776,616,613,607,618,896,808,659,738,791,1328,1516,1056,1214,949,1080,1216,723,493,430,455,482,382,325,372,833,1416,1478,1240,963,915,932,737,536,493,580,855,1178,1394,1484,1354,1013,851,992,805,657,468,425,446,502,449,771,1380,1196,893,939,1448,1798,1582,937,835,742,1182,1312,1290,1122,820,861,1210,1009,962,1007,763,923,1248,1294,999,866,847,783,844,1414,2060,1832,1890,1980,1770,1762,1756,1956,1310,1068,1106,885,797,673,596,688,781,954,1066,1496,1094,908,1114,1634,1694,1472,977,521,888,1366,1360,1550,1020,846,799,744,966,768,588,992,1204,1136,1152,791,650,657,510,616,718,800,877,1050,963,769,630,547,700,1116,1438,1156,936,735,502,547,716,611,785,1378,1488,1394,1450,1344,1254,863,883,1212,1498,1556,1168,872,1042,1290,1534,1554,1190,1252,1284,962,779,514,457,528,922,1122,1200,921,1009,1732,1604,1318,1162,1316,1316,1262,1178,822,880,1116,1410,1512,1580,1494,1450,1452,1222,1320,1412,1402,1360,1504,1400,1642,1396,870,630,678,871,728,553,562,868,1322,1490,1726,1738,1754,1742,1490,1430,1614,1296,655,430,383,381,256,308,521,930,722,1052,1434,1252,879,558,488,595,728,1038,1372,1518,1664,1824,1426,1058,1042,1250,1104,1238,1492,1384,1308,1578,1660,1418,1258,1538,2092,1402,708,635,725,910,724,723,1298,1932,2754,3274,3286,2858,2428,2222,2110,2180,2290,2180,1720,1240,948,752,781,630,419,509,885,1494,1960,2194,1950,1474,1400,1484,1316,1384,1400,1248,1268,1250,1068,1024,1054,1070,1224,1362,1232,1220,1470,1448,1474,1794,1758,1422,1344,1200,1196,1342,1021,617,686,993,1092,1378,1162,1166,1028,875,1534,1880,1612,1564,1094,988,1154,1036,1244,1114,1340,1630,1568,1314,677,838,1436,1690,1484,1052,1180,1136,1154,1300,1330,1214,842,1202,1490,948,756,1280,1360,1250,1106,741,1074,1032,709,619,1030,1036,940,948,870,808,978,1338,1680,1692,1572,1558,915,656,870,854,867,1200,1500,1090,471,457,680,675,474,651,1042,1124,1266,932,948,1112,670,369,336,408,532,695,937,1266,1756,1972,2160,2712,2526,1532,1152,1084,838,801,1328,1496,1228,1064,919,570,437,459,416,359,333,360,434,495,705,705,885,1158,1532,1732,1368,1009,929,1382,1612,1418,1316,1176,918,866,774,636,533,608,1028,1552,1610,1246,821,763,1160,1188,840,1100,1730,1876,696,637,944,960,667,738,1476,1758,1216,568,318,281,401,902,868,1150,1334,1220,1494,1316,725,378,334,416,691,748,627,1240,1170,564,881,1046,1030,779,673,763,880,1122,1244,1386,1420,1252,1142,1164,1196,1154,1192,1066,1076,1046,1122,1530,1458,1444,1354,1394,1488,1582,1500,1402,1442,1546,1648,1442,1112,1096,1070,1076,1020,935,868,815,836,809,852,935,1246,1238,891,719,727,798,718,511,656,960,702,1012,1126,983,822,777,761,872,1224,1376,1332,1350,992,950,964,1084,1232,1194,1152,1312,1300,1168,1150,965,966,1168,1174,1190,1166,1106,972,881,667,527,538,563,818,1192,1216,1486,1610,1522,1544,880,585,538,619,598,388,361,439,482,434,365,341,590,719,736,618,591,628,623,600,538,384,447,859,1154,1356,1312,1232,1416,1001,869,1072,1256,981,1100,1250,990,815,1126,1502,1406,1498,1650,1256,905,906,816,601,701,659,652,678,673,641,630,590,579,538,477,386,373,518,919,1224,1292,1100,955,1254,1260,1176,1038,988,1322,1616,1424,1198,1416,1474,1390,1468,1568,1306,1394,1246,1001,1250,1358,2092,3234,1982,1130,1130,1066,1070,1130,1440,1650,1600,1492,1228,1134,1242,1042,1021,1488,1462,1440,1458,1374,1224,1066,871,616,767,1356,1358,1005,1176,1334,1416,816,935,990,811,805,777,754,854,821,725,741,1050,1354,1068,858,702,588,636,1138,1330,974,968,982,1012,1394,1818,1848,1576,1222,1410,1482,1380,1478,1550,1550,1260,715,606,1110,1600,1606,1438,1606,1488,883,819,800,809,1212,1340,1924,2126,1404,736,565,748,998,1452,1188,1166,1350,1086,993,1424,1532,1388,1524,1506,1532,1362,1154,1062,1106,1152,1120,966,803,930,1258,1126,872,923,1306,1290,1418,1488,1220,1144,1236,1350,1324,1050,1150,1300,1122,1062,1300,1578,1628,1422,1184,1130,1406,1544,1544,1510,1340,1140,1222,1360,1500,1262,1082,1136,1232,1410,1556,1562,1494,1572,1670,1550,1340,857,850,838,1158,1262,1388,675,759,1340,1450,1444,1172,999,1166,807,724,900,966,837,1076,1214,1230,1168,1266,1366,1338,1360,1296,1272,1086,850,887,697,735,1010,1332,1250,894,739,899,640,413,467,509,667,849,695,503,890,1442,1648,1580,2194,1400,1360,2098,2098,1684,1104,1132,1660,1704,1208,951,1448,1484,732,339,328,323,360,393,838,763,563,342,258,308,598,966,932,547,322,416,596,556,637,720,677,529,419,524,505,370,365,669,1306,1072,973,1208,999,941,1180,741,909,1011,1028,1166,1198,1402,1088,794,1012,918,931,1026,1204,992,857,799,827,850,907,1062,1086,815,745,1026,1276,866,714,1244,1204,1290,1340,1296,1232,1058,1256,1658,1638,1676,961,600,673,554,444,547,713,917,1372,1530,1202,1206,1266,1244,1114,907,1310,2102,2402,2038,1290,764,800,1186,1206,1210,1242,1012,1050,905,767,603,727,661,506,373,337,385,526,737,684,582,662,599,563,935,1112,1284,1426,989,748,1001,917,1001,1374,1392,1196,979,1282,1452,1750,1464,1528,1414,1132,1186,1230,1216,1526,1566,1418,1240,1296,1356,1518,1370,1172,1040,1208,1250,1122,1342,1334,1180,1248,1038,835,886,1120,1304,1272,1316,1272,1136,1232,1482,1254,742,888,1230,1232,1196,1272,1344,1270,1001,799,795,1334,1500,924,873,1164,918,626,444,409,386,623,1066,955,742,1032,1246,1064,1348,1458,1318,1244,1112,1288,1388,1582,1450,1192,1384,1336,875,814,619,460,502,422,550,426,317,382,621,1008,1284,1284,1290,1374,1288,1158,850,510,659,1102,1022,1184,1312,1342,1352,1230,1284,922,1086,1238,1152,1310,1042,777,718,899,975,998,1342,1316,1196,1372,1298,832,799,1518,1506,1452,1534,1396,1342,1412,1550,1472,1276,1660,1866,1052,617,673,762,1122,1270,1210,1072,894,818,937,1292,1352,1414,1048,781,846,1224,1146,1192,1404,1256,1322,1356,1216,1228,1460,1432,924,1162,1192,1004,1158,1406,1738,2028,1878,1180,953,1118,886,806,710,516,480,803,1522,1946,1576,1096,1264,1196,676,589,861,1072,673,529,789,736,808,1124,1178,968,670,508,610,728,870,752,988,1132,1006,752,884,922,1096,1184,675,393,435,837,1140,738,656,795,739,515,491,483,467,569,670,578,573,681,713,909,1010,863,726,791,980,957,890,733,491,448,458,525,651,707,504,950,1023,472,324,393,303,326,577,974,1252,1052,847,528,396,383,494,738,1144,1416,1556,1270,810,767,1382,1514,1208,769,1052,1224,810,626,932,812,950,1354,1270,1348,1576,1290,1016,1094,1102,974,789,566,810,1030,986,1328,1392,1344,1478,1570,1258,1454,1512,1286,878,958,1150,986,935,1116,1328,1388,1616,1616,1372,1104,1302,1396,1526,1072,608,587,835,1188,1372,1428,1474,1730,1738,1672,1118,1208,1422,1406,1328,1200,1404,1242,1000,789,761,950,1076,1350,1446,902,1072,1208,1076,1016,1416,1654,1488,1144,1226,1392,1214,925,1019,1352,1506,1250,1396,1672,1670,1586,1406,1266,1668,1322,937,1326,1702,1488,1730,1810,1460,818,377,315,329,339,378,498,516,475,376,438,438,391,541,850,1100,1066,1142,1350,1538,1364,1182,1512,1650,1582,1670,1672,1486,1534,1578,1460,1566,1388,1332,1294,1278,1210,947,1016,1204,1582,1172],[359,361,307,294,348,348,330,342,386,410,390,412,437,457,420,420,460,480,505,530,547,527,486,457,423,396,401,399,373,339,417,444,368,299,275,284,300,314,337,374,363,379,436,439,448,454,452,445,450,464,426,387,350,377,465,463,453,427,367,336,385,398,480,579,543,671,1124,1366,965,1230,1084,636,822,1048,775,577,471,376,396,328,305,283,277,334,393,317,318,344,349,322,855,1156,777,583,641,697,651,658,548,355,324,285,278,384,474,377,318,328,354,323,304,298,336,383,490,490,471,524,479,472,461,719,1006,705,582,477,506,435,475,417,400,474,1018,1258,1136,1023,779,597,547,589,637,1094,748,452,399,657,1172,912,558,970,1362,1208,732,655,648,561,487,712,912,645,813,1682,1914,1350,943,672,642,771,981,1340,966,753,1036,709,376,365,515,1062,1318,1007,716,819,1254,1240,1136,1005,951,911,738,618,868,1214,1230,1218,1106,760,775,782,1148,1704,1194,491,478,456,572,822,883,957,541,527,407,368,435,520,455,473,618,536,479,958,1870,1960,1482,1396,1230,1344,1194,1246,1356,1324,1092,776,1108,1686,1620,1296,1438,1646,1394,1768,1388,1090,1154,1184,893,641,614,927,1406,1318,1096,1228,762,531,596,803,752,616,566,556,592,916,1116,1230,1742,1144,906,1106,664,441,433,471,480,617,747,725,979,1024,1116,1001,883,1050,1168,696,383,433,468,740,1216,1290,1356,1444,1384,1015,794,498,385,398,419,411,472,444,831,1476,1452,1394,1190,1348,1252,1074,764,761,778,970,1150,1028,905,976,1172,1090,788,894,1582,988,806,900,900,819,803,719,555,569,844,1326,1510,1416,1738,1880,1730,1942,1678,992,937,1104,1034,979,838,678,681,843,1284,1232,1114,804,866,1256,1526,1708,1440,722,491,795,1304,1088,1046,1080,913,709,762,916,811,636,960,1310,1370,1034,669,630,575,683,877,741,688,913,1146,1084,920,925,836,893,1244,1620,1294,950,772,641,958,1150,700,853,1494,1504,1504,1520,1216,920,800,883,847,1350,1416,1060,792,893,1256,1388,1146,979,1318,1124,841,504,427,480,857,1410,1432,1286,1136,1664,2122,1526,1380,1036,893,1192,1238,933,518,664,1050,1332,1566,1398,1284,1450,1510,1450,1394,1412,1570,997,934,1194,1344,1396,1338,1110,630,543,502,538,658,946,1356,1686,1578,1394,1626,1676,1516,1490,1216,724,354,279,379,405,318,348,537,661,722,1078,1015,822,762,585,328,381,457,479,499,604,547,781,956,815,858,1013,706,867,874,810,832,965,1224,1342,1110,1046,1210,864,539,842,1048,772,473,565,694,862,1426,2434,3060,2974,2696,2518,2410,2314,2238,2308,1936,1232,755,572,533,437,350,337,694,1434,1880,1954,1798,1408,1098,1158,1148,1262,1114,1236,1500,1506,1224,1030,1086,1170,1228,1346,1350,1222,1368,1468,1610,1820,1378,849,621,739,1318,1266,965,894,859,1014,1294,1356,1272,1158,850,962,1792,2036,1750,1580,1050,1076,913,694,869,931,1026,929,1042,1034,857,1154,1294,1178,1248,1352,1240,1276,1262,1150,1244,1016,893,1180,1202,1034,1078,1278,1122,1262,1310,951,1236,999,705,915,1052,963,888,1002,1042,950,955,1192,1136,1660,1744,1336,703,452,501,866,1154,1244,1128,778,507,571,558,750,545,487,789,1046,1198,1222,1050,963,576,644,934,1248,1142,1378,1688,2380,3146,3276,3104,2658,1644,716,672,896,728,730,1250,1620,1452,1050,650,430,487,594,609,383,318,264,254,234,297,364,565,1102,1498,1566,1428,1424,1498,1470,1410,1384,1378,944,865,981,877,718,625,477,496,841,1200,1012,641,1134,1758,1380,830,1009,1954,1428,775,1010,1426,1484,897,583,861,960,637,387,357,387,347,637,981,872,1050,1272,1610,1560,782,428,483,353,446,553,688,1190,1384,690,713,882,620,517,703,777,973,1252,1206,1460,1272,1120,1400,1730,1704,1400,1256,1112,1182,1192,1162,1456,1530,1620,1344,1500,1536,1344,1210,1454,1206,997,1434,1328,1116,1256,1030,1042,1248,1122,824,677,570,601,735,1136,1382,1068,753,674,1017,1048,884,1144,1290,1038,771,868,818,785,855,774,953,1130,1158,837,847,1166,1344,1244,1130,1164,1212,1266,1300,1408,1252,1256,1290,1134,1148,1148,1028,1082,1168,1320,1438,1216,983,951,887,783,744,680,750,919,991,1034,1394,1262,800,624,606,609,609,554,562,541,519,438,392,573,709,614,593,816,884,807,797,771,720,494,911,1512,1296,1084,1256,1374,1144,816,752,1003,1030,1212,995,1278,1448,1518,1488,1576,1834,1688,1432,1358,1250,908,664,711,660,669,661,597,544,585,623,579,502,488,526,533,650,1078,1194,1312,951,1064,1244,1108,1082,1098,1114,1372,1466,1050,1222,1404,1458,1498,1686,1594,832,660,748,1138,1842,1828,2114,2328,1196,1184,1432,1206,1054,1232,1632,1650,1678,1780,1512,1328,1172,902,1472,1554,1202,1860,1938,1368,1200,1222,1088,858,685,1090,1378,993,1004,1046,973,575,763,787,878,850,828,931,977,871,739,807,1098,1374,1106,965,816,629,661,918,1152,1086,905,961,897,1118,1424,1306,1146,1138,1550,1618,1434,1454,1480,1400,1210,822,497,728,1232,1194,1098,1272,1432,1218,1140,772,401,599,939,1238,1612,1220,646,536,713,743,802,966,1066,1416,1482,1023,1356,1778,1666,1552,1274,1364,1302,1086,1064,1126,1238,1400,1412,1242,1230,1262,1130,1076,1005,1122,1172,1462,1534,1318,1204,1282,1312,1152,1078,1222,1306,1198,1284,1318,1340,1580,1654,1266,927,1098,1312,1622,1646,1458,1260,1164,1150,1254,1154,1254,1200,1172,1184,1162,1268,1532,2118,2188,1580,1376,929,649,547,974,1542,1242,621,1060,1502,1456,1556,1416,1194,1378,1016,791,1228,1334,1176,1234,1338,1400,1290,1300,1382,1786,1584,1384,1268,916,887,1166,1058,909,1158,1276,941,714,844,941,519,511,619,474,615,718,502,383,1090,1782,1216,3376,5668,2034,1232,1738,1714,973,980,1374,1710,1232,767,673,800,677,711,714,467,377,401,492,935,1028,1015,634,344,341,457,800,735,280,270,396,547,465,497,618,491,422,554,843,803,465,360,614,962,1050,1082,1038,983,1208,1240,1021,1130,1166,1358,1410,1434,1576,897,445,590,630,447,610,1236,1056,767,858,1034,1162,875,1062,1344,1196,971,974,1338,1024,954,995,1082,1356,1188,1028,907,1104,1288,1500,1636,1482,1090,855,886,777,808,1236,1354,1116,977,1188,985,890,1290,1450,1114,839,1246,2230,2922,2244,1250,974,907,1230,1276,1226,1074,845,927,745,1038,839,669,827,625,445,375,421,680,1134,915,678,759,618,487,713,1230,1340,1290,1002,724,818,1050,1152,1354,1510,1466,1216,1130,1342,1150,1066,1430,1336,1016,985,1106,1424,2346,1864,1642,1512,1208,1094,1214,1298,1318,1292,1230,1214,1150,1314,1256,1074,1420,1402,1106,964,1268,1422,1338,1326,1144,861,1074,1158,1148,1086,1100,1222,1214,1306,1402,1358,993,714,1050,1274,1362,1288,862,1172,1274,1008,842,572,402,421,457,724,992,1200,1282,1254,1076,1192,1318,1476,1288,1388,1570,1650,1678,1556,1538,1410,904,657,608,683,679,592,439,495,449,404,438,461,543,669,865,1048,1112,1004,944,568,591,1078,1154,1150,1266,1392,1782,1796,1244,1084,930,1004,949,1220,1200,850,720,635,814,893,1018,1216,1238,1240,1078,1116,764,1036,1676,1428,1290,1358,1230,1148,1304,1200,1276,1396,1626,2194,1678,962,805,857,1026,1144,1234,1228,1156,837,827,1130,1148,1180,1256,960,1072,1348,1108,1150,1326,1212,1338,1094,1170,1218,1342,1510,1304,1088,1106,1350,1346,1550,1730,1702,1478,995,769,1001,1036,944,902,719,551,552,1015,1434,1272,1001,1172,1186,1108,1050,1194,1216,719,466,688,792,855,1056,1214,1078,1004,981,1009,1054,1108,774,857,1242,1376,1024,1020,1262,1298,1250,1026,494,401,414,513,709,1014,1562,1068,637,974,1098,731,512,596,608,666,733,933,1001,1078,860,601,675,746,581,437,422,572,435,428,518,962,1598,946,350,438,446,348,307,333,292,544,1158,1206,1116,1426,1005,529,512,636,985,1560,1750,1210,735,797,806,1236,1126,1148,858,958,783,580,796,987,1072,1056,1258,1124,1220,1588,1682,1192,1310,1446,1470,1196,664,600,688,703,1196,1378,1310,1164,1126,1156,1172,1238,1242,1026,1014,933,575,603,1042,1106,1114,1650,1272,1256,1282,1336,1450,1246,951,812,600,623,1050,1554,1624,1550,1616,1594,1610,950,1072,1212,1220,1218,1224,1300,1038,1030,857,1218,1052,650,989,981,524,957,1328,1180,1292,1510,1482,1310,1062,1426,1488,1638,1174,1266,1300,1268,1396,1440,1442,1578,1720,1570,1518,1842,1614,1548,1924,2008,1830,1932,1696,1036,473,363,350,351,311,309,424,515,502,451,430,379,374,454,600,747,985,1142,1260,1372,1013,1210,1438,1520,1562,1576,1486,1406,1608,1864,1640,1552,1418,1316,1356,1068,1026,921,711,1074,1372,1238],[390,330,301,294,319,333,328,343,336,449,596,600,588,473,363,379,413,458,514,545,530,503,494,460,425,404,367,355,399,367,397,479,417,292,260,283,329,381,370,394,348,348,413,435,444,450,455,447,440,429,390,372,390,421,461,416,416,436,410,350,369,416,474,480,424,509,713,1004,1346,1120,721,596,844,947,558,479,448,358,443,400,425,436,354,404,433,396,395,443,408,475,974,1132,927,748,720,757,720,673,445,347,301,284,274,520,794,586,432,332,322,304,334,346,413,500,771,628,458,473,445,442,498,814,1102,782,542,474,441,457,421,356,312,752,1698,1932,1384,933,675,630,497,490,671,1128,754,401,363,617,984,890,462,437,713,902,733,689,670,514,382,505,785,705,612,684,602,653,521,408,548,817,1104,1268,1036,1034,1162,993,832,808,736,681,633,606,466,814,1168,1224,1166,886,693,754,635,649,953,1170,1250,1172,1152,1042,955,957,1416,1902,1262,487,466,562,651,946,804,940,577,419,434,428,449,487,462,426,441,523,540,832,1152,1040,964,1076,1110,1270,940,1074,1148,750,673,1180,1698,1920,1516,917,717,545,996,1550,1186,904,1232,1442,1134,874,774,842,1360,1744,1218,1196,760,684,1106,1078,723,574,594,549,489,542,949,1240,1510,946,799,825,542,418,446,448,482,650,888,760,952,989,1148,1106,1142,1136,867,429,369,406,379,666,1290,1426,1620,1458,1170,675,419,360,406,430,436,422,381,368,633,1250,1482,1432,1532,1280,1108,932,735,580,650,845,1010,915,909,1068,1194,990,885,951,896,743,1078,1316,1134,1009,849,577,455,456,497,708,1090,1120,1334,1578,2012,1876,1310,724,741,921,885,670,902,780,811,1188,976,761,663,564,901,1298,1442,1286,769,455,648,1048,962,611,645,1114,976,798,984,880,819,744,772,940,1234,843,561,583,977,1040,1006,988,1001,1244,1256,1272,1350,1542,1116,1006,1054,1190,1354,1188,907,724,925,1122,1012,1300,1366,1128,1288,1260,1366,1360,1298,1138,988,1036,987,799,693,981,1346,1358,1340,1466,1412,1562,1288,660,419,523,983,1338,1380,1274,1048,1324,1456,865,1084,1232,815,807,984,742,381,493,780,1252,1724,1600,1624,1396,1506,1752,1686,1684,1694,1262,973,853,835,935,919,774,551,547,644,797,1204,1594,1808,1682,1376,1532,1758,1648,1558,1372,676,378,252,269,393,403,399,583,772,820,1056,1166,1005,726,342,295,328,578,738,758,714,501,433,481,626,901,994,956,966,1042,971,1020,1308,1520,1512,1356,1284,1200,1154,1248,1338,1304,1146,718,709,640,594,557,599,1066,1820,2412,2492,2612,2676,2310,1924,1548,1194,963,590,406,419,432,375,270,618,1404,1854,1830,1614,1216,1112,1388,1466,1346,1130,1104,1664,2346,2320,2054,1682,1340,1216,1124,1208,1328,1476,1526,1654,1602,1088,841,756,910,1300,960,865,1090,1268,1296,1264,1038,1112,1072,1064,1296,1448,1254,1296,1320,1570,1398,805,944,1320,1316,1034,940,1096,969,863,894,952,1230,1364,1322,1176,1450,1330,974,920,935,842,704,847,847,830,1074,1086,1400,1422,1434,1440,1152,1368,1610,1220,776,620,764,963,797,688,1216,1236,1360,1562,1230,636,617,821,1210,1408,1468,903,468,469,562,518,579,497,487,764,727,678,1310,1488,984,996,1328,1384,1332,1232,1686,2044,2480,2832,2770,2122,1368,1108,1092,1234,1040,619,603,932,1390,1608,1300,797,562,630,607,580,381,284,233,283,245,255,289,439,717,1174,1420,1242,1592,1904,1766,1412,1278,1074,775,892,1156,1090,752,626,513,346,498,681,627,771,1378,1284,1484,952,643,1182,1204,1354,1606,1654,1248,918,450,369,431,519,684,466,390,365,312,805,1110,969,1044,1454,1023,545,767,1156,648,436,1002,1118,1060,932,442,581,950,722,565,533,499,992,1240,1262,1286,1172,1170,1426,2496,2566,1416,1218,1090,926,1046,1258,1290,1460,1410,1410,1360,1178,1013,1168,1324,1017,1096,1180,1122,1208,1460,1240,1174,1292,1272,1142,919,924,747,472,897,1348,1116,853,1198,1366,1023,1166,1556,1454,1280,1086,970,968,1060,1072,885,930,910,929,794,980,1048,998,1090,1224,1356,1476,1548,1562,1528,1288,972,1034,1222,1184,1038,1174,1294,1194,1250,1146,858,1146,1242,1064,1230,1180,1154,948,882,918,805,1226,1450,1005,852,852,886,865,694,642,656,538,500,526,648,628,470,735,1184,1112,847,632,658,739,818,1440,1396,1100,1090,1288,1438,1192,973,943,1038,927,833,581,1016,1400,1504,1440,1642,1896,1854,1532,1432,1066,651,608,661,617,661,631,637,711,711,633,535,478,491,545,549,735,1110,1170,1256,1376,1516,1302,1198,1076,1026,1422,2072,1444,955,1498,1650,1448,1556,1672,1664,1312,870,987,1886,1912,993,1340,1470,1408,1718,1704,1632,1538,1460,1604,1640,1438,1328,1416,1576,1406,1288,1686,1356,1542,2458,2088,1354,1384,1488,1386,976,510,804,1478,1104,954,932,613,709,894,1028,1032,878,1082,1356,1344,1160,1017,1348,1496,1342,1036,980,817,633,688,744,1003,1178,849,879,836,668,750,1040,1210,1264,1584,1734,1434,1270,1190,1206,1208,1005,529,570,896,1116,1228,1238,1314,1522,1614,1168,533,774,1021,963,882,694,653,598,728,681,572,744,976,1532,1616,1310,1774,1936,1700,2126,2116,1448,1108,1116,1128,1134,1170,1296,1350,1424,1288,1056,1242,1194,1188,1304,1386,1274,987,738,1005,1366,1178,1152,1202,1102,1290,1260,1332,1134,1244,1560,1798,1330,835,1178,1360,1744,1454,1470,1364,1274,1282,1460,1484,1300,1112,1086,1194,1354,1346,1328,1434,1316,1144,1112,1262,1206,783,1118,1584,1060,710,871,1038,1504,1686,1656,1224,1232,951,522,877,1144,1174,1260,1448,1400,1458,1456,1486,1898,1478,1318,1272,1108,1224,1504,1214,1008,1310,1336,1012,852,1068,939,552,801,1078,711,547,539,437,466,1036,1396,2254,5924,3962,1238,909,1672,1438,1021,732,972,1300,1356,1018,593,422,732,1326,1074,549,279,318,455,646,871,860,576,412,523,441,542,448,250,257,319,405,362,438,616,539,431,523,571,512,614,637,988,793,801,1114,1082,1090,1376,1484,1442,1282,1206,1120,1284,1522,1234,650,483,647,531,366,399,674,755,824,1102,1202,1090,661,894,1346,1560,1540,1208,1404,1350,1046,786,1062,1396,770,581,682,1162,1534,1816,1580,1188,1226,1230,1026,810,975,1414,1482,1021,896,996,1070,1202,1520,1502,1326,984,913,1982,2840,2514,1550,1354,1122,1100,1262,1376,1144,749,559,539,642,509,442,711,709,637,493,737,1032,1156,762,536,513,551,495,636,893,1080,1372,1384,1290,890,998,1338,1512,1560,1456,1274,1234,1170,807,830,1240,1100,753,1038,996,960,1434,1628,1564,1378,1005,715,898,1018,1218,1378,1282,1324,1276,1188,1310,1126,1328,1438,1136,995,958,1166,1246,1214,1164,893,1094,1204,1112,1108,1116,1228,1212,1166,1318,1208,818,873,1270,1432,1464,1154,1138,1324,1070,781,812,833,721,478,636,1082,1316,1492,1324,1202,1164,1404,1574,1566,1414,1460,1588,1854,1688,1544,1524,864,738,633,507,608,760,650,497,488,475,442,445,445,451,382,461,612,634,890,851,622,831,1072,1001,1290,1306,1480,1564,1488,1312,1009,1066,1050,930,1110,1054,903,821,1028,1158,1064,1206,1200,1168,1186,1174,1256,909,1314,1706,1378,1424,1370,1004,805,1140,1170,1300,1300,1314,1854,1708,1328,1130,1132,1208,1224,1262,1252,860,724,912,1192,1428,1372,948,709,1066,1120,708,1240,1566,1568,1166,1156,1356,1058,1460,1560,1492,1280,1003,1074,1028,1460,1146,1136,1234,1118,656,584,807,1056,1108,1005,881,930,949,967,1432,1372,1166,1386,1466,1434,1506,1396,903,703,1066,1172,1100,1188,1548,1432,1218,1048,855,822,791,604,918,1164,974,861,850,866,882,1148,1256,819,510,389,660,944,1486,1648,842,877,1268,1406,943,685,624,639,717,880,868,1322,1576,966,587,532,554,421,326,375,692,766,580,620,1356,1722,814,413,532,567,609,337,303,383,331,709,851,1196,1310,918,630,615,651,670,970,1336,1312,975,894,1082,880,753,1028,857,888,1015,790,873,1102,1094,1282,1216,1284,1366,1324,1502,1374,1476,1504,1298,1400,1052,568,579,813,1336,1410,1008,1004,1292,1436,1294,1324,1306,1190,1012,678,416,835,860,875,1444,1452,1220,1560,1560,1394,1272,1124,1146,1000,794,913,1062,1270,1510,1598,1520,1534,1178,678,858,1142,1230,1318,1306,1500,1472,1346,1122,1138,793,618,882,569,388,618,1014,1462,1670,1172,1318,1288,1252,1396,1600,1600,1278,1188,1326,1366,1456,1712,1482,1380,1554,1710,1662,1630,1670,1832,2138,2062,1916,1850,1248,598,383,319,371,775,766,640,501,491,472,424,405,356,290,350,523,560,768,1028,1276,1334,1001,1122,1242,1200,1300,1456,1542,1396,1478,1890,1450,1330,1404,1242,1272,1158,1280,1334,1134,1252,1340,1440],[354,300,279,288,297,312,273,311,343,590,966,805,607,507,365,324,342,401,460,503,506,526,496,410,470,455,339,295,372,392,379,422,382,283,282,305,336,407,405,434,424,419,435,439,444,447,438,427,442,427,396,363,397,425,413,364,348,396,412,388,426,459,578,648,480,582,849,1108,1428,1134,824,665,975,1130,997,785,509,409,425,404,385,391,410,438,453,453,428,403,367,585,1212,1132,1086,942,905,841,853,672,411,377,348,315,350,684,1170,1226,1478,1086,568,389,357,557,715,813,836,529,436,391,393,430,462,971,1162,1148,732,426,463,425,402,399,381,606,1200,1324,1168,996,711,592,525,481,734,964,739,462,395,388,412,492,366,364,360,449,482,538,631,675,406,475,779,719,490,334,310,372,467,506,456,683,1038,1009,910,946,1212,1015,1236,1582,1009,634,427,472,449,730,1124,1192,1156,930,568,586,531,619,1021,1086,1208,1254,1082,878,823,801,1050,1340,1164,582,430,485,470,741,635,868,721,426,426,428,398,426,414,403,422,506,727,713,546,579,681,673,904,880,571,643,731,781,1066,1494,1166,1038,681,672,677,581,868,937,646,914,1384,1376,661,677,985,1160,1562,1428,1048,1009,939,885,987,997,960,982,831,668,569,867,1542,1374,841,619,570,538,442,416,452,395,433,503,594,658,1002,1007,1078,1296,1268,1252,852,354,364,579,606,835,1122,1136,1682,1292,604,422,369,341,372,416,400,372,375,353,384,633,1090,1616,1560,1448,1282,916,769,730,888,700,773,1028,1082,1036,668,570,767,805,836,1000,1362,1482,1214,1250,924,525,405,426,677,930,1248,1060,741,1404,1756,1404,1036,916,772,722,852,752,890,1058,927,921,760,713,735,576,959,1252,944,633,554,523,1148,1306,917,702,641,1090,1366,1046,755,564,885,1080,966,797,1072,1078,882,636,774,1009,1044,899,562,543,899,1388,1452,1786,1232,890,990,1236,1124,835,779,669,793,1003,1222,1560,1384,1544,1378,1400,1924,1900,1244,1086,1040,1030,1086,979,1116,1232,1292,1336,1268,1428,1500,1498,981,529,454,764,1146,1090,1036,1268,846,1088,1534,1260,1178,1254,943,605,742,786,583,507,688,967,1276,1340,1626,1598,1724,1842,1692,1566,1532,1570,1660,1542,1126,905,715,610,774,1108,1422,1502,1592,1804,1874,1606,1440,1844,1878,1876,1588,1200,604,319,260,306,417,470,579,785,916,963,1062,1158,1554,1356,628,382,424,539,554,730,908,925,992,544,468,736,969,956,1394,1488,1676,1844,1766,1664,1472,1512,1722,1466,1418,1260,1166,1064,814,771,1130,1410,1258,939,993,1028,836,899,1488,2178,2532,1702,1194,594,407,486,377,424,616,780,642,399,597,1308,1718,1804,1820,1260,1136,1476,1538,1466,1310,1272,2162,2938,2680,2316,1622,1374,1386,1338,1416,1550,1476,1460,1622,1318,700,610,858,1136,1015,623,965,1318,1614,1416,1176,1218,1186,966,1046,1288,1010,899,1346,1392,1594,1336,1200,1290,1204,1204,1174,1130,1038,772,558,633,878,1276,1086,780,830,1094,1166,1034,1004,1019,1023,821,1044,837,613,568,768,1152,1158,1122,1230,1182,1340,1604,1496,1066,902,765,978,675,637,1120,1354,1254,1382,1078,562,733,1104,1500,1380,1130,694,636,549,463,534,513,541,675,538,509,529,952,1272,1352,1722,1450,893,602,684,959,1434,1986,1788,1270,1202,1216,1582,1770,1618,1001,588,625,591,766,1258,1532,1336,820,554,619,586,390,319,319,308,472,587,851,1474,1242,1538,1888,1694,2196,2120,1910,1688,1704,1336,863,853,1050,821,603,521,405,336,592,867,1590,1152,1454,1404,1574,1238,648,896,1566,1790,1826,1656,866,423,295,337,363,861,1250,675,336,371,331,484,915,1078,752,963,1006,808,718,1416,1138,574,658,775,826,865,819,982,1246,1011,568,367,487,966,1172,1194,1382,1404,1114,1044,1462,1526,1162,1234,1092,881,866,1003,1310,1290,1392,1420,1080,977,905,828,828,1160,1482,1430,1084,750,1030,1320,1316,1172,1250,1344,1286,1470,1042,623,1208,1242,976,849,1188,1034,716,1008,1296,1416,1446,1354,1324,1072,956,1094,903,1026,1354,963,748,884,830,730,820,1238,1392,1372,1258,1764,1516,1406,978,1068,1184,1110,1118,1322,1366,1212,1142,998,820,1030,1046,1152,1612,1478,1422,1658,1764,1588,1358,1282,1528,1136,932,982,838,860,868,781,693,661,672,771,779,559,898,1300,1580,1522,1164,787,644,705,1062,1376,1290,1050,1130,1202,1306,1440,1068,1019,1398,1262,845,513,647,1023,1158,1276,1382,1774,1976,1468,1064,695,616,644,702,722,720,656,666,726,735,663,532,472,488,511,495,772,955,1148,1328,1776,1820,1428,1476,1538,1218,1126,1240,1132,1252,1404,1596,1598,1562,1618,1562,1476,1234,1344,1722,1168,978,1404,1314,1646,2018,1936,1920,2024,1938,1874,1736,1246,1106,1294,1452,1490,1532,1376,1242,1810,2084,1714,1476,1290,1294,1466,1170,728,618,1324,1246,1018,843,645,802,961,979,827,820,1038,1224,1614,1542,1358,1368,1236,1017,899,921,812,719,745,951,944,1156,1088,928,816,565,664,1282,1834,2182,2424,2024,1460,1426,1414,1240,1074,897,709,575,710,946,913,1026,1356,1572,1604,1286,760,918,1086,1003,727,616,899,805,669,723,782,1132,1290,1246,1004,1082,1730,1980,1636,2846,3586,2322,1200,1178,1152,1340,1438,1466,1422,1164,1054,1166,1230,1166,1190,1396,1430,1194,944,727,968,1210,1110,1172,1240,1382,1638,1662,1454,1130,938,971,1266,1094,574,999,1188,1264,1202,1466,1506,1396,1232,1338,1446,1358,1156,1242,1548,1426,1446,1404,1290,1382,1222,1164,1310,1288,1068,882,960,811,948,757,866,1136,1428,1508,1292,1486,1242,577,556,836,937,1266,1486,973,1228,1264,1366,1408,1376,1300,1384,1368,1426,1834,1720,1408,1188,1030,1005,1296,1792,1128,528,835,1170,1120,982,805,714,532,499,577,979,2064,1662,1126,825,1192,1472,1082,728,879,719,894,1108,1088,1196,1760,1234,868,733,426,365,436,484,547,455,420,471,708,677,509,299,273,293,307,509,524,400,407,484,576,495,356,305,629,1214,1536,1266,713,599,550,614,1011,1122,1058,1302,1304,1228,1254,1562,1478,971,904,1062,882,510,375,493,764,1160,1432,1604,1496,1128,1084,1332,1414,1372,1346,1464,1568,1186,851,984,1376,880,668,912,1252,1322,1630,1442,1116,1250,1336,1324,1050,755,1216,1478,835,677,960,1256,1122,1224,1488,1554,1250,1256,2316,2818,2696,1500,1332,1062,789,750,761,1052,1126,800,1007,1418,822,424,424,628,596,450,666,1036,756,467,642,921,1172,1136,1094,962,1542,1604,1290,1220,1072,1082,1296,1428,1362,1242,1200,1150,940,919,856,1212,1198,1116,1582,1282,1170,1682,1538,955,925,870,860,1196,1156,1156,1208,1258,1302,1302,1172,1338,1238,1126,1272,1284,822,514,905,1164,1196,1180,1122,1252,1178,1026,1118,1104,1188,1170,1220,1376,1242,1126,982,894,1268,1476,1358,1358,1432,1208,769,670,1354,1280,709,968,1262,1380,1468,1400,1158,910,1292,1594,1282,1122,1218,1250,1628,1868,1650,1032,590,831,722,459,362,397,495,558,483,363,364,372,370,346,355,380,488,507,525,670,833,957,1060,1084,1290,1276,1314,1274,1294,1288,1164,1170,1186,1050,1012,1030,1238,1294,1266,1372,1332,1334,1222,1080,1136,1346,1242,988,1540,1566,1312,1486,1398,937,623,741,1062,1224,1190,1272,1376,1458,1460,1348,1418,1302,1298,1346,1360,1184,1082,1114,1054,1146,1168,827,799,1108,710,445,926,1318,1306,1176,1376,1454,1192,1266,1274,1558,1542,1202,921,714,1036,888,765,841,820,527,421,717,1138,1216,1054,1126,1520,1154,855,1040,920,1302,1526,1460,1406,1362,1560,1458,1056,783,968,1088,1026,896,1060,1182,839,722,936,933,868,1013,1192,1228,1064,627,857,1108,1202,1178,1154,879,489,560,730,1102,1452,978,702,753,1142,851,717,650,644,855,926,918,1328,1202,1038,624,506,542,396,320,293,344,630,783,561,887,1352,682,497,522,465,459,433,538,755,627,473,1060,1420,808,467,603,995,879,658,790,1042,1318,1352,896,427,365,538,671,549,612,963,734,462,708,1100,1248,1386,1282,857,886,1506,1550,1408,1322,992,1336,1438,1036,856,828,945,709,392,431,977,1216,1134,1368,1248,1092,857,450,633,1164,1138,1200,1352,1454,1522,1432,1356,1452,1228,1086,1188,1013,928,848,777,957,1252,1238,1312,1296,974,741,665,1104,1258,1166,1262,1400,1474,1424,976,691,733,1062,821,425,461,469,604,1350,1628,1402,1488,1500,1620,1346,1230,1250,1102,1426,2160,1550,1270,1336,1320,1488,1202,1426,1652,1672,1816,1952,1876,1566,1386,1478,913,520,578,426,688,1256,1358,1032,607,446,515,472,419,332,277,310,473,489,503,666,938,981,842,947,911,882,1130,1288,1206,1166,1428,1474,1172,1272,1434,1316,1366,1312,1178,1418,1488,1648,1554,1578],[286,296,268,321,461,588,670,792,890,983,1106,858,739,656,369,303,326,393,461,487,496,551,554,475,501,510,372,237,320,401,382,410,394,306,290,313,355,379,407,431,413,417,443,470,490,451,407,383,432,421,395,376,366,305,330,348,286,307,395,406,452,491,715,660,511,658,1002,1132,943,775,802,905,1132,1108,1270,973,531,419,377,311,318,381,407,426,442,446,390,289,332,697,1224,1334,1246,1080,1030,1013,990,815,596,496,488,343,343,819,1346,1428,1722,1740,923,500,459,601,775,730,586,435,439,384,359,401,482,1020,1300,1368,832,411,424,393,390,444,485,481,505,866,1582,1716,1350,794,489,489,546,739,681,543,491,350,426,383,318,307,405,437,379,407,965,1282,642,616,1196,1001,522,361,376,392,538,875,1192,1300,932,679,784,1172,1348,825,988,1174,1208,908,656,609,453,714,1132,1136,1104,977,622,670,681,728,1066,1146,1180,1236,908,607,620,626,974,1318,1184,585,446,640,683,752,718,951,855,437,394,374,406,402,424,489,473,512,824,745,524,494,415,393,647,754,505,530,865,1298,1484,1614,941,412,666,1170,1042,826,796,482,575,1078,1108,836,534,457,663,1050,1204,1078,889,785,766,697,600,577,695,790,912,958,819,994,1402,1328,1014,744,489,429,379,394,440,386,364,404,429,795,1204,1052,1026,1120,1154,1222,920,717,662,892,845,971,1166,1214,1078,590,459,539,495,387,391,426,389,319,346,350,412,414,604,1034,1296,1322,877,635,772,1166,912,689,788,1056,1166,1048,735,712,740,649,752,965,1172,960,1013,1350,1306,827,508,657,882,1060,1236,956,837,1100,1300,1072,1194,1028,749,593,847,903,1056,1036,766,1050,1318,964,1038,882,1148,1178,760,572,681,716,791,927,1470,1388,752,1072,1448,1128,1310,1216,1204,1402,1250,1092,1074,1094,1084,847,1116,1754,1628,846,539,490,941,1266,1368,1688,1394,952,976,1032,885,1288,1454,953,1038,1003,1310,1258,1152,1284,1394,1456,1520,1298,739,749,677,1172,1524,1260,1374,1048,848,810,928,1196,1252,1040,692,411,576,1204,1376,1188,744,898,897,1250,1650,1602,1346,1544,1274,494,390,521,453,619,853,993,948,827,1108,1466,1646,1728,1748,1548,1362,1338,1322,1610,1814,1776,1482,1418,1526,1600,1506,1304,1396,1590,1754,1570,1552,1936,1924,1832,1404,881,598,604,511,305,408,693,872,847,769,554,562,1036,1554,1588,875,361,424,529,624,613,875,1450,1308,599,416,563,876,1146,1450,1774,2016,1662,1616,1780,1764,1848,2048,2198,2010,1510,1614,1388,719,496,778,1256,1422,1206,1270,1274,832,569,648,982,1190,763,466,351,491,604,506,543,883,1426,1222,719,579,1130,1648,1750,1668,1208,1026,1496,1572,1458,1356,1342,1816,2522,2206,1820,1514,1500,1482,1526,1668,1778,1724,1760,1598,1140,1086,1007,1138,1266,1016,1116,1328,1528,1298,888,1254,1294,975,745,755,1224,1018,1023,1160,1382,1312,1264,1554,1650,1506,1374,1110,1152,1078,826,705,636,912,1116,1008,1056,926,1066,1172,1322,1322,968,711,567,741,693,544,536,697,1036,1116,1054,1252,1418,1554,1128,1324,1268,1130,885,927,1058,1118,1186,1416,1596,1500,775,521,523,821,1128,1212,1098,926,814,512,480,636,607,739,739,519,654,446,778,1100,1400,1582,913,411,484,556,724,1174,861,681,857,1334,1684,1780,1592,1282,869,601,462,393,505,767,1342,1454,1316,982,973,680,407,376,383,308,664,1212,1638,2114,1756,1672,1728,2286,2592,2398,2114,1902,1834,1654,1216,791,780,565,467,603,764,493,981,1100,1936,1462,1376,1062,1070,1372,1088,922,1408,2198,1830,1294,604,365,369,345,624,1252,1278,835,830,991,753,569,618,1152,752,666,1514,1470,763,693,827,655,737,955,867,911,959,865,1074,1130,602,526,744,974,1208,1188,1296,1180,929,968,1230,1238,1122,1166,1092,1226,1096,947,1140,1294,1566,1286,1100,1218,1021,802,1108,1588,1280,955,809,751,630,828,1238,1296,1396,1388,1334,1318,1032,968,1806,1504,1034,1028,1023,985,893,714,893,1260,1238,1322,1244,1432,1226,1270,1036,1510,1522,854,792,988,988,774,1002,1412,1230,1094,1128,1228,1328,1534,1534,1454,1246,951,1002,1280,1184,1216,1096,701,592,800,1316,1454,1354,1416,1746,1732,1148,1126,1228,1298,1578,1426,1452,1332,1054,1038,1198,1226,1166,859,488,656,814,987,1622,1798,1802,1752,1512,1100,868,951,1015,1360,1820,1228,890,816,822,1060,1512,1364,1396,1624,1506,1052,729,886,976,1168,1118,1344,1464,962,644,661,853,910,741,744,739,649,649,720,703,677,574,494,440,451,539,683,612,855,1362,1650,1500,1472,1638,1676,1396,1034,1202,1202,1246,1356,1412,1354,1528,1720,1644,1404,1224,1490,1450,1266,1176,1068,1046,1356,1808,1982,1868,1990,1868,1766,1652,1504,1406,1186,1166,1316,1420,1282,1222,1436,1508,1682,1726,1338,1094,1256,1328,1086,667,1058,1378,1180,873,749,952,1084,899,728,615,661,1164,1482,1462,1346,1176,1030,907,958,889,742,1011,868,1130,1052,990,1368,1060,825,661,623,1466,2492,2536,2154,1710,1436,1442,1162,979,1156,1142,1042,770,536,700,1044,1248,1272,1324,1560,1500,947,844,928,883,924,836,841,794,620,716,827,1482,1542,1208,1001,778,1160,1514,1506,2110,2634,1928,1294,1502,1514,1552,1494,1342,966,752,888,1250,1344,1252,1216,1278,1192,1192,1168,1108,1180,1362,1516,1490,1392,1306,1376,1438,1318,1150,872,636,609,740,804,1036,1234,1354,1378,1466,1592,1650,1670,1554,1614,1732,1544,1712,1838,1462,1362,1230,1178,1216,1312,1448,1322,1332,1234,977,1017,1084,1030,722,852,963,1340,1576,1632,1860,1492,628,508,649,717,659,582,720,1128,1308,1278,1252,1300,1114,984,892,986,1422,1930,2102,1546,1110,876,990,1314,1010,522,489,579,685,916,601,527,758,813,829,998,1154,1142,919,791,883,982,662,850,1009,802,804,1078,1466,1424,1636,1498,1410,1164,495,430,525,525,386,320,347,359,843,1072,555,258,353,415,421,435,331,327,289,320,473,514,471,407,833,1400,1522,1206,612,344,362,450,708,753,1072,1324,1312,1278,1036,1376,1330,825,711,1098,1126,670,610,989,1142,1244,1236,1454,1472,1102,1132,1360,1262,1178,1152,1046,1418,1452,1100,863,1060,993,988,1086,1160,1290,1416,1262,1252,1330,1182,1246,1178,986,1456,1236,765,824,1174,1460,1350,1502,1614,1382,845,619,1512,2674,2714,1462,646,572,588,694,924,1150,1220,755,874,1310,673,448,496,698,734,521,824,1432,1066,739,943,1432,1528,1180,1284,1450,1766,1372,1194,1494,1490,1206,1190,1412,1366,1158,1114,999,1138,1252,1212,981,1018,1282,1176,1002,1348,1544,922,880,868,840,1358,1228,1234,1186,1312,1300,1240,1246,1344,1432,1324,997,1146,1302,780,706,967,991,720,650,740,881,868,993,1360,1390,1378,1380,1256,1266,1110,1034,1118,1110,1144,1320,1412,1450,1292,1014,983,971,1300,803,937,1254,1466,1556,1502,1474,1132,1114,1482,1434,1140,1150,1170,1306,2208,2008,1204,697,633,707,707,520,361,423,411,438,533,477,336,277,325,402,397,400,433,404,481,702,894,1062,819,711,855,1005,879,1026,1204,1186,1086,1012,824,810,1190,1086,1216,1162,971,1222,1310,1256,1090,1007,1194,1460,1128,1070,1606,1406,1182,1234,1298,1188,941,1002,1222,1232,1178,1226,1434,1670,1514,1440,1336,1720,1434,1338,1142,1172,1238,995,758,588,604,513,652,891,483,359,429,997,1378,1224,1158,1256,1222,1222,1280,1744,1448,1334,920,982,1096,1070,1036,973,656,380,328,598,1152,1344,1272,972,741,808,915,1158,1202,1404,1560,1626,1590,1636,1580,1208,865,560,818,1234,1178,1274,1882,1762,1132,940,896,1052,1064,988,1194,1150,863,860,1098,1470,1682,1470,1138,1072,1086,613,388,438,545,753,465,437,868,809,688,760,820,899,860,850,1188,1614,1248,738,562,651,494,311,296,223,366,678,861,846,926,593,899,906,546,649,857,974,1410,1434,863,860,805,551,436,565,877,947,886,684,1044,1348,1268,889,420,458,422,469,414,358,379,352,330,865,1206,1178,1290,1236,1094,1300,1704,1490,1560,1484,1196,1012,1142,1216,1018,774,772,829,769,730,879,1192,1462,1592,1250,959,573,524,1086,1108,888,677,949,1586,1576,1228,1172,1200,1394,1416,1364,1322,1168,946,1038,1232,1178,1296,1742,1568,1350,1316,1168,1206,769,739,1246,1082,986,998,774,619,1036,1308,678,410,510,581,576,1116,1372,1376,1294,1426,1544,1504,1574,1310,962,1026,1578,1650,1086,1208,1622,1538,1280,1306,1472,1726,1834,1720,1720,1466,1218,1316,1062,719,577,558,1018,1656,1504,832,537,459,475,462,430,270,267,320,385,387,434,504,658,838,1046,1052,1021,1098,1172,994,763,854,943,925,1128,1478,1664,1582,1514,1406,1340,1498,1504,1648,1474,1512],[332,302,249,379,1086,1264,1252,1250,1284,1094,794,687,774,622,410,366,384,402,467,485,503,558,613,598,535,547,469,303,325,412,379,398,368,311,296,320,362,351,371,400,367,368,385,394,504,477,405,370,397,378,378,392,380,349,339,322,283,283,392,454,430,529,708,613,496,647,747,808,879,533,601,764,869,726,751,582,379,356,346,327,353,372,391,422,436,381,296,289,328,935,1088,1584,1624,1554,1802,1536,984,832,847,480,506,510,527,504,634,891,955,795,467,450,465,430,412,393,485,455,387,334,375,377,610,926,758,587,443,374,376,376,372,448,539,592,554,1010,1766,2264,2078,1202,753,832,814,822,579,444,404,369,387,366,349,340,392,435,357,644,1584,1672,927,1504,2380,1528,610,381,335,372,503,920,1622,1396,661,549,538,790,1302,999,668,879,1164,1082,962,733,478,586,1030,1142,1166,1156,870,791,750,849,1130,1190,1212,1236,920,477,548,626,769,697,616,543,514,628,672,716,772,938,1044,910,892,935,795,642,677,771,627,618,824,770,519,517,512,347,496,721,594,587,938,1268,1170,988,698,797,1704,2194,1686,910,518,431,832,1252,1220,967,539,390,455,504,710,1026,973,771,804,801,623,587,562,621,625,622,745,781,1068,1238,1054,651,500,380,353,389,389,377,358,394,534,823,854,848,948,1080,1202,1488,1328,1290,1017,783,940,1044,1106,1026,585,426,470,494,529,458,396,353,365,361,374,386,402,389,464,680,908,942,597,566,816,1372,1258,1120,1005,1104,1520,1618,1358,1092,773,637,630,694,910,930,1140,1438,1408,930,585,546,744,974,700,798,1378,1314,1186,1286,1460,1086,781,695,659,994,1426,1016,792,980,1050,1001,1088,810,760,740,780,773,1064,1488,993,741,1290,1402,1009,1260,1136,836,1046,1372,1434,1402,1278,1064,781,795,789,891,1062,1588,1496,945,592,404,752,1098,1256,1452,1412,1240,1636,1608,1066,1550,1896,1454,1104,1066,1268,852,1052,1422,1320,1210,848,687,621,539,700,1174,1338,1032,1224,1114,1258,1142,851,1092,788,512,522,545,873,1158,1090,1152,1044,1015,1058,1210,1576,1370,1262,1426,1090,536,562,619,1064,1506,1476,1430,1208,1298,1624,1628,1550,1498,1490,1302,1176,886,750,890,1494,1864,1940,1882,1648,1448,1304,1202,1200,1224,1492,1594,1600,1776,1898,1608,1218,955,836,764,632,353,556,913,756,699,710,503,482,1080,1678,1690,1058,366,348,518,738,474,513,825,752,504,433,577,887,1222,1370,1532,1578,1750,2280,1704,1640,1740,1850,2026,1954,1736,2164,1918,1182,974,1272,1410,1328,1410,1414,1004,731,483,381,360,448,439,323,319,415,554,585,704,1146,1694,1742,1274,700,865,1554,1776,1714,1348,1052,1532,1392,1374,1366,1258,1328,1808,2040,1808,1588,1472,1504,1552,1700,1852,1880,1832,1416,1346,1486,1278,1208,1312,1230,1348,1578,1598,1082,1058,1358,1176,703,529,946,1312,1370,1160,781,938,1266,1362,1484,1664,1586,1462,1384,1344,1256,852,774,709,675,827,1246,1322,901,870,901,1050,870,814,870,623,464,581,593,544,727,1110,1256,1364,1214,1456,1750,1466,1480,1320,1009,907,990,981,1110,1276,1292,1546,1180,577,466,452,483,513,886,924,606,717,839,778,698,664,1222,930,498,489,381,860,1272,1446,1402,615,406,543,669,875,1118,612,484,522,707,1166,1418,1306,992,759,662,400,417,480,564,739,1104,1436,1272,859,580,413,384,444,428,416,968,1682,1636,1488,1554,1936,2424,2790,2646,2226,2270,2036,1718,1294,750,657,847,840,1182,1714,973,480,747,968,1120,1242,711,956,1258,951,1030,1366,2302,1420,818,480,355,345,290,357,702,1140,1118,1296,1230,950,1026,701,1312,1244,716,929,1019,705,724,861,930,926,678,689,955,1194,756,813,1216,1007,1036,1092,1180,1504,1380,1282,901,822,1006,1200,1142,1062,1180,1284,1490,1256,1144,1492,1544,1292,839,1220,1056,867,837,1196,1338,1384,1184,977,893,864,1338,1084,890,1266,1486,1714,1436,963,1306,1782,1302,1116,1130,1120,1152,988,786,816,1042,1086,1124,1012,1256,1246,1186,1224,1340,1246,1166,1190,1388,1338,1102,1164,1326,1338,1092,1144,1054,1202,1644,1606,1294,1242,1162,1092,1146,1236,1378,1194,981,1062,1110,1364,1594,1672,1854,2292,1730,1014,845,782,946,1356,1620,1788,1664,1422,1338,1252,1144,1448,1250,525,475,554,753,1116,1596,1880,1838,1572,1146,843,916,974,1030,1240,981,506,429,430,558,1028,980,989,1256,1438,1216,712,752,1011,995,1192,1338,1112,860,1362,1826,1856,1456,827,797,690,616,641,749,778,790,630,497,449,477,686,861,729,938,1158,1354,1450,1798,1860,1382,1114,1108,1472,1576,1428,1348,1354,1354,1390,1448,1294,1278,1532,1480,1404,1544,1466,1248,1214,1454,1754,1870,1842,1942,2088,1888,1726,1616,1166,796,1050,1316,1210,1366,1512,1412,1436,1660,1914,1448,998,704,722,988,804,1042,1372,1144,871,931,1146,1118,830,692,453,717,1234,1348,1374,1208,1172,1376,1042,894,750,927,1224,1052,1110,1120,929,1026,921,728,721,632,1204,2280,2218,1886,1874,1584,1476,1190,1122,1260,1142,1174,940,607,710,1164,1128,1074,1058,1530,1606,1156,883,895,904,894,1052,828,653,575,748,760,1058,1192,1232,1224,1160,1186,1274,1456,1598,1584,1526,1550,1576,1400,1340,1482,1452,1116,927,922,905,1023,1180,1272,1166,999,1208,1206,1196,1234,1542,1542,1530,1512,1318,1206,1058,988,1154,1064,856,877,1100,1138,1172,1294,1312,1346,1456,1596,1776,1496,1180,1704,1638,1676,1644,1426,1358,1028,932,1296,1360,1428,1456,1354,1144,1058,1278,1007,765,735,848,1228,1484,1664,1814,1758,1584,1240,637,528,492,559,614,644,1014,1112,1114,1228,1004,1396,1572,1060,980,962,950,1282,1594,1646,1578,1350,1296,1210,760,432,389,349,339,636,604,810,1182,1180,1158,1136,887,813,1200,1112,1022,1158,1108,1100,997,991,1148,1074,1710,2120,2048,1888,1748,1328,538,352,384,547,372,431,547,397,738,904,455,229,362,510,470,432,333,439,425,431,375,488,551,506,797,1258,1288,1064,513,335,506,830,744,743,1172,1210,1208,1226,1094,956,760,525,404,546,739,815,1046,1206,1086,1042,948,1068,1038,987,1274,1334,1238,1096,834,747,1070,1214,1372,1214,1194,1126,1001,1176,1490,1720,1642,1210,1444,1864,1528,1138,766,748,1190,1142,1100,1136,1288,1472,1138,1036,1252,1244,961,1118,2144,2770,2548,1566,1034,1160,929,987,1070,1274,1366,932,944,1142,983,667,507,565,798,737,922,1560,1166,1112,1302,1492,1588,1406,1522,1678,1282,966,1176,1598,1700,1294,1272,1334,1060,794,785,680,1216,1414,1190,1020,1156,1294,1094,1194,1378,1318,893,1044,879,1058,1278,1318,1314,1366,1554,1382,1248,1302,1356,1578,1636,1136,1152,1246,1122,1068,1070,790,506,800,872,522,537,802,1266,1250,1266,1250,1126,1084,1001,776,908,1294,1488,1562,1322,1520,1708,1112,1124,1162,979,1118,1352,1458,1572,1574,1662,1680,1460,1556,1620,1402,1230,1132,889,1146,1696,1378,861,816,735,633,774,647,713,714,480,364,444,438,364,319,376,433,481,452,417,408,560,613,602,659,509,626,909,1140,1080,1056,1044,1104,966,1042,700,930,1222,1160,1186,1294,1194,1186,1294,1328,1282,1338,1001,914,716,1282,1338,1028,1208,1264,1346,1372,1148,1002,1068,1222,1216,1244,1340,1498,1350,1366,1452,1542,1346,1070,680,756,876,915,1184,1224,1130,703,536,555,529,483,703,1156,1310,1314,1274,1026,771,1174,1724,1674,1310,1192,1210,892,1048,1448,1288,908,636,388,354,379,842,1166,1190,939,838,1096,1162,1026,1130,1382,1268,1460,1542,1560,1154,1140,1134,647,824,1122,1178,1230,1172,1196,1192,1108,704,805,831,755,875,1044,1086,1278,1284,1408,1572,1542,996,944,1134,662,497,463,509,462,392,419,508,639,722,695,847,1196,1212,1208,1640,2224,1474,778,591,811,718,303,288,369,486,459,897,1064,732,999,1448,1296,865,1068,1160,927,1296,1460,872,582,912,940,597,483,490,492,581,967,1750,1526,846,578,447,573,471,491,477,360,341,354,619,1166,1180,926,959,1190,1436,1478,1460,1488,1304,1196,1066,1158,1550,1534,1188,1220,1322,1348,1336,1312,1188,1416,1336,1068,1208,1080,616,905,1366,1306,1084,816,1042,1380,1164,1150,1416,1136,1298,1416,1158,1232,1422,1144,916,1038,1016,1238,1572,1100,1090,1304,938,633,897,1088,997,636,474,743,982,984,1128,941,777,844,531,469,587,1008,1448,1584,1394,1380,1444,1400,1544,1454,1146,1380,1484,1464,854,1007,1382,1274,1398,1490,1238,1120,1550,1716,1888,1624,1518,1130,753,623,1005,1236,1274,1604,1476,835,572,524,637,539,369,270,294,334,368,402,403,440,576,746,1014,828,757,1092,1070,744,589,679,541,515,860,1460,1798,1852,1722,1682,1478,1424,1422,1696,1584,1176],[307,283,288,349,895,1284,1076,717,684,700,787,779,536,401,432,446,447,394,438,493,532,549,579,637,648,745,592,382,318,418,383,396,374,334,306,266,274,294,308,329,358,397,397,416,478,514,435,397,394,348,350,380,401,386,364,330,320,334,342,368,410,467,489,534,504,501,602,903,852,535,545,588,601,564,483,347,290,293,321,333,352,377,435,419,428,402,322,343,443,940,1156,1410,1554,1752,1930,1610,951,709,638,401,420,518,530,511,731,891,757,527,487,473,495,381,469,590,709,668,452,331,357,321,658,1054,1002,930,450,392,364,372,403,452,482,482,488,717,870,1009,1308,1178,998,1034,1054,919,631,434,335,324,330,348,371,403,343,336,384,932,1656,1520,1220,2014,2136,1198,680,541,389,414,423,496,796,585,412,384,444,724,1166,852,666,909,882,1023,838,605,616,547,1090,1244,1156,1138,847,666,668,776,1006,1200,1256,1238,959,505,531,592,812,1018,1009,868,597,515,554,584,619,633,987,1288,1236,1360,1017,733,817,827,642,605,815,812,485,537,636,455,409,656,947,1238,1292,1001,609,424,374,865,2078,2178,1646,808,632,701,827,1236,1692,1358,767,538,452,383,446,733,911,918,1216,1372,975,879,963,898,738,653,580,562,673,621,745,612,453,381,375,385,379,389,383,387,673,952,904,1146,1052,1354,1418,1376,1154,1242,921,639,893,899,786,569,431,391,344,419,440,451,384,400,504,435,410,398,375,401,572,648,649,608,515,705,1096,1656,1724,1464,1144,1110,1336,1624,1454,1116,1064,816,710,675,653,857,1108,1224,1012,663,543,810,1388,1576,933,700,998,1328,1164,1730,1892,1142,774,986,977,1034,1042,1342,1508,1378,1198,1032,902,722,524,461,984,1184,991,1136,814,469,878,1518,1348,1322,1132,884,1078,1372,1376,1252,1438,1404,1072,1007,1498,1524,1392,1720,1224,913,643,508,797,1034,1206,1378,1260,1026,1184,980,633,608,959,958,835,1310,1210,970,1632,1726,1212,1224,946,602,570,700,969,1080,814,883,1086,810,867,856,858,1252,753,433,483,648,1016,948,747,842,1052,1298,1276,973,1028,1166,1272,1148,766,716,1048,725,727,949,1108,1334,1518,1342,1372,1296,1080,1242,1288,954,799,659,553,595,768,1160,1746,2020,1634,1472,1676,1642,1322,1124,1166,1538,1660,1716,1782,1484,1116,1046,791,407,452,509,433,481,375,353,504,622,494,692,938,791,735,507,370,583,1194,1016,530,320,467,433,389,735,1116,1278,1450,1456,933,818,1226,1074,1116,1488,1898,2076,1736,1742,2258,2216,2248,2164,2192,1466,1290,1378,1428,936,598,432,380,447,650,814,506,399,408,574,623,747,1140,1628,1882,1662,976,745,1394,1802,1896,1446,1056,1358,1208,1436,1832,1600,1396,1418,1498,1624,1572,1454,1572,1544,1760,1938,1896,1572,1254,1488,1346,1278,1328,1058,991,1302,1290,1334,935,1158,1296,1200,857,719,1392,1628,1406,1066,672,929,1036,929,1154,1338,1640,1520,1542,1058,943,1074,1344,1536,977,1086,1232,1216,957,640,745,688,621,918,1188,987,601,522,641,716,813,1128,1200,1260,918,1136,1400,1610,1564,1282,1013,965,1140,776,749,1198,1328,1504,875,478,526,744,772,533,519,469,542,899,1334,943,741,667,1019,974,863,714,793,1202,1482,1478,1122,492,540,1116,912,848,1034,739,529,523,692,861,731,745,601,591,713,603,568,539,538,521,678,1034,954,521,500,592,577,631,645,526,731,968,848,652,1090,2142,2622,2756,2534,2448,2092,1552,1182,1080,1076,870,719,777,1278,1860,1126,411,938,1072,825,790,846,1176,1106,1021,1340,1254,921,683,603,520,485,388,302,392,943,1646,1698,1556,1232,872,849,813,1038,1214,986,568,494,921,1304,1182,1390,1144,880,1300,1524,1368,800,738,1352,1458,1354,1234,1058,1316,1206,1122,1082,1136,1210,1384,1526,1338,1250,1348,1346,1274,1354,1732,1648,1290,738,786,675,767,833,736,827,1048,839,780,771,1120,1444,971,919,1254,1204,1324,1340,1226,1446,1428,1322,1212,1098,1508,1362,906,1021,1056,1072,1066,1030,1130,1096,909,993,1000,1100,1284,1266,1300,1464,1478,1434,1324,1244,1476,1500,1382,1382,1334,1432,1582,1198,1166,1410,1146,1140,1272,1286,1246,1272,1378,1264,1146,1300,1744,1798,1864,1214,742,803,967,938,1128,1510,1626,1206,866,764,610,491,1082,1332,843,624,891,1040,819,1021,1438,1504,1382,1356,1017,779,839,853,814,681,465,423,519,579,568,617,912,1244,1302,1576,1488,1064,1254,1046,1148,1198,869,903,1692,2008,1888,1538,900,833,664,600,586,630,641,632,614,589,561,534,758,1114,984,1212,1098,1238,1528,1950,2154,1642,1016,1076,1300,1550,1548,1536,1274,1246,1250,1290,1248,1498,1588,1514,1630,1666,1614,1416,1392,1804,1858,1690,1672,1858,1918,2032,1874,1200,727,666,880,1428,1472,1320,1336,1458,1444,1436,1556,1358,1074,741,932,1192,1062,1300,1440,1272,1164,1152,1158,825,653,702,791,1088,1194,1274,1334,1136,954,1208,1086,828,691,1098,1296,1168,1104,1140,1001,913,987,717,681,639,720,1940,2498,2526,2416,1916,1608,1272,1005,1112,1432,1230,984,843,640,781,854,842,1128,1432,1570,1450,1026,860,933,987,1406,898,674,615,944,879,1038,1584,1702,1346,1214,1236,1204,1310,1604,1824,1644,1626,1410,1130,1112,1528,1576,1120,1062,1166,850,1042,1452,1398,1350,1432,1494,1330,1268,1382,1476,1558,1686,1446,1250,1184,1204,1284,1418,1332,1364,1234,1324,1354,1274,1276,1554,1738,1512,1384,1390,1344,1394,1476,1498,1276,1184,1384,1260,1046,1180,1366,1254,1450,1154,936,1026,1538,1574,1506,1516,1206,1232,1526,1624,1654,1544,1210,1180,1340,990,881,999,1122,951,799,1304,1328,1346,1392,923,1260,1056,913,1322,1316,1200,1404,1372,1262,1354,1452,1396,1212,604,419,342,312,361,516,877,966,1017,1328,1432,1294,1018,1232,1868,1708,1492,1442,1394,1366,1116,1248,1150,1042,1896,2496,2428,2020,1256,1068,624,379,308,329,260,347,342,225,428,642,541,370,349,526,405,312,429,655,573,521,450,358,437,559,709,984,965,941,693,461,626,905,561,636,849,880,936,874,913,686,508,568,444,493,610,682,989,1264,1434,1318,1060,1214,1390,1294,1210,1168,1204,1088,1050,1344,1394,1009,1210,1354,1136,1240,1264,1290,1664,1724,1574,1234,1390,1630,1396,1282,1212,1424,1606,1282,1256,1386,1420,1498,1394,1158,1168,1446,1378,1384,2208,2568,2060,1694,1208,1180,805,968,1001,1150,1354,1108,1298,1190,987,816,490,330,505,653,558,852,683,729,976,854,956,887,791,963,1060,1040,1130,1792,1792,1476,1384,1252,862,714,782,830,1252,1360,1258,1264,1128,1350,1360,1432,1370,1314,1126,1036,925,1144,1216,1312,1328,1360,1466,1284,1260,1346,1228,1400,1384,969,884,1264,1610,1298,1034,1002,809,831,733,567,803,877,1044,927,902,678,681,938,1034,843,909,1122,1064,1174,932,1084,846,922,1252,1152,1340,1670,1482,1514,1572,1582,1772,1794,1598,1484,1400,1094,857,872,957,1270,1294,879,820,921,810,763,878,1038,1050,662,448,407,388,443,433,376,440,439,429,453,398,346,464,490,340,313,312,384,716,884,1001,1212,903,918,1012,969,865,1042,1220,1236,1200,1354,1328,1108,1070,1332,1770,1590,1196,818,777,1254,1222,1172,1284,1300,1450,1372,1244,1284,1164,1242,1052,766,811,1094,1158,1262,1374,1226,1282,1090,859,713,587,724,1019,1218,983,1028,984,874,1009,903,901,1184,1316,1450,1244,801,676,1228,1498,1488,1268,903,1078,1150,1060,904,803,921,670,653,554,373,526,725,810,847,841,1082,996,760,937,1236,973,1212,1202,1112,1218,1544,1402,826,553,611,811,786,696,922,944,1050,988,864,595,529,612,613,957,1290,1144,939,846,858,639,600,1058,901,530,433,452,449,510,348,365,516,628,717,674,1238,1742,1510,1478,1504,1032,636,704,919,953,303,293,351,357,311,545,1036,1174,1318,1484,1204,902,989,923,568,639,909,785,675,722,1276,1084,654,601,474,532,1312,1820,1262,681,448,471,680,621,681,716,734,692,772,1082,1310,1238,852,910,1310,1406,1174,1292,1258,734,461,866,1488,1640,1420,1424,1628,1396,1412,1054,1142,1252,1142,910,946,1158,1346,1154,844,1250,1396,1152,1006,1224,956,705,936,1418,1376,1126,1134,998,1034,1434,1086,620,647,707,1588,1744,1090,711,718,691,1001,1520,1272,616,576,836,944,1458,1484,875,714,1130,1252,823,605,874,1338,1698,1664,1328,1532,1622,1476,1400,1190,1234,1368,1294,1334,1066,1004,960,1144,1344,1472,1436,1202,1182,1474,1804,1712,1626,965,520,920,1144,1394,1262,1268,1174,769,727,912,1124,775,418,302,308,338,359,430,440,572,789,722,771,650,558,785,940,781,611,516,468,458,808,1462,1726,1734,1672,1648,1278,1042,1274,1480,1342,1108],[307,310,315,320,723,1220,996,492,408,459,687,805,717,593,420,446,487,414,419,529,498,482,518,657,680,696,528,442,330,382,380,397,416,414,426,326,285,290,305,339,370,426,445,459,470,453,394,421,451,413,383,364,419,406,400,377,346,316,278,313,392,428,465,578,572,483,561,852,644,573,620,568,544,570,454,297,250,258,273,279,310,356,419,375,381,361,300,273,580,991,913,908,960,1400,1736,1462,908,847,659,445,433,404,429,462,511,667,758,804,621,550,482,406,550,710,731,701,522,352,341,365,683,1130,1606,1238,518,380,425,423,423,442,487,514,515,749,877,973,1516,1328,961,861,908,865,660,418,317,302,319,379,423,395,348,369,482,628,1098,1242,1328,1396,1234,868,680,629,502,457,469,408,427,639,710,729,695,833,1262,1104,1005,954,744,850,890,1018,1110,865,1140,1306,1206,983,647,525,534,591,869,1250,1278,1238,1028,601,534,655,899,822,986,1230,618,457,499,534,645,707,980,924,915,1094,921,678,696,755,600,526,803,730,456,496,558,587,504,697,1104,1190,1054,896,577,409,490,824,1334,1462,1388,852,660,591,456,1082,1532,1092,949,989,730,512,591,814,824,1028,1368,1170,892,1128,1530,2186,1784,798,614,639,647,621,498,448,444,376,339,355,375,416,416,457,766,1220,1492,1716,1236,1372,1390,1212,999,905,590,362,381,412,470,436,435,480,432,387,401,402,379,893,1136,586,406,396,401,410,552,645,608,617,669,875,1448,1806,1542,1480,1392,1368,1170,1384,953,882,1412,1544,1172,824,781,731,612,651,905,983,1044,1346,1714,1782,1112,558,669,1176,1076,1098,1388,1236,973,1154,1138,1058,1044,1394,1578,1510,1344,1110,1062,1080,815,434,652,918,1514,2116,1378,666,1242,1578,1498,1386,1230,1274,1372,1256,1132,1096,1488,1304,1380,1416,1798,1274,1324,1428,825,631,860,1062,946,1008,1354,1434,959,498,446,520,462,494,602,646,1180,1340,1003,1358,1688,1412,1562,1230,912,560,661,928,1048,1192,1228,1272,924,631,987,880,1166,1416,795,441,419,493,635,679,579,675,1048,1242,1256,1180,1074,1362,1142,1072,800,949,1096,763,781,1112,1384,1518,1570,1328,1544,1056,1050,1470,1514,1116,1136,1212,1026,1015,776,670,1078,1766,1404,1212,1526,1426,1308,1003,899,1402,1680,1592,1664,1438,1116,1144,813,662,853,819,565,481,386,309,323,341,367,362,568,511,484,566,455,777,1450,1336,702,399,474,529,602,980,1188,1578,1736,1316,875,983,856,624,537,813,1166,1518,1782,2000,2392,2434,2522,2604,2370,1616,987,798,882,756,644,594,638,773,1038,1578,855,541,636,908,786,691,968,1482,1788,1802,1312,832,1360,1844,1788,1336,1218,1512,1520,1776,1892,1594,1540,1572,1598,1664,1610,1336,1398,1582,1814,2040,1954,1212,861,1003,1160,1264,1118,1080,1078,1182,1284,1238,1396,1286,1228,1132,796,830,1356,1426,1214,874,1166,1442,887,699,1004,1396,1400,1244,1372,1282,1282,1434,1622,1758,1444,1076,643,759,865,813,978,980,707,790,1210,1176,741,619,784,905,952,896,1128,1052,1004,1172,1392,1552,1510,1350,1274,1472,1382,1120,1072,1004,1332,1194,652,462,717,1234,1116,553,421,415,589,680,1015,880,579,357,300,774,974,655,1168,1350,1360,1536,709,426,803,1404,935,1011,1230,711,473,506,818,777,658,907,755,569,594,655,701,793,632,435,425,532,546,447,516,630,578,539,511,465,578,650,716,708,1152,2018,2410,2566,2220,1670,1400,1038,894,687,1052,1028,715,865,1400,1608,725,318,607,870,1012,845,777,673,725,967,885,992,1124,1058,1238,1164,514,371,321,349,723,1428,1756,1406,841,560,644,649,569,733,852,943,657,1326,1118,1188,1676,1362,1010,1058,1116,1414,1274,1002,1538,1552,1296,1216,882,933,1020,1078,1130,1184,1228,1316,1400,1408,1534,1246,1234,1134,1158,1388,1400,1058,589,522,632,628,785,853,752,604,493,583,725,1440,1268,949,1244,1436,1011,772,844,1126,1412,1470,1130,874,732,755,938,1040,1202,1276,1274,1086,855,879,998,1090,993,871,1216,1350,1358,1310,1306,1380,1454,1448,1346,1306,1222,1346,1548,1598,1384,1284,1044,1346,1432,1372,1498,1392,1256,1246,1500,1534,1316,1412,1600,1642,1626,1294,781,688,854,1060,1118,874,1054,1398,995,745,1472,1394,1194,1484,1512,1102,726,1084,1520,1180,832,879,1160,1338,1460,1396,1152,904,787,875,963,865,699,722,661,622,615,843,960,1136,1720,1804,1570,1528,1360,1060,1068,1130,908,1440,1772,1614,1384,996,902,729,616,586,573,589,629,604,617,604,594,901,1116,1116,1284,1290,1274,1392,1562,1656,1328,830,850,1058,1380,1350,1312,971,983,1072,1218,1322,1388,1450,1634,1764,1666,1584,1346,1366,2030,1784,1120,1122,1434,1644,1764,1398,799,988,1140,824,1400,1548,1060,896,1082,1318,1454,1394,1358,1200,1062,1150,1252,1098,1168,1466,1378,1362,1384,1080,743,846,1142,1328,1174,1098,1154,932,749,944,1252,1176,828,1002,1172,1316,1354,1138,1110,1058,891,1078,892,639,720,587,1302,1970,2048,1904,1674,1426,1316,1116,1122,1272,1060,1098,979,581,574,736,921,1054,1122,1450,1508,1228,902,1162,1286,863,724,800,889,1072,912,1076,1478,1430,1360,1336,1332,1492,1382,1526,1742,1406,1126,1156,1210,1098,1082,1288,1152,1154,1424,1394,1550,1908,1502,1416,1334,1168,1146,1316,1430,1478,1614,1464,1206,1138,1250,1278,1484,1424,1548,1636,1496,1362,1230,1112,1204,1576,1522,1050,938,878,1066,1234,1444,1630,1384,1140,1026,1004,1274,1420,986,1004,1308,1054,714,1017,1250,1158,1406,1468,1090,1346,1484,1664,1480,1414,726,1088,1322,965,1012,1166,1204,933,937,1544,1270,885,1216,1388,1744,1022,709,933,909,1066,1066,648,769,1338,1408,1090,1324,1066,959,941,894,779,788,1166,1388,1196,1400,1146,1036,1248,1728,1890,1866,1900,1430,1076,1168,1376,1500,1062,878,1632,2326,2378,2214,1470,1164,703,381,421,467,399,350,279,255,309,398,399,493,638,527,302,270,579,752,700,638,604,380,280,390,735,1152,1220,1182,1260,1136,856,598,458,877,1120,863,1028,1114,833,670,734,705,518,465,579,568,580,980,1282,1250,1242,1264,1396,1344,1116,1184,1508,1412,1294,1372,1244,866,1166,1264,872,1218,1142,1326,1454,1588,1568,1550,1366,1282,1202,1038,1122,1426,1364,1180,1482,1318,1302,1388,1412,1302,1264,1310,1400,1456,1740,1726,1334,1318,905,963,794,987,991,1184,1434,1340,1404,1344,1260,1228,1022,447,449,684,443,549,604,775,989,688,731,1154,915,877,1274,1110,949,1390,1242,1394,1374,1136,1020,1078,1190,1120,1096,1324,1460,1284,1208,1180,1418,1336,993,1072,1272,1200,1346,1518,1208,1060,1186,1302,1418,1392,1274,1292,1434,1378,1244,1136,1140,1366,1366,1360,1284,1294,1120,1096,909,989,1354,1086,716,1042,1014,631,803,1064,994,1066,997,1064,932,538,538,821,828,866,1064,1001,1136,1670,1370,1300,1108,967,1116,1154,1184,1182,1076,963,878,939,1210,1332,1024,1058,1360,1202,939,1028,1042,890,544,462,572,591,445,427,474,489,404,470,500,496,432,338,311,300,286,305,349,459,538,437,489,541,642,932,1094,883,810,930,1182,1170,1246,1464,1334,1330,1312,1418,1186,919,1282,1100,1130,1294,1188,1140,1126,1216,1520,1262,1190,1162,1054,1082,1022,997,991,1066,961,1124,1374,1312,1348,1172,1009,876,800,604,796,996,895,1003,884,703,799,996,940,1292,1410,1164,1084,776,1344,1512,1110,1118,1012,657,633,1030,1278,616,842,1404,1180,1124,757,454,491,463,608,762,952,1238,843,828,1017,946,1066,885,681,863,1258,1404,1440,1296,633,461,535,608,1114,1252,877,688,988,1100,832,973,873,593,858,1154,1002,913,626,537,401,500,827,999,767,533,507,519,819,407,400,670,1534,1362,951,1056,782,561,575,589,569,925,1158,690,612,407,339,294,230,280,441,764,931,1116,1170,813,933,814,544,481,668,857,951,955,1001,1746,1572,1023,886,804,1002,1372,958,615,618,621,971,1124,1102,1148,1174,1124,1132,1204,1238,979,1044,966,1188,1560,1282,1112,1338,1148,703,638,1162,1422,1370,1452,1418,1098,735,1202,1152,963,999,973,1005,1028,971,1108,1244,1016,1680,1688,893,1094,1654,1170,1078,1082,1142,1270,1298,1368,1114,896,1218,1058,559,594,882,1632,1478,1068,675,451,764,1036,1004,584,469,901,1152,1346,2020,1616,1082,1122,1278,1054,808,729,929,1322,1592,1234,1144,1556,1620,1276,835,668,926,1062,1380,1594,1280,1270,1114,1434,1670,1566,1506,1382,1322,1214,1396,1726,1616,836,822,1454,1122,1228,885,1038,888,621,728,1046,1100,977,613,326,322,386,340,386,390,522,851,944,830,592,648,778,850,1014,1080,735,599,553,739,985,1046,1256,1310,1282,1052,814,938,1322,1488,1162],[315,276,328,360,537,1036,973,554,412,389,497,637,621,458,404,421,459,372,414,589,462,489,654,664,565,510,456,412,344,335,338,387,445,451,410,344,283,281,293,325,315,348,395,427,434,383,375,455,515,498,441,393,387,375,366,363,311,267,283,309,366,418,456,677,680,521,544,610,440,449,525,488,502,545,434,319,298,275,274,306,337,395,334,299,322,300,268,273,662,1038,769,722,702,937,1218,1356,953,845,677,421,340,462,645,520,448,507,556,550,551,587,523,435,550,857,978,875,575,436,439,487,974,1220,1382,819,487,378,370,372,357,395,448,476,488,891,1005,1322,1836,1492,890,597,600,670,623,525,361,351,485,501,469,439,379,394,430,433,640,1228,1426,1122,1010,876,818,721,605,546,529,461,457,763,875,1242,1534,1288,1412,1372,1308,1248,1160,1332,1348,1560,1682,1210,1116,1296,1116,782,546,482,555,700,973,1212,1268,1286,1038,691,633,677,796,1080,1344,1244,569,386,470,826,1036,1238,1456,1214,1140,1318,1094,772,869,971,880,556,477,514,454,444,422,540,831,1074,973,968,1170,1272,818,540,781,880,861,1620,2286,1310,432,430,344,524,956,1316,1726,1216,998,662,560,760,990,1236,1268,840,911,1136,1288,1758,1398,741,580,619,734,756,500,391,399,375,360,346,352,389,399,512,808,1236,1302,1164,1096,1172,1284,1166,955,938,667,309,272,293,481,544,453,516,535,437,384,317,721,1442,1178,603,536,502,428,473,609,636,471,511,623,716,1036,1054,924,1394,1620,1836,1826,1946,1418,905,1334,1808,1560,1252,902,598,469,349,405,758,1038,1308,1474,1252,835,594,1003,1266,739,542,930,1216,1220,1036,869,1064,1186,1154,1116,1322,1268,954,997,1016,774,488,484,538,1268,1344,609,512,1048,1660,1460,886,1184,1324,1058,952,950,1136,1110,805,811,776,808,817,1356,1476,887,651,1260,1578,1390,1346,1564,1544,935,688,885,1070,781,405,566,1104,1356,946,1028,1240,1070,1098,1498,1242,937,836,1030,1130,1142,1114,1026,1256,880,1036,1268,734,600,626,449,391,415,330,295,405,626,1050,1368,1188,1054,963,1188,971,849,1070,890,808,1046,1272,1520,1534,1488,1756,1700,1666,1448,1382,1494,1354,1300,1306,1384,1448,1402,1512,1100,965,1128,1656,1504,1304,1504,1606,1448,1009,921,1440,1700,1490,1508,1456,1238,1202,866,940,1108,651,293,270,270,390,467,423,591,455,744,577,373,484,518,661,724,624,566,554,588,592,858,1186,1610,1948,1826,1258,907,1096,1204,1090,1048,1062,602,644,989,1748,2420,2620,2554,2426,1948,1434,973,601,519,719,1018,892,1040,1218,1188,1900,1406,632,588,1196,1368,974,930,1412,1758,1892,1578,1024,1466,1776,1656,1484,1610,1650,1660,1818,1676,1510,1534,1600,1542,1552,1450,1502,1472,1660,1836,1972,1640,935,741,1088,1496,1248,976,1306,1386,1526,1366,1278,1420,1270,1304,1302,1134,1124,1374,1378,1164,843,1032,1204,1058,933,1142,1522,1400,1224,1322,1316,1286,1448,1456,1612,1490,1162,1088,1074,1484,1232,800,984,1006,924,957,1134,1009,854,749,948,1012,1336,1538,1520,1546,1268,1466,1244,1310,1310,1426,1354,1192,1236,1154,1262,1578,1266,836,529,755,1266,901,542,501,506,513,589,645,550,460,355,364,822,1004,663,997,1060,1330,1510,704,337,897,1172,727,949,949,529,457,449,551,515,668,986,988,689,714,758,874,875,630,526,520,479,373,393,415,381,341,383,420,448,541,667,873,896,961,1362,1238,1476,1412,1852,1942,1244,1074,866,872,919,529,752,1462,1388,565,365,438,844,1560,1300,656,571,930,828,517,820,1188,1198,1418,1066,498,369,463,478,422,691,1034,885,646,864,778,423,527,963,856,1248,995,1116,1470,1720,1758,1236,672,644,1178,1756,1294,839,1412,1466,1292,1932,1324,971,1164,971,672,965,1288,1350,1410,1500,1798,1288,1284,1214,1234,1346,1354,1376,1032,675,733,918,908,728,630,457,352,310,768,1134,817,604,1076,1370,1274,1050,885,626,726,910,1260,1294,1106,1060,1180,1222,1324,1444,1378,1184,974,909,1040,1234,1266,1256,1412,1350,1322,1302,1400,1496,1482,1434,1340,1260,1308,1300,1322,1384,1458,1576,1518,1560,1598,1520,1258,1398,1454,1332,1302,1642,1586,1566,1552,1218,1120,1062,998,937,1000,1078,1032,975,905,1262,1256,692,921,1382,1520,1500,1590,1338,1017,1260,1376,1015,883,891,879,1094,1356,1234,1154,1060,929,1072,1408,1506,1218,1015,886,771,572,644,556,644,1050,1284,1428,1698,1654,1284,1136,1110,1013,956,1068,1130,1286,1332,1208,934,732,672,623,623,629,636,649,597,624,1066,1048,1160,1380,1372,1334,1432,1594,1498,1108,783,717,1102,1302,1246,961,951,1044,930,940,1122,1294,1328,1488,1632,1692,1398,1260,1230,1438,1202,1120,1078,1072,1454,1556,1052,858,1646,1428,1170,1340,1320,1208,910,688,869,1144,1232,1322,887,680,640,648,462,611,1052,1304,1452,1378,1020,1060,1466,1430,1204,1272,928,587,535,469,991,1230,946,808,999,1310,1642,1306,1240,853,657,764,998,1088,738,708,628,836,1472,1676,1458,1346,1268,1374,1424,1086,861,949,1058,1086,734,505,813,1094,980,1066,1408,1508,1280,889,1018,1222,1244,1382,1190,1058,1188,984,865,984,1001,1262,1470,1522,1542,1406,1328,1546,1454,1222,1184,1282,1332,1244,1432,1192,1230,1432,1438,1384,1238,1142,1206,1314,1212,1108,1106,1250,1324,1196,1048,1046,1030,1104,1154,1392,1456,1324,1354,1392,1250,1190,1242,1346,1432,1334,1120,905,695,924,1476,1716,1622,1554,1562,1614,1420,1490,1356,828,716,828,1080,1158,893,831,1232,1058,1028,1278,1310,1398,1616,1484,1248,1050,1460,1346,977,865,811,777,670,616,851,765,567,950,1370,1666,1000,590,569,447,739,800,686,677,1312,1188,909,1214,1436,1462,970,713,1070,1080,1228,1324,982,1146,918,1001,1206,1166,1614,1874,1700,1202,628,691,847,1066,1420,1240,1174,1384,1806,1824,1692,1556,863,452,669,755,577,279,256,267,318,418,495,682,952,655,373,544,796,1236,1286,612,550,405,405,320,412,862,1220,1240,1050,1070,972,591,706,1112,1040,869,1238,1316,1244,1032,806,570,554,554,855,1128,853,995,1160,1128,1021,1236,1274,1196,875,1314,1712,1484,952,616,678,922,1506,1344,1928,1908,1358,1452,1360,1306,1094,1246,1460,1298,1170,1366,1302,1128,1208,1414,1692,1632,1512,1438,1194,1142,1302,1272,1274,1300,1200,980,1028,1390,1218,1496,1200,1032,979,1138,1480,1470,1442,1546,1310,1214,1174,772,567,818,785,763,891,807,792,729,897,1242,908,905,1248,1162,1110,1278,1294,1450,1484,1244,1110,1058,1346,1258,990,1144,1242,1350,1488,1306,1362,1384,1148,1174,1366,1348,1328,1432,1166,976,1172,1230,1178,1152,1110,1282,1412,1354,1384,1320,1158,1412,1470,1360,1214,1090,1078,1168,1304,1290,1418,978,608,957,1056,870,861,897,789,1036,1222,1252,661,439,678,771,644,792,1220,1198,978,1094,1194,1058,781,872,959,874,1006,944,822,764,891,1120,1342,1080,1114,1628,1870,1742,1272,1052,1106,791,516,607,728,706,547,473,518,563,513,579,597,507,426,323,284,346,361,332,366,467,527,498,513,799,1186,1252,1136,1162,1106,1009,1232,1198,1368,1564,1338,1436,1484,1400,911,935,1122,988,1122,1182,1266,1116,1058,1214,1522,1138,1164,1242,1162,1009,1038,1206,1268,1024,991,1402,1328,1376,1188,1040,1022,1020,1134,807,916,1028,956,669,585,858,1278,1670,1198,1470,1304,818,553,697,1384,1448,1023,808,641,444,444,728,1376,1096,1050,1204,1334,1090,738,754,728,521,681,1016,1090,744,797,910,880,1070,1078,1036,1068,895,1082,1450,1548,1556,1094,797,494,440,868,1174,869,862,1742,1778,1320,1752,1262,746,491,559,516,623,652,877,662,529,651,915,1048,637,488,773,990,460,431,700,1560,1296,1124,1048,563,515,489,438,529,1178,1152,583,659,568,397,292,279,324,382,434,316,371,622,1058,1116,920,540,529,847,1048,1182,1208,1794,2522,2186,1674,1064,921,1422,1660,1176,764,714,857,1356,1736,1480,1248,1154,1044,1068,1126,1222,1004,1021,1024,1262,1156,996,1190,1086,967,1042,1230,1362,1390,1386,1224,1198,825,883,1130,985,727,581,953,1142,902,947,626,768,996,1536,1362,625,709,1110,1362,1610,1308,765,896,1094,1120,1090,1306,1184,945,692,937,1160,1164,1168,1232,893,611,948,1140,919,535,586,1196,1394,1598,1610,1158,873,1102,1466,1010,788,1028,862,1022,1268,1178,1472,1560,1422,946,631,631,694,1070,1816,1512,1260,1262,1166,1442,1748,1672,1470,1344,1554,1588,1320,1418,1488,949,790,1260,1492,1298,1176,1366,922,529,925,805,613,1010,1002,517,369,376,376,357,500,1250,1380,1092,973,772,870,808,755,821,885,842,750,616,526,595,697,930,1046,1116,1258,1126,785,869,1246,886],[321,298,383,355,431,1013,903,509,425,379,393,617,619,420,416,421,406,361,415,475,425,446,573,495,433,426,394,354,332,331,327,336,421,531,572,410,337,302,286,325,331,342,386,409,400,397,435,491,505,442,451,446,399,361,341,348,344,319,308,305,415,440,443,588,785,680,616,608,546,488,464,417,407,458,376,317,294,312,305,308,287,285,272,272,289,269,254,364,869,1013,787,753,750,783,835,861,739,803,1023,869,669,740,609,509,482,544,450,440,467,424,480,592,883,1284,1602,1370,1068,859,586,661,1056,926,719,566,447,402,392,335,317,339,397,459,456,677,814,1318,1406,1040,680,507,604,749,650,666,533,491,617,643,597,451,407,421,399,462,824,1372,1562,1452,1258,1082,932,1092,1102,955,828,589,473,541,670,1208,1494,1476,1230,1340,1396,1166,1062,1328,1368,1516,1470,1110,1028,1108,888,727,605,554,557,757,1052,1190,1256,1338,1066,670,630,630,711,1164,1040,716,533,551,705,1038,1450,1736,1538,1276,995,1023,853,780,848,949,953,668,477,465,451,425,453,606,1032,1388,960,1070,1560,1470,977,1044,1308,1050,883,1472,1820,987,408,375,373,397,643,916,1122,724,708,703,613,758,1028,1132,1054,940,1146,1282,1216,1120,977,657,594,698,802,672,456,386,350,357,346,343,345,361,380,622,866,1038,1136,1142,1110,1068,1098,1294,1452,1224,684,404,385,514,646,544,469,431,378,417,535,574,992,1288,799,697,1074,806,550,528,642,612,525,535,611,575,487,423,589,725,1236,1896,2028,2228,1550,900,1306,1756,1484,1312,951,521,640,622,489,498,785,1216,1248,1028,693,613,1216,1210,747,813,882,915,997,622,523,877,1332,1418,1340,1382,1344,1166,1068,830,657,535,506,481,813,749,454,417,667,990,930,1076,1350,1104,614,639,796,1126,1156,1130,908,687,764,863,984,945,1070,945,1274,1314,1242,1100,1390,1538,1212,904,832,841,718,610,938,1098,1026,1134,1484,1422,1042,1052,1432,1392,1017,855,814,844,1011,1026,1622,1676,1548,1600,1152,813,805,562,367,398,494,488,562,669,905,937,725,725,890,932,991,942,955,1082,1098,922,1302,1744,1678,1532,1588,1694,1694,1678,1536,1390,1372,1154,894,1170,1482,1434,1430,1566,1584,1594,1594,1702,1680,1574,1540,1584,1230,978,1136,1758,1896,1382,1144,1400,1432,1400,1164,1064,966,532,386,524,570,463,523,587,810,1058,1484,1216,796,739,607,703,1004,1206,1212,908,604,653,1023,1290,1630,1698,1562,993,910,1262,1218,1366,1640,1394,1060,623,740,1666,2402,2526,2442,2106,1576,1242,938,587,491,848,1048,1272,1406,1524,1390,1394,1068,600,544,1106,1702,1518,983,1356,1754,1772,1592,969,1252,1664,1670,1704,1832,1656,1526,1706,1680,1576,1742,1722,1588,1922,1786,1578,1592,1758,1914,1844,1246,712,738,1366,1580,1218,1280,1454,1518,1418,1070,1124,1404,1422,1276,1330,1118,976,1106,1252,1334,1386,1232,1192,1144,1182,1576,1542,1136,1378,1470,1260,1290,975,1166,1452,1298,1310,1372,1448,1646,1216,644,720,961,1112,1302,1400,1354,1260,1230,1100,965,1324,1536,1546,1448,1408,1432,1230,1394,1326,1174,1114,1192,1248,1340,1410,1134,1116,1134,588,626,1160,754,683,645,448,622,976,657,332,324,328,399,677,725,472,747,1022,1322,1328,889,433,672,857,651,753,838,549,552,509,507,514,557,791,730,691,1012,1190,1166,716,444,529,549,454,348,355,413,413,408,419,403,487,507,499,688,827,698,781,480,866,1448,2502,2634,1660,1086,678,604,844,574,564,801,749,489,368,462,971,1762,1556,743,694,1086,691,403,647,1018,904,852,539,381,309,632,694,462,437,570,955,1272,1030,803,544,613,1132,1172,1118,1186,1116,1460,1606,1236,881,702,1044,1584,1590,882,1015,1154,1300,1088,1128,1162,1158,1144,1124,1046,1172,1232,1328,1552,1544,1520,1434,1296,1100,1048,1224,1294,1414,1340,1074,776,941,907,596,596,514,433,488,801,1040,813,691,1040,1268,1290,1516,1088,796,601,596,913,1086,1048,1032,1196,1090,1017,1126,1086,1110,953,810,791,1078,1176,1148,1262,1294,1424,1664,1478,1308,1184,1256,1228,1252,1260,1064,1120,1112,1136,1282,1584,1738,1718,1568,1418,1554,1432,1416,1528,1888,1626,1148,976,988,820,908,1128,1132,1272,1074,805,850,827,1180,1382,877,743,1100,924,851,1368,1532,1356,1356,996,897,1172,1094,913,1216,1484,1424,1316,900,911,1636,1982,1750,1648,1558,1320,982,629,580,505,427,484,568,913,1392,1536,1570,1372,1126,1106,947,828,822,1152,1306,1216,1248,1164,785,867,867,680,599,610,535,671,1060,1050,1220,1420,1350,1392,1378,1114,1040,1009,911,899,1020,1232,1154,989,1110,1001,985,949,801,1094,1258,1430,1482,1316,1064,990,1118,1242,1276,1328,1290,1398,1550,1636,1370,1054,1338,1338,1338,1032,983,1238,1326,1084,637,599,675,1038,531,403,555,846,948,557,735,1130,1276,1100,1180,1352,1430,1098,783,936,1230,1116,841,594,806,929,784,863,1238,1764,1384,1240,1244,677,496,697,919,1188,1016,661,640,704,930,1232,1232,1246,1340,1516,1524,1240,1017,1024,1128,1306,1126,623,874,1092,1070,1008,946,1360,1336,1294,1324,1478,1660,1538,1208,1016,1104,1150,912,1168,1272,1348,1686,1542,1228,963,995,1480,1628,1300,1208,1356,1372,1438,1458,1290,1244,1508,1492,1226,1230,1116,1222,1466,1324,1192,1156,1334,1576,1540,1246,1104,1226,1276,1176,1246,1250,1130,965,843,1264,1246,1322,1290,1218,1378,1420,1013,645,932,1350,1646,1646,1262,1184,1562,1544,1316,794,541,601,888,1354,1622,946,1012,1616,1136,1250,1432,1140,1019,976,1176,1050,890,982,778,590,565,550,559,686,886,810,755,799,591,441,546,501,416,401,478,781,861,712,650,802,796,513,632,1294,1510,798,349,451,650,1012,928,1024,1076,1112,1180,1116,1180,2124,2148,1338,721,593,636,460,820,979,1208,1340,1172,1100,916,1150,1324,813,408,604,727,585,281,283,342,380,438,555,638,855,824,894,1450,1204,1370,1456,598,405,451,482,315,262,397,697,933,977,1100,942,554,818,1144,1116,1172,1300,1268,1352,1284,875,581,965,1120,827,1098,1406,1468,1150,1001,715,754,763,814,897,1360,1520,1124,888,1056,693,1044,1516,2168,2486,1574,1226,1116,1460,1606,1226,1294,1400,1328,1252,1014,879,1146,1166,1250,1384,1472,1598,1626,1436,1180,1040,1056,1274,1368,1384,1312,1300,1370,1142,1378,1372,1156,1208,1302,1380,1316,1348,1350,1212,1226,1246,1082,789,1060,1200,927,699,732,752,440,659,1174,1014,964,927,1120,1102,1208,1382,1542,1476,1230,1164,964,1264,1418,1318,1142,1178,1478,1434,1072,985,1260,1302,1308,1274,1136,847,1106,1078,1372,1554,1232,1118,1262,1158,1082,1516,1568,1084,1190,923,1206,1190,1184,1230,1164,1194,1262,1260,1210,1266,966,1070,1074,1170,1104,780,635,828,803,1036,870,521,729,1138,989,741,1110,1430,1422,1194,1018,996,922,889,1080,1048,1106,1154,967,996,850,977,1354,1444,1288,1700,1956,1848,1702,1434,1146,962,684,611,786,835,825,710,625,498,489,489,553,502,392,316,266,321,454,512,622,634,763,640,626,886,1070,1254,1376,1266,1220,1150,1222,1136,1260,1274,1186,1222,1208,1346,1450,1216,1226,1194,1080,1036,891,1126,1152,1190,1328,1352,1250,1376,1464,1262,1092,1064,1023,971,882,1038,1526,1328,1202,1302,1124,838,954,863,643,875,979,938,609,773,1310,1556,1514,1336,1368,1266,892,529,593,861,905,827,766,433,341,433,559,988,1322,1282,1478,1636,1094,824,766,903,604,667,774,965,1560,1286,873,1120,1180,1140,1310,1476,1192,1234,1516,1418,1380,1468,901,513,545,946,1252,952,1094,1510,1494,1378,1618,1072,824,525,320,466,528,678,1021,751,506,519,642,1132,819,574,933,659,354,380,532,1030,1192,1220,969,634,577,579,418,336,588,570,623,771,635,439,286,289,295,334,327,254,331,647,1112,1276,1198,946,828,990,1324,1698,1924,2578,3074,3220,2120,1308,1118,1486,1470,1452,1230,899,830,1042,1312,1286,1344,1436,1730,1448,1136,1148,1116,1296,1280,1462,1362,853,902,902,836,1070,1222,1238,1400,1356,1136,971,874,1124,1356,1686,1452,678,678,1262,802,717,583,576,1062,1072,618,476,618,868,1312,1642,1296,937,1156,984,951,857,992,1204,1114,1050,1288,1360,1038,973,1062,879,885,971,1138,1120,934,932,1136,1322,1252,918,1062,1090,711,1100,1210,758,913,553,689,990,1362,1792,1756,1412,977,832,706,766,1078,1230,970,1222,1400,1288,1162,1404,1494,1182,1166,1356,1644,1780,1962,1400,1028,1003,955,796,854,1168,1298,828,880,1234,767,571,742,617,474,398,449,469,368,659,1150,918,1154,1412,1392,1204,1132,962,885,907,1096,1076,720,508,518,616,858,1248,1394,1460,1572,1106,705,782,672],[309,382,415,362,388,763,767,455,402,507,514,569,664,507,426,430,403,303,415,463,439,450,437,435,454,422,367,326,329,331,338,303,397,527,558,430,375,312,298,321,348,380,391,362,343,372,447,485,492,492,475,414,365,364,388,366,375,347,323,323,463,647,667,630,749,787,840,854,658,497,472,428,444,407,347,297,279,316,302,279,272,275,275,272,283,256,304,461,1138,963,737,732,708,736,744,724,610,636,1120,1268,1240,1340,1066,728,617,522,400,458,505,402,345,438,705,1148,1736,1190,1578,1316,761,914,1198,987,810,791,822,763,561,347,309,300,357,386,381,364,431,575,584,554,527,508,553,694,587,518,414,441,520,570,488,386,386,590,1256,1384,1108,1332,1392,1366,1138,1088,976,1040,1158,1498,1434,1013,1074,1164,1120,1380,1360,1382,826,1032,1460,1158,963,1212,1384,1308,1130,1154,1066,1094,808,820,599,529,658,855,1034,1158,1230,1238,968,552,534,598,732,938,720,662,593,670,886,944,1282,1364,964,1048,857,994,880,741,676,844,880,647,469,430,423,405,430,644,1134,1428,1236,1722,1980,1284,896,1450,1732,1340,933,945,720,484,492,500,455,422,388,510,642,602,700,756,620,700,934,666,655,655,720,888,1126,1170,982,741,675,683,644,574,415,346,338,334,335,336,342,327,375,686,822,990,1234,1210,1284,1226,1094,1490,1240,700,362,341,545,818,647,402,477,466,436,507,662,645,666,808,841,1212,1404,1422,1056,592,663,601,544,491,495,587,796,753,647,562,565,646,1198,1506,842,536,705,1296,1306,1210,1194,1021,1538,1358,935,1072,1268,1050,888,956,975,955,966,550,552,1160,1432,864,562,527,497,878,1248,1332,1454,1268,1250,1194,1100,703,503,495,461,447,777,792,547,602,840,910,1092,1624,1416,1140,1004,1174,1472,1550,1100,987,1072,808,720,777,912,904,1152,1016,818,841,772,849,1428,1764,1344,786,662,697,828,1072,1036,800,990,1260,1332,1094,694,761,1166,1332,1262,1272,969,823,838,1066,1380,1124,1272,1448,1318,1454,1362,636,359,436,747,927,866,1052,1024,852,644,628,887,1114,1150,1060,1078,1172,1236,1082,1296,1738,1554,1330,1486,1240,1246,1526,1490,1430,1358,883,563,711,959,1192,1370,1584,1674,1722,1576,1452,1750,1770,1522,1376,1192,1272,1532,1978,2026,1904,1470,1226,1210,1100,783,860,940,489,596,1290,1198,1078,779,423,711,1260,1774,1776,1614,1556,983,932,1296,922,1106,797,526,783,1376,1644,1714,1714,1140,605,1192,1380,1572,1544,1374,1054,1202,1030,834,1384,2200,2532,2348,1770,1316,814,850,956,644,867,1096,1336,1492,1504,1466,1196,737,517,577,913,1656,1652,918,1202,1698,1726,1674,982,931,1654,1792,1616,1794,1770,1584,1592,1352,1226,1344,1482,1508,1804,1848,1726,1756,1866,1994,1578,788,466,714,1108,1150,1023,1078,1222,1322,1182,1048,1232,1350,1196,930,1184,844,1224,1658,1158,1288,1760,1604,1116,942,1498,2026,1106,893,1268,1372,1390,1180,901,842,785,801,1292,1490,1290,1072,1104,762,828,991,1136,1176,1222,1170,1118,1346,1298,920,995,1206,1250,1364,1460,1005,835,1056,1032,1224,1708,1630,1660,1660,1300,1350,1114,1394,755,563,1102,825,584,500,421,1028,1438,588,357,346,469,607,537,739,751,972,1382,1432,1252,1096,747,858,1023,1218,1230,1378,752,523,575,550,526,512,568,573,549,694,835,722,551,407,576,672,573,507,494,538,558,623,657,516,417,431,429,506,576,554,733,534,851,1780,2454,2402,1746,1304,714,595,1014,1017,611,656,773,595,412,356,898,1550,1198,525,697,1146,577,364,537,845,606,635,1182,1086,527,547,684,463,521,828,1030,705,559,1022,997,1152,1570,1290,697,857,1164,1046,931,902,1152,1620,1782,1410,1276,753,772,877,1174,1274,1404,1888,1544,806,720,902,1102,1154,1142,1312,1576,1706,1614,1386,1088,1036,1286,1322,1166,976,1114,1021,964,810,725,899,689,779,1210,1166,945,590,577,858,1244,1458,1522,1148,922,979,1017,688,702,752,691,957,872,651,937,1114,922,549,461,539,578,570,763,955,880,1390,2824,1368,1174,1198,1378,1418,1272,1074,1084,1164,1152,1216,1334,1428,1574,1542,1618,1448,1366,1498,1634,1428,1232,1202,1009,1000,1126,1084,1120,1186,1266,1250,1014,796,815,930,1362,1538,937,495,728,946,937,1332,1566,1354,1332,1044,1132,1674,1494,1314,1332,1190,1324,1292,816,1148,1402,1962,1980,1908,1874,1864,1598,1168,788,630,556,505,440,487,491,806,1498,1620,1358,1156,1136,1030,809,1108,1690,2236,2292,1860,1404,1632,1632,954,654,713,540,739,1001,1009,1284,1216,1006,992,1272,1112,1346,1260,1248,1260,1202,1410,1238,1068,1001,747,1004,969,650,649,1044,1310,1294,1144,1208,1414,1400,1248,1368,1328,1322,1608,1584,1678,1460,1274,1376,1412,1200,1060,1268,1400,1438,1320,676,468,915,1222,886,702,851,1908,1808,691,628,1019,1280,1056,1010,918,1056,1106,1156,1110,881,1122,1266,1036,779,873,922,1172,1416,1776,1618,1360,1118,959,796,841,860,1008,1074,725,640,704,659,1034,1294,1434,1500,1532,1532,1368,1226,1204,1396,1428,1354,874,797,843,962,855,912,1360,1682,1848,1824,1644,1426,1060,999,916,879,1332,1034,1086,1510,1712,1460,1172,1208,1017,949,1306,1678,1492,1618,1372,1240,1306,1364,1406,1304,1516,1544,1344,1266,998,1110,1350,1318,1138,1102,1194,1432,1398,1218,1194,1216,1256,1182,1138,1136,1017,860,895,1290,1360,1280,1304,1388,1422,1614,1448,960,1028,1062,1348,1516,1546,1198,1220,1602,1064,360,401,486,756,1010,1126,839,528,955,1212,1360,1316,1324,999,742,882,903,716,893,740,527,509,497,569,601,1024,1034,826,688,591,498,817,1204,912,472,580,775,788,546,625,880,666,451,713,1140,905,584,402,419,461,765,1126,1366,1418,1562,1556,1142,1244,2050,1858,926,626,510,502,610,1200,979,1234,1422,1056,1168,1034,820,680,548,404,438,513,397,330,275,280,378,529,482,392,766,950,760,1224,1009,579,695,529,626,683,477,325,322,346,471,736,841,946,933,517,741,822,1017,988,863,1044,1260,1332,1186,1090,1690,1808,783,696,1344,1414,1094,1120,915,480,843,1414,1082,1138,1164,858,946,1694,1136,1078,1686,3288,2084,938,1074,1120,1694,2090,1588,1400,1786,1540,1248,800,561,445,769,1042,747,939,1256,1332,1394,1402,1492,1384,1538,1624,1802,1750,1514,1304,1226,1504,1554,1238,1360,1516,1274,1228,1326,1092,1058,1196,1310,1330,945,801,1018,1078,1170,1074,991,486,584,991,1314,1484,1406,1390,1260,1252,1370,1440,1550,1434,1462,1252,1334,1582,1360,1144,1324,1362,1344,1260,1224,1338,1286,1348,1296,922,913,1476,1510,1482,1402,1188,1118,1210,870,681,1262,1192,1210,1270,1064,1178,1262,1530,1422,1370,1272,1198,1248,1180,1146,889,1102,995,1034,1120,891,931,944,786,579,477,515,926,1118,736,875,1134,1356,1372,1266,1266,1064,919,1120,1216,1030,1224,1250,1506,1556,1242,1274,1186,1498,1848,1750,1694,1770,1618,1156,742,755,943,933,1108,1022,896,760,695,668,625,576,503,491,533,469,362,401,484,635,838,888,870,861,1128,1260,1240,1450,1366,1234,1200,1210,1260,1158,1190,1160,1178,1316,1248,1240,1262,1314,1324,1348,1426,1274,1070,977,1146,1266,1260,1132,1200,1380,1302,1174,1138,1110,907,907,931,1005,1042,1068,1362,1378,1194,893,698,547,746,1140,1120,775,795,888,1240,1462,1234,1108,1316,1162,760,692,613,548,566,516,409,360,373,447,501,537,916,1206,1400,1484,1360,1476,1322,1208,865,897,817,1538,3066,1958,1021,1384,1400,1074,921,1142,1370,1392,1392,1366,1708,1768,808,437,611,1392,1972,1168,779,918,1324,1584,1190,911,969,668,342,535,859,1112,1122,679,379,350,383,838,1106,733,625,697,655,714,857,960,1130,897,571,565,583,552,412,431,556,596,813,917,642,434,258,286,311,265,251,280,631,1126,1440,1646,1570,1446,1322,1048,1270,1870,1604,1886,2792,3608,3028,1886,1222,1160,1202,1404,1322,1028,1007,821,1114,1680,1696,1500,1974,1842,1298,1236,1172,1090,1324,1736,1676,933,833,1106,1292,1492,1504,1536,1382,1180,767,474,754,1021,1088,1284,1354,1142,520,897,973,1016,897,596,462,384,363,429,644,625,832,1094,1126,978,963,1088,1312,1320,1324,1470,1306,982,906,1328,1012,1048,1444,1350,1386,1256,1252,1168,1130,1238,1316,1244,678,807,869,788,740,1024,1248,1272,1644,915,602,714,1062,1490,1406,1010,883,896,711,705,729,1023,1290,1066,1168,1222,959,1001,1186,1238,1426,1738,1934,2002,1864,1412,760,1084,1514,1232,716,738,872,918,1244,1172,891,833,938,499,416,659,654,455,443,916,1172,893,1382,1586,1696,1296,1192,1180,1244,1268,1360,1322,867,558,609,617,946,1438,1526,1592,1662,1342,1210,1066,668],[348,379,371,349,352,486,520,417,476,560,603,574,681,559,451,409,415,333,390,431,447,457,453,462,448,416,389,380,361,322,315,286,317,423,405,358,356,315,316,309,298,313,321,346,363,361,397,434,439,458,427,379,383,410,399,402,365,352,334,346,457,765,799,795,900,877,1132,1116,773,667,552,429,435,321,269,271,271,291,297,290,274,265,268,270,293,291,318,617,1186,922,683,716,737,755,755,707,613,487,600,525,691,1340,1416,1466,1396,895,561,452,532,434,345,245,304,517,904,681,1036,1296,1246,1330,1242,827,927,1044,1216,1206,810,429,334,313,310,312,301,232,261,406,474,487,471,494,628,637,514,459,393,436,478,451,393,413,386,533,1298,1512,1268,1288,1656,1334,754,725,751,821,905,997,1264,1106,1282,1730,1704,1640,1512,1346,1048,1070,1148,941,827,926,988,894,836,1070,1172,1234,1052,968,713,653,766,877,1028,1142,1148,1204,1026,683,788,1108,1462,1268,846,720,648,582,613,836,1430,1802,1306,1188,1134,1102,1112,805,1032,1586,1346,718,532,457,426,414,444,686,1260,1384,1372,1542,1618,1250,947,1034,1001,952,852,1258,863,653,625,603,521,458,410,499,602,634,689,688,611,643,910,655,601,587,564,786,1422,1530,1200,1090,1136,1070,558,544,412,350,346,332,317,328,351,321,464,749,886,1234,1420,1488,1154,1116,1044,957,581,365,344,320,382,535,541,447,393,414,601,591,775,691,661,760,1044,1534,1898,1982,1296,646,637,609,558,502,404,487,886,1058,993,843,672,598,812,700,579,669,767,886,1180,1346,1428,1422,1492,1162,1166,1480,1380,897,565,516,778,986,963,615,664,1090,1260,741,424,396,439,714,1000,1250,1088,772,673,678,912,1136,982,686,556,463,910,1308,1272,1130,1368,1644,1576,1204,900,1196,1362,1354,1596,1456,940,885,1286,939,924,1048,1016,897,952,781,647,801,967,1013,1132,1170,1122,964,854,845,618,600,554,699,831,1054,1052,742,944,1120,1166,1294,1322,1244,1004,860,769,1022,1202,1084,899,843,1002,1150,959,493,412,663,1054,1094,1176,1518,1278,1122,1176,1144,1242,1388,1346,766,811,849,692,612,1020,1996,1934,1784,1660,910,677,1066,1418,1392,1044,593,402,414,511,933,1344,1608,1728,1714,1432,1228,1874,1976,1672,1532,1622,1590,1302,1174,1414,1808,1774,1402,982,666,611,800,1084,986,932,1152,1180,1240,827,594,602,877,1526,1470,937,1398,940,780,1316,925,457,435,808,1328,1846,1888,1726,1628,1060,790,1300,1346,2098,1750,1406,1382,1396,1450,1082,812,1414,2448,2310,1642,1098,735,1058,985,719,709,974,1208,1176,1356,1606,1060,731,462,502,767,1482,1576,926,1064,1562,1726,1732,1220,921,1592,1764,1522,1764,1926,2134,2006,1442,1290,1240,1348,1484,1622,1714,1630,1782,1864,1720,1058,685,529,1017,1622,1454,1208,1178,1006,1134,1036,799,1196,1244,1210,980,1046,889,1242,1336,954,1062,1492,1194,842,939,1660,1758,1220,1338,1196,1172,1090,850,906,1114,1017,872,1356,1536,1184,905,1016,1210,1152,847,786,1023,1196,1090,850,811,968,985,1270,948,1013,1352,1352,982,1022,1376,1244,1448,1632,1432,1438,1160,830,1534,1464,1492,937,764,903,579,670,879,564,801,1344,562,411,535,779,698,478,809,1082,1134,1248,1222,1300,1068,1156,1228,909,883,970,1172,771,501,511,494,491,509,520,520,489,473,525,441,423,405,514,557,591,588,489,525,642,809,796,563,424,451,456,465,457,482,682,571,714,1638,2386,2962,2316,1772,1068,789,1134,1158,721,705,870,626,465,698,857,990,735,683,1116,1458,660,402,505,755,652,679,1246,1384,908,460,527,428,780,1188,872,502,607,639,799,1212,1686,1578,924,630,1034,861,593,907,1122,1834,2004,1278,955,680,868,857,961,1412,1284,1330,1302,808,785,1136,1278,1364,1268,1260,1346,1504,1406,1190,1214,1286,1268,1434,970,1054,1058,1106,1228,966,937,946,587,904,1690,1506,1556,916,586,557,816,1158,821,731,786,1009,1172,648,840,1009,978,908,930,933,1120,1424,1432,839,452,468,648,1062,1186,1074,965,1454,3472,1622,1098,1216,1328,1366,1168,823,791,1016,1234,1456,1400,1244,1328,1388,1432,1578,1506,1506,1696,1642,1158,896,1118,1178,930,785,1016,1174,1226,1288,1034,852,1052,1316,1478,1350,971,573,875,1298,1444,1438,1136,1066,1474,1526,1524,1670,1786,1902,1754,1632,1526,1042,978,1484,1588,1696,1656,1606,1768,1896,1856,1738,1430,1026,765,629,568,486,453,452,1084,1388,1428,1398,1208,1166,1140,1090,1730,2164,2024,1648,1854,1992,1904,1256,1032,1178,757,720,876,915,1114,858,902,858,992,1432,1570,1168,1190,1246,1534,1504,1382,1294,1074,985,980,764,605,554,628,844,1054,1306,1904,2460,2292,1584,1240,1186,1338,1476,1614,1334,856,1160,1662,1554,1200,1302,1698,1646,1322,1082,580,484,1018,1346,1466,1488,1426,1418,1106,1030,1130,1268,1386,1190,818,663,977,894,1015,963,651,854,1007,1230,1216,969,1134,1466,1384,1490,1578,1166,874,1004,1030,948,763,837,950,1003,695,749,622,884,1368,1566,1584,1626,1400,1268,1310,1122,1296,1316,1292,995,855,729,719,874,977,1254,1522,1686,1650,1030,968,1017,1134,1024,757,1078,1210,1314,1446,1266,1224,1812,2170,1432,991,1138,1746,1602,1202,1144,1304,1438,1488,1502,1506,1498,1476,1562,1222,957,1306,1494,1508,1222,1044,1144,1226,1232,1342,1306,1120,1080,1192,1166,1236,1176,1064,1086,1286,1462,1246,1366,1728,1530,1394,1448,1114,1028,1224,1384,1440,1926,1904,1826,1756,925,526,432,398,404,523,569,694,592,643,1108,1282,1454,1726,1706,1340,849,960,1214,1200,1044,860,804,836,941,750,536,778,1048,780,838,517,803,1238,854,475,511,626,468,421,929,1204,698,577,664,969,702,805,551,412,431,706,1144,1258,1506,1714,1360,920,841,1074,1412,922,680,561,332,699,1160,1124,1640,1464,850,1056,1188,1060,703,467,467,372,290,272,308,323,296,360,558,538,413,538,706,501,940,999,540,345,375,721,831,615,536,691,557,418,456,659,698,511,358,753,736,828,886,785,977,827,843,1342,1378,1572,2084,1282,823,1094,1294,1210,1009,730,405,731,1234,883,1001,799,849,1228,1350,1116,865,883,1094,808,747,1003,1214,1338,1698,1422,1374,1426,1104,1058,913,644,421,729,909,632,682,1208,999,755,738,978,1244,1460,1542,1560,1612,1716,1682,1744,1904,1786,1412,1276,1428,1556,1326,1208,1582,1758,1290,1262,1310,1042,1216,1110,895,953,1166,1328,836,1040,1124,1390,1816,1596,1378,1334,1388,1248,1188,1328,1534,1366,1276,1324,1226,1086,1180,1232,1168,1246,1382,1554,1440,1400,1392,1254,944,1204,1500,1396,1304,1312,1400,1310,1314,1001,985,1009,969,1294,1144,935,944,1324,1478,1266,1354,1302,1266,1054,1124,1174,1116,974,1084,1180,908,764,802,936,1154,775,393,570,988,855,824,1030,927,994,1206,1266,1366,1384,1306,1782,1766,981,1036,1416,1808,1534,1368,1184,1086,1434,1414,1180,1162,1144,808,530,461,643,890,869,905,880,810,795,793,706,657,690,636,547,472,517,505,497,433,542,643,854,952,954,1226,1198,1206,1318,1332,1196,1130,1284,1306,1274,1210,1146,1228,1416,1224,1088,1074,1342,1210,1164,1442,1404,1210,1216,1216,1176,1144,1112,1010,947,1190,1426,1260,1222,1023,940,1084,1088,876,702,556,699,744,653,662,720,961,1338,1202,667,347,529,1070,1410,1058,978,1194,1146,1042,1244,1506,1064,901,634,433,402,407,469,561,615,721,1018,1462,1426,1382,1208,937,1019,1158,1252,1140,1216,1120,733,947,1014,1160,1094,920,1162,1448,869,741,1038,1640,1554,803,410,547,1128,1362,1011,824,1202,1442,1456,949,814,877,711,505,414,719,957,940,623,319,332,398,633,1068,1118,1168,1152,955,760,747,977,1094,766,623,493,422,461,458,490,570,604,877,1009,800,455,280,311,367,306,287,266,331,438,774,1290,1650,1654,1444,1126,970,1630,1654,1688,2340,3230,3296,2108,1074,889,1620,2218,1842,1182,1154,1124,1518,1914,1774,1484,1622,1644,1410,1110,813,919,1578,1624,1468,1350,756,799,1364,1524,1484,1404,1009,796,405,383,658,1024,1050,1236,1430,1152,434,714,1158,1292,1019,789,657,547,481,833,1005,655,543,641,1152,1026,713,1002,1506,1422,1352,1418,1534,1558,780,973,1112,1344,1332,1420,1610,1326,1354,1236,798,971,1482,1488,964,1460,1146,1246,1394,1622,1664,1802,1820,1126,539,448,706,904,868,732,774,711,697,647,761,1130,1294,1312,1232,1038,978,873,904,1272,1472,1754,1874,1548,1428,1170,775,923,1412,1548,1450,1244,993,817,1098,1372,1396,1504,1108,502,544,901,871,543,543,1242,1424,1254,1388,1544,1504,1160,1260,1216,1176,1248,1242,1244,1156,938,885,941,1336,1500,1542,1560,1396,1302,1428,1218,602],[378,386,476,481,378,494,832,803,843,711,564,498,640,569,466,356,336,359,368,417,440,410,424,428,416,428,436,422,355,315,290,261,303,414,432,336,348,321,299,265,251,261,278,286,339,372,368,377,364,403,396,358,405,437,406,369,346,360,356,358,498,793,957,852,921,874,1254,1132,897,833,598,463,404,298,262,259,266,281,296,317,299,271,265,260,282,341,370,844,1148,719,589,634,699,651,674,631,540,408,417,490,597,934,1260,1648,1752,1588,1518,1238,732,519,341,244,269,253,295,382,439,644,984,1372,1066,559,497,530,690,890,601,405,361,317,318,330,296,254,313,443,453,478,456,471,647,547,420,386,368,427,390,364,379,410,416,389,705,1068,1160,868,1208,985,479,374,328,524,648,820,1010,1070,1078,1762,1640,1466,1420,1210,1003,995,955,822,660,641,833,845,982,1110,1174,1058,1028,1078,929,846,768,788,935,1038,1096,1194,1018,714,791,1042,1164,1042,830,639,628,529,529,661,1156,1158,800,1022,928,865,973,774,1036,1506,1228,857,547,492,428,382,403,633,1009,969,772,929,1404,1582,1382,1168,546,840,1022,1396,928,585,612,678,644,501,482,477,539,505,592,603,564,563,874,711,516,539,543,1066,1660,1438,1140,808,1210,1490,1246,874,567,409,350,311,303,322,333,347,583,924,964,1368,1246,1274,734,745,766,506,358,339,351,359,358,415,397,486,482,638,902,871,805,653,652,623,771,1356,2010,1570,923,579,589,590,561,513,411,361,502,803,1128,1194,1001,730,828,478,709,1038,1058,863,825,1062,1438,1372,1062,1120,1432,1178,990,973,845,710,494,609,780,933,805,720,621,477,474,533,464,548,878,1166,959,607,521,584,933,1406,1150,777,948,826,871,1466,1450,1108,1498,1516,1256,1092,1130,1164,1074,1114,1068,779,1280,991,708,751,1296,1542,1354,1172,955,685,716,1017,1426,1334,1450,1690,1522,1086,825,570,400,433,673,845,975,1302,1226,899,1410,1528,1046,731,901,1128,956,847,886,1036,1340,1414,1214,923,1198,1054,569,419,375,639,806,734,1360,1972,1656,1496,1484,1246,1094,926,636,427,600,550,484,484,1080,1720,1508,1230,1222,1202,918,917,1005,759,505,483,414,384,541,948,1322,1576,1690,1568,1290,1492,1844,1730,1470,1328,1274,1156,919,781,821,911,1284,1532,1384,940,597,537,792,1174,1192,1005,1082,911,540,848,1004,1440,1626,1672,1666,1614,870,574,1011,1090,745,869,1048,1278,1814,1998,1706,1372,696,882,1548,1974,2248,2236,2026,1494,1180,1294,713,549,1018,2430,2416,1728,1004,669,705,1030,927,556,714,930,576,692,935,749,850,474,563,585,1001,1512,1126,959,1476,1642,1654,1456,1036,1398,1614,1608,1770,2092,2216,2106,1766,1488,1460,1464,1556,1850,1854,1670,1678,1782,1234,1176,1202,717,811,1440,1488,1250,1306,1138,1306,1228,862,863,1268,1364,959,910,1084,1236,1058,780,800,1034,827,966,777,1212,1080,1056,1274,1256,1378,1428,1124,703,1146,1358,1486,1322,1322,1030,1242,1290,1184,1002,824,1074,1078,1108,1194,909,999,1034,933,1092,918,1040,1224,1288,1386,1678,1632,1496,1432,1400,1538,1210,661,675,1026,1000,1170,1118,843,831,651,968,1314,954,752,817,754,692,814,985,625,483,911,1110,1028,1274,1476,1578,1332,1470,1494,837,612,1334,1594,832,519,510,460,415,481,533,530,581,563,544,490,427,458,465,409,399,400,367,415,452,624,546,435,440,465,484,472,478,447,489,518,689,1210,2110,3222,2452,1288,841,991,1144,1072,783,741,821,549,582,1028,830,663,525,844,1190,1050,566,444,464,811,926,790,1218,1362,701,413,589,844,852,867,908,1108,855,488,513,891,1422,1390,1158,685,857,1100,838,897,874,1198,1378,1010,794,1094,1152,716,737,1224,993,1274,1488,1092,1162,1394,1358,1248,1196,1242,1362,1422,1442,1488,1392,1240,1230,1308,916,835,904,1184,1096,844,1178,1060,646,590,850,1130,1664,1448,1080,604,633,624,514,781,834,1132,1366,897,1088,1130,1100,1002,871,985,1166,1252,1306,899,389,653,993,862,918,951,1150,1036,975,954,1154,1256,1006,985,1078,860,624,933,1318,1350,1360,1182,1206,1298,1372,1482,1480,1496,1458,1076,962,974,1144,1104,872,839,926,897,1017,1208,1144,1228,1294,1034,912,847,959,1228,973,855,891,970,961,855,1224,1730,1610,1420,1624,1746,1506,1688,1522,1028,974,1238,1478,1610,1598,1482,1464,1622,1728,1884,1910,1738,1336,984,717,593,581,521,654,1003,1438,1610,1520,1362,1356,941,1298,1678,1710,1412,1248,1042,949,816,969,1256,913,1036,1005,747,840,999,1166,1350,1432,1440,1320,1394,1312,1218,1520,1560,1472,1350,1244,1034,759,661,562,600,737,794,966,1494,2198,2564,2562,2312,1694,1162,968,1030,1068,791,742,1128,1518,1342,1418,1410,1622,1420,1230,767,526,1116,1446,1128,1282,1448,1344,1172,980,1312,1360,987,1222,1234,871,757,992,892,771,682,867,807,1007,955,1030,1366,1644,1718,1444,1074,947,836,969,1102,1070,962,786,827,905,1224,948,808,659,725,1176,1502,1458,1516,1480,1312,1350,1272,1360,1452,1410,1186,841,545,810,1160,1242,1318,1480,1638,1490,1013,1096,1210,1272,1200,858,969,1418,1512,1130,925,1582,2214,2056,1676,1224,1146,1510,1652,1394,1338,1484,1328,1428,1598,1522,1144,915,1206,1508,1336,1532,1666,1502,1262,1074,882,1034,1432,1352,1440,1176,1212,1270,1344,1352,1282,1202,1040,1168,1394,1432,1386,1458,1252,1250,1428,1252,1408,1562,1432,1434,1708,2050,2266,1666,734,529,412,375,371,388,670,858,1034,1306,1448,1482,1434,1616,1644,1616,1334,1204,1236,868,600,739,940,1090,1472,1498,872,833,1260,1172,1190,748,878,800,664,913,1184,1160,1120,780,678,955,609,440,452,843,1134,1148,684,417,473,893,1288,1130,1110,1084,730,551,566,705,861,803,935,738,397,907,1368,1168,1238,1172,1076,775,626,1042,1086,860,669,481,317,293,316,329,256,372,700,755,593,410,542,571,477,470,540,466,579,989,877,754,768,1042,797,435,382,748,857,608,639,1040,1216,1202,1168,1248,957,749,937,1330,1390,1460,2148,1644,958,999,1032,809,572,441,343,350,497,766,938,620,543,875,842,796,938,1156,1176,685,542,957,1214,1021,1202,1218,1376,1248,1008,843,635,529,374,650,966,850,516,1052,976,747,772,830,1036,1222,1212,937,1038,1298,1204,1328,1466,1506,1616,1456,1416,1444,1284,1262,1802,1888,1390,1372,1056,942,1242,933,927,1252,1440,998,842,1196,944,1208,1492,1238,1542,1402,1310,1516,1506,1252,1356,1428,1254,1112,1078,1044,1104,1216,1078,1106,1278,1436,1310,1372,1392,1186,1120,1302,1528,1542,1310,1296,1494,1354,1510,1628,1346,1009,1108,1198,1170,972,733,898,1182,1338,1408,1604,1542,1172,1188,1234,1176,1180,1356,1204,858,644,549,792,1104,673,427,670,611,697,1020,1168,1192,1204,1230,1066,1176,1234,1362,1454,1104,869,961,1226,1428,1442,1162,839,984,1002,757,698,789,533,345,345,402,596,706,762,767,764,869,924,863,766,664,630,597,549,480,423,484,535,408,376,659,868,752,771,791,987,1516,1418,1206,1170,1186,1272,1370,1280,1248,1152,1238,1326,1262,1254,1294,1494,1198,932,1114,1284,1376,1202,1186,1274,990,863,825,623,1001,1272,1284,1250,1266,1198,1178,869,526,438,414,376,357,470,520,858,1194,1356,857,410,381,605,1318,1508,1308,1294,859,839,1284,1832,2098,1398,736,509,478,562,677,709,716,869,881,940,1306,1418,1102,779,786,1064,1158,1230,1204,1074,857,610,722,807,1044,1086,1148,1470,1444,949,608,547,733,1012,1044,686,497,585,599,824,854,1136,1288,1036,875,885,637,670,595,369,401,598,884,532,309,350,397,585,798,778,512,766,714,896,790,847,697,771,993,788,507,525,524,547,593,681,1098,1015,936,479,327,320,391,388,335,348,310,298,361,590,894,1012,1166,1268,1104,1302,1526,1820,2092,2634,2784,2040,1562,1138,1488,1980,1760,1288,906,1262,1714,1754,1542,1656,1744,1672,1092,837,1018,972,1262,1202,1432,1526,1350,1048,1023,1290,1654,1256,502,415,347,304,277,548,530,720,1023,733,353,531,943,807,596,825,924,648,582,648,728,597,462,379,740,791,609,1023,1378,1350,1290,1008,1500,2004,1210,1188,1304,1350,1256,1472,1290,866,943,1094,630,689,1538,1560,1428,1752,1426,1148,1286,2020,2112,1590,1454,1158,666,557,546,665,615,682,775,702,676,811,914,864,1046,1302,1274,1024,1344,1112,860,1072,1002,1324,1484,1346,1320,1334,1422,1446,1738,1388,1144,1576,1572,1560,1288,1040,1060,1120,724,361,636,914,865,692,890,1334,1846,1850,1450,1254,1416,1416,1284,1388,1274,1164,1084,1250,1174,1076,1172,1226,1318,1434,1376,1374,1310,1152,1138,1028,687],[379,523,599,529,404,610,1072,1172,1242,752,493,433,572,606,425,307,342,343,335,391,412,406,410,388,386,430,436,400,328,303,325,316,310,377,458,364,336,290,262,266,290,288,281,259,300,354,363,367,369,422,435,414,426,439,406,368,364,373,366,375,451,733,1056,863,924,855,1254,1164,912,749,556,478,366,287,265,251,267,293,333,362,369,301,255,248,252,250,353,933,1168,610,595,543,574,559,580,537,568,615,490,511,702,697,1158,1788,1726,1488,1540,1838,1822,1172,519,258,299,246,257,248,250,320,465,1015,856,593,547,464,422,467,462,459,349,301,316,318,322,344,390,432,455,464,524,514,595,655,650,603,521,561,585,658,583,544,612,509,469,727,730,456,467,474,400,338,285,535,800,969,727,874,881,1015,1184,1382,1378,1150,944,1138,1200,922,1226,1274,1434,1168,1246,1230,1044,980,924,1003,902,748,665,665,832,883,970,1088,1009,690,404,400,545,741,695,540,538,441,451,447,920,1410,1700,1514,940,590,628,660,928,1544,1538,1112,648,490,459,434,430,725,980,861,825,1072,1456,1614,1510,1360,713,904,1406,1748,1042,553,606,621,793,1028,1220,656,679,727,652,618,761,766,937,944,723,636,688,1148,1166,936,1528,1362,1306,1616,1476,1198,774,375,310,321,311,322,339,429,735,1056,963,1206,1074,1154,849,586,433,357,356,353,357,392,370,385,386,410,636,718,624,683,607,619,702,731,707,902,1076,955,855,741,766,745,550,373,402,412,317,444,938,1328,1140,899,824,939,991,953,969,1064,841,948,1368,1082,843,1380,1462,1064,1004,1310,2244,1404,604,661,586,581,607,760,745,591,668,720,823,731,728,1003,880,593,542,629,970,1328,1438,1348,1382,1310,1040,1232,889,653,1007,933,824,1070,1246,1460,1122,741,892,714,1009,709,484,570,889,1222,1374,1348,1022,792,854,1020,1056,1242,1560,1636,1378,1250,817,375,509,676,744,675,702,800,812,686,1148,1152,710,582,971,1324,1292,1226,873,780,993,1222,1066,1114,1874,1764,822,439,521,576,488,493,752,1144,1372,1530,1404,1222,1240,1236,647,559,733,639,506,463,692,875,1228,940,767,1230,928,1060,1346,846,481,490,442,383,499,881,1402,1644,1716,1576,1108,1616,1640,1166,1188,1434,1506,1360,1230,912,729,824,749,1042,1310,1342,1056,712,516,818,923,604,676,846,585,943,1005,1856,1274,979,1282,1836,1688,1013,517,531,1040,1648,1772,1716,1554,1654,1644,1210,935,1266,1802,2220,2426,2476,2040,1036,676,750,698,666,1366,2254,2148,1610,1254,941,932,1290,962,460,344,486,571,818,1064,1164,1100,576,517,581,1052,1602,1190,816,1088,1058,1072,1284,999,1386,1606,1950,2110,2168,2062,1876,1804,1624,1704,1482,1652,1688,1352,1256,1422,1300,894,1170,1206,806,741,1156,1162,1228,1174,1016,1238,912,670,740,976,1078,1248,1332,1136,1226,1066,555,851,1088,694,683,985,1021,695,754,988,1242,1390,1584,1378,1118,1268,1268,1482,1354,1290,1224,1344,1268,1042,897,838,1180,886,1154,1184,1032,1054,904,714,870,1068,1156,1138,1214,1474,1528,1512,1798,1528,1574,1406,791,781,986,849,591,880,1440,1092,828,886,1178,1382,1096,556,523,1132,1096,643,686,469,530,1066,1168,1092,1602,1332,1538,1614,1338,1354,995,1026,2188,2404,915,572,535,492,484,541,526,535,568,480,468,430,375,480,555,450,488,503,425,391,418,436,368,400,441,438,430,445,530,373,358,359,469,650,930,1164,1154,954,1056,1150,979,704,478,550,688,487,609,1150,1344,954,551,708,738,563,413,392,428,689,1102,747,567,425,408,750,918,751,689,1088,1162,799,554,532,544,702,761,833,943,647,664,1164,1152,887,846,829,829,825,971,1146,1122,853,546,1007,889,1156,1316,895,952,1340,1334,1190,1266,1262,1266,1334,1494,1456,1204,1082,1324,1112,811,820,1021,1428,874,538,847,1244,979,1038,695,844,1164,1112,734,784,910,684,565,901,1030,1238,1260,1026,972,971,1124,1350,1116,1002,1150,1236,1316,993,471,1004,1284,926,947,916,1066,1338,1470,1260,1152,1396,1320,1136,1196,1356,1120,1060,1266,1324,1272,1150,1246,1202,1296,1298,1182,1274,1502,1398,933,905,1066,938,835,775,988,1072,941,982,1162,1042,812,709,872,977,827,1288,1042,740,1158,1900,1766,1330,1316,1528,1610,1510,1404,1494,1450,1350,977,850,844,944,1116,1312,1524,1620,1584,1370,1412,1460,1750,1728,1638,1440,1260,944,719,618,604,881,1384,1406,1268,1418,1362,1208,1118,988,1066,1302,1286,1424,1684,1680,1100,1144,977,1274,993,564,552,1064,1248,1362,1828,1798,1058,1186,1478,1604,1470,2100,1628,1098,1036,902,756,620,574,904,1298,1023,1436,1462,1574,2266,2446,2488,1994,1106,454,582,813,853,920,1078,1068,1116,1464,1544,1390,1320,1150,616,808,1710,1762,1040,852,1114,1208,1036,1098,1440,1286,857,1172,1436,1011,819,954,735,704,796,1462,1448,1218,831,706,867,1292,1490,1142,1132,1142,870,973,1118,1146,1142,892,976,1048,1218,1154,978,852,634,814,1396,1722,1996,1664,1180,1378,1394,1448,1554,1378,1288,1062,498,630,1154,1302,1384,1470,1610,1506,1246,1290,1382,1440,1544,1480,1370,1334,1272,1024,752,1422,1956,1870,1354,1124,1096,1302,1578,1618,1678,1602,1334,1290,1372,1406,1338,996,1070,1438,1522,1494,1246,1021,1040,1054,1074,1278,1598,1234,1404,1288,1282,1228,1044,866,749,806,1182,1544,1484,1424,1316,1218,1238,1150,1102,1310,1412,1420,1534,1556,1664,1834,1752,1676,1534,1178,889,626,659,825,1130,1420,1704,1722,1804,1584,1466,1188,979,1072,1242,1184,1188,868,515,825,1058,952,1106,985,732,992,898,1082,1294,985,1164,794,404,1015,1554,1428,1432,839,638,731,739,758,671,819,1138,1160,636,440,734,957,1250,1444,1078,612,474,540,644,834,854,596,488,552,819,989,1082,871,1056,1096,849,709,820,919,808,968,1310,996,494,325,419,390,299,307,521,798,550,329,485,485,451,597,684,659,663,853,788,703,708,695,588,564,857,1278,996,784,1060,1208,1252,1210,1166,1500,1196,895,908,1090,1256,1252,1134,839,916,1114,733,738,582,512,433,445,447,461,538,483,396,351,550,984,894,1206,1526,1046,1078,1028,787,546,796,1120,1168,879,781,725,595,534,419,892,1108,989,871,1136,1138,1004,957,1308,1422,1052,1066,1318,1376,1188,744,703,677,861,1062,1288,1426,1426,1668,1650,1738,1664,1700,1728,1208,1114,1424,1150,1394,1746,1560,1214,1078,1002,840,760,1072,946,1644,1516,1684,2096,1970,1632,1384,1296,1138,1252,1158,922,1148,1116,1122,1104,1152,1244,1178,1334,1358,1264,1310,1246,1382,1466,1350,1252,1204,1274,1422,1330,1072,1104,1300,1324,1378,1170,701,800,1082,1366,1434,1556,1390,1026,1120,1166,1020,1054,1012,1156,1296,738,598,1026,833,573,825,890,664,810,1172,1400,1480,1410,1324,1082,1038,1218,1202,1054,975,844,776,1064,1296,1026,804,739,791,904,928,813,537,615,1200,928,460,432,572,679,729,734,900,913,837,782,708,650,568,485,449,425,381,501,600,568,951,963,868,977,677,725,1188,1120,1094,1256,1310,1280,1108,1100,1302,1382,1318,1418,1394,1400,1314,1384,1194,1030,1186,1426,1328,1170,1544,1490,800,654,549,613,1034,1140,1194,1244,1262,1256,966,517,395,357,401,507,809,666,419,709,989,1386,1352,801,449,881,1514,1474,1192,1168,929,923,1300,1238,1188,917,532,479,546,631,687,661,547,692,747,941,1188,1272,1024,667,846,1054,1130,1302,1390,1728,1082,684,725,1324,1538,1324,1296,1250,929,661,489,558,438,522,796,1206,657,333,512,796,753,1034,1148,857,1072,1192,519,473,626,451,454,1042,1224,607,307,448,623,805,789,716,739,1366,761,791,968,1001,738,681,865,975,963,687,521,465,546,836,1160,1106,902,489,340,324,346,310,325,497,378,312,300,317,536,612,715,907,1062,1015,1290,1852,2010,2024,2078,2106,1894,1570,1298,1794,1892,1142,742,1202,1874,1504,1058,1524,1484,1484,805,922,1166,1224,1170,1068,1266,1396,1376,1176,1188,1372,1166,682,373,267,315,299,227,265,310,457,572,688,623,408,359,295,326,460,764,984,824,609,514,479,467,507,792,1078,1142,1140,1076,1434,1224,653,1076,1428,1512,1610,1338,1078,1528,1736,802,571,561,843,724,1078,1744,1820,1474,1296,1034,762,1126,2066,2094,1424,1178,1174,855,822,587,568,645,607,760,889,1015,1360,1390,1164,1156,1342,1214,878,946,1026,894,1160,1374,1110,910,1264,1312,1456,1538,1648,1550,1466,1262,1152,1152,1260,1520,1274,800,598,394,517,731,615,698,691,1184,1272,1600,1438,1112,1086,1298,1590,1406,1332,1314,1382,1332,1164,1128,1034,1060,1258,1398,1336,1470,1766,1508,1430,1534,1350,1100],[568,595,566,692,728,744,848,1030,1042,824,845,825,679,561,375,359,368,313,261,296,316,333,383,394,350,396,385,318,314,326,337,379,366,391,443,371,325,292,278,280,279,275,266,272,303,361,381,404,436,473,461,442,438,427,411,433,429,404,384,366,443,695,877,767,880,854,1248,1202,827,655,462,393,348,296,282,265,279,307,341,376,303,225,232,216,224,249,405,1030,1102,644,566,546,548,574,584,564,674,702,516,593,648,589,830,1284,1584,1370,1070,1536,1678,1638,1120,365,286,278,250,241,250,238,428,979,675,557,590,494,467,397,396,450,362,307,315,324,360,415,455,461,457,442,477,523,736,842,827,698,696,740,724,899,1096,1088,1136,921,423,430,378,255,332,562,672,547,477,600,1040,1152,929,785,844,976,1240,1570,1570,1466,1194,1382,1196,1078,1296,1322,1404,1298,1346,1184,1024,1122,992,891,738,558,559,652,807,759,751,933,981,751,562,601,709,853,760,512,722,670,513,460,853,1472,1554,1272,1010,501,490,568,1026,1694,1622,1132,647,455,582,624,619,856,1124,1278,1106,1158,1616,1428,997,1220,789,681,1226,1234,681,499,558,943,1310,1638,1776,1164,1672,1606,879,604,700,745,814,1007,767,894,1016,1108,861,955,1600,1306,1050,1098,827,541,325,281,292,316,314,326,368,488,749,771,1024,1106,1003,867,576,462,325,351,382,364,314,321,377,412,487,527,903,1058,836,669,461,539,489,612,734,605,630,860,1180,1340,1262,1222,867,402,414,490,386,352,618,910,1098,902,929,1044,794,566,650,786,1096,1712,1106,649,822,1278,929,869,949,1216,1466,901,685,628,561,475,419,568,689,827,834,993,1252,1114,812,766,641,670,1136,1348,1322,1344,1318,938,755,841,896,880,587,625,949,1009,1204,1170,1154,1868,1064,665,891,862,951,1066,1058,666,617,747,1056,1166,1264,1122,821,946,883,969,1356,1642,1684,1478,1015,768,1174,1180,660,558,694,737,807,798,915,774,490,645,1396,1772,1700,1290,817,599,780,936,1112,1172,1444,1246,602,544,826,783,645,712,551,816,1198,1284,1264,1256,1152,861,551,909,1088,625,457,524,443,492,1166,1278,1096,1322,872,652,742,631,552,511,443,441,517,867,1412,1656,1766,1460,1256,1574,1250,933,1172,1506,1584,1116,935,991,718,749,730,647,733,1042,1332,1206,762,563,697,639,460,607,559,1136,1470,1522,1516,1744,1168,929,1184,1102,869,1178,1590,1460,1962,1814,1490,1410,1272,1538,2010,1802,1838,2370,2610,2172,1354,633,535,753,1072,1016,1204,1256,1372,1450,1124,772,1060,1374,849,514,405,505,1048,1358,1364,1058,695,553,437,651,1318,1512,901,673,814,811,769,1010,905,1216,1388,1702,1986,1822,1724,1736,1732,1766,1826,1800,1722,1526,1450,1354,1188,931,984,1230,1206,1088,1202,1228,1280,1005,1001,828,937,887,751,628,677,900,985,1134,1142,963,1130,807,843,1194,1186,1482,1692,1016,661,569,802,1270,1562,1898,1704,1494,1362,1278,1196,1084,1268,1540,1544,1402,1310,1196,1202,1416,1064,1054,883,1128,1374,929,780,1060,1144,1072,1028,1038,1352,1588,1594,1632,1666,1548,1086,763,1116,1310,1026,813,1038,1548,1224,938,924,1282,1794,1494,673,463,1072,1250,744,756,491,426,788,1062,1402,1812,1007,1200,1504,1172,1350,1218,1612,2644,2232,907,590,647,569,490,507,547,527,474,395,449,489,454,497,590,550,614,629,570,471,431,401,377,372,465,583,781,1009,1074,534,339,264,246,460,564,412,434,683,1106,1082,736,453,593,918,1026,638,578,1022,1550,1148,624,736,1192,1428,1034,618,375,484,978,561,410,523,709,1046,1038,949,1222,1396,1013,585,614,649,687,764,673,580,551,813,825,799,987,846,729,1186,1742,1050,802,1036,1340,1216,587,956,1196,929,919,1034,866,1202,1354,1312,1336,1304,1270,1228,1322,1288,1432,1318,1294,1156,687,698,1050,1230,621,648,1072,1134,683,755,929,980,1090,917,751,1184,1402,1120,691,926,1284,1048,920,833,683,745,878,1116,1132,917,1009,1308,1088,710,502,1246,1606,1454,1336,1162,1108,1106,1328,1494,1318,1396,1394,1316,1192,1354,1372,1222,1246,1256,1086,1244,1358,1334,1476,1234,1120,1290,1824,1664,1562,1286,942,819,815,809,991,1122,1246,1326,998,829,808,918,908,1066,909,1068,1202,1084,1350,1710,1530,1782,1616,1628,1474,1006,979,1252,1248,990,844,803,777,820,865,952,1142,1334,1558,1630,1516,1152,1176,1686,1828,1736,1576,1404,1142,985,785,1306,1750,1478,1408,1538,1534,1520,1420,1362,1404,1526,1726,2364,2502,2214,1284,920,1021,1080,957,745,506,909,1166,1250,1556,1628,1124,995,1342,1528,1420,1318,1114,1048,933,818,664,529,554,831,1007,1000,2234,1930,1600,1786,2030,2226,1730,1005,608,653,708,886,996,949,1012,1138,1210,1118,955,986,741,556,1290,1838,1652,1254,684,742,990,945,1204,1542,1172,671,1009,1410,932,732,851,639,672,1166,1556,1570,1220,853,778,841,1258,1490,1134,849,1078,1344,1176,946,977,1104,1114,1210,1082,1003,1238,1240,1112,713,621,1476,2282,1476,698,524,1036,1434,1544,1614,1440,1290,1284,714,520,976,1394,1458,1328,1354,1426,1458,1474,1548,1578,1498,1206,774,648,870,1090,821,1001,1492,1512,1322,1292,1292,1432,1484,1626,1508,1044,1164,1366,1412,1526,1438,1148,1210,1338,1428,1420,1012,1005,1072,1014,1250,1194,1166,1218,1158,1166,1298,1206,1042,1114,847,948,1438,1696,1512,1338,1214,1272,1176,1068,1218,1328,1296,1414,1446,1354,1428,1308,1324,1586,1902,2400,1968,1148,1166,1308,1410,1428,1228,1148,1332,1484,1558,1194,949,1064,1232,1156,1146,910,647,1108,1178,769,998,1436,1166,1406,1350,1200,1116,1286,1344,631,353,406,511,1012,962,657,731,917,988,974,953,981,948,817,572,709,1278,1362,1322,917,504,307,375,491,544,624,607,630,859,1072,1548,1444,977,1322,1766,1680,1056,933,1260,963,551,662,1160,1224,965,762,625,402,380,317,353,418,262,355,518,574,605,727,774,775,501,431,486,818,1072,1036,1252,1158,1386,1768,1420,822,1142,1148,1072,898,1020,1378,1312,1056,1009,1112,1098,991,659,501,793,1322,858,651,940,814,534,658,699,544,387,381,293,336,824,1082,852,1188,1326,1360,1302,979,692,467,602,1026,1218,1008,1226,1066,808,577,406,517,523,668,1021,1090,1120,1298,1332,1416,1120,858,941,1108,1290,1280,1102,1130,795,468,613,956,823,791,1252,1268,1234,1506,1634,1592,1404,1560,1748,1620,1768,1790,1642,1718,1708,803,889,810,1216,950,1396,1632,2298,2424,1632,1490,1406,1502,1518,1644,1394,1234,1250,1152,1196,1214,1332,1344,1292,1340,1256,1226,1184,1170,1214,1376,1278,1202,1134,1184,1290,1324,1204,1164,1178,1200,1406,1228,797,860,899,1007,1242,1472,1506,1396,1262,965,1050,1106,996,1402,1324,641,694,1164,815,611,842,819,716,870,994,988,1246,1400,1426,1366,1394,1176,785,566,858,1028,824,1142,1202,994,1132,1066,755,911,826,590,719,1158,1376,1296,937,469,451,596,747,838,871,888,863,801,765,738,626,509,459,408,427,670,671,715,1084,1318,1156,857,695,862,916,969,1334,1450,1378,1170,1052,1013,1084,1238,1156,1406,1304,1132,1140,1268,1280,1262,1268,1340,1054,1336,1546,1072,918,773,548,714,942,1014,1144,1248,1294,1040,507,421,451,401,389,659,1088,774,448,630,918,1194,1136,728,641,962,1354,1456,1354,1262,1200,1210,1078,747,672,632,521,524,521,506,574,568,551,593,739,992,958,1102,1076,659,807,1134,1444,1670,1700,1428,849,622,588,880,1142,1296,1362,1226,756,675,584,927,727,739,997,1496,1046,491,633,823,736,675,657,927,1118,1124,612,747,1180,794,408,618,624,567,957,1011,801,1284,1294,1015,1026,1316,777,495,935,974,713,771,808,989,1098,787,685,484,546,988,1100,1086,892,495,322,327,274,244,365,532,353,313,323,379,639,1198,1394,1036,1044,1124,865,1472,1990,2010,1952,2162,2182,1990,1382,1748,1634,839,733,855,1060,726,756,1344,1178,1090,932,1412,1480,1392,1390,1032,1202,1528,1542,1260,1500,1150,1052,899,442,388,616,585,404,354,478,527,492,694,708,363,284,314,294,535,908,963,959,825,476,392,564,884,727,730,910,709,627,1196,923,554,921,1412,1688,1494,1086,774,1132,1012,637,788,747,1142,1236,1494,1638,1326,1044,981,1052,940,1009,1434,1306,984,661,703,666,836,937,1186,1260,914,771,875,1362,1806,1642,1410,1324,1296,1258,1316,907,572,843,1004,1118,1022,892,979,1144,1490,1400,1332,994,902,1023,1028,608,502,655,694,762,737,1082,1230,796,520,487,991,1356,1362,1384,1064,844,982,1454,1644,1268,1324,1428,1516,1422,1232,1388,1384,1408,1472,1448,1368,1682,2122,1662,1788,1730,1460,1346],[1026,682,821,988,964,958,673,761,1024,1076,1310,1614,877,464,294,284,269,241,256,330,337,379,572,691,580,508,440,332,360,338,340,427,419,480,433,350,320,296,292,286,288,288,289,307,328,367,395,422,444,434,424,412,411,417,390,408,400,376,370,411,485,565,572,599,700,758,995,993,767,613,447,405,385,304,278,281,301,315,321,334,287,280,298,260,264,304,390,1100,1050,672,572,585,567,580,559,641,805,654,458,747,832,572,522,586,657,638,805,1266,1550,1694,1632,911,397,276,254,245,266,238,498,760,491,409,509,544,523,464,377,389,336,326,301,330,383,425,449,471,469,469,457,541,769,738,694,639,596,543,524,698,1032,1108,1146,828,367,335,288,292,357,558,639,788,830,831,1032,1244,1056,731,813,922,1394,1914,1740,1270,1106,1248,1040,1040,1088,1238,1448,1092,1086,1094,1094,1206,1278,1009,676,561,569,629,760,744,690,816,896,753,631,726,767,922,731,642,1180,1074,601,581,789,1238,1264,1096,1066,710,741,600,772,967,937,816,569,470,636,713,634,562,779,902,990,1570,1688,1276,1130,1212,703,557,937,1106,604,476,879,1420,1326,1252,1208,907,1434,1498,1074,1005,1024,1088,988,1034,973,1612,1562,1278,981,767,894,1156,1036,498,438,407,371,319,315,297,317,324,367,587,725,738,946,1064,1026,824,426,359,339,339,332,285,248,270,283,358,518,680,895,1092,1346,936,541,515,763,794,630,463,475,524,897,1224,1368,1510,1098,673,421,406,464,398,496,540,556,760,1044,957,688,694,509,473,974,1508,898,505,610,837,798,738,807,943,689,456,617,474,463,340,314,313,431,941,1390,1414,1376,1326,1172,1216,959,997,1330,1694,1592,1258,1038,832,578,460,540,581,732,959,1036,1282,1434,980,816,1470,1234,1174,1306,1406,1484,1666,1514,1080,1220,1020,1356,1270,1506,1296,979,983,1212,1572,1688,1534,1238,996,1064,1004,851,735,594,985,1332,1230,1076,973,687,421,429,689,1402,1658,1422,1204,1192,1058,1114,847,1038,1130,1166,1018,544,947,1019,823,957,798,621,1090,962,874,935,831,691,587,600,954,1112,600,389,597,803,727,1112,1456,1328,1418,1120,611,695,680,568,517,526,566,585,996,1416,1626,1690,1272,1372,1554,1076,1230,1494,1428,1342,1282,1070,1172,840,848,850,633,548,618,897,1270,1406,916,559,538,544,675,653,1450,1600,889,1208,1476,882,727,444,482,1004,1640,1542,1376,1562,1698,1676,1474,1116,1810,2522,2436,2680,2900,2076,1100,837,610,627,922,1390,1578,1260,946,1126,1272,827,767,1098,1336,898,637,601,504,974,1196,1088,848,543,739,684,745,1328,1542,938,610,735,818,841,917,882,1008,1332,1504,1730,1614,1760,1832,1816,1944,2014,2038,1948,1636,1464,1416,1120,962,1438,1568,1470,1340,1524,1110,1007,837,1124,1134,1234,1548,1252,860,824,1200,965,1372,1630,1210,1280,1176,1224,1634,1536,1666,1720,733,959,1030,998,871,1450,1534,1112,685,732,946,1138,1208,934,1250,1596,1650,1496,1200,1476,1616,1082,697,520,879,1412,1220,1028,924,1232,1002,716,1068,1554,1898,1794,1576,1456,1304,1096,1106,1352,1176,862,615,998,1522,1202,919,995,1376,1704,1350,633,389,534,754,717,733,425,338,423,636,1098,1570,1068,975,1532,1198,1572,1438,1356,1226,1300,1070,1080,1084,812,608,775,711,854,1088,528,471,425,404,348,351,465,550,561,527,493,507,512,635,788,1186,1218,1256,1140,1272,781,333,325,537,990,940,475,387,666,940,505,522,489,492,581,875,759,495,928,1328,838,700,1106,1502,1640,1354,852,773,661,961,717,739,902,814,805,778,977,1172,993,530,476,528,416,474,551,545,531,528,761,704,529,568,678,672,1130,1720,1132,559,615,960,988,812,1152,1274,1028,1372,1510,846,1140,1292,1076,924,1166,1394,1400,1394,1360,1436,1364,1332,1146,893,764,1036,1082,736,770,1306,1046,741,949,983,1042,1366,1174,820,958,1430,1140,769,1040,1370,1302,1348,973,573,559,630,1042,1108,818,684,684,667,726,896,1152,1226,1390,1346,1324,1204,1044,1246,1416,1346,1338,1290,1316,1302,1336,1228,1284,1392,1284,1300,1514,1354,1336,1244,1108,1166,1180,1816,1528,1374,1432,1196,930,831,1056,1272,1250,910,601,630,866,901,973,982,1098,1058,859,1024,1336,1023,1264,1560,1244,1256,1410,1260,956,1019,1210,976,850,872,818,780,793,796,974,1162,1152,1206,1378,1478,1410,1546,1676,1498,1632,1754,1556,1328,1420,1260,1520,1616,1576,1418,1412,1620,1486,1398,1510,1288,966,1228,1506,1340,1136,891,537,986,1442,1248,1088,549,524,616,815,1042,1218,1168,1358,1372,1280,1412,1430,1178,969,943,1116,954,639,533,700,808,966,1436,1368,2054,2364,1786,1400,1128,656,724,1072,1224,1388,945,819,1122,1280,1180,893,814,664,471,777,1156,965,702,1234,1152,758,589,775,1302,1460,997,524,877,1356,796,718,838,635,731,1086,1390,1476,1282,1080,886,759,1330,1650,1268,602,921,1166,1222,1226,1180,1104,1232,1360,1170,954,1458,1366,1092,773,558,1112,1358,791,689,952,1450,1682,1522,1410,1302,1164,1270,978,535,666,1062,1112,1108,1122,1290,1642,1660,1464,1168,952,982,618,417,675,1016,841,660,850,1244,1456,1402,1268,1192,1212,1378,1442,1238,1498,1472,1334,1328,1092,990,1092,1132,1280,1420,1206,1030,1068,1038,1162,1040,1096,1108,1112,1260,1344,1312,1290,1522,1182,1142,1526,1622,1260,1058,1326,1530,1572,1732,1622,1544,1504,1442,1296,1386,1284,1148,968,1192,1602,1890,1574,1282,1116,1200,1070,1284,1244,937,932,1216,1310,912,824,1294,1448,1230,1030,1044,1050,1288,1204,960,1042,1290,1034,1340,1596,1428,1168,1278,1362,545,399,391,387,750,524,502,875,958,828,738,864,1030,617,599,794,913,1298,1716,1628,1058,514,283,379,555,690,628,374,557,1258,1596,1302,1638,1418,1246,1284,1522,1076,855,1072,611,491,667,1014,1140,1032,1021,605,346,369,335,361,315,301,419,409,404,317,281,503,800,618,380,356,1140,1506,1220,1128,1192,1576,1650,1266,844,1266,1226,1194,1250,1310,1214,1126,1094,1212,1238,854,700,774,887,786,1192,1338,1042,1108,861,796,1106,917,742,448,391,300,487,1032,739,608,558,797,1410,1400,1018,998,877,930,1338,1380,1148,1044,750,683,644,653,677,410,410,552,627,1028,1422,1656,1266,1080,938,1200,1416,1476,1272,1168,1100,634,623,939,2082,2552,858,1238,1212,1028,1226,1260,1138,874,998,1410,1444,1650,1660,1744,1668,1418,1178,1278,1316,1368,1070,1160,1570,2098,1826,1738,1708,1456,1490,1544,1584,1482,1364,1566,1592,1152,1206,1474,1400,1412,1208,1136,1136,1146,1224,1162,1162,1160,1184,1222,1344,1370,1222,1122,1058,1062,1328,1386,1136,830,871,1092,1086,1152,1418,1260,1484,1104,884,1122,1024,708,1058,917,633,1010,1266,982,989,1050,1000,901,895,1100,1122,1108,1200,1328,1306,1224,914,573,473,692,988,1168,1328,1116,999,1330,1268,944,703,474,783,1324,1104,955,1316,1484,689,373,473,618,860,926,803,720,747,770,719,619,495,439,467,647,822,739,875,926,1130,955,659,756,890,938,1268,1278,1214,1124,1116,1210,947,931,1080,1134,1236,1156,885,915,1122,1310,1216,1074,1320,1300,1440,1268,1186,1228,968,758,810,922,1080,1238,1382,1178,648,379,451,450,450,408,428,645,657,510,677,1134,932,724,839,839,783,985,1154,1168,1003,1102,1202,927,957,1042,886,616,543,532,570,592,498,551,659,659,590,644,626,665,748,636,899,1396,1538,1588,1410,998,639,604,866,1160,1168,1232,1300,973,689,630,927,719,791,1372,1836,1316,664,753,862,676,518,543,880,1162,1078,622,1086,1510,939,401,425,374,554,952,857,554,1224,1470,1106,1082,1196,727,350,505,525,694,825,752,762,979,1336,1366,770,544,961,1112,922,596,325,260,326,243,299,462,446,345,330,317,412,575,1012,1352,1092,939,1526,1488,1558,2098,2278,2260,2146,2366,2082,1102,940,1070,881,855,951,1044,962,1178,1390,1336,1194,1092,1404,1430,1368,1262,983,1312,1390,1420,1312,1392,1062,979,1048,832,489,646,860,677,625,730,666,382,337,397,292,264,385,720,906,758,796,837,635,502,671,510,658,619,721,658,536,484,806,789,801,1180,1430,1346,1096,1202,953,894,725,689,824,910,1362,1364,1220,1118,955,700,896,1110,782,658,625,463,452,386,386,620,981,1312,1786,1714,1310,963,1054,1692,1836,1498,1248,960,868,1054,1214,868,689,1084,944,871,1228,1064,933,888,1018,1100,1336,1288,1098,1312,1220,1010,852,758,701,481,553,869,1106,894,904,935,986,1306,1474,1532,1368,1312,948,1328,1386,1232,1440,1324,1474,1484,1346,1446,1414,1484,1506,1524,1570,1710,1768,1500,1594,1390,1246,1344],[595,576,868,879,936,949,617,692,1170,935,762,1450,913,469,292,268,255,310,466,513,438,481,731,1148,885,558,439,376,357,315,347,367,445,531,396,281,296,312,302,290,284,288,278,270,299,358,405,423,431,440,439,409,409,417,363,360,354,346,343,375,429,446,520,713,863,844,782,736,725,540,416,359,325,286,282,296,322,327,322,287,245,265,319,313,313,310,339,1014,1158,737,537,574,553,562,574,666,693,569,492,794,818,625,526,399,293,282,403,764,1300,1704,1616,951,514,350,283,266,262,222,563,752,458,455,514,528,581,503,399,336,315,352,310,328,395,396,414,453,481,472,452,534,708,695,682,727,742,708,656,834,1050,1078,887,463,327,313,272,287,321,407,425,583,734,543,409,500,449,447,529,739,1124,1484,1552,1132,864,924,736,806,923,1048,1232,786,705,664,924,1100,1130,1144,966,752,675,686,794,710,697,785,874,750,636,666,587,860,893,783,1096,1206,1094,1284,1236,819,596,596,872,781,836,727,602,568,516,481,439,447,517,563,533,599,691,525,1056,1444,1450,1464,1562,1474,810,469,623,1122,573,546,1500,1566,1336,1552,1296,698,1038,1618,1284,1060,1024,968,1082,1062,1230,1708,1396,1338,1426,996,660,1176,1384,572,478,419,372,363,353,354,368,346,392,695,943,949,986,924,632,472,345,344,337,333,328,287,253,270,253,305,647,1036,888,835,1046,599,736,830,1168,1021,599,505,512,470,561,723,929,942,993,902,653,509,469,502,551,654,878,980,794,648,826,893,499,508,658,894,1019,680,463,807,929,783,796,794,618,475,555,383,319,291,340,404,764,1340,1414,1180,1170,1458,1534,1510,1384,1324,1306,1676,1376,1020,1342,1502,900,524,548,957,1516,1568,1130,1032,899,565,394,938,1824,2126,1658,1316,1404,1334,1208,1512,1288,899,1250,1274,1360,1340,981,746,1198,1500,1244,868,777,855,1078,1156,797,622,720,1001,1190,1170,1258,1172,754,449,500,788,1136,1250,1184,1256,1374,1206,879,752,941,1034,1266,797,775,1422,1160,990,1352,1098,861,968,890,755,841,1098,1066,1246,1422,1272,1112,984,895,1062,1166,703,672,807,752,1028,1106,720,959,914,898,821,727,672,583,1028,1424,1650,1612,1286,1546,1334,1068,1614,1592,1456,1406,1340,1282,1234,921,1004,1016,666,580,543,618,831,1308,1484,1074,628,806,1270,1608,2002,1688,758,582,661,788,693,416,828,1524,1630,1836,2032,1638,1344,1438,1350,1360,2266,2580,2798,2900,2552,1406,1246,1272,852,656,912,1446,1738,1654,1428,1354,1072,687,1128,1278,1472,1092,630,592,511,800,1158,1122,1234,702,593,712,658,984,1160,1144,1222,1176,1088,980,1050,1015,814,1216,1666,1928,1962,1826,1822,2042,2008,1952,2094,2128,1774,1466,1278,991,1228,1362,1146,1096,1544,1472,1070,847,861,1038,933,1030,1394,1274,1384,1304,1354,1344,1486,1542,1242,1522,1896,1890,2042,1594,1282,1260,1062,1152,1062,695,833,1080,1064,745,417,668,1208,1456,1444,1124,1184,1356,1532,1146,879,1042,1142,859,567,512,1114,1640,1302,1122,969,1250,977,1036,1776,2094,2092,1868,1356,880,861,990,1092,1256,1026,677,397,700,1262,1246,990,1060,1074,1166,1252,638,338,586,642,609,732,480,451,681,709,846,1208,1008,724,1534,1542,1664,1116,1106,1446,1242,1054,1072,1032,906,890,1134,1206,2668,2410,799,495,479,383,587,703,473,437,583,982,1058,977,919,985,867,1016,1008,1010,907,1086,861,425,467,883,1356,919,396,425,795,829,758,821,612,492,482,598,667,462,663,860,537,748,1334,1704,1426,861,560,644,1196,1600,1286,1056,907,777,764,582,690,1052,1044,783,1250,1002,496,597,648,495,484,530,504,458,499,722,833,850,841,1020,802,501,462,561,757,1084,1224,1208,1330,1486,1272,895,979,1136,990,700,893,1196,1300,1368,1404,1344,1232,1362,832,708,814,1630,1456,1218,1644,1496,1038,1324,1532,937,928,1124,1050,1118,861,1026,725,711,1082,1146,1260,1468,1244,1012,979,1120,954,977,826,866,874,830,1066,1398,1260,1200,1396,1322,1314,1266,1344,1486,1412,1226,1278,1510,1554,1398,1144,1146,1338,1370,1504,1592,1340,1348,1268,1194,1146,1100,1052,1110,1162,1314,1402,1460,1164,1012,1178,1086,786,477,506,773,1044,1122,1007,875,843,980,948,753,1290,1208,1168,1030,1100,1338,1110,1030,1030,1098,1086,786,778,796,809,777,764,737,948,1046,923,903,982,1188,1568,1780,1664,1322,1234,1322,1466,1388,1592,1522,1338,1482,1606,1482,1510,1584,1494,1304,1172,968,508,621,835,918,984,1020,772,1210,1550,1238,1108,645,632,588,541,527,720,1084,1234,1154,1308,1426,1390,1228,829,939,1382,1376,1015,835,1036,854,584,558,752,1562,2218,1712,1168,867,547,648,1016,1322,1224,954,1120,1268,1144,766,601,794,547,721,1094,852,495,416,1246,1920,1636,1003,912,1380,1498,1242,550,1074,1338,788,706,680,576,674,932,1260,1350,1300,1172,923,818,1168,1562,1038,491,844,1072,1064,1238,1312,1262,1324,1404,1164,889,1108,1302,1192,811,593,526,550,913,1426,2010,2440,2200,1558,1190,1036,1094,1344,1202,692,515,744,893,1042,1250,1438,1604,1366,1016,874,1108,1290,1005,595,669,916,822,670,698,1208,1290,1350,1146,1082,1460,1446,1512,1618,1550,1310,1220,1104,893,1034,1148,1050,1052,1384,1482,1256,1156,1296,1310,1106,1066,1258,1176,1034,1034,1162,1220,1266,1494,1548,1622,1512,1376,1510,1580,1438,1416,1442,1868,1628,1692,1682,1156,1126,1338,1264,1052,1152,1400,1386,1488,1164,848,1222,1404,1662,1526,1366,1292,1038,974,856,933,1224,1322,1164,1050,1058,876,758,802,1194,1332,1080,1064,1314,1310,1426,1246,1002,1174,860,766,879,652,771,688,411,633,831,557,664,1098,1190,901,713,714,630,732,1023,904,682,494,378,502,636,572,468,362,363,542,985,1124,1368,1422,1356,1302,1158,865,855,1172,625,595,1272,1556,1182,849,888,917,800,397,220,271,258,305,415,330,236,204,262,435,712,545,259,389,799,1214,1686,1388,1418,1396,1474,797,727,1200,1324,1196,1056,1004,887,792,654,740,849,677,735,1124,1598,1132,854,1402,1428,1007,896,959,892,727,646,463,357,301,788,1132,736,738,759,601,791,974,882,984,962,944,1296,1186,730,495,461,672,973,1212,850,429,397,367,542,1576,1650,1354,1032,940,944,1218,1350,1290,1156,905,749,1020,1038,949,1354,1448,708,1668,1750,1396,1216,1070,949,892,944,855,794,1126,1226,1328,1470,1534,1620,1600,1620,1426,1300,1424,1598,1892,1732,2066,1942,1742,1692,1600,1494,1406,1324,1718,1750,1164,1152,1166,1132,1268,1126,1252,1272,1162,1156,1246,1230,1102,1172,1242,1362,1432,1328,1268,1136,1282,1230,1036,1086,1126,1003,813,800,923,1372,1070,1340,1056,953,923,759,655,1136,1048,968,1344,1116,848,921,703,1076,1176,1190,1296,1186,1256,1064,1017,1030,1003,1206,835,621,916,1196,1160,1324,1130,940,920,877,908,900,1132,1548,1464,1003,1094,1198,1258,1076,617,446,459,633,847,838,643,558,602,612,541,459,542,847,1216,931,1116,982,647,749,673,739,906,788,1120,1446,1216,1176,1154,1206,1296,1080,1026,1158,1278,1434,1376,1021,975,1148,1410,1268,1232,1256,1286,1138,1084,1142,1272,1376,1180,1050,1046,1074,1218,1330,1012,635,428,400,415,406,394,457,550,836,860,658,808,1060,1009,944,1068,1132,1150,1432,1384,1007,1214,1032,781,989,1186,1044,726,550,510,568,526,536,628,613,532,713,926,772,935,1288,838,976,1224,1300,1550,1642,1312,938,653,686,1270,1256,1168,1566,1318,782,461,485,496,397,744,1372,1172,697,630,1042,927,580,411,825,1068,807,430,554,843,656,455,411,468,455,486,491,494,1078,1144,880,1390,1770,954,439,433,457,587,810,1106,1630,2164,2248,1870,997,536,857,1082,901,445,288,261,302,394,613,657,391,321,319,274,264,400,635,546,563,721,1420,2088,1942,2190,2264,2248,2598,2534,1660,883,780,920,1056,1013,752,738,1250,1484,1566,1626,1512,1332,1164,980,723,926,1290,1146,1698,1812,1374,1230,1148,1032,1284,1236,822,832,912,688,592,473,417,378,279,259,257,335,661,934,714,532,491,556,525,564,495,574,854,1070,935,796,774,604,618,916,1166,1480,1084,1122,1310,1816,1604,1428,1056,754,840,1236,1560,1352,1052,745,742,497,663,960,824,516,468,467,426,487,650,880,1110,1448,1592,1278,1484,1466,1444,1516,1382,1240,1304,1224,1150,1180,1080,1324,1318,1224,1258,1296,1486,1118,1042,871,712,827,1246,1604,1638,1528,1072,1056,814,690,545,595,589,533,421,296,550,938,1308,1302,1174,1626,1806,1640,1038,1010,1508,1618,1410,1330,1376,1348,1330,1470,1420,1482,1408,1354,1326,1294,1368,1448,1384,1334,1394,1254],[558,728,854,805,875,1074,885,566,601,549,551,698,738,513,357,308,298,282,454,638,500,528,663,897,586,487,434,418,362,352,355,357,464,491,318,270,280,313,298,282,278,272,248,229,272,350,399,410,413,421,422,397,410,408,357,363,401,401,354,362,414,433,507,853,1432,1366,1222,912,719,538,397,339,299,286,281,296,305,302,341,294,285,311,332,314,300,277,229,819,1336,937,500,530,489,556,558,521,477,392,420,601,744,734,583,427,335,341,487,793,818,896,827,523,438,445,408,348,324,357,633,736,504,471,476,475,493,397,347,300,288,336,338,352,420,425,446,477,495,453,461,513,526,414,502,620,535,433,641,995,1122,1188,827,468,311,313,314,298,311,345,390,583,601,277,283,350,301,483,532,405,385,513,981,1006,768,869,502,699,1166,1166,882,866,800,844,932,1023,1102,1064,931,953,890,819,791,634,661,762,847,902,1072,1124,1140,1238,1210,1110,815,1224,1578,1866,1872,1334,938,775,794,681,496,477,514,518,460,422,402,357,391,445,525,667,602,526,1080,1792,2064,1890,1444,976,575,407,409,810,572,595,1090,1042,1044,1298,1224,854,1294,2070,1362,783,573,633,870,934,1220,1460,1322,1274,1306,1128,861,1656,1196,555,471,444,412,367,354,390,390,361,443,763,1088,1244,1098,690,387,339,329,334,346,343,326,273,250,298,283,378,951,1322,1146,907,650,540,694,1182,1460,1116,1024,733,480,476,488,496,586,854,1282,1396,1226,786,583,744,987,987,924,862,630,546,645,504,431,442,412,1009,1548,1124,836,855,691,978,1154,794,631,458,469,460,429,436,538,708,986,1262,1202,1268,1126,1104,1012,1184,1356,1144,1104,1180,1072,1202,1384,1156,852,844,698,759,1248,1330,1158,1228,1016,728,727,1066,1566,1446,1006,983,1174,1404,1610,1370,814,767,1244,1306,1168,1520,1544,1464,1550,1112,744,707,720,791,1232,1170,889,1242,1294,1374,1524,1078,1023,940,761,694,1154,1370,1366,1200,843,789,1028,937,685,807,1138,1186,1060,620,915,1156,1214,1102,949,863,787,752,952,910,953,1160,949,1196,1290,1230,927,767,678,899,872,713,761,530,527,880,1238,1021,1244,1262,1234,1208,835,492,602,1116,1492,1612,1430,1262,1438,1015,1350,1762,1720,1554,1574,1172,1158,1436,1362,1344,1006,648,643,650,709,780,942,1504,1560,1192,845,985,1616,1742,1092,509,377,408,854,658,687,1188,1224,1288,1754,1938,1626,1432,1216,1346,1758,2390,2548,2476,2224,2210,1824,1626,1666,1272,776,1176,1758,1834,1800,1648,1504,860,736,1274,1444,1500,1118,614,645,584,724,1126,1074,1116,789,669,863,800,951,695,697,1298,1410,971,805,1110,943,695,1030,1680,1948,2332,2276,2112,2276,2114,1940,2104,2186,1746,1540,1150,1196,1242,901,735,1114,1512,1396,1282,1294,1008,812,527,622,821,1062,1238,1466,1344,1318,1334,1274,1454,1902,1798,1578,1544,1216,1080,1318,1506,1528,1264,742,699,1226,1682,1376,676,833,1366,1314,1007,996,943,780,650,663,763,844,1023,1164,1074,1028,1592,1720,1148,729,822,1080,1220,1700,2142,2098,1758,1532,1290,802,729,671,1144,1094,738,485,365,427,908,1184,833,764,780,1346,1660,802,491,1206,1078,599,658,620,566,801,592,484,786,868,587,1086,1548,1536,908,857,931,873,1084,1166,1082,824,795,1204,2542,3218,2064,824,532,617,914,1632,1460,627,494,711,1126,869,985,1094,1150,912,933,758,825,1034,1104,931,460,531,604,590,491,376,454,760,922,968,1122,714,456,473,456,688,473,440,608,577,738,1232,1368,1072,568,356,498,996,1410,1178,733,705,1036,853,594,446,592,943,1138,1252,771,676,1158,1250,810,478,544,438,602,933,1320,1054,867,938,868,529,606,913,931,1116,1290,842,814,1266,1262,1270,1178,903,1164,1108,689,999,1398,1224,1294,1172,1184,1086,1228,872,667,927,1252,969,1250,1740,1208,998,1322,1234,690,1015,872,1006,984,1138,1112,869,911,1116,982,1466,1776,1672,1890,1620,1606,1220,903,749,1152,1132,934,1196,1326,1188,1598,1656,1170,1180,1262,1426,1414,1404,1442,1194,1200,1448,1340,1080,1048,1170,1262,1572,1542,1292,1264,1242,1192,1118,1234,1274,1048,1114,1302,1442,1446,1490,1370,924,522,410,425,507,688,908,921,706,591,610,760,932,636,872,1290,1170,1204,1726,1656,1470,1352,1188,884,802,803,821,791,771,723,725,765,791,769,718,732,798,996,1310,1670,1656,1570,1528,1376,1280,1320,1516,1632,1472,1538,1688,1664,1656,1624,1548,1462,1172,1044,759,657,1306,2200,2364,2178,1280,1542,1354,1354,940,606,608,606,586,462,708,1224,1060,948,1222,1360,1322,1322,1100,882,1188,1522,1390,1224,1284,908,649,775,756,1070,1372,1330,1238,882,595,559,648,901,976,1044,1328,1226,1034,920,766,648,585,1324,1388,859,539,409,832,1686,1886,1326,1128,1176,1358,1152,556,1152,1194,766,648,490,510,879,1108,1108,1354,1230,1444,1100,954,1136,1596,1294,692,691,1002,1066,1136,885,1148,1376,1142,1100,979,715,1216,1266,715,611,614,950,1998,2480,2598,2334,1734,1524,1306,1230,1434,1566,1438,968,487,598,893,1090,1116,1384,1578,1418,1284,1132,1214,1360,1230,819,692,830,805,757,805,1284,1488,1216,1062,897,937,1232,1592,1666,1418,1244,1256,1290,1088,1302,1488,1172,824,1060,1424,1550,1376,1282,1208,1144,1286,1710,1376,872,940,1030,1188,1372,1386,1386,1482,1404,1320,1268,1216,1258,1312,1070,1740,1880,1714,1244,1023,1272,1190,761,688,992,1266,1268,1606,1646,1556,1478,1462,1434,1324,1462,1392,1106,1017,829,1068,1322,1504,1278,1430,1180,763,634,905,1242,1334,1634,1392,1454,1388,1062,662,584,1152,1302,1282,1128,784,919,828,648,913,1038,872,1116,838,860,1220,951,1142,1200,733,452,433,429,333,376,502,640,455,258,252,284,261,677,1222,1306,1086,1296,1260,1244,1008,919,1186,886,1015,1506,988,536,832,848,838,933,879,492,364,317,350,602,618,370,255,336,633,717,410,281,277,211,452,1158,1440,1462,1340,1346,821,821,987,886,1164,1464,1172,725,645,488,631,985,767,563,688,850,661,426,552,576,750,1019,1500,988,589,525,426,380,525,1194,1262,743,695,703,561,540,758,812,781,808,927,1176,1100,934,954,1154,818,811,1074,766,623,495,473,767,1866,1644,878,898,1096,1334,1376,1202,1148,1256,818,442,693,824,677,460,462,432,653,1058,1226,973,800,722,988,1242,1264,1340,1228,813,525,497,720,875,888,1202,1428,1578,1550,1650,1666,1544,1616,1644,2114,2532,2004,1494,1372,1274,1412,1266,1178,1320,1628,1416,1092,1015,1190,1302,1190,1084,1194,1344,1180,924,1228,1470,1318,1208,1198,1224,1354,1396,1236,1078,1362,1538,1152,1162,1306,1007,778,915,963,905,716,677,1208,1532,857,817,1276,1032,1010,809,705,1056,1376,1438,1076,1058,1224,1080,995,862,805,1252,948,985,1118,852,826,1114,1030,912,890,896,978,1456,1580,1472,1330,916,753,796,630,1128,1008,535,338,375,531,663,554,533,554,563,507,636,939,1212,1272,1092,1102,804,677,709,613,709,859,966,1180,1222,1144,1252,1194,1238,1252,1162,1174,1134,1146,1296,1242,1150,1072,1220,1370,1326,1080,1084,1060,1098,1200,1052,1132,1256,1272,1242,1218,1088,1056,1196,1312,1016,552,420,415,415,413,563,946,1146,1036,946,651,1028,1052,702,982,1248,1242,1522,1668,1288,1210,823,788,1011,1080,979,767,574,569,647,647,651,548,327,386,749,839,877,1080,1426,1308,976,876,1072,1350,1482,1356,1378,922,758,1246,1238,1044,1306,1276,1074,929,574,528,434,598,846,971,1062,756,1204,1412,875,417,386,441,415,539,1318,1810,736,549,390,270,289,368,441,426,499,751,1144,1454,1272,779,514,599,514,502,745,1126,1710,2026,2082,1940,1344,698,693,971,839,394,283,274,234,590,1132,833,333,309,351,407,320,323,537,580,985,1290,1352,1674,1888,1870,1722,1904,1968,1754,1014,642,777,604,583,795,979,871,674,867,1438,1854,1466,1160,994,1192,1062,966,1216,1032,1216,1354,1406,1406,1274,980,750,785,953,1348,1236,822,539,691,716,559,430,318,253,397,791,877,879,805,558,694,596,735,691,806,922,788,497,611,1168,1068,1148,1126,1007,1234,935,1032,1344,1716,1620,1414,1224,1038,934,1130,1096,808,840,1013,786,741,816,1350,1370,688,339,425,448,606,717,768,922,1260,1318,1426,1400,1130,1344,1678,1354,1106,1262,1384,1362,1232,1098,1342,1444,1350,1574,1526,1426,1346,1410,1218,1108,977,1378,1646,1952,1578,1086,703,518,465,617,677,570,464,413,434,345,451,850,1268,1490,1764,1760,1672,1314,1638,1804,1088,1086,1456,1864,1714,1456,1436,1342,1474,1382,1168,1072,1234,1380,1406,1322,1372,1638,1328],[429,637,828,739,838,978,656,438,697,773,719,760,889,847,619,328,307,289,361,447,423,442,506,540,426,450,394,355,372,364,343,351,448,488,306,268,269,289,285,271,260,257,251,247,279,350,403,399,389,394,412,362,365,321,313,365,401,392,393,416,422,388,502,930,1564,1512,1432,965,827,626,417,377,355,328,323,315,281,294,254,259,309,306,298,293,308,303,241,582,1264,1278,483,339,356,417,485,477,411,383,377,423,498,516,498,415,376,381,455,636,483,434,397,401,387,388,394,402,449,512,650,593,473,431,653,871,744,495,383,304,297,296,323,373,416,427,453,473,491,515,500,512,497,485,537,501,438,401,570,919,1180,1028,521,315,314,349,331,291,331,370,414,738,575,298,289,301,312,637,601,316,399,476,792,1204,985,912,583,738,1366,1244,1148,886,615,725,941,1224,1408,1338,979,922,882,897,824,678,656,731,810,838,852,829,735,761,1188,1450,954,1040,1358,1562,1764,1686,1668,1180,715,667,386,416,432,501,405,373,313,292,336,650,1036,977,689,583,1098,1714,1754,1654,1586,1096,554,404,386,719,853,893,1042,1042,1014,1416,1510,992,1234,1542,1138,706,436,282,602,1016,1416,1792,1422,774,617,758,840,1106,855,498,460,502,466,357,345,396,417,394,537,731,810,987,679,451,371,321,355,390,402,382,331,289,279,282,305,372,817,1210,1124,832,878,880,818,1036,1328,1410,1586,916,526,471,473,427,487,667,924,1500,1732,1166,960,1052,1003,794,763,848,765,666,486,364,355,351,449,1050,1570,1388,1418,1094,694,1044,1576,1126,557,364,608,869,685,466,526,866,1206,1232,1350,1344,1230,1032,593,511,797,1015,1340,1480,1542,1334,1128,1050,847,921,978,836,944,1090,1242,1422,1288,1192,1558,1520,1210,1078,1072,997,1354,1484,1408,1042,915,1042,965,729,956,1546,1464,1080,735,642,664,823,1062,915,987,1108,1296,1498,1460,1698,1496,1118,1232,1078,1186,1374,1308,1288,1278,1074,953,1078,977,769,863,1100,1232,1254,1020,1036,1204,1272,1400,1192,949,857,644,608,866,943,813,963,1164,1282,1348,952,458,505,611,781,894,1106,1298,637,601,1018,1294,1394,1246,1024,1300,1396,756,777,757,1144,1520,1576,1274,1412,1150,963,1508,1880,1782,1534,1272,1086,1324,1294,1196,1078,661,662,742,672,828,937,1013,1104,1054,1346,1350,926,1003,1132,443,357,327,390,564,542,977,1316,1550,1638,1648,1650,1268,1013,1252,1556,1680,1484,1838,2240,2128,2190,2188,1594,1394,1136,962,1438,1570,1760,1754,1616,1238,749,904,1438,1582,1472,1152,515,441,497,722,912,990,760,669,777,866,996,1214,1004,666,1188,1412,871,810,934,762,613,972,1686,2036,2320,2214,2292,2404,2416,2354,2188,2032,1786,1338,926,964,889,711,971,1608,1632,1376,1438,1604,1344,648,769,909,701,810,1150,1368,1296,1338,1362,1378,1578,1588,1046,1058,963,780,1284,1590,1410,1322,1288,1154,1234,1600,1466,1248,1230,1220,1218,1314,1334,1132,702,470,511,597,626,844,1240,1130,1082,1404,1622,1488,1030,657,572,868,1312,1562,1692,1554,991,1046,1444,1264,1058,991,1202,944,582,395,424,534,904,1362,1082,799,797,1378,1464,883,524,1046,1174,678,661,891,636,653,402,558,1210,1274,855,745,1002,1244,1218,1028,811,1006,937,917,1090,863,687,819,1338,1566,1250,756,684,1015,1436,1544,1150,865,568,644,774,526,541,980,1168,1020,1006,837,823,1130,1200,845,415,400,294,284,386,547,706,1042,1048,1286,1458,689,484,412,421,963,896,458,475,499,467,675,802,765,521,469,832,1134,1356,1256,968,899,835,617,441,285,309,542,681,595,650,1007,1348,1470,1394,878,713,656,1015,1032,1080,1015,1038,1078,817,659,875,1148,764,626,875,589,495,1086,1212,1114,990,678,785,950,612,933,1212,1182,1526,1740,1424,713,709,788,746,854,637,536,847,1184,991,845,724,590,757,714,832,1166,1160,1090,1132,1300,1344,1040,1058,1416,1434,1510,1302,857,760,742,640,709,938,838,1104,1628,1434,1376,1732,1782,1038,1120,1330,1426,1418,1682,1842,1518,1011,1172,1194,1282,1042,1032,1188,1344,1326,1358,1274,1318,1370,1102,1168,1448,1270,1342,1324,1380,1346,1158,742,453,383,390,409,424,473,610,781,706,642,704,658,819,681,565,1021,1248,1230,1518,1498,1332,1338,1232,969,795,801,798,802,789,702,693,738,725,692,719,714,718,626,877,1432,1174,1178,1446,1578,1578,1396,1284,1396,1644,1712,1766,1600,1678,1488,1476,1604,1502,1256,1088,991,1280,1956,2230,1810,1274,1620,1272,1190,850,567,560,625,615,464,624,1054,1224,1228,1194,1272,1340,997,1100,1096,977,1130,1312,1328,1274,940,938,1174,948,1014,1212,1396,1332,928,586,512,458,530,723,1048,1392,1246,1148,1018,846,501,952,1284,652,471,477,394,547,1062,1108,1054,1194,1068,1130,703,537,1122,1178,850,719,502,719,1324,1136,890,1013,1218,1560,1420,1260,1470,1742,1608,1382,1578,1396,833,1044,1074,1536,1538,1094,893,1064,1134,1222,938,506,547,655,813,2172,2480,2032,1636,1350,1428,1478,1498,1524,1546,1572,1300,749,695,728,833,1176,1550,1596,1596,1466,1230,1180,1074,951,865,765,734,825,855,911,1410,1410,939,812,685,656,1018,1494,1736,1544,1418,1452,1576,1526,1784,1804,1228,838,876,1204,1510,1302,1324,1404,1570,1604,1434,1180,808,1238,1302,1172,1148,872,1028,1488,1716,1454,1188,1050,1200,1284,1048,1064,1548,1494,1060,1328,1714,1128,681,625,1054,1376,1352,1366,1566,1676,1442,1296,1430,1550,1312,1282,1370,1248,1052,1224,1250,1412,1094,992,1092,862,844,965,965,635,1236,1214,1320,1232,771,503,555,1242,1324,1266,1290,511,532,631,725,1174,1208,1268,1250,950,1023,1238,1260,1500,1500,880,671,764,412,356,386,356,434,332,309,416,505,423,445,789,1004,955,1028,729,612,699,761,875,1084,1412,1324,759,557,715,880,749,748,1054,924,697,438,427,705,746,790,874,637,803,562,318,326,329,314,309,397,746,1084,1392,1378,1160,1242,1002,688,816,1226,1094,915,1064,1248,948,759,630,587,789,959,819,422,537,450,417,671,1224,857,528,510,400,350,572,1132,1198,886,915,819,713,802,1066,897,940,1098,1192,1070,1202,1326,1412,1630,935,855,708,759,1048,1332,1268,1098,1640,1592,1154,1210,1134,1394,1332,1366,1476,1282,1052,728,474,372,304,308,314,274,390,655,901,935,840,793,1066,1380,1434,1620,1566,879,408,416,379,282,361,630,968,1080,1094,1074,794,923,1266,1384,1656,1686,1518,1524,1400,1278,1284,1298,1188,1260,1378,1208,1162,1198,1266,1204,1290,1284,1134,1144,971,703,1100,1374,1202,969,985,1156,1258,1318,1246,1122,1212,1446,1128,1023,1376,1094,1090,905,996,1074,885,906,1404,1386,656,626,1042,1182,1252,906,1084,1440,1670,1414,1034,1009,1066,1242,1054,979,661,874,1060,1024,811,634,737,834,895,893,858,789,786,1186,1350,1490,1476,846,602,568,538,904,1106,1058,508,354,445,437,419,538,636,607,633,870,1222,1416,1306,1234,958,756,771,855,1144,931,983,1084,1194,1332,1144,1003,1068,1206,1196,1286,1272,1238,1130,1092,1082,1252,1342,1172,1342,1384,1180,1036,1032,1350,1354,1282,1218,1272,1190,1266,1196,1062,1086,1208,1140,863,624,625,440,400,533,949,1388,1084,1198,1400,892,764,744,659,857,1074,1238,1366,1346,1232,792,727,913,740,678,860,901,742,692,725,566,395,429,365,353,488,656,656,530,886,1386,1292,922,996,1036,1320,1478,1644,1304,1038,960,1028,992,1084,1220,1498,1628,1202,1028,795,998,1120,885,910,776,1092,1540,1120,466,401,382,359,603,1486,1874,895,542,414,369,347,369,441,461,703,1408,1704,1964,1498,935,581,667,608,552,684,1021,1386,1670,1938,2026,1770,918,449,606,542,317,208,221,241,373,453,381,303,280,406,767,739,589,464,734,1023,1086,981,968,1210,1444,1294,1390,1140,969,937,792,653,518,513,663,1208,1308,822,857,1134,1382,1280,1058,1122,1310,1170,976,929,1022,913,885,1236,1316,1048,1044,867,935,1140,1484,1406,950,659,735,830,757,580,449,387,354,543,674,727,485,551,723,652,711,614,459,463,441,597,1254,1850,999,982,670,495,1068,1260,1092,1286,1556,1490,1304,1328,1238,735,1022,1274,1132,880,990,1338,1704,1644,1814,1622,933,413,473,377,412,683,1028,1023,1112,1340,1360,1268,1120,1180,1404,1126,1014,1208,1234,1224,1112,1464,1672,1448,1404,1404,1368,1108,1052,1482,1464,1422,971,1342,1688,1822,1306,1406,1158,951,802,431,695,808,397,453,584,481,418,521,696,1378,1690,1696,1438,1348,1950,1758,1416,1454,1576,2216,2098,1498,1420,1436,1238,956,956,1104,1018,831,751,1060,1466,1750,1418],[372,495,574,581,636,517,429,395,641,909,1088,1186,1030,818,669,334,347,298,276,377,337,360,432,374,321,374,334,260,305,325,321,366,498,484,332,264,263,265,265,259,258,264,262,267,292,350,393,380,361,379,383,360,361,349,351,382,510,679,645,601,530,567,694,1006,1092,1100,1060,981,890,539,400,351,379,402,433,401,329,278,406,390,297,321,294,307,324,344,344,395,893,1512,734,348,296,292,409,441,401,410,396,401,434,467,501,511,548,460,374,361,342,375,409,408,359,339,356,382,479,522,614,451,374,404,1068,1566,1240,890,477,344,341,306,342,373,390,367,419,443,449,515,547,525,502,480,484,450,398,417,564,927,1160,760,387,337,344,402,330,298,324,320,426,945,633,327,306,284,279,533,580,354,379,468,776,1512,1670,1486,1011,1202,1362,1108,1096,908,653,740,1290,1592,1498,1396,1010,1028,875,779,749,668,597,642,710,618,366,326,321,455,964,1180,1032,787,628,723,968,976,879,581,755,856,509,410,469,487,474,456,354,335,409,686,1274,1738,1344,681,1098,1376,1374,1314,1130,672,448,414,410,562,797,1136,1476,1522,1058,983,1356,1158,1278,1724,1212,789,778,638,866,1076,1456,1532,852,469,426,459,777,1348,1328,1142,941,490,426,354,384,450,388,393,656,1012,945,646,435,384,386,483,565,494,444,465,420,381,342,334,336,541,811,1030,938,770,666,621,824,971,1290,1252,1118,605,687,747,636,439,626,839,723,1114,1688,1386,1314,1044,774,565,549,726,957,956,635,471,375,354,397,561,599,563,1122,1412,1048,1188,1346,1023,611,444,614,713,596,435,490,1020,1472,1240,976,974,1190,1050,609,499,559,881,1462,1540,1600,1318,926,1164,1138,907,1156,1304,1048,1104,1322,1424,1454,1504,1434,1004,833,1112,1168,1230,1438,1102,1104,1328,1204,1338,1464,1508,1510,1394,1108,736,623,587,658,850,1010,858,509,800,1358,1462,1344,1472,1534,1466,1658,1526,1532,1312,1338,1524,1070,696,888,1192,985,819,992,1050,1150,1054,940,958,917,1246,1558,1104,679,564,515,622,831,1084,907,1146,1466,1412,1692,1474,713,714,881,1030,1164,1009,964,588,562,1102,1184,1450,1650,1148,1338,1324,796,1228,1040,1226,1464,1512,1284,1484,1102,1196,1848,1932,1664,1374,1146,1672,1816,1376,1626,1560,1078,906,858,675,864,1038,1052,1019,785,983,1372,1410,1084,819,505,426,354,366,504,906,1252,1590,1752,1832,1750,1366,922,974,986,1272,1576,1234,1066,1526,1564,1570,1522,1402,1482,1010,1140,1410,1338,1288,1456,1506,1322,1034,941,1246,1546,1432,1212,844,720,758,999,838,904,897,707,505,549,863,1102,1448,1070,956,988,789,888,954,763,596,1126,1616,1744,1858,1442,1410,1778,2282,2648,2270,2026,1576,1013,762,571,636,623,828,1330,1212,1078,1058,1218,1440,787,819,901,756,787,1000,1190,1080,965,1202,1428,1342,975,503,585,890,1354,1584,1370,1330,1300,1226,1148,1382,1376,1142,2004,1786,1298,1502,1736,1616,1378,810,463,390,515,580,583,812,869,1110,1310,1366,1418,1250,895,775,1064,1272,1282,1398,913,406,691,1550,1484,1142,1017,991,1134,897,828,727,628,924,1344,1040,749,777,1230,1576,1024,415,570,742,670,775,922,688,500,443,883,1690,1924,1382,736,652,940,1216,1258,1288,1214,1072,1084,1450,1086,869,1030,961,728,792,838,637,674,1018,913,1044,1042,646,515,507,430,440,684,802,771,756,578,756,926,759,579,607,667,716,775,752,711,890,1046,1110,1688,1242,505,451,347,378,886,851,924,977,530,312,420,694,853,726,735,807,683,1044,1356,1366,1708,1144,523,375,312,344,398,494,804,1013,1396,1386,1524,1642,1154,744,1204,1628,1026,398,529,908,1000,1028,888,894,1322,826,373,392,426,338,854,1208,921,759,863,1306,1614,1056,1000,1174,835,1120,1448,1268,777,599,647,994,1582,1168,922,689,785,821,799,846,830,761,519,578,862,1244,1626,1344,1052,1340,1378,1372,1204,1250,1246,888,711,683,676,657,600,579,488,1082,1770,1268,1218,1600,1592,1066,1114,1914,2312,1682,1570,1506,1272,978,1004,1052,1510,1358,1054,1128,1272,1338,1310,1190,1254,1166,1212,1340,1488,1386,1464,1422,1252,948,614,463,412,404,430,433,464,438,443,675,714,693,658,644,819,864,646,779,1244,1262,1312,1370,1390,1454,1258,1120,988,811,726,755,755,691,732,705,626,670,681,681,639,419,952,1302,1268,1426,1260,1232,1322,1546,1490,1202,1476,1448,1672,1874,1832,1554,1552,1522,1426,1218,1332,1298,1186,1074,1902,1266,1304,1474,1030,653,531,652,583,521,600,613,528,538,837,1002,1104,973,813,700,714,985,1120,937,963,1148,1232,1362,1214,1226,1208,1368,1432,1490,1282,774,713,647,505,435,502,775,1208,1354,1238,957,601,681,1588,1694,761,541,657,534,546,554,586,926,1116,1256,1216,645,769,1322,1130,826,790,546,833,1368,1015,786,974,1036,1130,1208,1404,1700,1780,1582,1578,1932,1676,764,991,1390,1702,1784,1388,850,811,1176,1198,774,604,467,670,531,1120,1554,1550,1306,1110,1264,1466,1460,1454,1514,1418,1174,886,700,795,1236,1716,1716,1568,1508,1800,2730,2360,1104,1082,1220,1122,992,1104,1010,809,1042,1048,747,632,808,1218,1466,1482,1532,1604,1338,1290,1356,1346,1340,1346,1274,1124,971,769,1084,1210,1208,1492,1664,1504,1528,1376,922,982,1238,1128,815,837,1098,1356,1582,1520,1400,956,784,983,1092,839,936,1382,1232,1302,1680,1390,1152,918,1056,1296,1400,1300,1406,1606,1584,1356,1162,1240,1236,1380,1224,941,1086,1246,1350,1440,1188,1258,1366,980,1172,1126,1072,705,711,1104,1408,1021,583,408,622,1216,1122,1013,1074,392,386,465,570,824,1080,1034,1080,1124,1154,1444,1310,1260,1348,1082,724,695,447,466,416,412,483,404,475,927,1424,1312,896,497,442,529,459,305,242,403,716,935,1046,1048,679,514,518,507,642,663,789,856,880,876,586,501,677,645,808,1178,823,749,384,294,546,535,323,280,339,368,533,983,1222,1120,1302,1250,1126,866,1198,1100,1092,1252,1360,1044,766,630,711,998,1302,1140,824,1216,758,448,402,529,717,994,857,588,559,1224,1608,1376,1276,1246,1010,904,871,1026,940,1048,1506,1722,1826,2136,1606,1120,1176,1178,1534,1168,700,1108,1538,1284,940,1118,1368,1332,969,834,954,1017,1156,1112,1108,1444,1332,829,521,456,473,432,346,375,576,615,1024,1226,1182,1246,1314,1366,1560,1442,939,620,805,603,490,516,925,1418,1498,1306,887,563,462,504,706,1048,1516,1508,1498,1522,1490,1556,1524,1254,1258,1290,1222,1250,1354,1526,1270,1218,1258,1318,1440,1019,730,998,1156,1158,1086,1004,1162,1270,1290,1266,1302,1356,1388,918,620,679,779,908,1122,1168,1224,1366,1276,1280,1248,1026,932,1146,1364,1266,988,1144,1460,1396,1242,1236,1110,1058,1326,1306,1310,785,875,845,606,655,777,694,620,786,925,919,1086,1146,1286,1520,1236,1028,1038,1158,1220,1182,1322,1046,1376,1194,648,481,687,1378,2062,1936,1104,698,842,1104,1378,1290,1144,745,571,552,1018,1024,983,1180,1096,1260,1382,1180,1248,1188,1382,1364,1288,1450,1210,1142,1182,1310,1362,1308,1324,1434,1386,1312,1296,1542,1300,1332,1370,1280,1232,1236,1292,1080,694,790,1088,923,536,940,1064,673,608,839,1166,1282,1144,1542,1698,1322,1192,911,772,668,988,1246,1380,1360,1178,745,752,913,888,796,772,843,905,749,625,498,383,429,366,330,356,433,447,397,645,1246,1528,1002,1036,1122,1346,1500,1504,1288,1003,815,644,641,868,1350,1582,1262,1288,1222,1126,1212,985,745,891,821,882,1482,1308,625,438,522,576,764,1122,1312,1130,618,445,395,374,390,389,532,1198,1792,1694,2172,1512,672,533,605,663,615,591,830,1020,1218,1510,1824,1886,971,385,317,338,304,209,225,288,283,291,388,348,392,603,1126,1082,614,368,493,560,517,682,588,674,1120,1021,860,674,955,1272,1276,1074,777,543,775,1172,1142,990,1072,1084,1088,1218,1232,1438,1366,1202,950,907,939,587,631,1048,1162,962,1026,1046,1032,1100,1280,1226,1026,645,585,943,573,392,408,413,420,609,552,477,567,868,1106,836,594,750,536,492,730,1023,1920,1868,808,584,565,514,841,1096,1196,1216,1306,1302,1204,1238,1316,780,907,1410,1498,974,1058,1832,1942,1590,1672,1820,1402,590,597,580,608,1200,1586,1336,1132,1222,1268,1408,1368,1292,1352,1278,1068,1050,1146,1312,1266,1840,1844,1224,886,720,724,638,681,1001,1056,1066,844,1016,1538,1266,978,1190,1176,1468,1224,707,1238,1026,417,625,816,797,505,427,995,1422,1104,1170,1506,1740,1800,1708,2024,1730,1640,1786,1678,1532,1766,1890,1488,1328,1284,1256,780,671,906,1156,1396,1532,1500],[370,484,587,636,633,539,477,419,550,907,1252,1444,889,669,585,359,362,355,306,358,360,383,445,363,282,300,306,332,346,322,312,406,439,412,319,273,249,245,267,255,263,269,278,286,293,323,342,350,346,352,360,367,382,436,503,628,844,987,985,883,717,627,819,1060,811,648,654,684,643,453,442,441,445,426,477,565,466,469,813,728,363,348,426,377,318,290,316,339,633,1470,1126,519,319,363,529,571,521,479,415,380,458,497,497,518,548,454,372,341,356,393,381,363,341,332,339,382,449,540,656,561,405,451,728,647,748,967,648,363,310,297,319,328,349,339,360,405,440,463,540,516,456,447,411,449,407,394,520,955,1178,761,346,259,304,374,345,318,318,284,425,668,491,289,253,243,247,306,322,237,336,408,618,1206,1584,1550,1332,1316,1294,1384,1400,914,628,706,1390,1542,1520,1296,1130,1128,943,666,545,547,494,490,514,472,307,325,349,406,852,1308,1270,1009,613,402,443,425,445,428,661,692,538,432,408,406,464,451,390,426,459,681,1622,2214,1478,706,723,968,1584,1196,518,512,571,503,444,433,540,929,1120,1094,1034,1023,1550,1818,1810,2000,1424,893,739,570,558,833,1454,1814,1358,721,522,495,896,1494,1476,1454,973,448,389,364,338,406,383,471,673,789,582,419,390,384,443,499,561,478,454,466,398,409,439,388,495,980,1212,1188,1232,724,638,719,754,904,965,764,592,638,974,1262,947,561,518,547,532,719,1250,1278,1122,805,722,717,777,892,1012,1068,1188,963,514,434,451,513,587,515,841,1448,1144,835,1310,1218,528,504,522,689,533,449,447,956,1208,1310,1188,1018,1130,1080,1244,1242,1134,1576,1952,1518,1434,1430,1048,1156,1158,1028,1260,1504,1616,1476,1252,1302,1428,1274,843,698,815,1150,1206,1128,1104,1030,1386,1406,1260,1430,1322,1298,1242,1012,766,637,629,548,643,772,642,699,932,1370,1346,1224,1156,1402,1354,1418,1638,1368,993,745,1188,1438,1060,594,651,872,904,1016,1086,1306,1260,803,730,1004,1150,1392,1578,924,593,641,558,519,1078,1288,1142,940,901,1222,1428,1456,1070,768,915,960,882,791,810,742,571,828,1240,1462,1266,965,925,684,521,801,852,1216,1444,1370,1376,1528,1196,1332,1960,1964,1722,1318,829,1512,1574,1268,1526,1468,1306,1314,1296,1108,789,1054,1112,899,745,884,930,1246,1468,1116,824,835,788,563,875,1304,1498,1864,1810,1776,1620,1086,1080,1572,1470,1360,1606,1432,1156,1226,1034,901,1166,1686,1418,900,708,767,1120,1202,989,945,1322,1366,1052,904,935,720,733,821,771,765,1030,926,733,647,584,527,574,641,554,1322,1624,1007,694,780,928,898,695,641,1058,1410,1282,1598,1600,1152,1624,2292,2692,2430,2242,1730,1174,684,609,617,435,469,789,959,911,1128,1136,948,1023,1146,770,644,802,721,788,732,1264,1914,1422,966,698,621,618,919,1428,1194,901,1270,1146,973,1290,1236,1074,1136,1394,1156,1078,1312,1582,1874,1912,1072,649,444,446,527,577,613,784,1016,1100,1218,1262,1266,1168,938,1028,1190,1260,1094,510,828,1714,2244,2070,1484,1074,1192,1188,864,1218,1002,741,776,972,858,936,1122,1440,1660,986,669,651,666,593,652,1132,876,512,408,542,1120,1422,1098,1009,800,794,858,1026,1060,1154,1160,1068,1172,1174,1018,1104,1172,1008,1008,1108,522,615,1172,1134,1294,1278,691,357,414,475,440,439,386,477,688,686,838,909,758,929,1168,1152,1138,1118,909,768,1008,777,505,706,492,398,404,368,476,715,709,1250,1300,535,419,521,506,525,653,983,791,536,674,1030,1504,1340,709,498,493,436,387,359,520,966,1606,1948,1490,1594,1432,854,809,1294,1530,872,580,558,780,951,1208,995,803,744,451,343,330,331,437,938,1478,1326,952,1438,1738,1874,1114,691,869,711,675,838,1024,882,738,728,781,1046,1142,1174,793,750,829,986,1184,1156,839,518,489,573,882,1278,903,635,1020,1366,1378,1370,1246,1082,1064,1130,1040,1028,1138,1086,936,965,1400,1498,1206,1384,1538,1498,1318,1006,1490,2226,1716,1288,1180,1182,1158,986,965,1366,1522,1338,1282,1476,1490,1284,1218,1228,1176,1440,1398,1520,1560,1362,975,639,475,451,443,375,388,437,431,447,425,415,525,601,653,681,816,999,999,779,651,999,1366,1210,1007,1310,1700,1480,1152,1080,990,794,695,670,683,722,702,655,685,625,600,428,544,1202,1354,1298,1282,1136,1202,1202,1356,1452,1206,1438,1646,1630,1678,1698,1732,1622,1220,874,741,1216,1296,1292,981,816,829,1302,1354,1136,710,653,925,898,756,700,606,556,480,439,583,1066,1274,1332,1244,954,887,911,1178,1040,954,1388,1578,1386,1246,1362,1452,1362,1476,1050,790,1162,865,568,471,436,541,956,1264,1252,852,505,824,1476,1542,1036,577,578,551,642,757,926,1234,990,1138,1540,1180,1148,1412,1166,896,692,404,861,1160,1004,847,941,1408,1686,1462,1424,1498,1424,1262,1396,1804,1726,1017,1030,1376,1634,1710,1558,1290,1206,1158,1094,868,785,519,614,576,736,1694,2360,1788,1898,2162,1732,1592,1428,1240,1176,1112,1058,791,673,1202,1594,1418,1360,1438,1960,2958,2036,1234,1278,1482,1470,1136,1228,1448,1018,886,1108,921,788,888,1148,1290,1126,1266,1604,1616,1524,1396,1220,996,1262,1522,1406,1142,932,1278,1390,1198,1536,1544,1322,1528,1638,1362,1080,1318,1374,918,1020,1120,1148,1256,1416,1428,1176,711,648,1058,853,596,1172,1260,1438,1744,1346,1422,1508,1294,1234,1198,1360,1386,1388,1534,1416,1104,1062,1184,1420,1202,1194,1136,970,1148,1160,1232,1474,1514,1114,913,1192,1298,1028,791,1012,1156,814,514,441,694,1158,1056,1038,821,416,408,457,583,828,922,841,1022,1266,1052,1186,803,808,1398,1268,844,555,429,481,429,444,487,455,520,866,1376,948,1092,843,550,507,505,453,483,406,478,429,384,376,277,357,372,283,277,486,745,971,1266,1412,982,900,644,490,661,779,767,689,388,397,794,621,276,245,302,306,288,408,874,1180,1166,1412,1266,715,806,1064,943,903,1001,855,554,475,633,871,1222,1042,1062,1260,729,511,594,762,1232,1292,1007,1222,761,1528,1284,1218,1388,1238,982,788,783,839,751,937,1656,2252,2110,2022,1260,1154,1062,1036,1460,1186,816,1078,983,499,429,602,1054,1100,902,722,775,742,883,885,838,1222,1516,1042,772,618,716,448,366,593,953,794,857,1007,1134,1454,1458,998,1178,1150,870,726,1476,1252,791,943,1504,1830,1758,1202,868,689,597,546,522,800,1030,925,1110,1386,1506,1576,1542,1434,1368,1334,1352,1346,1266,1350,1312,1296,1312,1300,1276,1152,984,1084,1242,1338,1216,1286,1304,1280,1428,1276,1338,1610,1394,862,633,807,986,672,1072,1016,999,1276,1252,1096,1152,1290,1212,1042,1098,1240,1194,1148,1320,1142,1242,1232,1290,1400,1530,1622,1482,1268,1042,609,495,758,980,595,428,504,1082,1558,1774,1734,1610,1678,1208,906,1268,1374,1260,1080,1400,981,1218,2014,1700,1652,2398,3308,3920,3084,1468,871,1040,1118,1286,1048,724,633,702,955,1216,962,1023,1328,1110,935,1036,1404,1738,1440,1482,1450,1498,1520,1314,1018,886,1130,1218,1234,1284,1370,1364,1224,1260,1098,1058,1210,1238,1260,1414,1488,1342,1032,970,777,980,1020,657,1274,1312,879,816,805,825,997,1194,1302,1096,1274,1424,1182,871,1146,1200,1360,1134,722,545,558,749,943,1038,923,971,858,922,708,579,535,426,459,579,437,317,310,326,521,866,1378,1726,1418,1244,1290,1372,1508,1428,1152,954,754,393,358,442,1028,1278,1168,1676,1694,1470,1276,830,592,852,1007,1022,1158,1046,545,487,738,1214,1520,1052,1308,1416,892,614,520,491,483,520,863,926,797,1120,1888,1316,639,610,565,683,669,493,658,852,801,1130,1516,1576,966,408,347,357,329,236,272,318,332,292,262,354,367,330,571,547,313,327,469,645,497,570,443,493,599,572,613,869,1208,1080,912,974,996,678,1182,1192,794,903,828,1086,900,843,1216,1304,1314,1504,1286,1140,1082,1013,637,447,731,777,828,979,774,748,875,893,938,877,1246,938,781,609,721,854,1030,882,694,572,469,639,975,955,626,659,677,1190,1466,1700,1758,1318,799,561,542,519,489,684,1062,1126,979,966,1200,1294,1458,1074,737,1280,1312,835,805,835,1178,1464,1098,993,682,413,742,1074,718,811,1464,1628,1544,1418,1438,1454,1442,1512,1438,1782,1764,1382,1218,1302,1208,1546,1892,1700,1010,764,648,475,335,465,495,877,839,919,1212,780,536,615,893,1536,1132,899,1158,775,475,587,720,659,477,556,1138,1346,838,885,1058,1496,1730,1566,1678,1504,1174,1230,1356,1604,2002,1878,1468,1384,964,1038,1216,1294,1214,1240,1366,1324,1286],[782,578,509,558,657,664,543,455,598,907,1124,1238,597,567,477,338,345,377,340,351,389,340,370,323,246,265,292,317,347,331,306,371,436,366,285,273,249,223,263,258,271,261,293,305,293,298,302,316,307,383,471,423,522,834,882,928,1128,1566,1290,788,762,708,855,1046,1058,900,832,784,672,647,622,597,641,535,437,447,456,585,775,630,403,652,1036,496,336,328,394,390,578,1286,1406,793,345,421,580,608,567,503,438,423,427,455,428,403,431,392,363,355,351,337,332,326,321,323,392,429,397,519,677,593,521,626,677,496,541,593,433,312,287,283,294,296,295,338,414,384,337,389,475,514,444,395,336,327,322,325,383,580,692,508,372,404,421,320,320,333,309,246,243,274,262,272,293,320,318,332,339,362,469,542,533,884,1296,1442,1220,1134,1374,1452,1218,673,603,813,985,850,916,823,915,976,675,508,422,406,415,426,403,375,336,296,311,337,656,1120,1262,919,591,440,499,405,368,480,562,579,553,396,335,347,333,523,779,694,737,911,1470,1320,796,643,916,1262,1640,1266,607,671,607,799,457,451,485,628,863,935,1196,1372,1670,1636,1286,998,538,515,465,445,469,788,1208,1692,1262,660,571,463,541,616,611,850,565,493,459,413,368,379,392,609,764,620,501,431,407,394,433,463,461,399,422,455,415,458,501,452,996,1830,1546,1018,1178,680,916,1106,971,1196,1324,904,741,1024,1174,1222,741,724,602,525,553,658,959,896,954,828,612,671,865,987,980,1068,1456,1328,626,408,444,482,561,618,743,996,1078,1048,1642,1298,565,504,814,1222,798,485,351,577,1036,1400,1392,1272,952,684,849,1382,1696,1902,1742,1404,1314,1378,1370,1312,1360,1606,1268,1160,1132,891,872,1184,1130,861,913,1280,1216,859,1003,1292,1280,1114,969,821,888,1130,1362,1292,1156,905,623,613,594,522,528,577,636,1124,1770,1816,1322,1018,864,1032,1009,1204,1018,404,385,671,561,797,911,611,1300,1520,1152,1142,1202,1418,1330,1172,1304,1646,1636,1442,1448,1064,834,712,622,522,900,1426,1426,815,662,974,1050,1106,1126,899,774,770,709,872,1007,755,539,731,1346,1514,1312,1188,568,440,367,395,552,1140,1512,1286,1456,1520,1214,1592,1782,1836,1788,1266,825,1188,1178,1542,1740,1328,1146,1266,1312,1072,661,1044,915,929,1098,1126,966,1054,1330,1462,1310,1060,1162,1390,1340,1470,1710,1938,1868,1638,1460,1396,1640,1704,1608,1648,1640,1478,987,987,1146,878,857,1094,1190,1023,663,788,1082,842,531,456,636,935,901,706,767,633,427,488,591,630,649,669,566,452,536,594,818,1116,799,1338,1968,1730,1328,961,767,832,682,640,729,1028,1021,1214,1372,1314,1574,2118,2242,2184,2060,1698,1504,991,863,765,783,608,888,1334,1150,1132,1128,1058,1290,1432,893,1036,1552,1136,589,659,1502,1366,1084,1042,811,730,695,676,667,570,834,1262,1036,1144,1398,1156,966,1106,1126,1011,1158,1234,1324,1444,1368,1170,1274,922,501,543,632,680,1016,1078,919,1080,1118,1324,1262,1012,1050,1422,1326,939,872,1676,2236,2486,2492,1558,861,853,718,625,978,802,763,585,674,645,728,1136,1156,1224,766,727,833,681,529,513,1015,982,610,557,580,584,706,1104,1424,1306,1018,605,554,716,797,780,876,944,852,872,1022,955,880,999,1158,709,469,454,490,802,785,425,408,420,381,336,419,602,765,768,848,946,844,785,987,1146,1294,1350,930,871,1192,1394,689,429,466,539,469,358,343,522,591,710,1056,1134,540,521,741,1194,875,415,631,585,817,749,617,698,555,466,415,424,438,405,386,670,832,1670,1790,1438,1206,881,799,748,557,742,611,824,821,1260,1600,1466,1056,697,381,350,429,649,901,1122,1266,1372,1526,1146,1106,1186,1170,633,399,519,804,1064,1192,1492,1230,752,739,800,751,1186,1048,697,688,834,1220,1144,995,691,452,447,447,664,769,549,524,912,1220,1498,1610,1464,1510,1262,1132,1148,960,781,638,650,654,841,1114,1256,1200,1172,1122,901,894,1088,1204,1250,1310,1264,1398,1222,1010,1062,885,783,1082,1200,1310,1366,1368,1178,1172,1242,1356,1542,1632,1222,731,568,420,404,468,411,367,362,371,393,419,396,416,471,604,662,658,818,1024,904,774,610,671,1318,1276,977,941,1298,1770,1634,1226,1136,998,806,705,695,667,633,681,645,646,525,527,1102,1406,1238,1230,1012,1138,1208,1230,1524,1482,1432,1604,1438,1518,1638,1576,1440,1832,1718,1352,1348,1178,1128,1190,1310,1332,1470,1404,1296,1430,1044,796,940,1030,936,750,515,462,448,446,720,1114,1246,1354,1360,1310,910,753,836,1168,1128,1086,1210,1488,1520,1460,1374,1348,1112,742,612,901,890,606,498,480,503,605,727,767,646,546,613,653,624,995,731,614,753,1192,1282,1208,1084,622,695,1218,1378,1404,1342,1015,850,601,465,899,1206,1158,836,1072,1832,1932,2032,1410,862,628,908,1334,1610,1608,1502,1542,1636,1576,1544,1642,1322,926,1034,1150,965,1013,854,613,615,638,1750,3342,3176,3354,2932,1744,1494,1282,877,1136,1356,1362,1178,709,877,1348,1506,1590,1426,1588,1448,1356,1498,1658,1626,1504,1214,1430,1916,1332,908,1070,1216,1102,969,1180,1376,1152,1072,1344,1636,1472,1134,1044,1294,1988,1642,1174,1064,1206,1344,1556,1592,1416,1074,1066,1152,1344,1488,1770,2000,1852,1106,736,921,979,1050,1180,858,745,834,566,880,897,583,1146,1548,1438,1484,1306,1264,1294,1264,1116,926,1098,1122,1222,1524,1468,1154,977,1142,1166,872,969,992,750,661,775,1136,1180,1210,1158,1056,1282,1088,932,1110,1242,1152,780,551,559,808,1190,1182,1228,1078,778,672,553,508,636,745,947,1252,1588,1066,798,491,763,1058,893,883,734,489,397,338,358,403,399,379,342,549,476,1090,897,584,769,803,893,991,574,446,342,250,293,302,388,357,473,537,487,765,962,1262,1548,1162,1212,877,421,454,689,905,664,373,448,569,422,254,296,388,323,337,358,762,1248,1060,1432,1406,1148,1268,1194,1058,920,876,800,475,415,643,733,1002,868,797,810,604,509,693,959,1040,850,1374,1352,827,1404,922,1056,1308,1314,1298,1084,898,695,641,1178,1534,1800,1604,1542,1554,1350,820,574,593,603,764,691,480,323,328,615,1202,1224,945,619,485,633,924,857,596,764,1300,915,1384,1312,1054,532,426,1010,1382,1118,1116,1138,1242,1282,1064,725,1005,984,830,610,1120,1402,1144,1460,1528,920,668,440,722,890,830,735,747,927,683,601,860,1038,1294,1382,1380,1472,1518,1452,1418,1484,1306,1344,1366,1356,1302,1182,1230,1104,988,1150,1174,1156,1058,1184,1166,1264,1300,1216,1284,1294,1106,807,715,1015,1154,648,1134,863,527,777,840,1142,1348,1378,1442,1250,881,1070,1576,1766,1650,1338,1216,1086,1404,1414,1310,1422,1390,1046,664,584,585,554,792,659,414,389,1382,1436,1392,1820,1678,1322,1070,1114,1646,1310,664,656,1194,1092,1096,1326,1988,2952,3754,4082,3308,2392,2502,1520,877,1026,1200,755,475,556,912,1010,935,912,1014,1166,902,835,1002,1322,1312,1178,1278,1390,1444,1370,1434,1288,1010,952,1066,1278,1350,1392,1350,1208,1252,1284,1328,1334,1298,1240,1304,1348,1388,1122,937,946,1128,989,1166,1498,1388,1116,946,778,717,807,792,1048,1016,1146,1172,995,785,1166,1496,1278,681,458,426,486,796,1044,999,730,838,689,727,588,495,625,881,1478,1724,984,618,660,721,1016,1178,1362,1636,1650,1584,1422,1366,1176,1066,969,948,825,529,361,379,944,1290,1598,2008,1726,1118,955,706,689,947,1172,1046,1032,1272,681,379,846,1634,1390,772,912,954,1094,1102,841,627,590,604,717,691,971,2040,2032,1180,833,667,571,550,577,885,1250,1294,986,1044,1300,1514,1294,580,410,340,290,267,298,296,287,250,249,324,334,279,290,297,289,342,403,628,395,314,285,332,396,465,586,1166,1466,1046,1104,1172,813,965,1490,1402,851,507,501,721,704,939,1396,1262,927,1214,1358,1056,818,1164,843,431,446,545,717,784,561,539,557,706,626,919,1852,950,720,749,983,1234,875,573,580,440,303,357,493,996,907,636,998,1658,1664,1506,1592,1598,1118,653,617,518,599,639,1244,1564,982,1002,1020,1118,1592,1410,1436,2062,1382,703,563,1020,1756,1358,1176,864,578,407,621,868,575,597,1034,1640,1588,1246,1342,1370,1306,1108,1140,1520,1664,1204,1064,1248,1256,1264,1318,1522,1212,1044,669,581,428,302,282,593,708,755,822,435,339,332,590,1094,1362,1148,970,1028,724,418,335,305,336,346,469,758,797,1354,1708,1408,1380,1472,1762,1494,1278,1466,1340,1634,1808,1472,1226,1204,1166,1036,1078,1360,1356,1254,1314,1144,866],[1034,742,469,570,844,854,742,566,429,428,569,552,383,420,319,283,380,601,556,312,427,365,353,373,230,235,255,300,361,354,312,361,390,304,277,265,262,240,246,252,281,262,296,311,290,292,320,324,325,356,385,403,560,941,946,1060,1130,1556,1396,1186,1040,852,926,1420,1536,1522,1614,1124,1094,1064,874,952,901,697,798,854,862,1028,946,452,452,962,1106,576,336,433,808,996,816,984,1450,1228,540,491,548,494,487,453,434,484,458,438,374,359,390,351,353,346,349,359,358,348,357,393,479,476,384,431,455,338,459,491,445,391,428,454,414,378,310,273,271,286,305,349,439,393,368,387,417,414,343,308,265,270,325,355,309,311,386,565,915,833,664,450,354,371,344,288,310,470,474,446,428,347,415,466,438,474,451,626,812,785,1142,1732,1030,785,928,687,585,648,960,1502,1020,492,716,932,1120,1246,698,450,417,380,361,403,365,358,324,330,332,295,373,611,699,464,343,308,457,521,617,541,536,635,610,498,426,427,354,501,633,794,997,971,1158,1124,896,950,1092,1044,1238,1242,1338,1168,893,842,543,454,460,490,732,1024,1072,691,602,646,623,572,526,401,424,547,580,911,1182,1070,753,618,526,356,342,349,408,499,494,572,520,482,427,393,478,653,628,564,618,546,451,405,381,420,417,413,403,433,406,404,450,468,1022,1732,1486,1096,1186,925,890,786,1134,1468,1192,918,872,801,930,827,621,818,756,612,584,863,880,636,758,860,616,494,655,777,1092,1200,1194,675,353,347,401,503,726,838,618,1062,2270,1332,1122,901,669,907,1158,912,558,468,569,778,1050,1140,1144,1484,976,779,1008,1542,1512,1084,917,772,717,844,817,912,1442,1566,1360,1488,1168,1088,854,1082,922,686,1012,1316,1092,857,1174,1450,1570,1528,1198,996,787,1044,1504,1588,1296,853,602,653,615,518,515,671,1446,1662,1664,1368,879,593,487,667,1290,1734,884,429,563,1008,587,750,712,676,1666,1772,1228,1276,1252,1464,1366,1386,1710,1880,2088,1594,1154,880,663,612,645,551,594,1013,1252,1086,990,990,921,1262,1532,1206,773,648,611,913,904,545,461,656,1044,821,962,1074,619,422,484,601,498,964,1610,1498,1608,1376,1126,1812,1754,1792,1792,1180,984,1080,1210,1604,1674,1292,843,1128,1176,855,832,998,840,991,1262,1154,1015,1180,1380,1470,1516,1472,1390,1470,1492,1474,1744,1916,1622,1560,1606,1734,1782,1624,1592,1730,1496,1262,977,738,838,927,1007,1202,1362,1158,719,471,532,396,359,426,429,448,604,829,1176,859,414,451,521,609,544,529,480,358,322,476,1020,1196,1060,1456,1678,1776,1798,1324,844,772,660,601,656,1152,1484,1536,1204,1019,1234,1680,2190,2160,1454,1224,1528,1786,1386,1332,1336,999,1206,1504,1302,994,1174,1410,1032,790,919,1456,1814,1268,611,652,952,1000,1190,1220,958,661,600,698,756,929,886,1034,1252,1378,1120,1100,1122,899,1002,1154,1278,1174,1114,1086,1005,972,1212,999,719,741,807,784,871,494,664,791,1072,1510,1524,1288,1114,1368,1458,1118,1028,1340,2110,2396,1664,871,935,1140,1068,838,680,709,707,457,747,1026,897,1104,1158,1378,1116,858,742,644,644,548,802,1016,781,388,337,385,406,755,1412,1564,1000,688,703,719,646,599,604,539,617,675,650,662,1012,950,893,912,800,725,807,805,661,505,672,606,670,843,910,871,763,502,397,496,636,814,950,1448,1342,1036,518,637,1050,980,483,321,343,381,381,350,433,458,617,1030,918,766,614,624,948,1462,922,490,473,685,1340,1166,521,271,316,393,454,393,424,448,642,1180,1350,1540,1758,1614,700,639,857,702,439,394,640,1336,1194,1244,1534,1412,1158,896,516,586,858,995,933,1266,1410,1366,1542,1482,1204,672,397,364,396,763,1288,1422,1172,996,885,818,685,709,709,900,732,554,653,1078,1494,1296,1240,694,385,446,973,1540,1582,1024,791,1278,1252,1366,1524,1500,1572,1440,1432,1422,1032,734,543,369,396,706,818,581,658,846,684,744,1356,1358,1310,1404,1250,1154,1238,1192,1098,1274,982,960,1090,1060,1038,1026,1304,1266,1306,1456,1582,1432,1042,660,539,565,519,571,477,381,357,375,348,360,414,431,461,538,710,680,571,681,828,752,767,678,524,980,1302,1108,960,1368,1572,1792,1746,1294,1020,918,841,733,649,682,690,642,560,454,930,1350,1472,1506,1498,1390,1538,1480,1350,1510,1388,1422,1688,1606,1986,2114,2020,1974,3086,2400,1728,1598,1388,1224,1160,1376,1418,1644,1400,1338,1410,945,677,901,1004,912,757,513,429,419,435,736,1072,1160,1302,1234,1346,1060,838,747,1074,1290,1170,942,1188,1406,1126,1124,1144,727,735,674,589,572,541,504,522,532,468,398,495,627,613,563,634,669,828,998,1256,1400,1598,1660,1214,649,574,735,902,865,1150,925,653,676,509,546,837,1160,1446,1009,1023,1668,1576,1672,1100,755,612,1278,1626,1122,1130,1594,1726,1578,1498,1536,1616,1350,1026,1198,1324,1100,1080,858,626,631,716,1400,2712,2938,2342,1504,922,1398,1530,1338,1394,1114,1208,1284,837,692,1138,1578,1444,1586,1746,1652,1606,1574,1428,1372,1704,2040,1820,1252,1350,1088,1050,1306,1472,1348,1338,1302,1116,974,1230,1488,1616,1128,1064,1716,2112,1720,1092,1174,1392,1254,1320,1488,1274,962,1238,1078,1154,1544,2100,2254,1916,1448,1028,1068,1086,1005,957,574,664,840,665,1212,970,819,1232,1350,1248,1576,1418,1172,1338,1318,1368,921,905,1332,1282,1540,1436,1102,1098,1268,1122,819,688,1011,1162,944,871,1148,1078,1090,1230,1140,869,644,617,761,1030,1026,890,724,1006,1212,1318,1294,1190,1296,1310,1072,983,851,799,636,876,1160,1130,1200,1112,747,525,546,597,801,896,504,485,429,408,407,539,575,604,507,362,505,524,786,1280,1058,738,655,472,251,250,264,259,299,294,562,1218,1072,700,693,1028,1078,1324,1590,1750,1046,697,482,470,413,266,348,637,916,812,294,433,669,550,668,758,995,1136,1184,1362,1400,1316,1082,979,1256,1288,829,865,847,573,505,844,1164,813,531,649,788,842,1030,1116,976,888,1396,676,876,1384,1058,1176,1324,1086,1266,1644,1094,783,684,1324,1616,1576,1382,999,711,666,745,471,383,441,524,325,303,343,372,941,1400,1150,783,569,819,1128,1288,1594,1150,647,969,954,1634,1880,1180,476,592,1080,1202,1224,1306,1080,1212,870,838,604,640,642,591,612,875,1090,976,1090,933,741,581,398,482,942,1098,869,822,758,489,640,711,639,1132,1420,1298,1652,1472,1300,1520,1580,1448,1528,1504,1394,1276,1320,1588,1522,1012,1064,1248,1340,1154,1134,1260,1384,1252,1324,1422,1116,862,806,940,1180,853,509,874,742,444,359,364,646,1080,1322,1340,1192,825,975,1128,1342,1380,1338,1258,1296,1500,1460,1268,1260,1156,885,682,783,783,1054,1026,648,553,551,672,565,803,1462,1694,1152,682,922,1852,1614,821,1326,1606,1226,974,730,1298,2492,3392,2714,2308,3498,4132,2304,919,796,793,636,560,598,610,590,586,594,936,1156,855,660,730,1066,913,653,782,1068,1198,1316,1290,1240,1296,1200,1268,1252,1122,1198,1260,1304,1268,1312,1422,1504,1314,1232,1106,1180,1288,1250,1134,1092,1066,1086,1266,1366,1454,1380,1086,868,808,932,636,617,857,1136,986,737,747,887,985,683,408,405,429,501,680,874,829,692,569,613,659,564,628,1066,1794,2128,2014,1200,693,683,969,1224,1372,1396,1172,1224,1448,1186,752,743,1064,985,1180,1222,742,434,394,1006,1526,1274,1198,1084,857,880,634,614,895,1290,1180,1172,1356,956,492,833,1226,1242,1186,952,686,1002,1234,948,597,529,556,921,1300,2476,3022,1334,1166,1096,837,614,720,1030,1434,1578,1338,1112,943,952,1450,1844,1022,414,304,300,278,268,266,257,237,255,324,396,364,363,445,344,315,303,401,329,258,273,322,380,400,463,745,959,1346,2006,2088,1412,1604,1454,1408,1136,567,525,553,558,1017,1426,1388,918,881,1258,1296,1018,1010,782,525,465,451,680,1032,781,758,535,612,631,695,955,890,1156,1068,1344,1302,686,472,339,315,291,345,412,907,963,805,966,1166,1250,1074,1354,1610,1206,547,536,516,606,879,1332,1646,1230,1000,907,919,1130,1288,1852,3160,1776,1168,824,1102,1144,698,1058,1260,1086,713,547,406,425,669,974,1620,1400,966,1192,1314,1108,771,702,1092,1276,1036,747,899,1378,1015,550,433,391,553,546,587,433,318,369,542,580,794,698,439,319,397,807,1064,1204,1398,1698,1552,1068,906,703,982,513,321,359,716,1168,1384,1636,1672,1412,1334,1624,1910,2022,1882,1406,1832,1848,1570,1506,1494,1268,987,1192,1392,1134,1188,1260,827,595],[781,664,505,618,722,684,639,515,362,356,387,404,392,450,487,380,473,653,395,247,389,401,379,385,270,235,247,327,409,376,327,394,380,308,275,259,258,250,241,253,270,261,287,301,288,291,318,348,377,365,397,424,602,887,941,879,829,790,623,558,557,499,592,1264,1622,2194,2370,1288,699,576,572,899,1001,788,1212,1232,1084,1140,852,702,687,1216,1236,703,416,825,1764,2102,1898,1802,1738,1586,883,604,586,572,538,475,530,584,487,451,401,365,380,347,319,339,361,379,366,329,386,534,610,590,537,527,458,388,396,369,342,339,378,363,396,413,313,265,264,285,299,324,338,296,321,311,368,362,332,333,329,351,396,427,365,354,430,724,1384,1120,691,446,320,374,362,352,428,578,543,480,628,585,573,560,539,547,470,653,1284,1388,1204,1424,796,649,703,602,565,645,1138,1200,637,533,645,838,1038,1114,908,507,371,355,365,345,339,362,377,391,388,344,336,324,281,281,310,307,470,648,666,558,567,539,483,421,312,350,423,506,518,550,705,636,552,673,869,912,796,915,938,820,1422,1734,1136,723,717,564,535,514,677,1228,1088,625,617,529,506,492,469,390,423,484,524,947,1110,807,860,852,717,514,388,334,357,390,444,463,436,437,408,414,587,761,526,565,662,602,569,529,476,484,520,493,446,426,406,378,395,422,800,1384,1362,1258,945,677,603,591,1012,1270,1304,1240,1218,908,1398,1110,784,882,1166,1088,877,863,691,581,607,694,641,513,386,633,1410,1488,1050,567,459,419,639,919,1000,708,606,1506,2054,1072,1082,1256,1014,884,906,684,464,756,1224,916,891,1082,1230,1140,828,1021,1594,1496,806,467,486,464,561,509,326,447,1094,1418,1470,1504,1288,1458,1256,916,1066,1300,1042,990,739,937,1528,1384,1466,1252,947,909,1086,1250,1460,1520,1132,683,517,545,541,547,538,712,1772,1864,1208,828,531,412,362,585,1216,1362,628,423,443,650,574,639,533,837,1734,1758,1250,1306,940,1242,1412,1548,1854,1506,1458,1306,816,564,534,580,582,481,445,745,1288,1232,1142,1202,1190,1258,1570,1232,588,352,444,771,922,966,763,649,658,450,443,362,323,380,527,601,511,897,1668,1598,1688,1264,1266,1868,1916,1856,1616,1172,1026,899,1009,1192,1110,957,1032,1202,1188,1000,774,891,1072,1054,1136,969,953,966,1472,1628,1470,1592,1710,1354,1016,864,1450,1416,1224,1646,1640,1694,1592,1364,1350,1582,1522,1348,850,571,683,962,1202,1324,1338,1274,1010,847,991,1054,1348,1120,715,561,633,867,1064,695,418,404,380,505,589,631,539,382,377,506,1114,1230,800,833,1068,1112,1236,1302,1174,681,517,540,543,1050,1638,1592,1122,728,745,988,1292,1282,1130,1518,2102,1994,1356,1422,1278,964,1074,1376,1488,1494,1236,1124,1182,911,755,1080,1406,1106,935,935,807,852,1016,912,1024,1036,909,1344,1326,965,775,709,910,1230,1228,1064,988,801,808,968,950,618,527,466,417,582,724,739,1050,1010,943,1002,956,703,954,882,1040,1366,1526,1456,1132,1132,1470,1386,1050,875,985,1268,695,726,1402,1642,1552,1356,963,879,867,722,847,1230,1022,843,1150,1592,1204,679,580,766,783,541,698,813,1056,535,378,534,535,769,1194,897,637,660,770,1021,1078,914,938,943,849,626,618,623,604,611,613,653,734,916,1002,891,683,639,819,603,521,451,386,509,705,597,643,1106,1338,1044,566,523,361,309,312,477,470,343,330,348,323,337,309,354,600,596,797,1238,1406,741,432,653,1230,1344,697,602,794,827,1368,974,443,297,347,445,590,543,691,919,1126,1106,881,853,1074,1400,562,483,891,1178,769,459,816,1564,1554,1016,664,712,1042,1154,1021,1094,1076,720,1290,2480,2220,1798,1746,1640,1268,625,391,396,546,1104,1320,1334,1318,912,676,705,817,921,770,490,411,436,588,1248,1340,1322,1128,713,535,541,1166,1814,1616,901,805,1358,997,1370,1506,1554,1550,1504,1406,1288,1194,942,482,415,639,1202,1320,930,852,938,651,760,1276,1350,1348,1296,1300,1282,1266,1232,1176,1240,1364,1414,1144,1138,1021,1126,1048,985,1238,1470,1400,902,497,507,568,454,434,551,558,458,391,394,423,551,547,455,499,579,659,720,654,728,795,703,663,627,484,668,1214,1302,865,1232,1062,1472,1760,1178,933,1056,1042,938,744,678,663,618,399,357,865,1180,1196,1216,1266,1422,1470,1348,1444,1548,1298,1456,1532,1534,1908,2058,2156,2130,2842,2164,1550,1484,1382,1356,1318,1328,1484,1464,1406,1436,1282,820,649,849,890,804,772,561,498,440,714,1042,1132,1156,1302,1194,1340,1400,1116,1056,1198,1150,1210,1256,1216,1004,601,530,476,502,860,891,535,510,512,495,530,530,451,777,1194,996,836,892,894,930,1122,1288,1186,1188,1334,1572,1094,625,809,1310,1136,894,1026,762,737,724,520,554,832,980,1266,1060,664,974,1588,1354,970,808,835,1352,1512,1054,956,1416,1830,1666,1538,1642,1636,1552,1318,1318,1362,1170,1030,638,695,626,748,1274,1618,1152,871,1160,1706,2098,1884,1600,1566,1306,1362,1484,1208,658,768,1438,1598,1982,2648,2436,1578,1298,1310,2022,2552,2602,2138,1440,1652,1550,1136,1078,1296,1636,1982,1846,1246,1126,1220,1438,1714,1528,2008,2194,1782,1424,1166,1224,1386,1150,1013,1372,1428,1124,925,946,996,1786,3122,2636,1614,1320,859,648,941,1400,1458,1530,1330,875,628,970,1078,890,1068,1160,1212,1256,847,1076,1284,1312,1648,1044,1428,1594,1284,1504,1526,1296,1112,1212,1304,1272,1296,1594,1490,1318,1278,1322,1138,1118,1292,1274,1070,777,758,897,1042,1202,1220,1072,1350,1338,1226,1266,1258,1274,1190,1100,1120,1080,1388,1126,1068,1130,1094,1144,1730,1730,833,536,836,928,1138,952,576,432,423,377,635,1058,1074,807,955,774,465,910,1444,865,390,271,227,190,280,356,379,314,252,915,1874,1300,711,587,667,729,1372,1628,987,830,1076,987,784,484,354,442,713,1380,972,381,575,640,519,1018,1418,1290,1258,1166,946,954,791,666,907,1266,1032,574,798,904,577,282,521,778,623,514,599,869,1288,1210,1238,1372,908,478,439,1013,1246,957,1144,1332,1332,1180,1360,1186,1216,1374,1636,1600,1500,1346,1052,745,876,1234,566,316,370,420,473,448,469,647,1262,1296,1084,980,786,1508,1780,1334,1544,1294,619,488,523,608,872,724,386,424,551,619,902,1160,922,949,632,633,574,693,620,506,630,944,1268,1208,1484,1118,847,618,462,395,551,899,985,875,611,473,433,433,590,1013,1302,1324,1848,1376,953,1272,1376,1328,1360,1528,1598,1498,1648,1686,1588,1360,1514,1542,1312,1276,1498,1458,1354,1350,1198,1226,1154,857,830,1100,1162,695,355,473,625,490,300,346,534,1015,1204,1376,1394,1088,1088,1170,1444,1598,1400,1278,1288,1408,1622,1522,1172,1158,1302,807,838,1274,1544,1044,915,1178,722,389,349,446,827,1510,1334,936,842,1358,1490,1876,2604,2588,2464,1946,1130,1268,1362,1768,2396,3728,4068,3016,1644,988,963,830,607,719,822,907,855,739,698,801,1198,888,594,576,649,594,543,571,900,1188,1370,1328,1500,1382,1370,1350,984,791,760,870,1136,1228,1292,1360,1340,1180,1128,899,1002,1152,1032,740,636,792,1250,1730,1610,1472,1284,1160,1046,816,909,940,802,835,819,619,473,609,756,593,390,388,427,499,572,550,727,968,943,862,792,639,988,1100,1228,1312,1007,1100,862,702,866,884,1050,1386,1302,971,870,1264,1422,780,827,991,1098,1260,1260,918,521,390,618,821,750,641,554,560,550,841,765,779,1416,1534,1250,1312,1274,778,799,615,1032,1380,1026,538,1007,1388,1138,811,579,569,873,1352,2222,1632,662,1212,1694,1300,1012,1558,1488,1498,1786,1604,1508,1090,758,1106,1656,1300,619,373,322,243,238,281,284,280,284,292,303,357,417,466,376,299,375,491,476,448,420,321,323,354,343,548,805,1490,1998,1920,1296,1088,1096,1478,1576,954,727,545,356,389,487,1062,1288,885,1078,1352,1298,1316,1220,884,645,594,902,1054,1022,1080,713,711,741,532,583,1196,1468,1224,1448,1132,810,505,350,335,341,395,476,825,1154,1184,974,935,1086,1108,973,865,689,522,509,554,551,988,1458,1522,1202,788,485,675,895,850,891,1286,1240,1340,1062,861,828,835,792,982,1316,949,791,680,753,962,1224,1500,1284,968,1262,1236,794,868,1172,1292,1422,1258,1102,838,1300,1076,552,411,427,341,427,447,444,408,498,820,567,712,572,587,490,445,899,1122,1176,1302,1390,1276,1416,1370,1076,1368,692,385,422,1001,1412,1588,1628,1432,1340,1202,1384,1718,1796,1620,1740,1952,1782,1576,1620,1384,951,1180,1690,1592,1482,1296,1382,943,1038],[746,589,535,629,565,464,382,349,371,391,407,401,395,541,692,739,1214,1172,458,308,359,356,393,358,301,357,383,437,461,385,331,471,380,297,277,256,249,228,224,266,266,246,283,293,287,293,312,401,403,401,442,444,642,888,996,750,459,422,395,755,923,666,607,1076,1564,2308,2390,1240,590,555,448,654,1208,1224,1170,889,699,720,730,916,1170,1610,1556,872,463,588,933,1244,1660,1742,1640,1426,761,500,513,484,483,501,580,837,838,653,543,444,422,399,333,350,376,368,347,377,477,565,567,558,518,613,409,378,363,327,291,251,228,227,256,342,361,307,287,302,314,342,333,332,321,330,354,344,336,312,315,372,414,444,470,404,525,1102,1502,1072,609,426,343,417,416,382,463,547,573,561,708,814,758,637,585,586,474,539,1002,1066,1174,1100,727,641,819,825,662,807,1128,992,801,641,539,1094,1510,1166,871,516,354,365,315,298,284,325,462,423,352,339,313,299,320,299,328,323,433,702,769,635,616,556,431,266,310,451,535,597,665,663,541,438,446,672,859,784,729,1110,1092,897,769,1011,980,928,755,536,533,588,1166,1748,995,648,530,495,474,434,428,395,401,431,506,741,710,507,516,573,1024,872,545,402,354,397,443,431,421,419,390,470,777,696,497,585,630,655,666,625,529,522,622,605,553,528,435,380,399,455,1032,1428,1354,1372,1062,680,702,838,841,788,1056,1340,1052,770,886,980,888,954,1316,1278,921,667,551,555,567,584,611,595,463,990,1662,1820,1220,691,605,626,1074,1206,774,508,953,1594,1086,615,937,1390,1222,552,648,885,783,982,1404,1294,1564,1384,1360,1338,994,1128,1550,1274,1062,879,698,781,645,436,378,717,1262,1017,886,1128,1284,1360,1308,982,1352,1340,1028,816,619,637,1064,1386,1498,1192,696,929,1334,916,961,1136,1032,674,487,514,528,532,519,519,850,1120,1030,800,596,519,454,408,584,582,482,490,434,446,654,762,518,601,902,1318,1294,1186,888,1072,1120,1542,1844,1560,1488,1194,780,597,486,473,478,487,679,684,800,763,813,1144,1198,1142,1322,1110,706,616,748,856,863,1384,1338,985,626,383,328,349,406,435,487,525,461,835,1704,1654,1682,1206,1272,1886,1976,1730,1260,856,722,630,1120,1508,1122,973,1172,1070,1076,1152,774,876,1112,975,941,954,809,620,1094,1350,1504,1484,1608,1650,1346,1206,1352,1278,1846,2050,1750,1664,1074,672,923,1252,1240,898,697,688,670,814,818,935,1244,1316,1334,1490,1648,1750,1824,1550,1270,1060,1088,1156,1186,984,626,327,655,1110,1154,927,1056,1318,1146,908,1234,1354,893,846,1036,1048,726,830,778,603,519,451,466,889,1418,1698,1990,1080,617,577,647,754,1296,1410,1412,1212,1108,1086,1234,1260,1148,838,963,1600,1302,1158,1374,1212,991,1208,1196,1114,1190,1016,1180,838,801,633,902,1432,1518,1532,1312,930,694,893,821,864,1238,1054,788,1042,777,597,411,279,300,400,372,412,572,820,1001,746,752,1118,1028,1248,1538,1522,1584,1570,1574,1460,1026,972,1028,1204,981,1020,1030,704,443,728,1028,1252,1590,1512,1021,1013,1028,947,750,1078,963,577,665,946,783,581,480,509,564,681,1036,771,1058,869,552,534,570,599,420,437,943,1056,763,757,1284,1388,1058,1120,1084,922,971,944,680,509,615,1062,1368,1188,865,741,594,397,288,257,285,342,325,468,773,709,685,1194,1186,739,457,357,360,380,394,377,328,321,312,332,288,274,285,327,367,390,477,830,1038,547,442,934,1154,659,505,726,765,571,633,395,324,299,349,540,635,645,761,744,697,489,354,387,431,920,604,357,611,968,739,453,681,921,913,680,542,692,1102,954,673,510,918,791,1406,2518,2464,2024,2272,1882,1522,916,438,432,621,1072,1262,1340,1340,949,549,518,817,1220,1040,822,501,354,538,786,976,931,786,614,408,415,781,1360,919,610,585,792,936,1370,1556,1682,1676,1536,1322,998,1180,1368,829,493,764,963,800,1120,797,778,675,572,832,1202,1130,985,1048,1308,1246,1102,1084,879,1224,1252,1370,1320,1100,1122,1158,1096,1088,965,767,547,456,563,586,443,340,379,472,532,451,385,424,528,605,514,479,542,540,551,670,821,794,643,565,503,499,657,1038,1488,1009,1224,1214,1448,1292,1362,1664,1268,1012,1132,1032,781,614,530,377,512,925,1160,1222,1472,1584,1594,1476,1446,1594,1814,1340,1622,1770,1754,2024,2148,2078,1996,1974,1700,1450,1308,1294,1472,1490,1088,1324,1522,1364,1390,1136,702,581,606,554,539,678,658,603,674,995,1130,1021,1086,1194,1282,1392,1370,1382,1404,1001,924,1015,1172,1310,905,529,460,597,725,977,866,594,528,471,526,538,503,455,916,1324,1468,1562,1532,1406,1170,1094,995,815,614,626,1234,1560,1386,1350,1208,721,887,1140,906,796,644,485,574,943,900,985,937,647,725,988,944,933,822,1021,1318,1134,749,1070,1588,1566,1454,1584,1710,1672,1626,1510,1338,1136,987,1130,634,437,479,635,1038,1256,1162,1498,2000,2236,2360,2214,1664,1566,1778,1764,1908,1624,918,608,1426,3010,4308,4384,3160,1782,1332,1808,2622,2690,2416,2104,1532,1858,2098,1544,1019,1096,1450,1660,1644,1412,1310,1130,1336,1646,1896,2116,1642,1150,1188,1226,1060,1023,1050,1178,1458,1352,1324,1216,1220,1110,1390,1786,1450,1128,897,781,562,654,1208,1248,1320,1048,957,954,1092,1088,1094,1246,1334,1234,1028,1184,1310,1250,1378,1378,1366,1854,1688,1324,1378,1456,1576,1446,1310,1310,1378,1460,1394,1560,1356,1216,1198,1056,1028,1174,1624,1648,845,635,780,986,1258,1272,1158,1176,1172,1152,1258,1416,1226,1180,1130,846,580,601,896,969,1222,1454,1186,1444,1492,825,641,1130,1021,1308,1460,843,525,449,441,552,783,739,753,1230,853,525,592,859,490,290,245,211,275,320,463,547,469,480,591,1300,1088,833,815,683,477,854,923,882,1274,1388,1494,1108,873,531,444,431,851,543,312,534,630,365,686,1382,1392,1342,1188,1198,659,484,501,686,811,504,342,658,997,844,408,456,718,1007,831,618,778,1434,1042,986,1282,987,567,597,1144,1268,1346,1374,1212,1198,1274,1346,1388,1534,1484,1466,1458,1392,1228,1040,932,752,850,482,376,688,754,692,512,554,1028,1076,1324,1810,1520,841,1388,1592,827,798,1046,636,402,513,480,440,403,454,510,463,488,539,675,680,600,478,415,467,693,871,749,751,843,874,1494,1854,1258,874,734,526,416,455,495,694,868,697,645,586,561,772,947,1170,1206,1360,1050,1110,1324,1194,1284,1168,1346,1462,1498,1618,1622,1678,1610,1588,1636,1464,1282,1354,1356,1300,1362,1206,1266,1246,1090,1126,1266,1144,933,876,913,965,790,410,490,848,1142,1078,1494,1678,1186,1194,1412,1498,1754,1466,1310,1262,1412,1388,1092,898,1216,1396,847,619,1058,1114,1120,2052,2362,1218,431,396,390,459,895,1152,1188,1226,1694,2238,2362,2284,2780,3340,2976,1340,1002,708,628,1752,3232,2678,1378,1320,2146,2294,1312,520,535,657,799,675,653,719,613,538,565,547,626,738,575,612,807,970,1260,1440,1426,1350,1252,1368,1196,728,634,633,544,695,1050,1448,1570,1232,1266,1324,1302,1272,1178,859,693,746,719,1274,1588,1200,1238,1112,1216,1092,944,1140,1198,1116,758,537,446,445,362,350,317,368,378,412,507,584,612,718,808,907,1002,866,774,1266,1176,1180,1180,1044,940,993,1042,675,487,879,1178,1204,1252,1012,1378,1658,1214,973,1042,1338,1526,1526,1074,595,467,726,841,1060,822,639,482,510,1086,929,610,800,1238,1348,1166,1166,943,1028,636,534,1108,1138,683,987,1626,1588,1010,570,373,473,605,516,401,359,902,1842,1532,750,1044,1416,1588,1520,1162,1258,1212,868,735,908,1154,936,569,390,271,279,293,356,524,461,354,349,608,951,1092,677,300,462,663,676,620,536,391,313,357,410,572,943,1282,1122,1062,1088,1015,1096,1516,1566,1332,692,435,367,468,511,786,1062,1120,1116,942,1220,1434,1322,1338,1074,1236,1516,1072,954,1012,816,773,825,915,1284,1736,2206,1642,1046,692,654,607,348,298,286,305,539,971,1013,930,1332,1272,1280,1210,658,337,384,529,541,545,684,1032,1184,1274,1102,755,709,767,471,329,540,675,1084,1320,1268,1142,1015,1082,1017,767,966,1013,1254,1376,1218,1064,1030,1354,1366,900,969,1034,592,708,852,1078,1264,1264,1032,695,960,1214,895,498,411,327,339,268,273,351,380,468,580,700,652,939,727,382,816,1340,1220,1142,1156,1286,1394,1144,939,635,469,406,601,1048,1264,1556,1922,1902,1236,1122,1428,1526,1498,1556,1698,1816,1808,1802,1654,1118,739,1170,1384,1202,1422,1404,1522,1506,1534],[686,655,547,510,521,452,400,393,360,311,291,304,332,338,419,866,1390,1005,387,286,387,452,438,393,427,456,373,378,402,380,325,475,388,301,281,250,240,214,212,268,273,254,285,293,292,313,307,412,470,450,509,559,484,638,899,518,729,832,832,1150,1360,1001,800,1074,1378,1904,1790,1011,886,493,451,525,1004,1032,874,636,481,506,433,669,1324,1522,1438,1048,764,891,1009,904,617,657,1174,1168,554,423,444,426,408,446,508,621,880,933,897,824,667,597,622,561,468,421,391,437,461,531,491,459,476,508,322,255,251,215,204,207,222,234,234,375,539,564,428,336,339,348,367,388,384,375,328,328,317,320,351,383,390,439,467,421,637,1114,1266,994,646,453,390,431,419,351,428,525,571,601,760,873,641,522,550,533,364,384,393,373,683,984,916,865,1272,1248,961,865,921,875,1106,987,1132,2004,1820,1020,859,569,336,390,305,301,307,328,497,477,326,339,318,294,306,301,287,265,398,693,824,667,616,451,298,272,390,487,522,616,836,857,565,434,604,636,768,740,881,1320,1320,1182,954,825,784,653,553,491,572,825,1764,1750,872,484,451,472,447,442,426,386,501,642,694,938,732,457,438,1148,1302,723,497,409,374,379,381,362,372,394,371,534,791,732,560,524,615,654,671,577,518,490,537,543,496,472,492,457,469,809,1360,1406,1392,1330,1092,671,623,644,707,543,613,1020,916,611,582,868,1048,971,1104,1176,933,1056,888,585,584,549,497,475,594,779,1120,1454,957,766,516,781,1278,1464,833,447,983,1166,703,643,1002,1346,1036,473,906,1020,908,1030,936,1372,1784,1488,1290,1472,1548,1154,806,827,1078,1288,1292,1182,692,499,433,655,912,899,992,1100,1048,1274,1434,1306,1418,1154,1003,796,859,1021,1192,1410,1592,1372,1194,1540,1248,940,1522,1362,1192,853,565,552,561,561,537,477,469,454,602,980,728,548,511,591,689,539,464,474,456,536,809,999,940,927,900,1156,1306,1246,1294,1268,1120,1282,1294,990,816,861,977,662,514,540,471,475,761,604,483,530,655,1044,948,904,889,725,648,736,783,864,669,870,1024,1110,1044,879,805,800,924,870,550,519,474,662,1458,1732,1602,1098,1180,1792,1844,1754,1184,1034,774,586,1013,1050,1086,1440,1492,1092,949,983,910,1023,954,962,839,840,488,404,866,1340,1184,1190,1648,1708,1632,1632,1514,1738,2322,1970,1568,1444,1102,1026,1210,1322,1252,1134,818,627,812,1002,850,583,1032,1338,1560,1348,1166,1506,1594,1450,1220,1326,1284,1260,1310,1286,943,801,1062,1252,1278,1066,819,893,1008,1040,1092,1004,952,1028,1007,1282,940,643,432,515,542,413,462,733,1302,1878,2200,1622,1098,785,585,580,1090,1424,991,902,1192,1272,1410,1368,1038,871,805,1520,1402,1312,1500,1284,1144,1042,808,924,983,783,770,966,868,778,1066,1222,1096,1076,1168,1146,871,1114,918,619,703,916,1300,1442,732,351,361,295,319,340,326,426,598,857,971,1090,1076,1007,1140,1250,1294,1538,1762,1692,1552,1344,956,1116,1011,926,796,927,1013,662,385,655,857,738,988,1268,991,785,756,727,651,839,1054,924,575,581,634,599,498,333,374,580,1260,987,855,1126,1050,725,492,368,259,417,1122,1502,1328,888,1404,1506,977,773,744,872,923,827,767,967,1288,1672,1534,1142,1074,807,614,427,334,324,327,341,364,347,504,494,320,307,277,424,547,422,338,381,425,360,293,306,325,325,383,546,646,372,189,281,287,406,444,321,544,1120,949,449,500,892,610,628,750,543,347,421,759,930,788,733,468,392,443,323,339,364,445,904,910,774,717,841,872,492,398,375,477,662,1005,954,736,430,317,325,1110,1210,791,1708,2720,2178,1998,1648,1950,1376,785,530,832,1170,1172,1170,1318,1132,658,588,577,802,860,701,464,462,824,1070,1258,988,568,608,438,461,694,802,600,822,643,465,608,1054,1470,1688,1658,1544,1272,755,962,1390,1400,984,881,725,950,971,650,542,571,650,1082,1264,1170,1150,1188,1208,1234,1238,1282,892,1230,1788,1388,1148,1292,1160,1140,1158,1058,552,388,460,444,519,651,559,335,296,374,424,377,331,371,416,575,554,506,564,565,505,589,678,561,561,672,676,565,684,941,1428,1214,1088,1246,1218,1158,1602,1532,1074,1266,1134,1178,957,601,466,598,823,803,708,1072,1594,1720,1592,1578,1600,1606,1908,1432,1712,1952,1968,2106,2180,2138,2054,1868,1734,1686,1500,1340,1396,1466,1012,1180,1366,1298,1400,1072,677,611,526,452,427,505,679,639,696,1002,1084,1005,1042,1108,1216,1266,1308,1456,1382,1100,876,781,824,1194,1316,1028,714,827,956,873,654,572,645,643,554,511,446,513,1202,1862,1754,1510,1646,1694,1606,1422,941,752,622,1052,1080,1184,1690,1858,1084,509,969,982,744,810,683,554,847,1140,952,879,786,704,792,770,735,1020,1120,1382,1494,1102,795,1244,1608,1432,1512,1594,1570,1538,1634,1366,918,880,732,976,708,576,781,741,839,1188,1708,2186,2426,2470,2442,1984,1530,1290,1686,1936,1814,1622,1200,633,1332,3386,3862,2840,3062,2316,1628,1916,2106,1904,1708,1720,1648,1674,2138,2554,1448,1024,1236,1392,1442,1326,1332,1326,1214,1222,1558,1634,1400,1346,1394,1148,871,691,1042,1366,1208,1198,1460,1400,1260,1034,957,1278,1574,1290,935,843,627,506,706,1032,1144,991,921,841,1106,1170,1448,1576,1368,1482,1490,1376,1308,1694,1816,1434,1464,1480,1488,1422,1312,1402,1316,1460,1616,1458,1282,1224,1336,1298,1210,1226,1278,1278,1298,1428,1510,1542,816,459,501,723,1046,1140,1166,1276,1226,1206,1332,1434,1286,1122,1152,807,500,503,789,864,1078,1490,1246,1064,1214,993,731,590,786,1362,1354,666,389,530,637,455,459,414,713,1040,849,726,358,453,437,294,223,257,317,364,356,396,533,636,1050,1492,985,1048,1398,1050,598,510,409,941,1534,1416,1348,1026,937,879,586,362,336,316,385,655,723,317,694,1134,1366,1256,1226,1378,1070,835,868,704,474,470,423,650,814,852,539,543,981,1636,1280,754,1210,1600,1068,899,861,692,825,943,1114,806,1230,1296,1058,1018,935,811,1212,1144,816,980,1534,1642,1238,888,827,885,633,365,500,820,1009,1032,735,1094,1468,893,1150,1322,1402,1110,1182,993,650,999,1164,916,996,1372,1178,746,488,841,1046,692,841,1130,932,500,439,474,457,538,775,889,709,731,827,923,1268,1420,1408,1314,975,634,411,499,525,464,665,795,755,816,954,896,987,897,1074,1458,1164,1068,1046,1220,1298,1228,1422,1278,1368,1528,1598,1648,1648,1576,1704,1710,1430,1352,1434,1290,1206,1274,1234,943,744,1042,1202,1020,1064,1156,1196,1186,1156,780,930,1084,1220,1202,1156,835,924,1720,1644,1262,1394,1534,1504,1358,1300,1242,1180,1404,1344,843,562,396,519,1130,2350,2812,2776,2194,1100,529,378,415,520,774,1160,1594,2094,1874,1686,2046,2792,2828,2520,1272,983,737,457,800,1816,2264,1744,2312,2302,1526,1078,623,491,552,656,656,647,647,563,569,681,789,924,1038,805,711,716,930,1300,1450,1278,1168,1256,1328,1074,593,465,471,477,500,738,1170,1274,1218,1184,1232,1242,1222,1082,673,929,1024,669,833,979,1040,1058,982,1144,1212,1108,1178,1282,1256,1168,1438,844,452,319,357,413,426,474,473,482,632,871,1036,857,776,1102,1324,1594,1860,1528,1586,1270,907,865,1064,1288,1038,789,819,902,1110,1340,1506,1522,1576,1620,1392,1130,1112,1142,1050,678,859,813,765,893,1086,979,954,602,427,502,463,574,1052,1516,1430,1462,1240,797,895,817,529,956,1410,1278,1132,1188,1098,787,415,308,393,487,470,480,383,457,1142,1310,944,1316,1724,1524,1254,925,1042,986,939,793,713,1194,1336,889,501,362,238,314,788,945,698,501,597,780,1126,1292,816,341,440,737,717,540,447,408,323,346,514,626,698,647,490,584,763,1130,1234,946,982,1268,869,556,444,576,803,910,885,1308,1264,774,1058,944,944,1400,1434,1932,1642,1108,1160,1604,1662,1282,1194,1406,1816,1910,1808,1318,1080,680,838,991,593,316,334,487,865,1098,869,896,1166,1308,1190,675,375,361,488,541,467,459,822,1150,925,1186,1064,818,1052,1224,663,332,388,473,885,1242,1270,1136,1048,1082,1092,1058,1360,1744,1632,1642,1566,1266,1048,1176,1272,982,860,742,626,612,528,960,1160,1350,1050,609,595,709,548,345,298,310,282,302,319,372,488,563,522,650,933,808,439,472,1138,1678,1594,1348,1358,1440,1262,900,611,615,681,656,879,1282,1322,974,1306,1636,1384,1296,1350,1068,1394,2026,2032,1678,1334,1444,1666,1240,742,517,725,1388,1526,1372,1580,1730,1606],[1200,1378,924,703,529,422,396,385,318,287,278,289,300,316,300,484,605,435,314,320,477,561,473,501,493,390,362,434,452,398,347,443,396,296,282,255,248,240,244,270,272,270,295,311,314,310,300,371,531,600,608,634,433,512,938,614,1132,1292,1338,1862,1766,1094,1010,1194,1682,2100,1372,923,1054,686,606,566,573,590,515,430,458,437,401,770,1822,1782,1614,1164,1016,1240,1128,852,681,565,1052,1234,537,484,441,390,379,410,504,491,601,682,992,1236,1234,1188,1218,953,647,436,421,452,386,365,384,378,348,272,207,187,204,203,223,233,214,232,226,312,738,1044,794,432,354,423,418,401,396,374,352,332,301,357,380,385,343,374,454,818,1318,1060,853,965,655,473,477,406,365,276,311,365,459,698,670,563,559,365,349,396,342,331,279,337,396,701,980,1130,1292,899,731,785,744,1007,1110,1040,1296,1598,1038,764,785,448,343,367,327,302,287,344,413,391,327,320,284,277,291,302,325,282,350,590,811,745,547,328,234,300,403,398,434,560,515,465,519,455,663,691,780,698,836,1346,1482,1246,1058,909,969,636,561,657,1068,1144,1248,905,586,456,462,448,447,428,393,382,615,763,805,1064,880,597,656,1358,1130,414,354,348,350,337,325,359,357,362,372,573,868,952,634,604,867,715,675,611,565,469,490,448,443,448,444,458,414,717,1244,1550,1448,1110,821,703,965,893,760,515,558,813,733,572,689,780,912,784,836,946,912,1354,1202,706,547,587,500,586,1003,1116,1148,1124,666,463,487,838,1324,1274,664,465,602,662,742,1005,1228,1528,850,809,1348,1162,842,670,681,1294,1576,1760,1716,1582,1224,969,951,1122,784,1092,1444,1260,851,598,500,449,589,996,1262,1138,790,1108,1346,1452,1458,1228,850,694,1142,1526,1476,1430,1378,1484,1730,1594,1192,1666,1782,1184,1082,873,725,511,508,559,595,516,497,477,782,1490,1082,587,545,919,1136,731,638,675,747,621,937,1224,1130,1134,1118,1266,1318,1722,2124,1542,1420,1450,1094,730,531,752,876,502,473,505,465,436,623,962,1150,987,1032,1042,695,537,419,413,508,855,1162,817,630,1154,1304,893,1122,1018,1012,1338,1822,1484,853,642,626,697,1318,1766,1490,1126,1356,1880,1866,1766,1280,1334,1080,711,844,1032,1062,1030,1242,1420,1250,1021,946,1216,1268,1146,1094,792,554,650,1086,1400,1250,1340,1528,1007,1068,1584,1766,2026,1938,1600,1282,1356,1260,1122,1442,1526,1246,962,602,503,827,909,730,733,686,1046,1386,1064,885,1178,1268,1278,1168,1296,1208,1058,1244,1212,1372,1512,1118,984,1108,996,650,877,1168,1060,841,601,683,1009,1108,1180,1308,1017,419,460,469,403,545,891,1308,1638,1614,1410,1636,1360,804,715,1252,1494,1038,711,677,1386,1286,861,868,1098,1278,1528,1494,1466,1152,967,827,832,926,801,615,678,913,1082,1034,921,1202,1226,1082,1250,1080,717,572,555,550,434,462,840,1400,1246,633,372,357,329,365,386,372,467,764,872,869,1310,1158,908,1212,1220,1422,1506,1584,1322,933,892,702,907,987,676,626,1198,1560,1180,751,762,883,798,1158,1170,893,877,910,738,686,721,1098,1296,792,585,623,544,505,368,405,412,614,807,1098,1250,1074,1064,811,457,310,324,527,1023,1308,769,1036,1166,1112,1172,1286,1330,814,596,560,921,1332,1858,2192,2056,1660,1582,1234,550,437,425,549,837,747,397,474,416,345,385,415,439,446,350,276,310,348,333,318,297,320,521,906,920,761,366,245,535,569,479,357,425,639,689,548,436,521,706,812,1068,1400,1030,335,480,872,880,985,1146,480,354,483,528,543,573,749,1003,825,583,680,1204,1410,1250,1186,922,960,1040,893,618,452,579,735,501,711,869,703,1088,2234,1412,587,703,1164,1474,1102,577,946,1704,1822,1582,1508,763,418,547,786,1300,1084,576,352,381,703,1250,1536,1005,463,546,433,780,1574,1576,872,618,583,539,403,406,724,1072,1438,1382,1090,682,742,1210,1534,1556,1448,1438,1166,841,642,542,420,591,1080,1186,1036,1132,1334,1282,1200,1222,1404,1122,927,1336,1300,1388,1356,1298,1184,912,638,499,512,517,467,519,724,815,475,355,389,369,347,316,389,432,487,550,565,588,648,615,579,528,530,579,687,817,649,636,828,1206,1438,1236,1036,1360,1598,1650,1506,1566,1638,1058,1036,1126,913,724,798,598,516,611,806,1054,1198,1064,1076,1026,1218,1420,1416,1798,1958,2050,2164,2200,2190,2058,1708,1668,1826,1632,1346,1346,1310,1028,1208,1366,1288,1316,900,786,702,573,476,407,441,583,619,566,700,968,1086,1120,1216,1176,1190,1294,1396,1396,1284,996,678,705,942,1124,1294,1182,782,704,625,592,535,605,706,583,591,656,918,1558,2320,2238,1824,1758,1542,1652,1846,1516,983,1116,1222,855,995,1286,1306,641,654,1250,1050,835,775,703,572,875,1068,927,935,838,895,1056,988,952,1172,1596,1460,1476,1818,1626,1612,1644,1444,1396,1250,1258,1226,1528,1236,695,785,752,893,702,973,1474,1004,711,938,1488,1822,2154,2130,1802,1316,1424,1434,1310,1598,2078,2010,1412,959,992,2598,3320,2414,2924,2280,1674,1762,1772,1622,1594,1618,1498,1354,1586,2220,1824,1106,1092,1428,1500,1386,1334,1256,898,802,1450,1786,1668,1334,1186,1212,1056,987,1030,1024,1178,1362,1302,1384,1224,946,1064,1250,1688,1488,1028,909,729,595,840,1152,1170,1106,1074,844,1078,1282,1632,1816,1384,1666,1584,1058,847,881,876,1020,1236,1214,1544,1470,1290,1210,1112,1184,1456,1618,1532,1552,1310,910,1078,1290,1252,1130,1150,1512,1538,1378,850,491,533,886,1072,1104,1198,1236,1268,1350,1390,1596,1494,1246,1260,1132,1128,1178,1122,969,974,908,838,865,1062,662,460,415,485,656,521,359,447,597,631,357,352,329,492,502,962,1178,985,800,558,361,230,307,377,546,610,441,390,709,1588,1630,1082,1086,1454,1160,707,824,882,800,1058,995,842,818,929,1310,1242,815,400,384,440,675,557,429,995,1172,1106,835,918,1184,1418,1366,1078,617,558,699,851,795,533,703,819,738,833,974,1023,838,1402,2182,1570,941,726,744,967,943,960,825,921,953,965,1194,940,854,1042,879,1234,1224,1526,1520,1230,883,1013,1432,995,526,597,678,1015,1438,939,1106,1152,871,926,1110,1246,1048,861,645,687,991,969,972,1246,1460,1184,777,516,1068,1544,1168,930,1106,938,549,501,424,460,512,504,477,476,619,705,738,921,1044,1040,905,750,502,443,703,630,682,975,1088,963,1240,1354,1112,1138,979,1288,1554,1310,1158,977,1026,1072,1210,1294,1200,1422,1670,1506,1626,1628,1432,1600,1622,1772,1684,1588,1462,1390,1354,978,509,654,1058,1044,1042,1202,1218,1148,1252,1360,1148,1108,1210,1230,955,916,1420,1694,1886,1320,1152,1310,1660,1562,984,1186,1380,1116,1122,889,481,466,324,366,892,2230,2790,2856,2798,1958,840,357,399,794,2030,2548,1710,1566,1242,1292,1574,1954,1726,1290,1170,1250,911,716,603,1542,2564,2288,2040,1494,1394,1384,987,639,499,590,604,498,463,518,625,749,842,1000,903,783,750,554,581,927,1013,868,1030,1194,1210,879,535,477,480,487,487,493,799,1188,1238,1230,1588,1510,1228,810,495,594,725,591,400,647,741,789,982,1278,1390,1298,1330,1142,1216,1636,1742,1396,1104,685,550,577,633,863,711,472,600,798,1056,1002,778,930,1164,1346,1474,1776,1730,1316,1072,879,917,1024,1264,1454,1060,812,1490,1604,1356,1452,1712,1834,1484,909,725,937,978,896,1068,954,954,1340,969,688,821,600,541,423,408,526,920,1396,1388,1622,1526,1150,1090,1106,872,613,1052,1354,1220,1036,1086,1306,804,469,473,427,396,413,506,654,755,761,1078,1332,1424,1516,1536,1356,1692,1588,1426,1050,676,705,960,786,417,329,282,251,592,491,475,650,666,726,908,951,1196,672,484,695,669,505,441,443,412,373,509,651,572,555,521,803,752,753,1218,1230,1392,1328,1180,957,647,628,914,1108,1360,1648,1001,932,919,677,660,939,1254,1938,2358,1800,1088,1722,1754,1062,899,1240,1760,1808,1252,1034,1122,914,1338,1494,750,343,398,888,1256,949,924,1042,1054,1210,1026,750,530,411,507,511,592,730,802,968,1248,1178,1138,1184,1546,1294,566,402,399,402,386,491,946,1206,1060,1062,1030,1064,1946,1996,1296,1408,1466,1220,1004,770,667,603,739,830,657,876,1078,1312,1200,916,717,676,411,381,457,454,386,367,378,366,358,412,572,684,622,869,1076,530,355,583,1372,1504,1470,1320,1430,1434,1416,1296,1152,981,1086,1210,1434,1474,1438,1356,1616,1494,1148,1198,1200,896,1260,2086,2126,1556,1190,913,1256,1644,1418,1030,1300,2212,2194,1616,1470,1482,1132],[1768,1982,1666,1350,963,508,417,371,443,391,320,297,409,479,348,280,307,316,316,392,606,698,575,638,551,390,388,449,389,324,361,456,392,268,268,257,250,249,271,275,281,309,293,332,344,363,375,369,525,661,626,603,416,542,775,747,965,1420,1688,1836,1598,995,814,1160,1532,1686,1656,1780,1486,982,803,899,780,731,628,450,483,437,479,1066,2260,1798,1142,634,650,891,1104,1134,1005,867,1078,1152,504,422,388,334,405,443,489,536,710,854,897,1102,1594,1544,1312,1092,742,397,402,411,324,290,303,294,246,184,225,245,234,231,227,234,236,261,277,317,739,1112,780,472,474,678,728,517,420,370,361,336,356,395,430,385,347,353,463,894,1294,1308,1110,1060,659,481,386,393,417,354,392,356,443,720,544,653,728,569,491,466,426,352,296,387,447,545,667,1090,1238,1176,1230,1090,645,568,835,864,1032,1060,807,659,490,304,311,357,378,389,417,399,414,422,351,329,319,328,290,269,303,295,290,443,653,627,425,277,250,323,539,580,488,551,591,642,455,379,557,760,786,704,711,979,1274,1190,826,810,862,919,883,1158,1892,1560,662,344,358,424,460,437,453,452,418,446,664,830,996,1200,938,592,588,573,498,438,391,437,494,579,448,394,383,386,462,711,858,740,630,815,1010,529,616,775,630,475,444,425,440,440,410,389,398,620,1130,1410,1174,1220,969,940,1354,1282,1004,830,674,529,600,875,968,881,833,974,801,949,1024,924,839,662,503,505,495,533,880,1586,1456,1418,1106,719,749,749,868,810,510,504,774,1274,948,907,991,1152,720,780,1404,1236,837,643,910,1090,1156,1472,1304,861,602,697,788,810,524,806,1098,1036,836,465,409,374,427,973,1358,1168,1438,1926,1700,1494,1368,1288,1184,1070,1432,1612,1672,1592,1082,1194,1500,1716,1938,1838,1310,1536,1458,1023,1086,753,620,582,597,579,465,486,1016,1296,927,738,668,866,706,629,962,1228,1392,1200,991,1326,1042,711,1028,1298,1122,1482,1736,1218,1012,1420,1308,1002,583,478,411,326,395,430,537,681,965,1130,948,1288,1398,908,615,595,441,424,603,1290,1494,785,600,1264,1158,513,1036,982,879,1500,1830,1460,880,680,719,741,1366,1798,1514,1009,1470,1880,1944,1472,1042,1092,1001,767,1022,1430,1220,1208,1478,1600,1344,1122,1220,1150,1142,1230,999,535,426,661,1108,1362,1464,1552,1202,975,954,1184,1606,1856,1760,1648,1600,1426,1268,1400,1484,1504,1526,955,578,662,853,865,995,1156,1098,1306,1272,946,774,862,1086,1018,877,809,763,774,894,869,1182,1304,981,1023,1174,1064,1294,1394,1650,1324,937,738,695,951,1164,1364,1418,929,545,477,391,414,526,1220,1364,1268,1052,1300,2100,1654,1154,798,695,622,797,894,613,1172,1222,644,510,808,1286,1338,1408,1210,736,938,816,890,1376,1244,671,578,732,1136,1494,1288,1544,1500,1116,944,930,744,683,761,780,832,868,805,1013,1248,1054,608,437,377,363,513,452,465,726,952,1008,1028,929,808,1010,1404,1680,1694,1586,1090,985,849,603,750,870,688,1082,1756,1864,1484,1562,1602,1246,1066,1198,844,548,561,681,756,820,1050,1424,1544,1166,711,669,597,579,616,620,522,535,828,1202,1094,626,625,866,950,808,524,397,507,610,586,621,611,697,828,1368,1512,794,509,350,543,870,1240,1164,794,1003,1444,1182,530,458,489,709,1132,601,282,432,444,455,458,411,385,403,373,378,308,280,281,254,371,778,1208,1146,634,273,242,593,1278,1214,1040,673,653,1032,926,727,460,693,818,891,1160,1306,949,377,817,1246,866,870,1346,802,568,800,700,508,360,313,352,555,438,351,666,1186,1290,1236,1020,881,865,787,769,585,645,905,747,953,957,882,775,860,789,938,852,904,1202,1230,852,853,1326,1418,1430,1116,547,437,376,621,930,979,727,338,339,477,762,927,807,556,479,510,965,1834,1704,835,562,830,1013,686,419,405,463,689,644,671,721,1056,1160,1270,1484,1604,1412,1052,982,755,839,534,636,732,1028,1152,1302,1454,1334,1166,1230,1524,1486,1406,1268,1226,1348,1256,1298,954,496,440,502,507,438,383,429,749,949,628,426,345,328,356,336,415,466,493,544,511,544,598,516,446,411,529,444,481,705,742,1030,1116,936,1248,1400,1030,1288,1578,1842,1874,1828,1302,1322,1372,1070,899,1026,1005,475,474,491,551,609,578,541,532,496,929,1192,1322,1840,1902,2084,2138,2168,2114,1700,1562,1720,1620,1506,1484,1384,964,750,1234,1262,1216,1426,1026,788,673,608,500,427,432,495,538,581,662,755,901,1010,1120,1260,1284,1274,1274,1328,1272,1228,1166,922,960,1072,1260,1428,1238,819,659,645,617,550,544,637,623,692,1434,1490,1788,2300,2066,1606,1378,1686,1994,1938,1614,1210,882,1070,1148,957,795,758,1054,1306,987,766,676,641,467,615,973,950,977,850,953,1032,1008,1078,961,1346,1548,1774,1980,1888,1876,1570,1192,1114,1019,954,899,1466,1152,623,732,960,1086,910,968,1060,692,607,703,892,1268,1338,1182,1192,1256,1444,1580,1532,1714,2380,2484,1740,1332,847,1622,3062,2432,1654,1504,1522,1384,1070,1322,1606,1392,1322,1334,1330,1540,1514,1078,937,1228,1412,1478,1294,989,971,1450,1986,1756,1608,1194,1062,1294,1288,1250,1094,1118,1480,1516,1314,1560,1512,1294,1486,1374,1174,1224,980,781,764,918,1280,1378,1244,1302,1282,1120,1024,1090,1390,1584,1610,1762,1460,1070,1019,1015,951,1100,1154,1424,1460,1522,1488,1242,1224,1300,1384,1434,1564,1858,1826,1458,1288,1340,1282,1258,1158,1298,1298,1088,919,688,667,1100,1010,1230,1318,1442,1338,1246,1352,1618,1402,1244,1458,1620,1228,1146,821,869,1100,748,813,1062,724,296,319,352,360,288,320,430,617,628,688,735,601,631,576,557,1426,1980,1650,1202,1009,554,237,325,379,749,980,637,500,1256,1952,1886,1408,1190,1464,901,447,775,1200,1090,760,458,705,991,1314,1588,1706,1572,951,410,338,487,369,730,1176,1364,932,648,918,1152,1108,1020,698,423,474,771,1210,816,429,638,855,676,629,818,872,854,1550,2002,1328,825,665,718,683,829,1180,986,938,988,800,964,969,959,905,1013,1770,1514,1366,1450,1400,1082,1116,1088,521,314,379,704,1190,1368,982,1112,1152,976,1138,1390,1452,1122,717,628,766,776,496,475,662,667,670,654,663,1048,1022,672,662,630,641,1056,1136,835,472,343,464,419,508,744,924,863,626,618,509,422,498,466,600,637,703,997,1188,1116,867,948,1214,1180,1404,1216,1386,1390,1144,1034,1122,1136,1108,1278,1116,965,1324,1614,1524,1530,1112,1078,1222,1388,1818,1756,1604,1554,1628,1636,1194,788,963,1046,1202,1208,1322,1066,752,1346,1578,1232,1142,1142,800,458,449,918,1192,1286,987,1122,1544,1600,1240,1116,1368,1354,986,531,440,351,373,553,805,1226,1652,2406,2896,2938,2664,1668,680,544,833,1218,1294,735,830,1046,1046,1222,1282,1744,1938,1578,1028,1005,1268,977,1220,1664,2060,1938,1654,1514,1450,1588,1394,723,561,510,395,357,340,386,492,767,1013,847,626,560,552,569,565,655,957,1188,1310,1218,725,480,460,480,453,457,455,552,875,1146,1232,1522,1482,1194,612,449,497,799,846,549,612,691,667,912,1024,937,1268,1400,875,921,1318,1172,1488,1382,732,747,648,553,778,772,476,403,590,848,785,552,466,675,1094,1676,1802,1336,979,1021,1382,1316,779,763,1132,1016,1094,1494,1288,1190,1534,1890,1938,1756,1418,835,666,870,1156,1080,1054,1106,1198,979,683,604,382,324,337,456,816,930,1248,1584,1928,1848,1342,1166,1160,1240,803,803,862,856,832,1388,1714,1208,1082,845,401,377,418,460,669,745,555,643,902,1254,1584,1838,1842,1528,1560,1604,1148,810,539,489,491,382,362,266,210,305,327,476,655,503,559,905,1378,1806,1023,466,575,677,527,422,444,476,445,535,594,557,686,902,1666,1356,1042,1350,1354,1128,1190,1274,891,913,1122,1064,1222,1650,1344,958,777,659,722,619,722,1196,1810,2224,1846,897,957,1276,728,514,716,1086,1050,642,666,860,927,1318,1262,587,394,537,884,997,709,778,905,1046,1088,934,833,662,557,719,702,891,1194,1244,1068,1290,1366,1526,1476,1400,918,570,423,387,386,388,420,850,1132,951,1224,1254,910,1266,1344,896,1110,1236,666,549,453,378,445,475,553,735,907,1013,1136,781,741,1078,1262,571,341,702,789,463,296,364,440,487,528,672,879,728,865,739,360,344,692,1472,1500,1536,1554,1286,1210,1048,1290,1468,1216,1338,854,677,1200,1360,1352,1714,1730,1044,874,1384,1666,1442,1720,1262,867,1136,1164,1060,1046,1274,1598,1940,2266,2156,1682,1438,1334,1118],[1134,1626,1798,1506,1274,661,431,366,482,393,291,272,525,719,490,328,367,430,624,692,731,857,869,965,664,419,413,379,312,312,368,467,416,313,288,255,248,259,265,258,271,305,349,380,389,434,416,406,564,686,623,556,495,734,831,993,1292,1450,1434,1382,1388,1080,850,1130,1312,1380,2062,2228,1920,1366,993,739,678,735,856,935,601,483,495,1024,1488,1256,750,511,743,1002,1072,1346,1208,1060,1346,1150,527,325,339,329,343,439,461,472,553,587,649,843,1372,1446,1130,941,720,439,328,297,280,296,246,238,282,217,221,233,233,236,237,252,254,257,262,280,698,1262,819,528,543,807,1102,836,449,400,415,340,340,512,589,407,419,385,433,444,592,919,781,643,636,554,462,446,459,425,514,375,525,877,911,745,725,822,827,804,728,542,314,408,450,471,366,663,1048,1502,1396,974,669,503,533,769,818,553,453,347,304,370,373,405,455,567,724,697,544,449,318,369,377,366,287,246,235,253,270,370,488,408,256,234,224,380,968,1108,580,403,611,832,701,521,509,630,763,683,599,1036,1318,1154,747,772,841,1166,1198,1516,1372,579,345,400,519,495,420,392,325,369,411,388,604,783,869,993,908,557,583,519,516,568,514,685,954,827,576,450,408,443,550,789,969,1212,1160,1006,777,394,572,675,575,509,508,483,519,532,508,508,458,534,1068,891,783,1214,1178,1016,1021,1064,1108,1048,621,350,509,1009,1186,904,850,922,839,1206,1216,789,662,649,491,430,441,387,695,1262,1518,1670,1478,1272,920,683,487,452,539,805,1240,1520,953,557,529,855,1012,947,992,1118,1366,1694,1504,1096,1226,973,836,738,824,1196,926,505,450,572,822,1018,809,452,292,418,702,1650,1822,1578,1986,2002,1612,1404,1230,1142,1054,1238,1468,1610,1780,1312,1026,1180,1478,1444,1338,1350,1550,1810,1208,1448,1130,1034,698,611,675,730,726,855,1106,1424,1720,1448,633,657,838,1138,1124,1424,1338,1202,1286,1662,1234,505,649,735,863,1015,1034,1296,1266,1158,1274,958,719,797,640,412,328,513,897,1106,1470,1382,1404,1556,1222,1264,1044,658,697,713,791,1284,1136,802,566,755,614,594,1182,1388,1250,1278,1198,1204,1046,658,482,580,1344,1728,1498,907,1446,1816,1794,1032,609,825,661,571,844,1124,1294,1420,827,848,1108,1098,1074,1066,1076,982,661,421,488,656,1146,1320,1284,1138,637,969,1036,1034,1416,1732,1768,1652,1534,1364,1738,1710,1680,1528,1522,954,560,649,943,1154,1184,1230,1312,1750,1496,993,946,952,1150,960,538,389,343,408,720,925,659,552,866,1016,1088,1013,1056,1110,1890,1744,1216,858,699,869,1016,1452,1074,685,555,438,379,456,640,1252,1444,1252,1070,1800,2624,1530,1168,1100,949,752,1017,1190,988,1278,1134,807,822,825,1130,1238,1360,935,862,1208,910,770,849,792,581,493,491,637,1156,1392,1622,1522,943,636,663,775,750,927,1056,912,868,861,948,977,891,924,650,603,692,786,721,735,915,1178,1472,1286,1372,1118,1070,1418,1586,1648,1466,1158,1076,937,808,776,568,849,1602,1644,1522,1284,1530,1692,1334,1272,998,402,434,844,1066,539,711,919,1388,1612,1456,1142,928,600,615,796,850,659,550,833,1242,1062,523,565,592,727,790,749,610,601,519,444,591,650,390,424,714,804,637,634,619,1094,1432,1318,1150,1158,1170,1232,1110,497,397,410,501,514,302,255,311,383,390,420,488,517,706,773,819,722,430,349,364,466,667,960,1350,957,630,1096,1244,1880,1902,1720,1234,775,924,1180,1009,643,744,910,758,675,505,363,357,1018,1260,942,888,1174,955,978,808,415,285,276,317,519,990,737,415,1086,1430,1144,963,682,498,681,915,751,549,443,709,1274,1402,909,988,1018,933,1494,1364,778,658,697,1156,1366,1001,1224,1242,1036,1064,1060,625,418,403,432,699,602,337,341,670,924,927,965,671,599,653,735,1072,1072,691,753,1042,1170,1002,526,539,483,411,324,553,865,1162,1288,1160,983,1384,1586,1450,1152,940,1118,838,728,773,1013,1170,1170,1272,1338,1368,1350,1488,1464,1354,1194,1322,1534,1486,1172,700,528,505,473,441,381,295,297,502,717,560,377,312,315,342,378,421,403,484,539,438,578,619,529,483,463,520,502,695,833,960,1418,1326,897,839,1448,1450,1452,1506,1820,1608,1152,1182,1698,1852,1398,1096,1282,955,525,508,520,522,551,554,562,551,487,870,1292,1302,1614,1776,1958,1978,1986,1958,1840,1986,1938,1732,1636,1710,1720,1158,700,1268,1202,1432,1350,991,830,754,645,503,466,519,557,564,523,621,672,624,809,1106,1284,1332,1266,1182,1194,1214,1306,1444,1272,1178,1362,1406,1190,1302,1360,985,653,645,760,888,921,869,1148,1434,1464,1372,1508,1520,1390,1594,2048,2206,2046,1896,1500,1252,1276,941,645,463,717,1246,1172,857,713,619,615,472,523,939,1182,1166,1306,1196,1092,1000,992,868,1056,1650,1994,1990,1926,1830,1482,1102,991,820,686,706,1270,1312,727,699,1062,1100,919,814,382,414,514,646,720,857,1172,1574,1452,1370,1546,1686,1622,1516,1974,2348,1906,1490,1013,940,1466,1540,1466,1432,1442,1564,1294,1224,1450,1390,1240,1060,1060,1174,1482,1390,960,954,1190,1462,1200,1044,971,1124,1428,1406,1494,1412,1506,1394,1082,978,1034,1266,1174,1312,1456,1434,1500,1562,1542,1218,1104,1198,1058,1088,1224,1468,1528,1340,1266,1526,1458,1342,1066,975,1274,1616,1682,1384,1142,1270,1142,975,1060,1194,824,996,1122,1324,1482,1432,1508,1416,1304,1424,1414,1570,1670,1634,1632,1534,1438,1372,1356,1380,1172,1038,1198,1066,894,1194,1242,1316,1310,1288,1234,1104,1166,1458,1538,1266,1454,1626,1128,1054,804,864,881,639,685,1017,761,398,576,561,497,436,347,416,418,718,1246,1376,1172,1306,1094,706,1015,1013,868,1064,800,532,327,301,393,597,956,940,891,1442,1712,1682,1416,1134,852,426,316,387,626,673,614,598,903,1340,1520,1356,1486,1644,1574,898,489,418,362,943,1346,1328,1106,1022,1238,1390,971,858,779,741,566,675,850,550,314,405,462,392,391,630,908,1036,1522,1154,905,753,644,569,634,1264,1628,1192,995,1158,739,666,1098,1180,1064,1148,1196,1128,1210,1318,1394,1180,1034,1230,1550,2508,2824,3040,2430,1902,2046,1522,846,1086,1644,1942,1836,1114,910,894,739,780,616,475,493,412,541,656,616,709,552,412,748,1034,702,1122,1618,1302,637,526,521,348,407,605,913,803,604,553,472,404,410,587,949,723,554,1021,1076,747,750,843,940,1116,1280,1160,1116,1334,1208,1218,1248,807,756,1044,1003,808,1170,1270,1318,1180,860,1050,1216,1234,1302,1388,1388,1538,1722,1676,1644,1402,1482,1314,1234,1202,1110,722,745,1256,1266,780,694,891,532,460,389,487,662,1092,1188,1268,1458,1230,1084,1448,1572,1230,609,435,415,352,474,871,984,1042,882,1572,2656,2932,2940,2626,1438,863,723,456,537,700,833,868,1118,1368,1814,2558,2966,2530,1094,814,1007,1112,1066,1236,1782,2170,2204,1896,1660,1898,1506,753,538,461,448,459,438,381,355,572,739,649,532,576,650,714,619,717,1144,1332,1686,1260,670,504,490,490,490,516,506,513,624,913,1202,1290,1534,986,509,522,698,1078,1182,708,492,611,830,1002,1332,1040,1226,1536,1294,1456,1452,1238,1440,980,476,418,473,446,839,1092,871,482,460,578,549,428,404,424,655,1190,1190,1252,1484,1526,1422,1234,778,569,650,973,1336,1360,1332,1112,1232,1904,1942,1632,1666,1184,738,973,1176,1484,1638,1264,1064,744,558,603,416,343,356,1060,1500,1080,1318,1840,2222,2248,1534,1342,1380,1824,1250,863,825,625,594,1276,1242,955,1314,1340,702,492,763,1116,1734,1414,672,544,593,766,1180,1502,1710,1370,1021,1458,1622,1208,696,781,873,577,340,252,272,450,616,343,384,572,548,892,1178,1250,835,427,433,508,437,429,405,423,497,568,526,500,787,1194,1598,1618,1650,1800,1558,1074,1262,1384,956,941,1260,1256,1416,1640,1220,737,453,807,1176,664,574,1038,1848,1920,1550,891,628,677,495,487,543,585,628,637,577,712,933,1146,1338,732,410,525,485,431,589,910,1078,1042,1104,1182,1278,951,940,1204,899,1003,1394,1642,1428,1174,1072,1406,1448,993,515,563,319,374,447,483,459,639,604,658,1126,1228,897,1046,1312,954,1042,1540,920,699,728,841,810,505,561,1032,990,1062,1078,804,808,1054,1130,891,633,636,590,405,288,296,413,590,696,972,882,904,921,495,325,343,681,1224,1368,1304,1272,1188,891,663,913,1200,1336,1058,487,766,1116,1210,1530,1852,1520,995,899,745,857,1110,1350,1048,922,1266,1072,688,519,509,925,1498,1932,2076,1598,1478,1346,1236],[590,467,660,846,894,711,499,438,435,336,274,253,551,971,780,520,477,518,924,1166,1100,1378,1616,1478,1015,513,460,364,333,319,369,507,453,339,283,251,250,261,259,266,308,383,440,436,410,478,432,451,587,600,552,558,688,1013,1100,1062,1556,1628,1670,1808,961,719,895,1160,1346,1664,2308,2420,1858,1872,1724,976,1090,1324,1808,1626,847,525,731,882,1015,941,553,717,1320,1428,1272,1310,618,591,1246,1030,467,341,346,341,335,358,361,401,447,401,450,551,749,718,627,568,489,404,388,349,315,309,267,233,229,194,208,241,247,237,237,254,256,245,271,315,502,1182,838,458,422,638,816,686,592,574,438,377,316,465,593,726,714,413,539,663,629,841,793,608,561,518,517,488,454,395,372,329,658,934,728,394,388,430,541,710,909,749,512,428,448,426,352,440,715,1168,1192,897,766,556,586,509,397,364,508,414,391,446,494,458,420,525,684,781,495,361,287,366,419,400,306,264,252,256,294,374,311,245,238,277,264,524,1005,1312,658,462,614,761,923,905,659,525,558,567,498,1032,1358,1048,840,800,942,841,826,1023,602,410,546,995,843,576,435,317,410,608,477,384,524,812,971,930,957,530,514,465,553,639,525,644,698,535,518,478,482,604,684,705,876,1460,1442,1120,642,368,367,425,462,450,460,473,636,771,909,1048,797,744,1404,1234,1026,1268,1002,697,964,1044,924,653,559,444,380,703,1050,856,621,533,601,842,728,482,579,656,537,507,464,397,513,780,1476,1742,1428,1066,915,1096,657,647,868,1210,1482,969,515,489,763,1240,1148,1144,1368,1644,1870,1936,1708,1324,1066,705,730,795,1018,1036,732,559,598,672,706,606,612,448,301,337,867,1700,1864,1852,2036,1820,1310,762,598,547,489,593,1118,1424,1548,1342,1118,1306,1460,1076,902,1054,1338,1194,1182,1726,1488,1410,1208,967,730,631,678,896,1030,1548,1620,1236,739,585,850,1058,1452,1648,1198,995,1308,1470,946,541,484,473,626,916,991,1230,1054,843,1136,1044,740,814,853,551,371,433,670,825,1106,1300,1416,933,800,1354,1512,1292,1470,1300,963,1214,1132,909,760,713,891,1056,1332,1294,915,952,897,813,642,634,587,619,1236,1634,1480,984,1440,1906,1556,890,861,1128,856,1038,950,657,1158,1256,698,792,1174,1160,832,792,805,771,492,805,1010,1122,1398,1554,1394,851,496,764,1062,1288,1346,1374,1438,1572,1448,1450,1880,1900,1994,1688,1404,1204,786,670,1064,1278,1232,1040,981,1152,1232,949,627,587,841,730,405,337,361,469,673,855,981,632,770,846,913,954,936,846,916,1250,1128,573,550,921,1098,1300,850,652,599,517,498,525,502,978,1492,1268,1140,1520,1494,1416,1408,1150,1254,1170,1224,1240,1040,910,920,1020,1020,747,1122,1418,1812,1562,1196,893,942,1014,760,523,409,465,543,519,828,1048,1492,1578,1134,785,604,556,497,623,731,622,457,652,1178,769,778,1001,980,994,896,1015,1116,964,1088,1462,1732,1268,1808,1700,1260,1410,1620,1516,1514,1420,851,748,721,798,703,1136,1384,1414,1490,1564,1482,1164,1021,1346,1056,325,408,784,860,413,580,717,1372,1458,1182,1274,1140,694,507,714,1266,1062,632,577,733,615,597,974,1108,749,426,394,517,664,900,1005,985,962,897,801,666,640,651,758,1134,1548,1656,1598,1566,1466,1358,1498,1104,449,292,343,361,344,315,444,744,907,862,902,846,647,822,954,925,928,852,789,533,457,627,1366,1744,876,824,1628,2066,1866,1720,1782,1230,817,698,533,547,678,1038,1003,1096,903,364,269,379,1066,1240,937,1158,1212,929,874,647,558,406,570,496,554,951,1316,1060,1164,1226,951,816,944,744,875,1054,940,924,591,582,1034,966,668,807,777,744,1188,1262,626,516,647,980,1406,1076,1114,1036,1108,1540,1362,704,321,267,396,640,689,400,331,673,850,653,637,720,612,380,385,812,1412,1014,582,751,944,877,785,832,686,442,318,551,869,839,830,857,546,741,1154,1368,1166,831,936,753,660,883,952,1158,1216,1328,1354,1300,1096,1204,1188,872,1178,1544,1642,1392,768,586,546,460,467,459,354,276,322,427,758,700,416,358,331,357,413,456,462,471,493,481,672,868,783,632,571,514,531,689,789,872,1352,1354,1072,739,1320,1336,1148,1402,1448,1019,1206,1720,1794,1650,1438,1256,1382,921,607,557,527,560,584,559,555,532,542,912,1206,1376,1334,1716,1930,1926,1998,2122,2104,2088,2104,2098,1898,1758,1914,1442,1104,1388,1200,1216,1068,990,965,817,728,634,788,878,750,651,506,558,590,480,529,735,1006,1194,1166,1136,1142,1214,1228,1294,1534,1638,1678,1438,957,1142,1524,1470,1128,660,721,1238,1056,1162,1466,1574,1616,1604,1448,1294,1654,2178,2244,2026,2068,2020,1764,1468,1036,793,570,777,1202,1184,820,721,585,584,536,546,821,1330,1734,1674,1630,1422,1366,1228,924,746,1260,1926,2048,2132,1958,1832,1444,922,695,759,914,942,1328,1604,1064,641,869,890,858,904,556,430,424,473,647,738,1172,1656,1390,1780,2376,2576,1896,1566,1638,1698,1624,2224,2134,1138,1013,1410,1400,1268,1172,1412,1560,1424,1456,1434,1208,1046,1017,1036,1356,1510,1228,917,983,1332,1238,1070,854,944,983,1018,1288,1494,1442,1168,1054,875,1164,1748,1448,1216,1240,1094,1286,1596,1548,1198,1162,1094,1060,1252,1282,1432,1340,1266,1342,1416,1434,1384,1116,1032,1094,1460,1350,1218,1314,1100,822,815,1048,933,706,949,1190,1362,1684,1698,1476,1488,1316,1338,1264,1498,1368,1404,1516,1538,1592,1450,1348,1278,1138,1122,1152,1182,1292,1362,1484,1384,1350,1580,1588,1128,852,1134,1346,1320,1300,980,880,1038,1216,881,539,415,358,394,440,586,639,576,684,574,365,349,572,863,1196,1272,978,1024,1202,1180,1128,1100,885,904,629,830,579,288,364,431,667,768,759,1024,1332,1642,1876,1276,611,399,327,345,392,396,411,802,1292,1188,1262,1408,1180,1314,1718,1562,1122,701,625,1096,1388,1454,1320,1558,1446,1296,1288,1232,1256,791,441,465,550,541,377,353,280,315,335,505,924,987,806,648,828,736,619,567,744,1124,1340,1162,953,1510,1476,879,1114,1248,1200,1144,1024,1324,1482,1428,1360,1442,1338,2200,2798,3144,2836,2470,1776,2010,2732,2002,1094,1196,1426,1190,938,909,877,912,688,978,1050,765,648,555,539,616,430,454,472,662,1184,1210,654,827,1012,926,964,1094,1038,846,437,407,655,630,827,764,493,436,431,610,930,875,792,1086,960,509,642,703,901,1188,1158,1162,1026,1036,1272,1294,783,459,415,534,888,936,1148,1302,1168,978,916,1108,1248,1206,1306,1230,1156,1454,1466,1580,1618,1488,1610,1626,1504,1460,1312,1036,970,1286,1208,784,913,1104,685,653,937,1282,1116,954,1138,1344,1198,985,893,974,1088,1278,1104,758,545,550,620,666,668,651,439,973,2292,2766,2890,2470,1344,858,567,419,458,569,741,1004,1316,1760,2602,3034,3084,1964,767,478,648,1007,1220,1836,2324,2526,2480,1954,1710,1610,848,474,540,466,485,847,764,445,429,480,471,436,426,504,619,781,947,960,1042,1242,1498,1098,601,498,521,585,597,617,695,624,591,630,924,1236,1116,587,449,670,995,1278,1180,839,1010,1134,710,880,1138,790,1064,1422,1388,1476,1396,1188,995,626,445,539,613,629,951,1096,1001,656,340,423,558,513,445,354,436,878,1082,1482,2162,1942,1252,957,865,675,883,1212,1434,1198,1360,1190,969,1278,1460,1418,1612,1534,1164,995,1304,1686,1288,1110,794,550,796,749,472,419,440,962,967,689,1158,1698,1954,1910,1850,1752,1474,1652,1346,1144,879,520,336,440,594,654,805,1160,1172,847,975,1354,1892,1896,1264,875,792,728,900,1080,1130,802,775,1440,2014,1744,1009,1076,1256,893,419,325,277,360,754,411,255,587,597,789,908,893,718,523,444,426,356,445,475,438,495,753,1186,1278,1222,1054,1242,1604,1828,2358,2188,1532,1620,1504,1336,929,722,787,953,1226,1038,505,435,751,968,580,705,741,1522,1770,1452,912,653,458,430,470,473,424,608,871,629,522,640,708,785,546,575,632,631,561,661,966,1200,889,1176,1570,1260,1056,1238,1326,885,714,1080,1134,1262,1066,893,1188,1074,575,347,340,441,822,745,653,822,813,681,623,984,883,1078,1476,1866,1206,917,1256,932,615,636,1108,1452,815,601,821,918,1238,1384,1156,1196,1346,1266,1244,1030,602,323,293,277,289,368,429,628,1238,1172,1282,1032,583,334,322,443,915,1274,1300,1816,1426,689,684,1102,1454,1350,831,839,1262,1278,1172,1216,1358,1158,1086,1244,725,646,742,830,882,1104,1196,679,439,571,818,1180,1184,1412,1742,1808,1740,1650,1516],[419,477,498,404,847,948,511,477,614,557,383,337,477,624,727,746,613,778,1224,1166,1082,1466,1482,1504,1234,576,495,369,325,322,432,466,378,301,262,259,260,250,249,263,299,375,439,455,574,662,506,547,578,466,452,468,670,1142,1066,985,1500,1568,1544,1340,1240,859,590,945,1180,1182,1648,1922,1506,1422,1276,1146,1208,1154,1748,1572,907,531,519,678,1010,874,575,740,1096,1276,1622,1052,766,709,1250,1106,499,410,358,358,344,325,330,371,370,366,408,391,386,393,389,386,393,347,357,383,350,355,320,273,230,200,206,228,230,218,225,258,300,329,352,330,322,526,553,482,421,403,439,475,439,373,352,354,363,670,963,1236,928,736,1296,1212,717,1042,1018,953,714,466,491,436,371,328,285,258,306,402,339,304,416,384,390,482,1060,799,677,578,586,501,388,402,491,702,897,749,852,969,975,593,403,477,631,511,430,573,778,738,483,494,492,662,595,399,316,379,399,368,290,257,281,311,600,1112,412,256,243,261,245,383,857,1017,581,482,653,795,965,1152,1100,596,336,373,567,1064,1350,1178,923,867,1012,567,645,805,673,474,909,1630,1208,561,330,259,630,1188,1228,1072,512,664,869,884,905,614,574,561,637,656,568,527,523,498,482,453,622,732,732,852,852,1116,1178,1004,608,383,369,400,444,505,498,487,730,819,877,988,874,862,1350,1368,1200,1334,902,592,777,816,973,822,783,772,633,677,1050,854,464,439,459,487,524,474,712,809,1042,973,637,530,599,692,1134,1554,1068,615,920,1028,784,769,732,999,1074,730,544,612,1014,1226,955,1122,1060,1328,1710,1722,1284,713,368,452,840,1190,1058,547,479,475,615,1232,1144,508,294,275,286,361,728,1306,1628,1432,1440,1434,960,436,332,394,466,518,922,1280,1512,1470,1268,1282,1468,965,946,669,708,695,1300,1938,1886,1578,1322,924,610,539,672,879,719,775,871,1408,1106,579,490,474,698,1009,1060,1138,1302,1500,1270,1056,915,771,616,620,792,845,625,741,1250,1224,1148,731,833,615,428,433,478,491,494,762,740,374,502,1072,1544,1316,1436,1392,1078,1078,1094,961,984,1116,1434,1286,1184,1168,649,664,559,461,602,1034,1050,836,1096,1516,1378,1023,1448,1876,1578,1338,1478,1648,1278,1278,1394,840,1094,1382,1318,1182,1172,1070,869,905,980,1412,1076,960,852,1070,1328,1412,1090,789,969,998,896,1196,1220,1400,1720,1344,1268,1316,1464,1540,1628,1458,1368,1352,1314,1220,1232,1118,981,830,1150,1256,1246,1048,742,527,461,466,354,350,366,722,1412,1246,1042,792,838,973,1204,1356,1320,940,588,1016,648,365,546,852,1206,1032,767,654,592,594,564,525,458,550,682,799,953,1140,1052,1138,1096,991,1134,1242,1136,1164,1222,1268,1336,1194,769,634,872,1148,1404,1338,960,801,991,784,667,664,706,564,473,694,1021,939,1372,1444,1050,838,604,404,379,330,494,890,880,1210,1316,1004,1528,1548,960,759,573,690,958,960,1038,1276,1302,1182,1706,1970,1692,1442,1356,1344,1490,1358,976,1278,1034,1026,946,1326,1222,1092,1470,1596,1330,1004,1064,1200,553,318,413,917,827,549,642,777,935,891,838,824,1078,970,431,584,935,905,777,704,521,635,1042,1436,1400,735,517,510,391,432,492,474,765,857,775,795,985,1036,936,984,1202,1520,1612,1588,1456,1200,1320,1370,923,458,430,518,636,622,445,705,915,926,655,564,712,623,841,983,1010,947,855,860,776,500,685,1026,581,302,462,962,1618,1552,1570,1542,1198,1182,905,457,343,551,1007,1128,1588,1216,509,325,490,952,1184,1466,1628,1318,898,788,758,750,505,783,830,534,764,1506,1378,839,1156,1216,750,1054,993,1156,890,1194,1378,799,498,573,533,393,334,376,374,689,1158,1028,1470,1316,1008,1232,931,629,731,1112,1394,905,558,401,335,482,1088,1009,547,408,396,430,566,932,1170,755,436,612,1246,1782,1310,649,675,941,935,1036,1068,838,618,652,611,672,541,589,1080,727,489,706,1252,1348,974,758,764,899,886,971,1126,1050,1112,1142,1142,1060,985,861,896,1082,1096,1218,848,502,558,500,486,498,522,411,342,350,385,684,805,458,386,387,387,404,448,527,487,471,497,592,749,842,766,574,537,561,607,709,741,1036,1134,1026,700,1116,1338,1204,1340,1286,1244,1764,2032,1906,1660,1488,1286,1314,854,515,513,493,534,562,520,527,551,561,1120,1240,1268,1346,1776,1974,1946,2170,2416,2170,2146,2204,2134,1944,1694,1280,884,1224,1322,913,736,698,886,992,810,750,648,833,1034,954,717,545,566,521,408,458,586,745,976,1078,1156,1276,1242,1268,1480,1600,1488,1428,1168,1338,1904,1444,1582,1624,1266,846,919,966,1402,1606,1650,1692,1700,1516,1478,1882,2180,1958,2060,2352,2244,2040,1540,1122,946,985,1212,1166,875,671,691,470,556,530,652,882,1298,1746,1918,1776,1794,1860,1668,1554,1660,1790,2062,2094,1986,1908,1854,1500,1072,1122,1440,1344,1288,1482,1636,1676,813,657,669,705,963,828,501,451,487,545,714,752,1214,2044,2548,2502,2220,1702,1558,1764,2390,3260,3974,3482,1782,819,1206,1336,1136,1208,1620,1704,1514,1326,1138,1076,1116,1158,1254,1370,1302,1594,1216,973,1122,1118,901,706,690,734,974,1142,1288,1318,1190,1172,1058,1214,1878,1760,1246,991,1092,1310,1412,1580,1214,892,791,856,1070,1332,1266,1152,1158,1252,1360,1396,1332,1262,1454,1414,1700,1908,1460,1218,780,1008,1294,1174,1054,1110,1366,1256,1146,1688,1692,1270,1432,1364,1512,1564,1384,1362,1352,1194,1450,1802,1656,1542,1448,1416,1326,1288,1220,1166,1176,1188,1078,1090,1338,1328,1220,944,1188,1298,1296,1008,828,1002,1360,1440,1158,786,390,319,285,352,741,861,782,752,568,482,466,729,984,1014,1212,1404,1088,1312,1666,1482,1262,957,636,580,584,394,279,315,320,317,299,522,1030,1392,1868,1896,1196,822,570,374,384,428,406,445,1082,1378,1066,1366,1330,1188,1216,1334,1454,1366,1118,1028,1044,1406,1360,1360,1922,1824,1478,1412,1218,1284,1144,801,379,448,589,513,474,349,332,314,341,426,883,994,804,687,615,651,510,558,634,816,929,1266,1970,2112,1314,894,927,1068,1094,1162,1454,1774,1780,1288,946,1080,2952,2690,1650,1628,1260,372,729,1444,1340,1026,874,702,904,1264,1042,809,797,1084,1288,1194,1036,689,544,594,758,599,491,499,1140,1388,1072,972,1072,870,718,881,1144,1162,1068,677,959,904,653,1002,913,769,714,584,565,653,1288,1464,944,771,433,483,733,1198,1086,1108,1288,1015,1042,1518,1142,484,392,393,375,572,836,1136,1152,1018,1130,1238,1280,1324,1308,1130,1030,1240,1240,1468,1620,1510,1578,1432,1190,1374,1448,1610,1566,1536,1584,1108,988,1282,1196,871,975,1428,1646,1414,1152,1248,1324,1224,916,562,424,399,635,966,806,525,559,844,1052,883,637,762,1458,2526,2502,1952,1096,535,744,1001,784,499,502,688,939,1218,2126,2878,3110,2104,1011,857,797,744,973,1382,2078,2530,2364,1660,1418,1572,1546,1032,675,687,480,510,742,639,467,573,579,391,404,410,405,633,863,1174,1024,767,887,1122,1026,798,886,1090,1038,1030,689,589,629,603,517,616,925,871,630,789,1086,1324,1272,1072,946,985,1112,767,835,935,801,946,1230,1180,725,900,1080,866,669,445,436,542,661,866,1050,1007,636,415,426,521,516,456,444,439,1046,1114,1316,1736,1454,1152,1374,1404,1042,951,974,1318,1002,973,1032,1174,1168,1278,1304,1324,1454,1518,1001,1052,1146,896,1366,1282,1054,1080,711,391,446,542,700,669,450,726,1318,1482,1636,2332,2286,1484,1080,1176,1102,1038,1102,997,849,954,891,605,1074,1368,1110,812,819,1001,1606,1670,1040,720,653,601,733,655,617,859,1008,1230,1346,1126,1012,1234,1334,641,432,292,249,657,498,260,439,738,789,791,938,913,926,895,897,728,472,566,706,756,1124,1436,1360,1054,761,1404,1712,2014,2378,2040,1390,1456,1372,1322,933,850,1118,1078,809,728,686,515,583,691,815,1094,807,1018,1334,1158,947,725,604,680,619,520,563,1030,1034,633,451,439,455,370,473,730,1022,998,830,984,1120,1086,792,1216,2126,1506,1354,1118,1038,1154,1498,1700,1218,1030,921,1362,1056,1078,665,361,325,637,1218,1310,1272,1428,1216,819,422,447,341,709,1214,1538,1342,865,647,565,502,574,811,1142,721,580,494,662,1040,1466,1152,1058,990,773,786,673,446,408,338,424,510,393,365,790,1220,1336,1144,974,756,362,419,701,1242,1390,1334,1440,1102,865,1076,1372,1354,1188,1282,1516,1046,885,913,1021,1130,1130,1044,1001,851,874,834,646,578,824,760,458,449,701,982,1262,1428,1488,1346,1482,1698,1754,1740],[577,568,545,466,616,577,472,491,549,616,462,354,492,465,647,805,762,712,923,1088,1300,1444,1514,1474,858,570,502,380,401,419,511,404,317,293,285,278,270,243,230,249,293,332,399,391,585,729,771,813,564,325,418,432,636,973,790,575,516,999,1364,1304,1338,954,612,752,764,752,734,753,797,879,794,725,760,880,1108,1056,860,741,683,885,1160,723,680,600,393,577,859,894,1044,1262,1470,1156,636,485,436,354,360,336,369,416,401,391,383,390,403,412,425,422,405,337,300,314,335,372,349,325,287,223,220,226,230,240,267,331,355,443,423,392,432,403,448,488,432,415,452,467,378,311,414,434,523,641,1086,1246,873,935,1686,1496,811,1256,1894,1958,1142,625,539,500,459,315,282,289,329,292,328,370,474,523,535,555,1100,766,562,616,630,540,461,476,372,542,603,653,918,1078,976,1052,765,605,789,756,778,936,797,751,815,792,543,483,683,464,437,456,345,357,368,456,406,431,1180,1454,526,286,248,245,258,236,317,401,362,366,485,799,987,1648,1632,639,296,347,677,1136,1184,1302,1250,1058,869,542,531,628,884,648,985,1546,1290,767,571,487,594,1326,1664,1648,600,541,654,771,976,1190,1282,1088,801,669,576,495,472,485,627,617,556,677,743,1098,1128,885,846,816,686,424,427,429,477,552,473,460,909,803,459,470,443,436,620,785,1042,1252,1274,1017,792,746,814,857,669,662,675,648,702,733,556,529,521,448,453,560,753,927,1294,1290,1048,820,604,620,1124,1454,871,566,658,855,1104,891,641,558,645,879,580,507,690,784,893,1262,1350,1214,1406,1384,816,445,366,406,806,1204,1030,762,763,855,921,1422,1284,721,394,280,415,663,890,1026,1062,897,1340,1226,793,532,466,462,442,549,785,985,1240,1250,1350,1286,1634,1432,1028,1096,1009,924,1406,1664,1288,959,962,1000,936,639,665,932,919,704,1116,1766,1266,644,493,467,438,416,700,873,1019,1168,1506,1352,1560,1558,966,669,694,745,955,1194,1210,1002,1318,1002,1276,1086,634,491,448,456,428,540,693,499,440,794,1256,1322,1100,1015,846,922,1086,930,996,1428,1476,808,928,1290,1056,927,821,825,825,782,714,619,844,1344,1312,987,1440,1816,1420,1282,1526,1774,1558,1108,830,686,949,1264,1282,1238,1126,876,1017,1172,1382,1552,991,597,712,956,1078,1026,990,944,1272,998,731,1342,1318,1416,1544,1322,974,1078,1350,1334,1174,1220,1496,1452,1226,1250,1372,1164,1028,1214,1472,1390,1394,1334,1076,578,513,666,622,614,500,726,1114,958,710,630,740,708,547,599,886,787,695,1018,723,621,580,611,990,1072,967,722,568,556,513,465,427,549,724,763,1246,1028,811,1158,1052,692,755,866,886,1298,1338,1172,1100,1114,1116,999,949,1004,1078,1218,1194,1046,828,527,498,756,943,980,852,999,1032,1082,1582,1242,1050,949,973,720,808,714,906,1264,1440,1202,546,629,1094,932,547,391,430,730,1112,1100,877,951,1046,1056,1302,1608,1504,727,720,1234,1350,1358,1248,1458,1508,1394,1152,1246,1080,993,1108,852,972,615,605,720,499,365,728,1206,738,538,642,666,843,1010,1078,981,879,1200,763,451,868,1278,977,767,780,783,733,849,857,698,1230,1036,567,730,667,657,713,567,615,801,904,640,724,845,713,901,1072,997,935,1020,1026,939,916,1007,997,1116,1268,1106,589,433,432,532,640,860,769,555,1072,1518,1268,868,628,542,824,533,449,533,367,313,416,537,816,1094,1160,1050,1094,1278,985,525,340,744,1060,1272,1416,885,394,336,784,1126,832,738,1220,1200,861,759,627,562,484,996,1146,612,545,943,1038,866,1416,1094,626,1044,1428,1288,668,633,806,528,344,380,405,368,518,659,572,562,748,1092,1632,1460,982,1134,922,459,397,538,766,635,695,477,393,354,691,732,720,537,347,447,589,921,1188,734,546,669,1021,1022,921,885,755,829,1168,1106,791,708,700,855,657,552,481,468,872,924,659,531,883,1300,1174,767,918,1364,879,1076,1194,1230,1136,1158,1184,1226,1244,871,921,1030,1024,1116,567,484,548,504,490,485,512,468,404,405,426,514,673,478,404,379,383,392,422,445,435,480,471,437,505,589,595,531,527,472,467,558,533,443,510,576,456,724,1244,1286,1158,1364,1600,1780,2090,1772,1520,1246,1234,1204,725,423,433,437,461,485,443,458,485,522,1092,1236,1030,1364,1864,1926,2018,2302,2500,2194,2164,2204,2094,2066,1654,843,558,1086,1216,811,529,477,810,858,850,769,652,668,792,811,664,641,833,749,478,529,554,604,659,891,1164,1274,1290,1328,1520,1550,1366,1144,1476,2244,2368,1648,1628,1644,1654,1410,953,1068,1506,1650,1736,1742,1698,1628,1510,1566,1852,2092,2392,2390,2530,2544,1660,1044,1180,1242,878,478,558,615,572,528,515,588,711,900,1374,1692,1692,1412,1274,1130,1104,1170,1506,1760,1886,1876,1946,2002,1902,1772,1604,1616,1592,1306,1224,934,972,1708,1152,636,643,671,976,1186,801,461,582,511,658,625,1206,2542,2648,2178,2084,2000,1768,2026,3110,3940,3924,3814,2762,1013,1007,1458,1924,2746,3162,2446,1548,1268,1146,995,1064,1190,1238,1390,1394,1774,1520,1122,1009,1238,1666,1918,1290,881,872,838,829,1046,758,1058,1192,1196,1418,1316,1118,1034,1034,1118,1180,1434,1382,1230,1154,1013,959,1286,1464,1306,1348,1610,1476,1166,1346,1458,1424,1234,1710,1642,1224,1008,764,1112,1478,1456,1124,1274,1332,1360,1312,1384,1478,1290,1272,1932,2432,1654,1418,1434,1344,1218,1372,1592,1396,1290,1310,1362,1404,1526,1354,1023,955,993,1090,1038,1332,1344,1206,1306,1268,1212,934,504,518,657,889,1308,1506,1192,1060,575,430,541,769,1104,1182,824,633,561,502,780,1302,1338,1338,1354,794,1068,1370,1256,1570,1170,550,579,513,375,471,345,323,379,449,521,727,1070,1370,1066,951,949,713,493,475,890,1010,761,971,838,844,1106,1092,1252,1184,1102,1076,714,832,1226,1568,1628,1220,1630,2168,2012,1738,1366,1146,1062,1015,1032,416,434,746,860,588,373,333,388,477,380,598,1040,1060,555,445,526,481,484,534,564,759,1366,1616,1598,1324,915,750,1244,1432,1376,1334,1184,1256,1084,714,776,1868,2244,1686,1432,1064,506,374,445,572,774,669,756,1278,1532,1260,713,759,1466,1446,1268,1006,495,369,374,342,437,489,739,1042,1000,971,1430,1902,1494,1032,1044,1030,885,813,872,896,880,996,992,1066,1372,879,648,491,728,1760,2054,1368,959,1032,937,1021,1190,950,847,1222,1166,1174,1126,627,408,416,472,435,440,642,879,1046,1280,1410,1114,1236,1250,1180,1086,1276,1338,1230,1082,1108,1588,1906,1772,1388,1005,938,1202,1418,1620,1514,913,916,1152,1150,1268,1516,1338,1136,1418,1160,1011,1462,1792,1044,678,470,317,301,449,533,653,828,833,901,1015,1132,1388,1282,1644,1450,802,458,538,1086,1282,852,398,497,721,684,720,1342,2342,2222,1636,1710,1764,1132,711,983,1346,1530,2022,1406,960,1346,1826,1838,1596,1378,830,454,477,565,610,484,577,536,365,365,390,480,682,1072,1122,733,547,600,933,1122,1162,1246,1272,1348,1366,871,565,567,621,565,522,780,1042,999,1218,1198,1202,836,965,1256,1312,1246,1118,1182,1096,772,1088,1218,966,437,555,808,840,620,577,673,594,439,562,901,869,548,608,879,949,577,628,857,688,949,965,859,1194,1352,1700,1678,1332,1282,962,1082,1142,891,597,678,1098,1234,1028,789,707,1003,1584,1092,657,1028,1204,1170,1264,1296,1152,836,544,788,1040,927,653,695,886,1250,1532,1650,2464,2692,1436,800,892,954,1160,1450,1074,775,1030,1444,979,990,1202,1012,830,742,1120,1832,1794,1566,902,619,544,643,615,689,1242,1284,848,752,905,1258,1116,1440,785,419,297,313,554,576,486,714,1026,892,641,807,1284,1660,1366,1390,1142,738,1052,1404,1158,907,1070,1162,935,904,1454,1106,1316,1474,1124,1036,894,1017,1412,1616,1534,1686,1476,944,1534,1512,763,634,688,932,1414,1112,1028,1244,978,764,809,814,988,1134,1003,949,1154,1246,858,508,394,403,424,409,475,600,693,1284,1186,1126,1050,810,1158,1878,1750,1358,1110,1306,1506,1650,1598,1015,818,1278,1068,897,1320,725,350,393,545,669,774,1050,1202,1138,658,415,502,361,297,832,1200,1328,1362,1080,599,590,599,548,700,617,491,848,1072,1162,1152,888,990,1074,581,467,411,590,848,546,725,1174,1154,694,750,1222,1162,761,852,1156,938,682,1244,1686,1392,1542,1476,1164,1372,1612,1556,1064,940,1022,1230,522,402,479,717,822,1182,1330,1104,980,968,856,564,512,565,609,609,515,551,907,1009,1130,1350,1490,1512,1452,1166,1456],[1002,1012,752,607,464,580,885,639,484,574,482,423,751,805,1072,1500,1168,651,642,1054,1520,1664,1664,1550,679,510,547,433,417,504,444,327,324,294,284,277,267,260,260,287,333,339,350,448,736,909,810,813,936,1230,1130,927,997,765,702,767,933,1226,1202,1112,1054,662,621,780,557,483,480,430,499,504,440,427,519,661,616,557,624,825,1150,1420,1388,951,730,687,579,447,451,504,893,1570,1554,895,491,433,395,351,355,337,375,432,423,383,390,401,421,424,419,420,409,355,331,579,576,387,391,338,336,291,223,227,246,255,256,329,368,555,445,352,411,370,447,613,741,633,578,500,396,322,447,479,736,780,484,550,578,578,675,813,897,1206,1864,1834,1132,839,574,452,440,342,342,406,549,374,292,297,440,694,719,849,913,601,516,583,597,535,824,843,601,572,533,796,1098,1218,1448,1672,1194,676,741,937,973,1332,948,745,967,1026,743,689,758,479,447,412,321,366,497,698,738,738,1866,1038,419,370,268,256,258,251,272,253,235,296,328,516,743,1172,1018,469,310,376,575,847,1070,1320,1378,1200,619,472,455,681,1240,1108,1268,1630,1204,934,1064,1032,1028,1400,1023,816,441,488,545,881,1246,1524,1744,1564,992,749,525,532,536,515,600,497,397,583,817,1012,1190,1382,1246,957,765,761,775,698,479,414,458,704,1168,954,503,509,457,390,346,388,457,709,895,1036,1228,1078,998,798,408,478,855,943,759,545,491,547,688,763,618,788,742,572,686,991,1216,1028,624,539,1120,1160,1034,977,857,1426,1740,1122,641,553,579,673,439,585,649,897,1114,1410,1482,1312,1344,1224,763,483,554,669,780,840,1018,1070,1044,1200,1224,1284,1244,977,562,379,600,903,1206,1518,1176,739,1232,1252,1196,1202,803,446,581,980,883,812,1006,1334,1482,1288,1102,966,934,1130,857,570,844,1086,877,738,996,1720,1284,926,645,645,871,669,685,1088,1296,871,477,416,414,558,787,655,859,997,1082,1204,1388,1258,893,641,598,565,713,1340,1116,891,933,1376,1574,1194,836,640,492,494,421,472,810,726,453,623,1110,1166,979,730,518,684,803,713,811,1116,1122,688,946,1368,1104,1052,1240,1262,1102,802,636,630,756,1182,1266,842,1362,1802,1490,1174,1352,1636,1642,1292,690,617,857,745,944,1342,1162,1240,897,900,1350,1336,1086,1058,1108,1100,1042,915,1021,839,1144,1154,1306,1686,1512,1140,1100,1023,1026,1096,888,963,1246,1378,1600,1424,1206,1970,1864,1048,785,1112,1274,1224,1152,1318,1012,771,889,1007,1152,1228,915,646,774,879,736,902,774,517,392,502,821,744,920,995,1118,1068,744,647,824,1074,1202,1228,833,628,579,536,604,1044,1258,1130,1156,876,1017,1576,1538,1274,1068,639,948,972,1164,1216,953,1028,1026,1108,1362,1384,1404,1554,1516,1006,725,513,495,943,925,892,949,1144,1000,1216,1538,1038,920,1006,1194,1122,1388,1276,1462,1510,1460,1228,494,406,641,777,619,479,542,783,1054,1274,1014,712,930,1198,1390,1452,1222,476,425,886,941,890,1216,1494,1500,1044,672,589,650,1082,1162,580,549,489,491,613,537,538,1018,1028,446,434,613,819,932,990,1174,1276,768,905,1064,865,1120,1220,857,633,697,956,916,864,504,523,1098,934,658,963,1074,1230,1148,810,990,1298,1520,1004,901,788,708,1010,1206,1068,1028,1066,1184,1030,987,670,728,1362,1130,779,576,648,894,891,999,1254,941,507,667,949,889,423,385,283,484,730,620,468,335,327,525,790,1080,1010,603,568,578,590,611,583,471,972,1108,875,688,435,311,510,1288,1502,1210,690,1012,1078,730,642,512,341,420,820,744,445,585,543,584,821,803,525,586,914,1178,1018,511,330,367,319,312,400,538,613,795,1226,1822,1380,1196,1086,773,945,1284,1288,997,618,307,297,425,591,723,565,455,386,622,993,1040,700,461,400,503,680,869,804,857,648,582,644,774,820,845,1288,1452,751,474,524,547,478,448,616,625,631,807,808,796,421,458,784,912,697,788,1224,986,1002,938,958,1108,1274,1254,1428,1766,1012,850,1104,1194,914,521,446,448,462,455,438,391,442,485,485,506,474,480,444,412,389,396,363,388,422,500,600,489,372,448,509,550,545,527,561,465,457,392,307,369,405,336,447,1040,1282,1156,1398,1708,1572,1384,1310,1070,1074,1340,1216,630,418,407,417,401,409,411,419,430,583,1001,1172,1214,1516,1916,1926,2026,2412,2410,2224,2210,2230,2108,1916,1466,991,825,1204,1018,1096,867,617,944,841,800,798,725,704,754,754,668,653,661,532,442,499,508,577,528,587,888,1144,1266,1332,1468,1570,1290,1080,2400,2744,2310,1914,1518,1422,1598,1678,1462,1362,1312,1498,1752,1694,1664,1664,1610,1428,1494,2040,2406,2492,2642,1998,1202,1282,1258,860,565,521,638,546,487,498,500,766,1172,1646,1988,1738,1402,977,872,822,601,440,1044,1418,1494,1768,1930,1992,1960,1834,1938,2172,1186,716,1040,971,1112,1698,1406,755,637,718,864,1340,1366,618,580,557,602,670,865,1826,2204,1824,1770,2056,2412,2122,2576,3660,3826,3794,3598,1842,847,1604,3032,3884,3748,2862,1842,1450,1198,794,1124,1202,1258,1474,1648,1594,1462,1334,1036,1048,1590,1792,1208,656,586,714,578,1054,1364,1538,1548,1454,1334,1168,1188,1018,843,1032,992,1094,1460,1798,1630,1106,993,1376,1438,1410,1516,1472,1146,1272,1438,1400,1426,1418,1606,1440,1184,1216,1134,1036,1058,1574,1438,1296,1600,1632,1476,1524,1794,1556,1472,2468,2810,1466,1142,1302,1406,1220,1080,1068,1162,1202,1290,1284,1292,1572,1494,1312,1120,1230,1344,1410,1554,1432,1252,1298,1206,1070,689,438,395,467,486,677,835,914,1142,1124,980,761,902,1422,1322,1023,1048,1082,772,1360,1892,1398,1292,1250,643,638,797,711,973,881,582,361,378,606,897,540,301,265,300,402,510,960,1102,743,819,814,734,715,673,1108,1346,1214,724,597,827,916,1084,1150,883,1116,959,639,1294,1342,1572,1594,1072,1216,1376,1140,1178,1486,1606,1204,748,776,628,570,783,612,408,332,426,590,683,740,708,883,1017,774,666,502,482,483,599,775,722,705,939,1162,1176,725,530,893,1340,1394,1240,738,937,971,587,582,1408,2376,1642,902,471,361,382,388,408,922,1084,1144,1642,1836,1294,580,467,688,498,420,429,488,480,757,799,505,566,741,730,535,497,639,984,1034,1158,1568,1704,1310,1250,1086,708,786,1024,894,901,1326,796,619,813,798,1112,1332,1214,1202,1368,1050,700,779,1052,1220,1330,1678,1186,541,523,610,650,595,484,490,512,487,911,1380,1380,962,854,706,692,1130,1360,1226,1058,694,766,1318,1476,1494,1810,1752,1292,1082,1052,1170,1368,1322,1376,1384,1306,1492,1578,1256,1084,1066,505,395,841,1542,1658,1130,538,443,430,486,470,682,1044,1078,1056,1230,1394,1316,860,664,771,864,623,603,1020,932,651,495,736,796,716,769,900,1226,1506,1946,2026,1536,749,658,727,752,550,891,965,1268,1786,1832,1694,1958,1874,904,598,398,520,570,314,283,374,418,414,407,568,974,1246,1001,890,982,1128,1374,1228,1302,1366,1350,1484,1418,946,600,533,531,533,499,631,879,1160,1302,1328,1318,1160,1206,1340,1122,833,1116,1332,1108,1266,1798,1366,712,488,664,961,840,517,612,702,543,328,408,630,738,814,975,1132,776,653,839,763,716,1036,960,945,1190,1452,1820,1416,1046,1146,926,931,820,612,447,558,864,745,572,548,661,970,1358,1322,828,899,1078,935,1132,1254,1252,1124,1106,1274,1262,869,657,1042,1404,1572,1744,2012,2360,1898,908,787,748,738,953,1176,908,789,1030,1306,1172,983,871,802,871,827,739,838,1488,1720,1104,745,669,636,694,614,648,990,1098,985,862,1334,1190,1408,1340,767,361,380,540,827,879,817,855,777,786,919,1418,1446,1056,1140,1116,800,775,910,1009,787,846,615,740,1106,1082,1088,1038,813,795,932,921,837,1298,1958,1906,1838,1634,1538,2136,1798,901,546,632,996,1210,1152,1288,1414,1152,895,902,1020,960,1116,1350,1244,1174,894,634,499,336,352,354,386,609,692,762,952,1054,975,802,1018,1450,1572,1464,1296,1350,1530,1572,1394,1076,1124,1136,1438,1146,1256,912,384,355,374,420,441,634,1202,945,666,601,609,478,372,332,544,879,1260,1404,1390,844,887,848,800,708,511,485,946,1088,1068,1310,1242,1202,965,741,537,574,805,1024,944,747,961,1260,1192,1036,1298,1020,641,752,1396,1298,948,1272,1336,1164,1492,1366,1412,1758,1434,1638,1514,977,471,474,466,516,466,681,938,1156,1394,1428,1156,866,623,441,501,526,680,554,563,787,1108,1200,1194,1220,932,976,1256,747,870],[689,788,940,1070,850,850,1040,810,700,784,578,600,940,796,914,1236,1014,685,729,1160,1458,1842,1900,1814,992,615,554,422,468,440,298,303,292,285,300,292,274,271,284,301,318,330,347,496,945,1168,870,767,1242,1848,1518,1566,1512,1192,1034,1246,1518,1236,1140,1060,1164,744,832,725,540,463,443,430,455,493,440,730,1740,1894,913,519,469,615,958,1116,1020,850,833,983,865,539,489,613,869,1196,1344,675,387,392,368,383,381,368,376,402,425,403,415,408,418,437,431,438,415,370,525,956,797,414,387,335,360,309,206,215,252,252,263,329,540,720,569,468,359,304,587,822,836,1112,1452,852,386,418,469,647,1234,1154,539,550,525,558,717,756,838,917,1550,1624,1182,885,534,519,577,473,439,453,352,350,358,312,299,504,551,590,631,472,412,545,494,325,530,617,700,620,483,571,888,1152,1288,1364,965,453,330,533,546,938,716,551,689,950,910,894,860,459,372,387,355,463,660,783,827,1498,1756,896,470,370,319,300,260,245,233,266,388,348,291,358,472,611,633,357,250,320,418,483,684,938,1038,800,487,426,447,979,1620,1340,1178,1356,1196,1256,1548,1326,1330,1162,1278,1252,916,657,567,820,1262,1836,2054,1290,1202,778,713,651,827,800,513,414,509,689,877,1202,1130,807,847,860,1086,1390,1360,1028,517,539,753,926,1106,889,558,497,373,706,672,386,423,515,412,450,574,1011,1240,885,648,907,1404,1166,759,776,804,667,632,608,771,1005,847,802,774,1100,1206,1356,1023,908,1001,835,989,1060,1102,1448,1576,1152,683,564,519,415,434,435,547,998,1182,1228,1278,1272,1368,1348,1064,633,583,523,784,983,1214,989,926,1132,1172,1230,1208,757,474,619,778,905,1440,1816,1122,688,800,960,1360,1418,1076,858,1284,1860,1220,1124,1152,1144,1064,837,915,875,629,578,547,506,498,615,724,706,1544,1408,1230,1334,791,496,484,451,504,800,1148,685,493,454,481,740,747,612,710,852,1052,1224,1260,1136,720,477,557,505,524,513,697,640,922,1302,1106,776,518,683,792,610,533,691,893,736,522,558,924,973,940,808,456,527,672,828,728,697,680,610,989,1320,1176,1052,1012,1186,1130,891,860,602,586,1001,1240,904,1470,1824,1302,777,1154,1616,1722,1712,1204,1018,927,839,887,996,1044,1238,1028,1136,1300,1168,905,958,1192,1014,934,949,973,779,994,1140,1288,1656,1368,954,770,540,600,891,723,811,1348,1558,1604,1444,1346,1556,1252,685,583,931,1274,1368,1044,1106,944,777,854,1138,1242,1266,1278,834,810,1036,982,910,583,445,469,623,937,868,1024,1218,1240,1154,946,998,1238,1238,1100,1552,1310,768,577,541,1066,1472,1194,1072,1040,597,532,865,961,1252,1482,964,1012,869,978,965,946,927,588,811,1338,1472,1316,1090,1308,967,865,783,973,1276,1102,1082,1074,1074,1018,1222,1158,1194,897,1134,1170,1062,1176,1060,1328,1348,943,721,327,260,375,483,443,576,755,683,892,1792,1882,859,988,1366,1392,1578,912,436,380,596,714,573,607,974,1114,709,516,439,379,638,695,785,1104,960,605,599,674,825,939,738,459,556,774,1066,1210,1246,1130,827,1274,1222,913,1232,1294,975,753,442,431,703,1412,1752,1024,645,649,451,510,645,594,476,386,618,951,752,696,1050,1506,1622,1298,1148,984,778,714,912,1514,1516,1378,624,957,1258,741,658,733,962,1290,1240,723,421,456,379,346,448,539,475,413,409,410,562,677,654,423,338,577,1174,1404,589,477,588,498,396,353,475,689,888,497,314,322,512,465,778,1382,1368,849,572,869,895,623,527,433,371,369,473,448,513,711,644,532,644,575,542,682,872,1104,990,477,390,368,400,455,658,930,1192,1062,1284,1722,1426,1252,1128,780,938,1418,1376,1142,772,426,417,735,952,799,823,821,442,655,1220,1376,911,487,384,528,716,832,906,781,625,717,902,1082,856,1018,1510,1102,577,525,513,447,441,491,521,860,1816,1876,818,966,567,412,473,726,828,661,748,897,1026,1016,1046,1100,1066,894,1108,1152,964,1052,1290,968,598,520,473,447,462,489,507,413,453,448,448,484,466,422,438,385,346,312,304,388,524,642,684,505,370,503,656,656,580,601,770,695,435,324,283,336,407,349,310,782,1310,1050,1040,1334,1354,1290,1013,1086,1576,1460,1122,749,740,657,676,717,631,482,466,442,638,1078,1248,1514,1422,1864,2040,2048,2322,2266,2200,2238,2138,1980,1782,1460,1342,1172,1394,1032,1306,898,780,866,736,772,796,758,739,791,840,866,905,753,607,512,454,558,680,574,524,637,791,1070,1230,1258,1162,833,1190,2480,2968,2718,1924,1640,1678,1612,1622,1592,1622,1454,1572,1522,1228,1404,1582,1598,1510,1404,1794,2486,2674,1966,1280,1396,1310,980,507,520,661,598,511,476,434,495,887,1390,1644,1652,1306,985,808,720,739,720,985,1644,1692,2030,2088,2032,1990,1764,1354,1274,1748,1406,1204,1396,1538,1650,1772,1598,942,625,872,846,1366,1908,1192,656,546,525,627,715,1144,1788,2114,2658,3272,3436,2300,2050,3010,2806,2624,3466,2732,1009,1188,2646,3032,2504,2242,2072,1574,1120,946,1042,1306,1340,1490,1934,1760,1332,1288,1034,883,1166,1496,988,640,888,1030,764,818,1264,1712,1620,1132,920,1172,1252,824,768,1062,933,1054,1406,1554,1428,1110,1234,1530,1372,1300,1408,1494,1470,1410,1364,1384,1250,1092,1190,1194,1148,1376,927,901,1052,1374,1450,1322,1440,1508,1510,1654,1662,1334,1412,1708,1744,1406,1500,3046,1990,1104,1058,1224,1560,1460,1348,1418,1514,1296,1324,1528,1402,1324,1296,1478,1380,1376,1450,1330,1152,909,440,480,475,509,452,513,584,634,803,1012,1166,1002,775,744,700,887,1372,1440,905,1694,2036,1348,1308,1286,791,700,893,737,524,537,571,303,458,924,870,526,477,542,512,381,413,598,658,582,621,658,640,822,845,1088,1474,1264,675,494,583,533,444,589,754,1140,952,882,1422,1128,1342,1510,1018,874,1592,1756,1758,2008,1782,1328,975,707,530,430,518,422,391,692,901,736,806,886,989,949,1116,1028,879,507,405,521,944,1302,828,581,565,739,1030,868,927,1112,1100,854,946,1062,1174,1182,1290,1278,1592,1842,826,404,296,450,722,1005,796,822,1100,1088,1146,1244,801,398,328,336,342,368,383,524,954,1660,1544,810,658,591,598,389,265,269,329,636,819,1064,1186,1226,1248,1015,955,1240,1140,840,786,796,891,826,986,929,1018,1030,775,885,943,556,603,716,669,866,1090,1338,954,692,900,1024,888,586,385,415,545,582,1178,1500,1010,875,892,638,775,1054,1086,1154,625,562,1092,1432,1390,1230,1556,1528,1278,1542,1462,996,748,1014,1438,1566,1586,1532,1256,1342,1020,774,643,681,932,1394,1798,1590,841,549,526,768,879,808,869,1072,1324,1386,1224,1066,925,881,1216,1084,705,450,446,619,886,814,932,964,1124,1004,800,912,1294,1392,1278,1036,711,600,695,767,606,612,897,1388,1694,1736,1720,1732,1528,741,415,307,381,380,287,314,454,504,454,469,847,1450,1228,1120,1142,1238,1572,1520,1230,1226,1440,1626,1730,1762,1194,626,495,511,533,509,571,747,1216,1324,1300,1174,1238,1332,1102,796,636,1282,1344,1256,1690,1834,1874,1148,633,618,729,790,674,617,513,525,383,392,562,827,1080,1270,904,499,556,609,367,581,755,524,837,1234,1046,1390,1322,1392,1450,1242,902,462,301,325,399,612,540,426,437,631,1092,1340,1510,1110,811,870,987,1328,1250,1184,1284,1046,1100,1104,930,856,908,1316,1526,1482,1360,1062,1180,955,1244,917,689,811,741,857,974,1070,1224,956,646,805,822,771,685,726,769,1060,1112,877,998,1082,980,1170,799,901,1188,1007,1260,949,866,1076,1512,1748,1094,433,505,727,772,943,771,720,837,975,1164,1312,1122,1198,1576,1206,615,811,1202,1118,1082,985,661,702,1046,762,785,730,709,1110,1426,1482,1356,1562,1382,1320,1852,1844,1860,1844,1338,868,693,583,671,928,1258,1274,940,603,855,930,928,722,1090,1098,788,734,747,567,386,305,314,454,485,707,1148,1102,707,1040,1300,857,1090,1640,1660,1426,1266,1174,1294,1312,1218,1446,1748,1306,961,937,647,387,427,355,363,604,544,711,1220,825,502,630,579,488,433,323,344,667,1154,1048,1262,1023,1072,1374,1230,695,597,706,824,1050,1018,1236,1482,1222,913,741,581,556,559,792,798,623,661,863,1238,1013,1212,1208,1180,1058,1254,1198,1130,1152,1130,1172,1228,1138,1484,1334,729,768,1656,1312,733,625,635,518,565,1108,1262,1004,1140,1290,1372,1162,558,386,410,610,647,469,567,882,1084,1286,1280,1334,1344,1362,1390,1152,860],[551,535,717,1046,717,748,777,774,715,542,440,726,1030,844,774,901,778,698,882,1162,1566,1736,2018,2032,1218,650,492,465,495,378,347,313,279,292,305,284,266,267,275,277,283,301,344,505,981,1130,1090,945,1030,1120,872,973,1152,1204,1110,1242,1250,872,950,929,1096,1208,1112,687,475,383,383,471,656,708,538,830,1566,1584,733,566,502,889,1030,678,675,783,841,941,1078,588,542,585,573,677,1122,697,368,416,455,454,411,379,374,372,422,440,418,408,426,444,450,484,466,406,497,660,535,351,347,403,424,308,252,239,240,241,265,350,548,617,536,545,517,389,479,711,778,1468,1736,844,390,481,495,602,985,868,821,858,1100,1015,940,944,1050,1102,1015,1018,981,1004,1084,1086,1270,681,487,474,419,433,466,374,299,330,465,692,498,287,352,458,357,348,352,332,460,395,278,395,653,720,843,897,592,268,237,368,540,608,529,557,599,781,1128,1032,658,390,395,439,479,719,807,985,916,1024,1110,969,871,518,355,336,290,290,288,363,514,461,392,394,493,618,501,285,267,260,321,366,486,663,659,513,494,457,792,1614,1504,806,713,915,1224,1360,1476,1322,1438,1570,1740,1632,1468,1300,1142,837,1090,1416,1476,1230,1018,604,856,960,867,680,504,621,735,842,725,951,722,437,410,426,866,1086,1230,988,608,670,797,555,688,1040,785,698,611,1020,768,355,396,345,350,430,485,774,935,788,808,790,1005,830,525,741,1140,1036,792,890,787,963,929,1036,998,1174,1250,1466,1136,874,668,695,1112,982,855,963,837,709,715,745,670,724,811,786,927,1190,1322,1218,969,1013,1130,1026,1308,1012,608,372,675,1076,1023,792,912,1194,1224,1196,1106,962,976,842,976,1148,1300,1196,1148,918,685,885,962,949,1858,1872,1044,1070,1282,1504,1162,804,773,840,1016,686,890,607,644,807,780,763,763,1110,1522,1066,1362,1528,871,532,434,468,527,485,563,536,663,780,650,533,469,484,597,783,986,1064,1120,1013,794,522,515,487,432,379,360,361,644,1090,1432,1224,835,754,826,818,887,1204,1208,1062,651,458,845,993,965,959,501,428,700,1068,838,730,850,870,1174,1440,1384,1110,989,1030,904,1406,1656,706,469,886,1228,1108,1574,1874,1236,758,1062,1566,1550,1458,1174,1042,879,877,1104,1022,897,983,1284,1490,1232,888,796,871,714,750,824,955,895,766,755,920,1298,1242,717,844,655,799,908,1080,1240,1248,1304,1462,1686,1604,1328,916,543,417,440,775,1224,1154,1080,1184,1160,833,760,853,931,1356,1386,1058,1206,917,667,439,408,498,496,753,1182,1136,971,857,775,897,1224,1772,1884,1448,1026,1598,1580,888,533,451,829,1102,915,890,940,576,484,530,456,822,1106,983,883,823,772,681,534,605,796,1290,1430,1380,1250,1040,1206,1096,1016,943,1172,1230,1484,1466,1184,1358,1288,1324,1388,1338,863,1116,1376,1474,1490,1112,1320,1164,973,833,430,299,340,424,716,1034,913,765,515,859,1576,1168,1174,1116,1106,1132,543,438,660,1060,1152,871,577,391,632,1066,763,594,491,454,720,1204,1702,1284,674,426,677,1256,1070,655,535,760,894,1028,1160,1426,955,890,1604,1114,728,1072,1018,1170,1009,598,414,890,1928,1854,1050,1060,1144,727,427,360,361,354,334,602,740,571,477,781,1108,1122,855,506,347,260,325,481,718,833,876,461,982,1144,982,882,651,496,572,656,371,345,333,277,279,448,670,596,495,509,491,351,389,781,916,495,453,677,809,615,625,598,427,350,482,477,657,730,371,308,462,1180,862,973,755,662,422,328,794,989,608,550,514,486,408,417,433,411,650,677,474,489,634,791,744,1020,1688,1322,530,456,479,461,507,894,1250,1360,1080,1080,1478,1588,1015,976,1078,1402,1810,1300,821,860,700,544,772,857,804,1140,1456,987,1516,1960,1648,875,384,355,495,703,842,855,730,537,740,1344,1312,737,728,826,612,515,584,617,560,574,532,429,716,1648,1484,799,831,970,636,461,586,742,885,1064,1166,1238,1246,1248,1026,844,658,1052,1304,1158,1268,1114,662,562,508,479,500,475,505,525,475,497,515,498,516,435,416,425,371,347,333,340,362,506,584,739,600,514,586,584,518,458,467,578,554,393,322,297,342,400,347,305,416,1042,1182,1011,1206,1346,1286,1124,1432,1720,1646,1058,713,666,997,1082,896,722,596,698,741,1122,1390,1432,1428,1130,1720,2086,2114,2144,2126,2080,2066,2054,1838,1708,1082,813,1244,1244,1126,1150,725,727,742,658,673,740,762,717,753,788,910,1020,902,728,651,579,716,823,680,582,567,469,655,974,1100,802,1040,1394,1672,2238,2226,1886,2082,1798,1864,2226,1832,1700,1626,1544,1102,771,989,1316,1470,1372,1328,1454,2076,1788,1178,1080,1060,794,557,523,625,507,427,565,588,466,646,1024,1324,1494,1180,999,863,846,802,859,748,995,1704,1750,2056,2030,2006,1902,1354,730,572,995,1526,1672,1248,922,962,1272,1502,1396,1350,1372,902,1108,1838,1784,1020,530,534,554,677,871,1880,3292,3704,3486,3176,2734,2128,1980,1796,1920,3042,3630,1780,730,1454,2160,2052,1958,2206,1790,1294,1230,1202,1256,1210,1136,1384,1732,1464,1438,1454,1002,912,1520,1382,1114,1296,1444,1158,990,1112,1614,1392,1202,1206,1194,1194,897,751,893,1088,1150,919,1134,1562,1390,1194,1332,1390,1088,1220,1282,1318,1292,1324,1354,1292,921,747,880,1108,1004,905,1084,1334,1282,1440,1414,1256,1582,1462,1252,1234,1140,1204,1078,1364,1272,1964,3078,1948,1110,1300,1368,1266,1258,1208,1222,1360,1272,1172,1418,1528,1296,1396,1310,1166,1194,1198,1194,1086,855,501,529,539,420,338,363,420,448,497,747,1230,1010,779,660,927,893,1110,872,520,740,940,1152,1468,1334,752,518,686,753,600,465,453,326,479,791,506,336,504,705,700,488,444,474,535,551,479,535,633,796,764,731,811,785,470,242,392,630,513,478,796,996,1250,1672,1172,797,1318,1548,1256,834,1564,1542,1466,1934,1672,1488,1070,498,318,315,332,317,388,717,896,868,935,1015,1266,933,716,1003,891,608,685,669,1042,1396,698,766,608,675,1026,1200,1372,1262,735,478,587,728,1136,1384,1490,1174,1106,645,369,356,302,459,760,861,752,467,496,660,494,452,373,417,375,360,400,353,353,423,745,1532,1954,996,476,331,397,476,319,328,412,473,657,841,878,1096,1128,1188,1400,1858,1824,1538,1196,926,724,597,724,942,1144,1007,975,1072,831,558,742,883,736,499,662,757,618,624,833,1242,1146,753,623,732,874,978,1644,1704,1220,1260,1302,1038,1120,1142,1322,1396,778,741,1038,1312,1242,1380,1426,1132,1196,1546,1648,1340,826,934,1206,1238,1450,1588,1414,1490,1320,1072,933,807,861,1584,1896,1462,1001,475,502,708,1015,1062,1198,1368,1288,1094,811,928,926,751,1162,999,720,644,559,882,1001,1046,1034,1028,1138,728,645,814,1280,1144,966,1370,1364,730,464,518,685,846,900,1114,1266,1562,1736,1614,1324,699,386,310,258,205,278,485,615,605,520,687,1196,1530,1240,1378,1556,1312,1346,1350,1246,1112,1096,1208,1396,1482,1102,689,541,526,562,509,469,750,1156,1340,1262,1082,1122,1194,1112,818,825,1358,1094,1002,1184,1380,1536,1166,818,656,549,621,731,502,419,438,371,368,458,766,1188,1015,600,639,694,742,735,997,1058,786,1394,1518,780,914,1130,1260,1324,1170,778,354,274,295,328,548,566,410,447,614,820,1058,1394,1490,1086,524,697,1288,1282,1146,1342,1003,987,813,825,919,849,1040,1316,1166,927,671,873,717,836,650,601,564,410,701,1136,1346,1278,1052,590,530,524,558,478,604,781,713,600,817,1290,1298,1170,1134,637,777,1296,1306,1470,1262,892,817,991,960,970,730,800,951,658,750,1008,1024,946,1114,1340,1276,1376,1932,2012,1288,1046,1136,1598,1488,943,754,846,949,856,644,557,557,635,841,992,1312,1528,1438,976,1136,1714,1936,1572,1058,1028,1046,733,688,930,1007,1020,852,589,491,535,825,1146,1120,968,940,775,533,510,777,608,411,292,556,661,683,1212,1622,1222,1554,1828,1086,796,1130,1330,1170,1284,1118,986,1018,985,1276,1444,1038,882,779,466,430,386,362,459,492,484,706,1034,829,566,549,551,454,383,364,623,1042,1030,942,1023,1068,973,1022,1164,1110,1110,799,468,571,624,987,1094,1023,961,673,557,492,422,419,495,875,849,922,1250,1274,1202,1396,1384,1380,1354,1332,1354,1318,1262,1066,785,633,1044,844,585,504,811,1021,1230,1172,1032,1016,998,1398,1348,1216,1438,1296,1310,1070,692,400,383,538,581,642,956,828,824,813,840,995,1410,1400,1384,1286,1226],[488,504,771,676,368,376,606,871,793,618,503,720,1112,915,532,468,559,557,575,720,973,1018,1222,1252,838,619,433,463,501,445,441,414,424,412,339,281,274,303,334,365,376,383,396,655,981,1021,898,865,1204,1108,1246,1460,1410,1244,988,766,735,565,565,839,1196,1544,1184,761,641,469,547,653,849,1009,711,794,767,725,626,1100,1080,777,717,597,724,636,781,901,998,735,1060,1106,746,789,963,592,401,439,451,438,394,359,347,345,371,389,402,416,428,437,519,705,778,855,879,1426,964,502,421,595,677,474,364,304,285,294,303,325,412,388,373,555,553,369,486,608,394,603,678,469,444,495,491,399,518,624,825,1106,1282,905,859,782,756,852,1162,1276,1082,1078,1496,1864,1630,754,437,503,430,389,490,573,528,443,619,1036,496,374,500,419,268,379,436,382,321,297,305,400,558,579,927,673,412,283,297,427,641,547,454,541,597,732,1106,1394,940,554,500,419,639,857,924,1060,885,885,1011,1072,1078,604,399,397,349,405,446,471,550,640,566,443,513,537,399,278,255,254,279,405,511,747,728,545,620,603,902,1324,817,558,694,1088,1460,1604,1166,949,1362,1756,1506,1021,1086,1102,1072,1118,1130,1238,1306,895,530,525,1122,1620,1272,709,626,690,688,805,614,628,518,424,376,437,482,585,847,935,821,1124,732,479,619,1166,1368,1202,1034,905,655,518,400,354,368,390,388,704,821,744,741,501,399,367,437,977,1330,902,506,511,495,1024,1144,1278,884,849,1110,1034,941,901,639,651,1204,1226,1114,920,672,555,919,1256,1020,932,1234,1188,1074,1312,1390,1250,875,686,675,605,1034,1314,1040,617,547,626,758,896,1136,1040,1160,1032,1044,1344,1090,870,1140,1114,692,899,1340,1196,1102,1156,843,1262,2244,2090,1352,1256,1212,993,637,718,805,742,738,745,1202,786,598,883,948,808,943,1678,1572,880,1272,1244,684,650,697,593,486,434,610,722,969,1330,1064,558,288,346,493,777,855,1412,1612,1288,1020,863,695,480,377,332,398,444,516,698,1144,1306,882,941,975,990,1198,1360,1188,810,480,693,1084,880,805,770,517,765,1104,1046,707,920,1260,1240,1282,1264,1072,1056,860,1102,1296,1772,1964,922,450,763,1170,1238,1566,1938,1416,727,621,1062,1288,1044,708,799,816,1034,1224,1066,1094,1068,1134,1244,1024,777,986,1120,890,996,855,843,822,567,614,858,1054,936,538,576,695,1038,1106,1300,1284,1130,1148,1710,2096,1722,1482,872,595,437,589,924,1214,1184,1118,1268,1072,742,1030,1048,1054,1038,935,897,823,563,373,317,403,613,722,925,1266,1208,1216,938,666,692,1480,2450,2146,1694,1162,1458,1456,743,522,447,530,764,844,1001,780,615,566,519,471,738,1136,1158,1130,1156,1110,961,828,979,1204,971,895,1092,1096,1164,1286,1300,1316,893,1186,1056,1936,1776,1082,1128,1484,1520,1420,1036,622,922,1576,1422,1484,1490,1510,1046,759,442,297,338,667,979,1286,1360,953,792,521,623,893,978,1500,1228,1074,711,343,385,570,890,1114,1122,1040,572,577,960,1256,1003,566,397,679,1306,1458,1012,645,456,908,1484,1542,931,708,752,750,932,1302,1388,839,919,1166,711,816,1300,983,1018,1216,1005,743,751,808,740,815,1164,1576,1118,601,562,507,446,459,847,1228,1338,1002,677,695,470,412,399,411,353,363,424,391,353,379,371,605,860,937,669,383,428,572,500,406,573,546,349,426,579,600,594,527,352,319,347,508,716,904,884,680,380,437,679,671,568,575,673,604,606,1021,995,607,619,899,1232,924,993,885,642,485,460,954,1206,999,766,866,769,583,773,753,490,896,811,428,464,859,904,785,1146,1680,1202,496,548,636,481,468,719,791,573,459,779,1356,1470,1090,1210,1406,1582,1464,1166,919,865,886,869,749,648,682,881,1262,1064,917,731,675,578,384,389,539,937,1194,1009,717,439,450,811,976,730,356,292,401,529,751,1134,1262,910,512,421,656,1326,1692,1370,795,752,610,473,499,524,799,1122,1212,1228,1208,1260,1092,916,952,1302,1346,1112,1016,683,602,563,404,436,507,484,479,497,484,496,504,541,491,385,427,461,362,301,318,354,347,548,752,842,689,576,475,354,338,323,331,448,507,421,349,282,302,405,443,375,414,1170,1666,1316,1390,1462,1472,1286,1332,1422,1510,1262,1076,1090,1166,1072,1021,1040,953,988,1142,1614,1500,1488,1330,1180,1692,2018,2074,2066,2098,2034,1892,2008,1584,1406,1250,801,1150,1064,1084,1012,634,686,609,639,650,713,724,709,753,877,1068,1136,1034,1010,958,876,792,803,777,605,533,459,432,578,766,913,1326,1522,1446,1444,1616,2168,2136,1902,2674,2426,1854,1742,1684,1736,1474,999,893,1178,1122,1062,1116,1074,1334,1402,1482,1030,585,504,551,676,588,364,404,635,801,625,805,1114,1340,1666,1558,1158,942,1064,981,757,694,678,1274,1582,1908,1938,1744,1850,1390,798,594,921,1594,1608,830,521,538,912,1118,1158,1164,1232,980,896,1356,1770,1420,728,570,491,595,774,1656,2876,2952,2906,3222,3024,2202,1596,1732,1974,1974,2442,1474,697,907,1842,2148,1932,1912,1768,1546,1344,1210,1146,1332,1406,1572,2014,1802,1488,1720,1296,754,1018,1268,1226,1362,1336,1076,1108,976,1376,1284,1234,1196,1258,1448,1366,1130,1138,1172,1021,1038,1246,1424,1418,944,832,1086,1258,1268,1204,1198,1334,1416,1282,1350,1268,1202,1356,1236,1140,1274,1412,1468,1518,1616,1410,1366,1494,1192,1282,1282,1298,1244,1140,1472,1400,1462,1878,1578,1226,1368,1476,1310,1286,1216,1130,1214,1166,1088,1312,1294,1294,1310,963,1182,1272,945,849,1042,893,905,680,494,395,366,405,454,499,468,737,1184,618,664,594,1212,1560,1204,879,814,677,580,709,930,1152,680,498,515,576,558,353,279,269,254,271,327,398,550,606,717,703,585,465,333,385,626,882,727,589,601,562,553,457,440,470,361,542,671,669,615,695,915,1086,1070,913,1354,1534,1488,894,1126,1260,1438,1738,1698,1344,785,467,362,301,336,549,628,678,976,1518,1566,1300,1048,629,581,830,758,608,641,747,921,995,512,452,420,1104,1380,965,796,757,526,519,495,552,1154,1562,1626,1332,1224,943,491,373,360,487,560,402,600,507,503,390,352,349,401,593,594,545,474,415,393,559,963,1550,1832,1094,440,308,494,500,562,990,1232,1009,793,871,1084,1050,1274,1292,1274,1376,1478,1184,941,899,619,393,427,912,1372,1402,1626,1434,828,744,695,741,910,828,589,619,709,623,413,689,871,722,876,871,1172,1208,1380,1186,1023,1406,1264,1046,1210,1372,1532,1360,975,991,1184,1004,705,806,1010,1042,926,1218,1604,1278,1000,1290,1206,1040,1224,1436,1524,1614,1656,1552,1416,1332,2040,2620,1648,1024,781,1040,1600,1242,1028,1210,1272,1158,1204,1208,828,738,1100,1134,1306,1016,722,543,500,796,831,758,738,804,790,532,601,758,1284,1352,950,1094,1236,1066,908,730,760,871,924,1238,1180,1023,1512,1510,1236,841,537,302,247,282,443,608,621,524,594,775,998,1176,1382,1652,1766,1202,938,1274,1428,1404,1246,1036,910,834,907,799,630,549,592,523,461,539,727,1162,1358,1250,1230,1250,1040,774,987,846,838,802,822,1102,1128,918,929,961,902,664,556,419,371,440,539,461,310,333,390,408,535,921,923,877,1112,1384,1340,1048,2244,2464,1416,1152,1048,746,926,1332,1110,445,316,311,363,575,463,328,466,790,968,974,1502,1692,1192,869,1072,1406,1396,1414,1338,1420,1326,689,513,678,946,1078,1172,803,1106,1034,516,316,422,554,917,1032,986,1394,1686,1438,1132,1092,719,416,526,730,583,655,865,864,1062,1042,1086,1344,1334,1005,692,1116,1296,1182,1086,1160,1152,723,612,733,1052,1108,1316,1082,706,522,781,1042,916,759,972,924,948,1186,1792,1388,1166,1032,1532,1570,1108,1110,1176,1015,751,817,836,597,467,497,676,1196,1456,1300,869,954,1598,1868,1572,1406,1766,1538,937,907,990,728,570,417,390,481,532,717,770,740,1022,1148,971,987,964,786,778,645,557,390,495,611,771,990,935,1978,2066,1298,750,973,1204,1084,1092,731,670,998,1154,1460,1332,977,1206,967,531,376,355,398,341,324,480,849,998,655,434,463,620,488,441,421,1694,2104,1290,844,825,988,825,745,1082,1422,1456,1236,791,692,669,747,1034,1164,1096,1086,716,346,305,341,684,954,650,933,1194,1082,1094,1378,1164,904,1010,1230,1268,1404,1278,874,741,731,1076,908,1024,953,679,1158,1712,1682,1422,1304,1096,1368,1384,1538,1866,1566,1244,1668,1384,630,477,600,878,1078,1350,1108,1152,891,668,582,658,993,1328,1336,1324],[671,755,567,390,362,429,503,561,719,789,738,683,933,753,412,337,429,435,418,434,477,512,688,759,608,522,402,384,378,340,373,424,431,429,437,496,569,580,568,583,583,461,467,873,1003,955,894,1558,1990,1144,1710,1622,1424,1556,1358,741,595,446,487,842,1136,1276,1038,730,569,526,925,1164,946,692,661,715,642,580,751,1460,1512,1372,1338,999,925,1266,1234,984,958,725,833,892,686,831,908,488,427,444,396,396,382,372,374,362,366,389,424,447,438,423,499,695,785,921,1466,2212,1326,538,415,1076,1148,580,576,626,633,559,429,473,498,475,414,413,373,329,537,602,430,335,358,512,511,582,450,385,650,781,935,1334,1142,573,646,499,395,549,1218,1324,1430,1464,1378,1100,923,696,390,330,314,334,537,581,678,598,619,962,603,573,910,814,565,366,381,420,311,297,366,462,838,1048,1009,733,424,259,325,665,803,624,695,525,536,775,808,1290,1270,937,579,377,535,805,986,961,998,1120,1030,1056,1222,827,486,495,516,864,1124,764,590,725,681,550,448,437,349,314,278,278,320,441,630,960,906,563,565,493,495,543,437,673,1302,1538,1404,1288,1098,1246,1710,1452,650,643,837,1132,1154,821,700,891,1112,979,605,705,1388,1658,1056,628,998,976,869,835,684,576,472,387,380,467,419,383,685,1274,995,999,641,497,573,1056,1108,891,966,532,445,529,525,398,337,365,358,658,731,659,735,662,406,339,404,761,656,445,462,566,444,511,1112,1296,837,874,876,578,641,462,531,686,1100,1562,1438,993,1010,797,637,980,1000,830,1074,1354,1206,1164,914,861,528,387,559,669,821,1360,1542,905,519,554,942,783,830,621,659,988,1122,1100,930,973,1230,1019,569,469,748,1266,1490,1516,1318,1338,1494,1306,1302,1256,990,625,454,573,795,668,416,492,799,751,855,1636,1562,788,999,1130,769,598,1010,722,507,641,865,1023,1440,1278,1005,1384,1534,1290,1094,886,571,344,522,866,883,1392,1504,1154,946,979,799,447,399,391,439,558,625,515,447,705,985,1368,1358,1256,1088,1128,1270,810,691,923,1186,927,801,915,645,742,1498,1416,759,1010,1416,1476,1186,1170,1322,1660,1350,1506,1486,1250,1042,627,402,599,993,1092,1512,2016,1600,818,641,655,911,1160,1238,897,738,1186,1184,1082,1232,1062,1036,1070,662,641,1082,882,795,1110,991,1136,1290,747,758,1182,1148,735,675,708,562,772,1302,1602,1306,959,1670,2820,2354,1436,1388,1154,630,487,541,589,763,1166,1122,1026,1030,706,732,928,1288,1490,1512,1140,941,760,482,392,556,1090,1292,979,1060,1028,1078,1136,701,781,1754,2600,2188,1616,1222,1356,1496,824,571,689,959,1098,882,896,596,453,538,637,611,656,843,1034,1296,1492,1476,1240,1156,1340,1338,892,694,862,1084,1112,932,1180,1250,751,959,1330,1410,1300,1008,1106,1240,1344,903,523,452,664,1064,1426,1716,1440,1132,794,749,642,581,631,694,915,1044,890,907,776,1028,1216,1078,1120,1294,1212,1036,456,350,397,408,463,721,1136,980,932,1138,1086,1478,1720,1170,553,409,623,799,860,530,556,491,608,1003,692,626,693,599,577,739,816,449,455,675,766,1400,1562,908,441,457,865,1224,1034,623,648,778,848,1346,1140,818,1048,941,598,668,1678,2640,2620,1954,1208,1362,803,587,803,527,372,578,811,980,986,683,553,455,434,452,432,514,744,1264,1308,784,643,646,566,603,491,335,432,501,452,419,655,794,631,647,759,873,786,628,690,769,780,1312,1224,760,528,1015,721,571,1023,1432,1122,599,749,1196,1410,953,677,1158,1284,1278,1442,1288,897,624,1194,1120,735,1146,1100,658,508,1036,791,934,1005,1510,1126,432,558,567,362,479,651,574,588,519,662,1212,1272,1236,1156,943,1042,1068,1266,1602,1284,1026,1056,812,627,813,772,938,1166,717,736,1230,1017,425,443,789,1222,1396,1066,681,530,529,851,978,528,346,358,326,405,840,1552,1632,1212,637,448,822,1466,1672,1710,1306,807,592,498,573,473,636,939,1232,1226,1200,1200,1028,835,973,1384,1410,1076,716,750,1076,938,633,485,476,480,468,471,464,447,438,486,436,364,400,508,414,327,405,473,404,432,544,660,620,513,385,283,283,286,291,452,553,487,421,353,357,445,438,281,337,988,1560,1394,1572,1534,1224,974,1188,1084,790,797,894,874,929,1136,1134,987,1280,1476,1426,1694,1628,1538,1218,1148,1302,1246,1498,1588,1798,1836,1892,1848,1202,1015,1028,940,1168,1080,1202,1110,722,748,634,634,673,711,714,761,792,943,1226,1266,1082,1140,1176,1136,1034,826,704,608,604,511,450,444,543,927,1316,1414,1236,1224,1526,1920,1846,2314,2404,1996,1636,1824,2084,1892,1678,1444,1064,1076,918,1009,986,1124,1292,1404,1302,878,561,585,741,661,422,302,374,622,1004,766,793,1102,1440,1654,1240,736,817,1134,1150,995,728,668,1266,1262,1432,1672,1692,1750,1498,1096,998,1374,1648,1692,872,549,565,865,797,585,661,969,1000,784,838,1366,1770,1176,747,479,525,650,909,2100,3260,3472,3254,3088,2732,1750,1506,1514,1118,1220,1342,891,630,1376,2046,1832,1412,1334,1480,1278,1440,1606,1462,1296,1650,1896,1834,1548,1672,1678,1174,891,1170,1398,1278,1034,1166,1376,1172,1318,1426,1326,1350,1670,1954,1882,1324,1354,1174,942,1084,1086,1092,1398,1246,1014,1140,1220,1234,1324,1388,1410,1340,1418,1414,1306,1292,1382,1450,1586,1622,1708,1636,1526,1258,1284,1556,1514,1488,1526,1256,1340,1382,1458,1786,1552,1122,1180,1198,1200,1188,1284,1286,1268,1154,1094,1266,1250,1282,1280,860,1184,1434,1206,846,609,584,863,1122,1040,769,549,507,440,472,406,428,514,409,313,395,681,930,680,902,1412,1410,884,690,757,698,594,774,828,557,317,432,514,405,301,307,283,242,305,439,430,645,583,777,971,808,589,413,304,729,1200,1086,636,512,505,553,483,657,805,455,296,300,417,416,471,755,1156,1184,1128,1160,1312,1576,1098,943,1284,1558,1748,1636,1128,654,547,327,271,316,661,1162,1168,1316,1506,1382,1178,1076,1003,709,592,550,578,529,582,683,814,550,355,553,1194,1314,747,828,894,549,626,499,422,1036,1418,1404,1174,1250,1234,1122,999,578,481,588,715,724,509,580,405,368,373,488,665,694,766,612,606,471,531,530,701,784,620,384,291,454,653,1262,1832,1520,826,572,814,860,994,1836,1376,881,976,1010,847,789,677,441,343,386,929,1456,1456,1346,976,700,893,1048,1166,1220,860,835,811,764,755,648,502,553,761,902,877,947,979,1028,866,971,1306,1220,1192,1292,1554,1418,1140,1086,1162,1106,1066,962,576,832,1388,1208,1212,1488,1274,1488,1334,1138,1132,1124,1080,1230,1522,1732,1850,1800,1732,2770,2954,1494,1006,910,1092,1230,1200,1284,1282,1312,1620,1792,1542,1208,904,1250,1600,1526,967,849,873,549,426,596,646,633,973,1044,776,578,515,908,1284,1332,1034,865,1338,1496,1060,905,739,818,983,1160,873,1166,1380,1132,1032,813,307,297,378,451,466,467,431,659,689,634,775,818,1082,1340,1274,1202,1318,1370,1470,1498,1308,1200,1096,991,762,609,563,535,487,483,469,617,848,1044,921,904,978,645,479,525,756,1023,838,862,876,799,1058,1302,1270,1134,769,487,437,493,649,649,474,284,347,370,367,621,717,727,756,1007,1340,1208,1028,1510,1628,1154,1210,1017,686,894,1208,770,344,295,399,415,346,436,603,823,1346,1462,991,1106,1354,1562,1708,1796,1766,1588,1310,1194,1550,1544,1019,551,565,811,811,656,603,1006,908,516,646,773,822,963,1044,1184,1390,1634,1560,1146,810,480,426,880,1060,630,683,799,1018,1556,1198,1146,1578,1760,1178,1146,1526,1324,838,786,1338,1694,952,1028,1454,1638,1226,1026,684,565,579,596,696,887,951,957,855,802,1072,1614,1148,809,767,858,902,1042,1388,1362,1262,1034,931,605,436,427,539,1204,1442,1212,1010,582,656,1170,1248,1466,1300,1038,1312,1440,1198,1042,959,757,664,711,607,559,682,541,491,652,974,1016,1400,1106,688,652,912,905,444,410,429,583,594,615,1458,2076,1766,1154,1034,877,739,948,951,987,1252,1396,1296,1202,1046,1116,973,598,412,469,393,305,360,618,1006,845,590,500,474,564,537,434,643,1460,1576,1318,993,641,749,1048,1384,1286,1350,1016,1094,1166,1146,803,562,949,1182,1054,1074,760,375,361,432,699,594,433,881,1354,1426,1452,1300,709,473,389,602,1070,1576,1272,962,937,1120,1208,1017,1310,1450,1302,1444,1488,1144,1172,1019,813,1078,1478,1830,1904,1452,1390,1504,823,955,792,656,525,859,1104,1150,1274,1416,960,458,468,868,1396,1480,1370],[998,1134,536,345,347,458,490,409,651,774,625,538,725,866,545,296,367,414,379,385,414,461,619,588,516,431,374,337,323,309,325,369,355,365,436,555,543,502,491,523,645,688,689,918,944,873,1052,1526,1632,770,1354,1302,1458,1306,1094,669,474,522,690,934,1001,1042,960,666,807,1188,1450,1648,1136,605,669,780,736,818,1250,1570,1686,2482,1490,1170,1006,1804,1564,1454,1276,633,569,583,527,737,948,484,464,479,430,508,498,459,472,429,389,404,434,475,464,442,440,572,714,783,908,954,876,786,823,1316,1364,1015,1015,1156,1222,1396,1770,1472,1314,1434,987,682,747,475,436,484,522,553,597,630,636,653,420,447,1108,2026,1926,1166,927,553,634,475,438,652,1112,1356,1614,1588,1382,969,821,885,420,324,357,355,768,1168,1138,760,663,817,540,750,1126,900,459,350,317,323,324,378,456,661,1180,1394,1202,888,621,406,478,505,577,798,822,589,607,834,1090,1492,1456,911,435,341,403,697,961,902,964,1320,1222,1058,1148,989,735,647,683,742,1092,1062,626,610,678,685,536,544,502,384,325,378,605,675,756,1034,998,725,526,474,466,444,643,1542,2284,1888,1334,1318,1456,1566,1762,888,518,504,554,760,834,832,736,715,1102,1316,1186,1076,1256,946,548,465,1126,1136,818,801,807,583,476,417,424,560,426,508,760,1122,1152,1018,723,581,522,1015,1250,711,869,586,519,930,810,436,337,453,596,712,669,672,1096,945,386,557,448,570,460,584,1092,1176,820,644,833,877,1018,1180,999,612,750,822,909,859,888,1116,1003,1024,1400,1184,579,423,459,582,811,1242,1262,832,592,546,526,470,565,808,634,920,1274,1078,921,854,1202,861,477,481,849,1144,1262,1250,971,1084,1272,927,583,489,1100,1300,1356,1418,1142,1050,1054,1242,1466,1018,802,513,428,502,890,780,752,846,841,819,1112,1648,1112,1000,1186,680,466,544,644,418,755,1208,962,930,1410,1172,1072,1562,1456,967,984,1252,1286,808,610,669,574,644,756,716,827,995,667,423,395,400,420,686,745,593,467,375,678,1158,1544,1414,929,641,717,804,1186,1294,1106,1014,1252,1498,935,597,1244,1316,681,736,865,1124,968,1218,1220,1102,1050,1176,1120,966,689,440,428,579,1004,1054,1184,1666,1444,855,807,661,1023,1888,1646,904,1044,1376,1150,1082,1142,1072,1170,935,491,467,645,471,619,793,854,1098,937,706,959,1352,917,737,935,803,522,504,700,1130,1238,1104,1636,1412,1570,1688,1522,1310,1182,985,609,507,763,1382,1570,1054,656,812,626,601,1072,1132,1140,1226,1480,1212,630,434,597,816,955,857,847,769,804,1136,935,930,1814,2336,1974,1516,1036,1240,1532,1084,866,1268,1444,1360,1244,874,510,426,538,684,822,772,841,1190,1206,1454,1336,1400,1252,1212,1268,1278,1128,1028,1138,1188,1208,1396,1368,975,1118,1404,1506,1124,879,968,1036,1646,959,509,678,554,727,1182,1196,1400,1080,891,1188,880,843,852,476,402,529,738,995,1158,1532,1396,944,791,815,1064,1044,346,397,456,447,519,492,800,963,1254,1440,1210,1534,1884,1344,910,754,453,554,634,808,1372,1094,645,556,627,699,561,501,490,723,879,529,342,693,728,972,1082,490,339,825,1044,1172,1384,1188,1208,836,517,565,705,797,1011,965,611,775,1766,2486,1964,1214,990,1406,1350,968,1202,1208,750,615,1106,1724,1410,887,595,477,589,574,667,761,601,1026,1340,901,498,582,650,723,695,512,571,572,567,620,757,824,714,1015,1114,985,965,927,762,708,920,1444,1412,1300,960,870,465,385,637,949,766,469,504,880,1208,869,697,999,1244,1236,1504,952,379,548,1144,1028,717,1266,1562,787,527,745,602,620,984,1396,873,519,715,744,713,722,735,561,932,858,670,865,1116,1140,800,427,681,946,1012,1376,795,616,1060,1060,1448,1792,1484,1406,1472,1044,531,785,1026,697,588,651,871,901,714,832,759,551,802,911,682,472,393,336,468,838,1376,1574,1422,954,705,929,1476,1796,1606,1192,1007,819,604,651,728,832,1034,1072,1206,1206,999,937,968,1072,1384,1356,1021,634,955,1494,1692,1166,681,473,458,470,486,462,454,487,566,535,394,378,552,511,333,388,407,351,334,430,625,609,495,334,293,278,238,314,448,487,480,484,464,457,411,310,247,282,680,1356,1390,1440,1194,1078,1216,1368,1226,1402,1542,637,677,657,661,622,805,883,879,1138,1452,1224,858,849,922,788,767,854,796,898,987,1182,1310,954,818,1050,1448,1388,1174,1302,890,705,599,608,652,678,694,731,762,823,969,1208,1252,1144,1134,1170,1048,1030,794,614,719,728,664,585,509,591,711,959,1410,1470,1376,1414,1444,2002,2728,2416,2142,1874,1710,2058,2408,1862,1628,1532,1162,1050,1148,1184,1406,1522,1172,843,736,741,761,677,478,404,346,384,561,1082,1066,858,942,1340,1450,946,816,865,961,782,822,725,670,1068,1628,1960,1930,1882,1792,1410,1248,1366,1632,1554,1672,1294,1054,954,995,822,590,807,988,763,700,661,1234,1778,1380,971,606,472,602,733,1548,2580,2806,3020,3024,2408,1606,898,781,1008,1012,1102,965,625,948,1694,2012,1764,1286,1430,1480,1562,1784,1600,1822,1968,1734,1660,1572,1688,1852,1820,1210,1044,1278,1038,1054,1366,1346,1144,1184,1430,1388,1426,1666,1604,1604,1432,1322,1252,1150,999,892,859,1264,1614,1580,1246,1140,1280,1220,1264,1204,1190,1394,1414,1352,1308,1340,1594,1692,1632,1626,1418,1430,1302,1404,1626,1494,1790,1736,1396,1322,1360,1392,1460,1504,1450,1210,1334,1194,1206,1484,1614,1420,1282,1284,1322,1208,1300,1038,604,1200,1310,1486,1132,706,957,1214,1268,1358,937,594,504,631,750,443,378,389,348,264,296,881,1118,781,629,631,702,527,794,835,733,659,645,508,554,692,680,461,312,375,437,343,315,443,538,631,650,486,432,706,857,730,541,509,697,1144,1322,976,730,579,507,560,897,1092,728,342,344,276,259,379,495,647,792,1172,960,1062,1536,1282,930,1094,1718,1780,1290,1098,1074,902,425,335,350,520,993,1336,1362,1094,935,1176,1176,1400,1282,948,788,846,863,916,1500,1478,931,841,816,936,1068,984,1288,1316,868,558,437,476,1016,1338,1332,1578,1600,1454,1668,1350,705,559,545,679,692,502,374,451,529,399,510,635,447,569,688,612,437,456,431,438,412,499,515,336,368,668,1846,2106,1312,894,1178,1350,927,988,1328,1038,964,1023,660,681,810,490,456,470,526,1084,1342,1316,966,633,766,825,904,1336,1438,786,867,1028,899,761,681,453,459,836,1158,1190,945,849,976,1054,670,587,1032,1198,1328,1438,971,817,1262,1242,948,1356,1400,944,794,1014,1094,1300,1342,1252,1328,1262,1174,1188,906,560,531,741,1154,1534,1670,1776,1946,1444,1096,1098,921,1038,1270,1310,1356,1422,1458,1600,1552,2058,1700,1236,1250,1416,1454,1009,1003,1376,818,647,738,862,975,1458,1580,1132,720,540,695,1106,1274,663,581,922,1274,874,727,673,781,795,760,715,1180,1606,1188,1074,872,467,382,380,366,284,332,305,448,879,1200,1156,1166,1506,1226,1328,1406,1456,1494,1454,1506,1374,1336,1246,1116,910,650,566,492,461,480,486,496,509,593,573,574,676,620,448,422,570,873,907,839,771,847,1112,1158,1148,1008,677,507,514,887,1190,785,466,364,404,430,379,478,524,871,843,738,889,1046,1142,968,1168,1304,1102,1224,1100,1116,1138,641,309,325,406,365,336,602,1208,1296,1082,927,809,781,1222,1742,1814,1572,1260,1080,835,1004,1404,1492,1328,700,575,743,844,962,874,615,505,709,1102,890,929,1086,1250,1156,1272,1618,1246,880,661,412,391,556,574,367,412,637,872,1396,1494,1366,1434,1388,1208,1326,1412,1716,1366,1050,1092,1192,1030,1302,1470,1548,1426,789,486,446,467,523,499,521,767,1058,1282,1178,1264,1466,1130,1015,1316,1248,827,753,1058,1288,1112,1212,1023,653,567,658,916,1021,894,916,647,366,407,608,645,1192,1412,1334,1502,1530,1584,1582,957,667,825,881,1026,761,750,619,551,542,865,1158,1390,1458,1102,727,1278,1738,922,485,498,714,747,722,818,1490,1484,976,720,620,858,1400,1448,1620,1278,1096,1340,1174,1152,1354,1434,902,453,422,296,240,332,569,888,860,545,462,533,463,389,428,703,1020,1009,996,1200,803,571,1216,1390,1212,1300,1312,1048,828,942,833,781,833,1202,1222,805,779,606,647,441,313,408,471,878,1532,1648,1274,894,549,421,458,785,1260,1618,1044,701,730,855,908,908,1354,1438,1616,1596,1016,568,1048,1156,1090,1150,1542,1726,1382,1186,1174,669,822,1268,1282,1390,1122,891,1344,1398,1152,1266,929,615,500,929,1350,1376,1194],[603,668,476,411,410,341,349,515,725,777,667,614,903,1180,767,384,379,335,297,298,294,399,589,507,480,457,350,324,314,317,328,343,354,395,447,454,419,432,429,423,537,636,630,689,724,966,1088,636,426,508,733,582,636,778,940,878,971,1088,1074,1136,1032,940,1290,1338,1648,1728,1456,1444,1142,597,647,949,1015,696,705,951,1204,1670,1328,1182,1216,1450,1572,1908,1490,661,509,558,536,702,878,498,438,478,504,655,648,527,513,456,405,422,453,486,496,477,433,680,727,667,645,570,587,579,825,1466,1188,959,918,1142,1362,1510,1816,1558,1852,2066,1340,1288,1104,570,500,476,634,828,788,807,854,783,579,623,1226,2040,1764,962,971,1496,1496,796,535,536,563,1058,1308,1224,1404,1120,1128,1216,479,331,379,378,731,1023,783,456,606,783,462,611,731,651,419,421,352,332,368,467,545,691,831,854,706,581,813,999,694,666,839,1036,979,791,951,1062,1202,1504,1322,583,357,343,331,408,905,1015,899,1448,1610,1310,901,971,1094,912,1034,1174,1956,1650,708,466,497,521,458,506,479,419,375,442,651,572,639,1176,1452,1210,679,442,419,386,702,1622,2132,1600,1374,1618,1090,666,927,557,575,561,441,353,597,983,931,1062,1088,1048,734,804,836,1094,894,810,993,1112,1126,885,966,596,454,407,465,573,403,540,918,995,984,1122,1234,1266,1032,879,960,714,974,815,824,1336,856,390,372,618,789,566,617,646,745,629,501,888,580,500,430,930,1692,1692,1132,630,382,456,718,949,1072,869,1001,1316,875,709,909,1020,899,853,998,1034,694,474,697,992,1192,1292,1120,878,690,509,552,461,417,735,616,752,984,998,796,1006,1214,1136,838,727,1088,1030,947,756,547,886,1404,1464,899,648,1446,1502,1214,981,831,905,1138,1194,858,817,793,1112,972,779,602,830,1422,1492,1544,1770,1196,933,899,1250,940,492,404,447,509,437,612,709,529,994,1142,640,561,615,628,780,821,1056,1406,1054,652,656,621,756,1118,820,845,1188,621,409,399,386,533,860,774,482,374,330,425,567,816,1362,1114,764,730,927,1336,1260,885,1007,1174,1232,1150,1036,899,1000,718,809,886,1326,1302,1334,1070,711,829,1346,1372,880,624,472,378,513,957,988,953,1490,1326,752,832,677,692,952,807,755,1280,1212,1262,1314,1168,1042,904,688,587,959,1192,843,741,799,694,629,743,1034,1074,1298,1006,894,966,658,823,1021,807,743,1007,868,948,708,1076,1382,1092,655,933,1340,1190,865,857,1268,1530,917,460,509,502,733,1023,1122,1194,1200,1166,946,813,751,791,896,874,1056,832,548,1044,1854,1586,1026,1204,1264,1336,1372,1300,1412,1494,1246,1054,1156,1236,1346,1242,825,485,534,646,737,1015,1152,1176,1306,1266,1364,1220,1086,1166,1308,1368,1114,824,1124,1362,1324,1318,1436,1560,1216,1240,1450,1356,1015,1174,1202,913,1644,1122,544,757,818,1080,1186,1566,1888,1178,1052,1380,745,633,631,466,576,777,918,1034,1009,1184,1418,1166,786,647,1030,650,387,445,432,457,488,467,661,957,1206,1134,1346,1854,1676,726,636,940,1120,1054,754,1066,1540,1564,1236,850,771,830,609,432,441,855,1278,921,633,1080,1268,811,423,483,841,1346,1378,1090,1354,994,980,981,833,747,735,590,550,594,567,545,645,872,1064,771,365,692,877,912,1410,1570,1040,730,1326,1484,869,951,768,630,976,1072,1228,950,413,375,585,562,357,464,644,912,980,820,667,491,472,467,644,797,686,661,883,1170,833,861,949,777,873,1258,1446,909,916,891,724,853,338,367,448,608,574,632,545,536,814,982,959,944,749,461,467,544,608,507,781,1174,1330,643,656,558,310,294,378,315,290,495,861,1058,932,882,1038,812,1116,1412,933,625,1013,1272,1122,880,451,487,663,736,477,412,885,1140,1808,2150,1676,1288,1338,1094,679,509,698,600,597,733,733,739,728,913,845,579,524,518,541,373,372,602,953,927,943,1146,1300,1002,847,1072,1328,1854,1320,901,999,812,544,604,742,766,1076,1170,1160,1088,960,1086,1166,1422,1676,1276,916,1126,1494,2024,1748,1428,1112,486,418,409,415,472,547,551,677,654,591,550,661,611,414,420,435,362,334,396,588,590,432,321,307,243,270,359,335,332,401,470,439,424,306,253,329,321,690,1286,1244,1088,1174,1256,1378,1488,1924,4060,3630,997,665,648,638,730,1054,1262,1354,1436,1516,1482,1388,1252,1112,917,873,771,738,642,591,542,536,471,536,1086,1666,1272,1142,1150,600,552,605,628,661,678,727,791,760,718,990,1232,1188,1194,1176,1128,1056,971,730,831,1009,941,880,756,687,684,569,609,1086,1378,1434,1584,1716,2370,2440,2400,2592,2296,1614,1834,1782,1548,1216,1476,1542,1504,1520,1522,1434,1052,717,697,741,691,502,466,409,504,496,428,433,635,871,930,664,1038,1230,681,588,734,863,690,733,745,626,1056,1826,1984,2084,1922,1776,1082,700,880,1466,1676,1538,1310,1166,1124,1130,880,788,1088,1244,896,830,661,994,1454,1422,1080,735,551,586,748,966,2120,3196,3068,2110,1414,1450,1296,1054,1164,1122,922,891,686,733,1210,1736,1620,1252,1254,1466,1510,1648,1652,1598,1588,1636,1596,1604,1816,1662,1958,1472,959,755,721,1028,1190,1194,1011,1108,1756,1484,1198,1736,1514,1448,1394,1390,1362,1130,956,865,837,1106,1388,1642,1340,1508,1856,1308,996,1148,1306,1266,1316,1468,1440,1408,1542,1654,1422,1106,1350,1462,1404,1536,1626,1472,1448,1354,1350,1412,1538,1374,1332,1554,1494,1388,1348,1338,1560,2258,2052,1386,1432,1366,1420,1416,1362,938,564,488,1042,1320,1184,1206,1420,1390,1282,1302,808,670,721,698,685,573,488,458,424,397,390,620,833,903,875,705,499,594,824,896,816,775,652,577,971,1316,795,394,303,461,558,373,333,426,403,449,389,354,338,581,1060,1058,866,817,648,816,1134,1358,1080,723,449,658,1142,1154,763,466,401,327,326,781,1024,844,915,1118,1022,1456,1820,1578,1230,1036,1322,1226,1248,1382,1284,1140,718,428,358,393,902,1292,1013,976,1094,1498,1052,1144,1100,1256,1266,996,980,832,882,1184,1224,1090,1434,1190,817,691,836,1240,1238,1168,1005,635,893,1450,1748,1944,1952,1446,1106,714,519,554,474,414,507,462,416,548,541,363,414,512,401,389,374,427,444,434,464,500,475,547,575,455,545,741,1316,1170,767,1238,1786,1418,826,1046,1136,1094,1270,1164,768,612,551,434,463,408,481,992,1214,926,538,634,724,710,840,672,762,728,855,1102,1096,743,481,467,477,604,819,860,691,934,995,919,625,485,733,891,913,1158,1062,793,1104,1060,944,1620,1406,924,558,753,1234,1516,1448,1072,487,447,625,987,815,456,351,432,626,940,1478,1750,1698,1416,1108,869,1260,1232,1074,1300,2056,2808,2082,1230,1518,2292,1986,1440,1034,1284,1478,1504,1262,1184,672,722,781,1001,1026,1072,1005,901,908,801,662,1092,1184,885,687,609,1056,1206,996,888,946,1054,1256,1226,1482,1350,866,990,1078,917,561,418,386,309,340,296,699,1466,1792,1644,1410,1348,1162,1108,1240,1194,1278,1476,1532,1384,1162,1128,1286,1116,766,656,600,517,485,472,456,440,442,428,408,495,539,476,404,527,880,1040,1060,1098,974,818,794,846,681,511,444,412,539,778,715,553,551,480,544,583,422,562,797,610,496,666,782,668,906,1256,1404,1274,1450,1194,968,955,662,463,373,412,374,361,658,1094,857,447,507,864,880,741,1021,1290,1272,1138,600,546,953,1272,1390,1466,977,723,894,1082,1306,1302,801,695,1176,1492,857,888,1238,1264,1066,807,680,465,483,637,562,379,314,275,287,349,406,475,1224,1780,1326,713,521,832,1186,1170,1294,1470,1460,976,703,912,1346,1476,1736,1532,767,755,478,403,405,399,341,460,613,868,927,1118,1416,1410,1390,1914,1684,933,784,1086,1484,1622,1542,937,824,1062,1340,1422,659,648,700,541,388,358,583,541,1154,1750,1798,1598,1284,1870,1988,1140,1014,1112,930,870,733,932,945,755,579,901,1007,1102,1426,1112,812,1124,1714,977,465,537,829,778,675,832,1138,1122,1050,902,1080,1210,1262,1460,1346,892,684,786,730,971,1220,959,669,825,884,562,457,411,400,567,833,595,456,572,567,708,772,591,607,823,1168,1216,793,776,961,1044,1266,1142,943,731,621,796,692,689,730,1224,995,705,675,833,807,434,477,509,404,701,1302,1306,1070,1040,769,639,626,739,1040,1320,919,631,875,1046,857,827,1516,1342,1208,1130,706,392,484,788,1126,1208,1102,1348,1220,1108,700,409,1124,1442,1250,1260,1184,982,1482,1458,1007,1168,1026,1014,1160,1364,1352,1218,988],[372,410,395,454,531,483,409,469,634,589,471,454,634,938,943,410,387,416,395,383,388,409,617,608,481,461,332,343,332,343,340,341,384,424,475,450,451,460,483,480,513,517,430,352,469,654,756,593,530,571,857,1046,858,861,1100,1290,1538,1122,1090,1248,956,1042,1378,1282,1036,845,722,767,697,627,957,980,1104,645,578,533,766,1428,1606,1530,1644,1610,1526,1510,1326,967,833,756,674,1024,894,500,442,449,498,631,657,532,464,444,469,481,529,551,531,510,483,670,904,974,896,659,455,469,885,1864,996,591,677,1104,1278,1044,974,900,1064,1102,1104,1440,982,634,542,436,454,502,640,704,778,902,814,971,1086,1144,1088,901,952,1760,1344,855,683,429,408,456,466,767,839,789,824,993,497,349,361,329,448,502,424,364,584,1082,608,610,683,585,439,413,407,414,466,615,673,451,347,384,404,502,933,1272,1204,1334,1108,922,976,1246,1290,1278,1378,1240,924,441,371,355,392,742,1294,1162,847,983,1368,1334,1114,1762,1736,1390,1316,1538,2242,1486,651,388,357,352,376,400,383,401,423,447,483,547,1030,1798,1790,1558,1114,587,418,378,455,786,1324,1100,1180,1724,1046,565,621,671,595,482,472,453,796,1124,1416,1354,1001,926,689,529,666,1166,1210,1108,973,1130,1084,943,1068,573,372,377,505,457,310,602,1230,1294,1005,723,846,1362,1632,843,711,768,1046,1019,771,861,708,386,386,728,1098,680,854,793,774,648,823,935,591,475,445,760,1096,1044,705,886,731,494,348,433,734,590,706,939,662,527,702,1026,1186,904,774,927,794,538,805,1204,1310,1180,1238,1384,1054,952,868,440,342,467,451,817,1180,951,578,626,840,1294,1088,548,781,1016,774,451,593,1015,1450,1474,1056,726,812,1138,1246,1236,1032,1015,1204,882,836,1052,1204,1246,1412,1352,831,1056,1716,1172,1380,2302,1394,606,855,1086,648,404,380,384,475,520,516,406,781,1620,1488,871,689,696,755,676,474,691,1034,999,968,1348,973,977,1282,860,585,706,550,448,411,421,739,985,718,435,409,273,305,415,409,1084,968,755,894,990,1176,951,591,837,974,1378,1692,1554,1034,915,739,752,947,1034,1172,1378,1354,1044,885,1498,1824,1242,756,593,578,615,948,1036,1148,1638,1418,786,712,532,435,441,597,983,1184,840,915,1136,1234,1064,904,734,675,1044,1304,951,572,770,694,584,1196,1470,1242,1296,1118,747,763,590,630,633,791,908,1296,1322,1036,703,526,707,1023,920,802,1072,1478,1404,1184,738,616,587,667,488,369,771,1042,1004,974,950,774,994,1222,1058,816,959,1022,1174,787,435,1042,1792,1540,1288,1410,1296,728,814,1032,1116,821,681,888,733,649,984,1216,1072,810,530,594,778,1182,1310,1296,1280,1194,1190,1258,1214,1344,1224,1200,1232,1018,1156,1180,1238,1516,1620,1452,1340,1454,1278,994,812,1238,916,683,1070,807,586,848,974,1214,1456,1368,1404,1166,1266,1664,836,604,555,636,962,1054,1102,988,839,1824,2722,2564,1402,795,1100,596,480,811,684,449,370,492,814,930,761,1314,2036,1720,976,531,495,637,983,1009,939,868,649,649,700,813,902,1098,943,514,342,458,839,866,839,1278,1250,787,837,938,1322,1564,1888,1248,1064,826,717,688,843,987,1064,974,841,960,977,847,722,721,1015,778,489,432,364,438,688,928,786,509,601,717,763,967,911,916,1060,1009,921,589,364,440,626,785,858,878,808,766,868,800,489,514,699,623,700,875,708,659,663,902,905,949,819,882,871,937,677,635,1015,996,1324,1410,466,369,379,555,764,868,651,388,715,873,622,592,470,372,377,369,369,386,462,538,553,498,643,482,294,272,235,261,321,379,918,1078,589,1088,1282,1106,1580,1806,1304,865,891,1092,1504,1340,503,534,817,755,573,501,1030,1306,1346,1230,733,854,1606,1460,927,510,487,533,918,949,883,948,987,1020,672,516,543,927,683,399,346,521,850,1174,843,702,1124,996,662,830,1294,1592,1082,1003,900,792,603,502,432,656,1040,1086,1156,1156,1348,1736,1424,1498,1456,893,1054,1216,1015,1142,1446,1950,1742,764,444,454,503,669,702,674,669,549,466,508,663,669,634,695,615,346,318,380,536,514,449,447,377,281,357,414,315,378,393,391,309,275,261,285,382,310,622,1222,1232,1164,1202,1218,1560,1614,1542,4396,3476,1144,669,677,598,712,993,1120,1176,1496,1632,1638,1692,1922,1898,1726,1706,1700,1468,1200,994,923,838,656,558,751,1422,1022,1122,936,562,617,686,698,681,684,761,816,751,771,1142,1218,1180,1184,1160,1078,976,742,793,1182,1178,1168,1124,1028,919,808,739,728,701,719,1148,1672,2436,2874,2336,2070,1932,1692,1054,995,726,568,578,849,1256,1606,1654,1470,1054,788,705,616,657,623,656,769,704,705,762,785,746,684,700,884,983,1324,1228,648,498,531,651,740,850,886,664,1008,1866,2042,1954,1864,1620,865,618,670,1324,1682,1182,743,729,1038,1550,1318,1334,1536,1396,996,1040,890,799,1088,1192,1007,900,758,553,775,731,1188,1574,1440,1162,1366,1910,1938,1466,1370,1368,1066,1023,712,619,830,1542,1468,1364,1242,1360,1628,1638,1590,1688,1588,1564,1520,1324,1814,1716,1752,1654,1210,714,799,1088,1214,1250,880,1015,1860,1764,1692,2438,1948,1458,1260,1236,1312,1086,956,1224,1388,1082,1074,1394,1598,1562,1704,1328,918,1134,1448,1302,1360,1510,1388,1264,1308,1340,1152,1048,1326,1296,1224,1518,1544,1270,1218,1278,1310,1406,1446,1388,1552,1474,1506,1528,1348,1232,1684,2156,1484,1376,1508,1296,1806,1902,1284,1078,890,599,1128,1362,1208,1328,1440,1348,1302,1230,641,768,1032,813,803,779,585,505,505,558,697,650,785,1306,1428,879,576,735,714,641,691,935,931,634,936,1064,628,333,273,338,405,274,317,408,312,220,242,310,466,929,1576,1470,843,659,764,803,745,1108,1376,1230,774,529,680,665,481,430,424,652,658,1304,1520,1210,1218,1046,1040,1418,1656,1628,1560,1316,1052,1206,1660,1830,1688,1588,1096,532,487,764,1150,932,594,816,1068,1124,886,703,689,1086,1156,944,924,513,412,757,1172,995,1150,729,643,711,917,1282,1330,1440,1418,927,893,1368,1426,1418,1356,919,496,342,595,865,591,388,429,432,458,465,453,394,425,615,559,431,302,298,401,442,489,514,485,476,484,651,707,736,667,514,411,734,1196,963,521,567,897,1164,1430,1064,808,695,593,684,481,364,426,614,745,570,402,689,770,648,1514,1218,669,838,1228,1398,1120,567,349,439,475,525,456,986,988,771,806,1076,1014,656,699,795,633,813,1114,1134,1094,828,1202,1394,1118,705,476,817,1390,1466,1254,923,523,583,622,769,605,634,524,644,920,1176,1386,1382,1280,1614,1758,1518,1888,1440,1100,1158,2148,2764,1950,1260,1472,2178,2502,1986,1366,1368,913,1052,1302,809,777,940,900,1036,942,689,797,1005,1130,1066,868,1328,1182,1070,908,991,1198,1176,991,1024,1068,1098,1506,1630,1714,1048,1122,1244,1068,1260,865,702,848,894,1042,1004,990,1350,1622,1514,1416,1246,1272,1278,1324,1202,1456,1810,1554,1340,1172,1244,1250,1206,789,784,733,531,514,489,413,401,424,392,397,444,461,576,639,783,863,913,932,775,652,658,699,636,477,389,339,372,372,458,485,484,474,695,1064,913,554,625,694,633,678,605,768,659,1078,1198,1302,1530,1478,1194,1434,1806,1128,796,585,426,365,372,633,654,461,507,668,815,735,516,697,987,1174,1408,918,625,860,948,1238,1394,928,814,1232,1440,1510,1592,1216,833,1136,1686,1096,917,979,1046,914,663,521,429,407,689,741,650,463,371,297,328,325,491,911,1050,983,857,563,839,1224,1268,1134,1100,1210,1072,894,1120,1158,924,952,756,610,902,628,435,386,362,317,342,379,433,522,521,655,1186,1272,1508,1752,1338,846,848,1442,1898,1326,893,1302,1360,1548,1638,884,634,609,517,375,337,498,596,1110,1524,1468,1436,1388,1570,1316,819,1072,1068,787,541,738,894,1276,1252,540,563,535,834,1634,1396,936,728,682,442,358,496,708,559,619,1370,1688,1418,1594,1222,1158,1158,1294,1366,894,691,660,612,670,933,1148,860,865,1434,1550,1408,965,560,585,663,590,606,664,543,948,1424,1062,615,452,603,836,820,527,949,1204,1198,1298,1064,504,615,1080,926,642,431,349,694,482,397,496,833,875,495,466,620,838,988,1340,1562,1552,1582,1546,1384,806,521,1040,1368,871,766,833,893,1009,914,1126,952,805,919,954,686,612,869,1182,1294,935,953,943,775,477,671,1180,1368,886,880,973,640,897,816,850,1498,1360,1230,1218,1252,1214,1194,1616],[397,318,286,324,430,429,491,545,521,549,475,340,441,425,494,433,487,583,509,394,390,517,753,683,456,451,345,350,335,339,351,367,415,494,494,481,491,499,484,499,512,437,348,358,358,417,637,581,528,644,927,1132,866,814,960,1290,1286,882,1162,1654,1324,1010,1030,867,656,585,676,741,514,749,1216,1110,1070,554,537,602,763,955,1224,1456,1496,1516,1542,1386,998,702,583,987,1278,1478,985,508,477,449,452,547,577,500,439,397,574,741,760,725,581,509,503,738,1238,1274,1370,1034,528,448,1144,1708,868,491,579,912,1146,935,743,546,799,1068,1454,1216,734,631,517,452,518,606,659,613,647,683,848,1328,1256,1136,1148,1070,902,1086,916,901,869,579,410,455,543,654,440,412,474,547,324,318,363,332,323,338,376,452,692,1198,756,667,699,566,404,419,428,417,464,575,658,756,658,379,376,610,1168,1058,908,1108,1246,1080,1156,1378,1332,1644,1762,1058,494,346,318,324,511,932,1146,916,873,1072,1328,890,925,1840,1674,1324,1118,1026,959,991,899,437,336,357,369,379,395,419,414,433,477,539,872,1192,1172,1066,942,836,515,402,434,567,974,1156,1772,1888,1284,833,619,811,796,552,539,933,1332,1398,1574,1144,838,747,664,564,877,1044,554,489,630,870,1084,1072,948,800,808,703,691,651,491,683,1134,1142,930,546,982,772,727,559,524,568,1178,1316,694,700,921,849,1216,958,664,678,883,669,566,638,788,629,475,436,510,680,640,894,731,848,754,422,290,335,503,759,989,1078,1060,827,666,892,1272,1110,1086,1038,738,610,638,788,1124,1288,1314,1456,1328,1104,872,477,389,435,488,764,1136,836,458,503,730,1102,890,621,663,814,827,571,718,1142,1250,1388,1458,1108,951,1100,1360,1100,828,1088,1038,632,559,863,1100,1174,1510,1334,867,714,1378,1056,1064,1532,938,514,612,610,457,385,384,369,372,401,417,370,700,1084,1188,849,540,579,787,825,973,1260,1242,1112,1132,1160,840,844,762,691,664,568,486,473,391,413,790,959,576,489,528,432,383,388,430,517,506,540,588,749,987,679,479,894,1390,1808,1422,958,955,882,776,883,818,729,822,1252,1500,1430,1236,1416,1638,1340,991,1024,1118,824,836,1108,1216,1576,1504,908,901,811,622,573,921,998,965,992,930,1106,1322,1134,946,494,337,486,927,907,859,893,624,808,1694,2032,1560,1314,953,839,1252,1058,517,653,1124,1230,1222,1010,912,775,412,544,937,1276,1276,1282,967,1094,1332,959,491,554,736,466,376,552,895,1052,950,886,572,593,946,937,658,813,1616,1788,993,1009,1382,1392,1230,1050,922,700,463,391,492,936,974,968,1048,600,669,880,1026,914,1018,1015,779,957,1326,1346,1302,1248,1206,1080,1110,1276,1400,1102,1220,1422,1242,996,674,642,1050,1364,1220,1350,1622,1194,1052,843,884,725,894,1350,1448,1026,884,796,1112,1300,1306,1224,1210,1254,1234,649,570,530,588,838,858,1090,882,690,2086,3776,3636,1510,979,1266,883,594,707,923,843,487,649,1036,888,794,2066,2260,1158,686,675,553,477,636,927,1236,854,368,375,587,797,766,683,760,636,570,484,384,296,785,1520,1044,466,912,966,1126,1362,1264,1210,778,928,1200,649,739,915,974,727,766,725,536,684,912,858,769,858,896,750,779,952,892,764,854,834,697,597,794,953,939,829,626,535,568,532,588,701,825,945,863,711,661,570,951,1134,751,667,500,393,517,697,644,556,454,481,800,1144,1172,707,655,901,882,932,1146,1108,1476,944,388,357,420,428,523,739,613,359,589,611,430,537,449,309,320,355,383,428,400,409,385,403,394,273,249,265,281,296,306,498,1318,1282,854,1316,1278,979,1144,1190,914,708,928,1266,1648,1218,624,603,828,860,730,888,1252,1396,1018,545,574,1002,1560,1570,1058,579,383,669,1028,1096,1288,1220,1212,949,494,559,855,1504,998,486,336,466,1160,1422,672,644,940,747,625,803,1212,908,1018,942,720,662,582,655,795,626,950,973,1196,1178,1166,1252,1210,1100,896,703,860,850,673,673,1110,1720,1408,788,515,487,527,544,441,336,375,419,366,374,521,648,738,677,560,356,329,350,456,451,412,444,391,309,359,396,321,289,356,365,309,268,300,323,392,323,549,1118,1250,1480,1306,1342,1726,1754,1284,4356,3736,1112,695,628,585,677,870,976,1152,1444,1652,1678,1910,2088,2132,2104,1900,1754,1710,1498,1188,1060,1020,1056,896,897,1448,1158,1026,729,597,695,747,725,717,731,792,823,857,1154,1192,1136,1150,1086,976,948,750,741,1384,1702,1296,1272,1250,1208,1144,1036,967,991,847,828,1042,1390,2008,1880,1566,1094,847,527,434,530,511,543,634,717,1126,1560,1492,1110,756,743,630,476,479,680,929,1144,1228,1078,1036,1450,1500,1506,1554,1134,946,1382,1300,810,528,524,680,736,722,903,716,884,1354,1600,1484,1822,1782,1098,731,902,1548,1650,1064,631,611,959,1494,1440,1440,1414,1292,1164,1372,1396,1032,805,900,1118,1404,1404,938,809,735,776,1278,1664,1608,1842,2316,2282,1676,1476,1342,1180,874,892,789,656,1180,1432,1380,1266,1324,1638,1766,1694,1522,1546,1766,1406,1200,1454,1522,1636,1796,1514,958,814,933,1158,750,581,700,1460,1720,1736,1900,1512,1372,1438,1382,1268,1164,1158,1274,1410,1156,1122,1284,1518,1352,1116,966,907,859,1100,1246,1182,1294,1382,1270,1202,1382,1456,1328,1250,1180,1202,1422,1386,1356,1512,1388,1328,1282,1344,1400,1340,1304,1390,1516,1376,1046,1310,1448,1212,1222,1284,985,1324,1360,1306,1366,1196,1062,1172,1408,1338,1134,1162,1460,1428,1292,907,1050,952,756,780,688,499,458,491,625,846,628,868,1104,1042,565,430,602,694,671,624,826,749,761,911,541,613,695,511,330,276,257,309,339,295,263,284,446,932,1300,1514,1464,806,610,1044,985,691,1021,1476,1668,1396,673,524,377,345,352,335,1226,2014,1700,902,1020,1140,969,979,1244,1038,991,1230,1474,1322,1418,1694,1856,1756,1448,992,567,653,1198,1016,499,631,1110,1082,668,725,819,819,883,802,817,968,774,747,757,730,557,860,896,822,962,1166,1150,637,685,849,661,738,1052,741,613,727,531,289,440,1064,1290,622,396,378,361,354,391,745,828,635,663,761,674,461,360,435,415,470,497,486,440,583,711,634,590,630,584,775,1009,617,516,596,530,505,704,860,566,570,543,970,1146,659,699,761,598,672,626,455,569,747,600,883,1084,1036,767,1009,1348,952,406,339,335,374,439,605,1376,1592,1104,1046,1316,1048,688,628,774,1102,1084,919,1362,1372,1506,1638,1184,814,672,539,542,802,1112,985,952,797,660,974,1560,1396,1272,976,802,1162,1344,1198,869,581,883,1370,1466,1606,1538,1356,1278,1614,1616,1334,1194,1510,2570,2670,1934,1582,970,857,819,1146,999,940,1032,976,916,854,962,1388,1218,1286,1146,934,1236,1422,1210,1118,1322,1278,1084,1100,1160,1016,986,1236,949,1084,1040,1250,1154,1186,1372,971,837,1134,1522,1700,1320,1098,1262,1376,1506,1378,1176,1230,1364,1216,1146,1556,1668,1246,1314,1142,1204,1324,1318,828,742,709,500,489,484,445,414,427,384,366,552,584,572,553,542,688,1003,1005,725,649,613,534,474,389,355,357,408,386,410,475,630,949,1286,1428,1056,873,984,1216,1210,868,434,572,802,963,960,1108,1334,1338,1354,1510,1598,1340,1224,905,751,648,712,791,551,476,725,879,640,675,642,1140,1364,1182,1354,1096,713,760,964,1330,1372,732,632,1360,1576,1256,1410,1416,899,873,1160,1154,951,804,1074,1300,980,701,436,418,614,901,847,738,469,298,262,270,379,489,624,891,1090,753,781,1332,1600,1334,966,1164,1350,987,954,767,699,462,675,1082,939,568,415,333,316,271,253,293,364,553,858,805,989,1188,1390,1658,1704,1288,811,1228,1326,800,1280,1592,1108,1090,1638,1086,688,695,514,416,321,532,902,1154,1296,1282,1238,1360,1030,592,350,422,466,382,296,346,479,729,727,518,687,894,1418,1998,1890,1444,999,606,441,560,572,502,437,552,1216,1494,1584,1742,1310,971,1086,1418,1538,1666,1576,1154,996,940,1082,1180,827,1274,1698,1682,1628,1410,1002,926,1156,1070,1096,1188,642,725,984,943,639,511,643,711,742,610,686,1224,1056,811,973,686,879,1152,778,653,525,429,447,618,1062,1286,1142,1182,796,628,1042,1368,1402,1522,1456,1426,1390,1412,1140,795,685,1092,1256,1034,924,595,404,477,498,658,730,583,716,1038,1007,1146,1001,982,1180,1056,759,621,548,504,564,1094,1316,959,969,803,675,607,825,1388,1722,1458,1120,1236,1288,1154,1272,1614],[477,454,387,330,379,400,357,333,383,434,504,377,380,367,372,397,484,596,525,394,482,705,721,722,553,477,395,367,350,344,344,357,395,443,489,515,504,457,415,507,475,409,352,381,409,468,523,536,549,634,868,1078,821,708,822,1314,1246,1020,1224,1484,1288,991,848,643,714,920,1252,1394,1110,1194,1292,1476,1266,1013,1200,1306,1240,1038,1342,824,1062,1001,955,845,692,465,576,1214,1772,1682,1056,546,491,463,412,465,504,442,408,357,760,1050,922,749,549,495,513,766,1428,1472,1762,1052,755,979,1226,987,620,461,545,855,1172,1030,722,619,1062,1598,1588,878,583,581,534,520,546,606,623,612,560,476,713,1172,1078,1146,1308,962,718,696,899,1122,1010,548,388,454,506,503,503,694,999,674,353,441,403,467,539,654,700,650,905,1078,705,508,574,477,364,417,432,451,520,569,730,1492,1352,826,674,996,1448,1190,779,814,1218,1472,1602,1458,1570,1910,1666,1256,705,339,382,536,679,927,952,922,946,1240,1562,850,509,867,785,567,638,816,899,1102,1170,955,406,385,389,389,410,413,628,692,717,882,888,792,879,842,797,1116,817,504,468,689,778,1092,1506,1346,1110,1000,788,884,1526,1062,604,2190,2202,1364,1194,1026,718,680,672,696,1009,716,481,488,297,423,785,791,673,617,590,628,758,759,718,777,1196,1064,697,606,811,614,552,652,670,633,926,1354,1198,1432,1236,1602,2128,1480,1021,925,760,576,574,744,543,378,438,565,742,1064,993,918,871,578,349,359,383,451,766,1302,1352,1428,1390,861,663,899,1220,1322,1396,1106,863,893,763,767,1028,1050,1110,1076,977,1300,1058,619,480,444,439,644,772,583,758,832,739,764,543,435,477,730,846,763,922,1128,1306,1618,1290,980,959,858,866,650,713,868,769,716,792,1026,886,1036,1136,1188,649,492,727,1016,1588,1226,544,429,543,579,429,374,381,383,404,368,392,381,347,368,509,474,585,844,977,1108,1334,1662,1230,1498,1742,1098,883,893,725,658,599,498,472,459,447,401,575,769,612,554,518,460,486,503,545,643,893,971,692,783,629,338,492,846,1190,1470,1206,952,995,741,664,937,1098,1104,937,1194,1128,1112,1208,1338,1658,1666,1236,1170,1232,769,760,1090,1284,1600,1666,1102,1001,988,996,744,766,833,750,892,1148,1224,1142,775,803,496,337,490,733,981,1015,641,518,735,1358,1852,1422,1160,849,841,1088,841,694,1292,1686,1448,1092,645,491,449,373,475,965,1224,1126,1004,540,468,890,1228,1110,836,684,419,410,827,1150,1356,1548,1360,1074,972,918,1060,1190,1278,1592,1532,1226,1236,1174,819,568,443,399,369,385,367,477,680,697,816,837,537,525,857,1090,693,939,1496,1410,1322,1368,1334,1180,956,1202,1094,808,1190,1264,1426,1556,1290,1094,896,479,503,621,602,866,1216,1274,1090,849,715,810,967,1224,1512,1488,980,852,634,1060,1506,1142,931,854,772,618,323,347,572,800,857,651,720,652,603,1984,3816,3794,1724,1050,1316,945,921,1166,980,756,702,780,1040,731,1128,1792,1494,785,593,562,468,406,515,768,969,963,638,513,625,951,916,633,577,778,765,648,497,401,711,1188,872,437,462,860,1162,1382,1534,1094,525,997,1296,870,1272,1596,1456,1318,1048,648,788,856,628,600,597,570,502,607,631,736,633,659,782,848,873,938,974,985,1034,1034,782,789,786,742,647,685,649,764,722,731,852,650,556,631,565,607,428,310,336,541,594,525,572,741,823,967,1170,854,422,569,988,1396,1038,879,1108,861,424,411,590,582,703,594,474,603,838,521,407,584,469,320,317,337,343,361,407,487,492,486,453,317,283,279,275,318,298,544,860,808,719,647,648,493,477,468,503,596,980,1230,1160,1078,1056,1054,1236,1294,1218,1230,1026,1018,1098,856,901,1122,1346,1146,888,686,424,829,1532,1748,1642,1542,1132,858,568,571,720,1214,1274,772,365,463,883,1112,760,1068,1007,585,869,1150,1128,918,888,771,724,738,679,825,984,601,1002,1064,1078,1084,1242,1390,1284,976,604,557,625,708,658,614,725,970,762,517,383,376,373,358,345,347,388,414,416,400,419,557,670,640,560,466,366,307,483,555,343,341,363,363,336,313,355,397,391,390,346,362,422,361,361,305,403,984,1058,1098,1092,1174,1660,1802,1426,3928,3804,1036,735,599,550,640,860,1012,1244,1326,1566,1528,1710,2036,2222,2216,2122,1992,1702,1326,1056,987,1142,1052,829,1208,1412,1210,1180,741,641,661,725,694,701,764,814,813,1104,1312,1252,1280,1178,1005,954,844,675,946,1398,1278,1162,1214,1406,1494,1364,1210,1508,1632,788,890,960,1102,977,690,509,536,568,571,683,725,705,749,781,996,1416,1446,1026,660,503,487,505,622,760,949,1300,1416,1308,1140,1118,1750,1864,1444,1314,1001,958,1003,893,861,640,571,794,727,818,934,695,1054,1498,1548,1512,1864,2010,1728,1410,1390,1394,1418,1440,1056,980,1362,1506,1036,831,748,697,824,1076,1356,1544,1410,1334,1420,1658,1752,1682,1090,715,714,1023,1428,1562,1592,1664,1632,1556,1498,1122,947,1122,1500,1352,826,839,1202,1138,1186,1252,1416,1642,1604,1382,1350,1208,1238,1514,1622,1554,1648,1974,1752,1284,811,765,1184,951,763,771,958,1404,1816,1616,1366,1466,1366,1698,1528,1290,1256,1110,1116,1274,1282,1206,1212,1370,1364,1146,1136,1018,1026,1316,1390,1622,1544,1398,1302,1304,1194,993,1258,1272,1260,1416,1426,1390,1316,1350,1406,1204,1236,1252,1260,1338,1280,1206,1018,919,1154,1330,1514,1426,943,868,1114,1120,1130,1228,1234,1044,1094,1318,1102,992,1674,1708,1410,1402,1332,1220,1054,915,742,589,532,529,473,447,488,708,1378,1606,1252,713,502,614,605,436,449,507,533,529,449,641,602,526,493,344,313,327,293,348,345,242,378,863,1318,1496,1096,767,585,702,929,675,675,1144,1416,1532,1522,900,524,414,456,383,212,963,2046,2056,926,518,722,1150,1184,1066,600,538,750,1172,1450,1218,1182,1528,1422,1156,1066,1160,1134,1452,1048,665,742,1092,862,556,676,542,505,547,737,1005,772,930,1038,760,688,701,1132,1276,1098,913,866,640,331,350,463,584,703,822,545,463,893,737,282,403,578,440,392,369,374,468,531,533,780,1060,822,672,1040,1084,828,463,480,501,556,536,416,403,711,852,664,570,567,709,1108,1288,875,1206,1516,1120,530,340,311,475,608,543,924,1148,1080,1442,1380,799,936,786,543,489,486,586,564,802,1228,685,468,701,702,743,724,368,342,464,483,1078,1594,1184,946,1044,930,734,681,653,984,1198,1298,1314,1384,1660,1434,910,739,702,532,716,1092,1048,616,778,997,789,921,1076,1210,1362,1046,655,745,724,646,897,709,633,1234,1224,1276,1558,1624,1556,1534,1760,1514,1444,1880,2172,1736,1636,1260,951,1488,1406,996,998,1116,1052,770,865,803,803,1178,1262,1270,1040,897,1040,1200,1240,1250,1278,1009,720,896,1170,962,1046,1056,918,868,893,1054,1011,885,1310,1136,733,1038,1476,1464,1100,1136,1260,1368,1548,1292,877,991,1288,1100,952,1204,1202,1098,1322,1472,1362,1266,1310,841,584,706,506,444,442,437,447,408,376,444,583,686,653,544,588,736,946,885,686,635,504,408,408,412,423,410,437,495,536,523,585,760,1074,1360,1078,1134,1276,1366,1284,677,426,807,901,572,683,1021,1112,1318,1406,1366,1406,1340,1382,1158,1058,1090,1216,981,637,985,1208,1116,1100,1068,970,1360,1418,1306,1506,1536,1264,1130,1246,1078,1088,957,655,948,1092,930,1140,1186,816,569,859,1296,1198,869,1278,1582,1070,968,613,358,428,706,1074,1212,766,464,552,299,326,517,884,869,1108,1003,1266,2020,2010,1386,1236,1510,1744,1228,808,1118,1304,833,933,1166,755,470,393,320,321,261,248,292,406,764,1234,1224,893,858,1032,1114,1230,1086,833,994,751,1252,2084,1840,1212,1274,1586,1072,961,927,810,559,438,598,945,1096,1150,901,1042,794,599,523,526,566,433,249,259,342,556,516,539,588,1036,1424,2062,2264,1880,1450,1140,711,634,907,631,438,390,381,405,613,927,1284,1007,768,1392,1648,1570,1926,1790,1718,1886,1344,1014,837,1172,1682,1770,1572,1214,1066,991,1068,1154,973,1178,1362,995,948,871,1090,1088,1072,1010,973,1212,1088,727,865,662,827,1028,731,886,875,655,609,598,568,456,774,1326,1482,1364,1082,829,811,1058,1282,1418,1410,1520,1250,849,1024,1230,841,660,1092,1224,1346,1026,624,434,346,474,703,590,537,574,739,1138,1278,757,698,1162,1230,1126,736,403,411,486,1042,1326,1286,930,1054,898,880,1350,1328,1182,1172,1192,1416,1482,1282,1356,2142],[1134,1262,719,383,405,421,391,396,340,347,593,499,398,487,512,366,325,458,486,431,676,1158,1392,1180,742,554,450,390,370,353,320,331,344,407,450,460,494,478,452,533,518,444,429,438,475,480,488,514,408,510,883,1004,884,597,747,1588,1636,1056,962,1052,1100,985,886,868,976,1054,1294,1330,1480,1722,1626,1644,1478,1258,1652,1698,1410,1284,1576,1194,1432,1178,1274,1382,916,504,535,1036,1628,1632,1092,525,493,468,412,414,445,369,324,370,770,1120,912,669,465,454,519,813,1390,1942,1970,1208,1046,1528,1094,362,439,475,556,711,852,941,732,777,1152,1738,1382,952,1170,908,676,540,516,533,555,486,390,508,522,610,785,1524,1758,865,593,495,618,648,710,689,623,557,549,493,505,841,948,446,361,358,337,642,850,1118,1004,785,948,985,584,411,448,443,381,372,408,452,561,828,1019,1272,1140,912,1022,1202,1318,1346,1108,844,1016,1498,1586,971,918,1224,1512,1282,630,425,518,843,1042,1038,959,1098,1100,1300,1744,1118,561,563,577,410,402,639,1021,884,1066,1242,569,344,366,357,441,664,839,844,1068,1260,837,760,742,873,1218,1498,1282,773,730,941,1005,946,648,527,525,788,987,1270,1740,1262,656,1466,1676,1382,1194,945,628,619,696,1007,1438,919,686,562,308,358,595,593,396,348,392,420,365,374,644,616,670,713,546,556,767,758,807,1100,1228,1260,1306,1602,1566,1840,1328,1888,2018,1268,1096,1144,882,970,839,713,585,453,563,583,706,1060,954,693,574,402,300,428,593,774,949,1108,1438,1372,1136,832,828,1162,1158,1332,1604,1410,1366,1382,910,822,1019,704,771,1102,811,609,777,1032,853,622,858,751,523,707,1170,1076,694,532,444,429,613,749,792,940,918,1009,1312,1228,1268,1412,1088,841,731,929,973,911,1132,781,908,1268,1032,812,901,1142,893,689,648,639,628,536,451,469,618,547,416,442,426,541,484,391,403,390,351,354,344,313,456,777,1160,1192,994,852,1036,1426,1638,1360,1416,1452,917,562,532,540,499,452,468,440,438,503,555,570,466,430,486,674,1136,1064,1282,1262,1310,810,562,616,626,771,986,1128,1216,1322,1444,851,489,514,763,1066,892,1148,1110,1244,1230,1136,1630,1678,1001,977,1236,656,649,1050,1420,1616,1654,1192,922,934,836,618,852,1094,816,777,1184,1368,1038,552,565,412,287,546,778,1232,1316,704,871,916,891,1136,1144,1108,1214,1360,926,935,1400,1580,1356,950,844,500,446,462,432,426,584,648,535,402,400,392,474,761,1160,1256,774,487,626,1376,1312,1250,1624,1544,1332,1244,1244,1202,1140,1152,1042,756,886,1023,1007,922,783,609,451,336,318,335,391,576,869,1110,816,617,487,739,970,682,971,1488,1310,1296,1424,1454,1440,1172,1214,1009,746,685,1176,1470,1048,903,870,764,512,530,627,619,1064,1412,1234,740,464,788,1154,1372,1562,789,641,820,1015,709,891,1282,1106,816,480,461,557,432,476,858,900,1020,574,419,473,474,1818,3554,3666,1978,1066,1336,858,963,1292,835,885,935,770,863,1366,1720,1500,835,554,497,427,317,371,392,576,880,1010,800,602,488,705,710,579,715,1106,927,821,559,648,626,648,516,391,356,932,1366,1302,1310,797,406,540,511,714,1084,1306,1174,1108,1042,926,979,801,682,1116,1068,602,560,738,591,651,829,922,767,634,735,738,829,896,1094,1034,991,1076,1024,823,755,788,1134,1248,792,872,1212,1058,430,489,560,670,636,651,675,777,649,654,1016,1460,1428,1024,1220,1158,487,506,805,940,1070,904,744,624,469,574,631,572,987,794,388,644,1084,797,513,482,426,339,343,378,376,387,419,460,568,869,715,396,320,283,247,358,474,489,545,785,778,487,380,380,447,519,719,765,957,1378,1162,671,1082,1664,1440,1518,1294,705,595,926,1242,1242,954,970,1148,975,995,869,784,612,752,951,1272,1576,1268,1072,702,449,584,980,995,709,433,590,703,1134,948,951,640,407,682,1044,1002,736,792,695,753,837,736,553,644,888,862,922,785,889,1074,1164,1322,955,489,451,479,548,471,435,628,774,555,418,389,385,392,358,339,345,372,405,369,304,325,409,399,485,575,432,292,267,391,554,398,354,365,394,379,312,300,365,391,406,460,464,430,352,349,330,427,1130,1076,990,1066,1126,1542,1700,1232,1978,2150,959,702,628,594,696,1396,1524,1208,1340,1484,1300,1540,1990,2104,2036,2230,2046,1464,1136,1048,975,939,832,725,1236,1390,1184,1410,828,791,820,738,673,674,735,801,936,1284,1312,1390,1536,1366,1272,1021,811,909,1028,1192,1364,1328,1192,1306,1624,1628,1400,1196,871,590,744,731,808,880,791,727,760,782,800,731,653,641,673,843,1390,1620,1216,755,507,450,475,633,1058,1318,1324,1314,1216,1003,911,1476,1876,1816,1144,771,778,919,710,590,648,507,526,760,631,850,942,769,1384,1872,1896,1922,1942,1698,1124,1114,1490,1390,1402,1680,1520,1464,1328,1088,892,673,596,602,548,531,702,874,1152,1448,1316,1404,1516,1582,1306,987,797,796,1146,1460,1440,1428,1326,1434,1546,1338,1498,1812,1704,1646,1244,933,1254,1204,1200,1342,1378,1598,1522,1166,993,1244,1594,1622,1396,1536,2564,2900,1960,1970,1214,830,1074,1388,1202,827,1050,1286,1302,1562,1472,1198,1150,1538,1678,1570,1340,1028,1148,1482,1576,1410,1102,1140,1476,1682,1576,1394,1400,1468,1280,1084,1168,1474,1654,1244,1044,859,1112,1007,1028,983,1190,1356,1168,1382,1512,1242,1142,1216,1328,1260,1306,1210,1162,1036,1166,1266,1328,1248,1182,1198,1130,1056,494,644,1166,1060,942,1224,1180,1028,1092,1188,1240,1340,1482,1456,1202,1028,901,639,653,588,472,415,409,868,1286,1196,924,676,498,649,691,441,615,651,482,343,332,552,472,383,431,294,302,288,278,327,392,492,825,1296,1748,1748,1120,769,749,620,599,582,939,987,1288,1128,946,996,863,600,484,348,259,262,503,933,756,952,1156,1594,1350,913,780,934,739,749,1308,1216,845,1108,1132,1074,1396,1764,1686,1692,1572,1118,904,990,763,514,462,305,378,522,683,945,904,1154,1080,1128,1344,1048,1001,1246,1322,879,613,546,448,400,635,1110,998,815,589,399,750,672,344,346,410,655,669,535,416,476,677,671,552,566,543,811,1006,1090,790,623,649,749,704,573,462,492,761,912,921,968,838,1058,1158,851,1048,1604,1620,865,494,650,583,386,309,275,446,586,709,1000,836,646,662,503,476,517,432,570,627,435,722,657,561,612,739,986,1250,858,387,415,370,553,760,778,694,621,861,915,1144,825,774,1062,999,911,1110,1128,1176,922,754,810,1172,1258,1128,590,432,731,971,1180,1160,1246,1632,1106,626,372,478,524,653,949,833,1932,2654,1542,788,897,1132,1570,1942,2008,1708,1932,2098,1526,1488,1798,1460,1370,1598,1554,1424,1014,868,1132,1026,1194,949,566,506,631,873,1282,1368,969,835,868,1144,1100,836,594,650,917,1024,1116,1124,952,904,927,879,1056,810,1164,1198,1023,913,1228,1198,1100,1192,1328,1570,1556,1368,1232,1007,1288,1168,887,1004,1150,1230,1358,1480,1356,1250,1202,678,567,775,626,511,493,455,497,519,512,524,554,701,714,565,576,616,604,579,520,409,349,351,378,423,439,426,456,522,563,614,560,565,826,879,1122,1266,1324,1242,811,413,449,645,605,626,713,792,1192,1358,1262,1272,1412,1364,1162,1084,1116,895,831,775,758,1072,1228,1192,1310,1354,1298,1204,1360,1556,1484,1208,1306,1360,864,481,579,888,612,753,1078,1040,982,1498,1562,651,608,1112,1340,1062,1066,947,1172,1268,947,590,415,604,1312,2258,1944,597,513,311,333,596,1268,1332,919,1140,1652,1644,1388,1340,1490,1708,1764,1348,1206,1708,2072,1606,966,641,479,420,369,341,304,270,283,300,627,1172,1378,991,666,560,622,741,791,611,788,673,638,1402,1998,1772,1228,1200,1160,1146,1460,1246,937,472,455,541,771,948,941,1096,1256,869,654,1018,1318,1206,727,338,255,341,832,709,543,666,786,1054,1632,1962,1760,1678,1304,1058,886,955,608,384,331,387,478,603,788,949,792,954,1588,1596,1446,1580,1560,1580,1520,1114,916,928,1256,1592,1470,1198,1124,1126,1098,1166,1160,1418,1440,1272,1050,1054,1216,1252,1366,1446,1194,993,1196,1316,1224,1094,1120,1296,945,1084,1604,1370,1122,1088,984,822,457,767,993,1013,1058,634,749,832,791,1024,1122,1017,1026,788,609,1092,1588,1156,1386,1328,885,904,951,818,592,501,672,746,572,582,787,919,1174,1296,1098,1072,1252,1212,1136,750,393,391,516,541,879,1120,815,1278,1128,979,1162,835,748,1100,1248,1616,2340,2160,1698,1702],[1472,1432,698,398,385,443,433,401,435,569,832,828,973,1338,1040,596,470,465,436,458,843,1558,1746,1250,885,635,473,418,427,459,362,341,327,343,343,448,468,474,473,533,579,650,663,618,617,628,702,551,372,425,587,580,830,894,632,927,944,713,721,693,700,852,919,805,682,642,667,962,1300,1362,1560,1482,1608,2002,1696,1076,1015,1458,1456,915,832,867,888,907,812,606,689,1150,1700,1686,1054,472,393,422,397,380,426,389,359,406,717,949,857,724,513,507,484,879,1208,1400,1610,1300,1120,1400,880,424,406,462,515,577,658,789,958,851,679,1128,1094,827,1406,1324,1236,1001,509,461,528,585,1206,1526,1072,723,602,775,786,539,530,532,622,485,546,1042,1172,1044,879,654,518,804,634,280,321,380,374,461,635,841,904,786,966,1034,443,368,432,585,745,516,430,397,518,919,1036,1076,915,700,692,749,1196,1456,915,504,431,834,1062,705,493,611,893,742,444,424,534,926,1108,956,721,730,904,1210,1126,723,700,704,546,576,524,534,811,1204,1618,1642,1001,448,393,447,636,698,472,462,844,1328,977,1023,1056,1054,1670,1944,1510,1021,979,1166,1288,1116,664,379,423,829,1078,1572,1770,1336,868,900,1136,1068,1276,1050,728,667,843,1188,1542,1194,798,507,318,381,550,481,378,382,391,398,336,596,1013,1192,1090,862,536,473,669,513,818,1318,1284,1344,1656,1562,1420,1562,1390,1606,1536,1228,1676,1908,1180,1412,1214,1084,1032,712,712,1170,1238,982,886,658,473,481,477,692,649,858,1032,822,908,1052,1198,1023,858,923,1009,1262,1448,1210,1250,1292,996,1098,1006,946,948,1007,899,814,1198,1528,1112,697,645,683,713,934,969,961,865,818,927,882,745,884,1104,797,960,908,1058,998,1234,994,823,987,1009,859,813,1458,1754,921,535,648,1166,631,821,1284,1019,839,968,755,533,533,625,624,943,618,464,531,474,624,520,388,378,323,348,385,427,380,419,724,1152,871,553,666,797,832,1140,1532,1898,1428,677,512,481,484,486,446,443,460,440,514,539,484,524,670,747,1070,1688,1278,1462,1548,1804,1030,555,863,791,806,871,639,709,1092,1226,844,551,477,824,1024,775,1068,1280,1034,671,676,1488,1490,739,1009,1256,650,569,950,1328,1544,1626,1114,620,575,469,519,902,879,833,945,1242,1348,1056,658,524,408,370,670,1160,1450,1140,634,1130,1180,844,795,1250,1470,1396,1184,1336,1964,1824,1366,1210,968,689,887,914,560,386,415,382,448,521,502,470,396,519,652,596,1092,1232,896,1178,1622,1388,1194,1228,1502,1476,741,997,793,580,886,918,728,705,855,899,899,804,558,395,333,319,325,335,485,1002,1672,1136,629,480,604,818,873,1056,1094,859,871,1346,1598,1544,1394,1300,1188,1118,827,989,1072,913,1136,856,596,860,810,628,666,1042,1470,1368,728,437,911,1316,1226,1136,703,796,749,1124,933,652,692,549,506,667,795,775,715,890,1122,762,631,552,447,379,401,1094,2030,2206,1718,1406,1364,733,827,927,781,1188,1354,1388,1570,1650,1656,1072,474,449,467,387,355,337,338,696,1164,1114,943,642,401,539,896,1296,911,830,981,1490,912,790,722,522,694,752,469,701,1314,1550,1010,923,897,1032,737,711,850,714,748,1054,1122,974,1226,760,589,1252,1402,720,498,619,569,637,1250,1720,1266,858,1166,1120,1180,773,1222,1616,1452,1056,1042,1266,995,602,1046,1046,603,830,1132,850,430,433,661,996,1074,1102,1164,1132,637,686,1202,1554,1256,663,584,561,437,420,488,426,728,1078,1116,1086,902,705,462,396,861,948,447,484,849,761,458,459,708,686,550,371,332,348,397,412,541,927,778,435,389,407,485,899,1230,664,586,724,910,700,624,772,707,1076,1196,818,777,1100,1324,1040,1216,1676,1458,1780,1476,763,662,848,1112,1042,600,639,878,792,891,918,1084,605,823,1114,1328,1470,1526,1110,530,464,945,1522,1286,813,734,890,1005,1178,906,640,561,559,513,838,1022,819,647,626,632,673,586,443,747,1256,1352,975,670,743,721,945,1042,620,407,325,443,436,425,426,668,638,415,419,386,381,389,374,395,440,422,425,358,268,294,357,334,377,441,314,242,343,414,556,461,408,415,459,394,311,265,293,343,416,462,452,334,317,330,349,678,1216,1170,1090,1314,1422,1606,1790,1604,1488,1346,1260,1216,995,800,830,1384,1436,1162,1428,1598,1456,1560,1638,1644,1620,2086,1888,1356,1070,1056,1062,1042,968,993,1380,1172,1244,1368,877,866,1098,951,774,696,712,787,1078,1374,1392,1536,1478,1094,1152,1078,1148,1240,1192,1178,1262,1364,1370,1650,2106,1522,1078,727,618,623,612,733,848,919,843,724,680,716,660,580,588,638,713,1060,1498,1278,875,807,855,955,1046,1244,1388,1354,1576,1476,1100,1244,1398,1672,1594,1354,1052,822,1028,1176,608,575,631,532,691,805,674,1064,1011,866,1550,1986,1948,1886,1860,1222,692,500,1182,1718,1612,1044,748,1022,1130,959,930,838,713,648,561,591,1030,1892,2872,2154,1120,957,1003,1290,1376,1212,909,756,828,1350,1504,1418,1400,1142,1186,1458,1654,1656,1410,1614,1490,1072,924,1192,1360,1202,1394,1838,1742,1414,1294,1588,1648,1294,1476,2702,3516,3620,2562,2154,1678,1070,919,1410,1462,1170,1256,1238,1224,1460,1444,1124,1194,1422,1544,1514,1458,1348,1384,1340,1428,1500,1282,1114,1302,1678,1434,1276,1470,1540,1156,1044,1198,1148,1520,1350,1360,1342,1272,1122,857,762,963,1172,1438,1620,1368,1368,1348,1306,1230,1268,1336,1296,1258,1076,1092,1084,1218,1474,1516,1382,1340,971,761,708,923,866,1076,1250,1288,1168,1152,1202,1194,1324,1662,1712,1542,1134,869,856,1138,898,533,425,592,725,553,521,473,536,455,537,691,679,1054,860,398,262,264,273,281,343,517,457,332,305,302,309,467,706,827,830,1194,1378,1102,943,800,805,661,787,775,797,919,761,752,1108,1260,886,386,357,538,491,437,479,918,1220,1396,1368,924,968,1126,1204,976,720,1106,1480,1252,1170,1140,1186,1604,1772,1566,1614,1628,1538,1454,1156,951,813,645,388,378,478,506,929,1298,1336,1184,1130,1108,890,1086,1376,1276,931,685,637,661,588,722,1006,919,822,763,662,1088,708,437,475,658,704,627,611,471,381,624,743,607,639,663,623,583,626,536,618,760,814,687,654,610,582,1015,1750,1816,1550,1246,1252,1009,761,1180,1536,1200,641,660,923,894,451,309,322,360,375,465,570,440,343,366,453,576,593,426,473,714,458,716,1266,1022,608,521,728,1108,691,375,413,404,368,404,527,656,514,491,1122,1330,830,653,911,1198,1160,951,927,1066,1190,1114,1274,1564,1112,781,770,743,666,662,518,789,1290,1334,1334,628,612,629,545,541,744,1136,1692,1808,1432,656,477,588,930,1324,1584,1736,1858,1582,1406,1848,1924,1592,1642,1280,1302,1514,1180,749,1042,1268,1308,1146,833,566,525,942,1494,1484,993,716,1108,1294,1230,1070,1098,1250,1278,1190,1064,895,883,855,901,810,1023,1156,1206,1148,1298,1194,1318,1340,1316,1166,1138,1216,1450,1634,1406,1202,1246,1214,867,482,555,778,943,1196,1346,1222,1154,838,521,735,694,584,526,525,597,588,533,494,458,464,509,525,554,566,495,464,418,357,356,351,363,388,390,413,400,432,541,799,968,1008,927,677,910,1128,1102,1136,960,564,502,486,567,1078,1162,1168,1382,1282,1023,1164,1314,1194,1144,1094,1116,960,648,519,625,1007,1272,1188,1070,1238,1278,1202,1182,1044,763,527,764,1208,681,437,599,820,693,600,839,800,551,1076,1422,841,510,709,946,701,457,664,1086,968,774,601,461,679,1286,1882,1962,667,364,352,425,673,1070,1011,786,1062,1316,987,1188,1542,1380,970,668,466,644,1084,1360,1144,741,510,653,572,350,307,275,259,377,433,716,1040,891,526,470,910,1234,803,750,941,771,454,560,608,947,1290,1288,1056,1068,1642,2438,1732,455,332,460,588,968,999,789,654,532,508,619,1158,1312,1246,796,371,305,360,862,824,687,753,578,623,871,1266,1296,1838,1218,941,922,815,545,328,361,709,984,901,1204,1266,1090,1368,1426,1034,1034,1078,1188,1176,1120,1056,1206,1432,1438,1178,825,1002,1096,1226,1210,1074,965,1126,1064,1068,965,996,1152,1338,1472,1532,1444,1090,1248,1350,1220,1322,1466,1432,1124,1274,1774,1636,1208,1306,1612,1324,686,592,1008,1600,1224,593,654,761,786,845,1104,882,925,953,817,1130,1412,1432,1882,1774,1260,972,1118,1224,1032,978,1078,1042,1082,1260,1108,1172,1294,1534,1674,1544,1488,1052,1024,645,468,570,1150,837,813,982,1080,1178,849,546,622,809,976,1162,1190,1384,1634,1792,1486,1350],[1654,1062,564,387,313,392,365,354,466,659,805,747,1202,1572,1368,1482,767,483,686,775,998,1558,1448,1015,865,639,472,504,544,512,401,379,336,341,349,439,466,459,478,454,454,505,551,574,593,556,626,430,312,376,438,487,1228,1560,597,519,534,504,564,585,535,612,703,631,490,440,673,1340,1498,1232,1610,1542,1438,1462,1272,741,675,1198,1180,742,795,1090,795,724,733,765,900,1070,1534,1712,1076,467,412,411,400,415,445,394,437,466,766,852,843,605,509,556,499,826,969,962,1328,1166,1016,1158,916,570,525,549,527,507,669,873,1058,819,636,1118,897,813,1730,1390,1448,1210,843,731,605,617,1112,1532,1308,1038,1322,1030,653,579,508,554,578,469,849,1488,1604,1448,1264,1146,1000,1138,592,344,367,388,373,343,392,565,703,1064,1174,897,371,338,460,833,1312,851,425,466,516,643,1080,1572,1408,859,553,544,1005,959,888,681,391,622,789,655,494,536,423,401,419,476,474,669,742,946,828,685,753,996,849,514,607,799,999,984,808,590,478,767,1202,1936,1698,754,659,568,550,514,413,377,437,833,1216,1332,1252,1060,1092,1062,1132,1492,1382,1078,1112,1030,849,499,539,1028,1606,1926,1566,797,458,783,1382,1398,1390,1684,1534,1030,1122,974,868,727,541,429,390,513,539,411,464,415,360,404,365,767,1226,1526,1296,815,537,447,661,578,896,1152,1202,1514,1812,1448,1296,1318,1072,993,1368,1452,1758,1432,1320,1476,1372,1042,1214,1070,986,1286,1388,1248,941,676,495,521,869,924,532,778,815,787,694,677,944,1016,1042,1070,769,841,1172,1170,1370,1554,1488,1470,1088,1086,1100,785,780,828,516,608,601,498,428,507,562,728,965,1178,1142,1136,1258,1062,694,980,1288,671,951,1003,1288,1400,1042,634,778,1052,1134,681,971,1620,1300,847,487,640,934,910,1322,1284,782,921,1004,696,524,515,637,591,606,482,469,443,381,379,288,332,344,326,325,370,440,443,409,694,1334,1484,888,402,447,586,662,1042,1760,1080,531,480,444,463,510,509,441,432,489,551,544,436,517,849,944,846,1054,1234,1334,1448,1472,915,701,1064,891,567,717,709,528,692,941,865,552,452,830,1520,1412,1250,1158,594,595,802,1004,902,655,935,1048,743,755,1060,1248,1506,1608,986,543,514,403,514,1140,1172,858,818,819,960,830,477,455,524,637,955,1310,1342,1222,922,949,1016,1124,1340,1622,1662,1390,1704,2426,2028,1336,995,1156,1078,905,1238,1132,715,565,610,518,487,566,550,479,456,512,568,494,655,1026,1338,1664,1612,1440,1310,860,1007,1028,675,1372,1176,768,909,922,709,659,719,727,692,662,480,331,295,311,404,433,537,767,985,771,594,576,461,612,1188,1306,1176,813,857,1378,1568,1472,1482,1444,1514,1626,1366,1066,982,1090,1274,819,680,1006,1122,765,693,1136,1304,1168,932,681,1108,1382,1344,1250,880,822,680,613,428,421,590,772,982,984,703,595,776,1232,1156,628,386,429,481,470,456,650,709,662,893,1240,1162,865,777,827,973,904,899,1666,2060,1626,1282,733,497,428,486,453,375,346,421,669,963,1228,1236,929,569,597,1238,1442,1320,813,1094,1424,871,655,426,356,580,841,549,397,610,923,907,1092,1378,1210,909,1024,965,659,516,875,1304,1110,1346,854,538,734,803,433,310,408,379,372,693,1005,801,983,1150,884,952,594,907,1476,1262,971,1102,1172,885,418,424,410,387,602,615,423,494,494,780,1216,1696,1570,1148,1044,430,382,532,633,733,814,787,788,564,438,679,908,1030,1140,1204,1136,1092,872,430,265,524,763,458,636,866,592,466,527,808,1024,962,443,349,377,380,546,690,830,675,486,459,391,400,908,1316,711,730,1334,1450,1046,956,899,852,1216,1114,766,849,881,1136,1418,1042,815,826,1360,1376,1188,915,818,1021,910,573,412,583,677,914,803,735,510,673,1056,1158,1102,1194,1178,666,652,1048,1688,1362,630,741,1212,1324,1246,962,562,614,598,530,802,790,926,681,636,593,589,527,600,1018,1302,1200,1152,1098,689,654,982,641,487,409,376,444,420,399,408,512,517,481,475,436,425,407,385,427,411,372,401,408,382,363,415,570,447,342,287,277,337,427,543,496,383,330,316,313,318,301,329,365,472,412,324,266,258,364,292,687,1208,1084,1106,1212,1206,1692,1724,1750,1752,1830,1828,1750,1612,1352,1036,1023,1054,1014,1298,1542,1484,1644,1638,1498,1410,1580,1622,1350,1048,1078,1180,1260,1246,1198,1512,1110,1378,1192,1146,1504,1548,1362,1290,1286,1212,1170,1356,1424,1336,1316,1312,1108,975,1150,1528,1544,1344,1108,1174,1316,1628,1440,1266,799,620,601,727,736,676,767,893,838,566,451,501,545,481,525,456,509,685,1232,1540,1274,1162,1180,1058,997,1074,1170,1172,1142,1196,1218,1388,1556,1582,1558,1424,1224,1078,1164,1432,1426,1108,1118,1116,977,969,859,724,921,855,829,1264,1648,1764,1756,1824,1166,658,548,1258,1706,1228,559,398,588,1070,1022,725,651,531,434,772,1786,2878,3540,3694,2756,1434,1012,874,944,1054,1104,1009,1086,828,1076,1362,1372,1246,1030,1288,1680,1450,1054,1224,1260,1228,1166,1040,1042,1170,1504,2098,1918,1392,1406,1294,1432,1482,1776,3152,3426,2400,3084,2590,1786,1848,1592,1001,937,1224,1698,1470,1616,1638,1328,1520,1434,1136,1230,1312,1306,1394,1512,1700,1176,1228,1412,1282,1186,1262,1538,1428,1286,1346,1318,1216,1426,1202,1074,1428,1512,1388,1284,1292,1224,981,1054,1302,1356,1498,1336,1232,1434,1428,1322,1152,1180,1136,1076,1244,1284,1256,1170,1168,1288,1292,1458,1424,1116,1023,744,780,763,706,985,1246,1156,561,538,1021,1368,1962,1752,1770,1510,1070,1200,1510,1224,910,1038,1068,767,406,351,335,633,638,627,648,911,796,363,268,254,269,251,283,272,416,566,367,278,407,487,410,511,515,429,602,670,762,953,1516,1460,1108,944,708,813,835,650,754,1070,968,961,648,867,1300,1220,799,927,1140,1192,1350,778,477,749,1170,1318,884,577,1032,1334,1454,1622,1816,1654,1668,1680,1502,1136,977,1542,1422,845,713,1146,1322,926,965,877,502,842,1060,880,878,814,695,776,1060,1017,938,987,990,759,595,555,485,561,743,785,924,876,1548,1050,647,646,1038,1296,1060,1036,1110,901,1188,1040,869,932,919,747,526,373,406,430,615,927,780,672,646,908,984,1516,1680,1386,1017,1015,892,790,1160,1404,1009,554,720,858,899,675,440,396,390,412,413,402,352,415,462,515,724,673,493,410,768,670,1168,1302,665,489,397,478,618,431,354,273,313,626,865,833,988,803,392,681,1006,1013,838,1230,1242,1454,1152,1074,715,1010,1416,1748,1718,1158,1008,1256,966,534,462,421,448,789,1200,975,545,909,907,579,617,1130,1554,1258,671,636,644,588,516,572,1056,1606,1758,1764,1814,1808,1766,1376,1096,1286,1216,1052,1182,1072,1046,1428,1520,1428,1166,1019,1020,1060,996,1242,1346,1202,801,1182,1366,1388,1236,1292,1248,887,926,1166,1224,1360,1316,1074,1192,1252,1246,1332,1374,1298,1186,1262,1298,1252,1070,1290,670,753,1306,1106,963,758,778,546,341,410,472,502,645,1278,1350,1276,1060,580,636,698,775,819,722,645,553,520,485,360,330,374,473,554,544,490,455,383,350,372,357,378,396,349,410,364,379,581,901,1150,1064,766,573,670,871,973,1230,1246,756,586,517,709,1282,1658,1494,1202,960,704,870,1108,1212,1446,1340,1158,828,581,493,493,976,1188,1152,1316,1318,1134,1234,832,480,422,420,378,836,1116,1076,1082,1338,1116,900,1024,1006,658,684,1114,749,771,801,641,430,461,758,800,529,498,646,597,833,991,1112,1090,583,368,416,697,1076,994,666,599,746,1066,1064,1172,1464,1174,879,765,469,413,426,519,633,713,628,991,1222,678,338,303,392,822,1058,978,863,893,577,630,921,1358,1234,724,1060,870,503,603,819,1054,1166,1162,922,1062,1852,2150,925,349,444,761,1200,1196,916,849,672,469,390,421,1030,1234,1092,891,823,549,348,709,833,711,728,686,653,713,1192,827,940,1162,855,623,736,567,529,607,1028,1488,1280,1176,1142,964,1074,943,820,1006,623,749,1120,1296,1544,1544,1370,1226,1006,1222,1384,936,805,1042,922,598,493,611,784,854,1028,853,1340,1282,1208,1424,1588,1578,1440,1390,1106,885,1268,1252,1130,1490,1660,1007,1044,1384,1080,692,572,954,1444,1138,560,544,651,984,912,1520,1152,1282,1382,1354,1412,1032,811,1078,1118,949,1146,960,1008,1180,1304,1398,1294,1230,1318,1108,971,992,1356,1454,1232,1506,1158,860,641,611,662,761,927,1148,1208,1076,836,768,468,399,708,1054,1210,1508,1598,1308,873,844,1156],[1180,626,440,364,316,337,323,404,612,1002,1186,854,846,753,714,833,608,480,683,782,877,1160,1170,865,708,475,430,460,416,411,426,406,393,401,393,443,466,476,486,430,405,416,465,455,423,490,550,388,289,319,356,434,938,1268,527,394,467,499,497,506,490,654,792,647,579,886,1502,1764,1484,1300,1542,1604,1406,810,536,407,509,966,1090,781,973,1182,1040,990,922,876,674,544,619,1328,1104,453,443,406,405,458,537,437,533,525,997,906,623,613,630,560,591,680,670,744,1116,856,808,1248,1138,969,749,573,638,697,711,890,920,705,779,1088,777,1108,1830,1422,1412,1138,710,735,777,655,719,810,976,1228,1734,933,603,594,534,557,543,604,1066,1612,1672,1218,1380,1284,1096,1218,851,536,376,318,327,451,616,747,1023,1484,1306,647,440,506,479,688,883,572,414,455,493,543,648,1062,1236,899,545,359,323,381,836,768,546,932,1136,967,654,450,420,411,366,410,461,444,444,555,616,628,639,750,571,482,482,551,808,888,942,713,449,549,809,1306,1344,976,849,502,370,411,513,437,379,428,887,1194,1178,1126,1092,855,1378,1854,1876,1334,1080,1042,1068,792,1092,1704,1888,1722,982,477,418,872,950,1136,1418,1896,2122,1532,1114,692,433,473,474,394,433,655,700,579,474,454,472,418,411,614,713,695,561,591,459,326,448,666,761,1036,1256,1570,1516,1080,1192,1618,1644,1282,1770,1854,1970,1196,854,976,962,834,666,670,1052,1168,1054,1056,894,734,600,811,1112,908,437,420,603,794,905,1050,1180,1122,1266,1224,1009,820,834,1062,1230,1318,1544,1350,832,817,868,805,930,1180,638,443,533,513,539,500,487,533,630,798,891,864,945,858,822,1120,1224,1046,1140,1160,1256,1480,1212,888,1040,1266,1170,649,585,720,576,587,485,390,540,988,1264,880,923,1160,1052,598,406,468,493,633,736,545,450,402,305,325,336,341,337,350,418,506,630,709,651,801,1294,1448,922,657,533,477,490,938,929,527,456,458,514,514,491,522,440,378,407,461,466,486,606,924,796,959,1522,1648,1290,991,874,810,891,1110,858,839,854,494,590,602,437,452,438,418,665,1052,1180,1218,1084,744,778,1038,677,626,760,1104,1178,1036,1144,1338,1242,1456,1700,1003,606,514,403,487,1104,1272,796,695,735,688,679,559,498,643,934,1064,1274,1652,2050,1440,953,911,1270,1512,1428,1214,1266,1632,1824,1506,1404,1210,1050,819,855,1120,1196,1114,1102,989,828,607,598,607,526,518,471,433,451,463,510,821,1326,1604,1686,1682,1156,673,615,650,1340,1290,736,931,974,647,579,571,664,612,569,416,315,307,407,560,588,607,635,600,482,558,607,440,667,1176,1268,742,497,1012,1698,2162,1802,1112,1488,1670,1714,1418,1202,875,1130,1250,716,790,1094,1108,811,919,1168,1102,1092,1330,1001,1120,1348,1328,962,682,890,864,447,394,653,1004,1019,696,396,473,568,957,1384,1166,650,561,698,798,700,493,850,1090,998,940,1216,921,562,648,644,684,863,1056,1490,1936,2014,1616,1316,756,500,490,432,384,408,535,623,921,1418,1500,1130,920,679,1072,895,574,472,823,767,739,985,854,497,303,331,458,543,655,638,656,866,1146,837,713,1056,1001,565,430,916,1118,1308,1456,868,511,603,666,720,736,521,477,473,556,506,412,646,532,455,550,435,520,660,579,646,722,609,432,384,462,544,667,688,610,639,787,718,539,709,1274,1152,714,466,384,553,691,810,914,928,723,639,667,705,1116,1632,1490,1186,1176,1066,1190,1070,559,376,428,338,294,516,637,513,574,562,643,929,943,550,355,417,540,601,608,701,764,903,995,763,1026,1272,691,567,566,1164,1244,943,818,667,644,661,633,713,593,590,792,781,547,467,567,850,1436,1652,1214,981,1072,1180,726,446,413,569,631,687,1140,1144,628,854,1478,1248,944,1090,1036,695,1038,1242,691,422,729,1048,888,813,653,476,538,469,423,824,645,798,857,749,653,570,500,721,1174,1302,1238,1504,1456,709,443,509,457,496,489,449,420,392,386,360,344,433,495,481,452,441,423,428,421,380,371,413,435,415,385,453,837,664,410,248,328,414,583,635,469,368,333,302,299,359,374,415,399,427,353,286,292,339,412,326,667,1118,1046,1208,1086,1140,1518,1600,1674,1718,1718,1698,1600,1478,1262,933,904,915,919,1082,1422,1324,1528,1716,1636,1454,1268,1184,1200,1178,1148,1202,1258,1144,1290,1376,1130,1256,988,1302,1690,1642,1566,1546,1422,1466,1560,1578,1342,1252,1112,1003,932,910,1260,1504,1584,1662,1288,1286,1372,1318,830,636,717,755,744,708,566,523,614,626,679,597,630,505,368,403,473,425,433,745,1412,1424,1026,1268,1166,1134,1254,1318,1396,1406,1290,1162,1152,1110,1112,1224,1238,1168,1006,883,814,1098,1152,1260,1238,1206,1334,1240,1118,1134,1144,1024,1172,1336,1392,1530,1682,1782,1604,1258,1222,1582,1704,1330,734,550,745,1028,687,516,495,726,1874,3506,4440,4684,4676,4424,3184,1526,1144,989,937,944,1208,1090,803,641,866,1292,1320,1178,1410,1718,2036,1648,1148,1152,1318,1434,1418,1158,825,1024,1896,2412,1680,1132,1378,1460,1104,1600,3008,3166,2208,2410,2526,1600,1038,1520,1782,1246,1086,955,1354,1590,1570,1158,1108,1582,1622,1328,1078,1134,1338,1330,1382,1656,1524,1394,1238,1072,1086,1354,1486,1274,1186,1194,1290,1432,1340,1054,1212,1156,1230,1134,988,1162,1210,1272,1522,1548,1422,1362,1396,1306,1466,1584,1248,767,785,1084,1298,1292,1214,1324,1140,1216,1450,1650,1854,1344,1116,963,596,504,581,838,1030,918,1007,1007,949,1021,1736,2200,1824,1600,1590,1438,1346,1436,1208,843,962,1186,699,369,309,343,476,773,621,519,719,438,278,275,294,353,312,263,250,276,297,219,208,375,566,650,500,562,661,907,788,831,846,1298,1152,1172,1086,745,986,1300,965,595,750,839,919,934,1019,1228,1292,1140,1328,1370,1444,1204,474,391,418,701,888,431,518,1100,1266,1326,1606,1832,1984,1896,1622,1400,1142,1130,1236,1122,792,889,1450,1540,1206,1328,1198,639,486,706,560,494,631,786,813,1168,1058,999,1390,1582,1176,501,517,619,802,934,888,1007,994,1028,789,735,819,1280,1616,1288,1268,1372,1316,1588,1046,755,959,960,626,350,301,380,371,471,1024,966,890,888,1122,852,1328,1780,1296,821,870,746,682,1256,1396,882,569,538,761,675,482,586,610,522,476,617,1044,944,707,783,891,852,702,642,718,940,843,811,630,406,435,402,427,443,349,355,385,614,886,993,1118,1304,1064,504,521,1114,1412,933,1082,844,1028,1174,1030,1023,1032,1028,1400,1544,1262,1388,1388,873,558,466,338,363,468,822,681,589,994,1182,893,716,724,946,1236,847,905,840,552,639,806,1144,1624,1780,1660,1628,1798,1700,1422,821,957,1332,1136,1220,1176,1466,1740,1654,1324,1130,1028,1056,1212,1542,1616,1388,1256,1034,1082,1310,1340,1384,1412,1134,840,1116,1188,1314,1316,1414,1196,1126,948,1058,1350,1316,1226,1236,1158,1016,1036,1192,1001,483,359,622,565,495,529,477,404,404,440,444,392,376,949,1204,1208,1130,749,609,826,1036,1096,810,606,557,538,442,335,316,353,477,558,536,506,469,425,390,362,437,593,458,380,472,442,454,490,653,1072,1028,777,766,760,932,1230,1326,1186,747,507,413,430,952,1448,1176,749,540,533,935,1214,1424,1386,1152,973,833,860,786,700,913,969,1176,1424,1418,1007,1104,1140,616,398,430,372,548,1158,1620,1608,1548,1004,795,806,518,555,730,1022,1162,1240,1066,684,529,494,838,1062,752,1009,1166,1120,1246,1042,865,984,1007,615,648,1204,1488,1370,773,549,546,747,875,570,623,929,1364,1204,637,448,416,419,499,759,764,1220,1716,1112,503,550,742,824,1138,1268,1086,1150,1080,963,808,1001,1016,950,1046,786,474,624,1048,1454,1174,816,632,748,1044,951,588,406,412,1028,1546,908,788,1168,977,604,771,612,866,1050,752,727,768,472,287,561,1278,1298,747,670,839,708,1050,846,1026,1602,1194,707,783,691,633,672,912,1190,1208,1158,1166,886,688,1190,1610,1028,523,621,895,1356,1576,1632,1334,1230,1788,1750,1344,811,669,1096,1114,607,339,359,474,631,825,1046,1206,1186,918,933,1188,1432,1546,1220,980,1206,1354,1354,1216,1007,1206,705,536,648,584,852,1260,1432,1302,983,424,534,709,1074,1260,1754,1246,1100,1604,1694,1478,747,417,627,1216,1084,1124,938,676,664,1102,1620,1584,1548,1588,1338,811,524,835,890,937,1292,949,614,746,908,883,849,975,1188,1266,792,617,744,989,744,475,554,975,1160,1156,983,560,617,1054],[437,365,363,374,353,358,424,530,725,1182,1152,1236,1142,921,634,538,512,507,694,795,680,565,688,803,578,496,432,462,511,483,411,419,473,447,440,460,438,430,423,351,330,431,447,440,435,511,528,392,286,327,442,423,366,697,533,401,398,443,456,475,569,716,826,841,985,1446,1962,1652,1340,1200,1440,1658,1418,854,423,388,609,1490,1614,1030,1044,941,926,736,858,914,872,641,876,1560,1116,486,484,453,420,411,450,445,553,563,1094,1280,1007,967,1130,1228,1120,904,724,758,1424,1126,742,891,990,897,543,504,607,706,651,677,621,680,885,775,689,1244,1582,1382,1440,1522,1202,948,619,566,642,832,1172,1488,1300,632,580,581,593,506,442,650,1186,1554,1598,1464,1466,1184,1358,1566,1476,1058,605,432,421,689,976,999,1222,1332,1356,722,604,825,607,465,464,418,361,362,463,517,504,611,565,546,391,300,312,404,740,888,1058,1208,1122,916,899,524,409,439,489,523,473,421,396,383,419,539,554,667,620,444,374,382,585,835,1054,1054,701,551,679,708,813,798,869,638,408,396,508,520,437,427,661,906,1048,1007,1042,854,1030,1400,1346,974,1010,1336,1336,1140,1456,1704,1372,1260,850,596,522,1034,1017,1292,1296,1628,1730,1498,1036,483,456,528,461,408,558,730,615,453,476,493,469,478,498,443,421,419,351,351,491,411,600,888,991,1162,1230,1372,1290,1052,1192,1350,1458,1496,1312,1048,917,874,716,655,778,824,462,678,945,1126,1021,887,995,1078,1062,1076,1060,922,747,684,704,797,913,980,788,1180,1196,752,523,495,579,963,1310,1454,1416,935,634,710,728,771,927,1212,742,469,480,550,616,453,455,473,466,489,537,643,664,630,664,803,880,880,1000,988,1076,1168,882,814,1056,1298,1322,882,681,529,438,494,398,379,463,656,772,707,964,1056,819,738,581,427,406,505,509,387,430,403,299,354,336,331,374,400,929,1094,1126,1472,1558,999,632,729,1052,1302,637,441,443,642,525,393,447,512,543,542,510,542,431,508,488,372,486,491,753,1080,848,1140,1710,1636,1326,1034,634,488,557,931,1003,1082,789,480,484,490,448,448,369,427,870,1180,1108,1014,977,1021,861,852,633,709,1102,1254,1244,1286,1050,1418,1266,1332,1596,1208,659,432,379,431,639,571,395,462,678,710,659,713,614,684,1114,1098,1326,1422,1378,1248,810,698,790,856,1242,1072,1190,988,1446,1688,1440,939,739,771,713,787,894,1216,1130,970,618,388,524,672,599,474,410,362,340,325,336,435,930,1538,1604,1522,1252,988,912,816,1158,959,516,595,537,487,745,961,754,477,402,304,260,225,359,590,652,487,511,517,499,569,520,542,633,1100,1204,634,617,1194,1848,2222,1302,948,1500,1544,1534,1390,1306,1444,1620,1312,1154,1118,1274,1262,1058,1234,1238,1750,1742,1538,964,1136,1406,1262,952,846,1222,1254,773,480,652,794,555,526,610,681,946,1292,1448,1310,752,724,915,1098,786,622,1158,1258,1382,1340,1334,936,636,938,659,457,676,1006,1010,963,1088,1246,1342,847,541,497,395,359,363,421,480,947,1272,1338,772,718,891,982,650,456,518,620,473,662,1258,1306,598,285,390,738,786,638,508,501,551,527,539,976,1338,933,461,338,471,708,1076,1090,700,669,1056,1096,791,750,756,653,727,908,663,473,521,553,856,1021,841,860,649,539,504,515,391,410,566,672,728,918,924,767,589,600,698,771,678,642,601,650,791,722,725,788,827,821,840,841,777,729,729,931,1072,880,763,925,1078,1070,960,747,722,719,419,397,589,634,539,568,505,498,1198,1308,608,272,364,530,634,826,931,1244,1376,1516,1172,1452,1304,802,569,492,582,505,517,523,534,669,760,563,497,391,399,378,347,403,472,572,956,1668,1992,1436,990,916,1186,994,610,425,851,1132,1118,1634,1848,937,971,1888,1306,943,720,770,642,1582,1588,651,525,667,705,647,513,589,571,498,521,647,768,630,620,820,945,701,465,475,634,1068,1164,1410,1550,1210,995,628,323,332,423,510,498,469,443,431,448,346,445,420,404,416,388,389,457,431,352,373,424,401,375,408,411,814,623,388,330,371,430,557,572,330,291,293,273,258,316,304,345,402,387,319,290,261,333,393,331,468,705,991,1244,1046,1084,1376,1482,1528,1558,1562,1534,1444,1372,1182,799,932,951,929,1120,1288,1290,1448,1598,1600,1418,1236,1108,1192,1212,1096,1013,1034,814,1294,1200,1020,1002,944,1484,1372,1400,1428,1546,1500,1528,1520,1444,1268,1186,714,433,499,704,1192,1570,1594,1722,1594,1316,1136,811,673,781,826,756,725,684,592,479,487,450,542,605,592,441,358,394,463,463,514,893,1576,1072,681,912,1144,1422,1562,1614,1710,1594,1412,1298,1246,1232,1324,1288,1274,951,761,1007,1278,1678,1236,809,781,861,1060,988,977,1134,1344,1456,1506,1536,1538,1666,1644,1604,1730,1876,1832,1522,1302,1344,1310,1066,1052,819,498,511,993,1708,2654,3804,4152,4030,3890,3474,2710,1738,1268,1020,1194,1032,1114,1114,698,557,678,1100,1252,1084,1204,1706,2144,1894,1508,1444,1460,1384,1360,1182,852,842,1656,2434,1680,1450,1426,1330,857,1512,2254,2092,2548,2600,1720,1140,799,1202,2068,2020,1426,1164,1626,1674,1474,1302,1262,1388,1624,1498,1180,1262,1282,1294,1200,1244,1438,1654,1626,1296,1310,1462,1274,1042,1182,1202,1294,1354,978,962,1122,1108,1054,1008,1218,1176,1224,1382,1484,1256,1166,1096,1164,1170,1358,1416,1202,933,868,1256,1256,1120,1252,1364,1182,1134,1182,1498,1498,1066,1058,1112,705,485,728,1262,1418,1108,811,913,940,889,1728,1952,1494,1298,1274,1396,1422,1156,1007,608,727,1342,1210,628,386,406,677,976,460,308,328,280,242,222,189,327,451,331,268,374,317,194,262,541,1088,1272,546,626,954,1180,1030,871,653,766,860,846,740,471,555,792,736,473,634,543,774,1208,1046,1066,1338,1300,1324,1472,1546,843,435,374,350,390,352,469,1202,1686,1526,1400,1498,1646,2032,1710,1736,1434,1376,1218,929,945,907,748,888,1040,1130,1005,897,1074,525,605,549,576,943,929,1334,1808,1494,1518,1522,1532,1600,686,467,823,1180,953,758,926,832,565,959,1214,776,637,596,517,818,1022,823,640,446,597,838,700,549,380,438,880,814,614,1202,1118,874,979,813,659,873,910,844,783,730,711,1234,2120,1716,1070,1078,949,874,479,353,588,683,536,458,568,1246,1390,995,1174,1064,794,777,865,775,932,1110,772,482,477,458,402,412,400,251,263,407,762,736,743,1194,1388,998,468,462,827,1023,799,899,1074,1052,1018,1034,1250,1230,847,821,1086,953,1118,1186,909,1034,835,516,520,422,623,784,798,1382,1672,1384,808,476,443,954,1202,1482,1124,612,650,805,1238,1400,1476,1648,1262,1376,1590,1724,1418,1740,1816,1570,1116,905,1322,1532,1500,1542,1348,929,662,761,1354,1332,1060,1021,899,756,933,1254,1572,1526,1068,1082,1146,1118,1194,1094,1146,884,810,1009,931,853,926,1074,1584,1354,901,625,744,843,658,502,507,524,568,562,384,334,393,456,433,380,315,617,980,1050,1104,891,632,846,1050,1038,734,589,549,480,455,388,355,410,495,502,503,512,485,461,452,376,445,713,618,493,667,736,821,778,654,830,678,835,1118,986,1438,1486,1144,1134,1172,783,362,509,806,872,643,479,468,537,1154,1434,1294,1242,1148,1076,1106,1126,1066,960,901,589,1026,1310,1548,1522,1726,1544,765,438,467,468,723,1284,1686,1620,1300,785,886,814,526,723,1024,1098,925,1009,1009,578,546,614,1226,1764,1064,802,860,922,1048,1170,832,718,834,719,1110,1358,1406,1542,1009,682,554,581,877,766,471,779,1496,1638,1272,565,516,521,486,803,941,907,1244,1236,841,1028,1126,591,681,807,1040,1040,1060,1086,1482,1234,957,1208,1036,1032,962,672,761,1296,869,474,500,708,937,912,725,536,406,649,1028,778,1266,1670,1382,1212,1440,1366,1062,604,401,399,393,329,302,485,1214,1110,583,665,1072,803,739,612,727,1264,1366,768,708,730,447,377,511,772,951,827,839,1060,943,1092,1009,736,579,471,484,1058,1574,1466,1208,1582,1872,1576,1208,845,1144,1568,1278,692,498,335,333,463,571,773,736,1082,926,541,728,1368,1684,1272,927,1516,1386,1312,1182,1238,1210,655,683,810,820,1302,1418,1350,1366,1086,796,793,1164,1274,1596,1610,1174,1574,1780,1504,1262,707,570,966,1700,1268,1378,1312,810,772,1128,1510,1860,1378,1074,1114,718,668,1186,1094,1460,1550,1322,1150,1080,1240,1222,1228,935,1358,1358,1042,714,1042,1550,1001,400,427,662,741,1010,1334,885,879,1116],[301,302,329,331,340,380,433,597,675,955,821,827,1206,1270,1004,1012,842,750,712,818,873,578,715,735,542,525,507,502,525,463,364,401,488,457,433,428,407,379,363,301,293,361,394,419,447,475,481,450,364,367,523,480,505,758,581,424,384,415,508,538,571,662,1036,1088,1216,1264,1292,1268,1240,1214,1344,1498,1534,1000,391,391,550,1626,1520,1182,1196,820,536,583,824,1146,1168,641,767,1426,1068,572,456,411,398,388,409,507,546,691,1162,1340,1260,1236,1468,1512,1082,1102,932,964,1532,1130,663,705,954,954,558,497,525,608,581,575,410,586,873,831,695,791,906,811,829,1376,1560,1017,533,419,583,604,780,1490,1070,409,446,557,576,502,509,955,1316,1366,1520,1664,1510,1346,1444,1710,1686,1230,990,709,808,943,1090,1088,1056,1212,1102,564,692,849,648,510,380,399,292,318,400,456,535,528,450,413,390,340,278,400,905,1476,2066,1282,666,907,1102,802,637,717,693,458,422,455,448,393,388,472,604,656,656,482,394,384,511,749,1070,1254,1001,830,573,397,587,924,1366,844,435,469,432,424,361,403,548,738,921,984,1166,1268,1082,1088,809,706,855,1074,1042,1028,1238,1013,700,887,1023,675,385,544,917,924,1010,1238,1156,1180,703,463,523,607,518,487,672,705,468,390,519,546,475,411,346,461,746,866,585,453,786,608,649,805,572,658,913,1318,1288,1276,1334,1404,1450,1502,1092,794,1050,1190,1048,659,610,851,827,1286,1138,812,1214,1206,1100,1422,1260,797,893,1140,864,636,634,687,675,597,550,1156,1328,965,647,531,556,903,1344,1438,1056,663,611,697,810,947,926,961,726,440,378,449,537,446,415,442,506,571,594,565,531,456,479,554,531,891,1224,788,728,583,483,885,1260,1356,1350,992,664,588,738,872,745,559,480,503,553,615,1122,937,890,1158,767,418,415,449,408,387,413,399,385,425,391,386,534,1150,1710,1504,1248,1490,1726,1044,793,946,1016,850,529,421,416,447,424,379,475,561,543,565,584,566,618,1120,1032,571,505,562,1284,1588,1070,972,1338,1306,1180,1082,657,489,555,846,1212,1166,809,544,415,419,453,571,640,459,609,874,1210,1298,1124,872,583,559,740,843,841,931,1072,1192,879,1186,1192,1290,1542,1304,692,452,369,317,382,414,424,497,628,597,709,863,764,669,631,739,984,934,887,935,633,524,454,644,987,1050,1212,998,1360,1626,1042,504,664,872,543,630,649,541,424,753,709,574,821,1030,669,398,439,350,305,351,432,469,931,1362,1484,1516,1470,1150,836,795,691,889,1236,716,828,838,1034,1174,940,625,386,327,313,263,352,897,1446,1168,757,520,417,525,835,966,657,1062,1286,837,661,985,1152,1376,880,822,1320,1322,1270,1298,1398,2190,2172,1454,1696,1392,1274,1330,1420,1256,1130,1754,1804,1270,916,1118,1438,1484,1252,1146,1360,1410,979,565,381,617,927,955,765,774,1286,1496,1126,874,838,985,1120,839,495,628,1034,1252,1210,1038,1206,974,573,796,669,737,688,822,1078,641,354,600,736,561,426,455,499,415,337,354,354,530,692,813,766,572,669,959,949,677,810,1246,927,883,1018,774,475,461,741,1014,994,707,454,546,549,510,421,660,656,411,291,267,278,408,601,700,661,926,1512,1466,833,705,713,514,892,1118,798,536,521,940,1582,1456,1032,1090,755,726,827,807,600,467,567,631,763,861,799,875,463,318,388,727,889,689,623,655,792,778,814,968,985,1052,760,705,581,477,435,611,545,394,434,640,962,994,670,677,810,726,387,473,697,890,955,988,938,667,636,498,364,330,368,599,1048,1442,1012,976,950,843,963,877,465,411,464,488,496,484,419,426,415,400,352,350,385,390,404,443,458,463,467,574,740,1042,1170,902,574,656,692,941,853,430,784,1246,1152,1180,1870,1228,824,1476,1048,710,661,729,1038,1942,1736,1104,1212,1214,1284,1426,986,982,930,814,856,912,797,988,1058,842,976,833,430,544,915,904,963,1312,1126,1050,1312,816,361,378,419,487,451,438,447,465,473,427,448,404,362,371,376,391,413,350,364,361,359,355,357,414,582,880,639,379,379,339,335,506,512,277,267,296,253,237,276,307,328,371,371,323,297,262,301,333,289,461,504,683,1046,1086,1068,1220,1346,1440,1396,1306,1432,1584,1322,1078,806,932,968,905,1108,1154,1224,1350,1380,1324,1242,1168,1058,1036,1004,938,912,998,1084,1426,1196,1056,1040,1070,1888,1816,1742,1758,2076,2100,1650,1426,1402,1272,898,460,431,531,667,693,999,1194,1446,1190,717,592,570,712,850,728,727,603,524,550,492,506,549,623,645,459,317,348,468,562,519,572,1154,1644,990,807,902,1138,1378,1278,1302,1362,1354,1356,1322,1218,1276,1476,1540,1372,1132,1166,1482,1880,1836,1208,821,724,915,1082,1148,1010,1142,1268,1082,1048,1023,903,951,1030,1110,1340,1722,1754,1522,1312,1144,1034,1038,877,556,583,873,1586,2384,2564,3122,3660,3830,3864,2916,2398,2138,1626,1468,1732,1424,1088,1026,595,531,558,750,957,1168,1686,1942,1654,1428,1546,1546,1418,1384,1252,1166,1164,839,875,1374,1404,1704,1694,1434,1302,1572,1708,1794,1422,1420,1128,807,863,1222,1896,1650,1184,1044,1208,1538,1460,901,875,1362,2074,1666,1312,1252,1188,1192,1162,1290,1352,1560,1834,1692,1526,1410,1138,1166,1362,1322,1256,1042,952,893,932,1196,1160,1090,1398,1108,1196,1216,1332,1338,1190,1196,1350,1412,1544,1490,1338,1238,1206,1310,1186,1156,1472,1382,1182,1080,1192,1270,1100,977,1023,956,952,910,893,1204,1594,1124,709,666,792,1296,1898,2058,1760,1210,834,926,1366,1288,949,815,1338,1738,1650,1150,595,364,621,913,391,292,286,261,210,213,241,350,416,317,258,274,229,233,314,630,912,671,473,711,830,1005,938,665,605,798,755,637,595,767,847,422,389,720,657,451,811,1302,1042,891,1290,1354,989,1316,1150,959,748,684,610,400,355,843,1606,2164,2228,1788,1384,1550,2082,1934,1642,1294,1446,1394,868,639,809,1010,967,926,1162,984,882,808,630,701,789,1076,1158,793,879,1482,1930,1754,1232,996,1118,570,717,945,662,711,838,899,1026,1234,1738,1396,778,537,556,521,656,917,1094,1028,734,789,767,772,875,686,998,1458,1098,985,1234,883,874,980,714,818,1190,1007,887,626,570,555,761,1394,1004,700,883,1212,982,387,360,369,489,689,818,935,745,612,1036,1128,850,683,760,908,743,724,946,963,578,590,560,558,449,319,281,307,397,588,630,650,799,1224,1304,756,1090,1052,987,1116,1428,1208,844,1009,1110,1268,1214,579,561,737,1042,1142,923,714,838,797,951,950,524,677,719,946,1684,1910,1874,1164,646,518,785,1268,1406,959,852,653,535,899,1240,1462,1630,1224,1114,1368,1686,1758,1808,1940,1772,1084,1060,1532,1440,1262,1354,1446,951,499,688,959,967,1020,1021,918,969,1528,2144,1928,1600,1424,1468,1088,1136,1126,896,990,1196,1222,1150,1026,605,622,943,1306,1396,965,564,802,1136,939,735,616,600,660,652,409,351,390,418,429,432,332,517,977,1236,1266,999,637,782,1023,1028,699,560,541,433,454,520,513,486,410,330,425,471,473,480,424,436,401,571,666,706,919,935,757,622,493,510,656,1234,1298,1222,1362,1048,977,1264,1354,835,540,591,673,625,517,452,458,558,1042,1328,1174,1260,1600,1354,924,896,1012,928,1064,865,899,954,1568,1628,1318,1118,760,492,654,912,1130,1366,1618,1700,1136,628,938,808,552,854,1102,1062,905,1070,865,646,919,924,1090,1742,1240,626,658,567,717,1376,1284,894,626,844,1138,957,1170,1172,689,555,566,828,1384,993,644,531,1088,1788,1802,1144,762,817,828,1400,1760,1394,1310,1344,1030,1070,857,434,526,652,687,558,796,1362,1606,1234,990,979,1080,1548,1804,1520,1158,1052,725,488,438,700,1088,1302,1310,829,458,397,483,726,1656,1574,1284,1182,980,1046,896,540,339,360,407,321,350,501,1054,800,386,514,762,918,698,474,442,562,1032,1001,678,747,603,574,789,962,1088,695,511,791,874,836,839,1286,1124,922,789,788,960,900,1264,1542,1050,985,1050,901,1332,1350,1098,612,403,340,394,482,517,744,1090,1204,1046,832,780,1326,1548,1084,954,1260,1158,1476,1384,1384,1514,1362,1354,1266,935,1256,1164,1046,1500,1368,1318,1460,1570,1704,1784,1322,1412,1478,1106,1184,1184,1228,931,1216,1526,1019,1182,1368,1188,1268,1188,1122,1470,807,573,745,661,795,1130,1470,1602,1492,1528,1266,1456,1416,1422,1388,1508,1522,1458,1390,1182,1282,1248,885,681,435,561,692,736,1058,779,1074,1078],[291,290,333,325,383,417,380,370,667,919,1148,1342,1400,1394,1296,1420,1180,1108,645,633,866,769,946,717,528,579,531,456,463,422,415,416,433,428,415,396,371,332,322,318,322,359,400,418,432,443,412,403,438,446,518,458,561,756,943,896,583,757,677,731,870,979,1150,1040,991,1009,1206,1224,1182,1344,1418,1490,1152,733,461,424,451,936,1078,1124,1226,1140,898,862,1260,1488,1302,854,953,1534,996,559,542,557,579,606,606,613,585,580,1006,1206,951,1114,1210,1092,1013,1134,1070,946,870,753,681,691,761,799,574,471,532,593,642,705,609,719,938,963,675,399,350,406,368,543,912,806,570,462,672,754,1236,1664,753,382,525,583,447,439,657,1190,1500,1400,1482,1480,1474,1470,1576,1872,1542,1194,896,674,1034,1432,1028,757,971,1438,1166,451,508,777,782,478,382,414,367,374,409,567,746,643,398,470,611,455,342,380,689,1310,1772,1378,952,1180,1024,726,694,650,702,885,757,415,454,447,413,545,673,657,570,494,473,412,473,594,761,763,648,664,450,360,587,1328,1434,663,525,635,604,576,359,365,426,619,675,755,1058,1394,1394,878,576,556,551,664,638,532,890,990,764,1122,1132,619,470,783,987,962,878,982,1116,1050,786,552,878,855,517,485,596,534,364,436,576,535,526,542,466,539,814,925,750,672,807,641,825,1146,619,486,577,1078,1046,1204,1466,1534,1440,1476,1354,1334,1558,1488,1300,814,571,1030,1068,1394,1138,727,1428,1618,1186,1100,1026,825,1094,1552,1102,996,696,617,757,978,1290,1462,1438,1038,488,372,453,828,847,880,1224,1124,796,820,1190,1170,968,827,697,396,429,422,363,431,425,481,485,469,483,471,443,375,464,528,432,637,655,443,424,418,429,670,1048,1210,908,702,1042,1015,1009,1404,1214,911,991,1184,1072,846,738,850,1426,1276,563,444,522,451,438,420,402,404,410,397,383,415,490,819,1406,1560,1216,1110,1034,812,1418,1742,1114,622,497,422,454,468,452,462,537,590,554,601,675,590,957,1512,1214,849,802,1324,2146,1864,1112,1158,1686,1738,1232,1140,943,630,788,1148,1448,1222,716,513,468,434,360,540,719,553,505,547,698,1032,1212,1220,1136,860,779,1017,979,803,681,1028,969,732,942,1410,1714,1384,767,531,395,377,431,415,412,480,512,454,593,823,733,525,612,731,664,675,600,496,537,573,395,547,652,629,717,738,1080,1248,717,401,545,839,729,788,713,504,315,653,1102,824,604,775,529,422,519,423,378,352,438,702,763,897,1288,1490,1172,744,770,919,801,1302,1590,1004,855,921,917,1050,1318,1076,586,459,477,593,554,1336,1930,1704,904,457,451,841,1268,860,537,805,777,680,450,399,435,865,910,1088,1278,1088,1026,892,950,1600,1802,1484,1538,1264,1244,1266,1198,1090,1086,1144,1172,1260,1154,909,1126,1202,1024,1434,1898,1636,913,513,365,530,657,653,672,634,785,835,444,619,1244,1428,1390,1196,811,732,1190,1170,987,773,1144,1094,731,791,869,859,830,977,1132,628,294,356,397,351,331,426,788,673,426,369,386,361,441,638,823,807,590,749,1064,865,704,1088,1248,1194,1106,752,469,595,891,1056,1060,767,372,371,633,856,705,922,808,710,648,520,571,441,397,576,565,807,1112,1086,764,833,682,447,959,1400,1134,760,404,569,726,735,932,1364,893,1001,1174,901,510,409,435,460,505,422,511,715,681,649,730,910,706,467,513,728,921,711,711,865,940,951,493,614,678,434,400,622,586,453,596,605,665,999,938,702,711,813,460,672,908,974,1118,1376,1262,948,716,450,480,540,573,741,904,1036,637,430,538,683,678,513,377,386,421,560,391,356,375,396,393,392,409,410,408,393,393,410,426,459,471,585,758,963,936,816,740,644,559,855,1032,518,822,1682,1242,1006,1768,1810,1032,973,960,567,597,928,1188,1274,1232,2018,2122,1952,1842,1568,1218,1280,1068,625,541,705,703,899,1216,1252,1054,966,837,939,1020,731,709,711,683,1048,914,587,645,634,496,478,416,428,457,485,472,488,462,376,374,407,414,460,437,337,292,368,349,341,403,662,939,846,591,391,351,307,291,370,309,334,333,291,279,284,294,290,255,260,342,323,300,340,379,316,319,520,550,706,1068,1016,929,1004,974,1172,1328,790,899,1194,791,501,455,623,765,895,995,847,968,1040,873,835,783,907,1013,1005,1058,1062,1140,1122,1168,1514,1152,1258,1104,1366,1924,2080,2034,1958,2196,2216,1716,1484,1498,1030,520,444,539,653,791,680,407,483,890,789,645,640,628,727,599,528,699,732,1802,1932,1019,614,659,662,713,576,407,357,349,518,504,601,1416,1516,980,980,1202,1388,1370,1256,1294,1340,1328,1310,1350,1298,1230,1448,1700,1462,1118,966,1206,1492,1362,991,827,661,982,1094,1066,1148,1264,1298,1158,957,731,631,611,589,659,825,1238,1676,1856,1522,1096,920,781,774,819,1076,1174,1440,2128,2248,2666,3816,4012,3806,2864,2082,1896,1770,1648,1744,1602,1216,1006,612,531,540,605,913,1676,2016,1628,1392,1348,1444,1568,1486,1196,1214,1360,1278,903,711,1034,1474,1720,1936,1898,1440,1608,1698,1410,1126,1354,1030,1003,1358,1420,1076,684,813,1034,1042,1228,1296,973,1290,1590,1772,1638,1438,1186,1144,1204,1166,1158,1382,1634,1674,1648,1660,1550,1376,1484,1326,1310,1194,908,1098,1132,1072,1140,1082,1170,988,1070,1108,1056,1162,1218,1312,1454,1482,1670,1650,1672,1332,1416,1252,1158,1236,1312,1318,1114,858,1090,1460,1450,1156,988,968,879,1032,1142,1094,1338,1346,1046,1084,1007,1148,1792,1882,1532,1056,701,608,824,1280,1466,1278,1440,1718,1594,1632,1628,1298,666,355,382,283,278,272,243,237,245,260,306,310,250,236,270,277,339,328,368,404,542,943,987,762,850,785,713,593,839,978,762,998,1052,948,611,750,1324,1382,906,619,680,845,1196,1368,1278,1072,948,849,695,766,1144,1005,412,845,1592,1742,1860,2200,2096,1484,1376,1606,1554,1282,1322,1458,1390,1214,746,893,1172,1012,1158,982,596,472,746,951,1204,1632,1500,782,591,610,891,1366,1154,700,584,646,704,1332,1264,1017,1548,1550,1416,899,649,631,860,912,612,520,555,619,701,1152,1388,915,856,859,886,650,660,735,881,954,1076,951,832,852,802,744,1052,1054,868,883,599,529,530,540,408,285,363,394,550,736,811,827,470,707,1398,1566,1262,653,453,613,693,755,775,724,743,789,850,925,1021,662,532,603,751,725,529,398,482,623,618,669,623,530,556,1042,1234,1674,1726,1550,1480,1664,1544,1078,1032,1180,1348,954,672,812,817,796,948,1054,1074,1296,1550,1670,1216,774,966,1152,1220,1434,1794,2086,1592,835,436,527,861,938,866,1168,849,530,764,1023,1208,1478,1896,1758,1354,1434,1702,1844,1840,1678,1462,1602,1294,1108,1182,1384,1554,1122,799,988,1062,1016,1148,1250,1204,1530,2218,2740,2038,1796,2256,1758,838,662,855,1244,1498,1556,1250,1186,1214,1252,1180,1196,1009,703,515,574,1080,1282,960,978,923,948,732,495,342,315,357,377,366,398,372,522,1048,1294,1240,1078,792,769,833,984,741,534,536,472,499,557,563,555,519,414,442,445,448,415,379,442,460,527,713,1070,1218,998,719,562,560,684,857,1013,1078,1320,1210,969,1134,1342,1150,697,656,496,432,460,492,524,448,731,1366,1462,948,1082,1578,1374,1154,1106,1328,1476,1214,800,650,750,1166,1322,1166,1134,1070,666,864,1266,1360,1512,1776,1842,1324,827,868,888,728,769,744,912,1142,1190,922,717,919,1001,1146,1518,1426,1058,951,850,706,1040,1274,1108,808,749,778,1114,1302,904,623,609,460,719,1296,1040,860,615,714,1470,1646,1434,1208,760,782,1506,1824,2166,1936,1184,757,651,718,554,684,1176,1202,879,1308,1582,1118,1230,1282,1072,1023,1708,2044,1620,1224,979,731,550,570,484,763,1250,1260,715,346,324,334,383,944,1022,1002,991,778,514,548,469,430,587,539,403,404,611,1124,952,604,505,444,762,915,810,531,481,623,985,1138,1170,1104,1274,1326,1009,845,636,741,695,513,518,585,912,1208,1168,1022,1042,871,959,1534,1616,1430,1178,1084,1016,992,1334,1168,700,452,523,766,745,602,636,907,1042,932,1432,1390,1294,1350,904,906,966,928,1172,873,664,985,1434,1244,961,1136,1138,960,1100,1616,1498,1404,1656,1484,1416,1386,1312,1566,1302,819,941,1644,1894,1204,1013,1068,1036,1210,1260,1224,1316,1390,1232,1172,724,554,631,760,774,834,1238,1354,1334,1080,1028,1246,1030,1322,1032,1080,1214,1328,1334,1090,897,862,1058,1324,814,562,666,1058,1192,760,932,1262],[340,412,476,472,463,404,433,436,709,1032,1268,1374,1476,1498,1120,1040,1130,1006,578,558,602,659,757,587,438,378,372,358,364,379,371,418,407,393,379,371,356,353,354,339,343,349,342,353,361,368,373,499,547,494,582,640,553,547,861,821,680,1226,866,960,1254,982,833,955,816,664,980,1220,1216,829,1068,1340,872,603,454,526,587,741,1118,1302,1382,1390,1372,1258,1234,1346,1344,1338,1578,1666,1046,658,650,673,822,966,985,966,728,678,1202,1284,1140,922,771,854,791,841,965,774,779,918,716,586,552,541,549,569,630,660,720,819,893,757,817,846,513,328,315,361,321,290,426,527,543,467,609,935,1244,1034,385,390,452,476,403,426,576,941,1164,1326,1404,1286,1338,1302,1426,1618,1212,922,561,493,1152,1266,708,697,1148,1538,1198,783,594,1118,1013,541,543,536,439,512,620,850,1236,1196,953,1168,1586,899,571,508,637,1024,1538,1538,1360,1290,927,836,767,558,742,1402,1001,424,444,436,381,435,488,522,570,648,661,636,716,908,653,482,562,641,468,307,522,1042,984,497,556,573,565,579,394,368,372,454,451,444,697,1100,1114,1040,848,588,523,482,419,736,1128,1136,1072,1202,1072,839,1028,1388,1564,1324,1176,1414,1290,901,667,886,1250,866,650,518,403,408,342,355,401,482,546,569,496,485,674,760,539,448,529,526,1096,1520,964,766,602,911,930,1098,1202,1290,1198,939,1190,1330,1466,1306,1460,1098,784,635,486,691,697,832,1326,1394,989,838,933,786,1010,1486,1260,1250,822,598,680,1003,1410,1498,1538,1158,680,659,739,811,834,1156,1194,1010,669,505,573,896,1128,643,456,385,441,438,391,373,404,495,474,425,371,352,401,389,516,503,401,413,473,434,426,466,452,644,926,1108,1078,1668,1488,831,633,1080,891,832,1298,1396,1032,931,919,1098,1342,803,510,492,557,441,424,455,427,427,438,384,359,382,441,485,590,802,925,975,1038,986,1196,1214,789,555,444,431,419,438,408,476,543,552,708,763,925,916,976,1034,835,854,1170,1590,2192,2066,1236,1272,1320,1692,1518,1088,850,745,841,1228,1366,954,648,626,498,408,301,441,556,553,611,654,557,705,1050,1204,1422,931,596,924,909,632,460,893,987,626,761,1400,1806,1514,771,501,395,389,404,386,336,357,446,483,538,624,644,699,641,647,740,775,650,436,471,634,519,565,724,606,514,617,971,1010,612,435,413,620,825,693,549,481,376,538,747,557,367,347,388,423,402,412,469,466,514,523,452,564,969,1352,1202,854,1072,1194,850,800,1028,1180,1338,1516,1288,1180,1048,830,660,630,575,764,544,1140,1680,1404,810,553,605,904,967,705,449,399,748,591,395,385,424,914,1318,1400,1296,1098,858,902,1202,916,1364,1432,1472,1574,1494,1328,1304,1360,1358,1108,1036,1368,1232,1040,1222,1346,1144,1842,2124,1510,776,388,383,318,421,666,764,582,364,688,753,1046,1534,1628,1360,1308,1140,830,1210,1130,1358,846,1214,1050,1001,1001,1020,824,704,1046,1023,500,377,426,462,430,336,340,839,797,691,524,385,439,466,584,738,1046,860,633,709,985,801,645,1036,1428,1394,939,539,419,484,680,935,985,538,392,781,865,608,475,616,825,673,495,565,496,481,603,595,705,829,828,713,568,575,706,852,826,713,758,354,305,366,326,692,821,502,600,837,613,317,293,291,483,578,466,678,744,698,679,800,808,594,557,777,885,1226,834,785,543,296,261,279,396,669,1114,1003,650,600,473,647,527,532,722,1072,1184,841,562,499,774,809,786,976,915,746,604,663,730,605,649,717,663,551,511,449,559,894,943,708,459,351,349,331,477,392,388,414,409,396,385,389,393,388,391,401,407,419,440,438,546,817,906,863,971,869,697,535,713,1058,644,680,1208,1044,850,1440,1654,1038,811,764,545,552,724,893,769,1172,1944,1960,1686,1578,1144,1058,1316,1001,645,583,676,769,923,948,944,987,918,983,887,593,612,639,467,683,888,491,642,807,764,664,523,408,433,482,524,559,488,362,344,372,393,374,404,402,361,291,323,359,376,408,725,1021,769,446,351,351,318,300,314,266,299,304,259,270,308,319,286,290,329,353,339,285,294,322,328,386,420,564,1110,1318,1100,1354,1232,1046,1190,1110,816,810,1048,951,656,545,612,712,726,826,741,745,659,640,504,372,518,876,1110,1280,1320,1208,1192,1284,1438,1026,1194,1160,1698,1892,1640,1584,1564,1536,1676,1692,1656,1542,880,651,694,828,1104,1174,819,463,641,929,693,651,612,644,597,521,588,841,1594,3544,3150,1296,693,631,794,1132,801,487,362,403,446,415,854,1444,1098,734,759,818,1052,1272,1288,1262,1418,1418,1346,1318,1184,1124,1350,1440,1230,816,669,1034,1156,1018,770,809,687,748,869,752,809,1076,1142,978,877,692,664,604,607,611,654,1222,1770,1868,1480,1300,1394,1252,1238,971,1180,1288,1282,1534,1554,1634,2460,3198,3116,2696,2136,1608,1546,1574,1606,1404,1172,1026,728,818,796,585,883,1492,1726,1446,1498,1312,1142,1542,1494,1222,1360,1200,1216,1914,1672,858,1076,1498,1720,1758,1282,1344,1646,1532,1270,1348,1426,1426,1360,1238,1048,1166,1450,1130,1040,937,1154,1344,1338,1174,1160,1400,1562,1336,1128,1220,925,619,1140,1580,1650,1488,1246,1480,1660,1508,1268,1212,1066,1120,1310,1190,1252,1378,1354,1236,1116,1196,1158,1162,1032,1032,1410,1526,1596,1716,1322,1322,1312,1482,1410,1248,1284,1316,1296,1140,927,1098,1224,1188,1346,1272,1018,1052,1020,1024,1222,1562,1570,1268,1002,1002,1292,1786,1702,1410,891,634,639,861,1196,1576,1752,1792,1434,888,1312,1616,1378,780,431,365,305,280,262,244,247,248,281,293,231,227,272,408,509,480,337,386,634,902,1026,886,686,929,1060,997,569,850,1222,1054,1274,1104,1032,966,791,1064,1294,1380,1044,851,1084,799,874,1104,1438,1526,1124,637,782,1490,1646,1236,1670,1972,1446,879,1372,2014,1970,1538,1396,1506,1496,1530,1556,1604,1330,825,777,907,963,908,616,494,557,858,1120,1428,1702,1328,908,1024,1188,1146,1098,977,1262,1092,759,1190,1262,1001,1140,1686,1458,1356,998,758,974,1650,1446,789,583,654,723,533,580,667,662,796,897,967,668,459,314,366,530,550,483,623,846,897,1180,1608,1021,893,943,639,509,523,532,486,555,550,446,529,879,1176,1470,737,808,1450,1492,1023,847,856,656,753,794,835,796,726,675,855,961,948,734,481,588,1001,1058,716,430,615,836,654,698,637,561,425,451,821,1410,1824,1552,1166,918,822,870,916,1021,1126,742,623,781,822,678,715,968,1344,1492,1506,1424,1166,940,1210,1302,1172,1007,1260,1572,1272,810,590,494,472,673,700,847,728,688,1300,1418,981,942,1482,1404,1216,1362,1798,1740,1782,1580,1378,1538,1224,1092,1144,1476,1598,1124,1130,1410,1388,1376,1176,1390,1414,1328,1956,2332,1738,1356,1402,1112,566,479,584,1120,1248,1266,939,712,1094,1386,1110,997,907,794,518,467,880,1036,1094,1068,905,878,696,417,306,296,312,317,314,372,445,491,977,1046,1214,1280,1030,770,719,861,707,522,521,551,536,571,546,526,539,409,353,408,474,424,428,552,645,800,1090,1300,1340,935,646,590,694,800,839,698,737,1076,1334,1472,1434,1260,953,606,550,527,514,470,593,730,583,807,1416,1360,898,780,1030,1140,931,796,1690,1750,863,757,893,760,796,1376,1074,1028,1198,1220,1220,1502,1700,1610,1484,1442,1474,1258,930,936,810,982,1172,1414,1462,1490,1296,1256,1328,1238,1256,1322,1544,1754,1224,954,1278,1192,1484,1070,929,1042,951,953,1028,766,1064,1206,565,447,655,702,886,935,981,1182,919,874,1236,940,648,755,1156,1764,1280,886,912,668,628,716,776,1036,1336,1074,815,1180,1032,1792,1688,1040,791,1290,1438,990,1048,1464,1454,750,664,574,818,1268,1262,585,359,409,343,303,422,617,709,708,808,606,498,416,655,1034,1142,810,538,573,772,769,532,549,549,543,613,851,797,645,484,505,682,995,1296,1504,1144,806,886,519,901,1130,530,369,608,857,932,777,720,821,940,1644,2232,2902,2098,1292,1134,940,991,1166,970,829,713,1028,1356,976,635,599,915,1128,1158,1360,1290,1216,1116,806,679,610,619,687,474,451,764,1122,1328,784,1046,1268,1138,1184,1310,1306,1216,1438,947,733,796,824,812,714,625,863,1422,1478,1062,659,690,890,1046,1206,1334,1352,1266,1294,1224,609,412,438,466,583,670,655,760,1001,706,607,637,1072,1466,1170,1034,1086,1238,1388,1240,1228,1166,1204,892,751,667,961,1460,1178,915,1007,1158],[569,760,933,789,501,409,412,481,833,1136,1262,1232,1262,1188,835,874,1326,962,463,489,481,453,455,397,361,327,327,343,335,335,383,387,405,383,346,350,350,353,347,332,329,337,356,351,323,327,317,385,368,357,423,430,427,382,441,445,504,848,803,678,669,521,617,888,711,635,1216,1354,1456,797,1314,1310,825,540,522,558,470,652,965,1036,1426,1578,1618,1428,1664,1500,1422,1826,1968,1548,1056,651,656,705,1038,1100,1042,1050,742,832,1114,1072,1332,1170,839,852,815,719,626,552,658,719,728,753,723,614,564,566,590,612,579,801,1216,827,767,1046,621,280,252,310,321,300,344,423,364,379,612,1134,1620,913,382,384,400,418,457,491,523,527,573,890,894,1098,1394,1302,1516,1478,1282,979,507,374,458,398,592,1078,1072,1416,1024,843,733,1340,1176,832,1120,1060,680,648,1008,1152,1644,1698,1754,1866,1976,1466,832,777,969,1078,1268,1148,1013,1134,1100,1186,1140,747,670,920,516,325,391,355,275,333,365,364,634,1162,1324,1296,1290,1346,741,451,488,596,575,300,357,417,428,460,487,489,507,442,405,380,314,378,503,467,569,841,979,1110,936,680,581,538,850,1470,1224,909,1126,1100,1126,1522,1350,1532,1964,1550,1196,1170,1428,1180,694,1330,1542,979,714,433,390,422,386,365,377,421,436,439,509,508,500,483,360,450,802,710,1050,1368,934,811,812,769,674,686,756,1140,1366,1190,1280,1246,1250,1424,1512,959,785,813,685,437,605,1378,1644,1142,666,632,727,540,759,1334,1616,1360,836,579,596,822,1086,1534,1646,1386,1444,1530,1250,782,824,1146,1072,571,469,406,459,890,1154,602,454,374,385,429,432,427,461,501,451,426,353,352,386,326,328,325,377,401,475,465,453,434,670,1148,1080,951,932,1276,869,761,573,520,579,742,923,939,741,998,1152,1092,824,694,550,427,490,390,390,488,435,376,386,368,361,389,514,560,560,639,613,592,688,754,959,1318,1510,1252,528,487,473,494,428,440,502,579,662,736,1098,1166,1078,1432,1286,929,1140,1204,1410,1436,1328,1410,1498,1900,1746,925,598,626,585,667,673,634,601,503,503,421,388,407,480,518,680,890,715,659,1138,1176,1230,936,809,822,763,730,544,741,1028,726,724,1292,1840,1650,769,430,398,381,393,410,362,320,394,424,450,447,538,709,489,388,562,604,531,479,490,488,397,612,909,721,625,524,693,698,493,437,406,484,459,393,416,459,440,427,439,454,412,440,431,400,406,464,537,560,587,567,420,434,625,915,1464,1346,1212,1116,785,770,1284,1368,1406,1560,1248,1082,719,706,660,829,690,660,525,1004,1356,1018,595,572,651,625,601,502,388,583,1050,753,579,473,478,918,1254,1152,1190,1372,1146,1306,1192,993,1130,838,1100,1612,1578,1528,1434,1406,1334,849,910,1208,1222,1144,1330,1180,1007,1356,1466,1230,773,509,728,684,872,761,792,915,737,835,1046,1406,1644,1584,1036,861,835,893,1264,1354,1384,785,1010,884,865,1088,1010,594,504,721,728,435,354,450,503,477,332,471,708,836,1216,1001,456,390,418,706,1112,1166,865,1072,753,701,1032,919,926,1394,1442,1156,879,613,412,505,485,634,604,545,648,756,551,556,574,620,491,668,566,384,513,681,708,774,1050,851,490,554,873,844,700,557,539,615,437,462,437,354,336,312,361,371,328,296,321,413,551,556,578,636,682,565,547,775,873,812,952,974,1052,802,943,698,579,404,472,622,507,528,1508,2306,1438,698,557,404,480,365,456,617,788,1030,1019,1106,1082,935,529,507,667,1044,1180,743,531,547,478,513,569,501,463,466,454,496,771,834,781,524,338,407,386,388,384,397,413,415,423,405,390,409,402,396,396,405,409,415,429,561,639,560,571,593,418,498,370,428,884,777,566,795,890,769,1038,1098,753,609,583,913,1140,763,906,832,1238,1714,1788,1568,1242,824,955,1380,1112,751,664,568,960,1164,840,685,1058,1012,844,705,695,779,767,756,1206,813,598,821,955,872,766,601,429,487,609,641,567,416,338,384,424,430,390,430,576,519,376,337,351,387,461,740,913,952,541,410,335,327,321,277,266,301,319,291,309,332,350,390,518,625,451,314,263,297,328,359,473,477,620,1354,1402,1284,1722,1534,1030,1248,1470,1654,1764,1672,1412,1374,1382,1310,1400,1378,1180,1104,1342,1232,1030,826,831,1220,1312,1174,1438,1156,922,979,1450,1420,1222,1252,1222,1696,1786,1292,1090,1138,1376,1410,1222,1406,1356,996,966,959,842,963,1176,1024,753,978,954,713,722,669,604,498,446,681,1156,2736,3730,1990,849,679,686,1294,1730,1302,699,383,404,452,561,1126,1588,1428,1450,1500,1450,1212,1142,1316,1290,1534,1514,1270,1134,1164,1228,1260,1216,1005,627,670,1086,1136,1044,722,835,819,714,774,677,726,890,874,705,806,716,670,624,628,639,948,1410,1724,1894,1528,1550,2264,2380,1700,1090,1072,1162,1160,1172,1258,1350,2294,3614,3632,2886,1642,1210,1432,1350,1296,1244,1356,1180,1472,2438,1878,613,731,955,1316,1542,1410,1262,1246,1664,1612,1490,1226,1092,1968,2360,1632,1126,909,1204,1576,1458,1220,1102,1450,1652,1344,1292,1490,1272,1106,1124,1104,1128,1426,1802,1484,1010,1110,1422,1400,1206,1254,1284,1480,1492,1230,1180,1021,930,1174,1410,1410,1196,1102,1178,1302,1648,1558,1300,1154,1390,1278,1564,1602,1552,1602,1368,1282,1286,1124,915,876,1220,1516,1434,1416,1304,1306,1294,1326,1560,1642,1370,1252,1246,936,863,1266,1310,1378,1234,1704,1926,1412,1180,1120,1108,1378,1598,1610,1638,1054,700,1070,1504,1604,1216,735,628,739,958,1262,1532,1472,1732,1648,1050,1180,1144,788,532,353,295,289,278,260,263,305,424,323,252,290,360,436,559,678,585,551,971,1302,910,386,446,615,832,915,735,532,597,677,769,948,1104,1274,1001,627,765,796,1090,1324,1192,919,623,664,893,1184,1760,2110,1646,1176,1720,2106,1544,1814,1882,1108,1134,1970,2286,2282,1824,1324,1482,1696,1372,1120,908,609,730,946,1332,1320,821,735,778,819,1386,1270,946,946,861,976,1322,1146,987,1286,1352,1360,1324,1270,965,728,1342,1050,1019,1076,924,1052,1082,1246,1570,1356,804,539,672,879,759,533,818,1013,931,1096,1004,660,645,605,418,572,591,347,452,604,719,1148,1470,1088,882,687,388,402,493,545,528,851,813,621,667,775,1040,1094,660,914,1262,1266,1302,1282,1068,915,1016,1023,889,720,630,655,835,926,758,644,795,891,927,886,514,592,902,805,761,1158,1330,918,505,498,535,616,726,829,1054,755,461,695,956,1184,959,675,669,671,825,789,928,1080,948,976,1256,1156,1092,1086,1376,1438,1040,901,1312,1382,1094,1068,1360,737,387,415,333,452,420,654,1246,1618,1426,1056,1172,1050,1272,1732,2324,1812,1440,1476,1400,1606,1672,1348,1116,1172,1270,1038,1354,1520,1562,1584,1146,1126,922,896,1456,1756,1606,1456,933,519,698,987,706,1018,1050,1344,1268,985,1134,918,582,750,1180,1462,1110,494,630,755,938,854,919,1262,1216,674,352,303,276,309,314,280,349,426,864,1190,1440,1210,874,772,689,711,688,541,501,539,539,543,522,503,498,448,373,357,482,569,552,730,883,882,1036,949,999,744,562,797,977,919,774,735,752,940,1216,1288,967,613,367,330,510,626,697,887,1028,971,608,784,1164,807,919,965,987,1202,998,908,1366,1046,777,1228,1300,1074,706,1208,954,1011,1256,1358,1506,1892,1676,1240,1228,1324,1476,1524,1294,1496,1564,1470,1154,900,1260,1566,1238,1072,1224,1138,1166,1378,1410,1700,1394,1020,1064,814,658,907,1150,961,1202,858,819,795,747,1082,819,719,837,1028,1064,1238,1432,1272,979,790,886,779,604,691,1114,1334,1018,879,853,749,559,641,851,944,966,1126,1068,988,987,1572,1960,1926,1396,1028,694,637,1028,1416,1658,1384,879,736,978,1516,1218,529,448,428,242,348,458,510,446,365,523,730,684,464,476,941,1216,1064,725,580,764,879,751,752,920,603,552,603,720,849,814,600,577,644,937,1450,1066,939,916,550,668,580,396,436,878,1072,781,767,671,660,1098,1602,2336,2300,1160,740,872,951,1382,1506,1236,1120,1112,965,825,694,568,454,811,1042,990,926,1226,1276,881,708,647,805,933,838,813,739,865,1282,1206,745,1042,1306,1158,1038,1060,1222,946,839,472,455,529,647,745,766,922,1084,1274,1566,1266,515,648,1278,1534,1770,1682,1108,898,1232,1030,381,239,221,269,411,628,537,595,893,1072,916,772,1316,1528,1184,1060,1214,1346,1416,1338,1782,1344,1152,891,932,1076,1332,1406,1252,1148,1058,919],[1030,1614,1526,954,537,476,410,504,970,1260,1532,1428,1180,1005,904,792,853,695,476,467,469,518,450,363,364,343,329,314,301,291,305,332,364,358,340,344,342,340,340,343,349,379,396,391,355,331,341,326,305,332,332,336,342,346,412,378,487,838,810,557,471,482,515,777,773,735,1112,1404,1368,879,1404,1234,648,479,475,683,942,1032,1314,991,1244,1432,1168,1654,2016,1704,1560,2132,2348,1474,1148,1384,1664,1570,1738,1876,1600,1628,963,617,949,1242,1300,1300,1252,1212,781,622,575,568,661,650,577,761,822,669,560,532,553,541,605,724,861,539,770,1202,740,345,288,285,290,279,307,368,330,396,620,1202,1294,578,345,397,420,576,592,506,985,886,655,1007,954,933,1094,1188,1520,1368,1246,1108,579,423,545,514,611,948,926,1234,1007,678,631,941,907,922,1172,1316,954,549,987,1214,1912,1880,1872,1864,1746,1310,715,767,1134,1292,987,569,506,623,931,1244,1436,933,539,444,319,331,393,391,329,411,403,369,727,1624,1856,1408,1046,914,628,444,453,577,730,371,315,423,616,628,501,387,396,383,418,408,359,520,922,664,619,553,590,658,1064,1038,825,723,1003,1176,958,1156,1484,1406,1692,1802,1074,1312,1454,1188,1090,1160,1512,1188,1026,1948,1854,1536,670,382,391,438,459,460,433,400,403,423,419,480,502,392,491,916,1046,705,618,659,729,767,727,699,662,529,673,750,1162,722,918,971,998,1422,1212,623,599,620,638,630,1074,1388,1250,852,517,407,372,462,647,995,1330,1288,981,624,570,739,1196,1516,1414,1274,1186,1066,725,471,462,778,1078,536,514,391,445,839,1078,661,459,471,437,472,515,553,497,456,440,436,371,337,362,399,392,377,390,377,375,440,497,399,653,902,722,443,448,849,847,790,751,607,1130,1554,1150,1062,966,954,1204,985,1274,1770,905,399,422,403,459,512,413,377,359,330,341,350,453,472,560,594,510,481,543,788,1148,1230,968,744,477,485,528,548,513,525,546,604,600,717,1092,1058,936,1320,1362,951,1224,1456,1094,1046,1150,1186,1336,1604,1318,644,620,709,583,536,483,480,468,571,666,638,547,485,444,426,511,673,761,656,1232,1478,1526,1332,1100,983,940,917,802,1014,832,905,740,1098,1706,1692,877,410,387,397,395,476,520,463,457,385,325,345,411,507,430,379,412,506,629,735,835,868,1005,1146,796,650,673,501,624,572,471,475,529,517,395,367,352,351,350,395,430,402,395,422,399,392,416,425,437,443,465,477,402,388,597,713,1272,1548,1388,1370,1294,1132,1186,1138,1064,1202,1328,1198,789,910,1292,1196,729,632,642,516,759,881,711,775,619,572,525,380,495,893,873,605,519,399,514,1028,1310,1258,1034,1428,1350,1030,1026,1248,1088,819,1208,1554,1528,1584,1484,1350,1134,694,888,1090,1042,1384,1610,1272,1220,1418,1256,1264,1038,910,1154,1020,1162,1094,991,968,883,1014,1466,1646,1498,1332,1010,880,1001,1222,1378,1326,1342,1118,1066,989,1094,1368,1056,420,488,396,321,587,501,409,454,454,312,404,612,924,1276,800,487,359,372,401,612,666,1060,1658,1072,443,660,969,1005,754,621,930,903,752,465,466,475,525,736,800,937,794,465,605,943,906,571,832,821,433,641,962,905,848,793,597,813,859,767,601,706,574,487,786,1018,847,549,436,349,347,386,521,572,514,657,776,742,526,733,1066,1030,940,1302,1782,1220,539,654,705,649,424,321,516,582,532,870,1200,972,508,980,1278,704,503,382,430,670,752,880,1088,1016,615,573,896,1136,1216,876,599,857,1362,1344,1210,1050,668,764,1009,725,826,989,786,710,678,680,814,846,602,446,390,417,465,379,401,438,438,435,449,434,421,409,403,404,404,417,424,423,443,461,450,508,724,698,623,651,526,755,838,637,697,803,838,879,1001,1064,771,477,734,1154,996,733,775,1310,1584,1480,1220,889,808,1072,1422,1430,1068,965,697,981,1050,678,863,1206,1046,757,778,1106,980,906,1216,1050,786,617,669,877,707,475,549,619,655,635,498,388,397,354,367,422,453,425,540,692,643,505,344,349,373,421,624,607,854,604,384,346,353,343,340,345,297,328,298,324,335,332,390,484,537,461,337,324,393,330,387,596,502,742,1356,1284,1052,1350,1007,626,998,1322,1666,1872,1802,1828,2224,2040,1974,1636,1300,1456,1858,1690,1276,1240,1110,1130,1328,1340,1444,1710,1444,1194,1324,1570,1312,1262,1162,1092,1576,1488,1328,1388,1430,1940,1512,1462,1578,1318,1068,1180,1246,688,433,558,518,765,1060,839,776,705,572,498,472,435,775,1228,2270,2932,3016,1874,873,691,1162,1816,1684,993,461,373,484,811,1408,1556,1508,1808,1892,1686,1416,1362,1722,1772,1700,1622,1278,1144,1310,1202,1238,1198,860,573,802,1162,1260,976,632,744,727,735,783,755,851,894,904,809,818,756,731,624,546,651,1040,1360,1556,1482,1176,1794,2374,2332,1676,1282,1330,1320,1262,1230,1250,1286,1700,2596,2442,1964,1440,1432,1800,1770,1854,2084,2082,1414,1344,2340,2574,1016,697,746,1124,1722,1902,1984,1894,1648,1584,1622,1616,2386,2980,2176,1716,1358,1058,908,1188,1366,1526,1456,1286,1188,1372,1268,1110,974,1130,1340,1246,1260,1616,2674,2072,1194,1011,1334,1560,1056,850,1023,1252,1450,1434,1248,1122,1278,1506,1428,1328,1460,1448,1220,1058,1068,907,1390,1490,1426,1356,1410,1460,1456,1498,1628,1238,1220,1076,930,1102,1238,1238,1272,1208,1266,1386,1282,1444,1602,1456,1146,1164,1126,569,515,913,1214,1152,980,1200,1346,1404,1266,919,859,1166,904,1012,1490,1112,1038,1290,1232,1098,830,635,675,787,1032,1168,1038,1044,1606,1804,1554,1406,845,482,500,419,291,274,242,229,210,239,401,370,470,756,637,448,554,536,450,551,1184,1490,745,537,616,903,1084,708,360,348,592,841,751,772,1005,1236,752,492,621,851,1328,1426,996,1062,1218,861,892,935,1344,2008,2344,1898,2060,2054,1614,1450,1558,1582,2050,2334,2222,1824,1272,813,991,1394,1044,552,406,391,606,831,1144,1202,1005,1112,1146,1256,1544,1164,645,462,559,739,805,551,611,1074,1182,1018,1222,1042,549,658,1616,1478,1776,1694,1316,1228,1102,1021,1044,995,838,740,714,618,536,443,755,1060,1074,985,818,942,1186,1206,811,795,818,590,593,635,722,714,800,675,558,507,409,321,355,475,548,854,969,650,514,547,721,832,1026,1118,1370,1684,1740,1312,771,741,1052,1176,912,512,412,542,579,603,479,426,672,1002,831,719,735,804,787,616,650,967,1250,1148,678,433,543,675,771,1046,1566,1084,462,634,1086,1312,1138,918,778,670,665,816,1013,982,574,788,1274,1044,925,1098,1370,1566,1468,1446,1468,993,834,1198,1278,624,393,372,406,445,379,599,1100,1358,1344,1136,839,964,1214,1600,1756,949,900,1576,1688,1638,1498,1298,995,1036,1258,1286,1472,1294,1486,1398,985,670,560,735,1132,1372,1842,2126,882,624,839,839,722,885,1158,1358,1216,1056,1170,1134,1078,968,1194,1632,1562,1102,924,644,534,681,819,973,1176,708,336,302,270,276,274,255,277,278,518,868,847,491,448,744,659,630,637,459,427,497,530,499,500,517,495,464,400,300,361,529,620,1078,1128,931,818,708,683,851,1378,1604,1382,964,900,1098,700,572,744,673,589,494,370,318,473,656,802,1023,693,449,361,537,859,1046,1096,711,815,1230,1102,1152,1236,1092,1384,1362,1122,1044,992,1052,1044,1092,1318,1404,1294,1278,1318,1240,1428,1526,1230,1390,1180,816,1023,1170,864,701,962,1298,1232,1154,1500,1005,1092,1354,1228,1158,1174,1110,752,683,695,915,1052,920,1152,797,753,918,1054,841,1048,1346,1324,1538,1494,1246,964,871,1222,1090,1028,1038,1168,1132,1154,1236,1124,986,937,820,930,1020,859,884,816,796,693,526,546,695,922,1332,1542,1050,731,953,1166,979,871,1324,1138,558,560,1138,1234,851,547,413,232,247,278,343,325,307,354,532,704,645,503,763,920,840,674,590,725,1208,1562,1252,1202,1030,1004,849,564,687,1007,1176,1346,1124,664,943,1032,902,741,825,675,532,553,515,530,553,497,833,818,623,565,494,1020,985,771,534,544,976,1338,1308,1306,1246,1138,612,527,504,651,597,749,802,778,1120,1332,927,656,680,651,1332,1490,1228,1102,872,832,940,771,518,794,1282,1144,969,1444,1400,1096,869,759,867,801,1084,1070,838,1188,1400,1654,1646,1322,690,701,1108,1310,1370,1260,751,483,695,766,415,352,287,317,379,601,1160,814,855,1276,1210,1138,1056,1094,1258,1194,1354,1504,1376,1772,1816,1304,990,895,1220,1346,1088,1052,1328,1166,1086,798],[1490,2198,1770,1009,650,487,519,666,1108,1712,1552,1122,998,904,768,536,461,448,484,455,534,678,523,344,338,329,313,311,313,323,331,331,336,343,340,343,361,380,366,367,379,381,362,369,372,323,316,352,390,415,432,408,435,454,474,496,529,559,572,473,428,504,464,658,969,762,801,1432,1208,976,1462,1166,693,603,570,1044,1384,1282,1484,864,664,767,1220,1944,1848,1660,1600,2068,2288,1606,1122,1294,1368,1730,1810,1528,1166,1026,618,450,834,1434,1550,1244,1296,1122,642,646,939,789,639,656,596,541,653,745,655,580,592,547,533,553,870,698,788,1022,694,367,307,286,251,276,335,450,351,390,724,1626,1406,532,425,595,689,913,887,982,1748,1332,1104,1544,1342,1168,1238,1246,1240,1324,1282,1150,747,592,588,722,923,1110,988,917,775,584,651,661,775,974,883,883,597,570,829,756,1334,1902,1778,1184,880,550,408,556,885,1106,680,451,453,471,678,1052,1408,1011,502,290,285,310,333,357,338,402,429,426,1074,1666,1284,753,811,891,644,466,469,466,684,541,344,431,557,593,556,519,507,458,426,399,495,692,1034,774,668,516,467,680,993,1238,1216,950,853,1007,1250,1344,1534,1460,1970,1758,1234,1176,1240,1212,953,950,1446,1648,1812,2436,2120,1432,592,375,392,465,476,441,419,423,515,584,380,402,606,617,524,545,492,447,472,529,572,574,616,654,982,879,921,664,1082,1082,1012,923,962,1268,1172,589,503,624,708,948,1350,1220,1186,874,579,495,425,479,574,861,1244,1106,876,564,489,502,840,1116,1021,902,884,695,540,383,403,732,1005,671,739,591,694,1158,1284,811,686,792,702,625,500,705,553,402,387,415,392,344,348,399,353,289,301,317,363,415,406,352,417,430,509,531,403,714,1086,1228,1034,874,1476,1788,1108,895,1044,1634,1324,913,1994,1804,716,555,415,502,472,461,473,421,366,354,333,309,340,475,607,545,450,482,532,569,531,698,695,665,567,488,466,489,517,622,650,659,648,700,822,711,590,617,559,514,810,906,617,477,555,714,876,1116,890,762,533,579,601,639,538,387,379,678,1210,1516,1122,963,795,785,789,713,707,743,1316,1374,1226,1200,1114,1164,1206,1246,1224,1322,735,809,662,898,1542,1738,1104,535,465,454,476,497,540,627,512,387,359,372,386,423,463,469,594,736,689,880,1106,1150,1160,1228,977,780,637,729,868,708,585,551,550,628,507,411,372,328,378,428,492,446,353,332,329,301,280,299,291,315,392,382,407,403,465,533,1016,1454,1580,1452,1208,1019,1128,1078,975,1284,1556,1052,1015,1506,1598,1248,948,1002,874,679,890,1008,830,743,462,465,413,338,680,996,752,435,354,355,565,762,814,1016,871,1152,978,742,1062,1200,1018,1066,1326,1598,1758,1676,1526,1190,1038,1082,1428,1488,1234,1346,1368,1406,1448,1248,1274,1476,1120,929,1250,1174,1224,1034,814,988,976,872,1468,1484,1360,1182,1426,1514,1472,1578,1784,1798,1758,1568,1186,689,765,977,708,407,417,307,422,978,976,597,536,536,291,298,435,724,1036,947,700,406,312,239,240,471,1198,1428,568,321,449,628,1052,815,633,778,733,722,713,687,579,618,1078,1160,1122,719,577,784,1042,721,586,804,675,360,628,1194,1072,543,615,592,1050,1036,897,661,1028,1009,846,1214,1478,1286,978,521,383,444,463,454,411,407,583,555,513,566,926,1418,1332,1082,1196,1284,727,430,530,717,666,498,495,685,622,714,1232,1388,1146,513,398,466,437,399,478,843,1126,1130,1150,1156,1082,755,459,769,1080,1124,957,1009,1154,1064,1020,1116,1084,944,1262,1654,1174,1154,1274,1023,783,710,795,977,1070,996,780,458,600,888,607,455,486,501,454,483,453,408,394,392,397,407,416,442,436,422,441,849,1028,1360,1384,1072,861,702,893,948,583,507,572,680,861,820,761,622,515,589,926,985,752,904,1352,1288,1166,896,1017,1306,1174,1172,1406,1376,1028,785,916,708,611,1068,1008,1136,1028,908,1228,1204,822,865,941,872,645,689,980,738,378,427,775,753,456,261,313,403,408,426,447,513,510,597,663,651,601,418,376,376,359,563,617,735,608,373,344,311,313,351,364,346,378,345,361,373,361,405,438,422,425,368,384,478,318,407,509,429,1262,1496,1292,966,959,999,1054,1194,1188,1404,1396,1438,1902,2414,2466,1914,1400,1704,2600,2756,1900,1510,1664,1350,1480,1520,1144,694,1012,1534,1108,960,1372,1264,1370,1438,1356,1378,1322,1440,1342,1692,2208,1682,1576,1492,1356,1224,1007,724,796,936,797,519,953,836,766,731,599,487,472,398,579,973,1084,1440,2240,3684,3752,2364,1274,1548,1998,1908,1444,797,473,455,896,1552,1372,1466,1562,1500,1560,1416,1514,1738,1660,1858,1944,1368,1554,2230,1634,1544,1416,1021,662,810,1194,1318,926,658,701,546,643,678,655,789,883,883,873,817,755,750,646,525,704,1296,1554,1810,1692,1218,2068,2596,2472,1772,1352,1538,1506,1166,1258,1296,1288,1302,1328,1298,1672,1498,1520,1916,1976,1606,1534,1798,1282,1044,1722,2810,1646,726,658,907,1804,2406,2204,1772,1902,2214,2062,1888,2576,2170,1596,1508,1910,1434,821,1076,1782,1910,1830,1638,1272,1696,1716,1294,1294,1450,1294,1118,1406,1620,1714,1624,1322,1024,989,1104,1124,938,1108,1152,1306,1516,1284,1096,1372,1372,1206,1398,1510,1114,936,928,862,932,1002,1410,1582,1634,1668,1604,1510,2148,2862,1186,1212,1102,1010,1212,1056,932,1162,1306,1562,1442,1082,1182,1344,1342,1164,1330,1086,703,632,580,757,938,1072,993,741,843,866,711,626,954,704,1052,1136,1122,1214,1380,1374,1146,1172,867,722,820,1202,1334,1324,1428,1516,1636,1516,1212,729,512,785,825,359,269,220,191,178,209,249,381,657,1052,912,536,330,344,358,368,797,1142,984,974,956,1188,1332,972,592,508,962,1106,1028,767,990,1334,953,690,936,1228,1318,1254,1080,1306,1252,697,727,872,956,1446,1750,1876,1958,1776,1754,1620,1484,1740,1870,1652,1476,1256,1350,890,818,1356,1320,816,433,415,616,836,892,955,1250,1046,1288,1382,921,630,705,522,400,398,399,591,659,706,863,1156,1015,880,785,830,1028,1044,1068,1003,1021,1034,1108,888,777,789,553,484,426,380,339,346,462,661,949,1007,978,1130,1138,971,698,615,645,700,619,672,838,841,1076,1184,572,376,372,313,301,304,349,477,753,1162,1180,667,419,501,926,1322,1458,1540,1114,560,343,463,929,1278,1122,699,466,391,408,458,662,477,357,426,442,684,867,700,581,576,526,470,553,382,502,497,692,926,849,891,1314,991,617,762,813,854,1134,1021,598,699,535,827,865,625,531,743,929,982,1136,918,962,1306,1602,1120,877,788,758,805,604,494,458,379,410,457,679,966,1262,1282,1192,1000,1284,1570,1192,1288,1510,1110,1184,1688,1896,1632,1446,1286,1118,1023,1001,1001,1090,1062,1266,1252,985,996,933,678,1015,1292,1346,1172,774,808,683,495,514,755,961,933,844,963,1216,1362,1212,943,923,1166,1130,1028,824,715,741,862,1000,913,1096,649,409,288,289,336,336,267,257,300,358,430,398,321,366,678,606,532,517,462,444,485,498,491,493,495,461,474,482,410,398,569,1030,1244,1352,1424,944,681,748,1188,1522,1534,1878,1378,1134,996,749,633,469,372,475,529,468,353,368,466,533,680,550,419,449,482,584,918,924,632,784,1022,999,1252,1360,1422,1346,688,766,1366,1388,1190,1158,959,1030,1198,1198,1506,1656,1142,1120,1282,1038,1104,1178,903,918,1136,869,747,828,1208,1620,1562,1590,1208,1184,1202,875,736,1114,1182,769,850,767,850,839,1036,849,645,672,859,814,720,1588,1926,1594,1538,1198,742,431,382,791,1364,1322,1198,1076,743,974,1194,1160,1252,954,965,1246,1366,1062,705,581,780,974,868,814,706,534,957,1062,658,698,753,973,919,871,766,573,550,971,1360,961,1004,653,421,334,306,378,445,334,339,444,402,626,910,803,692,629,556,576,518,603,982,963,891,1184,1202,1182,913,692,770,899,977,1466,1268,686,554,793,866,756,752,640,550,520,466,308,292,306,393,718,732,468,490,629,540,423,641,723,612,825,1164,1134,1376,975,565,619,713,667,698,930,1058,1160,1190,906,695,821,962,926,999,1114,1266,1030,666,545,744,789,680,823,1132,1316,1604,1614,1084,940,993,1272,1332,1156,1572,1574,1474,1856,1704,2156,2200,1822,931,692,767,656,894,1074,601,518,558,417,405,383,343,343,356,569,979,669,730,946,807,669,672,1012,1362,1250,1440,1526,1002,882,907,1232,1326,935,1194,1420,1214,1116,1296,1406,1058,979],[1322,1204,907,751,577,456,428,825,1020,1378,1284,923,732,661,565,442,489,499,432,485,590,700,526,351,343,325,329,353,363,366,373,387,391,363,347,357,348,361,344,329,361,379,393,400,371,324,311,451,533,484,434,412,426,459,481,617,794,645,378,325,388,425,423,650,946,846,960,1396,1214,1188,1462,891,1086,1194,603,857,1270,1694,1644,918,555,482,797,1198,1384,1562,1402,1790,1884,1578,1350,1582,1614,1414,1042,856,1050,848,654,667,1278,1616,1692,1368,1314,836,644,747,1028,1204,967,835,993,1009,1466,1216,1011,741,543,490,424,427,824,782,624,679,806,869,664,548,371,311,442,518,420,456,624,730,517,367,576,1200,1226,780,938,1366,1644,1104,1502,1880,1294,1266,1814,1614,975,1072,1338,1136,1334,1600,1266,938,1158,1260,892,821,916,1042,995,681,675,1084,1048,809,605,977,1356,1376,1334,1374,1364,962,634,436,715,561,503,546,447,395,396,620,952,1108,995,719,565,290,324,404,797,923,489,379,445,381,630,775,456,342,527,508,451,423,437,398,569,645,477,653,755,601,601,606,535,553,558,580,574,500,699,1184,1144,624,451,466,576,854,1005,1128,859,694,919,1010,1194,1230,1438,1432,1148,878,858,755,614,617,834,1104,1618,1890,1844,1032,481,434,462,472,466,421,442,473,561,575,461,449,518,500,422,413,434,497,509,458,575,677,946,832,1172,1156,850,643,988,1348,1194,962,926,821,750,554,602,759,921,1470,1328,1090,1228,996,636,490,384,416,469,599,634,489,468,407,400,374,697,1110,847,683,908,788,610,512,558,890,1040,1096,1284,825,710,1176,1250,1152,1290,883,1144,1136,1226,1326,777,456,359,307,297,323,366,410,491,362,313,324,373,408,353,391,389,460,637,542,501,963,1456,1438,1164,1015,1120,867,581,527,756,1220,1034,1446,1990,1042,739,648,602,665,877,600,442,374,360,386,374,370,446,583,517,520,461,472,619,593,725,776,660,570,566,550,477,429,487,647,621,611,641,686,640,595,529,578,566,449,458,505,513,457,489,549,731,735,823,919,500,502,578,642,555,393,676,1232,1306,1426,986,1118,1124,904,797,694,719,836,1196,1328,1278,1062,1042,1130,1154,1100,1262,1184,891,837,644,900,1422,1644,1332,703,502,394,419,495,484,558,539,437,380,404,485,673,750,589,838,1016,890,1046,800,816,1106,1174,1102,977,916,1150,1134,903,990,974,750,634,536,500,455,455,473,470,484,430,335,262,243,270,284,277,251,250,332,396,429,377,587,1098,1350,1562,1730,1414,1186,1244,1278,1234,1142,919,802,602,778,1128,1356,1614,1550,1170,1108,757,673,852,1134,886,447,341,384,346,482,692,815,676,422,476,901,980,912,784,749,1042,907,814,1244,1326,750,769,918,1294,1570,1636,1626,1322,1064,1030,1066,1230,1196,1268,1140,1482,1096,641,1008,1258,1016,973,1194,1268,1300,1174,1216,1332,1236,1032,1160,1048,1372,1522,1702,1876,1822,1950,1970,1774,1814,1512,1102,818,616,498,391,515,568,378,508,1266,1510,855,807,752,415,403,433,500,779,1184,1058,556,330,268,257,328,583,713,290,302,441,474,759,1008,775,844,864,650,639,559,454,687,1340,1670,1498,869,868,871,724,437,401,517,586,532,490,558,494,506,663,435,545,482,558,675,1094,1104,750,830,1518,1994,1388,430,537,654,510,744,758,575,575,558,480,548,899,1246,808,559,538,613,630,640,912,1034,1086,1078,841,933,728,534,786,1072,797,499,479,572,886,1030,993,927,861,908,1002,1204,1654,1210,848,1338,1744,1312,1044,1062,1112,1262,1350,1334,1214,913,986,1198,1360,1262,1412,1272,1128,779,624,901,1124,1100,868,692,677,730,507,435,489,489,464,439,413,408,410,422,427,414,416,451,443,450,433,850,1168,1494,1292,790,515,376,578,875,556,339,390,504,912,1122,846,606,541,635,808,693,585,888,1340,1138,1002,914,1060,1152,918,973,1088,1252,1164,796,719,562,865,1060,856,1168,1082,1054,1136,1244,799,701,869,743,466,540,861,609,425,454,865,689,429,314,313,367,469,440,360,489,576,658,711,774,717,512,418,406,402,601,655,637,587,434,360,361,383,372,358,369,403,374,356,365,399,408,398,426,492,418,379,299,264,548,529,686,1656,1566,1160,1100,1144,1338,1340,1318,1458,1250,1230,1394,1954,2376,2510,1770,1234,1644,1760,1836,1502,1368,1550,1496,1378,1058,907,781,789,1092,785,889,1418,1398,1436,1230,1160,1104,1252,1152,1158,1572,1732,1610,1464,1318,1274,1102,1044,912,1202,1226,742,656,817,744,729,621,517,487,472,426,792,1210,1382,1326,1196,1836,3112,2888,2000,1998,2042,2010,1820,1132,610,591,1136,1476,1266,1628,1724,1482,1392,1374,1508,1316,1188,1670,1704,1506,1702,2156,1736,1976,1734,1280,1154,938,984,1130,760,530,651,648,749,688,630,945,1058,932,891,885,794,814,666,588,850,1460,1786,2154,1934,1578,2218,2596,2374,1888,1416,1282,1448,1360,1328,1052,1124,1384,1586,1560,1776,1572,1486,1772,1470,1020,1072,1648,1232,716,991,2344,2380,1200,589,694,1294,1984,1920,2366,2784,2402,1772,1546,1702,1794,1748,1554,1268,1220,1412,1952,2490,2278,1892,2116,1824,2318,2170,1606,1330,1210,1220,1428,1760,1500,1452,1936,1544,1156,1052,929,1230,1248,824,791,1268,1568,1360,1172,1354,939,922,1040,1164,835,706,810,1070,1106,999,1140,1084,1036,1562,1578,1612,2318,1954,966,1148,1106,1094,1214,1064,1094,1098,1230,1396,1128,1066,1096,1324,1444,1284,1174,901,860,1026,1074,1196,1294,1308,1204,951,645,535,616,806,858,762,1030,1086,1250,1294,1338,1582,1500,1306,1156,1152,1132,1416,1640,1490,1390,1370,1272,1310,1340,868,551,1042,1378,654,290,232,211,222,315,553,578,427,576,611,556,435,527,494,506,781,1068,1252,1322,998,606,750,916,889,894,1192,982,961,848,682,959,1088,1076,1238,1458,1684,1246,943,918,676,385,587,888,985,1176,1070,1248,1506,1636,1720,1784,1678,1466,1222,1448,1296,1404,1338,725,818,1122,1406,1272,561,380,673,1068,1422,1660,1628,1426,1226,876,566,625,728,537,477,328,457,614,678,801,670,825,870,788,698,912,1144,1021,803,554,494,459,597,644,822,752,882,1210,970,588,368,325,303,365,553,737,742,392,528,510,603,755,747,775,816,979,1266,1180,1784,2146,1011,491,465,382,363,345,332,395,686,1294,1410,1088,514,610,950,1554,1476,1056,735,607,387,321,511,675,504,418,596,445,427,689,1028,559,305,299,236,358,496,487,497,608,503,453,398,349,601,885,1122,1348,914,541,631,671,949,724,527,653,1013,1050,750,1010,964,786,587,477,526,667,640,838,1126,920,652,1102,1244,573,540,995,955,486,342,413,379,360,371,428,996,1412,763,955,1212,1334,1562,1388,1134,1214,1366,1266,1260,1328,2024,1964,1724,1588,1448,1314,1246,1082,1080,1212,1124,767,1022,1594,1570,851,778,1018,896,962,913,729,785,695,511,818,1003,1026,706,1021,1186,906,661,712,818,920,1034,953,1042,1190,821,714,804,489,470,413,409,427,509,554,409,290,259,306,378,430,429,421,360,629,594,455,449,475,499,492,477,459,450,460,460,490,491,474,456,579,1038,1254,1522,1246,835,822,827,1186,1336,1442,1874,1554,927,658,678,856,878,542,350,440,563,494,404,415,376,430,516,587,654,683,1028,1396,1236,916,925,1144,1360,1488,1426,1290,1024,640,1138,1836,1578,1282,1172,992,887,750,684,865,897,537,639,811,894,1158,1404,1318,1198,943,750,1166,852,1056,1490,1368,1380,1418,1402,1038,689,641,651,796,760,837,720,783,800,883,630,428,574,817,920,1648,2354,1676,1038,916,664,495,438,447,989,1620,1282,791,714,813,1332,1232,1208,1124,979,1018,1164,1794,2024,1274,601,608,770,1072,1476,1050,850,1206,638,456,633,582,552,1286,1622,991,568,544,1130,1716,1756,1362,743,434,339,363,743,808,396,413,492,371,572,781,695,750,459,455,503,387,448,623,525,814,1212,785,833,1128,1124,954,988,1158,1004,657,530,510,629,769,910,866,748,849,844,386,313,388,362,402,587,596,600,898,1140,747,395,656,888,524,550,750,1060,1248,850,519,1114,1610,1148,743,640,670,794,687,825,790,982,974,1044,969,912,897,909,885,757,1098,905,1106,1116,932,1338,1418,1198,1068,744,613,656,820,1100,2074,1922,1370,1698,1584,1638,1436,1032,507,605,1170,1222,1122,1320,854,1158,935,502,385,343,331,391,439,682,810,675,798,853,1070,1028,966,1264,1252,1180,1364,1354,1182,999,860,1542,1758,1290,1322,1272,1168,862,1034,1484,1162,1208],[1282,1018,962,756,529,537,575,839,772,530,606,594,678,609,561,463,481,463,473,564,704,775,532,383,336,328,350,370,379,405,419,412,390,374,368,352,325,344,358,356,387,407,393,367,321,319,298,387,434,387,374,399,399,373,404,586,691,524,371,333,393,441,471,769,1015,953,1082,1096,1050,1234,1370,836,1512,1260,666,985,1502,1518,1222,889,529,502,544,601,771,1530,1662,1776,1566,1586,1640,1610,1488,1188,780,936,1154,811,714,788,1626,1712,1404,1744,1628,1244,1226,951,973,1354,1314,1098,1136,890,805,968,1482,1132,631,590,515,430,621,695,743,979,993,1250,1046,944,537,338,459,744,912,900,846,565,469,454,626,1150,1368,792,700,925,828,590,1238,1686,1298,1340,1848,1422,963,1722,2258,1310,1274,1634,1434,899,780,833,996,1318,1398,1676,1058,883,1106,1622,1268,777,860,1344,1620,1644,1260,1132,1072,1108,1017,713,956,974,1076,973,582,456,437,414,478,351,321,497,824,886,887,1154,1582,1202,521,440,506,473,365,373,349,401,442,376,316,346,419,408,522,704,565,414,445,453,494,568,513,492,495,438,498,659,1046,1524,1144,473,427,421,460,539,917,1078,916,830,1266,1328,1212,1136,994,1015,962,611,643,752,662,594,450,476,672,1050,1144,685,481,525,470,419,428,413,439,460,520,536,569,525,448,397,435,457,383,390,568,707,904,767,825,1026,940,816,715,635,1004,1060,850,977,858,762,759,681,1038,916,928,1238,1250,1228,1062,756,464,359,347,316,316,350,364,393,415,396,371,357,516,580,540,785,912,452,412,750,678,944,1164,1322,1352,980,869,952,1512,1556,1528,719,977,947,788,592,431,373,334,364,398,383,440,627,904,452,302,354,376,394,386,407,346,350,411,462,773,1192,1166,1240,1244,1076,886,785,647,556,606,745,940,1224,1078,602,808,825,659,699,855,658,590,540,468,433,439,475,471,458,397,437,447,457,653,781,780,562,460,458,492,523,603,789,1052,825,531,630,884,820,674,604,517,590,813,758,627,585,599,573,536,570,767,728,1262,1086,522,546,601,476,498,561,991,1222,1144,951,930,1184,1076,612,540,523,424,639,1116,1216,1328,1206,1308,1290,1134,1416,1238,1100,1072,837,627,840,1264,1486,1328,653,383,328,316,398,513,521,485,387,372,461,573,835,1048,828,915,1130,1009,1082,887,807,1062,1114,955,861,1084,1276,1182,980,1262,1086,753,491,404,458,453,427,475,546,471,322,289,234,231,359,416,354,453,445,402,478,446,396,747,1440,1618,1670,1554,1516,1214,1208,1244,1212,1034,965,836,567,515,950,1628,1936,1706,1354,994,742,992,1032,863,653,490,493,710,705,1011,974,1048,1376,944,634,1250,1364,700,770,1102,893,578,527,896,863,521,499,693,1188,1452,1626,1570,1206,1118,990,557,859,1262,1404,1428,1168,705,647,1064,1350,1202,1146,1212,1290,1284,1204,1194,1504,1390,1538,1380,1144,1392,1484,1484,1522,1654,1956,2006,1892,1838,1556,997,1130,1222,706,335,386,418,409,722,1486,1350,722,1066,743,460,480,595,631,601,910,1036,712,445,401,383,307,268,298,300,356,500,568,490,790,1005,1032,939,821,667,406,443,890,1352,1710,1230,811,1122,1496,1222,723,650,521,656,710,824,858,761,769,696,630,558,413,378,474,568,419,257,420,1310,1980,1064,473,521,498,345,494,864,1009,1032,809,506,402,580,543,429,529,727,738,904,1021,993,889,692,598,775,985,1072,654,500,714,730,865,1004,1046,1144,1184,943,693,662,675,975,1662,2028,1134,818,1088,1102,1212,1284,1086,1036,885,1118,1254,1414,1440,919,546,834,1018,1082,1488,1520,960,684,960,1068,742,623,867,1144,1042,571,453,537,526,466,455,452,431,421,406,391,393,422,459,447,452,430,709,1023,1072,984,520,659,708,641,791,741,720,869,837,1444,1562,864,805,803,1011,1290,1032,639,702,924,736,630,707,867,1192,1416,1212,873,965,1042,1106,1012,792,1204,1192,1026,980,833,647,968,1172,770,758,736,605,351,433,589,523,435,651,879,684,467,375,345,328,434,495,458,487,531,618,604,584,509,404,448,604,666,678,607,576,465,384,382,426,399,287,270,358,395,359,315,306,393,393,374,337,365,387,415,352,336,747,624,1194,1974,1282,1064,1108,1346,1410,1200,1110,843,623,937,1306,2010,2402,2404,1998,1454,1512,1274,1280,956,1100,1066,1130,835,539,1036,1352,1084,952,680,1008,1384,1426,1372,840,524,604,689,544,713,875,895,967,1076,1106,1178,1170,1268,1044,1021,913,697,811,580,524,641,516,423,435,403,561,1056,1310,1486,1544,1310,1128,1328,1656,1826,1752,1818,1944,1904,1382,857,711,1328,1124,1040,1554,1636,1596,1536,1396,1604,1106,1064,1580,1702,1826,2172,1926,1596,1902,1702,1512,1600,990,790,949,843,666,621,722,904,839,1002,1308,1272,1076,931,943,800,848,713,578,846,1192,1392,1886,1938,1784,2360,2608,2342,1874,1516,1036,948,1164,1180,1202,1636,2072,2070,1742,1714,1740,1666,1612,1262,1188,1474,1836,1328,679,798,1746,2796,2284,937,714,1234,1618,2316,2600,2000,1568,1274,1238,1592,1664,1648,1372,1358,1926,2146,2198,2392,2270,1592,1664,1142,1664,1596,1110,1200,1580,1472,1482,1714,1516,1548,1584,1394,1036,1034,894,1060,1078,1015,1390,1528,1438,1500,1516,1334,965,1040,926,811,576,672,901,1152,1302,1026,883,1072,1294,1800,1772,1604,1748,1338,1128,1112,1098,1070,924,1160,1584,1258,1204,1322,1136,1172,1150,1794,2088,1512,1242,1278,1256,1324,1390,1414,1520,1362,1218,1268,856,486,596,1140,1300,1008,778,933,1194,1088,1322,1832,1544,1180,1256,1276,1428,1690,1710,1234,994,1262,1238,1078,1292,1382,1046,913,880,746,437,255,298,279,336,574,730,874,524,428,611,691,542,460,634,821,1346,1582,1220,955,789,730,799,1064,1192,1216,1122,1158,1086,777,733,779,857,952,1070,1198,1106,932,962,808,413,415,721,750,800,1064,1096,1070,1570,1756,1662,1374,979,1772,1946,1438,1460,1220,912,822,590,925,1428,1102,579,568,802,1166,1306,1260,1248,736,389,514,965,940,484,626,494,540,656,851,788,569,416,480,528,509,865,1316,912,637,384,431,439,419,571,863,1220,1876,1976,1544,982,549,345,384,388,319,362,370,310,375,357,399,503,618,660,933,1178,1372,1542,1720,1450,1058,1202,1208,790,437,371,320,437,566,976,1378,1344,568,915,1290,1340,1522,1234,917,725,407,408,466,391,317,444,704,578,424,595,550,314,415,436,245,286,345,387,381,381,444,631,432,305,571,977,1320,1250,833,752,601,645,858,586,634,681,832,1130,905,965,1136,807,428,326,510,830,1138,1140,1020,1082,1102,1186,815,383,533,1019,841,364,338,273,275,411,430,372,509,588,604,810,926,1294,1600,1566,1440,977,1130,1314,1204,1282,1686,1460,1408,1608,1444,1124,1116,1448,1582,1442,1028,836,1214,1446,1488,1358,1186,962,1023,893,669,955,1184,1034,651,611,689,1114,810,909,1026,798,748,649,647,999,1104,983,1182,953,612,907,964,548,380,354,460,645,752,706,325,305,261,351,420,419,411,396,338,561,605,415,422,491,485,462,424,418,349,394,482,464,403,374,350,582,1100,1538,1512,949,987,1034,1072,1042,1384,1524,1152,702,644,790,1024,1328,1272,778,417,424,515,491,436,356,370,604,651,738,896,1190,1814,1636,1034,995,1166,1070,988,1166,1012,1178,1334,767,1150,1694,1454,1166,1132,1170,940,518,388,366,322,312,697,1156,1316,1370,1152,1222,1442,968,994,1318,1084,932,797,733,954,1418,1424,825,507,517,687,902,966,805,545,866,1204,1064,818,697,461,491,714,996,996,942,647,993,951,608,574,808,1102,1246,1005,489,537,1012,1278,973,1076,880,787,694,739,1544,2214,1620,738,629,612,1028,1432,1216,1274,920,557,647,658,491,926,1476,1062,580,525,566,1408,1824,1866,1584,901,446,419,651,1042,968,362,321,328,275,526,977,1066,864,706,698,513,402,558,871,805,827,1068,871,936,954,1282,1040,1226,1454,1050,609,465,497,498,738,1048,949,600,832,1116,640,549,657,551,380,376,529,814,908,1100,954,539,489,713,810,940,1402,1480,1262,996,1036,1646,1924,1292,785,529,694,1058,1026,1156,1122,1094,1028,821,834,832,489,618,869,1017,1660,1294,1152,855,848,1090,1013,1508,1562,700,831,504,380,753,1442,1542,1142,1124,1066,765,519,478,653,1014,1322,1808,1476,1380,1322,1494,1012,594,456,461,433,555,785,822,745,1078,897,951,1294,1106,1140,1260,1294,1332,1172,1128,1616,1444,1218,1516,1348,1228,1114,948,770,655,830,893,743,861],[1118,1094,1110,828,650,579,584,940,885,448,428,579,676,616,542,465,439,427,534,618,778,784,460,358,349,359,394,399,389,397,393,393,375,357,334,318,328,350,360,368,378,389,383,343,308,304,312,423,501,443,394,392,384,364,388,677,644,551,420,337,408,473,515,781,1046,1007,1204,1001,1184,1642,1518,1118,1202,1006,860,944,1086,1114,1192,966,602,921,1210,1144,1005,1628,1506,1498,1660,1628,1532,1300,1170,1128,879,784,763,625,602,637,1156,1194,1134,1372,1182,1172,1340,1024,1270,1410,1324,1024,698,496,331,905,1562,1322,904,797,654,551,764,789,1008,1592,1272,1088,943,751,510,412,484,871,1244,1144,958,897,844,661,804,866,782,588,435,440,428,513,875,1364,1352,1986,2030,1206,1106,2242,1924,971,750,821,860,778,429,539,700,1220,1124,1280,896,940,1588,1662,930,663,855,1148,1160,1076,949,960,914,973,1300,910,771,1100,1328,1066,756,725,560,345,458,470,462,415,827,1140,1340,1662,1866,1254,461,428,457,463,373,393,391,367,361,416,388,344,412,475,653,822,739,693,616,360,361,564,626,616,530,561,916,1018,1013,1134,824,602,521,430,457,408,527,791,948,991,1448,1602,1166,783,591,622,944,946,980,1038,919,731,593,796,1162,1284,827,439,387,390,369,406,437,473,481,485,491,498,506,490,440,405,493,510,421,561,937,1052,1138,767,620,1152,1180,888,927,813,1260,1024,843,1148,1005,846,792,866,1124,868,515,463,620,666,479,318,263,276,279,293,334,379,394,384,368,364,398,537,506,357,482,1248,1328,719,486,677,548,825,1288,1352,1338,1026,988,980,2122,1812,1402,719,508,503,483,506,512,498,416,453,495,451,438,605,703,441,418,470,433,466,510,451,312,352,650,1021,1040,1108,820,1094,1082,765,655,649,847,1130,803,769,1010,1018,832,880,1078,1366,1032,1220,1430,1040,930,789,742,615,439,429,373,387,451,456,412,454,712,1032,926,592,514,440,491,851,1310,1522,1448,817,447,626,807,856,805,609,474,730,1130,681,602,578,602,664,560,693,832,979,1334,1078,742,987,816,502,516,670,828,1154,1062,761,808,963,742,562,546,402,482,713,1058,906,1154,1146,1306,1368,1200,1432,1258,1182,1332,1272,782,801,1300,1354,1346,644,336,324,319,377,384,406,411,428,552,654,895,966,1088,1124,1128,1192,1208,1216,1062,1162,1294,1138,1068,827,756,629,589,757,870,976,1384,968,427,572,625,625,734,670,511,316,285,347,326,356,435,387,531,588,547,549,529,639,1286,1632,1500,1472,1306,1570,1512,1194,1058,957,1078,1506,1288,659,362,651,1572,1738,1686,1460,890,849,1256,1288,805,619,477,639,803,1242,1346,1142,827,1004,1266,987,1082,1026,529,796,1034,621,492,745,899,476,386,641,886,883,1088,1352,1234,661,982,920,548,483,1090,1526,1544,1422,1108,940,1350,1418,1256,1272,1178,1168,1170,838,1010,1566,1410,1512,1486,1372,1372,1258,1308,1346,1316,1480,1510,1738,1676,1398,788,783,966,639,339,414,383,390,713,1098,850,687,1156,686,352,387,529,672,641,850,1478,1466,855,652,462,292,277,349,525,677,643,585,406,474,959,1186,734,619,819,902,843,742,646,603,503,597,882,1092,948,905,879,683,642,563,1248,1762,1778,1128,604,888,1296,1054,566,501,636,504,345,335,686,933,547,394,353,328,330,592,1009,1070,844,484,381,311,414,462,672,1118,1290,1298,1536,1296,609,733,676,551,525,442,766,711,614,634,819,882,790,789,891,1172,1002,747,749,576,666,1106,1092,697,808,1092,1238,1368,1360,1118,1036,1252,1372,1250,1464,1532,1246,914,1130,1192,1134,1514,1448,1140,844,1062,1048,553,661,910,1316,1334,759,478,642,667,480,478,463,439,434,423,429,415,424,489,507,507,476,692,931,1266,1396,793,1260,1442,998,926,867,828,846,806,1240,1210,1072,1270,1015,1292,1502,997,530,550,694,622,599,630,680,1066,1252,828,532,749,618,545,807,961,1174,1156,1154,863,635,774,1078,836,635,745,892,576,422,473,669,591,551,894,878,472,292,330,394,522,427,535,612,568,579,776,762,548,410,321,356,494,537,639,639,681,499,350,316,354,345,348,413,440,404,325,247,246,357,402,376,383,386,398,486,437,561,709,639,1262,1510,989,1060,936,1294,1108,929,796,499,441,569,1174,2020,2514,2332,1902,1552,1246,1200,1290,1178,971,1196,1466,1264,1044,1406,1634,1013,690,646,1216,1354,1350,1084,865,796,645,492,445,538,480,460,441,415,430,569,678,648,775,1024,911,913,808,449,567,620,507,422,407,388,783,1234,1388,1558,1634,1588,1448,1396,1224,1428,1450,1592,1880,1808,1670,1140,938,1418,1042,605,1013,1422,1372,1316,1058,1098,844,1136,1598,1932,2396,2610,2004,1638,1700,1540,1328,1642,1092,847,952,807,781,659,666,817,783,965,1268,1278,1098,807,592,601,557,517,474,649,860,1174,1990,1986,1490,1912,2000,2096,1784,1614,1212,959,1182,1610,2016,2028,1926,1892,1708,1578,1780,1744,1536,1430,910,1350,1792,1446,797,672,1274,2414,3094,2204,1174,1234,1010,1852,2238,1718,1248,1100,1234,1444,1606,1656,1592,2186,2408,2088,2472,2186,1794,1466,1294,1154,1438,1396,1064,1154,1588,1334,1134,1238,1346,1228,1168,1222,1250,1010,913,1090,1142,1348,1382,1384,1230,1266,1526,1274,1274,1200,985,989,874,863,894,991,1058,1020,786,941,1296,1792,1694,1516,1458,1482,1332,1230,1272,1042,943,1676,1748,1302,1108,1180,1136,1116,1070,1450,1652,1482,1536,1526,1410,1438,1360,1484,1308,1236,1476,1308,637,429,773,1372,1766,1336,1068,1004,1122,1128,1106,1678,1760,1272,1138,1354,1480,1490,1396,1432,1302,1350,1244,1194,1342,1554,1528,930,882,937,532,283,288,261,295,339,385,651,461,431,495,463,434,548,854,1228,1290,939,937,1274,1416,1242,1020,1226,1222,1019,995,971,861,841,1005,1150,1260,1028,1062,1260,1138,1344,1764,1322,519,320,436,614,836,865,980,861,852,1306,1614,1396,1196,1654,1676,1404,1232,1158,1186,755,478,623,1280,1484,1020,622,674,789,789,869,699,511,544,780,831,780,393,378,475,514,548,698,704,508,413,566,999,839,691,926,1202,1026,659,507,537,469,446,509,917,1084,888,818,1022,753,566,846,658,343,344,320,317,349,436,601,755,857,525,981,1126,980,906,1003,865,875,1208,1472,1064,555,436,481,633,547,455,474,549,384,725,1280,1460,1194,827,752,503,365,515,1052,863,477,833,1184,1370,1146,816,669,477,444,330,226,243,272,263,292,337,440,571,532,432,368,536,903,1168,1154,1264,821,613,767,595,520,514,626,866,777,805,1016,855,675,642,575,717,914,1028,992,1150,1338,1118,787,565,431,573,468,388,554,453,346,386,569,491,485,788,767,612,783,1124,1438,1526,1626,1284,1068,1170,1096,1190,1378,1356,1176,1198,1522,1482,1460,1782,1522,1446,1302,1218,1176,1144,1218,1542,1512,1376,1092,891,1202,1426,1078,998,783,702,734,1006,917,980,864,813,1158,1004,886,726,778,770,683,492,476,1018,1238,964,572,448,450,513,510,480,305,282,246,318,438,431,398,382,329,481,643,488,478,499,483,426,320,348,325,373,402,380,358,354,339,514,1180,1522,1104,1076,1250,1128,1122,1126,1218,1302,949,653,876,1124,1332,1294,969,689,436,403,475,427,451,378,531,1108,1200,847,911,1700,1812,1776,1798,1182,1046,920,884,1216,1114,1328,1498,771,821,1078,1334,1670,1538,1058,705,423,339,358,436,603,766,961,1340,1218,1084,1258,1526,1440,1360,1264,1170,928,912,1086,1180,1316,1368,938,558,683,1482,1812,1166,650,588,1112,1770,1482,1130,929,552,739,1316,1488,1188,1244,836,1114,1402,1172,878,1004,1168,888,812,444,564,1466,1558,1010,1234,1320,1009,595,521,768,900,1030,919,841,987,1724,1688,1414,1214,835,702,768,661,426,561,661,577,467,486,633,1306,1514,1236,912,715,548,418,563,927,882,380,307,292,286,352,831,1022,631,604,690,819,800,833,869,810,764,758,920,1112,1184,1140,1060,1052,1182,1009,666,593,444,440,421,412,514,626,1174,1384,876,800,1140,1009,359,295,385,590,777,706,554,365,507,785,1126,1512,1602,1776,1666,891,1208,1452,1446,1154,957,669,857,1552,1714,1406,1118,1084,1126,946,875,1052,697,509,777,1102,1438,1146,904,1016,1150,650,666,1362,1198,541,915,645,487,880,1152,1168,749,796,1023,835,451,637,1328,1494,1384,1078,1336,1198,1462,1672,1196,861,1196,1432,1124,948,1300,1026,830,1306,1148,816,705,858,1040,1152,1342,1378,1118,727,988,796,546,519,552,613,581,581,800,850,647,430,399,393],[708,594,566,650,865,749,637,977,656,445,455,509,487,558,544,457,397,466,626,667,647,464,342,311,328,365,422,410,355,318,359,417,383,372,375,356,363,358,329,311,328,336,354,329,288,296,338,454,542,455,374,366,370,419,473,635,568,519,432,383,386,483,577,725,977,875,1444,1626,1366,1854,1636,1078,1318,1650,1446,1222,1336,1150,987,854,653,1128,1200,913,1120,1470,1158,1364,1948,1866,1486,1344,955,799,741,713,758,569,571,566,784,1000,1104,1004,931,1052,1332,1056,1102,1246,1132,1018,921,678,470,727,1074,1106,1090,1050,865,731,903,794,885,1650,1564,1146,983,717,480,477,399,505,821,1068,1170,982,953,1140,1478,1274,982,982,850,778,747,664,843,1266,1132,1718,1542,996,1592,2222,1288,558,478,682,1512,1570,852,842,789,1250,1192,1060,1002,824,1152,1224,577,575,531,644,783,975,973,890,867,959,1032,730,519,642,721,594,576,761,487,371,558,832,779,490,733,874,766,947,1036,1013,549,307,449,412,359,357,325,329,393,552,548,424,573,859,951,888,855,881,681,388,343,550,677,698,744,1108,1330,960,987,1056,645,509,516,446,445,452,411,600,904,1018,1007,1176,931,503,370,470,567,866,1015,894,826,826,945,1058,944,648,407,362,344,362,343,406,442,446,464,485,474,470,441,445,448,363,383,392,520,711,975,1208,1258,1058,858,1050,1534,1204,872,695,1216,1172,891,902,698,485,381,494,731,641,435,344,312,349,314,359,329,270,240,271,343,364,422,415,347,324,325,359,438,385,371,739,686,557,559,504,573,938,1298,1332,1426,952,1052,1018,1386,962,561,430,499,606,553,549,766,736,468,418,516,510,475,752,996,772,576,507,435,484,512,489,365,583,1232,1340,907,1092,1258,1356,1028,545,572,702,977,1434,978,759,848,1302,1194,1048,863,920,993,1338,1500,1132,1018,789,817,674,451,402,428,444,406,401,390,487,806,926,699,552,489,479,642,1194,1338,977,597,379,375,568,677,688,697,716,545,777,998,583,554,757,910,745,594,724,901,1262,1220,976,999,1312,761,596,614,1120,1098,664,467,613,689,746,639,619,550,623,698,829,861,749,1080,1204,1114,1052,1260,1236,1072,1360,1388,1262,549,710,1312,1338,1348,780,360,332,376,437,392,396,351,431,666,901,1084,937,1032,967,913,953,1136,1108,866,895,861,786,814,636,558,498,462,561,613,624,851,674,514,644,640,721,839,568,520,514,503,653,680,849,880,440,389,484,617,736,1088,1260,1622,1532,1394,1352,1290,1410,1646,1328,794,795,1120,1250,984,580,419,550,1146,1818,2126,1654,1104,988,1244,1192,752,797,650,677,548,1122,1060,799,669,713,732,685,816,894,602,959,960,508,487,973,812,461,415,548,679,658,638,825,792,456,450,584,651,848,1206,1440,1560,1536,1134,1054,1296,1372,1368,1230,1258,1006,980,873,1114,1316,1338,1246,1060,1298,1326,1132,1236,1528,1490,1356,1372,1654,1642,1212,742,515,427,364,328,472,469,463,510,580,706,955,1124,675,393,612,777,642,596,780,1244,1274,943,952,788,465,343,382,516,599,592,529,430,542,741,863,828,560,607,672,733,776,835,586,486,513,411,380,412,672,522,551,584,638,1056,1394,1236,739,457,731,1504,1082,456,441,613,516,452,406,487,769,810,543,483,476,381,493,724,1118,879,458,486,706,703,618,639,775,1156,1490,1576,1212,515,521,453,412,500,664,984,1124,877,661,678,556,511,690,750,870,1092,1180,837,587,509,564,582,569,891,1472,1618,1206,1344,1338,918,1226,1260,1412,1486,1484,1472,1408,1692,1534,1180,1262,1224,1009,906,1110,1152,809,648,584,677,841,722,520,586,669,514,457,411,412,425,420,422,413,424,484,509,491,548,666,1018,1506,1164,720,1274,1694,1066,824,819,664,719,600,916,1100,1220,1374,1328,1216,1086,745,598,724,1014,1002,712,992,1526,2032,1844,1290,835,1152,1108,1174,1144,1066,1198,1274,1226,952,912,1180,1300,780,612,647,508,480,536,696,931,780,701,863,605,371,329,363,375,505,541,631,570,585,693,993,1230,1070,827,642,401,379,365,368,452,697,525,321,350,362,306,310,383,327,280,291,271,270,389,388,324,326,367,439,407,406,608,550,772,1620,1598,954,851,987,1218,877,839,694,407,450,533,1252,2122,2546,2430,1344,1142,931,908,1864,1820,952,1350,1710,1444,1072,896,959,627,464,722,1268,1450,1366,901,667,650,601,582,543,506,428,406,410,357,347,318,292,308,357,389,495,552,428,528,667,655,507,449,371,564,1046,1310,1444,1650,1688,1462,1394,1718,1148,1268,1332,1550,1914,1986,1832,1256,980,1410,1078,863,1364,1656,1416,1328,1128,787,706,857,1062,1408,1760,1766,1412,1142,1208,1246,1354,1636,1062,796,819,598,622,763,919,969,741,780,1180,1120,981,750,567,476,433,469,509,690,800,1050,1592,1352,1452,2096,2076,1888,1324,1048,849,1044,1504,1848,1910,1732,1604,1732,1512,1244,1676,1784,1580,1232,1168,1612,1718,1414,868,853,1256,1798,2674,2122,1418,847,577,909,1198,1226,1094,987,1050,1296,1846,1926,1838,2226,1910,2214,2384,1596,1422,1518,1406,1316,1280,1140,1140,1578,1860,1672,1340,1324,1244,1072,885,1126,1378,1118,914,1018,1092,1210,1348,1300,1034,1222,1498,1574,1688,1430,1158,1242,1250,1080,649,854,1230,1516,1100,879,1001,1362,1294,1256,1312,1468,1580,1552,1614,1464,1368,1520,1368,1218,1226,1266,1204,1142,1138,1090,1052,1138,1340,1378,1462,1462,1332,1584,1572,1260,1338,1140,527,436,645,1076,1394,1002,1402,1534,1196,1266,1318,1760,1940,1526,1356,1228,1166,1114,1036,1142,1216,1294,1228,1964,1826,1910,2010,1462,1052,579,339,328,311,360,399,300,289,309,336,572,591,479,534,616,960,1426,1204,904,1074,1346,1274,1126,1130,1338,1296,924,811,988,901,824,1074,1166,1886,1550,1220,1366,1290,1294,1692,1420,581,486,418,694,861,921,812,1028,744,895,1244,1196,1158,1404,1722,1478,949,849,930,546,453,724,974,1322,1328,894,737,814,742,647,698,626,951,1582,988,642,440,369,414,488,725,1028,951,518,532,1236,1664,956,833,1274,1792,1860,1116,665,656,424,502,557,643,489,604,1024,1282,706,700,1244,958,430,451,333,272,369,666,1216,1776,1896,791,619,808,1044,1378,1224,862,711,1023,1308,892,573,469,525,747,865,780,577,409,669,986,944,1007,877,503,618,684,641,722,1018,753,565,756,1180,1492,1324,1110,899,665,392,223,242,363,447,350,353,461,421,358,493,509,453,548,614,1198,1352,1634,1188,748,940,780,472,500,601,828,755,659,839,906,899,1176,807,628,841,1005,890,988,1278,1264,971,785,429,477,627,537,501,452,472,426,765,1022,1108,1216,657,641,1004,1062,1050,1168,1312,1162,1202,1316,980,743,1118,1570,1180,720,1206,1434,1326,1512,1350,1294,1272,1214,1116,896,1040,1440,1164,1362,764,644,990,1256,993,1144,805,519,616,675,743,755,724,850,1026,1164,1250,929,761,658,600,591,562,735,1208,1198,393,337,353,337,312,280,304,262,241,313,387,386,402,370,313,426,694,518,472,480,439,366,288,303,390,427,397,372,350,360,373,423,791,1240,1404,1128,1144,1298,1352,1092,766,796,901,741,709,774,686,536,563,533,436,429,437,460,639,714,513,932,1110,896,1016,1312,1410,1700,1328,869,1148,1252,1052,1166,1298,1174,850,575,609,653,959,1578,1594,979,521,382,350,415,530,791,771,718,934,1066,1340,1418,1304,1500,1572,1484,1460,1242,1204,1380,1288,1090,1202,910,592,487,1104,1330,805,617,684,1024,1400,1338,1506,1146,924,864,960,948,1134,1084,814,968,1318,1732,982,604,851,1058,1424,1017,896,1604,1356,1092,1366,1282,1070,665,480,583,896,1592,1490,871,777,1286,1402,1332,1004,892,951,843,550,543,571,437,651,614,581,675,696,721,505,437,642,665,558,581,815,593,376,368,326,292,209,285,349,458,700,752,639,655,692,617,516,506,985,1006,862,890,1004,1344,1182,1052,950,945,1226,766,392,328,511,832,893,1138,1422,1288,893,950,987,463,317,373,500,503,426,353,499,874,932,981,1522,1504,1462,1372,783,1130,1600,1504,1208,1052,998,1130,1438,1466,1118,1376,1412,1234,894,960,1256,806,541,637,780,684,716,831,804,929,505,925,1260,860,631,819,631,513,1036,1620,1320,975,1014,1108,1086,740,803,1198,1300,1220,849,1136,1180,1204,1406,985,727,1228,2126,2026,1266,1548,1240,667,772,1028,996,886,970,1152,1344,1436,1474,698,313,324,344,330,382,383,377,503,825,979,697,619,702,463,339],[693,724,954,1028,1136,1038,903,924,558,443,503,465,558,656,551,433,450,686,866,653,448,374,362,357,337,370,422,407,360,312,311,403,368,366,350,381,350,327,317,326,342,327,334,323,302,323,362,382,430,427,373,354,340,415,561,637,653,568,414,516,676,941,912,872,1080,1206,2066,1886,1372,1772,1360,696,1048,1224,1016,1136,1278,803,540,702,833,1066,1100,976,1032,1316,1334,1522,1792,1748,1224,975,901,750,1038,1144,1188,927,502,522,637,742,716,780,826,741,680,607,597,778,846,930,1076,1090,1060,1009,891,1074,1132,1198,1064,1166,1366,1242,1376,1736,1630,988,604,423,472,492,390,402,547,1144,1246,776,758,1454,1790,1210,878,968,1216,1244,1124,985,1028,980,891,1050,935,957,1750,2078,1122,788,617,942,1834,1266,1062,1082,1220,1254,1200,1452,1410,1094,1220,1232,697,490,346,393,600,962,1090,960,753,659,579,442,396,403,374,424,469,691,522,402,741,1256,1246,728,609,893,937,1062,1114,1042,627,436,875,623,387,389,361,457,425,422,465,457,661,978,964,1062,1144,944,658,406,341,401,597,922,1005,1094,1368,1170,1042,850,489,376,381,366,384,432,440,468,606,890,1120,816,650,574,509,505,412,653,988,1246,1268,1090,917,676,477,413,424,376,357,366,372,415,437,422,451,521,521,480,446,481,473,429,465,560,699,702,778,1038,1270,1252,1021,1328,2156,1562,783,495,707,994,846,741,635,468,525,802,973,604,482,428,430,471,592,701,502,320,284,326,382,385,445,373,318,304,390,407,497,744,819,755,891,1009,1104,688,736,1116,1190,991,1086,980,921,728,600,485,420,407,540,1042,1052,816,1064,955,566,375,424,480,475,796,1106,797,584,608,454,504,838,807,481,890,1406,1112,811,969,1110,1130,1130,752,858,1170,1148,1272,1316,860,639,1108,1128,1204,1538,987,460,689,1007,926,700,742,580,514,498,490,536,506,491,561,613,719,786,802,611,539,542,563,529,691,852,825,892,745,469,760,1052,1168,1208,883,549,779,1224,1142,727,629,838,997,918,797,767,1080,823,832,1068,898,778,667,735,1266,1306,744,521,745,928,1048,789,758,713,919,1104,1160,980,1100,1222,1220,1086,993,1216,1034,1016,1196,1344,824,518,742,1194,1382,1318,855,353,360,396,477,390,368,367,548,788,1136,1106,987,1112,1046,781,611,665,802,788,678,652,590,800,722,564,694,673,622,681,642,565,479,505,545,593,763,921,755,861,1040,1062,1062,1070,1278,1190,747,845,1066,1252,1478,1626,1614,1506,1602,1292,1048,1322,1466,1580,1572,1356,868,695,547,505,728,824,707,807,1498,1810,1192,763,707,1052,1038,962,1160,1017,675,709,1036,972,839,999,948,791,737,1484,1860,1250,992,720,601,998,1336,1028,697,494,470,1116,1186,753,1082,1212,707,448,578,934,1222,1108,1050,1188,1084,1260,1318,1282,1486,1576,1336,1202,1112,1246,1334,1164,955,1016,1116,1030,1332,1254,1072,1106,1302,1432,1234,1516,1798,1442,1021,720,714,681,499,513,560,509,408,557,645,841,1172,1032,743,764,628,653,365,320,467,857,670,499,689,748,539,339,402,516,439,309,353,559,815,863,655,847,910,700,461,372,480,720,824,836,765,730,703,680,786,678,487,382,400,514,678,550,435,508,506,1270,1224,626,380,284,390,496,440,548,813,645,457,525,572,576,725,1208,1624,1624,1172,1108,1370,1074,658,688,549,786,867,756,432,372,512,640,880,982,959,867,725,630,521,489,412,390,492,557,607,905,880,574,677,633,438,636,700,868,1056,1184,1058,979,810,840,864,777,1013,1348,1646,1476,1182,1510,1290,1212,1280,1304,1382,1578,1172,1140,1110,702,642,529,608,931,828,650,641,492,419,405,399,393,393,404,414,436,476,486,530,624,659,860,1050,739,744,1206,1412,979,902,1216,844,608,822,1438,1498,1128,1224,1412,1124,969,905,996,1204,1324,1160,1002,1726,2014,2088,1914,1610,1136,1134,1416,2408,2186,1190,1222,1546,1294,1110,1318,1542,1224,978,868,572,346,490,528,497,579,642,717,819,480,343,376,379,444,533,1084,1056,758,874,760,993,1268,1170,1064,871,539,463,454,419,491,652,562,539,477,445,487,498,337,350,322,414,455,436,469,379,304,283,320,368,393,426,465,576,869,1432,1502,1210,1058,1262,1246,775,898,1054,673,529,714,1350,2286,2524,2282,1074,854,1074,1190,1794,1882,1372,1314,1176,1002,775,586,821,792,537,968,1398,1460,1198,728,596,686,616,550,531,435,375,403,375,329,302,327,379,357,348,383,400,356,356,536,631,614,489,442,527,861,1056,1260,1544,1608,1468,1222,1166,1166,733,905,1044,973,1262,1698,1588,1086,1016,1576,1030,796,1350,1588,1352,1346,1252,1023,982,1040,1102,990,841,919,1268,1010,1028,897,1194,1382,861,527,509,507,659,944,1158,1136,1024,1064,1184,1042,915,791,644,517,485,485,510,850,976,1194,1158,960,1604,2092,2042,1464,920,633,590,794,1076,1270,1450,1276,1572,1896,1612,1336,1506,1730,1554,1074,1112,1172,1132,1036,925,1008,1248,1428,1990,2242,2680,1650,662,602,703,1046,1164,999,1616,2544,2724,2270,1780,1664,2018,2300,1614,971,1028,1502,1550,1332,1094,1104,1844,2858,2824,2026,1366,1046,860,827,777,1086,1350,1250,988,911,988,1076,1326,1300,1182,1030,1284,1692,1732,1478,1284,1220,1188,1076,955,1058,932,1090,1218,1152,1160,1108,968,1282,1368,1598,1388,1324,1582,1626,1700,1614,1318,1208,1064,916,905,957,994,849,751,815,985,1144,1378,1352,1298,1360,1358,1182,1048,1246,1038,724,589,902,987,866,1788,2052,1584,1300,1308,1552,1438,1400,1296,949,940,897,932,1712,1654,1282,1208,1266,1118,1562,1722,1372,1492,1240,936,718,403,680,869,634,383,321,1042,2036,1730,874,574,668,867,870,614,710,1072,1218,1206,1300,1356,1234,1208,1034,868,865,915,724,516,779,1468,1438,1284,1136,770,501,744,847,724,885,792,982,1400,1804,1474,1048,590,533,576,738,855,1024,1622,1038,544,785,785,652,560,901,935,894,1200,1278,1070,1094,913,711,840,803,1009,1144,1284,1084,686,449,476,681,945,875,923,803,650,882,844,713,872,1528,2452,2402,1312,713,677,594,628,757,618,606,1146,1606,1162,471,511,892,790,408,498,408,521,617,568,918,1456,1424,854,677,664,921,1112,681,477,412,702,1122,1130,1172,909,781,901,1230,1624,1210,422,879,1528,1418,991,1414,1432,935,1200,1498,1154,684,707,834,686,843,801,607,446,452,503,365,256,249,538,694,455,343,642,563,344,418,713,799,1184,969,1013,1328,1598,1178,657,947,1162,896,1080,1268,1198,769,584,1106,969,1338,1694,1300,930,840,1090,927,978,1166,1120,1130,747,484,598,1268,1192,598,361,353,478,797,1126,1192,808,507,651,889,940,1172,1072,873,634,574,852,846,547,804,1536,1422,837,1001,1460,1610,1290,1112,1202,1208,1164,1196,972,1088,1610,1108,1222,901,636,551,590,872,1190,1216,1038,638,639,1028,930,667,581,774,1132,1928,1306,652,731,804,728,550,635,1110,824,345,347,400,336,225,225,265,277,287,333,345,347,355,359,392,444,702,504,390,439,374,329,360,419,417,423,433,394,361,376,419,424,528,1182,1276,938,1228,1352,1060,693,526,653,719,536,430,436,398,451,527,505,457,429,602,798,925,996,568,733,858,811,1226,1566,1524,1374,1342,1530,1600,1366,965,913,980,706,706,876,915,846,984,1322,1334,1022,670,507,519,613,655,639,623,569,866,1256,1378,1202,1062,1130,1432,1578,1484,1478,1054,999,986,753,836,780,596,530,487,500,498,669,523,609,775,1054,1536,1470,1146,840,797,937,1120,1136,1332,1454,1360,1538,688,346,675,1146,1834,1554,919,717,581,727,824,801,933,988,600,554,823,1500,1192,579,448,437,834,1250,1130,1308,1132,751,1098,1294,953,591,501,421,843,1210,877,551,446,626,1006,732,505,816,807,538,469,621,578,325,221,250,427,619,875,949,677,619,789,632,425,835,1296,999,741,797,1388,1720,1386,1186,781,775,1216,802,569,585,1082,1676,1520,1426,1682,1816,942,771,1142,861,495,619,900,716,526,637,892,1094,1276,992,899,954,1208,1114,877,1256,1666,1504,1052,669,833,1192,1266,1180,1062,1366,1526,1362,813,642,673,586,529,565,684,783,962,722,554,745,546,922,1046,823,623,606,572,492,802,1282,1268,1576,954,817,898,891,775,912,987,924,776,956,1338,1434,1360,1134,845,764,1264,1092,1218,1698,1448,824,852,933,959,1102,1510,1278,1288,1342,1278,558,357,375,313,290,382,425,434,790,1180,1080,714,930,1626,922,357],[1160,1188,1410,985,828,896,880,727,540,498,518,531,594,800,629,474,682,889,807,499,335,328,357,355,357,378,397,377,352,342,350,376,353,393,456,442,317,299,325,329,338,342,337,321,320,347,386,384,386,461,444,408,383,441,543,570,599,561,342,416,539,814,885,847,1060,1342,1600,1470,1342,1216,913,520,655,621,575,1186,1076,543,436,422,597,965,1072,969,715,1410,1404,1644,1744,1554,856,542,533,618,951,1202,1476,954,470,487,681,630,611,971,677,514,469,484,541,559,644,827,1314,1592,1466,1234,698,749,978,984,925,1282,1198,932,990,1190,1236,838,613,468,517,493,600,810,882,1098,1156,1008,1108,1582,1388,960,709,951,1146,1210,1064,744,633,581,713,933,882,796,984,1126,849,808,767,1138,1270,993,900,965,1300,1262,1200,1420,1494,1488,1440,1226,797,634,515,366,387,613,691,442,372,374,412,426,514,447,465,617,733,844,934,1114,1096,852,943,727,477,823,1082,1060,1180,894,521,526,979,730,368,353,360,434,375,433,525,477,512,617,811,1268,1412,1154,962,645,443,524,698,1112,1376,899,680,535,401,343,337,342,367,346,367,468,476,415,479,670,722,542,576,555,531,493,458,531,762,1306,1238,706,399,344,369,407,401,410,426,404,408,433,449,465,558,583,592,485,444,513,483,493,554,591,658,767,827,836,1072,1190,1010,1108,1582,1314,1002,600,539,711,779,801,691,776,1202,1376,1302,666,563,634,604,836,1212,1168,714,523,457,439,391,388,429,427,436,584,960,1072,1300,1896,1528,1062,1394,1338,1174,632,480,745,819,547,500,512,437,444,514,536,588,675,886,1340,1406,1346,1266,1060,642,450,432,464,438,608,849,757,800,1088,925,1330,2140,1458,598,720,869,849,915,799,711,837,1178,1230,1044,1126,844,813,1007,910,778,862,925,1372,1484,839,660,756,883,1018,871,709,452,372,442,499,495,503,515,565,760,1052,831,608,661,640,592,585,653,1015,1282,1398,1388,1062,549,695,706,980,1386,839,385,593,1276,1186,711,582,640,1124,1266,979,843,805,711,682,713,488,567,547,519,705,746,504,554,1040,1132,838,888,912,951,1104,1340,1256,1178,1374,1460,1282,1076,1100,1184,879,1018,1050,1142,820,728,795,1120,1316,1214,984,390,436,501,552,484,518,684,802,776,963,1160,1136,1128,1184,1034,720,883,951,892,765,777,559,457,449,692,1110,867,661,1001,1286,943,834,689,520,576,912,1408,1396,1330,1522,1382,1224,1368,1442,1544,1500,1496,1448,1354,1310,1272,1020,932,1406,1448,1174,1114,1200,1380,1382,1572,1048,633,479,530,836,1200,1132,1190,1642,1572,1246,1236,855,742,861,977,1138,850,573,1164,1774,1254,1092,1354,705,636,825,1600,1566,894,530,549,1088,1450,1128,1132,1110,723,816,1886,1588,833,1054,1152,686,342,492,924,1250,1276,1224,1092,808,907,1376,1526,1684,1534,1218,1094,1224,1522,1410,1250,1106,1162,1222,1168,1256,1548,1670,1118,919,1186,1232,1382,1560,1366,945,766,865,731,787,740,727,643,525,766,712,603,1226,1184,1002,982,882,480,293,300,367,658,562,415,463,685,710,625,672,859,518,433,564,764,977,1486,1106,498,759,980,710,470,428,456,493,676,815,828,898,1036,1032,910,786,803,764,748,861,619,456,795,678,701,572,662,614,385,360,375,309,393,544,591,626,529,452,560,1050,1278,1428,1640,1450,1296,1144,835,637,652,499,830,708,457,438,656,905,1178,1256,921,809,1064,1294,1014,528,450,410,422,535,567,816,1198,1026,806,1320,1180,542,706,835,836,745,1028,1208,1114,921,920,936,892,837,904,1430,1736,1108,1294,935,1158,1650,1598,1406,1498,1040,913,1266,974,927,874,500,1074,1078,799,562,419,409,402,395,393,393,384,395,433,455,477,600,597,658,669,899,1086,1198,1196,1448,1388,1134,1044,913,925,984,1206,1378,1332,1218,1182,1200,1218,1314,1516,1542,1370,1354,1190,1604,1616,1462,1106,1030,988,895,1278,1776,1442,1050,1156,1132,1378,1334,1248,1134,1005,974,839,496,344,441,469,377,356,553,801,825,602,597,536,415,440,722,1118,895,929,1138,765,1218,1184,1146,1180,902,589,517,647,536,502,640,524,487,451,559,541,534,411,373,364,440,479,437,390,379,379,408,428,354,410,724,528,708,1198,1542,1606,1564,1346,1172,1194,1162,1316,1360,1286,1176,1174,1188,1598,1896,1816,1528,1394,1458,1414,1100,1009,980,930,1096,1460,1158,959,1134,787,625,1194,1454,1304,741,561,768,774,550,476,443,402,424,445,359,302,360,389,365,371,418,436,434,420,459,576,671,589,392,332,695,1000,945,1036,1160,1168,1196,1178,1216,916,1426,1576,930,864,819,835,807,846,1262,1442,858,691,808,960,988,1104,1226,1172,1208,1306,1144,1282,1464,1254,1160,1274,1396,1210,1300,1342,957,597,528,531,663,860,1074,1130,1090,1108,1174,1072,865,675,570,520,486,475,445,807,1172,1544,1874,1272,1310,1826,1502,1074,968,757,626,650,963,1202,1408,1132,1394,1706,1790,1636,1602,1810,1634,1186,1098,1070,1023,1036,891,505,799,1352,1752,2368,3178,2702,1362,565,703,1034,933,924,1882,2590,2438,2636,2270,1750,1720,1340,991,896,1164,1634,1488,1388,1488,1914,3234,3666,3576,2662,1634,1182,1023,1166,1136,1494,1614,1500,1250,910,979,1094,1140,1756,1708,891,1126,1370,1526,1264,1158,1280,1172,1060,1226,1194,951,882,1142,1478,1212,675,712,998,1206,1370,1260,1250,1030,1150,1708,1730,1622,1448,1132,949,943,1120,956,796,685,580,559,733,1104,1256,1378,1366,1116,1330,1354,1462,1190,1140,996,1166,875,794,1176,1538,1690,1454,1250,1262,1082,1172,1242,1008,850,1032,1334,2080,1750,1110,1244,1034,655,789,944,1005,963,1068,1052,982,871,1112,1244,915,838,1238,2136,2564,1688,1086,624,657,930,959,1072,1232,1408,1506,1620,1756,2024,1456,1172,1334,1160,1050,894,762,655,821,1038,1144,1190,1034,800,440,454,409,543,913,821,937,1166,1462,1744,1084,572,477,521,964,1160,1432,1556,755,568,792,951,855,817,1186,933,694,998,1300,1460,1110,615,549,787,976,942,1118,1236,1236,1440,869,761,928,823,633,755,1013,866,801,846,695,659,1270,1888,1466,729,414,485,752,1208,1324,950,624,564,603,478,345,439,521,562,674,589,799,1046,877,563,650,773,804,1224,1810,1832,1054,536,403,463,398,497,764,1005,1110,1252,1334,1252,1222,1136,750,336,473,919,1274,1504,2030,1730,1142,1468,1526,1064,651,714,741,700,640,538,479,475,595,572,424,356,321,423,583,513,348,713,576,391,456,614,810,1198,1013,692,842,1062,774,678,1072,1238,1132,1146,883,759,776,742,1148,1466,1998,1610,1098,1158,1028,545,593,1038,1002,1228,1020,1002,877,922,1268,1010,750,637,386,490,686,962,1036,742,708,657,1088,1174,1192,1170,937,721,357,474,781,1084,1216,2140,1660,1152,1434,1648,1704,1468,1290,1260,1104,778,1010,846,724,806,943,995,957,987,753,471,656,930,927,777,608,689,1092,1098,680,496,892,1266,1268,1023,1080,942,1152,1110,672,460,600,425,366,348,392,328,284,280,274,250,263,338,366,321,338,359,423,491,647,510,424,469,443,402,401,445,433,454,470,423,374,374,400,383,488,770,915,1324,1480,1086,667,495,436,483,458,437,451,427,403,407,457,629,754,901,1198,1428,1290,1052,680,782,822,965,1224,1278,1414,1246,1294,1324,1222,1050,857,741,520,474,736,844,932,1044,1072,975,845,1114,1034,1086,1086,647,706,915,844,558,621,866,920,1012,1202,719,895,1626,1488,1382,1130,1122,1134,823,612,648,863,980,883,1388,764,623,438,850,1308,1078,1112,1228,1034,944,904,659,559,903,1340,1244,1294,1164,671,412,460,791,1208,1036,617,441,409,487,589,610,1032,1026,917,664,720,851,518,392,460,558,944,852,841,1154,1020,594,1144,1494,1230,914,872,696,1132,1668,1176,607,408,773,981,639,451,742,1078,940,491,592,630,435,275,362,506,604,816,951,703,703,896,850,912,904,894,677,1064,1040,1834,1608,913,649,775,1166,1084,1120,1610,1320,1234,1862,1818,1492,1524,1414,739,779,1388,1442,946,914,1032,746,780,855,750,820,1152,1432,1354,1176,929,830,684,652,894,1384,1254,899,804,1098,1010,736,977,1354,1486,996,705,702,536,495,479,521,838,1110,1110,651,491,873,1084,987,536,451,506,435,527,489,452,813,694,939,513,574,695,612,450,492,727,1064,1056,1142,1550,1854,1472,1566,1252,864,980,1314,1362,1504,1222,1138,1654,1468,950,1086,1464,1404,1316,1352,803,339,429,382,297,351,508,393,403,676,824,827,863,839,1188,1004,808],[1854,1222,744,444,431,513,576,547,561,560,563,563,691,1006,648,558,615,579,456,370,322,336,352,334,359,364,351,332,340,348,399,383,377,431,480,462,386,331,338,343,350,340,336,323,323,356,398,406,389,397,419,419,434,456,468,477,582,578,484,539,610,729,669,755,1010,1144,1082,1266,1172,1090,931,679,758,662,508,831,638,412,450,411,728,1118,960,985,833,1350,1330,1708,1776,1434,830,539,459,635,944,1176,1356,700,565,631,880,874,1004,1388,939,460,488,447,488,501,579,788,1232,1462,1394,1092,749,701,1003,912,659,582,464,464,462,405,435,551,596,628,594,546,527,682,835,841,1016,1180,827,901,1162,963,554,723,824,1360,1312,742,572,499,608,736,602,569,533,542,607,692,912,1310,1410,1284,982,1130,1410,986,1064,1622,1540,1416,1230,881,619,661,629,482,370,386,385,347,385,401,384,370,539,579,936,1342,1432,1440,1662,1900,1348,686,1001,991,648,685,823,716,711,626,591,641,647,492,462,406,382,369,393,538,595,437,506,856,1001,1380,1532,1130,1370,1328,535,492,544,927,1520,1020,492,461,441,417,374,322,334,363,450,767,761,554,641,607,412,454,444,431,734,899,511,550,563,645,520,376,319,323,332,352,379,422,427,419,414,397,460,507,666,646,630,490,472,550,490,476,518,572,702,813,813,625,794,1096,1196,984,854,1228,1472,1052,589,615,788,957,827,1096,1328,1132,933,754,957,957,976,1164,1310,1308,722,486,514,658,852,1138,998,575,655,982,1130,1015,1272,1682,1112,910,1438,1082,546,382,614,814,744,539,411,425,390,400,438,539,560,728,814,1134,1432,1392,1306,949,553,449,416,432,430,549,1022,1014,1180,1478,1110,1026,1498,1272,750,866,1004,831,866,961,985,1384,1290,1274,1064,966,709,401,449,606,916,1038,902,924,1056,904,792,827,863,1020,893,647,624,641,752,515,382,468,616,659,684,870,784,753,761,669,585,581,951,1376,1448,1338,1230,1044,670,609,536,678,865,659,478,635,763,532,480,502,816,1632,1218,707,575,641,698,781,691,474,458,360,341,495,503,427,735,1156,1328,1182,863,891,1124,1120,1224,1318,1418,1472,1510,1538,1156,1108,824,741,1198,1434,1116,836,1024,838,1110,1340,1306,1004,545,516,489,611,789,991,1048,1034,1004,984,994,1186,1021,708,675,780,1200,1262,1182,1182,1013,708,491,558,930,1258,794,746,1268,1222,737,728,614,672,966,1096,1108,1396,1476,1586,1476,1418,1494,1312,1374,1070,1052,1428,1550,1410,1056,675,644,1076,1256,1224,1042,1100,1174,1064,1272,1416,1072,679,672,833,1286,1432,1714,1504,1132,1316,1614,1244,828,789,1001,1086,687,492,1104,1680,817,774,1042,821,1040,1118,1074,870,703,647,799,1264,1154,670,896,1068,601,585,1058,789,518,929,1196,842,394,712,1104,1238,1396,1074,1034,909,899,1226,1506,1656,1434,1226,1238,1350,1542,1534,1382,1340,1510,1332,1240,1296,1556,1502,1048,973,1186,1536,1608,1510,1118,922,1086,1028,1400,1244,731,591,361,310,611,600,599,1276,1260,1190,1082,1296,808,453,446,651,647,507,500,492,742,783,859,859,1010,593,484,536,603,1044,1660,1306,625,596,737,999,673,428,391,653,1090,1156,719,654,935,943,904,683,843,911,875,877,714,738,1114,1005,792,871,1032,1016,806,596,660,493,327,431,415,634,543,370,427,684,656,650,702,691,887,625,396,437,379,412,940,990,860,928,1098,1172,1146,1158,1098,855,1220,1386,1464,828,495,498,585,514,438,764,1196,1004,745,1170,1102,509,426,664,982,1090,940,886,1128,1062,752,724,881,1032,1060,1872,1986,1310,1378,1164,1140,1540,1294,865,796,606,653,1178,891,1264,1218,561,738,760,670,493,390,392,400,407,396,380,365,343,378,451,556,714,637,567,697,881,1076,1044,672,705,756,543,420,425,433,480,503,690,702,625,810,974,1218,1384,1456,1560,1456,1388,1244,1538,1736,1570,1450,1312,1023,1138,1184,1060,995,904,1066,1362,1638,1362,1015,740,790,854,646,388,370,419,410,381,332,474,727,769,653,786,734,520,550,743,754,697,1126,1184,1220,1748,1368,1262,1216,870,721,791,840,532,373,552,449,356,351,455,446,452,346,335,362,404,422,396,323,379,376,464,478,408,469,908,874,1124,1406,1510,1550,1488,1236,764,670,795,1156,1064,982,651,476,545,841,1144,1344,1370,1042,749,564,380,412,666,1006,1860,1970,1518,1502,1330,728,860,1356,1350,776,412,449,607,580,426,401,418,443,498,473,385,354,444,577,517,461,458,490,551,504,417,542,666,567,320,485,1004,1144,1050,667,869,1166,1184,1244,995,1294,3002,3300,2344,1174,908,821,931,916,1460,1244,829,761,699,778,835,891,984,979,1084,1192,1244,1416,1588,1416,1160,1048,1230,1428,1572,1810,1422,960,869,677,832,785,943,983,907,946,987,921,801,611,545,466,477,447,386,420,905,1450,2182,1680,1600,1936,1200,1118,974,1058,868,639,875,1144,1272,1238,1356,1572,1692,1706,1864,1858,1754,1364,1314,1016,1130,1068,637,539,977,1336,1600,2172,2962,3274,2734,1106,586,683,745,890,1272,1830,2524,2652,2002,1788,1704,1338,1132,1002,1454,1520,1450,1804,1946,2846,3632,3748,3428,2420,1750,1594,1366,1268,1376,1488,1412,1406,1330,1128,1064,1046,1034,1362,1446,1028,1340,1330,1398,1390,1166,1152,965,1058,1394,1334,1058,1088,1074,1154,1018,772,583,645,864,1015,987,1056,1200,2178,2540,1686,1576,1464,1484,1416,1562,1590,1338,1192,1034,765,686,957,1244,1064,968,946,778,940,1304,1312,1124,987,1090,1324,948,487,739,1362,1758,1656,1284,1066,1108,1100,964,870,846,862,886,1100,1068,802,852,719,488,436,498,618,858,917,546,528,655,1034,1168,1068,1350,1738,1760,1396,1318,1340,782,777,1160,1406,1226,1090,1122,1202,1530,1678,1990,1410,1082,979,941,973,763,731,901,1094,1192,1192,1242,1412,1020,501,437,583,861,966,835,885,1090,1374,1502,1084,1013,724,582,1334,1078,924,1028,686,557,524,635,618,771,871,789,1184,1196,1023,1496,1350,884,686,788,904,942,1284,1328,1396,1518,1160,901,761,525,474,517,750,727,638,544,471,605,803,944,888,607,543,474,901,1206,1128,963,744,533,391,446,516,636,912,1206,1264,709,480,556,543,593,777,799,950,1326,2010,2040,863,683,717,1108,894,510,522,594,865,1110,1310,1404,974,1246,1300,807,604,487,744,1306,1488,971,841,1034,937,868,565,706,1064,724,523,742,912,583,791,1009,518,307,323,332,533,477,469,677,581,394,490,610,503,466,471,469,610,797,959,1318,1276,1026,1044,886,651,889,1126,1196,1136,1340,1570,1102,1052,1554,1064,781,904,1158,855,872,762,865,753,645,782,874,993,1074,794,757,764,778,786,760,721,987,1614,1182,667,867,1208,796,455,844,1312,1578,1430,2234,1876,1860,2138,1750,1544,1562,1342,1070,1202,1260,1412,1110,724,476,509,530,773,1150,896,374,625,899,644,508,621,425,769,1068,715,612,1023,1076,864,1144,1306,1094,1102,1054,628,572,628,926,741,531,542,382,339,346,360,350,463,470,404,515,659,508,437,581,626,431,422,475,452,423,397,410,430,451,470,442,408,397,376,370,435,619,1178,1418,946,839,760,512,446,408,454,477,448,427,405,566,891,1124,1300,1470,1334,1360,1116,937,993,966,877,1004,1042,1032,1622,1552,1384,863,861,971,778,596,462,407,591,1001,1024,689,992,1056,802,929,1332,1584,1412,819,472,963,1194,761,536,693,849,1176,1374,915,987,1572,1628,1344,1266,1210,1296,1088,723,945,1308,1056,815,1226,658,688,579,831,1448,1318,1034,929,767,616,594,411,357,565,778,680,1104,1428,984,529,429,363,394,630,725,417,376,491,610,874,894,794,1110,1192,1080,721,447,455,502,711,852,491,494,651,548,948,1456,1318,1062,1072,1520,1006,1400,1416,735,413,325,415,520,587,705,835,1222,1268,492,538,574,438,290,331,374,400,476,592,636,812,1044,1092,1054,1370,1104,636,854,713,796,648,486,422,410,694,1030,1394,1556,1280,866,1356,1410,1206,1514,1023,1026,1734,1904,1676,1546,1198,1028,814,998,1040,1174,1013,1080,1554,1478,1108,837,678,689,513,694,1320,1632,1322,1122,1296,1036,924,1280,1450,1086,603,576,672,554,605,642,1017,1238,1282,1060,880,727,907,1226,834,689,999,847,736,1202,1384,862,777,491,411,424,462,536,602,522,477,584,821,724,1116,1290,1506,1610,1952,1864,1286,1094,1142,1216,1212,896,1088,1550,1452,977,1100,1482,1570,1392,1252,749,396,414,392,310,380,559,440,444,497,565,709,781,597,623,878,1034],[1474,700,430,468,432,434,552,558,469,553,1150,1126,686,642,566,532,472,415,368,335,305,328,349,321,338,350,350,343,360,387,422,411,425,477,492,449,383,327,346,348,338,325,330,330,335,357,386,389,375,369,365,351,360,369,400,443,501,521,607,760,1266,1508,1246,1198,1164,976,498,477,459,578,498,475,592,517,401,344,295,401,542,574,695,1054,1086,886,732,1056,1318,1694,1776,1214,601,433,470,630,1004,1260,1188,816,1120,1302,973,569,1062,1686,1138,441,391,348,398,455,602,744,659,1226,1162,833,833,760,882,940,654,571,541,453,386,363,441,376,462,523,565,556,417,345,340,422,582,636,594,1042,1422,841,409,413,802,1532,1332,633,505,574,605,766,882,707,573,480,480,612,1122,1582,1808,1786,1706,1612,1338,1510,1508,1870,1480,1188,854,550,478,417,478,621,453,405,359,351,322,362,360,511,610,616,1030,1324,1198,1250,1562,1566,1004,629,1224,1090,719,659,823,917,944,871,722,774,717,586,681,598,582,590,538,601,771,914,1044,1216,1100,1124,1212,806,1242,1368,619,424,543,1258,1544,891,576,579,459,423,397,377,413,450,626,1070,1108,904,744,502,383,354,343,368,575,668,484,507,458,390,393,371,365,349,343,357,384,410,375,409,443,444,547,501,536,678,681,526,444,408,383,464,560,556,678,645,609,514,567,902,996,738,585,939,1586,1414,818,526,575,724,634,913,965,989,1098,1360,1548,1252,1252,1266,1350,1282,888,927,1422,1602,1650,1534,1026,744,965,1012,923,675,863,889,798,986,986,1180,740,462,814,910,877,736,503,526,485,491,575,800,810,774,537,717,918,833,851,868,639,529,372,410,455,526,1052,988,991,1136,841,650,951,965,785,702,649,595,736,1568,1944,1770,1024,897,1116,1042,760,516,517,664,825,1186,988,571,648,818,699,741,821,823,858,822,1086,1816,1678,930,943,1314,1256,1322,1130,957,808,743,818,841,814,691,825,1016,1324,1280,1364,1358,929,695,653,557,521,543,572,625,814,730,544,566,624,1288,847,401,362,379,412,587,614,590,533,434,568,573,539,629,927,1102,1368,1160,676,839,1170,1272,1272,1316,1378,1328,1432,1338,898,832,542,812,1378,1746,1504,1010,907,676,1102,1330,1448,1014,672,650,814,1058,1250,1332,1422,1404,1268,1246,1003,891,647,678,783,929,746,1014,1644,1542,1056,600,629,894,901,1078,1070,910,1204,1034,1038,1226,1009,727,769,683,672,1366,1418,1262,804,707,1196,1394,1160,778,927,1450,1660,1388,720,622,948,1164,1252,1068,904,877,1007,848,728,1168,1432,1056,805,1122,1292,1100,1410,1020,862,1128,1530,1288,796,936,1334,755,514,466,600,841,608,550,690,859,1152,1252,1044,947,1050,1194,1078,1196,1038,958,1068,857,446,332,419,516,799,914,724,604,419,651,921,992,969,774,770,694,727,927,1238,1442,1640,1730,1534,1552,1604,1208,1114,1224,1396,1358,1206,1086,1060,1216,1120,1044,1272,1522,1680,1434,878,828,1218,1236,1394,1184,678,491,432,526,810,650,714,1194,1410,1272,1430,1120,653,545,487,600,564,539,553,507,639,810,1108,1104,867,675,561,384,377,746,1408,1236,675,553,372,673,913,752,451,517,1164,1450,827,548,986,1286,1234,654,661,444,393,572,741,766,783,933,1188,1156,922,774,897,645,732,800,614,600,604,897,890,758,863,918,692,665,565,546,919,784,600,574,656,736,836,852,997,1186,1556,1856,1496,1252,1164,670,1040,1246,1426,1232,992,898,816,692,692,960,1096,684,534,530,639,565,670,868,978,808,483,636,968,1162,808,472,645,911,1100,1704,1864,1444,1494,1520,1072,836,707,619,571,626,694,1004,639,715,704,561,434,340,388,427,439,418,360,359,336,338,364,498,803,1130,1248,1130,730,443,480,484,480,624,669,625,689,677,672,540,423,415,389,411,406,397,362,409,550,548,807,1046,1102,1290,1484,1708,1692,1436,1370,1236,901,1184,1260,1152,1246,1098,951,1132,1210,1058,904,954,1080,628,460,350,345,376,389,384,338,302,528,648,494,469,507,611,827,794,1056,1284,1372,1158,1650,1562,1164,1120,911,821,1012,1142,1168,874,485,565,611,398,306,372,397,359,370,423,374,433,513,642,408,341,272,399,417,350,742,1164,1346,1598,1542,1486,1430,1284,1084,806,781,811,793,716,689,474,375,456,592,833,1048,847,649,421,346,420,561,731,980,1162,1060,1176,1582,1120,636,1130,1354,1078,448,331,392,398,413,453,447,419,414,468,451,414,396,598,855,825,801,802,795,854,686,448,626,695,543,341,513,794,1114,1098,877,670,764,985,1104,1126,2504,3754,3804,3624,2762,1316,899,1130,1322,1664,1440,976,832,785,825,771,605,637,752,822,868,1020,1410,1312,1152,1170,1108,1196,1332,1496,1588,1302,1350,1023,698,811,719,656,785,857,719,736,794,799,612,553,470,449,380,347,399,498,1024,1484,1480,2400,2106,1066,853,767,1122,1064,715,916,1158,1172,1218,1254,1390,1462,1488,1624,1748,1650,1576,1666,1756,1838,1438,938,781,985,1218,1460,2030,3084,3454,3452,2256,1006,570,701,955,1060,1582,2272,1860,1544,1700,1706,1606,1354,1542,1722,1444,1508,1506,1400,1860,2788,3146,1984,1578,1794,1664,1588,1440,1440,1298,1180,1198,1240,1330,1170,1016,1046,1178,1516,1330,1338,1100,1052,1378,1372,1200,1078,1136,1390,1384,1104,1110,1036,919,1300,1302,879,896,962,895,957,1146,1386,2070,2064,1996,1316,1074,1052,1394,1502,1628,1448,1346,1466,1562,1290,1388,1322,1132,978,865,684,626,885,1118,1234,1128,1058,1310,1212,743,539,1016,1350,1278,973,1072,935,872,716,524,585,762,882,1000,1094,943,697,654,531,420,489,793,1020,690,432,393,592,1232,1458,1340,1182,1268,1184,1334,1436,1178,1174,1316,1264,1136,987,1136,811,912,909,974,1116,857,845,941,944,802,662,721,1154,1164,1190,1372,1310,1164,765,513,497,978,1260,1448,1276,952,1330,1114,810,893,767,819,673,1140,907,622,537,643,700,432,542,817,994,809,658,1206,1364,1198,1436,1512,1318,1040,866,634,531,743,960,1258,1116,1078,715,449,338,379,464,464,397,416,450,426,416,586,1134,1476,1170,797,519,438,397,406,511,529,519,392,568,553,596,556,967,1050,659,490,534,487,559,568,566,793,813,982,1222,758,481,503,704,541,538,649,637,1224,1466,1178,916,902,1772,1500,1578,1338,725,800,1016,866,686,642,530,460,443,344,699,1230,1242,898,827,951,639,577,815,448,295,223,244,465,415,721,962,636,359,374,541,631,609,546,821,691,797,984,1354,1344,1428,1416,977,749,910,1312,1534,1382,1284,1300,1074,1410,1622,775,562,863,910,604,537,649,596,343,453,568,689,753,843,745,915,824,570,659,1007,1150,1254,1444,907,735,799,940,691,797,1250,1604,1582,1204,1324,1802,2340,2354,2176,1786,1368,1290,1016,1522,1634,1776,1720,1078,731,820,688,711,1098,963,487,630,888,560,386,558,561,828,1172,903,930,1162,1128,1252,975,866,944,1090,898,989,1162,1166,1074,578,484,567,376,422,613,461,448,591,623,534,807,973,696,530,603,647,406,455,429,424,426,422,447,475,484,452,401,390,401,376,388,450,565,1070,1062,957,988,675,474,467,413,394,407,406,485,630,1096,1514,1454,1282,1086,1023,1023,1040,1268,1426,1216,1096,864,908,1252,1284,1202,1316,954,1072,1106,839,639,462,454,543,877,855,630,1044,1220,1040,960,1192,1346,1506,1294,686,777,1206,977,595,917,1042,1142,1023,1072,1452,1536,1546,1604,1236,1106,1312,1014,1140,1562,1394,965,617,757,773,720,670,935,1218,995,685,607,304,374,665,464,327,339,530,584,858,1362,1396,1184,484,396,471,828,1106,830,551,663,1090,1404,1028,739,985,994,1048,1036,776,606,532,896,738,454,425,473,561,1156,1780,1324,1312,1726,1406,640,623,458,483,568,492,404,563,688,610,697,1146,1218,580,447,377,327,289,247,332,408,331,338,479,920,1558,1186,789,1030,597,440,483,497,557,537,438,402,653,1264,885,1200,1296,1226,1040,1156,1198,1294,1272,875,918,1524,2036,1596,1262,1020,1140,1100,1258,1282,1566,1330,1364,1716,1498,803,572,710,1056,869,984,1404,1990,1730,1398,1226,1082,1034,927,742,438,394,513,733,529,832,998,1174,942,1034,1080,1024,1122,1294,1108,414,661,1384,1036,777,1284,1538,1270,700,424,369,423,383,453,572,486,340,345,679,917,1284,1006,853,1292,2046,2314,1920,1572,1218,1328,1302,1204,838,906,1009,1054,1284,1426,1388,1456,1300,682,444,377,417,364,428,345,384,517,544,537,606,503,399,491,761,745],[649,364,361,441,450,477,570,557,455,711,1554,1174,613,498,563,554,476,452,461,398,338,340,346,324,338,350,347,338,350,364,377,400,443,485,463,364,324,322,348,346,340,350,339,325,338,355,365,361,363,363,369,391,384,367,354,412,459,406,442,642,816,879,919,984,1054,911,502,504,630,653,731,814,844,854,567,305,256,440,735,751,823,1030,1122,762,487,749,915,923,1082,1122,671,653,665,683,907,1224,1396,1578,1866,1760,1120,652,932,1352,1234,878,479,457,552,535,825,970,871,1122,782,579,579,525,713,848,516,530,491,428,459,461,515,497,414,453,481,482,455,364,335,360,414,464,529,782,910,596,454,467,990,1516,966,503,512,627,690,942,950,828,699,558,595,923,1156,1206,1628,1498,1790,1528,1508,1648,1020,939,1084,907,547,527,495,507,574,598,457,477,399,417,443,476,499,548,555,670,896,943,1048,1416,1438,1478,1042,632,861,794,568,574,789,1044,1126,1116,941,949,784,713,733,694,693,733,660,650,1096,1510,1322,728,561,633,705,471,662,947,806,682,663,884,941,769,905,780,532,486,399,386,591,630,1070,1582,1394,1023,679,481,407,346,323,372,441,487,477,420,335,343,347,352,370,346,334,355,373,400,377,414,476,570,656,557,554,698,675,513,426,408,396,485,542,484,440,405,426,491,516,750,917,857,821,995,1356,1254,1060,657,498,469,529,828,927,1068,1570,2244,2150,1102,772,720,613,560,805,889,877,1074,1134,879,755,1084,1584,1104,1104,918,957,1032,1092,1138,886,720,466,590,923,805,952,801,599,703,774,778,819,960,1058,990,689,513,513,515,646,1050,1222,834,473,466,440,685,1482,1328,669,684,700,614,608,532,543,473,472,506,948,1798,1498,933,775,938,1374,1250,844,973,849,630,521,859,735,641,841,898,811,804,714,587,785,1052,1038,1554,1190,1154,1332,1164,788,995,1470,1376,901,988,1206,1116,1176,965,756,1054,1254,1224,1212,1278,987,643,576,516,624,777,667,608,776,761,760,659,694,818,593,458,425,414,414,452,446,582,804,844,863,613,594,924,968,996,1144,1038,846,857,948,1019,1058,1146,1292,1298,1270,1026,917,845,739,1098,1294,1620,1534,919,844,759,1168,1300,1422,1038,603,830,1176,1244,1274,1390,1576,1478,1372,1216,929,841,918,1002,1114,926,655,913,1002,854,663,613,924,842,535,861,1254,1292,1376,1318,1472,1650,1238,526,446,459,656,966,1144,1126,832,796,1252,1242,844,669,774,882,1182,1442,1014,957,1290,1226,1016,1040,1082,971,945,728,662,755,1190,1456,1588,1748,1772,1406,1482,1568,1390,1382,1506,1324,778,797,1220,609,471,437,385,426,498,775,808,757,876,943,878,905,1116,1210,1238,1424,1302,949,708,563,532,662,772,722,706,842,1106,759,437,453,510,457,672,999,984,732,673,1164,1616,1708,2364,2104,1462,1416,1512,1164,1246,1362,1260,1118,996,1038,1034,1088,1216,1538,1788,1722,1526,1126,819,858,1096,1238,1236,927,599,676,1224,1138,1136,932,852,1046,1158,1282,1338,835,711,637,527,438,596,567,471,466,656,1023,1432,1440,982,516,507,637,517,475,487,503,758,735,601,421,625,935,902,594,496,619,459,512,995,1132,982,738,694,402,331,660,906,735,661,1007,1410,1572,1122,653,963,1132,1060,821,768,738,672,715,975,1154,1232,1182,1272,1052,881,979,1250,1102,887,994,965,721,944,1268,1224,1108,1484,1990,1652,1318,1206,829,1220,1884,1814,1324,1026,860,835,538,586,666,670,451,482,615,844,1116,1082,706,645,766,621,736,808,1478,1023,659,777,946,1162,1506,1750,1510,1314,1432,800,601,938,821,694,1296,1284,1216,1084,844,622,557,455,336,362,404,407,317,271,386,415,409,614,905,1060,1040,893,714,495,471,559,677,791,912,949,936,1003,1000,927,702,405,383,412,411,384,374,352,378,390,408,395,419,458,645,1019,1290,1570,1644,1334,1230,927,1162,1256,1284,1240,1248,1264,1106,901,918,898,949,695,418,355,337,318,350,392,457,484,412,474,468,407,410,506,566,761,981,1700,1870,1348,1076,1296,1302,1252,1156,929,543,692,1134,1104,913,715,540,519,422,353,384,369,359,342,347,375,483,508,583,460,396,381,391,320,375,862,1126,1200,1308,1334,1234,958,973,921,993,800,805,747,532,575,659,639,851,1186,1356,1454,1020,627,376,363,605,1028,1124,841,790,1172,1204,1368,658,885,1260,1238,735,331,280,343,344,389,512,503,503,522,620,591,620,668,723,757,703,794,1021,1088,963,692,519,521,747,478,507,690,755,594,753,996,982,938,1048,1374,2170,3564,3836,3854,3814,2780,1632,1011,838,951,1388,1600,1158,862,857,1040,878,487,430,578,650,700,749,865,937,944,1014,1108,933,1040,1146,1244,1324,1284,823,594,639,469,417,659,760,559,577,679,752,593,507,462,445,393,365,421,483,645,670,921,2014,1732,1078,871,722,899,983,840,1050,1252,1150,1010,1013,1230,1218,1188,1416,1618,1436,1634,1870,1862,1716,1558,1442,1180,1238,1354,1636,2010,2862,3176,3240,3194,1982,799,623,891,1086,1110,1272,1428,1834,1910,1396,1518,1492,1406,1386,1626,1318,1062,1186,1484,1830,2014,1354,1380,1438,1454,1576,1528,1462,1124,917,894,898,1140,1160,1134,1208,968,1158,1318,1222,1020,1066,1294,1452,1428,1226,1130,1236,1178,1148,1108,987,1124,1512,1386,1060,1158,1344,1272,1214,1392,1512,1346,1396,1654,1120,947,1096,1150,1344,1532,1500,1556,1786,2154,1750,1432,1176,1326,1400,959,554,509,678,1058,1350,1166,1144,1472,1168,1009,1060,1238,1226,1188,1340,1252,878,695,783,506,551,772,1192,1220,1156,1350,991,755,655,494,442,603,614,490,412,434,851,1136,1340,1166,916,895,1058,1366,1212,1316,1332,1080,870,836,939,858,706,990,1008,860,717,564,764,1110,791,680,691,703,1104,1108,1290,1400,1246,987,896,961,896,1154,1366,1322,885,1017,1148,629,731,659,591,1148,1336,1232,1038,783,514,700,742,609,538,851,1142,1226,1050,1308,1270,1120,1322,1556,1334,1434,999,556,416,437,590,803,818,909,861,689,525,343,409,421,405,363,426,419,651,1074,1824,1704,905,697,580,394,386,398,387,390,554,565,669,568,538,621,817,894,494,401,359,384,529,502,568,605,705,590,591,561,569,494,312,437,444,544,702,1636,1782,1182,535,600,898,927,1328,1100,652,1094,1378,804,400,354,262,254,251,303,789,1278,1300,1140,880,622,544,322,274,294,311,363,303,281,417,890,943,538,308,366,647,849,839,669,892,984,716,481,1030,1306,1210,1064,683,584,909,1492,1282,1142,1005,1176,943,1160,809,402,358,552,758,677,694,803,660,375,358,355,350,315,536,637,731,698,667,804,839,1346,1422,915,952,1122,1344,810,885,1344,1596,1682,1428,1396,1788,1864,2038,2264,1998,1146,641,1152,1440,1730,1886,1936,1678,1284,647,472,559,644,915,825,800,915,954,541,407,867,947,984,1306,977,771,1180,1204,1306,1110,771,640,908,770,880,1030,1038,929,396,342,402,353,577,976,760,810,824,720,630,834,940,678,607,664,717,428,400,411,422,427,455,475,477,435,402,402,397,386,354,358,408,411,818,1038,1038,755,458,426,436,458,422,460,755,1238,1426,1528,1396,1232,1122,1116,968,931,1216,1252,1284,1200,1256,1212,1174,1578,1324,1094,1262,1006,913,948,773,763,916,1366,884,595,984,1184,912,987,851,700,996,1504,1810,1402,796,637,882,892,797,825,846,927,874,963,1312,1450,1578,1622,1472,1560,1494,1378,1626,1422,1246,1442,1126,1152,1278,872,578,954,938,777,811,905,570,437,876,727,419,575,735,687,1378,1760,1378,1094,954,664,595,1002,1604,1200,626,860,1356,1650,1312,669,841,1284,1484,1406,1060,865,952,982,748,465,385,780,1340,1180,1312,768,1312,1808,1460,948,471,499,894,1134,919,532,730,664,484,597,847,833,677,431,291,328,323,272,276,335,301,351,652,870,1080,654,428,452,477,506,603,788,979,1072,958,753,563,1106,635,749,921,771,792,1326,1428,894,706,863,780,833,1476,1490,1060,707,974,1130,1406,1604,1394,1234,1428,1592,1306,609,434,556,685,747,1086,1330,1700,1448,1058,875,713,550,401,435,487,731,788,937,768,797,654,593,525,690,783,835,761,789,841,443,697,1562,1244,877,1260,1450,972,478,397,468,549,455,550,646,457,375,340,604,1054,1506,1500,1064,842,1244,1372,1490,1310,921,1074,1312,1332,1116,1112,1188,965,890,1204,1406,1370,1174,698,710,644,528,536,594,469,417,413,515,748,854,699,520,724,1220,1556],[479,443,447,434,405,428,462,454,441,645,1003,814,630,562,527,554,549,625,672,633,470,355,334,338,341,352,359,361,366,373,373,358,408,453,420,335,314,320,332,344,343,371,391,337,347,354,355,369,361,372,387,402,372,353,328,365,414,404,504,659,647,697,669,631,859,837,743,722,809,912,1062,1218,1434,1820,832,351,337,539,828,995,1218,1066,903,830,672,503,541,482,608,1194,1184,1332,998,1048,1172,1184,1298,1366,1262,1246,1062,1298,1694,1652,1284,951,513,540,656,580,681,723,865,916,670,928,851,656,767,927,610,433,434,465,579,774,990,993,608,431,387,384,434,375,301,336,350,561,827,934,849,502,501,740,1570,1828,859,494,514,517,607,650,590,609,583,528,639,863,910,1124,2020,2012,1776,1114,1130,1058,671,639,751,905,827,943,709,570,536,528,455,452,401,473,562,564,659,670,565,583,1116,1126,1324,1508,1484,1550,1184,673,704,832,646,589,894,1112,1140,1334,949,818,733,1016,1112,916,702,694,604,669,1162,1564,1170,578,477,517,488,402,436,640,738,568,559,840,1440,1592,1168,918,919,964,787,874,1096,815,1108,1484,1240,904,655,623,467,431,450,415,411,452,432,357,330,337,344,360,365,338,330,340,350,373,374,419,481,554,634,661,669,621,555,496,487,551,588,584,554,532,441,369,430,529,775,1132,1018,961,1160,1226,1130,1120,1038,839,775,773,891,896,656,650,845,1110,674,376,336,466,542,509,645,761,1012,1412,1294,889,783,845,908,980,1078,1146,1082,902,878,935,707,569,422,569,741,519,965,1074,827,766,855,879,915,1036,1152,1110,645,396,358,392,484,949,1622,1118,570,515,455,608,850,702,636,659,561,439,409,327,342,414,441,551,1288,1862,1520,1126,803,1130,1620,1526,1012,888,707,544,536,797,849,607,583,807,929,681,517,471,590,1040,1286,1494,1202,1024,1021,843,536,820,1490,1394,1014,1005,1230,1260,1260,1026,885,1066,1164,1100,1017,892,651,521,448,494,919,973,736,681,765,846,869,558,441,517,560,610,663,689,560,413,462,643,891,1112,894,722,915,1060,1048,1264,1272,1634,1508,1228,963,731,777,1070,1292,1312,1224,1052,1160,1246,971,971,1108,1344,1362,1008,944,776,1170,1266,1286,1104,607,729,1013,1128,1162,1592,1488,1214,1312,929,799,1176,1266,1002,849,870,1060,1364,752,689,586,538,526,506,999,1622,1422,1274,1354,1422,1246,1086,932,768,603,733,1026,855,846,911,714,746,839,571,576,858,1096,643,578,937,847,991,1100,861,651,925,1038,951,894,861,690,591,839,1136,1530,1678,1664,1384,1450,1642,1466,1400,1322,1128,760,897,969,713,481,341,450,797,1200,1122,844,919,746,648,916,938,1007,1178,1240,1422,1460,1226,829,670,769,767,812,681,543,1210,1470,854,463,598,792,626,519,661,850,918,1208,1416,1614,1574,1748,1542,1184,1400,1574,1378,1200,1298,1264,1202,1394,1388,1364,1228,1332,1480,1816,1836,1608,1302,1034,899,869,712,839,834,781,1056,1076,1192,984,703,846,910,706,669,812,685,688,653,805,869,1386,1136,593,426,846,1294,1146,883,966,672,490,736,614,451,402,991,1554,1248,724,570,518,487,779,1042,715,429,413,387,370,493,521,549,556,464,408,581,673,546,738,706,828,975,617,521,827,1216,915,630,1016,1272,1038,828,1240,1310,1216,1088,1160,812,782,898,989,899,827,1226,1318,759,1224,1478,869,848,1236,1768,1802,1434,1180,1028,1240,1440,1296,1250,966,911,1292,828,462,278,296,335,485,744,913,1023,930,501,572,843,960,765,568,774,509,430,479,788,1446,1848,1670,1432,1116,1336,1015,1122,1606,1678,1386,1438,1536,1360,1294,1114,747,608,671,392,380,506,605,493,429,547,495,380,343,427,637,747,892,934,745,686,803,916,1011,995,982,1011,1009,965,885,778,448,387,390,379,363,358,354,350,370,410,480,527,469,377,366,436,1106,1594,1436,833,853,1168,1208,1220,1152,1134,874,995,1044,987,802,714,452,371,387,409,378,410,438,524,631,646,641,440,389,451,525,487,791,1214,1804,1842,1260,981,1050,1332,1362,1256,913,606,991,1158,1034,666,765,768,514,445,370,371,349,386,359,372,396,378,419,541,433,384,468,509,473,800,1220,1084,700,581,968,867,633,563,1030,1306,948,910,902,677,1012,1502,1378,1262,1142,958,1072,909,452,310,462,888,1158,969,980,1210,1152,872,644,661,1218,1378,1021,503,331,272,303,317,374,499,495,501,498,522,540,612,651,633,590,508,510,635,783,733,736,505,463,770,710,896,1062,871,661,779,1302,1204,1160,1182,1180,2742,3662,3758,3790,3200,2154,1580,1190,1034,1026,1058,1590,1382,921,929,1396,1496,935,458,400,466,581,749,787,824,752,718,684,719,774,702,716,827,813,587,645,843,579,550,769,711,590,536,566,662,630,512,444,440,410,399,444,485,524,613,681,1042,1332,1360,1200,1052,1108,1190,1232,1192,1094,1138,953,883,1068,1336,1394,1328,1404,1336,1278,997,950,1282,1384,1496,1460,1422,1426,1762,1992,2674,3376,3630,3804,3252,1910,635,636,752,880,1418,1930,1876,1306,1222,1610,1700,1626,1770,1732,991,1026,1350,1394,1438,1552,1526,1262,1416,1512,1488,1574,1404,846,775,962,1062,1178,1390,1238,1138,1020,1060,1220,1154,1076,1094,1130,1396,1620,1316,1152,1316,1250,1060,1082,1458,1518,1374,1150,1005,1076,1252,1156,1324,1514,1746,1534,1298,1148,1054,1034,1074,1234,1500,1226,1015,1092,1544,1748,1836,1582,1342,1272,1288,919,655,765,904,1086,1274,996,1156,1282,1044,981,1015,1044,1134,1432,1516,1322,1222,949,1246,943,662,781,1176,939,1104,1418,1332,1094,779,602,473,423,436,499,480,834,1290,1180,1372,1550,1324,720,1516,1946,1244,1294,1306,1068,885,912,923,563,539,982,1050,787,717,429,618,1006,877,1017,950,1116,1224,1042,1138,1032,1158,1128,1046,1072,872,1264,1408,1292,837,822,719,725,937,767,940,1294,1408,1432,1296,1070,777,845,723,684,840,1328,1490,1408,1368,1414,1122,675,646,892,952,1214,1134,767,498,550,713,563,376,540,824,854,781,531,422,407,401,385,428,544,832,1248,1830,1622,977,830,717,513,441,494,380,784,1066,833,766,638,455,604,1028,1160,516,491,561,550,583,552,585,539,626,794,984,1192,1188,1052,939,996,502,523,517,948,1112,909,530,387,371,448,580,535,653,1136,1080,795,373,254,274,304,292,491,783,745,1030,1316,836,471,413,274,317,505,901,1042,577,250,336,398,395,374,280,302,417,834,963,905,1154,883,435,409,662,843,984,894,615,847,733,1064,1422,1148,1234,1440,1058,725,775,857,711,761,908,857,1030,644,396,390,380,400,370,358,531,552,397,372,822,1024,626,924,1082,1202,1300,1294,1017,767,1214,1580,1658,1504,1400,1846,2072,1484,1444,1644,1300,853,536,777,1398,1692,1916,1724,1326,1278,650,489,707,848,904,817,872,1122,904,499,343,397,559,807,1015,638,690,1206,1274,1290,1216,732,661,1086,1080,733,448,480,560,563,527,500,506,719,877,973,1166,1340,1268,1096,916,710,594,542,639,686,478,387,380,417,441,429,448,401,323,384,404,429,393,354,349,358,358,554,812,996,896,482,378,429,453,448,500,1013,1488,1266,1144,1206,1350,1370,1072,775,711,987,1356,1682,1184,922,902,675,882,1082,977,1000,1182,1134,1178,968,1212,1556,1950,1106,568,791,1366,1262,1070,874,640,612,1030,1086,714,742,812,779,1076,1240,1009,976,1252,1212,1128,1280,1562,1762,1650,1602,1398,1244,1426,1328,1050,1244,1462,1396,1294,1346,1218,994,1001,733,800,854,905,799,462,450,404,475,1001,1266,1108,1792,1724,1132,1132,1602,1290,683,805,1200,978,803,982,1578,1698,1132,644,662,1360,1544,1402,1180,1552,1716,1326,1054,813,662,887,1690,1290,1166,1222,1002,1102,1896,1964,1122,514,946,1184,741,884,867,546,402,574,1428,1408,778,500,427,375,309,390,487,328,286,499,535,435,416,359,343,504,571,720,1038,1196,1470,1716,1448,1015,525,346,422,711,835,743,978,1592,1236,539,642,747,810,543,724,1150,1222,918,957,899,1096,1324,926,983,1304,1366,937,490,442,457,387,619,920,1106,920,636,796,968,727,394,352,403,822,1226,1224,881,980,880,503,550,687,807,755,844,719,630,582,369,387,806,988,901,1080,1118,1076,745,419,512,631,549,618,641,384,377,332,370,873,1716,2104,1742,1334,2024,1484,1214,1108,1136,1136,1282,1460,1218,1198,1134,579,420,673,1134,1294,922,1022,1202,1130,754,754,814,648,560,362,430,497,556,749,726,1030,1626,1650],[499,406,444,405,382,389,387,371,396,487,573,547,497,486,554,603,488,562,637,738,670,465,363,357,343,353,362,389,397,379,363,351,393,422,392,336,304,304,312,319,304,321,352,322,395,389,361,383,384,380,380,374,359,334,319,348,477,426,548,667,683,719,830,890,1056,851,518,441,420,479,814,1172,1350,1722,871,324,350,718,1280,1642,1484,1136,1013,749,529,479,615,541,625,1158,1274,1144,772,739,827,925,1262,1248,1056,1272,1124,1426,1624,1118,766,697,509,421,468,587,836,865,832,1005,1009,1104,893,878,990,1036,672,577,772,800,975,1232,1456,1292,605,356,384,350,422,370,329,370,462,1023,1326,982,761,509,395,828,1716,1530,736,471,486,497,517,465,433,508,519,430,555,612,622,1304,2050,2002,1466,880,1050,1172,837,752,853,849,650,1084,996,684,586,531,494,457,411,477,562,595,711,649,519,520,1134,1426,1432,1208,1232,1622,1348,696,716,975,720,677,976,927,897,1032,1058,913,854,948,1114,1172,750,637,601,739,1244,1782,1026,465,412,429,404,398,462,659,714,448,477,781,1372,1484,856,774,1092,1320,1134,1422,1594,906,919,1230,1132,664,480,483,511,601,548,408,381,404,388,354,342,342,333,333,337,336,342,362,386,387,404,437,432,481,636,813,708,420,395,437,464,839,1010,921,808,621,455,444,502,618,996,1196,996,1015,840,971,1204,930,692,929,950,845,788,525,391,364,322,593,569,419,405,566,713,709,719,953,1368,1852,1350,515,415,707,1092,1068,1062,1272,1116,714,799,1036,821,620,608,581,498,514,1015,1040,714,510,586,733,815,940,965,1116,830,508,391,395,405,800,1322,1192,706,498,459,478,464,438,468,509,480,404,382,359,387,418,388,649,1366,1750,1758,1584,841,1292,1654,1474,1014,800,821,1038,948,876,927,794,605,770,1224,1028,559,408,774,1242,1622,1648,1426,1050,727,654,663,875,1172,1128,1076,1230,1562,1616,1400,1020,914,1013,869,678,553,579,885,1092,596,424,624,658,706,669,636,887,907,494,455,508,502,596,641,690,731,641,540,685,929,826,626,695,1062,1050,1062,1244,1232,1328,1512,1510,1230,996,1005,1296,1378,1156,1036,1064,1370,1372,1290,1196,1216,1202,1230,1252,1064,851,1176,1320,1222,1112,848,896,1074,1072,1302,1542,1278,947,1146,1358,1322,1248,1280,1013,672,1009,1050,1080,876,943,1098,1064,813,532,1138,1766,1620,1214,1086,1252,1218,1260,1320,1070,826,839,827,604,526,745,803,766,582,329,461,733,574,549,736,1056,1202,1048,764,568,656,677,592,664,868,1126,820,728,1082,1228,1486,1654,1500,1188,1378,1474,1322,1376,1308,900,651,822,837,881,769,594,638,1090,1200,856,786,880,764,580,783,1020,875,969,1158,1212,1410,1294,1218,1236,991,867,846,789,776,1288,1194,924,829,867,1050,929,669,650,1016,951,1064,1212,1162,1194,1052,912,1184,1318,1320,1334,1482,1412,1352,1612,1798,1668,1514,1604,1720,1744,1648,1526,1268,1212,1488,1418,1126,704,531,775,987,1180,1212,1472,1022,477,636,741,833,710,615,700,631,577,822,1110,1402,1480,913,404,481,594,579,542,981,1218,824,589,489,384,472,967,1276,1098,802,715,753,529,403,675,1064,744,603,583,766,924,789,906,1280,1106,953,675,552,367,520,412,365,375,326,270,336,468,429,607,819,891,749,1126,1470,1338,1009,912,863,871,873,702,618,659,659,948,1362,655,863,1078,988,963,1260,1820,1862,1378,1178,1080,1062,1098,1070,1010,862,983,1186,938,724,473,378,528,716,686,490,627,1008,583,532,724,1018,755,412,287,326,414,637,995,1670,1786,1638,1262,1056,1354,1184,1228,1644,1764,1212,1134,1312,1040,1164,920,708,644,805,785,896,1076,1092,798,622,624,596,601,475,658,843,717,645,591,581,805,1050,1044,1008,977,974,966,886,911,1076,882,463,386,383,377,361,367,397,466,558,715,941,1208,905,490,417,386,474,952,1328,1102,1072,1156,1100,1216,1246,1146,963,1072,969,1017,702,500,439,372,466,518,392,420,435,461,457,537,658,494,426,463,457,591,1190,1712,1654,1278,1018,915,1056,1442,1414,1388,1084,887,1142,1272,1005,757,1248,1266,1056,690,581,566,479,379,567,645,510,411,431,337,277,336,455,601,816,1200,957,701,548,764,1198,1058,1094,1232,1422,1522,1420,1244,1344,1250,1580,1440,1432,1224,1016,1066,1332,1078,469,356,521,944,806,547,548,662,614,425,469,1030,1410,1386,894,411,324,290,318,318,368,426,391,373,379,406,404,436,450,397,510,686,537,444,409,480,908,590,428,720,876,895,735,883,1068,1054,1140,1112,1408,1112,999,1672,2314,3002,3518,2542,1826,1752,1484,1158,1314,1028,1350,1556,1148,1244,1758,1836,1290,633,537,538,745,1410,1378,1134,815,586,635,694,599,553,515,456,504,570,703,959,896,775,854,875,716,731,788,857,890,687,647,674,655,606,726,808,830,736,735,960,1078,1056,1044,1142,1052,872,813,990,899,744,554,500,635,1358,1896,2122,1880,1538,1742,1522,1418,1390,1496,1666,1604,1494,1480,1586,1738,2418,3066,2872,2686,2712,2374,960,642,626,656,1526,2006,1556,1378,1738,1678,1616,1656,1706,1562,1308,1274,1354,1296,1384,1486,1458,1500,1576,1386,1376,1600,1534,1284,1096,1013,1120,1460,1804,1460,1190,1148,1060,966,880,995,896,1122,1238,1488,1594,1422,1334,1202,1082,1232,1482,1542,1350,1108,905,872,1070,1326,1548,1670,1678,1644,1652,1586,1304,1130,1162,1410,1404,1302,1188,1054,1210,1506,1708,1664,1444,1326,1248,1108,1390,1400,1164,1040,1072,934,901,843,891,805,622,722,846,1062,1272,1538,1434,1334,1300,1304,930,791,1122,1050,1076,1428,1592,1514,1078,595,466,438,403,441,462,919,1058,1270,1480,1678,1482,1484,2690,1804,1198,1088,882,849,964,1202,1238,867,579,554,550,908,1620,909,691,677,556,684,830,1310,1290,849,610,583,787,871,673,375,440,990,944,985,1094,1068,908,857,802,838,1260,1584,1598,1570,1316,1146,1204,955,770,567,907,1302,1436,1334,1100,993,583,454,389,465,452,636,1128,1212,1008,795,521,293,269,368,475,752,876,822,518,292,272,395,685,926,790,822,1322,1272,1001,681,578,465,522,703,713,1208,1160,893,1268,1060,747,1286,1228,747,489,376,647,793,735,626,524,628,825,965,1030,958,963,762,1032,1062,688,655,557,417,608,637,419,463,403,433,633,565,703,765,479,314,298,262,283,329,370,707,747,501,740,957,528,513,543,463,291,437,859,1034,636,260,280,255,326,340,300,246,314,477,1178,1644,1218,482,309,357,378,590,954,858,631,699,544,892,1188,1012,1366,1288,648,957,1292,1230,1192,1288,931,767,960,530,343,374,412,371,297,376,571,711,836,880,1086,719,361,492,716,1494,1688,1422,1056,1132,1524,1740,1570,1386,1702,2174,2216,1620,1146,871,918,1212,924,658,1156,1562,1678,1736,1500,1230,904,1198,1324,1005,770,579,793,975,570,365,365,393,632,836,792,1028,1296,1176,1010,1264,1174,720,816,1296,1252,866,442,402,525,705,651,611,506,494,637,705,802,1218,1210,1160,1040,774,607,534,702,616,435,412,384,454,479,426,408,331,345,447,401,408,417,384,370,393,427,647,999,1244,1358,839,839,822,519,500,556,717,781,588,759,1154,1312,1328,1246,1007,640,822,1360,1604,1112,869,821,774,944,1216,1208,1072,1274,1466,1506,1008,870,1290,1460,951,551,894,1300,1484,1360,1023,888,684,602,1003,1015,1076,1122,968,893,991,948,912,1134,1084,1136,1346,1710,2034,1888,1678,1316,864,687,676,792,1212,1476,1282,1240,1384,1046,816,644,827,877,841,1064,1054,802,522,404,417,704,1140,937,985,1506,1448,1570,1904,1556,858,835,773,605,607,699,1240,1412,875,592,750,1516,1510,1088,1238,1642,1904,1720,1338,1016,1104,1032,1266,994,1468,1586,949,1272,1404,1130,839,542,772,935,599,1134,1216,737,411,748,1516,1390,997,916,526,361,325,913,1120,699,530,613,457,363,418,495,743,936,907,1476,1556,1314,1520,1352,988,639,389,335,407,571,825,988,730,954,650,579,645,702,1020,745,487,1030,1294,1034,954,1130,869,672,657,979,1038,1184,1060,612,631,863,634,482,726,919,435,345,572,1019,1152,537,326,398,651,736,886,892,798,879,708,683,1058,1276,1222,984,567,359,371,343,508,1028,905,631,1032,1134,1036,866,664,984,991,641,573,568,398,398,398,354,912,1786,1866,1528,1676,2026,2192,1888,1960,1910,1550,1754,1822,1538,1592,951,404,319,329,614,1234,1100,1088,1382,1314,976,975,997,860,744,446,352,360,476,596,533,556,719,646],[498,512,505,468,409,367,375,378,417,568,607,495,388,465,546,511,486,451,366,484,603,491,357,366,334,347,359,381,404,408,422,424,386,355,357,342,314,303,332,352,329,316,326,382,399,408,361,357,361,367,370,355,328,347,327,310,668,696,529,490,485,528,868,1178,1152,865,418,322,391,701,1074,1636,1488,1078,621,337,363,870,1656,2020,1940,1522,1244,917,669,739,665,477,579,896,743,436,398,382,354,600,1118,1296,1074,1432,1130,1180,1362,1018,664,630,592,475,550,703,929,984,767,759,764,777,935,1118,1382,1242,872,1318,1828,1694,1456,1362,1506,1364,686,420,388,418,582,675,664,498,448,811,1300,1262,696,618,922,1934,1796,987,604,504,557,587,495,365,339,599,556,784,1072,1188,847,766,1258,1600,905,545,944,850,423,548,959,796,671,1056,1262,1312,1042,586,531,539,540,477,564,657,793,649,509,558,946,1590,1744,1278,1368,1822,1162,735,669,1020,880,924,1174,1100,935,1100,1456,1290,945,891,678,594,611,558,584,689,873,1424,1062,559,455,419,455,794,1126,874,607,466,535,818,598,616,587,715,1198,1340,1068,1406,1624,825,686,784,969,647,478,443,489,530,484,404,368,365,359,352,359,361,342,330,328,337,361,378,386,378,378,408,404,458,552,750,656,471,430,427,459,901,1324,1302,943,616,455,547,525,430,543,750,842,810,615,607,691,682,551,791,1086,1174,998,504,389,386,409,506,498,409,447,657,756,813,737,1030,1228,1562,1212,534,511,1090,1188,944,1198,1306,841,622,830,798,822,839,1042,1012,860,946,901,598,430,391,500,707,745,840,911,1388,1248,586,336,371,372,450,783,977,637,416,429,428,464,513,558,577,532,429,384,381,414,443,440,697,1294,1644,1764,1452,974,1374,1576,1426,1520,1400,1026,918,999,985,836,1015,695,741,1540,1288,543,442,974,1654,1986,1844,1424,800,518,434,825,1138,898,839,1050,1272,1492,1656,1544,1138,814,856,1028,1116,1160,1412,1486,1650,1006,560,549,702,1009,955,738,825,861,620,643,872,656,501,534,592,651,688,592,555,718,865,759,797,810,970,899,947,1062,1038,1178,1292,1288,1270,1196,1366,1370,1056,1028,1176,1516,1368,1166,1070,1122,1192,1290,1180,981,933,1262,1376,1332,1020,1010,1021,1168,1170,1016,1160,1100,1144,1396,1434,1156,846,1080,1040,749,1112,1058,1062,1202,1220,1570,2214,1978,1110,1164,1384,1358,1550,1180,1118,1462,1396,1246,978,877,902,743,573,450,626,717,844,860,659,517,588,639,906,1240,1138,1100,1094,818,468,598,714,780,1056,949,825,776,1098,1218,1178,1336,1208,1534,1464,1368,1184,1072,1116,1106,781,552,393,444,743,1234,1264,893,1084,1007,1064,955,850,739,810,1088,1308,1228,1300,1080,898,1294,1310,1240,1034,733,769,735,859,1178,1670,1434,1212,1250,1164,1260,937,789,1016,1586,1484,1134,1018,1176,1360,1118,807,974,938,1076,1496,1446,1726,1648,1640,1484,1522,1746,1628,1590,1822,1656,1422,792,907,1576,2020,1810,1258,668,520,678,797,808,852,758,525,706,650,568,735,761,577,534,614,865,1166,1164,1026,499,419,334,291,331,452,1076,1382,1242,838,570,507,793,1378,1136,662,591,820,977,1006,761,505,507,594,621,574,946,1374,1038,847,1456,1740,1648,1042,981,661,428,456,415,356,374,275,248,228,226,326,279,263,375,925,860,679,583,584,783,960,796,668,625,486,483,664,1438,993,939,1460,1316,926,975,1440,1836,1490,1124,808,863,1252,1250,1086,738,852,764,694,852,735,649,656,880,550,723,1066,978,910,783,843,808,578,450,359,410,412,823,1092,1862,2058,1488,1068,871,1194,1432,1152,1102,942,535,558,675,639,1122,1102,915,1080,1284,1346,1378,1260,996,784,706,608,587,579,569,625,670,537,479,473,401,764,1264,1244,1094,996,934,921,835,925,1252,907,476,366,371,361,362,389,537,779,879,1004,1342,1802,1218,582,440,431,383,418,827,1214,1084,785,747,1100,1252,1140,1023,1048,1202,960,745,827,613,352,433,491,381,452,367,332,289,555,712,509,455,382,291,489,1092,1600,1536,1442,1002,854,1106,1420,1432,1466,1316,1150,1082,1158,998,1108,1392,1314,1004,948,1226,1200,1000,718,711,940,815,552,460,458,366,326,349,386,1048,1130,583,436,991,1698,1862,1936,1968,1832,1742,1750,1620,1502,1650,1510,1436,980,943,1068,1032,1024,1096,975,566,454,627,1054,658,493,610,519,395,413,778,1272,1472,1244,621,352,263,306,357,359,281,326,386,353,344,390,433,413,388,364,581,802,612,433,395,489,807,659,462,659,691,633,634,871,974,1200,1110,1368,1478,1086,1220,1422,1034,1440,2030,1612,1802,1672,1648,1416,1224,705,939,1520,1380,1092,1086,1146,1206,783,709,756,988,970,739,984,788,561,771,895,745,585,457,453,634,682,711,832,957,922,864,854,855,949,927,959,1046,909,959,987,1044,1044,1268,1338,1360,1128,808,750,814,825,763,767,659,603,615,795,718,584,584,584,707,1136,1622,1754,1464,1456,1726,1504,1288,1172,1170,1312,1336,1330,1318,1484,1454,1154,1017,1044,1148,1112,1000,802,785,847,753,1040,1388,1594,1632,1544,1526,1594,1690,1666,1444,1346,1410,1454,1454,1256,1288,1438,1474,1474,1506,1886,1794,1534,1594,1486,1332,1238,1684,1902,1406,1290,1490,1340,982,946,1074,842,1102,1012,1364,1640,1520,1360,1232,1196,1130,1252,1422,1344,1366,912,709,979,1188,1458,1650,1672,1736,1772,1794,1726,1660,1482,1342,1162,1338,1246,1164,1292,1264,1280,1500,1618,1460,1394,1216,1328,1350,1288,1044,808,927,879,595,714,717,513,657,1052,1422,1860,1480,1758,1574,1400,1282,1210,983,1080,1386,1396,1582,1610,1686,1568,747,461,454,414,391,430,676,846,885,995,1132,1064,1092,1590,1296,1262,1366,1136,819,1014,1302,1070,1144,1122,777,524,620,755,814,625,377,430,432,744,1196,1112,872,721,869,1192,797,638,688,623,641,604,658,1096,1336,1014,750,630,919,1190,1146,1348,1520,1216,1290,1114,1162,1056,582,586,721,948,1076,996,596,439,398,387,522,487,505,756,1086,1424,1082,551,342,290,297,382,790,929,874,641,391,322,583,980,948,690,722,897,711,539,559,583,428,415,705,1196,1470,937,1064,1276,1198,680,720,698,636,445,388,539,583,617,636,641,852,1116,1466,1604,1214,794,562,522,753,873,899,848,599,882,850,477,436,717,587,577,465,428,386,361,393,368,306,317,386,582,935,548,361,545,656,465,391,804,785,266,277,331,314,294,295,260,289,329,327,372,476,467,777,1660,1644,1056,645,305,364,465,631,1001,811,462,408,416,693,948,847,808,702,577,1098,1252,1372,1080,1232,1326,1164,865,437,247,301,385,336,328,458,666,919,1148,1208,872,558,420,373,764,1212,1134,1086,1122,1300,1720,1750,1030,1222,1540,1848,1852,1202,686,463,651,1096,1236,833,726,888,1198,1642,1456,1072,872,828,838,777,445,455,733,826,744,750,546,471,677,792,785,1144,1614,1148,803,1236,1268,955,1180,1338,1230,1078,908,968,940,877,970,858,645,664,613,512,1030,1572,1194,868,1386,1582,1346,804,684,623,372,448,478,496,459,440,361,321,357,390,351,364,402,375,344,419,680,934,1172,1276,1080,1112,1320,1256,888,662,642,615,537,467,483,739,1086,1470,1450,1106,572,628,1026,1184,1064,878,913,1138,1174,1270,1150,875,955,1348,1394,1156,1116,1352,1544,1030,486,760,1210,1444,1354,993,836,869,865,1084,948,918,883,819,924,858,640,824,997,1486,1654,1710,1752,1796,1526,1306,1340,1142,509,417,531,742,1174,1320,1466,1344,790,516,843,1072,832,1140,1592,1656,1448,988,482,388,430,650,586,709,1470,1652,1412,1276,947,819,1368,1348,774,446,473,766,762,566,665,1036,1438,1344,1142,1288,1208,1144,1180,911,968,1372,1328,1350,1218,1302,1178,1406,1758,1092,580,788,818,773,671,675,1264,1590,1130,582,636,803,757,717,586,374,288,263,858,1514,1328,863,781,642,416,472,746,1276,1328,1520,1854,1550,1242,814,490,532,467,369,287,275,374,628,1086,676,389,606,538,508,604,841,721,411,623,1084,1066,826,897,797,711,1118,954,843,1072,1108,925,1124,1464,1088,529,604,799,426,380,415,675,675,399,340,341,356,486,991,971,719,1138,1013,770,1268,1478,1126,868,742,523,334,300,477,767,624,847,1356,1538,1040,694,686,844,923,763,614,600,441,366,382,378,713,1382,1756,1222,1100,1766,2192,2116,2032,1908,1812,2178,2206,1770,1406,1054,601,396,346,422,865,1013,1168,1442,1200,1006,901,1390,1588,1098,552,421,421,505,630,630,694,525,700],[512,686,648,571,444,364,413,444,432,540,501,433,373,420,475,499,488,409,415,549,538,451,417,370,358,350,358,339,369,408,404,407,365,335,350,343,316,302,310,315,307,323,326,469,481,377,346,365,379,408,413,368,356,380,372,513,1192,972,429,337,373,471,705,981,1036,908,501,380,614,818,946,1384,1038,675,471,333,443,910,1378,1660,1626,1352,1380,1154,1296,1348,741,430,470,466,400,553,689,452,386,529,1158,1358,1190,1472,1112,984,1204,1172,1002,994,824,738,721,594,704,1134,879,596,561,909,1242,1234,1352,1270,901,1476,2036,1820,1362,1260,1362,1216,719,484,402,394,528,622,631,603,602,555,772,836,752,767,1142,1708,1382,722,572,585,503,514,471,364,311,476,410,594,1012,1382,1034,682,1244,1300,651,477,616,454,279,289,512,639,967,1288,1402,1464,1086,653,531,484,494,454,478,553,697,644,600,630,756,940,930,965,1130,1098,633,487,490,971,1098,990,1208,1292,1084,1166,1236,1076,1012,908,641,646,642,645,570,683,908,1330,1248,626,404,388,481,1070,1516,1104,733,586,675,760,648,656,560,672,1098,1224,1194,1412,1360,1006,916,885,995,802,706,729,681,580,471,400,357,344,335,347,367,351,339,354,347,345,386,398,395,388,359,391,418,398,390,614,582,446,452,456,521,907,1372,1284,833,563,455,472,428,379,375,434,583,728,1070,965,411,578,888,1290,1330,1312,875,538,437,386,458,491,468,396,419,688,764,896,741,1011,1142,1236,988,521,661,1272,1324,1122,1182,1118,736,713,749,567,526,915,1362,1172,755,576,518,484,444,442,610,698,821,1060,1172,1318,1104,771,897,935,547,401,451,606,536,483,489,465,489,555,614,630,561,444,393,400,420,392,329,535,1214,1710,1946,1704,1140,1312,1368,962,951,1158,1092,974,1094,926,957,1148,1214,959,1005,802,482,600,1228,1716,1758,1604,1620,901,549,413,836,1080,656,607,1060,1310,1300,1480,1470,1252,1112,1200,1498,1382,1390,1300,1044,1556,1606,1128,1002,926,909,853,753,668,709,896,1172,1538,1140,664,474,476,416,452,461,396,503,636,645,906,702,1132,1192,1136,971,869,1116,1138,1262,1302,1288,1334,1454,1250,1320,1308,1250,1164,925,919,833,893,1216,1302,1140,1098,1364,1278,1368,968,1112,1078,1180,1148,1116,1222,1142,1242,1358,1186,880,851,1176,1210,1032,1009,912,1348,1636,1366,1406,1434,1312,1346,1544,1692,1802,1606,1394,1470,1150,771,968,1066,969,1088,931,857,672,705,759,1142,1240,1158,1092,1001,807,1074,1376,1170,792,631,648,799,695,623,908,1192,990,725,913,1206,1056,773,1162,876,1088,1010,1172,898,706,1132,1232,988,800,363,434,808,1474,1266,1176,1570,1382,890,929,983,971,1010,1304,1588,1136,985,905,1005,1248,1362,1150,1012,785,958,1112,1060,2018,2172,976,858,1040,1190,1196,1096,1009,1098,1390,1370,974,749,907,1070,1092,1052,1324,1180,1166,1560,1302,2074,1902,1504,1400,1490,1694,1398,1366,1510,1496,1306,901,1404,2144,2142,1698,1114,616,383,370,497,695,637,415,549,763,745,688,708,745,746,930,896,1112,1694,1560,932,557,515,344,315,306,369,783,1350,1568,957,559,452,520,1178,1308,611,505,913,983,998,886,781,551,405,548,744,613,599,738,800,1706,1434,808,656,805,597,364,526,736,531,503,427,437,309,287,331,298,299,307,319,248,243,327,426,506,492,414,417,382,320,321,531,918,623,653,1012,903,811,760,1316,1992,1724,1122,791,724,930,1344,1504,1240,874,464,537,872,715,680,1016,1370,890,1124,1548,1390,1534,1328,1013,889,915,529,392,369,364,704,910,1322,1448,1188,932,721,886,1306,1054,733,581,554,652,803,1078,1250,733,644,1028,1142,1003,875,803,579,480,453,456,439,343,437,490,500,449,447,501,426,699,1396,1438,1120,915,1015,1078,1028,1268,1278,874,493,385,352,339,350,375,526,659,733,898,1036,1132,836,497,412,435,436,386,456,734,1228,1146,1114,1210,1046,1026,1156,1384,1188,750,669,564,388,329,324,326,363,491,376,319,454,676,559,445,453,399,296,408,818,1458,1710,1460,946,794,998,1322,1398,1418,1394,1174,1130,1144,1044,1140,987,1368,1136,783,1058,1276,1250,1192,1232,1108,888,835,489,398,292,268,325,450,1094,994,540,656,1546,2430,2554,2580,2492,2480,2548,2414,1786,1536,1574,1350,934,555,537,774,872,927,796,676,663,836,651,673,529,505,605,623,637,847,1322,1406,1122,746,388,318,271,283,308,332,310,383,439,391,397,434,502,502,500,463,587,625,497,424,399,409,556,501,455,686,698,1182,977,749,1272,1368,1068,1152,1090,957,1166,831,844,1096,714,1458,2086,1604,1498,1416,1306,760,719,1338,1482,897,906,1114,1242,842,868,1094,1276,874,784,880,670,570,769,918,979,869,699,659,764,844,1432,1644,1536,1620,1710,1614,1378,1160,1160,1070,878,795,813,869,870,947,1072,1104,1134,985,758,711,754,801,892,844,811,841,895,1048,1030,1042,1012,985,1056,1226,1352,1192,1180,1224,1278,1082,1002,978,982,1006,862,899,1260,1526,1186,808,977,722,672,719,798,1026,1072,1003,1098,888,850,1504,1552,1600,1568,1666,1526,1434,1478,1520,1382,1138,841,949,1534,1616,1638,1574,1780,2058,1662,1470,1388,1548,1436,1462,2014,1582,1172,1308,1712,1576,1206,1108,1080,1052,901,1066,1600,1522,1460,1520,1456,1356,1160,1172,1166,1036,1246,923,682,818,963,1418,1694,1694,1740,1742,1780,1740,1854,1784,1614,1294,1242,1170,1130,1178,1194,1144,1200,1152,1406,1484,1166,1190,1224,1366,1192,1032,1222,1176,771,751,698,875,1198,1396,1482,2138,1964,1804,1432,1266,1394,1554,1148,1152,984,830,1158,1450,1722,1842,1074,626,491,557,660,608,750,773,790,1054,905,1108,1220,764,1066,1214,1250,1466,1238,1190,1240,1110,849,926,1024,885,937,918,984,617,392,540,633,848,1224,1084,697,578,728,1234,825,1040,1360,986,695,692,860,1298,1302,994,879,545,870,1278,982,1172,1344,1298,1310,1192,1472,1170,606,547,653,554,824,977,797,493,412,623,987,974,1020,1062,801,1288,1260,953,634,414,398,371,502,583,439,396,479,513,1036,1482,1094,924,944,659,423,380,625,780,639,366,373,736,836,545,509,631,1070,678,456,697,623,525,630,647,501,415,461,401,616,1286,1444,1236,968,911,1020,905,865,649,668,687,624,805,1023,786,343,547,639,682,533,349,276,303,352,308,255,260,390,681,1019,947,884,808,809,449,297,807,958,318,280,263,291,314,295,413,476,404,317,359,561,541,965,1484,969,691,443,313,422,609,615,624,584,457,469,678,835,1096,1112,619,559,790,1040,1254,1642,1100,1060,1290,1286,1274,798,378,301,354,376,529,691,1032,1228,1228,1282,1054,731,529,447,843,1310,1015,878,926,984,1078,1017,984,1254,1338,1392,1142,1122,1136,761,736,913,860,771,489,487,998,1444,1338,1018,637,645,915,694,653,1122,1158,1130,1180,1354,1284,1306,1028,772,710,763,919,864,1026,1366,1348,1260,1362,1366,1318,1272,1328,1324,1164,936,895,846,893,692,457,608,1582,1946,1402,1164,1528,1806,1512,875,719,576,397,462,438,454,450,429,325,311,352,364,384,411,392,411,525,687,1208,991,1136,1148,925,1128,1292,1390,1240,907,749,827,758,608,461,639,1013,1516,1492,1222,969,1007,1086,1086,1009,727,916,883,737,811,1001,874,1060,1380,1274,1300,1562,1510,1258,1096,995,786,885,1034,1162,969,783,639,579,703,808,774,702,514,709,937,839,813,907,1352,1202,1416,1726,1528,1244,1024,1074,1382,630,397,502,774,1208,1628,1520,962,698,984,1026,739,883,1604,1662,1502,1548,1428,918,811,815,594,517,703,926,1070,1018,884,697,741,1017,1258,966,660,920,1070,821,817,989,1276,1346,1372,1308,1228,1106,1260,908,513,744,1214,1288,1288,1590,1552,1824,2004,1820,1282,868,828,985,807,559,677,1350,1698,1264,743,636,651,727,489,347,470,458,318,444,878,815,687,884,662,407,389,534,831,926,1072,1152,933,864,711,440,468,369,378,273,227,316,745,1136,811,473,491,440,439,420,665,811,655,789,1130,1056,754,588,558,1130,1624,1288,1100,852,574,477,622,1252,1410,957,662,561,465,510,448,367,289,305,362,379,474,812,944,648,730,1464,1408,1154,1664,1626,1036,922,1062,788,402,295,324,304,514,1052,1502,1860,1556,1092,826,522,500,556,562,586,464,463,453,373,480,1090,2008,1994,1702,1906,2120,2248,1872,1762,1648,1992,2058,1632,1432,1366,901,555,360,507,760,757,644,874,740,764,746,1238,1470,1001,515,377,375,571,619,843,940,820,1072],[546,703,708,618,453,409,427,436,485,474,419,389,334,360,491,586,506,432,605,875,510,391,496,366,370,362,360,334,359,368,331,358,362,366,362,354,334,318,321,339,336,337,358,438,429,396,360,332,404,503,455,375,367,364,479,568,938,693,346,413,400,488,785,1026,1054,922,541,359,678,642,455,448,379,401,392,415,501,929,1274,1416,999,750,872,850,1021,909,623,533,481,524,555,875,1042,531,333,602,1302,1346,1112,1122,926,840,1034,1136,1312,1410,769,439,390,370,521,762,774,547,739,1248,1062,927,1034,1080,994,1322,1578,1442,940,724,753,623,547,579,430,357,353,336,440,582,589,515,719,878,854,860,1046,1370,1152,766,726,662,531,454,440,419,381,439,516,551,722,954,926,976,1012,1036,697,529,573,504,355,409,569,529,479,798,947,1092,781,549,461,436,397,459,522,581,626,761,888,718,511,579,707,992,1212,1194,775,501,467,601,570,560,988,1088,711,722,755,807,890,771,785,834,849,932,1124,1238,1178,1256,1076,693,497,427,467,691,836,1002,912,870,1068,1023,752,713,692,678,890,1224,1454,1616,1044,1100,1334,1270,1202,987,828,743,714,605,457,408,375,346,342,347,359,335,326,371,370,344,384,408,406,401,392,375,421,385,364,555,561,415,425,437,463,755,1034,899,681,507,447,422,439,430,412,514,604,535,708,692,653,1017,1234,1172,1264,1046,662,692,650,496,488,543,433,389,419,675,882,886,715,946,907,711,749,752,893,985,860,825,817,741,785,996,877,849,703,836,1096,949,597,421,470,601,784,529,645,725,979,1156,1108,886,719,1072,1656,1418,728,469,367,500,533,531,485,467,479,601,692,604,527,471,380,428,445,422,400,540,1128,1388,1688,1494,985,1166,1078,792,849,1052,1404,1584,1260,979,1146,1322,1340,1356,1260,924,713,639,736,890,1016,985,988,883,541,398,573,552,598,705,772,1178,1310,1302,1316,983,814,1200,1374,1522,1378,982,1021,1416,1638,1670,1804,1452,1016,806,752,784,821,1074,1396,1394,1548,1516,810,477,372,375,419,380,376,466,944,1026,709,730,1054,1342,1012,1110,1196,1116,1236,1266,1318,1478,1504,1272,1294,1268,1268,1252,1258,1212,1030,965,1232,1408,914,992,1400,1264,1270,1216,1156,1102,1108,1040,1144,1296,1432,1502,1480,1482,1164,1256,1678,1460,1094,983,1316,1810,1704,1470,1522,1504,1500,1534,1808,1880,1410,1178,1400,1188,807,711,1036,1278,959,1098,1378,1002,1042,1316,1288,1458,1404,1036,1146,1290,1206,1526,1494,1282,1026,894,894,928,694,801,1082,1042,782,860,1266,1106,1120,1196,1252,918,621,406,678,1068,1096,1136,1108,1136,971,412,381,585,1158,855,1170,1464,1038,745,894,976,1070,843,1088,1402,1214,1162,1096,1072,1268,1100,620,513,645,973,910,1190,2100,1402,716,1001,1178,1284,1160,1412,1102,958,1228,1182,1040,813,901,1162,1194,1410,1464,881,1254,1310,1552,2002,1566,1286,1128,1414,1562,1274,1376,1692,1762,1382,1244,1444,1720,1716,1454,1326,738,547,279,314,453,568,530,830,1032,800,559,566,535,547,655,863,1005,1124,1130,1102,1120,890,490,403,390,326,498,869,747,487,404,358,327,348,480,378,507,1154,1274,830,904,1212,1100,662,565,760,1040,685,843,974,1450,1416,1005,683,527,332,404,688,1148,875,631,593,500,379,409,500,459,287,301,284,306,394,477,369,246,234,405,716,503,254,314,487,571,513,653,1066,1162,886,666,723,1230,1244,1264,1166,798,573,882,1266,1176,871,601,716,863,576,1180,1678,1438,918,1308,2078,1814,1226,1132,1176,860,902,575,449,415,396,541,871,1040,1448,1310,736,671,509,879,1230,928,883,628,975,1244,1230,1030,635,458,517,576,543,466,517,475,458,473,535,485,372,378,448,498,482,505,556,576,730,1272,1430,835,753,1078,1412,1598,1630,1506,1000,482,401,379,364,373,373,373,359,596,861,785,552,417,376,371,414,448,419,399,556,1194,1590,1492,1007,880,1132,1382,1280,904,543,480,377,341,280,285,289,387,501,479,434,615,645,426,404,353,316,335,536,891,1268,1302,770,714,874,1136,1470,1344,1320,1240,815,655,993,1220,1026,1376,1774,1296,854,1110,1318,1432,1330,1298,1246,909,1168,674,448,374,332,419,1003,1334,797,573,719,1444,2422,2576,2656,2822,2824,2730,2512,1904,1650,1782,1444,708,524,476,525,698,756,534,426,579,830,713,525,545,795,794,592,749,1238,1392,1106,483,314,328,321,330,311,322,332,369,400,458,430,441,396,470,570,584,496,476,519,526,443,365,369,407,387,455,657,822,1476,1154,1166,1656,1376,937,797,899,975,895,740,1268,1136,814,815,1616,2284,2334,2534,2294,1102,672,1092,1620,1484,1532,1954,1858,1166,1228,1622,1422,957,883,902,753,618,806,984,1056,1020,771,698,723,993,1830,2526,2840,2856,2640,2426,2360,2286,2274,1932,1158,861,783,681,663,751,828,736,671,650,646,687,646,904,897,749,933,1134,1266,1410,1592,1806,1468,1354,1694,1850,1660,1438,1522,1628,1576,1474,1472,1256,1116,1114,1178,1234,1292,1422,1122,925,1024,612,615,800,1090,1586,1488,1072,987,860,852,1328,1466,1632,1726,1770,1494,1246,1340,1542,1312,958,1000,1766,2048,1792,1664,1654,1872,1674,1390,1172,1096,1354,1554,1836,1932,1268,1154,1084,1168,1348,1242,1158,1150,1192,1098,1520,1948,1470,1498,1596,1662,1854,1142,920,913,832,1136,1226,930,603,646,1140,1522,1660,1656,1638,1698,1730,1764,1808,1794,1552,1280,1312,1202,1100,1082,1026,1242,1034,929,1204,1256,1250,1340,1438,1328,1172,1478,1396,1118,944,620,978,1328,1340,1388,1438,1138,1002,935,883,1240,1228,783,1090,1048,916,944,1054,1256,1712,1740,1226,736,785,1148,919,705,660,943,948,1012,1286,905,821,1216,1230,1366,1438,1356,1218,1174,1262,918,819,828,920,1182,1236,977,735,662,677,938,926,1090,982,836,760,598,962,876,1010,1042,788,643,618,953,1500,1534,946,855,1076,1034,992,793,868,1096,1246,913,888,946,563,495,556,798,869,1130,1342,1118,633,482,664,927,1224,1696,1638,1092,909,884,1172,1174,1032,874,578,383,390,280,354,544,613,976,1488,1018,849,979,1092,704,346,632,1152,1019,451,296,298,334,527,559,933,1298,814,517,607,694,894,942,750,347,257,352,456,653,1852,2336,1808,944,619,1015,1182,1484,1224,709,728,810,1028,1562,860,466,568,435,451,416,345,359,419,304,274,290,386,872,1023,1012,1130,1060,1124,825,262,274,334,370,368,509,346,260,295,445,781,765,593,463,359,512,857,1080,813,628,563,347,348,396,467,455,408,597,796,794,927,764,965,1002,554,623,1003,949,1166,1348,902,996,1208,1130,1256,1078,878,722,705,498,648,827,1072,1078,1036,1116,1106,1122,987,779,1482,1478,753,493,534,708,752,979,1198,1004,926,1016,946,904,844,959,1158,1142,1076,933,789,695,866,1158,1456,1524,1376,1508,1016,692,1402,1790,1512,1218,1382,1822,1928,1700,1324,1062,937,728,767,848,818,629,844,1084,1272,1566,1504,1366,1412,1176,1003,606,478,769,987,724,426,1070,1780,1708,1266,1100,1166,1056,816,469,568,421,386,411,380,433,456,426,361,321,344,393,408,364,384,598,759,996,1220,949,1106,894,613,858,1230,1354,1158,979,902,913,741,538,454,484,787,1218,1298,1128,1090,904,700,966,1234,1052,1014,503,427,646,976,1044,1256,1250,812,888,1236,1254,1176,1106,1244,822,585,576,1010,1374,969,383,334,568,662,741,929,563,807,1078,931,756,872,1150,1162,1306,1420,1420,1352,1138,1416,1628,1302,736,708,1442,1924,1838,1494,944,615,546,554,991,1198,1330,1056,1086,1126,995,744,828,1001,876,704,920,1156,1058,980,971,771,567,773,1146,1270,1368,1454,1134,1056,1140,1214,1266,1124,1252,1220,995,1222,1296,778,431,492,731,883,1472,1800,1598,1750,1584,2116,1732,1168,831,593,462,538,667,826,717,786,781,693,651,661,390,290,510,724,570,399,428,358,504,630,486,364,316,349,482,827,789,700,756,1034,1078,544,321,258,327,277,347,700,955,1022,785,474,510,915,1023,600,567,692,887,1100,1060,1003,910,794,861,1134,1134,849,894,666,392,429,479,917,1252,977,916,811,841,893,641,326,338,360,390,343,438,736,706,631,863,1216,1328,1118,1198,1456,1272,1380,2054,996,394,379,353,437,731,847,1400,2280,1980,1272,1148,968,540,401,415,495,580,602,535,441,449,821,1554,1888,2024,2158,2266,2366,1804,1546,1372,1318,1412,1446,1574,1456,1210,1066,674,651,808,777,594,698,657,501,478,481,463,496,440,346,502,681,576,884,858,824,949],[439,584,703,653,502,494,466,478,561,478,397,425,371,327,476,583,486,503,871,870,449,350,352,345,362,355,336,339,381,347,302,371,365,380,379,371,354,339,346,364,361,332,356,446,504,521,396,366,606,856,884,748,516,436,474,437,478,404,389,397,397,492,889,1005,1016,841,490,346,651,670,347,384,399,360,350,413,378,572,731,698,525,383,340,493,771,943,767,834,907,1086,779,671,673,465,356,633,1005,874,932,1418,938,725,937,716,812,866,483,388,411,402,529,962,1056,683,1210,1428,1154,824,701,732,568,634,977,866,557,442,357,291,408,516,373,302,297,315,364,327,293,359,419,423,678,1166,1670,1302,926,662,619,822,930,742,630,509,470,588,888,1086,944,799,1206,1082,663,858,596,642,1122,1050,478,337,505,481,368,595,609,700,714,641,454,442,419,589,778,703,626,710,947,892,666,828,1310,1280,1310,1452,901,573,576,441,450,828,1064,905,511,533,626,594,490,534,534,492,623,805,863,832,872,822,694,650,569,552,520,465,644,842,949,1014,1140,951,632,660,681,659,948,1302,1368,1404,1352,1706,1696,1490,1378,833,778,808,700,623,450,421,412,358,347,354,357,344,317,347,364,327,379,424,424,394,390,381,391,365,355,412,409,371,441,503,490,719,677,585,535,564,518,444,485,426,387,556,783,710,1284,1372,1226,1322,1112,1470,1748,1198,1048,867,907,849,570,505,413,396,425,550,715,677,821,1166,1090,888,1030,979,936,593,538,730,655,742,989,1104,1256,1200,929,1044,1256,1234,1004,706,542,728,1112,840,711,964,1180,1308,1540,1194,579,1013,1722,1462,613,478,515,567,557,525,498,486,483,541,486,439,455,464,397,395,430,469,411,420,588,639,718,621,639,919,1022,813,797,829,1100,1084,859,883,1005,1190,1478,1670,1484,1334,1096,623,626,657,697,827,1148,1086,615,544,818,1102,1336,1042,877,1610,1342,1090,1148,1118,1298,1488,1374,1442,1378,1214,1344,1406,1678,1722,1738,1442,1126,1140,1040,1032,1092,1152,1192,1144,1422,2026,1692,896,435,464,498,516,491,691,1022,840,583,587,1222,1448,1172,1252,1252,1286,1256,1382,1482,1600,1492,1296,1134,988,1132,1344,1372,935,899,944,1270,1406,1046,1058,1310,1374,1406,1194,1040,899,1023,1020,1146,1216,1450,1614,1536,1668,1506,1438,1434,1444,1576,1400,1538,1570,1704,1704,1758,1742,1582,1632,1792,1400,937,1182,1228,738,542,662,1018,1252,991,1072,1472,1226,1080,1010,1030,1472,1128,508,648,1184,1556,1936,1290,891,1118,1328,1230,905,750,1024,1288,1246,1156,1356,1380,1266,1048,917,1312,1162,771,615,814,1138,926,988,731,610,498,335,422,404,643,651,691,749,745,857,852,838,968,966,916,963,1148,1194,752,733,1156,1216,840,708,927,1160,933,1168,750,503,649,1058,1230,1160,1250,1104,807,1008,1222,1056,1166,1136,1204,1272,1084,1222,989,753,1136,1554,2046,2008,1384,1150,908,1166,1460,1546,1694,1686,1248,874,1046,1156,1152,1338,1310,1082,943,1002,393,257,331,434,750,1004,904,662,387,334,405,389,348,442,670,608,604,1060,1418,1048,518,495,472,433,559,720,523,446,413,422,348,390,443,321,344,436,357,439,888,1334,1302,1009,832,794,1288,1218,1204,981,823,1300,1432,978,570,375,547,901,1488,1338,978,700,446,347,322,651,831,562,292,271,357,512,521,317,278,296,503,1054,902,375,368,511,985,923,939,1608,1050,639,610,722,794,1346,1976,1638,981,581,969,1504,1244,907,765,624,714,734,990,974,993,769,823,1046,807,544,1238,1422,1030,1058,1116,706,498,393,474,993,1396,1086,844,655,760,789,1068,1486,1416,1160,984,981,770,608,514,438,442,446,384,430,441,445,501,494,473,464,414,391,469,663,758,1040,1122,1156,1168,1032,1068,1015,638,745,1028,1454,1782,1670,1482,994,504,410,394,377,390,404,396,358,521,759,714,474,384,380,392,414,502,669,937,949,1254,1482,1484,1240,1010,1198,1194,683,472,447,646,892,598,325,271,297,314,401,470,478,637,541,359,333,322,321,329,503,963,1406,1178,605,668,959,1174,1420,1328,1236,1070,589,468,972,1122,1258,1744,1756,1104,994,1350,1504,1568,1110,1174,1134,1070,1416,1114,625,422,387,666,1394,1284,677,873,1204,1200,1538,1896,2530,2570,2346,2286,2024,1814,1520,1556,1208,805,1120,799,414,412,392,346,419,508,711,849,776,985,1210,1124,998,1260,1422,1464,1072,497,349,310,335,406,364,377,355,371,401,563,533,533,531,504,603,712,719,686,686,614,503,408,401,381,750,999,778,884,1210,1114,1200,1160,645,691,979,769,1064,1034,1036,927,932,1180,844,664,1334,2418,3410,3510,2722,1394,912,1440,1644,1496,2054,2070,1380,1338,1726,1574,1174,1108,1136,1008,877,890,1094,1130,1132,953,847,919,1150,1910,2868,2894,2786,2812,2980,2938,2902,2636,2200,1282,674,568,539,584,650,706,637,745,797,643,614,549,675,681,619,769,954,1094,1676,2118,1960,1488,1426,1544,1728,1522,1506,1508,1426,1376,1444,1432,1084,919,951,797,579,551,1208,1292,905,675,513,529,733,1056,1560,1600,1032,664,688,722,1180,2106,2564,2018,1444,1320,1220,1242,1522,1414,1410,1714,2000,2024,2046,1740,1558,1424,1410,1288,1092,1292,1570,1500,1716,1562,1322,1158,1114,1214,1192,1236,1238,1210,1260,1280,1494,1876,1662,1552,1488,1558,1450,807,692,1001,1342,1714,1614,1058,931,1019,919,1030,1260,1498,1564,1548,1648,1742,1714,1704,1476,1042,1106,1504,1570,1286,934,1032,1120,1234,1200,1302,1678,1632,1476,1300,1048,1238,1046,1202,1198,1228,1214,1270,1346,1304,1108,996,1066,1022,678,676,798,1036,1112,987,1134,1380,1090,808,1230,1804,1536,981,1048,1410,1026,923,633,504,504,814,834,716,1016,1144,1238,1300,1452,1282,966,1122,1092,969,949,1070,1132,1520,1516,1212,965,929,615,615,973,1342,1290,1156,803,772,1056,1314,1416,787,735,789,719,745,919,1006,617,783,1318,1214,802,749,815,980,980,661,451,393,552,558,746,1066,1158,1214,1240,862,436,353,516,864,1244,1592,1576,1180,857,781,946,1126,1328,1212,804,318,335,272,440,632,752,620,821,956,869,1322,1710,1017,418,720,1306,1036,693,416,436,553,552,750,1368,1252,599,625,736,841,741,452,265,250,292,359,449,925,2004,2264,1460,966,649,966,1196,1722,1276,852,780,765,1256,1374,685,792,1084,702,512,356,293,325,333,299,305,412,554,960,861,733,1015,811,783,699,340,326,326,372,555,745,621,468,622,915,1042,1070,1026,639,538,677,1110,1710,1104,695,568,309,375,467,413,404,466,518,810,861,1007,756,598,826,1013,730,495,652,917,1050,1300,1228,1260,1178,1204,1274,1450,1560,1674,1017,560,695,711,716,716,756,1050,1034,789,695,1250,1116,535,343,564,922,1446,1500,955,919,1218,1116,1318,1452,945,797,1128,1096,1120,1198,976,802,845,1026,1350,1632,1694,1122,609,994,1236,1408,1472,1538,2480,3110,2700,1870,1412,1192,1292,1662,1406,857,724,653,895,1216,1554,1832,1744,1732,1418,1482,1224,670,683,902,823,637,732,1500,2034,1854,1372,1094,1062,872,497,385,453,347,366,412,421,412,404,384,335,360,418,402,364,372,431,707,747,1000,1210,992,773,679,498,450,775,1194,1242,1084,895,732,611,529,608,720,955,1172,980,787,969,568,470,579,490,852,923,521,400,591,855,772,772,796,582,803,991,1088,1070,913,1012,1042,1001,744,1017,1456,1244,596,353,407,640,933,1106,855,949,1056,1248,1172,842,920,1226,1396,1426,1354,1244,1566,1920,1546,1440,1336,1528,2040,2172,1750,1324,990,784,711,954,1538,1224,1106,908,797,737,443,455,545,868,901,691,990,1156,885,910,825,958,1094,1336,1522,1376,1404,1062,583,883,1226,1356,1230,786,1166,1410,1352,1392,1478,1288,733,585,536,766,1144,1048,976,1274,1562,2194,1902,1040,688,522,481,651,634,957,877,586,593,727,662,497,352,296,520,904,921,639,427,418,529,747,578,383,312,391,527,568,471,435,539,760,1134,998,702,387,243,469,572,792,902,754,461,311,604,1410,2248,1452,744,644,870,892,807,758,785,1090,1106,1106,1076,900,818,1006,717,678,565,638,929,1084,1218,1350,1556,1172,879,365,279,341,305,396,602,547,571,670,951,1158,1244,870,674,804,1244,1306,1752,1144,538,407,363,415,587,794,943,1086,1210,1015,904,875,595,478,430,373,509,693,637,475,477,799,1306,1690,1874,1538,1490,1782,1614,1680,1432,1040,965,1082,1332,1266,1314,1278,892,686,749,659,623,639,533,442,433,390,474,518,397,436,779,769,797,1046,781,362,361],[404,437,524,502,463,530,478,483,615,507,413,496,418,423,485,488,469,478,849,620,366,326,348,368,365,335,329,336,411,424,359,369,376,390,389,385,375,368,371,376,359,327,335,509,599,567,468,418,764,1009,1156,1172,818,546,543,410,370,314,375,409,378,523,1012,1164,1126,835,449,333,594,688,333,339,354,336,319,329,309,358,394,406,373,361,428,560,1009,1198,1072,1276,1021,984,607,459,591,608,606,725,896,818,1038,1500,1146,1142,1048,639,426,382,348,385,430,400,462,521,506,582,1192,1384,951,609,517,555,546,640,532,341,390,427,419,407,453,453,364,316,334,374,412,339,272,355,412,551,902,1452,2026,929,781,618,455,694,805,780,790,621,418,590,1120,1186,804,731,1300,1040,957,948,529,424,712,711,472,255,276,361,405,426,461,476,571,623,598,563,568,629,731,745,719,716,869,911,727,748,937,977,923,886,981,1130,1050,894,532,565,741,857,599,524,581,550,534,516,489,518,651,690,656,681,719,714,675,679,585,725,601,387,490,898,1284,1258,1260,859,642,503,418,784,1170,857,726,764,965,1456,1526,1370,1238,1074,1170,1038,714,573,438,412,415,365,343,346,346,354,371,404,426,367,381,433,470,448,421,408,385,371,366,318,336,498,529,495,495,603,632,528,468,628,724,532,454,464,616,884,1110,1126,1516,1614,1640,1810,1894,2120,1708,1480,1732,1098,1100,1226,987,621,437,413,444,484,450,520,957,1392,1312,947,705,585,716,839,746,615,449,589,970,1224,1230,1188,1066,827,980,1340,933,945,1192,1090,1214,1180,1072,1392,1418,1102,1472,1240,537,758,1084,1000,810,684,614,634,609,543,522,547,519,459,388,425,428,369,368,417,557,853,652,336,431,388,394,483,506,816,991,798,780,728,821,616,505,670,892,1070,1060,928,917,1052,917,632,701,804,796,891,1088,1034,740,642,1011,1424,1500,1092,1052,1730,1276,962,1214,1356,1528,1700,1626,1658,1560,1274,1340,1252,1400,1264,1210,1028,749,1066,1270,933,951,998,858,578,661,1422,1864,1284,673,605,796,698,525,739,1086,1116,763,792,1114,946,838,948,992,1116,1334,1516,1600,1508,1302,1178,989,758,703,905,981,973,1162,965,1010,1320,1076,1074,1328,1320,1350,761,804,777,1122,983,730,833,1180,1278,1262,1372,1360,1332,1412,1536,1682,1556,1652,1824,1848,1858,1820,1832,1784,1652,1526,1086,850,1358,1228,804,641,1142,1656,1798,1322,1042,1294,1166,813,979,1206,1616,1286,980,796,1138,1034,1230,886,562,1222,1686,1392,1046,656,893,1294,1218,1270,1516,1322,1068,868,739,876,1038,1072,972,968,985,536,1072,1138,677,475,415,529,552,673,622,645,1066,1354,900,844,1068,1038,929,838,606,691,915,1017,825,896,1148,1182,1072,1418,1198,944,821,603,591,812,884,1166,1602,1236,1176,1002,685,962,1188,1100,855,909,827,765,786,835,885,1036,1408,1654,1350,1194,1212,1130,1498,1742,1538,1444,1470,901,475,596,661,528,935,933,853,1322,1150,687,436,397,532,1062,1140,533,395,260,386,857,792,451,421,433,561,653,927,1204,760,455,569,577,634,560,533,491,424,406,395,581,802,695,434,327,340,454,679,693,1286,1438,1192,897,970,1258,988,897,1004,799,582,820,1266,1022,688,568,1122,1824,1694,1188,830,647,621,384,383,595,699,534,379,619,789,509,245,306,334,408,641,485,395,402,766,1372,907,642,1092,890,675,658,1094,1236,1596,2078,1354,1172,825,1086,1688,1518,875,527,476,949,1150,705,484,715,745,795,594,545,599,1240,1354,983,2080,2066,749,469,366,298,775,1412,951,900,1124,1292,1502,1506,1238,886,604,444,408,403,398,357,401,412,355,346,446,552,519,481,447,462,462,440,430,487,655,1112,1486,1464,1490,1554,1278,975,675,629,822,949,1416,1714,1590,1242,792,491,417,396,401,417,419,409,370,469,684,556,380,369,376,438,652,955,1186,1230,1178,1192,950,985,1390,1360,1072,858,517,551,546,784,1246,825,291,300,331,330,448,403,429,645,496,345,337,348,376,368,427,672,1096,1200,1030,880,910,1148,1001,1136,1001,725,561,865,1178,1156,1098,1252,1284,859,1044,1148,882,1194,1094,1308,1224,1292,1494,1424,1058,579,466,1028,1574,1150,765,744,808,814,920,1036,1360,1412,1708,1704,1542,1610,1086,978,758,1006,1322,901,541,411,373,495,566,522,587,966,1248,1284,1023,766,1190,1444,1372,1498,1156,550,415,354,355,359,322,331,347,398,442,563,495,471,504,515,579,612,683,782,763,633,633,637,490,381,760,820,565,686,956,1026,779,891,715,980,1090,1042,1504,1478,1288,882,801,1272,1532,1174,832,1224,2150,3182,3476,2344,881,1224,1598,1632,1804,1720,1466,1508,1574,1556,1576,1516,1572,1478,1406,1496,1530,1504,1598,1594,1560,1494,1440,1578,1758,1904,2166,2178,2298,2414,2100,1930,1736,929,335,364,423,547,539,510,543,583,569,529,510,514,489,504,475,543,738,1030,1454,1668,1274,1080,1032,980,892,775,774,731,764,882,983,838,703,747,839,636,466,412,1005,1380,951,850,983,1092,1304,1180,1536,1664,1060,752,760,693,916,1622,1968,1626,1160,1324,1472,1356,1580,1616,1686,1992,1878,1966,1948,1570,1102,858,1150,1430,1432,1458,1438,1134,1400,1490,1378,1200,1262,1318,1276,1462,1526,1388,1280,1348,1334,1450,1452,1340,1082,1158,1402,1266,995,1188,1336,1236,1004,880,1078,1338,1312,1048,959,1130,1350,1514,1508,1686,1844,1660,1228,1092,1422,1964,1998,1702,1146,875,871,1212,1290,1136,1306,1710,1656,1260,1028,1036,1046,1120,1208,1238,1270,1512,1454,1220,1042,1082,1092,1304,864,563,830,1010,821,892,1264,1488,1424,1178,1178,1548,1354,743,509,509,827,1620,1003,355,468,606,717,866,828,952,1054,1066,1170,1112,1060,1122,1188,946,1138,1304,1256,1510,1346,1232,1180,1182,775,509,760,1084,1032,1172,1108,1004,1266,1722,2120,1504,1148,1260,1282,804,443,421,531,550,580,672,554,647,821,1006,1026,1148,665,446,532,654,960,1306,1306,1030,775,671,610,394,409,899,1100,1400,1362,1072,1040,1286,1248,1066,1110,1406,1056,525,362,305,352,695,917,661,743,1034,1170,1424,1286,1022,663,672,668,452,416,512,805,959,725,946,1360,824,403,506,573,499,342,256,284,348,353,358,426,401,466,1122,2420,1376,1084,946,1266,1510,1290,838,402,366,607,735,663,752,727,421,479,385,288,346,437,408,390,499,632,1146,1050,666,977,771,1060,863,410,590,676,507,670,735,588,652,843,958,909,1056,933,633,558,731,840,1130,722,667,686,458,461,516,517,673,725,539,542,814,1354,1170,876,1154,1516,1084,552,941,1274,1388,1604,1338,1182,1228,1388,1582,1948,2004,1750,886,590,655,529,612,914,836,913,660,797,836,1020,1026,727,476,725,1516,1674,1082,624,1312,1324,1236,1734,1384,708,747,1250,1304,976,923,816,825,688,760,956,1290,1490,1164,1020,1166,1184,1738,1704,1654,2648,3440,3360,1782,1332,1444,1300,1616,1610,1418,1334,1250,1122,1252,1594,1352,1424,1802,1042,1015,1194,1218,767,480,733,1084,1202,1292,1550,1406,1152,1050,1210,1009,501,408,424,371,374,375,371,370,337,309,285,323,386,412,477,529,564,750,789,766,974,864,476,509,626,556,952,1194,949,963,902,673,531,721,902,718,797,921,909,915,1001,667,687,579,591,1160,1370,1023,628,694,790,537,480,507,751,1244,1302,1204,1096,1188,1070,1044,1272,883,916,1110,1136,873,526,565,1021,1322,1200,848,644,541,975,1476,1324,1262,1536,1172,1498,1776,1776,2002,1804,1214,1268,1502,1826,1888,1542,981,877,752,655,1030,1570,1654,951,653,652,1102,1036,378,526,855,954,852,554,659,698,554,511,613,1188,1488,1314,918,747,1048,688,461,657,757,1116,1174,1009,1434,1590,1380,1450,1404,1108,617,538,781,1328,971,689,802,986,1364,1678,1260,735,689,587,727,1166,940,800,1036,880,550,449,510,477,411,385,601,862,1226,1120,874,561,768,868,505,350,385,446,415,435,442,434,423,733,1310,1070,908,567,372,624,632,617,891,911,882,868,1188,1206,2004,1752,1184,979,886,788,732,844,951,912,1314,1776,1698,1352,1088,1001,626,483,499,761,863,1056,1376,1446,1688,1128,771,483,325,300,530,709,679,576,447,529,930,1238,1110,774,729,563,1078,1244,1546,1154,598,500,622,634,665,1172,1028,1070,1640,993,639,691,551,487,453,521,718,701,619,502,487,736,1654,1786,1754,1616,1854,1592,1564,1802,1600,1180,677,596,900,1084,1080,918,790,730,591,517,474,583,817,771,508,392,634,428,361,404,664,956,996,1266,891,425,639],[395,391,440,440,469,519,507,539,501,381,338,356,372,356,395,365,354,376,428,386,358,342,334,347,372,347,346,360,422,433,404,392,382,384,383,381,384,392,394,381,359,337,359,492,517,493,581,605,693,745,951,1001,852,497,519,409,341,338,403,412,477,678,908,1050,1058,888,461,368,561,653,403,341,329,320,317,290,309,371,399,403,337,288,374,469,843,1138,1188,1378,1342,1160,847,841,954,895,846,772,890,861,1019,946,810,1252,1218,725,487,393,359,411,442,380,400,397,462,535,673,836,792,588,473,492,461,439,422,372,416,524,490,430,437,451,388,336,366,355,364,285,213,291,349,397,631,880,1028,628,750,780,630,719,693,424,508,578,671,828,1170,1064,667,1160,1190,734,595,440,335,243,260,292,252,270,275,368,440,461,473,486,497,515,569,605,580,628,694,760,777,692,594,472,414,457,445,479,518,521,873,1274,1386,1130,720,487,486,698,616,528,532,554,539,539,523,541,669,720,752,694,655,653,601,621,497,392,425,380,447,937,1290,1334,1206,825,552,446,343,642,880,655,528,589,589,683,825,1015,1198,1360,1230,786,635,590,426,383,361,364,349,346,365,386,456,493,502,452,432,492,544,491,408,392,383,394,397,344,811,966,630,396,405,601,632,478,442,516,653,636,451,414,966,1858,2110,1804,1552,1538,1540,1770,1792,1546,1222,1730,1592,910,651,1017,1236,1030,715,564,610,557,491,688,985,1140,986,1008,730,565,894,1144,771,462,404,500,928,1294,1068,1076,1078,786,1242,1362,677,568,787,899,1007,1164,790,831,794,609,861,966,739,673,689,724,714,617,643,634,606,574,600,537,440,341,356,525,693,520,676,875,717,1134,858,390,444,390,426,520,562,898,989,839,633,775,1036,875,589,371,564,749,800,772,613,783,917,794,769,868,856,907,1056,1084,772,565,626,621,692,706,1108,1676,1176,1038,1594,1602,1610,1692,1600,1600,1452,1126,947,835,940,1218,1378,1220,940,1038,1068,790,841,775,651,628,722,722,1358,2510,1692,797,1112,968,822,1042,1526,1842,1682,1554,1390,815,556,681,919,1230,1322,1290,1420,1222,918,891,882,717,626,516,593,835,1248,1015,1074,1416,910,1160,1318,1160,989,536,475,616,1136,1040,850,773,984,1340,1366,1400,1352,1378,1684,1754,1592,1384,1404,1382,1298,1324,1350,1560,1604,1172,1228,1252,1514,1614,1007,637,661,1322,1802,1620,1009,716,1005,1036,621,738,1048,1256,1176,1210,1322,1346,751,725,830,860,1294,1230,1122,1212,1644,1032,910,910,1048,1200,1274,1068,1032,1142,1032,963,985,952,1158,1009,710,1162,1452,1192,958,603,689,1064,915,664,919,1021,1278,1152,1166,1176,744,615,694,703,661,892,1470,1376,1406,1124,1292,1170,1430,1162,871,891,816,701,649,821,1424,1542,894,1530,1354,1088,1072,1166,1196,1050,800,669,618,617,668,763,933,943,768,619,1312,1578,1308,1390,1696,1578,1312,1054,633,475,466,691,1070,1008,802,846,927,1050,1144,999,528,509,1018,1176,595,532,405,549,1164,793,381,502,630,567,642,1322,1454,648,523,669,672,662,405,385,512,517,464,528,806,1082,1308,790,605,423,689,1286,991,962,740,448,445,762,1308,1388,1100,786,960,839,591,1170,1260,1224,1132,1222,1426,1194,968,978,691,688,668,428,319,375,507,533,856,1016,588,241,297,325,377,397,273,286,317,752,1416,1018,801,1266,1420,786,911,1840,1912,1596,1992,1482,1636,1066,736,1108,975,567,371,618,1194,1070,625,1004,1390,1044,1296,903,512,440,565,949,1100,1950,1654,377,300,307,394,745,1334,1394,1354,1228,1078,1184,1264,937,489,309,336,521,511,408,324,329,372,339,367,482,483,407,446,484,516,529,519,471,446,581,1434,1666,1404,1288,1302,1216,889,638,954,1028,930,1454,1658,1600,1090,688,502,454,465,452,445,448,481,454,469,678,587,505,546,742,1068,1332,1404,1332,1300,1100,736,578,766,888,1318,1152,771,543,566,564,563,641,416,314,414,379,330,584,626,567,712,464,308,305,301,336,369,332,356,598,824,954,803,631,934,854,683,554,689,1048,1040,910,1021,1060,1276,980,687,707,1042,1264,1298,971,714,901,1194,1146,1312,1328,988,750,1326,1238,758,661,798,857,875,710,611,693,716,717,749,1150,1544,1256,1274,1116,1050,997,745,641,565,666,846,915,1078,1106,1344,1276,943,625,810,1282,1360,1310,1400,1218,535,425,346,374,340,293,336,396,416,408,438,436,451,445,452,508,512,639,726,678,532,549,594,482,404,510,558,695,711,766,811,846,1278,971,1036,1240,1650,1806,1592,1342,1096,1076,1168,1044,922,933,1150,933,1282,2252,1536,630,863,1460,1770,1654,1518,1380,1748,1708,1692,1992,1902,1782,1990,2010,2042,2110,2110,2210,2188,1800,1384,1400,1462,1594,2174,2244,2188,2166,1694,1708,2298,2124,1066,377,423,697,828,736,670,647,611,773,836,700,658,660,745,816,719,725,822,763,767,697,659,626,652,591,524,561,647,764,833,895,781,739,771,742,543,454,453,944,1454,1078,1522,1684,1678,1650,1218,1500,1714,1218,727,653,628,738,1214,1454,1430,1290,1472,1394,1340,1466,1500,1554,1786,1876,1824,1424,943,657,690,1214,1584,1648,1194,799,933,1304,1576,1550,1290,1274,1380,1358,1586,1686,1536,1470,1462,1448,1406,1588,1428,1008,982,1260,1422,1456,1350,1244,1318,1220,1072,1024,1244,1154,952,1026,1062,1160,1270,1208,1396,1648,1186,979,1116,1422,1800,1998,1690,1118,966,1118,822,891,1278,1290,1394,1666,1584,1150,1058,1448,1626,1328,1238,1632,1792,1262,1098,1098,951,1202,1330,897,757,880,884,941,1266,1356,1470,1506,1418,1326,1342,1252,1028,788,691,1140,1278,617,325,474,759,854,511,361,293,589,864,811,808,1182,1400,1176,1040,1256,1322,1298,1166,1158,1360,1302,1190,1021,1142,932,438,610,980,1060,940,1028,1794,2692,2398,1512,1416,1138,650,574,616,762,738,632,631,513,620,996,902,1306,1472,791,424,497,931,1512,1588,1212,978,902,1010,625,339,390,849,1032,1194,1172,916,723,617,845,1028,880,1178,1266,982,623,453,538,930,1020,749,813,798,980,914,775,1476,913,424,275,279,346,516,868,1116,978,932,780,395,330,352,365,402,338,325,345,348,344,320,281,286,368,847,2384,2160,2012,1396,1392,1494,1542,889,385,402,378,435,786,625,350,210,232,187,300,386,377,296,371,444,545,1048,643,424,821,586,370,356,390,1046,1016,381,523,622,690,937,993,797,513,625,589,515,423,879,1218,955,744,819,897,686,415,349,464,709,719,874,569,791,1296,966,622,869,1374,1248,783,1020,1038,1116,1116,1238,1168,1208,1398,1410,1338,1500,1390,696,666,700,622,1036,1011,686,513,525,1074,1372,1068,770,615,681,1222,1622,1110,558,1056,1972,1512,1236,1216,825,697,919,1328,1332,930,857,900,911,708,854,870,995,1404,1520,1434,1368,1538,1664,1252,1482,1642,1920,1892,1204,1140,1420,1166,1222,1600,1802,1710,2052,1936,1522,1550,1304,1378,1448,917,468,708,1032,781,434,768,1214,1138,873,1146,1308,1340,1170,1034,624,382,410,411,372,367,323,311,301,278,276,313,327,295,330,506,677,752,883,863,713,695,487,384,409,634,1028,1466,1216,756,838,1042,936,976,1278,1086,648,523,547,523,432,452,890,1334,893,793,1372,1518,1278,796,649,500,625,722,709,933,1009,852,803,899,1198,1118,798,847,522,485,611,954,956,830,1232,1726,1660,1152,705,422,563,1082,1472,1454,1196,1134,695,1160,1856,1998,1906,1476,1290,1422,1274,1578,1466,1052,674,572,370,341,869,1284,1060,775,613,954,1326,837,463,618,711,614,879,730,490,383,335,345,679,1352,1522,1272,753,957,1140,1114,680,574,989,973,809,952,1146,1021,1232,1350,1260,891,687,599,899,1296,1324,1414,1208,1222,1692,1506,1062,1062,789,979,1114,1488,1182,759,935,984,758,496,619,478,383,331,436,688,946,1120,897,462,693,735,462,413,456,429,344,561,806,1286,854,852,843,615,882,849,556,541,480,791,911,844,1252,1794,2228,1454,1054,1246,1504,1412,1266,1156,789,848,664,703,1438,2446,2446,1694,1312,1144,771,572,796,1064,856,772,990,884,1070,813,702,841,488,451,818,800,689,597,506,585,1118,1332,1192,1322,1248,873,1228,1362,1418,1192,798,695,1000,1042,742,1080,968,1654,1980,1086,683,744,648,476,441,733,1004,647,463,442,373,495,1176,1734,2200,2366,2290,1950,1848,1878,1578,1032,637,463,772,1320,1132,714,537,557,466,404,440,672,1011,946,555,457,405,422,592,575,501,700,1152,1220,856,815,942],[497,491,517,530,492,475,486,547,469,417,358,326,374,352,346,340,325,408,415,336,336,329,335,345,354,357,388,428,421,402,420,425,389,363,377,375,384,401,413,398,385,354,410,552,580,429,483,623,578,882,1274,844,648,462,514,516,451,357,380,387,418,598,755,695,781,927,638,457,581,515,309,267,308,306,295,287,295,337,331,368,403,302,287,352,555,557,555,599,675,935,1076,1222,1124,714,712,945,1054,828,1028,823,553,794,724,599,423,380,374,400,462,458,368,313,326,629,869,938,891,784,797,653,487,472,457,407,683,677,552,515,437,365,320,325,401,473,539,318,474,692,654,576,479,351,404,477,596,614,591,611,624,532,623,612,537,1019,1332,1324,1394,1346,997,576,390,324,368,287,329,281,262,300,331,327,343,466,536,554,554,523,543,590,528,583,686,717,643,490,522,514,495,513,510,526,714,501,560,824,1070,803,618,426,518,719,650,498,668,800,523,518,563,659,678,700,702,669,695,705,727,724,516,346,387,375,408,1004,1448,1244,1106,1038,841,648,864,1180,877,539,469,535,636,677,841,897,931,891,630,418,507,494,325,315,309,340,358,372,386,396,423,431,460,486,473,448,433,408,392,402,407,473,430,381,534,496,422,390,451,596,518,388,395,469,562,539,448,391,1006,1904,2524,2320,1910,1686,1240,1332,1384,1208,1002,1084,1046,899,804,933,1104,1228,1110,789,783,910,965,886,594,542,593,647,551,541,879,963,705,584,532,644,1018,1160,920,765,785,800,1250,987,491,395,409,704,1086,1262,899,762,681,940,990,851,600,487,560,682,692,668,775,755,623,630,633,546,445,374,412,1019,1426,790,947,1376,850,1250,1008,450,508,647,814,924,955,1011,925,883,845,960,1038,924,522,436,508,485,458,484,437,548,958,1264,1150,735,911,1009,876,882,1016,706,435,465,618,678,1290,1676,986,1138,1688,1556,1136,946,1078,1242,1416,1394,949,637,753,1136,1382,1396,1260,899,934,820,763,796,761,755,822,1368,1998,1788,1482,1098,1176,1218,1006,1064,1186,1354,1626,1918,1472,802,731,695,716,1052,1240,1210,1260,1136,955,849,857,749,687,518,728,1148,1268,1166,1272,1348,858,1394,1186,899,581,465,526,628,720,839,938,771,991,1182,1248,1234,1382,1556,1508,1300,1368,1438,1360,1346,1208,954,1076,1478,2076,1304,1124,1200,1100,656,536,548,405,547,749,675,439,858,1184,875,823,642,872,1021,1056,1170,1434,1304,889,961,776,641,846,1206,1168,1274,1378,804,531,628,681,919,1130,935,877,960,922,972,1098,910,1122,1290,1248,1188,852,1040,1274,831,642,816,516,736,893,822,990,1072,1262,1384,1126,1086,1188,1214,1044,1009,1250,1688,1874,1384,938,879,1110,1312,1538,1594,1230,854,595,1112,967,584,581,850,926,1188,1036,915,1010,703,480,551,541,623,799,911,981,1224,1212,1056,1506,1728,1684,1686,1542,1578,1162,564,558,804,749,961,1122,979,1020,1256,1138,833,984,875,508,410,500,708,485,455,636,718,1100,1112,647,769,1148,869,420,752,983,804,794,805,810,785,513,513,708,660,609,730,1003,1642,1318,802,627,659,996,1782,1952,1610,1064,347,375,628,955,1342,1466,1082,727,880,806,769,970,1520,1350,642,767,1060,1416,1542,1208,893,1072,831,585,442,342,466,744,954,691,288,371,461,484,483,415,352,357,783,1058,690,645,1102,1044,595,699,1448,1976,1672,1478,1452,1558,1326,1100,868,563,388,399,603,989,700,778,1356,1256,845,1050,756,451,418,460,584,783,1086,859,709,739,622,649,727,936,894,672,580,634,870,1218,1130,592,392,353,392,401,398,370,378,416,457,456,460,534,493,515,508,528,502,469,524,506,732,1440,1960,2048,1944,1676,1520,991,755,810,887,1021,1466,1748,1676,1120,678,524,462,486,462,473,439,525,1054,760,871,1040,1186,1378,1598,1668,1578,1422,1358,1110,557,425,672,928,661,963,1372,1074,571,469,481,453,487,495,455,420,350,632,1248,1026,730,686,399,302,284,276,313,339,349,345,385,641,601,414,427,523,551,576,760,948,703,480,692,791,641,624,567,641,792,717,918,1168,771,559,1166,1416,776,782,996,919,1148,1500,1134,691,706,1028,1144,996,889,943,861,814,811,727,1136,1062,968,1198,995,1116,1400,1048,836,792,1178,1422,1338,1510,1530,1388,1006,651,692,1188,1402,1372,1310,1350,1190,639,407,317,357,343,325,352,419,428,397,410,366,410,495,463,454,480,561,623,610,502,508,511,442,412,521,1108,1716,1146,770,681,749,1034,1070,739,701,836,772,1238,1378,1036,832,900,919,1048,908,857,880,857,823,896,869,810,1136,1478,1510,1450,1452,1880,1850,1840,1842,1734,2110,2292,1984,2086,2264,2384,2242,2280,1904,1408,1098,1168,1646,2468,2784,2784,2530,1720,1848,2750,2618,1434,768,944,1186,1144,1098,1124,999,857,922,897,814,857,844,844,1214,916,725,698,617,619,623,580,632,874,813,620,590,679,803,843,952,921,748,774,775,565,440,487,846,1444,963,1454,1700,1700,1678,1402,1414,1600,1298,729,610,612,671,1108,1250,1470,1530,1462,1304,1208,1356,1376,1382,1560,1554,1350,877,658,750,1362,1620,1592,1588,1364,1190,1362,1620,1588,1492,1530,1458,1438,1494,1536,1550,1438,1258,1270,1322,1344,1294,1132,1102,1288,1290,960,1318,1488,1342,1312,1270,1230,1134,1094,1015,938,1142,1372,1322,1270,1032,1046,1124,819,910,871,952,1206,1496,1480,1006,1106,1344,1174,1082,1352,1432,1206,1422,1810,1678,1478,1634,1748,1422,1288,1220,1098,1152,1174,1246,888,1015,1038,762,681,868,1112,1102,1394,1424,1490,1444,1394,1350,1274,1210,948,656,689,771,509,341,479,666,877,570,335,387,432,634,735,700,1054,1574,1468,1124,1136,1202,1262,1250,1270,1154,1250,1394,1310,1094,1578,1766,861,761,1160,1118,914,937,1736,2644,2624,1638,1028,709,423,433,529,786,780,640,591,655,741,650,692,1206,1092,525,461,586,928,1282,803,437,454,734,835,456,374,855,1346,1090,803,824,691,849,1084,833,756,1052,830,960,1210,1017,678,587,825,944,937,984,700,608,766,1826,2132,920,336,336,350,604,1048,962,959,775,561,357,305,346,368,472,565,418,302,339,302,300,405,365,282,324,571,1352,1814,1232,1168,1208,1034,1188,653,362,672,517,470,706,676,455,346,310,245,348,525,509,347,311,289,397,589,349,321,700,636,357,459,659,799,675,300,304,406,538,681,761,706,507,494,487,377,401,1170,1650,1190,930,761,890,531,283,328,395,418,1174,1706,886,813,1384,807,391,566,1358,1602,1740,1394,686,786,1017,1208,1234,1250,1404,1338,1148,965,896,796,973,926,819,1288,929,582,624,561,689,846,779,642,550,992,1148,1060,1040,666,1298,2116,2202,1666,1064,927,746,829,1130,1024,769,816,843,834,832,974,807,1170,1976,1898,1606,1576,1520,1370,1404,1386,1338,1324,1296,1104,1202,1398,1490,1742,1946,2030,1528,1402,1706,1432,1576,1574,1132,1176,1078,974,778,543,458,376,502,863,1122,1212,1534,1500,1234,1234,973,518,364,423,414,379,365,307,297,273,255,281,333,313,262,270,404,622,730,732,864,1138,1136,585,450,435,623,1026,1230,1160,1014,1062,1188,910,979,862,597,512,485,488,474,447,445,773,1020,782,695,835,878,854,725,717,833,1066,991,837,656,614,769,821,910,1166,1034,743,548,457,514,565,726,841,1003,1388,1818,1868,1396,1136,783,775,1506,1532,1178,844,565,388,649,1282,1588,1212,1284,1474,1288,1268,1466,1412,1134,723,608,469,336,728,968,796,760,526,664,856,598,722,793,681,537,1028,1148,557,474,366,464,1172,1554,1248,1250,1122,1036,1096,1408,875,807,931,604,604,736,778,920,1086,688,985,1278,1036,999,1188,1046,1414,1654,1015,919,1282,990,768,950,1262,1496,844,883,914,802,738,577,609,590,695,623,436,324,320,487,426,528,422,550,1018,910,758,634,503,449,514,774,1658,1976,1152,824,828,1082,1466,1156,689,504,648,1068,1206,913,1036,1772,1772,1372,1392,1340,1316,1120,749,951,1204,1282,1238,1222,1038,1452,1764,1436,1168,1378,1292,1023,1116,1428,1009,695,692,724,822,541,636,849,556,553,792,697,829,785,855,612,547,1158,1302,1246,1368,1220,1204,1234,1192,1124,929,703,771,807,834,1152,1398,1540,1240,940,845,904,721,637,707,1178,1658,857,502,473,511,742,1062,1588,2130,2396,2352,2244,2054,1870,1320,708,878,950,761,1060,1340,1064,644,539,568,631,803,1096,1166,719,478,544,392,476,684,668,637,1028,1460,1050,559,597,851],[510,499,509,509,423,402,366,479,519,525,448,377,327,317,332,319,356,515,428,307,311,335,333,345,346,361,364,364,339,334,406,436,400,365,385,381,381,403,422,409,398,366,394,466,446,327,324,379,452,830,830,656,574,573,521,600,649,439,368,397,530,722,839,799,731,694,622,539,514,370,280,316,316,328,336,356,455,594,541,533,445,335,356,361,488,550,495,494,500,796,1042,1174,802,649,832,1268,1204,877,804,513,521,671,782,702,459,479,400,314,480,591,460,319,366,655,1011,1092,1126,1504,1452,1190,891,697,642,513,1206,1390,750,625,584,378,371,371,372,528,599,539,1176,1518,1608,1546,1224,1198,1090,639,493,498,669,621,736,756,675,700,755,1288,1550,1464,1288,1256,1536,1056,545,383,354,287,350,341,315,280,324,348,370,476,531,538,512,539,564,565,527,581,483,480,555,469,590,780,955,1048,1150,860,993,580,396,773,857,740,760,901,1172,1042,938,868,1038,825,464,371,466,543,555,600,619,620,658,732,783,713,543,378,375,385,536,1588,2138,1654,1148,1076,1246,927,1500,1680,860,552,426,449,565,641,710,661,525,491,452,450,562,468,369,302,313,312,325,340,356,360,360,375,421,435,414,408,421,413,414,442,446,443,382,324,304,366,385,408,448,455,374,309,354,420,466,419,444,416,865,1704,2118,2008,1838,1960,1572,1342,1266,1434,1472,1112,843,950,1200,1228,952,1100,1200,1009,859,840,630,509,432,460,446,462,448,448,551,539,593,614,565,749,1082,1324,994,747,881,1068,1080,769,591,620,967,1592,1526,1234,1001,883,1186,1642,1344,672,530,613,626,719,736,681,707,706,753,724,774,832,629,401,511,1202,1748,844,730,998,946,1080,854,664,911,1028,1240,1304,1094,1012,1014,1220,1188,1178,980,947,763,600,503,495,462,437,461,655,1070,1460,1328,949,1206,991,722,918,1042,672,410,437,580,858,1204,1296,947,1210,1470,1086,698,611,743,946,1178,1126,891,970,1278,1368,1060,1017,1000,1054,1152,1078,885,828,742,722,633,1390,1790,826,907,1023,1064,838,566,588,572,694,1204,1470,1058,912,1068,965,776,1066,1186,1310,1294,1262,1196,771,540,594,586,639,964,1182,1282,1716,1550,1114,1064,1396,1176,760,487,419,708,1022,913,1040,1032,1118,1200,1324,1192,1124,1380,1282,1396,1466,1520,1570,1504,1400,1158,1086,1226,1516,1432,986,719,816,822,648,583,741,810,482,541,943,1134,1084,838,591,742,915,1376,1340,1166,1208,1330,1188,815,607,522,476,667,1004,1166,1258,964,601,809,1126,1170,965,1072,1024,709,673,1136,1484,1282,731,608,938,1368,1208,640,475,579,897,935,799,670,849,969,966,827,534,773,1510,1860,1604,1262,1070,1090,1232,1350,1356,1408,1278,1018,733,830,1418,1732,1396,1005,995,1112,1164,707,667,675,619,1106,1376,1084,890,761,575,528,493,513,645,819,894,1036,1250,1432,1654,1866,1744,1516,1726,1650,1500,1114,658,664,1286,1348,1005,667,469,662,1206,1256,1284,906,425,451,428,532,619,404,524,837,678,1009,1292,745,1021,1556,1294,453,488,1018,866,601,431,328,517,666,647,523,559,803,1180,1312,1348,738,658,610,805,871,1684,2454,2542,1760,816,816,850,799,843,1164,1046,667,463,363,648,1178,1496,1046,844,1144,1560,1372,1350,1220,999,1114,982,820,735,549,301,450,790,723,401,339,347,450,510,440,342,313,593,984,1050,543,963,1316,1002,744,1007,1448,1580,1970,1770,1370,1021,667,785,959,531,417,350,458,738,1222,1210,938,577,481,487,407,362,434,419,408,476,617,841,830,578,500,446,571,708,744,832,870,858,948,829,463,439,420,420,401,417,367,342,392,469,518,549,589,539,513,520,515,475,455,607,647,702,1314,1990,2154,2076,1896,1692,1060,906,734,913,1064,1438,1722,1580,1162,692,502,479,517,553,526,508,742,1824,1622,1470,1714,1810,1694,1498,1398,1438,1288,940,505,390,583,731,1302,1182,774,1062,1338,998,523,492,525,487,396,335,336,344,531,795,717,823,702,365,331,335,317,302,300,337,384,370,512,537,492,538,601,730,1013,1005,728,482,639,861,701,630,486,404,496,655,730,782,661,528,471,874,978,764,537,459,887,1440,1426,1286,953,694,824,995,807,847,1078,1094,956,823,1074,1092,1058,1400,1104,879,1466,1488,763,758,1492,1954,1912,1692,1582,1432,1050,681,694,1056,1360,1410,1406,1146,1386,1040,680,402,281,278,309,340,349,404,419,411,475,440,529,580,521,573,644,651,615,550,488,427,388,371,371,448,846,1410,1256,892,679,446,706,1268,1138,545,513,845,1376,973,988,968,603,761,1092,946,655,647,725,936,1444,1126,1206,1106,1154,1436,1300,1044,1074,1210,1514,1558,1442,1354,1416,1588,1752,1610,1912,1896,1734,1216,1074,891,824,1448,2386,2766,2668,2500,1844,1804,2654,2690,1480,863,1142,1272,1370,1322,1148,1017,949,948,907,975,998,1013,991,1272,997,828,816,640,594,602,622,710,940,815,661,646,779,803,814,900,833,711,743,772,547,436,440,688,1358,931,1298,1732,1682,1732,1488,1036,1056,1062,656,600,632,601,981,1064,1236,1384,1320,1152,1216,1390,1390,1488,1572,1310,760,489,743,1570,1836,1426,1528,1682,1618,1562,1738,1690,1308,1272,1410,1406,1476,1786,1604,1418,1368,1422,1290,1188,1368,1366,1182,926,1196,1172,780,905,1352,1538,1478,1318,1180,1098,1176,1260,1010,1178,1532,1478,1164,730,803,1070,1306,1090,594,520,824,1238,1378,1022,1070,1232,1142,998,1134,1218,1128,1426,1776,1742,1804,1742,1488,1396,1258,1282,1056,1332,1426,1230,817,737,814,703,563,852,922,926,1256,1418,1390,1388,1464,1404,1042,871,904,788,1001,1104,600,365,603,1126,990,498,443,585,805,915,802,912,1152,1366,1230,1222,938,915,1001,902,978,842,743,985,1114,915,1024,1488,1450,1252,1021,750,1080,1134,1880,2266,1782,1158,824,711,471,368,417,663,646,716,590,801,973,551,406,671,608,418,544,555,530,649,523,359,298,328,414,441,522,1202,1714,1310,703,591,682,711,866,730,850,1034,759,619,836,1132,1060,655,750,870,893,719,669,722,850,1312,955,563,799,548,413,788,1628,1200,769,416,302,297,323,361,350,428,473,357,309,321,241,263,343,357,283,332,288,492,483,347,510,728,924,756,368,278,574,699,771,689,685,619,461,372,330,337,432,481,371,384,553,885,868,487,396,576,680,614,605,808,633,449,335,386,453,849,926,850,918,706,481,423,365,533,942,1272,855,601,930,1194,778,455,377,343,377,1034,1444,796,674,1434,1050,540,338,796,1234,1668,1398,717,510,656,983,1094,990,1034,991,1000,608,728,847,1098,974,991,1334,978,648,786,695,530,1062,973,933,839,1004,1484,1410,1082,1013,1884,2666,2370,1306,764,688,671,669,753,741,775,699,640,572,525,533,577,962,1672,1576,1248,1410,1462,1354,1304,1144,910,871,1058,1178,1234,1404,1360,1624,1824,1530,1208,1204,1600,1284,1598,1608,1102,829,951,1216,790,426,495,791,572,650,894,1316,1480,1360,1242,1086,800,544,435,563,409,387,330,288,277,250,343,355,299,311,279,299,332,436,518,458,706,1220,1224,728,598,553,612,856,1098,1244,1094,1082,979,578,550,476,531,540,457,418,393,418,460,558,576,654,652,704,604,440,338,443,891,976,747,535,308,460,786,827,721,1120,1116,660,422,575,601,672,993,1168,1478,2038,1774,1696,1166,1286,1266,990,1172,1230,1338,1282,779,538,532,901,1060,985,1260,1328,1402,1030,901,1246,1110,966,1078,792,755,849,796,697,584,479,354,492,481,716,957,820,633,1272,1430,808,1194,844,781,1546,1288,1152,1096,972,836,969,964,830,1138,1176,1022,680,623,786,799,755,531,620,1046,1142,1248,1222,620,660,605,450,558,903,697,632,738,1520,1494,725,829,1248,996,747,601,541,551,669,778,586,399,287,270,279,290,325,622,900,703,645,786,828,684,637,963,1466,1278,1032,1176,1086,1158,1404,1174,893,760,814,973,1744,1552,1222,1136,886,1156,1250,1090,934,904,655,655,1110,1376,1842,2088,1420,971,1190,1126,1474,1772,1578,1284,1294,1694,1294,881,648,721,925,750,498,697,886,974,907,1023,785,560,850,812,893,1648,1638,1114,773,650,863,1104,1064,939,762,667,591,756,1210,1472,1532,1376,1394,1228,844,661,731,894,856,941,1142,1024,882,832,982,971,916,921,969,958,1356,1878,1864,1604,1042,598,951,1656,1526,1230,1172,1000,1003,818,840,932,941,963,1276,667,408,454,460,608,581,663,860,1162,1396,910,539,598,1136],[534,468,483,526,413,350,322,392,470,409,427,470,439,333,327,310,422,608,476,354,333,314,314,343,361,381,339,282,290,299,352,389,382,379,398,390,381,386,405,398,376,371,369,439,625,562,570,632,736,642,390,391,354,331,308,438,473,351,339,438,828,1360,937,534,518,476,449,448,440,395,372,315,308,364,399,433,655,825,665,597,443,347,340,329,405,519,488,549,491,750,1036,1034,856,840,1030,1654,1794,1340,871,385,378,670,1052,788,515,449,370,368,479,594,525,328,368,497,918,1086,1136,1252,1206,1208,1058,965,948,691,1356,1606,909,881,774,422,364,376,412,637,876,980,1356,1676,1752,1620,1686,1970,1540,730,496,620,752,650,752,600,451,456,610,1098,1360,1416,959,1160,1538,1244,1023,1072,696,514,523,513,469,561,677,444,447,499,621,523,525,548,601,631,509,577,678,870,1005,601,667,745,832,877,814,802,925,651,550,805,734,578,595,622,919,949,952,987,1142,935,539,391,481,470,486,671,568,593,655,637,614,625,426,372,386,390,506,1266,1610,1350,1104,1194,1334,999,1212,1136,853,686,484,489,589,672,652,492,402,433,455,440,443,366,358,312,302,331,361,365,378,359,364,386,420,390,371,394,402,436,454,437,430,393,365,338,316,384,414,417,505,414,359,305,345,496,527,504,495,453,587,948,1244,1366,1628,1728,1598,1276,1168,1530,1898,1462,887,824,862,818,609,653,810,1332,1158,678,474,495,479,419,349,351,411,397,446,499,564,618,574,672,1130,1424,1230,1134,1194,929,605,597,605,508,890,1308,895,1056,1156,1406,1928,1830,1196,639,724,724,528,414,350,444,559,491,566,761,863,877,791,450,501,1005,1762,900,471,598,872,910,839,1046,1252,1182,1208,1160,933,786,1020,1220,1556,1502,1044,891,821,698,506,474,504,505,547,865,1200,1722,1340,1492,1360,882,760,822,849,649,741,985,705,774,885,957,990,1216,1144,896,946,711,545,791,1152,1280,1234,1324,1570,1470,1238,1136,1076,1326,1354,1206,1064,847,547,553,644,664,700,777,1044,933,850,581,458,498,650,1108,1492,1344,1102,1100,1074,775,711,1134,1006,1044,1092,1108,1168,958,864,909,762,992,1174,1308,1334,1566,1738,1666,1512,1378,1390,1140,572,491,841,1028,999,1122,908,1216,1244,1094,1072,1412,1170,1318,1744,1258,1282,1238,1278,1366,1306,1372,1400,1398,1340,1176,715,515,708,832,708,809,1090,650,885,1208,1658,1166,581,629,669,1000,1590,1514,1310,818,1038,1382,1290,1144,976,857,1246,1454,1248,1003,987,881,1346,1446,1592,1498,1310,1158,669,681,1178,1510,1242,851,563,566,1056,1262,918,594,613,575,1048,1144,1144,1248,1186,1032,890,721,852,1404,1528,1466,1040,977,1110,1462,1276,952,1078,1404,1390,902,825,1202,939,620,815,1030,1232,1028,776,918,879,1218,1726,1238,885,770,1038,1234,890,755,987,1156,1042,1152,1104,1022,1466,1678,1460,1550,1666,1734,1628,1470,1100,733,872,1238,1340,1186,818,524,530,696,687,1200,798,532,570,933,1114,768,529,518,579,650,843,974,1192,1598,2012,1382,565,361,730,667,390,361,347,369,539,825,1060,976,1030,1420,1356,861,509,478,654,771,925,1328,1690,1662,1204,1378,1474,1234,971,819,727,493,454,393,384,492,1030,1508,1504,1180,1194,1896,1832,1216,1128,1044,772,671,698,988,976,666,436,337,489,361,312,303,342,371,312,279,310,324,588,832,616,1220,1422,796,1310,1770,1760,1832,1766,1474,1134,626,405,663,1230,949,715,539,665,1282,1468,1008,581,287,261,337,455,535,643,467,396,403,390,438,420,335,339,376,515,740,799,833,874,889,907,924,604,493,442,388,403,415,381,363,396,434,502,572,544,591,647,674,615,607,688,814,627,662,1198,1686,1686,1560,1510,1422,1080,1070,1262,1288,1164,1386,1478,1428,1236,775,731,817,977,1202,1282,1238,1280,1692,1664,1580,1696,1360,1020,779,902,1208,912,406,499,607,547,535,809,965,822,636,1015,1394,1080,772,601,431,379,391,413,413,430,476,686,974,836,462,403,344,301,297,300,350,407,372,509,629,499,465,590,985,1048,637,473,471,591,669,624,580,480,457,515,580,561,608,643,584,426,424,488,627,725,650,1128,1418,1214,1390,1282,941,572,714,700,752,843,1136,1274,1344,1246,844,1026,874,645,974,1246,896,853,1418,2060,1558,1318,1550,1494,1182,756,652,1016,1362,1326,1190,899,948,1540,1200,683,408,310,273,288,336,359,397,416,456,560,606,601,618,701,690,629,590,488,399,427,397,346,380,426,417,686,1066,1200,1068,692,501,503,881,1420,1194,886,816,949,631,652,798,672,751,958,1088,802,658,791,1032,1304,1208,1320,1310,1316,1472,1364,1096,949,1070,1622,1782,1646,1664,1776,2068,1836,1610,1136,1328,1550,1404,1360,1230,1212,1690,2310,2578,2580,2320,1732,1816,2546,2640,1530,944,1074,999,1248,1116,1106,1118,1050,886,924,1040,1018,1094,1340,1378,1028,890,679,628,493,534,635,733,1013,966,846,916,954,814,823,878,884,789,739,786,551,466,422,589,1200,1011,1174,1722,1666,1678,1404,805,596,767,686,612,630,523,720,903,974,1218,1294,1334,1486,1284,1432,1504,1174,675,585,1064,1520,1682,1252,1288,1692,1756,1810,1650,1522,1144,1062,1116,1380,1656,1954,2048,1792,1366,1224,1472,1438,1268,1230,1252,1284,698,688,880,880,1032,1280,1466,1498,1274,810,934,1332,1368,1268,1182,1258,1254,1194,1004,889,1158,1440,1194,774,512,786,1078,1428,1400,1007,805,770,830,1015,1240,1412,1288,1290,1428,1492,1692,1490,1174,1088,1090,1005,1262,1296,891,634,778,1182,1394,1094,1002,818,968,1162,1260,1260,1362,1464,1072,481,702,1024,930,645,919,850,761,998,960,593,542,664,621,764,900,932,949,1042,1240,1072,1010,766,845,758,628,861,846,723,688,883,794,963,1080,1416,1420,1050,940,1216,1102,965,1138,1418,1044,894,675,487,590,628,861,1052,1042,836,1166,1324,703,330,363,489,520,586,502,361,359,415,338,254,234,347,487,570,889,1080,843,655,583,819,665,896,1214,1266,932,566,473,560,915,1164,1210,1300,1354,1082,940,805,639,580,551,466,846,1664,1072,684,662,1124,772,429,404,469,425,444,398,362,332,204,257,362,454,352,324,529,496,298,322,316,253,258,292,320,559,608,482,321,311,508,824,1018,1068,861,644,637,529,578,434,364,351,436,667,711,1100,1316,832,648,955,1028,883,652,549,617,552,637,650,514,586,525,678,923,714,471,544,832,859,549,537,564,521,941,910,567,544,684,509,351,493,426,406,566,1368,1130,698,414,322,629,1134,1204,814,443,517,823,929,827,615,445,653,651,883,1130,1298,1058,1094,1364,748,764,1344,924,619,1440,1082,1030,859,1098,1396,1354,957,594,1274,1942,1504,698,457,505,597,534,794,1148,866,485,510,502,448,488,565,489,918,1086,1260,1394,1598,1298,1318,1350,1084,1546,2102,1616,1244,1168,1170,900,1052,1104,863,1062,1466,1648,1788,1614,1420,1290,1306,1007,689,384,614,1394,1210,1156,1294,1300,1382,1312,1062,1590,1556,763,603,607,394,391,342,327,296,290,478,561,572,409,335,333,347,386,496,518,630,1050,1166,1066,1004,960,1062,1124,1226,1258,1100,944,560,356,343,399,527,592,615,628,623,669,570,512,410,581,636,919,666,334,306,289,530,935,1074,703,524,634,975,1056,980,956,1142,763,364,422,431,576,925,1013,1244,2206,1732,1013,588,972,1266,1007,759,940,1362,1248,998,862,897,1098,1186,1376,1186,1015,1142,928,747,858,756,896,1090,1090,1250,1126,1048,1012,762,659,425,420,385,590,957,811,566,860,858,770,1278,1252,1032,1332,1296,851,634,655,556,586,946,1284,1556,1556,1450,1026,543,576,714,596,700,1102,1188,1144,1048,888,963,973,556,558,659,1184,1192,703,810,1144,921,743,1012,1214,978,757,744,644,516,713,705,550,427,298,289,327,311,307,608,651,593,525,388,565,589,796,1364,1350,1088,1018,1240,1132,1102,1064,1282,1104,765,789,957,1086,1038,821,353,498,748,893,888,792,891,951,1098,1234,1350,1644,1562,1222,902,736,763,1332,1534,1090,598,1050,1632,1732,1182,752,960,1362,1266,788,819,979,1278,1154,1005,556,329,566,882,1172,1544,1874,1874,1182,864,808,1114,1370,1166,967,816,721,965,1290,1428,1268,879,964,1236,913,667,688,583,560,514,672,1050,1014,896,881,810,886,775,917,1148,1228,1566,1656,1510,1622,1396,1312,1648,1648,1332,744,482,744,1050,1010,1160,1252,924,686,495,448,467,936,1322,1116,1006,1172,1448,1696,1172,956,1114,1470],[567,475,483,513,392,342,335,340,383,394,374,389,520,477,365,379,479,618,565,502,440,343,313,340,353,357,322,290,289,300,334,344,364,393,408,396,381,358,360,388,364,362,362,358,620,733,868,876,907,644,359,318,290,289,349,386,315,318,409,597,1272,1834,971,472,515,438,487,555,507,420,370,442,430,458,532,478,583,587,555,639,503,368,311,376,391,503,479,468,806,949,1126,1146,1228,1178,1192,1516,1362,940,681,487,446,750,890,719,459,351,335,344,361,524,587,365,322,494,957,1086,1120,981,843,1202,1354,1158,955,867,890,878,1094,1160,850,468,389,362,495,894,1112,722,623,1001,1284,1050,1258,1782,2030,1674,756,567,944,1332,1196,780,590,455,732,1196,1260,1108,1138,1186,1410,1324,1660,1702,1286,961,701,816,796,1180,1384,733,651,728,1184,1058,706,581,642,662,513,705,1422,1856,1338,535,463,456,409,480,510,477,510,538,484,435,494,475,378,367,384,561,630,661,1050,991,568,431,433,535,719,791,545,716,606,633,637,580,442,390,388,410,421,390,412,640,652,572,682,643,771,1032,1080,774,547,540,568,665,648,507,487,451,472,447,343,309,321,343,340,354,345,371,392,388,394,443,405,378,348,379,402,428,461,505,482,410,363,325,232,296,457,434,475,419,376,336,344,341,459,624,510,448,491,705,819,836,933,1338,1554,1512,1670,1986,2008,1760,1856,1252,1130,786,637,552,933,1094,871,742,567,459,476,458,396,473,774,480,623,661,875,922,943,1098,1130,1222,1372,1160,1001,891,715,510,430,367,485,754,1046,1296,1300,1416,1492,1152,682,503,467,458,401,328,312,384,385,428,639,672,533,829,1126,533,515,862,1208,1011,789,615,556,509,599,1058,1426,1252,1250,819,880,817,1166,1464,1894,1540,930,809,1092,1080,632,456,480,454,503,813,932,1104,1092,1356,1018,822,1042,1034,987,844,949,1224,758,645,756,662,662,1062,1102,1156,1258,1005,611,705,981,1142,1310,1498,1622,1478,1302,1300,1302,1436,1196,758,815,835,659,736,773,551,496,559,891,883,839,624,501,763,1206,1326,1166,1136,1088,857,934,1048,1144,1026,984,976,760,852,1072,940,1058,1050,1020,1370,1360,1434,1302,1326,1286,1418,1740,1704,1606,1346,813,783,954,1016,1100,1001,1114,1536,1564,1386,1454,1322,879,1268,1468,964,908,1011,1144,1262,1410,1456,1476,1176,854,816,495,464,595,879,1040,877,1256,1558,1670,1434,1462,1094,737,791,656,836,1562,1460,1406,791,1312,1888,1476,1634,1550,1556,1704,1510,1272,1334,1710,1424,1318,1466,1750,1338,1342,1128,618,501,927,1248,1006,1002,847,482,972,1420,1366,1482,1340,888,1040,1460,1630,1322,1088,1019,1034,1074,1256,1376,1236,1450,1614,1258,952,1250,1020,674,975,1428,1362,1242,1146,1060,626,738,1066,1116,1122,995,1007,1024,914,821,1020,937,698,841,1430,1638,1226,1092,1102,1230,1388,1352,1202,1114,1192,1456,1362,1208,1478,1624,1360,1174,1176,1190,1246,1048,846,1278,1012,929,909,1064,938,719,567,540,642,1292,1396,964,1130,905,979,1078,777,554,702,1050,1142,779,528,405,455,518,548,536,437,383,419,484,629,766,944,1492,1478,1098,859,717,539,643,923,1114,1356,1292,1154,1560,1332,1284,1202,816,609,452,585,709,814,551,612,915,1096,713,760,1342,1434,1328,1606,1406,1001,627,825,1400,1472,984,645,460,448,425,415,334,258,297,288,261,423,667,572,546,518,698,654,465,929,1584,1734,1456,1278,1108,858,716,492,618,1184,930,665,665,623,874,980,754,542,496,463,502,491,627,751,467,310,296,361,390,349,339,361,365,435,744,801,761,753,859,905,927,712,525,508,437,374,398,412,379,394,412,458,513,505,603,742,822,954,1026,1090,1122,692,720,1054,1326,1424,1424,1430,1450,1146,1340,1628,1264,1054,1158,1174,1360,1356,1078,1516,1866,1892,1948,1958,1946,1866,1626,1236,1248,1384,1007,752,904,1090,741,357,361,623,754,540,364,444,568,588,620,600,1200,1520,1068,561,370,393,458,469,420,469,542,560,713,926,692,474,321,303,281,268,307,363,366,423,593,472,620,929,832,518,441,415,408,434,467,488,462,482,512,541,541,459,383,474,558,536,518,462,447,510,688,1220,1316,1334,1728,1638,1146,597,554,655,762,818,1078,1438,1460,1092,963,791,689,1870,2072,1368,1362,1476,1742,1528,1162,1442,1592,1360,916,690,714,1174,1422,1286,991,710,1112,1472,1224,804,415,375,362,397,376,349,385,370,423,517,588,544,480,460,432,455,497,384,361,380,357,325,356,450,460,500,839,1326,1136,647,672,561,479,1004,1142,1186,626,515,672,482,367,674,1062,998,922,709,949,1118,1354,1182,1266,1452,1502,1322,1376,1466,1328,1148,1092,1892,1998,2048,2078,2768,3374,2430,1492,1026,1016,1358,1426,1326,1378,1440,1570,1656,1718,1992,1886,1454,1698,2458,2502,1632,987,1064,987,1254,1100,1278,1302,1130,987,961,923,1010,1168,1216,1240,1128,1168,1028,842,596,657,748,940,1048,1024,1186,1356,1182,979,882,843,808,741,750,818,610,477,425,601,1180,1084,989,1636,1572,1476,1360,1256,1058,1144,935,675,664,558,827,1406,1584,1700,1512,1278,1166,1404,1434,1150,723,617,1328,1986,1756,1282,1206,1678,1708,1578,1636,1494,1172,1032,1166,1368,1832,1786,1720,1826,1852,1876,1982,1438,1556,1514,1238,1076,1084,832,679,688,720,1036,1230,1200,1192,1396,1156,1108,1068,984,1224,1264,1192,1086,1260,1504,1276,1244,1318,957,591,586,634,641,833,971,739,615,621,749,1005,1372,1592,1204,1224,1328,1240,1474,1538,1396,1244,1168,1218,1248,1344,1108,964,894,1188,1352,1040,1070,1094,1082,882,897,1200,1404,1476,1198,591,461,522,728,805,1142,1282,985,927,904,609,498,517,418,507,644,1042,920,1064,1058,764,673,572,519,437,615,1212,1328,913,676,989,1142,1202,1130,1382,1204,761,738,865,1060,998,1052,1632,1278,1044,922,772,943,823,1164,1442,1102,1009,1064,1038,1018,589,440,860,736,602,466,577,642,350,244,244,323,322,430,600,453,528,609,781,819,810,806,1228,1724,1736,1172,637,668,642,678,1004,1316,1412,1462,1318,1118,725,411,345,401,465,891,1478,1124,641,516,428,273,294,545,722,471,447,414,453,278,249,339,401,664,653,372,463,431,360,356,361,287,495,432,321,565,727,508,344,361,486,777,1136,1434,1082,687,837,551,873,685,487,586,1019,1102,695,760,1246,1092,1216,1502,1204,1020,726,460,426,613,851,1172,1056,472,397,542,546,437,442,796,1372,1294,822,472,583,827,780,658,539,519,1062,757,310,381,343,367,480,897,891,665,525,474,484,773,1015,1048,608,419,600,856,1026,824,473,632,943,959,1108,1542,1532,1196,1300,545,661,1228,728,868,1356,1074,766,590,839,1266,1470,1102,750,807,1186,1438,1050,562,445,647,911,1172,1332,976,851,620,457,438,498,404,454,542,952,1272,1238,1454,1434,1382,1230,1182,1794,1924,1520,1192,887,825,593,478,512,760,1120,1338,1614,1680,1438,1344,1374,1576,1158,752,465,684,1230,1492,1428,1302,1248,1380,1286,1026,1620,1604,832,760,583,359,405,387,337,309,311,354,404,556,377,262,313,418,484,597,647,621,792,1110,1210,1009,950,1138,1216,1312,1007,701,466,321,279,448,728,773,706,728,690,519,441,393,507,668,692,634,739,542,325,320,330,436,729,987,742,572,603,710,995,1032,1236,1686,1162,473,566,725,657,753,945,657,1130,1040,642,419,548,677,487,460,908,1236,1260,1140,786,1246,1654,1520,1322,1138,965,799,735,1009,882,820,1024,808,1078,1086,849,929,794,576,588,738,669,393,747,1332,1166,807,487,365,692,979,1224,1294,1216,918,548,533,564,466,501,965,1254,1360,1436,1414,1262,875,775,741,532,841,1484,1310,1426,1038,828,1222,1118,606,569,730,1120,1106,666,713,877,874,1070,1020,1012,999,959,811,847,805,573,564,658,451,330,338,348,340,465,954,835,614,450,559,705,360,515,869,938,786,738,807,1232,1456,1352,1514,1310,847,1009,1212,736,1015,1040,526,401,401,422,574,624,769,1012,1590,1570,1482,1676,1312,977,897,528,679,1230,1126,755,449,556,1322,1688,1220,1212,1434,1598,1572,1292,1504,1186,1246,1260,1034,767,556,529,811,1294,1196,1588,2034,1188,955,698,939,1230,961,740,591,856,1282,1356,1490,1472,1510,1348,1144,954,714,545,522,503,451,445,447,435,677,883,457,356,521,1068,1338,1378,1364,1366,1608,2036,2194,1844,1392,1194,689,509,536,607,723,987,1176,1160,1124,1194,1090,1164,1058,1222,1422,1294,986,922,1210,1554,1334,1352,1702,2084],[477,430,454,434,361,326,307,335,389,415,425,487,753,802,549,582,637,601,546,504,418,355,343,339,346,339,291,280,280,300,307,330,382,412,416,412,390,368,354,384,379,382,384,301,284,457,608,608,769,691,396,347,323,277,296,299,358,361,416,580,1180,1366,760,477,493,418,378,357,432,579,1126,1312,833,818,1334,1314,891,659,719,648,418,406,458,395,327,346,361,450,885,899,993,1388,1182,1054,1588,1052,476,562,539,581,541,630,739,741,582,414,357,439,735,1180,818,387,337,528,923,865,973,1030,1032,1356,1076,935,852,1110,755,728,753,966,746,468,450,415,523,863,797,406,393,536,725,619,733,1166,1720,1692,921,575,1060,1406,1246,1354,1102,571,578,1188,1322,857,1262,1238,1122,1432,1756,1700,1454,1036,785,1030,935,1210,1390,1006,846,1272,1880,1678,1330,1226,653,484,422,545,1054,1416,867,466,502,514,455,470,519,489,382,400,448,405,432,477,387,379,368,744,968,1086,1348,942,415,378,503,1116,1346,1176,959,932,686,637,679,603,493,408,357,407,416,326,412,664,522,413,347,298,444,537,514,505,527,504,465,619,677,557,531,461,525,437,335,305,297,337,378,376,355,394,372,377,375,366,360,378,473,505,408,379,407,438,440,489,458,444,398,395,406,492,632,843,937,705,390,302,467,502,493,1128,969,861,820,663,506,584,857,1252,1764,2128,2152,2412,2750,2140,1384,894,946,1182,1162,708,640,825,814,473,428,463,500,922,938,694,882,941,1060,1158,1222,1136,968,945,1088,915,704,684,683,798,926,912,654,862,1160,1036,1096,1236,861,751,851,718,503,527,418,314,331,444,619,857,876,771,816,1278,1458,890,650,516,464,567,533,401,409,460,529,1076,1796,1482,1622,1104,1114,977,797,987,1080,977,935,1018,1162,1030,563,466,775,700,670,985,926,727,715,759,954,1124,1052,945,710,558,574,670,529,567,576,664,914,951,1002,1202,1164,1080,671,643,847,957,1292,1496,1372,1088,1086,1146,1344,1530,940,745,828,1070,916,706,650,494,472,496,778,1114,1252,1236,1168,1396,1428,1158,1360,1166,750,361,734,1286,1084,915,1170,987,809,912,965,842,1272,1226,1096,1358,1564,1346,1240,1044,728,1064,1354,1268,1554,1250,1106,825,855,1212,1392,1220,1304,1566,1532,1106,1066,1434,1358,1562,1252,877,672,729,1036,1126,1094,1116,1416,1264,889,1082,561,473,564,777,1106,1402,1824,1704,1116,1118,1322,932,684,903,626,687,973,1086,1286,1020,1284,1500,1376,1382,1570,2030,1970,1290,1230,1936,1830,1200,830,1022,1532,1548,1248,958,905,849,890,1302,1234,852,753,519,856,1056,1036,1108,1204,1164,1124,1422,1506,1036,828,883,1156,1322,1300,1136,1498,1996,1834,908,530,811,878,736,969,1088,1246,1294,1508,1356,1005,1042,1116,1152,1248,1570,1332,905,692,550,577,582,541,824,1096,868,874,1128,1040,1244,1390,1184,1370,1592,1166,1230,1562,1306,1384,1504,1096,872,838,963,1176,1154,1066,1190,1290,1224,1260,1206,804,461,575,765,822,1504,1202,1182,1524,1266,1172,1282,1023,513,552,697,597,671,634,510,587,566,730,675,392,394,433,456,433,451,677,948,1034,989,950,1098,833,767,847,1072,1256,1230,1178,1326,1112,1078,904,708,526,408,794,1276,1284,662,525,470,583,780,843,755,550,832,1190,1146,1480,1054,1302,1614,1714,1098,678,638,567,606,550,499,321,297,335,398,601,827,966,1148,986,565,362,424,601,849,1100,1010,656,690,1116,1150,599,436,706,782,1004,999,697,455,672,1024,1038,1011,755,744,750,536,349,349,369,362,399,386,366,345,348,365,402,656,719,667,522,636,880,940,798,509,441,394,352,396,437,412,408,412,446,525,571,650,802,998,1198,1224,1292,1226,973,1026,779,778,810,723,1094,1298,1100,1314,1334,1124,1216,1326,1398,1482,1510,1342,1642,1852,1836,1794,1652,1396,1126,985,770,1110,1192,852,961,910,549,322,328,370,680,943,725,578,452,484,565,647,739,829,1256,1394,919,467,423,536,537,531,639,735,626,515,708,837,659,412,303,296,259,274,297,328,454,787,736,910,792,498,396,405,318,258,333,391,419,416,463,543,582,485,466,409,438,504,483,505,529,449,395,939,1414,1228,1462,1532,1494,1176,672,477,623,763,779,806,915,973,1030,894,648,1942,2918,3052,2632,1990,1656,1732,1428,1456,1688,1538,1126,763,933,1166,1388,1478,1242,893,986,1260,1390,1510,1028,432,360,349,358,318,323,376,372,395,433,441,401,342,332,356,433,420,358,319,336,375,387,401,407,368,346,458,845,1068,921,788,510,311,465,626,716,514,647,786,617,596,714,752,713,874,843,816,1060,1104,1058,1226,1378,1338,1216,1172,1436,1408,1314,1400,2040,2088,1764,1938,3124,3350,1870,1162,1146,1296,1518,1412,1426,1308,1224,1130,991,1018,1280,1412,1296,1554,2238,2218,1484,1090,1316,1114,857,976,1438,1242,971,944,903,990,1066,1206,1150,1118,1062,1176,1198,1001,730,796,1010,914,525,608,1058,1372,1324,1292,993,814,788,734,706,780,645,509,462,644,1236,1266,838,1252,1262,1184,1126,1282,1360,963,694,794,673,588,927,1546,1692,1790,1758,1650,1556,1482,996,711,760,1346,2376,1926,1270,1512,1786,1762,1712,1448,1308,1140,1058,1312,1474,1736,2030,2116,1928,1538,1996,2696,2754,1900,1670,1638,1604,1236,1060,1094,1154,1102,1122,1288,1296,1328,1252,1086,1142,1406,1356,1256,1422,1434,1224,1126,1172,1308,1232,1224,1224,891,607,555,534,608,542,589,807,806,602,753,987,1404,1626,1254,1226,1196,1198,1172,1260,1522,1594,1458,1240,1218,1292,1304,1450,1266,1058,1088,1100,1404,1578,1384,939,779,959,1266,1394,1428,1042,438,306,500,980,1360,1152,929,1378,1538,1416,1021,621,674,819,662,893,851,897,741,538,504,411,278,291,443,655,796,710,899,1276,1282,1230,1166,985,664,408,498,633,834,1236,1108,1106,1112,1218,1042,835,832,1060,1954,2198,1498,1030,1098,2324,2504,1392,679,869,753,582,648,1034,803,271,249,260,286,226,245,264,290,411,600,657,781,754,641,987,1408,1222,893,576,540,512,481,882,1046,1106,1394,1412,1212,730,362,316,328,347,428,465,472,344,324,325,323,402,763,1040,534,412,653,584,350,368,492,588,1176,1140,404,323,327,393,456,482,394,561,535,368,412,530,478,445,498,419,460,878,1326,1146,745,1012,655,833,786,576,980,1318,1136,853,719,851,912,1208,1126,808,935,836,547,378,458,613,1282,1572,946,536,708,783,708,533,565,1007,1358,975,564,661,963,1015,1078,931,543,1084,632,338,381,442,401,344,422,568,689,723,757,538,874,918,904,731,647,773,714,902,807,520,633,766,894,1144,1170,1116,868,856,468,386,515,370,761,1000,948,1110,1064,923,865,890,848,834,1022,1306,1488,1120,781,786,1078,1176,965,1216,1220,1582,761,394,401,481,425,404,531,1426,1912,1570,1440,1488,1552,1466,1190,1770,1798,1556,1674,1266,780,571,404,656,1230,1216,1348,1598,1552,1302,1334,1678,1532,1208,985,791,653,743,1074,1328,1422,1444,1282,1172,1100,1170,1094,851,797,557,344,426,395,349,309,289,219,246,300,280,251,329,523,644,663,671,604,596,896,1128,1092,802,784,747,611,624,476,279,254,269,540,897,717,765,696,572,458,492,568,813,943,744,608,711,791,459,370,400,491,584,684,898,849,626,589,891,1166,1550,1676,1250,1021,1108,1134,1074,1218,775,636,724,612,639,563,454,362,340,395,731,1070,1108,1040,1054,1316,1482,1388,1210,1172,1528,1714,1272,1262,830,830,1360,1180,1116,948,1188,1534,1346,1104,1186,1270,1092,648,994,1560,1234,1208,993,680,807,1182,1416,1136,1144,1526,822,511,487,393,637,878,888,1172,1242,1372,1520,1222,1018,1038,936,1002,1484,1262,1136,1034,1122,1206,985,668,656,597,641,868,998,1262,1800,1236,904,639,720,714,672,527,672,1032,1100,858,854,575,417,372,310,277,388,621,658,553,425,408,489,276,319,403,445,552,599,1015,1548,1498,1466,1614,1398,959,886,912,768,905,1010,763,604,562,893,924,853,808,1009,1470,1244,1204,1280,1298,1250,1444,1232,1350,1536,1232,846,708,705,1112,934,912,1546,1468,1242,1586,1586,1466,1252,1328,1166,926,778,682,835,1372,1410,1326,1744,1508,1264,1528,1130,1306,1518,1424,1278,847,1114,1050,979,1498,1686,2020,1488,1048,1188,1186,1120,864,657,603,451,444,554,844,993,538,391,910,1958,2388,1872,1072,886,1218,1980,2132,1804,1214,827,565,520,477,540,702,610,594,875,1094,1228,1960,2356,1294,694,741,951,1238,1158,869,1005,1354,1644,1764,2018],[414,455,457,360,318,324,303,327,437,495,535,680,897,814,677,608,555,508,430,392,391,418,432,399,333,362,335,322,363,368,357,383,404,407,418,431,416,410,398,381,394,390,381,333,272,359,400,389,442,432,296,329,323,274,283,309,333,436,486,622,1064,1088,594,496,556,466,380,323,504,724,1308,1906,1538,1158,1654,1428,798,778,1086,849,711,641,560,383,343,346,365,375,608,761,921,1346,928,721,688,643,553,505,538,599,518,529,724,874,925,1016,1320,1320,1356,1390,734,405,387,522,910,797,568,836,943,957,894,940,901,1216,1414,1322,1220,1318,802,473,569,481,460,560,568,514,466,563,537,528,764,972,1132,1190,1026,915,1086,1230,1554,1592,1438,891,995,1230,1190,1318,1328,1030,1274,1276,1138,805,897,870,754,1108,1162,1292,1440,1274,1220,1608,1706,1472,1500,1390,473,326,317,435,659,680,524,539,669,665,527,455,427,387,390,414,386,381,408,417,432,428,324,657,1124,1318,1624,1088,618,623,604,1004,1030,1432,1168,683,615,606,606,543,420,402,387,355,341,296,411,585,461,447,415,424,475,418,432,535,577,475,369,374,473,454,461,486,520,429,339,347,353,385,394,325,246,235,307,335,355,345,351,458,604,569,370,355,381,469,541,576,558,580,598,554,485,490,682,1054,1232,830,380,289,347,371,948,1764,1918,1518,857,609,631,735,718,758,1298,1372,1792,2106,2336,2380,1948,1414,1382,1570,1162,938,1038,1340,1650,1054,725,670,791,1164,1224,1180,1164,1220,991,871,655,808,951,1174,1170,922,667,498,659,982,1394,1356,871,633,623,525,727,1086,905,667,898,969,711,394,291,299,523,1048,1240,1490,1098,851,998,1554,1406,708,431,433,422,522,530,493,483,490,500,1066,1566,1704,1600,993,1040,1220,1188,844,624,1092,1158,1090,945,858,480,578,1166,977,713,868,900,910,774,827,869,753,567,856,839,436,334,326,566,765,815,1076,960,666,867,1082,1296,1240,1032,1074,1166,1306,1382,1352,1238,991,944,1148,1314,1232,959,1112,1028,944,915,686,555,566,567,662,884,1050,1378,1650,1192,1288,821,692,957,1132,893,703,1092,1518,1344,1134,1116,854,855,1028,1462,1278,1324,1212,1286,1404,1300,1196,1164,678,716,1224,1366,1316,1388,861,766,854,780,1184,1574,1418,1450,1728,1404,787,1142,1302,1490,1550,1268,1378,1100,886,1054,1080,1090,1046,1306,1262,1460,1416,704,471,614,791,980,1372,1632,1478,1302,1476,1232,624,439,458,545,1302,962,602,821,1204,1438,1314,1308,1090,1130,1320,902,999,1588,1942,1332,796,684,614,707,1078,1180,904,1042,1154,1248,1580,1582,1358,1032,654,433,503,797,999,1142,952,785,1248,1674,1418,800,550,735,791,895,1048,1446,1664,1190,645,1002,1050,682,586,896,1156,1406,1196,1248,1396,1438,1256,1030,1260,1382,1758,1302,830,451,491,863,744,577,999,1076,684,1010,1182,906,884,868,973,1528,1506,1246,1486,1766,1754,1646,1502,1384,1316,1001,1058,1098,1278,1406,1306,1346,1126,1006,890,543,394,698,1050,1248,1956,1314,1252,1350,1330,1216,1156,938,702,963,1216,853,645,543,497,676,827,897,660,392,311,448,720,630,422,610,586,577,537,515,747,1082,1021,897,1208,1004,833,1116,1166,1188,1050,541,375,477,379,598,953,769,544,552,458,392,483,724,721,481,611,524,697,1004,683,807,990,1086,1058,1098,847,630,761,626,369,369,419,722,845,866,778,625,730,1028,1304,1102,854,664,851,910,758,465,614,1026,1344,816,454,664,871,1288,1021,708,773,1146,1070,589,733,755,729,831,738,489,386,408,390,416,395,381,382,368,334,382,601,725,708,533,562,818,843,839,485,382,441,400,431,467,449,441,431,456,577,811,949,1094,1120,1230,1414,1610,1460,1364,1138,800,841,927,1100,1490,1522,1322,1276,1296,1238,1198,1174,940,888,1162,1188,1286,1524,1398,1048,826,634,522,443,409,872,1092,1092,993,567,307,426,615,426,375,482,623,586,491,643,685,623,896,838,812,1166,1358,953,491,473,498,647,678,720,551,418,441,544,622,515,327,265,242,299,376,392,446,866,1052,865,513,321,344,401,329,288,381,374,446,470,491,503,495,468,443,440,534,470,390,388,443,472,579,1246,1236,1272,1598,1596,1482,1338,934,501,481,564,597,462,361,453,559,622,1708,2874,3134,3370,3784,3278,2298,2060,2044,1804,1602,1230,1009,977,1182,1372,1432,1322,1254,1392,1454,1234,1316,1438,816,377,325,323,248,201,278,369,399,369,339,330,360,355,305,346,425,399,368,332,359,403,395,402,389,354,368,406,702,1238,1005,733,652,480,303,353,415,459,656,828,725,519,579,603,635,868,837,515,545,752,1032,1188,1296,1474,1138,988,1422,1530,1550,1820,1978,1906,2102,2586,3122,3176,1924,1196,1148,1276,1482,1604,1688,1302,952,918,968,932,1018,1068,1202,1456,1744,1578,1180,975,1136,865,546,677,896,889,1110,1466,1328,976,905,1040,1108,1118,993,1350,1776,1496,875,732,977,935,570,620,936,1250,1306,1350,1038,871,805,706,756,875,760,543,513,521,1120,1392,891,1020,1412,1594,1660,1750,1538,1008,957,1168,953,1098,1360,1626,1820,1848,1660,1534,1356,907,573,765,1040,1660,2366,1448,1788,1780,1498,1434,1468,1174,941,1028,1148,1246,1434,1716,1892,1748,1506,2148,2840,2784,2618,2574,1850,1528,1708,1414,1088,1084,1296,1356,1474,1342,1424,1458,1084,676,577,894,1228,1502,1600,1536,1236,1152,1120,1334,1198,1150,1174,975,816,633,648,635,535,701,720,819,844,883,1122,1236,1404,1262,1076,1046,1070,1052,1096,1290,1772,1642,1522,1482,1328,1440,1412,1416,1394,1198,1378,1842,1716,1360,868,741,963,1072,1252,1358,1090,593,371,398,585,987,930,1036,1394,1572,1596,1250,949,935,1072,990,938,877,686,454,516,402,335,273,301,322,302,459,702,1092,1614,1632,1396,928,550,404,382,695,1013,947,921,828,1038,1202,981,636,504,388,745,1336,1406,1120,971,1088,1860,1624,942,620,861,919,518,758,1162,904,347,251,245,268,245,307,405,295,374,583,689,782,733,868,1434,1732,1000,620,644,525,458,570,858,747,624,1160,1492,1326,916,404,427,502,414,308,246,277,390,448,333,454,690,571,506,373,522,827,965,884,642,556,883,1334,656,312,297,275,340,557,544,550,600,568,604,510,466,545,380,445,412,330,709,869,844,1002,1234,689,462,592,507,542,893,1122,819,933,1084,1138,789,447,361,611,852,855,813,768,642,1354,1452,1214,626,570,1074,1318,1364,1019,1023,1286,987,667,635,977,1148,1276,930,531,647,401,397,756,1184,948,391,290,466,791,946,1050,604,913,728,480,609,676,747,816,913,1062,1516,1390,1112,1174,1272,1246,775,548,515,391,320,282,255,357,599,1306,1684,1190,858,708,619,545,846,893,1152,1456,816,537,761,1098,814,794,789,794,1015,510,397,437,415,413,415,701,1448,1774,1760,1606,1642,1410,1400,1568,1584,1252,1256,1578,1384,1168,818,728,1042,1462,1086,1036,1624,1796,1816,1768,1694,1384,940,662,1036,1206,613,735,1274,1214,991,1028,979,865,823,872,914,822,561,382,384,362,358,340,289,240,257,271,272,268,365,523,571,625,658,534,525,707,979,1184,722,435,521,497,441,374,265,250,261,459,738,483,551,593,548,475,502,629,742,594,480,714,1014,1090,625,369,328,585,571,756,1282,1102,544,521,785,1056,1332,1376,1810,1614,1250,916,952,1022,852,1004,876,604,744,908,818,390,413,628,977,1158,1114,1172,1244,1202,1102,981,983,1190,1450,1576,1866,1042,799,752,1136,1428,1274,1294,1650,1662,1558,1712,1962,1476,904,824,1102,1110,903,1296,1378,1102,1011,1192,1011,564,788,1118,620,439,425,700,982,966,910,1013,1254,1422,1404,1154,839,779,761,722,948,738,962,1154,998,870,528,819,1306,635,691,1302,1486,1664,2032,1678,916,546,579,831,912,595,425,768,1566,1468,979,874,804,543,334,263,585,990,816,551,370,337,398,285,377,371,411,644,865,1282,1508,1466,1364,1322,1032,597,558,340,620,1002,1007,883,607,479,887,1116,884,845,1244,1072,765,946,1310,1284,1178,1044,857,987,1344,1446,1296,1438,1530,1562,849,634,1023,937,918,1162,1454,1472,1070,857,1001,1072,989,1074,1096,1232,912,1118,1588,1698,1820,1512,1186,1830,2520,2246,1546,1354,1582,1084,695,1208,1900,2104,1256,1100,1374,1186,1232,951,800,634,578,612,682,1038,974,518,320,816,1502,1748,1628,1092,1062,1520,1882,1786,1322,781,551,477,416,386,451,514,465,427,455,717,1296,1690,1656,813,563,557,838,1246,1252,1128,1224,1300,1182,752,947],[444,464,465,368,339,343,307,333,459,517,678,728,598,427,440,428,377,352,361,404,454,501,471,451,363,412,390,341,386,431,449,437,415,412,433,440,440,419,404,396,389,376,374,348,348,391,401,402,376,367,306,278,239,229,248,305,329,478,622,700,907,870,697,517,570,457,375,331,433,597,799,1522,1764,1368,1570,1166,674,580,744,651,698,686,540,586,624,771,849,783,995,933,750,1398,1088,757,784,843,599,500,602,574,577,769,1248,1550,1402,1294,1278,1138,1018,725,498,481,397,457,763,842,855,1056,760,630,935,771,843,1358,1892,1788,1942,1864,1148,1018,896,502,565,645,772,637,659,644,542,649,1110,1460,1120,962,1582,1546,1394,1272,1428,1288,1342,1396,1238,849,971,1388,1260,1272,1320,966,995,1060,1310,1136,754,1156,1246,1026,1280,1300,910,951,931,1088,1380,1302,677,401,334,409,685,750,619,727,967,1018,620,605,420,343,414,412,336,368,376,333,331,350,330,541,1050,1330,1584,1202,1216,1072,726,622,705,1214,1140,605,551,603,621,473,410,421,391,331,307,282,526,532,378,436,472,448,511,429,390,507,551,438,372,393,381,375,430,511,511,368,342,393,408,415,390,309,249,249,271,271,278,337,503,640,559,383,322,358,324,495,596,552,463,487,577,567,525,462,502,632,653,381,299,313,355,434,995,1698,2140,1668,1028,688,586,670,700,792,1362,1246,1300,1432,1634,1964,2120,1696,1670,1684,1392,1442,1570,1912,2166,1848,1212,835,1062,1290,1272,1230,1694,1708,1226,973,919,1278,935,687,727,940,753,502,653,1012,1158,1114,1021,899,1060,787,1056,1196,1118,915,766,930,741,336,449,509,761,1412,1470,1668,1126,865,1005,1354,1344,778,521,514,488,580,548,648,603,527,498,749,1078,1438,1244,778,754,1326,1556,830,727,1358,1390,968,854,735,454,705,1064,812,575,543,812,1026,1164,1478,796,571,579,793,785,626,487,536,841,967,1005,1018,743,860,1284,1480,1368,1372,1434,1352,1240,1284,1322,1316,1250,1136,1462,1186,944,1080,1438,1246,1030,1150,1182,912,826,744,628,624,816,1158,1430,1470,1190,1326,896,485,604,1024,1272,1316,1548,1892,1738,1588,1430,1302,1152,1316,1484,1330,1660,1896,1856,1694,1188,817,827,628,986,1416,1284,1498,1174,870,857,841,954,1280,1660,1520,1588,1748,1094,780,995,1052,1214,1274,1536,1862,1698,1490,1436,1108,954,888,1116,1354,2050,1278,491,455,605,896,1044,918,1224,1618,1522,1470,968,455,490,497,573,1090,1036,771,793,1306,1420,1240,1256,849,1116,943,650,778,1250,1520,1394,895,612,774,901,1106,1174,944,906,1106,1106,965,1060,1240,714,488,494,611,1130,1248,1516,980,930,1888,1950,1646,1272,742,485,581,754,1188,1628,1382,681,661,1096,965,543,438,669,1068,1348,1072,675,940,1412,1250,929,1298,1180,982,893,751,904,976,1122,1058,948,1110,923,757,1026,997,879,922,713,871,1340,1444,1628,1860,2116,1798,1278,1260,1584,1514,1434,1240,1386,1384,1216,1240,1396,1134,833,907,1009,1010,905,943,1314,1528,1190,1350,1318,1210,1090,684,574,814,979,939,649,505,554,424,735,885,682,460,384,311,339,504,533,499,823,827,597,413,480,933,1328,1134,967,889,686,943,1238,1146,1180,966,516,399,446,357,383,544,671,730,567,639,695,585,570,722,980,811,533,624,728,900,977,711,577,925,1152,1112,821,866,750,640,610,485,738,1092,1424,1242,646,458,913,1642,1332,935,781,789,728,877,691,483,671,1018,865,644,963,1262,1534,1288,976,1146,1112,818,572,797,902,905,976,893,539,415,441,470,492,397,316,362,390,339,372,537,725,801,827,780,818,720,853,536,433,419,408,536,547,482,470,434,435,463,628,778,1005,1074,1288,1470,1646,1574,1470,1246,1208,1350,1324,1282,1308,1216,1160,730,610,624,1021,1466,1230,893,1064,1072,775,823,815,698,624,545,579,662,764,1048,1228,948,449,274,323,570,868,619,329,313,373,468,706,711,484,622,984,987,811,896,1142,1326,764,497,583,857,698,527,541,458,372,410,391,409,509,328,326,359,402,424,689,1048,865,608,495,376,383,409,422,416,458,449,454,467,447,440,467,477,622,965,893,466,346,347,436,501,987,1340,1362,1532,1596,1490,1404,1390,1240,846,462,449,534,451,384,416,543,1466,2720,3050,3298,3696,4026,3968,2834,1954,1886,1716,1256,1050,1180,1340,1248,1106,963,823,894,1164,1592,1654,1550,1017,503,309,274,281,232,238,309,377,418,381,359,372,385,381,332,350,384,370,372,379,405,420,399,410,405,382,425,483,438,767,1001,817,620,665,463,282,298,365,572,869,1064,751,648,677,900,1030,750,543,310,372,583,1048,1290,1350,1060,1056,1244,1466,1580,1878,1988,1828,2134,2600,2946,3344,2330,1284,1102,1256,1526,1696,1664,1282,754,791,1106,975,993,960,1176,1440,1464,1118,893,880,904,758,601,712,946,1166,1446,1688,1284,1070,1012,1202,1256,1222,1208,1482,1628,1364,1006,1070,1244,1122,612,557,834,1122,1250,1262,1090,940,841,788,1003,1196,1030,595,554,498,1021,1480,1284,1402,1610,1650,1620,1650,1692,1636,1612,1600,1592,1492,1448,1450,1476,1308,1100,986,1028,1256,960,854,1482,2068,1636,1546,1538,1140,1312,1192,850,839,1094,1252,1224,1202,1286,1604,1844,1620,2180,2922,2830,2564,2730,2750,2350,1906,1596,1556,1302,1122,1144,1244,1428,1498,1566,1400,930,654,639,494,590,1072,1408,1554,1578,1504,1296,1404,1354,1240,1048,917,766,705,799,863,915,868,626,594,1030,1196,1376,1296,1228,1210,1228,1126,1028,1094,1234,1444,1838,1676,1642,1566,1448,1346,1268,1320,1424,1202,1230,1328,1418,1332,921,766,871,931,1116,1250,1216,922,563,421,657,1150,1162,1582,1552,1422,1484,935,768,1056,1142,1186,1200,777,570,570,464,338,403,336,331,421,475,463,314,750,1366,1086,954,760,987,827,796,1320,1428,1188,730,705,1120,1304,1158,862,561,385,508,881,1050,744,634,771,800,720,593,475,751,879,654,656,698,735,456,262,269,330,242,451,733,769,699,504,599,529,539,698,797,972,601,431,492,477,438,721,1023,741,553,816,1356,1322,805,548,985,1116,693,433,322,347,440,531,450,550,861,614,423,556,847,925,1552,2120,1302,568,607,645,378,329,333,280,308,542,698,738,775,951,1072,799,676,756,446,360,401,321,406,474,482,659,658,426,446,581,569,465,860,1294,927,813,1086,1000,514,308,300,372,691,1056,1294,1276,733,984,1208,1302,751,401,745,1128,1090,659,728,960,802,567,539,788,937,1332,1462,1054,720,408,434,878,1222,971,531,353,553,817,728,719,524,740,833,852,733,660,477,491,597,740,1338,1276,1270,968,1120,1234,939,683,462,407,348,318,335,314,328,613,1130,857,880,865,931,816,832,918,1368,1440,758,562,412,790,858,746,438,885,957,592,581,666,601,429,486,1112,1784,1422,1204,1268,1416,1186,1120,1374,1410,1182,1152,1214,1200,1336,984,908,1138,1012,965,1190,1820,1876,1922,1994,1438,1146,980,1002,1380,1066,919,1218,1380,1350,1380,1314,1082,943,744,647,855,811,505,424,328,315,336,344,322,289,282,269,276,317,432,526,534,521,505,428,511,612,667,675,480,354,448,497,579,422,297,264,254,381,653,578,521,524,467,412,394,415,549,720,830,1136,1036,864,556,339,406,681,861,1218,1478,1272,835,738,907,962,1260,1186,1064,1044,1114,906,946,907,820,1098,1176,1188,1266,1210,848,579,675,770,910,1088,1220,1162,1092,1280,1300,1216,1346,1212,1136,1278,1836,1240,1108,1222,1368,1514,1660,1400,1178,1312,1792,1704,1564,1334,1412,1300,996,792,1013,1252,1302,1242,1176,1334,899,595,729,766,616,622,841,884,693,839,888,1090,1684,1742,1674,1494,1096,852,828,969,1188,910,1032,962,733,648,713,1360,1790,900,1266,1596,1628,1356,1604,1668,1226,919,835,1276,1382,822,498,759,946,812,904,1058,1080,991,608,325,531,811,844,593,277,277,324,287,328,348,606,875,1106,1406,1406,1254,1196,824,621,466,399,363,678,1270,1050,706,641,452,963,1268,748,783,1582,1172,759,1304,1898,1234,711,1028,1404,1146,1056,1196,1414,1500,1234,848,739,554,489,784,1160,1186,1002,1080,790,785,913,1182,1338,1560,1346,1005,1020,1118,1142,1266,1202,958,799,1084,901,685,681,1006,1552,1356,1132,1378,1978,1850,1474,1600,1450,1332,1624,1014,675,460,415,369,338,715,897,533,339,558,1230,1804,1632,1136,936,1266,1050,714,675,617,451,437,419,420,426,354,419,580,451,532,964,1406,1080,684,577,602,847,1174,1050,1068,1142,973,561,484,516],[506,509,453,404,377,368,357,396,426,664,735,533,426,409,383,357,346,371,418,450,474,494,415,359,365,426,440,362,357,452,448,370,371,389,409,444,440,422,421,410,400,412,405,383,389,404,399,428,454,349,297,252,205,221,265,290,318,516,651,506,495,458,533,576,569,485,410,384,336,363,448,779,912,926,814,507,345,331,350,492,857,693,393,508,874,1442,1188,858,1266,1338,1066,1542,1494,1100,1038,1021,717,567,650,721,805,899,1200,1124,1038,930,732,709,882,695,522,478,516,506,612,902,1038,1112,1046,1316,1510,1094,1150,1426,1042,1390,2546,2090,1580,1486,1012,642,833,838,775,688,767,738,593,674,1194,1514,1236,1626,1392,1348,1168,1008,1444,1516,1402,1220,766,630,795,874,787,633,560,600,720,1190,1278,1050,781,692,658,571,769,1054,1032,864,539,827,929,1032,704,382,354,516,802,798,573,545,819,1060,768,853,588,416,398,398,365,357,356,282,267,299,316,443,1128,1720,1682,1548,1626,1436,1058,868,844,1134,1002,555,543,703,651,444,713,608,369,326,301,427,594,455,359,405,404,372,430,480,457,528,468,349,361,435,458,462,467,492,468,311,308,371,378,354,317,279,266,259,244,240,257,298,458,579,529,380,394,401,329,472,549,483,395,381,397,411,422,426,422,367,383,430,427,389,394,440,481,1138,1502,1386,1152,960,880,881,688,677,1018,1302,1604,1580,1390,1384,1442,1602,1666,1644,1512,1636,1930,2176,2164,1968,1636,1438,1286,939,970,1282,1754,1118,829,788,859,1210,1238,857,810,1116,601,627,898,770,672,823,901,921,1308,1222,1152,1140,1288,1170,739,548,442,550,844,1136,1378,1346,1186,1184,1204,1310,1086,1236,1514,918,549,546,622,545,562,616,674,803,697,439,726,979,933,1282,1230,1598,1538,1206,1262,1436,1238,881,892,803,565,705,800,783,610,572,879,896,1013,1082,669,521,502,420,494,604,458,442,448,688,897,736,696,1168,1518,1614,1374,1394,1448,1328,1342,1388,1266,1388,1394,1434,1532,1104,884,981,1122,776,797,1136,1152,1222,1084,799,745,749,971,1312,1372,1388,1458,1804,1394,607,498,852,1292,1534,1956,2084,1926,2032,1986,1850,1470,1282,1694,2316,2536,1666,1378,1432,1532,1190,805,824,1288,1368,1348,1518,1188,1248,1422,1310,1112,1174,1486,1594,1792,1588,930,1248,1228,938,1030,1244,1600,1942,1688,1460,1310,901,802,971,1300,1298,901,433,367,403,377,547,566,485,772,1246,1348,1456,965,515,605,716,564,544,927,1288,1188,1698,1434,808,738,876,1294,908,532,536,698,903,999,983,843,877,862,1028,1332,926,594,866,1094,829,1050,1008,418,404,357,550,982,868,1084,1122,1440,2120,1906,1528,1448,1220,699,564,888,1066,932,714,595,547,718,593,819,838,521,716,921,893,855,947,767,795,1064,1246,1130,950,762,1050,1530,1288,1388,1208,1142,851,841,1520,1222,1064,1348,1160,709,952,1284,1472,1562,2074,2236,1840,1496,1410,1482,1530,1554,1818,1576,1166,1206,1252,1394,1138,942,1242,1204,1188,1082,1026,1174,1136,1048,1260,1382,1284,1013,612,524,703,1092,1136,652,466,495,371,686,839,520,421,413,339,330,318,393,902,1300,1002,843,611,478,1248,1682,1108,916,810,799,1318,1294,1284,1266,1146,1015,679,438,334,350,437,719,831,705,714,525,705,731,550,721,1078,878,586,742,1440,1858,1288,760,1262,1510,1414,882,839,750,614,698,678,654,715,906,835,530,406,493,778,912,918,982,685,840,1344,963,549,392,509,665,703,974,1566,1378,1138,1188,995,585,612,789,975,1258,908,640,690,532,444,391,416,475,423,399,430,390,353,426,603,662,688,888,896,854,727,843,647,468,427,433,547,527,434,417,401,418,426,498,556,751,992,1318,1516,1510,1476,1410,1368,1216,1040,944,968,913,937,1015,824,555,555,1124,1414,1216,1168,1468,1432,1278,1266,1182,1092,1114,1228,1262,1124,1006,969,749,347,394,452,337,425,583,514,369,331,424,606,717,559,359,547,804,767,663,899,937,1210,1302,966,738,794,668,559,596,467,343,360,329,334,556,712,592,368,372,725,952,705,530,551,532,415,386,457,511,462,409,370,369,401,350,381,441,504,789,1122,907,486,355,375,449,614,1224,1466,1468,1534,1588,1534,1484,1372,1380,1296,877,484,519,1088,1118,653,1282,2636,2954,3096,3682,3978,3884,3164,2100,1800,1732,1336,1076,1076,1260,1426,1362,1156,740,710,863,1416,1742,1726,1308,571,290,287,280,322,305,297,326,367,424,390,377,360,374,376,289,323,381,358,360,393,419,422,373,368,354,331,425,483,387,418,747,746,504,579,639,497,313,267,396,755,977,1478,1390,971,944,821,627,655,334,334,443,866,1096,1054,1021,933,797,1062,1538,1654,1780,1992,2154,2532,2768,3186,2448,1512,1204,1324,1468,1430,1372,1110,716,787,1298,1248,1136,1208,1294,1372,1302,1096,1382,1712,1220,767,659,764,908,1034,1262,1656,1416,1222,995,990,1046,1140,1280,1392,1368,1334,1224,1484,1556,1250,687,546,842,1306,1434,1226,1028,942,951,861,996,1023,938,803,933,1005,1270,1544,1578,1510,1452,1554,1636,1614,1432,1462,1708,1604,1250,941,756,765,999,970,763,659,957,1934,1826,1452,1626,1728,1606,1626,1310,1328,1224,875,967,1192,1258,1252,1202,1198,1206,1332,1440,1644,2514,2754,2114,1986,2426,2648,2774,2406,1836,1604,1606,1398,1184,1086,1210,1534,1764,1518,711,550,512,481,605,816,993,1304,1538,1682,1542,1316,1376,1460,1318,882,730,834,885,808,1090,1194,1238,1050,989,1298,1468,1318,1234,1100,1242,1206,1240,1528,1234,1388,1544,1588,1490,1522,1668,1566,1354,1288,1194,1194,1108,548,524,1028,1290,1028,691,700,977,1138,929,972,1064,960,1218,1162,1230,1662,1822,1648,1388,882,786,1172,1270,1262,1174,811,1362,1318,872,676,755,537,478,519,541,548,462,913,1354,875,524,815,1306,1246,1230,1322,1336,1152,970,1256,1576,1600,1804,1600,1132,778,804,998,822,471,373,422,512,582,510,495,517,468,689,622,503,506,483,289,463,642,386,585,1030,1220,980,452,696,600,440,490,681,653,407,281,255,299,387,763,1076,1028,891,695,1042,1172,739,596,1160,1262,871,592,395,368,393,527,623,590,805,639,460,906,1040,853,1226,1718,1518,925,496,381,450,478,489,501,576,726,833,921,1040,1396,1416,975,656,666,526,437,453,381,315,329,379,445,392,379,590,679,681,599,652,909,957,692,655,619,314,365,357,365,647,1010,1352,1176,745,749,968,1162,957,601,424,524,520,557,602,677,516,448,525,814,935,1328,1204,915,861,494,389,484,709,636,473,461,630,694,458,410,546,656,1160,1438,888,588,539,445,392,498,800,954,1044,908,1052,1210,1018,616,340,332,304,263,282,297,360,392,380,525,763,791,1038,1244,1184,1132,1250,993,736,586,683,754,753,742,1562,2014,1178,977,1021,954,971,736,549,1338,1732,1240,1328,1286,1236,1394,1400,1168,1072,1300,1400,1132,1190,1284,1208,968,812,854,1042,1454,2026,1980,1946,1616,1068,1322,1136,1252,1358,844,1066,1366,1228,1262,1590,1444,1102,919,620,631,749,808,505,375,332,292,318,336,313,307,303,305,343,398,478,524,511,449,487,497,471,594,612,456,372,318,403,447,688,429,383,399,449,450,655,655,614,705,807,752,416,450,661,1206,1290,1256,991,993,756,775,1044,999,1114,1484,1362,1378,1086,768,932,1374,1366,1152,1220,1378,1294,1284,1178,797,960,1374,1013,954,858,609,534,703,802,606,637,1180,1400,1194,1282,1338,1340,1394,1350,1228,1726,1926,1454,1236,1230,1212,1454,1592,1620,1434,1504,1800,1918,1524,1454,1492,1456,1506,1110,779,967,1404,1116,1015,1122,1294,1164,1124,1038,1000,954,937,1102,1214,1460,1470,862,876,1442,966,1532,1980,2062,1268,752,1282,1046,648,628,652,741,721,709,1178,1242,772,911,1500,1604,1490,1844,1650,1352,1192,978,1336,1444,707,955,1324,1318,1152,882,686,893,1214,894,422,417,499,535,367,288,290,281,294,292,478,706,634,700,1148,927,1094,1098,597,421,368,395,365,690,1142,1032,1156,1330,816,1384,1192,727,899,1748,1592,1298,1558,1244,799,870,1382,1792,962,565,764,929,810,648,547,570,587,510,438,802,1288,1302,1294,1040,1356,1312,1452,1262,1224,1090,761,836,875,891,745,717,930,841,623,371,451,542,878,1302,1488,1472,1382,1586,1616,1566,1708,1694,1248,949,684,476,410,387,449,529,858,1190,569,374,747,1708,1798,1122,1015,810,861,761,639,951,655,516,402,413,461,408,362,465,585,489,480,899,1274,1232,1324,1168,985,1446,1886,1750,1170,866,615,358,410,387],[558,553,495,403,368,359,376,375,558,754,519,374,444,420,386,398,443,446,413,435,483,476,392,362,408,451,437,332,342,456,440,370,376,368,417,440,426,438,438,410,399,402,409,405,392,403,418,474,411,303,310,283,262,304,308,324,268,318,390,375,404,411,449,455,547,530,481,446,390,373,374,455,386,383,354,375,330,316,336,455,677,719,644,495,675,1202,1180,597,897,1086,874,1028,1306,1176,949,1158,1124,920,1256,1118,891,827,712,582,604,708,708,653,540,492,506,557,594,568,729,1132,847,864,960,1106,1178,1316,1694,1472,970,1258,2014,1946,1376,1242,991,830,893,771,680,700,673,617,626,871,1290,1017,730,1322,1250,1148,794,613,972,1490,1390,768,540,527,511,505,549,550,592,462,680,973,814,730,629,435,590,877,939,1160,1072,830,724,788,572,442,407,427,601,735,640,474,382,335,498,521,696,661,447,379,384,354,318,387,498,417,415,468,505,548,1042,1440,1172,1054,1480,1474,873,1100,1224,1114,865,1036,907,765,586,364,637,557,382,402,360,489,573,313,299,318,325,364,392,433,436,486,427,362,368,408,435,460,487,498,479,365,269,299,321,303,286,271,268,259,240,219,241,211,267,383,406,328,440,478,456,477,487,399,343,364,348,347,393,400,379,370,355,361,376,339,566,818,696,1100,1756,1482,1234,1544,1634,1356,1156,1116,1238,1390,1160,933,1112,990,1084,1308,1198,1272,1712,1882,2138,2438,2202,1800,1844,2230,1754,855,756,833,637,451,450,409,477,615,771,705,952,1278,614,739,1132,919,670,1076,1178,865,848,915,1180,1462,1236,1180,717,483,444,753,911,1248,1368,1132,1012,1118,1396,1394,1286,1274,1306,841,738,824,786,904,664,339,572,1172,1162,639,803,849,778,1228,1672,1802,1346,1180,1250,1094,865,763,850,773,593,644,689,884,1072,557,544,539,488,401,283,349,432,338,378,501,491,383,361,707,1202,965,1126,1666,1750,1544,1396,1290,1260,1272,1168,1136,1284,1388,948,954,947,1028,804,589,602,742,892,701,832,1008,1030,1032,1152,847,899,1252,1424,1538,1490,1404,938,579,894,1236,1476,1938,2120,1958,1932,1786,2062,2648,2564,2586,3270,3470,2446,1676,1596,1970,1584,1250,933,1054,1384,1274,1460,1420,1154,1056,1050,1017,1230,1500,1568,1772,1616,1358,1244,1432,1224,1116,1392,1342,1184,1432,1194,1066,1019,793,1046,1032,1072,789,418,363,375,336,272,333,312,394,482,701,1066,1268,993,685,478,492,486,504,844,1382,1400,1802,1434,778,719,1138,1528,1202,560,495,459,620,974,1090,1046,1136,919,1242,1356,806,651,1126,1152,1018,1278,797,384,417,410,557,536,664,1007,1142,1482,1754,1748,1538,1254,1324,1256,1204,1432,1316,904,766,878,783,702,644,1078,957,664,1078,1272,1098,970,1060,825,610,883,1342,1314,1002,757,1256,1460,937,1404,1332,1362,896,1006,1476,1290,1238,1386,1332,1182,1244,1406,1548,1444,1714,1626,1730,1770,1656,1492,1536,1638,1926,1598,1080,986,1272,1024,1028,1382,1566,1080,770,572,628,683,908,1158,1344,1472,1284,1013,789,544,628,1106,1086,683,343,335,431,838,1010,692,456,451,596,823,756,564,850,1236,827,582,502,435,893,1196,921,1068,1032,905,1036,1082,1234,1240,1274,1256,1130,839,582,781,876,561,493,591,640,862,1038,893,536,658,959,925,1006,1018,930,1152,781,575,825,1158,984,969,1266,1007,565,578,665,802,717,520,420,376,364,422,728,901,908,1154,966,1296,1650,1010,594,421,536,1110,1008,1020,1194,1188,1372,1100,497,370,585,861,1420,1494,851,572,749,603,441,362,436,474,453,469,417,376,398,499,763,743,716,844,954,876,621,738,787,534,500,439,433,408,390,445,526,569,650,783,823,1017,1344,1582,1586,1510,1234,929,882,786,724,618,517,401,677,1064,1124,893,854,1084,1172,1444,1236,1338,1066,823,695,719,833,820,659,571,589,498,405,312,312,660,687,418,319,310,299,309,505,691,666,720,658,397,366,334,536,987,1320,1290,1064,1144,1374,1188,763,556,590,563,412,316,310,326,323,409,736,835,660,735,944,695,448,451,448,456,456,454,511,491,433,445,355,292,369,550,738,607,756,985,883,650,447,350,393,489,860,1432,1636,1458,1438,1418,1386,1360,1306,1552,1650,1432,910,608,1104,1570,1750,2216,3064,3060,3548,3884,3906,3190,2562,2244,1770,1356,1080,1092,1280,1514,1498,1386,935,724,734,817,1208,1658,1590,1102,630,317,363,311,288,314,349,340,366,402,375,357,306,336,323,273,318,359,381,391,434,488,413,277,298,356,370,422,441,383,403,491,714,684,553,642,766,542,349,284,359,828,1580,1670,1358,1009,828,709,436,320,411,522,844,880,751,853,981,806,847,1316,1462,1678,2144,2112,2346,2648,2916,2364,1594,1334,1344,1406,1688,1450,1222,1080,1260,1670,1714,1522,1464,1356,1310,1252,1164,1532,2048,1368,961,741,628,909,974,1162,1758,1882,1210,725,891,1172,1340,1282,1332,1496,1484,1222,1434,1526,1334,872,578,746,987,852,666,706,857,1056,1024,1008,1186,1432,1504,1554,1488,1382,1278,1210,1286,1192,930,803,766,894,959,1408,1508,1032,775,662,849,1318,1392,955,693,684,1334,1882,1698,1588,1708,1752,1514,1120,875,719,982,1250,1314,1312,1320,1246,1216,1190,1214,1344,1500,1776,2082,1842,1788,2548,2912,2662,2388,1556,1228,1582,1862,1754,1368,1214,1238,1376,1540,1266,784,551,666,767,876,1224,1268,1230,1350,1288,1498,1644,1650,1382,979,852,641,879,1158,1346,1322,1282,1202,1080,1142,1346,1290,1266,1080,1150,1070,1096,1232,1258,1314,1338,1364,1276,1274,1498,1626,1594,1428,1124,1208,979,664,559,739,1220,1340,910,782,976,1132,617,758,1388,1522,1548,1138,909,1148,1362,1478,1406,1122,971,985,1094,1172,1004,727,1004,1500,1148,873,872,682,580,516,722,594,419,1028,1250,846,456,615,866,891,711,538,742,1178,1254,1214,1336,1456,1736,1330,994,1056,1007,885,741,649,591,658,664,654,581,728,929,937,584,576,514,359,365,225,447,681,504,454,557,666,794,603,880,918,737,636,769,753,485,297,299,533,519,659,957,1362,1134,900,1036,919,628,397,717,810,589,388,332,354,360,418,569,714,934,824,541,574,587,538,788,889,1356,1328,741,400,483,575,610,761,863,860,912,1036,1048,1310,1262,962,625,605,605,451,418,440,440,541,610,838,606,363,552,733,720,673,611,619,652,572,756,863,433,433,360,352,521,808,1040,796,658,674,745,1078,1270,1128,431,289,337,410,495,552,450,487,786,1188,1514,1688,1258,915,1170,580,468,597,700,481,320,413,537,601,504,403,416,437,749,847,630,667,655,399,383,449,1158,1086,1013,1114,774,835,692,409,501,462,503,607,926,1072,726,543,607,510,536,854,979,924,985,966,1244,791,667,699,1246,1012,844,1080,1426,1588,1212,1340,1024,1374,1576,1468,995,1344,1508,1416,1528,1388,1104,801,613,572,525,727,1182,1488,1416,1610,1316,881,694,949,1434,1768,2034,1922,1648,1274,948,805,1310,1338,1074,1009,1096,1300,1434,1388,1440,1274,1048,889,667,741,660,764,598,423,342,289,297,294,308,324,300,303,308,368,446,487,459,351,346,392,416,427,339,310,299,268,328,336,358,319,356,946,967,458,495,667,1004,1294,1554,1388,595,425,637,1274,1588,1272,1202,1212,803,905,1284,1198,1222,1212,1248,1304,844,550,923,1038,954,1112,1338,1506,1400,1248,946,571,1094,1402,888,1010,740,430,798,1146,1158,869,885,1468,1664,1406,1246,1082,1408,1374,875,1220,1820,1538,1214,1182,1156,1206,1102,1110,1228,1616,1710,1564,1488,1256,1238,1380,1528,1236,774,695,897,1172,888,1144,1234,1072,1158,1094,824,696,628,755,981,1450,1826,2082,1164,789,924,742,899,1414,1572,835,819,966,576,563,919,875,565,772,809,666,703,1036,916,853,1322,1716,1460,1400,1376,1236,921,864,780,855,1456,1416,1372,1364,940,497,448,596,512,409,390,378,448,436,337,274,282,292,349,559,584,697,805,839,1188,1424,979,605,375,324,366,419,621,839,1122,1088,1468,1266,898,518,821,1052,1366,1754,1802,1368,698,805,1028,1428,1620,1716,1009,623,589,357,498,588,596,635,562,455,496,1017,1356,1310,1150,1256,1410,1592,1328,1196,1296,964,899,910,747,819,980,775,490,408,554,655,576,789,1140,1428,1482,1228,925,1036,1272,1342,1778,1724,1600,1014,442,431,557,955,1262,1616,1780,669,392,714,1250,1414,983,764,940,1138,918,1282,1708,806,818,576,633,572,390,394,443,426,423,717,1320,1376,1192,1502,1466,1570,1798,1658,1646,1288,844,532,546,430,335],[570,535,490,424,373,345,388,545,782,617,344,360,455,396,351,406,490,491,420,404,464,464,408,388,430,447,500,387,404,471,443,426,456,515,525,400,393,384,420,412,393,404,412,383,380,405,428,466,395,342,334,314,301,339,363,409,324,307,355,436,469,456,464,496,480,391,426,480,493,448,372,398,377,406,442,383,310,326,341,387,567,899,891,740,777,1318,1512,991,850,860,943,1252,1518,1466,1512,1942,1530,1046,1736,1396,863,758,648,577,699,957,1200,1184,891,843,691,633,616,505,860,1084,983,948,780,778,834,912,1288,1242,1452,1500,2316,2260,1498,1550,1346,902,687,600,791,804,602,443,551,1052,1136,987,1356,1226,979,1202,1222,937,1052,1472,1384,709,500,518,600,866,755,1066,1018,624,858,1046,867,877,904,1142,1242,1023,814,986,1142,1186,1154,824,460,391,314,404,1158,1110,639,513,593,603,624,537,414,384,406,418,356,309,307,459,469,409,433,466,459,409,814,1350,1162,764,1140,1404,719,1116,1446,955,946,1644,1494,1070,583,377,541,481,394,404,415,522,462,294,286,296,311,344,379,378,370,350,338,361,385,393,439,445,481,536,481,386,332,326,319,298,260,239,249,261,233,231,252,227,256,300,294,353,381,413,473,442,456,426,397,393,368,350,401,421,393,387,389,365,294,357,597,902,1518,1604,1336,1116,1278,1376,1334,1418,1406,1306,1400,1440,1354,1260,1430,1132,1078,1202,1050,905,1078,1682,2270,2520,2294,2144,2212,2438,1866,1050,586,480,458,486,451,454,512,466,442,467,477,498,502,720,1392,1174,604,866,1013,946,1142,921,1206,1152,1162,1346,1026,880,741,852,991,1246,1290,1021,871,1024,987,937,1074,1148,1090,1054,1290,1228,822,691,555,439,750,1238,1312,944,982,754,666,808,1360,1706,1142,890,1132,1160,1032,753,737,714,631,652,949,1046,1134,591,313,341,312,289,278,377,447,336,350,433,439,390,418,698,1080,1208,1192,1236,1444,1372,1334,1188,969,901,739,556,1032,963,875,1086,990,738,441,440,455,719,722,494,767,1016,1064,1238,1242,907,1158,1312,1180,1226,1206,883,973,1056,1218,1306,1854,2062,1920,1788,1908,2048,2188,2350,2492,2740,2728,2648,1346,1236,1194,1688,1210,839,856,1330,1368,1348,1396,1218,1015,814,713,853,1508,1918,1974,1722,1290,1418,1736,1296,814,907,1282,1170,940,879,1056,811,770,1052,1428,1356,1007,614,531,452,380,409,378,373,483,694,886,905,869,746,659,756,622,556,550,515,576,662,785,1312,1284,1052,1116,1290,1248,777,526,547,443,565,997,1266,1328,1238,1220,1310,1204,1042,989,1023,556,522,661,422,408,444,704,805,601,767,1034,1194,1348,1110,963,1078,1254,1366,1402,1498,1604,1450,1262,1320,1188,925,878,1534,2200,1322,925,1376,1278,874,858,1228,1090,602,667,1021,1212,1326,1452,1404,1007,868,1316,1516,1550,1320,1394,1118,1046,1072,1146,1172,1092,1274,1344,1454,1572,1558,1466,1282,1112,1190,1326,1498,1446,1374,1458,1246,1038,1454,1204,1330,1454,1466,1274,817,700,769,534,423,605,1040,1266,1230,1184,1138,890,783,643,536,389,350,453,650,1198,1228,886,561,619,905,1004,796,540,695,830,536,501,399,390,497,617,1196,1322,1296,1256,1030,1036,1234,1480,1498,1244,1326,1332,1246,1104,1166,784,850,749,581,883,1240,1052,635,878,874,858,1360,1352,1038,810,376,314,399,598,702,1122,1308,750,747,1010,747,555,719,865,736,546,510,651,886,909,949,1096,1052,1536,1192,810,584,464,800,1306,1366,1210,1062,1056,934,693,486,589,822,1274,1472,983,602,556,1038,998,630,452,481,400,391,425,429,457,474,492,756,841,734,764,952,1012,760,715,894,541,495,493,586,673,771,880,882,969,1216,1288,1232,1194,1096,877,1013,1192,897,488,350,350,769,1080,764,405,774,1222,1220,1164,1198,1228,1164,1306,1150,1172,758,558,691,697,755,683,728,931,647,308,283,308,409,692,666,422,343,425,510,613,719,658,562,796,772,542,425,562,1036,1290,1274,1320,1190,1024,1222,1384,1100,664,583,536,448,360,345,325,282,353,479,647,1012,1023,881,628,449,445,430,391,464,468,463,454,443,483,449,344,338,505,855,773,876,939,561,366,388,389,449,684,1234,1660,1562,1192,1442,1434,1260,1356,1534,1592,1664,1584,1350,1066,786,934,1488,1940,2778,3486,3798,3760,3316,2468,2280,1760,1240,1003,1126,1416,1454,1478,1454,1342,833,684,727,776,979,1498,1498,995,624,469,441,332,307,342,330,337,438,473,420,301,245,309,330,344,350,347,352,358,397,381,322,350,391,390,380,402,375,315,374,342,496,812,658,472,681,844,663,420,269,393,776,1336,1284,968,1100,944,608,448,376,716,1001,779,729,789,827,836,879,1148,1418,1482,2050,1958,1794,2248,2420,1764,1334,1346,1156,1028,1434,1452,1202,1152,1338,1546,1696,1844,1642,1300,1350,1520,1382,1412,2140,1598,1232,843,730,927,1020,1200,1726,1954,1500,1102,1013,1130,1260,1256,1288,1170,929,973,1262,1186,882,835,870,760,838,959,1026,1110,1316,1488,1554,1470,1364,1194,1078,1104,1032,951,888,836,1228,1238,1032,855,950,1040,945,1394,1546,1078,780,754,808,1088,1266,854,706,648,866,1318,1554,1736,1838,1660,1080,662,908,1360,1556,1426,1330,1304,1332,1300,1230,1200,1342,1742,1764,1544,1730,1912,2088,2554,2546,2654,2200,1350,1254,1606,2240,2240,1616,1256,1132,1032,1156,1600,1470,1210,1044,926,1208,1682,1360,1278,1224,986,1192,1316,1534,1598,1626,1266,994,1208,1562,1574,1218,998,991,1074,1058,1238,1294,1166,1152,1260,1090,1108,1292,1296,1274,1214,1324,1278,1378,1394,1176,1332,1628,1584,1214,787,758,869,833,925,1058,977,1174,811,634,683,1086,1282,1468,1764,1524,1068,1250,1324,1346,1198,1250,1086,1286,1034,1007,1298,915,597,730,721,655,694,855,728,505,924,750,484,875,1232,832,498,677,953,1140,1120,716,859,1350,1290,1250,1172,1242,1120,743,594,580,542,453,452,480,620,1070,1152,1206,1078,818,1094,1288,835,750,704,375,363,250,271,382,669,725,626,613,646,738,691,580,708,689,883,899,504,381,488,819,828,841,865,890,840,1040,1148,683,731,502,595,861,483,324,370,368,354,437,644,783,859,783,432,397,609,439,463,932,1406,1224,674,409,553,589,532,581,727,847,1078,1136,1084,1003,957,816,482,415,516,572,675,633,869,1276,1230,1154,956,487,503,746,689,642,632,530,416,426,688,863,540,388,356,278,306,545,700,664,851,822,687,1092,1442,880,376,321,369,350,507,573,759,852,735,1009,1238,1408,1248,897,1080,697,604,704,768,541,372,407,535,712,709,518,466,469,428,513,617,1015,916,495,325,345,483,451,642,676,520,469,688,563,1026,1098,868,1160,1688,1676,1152,758,692,648,616,979,736,534,564,922,985,1084,1088,1004,917,662,1034,1304,1036,1256,1054,1284,1036,1578,1690,1598,1434,1318,1200,1196,1272,1260,927,596,549,343,370,412,816,1424,1720,1808,1724,1536,1278,1368,1838,1990,1944,1430,977,909,1042,1204,1540,1582,1180,982,1188,1432,1246,1156,1082,1130,1122,1009,954,962,834,767,543,335,324,312,294,292,330,338,322,322,296,332,420,486,467,368,298,306,330,303,236,237,292,287,253,268,289,338,349,752,885,541,583,410,429,1086,1368,1096,592,444,704,1202,1676,1726,1272,979,556,775,1180,1200,1260,1228,1318,1418,1070,694,700,900,1200,1272,1290,1466,1196,1034,808,588,752,959,1196,1444,1028,680,948,1314,1308,845,841,1220,1302,930,764,968,1122,918,631,689,824,639,537,607,1280,1208,757,1084,1088,1450,1484,1378,1428,1278,937,1058,1386,1082,621,600,764,872,883,1212,1128,1076,1011,561,439,798,1360,1346,868,1023,1124,924,884,1198,1282,1015,786,836,692,349,241,267,535,883,1274,1032,580,698,1044,875,1038,1434,1246,808,1088,1340,883,1017,1376,1284,1130,1090,926,1114,1260,1098,1522,1738,1492,685,379,328,344,453,377,341,488,528,370,346,303,381,597,558,563,1164,1448,987,1306,1198,846,733,475,305,351,471,802,852,741,901,1168,1354,902,729,1296,1318,1256,1900,1988,1248,647,961,1636,1636,1658,1784,1007,868,773,295,432,444,477,517,705,785,529,648,792,790,827,1252,1556,1652,1444,1252,1322,842,1216,1482,1040,1114,1388,1044,568,426,637,600,349,373,869,1386,1162,1266,1178,1660,1958,1396,1112,1080,1042,880,430,412,735,1512,1738,2006,1788,814,378,413,572,695,566,467,673,1114,1490,1512,1248,871,1100,896,806,584,394,407,463,448,479,828,1434,1822,1844,2410,1846,1626,1428,1402,1628,1472,910,572,711,426,415],[478,521,497,430,383,371,503,810,633,430,327,293,290,265,273,364,426,422,405,377,440,477,431,360,392,424,456,437,456,442,429,446,480,576,415,310,356,393,387,355,345,355,378,392,529,597,499,420,382,346,344,333,336,348,379,422,357,322,339,357,363,384,416,419,393,303,379,471,491,466,432,447,458,468,440,381,390,400,400,445,412,376,686,700,641,1074,1274,1112,1021,1086,1130,1190,1172,1282,1048,1026,937,801,849,870,875,807,736,558,619,883,1156,1300,1240,847,902,919,667,483,760,1194,1204,732,579,819,1062,1032,1346,1260,1236,988,868,926,1398,1758,1494,857,577,591,711,551,354,335,648,1230,1136,1128,1642,1476,977,1386,1708,1556,1578,1468,1588,1178,935,744,800,1000,733,677,766,779,1110,1470,1066,1220,1428,1598,1478,1342,1006,919,858,692,679,493,482,594,448,478,1076,1166,800,736,899,731,599,535,404,366,366,333,302,317,340,440,394,393,420,407,413,349,487,902,939,824,923,1086,1009,1386,1498,1150,1158,1480,1460,1070,559,477,496,407,352,402,462,644,451,354,318,302,329,383,424,383,368,386,398,334,412,397,461,660,794,776,563,387,378,339,252,252,227,226,229,231,215,243,245,237,267,233,253,288,297,344,331,364,399,476,396,346,407,405,346,346,356,357,335,309,309,380,483,735,1584,1694,1004,1058,1320,1026,1082,1152,985,1072,1412,1418,1306,1342,1372,1220,1036,921,1074,995,642,670,1040,1702,1880,2236,2482,2610,1808,835,486,476,487,470,410,453,491,506,525,408,413,400,437,514,755,658,444,798,1096,1130,1434,1148,1296,1318,1374,1532,1290,966,753,673,688,850,1086,1034,884,967,1170,1934,1570,1514,1202,836,1224,1202,670,435,433,684,1098,1374,1866,1592,1112,697,545,469,888,1134,764,866,1112,809,818,659,760,873,841,721,744,584,432,304,273,284,292,310,280,390,473,375,375,545,514,358,439,633,841,1074,1058,1090,1194,1172,1122,908,781,889,756,537,595,921,1512,1574,1376,921,537,697,694,461,368,360,627,1060,1076,1140,1158,1172,1384,1228,805,751,1038,957,1120,1236,880,684,1007,1454,1796,1874,1956,2276,2274,2174,2106,2110,2090,1364,885,925,907,804,744,744,1140,1396,1418,1534,1218,1070,690,592,568,984,1198,1388,1870,1444,1009,1618,1926,1248,973,1034,1120,1460,1476,1394,1256,1074,1236,1652,1688,1166,802,802,732,454,352,401,372,555,929,1156,1328,1200,1056,1040,816,805,861,805,837,641,483,465,1038,1562,1378,1164,1146,1198,871,448,474,484,493,717,1110,1382,1278,1142,1074,1036,1328,1638,1628,1042,439,337,317,332,567,874,1356,1414,1066,852,1006,1202,1144,767,872,974,1220,1160,1106,1328,1388,1172,1292,1774,1756,1224,985,1520,1412,1070,799,856,850,986,1394,1504,1076,1018,1009,1021,1236,1534,1196,1004,727,859,1078,1212,1148,1390,1454,1470,1426,1002,1170,1072,1072,1460,1422,1646,1834,1600,1544,1162,1296,1612,1552,1606,1116,1042,1470,1634,1722,1616,1208,1434,1376,1202,1218,882,908,1007,651,390,825,1012,1036,949,692,788,1076,1001,854,876,482,427,515,466,979,1156,968,504,933,1158,822,785,749,906,1146,826,628,720,985,788,465,584,635,1064,1086,739,811,1054,1248,1346,1414,1520,1718,1638,1568,1160,779,1012,925,600,547,929,1056,875,842,847,1158,1704,1436,1118,796,460,298,364,372,396,681,747,586,1005,1172,761,547,653,760,786,827,859,838,1034,1084,854,1300,1436,1488,877,643,552,363,608,797,1082,1172,995,983,515,434,415,905,1536,1772,1274,949,550,550,1014,1136,726,468,457,351,382,447,509,501,452,356,452,636,653,747,1004,1098,969,888,1086,1013,924,952,1066,1210,1178,1230,1478,1622,1394,1090,751,775,796,672,826,1030,836,451,348,387,949,1430,981,467,804,1228,1252,1332,1186,1018,792,1038,1238,1184,896,927,923,605,919,1130,1248,857,328,267,294,318,418,516,450,401,494,618,717,756,599,517,602,884,791,484,510,1058,1360,1384,1412,1370,1140,968,1090,1366,1382,943,662,532,686,666,380,283,280,390,563,916,1072,910,1012,830,485,426,489,475,517,495,447,427,469,508,503,425,361,488,703,641,696,721,565,444,321,331,407,888,1390,1440,1316,1322,1532,1490,1244,1344,1478,1640,1720,1566,1528,1448,1208,778,1060,1642,2128,2920,3658,3382,2194,1984,1892,1396,1178,1132,1332,1444,1418,1372,1350,1400,1188,880,769,827,1024,1480,1328,995,614,599,465,323,297,340,320,340,425,498,469,314,258,301,402,421,338,329,366,387,353,274,328,440,391,334,359,397,392,427,384,372,368,545,639,779,882,648,761,714,515,478,616,863,730,612,813,857,686,498,424,819,897,853,881,919,907,768,841,993,1274,1432,1564,1562,1656,2114,2346,1714,968,1042,1250,1444,1538,1320,1156,1146,1310,1620,1672,1672,1488,1154,1180,1354,1474,1408,2122,1566,1092,1078,977,999,1152,1404,1590,1622,1336,1288,1260,1136,1094,1244,1288,1212,1206,1124,1072,1172,1144,1188,1316,1236,1230,1422,1440,1504,1370,1050,924,748,653,618,649,660,662,736,667,874,1108,1142,901,731,775,749,968,1442,1598,1272,938,756,735,766,764,664,707,697,753,1021,1382,1604,1522,1009,806,1200,1802,1892,1864,1710,1512,1372,1324,1358,1400,1338,1774,1988,1534,1460,1476,1828,1996,2176,2590,2844,1688,992,1238,1466,1466,1574,1368,1044,984,1038,1166,1316,1572,1756,1560,1246,1512,1508,662,880,887,790,806,1138,1412,1394,1368,1474,1584,1742,1788,1516,1134,1016,1034,1170,1194,1150,905,980,1198,1244,1164,1174,1146,1296,1274,1136,1114,992,1348,1346,1154,1248,1296,1426,1506,1166,883,993,1072,675,514,872,843,692,994,1302,1138,1104,1408,1282,974,597,1146,1296,1384,1166,1356,1284,1452,1194,1522,1836,1160,838,1126,1126,843,1030,1550,974,554,1028,1036,780,1178,1282,722,543,539,841,1036,952,668,1188,1196,835,1068,1268,1278,1062,907,881,720,467,370,475,698,741,1178,1296,1190,1010,607,843,1300,1094,849,661,499,643,383,302,391,733,935,813,715,651,784,767,516,819,1132,1224,978,527,380,528,1058,1172,942,893,644,839,1136,1388,718,749,934,860,747,457,383,349,326,288,414,699,758,689,502,304,357,619,477,452,1324,1782,1158,594,410,549,567,515,455,565,690,763,930,1070,1028,902,742,448,342,491,802,996,1048,1316,1558,1324,803,771,585,347,570,613,532,529,372,342,494,996,633,336,340,412,401,278,400,597,717,1010,894,589,600,594,449,445,361,601,577,508,872,1228,1146,575,1122,1272,1174,850,915,852,959,809,733,813,714,591,365,368,582,634,576,605,611,519,825,964,1056,1003,802,562,504,530,472,363,391,408,361,713,653,861,954,846,1008,1180,962,902,940,638,996,1220,1080,740,447,533,918,1352,1648,1470,1400,1292,874,962,902,684,952,912,1134,1400,1710,1642,1434,1286,1234,877,855,1015,1046,604,853,907,457,462,623,881,1426,1688,1646,1666,1504,1506,1618,1904,2042,1530,919,852,753,821,938,1072,1462,1614,1678,1452,1376,1194,1094,1100,1088,979,775,769,873,891,778,412,338,340,335,318,333,354,328,318,342,318,318,405,535,470,336,326,322,267,265,254,302,314,256,210,233,258,310,349,379,416,551,557,399,343,613,672,702,716,646,853,1136,1314,1548,1178,1146,718,1256,1516,1224,1178,1306,1374,1450,1312,942,649,970,1334,1292,998,836,816,935,847,1102,1188,1094,1282,1262,1118,940,712,744,684,531,579,747,795,573,430,529,591,523,451,467,813,979,669,807,1426,1094,735,785,1005,1124,1188,1576,1588,1488,1052,1234,1764,1654,933,725,832,959,1134,1084,1001,1021,691,390,379,604,1120,1176,871,847,679,551,847,1240,1234,1046,1464,1294,833,422,297,380,500,669,900,912,738,935,1118,946,1476,1480,1310,1520,1340,1238,1006,788,1102,1028,871,1196,1176,758,979,1578,1592,1598,1436,654,420,309,421,808,1110,640,457,688,731,811,572,752,945,706,843,1432,1578,968,532,642,924,870,606,390,365,330,706,1004,1064,893,894,979,789,815,1252,1442,1496,1908,1766,1428,1001,1256,1500,1090,859,777,821,944,825,610,763,762,501,501,650,761,583,423,477,653,1080,1668,1726,1102,981,1280,1000,750,1300,1682,1404,1454,1738,1574,946,746,903,732,424,391,1044,1526,1072,1366,1502,2004,1896,1096,926,832,835,910,454,422,735,1140,1540,1924,1794,1118,547,550,516,507,555,547,448,518,638,844,673,1232,1392,948,657,429,539,905,1042,869,656,523,1004,1776,2002,2244,1782,1268,958,1054,1250,1412,685,685,702,479,444],[484,476,459,411,392,394,695,810,448,385,368,311,257,249,293,365,394,377,378,344,352,417,433,381,393,420,428,439,452,409,396,491,608,636,389,373,416,435,384,310,308,316,320,351,501,708,560,383,372,372,370,383,389,361,350,355,305,275,282,240,253,338,404,386,365,274,338,438,453,450,465,467,458,453,455,371,444,434,322,383,445,379,664,632,597,900,990,844,802,869,786,623,534,996,959,791,899,1172,918,613,719,781,572,437,435,517,1090,1352,1220,1038,1266,1158,684,507,619,802,895,1032,700,688,1206,1018,767,885,782,623,730,939,1306,1570,1484,760,791,976,625,452,418,450,689,855,972,1252,1260,1254,1408,1744,1698,1382,1118,1428,1436,967,893,1116,1078,817,625,785,850,942,1218,1348,1294,1228,1320,1244,1076,1234,1294,1004,553,497,574,511,532,554,442,493,629,719,553,794,998,593,416,366,397,309,277,257,255,257,341,370,357,380,334,269,283,350,364,690,768,705,513,703,1178,1384,1162,902,812,836,952,933,685,832,827,550,437,377,598,637,442,394,347,332,308,361,396,382,441,506,419,342,423,513,657,869,954,865,594,402,361,333,272,285,276,269,241,225,234,259,260,302,330,270,292,275,253,239,279,338,293,307,335,395,464,454,393,368,372,401,376,321,336,430,408,492,930,993,821,828,1056,953,1116,1166,1076,1296,1438,1128,1072,1326,1108,858,1150,1248,1118,991,589,597,933,988,1056,1406,2102,2330,1334,510,366,395,486,465,420,381,354,375,441,381,379,409,422,412,479,478,429,540,559,741,926,1036,1296,1402,1412,1564,1374,949,545,475,488,867,1268,1230,1376,1176,1448,2330,1892,1538,1120,784,1064,850,462,469,669,1102,1244,1390,1820,1682,971,775,846,840,1060,1098,885,1536,1344,1011,838,709,838,780,698,726,536,353,293,277,256,271,288,327,290,408,481,377,471,780,728,442,536,952,1132,1178,1100,1218,1014,828,811,827,973,1158,958,736,854,1400,2116,1888,1328,601,525,756,963,849,599,516,877,1238,1230,1172,1162,1286,1054,878,589,563,803,1180,1344,854,461,442,446,583,922,1346,1838,2038,2552,2786,2418,2374,2110,1204,846,860,822,778,763,998,1402,1334,1686,1378,1118,804,475,374,474,1252,1514,1396,1470,1086,1058,1110,1346,1718,1468,1122,1376,1444,1250,1156,875,1146,1456,1542,1424,1288,1104,1120,1030,713,408,316,517,1050,1318,1332,1260,1130,1212,1198,838,625,811,1208,1188,789,719,1184,1676,1994,1604,1280,1166,1144,1174,842,553,526,572,771,995,1142,1342,1324,994,1078,1174,1482,1512,752,372,332,392,452,564,1042,1544,1716,1372,1052,796,1310,1174,686,752,1146,981,753,848,1244,1554,1510,1424,1488,1354,1386,1054,1036,881,738,636,494,556,948,1282,1204,1042,1266,1160,1096,1224,1156,1156,794,773,1304,1312,1060,1144,1450,1456,1514,1412,1278,1196,928,1046,1346,1528,1704,1610,1730,1644,1170,1628,1490,1438,1688,786,647,1232,1748,1888,1438,1276,1542,1088,768,769,846,1232,1026,980,966,1124,1288,1224,1144,1130,1100,1246,968,792,1042,722,586,913,695,568,563,556,521,1044,1268,1058,1054,1010,722,1076,1272,905,879,1090,1134,624,471,564,506,444,644,1174,1274,1174,1214,1592,1774,1666,1158,1234,1252,969,642,625,521,458,452,525,827,888,791,933,1338,925,583,715,662,415,350,447,464,362,463,864,1484,1164,758,620,691,664,594,770,737,760,1144,1090,520,709,1328,1350,922,559,460,458,664,796,654,486,695,634,368,396,349,602,1250,1716,1506,1042,814,751,799,910,613,407,451,378,461,489,474,442,444,415,495,741,879,955,1002,972,959,930,1088,1202,1184,1214,1594,2018,1750,1572,2042,2056,1810,1350,1092,1076,1064,1142,1158,1346,1136,751,588,751,1286,1454,1248,920,955,1182,1192,1252,1100,810,808,1078,1300,1294,985,1064,917,858,926,1023,991,618,375,440,385,271,321,322,393,599,782,706,673,770,653,569,630,1078,844,588,1168,1388,1248,1128,1208,1378,1256,1338,1724,1378,1354,1296,895,637,915,827,407,275,335,537,953,961,893,1021,928,841,545,403,483,487,482,462,462,459,452,470,515,512,673,742,547,468,644,747,652,536,317,351,474,1238,1376,1350,1580,1760,1594,1304,1250,1360,1506,1764,2018,1648,1468,1532,1622,1274,954,1318,1592,1836,2220,1964,1406,1256,1036,1114,1214,1344,1396,1222,897,876,844,910,1244,1166,783,746,1038,1572,1406,1308,958,750,511,314,319,331,320,364,379,427,445,378,332,322,364,384,354,325,348,393,415,385,421,478,411,372,381,392,391,478,355,297,360,411,471,847,1274,781,529,654,689,653,668,569,451,502,709,725,592,555,625,922,832,919,1009,982,1054,775,759,720,888,1256,1444,2160,2566,2282,2068,2060,1942,2084,2160,2178,1860,1466,1526,1458,1108,961,1008,893,796,674,658,833,1494,1808,2060,1624,1170,1382,1246,1220,1290,1400,1470,1490,1128,1324,1536,1382,1366,1424,1460,1592,1678,1646,1476,1490,1510,1458,1344,1062,752,616,617,971,911,692,658,589,608,738,859,945,1184,1154,708,583,683,795,780,874,959,887,1050,1418,1548,1348,1190,1024,943,854,818,740,691,650,716,1118,1110,974,924,908,1436,1754,1826,1904,1966,1910,1732,1506,1392,1410,1588,1618,1894,1588,1412,1538,1542,1630,1816,1980,2254,2068,1110,778,835,974,829,879,1064,1162,1072,912,993,1158,1342,1586,1622,1380,1438,1382,893,759,836,825,810,1088,1338,1262,993,977,1274,1530,1638,1622,1570,1388,1274,968,966,1040,905,1064,1172,901,1030,1382,1570,2046,1696,1560,1300,1282,1358,1262,1278,1246,1094,1094,1320,1432,1320,1114,1252,1026,668,557,711,1122,1310,1460,1368,1396,1452,1082,960,718,954,1262,1228,1180,1310,1300,1208,1020,1326,1446,1298,1256,1542,1256,855,1080,1576,1094,627,1234,1614,1232,1296,1042,1038,1192,461,283,468,735,769,885,878,740,766,946,1086,811,926,1042,700,491,434,484,796,993,1158,1166,1132,869,595,943,1536,1186,1006,741,647,993,725,404,435,448,474,768,793,780,1001,937,971,1322,1696,1754,1760,1284,801,659,1136,1002,796,978,799,916,1290,1954,989,562,991,1178,856,476,388,373,271,265,600,1260,1362,1124,530,327,317,553,910,1222,1900,2182,1478,779,575,750,811,670,502,659,791,788,885,961,866,771,854,547,365,382,759,1002,1306,1444,1158,796,579,535,577,404,599,722,551,594,413,651,750,856,530,290,327,477,470,344,389,578,941,1154,852,503,529,795,1030,816,461,582,658,523,843,1250,762,494,1136,1390,1250,870,791,903,993,1034,1384,1206,1009,883,406,332,396,353,500,962,1050,655,738,1262,1158,703,990,840,1092,1216,762,393,344,287,369,455,558,658,828,1084,1015,928,921,894,843,669,1234,1550,1098,654,421,383,681,1302,1510,1136,1324,1234,766,641,591,554,830,888,797,1100,1400,1330,949,750,951,875,1023,836,647,444,619,584,408,386,517,821,1244,1384,1384,1718,1736,1902,1812,1808,1654,1120,775,710,682,913,1003,1006,1412,1502,1268,1172,1014,1100,1166,1138,1080,869,581,555,683,842,672,347,336,370,368,368,394,373,384,481,399,300,308,340,415,426,340,311,238,226,239,234,223,226,230,221,227,222,272,355,392,392,446,453,427,393,579,861,909,737,707,813,944,1009,1396,1208,1388,1298,1264,973,811,961,1040,1096,1166,1074,1060,955,736,879,885,887,658,720,959,1184,1390,1318,1328,1234,1252,1188,1096,823,574,550,570,871,1028,749,591,493,419,422,393,430,680,1148,1376,921,669,930,910,877,1066,927,661,768,1362,1520,1490,974,1122,1460,1524,1214,1444,1510,1196,1256,1308,1012,619,426,506,559,554,827,918,1158,1082,679,583,672,940,855,1046,1452,1290,763,419,356,476,510,495,487,478,615,865,971,851,1176,907,1416,2380,1848,1388,1416,1516,1260,641,418,509,666,698,819,1184,1512,1574,831,422,420,339,258,670,1124,616,595,864,869,962,1108,899,705,628,640,846,984,587,398,771,1306,1374,869,449,460,422,736,1026,818,786,904,851,889,1214,1080,1650,1644,1302,1390,1400,1264,1466,1172,771,760,935,859,730,904,925,883,1009,832,602,526,618,646,691,758,601,699,1218,1320,1132,1098,1304,1064,963,1368,1490,1332,1278,1150,908,741,648,506,507,518,384,1088,1766,1842,1554,1540,2008,1560,1078,1486,1216,864,959,528,415,814,1482,2062,1826,1396,1470,1466,1330,925,1600,978,576,514,477,501,535,877,1490,1214,539,413,427,540,1017,1282,1196,808,388,904,1768,2314,2246,1454,1072,965,957,1228,1520,815,583,455,350,418],[557,520,473,391,376,488,890,650,390,439,398,300,265,288,336,362,328,299,281,313,344,400,433,416,426,449,436,396,422,435,455,550,555,497,438,433,356,379,411,362,364,349,305,286,307,577,480,391,383,401,424,437,409,367,338,321,286,241,239,255,292,364,411,373,315,252,325,415,385,364,383,379,367,363,388,630,1030,1154,1284,1448,960,397,493,522,560,532,544,661,733,708,643,597,585,931,1086,871,891,921,618,483,577,886,847,691,659,923,1440,1520,1396,1388,1400,1144,649,552,587,481,509,897,703,438,931,1001,874,1036,890,1016,1166,1268,1018,1080,1406,1112,988,768,498,545,562,780,1202,1312,1040,1412,1072,1072,1428,1482,1266,821,651,1068,1200,933,1270,1828,1532,1136,1007,939,945,1430,1540,1362,1716,1550,1192,1082,560,572,768,678,372,359,368,446,424,419,394,357,381,378,419,712,758,414,332,357,342,289,281,313,325,283,327,368,389,421,366,398,422,571,654,921,923,1012,744,650,859,875,586,415,372,451,443,378,471,584,622,756,715,688,790,631,456,419,394,362,364,313,311,301,341,471,418,377,448,539,694,755,753,741,578,382,314,307,283,302,293,270,243,217,269,493,390,322,282,269,264,231,235,281,316,406,474,422,391,482,604,831,880,883,619,439,423,466,371,340,411,678,873,867,775,780,957,718,955,1064,1042,1306,1346,1256,1224,1212,955,879,1220,777,778,893,929,1054,1082,1070,960,778,864,863,455,357,327,419,464,413,399,380,370,363,367,371,358,365,365,360,456,497,441,412,446,453,848,1096,985,883,1076,1256,1386,1030,474,532,645,818,944,967,1198,1024,1566,2168,1614,1300,1017,902,948,940,602,665,907,1156,1152,1202,1334,1146,922,892,955,1344,1356,1172,878,1298,1154,1390,1108,744,695,642,802,745,440,333,308,308,275,267,305,370,367,421,429,334,421,683,601,381,561,1080,1232,1324,1228,1012,981,828,742,860,973,990,943,808,818,1170,1624,1098,613,543,767,866,747,645,708,871,1222,1262,946,760,1001,1428,1096,688,595,588,595,1120,1204,614,455,420,406,403,374,585,944,1558,2852,3542,3262,2300,1288,918,837,810,741,665,821,1344,1612,1692,1448,850,763,565,447,381,563,1196,1298,1654,1118,1005,961,1052,1526,1836,1378,1208,1252,907,1114,1466,1202,1436,1348,1272,1278,1382,1586,1494,1232,924,695,500,744,1444,1738,1498,981,1078,1000,1068,805,647,1023,1386,1282,1116,1388,1658,1270,1552,1470,1168,1302,1174,1086,1078,991,764,647,709,774,832,1002,1266,1354,1850,1632,1626,927,405,390,332,395,539,873,1224,844,1262,1406,1144,838,1546,1734,1136,1044,1190,844,722,933,1236,1504,1544,1494,1604,1598,1248,1136,1050,768,658,652,487,558,1042,1190,1076,1116,1074,1268,1382,1206,1082,1136,780,1030,1584,1254,1152,1166,1236,1378,1376,1426,1234,796,500,1042,1710,1922,1598,1346,1554,1366,1428,1802,1574,1510,1346,750,570,659,949,1260,949,1082,1376,1016,752,604,960,769,534,871,802,883,1188,1166,1238,1038,1182,1584,799,454,421,274,552,1024,1066,1086,921,783,955,1120,1082,804,617,788,984,1100,956,593,591,1154,1190,676,892,1142,877,672,957,1284,1374,1422,1206,1356,1560,1136,870,1238,1676,1408,1024,874,549,465,526,751,811,639,604,749,692,437,379,471,570,697,693,529,496,450,488,566,825,789,664,831,1194,859,547,624,772,601,586,533,390,573,851,937,885,696,369,641,1326,1302,901,702,952,557,358,358,412,467,716,1184,1360,1074,845,781,876,837,587,402,449,475,493,494,475,423,390,396,556,849,912,977,1026,1126,1198,1226,1150,1144,1202,1356,1580,1520,1312,981,1202,1250,1478,1188,1268,1346,1110,1202,1390,1460,1310,802,598,1038,1490,1450,1450,1462,1406,1150,888,993,985,939,1028,949,1080,1372,1116,1096,857,917,1106,1008,601,328,411,733,694,324,346,397,471,406,513,626,716,1001,847,606,669,805,844,1278,1544,1414,1414,1310,1660,1534,1422,1346,1278,939,886,1198,1208,770,563,487,396,401,528,846,894,987,1344,1118,813,684,482,459,449,465,461,474,476,498,463,526,545,565,905,828,457,559,771,752,572,565,466,496,901,1350,1522,1764,2150,1860,1238,1202,1248,1388,1516,1494,1708,1614,1552,1498,1632,1650,1498,1346,1272,1338,1266,1172,1104,1136,1182,1312,1412,1416,1252,1014,697,601,519,410,703,1226,1116,792,998,1622,1694,1512,1264,1170,850,404,380,357,378,419,470,458,443,375,322,344,331,324,344,325,324,351,361,373,430,483,435,376,366,368,396,495,377,251,345,462,433,485,694,619,554,559,480,529,567,513,591,855,879,785,810,727,562,713,1072,971,960,1092,1009,729,806,800,766,1328,1472,1576,1534,1260,1338,1910,2116,2106,2092,2156,2048,1562,1370,1466,910,828,1334,1040,993,1096,1238,1314,1720,1776,1946,2006,1328,1338,1130,1100,1216,1340,1522,1588,1562,1634,1604,1576,1598,1560,1422,1368,1324,1266,1142,1326,1260,1002,1004,751,361,376,446,833,1534,1862,1220,1288,1434,1622,1678,1678,1702,1344,807,604,803,996,943,911,974,907,996,1350,1582,1384,988,971,1306,1520,1194,882,693,700,714,1046,843,770,940,1208,1588,1764,1774,1802,1864,1878,1806,1700,1504,1572,1908,1860,1458,1584,1770,1738,1624,1434,1632,1918,1876,1518,1156,833,742,784,1044,1082,954,999,1218,1026,799,1034,1204,1282,1406,2064,2110,1832,1720,1290,990,839,672,650,776,835,1009,985,1202,1412,1220,1070,1180,1294,1522,1456,1248,1258,1566,1806,1340,822,915,871,1378,2212,1876,1768,1648,1636,1484,1364,1484,1262,1228,1144,1080,1258,1378,1516,1370,1226,1076,968,1200,1386,1402,1408,1212,1278,1148,1104,1034,958,1114,1522,1040,796,1078,1098,1070,1152,1216,971,1220,1268,1526,1204,866,1032,1252,1146,678,735,1102,966,733,586,724,789,402,451,393,566,586,626,1038,1274,724,1070,1372,852,816,1094,785,444,689,1140,1180,1038,1288,1902,1466,759,614,639,771,608,908,891,647,904,937,605,517,582,667,830,660,955,1050,1230,1306,1546,2086,2142,1784,1448,1142,637,686,779,838,720,609,616,1013,1662,962,515,735,1002,1082,826,458,365,285,295,513,1262,1832,1288,574,432,405,757,1404,1830,1978,2514,1724,794,641,729,869,627,375,492,694,823,912,908,908,1280,1324,819,449,374,726,1144,1428,1248,821,911,1274,630,626,736,891,885,706,556,418,699,700,415,272,277,352,422,363,483,424,600,868,726,586,498,634,894,788,671,675,537,807,754,726,859,418,548,1078,1504,1410,933,593,736,701,729,1070,913,845,690,492,388,346,400,562,799,899,691,665,1188,1122,640,1012,710,1060,1022,579,366,375,408,446,482,519,532,874,1170,905,1234,1512,1198,1252,1152,1126,1152,872,756,716,434,576,1136,1306,1080,1384,921,481,395,534,686,1018,1194,1078,1048,1276,1124,529,438,509,762,977,1064,648,495,507,487,504,340,529,1034,1112,1192,1114,1426,1750,1754,1728,1804,1614,1120,948,923,1040,1428,1296,1386,1510,1372,1218,1144,1162,1266,1178,876,735,628,539,449,539,793,514,381,379,366,392,396,375,375,586,820,655,426,365,310,295,431,379,250,222,235,225,225,217,226,248,255,244,233,267,346,319,323,347,376,368,405,701,1026,935,805,893,821,760,758,899,972,1050,1146,926,758,1058,1018,761,743,910,846,1106,1386,1368,831,504,879,1150,1206,1424,1540,1218,1194,1136,1076,1374,1484,1324,1152,862,742,1134,1712,1648,1318,608,451,426,398,358,555,983,1212,1228,955,766,838,822,732,1180,1116,841,573,885,1442,1322,872,731,948,1094,1230,1516,1582,1726,1562,1444,809,631,542,807,921,677,747,1188,1268,974,847,852,811,1052,712,626,700,888,717,493,463,530,466,341,336,572,849,974,856,638,689,1022,2120,2042,1324,1128,1290,1510,1430,738,433,375,689,618,521,957,1400,1100,719,449,383,292,292,369,449,555,714,819,605,905,1080,924,904,631,369,478,532,499,425,887,1552,1318,1074,778,896,956,846,1086,1082,828,861,1078,1296,1390,1208,1656,1618,1652,1854,1544,1204,1256,979,922,1023,915,823,886,978,734,488,833,963,532,386,543,637,1046,1366,836,735,910,1166,1632,1252,1154,1236,1068,1001,1136,1036,1054,1314,1168,1078,940,924,836,619,702,1208,1504,1402,1236,1256,1468,789,604,1254,1092,770,1082,924,879,1236,1528,1706,1596,1498,1900,2046,1694,1346,1816,1106,749,992,1092,883,858,1086,976,714,483,502,558,666,1330,1282,1046,700,474,1060,1922,2336,1698,1400,1332,1007,1378,1696,1764,1202,639,540,610,526],[525,528,461,378,481,818,911,798,685,494,348,330,322,332,300,251,228,235,266,344,417,477,473,505,518,508,423,416,477,510,501,494,453,475,539,496,370,351,414,495,446,390,322,307,325,347,357,363,390,429,432,405,376,356,340,323,308,292,291,308,337,360,371,354,318,316,366,394,385,355,370,404,392,420,494,1250,2050,2330,2356,2070,1112,462,473,493,756,906,1024,1018,798,890,833,753,990,1144,1164,971,681,590,496,641,1013,988,828,882,1034,1260,1490,1368,1086,738,830,1094,642,395,510,514,422,815,884,804,1324,1362,1436,1678,1302,1250,1462,1958,1396,1406,1362,1248,867,418,680,902,762,1244,1926,1644,1352,906,683,755,1234,1376,915,773,817,650,711,1298,2024,2080,1532,1042,953,1046,1474,1628,1500,1350,1476,1202,1116,1009,503,480,611,672,485,341,322,356,314,289,309,309,282,261,286,449,379,323,343,378,306,265,304,362,392,386,351,293,355,455,470,493,507,872,984,952,1007,1007,828,660,852,597,459,469,439,433,356,412,405,361,365,390,578,769,702,595,550,524,522,498,451,413,446,374,369,409,419,433,447,471,574,542,615,738,648,433,378,354,356,340,277,253,267,267,607,1454,1146,623,374,257,310,270,306,346,354,557,795,620,489,483,566,786,1132,1186,902,614,571,560,434,460,738,803,980,1210,821,670,695,703,904,890,1322,1602,1358,1344,1306,1190,930,730,820,667,519,611,761,901,986,1036,1028,704,515,536,463,396,311,330,359,367,371,365,364,369,406,439,430,389,339,356,372,420,406,443,462,456,886,1086,789,1013,1034,888,1300,1346,840,522,670,940,1034,659,497,697,1330,1862,1360,1256,854,593,540,732,583,712,824,952,1096,1238,1270,1114,808,648,695,926,877,667,703,1068,1160,916,625,725,872,968,751,512,326,321,288,286,292,292,278,319,431,457,417,320,359,510,427,354,427,595,740,1040,1312,1028,784,759,916,1104,1128,860,863,1306,1138,904,938,758,532,662,1192,1350,717,577,835,1096,1266,1422,1052,1244,1280,1460,1224,797,680,565,781,1324,1154,603,448,433,403,423,429,463,505,520,1188,2046,2350,1682,942,856,805,816,747,752,1194,1624,2030,1852,949,559,417,359,363,372,460,851,1354,1538,1176,1232,1070,1050,1482,1452,1030,1168,1380,1302,1412,1486,1122,1494,1252,1158,1272,1488,1694,1626,1434,1254,1186,666,666,1362,1828,1130,916,1354,1005,647,841,1074,1228,1324,1248,1084,1266,1382,1342,1284,1180,1272,1662,1394,890,935,1172,991,568,495,528,569,603,966,1190,1662,1524,1226,912,697,421,333,349,717,1622,1382,562,615,1172,1012,810,1260,1512,1350,1300,1202,848,550,603,1044,1108,1168,1334,1836,1876,1250,1036,1015,742,585,832,892,854,1176,1572,1354,1172,1302,1570,1376,1146,1090,818,862,1182,1132,970,1005,1198,1306,1336,1534,1504,939,504,767,1238,1902,2080,1422,1370,1364,973,1578,1820,1592,1580,1332,1164,1172,1102,1286,1370,857,587,617,623,598,559,921,793,717,855,631,735,869,844,896,988,1548,1396,953,860,550,377,559,838,976,1076,1058,1009,1054,1212,1208,811,786,962,827,634,507,401,323,379,365,647,1236,1294,985,1480,1514,1688,1872,1824,1162,920,935,933,875,1284,1652,1068,1216,1098,901,683,735,1009,1007,983,921,706,925,1186,838,625,739,822,959,1009,730,528,424,303,295,412,627,1174,1392,946,489,529,697,511,378,372,593,871,783,609,633,708,541,794,1490,1180,1222,1276,965,555,410,415,479,642,822,1146,1044,1042,714,909,1052,802,760,606,459,525,498,482,414,434,604,858,1284,1128,1344,1274,1246,1340,1302,1094,1008,917,963,1246,1084,764,903,966,1238,1204,1416,1300,1300,1350,1172,1188,1344,1290,1224,924,662,1084,1388,1456,1454,1350,1284,957,563,669,988,1084,1016,802,948,1328,1004,792,732,692,1064,1001,484,322,515,876,704,396,352,412,396,334,492,567,692,895,728,557,518,437,730,1028,1066,1110,1208,1192,1350,1310,1222,1268,1274,1112,807,702,955,1150,720,438,354,446,932,1132,1092,1322,1224,937,717,483,437,489,470,465,494,510,510,527,526,552,492,514,681,611,550,634,650,553,518,495,536,667,1306,1452,1424,1752,1706,1378,1504,1594,1420,1534,1526,1552,1240,1188,1476,1578,1540,1570,1642,1750,1678,1616,1800,1820,1426,1364,1350,1574,1606,1356,1036,686,658,604,625,573,597,1092,1372,922,940,1428,1592,1390,1070,1242,1210,508,403,416,426,415,384,327,303,325,337,342,304,278,317,310,313,342,354,391,473,458,397,361,387,333,338,471,412,357,482,562,454,332,338,397,728,932,836,572,537,600,686,860,755,777,758,664,495,747,875,1016,1204,1190,905,747,861,1184,1244,1486,1444,1348,1232,1062,1266,1788,2084,2166,2208,2238,2166,1706,1828,1822,1146,1026,1362,1514,1442,1134,781,902,1316,1256,1212,1320,1452,1448,1544,1794,1802,1792,1658,1552,1466,1310,1298,1382,1182,1270,1023,973,1054,1114,1092,1232,1028,1208,1648,1066,433,334,376,835,2052,2778,2122,1918,1824,1638,1454,1378,1558,1540,936,697,772,949,939,954,1004,909,950,1338,1274,852,861,880,993,1202,1210,1158,590,647,711,616,632,689,724,894,1130,1410,1604,1700,1752,1816,1770,1836,1684,1892,1964,1468,1592,1908,1828,1828,1630,1410,1688,1672,1556,1846,1822,1274,1052,1402,1416,1136,884,689,807,843,872,1212,1294,1340,1346,1726,1672,1990,2040,1434,1224,1288,1388,1380,888,921,999,817,991,1212,990,779,669,888,1256,1364,1666,1642,1770,1770,1192,791,869,1026,1136,1172,1258,1410,1450,1486,1306,1188,1290,1282,1208,979,1106,1258,1426,1444,1394,1460,1216,1218,1274,1082,1202,1444,1074,829,1062,1146,1234,1164,1250,1138,612,689,924,971,1036,1434,1278,1058,812,1082,1444,1210,1052,1306,1260,816,926,891,689,672,444,414,354,372,513,603,434,490,570,525,943,1556,921,904,1152,1010,769,693,768,788,805,841,1016,971,868,1108,761,472,434,374,307,339,585,647,477,399,500,603,608,794,820,650,529,882,958,1154,1184,1584,2132,2294,1944,709,537,433,453,404,624,609,519,480,886,955,539,420,493,605,830,1054,815,495,346,382,551,1278,1476,994,818,704,578,1138,1484,1852,1732,2510,1864,692,460,507,421,383,462,405,667,747,824,932,1062,1242,1264,874,562,501,483,841,1346,1144,967,948,1174,735,621,633,833,818,614,435,325,512,836,672,532,541,458,411,372,455,385,619,809,707,606,473,450,623,1024,1484,1202,546,839,1068,1112,628,305,386,672,1010,1160,974,428,474,419,358,485,691,565,547,738,595,401,615,839,669,771,781,616,623,690,854,1118,761,631,700,788,835,621,398,561,844,921,769,630,744,935,1386,1454,1310,1800,1656,1122,983,650,607,976,976,966,889,788,1030,1218,824,500,584,901,929,784,871,1042,995,1296,1280,982,623,393,399,583,585,347,357,352,425,434,367,591,1032,1092,1280,1216,1286,1644,1808,1498,1482,1450,969,828,1036,1422,1278,1756,1772,1518,1716,1760,1550,1440,1542,1644,1208,814,596,492,444,649,664,415,370,394,402,400,399,466,644,828,916,741,485,361,300,304,338,260,208,222,235,235,226,226,244,248,224,263,268,340,356,311,335,331,327,349,344,448,697,956,775,609,716,786,833,857,704,747,1044,874,771,1130,1088,897,1156,911,803,1240,1592,1466,998,688,818,1009,1318,1570,1330,634,688,638,1090,1360,1274,1444,1420,1064,1206,1888,1782,1770,1292,546,455,372,333,415,693,1030,1176,1007,1002,1112,1058,1064,1084,1546,1168,871,568,585,938,1322,1202,750,814,1300,1620,1382,1702,1722,1514,1040,819,999,977,1012,1038,1028,1274,1524,1360,1160,1122,1402,1050,1070,1176,855,802,940,884,868,713,849,546,400,422,872,1152,942,613,506,501,1344,1910,1548,1190,1274,1344,1366,992,567,433,472,655,490,500,1264,1418,1248,1388,788,466,305,259,253,264,339,1026,1074,749,1082,1290,1438,1308,689,358,394,481,648,497,528,505,598,996,1100,1250,1358,1078,1028,1074,1098,1158,1328,1660,1410,1518,1748,2332,2590,1566,1002,910,1094,1406,1288,960,671,527,432,517,514,543,979,1296,1009,651,733,802,1028,982,707,735,973,1588,1832,1278,791,971,895,529,791,1290,1218,1248,1228,1236,1302,1288,963,803,893,991,1424,1770,1322,1122,1332,881,524,789,762,673,1054,1282,1208,1204,1046,1052,1202,1266,1506,1358,1188,1388,1358,1274,1252,1356,1854,1898,1884,1498,808,568,518,607,578,996,1556,1446,1012,552,449,478,1002,1424,1272,1476,1418,1186,1608,1434,1152,1076,975,877,763,535],[506,457,416,650,886,730,545,575,494,422,326,346,301,248,223,238,320,352,318,336,384,342,502,786,633,548,532,584,630,576,467,366,430,526,520,538,499,404,389,512,449,382,344,341,329,320,336,349,372,384,387,386,377,358,347,343,344,336,326,333,416,446,394,408,410,362,382,527,480,385,341,373,407,460,777,1278,1452,1566,1670,1620,1072,664,645,819,867,915,1028,938,796,999,794,744,1454,1246,988,1192,850,753,686,882,1502,1202,549,659,875,1090,1364,1170,981,948,982,938,556,526,763,1002,1004,1128,1170,1156,1312,1608,1816,1880,1502,998,1082,1600,1642,1592,1194,869,856,686,555,548,695,1120,1476,1822,1776,1162,810,854,1394,1330,1042,904,951,777,596,1164,1844,1476,979,704,1062,1330,1232,1422,1390,1212,1330,1242,988,796,551,473,796,922,771,619,330,339,343,347,339,329,291,313,291,393,399,325,368,433,367,283,304,310,324,400,425,332,331,365,429,458,583,1218,1354,1148,1172,1084,774,694,972,855,709,504,431,468,434,381,375,390,466,502,457,386,448,504,514,514,447,528,564,742,725,444,410,391,436,449,433,429,482,567,650,665,616,557,534,465,347,295,262,249,245,335,1222,1748,1466,1306,658,412,436,320,316,337,458,823,842,552,428,421,531,678,797,867,817,808,904,645,427,483,591,593,970,1196,734,558,759,938,1070,1288,1748,1624,1182,1252,1306,1284,1048,1118,1382,1110,780,725,672,578,665,882,756,550,460,489,468,412,361,359,375,381,377,384,378,349,408,470,518,665,724,522,436,430,487,530,476,498,738,868,602,1108,1528,1386,1370,1488,1136,828,841,1094,1044,536,534,739,948,1080,985,1214,706,539,527,453,383,510,770,929,868,1020,1178,1040,769,630,609,711,1002,1028,981,1154,1140,757,626,822,786,1160,1006,896,705,440,295,291,275,294,289,351,534,489,393,284,308,351,358,362,473,678,622,709,913,742,610,657,749,1044,1144,1338,1564,1796,1118,621,714,745,574,562,925,1056,633,985,1230,1402,1280,1398,1642,2190,1926,1350,863,763,760,758,1234,1304,1368,1010,1058,769,803,612,448,415,470,485,404,524,758,747,659,648,637,792,744,1046,1550,1886,1876,1058,727,677,390,415,412,495,793,973,1462,1504,1442,1360,965,849,1290,1178,772,1226,1618,1730,1426,1328,1284,1510,1060,874,1182,1478,1446,1290,1220,1288,1068,734,952,1500,1548,895,855,1328,1224,932,1396,1600,1102,1030,1012,890,807,1116,1444,1434,1202,1140,1062,1100,1021,886,927,606,306,376,429,480,482,479,614,1180,1478,1270,1418,1298,589,381,357,459,1122,1316,992,1054,1248,1012,1212,1416,1218,1368,1446,1504,1136,479,287,404,688,758,853,1316,1670,1396,1010,1020,784,615,1056,1210,1190,1372,1512,1260,1122,1326,1244,943,1164,1424,831,979,1252,1066,1122,855,829,994,1232,1556,1402,957,1028,1332,1520,2022,1870,1278,1534,1252,1404,1842,1498,1460,1766,1574,1432,980,755,1180,1238,1260,1158,776,455,392,519,562,432,682,838,547,574,736,813,751,872,1246,1028,1076,1122,756,663,786,920,1302,1714,1196,893,762,904,796,734,975,1202,1240,1118,1100,1068,664,506,591,949,1238,1288,1294,2070,2200,1694,1832,1890,1172,794,763,738,496,649,934,1354,1516,971,936,991,1016,1090,985,807,739,666,1160,2172,1534,954,1230,1190,861,712,722,630,523,306,309,427,829,1482,1358,1154,754,653,968,856,498,506,940,1034,741,671,779,735,607,649,801,686,1128,1096,615,424,405,418,466,534,664,890,1154,1272,719,771,932,771,988,1017,609,465,491,533,594,747,1170,1372,1492,1294,1268,1154,1222,1222,902,712,800,973,1070,1328,1168,1134,1266,1300,1396,1412,1494,1628,1542,1216,1136,989,785,658,796,1044,1026,1138,1264,1248,1260,1390,1306,1032,745,761,1008,1036,1074,955,1104,1248,863,676,613,625,783,628,432,328,428,658,475,583,500,418,394,433,438,412,492,546,548,559,652,828,738,1042,1372,891,714,1018,1222,1132,1192,992,751,996,1046,716,650,1178,1192,742,576,828,1100,1194,1092,669,492,416,360,326,411,456,456,422,447,457,485,548,540,467,449,470,407,383,550,495,434,428,437,421,489,1012,1514,1246,1434,1946,1516,1644,2156,1794,1506,1364,1256,1390,1226,1238,1548,1616,1434,1284,1294,1372,1488,1622,1742,1434,1194,1246,1410,1488,1302,1124,857,633,566,465,500,688,555,687,1144,1132,1102,1406,1606,1422,969,1538,1610,597,397,413,287,301,301,277,297,349,360,332,222,233,310,303,305,347,382,426,415,316,328,379,405,356,343,431,418,439,556,530,422,321,338,339,423,737,968,996,797,565,666,702,742,702,689,621,509,671,810,971,1364,1376,680,447,662,996,786,946,1312,1166,913,974,1240,1794,2204,2194,1902,1614,1536,1362,1728,1902,1528,1110,1134,1200,959,599,476,597,998,1322,1526,1458,1486,1428,1434,1408,1290,1152,994,935,892,735,685,1032,964,1234,854,880,1614,1812,1534,1124,748,908,988,662,431,334,375,575,1720,2644,2088,1638,1680,1734,1810,1740,1742,1428,794,751,805,973,952,976,1048,1078,1036,1212,1186,919,1394,1450,1606,1824,1582,1614,1476,855,399,481,538,590,653,656,698,872,996,1030,1382,1698,1810,1942,1852,1820,1666,1852,2214,2110,1948,1880,1532,1694,1806,1822,1606,1210,1484,1598,1340,1108,1021,951,863,579,620,738,1004,1448,1400,1496,1634,1502,1334,1424,1244,1098,1460,2032,2302,2438,1670,1216,1130,833,848,951,695,648,694,895,1086,1096,1536,1566,1628,1566,1282,1012,925,1136,1306,1280,1056,1158,1354,1444,1228,1276,1192,1362,1274,1034,1054,1180,1510,1432,1088,1448,1568,1574,1118,679,714,1070,1036,1126,1246,1382,1564,1434,1272,1100,843,897,845,858,1032,1494,1542,1202,1006,1212,1262,1218,1019,1112,1006,1064,1832,1402,985,745,466,364,386,536,696,598,501,561,474,367,540,938,883,745,666,863,965,835,880,952,924,829,839,753,612,413,454,460,426,351,309,329,442,672,722,383,336,510,665,1036,829,430,829,1324,1072,754,755,1116,1268,1312,1172,481,347,296,388,449,775,993,755,627,870,626,506,594,554,753,810,866,1003,826,534,428,556,750,835,875,850,765,703,1356,1688,1802,1738,2428,2054,816,434,438,421,457,545,529,639,436,486,634,913,1104,1086,810,563,445,326,426,1116,1566,1394,730,505,494,409,407,620,655,494,421,289,553,1758,1448,1062,789,453,358,363,333,291,578,736,497,480,516,388,767,1100,1396,929,520,789,1120,1194,646,266,426,744,839,868,821,369,318,352,303,314,584,678,707,745,666,475,833,1264,1080,1284,1122,830,624,902,824,870,831,620,850,1266,1282,684,474,665,981,1378,1422,1052,930,1056,1418,1488,1390,1678,1628,1098,956,588,466,958,1244,1278,1130,929,1036,966,732,530,646,1036,1170,1096,971,1024,1028,1270,1332,1308,1074,815,556,386,483,472,333,303,315,382,460,536,925,1290,1318,1278,1302,1562,1584,1072,1142,1504,1426,1021,1120,1342,1878,3748,3492,2382,2398,2084,1606,1542,1686,1774,1728,1512,1005,600,570,768,565,388,422,431,439,430,438,647,775,797,705,532,393,318,304,300,248,219,255,235,236,235,236,239,231,220,226,272,303,303,299,347,391,406,455,515,342,370,479,774,592,610,906,1009,955,686,471,631,804,555,568,789,1142,1410,1792,1622,993,968,1236,1044,1166,1188,922,858,1322,1346,999,573,656,875,1128,1328,1444,1468,1318,970,1276,1538,1722,1572,1064,987,728,455,305,577,833,774,1010,872,983,1444,1316,1138,763,696,701,665,777,743,656,1042,1360,1198,910,1334,1614,1072,1468,1456,1052,692,745,901,1116,1036,1032,957,1130,1136,1042,1150,1494,1326,813,940,948,648,716,628,669,852,990,1560,886,423,408,703,877,670,485,471,683,1152,1508,1432,868,1116,955,809,828,835,558,615,764,470,549,831,871,1638,1592,926,671,429,404,361,299,308,371,497,891,916,731,649,638,492,489,401,536,726,703,588,652,1015,1176,1332,1640,1354,1358,934,779,1066,1464,1506,1344,1448,1540,1164,1011,702,487,700,872,1106,1320,1058,799,633,539,505,415,405,790,1504,1672,1142,1142,1498,1404,980,520,955,1290,1334,1576,1628,1246,641,820,783,408,900,1734,1272,1570,1524,904,1028,1168,971,877,740,657,1072,1394,1024,968,792,776,829,818,802,814,1126,1326,1168,1226,1284,1084,1004,1146,1554,1538,1294,966,1168,1668,1670,1344,1282,1286,1594,1282,715,538,537,733,1009,1380,1264,978,628,459,563,461,396,842,1560,1262,1110,1470,1740,1660,1266,953,999,835,641,650],[455,422,618,774,558,324,408,417,324,487,342,262,238,206,246,361,423,370,338,384,362,326,536,797,691,745,724,714,670,548,467,397,385,426,496,566,564,538,476,529,473,377,349,346,323,326,350,355,354,381,395,397,393,401,368,396,416,396,372,387,505,516,437,391,377,280,305,433,675,828,694,490,408,493,775,1120,1130,1076,1148,1268,862,762,828,881,831,828,810,789,1054,1466,1376,1048,1390,1162,1050,1394,1348,1010,711,702,1112,1056,630,587,749,970,1252,1234,1316,1870,1346,652,477,459,971,1570,1312,980,1296,1088,859,1202,1530,1528,1378,767,829,1362,1354,1482,1572,1180,1164,768,498,673,904,1332,1566,1618,1158,1212,1016,1148,1528,1302,984,621,583,911,783,766,1108,954,938,1011,793,668,836,1232,1292,1368,1250,1009,1226,1640,1206,1036,1358,1118,1332,1572,631,543,416,393,325,322,288,267,267,458,455,342,365,431,393,290,326,264,277,359,349,360,362,350,637,1094,1206,1484,1660,1256,802,814,653,578,644,750,695,444,344,440,421,354,359,352,380,401,368,294,418,527,479,439,334,436,576,800,865,531,476,393,395,427,415,384,486,593,654,637,583,589,565,541,538,422,277,270,254,609,1600,1554,1694,1344,563,692,738,515,355,383,611,939,753,526,399,393,472,700,883,708,808,1142,1238,1236,970,740,598,550,816,1046,812,725,883,948,1018,1036,1172,1332,1106,1062,780,739,775,1168,1344,1178,1058,1064,993,722,950,1180,594,488,503,468,455,428,400,401,427,425,419,412,375,296,340,452,626,1164,1228,852,628,487,488,510,536,619,594,850,653,727,1072,1218,1154,1150,1288,1042,747,842,817,869,952,1170,1011,672,672,838,565,474,527,446,402,443,728,990,728,669,994,975,811,706,683,655,866,1252,1306,1007,909,1050,960,943,839,1146,1268,1052,698,409,237,319,395,397,368,377,567,514,437,350,442,631,525,381,644,1014,961,769,740,528,603,1028,930,1002,1274,1378,1188,1030,651,357,524,561,505,486,486,595,1078,1722,1794,1626,1384,1262,1672,1948,1444,903,748,876,1102,1216,1232,1422,1568,1262,1074,850,729,851,996,546,455,472,484,493,524,579,537,496,590,935,1154,1470,1792,1918,1238,689,868,607,446,724,628,519,888,1282,1556,1592,1408,1296,1017,941,1396,1148,527,823,1708,1692,1372,1278,1294,1422,1314,1714,2266,2100,985,749,950,1028,689,702,1180,1676,1480,943,835,1294,1150,1001,1488,1578,944,929,890,803,641,968,1342,1242,1132,1018,1136,1162,1214,1188,911,521,418,430,358,458,465,578,853,1096,1340,1660,1776,1412,708,463,397,365,591,976,1256,1336,1208,1396,1186,839,1216,1512,1512,1370,838,454,333,308,399,420,486,849,1324,1072,818,935,670,807,1354,1358,1260,1252,1232,1144,1136,1126,790,519,750,1138,987,1224,965,1130,1336,1036,767,841,1236,1572,1402,1304,1564,1606,1782,1866,1716,1512,1604,1506,1648,1772,1748,1830,1648,1240,1084,662,479,755,1184,1026,665,525,585,460,571,742,696,563,527,456,497,751,712,724,902,869,436,528,902,1160,1328,1023,681,976,1230,850,920,739,912,754,523,740,987,1046,1056,997,1018,1254,1312,1124,1146,1294,1302,1378,1648,1852,1796,1698,1482,1208,1204,1506,958,486,628,744,1078,1007,799,1008,1064,1040,957,905,554,378,389,644,1686,1288,772,945,1013,615,532,465,465,736,786,457,624,931,1124,1284,1374,905,709,947,713,524,912,1200,649,774,813,865,938,918,609,322,594,1052,765,527,799,796,803,627,370,762,1368,1710,1350,716,522,524,528,854,1084,545,463,425,487,629,813,1042,1136,937,1023,1070,946,1228,1116,886,1096,1100,1226,1400,1434,1220,1064,1070,935,1250,1484,1138,863,1322,1270,1072,1068,795,612,614,846,1224,1232,1106,916,785,1172,1412,1318,1010,969,1044,1060,1102,1112,1028,1096,1172,917,659,651,548,585,609,446,490,430,366,583,518,384,401,471,441,452,451,408,471,610,965,1094,1208,1394,997,975,1062,1130,1248,1518,1434,937,803,929,1124,829,558,689,955,805,520,365,610,1164,987,627,340,341,370,327,354,419,444,425,368,315,369,472,576,497,461,512,458,385,412,420,468,447,380,374,617,1332,1506,1300,1608,2112,1888,1880,2038,1550,1404,1260,1202,1244,1432,1552,1356,1410,1528,1388,1452,1390,1422,1416,1466,1394,1366,1426,1394,1394,1264,860,648,573,559,601,755,1132,1028,661,916,1332,1476,1522,1478,1322,927,1056,846,448,387,414,369,375,377,332,335,361,343,317,289,296,332,308,308,325,311,375,373,291,292,344,401,465,354,453,529,450,473,478,415,382,341,367,430,427,496,962,1070,682,500,613,658,544,813,1016,723,474,562,663,823,1082,944,600,585,982,789,843,1160,788,512,889,1334,1640,1588,1440,1078,960,1120,1112,1092,1184,1166,986,684,956,1188,1134,1108,1132,1344,1460,1310,1072,951,743,675,676,591,897,1120,1230,954,715,564,966,1206,1380,1084,1256,1818,1770,1428,930,576,500,714,756,508,371,393,504,1642,2718,2462,1980,1952,1788,1638,1552,1436,785,638,767,1124,1518,1698,1872,1934,1770,1388,1306,1346,1142,1904,1902,1892,1992,1668,1784,1766,853,398,423,395,462,573,601,619,654,702,751,755,1016,1236,1434,1744,1836,1966,2336,2384,2258,2156,1688,1624,1904,1714,1810,1438,768,796,1166,1378,1122,1021,993,1044,673,645,879,1116,1192,1376,1724,1722,1388,1256,1266,1320,1394,1416,1534,1794,1658,1570,1216,1042,954,1106,1108,946,852,742,947,1058,1136,1190,1466,1352,950,1122,1344,1400,1096,1030,1328,1074,1262,1468,1590,1322,1418,1274,1152,1152,1170,1288,1140,1096,1178,1002,1164,1242,1500,1414,949,743,848,955,1190,1208,1394,1664,1592,1140,1098,773,765,681,835,1128,1558,1632,1204,1280,1412,1372,1152,887,879,934,1444,2082,1418,1042,872,605,644,812,753,652,612,780,1046,976,644,359,373,588,898,993,1007,1106,901,936,850,834,775,751,726,641,410,319,370,339,281,298,364,571,1202,1268,723,423,468,592,928,885,552,976,1610,1632,1128,591,794,713,561,437,381,258,381,518,568,845,1050,845,559,856,549,494,663,678,844,717,501,699,1004,944,543,469,565,933,974,840,744,1294,1836,2036,1982,1776,2140,2208,1218,539,343,414,436,595,635,524,420,324,312,617,1034,995,914,895,701,412,429,988,1324,960,516,452,440,402,392,436,475,431,443,412,401,1054,998,825,492,340,342,486,555,338,559,665,409,832,952,440,564,532,675,543,474,891,1288,1052,536,313,361,684,1128,1102,915,618,537,537,405,310,689,1160,1132,1302,1198,553,713,1084,1520,1188,902,865,780,787,530,580,638,460,620,921,888,444,398,797,1060,1098,1112,1110,1120,1154,1422,1492,1116,1380,1388,649,735,969,956,1120,1054,1020,1148,1204,1316,1258,1216,828,713,815,786,576,604,997,987,1138,1376,1366,1416,1410,1114,953,1114,666,371,372,422,522,590,682,1102,1400,1448,1394,1338,1476,1168,835,1114,1546,1606,1528,1656,1664,1736,2856,3486,2764,2206,1600,1582,1700,2094,2236,1932,1640,1192,676,735,814,555,437,438,430,468,469,431,532,573,523,396,337,348,366,339,278,216,238,250,249,246,237,239,249,221,215,278,327,257,211,290,384,432,498,565,692,468,372,429,544,594,787,952,916,761,392,423,654,776,578,733,1040,1114,1310,1744,1848,1382,895,918,882,1264,1036,741,844,1088,1226,1156,871,991,1236,1414,1616,1338,1300,1270,963,1264,1468,1494,985,1030,1292,1134,645,353,409,595,1066,1456,987,830,985,827,657,393,323,330,453,722,730,828,1170,1558,1628,1382,1360,1214,1118,1224,1080,763,913,1134,1060,1042,979,1254,1106,666,444,396,871,1412,1572,1378,861,741,908,844,463,595,856,1472,1710,1282,941,650,518,630,518,382,466,692,846,1006,730,509,535,468,427,843,1238,867,777,755,480,467,477,749,1714,1472,811,652,459,509,597,503,631,869,968,880,617,706,578,421,444,536,489,572,688,814,892,1013,1310,904,796,1556,1276,1268,1422,1140,590,851,1258,1532,1534,1152,539,362,349,594,1346,1288,1222,1142,902,761,604,478,465,470,529,930,1354,1482,788,845,1288,1310,1086,906,1166,1496,1322,1186,1312,841,610,668,653,437,512,759,858,1642,1744,930,1022,1162,1294,1858,1748,1422,1282,1366,1158,976,713,879,1174,1296,1686,2054,1886,1526,1154,998,887,708,722,764,724,867,834,582,637,799,1332,1294,1030,966,806,608,499,539,597,828,1268,1564,1386,922,521,616,476,397,544,1426,2014,1860,1460,1264,1672,1930,1122,901,865,800,702,1124],[444,727,723,507,280,299,642,769,591,553,360,226,210,198,236,359,393,330,346,344,313,293,496,655,595,614,592,611,559,527,562,460,423,475,559,629,599,598,506,518,498,431,408,387,395,376,405,383,358,354,362,369,360,400,433,426,441,438,400,455,559,475,453,399,354,279,278,387,1076,1592,1312,624,493,753,879,982,1030,762,757,869,614,507,505,498,628,778,747,892,1530,1794,1488,1212,1176,1021,1084,1488,1616,1196,741,612,464,466,483,453,397,680,1544,1736,1504,1570,914,409,469,535,959,1674,1526,1030,988,995,1190,1062,1202,1396,1434,1094,898,1064,1054,1624,1366,1078,1408,998,673,604,836,1532,1852,1502,1242,1066,1112,1250,1080,849,626,550,745,1232,1270,761,884,1116,1138,1050,632,513,488,618,1224,1396,1238,1156,1926,2364,1992,1644,1158,886,1116,1536,1188,1146,1084,529,437,372,302,216,203,273,327,406,426,507,384,291,292,262,372,354,272,314,419,405,779,1390,1544,1722,1582,1002,644,1086,785,437,327,342,384,345,317,489,612,438,372,333,346,336,314,267,401,556,639,582,455,433,489,659,773,514,464,354,395,440,421,386,427,495,602,641,597,603,597,633,662,544,363,306,395,1078,1446,1396,1510,844,722,1270,1214,785,717,498,612,777,695,439,297,345,534,1062,1090,561,685,941,1208,1642,1600,1126,823,938,1238,1174,630,596,952,1094,937,918,955,1230,1170,930,780,785,795,835,938,804,843,835,765,883,1350,1104,598,523,487,426,362,400,511,462,483,522,514,424,419,332,354,458,702,1076,1230,1356,1234,921,664,534,408,519,437,645,633,782,914,1074,847,779,1218,1082,568,677,977,1372,1324,1370,1028,822,956,968,794,561,476,457,569,507,612,600,585,615,911,911,734,727,707,550,509,872,1284,1050,742,1030,1408,1246,1194,1152,1244,926,524,420,263,385,551,485,367,372,459,486,495,413,647,942,772,713,956,1306,1258,998,714,484,514,967,1068,1054,1004,838,663,792,634,463,521,495,483,478,474,491,1078,1788,1768,1414,1300,1316,1202,968,536,487,700,1174,1376,1019,1140,1446,1268,1086,883,818,829,1490,1868,912,502,606,585,478,512,502,517,486,525,879,1372,1692,1896,1474,791,963,815,803,901,1288,1172,758,803,1019,1318,1742,1496,1368,1070,852,1076,1430,1058,957,1564,1618,1556,1294,1038,1256,1256,1404,1656,1332,592,1023,1348,781,495,565,962,1256,1210,969,828,1068,1234,1090,1028,990,909,831,891,888,1012,1210,797,735,959,1180,1334,1252,1272,1444,996,828,678,390,836,1258,714,671,918,984,1104,1408,1558,1130,655,536,459,395,529,922,1182,1224,924,1056,936,675,999,1294,1356,1126,909,777,518,405,538,633,432,540,1132,1362,896,752,971,1350,1540,1324,1188,1102,1052,1216,1344,939,624,433,364,858,1268,1262,1034,1130,1306,1184,999,1076,1032,1136,1288,1318,1488,1652,1908,1570,1482,1620,1534,1594,1522,1516,1532,1538,1196,599,558,504,535,879,1042,1074,973,798,971,910,1009,847,535,634,677,682,941,891,760,851,930,894,829,944,1108,1554,1402,859,561,459,465,619,590,449,495,533,704,846,756,893,1036,700,760,1108,1232,1114,922,874,1070,1212,1360,1440,1538,1494,1588,1174,946,1270,940,697,855,859,863,757,701,753,685,813,904,1064,515,355,415,396,888,1106,786,798,888,586,648,551,452,621,1132,850,843,892,623,678,894,714,978,1300,1004,567,868,825,436,722,750,850,1154,1138,812,613,938,1092,536,667,1310,1118,1412,1108,551,492,701,872,873,692,389,317,404,766,1034,537,536,495,485,603,642,817,1038,933,1186,1288,1404,1730,1460,1208,1178,1162,1108,1244,1328,1088,1060,1338,1532,1588,1584,1492,1378,1740,1538,1368,1528,1450,1072,741,667,727,1016,1176,777,709,1009,1204,1332,1146,1018,1050,1110,1142,1070,865,960,1280,1156,645,372,420,942,784,581,520,449,434,502,633,654,400,379,507,541,414,421,680,967,1078,1212,1780,1412,847,1136,1010,1034,990,1324,1252,1126,1318,1170,904,908,837,465,350,405,452,350,621,1116,825,521,314,305,357,365,364,418,447,448,429,371,340,451,575,528,495,493,492,577,448,343,446,432,329,415,901,1620,1466,1626,2026,1888,1786,1874,1738,1566,1368,1224,1192,1254,1572,1490,1370,1308,1456,1540,1438,1294,1322,1410,1466,1434,1542,1428,1326,1262,1060,750,654,626,589,872,1112,1278,1320,1007,777,1164,1482,1356,1198,983,711,469,308,297,384,421,387,416,387,333,347,356,349,360,325,312,334,320,309,305,308,335,304,314,347,399,399,476,436,462,545,470,425,448,440,422,373,392,421,371,370,474,544,863,921,775,654,629,785,1084,1038,479,466,514,484,799,1050,843,532,679,1009,1002,998,895,514,603,907,882,797,832,852,828,780,700,799,969,1238,1426,1324,1400,1372,1388,1262,1152,1160,996,650,500,493,479,474,684,644,1184,1286,846,477,472,545,806,1116,1316,1390,1592,1692,1026,769,825,751,554,782,1086,912,571,648,996,1744,2742,2514,1816,1788,1802,1838,1796,1484,750,683,845,1680,2564,2702,2810,2676,2102,1502,1476,1674,1554,1606,1538,1594,1644,1484,1486,1082,525,445,413,411,431,423,417,489,560,602,671,696,705,767,1086,1662,2024,2234,2226,2392,2286,2042,1360,1682,2046,1644,1672,1606,1116,721,933,1400,1302,1188,1012,949,650,851,1274,1476,1106,1126,1618,1460,919,850,866,1478,1514,1460,1404,1386,1386,1428,1476,1312,1200,1384,1094,964,1028,1042,1106,1156,1206,1098,1194,960,897,1178,1270,1584,1406,1464,1326,1228,1252,1378,1382,1186,1208,1360,1334,1022,1124,1434,1206,848,716,702,905,1196,1388,1506,1472,1340,1112,1120,1188,1234,1276,1202,1154,1186,1350,1730,1404,1094,1092,1158,1526,1488,1118,1332,1412,1412,969,732,537,917,1590,1578,1146,996,867,803,890,1048,1017,771,890,1214,1162,881,565,394,431,459,910,1296,1038,1072,979,824,769,587,524,529,530,545,432,401,457,408,292,300,331,543,1098,957,732,560,483,564,822,784,495,634,1284,1760,1298,672,891,887,531,384,426,643,880,709,714,889,698,966,1007,932,624,691,802,691,513,350,373,510,684,1122,1023,578,405,757,1042,1019,1216,2032,2376,2198,2098,2036,1960,2164,1600,763,589,655,473,580,535,503,513,340,259,390,700,919,1122,1102,858,558,420,927,987,555,416,423,416,439,369,344,426,463,497,510,500,379,472,483,378,437,537,855,1180,495,540,606,659,1288,986,421,334,503,805,604,422,1128,1874,1478,694,458,482,697,863,898,977,969,1080,937,445,267,534,987,1140,1700,1102,600,533,518,785,514,634,894,804,630,697,590,669,717,666,1130,1096,644,461,704,903,855,794,757,678,1004,1158,999,724,1332,1350,647,697,1268,1182,1278,1316,1015,923,900,806,907,1334,1178,1100,1168,720,469,702,983,873,818,1196,1140,1396,1622,1574,1456,1042,439,336,479,539,566,573,793,1216,1296,1260,1328,1506,1284,1184,1038,1410,1832,1712,1312,1388,1790,1762,1664,1808,2214,2172,1784,1678,1754,1866,1958,1768,1720,1272,579,702,796,588,446,419,446,463,433,448,485,457,364,305,320,340,340,265,214,208,229,229,234,230,223,224,228,215,207,254,290,238,342,344,462,533,541,527,498,388,348,341,318,401,634,783,825,877,498,472,797,1062,1064,1072,1188,1158,1232,1220,1522,1704,1434,1076,1108,1088,684,708,725,672,951,1146,1184,916,953,1526,1548,1226,1380,1334,1290,1220,944,885,894,733,995,1244,754,640,625,935,1338,1252,809,821,1005,739,365,314,305,315,393,422,628,1148,1342,1252,1462,1566,1438,1346,1448,1426,948,595,1062,1316,913,589,804,1012,1108,842,617,465,845,1660,2002,1404,503,439,819,863,639,609,668,777,1080,1318,1098,680,572,614,618,381,547,996,1200,1000,569,414,487,766,775,1118,1656,971,892,805,645,1478,2266,2018,1472,1072,893,940,657,659,880,907,1046,1094,697,473,473,670,854,715,512,488,559,852,866,667,653,653,738,497,530,1154,1332,1196,1260,1058,659,677,1138,1404,1378,675,373,370,317,384,1086,1516,1340,1006,913,754,527,427,460,514,852,959,1086,1168,685,680,756,558,695,642,766,949,693,588,789,962,839,877,749,396,468,721,839,1306,1536,926,776,902,1804,2420,2142,1688,1582,1550,1292,1082,771,1042,1188,1084,1232,1398,818,914,957,829,736,612,577,612,596,667,708,969,1074,1138,855,623,691,785,965,980,890,727,772,716,710,872,861,558,457,534,380,391,1005,1742,1962,1888,906,428,666,1082,872,904,790,661,602,872],[945,875,492,283,273,285,583,734,530,308,224,218,219,209,237,309,354,305,287,307,372,292,430,474,442,480,465,493,530,520,506,414,455,534,542,645,705,598,426,390,416,386,393,427,453,416,474,412,316,298,333,335,422,689,802,757,515,444,442,508,533,462,398,340,291,315,297,455,1046,1470,1292,654,497,706,854,675,599,566,655,660,510,429,460,451,458,490,509,641,956,1100,1156,749,818,798,871,1340,1440,1164,1108,1488,712,521,361,400,507,769,1628,1842,1144,855,993,684,907,675,680,1162,1366,1148,969,1168,1214,1430,1460,1026,1298,1428,1058,1080,896,1498,1458,1322,1636,1676,1422,1152,1094,1324,1338,1102,1368,1278,1578,1104,1314,1032,798,729,932,1408,1316,874,1034,1230,727,544,961,1764,1182,859,1140,1174,1368,1428,1766,1968,2148,2304,1076,802,998,2074,1876,1836,1678,1362,1200,866,467,257,238,291,373,480,763,1096,649,363,294,276,388,372,288,433,652,527,713,1162,1200,1034,1136,808,495,727,794,480,238,271,332,377,518,1444,2020,973,508,443,424,389,380,346,376,446,560,575,529,511,529,587,568,468,406,339,377,417,414,433,466,508,623,686,654,641,658,756,766,576,469,355,727,1448,1240,1016,872,700,1080,2084,1758,1422,1324,991,673,602,512,393,337,387,856,1432,781,495,771,973,1144,1348,1454,1600,1652,1604,1526,1240,760,1150,1322,1164,1013,1034,1330,1340,1136,799,602,995,1158,998,1184,907,1012,679,917,1162,886,466,392,430,475,430,346,386,532,693,565,532,538,484,395,350,401,545,778,918,1126,1412,1568,1350,1056,780,623,504,457,517,464,441,783,1104,623,536,739,979,681,987,1264,1124,1098,995,848,818,900,1080,944,805,940,828,735,575,796,1080,1008,769,844,719,626,774,797,521,454,645,861,851,647,1010,1382,1306,1134,1116,997,940,981,697,340,362,524,493,428,370,369,455,500,413,554,909,1013,1002,1124,1440,1286,1040,706,521,488,625,1030,975,680,912,1024,873,570,532,517,489,410,429,481,658,1174,1384,1236,1198,1332,1154,727,766,695,560,524,963,1012,477,662,899,811,730,825,966,1310,2086,1714,678,465,664,635,474,458,458,421,401,586,1160,1582,1794,1708,1114,1003,1052,973,1116,1152,1080,1090,1050,1116,1198,1522,1758,1522,1080,1262,1232,1134,1304,904,925,1184,1110,1021,805,653,876,1042,1340,1796,1232,519,852,936,611,587,783,800,930,860,583,735,1196,1490,1286,974,1001,1128,832,891,1096,1208,1198,1124,878,650,857,1176,1218,1432,1414,1074,1094,1007,938,1200,1168,874,854,970,814,1136,1226,1284,877,576,528,488,518,705,1066,1074,1334,1226,1170,1116,711,652,668,1046,1354,1190,1054,668,406,597,858,721,1224,1650,1628,1348,1350,1464,1632,1578,1386,1376,1598,1284,1156,1138,1044,1056,720,473,910,1138,1046,1266,1582,1884,1110,1256,1042,703,1410,1548,1372,1634,1848,1704,1408,1466,1464,1694,1660,1364,1116,1044,1226,930,592,463,616,929,875,633,661,860,1122,1188,1622,1748,1136,694,969,1006,715,703,789,918,1118,1480,1572,1342,1182,1328,1560,1088,755,690,629,485,357,292,262,312,362,525,612,597,982,1122,805,608,853,1066,872,550,662,770,915,1438,1250,1136,1396,1426,1178,1050,1264,1166,1048,865,647,608,823,873,633,651,682,1386,1200,715,556,427,358,444,573,498,613,786,876,959,603,595,523,811,891,811,772,579,350,337,624,1306,1152,713,464,427,419,404,371,525,820,894,894,910,972,1242,1168,688,717,1100,1216,1168,1050,914,736,572,485,535,611,615,633,691,702,683,460,564,692,782,980,906,1042,1346,1294,1430,1582,1374,1620,1562,996,1090,1158,1306,1434,1456,1300,1396,1662,1810,1668,1504,1494,1500,1350,1016,1015,979,949,813,729,927,977,1050,1168,695,684,1012,1228,1410,1512,1384,1128,1016,891,807,1152,1210,1302,1070,527,404,513,1214,1322,929,648,598,610,462,505,611,391,345,487,445,419,595,1074,1236,1200,1488,1464,883,914,1021,611,802,986,1270,1224,1356,1272,781,876,1358,1120,749,600,501,539,415,636,1068,1038,673,395,326,347,374,396,388,390,396,421,470,472,543,614,587,559,678,850,725,398,388,335,398,485,550,1088,1434,1572,1682,1690,1690,1648,1722,1888,1714,1164,1268,1190,1426,1522,1460,1328,1534,1648,1642,1340,1110,1168,1426,1728,1820,1636,1416,1346,871,651,647,601,522,436,491,820,1364,1450,1210,799,960,1348,1270,915,709,469,303,294,323,379,421,389,410,382,341,378,392,378,407,365,329,329,338,313,250,270,368,287,299,308,336,326,399,421,382,402,332,309,448,480,380,363,489,424,375,367,361,439,868,1246,981,570,591,581,709,885,485,358,332,380,801,1108,1096,1522,2858,2764,1056,792,1252,1038,667,696,733,778,859,995,1120,1266,1350,1396,1372,1510,1256,940,929,814,918,1134,1182,1122,926,728,781,924,1184,896,957,593,608,661,571,910,1120,933,1017,1458,1466,1422,1260,1208,922,1138,1462,1694,1794,1984,2086,1664,898,987,1566,1750,2684,2702,2014,1870,1820,1678,1502,984,553,715,944,1660,2654,2626,2502,2424,2064,1554,1488,1732,1446,1150,1366,1546,1524,1396,1244,767,474,450,453,466,458,424,403,411,421,455,528,547,585,681,720,832,1260,1672,1946,1908,2024,1558,1472,2396,2384,1698,1500,1304,1446,901,853,1500,1858,1424,965,686,849,1222,1690,1738,1262,1444,1594,1194,962,862,1250,1642,1510,1382,1272,1424,1448,1538,1498,1356,1348,1316,987,821,838,905,1036,1146,1092,886,785,675,811,1180,1240,1234,1015,1102,1426,1494,1382,1444,1428,1260,1186,1212,1194,1230,1262,1362,999,661,783,725,953,1254,1412,1452,1418,1556,1556,1394,1168,1072,1034,918,1268,1390,1772,2242,1798,1414,1220,924,787,872,974,1106,1007,910,753,860,983,1152,1044,723,758,960,1208,1504,1226,1356,1064,694,792,861,605,496,434,474,556,426,545,874,941,939,838,737,630,533,558,542,505,470,478,510,476,424,322,355,462,691,711,796,1074,922,538,786,868,761,612,736,1400,1816,1186,833,1390,1534,904,468,608,1230,1810,1436,942,1013,473,763,1264,1196,802,774,757,516,411,288,415,749,595,797,1284,1330,738,394,774,854,1038,1752,2290,1960,1810,2032,1878,2056,1862,998,788,717,498,518,529,497,547,385,283,329,617,1134,1330,1216,910,589,414,722,989,761,417,457,414,442,453,498,480,508,538,454,455,504,569,511,337,508,1210,1648,1250,537,744,914,893,1328,1208,579,316,579,761,502,519,1394,1992,1710,628,385,487,1252,1270,884,894,709,847,821,389,270,514,797,948,1214,787,720,710,497,439,377,620,1164,1244,897,536,398,912,1208,1026,1144,1128,857,681,713,854,910,937,985,805,1072,647,558,772,984,1078,850,873,999,957,1138,1228,1172,974,860,759,680,1070,1220,1088,1094,1046,837,785,1062,916,811,1176,1050,1224,1494,1846,1744,1260,728,626,617,569,517,513,585,586,533,676,1096,1844,1122,978,1192,1136,1340,1376,899,760,1290,1808,1734,1886,2200,2514,2008,1560,1738,1956,1742,1672,1784,1244,600,739,815,541,426,397,426,474,474,547,573,477,356,315,313,303,309,221,207,241,243,236,232,236,225,215,205,205,201,205,255,392,467,432,501,507,498,460,404,362,302,282,333,451,507,489,767,1150,1136,725,715,1030,1204,1078,993,1116,1090,719,1426,1760,1660,1368,1096,665,594,703,606,700,883,1058,1424,1002,673,920,1230,1182,1346,1276,924,908,960,1094,922,739,1192,1360,1150,1080,647,844,709,612,662,868,1238,1172,517,350,319,319,322,300,499,1042,975,878,1466,1736,1572,1448,1514,1260,695,573,739,993,885,655,551,551,588,911,1194,841,819,1180,781,401,321,340,627,639,655,561,710,830,735,870,873,748,754,839,852,525,426,932,1023,736,636,517,498,662,622,987,1302,745,696,625,612,2190,3608,3168,1920,1076,667,610,536,875,1158,1014,930,1122,691,494,799,964,1010,817,516,378,600,1310,1246,714,754,681,536,427,490,514,701,1030,1072,680,576,838,1332,767,495,547,509,423,357,354,697,1160,1136,990,941,789,532,476,482,489,824,1094,1268,912,527,755,1007,809,736,698,526,449,393,451,875,1364,835,573,584,351,588,1064,1080,1432,1500,1090,1096,1088,1716,1470,1050,1152,1474,1532,1090,852,497,537,471,421,715,857,810,1574,1464,847,938,622,542,615,572,713,805,1056,1272,1166,812,665,526,466,595,931,1216,1288,1046,796,630,533,430,329,293,400,461,499,991,1428,1832,2250,1224,579,320,503,511,912,888,482,424,644],[710,394,311,272,277,266,357,371,274,214,207,201,222,207,252,342,380,360,313,302,381,329,430,588,504,477,425,414,491,494,471,434,429,469,523,587,615,565,414,371,368,371,363,455,494,451,474,412,348,321,300,296,410,727,1038,1178,628,455,439,480,505,477,370,300,321,352,302,463,991,1188,1144,606,408,434,472,438,453,505,574,552,430,429,473,441,399,423,408,428,457,568,590,589,985,1262,1300,1510,1262,1180,927,1288,765,451,349,357,335,462,1150,1476,1098,1414,2010,1064,1306,1312,939,933,1118,1478,1576,1302,1384,2148,1882,1186,1238,1444,1044,1010,927,1200,1360,1262,1478,1544,1630,1732,1380,1178,1340,1380,1586,1554,1692,1390,1618,1606,1370,962,828,1102,1166,841,779,761,709,581,1508,2568,1968,1266,873,587,554,766,1296,1328,1658,1668,911,954,1250,2120,2414,2556,2296,2062,2182,1774,978,543,318,326,327,475,929,1250,727,368,318,316,400,415,386,550,705,793,755,995,852,1002,897,579,410,379,507,491,345,347,390,369,447,1026,1270,932,724,628,671,885,744,485,499,479,473,501,495,482,489,503,495,479,427,350,351,411,451,488,521,547,720,647,615,647,733,850,744,541,489,444,540,604,688,817,762,950,1444,1698,1416,1256,1710,1650,870,752,714,449,350,608,1074,962,773,777,1164,1250,877,883,1178,1652,1678,1416,1154,1134,1314,2160,1654,901,925,979,1056,1208,1028,667,548,758,971,880,1028,966,728,728,877,838,788,509,408,434,555,462,433,494,1172,1382,684,484,505,465,407,380,390,423,469,642,938,1324,1368,1304,1190,908,714,661,678,641,521,442,742,973,521,382,394,645,747,973,879,571,438,516,718,1074,1470,1606,879,1114,1524,1058,719,804,1496,1882,1422,944,753,645,710,768,766,657,559,524,500,539,806,1110,1550,1372,812,648,580,1004,1148,731,496,422,468,442,402,366,371,480,454,446,480,885,954,755,1030,1220,1302,1238,864,515,408,498,860,932,774,725,1020,785,581,486,446,479,448,496,558,640,869,1102,1094,1376,1400,835,750,787,976,835,930,1134,835,466,441,532,730,650,635,1013,1742,1834,941,444,568,667,549,459,427,382,345,509,979,1596,1832,1734,1168,929,1120,1254,1116,990,767,711,869,1090,1124,1142,1220,1626,1426,706,869,1222,1396,1004,648,971,988,923,836,590,517,896,1202,1466,1552,1098,569,510,529,415,591,968,779,724,721,501,634,1272,1484,1384,1120,922,952,1062,1038,1146,1220,1198,1628,1280,799,711,658,771,1134,1278,1100,929,1092,1756,1506,1096,787,1392,1284,771,904,882,819,720,557,430,542,922,970,1048,951,1202,1244,1396,1120,759,620,626,1278,1656,1394,1322,1028,630,414,744,1110,1698,1858,1580,1460,1666,1644,1348,1036,1290,1192,1230,1172,1046,994,1142,1378,1192,922,1072,1005,1190,1368,1538,1688,1208,1282,901,1094,1918,1898,1700,1782,1952,1666,1460,1300,1152,1438,1560,1228,680,586,698,949,1078,1058,1104,951,612,504,356,429,625,850,1204,1570,957,464,805,887,626,572,684,819,1062,1352,1384,1284,705,669,881,783,656,723,692,543,484,422,322,298,375,528,517,475,571,475,512,794,1046,1194,1172,733,772,688,1310,1536,995,1162,1310,1126,979,1015,1092,1114,1100,1052,1060,761,1002,958,733,1132,1322,1268,1021,1184,928,602,522,361,414,466,426,432,611,696,722,796,843,962,874,535,694,1044,712,419,583,899,770,712,548,495,467,401,625,818,587,716,914,886,1086,928,979,1072,846,980,1582,1714,1294,1314,1288,999,782,372,469,703,672,741,603,462,411,640,918,894,1052,874,975,1368,1162,1156,1250,1262,1568,1736,1452,1360,1578,1762,1600,1522,1332,1450,1578,1524,1332,1096,1104,1208,962,727,695,645,795,952,1182,1428,1572,1610,1478,919,625,745,1028,1264,1426,1418,1238,1072,857,981,1316,1312,1158,664,368,402,599,1042,1080,659,525,619,683,595,984,1019,489,358,461,575,734,965,1252,1300,1408,1516,1310,1050,963,924,1114,967,863,1106,1178,965,610,818,1274,1124,860,984,1028,966,923,1100,1054,955,1034,788,396,333,378,405,390,377,369,362,398,507,543,518,520,513,561,847,1096,829,428,407,349,530,642,918,1180,1362,1476,1316,1476,1600,1590,1476,1510,1660,1788,1682,1666,1596,1370,1354,1534,1614,1500,1258,1088,1274,1328,1704,2076,1792,1416,1212,1015,702,655,655,549,604,549,430,940,1608,1556,1476,1028,696,1114,1238,918,587,330,278,294,337,344,361,382,372,334,327,378,401,388,386,356,315,320,351,355,313,326,358,320,292,313,356,354,362,416,385,373,252,239,393,468,389,406,460,402,386,367,376,356,485,896,1174,647,485,550,573,524,419,502,812,1160,1422,1588,1526,1926,3526,3528,1520,806,1294,1404,1204,1130,1058,1078,1324,1344,1226,1094,827,774,662,1001,1092,1136,1312,1194,1168,1196,1118,1122,860,902,1230,1376,1688,1338,1066,593,295,452,1100,1648,1506,1082,825,1023,1102,1184,840,1614,2182,2454,2602,2698,2778,2786,2690,2076,1338,1356,1592,1504,2690,2724,1918,1638,1578,1558,1554,1140,738,736,797,1372,2444,2680,2806,2868,2254,1550,1432,1808,1482,1260,1510,1166,1100,1052,954,705,457,413,436,468,450,436,447,448,432,406,414,357,356,507,606,697,651,852,1009,1262,1460,1354,1714,1976,1940,1882,1976,1598,1714,1282,760,888,1228,928,562,672,1098,1704,2620,1888,1682,1726,1104,1096,1342,1352,1408,1438,1368,1238,1768,2678,1648,1402,1294,1228,1308,1344,1252,1068,1018,951,940,951,972,1052,1023,941,1028,957,957,960,838,974,1180,1352,1526,1620,1534,1296,1122,1136,1056,1154,1094,1050,757,719,860,904,1214,1476,1328,1410,1356,1592,1592,1542,1470,1094,967,1042,1478,1576,1770,1838,1200,1256,1330,1396,1376,988,1042,1078,1472,1488,854,914,1026,568,404,417,627,1226,1692,1446,1028,1086,724,495,551,488,447,595,673,587,454,377,518,1005,1174,1140,763,471,392,417,531,641,549,561,584,505,511,502,422,387,624,694,818,1190,1526,1152,513,942,679,373,396,736,1284,1582,1080,840,1498,1584,785,430,520,1184,1928,1494,1074,912,686,988,1172,988,710,581,491,339,334,269,318,736,866,504,773,1314,1015,688,953,1204,1132,1274,1518,1170,1028,1594,1746,1866,1946,1306,758,774,681,586,660,502,547,398,329,344,650,1074,1240,1094,896,703,426,423,647,763,446,351,320,371,382,451,472,479,657,697,495,974,1360,747,626,860,1082,1082,773,678,1126,1092,906,1316,1266,618,316,478,489,323,544,1068,1520,1200,462,254,489,1404,1708,1108,802,646,544,439,314,304,437,1064,1294,904,883,1286,933,570,690,404,531,1188,1144,775,667,623,682,1042,1244,1088,1040,1112,770,536,501,432,596,735,551,523,408,424,541,523,500,669,974,939,1004,1038,653,641,840,733,699,1124,1440,1320,1256,1230,1252,1122,1126,1038,950,1150,1088,1036,957,1021,1300,1724,1602,1130,1234,1098,877,725,504,468,476,473,606,734,936,724,938,1112,629,633,539,434,674,1272,1832,1782,1800,1908,2094,1770,1410,1836,2334,1908,1576,1542,986,597,736,778,495,405,407,422,416,466,622,583,409,320,315,307,313,272,209,235,242,235,220,228,260,235,229,235,235,223,275,401,502,467,481,528,515,425,375,391,382,377,451,362,272,262,335,506,902,1112,749,563,1192,1582,1074,1112,1316,1142,1168,1636,1802,1650,1430,1144,749,509,562,564,553,1032,1208,1204,778,539,781,1306,1670,1960,1220,569,565,843,1162,1036,1000,809,539,1310,1216,800,987,949,852,786,872,1304,1418,666,378,369,350,278,332,422,702,819,893,1282,1400,1506,1620,1322,869,591,576,854,1104,1528,1366,755,355,508,1130,1412,1152,727,792,576,429,351,412,562,514,535,551,758,767,630,978,1128,933,1076,1470,1212,897,580,533,487,697,1154,1064,923,683,639,980,1010,966,1134,974,863,1302,2030,1910,1264,727,440,367,473,872,1340,1216,1116,1214,784,537,881,1272,1184,899,991,533,730,869,937,664,597,1080,1086,650,591,641,493,536,585,309,332,433,597,382,376,449,552,601,458,373,424,556,796,974,943,747,634,619,628,644,1018,1398,912,303,530,974,825,735,698,928,567,348,361,389,777,1108,656,438,416,531,685,1384,1116,1138,1464,1570,1506,1432,1492,1422,1400,1444,1688,1202,509,464,427,440,500,573,951,882,1546,2674,1794,952,1322,665,582,616,721,1019,882,1018,1432,1268,813,661,615,522,548,670,825,966,1370,1498,1214,709,519,516,397,562,630,518,400,769,1694,2358,2342,1096,505,543,380,669,789,604,549,619],[406,342,352,356,348,348,308,233,199,209,217,222,221,207,272,392,447,402,310,262,278,325,502,630,521,461,439,410,424,434,471,473,418,397,465,553,606,498,383,372,374,414,439,512,522,447,357,332,404,407,389,385,349,425,715,651,503,436,534,562,515,454,370,303,331,321,336,385,521,674,711,467,561,549,409,405,449,469,490,480,445,519,513,472,435,487,489,433,426,532,572,666,1028,1166,996,824,821,1088,710,554,589,643,486,383,359,419,783,1274,1908,1660,1710,1208,924,1056,1078,715,786,1258,1284,1082,960,1042,901,1158,1094,1426,1560,1742,1538,1458,1328,1346,1476,1388,1874,1966,1642,1570,1576,1554,1554,1830,1686,1500,1440,1280,1280,1056,757,1015,1138,728,596,693,841,496,932,1302,1118,1019,875,662,753,890,1296,1252,1376,971,865,1302,1382,1170,1620,2192,2134,2370,2232,1166,773,488,519,472,412,484,605,619,461,344,356,329,324,397,542,493,397,434,511,750,944,1188,1011,618,418,484,730,587,469,679,513,442,576,1011,1120,915,1158,1196,1052,1332,1009,695,787,753,794,605,484,404,394,433,442,405,392,391,425,442,453,479,519,634,899,897,822,761,725,799,741,578,426,410,433,386,526,600,667,816,1009,1054,921,1128,1848,1218,739,671,813,721,534,775,948,761,932,1294,1562,1038,685,1120,1180,1300,1330,1088,865,1164,1726,2052,1402,784,855,1154,987,869,701,521,469,481,568,491,813,1098,1014,1126,915,950,1058,529,387,372,480,468,491,572,1554,1272,498,482,466,421,407,396,384,390,392,350,447,653,673,890,976,725,678,921,1144,1178,858,684,927,811,538,765,945,737,590,530,500,477,485,435,470,601,946,1142,883,1348,1214,872,764,711,936,1190,1120,886,639,754,826,714,661,1088,1050,664,543,478,458,936,1670,1320,1014,713,719,1032,1086,701,435,435,556,577,537,531,508,574,455,419,345,372,414,449,713,1526,1986,1630,994,571,528,931,1548,1110,986,859,1004,1022,811,576,469,446,615,838,679,477,464,481,604,1138,1013,648,744,779,693,784,983,908,753,538,513,623,771,637,548,738,1262,1015,489,384,514,511,439,447,407,364,398,805,1486,1794,2004,1340,807,838,1206,1248,947,834,775,785,660,1008,957,1220,1011,1368,1246,787,671,821,969,683,557,756,1005,1196,990,586,516,900,1282,1500,1388,719,576,545,494,392,536,889,843,665,809,655,761,1114,1023,1030,1260,1336,1150,1340,1126,889,829,1206,1720,1404,1178,850,436,357,491,902,1154,949,1124,1830,1380,1148,1122,1340,936,733,714,561,595,744,819,536,826,1058,911,1130,1036,703,630,769,836,815,714,899,1632,1806,1420,1462,1316,1066,760,943,1204,1324,1556,1322,1140,1594,1632,1216,1015,1098,1104,1086,1212,965,1020,1340,1438,1256,1050,1088,1084,1166,1015,1040,1032,1258,1116,1128,1606,1904,2390,2382,1894,1610,1284,1496,1250,1186,1244,1350,1080,828,779,607,468,820,1140,1164,1308,1244,977,833,642,573,404,403,656,494,325,422,505,548,735,1007,1112,1454,1638,1494,1122,606,479,652,774,808,850,556,348,393,411,343,314,760,1130,861,570,526,474,613,1116,1214,1274,1022,1014,1532,890,1198,1256,1028,1404,1488,1424,1250,1092,1036,1186,1108,1040,1176,1276,1188,691,480,1024,1356,1068,1068,1400,1276,1128,676,406,710,527,356,331,499,764,752,858,1388,1736,1482,954,735,986,1198,735,405,412,723,949,801,745,805,784,1166,1194,786,684,573,703,805,536,597,717,959,1242,1694,1500,1108,1344,1384,1458,1020,393,422,475,514,631,591,567,436,519,830,721,1004,1110,910,1284,1266,1482,1764,1610,1604,1688,1514,1340,1382,1434,1208,1106,1352,1516,1158,1015,879,774,949,1094,859,823,823,745,1056,1190,1660,1662,1526,1548,1526,1282,805,594,813,745,896,1164,1142,859,788,1104,1378,1106,761,742,639,489,517,634,596,545,514,706,633,537,935,757,444,413,470,830,1172,1268,1248,1242,1366,1454,1236,1036,1268,1302,1152,846,868,959,911,747,796,1438,995,566,1008,1178,1284,1354,1086,1070,953,686,651,593,318,312,444,479,425,396,385,364,427,532,500,380,390,434,461,794,1034,707,421,357,410,596,775,1372,1500,1522,1546,1544,1642,1560,1450,1360,1406,1654,2170,2246,1970,1500,1356,1522,1616,1410,1290,1122,1508,1614,1696,1772,1714,1576,1098,661,710,731,626,505,411,552,591,927,1482,1756,1606,1198,620,480,898,1328,1074,525,267,212,265,337,348,377,386,298,304,334,319,327,362,408,374,325,343,383,395,362,325,339,313,282,291,308,335,314,397,346,384,467,481,489,540,467,382,380,410,429,431,401,399,378,487,763,491,365,587,592,495,695,1026,1300,1672,1666,1682,1516,1750,3218,3782,2128,830,1062,1360,1278,1172,793,550,569,552,635,688,479,494,449,841,1208,1412,1542,1466,1472,1534,1206,1190,736,949,1378,1410,1636,1498,1152,670,346,543,774,813,788,670,874,1340,1824,1496,811,1804,2656,2788,2878,2876,2840,2770,2714,2260,1506,1404,1432,1416,2248,2088,1554,1368,1302,1282,1013,736,880,644,737,1416,2486,2710,2566,2440,2286,1966,1992,2074,1636,1238,1274,849,823,762,740,683,503,403,407,437,469,483,512,474,447,420,408,398,358,375,421,542,617,655,680,773,869,974,1286,1528,2020,2004,2176,2034,1810,1604,1052,612,667,549,552,933,1366,2126,2470,1958,1914,1440,1048,1064,1092,1330,1764,1802,1476,1266,1408,1982,1538,1338,1272,1174,1188,1394,1344,1300,1280,1146,1046,976,1094,1196,1274,1204,1013,1023,1192,1088,1004,1072,1088,1120,1434,1732,1572,1444,1276,1230,1348,1472,1242,767,734,927,1114,1378,1070,1340,1394,1166,987,1260,1388,1334,1306,1340,1320,1222,1454,1506,1476,1420,1350,1764,1478,1680,1380,984,872,761,1212,1272,787,739,647,394,462,349,528,1354,1844,1364,806,856,742,569,608,616,533,608,675,533,404,523,1236,1848,1656,1130,669,539,473,465,575,656,439,503,873,1064,777,1160,1638,971,404,471,841,1290,1392,925,479,736,595,434,456,720,1156,1306,985,1128,1520,1454,896,501,587,844,1200,1122,1216,1124,971,905,808,731,625,440,480,612,515,332,265,343,347,321,557,1052,1098,720,713,1222,1108,1224,1068,753,571,1005,1550,1696,1610,1242,667,679,681,458,523,440,486,478,484,451,538,691,803,919,1050,832,400,320,374,521,596,805,848,573,607,625,324,562,1128,1166,1038,1314,1456,1420,1498,1258,727,710,678,821,1152,912,450,424,355,312,479,651,556,417,565,738,880,697,330,275,475,1044,1466,1236,993,906,598,364,477,463,392,1158,1456,855,998,1296,830,891,1074,547,418,674,692,414,698,891,710,890,1294,994,1116,1274,893,647,973,825,641,592,564,587,524,403,799,1134,587,416,851,908,898,883,482,436,933,1054,692,913,1170,1108,1376,1198,959,1274,1396,1368,1714,1742,1432,1568,1486,1032,967,1584,1736,1464,1522,1664,1426,858,511,503,517,520,936,949,436,516,902,938,457,420,372,383,802,1494,1922,1826,1704,1822,1924,1776,1460,1838,2020,1960,1864,1802,1030,638,788,653,398,386,401,397,416,416,472,380,295,303,309,309,285,207,201,230,221,235,235,227,234,235,259,224,219,292,339,399,423,454,507,547,547,459,364,435,611,746,638,400,280,282,331,316,494,777,836,588,937,1214,1132,1188,1152,1152,1450,1826,1692,1266,1238,1150,868,515,479,509,553,1172,937,905,1026,1015,1326,1468,1516,1270,973,1154,683,642,912,1054,1204,829,457,1038,980,830,1068,985,1086,1116,979,1236,1492,1026,569,435,350,319,322,346,750,1015,758,1100,1072,1130,1582,1220,728,599,759,1060,1044,1302,1798,1342,421,471,518,728,864,727,998,920,728,632,599,608,449,495,713,989,723,926,1722,1644,1001,1448,1666,1422,1474,1284,1012,837,810,1150,1358,1478,1144,1244,1522,1280,1140,1218,1140,1023,1172,1164,1078,902,729,744,778,822,1178,1248,1178,1416,1228,878,888,877,1230,998,1332,1224,700,813,705,590,509,737,1444,1590,1022,588,737,536,414,280,224,277,277,209,413,647,474,452,684,702,531,499,622,923,1154,1288,1144,821,716,816,752,1072,1504,862,396,753,819,419,311,289,693,1100,926,480,403,745,799,525,652,616,810,963,1632,1023,695,1202,1276,1356,1992,1998,2010,1726,1394,1618,954,631,568,444,465,653,1128,1362,899,1122,1706,1572,1460,1240,836,798,735,755,1030,1112,1106,1088,1186,1312,730,704,662,663,785,769,662,1062,1628,1588,1356,1238,912,523,646,512,484,556,850,1188,1864,2132,1228,658,580,498,532,519,626,589,482],[330,318,355,382,359,344,305,247,208,249,260,247,244,259,317,408,435,368,305,291,281,325,595,626,553,558,506,393,364,364,380,400,386,391,387,368,435,394,390,386,414,412,515,578,538,466,367,357,446,432,426,408,398,372,633,763,643,769,1050,905,629,419,339,321,336,300,335,327,327,287,286,316,466,584,493,435,434,493,489,500,482,536,527,493,467,474,523,509,500,604,626,422,466,498,454,450,483,874,886,590,845,1102,723,464,400,403,491,731,1310,1386,1398,1410,1162,1007,784,452,550,880,648,567,647,636,632,767,1021,1356,1530,1514,1372,1250,1030,1048,1296,1296,1364,1356,1710,1722,1648,1782,1778,1768,1660,1708,1166,659,852,1274,1368,1254,1052,786,709,828,688,498,568,575,744,875,696,641,1004,993,1510,1678,1362,976,907,1180,1007,843,1600,1720,1558,2076,1526,488,239,247,302,519,695,734,571,487,377,327,368,283,322,394,736,609,392,327,554,891,843,797,815,651,455,387,483,549,561,611,459,670,1172,1520,1266,1140,1498,1380,1024,1214,728,778,780,954,929,653,604,644,625,487,411,392,378,408,438,427,415,450,468,763,892,819,1084,956,614,664,606,440,380,379,396,440,481,496,503,564,719,906,988,1586,1720,692,512,625,1520,1378,792,695,642,671,965,1312,1072,494,370,703,973,1012,816,781,1110,1192,1218,1094,792,850,968,1152,972,677,480,527,768,643,487,604,1064,1274,1236,1218,911,830,674,403,370,634,669,530,555,676,858,605,489,435,445,417,419,383,357,386,381,317,382,372,307,447,613,561,624,1050,1484,1484,1522,1158,1146,995,1130,1506,1220,666,464,371,371,472,444,392,417,410,418,527,803,1234,1176,922,982,783,583,675,658,561,576,712,750,753,673,908,861,589,744,597,393,463,715,1036,949,877,811,795,890,728,569,558,628,585,547,656,627,467,477,490,483,407,302,410,808,1516,1748,1350,803,648,721,839,1005,725,1020,1198,941,918,1026,889,646,496,843,1430,871,430,449,350,369,744,683,605,760,769,742,893,1010,1042,908,982,867,1384,1244,749,612,972,1072,665,329,378,437,447,476,423,383,380,725,1426,1782,1996,1564,852,875,964,922,816,775,839,1146,1242,832,891,1296,1576,1520,1214,780,714,594,488,474,440,571,797,1090,1372,1044,594,658,963,1488,1888,1454,906,1300,1530,1372,1072,875,1094,791,418,616,735,700,968,972,774,772,1140,1058,1192,1306,705,397,618,821,982,1106,725,499,293,444,744,1001,1236,1350,1556,1450,1316,1458,1208,781,728,566,507,753,1021,1204,1080,1268,937,1011,1540,1204,516,683,932,955,1208,1054,799,922,1272,1300,1404,1084,974,1104,1066,1034,1472,1654,943,1056,1396,1422,1422,1212,1316,1372,1418,1316,1098,1300,1396,1562,1466,1244,1148,1154,1322,1174,1012,1442,1430,1082,1592,1764,1744,2148,2196,1802,1488,1824,1914,1426,1374,1194,1000,869,761,824,522,412,708,890,1244,1498,1434,1338,1094,1132,1222,913,757,600,435,381,348,387,533,708,872,1286,1584,1416,1274,861,449,440,489,673,736,745,437,619,767,675,447,708,1308,1262,734,516,577,572,647,866,1010,1234,694,700,1036,1052,1590,1512,1218,916,814,844,1010,870,781,1220,1494,1152,1042,938,1046,873,611,725,921,1134,1402,1284,1134,1334,778,770,845,678,607,436,457,618,625,750,1286,1658,1576,1074,894,1088,1434,1250,752,428,471,689,824,852,858,677,1064,1250,934,525,544,1008,786,536,541,670,1056,1436,1626,1226,1144,868,747,1124,708,393,473,475,558,582,662,517,596,764,875,720,738,798,719,1170,1498,1418,1280,1116,1092,1278,1432,1188,944,911,758,727,1244,1428,965,797,805,774,1010,1248,1122,893,833,615,884,1006,1882,1710,1108,1222,1430,1500,1190,713,736,601,841,930,872,936,861,1164,1100,914,1542,1548,1098,733,567,487,539,616,605,611,654,610,448,321,377,415,459,881,1132,1164,1094,1390,1594,1428,1026,685,854,923,754,915,980,812,656,713,664,1152,1034,708,1064,1430,1506,1316,972,913,932,880,606,529,427,445,507,472,406,439,471,417,396,493,467,373,442,474,385,530,677,601,454,436,483,486,900,1512,1692,1534,1368,1488,1506,1492,1350,1306,1364,1436,1558,1804,1780,1500,1496,1698,1548,1400,1240,1344,1510,1614,1576,1538,1564,1458,989,625,719,681,505,381,314,531,655,731,1270,1690,1578,996,673,695,825,1290,945,400,262,238,274,298,353,382,352,331,353,368,377,385,376,419,421,349,349,369,370,369,337,308,286,321,314,331,306,303,390,424,446,569,525,426,446,409,353,374,397,456,451,405,341,350,358,414,405,391,525,602,577,683,744,798,1358,1566,1492,1844,1990,3082,3882,2620,1086,910,1282,1114,869,759,511,450,589,652,675,552,515,523,810,1510,2032,1886,1688,1892,1834,1252,1178,786,841,1138,1158,1418,1548,1188,782,529,877,1246,1696,2208,2730,3340,3726,3480,2182,1019,1506,2644,2828,2962,2968,2842,2620,2496,1998,1478,1218,1224,1466,1664,1486,1206,1018,1008,948,835,1114,1150,886,799,1194,1970,2308,2316,2386,2132,1680,1552,1648,1714,1288,1144,767,733,839,868,842,620,437,427,430,532,532,530,459,432,442,478,440,414,398,406,405,418,469,551,648,708,628,710,882,1418,1718,1810,1936,1898,1744,1368,844,552,596,877,1442,2018,2512,2002,1802,1630,1230,962,735,742,858,1212,1470,1550,1340,1198,1394,1368,1298,1286,1214,1202,1238,1234,1316,1220,1168,1036,1008,1330,1282,1362,1256,1142,1374,1410,1136,1192,1246,933,1166,1764,1902,1482,1498,1668,1584,1260,1242,1050,608,565,732,1552,3012,2170,1312,1256,1194,1002,1166,1334,1126,827,896,1372,1498,1410,1338,1358,1080,1080,1336,1282,1154,879,798,647,626,813,755,760,791,926,533,388,343,505,1412,1862,1244,931,1046,816,460,498,580,492,503,519,419,397,672,1512,1894,1368,817,714,639,542,509,564,697,479,397,786,1030,916,1586,1866,887,558,558,675,864,642,611,716,774,694,720,750,882,1218,1148,872,1484,1246,1362,1252,995,792,701,814,1206,1404,1180,1106,841,811,921,719,355,703,808,724,657,484,315,354,339,514,1084,1086,959,688,830,755,985,1138,1000,783,670,963,1276,1146,1050,609,503,468,308,391,495,551,566,455,401,510,510,635,882,1630,1142,520,315,312,797,1184,1490,1340,940,1200,1076,626,837,1070,1246,1466,1026,802,905,1074,1250,1074,1096,1372,968,813,856,369,333,373,329,354,602,1106,767,641,943,984,653,292,336,496,1028,1260,1054,843,1013,740,514,732,590,352,1040,1370,681,891,1316,1506,1580,1272,618,369,645,788,466,658,1426,1380,984,940,454,715,850,607,615,1454,1448,1136,1094,932,1136,1070,461,883,1174,413,301,530,664,1182,949,401,593,861,793,677,712,843,1042,1602,1250,772,1372,1054,1340,2080,1892,1074,929,1452,1400,1532,1900,1610,1638,1568,1278,890,609,381,360,504,639,1110,1424,990,608,596,449,354,392,363,415,1112,1788,1878,1810,1664,1584,1796,1860,1688,1798,1898,1860,1980,1636,823,605,755,592,374,417,369,377,413,391,363,328,332,314,293,265,196,182,233,234,224,215,203,208,203,228,252,247,296,437,514,579,570,561,520,480,498,484,448,685,1076,1076,758,572,350,308,268,245,462,878,938,629,610,724,1120,1050,798,844,1236,1450,1094,1064,1188,867,946,846,576,485,469,506,558,709,740,969,1258,1138,844,607,1028,1180,658,1016,1326,1526,1494,1250,877,762,762,700,850,1110,1416,1250,854,871,1304,1362,1062,693,376,373,333,401,443,443,699,1054,1208,1170,1278,1434,1044,470,679,1056,730,728,1258,896,409,395,338,466,380,528,672,624,1066,1218,824,796,833,702,1068,1250,978,1012,1448,1114,574,874,1202,1412,1416,1442,1180,1222,1140,1174,912,1204,1144,849,911,1140,1098,1038,1102,1212,1350,1184,1086,780,748,702,605,465,755,890,1286,1754,1284,1128,1134,1178,1418,1013,1332,967,1236,1628,1108,539,426,742,1388,1624,952,568,485,387,350,279,255,287,274,267,360,411,383,395,505,527,585,672,996,1260,1396,1694,1782,1136,625,734,744,672,827,436,446,695,437,329,343,584,1470,1824,1076,542,681,1246,1522,1144,919,725,750,873,877,650,858,1358,1372,1474,1888,1724,1444,1110,1092,1312,892,786,670,474,587,1146,1640,1650,936,880,1484,2612,2656,1486,763,612,491,593,868,1152,1130,1026,1470,1652,1576,1612,1054,957,1134,958,878,1272,1374,944,1158,1318,1266,921,628,374,576,805,937,929,1076,1200,1188,778,532,809,869,630,487,590,546],[333,341,406,382,357,336,311,273,252,204,214,236,250,296,372,430,499,612,427,325,325,309,555,652,574,580,529,459,451,386,338,365,394,391,381,344,408,408,403,408,410,448,550,606,528,443,414,437,463,462,425,384,430,470,591,645,536,585,744,649,527,460,430,407,350,383,435,368,316,333,355,373,547,539,478,467,446,501,496,484,469,532,539,511,493,485,509,510,444,480,516,414,432,670,594,433,404,730,1028,791,1028,1114,623,393,421,427,697,959,995,1478,1804,1494,1388,1304,611,475,505,619,581,584,838,874,730,829,1080,1242,1276,885,810,1002,1198,1224,1268,1172,1074,1700,1788,1180,1238,1560,1780,1768,1368,1086,745,855,1190,1074,979,1005,853,583,440,391,318,511,827,919,1284,1168,776,670,813,846,1340,1432,958,773,696,678,596,854,1650,1592,1868,2056,1062,390,359,319,292,279,526,872,860,451,350,311,399,534,681,677,1007,1172,709,316,598,916,973,971,593,638,558,463,650,666,830,978,676,676,1122,1172,882,1074,1266,1030,765,677,607,806,796,892,624,480,597,517,525,701,455,415,372,378,395,397,415,418,433,820,916,615,705,687,614,553,534,430,485,522,419,421,473,474,455,537,654,758,796,1448,1100,522,463,922,1344,874,514,554,710,754,888,906,387,330,452,745,1214,1324,1148,1076,1098,938,800,596,695,872,981,1216,1502,1146,805,1144,1896,1600,831,664,1010,1222,1178,1076,843,599,500,379,387,496,487,562,637,777,800,587,505,433,468,442,431,428,444,453,419,403,423,384,315,299,368,464,564,1292,1528,1336,1376,1204,1070,1164,1584,1376,1278,1112,705,459,431,464,402,388,362,389,385,388,749,1482,1820,1078,953,673,597,587,430,393,574,582,683,1216,1228,1050,719,527,642,502,398,397,667,1100,963,799,880,990,1042,1034,895,546,490,456,526,713,941,716,574,668,675,421,357,466,741,1278,1382,878,531,706,789,646,576,734,984,1272,1202,927,1142,1108,766,863,1188,1804,1322,709,530,468,788,1260,954,630,871,1005,1180,1268,1192,1050,1362,1372,1272,1202,1388,1020,981,1606,1562,990,470,419,412,414,464,433,373,530,1526,2054,1926,1820,1007,727,1090,1260,1244,1198,865,1178,1426,1382,1176,1134,1382,1496,1590,1314,801,648,679,764,1001,926,757,1296,1552,1522,1192,998,1062,945,1152,1300,1046,1676,2036,2044,2122,1804,1046,683,476,512,955,1062,1136,922,980,664,486,697,674,740,743,580,433,339,331,313,544,719,711,342,420,843,1228,1328,1274,1356,1388,1598,1450,1254,1336,935,683,737,1162,1368,1356,1282,1048,1096,1200,925,809,484,923,1282,1242,1282,1288,916,557,662,966,1216,1278,1288,1422,1160,958,1280,1588,1690,1528,1424,1654,1700,1536,1504,1480,1480,1500,1454,1456,1374,1400,1376,1276,880,929,1280,1212,1308,1842,2020,1618,1666,1648,1574,1688,1770,1398,1086,1472,1628,1542,1508,1400,1404,1015,763,547,364,297,487,885,1404,1460,1632,1632,1180,912,904,1040,1017,1110,1140,844,672,664,474,546,639,745,756,882,1098,574,419,430,618,689,630,534,367,651,1042,897,529,791,1218,1066,513,408,497,506,650,744,637,606,556,476,385,937,1922,2340,2170,1534,1262,945,653,842,764,517,634,890,993,1005,909,915,1082,998,473,532,993,831,594,889,938,985,801,977,979,686,624,530,606,864,1328,1598,1440,877,932,996,1074,1158,954,843,516,390,487,703,630,499,585,827,578,417,872,1134,691,512,561,706,937,1390,1174,896,1226,957,651,775,730,670,639,700,635,632,869,567,922,1274,1074,826,952,1242,1212,1180,1300,1672,1874,1386,800,792,1208,939,745,788,939,985,1322,1498,1122,886,791,687,973,1202,1090,852,846,805,944,946,1508,1686,1240,1332,1556,1588,1462,1054,778,609,788,965,1166,1202,963,1058,1176,1450,2084,1640,1350,897,762,594,515,582,620,567,767,604,333,372,346,455,839,1410,1300,850,921,1192,1410,1426,1148,840,709,672,673,822,744,889,835,977,686,883,1168,802,985,1490,1360,1114,1256,1238,976,943,1098,882,634,610,578,458,397,414,510,521,513,517,441,447,545,533,463,380,336,396,415,512,492,481,986,1260,1400,1412,1354,1460,1384,1334,1372,1384,1372,1410,1382,1460,1550,1628,1638,1650,1490,1406,1370,1650,1758,1686,1560,1538,1454,1134,904,713,714,553,582,722,713,1140,1256,1122,1482,1682,1690,1500,1068,742,873,1124,603,339,267,248,306,335,354,399,405,353,332,347,357,386,388,383,388,321,298,321,327,348,339,323,384,457,362,362,402,434,469,497,532,551,478,472,420,345,364,380,440,493,444,404,358,370,363,391,435,430,514,639,674,576,420,543,1023,1452,2308,2966,2374,2898,4062,3300,1544,1030,1382,1058,684,826,526,358,561,590,564,631,661,628,735,1626,2510,2396,2094,2288,1964,1396,1192,756,681,935,962,1188,1652,1484,1005,752,1208,2332,3354,3354,3012,2680,2176,1746,1584,1086,1244,2540,2648,2360,2034,1594,1398,1532,1408,1450,1382,1354,1440,1306,1086,1066,1044,1132,1090,963,1170,1182,1272,921,829,1262,1338,1082,834,622,577,642,1186,1676,1274,1176,1204,1360,1492,1598,1484,792,562,618,661,538,518,520,456,437,456,469,470,452,437,421,386,397,390,390,514,592,645,680,706,942,1182,1312,1672,1952,1650,1498,1262,601,980,1422,1542,1898,1758,1634,1698,1438,1256,863,807,807,819,924,849,1304,1160,1128,1256,1278,1398,1378,1266,1222,1184,1116,1152,1064,1124,1172,1168,1122,1156,1216,1222,1266,1340,1292,1032,1216,1416,1009,1122,1642,1584,1484,1482,1606,1582,1334,1194,930,744,706,1058,1580,2548,2272,1524,1312,1470,1318,1270,1204,1004,783,703,1186,1518,1648,1638,1314,772,584,982,1162,858,863,861,913,882,612,574,835,766,1088,659,309,284,410,781,860,727,806,860,666,449,653,774,577,485,438,401,749,1506,2196,2076,1064,487,547,657,630,862,969,729,428,453,462,833,1468,1324,1068,730,860,1582,983,718,570,695,1164,1100,894,1036,1146,1394,1584,1440,1422,1946,1442,1430,1488,1134,774,627,632,1126,1380,1152,1074,787,767,774,606,503,816,678,502,650,462,277,329,294,384,819,966,1172,861,697,702,1058,1176,900,793,858,745,633,741,825,510,414,433,462,576,609,551,526,450,338,456,639,807,885,1362,1182,644,315,293,494,813,1042,778,716,992,735,740,1108,929,1176,1050,761,789,752,838,1250,1048,948,1606,1196,868,782,449,388,395,333,446,985,1038,530,598,865,687,377,251,290,400,1228,1356,799,590,631,486,508,765,634,381,866,1028,636,855,1876,1920,1520,1056,849,755,1007,1434,1140,694,1316,1400,814,661,383,304,437,434,729,1268,1266,1174,1270,916,1009,993,594,1030,1024,519,486,384,528,1256,1062,400,532,921,1118,959,1346,1230,1168,1780,1656,1388,1118,662,1224,1842,1588,769,625,1240,1220,1548,1808,1798,1824,1210,595,410,330,291,338,422,600,993,1214,1212,1160,1054,785,613,452,389,603,1322,1960,2010,2024,1764,1438,1696,1794,1668,1630,1700,1444,1632,1582,879,714,845,594,471,666,544,586,514,494,454,401,348,312,256,192,202,224,228,219,230,231,243,235,214,215,195,296,530,552,455,568,608,567,413,476,464,458,467,550,882,802,554,515,358,334,282,352,969,1532,1212,702,515,705,878,777,576,747,1188,1178,1030,1358,1416,930,1078,1286,965,610,582,874,816,517,590,847,760,594,556,400,566,752,797,845,1154,1476,1452,1230,1156,1230,1272,1194,850,1078,1318,1004,731,803,1140,1256,1230,1120,696,525,666,604,539,643,942,1472,1798,1402,1048,1378,1438,796,596,973,890,528,674,637,578,395,270,318,433,507,377,624,1334,1504,889,856,1638,1322,948,928,1246,1356,1030,569,432,526,880,1220,1240,1340,1078,919,1356,1596,1086,1050,978,488,525,796,819,790,1102,1246,1304,1482,1204,638,422,481,493,534,803,800,1158,1310,1500,1174,669,874,757,506,517,804,1420,1550,1476,925,654,952,1206,1330,697,445,372,305,311,316,368,455,352,320,378,390,445,477,480,434,449,440,690,981,1058,1306,1388,763,424,593,1044,770,538,460,955,1062,791,558,553,1064,1644,1304,882,1020,1224,1694,1732,1290,949,628,502,634,640,542,851,1090,1130,1094,1316,1294,1070,1011,1370,1448,1284,993,687,691,783,946,1260,1836,1578,1832,2338,3318,2908,1456,912,1192,1556,1926,1444,1530,1576,1372,1013,924,2098,2088,1208,1598,1930,1428,1508,1794,1568,1528,1260,1000,1194,1396,1032,761,883,1050,1042,968,766,688,1001,803,470,686,984,861,543,477,384],[412,356,408,355,325,312,302,274,248,258,294,311,357,400,425,438,518,683,509,440,644,588,617,683,547,523,499,531,578,448,357,353,383,347,359,366,397,412,428,441,451,447,463,495,501,463,414,422,455,375,343,406,484,808,1160,891,465,401,503,585,538,543,552,498,383,383,427,391,398,439,386,374,531,469,489,428,438,434,471,453,432,489,513,491,484,563,509,570,1628,1720,1026,655,907,1424,974,458,432,590,1032,1080,1206,935,489,381,403,441,821,1150,1170,1474,1722,1194,1160,1186,571,465,702,1230,1040,658,675,987,1188,1274,1196,1023,974,672,680,1044,1080,1304,1410,1354,1004,1046,1078,756,769,825,1294,1484,1244,694,648,1082,1394,890,462,487,527,448,350,314,383,626,822,1136,1436,1310,842,962,1508,1458,1208,968,849,971,689,590,616,808,1212,1536,2004,1802,869,414,350,293,342,338,339,536,852,677,577,573,651,842,1220,1298,1528,1546,727,369,522,964,1084,889,758,686,475,371,490,533,767,1038,523,397,508,657,670,850,1180,1116,882,680,973,1288,1192,947,513,407,393,365,436,715,487,387,411,422,414,370,342,339,486,954,766,510,572,866,803,660,641,507,537,533,465,437,439,430,490,841,890,794,893,1048,881,714,688,910,817,528,607,892,822,1144,1258,902,463,352,550,1080,1384,1498,1432,1206,926,1028,1146,1078,1154,1001,1310,1198,898,1194,1450,1836,2104,2034,1738,1120,1396,1686,1376,1290,829,476,443,391,470,541,485,482,502,559,673,885,744,558,518,477,451,451,482,479,375,388,384,317,302,291,313,439,670,1264,1554,1626,1336,987,755,973,1440,1274,1412,1510,1300,649,376,471,474,451,403,368,377,528,1236,2146,2302,2004,1228,700,489,455,393,466,603,714,1570,1866,1502,1232,696,471,539,534,434,652,1034,1282,1210,877,899,1028,1240,876,786,572,431,449,513,672,1078,1168,1248,1338,943,422,422,561,1024,1200,1046,620,441,543,734,816,898,1084,1202,1392,1450,1078,1152,1007,905,1046,1086,1198,1168,1018,730,775,1440,1730,1184,761,982,1312,1382,1410,1216,1166,1240,1158,1066,1001,1136,1162,1412,1778,1898,1400,733,477,397,418,430,378,476,924,1672,1936,1792,1056,743,744,914,1244,1416,1280,1144,1488,1432,1318,1238,1146,1246,1262,1498,1668,1274,847,865,1460,1898,1520,1180,1118,1112,1420,1272,1250,1178,1184,686,612,996,1360,1486,1360,1260,1030,814,596,536,437,630,1046,1704,1372,937,554,560,741,704,525,559,571,500,487,415,410,787,1011,733,418,424,796,1174,1118,1216,1472,1530,1200,1212,1294,1562,1214,806,1108,1350,1520,1506,1120,879,1168,1256,973,570,411,608,758,1018,1034,1420,1296,676,730,955,1024,1074,974,946,780,1110,1172,1696,1794,1360,1394,1444,1372,1566,1610,1582,1434,2046,1788,1158,1238,1350,1376,1302,1136,1302,1304,1114,1314,1896,1870,1086,1300,1424,1524,1768,1686,1098,720,802,972,1230,1322,1406,1572,1104,846,391,301,378,390,643,1044,1460,1848,1810,1290,806,728,628,476,719,1048,1268,1284,1278,972,622,575,545,408,874,1012,544,477,551,601,404,339,342,329,397,534,481,560,1068,890,351,344,389,429,472,561,652,473,379,440,430,441,668,1034,1376,1700,2278,2350,1936,966,781,639,637,867,810,893,1094,901,1017,905,911,838,695,681,627,475,555,954,781,483,662,833,960,1278,922,724,837,1318,1666,1342,977,1096,1124,1038,711,624,830,1012,773,648,506,458,429,358,377,404,694,1202,872,322,339,472,597,605,759,686,568,897,1192,910,851,901,684,551,663,741,775,945,979,1594,1708,1072,763,885,1138,1228,1068,1114,1152,697,487,489,599,899,913,946,860,811,1122,1582,1644,1152,841,729,739,884,1208,1184,957,1036,1082,1004,805,868,1038,868,1058,1446,1458,1506,1422,1108,622,551,847,940,942,1003,1274,1362,1019,761,854,963,791,724,605,564,601,489,767,1028,511,319,313,350,742,1204,1206,1220,1020,974,946,1190,1390,1202,946,691,750,750,744,710,922,976,1013,902,1082,947,560,719,1164,1098,1364,1552,1572,1430,1090,1152,1144,709,441,500,497,375,340,505,545,563,551,442,461,586,579,461,350,342,396,427,468,462,681,1126,1102,976,1200,1312,1518,1484,1250,1282,1378,1390,1382,1350,1256,1292,1536,1578,1574,1562,1522,1324,1480,1576,1404,1490,1350,954,747,565,675,586,758,989,1009,1008,1302,1598,1814,2070,1700,1620,1370,1090,822,1054,767,395,347,275,267,337,362,339,392,468,391,382,350,318,421,456,478,571,492,372,372,360,310,396,423,432,448,386,397,441,453,436,454,559,531,423,409,374,323,323,345,384,450,502,457,385,371,348,331,404,462,476,602,680,587,532,993,2460,2448,2476,3266,2126,2644,3992,3436,1492,997,1368,1078,799,879,659,435,603,636,594,813,882,779,709,1512,2258,2166,1948,1970,1932,1608,1172,969,709,855,918,1064,1716,1584,1042,736,1028,1308,1108,830,780,979,1034,1038,1378,1146,949,1608,1682,1342,1230,1218,1302,1262,1290,1402,1282,1220,1282,1274,1290,1378,1346,1378,1156,1114,1092,1278,1394,920,633,675,584,567,658,763,874,894,1282,1664,1362,1092,1202,1500,1760,1808,1548,952,930,891,760,515,515,547,506,479,498,492,494,486,443,441,420,409,426,401,396,458,527,584,670,781,845,896,1104,1288,1234,1336,1486,1212,1510,1524,1476,1624,1462,1774,1516,1482,1248,828,838,763,878,939,1013,1258,1166,1328,1302,1302,1634,1956,2070,1334,1228,1108,1013,1070,1162,1140,1208,1288,1266,1214,1158,1092,1290,1166,1432,1230,1096,1154,1148,1164,1328,1444,1394,1406,1288,1368,1316,1328,1196,1114,1028,1250,1418,1352,1282,1482,1594,1244,1142,1030,1116,890,1070,1238,1376,1686,1836,1574,966,666,1064,969,608,838,1226,1638,1106,585,1170,905,534,604,432,372,465,723,933,962,856,932,781,615,383,690,802,736,675,416,374,809,1228,1336,1450,828,511,633,769,743,1086,1158,767,619,609,668,825,1002,1238,1646,1162,868,1206,998,936,740,881,1426,1296,1006,984,1440,2100,1834,1672,1788,1758,1184,857,808,950,1074,675,485,933,1114,1026,911,758,800,766,550,458,756,869,623,616,296,255,317,339,389,582,1002,1196,1064,903,858,960,894,746,741,728,890,784,873,801,556,458,481,575,664,714,585,534,530,473,669,696,664,798,849,867,664,295,288,449,847,1152,814,1560,2204,1294,1378,1582,1054,1276,1534,1194,866,811,607,551,455,603,1148,846,811,721,497,431,448,368,451,697,511,338,487,766,914,624,360,267,314,514,437,483,758,753,388,511,758,571,435,606,678,606,671,1154,1214,894,766,1090,1576,1716,1572,1228,714,828,914,605,717,602,390,487,746,897,867,1036,807,857,667,821,767,872,1122,1044,1056,868,422,397,654,739,680,736,1042,838,825,1550,1604,1556,1714,1716,1544,872,401,560,954,1262,868,750,1308,1006,1272,1578,1714,1426,715,351,398,399,449,508,444,528,698,873,993,1110,1110,1146,890,458,437,709,1336,1776,1920,1866,1352,1368,1816,1394,1128,1370,1528,1376,1486,1504,826,710,746,556,637,821,666,733,705,539,433,403,381,332,222,174,194,209,226,224,221,230,240,228,212,214,310,552,642,538,524,560,750,722,480,483,550,524,486,486,518,460,388,363,348,344,396,775,1442,1188,719,627,542,522,791,915,641,954,877,1104,1158,1046,935,1190,1606,1484,1242,965,852,1092,874,572,659,928,1102,976,632,444,534,652,691,891,1114,1142,1096,983,1196,1222,1908,1714,1206,1208,1148,882,705,711,818,975,1005,1252,1306,965,1098,1078,1090,948,1106,1564,1588,1318,1170,1312,1488,1344,698,655,1130,855,904,1250,1038,480,326,523,807,771,443,736,1023,1330,1088,734,1013,1042,601,929,1722,1730,1060,502,601,585,787,917,900,775,974,738,1056,1284,1056,1252,1418,1011,1156,1300,879,633,750,984,1372,1646,1314,702,484,597,604,636,908,917,1086,1436,1404,990,833,753,531,841,1192,1016,1160,1282,1652,1428,1092,827,1196,1498,954,433,327,328,335,307,381,689,633,372,478,399,352,507,590,509,488,509,778,956,659,608,673,602,535,1030,1428,853,718,1168,1350,1194,1200,1136,1512,1400,1284,944,690,1186,1174,1018,956,839,709,651,473,415,380,391,438,634,796,863,909,910,1005,1344,1582,1334,1196,957,914,967,867,1052,1096,1552,2334,2862,3178,3306,2314,1746,2438,2688,2292,1568,1015,1474,1782,1224,642,474,900,979,826,1258,1998,2276,2164,1528,1428,1692,1774,1542,1376,1322,1082,911,1118,1166,1244,687,556,809,716,609,508,517,461,517,515,544,511],[383,321,319,305,295,297,305,321,357,400,403,369,398,412,389,400,412,543,614,659,962,902,686,787,673,562,494,469,546,439,370,349,343,357,347,355,396,413,414,422,450,396,357,395,415,436,478,469,458,418,416,465,616,812,831,731,457,469,501,503,598,673,614,517,409,390,403,622,1184,1252,1030,890,801,645,973,1120,681,386,451,401,430,488,452,484,500,580,558,565,1770,1974,1506,868,871,1236,857,476,568,659,1024,1132,996,769,772,767,548,437,568,976,1318,1350,1252,682,805,757,552,500,657,979,1082,766,497,845,1072,1434,1170,921,1072,803,753,1202,1182,1274,1536,1566,1340,1562,1316,713,642,634,1306,1314,1368,1046,865,1066,1106,664,374,444,447,440,373,348,411,574,572,647,918,1194,1318,2020,2392,1716,1005,982,1019,825,624,576,609,665,1150,1536,1574,1266,623,315,256,276,346,382,347,401,697,1010,1284,1482,1448,1462,1510,1278,1406,1062,583,412,650,1300,1104,625,628,465,309,344,466,422,368,515,389,362,469,636,619,511,658,796,866,1160,1700,1920,1544,951,444,329,300,336,428,690,541,390,384,365,420,366,340,339,553,1194,670,442,550,927,847,602,595,633,544,444,392,390,435,473,537,603,474,529,926,894,720,956,1122,898,758,509,1046,1572,1264,1454,1614,1236,735,568,875,1050,942,1228,1372,1396,1274,1184,1378,1364,1628,1514,1558,1210,1082,1578,1506,1490,1532,1766,2194,1534,1016,1376,1632,1492,869,468,440,399,460,561,506,447,471,416,407,634,915,913,722,518,488,372,424,536,473,379,351,311,276,249,298,481,869,1436,1556,1388,1216,1126,677,803,1152,1266,1454,1640,1650,993,438,368,427,558,457,357,358,814,1698,2210,2554,2710,1632,860,636,490,429,664,955,1264,1808,900,858,807,889,726,710,836,697,912,1120,1172,1190,1136,1136,976,1238,804,813,863,763,832,972,1086,1058,1094,1234,1030,738,469,464,627,1116,1164,1246,1422,862,599,838,1021,1340,1318,1096,1184,1362,1376,1372,968,1018,976,1058,1094,985,928,684,943,1718,1672,1378,1090,1052,1256,1366,1390,1328,1230,1188,1088,650,569,723,1246,1574,1598,1596,1058,539,433,429,427,384,419,796,1370,1774,1932,1400,653,1140,999,752,1460,1680,1272,1278,1388,1268,1272,1292,1276,1176,1350,1624,1638,1452,1276,1184,1220,1268,1186,1236,1424,1610,1686,1472,1520,1322,1013,673,959,1470,1488,1282,1122,1086,1114,1008,1034,966,517,469,741,1278,1312,758,610,574,522,554,610,623,509,477,489,486,533,1290,1592,974,551,582,735,703,800,1040,1248,1272,884,1272,1162,1220,1332,1214,1052,1282,1550,1310,1110,1330,993,760,546,422,403,390,388,588,903,1396,1330,870,874,1086,1392,1226,991,797,598,722,591,949,1128,1050,1136,1280,1102,1376,1562,1638,1606,2054,1902,1390,1314,1432,1410,1338,1516,1568,1450,1312,1208,1666,1772,1334,1488,1488,1732,1838,1518,916,711,818,854,773,782,884,873,981,853,647,958,1034,594,384,521,819,1198,1274,826,526,427,394,389,389,752,742,659,903,990,1202,1352,1220,1044,1304,802,512,502,763,784,612,466,345,354,332,367,410,666,1114,741,386,393,483,1066,1160,628,536,588,397,428,412,490,736,953,866,1007,1460,2036,1908,1088,659,649,898,1038,877,1005,1066,1236,1154,735,1092,1346,1060,760,651,789,1124,1114,486,434,447,543,902,1160,941,1048,922,835,1166,960,717,1172,1764,1750,1204,1028,694,741,1032,1072,792,548,372,329,315,405,886,1170,604,348,343,1012,1382,1142,852,539,451,882,1056,629,676,702,480,741,1009,813,858,1042,1110,1574,1504,837,682,744,901,645,407,772,785,659,618,619,619,811,980,1126,1306,1186,1478,1470,1478,1182,956,1090,1070,1044,1028,844,844,896,708,568,480,456,630,630,743,1176,1190,1124,1174,1190,810,599,733,764,969,1120,1224,1226,1142,738,507,507,541,538,510,506,411,369,653,770,385,342,490,571,1074,1262,1314,1366,1234,1160,1080,1204,1284,1076,999,741,722,714,795,859,658,604,774,1052,1070,661,616,642,1248,1636,2136,2288,1938,1548,1232,890,715,714,708,480,563,457,483,547,520,547,542,503,573,567,445,333,300,353,396,450,454,541,1134,1410,1328,1005,995,1038,1238,1348,1324,1334,1364,1444,1386,1262,1348,1538,1548,1444,1522,1622,1536,1328,1402,1470,1510,1434,984,683,597,587,585,528,416,360,785,1032,1112,1590,1826,2400,2074,1544,1772,1726,1124,1140,780,315,324,318,291,324,384,355,387,404,397,424,375,376,441,437,505,623,476,386,374,330,274,335,350,354,412,394,369,346,325,369,403,431,480,405,355,344,393,406,426,406,416,436,404,375,333,337,318,368,494,493,558,654,698,531,1328,3332,3360,2414,3186,1888,2048,3140,3334,1984,1130,1320,1284,1072,1026,918,1032,986,923,926,1072,1124,1010,769,1172,1504,1378,1346,1282,1204,966,797,1126,735,931,915,952,1610,1504,1042,813,957,1000,836,799,761,761,730,789,1356,1266,1060,1202,1278,1250,1224,1252,1338,1312,1272,1296,1188,1190,1244,1384,1316,1168,1116,1120,1086,1068,1094,1376,1238,846,695,764,917,1122,1222,1306,1376,1420,1554,1580,1386,1174,1036,1322,1430,1354,1334,1122,947,1005,757,520,529,525,506,498,518,508,495,472,475,491,491,441,433,424,440,459,447,462,505,619,692,744,775,760,818,1080,1388,1426,1500,1426,2122,2866,1592,1642,1546,1594,1005,836,797,781,907,922,1088,1134,1100,1200,1252,1578,1584,1508,1404,1380,1366,1162,1256,1528,1370,949,799,930,1204,1314,1290,1182,1138,1136,1412,997,885,1202,1250,1128,1138,1294,1410,1494,1502,1854,1490,1512,1556,1310,1136,1216,1078,980,1080,1234,1256,1214,1106,1230,1134,1088,1242,1208,1340,1522,1584,1574,1514,1322,1112,868,1316,2168,2464,2054,991,954,1418,1132,929,717,526,373,553,1005,1134,1184,1172,1476,1738,1184,517,679,740,514,420,341,544,1142,1090,757,1058,806,640,665,810,647,615,830,1108,1162,755,645,731,758,1328,1780,1238,861,722,857,927,756,1136,1836,1658,1052,611,830,1406,1216,1076,1230,949,403,263,416,1084,1560,1104,746,1106,1042,987,982,957,817,476,336,347,370,564,1002,885,401,299,339,339,440,946,1176,955,1084,1150,959,651,491,720,862,750,607,869,1076,864,602,449,399,471,476,476,488,534,529,499,698,604,546,725,809,795,637,267,332,603,981,1374,1016,1504,2142,1780,2204,2074,1246,1368,1854,1348,884,789,658,521,441,459,588,397,683,702,355,349,410,393,386,451,471,418,571,898,1120,855,529,401,354,353,324,492,693,746,608,905,852,508,567,733,818,713,612,825,1244,1500,1572,1602,1952,1504,796,603,704,946,926,631,701,704,431,483,913,1082,540,600,758,770,787,877,945,1009,1150,1314,1306,755,347,402,449,429,703,974,1040,676,838,1374,1604,1662,1674,1404,1416,933,566,675,529,874,902,1096,995,885,1146,1106,1006,969,793,443,448,416,540,676,652,584,582,653,664,669,866,949,671,405,521,1330,1980,1906,1884,1592,975,1452,2090,1888,1280,819,1088,1470,1378,1048,597,571,653,571,678,624,515,594,628,508,375,375,361,285,230,226,224,212,211,216,229,234,227,214,220,300,472,669,613,574,593,615,899,871,637,609,673,656,589,542,529,538,501,493,442,457,498,692,853,918,1098,1166,672,488,772,791,939,1082,672,903,1324,1268,1196,1310,1220,1082,938,1018,1324,1021,664,491,556,737,1270,1486,1054,674,497,454,632,1094,1058,1364,914,606,771,1346,1924,1464,1396,1408,1328,1216,972,837,717,677,735,988,1082,1216,1338,1322,1132,783,1040,1482,1402,1226,1346,1374,1332,1422,1302,900,771,525,609,965,793,413,384,487,675,896,1166,1606,1458,1312,1004,802,783,538,579,693,846,929,847,510,608,647,735,932,835,818,837,638,823,846,736,991,1504,1312,1390,1656,1272,731,737,1418,1724,1528,1322,786,501,465,473,447,824,1054,1570,1534,915,1023,1244,1132,806,858,1474,1182,897,937,1178,1484,1360,918,968,1374,1032,475,412,399,357,374,576,918,874,622,694,799,582,401,437,428,525,689,1458,1198,510,396,467,788,1476,1694,1102,646,959,968,688,463,739,1274,1744,1158,1068,1274,1260,1402,1003,644,604,459,516,568,490,428,420,345,274,339,408,436,501,644,697,1066,1548,1274,1130,1102,1104,1156,924,569,413,659,1390,2348,3010,2544,1928,2468,2678,2542,1914,1200,1058,1234,1302,951,639,590,537,608,911,1096,1674,2238,2404,1902,1236,1306,1694,1738,1898,1636,889,560,985,1602,1766,1058,967,851,599,469,418,397,331,299,321,365,521],[328,314,293,269,278,319,332,368,422,408,400,451,473,449,424,435,381,454,686,794,858,778,513,665,689,574,534,467,542,451,357,347,353,364,344,336,343,350,362,376,390,374,388,434,426,604,742,639,517,411,416,449,575,658,453,335,346,442,543,610,753,743,532,441,383,412,475,785,1666,1806,1606,1454,999,929,1720,1880,1028,579,516,364,368,452,363,414,491,514,449,464,777,1272,1440,975,449,469,660,735,745,619,673,1021,949,755,1242,1332,774,596,832,1186,1234,968,957,741,743,641,495,473,614,825,945,908,555,630,860,1238,918,999,1212,908,775,1066,1200,1180,1440,1606,1670,1938,1826,998,648,774,1322,1376,1378,1052,892,1172,1018,647,607,613,553,528,436,407,444,447,427,460,622,869,1190,1740,2072,1498,925,1130,1140,753,563,534,542,514,615,762,966,996,610,301,386,440,483,527,469,421,680,1196,1614,1866,1660,1019,907,1011,1003,552,408,400,855,1324,894,435,354,335,306,258,409,462,287,270,303,366,625,607,476,507,456,418,536,702,715,976,973,847,458,343,307,316,454,604,529,564,559,313,393,420,354,333,586,1112,1056,952,843,1042,1001,579,626,675,683,567,473,413,391,430,476,445,407,491,969,1230,808,1324,1274,745,779,739,1204,1360,1200,1528,1626,1328,1068,685,946,1110,1032,1222,1214,1294,1080,1024,1470,1358,1384,1366,1018,843,887,1242,927,908,1030,1216,1550,1032,522,669,1164,1260,710,472,424,426,491,552,497,501,539,412,449,876,857,769,803,719,563,479,436,474,491,382,350,361,304,284,418,518,886,1532,1664,1474,1220,926,789,781,993,1190,1306,1490,1574,1188,561,361,502,583,362,339,408,919,1704,2256,2702,2192,1086,608,772,969,619,642,980,1094,736,592,642,1252,1558,1096,1128,1186,807,565,802,1110,1098,992,886,931,1013,799,931,1019,988,1184,1442,1312,1164,917,842,800,647,520,422,667,987,969,1474,1686,1080,807,1009,929,934,756,836,1090,1250,1328,1164,1072,1154,1007,1136,1002,848,1154,1310,781,1007,1316,1324,1028,1126,976,996,1102,1076,1096,1294,966,550,777,975,1290,1398,1042,823,568,419,391,421,499,471,683,1260,1716,1830,1766,1011,918,1486,1238,884,1156,1128,1256,1328,1250,1110,911,889,1080,1126,1456,1742,1568,1330,1032,640,683,895,958,849,978,928,1070,1344,1446,1180,1007,919,997,1108,1096,987,1078,1212,1198,1098,1310,943,1078,1154,683,937,955,546,529,502,474,527,702,689,579,505,428,540,557,924,959,620,550,695,833,633,686,586,855,921,745,1316,1572,1242,1132,999,960,1290,1540,1388,1392,1172,867,772,590,440,384,362,397,611,1146,1504,1302,1224,1052,1218,1384,1218,1936,1696,926,647,406,401,593,725,704,1007,1007,1026,1262,1512,1716,1688,1514,1488,1532,1412,1268,1220,1294,1360,1440,1360,1444,1548,1494,1692,1648,1760,1870,1866,1638,932,589,978,882,750,598,823,1068,1080,1118,952,1116,1564,1124,368,409,462,564,678,484,336,359,430,392,462,754,655,481,369,481,935,1312,1494,1518,1664,1256,870,854,902,937,949,672,497,391,302,321,387,846,1114,564,373,433,607,1136,1003,560,699,1166,843,522,424,615,908,888,854,1005,913,1092,1176,880,816,904,783,678,713,1284,1394,1036,658,505,862,960,492,395,447,457,646,928,504,378,393,421,436,603,839,1196,1003,532,558,504,681,926,1218,1212,1438,1512,1298,1044,986,962,1050,967,589,356,373,628,1106,974,601,566,580,925,917,900,805,536,560,704,563,550,686,458,566,864,1220,1028,727,742,865,1004,677,523,757,818,1076,767,462,458,697,681,540,542,597,727,878,1250,1902,1752,1732,1576,1262,1084,1108,1192,978,753,700,800,716,537,424,410,391,456,756,736,645,790,1050,989,836,1078,1128,911,911,1396,1516,971,929,1212,1112,905,655,447,428,264,315,393,378,369,321,375,339,413,942,1078,1176,1288,1282,1084,1056,1114,1120,1208,1336,1310,1234,1034,840,696,944,1190,822,640,1066,1152,907,700,939,1104,1918,2354,2390,2504,2116,1708,1356,823,630,981,1316,913,633,489,466,465,408,465,504,546,553,465,435,406,346,318,318,464,483,839,1248,1350,1156,1078,1160,915,902,1238,1484,1562,1498,1538,1384,1346,1514,1292,1194,1274,1426,1632,1522,1356,1466,1542,1410,919,675,628,606,568,905,1074,594,917,1272,1140,1100,1448,1792,2600,1974,1090,1654,1870,1498,1270,769,320,324,330,282,310,335,341,385,375,357,337,323,359,438,474,489,521,402,339,319,232,251,299,319,360,386,348,330,305,286,320,361,367,508,466,372,389,432,436,412,388,404,384,398,390,359,355,324,331,451,508,547,684,704,514,995,2664,3548,1906,2232,1762,1674,2980,3952,2802,1346,1198,1454,1332,1162,1056,1460,1308,1196,1302,1300,1100,776,724,956,1040,1028,1190,1240,1442,1078,607,661,568,984,974,888,1450,1432,984,974,992,1106,717,658,671,783,891,933,1250,1278,1116,1148,1318,1344,1282,1258,1220,1112,1018,1060,1108,1152,1216,1306,955,693,740,760,879,996,1200,1344,1218,910,777,761,1004,1312,1444,1506,1510,1554,1722,1786,1706,1394,974,1228,1430,1478,1488,1164,944,1214,1082,633,540,516,481,463,471,478,481,473,505,507,495,502,502,495,486,462,439,417,419,455,544,597,673,730,811,964,1023,964,1136,1514,1930,2170,1674,1470,1672,1284,844,831,788,857,937,943,1046,1106,1354,1496,1426,2038,1602,1374,1328,1360,1332,1228,1130,1102,1156,1030,694,555,785,1114,1240,1220,1362,1338,1206,991,863,854,1068,1216,1098,1332,1446,1346,1150,1378,1174,1276,1582,1450,1332,1174,909,945,1256,1364,1130,1158,1292,1448,1106,1122,1170,1042,965,990,1102,1154,1416,1486,1238,1126,1470,1546,1428,1100,882,1360,1384,1144,1088,988,882,521,633,735,872,1178,1148,1250,1438,992,808,1026,1002,471,474,451,636,1046,890,836,836,796,714,670,672,444,404,584,816,858,455,462,948,960,1236,1246,920,843,866,1148,812,708,1150,1416,1340,931,460,383,469,600,799,791,554,373,360,579,1242,1588,1312,946,1112,883,738,842,926,803,542,458,371,309,420,919,982,790,554,454,336,462,1140,1364,785,760,1072,1074,1001,772,720,721,668,459,497,795,950,621,494,391,340,514,378,321,390,420,502,584,609,681,749,661,448,558,390,455,989,827,1160,2200,2292,1528,1626,1920,1810,1398,1194,1522,943,758,724,639,521,464,397,389,349,625,767,521,412,334,309,286,447,689,612,713,901,1102,817,422,447,644,809,525,465,580,688,517,1004,1054,537,594,769,631,651,947,1056,969,1622,1614,1122,1108,662,433,523,700,973,955,762,858,825,421,503,738,847,607,568,828,938,783,894,1124,1140,1180,1250,991,697,460,492,540,585,740,1112,1188,737,724,1534,1770,1512,1840,1566,1476,1058,849,894,685,860,1366,1522,879,978,1272,792,1054,1404,1007,814,795,685,633,673,639,588,581,612,514,439,460,549,456,395,514,2370,2176,1836,1718,1276,968,1126,1478,1560,1312,798,649,1018,1272,1134,799,625,658,623,521,419,521,604,621,514,390,361,306,247,241,222,218,226,215,198,208,209,216,227,285,403,571,708,578,549,587,579,637,712,705,636,672,723,596,513,483,676,625,526,515,530,511,593,1032,1188,1058,1174,891,902,1001,764,1174,974,820,1162,1508,1316,1082,1426,1250,862,850,1011,1352,1288,1088,898,982,929,1210,1338,957,625,405,346,512,626,1018,1354,1208,1176,1322,1736,1450,1140,1300,1258,1680,1736,1340,635,488,392,467,691,792,1472,1792,1278,786,905,1344,1368,1136,1168,1306,1008,783,986,1470,1284,741,362,387,412,430,436,497,605,673,761,1692,2370,1986,1354,979,888,736,747,1324,1214,727,537,437,430,426,637,644,694,664,844,929,965,1158,743,600,902,1144,1322,1542,1742,1434,777,833,1598,1570,1106,944,722,517,538,763,1050,1204,1272,1520,1136,1050,1556,1294,1510,1772,1204,892,1050,853,823,1023,1148,1136,943,1374,2198,1364,555,402,522,568,543,1110,1228,1086,1007,954,1116,1018,438,538,852,1216,816,1192,873,442,416,758,1272,1796,2102,1616,777,859,683,634,531,832,1432,1124,741,735,973,1414,1322,907,929,725,469,565,667,670,610,460,302,312,340,423,487,483,525,572,1156,1384,1366,1206,1174,1166,1186,918,488,448,517,545,793,872,792,1272,1960,1890,2232,2148,1488,1002,1118,1234,1238,932,778,616,960,1624,1636,1512,1542,1560,1232,978,1410,1640,1476,1700,1518,1134,529,549,1222,1470,1456,1250,700,473,411,415,407,327,491,706,444,503],[313,288,267,269,302,364,366,401,456,426,439,656,669,573,519,479,462,422,614,823,797,517,471,673,686,670,608,487,477,387,308,324,358,394,377,368,362,355,368,399,423,455,451,434,483,736,899,709,542,431,440,383,453,539,489,420,381,412,594,771,818,753,598,417,426,419,502,923,1342,1406,1482,1448,1248,1432,1792,1572,867,814,847,685,766,716,502,493,580,513,441,525,762,1094,1156,927,527,462,532,545,576,667,749,1142,1100,744,907,951,825,1106,1466,1398,877,703,1048,1084,863,589,547,674,850,896,785,1212,1098,847,967,1206,1186,1252,1078,592,497,963,1246,1148,1052,1202,1390,1460,1100,1062,997,1294,1460,1338,1376,1318,1468,1532,1434,1312,1274,1208,1252,774,542,562,559,414,458,607,740,887,822,1140,1578,1084,896,979,1004,747,567,556,531,540,661,860,1130,1226,902,404,545,792,928,662,363,377,607,1016,1170,1480,1480,907,644,791,791,532,401,398,927,1210,638,309,250,323,245,377,597,477,313,310,247,548,896,631,416,429,511,435,612,637,453,539,1078,1040,487,361,362,374,506,582,457,590,684,313,387,502,410,321,635,860,871,862,905,1150,1138,618,680,723,700,527,450,403,371,374,395,428,432,505,1074,1346,1003,1676,1003,502,562,671,954,893,810,869,773,940,1356,1034,1252,1346,1136,1284,1328,1058,870,1268,1616,1462,1292,1068,609,593,595,465,594,985,1058,1146,869,486,385,468,650,795,883,811,488,483,517,498,462,503,539,479,797,963,612,729,704,807,852,722,480,390,370,334,311,331,347,430,761,886,894,1188,1548,1400,1130,675,589,616,922,1092,1144,1334,1400,1160,625,463,590,582,406,561,529,597,945,1632,2024,1406,997,802,866,745,534,773,1170,890,809,863,1076,1808,1722,1208,1052,784,680,717,894,956,837,1130,1180,1068,801,529,716,1016,883,820,1320,1410,1238,862,830,1011,1034,642,395,680,1142,1246,1200,1230,1084,995,1124,871,648,605,826,1084,1212,1186,909,955,1144,1154,1218,925,1048,1488,1458,638,554,965,885,613,692,576,531,738,868,874,1350,943,856,1338,1056,1098,924,620,547,483,401,422,447,447,562,1124,1656,1770,1734,1076,860,1024,1240,903,741,778,868,1408,1178,1260,1206,873,1056,1272,1420,1698,1844,1586,1244,756,405,569,988,1024,937,1126,1068,1034,1278,1242,1152,1458,1316,860,986,950,725,1004,1018,949,814,766,488,705,705,708,1168,839,532,583,544,731,734,987,839,615,541,444,476,604,708,457,389,460,441,572,525,691,764,735,634,1498,2922,2504,1208,810,888,1302,1476,1302,1132,1158,1104,1076,1084,869,752,662,422,463,763,1334,1352,1432,1344,1244,1276,1286,969,978,773,630,604,454,430,589,725,519,712,926,919,1094,1562,1730,1648,1654,1476,1204,946,1174,1172,1098,1134,1394,1406,1532,1544,2224,2420,1888,1994,1748,1708,1856,1312,578,745,975,1026,1034,1140,1106,1166,1182,951,743,1194,954,468,735,722,738,727,604,627,575,466,572,541,634,541,432,410,463,1042,1312,1236,1356,1296,1084,1152,1226,1200,1242,962,561,727,669,416,391,479,996,983,644,695,639,901,1444,687,459,694,1038,833,593,477,536,804,949,971,963,891,1013,1204,912,1150,1206,1198,963,805,843,753,570,509,578,820,699,483,467,551,441,383,646,761,602,382,314,346,586,821,761,637,567,674,459,422,621,530,597,1028,1702,1798,1562,1458,1048,905,905,642,751,780,1186,1146,814,701,612,542,458,444,467,466,551,711,805,558,564,495,579,828,753,691,711,607,648,704,778,770,917,1114,886,927,894,635,477,567,619,575,539,597,648,868,1196,1588,1482,1244,1046,767,618,708,633,395,371,395,444,417,390,431,405,437,439,645,702,693,934,1134,986,911,1021,1018,1072,952,1152,940,879,1174,1206,951,1048,1048,543,341,290,361,361,350,490,433,359,431,764,1228,1284,1190,1182,1026,1130,1128,1062,1248,1498,1324,1302,1252,1074,1022,838,794,699,457,866,1348,1214,1248,1120,1088,927,1376,1932,1974,2058,2484,2052,1078,575,669,719,1044,1222,836,539,471,454,411,418,513,537,390,370,451,404,371,360,369,491,628,1200,1204,951,1106,1316,1202,927,838,1228,1430,1484,1602,1674,1426,1488,1262,1068,1258,1362,1504,1646,1628,1526,1472,1410,996,762,686,621,554,491,787,966,850,1296,1566,1262,1176,1280,1626,1782,1534,1432,1470,1654,1920,1344,755,356,318,293,241,287,294,320,362,386,406,367,329,382,484,500,532,469,340,299,276,252,319,361,341,346,379,342,329,333,290,248,291,379,500,517,456,440,415,400,383,362,413,394,396,371,338,333,342,347,436,522,571,737,723,602,727,2394,3042,1838,1552,1350,1362,2174,2752,2166,1404,1338,1394,1166,1166,1602,1864,1404,1136,1184,1094,750,587,756,963,1416,1502,1512,1412,1450,915,492,393,424,837,987,859,1300,1478,1048,1198,997,1182,874,1046,905,785,873,1026,1374,1388,1094,1250,1476,1336,1208,1032,941,913,965,1100,1300,1224,1214,1328,998,610,673,850,927,1078,1248,1498,1512,1034,750,661,902,1366,1556,1504,1490,1564,1560,1780,1576,1108,847,1374,1784,1968,2132,1710,1068,1098,928,604,547,544,501,445,438,455,457,479,487,489,494,503,515,502,509,489,451,428,432,407,393,430,476,528,603,673,739,772,802,997,1216,1506,1620,1698,1790,1246,880,849,818,945,926,1080,1388,1294,1440,1434,1268,1250,1236,1318,1338,1426,1488,1266,1116,1150,1282,1222,1142,1064,1044,1278,1090,974,1286,1538,1508,1498,1368,956,918,1086,1230,1382,1322,1122,887,1064,1080,1032,1210,1174,1416,1348,1142,1234,1288,1288,1150,1134,1440,1434,1204,1212,1196,1106,1122,852,694,827,846,695,1232,1432,1310,1348,1368,966,948,1262,1038,1110,943,1244,1006,774,783,529,540,669,666,684,752,1098,1670,1350,1148,651,543,443,440,610,843,742,664,1028,1182,765,596,436,386,667,881,762,655,652,1294,1326,551,499,579,682,521,661,499,537,970,962,875,864,684,707,650,606,888,807,494,325,359,618,865,934,893,916,980,665,471,868,1252,946,562,486,897,1046,723,877,1258,1344,933,444,366,484,599,744,848,580,832,1158,1118,711,480,422,518,565,516,706,1036,946,686,444,278,394,414,483,451,399,507,634,759,778,791,691,486,805,673,651,1074,1066,1482,3210,3320,2204,2500,1908,1434,1454,1002,972,681,622,624,570,626,620,521,489,476,659,691,484,801,531,343,420,688,825,767,774,1106,1460,1136,373,332,578,947,1042,599,778,855,444,854,997,564,588,577,437,612,1442,1432,719,872,762,511,625,603,668,741,560,484,752,977,843,854,614,825,969,847,863,655,716,1330,1276,971,1582,1398,935,1009,1266,1228,693,637,921,691,650,963,1184,956,866,1266,1332,1360,1858,1708,1288,1072,952,709,816,1138,1434,1328,854,846,844,677,1436,1602,890,1132,900,581,548,532,568,616,641,537,446,387,364,393,399,409,468,1536,1686,1410,1028,688,622,543,689,1018,1072,723,785,680,670,1088,1296,1120,677,563,584,446,535,587,563,535,451,315,222,236,233,222,217,208,208,217,215,215,223,306,409,602,821,782,649,536,532,547,523,552,639,645,653,785,816,767,946,1278,807,593,912,908,525,587,1008,903,673,741,1134,1338,1184,1262,1230,898,857,1036,1280,933,963,1354,1296,591,775,1090,1134,1082,1358,1516,1222,1148,1544,1500,722,376,421,660,860,709,706,842,1026,990,717,778,911,962,1026,941,1598,1516,950,566,478,468,547,577,1048,1734,1544,824,566,980,1570,1216,1110,943,860,650,912,1582,1606,1278,1144,541,351,363,412,670,1998,1850,919,696,1222,1622,1450,1178,1296,1002,745,764,1050,1274,877,625,513,707,922,760,623,628,721,1064,979,1036,1023,755,843,1042,844,972,1378,1708,1394,761,766,909,672,728,761,717,738,865,1066,1364,1498,1240,938,910,1102,1268,895,1222,1470,1242,1344,1840,1344,886,1108,1044,1076,885,1244,1894,1060,469,401,919,1286,827,890,1036,974,1076,1160,1240,1314,507,570,1138,1594,1056,648,469,370,577,987,1140,1500,1686,1346,753,847,940,718,545,872,1076,717,652,623,604,1026,1026,1088,1360,697,369,483,953,1378,1332,948,975,878,614,487,563,574,599,640,1166,901,758,1166,1300,1080,1164,735,381,504,501,608,896,657,561,725,1218,1672,1920,1986,1412,764,841,933,1388,2020,1528,1026,1009,1262,1242,1434,1498,1352,1466,1334,1368,1296,945,852,1188,1302,869,626,1092,1001,839,716,568,579,523,345,333,429,604,769,566,652],[328,337,424,404,368,393,367,392,495,545,484,623,639,526,479,474,570,514,509,712,843,574,496,657,683,711,624,512,452,363,313,334,368,432,428,420,392,368,380,409,429,448,455,462,569,904,1009,725,515,356,389,418,539,653,605,457,381,383,463,594,633,633,516,367,433,419,667,1078,1212,1378,1540,1468,1420,1454,1242,969,550,742,1126,1007,1005,854,528,543,746,667,521,787,899,1030,1016,977,784,667,647,655,897,1166,1274,1578,1328,978,776,888,1268,1628,1418,1256,948,655,859,1122,832,761,1116,1204,1174,979,1012,1478,1266,1302,1344,1222,1180,905,609,331,495,1106,1020,589,614,873,1038,1142,1170,1230,1328,1534,1488,1464,1396,1378,1534,1698,1656,1300,1222,1264,1050,735,481,648,784,606,790,844,783,648,717,827,799,747,902,1056,1158,976,651,509,456,482,609,1021,1184,1114,1028,551,384,548,673,523,285,264,382,830,1576,1914,1690,1464,1040,891,883,882,764,635,962,1132,521,362,287,263,301,594,672,502,380,402,389,602,1064,1272,929,409,426,433,901,962,772,792,1368,1148,531,516,576,521,522,683,748,789,590,477,470,475,433,350,367,380,397,509,627,793,830,547,563,569,550,437,403,419,367,350,415,449,416,529,813,860,1296,1670,927,580,566,512,541,653,714,567,561,645,985,1058,1206,1036,861,1144,1570,1358,1190,1506,1252,1056,1620,1426,1028,930,1005,1028,1010,1015,1346,1210,713,693,710,487,513,644,1005,846,543,466,474,478,532,570,422,466,872,631,605,942,946,857,844,868,762,603,397,300,240,282,372,562,1166,1366,1102,795,624,926,919,594,459,761,1140,1230,1656,1732,1394,940,794,856,694,499,445,610,557,453,510,803,1022,1148,1232,1206,1240,860,677,1248,1560,1176,800,904,1606,2020,1770,1062,756,545,754,1068,1192,872,753,961,951,951,735,417,521,895,815,795,2060,1808,1000,898,1256,1686,1482,758,403,627,1132,1274,1306,1250,1176,1140,1164,977,848,711,1015,1316,1008,700,637,697,978,1472,1224,756,949,953,670,454,519,690,703,962,992,653,501,511,740,648,738,847,1104,1354,921,601,607,692,844,850,445,417,440,467,932,1548,1812,1888,1364,766,748,1260,1516,1074,1256,1408,1490,1224,986,1011,955,999,1202,1392,1522,1672,1672,1386,1178,713,556,694,1124,987,1182,1300,1252,1186,1120,1196,1268,1428,1332,1164,1620,1132,705,954,1506,1428,682,386,369,408,522,903,1120,1046,1021,781,737,1314,1786,1606,893,576,648,469,481,574,735,651,1086,1019,592,462,502,711,957,971,592,1042,2382,2494,1208,517,503,859,1390,1246,1112,1170,995,1056,1164,644,751,927,531,531,654,873,885,1248,1356,1296,1414,1566,1202,646,874,838,708,500,455,594,848,725,947,951,976,1192,1354,1614,1704,1754,1478,1050,1364,1414,1224,1134,1222,1328,1556,1682,1672,2022,2282,2090,1920,1656,1578,1362,955,539,568,636,732,936,748,710,1188,958,802,533,761,547,674,1384,1174,787,842,929,1068,1146,990,1036,758,487,473,394,565,861,1194,1226,1244,1298,1172,566,467,641,734,863,813,579,778,902,1138,967,1038,1540,1242,741,707,692,1134,1266,536,403,548,694,662,549,411,439,618,638,736,878,953,968,1002,912,1278,1410,1400,1264,1032,736,515,464,589,834,741,526,503,405,597,736,639,455,714,937,837,576,526,464,461,513,686,683,1086,973,717,544,440,588,1152,1920,1788,1542,1214,1184,1256,834,631,884,1060,1216,1304,1206,873,574,397,322,327,365,382,522,802,596,550,540,330,405,524,433,378,414,399,763,903,792,873,1234,1212,786,622,503,458,487,487,643,652,813,644,756,737,657,830,843,659,513,497,440,405,401,371,376,363,367,403,427,509,550,451,384,535,623,551,601,732,709,611,530,569,960,875,921,1128,1156,1320,1454,1232,963,1068,819,437,381,476,491,393,495,486,554,843,1068,1198,1086,946,951,1106,1404,1304,1140,1150,1348,1144,1258,1334,1248,1046,670,493,524,749,1302,1166,1124,1472,1380,1100,725,747,1230,1610,2034,2154,1196,753,605,713,644,480,914,1044,628,362,452,449,419,462,444,416,412,487,446,453,509,453,439,933,1294,957,934,1078,1298,1106,1021,902,1174,1414,1484,1384,1202,1298,1340,997,1046,1212,1344,1422,1470,1520,1590,1488,1136,1040,910,622,632,808,631,510,893,939,1128,1572,1442,1250,1266,1360,1376,1454,1310,1011,1234,1666,1286,658,372,341,336,320,348,339,355,382,352,367,394,351,380,380,415,514,440,301,304,323,304,333,348,344,313,356,337,321,331,299,269,294,363,472,477,444,455,399,332,348,392,450,422,387,381,367,354,363,373,439,530,610,847,647,532,538,2434,2958,2314,2288,2344,1926,1698,1554,1366,1220,1406,1418,1130,1090,1876,1986,1306,1248,1650,1874,1610,892,792,789,1292,1328,1424,1522,1422,840,469,416,397,659,869,810,1134,1524,1146,1274,988,1110,1112,1172,840,638,868,1202,1648,1626,991,913,1050,1082,1154,1104,1132,1230,1268,1304,1426,1230,1164,1300,1240,1272,1234,1176,1052,1182,1404,1738,1626,1152,806,650,866,1428,1566,1360,1246,1258,1342,1694,1426,1442,1802,2242,2596,2750,2666,1968,861,670,575,513,488,572,532,443,429,457,457,429,444,498,486,473,489,455,421,427,427,422,420,421,431,415,391,414,435,495,547,621,691,735,832,1152,1366,1522,1686,1756,1644,1216,1064,933,962,1322,1262,1396,1368,1212,1210,1324,1516,1594,1452,1442,1468,1136,950,1086,1226,1042,1150,1216,1232,1288,1068,939,1072,1360,1482,1454,1266,1268,1260,1106,1298,1324,1226,1266,1238,1124,1007,764,1028,1118,1432,1572,1598,1412,1374,1434,1196,1286,1456,1144,995,1072,1104,1182,1256,938,1384,1462,1112,955,1282,1486,1332,1310,1274,809,861,1170,824,963,839,1044,821,700,485,348,439,399,363,563,703,954,1572,969,725,738,839,813,592,593,756,607,558,899,1078,887,1058,912,794,901,1730,1942,1396,917,1214,1488,495,401,399,492,661,850,653,433,734,1056,1240,970,852,1336,1192,600,697,605,401,494,533,613,558,538,748,1001,1021,794,587,1266,1492,971,640,469,875,1338,1078,759,1178,1368,1172,650,410,473,373,529,1024,786,600,955,1130,817,575,641,807,373,426,761,936,965,858,554,365,420,560,689,555,336,337,456,652,609,553,469,461,692,606,499,633,649,1328,3384,3270,3470,3784,2438,1912,1866,1126,761,611,458,435,570,793,799,696,781,800,817,714,716,1036,685,407,462,596,695,547,638,1060,1390,1054,329,301,552,1260,1272,616,791,937,524,429,495,439,678,855,901,682,1009,756,310,294,412,521,763,1001,888,749,382,337,683,1068,1072,976,796,1032,1330,1182,1342,1136,688,1392,1544,949,1284,951,722,968,1328,1140,637,673,807,536,547,785,838,875,1140,874,607,661,871,929,919,886,734,632,963,1138,879,1206,1366,924,683,705,1388,1252,890,1000,753,489,408,426,502,548,558,409,468,492,451,424,455,478,525,1122,1494,1030,532,435,498,534,489,635,763,963,1120,754,442,521,910,1182,1034,688,480,409,407,453,434,494,456,320,255,264,254,238,221,220,212,229,214,210,322,469,518,628,704,812,882,850,850,605,465,501,539,569,559,833,1011,868,1206,1232,643,799,959,748,611,901,1164,1258,1194,996,867,1048,1364,1346,995,791,749,883,794,708,1013,1270,1058,623,792,1170,1236,1142,1236,1460,1510,1672,1578,1424,584,447,540,816,860,836,903,799,582,551,614,894,1086,883,727,840,920,1040,976,645,391,592,950,1158,1386,1202,895,455,459,871,1532,1540,1572,1432,973,576,719,912,653,702,1128,768,381,330,464,836,1472,1128,692,896,1032,971,995,1040,926,532,554,717,731,1170,1118,765,557,670,776,622,522,654,1066,1240,947,860,937,1082,1248,971,705,732,952,1312,1120,750,761,719,628,667,599,665,918,1052,1180,1354,1130,816,725,837,1240,1242,1126,1386,1226,1218,1738,1998,1648,1414,1306,803,661,453,568,738,433,354,683,1520,1742,1094,808,839,1076,1136,911,530,438,399,572,1632,1898,1238,684,382,373,572,790,1116,1856,1834,954,633,811,796,634,581,949,1492,1300,673,414,511,982,1290,2276,1642,619,391,785,1560,1850,1492,1584,1784,1148,637,513,520,548,564,780,1106,673,552,1336,1272,775,1028,834,583,614,803,1030,1004,686,570,697,1110,1426,1808,2020,1686,832,783,987,1512,1890,1584,1406,1108,808,801,1032,1140,1170,1578,1736,1634,1228,885,848,614,645,681,830,1376,1158,615,546,664,620,509,293,275,307,342,404,396,527],[631,494,835,761,841,620,423,440,463,438,459,574,527,472,515,600,834,780,681,806,920,686,523,513,466,531,537,491,451,397,367,367,364,428,438,426,409,388,378,346,338,418,426,434,516,1026,938,630,514,608,520,449,697,778,469,410,344,379,387,480,516,518,422,339,402,440,703,1098,1156,1176,1404,1484,1396,1500,1192,857,698,896,1138,1110,856,607,562,479,747,905,760,803,838,808,645,788,887,705,534,714,1362,1538,1390,1512,1476,1160,1040,1040,1020,1102,1036,1188,1304,937,734,839,629,792,1270,1444,1390,1272,994,1005,745,709,748,681,597,440,387,312,433,985,1023,818,828,915,1202,1368,1252,1354,1570,1526,1202,1338,1144,1080,1368,1438,1218,836,953,893,828,897,609,772,1160,1068,1118,764,530,531,648,617,532,781,1116,1030,882,1012,860,1146,1238,973,879,852,925,1092,1026,547,288,284,307,338,386,379,462,1030,1690,1754,1432,1372,1542,1488,1294,1406,1352,1304,1186,1214,1070,871,633,560,587,758,719,422,351,435,397,537,878,1152,753,496,458,844,1292,1386,1390,1252,1310,1326,1088,995,969,991,1158,1308,1214,1102,1108,965,759,637,495,384,337,371,388,414,428,523,404,370,350,367,566,625,349,318,377,410,422,438,481,619,502,960,1592,1198,596,559,625,611,554,528,587,452,425,454,666,1144,1244,1106,1236,1466,1314,853,997,1218,791,563,1028,1028,1003,1108,1108,1372,1178,753,1021,1001,728,838,1082,630,505,584,688,541,424,484,522,487,455,521,485,675,1078,905,584,874,998,951,873,652,630,637,628,451,346,355,434,684,1046,1190,985,785,833,1144,1302,1094,814,1470,1676,1076,998,608,576,943,1064,857,714,536,440,463,394,458,752,868,949,1316,1346,1230,1198,797,746,1322,1958,1720,969,1256,1760,1742,1438,1132,881,738,696,905,1244,1128,926,947,1106,1224,839,458,436,572,497,732,1046,1042,1410,1110,990,1364,1346,707,426,746,1672,1460,952,833,1012,1114,973,1008,1114,902,905,1120,761,423,814,1136,879,1240,1362,1040,771,582,487,507,607,520,524,939,835,445,462,434,818,976,621,612,929,1032,929,736,648,943,1218,1296,808,499,419,752,1370,1772,1846,1488,839,688,883,1670,1792,1372,1756,1742,1516,779,523,592,594,667,965,1274,1372,1616,1464,1338,1220,960,930,1112,1256,1114,1108,1340,1638,1244,818,830,1032,1400,1332,1236,1330,882,824,937,1072,1088,842,572,407,386,520,962,642,691,861,905,986,1556,2084,2066,1360,709,893,609,495,452,662,1090,1554,1182,784,722,628,525,737,1126,753,552,654,1194,1312,703,442,805,1172,1286,1336,1274,1166,1218,1118,659,825,1238,780,548,551,728,969,1130,1332,1510,1420,1316,1112,771,1001,1140,1028,577,593,634,649,998,979,386,722,1300,1262,1488,1392,1598,1564,1428,1624,1340,1148,1268,1384,1172,1058,1352,1634,1680,1696,1720,1768,1752,1432,1160,722,405,415,376,461,761,1082,1134,1136,802,604,690,676,409,761,1116,927,648,614,839,991,1382,1528,1232,874,910,747,470,683,1124,1360,1426,1232,1140,1160,492,370,348,352,438,429,789,1252,1366,1366,1296,1260,1676,1426,623,660,697,1446,1196,582,458,592,1006,1016,560,417,452,453,393,429,464,567,565,544,808,1366,1398,1280,1100,867,784,632,571,834,977,644,486,576,561,885,1344,1206,752,536,612,762,1092,974,618,412,428,563,574,1046,1454,1510,1050,645,647,622,661,852,786,1102,1426,1352,1170,1098,1104,950,852,913,1080,1298,969,890,501,354,387,292,338,387,374,650,572,393,487,616,387,347,314,433,1030,1180,963,702,858,772,634,587,469,435,474,484,721,1070,1166,1016,1078,688,398,450,479,403,388,487,417,394,343,384,496,636,560,435,413,510,558,466,460,568,565,487,480,512,512,439,485,487,764,918,1052,1064,932,1120,1298,1184,1066,1232,1578,1048,677,608,592,525,521,625,1042,1226,1666,1406,1152,830,1112,1428,1336,1242,1094,1444,1526,1286,1914,1682,1246,929,644,832,1194,1190,1194,1092,1408,1624,1400,1192,996,847,828,1148,1586,1094,650,693,518,533,750,783,861,1023,1070,728,528,493,418,350,413,479,480,454,422,457,470,392,720,1326,1156,1006,944,1186,1192,1036,1222,1294,1152,1346,1636,1554,1376,1282,1090,1208,1140,807,1074,1194,1190,1306,1444,1332,1222,1024,728,655,963,1638,1184,1184,1624,1028,831,1398,1510,1354,1100,752,720,875,886,1054,1086,1182,1252,716,455,469,337,315,348,401,440,403,375,393,401,443,502,475,466,417,356,323,362,364,323,325,369,350,313,321,328,324,333,333,338,334,345,429,461,451,495,397,287,319,373,428,422,406,374,332,369,375,372,447,645,726,868,631,506,541,2272,3818,4078,3974,3432,2618,1696,1306,1114,922,1268,1418,1140,892,1504,1722,1298,1518,1920,1964,1834,821,605,879,1416,1350,1292,1352,1266,921,573,386,399,589,699,733,1016,1524,1188,1184,1010,1374,1522,1294,1060,692,886,1144,1574,1686,1062,1088,1202,1234,1280,1312,1342,1422,1490,1764,1842,1156,1058,1180,899,1074,1296,1180,1224,1544,1810,1736,1408,1072,873,818,1512,1958,1508,1256,1036,963,949,1400,1694,1582,1454,1488,2154,2674,2664,2116,880,622,559,531,469,516,539,465,433,448,459,441,450,483,486,472,445,446,429,421,422,423,414,397,413,417,379,396,419,434,441,473,464,572,689,772,890,1054,1216,1428,1712,1888,1720,1464,1248,1192,1190,1350,1288,1226,1218,1392,1588,1680,1852,1404,1372,1462,1274,1088,1140,1190,1214,1074,1318,1522,1212,1106,1312,1636,1390,1100,1262,1506,1398,1340,1476,1472,1276,1178,1288,1276,1134,929,1342,1374,1122,1290,1558,1548,1532,1368,1136,1258,1304,1272,916,901,836,1005,1056,880,1628,1614,1206,1236,1430,1396,1356,909,725,837,1236,1172,800,596,568,709,593,523,525,394,392,328,282,474,530,470,521,627,583,538,716,916,590,399,568,626,686,680,574,744,982,1382,1218,917,1526,1780,1156,885,1030,1028,352,298,465,510,441,905,1128,912,1194,1764,1738,1078,547,852,896,536,538,680,550,653,575,460,475,542,1060,1372,976,991,569,926,1021,611,633,555,347,532,426,537,1116,1258,1608,1040,478,378,323,397,504,633,614,693,1116,1064,682,876,1034,457,498,976,1190,788,705,780,603,540,671,602,546,289,255,369,389,452,541,589,517,353,377,538,683,769,996,2576,2408,3670,3366,2988,3272,2374,1750,1660,811,463,461,469,589,642,563,677,732,865,764,901,1078,692,459,576,743,745,372,638,672,840,711,485,402,544,1232,1028,421,442,600,704,666,406,519,966,1534,1460,756,531,399,345,446,655,768,856,929,621,644,443,343,772,1256,1118,840,558,771,1256,1212,1434,1200,547,855,717,455,542,551,675,787,797,852,562,589,1004,658,484,700,552,670,1358,811,410,470,684,1007,1134,1023,979,822,836,1192,1011,1256,1164,897,690,577,689,783,874,791,645,478,369,390,447,422,439,434,430,435,435,370,450,524,648,981,996,610,397,384,440,573,713,891,985,1196,1230,919,601,470,571,621,799,1144,951,650,415,348,343,357,345,340,338,294,245,204,202,227,226,209,243,365,507,594,637,564,459,625,832,971,886,706,625,579,528,506,533,685,713,843,1318,1028,841,957,669,536,697,1036,1076,1214,1400,999,467,702,1174,1048,1336,1188,748,666,446,643,1170,1284,1050,879,1018,1418,1342,1214,1138,1164,1230,1116,1278,1084,974,736,445,424,543,713,842,969,580,403,444,788,857,996,781,752,834,1020,942,566,566,821,963,1396,1222,1194,960,505,563,1012,1400,1516,1480,1212,1294,908,554,564,554,660,954,839,741,644,645,939,1038,825,628,820,863,754,750,735,435,358,451,795,1072,1190,1112,836,521,523,540,737,567,532,592,726,1104,1236,1268,1392,1328,1200,1226,1098,775,783,727,690,627,533,545,536,505,815,1236,1284,1198,1450,1040,810,849,566,746,1092,1232,1424,1100,846,985,1210,1380,1238,773,558,704,711,448,362,425,425,545,998,1270,1226,1208,976,1542,1344,844,469,477,474,496,940,1084,860,682,586,553,682,803,1418,2354,1858,932,807,1082,1206,926,821,1386,2106,2060,1342,843,730,1072,1666,2404,1266,514,492,992,1620,1432,1372,1674,1186,730,525,474,513,474,434,990,1172,530,653,1212,919,887,989,1490,1252,1168,1938,2082,1224,558,622,862,942,1186,1980,2154,1732,1130,1134,1074,1150,1368,1278,1288,1564,1432,1034,780,902,1176,1342,1400,1472,1394,865,673,621,482,601,1326,1742,1178,793,463,473,489,448,383,326,291,403,632,612,525],[665,618,1046,1208,1536,1122,667,685,626,581,612,797,675,498,904,1180,1210,837,745,738,727,622,528,561,407,451,491,453,425,412,391,374,339,363,389,391,403,404,383,326,294,311,323,418,637,1262,983,422,539,933,793,458,550,534,288,306,321,374,414,516,551,470,355,272,400,612,651,888,1230,1312,1268,1366,1360,1404,1260,1032,1032,957,866,1124,1118,877,725,867,1082,1202,990,845,944,772,543,800,928,639,458,862,1710,1782,1498,1628,1896,1570,1220,1150,1058,945,1078,1128,897,800,774,693,658,631,836,1068,1170,976,559,462,438,424,381,330,321,312,323,304,383,616,879,868,886,1102,1228,1348,1396,1566,1658,1404,1274,1100,1082,1268,1470,1494,1164,700,578,514,522,722,768,1078,1240,965,819,731,651,957,1342,1430,1142,824,1021,981,869,1160,1472,1844,1686,1440,1368,1017,901,1144,1126,705,526,328,291,377,516,689,789,1136,1034,741,758,1186,1798,1650,1516,1510,1434,1298,1106,1120,885,765,832,751,755,1005,886,563,642,678,617,749,737,1036,993,921,855,1144,1402,1400,1294,1174,1160,1178,899,839,796,737,661,535,505,615,736,915,1138,997,832,478,382,343,353,385,440,502,425,338,321,344,637,906,545,455,379,400,391,425,420,533,535,1148,1616,1072,619,583,585,579,545,498,590,586,467,398,630,1050,940,662,1038,1180,905,982,871,661,491,482,995,1054,779,952,1170,1218,1200,993,1015,1130,1102,1108,918,593,511,560,584,554,607,659,594,436,410,462,614,1150,1648,1254,833,1114,1184,1046,775,434,359,387,511,532,435,365,371,330,592,583,537,814,1078,1180,1374,1494,1406,1454,1632,1030,550,412,478,698,630,539,543,470,425,419,451,455,685,803,1246,1506,1220,1278,1596,1052,610,919,1642,1900,1620,1990,1980,1348,972,1144,1030,710,486,614,885,804,587,615,1086,1130,965,531,386,603,645,786,728,1122,1210,600,664,1078,1344,982,670,1122,1430,1226,1142,890,1016,1206,1078,1160,1276,954,676,922,1090,886,946,1312,763,733,1192,1228,998,901,1032,727,476,412,383,411,376,400,423,363,800,1076,675,475,691,883,1130,949,620,1026,1532,1446,851,485,636,1180,1734,1902,1542,921,790,767,1088,1590,1400,1100,1456,1576,1150,680,628,534,641,836,1009,1274,1446,1682,1422,1490,1768,1520,1254,1222,1218,1138,1058,1190,1288,1084,1002,940,1013,1428,1292,963,1070,1342,1384,1216,910,1158,1280,999,709,630,894,801,514,534,750,637,680,1116,1374,1528,1172,847,775,866,758,608,954,1580,1380,807,771,690,564,916,1128,1620,1288,675,655,1114,1228,862,708,999,1003,1100,991,1124,1190,1274,978,754,818,1164,1050,607,335,620,1034,1006,1142,1300,1392,1196,965,965,1038,1220,803,448,518,761,888,934,691,426,883,1362,1430,1196,1178,1316,1482,1606,1324,1072,1200,1300,947,691,738,1007,1208,1206,1436,1652,1660,1636,1450,1134,762,627,633,601,544,572,918,1314,1346,1196,962,894,669,590,828,822,749,498,451,781,1004,938,906,908,706,874,955,751,655,984,1524,1692,1394,1418,1212,728,473,405,574,601,497,606,969,1050,1158,1194,980,1288,1248,545,467,527,1218,1264,871,713,796,1034,796,455,401,396,361,405,434,413,397,488,555,832,1180,1414,1604,1398,1108,659,627,850,780,712,792,771,711,653,917,1412,1256,700,601,1072,839,750,937,959,763,652,717,727,860,1098,1286,1088,844,1010,819,753,604,695,1206,1356,1276,1376,1226,1130,1408,1390,1138,940,848,886,1036,870,813,611,371,342,349,510,741,694,639,730,1060,833,471,351,414,773,1100,976,805,962,632,638,562,501,514,524,538,761,1232,1058,825,689,494,379,356,355,355,378,437,582,689,473,362,543,667,552,491,534,488,397,404,461,522,586,578,497,412,393,434,454,489,676,858,1148,1104,1001,1013,1180,1216,1252,1372,1470,1262,969,730,715,514,530,847,1320,1124,1242,1292,1252,1206,1388,1290,1340,1356,1130,1210,1262,1214,1966,1912,1296,968,968,1304,1430,1200,1114,1140,1034,1076,1268,1348,1472,1472,1064,897,791,567,438,319,246,317,434,551,707,700,901,1284,897,590,367,378,395,374,454,515,414,402,450,758,1270,1274,991,1048,1140,1154,926,1122,1340,1316,1334,1280,1300,1502,1496,1364,1174,1328,1198,729,1066,1460,1512,1430,1244,1292,1428,1266,876,658,1202,1766,1354,1190,1502,1448,1470,1674,1588,1550,1262,886,539,510,602,741,1068,1188,1220,833,689,659,341,252,382,528,476,419,508,550,479,440,405,362,273,234,292,339,396,335,314,331,395,372,307,278,309,298,321,344,328,334,332,409,500,475,451,418,379,347,338,364,384,377,354,322,365,378,374,460,738,733,742,625,468,462,984,1390,1376,1522,1658,1412,937,680,668,608,1026,1332,938,599,965,1186,1046,1330,1706,1824,1896,1102,550,711,1288,1600,1414,1266,1224,907,625,381,385,527,650,685,930,1388,1272,1050,973,1316,1502,1318,1144,665,826,1130,1530,1676,1176,1188,1334,1386,1484,1542,1558,1582,1516,1578,1572,1222,1005,985,531,705,1194,1202,1250,1594,1666,1558,1584,1330,973,1044,2208,1958,1476,1508,1246,999,927,1492,1700,1094,1426,1916,2212,2424,2344,1854,880,559,575,556,469,479,513,455,422,430,469,492,506,504,486,451,433,480,477,461,445,441,430,425,405,429,405,405,408,427,448,427,395,411,476,538,604,739,789,901,1072,1328,1570,1794,1742,1470,1360,1354,1284,1342,1510,1300,1290,1288,1450,1626,1290,1514,1426,1198,1294,1404,1394,1216,1490,1424,1196,1140,1988,2282,1372,1134,1328,1440,1296,1232,1414,1594,1496,1218,1016,1078,804,830,1208,1102,967,1106,1244,1394,1560,1348,988,1060,1017,1088,997,854,689,874,901,831,960,994,828,973,1246,1356,1510,1252,1100,928,1072,805,779,960,969,812,510,423,435,394,375,320,284,484,634,741,750,714,708,567,531,937,669,317,474,634,951,797,591,763,1010,935,667,532,765,881,756,896,1256,885,426,393,697,778,485,785,1128,957,1338,1954,1820,1358,603,527,668,654,453,519,582,503,363,362,497,596,1070,1400,1100,932,532,455,639,490,394,407,454,497,417,427,828,1284,1726,1328,765,500,372,426,488,538,600,595,963,1264,1018,1066,1020,680,773,1392,1606,910,487,728,767,480,342,382,480,310,285,392,484,475,504,708,740,686,402,467,395,546,502,1430,1714,3598,3362,3420,3764,2150,2482,2332,1192,623,509,535,775,825,520,411,374,662,730,609,529,358,403,564,1048,1370,594,703,617,612,872,1222,1076,678,604,535,509,900,870,1468,1502,862,906,1290,1636,1146,601,591,518,545,684,906,1032,935,651,564,639,525,422,825,1194,821,720,651,545,766,779,841,603,537,681,528,615,1070,1122,896,825,1036,1296,822,397,575,534,350,513,533,781,1286,824,448,691,807,1002,1428,1372,1152,1190,1248,1376,1518,1648,1222,775,580,440,451,559,636,501,446,396,368,514,518,456,456,469,394,396,466,351,391,431,521,688,653,605,568,626,630,765,960,861,891,1060,1242,1102,827,750,750,681,730,828,1210,1188,730,309,312,318,326,348,338,300,279,264,281,251,220,249,361,478,576,688,755,570,543,566,861,1036,984,886,724,610,659,664,612,628,671,995,1462,950,1016,865,496,521,575,528,638,1078,1222,803,621,988,1009,933,1646,1520,1080,645,425,450,861,911,738,702,828,1330,1342,1098,799,708,911,898,906,998,1244,1180,819,686,663,733,646,537,468,430,598,1134,1222,1200,930,910,1250,1286,1114,795,1114,1344,939,1026,1018,1066,698,403,493,972,1106,922,791,685,1586,976,728,899,770,802,1092,1058,1084,1134,852,738,905,777,684,711,935,1162,1422,905,408,347,517,771,888,1202,1226,988,880,795,1006,920,589,641,582,1001,1472,1096,879,1084,1450,1322,1622,1244,868,745,574,553,565,541,581,631,904,1266,1382,1258,1036,1238,671,692,901,775,741,793,857,773,576,583,761,1210,1318,1112,1021,1036,998,744,536,503,498,658,796,814,808,1090,1552,1340,1124,981,918,886,778,633,605,568,621,591,648,640,604,844,827,915,1454,1160,785,824,987,1312,1008,727,1152,1744,1964,1686,1626,1528,1400,1028,667,441,511,681,775,826,975,1562,1106,521,523,475,393,472,468,532,892,738,440,703,890,824,904,930,1678,1376,1672,2416,2036,823,584,601,692,658,858,1246,1250,894,896,788,473,470,777,966,1108,1344,1224,1140,872,805,954,982,1090,1050,962,1028,982,515,596,1076,1694,2052,1598,1240,956,745,529,431,397,383,499,655,786,763,825],[814,850,1138,1222,1020,865,1296,1576,950,691,667,1262,939,590,1156,1516,1330,1021,692,679,929,858,658,632,468,463,456,419,410,401,378,372,340,328,368,385,404,402,380,328,291,298,367,447,700,976,691,299,511,1040,860,484,394,368,397,349,343,368,431,505,498,453,375,266,390,649,719,818,1416,1568,1192,1098,1032,938,988,910,824,807,877,874,907,852,764,895,991,1042,1028,1090,1064,759,580,814,858,538,476,889,1560,1892,1616,1692,1636,1350,1276,1340,1396,1214,993,1018,953,962,853,694,610,476,631,1056,1538,1280,688,443,414,385,352,349,350,333,292,306,320,566,858,647,845,1220,1200,1576,1532,1514,1606,1322,1622,1660,1484,1536,1454,1500,1334,879,493,485,701,798,982,1192,874,532,579,945,1024,1068,1300,1974,1780,1238,1532,1100,846,1262,1146,913,767,558,423,508,847,1162,1344,1184,1132,783,653,791,855,1058,1208,1246,1138,767,692,983,1168,1178,1264,1482,1220,824,1128,1526,1466,918,400,287,464,813,958,885,796,778,830,896,864,871,833,832,796,799,783,722,630,792,942,1482,1386,891,502,444,432,402,376,415,439,454,438,682,828,948,630,463,380,401,513,562,486,490,442,390,703,790,600,516,402,386,419,441,402,424,738,1550,1750,1090,1120,1028,743,523,528,494,534,585,540,448,518,882,1018,656,763,753,565,604,491,681,756,534,870,1042,881,1088,1152,1200,1526,1268,1078,1252,1162,944,606,466,558,712,1120,1366,1000,731,616,466,432,438,560,1346,1948,1574,1216,1198,1162,1002,751,409,284,325,391,587,558,413,375,347,321,431,740,742,627,669,807,1092,1428,1440,1614,1180,552,364,377,282,328,541,599,507,476,415,442,446,685,1102,1644,1762,1272,1532,1446,669,580,843,1092,1334,1638,1760,1682,1180,982,1164,1232,790,456,453,448,562,435,405,883,1023,1023,583,561,701,680,626,645,912,734,700,810,717,654,593,566,813,935,1412,1494,1010,800,830,1142,1288,1346,1224,1152,894,1078,1186,836,491,480,856,1168,1252,1062,952,979,630,462,510,401,315,302,400,399,382,649,744,482,384,517,873,1682,1558,875,721,1112,1000,611,553,1116,1726,1952,1758,1152,694,669,723,698,1090,1112,928,1112,1230,893,746,850,620,825,1104,1266,1322,1570,1484,1216,1836,2198,1792,1464,1456,1340,1052,785,731,915,1278,1402,1292,927,990,1146,866,946,1522,1224,990,1078,1118,1220,1013,792,780,1023,745,485,640,730,557,752,698,755,747,829,821,678,869,846,888,1226,1138,825,841,892,666,792,971,1176,1584,1804,1356,858,858,1202,1110,895,999,1084,1106,904,849,919,1274,1136,1050,935,877,877,554,363,795,1232,1164,1274,1222,1122,911,1078,1238,1288,955,386,410,672,777,664,940,642,430,798,1180,1252,1054,1142,1050,1108,1434,1570,1516,1506,1580,1118,981,963,931,1108,1252,1422,1604,1544,1246,1076,1156,795,742,850,976,887,520,637,1036,991,1096,1084,1152,1230,1184,1128,1146,1005,848,550,847,1154,1260,1060,835,882,904,990,1011,981,1398,1442,1228,1314,1486,1364,1058,677,538,830,1108,962,626,459,392,596,709,910,1050,1306,1040,752,805,991,981,854,724,815,1058,882,409,353,375,398,482,357,320,364,563,665,522,653,885,1272,1626,1206,847,871,761,558,570,666,826,1048,640,505,685,718,544,1108,1668,1498,1056,809,876,997,933,653,578,561,578,902,950,816,915,672,1046,968,1026,1001,772,884,1166,711,772,1366,1562,1340,877,836,1172,958,774,955,1023,682,456,454,512,521,945,1086,1013,1266,1112,624,441,435,395,566,628,838,1112,801,696,497,518,521,521,486,496,572,554,476,436,398,385,491,580,415,427,492,642,658,549,529,529,476,440,572,609,459,346,386,382,404,500,489,437,541,646,521,455,502,672,810,964,1102,998,907,1146,1236,1262,1272,1094,1368,1578,1328,1332,1148,1130,1234,1394,1344,1212,1260,1244,1388,1438,1390,1528,1482,1266,1224,1174,700,1086,1416,998,960,1232,1342,1320,1192,1196,1050,862,1226,1276,1236,1450,1466,1194,877,606,606,594,505,368,325,327,408,504,541,570,1072,1200,844,447,488,470,366,381,431,444,414,774,1238,1188,948,1044,1222,1292,996,968,1238,1294,1198,1422,1220,1252,1396,1494,1482,1334,1100,970,1284,1580,1694,1628,1370,1310,1582,1648,1508,925,509,739,917,1042,1080,1242,1654,1880,2150,1798,1618,1015,519,481,926,1120,1186,1206,1266,1288,893,456,451,407,316,334,382,362,356,401,373,340,349,356,332,287,294,306,302,283,252,314,341,342,363,296,309,393,357,368,412,312,331,352,382,463,374,312,383,391,379,353,278,323,326,300,312,346,364,345,406,544,526,617,638,445,444,595,888,1416,1386,1004,695,834,747,634,558,868,1244,826,579,677,709,760,1190,1634,1804,1900,1362,772,609,658,762,800,872,849,791,599,391,389,491,636,733,899,1152,1068,966,1064,1148,1276,1270,1180,703,746,1032,1440,1716,1340,1204,1484,1470,1480,1490,1430,1436,1448,1436,1562,1352,1176,846,648,952,1266,1148,1290,1606,1694,1702,1650,1256,954,1336,2084,1968,2010,1920,1412,1106,1164,1562,1638,1388,2130,1952,1852,1720,1714,1460,887,653,654,551,452,411,397,398,435,448,424,495,520,421,402,400,407,470,458,468,481,473,437,440,435,426,430,430,408,405,408,428,444,447,404,402,437,523,611,697,781,908,1084,1214,1396,1518,1616,1426,1448,1522,2048,1528,1266,1252,1318,1328,1324,1448,1362,1448,1628,1522,1338,1166,1358,1326,1222,1110,1456,1456,1370,1226,1252,1344,1160,1236,1350,1610,1694,1542,1178,959,650,649,727,651,636,842,1104,1204,1428,1472,1264,1200,1124,1108,936,734,790,958,1072,1110,1196,1150,987,1160,1190,1304,1418,1312,1021,712,590,520,526,881,1244,753,448,442,417,380,355,322,426,695,876,767,625,509,507,641,900,1520,867,352,422,709,1080,1096,1036,1166,921,390,323,318,473,737,1398,1474,1722,1334,594,426,734,700,464,714,1012,1032,1372,2122,2106,1562,1122,1074,1384,1250,797,694,722,681,407,303,285,282,484,758,915,943,545,309,448,428,440,456,781,858,419,441,1114,1504,1136,782,792,604,489,704,784,557,728,595,555,1128,1152,980,688,710,1078,1378,1596,1080,416,524,590,648,511,408,291,253,255,529,866,733,514,458,676,918,658,470,315,332,470,1148,2176,3694,3300,3540,3316,3124,3284,1486,1472,897,615,623,1216,1036,680,769,728,730,689,390,343,333,403,647,1318,1296,597,658,678,642,1076,1464,1188,768,669,987,1674,2624,1756,1614,1346,887,1017,1598,2138,1504,759,839,922,698,485,718,1072,717,611,617,504,361,382,927,1130,629,645,752,480,384,464,852,996,957,1024,1124,899,1096,1296,946,851,864,1014,689,350,512,571,410,516,542,724,900,642,656,1021,1019,1072,1052,1102,1086,1294,1566,1402,1402,1532,1310,942,583,448,444,378,368,378,394,380,406,821,801,503,423,474,612,780,719,565,430,426,458,505,797,963,872,763,636,857,928,739,669,834,1050,928,803,769,616,553,673,657,622,918,1148,777,419,323,314,314,332,318,322,332,355,318,233,255,326,434,570,564,608,449,504,635,917,1076,1036,916,838,867,1090,1072,604,443,726,1252,1370,1318,1194,716,446,458,401,338,396,594,780,692,1001,1152,660,521,933,1142,874,514,469,484,632,615,424,348,639,1178,1268,898,509,554,775,927,1042,919,1110,1174,1052,948,856,1020,971,596,537,590,914,1528,1802,1654,1042,893,1178,1056,930,1016,1438,1294,933,1118,1390,1118,641,499,794,1016,902,705,468,353,361,309,772,1268,1248,948,1050,1200,1136,1144,1009,559,512,756,971,915,905,1076,1180,929,509,565,1002,837,535,828,1206,1210,1484,1252,1013,617,604,832,836,1158,1380,918,819,808,1000,1052,1350,810,544,489,439,502,498,488,677,1094,1464,1368,1354,1138,767,767,760,846,977,973,909,958,835,517,534,592,502,845,916,855,1340,1214,716,578,618,743,849,855,735,549,407,542,1150,1528,1252,841,874,1146,1001,1096,1322,678,459,400,502,640,706,591,460,355,781,996,577,579,555,513,588,605,957,1118,1526,1192,1128,1492,1226,573,527,905,954,529,461,515,977,1200,955,1148,1084,646,475,494,500,595,875,436,403,701,758,937,797,1132,1504,1400,1748,1576,1166,631,602,572,733,1194,1274,1158,907,763,842,818,666,576,648,813,815,792,769,847,946,841,998,1192,1116,1021,1210,1884,1168,523,1040,1710,1500,1858,1704,1406,1358,1088,795,609,474,664,1230,982,997,1214,1158],[602,730,1116,1116,767,695,1194,1654,959,828,1302,1576,886,694,1196,1388,1384,1562,1410,988,1048,874,699,667,521,531,543,487,453,416,391,375,355,365,390,401,417,402,365,323,306,275,264,358,490,479,356,259,504,1322,940,421,357,444,520,508,472,511,530,550,593,616,466,341,404,709,767,574,1046,1146,918,1006,883,709,681,609,551,566,602,725,631,537,532,420,535,742,929,1072,849,552,670,860,803,532,441,785,1584,1716,1232,1004,719,645,1076,1572,1858,1556,957,858,883,836,649,495,447,427,481,961,1754,1338,814,446,409,368,383,386,359,358,316,299,343,789,1400,1204,1021,1118,1130,1654,1730,1748,1598,1340,1462,1406,1376,1278,1202,1294,1194,1050,711,666,814,945,1100,1096,1132,877,717,763,745,530,641,1294,1108,1074,1302,895,618,844,797,642,484,415,443,498,648,1007,1304,1146,956,733,1052,1556,1386,1254,1252,1206,1064,744,1050,1382,1652,1510,1080,1042,750,591,814,1472,1784,957,370,375,411,775,918,662,469,513,461,386,361,399,519,595,558,543,519,595,755,1300,1172,1282,1494,1018,508,482,409,407,450,506,442,331,314,335,412,693,933,844,615,446,566,600,549,671,622,568,755,565,452,462,467,479,489,489,466,530,798,1390,1548,1050,1084,1066,834,666,577,484,448,548,587,463,553,1138,1662,1310,1258,866,650,656,542,952,1154,706,617,938,1164,1182,828,918,1382,1160,954,943,932,972,772,808,1384,1332,1532,1422,1340,1158,709,508,435,406,585,1042,1208,1174,1232,1050,902,760,685,591,449,442,629,929,890,538,472,487,539,769,785,570,490,486,444,708,1338,1514,1212,1030,847,463,439,406,634,973,629,589,648,572,545,601,981,1288,1256,871,807,1094,747,579,579,741,1160,1344,1346,1248,979,1005,1172,1238,1272,795,474,336,568,1076,692,926,1168,1248,1110,982,962,688,638,467,653,1094,1146,1578,1200,541,390,353,383,543,939,1288,1030,925,891,1078,1132,1126,1498,1426,908,778,956,1214,1084,703,833,1052,1021,1308,1294,1412,1162,777,546,593,461,316,307,369,396,402,659,650,490,419,431,972,1768,1966,1036,586,650,632,630,936,1524,1886,1838,1322,896,702,914,858,454,651,940,1042,1152,1224,953,664,785,966,1138,1370,1598,1632,1732,1440,1132,1208,1308,1494,1404,1672,1318,1078,639,493,714,1056,1170,1156,1192,1194,1096,854,756,1038,1088,840,857,1080,1428,1136,836,922,891,577,750,838,742,726,726,682,701,666,556,449,552,620,856,1432,1432,948,1032,957,883,967,1186,1130,952,1170,1518,1180,625,667,852,1088,1110,1062,1560,1324,1122,983,1118,1406,1350,1250,1100,1102,1080,701,601,973,1212,1310,1182,1272,1224,728,619,941,1194,780,292,339,548,577,428,801,921,726,803,1046,1086,1090,879,936,1860,2000,1600,1646,1854,1750,1528,1114,996,1080,1172,1310,1556,1604,1310,917,856,1108,818,1030,1260,936,818,664,786,1164,1306,1046,1116,1806,1334,1170,1132,1212,1300,1122,721,790,960,1026,852,863,1054,1052,925,931,891,1158,1570,1750,1466,1366,1108,707,576,613,874,1178,1013,753,389,352,393,358,422,677,949,1007,1186,1238,1146,1192,1007,900,1003,1370,1402,687,654,916,925,628,368,350,444,871,937,578,736,915,743,917,875,722,619,501,431,424,501,952,1410,1013,718,706,925,993,1404,1640,1506,1378,1334,885,652,1060,1058,777,500,449,655,736,820,608,434,675,1016,1162,924,731,747,960,513,487,834,1166,1232,861,802,1030,972,904,850,799,862,853,1058,996,626,904,1466,1418,1128,770,628,868,965,619,389,636,1766,1514,700,529,447,395,458,519,453,415,402,556,767,623,442,476,628,656,547,599,553,462,470,592,695,532,440,411,433,404,397,400,409,439,511,554,523,443,625,706,569,697,693,577,682,718,1072,1026,855,1078,1168,1246,1320,1190,1404,1532,1562,1606,1558,1626,1362,1324,1500,1480,1434,1368,1324,1306,1504,1660,1394,1372,1546,1250,1028,1096,1252,1176,1064,925,1128,1354,1208,893,985,1228,1320,1112,1064,1224,1210,1270,1098,732,670,722,718,527,471,427,428,469,459,516,601,1004,1110,595,446,442,421,377,361,415,669,1216,1526,1570,1486,1468,1460,1146,1152,1286,1316,1444,1244,1140,1038,1482,1596,1924,1716,1384,1216,1134,1350,1528,1652,1560,1370,1426,1528,1358,840,490,490,504,588,863,1020,1066,1638,2022,2712,1922,1208,849,616,957,1342,1266,1140,1146,1136,1288,996,563,442,392,353,307,275,318,354,365,321,322,317,288,288,282,283,328,342,337,325,350,358,303,265,301,404,483,426,388,344,317,375,357,301,352,369,359,344,360,380,348,266,278,300,305,328,344,354,352,391,419,460,657,622,487,528,627,684,1064,1222,1004,808,845,852,805,811,810,1128,664,673,642,620,833,1178,1520,1690,1812,1444,951,785,613,648,677,641,630,702,708,768,736,673,932,1032,804,820,846,1094,1106,752,921,1218,1196,756,687,987,1354,1630,1296,988,1370,1338,1412,1454,1442,1496,1572,1548,1614,1496,1023,816,960,1026,1292,1244,1432,1472,1476,1410,1144,901,681,1398,2208,2474,2980,2364,1348,1030,1174,1758,1714,1534,1754,1498,1432,1302,1108,1172,1398,1314,1076,619,517,448,411,407,401,416,451,484,468,453,477,463,462,487,492,527,528,490,462,477,473,444,466,478,454,430,411,444,477,456,386,402,437,402,394,481,566,692,745,836,965,1214,1452,1490,1406,1448,1376,1344,1328,1310,1318,1580,1912,1338,1166,1324,1370,1390,1442,1330,1360,1398,1366,1344,1274,1294,1426,1358,1286,1422,1342,1346,1194,1610,1638,1562,1554,1280,924,731,727,869,657,807,1176,1214,1188,1328,1314,1412,1246,946,732,775,1004,1162,1162,1332,1268,960,929,939,1278,1104,1266,1398,1214,990,663,425,437,653,1086,799,497,423,338,368,462,625,711,771,1048,784,528,574,628,598,870,1558,1100,460,361,586,876,1212,1472,1412,1090,622,373,387,628,785,1332,1206,1132,1066,663,583,1054,1066,687,737,1092,1186,1026,1136,1178,1316,1302,1582,2178,1766,1120,713,558,719,401,305,305,305,345,366,569,827,636,293,358,550,703,529,611,597,347,664,1612,1888,1126,846,931,679,634,776,822,531,1144,912,461,967,1166,811,521,705,1138,1046,969,804,423,466,783,1018,877,662,422,311,286,372,557,563,431,406,844,903,884,590,431,402,511,794,2452,3764,2810,4008,2764,4072,2824,1160,1350,1300,841,900,1160,905,855,606,679,708,650,565,692,497,334,440,663,535,443,702,757,613,817,1124,821,607,1380,2406,2586,1898,896,714,613,619,1112,1774,1866,1278,865,668,1064,1190,546,333,448,372,589,580,558,596,511,839,1164,944,828,875,730,691,526,934,1560,1364,1234,1494,1001,750,815,813,748,620,716,440,298,567,845,874,666,419,393,404,481,949,1250,1250,1290,953,1008,1210,1450,1498,1394,1396,1320,1122,863,420,398,397,362,362,456,440,373,446,716,792,883,929,669,800,963,974,1042,821,530,432,460,850,1100,963,813,569,656,697,829,725,746,716,864,959,700,479,445,463,488,462,427,722,1062,943,461,310,316,312,325,338,321,360,369,273,261,284,354,435,416,398,340,374,612,897,951,722,669,880,952,1266,1122,557,510,856,1400,1560,1318,888,542,430,440,386,451,383,411,455,645,1140,833,474,409,430,577,506,390,436,551,742,483,367,503,899,1116,1124,1050,964,832,878,1044,879,717,1134,1120,871,771,631,574,792,741,659,675,960,1244,1304,1586,1252,814,690,581,484,638,1264,1262,1044,1328,1436,1232,834,754,1196,1328,1278,738,392,422,537,479,565,846,1034,952,833,771,1009,1248,845,764,637,604,937,1214,1430,1316,1260,1328,1068,979,1048,795,575,585,856,1136,1352,1114,718,605,539,793,955,1044,716,481,716,702,659,1406,1456,670,432,538,524,476,549,902,1180,1564,1456,1264,914,877,852,833,962,1188,1340,1058,905,907,695,547,728,664,460,575,506,797,1366,1214,741,589,705,944,1224,888,638,525,473,647,965,1408,1744,1224,866,1182,1152,1374,1414,790,642,813,636,443,453,414,339,292,528,847,701,566,530,498,418,567,870,1296,1820,1198,833,1310,1252,960,819,1636,2464,860,421,451,762,786,995,1676,1386,564,372,523,567,576,957,590,509,652,766,847,883,1334,1338,1166,1612,1282,1166,676,581,590,976,1266,847,721,780,1360,1820,1356,586,462,414,538,603,669,632,492,521,874,1448,1710,968,1220,1604,1886,912,471,1146,1750,1304,1468,1362,943,972,1142,1078,935,687,594,1336,1344,1188,939,740],[488,637,946,1012,816,594,726,747,572,905,1378,943,551,628,927,1314,1322,1376,875,833,958,721,675,636,507,525,504,463,458,451,451,440,440,440,410,413,443,423,330,288,293,284,327,359,380,369,357,361,420,755,708,518,558,619,551,530,516,567,683,931,1042,944,997,947,746,926,739,458,519,688,1312,1754,1484,1590,963,537,774,982,920,1008,761,494,421,459,635,553,473,648,619,469,480,607,677,499,412,607,935,894,653,545,545,675,997,1410,1340,1004,1032,1036,1058,993,607,486,456,459,465,541,960,983,877,521,393,394,393,372,377,355,327,297,315,603,810,761,963,1032,1226,1446,1516,1728,1612,1462,1584,1504,1382,962,673,536,655,904,843,744,909,1158,1158,1244,1216,890,803,539,416,334,456,740,659,989,1290,883,574,754,930,866,693,868,910,568,433,532,580,661,763,644,848,1152,1356,1322,1148,868,992,1174,1362,1086,1030,1430,1216,709,577,590,705,1116,1332,763,404,311,394,676,735,586,474,328,278,359,423,477,522,556,583,601,594,609,669,1044,983,910,1054,772,454,434,392,424,436,450,376,316,287,338,325,333,497,831,1046,998,822,621,529,551,546,668,673,505,407,438,421,454,743,948,574,556,637,829,893,693,573,588,641,659,550,477,367,455,568,477,772,1626,1852,1986,1654,708,420,439,578,813,1003,783,1088,1502,1250,956,1036,1232,1338,1260,1294,1072,826,1198,948,724,1252,1668,1268,703,926,1052,806,601,422,355,415,615,705,896,1058,1026,844,612,569,1078,1042,902,1228,1428,1282,836,501,688,927,772,504,399,441,569,547,500,879,1086,895,1284,1240,741,511,548,1142,1458,927,815,688,565,685,877,935,1032,1082,842,657,360,489,650,666,709,1152,1344,1222,1196,1140,1164,1364,1388,1090,664,448,505,992,1080,661,811,947,1096,1118,1074,980,863,926,1180,1712,1824,1264,1598,1132,643,692,474,493,608,1058,1336,1216,1312,1578,1520,1230,1028,1266,1444,1272,1088,1154,1302,1190,1148,1084,1204,1288,1426,1374,1494,1460,1152,940,849,547,341,349,353,354,384,823,791,711,499,394,561,947,958,677,594,529,589,818,1394,1792,1898,1440,1001,900,609,687,949,1034,1122,1102,1248,1130,1318,1032,649,607,1160,1346,1312,1506,1688,1588,1528,1518,1592,1490,1534,1454,1492,1168,1138,1214,921,771,1044,1180,1344,785,605,883,743,687,836,1208,1284,1312,1478,1234,898,980,1218,794,929,1350,1784,1704,1122,828,782,779,758,530,401,424,609,1350,1794,1136,819,851,703,597,838,1146,1408,1262,1084,1040,896,444,446,508,1030,835,1017,1372,1288,1350,1372,1460,1616,1410,1294,1164,916,1064,1118,991,1058,1102,1054,1146,1372,1404,1023,586,506,484,398,357,321,325,336,327,409,662,713,841,1000,1038,951,707,1714,2664,2244,1632,1796,1938,1648,1574,1470,1240,1007,1064,1268,1502,1426,975,644,463,712,823,1410,1442,1030,872,682,904,938,1008,1044,1178,1880,1598,1126,648,926,1244,926,724,924,1180,1072,869,1044,949,1092,1040,1108,868,707,873,969,1132,1046,778,628,609,672,807,753,1040,830,434,337,313,353,430,525,688,806,607,615,747,1200,1178,1314,1324,1448,1284,1050,1104,1214,1252,1001,938,1100,908,1202,1254,841,785,933,948,1056,745,443,390,419,427,445,518,619,639,1132,947,1132,1520,1444,1358,1372,1468,1660,1634,978,587,809,809,1012,1028,977,648,506,581,452,416,516,633,769,775,901,1172,1054,908,728,634,632,1260,1344,819,651,680,736,853,991,933,822,764,1056,971,792,781,687,471,532,738,993,1404,1324,825,605,789,789,522,390,410,424,479,503,429,411,508,729,885,695,709,677,534,465,545,689,601,428,420,442,454,455,449,445,459,531,569,488,435,491,511,578,753,644,458,449,433,508,565,601,799,972,1130,1062,898,963,1266,1330,1264,1156,1204,1104,1162,1384,1466,1532,904,560,937,1344,1482,1358,1272,1408,1606,1576,1244,1220,1406,1462,1466,1302,1212,1314,1128,882,1128,1224,1128,954,1354,1346,1023,968,1020,1150,1264,1316,1036,1032,794,693,647,665,544,519,585,625,544,548,534,712,933,731,418,449,432,355,337,550,1184,1558,1820,2002,1904,1820,1526,1468,1516,1614,1534,1562,1464,1060,944,1302,1372,1414,1418,1410,1350,1426,1376,1530,1578,1466,1460,1500,1508,1020,514,514,646,703,607,557,822,936,1488,1764,2424,1806,1152,874,894,1174,1102,937,848,778,705,1110,858,486,402,382,364,297,303,354,391,376,284,292,276,213,279,294,281,344,342,328,332,339,373,378,339,293,371,412,469,444,348,348,428,350,232,279,340,336,305,348,396,357,301,295,303,326,335,343,357,361,378,372,517,817,681,689,539,630,752,1028,1228,1110,907,849,765,696,879,830,1266,853,697,844,974,867,1030,1584,1982,2030,1462,858,669,644,684,872,1052,1148,1140,1050,1007,1072,1258,1470,1192,742,727,804,1082,1154,960,988,1188,1244,828,622,884,1312,1532,1032,697,1276,1400,1462,1522,1572,1604,1620,1558,1518,1236,820,810,1018,1278,1324,1426,1296,1088,962,901,876,973,756,1140,2072,2330,3218,2216,1398,1926,2388,2238,1820,1250,898,957,1076,940,835,1060,1494,1698,1592,883,651,667,655,684,666,626,711,666,518,471,504,527,504,505,479,480,478,491,510,514,488,477,500,493,469,446,460,477,475,457,435,426,409,382,396,409,412,439,536,664,739,859,996,1108,1344,1360,1288,1360,1278,1272,1232,1580,1984,1306,1628,2148,2286,2138,1802,1388,1288,1414,1504,1560,1320,1134,1372,1530,1432,1424,1498,1266,1244,1406,1310,1554,1596,1448,1338,1001,905,948,940,1094,1270,890,921,1094,1260,1434,1180,988,851,683,975,993,1106,1152,1038,979,1038,938,1166,1360,1372,1296,1100,1088,1110,632,725,697,976,1162,844,535,545,671,606,570,653,514,847,656,538,588,683,685,630,832,817,461,349,493,974,1334,1204,802,1001,713,351,425,692,683,524,722,1306,1262,630,544,803,733,792,799,670,683,702,954,1426,1784,1766,1546,1678,1588,1218,694,835,924,635,388,298,350,325,497,767,773,603,311,434,750,863,897,710,413,343,635,1274,1404,758,630,816,796,634,684,944,695,1192,1234,600,819,1208,749,619,969,1150,768,421,429,483,529,1068,1182,906,955,759,477,306,262,276,313,455,860,995,1019,828,495,396,455,307,542,1968,2844,2942,3664,2858,3958,2020,788,1078,1472,1272,873,625,830,1284,660,438,562,682,949,1198,694,323,383,441,561,1122,1614,1252,825,944,1538,1346,743,1312,1614,1003,580,549,1038,1572,1176,1198,1236,1168,1110,884,753,1322,1080,446,385,488,768,911,570,631,1007,876,681,1102,1334,924,800,1002,1272,1066,1022,1748,1636,1120,1182,930,722,828,1028,814,1122,990,444,313,502,930,1096,658,362,379,382,521,996,836,1174,1292,959,888,847,819,1058,1216,1262,930,735,658,444,407,498,480,441,624,684,557,702,870,925,1172,1604,1332,1188,1013,974,1076,926,566,400,468,814,1114,1328,1244,807,713,850,910,733,770,880,958,838,686,515,474,437,399,393,378,407,553,872,928,775,481,331,378,376,322,346,385,340,279,296,298,357,474,435,361,316,445,756,863,615,464,556,709,1134,1004,688,648,1092,1522,1410,891,469,447,599,492,540,1030,587,440,562,1048,976,520,401,407,407,440,411,348,386,685,1011,843,632,985,1434,1304,1070,1334,1362,855,645,808,995,1308,1354,994,735,802,695,454,749,1144,988,713,1132,1184,667,936,797,962,973,673,411,592,1124,1190,1346,1656,1560,1058,802,1016,1074,983,1036,783,512,658,728,429,368,595,845,842,642,492,929,1492,926,684,973,1278,1516,1820,1644,1246,1380,1204,1206,1278,1448,1180,727,786,1009,1009,1032,872,716,778,868,1230,1064,797,644,523,626,727,849,1656,1742,921,948,1026,1032,1244,978,904,1130,1194,969,735,631,894,962,1104,1422,1504,1278,1122,1252,827,653,898,1066,827,558,514,538,913,1470,1566,1278,952,758,843,1096,1050,714,435,697,1512,1750,1246,1466,1306,880,797,695,845,802,765,912,1130,807,462,370,381,595,544,732,1404,1416,750,417,335,331,468,658,1026,1010,639,1058,1322,1064,1350,1278,1186,1098,595,678,689,985,921,851,1452,1286,600,417,528,539,805,1148,1100,1360,1156,647,1122,1552,1832,1114,1072,1224,713,875,1144,1072,900,1682,1620,998,823,1040,1756,2022,1200,453,322,350,542,653,623,670,618,620,933,1296,1650,901,1036,1428,1258,680,372,733,1282,1164,771,469,343,526,879,1064,1050,932,706,1542,1602,1276,843,763],[472,631,796,930,831,585,638,669,557,766,848,480,438,549,799,1074,836,885,641,551,683,665,722,686,528,479,470,462,450,447,461,488,537,482,413,410,448,436,334,304,346,336,342,347,374,403,382,389,370,390,433,424,634,740,480,394,437,507,790,864,652,709,1128,1028,912,933,628,526,535,999,2218,2126,926,722,832,929,1342,1466,1356,1252,894,486,484,815,940,504,430,701,526,414,409,436,400,365,415,481,505,500,443,490,613,707,975,1294,1336,1068,943,819,1098,1240,648,526,493,483,431,413,553,783,857,592,416,547,550,522,607,486,422,373,331,548,581,1056,1222,1300,1398,1452,1654,1786,1570,1626,1484,1376,1500,1116,565,391,631,1002,1142,1204,1406,1346,1300,1320,1260,863,901,746,438,377,529,621,618,815,1048,971,813,851,980,1104,1036,1021,1042,623,356,386,432,877,1470,1362,1015,888,1374,1502,1068,1168,1518,1656,1520,1234,1112,1006,728,564,559,523,563,929,1142,631,330,269,414,531,512,525,509,400,330,369,433,443,496,546,558,561,560,559,583,636,590,592,605,474,416,411,399,383,350,351,313,285,305,318,283,296,302,351,623,1072,1110,883,772,614,695,580,450,462,388,356,343,389,655,816,700,608,567,743,881,823,684,654,948,952,617,581,576,584,913,745,891,1472,1666,1794,1102,382,423,463,576,692,985,924,1019,1266,954,666,1005,1482,1490,1242,1278,818,816,875,558,590,772,1128,786,555,687,691,811,785,477,426,400,468,437,749,891,1070,936,692,786,1290,1396,1156,1126,1244,1288,1158,1054,933,610,362,343,421,513,530,495,351,502,631,832,1082,1296,904,598,908,1616,1642,1412,1220,1114,1088,1060,1086,769,1005,1256,1262,967,567,558,855,924,800,1156,1132,857,800,1015,869,761,944,776,565,728,1064,1116,671,430,472,671,1080,1192,971,1032,1274,1346,1530,1486,1128,645,1046,1262,848,691,917,941,904,1134,1370,1334,1330,1494,1454,1902,1898,1408,1434,1478,1230,960,875,1186,1346,1078,1354,1478,1274,1252,1290,1318,1034,715,736,596,504,493,421,384,374,677,827,733,558,526,554,622,489,528,469,471,677,1262,1658,1870,1582,1120,1152,951,547,856,1210,1560,1736,1622,979,846,1104,1122,874,687,1056,1388,1258,1136,1214,1040,1284,1164,1374,1416,1478,1296,1138,857,1394,2050,1422,1128,1534,1030,991,634,747,990,904,1076,1460,1376,1178,1066,1016,969,850,894,1042,758,1108,1586,2110,2116,1426,940,739,550,644,860,758,843,766,933,1076,962,850,764,681,777,797,921,1070,1022,846,1146,1198,733,597,898,1212,721,550,746,750,985,1316,1236,1294,1290,1300,1312,847,647,1016,1096,1028,948,786,802,1064,1120,904,603,492,430,336,361,320,318,378,318,279,554,998,1150,1118,1068,898,1108,2498,1948,1462,1302,1428,1594,1738,1642,1636,1522,1080,1080,1354,1716,1502,1134,880,784,734,672,908,857,941,1018,843,951,888,1028,1166,1152,1532,1490,1188,872,973,1176,966,651,772,1164,956,1230,1278,1236,1090,1024,1166,1042,1138,1080,802,1048,747,716,764,538,724,1094,1194,1374,1094,797,593,558,705,765,632,736,804,727,594,800,1378,1072,828,1004,979,1166,1338,1184,1288,1166,1028,1204,1504,1094,1260,1178,759,663,777,984,959,580,643,924,604,426,445,511,510,469,742,823,1028,1318,1260,1246,1156,1178,1450,1260,814,807,990,708,561,924,1438,1282,821,567,466,445,363,333,537,755,1172,1572,1332,1358,1226,870,845,1256,1404,892,507,518,658,799,1338,1578,1100,791,899,1012,1106,824,434,431,825,1376,1898,2082,1470,1306,1258,787,430,473,578,462,410,439,475,448,558,763,606,478,539,724,683,508,430,452,510,481,423,424,463,628,777,574,454,476,552,470,478,713,653,478,459,525,518,550,667,718,716,700,781,985,995,810,941,1068,884,862,1007,1166,1198,1142,1094,1234,1426,1482,1290,848,477,760,1776,1578,1178,1300,1396,1648,1800,1322,1306,1604,1524,1294,1154,1166,1366,1282,1250,1132,905,1092,1252,1440,1268,902,828,1050,1198,1300,1280,1046,1466,1346,904,678,633,478,558,714,668,604,513,444,444,551,900,787,462,373,403,650,877,1082,1600,2008,1908,1738,1794,1444,1508,1488,1538,1534,1498,1590,1228,775,885,1334,1694,1412,1446,1458,1542,1484,1546,1370,1290,1404,1556,1258,764,653,712,1016,1174,759,649,640,824,1272,1620,1694,1432,1224,1188,1166,830,653,502,510,592,527,1032,999,597,421,387,405,349,333,340,393,378,309,298,250,190,244,287,296,322,328,292,281,292,348,438,441,339,398,389,406,490,514,513,488,379,296,364,334,257,246,296,355,338,311,340,361,358,340,366,346,344,359,371,672,872,610,489,426,713,881,1144,1374,1312,987,942,747,419,502,780,1226,825,523,770,977,777,836,1180,1164,1060,861,902,974,1082,1142,1148,1010,849,723,741,788,650,763,1164,964,694,752,858,954,966,1088,1130,1252,1302,1094,970,1194,1354,1328,1152,845,1204,1494,1582,1634,1614,1578,1486,1318,1028,704,905,991,1158,1448,1376,1242,1122,1026,976,1114,1136,1088,846,891,1730,1766,2492,1874,1572,2174,2172,1834,1688,1310,969,1068,1090,997,858,902,1380,1740,1730,1480,1294,1148,1148,1108,893,988,1404,1290,1002,968,941,799,665,627,588,517,486,496,496,488,467,459,450,455,445,436,459,460,480,528,529,480,431,424,415,425,385,380,406,440,495,599,749,833,1074,1210,1318,1318,1360,1294,1528,1708,1390,1238,1604,2206,3020,2808,1774,1228,1284,1396,1494,1532,1468,1250,1414,1506,1464,1262,1212,1184,1584,1466,1160,1596,1726,1574,1466,1184,991,844,1120,1144,979,1028,1154,1072,1290,1664,1354,1236,1302,919,946,883,1066,1232,1076,1048,1302,1510,1588,1272,1068,1170,1598,1598,1526,835,601,738,880,1190,1318,1130,1042,824,593,704,1038,670,763,723,635,565,677,906,1011,1206,1005,465,354,487,812,749,777,624,1134,766,295,336,363,473,669,943,1602,1576,1212,727,656,716,652,384,433,584,827,1832,2498,2596,2196,1586,1620,1672,1242,582,757,1092,993,596,584,689,430,839,1196,823,636,413,655,982,809,1036,1266,1146,1118,825,582,649,461,551,585,749,588,1118,1508,800,644,808,574,825,1198,855,604,611,533,364,322,534,752,717,699,815,1002,954,887,795,720,493,568,580,553,777,802,654,550,583,600,634,471,513,918,1150,2814,2402,2364,2966,1732,875,1108,1518,1362,1122,689,582,841,523,436,654,863,1042,902,458,381,527,623,1028,2054,2140,1760,1182,944,1238,1050,620,993,1206,890,719,694,1224,1540,1118,1168,1260,1312,1186,1013,1064,1114,862,542,499,952,1122,654,596,553,615,475,379,670,926,621,628,930,1366,1650,1434,1342,1154,930,924,1142,1030,1086,1098,822,1002,770,392,586,891,905,826,579,388,352,318,453,691,884,1118,906,836,1005,888,626,989,1012,815,614,670,656,766,824,873,763,487,622,752,777,1198,1374,1368,1058,955,1466,1410,1036,938,902,641,536,437,449,660,1070,1344,1096,1046,1024,1056,825,615,770,1148,1024,709,633,490,439,430,399,332,352,420,375,354,756,1158,1038,690,483,421,328,366,603,500,322,270,261,280,320,339,367,418,416,539,817,589,400,462,635,698,608,623,716,1070,1426,1296,1180,725,589,1012,1005,909,1226,859,814,1196,1196,697,432,488,499,371,377,394,350,495,871,894,1248,1338,1430,1524,1266,1226,1346,933,653,656,1018,1526,1966,1686,1054,728,988,1052,908,1084,1340,1280,867,761,641,595,795,890,1270,1242,843,645,553,760,877,1170,1472,2048,1560,1020,930,775,827,1021,1180,1002,850,632,431,465,990,1404,1162,637,711,1174,1472,1016,745,943,1214,1670,1986,1458,1426,1710,1342,1240,1384,1574,1394,1028,1088,1062,896,576,542,742,1122,1184,1296,847,556,621,788,853,780,738,1072,1342,1172,1340,1340,1678,1954,1010,678,851,882,721,491,760,1012,774,1013,1194,1278,830,891,1230,809,664,1096,1126,824,899,1094,790,791,903,1076,1009,655,533,792,874,924,958,789,640,1098,1264,655,780,929,788,609,740,791,640,502,485,514,441,779,863,832,1170,639,432,574,836,600,371,440,492,495,677,698,503,474,1070,1042,1108,1312,1192,783,464,683,919,990,1318,816,850,1208,1092,570,434,491,403,883,1346,1578,1942,1470,1376,2360,1866,1784,860,598,537,479,574,1430,1664,1402,2000,2062,1604,915,1384,1320,940,514,354,329,324,351,452,574,658,709,689,716,906,1320,1460,1038,1024,780,432,439,520,641,510,356,365,388,416,496,822,936,847,700,988,1238,1144,752,596],[461,579,639,946,944,608,501,540,583,687,709,620,744,681,863,952,832,877,807,636,616,666,792,825,653,605,465,430,428,434,432,464,526,485,432,461,518,470,346,357,367,329,341,365,383,405,331,298,293,337,394,426,547,648,449,337,415,534,796,747,487,630,1078,913,625,684,760,489,545,971,1964,1550,718,443,645,1158,1840,1862,1342,1182,1050,583,763,1058,945,639,603,910,718,505,491,415,395,401,393,450,449,455,449,404,642,739,791,1090,1340,1040,641,453,727,965,621,517,496,426,359,332,500,626,713,683,505,614,764,892,799,519,381,347,314,489,735,1160,1410,1314,1248,1446,1686,1560,1348,1440,1318,1426,1518,1356,1038,814,985,1268,1304,1232,1106,1484,1652,1620,1428,1434,1302,1050,562,430,588,526,390,474,805,1008,960,912,877,758,896,906,790,685,700,656,540,866,1444,1354,1154,1058,1492,1560,897,977,1238,1238,1216,1184,907,684,712,566,477,370,466,808,846,501,295,306,464,634,688,509,464,449,408,497,490,459,458,483,514,565,563,521,572,656,530,462,437,447,415,402,395,359,317,292,265,250,252,303,288,296,316,379,365,677,975,922,847,828,697,484,391,320,357,353,314,339,409,441,608,703,893,1130,985,1072,1194,717,1288,1180,858,919,860,752,1086,1021,942,957,865,1026,805,502,599,719,764,572,850,1192,1280,1460,1186,875,991,1180,1224,1058,1368,1180,1130,654,495,679,792,766,819,966,927,841,786,869,742,637,838,1038,800,646,1030,1284,767,677,1100,1326,1354,1406,1476,1172,1132,1118,944,581,373,340,303,368,459,467,448,408,729,748,503,401,658,633,658,1048,1230,1282,1510,1388,1392,1450,1456,1076,762,875,1060,1058,661,560,736,1248,1230,587,797,869,736,761,1038,1296,968,578,567,755,876,797,612,408,336,444,961,1224,1366,923,899,1084,1220,1062,718,738,844,1058,1660,1350,1190,1278,1266,1064,1112,1332,1266,1110,1040,1158,1720,1954,1600,1272,1256,1302,977,954,1214,1154,940,1168,1372,1396,1318,1262,1152,942,783,817,857,670,456,536,535,651,717,670,545,644,852,747,559,480,434,400,546,1066,1518,1732,1638,1170,1178,1360,1074,1374,1206,941,1528,1912,1686,905,681,967,1238,1126,996,1186,1428,1114,1382,1440,1546,1560,1226,1134,1372,1548,1328,1142,867,1206,1804,1664,1252,1174,803,671,749,1004,948,715,855,1174,1190,894,564,686,828,785,1204,1202,1064,1282,1464,1588,1400,839,536,642,771,1644,1714,1218,1404,1398,1172,997,987,775,666,976,1282,1062,816,777,1076,1084,1300,1188,1038,912,1250,1494,1276,832,596,543,603,857,1144,1108,872,946,1160,805,494,874,1214,1220,1082,835,644,639,573,719,549,534,498,401,433,523,548,488,370,382,761,1102,1322,1162,1302,1026,1996,2070,1444,1432,1382,1106,1168,1686,1482,1478,1542,1484,1430,1626,1748,1430,965,821,1040,1001,815,612,375,479,857,1064,881,807,771,848,1148,1374,1118,832,896,1308,1766,1586,952,767,888,687,1068,1048,979,1108,1428,1372,1216,1118,807,820,1334,999,1086,867,505,530,789,1148,1222,1120,1120,796,886,1328,1638,1310,1018,900,1218,890,1046,1666,1180,638,693,560,607,582,691,992,1188,1166,865,822,668,708,603,450,618,871,1104,1186,832,616,636,520,370,361,433,447,408,1120,1578,1038,621,569,673,834,830,847,683,603,970,1384,1338,860,818,1090,1112,1192,1062,872,507,393,410,579,572,683,1044,1224,1332,1466,1466,979,937,669,501,493,634,669,751,1126,1474,1424,1548,1204,734,899,1088,945,549,821,1546,1840,1650,1194,1570,1946,1374,639,615,623,466,433,508,484,478,714,922,672,423,417,447,417,465,438,444,566,600,513,456,539,738,781,674,740,641,476,755,1324,1018,855,824,810,894,897,885,921,961,830,692,832,962,866,786,831,1086,1128,1009,988,1404,1512,1396,1528,1162,1278,1382,1250,1152,952,960,1478,1524,1380,1480,1470,1532,1588,1528,1556,1358,1152,937,1062,1250,1426,1294,1230,1236,1182,1266,1294,1290,1064,895,1302,1336,915,734,1168,1090,1416,1448,1314,1166,771,496,581,626,564,608,561,435,365,478,744,1056,890,547,556,1066,1382,1912,2092,1954,1762,1678,1526,1350,1146,1156,1300,1434,1532,1548,1122,872,905,1182,1424,1252,1320,1390,1436,1494,1334,1220,1382,1732,1484,883,641,711,848,1278,1294,847,733,736,769,1064,1432,1354,1064,683,621,576,433,446,419,502,688,584,1013,1158,622,398,352,384,335,310,290,321,354,339,276,218,226,257,269,280,303,342,313,356,366,388,425,416,404,404,385,371,383,406,423,451,465,414,408,294,213,225,276,325,334,355,375,368,382,377,391,356,364,356,517,800,758,543,456,836,1178,862,969,1310,1248,937,1078,1023,598,365,779,1360,1262,846,811,1054,1058,1028,990,1013,1142,1204,1292,1400,1368,1158,924,783,789,1198,1470,1450,781,474,858,1000,739,749,874,881,929,1088,1280,1334,1112,1138,929,965,880,997,1354,1100,1088,1306,1314,1244,1184,1182,1152,1072,982,1014,1130,1288,1542,1516,1376,1142,1072,1236,1220,1240,1242,1132,901,765,1400,1554,2214,2300,1704,1454,1614,1600,1572,1398,877,827,969,875,836,924,1364,1682,1710,1514,1442,1528,1662,1478,1448,1364,1616,1654,1582,1444,1206,1164,1084,873,788,727,520,478,535,521,487,460,438,423,418,425,450,462,478,495,507,503,450,418,402,433,417,400,416,441,415,432,546,677,762,882,1142,1300,1520,1512,1656,1608,1386,1280,1426,1674,1758,1692,1544,2004,1622,1604,1434,1294,1282,1256,1370,1486,1454,1388,1188,1478,1658,1396,961,1011,1576,1798,1602,1340,1168,1030,1112,1240,1406,1484,1236,1058,1296,1672,1546,1316,1106,831,903,1011,1150,1310,1202,1264,1414,1532,1282,935,846,999,1750,1646,1512,1126,807,848,827,1158,1188,1126,1172,612,621,786,1186,1080,765,558,628,591,558,988,1392,1560,1058,415,313,520,616,586,612,479,509,388,350,383,410,492,706,792,1166,1246,1212,987,948,995,636,268,510,717,833,1470,1448,1944,1782,1406,1302,1378,1278,787,614,1078,1108,570,564,835,546,687,885,725,658,434,590,735,507,760,1212,1504,1216,822,780,808,815,664,508,878,778,936,1354,850,458,524,767,1050,1172,1138,648,392,438,430,426,581,1006,1074,540,535,925,1038,828,823,699,750,1046,812,426,461,595,566,593,802,720,624,645,582,489,448,997,1054,1132,1062,797,877,921,1152,1005,1214,1005,497,510,457,344,621,784,620,419,317,376,447,570,861,1568,1174,1116,1108,1482,1570,1144,887,1570,2382,2272,1828,1158,782,842,751,1034,1386,1386,1100,978,998,1102,1340,855,391,493,586,535,662,760,682,592,587,611,753,872,1001,955,1102,1146,991,884,978,1048,1148,1466,1154,946,759,564,730,746,841,1362,1384,1098,1046,1062,672,431,392,408,661,1344,1428,1132,1148,973,840,733,1300,1238,945,730,822,951,1114,1148,1040,879,839,1040,1146,1324,1440,1312,1194,1072,1218,1190,1074,1142,1272,880,536,502,425,463,595,1144,1210,1034,972,1144,1168,911,750,811,1060,819,653,509,465,401,402,415,395,419,459,504,519,539,681,1072,1402,926,469,370,370,451,440,328,260,285,326,358,337,347,418,451,432,626,648,783,796,586,512,618,834,1036,1336,1466,1276,1390,750,907,1282,1310,1260,1174,940,1019,1378,1212,843,631,477,431,359,364,350,367,726,871,1026,1426,1688,1576,1196,879,1118,799,752,753,927,1218,1484,1468,1460,1532,1312,1416,1356,1096,1422,1416,1188,825,639,515,740,968,940,890,762,523,686,779,877,838,829,1238,1604,1470,1332,1210,1136,960,885,1007,819,1038,952,500,603,1456,1588,1094,722,843,1262,1009,724,987,894,1174,1394,1590,1468,1484,1458,1198,1422,1578,1484,1354,1456,1432,1282,1188,1086,840,954,1140,851,819,994,887,622,816,852,901,1104,1310,1368,1396,1550,1752,1862,1514,1106,1024,943,881,740,562,628,922,666,997,1130,1164,714,661,1020,966,907,1120,1104,1018,1018,1100,842,804,639,832,718,505,485,602,580,627,732,1054,776,507,549,437,533,678,564,844,1390,1210,805,962,907,673,621,1078,1190,1348,1192,569,359,367,432,407,386,466,513,475,587,660,850,1005,1318,1056,1007,888,711,506,586,1106,1648,1320,1382,785,720,1170,1144,603,439,619,891,1400,1436,1376,1338,1360,1268,1878,1772,1080,508,420,439,434,850,1432,1116,878,1240,2182,1124,546,697,527,450,417,316,288,296,326,429,574,563,596,602,700,841,727,1354,1480,1088,691,387,386,383,318,266,297,298,337,325,325,754,1112,1052,953,1042,966,761,457,437],[436,514,531,772,853,537,490,466,469,589,755,805,998,973,932,843,749,711,651,705,781,833,894,895,760,742,608,529,481,436,441,482,498,485,465,476,533,432,310,348,376,370,374,371,427,483,451,367,296,337,373,373,419,423,352,388,649,778,891,785,400,525,843,756,821,1456,1222,874,1180,969,1160,1412,1076,731,800,819,1174,1268,1164,1036,1052,839,1052,1013,937,1100,1242,1220,1170,1080,840,460,393,394,356,393,457,479,473,381,506,620,543,766,1088,526,420,448,496,467,561,624,603,480,401,402,539,641,678,800,617,546,589,706,515,348,302,323,298,331,707,1312,1304,1140,1340,1610,1662,1300,1050,1022,1244,1426,1310,1334,1232,1019,1254,1128,850,861,1122,1506,1720,1644,1318,1146,1132,1228,1100,948,924,951,652,511,729,901,1064,1202,1270,984,864,948,1088,1280,1154,978,1072,1316,1234,1300,1318,1224,1540,1342,657,513,679,741,692,857,957,574,560,504,567,598,695,731,595,396,282,416,685,980,619,341,308,357,415,454,463,455,479,501,523,539,552,563,579,505,421,431,399,429,441,405,387,339,309,331,283,198,200,268,282,307,332,388,397,675,811,592,706,1078,1054,576,377,322,361,338,307,404,478,611,1132,1420,1366,1162,1050,1490,1976,1110,1186,1288,1054,1009,996,783,780,933,1008,869,600,1044,1124,901,644,963,1170,749,943,1262,1610,1738,1246,1290,1306,994,1206,882,1098,1390,1272,996,841,1054,1354,1152,1346,1366,1608,1190,728,922,919,1162,1488,1520,895,615,1124,1013,517,925,1316,1324,1182,1056,1230,1334,1070,904,846,671,365,324,320,376,416,397,438,537,1048,1168,674,404,424,487,549,614,569,546,700,1204,1158,826,666,714,760,697,974,855,444,549,949,1314,779,486,595,987,754,957,1120,1276,1350,1001,895,1284,1102,633,593,487,366,528,1140,1308,1284,786,548,748,1140,1096,719,855,1001,844,1206,1168,1242,1234,1348,1238,1288,1418,1368,1246,1164,1220,1438,1478,1484,1332,1446,1290,1312,1316,1286,1304,1194,1156,1410,1462,1268,1150,1266,1316,946,717,859,642,454,415,608,966,1224,1108,754,763,722,587,465,430,394,485,890,1448,1676,1714,1300,1088,1410,1410,1074,1528,879,760,1176,1440,1520,965,543,967,1138,853,965,1268,1508,1284,1292,1302,1622,1550,1230,1001,1434,1716,1428,1126,971,1030,1526,1648,1316,893,774,719,597,672,716,524,515,614,686,583,618,745,721,561,1070,1036,625,643,794,912,1050,874,709,890,974,1822,1460,1182,1498,1486,1144,1156,1176,872,565,626,905,607,515,570,639,1011,1260,1444,1394,1354,1464,1438,1238,1154,934,704,667,740,1128,997,791,1116,1160,702,675,1120,1394,1538,1204,1006,899,897,733,1023,865,558,479,446,422,477,501,447,472,603,703,966,1232,940,1246,1494,1726,1534,1386,1476,1378,1120,1372,1634,1636,1690,1554,1326,1348,1650,1636,1058,815,1086,951,644,785,607,444,404,449,749,741,902,917,666,788,907,671,535,847,1682,1776,1282,1108,1076,896,1042,1454,1118,840,1196,1332,1194,1284,1228,1324,1472,1412,1136,1288,998,688,637,607,799,776,812,907,722,808,1015,1338,1208,1282,1634,1848,1224,688,1054,1026,699,696,529,445,407,419,675,894,644,996,1220,1114,976,763,606,626,705,1028,992,789,592,405,384,359,320,406,574,738,1452,1740,1492,1148,706,684,679,915,994,709,577,561,735,974,849,1144,1620,1534,1046,1242,1286,1092,703,559,547,511,562,677,781,862,905,1214,937,981,851,831,800,691,560,582,816,1068,1544,1432,891,736,771,666,893,996,1246,1368,1316,1092,1242,1804,1672,917,677,668,521,498,484,554,503,488,499,445,443,417,422,538,618,615,506,526,552,583,566,700,755,562,426,803,1288,835,643,1162,1644,1222,1090,988,1050,1060,894,910,1002,946,871,909,999,992,847,904,932,982,1150,1254,1006,1564,1816,1290,1028,903,1340,1278,1312,1136,1272,962,1128,1530,1456,1372,1336,1364,1520,1588,1288,1136,1102,1198,1190,1184,1310,1352,1506,1502,1334,1388,1258,1140,1032,1132,1110,1282,907,741,1156,1188,1208,1180,1152,1306,1080,825,686,528,498,636,727,721,656,639,677,944,1250,1278,996,1238,1942,2920,2334,2108,1960,1678,1350,1396,1148,821,1034,1430,1422,1138,881,750,1086,1021,1264,1332,1362,1416,1520,1440,1440,1456,1474,1126,823,683,661,764,1010,1034,913,584,498,761,793,766,871,779,498,444,503,625,614,628,502,349,407,446,760,836,370,362,361,271,254,271,277,247,244,254,231,243,268,272,291,325,374,371,389,425,455,407,323,356,364,345,376,355,322,362,407,356,351,411,425,357,275,233,267,325,349,355,342,336,414,433,390,405,399,462,735,816,672,521,416,906,1348,951,1164,1250,1270,1294,1148,1178,911,536,653,1312,1486,1178,957,1172,1278,1356,1422,1500,1520,1394,1404,1472,1236,1172,1240,1230,1356,1656,1690,1340,761,512,635,1018,1064,1036,1228,1250,1220,1224,1266,1034,763,929,974,1116,1122,1204,1410,1116,817,1005,1064,1096,1150,1182,1244,1272,1376,1450,1426,1522,1682,1546,1366,1252,1372,1584,1410,1194,1232,1058,807,717,1198,1444,1786,1990,1582,1364,1396,1284,1608,1446,840,807,1100,1110,1023,924,1194,1654,1544,1768,1938,1478,1210,1390,1804,1936,1834,1904,1866,1578,1454,1512,1506,1194,1018,865,521,498,553,502,480,470,473,474,480,471,478,502,494,473,483,505,473,436,418,425,419,401,410,473,497,458,449,486,650,737,860,1264,1660,2000,1830,1482,1426,1332,1388,1478,1466,1458,1594,1860,1318,1394,1244,1238,1230,1222,1302,1328,1600,1538,1184,1638,1482,1078,774,825,1116,1510,1710,1604,1382,1138,1078,1324,1210,1078,998,1070,1338,1264,1350,1444,1226,1074,1152,1070,1036,1150,1396,1586,1372,1326,1056,977,877,882,1144,1278,1572,1262,820,683,804,949,1058,1290,1434,922,885,1238,1762,1598,779,346,599,836,466,720,1068,1080,838,850,1004,1116,857,446,399,692,982,503,416,605,509,429,617,818,801,661,562,676,952,938,803,463,433,702,747,695,495,852,1056,996,1054,1384,1528,1086,651,842,936,471,443,1246,876,403,392,481,573,455,494,619,537,659,832,1152,943,985,939,974,1144,725,744,1444,1056,484,633,505,501,1214,1390,1226,1120,1258,877,428,485,540,543,689,1218,1394,1156,693,818,1256,1188,836,824,870,646,588,558,707,734,552,475,596,396,286,477,507,365,422,1036,1428,711,463,574,1130,1090,1102,1362,1520,1174,845,929,747,557,720,803,784,532,419,525,681,837,864,604,554,555,715,1206,1470,1500,1556,1410,1286,1726,1886,1128,1028,1576,1180,729,898,877,784,1190,1144,1122,1284,717,423,744,1230,1280,988,866,1040,1234,1128,980,1254,1234,812,847,907,747,587,1060,1194,924,1132,1354,733,484,434,691,1030,1148,1412,1512,1144,1122,1052,996,689,445,483,518,750,1498,1322,1366,1526,1106,668,1026,1398,1246,977,843,1036,1332,1478,1330,1076,979,1226,1028,1070,1334,1338,1228,1112,1048,1102,1164,1032,871,1048,854,487,400,483,882,1030,1074,1158,1130,948,1050,1060,820,619,506,558,608,556,514,527,444,420,492,505,459,481,556,625,686,702,633,904,1146,904,628,430,359,364,342,310,339,368,437,354,337,350,347,418,515,510,717,798,606,550,631,760,1030,1470,1492,1064,857,611,956,960,921,1218,1262,1142,1376,1412,1258,1236,942,702,576,423,321,526,701,607,903,1328,1350,1268,1005,949,892,910,685,656,883,965,789,781,742,1110,1428,1300,1166,1306,1130,1534,1224,1092,891,630,799,1158,1428,1332,860,532,426,467,726,861,652,861,1202,1294,1354,1476,1288,1194,1220,1392,707,390,553,626,435,459,824,1202,1426,996,695,606,554,910,1192,954,1170,1476,1578,1434,1382,1394,1470,1718,1786,1528,1630,1692,1378,1168,1150,1734,1506,968,827,713,700,1080,981,604,629,675,1048,1264,944,894,1036,1426,1722,1314,763,767,1138,1092,525,813,844,760,653,670,1054,1250,1050,838,1002,1188,1396,1494,1484,1322,1170,962,678,568,702,869,1082,1094,816,849,1132,616,563,977,1454,1398,963,709,463,650,633,434,609,786,827,1292,1814,1470,1284,922,799,810,996,760,473,495,517,358,325,402,397,467,466,516,618,876,1324,1200,800,766,666,780,426,578,1326,1764,1848,1686,877,937,1762,1598,663,440,757,1220,1494,1304,664,738,1196,1632,2386,1752,692,318,385,428,577,1194,1050,696,1064,1066,1354,709,395,375,304,303,265,267,263,298,324,453,642,835,710,539,508,831,896,931,1476,1758,1072,619,428,339,299,281,318,371,398,385,447,848,1250,1366,1050,971,811,932,745,472],[437,444,490,628,721,569,532,811,908,683,743,888,977,1328,1498,1202,885,566,534,666,745,1050,1072,946,844,793,667,553,468,385,447,559,492,453,438,401,433,357,350,382,398,397,391,375,386,436,407,351,298,303,322,351,361,296,291,412,797,973,764,631,397,502,699,740,878,1604,1326,1512,1582,1128,1354,2044,1884,1720,1786,1528,1932,1172,642,572,869,690,791,1146,1100,1028,1100,1316,1498,1212,816,471,409,402,393,390,441,480,448,480,711,883,890,1072,1372,763,486,452,550,550,596,704,684,465,369,455,578,641,622,739,600,522,827,670,339,264,285,325,305,313,763,1560,1178,1452,1584,1456,1090,763,605,550,1310,1914,1504,1372,1448,1154,1324,954,464,697,899,1090,1144,1060,1023,714,741,1020,1180,1068,1428,1466,1218,1023,1108,1028,777,672,713,827,1148,1170,913,1240,1070,1020,919,1220,1432,1424,1184,1566,2210,1812,756,384,453,547,462,528,998,796,618,738,768,554,413,406,418,352,283,370,637,773,452,328,361,645,595,377,592,695,481,419,437,477,600,680,695,731,654,498,434,502,545,541,531,415,391,438,372,186,210,280,304,325,372,419,554,849,738,482,821,1170,1010,1056,860,659,448,366,364,428,436,532,1166,1872,1560,1440,1726,1738,1412,1214,983,1266,1220,1002,1090,900,631,711,912,914,566,1360,1614,1260,1017,1266,948,620,1012,1384,1296,1148,929,1164,874,756,876,574,559,654,1034,1404,960,1050,1234,1350,1840,1600,1340,918,832,742,589,694,1074,1108,661,603,758,516,499,871,1616,1616,1216,1021,1288,1166,717,509,664,841,506,403,381,361,311,349,499,702,1226,1438,985,497,429,477,547,565,415,454,965,1106,955,763,492,485,613,722,823,824,719,500,700,1162,776,645,753,1166,1140,1160,899,968,1376,1206,922,1240,1242,1272,1148,723,661,604,848,1001,963,662,449,763,1140,906,587,717,879,830,906,1108,1218,1204,1232,1044,840,1001,1216,1362,1172,1240,1428,1422,1338,1372,1382,1240,1230,977,873,1164,1254,1218,1406,1368,1136,1096,1284,1136,656,422,358,389,403,564,895,866,896,1150,1302,1050,929,731,444,383,422,731,1374,1698,1718,1452,910,684,684,875,1110,1300,843,976,1312,1384,1238,844,505,717,755,705,982,1384,1342,1226,1080,989,1166,1296,871,789,1350,1938,1714,1298,1182,1250,1368,1372,1390,1142,1007,1002,749,496,521,545,630,697,655,596,704,754,797,674,780,741,402,360,504,890,1222,1200,1080,859,905,1003,994,1230,1514,1412,1160,983,1028,1140,951,618,523,431,425,480,877,1184,1280,1156,1174,1274,1414,1444,1310,1240,1288,845,995,1242,1066,797,875,1128,1178,1030,988,1232,1330,1396,1242,1186,1334,1132,625,758,940,767,631,608,468,472,542,446,799,1001,831,1320,1660,1050,1066,1332,1382,1758,1392,1276,1154,1152,1844,2028,1602,1360,1526,1438,1410,1644,1372,813,1021,981,841,549,444,580,670,700,554,530,631,964,1128,808,922,1005,882,832,872,1244,1256,896,924,1102,914,1110,1310,1000,1294,1382,1264,1190,878,1022,1154,1462,1650,1612,1630,1244,894,710,794,1100,882,1382,1122,929,1214,1074,870,604,681,1044,1704,1302,596,672,749,697,590,382,379,417,558,1058,940,566,753,1044,952,1028,1324,1136,850,735,1028,963,780,868,663,529,724,590,818,1464,1472,1510,1310,1698,1312,1021,1110,1102,1084,816,594,581,513,465,569,921,1368,1800,1778,1522,1356,1274,1084,893,871,835,738,521,440,555,542,646,702,917,1100,1122,1202,1066,709,631,637,824,1318,1730,1190,810,753,970,910,683,760,1062,1090,1012,951,1112,1188,971,681,852,1054,1324,846,481,537,494,500,548,703,786,520,489,545,634,638,522,651,706,706,745,598,545,529,617,1022,1516,1376,1164,1184,1136,964,963,1023,1166,1148,1060,1052,1144,983,848,862,996,987,1042,963,1015,1030,996,1112,1024,1198,1394,1062,1042,1142,1496,1296,1206,1138,1230,933,670,895,1296,1278,1296,1152,1005,991,880,1036,1186,1188,1192,1266,1276,1276,1526,1460,1288,1240,1216,1104,1152,1244,1156,1210,1204,1098,826,736,927,1152,985,1340,1208,1064,1102,919,590,574,664,696,667,623,808,1086,988,1362,1436,1282,1920,2330,1766,2414,2856,2234,1622,1622,1414,1036,1072,1448,1432,1260,1144,833,904,1036,1438,1568,1514,1470,1316,1416,1598,1402,1302,924,745,762,1140,1062,939,980,695,376,580,1060,1074,853,716,648,537,491,532,653,787,1002,949,495,385,407,722,993,461,409,391,311,288,243,273,285,289,319,313,328,320,325,295,335,378,351,373,422,444,425,422,417,371,389,388,359,367,394,412,373,312,361,421,393,339,302,284,307,290,288,290,318,379,361,368,420,421,450,610,742,702,569,370,395,622,797,1458,1376,1668,1606,1208,1078,866,745,542,1282,1568,1302,1302,1490,1610,1664,1636,1676,1706,1566,1522,1268,724,912,1234,1120,1246,1092,670,466,463,504,474,717,1106,1198,1130,1218,1224,1224,1514,1240,867,925,1050,1132,1092,1094,1314,1232,1082,1282,1366,1416,1444,1416,1360,1516,1914,1878,1548,1506,1548,1354,1306,1178,1350,1404,1390,1188,1046,723,544,646,963,1276,1590,1648,1374,968,869,1560,1906,1422,764,867,1106,989,1028,1118,1330,1472,1368,1972,1818,1498,1462,1412,1208,1226,1776,2194,1840,1584,1636,1594,1624,1448,1300,1058,609,525,496,462,480,480,478,478,487,488,494,465,466,440,450,471,471,457,431,449,463,418,424,500,531,458,416,411,451,574,714,938,1412,1896,1854,1622,1440,1414,1748,1384,1446,1222,1400,1500,1416,1250,1358,1492,1328,1290,1358,1374,1434,1148,1112,1400,1440,974,827,971,930,1058,1382,1654,1580,1226,1122,1130,838,1018,1110,1134,1150,1132,1174,1366,1484,1390,1264,1122,1238,1488,1498,1364,1023,1009,1056,922,938,911,639,979,1476,1200,814,628,789,683,1014,1346,1588,1128,842,1230,1772,1548,868,552,976,1166,579,993,917,609,708,1364,1502,1238,1021,496,443,883,1248,623,421,558,478,502,705,849,657,566,603,683,943,1170,1512,775,580,1060,1634,1392,740,651,977,1190,1794,1920,1464,1192,720,656,761,465,283,809,813,558,543,696,852,646,728,802,921,711,691,1013,1098,1082,801,725,1050,966,679,1228,1074,425,469,739,1266,1846,1638,1194,1021,1216,1064,460,485,480,471,550,813,1250,1256,816,743,1296,1502,937,979,1100,764,477,571,576,381,241,261,326,289,266,380,406,289,388,956,1218,544,440,545,1076,1144,1128,1448,1628,1288,1106,1494,1700,1492,1290,893,749,799,760,916,963,797,774,738,715,653,619,925,953,1128,1494,1818,1522,670,554,593,1092,1698,1336,794,1090,1312,1368,1678,1316,1028,697,519,456,937,1644,1588,896,625,936,1328,1116,865,1134,966,606,749,708,882,1016,1082,1154,750,634,689,447,545,924,1542,1660,1250,1366,1512,1290,1078,966,965,1172,875,614,792,631,985,897,883,1290,1252,1018,1240,1172,831,702,601,703,1356,1418,1298,1208,1330,1234,761,931,1232,1286,1326,1296,1234,1134,1142,1182,1064,1140,1270,1120,700,681,1338,1470,1222,1160,1084,1224,1178,949,881,767,781,632,580,597,543,472,437,410,436,457,449,551,615,747,737,757,720,528,486,769,969,825,426,448,482,374,428,457,410,332,317,352,377,935,1496,1144,672,551,478,444,497,568,889,1009,1088,975,597,512,697,626,569,510,628,1032,1224,896,1168,1490,1328,1198,1005,672,835,1408,1134,1090,1350,1632,1732,1218,771,947,1350,1210,919,729,763,740,522,507,670,1088,1078,874,1110,1246,1420,1130,943,1172,1130,1100,1182,1180,1356,1620,1506,939,543,936,1498,1120,633,809,845,606,771,1164,913,913,1264,1272,617,335,310,308,318,333,373,687,1006,964,758,494,805,971,932,866,1086,1524,1576,979,782,1206,1516,1628,1434,979,1310,1404,1224,892,1076,1446,1184,648,563,634,1021,1512,1448,1222,805,582,949,973,785,807,892,1146,1094,946,827,1122,1136,800,650,1426,1142,722,803,917,1162,1418,1388,1456,1438,1470,1754,1700,1466,1192,1050,842,612,477,522,815,1432,1438,1164,1462,1612,861,911,1490,1898,1408,824,755,822,793,423,373,433,479,678,1282,1644,1434,999,703,520,456,478,375,404,652,802,541,393,440,462,413,454,618,629,592,918,946,796,1170,752,886,483,412,868,1360,1804,1590,865,750,1380,1394,852,489,657,1128,1246,1114,632,656,799,1416,1970,1438,555,305,329,335,477,913,622,790,1338,1510,1580,984,401,448,466,279,266,290,333,356,316,445,584,747,664,691,808,797,767,627,1298,2228,1648,784,382,372,432,501,610,613,500,391,555,778,706,1080,988,996,896,1146,1136,787],[545,515,508,546,633,700,821,1448,1430,925,1024,1124,977,1136,1278,1144,927,589,688,802,764,1338,1354,1072,895,741,601,499,411,392,396,502,513,517,405,363,379,320,290,342,373,394,419,377,355,366,355,309,268,298,339,350,384,398,362,377,626,826,652,536,342,525,744,944,847,622,1150,1914,1592,1190,1318,1826,1896,2272,1842,1812,2162,1080,540,487,765,1005,1023,894,894,1152,1484,1696,1222,913,799,536,410,452,474,406,382,448,516,729,1002,1334,1426,1454,1578,1120,577,691,832,602,589,632,574,404,364,422,513,578,602,732,661,744,843,549,327,351,443,443,384,342,639,1090,1070,1448,1512,1538,1404,1172,1160,927,1170,1310,1434,1252,1080,938,1216,785,400,430,562,773,649,775,982,637,672,807,920,1226,1510,1334,1154,980,1062,929,513,681,1011,949,1214,1164,1064,1298,1102,1142,1056,1416,1680,1180,868,1196,1882,2002,1050,459,349,579,478,462,1120,1124,841,858,807,514,359,433,391,376,356,314,491,451,370,357,425,869,893,701,1100,1044,445,360,407,537,951,1340,1416,1448,1142,586,424,466,571,615,573,417,347,338,274,168,232,275,267,294,335,407,693,844,616,1242,2004,1660,1116,1356,1380,1086,818,667,409,391,306,436,929,1466,1060,1340,1806,1960,1636,989,958,1310,1038,936,1054,1088,1214,939,836,1028,979,1338,1342,1180,966,881,977,1032,1206,1282,999,996,1146,1074,761,819,788,656,559,498,808,996,1028,1660,1028,1052,1572,1936,1686,1130,663,475,456,632,992,1026,937,1122,1058,589,613,714,1036,1610,1544,1288,1001,593,599,474,457,699,821,506,377,379,317,487,667,604,568,775,845,437,356,453,586,553,454,660,905,698,613,824,847,620,721,839,722,514,650,497,431,626,623,653,932,1230,1248,1096,931,1005,1100,1242,851,1230,1370,1156,860,752,835,819,954,986,821,570,555,719,635,526,810,814,968,1190,1312,1300,980,775,841,841,844,888,790,995,1184,1268,1298,1022,1013,1190,1136,1078,1140,769,641,1174,1452,1224,1076,919,852,973,1068,1012,817,599,365,369,545,1094,1130,687,541,937,1160,1284,1114,662,447,379,560,1122,1574,1696,1588,926,828,1174,1058,1002,949,1086,1330,1422,1484,1338,1214,1206,890,848,798,1030,1258,1476,1364,1104,796,700,1256,1266,1144,1242,1638,2286,1844,1278,1186,1164,854,861,1110,1104,1130,1136,912,579,630,663,721,814,766,691,705,638,656,624,561,616,433,362,565,1520,1824,1134,698,655,940,1134,1168,1420,1506,1070,1016,1015,897,962,1036,902,684,536,440,639,912,1262,1380,846,1015,1132,1138,1222,1096,1228,944,883,1202,1250,1166,937,730,1030,1296,1330,1204,1512,1246,1174,1294,1200,1188,899,505,752,1410,1566,1144,950,731,669,424,415,1050,1392,1470,1482,1238,872,1124,1382,1644,2024,1858,1342,1248,1576,2034,2114,1360,1120,1340,1390,1526,1600,1434,1140,952,1106,1302,1010,681,806,1015,931,540,499,730,952,905,861,1122,1172,1194,918,730,700,703,510,563,703,869,1462,1072,577,1110,1238,1340,1862,1500,1164,1142,1202,1142,1196,1504,1548,1508,1210,1252,1318,1016,1340,1100,1104,1304,1418,1114,989,1108,846,1192,769,640,858,932,821,863,769,552,455,768,1070,819,821,1028,1332,667,732,838,880,794,735,1166,1100,835,930,1040,1406,1546,908,908,1226,1680,1586,1422,2286,1682,1146,1448,1288,1208,1007,628,534,771,707,651,921,979,905,866,1278,1440,1284,1056,671,689,1052,1240,1168,751,665,487,587,613,686,813,1114,1514,1076,678,744,813,1060,1586,1368,985,677,797,1128,1164,996,841,716,786,1240,1172,794,631,745,1044,1500,2010,2014,1396,874,532,531,560,580,731,814,573,753,670,533,514,850,1632,1714,1482,1278,998,1046,976,935,1124,1396,1362,1290,1350,1216,910,926,1262,1280,1328,1368,1294,1174,1054,901,996,1114,984,905,990,1230,1106,828,922,997,842,981,1188,1130,1032,1136,1204,1092,1114,1234,1204,1108,1120,1226,1164,1238,1108,1186,1036,1072,1198,1262,1086,980,1182,1242,1186,1310,1354,1260,1442,1316,1272,1346,1030,761,1118,1568,1120,949,1001,738,1156,1312,1726,1490,987,2320,2168,860,559,582,746,703,659,714,921,986,1160,1498,1382,1494,1570,1696,2216,2426,2142,1752,1662,1412,1182,1226,1300,1274,1202,1046,822,737,1106,1396,1562,1528,1334,1196,1082,1284,1212,1154,1182,956,1050,1218,1036,910,948,794,872,1418,1682,1342,1066,864,806,650,452,391,692,951,1136,1274,852,608,398,633,1004,604,408,394,327,233,240,331,332,330,382,382,429,369,326,320,325,357,354,347,381,385,412,448,438,393,418,420,386,396,386,359,365,320,336,405,414,384,381,320,256,202,245,283,353,373,396,432,391,371,395,613,780,714,648,576,561,597,726,1084,1262,1314,896,496,403,433,634,561,1134,1402,1194,1516,1704,1584,1608,1556,1464,1440,1464,1510,1306,1116,1234,1506,1172,992,662,441,497,443,397,289,343,752,1220,1104,1222,1272,1230,1410,1160,829,874,924,972,1013,985,1182,1338,1236,1372,1384,1312,1374,1332,1350,1546,1598,1632,1528,1480,1626,1238,1054,976,762,704,767,758,709,577,536,548,786,1094,1236,1360,1534,802,594,1286,1762,1256,775,1114,1292,1208,1272,1238,1150,1348,1344,1416,1416,1478,1456,1558,1348,1310,1696,1766,1410,1408,1550,1452,1614,1692,1632,1286,683,466,429,406,452,489,490,451,468,480,480,469,489,459,457,467,480,509,510,477,452,449,464,444,443,392,371,378,391,426,516,659,924,1250,1476,1588,1738,1462,1500,1500,1722,1236,1106,1344,1252,1058,1400,1496,1386,1444,1518,1334,1048,959,1102,1444,1526,1356,1216,981,941,922,908,1268,1574,1130,1136,1110,865,973,1126,1204,1360,1340,1050,1220,1476,1382,1402,1360,1450,1516,1342,1200,1034,770,877,1134,1132,1068,811,882,1322,1466,724,415,769,891,923,846,872,1007,940,1070,1360,898,667,502,650,596,852,1536,1052,490,664,1082,1230,1082,880,550,861,1468,1438,662,377,368,497,769,1011,1080,904,974,882,905,965,1268,1640,869,813,2242,4256,4500,2222,587,984,1252,1656,1516,1154,1001,613,334,363,309,291,517,603,564,834,1048,858,478,672,949,1014,605,615,1276,1376,681,405,649,1394,1160,513,651,755,568,1138,1562,1758,1636,1406,1276,1404,1156,1144,530,522,442,338,372,422,438,721,1106,767,691,1038,641,549,695,757,656,658,524,326,272,299,283,271,258,303,339,298,397,1003,977,462,310,639,960,804,841,1126,1232,967,878,1746,2612,1526,1108,711,554,765,948,1152,1412,1328,940,1086,874,635,594,949,919,1178,1460,2188,2058,995,468,601,852,934,913,736,756,1238,1650,1674,1416,1044,1066,1094,671,866,1252,907,797,882,897,865,655,538,615,477,532,796,708,884,1216,1028,846,480,377,458,670,731,1016,1732,1776,1436,1390,1562,1478,1222,1023,922,1302,858,509,757,605,842,722,679,966,1032,1088,1174,844,570,697,872,902,1268,1158,1196,1288,1240,1144,1023,1256,1512,1352,1266,1252,1200,1142,1124,1264,1288,1132,1332,1560,1196,1226,1746,1604,1384,1390,1436,1640,1352,1092,1236,1294,1140,673,681,968,661,440,393,360,387,428,487,543,613,714,686,690,673,510,386,318,628,1140,1001,543,455,412,523,725,711,667,471,368,567,1440,2106,1978,1646,1170,801,619,466,807,1430,1166,821,725,879,905,876,672,696,643,564,1064,976,1040,1108,1228,1430,1548,1450,1032,999,1312,980,955,1212,1566,1890,1614,1052,1196,1376,1260,1416,1248,778,631,575,510,513,673,677,991,1196,1300,1474,1168,873,1028,1144,928,722,927,1078,1084,1262,1048,620,792,1124,845,399,356,377,323,360,482,779,1064,1216,1015,623,288,325,373,320,320,298,347,644,1004,642,368,535,586,604,908,982,908,1094,841,673,692,783,1334,1406,1036,1250,1264,1038,1104,1040,1010,854,697,508,565,1138,1606,1412,1164,768,498,938,1254,959,736,928,978,686,739,1308,1854,922,461,1054,1780,1282,814,899,815,988,1186,1274,1484,1216,1912,2054,1470,1118,1146,1260,1376,1128,544,587,963,1404,1314,1052,1444,1710,1274,1600,1750,1508,930,495,553,702,728,495,321,336,446,977,944,867,1114,952,623,760,1170,890,550,628,809,609,512,435,399,514,595,1058,1178,626,536,745,894,792,1460,1070,905,637,508,883,1598,1662,1218,694,356,529,1112,1376,597,865,1530,1296,716,706,1166,1258,1428,1990,1594,563,339,327,373,451,576,479,1034,1478,1548,1540,812,455,373,420,293,298,338,382,415,399,334,429,701,917,1316,1630,937,634,629,1300,2496,2442,1194,522,583,603,606,635,588,492,527,701,613,513,830,910,780,748,983,1290,1106],[545,587,557,648,747,824,1116,1480,1396,1186,1072,895,952,1062,1134,1250,883,717,1072,1084,1272,1668,1320,883,696,570,498,492,414,396,411,499,549,511,386,378,377,289,270,330,354,377,374,299,346,343,339,332,330,349,358,393,466,480,396,461,536,701,655,488,404,521,628,686,677,593,1116,1702,1316,1324,1350,1416,1460,1662,1382,1100,1194,839,494,462,644,977,742,496,608,945,1218,1220,741,579,556,520,507,541,615,679,606,524,547,762,940,1422,1530,1046,1152,1136,986,1318,1092,828,960,713,597,449,387,539,670,639,636,663,697,727,583,469,382,414,628,926,707,483,545,689,926,1322,1386,1504,1516,1524,1748,1356,1104,960,998,1088,1088,1042,958,597,517,490,493,583,626,585,787,571,575,617,730,724,565,601,806,1336,1636,1268,717,748,939,919,1044,904,803,947,882,662,781,1334,1388,1088,1106,1416,1992,2048,1274,607,395,1006,785,621,1082,1346,1110,672,597,428,333,409,395,398,368,264,354,370,332,358,458,796,966,1100,1282,871,412,382,409,630,1238,1566,1594,1704,1320,527,436,495,683,891,916,762,500,289,187,178,293,321,296,345,353,462,900,780,529,1456,2382,1628,925,993,1080,851,872,893,955,774,599,571,1080,1100,919,798,861,1334,1438,870,872,871,689,676,841,1210,1110,756,1030,1196,1238,1222,1252,1338,1052,958,1154,1840,1730,1432,1308,1328,1746,1866,1974,1664,1023,952,1034,626,470,330,720,1492,1068,470,653,1348,1924,1544,696,588,759,1114,1242,1092,994,1096,948,777,858,832,866,906,843,1090,1028,646,542,599,572,634,1244,990,492,388,428,610,720,763,814,775,616,468,595,804,745,452,465,662,661,532,568,877,1158,1084,1122,1118,1000,603,785,653,488,563,540,706,1120,1394,1550,1384,1234,833,821,1192,1108,1330,1524,1146,710,686,611,595,874,758,432,538,866,1196,1122,1028,1302,1278,1288,1364,1512,1400,832,466,667,1036,1258,1104,590,555,885,1210,1144,954,1052,981,783,1001,1338,1120,989,1228,1396,1250,1158,816,526,605,1080,1256,1074,827,517,466,802,1182,790,494,563,734,943,1094,725,353,361,439,881,1458,1660,1716,1098,568,862,975,1362,1620,1162,1282,1536,1656,1284,975,1172,1254,1404,1130,930,1166,1344,1476,1274,1140,883,775,1300,1118,1298,1368,1766,1654,1006,810,794,623,541,741,1086,998,1124,971,915,686,647,625,606,661,669,660,617,525,469,424,475,436,364,514,882,1690,2188,1394,637,800,1056,1136,1088,1454,1394,1138,952,1076,1164,1019,796,616,743,817,689,692,667,973,1118,1054,1006,883,1166,1250,1018,1024,911,1086,1152,1046,1250,1106,850,1236,1456,1318,1170,1288,1096,1134,1220,1190,1196,1158,912,1026,1448,1514,1340,983,649,705,755,834,836,952,945,940,1034,888,1224,1358,1434,1502,1706,2054,2164,1686,1910,1832,1358,1422,1196,977,1284,1520,1610,1570,1144,1256,1384,1406,1318,1174,1064,1004,625,651,968,1001,940,1048,1002,1054,934,601,667,897,779,615,692,824,836,951,761,628,764,929,1004,1368,1410,1250,1200,1186,874,606,999,855,987,1248,1344,1488,1390,1138,1224,1064,950,1314,1334,1482,1584,1422,1062,804,651,767,800,811,993,881,701,769,1472,1360,681,977,1110,1616,1270,789,915,869,493,350,639,1050,1198,1054,1122,1572,1444,979,1144,1366,1224,1084,1376,1764,1268,1134,1296,1158,1058,1094,850,695,826,1396,1274,984,735,482,838,1466,1762,1616,827,771,850,1114,1256,1016,1120,1190,1196,1058,742,523,648,1324,1472,1330,1015,880,880,1268,1268,977,677,512,634,791,999,1262,965,888,630,774,972,783,689,735,810,1310,1650,1442,1366,1026,511,459,402,428,511,475,724,1244,1014,757,683,776,1110,1021,882,1106,1240,1278,1328,1200,1084,1062,1072,1208,1316,1192,1110,1302,1412,1268,1354,1390,1174,1048,929,819,1016,1098,921,910,1072,1044,894,780,836,1068,805,791,1216,1322,1052,1078,1334,1162,954,1009,1208,1170,980,1328,1258,1100,975,1040,1138,1202,1110,935,965,1005,1246,1498,1434,1306,1298,1450,1590,1382,1242,1096,1068,1154,1360,1584,1428,1232,1230,896,1184,1428,2048,1750,1230,1608,1314,1454,1836,1068,748,670,736,614,630,672,774,1214,1400,1646,1566,1552,1854,1738,1502,1786,1678,1382,1426,1396,1178,965,811,795,674,884,1252,1418,1656,1416,1290,1190,1108,1118,837,1066,1124,1026,1128,1046,1056,744,845,1020,1230,1086,1004,1030,981,861,805,792,660,493,434,407,796,937,702,535,315,528,833,606,382,388,317,255,275,330,338,404,426,430,476,433,381,347,340,365,355,364,340,299,341,445,461,403,414,474,466,413,363,320,284,283,347,417,433,427,407,365,239,198,222,264,344,369,392,376,356,354,450,690,700,561,502,571,841,850,495,335,388,465,286,235,273,285,421,493,996,1186,928,1406,1702,1492,1484,1384,920,883,1092,1288,1304,1428,1538,1392,1013,722,565,740,648,386,342,302,328,456,1160,1228,1140,1200,1220,1384,1300,829,847,890,1003,1072,1021,1158,1372,1126,1238,1482,1198,1001,1268,1626,1594,1458,1556,1406,1178,1194,1036,829,891,903,914,966,1007,777,682,663,590,741,870,996,1670,1664,935,602,1322,1950,1380,1002,1446,1616,1236,1230,1266,1302,1554,1100,897,1004,1011,1182,1316,1316,1642,1944,1878,1184,872,874,954,1212,1228,1384,1288,716,494,498,470,462,486,507,468,514,505,463,456,437,431,458,464,458,456,514,495,445,440,460,479,447,411,350,336,376,394,429,527,722,906,1210,1528,1882,1596,1304,1538,1462,1328,1366,1538,1692,1512,1448,1318,1452,1466,1506,1406,1118,1234,1546,1644,1612,1456,1266,1078,1001,882,955,958,1080,840,968,1190,1178,1050,1206,1248,989,736,819,1034,1080,1372,1638,1590,1400,1268,1016,987,977,806,888,991,901,825,844,835,1116,1302,932,675,599,785,891,668,897,1290,1008,1238,1654,697,484,622,684,610,726,853,610,478,567,819,885,944,952,535,890,1208,922,577,486,431,480,628,881,1136,944,1126,1418,1310,874,800,963,669,942,2944,5628,5856,2756,540,498,587,787,843,1050,993,725,422,315,519,674,592,550,423,877,1140,748,445,478,851,932,750,757,1326,1412,597,420,918,1770,1466,648,448,476,487,909,1144,860,842,1168,1732,1774,1144,1206,655,368,336,313,359,369,393,709,777,393,385,420,314,288,347,694,834,834,735,498,285,278,296,307,281,260,314,413,495,863,761,744,637,743,1112,843,696,672,591,683,888,1122,1360,957,747,458,477,599,890,1224,1460,1410,845,950,875,910,1021,813,541,767,910,1230,1348,999,803,931,1076,934,684,502,388,666,1444,1544,1258,1080,1056,1068,651,686,947,1228,1538,1238,1112,1232,1042,846,746,673,631,723,772,632,750,483,323,359,364,521,717,959,884,1360,1722,1404,1262,1134,1000,1042,922,648,813,815,587,574,829,1122,818,766,1104,863,719,1032,738,691,1156,1246,1174,1214,1216,1328,1310,1054,867,902,1024,1190,1244,1314,1384,1218,1092,1084,1036,957,1096,1164,1136,1382,1608,1762,1456,1112,1250,1410,1516,1334,1196,1278,1454,1246,656,545,648,486,426,368,336,343,424,545,591,677,697,675,653,601,550,410,344,408,619,1090,1266,896,541,456,659,1180,1256,865,828,885,1246,1566,1636,1296,1484,1936,1362,513,901,1202,1248,925,744,979,1148,1164,1182,1422,1230,901,1256,1208,883,860,1156,1278,1572,1468,1276,828,930,1086,1108,1020,1334,1548,1100,847,951,940,1112,1408,1256,1040,1316,1226,778,486,513,480,631,917,1128,1124,943,828,985,878,681,675,851,1062,688,836,1094,959,652,525,626,426,348,331,328,365,520,766,981,1236,1482,839,339,622,739,403,284,256,278,618,816,549,502,691,681,559,697,558,463,780,921,844,735,456,844,1526,1638,1602,1248,1416,1598,1150,1340,1174,798,627,564,1390,1806,1438,1244,1194,1050,1532,1736,1280,1110,981,842,808,856,1400,1516,809,526,825,1102,825,529,631,758,1208,1136,1214,1394,1176,1560,1538,1224,976,1028,1312,1782,1628,843,1218,1154,927,991,836,1240,1328,1284,1510,1328,1096,954,897,684,858,679,576,494,583,614,880,1104,1178,1072,897,783,883,1416,973,1001,1460,1304,671,624,637,593,450,803,1664,1434,612,490,539,841,868,1172,985,1170,1076,588,693,1274,1470,1034,581,403,544,1558,1906,895,868,1574,1432,1132,1532,2046,1896,1576,1512,984,575,360,310,331,531,567,547,1108,1546,1544,1210,656,459,370,416,336,332,324,309,343,349,298,478,1132,1338,1346,1400,742,544,552,1180,2370,2888,2252,1198,640,531,490,476,556,838,727,613,581,485,578,819,761,609,812,1006,900],[743,769,791,996,1013,974,1034,1108,1130,1022,1064,1013,1094,902,882,1086,937,850,996,1104,1510,1484,936,609,448,441,456,523,441,389,444,507,545,503,414,419,406,386,392,375,361,344,344,327,325,329,340,347,337,337,374,422,455,440,355,507,684,690,566,428,957,1598,1416,984,976,802,1072,1340,1100,1009,1158,1396,1290,1180,1076,844,983,929,639,632,868,1180,767,653,550,575,716,630,436,386,410,438,488,610,690,771,643,504,458,473,766,1396,1262,543,703,1178,1416,1206,833,863,1332,1024,725,499,379,535,731,799,631,614,681,661,471,485,508,420,547,925,812,817,961,922,1132,1426,1372,1444,1244,1292,1332,852,590,480,364,628,762,745,561,500,720,460,474,609,684,1014,1342,704,489,441,615,668,595,493,439,625,720,785,901,890,915,1146,1164,1102,827,927,901,531,653,1056,1056,1326,1244,834,860,1288,1116,621,385,435,513,590,791,1274,1268,717,718,669,450,357,390,333,251,224,253,321,457,530,389,540,719,874,984,601,391,380,379,799,1410,1548,1610,1626,1200,485,431,497,731,1038,980,836,579,308,199,219,309,325,361,415,379,707,1028,680,507,1290,1784,1384,1030,836,1074,694,1010,1200,1224,894,847,912,1158,1001,822,697,872,1484,1620,1322,967,1064,1154,769,742,979,1196,1202,988,725,659,868,1168,1300,1256,1080,1646,1982,1628,1572,1470,1382,1430,1440,1426,1140,822,869,1058,662,480,426,414,714,676,487,574,1158,1578,1174,783,653,707,1023,1190,994,869,870,827,980,1276,1346,1154,689,451,684,1202,916,602,675,633,975,1700,1424,735,389,358,442,503,798,870,719,810,1330,1710,1882,1290,680,812,1023,732,431,435,800,1168,1198,1102,1704,1494,904,1118,913,615,630,641,877,1276,1390,1462,1390,1172,739,661,952,1082,1134,1294,1208,861,456,484,595,645,709,831,986,1206,1238,1238,1332,1156,844,1004,1406,1682,1418,921,633,943,1160,1012,933,757,639,847,1144,1136,949,914,901,855,1126,1366,1148,1152,1172,1166,1122,962,716,565,700,1102,1136,1092,855,755,736,1094,962,513,468,585,715,738,609,432,313,400,684,1256,1642,1750,1324,745,436,521,756,1440,1544,1144,1312,1708,1616,1020,874,1178,1330,1244,957,1166,1152,1046,1464,1072,1314,1302,942,752,629,738,735,991,967,749,890,955,631,573,619,1024,1196,1492,976,799,761,603,497,536,536,592,702,742,684,508,538,579,649,613,686,816,1166,1724,1444,972,1021,1250,1324,1522,1534,1412,1092,1108,1128,1060,1044,920,808,921,1190,974,1100,1142,1180,955,1142,1066,855,1158,1264,1208,1244,1340,1266,1078,1316,1560,1152,1088,1440,1490,1268,1003,1007,1148,991,1002,1290,1330,1274,1044,931,1078,1334,1174,926,791,749,878,1150,1284,1110,689,852,1036,1078,1288,1344,1222,1110,1116,1764,1866,1518,1496,1296,1182,1082,957,645,955,1506,1764,1666,1504,1332,1188,1252,1562,1354,937,897,722,915,1448,1304,852,616,565,816,918,790,902,915,940,1388,1140,1158,1056,810,670,649,561,755,1116,985,747,849,979,752,702,662,912,799,791,603,625,1048,1166,1260,1484,1404,1246,1044,1390,1378,1560,1524,944,739,702,808,783,645,661,719,783,1140,1496,1304,781,807,1004,1428,1124,793,1312,1412,762,355,343,487,930,1182,1360,1170,1208,1122,1290,1504,1244,1034,1376,1370,712,479,572,838,882,930,782,742,1016,1400,1378,1522,1246,683,549,772,1128,1154,835,1352,1228,1310,1404,1522,1280,965,1116,1350,1296,870,902,1386,996,797,883,915,1316,1526,1356,1110,641,439,389,404,791,888,880,956,817,613,448,603,844,705,500,652,818,996,983,825,643,801,1262,1374,968,653,782,1003,823,633,680,614,519,597,720,1098,1226,1236,1360,1312,1054,904,904,993,1248,1482,1302,1344,1458,1382,1426,1370,1022,1088,1092,1038,1074,976,886,1007,913,782,817,905,881,953,980,965,1074,1286,1086,1042,1176,955,842,904,1138,1234,1418,1462,1378,1084,783,819,937,996,818,661,1094,1258,1456,1476,1274,1262,1398,1558,1336,1336,1252,1166,1076,1318,1448,1248,1394,1306,1202,1112,1296,1286,1310,1404,1564,1370,1336,1726,2472,1750,896,586,634,570,595,625,882,1040,1072,1396,1530,1670,1956,1844,1578,1504,1412,1506,1510,1236,935,623,535,571,705,1154,1376,1452,1466,1372,1254,1124,1010,689,729,1208,1230,1060,1100,799,772,734,847,813,1036,1074,995,968,1007,885,686,750,695,452,412,464,574,453,383,483,466,585,823,707,388,381,327,348,332,308,328,398,440,463,433,362,350,363,408,380,320,291,336,304,313,408,434,400,379,401,405,365,331,299,290,291,314,401,415,430,447,383,247,204,236,270,301,352,404,360,350,412,607,669,568,401,313,375,600,568,270,272,302,277,254,340,537,468,375,417,969,1250,1174,1556,1696,1596,1556,1240,931,1102,1228,863,629,727,1228,1356,733,519,756,922,476,344,360,369,499,843,1352,1354,1160,1114,1234,1312,1276,810,857,915,1034,1106,1042,1180,1340,1214,1360,1448,1254,1290,1532,1550,1516,1368,1354,1005,721,728,838,895,914,886,894,838,927,899,890,745,647,721,730,1178,1646,1566,1162,741,1088,1614,1404,955,1454,1584,1188,1314,1360,1384,1708,1400,1056,1040,1088,1146,977,1186,1782,1836,1632,1046,777,760,760,767,828,1198,1296,659,464,478,499,484,486,483,487,561,530,473,461,435,440,450,426,433,492,510,516,497,485,487,468,464,459,398,339,361,379,409,460,576,737,898,1234,1660,1618,1470,1532,1594,1620,1432,1794,2820,2284,1456,1472,1762,1898,1650,1432,1268,1332,1450,1472,1602,1490,1382,1292,1112,1007,914,940,1094,950,802,1152,1310,1158,1274,1348,1018,772,1282,1322,936,1014,1434,1632,1560,1324,1044,1010,1021,1242,1298,951,898,1046,1154,1062,1092,1010,1054,1090,907,898,838,879,1264,1066,722,1004,1120,733,609,661,832,755,663,788,913,528,426,697,1070,1426,1128,543,429,477,401,456,629,688,483,594,643,771,796,1334,1672,1260,772,507,499,510,625,2156,4760,4488,1706,507,409,407,527,583,664,716,618,500,378,613,1064,1072,768,543,781,1004,840,526,418,830,1572,1750,950,824,760,611,952,1118,1128,949,712,656,604,584,560,451,466,594,912,1748,1680,1130,1152,774,388,331,319,379,488,422,345,242,205,246,262,342,346,727,992,778,681,873,656,424,675,419,387,547,460,495,762,859,610,505,921,843,904,1398,1064,618,419,348,559,774,762,1012,1638,1294,561,404,492,700,1082,821,648,506,955,1504,1916,2104,1400,730,689,866,1156,1204,1050,1058,1130,1142,616,456,372,354,278,995,924,673,880,575,401,547,756,768,1350,1332,948,1094,1440,1590,1440,981,922,1116,697,703,419,381,373,478,632,540,765,880,814,733,927,1344,1110,1136,1030,1034,1017,792,810,919,1116,1092,973,1172,1614,1396,1136,1001,837,568,1030,1016,736,951,952,886,985,1188,1268,1292,1044,665,639,802,1178,1258,1368,1500,1262,1134,1220,1294,1334,1254,1194,1274,1338,1228,1246,1106,1042,1138,1298,1322,1278,1110,1138,1356,979,583,495,565,528,440,386,354,421,474,484,633,730,717,745,673,607,550,473,421,387,344,558,1050,1330,1122,667,576,1050,1182,1090,929,771,1034,1138,1168,1019,1001,1720,1448,1010,1208,1108,1272,992,1274,977,572,697,1062,1472,1366,1194,1158,1102,1310,1504,1544,1456,1582,1506,1302,921,875,894,1036,1122,1388,1378,1142,992,918,1028,1468,1254,975,1084,1450,1630,1007,601,705,509,500,890,1320,1260,901,577,571,795,893,988,1140,755,430,457,597,778,775,813,1224,878,608,366,362,378,449,824,1248,1558,1224,485,411,461,514,529,380,325,425,500,609,718,724,767,827,454,482,595,812,658,678,905,911,586,703,1134,1628,1786,1478,1776,1606,1356,1120,1022,559,609,993,1838,1870,1186,1072,1270,1170,1130,825,755,1013,700,626,827,993,941,693,494,340,308,421,446,342,394,670,899,1378,1600,1268,1104,1302,1342,1086,828,990,1128,1448,1444,1028,1268,1552,1678,1548,1206,920,870,1200,1396,1144,805,1400,1766,1162,919,922,809,808,930,782,716,1152,943,844,1332,1178,1420,1738,1468,1646,2030,1490,1050,979,655,559,437,572,756,869,623,678,1108,1044,957,1550,1856,1772,1472,724,409,660,1520,1404,734,444,382,1104,1314,738,635,1128,1170,1324,1572,2054,1864,1334,1260,1116,806,442,302,239,294,352,387,712,1294,1744,1412,1076,601,352,382,350,351,298,279,325,351,357,432,1234,1452,1017,672,598,689,638,1446,2414,2510,2444,1632,494,495,522,523,672,908,641,554,554,458,448,686,852,781,983,1076,1152],[964,1138,1450,1406,1048,871,957,928,974,955,1184,1158,941,624,671,999,1040,923,868,775,924,918,832,656,594,522,543,587,512,421,421,478,530,503,392,429,452,448,456,361,363,365,380,384,349,331,356,377,360,390,409,433,448,488,650,1011,1052,641,430,464,1098,1970,1822,1052,781,565,1028,1546,918,494,735,1176,998,874,1140,1070,976,1124,968,789,761,1024,854,608,429,420,463,404,412,396,378,391,418,523,658,766,704,775,860,907,936,1160,1134,1062,1152,1410,1298,1092,1134,1454,1896,1500,991,629,573,614,705,753,593,621,676,672,425,427,428,349,399,585,730,1102,1148,1140,1474,1572,1436,1278,1180,1488,1288,749,592,444,322,375,469,548,484,441,720,507,505,628,633,852,712,490,477,406,565,966,1132,764,467,439,506,552,702,934,1674,1546,1060,1030,929,929,1002,1066,1034,905,1106,1486,1244,790,640,816,1012,734,410,524,417,433,829,1340,1302,870,894,705,431,371,384,358,326,325,288,279,345,337,302,401,467,427,416,375,368,403,495,928,1248,791,890,1580,1246,950,620,450,755,1036,1015,855,521,296,196,252,272,278,357,348,446,981,901,490,436,863,1354,1418,1400,1358,1418,990,1202,1278,896,432,421,733,1082,1080,979,973,1314,1644,1102,1032,655,660,967,1108,973,904,1112,1160,735,400,441,603,669,772,816,987,1478,1468,1446,1576,1472,1214,956,1100,1528,1388,946,921,1102,709,476,441,402,608,724,448,480,1062,879,722,861,785,771,861,1038,1082,918,901,1058,1228,1332,1436,1282,860,872,702,808,1106,950,990,891,756,1208,1542,1514,746,391,336,414,670,1052,1426,1860,1984,1796,1476,962,688,1066,1256,1014,557,400,506,836,959,1268,1710,1328,1256,1430,1066,583,543,727,1068,1314,1390,1416,1300,1096,912,714,835,1138,1426,1310,918,811,815,1002,984,786,625,977,1112,1188,1332,1250,1110,1154,919,756,1278,1412,1286,930,760,1090,1432,1024,762,721,610,971,1178,1190,792,604,773,1012,1252,1346,882,1030,1216,983,757,589,703,703,865,927,1126,1122,830,716,824,926,614,415,435,555,775,810,736,410,339,470,973,1498,1732,1560,994,546,371,380,546,945,1020,1042,1494,1444,968,682,896,1242,1226,1058,1106,1210,1214,1232,1432,851,875,1032,808,802,673,589,584,802,1090,1015,1032,1082,918,926,580,838,1160,1362,1082,985,909,615,585,677,414,518,727,692,728,802,843,897,1042,968,749,286,392,714,520,497,875,1374,1456,1550,1704,1742,1136,1007,1234,1108,947,941,1072,1326,1600,1120,1052,1060,1194,1202,1250,1250,1266,1138,1202,1220,1232,1202,1038,907,866,1152,1150,905,1070,1278,1194,1042,1142,1194,1014,864,1040,1148,1034,979,1026,1136,1290,1198,1112,1122,1026,1020,1292,1648,1284,825,1158,1012,1170,1224,1238,1084,951,1012,1156,1592,1648,1252,1162,1274,1152,1462,1116,1132,1404,1554,1636,1626,1710,1612,1570,1458,933,921,1282,988,906,1182,1314,1338,1011,711,637,519,544,743,758,838,1152,1148,1224,1356,1130,852,866,768,908,814,689,605,651,1060,883,686,579,652,708,719,598,590,912,1048,967,836,1026,1290,1494,1522,1464,1532,1380,1078,764,790,907,832,694,922,990,783,1156,1320,1003,799,1084,1234,1056,896,1128,1190,1028,506,405,344,349,493,677,935,976,999,1086,1106,1100,1296,1176,1512,1602,808,787,744,552,565,714,819,812,1138,1410,1458,1620,1300,810,601,684,637,692,764,1062,984,1400,2056,1682,912,910,1120,980,841,1128,1254,1380,963,624,539,642,936,1216,1478,1170,650,442,311,413,597,601,729,677,730,677,466,438,683,692,449,439,587,616,1009,1386,1278,1136,1282,1054,827,677,518,536,565,664,860,879,944,1018,1154,1260,1256,1236,1206,1230,1122,1023,1070,1240,1546,1632,1456,1460,1434,1260,1162,1152,1246,1220,1104,1058,1084,960,1072,1100,1036,882,958,946,846,810,1009,1030,1026,1230,968,869,702,626,615,683,995,1266,1302,1284,1276,944,698,558,760,998,1072,1164,1526,1358,1268,1072,1032,1058,1272,1322,1304,1380,1302,1522,1150,1172,1452,1572,1410,1354,1234,968,1056,1182,1382,1714,2046,1442,1350,1154,994,1266,1042,818,684,498,552,782,1306,1768,1662,1040,1478,1750,1920,1830,1600,1312,1226,1302,1170,922,874,838,896,956,1210,1504,1582,1414,1236,1214,1174,1108,783,816,1248,1548,1470,1362,1476,1252,1252,1072,879,789,929,1086,1062,1062,987,696,612,763,716,468,505,610,621,455,433,725,728,528,808,1020,527,354,343,365,333,298,310,381,455,500,417,294,313,373,458,371,324,243,290,314,361,393,340,327,336,349,370,331,343,349,376,358,332,379,385,413,452,383,248,215,244,293,338,396,382,396,390,526,590,526,440,318,287,260,298,244,227,284,281,305,426,555,698,641,409,386,811,1162,1224,1660,1794,1668,1504,1268,1166,1170,1190,736,377,547,922,1034,486,412,450,591,401,336,510,709,845,1019,902,843,1108,1016,1124,1184,1266,850,827,883,993,1132,1164,1360,1516,1382,1112,1086,1304,1584,1614,1458,1202,1013,950,1120,948,768,915,886,872,739,879,1020,1294,1238,1013,1076,850,719,843,1296,1550,1412,1454,1526,1528,1536,1500,1050,1368,1578,1366,1246,1172,1136,1068,1030,1024,1072,1146,1078,1016,1186,1634,1478,1260,980,790,780,811,880,928,1170,1350,676,403,401,392,435,481,447,474,521,468,456,489,467,473,463,454,432,513,525,505,503,501,484,440,409,417,391,349,390,401,391,393,419,587,719,1020,1444,1500,1328,1362,1422,1332,1308,2004,2422,1522,1508,1714,1650,1562,1374,1328,1240,1278,1514,1514,1566,1502,1422,1384,1430,1334,1060,1106,1328,1152,1028,1340,1272,1148,1098,1134,1162,1396,1516,1204,949,1018,1302,1472,1550,1472,1140,1196,1290,1318,1114,1070,1214,1308,1344,1316,1166,1178,1300,1274,1080,937,691,864,951,967,979,1062,1064,1036,1064,1160,991,531,850,1524,1340,546,409,441,1042,1492,1204,818,549,368,311,357,475,702,503,462,509,752,700,984,1182,982,739,566,641,799,524,930,1594,1094,657,415,338,295,403,530,739,982,766,776,724,608,854,898,812,533,387,601,785,596,569,768,1234,1672,838,490,490,950,1240,819,617,857,1142,1104,882,894,634,530,518,509,694,872,1180,1074,1126,1100,590,354,404,692,899,709,505,364,274,233,234,281,275,699,1248,997,513,692,733,771,1198,737,1250,1518,978,582,463,442,462,745,815,586,1084,1602,1430,764,423,390,370,263,513,1036,1036,559,512,383,532,535,780,455,391,450,941,1534,1810,1682,1384,1292,1214,1128,1260,1196,773,948,1292,933,428,361,405,444,436,482,269,441,781,794,748,1056,1026,479,462,380,435,848,1344,1662,1534,909,725,967,604,738,741,836,872,819,956,979,990,802,612,836,907,915,976,1016,770,811,1104,1258,1138,1186,1352,1108,962,1584,1748,1560,988,642,688,609,1058,1278,782,435,375,366,601,1002,1112,1266,1200,855,826,1162,1302,1162,1340,1444,1318,1400,1560,1518,1600,1404,1406,1526,1184,1154,1172,1028,1086,1370,1226,924,1282,1208,1278,1084,684,508,505,605,484,442,497,497,629,766,631,581,682,667,573,559,571,458,429,416,316,305,299,338,630,1190,1324,1028,1362,1582,1584,1104,947,1074,947,899,846,730,676,853,1350,1516,1202,996,768,836,666,541,606,639,618,981,1256,1106,1092,1316,1324,1394,1418,1522,1566,1468,982,680,713,821,1276,1648,1450,1482,1432,1186,1282,1534,1360,993,957,1282,1298,769,698,780,620,559,934,1346,1238,910,1040,1076,1140,1284,1320,882,392,346,362,408,432,513,1134,1572,1512,932,590,568,563,700,999,1294,1220,804,450,389,294,289,439,473,359,471,702,862,818,691,829,961,647,490,946,1150,724,675,1142,1088,994,1194,1116,1426,1538,1628,1322,1302,1178,942,631,592,703,1354,1932,1504,1248,1152,875,1356,1202,904,881,641,558,643,963,1148,821,557,626,486,363,474,394,440,576,623,533,1432,1972,1372,1036,1552,1398,915,674,965,1350,1476,1098,794,897,1548,1932,1854,1190,852,1180,1286,1116,1021,780,1220,1526,1144,673,725,971,1046,1110,1048,999,1114,573,1108,1172,1024,1888,1942,1754,1908,1792,1392,1486,1374,618,467,362,456,652,771,883,848,1048,969,919,1428,1838,1794,1702,983,418,557,1122,1276,864,477,296,614,1170,981,846,1386,1282,1242,1672,2490,2008,1546,1264,1112,886,453,336,293,353,414,391,395,886,1204,1206,1530,1000,401,373,306,305,354,348,379,359,423,416,918,1096,705,603,642,627,604,1040,1982,1506,1296,1276,653,1390,1490,1628,1378,667,484,529,439,464,493,454,689,958,1222,1616,1610],[1282,1452,1628,1272,959,642,701,1042,990,1160,1554,1294,847,754,722,733,935,984,841,854,1198,882,805,578,483,490,549,572,543,466,454,500,525,546,444,400,419,411,429,336,330,388,420,408,393,370,350,390,405,402,404,462,736,1064,941,992,993,619,452,434,598,868,949,761,799,554,825,1230,749,437,647,1130,1376,1084,1076,1074,1070,1310,1064,616,420,690,682,501,432,488,479,430,459,394,344,415,420,435,478,934,1264,1078,855,819,1118,1360,1272,1296,983,1344,1202,1286,1170,1010,1052,1028,946,1116,1208,1158,935,1017,1100,976,935,1021,796,610,521,501,573,518,817,1424,1418,1606,1628,1484,1522,1126,1030,958,807,824,821,572,334,325,410,514,534,352,429,680,913,994,1086,961,558,431,373,360,464,891,1208,948,859,619,491,615,751,842,976,966,766,734,688,694,1028,1072,854,918,1398,1882,1636,1418,1220,872,1262,1220,1026,1013,855,584,951,1590,1590,1138,833,548,454,433,445,428,395,393,337,281,331,344,369,404,405,410,440,437,443,478,547,990,933,522,754,1756,1598,1316,726,401,598,779,854,788,411,253,183,246,298,345,382,355,628,1206,1146,559,464,577,924,968,1180,2018,1826,1686,1702,1524,916,494,541,696,830,574,826,902,1046,1090,907,612,385,460,973,1264,999,907,1134,1056,528,456,533,725,1106,820,556,669,1230,1754,1576,1554,1622,1592,1308,1296,1628,1532,1382,1594,1542,901,581,553,687,920,801,647,749,1008,846,884,965,1064,1058,827,747,744,572,536,747,1124,853,908,1470,1394,1296,891,722,904,1009,1554,1644,807,1246,1998,1990,1236,586,486,680,1298,1908,2166,2050,1616,1176,908,720,709,1262,1456,920,567,420,407,632,968,1428,1280,929,1116,1526,1498,908,1120,1232,1400,1354,1338,1334,1090,1048,1106,1116,1206,1160,1334,1354,1114,1260,1280,1292,1288,1210,857,803,1030,1168,1220,1218,1148,1174,892,694,1230,1120,975,684,567,1068,1428,897,662,705,658,977,1016,760,457,480,728,658,946,1056,796,1005,1130,1300,1056,767,866,880,947,930,1062,783,719,727,714,691,456,365,394,611,595,608,650,434,393,773,1328,1668,1684,1248,743,472,383,451,598,1206,1346,1286,1504,1190,849,888,1084,1166,1078,1028,1318,1160,1114,1392,1192,739,764,660,730,1136,1034,727,756,1000,1106,839,807,1050,1192,1324,979,979,1040,1204,1284,1150,1072,1072,1236,1376,728,552,731,615,873,1316,1023,877,1070,980,616,339,365,470,459,736,710,674,788,1170,1500,1608,1592,1524,1406,1244,1332,1198,813,1168,1378,1160,1006,1160,1172,1096,1314,1334,1360,1310,1448,1470,1324,1236,1013,693,624,1042,1114,825,758,889,1044,1148,1184,1298,1252,1068,950,1148,1136,950,1248,1404,1090,948,929,963,1070,1186,1350,1582,866,633,1005,1200,1282,1190,1108,991,1070,953,903,1412,1914,1490,1194,915,747,1182,1480,1620,1554,1482,1594,1766,1820,1808,1776,978,791,1256,1294,1038,898,790,1100,1488,1276,1208,805,673,599,695,726,494,739,946,969,1260,1236,1294,1300,1412,1354,1316,1282,1278,1218,1072,714,689,694,520,464,644,918,784,1026,1474,1562,955,697,920,1218,1182,1164,1082,1288,1418,1116,1062,838,703,1064,1176,961,961,1572,1650,1064,655,738,923,968,1204,1478,1164,893,662,562,352,412,667,763,800,640,526,830,1110,1406,1218,1006,1178,1268,1102,1554,1374,730,504,622,715,903,1230,1316,1428,1532,1070,689,645,615,654,629,525,588,616,1138,1328,1156,1009,897,1178,812,518,460,750,1154,1420,1108,781,717,857,1012,1128,1007,1019,724,593,634,418,378,455,603,615,517,533,480,433,423,432,388,494,1009,1230,1228,1044,561,509,564,832,758,665,769,940,1005,1200,1192,1134,1086,1192,1312,1350,1318,1356,1412,1292,1172,1100,1312,1410,1182,1152,1284,1322,1252,1180,1232,1122,1058,1166,1128,1294,1382,1270,1120,1066,975,995,983,1176,1320,1462,1094,916,729,725,654,599,524,644,686,888,1280,1238,1015,857,707,591,465,720,1064,908,1008,1154,1136,1064,911,863,1154,1266,1340,1346,1216,1380,1524,1326,1142,1244,1484,1400,1364,1098,536,1010,1318,1382,1500,1838,1464,1236,848,480,602,877,1140,988,770,962,1144,1720,2544,2700,1884,1318,1334,1550,1648,1590,1484,1074,1034,851,844,1234,1428,1514,1396,1462,1570,1368,1238,1312,1320,1258,953,725,1058,1446,1738,1560,1472,1476,1504,1660,1250,722,768,730,1042,1062,917,849,522,412,650,758,659,669,811,833,603,629,907,760,426,730,835,442,287,383,396,350,305,313,403,529,530,420,332,318,318,346,313,280,283,339,375,423,372,345,321,322,361,391,356,359,352,390,390,362,348,328,320,393,369,313,281,306,355,393,380,382,394,445,504,378,267,240,280,338,279,254,274,292,380,578,626,622,558,315,252,278,374,844,1198,1238,1598,1746,1774,1558,1232,1012,1146,946,416,444,648,725,849,522,499,922,1032,627,494,745,853,648,615,578,548,905,1016,1188,1436,1520,1050,965,1088,1236,1308,1320,1470,1666,1460,1166,1314,1594,1720,1458,1326,1216,981,984,1098,855,907,1122,783,946,1266,1288,1324,1610,1314,885,984,881,735,885,1256,1602,1462,1626,1952,2308,2176,1738,1358,1390,1500,1294,1454,2392,2164,1036,550,565,815,767,591,591,680,868,876,835,738,752,852,889,935,1015,1238,1326,743,462,390,381,405,423,476,491,465,412,466,501,510,548,532,505,445,458,491,508,501,514,512,471,444,397,386,374,387,362,346,393,393,430,594,815,989,1212,1366,1592,1666,1290,1522,2554,2144,1412,1544,1572,1452,1338,1338,1456,1402,1224,1372,1472,1580,1568,1510,1440,1512,1412,1276,1206,1032,1020,1032,1208,1372,1248,1108,1044,1244,1368,1046,917,1032,1250,1368,1368,1572,1736,1522,1448,1648,1388,997,1086,1256,1312,1378,1342,1300,1390,1322,1072,670,533,680,1160,1206,1130,876,891,1094,834,1054,1446,1278,684,602,1376,1098,672,629,605,866,913,1001,1166,926,503,375,440,452,554,493,477,540,681,755,937,1204,1176,719,568,1013,1498,661,415,439,446,403,368,361,394,742,936,999,937,653,852,946,695,641,588,499,369,321,502,773,609,736,720,537,695,731,540,428,561,695,1010,1070,930,1522,1582,1054,1060,1182,850,600,583,594,551,810,1023,1106,1050,582,484,514,1034,1160,927,1074,861,375,224,245,249,302,452,547,593,573,688,838,859,975,873,916,1052,1178,596,224,354,622,914,875,722,1238,1666,1874,1084,618,658,663,568,436,849,1216,618,541,411,378,355,660,519,632,709,857,1176,1210,1212,1050,1210,1274,1088,905,521,361,659,964,593,306,441,839,1005,621,543,442,467,795,914,927,1072,934,475,367,368,446,934,1254,1022,977,797,779,677,604,778,931,884,899,1018,1134,1126,1130,1026,899,1052,1004,871,1050,1252,1050,1288,1654,1338,938,1032,1506,1512,1766,2050,1824,1860,1162,607,610,719,865,791,493,447,534,379,448,851,1136,1130,1042,996,1250,1240,1036,1118,1198,1270,1536,1554,1534,1278,1366,1264,1312,1518,1302,1304,1272,1310,1430,1600,1268,1054,1254,1238,1266,1086,864,517,425,475,641,690,607,601,545,650,827,636,478,484,550,583,612,480,420,346,261,300,311,325,374,604,967,1384,1630,1498,1546,1224,1012,1060,979,1038,989,706,788,1204,1262,1132,1194,929,612,745,901,889,906,700,375,567,1030,1050,1416,1506,1576,1418,1234,1350,1712,1582,1064,639,827,860,1140,1468,1616,1542,1278,1260,1340,1316,1354,1092,823,886,910,792,780,711,701,492,443,619,858,811,971,1290,1386,1314,1013,576,365,324,305,357,325,283,680,1038,892,610,754,894,867,799,1048,1132,940,572,669,639,421,383,514,463,343,382,605,915,1013,1158,1070,1050,952,602,769,1014,832,777,1023,1072,1416,1144,844,1278,1490,1564,1322,1236,1152,836,582,680,1078,1876,2060,1228,1108,1228,1364,1970,1652,1358,1096,821,813,1038,1270,1258,1088,749,607,524,450,644,725,823,956,789,670,790,918,1064,760,1028,1034,549,462,973,1430,1300,965,554,483,655,973,1396,887,781,827,727,778,1440,1848,1572,1354,1168,1040,1064,1444,2250,1276,1056,958,784,494,852,756,760,1230,953,630,737,1028,1015,1040,664,490,719,546,649,894,816,1072,1180,894,897,1066,1446,1710,1600,1830,1366,612,381,328,565,725,540,336,628,1118,982,1690,2024,1624,1086,1820,2458,1864,1344,1188,967,736,408,387,381,444,874,888,528,537,601,620,880,890,591,432,428,307,294,306,340,265,353,428,601,545,545,846,744,715,692,713,1250,652,662,1328,1200,1824,1730,1786,1668,913,584,381,461,725,645,399,494,894,1124,1714,1688],[1306,1030,803,717,675,540,686,995,809,972,1174,877,805,780,643,518,771,1013,644,850,1180,741,683,581,461,513,532,565,584,551,504,532,544,586,485,379,355,332,336,306,315,356,401,380,383,368,348,358,368,339,416,649,1170,1178,691,650,741,584,458,428,469,508,529,554,728,723,731,705,549,476,502,777,932,918,1302,1304,1362,1310,1300,844,502,731,881,686,518,506,432,445,440,390,397,425,434,445,678,1092,927,663,576,753,1156,1074,1266,1250,1134,1366,1078,979,1148,850,565,515,604,1124,1242,1254,1228,1272,1472,1300,1052,1028,937,974,951,891,1013,976,1272,1422,1466,1494,1578,1534,1590,1410,1064,763,500,620,870,662,386,348,410,502,529,406,377,646,1180,1488,1302,1100,844,547,602,597,557,763,911,1034,1138,818,639,758,926,756,626,642,768,696,691,778,770,669,593,1014,1598,1924,1550,1222,1232,1294,1248,990,638,650,1562,1060,689,1168,1632,1692,1098,692,588,541,454,408,408,401,388,370,368,383,377,331,330,406,440,457,462,522,645,1042,805,533,1128,1562,1306,1034,531,407,409,428,444,389,287,162,192,289,318,362,372,391,675,1334,1638,1150,879,741,1060,1007,1005,1352,1764,2014,2074,1780,898,534,662,999,1064,688,1066,808,603,975,1222,852,757,698,844,966,659,590,726,819,563,871,1116,920,725,670,706,829,1304,1912,1532,1424,1316,1416,1542,1444,1486,1526,1548,1786,1678,1408,1124,1044,1007,1114,1156,1248,1272,948,924,1256,1384,1098,662,412,453,398,359,517,827,1130,883,655,1294,1480,903,678,937,833,635,1020,1216,1020,1616,1992,1898,1612,1084,993,1378,1848,2046,1760,1420,1318,1010,722,840,1252,1644,1608,1020,586,538,587,839,1096,1294,1136,954,700,1224,1296,1166,1752,1924,1528,1264,1256,1208,1013,950,908,1388,1548,1044,1152,1334,1276,1248,1164,1186,1434,1534,1258,1140,1204,1021,887,1084,1290,1136,1007,1001,1194,1174,949,671,472,769,919,876,954,968,932,832,668,455,540,807,945,780,906,1028,1013,1142,1176,1230,1058,951,933,1060,1238,1106,865,826,1100,1015,828,727,581,438,602,959,968,641,363,394,537,1054,1580,1700,1502,904,546,469,437,478,553,816,1426,1550,1698,1634,1256,1286,957,688,758,919,1086,965,822,1176,1110,618,659,597,503,755,677,577,774,948,918,781,805,971,1020,1106,1134,1120,1208,1296,1236,1118,1226,1116,1030,900,650,566,599,544,665,821,715,797,982,994,481,365,352,684,530,484,695,907,1100,1158,1202,1216,1450,1700,1416,1178,1394,1432,1174,899,771,894,693,915,1086,887,1134,1146,1124,1284,1256,1496,1378,1434,1252,1108,1396,1396,967,780,708,758,1066,1362,1224,1310,1240,1144,1026,1188,1386,1424,1676,1600,1250,1144,1224,1013,1074,1262,1550,1494,1116,1026,1080,1278,1344,1114,1044,1188,1236,1060,999,1324,1388,1224,1108,718,760,1264,1664,1716,1594,1766,1746,1632,1734,1910,1848,1498,1384,1546,1416,969,655,713,1030,1290,1082,1070,810,1054,831,892,676,775,1288,852,722,768,872,1164,1332,1462,1328,1354,1166,1288,1216,908,875,789,527,398,442,676,1278,1018,991,1244,1244,777,676,1192,1380,887,1030,906,745,1346,1376,1438,1314,1078,1158,923,1152,1582,1654,1650,1382,908,754,795,844,1298,1330,1114,678,902,1026,575,513,774,908,899,603,488,456,621,823,921,1004,990,954,1110,1520,1354,903,705,650,769,1024,1222,1084,1456,1238,919,702,600,560,791,1018,1212,1080,766,767,864,1486,1320,803,792,841,688,426,624,1390,1312,849,1154,1154,1062,610,420,935,1210,897,1170,1214,1198,1188,496,451,730,706,466,670,713,419,659,735,610,1214,1306,1120,892,594,672,849,929,977,1038,1020,991,1056,1224,1298,1256,1302,1366,1410,1272,1204,1570,1306,1352,1372,1482,1450,1220,1204,1258,1200,1178,1268,1272,1466,1396,1416,1260,1136,1196,1244,1092,954,779,890,1021,924,1228,1272,1276,1108,1036,654,748,689,634,533,553,535,593,926,1130,760,745,561,463,618,959,901,482,603,959,895,698,975,1082,1316,1274,1582,1878,1660,1554,1368,1326,1312,1148,1100,1200,1300,1182,875,1062,1136,1296,1222,1296,1144,1146,961,659,739,1018,1048,1016,1158,1172,1318,1550,2206,2626,1896,1050,1044,1308,1550,2100,2344,1090,1036,1278,1370,1224,1522,1604,1522,1470,1188,1240,1514,1426,1454,1028,689,847,1178,1534,1838,2072,1820,1562,1570,1838,1688,728,768,665,1048,883,824,826,646,495,675,799,743,743,739,560,503,761,1172,885,486,733,1003,688,407,383,409,387,305,308,386,498,428,381,373,344,338,375,372,318,372,396,415,440,359,342,314,322,343,380,377,331,289,342,383,304,238,254,304,288,310,368,355,379,405,464,436,401,461,539,484,324,281,332,502,641,579,427,312,364,487,732,748,689,735,327,310,355,358,887,1120,1082,1346,1568,1790,1688,1136,899,1010,550,353,539,637,593,598,525,806,1366,1364,1156,930,765,714,633,698,766,568,685,988,1140,1388,1534,1302,1114,1106,1064,1046,1110,1332,1628,1550,1432,1436,1582,1432,1060,1978,2304,1226,1042,913,734,1172,1328,912,1072,1346,1384,1260,1208,927,745,828,770,731,868,1164,1598,1600,1738,1924,2768,2676,1832,1404,1168,1150,1202,2106,3454,3128,1460,600,516,636,562,482,456,426,437,536,556,525,547,551,636,753,773,807,777,608,503,441,413,376,393,503,526,489,456,503,527,537,577,569,528,485,451,464,498,469,474,531,525,525,443,380,364,355,331,356,400,382,386,451,662,832,1040,1390,1576,1422,1272,1506,1874,1700,1440,1308,1390,1454,1500,1428,1322,1478,1374,1396,1456,1546,1588,1598,1476,1364,1118,968,919,1004,1224,1182,1274,1308,1208,1148,1192,1350,1270,1140,1274,1300,1274,1214,1302,1518,1568,1556,1372,1514,1300,968,1032,1084,1178,1312,1306,1384,1070,1086,1158,1058,829,711,761,802,634,569,938,998,598,573,720,742,749,788,853,705,843,1098,1244,975,518,657,1020,933,684,555,417,417,438,415,468,614,760,925,1074,1206,1290,836,480,1174,1744,883,321,475,520,480,666,772,850,1210,1250,915,572,354,461,570,562,503,574,786,470,381,476,915,584,667,568,389,872,932,569,381,430,926,1804,1574,1114,1666,1382,925,895,1554,1254,593,550,521,538,657,799,891,994,466,422,484,529,426,691,1206,1046,497,298,295,263,323,347,298,325,546,649,776,1017,1064,944,664,638,878,507,354,318,364,554,677,1004,1340,1606,1666,921,440,670,876,661,341,446,1130,676,611,449,381,565,596,616,1146,1532,1752,1510,825,825,674,464,569,828,657,431,379,469,718,803,586,582,807,898,423,444,661,849,1050,985,639,709,810,663,559,428,655,1280,1440,869,626,538,679,1366,1404,959,838,774,890,940,995,1104,1362,1003,891,1074,1160,1338,1442,1552,1346,1196,1234,1140,631,811,1488,1404,1810,1606,1810,1726,1278,828,741,1098,1300,1021,626,504,633,462,612,945,1056,1080,1204,1234,1340,1256,1058,1262,1360,1296,1374,1464,1306,1232,1366,1208,1366,1436,1300,1162,1168,1340,1430,1458,1374,1384,1346,1258,861,607,566,529,451,628,911,696,532,532,501,481,640,653,422,399,533,598,571,440,349,271,283,274,271,293,289,322,382,724,1340,1466,1274,1018,1122,1132,1110,1380,1350,1310,1484,1490,1332,1244,1412,1116,792,1192,1610,1480,1013,579,470,771,876,733,1336,1598,1532,1282,1042,1670,2452,1790,1146,614,972,1288,1150,1358,1564,1288,716,827,860,833,1154,1092,696,653,659,642,697,642,768,737,529,645,1256,1336,1096,1208,1654,1746,907,526,409,427,412,405,315,282,325,397,435,533,943,1082,744,916,1194,1014,663,650,988,1154,878,498,376,316,407,659,592,796,1006,1252,1242,1358,977,615,628,810,840,763,1098,1220,1224,638,832,1248,1212,1256,1692,1678,1064,927,1338,1630,2116,2304,1606,1038,1038,1382,1626,1724,1440,1330,1472,1142,906,1120,1070,760,979,1088,763,478,451,599,810,1196,1284,900,695,656,713,716,885,954,615,382,369,661,711,520,397,397,437,432,633,1152,1174,789,594,517,955,1740,2018,2108,1808,1066,985,1198,1616,2226,1380,1284,825,727,791,932,720,705,775,631,472,502,543,554,637,1046,1015,919,774,729,889,1126,1266,1360,1136,1300,1630,1480,892,1038,1804,1588,686,347,432,652,889,625,513,778,1300,953,1712,1898,1520,1194,1302,1762,1910,1836,1628,1122,645,374,392,412,410,966,1520,1174,579,470,436,623,899,762,395,321,367,346,257,267,282,348,444,467,371,389,598,598,779,514,400,659,411,486,1482,1598,1276,1334,1218,1062,879,524,316,393,619,523,357,377,689,1048,1448,1562],[879,743,724,647,559,534,841,1074,705,1118,1398,912,713,511,449,665,838,941,691,854,999,827,625,448,442,518,503,544,535,524,538,574,547,538,478,442,371,330,325,325,330,328,372,386,391,400,363,339,327,306,358,626,790,563,504,749,651,469,393,426,479,493,530,537,631,697,666,586,568,722,554,534,565,820,1134,1086,1048,993,930,678,549,645,907,968,877,630,470,384,376,373,425,543,642,727,1098,1312,888,796,1062,1370,1422,1088,1166,1438,1428,1480,1320,981,1100,912,557,518,590,1382,1530,1278,1278,1506,1920,1186,631,802,962,1020,1072,1474,2142,1238,1224,988,874,1110,1252,1242,1398,1248,1098,1192,679,675,1028,814,506,444,507,479,429,424,430,527,918,1094,761,669,1006,1122,1356,998,705,776,830,938,926,804,1074,1076,882,487,633,794,825,732,799,877,856,1068,1356,1116,703,937,1056,1284,1590,1738,1162,906,638,686,1160,977,835,1268,2230,2270,1344,714,454,405,384,389,393,409,440,461,438,381,376,540,830,994,680,491,455,491,936,899,664,596,1458,1744,973,750,474,460,477,428,329,275,221,150,241,308,319,372,382,526,644,880,1036,1108,1366,1216,1312,1380,1132,1382,1738,1968,1866,1388,768,665,666,1410,1434,973,1172,971,922,1664,1328,578,824,743,977,1164,698,484,767,693,638,880,827,656,569,806,932,991,1180,2036,1762,1426,959,870,1100,1250,1482,1664,1628,1374,1072,1068,1328,1294,844,646,590,1056,1166,1032,1328,1528,1490,857,564,559,749,665,694,1066,780,742,1036,684,925,1548,1018,563,814,757,760,918,1246,1738,1044,1090,1874,2036,1436,1184,1644,1358,1320,1350,1234,1204,1206,742,987,1748,1714,1370,944,869,1096,612,896,1348,1286,1170,1004,1148,1084,835,1058,1660,1704,1358,1214,1264,1226,1276,1166,1050,1338,1060,988,1324,1272,1284,1234,1170,1338,1488,1504,1284,1122,1116,1064,769,797,962,1336,1660,1296,1096,1250,1218,938,600,657,555,933,1484,1492,1048,758,610,487,751,1058,1000,977,1064,1216,1366,1308,968,706,761,813,828,1154,1292,1044,805,820,966,904,852,682,783,785,912,818,802,577,348,436,780,1466,1752,1648,1226,738,503,582,603,503,464,796,1108,991,1138,1252,1178,1466,1030,586,459,538,681,1013,1092,1184,1136,646,471,464,483,602,730,673,706,996,1082,895,886,1005,859,764,970,1476,1228,1122,1288,1244,1184,1005,596,412,491,477,473,480,505,374,530,911,997,866,454,362,313,534,651,1080,1680,1874,1498,1230,1270,1020,809,775,659,642,871,1188,1226,794,756,944,703,1046,930,923,1088,1040,1162,1284,1200,1240,1278,1302,1238,1374,1636,1494,986,943,736,735,792,899,988,1070,923,907,1166,1246,1418,1762,1762,1504,1510,1152,1316,1021,957,1124,1196,1312,1466,1460,1416,1574,1418,1222,1168,1346,1328,1238,1160,1312,1346,1350,1288,1230,1384,1662,1854,1702,1546,1560,1672,2208,2304,1974,2104,1894,1720,1712,1532,1164,1030,936,1198,962,609,508,583,698,815,977,641,901,1544,1164,1030,921,697,790,1250,1042,959,999,746,683,590,655,1032,1003,529,340,382,512,567,891,1116,1316,1102,625,617,1064,1238,1056,1438,945,902,2072,1628,1422,1296,1232,1342,1300,1522,1384,1200,1520,1440,1516,1016,814,978,1066,1011,814,511,786,733,498,640,1034,1306,1234,799,575,423,357,486,548,660,1332,1814,1488,1398,1198,1016,677,828,1094,1294,1344,1260,973,926,969,797,597,735,1148,1428,1616,1472,1322,652,693,1218,1384,988,652,858,826,491,898,1578,943,921,912,935,1048,819,617,733,802,617,645,982,1350,1310,730,722,1288,1276,792,828,880,498,651,951,885,558,594,764,672,728,1024,1160,1224,1184,1212,1236,1240,1226,1244,1244,1180,1218,1228,1272,1272,1202,1332,1172,1336,1444,1394,1266,1350,1372,1312,1350,1312,1306,1286,1310,1230,1328,1298,1276,1292,1090,862,873,799,717,849,1048,1224,1252,1290,1082,940,772,756,719,587,525,539,542,490,533,595,591,778,565,701,943,1024,769,454,571,763,788,818,1108,1192,1382,1070,1190,1532,1572,1496,1316,1204,1142,1108,1084,1156,1132,1080,1224,1060,967,1172,1278,1184,1206,1130,727,966,1242,1334,1088,1114,1276,1252,1504,1518,1698,1924,1566,1262,1138,1200,1504,1352,999,1128,1418,1294,800,857,1390,1566,1586,1274,1094,1202,1346,1282,1250,849,1026,1668,1944,1794,1738,1938,1814,1582,1460,1804,2662,1090,801,664,983,889,764,766,733,722,843,925,880,793,543,304,385,552,881,945,778,933,1270,1102,576,357,379,307,284,309,352,440,418,363,430,384,329,434,472,393,386,338,346,356,421,390,317,321,336,348,357,305,287,395,372,249,223,240,262,231,308,407,395,385,458,490,509,670,661,590,658,1026,707,408,533,860,991,572,283,339,342,350,376,598,792,495,393,329,285,875,1054,984,1170,1418,1606,1434,1078,904,678,359,543,718,916,746,612,597,750,1058,1334,1616,1162,742,700,713,702,741,644,509,840,1005,1050,1330,1222,1122,1308,1360,1358,1396,1528,1602,1724,1460,1486,1378,905,1814,3230,2284,1122,1170,940,742,1200,1170,1166,1140,1086,1036,1019,973,871,979,991,750,739,904,1238,1820,1870,1802,1960,2674,2662,1864,1616,1522,1896,2496,3188,3746,3286,1636,663,517,544,481,399,431,452,461,515,519,501,518,483,498,523,513,511,499,500,522,516,504,479,489,526,527,491,481,485,501,522,570,588,541,487,436,430,457,455,463,477,494,524,507,477,424,364,328,358,354,328,362,366,507,718,814,1050,1228,1398,1490,1256,1330,1918,1858,1556,1644,1266,1282,1260,1168,1428,1980,1782,1456,1598,1582,1642,1408,1094,946,1060,1142,1240,1214,1178,1138,1194,1254,1342,1436,1234,1196,1292,1276,1194,1216,1414,1496,1348,1438,1642,1548,1520,1384,1178,1096,1064,1186,1318,1264,1218,959,903,1244,1300,1016,813,780,796,455,673,1170,1070,630,506,542,620,635,550,493,579,791,1060,1532,1404,741,801,1122,901,685,652,606,636,1050,1238,1122,1344,1200,1200,1140,1068,1532,1136,437,730,1176,865,492,567,922,976,1020,1206,1310,1238,1342,1010,561,387,664,774,534,474,805,1420,1062,473,528,968,772,812,810,658,498,486,580,485,476,842,1164,1146,1158,1132,758,577,577,1118,1082,689,637,424,407,398,682,899,984,607,484,480,336,239,343,527,496,400,360,268,259,287,262,214,312,431,434,508,655,716,591,450,352,422,484,509,321,262,394,506,943,1334,1388,1060,625,492,399,352,321,429,534,672,536,698,720,637,584,452,493,1172,2182,2800,2014,940,962,752,534,672,841,598,449,389,365,667,882,844,651,527,807,511,492,733,1208,1220,695,799,1100,1024,938,700,474,648,1262,1322,797,610,689,576,885,1246,1019,784,749,949,833,742,1028,1448,1188,1142,1152,1074,855,468,541,814,1010,1290,1566,741,796,1272,1124,980,935,908,778,708,698,915,1312,1322,1426,1002,787,751,955,778,791,927,944,1080,1046,857,917,1168,1398,1404,1280,1192,1522,1554,1428,1422,1304,1238,1238,1007,889,1250,1334,1088,1044,1274,1230,1344,1246,947,830,789,731,634,823,851,565,524,499,486,456,478,551,450,343,334,413,384,308,314,404,434,396,334,352,321,292,457,890,1262,1418,1472,1352,1332,1328,1594,1696,1698,1628,1846,1794,1482,1302,1448,1346,1152,1542,1630,1498,1362,1192,1028,1246,858,579,785,1158,1310,1096,654,1170,2702,2570,916,425,482,729,1064,1362,1134,744,573,521,524,593,995,1104,855,614,452,379,391,488,849,1112,816,844,1138,1178,1204,1402,1660,1278,634,507,357,373,445,405,312,289,268,325,381,400,799,757,746,1244,1376,1056,769,787,941,1140,1098,857,417,301,384,538,670,1600,1952,1422,1168,1116,843,692,796,1044,1154,763,979,868,548,650,900,783,865,1254,1554,1400,1346,1712,2094,2154,2404,2142,1360,1030,1176,1554,1520,1456,1306,1296,1148,550,631,827,622,717,1156,1318,962,568,404,529,924,1126,1022,952,912,740,747,1084,1598,1278,689,498,464,471,429,438,428,468,535,563,724,1042,1396,1388,1014,725,1206,1354,1020,1328,1194,643,634,717,794,813,1118,922,836,1028,1126,1120,900,771,621,677,468,423,714,612,576,1088,1058,1000,1438,1246,702,1102,808,753,762,1152,1726,1672,926,655,1342,1554,1013,733,847,858,1130,1226,922,1164,1538,1292,1522,1346,971,670,807,1250,1454,1670,1764,1584,622,337,444,406,356,559,1092,1386,941,447,615,1194,1158,730,426,348,409,362,245,231,301,563,886,622,383,342,440,539,551,312,446,669,423,345,1021,1560,1334,997,619,430,373,307,312,335,333,333,631,779,798,1088,1064,1038],[647,620,661,650,620,720,1538,1814,968,1348,1738,1178,686,602,795,1086,985,1188,1462,1090,612,593,561,581,599,581,481,418,435,489,599,634,602,614,675,614,482,485,356,386,344,310,333,381,398,387,391,377,323,284,286,349,384,413,458,586,476,393,443,489,461,469,537,555,525,569,674,618,962,1676,1054,587,536,777,779,701,745,617,504,456,494,555,759,1108,1190,899,569,457,622,749,967,983,897,1005,1418,1328,871,781,1138,1158,1170,1198,1036,1018,990,1196,1362,1086,987,937,549,449,557,1262,1372,1056,640,1302,1936,931,564,695,877,975,806,1306,1730,1506,1652,1162,676,882,1328,1404,1330,1352,1330,1252,1060,977,814,778,750,734,694,608,688,787,761,785,742,571,532,531,884,1260,1456,1030,603,690,750,582,578,857,1444,949,600,443,1017,1462,1218,879,657,771,1152,1710,1782,1076,938,1188,1406,1416,1590,1390,852,716,639,536,473,615,844,1188,2160,2046,1562,816,587,535,428,386,373,404,433,440,388,336,445,627,714,827,867,613,496,838,873,592,508,677,1510,1320,838,775,659,564,489,381,327,261,177,164,277,361,379,377,428,650,578,522,503,630,1066,1058,1108,1038,814,905,1378,2426,1892,1164,800,615,641,1454,1578,1024,955,808,1072,1644,1152,542,550,463,483,800,852,759,984,870,797,785,496,538,826,749,693,781,1176,1988,1780,1250,811,714,825,1017,1288,1548,1512,1356,1422,1838,2306,1512,683,466,547,1068,1418,1586,1618,1188,1216,815,824,1112,1174,1009,816,676,484,752,1226,1178,1146,1614,1354,616,531,619,1350,1492,1184,897,573,1001,1810,2072,1538,1090,1214,686,959,1874,1484,916,891,697,597,814,913,837,696,1262,1276,548,676,859,1060,1118,1218,1344,1046,827,801,780,769,1134,937,888,1100,1184,1198,1318,1234,983,1050,1140,1238,1354,1296,1272,1226,919,899,1316,1338,1312,1348,935,802,980,1324,1412,1316,1168,1232,1130,817,618,1028,1026,1944,3540,2592,1050,805,703,468,586,766,797,918,1020,1148,1256,1410,977,633,724,904,1220,1210,829,800,921,895,757,594,648,552,717,912,814,640,614,430,373,597,1156,1622,1654,1576,960,529,498,589,594,531,422,848,1192,672,928,1194,936,1154,962,753,685,595,527,822,938,1009,1194,800,433,398,468,899,1360,980,792,1072,1148,805,764,789,1002,1272,988,1420,1082,1096,1098,1160,1174,948,688,486,479,543,564,449,521,440,764,1088,1694,1178,487,412,322,348,512,1098,1522,1826,1562,930,801,652,680,768,772,855,906,941,922,891,885,1166,1152,915,777,860,996,1170,1400,1416,1106,948,1170,1218,1116,1202,1456,1434,1494,1366,973,821,750,879,799,1078,1526,1186,1312,1400,1418,1980,1858,1488,1568,1472,1378,1082,1134,1338,1170,1214,1516,1372,1418,1350,1350,1272,1122,1064,1019,1086,1270,1484,1460,1668,2074,1328,1222,1528,1692,1528,1312,1298,1392,2428,2358,1710,1700,1676,1852,1766,1610,1444,1086,1122,1158,831,612,606,533,488,758,883,670,1230,1668,1278,1576,1526,818,633,828,769,669,728,831,731,468,974,1552,1086,561,398,382,557,514,812,1052,1160,1010,661,579,854,960,1128,1158,716,1404,2512,1904,1168,1001,1158,988,1104,1282,1218,1506,1660,1446,1422,1008,903,1160,1028,907,655,514,489,327,477,852,1766,1960,1354,886,1009,769,650,872,827,649,1128,1910,2254,2132,1426,1000,1001,1001,1104,1098,818,790,907,1046,1018,832,730,941,1134,1570,1738,1628,1488,993,745,662,807,661,395,518,995,1392,1428,1036,946,910,704,524,772,1174,1104,875,757,724,1010,1262,996,1015,601,915,1494,1396,1246,1158,779,542,514,685,1072,732,381,758,932,823,1104,1204,1186,1168,1176,1188,1250,1216,1180,1188,1338,1334,1314,1334,1314,1334,1258,1258,1372,1402,1372,1422,1404,1440,1312,1278,1172,1196,1350,1014,805,1124,1366,1356,1202,1030,772,756,747,729,721,918,1178,1420,1456,1096,785,778,883,742,524,565,751,804,572,455,409,563,729,796,932,839,757,792,705,780,897,996,1162,1352,1246,1456,1330,1242,1250,1268,1460,1308,1040,813,1060,1272,1282,1078,1088,871,880,1214,1316,1222,1124,981,747,581,783,1082,831,772,749,1052,1316,1576,1754,1860,2040,2116,1968,1302,1290,1374,1584,1516,1500,1392,866,630,1084,1450,1490,1334,1178,1418,1362,1216,850,700,809,1130,1662,1856,1566,1502,1860,1782,1222,850,1452,3110,1544,777,586,820,903,774,675,557,588,761,966,875,852,612,443,354,382,855,1122,854,590,926,1138,605,348,308,306,321,360,430,505,444,484,549,388,307,393,452,383,324,339,335,328,454,421,305,333,375,382,413,356,353,405,368,234,246,280,319,331,318,403,441,390,474,479,491,662,523,615,743,714,450,301,276,507,584,318,313,415,563,694,606,575,639,545,403,303,298,765,1246,1146,1046,1334,1456,1236,938,978,773,602,656,799,872,666,687,871,1104,1502,1860,2082,1482,834,691,705,659,677,727,543,626,921,946,1194,1300,1378,1586,1566,1408,1350,1354,1480,1598,1376,1088,944,1978,3438,2408,1128,1206,1246,794,750,1064,906,813,936,1028,930,1078,1208,1072,989,993,795,771,900,1246,1764,1926,1708,1554,2266,2566,1764,1362,1378,2130,2656,2912,2866,2388,1444,661,505,538,508,452,477,441,430,459,481,497,537,513,494,530,545,497,480,532,535,497,527,532,559,572,543,501,471,474,500,524,556,544,500,469,433,426,454,455,488,492,507,530,539,552,500,434,364,316,262,275,326,346,398,571,732,813,959,1388,1580,1182,1306,1646,1500,1390,1556,1310,1422,1354,1092,1358,1842,1538,1276,1466,1498,1578,1164,944,1062,1224,1200,1152,1114,1162,1224,1260,1220,1438,1428,1224,1064,1021,1118,1242,1350,1640,1698,1460,1486,1554,1582,1390,1056,990,1230,1094,1044,1334,1264,1136,1220,1184,1064,1266,1390,1202,1278,1160,588,496,792,910,676,565,690,781,669,532,521,679,1116,1050,1178,1756,1318,1678,1846,1396,860,1084,991,1023,1620,1680,1300,1368,1140,1296,1258,1036,1632,1430,750,775,710,818,922,756,1176,1354,1034,988,876,640,812,1050,626,401,796,981,711,522,796,831,1048,722,932,958,743,902,976,851,639,616,797,1058,641,490,661,1298,1490,1110,712,502,567,568,463,702,772,521,411,602,991,993,1007,918,728,664,830,612,330,315,262,273,262,247,249,244,209,192,262,299,366,467,290,263,333,411,440,459,468,568,516,429,524,650,656,614,544,448,474,772,452,277,346,594,897,838,767,760,597,415,380,425,403,1306,2590,2236,1010,849,1166,1010,683,910,1218,890,465,473,571,796,838,726,798,807,987,670,364,450,807,782,572,974,1306,1082,1108,990,603,482,882,866,599,661,769,632,849,938,703,844,775,1050,918,774,891,1412,1382,1018,879,631,601,677,899,722,719,786,944,963,992,785,599,466,376,301,373,601,1022,1448,1140,1046,1330,1058,991,730,657,601,719,927,988,1112,1240,728,662,1118,1326,1216,1054,927,1132,1300,1364,1454,1340,1104,1204,966,932,1194,1112,858,796,949,1112,1268,1236,1098,1112,1010,770,637,620,562,547,560,537,510,481,524,525,429,337,285,320,327,366,605,827,717,521,366,309,287,307,425,781,1158,1274,1360,1598,1622,1622,1738,1714,1464,1434,1628,1588,1310,974,1406,1532,1352,1422,1498,1394,1574,1520,1332,1210,909,780,955,1310,948,684,434,511,788,902,577,469,469,428,767,1094,829,621,901,704,655,529,919,881,895,780,653,507,447,540,849,1178,678,834,1002,914,849,1126,1108,620,506,533,405,297,322,339,323,321,289,345,375,381,521,627,1016,1206,1228,1138,821,675,741,903,865,606,303,300,351,812,841,1414,1864,1458,1114,1202,1216,1005,1308,1618,1388,1034,1132,972,807,1024,1066,607,655,1354,1380,1072,857,1394,1650,1894,2118,1658,1368,1296,1448,1506,1418,1260,1116,830,496,547,475,516,608,1200,1392,1064,853,688,633,893,1142,1268,1060,849,897,897,780,971,1308,1034,740,769,605,525,428,398,444,518,579,764,919,1018,1478,2024,1700,1288,1364,1362,943,811,773,642,623,541,598,1044,1240,979,943,1122,1466,1520,1470,881,554,491,416,780,1268,865,376,544,608,621,958,1294,1128,1118,720,532,440,442,654,1038,874,557,840,1128,974,1154,1508,1230,1356,1792,974,992,1064,876,857,747,536,383,408,570,642,655,796,807,444,468,567,557,473,658,1032,1212,789,566,547,849,1036,613,476,481,430,346,321,273,214,397,976,647,365,466,691,872,701,302,466,649,357,241,524,1420,1288,724,505,473,440,424,353,353,349,407,781,1130,1186,1009,663,834],[664,618,582,648,682,799,981,1070,1136,1968,1956,1184,838,745,810,1018,1060,1100,1320,1350,603,435,505,656,709,639,505,394,423,568,634,630,622,648,711,598,458,458,408,413,393,404,466,449,386,357,307,294,314,283,294,325,366,460,489,503,460,446,541,579,450,399,448,437,357,386,673,799,802,1500,1322,775,679,716,751,785,718,569,490,385,404,491,884,1194,1188,1240,1092,948,992,1206,1572,849,639,763,1021,1184,932,744,745,586,499,541,633,659,819,1082,1200,1180,1002,724,555,434,450,785,1008,1188,1360,1608,1470,826,675,512,458,525,601,752,979,1300,1458,1276,796,596,737,1006,1324,1478,1670,1670,1582,1334,1108,1028,1036,1136,1132,1324,1220,991,896,743,634,614,599,525,722,1046,1244,1040,672,838,837,394,401,667,832,688,797,663,1076,1168,1072,982,680,773,1026,1434,1220,1258,1238,1366,1072,1400,1946,1378,977,1092,692,397,353,499,740,1172,1488,2002,1676,1186,1200,799,437,387,391,405,407,376,389,361,421,424,524,679,938,905,925,1192,806,662,537,855,1660,954,544,541,623,710,540,351,289,240,173,183,245,254,263,373,536,611,495,361,358,442,556,504,471,543,505,536,855,1256,1236,883,640,545,602,1134,1306,1148,1208,843,1294,1900,1146,498,428,438,430,393,467,505,539,581,501,728,631,1220,1730,951,681,943,1284,1498,1510,1224,679,571,751,1126,1262,1416,1364,1454,1604,1990,2180,1640,830,500,527,887,1520,1870,1484,669,960,1180,1388,1578,1282,1050,838,647,797,1072,1266,1200,1023,1028,1056,661,717,973,1248,1060,640,439,435,730,1538,1660,1138,1021,875,565,514,781,730,532,629,735,601,534,589,532,641,1476,1015,600,596,606,894,1026,1156,1148,877,683,548,535,929,1216,833,993,1256,1202,1226,1338,1210,1076,1146,1306,1614,1604,1326,921,718,579,596,841,1166,1448,1348,1190,1208,1220,1268,1384,1542,1052,1152,1254,987,765,1494,1272,1248,1650,1190,910,1012,957,446,426,706,855,927,1122,1048,1140,1576,1156,805,1068,1068,1044,904,910,811,1044,1100,978,639,510,474,980,1238,874,891,914,799,579,925,1392,1630,1752,1200,636,476,855,866,498,432,447,1218,1594,988,1316,1314,1196,1456,985,1060,1208,698,506,465,473,743,1284,955,491,439,444,1056,1534,1220,850,923,835,853,1372,969,1082,1684,1146,1214,832,649,605,982,1096,763,768,793,1482,1534,978,714,843,763,939,1036,1574,1104,447,428,332,264,314,438,719,1460,1316,841,803,761,850,852,772,877,967,969,733,558,723,1036,1284,898,759,792,749,850,1052,863,810,1068,1204,1226,1066,1070,1474,1798,1950,1488,1140,930,801,875,977,1378,1300,902,1160,1426,1588,1826,1636,1278,1164,1282,1268,1146,1266,1230,980,1216,1996,1452,1448,1118,1080,1078,1070,1128,1130,1204,1502,2164,2032,2192,2508,1372,1112,1492,1508,1262,1102,1078,1262,1376,1432,1326,1528,1512,1786,1724,1710,1582,1314,1228,1180,1070,756,648,731,819,602,516,442,977,1188,1594,1798,1198,753,785,1132,1164,850,635,527,438,423,963,1486,875,421,507,692,695,639,808,1042,835,938,832,464,594,824,796,860,1126,2440,2422,1044,863,887,1116,1388,1136,948,1004,1244,1576,1656,1522,1440,1488,1428,1124,967,892,628,378,489,607,1250,2044,1908,1206,1078,1314,1286,1226,1346,1266,897,1172,1710,2002,2070,1058,576,805,1070,1274,1042,1076,1186,814,868,868,1250,1330,1256,1138,1634,1638,1750,1460,959,808,1026,1058,881,652,805,1432,1824,1478,637,1108,1232,861,724,925,1372,1324,1318,1236,1176,1342,1032,986,911,542,804,1130,1274,1074,485,523,658,605,547,901,893,662,674,766,897,1048,1186,1224,1144,1188,1490,1422,1372,1144,1144,1204,1184,1208,1350,1520,1592,1476,1420,1238,1352,1136,1172,1324,1320,1270,1154,1023,941,1072,1092,1054,1082,1150,1146,810,750,701,714,684,653,621,854,1282,1262,1136,1160,1009,744,912,756,496,517,804,730,533,406,408,588,714,742,843,794,631,697,787,892,1134,1022,1180,1412,1230,1398,1460,1378,1360,1188,1262,1206,1560,1458,1292,1442,1406,1100,1170,1056,916,883,912,1168,1152,940,965,1172,808,794,672,626,670,1108,1702,1826,1908,2508,2780,2690,1902,1470,1576,1428,1444,1404,1294,943,749,997,1334,1372,1318,1332,1426,1338,1282,1164,824,720,980,1360,1664,1584,1470,1488,1930,1748,977,489,641,1110,1026,862,665,828,921,803,680,520,630,715,842,695,637,650,585,531,1082,1610,1056,559,292,621,1174,801,390,320,348,328,346,435,530,527,592,570,365,363,396,383,326,329,331,314,315,359,331,288,339,401,424,461,422,425,376,352,265,260,294,330,342,314,420,532,432,462,522,552,568,619,788,659,405,306,281,254,283,312,250,300,508,794,1320,987,584,588,590,392,266,310,684,1360,1110,899,1302,1654,1788,1350,998,648,653,829,799,785,966,1206,1522,1912,2070,2212,2332,2036,1200,729,722,675,648,722,658,543,717,977,839,1096,1204,1216,1122,1086,1114,1354,1652,1598,1422,1318,2206,3436,2404,1228,1234,1418,1142,844,1015,1086,995,1118,1042,1398,1416,1448,1296,1252,1350,1440,1278,966,831,1144,1514,1696,1554,1418,1834,2250,1712,988,1164,1400,1380,1578,1488,1248,1044,611,498,552,536,478,473,415,364,413,469,502,558,579,506,539,571,464,479,499,505,499,516,514,518,532,527,495,480,521,533,546,548,495,461,416,371,386,411,418,446,485,513,515,522,560,515,463,440,361,318,281,298,335,323,380,594,739,750,993,1190,1192,1506,1490,1302,1240,1278,1252,1306,1294,1188,1386,1570,1592,1280,1382,1422,1482,1398,1318,1292,1264,1178,1208,1250,1324,1194,1112,1166,1358,1282,1572,1244,1054,1152,1118,1076,1546,1830,1340,1356,1514,1506,1048,906,913,1324,1220,1138,1348,1272,1036,1005,1038,1054,1792,1560,1306,1206,1212,621,429,651,714,515,413,597,733,742,685,605,1036,1644,1226,763,1206,1578,1622,1968,1786,1262,1802,1318,796,1332,1530,1036,1154,1140,1028,794,669,1184,1322,1450,1512,733,872,1144,828,710,922,931,999,1122,777,760,1104,472,347,527,691,895,695,818,780,1005,1538,1522,837,571,965,1328,1240,930,779,1064,1260,782,479,730,1190,1230,1058,890,774,898,455,377,632,819,599,392,556,935,1234,1198,1010,855,893,1488,1024,534,433,319,262,373,323,230,226,221,220,205,220,363,573,399,361,349,377,358,343,357,417,388,338,539,578,505,724,577,407,677,1274,843,532,779,1009,1230,1274,1009,515,309,308,403,412,397,1382,1720,814,328,522,722,626,480,925,1510,1114,573,573,738,826,718,996,1040,960,940,656,698,639,487,416,586,1246,1344,1080,1286,1230,608,714,1078,722,416,443,532,676,930,687,602,755,1126,1498,1456,1292,1034,1176,1370,932,679,550,879,1442,1550,755,599,517,785,1432,1206,864,1018,964,729,608,728,984,1148,1430,907,1007,1094,888,948,918,766,899,752,766,705,689,800,658,743,1088,1212,1368,1282,1012,986,1094,1194,1504,1544,1234,1160,979,887,1012,921,1074,1260,1262,1158,1030,1010,1002,1046,933,690,534,499,524,553,554,556,531,491,519,518,476,436,393,352,397,499,597,619,573,440,383,370,348,348,339,473,796,1076,1346,1426,1420,1470,1614,1744,1704,1610,1362,1340,1428,1318,1664,1998,1876,2138,2116,1504,1356,1194,1160,1086,686,681,1012,1172,826,442,373,385,395,474,490,515,493,506,437,525,631,1021,1160,954,1092,940,899,606,614,684,566,684,802,883,1034,1248,776,810,1220,906,705,749,755,647,448,448,444,305,285,315,356,334,360,364,361,437,545,785,899,839,1064,1134,1160,905,684,676,516,342,268,308,521,962,955,738,696,1017,1158,1284,1174,1074,1312,1508,1296,1380,1252,1023,913,843,893,778,973,1362,1276,1240,884,809,892,1164,1460,1452,1272,1382,1588,1536,1400,1208,944,576,512,647,448,403,696,1046,913,542,578,911,1066,1212,948,910,1140,1158,756,757,820,543,482,863,1472,1194,885,924,824,737,617,630,745,953,927,732,861,1096,1250,1328,1048,1116,1216,965,688,768,754,964,1256,1170,1086,1084,689,865,1264,1242,1176,888,918,1226,1216,1166,1258,724,361,444,575,830,847,1216,1396,1160,1176,861,459,383,418,522,477,599,792,1164,946,893,1204,953,864,885,720,863,623,742,1176,825,413,383,356,569,544,586,1266,967,374,598,1136,1488,1064,1498,2076,1552,782,841,638,883,1006,517,423,362,381,423,596,356,308,681,919,599,322,391,524,771,737,315,304,446,290,272,266,729,997,949,791,626,554,651,696,625,498,559,681,772,822,920,899,1094],[671,544,586,766,681,677,819,968,962,1116,887,780,883,888,894,1072,1346,1262,1130,883,668,539,536,633,701,639,533,455,470,534,603,640,625,664,686,567,462,426,419,405,412,449,508,518,432,362,293,295,310,314,319,352,378,457,475,407,343,398,502,543,480,437,387,362,343,389,539,829,755,654,637,698,731,613,510,544,562,457,336,335,500,635,719,972,1172,1001,703,706,943,1180,1298,739,890,833,686,822,882,977,842,638,515,590,518,578,788,1180,1324,1194,985,888,698,401,401,481,847,1650,1902,1662,1308,1056,902,505,382,411,480,902,1240,1126,1314,1252,775,496,550,669,1202,1510,1614,1716,1668,1426,1292,1042,1052,1184,1144,1282,1236,1124,936,666,622,648,573,572,800,1001,1128,817,661,844,916,647,603,731,866,1212,1182,654,731,1026,1074,962,979,1001,1018,1472,1156,1550,1110,525,420,1312,2078,1466,1252,1338,637,430,372,454,651,1324,1714,2054,1872,1534,1184,620,372,399,460,480,440,356,402,349,305,305,498,585,777,1154,1208,832,806,912,690,961,1320,859,524,434,562,618,465,317,255,220,192,227,254,243,238,334,610,595,423,391,323,296,391,415,392,379,419,384,408,467,531,538,513,567,651,681,617,580,623,742,952,1350,1044,544,451,492,396,306,317,268,452,698,359,528,552,1146,1988,1794,1750,1950,1828,1812,1828,1322,622,586,767,1372,1126,1050,937,910,969,1376,1878,1350,641,508,508,751,1058,982,818,561,908,1320,1448,1358,1368,1400,1148,612,724,990,960,677,611,757,660,469,580,625,438,342,362,417,466,440,1009,1300,1296,1232,910,580,683,1040,788,523,594,820,735,554,647,529,720,1160,975,1130,1026,738,807,719,991,916,553,427,537,629,1132,1266,1196,1324,1304,1312,1318,1230,1288,1224,1424,1562,1618,1464,1168,469,365,494,436,735,1208,1296,1264,1354,1422,1044,800,703,792,701,1021,1284,902,628,1009,1011,797,749,564,730,1008,1100,732,516,804,792,886,1244,1148,999,888,680,831,1192,1204,1142,1136,827,796,1222,1306,979,661,541,861,1428,1182,948,962,794,685,695,1246,1532,1740,1588,956,546,740,1152,834,463,396,645,1572,1444,1256,1492,1416,1364,1358,1060,1438,1422,605,381,475,835,761,1064,1058,691,660,623,863,1534,1542,900,524,428,941,1782,1646,1334,1178,808,783,1032,1166,828,927,1366,1360,1162,739,1070,1370,1078,1116,1698,1636,1130,966,899,607,431,431,347,308,583,1018,1468,1666,1308,1017,949,664,688,963,1074,908,803,878,810,703,738,788,974,993,777,578,693,972,913,651,814,1104,951,649,727,927,959,1156,1542,1450,1192,1013,703,705,1220,1398,1210,1052,1013,1306,1852,1786,1418,1332,1358,1276,1124,1108,1302,1252,888,926,1770,1680,1532,1426,1386,1160,982,975,985,1224,1686,2008,1146,1488,1662,1346,1396,1510,1226,1214,1066,1200,1600,1400,1556,1500,1550,1570,1718,1714,1654,1540,1604,1452,1100,907,667,788,1232,1588,1318,871,431,967,1300,1662,1842,1366,1196,1266,1472,1322,1072,863,905,587,362,480,592,456,394,581,897,930,846,1046,1266,999,1212,1005,610,966,1122,676,799,1146,1354,1290,910,778,915,1356,962,719,832,720,672,1124,1520,1556,1528,1584,1720,1544,1078,594,520,626,661,694,1230,1570,1266,1078,1132,1152,1476,1536,1650,1660,1170,1602,1914,1926,1646,896,475,603,777,503,611,1176,1378,965,1254,814,988,1400,1598,1690,1708,1614,1466,1015,805,809,1018,1100,1538,1198,807,815,808,677,426,680,999,1226,1116,1066,1470,1122,983,1194,1378,1228,1068,974,704,636,714,830,882,680,409,460,634,901,783,630,747,822,620,904,1366,1214,1232,1264,1278,1302,1480,1294,1138,1010,1142,1300,1376,1498,1602,1640,1744,2052,1624,930,969,850,1005,1238,1204,1048,997,1092,899,731,871,977,948,781,921,758,694,731,748,659,650,687,805,944,886,1196,1398,1266,778,857,745,508,667,864,709,492,408,407,461,636,747,740,811,752,770,841,1114,1372,996,1090,1322,1262,1266,1334,1304,1334,1194,1316,1334,1626,1532,1376,1454,1440,1182,1019,1082,1332,1146,995,970,745,977,1250,1120,882,871,966,1236,1440,1474,1950,1982,2000,2680,3116,2334,1476,1614,1458,1478,1484,1156,990,824,1200,1454,1390,1242,1386,1436,1460,1248,878,610,720,1086,1218,1412,1378,1244,1282,1020,935,755,720,818,668,521,735,930,708,709,706,713,709,644,644,668,574,415,471,462,333,463,1032,1466,855,523,343,445,1126,988,401,419,508,391,313,365,464,484,534,421,331,353,349,316,375,387,358,348,317,303,239,255,360,433,396,370,382,396,346,342,309,293,358,413,409,391,447,475,419,393,511,603,733,1104,975,584,595,564,474,498,421,328,333,320,583,817,1360,1204,700,672,622,361,245,304,644,1248,1068,840,1172,1554,1784,1412,810,611,783,988,979,1001,1220,1750,2194,2408,2442,2456,2342,2172,1532,865,702,693,662,701,706,623,559,1002,927,1146,1278,1122,1132,1226,1210,1216,1470,1642,1756,2626,3090,2306,1244,1136,1396,1282,982,910,1104,1124,830,1096,2646,4140,4224,2768,1788,1910,1918,1764,1618,1110,776,1023,1312,1302,1102,1400,1744,2040,1728,1110,1098,1232,1146,1400,1464,1044,1036,604,433,503,473,452,465,433,427,460,484,500,562,630,575,588,599,437,444,454,521,492,492,503,482,484,496,504,512,514,533,557,538,474,435,396,381,366,366,380,418,463,501,489,490,498,463,468,462,445,390,312,305,330,331,344,465,642,658,713,1064,1358,1626,1642,1356,1260,1320,1328,1514,1418,1258,1564,1542,1478,1224,1360,1472,1524,1498,1288,1100,1080,1220,1778,1622,1374,1160,1236,1202,1266,1402,1522,1306,1200,1148,1120,1262,1844,1802,1156,1118,1052,1100,1118,950,830,1070,1194,1006,861,1094,1170,824,861,977,802,928,1058,1130,1058,614,623,827,835,630,415,496,509,572,538,551,846,1142,891,485,803,1312,1290,1360,900,1078,1370,1362,719,1200,1434,1174,1312,1172,1142,888,655,1086,1196,1104,1062,684,564,745,828,1060,1312,1180,1236,1504,1106,700,832,555,590,787,866,720,745,896,827,1406,2142,1606,1048,798,1134,1626,1316,923,788,996,1096,946,697,668,697,604,641,748,741,830,536,342,987,1340,746,327,450,823,1196,965,739,468,612,1140,1108,1114,859,416,284,335,262,214,238,224,189,219,220,299,552,630,471,288,285,291,254,214,256,351,365,451,412,419,620,537,409,857,1300,946,943,1418,1500,1554,1244,954,551,308,272,411,440,297,542,522,397,368,312,325,391,418,693,976,869,872,838,972,981,1021,1180,771,743,999,983,1178,1230,788,643,790,912,747,568,781,824,626,1204,1528,995,535,735,1096,1568,1100,1054,1228,1044,1294,1560,1684,1550,917,911,1432,955,508,542,722,1266,1668,1118,632,612,865,1224,1070,1084,1416,1588,1612,1062,743,1005,847,755,703,979,1136,816,860,1354,1516,1498,883,756,655,585,653,599,846,1328,1642,1654,1344,1212,1136,1222,1382,1600,1560,1286,1164,1174,1182,872,744,1152,1302,1262,1074,905,829,697,705,911,682,470,484,523,556,557,529,517,462,410,453,588,731,700,568,514,533,418,422,532,436,383,394,339,321,350,480,847,1358,1638,1240,888,1240,1578,1830,1904,1836,1556,1438,1630,1742,1888,2074,1814,1654,1460,1444,1346,1126,1090,832,599,664,811,880,616,396,382,345,379,373,429,510,723,1032,618,750,923,1134,1010,1212,1380,1120,1011,703,737,719,663,733,850,850,644,810,1230,1096,1007,838,639,536,659,607,469,534,409,397,356,319,331,372,459,373,408,525,779,1260,1394,986,1070,720,854,993,692,443,469,463,420,680,1032,1150,1050,1078,937,943,830,1036,857,963,1178,913,986,1444,1466,1396,1034,644,511,807,1258,918,1106,1350,918,554,735,896,1106,1480,1470,1422,1284,1226,1426,1454,988,717,871,823,494,587,714,804,646,487,594,733,1040,1142,991,744,825,970,597,434,623,747,579,774,1272,866,984,1072,1188,1010,743,786,980,1118,830,565,487,832,1178,963,880,976,1190,1214,1038,766,577,904,1178,1020,663,660,905,1314,1450,1180,944,1001,937,1554,1974,1252,880,497,351,399,644,1036,988,1212,1118,1100,1328,1122,1016,777,694,540,574,636,735,973,778,565,712,602,728,728,655,776,471,741,1512,876,581,430,289,338,424,841,1218,901,572,656,1001,1366,1454,1482,1436,941,714,1206,1282,1374,1274,610,315,322,580,674,745,437,417,750,880,657,440,490,678,747,571,297,266,517,328,255,275,321,1036,1498,1290,662,423,601,818,662,552,476,455,686,1152,1460,1392,1818],[672,592,642,681,565,589,655,724,688,529,458,612,756,731,651,695,915,1282,1458,1074,1148,863,583,570,603,562,494,490,569,545,583,572,582,645,641,563,472,397,397,407,410,441,418,448,507,457,412,381,345,325,315,331,404,428,397,384,365,347,410,433,440,447,409,374,343,352,387,551,636,613,663,617,656,551,513,537,462,379,389,442,687,816,811,830,677,585,622,1126,1182,1232,943,1028,1328,1152,1084,1328,1930,2330,1482,899,741,711,546,655,849,1090,1234,1260,1100,1114,881,452,431,537,671,979,934,786,818,679,570,509,718,820,664,939,1004,783,1316,1522,919,522,548,655,1030,1306,1288,1522,1324,954,772,909,1198,1286,1178,1448,1440,1218,968,988,1112,783,650,611,729,1150,1278,1108,1192,1334,1286,974,965,1026,999,1064,833,504,444,655,955,957,1252,1246,1272,1184,974,1640,1520,672,523,957,1512,985,695,662,576,457,359,427,500,973,1272,1342,1208,954,1084,673,378,374,405,467,450,347,328,337,319,314,443,531,498,868,1005,698,835,897,822,995,1019,763,513,437,474,423,330,305,317,200,179,249,289,264,254,250,462,651,639,407,331,337,381,482,412,336,343,343,389,482,544,503,362,407,359,323,380,397,376,724,846,922,966,851,779,824,656,483,499,561,749,851,485,438,476,1076,1750,1588,1274,1340,1588,1832,1618,1206,642,519,700,1062,773,741,761,633,539,604,564,453,445,484,615,891,884,780,861,791,656,815,1082,1264,1604,1680,1232,579,560,725,849,907,739,517,472,410,473,469,419,377,393,419,448,347,529,858,1328,1520,1228,999,1466,1656,860,593,791,1230,1064,716,708,993,956,607,648,1250,1420,957,693,1132,1634,1128,897,661,645,606,1010,1400,1428,1258,1300,1460,1510,1208,1196,1304,1502,1392,982,1184,872,354,393,427,395,467,770,1288,1418,1512,1742,1238,772,498,583,588,860,1058,832,716,819,1172,953,694,572,794,1013,1048,840,697,661,630,882,1194,1352,1230,1122,563,578,877,1072,1136,1354,1122,1042,1116,1246,1412,1166,686,680,891,484,556,587,576,529,899,1404,1618,1700,1372,807,589,777,1012,897,910,566,514,902,1016,944,1009,962,1022,887,557,965,1128,538,383,535,804,498,791,1160,969,888,691,636,1342,1470,839,533,617,1044,1604,1476,1048,808,844,970,1370,1456,1007,931,1510,1368,1248,788,714,920,837,1216,1698,1528,1268,1058,698,531,450,370,340,667,655,816,1302,1544,1206,1112,955,450,369,539,584,637,581,560,566,460,730,1044,815,901,1238,869,687,655,710,800,911,1023,1030,772,696,985,1026,1096,1324,1026,828,757,790,1018,1188,1210,1424,1160,1096,1518,1746,1930,1548,1314,1334,1196,644,749,1038,1022,921,1186,1556,1602,1692,1516,1480,968,813,1188,1226,1210,1578,1632,2244,4002,4196,2492,1552,1314,1000,1378,1374,1604,1622,1434,1416,1424,1462,1464,1766,1952,1528,1032,1280,1506,1428,1236,935,741,1102,1428,1180,707,642,1260,1336,1746,2454,1998,1980,1546,1116,979,780,883,1094,792,428,465,613,563,742,682,518,568,760,1142,1158,1270,1218,1070,730,693,763,684,902,1000,574,542,742,656,515,759,688,582,687,716,687,1052,1330,1346,1270,1210,1184,1294,1048,865,899,1082,778,857,1116,795,579,682,922,982,1204,1450,1706,1528,1108,1282,1584,1824,1604,1230,629,495,656,729,615,766,1132,1156,1012,798,770,1198,1406,1406,1584,1740,1444,736,728,1009,1042,1340,1756,1324,634,529,567,612,462,378,818,1332,1304,1582,1280,708,534,786,1204,1272,1130,719,717,957,908,630,599,509,394,377,590,750,901,862,763,938,961,1272,1760,1204,1132,1122,1250,1272,1382,1410,1064,942,1212,1390,1500,1572,1484,1218,1021,875,832,846,860,919,871,1011,1360,916,529,805,1050,752,823,933,1074,740,651,561,553,517,491,520,658,790,681,650,611,1060,1304,1024,643,714,675,461,568,768,750,564,492,583,553,643,958,858,785,820,1072,976,960,1158,1126,1156,1470,1314,1244,1320,1276,1300,976,1344,1758,1572,1488,1582,1376,905,751,1234,1168,1166,993,596,519,882,1182,1208,1064,1007,1078,1204,1306,1574,1648,2170,2032,1764,2206,2278,1408,1238,1332,1414,1704,1390,1428,1404,1202,1454,1350,1188,1268,1934,1768,1386,1074,598,458,516,671,661,721,716,644,713,716,919,919,1162,1456,1254,832,726,905,711,688,813,730,615,659,565,401,337,308,437,538,423,437,688,932,861,670,362,332,978,952,439,366,443,462,568,625,633,609,564,587,514,393,349,349,390,376,357,334,319,322,276,307,413,412,318,220,267,375,372,357,340,374,435,462,495,491,474,421,387,420,556,745,1202,1418,861,554,736,977,583,526,374,314,376,287,518,805,1216,1378,880,645,477,315,256,276,636,1212,1090,761,929,1228,1238,840,734,1048,711,930,1372,1660,2050,2320,2442,2446,2398,2338,2292,2292,1968,1220,753,706,676,658,708,736,507,689,1124,1268,949,827,749,597,576,631,1136,1700,2858,2946,1866,1138,847,883,1110,1066,895,856,1018,1015,825,1050,2912,4006,3432,2236,1756,1836,1858,1832,1716,1114,825,1092,1342,1516,1384,1320,1476,1708,1658,1138,1064,1466,1188,1438,1460,1064,1044,633,379,405,364,384,424,400,427,473,487,491,529,564,557,567,527,425,441,484,476,451,465,466,476,479,498,520,495,493,546,538,500,481,443,392,368,371,368,368,382,406,441,422,437,460,454,450,443,471,444,362,360,357,339,332,403,480,670,694,802,1106,1372,1422,1360,1272,1224,1368,1720,1422,1274,1606,1418,1376,1332,1178,1274,1466,1460,1252,1170,1300,1208,1310,1300,1124,1094,1186,1186,1214,1338,1390,1308,1074,1044,1212,1172,1142,1150,1116,1094,806,878,1262,1162,764,811,1028,1144,936,817,895,1024,1136,1086,1182,1494,1134,1024,1190,821,698,676,767,643,456,412,432,593,676,626,757,1064,758,403,824,1444,1500,1338,1010,874,943,1484,911,893,1110,1120,1240,1328,1632,944,856,1352,1082,1202,1274,810,732,1266,1480,1532,1772,1166,979,949,1044,954,1188,1406,1554,1412,880,537,608,618,754,1204,2062,1452,1300,1172,1026,1015,868,832,819,651,614,785,821,782,676,458,477,700,675,577,657,459,760,988,557,296,301,508,719,472,505,532,387,618,642,568,527,367,298,296,323,295,320,268,223,235,228,230,455,586,433,278,275,305,266,247,253,320,439,422,359,395,422,414,518,743,938,912,845,1248,1314,1192,672,855,639,405,337,339,308,295,307,326,348,353,382,679,767,703,788,689,740,857,800,981,1052,769,660,568,918,1278,1218,1234,1482,849,664,749,683,565,538,1064,1582,1544,1686,1742,1324,805,1208,1354,1202,1046,1334,1220,1052,1218,1080,1310,1332,948,772,912,644,385,354,330,915,1664,1172,499,498,709,1094,960,1170,1350,1340,1678,1134,688,730,717,640,643,966,1122,834,795,973,1124,1128,1158,923,664,616,580,558,912,1552,1792,1500,1312,1348,1326,1514,1658,1522,1376,1266,1242,1444,1386,905,795,1104,1166,1234,1092,1036,1005,786,749,901,720,521,488,500,537,574,526,462,448,470,633,783,625,658,781,678,514,407,483,626,540,452,445,437,361,500,634,1110,1606,1604,1380,1236,1696,1710,1670,1686,1872,1966,1898,1648,1558,1664,1742,1704,1372,1226,1718,1572,1304,1028,582,551,567,691,1054,722,393,453,393,354,410,498,526,791,910,758,1009,1196,1310,1168,1422,1314,1144,1208,933,1019,1068,1146,1178,1332,933,533,829,1004,876,788,745,608,477,461,409,451,499,458,465,367,303,279,364,383,364,491,687,1290,1680,1170,857,832,569,807,1036,670,338,572,877,991,1116,1388,1362,980,1282,1356,879,588,720,1124,1254,802,448,623,1090,1482,1366,1256,883,823,1256,947,582,799,1194,1004,648,838,1248,1224,1005,1130,1418,1122,1160,1556,1464,1030,873,1164,914,513,666,734,1348,1158,861,649,668,1054,1152,1126,854,642,770,664,455,667,1044,1170,1068,813,1068,1622,1456,958,856,1104,1094,1280,1396,1338,1004,655,913,1440,1120,933,1005,1003,1030,952,777,800,844,948,883,605,534,830,1388,1722,1370,1150,1010,572,1064,1448,1088,905,955,987,1180,962,997,1150,1260,1162,1322,1264,1170,1262,1288,1456,894,645,860,1104,1274,975,593,680,655,783,915,990,504,325,520,1428,1178,619,352,270,306,628,1416,1728,1332,825,774,772,1042,1438,875,521,601,629,1078,1716,1554,1110,543,439,410,492,611,671,397,287,455,659,685,448,359,496,571,432,272,267,586,431,236,270,227,516,1132,1126,408,370,421,536,398,371,389,664,1058,1448,1672,1626,1968],[1076,717,652,675,1132,1016,662,684,569,500,442,448,500,491,509,591,896,1196,1400,1222,1190,948,597,515,511,446,443,469,629,615,608,580,590,567,502,462,446,406,352,361,428,439,337,332,491,473,382,334,298,271,292,319,376,439,433,372,363,363,379,387,415,460,450,406,367,350,372,490,808,861,626,518,597,609,572,557,515,517,522,827,1310,942,840,690,613,698,833,1604,1412,1114,1060,1208,1362,1410,1284,1192,1422,2232,1676,923,580,500,549,786,866,704,778,987,1192,1272,969,522,468,730,1132,1312,860,490,495,415,374,415,560,747,639,596,618,482,1166,1628,1272,736,847,1021,1086,1058,651,675,568,535,631,813,1202,1704,1908,1700,1292,1312,1074,1106,1360,842,631,574,651,883,881,1058,944,973,857,708,712,672,555,370,361,428,488,884,1158,840,1021,1252,1038,632,695,1520,1598,769,500,477,486,418,342,389,556,441,425,513,461,516,799,1092,791,814,1017,941,475,325,484,622,672,519,495,650,720,542,404,460,419,534,791,858,1066,999,810,1038,1222,832,494,444,460,435,340,346,320,201,172,226,259,258,261,260,312,471,698,839,661,607,568,698,566,408,650,795,437,423,488,457,358,397,420,371,385,414,432,722,963,966,1020,960,952,991,933,946,897,928,1130,1004,639,569,847,1200,1086,748,497,602,907,986,1106,1042,646,450,562,579,694,1194,1312,690,415,426,544,596,512,667,1007,933,1058,1064,1130,1446,1214,707,1214,1562,1650,1340,804,505,471,536,581,777,677,536,543,515,755,755,447,339,391,454,456,375,375,578,1140,1522,1406,1296,1444,1426,1274,984,995,1158,1170,1110,1108,1304,1310,866,938,1618,1522,796,802,1528,1392,1238,1250,957,673,509,839,1328,1270,1040,1160,1388,1070,1098,1370,1486,1322,1214,1088,1112,720,372,338,432,505,495,639,1348,1180,1002,1074,951,676,536,591,678,854,763,475,457,1102,1592,929,589,589,670,847,827,883,980,884,880,1064,1180,1372,1400,1618,816,774,1132,1050,814,944,1222,1098,948,1238,1360,1092,594,363,505,563,446,516,529,543,1052,1498,1760,1718,957,592,512,498,598,1158,1428,1116,935,944,799,641,730,741,771,578,670,1164,1070,698,548,483,482,435,715,1036,1116,1022,791,821,1186,1376,1316,963,856,1134,1230,1044,734,734,933,877,1132,1216,1010,923,1136,1418,1472,1180,888,792,897,1188,1182,1496,1280,1017,1168,1192,863,445,502,977,809,562,1052,1228,1212,1432,835,505,430,490,613,604,489,545,505,282,662,985,635,634,1270,1120,753,577,524,841,1074,1072,993,791,662,796,799,865,866,651,636,615,867,996,810,1112,1362,1050,1488,2080,2034,2154,1392,1116,896,1022,970,908,1092,1212,822,1012,1456,1788,1880,1174,1294,911,1156,1522,1400,1174,1310,1396,1754,3742,4916,3012,1832,1578,1368,1418,1620,1612,1332,1332,1328,1428,1446,1554,1870,1572,924,570,565,852,1300,1516,1314,959,1092,1090,779,673,1132,1530,1416,2052,2194,1614,1532,1158,825,1054,1096,890,893,907,630,594,666,678,1030,654,341,348,725,842,870,828,717,820,829,918,854,819,1130,842,628,600,923,740,429,466,563,649,844,813,758,1036,1194,1150,898,774,839,775,647,860,1316,1362,1078,1154,1214,803,599,704,829,700,849,1102,1292,1168,967,888,870,984,1412,1428,783,593,612,643,819,814,971,1208,1044,908,1152,1414,996,747,1044,1390,1520,1178,1132,1242,1054,1378,1642,1058,655,494,651,1222,1156,797,1092,846,929,1666,1390,844,584,637,658,743,938,554,530,897,985,663,789,747,435,383,581,1001,1776,1584,642,707,1004,1132,1196,915,985,1208,1356,1290,1314,1204,1044,982,1013,963,777,664,821,885,874,944,1176,1290,1262,1280,1082,1150,1606,1192,888,919,1188,810,716,738,974,833,558,528,582,583,689,894,904,805,723,619,687,835,872,670,535,510,433,344,349,499,682,696,597,673,569,599,903,935,965,1308,1408,908,794,1358,1278,1178,1812,1522,1238,1230,1186,1278,1116,1316,1666,1398,1260,1440,1328,719,503,951,1068,793,814,714,838,1015,899,756,874,1148,1228,1194,1164,1522,1946,2056,1648,1688,2008,1592,1240,1216,1200,1566,1612,1664,1546,1466,1504,1532,1180,1056,1296,1528,1416,1180,642,480,508,549,708,542,481,616,735,794,809,933,1094,1432,1614,1344,976,723,769,756,619,651,718,639,622,486,306,340,482,669,908,843,716,617,775,972,837,558,348,758,1252,1018,822,897,923,993,822,1038,1132,858,743,695,501,352,341,333,383,355,335,363,378,270,268,348,358,324,271,338,406,305,282,334,412,403,463,479,493,460,387,381,561,792,1054,1342,1194,570,408,501,571,440,346,444,605,607,429,364,548,944,1154,785,397,301,282,268,236,496,1100,1162,739,772,1058,1002,686,1080,1278,1132,1584,2146,2446,2620,2530,2446,2492,2536,2500,2458,2486,2344,1554,871,723,691,643,676,753,699,833,1282,1382,976,755,623,567,746,1100,1532,1718,2070,1494,971,1050,933,770,831,966,949,908,1090,961,916,1184,1440,1712,2002,1918,1650,1790,1744,1594,1626,1122,797,1362,1982,2268,2094,2024,1852,1432,1286,1174,1180,1610,1300,1506,1428,1088,1046,664,374,354,317,318,333,339,392,468,465,457,518,578,551,554,524,454,472,498,476,471,479,461,433,447,477,495,520,517,534,530,509,506,495,468,415,389,384,397,413,440,394,348,367,406,436,444,440,458,464,426,437,423,379,369,427,515,660,702,717,834,1108,1294,1316,1252,1398,1472,1432,1300,1290,1392,1294,1246,1190,1144,1200,1322,1184,1156,1382,1482,1248,1280,1312,1188,1212,1336,1300,1288,1290,1256,1096,1176,1104,1220,1130,1094,1094,1020,918,867,977,1304,1470,1106,785,808,1020,833,868,828,1186,1202,1262,1338,1082,1048,1220,1272,1021,865,758,891,918,520,657,868,939,973,538,542,713,657,402,585,1082,1084,773,874,815,612,794,800,569,829,1646,1740,1434,1722,978,905,848,642,861,749,577,961,1590,1378,896,931,620,637,636,775,1282,1896,1948,1894,1448,769,495,550,675,1160,899,1546,1296,1212,927,827,943,682,312,262,412,785,775,515,493,933,772,514,736,780,725,1021,883,428,526,544,448,400,459,642,457,426,612,532,435,373,308,349,328,315,400,430,535,581,331,203,217,215,226,364,520,501,444,367,341,288,254,273,303,369,509,601,640,605,586,897,974,874,1282,1392,1076,944,667,395,648,677,436,268,259,312,420,430,335,286,300,347,1136,1380,1080,1003,880,793,972,769,692,906,775,537,701,1152,1242,1034,1214,860,362,372,469,596,1003,1430,1700,2008,1858,1866,2024,1626,1726,1714,1074,772,920,885,568,768,1096,872,1054,1023,1052,886,885,709,366,274,465,865,846,460,332,359,547,1126,1062,1050,1015,912,722,587,539,477,569,604,692,1108,995,625,571,599,603,767,1058,930,756,767,673,827,1146,1694,1632,1236,1282,1428,1472,1412,1298,1328,1318,1172,1136,1256,1278,1316,1128,1146,1242,1256,1144,999,888,896,1144,1048,706,540,508,491,542,551,538,484,443,514,855,915,441,499,1028,1034,681,543,846,878,611,629,503,410,410,475,785,1324,1268,1058,1268,1206,1768,1654,1490,1546,1784,1954,1966,1770,1656,1922,2314,2562,1768,1570,1268,1202,1390,1176,702,645,582,475,680,669,581,667,771,570,630,785,750,794,1042,1026,891,1026,1140,1102,1124,1062,1232,1190,1078,1038,1132,1116,1854,1996,1310,1102,1104,1028,944,1016,750,512,474,493,465,448,552,669,496,346,276,315,376,362,411,466,1003,1442,1272,1106,986,740,550,648,750,542,368,453,903,1198,927,883,858,891,1440,1238,790,696,919,1460,1078,537,448,514,816,1094,1258,1262,868,993,1082,618,565,783,847,648,714,814,1252,1406,1092,663,861,1124,1456,1534,1462,1230,807,947,669,427,492,641,962,1404,1072,753,1088,1174,1084,1180,1112,992,949,976,911,1076,1512,1636,1474,1258,1456,1834,1724,1212,904,1112,1472,1554,1346,1220,1088,698,745,893,745,729,799,925,802,520,785,1142,1168,1116,1030,966,860,697,1058,1428,1284,1352,1444,752,775,866,876,753,1124,1274,1432,1470,1440,1446,1196,1112,1274,800,755,713,1098,1664,1436,1384,1676,1674,1622,1350,1138,990,822,1266,1504,1426,796,433,695,1896,1668,572,469,437,407,712,1646,1568,998,930,1044,830,966,1094,633,411,448,417,822,1666,1412,1502,1088,642,399,317,493,591,323,305,623,1046,796,363,283,303,304,307,269,240,553,586,225,263,250,300,618,966,495,387,339,305,371,392,501,1080,1384,1548,1672,1500,1686],[1382,1060,700,941,1610,1306,713,666,476,443,453,421,392,506,515,564,1042,1196,1038,1080,1122,828,673,510,452,376,417,500,641,583,583,624,570,491,426,406,403,435,347,326,440,474,389,337,398,383,312,296,320,393,385,380,364,412,385,336,340,359,365,375,394,429,465,452,397,379,426,650,1090,1070,694,561,541,602,620,559,631,727,789,1526,1786,1028,706,443,430,593,760,1388,1288,768,933,1052,1226,1652,1330,1236,1196,1462,1416,742,423,437,498,669,681,590,753,940,1178,1004,742,475,427,787,1214,1174,725,470,450,428,384,355,393,558,638,707,623,411,1274,1814,1484,846,651,909,1296,1160,944,925,676,560,696,704,1346,1980,2136,1728,1316,1402,1116,1036,1298,968,659,601,902,1018,684,469,521,579,673,837,822,711,633,440,399,477,650,1366,1304,719,969,1338,1360,1090,860,1172,1032,760,691,535,433,430,381,466,482,391,482,536,590,574,762,1058,1236,1018,1008,1132,778,472,389,667,965,930,822,1164,1338,775,397,331,395,415,700,838,917,991,930,1206,1170,686,457,417,399,459,418,355,258,181,178,221,249,232,219,250,328,399,453,887,780,571,534,588,572,453,566,586,362,349,369,380,378,397,403,391,368,353,442,741,944,916,938,919,904,920,889,952,956,980,1042,790,449,454,723,1023,906,816,695,533,882,1282,1504,1286,671,465,522,551,763,933,1282,840,525,509,814,933,626,615,943,1114,879,698,844,1228,1386,899,1418,1762,1766,1404,1046,723,683,741,462,453,568,644,568,670,1388,1190,529,404,405,393,409,451,454,525,759,1108,1228,1216,1180,1498,1562,1384,1260,1158,1208,1684,1826,1322,1274,1040,988,1484,1414,1076,1490,1268,1026,1352,1456,1124,688,857,1196,1262,1001,747,772,969,957,1100,1454,1510,1052,1052,1464,1084,447,401,429,830,525,515,412,742,704,515,499,602,767,739,855,1066,1092,633,400,519,1404,1570,1066,766,780,930,973,926,846,1032,1202,1086,1188,1284,1250,1256,1238,1019,1108,1228,1238,959,904,1218,1180,1038,899,846,687,364,276,421,550,687,1012,833,753,1310,1606,1760,1500,860,512,452,507,761,1366,1440,1316,1446,1010,836,858,1098,1194,1148,602,822,1428,1050,700,689,488,519,799,1092,1186,1296,1016,1016,1092,1278,1376,1280,1382,1428,954,1218,1432,914,592,554,473,863,1322,1230,976,1274,1472,1372,1194,888,778,822,1056,1084,1460,1000,1030,1232,1210,835,619,795,1040,1024,733,725,562,781,1330,1062,758,747,802,948,788,534,646,569,391,366,640,702,583,1130,854,586,642,585,690,870,825,747,664,457,492,550,758,858,909,635,686,1040,951,1046,1406,1158,972,1542,1654,1588,1522,1404,1222,928,954,1168,1026,974,1062,950,957,1198,1512,1186,946,1152,1048,1302,1482,1328,1228,1300,1288,1450,2188,2570,2194,1748,1566,1454,1406,1432,1368,1344,1310,1170,1168,1348,1332,1514,1003,612,802,675,561,948,820,614,881,1198,1382,1366,1432,1616,1830,1850,2300,1830,1482,1066,1007,1042,1410,1620,1294,1080,813,502,408,416,644,922,552,389,361,653,988,1142,1146,965,761,806,886,908,1234,1386,1018,828,827,1046,1026,855,820,839,1176,1556,813,644,855,949,903,683,731,911,985,949,722,1040,1290,1486,1450,1496,949,612,938,1094,1114,993,706,708,725,1062,1328,960,925,962,601,439,647,774,701,790,1036,1330,1206,1072,1096,1362,1494,1120,750,612,800,1086,1342,1564,1600,1406,1504,1248,772,675,544,926,1378,1300,930,769,724,644,937,977,726,609,767,791,909,878,757,821,914,770,807,1126,1048,605,627,971,1228,1528,1476,859,680,877,1190,1110,1122,1200,1130,1108,983,782,626,637,651,659,676,531,511,890,998,948,1124,1278,1248,1092,1030,912,929,1244,1094,962,844,948,803,728,784,1070,1194,1068,995,861,745,699,799,901,956,962,1005,794,644,545,416,373,345,309,300,287,303,338,455,607,648,547,571,729,858,1044,1350,1308,923,577,732,1124,1306,1448,1194,1190,1230,1188,1348,1314,1330,1280,1382,1416,1450,1406,1482,1142,1130,1262,994,838,982,918,632,567,664,664,904,1188,1154,1054,1256,1864,1674,1172,1152,1314,1304,1478,1288,1178,1460,1564,1880,1676,1448,1170,973,1040,1132,1208,1324,1256,690,473,635,1001,1212,1134,696,560,650,819,922,870,983,1356,1754,1758,1436,1112,827,872,1034,951,867,758,561,507,453,407,416,557,731,1010,1100,947,797,1178,1350,973,672,402,574,1286,1432,1368,1220,1040,743,467,901,1152,787,692,718,506,335,288,338,406,349,321,323,325,296,298,326,343,338,324,387,354,303,273,336,377,390,426,419,488,499,433,472,665,915,1308,1210,697,416,294,307,516,505,328,409,596,718,595,370,368,385,406,530,339,320,278,220,255,423,930,1148,705,535,648,574,689,1202,1390,2046,2568,2674,2626,2570,2418,2396,2500,2586,2578,2568,2564,2494,1760,1132,822,686,702,695,745,797,757,788,1228,1188,838,711,866,1204,1528,1522,1190,968,1054,1126,1142,978,816,982,990,981,895,1064,947,1054,1378,1620,2166,2166,1666,1416,1676,1806,1748,1822,1238,862,2016,3062,2564,1958,1884,1700,1484,1454,1416,1194,1266,1252,1528,1404,1010,1016,766,419,382,370,323,295,317,344,388,433,450,502,506,517,565,535,501,498,509,495,466,476,457,452,445,444,456,474,473,483,483,493,502,504,467,459,470,446,425,438,455,430,369,359,405,437,434,440,440,445,465,455,452,411,362,391,507,534,545,666,740,844,1036,1288,1396,1428,1382,1300,1300,1344,1340,1226,1138,1154,1274,1120,1136,1190,1330,1440,1240,1366,1540,1548,1264,1180,1250,1204,1184,1046,1018,1176,1620,1278,1284,1266,1160,1086,1144,1196,1218,1236,1538,1512,1282,837,774,880,864,1009,1124,1266,1322,1312,993,593,1038,1366,1126,1196,1162,897,1154,1230,690,968,1404,1408,1406,709,582,670,776,540,568,719,773,1146,1314,973,608,709,1004,499,571,1642,1808,1548,1598,1080,625,425,484,597,585,582,706,915,857,728,749,803,877,996,1060,1664,1844,1724,1832,1496,933,535,540,702,1156,872,757,623,922,954,1020,1304,863,362,307,387,583,503,482,551,1220,1346,853,675,771,811,1052,877,509,647,477,370,357,468,1028,1078,600,648,941,688,332,391,626,458,539,708,728,950,874,404,230,296,366,346,278,257,260,415,459,519,344,250,360,507,846,1096,878,733,612,631,1072,1302,786,858,1132,792,676,606,410,498,677,486,282,359,480,473,383,369,383,354,251,548,745,634,641,902,1402,1512,813,511,546,838,824,1064,1084,985,937,647,321,356,639,1224,1484,1780,2100,2044,1842,1590,1890,2062,1552,1126,958,1024,887,926,972,722,1038,1118,1026,668,525,623,756,1226,1196,452,308,435,467,356,371,491,394,377,793,860,971,1152,756,482,354,357,317,379,487,557,1072,855,497,658,654,824,1017,769,599,769,853,772,890,1015,1324,1406,1130,1216,1334,1438,1380,1268,1340,1424,1340,1038,1108,1276,1200,1190,1328,1308,1260,1178,1026,694,785,999,863,703,549,511,478,497,529,551,495,447,480,736,907,710,936,1304,1018,761,1058,1316,1176,803,1021,837,554,670,747,1170,1352,799,728,932,1094,1310,1196,1264,1678,1866,1764,1788,1836,2018,2172,2104,2844,2138,1940,1082,873,1122,1080,868,896,709,426,694,1044,875,1132,1388,922,1116,1054,891,942,813,850,1116,1126,874,1132,987,916,1144,1174,970,1212,1366,1094,1458,1460,1218,1226,1202,990,1084,1582,1318,854,603,492,461,491,1058,1182,722,389,373,507,458,455,407,522,1068,1050,1042,1180,959,689,544,508,461,440,389,415,549,691,757,776,1102,1696,1644,1136,1094,974,760,897,512,432,473,584,663,835,961,886,650,758,1052,1104,998,963,905,800,587,803,1580,1654,1072,746,699,1038,1670,1540,1302,1390,874,894,1021,764,758,683,1056,1476,995,705,997,959,965,1134,1208,996,1005,985,1172,1572,1432,1216,1062,946,1216,1436,1434,1776,1500,1036,1510,1726,1636,1252,1001,716,667,1058,1322,982,773,1003,678,502,715,1198,1246,1236,1346,1438,1564,1498,1374,1324,1328,1588,1100,630,705,889,725,755,1152,1260,1298,1350,1400,1416,1240,1422,1302,567,404,463,632,1204,1246,1208,1598,1390,1256,1076,960,536,637,975,984,681,843,774,727,1498,1410,594,768,681,619,796,1858,2054,1013,599,821,729,699,670,483,404,379,357,559,1570,1604,2088,1890,1288,888,593,782,739,403,342,660,991,655,358,357,370,327,287,276,252,524,607,237,235,254,262,386,1122,710,393,430,471,430,440,1023,1500,1282,1202,1192,941,1064],[1182,1126,973,1088,966,860,586,558,505,466,443,445,430,514,478,711,1048,944,756,580,523,515,561,496,474,388,448,528,557,458,455,527,519,462,423,402,374,394,339,336,453,491,404,350,334,309,277,299,361,480,400,412,383,413,369,340,332,325,328,363,391,414,484,495,420,415,514,1028,1106,1046,874,621,475,680,820,651,810,969,784,1470,1204,753,521,382,396,462,658,1216,1246,660,807,780,971,1612,1330,1080,1042,1122,890,582,486,452,697,976,1042,805,894,1278,1356,994,757,552,445,626,654,454,421,466,468,409,350,365,577,888,1250,1060,584,447,974,1500,1316,910,838,1122,1420,1340,1438,1376,755,495,580,606,1130,1762,1896,1526,1238,1336,911,670,821,755,623,666,971,1023,684,505,539,672,759,714,789,585,697,520,421,438,604,1094,938,781,1252,1236,1316,1556,1816,1572,969,1166,1218,793,476,384,376,477,463,350,383,424,656,777,1004,891,1290,908,741,1112,1058,619,380,354,506,919,1190,1482,1100,507,343,326,356,360,555,1004,1444,1470,1174,1304,1032,602,427,426,444,459,448,401,269,181,205,254,236,200,180,232,305,366,383,786,678,343,305,310,286,269,295,290,293,347,456,491,449,421,399,399,385,365,451,732,902,926,968,983,984,959,944,973,966,968,974,746,458,462,457,576,1152,1272,754,494,580,623,1208,1368,581,561,648,626,838,870,1290,1130,894,978,1406,1284,738,636,1015,1092,554,465,564,564,791,843,990,1194,1148,1310,1308,659,912,1322,767,479,570,640,619,663,1048,807,455,451,345,393,812,861,535,465,594,1024,1128,1248,1300,1160,982,1206,1162,962,1266,1710,1642,1082,1060,838,698,785,1042,1340,1410,1148,1176,1402,1494,1256,1100,1198,1066,1356,1222,861,939,1284,1418,1454,1472,1416,1308,1402,1290,833,429,521,664,969,505,443,359,456,767,1030,1252,1424,1292,1032,1350,1274,973,594,492,577,771,1212,1450,1442,1592,1424,1394,1622,998,767,838,1002,1212,1168,1102,1198,1200,1204,1212,1242,1334,1138,1130,1152,1188,1252,786,686,574,377,348,422,417,664,1044,1030,945,1444,1654,1876,1180,597,413,378,473,725,1180,1132,886,1140,1322,1310,1172,1092,931,791,546,919,1590,1168,732,890,631,458,603,1272,1528,1530,1358,1404,1202,1208,1192,1526,2548,2206,1106,1310,1002,844,1072,725,495,841,1398,1270,836,1072,1322,1178,986,781,816,899,1130,1234,1144,1070,948,826,773,593,792,1080,1160,1028,845,484,353,755,1258,1116,1016,994,1012,1020,924,820,690,622,528,422,710,760,659,933,806,519,387,466,602,705,764,871,863,482,480,516,535,687,676,544,835,1256,1454,1712,1414,743,924,1190,1282,1112,1148,1278,965,630,849,1134,753,673,1190,1550,1366,1318,932,594,501,494,714,991,1078,1005,1182,1288,1258,1420,1992,2012,1746,1432,1296,1282,1360,1200,1124,1316,1290,1062,1170,1342,971,1158,766,657,902,705,760,879,509,500,446,557,673,847,913,983,1352,1682,1356,1344,1282,973,939,879,1472,1694,1406,957,568,363,462,479,596,877,629,505,561,764,969,1172,1328,1128,1054,966,955,731,919,1278,988,907,1028,1052,1182,938,813,752,1186,1810,1020,670,608,625,631,634,531,501,1084,1096,829,1306,1190,1152,959,1170,1216,1054,1286,1220,1328,1268,829,977,1042,1278,1290,1058,1234,1454,807,393,475,597,834,1018,974,968,848,1072,1040,946,1114,1282,1200,680,797,1096,1108,1342,1592,1820,1726,1064,719,724,644,1158,1268,1028,1048,1324,1338,1052,707,621,648,760,901,949,1364,1164,896,1124,1192,802,821,1258,1136,866,1064,1272,1472,1007,1204,1040,814,760,1028,1158,1374,1242,805,698,581,620,605,522,719,734,557,446,375,626,702,608,749,778,583,551,540,551,824,1106,1162,994,800,803,934,1060,1108,1140,1042,834,681,397,306,361,408,359,343,517,916,1258,1154,896,680,412,340,325,352,340,327,426,488,548,563,611,627,677,659,812,1176,1290,1218,833,863,1344,1338,970,868,1110,1140,1170,1312,1510,1684,1200,1416,1482,1424,1078,1046,809,745,1076,1088,767,586,539,610,395,339,350,715,1152,1140,907,1024,1206,1164,985,1023,1346,1354,1396,1572,1654,1880,1872,1572,1484,1362,949,760,1146,1208,1282,1432,1212,831,574,576,654,641,644,552,491,558,743,981,1208,1452,1638,1710,1726,1680,1470,1048,869,897,694,494,382,374,393,446,484,471,529,636,894,1008,879,741,872,993,756,478,490,698,1270,1476,1422,979,529,552,803,1236,1320,969,918,761,530,360,294,387,416,378,323,275,274,292,329,334,323,258,295,368,297,301,342,407,401,412,414,433,449,521,626,700,836,1060,976,806,628,589,617,493,379,348,373,361,322,334,373,316,332,301,462,590,410,301,225,246,307,440,878,984,660,519,877,738,914,1060,1424,2258,2684,2520,2580,2612,2620,2592,2490,2554,2580,2494,2202,1638,1220,1296,1062,658,771,775,849,1102,1216,719,897,766,583,795,1238,1442,1326,1156,974,764,1234,1108,1086,1012,824,871,844,916,879,926,910,860,865,805,1202,1066,855,1238,1822,1976,1854,1806,1274,785,1482,2010,1726,1548,1538,1694,1754,1404,1598,1616,1424,1274,1396,1284,1338,1506,1160,686,473,424,317,309,323,332,330,390,480,511,488,489,522,495,476,485,503,514,455,452,434,460,490,474,486,516,452,447,469,480,470,439,386,351,342,367,414,441,423,399,369,379,400,435,435,441,446,459,483,446,422,427,379,321,357,422,428,483,670,712,852,1056,1188,1144,1176,1284,1366,1442,1392,1240,1120,1224,1194,1150,1264,1230,1322,1266,1680,2000,1504,1550,1192,1196,1516,1152,1104,1148,1092,1054,1160,1032,983,993,910,1038,1452,1506,1370,1382,1578,1410,1394,1030,1042,1192,1086,1186,1086,1044,1328,1316,1220,860,1104,1200,875,945,1322,1001,882,1054,893,1332,1604,1488,1662,985,665,931,1252,916,1016,1036,807,1222,1312,866,622,713,917,723,508,1072,1494,1364,1302,1088,673,453,510,623,543,468,813,937,930,846,771,930,1554,1724,1154,1210,1544,1858,1888,1500,1030,654,598,613,837,935,620,411,633,806,575,651,561,380,369,398,375,441,639,874,1306,1372,960,658,636,610,580,453,480,530,415,401,461,618,950,952,567,534,995,995,636,780,926,925,968,959,943,1038,882,490,430,512,634,477,256,288,457,861,1166,1180,670,428,558,833,1418,1470,980,708,362,380,692,964,525,424,609,532,576,670,610,626,749,579,390,616,693,396,363,448,453,478,509,683,930,615,513,846,1330,1015,557,360,390,1010,1174,1160,1142,1058,1082,883,435,381,693,1566,1884,1836,1738,1470,1504,1578,1596,1362,1068,1002,1170,1418,1080,1284,1482,1374,1324,1164,1272,1114,744,572,645,753,722,314,280,452,410,375,398,448,386,360,462,478,1018,1466,904,755,379,315,356,377,493,647,1082,1128,969,995,1606,2250,1224,597,401,572,530,558,681,1060,1324,1194,1158,1312,1252,1184,1372,1432,1244,1224,1388,1224,1406,1616,2050,2258,1664,1202,961,959,1090,1026,1266,944,744,783,617,530,531,545,570,543,489,480,525,551,675,1216,1236,863,641,537,772,1202,967,751,1292,1498,1166,880,943,2182,2454,1120,589,704,830,1222,1344,1322,1420,1506,1712,1856,1754,1756,1790,1982,2254,1990,1596,1166,1114,1142,1138,1076,1110,774,666,888,790,871,1116,1004,750,900,694,572,702,636,879,1112,1132,888,1356,1250,956,1620,1532,904,1362,1542,995,938,1232,1334,1252,1236,871,915,1482,1730,1582,1204,860,623,987,1360,1088,882,773,813,860,968,868,771,1316,1188,867,1023,891,910,819,584,455,418,510,532,943,776,673,888,1198,1546,1418,1250,1466,1598,1498,813,478,438,454,525,638,548,609,578,416,382,509,984,1458,1166,1040,1354,1164,832,1126,1594,1400,760,725,794,1016,1538,1434,1596,1522,1470,1452,1504,1466,1604,1310,832,1028,1364,1004,1184,1188,998,956,877,865,1028,922,1372,1742,1238,800,910,1184,890,988,1332,1724,1232,1240,1498,1754,1426,1018,1210,1130,771,847,1470,1009,686,784,602,626,764,775,872,1196,1126,1266,2034,1984,1394,1058,1258,1456,887,524,522,839,949,971,1296,1234,1024,1256,1446,1284,1136,1620,1322,662,774,971,916,1064,943,583,722,624,730,598,631,500,509,534,590,775,1434,1536,713,615,838,677,775,538,463,890,1700,1570,739,356,397,405,417,418,374,370,384,398,607,1182,1294,1338,1428,1660,1338,935,822,681,479,319,452,681,613,428,328,392,397,296,304,296,458,531,277,239,234,277,259,854,806,370,427,483,372,724,1866,2184,1600,1338,867,697,720],[1038,1384,1832,1406,749,617,511,524,518,468,456,454,456,473,482,641,713,611,537,422,563,467,358,383,433,455,494,528,511,437,394,385,404,387,392,422,404,410,406,424,473,426,429,530,427,320,270,305,359,378,361,383,359,378,387,361,342,323,324,369,415,458,513,473,396,523,821,1254,1410,1254,1017,882,834,1176,1396,1088,867,694,576,756,799,569,462,451,404,441,594,1112,1510,943,717,664,850,1202,1176,959,1074,1096,729,488,467,843,1682,1714,1262,979,936,1328,1406,987,603,686,1094,997,540,427,408,461,452,370,384,487,797,1442,1918,1310,682,751,889,1178,1218,802,816,1106,1242,1300,1346,1100,615,533,633,908,1124,1536,1822,1234,1044,868,664,513,485,519,505,674,1324,1490,717,397,548,961,1076,546,393,489,717,627,557,538,584,736,691,897,1888,1780,1430,1638,1816,1450,1328,1406,1050,594,551,548,606,622,459,411,429,420,603,825,774,728,1011,1400,1696,1624,1144,595,340,299,328,696,1100,966,578,352,314,318,365,524,857,1150,1224,1086,1023,1064,872,547,435,501,565,515,419,357,252,184,215,251,205,190,183,250,302,307,447,663,526,356,268,289,312,304,274,277,273,306,365,378,401,412,362,354,366,383,441,747,883,916,947,957,977,974,974,973,946,1012,1012,601,342,345,375,495,1302,1282,667,405,445,743,1254,1282,651,1044,1218,1078,1344,1302,1032,924,1018,1222,1278,953,676,551,470,446,483,579,607,678,868,850,723,677,755,1046,988,736,1214,1538,1098,738,819,644,517,810,1218,959,670,854,514,967,1570,1546,833,698,905,1106,1526,1694,1642,1290,805,860,982,857,950,1128,1170,967,874,948,991,1004,1060,1216,1158,1172,1170,1268,1290,1306,1402,1354,1730,1898,1460,1474,1394,1296,1476,1560,1460,1362,1466,1440,1210,896,558,621,856,788,468,418,450,607,868,1158,1378,1656,1224,1174,1284,1138,624,531,1004,872,500,952,1202,1252,1286,1120,1754,1722,1204,1170,999,1028,958,783,868,977,937,1094,1354,1378,1222,1130,1216,1242,1064,1092,753,461,382,365,419,443,394,374,463,778,1178,1556,1766,1686,965,516,346,357,426,523,685,1056,1136,933,1350,1412,1280,861,552,523,458,932,1322,929,713,894,636,407,603,1378,1560,1452,1528,1434,1106,1102,1338,1440,1526,1526,1090,955,867,1222,1932,1418,927,1110,1106,984,742,741,485,638,887,1020,952,849,984,1044,1168,1354,1200,973,717,438,766,1554,1566,1138,886,875,1372,1860,1528,1024,937,1140,1316,1076,906,859,589,601,677,652,674,730,876,877,692,487,361,477,564,672,684,803,710,483,495,458,340,385,521,585,771,1268,1512,1546,1068,633,745,993,1422,1236,972,1007,1021,939,830,1018,697,772,1194,1158,1064,959,650,560,515,498,615,896,1164,1178,1070,987,1324,1754,2122,1802,1276,1184,1276,1236,1152,1094,1274,1560,1158,969,863,931,960,918,758,955,1172,934,887,908,737,924,620,500,418,999,797,527,676,1044,1224,1334,1264,1224,1042,940,1682,1902,1490,1198,632,389,557,576,619,743,891,845,561,978,656,702,756,607,739,831,921,637,988,1186,858,1242,1032,893,1088,1086,1032,896,1540,1598,1144,891,713,536,706,927,613,655,1238,1060,1270,1548,1342,1007,678,725,719,873,1306,1304,1156,1118,974,1058,1312,1616,1468,1106,937,1074,874,716,681,702,1090,1198,854,811,920,1382,1382,864,712,830,880,747,1116,1642,1582,1450,1580,1440,1564,1456,1202,887,954,1342,1154,840,1132,1510,1488,1430,1026,780,631,852,828,719,904,861,677,936,1416,1426,1180,1152,1096,1162,1200,966,1418,1180,1100,1056,910,737,805,974,1076,785,619,676,713,673,772,788,813,683,434,293,244,321,387,414,405,381,508,734,756,878,1096,1021,939,1134,1015,664,601,636,591,655,874,1262,1226,711,492,391,389,442,443,553,943,1394,1534,1526,1332,912,645,663,625,699,868,933,1048,1130,1068,871,642,678,670,827,1330,1556,1412,1312,1576,1516,1042,900,1128,1328,1334,1248,1300,1414,1284,1100,1054,1222,1354,999,809,886,564,628,978,1240,1014,808,791,391,277,298,579,1024,1011,808,1216,1986,2016,1208,1232,1572,1388,1324,1452,1666,2122,1754,1550,1566,1278,1098,1168,1500,1236,1250,1396,1322,942,558,464,477,476,484,455,484,595,808,1202,1520,1672,1634,1628,1550,1434,1234,888,742,619,480,394,416,416,408,450,456,439,445,588,800,872,875,939,1160,1154,881,472,365,390,972,1418,1498,1064,869,1160,1284,1346,1426,974,876,781,488,318,364,390,349,321,338,352,314,263,364,351,310,233,301,396,392,371,394,405,437,453,431,447,418,498,695,736,1246,1182,753,852,894,896,990,1136,929,605,681,899,582,688,493,290,293,230,437,466,373,420,285,286,314,400,933,1090,785,568,611,637,938,920,1036,1838,2344,2382,2668,2604,2512,2468,2408,2512,2450,1952,1294,792,749,1084,1240,688,736,926,1530,1880,2156,1350,825,863,675,579,967,1194,883,893,1028,888,1274,1116,1012,1056,835,680,724,868,839,816,889,782,786,547,473,616,591,1136,1742,1854,1738,1716,1282,677,1024,1714,1858,1682,1762,1838,1768,1392,1592,1490,926,853,1104,1666,2186,2190,1522,991,637,478,373,403,428,423,416,444,494,509,511,505,482,468,444,484,495,484,451,431,419,422,444,480,472,489,443,435,469,417,379,341,333,325,316,330,455,453,387,374,374,389,397,413,429,437,429,429,423,406,410,447,411,345,334,367,399,392,508,658,763,894,1110,1360,1466,1474,1538,1390,1390,1292,1136,1186,1236,1316,1392,1424,1368,1164,1340,1436,1342,1374,1224,1218,1170,1118,1104,1224,1300,1212,1084,918,910,1158,973,1013,1366,1482,1520,1482,1282,1244,1526,1414,1378,1278,1148,1172,837,698,1028,1504,1160,974,1054,1064,861,1070,1438,1570,1326,1198,1184,1844,2032,1648,1642,1158,938,1228,1498,1168,909,769,507,728,1146,804,672,661,982,1082,835,778,841,900,971,892,612,591,659,623,377,677,1230,1116,819,746,694,696,1462,2004,1492,1548,1576,1388,1380,1168,871,561,343,445,689,556,346,324,414,725,487,584,584,529,483,419,509,556,573,861,1068,918,1023,940,515,422,509,430,505,571,398,417,499,427,392,368,395,498,827,1017,721,685,1100,1394,1186,925,676,582,519,390,468,501,575,666,870,686,813,1364,1388,893,510,634,993,1354,1578,1484,1270,1020,529,299,699,902,535,322,393,486,461,421,391,365,538,648,587,766,1062,769,615,811,772,544,520,615,995,758,608,827,756,700,588,587,849,1344,1432,1122,1036,834,755,725,600,465,523,922,1334,1418,1296,1584,1860,1616,1366,1018,823,964,1120,1094,995,1420,1576,1714,1426,1078,1324,1600,1370,813,549,426,423,414,352,287,302,433,397,318,268,292,354,419,742,1184,859,598,392,348,493,615,567,841,1178,1142,1174,935,1128,1560,991,497,406,489,491,656,945,1238,1368,1116,855,1216,1288,1184,1526,1430,1040,998,1170,1248,1368,1488,1576,1354,1256,1142,889,1003,1218,996,1066,698,593,699,595,495,521,573,613,531,474,513,567,573,915,1376,1026,731,587,563,635,793,991,1052,977,1378,1594,1007,965,1356,1214,1102,781,544,780,929,1112,1420,1322,1330,1528,1722,1736,1678,1602,1738,1798,1714,1592,1620,1560,1444,1554,1354,1384,1156,1066,1100,857,758,716,777,758,531,477,521,575,741,945,1110,1146,1622,1738,1306,1188,1652,1498,797,796,896,692,900,1332,1226,1266,1016,733,576,730,1206,1614,1790,1540,759,1056,1144,820,667,882,1016,789,1194,1050,1094,1332,990,1094,1054,728,1186,1300,836,518,429,641,907,1172,1192,1428,1446,1324,1280,1290,1470,1604,1376,1080,955,733,491,393,473,551,567,506,502,440,459,676,1188,1190,1130,1328,1470,1472,1332,1038,1056,1138,949,1082,914,1176,1080,956,1400,1560,1572,1400,1460,1914,1820,1080,667,892,1454,1188,1802,1820,1322,1114,839,639,540,722,1200,986,796,840,1174,1124,919,795,769,799,643,971,1600,1846,1224,634,766,1012,991,801,1136,753,811,941,825,935,943,738,776,782,670,725,1158,1556,1034,641,1212,1556,1282,693,453,935,1322,1007,1162,1252,1354,1538,1484,1058,731,848,760,712,906,1066,1002,847,912,503,537,655,598,587,846,912,1192,1568,1616,1598,2170,1770,923,518,600,566,474,392,332,628,924,986,773,358,359,379,376,371,352,339,440,474,612,1062,1422,1222,1078,1488,1976,1720,946,616,406,257,294,472,719,669,419,521,548,374,367,341,762,711,305,232,232,262,205,594,857,456,413,442,525,593,1322,1942,1448,792,540,635,695],[1034,1344,1226,1180,1018,601,500,564,515,470,468,458,488,514,558,764,515,321,364,348,404,346,339,422,485,507,524,529,507,436,383,391,391,391,381,412,416,387,421,470,457,391,421,564,490,363,292,305,468,465,418,424,387,399,365,376,403,364,365,367,361,402,463,431,419,854,1262,1330,1344,1474,1294,1070,1134,1404,1746,1602,947,631,628,880,992,980,1074,868,568,528,652,1144,1440,1082,951,1005,1352,1584,1190,973,1194,964,643,443,460,944,1566,1340,940,1022,1234,1160,990,838,509,825,1744,1330,495,348,415,468,474,504,463,484,802,1394,1466,939,674,894,1018,1616,1626,982,941,1026,1152,979,778,741,633,664,553,758,935,1202,1300,1028,736,579,579,497,375,440,513,517,879,1108,818,796,911,1654,1676,791,322,432,521,478,545,644,656,695,688,836,1836,1780,1202,911,800,680,567,505,542,1068,1622,913,875,688,445,475,465,385,455,641,633,571,911,1434,1302,1256,1154,815,424,299,289,448,610,556,402,332,338,367,487,749,1182,1288,1136,609,397,654,785,527,390,491,515,478,340,261,201,204,241,248,219,215,206,263,302,275,493,713,451,345,269,250,288,277,251,226,260,253,222,267,247,238,263,304,359,367,485,728,849,948,986,964,962,953,1007,965,929,855,758,428,297,350,394,358,753,991,857,904,826,976,1292,1330,1236,1126,1114,1398,1488,1144,669,680,1070,1124,1088,843,743,923,793,530,451,707,971,863,634,654,630,637,853,600,571,805,1066,1420,983,614,549,471,691,1418,1776,1276,1316,1698,1088,1482,1662,1758,1104,1008,1382,1454,1522,1650,1860,1876,1050,850,969,931,977,1232,1082,883,712,915,1384,1198,974,1074,1150,1210,1172,1280,1364,1198,1242,1444,1702,1400,1350,1578,1428,1322,1438,1296,1088,1368,1346,1160,1234,918,630,675,606,542,484,398,539,791,949,1266,1284,1152,1272,1138,864,1038,910,980,1458,1108,521,552,849,1330,1522,1350,2074,1660,1148,1234,1204,945,938,1094,1028,766,977,1352,1526,1330,1182,1356,1326,965,953,1114,826,472,448,407,443,462,391,356,421,694,1222,1606,1852,1410,763,467,306,373,328,421,588,1046,1136,804,1030,1194,1152,773,546,533,506,682,1001,1076,644,526,516,564,996,1648,1552,1518,1548,1474,1064,1050,1292,1256,1188,1378,1098,976,1328,1532,2028,1760,819,887,796,769,670,847,517,430,766,1132,1138,945,846,789,725,973,1374,948,689,544,766,1556,1902,1374,1028,1534,1870,1452,820,529,607,1040,1228,862,424,418,560,684,853,844,646,835,1012,973,910,629,435,394,393,470,798,780,558,540,578,610,532,541,758,617,591,706,913,1136,1100,1084,1044,991,946,918,932,879,1138,1418,1222,1200,883,911,905,609,468,413,562,821,756,628,747,1088,1260,1486,1188,1236,1588,1726,1866,1542,1064,1230,1360,1252,1028,954,1056,1298,1048,1158,1010,939,977,863,774,840,685,766,1014,756,720,695,792,661,580,1334,1678,1414,1394,1318,866,760,921,1254,1404,1406,1640,1780,1630,1284,898,928,1218,1172,910,706,1048,1206,839,1158,904,799,666,481,473,471,471,475,656,682,890,1490,1150,802,898,967,889,1172,1614,1572,1192,855,753,756,904,858,569,435,610,687,1122,1436,1266,1054,780,885,980,786,738,779,1042,1196,1260,1170,1396,1204,1164,1294,1390,1222,1198,1428,1108,1002,1050,595,553,645,1124,1328,1136,967,711,688,687,702,718,993,1372,1456,1622,1092,846,1176,1538,1478,1454,1470,1168,964,1378,1296,1218,1056,1530,1224,744,644,744,648,596,521,641,1288,1730,1466,1442,1072,803,1038,1204,909,866,841,1058,1248,1164,1066,1154,1040,1030,524,490,557,514,391,438,497,567,564,450,403,423,405,534,868,836,523,675,667,498,474,619,570,471,514,542,535,655,1068,1316,1366,1478,1664,1494,1370,1230,1074,1152,1252,928,841,1086,1252,1444,1536,1558,1450,1430,1390,1220,1352,1302,1076,1146,1366,1456,1424,1238,1136,936,783,1288,1678,1716,1548,1492,1326,1007,775,903,1148,1260,1244,1324,1296,1366,1186,1102,1384,1654,1460,1010,1130,957,980,1108,1268,1416,1522,1070,529,297,312,454,887,1132,1132,1754,2610,2242,1832,2008,1872,1556,1562,1406,1482,1556,1382,1540,1240,813,1032,1372,1274,1106,1064,1210,1404,1258,770,455,470,431,475,564,675,774,897,1328,1498,1422,1400,1364,1154,1034,979,742,583,510,440,353,370,369,408,419,363,316,450,792,908,890,855,778,982,996,980,872,522,285,701,1298,1514,1364,1318,1180,1204,1200,1538,832,665,672,455,340,339,325,292,273,341,356,250,206,333,369,345,285,266,334,359,363,401,482,562,508,440,402,406,554,696,932,1216,774,969,1338,990,863,779,872,1042,861,1088,1140,816,1270,865,397,437,507,641,498,441,428,433,339,253,532,1184,1248,844,525,366,596,915,1088,2032,2460,2322,2622,2604,2532,2518,2500,2220,1816,1286,802,623,628,650,755,1114,770,669,949,1452,1718,2222,1964,1248,1112,957,714,767,999,912,1048,1176,1086,1186,1072,976,1016,888,752,855,1015,892,796,976,922,903,843,1128,1456,1440,1576,1830,1936,1880,1610,1074,700,871,1234,1290,1416,1488,1282,1308,1498,1594,1600,1756,1994,1956,1830,1464,1244,995,1021,837,532,436,452,503,522,479,456,519,517,536,566,532,478,461,475,460,447,440,428,409,385,352,403,469,499,473,437,428,392,363,368,335,307,319,343,505,480,438,439,394,398,421,413,421,439,430,415,397,401,394,394,391,380,328,321,359,372,407,545,699,772,951,1378,1378,1442,1556,1366,1498,1500,1360,1284,1302,1364,1474,1344,1278,1422,1266,1242,1226,1418,1924,1500,1232,1320,993,1062,1294,1158,1092,1046,1396,2420,1576,1288,1180,1228,1366,1150,1056,1376,1534,1506,1428,1108,1360,1638,1230,877,964,1270,1324,1124,1356,1312,896,1058,1290,1656,1638,1664,1454,1562,1450,1376,1250,1156,1372,1432,1438,1454,866,491,499,994,1600,1180,839,644,717,910,889,704,830,848,727,867,880,768,579,654,461,848,1098,876,677,713,783,747,902,1306,1260,999,839,939,1280,1230,759,339,203,238,343,469,555,328,322,766,899,964,760,774,716,589,648,704,677,651,637,628,1248,1484,873,431,412,361,384,403,377,357,401,336,338,306,342,432,708,855,850,914,1007,885,652,540,371,357,419,551,766,631,608,645,835,717,538,650,637,433,475,755,938,1426,1502,1282,1424,1158,838,692,778,725,498,324,316,306,290,267,284,328,473,834,930,985,1128,998,973,1036,1016,360,244,255,543,698,1054,1256,752,455,603,827,1048,1590,2268,1614,934,811,1164,1438,1106,784,700,666,829,891,846,1272,1208,625,690,725,589,633,964,820,633,928,1114,1108,885,908,1242,1134,1198,949,814,623,535,496,440,324,314,333,349,301,229,352,644,675,609,744,522,426,522,557,679,1026,1172,1116,1346,1272,999,676,564,899,658,430,422,475,558,830,1294,1456,1120,882,796,1026,1060,948,1128,1294,1064,1060,1066,856,831,1122,1250,1312,1378,1288,1388,1538,1410,1016,932,915,813,738,599,472,545,553,546,549,491,519,531,741,1332,1208,723,487,533,997,1030,735,774,1078,807,1124,1436,1396,1440,1418,1408,1378,954,675,935,825,1114,1290,1594,1434,1566,1928,1940,1678,1704,1844,1864,1676,1310,1196,1366,1422,1562,1346,1244,1216,1086,943,820,582,536,816,1260,1010,684,532,636,885,807,1040,1336,1938,1858,1476,1350,1324,1172,1044,1050,836,796,1066,1080,1014,1060,888,875,738,714,1110,1576,1898,1384,587,683,852,598,708,1152,1260,1080,937,974,1102,641,521,957,929,1222,1588,1552,1382,1038,785,1116,1360,1120,1162,1368,1140,1312,1428,1532,1482,1334,1028,668,774,929,651,440,438,477,601,687,1110,863,494,823,937,532,945,1376,1190,954,836,781,816,904,675,1014,1080,1330,1086,871,1252,1516,1508,1554,1546,1610,1162,554,952,975,927,755,1316,1390,1182,1038,793,678,510,835,1344,989,745,703,702,969,1674,1152,466,570,1044,1354,1498,1162,1018,661,560,650,861,1338,1548,1110,844,933,1062,821,574,700,934,887,981,1180,1470,1578,912,704,1178,1530,1360,673,435,692,1124,1138,948,1130,1378,1378,1322,784,443,620,828,659,657,523,403,557,800,565,474,594,590,671,876,1352,2008,2100,1580,1108,1964,1612,1334,727,595,596,425,338,341,300,315,491,644,372,310,307,325,352,401,418,411,390,755,1438,1116,708,1060,1484,2114,2218,1170,696,491,299,340,456,557,463,356,488,571,452,360,418,1015,676,237,249,243,260,252,511,897,524,491,666,519,553,785,920,733,602,576,579,574],[869,1404,1634,1378,954,865,857,749,543,521,489,494,507,571,568,760,509,359,361,360,366,333,341,418,435,449,459,476,508,490,460,448,458,462,420,415,433,457,501,509,631,475,421,477,503,373,310,351,530,606,703,572,452,520,352,355,372,360,380,379,359,358,415,403,474,959,1532,1570,1078,1088,1462,1362,1136,1100,1236,1228,887,592,743,965,976,1282,1560,1420,1204,1070,1262,1476,1314,1060,1064,1128,1376,1530,1144,824,681,540,524,455,442,486,444,432,478,720,1100,940,587,750,731,920,1826,1372,513,414,530,490,444,460,476,601,865,1078,968,858,675,967,897,1664,1750,1130,1086,1276,1224,885,550,893,784,598,598,963,1212,1466,1272,780,498,515,593,600,433,411,502,451,472,541,1274,1540,1224,1380,1444,929,425,400,449,444,421,556,644,1166,1350,1346,1300,1082,971,923,1005,825,439,405,518,1140,1756,980,794,568,506,483,448,626,955,1008,547,511,713,1124,1522,1544,1092,867,604,360,298,290,301,343,322,300,386,509,513,554,922,981,825,465,186,270,479,665,682,495,366,354,308,242,173,195,201,195,213,219,207,257,312,294,487,704,367,319,286,262,291,246,189,197,241,284,303,293,285,274,279,300,319,296,440,702,860,899,880,876,771,690,828,957,1013,1148,969,559,439,532,570,617,946,974,780,1178,1406,1300,1248,971,1174,996,1038,1378,1472,1246,645,922,1430,1388,1216,1238,1194,1288,1206,763,403,637,941,749,574,594,495,475,658,523,623,727,854,971,736,575,536,519,850,1324,1440,1334,1946,1788,1346,1498,1530,1290,844,982,1294,1144,1308,1522,1836,1670,1346,981,752,974,1284,1396,970,712,700,948,1218,1164,1054,879,1164,1316,1304,1182,1256,1404,1378,1204,1062,1136,1350,1434,1542,1354,1440,891,778,1112,1062,1046,1042,634,732,1028,697,343,366,529,738,821,1058,1386,1360,1212,1214,835,620,700,1064,1494,1432,655,487,452,848,1448,1504,1716,1984,1468,1126,1312,1096,1002,1278,1292,957,753,1182,1360,1300,1166,1222,1286,1340,1442,1436,1216,803,526,543,469,458,478,438,439,624,954,1480,1810,1672,1176,893,515,419,482,555,688,755,1050,988,619,768,1292,1138,773,827,772,527,859,1274,1100,1080,1148,1112,943,1460,1786,1200,1176,1430,1554,1148,1110,1124,1148,1007,1378,1274,1292,1798,1472,1480,1314,928,930,863,691,1078,1100,852,775,1176,1776,1630,963,945,1262,1002,1028,1332,1090,778,544,613,1036,1522,1200,755,785,749,725,996,595,534,873,1438,874,364,457,893,840,487,513,483,821,793,894,1270,1000,772,806,606,459,724,706,622,757,672,712,899,1042,1166,575,537,899,860,966,976,1076,1302,902,509,644,691,778,924,1160,1198,1108,993,1122,1042,738,576,526,810,1248,1396,1466,1256,1436,1412,1466,1532,1676,1702,1810,1870,1362,849,1080,1160,1162,1124,1026,933,964,1436,1548,1284,918,745,691,730,1005,863,897,1322,1510,925,720,1152,1196,1262,1846,2176,2014,1968,1680,1760,1468,1106,886,833,1090,1300,1426,1610,1470,1336,1560,1854,2026,1544,597,527,798,1010,1246,1306,1172,927,758,798,783,388,423,442,442,984,1348,1094,996,1040,717,558,647,875,1152,1024,1112,1080,959,818,771,603,435,367,555,1246,1358,1204,1018,795,891,1232,1110,720,698,567,714,1110,1274,1336,1228,1086,1108,1332,763,1070,1548,1278,1016,879,593,463,397,896,1015,1005,880,744,1028,795,716,583,625,621,1294,1292,821,644,657,911,1256,1626,1734,1556,1332,1482,1314,1184,1370,1730,1274,805,733,774,570,385,437,960,1436,1276,1094,1572,1346,891,969,1066,823,777,1052,1046,1130,1406,1190,945,992,917,493,374,359,380,451,460,592,768,812,595,659,713,647,558,698,599,482,487,426,490,663,822,693,908,1202,1410,1328,1476,1796,1870,1902,1736,1454,1498,1692,1390,1326,1682,1748,1418,689,561,498,1072,1644,1570,1256,1412,1422,1294,1232,918,664,811,1208,1408,1462,1492,1598,1438,1088,1068,1396,1644,1364,1300,1210,1336,1068,1038,1036,850,1040,1452,1500,1340,1260,1366,1366,1320,1294,921,708,765,1216,1222,1230,1352,983,765,605,387,365,478,800,1180,1272,1210,1396,1524,1728,1584,1576,1890,1904,1706,1390,1334,1470,1534,1084,577,1004,1294,1152,1188,1186,1260,1432,1318,976,484,444,470,589,843,1154,1096,945,1130,1144,1004,914,794,662,593,536,484,456,436,384,355,344,346,372,354,285,311,440,576,684,869,882,644,783,1160,1248,986,599,289,508,1030,1514,1426,1090,1040,1176,1242,1284,758,645,746,475,321,313,290,276,316,307,301,255,261,351,345,364,291,225,255,290,343,392,465,578,481,441,434,481,562,809,1058,754,836,1346,1536,1052,912,966,958,1086,944,1024,689,774,1204,969,756,730,691,666,645,515,1076,1272,900,756,980,1282,1080,701,411,314,515,904,1002,1788,1216,1206,2026,2398,2424,2360,2042,1464,977,773,709,679,655,637,629,811,932,772,717,1106,1670,2186,1872,1086,860,876,691,572,881,1098,1090,1050,984,1070,1156,1030,969,954,956,1134,1034,877,886,988,835,1064,1676,1870,1754,1758,1824,1874,1942,1880,1488,1054,686,1026,1610,1398,1266,1216,1062,1236,1628,1504,1560,1242,1116,1116,1228,1144,1128,1268,1522,1332,829,525,460,508,522,492,506,533,559,568,565,562,496,419,417,442,458,452,444,403,367,341,363,454,477,442,420,399,398,424,418,358,299,305,315,416,462,438,397,380,383,389,394,421,434,430,422,386,383,382,383,394,389,343,328,337,365,401,434,544,706,787,929,1250,1194,1206,1256,1302,1686,1772,1404,1334,1376,1400,1260,1268,1324,1104,1102,1212,1366,1704,1378,1260,1266,1074,1034,1132,1112,1040,1072,1388,1858,1586,1478,1114,1206,1344,1484,2002,1504,1554,1504,1358,1156,1290,1308,1274,1236,1218,1312,1456,1338,1148,819,567,806,1290,1164,1260,1204,1106,1116,1042,1364,1388,1222,1450,1480,1394,1230,1070,561,451,913,1454,1260,684,428,543,827,873,445,537,576,631,698,1030,963,1005,1074,653,447,460,449,638,642,548,479,652,1007,1036,1132,1396,1418,1144,946,860,670,315,296,327,679,1096,751,600,739,922,861,501,540,754,648,581,752,906,677,614,466,899,1394,1156,724,398,340,291,320,410,385,408,353,451,451,437,538,758,916,1046,850,543,315,343,496,532,504,485,443,711,816,742,713,815,830,674,368,371,457,742,827,628,802,1034,1428,1342,979,904,860,781,374,312,267,302,410,394,288,293,329,403,675,724,632,686,860,1005,1520,1512,536,317,538,833,1022,1198,1236,795,337,408,404,547,1250,1980,1294,1126,1036,871,999,1124,1026,774,502,686,908,761,877,861,744,692,583,481,1072,1376,715,383,557,660,764,571,715,1296,1102,1110,1072,1094,1232,764,349,330,318,427,380,397,401,422,431,902,857,609,512,581,508,571,933,1224,1136,1404,1258,1042,1198,791,524,461,521,468,451,452,461,546,884,1314,1534,1098,1192,1124,973,1014,1030,1318,1340,1154,1202,1050,683,613,804,1116,1340,1274,1210,1350,1238,980,884,1078,1256,1004,771,598,492,553,524,495,500,487,514,546,940,1312,1052,609,432,611,1106,1110,908,616,774,866,1142,1260,1448,1582,1438,1288,1268,794,642,969,1158,1194,1250,1506,1556,1590,1844,1802,1356,1440,1610,1754,1686,1632,1610,1630,1764,1760,1410,1166,1098,910,707,691,727,595,1058,1482,998,805,785,879,700,443,504,807,1220,1356,1242,1216,1124,1294,1388,1448,1086,1054,1166,1144,1318,969,703,972,989,927,923,1068,1334,656,405,470,534,599,1009,1490,1654,1352,1094,1090,736,439,483,597,987,1486,1810,1700,1354,1009,1142,1356,1290,1186,1082,875,956,1354,1548,1372,1268,1024,1023,948,1072,1194,841,528,445,409,497,1102,1252,827,769,974,626,430,821,1168,1178,1106,685,379,449,626,449,594,956,1020,1190,1310,1400,1526,1320,1578,1592,1158,613,448,839,917,772,747,698,707,932,743,526,685,514,581,843,667,742,552,714,1708,1764,1116,1154,985,1324,1330,1066,708,1054,824,538,577,1144,1998,2128,1716,1010,624,595,446,460,927,1232,1032,939,1086,1062,1030,977,991,1064,1140,1184,686,403,805,1382,1212,886,1090,1274,1376,1128,568,566,978,1084,511,465,447,370,502,640,497,391,431,428,569,847,1028,1188,1034,803,1090,1454,1594,2010,1506,916,713,491,340,329,394,446,569,818,670,482,495,544,727,868,619,411,337,644,949,533,568,1540,1916,1458,1124,990,953,691,385,287,293,292,221,231,277,438,480,363,495,800,499,241,233,232,309,374,447,827,624,676,1023,944,808,695,520,482,515,590,557,498],[1124,1300,1192,928,1005,1668,1914,1202,498,495,579,530,517,539,530,740,888,819,625,619,365,303,391,427,386,375,392,464,531,533,491,405,367,420,424,423,438,481,495,549,729,764,661,656,728,684,604,601,663,573,641,452,457,639,672,543,407,370,392,426,380,334,364,369,373,480,1016,1350,1394,1054,1110,1400,1462,1208,1058,1070,786,556,599,815,985,1310,1700,1408,1378,1606,2330,2266,1522,1182,1162,1284,1454,1464,1082,648,479,506,440,391,395,408,414,406,369,556,1060,919,524,638,676,653,1118,959,777,972,1020,609,550,691,777,774,711,630,565,520,539,839,770,1166,1422,1174,1262,1282,1292,1286,842,796,722,584,908,1352,1206,1372,1222,661,677,791,724,643,650,454,490,469,555,747,1202,1488,1456,1444,1246,918,543,543,512,440,342,432,902,1788,2024,1638,919,664,897,1294,1604,863,415,402,447,720,1028,904,810,1036,1262,717,535,1124,1846,1724,718,480,505,779,965,838,658,680,657,503,329,316,276,287,347,552,661,611,581,545,777,709,375,219,201,230,267,441,565,401,307,303,308,257,179,190,224,222,223,216,191,254,359,372,645,648,360,298,290,288,297,239,184,246,277,310,409,372,357,334,377,371,308,240,304,531,698,785,819,659,616,684,991,1710,1746,1654,1346,954,641,663,840,869,828,808,791,852,1168,1088,756,634,865,1140,1488,1518,1568,1242,1044,937,1108,1146,1260,1284,1272,1214,1034,642,443,657,1094,981,647,508,409,384,742,998,1074,1001,787,543,486,576,583,673,874,722,815,1044,1530,1272,970,965,916,648,550,716,870,1196,1626,1484,1556,1076,1252,860,510,769,1154,1206,999,814,761,915,1198,1300,1152,1234,1274,1434,1430,1322,1284,1306,1342,1208,1228,1270,1388,1568,1764,1604,1406,1122,1140,1290,1036,728,582,377,469,727,908,571,450,680,924,1156,1040,816,761,920,877,678,620,851,1300,1130,721,436,419,437,758,1334,1556,1600,1590,1332,1238,1310,1114,1130,1064,1088,786,860,1116,1150,1392,1546,1220,919,1114,1282,1168,1028,965,672,535,478,488,458,409,551,885,1160,1504,1774,1702,982,836,774,908,744,544,623,996,1448,1330,734,866,1660,1386,1009,729,783,683,909,1054,1260,1434,1158,906,790,1108,1248,854,728,1324,1324,937,973,1202,1356,1318,1552,1512,1302,1290,938,984,704,807,1054,1148,847,1246,1270,951,929,1316,1996,1428,675,1000,1666,1698,1154,824,872,576,460,561,715,750,692,952,918,746,773,1418,824,495,698,1013,727,417,521,756,727,626,472,438,642,506,820,959,854,862,765,579,653,893,850,1128,1418,901,659,1056,1218,1136,642,824,833,575,758,663,494,468,431,868,900,711,688,865,1172,1224,1024,919,1158,1032,645,761,731,1082,1490,1992,2046,1384,1354,1466,1480,1650,1588,1442,1490,1630,1274,955,1346,1040,847,1030,937,919,1128,1374,1368,1058,805,1054,822,834,1052,814,1144,1356,1476,1180,1158,1104,1256,1630,1986,1540,1618,1646,1162,1476,1656,1722,1288,1230,1268,1156,1204,1074,886,1036,1344,1416,1700,1362,773,582,614,1110,1160,910,1036,962,1124,1378,1394,501,338,385,527,1030,1001,739,842,849,672,566,522,652,943,625,756,1340,1164,1023,980,841,739,515,937,1578,1570,1742,1230,743,634,821,1058,762,771,766,641,905,1240,808,1042,1234,1152,1206,805,992,1064,996,839,717,847,712,498,637,566,734,724,816,970,845,912,1130,1318,1338,1446,1023,830,782,706,723,749,940,1272,1566,1574,1370,1258,1194,1714,1544,1054,934,1202,1454,908,450,778,1466,1338,921,1362,1680,1508,1158,896,813,798,1160,1258,1086,1222,1470,1092,601,633,830,743,546,666,761,647,569,886,1026,860,572,684,828,1042,804,808,1190,1194,1072,1122,1154,1454,1784,1370,1446,1582,1626,1478,1550,1494,1270,1174,1015,969,1024,1062,1028,1192,1324,1282,1208,579,288,645,1202,1648,1724,1810,1742,1494,1138,1334,1084,671,1276,1502,1342,1578,1534,1506,1606,1494,1376,1102,1136,1204,1230,1434,1340,982,680,742,912,1180,1390,1298,1386,1134,1254,1440,1290,1166,752,673,815,1046,1174,953,650,779,1142,752,377,387,523,846,1110,1240,1302,1556,1572,1350,1494,1878,1852,1560,1228,1104,1368,1552,1648,1236,918,1198,1194,1142,1294,1248,1250,1284,1188,1140,614,432,516,657,979,1390,1194,791,703,624,628,508,431,398,401,431,433,441,402,410,402,345,339,350,378,325,322,433,1028,1104,994,919,730,784,1264,1372,1017,989,383,380,758,1316,1186,1034,1108,1198,1358,1298,725,667,795,437,303,302,302,276,290,297,309,343,328,336,411,421,345,274,281,359,348,388,456,468,426,422,481,615,614,818,826,949,1588,1656,1644,1278,1108,1372,1318,1218,1032,593,422,922,1278,1338,1194,980,904,823,617,608,871,1080,1516,1384,1162,1244,995,662,446,375,645,637,495,626,459,657,1578,2344,2126,1562,1001,695,643,644,644,631,634,622,625,733,953,945,1178,1934,2106,1614,876,496,477,513,481,422,582,890,1001,1009,1098,1288,1566,1258,1012,995,1021,1262,1056,872,1020,1009,691,886,1342,1486,1374,1772,1836,1896,1908,1506,1120,1126,768,1690,2454,1586,1154,944,1024,1028,1046,1354,1600,2326,1864,1814,2352,2098,1428,1410,1816,1744,1186,702,513,441,485,529,551,578,544,544,547,517,482,416,403,434,449,451,449,411,385,386,391,437,455,420,413,387,370,401,410,377,328,301,309,359,427,413,366,356,381,417,433,427,400,402,410,402,390,396,406,392,368,343,314,330,360,365,361,372,501,694,789,959,787,963,1192,1152,1232,1328,1474,1478,1426,1560,1656,1416,1156,1186,1214,1282,1190,980,1184,1590,1550,1220,1122,1164,1190,1152,1124,1338,1306,1470,1394,1050,1378,1436,1548,2514,1458,1206,1210,1448,1300,1136,1198,1488,1508,1230,1350,1544,1266,872,811,874,1256,1212,1016,997,905,1140,1428,1360,1432,1266,1098,929,951,910,825,1007,571,466,735,1030,1058,714,431,574,1222,1266,573,529,666,673,507,724,997,1574,1724,861,364,293,435,616,447,508,459,656,1056,1216,1392,1566,1296,759,686,1010,1122,510,320,474,939,1236,810,635,668,628,742,641,655,661,382,426,687,889,788,600,612,825,988,1252,1262,719,356,303,339,428,470,508,405,579,697,594,711,712,835,1188,903,627,526,402,313,289,288,344,321,572,857,761,764,829,1002,953,532,515,518,606,739,658,635,1018,1110,803,1028,877,595,610,580,415,633,977,1124,677,309,323,321,371,543,699,691,999,1364,913,1144,1082,540,406,741,1038,1358,1444,1262,1086,382,356,439,513,1007,1126,1009,1622,1446,982,1054,1092,803,602,483,505,424,502,602,637,785,1126,1178,688,882,1088,645,378,341,505,854,636,790,1114,1144,1150,998,932,1056,714,451,439,894,1108,619,590,814,935,763,633,514,391,666,965,783,772,983,1360,1180,1056,1272,833,875,915,753,761,800,713,551,502,481,634,999,880,1110,1200,1354,1150,1044,969,1001,1298,1272,1070,963,894,662,482,592,1028,1096,1264,1168,966,908,783,842,962,1126,976,810,602,505,509,511,501,505,490,519,661,844,896,699,508,405,557,739,736,700,541,593,1128,1592,1358,1166,1488,1346,1204,1278,831,677,1042,1472,1026,1072,1528,1846,1572,1398,1556,1570,1798,1606,1694,1688,1830,1952,1978,2094,1870,1598,1314,893,743,631,709,1056,664,937,807,476,523,904,919,510,359,368,550,879,1026,1074,1278,1248,1262,1302,1238,1106,1126,1110,1258,1248,800,627,877,1324,1366,1184,1009,1068,860,642,548,532,712,1130,1644,1638,988,1050,834,465,405,456,694,1370,1778,1888,1818,1134,751,845,1016,967,1023,866,759,1148,1440,1382,1320,1094,1034,1194,1148,1412,1346,1058,585,431,430,816,1280,900,856,1220,1124,483,451,570,822,999,1102,575,382,530,882,788,624,720,938,1456,1676,1756,1450,1410,1438,1418,1418,1120,979,1078,891,794,1156,1180,573,424,501,416,505,670,575,489,596,641,521,1032,1534,1496,1834,2136,1780,1472,760,442,766,808,795,836,939,1756,2220,2044,1888,1448,988,687,525,633,819,903,754,758,808,774,1204,1388,1340,1070,1220,1378,736,543,944,1306,1282,1078,1070,1362,1376,916,807,941,860,587,408,520,470,378,722,827,518,695,918,521,545,702,702,598,748,1500,1800,957,926,1838,2010,1212,600,598,431,437,547,491,479,461,722,664,498,870,1666,1812,1220,526,420,580,487,485,888,1848,2014,1588,1232,777,1096,1038,586,313,326,351,266,241,241,258,331,295,495,784,475,266,240,231,286,341,291,830,1032,1072,1140,1042,901,629,464,590,483,472,425,430],[962,796,604,872,1476,2098,1816,900,490,514,797,783,694,720,793,933,1418,1600,1346,1104,814,697,658,469,391,387,406,513,612,563,472,359,298,332,372,333,342,448,467,445,424,568,745,882,908,951,913,733,833,945,877,544,444,526,602,501,453,373,326,366,354,368,430,454,379,364,469,781,1212,1438,1168,966,1234,1544,1328,966,897,797,664,686,1034,1260,1332,1250,1286,1498,1606,1650,2072,1554,1326,1890,2002,1448,858,482,459,419,326,349,396,380,364,341,319,382,478,469,453,529,630,530,459,555,885,1566,1810,1294,965,872,702,566,507,544,542,531,460,625,674,656,825,887,1001,1210,1396,1440,1208,1318,1096,829,1094,1506,1340,809,594,422,645,774,639,593,655,605,833,923,866,821,1084,1512,1404,1140,955,817,506,438,454,327,278,280,743,1190,1152,995,840,796,883,1068,1246,616,384,354,394,558,1042,1596,1450,1550,1664,765,462,822,1312,1604,972,623,650,703,640,614,593,513,531,656,379,304,276,397,690,865,818,768,619,603,834,627,283,232,241,278,266,267,234,238,251,259,255,224,206,208,231,240,227,220,214,287,389,430,772,662,320,258,229,253,284,253,223,271,253,347,611,662,482,498,678,623,409,271,303,312,384,463,601,626,1024,1368,1386,1694,1918,1576,1260,1066,645,641,907,1007,593,910,1216,1154,985,681,636,789,794,842,1106,1226,1288,1182,1498,1320,993,788,857,1030,909,857,855,968,815,883,1302,1306,789,448,369,407,1042,1618,1642,1572,1260,415,473,485,512,678,963,1116,1094,954,973,1044,1040,1068,907,659,622,716,752,984,1140,998,998,1008,910,522,470,578,588,742,860,575,640,639,778,998,1122,1260,1346,1362,1238,1176,1092,1142,1238,1248,1438,1426,1570,1590,1440,1268,1468,1618,1438,1208,833,605,444,442,664,521,643,775,663,594,975,1338,928,626,922,1001,839,877,843,1390,1208,589,307,365,536,548,656,1148,1438,1344,1346,1130,990,1200,1194,926,987,1148,1086,948,1052,1198,1062,1208,1120,860,1066,1100,1042,1048,1060,806,572,560,550,506,557,764,1021,1260,1560,1774,1470,933,1050,1388,1618,1376,803,460,907,1448,1152,658,612,936,1114,1042,1350,1838,1306,715,783,937,753,474,564,844,1300,1498,872,908,1552,1632,1310,1206,1230,1280,1260,1130,1198,1142,1154,869,509,615,888,642,703,901,907,675,588,680,1001,1636,995,518,850,1534,1714,1140,844,741,721,818,664,527,364,342,602,587,691,623,690,593,724,648,503,545,509,529,585,646,1038,616,658,608,425,455,394,562,796,741,415,592,849,879,1286,1718,1338,915,828,828,783,673,879,730,596,595,630,506,525,677,1274,1234,1100,746,959,1328,1252,961,749,1132,1106,520,775,1252,1490,1550,1608,1570,1234,1338,1560,1428,1082,1048,1290,1522,1438,1012,852,1076,774,640,827,927,916,946,1348,1598,1368,1016,1184,979,916,858,1036,1450,1548,1278,1374,1586,1056,1166,1704,1416,815,1030,1110,780,944,1334,1188,1136,1364,1248,1664,1744,1410,946,595,671,727,989,1378,1302,1140,1140,1340,1230,775,943,1050,1410,1005,1092,555,342,444,761,1090,1130,1038,805,776,922,719,577,662,848,574,708,896,693,886,1248,1356,1062,924,1210,1332,879,1288,1210,817,938,938,1156,982,1044,1500,1434,1562,1432,832,1116,1208,1168,1264,1380,1176,962,713,687,937,1236,1116,842,847,645,544,619,724,1054,954,927,1356,1438,1634,1410,855,872,886,1006,1044,803,733,760,946,1342,1578,1354,1510,1690,1192,1114,1390,1572,1786,963,624,1104,1500,1018,1186,1746,1384,1218,1412,1252,954,1028,1266,1060,1540,1252,1050,871,835,852,1028,1006,870,1152,875,526,628,927,1164,1224,1164,1308,1516,1680,1228,878,998,894,1028,1170,1440,1438,1234,1208,979,886,1162,988,919,951,708,338,341,488,788,1146,1366,1202,1116,1003,915,771,946,1330,1556,1346,1482,1634,1614,1614,2630,3266,1598,1356,1834,1670,1416,1422,1428,1658,1658,1582,1602,1208,763,809,943,1238,1022,648,546,686,1118,1302,1154,1312,1750,1238,906,1430,1274,805,446,775,1000,969,1052,651,467,596,1098,1104,641,467,483,827,1062,1314,1294,1290,1566,1462,1600,1300,1202,958,875,1214,1468,1616,1670,1426,1194,1206,1198,1108,1130,1244,1216,1182,1188,1120,797,486,469,587,785,945,766,508,413,391,458,458,466,464,448,439,417,402,374,419,400,353,385,400,438,357,278,303,982,1260,1064,915,1007,1182,1212,1406,1080,1148,473,342,564,1140,1350,1102,1072,1082,1050,979,494,473,465,330,338,357,321,285,287,328,305,304,369,404,414,394,385,375,367,437,418,386,438,467,430,450,522,672,913,738,945,1750,1950,1914,1890,1644,1396,1300,1194,1332,1388,991,973,1282,1454,1210,1108,967,723,630,456,696,827,993,1344,1010,832,1124,1314,809,619,808,942,552,429,480,466,477,954,1444,1068,769,678,685,686,654,637,630,639,631,601,622,724,857,1138,1434,1000,621,458,431,450,439,418,387,404,678,1004,1052,1286,1444,1686,1378,1024,976,872,784,761,721,944,1142,1036,1038,1166,1482,1126,1736,1886,1750,1480,1160,1278,1466,944,1186,1556,997,879,1218,1604,1682,1358,1442,1544,2136,1744,1692,2120,1766,1286,1422,1852,1836,1570,1042,689,469,444,487,533,525,474,461,480,477,498,481,451,425,416,448,478,447,403,415,418,405,409,404,417,367,342,377,401,385,365,358,349,368,405,393,347,344,380,423,436,420,403,408,390,400,404,400,406,399,393,380,334,310,323,352,348,339,368,525,717,734,634,748,1042,1066,1122,1302,1126,1144,1402,1476,1402,1188,1284,1342,1246,1170,1094,1084,1376,1290,1232,1262,1160,1224,1344,1406,1426,1390,1210,1378,1596,1124,1314,1504,1110,1334,1282,1216,1256,1384,1362,1362,1468,1360,1210,976,959,977,1196,1094,745,569,551,733,1108,1382,1216,1064,1224,1054,817,804,759,433,561,673,889,1086,781,441,549,968,1158,773,384,538,1358,1600,842,601,832,959,1064,781,631,1062,1134,525,328,267,550,728,568,500,422,531,965,1252,1068,892,744,714,901,1032,1160,713,353,630,821,815,561,271,247,402,772,891,465,369,477,614,636,692,658,516,568,836,1004,1136,1446,824,436,395,462,531,610,726,598,694,811,704,756,570,916,1282,1206,915,779,482,311,350,321,343,312,458,811,761,710,694,802,767,628,502,523,726,720,578,605,594,507,545,849,741,540,528,885,880,1342,1894,1706,817,347,457,382,525,886,732,680,1002,1452,902,574,558,380,413,573,1050,2046,2034,1374,995,451,507,708,1012,1548,1584,1830,1964,1360,1274,1358,1174,627,553,511,443,344,334,412,491,607,1110,1110,485,377,561,702,428,398,822,1354,838,847,1166,819,689,815,763,928,866,733,1012,1734,1598,857,690,805,903,974,700,354,300,371,448,679,810,853,918,923,918,1262,1220,1222,1052,902,767,702,713,569,528,540,656,756,631,642,744,686,566,672,843,1012,1144,1168,992,1017,1017,692,440,614,973,1100,1300,1116,887,930,905,1152,1015,997,800,735,633,515,509,505,508,518,497,561,788,774,686,451,387,397,464,551,554,570,499,661,1354,1620,1166,754,1130,1418,1786,1670,1054,957,1302,1384,1224,1260,1484,1738,1680,1526,1344,1310,1494,1738,1644,1490,1590,1838,1918,1874,2248,2456,1644,1380,1230,1092,1120,1150,960,1136,932,716,624,505,440,326,338,465,985,1036,1178,1098,1007,1120,1236,1268,1318,1328,1136,1007,1106,922,1220,1268,1338,1374,1512,1108,1005,1266,1240,1070,1019,709,663,801,1144,844,493,706,532,415,454,616,990,1616,2104,1968,1926,1170,834,731,1108,1288,995,786,745,1034,1300,1294,1026,921,1330,1482,1388,1374,1290,1324,764,451,594,1274,1116,972,1352,1286,900,433,449,672,829,938,807,625,510,597,1088,1086,566,579,986,1460,1686,1346,1200,1376,1328,1250,1250,1440,1448,1244,862,714,874,1010,625,669,996,780,516,926,1252,841,550,499,654,1130,1332,1846,2198,2162,2144,1626,996,832,753,478,435,641,921,1364,1876,2190,1694,1572,1708,1526,1182,965,930,990,855,999,914,872,1078,1306,1284,1100,1070,835,548,816,1268,1460,1498,1296,1040,1150,1146,1010,1532,1138,772,594,483,599,532,624,1086,998,552,832,1288,841,578,401,435,464,701,1378,1430,703,777,1524,1560,921,489,456,601,705,475,440,471,494,561,417,350,615,1508,2222,1790,827,392,735,1108,1350,1598,1586,1772,1954,1560,1144,1624,1450,1001,568,300,293,269,256,266,265,265,233,457,969,653,330,255,239,243,255,221,593,985,1070,1152,1222,1296,1094,639,485,516,514,459,497],[691,508,463,811,1456,1606,980,678,666,583,794,941,935,1252,1356,998,1278,1676,1946,1486,1242,1542,1238,617,389,406,473,585,598,513,451,364,361,322,309,233,275,431,481,435,428,695,895,788,818,813,583,653,781,998,890,930,803,676,621,494,448,417,298,328,332,352,497,597,578,427,341,377,563,1015,1382,1290,983,1062,1016,1088,1228,1160,1080,805,1032,1096,780,782,1096,1466,1124,1028,1566,1364,1028,1498,1506,1306,848,471,479,448,346,364,460,444,370,338,330,428,554,607,758,1062,952,571,426,545,952,1172,1360,1430,926,521,377,384,458,519,507,542,487,415,430,472,824,1064,1262,1422,1572,1468,1232,1124,1028,1020,1226,1432,1160,681,736,552,604,879,739,648,635,747,1202,1174,890,769,1006,1252,943,527,394,578,547,388,338,290,289,269,337,395,411,515,647,683,848,940,1106,790,443,386,412,458,937,1558,1450,1242,954,643,429,339,420,788,929,866,783,709,590,496,442,383,433,722,476,317,404,768,888,758,742,696,545,563,705,489,267,238,216,238,248,232,233,225,198,224,227,189,202,209,216,223,208,207,245,327,394,485,742,580,238,191,243,251,245,246,261,275,322,441,688,698,544,664,685,539,410,299,301,282,254,364,549,662,1038,1382,1262,1188,1218,1062,986,931,719,656,764,1150,1038,1248,1368,1092,623,529,628,700,722,723,789,905,1001,1170,1312,1022,1013,1060,1198,1704,1302,787,616,703,1003,1168,1154,764,449,416,392,305,647,1316,1762,2182,1182,551,734,584,524,739,1264,1554,1744,1584,885,589,961,1626,1384,808,837,1262,1294,960,693,732,836,947,828,491,467,492,505,616,660,396,376,331,356,610,791,1112,1734,1556,917,969,1044,1262,1376,1526,1556,1496,1524,1332,1382,1414,1274,1418,1368,954,572,373,374,437,732,474,388,588,850,1274,1616,1492,1074,1094,1470,1344,1068,1278,1324,1368,973,508,387,727,1286,1136,819,1300,1560,1234,1204,1014,1090,1246,982,751,902,975,804,529,781,1054,955,1128,1154,1216,1254,1108,991,931,1216,1164,736,622,573,582,717,747,973,1402,1664,1808,1206,858,1302,1442,1262,1128,847,747,753,710,659,517,894,1152,1350,1192,1360,1892,1618,1018,893,661,736,879,1012,887,1132,1426,1090,1214,1754,1530,1272,1220,1222,1346,807,496,565,897,1154,1064,605,507,662,521,594,884,855,572,558,824,1011,1446,1206,692,815,1250,1394,1364,1172,929,885,1114,1048,930,565,467,720,630,634,744,712,968,1212,677,485,476,535,849,1134,1088,753,475,958,825,466,394,461,565,747,972,601,677,503,509,921,1354,1112,957,874,934,959,789,934,597,619,673,729,1020,1284,1360,1764,1580,862,435,687,1042,1082,816,694,1044,1232,1124,1474,1898,1898,1720,1388,1116,1316,1498,1326,902,735,1122,1572,1708,1572,1352,1112,890,689,999,1472,1460,769,607,1490,1706,1214,1268,1336,1156,1100,1009,1078,1360,1488,1370,865,696,844,1194,1772,1194,885,1112,1096,798,972,1330,990,1114,1278,711,1306,1512,1070,930,566,491,515,663,938,1018,1118,1288,1490,1352,926,1008,1164,1350,1294,1194,656,634,951,1004,1126,1420,1290,686,615,994,882,570,885,824,656,882,924,619,684,1178,1332,1058,1194,1250,996,736,1132,942,1110,1448,951,626,717,863,999,1116,1514,1062,1180,1578,1200,983,1046,1050,1366,1350,1138,1001,1005,923,1009,1032,917,929,754,661,696,1020,1132,1378,1416,1268,1490,1080,887,958,1002,1100,1212,911,1192,1314,998,1218,1704,1748,1548,1362,1104,1264,1530,1792,1374,672,485,830,1050,1054,1352,1154,573,830,1524,1550,1228,1160,1222,1042,1336,1358,1176,1102,1148,789,563,625,703,839,601,440,984,1654,1844,1826,1784,1698,1534,1384,966,486,425,349,350,466,672,642,570,683,531,399,538,615,610,749,568,338,554,962,1358,1544,1256,835,1494,2092,1162,744,1284,1462,1314,1334,1472,1428,1614,2086,4228,3330,1708,1902,1742,1548,1432,1470,1412,1582,1436,1220,1322,1360,970,912,1130,1384,1118,865,996,1168,1252,1202,1338,1976,2092,1660,1238,1346,1182,1004,896,860,851,796,728,513,423,447,600,1078,904,745,742,731,762,836,751,1011,1560,1566,1366,1009,886,769,1060,1396,1426,1442,1676,1542,1194,1206,1616,1562,1266,1172,1222,1230,1214,1318,1064,544,390,412,400,432,426,391,369,422,489,552,530,465,467,448,415,418,463,439,378,361,417,418,396,312,320,325,466,680,810,802,899,954,979,1190,855,808,569,395,335,793,1262,1244,1138,979,724,737,463,299,320,332,338,386,380,305,258,284,279,289,339,340,355,348,390,409,429,430,435,409,536,611,515,529,644,863,1372,1122,1348,1910,2120,2102,1902,1648,1350,976,851,1146,1396,1290,1406,1378,1448,1312,1206,858,533,552,417,481,748,906,882,594,634,1058,1406,915,487,764,863,529,522,551,423,379,454,587,655,655,652,632,644,615,593,599,625,618,612,625,605,639,639,600,510,447,436,414,359,322,324,356,423,648,979,1244,1284,1438,1224,1052,929,858,730,642,838,936,966,933,872,863,1019,1032,816,875,844,777,736,1015,1456,1570,980,677,771,871,926,1218,1396,1294,1002,1260,1470,1504,1504,1350,1300,1110,1146,1448,1852,1832,1880,1596,1058,663,491,419,448,454,491,466,481,467,496,540,507,431,422,453,478,450,422,414,409,376,385,413,432,398,383,399,384,390,385,385,405,391,390,387,344,365,382,407,421,425,430,422,410,418,425,415,388,406,395,382,369,338,334,336,320,316,333,397,535,705,735,662,897,1268,1670,1376,1076,1254,1464,1516,1508,1456,1406,1272,1260,1174,1310,1278,1360,1424,1466,1522,1598,1500,1396,1542,1490,1284,1202,1550,1562,986,1007,1230,1021,1100,1332,1408,1092,935,1252,1422,1274,971,868,599,506,761,1268,1194,888,814,780,857,812,807,791,704,651,722,500,604,861,922,1048,1042,1005,1098,989,484,535,1176,1592,1040,475,441,807,1122,811,653,755,992,1428,942,513,513,399,414,649,560,797,1240,882,524,650,562,709,771,488,522,614,750,793,1084,1410,1150,681,466,534,682,559,283,364,709,858,957,612,482,684,935,863,709,654,582,675,738,785,763,1108,886,882,666,623,737,695,812,691,696,659,636,864,777,1158,1252,1192,1038,977,910,739,475,420,402,299,398,802,728,778,1002,1036,1104,774,485,666,780,662,965,907,761,580,462,345,469,547,811,1040,1012,1246,1494,1322,1070,1260,773,405,661,1406,855,374,534,908,570,444,576,484,412,464,656,1108,1007,796,650,456,608,604,696,1122,1472,1660,1510,990,1082,1130,1078,753,635,479,445,374,362,641,789,560,538,481,298,462,1032,1038,494,516,1188,1830,1396,1008,1188,903,709,771,971,986,1080,1254,1786,1910,1056,586,619,826,1222,1232,746,358,357,344,450,758,622,579,826,664,885,1078,810,910,910,1132,831,1016,885,624,842,882,887,839,684,594,522,448,406,425,515,595,896,1224,1160,1202,1001,853,768,1024,1278,1038,1078,1304,877,670,871,1164,1076,1232,998,827,658,512,586,691,644,540,497,493,577,622,594,430,397,408,427,474,506,518,538,1136,1386,995,727,842,879,1190,1488,1356,1232,1490,1736,1506,1260,1268,1354,1292,1288,1240,1078,1256,1432,1348,1366,1478,1240,1258,1628,1730,1880,1844,1462,1302,1430,1438,1124,929,946,1118,1052,926,745,386,307,329,326,653,1252,1102,1088,1126,971,955,803,910,1258,1110,834,1172,1048,690,1306,1728,1476,1718,1400,617,643,1001,1428,2006,2040,1160,759,548,594,501,420,772,969,666,626,1034,1234,1428,2002,1684,1554,954,569,805,1334,1386,1184,804,797,1224,1354,1450,1330,1322,1472,1422,1308,1208,1382,1522,1020,573,1070,1216,870,1188,1234,1422,912,670,717,1216,1366,1264,1180,1156,1000,703,1023,908,547,435,735,1200,1430,1402,1524,1418,1380,1148,1274,1552,1340,1352,1452,1132,861,711,643,1030,1452,1162,830,1308,1676,1134,466,377,583,955,1024,1358,1298,1592,1546,1152,1340,1214,690,637,613,596,662,828,1001,1422,1352,1406,1730,2032,1910,1172,1058,1278,1088,1138,854,913,727,712,988,1102,1312,1034,474,678,1154,1318,1374,1218,1308,1434,1192,1448,1558,832,518,586,653,592,602,1072,1346,1042,611,753,955,1010,650,430,610,753,539,630,762,547,813,1296,1050,458,355,321,974,957,379,379,435,384,346,301,392,510,1238,1690,1240,677,435,905,1220,1316,1874,1772,1906,2106,1558,1218,1598,1802,1406,702,347,306,286,380,321,356,367,283,300,922,807,494,309,282,282,257,207,400,737,827,995,1116,1460,1242,665,633,904,816,672,967],[668,463,762,1340,1338,1152,1002,1060,1026,618,626,781,1001,1660,1548,1126,1234,1422,1468,1252,1086,1300,1094,585,385,413,577,630,593,554,401,334,350,322,272,219,266,382,408,318,315,481,676,683,686,729,605,489,562,621,639,971,1050,1046,1032,637,410,344,392,330,318,341,411,519,577,449,392,382,368,549,914,1336,1140,767,733,860,905,1084,1232,912,847,805,483,702,1522,1364,877,681,955,897,891,1064,991,1036,789,551,508,447,396,368,414,452,352,331,334,503,658,717,856,865,793,645,596,988,1236,1362,1094,1058,999,609,345,366,478,545,526,807,902,644,548,579,1188,1132,1058,1226,1432,1438,994,601,560,684,960,1038,1244,964,958,638,551,989,847,556,589,765,940,1128,1364,1098,1092,772,431,331,302,470,543,499,434,288,292,297,255,350,436,553,663,776,1136,1534,1882,1416,592,408,346,422,742,821,1166,979,709,581,498,492,567,716,798,813,763,606,485,414,419,449,472,703,677,723,905,1122,1118,812,689,562,410,314,394,375,233,206,215,230,227,213,217,204,180,207,207,173,171,183,193,209,219,221,258,329,341,475,691,453,266,223,271,257,251,255,255,236,325,486,630,587,432,443,408,289,328,317,274,258,235,369,482,396,578,1068,1408,1322,1266,1250,1064,915,941,903,995,1310,1324,1306,1052,676,459,645,821,638,596,703,873,851,980,1484,1230,514,872,1212,1448,1824,1276,615,615,532,526,975,1084,940,719,517,438,463,530,955,1724,1894,720,709,1112,1144,929,939,1334,1460,1404,1166,1034,719,630,1062,1406,1252,1454,1990,1842,1104,647,619,843,1166,1013,537,481,540,585,952,956,536,341,335,308,341,471,1058,1628,1128,478,736,1118,1306,1460,1562,1540,1302,1024,1004,1164,1250,1212,1324,1158,739,429,282,273,333,481,431,357,440,893,1340,1638,1460,1252,1470,1538,1136,1210,1328,1176,1262,904,503,550,863,1412,1390,921,751,753,632,702,698,745,534,411,575,764,942,806,613,630,625,579,839,794,861,810,835,761,634,992,1166,735,547,617,728,795,703,1038,1466,1666,1672,1110,907,1230,1210,980,591,482,623,619,736,1028,780,975,1082,1322,1424,1102,982,1032,907,814,932,1122,1070,1470,1454,1610,1428,765,911,1124,1046,1400,1232,1386,1019,525,519,545,973,1496,1274,709,663,877,745,855,1180,1040,644,985,1440,1036,871,1104,1266,1266,1150,832,785,915,706,830,1082,1176,1074,628,441,841,833,581,683,792,854,1046,1042,976,807,1128,1264,1072,932,628,792,1166,1142,971,558,413,452,609,848,1062,1002,942,1056,1028,890,893,894,716,941,891,755,832,581,735,1114,1396,1716,1670,1664,1796,1214,677,684,783,991,1122,951,826,761,1014,999,934,1522,1958,1766,1588,1550,1296,998,927,953,1480,1720,1912,1954,1800,1512,1402,1212,979,1324,1638,1414,702,571,972,1038,991,1144,1434,1374,1017,1046,1026,890,719,735,583,520,787,1152,1406,1074,1124,1340,1224,1064,1172,1208,827,955,1372,1064,1180,1152,873,684,529,601,596,839,1382,1264,1074,991,894,1142,1354,1358,1416,1494,1544,1212,708,873,1198,769,966,1240,1108,645,413,889,874,404,603,750,787,1088,1112,433,560,1002,813,449,704,721,872,1066,1250,1240,1240,1208,980,769,626,725,604,637,682,860,1454,1412,872,974,1058,1136,1210,905,1122,1242,1394,924,873,931,1007,1030,946,707,682,865,1007,1200,1136,1370,1488,981,915,960,864,782,848,1040,1350,1338,1312,1464,1482,1376,1460,1418,1312,1330,1560,1648,1096,550,439,525,717,1084,1262,962,796,844,1384,1698,1488,1244,1274,948,740,1054,1230,1082,972,566,669,885,1136,1304,1130,683,834,1624,2114,1938,1830,1566,1160,1334,837,439,384,383,400,415,372,371,523,645,483,368,397,419,399,623,411,387,924,1488,1792,1494,929,771,1764,2894,1926,1372,1386,1362,1222,1528,1548,1544,1410,2342,2872,1846,1668,1692,1404,1368,1598,1644,1506,1344,1074,991,1070,1322,1460,1136,903,1284,1362,1300,1408,1268,996,1202,1234,1466,1922,1714,1390,1032,687,830,970,700,622,429,351,443,449,402,404,850,1114,839,591,600,522,503,544,673,1270,1464,1294,973,816,1096,1432,1416,1090,1124,1542,1560,1318,1338,1364,1166,959,1102,1328,1316,1294,1328,1130,742,420,367,366,375,390,424,426,431,435,435,458,519,545,544,467,444,824,678,455,339,354,343,361,437,531,498,301,328,289,305,378,362,516,562,523,555,649,689,572,590,814,1094,885,861,689,740,486,302,328,390,447,428,400,357,303,309,297,317,343,334,327,377,453,440,357,344,419,448,565,631,629,567,614,745,1060,1194,1470,1492,1620,1688,1482,1536,1460,897,783,1266,1138,1208,1386,1406,1360,1280,1046,668,541,529,390,407,775,1442,1098,622,572,998,1350,910,405,574,714,428,433,404,394,360,361,491,615,636,654,643,622,631,615,591,628,606,583,583,557,500,449,451,458,465,437,415,474,596,881,1064,995,809,783,1158,1144,1130,872,874,858,572,615,611,602,498,589,695,868,960,970,1004,803,686,955,1090,1040,1158,1408,1516,965,851,1294,1474,1512,1572,1766,1996,2048,1954,1628,1390,1560,1570,1488,1604,1652,1676,1854,1890,1918,1918,1572,990,624,624,524,478,469,451,446,440,467,491,479,489,455,424,434,439,431,411,416,401,383,411,401,377,377,373,372,372,343,364,393,394,393,418,417,415,400,398,398,390,380,390,394,408,419,429,412,387,381,382,365,337,320,316,304,307,329,346,394,540,724,772,869,1292,1540,1228,1152,1388,1448,1506,1436,1404,1794,1854,1362,1276,1300,1278,1416,1572,1490,1446,1398,1376,1492,1466,1246,1198,1188,1444,1234,1026,825,822,1026,1224,1362,1472,1474,1180,1218,1394,1022,842,678,585,875,1140,1268,1228,977,737,1058,1356,876,512,616,878,955,903,993,1312,1236,1042,1078,1142,831,815,1082,846,630,1044,1822,1328,683,513,330,457,466,439,611,675,707,422,426,554,606,539,1192,1134,784,909,621,702,1350,1070,648,771,593,593,612,524,501,984,1472,1410,989,650,662,738,562,314,268,935,1384,1366,874,447,467,587,738,1132,935,604,686,710,853,845,839,828,1340,1232,756,762,748,775,712,871,795,655,747,742,1044,1200,1144,1017,1018,1398,1410,659,454,533,604,377,648,690,831,1076,1218,979,652,746,1010,1260,1094,1246,741,554,713,669,507,670,899,951,1006,1246,1230,1356,1620,2150,2248,1054,498,868,1814,1334,455,431,690,888,556,460,431,376,432,689,848,658,608,644,538,401,401,380,627,1080,1152,1100,1156,1022,703,549,890,794,477,487,427,433,644,767,717,389,371,645,902,753,601,497,733,1262,1766,1572,1130,952,1138,1194,617,819,1214,1168,1650,1696,1392,977,668,838,1060,1290,1608,882,521,601,555,926,1136,748,510,615,625,955,959,464,521,941,1206,884,1001,708,598,1134,1378,1502,1372,1140,1122,892,618,451,412,451,664,870,1228,1256,1122,1160,1346,1284,1266,1274,1116,996,1302,776,630,839,949,1090,1138,959,845,647,532,579,697,647,540,527,574,536,557,473,410,406,384,411,427,441,490,567,1420,1460,1036,865,819,873,1570,1642,1188,1634,1754,1412,1092,958,1318,1356,1184,1242,1330,1212,1252,1336,1230,1300,1544,877,1250,1606,1350,1266,1604,1514,1288,1338,1338,1260,1184,1048,1156,902,830,930,667,543,583,554,971,1274,1042,1023,1038,1318,1942,1364,1328,1380,1120,984,1386,1050,504,667,1078,1566,1826,1024,479,548,832,1712,2248,1946,1220,733,448,413,413,550,1136,1590,1396,998,1004,1224,1336,1288,1246,1186,703,456,667,993,1318,1302,994,1022,1402,1688,1522,1362,1378,1466,1328,1188,1512,1874,1920,1504,1006,1080,677,687,860,794,1042,978,1064,1238,1300,1054,1184,1202,1088,1116,795,714,722,714,505,676,1660,2092,2004,1576,1090,1232,1210,1260,1400,1318,1172,869,963,1120,1256,1216,1382,1408,1192,1180,1290,1158,937,608,469,480,797,1066,1428,1464,1266,1116,1340,1492,625,396,617,929,870,967,944,724,1066,1078,1010,1316,1798,1712,876,966,1374,1234,1288,1150,1028,763,692,894,1088,1118,794,439,852,1210,1202,1390,1290,1654,1236,623,830,937,749,443,512,803,841,638,954,1270,998,938,1356,1376,1194,850,526,847,1052,479,356,420,373,497,687,520,431,420,314,460,390,313,365,375,300,289,369,495,447,515,940,1011,669,818,1410,1344,1058,1454,1798,1560,1998,2180,2020,2000,2054,1634,795,342,285,263,350,386,456,391,339,236,518,844,747,442,337,344,265,244,289,568,928,758,490,425,346,397,579,764,929,959,1028],[915,519,759,1262,979,1023,1152,1160,1180,639,480,533,964,1522,1392,954,716,712,778,670,527,581,511,376,353,423,481,527,548,549,397,329,326,306,263,210,264,267,254,239,237,261,300,286,368,499,454,469,679,533,425,658,833,930,976,564,431,375,403,346,326,346,336,368,442,444,397,380,358,368,475,805,751,755,1144,1250,989,926,1076,948,860,799,596,937,1730,1174,784,601,569,557,717,946,1230,1152,680,648,561,422,381,338,405,457,391,438,427,425,605,803,939,933,783,790,979,1656,1816,1992,1822,1220,811,573,363,536,868,1144,774,1072,1096,844,754,685,937,994,965,1072,1382,1546,1306,1282,827,727,783,860,1016,880,965,751,644,769,634,565,902,780,843,1376,1714,1428,1084,610,355,334,307,322,406,496,540,451,411,332,460,968,1270,1492,1482,1342,1392,1488,1526,1226,547,370,390,891,1502,1526,1360,1108,995,976,814,609,526,588,757,794,588,390,333,362,433,499,542,672,916,1072,1194,1866,2234,1017,522,370,343,328,320,283,204,210,241,245,222,204,203,196,197,216,190,180,190,191,208,238,242,243,283,355,392,502,614,388,262,234,245,249,262,253,225,261,364,437,481,462,349,296,241,246,284,301,288,264,250,330,503,540,616,742,1166,1320,1394,1316,1234,1194,1296,1180,1176,1066,765,940,861,758,623,882,731,707,572,628,873,808,753,823,628,544,744,698,1262,1232,652,462,512,392,771,1146,1112,1508,1274,866,542,550,792,1220,1952,1256,498,722,1102,1136,808,797,1382,1606,1548,1432,1122,743,639,469,979,1338,1340,1354,1152,805,776,744,992,1686,1844,1150,819,640,564,1078,1102,551,371,340,357,465,633,1006,1206,877,717,649,888,1342,1506,1348,1284,1244,1176,1090,1178,1056,1258,1216,1208,996,589,339,281,292,328,306,337,759,1102,937,1128,1236,1218,1470,1284,936,1042,1086,1240,1632,1248,1003,799,730,774,977,819,808,1032,916,866,938,827,669,751,898,1007,1154,814,629,507,536,618,586,602,624,608,979,1156,1004,1340,1314,937,647,579,570,741,959,1196,1466,1742,1544,936,1160,1170,1015,1024,837,694,681,615,1130,1202,706,739,774,1204,1422,1070,719,767,855,824,816,731,1088,1504,1338,1400,1438,988,854,979,1410,1466,1274,1386,1016,729,761,796,766,813,929,765,1118,1574,1634,1278,1316,1142,877,1384,1798,1334,1012,1452,1594,1182,1074,753,899,1122,635,644,641,667,692,587,386,419,519,736,875,797,781,581,1118,1450,1450,1484,1098,835,899,904,1016,1236,1470,1290,503,400,496,854,1160,1252,1206,1228,1070,968,1144,1184,1042,1118,1100,984,1056,993,675,617,802,1272,1794,1624,1162,1028,822,935,860,871,1118,1202,936,626,415,604,677,412,828,1578,1566,1520,1428,970,1001,1310,1334,1542,1664,1830,1816,1440,1268,1412,1434,1256,1254,1234,1084,819,922,962,1006,1230,1266,1328,1188,964,906,886,1078,667,547,863,1062,1122,1234,1058,873,938,1016,988,1162,1044,1060,838,1058,1416,1038,612,836,1050,1002,886,604,622,1174,1896,1890,1764,1240,1038,888,865,958,1210,1602,1588,1394,1104,1076,995,702,962,1186,1048,722,584,1274,1122,409,631,1058,1166,1340,984,559,589,1016,655,762,909,541,802,979,1110,1230,1348,1140,1114,1168,835,832,844,672,694,1108,1404,1134,799,844,977,1074,1184,868,868,1150,1048,1210,1344,1350,1098,962,841,585,794,1116,1038,678,720,1456,1032,705,784,825,934,868,883,1152,1276,1188,1254,1322,1462,1232,972,1382,1552,1662,1842,1436,835,752,642,550,530,728,1060,1130,969,872,1442,1916,1592,1230,940,566,443,625,739,778,971,1256,1196,1262,1290,1274,1378,1372,1058,1002,1710,2066,1954,1758,1544,1498,681,376,358,358,407,502,489,440,553,512,342,311,420,414,373,583,407,520,1342,1750,1778,1574,995,931,2326,3672,2524,1956,1512,1346,1508,1418,1390,1350,1240,1128,879,1408,1678,1438,1140,1268,1462,1548,1400,1090,981,1040,1013,1116,1512,1512,905,1084,1822,1516,1342,1180,990,1394,1138,1242,1770,1484,937,568,528,763,943,506,361,364,402,461,444,382,340,540,949,1202,736,524,479,459,376,397,1108,1484,1122,788,987,1252,1094,1058,1042,1282,1640,1648,1598,1502,1266,864,547,960,1334,1262,1242,1166,1164,861,487,481,639,523,463,609,601,445,440,725,709,904,1202,1084,943,637,1048,1394,929,386,323,474,611,502,475,401,290,275,366,425,286,276,421,455,552,830,1078,1154,835,643,833,1096,678,668,806,673,391,282,289,367,414,347,389,386,340,295,292,309,282,270,269,369,469,464,386,383,474,494,578,670,715,593,720,1042,1144,1152,1060,993,1140,974,884,1366,1240,1007,835,1342,1572,1518,1360,1332,1478,1432,1026,901,899,572,409,521,775,1394,1046,684,603,908,1282,918,445,537,554,394,345,334,350,336,343,430,530,611,639,611,591,604,595,587,628,594,581,566,503,400,386,459,524,490,559,987,1194,1070,1346,1726,1534,936,850,1256,1396,1206,852,762,801,655,607,581,558,508,626,674,1056,1384,1366,1164,859,764,984,1072,976,1102,1346,1672,1186,1078,1944,2446,2418,2274,2050,1980,1918,1876,1780,1372,1760,1950,1790,1684,1584,1548,1798,1970,1896,1972,1862,1380,832,839,552,483,489,498,423,424,420,379,448,513,397,379,395,434,401,398,398,387,396,395,359,340,342,333,362,359,353,368,372,376,368,386,397,378,373,372,377,372,360,384,392,404,408,410,398,382,384,381,378,373,360,347,329,315,307,337,353,388,615,736,739,800,838,927,1108,1242,1418,1578,1312,1378,2400,2042,1300,1174,1172,1122,1218,1290,1324,1238,1156,1450,1508,1300,1442,1300,1164,1422,1608,1268,806,926,1152,1240,1216,1218,1184,1158,1170,1352,1080,776,606,918,1080,738,866,1192,1082,1266,1372,1498,1350,675,814,1274,1266,1188,1168,1072,968,876,702,897,811,631,1120,1130,622,535,1182,1154,798,561,453,548,399,357,543,552,330,411,450,558,777,673,926,974,588,451,485,513,1068,1130,1088,1520,1282,807,591,543,444,720,1019,1004,935,878,551,372,377,343,279,886,1638,1558,1096,669,801,864,1064,1180,1306,897,615,1016,1422,1186,968,1166,1636,1348,656,533,1030,1024,871,1180,1007,595,649,1046,1488,1500,1284,1146,988,1436,1028,570,416,491,636,411,435,780,966,921,921,688,816,1080,1094,1502,1298,756,407,372,484,542,592,966,1500,1500,1440,1816,1486,1202,1808,2046,1686,1028,729,1160,1630,1352,847,444,668,1158,579,347,335,314,278,484,644,738,665,797,821,544,526,740,1180,1374,1140,888,1262,1136,716,995,1520,1076,422,541,717,739,735,860,975,722,938,1398,962,437,495,727,823,1078,1208,1032,1166,641,807,1092,761,617,934,1618,1744,1294,1108,918,699,1132,1390,881,1034,815,790,827,835,907,1070,1156,953,724,630,1192,1246,1007,708,960,1132,1178,1224,806,852,1456,1764,1682,1698,1830,1780,1618,1170,841,539,567,946,1172,1266,1336,1314,1372,1354,1290,1354,1390,1322,1108,976,765,813,1118,1122,962,990,868,836,628,525,522,568,519,536,723,724,609,538,451,431,428,397,396,393,561,667,932,1476,1546,985,723,664,869,1576,1076,990,1410,1488,1456,1604,1200,1222,1120,965,877,978,1052,1142,1476,1620,1278,1116,1046,1842,1886,827,525,1078,1542,1630,1548,1376,1188,1144,1228,1284,1204,1088,1124,1076,955,874,988,1230,1238,1100,1120,1017,1360,1990,1562,1390,1362,1204,908,1026,947,634,466,551,872,1124,670,427,381,1042,1814,2018,1598,912,596,433,385,373,525,800,1278,1310,1072,903,1226,1244,995,937,921,744,748,1042,1360,1556,1598,1398,1106,1588,1498,1122,1316,1588,1302,1056,1410,1946,1822,2048,1898,1268,634,469,783,851,1056,1014,930,930,1252,1414,1134,1038,1070,1046,865,932,660,558,672,799,1010,1494,1776,1962,1522,763,832,1060,1018,958,1202,1196,914,761,1136,1506,1560,1382,1476,1298,1284,1230,809,642,946,788,774,841,932,1346,1306,1068,1266,1470,677,386,377,787,1138,1116,1090,781,897,1378,934,717,965,990,1060,819,1140,1354,1534,1294,1158,1038,683,573,698,1116,1184,612,589,1294,1128,1602,1658,1648,1588,919,536,437,526,646,481,548,1048,1072,817,1180,1064,1028,1206,907,777,1026,1208,1240,1866,1270,509,356,347,301,258,315,270,465,811,657,362,387,480,597,482,378,351,359,455,495,533,1078,1196,733,623,1210,1266,1060,926,1302,1464,1760,1880,1744,1804,2002,1946,1204,437,286,278,424,545,453,369,361,341,484,910,1192,767,419,385,283,254,263,393,868,624,301,309,350,502,514,497,739,1058,838],[1274,927,756,627,785,1486,1680,1228,934,581,469,493,602,986,1262,949,624,639,660,482,516,685,495,401,391,380,362,414,503,537,427,364,354,333,292,226,290,265,261,248,232,266,254,286,356,348,306,382,498,516,682,944,965,796,738,602,613,506,387,358,359,340,334,297,315,412,419,414,418,483,422,531,609,634,816,1180,1256,1126,1028,1140,1482,1544,1202,1508,1406,977,722,571,559,501,693,1196,1306,1130,888,1016,997,666,379,386,545,632,624,623,583,655,958,825,1172,1164,901,802,879,1318,1424,2238,2574,1306,634,504,470,664,780,1194,914,948,861,819,733,638,776,998,1242,1398,1620,1620,1296,1400,961,976,1086,992,685,736,971,778,553,447,432,524,998,1216,1350,1158,1192,1126,850,605,425,357,357,556,600,596,724,741,527,680,774,1256,2024,2218,1676,1216,1172,1096,907,792,499,398,440,902,1634,2094,2010,1644,1510,1388,925,578,390,508,780,631,383,343,353,343,356,383,442,576,667,857,2060,3184,2158,753,393,322,325,309,300,244,227,243,245,248,242,222,202,194,207,214,214,225,219,216,220,208,208,238,284,363,421,564,584,390,276,259,241,260,281,266,226,336,403,279,269,398,421,303,240,255,260,309,338,270,263,333,454,426,502,720,900,1208,1346,1178,1144,1146,1158,1116,1086,881,673,1009,1090,1174,1076,771,702,775,621,538,719,756,706,673,664,739,609,486,1048,1370,974,780,791,730,1108,1322,1288,1810,1442,1016,798,944,996,1666,1896,915,442,553,715,622,620,450,432,988,1466,1988,1570,1072,834,791,1354,1522,1278,907,792,801,744,856,1140,1600,1358,1216,1176,896,771,1100,918,504,394,458,824,940,940,843,1100,1390,1410,1028,720,949,1100,1334,1956,1336,1292,1342,1378,1456,1582,1256,1210,1144,745,385,394,372,376,332,621,1054,858,1094,1204,1074,1136,1036,728,580,695,1018,1354,1598,1348,1322,724,590,800,901,594,527,519,669,999,1070,968,985,921,932,786,671,589,618,572,698,737,915,1466,1300,947,1238,1268,1112,1272,1358,1180,739,509,476,648,937,1250,1520,1692,1492,963,1490,1262,1470,1354,1032,922,695,586,1024,884,468,504,739,1418,1358,695,901,1110,859,1080,1166,755,763,1092,1322,1452,1490,1206,990,921,1038,996,913,792,1194,1264,877,800,670,852,1116,810,1146,1280,1188,1058,933,882,903,1266,1562,1322,1146,1396,1478,866,917,697,678,624,513,532,645,613,549,566,395,409,505,572,887,628,631,560,741,933,753,745,904,980,822,741,700,991,1494,1214,493,382,616,1080,1364,1340,1202,971,968,1082,987,918,959,1118,1072,998,968,993,962,852,861,1114,1368,1234,899,633,1052,1154,826,1002,959,1036,918,634,670,909,1106,647,603,1202,1348,1290,1060,1096,1306,1500,1370,1296,1552,1798,1732,1146,1014,1180,1128,1028,1224,1238,1126,914,778,987,1038,1026,1146,1012,917,1172,972,1050,1190,742,645,917,991,1332,1632,1412,1032,894,898,987,1268,1038,838,1096,1436,1332,834,544,802,957,1006,695,569,726,1436,2030,1918,1532,1064,814,855,874,501,539,673,822,862,862,1274,1360,997,1032,1128,999,826,1144,1672,1088,789,955,1322,1152,1298,1428,922,841,926,554,1052,1096,602,852,1040,838,861,1104,1176,1074,1062,1130,1046,993,794,918,1250,1013,843,673,664,1046,1272,1066,1104,1224,1340,1038,785,922,1070,1240,1416,1046,847,997,1142,1252,896,1092,1288,807,680,658,704,685,835,1122,1460,1678,1466,1090,1068,1440,1490,970,1124,1632,1744,1664,1256,1076,1176,838,601,503,579,920,1218,1114,1288,1776,1718,1418,1130,549,403,421,675,750,1072,985,830,1003,1298,1420,1572,1654,1528,1256,863,1032,1914,2164,2148,1776,1048,491,282,318,396,478,674,638,683,547,408,356,568,673,473,391,549,420,659,1450,1582,1494,1458,1264,1114,2806,3694,2050,1512,1386,1112,1290,1300,1246,1286,1128,888,1582,1642,1110,1294,1240,1460,1660,1338,840,741,843,1003,1066,769,1102,1616,990,1124,1730,1462,1282,1023,872,1056,1348,1548,1112,791,541,505,693,1340,1250,560,417,465,489,498,465,423,444,427,527,1036,871,543,385,391,442,437,873,1074,752,929,1260,1142,1222,1458,1382,1418,1708,1622,1510,1424,1354,1172,1070,1300,1406,1438,1250,1274,1214,792,593,932,1228,766,310,503,818,1050,998,1070,625,1048,1488,1986,2282,1368,1268,1354,841,685,661,992,847,606,393,275,354,353,822,959,532,398,510,518,656,958,1288,1334,598,431,645,1170,905,693,763,589,396,307,258,283,299,339,394,430,392,346,355,322,291,294,283,334,377,369,359,444,590,712,737,745,660,525,580,841,1188,1248,1086,1030,1216,976,1216,1606,1328,1138,959,1108,1332,1250,1120,1152,1272,1390,1276,1034,814,738,691,657,721,1236,1158,700,626,879,1350,1058,470,577,439,377,352,352,349,358,381,433,545,611,638,633,642,659,635,630,590,564,507,423,362,339,362,450,591,822,1146,1262,966,838,867,960,825,759,922,1196,1162,641,628,745,756,772,790,980,868,691,844,777,1020,1494,1394,1164,881,707,962,1190,1094,1164,1334,1676,1282,1120,1930,2508,2486,2156,1462,1350,1302,1550,1776,1372,1434,1594,1588,1570,1468,1438,1820,2030,2008,1998,1864,1472,874,612,392,350,516,517,479,559,574,569,580,503,490,449,415,405,397,384,390,413,391,377,350,330,332,350,357,345,355,361,359,359,372,383,379,378,388,388,382,377,370,372,367,364,372,376,362,355,365,373,372,383,364,362,358,347,328,325,351,474,589,610,689,665,717,963,1096,1368,1518,1394,1382,1678,1704,1438,1222,1236,1384,1284,1158,1188,1216,1282,1698,2486,1758,1106,1364,1238,1112,1282,1490,1278,1138,1288,1284,1218,1108,1132,1158,1296,1344,1398,1274,921,751,1023,1006,968,1158,1240,968,1094,1108,1642,1832,1202,1758,2230,1540,1350,1590,892,681,968,710,896,1028,929,1244,1202,693,461,645,885,1009,716,422,495,484,525,513,520,795,968,572,467,618,704,714,764,836,650,670,500,580,642,1034,1604,1454,783,693,677,437,474,604,751,849,842,592,416,390,486,470,832,1396,1388,1216,1020,1023,1272,1056,1156,1334,1004,612,1076,1418,849,714,886,877,703,481,811,1526,1268,850,1014,904,681,963,1616,2036,1968,1322,1238,759,999,661,469,425,376,418,549,655,1054,1352,1246,987,883,1074,1234,957,1390,1158,529,397,407,380,418,479,1018,1938,1804,1394,1422,1440,1164,894,797,929,786,727,826,850,1001,1018,589,404,542,578,482,368,357,525,628,755,896,932,830,798,711,677,670,990,927,896,926,1224,1174,719,855,1250,860,567,934,1182,1028,1126,979,985,1076,1288,1554,1072,539,1144,1628,1108,1294,974,916,1128,797,492,502,912,1108,1146,1017,1062,951,713,999,924,990,1182,901,937,831,647,854,1126,1000,1226,1262,1004,940,838,1300,1378,1332,867,1066,1262,1450,1672,1450,1394,1768,1934,1866,1884,1900,1842,1782,1536,1024,580,766,1124,1132,1230,1358,1532,1262,1096,1072,1362,1376,1208,1190,1096,839,810,978,860,808,988,893,827,631,539,520,501,504,718,962,801,525,415,444,441,422,439,409,385,1156,1182,1184,1332,1504,1628,1482,1076,1028,1358,1070,1290,937,1128,1152,1258,943,694,876,987,1052,1182,900,661,630,973,1066,872,1180,1638,1382,731,388,466,751,1242,1512,1488,1084,989,1332,1007,876,1004,1180,1500,1430,905,791,1004,1094,1102,1154,1128,918,1194,1268,1194,1088,1070,844,578,699,800,744,755,736,785,564,416,938,1816,1908,2100,1874,1488,930,413,333,372,567,726,1140,1320,1196,1072,1268,1214,1266,1102,715,565,580,705,1212,1392,1288,935,1126,1598,1248,1396,1652,1444,1254,1196,1620,1678,1852,2044,1918,1064,570,371,557,854,1194,1228,876,719,1194,1110,1422,1274,1001,909,686,881,778,576,897,1164,1098,1358,1428,1618,1434,881,562,829,1126,1152,1118,1128,1242,1348,1456,1428,1092,888,1416,1520,1258,817,477,427,553,694,1066,1082,1068,871,1040,1454,1410,888,405,353,692,1192,1384,1132,957,932,833,1138,1070,951,842,1152,1028,980,1194,1162,1346,1134,990,1190,836,509,505,690,678,572,988,1546,1430,1666,1702,1572,1310,1174,832,637,478,431,465,661,1130,950,1346,2172,1632,1172,1206,904,688,1008,1216,1242,2062,1212,511,393,372,315,306,328,304,750,1572,1090,465,578,670,662,525,532,498,397,431,460,922,1386,850,691,521,522,636,669,472,896,1416,1772,1700,1460,1550,1678,1708,1598,927,454,427,669,634,436,376,372,347,394,851,1350,1102,926,490,289,246,248,279,673,636,296,348,361,459,577,480,496,788,857],[1170,1248,1078,968,1226,1470,1356,1222,785,527,464,397,558,897,1106,1098,720,602,664,830,477,571,390,437,447,363,352,361,385,467,486,387,384,340,306,276,271,254,234,217,211,214,225,244,242,255,298,375,507,695,731,744,683,603,641,666,714,668,477,347,368,338,333,325,319,379,474,482,418,451,400,438,629,601,505,598,886,1268,1372,987,1274,1516,1830,1848,972,620,510,482,485,467,666,1172,1190,1140,993,1104,912,533,355,372,567,725,663,647,713,1010,1306,986,1126,944,688,658,686,788,869,1156,1164,682,587,494,489,475,385,658,904,871,702,950,1100,733,702,909,1102,1222,1516,1570,1390,1032,668,868,1102,987,604,672,1003,800,610,533,453,442,1018,1302,1288,1032,821,785,727,595,443,474,675,1442,1130,809,675,528,442,659,663,852,1264,1248,977,1168,1392,966,833,667,582,495,498,679,922,953,1076,1212,1162,896,808,780,486,375,362,346,333,354,363,354,395,448,520,572,499,636,1532,1306,517,357,350,318,304,318,282,215,212,208,229,252,210,185,191,193,202,210,212,213,222,221,202,203,212,211,210,309,397,588,587,390,330,306,294,300,261,227,193,262,227,226,284,326,295,248,264,289,310,308,361,301,288,315,278,297,421,926,1001,1005,1218,1216,1126,1090,1120,1216,932,694,558,664,892,1138,927,644,617,688,756,756,574,664,584,630,810,643,664,735,1278,1616,1006,745,886,806,684,791,1222,1284,1132,973,875,1166,1332,1606,1392,572,455,424,409,475,537,335,405,509,1072,1438,1126,1216,1210,1332,1726,1924,1982,1622,1020,711,778,823,1052,1300,946,716,980,987,990,1220,630,373,319,435,1092,1310,1210,1198,1222,1320,1384,1140,760,902,627,818,1156,1052,1048,1248,1240,1244,1244,1336,1312,1048,593,542,441,450,381,461,968,899,985,1308,1318,1252,1102,866,735,594,756,1014,1354,1412,1488,1380,1010,901,1064,965,591,436,454,647,761,816,593,706,630,481,445,464,747,835,799,908,1210,1922,2208,1582,1242,1244,1094,1124,1216,1312,1120,777,567,667,919,1056,1236,1560,1692,1284,955,1452,1400,1806,1394,973,971,704,579,631,630,477,523,487,771,979,907,1094,1186,918,901,945,675,708,840,1108,990,1100,915,799,585,521,718,628,604,1030,1224,1052,997,1218,1112,990,1100,1222,1136,1050,1054,848,607,688,774,601,618,754,1114,1100,661,631,977,1058,785,571,488,892,1154,755,511,404,521,641,963,985,510,412,486,620,816,926,882,857,728,634,744,499,550,1032,960,537,452,866,1368,1498,1204,1050,938,1124,1332,1154,1246,1238,1174,1048,675,736,1002,785,838,1210,1164,1130,1358,1240,1122,1376,985,1038,1438,1184,1014,1128,1260,1334,1386,1268,999,1088,1284,1372,1120,781,828,922,915,850,959,1332,1660,1782,1186,951,933,857,1098,1060,647,922,1224,1138,1104,841,801,1094,1136,1476,1398,935,1009,1058,705,582,601,830,1448,1578,1560,1408,1800,1708,1520,1140,901,617,671,918,863,582,534,789,745,1048,550,473,706,1640,2178,1960,1610,1172,827,1054,1188,494,378,372,414,437,747,1388,1626,1512,1288,1334,1454,1170,1256,1346,918,1196,1306,984,1030,1136,1080,1009,1064,1021,908,706,583,584,865,1007,807,722,857,1144,1144,1246,1400,1138,915,971,1208,977,756,993,858,1022,1232,1028,829,811,1144,1340,1166,1108,980,695,730,930,1220,1250,1444,1088,1062,946,1280,1206,920,862,857,804,839,1074,1330,1682,1630,1898,1656,1334,1540,1838,1482,1358,1768,1782,1510,1300,1562,1176,696,530,497,519,880,1166,1246,1648,1854,1744,1620,1356,559,402,858,1518,1166,1156,1266,1336,1622,1860,1580,1450,1780,1464,2024,1588,991,1164,1818,2170,1588,782,405,291,374,442,750,853,829,953,887,582,414,522,484,342,402,525,384,731,1418,1412,1484,1382,1158,1152,2994,3538,2126,1582,1300,962,1100,1118,1338,1224,1020,1146,1738,1230,1124,1160,895,1220,1464,1152,689,656,704,746,883,725,804,1522,1470,985,771,1036,1400,1294,937,900,1272,875,761,838,658,636,1442,2264,1704,789,455,491,525,508,487,474,484,444,396,454,468,489,451,415,449,502,564,604,816,1284,1300,1268,1378,1404,1382,1392,1614,1638,1406,1354,1400,1392,1434,1442,1412,1530,1402,1286,1130,830,746,1138,1390,1144,451,489,1378,2010,1830,1362,1030,1278,1308,1676,1844,1700,1670,1584,1930,1814,1538,1906,902,379,295,443,480,350,1108,1410,661,631,786,617,980,1760,1428,951,400,286,342,821,1050,797,526,549,480,359,267,272,291,333,359,412,398,402,420,341,274,283,300,315,295,340,375,433,510,663,793,745,539,412,495,925,1126,1208,1366,1312,1184,1210,1628,2046,1602,1076,968,984,1122,1158,1168,1166,1198,1360,1278,1060,978,1108,965,665,510,756,1032,755,773,1062,1400,1021,537,509,379,350,344,360,415,545,596,599,615,611,612,606,626,650,715,659,506,413,358,339,333,342,375,419,522,880,1262,1078,871,800,791,962,1104,1146,1110,980,1026,603,624,751,764,705,676,1112,1060,722,785,714,893,1408,1372,1350,1068,1256,1366,1432,1362,1412,1410,1406,1150,1001,1786,2420,2404,2032,1810,1936,1898,1844,1766,1562,1632,1744,1692,1718,1554,1544,1824,1954,1874,1718,1604,1294,810,626,533,480,556,565,507,590,645,637,674,695,749,700,681,665,633,564,618,643,599,524,495,462,414,398,407,409,406,404,398,391,386,377,383,384,380,384,383,361,341,335,337,363,376,365,368,366,370,364,354,376,379,381,379,375,362,377,520,779,778,641,661,692,713,888,1206,1344,1246,1056,1426,1700,1394,1224,1242,1208,1400,1302,1196,1120,1108,1316,1730,1932,1396,1182,1126,1174,1244,1314,1470,1446,1222,1098,959,934,1234,1418,1252,1282,1460,1544,1460,1190,986,1102,982,1098,1130,1042,835,846,871,1262,1516,1108,1448,1718,1254,868,1330,760,479,1182,1144,1350,1292,971,1034,970,662,921,1266,1252,1656,1054,707,566,887,987,637,654,1120,1200,563,515,815,1438,1208,1017,1108,771,649,711,703,555,661,982,880,733,1034,1120,892,637,685,708,627,681,703,593,461,475,618,1072,1324,1548,1248,902,733,1056,1166,975,602,541,546,756,913,843,691,651,580,457,453,826,1422,1342,741,583,772,874,781,1364,1820,1716,1250,1250,879,588,497,499,597,608,861,1060,1166,1588,1718,1232,1208,1282,1468,1284,768,634,455,477,636,582,446,528,377,681,1236,871,501,629,687,563,839,1208,1106,1078,655,486,838,1138,1158,1042,567,864,1112,789,449,516,849,1015,830,806,1018,725,584,566,547,374,456,791,1342,1412,1226,855,484,450,532,764,798,695,695,990,1318,1328,1454,1264,1016,946,576,805,2554,3566,1908,1340,1176,999,886,776,440,442,747,1162,1282,535,754,795,783,997,1086,880,852,972,670,393,354,529,701,687,977,758,1078,1272,948,1176,1368,1440,852,517,691,939,1534,1688,1340,1670,1836,1806,1770,1802,1794,1650,1422,934,530,683,907,1134,1282,1100,1424,1014,653,839,1246,1290,1208,1388,1284,905,774,1130,952,962,962,887,810,767,626,502,502,617,777,812,675,449,430,448,401,381,390,354,448,1140,1034,675,982,1332,1648,1894,1636,1410,1482,1578,1340,1148,1412,1616,1542,1122,922,1180,1220,1286,1296,789,522,440,825,1180,1148,1468,1800,1290,711,369,347,419,778,1382,1714,1698,1606,1444,955,771,905,1068,1508,1454,1036,857,952,846,1210,1262,1034,1009,1372,1290,952,922,888,799,872,775,655,775,1074,968,667,457,416,508,603,1110,1432,1334,1354,1108,550,649,708,680,933,1250,1228,1220,1202,902,938,1292,1244,821,782,488,576,1034,915,691,712,1240,1488,1522,1544,1418,1498,1678,1842,1966,1844,2094,1798,1282,971,811,698,772,1050,1296,1092,633,580,670,938,2188,1974,1110,963,729,556,453,546,1042,1122,1064,1222,886,936,1258,868,410,632,1030,1246,1162,1260,1192,1302,1764,1438,1048,830,1174,1190,1202,1318,1088,686,502,968,1144,1122,1152,966,1604,2088,1570,805,501,365,763,914,691,800,1008,1142,1098,889,1122,1218,1300,944,571,884,1020,1034,1216,1250,1009,1304,1240,827,624,666,879,1106,1514,1742,1646,1718,1794,1472,1172,1674,1976,1438,988,580,425,515,693,681,1094,1486,1344,971,1020,1234,1460,1506,833,486,703,481,493,709,691,587,537,465,338,568,1218,766,493,694,838,880,1062,1234,837,356,364,495,1006,1250,686,515,595,459,455,601,847,1023,937,1204,1130,1162,966,988,1406,1986,1494,637,431,531,519,404,361,356,320,281,461,1064,1328,1338,670,299,261,295,325,517,596,322,372,337,403,726,613,438,392,524],[1002,1044,828,1172,1290,1110,788,772,886,720,494,621,1026,1104,1274,1370,1196,1009,1018,1562,846,373,297,486,620,466,340,343,399,429,462,403,399,361,308,254,240,235,232,223,219,223,225,237,243,259,305,390,495,550,468,537,670,698,655,628,650,600,448,366,348,333,333,319,292,351,412,443,480,482,358,412,542,553,678,584,615,963,1290,910,913,938,1400,1576,854,672,478,445,474,473,503,602,840,857,711,667,542,535,434,341,508,678,659,667,768,779,780,677,672,615,505,569,622,683,815,910,521,403,460,491,402,371,395,521,877,999,755,893,1138,875,802,1130,1404,1494,1554,1638,1482,1024,811,869,1070,1098,664,664,922,691,430,414,370,354,624,1072,1340,998,690,631,503,502,579,1044,1238,1310,1078,1094,833,519,463,391,390,421,428,435,679,775,1028,1572,1274,750,630,547,465,546,586,549,587,683,763,659,822,1246,838,388,354,351,313,345,446,499,490,476,457,433,449,482,595,422,382,368,350,320,291,311,281,214,212,221,234,234,191,207,219,202,210,212,221,235,231,205,194,208,228,230,252,293,327,485,496,366,315,339,354,325,309,272,227,228,225,243,243,234,228,243,264,297,370,422,671,420,330,308,284,366,699,1084,1040,926,1210,1246,1094,932,1064,1108,834,655,662,631,833,1042,927,555,608,1032,1008,1112,836,764,509,649,690,506,724,820,883,811,416,354,466,387,404,741,993,954,1236,1328,1000,1100,1556,1494,1188,776,438,376,299,408,401,341,505,874,1426,1476,1132,1154,1372,1454,1468,2002,2062,1756,1222,886,910,727,727,883,819,1004,1208,728,762,998,583,347,293,422,910,1000,1064,1382,1442,1340,1003,1252,1086,1126,888,899,689,774,899,933,1062,1256,1294,1246,1078,883,535,494,372,434,466,858,839,828,1132,828,815,1026,858,653,718,644,919,1102,1470,1416,1410,1578,1564,1218,1172,889,564,580,753,874,753,695,531,783,961,813,502,611,825,843,1176,1060,1252,1478,1272,1220,1344,1312,1292,1290,1078,761,659,674,574,819,1066,982,1268,1582,1732,1054,802,924,902,1140,1024,922,1016,859,855,1152,1023,509,681,728,747,1084,1554,1380,1036,974,952,1038,1164,1294,814,1030,928,1220,1064,839,649,553,678,735,806,811,954,1214,1526,1622,1246,1032,1208,1318,1066,809,1048,1038,886,1144,1156,764,673,808,1194,1548,1258,1214,1842,1682,893,517,942,2282,2048,1150,860,650,788,1007,1450,1158,561,622,658,492,719,1056,1206,858,529,537,618,519,670,1036,1088,866,779,1216,1446,1316,1156,1366,1154,917,988,1526,2110,1696,1382,1334,840,890,847,578,914,1174,1224,1130,1254,1356,1276,1278,1274,1340,1534,1638,1510,1496,1442,1518,1662,1492,1482,1460,1128,971,936,770,685,805,971,1058,1322,1396,1498,1590,1362,1116,902,795,908,991,811,794,1004,1356,741,659,890,1120,1394,1644,1394,1182,1510,1422,980,778,536,598,876,1046,1086,1238,1526,1752,1742,1206,677,546,592,713,670,595,586,689,752,867,547,453,760,1750,2316,2202,1906,1450,962,1096,1166,869,491,402,436,642,1124,1418,1516,1302,1112,1340,1582,1552,1446,1230,1186,1280,1310,957,1034,1224,1188,1298,1276,890,844,948,897,995,1012,820,498,345,651,973,1136,1394,1376,845,728,1040,1076,760,993,1062,966,1222,1064,725,644,735,857,1270,1300,1138,1060,1015,932,844,743,839,1160,1340,1186,1148,1312,883,722,848,1088,820,889,1009,1334,1556,1610,1656,1642,1572,1452,1502,1356,1356,1484,1526,1674,1598,1442,1444,1126,601,566,595,821,1142,1282,1314,1180,1004,1168,1316,797,596,919,1378,1154,885,1178,1434,1732,2114,2030,2642,2852,2648,3000,2316,1632,1048,1214,1224,925,508,422,405,521,605,974,913,1015,1290,1308,854,593,592,478,305,393,469,374,889,1380,1474,1494,1438,1186,1402,3142,3602,2114,1448,1168,1090,1190,1144,1326,1088,822,759,869,954,1130,946,1026,1150,1174,1248,1084,724,729,1042,1326,1262,1017,1390,1532,1168,825,911,1094,1172,1310,1110,916,1002,1090,1174,1278,1742,2230,2244,1808,1344,748,490,537,510,498,488,480,486,444,411,466,489,420,382,509,507,476,717,1086,1292,946,1344,1614,1472,1350,1312,1404,1548,1356,1256,1330,1390,1480,1300,1276,1304,1422,1332,1302,1009,708,966,1234,1208,724,732,1630,1460,1030,605,875,1404,1432,1470,1376,1584,1628,1396,1970,1834,1892,1986,902,347,314,528,588,515,1174,1250,624,590,595,550,1158,2346,1584,917,651,402,289,583,1136,1090,469,608,651,367,291,284,318,343,359,402,365,354,392,346,283,317,327,317,315,430,487,461,493,768,829,560,428,409,637,1011,1174,1418,1438,1060,1158,1192,1256,1678,1454,974,875,924,1032,995,1044,1040,1034,1200,1296,1294,1162,968,703,576,436,578,775,748,701,956,1368,984,591,455,370,419,460,395,431,610,709,653,623,639,653,671,762,740,653,513,372,326,320,355,377,385,375,406,432,617,915,1024,972,866,917,955,860,857,990,862,1009,665,600,735,860,841,638,672,783,783,793,711,742,1216,1240,1328,1428,1382,1168,1184,1154,1152,1030,884,901,764,1300,1652,1638,1660,1860,1862,1978,1974,1770,1562,1398,1378,1528,1594,1632,1580,1726,1804,1566,1470,1436,1322,1009,706,613,699,494,491,581,507,401,467,557,517,549,643,654,670,666,622,728,700,747,787,810,709,621,604,551,586,659,648,601,586,594,626,592,563,573,546,495,452,448,448,403,386,413,384,346,353,378,349,329,327,370,375,361,366,370,480,850,1222,1212,994,739,685,729,719,822,976,1050,1222,1426,1238,1102,1402,1508,1318,1416,1368,1284,1110,1222,1322,1672,1720,1364,1158,1238,1394,1400,1244,1446,1656,1492,1206,1138,1086,1108,1208,1198,1204,1376,1728,1570,1396,1110,969,902,1030,1232,1360,1192,1176,950,836,959,989,1206,893,1042,649,901,879,1106,1598,1160,998,1130,672,656,922,755,821,1468,1706,1968,1440,1024,677,857,1024,991,1236,1084,1068,858,770,1394,2018,1312,891,939,874,885,1005,1021,750,516,778,1302,1180,954,996,973,872,687,530,494,385,447,688,688,475,691,1718,1566,1034,610,659,836,1088,1224,883,636,563,583,699,869,878,854,900,863,555,510,959,1584,1512,830,693,962,1104,744,877,1190,1230,1038,1154,1064,668,558,601,592,1014,1686,1500,1232,1520,1500,1012,835,1088,1336,984,641,547,487,849,1204,1128,606,471,395,422,478,339,302,399,390,404,804,1234,1192,1250,838,723,1021,907,764,576,373,738,929,838,712,753,1028,1150,963,763,982,1114,810,774,688,473,357,667,1086,1288,1400,830,537,673,564,595,840,933,1046,1188,1306,1252,979,885,1005,885,785,1005,1980,4300,3886,2010,1238,989,762,717,543,526,585,661,603,571,959,1132,1108,1092,1244,901,870,1092,708,361,350,433,770,569,577,689,1456,1262,1034,1186,1364,1516,1006,777,671,608,1098,1324,1416,1372,1448,1754,1884,1870,1918,1878,1594,919,532,620,846,1112,1282,1176,1132,1100,885,871,1232,1312,1330,1466,1222,1164,691,1060,884,844,944,1024,1082,1054,987,827,647,781,717,595,521,434,479,444,386,388,418,404,459,637,500,733,1384,1632,1838,1758,1774,1384,1256,1592,1572,1300,1320,1498,1334,1332,1190,1536,1282,1124,905,609,551,501,615,994,963,998,1128,1122,794,407,377,480,767,1324,1688,1710,1722,1668,1284,1168,1234,944,1172,1040,702,824,1026,969,894,774,882,1410,1942,1310,791,1138,1136,1344,1378,716,512,760,1356,1316,791,707,1012,854,442,653,832,862,955,886,535,665,866,816,923,1124,1046,1050,1094,937,879,845,889,867,921,742,616,699,814,1040,1106,1366,1706,1696,1532,1532,1152,1778,2416,2174,2216,2232,1446,845,735,781,991,1006,1178,1428,1082,697,584,710,1206,2090,1716,1128,929,899,762,363,387,608,1180,1264,948,594,616,926,721,326,398,706,819,932,1312,943,918,1372,1284,1068,671,1064,912,537,975,1470,1294,1266,1346,822,719,950,1164,1310,1250,1072,1208,1088,645,520,506,640,908,1032,1082,811,502,524,933,1136,670,746,772,690,800,940,854,608,674,639,812,673,648,990,998,1130,1388,1280,1396,1450,1430,1380,1630,1604,1128,937,600,495,590,395,397,658,1015,1072,1086,1208,1316,1518,1240,565,322,514,847,1096,1174,1434,1406,1182,684,594,623,766,901,1056,1130,1158,885,822,1130,920,390,306,527,1104,1578,1072,520,602,709,764,1326,1794,1686,909,975,1234,1538,1310,851,918,1122,866,567,481,477,389,352,317,281,287,291,312,812,1208,926,449,308,274,321,334,401,546,293,312,361,324,520,450,365,426,456],[1050,763,519,873,1052,1466,1256,988,1306,1076,852,1388,2010,1504,1410,1172,1208,1144,1330,1534,844,393,424,818,959,770,621,374,398,433,416,399,395,340,238,207,223,221,202,200,223,238,240,242,238,242,289,337,390,346,330,438,586,623,654,750,704,504,389,369,336,347,356,329,313,331,398,546,695,658,506,436,485,423,544,671,794,778,684,628,846,922,869,1168,756,563,447,425,502,461,452,393,710,826,535,437,456,430,378,353,487,631,656,635,744,608,487,400,387,442,374,373,565,1052,1296,1326,795,569,496,390,412,506,543,613,771,908,1032,890,892,941,1046,1352,1384,1336,1428,1530,1444,844,586,769,1028,1034,582,661,908,694,410,471,521,408,448,588,590,546,581,630,619,646,756,916,771,691,913,962,615,466,412,317,346,393,410,494,821,894,1076,1524,1278,785,686,684,493,464,542,477,492,589,585,522,898,1586,1172,499,319,366,401,471,609,572,405,379,392,406,451,417,362,401,407,388,379,358,316,300,241,212,192,219,221,217,198,196,205,194,185,205,233,217,193,194,207,229,259,286,331,334,364,464,364,249,303,332,318,326,345,287,269,281,270,253,264,269,242,261,281,296,370,380,346,341,362,405,365,499,886,843,724,784,1182,1306,1188,949,985,882,1012,1090,784,921,1158,886,883,793,929,1300,1094,1019,1354,1252,850,742,518,508,632,747,734,754,671,456,318,346,533,1138,1184,957,1214,1186,1028,1302,1614,1692,1380,1042,842,525,429,445,398,414,777,1200,1602,1600,1440,1160,1466,1638,1364,1774,1470,1166,1312,1364,982,608,547,552,672,1068,1056,898,750,684,497,351,327,331,406,506,889,1368,1400,1020,824,1306,1118,995,1062,851,796,883,879,1028,1266,1220,1190,1007,882,921,904,614,475,634,924,899,683,1148,1166,697,678,556,502,720,648,698,1138,1288,1238,1364,1370,1508,1678,1254,1286,772,510,673,951,996,797,966,843,731,1250,1238,664,515,618,814,1316,1130,1212,1056,1004,1282,1396,1174,1292,1130,719,567,521,459,479,893,1212,1062,1424,1664,1622,1084,705,549,617,772,727,816,996,816,924,1276,1032,614,595,1110,1396,1208,1370,1110,839,1110,1338,1290,1360,1374,910,1017,1252,1400,1310,1150,724,627,988,1074,992,919,707,1015,1668,1674,1590,1412,1086,1086,1086,877,1082,1156,1324,1238,1168,856,778,980,1208,1476,1568,1742,1910,1530,861,714,2066,2552,1294,584,832,805,911,907,817,770,563,510,619,839,1228,1194,904,843,708,508,504,561,1136,1460,1070,839,881,1082,1136,1266,1164,1332,1148,920,1384,2226,2140,1544,1162,1006,762,694,659,499,760,1014,1342,1376,1242,1048,972,1066,1021,1036,1412,1656,1538,1400,1520,1648,1738,1372,768,564,647,618,518,570,618,708,802,932,1324,1148,1330,1406,1188,1144,1152,944,1023,918,850,874,1004,1158,1034,916,988,1242,1246,1166,1126,871,947,1026,1096,868,487,524,913,952,756,525,713,1078,1172,963,618,533,768,976,990,1054,999,726,882,854,642,629,893,1884,2234,2308,2166,1792,1336,924,756,1162,807,453,528,984,1268,1282,1456,1534,1206,1326,1658,1786,1590,1542,1532,1594,1664,1438,1298,1282,1372,1192,1138,886,829,1350,1456,1370,852,498,412,348,443,830,1088,1154,1408,1020,881,788,847,802,1294,1496,1528,1318,988,1021,973,1094,835,868,1024,1120,1122,1262,1122,1076,1152,1064,955,774,667,1028,1364,1366,985,963,988,769,837,1106,1352,1368,1438,1560,1616,1540,1470,1694,1618,1268,1140,1206,1362,1566,1404,1338,1066,868,952,1088,1378,1248,1098,889,752,663,794,1248,1266,1026,877,896,908,888,1034,1374,1678,1904,2138,2320,2338,3002,2952,3168,2754,1964,1412,768,676,670,464,403,429,460,725,966,1280,1416,1154,994,1028,794,583,451,433,428,396,893,1280,1478,1580,1422,935,1412,3354,3416,1632,1198,1134,1142,1210,1300,1202,907,896,1024,1230,1284,822,947,1748,1534,1312,1274,1434,1152,1350,1990,2314,1836,1488,1512,1484,1768,1492,915,692,1498,1284,844,755,744,1023,1572,2128,2446,2182,1498,1144,1278,1354,709,601,598,563,538,473,411,439,482,517,480,401,362,475,466,680,1188,1366,1210,1184,1400,1620,1690,1604,1338,1210,1524,1504,1174,1238,1322,1228,1308,1348,1472,1390,1124,1158,891,760,1068,1144,1014,1346,1078,688,509,694,821,1288,1606,1338,1360,1124,1116,1674,1322,1798,1776,1686,1464,781,554,664,735,778,506,704,841,585,461,562,880,1736,2492,2276,1760,1184,654,443,594,975,1310,777,861,806,471,303,296,338,313,304,389,399,345,378,383,328,343,366,380,402,520,676,689,715,900,704,519,560,855,1082,1048,1252,1536,1400,1230,1318,1042,856,962,926,850,885,929,946,971,1134,1218,1240,1260,1336,1216,786,505,568,615,691,1304,1254,813,501,824,1348,1032,598,495,387,542,704,586,579,787,1044,891,674,557,577,673,678,526,399,331,321,332,364,424,443,448,426,412,469,550,698,966,950,759,721,807,843,825,885,870,1010,759,580,697,749,833,962,717,697,795,793,758,682,1106,1222,1184,1282,970,893,1102,1062,1008,1080,1072,1154,726,1021,1392,1528,1758,1892,1944,2090,2100,1930,1642,1290,906,1358,1484,1788,1784,1804,1772,1572,1534,1588,1560,1300,898,666,747,465,309,374,393,375,426,523,513,453,450,494,550,545,466,496,441,519,673,756,739,734,632,498,504,552,584,586,633,653,633,631,665,670,669,742,772,728,722,738,675,661,642,614,624,572,552,570,588,557,527,542,479,412,433,721,1212,1324,1124,872,636,697,781,729,829,1090,1346,1422,1334,1068,1396,1478,1346,1344,1460,1396,1288,1294,1274,1522,1632,1278,1236,1360,1384,1372,1198,1344,1428,1656,1356,1200,1300,1098,1220,1478,1418,1360,1614,1440,1412,1108,930,1178,1208,1248,1340,1338,1198,935,752,761,939,753,677,1142,942,1010,1096,1412,1556,1000,889,1026,433,419,685,626,539,995,1354,1462,1182,833,860,1118,814,939,1402,1070,1150,1084,1030,1186,1136,737,570,729,971,842,741,951,724,658,1040,1542,1596,1048,889,871,634,412,426,513,451,601,771,586,407,637,1476,1426,809,540,579,746,956,1078,811,682,648,763,835,899,980,886,703,642,745,883,1340,1766,1050,820,1064,998,745,520,582,670,975,1166,1142,1186,902,572,591,645,1182,1562,1050,628,686,1011,1270,1282,1484,1318,770,448,655,1038,1316,1372,1150,691,434,341,295,275,306,358,388,386,466,1164,1762,1738,1350,1140,1216,1134,965,1042,798,500,390,437,662,623,577,1064,1124,896,890,1530,1780,1256,705,517,518,444,924,1194,1560,1414,1104,750,1030,985,808,733,478,558,577,796,758,727,1128,1264,1176,1248,1206,640,2218,3056,1920,1234,909,661,656,578,711,835,780,871,866,1270,1530,1562,1562,1382,940,1124,1648,1556,884,508,497,958,692,392,703,1106,1072,1082,789,886,1132,886,834,599,716,1060,1090,1214,1180,1100,1176,1490,1614,1586,1692,1612,863,650,648,801,1096,1386,1160,1054,1238,882,658,853,1034,1200,1182,1156,1042,577,529,483,574,742,1000,1134,1044,962,970,748,560,588,644,503,441,447,420,429,452,612,816,978,733,570,632,1090,1670,2104,2036,1714,924,857,1350,1344,1074,915,1158,1362,1908,1644,1886,1438,1042,912,813,617,514,633,598,650,872,868,959,778,522,500,770,1020,1396,1490,1350,1444,1654,1494,1262,1174,774,1218,1198,1284,1346,1216,1120,689,590,775,993,1376,1030,862,1128,1686,2244,1444,680,452,952,1420,1166,859,894,1088,636,559,1054,1330,1340,1028,607,581,567,645,545,514,741,1005,1166,1118,1220,1260,789,597,640,858,1034,875,818,1138,1348,1344,1572,1488,1254,1282,1078,1514,2398,2584,2490,2260,1822,1226,1142,1240,1014,876,976,1172,1560,1538,1082,853,734,678,678,732,806,839,1384,1116,498,452,597,1242,1258,1066,835,596,583,536,365,497,704,788,1094,885,707,777,598,767,739,633,871,815,688,1116,1440,1304,1424,1566,1212,859,727,706,669,543,756,1242,1222,1174,855,558,825,1366,1286,1096,836,659,580,856,683,373,418,407,473,597,809,486,473,896,945,1088,971,833,1032,891,1034,1362,1318,1202,1214,1086,1132,1464,1226,666,471,394,553,776,594,454,487,912,754,775,663,954,1032,794,609,579,1170,1918,1586,1154,1290,1306,1170,624,666,973,1222,1256,1050,843,769,413,368,772,950,715,560,527,622,1250,1406,778,593,838,792,1194,1538,1632,792,952,1410,2254,2114,1062,605,636,571,550,567,502,315,286,267,229,249,283,292,469,557,380,272,280,261,259,288,335,506,322,327,428,339,324,298,258,509,1050],[1296,813,512,664,963,1416,1514,1840,1658,998,1194,1376,1634,1404,1310,1196,1174,1056,1058,926,746,619,657,1084,1262,1282,962,451,328,397,404,401,387,304,234,241,234,237,237,243,241,234,231,229,227,233,265,313,340,358,388,532,645,443,506,616,539,389,357,349,467,529,396,342,339,357,404,578,780,651,645,566,461,401,453,457,539,571,489,473,776,1146,910,996,1134,941,780,713,564,489,458,412,596,723,428,368,382,393,320,293,465,636,654,624,623,549,466,371,358,360,412,604,626,1164,1406,1704,1406,1056,780,509,653,611,525,768,695,655,1050,947,646,580,999,1242,929,676,818,1152,1394,913,586,1034,1282,1188,689,697,986,937,913,1192,1208,986,766,619,634,537,578,661,750,665,715,838,1038,1116,1026,692,495,469,438,379,357,401,424,376,645,899,868,678,619,784,845,675,481,489,550,438,433,387,391,543,1058,1372,1128,751,505,456,400,484,757,700,452,393,378,317,369,431,400,398,407,402,373,343,313,291,219,223,259,228,192,216,220,214,202,187,200,229,234,215,195,197,222,254,284,307,332,343,361,469,338,268,362,331,252,221,237,248,251,287,356,361,254,259,281,295,351,341,327,301,264,272,352,545,443,335,466,449,478,1040,1278,1176,1180,1009,899,1018,1070,941,915,1224,1274,1062,858,781,836,925,730,692,1172,1256,874,769,684,666,664,846,763,1098,1256,764,461,415,694,1170,1116,1016,1068,578,932,1372,1198,1342,1308,1042,922,958,949,761,466,564,816,786,1122,1090,869,774,1172,1354,1030,852,699,785,1244,1610,1228,908,770,673,669,778,901,1280,1260,991,767,703,653,645,540,594,828,1334,1266,898,1064,1144,1182,1376,1128,686,743,893,1016,1072,1014,979,1098,1156,1044,943,1144,1140,882,930,1318,1182,959,1070,1166,899,666,437,414,673,620,518,920,1352,1240,1132,1156,1438,1418,1098,1242,999,689,612,668,664,575,871,800,698,1192,972,581,529,591,827,937,866,1009,970,890,1078,1260,1580,1512,847,653,531,518,425,554,1052,1032,1064,1512,1732,1522,1001,741,577,619,683,670,753,867,775,973,1300,1120,913,764,987,1238,1030,1072,1096,836,1260,1300,1122,1276,1100,608,805,1400,1366,1226,1162,648,666,824,807,949,890,844,1388,1658,1786,1940,1504,1130,951,761,927,971,942,1236,1044,804,803,856,936,1200,1222,1214,1400,1222,1190,821,864,1810,1880,1032,578,636,600,637,882,832,733,825,943,1038,955,1096,1090,1260,1726,1260,518,436,597,1096,993,568,553,1028,1172,1038,1130,1360,1286,1088,803,843,874,821,1376,1056,774,843,604,445,480,543,651,927,1060,895,1028,1404,1506,1484,1550,1628,1474,1374,1268,1356,1382,1412,1204,688,547,778,673,439,494,527,645,929,1344,1042,695,1262,1376,1094,1184,1326,1094,715,568,1140,1264,1312,933,714,772,933,1164,1170,942,990,866,651,850,758,546,508,793,1146,1220,755,404,532,742,822,797,751,590,828,768,760,1001,1190,915,1016,1009,720,849,1150,2100,2382,2374,2266,1562,1222,921,771,1130,889,447,705,1214,1178,1394,1340,1118,1086,1414,1628,1842,1780,1812,1802,1606,1682,1622,1646,1672,1528,973,925,897,851,1146,1394,1190,666,525,675,769,630,622,696,700,1082,924,651,1112,1130,702,943,1294,1518,1500,1454,1690,1458,1005,847,720,1230,1040,821,1072,1166,1212,1432,1488,1086,860,842,697,728,1019,1298,1400,1262,1140,1210,1438,1542,1450,1608,1814,1692,1666,1648,1712,1550,1362,1302,1118,1188,1532,1602,1416,1266,1130,913,1122,1318,1023,977,956,744,694,913,1324,1576,1542,1322,902,919,1026,1050,971,1250,1490,1914,2014,2438,2762,3066,3196,2832,2918,1862,1236,894,942,570,341,422,706,980,1236,1408,1208,1034,1282,1418,1100,1170,973,719,422,477,940,1200,1466,1548,1276,973,1526,3498,3328,1670,1124,1136,1190,1170,1268,1098,865,980,1252,1532,1332,843,1110,1628,1498,1586,1288,1180,1324,1940,2466,2138,1484,1544,1422,1192,1506,1598,1162,593,980,957,641,673,620,914,1846,2614,2368,1528,974,1064,1082,1364,1296,927,656,658,547,454,380,451,502,590,516,481,450,473,605,1078,1294,1060,1216,1450,1544,2142,2138,1560,1252,1386,1580,1702,1730,1706,1480,1478,1544,1400,1484,1282,1200,1148,958,657,781,810,1342,1422,959,724,771,1220,1348,1436,1506,1618,1696,912,799,1582,1284,1114,1332,1482,1094,1034,1460,1566,1166,766,572,1024,1170,753,585,538,1048,2036,2588,2126,1322,1194,666,462,436,476,1126,1200,901,628,477,318,318,315,325,311,283,305,276,373,424,390,301,333,401,401,469,663,901,905,820,713,790,939,1284,1416,1346,1448,1296,1086,1468,1472,1072,898,903,957,1007,1072,1066,1015,1288,1422,1308,1348,1366,1390,1230,856,745,1058,1154,1190,1726,1570,947,594,908,1396,1150,634,451,419,552,754,1062,1066,1192,1294,937,608,543,530,530,433,356,350,337,348,380,479,480,454,466,459,527,625,625,707,825,800,850,814,696,560,718,909,954,1022,823,524,550,624,861,1288,1046,747,684,742,816,800,967,939,891,919,683,876,1176,1198,1166,1246,1102,1128,755,1118,1554,1614,1844,1844,1732,1788,1746,1786,1610,1408,1108,1462,1544,1718,1794,1832,1822,1764,1742,1752,1684,1464,1078,843,670,480,327,292,323,315,336,393,413,450,444,423,441,466,429,396,356,380,389,426,467,455,438,419,345,358,379,394,396,425,425,365,347,392,419,443,486,533,563,603,579,614,690,708,670,738,820,743,748,819,821,763,714,742,759,726,885,1048,1011,808,619,615,758,834,884,1170,1340,1346,1484,1262,1286,1328,1424,1416,1282,1184,1328,1506,1374,1216,1328,1284,1480,1388,1320,1242,1288,1274,1320,1438,1082,954,1316,1302,1278,1364,1312,1368,1202,873,1130,1226,1254,1384,1196,827,847,1188,973,875,798,941,863,779,869,1164,1058,716,910,1138,1332,1664,1360,775,466,333,377,361,374,606,866,1040,824,706,1124,1042,542,536,904,1042,1340,1346,1040,645,490,437,325,588,1032,781,466,429,504,796,843,1318,1438,1086,1136,1028,720,457,422,454,447,466,476,370,404,944,1482,1262,820,830,731,713,654,979,534,445,335,427,696,887,930,819,542,457,731,780,1023,1562,1240,1254,1510,1122,838,951,1180,1001,820,1272,1212,1298,1250,843,529,634,744,1194,1023,686,839,1236,1296,1710,1594,1058,547,478,1158,1394,1532,1100,739,922,796,355,224,245,332,350,286,354,780,1494,1880,1576,1152,1504,2002,1692,1374,1308,996,556,387,421,566,655,412,568,570,607,760,1214,1554,1088,680,626,714,484,680,937,1166,1162,924,721,1118,1128,1214,1046,490,659,669,887,688,688,1382,1532,1388,1428,1042,469,949,1468,1384,1108,668,410,597,803,884,1198,1330,1372,1284,1070,1264,1394,1020,883,718,916,1378,1496,1350,784,772,1132,807,393,482,521,694,992,549,695,1054,794,502,549,865,1166,1372,1224,973,1112,1740,1842,1522,1238,1142,1100,942,945,932,985,932,884,818,1036,1288,1130,662,470,682,1042,984,971,865,650,602,568,477,579,635,774,1028,768,682,876,676,555,599,558,492,407,418,542,628,706,1056,1260,630,454,826,959,971,1334,1590,1092,531,844,1524,1290,1166,1490,1860,1732,1746,1332,1332,1400,1108,1046,1196,1096,1426,1456,612,695,1232,958,794,532,497,489,535,948,1240,801,538,662,1118,979,1040,945,634,1262,1444,1378,1250,1190,1086,907,966,1146,686,691,1162,1200,1152,1604,1730,1070,764,670,974,1042,927,628,611,827,683,828,1017,1366,1778,1296,1082,1056,649,615,605,477,472,852,1140,1300,1368,1244,906,652,514,812,1148,1124,771,703,916,1194,1082,1208,1226,895,1020,2194,2496,2388,2394,2142,1598,1028,1058,1194,876,625,914,938,1274,1432,1328,1086,674,585,742,757,573,716,1002,887,678,559,608,927,1316,1294,1296,1066,801,492,508,749,903,1034,1370,1056,661,496,563,605,624,949,851,773,1158,1578,1532,1128,1234,1404,1464,1360,1152,901,542,472,753,894,891,1186,1562,1310,857,1088,1194,1426,1736,1338,861,1050,851,571,431,337,358,656,950,777,950,1690,1860,1434,1182,1240,1034,979,1498,1520,1112,890,995,687,1160,1516,878,406,477,468,478,350,611,613,485,702,563,307,585,1058,871,597,586,553,1028,1482,1294,1242,1294,1104,692,636,865,1390,1842,1350,1078,1526,1024,539,412,589,798,798,788,747,674,922,1544,1164,664,843,1046,690,644,581,361,510,1442,2624,2114,901,524,623,705,552,564,446,314,300,280,313,351,384,361,285,246,256,292,327,273,354,378,378,591,511,364,488,425,351,310,300,604,1402],[2072,1326,647,510,743,1188,1382,1402,897,688,1160,1148,1124,1058,1096,1142,921,688,608,515,493,524,742,971,1214,1238,749,467,401,406,393,365,375,288,209,260,241,241,236,228,224,226,225,221,225,243,280,326,352,390,415,708,948,971,885,588,465,398,364,323,479,550,384,317,327,403,353,437,676,495,437,568,507,428,444,406,352,383,406,381,479,737,987,1134,1262,1013,775,624,648,824,810,724,803,604,401,379,434,466,568,546,557,600,506,487,464,387,346,391,419,357,371,491,534,965,1354,1704,1724,1362,1086,789,698,412,364,641,703,866,898,779,539,517,841,1200,1124,783,1194,1184,1266,963,653,1172,1376,1166,926,1076,1374,1266,995,1078,1124,1222,971,763,710,543,499,451,547,587,641,1128,1362,805,736,547,478,407,469,502,436,383,390,393,467,558,585,565,607,725,741,571,473,476,495,454,443,705,1232,1156,945,825,865,475,350,332,301,349,493,486,365,329,405,438,485,542,455,388,368,373,351,325,301,272,225,232,253,205,217,218,219,214,212,230,241,233,229,208,189,197,232,267,292,307,315,329,343,385,302,281,329,316,244,212,231,229,248,236,269,383,356,298,309,276,285,355,392,346,281,271,262,352,341,306,463,467,670,931,987,1106,1338,1070,822,1096,963,706,641,1015,1030,1144,924,748,716,894,1094,1088,1154,1110,907,1218,1290,1044,783,801,872,1050,1058,907,703,474,498,626,818,926,658,881,1442,1048,1122,1288,1168,959,804,902,1058,1178,987,830,797,772,714,680,607,663,957,1160,1068,861,764,868,1488,1726,1346,1112,1066,1050,1188,1228,1134,1116,952,736,897,937,692,535,532,560,591,819,902,1112,984,965,1236,1114,950,632,963,1204,1244,1058,650,624,611,633,819,1072,1262,1346,1140,1046,1120,1306,1356,929,935,1204,1066,644,419,485,679,625,628,1068,1362,1068,1412,2136,1470,1066,960,999,904,641,510,510,453,541,624,609,654,513,415,533,685,739,695,996,1350,1248,967,1013,1748,1976,995,647,867,623,526,564,777,1160,1098,1080,1462,1666,1548,868,739,678,747,759,773,700,617,600,877,1328,1350,909,665,414,520,1162,1412,1516,1074,1202,1038,656,730,789,556,669,945,744,744,1044,661,816,1076,966,1028,1064,1364,1650,1486,1642,1490,1030,1017,913,883,930,746,756,828,612,731,1240,1196,1224,1406,1416,1438,1406,1102,897,845,889,1144,1230,818,658,686,610,625,758,728,648,937,997,1088,1078,985,821,1174,1634,1078,458,393,376,325,336,432,745,1156,1474,1062,1096,1568,1394,969,484,527,1212,1376,1816,1372,961,818,604,582,616,519,699,1020,1282,1304,1418,1584,1628,1538,976,824,1088,1344,1282,1064,1100,1262,1250,890,526,510,520,516,534,532,677,1030,1450,1080,776,1364,1310,1340,1284,1146,1030,1062,1050,1360,1344,1118,862,818,703,844,1126,1288,1192,1094,1072,1040,803,511,540,891,1184,1414,1182,584,404,498,882,818,688,776,692,529,525,540,485,451,718,1170,1182,714,605,1288,1946,2282,2360,2122,1084,909,962,754,1250,790,451,920,1146,1260,1494,1416,1354,1172,1302,1772,2018,1986,2084,1930,1674,1590,1598,1608,1716,1598,1398,1318,999,735,820,1116,1038,636,690,1392,1298,821,610,656,819,700,556,506,967,1108,780,1019,1136,841,1208,1462,1472,1326,1034,830,982,1476,1162,730,1140,1298,1108,1354,1426,1042,1388,1196,626,490,587,773,1188,1450,1354,1228,1468,1542,1500,1630,1666,1692,1648,1416,1476,1624,1732,1432,968,1028,1262,1624,1588,1410,774,568,1136,1230,1001,847,834,786,636,764,1262,1532,1520,1676,1400,1152,1070,1118,947,887,1186,1606,1798,2102,2408,2984,2878,3376,2968,2854,1994,1322,1190,753,464,595,822,1172,1406,1258,1078,1224,1438,1104,1116,1382,1340,943,420,558,995,1210,1470,1534,1302,1046,1462,3466,3044,1740,1268,1196,1116,1120,1194,1046,1013,1382,1470,1262,1166,1102,1234,1274,1202,1316,1352,1388,1476,1956,2220,1644,1332,1614,1558,1080,1276,1366,1382,938,566,527,513,647,860,1082,1528,1978,2156,2018,1734,1500,1078,1028,1874,1762,926,711,603,551,501,515,493,526,593,522,470,663,1064,1284,968,722,849,1246,1804,1896,1648,1414,1386,1470,1534,1768,2046,1756,1238,1384,1526,1336,1284,946,1078,1308,1154,1052,996,1268,1630,1246,1178,995,1072,1318,1434,1362,1092,1730,2678,2030,1440,1798,1380,929,1570,1730,859,1246,1738,1634,1108,604,539,1296,1324,698,739,672,497,1394,2534,1444,1028,1324,841,491,387,485,879,1252,1102,580,398,294,345,369,419,386,327,327,293,357,420,391,324,358,399,400,417,483,802,788,804,772,862,1046,1224,1412,1590,1590,1182,1034,1164,1318,946,1050,1502,1422,1206,1102,990,1018,1346,1260,1222,1480,1574,1538,1466,1300,1330,1516,1678,1522,1656,1420,779,563,918,1334,1122,752,562,433,498,670,833,660,645,677,546,423,485,584,793,538,383,356,380,359,379,531,539,455,413,410,565,738,791,817,1012,1360,1594,1560,1224,773,608,653,723,722,857,645,691,797,905,1098,1064,1064,1246,1490,1410,1050,1010,775,708,1116,689,792,1072,1062,983,1048,1086,1278,1088,1262,1644,1488,1468,1354,1214,1274,1296,1600,1578,1434,1502,1594,1488,1544,1682,1700,1636,1644,1570,1588,1628,1162,829,739,739,703,505,375,258,236,225,258,316,360,404,366,440,557,608,501,351,362,346,354,361,349,347,338,331,357,350,339,324,333,351,358,377,365,332,337,331,329,339,367,386,391,372,434,552,653,609,534,490,498,518,544,655,641,637,615,625,681,688,720,728,697,730,807,821,1180,1180,1068,1126,1322,1432,1362,1452,1606,1324,1672,1592,1404,1248,1136,1306,1344,1344,1566,1338,1350,1532,1308,1268,1310,1118,1070,1296,1172,1036,1004,937,1362,1246,892,1038,1310,1304,975,921,894,1136,1344,968,563,669,958,1124,1508,1542,1650,1560,871,713,959,1306,1558,1368,991,476,262,285,253,329,487,844,1206,1082,896,1100,750,505,426,830,1408,1634,1440,901,480,463,386,291,539,1009,1072,631,473,631,1042,984,702,546,718,1164,1004,674,480,384,389,441,416,450,483,393,670,1248,1422,1070,900,839,811,786,1208,860,411,392,1000,1158,579,691,726,790,745,694,817,1114,1278,1666,1526,1096,813,945,1374,1466,1034,583,823,963,1296,1410,1130,605,329,520,851,820,1080,1834,1620,907,1276,1006,824,457,308,616,1268,1340,912,852,1008,667,401,271,309,331,259,270,359,666,1412,1428,898,592,807,1256,1446,1278,1164,958,637,772,816,779,599,383,371,340,451,646,972,1015,731,808,1314,1126,553,369,490,866,1228,798,494,547,603,814,703,586,824,985,1220,989,586,771,1136,1160,912,666,673,731,820,1122,847,691,480,531,749,798,1122,1288,1052,808,666,700,635,862,1316,829,580,690,615,460,478,678,677,546,475,444,453,681,776,502,565,692,543,465,623,768,1068,1400,1284,1024,1128,1384,1458,1422,1438,1066,763,785,919,971,953,1044,944,756,747,752,780,518,482,882,1023,785,897,1017,941,811,749,668,677,724,1136,1524,1312,940,836,695,507,479,544,497,381,372,372,377,634,1096,843,404,349,713,850,618,656,779,642,514,1112,1532,1176,1056,1546,1722,1184,835,568,759,1410,1206,1230,1222,1126,1654,1114,475,486,1048,1216,845,488,422,409,459,869,1090,638,397,485,607,435,477,888,1156,1258,1334,1302,1104,1078,972,724,852,1068,677,579,902,846,620,954,1390,1572,1324,775,771,472,563,614,633,724,917,1212,1052,1017,958,921,1160,896,659,1050,1034,596,426,521,958,1358,1174,719,533,566,683,849,1144,1156,673,457,685,814,890,1136,930,846,1254,1776,2164,2304,2118,1910,1450,1306,1152,698,601,551,735,854,1009,1282,1310,896,484,500,894,803,742,618,764,1136,1096,936,1062,1744,2026,1380,1324,1124,1018,842,1154,1084,1030,1056,948,905,877,802,936,666,786,778,796,633,779,1212,1246,1015,936,1092,1166,1076,1034,1368,1306,983,912,556,726,1032,1454,1428,1158,1138,1204,1328,1788,1524,787,1004,833,969,798,584,576,694,458,448,750,1005,907,895,911,1021,1228,1516,1604,1324,847,816,658,869,1804,1354,728,455,596,609,445,299,302,475,534,967,908,442,586,812,854,750,834,692,894,1096,1104,1034,1160,937,503,625,1028,1356,1580,1096,1120,1796,1394,631,312,370,436,537,672,991,1182,796,1258,1438,1001,1116,1288,905,573,465,532,476,783,994,735,440,442,417,659,673,569,443,397,432,567,602,623,786,524,292,245,272,442,594,593,654,652,504,706,720,353,411,546,569,752,508,428,944],[2078,1288,571,482,744,1340,1232,799,726,796,1120,1220,1266,1122,1100,1184,825,500,460,378,459,460,591,644,587,653,587,481,406,397,435,357,386,278,222,262,258,249,238,224,218,225,229,227,237,265,312,377,368,360,408,864,1148,1758,1338,678,601,535,418,370,398,427,465,353,328,323,297,372,533,435,379,458,442,415,405,355,348,375,382,374,412,392,919,1486,1372,869,581,488,636,1130,979,862,1148,814,459,552,779,952,1214,1238,1010,611,325,369,401,368,428,710,499,368,355,375,389,786,1346,1478,1612,1586,1178,739,545,437,377,460,976,1344,1214,943,683,487,579,1082,1040,730,822,843,1248,1216,920,900,988,1180,1348,1448,1734,1560,801,568,554,965,1192,908,733,676,558,571,745,587,639,783,714,861,773,531,411,475,596,600,566,524,461,428,473,426,410,401,480,529,579,479,393,406,401,440,440,748,1172,896,827,812,688,398,340,466,406,296,356,360,305,318,386,425,525,558,423,351,337,355,349,331,303,265,225,222,245,222,218,207,197,197,215,215,211,212,205,191,178,187,231,274,295,318,349,366,433,374,304,335,318,328,319,279,284,277,289,248,233,312,364,321,290,287,274,331,451,574,319,309,230,248,298,360,699,790,959,1007,954,1162,1120,854,1040,1154,1164,959,695,951,1148,1340,1268,862,633,915,1326,1282,860,803,821,1040,1350,1256,786,608,706,1020,1306,1118,916,799,901,786,781,882,861,1662,2254,1976,1360,1100,1200,1021,1038,1056,1338,1178,1019,1104,972,683,550,548,955,1300,1208,1128,1124,836,750,959,1178,924,728,683,850,826,698,647,660,863,962,571,576,666,673,529,498,397,406,611,954,990,846,1108,1246,729,670,656,1108,1090,1140,1144,949,789,793,743,971,1272,1450,1362,1130,1080,679,984,1310,1206,940,933,992,901,600,349,449,647,722,736,990,1238,2128,2292,1330,1140,1232,1148,1026,788,592,479,374,421,474,437,572,603,565,475,572,720,973,1454,1646,1516,1126,853,1122,719,512,820,1174,838,624,841,957,1042,899,1002,1456,1606,1468,941,962,811,773,586,444,402,344,428,664,980,1114,825,724,433,557,975,1110,1176,1094,1168,1304,1248,1048,816,636,937,1042,843,911,1294,1276,1304,1354,1238,1276,1420,1380,1344,1354,1548,1124,1350,1634,1530,1262,910,661,702,805,500,1266,2046,1396,1280,1308,1216,1444,1508,1188,990,971,953,1274,1372,1021,1012,1256,775,550,581,628,545,708,733,869,1228,1238,854,835,861,567,393,301,352,441,551,756,763,1096,1500,1086,937,1156,1094,655,471,576,1280,1210,1294,1114,798,666,560,584,725,893,999,1216,1322,1602,1810,1736,1400,1194,900,829,1140,1282,1052,576,816,1268,1230,786,576,587,642,762,1005,1064,1244,1372,1364,1192,1168,1642,1444,1070,843,918,1024,1576,1688,1214,1144,990,802,641,655,929,1058,1106,1204,1330,1310,1208,1042,863,742,938,1098,1132,777,423,389,419,558,515,622,954,741,335,382,457,486,588,928,845,700,550,789,1436,1810,2142,2310,1992,1238,868,1116,820,1234,639,709,1020,835,1080,1266,1358,1074,680,919,1644,1788,1892,1830,1638,1146,995,1510,1638,1598,1566,1538,1530,1388,1090,836,985,853,756,1038,1666,1068,557,630,878,1164,814,563,625,718,600,1042,1468,1034,666,1108,1216,1164,1232,1166,1176,1344,1512,1086,824,1320,959,1162,1406,1312,1200,1178,799,771,1050,1026,879,1160,1382,1384,1126,1450,1564,1500,1612,1556,1510,1472,1482,1558,1526,1532,1336,1210,1170,990,1282,1212,1040,608,484,1003,1178,1023,857,834,813,708,671,1270,1572,1466,1426,1526,1426,1124,973,875,632,778,1194,1572,1882,2232,2462,3028,2962,3034,3206,2888,2398,1396,860,672,730,670,1160,1216,1070,1226,1434,1130,662,949,1188,1132,759,351,605,1110,1234,1334,1398,1288,690,1296,3340,2986,1638,1322,1080,1024,1152,973,1034,1376,1626,1358,1370,1382,1392,1572,1272,1086,1222,1202,1416,1660,1864,1616,1438,1438,1606,1606,1294,1116,956,1384,1378,639,353,535,805,1160,1028,940,1310,2062,2758,2956,2472,1624,1702,2654,2530,1770,948,734,623,583,535,375,422,593,545,659,1124,1368,1068,652,452,802,1406,1918,1748,1530,1924,1748,1516,1764,1758,1686,1516,1300,1698,1888,1512,1234,1102,1302,1306,1078,1172,1368,1500,1168,799,1106,1078,1384,1362,1350,1310,744,749,1562,1866,1880,1820,1100,714,926,995,646,893,1182,1548,1204,766,641,1246,1268,495,559,591,453,1148,1998,1092,1106,1492,1034,553,419,600,886,1184,1274,739,351,276,316,385,418,402,364,309,305,339,379,370,334,343,395,412,422,651,828,659,745,1002,861,760,1072,1202,1538,1636,1170,1158,1200,1222,689,658,1234,1312,1116,1142,1302,1928,2420,1594,1388,1570,1522,1490,1366,1218,1334,1416,1322,1390,1554,1398,998,830,1108,1438,1040,674,713,787,763,610,418,334,337,442,522,512,554,764,937,675,440,391,387,357,359,421,475,450,401,430,584,722,796,819,857,951,1132,1356,1180,896,684,608,600,677,1080,1338,1586,1676,1652,1794,1576,1598,1808,1820,1720,1110,1058,835,773,1306,926,732,791,791,825,873,1230,1660,1446,1244,1376,1074,1064,1250,1424,1600,1788,1988,1814,1624,1718,1720,1578,1718,1694,1528,1360,1258,1108,1296,1844,1206,796,927,936,686,482,601,487,344,224,215,242,287,348,343,365,525,729,589,349,337,330,341,361,362,350,332,345,336,324,326,324,341,341,350,411,413,417,361,350,354,331,307,331,336,320,344,359,336,387,383,330,326,316,385,427,422,456,434,411,505,670,673,659,762,835,818,866,1060,1060,1028,1208,1214,1198,1336,1696,2120,1608,1876,1364,1288,1156,1272,1336,1390,1450,1406,1178,1274,1374,1248,1076,1042,924,1060,1410,1268,1124,1160,1228,1480,1312,876,821,1256,1312,891,948,1070,1338,1478,1184,884,958,1012,1178,1260,1070,1426,1342,866,969,883,993,757,929,1322,873,291,309,282,309,393,597,792,1034,909,796,722,536,618,1356,1782,1566,1452,1256,675,471,367,380,539,1272,1682,885,393,623,980,915,700,487,494,559,414,437,655,528,380,370,539,919,814,417,521,829,1368,1310,974,629,773,1126,1386,1134,626,424,1009,1134,612,601,576,1040,996,779,920,1336,1754,2104,1484,601,635,983,955,921,590,426,554,793,1136,1374,1226,760,374,312,360,563,1244,1630,1120,696,807,878,742,426,315,247,483,932,1110,1013,926,830,677,441,419,374,300,348,379,676,816,490,428,413,444,614,1244,1554,1498,818,500,815,905,896,705,451,440,433,417,563,887,649,800,1274,1462,1046,508,309,657,1116,890,500,528,802,874,1146,918,882,1132,1286,1576,1504,941,766,1028,1212,1156,1024,798,529,852,927,772,782,517,393,444,424,817,956,509,457,432,306,522,763,1036,831,559,485,369,316,396,428,544,1023,1028,615,365,747,731,512,440,419,436,407,381,484,866,1242,1418,1492,1352,905,919,1264,1538,1030,510,693,1074,973,691,771,1094,960,677,555,507,631,767,844,715,779,1002,941,954,708,850,896,811,993,1242,1378,1602,1432,1198,1096,625,416,422,401,358,334,277,321,539,866,713,427,292,435,619,627,606,594,527,655,1190,1246,1298,1414,1444,1418,1042,803,670,668,1001,1084,1322,890,656,839,576,500,458,955,1368,925,584,623,886,623,1028,1294,1114,691,805,877,695,447,610,1210,1578,1316,998,1174,1332,982,621,1108,1084,691,636,715,592,517,741,1226,1218,1366,720,615,732,607,541,543,554,745,877,984,858,773,1038,1082,641,815,1308,1034,580,421,339,756,1084,871,561,492,466,563,810,927,722,484,403,448,780,1556,1436,614,608,988,1224,1194,1208,1540,1620,1274,1334,1306,844,545,672,1038,1116,1180,1262,1146,1042,757,452,534,644,911,734,759,1194,1272,1212,1448,2286,2056,1294,1224,1056,784,1038,1240,1092,1234,1316,1074,1090,1298,1568,1272,696,593,443,624,686,536,539,1118,1308,1048,926,1332,1292,1072,1354,1512,1512,1372,1001,708,697,920,1356,1302,1266,1224,964,1094,916,513,545,665,609,905,860,656,722,411,346,326,368,399,666,713,836,1422,1684,1400,1360,1072,583,403,951,1404,675,594,534,634,1044,810,494,469,522,1116,1866,1556,700,546,767,1078,1154,1240,1156,1448,1470,923,719,1068,1036,733,429,775,885,641,415,775,1442,1342,751,514,667,727,512,473,808,1224,698,943,1518,894,518,638,791,749,676,604,493,442,430,580,543,456,582,894,960,820,717,800,1070,1108,915,805,878,403,256,262,249,437,669,754,713,649,555,708,747,361,393,521,429,439,381,300,392],[1036,691,578,739,1052,1578,1296,933,996,1136,1368,1606,1698,1372,1030,1032,796,653,393,476,817,720,786,643,401,456,469,467,430,451,499,436,401,277,261,271,258,243,228,216,218,231,241,234,248,285,331,373,385,336,478,910,1210,1456,1180,741,806,792,550,429,400,417,396,403,390,295,252,291,343,351,373,371,363,386,407,381,378,376,414,426,375,477,1122,1726,1566,951,498,428,545,843,570,877,1226,816,496,592,705,828,1134,1418,1280,756,429,399,420,404,489,465,382,378,343,350,339,527,1010,1272,1608,1742,1482,1262,752,470,429,437,782,1278,1240,874,623,480,534,904,702,816,1134,1052,1130,1346,1420,1320,1080,1360,1760,1346,1428,1492,749,407,416,708,721,521,500,611,820,1196,1124,643,691,549,540,792,763,484,364,402,464,568,597,594,557,546,544,381,352,363,346,390,479,463,370,370,408,417,445,468,476,481,743,1070,1032,600,487,731,554,342,357,327,340,377,385,418,434,424,385,368,365,359,342,341,318,280,249,233,228,224,225,211,198,205,206,172,173,199,191,188,192,227,256,265,265,323,390,385,534,507,336,357,322,308,320,288,289,283,343,287,247,273,289,264,246,271,269,283,288,383,425,356,240,300,332,418,786,1017,880,1001,1174,1023,599,449,891,1048,1322,1196,1210,1312,1350,1954,1948,1228,651,541,682,756,866,998,1036,809,726,724,579,493,512,815,1144,1044,1200,1250,1350,1204,722,591,698,1124,1826,1872,1380,1114,765,925,1268,1324,1416,1084,883,1070,1056,852,697,495,609,807,1058,871,604,461,850,948,691,563,529,523,554,530,635,782,906,1034,976,561,445,547,703,523,429,425,388,575,802,990,1256,1312,1114,505,355,673,982,1034,1070,1312,1174,842,877,1098,1312,1378,1394,1166,1296,951,544,979,1240,1016,978,1012,780,656,767,606,380,481,641,647,505,967,1926,1556,1136,1652,1730,1222,890,672,633,486,467,456,413,591,539,462,552,497,589,928,1340,2476,2602,1810,1298,914,739,722,788,1152,1346,869,776,1172,1150,954,746,1088,1498,1678,1278,843,848,677,548,395,317,344,311,299,357,524,977,1210,966,626,762,1218,1378,1716,1740,1172,1152,995,644,691,775,1020,1001,893,976,1234,1376,1204,1010,913,1162,1278,1366,1550,1338,1240,1074,1350,1960,2150,1334,832,786,663,864,957,1570,2026,1556,1256,1188,1328,1604,1510,1120,919,802,897,1052,1040,742,927,1262,946,810,768,667,589,414,378,577,723,705,589,617,576,446,441,717,1058,1156,1420,1340,866,1194,1522,1176,1786,2518,1324,604,853,1009,965,1068,1290,1114,741,626,681,741,1270,1508,1130,1112,1194,1406,1656,1642,1246,1130,1108,1002,1206,1018,960,806,991,1336,1126,783,661,777,790,893,1180,1290,1808,2136,2142,1792,1536,1428,1420,1428,1326,1074,1158,1772,1580,1003,1224,890,648,647,834,1310,1302,1326,1174,1128,1286,1264,1478,1318,918,944,1116,985,659,429,402,440,527,517,666,952,662,326,290,340,452,685,1030,766,655,606,923,1618,1866,2026,2216,1912,1472,1102,1520,1190,1136,792,1144,1152,1060,912,846,928,890,637,735,1306,1610,1672,1708,1346,872,991,1248,1246,1382,1574,1556,1640,1592,1502,1360,1262,1006,959,1368,1268,764,608,630,847,933,784,1114,835,730,1028,1276,1210,771,777,1108,1024,1036,949,1184,1458,1426,1320,1048,1034,1432,1554,1826,1794,1342,931,623,652,877,1196,1288,1220,1290,1272,1334,1202,1496,1642,1554,1544,1598,1624,1566,1526,1492,1452,1472,1308,910,841,637,816,909,906,827,688,924,1348,1454,1394,1068,953,839,720,1202,1304,1009,655,695,846,697,574,587,512,566,752,1302,1498,1870,2078,2494,2938,3344,3120,3440,2818,2242,1518,1032,952,666,725,890,1150,1418,1244,651,489,805,1184,1150,655,386,802,1166,1120,1178,1246,1058,634,1704,3392,2632,1422,1384,970,967,849,969,1310,1610,1454,1304,1566,1416,1304,1516,1378,1356,1540,1334,1578,1706,1832,1446,1794,1814,1454,1232,1042,714,750,1338,1564,948,375,433,591,1006,1028,868,1018,1928,2788,3040,3072,2680,2654,2888,2800,2492,1542,861,694,624,523,468,479,508,614,1072,1416,1226,886,490,438,1070,1266,1094,1078,1266,1616,1516,1440,1714,1986,1630,1672,1858,1912,2176,1740,1388,1308,1324,1346,1454,1724,1572,1306,877,689,661,571,929,822,870,994,702,435,532,951,1768,1722,863,728,830,896,654,712,1007,1390,1326,948,771,1230,1015,495,468,431,497,819,962,624,979,1390,1104,626,330,598,1068,1220,1400,883,397,270,281,359,353,330,312,323,336,305,288,284,329,345,391,557,724,836,802,716,642,984,1216,890,984,1216,1496,1482,1290,1372,1294,1282,849,474,907,1274,1266,1412,1610,1718,2032,1666,1466,1406,1292,1196,1082,1148,1434,1322,1003,1300,1544,1544,1616,1516,1432,1454,872,432,478,481,390,332,335,332,329,334,326,471,579,727,653,528,403,412,425,363,367,394,417,433,462,444,680,794,808,785,819,881,940,1094,1238,1108,694,549,569,912,1354,1842,2096,1948,1764,1792,1484,1614,1994,1794,1802,1144,980,846,763,1374,1272,970,1030,1134,1296,1414,1552,1486,1166,1108,1410,1456,1610,1876,2166,2308,2138,1926,1776,1578,1526,1502,1234,1160,1028,981,873,711,617,874,1228,1072,908,825,687,477,318,516,803,675,445,302,251,227,240,287,345,414,408,353,336,329,337,354,374,366,372,348,334,338,334,324,314,340,389,369,364,354,398,389,367,328,311,301,303,352,365,320,303,290,325,282,285,290,278,285,297,325,384,418,376,401,457,467,589,657,729,796,944,1050,1056,1009,1072,1094,1024,1172,1214,1334,1278,1432,1262,1430,1440,1444,1494,1418,1448,1498,1310,1470,1262,1238,1052,924,927,991,1216,1238,1242,1282,1296,1504,1392,969,811,1152,1412,1172,1270,1088,1158,1302,1248,1294,1034,980,1534,1510,1142,988,698,1106,1688,1246,728,585,971,1394,1064,478,426,329,373,404,409,530,667,783,928,778,698,1380,1796,1594,1272,1534,1244,790,457,391,541,507,975,1110,552,462,691,902,885,698,612,554,327,280,369,664,704,811,993,904,1116,894,608,678,1372,1456,931,599,522,585,1016,1330,1100,704,402,605,692,526,809,630,913,863,731,655,979,1394,1182,946,712,1202,1534,1252,1220,624,376,487,708,918,1050,1342,1176,476,311,295,382,539,613,1003,1290,1340,944,390,222,261,238,286,593,1164,1230,1198,1005,1164,1202,732,315,318,350,350,484,593,640,545,391,487,553,951,1488,1080,409,337,479,998,1482,1138,444,427,502,736,1144,955,563,775,1186,1102,752,557,447,431,379,494,637,613,848,942,1248,1318,913,844,1168,1234,1072,1034,1080,1176,1106,1118,1320,1180,1180,1552,1068,483,460,419,333,348,607,1154,1074,616,381,299,336,554,495,588,637,689,778,653,429,385,433,819,1106,1232,760,705,1108,1050,877,728,480,461,423,406,484,1004,1420,1832,1754,1472,1226,1056,1224,1352,857,534,885,1338,1038,995,921,1066,919,725,646,507,743,960,756,676,683,882,861,946,675,940,1122,933,878,749,930,1526,1650,1502,1368,915,452,407,407,309,315,321,395,672,812,579,544,474,355,316,484,519,523,537,1116,1520,1504,1578,1636,1310,813,727,855,737,766,788,908,828,556,548,677,769,693,910,1152,1100,903,800,917,967,882,1040,1294,1300,993,1026,1062,913,886,681,932,1384,1462,1418,1238,1490,1016,530,714,926,998,937,638,526,515,624,1084,1288,1152,578,790,1198,881,740,731,499,486,538,691,531,662,587,793,938,1280,1328,885,631,625,706,1074,1158,1070,741,568,537,389,687,899,812,676,495,371,590,1068,1194,716,566,936,1300,1108,786,1118,1160,991,952,865,601,494,642,863,863,1122,1154,1232,1434,1290,819,614,798,1140,822,633,1074,1080,1374,1758,2240,1578,1390,1196,747,770,1186,1090,579,749,1208,1372,1240,1316,1472,1356,1034,755,629,855,1028,671,804,1382,1400,1254,1156,1246,1384,1368,1206,1302,1092,1162,1426,1418,1066,1176,1528,1196,949,777,1120,1096,804,536,526,910,1000,973,922,875,487,369,280,325,381,403,449,605,1342,2010,1670,1116,1306,1058,785,405,463,578,427,536,538,934,1676,1632,1082,667,463,853,1448,1718,838,649,919,1008,1260,1582,1390,1250,1210,937,874,980,1404,1306,800,963,1076,866,707,687,971,1232,986,894,1430,1318,606,525,719,755,785,1666,1530,642,451,686,847,817,712,772,592,398,332,325,428,366,466,749,908,919,784,705,1158,954,698,995,790,352,239,250,289,252,305,517,756,846,645,666,622,313,312,297,244,241,303,323,307],[417,436,525,717,984,1218,1138,1040,1178,1374,1692,2036,1788,1248,778,1122,1146,1056,884,1005,1634,1774,1242,777,450,461,587,609,449,443,486,441,450,338,277,278,258,251,240,224,225,231,229,241,263,307,367,363,382,372,551,841,963,1086,1050,812,719,765,635,413,351,347,386,396,345,284,229,263,280,306,357,374,340,368,411,422,416,426,448,426,376,472,766,871,964,714,401,413,634,699,670,1098,1356,1208,1040,1003,1066,1184,1286,1452,1362,738,459,409,433,410,457,529,484,422,364,361,413,495,1178,1920,1754,1538,1824,1516,842,495,396,558,1046,1390,1148,808,747,658,633,868,838,1198,1534,1184,1182,1482,1580,1434,1048,1116,1622,1282,1264,1108,587,401,360,322,297,310,365,559,921,998,687,772,777,565,508,897,852,449,377,385,440,497,533,729,723,798,829,582,408,380,400,449,522,440,367,362,386,392,465,484,525,524,723,1304,1584,979,477,462,434,363,337,322,330,382,436,536,521,435,403,415,441,444,364,361,328,293,248,226,221,225,219,212,205,215,216,174,170,220,197,198,210,264,273,271,271,319,384,396,513,562,375,395,347,285,290,278,259,333,391,292,209,245,327,305,264,244,218,228,206,280,449,432,418,382,467,675,802,719,525,599,800,651,409,419,512,441,723,1072,1434,1122,1150,1814,1768,967,1146,977,713,666,776,1021,1462,1386,733,485,541,592,659,585,685,818,974,880,1172,1007,593,560,593,1120,1722,1364,1244,1376,1222,1094,935,1062,936,599,703,857,612,615,859,817,614,530,521,575,474,717,977,686,502,500,451,455,619,1152,1296,875,1306,1440,889,445,321,426,658,588,309,301,332,515,878,1104,1106,888,694,529,543,567,509,700,1009,1066,758,598,952,1010,1180,1152,1316,1250,1058,832,888,1182,1176,1012,1052,1110,794,475,494,819,677,412,368,426,469,574,620,781,1390,1870,1678,1428,911,590,625,574,905,769,1390,1920,895,435,450,519,905,1396,993,1484,1240,1056,1260,1426,990,946,1088,1160,1186,905,960,1252,1230,951,796,1090,1484,1676,1142,753,713,501,411,390,466,555,561,417,517,679,980,1054,1015,1090,1560,1958,1808,1812,1434,1060,910,741,599,1064,1310,909,543,980,1294,1094,1114,839,655,704,1026,956,1612,1526,1020,832,962,1172,1692,1682,883,630,486,584,730,949,1194,1514,1478,1442,1368,1252,1372,1296,1448,1390,1060,1076,976,730,750,901,893,706,770,907,889,863,691,716,909,653,593,863,1126,846,469,386,785,1318,1482,1450,1162,813,979,1382,1010,1208,1490,1128,913,1222,1364,1324,1436,1372,1136,675,667,1036,1019,1164,1452,1306,1210,1312,1534,1526,1368,1310,1178,955,837,1384,883,764,821,1032,1042,893,816,549,457,572,910,1242,1208,1350,1574,1584,1354,1348,803,617,968,1368,1490,1422,1376,1152,1102,1222,1224,1168,898,955,1050,1070,1184,1094,1056,982,1092,1544,1048,928,910,903,859,505,387,385,417,529,505,579,843,398,379,419,349,406,843,1108,964,1046,866,1028,1682,1726,1392,1422,1322,1124,1100,1382,818,628,962,1252,905,661,555,727,820,715,645,786,957,1092,1290,1544,1192,953,1058,1003,988,986,990,1416,1616,1300,1302,1484,1558,1522,1440,1278,924,706,606,764,959,852,882,1194,1050,1498,1968,1396,719,445,641,681,818,976,862,1250,1298,1330,1378,1426,1466,1654,1774,1754,1658,1350,910,681,689,875,1166,1034,1330,1462,1078,1124,1250,1334,1524,1768,1734,1698,1570,1246,896,869,1154,1112,741,552,764,841,1170,1258,1120,1268,1330,1288,1274,896,1340,1230,1304,973,818,766,692,517,440,455,481,413,503,547,496,501,585,850,1272,1572,1832,2052,2412,2728,3264,3216,3110,3216,2118,1188,1028,725,526,664,1044,1306,876,414,513,658,824,797,452,449,979,1102,1082,1146,1246,1080,581,1076,1806,1542,1208,1254,1364,1132,1023,1250,1598,1462,1300,1514,1542,1312,1578,1696,1484,1450,1420,1484,1664,1692,1772,1744,1814,1598,1254,1016,822,809,1146,1322,1322,776,387,326,338,508,838,963,1122,2188,2924,3040,3146,3210,3024,2922,2728,2614,2284,1470,855,658,587,583,628,573,807,1278,1178,1132,1390,1082,786,1222,1196,891,1074,1396,1274,1140,1318,1318,1488,1360,1588,1784,1576,1204,1132,1256,1200,1328,1486,1574,1478,1200,1172,658,577,838,1066,1007,808,695,616,524,792,636,805,1532,1546,670,666,874,678,500,561,566,705,1250,1144,610,982,1188,614,430,403,475,893,1108,1058,1400,1344,995,710,777,1036,1258,1170,1306,1166,605,253,296,323,318,288,306,372,359,316,292,411,441,393,354,538,817,729,675,874,967,1094,1474,836,984,1424,1512,1518,1534,1554,1438,1402,1242,1104,1230,1480,1448,1482,1548,1482,1488,1514,1538,1452,1248,1176,1258,1262,1448,1266,1023,1468,1562,1436,1612,1612,1488,1280,769,440,386,329,313,301,324,324,332,300,286,343,570,794,650,430,410,509,425,361,404,405,422,418,428,432,580,670,698,700,744,875,931,1015,1032,812,621,525,651,1152,1566,1620,1600,1426,1444,1854,1282,1384,1860,1758,1888,1266,928,818,794,1316,1588,1652,1672,1510,1572,1470,1416,1494,1036,1204,1634,1732,1700,1660,1650,1418,1040,1006,1460,1484,1152,1092,1170,1308,1414,1248,700,517,672,603,577,733,930,877,689,425,328,338,451,520,430,332,276,257,232,245,323,409,385,347,333,337,345,357,356,334,334,321,318,338,342,350,335,331,352,329,333,332,332,354,367,339,325,328,318,349,336,317,304,286,300,297,273,268,292,309,318,328,378,446,410,372,372,417,464,490,502,608,850,1042,1052,975,1044,1050,857,909,1214,1378,1266,1362,1432,1510,1550,1494,1550,1592,2002,1740,1408,1262,1198,1388,1276,1008,986,1028,896,926,1028,1136,1094,1238,1268,1152,1066,1432,1544,1256,875,727,1048,1174,1124,1120,595,644,1522,1516,1378,1174,620,1100,1936,1736,994,869,855,731,605,444,437,460,528,574,447,660,1044,983,947,1034,1410,1690,1334,1300,1642,1488,1064,753,699,769,643,404,326,377,435,691,856,961,1062,828,729,661,587,441,385,582,670,888,1282,872,822,957,809,713,1188,957,557,407,388,406,810,1134,1202,1058,594,519,613,820,1274,809,441,616,684,512,851,1542,1638,1740,1048,1376,1528,1538,1434,832,578,734,1044,1132,847,1256,1428,756,382,326,339,347,464,1128,1512,971,421,321,222,210,216,230,406,757,1118,1484,1010,921,1376,1086,473,359,357,432,658,498,706,620,711,1064,758,482,949,919,565,444,695,1154,1262,798,485,401,897,1506,1902,1278,664,627,642,571,434,521,637,529,557,1052,1100,767,997,912,934,1322,1218,1070,1094,1021,1070,1214,1086,1017,1058,1228,1404,1284,1402,1420,907,484,535,586,401,633,1368,1650,1178,624,361,350,390,399,364,379,540,1108,1354,785,821,818,824,995,1066,788,434,718,1188,1156,1044,985,583,446,440,435,529,1084,1260,1358,1468,1510,1300,1007,990,897,594,507,854,1070,955,1382,1486,1354,1001,704,576,506,554,709,707,626,505,882,768,704,889,1522,1302,930,811,652,1080,1550,1522,1570,1510,1142,655,482,370,314,347,333,407,915,1094,569,589,571,631,685,620,410,440,745,1194,1550,1996,2010,1448,1034,488,592,1032,1136,857,722,998,715,606,854,1406,1638,946,1013,1098,1080,981,932,970,1180,1282,1268,1174,911,1114,1236,1038,797,916,678,1018,1202,1512,1708,1632,1484,852,378,357,532,1170,1156,894,599,573,732,845,1106,877,656,960,1350,1286,957,968,500,432,628,886,582,540,1648,1784,1448,1432,948,1122,1182,1264,1154,1158,1550,1432,1766,1276,642,515,1208,1584,1248,988,641,474,466,884,1440,898,799,1440,1630,1274,1200,1148,799,687,683,561,354,383,513,488,688,973,680,706,827,811,795,615,837,1170,862,811,1140,912,1448,1220,1074,1018,1194,980,654,774,1015,1032,964,1128,1140,1244,1118,1108,1074,1310,987,615,629,860,944,658,1058,1382,1314,1240,975,1376,1368,1362,1506,1432,1021,983,1146,1084,1046,1422,1512,1288,772,706,1162,1202,966,729,621,930,1324,1262,1284,1132,466,306,306,383,391,348,303,683,1278,1346,888,996,1674,1256,666,489,551,518,507,390,527,989,1402,1968,1786,952,434,497,738,915,554,574,738,838,1238,1316,1074,1312,1382,1210,1590,1152,1390,1176,911,940,733,664,1050,1430,1554,2024,1520,797,977,1068,681,744,810,592,1148,1676,1334,1164,695,733,797,1142,987,1290,916,393,277,284,325,334,315,374,481,501,464,380,412,406,360,618,478,281,255,269,255,247,278,338,577,620,568,656,539,328,315,321,275,331,364,313,343],[474,414,501,578,769,1362,1398,1023,1256,1570,1548,1886,1556,1096,1015,1140,947,1088,1342,1448,1974,2192,1442,866,546,570,662,614,420,470,518,465,428,336,335,308,279,258,246,243,242,231,223,244,254,288,347,360,386,421,550,760,877,678,531,588,608,520,373,367,421,398,379,371,312,276,247,266,321,347,357,386,361,372,401,412,399,412,421,425,376,380,429,394,510,472,448,472,1006,1482,1482,1452,1572,2116,2138,1888,1424,1326,1496,1708,1452,728,423,423,421,412,444,513,508,549,426,434,539,477,1036,1526,1552,1836,1846,1416,1032,639,516,1080,1356,1372,1350,1126,955,968,844,753,830,1206,1398,1376,1640,1704,1498,1032,1042,1490,1586,1412,1304,827,548,407,342,344,322,328,390,516,758,705,512,567,615,507,434,475,389,399,417,427,484,456,520,532,531,859,825,553,449,393,379,402,489,483,496,402,411,377,422,443,452,511,744,1272,1460,927,458,462,482,511,468,381,360,385,490,670,623,439,415,470,502,529,391,358,325,255,227,233,230,225,212,206,202,198,227,225,224,301,230,222,264,276,265,283,312,349,355,360,485,691,476,435,401,330,298,307,307,290,271,283,270,309,323,270,344,318,243,234,198,335,526,572,595,559,620,817,949,594,554,683,852,722,722,995,786,427,588,1234,1218,969,916,973,1038,831,1206,1352,988,694,841,1122,1458,1078,468,385,466,725,1015,879,822,957,1252,1138,872,741,614,673,759,1390,1754,1222,1130,1170,1382,1158,717,822,973,827,748,766,729,505,444,562,761,688,606,645,824,1000,747,498,529,554,428,456,765,1368,1534,1140,1288,1386,976,496,325,409,645,634,300,357,354,486,799,934,824,571,495,528,684,649,573,756,1078,1172,916,655,1120,1142,1230,945,702,489,471,696,1028,1076,1021,1170,1276,1188,819,676,507,670,714,461,287,296,386,458,477,645,1414,1798,1300,1576,1098,869,1050,1120,1418,979,929,1056,734,593,436,801,988,930,983,908,658,644,1046,1390,1248,1028,944,1164,1226,964,619,758,969,916,863,1140,1490,1650,1200,610,544,521,548,474,595,739,635,518,671,739,839,1104,1324,1300,1592,1562,1534,1210,1118,1310,1028,738,582,1020,1400,998,642,1086,1372,993,1070,998,641,836,1136,969,1086,1028,819,1044,1234,1007,1246,1094,613,494,426,670,918,820,861,1032,1094,1582,1734,1222,1238,1362,1858,1228,1300,1274,1106,902,1150,1432,1228,938,946,1021,880,908,715,1066,1228,1168,1326,1500,1652,1162,563,466,673,1042,1136,892,906,879,1568,1582,1280,1114,771,742,965,1009,780,930,1154,1106,1082,977,863,861,863,1300,1778,1730,1524,1448,1456,1380,1410,1458,1216,1188,1180,1630,872,588,544,540,920,1256,1104,860,634,824,1290,1492,1484,1244,909,772,1044,1162,781,818,973,999,1228,1432,1550,1208,817,961,1132,1066,1146,1100,818,993,1382,1456,1184,906,911,873,1006,1148,898,810,697,430,394,383,392,494,749,650,519,405,517,491,365,338,949,1050,722,947,954,1226,1742,1814,1588,1302,1182,1162,1252,908,521,510,997,1102,822,622,429,714,854,835,1038,949,743,749,901,1116,1056,917,1082,1146,1050,958,828,1003,1146,1330,1866,1668,1360,1246,1152,1298,1414,1204,827,827,886,737,696,914,1122,1340,1316,1096,697,520,762,825,922,953,921,1422,1512,1936,1584,1236,1188,1180,1230,1230,1378,1288,1190,786,635,1086,1198,944,1094,1412,1084,919,1218,1178,1152,1692,1674,1478,1270,683,440,448,598,417,273,453,703,865,1160,1312,1078,1082,1228,1048,1018,541,890,1238,1340,1160,935,891,926,558,440,461,470,507,540,564,558,498,529,634,1138,1500,1604,2022,2214,2440,3150,3078,3274,2400,1368,963,1012,881,675,580,655,749,650,597,572,477,521,438,379,583,901,945,1007,1034,1216,1252,825,560,613,1190,1262,1230,1530,1392,1136,1306,1446,1234,1316,1466,1466,1586,1810,1664,1700,1268,1190,1444,1660,1538,1492,1950,2036,1318,1076,937,966,1482,1344,1420,1416,992,596,369,344,382,774,1120,1196,1886,2862,2976,2924,3188,3156,2900,2754,2690,2768,2414,1516,744,665,673,582,642,1019,1164,1146,1030,1344,1500,1506,1268,964,1210,1272,1080,812,882,1188,1172,1112,1244,1404,1448,1428,1052,965,1186,1366,1418,1342,1406,1422,1882,1244,481,741,1172,1166,1404,1592,1438,1042,837,1148,1106,933,1676,1492,674,781,1132,847,429,474,446,703,1576,1456,750,1134,1182,536,305,268,335,818,1032,1078,1522,1218,904,648,926,1288,1324,1194,1144,1356,995,397,307,293,316,304,356,360,386,343,308,391,475,493,424,586,846,822,846,919,1052,968,1042,903,1328,1404,1021,1094,1356,1278,1200,1318,1392,1186,1074,1306,1256,1226,1310,1458,1510,1416,1410,1360,1132,1208,1484,1452,1476,1010,1066,1460,1298,1400,1704,1570,1426,1498,1296,727,515,482,469,396,412,455,466,383,342,336,381,446,512,491,415,411,360,380,521,597,599,532,526,525,500,565,616,612,596,748,817,770,732,734,788,710,756,1017,1310,1362,1248,1106,1350,1832,1188,1262,1666,1648,1792,1396,871,678,722,1000,1388,1654,1972,1436,1444,1450,1476,1224,717,814,939,929,949,1026,1180,1088,803,620,1178,1466,1620,1686,1620,1526,1460,1290,783,486,567,539,647,1340,1272,902,585,394,363,343,422,366,289,296,242,325,253,229,269,316,357,361,331,319,323,323,308,320,328,338,330,338,321,335,329,318,314,318,328,340,330,322,328,328,330,389,377,334,341,345,320,319,331,332,325,356,444,387,338,336,385,481,457,390,428,550,532,435,397,428,674,933,996,1020,1080,971,814,758,869,1058,1336,1432,1318,1422,1632,1386,1256,1322,1528,1688,1454,1072,1032,1312,1492,1130,974,1190,1064,930,1216,1432,1158,986,1080,1346,1354,1308,1346,1234,1005,1104,1156,964,1086,1168,712,630,1226,1534,1852,1496,670,692,1544,1904,1172,1158,1146,1150,871,429,475,692,929,962,587,512,660,788,1074,1384,1518,1302,1202,1288,1256,1026,1084,926,814,820,672,703,426,491,688,759,767,975,1272,1152,695,512,705,617,412,508,688,775,885,475,594,1042,986,596,421,623,688,560,539,383,672,921,949,1146,829,460,430,477,615,553,310,367,522,710,1060,1998,2142,2066,1284,1090,1348,1354,1008,699,607,807,1108,1486,921,1030,1338,1026,538,334,317,312,276,536,775,508,261,240,217,197,240,228,225,245,405,426,284,483,963,888,543,431,508,792,972,590,514,659,1274,1508,944,597,600,721,880,854,963,1554,1504,949,813,522,651,827,1024,1032,949,969,1158,1262,598,417,587,476,639,1290,1288,821,821,865,879,977,1274,1270,1212,1174,1152,1116,1130,984,846,705,568,554,705,737,721,684,993,1152,824,591,1162,1202,767,498,488,452,396,335,326,444,883,1282,1394,1216,1124,1194,988,835,833,701,402,552,918,940,941,787,476,441,463,390,642,1106,1224,1172,1202,1376,1334,1436,1346,929,613,477,584,603,642,777,1009,1040,749,571,436,383,438,666,600,556,489,639,541,502,758,987,913,1013,1084,1092,1244,1344,1314,1404,1328,918,758,533,339,297,294,311,314,505,635,519,498,539,958,1058,653,548,850,1050,886,1074,1854,1632,1001,1200,1164,1266,968,1526,1390,1328,1538,895,515,633,679,660,735,607,537,827,1116,824,653,1026,1076,1124,976,627,846,863,877,886,946,788,1196,1156,1250,1528,1610,1588,1228,659,458,626,1068,1156,1202,1001,840,890,835,871,930,1072,1078,1088,1058,654,623,628,704,1110,1026,667,650,4252,4516,1346,984,766,1062,1338,1506,1404,1418,1516,1688,3308,2514,764,926,1846,1656,1146,946,679,561,593,1060,1312,821,1106,1360,1422,1530,1388,1240,1406,1288,767,508,449,548,720,730,785,839,695,682,641,738,978,851,913,996,1126,1084,1076,813,1344,1268,1056,1114,1110,1144,996,887,1140,1134,1376,1200,1396,1528,1776,1796,1634,1334,845,654,469,528,753,744,1462,1468,1256,1122,864,985,936,896,1180,1294,1230,1298,1418,775,979,1184,1440,1604,1302,1136,1238,1222,1138,1064,1036,1122,1294,1090,807,672,414,297,350,453,532,500,521,756,625,650,916,1118,1530,1230,641,565,561,386,472,449,478,814,1270,1976,2010,1154,564,409,561,593,514,665,1094,1360,1120,772,760,1322,1492,1228,1550,1262,1018,747,774,745,569,428,686,1184,1216,1686,1428,611,509,680,736,1092,1246,713,708,882,902,949,803,792,724,1154,1220,1246,808,389,282,335,351,333,314,321,348,354,315,366,386,370,378,383,296,220,237,332,321,274,273,286,375,423,544,677,612,387,330,359,269,315,517,292,310],[478,472,642,860,1216,1858,1814,1302,1422,1694,1020,720,924,948,973,1021,956,863,1064,1442,1070,1278,1126,783,507,428,372,412,386,457,558,554,402,387,554,416,344,335,332,315,315,309,301,290,316,448,471,397,425,477,635,626,712,530,413,464,561,496,417,417,450,512,496,464,367,298,283,292,338,367,355,378,400,420,452,452,477,513,507,475,427,418,411,380,398,448,486,538,1060,1676,1766,1620,1442,1686,1958,1652,1478,1524,1684,1638,1290,747,429,516,650,695,692,733,585,612,566,574,584,488,719,1412,1932,1432,945,1112,1150,690,1094,1530,1182,879,963,1036,768,595,590,636,1128,1606,1748,1526,1396,1520,1484,1376,1396,1390,1216,1376,1272,715,498,379,397,367,388,465,481,438,501,596,592,626,684,608,493,529,515,511,518,542,458,492,514,549,667,630,479,387,417,429,426,444,630,631,480,397,445,503,498,543,979,1418,1186,1018,954,705,484,533,644,655,480,360,452,454,464,658,609,441,403,497,518,507,412,346,309,242,233,259,246,239,230,208,161,160,212,260,234,208,206,283,388,453,363,325,364,385,411,374,461,686,543,439,459,428,376,312,283,272,274,285,248,243,260,265,359,333,235,184,220,360,499,435,547,808,968,822,683,667,827,1086,835,703,1232,1476,1192,639,766,1496,1556,846,723,615,896,877,631,842,1076,1192,1150,1102,1276,604,394,559,509,820,1096,949,932,1122,1456,1442,1314,1354,1294,1536,1432,1378,1212,919,1204,1438,1358,964,686,851,1170,1218,925,672,565,385,339,334,455,579,734,897,1030,683,850,904,739,749,927,871,749,696,623,502,605,641,454,352,311,349,574,672,510,695,934,1038,664,506,602,666,722,723,534,712,935,712,984,1256,913,889,1312,1272,1292,1168,756,503,512,579,686,628,887,1274,1250,1270,984,844,787,558,484,437,308,365,566,620,550,451,928,1098,719,1090,1090,827,667,971,1182,690,515,668,659,808,675,1114,1001,953,1296,1108,1030,766,573,1300,1556,943,1128,1378,1380,1042,607,742,969,861,843,1146,1576,1686,1234,666,586,724,930,854,768,613,499,578,1002,1392,1372,1336,1216,862,1416,1558,1742,901,1042,1438,1128,921,680,592,793,986,946,662,743,946,1232,1378,1106,1180,1280,1276,1226,797,771,1312,1126,702,1050,991,600,475,454,667,1142,1128,832,672,876,1494,1456,1072,1386,1350,1074,1122,1594,1450,1342,1005,1162,1484,1200,913,893,946,774,730,477,739,1070,1250,1322,1372,1206,758,503,585,774,1028,1336,1396,1256,1222,1414,1194,1340,1186,861,658,657,755,894,960,1130,1476,1436,1172,821,544,632,1284,1986,1900,1562,1328,1218,1344,1246,1350,1302,1274,1358,1266,644,495,388,490,1254,1570,1236,1162,1048,1242,1214,1226,1288,1162,1124,1172,1360,1284,1000,946,995,1426,894,672,940,1282,1234,1286,1128,1110,1394,1286,1092,918,768,1316,1482,1162,977,1015,1274,1296,1168,1250,927,440,400,384,365,421,1082,737,348,395,425,347,317,482,1050,984,776,938,881,1344,1826,1880,1788,1636,1366,1278,1248,1078,861,814,1160,882,871,689,727,1084,978,718,843,839,711,800,777,798,1022,872,841,893,888,1070,949,695,647,917,1278,1428,1364,995,610,738,1048,1282,1272,1290,1158,953,722,549,975,1334,1056,1048,855,1028,1636,1438,787,703,1005,1578,1926,2078,1426,1170,928,653,636,1021,1506,1150,1238,937,883,908,846,772,896,1015,762,618,995,1390,1230,1556,1470,808,703,687,670,533,465,399,352,348,412,637,1009,1024,856,814,1056,844,764,604,948,1372,1340,1264,1001,977,1013,783,486,487,506,509,524,533,567,563,487,605,1104,1260,1188,1510,1698,2002,2262,2780,2168,1226,996,1130,1174,1096,929,693,562,630,618,614,475,442,440,315,403,774,1021,1116,1080,710,829,1452,1692,1156,1434,2114,1794,1356,1124,1150,1090,1048,1080,1404,1606,1470,1650,1836,1756,1876,1698,1202,1256,1426,1644,1634,1530,1550,1604,1298,1009,929,1250,1478,1194,1310,1416,1350,1042,574,343,404,754,1072,1294,1360,2272,2778,2924,2988,3186,3104,2822,2780,2812,2754,2410,1350,800,670,544,930,1114,1246,1188,912,958,1012,771,792,947,1196,1190,1094,980,1032,1134,1172,1206,1278,1056,1060,1584,1598,1362,1460,1438,1422,1378,1172,1236,1238,715,410,689,950,969,1434,1552,1566,1642,1490,999,1054,1382,1760,1352,879,949,967,603,409,647,610,725,1548,1568,873,1030,826,368,299,278,318,382,440,906,1548,1136,843,753,906,945,1116,1354,1350,1190,1068,782,373,341,367,343,362,331,331,312,282,372,520,530,625,799,794,901,944,836,775,940,1100,1396,1562,1094,880,1274,1366,1242,1166,1362,1194,1184,1354,1238,1146,1100,1052,1310,1410,1138,1328,1378,1336,1260,1282,1242,1150,669,1038,1272,1072,1396,1658,1708,1518,1560,1506,983,626,603,597,479,448,442,420,407,400,400,467,814,1086,1106,1038,854,538,425,466,501,548,559,647,713,604,519,564,573,565,609,696,662,728,823,795,734,742,914,1250,1300,1302,1244,1538,1622,1232,1234,1462,1544,1720,1498,792,615,735,979,1316,1396,1900,1580,1400,1454,1428,930,581,645,836,1318,1484,1474,1596,1606,1368,998,1214,1430,1674,1676,1406,1272,1216,1094,688,418,494,517,664,1328,1132,886,739,702,529,367,482,350,383,321,292,255,203,215,359,353,309,303,303,300,329,318,294,310,314,334,338,343,328,314,312,303,296,296,328,354,348,343,352,322,325,365,437,406,352,324,304,325,353,360,345,401,476,390,408,417,393,443,428,414,502,572,545,484,414,354,458,776,904,1001,1042,1108,969,738,650,753,946,1050,1015,1064,1270,1252,1142,1326,1402,1434,1360,1278,1194,1378,1608,1246,959,1046,1164,800,1128,1366,1026,969,1222,1344,1238,1130,1288,1352,1224,1364,1236,835,1062,1298,1011,1068,1578,1852,1676,1024,695,620,792,962,957,1066,1328,1340,932,477,856,1402,1214,951,890,874,783,1190,1466,1558,1296,1090,1482,1194,625,792,1174,1050,986,1142,1080,1328,839,684,1042,1086,1015,1010,1074,1216,1300,725,654,750,540,595,952,965,753,424,386,582,638,508,509,616,673,563,566,846,969,864,630,888,962,647,520,473,547,448,336,395,644,818,1368,1626,1534,1776,1368,904,824,727,616,669,857,840,824,1023,915,957,1226,1288,761,317,322,304,294,297,278,276,217,240,236,230,227,200,212,242,224,222,261,388,788,1116,1100,1030,831,1004,1050,790,522,566,1076,1296,977,803,879,612,629,742,811,1272,1208,709,783,874,549,481,532,632,1016,1352,1376,1628,1056,523,514,412,756,1480,1488,989,695,937,1052,1001,1116,995,1078,1344,1280,1064,980,1005,753,637,654,611,575,561,684,796,1220,1516,1398,752,525,553,500,590,633,391,329,358,476,914,1472,1560,1428,1252,1162,1096,1002,1114,1224,1204,726,930,1146,1192,930,587,408,362,417,410,710,1142,1260,1290,1262,1306,1348,1622,1530,1432,1282,1364,1274,951,600,455,684,794,558,465,422,367,510,700,481,404,446,438,498,708,770,822,1038,1196,1288,1256,1218,1064,1108,1172,760,687,880,821,756,550,739,616,404,507,544,477,415,500,882,985,812,916,1344,1392,744,746,1508,1246,1086,1054,1200,1144,1152,1748,1560,1248,1210,775,408,430,438,468,787,667,457,495,737,630,502,857,896,729,566,468,387,546,547,635,636,766,1208,1698,2160,1382,1374,1378,1368,1304,857,758,1038,1732,1836,1534,1294,1156,1100,1066,1324,1208,1128,1086,1288,1148,724,985,1204,1134,745,732,673,1288,874,487,695,742,871,1298,1354,1316,1436,1332,1490,2460,2070,824,1194,1544,982,1042,1088,789,793,966,1001,1006,1004,1264,1614,1936,1998,1328,933,1440,1934,1370,687,598,977,1062,872,904,1002,990,1160,990,1220,1310,1040,695,883,1104,1104,1076,896,1004,1190,1530,1750,1736,1404,935,774,1116,1054,835,922,1274,1512,1868,2366,2254,1406,577,511,536,573,961,1028,1090,1022,1090,843,879,1186,1072,1130,974,1388,1506,1538,1540,1438,1666,1576,1462,1516,1578,1526,1400,1246,933,1182,1280,930,740,813,1154,1608,1434,816,272,359,406,371,554,799,510,921,1158,839,660,727,756,899,805,354,449,563,405,741,1910,2040,1440,1050,818,629,905,1228,1198,1154,1064,738,519,536,581,1024,1316,1196,1001,875,910,976,941,949,1192,1082,682,624,669,1054,788,624,724,795,808,1015,1094,828,1090,858,1004,885,631,704,814,952,1138,876,523,418,315,302,309,256,293,306,309,381,333,355,415,415,356,292,255,227,243,263,245,252,293,332,369,346,389,636,703,320,258,317,355,940,1042,470,309],[516,564,951,1542,1418,1660,1676,1434,1570,1526,1021,1174,1262,832,1134,1716,1596,1068,997,1542,1024,1446,1460,785,455,372,349,376,380,368,422,493,504,620,633,551,515,462,399,388,447,465,443,461,589,720,642,601,548,558,738,561,541,438,371,460,502,468,463,381,521,911,859,1144,694,321,298,346,373,388,384,406,430,442,444,484,630,667,725,605,498,489,442,421,403,385,369,591,1384,1612,1416,1360,1086,706,522,775,1284,1644,1516,1168,1148,1010,981,1148,1372,1194,1290,1128,692,822,872,869,991,1007,869,1202,1610,886,840,1378,1514,781,979,917,982,1072,879,733,659,639,984,923,1288,1266,1158,788,546,1018,1532,1830,1776,1194,961,1504,1706,1124,554,410,386,414,486,484,516,512,414,486,641,710,1046,1284,825,571,491,538,516,504,453,499,454,444,502,390,373,356,308,373,469,449,584,599,400,325,458,599,564,653,1078,1240,813,785,663,503,562,684,705,687,594,535,667,566,418,571,615,482,361,482,529,475,392,310,250,207,208,234,250,256,245,227,241,250,222,246,206,177,216,222,284,407,490,662,568,482,450,402,517,619,494,419,513,601,484,340,359,367,340,299,268,223,188,258,310,304,268,235,266,425,644,578,457,624,760,965,772,719,929,849,645,847,1522,2056,1732,905,1052,1842,1768,808,554,725,1250,1009,658,800,1144,1248,1236,938,670,561,748,720,611,750,796,912,1214,1576,1620,1176,1638,1992,1790,2032,1786,1490,942,693,1246,1594,1272,995,733,629,671,1076,1019,904,656,432,364,393,474,738,752,732,866,750,1542,1378,907,1028,1628,1522,733,318,349,362,470,476,397,352,326,405,674,802,794,822,854,732,555,716,896,638,739,924,563,876,1058,935,906,637,370,700,1124,1188,1276,1178,1017,633,558,720,677,624,855,1094,1160,1388,942,705,751,477,413,396,403,771,1010,933,783,583,797,834,489,608,818,597,379,498,660,539,739,1146,907,954,751,762,748,1022,973,677,761,550,571,1188,1360,852,1004,1242,1354,1023,568,794,1214,1078,955,1180,1598,1702,1130,735,825,1130,1128,882,636,572,557,570,1018,1858,1568,869,802,858,1236,1892,2246,1416,1042,1062,1066,1314,1072,681,555,1046,1736,1356,1090,1142,1260,1456,1300,1090,1234,1468,1176,534,568,843,780,725,1156,1224,830,493,533,1162,1702,1620,1134,828,843,1110,995,1038,1484,1188,950,1570,1718,1722,1506,740,739,1024,689,651,707,744,585,416,385,448,475,495,597,584,573,650,548,689,966,1310,1504,1592,1608,1700,1276,1003,926,755,776,777,566,535,623,800,790,931,821,984,891,625,870,1186,1666,1604,1448,1144,1005,1268,1172,1082,1272,1396,1300,839,527,663,436,613,1444,1586,1454,1236,1364,1162,1120,1512,1252,821,915,1152,1318,886,802,1142,1108,1234,1074,785,593,618,984,1484,1478,1220,1394,1724,1316,898,719,1180,1288,959,1056,1280,1126,1048,1124,1098,825,459,410,377,346,605,1282,753,311,447,427,379,408,513,935,539,581,670,875,1582,1750,1816,1862,1816,1684,1486,1382,1066,984,1182,1248,949,844,776,949,1322,1142,846,800,725,813,979,846,818,1054,1054,965,980,890,1116,1144,925,959,822,650,862,1110,1094,767,1004,805,552,807,1088,1248,1234,1016,538,538,917,1007,1028,908,957,997,1384,1068,1118,1250,1124,1716,1870,1404,1204,1088,932,756,1666,1544,1332,1280,1190,1126,1040,910,968,996,786,829,916,1232,1670,1550,1228,1126,792,532,749,879,654,532,577,447,646,1136,849,863,876,938,763,1042,978,880,1062,1100,1278,1496,1260,991,1080,839,870,612,481,469,446,462,502,550,561,637,1046,1190,800,699,1148,1512,2110,2104,1544,998,1096,1306,1166,1280,1268,1100,950,869,761,593,478,393,390,336,314,563,942,1050,1050,852,438,411,1074,1716,1500,1720,2590,3082,2498,1528,1126,1086,1124,1304,1500,1700,1574,1802,1738,1784,1782,1318,1148,1094,1208,1442,1538,1726,1614,1950,1722,1098,895,885,1056,1094,1214,1408,1178,1108,993,487,362,412,574,1198,1368,1434,2104,2856,2924,2980,3064,3184,2954,2812,2844,2676,1720,912,755,1052,1138,1116,1320,1296,1078,1005,838,540,639,730,618,576,686,842,959,1066,1204,1136,866,738,1086,1486,1518,1400,1244,1152,1190,1124,882,875,1086,1044,633,648,981,927,1472,1506,1434,1122,933,661,596,966,1292,924,620,517,531,357,323,436,365,651,1502,1654,1128,698,379,383,379,281,336,430,369,683,1076,813,741,1001,1110,1088,955,987,1482,1216,752,1080,480,268,339,345,372,365,314,321,352,438,439,546,849,773,831,987,1042,984,1023,1352,1526,1470,1290,916,1134,1538,1464,1156,984,996,1013,1084,1232,1208,1156,1274,1170,1042,844,893,1200,1092,1328,1230,1164,1318,1370,1080,1174,921,775,1306,1516,1564,1422,1510,1632,1046,544,407,445,415,363,374,397,387,363,378,473,850,1140,1356,1390,1260,872,610,521,472,455,493,525,556,553,573,569,580,608,604,615,600,647,708,719,675,679,754,1178,1310,1306,1224,1168,1108,1154,1172,1114,1332,1498,1586,1356,913,702,1013,1392,1362,1266,1554,1852,1772,1626,1386,975,861,1048,1628,1704,1682,1754,1568,1270,1086,1358,1480,1344,1294,1146,742,590,477,397,484,613,477,493,646,813,721,829,1330,982,503,471,306,328,310,285,243,260,265,399,567,597,354,269,303,317,331,307,288,298,306,316,338,342,335,320,307,293,278,316,324,340,348,330,335,352,340,346,326,312,308,322,359,388,386,369,393,418,429,487,458,408,393,382,396,455,486,492,510,434,398,341,547,795,909,932,1074,1044,727,622,811,880,1060,1098,1324,1706,1400,1086,991,1080,1274,1426,1298,1218,1252,1466,1370,1054,1036,1130,963,1038,880,618,782,985,1088,1064,1180,1384,1396,1364,1322,1128,1018,1052,1244,1258,1228,1330,1450,1338,896,1056,1158,722,737,1001,841,1146,1278,766,525,1176,1574,1042,987,1384,1430,1272,1222,1508,1260,858,1290,1374,741,825,1298,1454,1192,1042,1378,1338,1084,885,542,819,1328,1154,832,1064,1468,1960,1170,630,819,728,682,1050,1028,814,586,387,363,384,460,535,421,565,580,1006,1444,1050,1102,1228,1076,946,711,675,982,1078,585,339,437,581,619,1134,1330,1486,1504,963,634,534,657,543,719,832,589,642,790,998,1002,1172,1338,1052,401,325,290,282,265,249,236,274,353,306,253,256,226,237,252,258,253,272,301,491,1112,1816,1990,1214,951,1466,1562,961,617,560,720,1140,1220,1584,841,433,574,890,789,626,850,1232,1136,714,537,447,593,905,1268,1390,1940,1548,740,552,450,511,775,828,894,1036,1024,960,758,509,394,1034,1788,1828,1134,893,1102,789,709,743,730,684,576,477,1094,1338,1230,1048,591,481,663,916,1218,1288,775,374,409,811,844,977,1252,1128,725,854,1106,1156,1498,991,697,724,1148,1440,1472,916,578,565,523,686,752,858,1054,1042,1214,1368,1272,1394,1598,1700,1578,1366,1538,1648,1196,777,549,730,664,808,677,492,441,483,500,460,469,514,528,623,1110,1126,1080,1380,1404,1272,1410,1454,960,902,957,715,931,1148,1248,1266,1404,1870,1346,604,582,529,388,430,550,686,818,801,748,943,1244,1142,933,1028,1218,1302,862,1034,1278,1042,1244,1100,706,756,550,379,391,479,511,753,822,651,504,675,848,996,1064,1272,874,484,365,309,544,728,558,513,937,1310,2932,4400,2314,1294,1036,797,821,1144,1126,1378,1776,1576,1256,1194,1166,1120,888,883,771,881,1032,1130,1106,822,855,1062,894,827,1118,1050,1520,755,499,661,778,738,1030,1262,1016,904,1148,956,917,1100,798,1330,1158,758,1066,1250,1070,902,819,1032,1332,1158,1072,1032,1074,1570,1062,1376,1398,1144,1132,866,1128,1246,979,1078,1548,1770,1318,1316,1114,1060,1152,1132,839,1148,1180,1050,1192,1242,1332,1686,1998,2188,1906,1210,753,932,1122,1218,1023,673,696,946,1534,2254,1758,1096,591,791,1020,738,847,991,760,610,677,670,872,961,1074,1298,869,1274,1760,1444,1084,1410,1550,1200,791,835,1260,1448,1526,1506,1310,1388,982,511,509,583,1564,2296,2076,1544,514,346,325,415,486,458,399,712,1082,1146,777,543,688,765,771,661,607,784,750,919,1836,1562,1082,1240,1182,1004,1082,1374,1460,1034,535,369,451,433,414,639,781,756,583,478,680,822,1130,1366,1410,1438,1204,718,445,622,683,691,662,944,1040,897,747,1396,1600,1168,1288,957,558,543,566,858,1112,560,552,621,467,345,312,283,272,275,325,437,688,777,429,313,265,229,241,240,260,255,266,256,286,336,356,324,338,654,610,265,219,251,255,621,771,531,353],[556,567,695,1086,1390,1728,1240,994,1252,1310,1550,2056,1788,1008,1266,1476,1532,1396,1088,1626,1652,1670,1312,670,348,318,333,372,422,429,455,467,525,681,753,697,659,576,450,443,492,517,494,474,581,614,540,538,459,498,771,1058,1011,738,564,518,511,586,882,865,1015,1188,1214,1446,740,296,280,329,344,440,564,565,598,639,825,724,772,772,681,513,494,496,469,420,434,445,381,744,1654,1560,1464,1242,860,637,650,681,670,657,572,630,868,1504,1854,1982,1926,1670,1342,577,522,844,683,644,890,1258,1154,1078,1526,1610,1556,1368,1026,578,594,984,1190,1096,911,825,1294,1416,1606,971,695,648,669,564,480,818,1472,1838,1882,1378,1258,1412,1392,1026,622,535,551,716,677,481,618,670,455,540,800,893,1228,1476,1216,741,504,496,497,472,453,492,498,432,446,401,391,349,311,303,378,367,410,442,385,419,563,709,586,503,644,698,702,692,440,356,519,659,694,838,848,606,613,574,548,563,570,493,385,446,495,448,342,272,230,230,225,220,227,247,254,245,258,216,199,186,175,200,204,199,217,259,362,443,501,491,414,446,644,714,648,708,717,704,415,401,519,590,425,340,294,287,274,282,284,234,179,233,348,655,898,803,587,634,650,659,548,783,1019,1092,835,693,995,1288,967,630,901,1504,1084,511,504,1100,1376,1000,850,973,1216,1522,1124,528,367,535,734,728,761,789,1012,1086,1428,1754,1600,1152,1192,1348,1656,1980,1672,1386,1036,547,563,653,859,1372,1470,1246,1062,1024,1166,1416,1266,787,409,442,816,1096,807,735,669,486,1026,1090,880,861,1192,1394,941,549,537,626,698,745,662,464,417,360,667,773,494,244,296,416,509,682,1064,456,552,893,656,777,916,866,645,498,380,470,856,1244,1372,1128,1080,891,856,930,774,718,756,858,1450,1546,835,623,485,495,399,616,943,1282,1260,850,429,277,586,776,520,437,435,429,372,465,701,930,1202,1284,1132,859,644,611,729,659,528,518,452,359,468,580,730,673,681,837,854,702,574,873,1038,861,846,1264,1526,1644,1122,755,872,1120,1076,868,639,507,458,513,713,1650,1360,727,969,1274,1420,1814,2002,1490,880,1003,982,1238,1302,998,965,1136,1486,1768,1674,1398,999,948,1182,1368,1344,1238,722,742,587,504,822,1396,1748,1424,1090,630,529,1178,1816,1600,786,885,1028,858,778,850,1019,1204,1366,1492,1962,2106,1264,821,835,1054,799,734,587,500,507,435,341,368,458,469,472,358,501,785,756,1104,1620,1692,1514,1426,1562,1506,959,872,859,1652,2032,1356,624,417,484,563,421,422,677,888,766,766,1016,1268,1582,1664,1620,1242,1050,1104,1078,1072,1230,1344,1170,813,686,730,453,586,1184,1376,1484,1340,1412,1024,743,1120,1100,657,580,785,1200,695,536,841,866,973,1418,1416,877,712,673,1160,1482,1144,1154,1458,1036,1028,948,641,540,712,1224,1162,811,1030,1288,960,857,698,535,477,383,846,1114,566,293,338,361,365,417,586,540,375,396,571,1268,1702,1416,1400,1812,1926,1366,1124,1180,1316,1396,1538,1344,1368,1358,1028,1064,987,750,910,910,925,1036,855,739,777,933,1244,1302,1262,986,750,663,927,1296,1136,750,910,1394,1064,1023,1023,732,624,570,533,455,632,973,960,801,1060,1092,1001,1088,1052,1122,1506,1166,1186,1444,1106,1384,1266,1366,1104,842,855,1136,1930,1578,1284,1340,1188,1224,1244,1098,1054,1294,1224,1324,1510,1610,1706,1264,845,1008,960,705,716,794,750,577,971,790,917,1284,1064,726,653,818,1060,1394,1268,968,945,1030,1172,1472,991,744,704,625,720,712,573,489,458,416,436,537,631,903,982,984,1366,1038,882,1248,1740,1672,1218,1038,1388,1208,915,1130,1296,1262,1534,1236,666,488,464,367,331,288,396,771,1038,1100,751,447,352,340,1120,1728,2180,2610,2290,2198,2780,2056,1524,1188,1108,1714,1564,1372,1582,1704,1742,1934,1626,1378,1456,1332,1340,1332,1316,1338,1438,1530,1174,1048,1120,607,424,547,977,1130,939,771,1002,859,515,386,532,884,1408,1288,1360,2272,2828,2830,2968,3108,3064,2906,2802,2024,1136,1036,1338,1448,1298,1348,1354,1504,1184,1090,886,717,627,510,328,281,471,763,901,1036,1154,1268,1114,782,1014,1298,1580,1526,1152,1190,1026,620,656,838,1050,1050,987,756,886,642,1350,1682,1262,850,775,634,540,600,1154,773,398,277,343,489,484,394,382,661,1022,1074,1112,902,398,427,457,343,359,461,513,598,569,517,685,802,866,1006,773,628,1290,1510,903,952,558,316,314,314,355,329,316,346,436,499,456,716,889,708,683,849,1216,1388,1266,1428,1758,1450,1013,910,1218,1142,1036,838,939,1164,1250,1048,1018,1002,991,1218,1406,993,964,1204,964,742,644,651,865,1050,827,672,750,488,477,705,1007,987,1176,1572,1660,1374,1172,1058,924,849,893,841,650,584,622,675,609,739,863,938,982,973,885,819,623,527,449,412,398,442,472,452,426,474,484,469,472,501,550,566,694,705,688,585,1176,1410,1204,1038,1010,1018,1130,1122,941,1042,1144,1318,1280,849,552,648,1020,1062,1212,1880,2010,1918,2128,2030,1062,753,965,1288,1436,1360,1148,885,768,904,1252,1554,1472,1422,1390,636,466,492,651,1122,1256,977,677,720,800,708,995,1456,1017,661,649,492,397,377,385,402,358,291,298,524,922,691,393,256,257,299,278,263,289,300,306,337,343,318,313,317,296,299,294,312,340,345,354,359,357,338,308,296,312,296,282,308,342,360,382,442,404,409,452,483,479,410,444,476,406,451,494,442,441,497,448,422,583,768,864,937,987,898,638,958,1210,1078,1001,1224,1404,1330,1214,1238,1142,1222,1338,1302,1318,1406,1580,1534,1158,957,1056,1088,985,728,411,499,858,1354,1320,1058,1056,1218,1328,1186,1188,1190,1188,1306,1316,1094,1084,1296,1288,1216,1118,1226,711,444,486,547,1074,1346,1112,1106,1318,1019,992,1624,1450,1404,1344,1084,1224,1260,842,617,571,728,1013,1300,1308,996,978,1212,1332,1166,728,383,504,916,1056,1078,1610,1404,1324,1160,807,924,868,625,631,857,1076,926,606,410,292,248,335,521,680,477,694,738,403,588,884,757,694,843,908,1258,1356,941,541,491,591,681,910,1030,1108,1017,735,627,451,918,630,477,425,524,707,1042,994,556,649,1162,1334,605,300,292,278,316,299,259,338,406,384,405,475,317,328,318,281,298,357,433,702,832,896,1164,1015,813,1268,1102,1134,1230,554,670,1088,1394,1226,688,630,597,703,968,1186,1504,1386,949,601,543,647,1052,1234,1294,1836,2012,1170,589,538,700,717,688,850,1214,1248,939,655,418,316,459,971,1720,1758,917,507,568,551,645,739,760,628,540,471,450,339,485,651,760,876,1332,1036,798,985,837,523,661,1028,844,634,819,1086,1002,1168,1334,1582,2096,1562,1020,765,1019,984,839,750,851,908,482,805,1204,1192,1230,1576,1654,1448,1400,1450,1368,1262,1188,1300,1382,1276,1166,986,549,727,998,1210,890,513,497,462,382,443,513,475,555,824,1178,961,1012,1238,1358,1480,1758,1578,976,1013,899,903,1092,1226,1318,1456,1930,2112,1556,875,665,594,448,418,595,689,564,418,411,647,875,1352,1196,880,1144,1252,733,779,1268,1296,893,726,529,534,455,405,403,520,604,747,998,944,998,992,998,1250,1306,1492,912,627,484,362,1062,1582,1116,599,819,1134,2400,2828,1816,1482,1354,681,331,521,913,1342,1384,1236,1438,1482,1336,1010,830,984,861,757,860,1018,1110,866,654,858,827,1009,1166,854,1278,973,564,395,844,1018,1168,1178,762,491,601,828,1124,1230,1306,1688,1610,977,1090,1364,1082,646,506,806,1104,1050,1148,1015,1200,1404,1094,1390,1258,1126,1038,1336,1416,679,788,1128,1638,1772,1560,1224,1334,1280,1308,1262,1112,1084,1240,1394,1186,1376,1584,1926,2110,2388,1532,756,625,1100,1348,1362,1194,1024,753,691,1180,1226,937,774,748,1052,1230,891,726,953,856,472,398,494,624,643,860,926,995,1330,1510,1222,937,886,1208,912,610,890,1256,1382,1450,1498,1388,1532,1326,1124,743,1058,2076,2010,1750,963,436,318,451,719,696,538,458,452,497,622,675,843,957,599,584,950,823,1218,1120,972,1566,1382,1094,1548,1336,1128,1230,1304,1202,1019,550,340,454,434,354,308,353,670,1007,896,698,1020,1590,1256,1282,1606,1434,742,599,909,1208,1152,861,1282,1194,894,639,1094,1118,1194,1396,1274,975,944,1001,653,590,461,510,724,458,286,307,281,249,258,505,1004,1064,818,463,374,254,215,256,264,262,316,329,310,315,310,325,300,332,577,422,281,301,342,302,261,401,424,435],[546,614,637,861,1822,2558,1616,1172,1536,1736,2060,1858,1182,890,854,1015,1534,1574,1222,1406,1246,1023,944,617,336,326,354,381,414,427,414,448,485,475,445,457,505,447,359,372,403,407,432,325,358,450,432,419,429,432,853,1480,1690,1756,896,584,559,982,1458,1512,1480,1446,1516,1058,558,302,262,299,346,478,529,738,744,864,814,525,637,927,956,797,640,599,724,641,473,454,502,865,1013,1318,1322,1024,598,365,339,340,332,381,425,400,552,1628,2004,2030,1804,1262,782,453,477,639,590,625,570,916,1054,1042,1666,1642,1086,637,471,428,608,851,583,480,752,861,1246,846,637,435,306,348,444,723,791,817,1490,1738,1640,1550,1462,1400,1098,722,706,667,671,781,589,491,573,521,442,510,815,905,926,1086,1074,745,570,832,1062,569,479,643,678,438,400,394,437,409,465,448,388,419,405,406,480,642,702,799,642,522,529,684,670,619,548,395,443,481,564,936,908,587,587,597,585,504,479,474,444,432,424,413,313,228,225,215,209,226,207,230,247,236,204,191,214,220,223,225,225,224,234,324,362,355,356,348,322,374,552,623,595,689,804,711,447,410,416,393,400,389,349,332,292,284,316,318,271,302,678,1174,1148,916,958,1050,1074,983,666,1046,1156,1308,1426,1142,995,774,598,580,653,746,658,516,854,1312,1392,1060,726,986,1282,1426,800,471,526,698,827,838,813,764,975,880,852,880,901,1102,1192,1498,1992,2020,1746,1578,918,466,401,401,610,1174,1552,1532,1222,847,847,999,1138,869,511,473,760,656,677,1013,935,897,950,810,835,832,818,1017,924,681,998,1356,1158,1274,1224,728,502,415,481,713,773,362,401,466,536,676,1034,534,468,883,777,584,625,609,614,655,476,438,803,1498,1338,938,1003,1076,1110,1172,979,668,656,1324,1660,1266,977,491,313,451,468,876,1032,1028,988,680,337,326,479,612,351,414,429,370,328,454,688,796,974,1238,1122,899,951,771,695,535,585,514,418,372,438,530,540,546,669,684,656,696,684,860,549,615,775,1272,1568,1560,1126,738,878,1128,1002,880,569,548,646,442,551,987,1072,803,1078,1216,1066,1340,1640,1636,797,919,847,814,917,1466,1674,1046,741,1350,2018,1822,1068,1228,1152,1380,1352,868,893,856,632,702,742,1114,1348,1212,1206,736,661,911,1210,937,561,813,954,883,679,761,1268,1416,1444,1010,1066,1326,1108,1162,938,688,692,702,503,446,571,553,491,454,382,439,456,498,434,579,619,875,1112,954,862,1272,1456,1736,1354,1270,1218,1750,1660,1216,922,830,880,880,448,453,802,1232,1120,1066,1284,1372,1368,1692,1748,1158,676,590,788,1072,1002,1078,1546,1642,908,569,410,769,880,1104,1564,1444,1370,1064,785,1062,1112,981,991,1092,1214,919,933,834,579,597,1310,1448,1030,954,725,1118,907,1102,1220,1196,1048,1296,1260,1007,723,613,1015,1015,634,850,1248,1015,855,808,1026,1056,694,755,713,393,323,453,501,426,648,824,576,424,359,920,1766,1516,1258,1580,2020,1724,1034,1018,1038,1298,1542,1548,1356,1072,822,1030,1116,815,919,1370,1266,1192,1108,921,1070,992,991,1260,1140,988,943,606,736,1192,1038,857,814,1044,1116,1032,1156,1003,825,955,883,701,758,772,814,929,767,1240,1416,1404,1726,1636,1548,1692,1282,1282,1200,750,969,848,758,654,505,507,1584,1898,855,769,1302,1374,988,836,1176,1310,1334,1200,1194,1286,1208,1414,1402,1172,1120,800,597,826,1068,1136,538,788,874,908,1042,883,608,544,694,998,1122,1180,1162,943,1014,965,1112,1022,1024,996,715,583,713,745,685,587,433,421,830,1202,1220,1180,1636,2242,1718,932,852,1220,1428,1290,1374,1406,966,1076,1296,1396,1584,1842,1422,754,634,625,363,344,363,695,1023,1066,1062,780,515,454,717,1366,1738,2270,2642,2402,1614,1598,1660,1332,1032,1040,1244,1564,1532,1310,1472,1960,1866,1232,1322,1410,1570,1580,1612,1456,1462,1440,1198,655,930,1296,674,463,535,708,725,711,605,835,1230,912,397,387,669,1180,1272,1402,1660,2356,2746,2802,2788,2996,2968,2194,1140,996,1328,1604,1598,1396,1410,1574,1292,663,835,996,777,559,535,429,340,511,816,832,1116,1144,1268,1338,891,775,1184,1804,1870,1416,1140,878,797,797,860,713,877,974,785,636,524,1198,1472,1096,714,654,543,593,680,1058,621,336,307,350,521,512,421,463,538,451,394,690,797,436,367,368,328,375,581,894,922,863,930,1074,1002,896,848,839,755,958,1448,1130,631,408,363,297,311,307,321,365,378,521,834,969,899,633,607,620,935,1392,1352,1128,1120,987,987,859,875,601,473,487,717,1170,1296,1088,1013,964,958,1152,1342,1438,1190,1200,1222,823,650,662,456,624,1106,980,812,910,853,689,747,863,623,1050,1544,1410,1358,1556,1452,1386,1676,1506,1420,1496,1582,1472,1340,1334,1338,1228,1282,1324,1284,1232,1168,1050,860,641,641,661,584,500,528,552,476,433,462,484,412,437,502,555,551,603,622,1222,1532,1224,1138,1248,1300,1328,1348,1322,1372,1362,1384,1478,1562,1416,1084,944,933,1136,1354,1274,1436,1412,1332,1356,1470,1198,1158,1360,1188,1048,1106,1098,988,1068,1460,1434,1372,1506,807,559,545,844,1250,1390,1230,693,592,511,389,504,605,521,580,686,612,479,608,771,744,694,350,264,318,483,639,540,327,239,225,245,275,308,322,322,332,300,283,306,323,307,311,286,302,314,329,347,328,330,320,306,295,296,281,253,293,362,352,347,382,380,390,454,530,554,528,523,484,407,452,452,409,435,699,857,498,428,613,771,808,871,851,602,691,892,683,708,1040,1256,1290,1358,1224,1124,1284,1330,1488,1350,1234,1354,1516,1298,946,1002,1088,742,616,558,955,1288,1356,1284,1038,971,1168,1312,1394,1346,1222,1398,1352,1326,1246,1316,1480,1454,1154,990,882,462,339,347,890,1350,1350,1454,1242,850,554,1010,1278,774,756,857,810,1190,1594,1018,755,550,719,825,664,497,544,890,997,1140,1122,764,405,449,693,981,1122,1352,1144,993,913,918,1062,965,637,524,909,1376,948,659,498,365,354,464,984,1074,561,780,1118,749,798,929,924,827,946,865,1012,1450,1200,849,902,747,725,896,722,924,2116,1796,950,738,839,777,599,481,532,749,1030,816,465,453,863,1374,1106,708,578,588,702,671,592,594,410,424,808,1110,557,397,362,591,854,1088,1300,1378,1170,1152,1418,1178,692,987,1200,1608,1228,468,388,688,1168,975,814,948,686,633,1086,1520,1546,1066,930,504,405,971,1460,1290,1262,1722,1244,569,567,717,1122,1096,1044,1184,1300,1248,1182,973,480,291,312,653,1264,916,480,314,281,350,673,887,935,942,721,545,420,329,379,763,1254,1378,1758,884,344,418,560,565,665,729,476,709,1202,1354,1454,886,1046,1548,1664,1498,938,1052,1570,1468,1216,1296,1178,1064,616,674,1050,1138,1312,1842,1922,1454,1282,1226,1240,1152,1316,1384,1254,1182,1156,986,911,1196,1366,1240,763,486,529,505,415,401,469,538,597,958,1052,927,1009,1094,1352,1688,1832,1494,992,902,902,1032,1240,1276,1374,1612,2126,1814,943,603,629,651,838,1012,658,496,452,408,359,545,863,1290,1480,1318,1038,1096,1124,1582,1626,1554,1038,655,523,497,465,408,441,540,621,788,1148,1106,1262,1214,1122,1230,1426,1328,954,847,633,565,1348,1458,1128,616,946,869,838,825,1108,1404,952,489,412,357,476,953,1416,1362,1302,1262,1380,1372,1206,1290,1090,980,997,1082,1238,1054,814,1054,806,824,1000,969,1224,1312,857,717,1012,1344,1510,875,565,434,550,933,1158,1222,1478,1732,1760,1366,979,869,667,440,487,805,962,952,1120,1110,1434,1394,1186,1054,1030,1198,1162,1536,1470,788,764,660,1011,970,999,1238,1320,1366,1336,1160,1014,1088,1654,2230,1690,1918,1704,1726,1930,1750,1214,877,974,1218,1128,1032,993,1212,882,747,948,1130,1118,915,620,750,1042,979,809,683,622,371,391,384,409,873,1140,1222,1110,1102,1234,1532,1444,1164,1023,818,892,1300,1362,1328,1420,1426,1580,1410,1268,1636,1438,1426,1774,1554,1338,596,362,320,453,718,750,548,462,422,405,379,326,706,827,1156,1024,977,1028,1138,649,791,1704,1700,884,894,1064,966,1004,1046,1366,1578,1068,683,803,858,522,393,637,994,1100,1032,1148,1416,1460,1354,1484,1584,1326,777,547,892,1606,1626,1090,1072,1009,1112,953,799,648,736,1246,1650,1314,1408,1346,700,459,434,610,822,483,331,363,365,319,253,653,1528,1506,888,552,393,343,477,600,533,403,480,561,344,278,265,295,301,354,408,447,351,369,387,313,289,287,397,736],[703,825,691,698,1870,2510,2032,1798,1710,1788,1428,984,1070,1178,1124,1036,959,741,622,691,568,487,533,612,411,357,382,430,396,378,392,439,451,410,393,397,349,319,339,361,367,346,373,308,307,387,425,466,494,513,944,1660,1958,2086,876,604,762,1300,1622,1624,1442,1766,1936,1260,759,332,325,354,377,371,392,447,532,1038,1158,767,686,974,1142,1076,1016,935,923,866,736,628,891,1064,1284,1280,921,905,535,544,383,399,370,362,387,416,613,1500,1850,1916,1688,891,574,506,449,458,383,445,420,580,613,584,570,380,324,356,368,432,359,357,364,356,431,545,711,547,435,372,410,446,375,555,546,568,1212,1282,1500,1736,1814,1716,1052,652,780,742,763,767,538,753,655,523,440,453,580,841,991,892,829,869,1070,1608,2090,1086,595,737,681,439,388,384,420,467,691,772,506,455,461,441,458,692,755,615,455,487,479,512,602,768,689,334,321,371,469,710,641,524,540,557,517,446,463,473,456,419,360,339,300,224,238,204,195,213,201,226,242,221,221,227,225,230,240,224,185,198,223,338,400,376,386,408,379,408,430,383,429,514,631,608,520,390,401,486,469,373,452,541,484,340,325,318,312,371,821,1152,1098,1092,1100,1284,1574,1682,644,687,919,1024,1122,1074,1110,1054,850,698,681,1208,1484,872,1432,1112,914,929,866,1056,1282,918,564,617,538,646,875,925,650,684,710,735,972,846,794,1326,1604,1764,2026,1996,1570,1556,760,421,393,417,513,907,1090,1102,1110,921,883,839,895,989,699,529,646,846,1100,1094,802,915,886,647,805,1126,902,896,1184,1156,1454,1572,1316,1648,1548,968,761,666,638,645,942,393,378,428,441,612,755,511,478,825,890,608,651,816,1172,1310,747,445,619,1120,938,598,589,675,703,750,893,1166,1210,1626,1426,1110,620,348,290,331,691,1092,966,554,438,491,516,594,776,834,448,348,395,366,280,656,916,570,496,781,1070,1072,831,601,544,477,475,438,466,504,449,442,472,547,745,929,1072,810,657,913,753,706,833,1286,1668,1526,996,734,1005,1122,656,590,422,547,724,601,618,1176,1438,902,722,897,1068,1256,1398,1236,1158,1242,1042,745,1016,1588,1446,725,663,1366,1710,1600,1344,1390,1228,1260,1222,979,1086,828,586,712,956,1034,1018,1434,1406,860,785,868,735,607,743,883,698,647,786,777,605,722,1106,1188,788,722,1236,1446,1250,1102,973,909,599,510,632,561,593,558,430,469,427,440,389,452,576,673,1084,1396,1296,1632,1354,1302,1322,1376,1538,1638,1328,1042,1096,1084,933,986,784,1001,1286,1190,1072,1324,1394,1088,895,1378,1440,724,607,739,761,986,930,1170,1548,1852,1088,569,433,963,1058,1060,1420,1464,1592,1148,1070,1308,1378,1110,937,1164,1136,1078,1144,846,753,611,1007,1140,1272,1078,652,827,480,567,1134,1350,1224,1252,1236,1286,1082,765,664,975,859,579,728,694,575,658,1168,1422,984,672,687,598,478,550,515,417,669,826,704,601,801,1896,1758,1276,1722,2266,2050,1256,1236,1214,1034,1278,1280,1154,1442,1306,1058,1026,593,641,1258,1502,1350,1202,933,868,1094,1040,950,1196,1118,922,1026,761,774,900,1232,892,918,1030,909,865,886,732,630,965,1160,1082,1032,791,1078,1078,981,1128,1238,1378,1764,1716,1476,1296,1350,1450,868,765,1015,1258,870,803,809,669,1274,1548,926,758,1120,1028,800,894,1152,1506,1428,915,680,684,559,733,1158,1196,1042,970,745,1120,1462,1144,499,530,853,1272,1252,750,482,492,480,622,861,1306,1410,1158,1266,944,861,1054,1134,1240,1092,708,638,728,980,819,430,565,1518,1650,1406,1786,2344,2376,2088,1740,876,1005,1290,1162,1254,1550,1360,1166,1344,1594,1708,1726,1610,1280,961,888,488,349,512,918,1078,1046,1042,900,714,865,1360,1512,1542,1850,1614,1478,1278,1566,1432,1202,1374,1206,1506,2540,2402,1452,1312,1528,1348,1798,2176,2136,2070,1876,1410,1308,1566,1652,1482,687,888,1170,1074,689,562,656,615,590,563,610,1046,1007,452,365,530,1007,1216,1342,1426,1598,2336,2746,2710,2780,2442,1400,1048,1272,1472,1582,1544,1344,1390,1412,801,444,552,841,803,471,559,480,344,373,733,882,1102,1166,1206,1338,1084,669,859,1616,1900,1582,1250,1084,829,766,739,532,937,998,759,639,1064,1494,1088,947,741,588,666,577,957,1034,512,441,581,420,312,300,317,289,339,460,458,682,777,469,451,519,457,419,756,1452,1510,1420,1600,1708,1604,1454,1588,1538,976,793,1290,1388,766,546,675,364,282,316,376,396,579,822,1118,973,636,562,586,623,868,1098,1108,1138,1206,943,749,822,702,402,412,369,672,1248,1184,1428,1430,1032,1042,1390,1686,1280,1026,952,1012,691,558,735,677,887,1288,1254,878,1144,1074,1011,1234,835,414,933,1418,890,741,1266,1466,1570,1760,1198,1038,1422,1720,1616,1266,1182,1260,1264,1224,1168,1272,1602,1462,1180,1052,1282,1404,1288,1278,1340,1280,1090,1020,948,951,973,913,881,780,722,776,805,816,1214,1556,1360,1296,1466,1566,1472,1500,1556,1522,1538,1560,1678,1806,1748,1476,1316,1372,1748,1636,1342,1292,1414,1626,2674,3144,2900,2832,2244,1846,1932,1782,1410,1230,1196,1448,1190,1152,1316,1200,1124,979,854,1168,1744,1428,638,375,343,278,294,264,307,466,682,648,470,716,848,912,1286,586,484,475,517,397,349,374,319,245,257,270,313,332,342,319,308,296,304,317,327,326,302,282,281,309,329,311,307,298,302,321,309,281,264,281,309,311,320,362,407,435,498,444,565,700,594,511,456,419,448,453,427,525,678,513,402,481,648,826,835,807,683,552,592,659,767,944,1168,1340,1396,1186,1264,1304,1428,1534,1690,1578,1382,1390,1432,1050,895,1074,736,564,591,1050,1234,1400,1642,1434,1138,1090,1212,1360,1246,1084,1340,1312,1378,1256,1340,1284,875,701,878,790,506,416,681,1242,1318,1208,1130,708,436,396,601,639,495,489,745,1126,1198,1230,893,1110,656,437,561,452,475,799,1276,1838,1700,1252,963,642,788,1198,849,523,561,678,772,1016,1340,1418,1132,640,711,1480,1602,730,406,436,385,385,425,836,965,731,1160,1278,791,1356,1164,957,730,773,1130,1102,833,778,765,839,901,915,840,839,895,2734,2252,759,620,916,910,728,687,594,988,1134,921,643,657,708,1210,1354,1324,1588,1488,1246,726,582,862,617,394,639,1090,495,283,305,707,1330,1734,1666,1148,912,930,618,582,567,1046,1456,1128,654,560,472,466,675,1019,955,713,489,680,969,1354,1226,878,695,636,921,835,603,708,908,1430,1188,1090,949,658,550,688,796,1162,1320,1274,1626,1460,514,313,332,360,577,360,274,337,370,360,538,827,1276,1506,1005,872,391,400,465,811,789,997,1240,894,767,583,532,554,386,426,658,1007,1488,897,714,907,1288,1028,855,993,1030,1392,1344,1256,1144,1216,1186,1438,1398,992,1030,1138,1462,2024,1842,1454,1166,1005,1054,1023,1222,1264,1432,1474,1308,1158,993,878,846,786,680,719,660,610,502,431,578,646,785,835,812,833,783,882,899,1296,1648,1172,1544,1592,1400,1282,1334,1210,1212,1612,1884,980,424,496,686,686,1308,1220,924,1064,784,514,473,589,1108,1520,1408,1310,1360,1458,1772,1732,938,1266,1448,927,642,605,430,472,449,475,621,792,822,841,887,1070,1214,1350,1354,1196,872,1005,976,882,1690,1488,791,502,825,830,778,857,1120,1050,667,658,561,632,572,764,1110,1342,1476,1372,1280,1372,1506,1364,1086,1138,1028,993,963,850,937,1072,1064,1338,1292,1378,1632,1336,972,815,793,1288,1436,793,537,565,724,1448,1480,1230,1340,1324,1582,1490,966,716,871,548,453,1038,1214,1294,1270,1346,1612,1620,1436,1194,1242,1416,1250,1042,838,607,750,738,887,966,1104,1372,1522,1460,1152,835,697,986,1466,1684,1754,2046,1896,2348,2258,1412,1358,1400,1300,1248,1460,1468,1364,1154,950,955,997,872,1009,1062,640,644,944,891,773,396,353,409,667,520,405,576,908,1023,884,1028,1186,1482,1410,938,603,635,838,1332,1360,1260,1242,1488,1798,1470,1166,1504,1536,1636,1598,1564,1078,592,460,336,386,603,621,492,480,391,494,637,384,308,464,942,1168,1130,1526,1654,657,986,1930,1694,1104,887,1106,1104,831,1278,1516,1420,1576,1174,1104,1496,755,425,581,696,625,583,965,873,676,1136,1456,1204,1256,1120,807,885,1432,1534,1158,1280,1672,1600,1376,1038,563,592,993,1396,818,876,676,494,508,452,791,1054,859,631,459,544,478,334,486,938,1132,936,774,482,387,398,565,720,631,799,1028,379,226,229,246,319,374,479,606,871,1000,532,270,285,348,691,1046],[1007,1164,911,689,1252,1528,2122,2318,1644,1248,1040,1046,1074,1052,1254,1134,721,528,398,406,460,595,741,695,467,422,518,543,425,382,427,396,360,383,374,368,356,340,346,386,393,379,375,360,375,441,571,623,491,519,728,1046,1132,1042,686,591,555,556,862,1154,957,731,643,517,436,368,369,408,400,359,415,394,627,1098,1106,1050,894,807,1128,1166,1274,1184,1098,1074,1188,1048,1001,1170,1536,1512,1240,1114,835,831,404,371,391,348,393,379,609,1388,1804,1658,1394,696,477,453,390,355,325,342,400,466,468,415,332,396,426,421,388,357,274,316,325,360,390,436,430,374,338,336,385,440,384,443,340,326,847,1386,1688,1460,1226,1110,886,1070,1208,1114,1106,1012,891,909,818,608,528,684,704,861,1092,774,567,1212,1944,2334,2734,1736,791,648,553,457,414,380,460,547,616,640,448,347,442,493,509,625,760,625,439,436,477,446,444,561,688,448,305,340,384,405,420,460,514,564,548,527,551,421,412,381,334,299,238,216,228,204,185,216,246,246,231,245,244,221,218,233,239,221,215,237,272,328,353,398,383,402,413,413,427,372,391,410,450,579,568,441,459,520,535,413,407,450,494,438,346,320,310,498,1050,1144,1080,979,1186,1386,1208,818,582,561,571,585,805,945,995,1007,1238,1046,907,1170,1130,1152,1476,1378,1022,1178,1354,1324,977,584,498,538,375,397,523,538,512,571,565,1072,1630,1222,1194,2062,2116,1808,1814,1334,800,1046,793,488,442,413,564,1024,1184,941,665,630,781,715,984,1342,869,508,438,510,963,965,738,974,658,500,666,1298,1676,1326,1294,1114,1444,1492,1392,1802,1644,1202,908,724,661,745,1042,582,417,423,404,513,544,439,369,621,908,594,852,926,1440,1548,1068,736,880,1146,1126,658,328,323,297,327,480,628,851,1040,1134,944,522,513,414,426,730,763,512,262,329,501,601,716,814,860,639,409,426,416,374,890,1290,908,556,549,844,778,682,557,527,546,505,462,445,378,345,463,523,507,615,781,960,712,582,1044,926,593,761,1246,1638,1460,933,994,1046,804,462,558,461,410,580,727,910,1136,1158,947,915,1144,1232,1202,992,1044,1332,1434,1076,827,1206,1684,1438,756,910,1100,695,775,1108,925,940,1220,1380,1174,728,769,869,647,878,1044,885,1090,1166,928,732,618,690,745,641,791,802,699,716,937,610,437,686,1023,783,709,1270,1466,981,850,988,1086,1162,1108,1096,1094,990,795,690,633,497,454,482,573,613,638,921,1332,1504,1622,1388,1232,1516,1652,1726,1692,1272,731,837,898,1056,1594,1702,1772,1436,1180,1402,1542,1302,1064,1204,1316,932,675,1240,1526,1534,1150,900,884,974,888,720,608,691,1084,1002,1130,969,1036,1516,1290,1350,1356,1302,1144,893,1120,1058,749,813,773,814,678,647,694,722,523,812,885,540,375,722,1134,1208,1015,597,720,863,1090,842,788,1104,1042,767,753,726,726,956,902,857,755,738,678,696,879,946,659,489,572,789,814,1007,1960,1530,1428,2050,2404,1682,1122,963,1068,1182,1294,1368,1410,1306,1394,1544,1318,871,967,986,830,1050,1023,983,1100,877,861,796,1224,1096,1072,1188,999,794,804,774,739,872,818,702,722,807,998,949,882,1100,1088,800,706,1208,1704,1780,1274,938,985,1166,1282,1130,1120,1362,1242,880,891,980,1084,925,1102,1290,1098,1490,1550,1206,895,981,1120,1234,1286,1400,1388,964,565,538,532,421,464,840,1200,968,1116,929,1058,1436,1236,872,709,875,1242,1052,1005,605,676,514,657,1148,1566,1456,1412,1200,658,630,1096,1448,1502,1356,948,767,659,830,894,1080,1444,1558,1404,1898,2500,2336,2096,2242,1904,1710,1828,1270,1278,1308,1292,1114,1094,1376,1628,1644,1740,1496,1270,1009,938,670,475,609,955,1080,1004,915,825,1002,1042,1454,1428,1598,1772,1628,1200,1428,1628,991,1110,1426,1294,2410,3442,3420,2756,1900,1244,1268,2404,2270,2274,2464,1976,1398,1316,1538,1532,1268,691,1132,1078,1070,728,578,653,596,530,544,517,712,1010,779,435,455,940,1168,1458,1658,1372,1594,2192,2626,2390,1434,973,1244,1376,1426,1522,1496,1190,1106,777,604,646,498,592,789,509,519,512,421,393,672,933,1013,1062,1094,1084,855,615,598,788,1126,1422,1500,929,441,472,486,472,854,1026,828,673,725,890,697,668,602,472,489,357,879,1146,695,769,913,466,318,344,542,476,425,408,394,724,712,419,769,918,479,430,764,1692,1902,1642,1530,1480,1324,1386,1546,1258,812,690,1186,1506,861,656,955,613,367,358,409,477,694,952,1130,1006,765,789,788,764,1098,1070,951,1180,1306,1106,918,852,509,364,393,375,483,825,1026,2648,2204,1248,1094,1178,1370,1288,1005,1162,1334,667,533,766,821,1318,1382,1032,975,1102,965,1306,1394,927,453,863,1444,865,597,995,1448,1796,2000,1576,1122,1290,1692,1156,805,713,1198,1168,995,674,592,1004,888,605,689,946,872,917,885,819,891,938,910,778,1132,1488,1406,1188,1282,1378,1354,1372,1382,1500,1500,1492,1522,1526,1366,1390,1478,1312,1236,1350,1334,1264,1266,1338,1406,1576,1430,1372,1432,1090,1040,993,1204,2624,3796,3914,3508,2814,3144,3184,2930,2944,2362,1650,1514,1362,1110,1058,1150,1638,2020,1350,1228,1436,1326,1162,722,498,379,287,264,308,361,412,437,355,504,464,902,1134,505,563,624,349,211,204,305,408,344,241,253,271,283,340,325,320,314,311,314,334,331,288,285,301,307,304,295,293,288,312,358,353,293,274,298,287,281,291,336,414,422,404,358,610,739,589,522,439,465,600,571,444,380,397,435,391,386,524,767,804,808,871,814,675,776,851,764,1044,1410,1390,1520,1424,1192,1550,2162,1948,1304,1602,1620,1820,1122,875,1206,955,516,373,826,1358,1558,1528,1272,857,846,1108,1328,1080,928,807,915,1226,1262,1384,1304,1074,946,725,874,618,647,1200,1244,1236,1264,1158,846,536,650,913,932,667,468,940,1458,678,863,1194,1028,528,388,413,453,657,916,1296,2018,1838,1478,1216,1006,1322,1802,1332,637,428,549,954,1454,1768,1312,981,650,1048,1404,950,520,431,374,359,382,442,687,992,911,1622,1872,1028,1116,1005,860,663,642,977,950,757,777,753,711,890,1004,787,735,561,932,832,434,395,574,630,666,736,528,656,746,752,667,637,514,889,1206,1164,973,766,968,670,462,533,647,672,1290,1510,658,291,313,414,567,503,414,341,465,614,434,393,422,601,998,1140,1088,1222,1060,763,963,1346,818,597,612,606,830,1172,1156,802,664,1172,1560,1208,660,665,894,1138,1082,1164,1012,638,436,537,835,1048,857,1007,1238,1021,487,298,308,280,258,245,248,380,550,612,599,618,1052,1396,880,567,316,408,389,613,645,722,884,1090,1234,583,469,532,343,430,1021,1736,1686,799,723,1406,1556,1054,910,1168,1258,1186,597,607,757,841,1162,1422,1312,1074,1198,1360,1536,1722,1512,1664,1190,1015,758,788,1046,1228,1104,1192,1550,1334,1044,816,572,597,953,1162,780,647,620,505,505,665,809,706,739,737,841,1178,1534,1330,1362,1218,1830,1912,1682,1756,1400,1158,1210,1314,1376,1182,834,680,651,817,1288,960,1064,1236,863,624,579,861,1432,1214,1052,1394,1698,1738,1452,733,385,990,1402,1044,784,700,712,836,611,534,815,1426,1066,935,1134,1032,1158,1282,1378,1522,1062,1344,1196,833,1278,1202,658,446,829,1034,849,852,890,865,774,906,913,771,682,642,769,667,877,1340,1376,1308,1502,1420,1432,1356,1020,1162,807,585,704,1064,1296,1442,1372,1130,1356,1616,1132,566,380,642,908,1018,1011,964,982,1714,1542,1014,998,1186,1450,1376,933,899,972,660,738,923,1150,1418,1438,1548,1718,2136,1898,1296,1614,1560,1198,1013,852,860,1044,1084,1120,1190,1276,1408,1532,1454,978,896,898,777,720,998,1318,1784,2214,2270,1626,1066,1054,903,827,1282,1550,1604,1242,1118,1102,968,1094,948,656,962,1148,933,859,873,714,517,459,573,706,639,568,576,559,563,664,1116,999,997,990,879,836,750,921,1302,1604,1668,1160,1088,1394,1396,1186,1426,1146,1130,1518,1734,1544,1394,1114,753,610,725,505,473,445,411,727,632,445,451,431,405,686,1023,1394,1120,470,617,1336,1124,1246,1362,1464,1622,1226,1134,1060,1013,978,639,976,1150,651,488,449,472,553,539,689,788,926,1324,1466,1344,1498,1724,1938,1252,1130,1616,1650,2138,2206,1260,1234,1514,1026,546,506,615,406,417,382,346,483,567,607,680,721,763,512,687,808,529,443,520,1044,1578,1122,388,356,326,311,388,513,667,613,295,224,226,247,305,253,273,494,1024,1019,452,317,306,286,528,774],[944,865,966,963,1676,1946,1976,1660,1122,944,894,825,724,546,737,948,447,396,513,758,1590,1946,1528,860,459,442,494,504,497,473,454,465,406,403,403,438,373,359,365,407,399,342,354,347,418,483,557,632,448,423,559,593,620,705,926,898,689,701,692,810,572,376,399,328,399,442,357,396,390,391,455,471,949,1506,1036,877,802,852,1494,1542,1316,1362,1164,1090,1140,904,755,986,1132,1480,1380,1102,1510,1184,444,329,408,434,472,476,486,727,856,860,899,501,370,376,347,337,325,393,473,434,426,361,320,580,387,360,361,335,269,292,342,359,365,349,318,347,313,306,253,268,286,296,313,316,682,1328,1462,1124,902,820,830,1228,1138,962,913,857,725,841,933,754,791,852,709,637,874,933,1404,2742,2486,2324,2202,1704,993,513,470,480,476,461,529,563,494,468,432,351,419,441,372,420,599,627,488,407,437,425,404,405,479,617,516,403,389,415,405,440,519,568,563,513,424,412,376,325,303,268,230,219,205,185,197,243,261,259,245,225,206,231,245,242,230,229,212,230,290,314,292,344,361,365,376,382,377,329,305,307,370,508,529,462,445,425,438,529,506,482,476,428,443,463,407,797,1368,1384,1324,1060,1288,1180,1224,1072,1090,1034,727,661,706,941,1160,1052,1064,1256,1214,852,840,1224,1594,1576,1250,1180,1362,1126,503,397,394,427,351,365,426,456,492,730,749,617,773,830,882,1672,1290,1194,1546,1548,1144,1280,1246,776,512,376,445,664,944,756,504,445,452,821,1468,1378,1076,818,569,772,1124,948,1118,1252,633,474,688,1426,1704,1488,1040,593,583,620,1100,1652,1288,591,538,802,667,667,1012,731,390,333,303,378,484,463,372,554,889,729,976,651,1034,1336,1202,1224,1248,1242,1262,764,339,410,429,354,464,374,423,959,1064,512,357,468,537,375,317,292,314,440,596,722,794,793,711,802,741,462,354,370,426,733,1224,1246,691,382,379,466,839,944,771,630,639,568,444,391,338,418,633,608,629,573,619,612,529,726,807,562,756,1356,1538,1344,914,841,684,772,783,709,610,761,745,778,1136,840,724,604,815,1040,936,782,602,1126,1554,1240,856,910,900,810,619,605,1174,1074,1064,1156,1246,1098,785,792,1162,1388,1242,1328,1064,671,1052,1144,716,545,641,700,703,543,558,762,592,523,830,1015,1001,1260,941,594,466,568,988,1306,1186,911,834,1009,916,858,985,999,1520,1598,1444,1472,1370,969,521,427,451,484,510,622,843,1002,1138,1312,1138,1036,1188,1266,1382,1610,1404,910,910,997,1154,1388,1578,1814,1508,1348,1434,1542,1422,1194,1188,1314,1104,857,966,1116,1242,1005,944,1024,838,504,436,424,524,965,626,774,753,1036,1338,1380,1382,1212,1118,1244,1112,1088,685,515,778,935,861,888,894,894,781,702,828,930,730,551,714,932,854,749,535,482,716,924,822,766,1092,1080,812,895,1234,1116,1182,1108,860,609,587,506,485,948,1418,1024,787,929,846,711,1004,1664,1864,1834,2040,1704,1007,1042,1358,1478,1460,1356,1120,1252,989,1268,1370,1428,1394,1428,894,576,818,745,695,1030,1110,869,716,711,711,866,1188,1168,842,861,1058,998,893,885,819,715,865,1356,1456,1622,1388,1042,720,904,1324,1644,1700,1000,908,1010,705,770,501,383,1058,1354,1446,1260,784,610,715,1160,1118,1026,1260,960,1106,1046,1122,1154,943,930,1036,913,592,457,497,640,449,451,534,929,914,1344,1092,816,1302,1592,1510,1188,1001,1152,1032,1202,1007,980,762,852,1182,1250,1236,1242,841,623,603,993,1612,1384,1140,1166,1244,1214,1152,1124,1372,1578,1484,1640,2194,2276,2136,2344,2136,1592,1506,1836,1562,1278,1296,1374,999,857,1036,1546,1826,1570,1228,1028,1158,1068,993,888,628,705,900,827,720,1626,2422,1484,1248,1332,1410,1338,1366,1230,1214,969,814,1118,1216,2028,3370,3498,3476,3518,2666,1660,1836,2592,2288,2144,2364,1836,1312,1294,1396,1312,877,680,1042,1082,1078,878,653,653,574,500,495,409,494,841,1134,824,567,874,1320,1644,1688,1418,1164,1490,2238,1512,722,738,1356,1626,1514,1450,1124,888,656,579,738,1005,816,559,673,835,633,510,481,375,596,914,1046,1170,1162,907,581,592,612,555,974,1238,1510,1348,816,452,450,498,726,958,1050,742,599,684,420,440,401,720,741,336,775,1112,641,680,718,411,375,390,504,573,726,517,504,870,722,488,763,788,368,424,783,1638,2046,1920,1644,1338,1074,1332,1484,1190,680,538,1058,1570,979,542,824,1023,581,330,400,483,672,814,834,755,905,988,1070,1106,1300,1040,1012,1452,1354,1188,1152,869,457,386,345,354,373,688,579,1382,1248,792,869,1182,1382,1280,960,774,869,577,534,707,874,1158,1001,1040,1272,938,986,1212,982,779,526,1028,1544,1222,788,943,1294,1434,1552,1766,1504,989,1068,859,1068,1162,1470,1482,1378,693,490,949,868,422,1626,3198,1528,633,748,1102,761,414,442,450,503,927,882,594,781,835,828,959,942,1136,1154,1098,1168,1250,1252,1346,1250,1202,1346,1384,1300,1190,1350,1412,1398,1516,1518,1396,1376,1268,1266,1210,1362,2132,2656,2608,2642,2520,2668,2588,2872,3104,2274,1208,995,1212,1264,1758,1790,1816,1616,1368,818,665,940,1236,1186,777,384,314,275,291,338,263,236,254,323,279,471,483,456,984,1022,443,286,254,246,311,479,412,297,283,340,311,279,298,295,307,323,336,333,277,285,291,309,302,289,288,295,319,353,348,313,289,306,285,290,281,290,351,365,321,393,647,748,675,500,454,456,528,538,435,395,405,425,405,354,409,631,783,775,843,883,738,663,683,800,1048,1160,1224,1440,1296,1228,1588,2170,1922,1494,1826,1738,1760,1308,990,1272,999,487,476,1166,1716,1548,1248,1070,862,939,1088,1356,1280,1106,846,979,1268,1294,1208,940,987,1092,708,850,884,1114,1310,1284,1350,1324,1318,1190,883,857,931,823,647,521,961,963,641,835,1188,987,508,521,644,806,903,1160,937,1122,1116,1178,1210,1132,1478,1562,1090,830,592,439,680,1016,1502,871,621,625,914,673,397,424,438,376,418,473,669,837,963,687,1230,1780,1086,656,927,1116,1005,768,677,612,732,1202,1030,630,641,709,524,493,553,527,401,355,365,390,400,503,684,481,338,623,695,735,667,621,628,1046,878,398,283,372,500,403,464,743,1222,2348,2534,1060,338,318,325,473,396,332,318,324,455,482,405,436,502,703,944,1220,1410,798,748,1470,1528,1050,864,917,590,558,850,1032,1242,1488,1758,1670,1366,875,684,902,1242,1128,1021,926,575,477,467,681,802,858,955,937,631,396,323,269,254,318,316,273,350,538,730,640,714,1454,1284,668,317,332,446,354,462,728,1088,1248,949,836,450,755,772,705,636,1170,1860,1584,956,1478,1826,1216,1038,1290,910,894,958,639,602,772,657,889,1098,879,835,1208,1472,1534,1328,1322,1250,1066,983,913,723,653,839,941,1086,1226,1282,1278,1456,1164,916,1312,1160,688,742,853,684,530,612,791,752,677,610,591,1044,2232,1632,1112,1478,1796,1268,1122,1064,1007,1124,1434,1698,821,954,1172,1156,988,908,1048,1156,1280,1168,810,656,575,1068,1764,1314,1234,1606,1244,734,484,786,1316,936,1048,1064,1226,1130,1178,1086,870,631,1009,1428,955,800,1124,1372,1486,1258,1010,1202,1098,1432,1060,631,741,996,1001,987,1140,962,698,803,1012,1682,1204,885,868,834,1006,1072,1226,926,444,988,1416,1556,1672,1380,1404,1422,1202,1218,888,793,708,918,1354,1578,1980,1572,1252,1200,690,446,403,785,1180,1284,1534,1174,869,1046,894,941,1034,1346,1422,1466,1346,1007,860,822,1172,1290,1302,1310,1408,1248,1142,1498,1700,1214,1360,1028,609,760,1130,1190,1064,1314,1378,1050,1282,1376,1044,1176,971,1138,1166,915,687,696,1134,1744,1922,1584,1086,715,519,475,727,1744,1504,1104,1168,1670,1710,1080,950,727,563,771,1230,1112,880,953,938,780,727,773,561,444,584,572,541,648,662,682,922,915,822,1158,1448,1382,1056,998,1254,1290,871,568,778,1162,1338,1228,941,1126,1418,1570,1976,1716,1412,1378,1284,918,523,426,492,750,1128,1088,885,705,609,375,444,876,1664,835,595,527,581,859,1290,1256,1480,1620,1284,1058,1090,1282,1086,1062,741,451,381,495,591,633,631,587,565,644,1050,1462,1166,763,1200,1612,1626,1302,1656,1782,1460,1770,1916,798,839,1476,1722,917,394,343,398,478,598,529,483,666,597,667,973,835,562,720,753,711,603,752,1670,2010,1262,630,389,279,227,294,264,316,302,249,218,241,420,574,324,328,380,608,506,412,347,278,286,362,416],[1026,677,846,1158,1850,1632,1178,805,769,859,683,626,731,618,681,880,407,359,437,724,1650,1794,1502,982,435,435,444,456,559,607,691,1007,1262,993,623,475,377,455,429,396,319,274,342,350,400,418,494,529,470,626,623,604,650,973,1660,1846,1478,1494,1432,1102,541,406,361,384,434,430,375,371,348,333,423,689,1302,1512,1030,937,772,1126,1758,1804,1826,1666,843,790,1130,1096,916,957,1114,1384,1062,675,1040,737,338,310,375,436,492,513,424,403,445,446,514,434,372,361,346,331,283,283,313,309,294,300,378,931,503,322,453,552,379,298,361,325,265,249,298,377,346,265,252,261,368,331,295,281,526,1152,1330,1050,907,982,948,666,609,639,576,697,870,1068,1036,1040,1064,844,554,547,890,1196,2130,1854,1492,1756,1604,1316,871,501,491,674,584,494,491,521,502,482,525,478,475,501,428,387,516,490,440,479,425,390,395,386,424,771,953,672,447,424,415,438,518,599,546,456,397,404,363,276,260,256,218,223,226,226,241,236,237,220,188,202,266,268,241,214,217,223,210,248,252,257,284,360,376,364,359,343,319,303,309,304,325,412,407,376,365,464,547,587,524,412,381,386,438,484,561,666,805,1144,1016,902,1194,948,1003,937,877,845,722,813,1023,1056,1013,1142,1412,1360,1064,855,1138,1538,1498,1246,1144,1010,755,386,361,432,441,512,484,418,513,693,811,1044,1005,837,1076,951,653,786,615,538,694,1062,1158,1548,1834,1514,999,714,863,975,1086,757,510,373,504,1274,1740,1742,1754,1450,1084,1256,1026,1240,1756,1306,594,415,745,1388,1534,1332,1004,704,888,910,1050,1216,991,558,775,1224,1204,1118,1038,596,354,330,425,741,879,835,922,871,859,968,1078,763,644,875,1078,1262,1328,1078,1011,767,438,419,324,259,405,332,1146,2256,1350,423,359,456,465,284,192,266,474,682,780,821,833,851,861,854,722,448,279,295,351,375,739,969,593,328,365,401,613,894,776,863,1184,1416,710,382,447,587,650,584,571,565,549,535,477,545,769,697,876,1332,1544,1306,775,515,460,526,696,751,676,739,616,918,1442,1236,856,444,642,1088,890,594,1019,1596,1636,1230,955,1048,719,603,752,799,923,799,1232,1440,1336,1290,930,663,861,1274,1410,977,666,664,1114,1334,916,575,681,850,730,700,657,827,855,921,955,1144,1520,1518,1050,651,603,529,956,1404,1166,684,1062,1042,769,778,808,728,639,691,1068,1246,1176,928,537,464,654,520,480,660,1108,1226,1600,1662,872,857,992,996,1212,1166,1192,1082,981,938,1042,1246,1492,1694,1636,1356,1238,1538,1508,1284,1066,1158,1228,736,452,576,702,752,827,1040,1178,960,678,648,853,915,559,410,595,835,991,1116,1108,1066,1256,1696,1414,1166,612,451,595,674,631,558,866,1218,1346,1240,955,815,778,645,594,858,699,528,822,894,661,541,819,1184,1094,811,688,739,770,609,902,977,951,1146,855,561,497,523,590,608,673,779,1180,1216,950,1170,1250,1366,1456,1252,1122,1186,1176,1422,1540,1598,1278,1080,783,720,926,1122,1138,1038,708,647,739,813,1070,1158,1238,1108,764,499,518,766,971,802,599,738,1074,849,896,1128,1046,659,912,1248,1396,1610,1430,1236,1036,1072,1066,1190,921,588,655,802,575,665,612,419,624,1032,1288,1290,1130,940,899,868,916,1168,1166,1160,1232,1108,1122,1124,1046,987,772,637,495,450,599,720,492,775,783,822,1038,925,744,1066,1272,971,1160,1218,1344,1282,868,893,1368,1102,736,771,1009,1152,1042,1146,959,956,1015,1070,1432,1416,1164,1328,1478,1592,1820,1996,1814,1350,1462,1620,1652,2024,2422,1950,1478,1394,1618,1832,1866,1570,1068,1198,959,798,846,1144,1392,1574,1222,1106,1220,1196,1296,1316,1004,715,604,624,1632,3242,3918,2980,1780,1374,1404,1150,1228,1274,976,763,1156,1300,1726,3174,3538,3560,3608,3216,2238,1726,2100,2622,2234,2158,2076,1810,1612,1310,1120,1044,683,635,1068,1378,1354,817,547,589,475,434,417,410,433,633,1082,1322,1170,1090,1166,1316,1374,1412,1246,977,1056,790,950,1062,1398,1534,1272,915,824,625,427,657,560,705,1260,1046,616,827,809,566,454,397,405,515,683,786,634,600,491,495,595,541,752,950,1082,1168,1148,744,555,535,1028,1018,1190,821,748,826,622,513,611,933,788,520,990,1094,748,727,593,380,474,767,780,1056,1244,608,733,904,753,470,358,413,292,316,809,1606,2022,1896,1584,1164,1030,1478,1592,1344,716,505,944,1482,1272,724,667,938,699,396,538,694,775,781,541,414,552,661,854,993,993,881,1666,1992,1434,1278,1232,1086,825,645,778,600,417,729,636,522,546,678,962,1102,1108,1176,871,564,572,504,1082,1488,1682,1356,890,1058,1082,912,1246,1264,1001,608,421,855,1246,1040,1013,1456,1322,1168,1426,1278,1164,939,1410,1936,1626,1452,1498,1476,1048,691,821,1166,1116,558,1102,2050,1626,1126,1052,1108,747,615,954,843,441,735,658,437,765,1040,571,411,1001,1478,1228,664,524,610,692,879,690,695,596,618,781,852,733,771,863,868,838,761,980,1268,1344,1536,1570,1498,1356,1542,1642,1384,1290,1494,1570,1328,1108,992,1146,1332,1480,1898,1888,1902,2088,1862,919,637,1132,1586,1494,902,524,567,396,458,684,383,269,302,310,557,681,532,736,1338,1510,980,441,287,273,293,394,555,466,301,304,301,257,270,290,304,317,311,305,308,296,284,295,290,288,292,301,306,306,299,320,283,280,290,298,286,268,277,309,316,412,633,752,678,523,503,434,439,473,466,493,465,417,419,401,367,492,737,798,789,840,857,583,480,552,708,832,979,1182,1450,1494,1238,2146,2250,1612,1672,1592,1572,1318,982,1004,1028,753,857,1302,1552,1686,1512,1450,1268,1202,1326,1432,1184,1052,975,802,927,1266,1206,706,1019,1636,1072,906,1322,1382,1212,1170,1052,1004,1088,1078,1122,1010,1038,1046,920,892,875,788,800,714,636,728,720,626,568,618,969,987,812,926,888,954,1058,1224,1208,892,834,1130,704,389,470,614,927,860,981,1122,712,312,370,390,518,664,595,597,1252,1368,763,373,941,1310,879,758,1066,1122,1256,758,535,558,788,1550,1570,919,585,747,770,520,429,384,338,391,481,521,491,486,557,385,966,1490,1012,714,623,571,446,738,906,480,269,285,423,691,924,1250,1494,2078,2740,1092,419,371,827,1300,1068,525,267,306,455,579,448,393,418,608,845,1298,1524,816,686,885,1022,995,1005,932,608,803,1464,1606,1630,1334,1330,1196,838,573,542,993,1578,1470,1396,1146,544,513,504,769,1030,1294,1256,1324,1164,959,550,283,301,343,346,318,327,327,425,387,476,1078,828,367,299,325,384,368,396,532,644,752,684,1264,1124,1284,1054,1005,790,700,1132,1204,1350,1604,1370,928,1252,1716,1268,862,1088,1262,1260,1160,922,982,1074,765,633,1124,1448,1486,1124,979,1138,1128,1112,1124,1182,1110,929,1136,1310,1218,1480,1366,1340,1476,1400,1404,1096,821,980,1138,980,764,567,708,713,507,526,513,713,1082,1015,913,1484,1754,1214,1378,1188,706,777,1550,1294,468,735,1312,1228,751,802,1136,1264,1256,908,766,604,505,1142,1248,1328,1326,1004,506,382,400,860,1278,1206,1428,1348,1576,1112,814,1000,1009,1024,1302,1064,677,1021,1322,1274,1078,871,750,786,1013,1230,875,564,616,967,1170,1196,1148,855,599,557,1458,1984,998,499,807,1262,1290,949,1174,1318,688,678,834,1390,1662,1526,1534,1150,1226,1522,1416,1156,788,1066,1358,1598,2346,1826,1372,969,1060,1020,700,1024,1106,1244,1564,1262,1546,1812,1326,984,1178,1472,1414,1396,1226,604,454,869,1048,1320,1504,1372,1376,1172,1208,1226,1196,1154,1050,819,572,438,724,853,791,1306,1460,1166,1146,1042,810,1030,1166,1406,1312,890,795,720,686,869,1082,1102,1168,995,670,658,965,1380,1254,1034,1300,1540,1512,742,644,587,634,955,1584,1546,1252,851,716,999,1040,705,615,773,1124,883,835,751,832,985,1126,904,969,1300,1252,1252,1012,959,1204,788,444,425,598,931,1320,1350,1194,1432,1950,1918,1788,1001,678,1404,1638,1524,1132,740,686,1134,1340,1062,1058,765,596,579,601,1158,1734,910,707,910,1068,1268,1122,1086,1382,1332,1244,1246,1174,1324,1038,675,379,369,424,422,483,541,462,486,510,529,765,1036,1098,730,883,1216,1222,1346,1476,1678,1836,1422,965,626,648,993,1784,1516,688,347,426,669,880,680,436,506,865,1216,1446,1070,678,626,830,1314,1016,723,1526,1810,838,653,393,237,255,290,279,268,287,276,268,259,467,868,486,352,369,470,513,490,393,338,309,370,399],[1122,1016,920,840,845,821,856,830,806,947,798,670,707,607,694,771,417,281,276,547,1296,1550,1318,1014,440,390,400,496,510,562,702,1434,1882,1204,865,662,389,480,402,328,269,317,304,350,395,458,609,583,565,577,450,444,811,1450,1762,1586,1318,1624,1546,984,569,392,342,359,354,317,348,303,298,340,467,1034,1870,1330,742,836,1120,1232,1692,1924,1526,1036,524,883,1492,769,621,674,895,1198,816,584,667,494,398,310,383,534,579,535,486,442,430,422,487,450,381,355,345,301,258,294,309,267,317,312,291,418,400,377,499,556,388,312,343,320,286,265,250,328,329,267,258,234,287,410,493,568,691,1042,1368,1106,1258,1420,1208,685,493,479,679,1058,1007,988,1004,1134,987,849,520,585,924,1130,1400,1016,1032,1446,1472,1112,905,588,516,650,523,441,463,483,487,496,466,441,464,459,427,438,535,445,485,405,377,403,393,417,820,1418,1372,771,691,457,385,425,525,619,516,395,379,388,368,298,259,232,218,225,245,235,220,222,228,211,184,232,286,292,417,499,366,317,283,263,236,255,278,279,282,302,301,280,280,255,255,310,329,375,339,337,358,362,364,418,409,357,336,337,361,396,462,590,471,688,723,769,926,839,692,537,448,367,653,1166,1248,1340,1212,1384,1542,1240,1052,1208,1526,1584,1342,1108,1024,777,495,386,445,613,692,651,616,771,1320,1622,1422,1204,1020,1094,1346,924,719,686,565,447,494,669,1082,1720,2192,1726,1056,1038,1166,1326,1050,622,437,350,658,1218,1772,1996,2012,1644,1404,916,756,1028,1306,977,566,512,728,1200,1302,1152,974,946,1270,1356,1270,1192,1230,804,601,946,1013,1116,1184,870,535,514,503,734,899,841,799,812,875,962,1108,993,925,1244,1352,1340,936,776,833,670,490,368,258,220,403,713,1606,1842,796,550,636,583,430,321,322,426,565,675,766,803,816,839,881,833,600,321,237,252,267,241,317,407,401,379,439,440,450,739,1050,1780,1854,1672,741,442,636,689,521,500,529,528,485,466,433,475,789,874,974,1360,1636,1354,697,402,424,368,413,515,458,437,484,767,1164,1394,947,477,746,1158,872,905,1562,1824,1290,916,856,839,813,1130,995,948,807,655,1130,1512,1288,1086,876,960,869,1466,1702,1178,695,580,734,751,623,935,1310,1420,928,715,703,799,891,904,941,1166,1350,1562,1176,655,749,724,709,588,805,1144,1258,1120,806,791,889,746,710,1038,1568,1372,1034,822,605,537,727,557,420,565,911,1210,1580,1400,561,665,888,741,974,1302,1734,1616,1218,1038,1162,1196,1214,1538,1694,1532,1360,1306,1076,1102,1114,1156,1230,852,466,489,595,933,1034,1030,1122,1036,1128,1268,1404,1310,1023,1114,1368,1044,806,849,872,1150,1007,1100,1256,1214,991,875,888,823,769,638,560,722,1015,933,727,749,869,618,822,934,628,641,802,1074,1210,720,778,1302,997,1050,865,839,775,685,758,672,723,817,851,1060,1144,883,626,539,741,678,836,907,742,783,1098,1470,1402,1240,1036,866,830,1144,1398,1534,1454,1362,1116,1002,1344,1426,1122,693,564,826,934,1294,1436,1376,1438,999,709,612,615,944,832,484,628,981,880,513,1120,1486,1210,775,818,855,1188,1476,1196,1250,1184,1508,1298,1262,689,425,586,723,852,1034,984,792,722,1122,733,767,1136,1226,1280,1198,1170,1116,1086,1210,998,765,1202,1458,992,569,621,552,478,476,648,675,547,825,743,828,1284,1212,1814,2018,1292,564,719,871,1040,1224,1004,935,1262,1202,736,587,662,793,668,1122,1224,1146,1334,1212,1218,1342,1270,1166,1312,1704,2242,2640,2204,1508,1426,1498,1504,1802,1730,1604,1522,1642,1962,2006,2074,1700,1150,1204,1272,888,1005,937,1009,1180,1164,1096,1354,1636,1620,1600,1346,990,721,1488,3168,3912,3970,3950,3152,2076,1526,1400,1300,1026,1016,1384,1466,1534,2776,3536,3632,3640,3444,2542,1882,1620,2182,2706,2186,2292,1914,1748,1654,1200,861,943,796,667,1058,1374,1652,1136,601,567,514,485,455,494,497,567,904,1332,1636,1374,940,828,1024,1258,1174,890,694,813,1206,1368,1354,1246,866,507,438,303,462,645,1302,1206,1436,1632,1128,633,835,800,460,420,301,207,285,411,357,375,391,430,519,549,465,516,568,788,1202,1174,794,1728,3550,2394,1380,924,844,966,795,396,463,752,495,561,1218,1056,1015,1106,664,339,426,1058,1170,1300,1190,552,1030,918,792,612,686,660,401,308,855,1692,1910,1694,1400,1298,1256,1450,1462,1136,750,526,971,1470,1522,1216,879,917,801,469,426,509,671,593,339,300,534,860,833,645,532,1094,1932,1776,1400,1710,1380,1136,1088,1088,1544,1086,879,1108,718,627,678,591,532,644,898,1140,848,813,808,859,1158,1454,1780,1656,1086,1116,1246,1090,1118,1246,1172,909,498,737,1212,764,897,1734,1554,1274,1426,918,1026,963,1410,2250,1942,1518,1542,1418,1498,1832,1970,1832,1372,700,606,943,1188,1242,1204,1042,563,533,938,929,510,776,805,469,586,891,729,648,1662,2070,1528,1050,674,647,642,987,706,715,564,569,706,1030,1024,684,436,493,396,378,433,627,802,795,941,1090,877,857,1001,1220,1320,989,744,1060,1234,1156,1284,1450,1406,1190,1418,1474,1252,1230,1126,911,1130,1512,1456,1001,881,683,613,1032,1300,775,590,571,619,1104,778,529,572,653,780,700,602,385,287,324,295,364,482,458,271,237,277,291,320,303,294,287,273,288,303,320,309,289,306,305,294,289,294,279,303,274,273,289,292,280,274,281,306,350,403,443,447,395,508,503,466,516,608,690,686,539,427,418,466,369,364,586,789,791,778,705,522,470,486,523,655,934,1544,1570,1438,1364,1706,1488,1448,1522,1484,1532,1376,1156,961,857,655,868,1238,1524,1472,1034,1040,1168,1250,1438,1454,1274,1036,1034,865,781,1236,1412,918,818,1116,1130,1076,1112,1048,1058,1082,1314,1212,1056,932,786,1008,1180,964,818,934,1050,892,891,903,557,586,878,640,646,519,476,396,539,869,1098,1042,1094,1220,885,938,1400,1508,935,671,628,633,1066,1458,1560,1804,1300,690,373,496,1222,1548,1004,473,910,1244,698,388,678,1020,1158,1096,935,814,882,487,400,521,547,846,1170,949,610,1126,1220,653,354,427,412,390,502,535,476,462,480,547,1266,1732,1136,490,418,377,530,661,995,874,530,491,802,1042,850,1184,1174,999,1646,1140,536,716,1550,1934,1666,968,674,550,467,460,480,543,354,400,523,637,1030,1180,1236,1078,1160,1482,1304,794,695,1384,2232,1808,1108,1001,802,868,980,900,694,669,913,1194,1510,1214,611,532,481,600,1007,1082,1062,1390,1708,1288,539,281,315,352,365,341,266,234,237,254,509,1180,918,353,296,304,366,391,384,541,773,804,1310,1726,1204,789,675,920,1036,1002,1226,984,1124,926,890,1076,1120,1154,1216,1032,968,1168,1306,1406,1220,1080,1212,998,732,1094,1220,1244,1126,1044,997,1032,1136,1256,1476,1456,1260,977,851,1238,1230,1102,1160,1394,1350,1168,1294,1208,967,918,1216,910,901,806,689,515,489,497,464,490,586,813,1478,1672,1356,1632,1280,777,631,1076,752,433,843,1224,846,556,684,771,745,689,919,1005,847,927,1312,1266,1306,1398,1086,428,423,675,905,707,1056,1326,1306,1642,1518,1086,789,775,1182,1318,1088,898,1312,1366,1050,938,1120,1160,971,1172,1156,941,690,541,804,966,882,667,671,674,632,936,963,629,514,753,1015,1134,999,909,825,747,902,758,1120,1540,1660,1474,990,712,904,1242,1136,771,1013,1056,1184,1538,1318,955,767,1372,1480,1166,962,972,1244,1500,1610,1638,1598,1250,1046,1300,1244,1144,1354,1122,490,896,1322,634,969,1448,1362,1240,1248,960,908,1104,1010,904,1102,1250,843,907,910,866,1146,1404,1282,944,849,1046,1212,1104,1168,1188,693,832,863,583,844,1013,1236,1236,826,543,536,591,660,742,807,1100,1196,882,415,572,643,501,1140,1964,1818,1144,673,648,1184,1116,550,533,988,1114,843,932,764,719,797,815,901,1012,1234,1370,999,1204,1572,1340,895,778,752,886,1154,1216,1074,1218,1498,1708,1684,1284,648,662,1276,1144,1096,1354,1462,1278,1642,1836,1724,1422,1062,747,700,691,932,1176,939,764,1070,1492,1430,938,1220,1480,1356,1060,1088,1044,958,714,545,433,367,486,542,661,509,389,431,441,409,490,647,813,968,1322,1234,1084,1350,1274,1552,1576,1204,1338,974,618,594,1208,1532,930,423,556,784,758,438,350,446,1342,1544,1276,963,691,485,985,1678,1236,667,1066,962,490,362,292,291,289,292,277,254,255,250,287,325,369,569,486,359,293,369,452,454,387,316,323,303,270],[1312,1092,714,487,547,775,959,895,984,1290,901,641,546,476,666,684,405,332,350,461,589,677,652,828,510,421,441,746,1026,1118,1180,1740,1628,929,916,550,395,475,332,321,299,319,298,387,540,636,623,533,440,403,452,458,677,870,779,555,697,970,1084,1094,1152,982,482,348,377,339,418,383,378,348,385,940,1310,969,625,508,445,577,1134,1156,737,519,436,705,1288,810,499,473,872,988,499,510,506,322,287,302,381,482,559,508,441,426,447,445,425,362,396,479,423,322,314,311,443,494,543,555,534,536,436,395,434,440,358,352,318,314,312,284,196,234,291,274,262,328,437,730,750,891,1154,1228,1448,1230,1274,1520,1304,830,518,462,598,1096,1500,1794,1510,954,888,1004,810,688,785,971,1094,1100,1114,1394,1606,1538,1210,794,542,430,349,345,373,380,416,395,387,404,425,430,443,556,730,533,373,317,366,565,606,545,924,1206,1092,881,716,651,460,415,449,495,422,358,329,359,372,335,309,227,220,223,233,248,249,247,253,241,221,247,267,359,882,1274,594,457,408,361,347,334,302,287,248,229,253,253,274,222,225,316,336,359,357,351,350,343,339,325,349,342,348,348,351,397,440,603,471,465,500,584,759,810,619,409,434,445,783,1210,1016,1202,1298,1328,1310,1142,940,1030,1246,1218,1100,1032,917,637,486,430,408,469,505,483,512,766,1184,1422,1610,1040,729,854,880,685,581,733,716,476,488,635,1056,1490,1972,1470,1250,1310,1250,1318,1050,816,619,560,938,1030,925,1482,1808,1628,1168,606,425,380,949,1196,744,653,800,896,711,1042,1086,1190,1316,1226,1064,1204,1352,875,532,613,522,586,692,922,632,475,595,753,689,512,452,492,582,904,1372,1914,1986,1470,1284,1334,1104,861,707,607,482,359,320,408,656,890,753,551,544,520,651,650,481,297,257,408,521,597,745,843,843,758,753,570,338,243,252,270,282,262,263,323,385,414,441,480,357,645,748,1086,1332,861,466,349,318,328,363,475,435,445,417,419,393,435,744,951,1068,1360,1682,1476,677,407,410,427,466,439,503,493,433,539,763,758,638,554,581,758,684,897,1384,1558,1478,1278,1022,787,992,1088,864,814,724,641,731,1226,1078,781,877,1036,1094,1626,1746,1548,1040,561,720,716,743,1166,1190,1288,1394,1052,908,954,816,666,849,1038,1444,1682,713,722,615,599,856,866,854,1076,1628,1452,684,701,774,954,1074,1484,1990,1854,1244,651,442,420,473,477,540,772,831,937,1064,864,523,622,975,1013,1366,1932,1814,1286,1013,1046,982,1322,1616,1738,1810,1372,1036,806,648,924,1180,1116,1284,1272,667,473,592,1110,930,633,716,1132,1344,1288,1192,1122,1312,1678,1290,755,885,768,591,649,490,415,961,1248,1250,1304,1130,896,702,782,979,772,658,523,474,693,830,585,912,980,583,781,1006,1222,1416,1204,755,993,872,1240,1170,993,923,927,1204,1308,983,854,1378,1712,1282,1080,732,726,993,861,785,696,772,785,1200,1630,1288,880,777,607,638,1044,1324,1460,1378,1578,1584,1136,1250,1682,1422,769,686,957,1110,1366,850,841,1130,1014,1116,1142,890,767,954,733,858,1106,715,738,1140,1194,1264,1064,792,932,1112,1236,1062,1204,1570,2050,1628,1144,844,727,677,750,1104,1198,1272,1318,1020,1240,767,626,744,760,904,1260,1388,1198,1126,1280,1152,1290,1440,1188,576,536,772,766,669,532,581,637,656,609,658,807,1236,1392,1648,1392,1018,957,1014,993,852,954,1146,1019,1302,1238,774,581,667,816,946,1342,1302,1064,1172,985,954,1422,1432,1748,2684,3030,2452,2558,2700,2136,1514,1386,1416,1372,1638,1914,1948,1998,1974,2026,1966,1664,1072,1170,1454,1200,1082,1120,1268,1108,1168,1302,1618,1614,1766,1448,1148,1346,1116,2416,3820,4074,4024,3874,2986,1900,1582,1618,1072,1312,1994,1750,1422,2330,3400,3594,3640,3562,2720,1888,1804,1544,2306,2746,2262,2556,2446,2036,1824,1602,1322,1184,763,771,1316,1434,1616,1074,609,539,493,534,606,616,517,537,767,1184,1682,1432,966,744,856,1044,968,747,730,1064,1366,1372,1104,986,872,676,405,403,531,599,1142,1604,1388,1310,1172,656,667,851,484,390,258,220,262,304,337,395,440,514,556,449,440,492,342,473,863,1360,1090,1052,2614,2462,1338,1066,896,877,797,375,540,857,497,570,1296,1246,1252,1046,776,705,557,845,866,879,680,514,913,810,777,625,966,964,515,384,824,1388,1400,1318,1294,1356,1300,1422,1190,740,645,512,936,1516,1334,944,676,668,579,691,506,592,722,517,336,278,605,1036,1146,785,594,732,1180,1346,1286,1340,1080,795,999,1388,1394,988,950,970,669,691,988,913,704,948,1100,1086,1162,1466,1416,1384,1784,2340,1866,1518,871,645,636,765,1108,1126,688,631,537,774,1288,925,1038,1416,1232,1496,908,1108,1378,1218,1422,2222,2332,2110,2232,2292,2380,2358,2062,1488,1134,683,485,439,592,624,611,626,537,648,772,714,446,751,615,354,707,1454,1428,1164,1574,1612,1332,1284,1324,1490,816,829,822,1152,802,788,1180,1086,1016,844,661,689,491,684,550,763,771,456,433,522,442,532,802,1144,1194,764,466,440,399,372,880,1032,932,943,941,883,1056,1306,1286,1404,1378,1260,1074,728,772,836,983,1300,1017,643,1086,1012,898,1100,658,447,379,275,323,558,699,521,417,425,248,231,277,380,384,309,284,319,323,295,282,278,258,271,303,319,314,294,301,297,310,311,298,283,275,271,280,294,298,286,286,294,310,339,376,381,405,370,443,454,509,612,615,669,574,415,379,418,469,414,363,416,688,789,795,777,692,602,486,608,534,733,1222,1294,1506,1610,1220,1038,1190,1350,1644,1816,1560,1406,962,735,760,588,990,1496,1342,1108,903,805,1262,1510,1336,1252,878,777,636,660,1130,1490,1216,1030,1088,1008,1022,882,917,938,892,1046,695,701,607,531,1154,1338,938,636,907,967,573,926,978,922,745,771,724,876,763,505,328,380,748,1230,1250,1278,1188,1228,1604,1620,1262,788,558,517,542,1216,1874,1408,1388,1758,1240,524,437,1362,1994,1470,636,584,637,500,721,940,1170,1262,1230,1072,1328,1306,854,467,343,292,321,626,844,595,962,811,507,390,434,468,555,595,540,484,583,801,884,1242,1482,1064,586,424,399,883,821,854,1232,1180,1076,1434,1584,1300,1764,1174,565,847,754,544,805,1194,1208,804,873,996,462,419,518,667,753,427,280,415,503,772,1356,1588,1324,1302,1520,1284,1012,726,1160,1394,1484,1186,1048,633,620,1021,1310,819,621,1384,1648,1514,1340,726,497,454,470,684,763,848,1178,1120,643,384,280,292,322,366,291,225,266,290,274,666,1016,632,418,365,409,407,385,331,513,1016,1196,1468,1066,630,652,818,864,1050,993,1312,1018,899,1015,937,714,1030,1562,1472,1098,653,902,791,657,852,835,794,739,775,966,1120,1272,1232,1144,1150,1068,1023,1064,1172,1140,1072,867,957,1314,1146,1106,1188,1242,1288,1072,1042,891,1036,821,1096,858,845,844,730,556,501,518,529,535,628,938,1494,1648,1032,1118,853,591,630,659,505,454,630,741,415,375,568,523,550,610,797,1210,1312,1438,1672,1532,1484,1542,1518,686,502,875,783,531,938,1116,1086,1210,1226,1168,626,483,848,916,897,1038,1528,1830,1570,1468,1574,1306,1432,1732,1278,1072,912,602,695,980,749,806,819,632,604,462,431,401,483,777,1146,1068,841,670,574,835,637,681,1238,1710,1830,1698,1476,1128,868,865,1104,1084,1024,971,1090,1226,1056,841,1036,1384,1688,1644,1162,996,962,1052,993,964,1138,1138,1338,1424,1156,1208,1290,1224,892,1440,1318,807,1288,1412,1394,1296,1162,1058,1092,794,805,999,1054,1632,1384,1230,1106,1018,914,1152,1120,989,1010,1032,1116,1138,1202,1338,989,947,988,948,812,1023,1224,926,558,403,349,381,537,739,771,739,905,626,376,426,527,515,858,1274,1066,909,929,866,1288,1150,856,670,1034,1040,1188,1464,1066,973,937,809,805,1005,1028,1192,1002,1408,1700,1466,1370,1400,1484,1410,1240,949,718,1396,1456,1190,1344,1466,1078,1156,1284,1308,1354,1050,1038,1564,1948,2054,1902,1456,1078,802,717,624,656,1074,1154,834,921,1324,1144,993,1456,1584,1450,1210,1040,1050,1122,832,701,480,409,547,694,666,547,475,427,418,427,406,441,545,942,1524,1412,1116,1556,1344,1144,916,1104,1428,1192,886,506,628,807,552,380,361,365,402,262,345,400,918,1364,1228,1042,999,543,969,1662,1620,798,713,654,487,368,334,291,288,362,419,385,332,404,330,317,247,421,547,330,212,254,287,333,318,276,340,342,312],[918,664,498,405,370,587,722,651,832,977,628,505,491,447,650,673,541,598,592,816,797,636,541,700,554,521,740,1294,2082,2142,1694,2034,1748,1166,1134,630,500,479,379,332,328,292,314,371,417,444,430,400,415,543,680,647,531,468,552,579,622,792,783,855,1128,1096,642,440,362,337,334,317,346,319,328,494,474,446,486,416,327,373,673,1010,740,557,445,490,593,579,671,790,968,601,322,303,307,298,274,293,428,454,400,436,407,431,399,452,680,744,941,946,699,416,416,559,1112,1160,711,552,624,744,534,409,409,422,393,401,309,263,276,262,249,296,349,386,470,390,358,550,509,630,735,944,1360,1274,1144,1308,1352,1256,885,841,672,1204,2008,2288,1464,716,668,648,566,667,771,926,1016,1404,1230,1254,1334,1398,1058,727,472,333,360,304,232,290,347,369,382,399,430,412,415,666,821,610,432,393,451,521,502,532,581,581,620,736,608,719,587,392,432,444,407,483,440,383,356,339,346,277,231,209,193,233,265,228,218,219,263,325,356,576,934,879,572,542,466,500,594,607,559,512,441,352,301,310,346,290,305,347,365,372,401,430,386,341,355,361,362,354,335,313,321,342,412,454,413,411,421,440,560,683,582,569,575,609,767,802,679,689,739,677,672,937,1012,804,669,648,843,813,550,458,462,412,422,409,403,400,428,672,1244,1902,1678,675,428,586,636,586,564,597,549,516,569,667,1004,1366,1672,1660,1390,1026,1196,1418,1578,1326,786,920,1192,998,851,1572,1536,1424,869,500,419,470,962,1120,476,419,650,919,1514,1310,962,938,929,947,929,985,1102,959,758,738,647,515,412,572,501,418,633,633,455,371,368,433,800,1150,1346,1538,1346,662,742,1256,1324,963,709,578,532,433,678,972,818,608,521,662,656,651,731,668,602,430,288,323,434,612,761,783,731,670,469,271,254,284,290,305,327,290,310,343,366,367,359,364,332,546,797,928,733,449,454,395,367,322,349,496,376,383,380,403,388,419,637,847,1146,1528,1652,1550,666,532,541,500,500,544,660,538,425,508,522,558,868,963,890,739,607,861,1268,1300,1190,976,841,1042,1064,781,531,876,1118,1096,1126,1316,1072,997,1302,1146,1168,1334,1276,1240,1156,795,819,1000,1088,1023,879,1192,1586,1620,1372,957,703,615,606,805,1064,891,563,706,631,647,868,1092,882,978,1546,935,462,625,593,930,954,1030,1422,1558,1396,816,403,372,412,440,659,959,1122,1066,974,1060,850,1046,1428,1512,1870,1590,875,537,718,1196,1296,1576,1626,1626,1574,848,412,583,633,763,1102,1130,1116,1208,954,739,882,883,818,1084,1436,1550,1294,1114,1238,1432,1492,1556,1044,1023,1002,747,457,339,258,365,963,1384,1544,1328,1148,999,692,835,1066,958,705,402,825,1208,849,548,990,1246,731,875,820,883,1026,1246,1114,844,922,1346,1234,1148,1272,1126,1192,1512,1142,739,1040,1176,1001,1428,1152,1166,1278,1028,1011,832,958,766,673,695,816,677,792,823,1118,1138,957,867,969,1328,1388,995,1070,901,944,712,846,799,596,413,289,547,961,1218,1238,913,869,798,991,821,814,747,556,922,1056,961,1372,1388,1132,1015,1136,1312,1034,1230,1512,1504,1262,961,846,1206,1204,676,966,1272,1556,1412,1172,864,664,965,868,490,525,678,916,1148,1050,839,919,964,769,799,562,922,1132,867,700,593,586,670,798,554,820,737,850,1196,1432,1356,1032,852,1104,1334,929,579,995,775,1064,874,811,566,546,924,1218,1318,1416,1306,1108,851,817,1576,2514,3222,3872,3768,2100,1990,2542,2544,2042,1358,1204,1618,2182,2206,2260,2020,1810,2002,1980,1744,1050,908,910,1086,1172,971,1190,1100,1124,1570,1570,1642,1634,1168,1296,1500,1234,1730,2740,3874,3928,3282,2178,1784,1454,1294,1448,1764,1754,1356,1866,3220,3592,3616,3550,3054,1828,1952,1610,1598,2392,2662,2504,2798,2754,2122,1748,1820,1844,1432,706,804,1100,1636,1830,1200,708,596,506,491,675,819,622,724,856,899,1226,1498,1268,821,733,821,747,613,821,1334,1344,940,500,502,805,697,436,411,550,639,630,1106,1584,1548,1622,936,518,708,561,368,239,221,258,345,445,455,414,459,581,603,628,476,367,401,556,1036,1296,935,736,638,705,996,1072,932,728,407,498,623,421,691,1252,1296,1228,1130,1200,1224,973,1234,1124,724,689,896,912,958,910,841,1190,1230,943,814,902,941,918,857,1118,1252,1124,1100,883,706,735,794,1268,1520,957,413,330,441,484,849,883,797,668,588,538,607,607,636,1018,1126,914,810,791,1112,1168,1090,1158,1042,1116,1058,887,908,1010,981,601,686,1290,1190,910,861,1144,1198,1258,1438,1028,1274,1612,1716,1138,1170,811,511,509,730,1164,1168,697,553,454,758,1414,1406,1136,1306,1310,944,1174,1672,1286,997,1550,2382,2546,2592,2580,2414,2408,2054,1804,1396,940,617,491,531,539,493,477,591,704,601,1064,1356,1015,636,379,305,750,1324,1362,1490,1588,1062,832,976,1384,1202,757,637,689,907,791,1152,1292,796,940,953,1174,825,767,996,1021,1370,1126,612,539,487,554,646,811,1320,1446,886,447,490,469,430,837,925,821,717,432,411,399,452,552,845,1120,1518,1284,992,756,636,774,833,779,890,1336,854,854,695,674,834,576,346,338,432,637,666,846,856,303,263,267,317,360,434,400,297,287,300,277,273,265,251,265,281,302,296,306,319,340,324,327,316,276,279,269,286,304,295,274,288,307,334,369,401,427,398,406,398,441,518,490,472,438,379,365,418,443,475,438,369,517,704,802,825,862,732,700,1162,717,618,810,1140,1682,1726,1372,1184,1220,1510,1526,1522,1318,1466,1128,897,1116,993,1196,1562,1426,1154,1066,975,1216,1166,1074,1334,1066,758,786,938,1220,1456,1334,1050,803,724,1024,683,523,403,601,583,529,711,639,1224,1832,1576,1154,685,1010,1011,582,688,745,968,877,618,577,751,968,834,412,350,433,554,665,998,1074,1134,1122,906,667,483,434,409,399,755,1272,1190,1682,1980,1216,507,413,950,1710,1670,977,549,586,673,832,773,1000,975,919,1100,1186,1436,1414,747,362,348,487,1142,1450,835,512,400,316,339,373,481,577,560,522,466,653,937,896,1428,1620,955,691,707,688,816,541,540,1030,1142,1172,1262,1350,1710,1616,649,494,799,727,737,875,914,656,479,664,541,296,467,443,455,518,348,376,565,658,1068,1356,1282,1102,1174,1210,1038,605,689,1042,1038,1082,1088,728,430,408,540,823,517,498,919,1256,1520,1516,1146,771,633,658,762,915,1246,1118,638,425,461,357,266,292,355,312,264,268,257,266,453,414,287,344,427,475,421,393,385,678,1010,1021,675,405,576,814,1144,1122,1118,1458,1526,1224,1218,1262,1194,935,1302,1626,1432,1154,916,1306,1254,933,748,568,355,456,772,1003,1174,1244,1044,1064,1422,1322,1216,1286,1310,1154,969,917,1198,1334,1260,1252,1236,1288,1390,1112,1056,1044,886,783,998,1262,1384,1166,838,666,730,946,772,552,630,1356,2016,1700,841,566,488,469,493,484,423,483,490,533,371,340,422,451,465,605,1218,1802,1448,1646,2014,2092,1700,1440,1330,740,387,428,370,387,686,957,988,799,828,1078,1166,763,642,628,871,975,1502,2214,1944,1454,1100,855,954,1200,1056,1102,926,704,614,792,788,1168,1060,602,604,405,368,413,650,1184,1390,835,546,746,749,618,623,832,1302,1534,1346,1490,1440,1664,1584,1468,1530,1312,1108,1268,1440,1306,955,714,1104,1644,2258,1396,947,1122,1042,728,783,1162,1408,1326,1402,1322,1330,1400,1272,1146,1214,1522,1090,1074,1408,1530,1418,1202,1003,1232,1198,780,565,619,749,1038,1224,1240,865,704,882,936,807,883,1162,985,1058,1440,1294,1238,1290,1104,1116,957,722,805,713,716,802,477,588,636,514,618,619,513,700,667,421,458,728,620,966,1056,767,819,875,726,847,958,1124,1016,1430,1668,1504,1206,1174,1212,1352,736,561,819,833,962,1178,1402,1472,1436,1136,1160,1444,1356,1278,1082,979,1056,680,721,1140,1480,1398,1142,1172,1880,1926,1418,1144,1318,1488,1598,1834,1678,1132,776,866,966,985,1136,990,1102,1236,1526,1013,1118,1496,1488,1396,1116,866,1364,1456,1472,1700,907,580,669,765,651,472,391,374,398,408,404,604,1324,1642,1792,1760,1030,836,751,1278,1394,1005,857,912,1110,782,494,561,413,343,283,302,247,237,325,336,553,857,1068,1422,1488,887,709,866,1150,802,954,1020,572,490,439,352,332,659,789,552,500,571,371,255,194,247,288,234,205,217,249,262,273,286,306,368,354],[469,447,412,372,321,423,421,412,463,744,942,795,677,544,530,566,771,1096,879,778,785,624,726,941,906,858,1068,1514,1964,1842,1340,1804,1536,1264,1244,826,754,741,586,396,324,444,450,404,413,408,406,488,666,767,670,610,527,459,786,866,451,439,461,505,578,626,389,336,309,309,359,363,393,394,418,534,401,321,342,361,322,387,802,1342,1190,774,750,1102,1268,1132,1082,1174,932,422,441,561,593,443,363,375,436,435,625,826,503,477,490,760,1472,1536,1434,1522,1054,506,464,577,1102,1258,828,628,562,580,460,424,547,462,390,388,289,228,279,271,274,400,491,558,521,304,281,366,341,384,750,1208,1246,1264,1294,1224,1272,1346,1180,1286,858,1036,1260,1064,741,616,623,682,875,913,665,729,606,1034,1076,954,936,882,620,513,425,396,509,354,340,310,374,404,565,667,626,544,637,959,1012,857,678,609,585,514,531,613,608,660,742,733,596,540,454,413,395,371,430,498,429,362,340,347,356,319,255,220,211,221,222,213,250,305,354,437,401,513,780,714,602,514,480,656,736,766,713,684,747,714,697,735,565,425,416,395,372,418,448,459,411,379,373,372,373,374,342,315,320,303,333,391,411,456,400,388,492,495,461,504,609,596,547,533,526,521,536,600,554,861,1076,997,959,820,781,625,358,337,347,381,407,429,477,615,588,882,1156,1438,1238,931,1034,1166,1116,1086,1360,1444,1418,1032,895,913,1280,1918,1892,1724,1332,898,893,1076,1418,1500,1360,1226,1152,912,1372,1858,1582,1056,628,589,492,515,619,600,462,432,395,1086,1626,1234,753,600,730,774,738,885,1124,904,885,861,899,951,800,542,321,361,525,532,452,382,411,828,1382,1398,1224,965,834,681,758,1060,1078,1018,834,703,633,590,1166,1362,761,615,688,616,552,763,822,722,819,804,511,334,416,595,701,747,663,463,260,241,269,292,301,304,363,372,312,314,320,258,264,270,338,390,611,1076,1266,1023,582,440,379,332,350,469,391,383,393,403,411,431,581,697,1023,1402,1494,1406,639,486,548,500,515,610,655,578,549,464,389,533,785,979,1358,1122,841,812,910,822,888,944,913,1012,1026,1194,860,1154,1534,1302,1274,1432,1304,1290,1228,1072,1138,1132,898,806,967,1112,1144,1346,830,552,767,1112,1396,1460,1078,632,601,531,566,924,720,882,962,698,480,473,561,726,736,846,930,493,401,493,920,1050,583,529,782,879,720,461,513,367,464,451,573,810,1028,897,858,1098,1052,1206,1086,985,1246,725,450,427,639,1342,1622,1582,1364,1482,1498,979,678,656,507,563,989,1198,1004,1128,1052,957,1230,1164,1316,1506,1412,1180,1034,1140,1276,1334,1174,1086,745,855,826,581,475,390,340,539,1054,1140,1452,1032,902,752,538,670,1080,1354,885,490,1026,1302,725,604,838,744,858,1028,764,977,964,875,1126,1136,878,726,759,1228,1472,1020,579,677,530,484,605,628,1017,1148,974,1318,1282,1178,1300,1000,992,924,1023,977,995,901,815,1005,1290,1090,817,539,1022,1378,1220,1174,913,527,533,843,1122,926,635,497,536,768,1318,1490,1292,736,501,688,1024,1144,1344,1202,849,892,971,1000,818,974,1108,1118,1422,1160,1116,1232,1050,930,965,861,1078,1590,1098,860,1434,1932,1876,1516,1306,841,829,1114,952,919,719,369,462,938,1220,1100,913,563,438,742,770,1138,1318,691,642,721,802,678,582,454,651,612,560,901,1126,999,751,532,1022,1578,1336,539,904,819,798,675,761,799,818,1124,1152,910,1204,1196,947,888,1086,1802,3208,3710,3846,3864,2388,1522,2156,2836,2388,1680,995,1422,1978,2162,2126,1648,1548,1832,1844,1554,1410,1342,1096,991,1158,1152,888,1196,1444,1848,1772,1520,1166,1282,1422,1314,1502,1364,1436,2602,3184,1948,1572,1474,1350,1454,1714,1602,1306,1614,2912,3648,3672,3610,3340,1888,1074,1528,1454,1522,2270,2612,2558,2962,2710,2018,1678,1620,1534,1170,658,1036,1312,1696,1994,1506,801,612,520,461,698,813,692,743,672,686,1080,1386,1510,1266,822,621,709,1156,1406,1436,1008,552,349,281,526,789,619,355,462,606,634,626,768,1290,1662,908,509,647,689,501,346,241,243,334,461,493,431,408,535,835,849,822,854,609,437,621,1058,1232,816,697,625,813,1138,977,699,435,387,514,733,1172,1484,1588,1576,1608,1624,1614,1632,1628,1476,1292,1352,1486,1484,1490,1544,1556,1540,1514,1536,1508,1570,1482,1440,1556,1624,1592,1546,1616,1628,1506,1442,1498,1548,1252,885,446,322,489,533,675,931,816,491,562,699,890,1042,668,514,774,990,864,713,1001,1054,1136,1308,1005,863,652,782,834,950,982,677,531,814,1058,1036,1050,1266,1140,1226,1678,1334,1284,1394,1788,1192,1154,840,431,444,487,589,704,654,578,612,919,1444,1412,1112,1388,1178,1112,1914,1730,995,868,1674,2288,2320,1880,1658,1488,1478,1246,1330,1410,1130,874,625,808,631,523,585,772,1114,992,1256,1518,989,410,333,322,517,740,715,1084,971,697,625,607,836,971,866,475,405,566,805,985,761,615,837,819,852,530,500,579,844,1148,987,854,805,576,589,587,699,1166,1432,1054,628,519,376,504,730,614,627,720,718,910,484,347,300,351,513,503,677,938,1168,1274,1018,832,747,505,585,674,824,976,1628,1866,921,513,629,437,466,675,1220,1226,640,321,259,325,347,495,623,503,263,272,289,280,272,270,310,325,305,283,301,319,351,371,363,331,314,348,308,294,312,288,272,275,283,302,346,430,463,405,407,456,497,484,504,428,394,390,372,403,482,616,594,404,385,579,814,834,853,836,893,951,700,636,739,1022,1422,1762,1608,1338,1666,2164,1594,1310,1362,1404,1228,978,995,1144,1354,1584,1692,1474,1544,1296,1120,866,834,1220,1342,1164,1100,1160,1046,1084,1264,1122,990,869,928,652,607,483,544,814,889,696,1158,1884,1632,1270,1012,940,1196,1038,561,500,604,866,915,661,636,998,1476,1094,567,305,251,425,672,830,1000,901,625,520,431,360,326,389,415,569,1050,1094,1304,1480,944,499,431,564,998,1188,1048,927,586,521,719,673,938,938,839,1017,1038,1172,1472,1238,575,555,694,1280,1592,941,427,380,450,438,347,339,392,598,577,781,637,746,639,705,780,650,820,974,926,797,394,361,735,1098,1102,904,794,1044,932,647,773,833,735,912,1406,1084,502,305,333,327,345,403,300,278,314,295,488,764,663,844,814,738,820,1050,1200,889,472,961,1556,1432,1178,1110,568,445,485,424,403,432,415,858,1532,1444,1742,2370,2468,2122,1580,1376,1738,1736,1262,624,424,436,312,236,283,322,337,291,261,228,253,412,363,346,406,659,832,797,558,397,739,1092,792,505,772,1108,979,1026,1068,1038,1096,1086,1152,1032,847,874,847,1116,1132,1150,840,888,1036,1232,1198,1014,735,500,609,1005,1382,1472,1354,1202,1418,1450,1336,1266,1276,1142,1013,1164,1722,2056,1740,1594,1370,1498,1548,1342,1130,999,1308,1294,1078,1092,1296,1426,1422,929,810,938,1376,935,607,750,1658,2176,1486,650,505,520,508,413,296,330,385,506,625,497,504,780,772,546,635,1294,1634,1318,1722,1788,1620,1350,1224,1122,775,412,323,328,392,515,583,656,967,1460,1318,1432,1152,783,831,1470,1368,1244,1720,1254,887,774,718,667,640,904,1178,790,455,552,654,797,1142,910,719,678,462,759,621,810,1428,1514,855,961,1372,922,728,754,714,1007,1162,1192,979,1044,1324,1526,1654,1660,1238,952,1190,1142,1354,1196,1188,1678,1982,1860,1046,935,1106,868,707,938,1184,1180,1072,1362,1196,1356,1310,1226,1338,1632,1360,1094,1098,1146,1346,1336,1162,1009,982,1092,794,606,860,1080,1234,1526,1096,456,471,912,925,717,583,789,868,1104,1178,1002,1184,1294,1064,1023,827,611,733,471,527,856,669,861,954,615,445,421,422,558,813,809,565,685,465,821,1212,1194,1023,763,722,740,860,1007,1110,1786,1876,1496,1136,932,1118,1284,698,705,739,597,690,927,1150,1438,1564,1426,1262,968,1278,1108,963,1170,1015,714,851,1302,1456,1386,1482,2510,2580,2206,1228,949,1378,1306,1144,1596,1924,1666,1420,1080,1018,1380,1060,1344,2482,2380,1810,1050,928,1228,1372,1124,758,747,1224,1248,1564,1532,1240,937,780,702,671,796,650,353,391,451,455,647,1692,2166,2224,1648,843,664,700,1214,1766,1294,742,774,874,938,608,391,393,376,385,378,285,261,321,342,524,662,1186,1710,1438,1164,767,570,571,880,1518,1474,942,536,522,432,366,502,538,457,612,567,389,365,296,272,366,350,307,246,240,299,292,233,255,355,295],[454,394,309,303,357,305,308,336,772,1622,1668,1406,1434,952,604,560,1018,1432,803,458,608,750,908,971,814,722,937,1054,1004,1064,965,1088,1192,1334,1142,833,1100,1348,1156,619,516,896,802,596,568,472,513,694,833,872,746,519,529,628,811,833,473,382,360,385,354,334,322,396,364,294,279,295,650,1248,687,594,628,404,304,311,350,399,814,1558,1614,1212,1354,1542,1842,1328,1226,1426,990,832,986,1290,1216,729,566,536,452,487,783,1166,647,477,535,858,1472,1382,1214,1360,1050,794,971,1088,1048,930,817,694,501,396,336,367,473,465,430,495,496,359,286,214,229,295,622,630,350,287,410,542,539,436,730,1090,1011,1194,1454,1490,1564,1376,1390,1560,966,822,1078,1086,1092,1068,1188,1160,1180,962,450,510,555,575,687,1048,1214,1028,946,680,406,340,391,531,617,440,647,880,1040,1110,860,594,888,1462,1384,1206,797,649,609,540,543,567,583,568,590,494,449,395,389,475,413,404,411,411,385,367,358,357,355,310,237,227,209,202,242,328,380,401,437,466,404,448,626,656,584,688,709,606,750,760,688,717,841,1064,1182,946,565,440,554,772,616,433,429,451,429,416,423,447,446,412,364,316,330,328,365,423,437,520,413,397,483,480,419,562,767,599,481,444,455,497,571,714,485,553,767,749,812,814,705,593,465,403,381,351,358,408,626,830,788,862,1010,1350,1620,1626,1666,1708,1666,1860,2002,1864,1594,1288,1246,1036,1112,1412,1444,1484,1272,954,1028,1154,1260,1448,1446,1384,1344,1242,1450,1512,1416,1358,1154,1104,588,561,766,1009,857,773,580,1072,1480,1050,711,625,599,558,599,750,1188,793,620,768,941,1310,1320,805,378,318,377,403,387,329,318,692,1182,1302,1076,1152,1544,1422,1098,983,723,773,784,810,515,446,855,837,666,672,543,435,564,772,728,715,842,853,595,424,397,440,554,586,434,268,263,297,279,264,261,281,317,295,294,299,285,242,259,268,287,300,419,861,1560,1610,1006,570,419,385,417,457,417,399,394,388,399,466,625,583,1007,1398,1522,1234,639,369,371,493,609,669,589,468,561,492,550,565,599,694,1003,929,980,1074,869,572,530,858,1098,1118,1260,1005,1104,968,1102,1298,1426,1408,1348,1118,930,1146,1240,1015,822,1078,845,1062,1292,1080,600,399,420,557,786,966,666,499,496,527,709,882,736,1017,1218,921,626,666,946,672,518,558,763,921,592,375,669,842,568,306,624,1152,943,766,937,747,834,850,984,1212,1158,1074,1068,1044,1104,1210,1088,1128,1026,527,469,617,1036,1188,1166,1001,802,1080,1264,1380,1268,730,680,1004,1734,1764,1678,1806,1760,1556,1302,1282,1424,1104,997,1078,1262,1350,1250,853,880,921,607,665,639,539,705,596,562,636,1174,1005,1040,873,682,781,722,913,1440,1382,935,618,1052,1250,602,574,532,465,915,883,917,1348,1240,935,907,1108,1378,1112,605,669,1054,789,435,351,372,564,785,914,1238,1306,1026,1198,1222,1526,1192,937,1136,1300,1272,980,1120,1310,1056,1260,1146,1218,879,577,1066,1218,1328,1320,847,659,722,1186,1288,894,831,1102,1124,1180,1134,1082,1126,930,574,617,929,1166,1580,1542,984,1072,938,1042,697,717,770,749,590,543,908,1202,1066,1094,1140,1058,1296,1730,987,1168,1636,2080,2120,1776,1490,1050,799,711,875,1338,827,428,505,1044,1212,794,723,734,565,711,943,1004,1110,711,622,848,1023,818,785,828,1060,1122,718,724,1058,841,711,465,737,1214,1144,604,681,935,930,932,1013,999,1098,1134,1080,1150,1296,1334,1388,1326,1338,1376,2556,3462,3636,3876,3120,1836,2010,2584,2842,2526,1344,949,1598,2032,2010,1676,1710,1710,1498,1496,1384,1322,1316,1226,970,1210,1032,1124,1418,1348,1074,1192,1294,1406,1348,1622,1730,1608,1362,1324,1482,1192,1108,1156,1314,1346,1390,1446,1462,2532,3616,3632,3632,3624,2442,1226,1238,1000,852,1104,1874,2410,2536,2884,2664,1854,1644,1562,1366,1362,1354,1536,1620,1714,2022,1904,1044,581,503,440,662,757,630,518,558,926,1314,1448,1622,1726,1218,872,1028,1516,1280,857,575,416,331,316,365,613,694,503,353,418,546,473,388,656,1424,1268,643,564,650,575,553,349,300,324,468,610,503,418,403,705,883,1360,1654,1122,435,399,766,1272,1164,643,453,579,897,1030,903,921,1086,1252,1354,1356,1300,1294,1334,1308,965,1005,1284,1326,1424,1236,781,839,1094,1276,1340,1082,974,1086,1216,1210,1226,1290,1334,1388,1382,1302,1282,1376,1390,1268,1356,1316,1064,834,637,441,421,559,616,666,837,1020,611,530,869,773,846,703,539,441,617,878,957,1076,1038,796,653,764,677,1044,1370,1268,1108,1168,1074,837,808,951,1062,958,945,1080,1322,1508,1428,1260,1356,1448,1316,1354,1194,926,813,885,952,1096,1118,1064,959,1166,1554,1382,1114,1056,804,1338,2094,1982,1768,1762,1932,1810,1638,1058,987,1134,927,666,1120,1674,1162,984,673,849,663,415,515,634,995,1226,1054,915,641,339,334,368,491,924,655,635,442,484,654,532,484,698,569,535,442,484,543,775,787,571,476,548,430,267,281,350,307,259,471,775,1026,691,648,695,555,1056,1538,1242,1038,730,321,495,619,530,603,541,907,906,457,436,441,451,583,727,607,708,691,738,1234,1548,1370,783,495,686,871,914,1500,1788,1078,724,597,418,464,505,720,852,700,385,239,272,323,417,622,650,456,302,264,289,303,290,298,325,305,316,328,303,334,377,340,316,322,338,310,310,328,333,308,290,312,321,320,332,388,444,449,542,564,579,575,483,420,431,460,590,844,937,753,558,408,423,669,820,850,874,953,848,781,726,937,1052,1412,1594,1438,1588,1862,2172,1656,1386,1504,1504,1420,1174,1007,1386,1682,1576,1948,1842,1380,1078,1250,1082,738,893,1250,1266,1090,888,771,830,1138,864,800,737,614,525,475,410,1026,1588,1110,1058,1898,1406,1060,1002,886,1056,1336,1156,681,487,527,728,690,709,915,1072,1610,908,379,289,326,417,654,970,978,802,487,518,586,425,528,563,608,603,1168,1322,1136,1296,1282,888,744,594,747,890,914,1012,608,455,933,1070,1072,1136,922,1422,1570,984,1070,1009,565,599,781,924,1150,905,384,434,742,601,340,457,715,927,795,965,1014,1007,588,423,529,631,820,663,393,297,272,294,498,1036,975,798,635,627,839,1030,1052,1178,1090,1248,1376,698,322,259,349,479,651,568,311,254,291,276,321,397,364,491,616,514,718,1026,1100,819,526,836,1444,1504,1298,1044,838,466,589,622,509,403,363,539,637,1020,2032,2614,2610,2522,1760,1250,1618,1164,808,490,312,323,340,301,258,278,302,271,268,265,271,363,335,334,451,603,628,599,503,539,1016,1416,1200,1200,1422,1198,1062,1170,1276,1152,996,969,788,825,991,1070,1130,1244,1360,1242,800,756,700,837,814,736,743,709,864,1194,1406,1478,1394,1218,1284,1166,1120,1360,1328,1194,1274,1424,1810,2160,2350,1810,1416,1602,1564,1326,1011,815,1062,1134,1056,993,984,1240,1554,1052,788,800,946,792,727,1058,1672,1900,1290,583,562,649,681,612,523,557,393,482,608,670,760,717,806,750,822,1064,948,941,1522,1664,1050,794,919,981,886,588,693,594,560,569,566,563,1034,932,559,774,1076,1166,1274,1836,1860,1206,1058,846,790,946,794,597,719,1096,1166,675,576,690,587,471,486,458,885,805,497,811,999,1164,1664,1494,983,1196,1304,819,853,825,863,1046,976,1084,973,1062,1166,1176,1418,1736,1542,1374,1226,1290,1532,997,1176,1744,2064,1716,976,717,857,932,772,872,1052,918,1204,1196,767,819,1200,1418,1632,1478,1334,1330,1286,1304,1370,948,1014,931,809,1020,1098,1224,1468,1304,1590,1710,765,374,574,949,815,569,532,727,764,976,1090,847,954,1250,1124,1236,1196,1022,1162,991,698,528,878,1056,850,813,613,378,427,529,874,1076,1174,1036,610,513,857,915,604,374,593,954,1040,1042,1256,1664,1512,1446,1296,949,995,782,423,525,605,496,520,544,606,999,1472,1852,1616,949,1254,973,453,620,697,635,910,1292,1386,929,1460,2842,3164,2060,874,977,1488,1394,1266,1520,1610,1412,1666,1606,1578,1436,1138,1504,2370,2724,2056,1128,891,1062,1212,723,509,482,607,1030,1120,979,891,1000,1138,838,843,1736,1408,749,679,852,511,449,832,1100,1178,923,781,852,968,853,1382,1710,1434,781,541,541,554,551,395,358,334,358,362,300,335,347,601,924,1428,1684,1448,1164,969,978,662,987,1408,1696,1660,1094,645,447,450,536,456,381,474,494,468,524,385,444,452,411,422,401,299,320,358,308,327,351,273],[351,303,311,350,400,365,319,299,655,1244,1162,1104,948,1064,970,796,1168,1282,765,638,647,591,594,637,557,520,678,582,511,583,514,522,872,1028,882,933,984,1204,1004,633,833,893,869,720,683,582,513,549,828,1234,1170,916,1476,1220,958,607,487,536,439,352,362,436,515,539,484,390,271,333,894,1884,936,1142,1516,758,318,336,375,360,447,614,806,1366,1736,1548,1376,1090,1202,1520,1264,1294,1320,1208,1026,733,560,493,464,576,761,1144,722,512,518,957,1078,930,1074,1250,1220,966,736,695,597,511,716,825,601,433,381,390,563,591,488,738,749,419,306,253,291,310,342,306,312,351,509,833,855,451,473,530,493,659,1064,1340,1510,1456,1374,1202,918,999,1088,1086,1198,1278,1352,1372,1476,1542,830,604,774,714,1004,1510,1544,1584,1904,914,441,333,369,644,590,406,749,869,802,1216,1116,608,803,1796,1586,951,677,494,458,456,450,480,399,420,523,523,433,403,377,413,325,338,395,399,384,389,435,459,399,299,230,244,211,236,336,400,422,405,413,467,543,612,782,922,666,650,624,586,722,767,750,750,843,1007,1120,906,724,735,826,904,680,572,535,545,484,469,464,465,458,473,441,336,344,314,346,391,415,426,379,361,403,485,557,730,858,603,451,440,507,473,589,576,385,475,541,495,684,784,618,659,669,637,434,351,353,529,911,990,722,588,924,1442,1614,1604,1860,1810,1878,2026,2010,2004,1818,1704,1720,1446,1082,1056,1428,1522,1256,1174,1282,1314,1344,980,677,998,1430,1486,1360,1384,1328,1486,1674,893,484,531,865,1160,1244,1220,880,1068,1176,906,741,676,617,624,655,835,813,486,504,487,620,784,626,405,299,296,330,299,199,202,268,539,1074,1192,1062,1328,1642,1188,819,811,639,777,721,738,519,477,692,835,768,572,531,419,446,646,839,827,735,625,537,407,390,401,404,456,506,354,311,291,256,236,233,273,303,308,333,314,296,282,248,243,284,354,619,969,1428,1356,1224,915,560,411,479,538,454,403,411,378,375,428,515,572,1017,1426,1492,1084,572,384,378,457,538,565,518,514,507,539,742,612,403,364,416,758,1274,1152,786,487,387,607,932,1206,1106,944,1142,935,1052,1482,1616,1514,1420,1238,831,863,988,768,738,990,836,839,1202,1160,604,370,512,739,850,761,622,507,487,747,885,692,524,643,736,797,831,912,888,608,488,440,700,1034,784,565,675,819,648,536,735,1064,879,778,824,913,1136,1402,1454,1170,905,975,1126,1338,1232,1220,1128,1118,1023,661,800,1216,1162,763,779,719,667,918,1218,1672,1476,1007,1572,2228,2272,1744,1472,1830,1924,1404,1044,1068,1190,1098,1454,1682,1648,1344,1088,769,783,841,675,692,752,534,619,565,636,868,1090,893,1092,1450,1146,1104,1104,973,1104,1064,966,875,735,577,485,695,773,729,684,491,966,1472,1012,921,992,893,925,1416,1162,799,844,597,378,558,836,953,924,679,811,875,925,1268,1382,1410,880,792,1130,1312,1046,861,1168,1334,1266,1284,1040,945,760,580,624,882,1224,949,894,893,678,888,847,768,1274,1500,1452,1450,1538,1156,717,688,493,595,998,847,826,1030,1134,1150,1042,1568,1600,1056,869,786,522,587,648,995,1198,975,777,970,1196,1250,703,682,1094,1210,1038,1250,1470,1230,1264,1120,1150,1318,943,812,1122,1264,882,1001,1494,1226,825,725,1152,983,978,1060,879,1236,1414,965,977,1058,880,859,634,569,1050,758,807,807,895,1230,1340,790,506,988,1264,1150,1118,946,890,808,1080,1318,1314,1436,1360,1128,984,977,1964,3220,3586,3920,3768,2400,1748,2392,2612,2602,2160,1122,872,1528,2052,2046,1722,1362,1582,1934,1520,1324,1288,1306,1100,1106,1272,1172,1116,956,641,928,1266,1370,1598,1574,1672,1892,1814,1528,1134,918,913,1162,1382,1398,1466,1620,2238,3410,3640,3648,3672,2898,1322,1382,1846,1538,1052,836,1262,1810,1990,2238,2254,1910,1866,1612,1612,1844,1866,1788,1736,1564,1778,2208,1572,625,460,444,568,626,568,542,607,765,1066,1430,1460,1482,1528,1418,1482,1490,1088,569,429,333,296,353,308,353,539,748,407,322,411,369,360,462,1208,1730,1322,669,558,669,807,505,343,400,427,521,465,409,365,489,795,1362,1830,1476,687,430,777,1216,1396,904,511,761,1108,789,675,1064,1216,1144,886,730,672,697,1019,713,291,426,698,886,950,694,364,345,509,836,1366,821,415,553,917,1206,980,712,1050,1458,1280,642,683,1066,735,667,720,801,898,714,441,422,525,594,633,751,737,1052,965,510,606,500,429,472,492,508,578,474,800,1306,1188,901,927,1062,806,1130,1458,1470,1456,1346,1274,1148,860,1094,1230,1006,1022,870,1072,1312,1284,1220,1250,1224,1274,1216,975,877,977,1021,1234,1180,998,860,725,1056,1482,1222,883,926,1200,1444,1742,1862,1730,1310,1242,1162,1048,753,808,1164,1176,922,940,1012,905,738,552,997,926,563,499,601,951,1068,844,931,494,424,368,356,686,1368,832,542,603,1096,1568,1054,966,873,666,918,626,739,541,551,517,444,393,338,288,314,337,402,489,483,619,1052,1256,1082,1034,832,568,846,886,633,786,424,282,398,489,455,461,473,858,689,384,443,625,852,1096,987,879,1164,926,684,833,1230,1424,1402,1232,996,729,874,1446,1494,1242,811,663,613,877,644,335,482,509,354,401,471,356,429,940,1134,767,494,318,294,316,310,296,298,299,306,298,290,312,324,292,293,302,287,284,284,326,378,372,352,359,370,348,285,318,436,477,488,456,650,716,559,480,499,669,824,979,832,739,705,502,402,547,783,874,868,1028,1320,1206,824,932,961,1286,1252,1296,1408,1324,1188,1156,1346,1376,1494,1420,1384,1112,1118,1666,1656,1700,1620,1264,926,964,879,694,906,1136,1072,1028,993,681,766,1168,1130,932,801,623,672,758,1064,1744,1444,1094,1388,1528,1070,1044,928,780,1024,1492,1438,1242,1124,1248,1154,915,982,684,477,803,623,366,276,292,451,868,1076,769,797,661,939,828,547,766,792,675,462,614,843,996,1066,1332,1080,1126,1122,1336,1013,741,949,1019,705,753,1356,1816,1376,791,1474,1636,1246,872,495,372,500,691,860,1206,1150,503,623,891,924,802,990,1094,1050,777,742,1218,1064,469,509,678,446,451,335,277,288,345,346,346,844,1058,687,576,798,766,683,969,1198,1080,1226,957,556,441,426,352,572,1132,1272,625,289,274,256,318,452,622,648,694,677,1078,1416,1142,1092,1118,1266,1456,1472,1224,1140,1100,536,433,538,505,407,396,505,734,1072,1452,1570,1768,2070,1168,553,592,446,329,303,290,328,401,324,288,309,298,233,258,276,263,340,379,365,418,414,357,361,403,764,1176,1498,1310,1230,1048,664,850,1264,1244,888,619,764,778,955,1102,1158,982,1118,1448,1312,904,653,553,728,774,640,568,705,1070,1228,1326,1340,1246,1160,1220,1246,1242,1530,1392,1322,1242,1396,1570,1596,1694,1500,1366,1644,1772,1452,1007,838,710,682,854,946,677,815,1098,779,512,648,736,659,713,1106,1544,1546,1184,847,586,585,707,688,890,1108,669,399,412,470,512,622,727,750,1005,1286,890,512,799,1007,925,916,871,838,1038,1156,1060,665,582,496,827,858,874,658,531,614,613,957,1266,1348,1100,767,763,671,965,1370,1034,607,547,946,1084,525,498,562,404,304,278,315,571,899,930,1082,1202,1540,2000,1468,1144,1156,1116,780,641,491,606,827,774,998,1102,1080,1048,815,1210,1650,1810,1800,1426,1470,1418,1046,1292,1616,1784,1422,918,696,821,903,811,819,910,1044,1370,891,649,967,1052,1348,1396,1382,1528,1746,1644,1556,1438,1394,1424,1146,860,708,954,1268,1312,1254,1346,1136,572,388,608,792,647,487,585,747,848,1090,1134,1024,1314,1304,1362,1410,1334,1276,1374,1180,983,650,748,985,1140,1296,977,739,552,541,535,747,1254,1288,951,702,633,542,441,406,582,1078,970,1052,1040,1344,1432,1284,930,1036,1082,724,622,581,565,636,536,594,453,759,1308,1268,1060,1082,1162,873,692,630,497,480,666,1136,1356,899,1216,1772,2124,1590,1076,1296,1538,1286,1084,1242,1284,1110,1240,1364,1482,1516,1558,1674,1716,1848,1614,1164,1116,1056,1188,938,945,755,613,562,564,791,1164,1238,1108,638,648,1304,1506,1019,819,1296,1076,558,407,460,441,692,1012,697,689,640,883,1316,1612,949,494,426,585,651,373,313,351,508,494,553,431,412,719,1014,1150,1188,1306,1052,1276,1566,694,625,1060,1446,1950,1818,1134,967,906,811,766,836,874,552,488,592,458,491,486,459,481,467,346,356,469,434,388,262,303],[305,270,319,328,370,372,309,264,366,544,542,530,442,580,911,861,792,702,831,977,806,691,553,538,469,450,670,588,482,495,454,500,705,725,617,521,518,814,896,971,1046,819,742,596,580,595,433,470,938,1130,1034,965,1988,2120,1400,567,582,827,717,562,462,703,835,491,369,333,292,375,1076,1642,1198,1576,1628,777,371,369,369,291,311,354,477,755,1266,1078,888,979,1270,1490,1420,1422,1356,985,825,830,696,680,713,1040,1076,1180,858,592,630,904,1206,1134,877,831,636,475,437,446,409,461,807,1038,701,444,505,547,501,483,387,612,608,435,467,412,380,344,344,380,413,456,581,855,981,778,448,263,389,536,923,1324,1638,1516,1184,966,820,771,665,742,1242,1516,1544,1470,1518,1516,898,578,818,885,1026,1254,1300,1450,1692,893,560,416,402,602,534,391,781,1280,1404,1796,1482,717,783,2208,1998,1670,1302,590,466,432,440,431,408,450,672,668,450,358,330,371,361,395,442,428,404,413,473,465,372,314,290,234,263,448,498,400,384,592,692,750,1011,1046,1024,906,834,813,1130,1112,863,917,857,802,855,893,1062,1248,1506,1368,1120,952,991,816,683,636,509,406,395,464,494,549,515,374,370,386,374,362,365,397,423,475,557,618,661,632,551,468,392,353,368,384,472,419,332,429,513,469,628,591,625,645,650,604,461,391,320,387,631,856,703,493,866,1264,1476,1656,1814,1700,1706,1882,1986,1942,1946,2086,2088,1892,1554,1370,1484,1378,1007,959,1294,1616,1612,1010,549,753,1388,1590,1318,1262,1378,1568,1428,676,555,568,725,959,1036,839,557,706,796,739,606,574,608,1064,1412,1116,618,647,799,633,689,591,478,341,265,255,346,338,255,263,250,410,637,763,902,1254,1758,885,727,745,611,755,773,619,463,478,664,960,752,552,499,425,392,501,850,814,481,439,469,455,405,358,377,389,358,338,319,261,220,234,244,290,317,308,296,280,283,256,259,280,285,401,889,1378,1438,1326,1378,1238,796,490,539,639,552,430,420,359,374,418,487,619,1054,1494,1478,999,501,381,378,429,443,492,548,554,495,494,504,403,302,325,331,505,689,568,419,341,364,501,872,1122,1134,1380,1146,903,1224,1284,913,1194,1028,1052,1168,1048,819,645,867,1182,1042,1182,1432,1354,953,536,616,994,862,811,918,777,613,579,586,606,489,399,610,712,926,1108,722,507,490,518,647,642,702,790,887,1160,1046,993,954,955,1036,719,575,646,700,810,867,846,747,594,808,1282,1116,898,1100,741,563,965,1360,1078,599,678,1104,1040,982,1012,1188,1338,1028,1138,1848,2242,2010,1508,1158,1456,1616,1402,1470,1190,1256,1458,1594,1452,1274,1212,1034,897,678,489,498,612,704,665,672,745,868,1172,996,692,802,758,611,617,1076,1440,1494,1360,1288,996,685,599,743,816,759,905,799,657,887,702,663,883,1110,956,843,1222,1184,1200,1184,792,460,444,705,1106,1220,785,902,1072,1015,1032,985,854,554,511,987,1158,842,886,1262,1152,1290,1284,885,724,636,399,714,1512,1372,700,747,942,952,885,905,756,882,969,1128,1156,999,716,672,678,607,572,692,709,647,969,1306,1304,1380,1396,969,650,681,1088,965,918,655,711,1270,932,719,929,1050,1140,1028,856,979,939,1216,1346,1152,1176,1200,1228,1232,1230,1360,1516,1468,1194,849,1048,1456,1186,1158,752,943,774,845,1034,817,1384,1690,945,836,1112,933,682,658,682,1192,1188,1132,908,832,1126,1304,852,463,904,1154,688,738,758,859,764,1218,1324,1052,1104,1052,755,778,962,1526,2780,3510,3738,4012,2918,1490,1652,2320,2774,2462,1818,1202,920,1376,1790,1518,1538,1532,1858,1804,1520,1502,1534,1588,1348,1210,1200,1072,821,990,847,1162,1534,1560,1706,1896,1828,1800,1498,1258,990,844,1116,1532,1558,1402,1812,3044,3592,3650,3664,3226,1706,1070,1614,1774,1866,1706,1298,855,875,1324,1748,1820,1850,1986,1926,1804,1790,1780,1680,1598,1448,1454,2020,1860,1004,534,501,554,539,664,813,801,879,778,1168,1376,1362,1582,1626,1676,1574,1104,644,454,327,292,315,289,384,419,639,511,386,386,384,538,768,824,1238,1788,1094,512,436,644,539,412,445,477,492,531,516,412,387,464,909,1400,1188,1026,592,636,998,1302,1056,558,642,837,624,620,1172,1168,589,455,441,486,794,920,738,631,298,491,843,793,389,297,302,375,655,1021,594,374,556,780,791,659,719,977,1056,984,706,778,1060,668,549,619,767,797,515,391,447,497,481,664,639,636,858,1212,761,350,365,339,374,392,441,477,505,997,1420,1252,951,1005,1160,970,1008,1064,1226,1506,1216,1270,1310,992,1404,1446,1152,751,382,751,1526,1686,1386,1328,1400,1472,943,461,565,743,621,849,948,1126,1116,687,855,1368,1108,885,1180,1382,1074,818,1024,1078,1220,1166,811,852,866,1012,1206,1258,1060,1106,1168,1122,636,447,884,980,554,319,344,471,794,1001,1094,547,454,469,405,780,1028,733,758,833,1122,1294,841,880,934,1344,1248,839,850,601,624,678,440,418,338,353,407,357,651,1528,1034,952,1606,1848,1570,1002,567,527,639,743,829,702,475,437,365,405,405,351,380,521,511,351,427,647,813,1230,933,777,822,736,720,845,881,1102,1202,1182,1274,969,672,917,1015,780,586,642,1358,1748,1090,365,283,281,410,602,508,491,585,930,1306,1310,869,479,391,277,263,258,283,298,306,316,308,295,293,304,307,292,292,289,292,310,336,376,387,389,414,398,314,310,372,406,396,529,849,901,799,723,786,874,863,899,938,881,774,572,408,436,648,854,861,913,1020,894,889,1208,1028,723,871,1184,1180,1318,1532,1470,1558,1444,1628,1368,1464,1230,964,1156,1432,1422,1264,1184,1038,764,717,979,894,1114,1274,1400,1370,911,816,1170,1174,1007,1026,912,880,1366,1852,1610,1204,1332,1394,1194,1504,1652,1040,695,1360,1560,1210,1158,1130,1432,1166,1052,1124,858,455,371,388,298,246,245,348,678,938,862,908,1072,1090,664,952,1148,797,584,539,738,1020,981,764,906,1032,993,1086,1294,911,584,894,1444,1116,625,1010,1810,1588,1100,1150,1604,2078,1422,785,657,439,479,687,863,924,621,736,645,684,896,1070,1074,1064,865,761,516,425,338,561,735,481,318,323,340,330,346,325,288,568,1072,1098,1042,834,571,612,772,1182,1544,1544,1262,729,504,528,361,616,1092,1346,582,398,373,324,334,706,1122,1284,1426,1412,1816,1636,908,1036,1340,1522,1390,1472,1496,1344,966,702,671,595,344,390,459,612,759,1230,1124,811,771,1042,839,502,318,291,343,389,316,344,398,336,383,467,390,258,255,271,269,290,333,378,432,444,493,470,527,1001,974,746,814,955,800,752,1058,869,550,494,508,527,707,783,958,1360,1226,1008,1328,1460,1288,1268,1082,1118,1082,894,853,827,1220,1238,1138,1052,1252,1416,1452,1622,1326,1408,1164,1056,808,974,1248,1514,1554,1462,1318,1386,1556,1414,1036,860,670,613,514,505,405,553,879,854,960,1021,682,616,760,1510,1832,1394,1120,919,733,655,673,667,1078,1184,621,633,385,394,489,784,780,708,1092,1158,546,386,510,838,1272,1224,922,828,812,963,606,354,512,976,1378,1118,999,1100,1184,1146,527,574,940,1104,875,753,732,1011,1576,1434,796,579,584,468,729,566,600,596,495,356,360,394,416,669,972,1206,1172,1222,1388,1296,1342,1258,933,564,416,432,502,518,681,1015,1082,1090,894,756,1604,1698,1652,1720,1706,1642,1400,1346,1554,1562,1230,946,944,816,765,608,711,677,761,1054,1102,836,988,1104,1110,1266,1196,1578,1484,1704,1676,1346,1048,1596,1858,1474,1170,912,844,885,977,986,852,898,717,447,453,434,418,414,861,1284,1048,1042,1020,1216,1352,1246,1282,1228,1210,1084,1188,1314,1346,981,782,1066,1332,1104,1152,1460,865,758,805,702,983,1034,1019,1284,1040,974,796,820,1007,1258,1300,1064,866,1052,1384,1218,891,921,936,910,623,560,993,857,566,707,711,1022,1572,1216,873,1200,951,894,789,846,773,1018,1304,1516,1400,1028,929,1044,1156,1270,1272,1274,1274,1144,857,1260,1212,890,747,1050,1046,865,1516,1626,1202,1430,1534,1366,1396,1142,1230,1298,1346,1394,945,452,580,987,1234,1090,783,435,689,921,954,617,791,1514,1316,543,324,304,504,987,1626,824,472,368,737,935,818,543,410,462,811,1138,837,783,542,589,542,690,690,771,919,1012,1122,1262,934,599,1116,1130,733,752,816,1088,1472,1106,883,1110,1138,1180,1228,1236,1136,791,680,579,475,417,433,493,464,324,331,559,634,633,621,418,386],[284,287,266,274,349,343,304,265,328,413,474,616,708,955,990,670,673,925,1034,1280,869,652,459,440,388,447,662,596,450,456,460,579,702,596,569,633,822,838,852,778,750,828,832,912,977,813,738,833,935,607,700,965,1234,1322,902,406,697,933,998,973,658,1376,1436,543,343,289,300,367,668,1172,1488,1732,1450,627,384,311,331,303,320,344,512,808,933,699,551,920,1328,1544,1814,1278,1364,1368,1304,1072,949,830,769,930,1020,1058,889,732,728,1104,1544,1074,569,490,479,490,461,449,487,550,774,887,540,595,727,700,738,649,408,412,416,380,457,508,464,492,611,558,529,583,647,735,738,725,428,267,392,607,717,994,1428,1180,799,614,440,435,463,477,831,1236,1370,1326,1230,1058,714,687,821,1050,1400,1548,1244,1608,1748,886,470,406,408,597,583,570,1044,1842,1814,1938,1228,650,774,1924,1748,1488,1282,514,409,391,393,328,328,316,470,436,413,395,357,375,440,514,471,412,405,444,418,365,352,359,366,408,481,468,540,586,639,1052,1116,984,1152,1009,850,591,813,1028,1198,1152,1324,1350,850,738,974,1562,1510,1438,1454,1312,936,1104,1436,1240,1036,730,528,507,487,461,444,469,452,409,389,379,371,393,405,409,414,443,459,526,518,474,467,423,427,493,521,472,448,453,480,525,525,399,473,416,378,449,605,586,436,393,338,313,335,470,485,381,497,543,1086,1518,1650,1578,1582,1742,1842,1764,1842,1892,1924,1900,1762,1506,1396,1132,743,828,1060,1170,1192,971,1058,1166,1366,1594,1418,1258,1394,1594,986,490,557,554,592,782,850,844,824,796,1112,969,783,525,497,913,852,572,709,736,672,774,728,749,759,447,352,526,799,655,344,401,584,616,563,829,1011,1414,1838,979,930,946,710,671,605,398,370,491,717,1044,714,663,534,419,362,563,869,697,430,391,398,440,418,374,431,476,440,434,339,287,331,350,301,331,373,364,349,358,383,317,365,484,407,405,797,1170,1354,1404,1544,1694,1170,807,827,959,652,465,431,394,390,441,519,651,1134,1604,1452,861,473,391,368,387,398,476,527,431,491,495,394,361,304,311,317,387,386,452,413,314,387,857,1296,1362,1658,1540,1370,1184,1322,1692,1318,1158,698,1028,1486,1426,1250,886,640,639,781,1208,1148,1222,1482,1080,928,1194,1186,1156,1290,1140,843,585,429,595,741,453,446,806,1274,1196,924,668,479,571,589,491,557,553,675,1080,1300,1134,1080,1026,1188,1242,984,742,883,1206,1176,1080,663,411,619,1164,1108,653,643,747,954,1250,1086,480,387,799,1272,1088,970,1094,1324,1070,929,975,896,1072,1376,1140,543,884,1408,1426,1426,1104,1009,1332,1728,1372,1332,1588,1548,1246,944,553,405,489,619,903,1068,1072,937,1068,744,594,969,1210,1078,813,757,1198,1504,1334,1358,1250,839,620,963,943,753,773,725,702,811,659,666,797,700,527,1023,1268,863,781,1052,1126,805,576,490,591,831,642,1005,1394,1300,917,656,700,664,541,610,667,620,720,1076,1156,908,1134,1164,1126,1034,730,943,1554,1162,922,1042,972,838,985,980,896,895,832,858,775,483,582,979,811,783,835,927,1013,954,1390,1402,1174,1418,1232,880,977,805,1212,1342,986,936,830,1030,950,972,1366,1520,1296,1112,989,884,935,1616,1144,998,1452,1636,1228,1036,1394,1532,1106,854,1144,1234,1638,1484,1200,1418,859,750,1100,1236,1078,917,1346,1648,890,813,1023,941,647,877,662,955,1250,1178,813,575,697,943,821,546,802,1080,636,980,1180,1170,751,1052,1296,935,1086,1216,1076,1122,1242,1122,2096,3386,3718,3908,3316,1866,1250,1610,1916,2554,2810,1948,901,852,1222,1448,1540,1554,1832,2010,2100,2120,2020,1666,960,646,880,1302,944,1030,1158,1476,1434,1604,1842,1692,1762,1664,1488,1292,1190,952,1036,1478,1418,1494,2586,3444,3528,3602,3444,2178,1054,1362,1596,1660,1720,1802,1458,1108,953,1026,1376,1556,1720,1918,1888,1556,1164,1344,1520,1504,1598,1580,1926,2176,1578,805,504,503,472,682,860,825,831,605,1170,1530,1484,1630,1584,1362,1500,1484,814,397,347,330,294,382,478,529,439,353,379,393,328,585,1194,1548,1192,1100,1166,778,454,466,700,629,405,454,698,1005,1058,714,495,446,608,1088,1202,1260,862,628,963,1350,1032,571,475,612,366,479,1106,1058,582,484,414,458,602,583,910,1186,673,790,1154,944,466,296,288,276,399,436,296,301,545,755,774,843,868,840,816,803,812,839,741,514,498,630,668,555,450,409,401,412,597,641,502,524,564,955,984,531,378,345,368,349,405,692,1186,1442,1468,1138,962,1130,1078,879,884,1358,1786,1614,1100,1508,1864,1736,1852,1500,1034,730,453,763,1372,1572,1510,1476,1454,1282,692,484,554,651,533,636,888,1036,971,608,782,1334,904,749,756,623,437,702,1140,1218,1318,1110,789,984,1116,836,807,825,798,838,1042,1136,1032,648,432,557,935,747,364,455,1054,1172,1194,804,505,632,651,815,1212,1236,985,890,1194,996,559,338,782,1356,1016,925,1034,605,561,661,578,962,471,509,928,722,625,1760,1468,849,795,778,824,932,1020,1148,1722,1490,1548,1106,645,505,426,328,258,242,248,260,347,271,281,426,605,691,644,637,668,695,761,777,965,1258,1376,1302,1072,1070,986,989,714,452,486,986,1578,1472,916,356,265,232,395,483,311,350,358,413,799,1160,889,537,530,416,257,242,242,286,317,326,308,290,302,312,299,299,317,299,314,311,317,357,360,390,426,415,400,440,405,352,408,648,943,1118,1050,813,893,958,919,832,929,857,719,659,503,412,495,758,867,869,1066,1046,916,1184,1102,1010,1072,1060,1076,1446,1780,1722,1676,1310,1400,1490,1432,1390,1170,1018,1214,1242,965,993,1116,1256,1074,1278,1128,1174,1422,1364,1154,1054,949,1170,1296,1244,1156,1152,927,1080,1316,1200,1456,1570,1132,882,1218,1160,895,1412,1816,1246,720,1015,1030,616,890,1200,1090,916,631,411,376,299,261,312,342,577,939,1032,766,908,755,681,1572,1814,1038,724,658,811,1224,1072,950,1009,874,760,1086,1156,798,606,673,1264,1660,902,639,1028,1346,1240,1160,1434,1614,1488,1300,981,602,346,443,454,430,395,453,592,1104,1212,1046,1504,1260,918,1224,599,448,411,649,808,701,463,333,330,301,237,226,325,487,936,1258,1150,653,609,604,798,1566,1720,1864,1828,724,579,788,419,437,480,519,648,854,641,347,339,498,937,1740,1626,1074,1252,1060,744,716,1170,1096,1030,1310,1232,996,1158,1098,821,578,482,539,787,1014,729,1038,1090,702,704,930,1009,892,397,356,411,432,342,330,353,337,378,450,399,336,322,322,275,303,347,379,425,530,563,504,854,1234,1138,780,626,941,1084,1072,874,674,594,527,555,578,542,552,668,717,630,631,1150,1376,1300,1290,1324,1444,1302,1256,1120,1092,1318,1360,1106,976,1414,1872,1422,1476,1370,1224,1122,1058,900,818,1036,1354,1566,1520,1322,1204,1456,1288,886,879,868,634,488,430,701,1044,882,834,954,808,653,586,791,1526,1648,1076,748,708,638,603,677,702,893,742,669,752,538,647,1228,1418,1184,767,799,666,355,408,565,1090,1756,1674,1338,846,1050,1230,704,659,1174,1444,1052,792,996,1114,1356,1240,608,566,626,650,929,858,794,1310,1608,1216,548,438,446,419,738,1015,783,672,637,565,542,418,461,687,1238,1596,1278,931,685,912,1102,1092,887,678,533,434,558,566,810,1148,1194,1110,755,927,1772,2070,1830,1650,1662,1744,1614,1592,1654,1374,1066,1234,1226,1052,698,432,550,523,877,1388,1350,1280,1306,1312,1194,1092,1532,1720,1572,1636,1532,1316,1166,1620,1926,1440,860,747,863,849,750,869,1098,1023,780,844,800,446,365,413,912,1238,1146,875,1010,1328,1316,1282,1434,1450,1260,1052,1062,1418,1366,1172,1130,1080,1230,965,959,1162,869,835,890,974,1124,1040,1180,1344,1172,1230,1158,1406,1506,1460,1464,1210,965,939,913,933,1266,1018,614,741,697,696,1062,727,579,1114,1078,1040,1524,1242,627,856,585,595,852,1106,1048,1098,1216,1216,1018,757,631,821,1168,1186,1144,1428,1420,996,738,873,894,697,664,1066,1020,1084,1786,1360,847,927,1354,1604,1694,1366,912,841,1422,1694,861,407,721,1434,1338,937,736,508,902,847,458,379,561,807,550,316,317,364,711,855,1250,744,490,448,766,1162,1060,485,398,572,1112,1356,1194,1104,903,713,647,642,594,899,1356,1344,1058,808,1004,852,639,733,1286,1630,1342,929,919,848,630,890,868,714,909,886,888,852,822,739,454,331,336,369,321,287,328,405,556,1664,1756,957,643],[335,340,293,299,303,340,319,344,313,309,471,811,935,869,984,1050,846,938,1072,1520,989,665,520,395,386,483,630,643,492,720,972,935,979,995,825,645,722,739,756,731,467,361,612,862,949,788,810,957,1058,900,938,1130,1021,1036,801,493,868,948,1080,1001,843,1288,1106,666,415,363,355,374,305,550,825,995,985,544,370,331,384,347,338,286,370,579,700,524,560,1162,1266,1250,1450,1610,1742,1534,1480,1118,1032,1124,1062,986,922,805,703,692,745,1426,1536,766,432,436,502,480,499,578,587,486,496,537,518,631,717,564,672,755,573,488,468,542,686,677,760,868,854,808,800,725,480,470,533,395,289,300,363,417,357,459,910,969,700,505,409,398,434,324,598,959,1098,1364,1482,1350,988,847,711,1302,1766,1820,1340,1674,1984,1100,446,370,406,602,528,497,652,776,811,968,728,580,676,1020,865,659,639,417,358,340,373,363,362,363,379,408,444,440,428,466,572,608,526,469,452,468,419,362,338,336,441,582,618,710,936,775,656,702,913,1060,951,1138,1146,1160,1242,1134,1042,1084,1426,1224,694,601,821,1512,1484,1328,1534,1388,953,1224,1474,1338,1208,805,553,494,493,437,399,433,404,376,375,375,407,426,411,376,383,375,456,519,439,431,451,427,464,539,573,532,559,645,574,571,534,465,450,596,586,506,586,480,379,368,358,372,341,357,329,340,347,369,658,1034,1156,1202,1302,1374,1500,1458,1470,1556,1580,1670,1604,1508,1394,1250,1120,854,813,1005,910,1252,1496,1210,1058,1390,1058,865,1202,1236,711,472,428,475,588,542,649,954,1720,2024,1572,1064,717,412,421,528,543,662,749,610,429,400,408,514,483,290,409,930,1410,1188,597,564,910,888,861,1180,1272,1230,1094,750,777,741,585,604,576,416,325,322,509,799,719,722,586,503,573,796,769,479,506,544,574,646,665,636,565,516,673,536,389,366,347,319,357,398,368,357,583,811,866,839,1078,1204,874,607,921,1432,1544,1278,1302,1472,1448,1444,1286,1188,850,678,714,580,376,466,502,631,1200,1660,1352,662,416,431,402,406,477,527,445,400,434,419,364,312,345,343,317,312,315,439,475,488,984,1614,1524,1534,1806,1270,1170,1076,933,1176,1038,934,665,869,1222,1432,1350,1120,824,717,679,697,908,1368,1208,1162,1438,1732,1626,1246,1238,1118,854,669,446,545,610,431,640,1156,1312,1290,1070,868,786,728,512,492,454,514,552,680,947,1118,1112,972,1202,1548,1278,1086,927,1162,1462,1066,905,943,886,976,958,637,567,996,1312,1048,725,412,366,554,807,675,808,1050,1162,992,836,693,614,580,789,961,664,728,986,899,1128,1318,915,998,1130,1044,1722,2012,1586,822,788,863,846,844,833,955,1278,1126,821,976,617,607,767,1372,1230,990,999,1276,1266,1224,1306,1174,796,861,1190,870,1080,1470,1324,872,697,714,706,554,342,599,1158,1172,895,1056,1114,726,808,1044,963,728,624,608,772,1128,1466,1058,886,902,799,894,623,583,757,623,965,1066,686,581,695,1190,1232,847,868,926,648,843,1038,910,732,862,1066,1072,995,872,977,861,719,702,874,1070,1074,1046,1292,1028,861,1078,939,929,1400,1572,1406,1086,926,1072,1232,1050,1190,1432,1688,1436,1026,1088,1166,1152,1068,697,761,884,1520,1346,1036,1540,1864,1378,1292,1526,1360,1008,1102,1276,1556,1732,1294,1418,1510,964,818,1064,970,1134,1228,1194,1278,1038,1012,909,963,1138,1344,889,844,1288,1206,832,648,555,681,777,951,1040,1168,727,846,932,787,633,965,1166,1128,1288,1408,1456,1326,1416,889,1442,2762,3206,3376,3520,2482,1316,1610,2216,2968,2744,2482,1496,769,747,1202,1464,1558,1714,2026,2340,2198,1760,1342,1310,1242,1196,1150,1256,998,1182,1542,1428,1402,1598,1780,1488,1334,1298,1312,1434,1450,1220,1490,1536,2220,3374,3602,3592,3530,2608,1278,1226,1522,1628,1738,1664,1570,1196,1246,1444,1314,1008,757,949,1312,1338,788,708,1166,1308,1246,1470,1750,2072,2050,1636,1032,496,520,544,597,652,657,661,613,1302,1714,1526,1606,1482,1144,1254,1494,1208,618,367,308,346,503,587,735,625,429,401,379,346,314,553,1426,1322,1144,1196,1008,716,417,533,670,445,339,911,1438,1438,1260,797,336,377,684,1136,1318,1024,867,857,1005,1040,603,411,542,537,499,744,877,802,558,425,458,448,515,698,880,875,996,799,523,357,293,386,527,491,368,376,397,603,761,910,1200,1024,858,825,913,876,696,616,583,465,457,479,434,560,450,377,545,571,448,416,530,580,564,804,770,434,341,375,493,792,1024,1416,1650,1256,674,860,1172,759,611,979,1398,1632,1332,869,1564,1794,1794,2046,1454,966,707,466,731,1352,1604,1500,1490,1476,1064,599,427,522,584,466,515,727,808,566,395,568,1222,722,401,425,372,273,744,1432,1288,942,1001,825,778,705,647,1394,1582,1284,1656,1460,1058,1446,1298,706,861,2014,1336,555,450,535,512,749,624,473,812,1096,893,650,628,554,590,663,617,669,687,778,786,792,988,1058,854,838,770,621,938,527,516,914,700,663,1350,1216,794,1396,1652,1572,1748,1754,1512,1512,1100,1190,1220,735,383,357,268,280,361,459,339,404,370,324,286,435,998,1484,1410,1238,996,902,897,1138,1380,1426,1348,1020,626,669,976,899,551,411,638,896,886,540,450,270,229,272,446,428,314,255,290,388,571,655,695,600,670,473,306,223,276,280,279,282,284,316,338,308,304,348,355,334,343,322,343,325,366,412,448,480,472,491,443,526,763,831,973,1001,863,877,1058,1054,933,916,848,704,720,653,489,449,652,850,866,987,1340,1168,857,1084,1023,806,859,893,1186,1272,1590,1476,1152,1234,1358,1352,1474,1390,1184,1242,1222,768,863,1106,1574,1588,1482,1256,1164,1326,1426,1506,1416,984,1174,1340,1202,1026,984,936,672,935,1262,1238,997,508,469,724,921,1146,1282,1144,940,902,785,811,773,885,1124,1160,1102,974,463,346,386,558,755,529,572,1158,1138,800,1096,1230,1072,1320,1158,1250,1302,641,601,981,982,1020,966,771,820,1122,1604,1228,652,604,1094,1566,919,543,412,616,885,1024,985,1003,1152,1080,1058,981,442,373,403,417,493,458,667,1368,1504,1348,1594,1290,1622,1230,982,1016,777,666,708,717,532,310,282,342,427,694,1346,1194,832,1196,1156,716,477,333,947,1860,1996,2026,1500,525,483,689,805,728,564,544,720,971,846,525,506,341,633,1142,984,1060,1023,1166,1156,866,804,733,813,1090,1102,897,1144,1448,1118,608,627,741,1108,1262,802,633,772,912,1046,794,1286,1294,620,671,583,462,386,343,324,335,358,350,335,338,339,365,497,662,436,558,590,540,456,688,1176,1036,727,698,867,700,839,1262,1060,840,780,730,675,662,745,886,703,440,414,775,1304,1448,1404,1214,1038,1196,1362,1174,969,965,1120,1526,1294,1324,1710,1922,1452,1578,1494,1068,886,999,1140,1260,1440,1474,1744,1390,1096,1178,1250,817,528,614,699,826,771,555,829,1010,760,719,540,460,484,517,616,1052,1136,973,956,796,565,486,642,777,912,800,604,471,714,1202,1402,1608,1596,1086,930,838,414,502,673,880,1118,1546,1348,723,1218,1344,771,999,1440,1336,1018,897,800,1072,1794,1334,531,408,408,351,371,411,548,925,1302,924,527,388,455,509,938,1286,1015,886,820,831,954,980,633,819,1368,1672,1388,1094,884,1194,1300,1082,1148,1256,865,581,922,664,865,1060,1344,1210,935,1440,1672,1370,1226,1228,1388,1218,1224,1560,1704,1072,804,944,1316,1364,991,547,396,592,1144,1596,1736,1422,1256,1166,969,965,1528,1648,1620,1610,1354,1096,922,1174,1124,968,927,995,1316,1204,904,1098,1356,1136,931,1080,933,528,498,776,1188,1482,1516,1216,1360,1490,1440,1316,1142,1036,1158,936,973,1294,1272,1386,1290,1212,1086,689,672,847,746,710,1098,1180,908,791,861,910,884,654,974,1282,1240,1448,1628,1430,1288,1052,538,541,813,882,1000,1023,1188,1282,921,626,825,779,849,1396,1410,959,479,378,444,517,916,1064,1020,1198,1184,822,585,922,1208,1116,1180,1394,1352,1584,1364,1194,806,556,550,446,716,1007,932,1170,1770,1152,949,1024,1450,1530,1340,1464,1240,886,850,1068,642,866,1170,1028,1020,1316,883,485,583,503,511,550,437,454,415,419,613,525,550,585,783,683,501,648,771,965,1414,929,634,943,1130,1112,1218,916,688,837,1021,780,477,684,1348,1380,814,613,1356,1488,863,927,1620,2140,2064,1416,704,940,993,1368,1434,1090,928,792,797,910,1266,1088,517,302,332,317,333,530,394,421,1280,2460,2078,1246,1009],[346,335,320,327,368,342,352,383,303,332,457,587,587,713,1036,964,569,504,789,1092,866,730,681,506,396,473,451,527,472,671,1248,1616,1476,1516,1460,988,677,833,705,655,442,421,617,832,681,441,424,538,584,755,828,867,1100,1198,969,717,833,547,603,729,1038,1062,980,749,440,303,369,498,498,408,418,514,644,553,444,459,383,301,286,266,316,406,393,310,616,1306,1230,1432,1274,1584,1554,1534,1582,1228,1214,1426,1318,1216,917,756,586,661,628,1210,1416,1156,783,424,443,499,536,513,445,341,376,457,579,530,419,539,696,633,555,484,458,495,568,659,1028,1174,909,807,733,572,352,234,247,258,254,321,447,619,648,555,774,1140,989,589,443,578,666,810,1362,1278,1086,1450,1586,1380,1080,954,714,1470,2240,2066,1494,1642,1926,1244,632,458,461,572,384,353,441,574,671,660,633,625,570,440,413,540,600,551,435,362,394,391,367,377,356,386,516,516,460,589,625,543,568,517,440,436,393,322,366,546,678,734,852,1144,1040,651,790,716,713,833,1044,1396,1470,1306,1364,1356,1102,833,981,1158,1264,990,988,1346,1272,1328,1400,937,855,1230,1436,1372,1148,830,780,705,583,488,424,399,449,414,342,381,346,315,365,371,372,350,576,724,578,494,477,418,387,408,396,374,435,533,559,510,441,507,1018,1494,1252,991,766,541,423,346,343,391,365,339,332,353,370,370,599,947,911,982,982,962,957,1038,1188,1460,1658,1736,1678,1638,1506,1316,1332,1142,914,770,992,1478,1594,1018,770,1052,832,578,977,1058,546,437,389,444,497,439,525,898,1428,1542,1188,760,438,442,413,499,597,483,583,509,409,421,419,365,331,320,398,781,1306,1278,804,756,1200,1176,1116,1332,1190,846,712,572,529,579,479,495,402,340,304,294,470,726,896,933,855,893,1076,1222,1030,803,902,832,955,974,1112,1324,1344,1754,1510,541,389,409,392,368,354,369,412,919,1324,1284,971,995,1338,1456,1140,858,945,1266,1320,1086,1208,1326,1382,1350,1232,1124,922,933,1028,748,498,526,552,677,1240,1632,1298,662,421,473,478,453,541,516,399,337,347,368,371,351,423,403,331,288,359,521,532,534,1014,1698,1952,1900,1318,854,1226,1252,989,984,1011,998,1040,1086,1344,1316,1356,1001,896,830,1015,1005,1304,1420,858,661,1206,1562,1290,1232,1176,1176,893,594,466,458,415,489,818,796,762,1166,1312,1284,1094,939,621,613,492,535,466,492,827,1007,822,589,706,735,805,917,930,794,955,1058,1284,1352,1048,1076,1282,1152,1126,1272,890,630,652,489,348,381,516,808,1084,910,737,706,753,770,951,1070,1156,1380,1180,730,662,824,1350,1494,822,582,549,641,1432,1636,880,588,569,798,901,903,911,865,1005,831,695,833,767,666,733,555,524,504,902,1312,1074,926,1256,1092,968,1322,1364,766,697,1130,1492,1028,726,844,915,619,449,804,890,1044,1152,1610,1332,768,600,982,1334,1300,1098,1030,938,724,735,432,564,669,657,840,763,946,875,606,1006,1084,882,794,672,649,1010,886,1062,940,851,1023,1384,1336,998,1062,969,852,1158,1196,1296,1002,846,777,898,1026,826,953,1100,869,1080,811,714,838,1434,1466,1130,677,721,918,877,892,1166,1628,1762,1250,1172,1060,781,1017,900,756,871,1060,1532,1482,1184,1372,1656,1644,1576,1308,1160,1516,1232,1412,1596,1432,1670,1704,1242,1086,1144,1064,902,913,1148,1418,1404,1472,1324,971,1302,1792,1736,1266,847,1106,1344,1138,1242,1038,1036,941,1012,819,770,676,582,588,744,1062,1224,1066,1440,1582,1396,1534,1428,1208,752,1019,2080,3072,3486,3784,3098,1544,1556,1858,2554,2818,3034,2282,1234,594,720,1138,1448,1338,1422,1528,1512,1034,1186,1664,1642,1706,1352,1262,1268,1228,1290,1712,1670,1430,1292,1318,1354,1306,1456,1754,1770,2410,3232,2930,2910,3608,3560,3608,3054,1656,1080,1462,1656,1610,1452,1444,1534,1452,1472,1500,1516,1310,868,565,541,523,741,1158,1476,1218,957,1332,1746,1948,1726,1616,1282,684,541,566,610,557,583,644,704,1230,1502,1248,1242,1188,993,1028,1346,1444,1070,574,377,609,916,1194,1172,672,592,531,379,355,370,420,1044,1828,2360,1794,1090,640,498,359,461,394,402,1130,1510,1450,1440,770,292,425,612,1172,1670,1086,1148,999,800,814,1060,1220,991,865,607,470,574,656,430,492,692,799,900,743,698,722,739,627,647,735,692,777,971,758,592,483,491,683,851,1020,1088,1204,1238,984,773,712,655,643,582,339,277,386,565,661,496,493,621,471,442,509,648,544,435,588,968,634,356,597,1080,1428,1384,1518,1638,1160,932,1234,1240,935,700,793,1378,1648,1370,935,1410,1714,1754,1964,1334,724,686,765,1118,1438,1994,2018,1424,1234,1272,886,457,474,489,419,452,592,647,568,525,819,1402,933,312,343,445,545,736,1192,1098,629,490,656,929,922,1252,1978,1880,1464,1418,1192,1102,1464,1148,771,966,1592,1142,618,469,467,608,742,756,697,808,1082,633,365,466,453,433,351,318,560,917,1023,997,982,646,750,800,877,753,780,1102,930,627,641,665,824,1158,921,652,1226,1318,1354,1320,1052,834,634,749,1214,1090,595,385,405,365,393,635,889,508,498,724,695,451,609,1426,1706,1870,1816,1246,717,963,1036,1366,1416,1158,740,564,511,693,1032,1072,590,463,577,574,473,570,497,308,271,494,540,382,300,380,801,1021,672,784,628,536,646,504,325,253,272,304,309,298,317,339,313,303,332,345,360,376,348,334,331,365,384,402,444,554,623,543,638,730,722,738,843,850,874,1020,1068,1054,973,867,738,702,743,641,481,556,768,843,890,1164,1038,535,741,807,619,709,640,1070,1334,1186,1102,1178,1340,1340,1206,1502,2072,1348,1042,1180,1011,874,902,1594,1896,1476,1206,1054,1132,1446,1296,1350,1252,1140,1288,1082,808,725,991,1104,1180,982,640,459,330,359,591,821,1088,1136,929,684,560,369,726,1232,1158,1538,1346,1248,1286,893,1005,677,798,1048,676,449,636,662,704,1174,1356,1322,1052,720,1236,1364,688,440,593,903,973,719,1020,1450,948,1358,1112,675,756,670,614,637,540,387,495,748,875,724,902,626,504,1060,1060,564,345,350,695,1112,782,457,825,1158,1390,1300,1616,1560,896,1122,1368,959,587,519,631,543,455,455,694,1108,1288,1164,706,664,1142,1190,743,594,596,985,1442,1376,1038,619,566,701,644,838,1082,1070,872,670,799,843,606,482,471,614,979,1484,1542,1110,1282,1306,1006,733,577,577,854,1052,1148,1246,1526,1444,1096,1072,1276,1214,1036,796,612,678,1168,1278,709,1144,1072,1026,1198,661,421,505,467,506,571,599,562,528,553,488,390,504,564,430,678,678,484,433,725,967,796,832,841,728,895,926,1166,1260,902,708,678,547,541,841,1068,979,815,810,1316,1286,1160,1172,1274,1318,1384,1198,1042,881,998,1070,1358,1364,1336,1566,1328,1150,1562,1456,1196,1242,1224,1202,1258,1232,891,1290,1224,995,1182,1026,575,401,384,449,709,742,549,629,615,624,716,851,777,741,653,623,938,992,855,914,801,548,410,400,397,669,580,459,499,760,1182,1416,1650,1542,1776,1514,926,506,487,630,781,1282,1604,1328,1418,1734,1392,1332,1310,1148,1070,971,1102,1152,1238,1300,817,487,395,338,322,345,396,482,503,1038,803,664,788,957,805,917,1074,816,738,861,924,1102,1296,864,870,1342,1596,1426,1104,937,1064,951,1064,1270,1210,1017,967,1218,1170,1264,1348,1522,1222,1130,1382,1418,1404,930,937,1021,711,678,1196,1502,1430,1022,715,1078,1244,713,440,404,666,1120,1224,1304,1108,1222,1252,1036,1021,1134,1226,1322,1342,1250,1004,763,833,670,752,1362,1226,1202,1174,993,1086,1166,897,767,708,757,675,651,811,1238,1670,1490,1318,1070,1044,1412,1364,1178,1356,1198,1076,1086,1106,1208,1368,1418,1366,1076,767,840,1124,1005,1092,1162,877,791,819,732,960,725,427,678,848,1020,1120,1206,1032,1122,767,469,562,442,520,916,1040,1082,1266,1130,1440,1832,1204,1306,1804,1348,844,579,473,480,597,828,709,800,1242,1130,833,767,822,941,1130,1058,1068,1302,1320,1492,1604,772,483,521,923,1120,1072,778,1210,1214,800,707,708,1136,1072,579,769,1230,1512,1312,1246,949,1296,1476,1078,1744,2090,1172,633,1050,1184,968,978,735,628,547,647,1186,927,638,993,1366,911,870,1128,882,1116,1738,1678,1158,972,813,992,1023,691,491,510,841,883,604,408,598,606,505,535,951,1110,712,789,1532,1944,2008,1376,852,948,824,1334,1732,1356,844,894,1026,875,912,833,824,695,530,491,602,633,399,714,1854,1800,1294,1104,932],[338,282,285,279,342,315,333,504,572,612,559,423,631,1194,1052,588,510,479,597,663,758,1088,1096,760,435,534,552,422,426,807,1382,1382,1300,1266,1266,1096,1348,1720,832,608,503,485,617,868,626,448,465,462,488,601,602,645,1162,1344,1376,1042,1112,1066,987,833,1068,1148,902,616,516,343,564,936,830,451,359,458,897,863,567,468,439,315,317,307,344,346,365,323,843,825,819,1314,1594,1808,1592,1466,1618,1656,1896,1484,1070,1026,1170,899,527,619,533,745,1320,1678,1154,648,449,451,515,399,369,372,356,418,472,465,407,566,683,686,657,458,424,603,1040,1042,1034,993,825,643,447,354,269,234,245,275,290,346,436,812,1112,717,619,1144,1158,645,476,532,723,1030,1560,1334,999,1272,1442,1290,1146,1056,936,1236,1380,1230,1142,1382,1360,1230,869,704,865,820,557,440,578,713,631,776,866,901,688,564,613,683,596,603,575,440,411,457,442,419,377,413,570,510,409,747,694,589,586,709,672,459,372,392,488,555,648,950,949,1094,1228,1226,1318,1112,739,806,1338,1566,1582,1248,1386,884,674,755,821,1412,1518,1072,1252,1506,1250,1372,1076,820,883,1116,1144,932,589,670,820,611,512,600,456,425,557,638,394,389,397,304,346,372,347,354,549,734,701,634,585,498,484,556,494,517,563,531,556,574,515,592,919,1252,1820,1678,938,613,510,448,437,405,371,377,397,391,386,451,786,1084,1048,1082,1066,1102,946,840,1138,1588,1804,1754,1714,1750,1618,1394,1162,845,547,754,1198,1248,927,684,626,818,682,588,480,575,772,705,590,601,506,467,561,651,821,1126,1116,717,461,411,379,365,442,508,656,645,619,663,637,434,394,337,371,530,916,962,769,656,944,1140,1246,1324,969,601,504,443,513,611,460,357,315,302,307,295,397,654,762,716,683,860,1282,1430,1140,998,988,727,704,799,946,1086,1122,1236,969,418,359,380,360,335,407,565,673,852,1064,1066,1222,1370,1090,1132,1438,1738,1188,959,987,945,1116,1226,1120,1162,1348,1194,1001,1208,1176,734,578,676,713,744,1308,1672,1272,669,407,439,438,464,524,439,383,347,351,437,479,402,510,514,309,400,522,451,455,568,1076,1294,1622,1374,906,1180,1528,1214,1080,1054,951,855,1296,1336,1318,836,1028,762,843,1076,1010,1202,1330,1092,773,772,1024,1410,1480,1438,1096,1118,1128,899,581,437,378,507,609,578,722,1202,1290,1296,1007,1094,1009,830,683,554,546,930,1426,1418,671,371,521,812,1038,1316,1346,1184,1264,1132,1278,1372,1410,1754,1554,1504,1288,792,597,615,645,643,558,696,1200,1704,1686,1328,1026,767,694,962,1312,1236,1010,930,719,565,774,866,1120,1230,846,490,438,713,874,838,701,726,629,669,756,896,1009,907,795,536,775,870,1156,955,615,436,468,502,593,469,444,711,980,883,985,985,754,600,674,746,780,785,796,886,974,645,557,1072,948,1470,1730,1598,1300,1140,821,863,1040,743,1044,1202,1252,1232,1114,796,766,776,527,399,559,694,533,691,1354,1250,1356,1184,996,902,962,1246,1340,1026,995,951,974,951,1140,1112,757,635,1096,1120,1078,1118,1208,1054,842,913,1024,974,1098,885,1072,908,580,889,1428,1538,1218,702,700,918,1024,1024,1128,1496,1398,1024,1186,996,720,717,668,1114,1554,1668,1510,1624,1512,1224,1470,1512,1304,1126,904,1246,1042,1178,1454,1634,1848,1548,987,1130,1118,1066,979,974,1246,1540,1424,1344,1424,1272,1428,1704,1462,1086,955,1290,1594,1414,1366,1082,922,988,1018,832,810,994,966,1028,1446,1410,1328,1140,1260,1026,938,1180,1148,946,901,825,1688,3204,3464,3586,3458,2124,1510,1686,2318,2814,2626,2722,2364,1220,612,719,1120,1448,1140,886,793,957,1198,1268,1478,1870,1758,1324,1178,1604,1450,1396,1576,961,925,1224,1398,1594,2030,2090,2502,3428,3886,3742,3096,3042,3484,3388,2104,1426,1284,1194,1396,1528,1256,1166,1230,1458,1510,1406,1414,1126,765,584,411,625,1268,1512,1446,1026,991,1476,1648,1564,1784,1842,1536,1008,673,581,608,633,661,575,592,1062,1368,832,684,933,1176,1184,1166,1360,1394,1007,600,894,1444,1450,1538,1630,1360,1208,720,504,473,684,1870,3072,2398,1376,1026,783,789,311,279,370,427,1118,1508,1700,1490,767,357,535,727,1192,1674,1056,1198,882,540,841,2050,2408,1928,1198,697,471,527,760,538,558,758,857,891,991,937,1160,1288,1066,922,745,552,700,686,767,498,331,465,658,823,981,1116,1258,1172,885,738,716,671,589,454,321,336,434,543,600,611,662,564,484,515,726,741,448,341,316,838,764,507,1074,1594,1228,853,1078,1222,1332,1332,1334,1112,1112,976,697,1302,1978,1784,1250,1478,2150,2002,2014,1430,908,1005,1170,1326,1458,3022,3012,1198,811,789,675,451,405,444,417,405,489,466,641,929,1130,1422,1082,363,280,348,628,813,1040,944,630,442,1152,1494,1204,957,930,1136,1052,1140,1484,1308,1286,769,606,995,1686,1464,857,487,392,638,910,889,713,591,933,505,440,712,751,690,680,622,632,827,963,694,634,401,564,477,466,422,674,801,698,766,825,795,868,990,902,612,465,645,678,692,753,813,744,1052,1554,1368,1310,688,646,500,615,1234,1316,822,796,999,719,481,569,1238,1382,1138,1170,839,510,615,977,1366,1372,953,637,670,786,673,717,1124,1146,896,669,555,404,416,449,342,263,341,523,711,528,429,765,1398,1116,717,505,439,437,505,505,343,247,240,319,337,328,309,288,276,300,322,331,343,352,323,325,368,418,401,392,537,570,502,537,653,857,903,849,829,912,1058,1082,1080,1015,837,740,677,689,669,602,556,582,694,794,907,999,714,730,559,450,518,441,648,1001,1456,1504,1112,1158,1244,1114,1114,1760,1582,1118,1068,1270,1150,818,1058,1106,979,1011,976,1204,1412,1554,2034,1686,1176,1180,1296,1056,890,1064,1202,1086,804,428,370,350,402,810,1142,1302,1142,799,546,434,501,1023,1778,1224,1362,1282,1236,1492,1426,1256,703,518,683,433,350,485,586,614,943,901,1094,1188,858,842,794,525,548,820,935,702,446,771,1216,787,767,761,756,820,694,593,666,727,587,835,887,761,656,883,613,415,578,931,811,408,376,448,783,755,386,673,1076,1408,1858,2052,1150,724,1016,935,684,891,659,437,579,670,650,890,1180,998,664,728,962,1236,1226,977,988,949,816,768,686,743,604,622,816,857,779,1016,1208,1044,708,691,603,481,494,768,1082,1588,2036,1548,703,673,835,872,966,723,526,606,875,977,977,929,960,1302,1440,1164,999,947,750,891,636,1224,1262,883,740,581,1140,1280,659,502,539,533,661,793,756,711,654,623,560,442,360,356,324,365,474,456,390,385,543,1112,1218,963,1034,1490,1176,1082,1122,810,717,654,557,646,662,861,874,1068,1294,1268,1086,1052,1276,1366,1552,1590,1070,1094,771,1092,1272,1366,1332,1110,1100,1108,1428,1760,1598,1368,1272,1300,1244,1080,804,683,985,1408,1542,1380,929,528,416,430,493,702,639,692,741,697,801,750,717,584,524,514,681,1026,1100,727,676,703,538,421,408,440,472,367,364,451,780,1180,1204,1296,1212,1620,1408,736,498,494,606,634,670,814,1154,1756,1708,1330,2474,2156,1300,1074,1142,1332,1632,1876,1552,1094,1001,620,321,351,464,598,677,509,609,844,852,910,1072,1130,1090,1106,658,561,586,611,636,704,688,926,1260,1486,1632,1282,1078,895,708,1172,1432,1140,1270,1504,1458,1466,1282,1228,1206,883,935,959,1266,1442,940,1196,1110,766,970,962,850,1282,1462,1200,998,825,514,513,460,703,1120,1336,1422,1340,1216,1140,1072,988,1098,1140,636,888,995,890,969,1030,625,727,1246,1478,1322,1162,999,950,927,834,528,626,1150,1042,688,516,724,976,1188,1270,1030,1072,1280,930,880,1244,1062,1152,1154,1388,1516,1512,1432,1322,1318,1066,685,896,1210,1102,624,684,1054,996,801,944,781,716,448,506,871,859,754,835,1082,898,875,646,473,432,401,493,706,1019,839,1522,1498,1126,1506,1556,984,1021,1216,788,604,782,954,701,1042,1684,1176,855,914,599,755,839,598,569,800,1098,1636,1120,526,519,764,1650,1308,1084,1346,1434,811,590,584,403,587,911,565,425,752,1356,1624,1640,1318,1316,1686,2220,2280,1566,1174,1188,2336,1792,980,932,740,647,463,568,805,1150,1690,1468,1676,1404,1570,1132,1086,1670,1594,1594,1592,1286,929,885,702,651,543,511,844,1158,1118,936,628,377,425,442,450,413,422,422,664,1176,1564,781,487,452,479,916,1322,1246,845,819,800,475,400,444,621,512,373,564,671,496,601,1588,1982,1328,1078,773,544],[321,309,303,261,310,400,493,841,1104,1310,875,755,890,1048,858,686,619,501,558,577,614,1009,1148,859,564,808,760,589,446,549,684,871,1038,1250,1700,1560,1464,1474,754,541,466,507,633,728,589,457,393,437,538,583,619,935,1324,1558,1178,931,1062,1172,1204,1126,1218,942,650,551,540,415,563,542,415,352,348,339,706,1023,827,592,672,475,358,365,412,351,466,631,952,791,559,616,861,1214,1372,1340,1666,1616,1436,1308,1254,1258,1442,913,852,1134,931,952,1426,1338,766,525,492,572,568,381,379,381,378,354,387,433,478,520,537,491,386,340,443,709,1226,1172,879,639,572,597,494,368,314,405,429,403,365,449,357,771,1184,867,516,924,1224,747,684,626,522,655,1130,1334,1194,1142,946,888,821,822,922,887,742,1042,963,938,761,868,1174,1172,965,761,639,792,1064,908,876,1050,882,1140,1116,832,667,624,653,710,757,657,567,642,484,359,352,381,464,425,373,604,686,559,531,700,621,437,401,464,428,466,623,1026,1072,1046,1288,1364,1070,875,580,487,709,1032,1002,855,966,491,593,777,761,1102,1140,1000,1294,1544,1216,1372,1005,587,624,801,864,828,783,905,802,956,1007,946,520,542,865,1124,568,392,467,403,412,393,421,531,531,610,767,835,826,713,776,912,953,991,1226,1198,680,623,626,810,761,867,1460,1644,969,665,562,571,536,435,396,453,484,410,411,434,801,964,1038,1072,1032,1160,1026,863,1132,1430,1528,1418,1482,1658,1470,1460,1288,916,766,943,1062,785,612,582,631,787,541,487,444,714,1078,1142,1144,1042,789,651,659,975,1448,1248,1013,872,626,639,573,422,444,703,991,1136,996,1154,1236,902,512,384,426,713,835,871,935,714,760,963,844,576,465,457,460,445,515,411,355,401,419,343,352,349,502,713,570,502,498,858,1454,1492,1036,714,495,393,403,458,502,503,381,398,417,331,361,404,469,612,789,1010,1114,995,990,1344,1588,1364,1110,1266,1650,2036,1370,1158,1366,1152,1242,1344,1340,1488,1570,1360,1206,1208,2014,1592,1126,816,615,785,1404,1692,1302,683,480,463,435,446,527,499,377,379,368,388,428,400,557,579,396,526,639,865,780,524,958,1278,1268,838,747,1208,1214,1078,993,818,978,1016,1182,1172,881,1000,1210,984,1100,1274,1196,1140,1016,937,659,799,1356,1428,1504,1356,960,1007,1454,1192,733,621,489,522,605,687,1148,1842,1636,1156,896,1102,1126,899,944,495,558,1268,1628,1482,1040,503,507,1015,1290,1674,1438,1408,1416,1023,1100,1246,1446,1352,1342,1368,872,600,703,786,1202,1258,816,968,1076,1204,1240,1352,1092,971,1370,1678,1292,778,869,1204,1002,898,1134,849,1038,1026,1009,783,979,1384,1038,661,596,595,811,1030,948,1672,1064,853,877,616,833,939,1274,1098,600,436,550,816,833,487,688,1048,785,675,864,661,538,609,561,694,835,707,843,886,788,699,827,1006,765,963,1304,976,977,1484,1216,975,861,612,788,709,979,886,851,1042,1030,1030,1130,1132,941,874,1026,1068,1440,1356,1328,1192,1130,1120,1152,1410,1030,788,932,843,765,470,593,803,682,847,821,662,792,847,1112,1224,800,857,1234,1013,873,580,1040,1468,1016,1336,1664,1620,1362,836,821,614,597,741,1460,1388,1290,1124,1072,1000,1010,864,1018,1368,1664,1982,2078,1848,1320,1258,1414,910,674,892,1086,1102,1076,1420,1556,1410,1366,1302,1306,1338,1172,1076,1146,1452,1412,1040,763,930,1522,1442,1266,1174,904,825,807,1024,1364,1566,1632,1482,1090,1040,1402,1500,1626,1656,1328,1132,1200,1116,967,821,885,752,721,1019,1236,1294,1256,667,1194,2814,3318,3510,3792,2874,1820,1648,2048,2396,2910,3328,2968,1748,840,667,941,1560,954,626,904,1198,1202,1546,1962,1862,1720,1512,1170,1274,1664,1376,923,728,1072,1392,1836,2200,1978,2426,3636,4028,4208,4048,3934,3234,2752,2056,1560,1588,1512,1262,1182,1238,1342,1450,1420,1338,1564,1594,1278,677,430,422,497,1021,1406,1214,1144,1060,1034,1434,1486,1506,1754,1742,1602,1460,982,602,668,730,712,774,854,905,1048,1030,794,941,1650,1662,1324,1262,1614,1466,982,1418,1638,1406,1824,2134,2272,2144,1432,739,441,618,1294,1550,818,856,657,507,390,299,345,433,557,675,1001,1498,1240,694,481,784,884,897,873,1044,916,478,798,1924,2598,2592,2380,2086,1202,573,489,506,396,558,674,962,1234,1070,1034,1080,1144,1192,912,487,354,346,425,838,560,342,499,681,794,903,903,838,697,673,643,639,639,568,375,334,431,478,433,476,615,614,565,557,551,929,783,436,379,315,550,854,724,582,989,977,1202,1484,1128,1420,1356,1224,1174,1366,1148,811,1284,1820,1570,1152,1514,2302,2222,1894,1300,922,774,1106,1122,1294,3190,3076,1046,756,670,697,462,418,444,433,431,481,712,1210,1286,1116,1350,1302,639,533,705,742,556,555,874,895,799,896,664,609,558,841,1754,1268,1268,1506,1266,1186,860,409,550,1038,1372,1110,419,379,550,984,922,854,744,971,655,354,607,777,734,603,550,560,583,838,659,761,548,518,588,459,386,505,408,332,312,338,383,505,514,702,749,786,971,1170,1456,1694,1570,1118,922,1478,1458,1672,1036,843,521,633,934,974,745,690,769,413,469,581,681,858,534,393,368,378,437,747,1058,874,619,743,1186,1438,828,544,550,987,1170,711,432,406,434,565,423,296,301,342,666,607,607,453,802,828,507,428,435,419,395,444,527,309,232,331,361,331,313,323,311,297,305,305,316,313,302,413,437,436,413,480,591,510,417,449,665,917,951,846,809,989,1078,1010,900,879,819,689,637,673,722,677,557,430,460,658,789,818,805,648,459,384,405,468,408,891,2100,1904,1110,916,1036,1466,1450,1644,1708,1316,944,944,884,809,714,601,1118,1252,1202,1408,1496,1522,1570,1336,1072,1136,1318,1360,1124,1080,1196,1042,980,535,372,393,544,1090,1482,1240,974,861,1004,709,684,867,1412,947,806,1196,1088,1252,1462,960,442,428,496,554,797,769,725,811,888,781,780,1142,1190,866,751,888,888,864,944,802,472,368,463,437,560,698,822,791,568,539,653,848,1368,1562,961,659,454,474,593,457,310,547,600,437,360,322,410,486,650,1202,1334,1376,1620,1230,623,452,415,407,496,1003,1054,685,778,643,560,725,668,382,368,612,931,908,1100,1160,1004,855,724,584,576,599,594,496,774,1036,735,930,1118,1088,806,640,439,415,456,578,1015,1480,1670,1582,1104,750,870,1218,990,713,775,719,1001,885,915,1002,1180,1496,1186,616,840,983,976,1556,908,830,743,805,935,767,788,855,602,473,490,630,782,836,740,712,669,548,475,557,568,488,458,431,457,417,375,539,748,1436,1282,907,910,918,985,1338,1454,1100,1094,809,755,641,402,489,492,929,1176,1094,1042,1064,1084,1238,1296,1266,1158,2160,1430,1024,1242,1344,1108,917,1098,1346,1386,1326,1542,1434,1326,1460,1296,1164,940,883,943,1196,1274,993,633,572,514,825,631,552,644,739,670,634,763,686,449,350,393,457,666,1034,1050,634,628,559,479,421,373,416,464,432,526,697,1122,1656,1122,893,808,820,979,751,555,578,729,725,473,474,838,1132,957,767,1896,1964,1490,1340,1252,1116,1342,1542,1362,1236,1284,1040,529,701,633,532,745,724,1058,1468,1220,1160,1256,1274,1400,1448,860,608,576,692,793,796,811,1134,1316,1534,1782,1520,1266,1222,1270,1300,1356,1244,1286,1102,961,1064,1108,1322,1252,1122,1009,828,1011,1092,766,902,1110,1023,935,957,1122,1236,1354,1570,1460,951,655,647,767,1466,1562,1138,1206,1312,1306,1240,1098,1062,982,659,407,743,850,819,1064,1268,996,811,1030,1172,1034,1144,1288,1194,898,775,516,647,935,753,556,776,1144,1082,1292,1270,1234,1224,899,525,518,565,653,938,1198,1458,1376,1280,1312,1360,1240,1166,972,778,999,878,665,775,987,1282,1536,1338,1090,1222,960,821,1092,850,1218,1588,1334,1310,1442,828,383,410,514,570,567,871,749,1042,785,1076,1084,1176,1254,1538,1722,1112,768,544,767,1144,1216,1024,846,879,795,848,1158,777,542,899,1318,1432,1376,757,1146,1552,1178,1252,1278,1332,1162,653,336,377,352,449,661,963,791,559,841,1080,1314,1400,1306,1542,1824,2046,1388,1104,1200,1952,2614,1816,998,850,753,844,809,679,960,2002,1694,943,1074,1154,1240,758,1230,1594,1784,1958,1666,1300,649,421,579,844,837,809,1238,1594,1314,1274,1082,719,894,875,607,609,612,360,311,526,602,410,531,693,729,782,863,919,855,758,532,480,432,273,280,265,480,840,669,343,907,1864,1600,1396,930,1046,1438],[300,360,311,272,342,441,486,752,1456,1720,1244,937,695,874,1026,913,750,658,691,520,530,1198,1510,1102,915,1094,1018,695,398,323,388,508,664,852,952,837,613,505,513,493,469,531,667,756,607,565,453,462,605,767,845,935,980,1438,1021,777,1426,2150,1402,747,837,760,940,816,698,565,578,583,403,319,348,536,857,857,860,728,938,913,822,504,328,410,523,930,894,576,611,492,442,744,1130,1200,1200,1154,1040,1562,1460,1186,1110,1146,1720,1896,1336,918,896,1050,783,563,717,805,747,711,503,369,387,341,382,480,530,594,560,407,350,338,374,450,659,728,527,331,356,628,791,670,468,483,569,414,303,297,355,585,764,630,391,731,1328,982,657,535,449,550,907,1021,940,752,1228,1982,855,738,938,648,1086,1622,1302,768,686,761,1266,1516,1298,1272,1222,1284,1350,880,1003,1066,897,1340,1108,792,626,504,554,626,735,642,479,633,433,323,316,294,269,339,397,453,502,462,436,466,422,405,399,500,532,513,681,1122,1128,893,866,619,492,590,429,401,448,659,529,537,669,501,485,595,922,1358,1422,1384,1696,1484,1330,1418,985,759,835,966,1162,925,1224,1564,891,1124,1068,1018,641,817,1144,1182,662,403,395,386,431,461,506,504,389,513,800,907,975,842,834,1050,1068,1064,1536,1688,836,608,679,1218,1878,1280,1126,1076,740,613,514,449,425,433,400,462,565,555,608,529,793,1030,1112,1048,1096,1272,1094,872,934,1154,1122,1154,1360,1568,1512,1498,1378,1138,1042,836,543,410,382,464,937,777,513,458,405,480,772,957,1038,929,688,517,563,907,1128,776,799,904,890,850,705,645,633,772,1106,1196,930,1340,1632,1468,780,730,898,1194,1132,1074,1184,971,720,650,531,456,543,435,409,397,518,697,881,972,745,401,365,373,554,755,626,634,703,816,1080,1005,816,698,564,447,372,379,441,527,445,438,382,396,465,499,635,860,949,969,970,953,1260,1384,1272,1019,750,702,870,1160,1164,1330,1310,1294,1366,1296,1314,1268,1274,1288,1288,1154,2156,1684,1240,1023,690,786,1484,1768,1206,560,529,489,432,464,529,475,364,361,327,311,361,393,456,474,497,500,550,1430,1236,951,779,726,1068,988,964,993,792,950,788,901,830,982,1262,1092,857,1088,1404,1216,974,1046,1074,818,1138,1478,1012,1700,1700,1310,1300,1350,1280,1180,1090,611,590,669,634,528,481,985,1802,2234,1472,867,991,1366,1360,1122,1196,739,446,585,566,608,846,596,690,1084,1602,1540,1182,1406,1480,1302,1328,1450,1566,1612,1350,1200,976,796,879,895,1330,1184,894,959,945,1076,1338,1526,1298,1084,1010,758,664,618,686,1160,1412,1156,984,751,931,934,1100,1220,1318,1394,1166,714,491,529,937,1238,615,867,677,715,787,732,774,861,1066,1168,897,988,732,1034,867,898,1028,1054,717,814,1210,1013,822,878,750,678,688,583,898,670,512,560,1007,1016,1082,1434,1312,620,613,579,651,985,695,601,629,749,1076,946,844,799,648,619,648,497,579,711,822,836,1128,1392,1388,1388,1318,1168,1224,1162,779,771,597,681,647,492,496,791,724,933,957,990,1222,1128,1250,1158,874,686,737,729,472,308,776,1220,1362,1826,1766,1248,1166,1126,1000,604,459,557,1252,1058,1306,1628,1418,1304,1202,1224,1592,1622,1624,1876,1952,1302,1258,1106,733,672,698,594,894,1050,974,1086,1350,949,770,1266,1428,1484,1242,949,1128,1484,1340,852,481,642,1078,912,717,661,562,703,833,1090,1302,1368,1348,1106,623,806,1256,1114,1264,1400,1272,855,937,1260,1026,741,628,619,841,1042,1344,1202,1080,1038,1298,2426,3186,3440,3768,3284,2104,1636,1756,2438,3110,2902,2286,1306,932,832,640,688,533,542,937,1232,1496,1984,1988,2254,1940,1682,1502,1026,1356,1634,1230,1086,1236,1494,2048,1810,1804,3066,3792,3996,4152,4232,4208,4014,2554,1198,1394,1610,1560,1506,1410,1516,1560,1306,1298,1386,1582,1672,1246,721,554,500,680,1160,1260,1120,1230,1344,1114,1476,1422,1204,1574,1798,1736,1652,1374,885,674,709,801,1066,1318,855,766,926,780,1192,1670,1982,2024,1288,1512,1610,1076,865,946,1240,1584,2046,2448,2438,1952,1186,610,375,409,436,375,619,566,410,440,443,512,642,776,670,631,820,832,731,620,765,739,628,832,1168,963,905,1650,2302,2500,2504,2318,2300,1050,485,492,437,412,580,576,759,792,671,818,752,799,1216,879,517,367,414,500,589,439,332,502,680,721,759,774,716,640,674,662,631,583,498,349,385,553,510,426,515,637,527,601,560,1020,1248,1020,667,521,458,407,612,813,366,562,1248,1438,1506,1324,1362,1442,1454,1296,1192,1088,895,966,1400,1186,1114,1480,1830,1840,1578,1182,840,797,930,781,1482,3616,2654,1158,780,600,683,484,412,425,478,523,672,1116,1246,1190,1550,1626,1310,990,1208,1376,1182,825,604,940,1300,1348,1246,969,1488,1428,890,1380,1290,1028,954,844,1050,961,426,434,498,667,752,490,314,468,860,925,778,595,834,802,410,612,672,635,730,621,530,381,562,539,594,637,740,833,544,508,588,349,271,326,576,1312,1660,1146,692,730,875,1164,1610,1924,1716,1148,865,744,1338,1516,1758,1276,753,419,440,770,713,499,504,455,614,661,538,412,493,613,534,350,375,398,463,639,509,351,636,1650,1960,1006,388,263,418,852,1084,742,414,687,742,369,268,242,347,596,674,954,832,508,336,402,519,431,398,325,346,499,506,342,274,303,314,323,339,331,302,307,311,319,351,403,522,475,479,371,446,521,447,462,630,775,875,814,765,783,1010,1078,889,721,776,758,673,682,673,703,725,627,491,419,536,775,783,693,440,361,431,433,453,422,819,1514,1290,1120,1196,1428,1636,1516,1420,1564,1592,1228,892,758,1011,1004,1001,1456,1288,1004,1054,1122,1302,1578,1298,975,1188,1454,1282,829,839,1058,991,1154,850,529,540,797,1238,1440,1106,1164,1270,1484,1176,746,585,741,1090,1092,1190,1042,701,989,820,659,813,1212,1524,1570,980,930,1070,721,512,514,797,1238,1328,910,1058,1080,1216,1680,1658,861,330,350,353,407,549,526,427,412,637,839,995,1170,996,733,783,540,448,679,633,675,971,954,758,538,575,1026,1002,1296,1594,1244,1038,764,394,348,327,287,324,430,736,1084,916,794,706,658,843,747,479,692,883,710,448,978,1200,1038,1190,1008,592,576,779,1024,1146,1418,1362,1114,827,1034,1034,599,419,471,508,458,584,1168,1590,1200,946,995,736,941,1013,1026,843,691,890,1472,1290,844,1296,2238,2272,1622,980,995,728,875,1180,892,644,485,662,1174,1112,1005,955,719,677,676,677,788,949,1021,933,763,630,697,967,946,598,471,399,429,409,409,591,757,990,805,752,861,833,962,1164,1300,1082,1572,1058,852,484,302,298,291,549,875,966,783,968,1406,2024,1400,1172,858,1246,1018,928,1162,1220,1172,1132,1256,1358,1326,1276,1400,1382,1476,1434,1208,1134,1216,1216,1116,1092,1132,1394,750,494,534,959,924,678,462,470,502,505,593,735,663,637,420,449,497,688,687,742,815,619,571,532,466,583,460,370,830,1500,1308,1386,1208,860,648,843,1082,1246,1130,869,942,916,639,395,732,1136,780,483,952,1268,1192,878,787,924,1630,1368,701,672,971,1114,814,938,707,529,718,874,1552,1742,1340,1054,1026,931,979,1272,1230,1062,877,943,1180,1064,907,972,1084,1300,1476,1166,892,1016,935,944,1322,1422,1220,896,992,941,802,919,1300,2018,1956,1358,1342,1158,1024,985,868,863,685,743,1016,1074,1504,1210,1200,1472,1230,846,906,1346,1274,1086,1176,1258,1376,1272,1070,1070,685,338,298,554,823,899,1102,1312,1274,1001,839,714,896,819,1034,1158,1086,860,564,473,490,527,795,1444,2000,1170,995,1048,1032,984,582,445,532,862,1260,1250,1368,1434,1328,1342,1542,1402,1278,1266,1258,1080,1048,1152,1346,1204,1160,1138,1276,1236,1412,1418,1354,1678,1422,1046,1562,1376,773,1166,1390,626,451,664,916,944,583,1180,1324,805,551,547,574,1204,1334,1021,807,922,951,794,1166,1682,1804,1948,1592,959,917,1226,1100,702,657,796,926,1222,879,678,1350,1600,1122,937,1132,1352,1292,954,672,356,408,546,840,867,693,659,982,1092,1084,1186,1134,1152,1244,1562,1624,1620,1676,2362,2166,1256,1044,982,705,601,993,1258,1318,1328,658,827,938,959,974,832,1126,1628,2054,2092,1592,811,533,515,579,1054,1130,803,1250,1522,1208,1222,1016,808,876,998,939,890,747,761,828,910,623,363,467,579,615,800,883,767,698,634,764,943,548,243,265,328,730,1066,750,369,450,990,1330,1144,998,1764,2320],[282,333,326,301,319,350,587,879,1296,1434,1218,805,826,1098,966,801,711,627,536,523,550,937,1202,1058,946,940,869,736,447,352,436,547,541,466,421,508,593,589,544,503,612,678,794,1320,1632,1416,732,648,808,917,957,866,820,703,749,882,1636,2464,1154,543,443,877,1378,1506,1240,875,907,860,641,368,413,817,944,881,798,693,850,1192,1192,593,378,442,670,1046,800,505,417,484,716,1074,1694,1672,1570,1212,925,1272,1108,1060,1290,1414,1720,2050,1504,835,950,1324,902,662,749,647,638,696,436,371,383,385,390,400,401,503,487,410,384,357,352,402,514,453,385,438,682,1012,1216,1078,708,467,360,292,292,367,350,320,395,511,517,701,1162,1126,649,553,573,587,728,597,368,428,741,1102,754,752,838,586,1088,1438,1180,620,526,698,1062,1272,1190,1224,1598,1556,1266,880,1230,1110,1132,1476,1092,818,667,529,475,572,630,474,407,542,400,332,308,289,300,291,293,300,331,381,372,348,389,407,374,537,692,557,609,974,980,707,559,572,505,422,366,399,530,763,744,613,698,697,613,857,1156,1386,1456,1534,1466,1234,1150,949,691,1001,1078,1136,1484,1108,1298,1870,937,1024,1110,1114,874,964,1086,999,777,446,405,427,476,568,599,550,469,707,1210,1700,1748,1088,859,1001,860,974,1266,1292,1110,825,927,1550,2248,1466,1060,865,849,1186,630,411,443,468,437,516,730,703,746,761,705,756,924,1013,1182,1404,1440,1254,978,940,918,1152,1410,1606,1728,1698,1600,1458,1244,780,631,655,697,741,1122,764,493,469,426,412,486,552,502,474,572,465,504,551,493,562,711,545,463,508,563,607,395,504,722,720,717,774,969,990,1076,1354,1360,1346,1174,922,785,590,456,478,437,433,467,522,585,599,660,837,922,1024,882,502,533,622,508,471,491,893,938,627,473,473,722,858,704,546,477,514,725,897,1018,816,576,649,852,891,855,860,633,536,801,934,1044,925,1042,941,965,871,870,942,1134,1216,1274,1350,1206,1248,1278,1274,1296,1238,1324,1376,1068,1016,1244,943,772,775,1470,1706,1166,592,467,469,422,426,430,422,425,371,443,539,572,465,383,385,390,408,615,1134,1350,1460,1122,885,885,810,958,1096,625,807,780,1023,805,860,1086,1068,1046,1108,1444,1124,843,661,541,475,769,883,1500,2344,1700,1096,984,1260,1284,1362,1106,573,571,899,1030,711,741,1444,2052,1930,1314,980,1042,1322,1036,1172,1206,993,854,714,547,654,751,891,1015,986,1466,1346,1150,1328,1238,1256,1676,1638,1556,1544,1044,952,1098,935,1052,1062,1078,910,797,824,1050,906,897,1328,1392,943,706,856,1058,955,1126,1186,1416,996,648,749,998,995,1017,1152,1256,1394,1340,1064,852,755,808,757,737,616,430,376,501,740,850,795,1100,1124,857,1066,684,861,716,822,1090,1024,628,770,1070,836,921,943,686,686,780,822,963,880,747,910,1018,739,817,948,1074,922,1042,780,833,963,663,792,738,853,1376,1468,1350,1278,1460,1290,816,405,440,450,468,468,645,905,959,854,1068,1226,1198,1198,1248,1102,783,683,528,474,662,812,705,664,739,1254,1476,1490,1456,1046,923,745,803,863,639,608,807,788,1050,1590,1548,882,691,977,930,610,646,889,999,940,882,949,1242,1162,1072,1354,2030,2320,2144,1892,1312,1236,1236,678,419,700,933,594,578,830,737,789,917,728,1021,1234,1142,1460,1426,982,1104,1172,822,796,666,623,549,464,428,725,857,1068,1506,1632,1262,1178,1156,875,686,865,1090,1144,1482,1542,1310,750,722,1078,1082,915,568,676,899,806,1012,1078,1088,1222,1152,1852,3000,3440,3938,4034,2736,1730,1444,1876,1848,1504,1498,1108,948,799,591,563,525,523,758,1278,1910,1984,1750,1734,1684,1584,1668,1432,1188,1360,1620,1278,1180,1228,1466,1870,2806,2686,2976,3598,4036,4212,4168,3492,1872,1392,1628,1596,1548,1506,1634,2188,1890,1460,1434,1408,1310,1050,720,658,660,744,1158,1422,1198,1354,1524,1602,1458,1614,1438,916,1012,1450,1784,1768,2164,1708,830,805,1168,1288,1106,632,592,617,547,772,1036,1646,2260,1688,1188,1434,1622,1434,1170,1224,1554,1920,2078,2510,2242,1482,969,594,493,487,422,375,375,437,656,832,975,1320,1060,623,593,689,576,454,309,350,422,427,474,729,1094,1338,1548,1958,2312,2592,2286,1392,519,527,650,502,406,422,423,505,551,509,419,550,592,664,564,576,628,615,605,625,406,342,603,840,820,816,785,745,684,680,647,601,545,397,381,533,604,445,515,697,554,558,579,900,1332,1378,1246,980,712,521,449,417,795,586,601,1344,1326,1152,980,895,1250,1332,1002,1060,1200,1050,1054,1174,1140,1160,1250,1410,1422,1516,1188,805,994,988,941,1824,2504,1862,1366,985,704,688,586,644,676,499,614,668,875,1188,1592,1802,1698,1324,1028,1158,1214,927,562,469,821,1600,2028,1908,1948,2048,1352,786,832,1042,1128,1062,716,752,920,488,737,690,350,360,468,390,384,497,620,667,586,731,994,686,730,662,772,685,610,586,376,430,467,444,537,712,1052,680,617,645,414,300,480,1284,2486,2822,1742,862,876,766,879,1372,1504,1176,808,805,779,1206,1448,1216,950,590,353,365,595,584,460,430,339,375,423,308,361,768,1136,918,514,535,572,411,437,435,314,480,1182,1354,1026,702,373,267,367,744,891,432,584,501,373,386,423,621,851,880,863,663,502,458,419,488,490,463,482,439,304,390,404,313,276,285,309,320,323,321,323,314,338,426,551,639,780,719,524,393,401,412,552,765,759,754,771,741,786,997,1078,904,719,681,673,749,794,704,699,665,663,600,497,446,633,770,691,513,374,418,455,434,422,810,673,786,1150,1228,1240,1328,1282,1200,1440,1660,1490,1050,827,1126,1384,1184,1112,1092,1024,976,991,1260,1384,1064,1086,1638,1454,1288,1070,1138,1184,1198,1182,1008,824,701,820,669,805,853,1042,1246,1614,1974,1598,852,754,1290,1382,1198,1328,786,647,697,1086,1400,1438,1090,755,516,771,834,672,670,693,962,1354,1528,1418,889,675,940,1516,1528,808,392,445,490,628,711,514,404,457,695,936,1184,843,511,652,728,571,654,611,695,1070,1456,1066,846,670,599,725,806,1170,1228,810,1044,1009,481,315,319,411,506,378,522,832,772,724,589,522,675,365,440,965,1356,1030,713,878,1180,1136,966,827,567,567,763,1244,1402,1594,1246,962,777,980,885,566,454,534,554,526,484,694,1030,994,729,799,570,668,975,1176,937,582,532,1017,1022,792,1314,1786,1580,965,579,650,637,784,727,619,865,956,529,974,1382,1516,1178,1070,973,849,782,922,1198,1184,883,726,704,849,1182,1166,775,538,454,475,468,418,384,443,477,478,645,783,749,705,893,913,1610,1798,1010,697,525,398,414,346,377,680,781,493,579,896,1242,1019,1174,1072,984,974,1004,1262,1328,1472,1296,1368,1288,1402,1354,1426,1396,1444,1444,1328,1212,1108,1316,1370,1314,1156,944,928,778,536,691,860,691,541,605,597,705,1128,1108,706,591,435,413,388,416,684,1174,1084,645,615,682,954,1338,1068,713,1104,1334,1108,867,769,756,1084,1482,1216,786,1044,1126,1020,1030,707,455,639,933,747,610,799,1170,860,575,667,1146,1572,933,484,366,524,1054,1178,642,433,668,753,836,1162,993,1304,1154,1258,883,858,1146,1064,723,394,565,972,786,429,304,519,938,1294,1188,1352,1560,918,1058,1688,1496,1554,1512,1005,1116,1328,1248,1282,1722,1782,1100,836,847,1072,1034,750,705,706,567,766,918,1282,922,521,896,1478,1646,1384,1410,1546,1754,1688,1654,1480,836,374,405,397,342,320,524,872,1040,1180,1234,969,740,690,683,1192,997,919,1406,1204,717,691,457,371,598,1382,1774,1572,691,548,790,709,619,458,419,695,1194,1364,1282,1580,1504,1334,1110,1224,1050,1030,966,993,1102,1164,1644,1798,1324,1236,1108,1190,1106,1004,1288,1786,2106,1460,825,702,550,824,1144,1256,658,652,1090,1140,879,956,1816,1620,1009,848,603,811,1520,1462,1530,1340,1176,1410,1484,1678,1768,1764,1758,1222,479,927,1306,601,397,401,384,344,885,1050,914,1104,838,857,1020,905,644,874,1470,1252,592,486,763,847,720,764,846,959,1082,1162,1244,1178,830,756,1104,1482,1758,1800,1962,1514,846,709,913,859,558,552,982,1026,1074,819,1042,1078,879,1076,1154,1094,1322,1558,1526,1188,631,657,504,568,1124,1122,716,731,868,1136,1202,725,479,475,540,549,624,998,1208,930,829,747,684,514,431,607,803,1072,1082,707,466,525,498,311,279,241,321,544,679,391,413,300,556,1342,1090,756,687,749],[379,357,333,282,271,350,796,1020,1082,1154,753,631,1138,1206,946,879,1204,928,595,536,523,602,667,667,726,781,656,960,498,337,397,478,475,473,434,499,630,620,522,453,591,667,970,1160,1610,1288,722,669,805,830,724,883,858,541,650,1046,1908,1962,670,435,405,636,1332,1694,1082,658,802,894,969,781,778,1106,760,936,904,902,947,1194,963,449,406,481,811,1040,1096,926,544,481,703,1094,1196,1244,1488,1100,663,673,626,1024,1488,1544,1388,1386,1472,872,831,816,674,743,681,461,389,537,483,517,490,472,457,445,404,395,386,393,394,352,353,361,492,385,444,639,893,1070,1162,997,1021,982,520,360,285,355,322,276,269,441,763,673,810,1230,1014,691,669,556,464,348,383,537,596,608,524,789,755,524,750,1140,890,454,390,379,610,764,1078,1574,1740,1686,1244,920,1262,1056,1218,1594,913,870,659,478,477,514,533,447,472,540,405,335,360,309,210,199,203,235,262,361,393,332,344,370,369,508,624,548,604,825,786,554,475,543,491,525,439,385,588,1182,1280,766,818,1082,1090,963,1058,1104,1312,1260,875,769,1042,850,532,1026,1244,986,1356,1023,1092,1684,1004,893,1010,873,742,916,1350,1390,1138,485,389,396,458,633,673,669,595,830,978,1056,1156,1036,1236,1282,1236,1124,1134,1058,1142,911,1017,1758,2032,1444,1194,655,877,1432,707,549,493,463,422,576,704,624,779,1094,1138,917,803,780,789,1050,1382,1432,1080,989,961,1078,1344,1536,1616,1744,1834,1812,1516,1100,912,843,945,1210,1104,778,503,404,415,381,395,412,376,389,531,432,384,512,566,532,543,426,374,442,568,556,425,538,588,553,513,495,543,534,722,858,793,724,617,482,467,406,395,426,448,499,766,982,796,640,704,1058,1060,1620,1458,953,842,778,630,797,871,1024,877,717,781,800,796,933,811,905,744,803,1348,1382,1318,1002,754,787,924,839,652,480,359,382,678,858,737,927,1134,1210,1104,1188,1454,1456,1434,1386,1376,1246,1180,1370,1290,1284,1246,1238,1370,1362,1152,1298,1190,732,637,810,1488,1650,1058,587,480,496,525,453,437,484,422,525,844,1070,960,572,580,604,448,528,872,1232,1516,1638,1390,805,475,395,510,544,774,1038,1066,1126,886,942,1196,1152,1038,1124,1270,993,1120,839,635,485,464,1096,2138,2266,2066,1246,750,960,1264,1328,1426,1146,1202,1554,1494,862,838,1430,1880,1932,1678,1318,838,789,860,1406,1302,996,1086,1154,1002,807,919,1046,1008,845,1138,1348,1230,1122,1160,1338,1628,1688,1374,1024,927,846,1206,913,1032,1234,1362,990,749,1130,1148,818,801,962,922,723,625,685,821,891,1021,781,851,914,786,781,915,929,745,791,1132,1648,1526,1408,1332,1180,1146,910,1084,1216,825,455,543,809,1000,755,977,891,933,665,653,746,728,844,995,872,601,641,557,716,1046,811,495,779,904,862,805,622,579,977,1086,888,1084,931,733,907,1118,943,841,869,626,596,533,662,1210,1384,1444,1274,1712,1952,910,448,968,1168,829,716,900,960,703,435,487,488,648,849,883,1060,1168,1068,1042,1008,886,797,660,567,831,1344,1044,861,747,707,702,634,924,894,659,954,1074,838,1036,1476,1090,635,581,966,1120,932,1078,1054,856,1142,1396,1038,999,920,1192,1672,2260,2302,2004,1424,1252,1318,952,810,692,880,1164,870,589,1158,1108,821,899,1010,951,1076,1242,1276,1730,1388,995,764,533,601,506,487,557,529,675,1164,1476,1522,1588,1402,811,980,1246,1148,1454,1478,1258,1288,1396,1400,1252,922,558,641,770,916,849,858,849,627,609,908,1106,1086,969,1484,2580,3234,3250,2902,2078,1534,1480,1250,1114,1068,1426,2004,2232,1506,781,566,550,536,484,750,1488,1744,1852,1968,1802,1532,1480,1682,1578,1180,1378,1522,1312,1172,1692,2732,3306,3198,3152,3374,3576,4058,3492,2124,1296,1482,1576,1578,1538,1842,2458,2164,1766,1684,1548,1230,1210,968,499,524,759,1088,1384,1128,1168,1508,1666,1836,1874,1844,1542,865,971,1422,1590,1874,2554,1932,890,1142,1476,974,508,398,460,470,622,1005,712,1090,1810,1644,1058,1192,1644,1738,1672,1642,1754,2232,1990,2182,2182,1954,1300,948,632,577,515,464,545,522,653,817,1146,1430,830,467,599,714,436,332,385,384,374,407,481,800,1226,1416,1546,1872,2360,2442,1642,703,497,843,1108,921,515,501,561,507,452,408,429,642,929,1021,942,875,1028,816,754,728,582,485,973,1316,1176,914,871,855,724,639,603,566,458,381,504,585,413,383,614,678,568,575,811,1240,1292,1262,1236,931,1004,785,612,482,554,736,491,756,1214,1302,766,417,796,1344,1194,1414,1404,863,858,1102,1044,670,592,885,1302,1252,751,904,1218,1066,803,1280,1776,1782,1256,725,687,766,786,692,692,684,850,816,1140,1400,1306,1296,1506,1484,1052,858,994,1074,1028,841,734,1230,1516,1522,1794,1646,946,612,980,1220,1360,1406,797,666,891,400,519,541,494,536,558,590,658,749,1003,1376,832,669,962,953,967,1188,1344,794,475,345,217,336,499,656,883,1122,1240,773,608,504,334,304,1072,2222,2828,2918,1986,1562,1222,825,839,1130,1108,1052,885,886,854,1052,1002,861,984,609,343,350,523,460,368,341,297,366,384,243,362,838,1250,1232,970,1118,920,556,484,564,518,600,724,864,1300,1198,428,248,254,369,544,502,438,361,435,564,618,821,1060,928,746,591,867,804,558,506,664,904,1094,818,338,265,276,289,305,265,286,317,337,348,349,391,421,511,755,903,764,731,855,474,393,437,614,724,778,888,917,831,791,821,824,841,805,768,753,738,700,670,625,578,618,644,623,620,687,739,738,612,454,387,385,440,443,426,539,739,886,941,1078,1482,1798,1534,1444,1490,1512,1450,1096,912,1196,1014,816,1216,1414,1036,1044,1488,1482,975,901,1352,1270,1180,1084,1016,983,954,928,951,1158,800,556,545,526,570,784,1246,1554,1964,1672,869,678,895,1418,1328,1210,696,484,576,1082,1270,833,459,491,519,461,470,737,882,593,949,1230,1168,1218,918,547,738,989,774,540,575,833,869,725,610,700,568,450,470,687,885,728,625,675,777,722,695,438,564,839,1066,728,770,802,425,474,681,785,752,687,1212,1240,596,327,332,823,1146,860,794,875,899,904,698,405,418,510,421,603,579,571,758,701,874,1194,870,711,648,712,782,843,736,923,816,766,812,820,922,938,636,730,738,557,706,780,719,1070,1208,1112,927,740,842,1046,1160,809,452,672,963,761,1052,1078,1184,1086,713,553,638,816,872,746,808,1060,1070,1266,1808,1656,1220,1154,1128,852,636,704,709,543,558,661,749,914,1174,1214,801,459,430,478,498,466,370,353,378,456,877,979,738,778,1394,1884,2014,1468,976,782,670,466,418,348,627,647,534,396,422,658,816,1008,1238,1106,1156,1126,1216,1390,1348,1378,1338,1338,1348,1334,1278,1402,1352,1296,1374,1438,1278,1076,1744,1550,1538,1190,840,1246,1060,648,800,1017,891,638,815,832,938,849,714,599,554,536,458,424,418,657,1066,954,563,565,818,1280,1576,1690,1426,1556,1344,875,658,569,400,595,1098,1072,600,961,839,716,872,1046,991,887,794,666,757,883,964,538,503,498,598,612,408,410,384,353,691,826,515,485,556,526,591,953,1262,1352,1088,882,892,1364,1334,895,547,590,678,1100,703,411,370,370,792,1290,1218,1268,1350,854,441,533,695,868,1094,984,1200,1606,1544,1754,1778,977,638,631,776,1048,764,710,1060,971,659,891,1148,1048,643,469,666,1164,1590,1738,1582,1290,1504,1500,1456,1384,818,412,359,328,304,306,550,895,727,850,1040,621,573,683,665,830,753,641,827,827,839,988,466,401,604,1576,1900,1422,775,609,535,455,488,468,571,984,1046,814,1182,1490,1328,1378,1416,1228,891,1001,1013,774,962,1020,1174,1020,1550,1256,1126,1196,1262,1152,1716,1896,1252,744,383,317,777,1520,1015,1080,984,978,980,969,1021,1296,1328,1130,1300,1432,1296,1280,1538,1694,1980,1900,1616,1596,1678,1674,1958,1968,1240,746,457,972,851,432,470,643,523,451,1018,1266,1500,1366,682,949,1256,816,951,1836,1870,998,529,492,462,328,460,816,745,604,518,866,1200,1038,872,952,1136,1382,1424,1350,1390,1638,1264,1036,1080,1068,945,848,915,1218,1392,918,728,840,963,1118,1020,1142,1268,1396,1296,802,628,760,804,899,914,787,611,583,854,1168,1374,1016,807,655,436,484,520,878,1180,851,524,897,1200,1020,910,968,666,722,646,432,314,236,260,254,239,250,364,338,340,363,351,283,256,483,500,430,425,503],[373,395,373,322,354,598,950,1126,1008,738,559,713,742,711,905,887,901,706,586,468,440,495,555,565,816,945,793,1052,544,288,346,438,468,447,438,592,680,648,713,644,602,617,1098,893,1110,1174,792,520,505,590,784,945,615,384,413,1152,2988,2020,633,483,575,940,899,678,641,605,724,471,512,823,977,1176,904,857,987,1120,1074,1116,1072,858,685,842,1044,722,732,828,994,713,506,609,619,545,507,504,467,560,837,973,1216,1310,1154,1202,1280,842,913,904,680,584,641,598,465,563,564,542,507,504,484,432,426,464,421,392,399,383,416,383,416,368,325,553,867,1168,1304,1098,984,1011,588,304,261,328,326,282,300,544,1080,987,682,1136,1410,1048,925,1104,766,437,375,411,843,1182,854,797,824,700,1130,1448,727,360,320,393,468,849,1244,1460,1410,1558,1248,930,1110,885,1246,1654,923,822,624,458,488,551,526,447,554,720,538,415,421,321,213,218,246,268,255,392,449,357,333,355,388,476,470,485,810,1048,943,625,684,695,847,952,670,371,612,1108,871,690,861,1210,1140,1110,1284,1252,1192,1142,1266,1654,1700,1212,814,1084,1240,1080,1390,1072,922,1230,1007,839,839,735,708,802,1338,1366,1198,545,380,457,453,770,868,792,1064,1004,613,447,445,910,1328,1726,1672,1188,1260,1522,1642,1694,1302,1224,1354,993,978,591,622,778,591,505,449,421,401,642,797,703,989,1444,1582,1250,935,766,644,551,644,810,855,918,892,922,1184,1472,1578,1780,1822,1746,1410,1060,948,998,1144,1038,959,870,524,458,459,436,418,362,316,305,371,342,366,483,452,402,417,404,389,413,440,421,414,482,483,415,371,374,411,441,457,432,415,386,369,424,440,402,382,425,487,675,1244,1562,1122,823,981,1450,1432,2044,1682,1438,1296,897,604,905,1070,943,997,1100,891,913,622,780,784,883,738,699,810,986,1158,1028,632,516,694,740,816,466,376,427,655,662,500,650,960,1146,1058,1146,1346,1570,1394,1126,1200,1160,1038,1306,1418,1232,1202,1274,1336,1198,1188,1440,1344,858,663,831,1506,1650,962,550,483,451,449,390,493,488,386,591,552,937,982,931,1080,995,714,665,761,1042,968,1290,1124,584,448,386,399,470,618,690,835,902,897,1050,1256,1200,814,943,871,880,1322,1220,741,495,547,1030,1238,1570,1720,883,744,760,1232,1406,1536,1610,1642,1754,1332,781,919,1078,1308,1712,1610,1090,822,807,913,1030,1124,1238,1238,1392,1392,855,720,1294,1478,1002,1368,1650,1496,1366,1490,1496,1472,1394,894,752,892,817,1320,1158,1114,1164,1274,1434,1428,1406,1340,958,844,759,545,650,551,500,841,769,636,492,569,907,1076,927,940,844,689,855,855,990,1106,1206,1180,867,733,689,989,1142,815,569,747,1074,1080,979,1092,1122,836,544,644,668,669,742,902,832,699,762,918,1128,1080,1100,974,1005,1116,968,696,742,728,938,984,702,992,1554,1194,1310,1694,1384,1150,1038,1026,1130,773,734,797,849,815,816,871,993,510,459,965,1068,769,1078,1322,1296,803,918,980,676,533,524,509,554,799,1148,1100,1158,1088,1038,1100,1042,1056,755,646,568,737,1248,1016,430,464,605,948,1008,786,772,1096,1001,612,461,647,1146,1410,1412,1500,922,776,1244,1956,1498,1202,1454,1770,2198,2296,2008,1410,1186,1220,922,865,1236,1106,879,1066,1003,1320,2098,1772,1030,1068,1240,1170,1346,1578,1110,1930,1988,1324,1036,1116,977,822,880,1146,1312,1166,1272,1404,1300,1300,1192,938,904,1432,1754,1632,1220,1064,1036,1005,1160,1186,1034,544,406,537,800,807,624,565,809,963,1202,1348,1220,1470,1786,2186,2440,1978,1794,1734,1606,1588,1572,1358,1736,2590,3392,3312,2104,891,607,497,470,478,485,806,1404,1948,1770,1466,1424,1448,1520,1638,1554,1084,1504,1372,1594,2730,3406,3408,3610,3984,3372,2370,2812,2156,1244,1440,1512,1356,1258,1886,2302,1924,1742,1650,1800,1614,958,913,1005,588,735,1158,1268,1282,1140,1190,1498,1630,1702,1602,1762,1664,1022,1042,1476,1682,1860,1634,1001,883,1398,1324,646,416,422,404,577,1794,2002,888,815,1252,1152,875,922,1410,1670,1660,1870,1656,1616,1804,1880,2046,2370,1848,1080,601,602,496,593,727,625,582,572,922,748,450,706,791,542,415,433,395,279,210,281,637,1136,1216,1582,1720,1886,2056,1570,880,687,995,1440,1578,1010,963,1086,905,564,437,429,432,1156,2216,2466,1844,1284,1646,748,442,371,417,620,969,1164,1248,1200,954,669,642,694,716,546,414,423,588,689,543,538,577,601,675,713,1086,1138,1172,1120,1172,1160,1340,1232,850,627,447,580,626,455,790,1064,533,414,463,1082,1380,1274,1064,867,1028,1208,865,882,1188,1172,1396,1284,650,747,1154,1136,1228,1422,1418,1536,1306,827,863,1034,1246,890,1052,1230,946,1072,1364,1354,1228,966,1082,1456,1134,924,1234,1288,1424,1116,630,1048,1598,1592,1470,1538,1120,548,794,910,722,901,682,658,835,505,549,672,684,784,727,622,709,937,1100,983,499,644,806,596,705,1564,1608,727,290,285,480,561,585,615,1122,1242,1064,723,604,403,333,375,770,1382,1420,1420,1082,937,852,695,551,742,747,634,805,1054,1068,1042,829,890,954,712,403,412,584,490,379,320,347,517,766,734,684,833,1078,1128,1126,1610,1488,738,391,579,781,663,587,542,688,694,552,497,354,365,489,758,712,461,525,752,758,673,749,530,559,785,1076,1080,873,764,813,1206,1720,1242,405,250,241,254,348,280,276,266,306,337,369,408,454,630,955,1132,1126,1042,1072,734,453,545,701,778,888,1001,1044,916,753,776,827,839,824,772,701,603,610,624,550,504,578,659,630,723,927,823,784,707,617,484,383,384,441,442,535,546,466,619,933,1122,1340,1368,1424,1456,1342,1294,1282,1138,1066,1050,1188,1564,1530,879,1024,1368,1522,1074,782,990,1050,1018,1030,915,991,912,1136,1036,1090,1005,869,773,602,628,1108,1210,857,843,624,586,657,570,871,911,580,351,391,612,822,931,786,448,424,404,394,622,1010,927,527,811,1154,1354,1392,1070,637,479,573,483,492,960,1242,1160,634,382,540,424,354,652,1048,963,663,749,923,1016,802,851,783,539,379,398,365,714,993,698,594,848,1136,676,814,1470,1116,720,577,413,964,1526,1226,1108,1116,1282,1096,772,448,514,698,447,422,825,1188,1210,846,564,1108,966,712,589,639,1118,1544,1190,914,928,827,543,621,784,739,694,886,847,639,543,408,503,775,744,758,998,808,693,1068,1184,482,381,667,654,631,983,1042,1036,990,781,738,649,721,1164,838,722,823,1356,1294,1570,1564,1234,1288,1128,663,441,532,656,576,594,653,753,904,1108,1204,922,533,403,473,461,397,328,360,371,539,904,1026,1076,1432,1536,1062,1056,1214,1274,849,561,452,370,313,666,630,451,478,811,961,896,1170,1300,1210,1172,1028,1268,1370,1404,1230,1206,1354,1396,1182,1228,1326,1282,1362,1300,1072,1094,1262,1560,1426,1452,1140,996,1240,1022,733,980,1268,1188,712,937,1094,1024,613,666,608,472,476,468,410,397,508,625,566,426,447,645,792,1082,1260,1130,1242,1206,709,600,493,374,310,562,913,608,403,515,656,768,837,847,1086,1136,875,745,1058,664,495,481,415,390,375,337,524,680,535,405,415,447,492,493,473,642,905,1170,1158,1120,1050,828,1108,1142,980,959,1404,1328,1314,661,373,352,392,655,952,1058,813,575,530,596,947,815,858,1016,984,939,1092,910,969,1088,717,1168,1680,1168,1042,709,633,912,974,926,1308,1542,1082,594,835,1240,1256,1554,1528,1512,1350,1460,1354,1198,1196,907,525,417,361,316,535,1130,884,427,514,884,1244,1130,1318,1514,818,490,630,442,502,976,1062,598,815,991,1432,1434,896,557,420,374,415,433,455,720,964,1146,1214,1374,1356,1322,1456,1460,1288,1106,1180,1132,1184,1226,1011,1148,1218,1206,1240,1256,1382,1390,1536,1780,1480,1023,625,420,580,1222,1290,795,859,969,1168,1154,1136,1440,1472,860,932,1516,1738,1346,1588,1586,1372,1114,1304,1410,1384,1522,1744,2198,2144,1444,753,678,1014,700,598,786,916,639,550,882,1206,1458,914,780,1252,1184,684,1214,1472,805,375,396,443,439,527,594,727,546,515,340,374,540,644,764,952,1246,1306,1456,1512,1222,1290,1338,1394,1346,1294,1142,1040,1220,1472,1240,1234,758,565,805,829,700,1186,1540,1422,948,543,508,625,1052,1370,1230,1360,1210,965,1142,1154,894,818,922,697,379,398,570,689,907,914,562,807,1050,955,1004,899,597,553,547,486,325,261,286,306,305,309,328,338,362,347,269,233,284,378,353,360,377,417],[426,408,467,581,747,1032,1013,878,566,495,732,1004,717,637,760,666,573,645,660,500,448,558,852,810,789,722,631,814,684,429,397,462,471,471,428,562,928,1050,1148,905,697,788,1070,890,1092,1322,959,437,488,645,760,981,547,402,444,1668,3184,1768,477,428,906,1592,1122,1516,859,678,611,455,408,401,616,686,536,507,631,952,1112,1058,948,827,1156,1470,1106,595,445,857,1310,1013,521,422,331,362,362,314,456,806,1180,955,969,991,908,1162,1170,1054,815,723,651,501,616,681,858,896,697,531,501,448,433,438,397,448,481,417,427,397,387,329,299,406,426,529,818,1148,1234,1176,762,827,486,237,276,331,310,294,282,468,980,969,635,1144,1198,529,528,830,546,364,441,514,1050,1438,1092,826,1100,1256,1440,1246,550,349,360,531,778,1256,1250,1188,1470,1568,1076,722,865,893,1342,1398,1028,766,557,474,477,498,499,466,531,637,484,407,379,224,217,276,298,335,446,507,387,323,345,336,377,452,387,408,939,1340,1398,903,873,1408,1882,1592,974,582,670,938,1076,1194,1284,1288,1092,1134,1296,1290,1442,1544,1266,1758,1570,1152,942,941,977,1102,1204,918,1060,1466,1198,814,849,893,946,915,1174,1278,1236,628,406,543,613,827,922,1138,1692,1166,610,452,436,1482,1720,2128,1792,1628,1886,1630,1414,1566,1104,800,692,851,1074,894,558,460,505,474,438,355,391,577,563,544,753,1146,1224,867,751,745,780,772,547,446,507,464,577,705,993,1334,1552,1648,1592,1386,1350,1194,949,1044,1088,953,1398,1102,905,664,546,491,413,362,346,336,336,328,342,365,352,369,351,372,360,308,320,340,357,333,286,293,312,326,314,306,335,368,376,385,388,449,462,458,497,533,627,753,1074,1442,1240,1092,1188,1372,1466,1584,1494,1424,1384,1124,823,1122,897,667,867,628,538,665,557,860,904,770,982,1190,1164,1066,1614,1270,686,626,1202,1240,1042,559,449,536,736,940,946,845,1024,1098,1404,1360,1216,1356,1202,1124,1208,1044,1064,1322,1432,1332,1332,1114,985,985,1120,1260,1378,1166,719,836,1544,1652,987,466,386,407,420,373,334,420,387,439,424,679,1058,1344,1344,1032,580,711,845,580,607,807,633,500,416,390,399,400,446,657,604,691,1028,1256,1408,1008,673,740,1007,1162,1036,886,1046,908,1056,1030,817,799,514,402,432,305,691,921,949,1246,1552,1534,1186,837,790,1086,1074,1238,1182,915,780,765,854,983,1098,1140,1362,1300,1198,1210,993,1264,1042,1204,1786,1902,1640,1412,1438,1652,1444,1060,1114,1068,1006,1134,1336,1464,1586,1256,987,1206,1260,1406,1642,1114,744,671,569,553,446,435,386,330,494,685,814,1080,1158,838,880,705,802,772,520,944,1044,924,806,940,959,698,1019,1170,1152,972,999,1262,946,1114,1318,1240,1166,672,709,723,745,716,918,768,789,926,790,722,988,1178,955,1068,1260,1122,897,807,730,1074,1240,1040,984,1011,1034,1610,1958,1750,1180,856,1328,1380,999,1030,825,712,808,730,572,507,521,559,590,614,460,714,849,944,709,1244,1544,1198,960,1172,1076,711,1128,1482,1032,1158,905,619,761,726,883,1021,905,877,1036,1210,1032,608,450,621,997,837,765,1232,1396,985,764,675,498,827,1176,1192,1272,963,928,1366,1760,1588,1660,1946,2230,2304,2078,1402,1156,1258,821,633,893,1152,1432,1130,848,1052,1566,1516,1170,1136,1030,1190,1616,1964,2124,1250,1670,2062,1670,1262,1310,1442,1328,1214,1318,1206,902,830,822,833,1046,1136,1146,861,1234,1710,1472,1224,1078,850,785,1190,1124,905,584,414,521,1032,1384,1064,918,1214,1098,945,1488,1436,1320,1200,1682,1936,1808,1534,1184,948,1520,2080,1948,2250,2764,3362,3474,2774,1088,635,613,488,433,486,485,857,1440,1500,1470,1376,1396,1488,1618,1870,1346,1110,1404,1854,2530,3356,3484,3598,3660,2862,2128,1754,1460,1490,1594,1512,1086,920,1782,2046,1676,1616,1486,1858,1688,1510,992,863,811,1204,1330,1068,1066,1080,1202,1444,1482,1348,1524,1804,1794,1250,1144,1600,2008,1802,1310,1080,1306,1322,806,491,452,442,669,1898,2314,1332,766,719,1088,1454,1128,1062,1378,1626,1644,1638,1688,1286,1552,1988,2100,1876,1666,1368,937,861,525,463,571,563,571,510,501,466,822,1600,1626,950,494,407,268,153,148,185,510,792,999,1638,1750,2020,2182,1532,1124,1384,1794,1794,1748,1480,1390,1636,1542,1110,642,511,473,963,1858,2076,1502,1432,1930,994,442,291,337,879,1188,1106,1094,966,840,739,684,733,610,388,383,397,554,681,669,643,474,426,473,860,1296,1164,804,1166,1184,1224,1372,1330,943,658,464,480,695,606,445,765,460,334,313,581,1110,974,843,822,749,1070,1130,1522,1764,1708,1918,1378,735,860,1094,1332,1544,1692,1752,1842,1638,910,663,935,1364,984,1230,1486,1026,1216,1434,1390,1478,1256,1230,1448,1088,657,1030,1148,979,539,401,837,1250,1450,1584,1608,1230,705,714,719,684,960,933,772,899,706,469,520,511,539,454,368,545,874,1154,956,539,644,784,506,652,1052,924,530,238,329,997,1266,630,604,663,527,471,466,454,306,368,605,678,344,278,419,473,362,385,572,561,467,582,824,971,684,532,746,669,419,444,546,495,514,624,619,570,977,1242,1082,1366,1220,653,729,910,925,1028,1230,1024,589,358,764,1108,637,585,548,473,532,819,1007,948,682,618,840,868,651,462,851,936,512,389,386,536,692,1070,1024,1036,1348,1030,982,1588,1068,462,353,259,216,340,297,286,294,305,349,452,561,600,614,899,1086,1174,1122,1066,923,596,527,662,778,887,952,981,917,765,740,760,785,755,703,635,629,683,694,655,571,569,664,613,603,844,858,761,725,744,686,495,414,507,565,523,373,286,451,866,803,915,1132,1062,1017,1066,1274,1490,1350,1106,996,1538,1724,1274,1180,1094,881,1254,1270,802,652,649,805,1162,933,861,634,841,762,639,876,865,823,765,627,905,796,409,383,371,530,683,645,662,577,373,377,408,360,467,839,940,733,568,481,470,601,781,592,622,831,1124,1310,1044,913,918,534,547,530,430,702,1288,1208,539,350,409,378,457,1220,2034,1584,720,645,788,948,1102,1578,1660,926,393,396,332,427,783,1058,1256,1234,1112,905,984,934,683,645,497,379,954,1534,1068,758,621,788,1126,830,470,425,555,604,693,1124,1300,1328,1036,760,1088,1376,1122,723,779,1432,1668,1226,1020,1410,1272,498,676,970,896,782,905,659,418,326,306,330,513,727,624,583,758,1636,1664,1694,852,484,680,796,891,1100,1004,767,860,655,752,749,535,701,790,780,629,625,865,1344,1258,1120,1013,728,474,435,433,497,553,613,786,969,1138,1262,1262,1122,695,422,416,408,353,308,330,347,833,883,694,766,1036,1052,565,874,1144,1158,715,488,436,436,385,524,505,462,973,1250,1132,1012,1224,1336,1244,1090,1098,1302,1374,1248,1210,1338,1422,1278,1152,1258,1194,1268,1272,1214,1076,1180,1318,1078,1272,1590,1214,1070,1152,691,480,644,727,875,767,901,1202,873,628,730,531,530,647,561,470,385,394,484,539,535,569,566,506,639,796,840,633,626,853,867,498,477,538,592,811,615,369,479,656,599,600,979,1136,1202,852,993,874,583,492,424,423,762,794,440,390,592,473,359,408,590,609,621,614,515,553,866,1088,1092,1278,888,757,724,1048,1266,1764,1856,1248,554,412,354,495,561,1006,1686,1242,523,429,980,1328,1066,990,907,867,1054,1176,799,542,741,604,717,1102,1068,827,641,580,544,539,989,1656,1860,1104,641,918,1200,1376,1664,1340,1150,1296,1472,1366,1190,1110,1036,483,572,475,607,1450,2014,1074,596,822,1192,1542,1224,907,985,955,1220,1260,604,550,1100,1154,1338,1878,1494,986,706,602,626,444,426,423,409,440,709,998,1730,1578,1322,1474,1556,1432,1384,1324,1216,1172,1190,1390,1284,1256,1488,1258,1090,1252,1406,1412,1516,1520,1412,1294,802,558,673,896,1306,1228,1074,1136,1154,1344,1340,1274,1404,1292,698,631,1096,1332,1390,1684,1556,1320,1328,1324,1098,1252,1346,1122,1520,1588,1762,1208,1102,899,550,860,1260,1092,683,422,608,837,662,466,1004,1120,714,471,646,841,916,749,491,441,537,827,674,680,681,570,553,427,454,630,627,886,1382,1410,1478,1182,883,1094,1060,877,1256,1600,1498,1036,1200,1562,1394,1230,744,984,1184,1218,995,1528,1532,902,585,539,432,478,737,1152,1166,1408,1142,1024,1148,1078,819,794,995,1072,576,455,562,757,758,756,1144,1152,998,814,613,484,413,495,486,467,332,257,296,443,345,291,302,361,424,350,279,239,279,369,414,425,428,358],[381,394,547,890,930,825,651,517,452,422,653,827,634,590,751,714,667,688,536,461,454,572,878,789,574,473,651,996,1132,785,441,471,473,477,567,1044,1638,1760,1592,1202,819,898,996,926,1116,993,863,605,545,1118,1538,1104,474,375,404,1306,1658,820,409,432,920,1472,1300,1970,870,512,532,460,386,595,1096,970,458,406,342,462,622,927,790,778,971,1180,969,598,403,540,838,816,734,647,311,368,367,345,446,787,956,940,1082,970,663,726,938,995,944,1092,1122,936,999,1144,1296,1136,854,624,595,448,413,401,382,430,536,501,426,308,324,389,459,529,611,713,730,869,871,921,505,390,317,260,281,304,321,331,297,344,449,504,667,951,1088,700,357,258,290,323,357,530,862,1162,1234,1116,1442,1482,1612,1182,551,441,415,475,844,1234,1202,1098,1504,1528,1038,580,437,621,1406,1184,811,608,474,527,508,490,518,466,529,508,419,377,295,248,296,309,326,417,565,625,458,499,517,565,515,479,430,647,913,1332,1506,1314,1282,1600,2004,1432,804,658,780,1068,1192,1264,1260,1228,1306,1426,1650,1818,1868,1478,717,702,763,872,809,719,724,854,822,693,986,1488,1134,934,819,936,951,859,1038,1434,1274,734,703,1172,1282,1060,1010,1290,1522,1098,627,484,531,1238,1676,1622,1404,1170,875,903,824,903,928,918,755,772,1288,1656,1162,660,647,602,444,379,392,463,462,427,539,739,912,877,681,590,734,875,506,461,489,484,487,489,634,890,1158,1256,1258,1212,1144,1002,905,1054,1021,1038,1332,1530,1164,897,808,584,409,380,365,343,307,318,350,338,329,390,381,325,325,319,327,325,324,334,359,346,340,395,411,408,431,406,374,372,368,448,557,640,642,564,645,758,928,1304,1406,1296,1312,1334,1224,1044,1194,1390,1296,1230,1240,1202,823,1074,840,596,830,1042,927,830,669,751,985,993,979,1134,1760,1274,1188,1102,978,1064,1124,948,791,828,942,1202,1038,963,1260,1264,1382,1324,1248,1470,1300,1166,1005,968,1324,1382,1248,1452,1270,1078,1102,1172,1162,1088,1306,1326,801,915,1604,1626,921,476,411,393,433,398,1290,1266,459,525,591,695,1120,1466,1582,1282,847,961,858,989,1094,648,443,455,448,465,361,343,491,896,653,613,780,1240,1394,791,709,903,1005,1126,1128,921,1180,1208,1356,884,786,1013,937,678,566,462,495,596,522,688,1138,1170,1428,1076,694,600,712,910,987,882,853,821,802,758,822,923,1128,908,1302,1466,1296,1128,1122,1546,1952,2128,1786,1450,1344,1486,1368,959,975,974,1128,1336,1152,1166,1574,1616,1124,1134,1360,1506,1982,1478,868,644,528,476,507,526,451,389,581,933,938,911,892,700,763,940,1010,946,1044,1288,1440,1262,1294,1664,1282,983,1164,1388,1306,1290,1246,1260,977,1298,1414,1338,1664,759,819,802,886,823,764,731,821,839,735,727,843,827,878,1236,1106,807,812,629,708,1009,1256,1456,1526,1268,1106,1456,1732,1564,1016,667,1348,1760,1296,1234,1338,1412,1100,788,879,816,614,902,937,913,875,836,562,543,590,714,968,975,893,1192,1128,1072,1438,1414,1104,1364,1166,1068,1074,753,755,732,597,1104,839,581,744,775,947,1038,1064,771,853,1090,1142,1084,977,925,899,988,995,1194,977,973,1120,1298,1738,2072,1890,1842,2136,1974,1448,1110,1360,1094,700,719,1007,1098,1552,1384,672,755,955,825,995,885,774,946,1294,1728,2012,1378,1664,2238,1986,1296,1100,1538,1306,1126,1202,1146,738,553,663,612,739,997,1104,942,1106,1556,1450,1602,1498,1104,738,1132,1242,982,790,588,509,1056,1462,1308,1096,966,913,902,1522,1262,1076,1082,1216,1514,1582,1230,865,897,1458,2482,2104,2004,2312,3040,3298,2788,1338,600,586,573,544,514,488,717,1328,1416,1344,1424,1522,1668,1846,1952,1924,1462,1172,1430,1904,2676,3436,3500,3198,2344,1698,1672,1962,1936,1746,1454,1154,1220,1708,1804,1744,1536,2068,2286,1860,1332,1292,1246,1658,1738,1030,945,989,642,931,1316,1324,928,1574,1738,1660,1234,996,1542,1776,1484,1310,1380,1310,968,528,415,403,507,933,1572,1356,1272,1590,1532,1924,1748,1074,1084,1242,1384,1482,1444,1646,1414,1368,1648,1982,1968,2036,2226,2080,1238,797,582,514,539,561,639,855,735,913,1820,2164,1632,734,367,245,159,157,169,232,454,893,1414,1958,2512,2326,1566,1852,1660,1786,1734,1698,1370,1324,1538,1682,1484,1068,857,620,614,634,634,563,1110,1498,1210,605,284,405,944,1442,1426,1096,694,603,653,642,585,411,392,410,365,453,612,666,541,437,460,599,1016,1008,980,981,1108,1048,803,727,807,778,807,802,566,478,629,343,494,454,323,374,467,680,1038,1258,1144,815,800,998,1708,1856,1762,1742,1044,764,813,1128,1554,1390,1436,1658,1702,1128,632,480,770,973,767,1140,1302,997,1048,1190,1490,1512,1328,1106,1316,1350,838,703,976,1226,946,500,651,784,867,1384,1268,754,634,908,1228,1260,1328,1168,904,973,689,443,455,477,472,420,554,783,720,1010,1366,860,536,800,461,329,731,1004,689,415,377,800,1140,630,269,339,454,479,583,332,323,374,607,608,533,410,408,405,350,429,719,1116,1052,1048,932,698,550,410,510,655,429,501,944,959,880,1520,1312,650,1008,1318,1092,1176,1009,631,590,735,874,912,739,703,572,375,785,1334,1176,863,852,644,483,379,631,938,955,727,535,551,803,509,681,656,531,558,402,243,329,697,791,1116,1634,1282,813,653,913,992,685,356,379,397,268,296,374,379,366,427,493,425,462,680,1036,1158,1146,1090,1042,799,611,689,850,955,901,878,847,758,738,781,780,736,721,667,641,695,716,725,632,578,639,664,647,774,908,855,735,758,787,627,428,499,636,499,307,280,362,599,847,1170,1298,1082,929,1138,1532,1686,1602,1274,938,1318,1646,1694,1396,1021,1108,1350,1302,1162,1266,1148,1054,1120,1160,1044,572,437,445,458,781,1048,1238,1450,979,589,474,434,361,317,476,635,770,727,468,403,389,410,536,751,623,707,682,524,672,741,683,554,396,475,577,589,822,1422,1168,1132,714,475,419,418,368,570,502,343,321,363,370,434,1186,1568,955,492,505,634,809,1188,1746,1714,782,539,491,357,355,482,809,880,609,788,1150,1064,663,490,404,339,328,619,996,757,537,574,804,1356,1334,631,356,648,709,712,1286,1186,983,871,802,776,1104,1312,1104,990,1098,1020,759,635,1046,784,422,552,835,1124,1202,981,661,503,425,309,297,367,589,711,645,594,1402,1542,1406,1066,839,1100,1180,736,623,767,705,1006,880,804,608,657,1002,932,678,573,395,600,959,1200,1616,1102,704,576,585,485,484,531,690,976,1138,1238,1384,1358,1272,877,444,376,372,408,377,343,397,949,1138,892,957,708,627,710,1428,1544,1324,1086,867,799,843,591,595,566,827,1356,1278,1342,1148,1924,1598,1098,955,1114,1338,1216,1152,1242,1376,1514,1164,1222,1384,1214,1282,1384,1400,1248,1318,1272,871,760,919,1078,1070,939,600,640,800,988,868,550,741,965,664,661,742,700,791,569,468,544,456,390,503,696,711,656,537,486,488,527,630,534,527,1056,981,742,1242,1300,923,1076,1244,1064,572,533,805,988,785,717,789,853,683,561,705,633,492,753,1072,942,739,442,424,400,400,462,414,390,579,595,547,543,603,917,1350,1432,1294,1284,1178,1640,1754,1562,1346,901,692,610,381,865,772,697,1124,916,926,943,919,1146,1260,1023,710,1018,955,916,752,500,486,406,440,725,707,654,725,1190,1282,670,985,1704,1672,1150,902,939,968,1338,1888,1768,1034,755,1118,1558,1262,1009,846,563,504,534,1068,1466,1638,1472,1216,1484,1330,1076,922,966,1382,1972,1792,1476,936,1050,1588,1132,1014,1000,617,500,436,521,593,520,468,413,436,498,639,1234,1476,1003,1136,1412,1480,1344,1256,1488,1352,1200,1294,1346,1224,1250,1110,923,1196,1354,1440,1288,1398,1388,1362,1020,681,601,904,1346,1338,871,872,1090,709,822,1276,1132,1154,1156,1130,864,808,1028,1598,1860,1694,1876,1580,1378,1164,1176,1178,1388,1326,1482,1528,1176,1228,1050,832,940,1070,1050,951,503,361,501,533,600,937,882,687,705,395,452,762,1016,903,607,768,976,832,1136,1142,1162,1342,933,764,644,686,1220,1334,1248,1082,577,539,1220,1216,1058,1162,1110,1174,1308,1374,1636,1506,1001,749,1224,1164,906,1234,1638,1196,666,771,724,403,729,1368,1446,929,759,870,1050,1032,817,633,757,1274,1482,872,735,470,606,539,829,1350,1478,1554,1522,1286,856,436,470,439,493,481,369,331,310,334,503,620,740,816,394,285,311,338,302,387,427,430,347],[448,602,680,897,611,450,406,347,361,348,426,893,1206,819,860,755,642,616,459,437,399,395,596,702,688,783,768,916,1480,1180,568,469,505,582,615,897,1064,1360,1486,1396,1376,1104,687,818,1356,1368,1019,846,684,1356,1788,1120,509,365,368,458,441,425,444,492,1186,1144,1120,1078,484,369,459,425,334,696,1428,989,488,493,622,824,764,744,1023,1246,1136,1010,824,626,332,368,416,417,715,755,457,426,369,288,380,665,902,1184,1274,1156,700,595,882,1013,1490,1708,1562,1588,1636,1532,1288,1248,1344,839,628,525,471,454,409,381,507,515,431,356,381,522,665,642,614,783,859,865,560,598,553,452,364,278,256,283,324,352,339,350,354,599,704,856,976,736,454,262,321,313,358,593,837,1009,1428,1372,1604,1592,1628,1012,572,576,641,912,875,909,893,1194,1316,1466,1076,582,461,749,1384,1184,730,556,465,561,572,529,512,479,585,473,418,403,311,288,328,514,915,866,779,579,766,788,576,478,455,498,591,755,828,998,1122,1264,1270,1126,1056,727,484,596,1154,1416,1564,2046,1818,1310,1436,1174,1086,1230,1436,1172,645,604,577,667,1007,1146,896,738,722,589,736,1260,992,804,860,917,970,944,948,918,752,720,1009,1552,1378,1284,1408,1268,776,770,732,482,486,802,1058,1112,1176,884,711,712,702,611,516,863,1092,1074,1588,1946,1620,1384,1162,959,722,550,443,466,456,425,542,644,902,1005,752,709,878,887,567,460,466,473,508,503,490,516,609,773,868,1050,1320,1334,1017,1230,1114,1160,1114,1366,955,827,1104,1236,850,451,383,323,323,345,336,325,368,397,347,310,301,293,309,312,344,341,376,428,389,450,521,505,544,555,597,728,856,959,977,991,883,756,736,799,843,1108,1188,1122,1262,1356,1248,1054,1188,1310,1440,1224,1368,1302,957,1296,1060,756,1318,1968,1570,939,562,502,525,519,766,1186,1176,1100,1874,1908,1040,744,897,962,984,1208,1272,1250,1026,1168,1268,1338,1328,1318,1328,1374,1476,1234,1170,1280,1394,1478,1272,1370,1154,1222,1456,1478,1390,1050,940,1152,805,974,1626,1614,850,486,447,443,442,756,3152,4296,2754,784,726,825,988,1174,1280,1460,1156,1116,954,1076,1054,743,438,453,711,806,483,386,406,613,620,627,635,991,1048,724,622,912,987,798,1050,1108,1238,1368,1062,943,1030,1384,1426,1142,941,618,527,800,632,511,753,1100,1378,976,736,796,642,696,914,830,858,890,807,869,1174,1228,1128,1400,2062,2120,1648,1166,1122,1542,2076,2482,2060,1392,1368,1060,1332,1236,1114,1144,1026,942,684,624,1270,1930,1390,1412,1418,1240,1482,1388,975,594,401,398,418,442,418,391,777,1296,823,767,1146,1124,1242,1306,1064,1372,1774,2012,1902,1346,990,1064,1080,1108,1202,1360,1288,1378,1346,1050,683,944,1252,1648,1624,929,783,778,1018,922,701,727,783,701,692,794,751,772,1542,1766,1454,904,584,585,888,1144,1152,1086,1256,1164,625,792,888,799,884,704,832,883,1552,2202,2326,2020,1344,1238,1372,1086,606,614,650,859,935,910,852,730,662,672,807,910,914,893,803,1160,1240,1006,1002,1344,1234,1244,1116,732,898,918,569,847,848,727,601,547,641,838,1238,1114,1013,1092,925,858,1032,874,826,738,788,935,599,725,1148,1562,1960,1892,1570,1738,1952,1776,1576,1424,1224,1052,758,561,645,741,1142,991,345,357,636,871,787,796,847,825,1026,1376,1426,1434,2098,2284,2246,1666,1002,1224,1310,1108,1324,1490,884,672,774,567,525,789,1028,1050,1042,1358,1148,1538,1638,1432,1246,1410,1396,1186,1034,602,444,802,962,1009,984,1112,1204,1242,1422,1224,1202,1058,885,1088,1148,1356,1156,1268,1348,2746,2062,1660,1986,2714,2898,2172,1090,672,669,625,617,541,506,858,1320,1502,1450,1450,1626,1948,2026,1956,2040,1920,1604,1488,2010,1904,2842,2830,2302,1966,1792,1942,2144,2280,2144,1748,1526,1588,1740,1744,2150,2436,3310,2836,1786,1284,1152,1400,1802,1170,958,1078,800,1004,1388,1556,1512,1444,1420,1192,1148,1088,1110,964,861,1190,1372,1384,1006,629,475,421,426,778,1280,1316,1092,1788,2690,2522,2294,1400,931,1084,1078,766,940,1326,1338,1212,1362,1206,1782,2388,2376,2562,2612,2032,1712,1046,706,739,728,1120,1940,1548,811,1128,1992,1976,1200,543,288,219,185,226,271,552,767,1112,1634,2360,2536,5436,4404,2208,1900,1668,1368,1346,1700,1636,1656,1714,1694,1566,1146,789,497,460,432,713,1012,966,692,468,421,666,912,987,879,945,893,645,468,364,375,446,409,384,472,684,568,381,412,857,1050,1013,727,597,633,679,688,547,581,738,822,914,796,486,312,566,548,431,498,450,487,587,714,1312,1680,1314,639,432,709,1534,1666,1638,1450,1232,1498,1540,1206,1318,1266,1186,1314,1208,799,695,677,680,723,732,841,1416,1668,1252,1334,1516,1226,1164,822,875,1206,948,711,1146,1436,1166,489,687,804,525,799,606,426,557,944,1104,932,874,855,935,1070,556,610,831,711,553,456,775,761,425,621,1086,809,501,844,536,422,1686,2242,1790,921,443,453,683,697,309,454,523,763,1244,532,427,681,742,633,597,364,333,420,439,467,699,885,583,444,378,407,723,680,689,738,656,866,1370,1086,642,849,832,380,449,532,606,868,942,661,421,521,608,576,384,452,438,314,582,821,716,775,737,478,476,450,413,692,937,918,574,703,766,926,689,368,477,547,373,367,896,899,987,893,1606,1322,739,436,1034,1622,1350,891,885,516,272,343,520,422,375,381,370,392,577,614,830,1086,1158,1144,1126,980,827,778,1005,1130,1028,882,821,814,769,761,761,714,683,676,662,671,672,684,598,534,606,694,675,668,833,936,852,785,799,728,429,317,364,437,390,390,480,592,735,911,976,1030,1272,1362,1592,1848,1870,1500,1322,1322,1606,1654,1196,948,1036,1036,1202,1436,1444,1356,988,915,1210,1134,830,599,515,559,633,1013,1274,1512,1256,819,738,808,1028,1086,874,647,672,718,540,415,379,521,715,680,462,486,684,628,652,813,696,578,719,901,802,565,673,1012,1200,1094,871,622,496,824,874,436,404,402,352,348,373,513,805,579,420,501,712,794,799,1114,1294,1128,539,400,319,290,278,261,352,386,534,918,1386,1640,1068,469,398,368,375,479,505,604,663,462,530,1146,1300,626,440,688,503,512,888,797,719,915,1120,1005,999,1286,1338,1504,1416,1038,625,612,546,304,258,319,452,836,1142,1028,865,1116,864,317,288,294,389,1002,810,401,541,700,807,824,877,1004,813,448,310,534,647,936,680,485,421,963,1540,1128,626,615,708,963,1446,1576,1730,1330,1124,1068,860,636,532,460,649,1030,1222,1318,1402,1360,1358,1018,525,381,364,379,365,321,426,884,1192,1044,1148,899,850,1038,1716,1924,1852,1734,1210,1152,1242,706,637,843,1318,1360,1216,1112,1996,2890,1580,969,1042,1058,1144,951,1102,1270,1428,1478,1284,1208,1116,1072,1136,1322,1336,1398,1532,1500,1136,1054,866,928,796,568,733,953,1094,1224,1088,642,686,689,560,759,858,956,882,503,521,631,626,517,534,552,519,549,436,455,417,391,498,847,1056,1256,948,655,767,854,857,1136,1550,1802,1174,502,607,1038,908,462,447,813,654,601,686,583,712,1500,1196,987,1050,783,551,492,421,440,497,547,500,490,652,621,668,714,1076,1136,1260,1202,970,1120,1194,642,448,683,833,722,523,1246,1136,660,802,1174,1602,1194,922,1418,1334,747,465,594,489,455,465,427,443,411,711,916,862,911,933,1570,1540,991,1284,1672,1506,1562,1310,1128,1060,1494,2132,1942,1526,1574,1284,1208,1606,1504,986,748,713,987,1496,1538,1998,2038,1330,1388,1316,1408,1748,1438,1410,1990,1514,1378,1400,1522,1336,679,534,610,691,564,516,524,561,503,484,436,404,624,973,1252,1182,1007,1344,1310,1174,1356,1534,1512,1328,1220,1200,1154,1056,905,741,791,1146,1156,1216,1158,1114,1398,1570,1190,903,709,911,1272,1208,957,886,1186,592,594,890,870,881,912,1044,1112,911,1062,1418,1654,1372,1446,1590,1496,1456,1276,834,812,1164,1180,803,899,1212,1220,1262,1202,1216,1034,1114,633,324,362,448,591,759,730,858,1440,1098,1019,1144,1134,1282,1116,1152,1256,1178,1410,1366,1058,1100,1200,1686,1220,1000,1200,916,985,806,390,677,1304,1456,1578,981,845,686,576,1064,1516,1530,1346,1004,818,584,576,828,995,678,423,645,581,383,833,1782,1744,1046,576,739,866,804,704,1294,1402,1152,875,742,788,547,389,355,646,1114,1570,1902,2042,1614,1112,505,569,604,772,789,628,469,497,622,834,905,914,1070,504,334,286,329,544,477,283,317,438],[769,910,625,725,741,480,373,390,400,367,413,988,1764,1638,1252,1136,850,569,457,484,404,342,721,999,857,1176,1118,1034,1220,1314,791,656,697,829,648,702,993,1052,1220,968,1066,1088,537,451,610,797,910,1300,1074,717,767,603,541,519,446,482,493,471,517,710,1490,1316,1374,1102,451,425,406,397,376,455,744,465,332,575,883,1260,1168,1158,1656,1570,1382,1013,747,749,489,593,785,688,593,722,507,330,466,575,852,1068,1005,893,858,737,534,436,805,1520,1390,1290,1462,1328,1446,1230,1300,1490,2084,1500,745,641,581,579,569,558,596,591,535,483,392,412,599,557,487,693,745,789,629,547,498,382,262,234,280,307,307,334,337,433,647,797,777,1023,933,886,891,595,524,394,425,872,1044,1382,1318,1013,1298,1240,978,741,623,653,874,1264,1230,1184,926,852,1066,1300,1058,681,487,729,969,843,709,430,396,500,503,554,498,520,613,477,365,366,337,267,430,910,1348,1064,878,974,1516,1116,628,611,777,885,843,738,776,1054,1128,1144,853,723,854,670,467,624,1270,1630,1854,2258,2044,1678,1926,1364,1050,1048,1024,952,841,738,613,553,807,1236,1302,918,691,561,705,1166,1002,735,712,883,964,739,641,614,410,604,745,789,720,1011,1592,1110,535,714,813,954,824,711,1136,1062,1216,892,825,725,667,613,850,1470,1482,1392,2012,1792,1440,2030,2112,1898,1466,716,453,414,525,618,769,807,954,1086,1036,1136,1376,1252,913,749,672,600,558,478,489,498,478,463,481,556,650,879,1017,1072,1092,1278,1342,1012,835,1414,1902,2156,1776,905,481,376,348,364,339,323,403,419,336,297,316,324,317,309,363,360,383,423,420,525,683,753,816,916,1028,1044,1056,1036,1032,1294,1190,1086,988,942,913,916,984,1042,1248,1368,1396,1396,1508,1514,1332,1106,1232,1084,645,669,1206,1592,1690,2194,1656,784,570,760,681,504,476,455,672,846,1070,1112,902,824,960,1074,1276,1352,1306,1228,1216,1374,1338,1234,1168,1208,1252,1796,3274,1560,1356,1456,1586,1550,1322,1278,1198,1360,1504,1352,1272,1208,1282,1290,785,1064,1626,1568,885,511,463,451,514,847,2116,3812,4368,2200,969,1040,794,1032,1294,1192,1032,837,828,1084,962,769,708,1060,1386,1450,730,412,561,684,687,812,1007,1076,1412,1504,1162,1172,1388,935,1064,955,1036,1192,1298,1570,1544,1234,1170,1128,1042,601,516,645,612,466,437,790,1058,813,769,1212,1150,1028,888,866,940,914,744,1068,1260,1598,1484,1548,2232,2116,1466,1214,689,1124,1636,2096,2002,1572,1150,956,1452,1456,1004,757,558,636,648,561,818,1132,1176,1254,1110,979,1122,1064,732,608,566,686,590,455,404,373,534,794,1118,1588,1854,1826,1584,1310,1021,988,926,1242,1490,1276,1114,1432,1548,1230,1232,1148,1134,1434,1288,1214,727,838,1182,1438,1000,1076,863,887,1234,1132,849,637,564,627,780,971,738,658,1060,1522,1350,822,612,589,777,1148,1422,1017,789,671,554,915,915,907,1026,1098,1250,1074,1246,2000,2116,1348,923,796,1086,844,706,559,620,962,1240,1344,959,590,670,644,735,1013,979,913,955,750,637,711,690,673,739,756,516,680,854,748,574,574,581,757,784,516,491,1001,1310,948,930,919,1100,1324,1204,1058,702,469,533,539,624,1098,1548,1962,2006,1510,1522,1838,1530,1484,1516,1108,1002,1142,766,476,475,472,555,514,346,504,827,827,708,743,763,807,949,1412,1600,1594,2216,2330,2134,1526,1100,1240,1594,1126,1434,1554,844,580,666,619,541,637,836,804,591,955,1236,1402,1336,1078,1186,1396,1356,1656,1356,625,569,874,817,869,1178,1620,1390,922,1044,1126,1142,1082,1042,1242,1184,1482,1234,1190,1110,2262,2226,1492,1650,2232,1770,948,685,1068,1104,930,688,572,459,771,1272,1532,1588,1684,1896,1952,1882,1942,1998,2066,2048,1904,2010,1820,1700,1886,2260,2062,1802,2038,2354,2404,2370,2240,1874,1820,1812,1754,2012,3172,3758,2880,1864,1548,1344,1452,1230,989,1170,918,933,1376,1574,1696,1720,1682,1278,1120,1164,1250,1458,1010,742,1110,1062,904,632,527,507,478,792,1294,1314,1222,1758,2842,3028,2968,2552,2448,1618,1322,1224,938,799,1054,1414,1230,1272,1334,1408,2210,2222,2136,2276,2400,2014,1332,782,673,865,1218,2076,2234,1714,1252,1692,2152,1818,1072,763,602,254,215,818,2060,1880,1976,1620,2072,3366,8188,5224,1954,1802,1416,1322,1644,1530,1500,1602,1792,1672,1582,1660,1470,1138,730,469,494,511,492,653,650,461,664,903,735,610,714,724,522,330,346,475,461,374,433,604,577,514,417,544,1096,1262,1005,565,416,452,551,529,467,503,655,786,864,777,486,277,553,942,1082,828,546,518,591,1108,1698,1642,955,624,512,741,1362,1620,1582,1572,1384,1234,1466,1434,1388,1354,1322,1174,914,1046,1166,1206,1152,999,997,882,1344,1644,1332,955,746,891,1160,1074,841,985,1152,744,957,1040,1026,750,839,879,588,425,461,571,547,378,376,413,555,929,1084,1110,682,458,576,617,559,484,549,612,469,624,1300,1126,576,724,565,440,1216,1570,1440,797,459,617,837,849,521,954,662,637,532,345,386,742,896,709,492,379,669,996,897,692,870,879,551,395,348,400,607,805,953,1012,783,641,1021,642,467,331,436,372,752,780,576,716,682,427,287,302,264,291,346,405,415,364,546,674,607,641,506,483,844,858,689,1212,1632,1344,1074,893,578,830,763,423,320,436,774,1226,1952,1396,1348,921,1178,959,615,462,673,1290,1380,1122,894,390,312,485,760,526,388,337,327,478,637,574,595,880,1146,1130,1026,843,793,803,964,1084,1138,1002,856,847,775,722,712,728,671,662,645,659,672,662,593,561,595,628,623,633,749,831,860,771,777,704,448,372,377,352,348,418,486,458,505,573,720,896,1334,1482,1482,1450,1554,1698,1604,1442,1362,1376,1388,844,713,1100,926,1068,1336,1528,1066,874,1246,1212,1060,803,482,482,512,1124,1208,1140,1012,835,624,695,830,774,877,857,646,774,690,479,568,494,541,944,910,623,886,874,611,633,792,1418,1202,1764,1176,928,966,709,984,1020,955,1034,1052,1488,1390,603,403,370,423,393,339,437,367,325,495,708,1028,1104,886,843,828,893,861,810,504,269,237,279,335,400,601,919,1168,1378,608,374,314,270,301,372,550,1052,1258,700,417,532,772,790,733,602,480,599,652,579,637,790,840,641,586,1122,1268,1326,1152,873,517,573,512,418,378,357,337,513,977,1160,811,1068,752,405,340,292,327,807,866,667,722,624,443,553,1026,844,565,405,328,443,618,808,869,642,438,896,1470,1302,960,1040,1390,1560,1760,1542,1716,1478,1250,1302,921,599,650,527,510,817,1138,1216,1268,1272,1230,1088,693,379,375,364,336,340,464,900,1142,1092,1132,1062,908,775,930,1246,1584,1526,960,907,920,618,594,811,1022,1368,1326,1120,1908,1890,1094,1038,1072,948,879,804,935,1174,1270,1180,1208,1174,1006,812,1004,1116,1148,1506,1478,1500,1188,872,615,541,584,1032,1154,1068,1036,929,932,601,641,644,982,938,733,775,856,937,776,667,712,589,545,528,545,482,345,396,427,419,481,813,1440,1398,1021,902,685,958,1001,1640,1982,1422,1048,788,843,1112,1010,653,789,784,593,904,697,445,487,937,1236,1042,976,758,633,573,427,396,513,552,431,446,589,577,812,902,995,1102,957,805,1028,1476,1686,789,651,691,547,676,659,959,837,550,1212,2170,2172,1696,1782,1654,1088,498,426,397,331,301,362,358,360,479,813,1158,1122,1015,858,1290,1050,877,1484,1584,1126,1028,1196,1280,1080,1428,2092,1996,1820,2048,1664,949,1254,1484,1382,1132,932,1250,1688,1426,1250,1178,1224,1180,1296,1888,2630,1752,1428,1814,1412,1434,1248,596,474,666,596,557,702,548,521,569,548,436,365,397,634,1180,1412,1154,1034,1190,1092,893,1124,1306,1262,1168,1186,1320,1086,1028,1108,819,569,832,1102,1122,999,1190,1186,1264,1078,873,958,948,1122,1256,991,1096,904,1082,1132,1082,662,434,521,670,1056,1200,886,948,781,1248,1266,1162,1306,1386,1340,1312,960,581,653,475,661,1180,984,1148,1324,1152,1120,1300,1130,594,322,319,399,743,1202,1192,1140,1484,1388,1774,1786,1446,1328,1214,1332,1496,1368,1368,1044,522,401,703,1256,932,852,752,706,803,798,684,551,928,1444,1460,597,528,648,695,880,1284,1114,929,1246,1284,991,690,450,429,483,363,330,271,361,511,728,969,778,496,692,621,459,451,810,1078,1044,895,1028,1272,1146,512,482,739,1322,1722,2116,1744,1302,812,440,448,528,799,990,708,444,368,390,550,570,474,423,251,329,326,585,998,668,309,518,980],[1238,918,449,457,556,467,408,463,533,527,587,833,1462,1316,1021,1372,1296,783,549,685,537,517,1250,1460,871,1360,1138,920,1007,1134,837,928,1074,945,675,765,759,756,1148,754,734,680,638,905,780,655,1130,1838,1472,444,300,319,448,494,433,418,393,496,518,959,1476,1234,1246,827,485,494,465,413,397,346,330,337,333,605,1044,1510,1340,1180,1566,1456,1504,689,577,956,725,721,1136,781,411,644,623,400,587,745,971,1244,1338,832,594,709,591,425,653,1348,1290,1210,1442,1050,1298,1350,1830,1684,1520,1196,857,692,633,670,846,969,747,702,581,565,439,372,435,503,441,595,788,783,683,694,644,493,251,249,299,241,319,317,318,556,1188,1136,846,886,785,918,1166,904,714,488,530,1080,994,1128,1176,1090,1046,1066,1082,857,702,841,1222,1250,1326,1208,860,610,592,662,713,625,593,745,750,799,815,621,600,713,701,609,546,649,616,456,422,476,341,339,791,1140,1122,1472,1270,1610,1798,1306,1324,1478,1382,1236,899,929,1306,1446,1094,719,637,795,872,722,507,571,1098,1698,1950,1968,1704,1744,1492,837,509,502,518,597,987,1512,1314,1010,1156,1236,1016,927,710,962,1200,948,816,829,747,786,767,434,318,375,561,875,673,463,669,924,1422,1266,861,871,861,904,844,1050,1180,954,1052,983,954,819,738,1042,1672,1936,1392,1356,1892,1864,1092,1048,1522,2226,1480,665,489,396,459,642,998,1090,1354,1578,1600,1494,1686,1508,1124,985,821,709,526,471,447,448,483,492,503,462,604,788,1118,1202,1394,1456,1248,893,1360,2326,2270,2004,2004,1464,841,494,339,330,333,344,390,394,361,349,345,322,312,328,396,452,480,544,691,844,945,887,764,866,886,908,1100,1264,1362,1450,1388,1306,1196,1150,932,687,696,775,1046,1130,1318,1366,1264,1228,1136,1066,1156,1011,659,702,1146,1450,1364,1688,1318,648,784,1368,1368,983,489,415,569,886,1044,1015,851,996,1090,1100,1550,1506,1316,1328,1400,1466,1384,1144,879,913,1120,1602,2736,1488,1252,1332,1650,1620,1390,1306,1252,1256,1658,1648,1168,1364,1494,1344,835,1104,1626,1520,915,525,451,436,531,1010,1358,1386,2710,2622,1522,960,905,1312,1240,877,837,722,673,970,1244,1036,1152,1230,1224,1294,763,522,645,733,600,597,708,684,1216,1750,1708,1322,1126,969,1062,739,590,1100,1596,1632,1360,1212,1298,1070,1218,714,536,513,562,484,456,793,1268,1240,1094,1282,1172,1088,967,1023,1652,1282,845,1194,1332,1602,1438,1332,1422,1192,1148,989,868,1850,1704,1564,1704,1334,1116,1316,1472,1236,1162,908,846,938,676,546,639,673,1090,1070,735,751,1094,1156,1044,949,1106,1288,966,486,363,367,464,781,1626,2114,1906,1816,1674,1590,1174,546,376,491,963,1260,1048,972,1222,1278,1300,1116,1100,1166,1072,1290,1064,1214,1328,1154,1094,1260,1104,1210,1460,1384,952,653,574,624,697,846,840,659,587,669,608,694,736,589,529,491,982,762,724,637,672,1001,847,907,1034,1092,1470,1456,1106,1602,1114,606,781,626,546,521,499,475,661,897,902,909,536,586,774,815,907,1486,1346,1094,785,590,680,711,708,737,689,742,487,753,1060,1064,844,886,838,843,799,590,600,1052,1021,1005,1196,1040,1036,746,890,1148,1032,794,560,414,798,1248,1420,1692,1806,1806,1936,1506,1224,1336,1166,1000,1160,1188,815,449,438,466,365,350,498,764,845,699,703,738,736,766,833,1290,1854,1756,1892,2254,1658,1020,1208,1290,1282,1216,1134,928,605,528,600,739,612,391,395,524,732,784,946,1314,1230,1088,1354,1854,1636,1792,1498,1007,790,964,955,1114,1188,1384,1198,699,853,1028,1170,1230,830,1046,1318,1418,1208,1104,981,1628,2408,1944,1416,1852,1140,574,755,1192,1260,1296,908,650,504,505,969,1560,1676,1716,1858,2072,2248,1926,1976,1754,1436,1138,1268,1462,1502,1732,1732,1686,1964,2314,2426,2436,2414,2424,2168,1918,1924,1786,2226,3038,3234,2426,1938,1618,1824,1454,1122,1208,938,932,1386,1478,1778,1904,1854,1722,1462,1516,1540,1512,1070,712,1028,1382,1080,670,510,533,519,688,1234,1438,1590,2464,3074,3518,3476,3248,2954,2388,1614,1394,1192,1108,1272,994,1282,1360,1072,1460,1230,1428,2048,2060,1842,1844,1572,1030,585,479,649,957,1248,1940,2316,1546,1340,2008,2144,1272,1196,1180,763,896,2588,3790,3194,2996,2352,2132,3166,4108,2758,1914,1710,1356,1578,1610,1564,1522,1684,1862,1772,1738,1706,1710,1578,1178,906,628,447,367,468,495,403,764,906,913,903,633,282,266,328,415,435,375,404,583,626,644,738,648,971,1298,1194,741,456,444,384,405,388,446,523,634,698,797,694,467,365,380,661,1218,1272,832,882,1448,1896,1650,1186,636,728,907,1054,1358,1406,1570,1608,1064,656,1294,1342,1212,1062,998,952,805,1106,1144,1042,989,1056,1156,1218,1290,1174,1244,965,579,580,852,916,678,686,1126,775,719,1158,1450,1318,918,927,722,529,604,560,460,311,333,377,750,1294,1180,1026,817,563,539,618,661,646,488,363,388,543,1017,1226,618,729,797,774,832,865,941,550,500,629,929,880,544,956,614,404,352,451,481,645,723,512,421,478,802,960,1024,972,996,703,360,351,368,513,948,1166,995,697,448,331,244,338,574,509,378,304,497,449,269,234,261,272,269,357,307,302,417,550,522,434,522,581,479,455,348,533,1038,1148,791,1028,1462,1508,1058,583,396,648,880,740,512,1164,2280,2142,1944,1614,1282,1178,897,517,450,436,526,716,926,816,590,554,482,781,868,754,522,343,360,406,460,443,409,614,990,1015,832,688,736,741,799,914,996,870,736,785,762,722,702,708,693,662,642,641,643,607,574,595,613,633,643,625,683,711,841,808,799,730,546,447,361,309,368,477,443,470,576,690,999,1458,1492,1476,1614,1644,1694,1630,1454,1556,1346,1232,1384,1066,717,725,984,962,774,1066,1066,1182,1914,1480,1358,1070,618,603,736,1009,949,1032,924,694,576,470,478,589,823,905,690,950,971,772,664,487,480,1120,1518,1470,1354,1056,763,679,1007,1362,927,1064,670,979,952,645,1114,1176,764,1084,1400,1404,1628,1206,532,370,455,375,271,339,413,540,808,808,968,1210,976,603,672,597,749,982,796,560,321,361,448,566,630,681,629,552,382,361,249,234,273,346,666,1278,1256,767,426,321,433,800,1054,875,793,891,634,417,495,649,1028,980,576,951,1230,1090,768,486,365,404,476,656,743,611,597,466,658,1040,1009,826,785,850,537,302,496,999,1118,1086,1198,801,614,655,910,836,666,426,292,547,859,1158,1540,1172,584,567,893,1054,1210,1754,2026,1656,1566,1622,1526,1010,554,678,630,567,619,583,510,720,1004,1070,1288,1346,1146,1030,693,369,375,378,344,393,548,770,646,705,796,867,807,591,485,670,833,865,763,583,821,952,948,1200,1190,1040,1012,1510,1744,1410,1208,1284,1556,1496,1098,1050,963,1090,1208,1302,1226,1136,980,1024,1202,1192,1134,1046,1324,1158,977,741,691,727,798,830,890,1350,1076,789,658,590,658,728,938,855,667,537,725,869,628,458,504,569,549,442,388,348,338,362,364,383,468,932,1478,1428,1438,1066,1112,1514,1194,1922,1690,1494,1744,1562,1506,1228,955,596,745,653,833,951,631,469,637,1324,1224,688,667,771,898,747,510,361,541,565,472,450,456,451,907,1230,1372,1372,1140,1300,1946,1926,2012,1184,1250,955,606,939,933,524,453,577,889,1222,1104,952,857,682,622,492,401,378,305,265,355,394,443,496,561,743,1054,1256,1118,1144,694,558,1108,1320,972,520,778,1362,1222,1456,1762,1910,2068,1836,1156,659,1056,1492,1546,1632,1450,1198,1290,1396,995,1052,1396,1274,1106,1224,1838,1390,1198,1524,1282,1036,707,388,435,666,731,735,778,551,439,491,510,485,471,502,686,1023,1302,1250,1082,1078,808,1034,1354,1182,1266,1358,1236,1196,1262,1364,1368,1206,647,698,1108,1708,1786,1432,1306,1226,664,458,611,674,946,1136,763,1420,1436,1034,950,866,554,390,382,546,1126,1344,1206,1184,968,1056,1386,1362,1060,1138,1494,1606,1346,929,608,677,1172,1082,553,771,927,857,1064,1108,805,507,335,369,653,1384,1496,1260,1262,1186,1230,1562,1562,1274,959,816,852,923,1078,1058,700,404,388,535,852,950,725,572,630,723,1126,1074,618,729,906,680,407,462,1042,980,930,1244,1240,1214,1408,1268,841,857,926,919,587,256,233,296,397,406,384,380,380,551,710,695,477,378,341,328,662,1200,1418,1700,1526,764,880,1186,2054,2080,2220,1798,1082,534,407,637,995,1234,1038,579,390,325,257,316,283,312,337,336,487,347,341,465,379,433,950,1206],[700,555,584,704,677,598,746,956,911,887,896,919,1188,1272,1180,1072,965,765,684,675,466,393,1016,1206,822,1034,882,654,866,1164,1252,1134,920,747,511,574,556,585,931,908,861,734,1088,1528,1056,735,1184,1444,987,378,273,303,357,464,457,416,378,464,564,1200,1576,1218,1338,628,493,493,417,418,480,462,413,376,327,529,856,1016,1084,680,433,625,697,498,401,897,776,614,610,370,322,392,389,415,465,744,1016,1106,1162,1198,1148,1108,806,531,636,1084,1336,1356,1238,1612,1636,1282,1448,1376,1052,836,758,671,677,747,889,956,687,680,660,660,545,484,374,376,307,356,567,602,528,707,747,443,290,291,324,331,427,755,749,1052,1584,912,721,853,807,843,1166,821,700,666,937,1007,868,1132,1300,1210,1002,884,882,573,689,974,1434,1534,1128,757,569,451,422,462,363,356,547,695,752,839,885,1054,1012,1072,1118,926,828,841,516,444,637,1148,723,583,617,937,1278,1300,996,1248,1142,1028,1692,2042,1324,852,628,1238,1594,1246,699,484,645,749,705,665,637,617,977,1300,1276,1514,1242,1036,717,539,506,455,492,550,1302,2492,2106,1224,1070,1246,1068,1270,1538,1604,1444,1154,784,665,587,637,625,583,649,871,1054,1036,680,506,561,700,848,667,609,904,912,835,896,959,1044,1072,1012,780,727,724,711,729,1134,1444,1180,1764,2050,1120,490,406,620,897,799,616,515,528,542,880,1134,1264,1566,1898,2030,1974,1992,1648,1422,1188,670,634,480,517,517,495,495,492,494,444,448,741,1038,998,1158,1416,1546,1001,1400,1600,1688,1680,1664,1438,1196,991,725,514,368,366,373,362,360,385,387,409,506,654,761,863,877,887,1021,1092,1013,1001,918,1236,1282,1216,1356,1446,1416,1440,1532,1592,1560,1316,890,663,527,892,800,778,1150,1220,1100,1166,1058,949,1176,869,778,1028,1268,1062,1010,1166,986,625,1054,1548,1580,1110,459,459,529,881,1015,913,1360,1106,1222,1332,1492,1578,1360,1296,1368,1296,1268,1192,1028,943,1092,1258,1302,1230,1244,1608,2044,1600,1294,1394,1470,1342,1458,1490,1142,1410,1548,1312,845,1102,1584,1400,872,557,426,482,546,596,882,1070,1478,1360,1252,853,814,1190,859,509,686,789,603,712,1410,1342,1176,1072,831,689,664,975,1310,1005,677,528,467,376,618,1182,1408,1172,1012,1022,921,698,550,943,1162,1360,1404,1432,1150,976,866,565,441,522,590,522,686,1046,1198,1068,1166,835,963,1166,1232,1498,2320,1678,905,1078,1380,1634,1426,1056,960,1180,1136,874,1996,2918,2212,1770,1526,1416,1616,1188,1148,1128,1202,985,1068,889,613,1013,1058,880,909,1100,1294,1072,1104,1442,1386,1164,1252,1404,968,498,399,472,567,625,1172,1776,1738,1484,1496,1570,1014,555,478,439,744,1282,1122,872,1106,1216,1172,865,660,764,1126,1094,753,1124,1372,1112,819,782,1166,1402,1390,1280,1026,947,669,648,847,960,879,811,847,930,922,1194,1398,1470,1054,533,930,1072,1050,727,748,883,727,987,1050,918,983,1042,756,1268,1030,691,1346,1282,871,849,1074,1190,1232,1132,760,617,474,617,706,694,1102,1430,1512,1380,940,844,719,591,788,847,890,811,883,1234,1214,1052,879,764,718,821,868,868,890,771,509,913,1036,902,897,666,816,1015,1016,1148,1026,830,756,857,1226,1498,1306,1506,1320,1130,1390,1308,1176,1242,1406,1482,1138,730,451,386,349,404,771,838,637,644,719,763,720,758,840,1136,1748,1940,1690,1882,1340,941,1210,1258,1294,1224,824,656,564,576,592,595,658,505,457,828,1226,1126,964,1003,1006,1036,1098,1744,1512,1822,2140,1440,982,1006,1023,1028,904,1062,1076,783,937,1050,999,1184,854,903,951,1005,1056,1013,836,1202,2308,2142,1226,1332,986,600,968,1230,1236,1850,1690,843,547,469,601,1060,1434,1788,2246,2042,2008,2114,1842,1384,1168,1182,1122,971,1136,1720,1360,1654,2246,2456,2472,2450,2426,2404,2378,2252,1880,1642,1872,2034,2378,2026,1866,1854,1508,1224,1500,1168,885,1260,1432,1736,1864,1738,1644,1572,1612,1500,1392,1196,855,1068,1278,1274,896,580,498,550,700,1094,1324,1784,2614,3096,3150,3294,3582,3554,3046,2024,1478,1398,1282,1514,1964,1320,957,1308,1200,1302,1472,1352,1234,1350,1154,1126,1232,1312,1426,890,516,889,1064,1356,1896,2186,1598,1282,1584,1230,1312,1148,1390,1722,2684,3624,3210,2614,2094,1984,1936,1710,1826,1736,1282,1558,1642,1546,1500,1648,1904,1774,1582,1666,1666,1580,1748,1794,1450,1116,814,483,349,303,261,510,694,822,847,571,341,328,438,437,376,387,535,640,500,658,725,954,1290,1120,722,440,472,466,414,393,404,511,500,540,667,712,584,466,472,509,440,891,1362,1012,1152,1582,1276,1009,1018,1150,1416,1290,1384,1400,1294,1670,1506,1186,1226,1674,1278,937,975,1224,1212,868,1076,986,822,1092,1124,1164,1340,1242,1212,1422,1368,1126,1174,1238,750,441,426,1028,1158,1112,1468,1692,1272,774,774,923,899,1070,1482,872,381,308,367,466,576,586,830,935,702,846,860,817,822,630,378,399,377,664,884,520,582,664,627,948,1246,1344,644,326,391,729,526,362,417,332,320,452,560,600,700,457,378,357,425,444,376,813,918,728,455,244,305,375,636,1011,893,920,799,586,454,338,313,392,345,290,286,210,213,241,285,388,370,307,493,489,310,402,661,755,633,464,438,321,339,386,472,753,822,487,568,987,888,619,689,505,586,738,1005,1220,1588,2098,1830,1716,2080,2152,1904,1382,445,387,453,622,736,839,980,1186,905,642,879,977,893,771,492,385,395,395,429,426,437,716,816,684,586,621,691,749,819,910,819,659,723,754,736,712,683,670,600,543,545,548,518,476,521,601,621,612,601,599,634,722,840,861,766,711,548,348,332,310,289,522,895,1324,1448,1420,1592,1532,1750,2116,1892,1508,1408,2264,2192,1548,1232,1208,1346,1074,888,1248,1128,563,749,1158,1144,1582,1124,1058,1009,1182,1352,1194,963,750,955,1020,673,370,435,641,787,748,926,714,710,880,668,379,433,560,761,1384,2096,1350,756,738,832,1402,1130,1166,1007,525,1040,1550,1254,1474,1322,785,803,1048,1006,1270,927,487,400,431,383,301,292,353,663,1172,898,1108,1324,1050,626,421,402,663,831,948,755,388,419,673,763,749,792,608,460,514,405,318,311,252,243,479,751,532,430,388,407,506,708,749,594,659,709,565,361,405,477,788,787,507,683,1146,1228,1116,1030,929,783,482,720,815,853,1036,1432,1678,1552,1152,878,1216,1218,507,405,957,1504,1168,1084,1146,755,531,596,658,804,722,504,569,1036,1376,1178,1076,989,816,726,816,1026,1270,1600,1842,1738,1596,1384,759,387,342,448,477,642,738,616,713,773,579,574,940,1172,1128,1007,509,330,462,468,401,395,654,785,544,564,662,608,767,833,630,707,626,547,484,580,799,945,1242,1522,1422,1390,2026,2182,1164,1186,1078,1208,1596,1434,1372,1334,1128,841,748,1072,1030,733,579,1098,1007,960,1248,1240,1362,1178,1062,919,619,644,857,932,1396,2866,2062,1286,756,571,930,1024,765,763,765,636,755,783,602,400,397,415,500,508,437,442,433,409,395,411,479,890,1484,1838,1614,856,957,1146,1126,1708,1478,1770,2148,1938,1780,1314,1034,839,528,596,797,987,940,805,939,1524,1234,550,465,714,797,872,843,482,683,846,647,479,384,358,716,1296,1334,815,1098,1688,1878,1238,1220,1432,1594,1224,1102,1636,1250,454,628,1188,680,576,628,650,682,563,462,451,411,361,327,321,406,494,605,468,473,560,734,1044,1558,1344,969,943,744,855,728,527,882,1300,1078,1192,1546,1858,2010,1482,1072,1014,1188,1498,1470,1416,1404,1548,1374,1230,1262,1440,1450,1322,1152,958,908,796,749,832,922,873,594,497,540,594,625,538,535,522,452,451,438,614,747,657,577,639,1082,1302,1186,1194,1226,1368,1376,1294,1190,1122,1224,974,1204,1340,1628,1588,1044,929,1320,1988,2118,1678,1440,1192,722,472,583,558,864,1050,794,1044,1544,1430,944,520,560,412,408,568,979,1098,1244,1428,1146,1064,1156,908,792,1064,1742,1922,1812,1732,1556,1460,1404,1172,837,734,859,1026,839,773,852,678,453,513,940,1562,1470,1306,1023,1044,1340,1506,1448,1108,730,613,663,589,810,880,522,326,490,767,1052,1232,1074,1036,1178,1176,1088,845,879,1210,1038,541,518,1166,1268,1013,1298,1208,1330,1804,2040,1162,638,573,796,941,573,268,265,292,344,380,343,359,443,695,918,818,522,441,334,292,521,738,977,1394,1338,998,1344,1066,1260,1322,1452,1550,1434,1068,649,782,783,664,857,608,365,339,300,295,272,310,343,499,591,380,367,362,347,400,1056,1656],[619,921,962,1250,1128,1130,1240,1386,1010,776,1124,1616,1876,1934,1574,1100,708,564,580,606,608,509,754,877,768,591,556,665,761,988,1246,830,731,592,509,483,525,518,688,931,1023,879,1134,1284,984,866,821,738,477,300,266,324,382,474,470,417,382,391,598,1368,1352,1310,1228,948,959,649,393,465,515,493,392,342,393,556,574,460,531,470,432,415,393,365,270,495,676,538,448,609,502,339,347,341,319,664,914,1208,1346,1560,1964,1582,1024,930,1076,1312,1636,1756,1340,1542,1504,1306,998,855,774,709,678,688,716,775,716,637,604,629,631,652,591,510,463,329,214,227,374,616,694,763,912,621,325,333,362,355,1058,1810,1312,1244,1260,1062,999,1092,908,800,1114,882,642,874,1208,915,745,1110,1318,1042,897,745,478,407,466,617,753,790,727,579,564,675,582,403,333,395,456,471,554,558,540,554,651,767,697,594,746,730,416,556,1072,1770,1018,619,711,962,1078,782,882,1274,986,1034,1446,1082,667,550,429,678,635,479,521,619,610,533,561,834,1042,1034,908,809,717,973,1068,895,854,863,738,509,472,584,1166,1782,1418,847,1022,1208,1158,1542,1938,2046,1568,1224,590,595,745,910,849,1144,1322,1084,976,921,716,486,477,495,525,467,663,969,900,841,899,822,759,1090,1004,581,583,708,742,523,549,612,733,954,1290,962,716,687,687,814,691,496,432,476,610,1326,1712,1676,1648,1760,1842,1894,1836,1738,1772,1354,671,606,565,689,760,610,484,478,463,473,608,929,917,539,538,630,725,857,1200,1554,1828,1482,1262,1394,1448,1510,1290,810,479,441,454,371,380,561,742,891,1036,1160,1214,1266,1266,1210,1230,1236,1180,1206,1118,1284,1312,1314,1450,1508,1530,1518,1462,1488,1594,1444,1072,827,606,603,653,925,1386,1340,1014,1080,1042,882,951,654,741,987,1176,811,518,637,884,866,1050,1378,1252,906,454,472,538,760,744,914,1376,1106,1064,1250,1432,1598,1370,1092,1070,1100,1172,1352,1426,1236,1070,1108,1258,1364,1230,1470,1808,1366,1346,1404,1302,1432,1290,1120,1270,1384,1502,1278,821,1068,1572,1390,928,666,488,458,706,759,876,1290,1362,1366,1194,610,496,557,424,435,525,590,644,1286,1248,921,1015,1060,767,894,857,798,1034,1346,970,737,535,452,631,742,883,955,1034,1180,1058,748,835,860,839,855,1122,1070,1010,872,722,629,543,753,935,792,973,1164,806,838,1088,1164,1284,1432,1554,1898,1996,1464,1042,1098,1172,1188,1366,924,844,1144,1202,819,1592,2238,1866,1810,1576,1216,1116,1138,1366,1510,1334,1284,1364,796,561,766,625,526,614,1010,1684,1554,1014,1150,1288,1028,918,895,848,848,784,797,831,710,1180,1502,1540,1466,1810,1512,760,435,491,707,1266,1702,1208,1138,1028,1078,1212,833,639,645,1034,930,574,1036,1338,918,555,647,909,858,1188,1086,871,811,580,677,709,833,1004,1023,904,758,760,1102,1266,1508,1146,700,1250,1610,1282,922,1122,1134,701,1038,992,890,811,876,766,980,800,807,1216,1202,981,816,1358,1464,1356,1358,1482,1522,897,865,1138,950,981,1046,1224,1196,1078,878,711,766,1052,825,963,996,1172,1240,1288,1382,933,620,637,907,879,757,848,824,827,884,807,929,965,871,1238,1042,1016,968,746,962,1152,973,908,1000,771,782,1028,1284,1132,949,1048,1128,1424,1278,996,815,505,476,592,645,648,615,519,601,710,760,726,715,791,894,1716,2202,1714,1260,927,1004,975,975,973,1138,1256,977,710,612,570,732,1116,1032,1120,1426,1009,899,1140,1004,879,940,687,786,1022,1582,1670,1334,1364,1384,1334,1152,699,697,916,1422,1274,1200,1272,1278,1208,1120,669,567,986,1146,1174,1526,1892,1588,1428,1078,815,768,1082,1184,1310,1886,1744,1060,628,532,490,671,1252,1636,2278,2210,2154,1804,1338,1021,979,1120,1152,935,890,1640,1610,1930,2272,2474,2454,2426,2440,2382,2156,1868,1550,1262,1584,1758,1434,1838,1844,1426,1128,1284,1470,1388,1406,1470,1652,1988,1546,1514,1628,2092,2116,1720,1238,841,1108,1242,1026,952,686,565,595,755,1082,1454,1588,2588,3250,2976,2974,3266,3200,3128,2410,1646,1430,1364,1294,1412,1982,1722,959,980,1488,1416,1380,1614,1328,1168,674,1018,1530,2148,2508,1872,932,564,801,812,998,1730,1722,1174,1138,1318,1224,720,1080,1854,2466,2542,2226,1956,1908,1914,1982,2040,1838,1292,1660,1748,1538,1518,1632,1844,1788,1512,1404,1558,1726,1684,1902,1484,843,1318,1134,619,429,328,295,375,614,860,826,639,368,446,545,438,360,522,668,534,421,432,681,1254,1144,774,474,405,432,412,414,392,475,521,439,468,459,467,522,692,733,824,556,591,1196,1120,1128,1450,1350,839,786,761,912,1502,1618,1366,1370,1450,1466,1520,1686,1668,1102,931,1392,1544,1560,1590,1324,1248,1170,1196,1186,1098,1084,1152,1268,1316,1152,1100,1202,973,705,842,630,1054,1394,1188,970,1015,938,653,490,754,1028,1266,1768,1252,608,351,484,694,679,372,593,940,609,1056,972,1472,1696,1158,528,375,266,546,925,755,491,655,477,559,732,827,526,593,729,764,583,379,448,474,494,706,647,553,944,1040,921,586,404,301,311,644,662,543,374,291,282,292,434,604,664,1038,852,458,332,296,294,259,254,298,352,320,354,342,404,470,457,586,1026,1104,753,471,713,812,855,555,375,412,547,487,495,518,350,294,405,559,808,1050,1032,657,622,653,852,1338,1312,1344,1632,1642,1716,1830,1986,1860,1108,1068,788,796,909,662,617,794,941,865,847,932,985,1005,955,680,492,536,539,500,577,695,668,607,530,510,606,777,822,771,680,662,675,736,749,726,716,645,529,492,514,516,497,524,625,631,589,554,583,559,557,614,785,854,756,778,696,580,422,698,2664,2030,1168,1860,1854,1798,1818,1882,2094,1860,1598,1388,1814,2876,2132,1584,1344,1106,1094,1244,1234,839,881,974,990,1262,888,1204,1350,1176,1074,1584,1802,1462,1164,962,846,1034,969,560,522,737,1042,847,982,959,810,686,498,437,482,460,591,1212,1506,866,463,646,791,933,840,1028,882,610,824,1628,1208,1202,921,615,494,535,869,849,461,383,366,419,408,335,301,289,569,1005,667,758,963,1026,990,790,746,794,1056,1490,1036,618,427,536,540,805,1096,824,495,460,355,386,412,331,279,295,234,296,587,745,666,591,630,477,318,524,1184,1108,409,383,380,503,802,612,489,962,1268,1188,1260,1316,1010,486,365,447,902,1060,1462,1628,1076,626,672,1054,1152,428,569,1056,1252,828,881,665,510,727,804,658,607,716,912,1028,1144,1318,1288,1021,721,698,529,539,875,1158,1440,1962,1864,1009,618,364,372,406,466,552,694,875,933,982,759,491,366,439,679,897,833,399,289,513,619,542,441,591,668,492,377,413,448,687,785,861,921,633,535,501,794,1058,966,1005,1162,1408,1628,2104,1700,1042,1056,1082,1416,1416,1186,1396,1362,1194,889,530,787,791,959,896,780,708,921,1158,1106,1200,1288,1230,940,585,528,519,683,1340,2574,2152,1730,960,584,1140,1210,933,879,962,854,648,731,725,403,368,356,499,664,699,708,725,786,704,602,754,1174,1442,1564,1432,1178,1394,1266,1606,2136,1494,1248,1690,2046,1788,2062,1982,1432,879,949,1566,1526,1086,965,636,915,640,411,372,408,512,783,880,665,772,775,605,438,374,606,1322,1636,1366,748,1036,1142,1452,1066,912,1172,1262,1132,1258,1248,825,429,571,888,749,883,853,664,560,529,645,597,450,331,331,407,463,493,543,489,389,418,719,1254,1588,1318,1160,1528,981,890,572,392,761,1042,977,984,1138,1360,1318,1040,966,868,1032,1332,1212,716,691,1292,1720,1700,1548,1376,1194,894,906,929,838,766,678,630,840,870,534,621,699,537,485,482,437,468,437,440,641,1106,838,760,807,750,1007,1226,1322,1308,1290,1374,1412,1368,1214,957,944,976,980,1036,1454,1400,1104,932,890,1160,1396,1332,1148,991,901,730,651,625,1056,1216,1202,1260,1032,944,1200,795,527,317,308,491,626,688,963,1324,1009,821,1122,1100,1046,1192,1964,1944,1762,1826,1762,1540,1554,1448,1190,1050,993,1218,1144,1048,1162,1106,893,1092,983,895,1108,1252,1218,1194,1216,1426,1276,751,733,752,598,634,821,783,549,483,749,960,1204,1406,1284,1300,1300,1144,913,804,1142,1398,1284,974,940,1164,1013,1518,1214,844,1022,1482,1362,1128,1001,845,711,588,609,365,322,376,440,417,456,480,493,522,651,583,595,694,405,316,422,539,489,988,1314,1064,1670,1624,1036,477,565,1080,1312,935,587,574,636,473,469,448,348,285,285,318,319,339,322,318,408,338,275,274,269,345,711,1198],[1494,1760,1366,1428,1292,1260,1302,1350,930,875,1644,1968,1974,1866,1782,1460,813,539,611,548,805,929,879,923,854,547,433,383,296,458,811,577,560,462,455,440,486,529,545,807,915,454,458,541,554,629,352,341,370,323,305,324,414,537,493,349,329,417,828,1666,1300,1478,1172,1562,1870,948,393,463,455,372,311,299,333,548,626,894,970,585,360,392,329,379,679,1188,1472,997,681,963,816,494,349,455,415,626,1302,2016,1916,1650,1320,739,772,1136,1258,1312,1394,1288,1278,1114,937,830,744,691,664,644,630,662,666,674,683,637,578,637,606,607,577,429,454,393,324,391,393,518,686,641,665,455,297,357,343,761,1832,1708,964,1296,1404,1730,1196,859,924,891,1066,1074,665,777,1028,779,846,802,919,852,905,838,518,399,405,448,479,597,777,610,575,645,498,413,381,412,405,450,451,414,383,294,274,396,455,464,521,521,439,630,1252,1530,1120,781,948,936,1106,1166,1172,1472,1232,1350,1366,853,590,516,416,345,452,613,670,617,509,633,745,1116,1326,1248,985,1102,962,717,601,646,1136,1294,980,666,774,1108,1064,948,1003,1130,1542,1276,783,1070,1556,1770,1202,988,739,913,1042,1320,1250,1528,1556,1046,1070,1088,818,509,419,465,460,459,799,854,755,733,836,1072,1210,1352,1005,695,649,806,753,512,661,908,760,893,1112,816,908,919,949,721,647,516,512,551,641,1016,1194,1192,1530,1732,1672,1738,1578,1382,1250,987,869,746,766,969,951,742,534,472,448,498,756,1110,680,404,362,345,404,487,607,775,758,580,658,753,628,889,871,586,419,444,607,776,1007,1242,1366,1374,1364,1366,1366,1414,1388,1320,1464,1318,1190,1220,1218,1302,1388,1462,1512,1462,1392,1190,862,682,1060,1130,715,529,645,695,621,878,1258,1232,1310,1372,1450,1118,945,1028,1034,1160,1346,1048,460,671,1012,1180,871,1088,789,737,533,480,589,792,586,724,1230,1178,972,1040,1168,1360,1304,1050,1042,957,894,1134,1434,1214,859,1015,1268,1340,1302,1296,1172,1168,1388,1168,991,1258,1324,1284,1340,1350,1384,1180,728,1162,1610,1492,875,648,628,618,788,858,1100,1162,952,974,698,500,828,963,713,763,594,623,639,691,797,619,621,631,461,709,700,642,597,938,818,1412,1262,932,1054,927,1120,1072,622,759,1166,1512,1210,943,855,772,1124,1266,1134,1170,1092,875,709,753,943,1250,959,1007,871,1086,1132,1192,1486,1648,1654,1698,1642,1282,1122,981,899,1248,1386,1322,1186,1108,1090,1018,1288,1394,1452,1624,1606,1650,1684,1694,1636,1418,1282,1246,1064,774,785,739,653,714,710,858,1011,1032,849,850,832,922,911,846,1050,1168,1446,1038,681,672,1454,1824,1410,1102,1400,1334,794,493,516,731,1194,1362,896,1224,1272,1156,1224,766,430,594,1018,827,664,1136,1030,550,609,639,446,647,1038,1244,2238,1766,664,858,769,814,1086,1154,960,819,832,939,832,888,1080,1072,1222,1416,1184,794,797,797,673,1054,918,534,524,594,457,397,406,764,1060,981,741,607,955,1010,621,884,1114,1214,929,1224,1626,1230,1098,1616,1556,1344,1140,1086,1152,1122,1412,1398,1046,1002,1122,941,1120,1340,990,857,1056,1430,1244,1100,1021,711,691,946,962,1054,1120,986,1096,755,1212,1128,790,870,1080,1204,1124,1028,1066,1156,1346,1102,705,582,902,977,1174,843,532,411,485,714,838,802,708,618,456,490,584,666,679,636,642,649,1326,1844,1754,1096,736,814,733,850,977,1040,1302,1244,1112,763,687,1198,1620,1270,1194,1192,705,478,868,1106,843,822,1136,1350,1138,1050,1021,1060,1328,1580,1610,1028,801,764,884,1992,1666,1170,1296,1216,1200,1300,1208,745,750,1238,1702,1844,1578,1346,1210,1226,1074,1064,1150,1140,1360,1706,1460,1356,860,600,531,506,857,1332,1620,1626,1356,1116,1098,1066,1066,1138,1244,824,1058,1632,1780,1682,1854,2234,2210,2026,2250,2036,1596,1504,1440,1340,1256,1186,1578,2042,1594,1228,1408,1418,1388,1386,1142,1494,1742,1704,1470,1644,2210,2532,2380,1922,1224,1015,1372,1438,1226,786,682,699,683,1092,1404,1660,1696,1954,2562,3018,3294,3072,2240,1824,1526,1614,1374,1250,1282,1228,1630,2144,1692,844,1076,1428,1244,1556,1980,2250,998,957,1650,2282,2512,2508,1894,946,621,715,985,1016,1036,1100,1338,1015,690,648,1100,1780,2258,2404,1920,1616,1816,1970,1878,1650,1396,1666,1836,1642,1586,1668,1880,1800,1604,1526,1588,1748,1788,1712,1562,907,910,1538,1514,1130,778,447,386,324,405,490,703,674,462,498,532,440,555,694,558,457,438,542,758,1122,1068,871,740,637,433,337,339,335,383,388,336,364,382,359,536,669,722,711,637,547,864,1332,1262,1284,1498,711,753,899,1064,1286,1490,1398,1532,1610,1552,1378,1120,1038,879,1278,1836,1816,1926,1584,1294,1312,1408,1336,1112,1015,1124,1204,1212,1124,985,1114,1062,949,1102,1416,981,754,1124,1144,571,651,1000,775,659,589,555,909,1146,1490,1108,494,959,1488,1070,460,576,1072,772,878,1172,1538,1310,816,506,327,377,570,861,975,664,879,570,457,421,445,493,1212,1302,918,708,402,420,564,926,1382,1036,596,946,1548,1312,642,485,451,661,815,568,501,325,368,391,309,292,298,296,468,500,339,339,277,322,345,302,248,353,525,470,369,480,650,625,553,787,1116,1174,523,374,386,567,509,567,584,594,441,349,333,388,566,471,337,546,801,760,719,861,754,557,864,1230,1322,1458,1676,1570,1586,1510,1522,1160,874,500,399,730,901,1122,1090,655,709,948,1021,1256,1260,1208,1116,745,565,686,642,621,688,614,519,389,371,532,769,828,713,677,670,666,713,720,695,674,634,519,505,514,536,527,574,601,576,560,554,580,566,492,505,590,651,586,744,825,883,723,956,2364,1842,1670,1782,1704,1956,1956,1848,1744,1400,1526,1662,2304,2144,1702,1664,1462,1166,1226,1596,1616,1021,1280,952,850,1214,1198,1542,1622,1210,987,1388,1708,1670,1432,1262,613,714,877,900,736,615,843,869,772,974,993,644,435,451,419,546,1066,1086,861,577,397,568,730,557,491,730,553,719,632,855,774,627,715,670,404,501,1032,1072,554,392,402,402,351,302,288,329,607,765,680,688,490,701,926,1036,980,811,981,1250,734,626,547,372,479,957,1306,922,497,460,365,325,349,327,395,441,471,578,827,961,777,573,683,471,316,416,1390,1354,536,344,442,666,996,883,544,769,1262,1015,654,820,930,734,440,468,950,1250,1208,852,508,722,1066,633,481,461,818,997,924,775,837,668,590,687,587,414,361,515,902,1007,832,776,1210,1188,825,466,324,447,738,1150,1244,1216,799,411,455,468,487,508,488,677,955,1018,1086,996,796,558,571,473,432,514,470,355,337,438,659,683,498,487,476,489,417,373,476,700,547,692,865,649,556,551,791,1017,909,772,649,935,1382,1526,1522,1184,1090,1258,1614,1454,1086,1246,1686,1892,925,526,860,1136,1280,1120,859,817,1076,1120,1062,1200,1206,919,593,480,547,590,529,502,586,785,1012,761,783,1046,1038,880,831,824,707,689,898,733,411,334,338,474,650,662,759,849,982,899,648,1216,1362,1046,1300,1384,1192,1004,915,1440,1632,1394,1374,1638,1688,1482,1504,1234,894,711,870,1318,1274,813,680,450,865,619,479,437,453,642,886,670,550,571,550,482,410,419,786,1372,1262,1288,758,495,913,1414,1262,1050,1222,1440,1120,962,521,332,288,414,719,1078,931,527,485,366,371,628,624,467,346,353,465,391,369,463,425,256,233,321,511,725,706,562,686,659,579,543,424,688,1007,862,684,736,857,745,633,697,783,945,1200,1224,1250,1062,1418,1750,1794,1700,1566,1256,1074,962,736,618,974,1088,1080,1076,664,447,854,984,553,455,511,529,583,670,838,1208,1512,1092,1038,1192,1234,1152,1010,1272,1368,1326,1252,1192,1076,1070,1278,1128,1262,1508,1614,1530,1174,1174,959,686,674,1262,1013,796,1266,1266,852,596,745,1136,1192,1080,1012,952,1180,1292,1132,860,425,293,271,446,626,713,728,515,940,1312,1444,1372,1236,1742,1848,1428,1128,796,749,1292,1472,1324,1194,1002,1168,1350,1154,1130,1360,1746,1802,1128,835,967,1102,1180,867,824,1158,1204,757,518,561,615,706,706,543,429,744,1282,1084,1056,1352,1476,1318,1282,1392,1024,788,821,767,923,1104,1004,672,643,1070,786,613,976,1760,1916,1982,1616,1748,780,841,1140,921,571,691,1044,1200,1024,707,465,393,450,431,711,747,614,580,555,686,536,787,708,803,1274,1176,614,472,738,1130,747,379,283,489,670,526,619,637,456,359,404,616,941,965,574,400,421,256,219,308,530,661,576,758],[1872,1888,1390,1038,977,1078,1130,1162,1254,1654,1992,1786,1952,1938,1972,1600,860,568,598,582,710,712,780,1130,1192,714,534,379,401,441,532,574,566,550,569,656,827,575,565,777,650,295,296,303,331,396,341,351,341,307,250,252,382,505,426,349,381,439,984,1318,1302,1344,902,1282,1548,866,559,897,738,428,340,273,277,350,466,819,748,404,338,344,739,1728,2170,2294,1818,1200,777,797,716,532,577,883,848,614,1236,2184,2108,1854,985,647,696,1009,1090,1038,1166,1200,1005,783,671,648,683,612,631,641,611,596,653,641,531,518,531,597,669,666,611,495,393,415,460,524,364,356,522,498,421,377,559,999,1488,1708,1832,1028,570,823,1462,1446,804,502,756,1060,1150,1176,735,616,645,790,730,554,608,628,692,577,582,545,485,403,417,683,1074,869,604,554,482,361,369,408,416,430,399,391,414,411,367,407,350,427,561,659,784,974,1232,1664,1206,722,966,949,1052,1338,1146,1198,1294,1178,992,872,625,471,426,391,568,660,538,442,530,1001,1060,1070,1138,960,1060,1322,1100,793,555,445,814,1034,1252,1019,1252,1584,1298,1602,1848,1360,1170,775,623,892,1138,935,649,654,1086,1400,1246,1256,1220,1288,1240,1528,1574,1372,980,571,444,430,405,881,1224,841,681,692,1262,1974,1966,1546,1180,896,774,986,866,511,538,733,800,1006,1152,1042,855,857,990,710,581,519,578,691,740,809,719,624,613,674,935,1100,1054,820,698,909,1010,1034,1338,1516,1266,775,463,419,432,575,761,902,486,372,400,398,413,404,349,346,388,443,414,427,409,449,443,470,586,688,818,998,1094,1188,1234,1312,1370,1410,1440,1554,1422,1248,1440,1378,1226,1310,1360,1384,1408,1190,913,675,531,550,694,941,1194,968,840,985,933,792,474,597,1019,1362,1064,774,944,1088,1078,1056,1160,1072,1450,1388,453,756,1044,1148,868,1034,950,1250,1007,524,787,946,502,766,1302,1160,960,959,1164,1250,1230,1174,1154,788,589,893,1180,1228,1220,1158,1196,1296,1328,1246,1290,1378,1434,983,703,993,1340,1482,1346,1324,1272,1184,745,1186,1626,1442,992,675,596,633,662,968,1202,883,563,599,678,723,1130,1208,987,772,715,1130,1334,906,668,480,527,468,603,854,631,495,388,505,1246,1910,1328,1060,1302,1346,1394,1202,937,656,1370,1990,1818,1414,1266,1368,1202,1066,1378,1538,1164,744,829,644,1140,1310,825,857,1015,1256,1154,991,1023,1420,1562,1510,1498,846,952,973,1015,1492,1598,1452,1118,1122,985,1150,1404,1434,1532,1572,1548,1532,1444,1292,995,822,791,829,932,833,1196,1454,1318,1376,1154,971,960,1086,1206,1128,1180,1460,1228,1266,1228,1100,1344,999,875,858,1268,1584,1252,853,825,985,905,838,902,1210,1282,980,760,951,1028,958,838,514,343,658,1166,985,785,937,618,469,538,487,465,774,1052,1060,1112,618,539,1288,1154,619,778,904,968,1162,897,1074,1174,973,852,820,1176,1374,991,771,784,481,761,1042,1026,751,512,536,631,631,687,829,975,979,818,800,955,1050,809,756,782,741,676,878,1098,1050,1410,1580,1246,1352,1370,1484,1164,1116,1812,1570,1062,1254,1150,789,1168,1576,1352,1404,1338,1454,1368,1216,1007,949,1412,1268,1052,905,925,1118,942,862,1036,709,993,1158,952,969,745,1032,1234,1372,1102,724,767,717,749,1232,1584,1174,751,518,648,1007,847,789,594,592,659,828,672,607,639,559,554,599,613,1042,1426,975,919,788,757,980,1268,1220,1142,1290,1326,985,547,907,1234,655,655,680,926,859,738,1132,1126,877,978,980,991,1156,1268,1206,1404,1464,1272,979,1038,1092,948,1218,1116,1038,1144,1034,1138,1386,1588,1598,1334,1318,1516,1490,1372,1238,1368,1304,1020,1346,1416,1376,1572,1612,1482,1376,1146,859,660,527,652,1028,1434,1390,1104,1266,1240,1100,1068,1040,1048,1262,1454,1274,1456,1682,1632,1650,1962,1672,1616,1242,966,935,962,980,1250,1636,2074,1866,1276,1484,1636,1532,1370,987,813,1240,1508,1406,1628,2298,2566,2402,2144,1672,1124,1284,1528,1754,1670,1124,747,614,698,1040,1236,1542,1588,1714,2346,3116,2614,1750,1652,1686,1572,1462,1288,1284,1262,1288,1520,2002,2238,1366,722,1186,1282,1288,1614,1704,1180,800,995,1606,2158,2610,2464,1930,816,595,955,948,1013,1358,1408,752,557,1056,1610,1504,1126,1298,1418,1634,1810,1902,1714,1400,1554,1824,1714,1682,1746,1924,1926,1636,1616,1650,1814,1908,1764,1592,1236,982,1134,1160,1001,1140,1206,856,790,467,371,339,420,504,477,453,468,560,681,536,444,489,611,744,888,847,954,732,695,685,429,358,347,356,564,529,353,340,390,358,523,554,481,413,479,426,430,895,1222,1058,1472,1510,1560,1514,1514,1672,1560,1318,1510,1600,1266,901,726,819,687,1166,1266,1136,1334,1034,919,1060,1188,1264,1104,1186,1418,1358,1172,979,688,1038,1150,838,897,1124,1452,1068,913,1246,708,769,1236,1048,603,532,641,915,1214,1712,1398,460,792,1060,775,437,594,1106,828,428,708,893,932,1172,896,513,574,587,874,967,738,848,569,426,651,887,813,864,1058,1078,808,779,944,916,1066,1476,1038,639,849,975,560,364,589,790,940,774,554,409,291,357,448,506,417,313,316,576,949,901,489,295,376,447,421,303,523,1124,1122,600,488,637,594,495,492,533,679,581,536,486,543,802,1034,910,595,361,357,372,579,1092,890,405,345,351,673,1398,1374,728,455,688,1078,1320,1396,1444,1040,733,584,639,513,536,522,426,671,1122,1492,1182,452,465,775,911,1356,1376,1276,1286,807,468,601,633,463,395,449,431,373,381,436,643,733,666,700,753,733,758,736,630,568,601,524,500,479,492,506,529,543,520,517,559,608,603,497,513,569,551,471,614,770,918,977,1284,1532,1484,1460,1544,2058,1880,1608,1858,1782,1656,1654,1772,1770,1560,1476,1372,1266,1198,1378,1588,1772,1262,1312,898,814,752,1018,1290,1160,1034,963,1154,1268,1694,1770,1480,993,749,617,841,736,557,957,1058,730,1250,1438,722,448,454,606,1046,1388,1072,648,444,350,525,884,888,546,614,419,605,558,378,402,422,774,788,595,1044,1202,922,798,457,408,426,477,527,441,329,558,937,1350,1096,425,436,520,788,952,828,519,412,554,853,811,548,451,1046,1294,803,533,485,396,368,430,504,609,674,783,1106,1284,1180,998,697,678,457,338,255,619,635,384,476,602,813,1224,1412,812,646,1072,1036,526,727,1472,1338,566,536,1064,1374,1190,955,559,770,993,481,372,440,617,667,675,629,569,507,495,489,285,286,409,586,791,1254,1258,984,1092,996,589,332,398,389,524,869,646,514,479,502,525,491,557,511,394,696,1070,1038,1330,771,886,750,704,720,525,514,536,440,414,431,521,647,599,506,449,555,659,642,831,951,714,819,814,569,586,565,774,893,950,1230,769,577,952,1368,1548,1346,1234,1214,1294,1252,987,1066,1832,2418,1248,655,1064,1766,1618,1272,1074,767,770,902,855,1092,965,558,449,407,508,579,565,559,572,639,679,697,635,584,739,846,773,501,331,626,788,562,384,320,341,498,672,636,750,816,954,869,818,1622,1652,1708,2110,1610,1476,928,1486,1710,1542,1830,1274,1104,1258,1232,997,825,720,504,679,764,906,833,758,688,991,806,636,730,567,565,582,469,491,448,477,473,430,408,877,1134,923,1062,994,894,1038,991,1156,1216,891,1046,843,505,336,332,324,421,924,1398,1068,529,421,288,292,359,465,473,395,361,400,282,225,329,297,245,250,292,306,291,317,428,357,429,459,506,517,793,939,580,464,601,621,452,650,832,850,1072,1264,1316,1396,1820,2318,1734,1726,1694,1680,1532,1270,962,638,648,1160,1388,1280,1092,668,475,739,962,658,506,492,557,804,918,1176,1482,1388,1354,1548,1410,1368,1448,1080,1064,1406,1406,1308,732,525,943,1370,1394,1426,1448,1538,1448,1180,1028,720,779,786,1020,997,1418,1654,1406,1312,962,946,1322,1306,1054,971,1138,1474,1306,1280,746,408,514,359,336,383,542,805,785,1130,1222,1334,1206,1372,1736,1824,1434,868,539,539,773,909,1214,1350,1072,978,1182,1218,973,1013,1318,977,594,866,940,983,1070,750,613,1046,1152,813,525,419,500,824,929,718,691,960,1256,919,647,954,1384,1068,872,1360,1494,923,500,388,506,536,784,623,733,874,947,1272,1792,2070,2798,2652,1056,885,977,1162,1328,1208,1140,1218,1334,1332,1328,1310,961,758,544,515,654,723,772,610,561,720,544,591,502,320,492,634,492,564,897,897,849,515,311,385,404,390,435,426,332,309,348,666,1094,1040,662,406,469,694,816,849,932,926,862,1086],[863,1096,1268,1042,1052,1380,1408,1586,1432,1612,1738,2012,1904,1958,1620,1586,1098,690,897,992,699,459,775,1502,1440,1102,1072,782,525,448,557,577,509,930,1314,887,1032,681,600,889,632,399,349,302,358,375,336,324,268,249,291,339,404,490,428,348,370,529,1284,1464,1350,1244,930,1014,1074,987,630,744,954,627,369,277,307,336,350,438,417,332,353,339,785,1526,1738,1402,840,833,957,918,813,674,715,1252,1358,768,797,1316,1716,2010,1238,767,739,1012,1026,913,917,761,691,730,674,612,676,634,655,683,579,560,758,820,615,672,833,763,818,805,713,603,469,396,414,462,440,422,460,443,557,1096,1576,1746,1958,1648,950,500,470,465,862,1062,698,423,505,792,1104,1234,1102,797,773,790,497,355,393,440,424,518,707,577,753,566,1130,1224,1454,1118,648,505,498,468,468,485,488,499,548,463,480,436,404,411,389,509,671,773,1132,1332,1456,1504,667,455,736,1009,1023,1140,1172,1396,1316,999,1016,951,680,400,332,360,379,349,345,309,467,868,805,706,948,818,692,1040,1338,1488,1162,949,1068,1134,1506,1308,1348,1514,1152,1282,1410,786,844,885,665,765,937,752,616,725,1196,1282,1174,1102,1010,1032,1146,1418,1328,1422,1178,671,460,397,664,1462,1464,1106,1214,1072,1180,1782,1956,1552,1068,1001,1410,1780,1368,706,498,379,514,614,741,946,882,919,803,625,632,595,815,988,794,1046,1026,932,842,746,546,656,810,998,988,1023,1136,1072,1048,1506,1378,762,485,404,406,643,902,672,402,385,403,426,447,422,370,343,358,330,343,394,459,487,589,618,568,551,574,641,782,1116,1192,1350,1432,1482,1516,1614,1422,1266,1376,1282,1040,979,910,681,548,442,422,498,784,1214,1616,2048,1914,1454,1550,1904,1616,1096,559,770,1340,1708,1034,455,462,891,923,828,910,1130,1162,1108,678,943,1194,1298,1124,1136,1154,1272,1216,1060,1112,876,541,944,1192,1252,1140,847,857,1064,1224,1340,1326,1024,1032,1092,1206,1332,1138,1122,1098,1276,1216,1318,1290,1506,1592,1014,726,790,1004,1272,1320,1276,1274,962,691,1212,1710,1534,1180,892,624,541,549,723,913,637,437,500,738,875,1022,1188,1124,967,979,987,1250,1038,752,452,481,701,857,1001,831,574,410,524,1168,1350,990,1046,968,1356,1294,1524,1690,1208,1852,2350,1996,1436,1266,1150,843,999,1444,1512,1368,1144,1212,900,1260,1224,967,857,851,1050,1234,1262,1074,988,1092,1324,1338,1100,1052,922,1066,1072,1122,1412,1236,1290,908,904,1164,1584,1768,1452,1360,1388,1448,1460,1001,594,626,756,1112,1017,1078,1310,1432,1498,1134,841,1190,1354,948,788,1062,1050,879,1044,763,474,528,742,1046,1122,1054,1044,1176,1160,1018,1032,1030,913,1128,1400,1548,1246,747,667,700,794,893,891,1021,1180,1288,1058,890,821,816,687,484,376,506,1116,1548,1328,1148,550,512,1244,912,562,588,489,841,1188,970,880,907,885,867,675,999,963,552,583,1070,774,938,1038,792,680,573,711,1013,1224,1072,1450,1710,1770,1382,1122,1142,1144,975,1015,1062,968,959,1018,1026,1030,1140,1116,1144,1110,1030,954,603,874,1394,1070,1040,954,816,918,962,995,1164,1296,1446,2038,1890,1280,1164,974,1266,1136,1234,1188,1252,1278,1098,960,930,802,661,589,782,1222,694,699,839,1072,802,852,957,1056,1458,1560,1284,1252,1152,768,722,1058,633,588,632,996,1208,1278,1021,731,817,899,1054,878,630,796,1116,956,717,509,1003,1570,1794,1578,1198,1140,931,926,720,771,803,1034,964,828,1148,1048,640,975,1292,1088,861,745,979,1404,1322,1274,1376,1258,990,1242,1180,996,1298,1508,1286,1192,1260,1118,1378,1614,1186,1372,1174,1268,1464,1760,2136,2344,2342,1788,1176,1222,1216,1374,1484,1466,1510,1588,1638,1350,758,590,538,711,1032,955,1522,1736,1432,1038,1060,890,1002,1400,1206,1242,1318,1654,1856,1422,1550,1912,1816,1356,880,604,613,688,1224,1642,1494,1182,1224,1368,1444,1466,1106,879,895,1008,1132,1508,2232,2536,2438,2232,1962,1272,1172,1482,1696,1512,1514,1580,1002,576,888,1196,1812,2280,1726,1682,2042,2116,1756,1628,1490,1566,1780,1542,1174,1194,992,1020,1226,1214,1360,837,542,880,1320,1294,1366,1596,1450,1036,844,670,1232,2200,2352,2424,1736,852,511,663,1032,1512,1304,798,1001,1570,1576,1100,1126,1534,1726,1776,1726,1714,1408,1494,1770,1760,1724,1796,2020,2034,1830,1714,1688,1814,2010,1864,1650,1384,994,909,1046,1102,1100,1104,946,1168,989,705,473,310,363,430,446,512,615,680,561,406,379,547,786,574,513,627,814,667,552,586,460,345,303,430,881,685,400,401,408,356,422,503,500,413,389,399,332,494,1126,1042,977,1022,853,692,700,855,925,1078,1266,1262,970,935,763,797,1021,1072,652,827,1316,1132,957,860,924,957,1042,1236,1336,1416,1268,973,857,1208,1034,1136,1232,1058,1622,1562,1112,1498,1074,1064,950,771,720,1052,1176,1196,1294,1464,1150,484,448,366,460,634,571,877,850,543,779,828,660,818,992,955,699,532,512,685,619,791,730,626,1108,1320,1096,696,807,858,910,1382,1390,1036,735,637,491,569,693,547,415,355,570,749,656,685,578,457,371,328,647,1066,741,348,360,533,777,1188,882,391,398,703,756,575,667,1324,1548,786,374,408,388,373,469,608,717,895,919,865,804,816,876,899,730,400,454,763,562,1156,1288,579,337,313,592,1372,1620,775,492,530,610,1052,1148,758,618,576,440,522,734,1030,1054,744,511,948,1354,976,725,713,549,787,992,984,1368,1448,909,441,405,495,456,430,430,508,447,381,393,516,611,626,708,796,761,789,753,642,552,560,594,573,524,531,514,496,498,491,530,642,637,642,603,586,570,550,433,458,681,867,1060,1476,1438,1350,1410,1660,1672,1482,1406,2416,2354,1782,1416,1266,1428,1510,1278,1256,1160,1380,1350,1370,1370,1394,1382,1042,749,776,963,1108,845,1042,1116,1214,1060,1648,1662,1538,1428,1164,969,941,702,818,1136,1302,798,1112,1588,1062,598,609,1174,1444,1342,990,511,449,720,1024,1346,1070,642,482,433,521,407,320,354,426,598,497,313,527,459,304,601,533,501,467,539,638,538,305,309,488,646,711,636,459,341,426,816,797,406,233,403,723,1058,777,605,1074,865,678,629,577,577,581,653,869,1030,1010,931,1152,1148,1476,1238,752,769,633,373,243,293,265,329,672,870,954,1023,968,766,798,885,1210,902,622,1118,1007,554,521,1036,1166,1146,1226,793,557,466,347,379,432,385,402,404,300,254,295,302,318,539,737,654,476,728,1114,1324,1424,1272,1038,845,362,404,385,376,396,437,486,479,488,495,424,419,469,489,667,1046,1080,1466,752,773,801,808,747,556,528,516,447,390,464,454,417,481,544,601,625,776,837,1022,940,633,833,805,522,466,416,544,893,1316,1406,726,400,540,1036,1512,1484,1416,1130,1112,1086,999,1062,1720,1898,1336,952,1124,1476,1342,1206,1013,624,425,460,698,996,735,467,397,390,464,460,463,488,529,605,669,658,683,604,593,866,674,399,326,417,452,328,321,309,330,496,641,646,761,930,960,690,1054,1862,1644,1560,1966,1576,1510,973,1794,2120,2222,2150,1156,1190,1798,1560,699,399,437,439,625,901,1276,1015,821,636,796,611,736,1100,559,384,367,396,427,566,594,543,838,838,551,519,857,1250,968,903,913,647,853,639,521,689,466,291,292,286,301,382,764,1262,1130,583,343,280,254,230,305,386,327,288,375,339,272,248,227,288,300,316,335,361,386,419,348,358,543,791,694,758,995,894,525,416,415,308,529,897,986,1132,1194,1104,1224,2168,2536,1828,1664,1310,1170,1274,1368,1348,1088,984,1176,1252,1358,1136,568,549,502,572,425,474,561,602,980,1164,1124,1030,1014,1220,1852,1660,1388,1304,890,697,1154,1272,1290,922,988,1450,1584,1594,1560,1966,1864,1126,1158,1230,962,866,971,1118,909,946,1302,1426,1568,1234,1410,1276,1266,1092,976,1400,1278,1112,1112,637,523,831,605,349,370,364,639,1022,955,951,1196,1294,1540,1694,1810,1288,769,494,691,808,853,959,1108,1013,688,753,1072,920,870,847,633,626,1080,1230,908,714,689,473,852,1178,947,737,674,527,530,909,995,1034,999,897,557,381,453,869,1002,800,774,1024,877,521,325,361,609,1090,1074,1048,884,885,1262,1152,1246,901,553,590,894,1372,1276,950,659,943,1368,1492,1174,997,1346,1518,1488,1240,1108,1048,951,694,562,529,385,362,450,331,314,314,416,589,656,607,567,686,475,345,298,297,391,529,406,255,285,378,708,1010,1066,954,670,603,787,774,747,543,579,642,854],[673,1150,1610,1496,1316,1350,1368,1878,1678,1548,1678,1848,1926,2098,1952,1868,1352,993,1268,1308,933,639,554,639,739,1064,1116,775,503,695,1034,901,622,846,1226,1154,1118,695,653,846,633,483,439,392,442,432,349,340,300,276,426,432,448,483,383,322,364,697,1276,1336,1220,976,929,865,813,873,736,717,714,558,368,350,356,310,305,340,396,392,438,418,886,1098,1400,997,401,492,833,998,989,995,1328,1428,1546,1054,933,1200,1708,1724,1216,1034,959,774,624,598,599,447,600,691,641,613,657,667,683,674,674,630,722,919,1023,1084,1046,842,777,612,658,744,555,338,343,448,467,450,503,698,1544,2034,1932,1306,1394,1078,470,372,426,411,670,934,667,663,673,957,977,1136,1036,896,1164,1286,943,547,387,392,716,1058,1226,1230,1092,847,1290,998,747,630,520,520,507,481,519,509,499,546,750,587,474,417,373,377,452,521,520,807,1418,1526,1394,1290,775,616,972,1084,1114,994,990,1126,1136,1172,1182,1112,608,297,276,336,311,393,570,495,466,873,1021,735,923,973,751,1320,1426,1732,1816,1776,1644,1686,2124,1852,1554,1470,1264,1292,1260,897,1090,1266,1312,1108,1034,968,943,1260,1506,1102,974,919,714,665,628,681,907,933,763,626,598,588,885,1602,1604,1430,1482,1300,1628,2302,2038,1556,1114,990,1268,1528,1530,1238,1001,716,708,509,597,537,466,796,698,477,586,887,928,893,733,987,998,1200,1268,1058,772,770,1178,1596,1404,1094,1068,946,886,759,847,730,555,408,388,672,811,502,390,375,431,469,455,441,415,377,351,330,334,332,390,481,567,538,495,450,466,525,697,1064,1214,1340,1416,1490,1538,1542,1358,1146,982,777,585,603,963,631,444,487,511,655,1442,1948,1816,1824,1622,1476,1512,1384,1062,842,451,528,1242,1630,1186,819,1005,1023,910,1130,1238,1532,1192,1314,985,1024,1158,1284,1262,1232,1252,1350,1212,1276,1122,1078,844,1128,1282,1354,1312,1172,1094,1240,1270,1408,1600,1356,1276,1138,1220,1276,1312,1196,1168,1328,1156,1122,1268,1516,1484,1005,1120,1136,980,918,1046,1152,1262,869,803,1356,1716,1476,1174,1346,1021,611,540,554,695,663,558,700,868,945,1104,1282,1184,1262,1350,968,897,1094,1144,762,733,850,735,774,672,495,513,614,927,1202,908,1036,1094,1256,1390,1972,1910,1404,1552,1446,1158,1246,1152,975,1050,1426,1188,1372,1264,1222,1594,1586,1302,1228,1052,800,542,686,1088,849,905,900,747,679,932,1424,1534,1416,1270,1002,904,1022,1178,1060,822,940,1146,1628,1756,1246,1036,1334,1436,1412,1010,564,598,665,767,745,675,591,808,1212,1044,771,993,812,518,675,1050,1030,1086,1005,871,672,541,644,1014,1200,919,944,999,1003,822,807,937,672,724,859,1134,1010,838,1042,1202,1096,1038,1086,1372,1390,1152,916,913,844,787,651,442,374,642,1204,1598,1878,1452,586,341,544,499,591,705,866,980,796,705,692,639,741,1124,1048,984,1080,743,771,932,703,879,781,922,948,975,1054,1096,1052,794,1250,1138,1138,1292,1190,1132,1142,1015,1300,1184,942,788,1098,1094,932,879,878,968,1126,1256,1244,807,753,739,810,711,709,716,825,983,1104,1074,1011,1126,1404,1372,1106,1024,1266,1548,1228,1198,1124,1620,1650,1230,1030,856,909,699,429,571,753,762,1076,973,874,1152,1468,1050,763,877,785,982,1418,1126,613,527,785,600,450,883,1324,1100,1086,1164,963,984,971,954,1130,1198,781,888,904,680,473,938,1290,1158,1444,1384,1122,589,713,1256,990,792,1414,1380,1001,869,843,968,1134,1152,1100,1032,1230,1198,1090,739,833,1164,1382,1378,1318,1152,966,1344,1472,1102,702,647,892,1250,1708,1694,1636,1404,1708,2410,2396,2590,2644,2430,1372,1300,1210,1214,1256,1162,1460,1772,1700,1880,1716,1012,777,582,567,609,865,1852,1952,1438,1050,1104,821,838,1040,1262,1958,1990,1732,1626,1586,1084,1166,1714,1948,1174,583,791,1126,1408,1316,999,1120,1212,957,1060,1088,839,764,933,1021,1242,2114,2522,2508,2160,1784,1292,1200,1476,1680,1894,1636,1756,1876,1194,675,979,1436,2460,2876,2314,1714,1716,1542,1604,1636,1380,1184,1288,1338,1108,857,740,758,659,486,520,484,484,957,1498,1522,1570,1562,1290,1428,1242,702,575,1288,2060,2358,2220,1130,577,1172,1696,1750,1490,1162,1356,1652,1274,1112,1438,1656,1928,2002,1792,1284,1364,1748,1642,1616,1638,1990,2114,1900,1714,1728,1814,2006,2060,1898,1530,1204,1156,1372,1656,1764,1576,1630,1722,1490,896,598,439,346,382,378,357,557,784,583,382,334,361,517,663,484,282,544,830,636,466,461,365,338,410,445,550,437,336,349,347,346,356,436,496,496,425,368,350,441,1076,1272,1296,1080,703,853,1090,1182,1134,1238,1406,1454,1356,1446,1030,1346,1648,1124,813,1132,1544,1270,1216,877,775,1036,1292,1194,1208,1230,1122,894,995,1140,1240,1512,1542,1274,1348,1412,883,1188,1268,974,774,941,1224,1414,1158,1308,1174,844,702,619,476,594,957,1450,1236,1034,1048,950,1122,1001,579,861,1544,1528,844,507,529,640,582,713,769,703,1266,1218,919,407,240,329,741,902,579,567,695,616,659,775,811,642,565,539,598,451,389,493,675,577,390,569,857,946,527,250,239,450,490,647,530,414,741,1102,1016,709,449,718,861,519,479,551,642,659,625,673,768,870,952,727,565,616,676,604,745,670,449,499,417,768,1011,858,552,315,317,440,680,638,549,421,378,691,922,677,873,1238,832,493,629,852,914,991,645,612,836,832,1434,1262,524,683,987,1006,1304,1406,1058,593,547,728,747,568,619,729,582,517,572,586,617,563,647,725,749,723,676,634,571,558,625,635,591,546,493,476,473,599,725,704,680,680,602,561,599,587,482,414,537,780,952,1406,1448,1362,1252,1048,978,1288,1620,2340,2370,1632,1128,1112,1172,1234,1168,1310,1238,1416,1446,1388,1426,1502,1454,1122,872,647,730,1010,769,999,1122,1066,1260,1148,1196,1614,1594,1324,1070,887,653,965,865,519,335,473,842,799,631,1026,1584,1700,1374,664,842,1450,1146,1134,1240,953,785,662,577,473,322,310,342,312,309,392,616,1006,787,570,724,842,701,513,619,724,550,433,381,388,450,873,693,484,421,394,426,408,365,314,455,1072,1594,930,479,713,733,729,749,848,962,840,926,1134,1510,1404,1122,1218,1258,1470,1324,937,932,717,352,308,359,257,269,480,822,776,758,734,843,855,733,1080,1146,727,688,717,669,515,1064,1312,1252,1136,655,317,238,272,458,650,585,565,316,294,323,326,325,601,1290,1476,1007,570,521,750,1036,1064,852,843,1046,501,337,311,265,301,533,647,484,423,436,437,467,479,491,686,841,742,695,582,614,567,534,600,563,414,362,361,343,409,440,423,574,769,922,995,921,802,827,803,598,845,629,413,441,556,758,1028,1324,1204,710,461,508,864,1558,1534,1412,1132,1015,821,675,626,1240,1378,1066,1098,1130,1128,1056,1160,1074,902,609,386,493,700,695,596,483,462,523,472,370,379,495,461,609,686,843,744,641,782,757,537,354,344,352,306,304,319,401,522,594,708,817,1004,944,703,1136,1744,1182,891,1606,1702,1070,651,1132,1254,1584,1490,862,1522,2284,1544,515,431,454,456,574,739,852,971,741,575,766,544,810,1190,583,799,677,432,361,603,995,929,991,789,477,428,647,869,532,450,769,1074,1090,847,621,451,394,340,373,357,437,541,719,932,633,380,313,295,255,225,257,309,324,364,435,384,343,296,289,281,328,375,401,394,404,452,480,338,367,590,479,650,891,830,660,783,695,445,437,586,880,1074,1172,1272,1548,2226,1584,2138,1718,991,979,822,977,1408,1388,1274,1090,729,910,969,547,470,405,426,475,677,860,914,1128,1312,1060,991,1098,774,1516,1710,1414,1114,708,496,784,1272,1332,1094,1232,1516,1596,1670,1628,1986,1864,1328,1168,1256,1320,1232,1256,1428,1174,764,859,1056,1250,1230,1372,944,814,772,1210,1516,1064,736,719,786,475,699,605,374,345,322,616,1142,1278,1350,1224,1452,1500,1504,1688,1072,555,510,706,722,711,993,1222,960,770,1300,1808,1244,1266,1234,997,713,1216,1466,996,620,735,744,681,1008,1134,835,1064,1042,628,549,932,1166,1178,997,637,365,572,754,782,1120,984,1194,786,655,671,694,1198,1528,1356,1234,1110,869,1064,856,1000,885,1114,1308,1342,1262,1224,929,510,659,1196,1426,1130,1814,1836,1486,1102,1023,1436,1444,1168,777,579,445,346,335,320,300,389,494,659,663,577,490,524,662,638,527,476,410,370,397,332,277,242,447,1188,1446,1184,1248,1040,482,438,514,590,465,449,439,1070],[1412,1404,1472,1518,1500,1390,1396,1542,1688,1694,1720,1658,1828,1732,1638,1622,1398,999,1448,1282,1252,988,744,918,1096,1028,762,665,706,788,1214,1134,629,405,450,769,610,520,724,761,484,377,349,344,342,391,415,365,311,305,447,407,512,519,366,348,447,832,1516,1292,780,542,1064,1007,822,656,726,748,694,521,380,345,365,350,290,338,358,354,401,525,1118,1666,1972,1354,578,745,1142,1230,926,868,1282,1394,1484,1368,1358,1482,1474,1246,950,744,592,487,397,471,672,664,686,612,606,639,634,656,683,675,672,657,810,1222,1310,1482,947,644,760,686,814,1028,778,420,379,448,461,469,514,711,1416,1610,1278,1142,1184,717,457,415,349,350,434,564,833,1002,1172,1598,1156,1078,987,808,1032,1256,983,633,433,532,766,897,1216,1544,1114,1444,1394,759,639,478,419,449,466,538,488,426,496,451,555,598,571,469,404,401,471,476,638,778,1200,1452,1024,995,897,784,837,870,926,1100,1108,1021,1278,1284,1168,872,588,371,317,311,311,538,857,873,718,901,1102,978,932,1070,1028,1700,1538,1862,1926,1662,1554,1560,1552,1406,1416,1556,1522,1636,1788,1614,1434,1364,1410,1444,1432,1176,1104,2020,2040,1228,747,733,570,510,452,372,332,375,479,672,906,1146,1322,1458,1492,1286,1320,1306,1622,2028,1960,1460,993,740,636,621,965,1458,1554,1168,1048,1172,1048,682,700,755,512,420,630,1184,1392,1092,1154,1302,911,683,815,900,753,625,885,1312,1342,1372,1188,901,781,775,851,830,647,456,484,738,680,450,463,469,478,420,379,421,397,366,357,329,318,325,349,414,514,445,477,470,492,482,514,733,1056,1240,1348,1378,1272,1074,850,698,570,588,877,1140,1498,897,464,483,475,562,1056,1402,1152,1118,1396,1384,964,593,410,435,449,626,954,1212,1372,1484,1422,1072,774,731,988,823,817,1015,1188,1266,1240,1250,1034,965,1100,1362,1108,1208,1370,1628,1036,862,1284,1594,1390,1172,1238,1418,1442,1400,1444,1278,1516,1554,1332,1130,1134,1294,1232,871,850,1074,1192,1306,1182,1088,1216,1266,1234,1338,1290,1268,1222,852,756,1348,1742,1460,1190,1442,1366,797,637,652,713,849,838,791,929,1102,1132,1152,900,756,956,768,532,905,1160,1084,1066,911,579,504,389,495,836,1030,1240,1284,1020,833,984,1208,1106,1066,1228,1208,1300,1046,882,741,981,1306,1180,1350,1366,1094,1004,1018,1076,1244,1060,714,659,563,455,501,636,918,981,750,653,787,1162,1642,1592,1454,1340,1376,1208,1260,1300,1178,1170,1158,1376,1752,1652,1084,1216,1472,1188,1148,861,550,560,616,601,842,1050,805,772,1328,1450,968,1104,1126,1324,1206,1023,1240,1516,1434,1002,624,609,562,674,853,1154,1208,1001,1040,685,727,939,1116,1096,794,714,653,926,1140,1112,920,958,1108,1138,1186,1086,916,795,548,426,402,456,538,888,1072,1106,1232,827,515,538,448,430,848,1292,1384,1002,1342,1344,707,526,517,1016,1092,977,1290,993,729,868,887,954,523,604,1005,1240,1044,1088,1048,1026,1186,1048,799,819,855,880,1146,1470,1488,1470,1200,1282,1320,857,919,1138,822,706,1072,1394,1654,944,705,697,803,755,1094,1084,855,857,868,1013,1146,1070,1232,1112,750,651,874,891,909,1080,1292,1400,1150,1300,1176,854,829,744,655,656,730,854,1124,1070,891,1092,1100,993,721,673,594,486,868,605,522,724,798,642,512,500,600,597,811,971,955,752,735,961,1296,1170,760,831,876,684,613,905,1326,1494,1826,1294,813,642,672,758,544,490,710,855,839,749,966,937,862,637,569,857,1470,1304,896,657,787,1206,1504,1550,1004,448,502,943,1058,1144,724,487,679,1088,1652,2054,2060,1814,2468,2944,2622,2490,2342,1980,1372,1224,1220,1306,1332,1314,1638,1808,1470,1614,1614,1380,1178,735,538,797,1019,1166,1462,1494,1362,1070,729,639,726,1544,2008,1974,1798,1290,1778,1658,945,966,1362,958,623,1086,1600,1454,1021,1168,1556,1210,1036,1204,913,844,1202,1392,1254,1614,2456,2474,2196,1460,1056,1054,1220,1092,1194,1456,1560,1660,1666,1660,1204,1106,1418,2310,2938,2836,2266,1776,1482,1488,1748,2266,2002,1282,1104,879,689,897,836,541,433,431,447,491,941,1458,1594,1576,1324,1048,1644,1640,1352,719,660,1418,1854,1374,663,971,1504,1372,1228,1584,1610,1488,1848,1310,1090,1370,1666,1776,1908,1598,1326,1780,1648,1522,1550,1828,2046,1838,1612,1666,1826,2036,2088,1922,1588,1256,1182,1844,2032,2048,1938,1832,2512,2614,1524,715,420,405,410,422,482,568,758,662,406,315,431,523,423,465,556,448,666,791,692,653,458,349,333,317,334,368,325,334,362,322,389,405,402,522,592,515,375,334,289,753,1142,1144,1166,1504,1550,1566,1528,1562,1338,1502,1386,1346,1348,1212,1510,1434,1200,1146,1404,1862,1202,857,716,1168,1470,1266,1230,1318,1246,1086,901,1038,1224,1030,902,1438,1112,1015,1460,846,802,1464,1256,834,1086,1432,1404,947,1206,1042,897,717,526,440,435,641,967,1136,1192,1054,1040,1206,1122,591,695,1302,1274,713,461,459,520,447,577,834,688,924,731,555,435,462,560,841,828,610,602,826,860,944,990,810,856,775,655,487,472,655,729,821,781,601,482,563,372,293,294,357,529,461,359,336,394,695,792,708,460,598,670,705,843,915,745,543,412,321,382,443,664,912,990,793,652,472,548,635,756,472,317,406,534,1034,1444,1116,352,310,391,571,788,945,681,408,369,697,799,727,837,701,542,471,529,848,1390,1056,475,554,1132,1550,1078,506,480,869,1096,1092,1394,1310,925,605,599,605,618,828,971,764,617,760,572,691,927,1050,849,859,801,642,585,558,702,896,883,824,717,561,538,631,760,810,946,963,773,792,870,717,631,669,523,445,803,1332,1460,1140,894,769,644,745,1172,1432,1332,1500,1208,854,1124,1266,1208,1338,1328,1260,1404,1462,1458,1378,1248,1294,1396,1074,641,623,791,747,1148,1072,902,1096,948,1024,1564,1512,1112,708,585,430,653,874,620,429,525,569,484,777,1372,1598,1424,1186,859,1498,1898,1122,1082,1240,997,953,956,673,406,320,276,239,255,305,539,875,1192,1090,1034,1220,1168,962,731,609,637,829,1208,645,377,357,378,592,666,426,421,514,669,822,547,389,682,1240,1036,477,455,684,1015,1318,1156,1180,1018,1262,1190,1188,860,1036,854,846,1278,1232,816,703,570,285,338,463,296,289,350,453,371,459,586,596,628,717,1002,1238,866,818,1136,1176,735,1072,1562,1372,905,487,348,373,527,695,1114,896,831,491,421,693,659,426,480,1154,1490,959,633,806,1001,910,963,782,810,1144,681,318,346,355,311,466,692,484,390,575,572,535,501,848,1184,937,576,561,535,451,391,373,399,361,310,382,401,401,406,403,417,653,871,828,882,776,812,648,750,827,937,552,613,767,797,810,876,1148,1080,569,459,479,702,1556,1598,1270,1080,1044,894,948,857,793,932,1138,1222,1210,1222,1112,1290,1622,1522,969,592,435,513,583,553,472,431,432,407,368,488,593,485,494,629,885,825,629,718,626,437,339,331,339,314,312,339,389,553,763,824,860,935,977,1094,1126,1440,1296,1186,1420,1410,941,794,1062,1000,1280,1156,741,1284,1714,960,455,390,518,680,577,536,736,854,705,668,640,558,1106,1234,1304,1106,691,526,404,957,1388,969,673,507,403,306,305,336,314,481,843,1174,983,812,663,460,429,392,508,736,940,985,824,705,436,389,403,375,350,309,314,383,447,425,421,364,274,246,273,276,364,448,426,383,421,392,365,378,494,560,452,488,465,363,427,800,906,768,608,480,1005,1256,1310,1108,1216,1570,1350,1600,1480,1192,1104,907,670,798,1328,1616,1208,824,619,561,470,385,368,475,651,710,808,1112,1312,1240,1080,1050,1268,935,1256,1384,1076,788,642,536,572,910,1282,1394,1304,1428,1506,1554,1646,1346,1260,1158,1064,1262,1620,1636,1526,1236,1218,1352,1178,1126,1326,1450,1498,1332,1012,632,609,756,867,499,586,581,413,415,444,488,438,507,990,1168,1340,1358,1058,1288,1526,1620,1394,850,411,462,647,578,576,839,1072,1003,992,1562,2062,1538,1434,1396,1023,478,554,965,952,711,949,1001,913,944,730,1042,1512,1626,1298,1028,1136,1284,1116,876,814,506,716,518,518,698,738,749,736,1086,1072,952,1036,1106,1230,1086,1114,1244,944,1048,1216,897,1104,1562,1872,1836,1630,1362,807,508,484,828,1488,2376,2090,1706,968,614,830,1230,1196,786,1154,1020,761,443,377,395,422,669,722,644,700,747,799,831,713,654,539,604,615,458,355,321,297,651,1286,1534,1438,1372,1014,632,469,662,518,384,360,515,983],[1162,896,888,1022,876,758,805,872,844,905,1222,1372,1466,1534,1604,1482,1648,1386,1270,924,1116,1240,1254,1308,1296,912,546,692,937,792,1112,942,577,428,496,550,516,540,760,796,404,371,321,288,275,373,809,743,486,395,304,375,479,392,432,375,419,816,1250,1134,727,419,744,951,959,983,1128,1418,1158,650,437,359,316,395,302,346,362,365,406,503,622,815,1056,919,814,874,1004,1374,953,689,679,679,1034,1354,1382,1170,1050,1246,997,683,735,667,486,543,651,711,702,605,609,653,641,649,680,658,723,726,771,1190,1612,1838,1300,814,603,711,1132,1500,1086,487,384,474,484,469,516,659,951,1190,1524,1628,989,517,451,382,365,397,569,513,782,1090,1078,1015,943,1032,1180,847,709,893,767,615,818,768,545,710,921,940,1264,1882,1376,731,497,338,382,395,504,584,441,408,377,394,483,519,522,448,434,469,497,548,534,428,630,1118,1290,1362,1240,1084,1164,1040,1136,1332,1106,1244,1208,960,1102,1172,838,407,318,309,305,529,943,976,661,893,1152,1020,1158,1150,1386,1448,1216,1268,1054,991,1344,1376,1158,1356,1460,1694,1720,1948,1874,1394,1020,1086,1632,1570,1488,1184,1114,1744,1798,1276,852,848,844,645,418,435,651,869,885,1034,1262,1854,1980,1610,1322,1264,1384,1400,1584,1730,1394,1122,773,756,973,858,786,1412,1520,912,1017,1510,1510,1428,1154,771,521,500,646,1280,1512,1202,1468,1636,939,395,424,379,440,549,564,945,1188,1208,1054,1130,1152,1128,1382,1938,1688,805,837,924,565,611,619,652,670,555,392,355,356,370,381,372,330,347,362,362,480,530,492,481,517,604,633,828,1128,1182,1019,809,625,515,411,455,493,584,1134,1550,1218,624,498,633,718,807,908,790,627,629,706,857,775,480,364,435,686,1072,1132,1110,1334,958,741,930,1234,1268,860,496,819,1250,1354,1324,1328,1560,1486,1380,1238,1194,851,821,1560,1498,871,855,1544,1892,1248,938,1294,1306,1476,1230,1262,1212,1552,1428,1284,1288,1122,1416,1464,1110,1054,1226,1098,1108,1032,1023,1114,1256,1610,1554,1202,1216,1182,929,830,1398,1790,1366,1194,1510,1454,1032,946,838,783,934,1086,1001,1148,1030,1266,1634,1732,1504,1034,648,1017,1260,1068,1017,1240,1354,803,486,407,736,1190,1418,1088,960,1000,887,775,760,739,736,1150,1266,1198,1102,1128,752,944,1376,1360,1438,1284,898,1146,1102,1030,839,965,611,516,458,422,444,548,779,785,582,517,735,1354,1466,1266,1266,1180,986,1218,1302,1324,1488,1420,1282,1464,1726,1670,1102,1452,1256,759,722,661,582,547,483,683,1100,1194,1124,853,1118,1296,864,951,1330,1614,1174,592,639,1100,1112,823,861,718,439,331,788,1222,1400,1388,1186,933,912,999,1194,1032,637,684,555,586,631,836,859,968,1160,1168,1140,1122,777,740,660,560,381,551,659,788,911,784,703,727,871,1210,1132,833,968,1202,1064,705,761,714,552,426,365,887,1094,825,1046,1040,1136,1386,1240,1060,530,577,909,1062,949,819,775,907,1200,1550,1454,1418,1044,979,1094,1142,1046,1070,927,930,782,493,700,1007,1015,789,987,1244,1328,794,737,799,771,1184,1708,1534,1018,996,998,1300,1222,1358,1228,778,616,658,885,793,629,692,1024,1568,1326,1242,1096,841,733,917,1140,802,774,1020,1020,901,867,738,694,1132,897,653,462,405,444,300,549,1066,1015,828,898,814,834,625,557,547,663,748,611,764,890,796,874,1118,1017,847,904,998,974,1482,1714,968,531,431,366,375,524,724,894,902,880,869,1064,1086,1096,604,358,541,629,760,996,996,1176,1212,1192,1388,1042,582,667,963,1200,1540,1054,624,631,1024,1802,1968,1766,1836,3218,3586,3538,3272,2856,1826,1618,1574,1384,1268,1310,1296,1578,1372,1190,1146,1304,1200,1136,1042,812,859,1008,1220,1510,1650,1724,1242,1202,1028,999,1566,1856,1910,1640,1396,1500,1602,1472,1094,811,735,1020,1740,1832,1272,1268,1530,1616,1804,2068,1366,736,1046,1386,1438,1682,1590,1970,2108,1446,988,1104,1194,942,845,1040,1098,1458,1604,1680,1936,1760,1440,1504,1838,2366,3006,3096,2364,1632,1690,2814,4200,2820,1514,1184,933,1004,1294,1208,720,417,401,408,487,805,1228,1530,1664,1604,1306,1410,1266,1444,1172,688,734,775,492,614,805,677,600,764,1074,1444,1450,1312,1214,1128,1434,1768,1924,1478,1394,1638,1590,1626,1648,1824,1960,1842,1572,1526,1746,2000,2060,1952,1618,1364,1660,1730,1880,1628,1488,1488,1976,2740,1932,657,372,363,428,425,395,589,639,452,350,287,254,474,701,623,718,904,791,783,717,654,519,503,509,384,299,331,312,306,304,294,315,399,383,351,464,582,544,396,312,271,414,814,1008,1042,1422,1014,1434,1532,1478,1362,1160,1046,1248,1172,1152,1344,1762,1594,1222,1414,1470,1196,988,760,1009,1024,798,984,1212,1048,1096,1036,1202,1284,1116,1013,1604,1200,987,1380,1126,988,1122,1152,789,663,1274,1352,735,833,778,968,919,750,658,528,508,370,422,896,981,1005,1116,957,472,474,631,480,445,406,343,518,560,872,1126,747,471,340,451,727,730,628,662,609,542,487,455,504,601,650,669,844,530,222,239,341,412,496,590,592,563,566,649,546,563,528,422,564,585,483,455,339,278,259,390,383,680,634,468,401,544,590,557,641,541,462,482,789,1280,1510,1021,703,599,767,816,697,634,453,500,768,1276,1460,1370,441,250,440,926,1458,1260,684,343,297,498,806,733,418,404,622,886,1050,931,1226,980,424,343,622,807,656,644,520,642,1076,1088,1272,1001,612,446,522,730,754,688,764,669,541,484,271,443,802,838,955,1138,983,937,849,728,846,771,874,1054,960,921,889,757,648,598,639,672,761,836,852,928,891,903,829,857,1224,1616,1318,805,640,656,637,602,753,776,777,991,744,566,710,734,1046,1212,1118,1420,1478,1324,1516,1478,1214,1324,1644,1416,938,607,805,1036,1064,1206,1210,1078,1338,1218,1188,971,687,444,419,384,391,772,901,697,679,662,446,839,1410,1814,1384,952,993,1136,995,731,802,988,891,769,562,807,720,355,264,265,290,318,459,718,984,1116,1188,1080,800,1006,1058,709,741,1138,1222,768,516,336,427,679,590,581,741,684,1060,1172,532,368,504,656,641,570,719,788,1180,1548,1246,1284,1124,1510,1322,781,647,977,1078,1078,1100,1032,697,709,574,369,292,306,281,332,346,267,234,345,471,651,833,565,621,1216,1196,1038,1196,1140,573,710,1030,950,733,679,843,534,766,1360,1306,888,734,667,672,1052,1058,697,693,951,1146,936,1202,1500,1722,1102,1226,1216,871,1122,1100,684,417,428,387,514,937,627,475,331,574,1584,2330,1918,1682,957,530,403,381,389,537,757,809,563,434,387,382,421,420,419,416,684,953,786,702,554,666,645,800,826,808,661,963,1274,1286,957,987,1028,1086,796,694,841,1174,1582,1556,1368,1162,907,635,866,1118,987,833,1028,933,904,1070,1158,1386,1904,1520,775,489,358,370,454,599,606,516,397,342,360,385,451,416,350,504,753,714,631,730,551,537,621,481,335,321,303,333,339,471,735,856,837,861,1023,1003,764,1354,1572,1202,1086,1078,878,942,1048,1020,1450,951,573,1026,1202,1040,688,500,574,566,435,537,971,1122,667,453,456,612,1080,921,977,781,622,574,393,585,861,650,470,410,306,263,406,422,514,705,673,736,871,884,841,672,561,604,1108,1878,1714,1066,1032,918,569,563,521,498,491,379,354,351,361,343,351,364,316,352,349,326,393,410,357,342,411,408,365,472,550,476,410,484,504,420,335,359,582,880,692,468,695,1164,986,689,898,1406,1276,885,874,963,1050,1054,766,688,849,1470,1484,1236,869,563,426,429,572,695,697,940,1318,1290,1182,1324,1282,1198,1278,1082,1198,1138,685,551,669,577,513,683,1028,1060,943,924,1260,1494,1576,1526,1482,1294,1320,1512,1686,1474,1342,1192,1016,1104,1274,1288,1260,1324,1466,1798,1434,785,618,1242,1116,550,402,323,323,329,358,468,484,661,1023,1194,1272,1198,1266,1350,1474,1316,1054,908,700,450,520,852,825,880,1116,1160,1082,1302,1260,1494,1262,1234,1070,651,601,788,702,684,1050,1140,841,1104,933,1418,1720,1730,1650,1498,1302,1344,1074,797,866,741,915,820,546,372,736,904,885,996,1036,853,615,974,1260,1054,1310,1556,1210,1182,1444,1162,777,1220,1550,1638,1734,1606,1434,735,639,902,1432,1570,1584,1502,1011,1015,1468,1278,955,636,1021,1264,1346,1206,1104,677,571,845,767,549,788,1296,1454,1296,714,568,537,689,710,613,663,633,390,692,1044,1350,1092,1060,1204,899,647,770,683,511,393,489,607],[1232,805,752,1042,1136,1184,1102,825,527,500,720,672,858,1023,1088,1212,1366,1444,1556,1528,1306,1238,1260,1440,1300,979,726,882,956,1142,1290,912,564,474,549,586,558,580,804,728,387,401,311,290,322,678,1316,1038,563,460,307,493,621,420,558,394,386,646,1216,1410,913,656,868,1032,1258,1418,1620,2030,1358,1204,735,442,384,444,351,422,491,513,551,505,617,783,633,670,1216,1788,2136,1682,1068,795,651,597,852,1238,1450,1130,683,979,824,641,712,539,450,563,630,658,687,663,645,666,657,665,691,670,691,685,790,1015,1514,1514,1506,1648,1080,943,1168,1622,1300,607,426,432,463,602,799,1070,1230,1336,1468,1732,1352,697,430,419,437,456,642,764,1260,2022,1780,1226,1344,1220,1344,1224,842,724,778,819,1444,1070,680,702,738,1080,1516,1500,751,506,500,401,378,447,550,561,454,426,389,433,548,505,613,807,393,451,394,408,354,396,418,633,1011,1288,1346,1514,1404,1208,885,903,1030,1182,1098,1182,1208,727,407,293,280,270,304,612,1296,1466,1252,1084,880,657,1058,1380,1220,945,728,1032,1302,1136,1480,1544,1382,1464,1498,1526,1592,1744,1422,959,904,1011,1468,1190,1288,1052,963,865,1060,1186,937,957,1312,858,432,1058,1430,1164,731,767,1256,1686,1560,1512,1394,1250,1400,1378,1136,924,1007,1280,1162,1054,1080,1070,1021,1414,1456,936,1104,1472,1400,1472,1180,639,588,544,689,1256,1190,794,733,868,670,409,392,388,432,828,993,1566,1824,1256,1052,1306,1492,1344,1278,1700,1950,1550,1204,809,576,490,602,697,705,612,433,351,321,346,378,443,322,316,316,305,365,524,592,622,648,684,664,675,692,821,638,493,502,572,499,470,430,503,988,1196,868,584,596,869,1004,854,1024,827,545,466,490,805,1003,788,530,571,776,1290,1554,1438,1346,943,733,846,1210,1256,826,556,725,908,1001,1206,1164,1152,1086,1296,1222,1266,1018,605,700,677,519,634,974,1148,749,705,1106,999,929,938,1202,1236,1036,642,550,702,1118,1446,1412,1168,1212,1082,1092,1114,1214,1308,1452,1358,1324,1336,1170,1166,1084,797,825,1418,1748,1366,1262,1584,1518,1390,1442,1504,1046,811,1108,1346,1350,1150,1504,1642,1416,1512,1216,890,1082,996,906,780,1088,1594,1276,738,539,633,1116,1518,1324,1050,1084,1324,1108,537,517,1078,1462,1106,789,907,1190,1108,1166,1512,1460,1152,1086,738,874,899,695,461,717,907,789,527,408,387,486,795,863,763,819,908,1330,1092,1202,1372,916,719,875,965,1130,1156,1318,1378,1640,1710,1568,1184,1128,966,901,758,707,828,752,547,711,960,1232,1248,1092,1084,1444,1716,1560,1204,1015,913,853,722,910,976,972,1062,708,467,396,644,1010,1422,1446,1152,798,793,665,599,465,395,433,462,463,492,823,1354,1718,1958,1680,1258,1264,833,674,617,522,420,546,790,630,430,541,776,781,836,1244,1218,786,754,876,688,704,623,641,574,424,313,626,1068,934,1200,1124,1206,1200,956,861,909,1062,999,956,863,759,737,733,919,901,1007,1184,996,857,967,963,763,1062,974,544,684,826,705,594,580,856,1132,1488,1874,1456,1022,900,701,749,1332,1428,983,858,1302,1470,1140,1346,1338,1262,929,732,913,1009,1086,766,664,960,938,1054,921,808,656,937,1116,698,662,857,747,571,836,915,960,1234,847,472,393,539,630,424,546,997,876,879,830,787,692,622,727,725,861,908,703,747,929,947,909,1054,1242,1118,1162,1134,620,804,913,819,976,868,365,437,711,909,1064,785,645,642,692,853,922,659,756,920,831,1118,980,1074,1622,1250,1176,1428,1082,668,1152,1244,940,743,457,506,566,973,1744,1780,1622,2350,3414,3682,3516,3614,2688,1836,2046,1992,1960,1764,1396,1416,1616,1160,1186,1218,1122,1092,940,1100,1142,874,1080,1304,1450,1664,1800,1276,1554,1120,1164,1472,1620,1510,1296,1510,1626,1578,1466,1582,1386,1142,1654,1976,1538,1272,1666,1490,1626,2924,2952,1200,744,1102,980,1410,1842,1626,1302,1034,766,1017,1466,1274,948,1182,988,961,1464,1666,1778,1864,1728,1602,1642,1536,1688,2258,2922,2662,1940,1794,2988,3838,2230,1192,1015,1208,1398,1294,944,596,409,401,426,503,766,984,1188,1546,1652,1422,1360,1300,1338,1212,916,447,416,621,596,512,681,912,1226,1152,1150,1310,1516,1506,1414,1504,1682,1806,1268,1502,1568,1576,1698,1928,2038,1812,1610,1584,1714,1934,1912,1864,1642,1528,1974,2176,1902,1588,1204,844,839,1112,1258,605,403,384,387,426,420,484,546,408,241,196,214,286,446,669,757,689,818,910,769,749,773,756,839,770,580,401,345,452,580,347,303,328,428,489,475,427,446,448,390,329,327,338,484,993,1284,1236,796,1416,1468,1152,1018,679,676,1122,1338,921,836,1044,1252,1300,1484,1540,1414,1246,1102,1070,1015,979,1148,1108,1338,1538,1536,1338,1122,1058,1174,1572,1294,790,971,1196,1148,740,871,1086,754,907,974,722,748,836,1030,1242,1132,865,996,809,671,835,919,875,820,764,677,480,528,606,681,866,894,742,678,712,807,838,692,408,302,368,388,445,471,451,400,427,335,256,663,1104,1542,1486,980,445,304,275,265,275,331,275,250,279,353,320,305,476,458,314,448,479,427,378,226,200,264,280,320,331,260,292,300,497,714,624,616,531,511,388,427,701,875,724,1044,1324,1252,1006,525,462,455,705,847,851,897,896,493,316,280,644,763,411,320,443,792,444,604,810,452,319,816,1398,1558,1007,553,356,270,277,347,560,632,578,518,469,799,1234,1190,765,771,902,1228,1152,912,789,578,450,356,468,744,631,653,771,959,1142,1000,892,896,870,760,587,561,560,647,677,614,570,531,528,550,593,558,499,528,601,544,628,637,771,877,919,952,814,697,832,776,603,601,534,354,503,597,494,325,270,668,1046,1388,1714,1404,1324,1400,1356,1290,1266,1278,1332,1058,660,902,1316,1524,1696,1474,1328,1338,1140,1130,949,591,455,447,497,543,626,980,1004,688,559,572,821,1238,1494,1010,694,961,903,601,566,669,764,736,645,851,1620,1194,510,293,241,289,379,782,1376,973,1268,1420,952,881,1026,1068,947,885,1032,796,516,601,704,480,428,649,1460,1512,713,533,560,362,362,484,512,392,417,529,706,1534,1724,1042,1138,1112,1444,1290,840,781,890,1001,1104,1222,1166,1204,966,705,851,883,763,834,667,271,272,256,280,318,592,1118,1040,1070,1166,1256,1056,897,833,597,734,810,552,397,775,1310,764,824,1682,1284,671,576,763,821,953,946,792,829,810,1032,1346,1668,1732,1836,1444,1168,1286,1362,1376,1354,968,564,428,354,389,625,570,794,2048,4368,7784,6548,1718,1356,868,532,551,700,910,1080,1128,980,656,458,409,436,451,441,430,459,558,707,930,670,567,749,808,880,676,587,736,821,811,1010,1410,1632,1030,845,974,1068,1140,1180,989,1094,1346,1080,642,519,880,1510,1268,966,1021,741,603,899,1106,1182,1140,919,709,604,478,358,434,525,468,458,504,472,350,293,329,347,368,518,583,500,521,634,708,702,925,662,393,365,370,377,404,511,741,857,855,822,1024,980,712,1202,1174,728,724,689,514,500,807,1202,1214,931,969,1204,1210,949,612,669,799,856,1110,819,1288,1256,610,336,382,377,441,458,642,745,703,766,549,515,455,553,606,564,449,390,558,555,698,908,586,573,843,907,801,754,702,732,1262,1566,1186,862,1012,843,753,651,492,503,526,405,349,334,321,272,267,290,256,252,319,330,394,433,386,352,315,412,419,391,366,362,426,529,504,417,291,330,463,605,593,452,656,833,568,550,667,636,656,848,811,843,858,938,800,1262,905,874,1352,1580,1282,852,660,651,610,434,474,904,1248,1186,1516,1664,1388,1168,1158,1008,894,826,692,649,651,607,677,637,709,610,661,838,1234,1434,1364,1500,1516,1272,1358,1576,1466,1286,1242,1060,768,699,1016,1106,914,1156,1748,1852,1422,1124,909,1042,674,426,297,252,258,247,277,375,468,702,908,962,1042,1404,1588,1378,1198,1164,1128,1340,1256,998,1036,1362,1072,1216,1434,1136,1302,1364,1368,1334,1266,1206,919,965,1162,1142,996,1340,1890,1516,1148,988,933,1208,1428,1832,1698,1162,830,774,720,1236,1074,914,1382,1534,995,608,677,873,959,1078,1500,1368,984,1358,1236,980,1166,1242,1350,1040,801,821,647,866,1016,1272,1366,1582,1512,983,1120,1316,1396,1318,1362,1150,650,963,1270,928,1144,1002,1202,1250,893,1050,1304,1074,872,977,782,577,952,1356,1484,1414,879,702,900,874,766,629,766,791,763,899,919,1222,996,1166,1304,891,583,729,838,572,372,402,460],[1032,1168,1666,1676,1410,1476,1698,1348,766,726,726,609,738,955,991,747,788,995,1009,1007,1086,855,672,1204,1408,1490,1452,1496,1346,1492,1542,1082,668,619,576,576,600,602,865,581,426,349,272,312,296,550,847,575,361,354,411,716,713,455,403,401,559,852,1224,1268,1112,986,922,945,1108,1198,1494,1594,1246,1232,1112,1038,1132,849,434,451,516,565,609,778,1338,1348,1300,1052,1254,1600,1610,1410,1228,869,634,938,963,1030,976,769,785,948,1108,733,497,513,424,521,661,658,692,689,656,642,641,640,688,706,749,675,560,673,674,550,966,1480,1300,1394,1336,1536,1324,712,428,682,898,894,1312,1472,1468,1396,978,1506,1498,1070,729,524,494,468,568,872,1644,2166,1660,1558,1596,1484,1252,935,651,604,627,1122,1886,1664,976,594,1038,1506,1172,747,470,457,457,492,418,370,436,462,387,427,440,444,548,495,537,503,382,388,347,351,393,416,614,1024,1058,942,1354,1626,1276,949,724,910,1124,1082,965,1270,1066,438,354,402,286,267,328,386,1096,1268,1056,857,719,563,645,1013,1274,1154,1314,1238,1266,1310,1278,1418,1718,1510,1102,1102,1328,1194,796,973,1164,1314,1458,946,959,810,691,816,1001,1122,1266,1390,1438,770,500,987,1256,1094,618,564,716,603,670,1128,1508,1358,1452,1508,1030,1001,1256,1152,965,960,1344,1470,1344,1602,1380,1058,1352,1610,1446,1280,1034,730,595,531,437,527,668,746,858,845,673,503,432,398,479,1080,1302,1300,1348,1124,1015,1322,1400,1376,1336,1344,1390,1540,1038,541,487,491,594,589,584,565,412,366,397,395,367,331,314,298,325,330,372,431,461,472,460,484,502,532,579,659,617,472,441,482,469,387,366,547,649,986,1110,590,525,820,1104,1066,1366,1136,706,585,575,730,1024,1250,767,601,818,1438,1550,1392,1284,1344,1340,1138,1302,1470,1078,587,804,1382,1398,1310,1306,1040,1158,1180,1108,1398,925,382,329,354,424,595,1042,1084,844,828,1190,1074,905,1278,1470,987,481,373,508,722,986,1164,1052,1282,1042,863,983,1168,1210,1364,1566,1290,1234,1208,1172,1316,1116,795,869,1476,1660,1348,1234,1312,1594,1636,1590,1666,972,670,803,1312,1268,1204,1252,1382,1614,1608,1522,1398,1040,604,704,811,944,1172,1410,967,566,518,626,910,1106,893,847,905,1064,916,821,1220,1276,842,476,547,836,888,969,1220,1278,877,705,556,467,486,382,509,440,486,824,872,644,476,393,492,916,818,1234,1418,1110,1256,1612,1292,636,699,933,1013,1086,1074,1242,1224,1478,1644,1380,1116,990,805,966,1078,954,810,1021,1001,989,1080,1394,1592,1584,1220,1460,1608,1224,1054,1108,1066,980,621,843,1132,1122,969,714,619,527,454,869,1416,1534,1504,906,770,616,534,384,431,520,509,596,886,1122,1396,1970,2122,1504,1326,1426,1280,1026,719,442,442,630,689,565,477,469,564,816,1009,1302,1282,999,816,758,702,707,559,493,626,598,436,547,1062,977,1282,1098,1158,1070,957,861,812,894,816,829,692,656,651,689,960,660,535,641,750,897,1007,824,971,1572,759,482,964,1210,953,1170,929,938,1188,1364,1294,772,619,626,686,775,1094,1028,1374,1184,1580,1538,1308,1178,1072,1260,1048,1024,982,1408,1162,835,943,1096,991,738,785,937,872,930,811,915,756,744,718,924,1164,1402,1400,1530,1100,779,728,609,714,641,549,769,590,703,663,563,593,886,982,773,753,761,561,530,647,924,967,1266,1538,1372,1374,1080,543,433,462,805,1298,1052,474,452,634,800,1026,976,854,575,621,819,816,672,818,1314,1224,1010,849,907,1212,945,991,1186,999,996,1320,1152,845,733,546,537,577,691,1428,1758,1626,2756,3586,3660,3614,3416,2280,1744,2010,2032,2018,2034,1976,1542,1422,1152,1068,1140,1216,1110,922,1338,1360,1156,1072,1154,1288,1438,1346,1390,1526,1082,1272,1526,1572,1386,1248,1506,1632,1730,1492,1420,1608,1810,1656,1568,1472,1588,1636,1490,2626,2766,1280,625,990,1122,1044,1426,1912,1754,919,767,1162,1400,1358,1232,1576,1272,755,929,1116,1458,1806,1916,1946,1936,1638,1410,1444,1734,2652,2868,2476,1792,1600,1436,1166,1140,1344,1404,1228,1054,999,709,472,524,513,480,585,585,548,1036,1560,1646,1516,1158,1078,1114,791,391,552,657,557,790,1096,1302,1692,1746,1516,1356,1600,1744,1914,1858,1556,1160,1452,1640,1592,1642,1868,2056,1938,1720,1682,1750,1954,1982,1754,1584,1312,1440,1668,1648,1610,1484,839,730,718,526,457,396,462,460,382,385,529,585,446,303,225,258,325,411,645,774,725,445,593,761,716,766,727,815,1018,752,616,455,445,694,680,359,292,336,436,520,559,438,446,427,471,404,369,364,294,686,1160,1172,1122,1276,1124,702,832,1666,1874,1966,1724,1094,1244,1318,1640,1684,1508,1262,1026,1004,1162,1208,1330,1350,1614,1546,1654,1916,1744,1076,810,999,1268,1220,902,462,463,652,821,581,593,1120,993,717,893,1134,1198,1094,1244,1452,1204,996,1340,1005,1010,2268,1924,1072,947,589,688,808,968,976,879,680,552,434,410,455,403,404,402,318,353,345,359,636,613,512,434,518,752,577,1204,3030,3242,1738,932,343,347,347,291,299,322,385,445,345,314,324,308,348,314,303,351,379,395,339,214,223,267,279,402,496,711,873,497,475,557,396,416,552,518,381,274,346,401,375,843,1424,1384,798,455,280,340,550,594,462,531,634,677,541,284,369,387,307,308,559,666,334,358,713,839,606,714,1384,1278,569,454,321,278,303,306,395,430,739,1000,912,608,1080,1252,818,977,1126,1162,972,933,658,469,391,413,877,1616,1172,545,745,789,741,771,933,885,544,469,504,520,526,520,474,487,509,494,547,653,702,624,526,467,423,413,395,321,387,534,745,871,829,681,789,862,738,604,554,440,472,517,373,259,302,490,673,862,1154,1284,1322,1340,1500,1504,1388,1288,1434,1378,1152,1134,1334,1342,1238,1028,1108,1034,1034,1064,928,677,520,469,675,1054,943,1208,1162,906,580,500,541,726,638,469,781,1302,1112,665,741,812,764,1026,953,986,1214,1148,818,375,318,526,755,1230,1996,1222,1406,1428,1054,861,824,985,1108,1084,1042,857,510,852,1190,578,623,850,1222,1456,1346,767,328,343,543,861,885,527,479,447,580,1226,1170,666,636,758,919,857,716,670,819,957,1078,999,1298,1434,952,480,820,1310,1014,769,621,305,320,415,373,286,587,1148,1152,1230,1023,843,787,993,1212,670,1028,1322,952,476,550,1180,977,1082,1440,1182,870,662,883,1394,1364,931,691,534,404,761,1434,1742,1832,1664,1116,716,696,917,1272,1372,913,689,860,642,448,413,775,628,2958,5724,4716,2056,1316,1078,805,912,1154,1152,1072,807,642,669,587,434,403,389,409,465,521,545,631,749,1016,775,508,870,1336,993,535,584,672,685,635,984,1600,1448,790,560,577,472,501,641,669,853,1130,720,565,755,885,1202,1036,711,646,563,599,769,967,1200,1010,1112,1132,1015,787,452,370,407,472,425,468,554,501,381,366,365,355,402,419,433,471,462,443,393,420,542,594,527,476,402,493,627,773,807,807,774,952,919,752,697,515,536,598,517,397,501,1300,1556,987,752,831,923,988,872,509,976,1700,1526,1960,1512,1136,1016,596,383,361,397,460,587,921,929,1110,826,567,531,681,795,948,1470,1288,585,605,753,794,914,553,459,609,630,409,451,579,651,533,415,421,567,618,566,466,475,488,738,1034,921,498,328,320,216,212,271,291,230,264,265,348,401,323,269,253,232,319,434,420,425,427,497,518,489,306,363,440,415,428,341,369,479,619,697,746,623,621,923,878,865,801,838,681,881,698,593,1182,1548,1524,1236,823,609,461,438,498,832,1364,1638,1446,1172,1100,1010,892,769,633,597,624,583,568,601,621,589,577,645,848,1030,1150,1086,1054,1194,1598,1450,1302,1334,1366,1426,1158,853,720,557,709,965,945,1354,1412,1262,1356,1202,1202,1140,706,351,288,270,266,247,274,306,488,579,786,1158,1009,851,1188,1180,1046,940,1218,1500,1512,1644,1360,1166,1164,1360,1410,1420,1500,1574,1352,1021,1180,1404,1344,1122,1130,1048,1586,1844,1712,1174,1272,1200,1314,1334,1334,1278,993,488,543,560,460,811,945,1112,1696,1902,1476,1180,900,922,946,1318,1490,1148,974,1152,1042,1478,1614,1208,1208,797,430,435,542,466,597,684,642,1182,1416,1406,1260,1182,1362,1072,1228,1246,651,623,666,977,1260,1328,1776,1484,736,524,675,932,1252,1078,832,482,980,1250,1186,1086,1070,1312,1294,884,800,741,787,663,619,692,1072,1130,938,980,1218,1200,862,951,472,424,427,364,476],[919,1604,2198,1860,1352,1404,1562,1422,786,626,477,572,895,1346,1212,838,1074,1340,1068,1228,1338,1188,982,1252,1118,1294,1524,1476,1444,1572,1614,1558,1504,1266,1052,1102,995,938,1176,806,537,483,426,356,381,468,484,430,466,421,436,577,509,486,468,543,587,855,1198,1422,1250,1142,790,922,1064,1346,1228,1120,1256,1438,1356,1282,1362,1078,520,416,430,454,471,736,1344,1334,1336,1536,1486,1508,1622,1636,1458,1168,1694,1830,987,840,1070,1052,1116,1382,1576,924,589,724,490,485,658,634,677,669,632,583,552,542,609,680,918,874,443,447,533,707,869,1168,1262,1188,1160,1348,1300,766,747,1452,1172,777,1488,1472,1032,734,504,739,1322,1548,1194,942,832,691,700,781,1336,1550,1354,1378,1366,1262,1108,899,567,561,569,821,1510,1902,1224,1050,1498,1058,503,377,399,412,450,498,485,372,274,321,374,399,413,403,372,395,448,412,459,450,349,399,529,485,850,1296,1106,932,1238,971,781,709,830,1050,1094,949,766,800,662,878,599,441,342,317,315,269,507,838,1130,1154,825,649,629,872,1178,1382,1444,1126,1248,1356,1628,1988,1536,852,822,769,885,837,712,898,1001,964,974,841,803,752,600,829,1122,1038,1288,1186,948,812,1136,1322,1576,1370,690,772,954,757,892,1396,1754,1328,1244,1152,786,661,725,1096,1156,918,1390,1516,1418,1874,1704,1340,1576,1498,1428,1068,1058,1106,1026,984,506,435,571,962,1238,1062,1078,951,630,452,623,980,987,1164,1130,634,592,803,937,1248,1564,1516,1606,1516,924,547,460,474,491,525,453,470,469,377,445,398,354,327,293,278,298,323,366,387,379,509,555,627,601,638,596,554,558,442,355,375,591,786,1230,1314,1168,1590,1736,969,553,799,1030,1070,1288,1070,680,668,766,755,849,1272,756,506,565,1022,1282,1222,996,1286,1544,1362,1266,1130,1150,837,1052,1170,1208,1346,1318,1084,1318,1268,1322,1442,560,331,357,434,589,725,733,775,1198,1070,1028,1198,1166,1470,1726,960,446,481,966,1002,827,530,744,1372,1304,899,1066,1500,1286,1258,1250,1330,1402,1524,1458,1032,1032,897,907,1518,1666,1264,992,1196,1602,1510,1620,1502,1054,834,899,1090,1234,1512,1408,1390,1452,1556,1594,1646,1324,890,579,807,843,937,1068,639,419,514,489,509,646,651,617,531,561,852,1132,1210,798,430,302,373,610,867,971,1244,1306,695,481,400,398,421,364,441,608,890,1084,875,948,720,399,435,686,645,962,957,929,1428,1654,1032,576,627,872,972,1090,1152,1202,1190,1400,1572,1088,1102,1252,870,1052,1246,1400,1026,745,719,946,1170,1224,1052,593,596,980,1004,1001,1162,1152,1244,1154,965,1168,1046,886,902,883,788,622,426,747,1366,1484,1474,1176,599,434,442,396,417,398,401,464,745,1128,1086,1144,1146,1010,1378,1488,1504,1378,1000,644,494,759,1074,1132,678,489,521,724,1124,1580,1334,984,746,631,669,603,436,466,650,550,433,483,977,942,1050,810,635,782,1054,956,617,829,646,674,590,658,683,875,1050,720,530,581,761,889,990,774,1074,1476,631,591,1124,1058,760,1158,984,851,1046,1126,915,462,451,625,926,938,666,755,1156,1118,1350,1506,1466,1312,1230,1198,946,982,812,1394,1454,1146,1270,1170,977,970,947,975,1312,1780,1204,1250,857,795,728,1160,1344,1726,1872,1496,953,774,1080,877,695,640,928,883,836,995,805,554,694,983,1068,959,785,719,779,634,805,1218,1354,1426,1028,837,1030,896,825,1072,983,993,1208,882,473,618,1106,1288,1212,1098,816,536,562,686,967,1158,783,1152,844,971,1064,893,809,855,996,1166,1326,1232,1066,1268,1054,932,872,665,621,685,1174,1266,1674,2732,3364,3570,3662,3198,1810,1852,1912,2068,2082,1930,1914,1440,1452,1444,1124,1017,1064,999,1078,1466,1440,1344,1022,1024,1200,1296,1056,1316,1276,952,1298,1448,1528,1626,1802,1616,1542,1554,1220,924,1368,1402,861,1238,1658,1824,1644,2298,2940,1436,618,736,997,1062,1312,1928,2156,1410,778,1216,1532,1586,1516,1206,1460,1076,965,1128,1238,1462,1706,1962,2266,2070,1830,1438,1292,1486,2052,2670,2466,1756,1296,1164,1214,1342,1376,1148,1040,1326,1360,680,596,645,575,532,637,669,821,1272,1728,1656,1622,1376,1192,905,404,378,444,441,469,717,1018,1238,1550,1844,1880,1650,1318,1694,1924,1642,1180,1426,1648,1590,1616,1854,2026,1858,1708,1642,1650,1864,2094,1930,1612,1400,1598,1738,1692,1764,1636,1308,720,597,422,386,422,419,480,431,424,616,654,481,349,289,321,457,669,738,837,954,865,634,693,796,681,709,697,621,778,437,448,328,391,622,440,300,327,336,438,444,513,450,432,399,456,461,443,445,371,462,991,1542,1304,973,1150,725,934,1810,2232,2326,1684,1400,1636,1910,1762,1230,1182,1084,1016,1024,1064,959,1110,1382,1334,1522,1478,1322,1200,1100,981,933,1216,1026,664,484,394,413,542,402,379,892,1162,819,776,1168,1248,1100,1056,1090,877,966,1204,1134,1306,2196,1758,767,485,345,451,507,525,427,345,315,346,505,578,410,369,390,294,324,400,280,346,437,536,601,518,844,1346,870,860,2008,1850,753,619,330,406,440,347,300,370,813,1048,674,333,381,470,333,320,331,330,440,482,358,257,284,331,346,349,509,773,735,384,466,640,455,448,470,485,514,411,348,426,392,503,691,792,869,774,487,315,350,458,458,443,523,675,720,370,317,309,393,650,561,342,312,286,449,817,882,672,890,767,722,1138,648,316,271,293,365,429,814,1224,1002,473,647,939,1278,1282,1170,886,798,934,742,474,638,672,777,1322,1040,544,609,726,673,544,691,763,553,401,437,492,514,521,533,550,533,505,531,582,600,509,417,357,382,384,343,330,323,393,567,748,854,673,588,643,704,592,558,558,518,336,243,226,257,331,404,468,778,871,1124,1362,1378,1498,1544,1476,1444,1550,1564,1234,1116,1222,1034,691,933,1454,1286,910,949,880,633,659,731,898,939,1182,1072,1082,767,445,460,470,422,320,502,893,843,615,591,795,1010,1230,1056,957,1134,1402,1220,833,480,707,1142,1332,1662,1508,1016,795,798,745,1052,1196,1040,1144,1154,1200,1154,1184,752,620,913,957,1078,1582,1758,1150,593,727,1144,1140,822,513,430,386,415,413,457,538,534,586,768,974,766,639,904,1306,1328,1184,1004,775,721,524,370,432,401,392,340,332,615,524,446,316,388,706,662,669,730,709,933,932,763,641,1088,1550,950,597,784,1116,945,1304,1800,1230,1062,1116,1354,1756,1484,1216,717,423,528,703,973,1208,1282,1082,892,702,639,762,1122,1444,1324,948,939,951,749,572,830,657,1100,2086,1798,1518,1394,808,598,1260,1272,1118,1288,1098,806,693,554,498,408,414,394,410,474,579,667,993,1178,861,554,987,1446,912,505,518,565,868,1174,841,866,803,481,438,462,470,550,618,616,701,877,540,609,951,797,502,743,732,526,531,531,574,690,941,999,995,857,756,659,644,543,433,436,333,331,397,438,385,354,365,329,323,351,426,436,360,373,404,420,602,653,561,453,375,495,565,633,710,754,772,756,779,892,671,369,467,514,601,602,711,1266,1360,1004,690,745,785,727,743,704,1166,1460,1108,1564,1486,1202,909,515,482,388,383,408,565,1058,1186,1094,581,520,868,868,600,1084,1914,1534,828,689,857,766,488,310,340,420,393,360,352,491,630,488,464,605,743,552,495,359,475,706,1256,1854,1638,841,477,320,212,236,282,296,227,339,358,361,365,266,202,228,206,273,372,424,480,442,437,540,568,393,387,361,312,352,340,336,622,1058,814,558,563,597,902,828,596,549,863,1048,1042,987,1005,1162,1388,1458,1498,1004,560,481,704,846,1060,1194,1192,929,552,709,709,639,525,460,497,546,573,615,612,586,644,592,555,808,1386,1382,944,1050,1098,1388,1538,1302,1080,991,1102,1182,957,854,871,664,828,1148,1484,1530,1524,1412,1240,1214,1394,1150,553,326,301,287,306,277,272,617,490,541,904,858,839,875,875,810,871,1224,969,1098,1266,993,1274,1486,1116,989,1188,1214,1340,991,687,736,950,1112,1248,794,618,1092,1432,1042,878,1294,1070,994,1170,1152,939,724,518,527,467,448,518,777,1262,1742,1882,1516,1544,1438,1504,890,1000,1092,698,659,931,1204,1526,1326,1362,1478,1116,836,879,1124,863,811,594,500,918,1286,1480,1534,763,718,773,924,1214,1426,1100,833,1302,1306,1438,1826,1224,604,471,488,613,661,881,983,747,823,999,933,959,1218,1406,1338,857,764,724,821,628,552,633,955,764,491,500,712,1116,1144,1058,569,588,466,361,531],[1016,922,1252,1058,996,1232,1306,1340,846,541,498,502,952,1476,1128,873,1018,1110,1016,1094,1488,1448,1278,1432,1180,1366,1858,2010,1980,1496,1680,1266,1432,1342,1110,1118,1334,1594,1608,1488,1482,1346,1078,981,891,725,717,758,760,722,599,586,792,870,1004,1064,754,832,998,1192,1406,1398,1112,1068,1166,1096,921,979,1104,1194,1198,1124,1094,617,420,386,426,449,418,430,553,902,1636,1814,1488,1322,1368,1462,1354,1104,1148,954,605,684,1278,1368,1202,1424,1328,649,492,591,535,578,652,657,661,637,630,605,629,849,1100,1034,880,844,552,616,741,1220,1200,916,809,606,613,1038,1284,1176,1506,2120,1356,610,954,1154,749,455,420,664,1202,1372,1114,1098,1254,1074,657,488,830,1258,1462,1316,1188,1078,1182,1198,1001,835,864,796,837,1124,834,877,833,522,345,325,335,388,452,474,444,368,321,432,535,505,427,467,525,557,566,492,385,372,332,336,461,591,1050,1230,1368,1152,772,692,1040,1134,1068,1152,1318,1802,1356,763,785,1106,832,556,441,342,339,279,356,571,780,791,691,736,646,932,1282,1470,1302,1334,1544,1716,1770,1648,1166,727,584,644,851,959,1124,1226,1410,1596,1694,1626,1274,802,686,1154,1598,1392,1228,1168,1116,1306,1822,1692,1382,1366,989,1064,1042,1080,1186,1614,1704,1178,1050,1032,728,444,599,1288,1654,1346,1182,1062,1370,1678,1402,1408,1578,1446,1338,1092,1470,1958,2150,1730,669,520,593,926,1052,1214,1760,1278,634,519,692,811,975,1606,1478,974,691,638,942,1416,1428,1350,1572,1488,1384,1076,596,498,435,532,424,429,462,407,408,392,357,327,305,301,315,309,311,335,367,508,599,709,647,570,500,488,455,441,430,580,1192,1330,1666,1754,1636,1544,1822,1500,805,764,842,705,708,597,780,1080,1108,943,1020,1186,787,597,841,912,1024,1030,879,1106,1178,1216,1064,672,842,981,981,924,1086,1296,1288,1268,1512,1626,1446,985,421,397,363,496,724,915,819,998,1402,1254,1238,1308,1320,1438,1420,786,484,502,1050,1102,869,897,1146,1332,1366,1286,1412,1540,1288,1013,754,902,1090,1320,1044,722,902,876,951,1624,1708,1242,1162,1488,1326,1428,1528,1242,1182,1194,1208,1072,1030,1150,1198,1094,1060,1270,1410,1340,1036,599,417,541,553,589,520,422,396,430,454,481,488,556,474,385,518,552,744,802,514,348,343,372,846,985,898,1482,1172,774,683,534,533,576,457,399,608,933,1370,1256,922,814,861,902,725,617,664,515,637,1250,1504,1020,745,662,758,1060,946,1170,1292,1100,1340,1500,1048,1482,1206,869,1182,1382,1382,985,984,1504,1822,1544,1074,660,388,491,939,1594,1884,1560,1104,1188,1126,964,1238,1300,1136,1190,1032,775,606,437,728,1208,1248,1250,1248,664,371,346,343,397,395,502,512,565,706,866,968,921,1038,1184,1082,1236,1172,1086,768,558,835,1194,1230,965,875,821,679,852,1202,1282,1112,852,528,423,512,433,390,412,309,292,525,984,1064,1234,1200,923,1018,1072,947,602,695,695,734,764,678,558,854,940,703,597,554,556,764,987,662,728,1060,785,661,959,731,816,1246,797,658,789,1384,1230,553,402,703,896,811,818,868,893,951,991,1094,1018,902,1242,1212,1246,1154,839,1004,1100,1202,1354,1214,1302,1070,588,571,824,1524,1170,828,743,641,735,869,1006,1460,1484,1274,893,462,755,908,656,1016,1112,1072,1294,1158,697,543,780,1060,1074,866,796,996,1126,880,771,1588,1788,1028,502,506,943,1198,1052,812,642,583,1013,1040,664,810,1194,1454,1278,921,688,749,1048,1238,1638,2032,1048,1198,986,897,928,898,1094,1246,1154,1278,1348,904,1048,1770,1478,837,543,602,829,973,1170,1302,1898,2618,2610,2784,3124,2514,1812,1782,1692,1802,1832,1854,1590,1480,1482,1236,1460,1528,1304,1106,771,786,1118,1482,1132,930,1188,1236,1144,1444,1340,1186,1188,1620,1620,2004,2152,1884,1680,1466,1010,704,1018,902,906,1448,1784,1834,1672,1946,1490,731,810,889,1021,1222,1552,1920,1502,1018,1162,1460,1556,1602,1730,1416,1142,1026,1132,1250,1288,1334,1588,2320,2428,1934,1832,1448,1444,1830,1902,1970,1700,1146,982,1136,1246,1100,864,812,973,1100,985,800,700,649,633,546,512,844,1406,1812,1728,1474,1612,1496,1176,801,598,536,425,714,1004,1040,875,871,1072,1262,1626,1668,1228,1394,1610,1372,1484,1656,1576,1606,1814,2054,1972,1720,1650,1622,1752,2016,2030,1756,1250,1242,1738,1616,1374,1550,1356,1098,661,440,360,418,469,455,449,486,637,579,419,415,426,446,525,848,1040,982,1126,1192,1007,842,789,815,642,689,689,799,636,437,371,255,317,505,445,343,397,435,547,709,641,478,440,400,385,382,460,479,418,372,581,1140,1005,635,884,669,852,1021,1122,1178,1160,1160,1216,1298,1184,1048,1434,1482,1324,1242,1172,1134,1304,1342,1166,1040,899,1236,1282,1222,1218,974,1276,1252,689,427,480,595,458,411,421,525,947,1088,717,601,732,1040,898,1044,1312,1078,873,929,712,727,828,837,456,338,351,325,364,405,403,362,378,704,1062,519,378,369,347,364,398,625,698,562,752,841,675,736,898,605,722,1660,1506,738,534,395,430,482,393,412,728,897,885,520,421,976,968,521,438,359,375,455,434,288,223,328,445,405,250,254,255,299,278,413,716,654,544,565,607,573,407,372,579,498,452,589,692,933,1316,921,331,281,376,600,634,337,426,717,395,439,306,393,643,463,513,466,279,282,478,899,811,694,1116,1086,1522,1052,392,305,356,385,542,758,750,566,369,417,543,1222,1626,1174,794,816,655,442,548,1104,1162,704,717,801,689,504,618,653,536,568,677,549,382,341,444,588,592,568,528,504,518,483,474,476,377,280,292,328,328,278,277,296,306,382,556,742,741,634,632,601,535,551,604,670,457,315,254,272,335,387,384,431,601,1092,1374,1454,1402,1272,1358,1494,1402,1266,1218,1130,1362,1042,564,1028,1256,1030,1316,1412,1308,956,755,977,861,742,746,821,1038,805,490,630,909,765,384,374,421,718,619,437,442,497,595,755,1021,1224,1344,1166,964,499,678,1248,1060,720,638,525,740,912,898,1466,1124,866,1082,1228,1150,1542,1236,540,548,882,1074,1248,1356,1090,1026,654,488,729,805,681,605,392,347,372,347,501,714,573,912,1406,1414,791,398,827,1478,1015,744,895,610,714,782,579,377,390,331,269,387,1003,704,345,374,346,394,496,628,656,617,1178,1042,625,821,1246,1628,1496,1354,1290,1358,1140,990,1530,1296,1086,1228,1688,1694,1204,1126,978,936,997,1058,902,1007,1330,1300,1202,886,965,1252,1434,1432,1422,1134,720,778,889,692,918,1084,1122,775,1120,1388,1120,867,695,1190,1226,1030,1384,990,753,658,846,1026,509,368,421,414,385,424,571,873,1114,1072,968,792,1114,737,551,673,603,730,1106,789,476,409,379,383,422,481,527,496,487,598,632,496,708,1528,1278,584,747,739,952,791,467,669,1084,1194,1072,764,574,664,745,729,610,433,383,316,300,285,301,336,325,323,320,319,325,355,350,339,385,373,357,448,539,498,379,390,488,520,592,667,710,713,619,731,982,1026,645,393,498,795,849,946,1013,952,1090,950,744,759,927,544,683,1362,1230,824,1106,1278,1260,1024,508,508,369,314,400,616,887,760,645,793,926,944,798,554,1072,1408,752,572,449,598,558,583,704,500,372,433,457,372,402,542,444,447,809,811,599,502,432,471,498,969,1648,1514,813,446,278,281,276,290,288,309,380,375,376,383,271,236,219,225,299,419,426,531,441,266,331,452,454,437,433,467,433,417,397,594,1114,940,618,504,681,1036,1013,691,368,601,1198,1194,1428,1570,1252,1574,1324,1272,1372,1102,950,1024,1118,1218,1052,748,678,439,546,506,517,527,452,422,394,407,505,487,453,576,569,484,688,1274,1444,1228,1346,1422,1506,1270,851,732,620,694,972,1336,1622,1028,818,1150,1456,1620,1552,1306,1166,850,915,1378,1440,833,374,313,386,404,288,427,711,695,755,598,562,550,579,682,603,1162,1416,1186,1288,1318,1070,1294,1716,1578,1316,1490,1162,1174,1212,687,641,899,1208,1178,953,1042,1246,906,771,1130,1686,1568,1452,1710,1226,1012,1320,1028,569,379,440,602,896,969,1356,1614,1370,1138,1488,1190,832,935,915,767,802,813,1122,1222,1064,872,955,919,702,988,1334,1366,1110,539,466,702,858,885,893,714,809,1136,1028,1130,1556,1304,781,783,1092,1390,1482,1114,992,1016,582,399,507,756,1028,1160,1422,1394,1274,1414,1186,1166,890,642,623,816,837,749,1001,841,384,323,477,942,1230,1176,969,602,747,648,488,498,655],[1592,873,1054,601,761,1005,957,1254,1030,458,444,527,1106,1656,1086,891,921,1034,868,966,1356,967,660,698,759,1370,2156,3342,3760,1810,1642,1246,1392,1328,1048,875,877,1134,1432,1400,1304,1388,1500,1360,1384,1550,1490,1338,1442,1364,985,966,1294,1504,1616,1322,1132,1294,1338,1544,1682,1670,1418,1454,1360,1010,1088,1150,1160,1158,1007,719,723,548,515,409,341,360,389,470,433,621,1198,1348,1338,987,725,816,956,928,598,480,526,658,1152,1438,1172,993,802,462,474,467,498,582,578,692,666,578,590,624,832,1382,1846,1772,1360,860,857,933,902,1604,1476,696,506,531,506,848,1684,2172,1400,1564,1438,751,720,784,671,661,705,653,626,714,860,1198,1418,1484,1162,691,560,808,1042,886,1058,1490,1606,1382,849,683,836,669,562,701,493,422,480,417,328,321,331,387,411,408,416,347,352,451,558,585,625,814,965,846,712,590,423,351,327,303,379,594,987,1082,1012,780,565,634,1021,1260,1334,1382,1290,1098,912,732,1140,1300,1062,1088,803,383,400,407,411,547,788,889,716,736,598,1028,1494,1426,1676,1996,1368,1128,1052,1262,1290,907,774,954,1076,1132,1560,1692,1412,1214,1346,1440,1248,661,653,1120,1672,1398,1220,1532,1730,1532,1646,1390,1098,1358,1282,1234,1116,1088,1114,1328,1146,1168,1488,1426,940,521,653,1076,1140,1080,885,962,1164,1088,1084,1578,1678,1500,1568,1246,1376,1796,2054,1648,931,663,728,1152,1130,1660,2156,1480,1040,1130,1094,922,1446,1896,2332,1598,1118,879,992,1650,1350,842,937,1102,1492,1110,822,755,562,527,475,508,533,497,443,404,362,337,328,337,337,286,337,337,347,385,434,550,641,587,515,524,531,659,638,644,1370,1538,1624,1742,1804,1606,1730,1528,1078,1050,1064,754,838,772,936,1156,1322,1394,1218,1188,982,634,637,634,736,1184,1412,1112,1072,1066,1230,1340,1220,1130,1064,1090,1234,1352,1422,1380,1516,1816,1696,1106,619,489,449,659,964,915,587,687,844,738,1018,1376,1768,1726,1372,938,632,531,673,865,1021,1104,1234,1488,1322,1042,1154,1168,727,710,681,677,956,1200,1068,926,1176,897,1006,1660,1648,1250,1202,1256,1432,1538,1356,1196,1290,1356,1552,1304,1148,937,1064,980,1216,1170,1152,893,615,481,401,379,459,457,436,419,370,383,411,412,449,475,433,410,407,398,460,558,447,415,444,618,962,576,1160,1500,1018,896,891,753,712,672,514,404,444,444,927,1258,872,567,687,902,1021,940,821,451,658,1042,1312,1158,658,700,1230,1566,1208,949,933,830,1152,1508,1248,1508,1182,842,1040,1188,880,514,780,1390,1594,1346,1036,633,507,552,914,1156,1066,992,1086,1268,1318,1252,1262,1214,1074,1200,1410,1226,1032,863,1054,1348,1248,929,908,887,583,624,703,673,589,716,772,636,808,885,897,1100,1366,1172,965,1130,1400,1404,636,600,893,1092,1110,1032,1026,925,725,684,1050,1502,1224,1440,998,749,828,858,833,724,760,887,824,855,1154,1340,1178,943,858,890,870,634,822,896,1184,1190,952,782,777,997,890,890,834,789,1112,1284,681,563,622,982,1340,1150,902,1017,1068,745,822,620,1168,903,552,594,792,938,1250,1334,1220,1272,1194,995,1046,810,776,1038,765,866,879,982,1338,966,914,1276,1198,1086,978,773,834,839,1404,1294,1142,1372,1060,966,954,1016,1200,1250,1288,1013,427,465,550,890,1392,1108,1242,1464,1140,576,423,540,629,722,650,667,943,1156,1488,1080,1078,1202,758,808,865,1021,907,668,567,906,974,1092,1146,1274,979,602,733,838,919,1110,1310,1278,1256,1736,2224,1240,976,1020,990,992,1194,1294,1340,1308,1352,1592,1418,1216,1440,1630,907,350,659,902,731,782,1226,2256,2590,2732,2610,2404,1824,1980,1994,1908,1794,1706,1590,1644,1688,993,738,1246,1320,1420,1388,1296,1018,1112,1336,1136,874,1070,1122,1122,1428,930,1126,1294,2780,3046,2014,1562,1472,1618,1810,1372,1322,1144,821,1218,1596,1758,1844,1696,955,697,1062,1146,949,1230,1346,1368,1380,1328,1352,1476,1512,1580,1672,1630,1344,1054,957,1120,1398,1594,1324,1436,1848,1736,1860,1778,1522,1404,1930,2276,1772,1206,1142,1266,1250,979,787,675,639,578,549,599,649,675,753,633,549,865,1282,1550,1832,1668,1208,1398,1552,1420,1244,1032,1004,1462,1606,1540,1722,1050,810,673,613,778,1005,1064,1402,1748,1802,1792,1664,1636,1794,2022,2040,1798,1666,1634,1772,2014,2058,1844,1434,1234,1506,1768,1798,1636,1302,1102,803,457,412,422,469,476,463,547,612,591,414,394,367,531,691,678,807,884,727,844,966,762,582,734,750,802,803,789,818,704,610,397,282,403,506,492,481,639,647,526,572,643,706,715,689,501,338,434,453,437,393,372,771,1002,645,637,748,935,960,1046,1284,1238,1100,1300,1518,1302,1446,1666,1422,1132,1254,1400,1404,1410,1290,1214,1168,919,1134,1318,1023,994,704,1015,1116,756,550,605,599,494,808,677,483,610,1242,978,788,974,1072,1088,1302,1378,888,930,1578,1476,1216,1182,954,478,378,441,358,278,400,620,812,620,1284,1816,705,399,797,888,534,555,1594,1538,780,1021,829,759,794,590,515,756,1856,1738,1300,791,436,388,467,434,524,789,598,348,388,677,1576,1001,600,554,394,401,505,419,321,262,344,373,402,273,288,552,659,414,278,479,669,766,599,463,444,333,433,479,435,365,566,509,662,1256,1236,490,325,506,658,773,481,388,509,697,864,619,373,281,310,426,471,395,308,322,516,853,889,1212,1024,1170,904,516,527,532,563,778,924,770,847,567,433,445,803,1404,1164,645,584,672,572,502,1032,902,452,621,843,837,641,517,462,454,524,567,497,497,435,580,786,686,524,481,467,415,381,375,373,337,274,289,285,283,289,282,265,289,346,395,518,685,715,596,561,567,504,523,625,561,397,293,285,323,350,367,435,672,1008,1228,1296,1394,1162,1324,1574,1234,903,916,1018,1206,883,807,1202,952,1628,1654,1356,1134,939,586,841,1188,988,960,1136,1042,735,878,1076,1234,933,618,481,429,843,893,707,691,843,557,620,848,980,1152,999,686,436,624,932,707,430,519,514,686,1172,1226,1132,852,1114,1050,1136,1136,1112,852,492,473,648,748,669,628,646,901,657,313,293,508,893,941,561,346,382,630,1086,1438,893,1430,2204,2322,1344,594,901,1414,1110,864,1296,1172,948,714,861,635,570,513,339,228,648,742,620,760,571,919,777,1058,639,465,842,1108,1108,1122,1290,1578,1706,1298,1292,1504,1438,1072,1328,1182,1162,828,1080,1292,1354,1198,868,880,1052,1392,1996,1194,988,975,873,697,1306,1650,1298,1026,1074,851,463,714,997,752,1070,1110,990,869,1148,1318,1318,1468,1088,998,1072,1042,835,538,538,591,1210,1430,766,393,415,394,361,348,497,901,1090,1100,1686,1050,616,560,567,553,486,507,620,616,516,419,350,376,447,537,566,532,534,622,593,474,572,677,474,384,356,499,579,461,466,655,728,847,969,832,788,901,885,639,556,405,273,272,275,267,309,358,344,299,308,340,343,373,360,356,372,373,341,354,419,536,459,379,452,530,579,637,658,662,533,474,604,1102,849,601,644,668,908,1126,1120,880,1016,1008,744,753,971,572,715,1368,1110,628,1052,1460,1188,825,458,526,670,433,339,591,713,493,507,1078,1228,714,645,941,1606,1338,630,427,535,582,604,1026,1040,528,327,488,891,569,346,401,670,1208,1092,697,543,543,580,451,405,658,708,775,611,378,300,293,292,284,316,344,286,237,309,398,275,264,240,244,307,425,451,617,609,387,305,431,628,612,566,559,459,397,307,426,925,1070,845,732,885,995,850,662,503,613,1266,1944,2722,2888,2442,2758,1858,791,983,1336,1128,841,1154,1568,1388,984,658,416,431,461,448,462,458,414,390,384,398,384,415,480,538,543,835,1316,1524,1490,1440,1466,1564,1360,939,836,619,769,796,1418,1660,1248,891,1048,1428,1394,1228,1188,1142,927,1246,1506,1488,1248,923,522,441,382,290,457,595,774,1130,865,638,512,663,700,833,1512,1644,1416,1040,821,688,795,1330,1844,1708,1394,1100,872,1128,1046,955,1118,955,897,1284,1630,1774,1346,793,1026,1516,1578,1564,1870,1366,1148,1126,869,708,491,546,875,919,690,1016,1314,1008,775,1024,980,902,786,788,756,681,570,929,1158,1082,839,976,988,720,950,1278,1282,1130,626,543,564,519,556,915,1252,1656,1722,1260,995,868,682,658,612,969,1392,1432,1090,1122,1308,757,324,897,1858,1940,1722,1238,1118,1134,1410,1558,1460,1186,824,684,822,991,1142,1072,827,539,437,484,834,1250,1076,708,495,919,948,730,758,733],[1622,1104,1454,1184,951,863,674,1044,996,476,410,461,816,1280,1072,768,758,1036,1128,1060,924,606,568,855,1038,1084,1378,1266,1348,1328,1404,1334,1296,1392,1324,976,806,1152,1440,1306,1416,1170,1184,861,786,736,890,1206,1316,1302,1506,1576,1558,1720,1796,1570,1646,1766,1670,1630,1662,1698,1704,1704,1422,1204,1206,1144,1444,1526,1012,535,491,737,851,620,416,374,421,564,633,589,891,1208,1258,869,622,728,984,1084,905,801,781,692,749,783,896,714,489,402,405,417,456,681,915,872,637,511,544,599,807,1376,1726,1610,1300,828,1062,1088,1262,1716,1238,741,1156,960,536,708,1150,1220,630,603,810,1124,1236,695,420,498,716,756,709,805,872,1023,1516,1326,1076,1100,815,594,586,671,1076,1360,1450,1274,691,782,798,758,977,1104,701,410,417,286,302,330,383,403,399,422,451,405,424,498,607,744,950,1270,1350,982,825,750,498,402,411,457,495,462,562,583,480,532,623,708,1104,1290,1168,1202,1232,849,782,1072,1426,1482,1484,1574,1162,598,547,578,581,728,846,787,871,866,600,805,1316,1360,1356,1190,1080,1015,1082,1114,1246,1212,1316,1506,1270,1164,1496,1458,1124,874,1212,1016,872,794,772,794,998,1064,1260,1644,1528,1146,1264,1060,1026,1116,984,911,924,977,1146,1310,1188,1086,1162,1004,741,593,656,933,695,554,590,1392,1760,1550,1130,1370,1604,1538,1586,1240,1076,995,1416,1630,1290,1072,1118,1510,1660,1620,2002,1664,1386,1616,1466,1038,1346,2008,2076,1466,1408,1086,954,1396,1232,922,1224,1808,1788,1056,920,893,772,618,684,704,603,575,467,410,357,343,332,432,598,433,339,342,371,457,495,579,725,675,554,727,919,907,952,968,1354,1300,1174,1538,1856,1760,1674,1402,1930,1784,1240,681,930,1230,945,709,694,999,1202,1170,1164,709,819,784,537,776,745,612,711,792,1144,1342,1366,1464,1494,1558,1510,1384,1334,1138,1194,1482,1594,1202,695,614,810,856,750,698,712,720,635,890,1514,1508,1802,1448,1100,1024,715,649,550,651,817,766,872,963,1000,955,1250,1192,681,681,890,902,855,921,968,841,1228,831,1044,1616,1570,1214,994,1226,1534,1602,1458,1284,1332,1220,1542,1232,1074,1246,1272,1104,1626,1804,1284,1004,827,651,534,463,515,473,393,378,390,392,401,382,441,475,438,419,397,405,354,379,397,525,426,507,490,683,1178,1364,1412,1122,867,1156,912,678,558,488,384,323,420,559,452,370,452,658,999,1154,1094,949,854,979,1042,942,714,836,1450,1776,1304,724,447,517,1262,1100,1118,1356,1052,832,1082,1210,1092,995,1080,1284,1416,1308,1166,1060,957,900,1082,1248,1396,1356,1264,1124,1170,984,861,679,713,1096,1518,1710,1744,1268,1180,1316,1246,1042,1003,1176,1302,1218,1052,1120,1232,1202,876,989,1414,1354,1354,1578,1624,1418,875,636,924,1022,650,460,557,847,1012,877,767,687,488,401,589,921,619,863,699,685,910,1178,1312,1148,1208,1554,1372,954,1034,1060,851,1200,1320,1170,1003,844,595,955,1346,977,1084,1262,1248,1362,1638,1976,1660,1528,1448,1294,912,682,694,1062,1356,1416,1436,1312,1406,1338,1150,888,943,699,596,864,968,807,768,919,1302,1424,1504,1476,1190,910,949,902,791,696,565,791,1021,836,1017,1312,811,852,1336,1240,1270,1056,1268,1450,1406,1508,999,954,1054,916,1202,1146,857,674,327,436,688,1015,927,813,1194,1232,1134,735,582,644,726,748,803,838,842,1068,1232,1054,692,547,717,1078,921,724,650,446,720,1180,1050,852,1166,1472,983,684,865,842,792,1312,1440,916,813,928,980,1208,1526,1282,1378,1066,1170,1032,1174,1072,1114,1310,1616,1436,1234,1350,952,423,592,696,561,836,1558,2156,2364,2514,2696,2290,1614,1800,2026,1996,1908,1898,1686,1310,1392,686,728,1774,1722,1114,979,1030,1254,1302,1274,1294,924,841,787,1208,1528,1100,1282,1772,3196,3648,3156,2378,1938,1946,1350,935,1702,1220,1144,1458,1776,1542,1746,1664,926,700,1118,1230,1148,1368,1482,1240,880,1432,1664,1324,1206,1336,1430,1480,1426,1166,746,893,1230,1600,1482,1310,1152,1192,1434,1584,1632,1454,1488,1878,1932,1184,1336,1454,1202,695,549,509,469,490,552,572,670,843,860,890,1236,1448,1452,1664,1860,1822,1372,1164,1430,1528,1162,944,1450,1798,1706,1602,1874,1180,764,876,827,699,593,710,1230,1688,1876,1838,1852,1808,1990,2048,1814,1634,1656,1780,1998,2060,1872,1576,1666,1886,1674,1738,1970,1398,803,671,457,384,439,472,486,521,562,654,577,435,405,409,401,690,875,698,792,838,553,603,958,708,608,777,838,816,832,808,538,374,541,579,443,582,596,529,624,779,597,478,423,510,650,791,942,730,313,372,468,482,427,342,588,951,680,461,821,1023,748,851,969,1078,1046,1058,870,709,883,1100,1150,1144,1120,1362,1648,1866,1526,1214,1124,767,695,967,971,639,514,802,799,746,809,698,549,640,968,968,762,570,1002,1182,1040,808,862,965,967,818,765,929,980,917,971,892,756,482,523,752,514,258,400,1136,1444,761,1228,1174,520,503,1284,1390,736,727,1326,783,566,866,613,533,547,686,878,959,1508,1746,1342,860,556,358,306,310,352,557,435,300,426,909,942,513,544,688,673,474,595,474,369,295,240,221,310,287,344,684,838,599,390,641,915,1000,904,545,415,390,480,553,436,390,417,359,304,496,719,498,622,771,569,606,668,635,927,1200,1100,871,495,306,370,733,1011,890,453,343,450,589,588,681,773,749,615,698,711,510,617,1166,1274,969,1290,961,408,627,792,989,1322,816,383,535,543,590,807,845,498,504,758,844,769,564,425,454,478,464,468,534,521,551,807,670,440,377,352,328,337,342,334,325,276,288,282,277,272,280,266,288,263,303,425,551,702,664,561,575,478,428,433,516,476,318,233,265,299,344,425,445,658,1036,1338,1288,1332,1524,1538,1340,998,557,538,717,623,884,1166,808,1712,1646,1272,927,897,883,1013,1206,1162,1272,1096,712,529,852,1190,1130,1024,990,645,381,509,761,1180,1622,1822,1100,862,879,750,1114,980,670,612,498,491,554,382,460,533,532,918,1160,1142,984,1176,848,733,1042,885,559,505,401,456,550,454,590,716,696,574,370,307,425,745,944,689,420,451,657,1112,1048,770,1118,1908,2120,1238,766,1024,1490,1434,1222,1708,1902,1136,589,586,589,798,788,421,275,371,482,504,587,703,1102,723,899,520,335,594,1142,1444,1366,1428,1512,1568,909,628,843,942,1068,833,907,1026,730,786,1078,1522,1468,735,629,731,1110,2088,1466,1036,959,799,619,723,713,472,599,1106,970,618,802,1114,895,761,836,915,874,732,675,1254,1650,1350,1268,1338,1410,875,630,550,630,969,1266,920,462,406,357,371,387,598,901,822,992,1680,1182,721,680,584,514,539,524,530,511,553,458,373,413,519,574,642,775,618,422,459,399,485,527,401,302,381,507,377,421,442,384,318,559,854,773,715,782,656,586,639,483,297,293,307,343,365,357,317,288,321,331,341,395,395,347,377,392,368,353,343,386,443,537,625,778,651,681,670,713,576,428,537,965,959,873,767,547,587,719,1152,1152,1001,887,719,897,838,546,1026,1370,911,634,846,1444,1120,612,352,409,505,442,621,910,777,487,583,1142,1188,532,501,1094,1728,1168,675,979,1216,872,629,780,655,474,490,958,1314,709,343,280,471,885,924,546,365,451,648,533,455,505,651,697,508,377,397,385,379,350,343,321,263,234,269,381,395,302,263,260,460,677,675,754,775,486,407,576,651,408,529,446,372,282,238,392,760,973,966,1023,998,773,523,398,359,536,1566,2766,3248,3764,4132,3520,1914,1060,723,1011,1268,850,1246,1604,1128,670,462,393,420,437,450,519,529,569,543,428,451,474,514,575,624,511,897,1468,1516,1402,1382,1400,1644,1412,1314,1312,1009,962,1108,1350,1398,1500,1144,1170,1580,1628,1686,1528,1210,1256,1450,1442,1308,1372,1116,887,683,337,365,714,910,875,904,868,719,590,798,809,1376,1636,1340,1202,1130,1234,859,698,1102,1538,1638,1476,1692,1474,978,1142,1374,1182,1052,885,973,1576,1850,1614,1016,818,930,1298,1780,1562,1044,880,731,540,467,545,811,813,986,875,1130,1686,1434,1044,1106,1078,988,810,659,611,628,597,813,1206,1194,1340,1534,1284,1454,1644,1516,1350,1188,1068,934,741,561,881,1368,1618,1948,1486,832,1368,1016,517,572,847,1224,1482,1220,659,467,778,858,742,1620,2790,2524,1694,1726,1826,1614,1408,1444,1848,1744,1344,1446,1440,1432,1262,670,604,679,492,451,823,1426,1490,1296,1422,1688,1180,766,781,563],[981,847,1354,1158,836,972,760,698,688,519,472,429,456,659,617,616,716,952,1210,1110,825,448,574,1222,1672,1108,856,650,984,1158,1204,1134,861,1180,1104,733,808,1192,1116,936,1124,1366,1274,846,465,383,521,550,537,578,751,858,962,1112,1358,1642,1690,1616,1692,1662,1488,1582,1782,1758,1356,853,921,1130,1252,1334,937,520,457,775,1140,1002,767,613,530,771,1044,824,893,997,1020,744,708,1126,1360,1394,1246,1100,841,473,471,467,902,629,409,361,477,619,799,974,788,606,523,474,462,455,580,1080,1362,1566,1466,1036,854,694,721,789,870,1146,1798,1190,530,675,735,989,847,506,499,736,745,505,436,319,407,561,522,625,570,640,1194,1098,750,790,1002,943,725,780,777,948,1062,1138,1036,1001,947,841,1248,1506,930,607,495,330,354,381,427,403,376,407,412,472,619,774,953,1154,1384,1456,1302,1100,1026,747,484,455,538,622,660,648,504,401,420,574,576,729,1068,1282,1170,1174,1038,1001,1240,1302,1302,1268,1376,1688,1536,797,583,590,547,669,993,1524,1628,1056,669,551,992,1184,1194,1168,1496,1224,1092,954,1130,1382,1520,1640,1496,1348,1104,1168,1206,1406,1600,1162,847,889,850,815,1074,1336,1406,1338,1098,1090,1272,1238,883,634,873,988,965,1176,1312,1296,1310,977,877,746,673,610,750,1003,873,661,591,1130,1848,1842,1368,1472,1364,1612,1354,1086,872,1032,1178,1412,1868,1880,1314,1202,1426,1838,2278,1858,1622,1880,1494,1262,1172,1116,974,1104,1176,808,1412,1698,1344,926,1015,1394,1384,1298,1242,1248,1084,809,931,893,667,566,458,437,365,348,349,449,604,484,353,341,383,466,524,601,818,819,828,1190,1366,904,1096,1338,984,630,752,1216,1346,1256,1340,1394,1864,1726,1062,697,1072,1194,904,636,477,786,1208,1296,1354,742,720,997,1048,716,638,692,534,624,794,1064,1378,1278,1052,874,869,1170,1250,1186,1286,1520,1232,838,863,993,1114,874,510,588,584,963,1234,1148,1180,1384,1808,1490,971,1036,854,991,1168,1106,979,1118,1030,836,889,949,1156,1232,1036,744,687,882,1210,937,902,998,1050,840,1118,1614,1556,1216,1090,1196,1318,1372,1094,1124,1174,1200,1894,1482,891,781,1018,1194,1770,2082,1770,1590,1622,1302,1032,497,448,419,394,401,404,407,361,352,408,450,451,447,453,462,380,352,375,316,329,349,621,1274,1344,1550,1604,1276,1206,1644,1080,661,549,504,448,376,289,316,357,417,465,614,1058,1068,1036,959,1134,1174,1086,1005,849,1096,1606,1366,948,653,511,802,1400,1110,1436,1318,708,667,942,1066,1316,1096,818,792,1180,1094,1212,1348,1070,1106,1116,1094,1216,1360,1256,818,1144,1068,557,537,659,822,1140,1756,1692,1128,924,796,850,916,850,1086,1362,1226,1062,988,1350,1348,756,1074,1950,2170,2072,1932,1606,1270,727,461,451,535,666,655,576,624,735,800,611,460,375,294,273,267,294,331,349,395,742,1384,1528,1010,701,874,914,832,842,1001,841,1166,1222,956,825,662,785,1070,1084,861,1002,990,1152,1142,1614,1902,2000,1964,1820,1724,1404,1120,1030,1138,1030,623,946,923,767,801,1034,1204,1042,891,901,945,1010,1011,1022,930,1002,794,755,1050,946,843,867,724,654,819,1100,930,719,768,922,999,564,1004,1482,1040,1000,1018,837,971,932,1070,877,827,924,752,1076,717,580,494,289,504,711,455,468,538,864,987,963,1438,1526,1398,1390,1254,941,952,1170,1110,666,706,1038,1002,747,669,673,808,973,921,925,993,787,626,826,774,831,836,1248,995,727,791,715,521,611,744,714,871,1124,966,1228,813,594,588,591,648,745,852,928,847,822,881,863,529,574,597,588,863,1518,1802,1838,1804,2204,1722,1036,1096,1302,1752,1840,1768,1562,1256,1084,604,905,1410,1266,1224,1140,852,1108,1190,1442,1416,1308,1134,1172,1470,1168,1416,1772,2056,2494,2886,3248,2940,2986,3230,2764,1394,1418,1440,1578,2198,2408,2098,1722,1176,699,971,1296,1166,1124,1150,1520,1576,1478,1588,1400,1256,1618,1602,1368,1456,1528,1278,706,628,933,1368,1572,1362,1200,1100,1148,1438,1526,1406,1240,1356,1526,976,1118,1620,1418,824,455,473,496,547,658,704,720,782,1086,1522,1652,1576,1592,1694,1694,1708,1500,1084,1196,1384,976,1011,1500,1580,1706,1656,1714,1360,944,647,670,1024,1106,1044,1078,1468,1750,1956,1980,1958,1980,1876,1678,1654,1774,1992,2042,1918,1616,1516,1582,1326,1001,1202,1432,961,500,370,402,460,496,485,573,696,686,557,458,367,403,439,406,619,739,698,824,879,752,613,912,1152,933,834,910,904,773,724,803,656,816,951,744,648,549,555,658,791,590,485,625,606,444,572,788,751,502,359,390,466,534,468,449,724,856,660,832,1024,574,766,880,1011,914,881,929,939,1030,1062,1218,1258,1106,1334,1456,1764,1350,1150,906,938,886,769,717,474,361,457,476,632,753,725,731,680,519,473,679,553,664,1116,1186,1030,1082,1050,1290,1322,1264,953,678,592,390,440,774,764,703,976,650,343,554,1292,1170,874,661,476,356,359,626,691,473,383,525,394,442,572,672,586,458,560,765,769,585,473,397,591,445,414,334,262,265,302,279,272,302,385,381,466,525,700,626,424,539,484,344,235,228,300,292,295,317,332,407,453,514,774,1228,847,682,731,624,430,397,432,500,651,516,338,356,397,327,349,556,523,419,436,664,859,954,932,926,920,580,383,303,547,1024,1204,826,578,379,393,649,736,679,817,827,784,634,400,681,1472,1582,1512,1470,936,565,590,603,824,1162,973,565,489,800,1282,1052,1023,777,618,822,818,804,838,747,485,433,444,432,459,532,619,696,575,424,390,328,305,304,305,338,316,283,298,308,290,274,271,239,235,274,378,448,484,637,739,679,662,548,400,351,384,385,362,273,277,332,417,517,521,710,1108,1410,1206,1146,1288,1370,1454,1370,871,621,1082,1290,1104,1078,921,1238,1466,1412,1218,1234,1184,915,963,1011,1244,1240,772,546,677,1054,1178,1160,1164,905,613,439,392,1014,1748,1938,1418,960,735,641,1330,1556,1108,871,609,616,714,584,754,1050,922,1016,1062,954,860,950,726,720,968,1005,676,648,919,716,484,432,533,590,630,527,424,419,376,384,522,557,674,747,536,652,749,926,1304,1720,1442,845,781,789,1666,1468,711,883,1594,1192,634,570,588,1140,1466,990,372,455,608,399,404,536,476,522,531,392,513,675,1016,1484,1234,1306,1266,1330,861,460,525,580,882,858,716,695,891,1023,609,822,1252,1312,1146,880,765,963,1284,1314,995,865,835,672,598,689,826,1162,1316,941,819,1214,1146,621,764,1248,1164,957,543,580,750,1216,1372,1404,1476,1030,780,859,954,1194,1556,1118,584,549,680,612,424,587,752,602,948,1242,866,805,819,543,499,531,545,590,543,547,489,438,498,540,476,548,705,556,393,414,444,494,584,444,369,385,447,444,487,483,398,387,550,827,687,550,607,590,599,662,507,353,303,325,395,405,367,314,299,350,372,341,377,369,325,362,386,367,352,332,329,430,694,901,1144,1114,1082,945,994,937,723,687,744,1024,1180,830,552,414,376,501,727,981,988,761,984,966,705,1136,1388,1228,1011,1084,1382,1206,924,716,549,366,623,1482,1702,993,426,335,766,830,476,457,883,1054,603,885,1470,1176,764,791,523,357,430,571,1200,1560,1044,470,348,348,710,1064,605,398,406,508,449,346,415,622,665,510,425,449,494,475,413,306,227,253,269,275,472,491,328,265,246,628,1224,1196,1134,1024,569,370,622,703,389,379,347,294,286,331,425,612,837,993,1116,982,640,404,386,531,454,980,2182,3682,4684,4276,2482,1454,1092,689,630,1194,1222,1056,979,667,455,404,344,311,426,694,712,596,761,625,461,468,680,574,590,789,653,827,1038,783,847,1310,1222,1178,1082,1412,1354,1486,1338,1252,1266,1278,1222,1078,1002,1312,1838,1674,1604,1460,1552,1400,1488,1646,1432,1184,1262,1210,785,534,766,1144,1092,799,767,602,940,1238,1270,1464,1154,907,1350,1716,2014,1282,907,1420,1604,1848,1838,1932,1726,1308,1124,1130,1078,1406,1084,1150,1850,1926,1226,745,667,565,634,741,673,703,918,1064,861,907,966,888,769,1002,1096,1382,1932,1670,1184,1188,1082,922,902,825,921,652,658,879,965,863,1194,1218,1060,1394,1434,1396,1388,1260,1120,859,713,702,835,661,922,1460,1010,483,689,808,955,787,1372,1582,1420,849,449,524,705,767,926,1512,2288,2176,1398,1976,2076,2056,1642,1744,2054,1714,1536,1586,1496,1432,1434,1046,799,644,535,418,525,599,915,1460,1672,1670,1296,1066,998,882],[1248,897,795,930,655,880,571,493,470,611,660,502,475,633,741,946,1372,1384,1050,952,921,581,769,1926,2230,1328,828,773,945,1066,1106,1060,699,934,883,536,602,1064,848,555,570,892,996,710,494,438,459,579,539,504,550,695,547,755,1112,1352,1344,1294,1476,1128,1028,1336,1448,1638,1592,1302,1428,1614,1608,1386,843,472,454,877,1378,1094,1046,958,713,830,1023,1056,1340,1350,905,670,1080,1318,1118,1272,1410,1256,899,426,388,409,426,446,525,767,1186,1214,1534,1458,567,469,448,443,447,420,518,889,1272,1486,1508,1284,812,529,502,550,878,1036,1538,1080,539,701,954,1372,1174,468,426,386,354,400,441,351,332,398,379,417,457,480,602,662,576,483,543,879,1034,1226,805,760,846,1012,1134,908,703,852,1120,996,843,822,518,383,378,418,458,433,408,431,393,522,990,1190,1246,1318,1464,1078,1060,1098,907,644,562,534,493,516,556,627,562,415,407,511,583,664,1076,1876,1998,1418,1072,1174,1354,1100,1038,1162,1490,1550,1390,821,538,579,564,568,1030,1732,1368,796,730,537,588,652,1104,1362,1362,1266,1230,1226,1556,1674,1452,1214,1346,1376,944,854,961,1318,1500,1400,1216,1068,903,827,1158,1412,1238,1228,1034,1426,1806,1972,1276,599,838,799,525,750,1164,1102,1090,1236,1404,1368,1102,713,774,893,745,623,615,1206,1700,1442,1116,940,1046,1304,1204,947,840,923,1002,1780,2294,1948,1180,1322,1768,2004,1660,1340,1516,1628,1400,1682,1440,626,578,897,1044,970,1628,1698,1434,1320,1458,1346,1166,1214,1188,1098,1156,1176,1238,844,573,498,509,588,442,348,350,337,345,312,282,335,392,491,860,811,771,976,1160,1666,1422,827,962,970,747,447,722,1009,918,1144,1032,1186,1362,1372,1224,1134,1232,1122,852,694,802,1048,1288,1558,1740,1166,1168,1674,1478,1168,1422,1238,960,843,704,792,824,579,550,476,848,1230,1300,1156,944,935,1108,1072,1001,824,932,616,540,673,831,1174,1238,933,969,1362,1440,1518,1394,1008,826,1108,1582,1404,1166,1302,1140,1076,973,725,815,1072,951,618,468,735,1368,1088,1146,1182,1100,988,1200,1618,1626,1276,821,827,1136,1216,1106,1100,1062,1350,1860,1588,1122,1072,1100,1148,1346,1484,1672,1246,1290,1274,1200,693,480,451,401,362,366,401,365,373,359,409,417,419,470,484,404,354,370,336,355,531,1032,1228,1382,1556,1052,591,797,1074,1066,1194,1114,630,484,466,326,380,472,589,844,987,1250,1252,1186,1128,1328,1260,1092,994,1178,1152,1612,1128,709,432,454,1072,1444,1310,1422,1390,1178,1254,1270,1360,1488,881,604,909,1348,1146,1222,1570,1806,1552,1058,1082,1434,2070,1842,913,1042,1238,734,488,547,796,1222,1236,899,650,589,738,742,626,662,1015,1174,1166,966,980,1414,1272,854,1372,1922,1802,1742,1448,1390,1094,918,893,979,948,976,842,765,848,1140,1134,998,865,741,533,403,374,342,295,307,328,564,944,908,664,631,594,544,698,759,1038,978,737,579,714,798,689,988,1236,1180,1116,1032,1002,1018,948,1256,1520,1542,1564,1438,1340,1432,1376,1156,1170,1484,1008,1312,948,524,518,694,888,658,502,446,494,618,719,739,828,963,682,634,753,608,665,715,637,761,1438,1476,1232,946,992,1198,1048,708,717,780,777,1023,1080,679,754,834,1356,1402,962,830,982,1114,713,312,371,451,429,650,530,664,563,606,691,1084,1760,1854,1240,1080,1388,1172,939,1094,1258,868,988,1040,901,769,979,1298,1098,832,915,836,946,728,595,803,1126,1398,937,965,901,668,623,685,853,1126,992,967,641,594,962,1320,810,805,996,995,938,844,929,745,634,691,944,886,566,615,587,557,927,1362,1550,1360,1300,1482,1076,916,960,1026,1332,1682,1670,1186,1224,873,516,1090,1232,638,822,1036,953,1314,1542,1592,1442,1210,1342,1778,1700,1604,2386,2588,2588,2386,2398,2220,2520,2898,2686,2522,1836,1354,1512,1770,1904,2110,2426,2464,1758,798,1396,1198,983,1032,1232,1432,1498,1562,1512,1288,1472,1954,2004,1472,1340,1372,1162,791,591,700,1044,1416,1432,1230,1070,1042,1236,1228,1200,1322,1562,1362,780,872,1360,1420,896,513,518,508,623,886,799,731,1176,1614,1752,1726,1692,1682,1744,1720,1510,1340,1132,1062,1498,1450,1234,1172,1104,1166,1268,1274,1086,675,656,927,1528,1804,1470,1090,1096,1400,1754,1788,1834,1898,1810,1658,1722,1970,2100,1944,1628,1490,1318,982,990,963,840,710,577,482,435,440,445,502,541,563,582,593,540,474,471,614,637,500,536,503,520,761,874,776,594,907,1202,966,752,836,1028,824,689,820,917,894,832,789,672,639,725,658,638,619,647,799,717,517,577,717,786,491,421,500,542,571,534,526,526,795,1150,965,1000,626,626,750,875,949,1152,1168,1084,1054,1104,1360,1318,1140,1180,1154,1268,1100,1208,915,766,929,822,525,480,393,373,302,569,926,910,1017,613,368,485,700,661,518,846,1208,1080,1246,1294,1050,866,1166,966,774,835,546,447,803,1007,484,504,401,343,601,595,715,907,577,312,261,225,328,555,632,430,248,339,503,853,940,641,381,315,428,636,835,992,476,667,478,435,337,237,257,304,330,321,376,410,509,340,338,412,395,395,391,359,307,242,295,359,334,334,300,235,292,490,645,663,861,739,473,556,720,612,315,281,383,634,539,383,387,327,302,325,461,459,448,570,789,832,786,583,574,461,487,456,331,391,552,934,1322,1188,585,361,489,841,750,1023,900,614,591,1072,1278,1056,1056,1240,1030,841,833,671,767,802,720,761,875,703,1130,1618,1378,963,669,1120,1412,809,725,932,813,455,419,459,447,410,438,659,876,717,585,483,331,334,292,242,328,295,290,393,466,415,309,249,272,323,376,433,458,463,563,702,715,734,604,357,284,273,263,319,266,257,334,437,451,432,658,1112,1366,1362,1336,1320,1258,1182,1484,1320,900,1292,1964,1464,972,821,1001,1416,1736,1946,1782,1168,852,639,979,1570,1714,1114,867,1118,1364,1302,1236,1376,1312,849,429,334,499,1032,1534,1390,1114,931,617,838,1382,1206,778,583,639,783,1128,1318,1522,1218,918,823,764,868,902,865,663,804,1380,1276,1150,1162,683,436,539,850,933,615,434,462,422,360,365,432,583,723,1134,1052,897,1294,1258,1230,1582,1300,1258,1464,1036,1588,1422,884,543,849,1010,859,777,672,1310,1528,918,626,1088,1344,1142,1254,1108,775,555,480,663,951,774,782,1518,1366,1362,1218,1108,707,728,1152,1160,930,854,753,752,1332,1566,983,509,752,1396,1188,719,461,543,972,1164,927,800,792,1004,1052,1048,915,1028,1490,1310,1126,1428,1444,998,1007,990,805,990,792,602,889,1468,1208,1144,1354,1250,1480,1942,1858,1256,1540,1122,695,1218,1530,1390,1032,826,817,656,1022,1050,544,648,683,523,524,559,590,570,526,511,484,464,489,461,434,505,495,453,466,497,575,530,440,442,427,373,407,476,575,568,533,415,464,550,527,528,613,590,571,582,461,355,278,297,320,336,313,282,279,331,401,357,385,411,385,447,441,362,356,337,354,413,514,883,1278,1274,1116,1038,1420,1550,746,572,670,1118,1252,893,800,524,375,407,608,828,830,906,843,567,700,1002,803,1172,1418,1670,1504,1382,1326,1142,935,653,764,1444,1296,568,380,335,402,421,398,399,512,458,406,580,822,536,416,797,882,572,334,522,1092,1370,977,535,455,382,638,1074,656,438,359,357,315,278,477,593,515,461,381,345,381,411,411,291,293,306,293,445,668,594,352,265,291,546,1017,1168,1300,1434,1182,715,800,973,592,357,365,293,317,322,317,466,794,937,1064,895,603,368,482,736,789,709,1416,3716,4568,2856,1542,1514,1128,571,610,1214,1490,1202,760,507,420,426,447,458,615,861,783,796,885,606,393,545,692,479,558,889,820,630,447,389,525,1070,1362,1498,1832,1644,1372,1378,1294,1272,980,1050,1202,1354,1202,1412,1618,1748,1634,1570,1552,1854,2004,1218,1048,1096,1220,1194,1212,1084,947,835,873,865,661,370,687,1302,1726,1556,1222,1038,1458,1578,1692,1526,1166,888,965,1282,1548,1422,1036,1268,830,681,654,1354,1374,1638,2166,1550,720,553,442,426,492,496,406,375,623,1106,1188,1398,1260,1096,837,767,973,908,813,663,850,897,1084,1190,971,1166,1318,908,905,1112,909,980,1282,944,797,774,1050,1418,1436,1454,951,695,728,630,554,577,1100,1596,824,431,580,989,1078,1180,1116,955,993,699,443,365,558,572,996,1954,2108,1608,1614,2122,2152,1818,1436,1650,1788,1808,1680,1406,836,853,1284,1258,1324,1318,1056,956,912,796,947,1412,1242,773,796,989,993,932],[1238,910,1026,1650,1028,957,613,450,508,954,1154,874,727,682,694,758,1346,1372,737,686,760,562,591,1274,1544,1156,1014,1048,1128,1114,1114,1004,563,678,643,493,614,1088,1020,735,576,539,485,568,458,492,466,656,576,525,415,549,656,1150,1504,1622,1446,1236,1282,872,583,634,836,893,1142,1434,1660,1714,1702,1588,1017,507,617,1222,1234,907,1012,951,984,918,673,705,1013,897,662,771,954,776,1008,981,1278,1186,746,504,384,335,358,565,838,1104,1614,1432,1866,1636,653,443,403,460,554,546,604,971,1342,1516,1578,1220,673,508,497,536,837,1156,1642,1252,701,791,1056,1400,1268,472,315,339,366,354,301,280,334,350,360,491,485,477,496,513,771,755,511,464,831,1064,828,780,838,846,783,535,529,730,706,577,848,731,603,512,423,438,458,404,388,388,361,548,1040,1300,1354,1636,1794,1278,958,859,780,608,560,509,405,418,413,439,565,473,445,502,623,839,1009,1244,1370,1004,991,1214,1418,1334,1716,1908,1408,1420,1350,876,565,521,561,574,561,634,625,901,850,632,558,683,1194,1256,913,1026,1338,1538,1956,2154,1506,1176,1582,1564,1018,688,681,709,967,1318,1328,1214,1040,850,1118,1178,1232,1048,794,1336,1576,1606,1128,508,497,390,301,629,1018,910,999,973,1146,1274,1056,862,1058,956,645,561,645,1332,1700,1174,958,930,849,745,1002,982,972,772,562,1017,1262,1296,1278,1584,1916,1830,1066,670,1248,1672,1476,1312,943,603,614,1004,1256,1026,1304,1596,1318,1466,1638,1610,1452,1282,977,730,598,1078,1284,891,529,528,768,777,519,414,407,354,398,351,346,360,377,478,1162,1272,1122,1038,1042,1366,1244,1018,1044,926,944,1060,1360,1158,1500,1964,1528,1194,1015,1290,1350,1036,963,1040,939,852,990,1418,1316,1560,1802,1266,1028,1202,992,1132,1316,1328,1086,894,849,1280,907,550,541,478,806,1332,1468,1376,1268,1134,1366,1108,1004,933,650,590,827,1004,1338,1222,979,1160,1484,1482,1204,1206,1244,1072,979,1268,1548,1180,1048,1122,1248,1464,966,724,1034,1124,1032,823,720,814,1274,1188,1156,1260,1166,1016,1300,1666,1734,1406,813,1036,1094,1406,1396,1156,1270,1362,1412,1274,1378,1438,1164,834,777,1172,1314,1116,1318,1562,1288,739,494,458,462,469,478,590,521,444,426,414,393,410,514,580,487,355,339,379,382,462,579,667,1028,1002,591,412,485,983,1324,1262,1066,617,970,773,397,430,664,760,996,944,834,1104,905,719,1028,1190,1146,1400,1286,1078,1392,1448,1034,724,804,1256,1444,1290,1340,1240,1270,1404,1174,1432,1222,841,868,1454,1580,1338,1532,1676,1516,1182,1100,1242,1330,1678,1548,811,1009,1502,1036,413,449,612,788,843,815,764,713,692,690,584,617,995,1360,1282,932,953,1202,963,776,1258,1374,1092,1044,896,1118,828,664,1106,1104,766,709,425,479,866,1314,1346,1094,1276,1206,780,685,716,662,590,535,434,466,657,697,779,1378,1296,802,673,658,939,1084,822,845,1104,1004,846,731,1330,1194,1220,1574,1368,944,952,1366,1384,1168,1158,794,594,976,1038,1142,1284,1150,678,724,772,927,1088,796,681,688,926,684,588,599,586,763,862,956,1194,1396,1310,1328,1302,1060,911,504,928,1148,1244,1126,1296,1644,1434,1094,846,1082,969,913,974,766,1120,908,982,826,697,866,863,913,850,469,626,940,583,650,684,509,460,454,858,1450,2150,2212,980,770,1306,1532,1338,992,1070,1088,1036,790,813,865,1122,1588,1318,671,768,583,708,572,497,489,680,803,691,719,896,960,1048,1104,1188,1290,1044,581,499,876,1220,1178,868,799,933,1428,1544,1176,1036,630,700,831,1072,880,560,592,596,550,897,1252,1464,1960,1878,1400,884,1118,1140,1224,1180,1200,1118,1018,1064,675,656,1214,1186,576,576,662,1020,1270,1354,1322,1536,1510,1172,1538,1546,1370,1880,2228,2442,2634,2460,1562,1328,1908,1946,1852,1586,1272,1506,1720,1766,1402,1414,1610,1120,1064,1548,1152,1058,1266,1396,1306,1324,1510,1528,1654,1886,2250,2006,1708,1362,979,628,555,651,651,711,1146,1428,1236,1019,935,899,1024,1188,1438,1558,1134,642,661,890,844,592,523,485,558,684,833,615,908,1550,1652,1634,1786,1780,1678,1750,1584,1344,1248,1118,929,1256,1474,1204,1090,1320,1506,1364,1230,1180,1005,1314,1278,1506,1498,1336,1332,1084,1262,1664,1712,1854,1910,1720,1750,1896,2076,1960,1682,1500,1390,1066,832,772,698,528,429,522,588,474,438,514,616,596,451,398,356,344,525,669,763,834,768,641,512,571,898,886,594,414,701,1007,940,573,438,675,958,957,832,921,922,735,716,702,766,774,658,644,730,752,808,515,535,577,766,794,448,634,884,758,621,553,547,434,491,1234,1162,1172,918,702,818,971,1068,1044,977,1262,1408,1354,1438,1344,1158,1288,1378,1316,1210,1362,1186,664,691,989,746,519,491,476,360,447,801,1180,929,442,419,661,872,860,648,780,1238,1328,1344,1132,782,697,936,794,639,731,611,589,794,987,441,360,297,238,584,687,551,470,347,283,259,292,368,317,436,429,336,445,1176,1422,834,540,446,452,516,616,1300,1454,595,742,591,325,245,218,293,436,415,318,457,545,439,280,266,282,387,372,331,352,344,328,328,326,324,332,318,291,375,613,678,671,930,1094,689,559,477,708,667,371,366,454,377,545,633,400,292,308,318,524,839,1000,905,689,806,679,475,507,650,597,396,339,385,661,1242,1190,527,364,296,540,966,903,569,774,1432,1528,980,562,994,1602,1400,949,881,745,745,396,337,466,963,1276,1428,1514,1574,1380,1178,1624,1688,1216,625,412,336,326,443,458,415,406,388,506,761,834,859,647,479,408,324,298,340,286,294,435,538,417,265,261,356,406,410,413,427,449,458,556,694,735,511,291,255,246,252,266,291,334,408,427,423,447,606,888,1172,1438,1598,1550,1322,1382,1522,1526,1170,1154,1516,1324,999,816,800,1332,2216,2452,2350,1594,875,584,886,1284,1294,1174,1066,1144,1440,1544,1276,1372,1282,895,432,373,553,880,985,1142,1582,1656,1128,802,1009,1134,946,560,484,751,1138,1008,966,959,922,781,600,727,690,883,1042,1176,1436,1536,1388,872,474,428,785,1548,1644,840,524,461,472,374,408,745,1114,1152,1478,1336,1070,1644,1870,1438,1266,957,1072,1138,1036,1598,1404,897,646,753,955,778,906,604,678,904,705,846,1620,1706,1322,1346,1380,925,664,722,843,1007,899,647,1180,1490,1366,1074,747,513,687,1130,1116,748,848,831,1046,1466,1802,1568,730,437,612,531,391,290,340,595,930,1050,844,836,1242,1422,1068,835,1132,1626,1638,1188,1106,1312,1276,1264,846,560,715,714,781,1540,1702,1192,1344,1410,1578,1742,1626,1672,1078,1350,1214,938,2108,2042,1786,1528,1200,1036,1005,1208,901,545,511,447,523,561,587,575,502,456,491,515,455,407,395,398,405,406,459,535,598,669,574,411,424,445,397,378,414,391,375,455,403,435,578,599,580,630,607,616,631,528,406,295,307,265,278,287,279,307,355,367,383,464,483,440,441,380,395,401,419,391,507,600,690,989,1110,981,956,1424,1678,779,419,412,776,937,813,691,565,708,1202,1466,1064,504,775,891,578,778,1126,799,778,999,1178,1328,1324,1120,1032,928,696,684,594,414,251,364,477,472,485,466,489,600,666,727,361,307,277,305,577,1068,886,419,451,811,928,830,607,586,568,792,1084,791,444,375,408,326,275,325,442,528,425,258,321,355,377,360,284,281,299,263,390,514,374,245,250,295,282,444,659,702,852,1150,1094,1172,1210,667,369,356,342,404,419,458,513,752,866,818,686,536,540,818,992,1354,1302,955,1826,2464,1500,1290,1446,925,678,1210,1370,1236,1302,927,590,599,515,613,918,1410,1400,1114,972,1038,816,444,403,498,666,793,840,657,413,386,386,385,775,1144,1194,1468,1582,1420,1192,1262,769,499,616,1001,1216,1410,1802,1742,1574,1466,1506,1452,1370,995,626,848,1080,1138,1152,1142,988,707,761,1056,1072,896,622,787,1194,1496,1224,990,1096,1334,1378,1178,1216,1080,713,825,1340,1692,1484,1246,960,550,532,505,933,965,1272,1774,1234,564,469,427,452,381,578,516,531,672,852,1262,1266,970,837,596,692,1030,962,746,487,606,896,1052,772,590,1001,1078,533,525,719,619,1154,1444,787,439,547,813,909,1310,1782,1288,525,539,572,628,714,1244,1442,946,592,764,839,601,508,511,711,1019,1070,1036,528,572,530,850,1584,1708,1302,1490,1604,1312,1390,1400,1470,1582,1648,1656,1266,680,841,1090,1294,1252,964,1054,1172,1314,1476,1458,1650,1344,807,622,668,691,744],[1005,841,1042,1426,1001,872,716,502,519,832,1200,1248,1023,769,718,698,746,744,594,834,796,437,432,733,758,830,1288,1396,1346,1294,1374,1528,898,518,508,468,650,1044,1134,1118,1080,719,429,436,319,360,403,519,475,361,570,631,639,1490,2176,2600,1448,1040,1176,897,522,655,649,531,606,706,985,1344,1476,1552,1296,1048,855,1194,1056,957,963,967,1258,1242,683,839,1248,877,780,915,1330,854,1020,760,901,971,840,736,485,410,358,478,817,891,1208,1202,1866,1682,763,428,500,669,1086,1310,1416,1614,1538,1826,1902,1264,618,469,519,565,856,1396,1584,1124,879,916,1046,1084,857,504,300,296,332,308,268,289,323,337,620,762,563,501,460,458,835,1038,583,397,669,667,362,568,932,911,935,620,365,406,410,379,495,524,528,445,345,375,396,407,417,290,329,713,1042,1556,1562,1608,1500,1344,1116,852,769,654,651,480,356,403,426,446,438,458,476,441,579,1024,1148,847,733,561,654,1110,858,1156,1764,1544,967,1130,1418,1144,635,680,769,588,814,754,867,1182,995,863,788,774,1184,1314,746,797,1422,1914,2178,2268,1472,1382,1602,1538,1296,1158,852,766,1212,1348,1194,1156,1234,1180,1048,767,919,869,732,851,900,802,563,383,379,397,321,387,750,941,988,869,830,926,1136,1578,1686,1154,788,650,807,1242,1324,1070,720,908,778,543,891,889,948,687,808,1228,1290,1021,1180,1412,1760,1604,799,499,1162,1396,1350,789,688,815,824,1360,1352,1160,1318,1218,1284,1542,1504,1704,1490,1268,1444,974,581,739,848,966,766,790,1278,1334,1008,514,409,519,756,549,394,343,282,340,866,1410,1510,1352,1334,1376,1402,1438,1404,1238,1098,1288,1548,1350,1754,1934,1880,1428,1100,1586,1388,879,733,801,978,1026,1102,1266,1200,1158,1194,1268,1382,1268,1208,1328,749,890,889,1144,1314,1642,1062,432,430,433,622,1222,1428,1406,1252,1154,1106,957,1140,1128,866,974,1142,1164,1316,1334,1512,1390,1688,1522,1236,1112,1064,1086,1142,1432,1478,1330,1386,1228,1258,1372,1000,1078,1410,1362,1206,1470,1296,1022,1013,930,1030,1182,1194,1142,1318,1790,1792,1456,1264,1272,1024,1200,1336,1270,1444,1842,1884,1380,1708,1550,1566,970,554,699,1007,1346,1134,949,923,732,517,564,549,585,727,852,659,639,703,551,504,517,518,590,511,366,361,351,414,503,473,395,425,464,453,409,837,1620,1534,1204,695,926,1404,1200,975,793,733,646,909,1268,1396,1224,869,924,603,611,1072,1588,1124,715,1670,2012,1400,1450,1362,1428,1266,770,1020,1194,1106,1184,1206,1404,1126,831,864,944,956,963,1242,1500,1624,1226,960,927,786,632,524,478,718,1264,1232,454,571,609,666,1048,1194,828,827,933,1042,965,681,866,1232,1230,987,721,481,314,393,568,536,383,262,641,1022,896,1114,1258,801,480,429,567,659,880,1104,910,705,1013,863,487,590,742,569,662,838,745,628,584,678,1018,1378,1252,830,547,565,700,926,1098,1160,1110,968,1013,818,1023,923,890,946,732,800,893,1352,1224,845,830,539,485,686,978,1186,1190,1048,963,774,847,958,915,797,726,841,1214,943,899,968,1128,1346,1164,1202,1564,1936,1970,1832,1886,1888,1308,528,625,993,946,785,1288,1608,1492,1484,1120,1376,1268,1110,940,658,724,745,989,1182,895,948,957,780,937,673,816,1192,1023,571,386,355,429,487,521,848,1744,1682,968,1252,1286,1042,1046,1150,1130,971,650,802,1092,878,1082,1444,1234,891,903,830,855,561,368,494,714,908,971,834,1224,1450,946,868,1326,1504,1080,760,922,927,935,1076,1122,1110,977,1064,1454,985,739,741,1009,1009,1088,908,584,600,597,554,847,1306,2002,2584,2410,1300,1012,1226,1210,1508,1082,534,614,928,1028,534,694,1162,861,596,529,759,1158,1584,1570,1480,2166,2056,1842,1920,1406,1396,1422,1450,1672,1880,1562,947,733,982,1342,1854,1544,1174,1384,1436,1472,1019,1032,1032,703,1496,1750,1232,1464,1678,1422,1288,1538,1478,1682,2256,2162,2048,2244,2088,1682,1300,775,510,510,531,469,666,1164,1236,946,838,819,1021,1200,1396,1282,702,555,591,594,533,526,534,515,587,691,593,476,895,1496,1674,1744,1836,1826,1762,1724,1536,1340,1176,1118,861,893,1268,1194,922,1092,1328,1310,1192,1086,1082,1012,1038,1246,1198,1074,1316,1404,1254,1144,1520,1748,1890,1698,1796,1930,1932,1686,1514,1332,995,781,587,437,386,400,475,540,535,546,626,673,569,448,358,337,294,329,560,744,802,814,861,801,616,767,990,822,556,312,427,863,955,645,546,586,803,966,917,965,999,881,729,919,989,750,796,815,716,813,814,564,577,788,963,786,434,533,797,959,813,641,619,426,284,888,1470,1490,1204,1176,1288,1252,905,766,1023,1300,1570,1538,1524,1548,1474,1464,1456,1556,1596,1638,1524,778,457,813,1052,683,463,321,377,586,932,889,491,661,1066,1028,792,944,1102,1698,1732,1242,1232,1030,923,1274,1130,762,485,561,675,527,603,960,606,430,486,514,841,933,473,310,374,381,376,397,407,471,520,390,370,703,1578,1698,724,498,462,420,462,496,1260,1400,838,844,827,625,366,250,236,268,324,336,419,356,271,250,282,332,419,442,376,373,385,405,372,336,307,361,345,316,389,572,686,512,622,919,951,817,447,404,532,516,514,430,319,797,1132,535,291,407,672,978,1400,1512,599,300,547,774,753,585,614,666,513,390,437,518,647,502,358,509,382,239,683,1076,825,791,1062,683,577,768,1148,1394,1314,948,848,829,684,456,664,988,1028,1116,1382,1098,1005,818,759,1044,1130,1158,794,583,530,601,680,526,447,429,398,432,667,980,890,585,462,384,330,392,406,293,275,305,319,281,330,388,399,428,455,435,427,438,444,489,626,728,472,301,298,255,262,298,348,474,521,526,523,454,514,645,1024,1300,1460,1520,1418,1634,1666,1698,1502,1216,1372,1526,1292,901,813,728,1568,2278,2396,1938,1366,870,736,666,832,1140,944,1098,1630,1540,1170,1234,1252,891,569,572,736,798,634,804,1366,1880,1490,1060,833,1216,1196,614,389,887,1112,635,412,734,1234,1004,974,1002,825,910,1114,1266,1302,1170,1086,1032,792,697,839,1176,1140,1312,891,484,354,336,461,788,1020,1050,955,813,897,1418,1940,1720,1116,825,700,547,839,1190,1032,865,593,586,798,741,882,782,564,601,615,705,1196,1554,1202,955,1090,756,720,616,609,1106,1550,821,924,1522,1284,728,658,682,655,669,711,1182,1098,566,926,1310,1520,1208,658,419,397,383,392,619,1010,1228,1100,1128,1256,1188,1268,1310,895,875,1310,1354,1634,1466,848,1048,1170,952,849,784,724,749,1172,1722,1562,1134,1448,1188,1344,973,651,551,1202,1608,1356,1226,1656,1832,1680,1576,1714,1316,1278,1054,669,558,490,499,538,543,521,490,439,396,452,437,405,399,385,381,401,393,409,436,473,608,616,440,315,356,365,359,375,360,328,317,362,413,565,684,651,656,636,573,577,541,380,325,311,262,269,260,271,325,373,530,753,565,397,379,387,335,330,349,422,516,851,962,805,753,1009,1492,1278,1010,950,560,374,343,388,449,647,867,631,682,1082,1298,1100,662,741,620,490,907,1452,1366,962,802,1026,1230,845,962,1004,973,1007,672,403,487,558,665,774,625,554,432,421,785,1186,1064,483,397,532,393,373,760,1017,747,561,596,676,887,907,646,710,849,724,807,854,813,774,531,293,280,382,506,451,267,283,339,320,362,421,386,427,452,426,362,298,309,282,249,215,252,256,307,370,391,474,771,767,404,281,242,398,759,778,762,635,660,648,561,603,599,588,834,1088,1494,1330,1332,1416,1380,1232,926,749,778,1184,1792,1744,1086,1230,1328,788,617,470,615,1064,1390,1244,1134,1338,1368,650,431,404,716,1008,747,674,530,355,393,375,347,481,883,1494,1562,1290,1418,1406,1238,664,542,698,1146,1234,1238,1360,1514,1596,1506,1328,1180,889,623,624,795,999,1274,1352,1082,821,670,1076,1324,1358,1322,1386,1334,1716,1156,634,941,1224,1170,1204,1146,1250,1416,1602,1526,1490,1230,1288,970,637,620,865,921,846,732,791,1214,921,554,389,462,525,1084,990,697,1148,1420,1166,1038,824,940,804,572,586,909,977,719,553,756,767,619,830,954,1078,1032,1052,515,374,339,777,951,662,971,1108,951,959,925,1050,1007,911,753,664,839,952,796,990,1282,1220,1060,863,664,824,634,736,1068,1054,1064,753,785,608,456,480,612,1042,1802,2036,1506,1234,1438,1476,1438,1516,1734,1280,849,874,849,913,959,1060,962,840,776,741,935,1130,1268,1266,1138,1164,1248,1282],[1098,900,927,1188,1192,1106,862,436,446,508,916,1166,907,1042,1040,860,659,503,528,720,688,437,417,556,532,726,1288,1610,1544,1494,1384,1340,966,587,505,491,655,865,816,841,968,669,370,317,343,341,378,530,491,334,466,516,659,1790,1924,1606,1170,1015,1208,861,449,576,576,439,462,425,487,987,1266,1350,1500,1422,1350,1432,1318,999,854,1023,1184,882,650,1568,1732,966,1150,1376,1234,1074,1080,673,658,834,983,825,540,481,398,446,745,1096,942,1038,1740,1748,901,447,522,772,1480,1786,1924,1932,1720,1826,1366,1028,844,733,830,830,890,1142,1142,1222,1338,1034,769,616,537,441,397,392,413,366,275,315,327,330,725,802,753,711,540,526,623,606,509,499,707,653,360,554,843,912,774,491,364,379,423,498,557,474,402,383,314,321,297,312,293,270,303,614,919,1120,1172,1220,1242,1158,1046,1034,1160,1760,1048,553,350,369,409,428,476,465,407,405,528,695,705,624,832,882,673,1122,1128,1284,1300,1156,1160,1218,1272,1440,992,1220,1130,697,909,961,926,1064,922,849,1054,1182,1572,1664,896,607,1118,1672,2050,1936,1638,1752,1776,1172,888,1194,801,864,1250,1432,1260,1186,1294,1186,985,893,1002,924,695,735,916,669,551,461,444,394,347,393,966,1388,1126,1038,1470,2164,2190,1998,1554,1226,953,884,960,1096,1232,979,559,424,397,598,930,828,739,781,1178,1530,1346,998,785,633,996,1388,1086,940,1366,1214,1224,1144,1170,908,966,1344,1224,1152,1138,1194,1422,1556,1784,1916,1692,1396,1546,1288,955,1086,1154,910,631,1070,1556,1542,1176,545,355,434,491,342,321,328,284,290,637,1132,1404,1476,1454,1438,1472,1558,1574,1278,1164,1206,1328,1106,885,1346,1750,1786,1786,2014,1178,787,620,640,983,1184,1426,1266,688,565,705,980,925,894,959,976,590,816,1208,1592,1578,1378,916,524,457,460,602,1262,1256,1246,1166,832,634,885,1322,1384,1220,1276,1266,1352,1304,1328,1382,1060,1456,1676,1242,918,865,949,973,1148,1054,1150,1258,1013,1106,1120,929,1016,1426,1440,1344,1430,1140,860,803,1144,1420,1208,1182,1140,1356,1742,1814,1348,1040,1060,738,631,777,937,1316,1838,1658,1238,1606,1772,1844,1416,702,484,1246,1628,1250,1168,799,770,910,969,1212,1034,966,1094,915,933,980,1078,1438,922,796,724,493,369,372,380,452,604,605,430,361,378,401,480,714,962,1038,1005,808,1360,1256,1366,1342,1094,1042,1016,1146,1146,1004,1030,1162,1262,1140,722,664,852,705,587,1472,1820,1450,1412,1410,1574,1028,901,1270,1206,1122,1166,1422,1638,1248,968,957,586,505,671,1126,1562,1864,1250,898,1132,922,538,533,555,739,877,976,819,1026,1102,1124,908,828,948,1216,1042,1152,1324,708,1036,1344,1014,823,722,498,320,318,363,339,302,329,728,1007,722,902,826,525,433,651,764,942,885,773,680,840,1038,930,584,409,749,446,327,418,720,825,836,1092,1078,804,845,880,744,689,711,975,1250,895,808,1172,1336,912,783,807,910,1012,941,1086,800,1023,961,819,639,498,551,675,726,607,796,1090,763,560,884,933,944,915,813,728,714,536,647,828,959,1042,1104,1276,1628,1708,1708,1678,1494,1560,1266,1003,1058,1224,1100,566,613,774,993,808,811,868,995,805,701,752,986,1272,968,960,935,1078,992,500,730,594,647,1226,1116,437,277,321,406,549,693,987,1134,971,1032,1442,1015,529,531,694,826,661,669,845,1032,865,1060,1186,1276,811,674,855,698,473,479,677,885,1072,1262,974,1376,1416,977,696,799,1068,1198,1132,994,987,1208,1346,1668,1766,1372,1078,1104,1144,1278,1152,1018,1028,1242,1256,803,805,648,577,852,1370,2002,2256,2250,1274,1064,1212,1406,1478,822,618,675,985,912,885,892,882,688,604,546,951,1324,1528,1462,1754,2676,2436,1432,1672,1532,1524,1462,1480,1664,1814,1704,1416,1128,933,1174,1794,1252,1160,1368,1368,1000,785,1028,902,798,1454,1328,1322,1628,1606,1400,1490,1606,1648,2476,2518,1990,1862,2084,1960,1802,1644,1352,758,529,478,523,520,658,1078,1110,792,751,998,1178,1282,1086,634,591,583,647,553,565,586,601,586,496,487,458,824,1552,1794,1794,1814,1782,1684,1426,1108,951,1074,1238,1020,769,1178,1434,1158,1114,1320,1402,1056,896,1062,907,1024,1214,994,932,940,1092,1106,738,863,1366,1722,1814,1766,1766,1672,1560,1510,1078,705,491,357,394,447,480,456,497,569,599,626,593,540,498,525,752,574,400,539,872,884,959,1068,1052,770,848,1026,793,653,568,623,1032,1044,839,1334,1078,741,653,803,955,905,1012,1023,967,980,833,912,1058,943,693,701,751,738,826,894,659,643,609,472,868,988,709,568,416,345,542,1068,1346,881,664,647,625,517,639,922,1350,1458,1710,1856,1518,1432,1208,1096,1308,1360,1474,1526,1096,547,571,1122,1122,628,377,535,667,742,789,685,952,1184,772,843,1424,1184,1132,1134,1124,1100,880,676,967,1140,800,500,756,748,467,555,1018,858,506,681,999,1334,1346,808,373,314,261,338,458,570,612,574,593,666,856,1080,1208,591,341,299,254,280,420,874,1009,927,788,697,907,497,326,243,253,391,380,374,276,248,319,347,343,506,584,389,342,369,374,369,395,381,372,405,376,379,485,463,338,628,929,1952,1826,675,307,325,709,722,457,341,711,1228,601,378,697,1002,1062,1396,1528,669,342,420,822,937,508,418,498,487,464,533,365,352,396,841,1502,1140,412,543,1036,1186,747,672,782,1040,1194,1036,755,785,705,669,713,558,545,962,1242,839,578,979,748,682,1152,1412,1262,1156,1212,1260,1220,990,1030,1192,638,381,414,435,424,590,896,731,447,396,365,357,408,327,286,259,244,285,368,469,550,521,487,493,440,424,430,432,458,522,689,613,406,322,333,376,436,507,543,505,530,552,450,449,507,916,1170,1090,1092,1234,1478,1494,1600,1690,1404,1224,1324,1404,1168,890,728,866,1508,1676,1292,1013,908,918,979,1244,1262,973,1162,1356,1404,1162,1156,1162,744,548,653,639,642,520,530,755,1660,1220,1064,1120,1472,1246,647,587,1068,1324,962,553,851,1306,957,656,744,1012,943,1146,1570,1394,1144,1524,1664,1384,1140,673,683,948,1864,1848,1032,569,540,562,552,530,839,916,731,694,664,689,1028,1007,786,857,976,704,557,576,522,379,435,689,861,1044,950,647,636,1060,1152,735,858,784,847,1009,973,936,636,587,1024,1380,1022,878,1216,1382,935,915,876,711,533,468,1128,1023,555,851,1432,1226,591,419,401,393,379,484,1080,1742,1620,916,778,1021,1032,832,739,647,686,1084,1194,1562,1336,968,1120,1023,814,619,582,793,1118,1098,1328,1930,1242,980,947,1076,583,419,419,1174,1444,1424,1746,1538,1686,1436,860,852,956,1048,879,601,496,484,497,511,494,466,457,438,411,462,419,371,383,386,394,398,369,355,376,444,517,471,401,330,338,330,342,371,367,396,598,709,530,539,711,692,679,628,557,597,585,395,316,319,293,235,235,302,355,373,469,522,490,365,356,413,381,332,348,373,445,572,745,912,703,648,1388,1144,793,683,506,401,321,297,352,691,1028,480,398,468,711,779,741,673,429,469,741,1044,1210,743,633,1242,1076,628,645,928,764,634,744,787,813,569,577,969,1023,636,498,453,1015,1262,1196,742,752,762,462,360,440,521,520,733,886,857,806,877,602,531,711,602,625,825,796,642,574,394,376,458,490,467,459,453,440,349,499,661,331,467,710,705,568,419,363,339,253,205,254,372,399,389,447,460,374,382,332,296,251,338,802,1000,898,589,566,864,885,608,805,734,619,1134,1176,1106,1614,1822,1568,1492,1482,1346,1278,1382,1300,1194,678,1019,1450,1110,710,464,598,1036,1164,999,1070,1938,2564,728,408,569,876,821,985,1110,786,452,432,443,350,362,694,1328,1324,1094,1238,1168,1140,1052,811,868,905,868,957,1054,1340,1374,1320,1096,722,633,628,585,596,837,1202,1182,1180,1076,698,1150,1258,1448,1466,1698,1518,1464,832,429,700,942,1064,1164,946,1312,1744,1758,1302,939,909,1104,813,649,735,1036,1218,1058,543,467,667,869,602,408,466,376,846,1090,857,1030,1548,1430,933,851,1112,1066,607,496,644,938,905,819,939,728,791,888,874,1262,1178,1230,1009,951,663,557,612,824,1294,1326,1192,910,784,741,825,1020,1096,826,869,916,977,1082,1042,1024,1060,929,698,882,935,659,596,616,641,601,641,497,324,360,510,996,1452,1422,1390,1368,1562,1462,1488,1666,1608,1206,1092,950,662,719,811,929,937,821,459,318,426,495,732,841,872,1372,1650,1616],[1086,1048,937,1076,1282,1298,985,550,532,912,2030,1228,742,1204,1136,951,854,501,415,475,450,468,448,560,614,621,699,863,969,1118,1274,1174,877,522,469,515,732,601,783,732,767,587,403,397,371,295,295,338,387,391,361,330,476,1062,1056,1066,1014,977,1084,869,446,567,561,436,386,454,448,607,867,1364,1154,1086,1288,1396,1548,1348,1038,1166,1402,864,933,1948,1658,1114,1604,1464,1044,1296,1140,582,551,690,873,659,475,545,514,460,774,1236,1312,1272,1654,1882,1003,565,637,812,1188,1444,1370,1460,1454,1384,1114,1116,1152,1314,1388,1238,1388,1400,880,1074,1238,1028,605,476,474,451,458,385,455,449,315,299,283,320,404,485,709,1084,1034,1034,1042,959,771,681,933,581,500,760,868,930,907,673,462,411,377,441,475,386,322,357,317,312,316,347,317,323,312,412,654,946,1072,1220,1266,1410,1294,1118,1386,1582,973,565,363,385,554,747,750,642,591,492,459,417,487,734,1456,1182,894,1154,946,994,1023,1206,1310,1366,1364,1562,1086,883,702,639,814,1014,1212,1324,1210,926,1246,1588,1790,1686,1050,637,654,938,982,1168,1560,1710,1776,1198,928,1262,1162,806,792,1054,1070,1176,1278,1164,1116,1086,1100,983,828,872,968,621,501,520,454,398,481,570,824,1300,1226,1274,1546,2280,1736,993,996,1344,1382,1472,1156,877,828,670,465,361,427,710,970,724,639,998,1084,1180,1194,915,727,607,655,622,723,1064,1430,1066,825,1382,1182,750,1030,1256,1134,1272,1098,1220,1176,969,1426,1684,1546,1654,1498,1428,1224,1140,1156,921,716,1058,1328,1430,1012,490,386,345,314,325,354,394,433,496,736,1078,1456,1380,1310,1176,1252,1162,1164,1132,1124,1388,1448,1038,761,1454,1296,1436,1286,1472,1011,786,651,695,900,1184,1624,1446,601,492,611,979,1104,1042,1104,1276,1108,855,1088,1312,1120,1214,955,536,419,468,866,1418,1250,1258,1028,761,797,844,992,855,1076,1260,1092,1118,1120,1146,1005,850,1174,1444,1816,1684,1028,998,962,969,910,1106,985,1004,1228,1338,1076,921,1082,1140,1184,946,976,1070,1044,1366,1516,1462,1358,1130,1358,1700,1766,1264,891,937,674,807,603,525,953,1400,1288,1166,1326,1278,1468,1382,700,693,1368,1416,1306,1472,1158,1052,1312,1264,1258,1082,1086,1160,1042,1260,1300,1438,1740,1408,1422,1328,860,527,404,401,446,580,553,466,380,360,377,456,600,866,1028,706,966,1316,1278,1400,1310,1324,1568,1526,1422,969,946,908,972,1140,965,721,651,637,589,719,890,1326,1378,1412,1542,1772,1026,1098,1736,2160,1738,1054,968,1130,781,738,1094,877,573,760,1300,1536,1162,1042,1416,1578,1176,595,672,896,1298,1023,808,1330,1432,1032,677,626,598,935,1282,1048,792,1096,528,872,1424,763,498,526,471,418,352,403,337,290,302,680,995,567,713,622,435,335,411,626,726,858,1021,871,935,1158,1250,813,507,1152,865,305,312,483,611,825,920,865,749,875,754,604,746,777,696,848,1034,1136,1314,1013,601,829,1028,1022,1052,924,796,835,798,997,1232,957,919,893,669,658,575,854,1088,714,657,761,1036,1120,821,608,630,810,980,1146,1084,795,841,1172,1384,1426,1212,1346,1148,693,807,1004,1250,1144,1032,1021,897,888,713,672,517,503,481,487,429,620,789,874,1266,792,814,866,920,580,352,588,517,460,770,633,324,444,606,571,700,1282,1278,813,599,833,1058,703,399,484,767,753,774,1062,818,665,701,855,1162,1040,516,560,686,539,469,428,481,561,558,771,694,1128,1406,1080,644,561,897,1042,904,928,1236,1390,1606,1880,2162,1550,1050,1322,1812,1576,946,883,985,1164,1816,1828,1560,791,600,879,1434,1472,1482,1264,955,1138,1156,1330,1298,661,658,766,1130,1482,1772,1762,1626,1320,922,871,1226,1522,1416,1248,1610,2176,1674,1316,1518,1594,1512,1674,1676,1742,2042,2360,2620,2536,1964,1884,1528,1028,1044,1316,1212,883,849,959,766,1018,1458,1086,1274,1190,1418,1610,1512,1478,1854,2308,2108,1848,1856,1990,2008,1960,2092,2066,1426,796,588,653,674,612,778,866,817,970,1148,1080,769,611,558,513,532,894,916,1002,845,523,464,447,487,468,771,1498,1744,1680,1614,1574,1298,1052,994,1316,1522,1516,1338,991,1108,1490,1506,1322,1314,1448,1210,1162,1250,1094,1206,1250,732,797,901,1076,1084,996,677,822,1466,1902,1838,1682,1654,1598,1182,661,472,384,405,470,480,502,613,750,677,474,411,481,562,654,1074,1404,955,539,744,1090,1054,1048,1124,1134,828,761,868,696,719,583,788,1170,1032,705,808,799,610,449,546,631,659,869,1118,923,855,896,965,980,772,502,585,792,742,731,840,598,766,764,535,680,816,554,361,492,578,533,678,1256,1122,563,517,615,543,666,1013,1288,1338,2424,2950,1526,1394,1148,1098,958,1234,1364,1260,1280,922,641,786,1066,1168,861,650,697,638,576,437,832,1092,989,1344,1140,584,588,1050,1270,1210,973,644,589,643,457,493,808,637,387,666,1138,959,597,575,733,937,772,702,713,520,321,583,714,638,749,612,570,553,468,488,679,689,482,430,488,438,475,756,860,774,741,509,704,545,474,366,352,454,528,399,296,356,359,379,534,634,459,357,419,468,475,448,481,458,371,393,446,463,426,349,485,1146,1098,1462,1146,468,344,509,813,849,584,321,382,789,625,490,619,511,668,984,1080,1042,933,844,852,786,695,375,375,457,463,452,369,428,933,1372,1666,1524,567,393,584,1122,1282,1448,1216,1220,1228,1023,639,623,874,825,642,579,674,771,855,645,442,862,1028,984,1180,1182,872,648,599,481,414,517,594,607,404,343,386,414,408,428,538,520,429,432,436,376,390,255,271,270,321,405,496,595,683,692,635,554,475,460,432,401,437,444,593,726,533,334,395,516,623,641,532,455,436,481,489,492,478,597,858,955,702,747,1166,1376,1458,1648,1610,1384,1024,1260,1316,868,686,593,723,742,589,834,884,897,1030,1086,1012,1042,1276,1342,1498,1346,1054,1142,850,390,386,368,444,679,882,696,854,655,811,1384,1642,1312,1010,620,688,987,1070,1400,1360,999,857,786,882,885,676,992,1592,1410,1244,1566,1376,1376,1302,972,689,1238,2406,2124,1110,841,621,580,1072,709,623,803,632,481,394,395,410,612,889,796,547,491,433,416,361,343,402,674,872,962,698,493,567,778,1136,1212,908,816,1036,959,1076,1036,725,549,628,842,866,932,1118,1388,1074,1232,1216,912,825,654,977,1230,912,852,995,703,436,425,383,333,345,341,568,946,744,443,495,644,750,1032,1466,1036,802,1274,1234,1282,918,931,1172,1116,986,917,520,608,947,1054,1046,1262,800,480,594,807,556,389,444,867,1146,1474,1930,935,1046,1116,988,1322,1238,1156,1108,794,584,507,480,460,464,438,434,426,438,440,389,358,338,375,398,387,386,371,355,336,344,324,353,348,351,349,346,379,399,521,890,991,716,447,557,691,686,639,590,611,562,389,302,339,298,229,261,301,371,380,503,505,422,342,422,529,446,332,329,389,455,372,440,616,637,686,818,834,905,665,405,387,310,290,388,599,631,374,375,380,400,522,593,409,570,959,835,749,965,680,697,1210,819,625,784,966,631,448,515,905,1252,495,509,917,1286,965,932,658,642,736,827,800,597,344,509,544,401,400,524,656,662,650,644,586,512,460,386,383,595,908,949,775,819,770,485,410,532,702,664,534,555,479,611,823,351,440,675,597,413,373,470,402,320,345,368,411,380,464,563,446,369,360,622,501,324,252,462,673,641,524,478,685,1040,1104,1310,1354,746,588,751,1092,1486,1412,1268,1470,1622,1576,1506,1354,1140,1084,1028,1282,1428,1402,1038,633,783,962,1003,881,731,1238,2876,1578,647,700,618,587,926,1040,778,504,489,468,405,494,760,1010,912,784,1026,990,930,1020,1086,1048,972,1256,1190,1238,1262,1274,946,521,410,726,810,485,545,1072,1320,1172,1288,1110,875,1066,1052,997,1084,990,1023,907,722,636,633,920,1534,1272,1134,1896,2234,1722,1256,1094,904,878,860,714,605,774,937,826,408,376,334,528,676,646,559,697,1236,1526,1112,543,1028,1342,1100,907,956,932,810,760,764,1220,1568,1438,1200,830,894,943,709,899,1378,1256,1020,1072,982,879,822,1019,1026,911,954,560,611,807,830,1026,855,644,742,910,1228,1080,907,1076,1050,771,598,724,1013,981,726,537,537,466,417,336,336,404,525,1272,1908,1900,1448,1398,1528,1466,1618,1842,1622,1352,1318,911,967,1422,1152,870,794,739,660,818,1003,948,678,604,802,1340,1622,1498],[1110,1094,1056,1190,1368,1254,969,751,623,748,1148,928,693,1070,1302,993,823,556,609,484,312,319,466,649,861,618,401,569,811,1236,1522,1190,1094,595,490,498,843,767,976,1012,805,552,549,416,458,437,423,336,353,416,416,429,499,573,599,638,1030,1136,783,775,491,597,582,484,433,457,438,418,577,893,888,1007,1150,1015,1026,1328,1408,1258,1346,1292,1240,1622,1536,1422,1300,865,685,862,939,568,636,977,766,481,345,349,452,476,658,1042,1224,1204,1526,1434,1048,928,777,844,1128,1160,1300,1252,1216,1234,890,1108,1454,1792,1482,1642,1720,1192,702,810,831,880,783,737,609,441,442,372,434,483,402,304,318,376,420,414,673,1120,1306,1208,1188,1048,683,665,904,583,636,766,1006,1124,886,529,414,383,309,327,313,302,309,338,312,268,280,345,348,332,346,371,539,877,995,1364,1184,1218,1296,1112,1280,1286,998,615,375,423,782,1142,975,625,484,406,386,413,473,780,1600,1380,990,1094,865,655,821,1186,1052,1074,1268,1592,1178,680,702,621,647,1014,1366,1040,1344,1120,1212,1248,1368,1502,1344,1026,730,567,619,697,717,1126,1272,955,1084,1606,1504,1009,863,993,1013,1013,1244,1352,1448,1064,1238,1344,1200,1136,1042,663,444,487,497,447,625,982,913,1354,1216,1208,1010,1060,1104,858,977,1060,1360,1738,824,752,1140,956,481,345,380,719,1354,1086,713,1496,1676,1086,896,810,725,677,708,608,548,1130,1420,880,1200,1448,832,620,654,921,736,995,1016,1514,1346,1244,1266,1332,1466,1254,1344,1494,1228,1250,991,928,821,956,1088,1306,810,425,406,385,370,456,483,471,466,536,625,984,1182,1162,1168,1196,1023,976,1452,1398,1110,1021,959,1070,1118,1170,1110,1136,1078,1332,1484,1454,1208,863,846,1108,1334,1284,711,518,643,1078,1202,1056,1268,1406,997,578,595,886,965,996,703,451,525,647,1186,1428,1338,1420,1308,1352,1256,922,948,965,1316,1128,863,1022,1174,1244,995,808,1030,1364,2004,1812,1306,1338,1192,1120,1232,1324,1292,1206,1272,1332,1100,1128,966,816,969,708,1234,1366,1174,1314,1320,1448,1392,1176,1384,1750,1696,1196,1044,1278,1208,1314,1042,940,1448,1554,1308,1144,1034,1116,1434,1486,794,809,1350,869,776,1228,1068,775,955,949,869,862,922,1080,1246,1296,1412,1504,1626,1452,1444,1692,1404,905,583,434,428,525,667,480,392,422,474,442,554,1072,1009,487,602,888,1196,1246,903,953,1326,1366,1772,1372,946,913,1288,1042,495,489,568,569,480,850,1086,1434,1236,1264,1592,1616,973,893,1648,2332,2076,1146,1122,809,440,440,796,736,612,702,1206,1710,1628,1478,1404,1402,1230,869,993,1402,1576,1284,1170,1126,1142,1106,1106,1208,1106,1002,991,882,672,672,418,940,1334,663,417,463,620,633,354,359,313,275,294,633,885,483,520,681,722,753,552,408,405,835,1050,1021,942,1188,1404,978,695,1270,951,348,412,454,506,559,708,1022,1018,1114,645,389,586,647,622,653,824,1148,1096,541,415,689,1172,1264,932,1022,1200,885,634,837,962,1052,1150,854,758,749,908,1028,1170,677,551,846,1036,941,856,619,530,882,1136,1410,1362,1052,1146,1168,1136,1204,1158,1290,1176,875,1126,1062,1184,900,836,702,648,671,653,587,474,561,858,810,558,636,807,538,894,818,1190,1132,891,592,483,533,399,455,461,378,470,720,995,786,431,556,495,413,420,422,352,338,343,421,446,537,908,915,545,467,774,858,961,918,681,834,581,594,576,634,894,795,497,484,596,647,750,932,1036,1166,1144,631,717,1200,1418,1312,1234,1272,1432,1001,1184,1820,1550,1001,775,758,618,751,1526,2024,1706,836,587,908,1284,1320,1076,752,883,1238,1142,1240,1492,1018,811,1007,1246,1910,2434,2498,2502,2348,2110,1872,1992,2046,2076,1974,1892,1934,1256,1382,1508,1376,1262,1346,1538,1664,1822,2608,2810,3134,2520,2114,1282,1032,1064,1092,1028,941,1021,968,695,1096,1162,1338,1382,1018,1296,1488,1334,1368,1802,2172,2092,2032,2360,2302,2046,1864,1980,1770,2028,1310,727,658,691,666,600,612,887,1154,1114,769,610,785,744,718,741,1120,1544,1598,1034,572,464,472,442,457,702,1530,1886,1574,1530,1244,989,1416,1956,2236,1770,1650,1506,1442,1470,1500,1554,1376,1300,1454,1350,1356,1534,1310,1174,1366,1006,1428,1588,1504,1318,1106,803,670,1023,1622,1786,1440,1448,1042,557,459,502,492,433,435,564,682,665,577,473,401,382,592,943,1380,1686,1778,1554,887,868,1136,1026,1100,993,939,884,845,805,596,723,586,727,963,771,567,536,610,708,691,847,1104,946,789,950,874,722,827,825,597,536,532,639,641,552,690,933,933,924,882,899,1002,822,391,547,762,745,637,435,786,1378,921,537,469,686,1042,1202,1190,1274,2300,2918,1548,1366,922,1072,1174,1234,1464,1346,1210,1228,1038,781,1030,1072,969,872,772,704,539,432,555,676,1188,1560,792,581,1076,1210,1354,1456,1236,974,658,753,783,719,839,689,365,426,700,644,542,467,556,857,594,448,773,553,453,961,1106,1032,967,481,361,333,426,537,821,959,617,525,749,774,774,1222,1220,662,731,529,505,462,503,377,340,680,868,564,339,379,379,407,521,464,372,400,538,656,648,539,529,548,462,412,493,502,472,423,476,901,1220,994,458,386,664,921,840,584,570,326,260,384,636,1136,1036,528,531,561,607,1062,1352,1274,843,579,955,625,470,459,527,618,487,352,695,1104,1202,1100,523,346,346,755,1400,1746,1400,1076,1000,988,948,1172,1444,896,692,882,693,597,715,827,968,1128,1080,998,1098,1240,1070,883,513,304,343,440,356,311,305,331,343,374,369,351,380,386,363,409,445,383,280,193,243,306,390,466,547,631,716,758,619,558,539,519,442,415,476,495,533,709,669,390,410,422,438,337,327,356,337,368,504,521,474,543,658,578,415,462,610,985,1626,1736,1688,1506,1232,1124,1180,1170,777,426,481,503,578,916,807,723,758,1018,869,813,1104,1060,1166,1318,845,830,854,517,415,404,780,1354,1654,1036,623,693,612,1084,1600,1354,1266,634,583,1244,1652,1854,1516,984,791,753,750,625,644,753,1060,1094,1146,934,1128,1700,1414,1262,860,868,1224,1017,1192,1328,836,1046,1670,1230,999,1264,1066,604,481,591,344,484,864,1206,700,378,353,412,497,434,375,505,629,596,538,441,543,828,1018,571,752,857,1188,1268,1052,698,576,768,1000,1058,1054,1116,1068,1236,1144,1238,1454,1642,1436,912,944,1400,1166,854,560,349,417,773,615,439,427,392,390,299,254,272,336,449,559,1060,1162,1066,1438,1506,1010,1056,1196,1186,1354,1332,1356,1500,973,676,726,755,891,797,692,527,624,647,370,389,489,738,916,1378,1904,774,592,983,1170,1320,1244,1220,940,692,780,551,454,422,417,375,454,432,417,415,431,399,344,361,383,387,393,381,379,393,391,413,407,373,342,340,344,377,398,462,775,741,623,466,509,658,680,611,589,540,433,381,410,420,268,250,278,299,306,411,508,432,347,310,466,615,462,332,354,399,373,358,451,554,486,670,1002,1328,1382,1036,868,772,371,326,538,890,843,502,378,422,387,505,446,512,1210,1246,854,888,1178,1210,1262,1306,811,546,916,900,558,436,436,1002,1570,623,373,838,1238,1300,1466,991,460,385,473,763,846,499,702,567,371,580,1076,935,596,540,638,568,483,503,394,428,912,1742,1574,1318,1164,794,464,590,1098,1252,775,614,599,581,792,912,517,849,1198,769,381,589,716,408,341,405,424,375,317,296,295,290,421,648,754,659,560,332,306,386,378,383,345,412,905,1294,1652,1838,1258,599,526,775,964,933,969,1268,1454,1492,1568,1568,1608,1250,988,1186,1378,1560,1362,946,1078,1084,1006,1352,1316,799,1564,1248,645,400,296,391,670,822,468,347,364,369,530,913,863,698,860,1090,1202,1212,1034,937,1001,979,1028,1606,1576,1526,1388,1086,762,722,830,864,520,518,934,1406,1326,1238,1070,736,744,827,653,650,1019,1276,977,838,904,844,1068,1482,1806,1360,1910,2314,2058,1510,1272,1068,1034,920,669,634,704,677,730,568,368,321,295,281,405,517,596,818,1152,1568,1276,687,1042,1224,954,785,838,1138,1432,1256,1046,1156,1694,1822,1198,935,929,747,538,729,1130,1232,1056,914,1090,1446,1510,1536,1023,1112,889,567,1052,1600,1610,1526,1290,946,855,1082,1262,966,716,867,800,518,443,556,700,858,962,1204,1016,482,401,375,401,404,755,1364,1596,1362,1164,1278,1388,1436,1682,1686,1492,1446,1184,1090,1142,1326,1130,907,785,567,524,871,1280,1284,774,582,807,1332,1614,1346],[1256,1140,1090,1218,1222,1076,813,557,673,647,544,620,625,774,1152,1052,894,579,614,603,518,680,803,689,847,697,554,754,928,749,866,1092,1108,582,478,634,1026,1338,1322,1054,870,993,1072,383,374,367,354,304,350,475,484,555,635,766,1070,1568,2014,1676,917,970,672,788,579,461,427,406,520,819,983,946,922,1094,1036,882,729,698,1058,1338,1256,1180,1134,1240,1266,946,592,489,630,865,908,744,742,1026,774,593,505,419,514,534,609,749,927,955,1030,657,771,905,745,699,1068,1120,1294,1384,1346,1600,1388,1220,1456,1440,982,1132,1408,796,576,846,909,968,1026,1092,853,428,428,525,444,416,388,305,281,328,396,408,460,698,808,660,624,449,433,738,777,611,555,736,1160,1144,630,426,301,312,331,357,349,303,303,269,224,198,235,307,342,341,370,412,689,1306,1520,1622,1286,1224,1432,1346,1438,1436,1042,639,457,537,755,888,698,444,393,372,390,456,433,866,1730,1588,1332,1130,1334,933,1005,1394,1410,1428,1506,1612,1230,799,929,592,544,735,1118,1286,1770,1782,1352,860,1192,1682,1598,1560,1268,537,573,661,736,1160,1226,1003,843,1194,1256,1134,1314,1116,871,981,1013,1256,1410,1130,1284,1422,1366,1278,1100,744,508,494,444,350,489,1038,1242,1440,1250,1274,1112,1226,1382,1094,926,607,733,1032,864,1226,1822,1174,508,432,508,644,908,663,971,2168,2230,1426,975,925,988,954,716,656,766,1388,1550,1262,1428,984,551,660,966,780,649,912,856,1282,1528,1860,1730,1562,1346,669,880,1086,1010,1344,1414,1284,1160,1128,1170,1198,823,607,575,556,596,878,659,447,408,482,510,722,860,826,786,1038,1021,959,1650,1472,1186,1378,1180,1204,1360,1266,1278,1154,1080,1404,1692,1618,1136,1036,1216,1266,1324,1378,1182,760,669,854,1056,853,794,1394,1572,904,738,1152,1294,1014,777,763,940,1144,1388,1366,1482,1462,1356,1692,1614,1194,1300,1484,1422,979,907,1160,1144,1007,1009,1038,1040,1021,1152,926,1058,1296,1190,1212,1156,849,1036,1304,1362,1304,1130,1252,1021,941,1003,969,1310,1218,1200,1536,1470,1352,1194,1028,1394,1848,1734,1032,1324,1456,1306,1320,1184,1124,1296,1306,1150,1017,992,1118,1232,1704,933,684,1042,877,1072,1308,1222,1176,1142,1148,930,738,793,875,1022,910,1068,1500,1604,1202,1460,1664,1426,1002,633,440,491,446,564,576,484,554,585,552,613,865,716,417,430,458,574,675,575,628,940,1282,1584,1434,900,1096,1700,1048,441,484,385,369,596,1268,1404,1346,1058,1017,1502,1488,1132,1416,2402,3392,3278,1672,1418,1172,809,1032,1242,995,850,861,1186,1648,1206,653,692,796,947,735,837,1560,1520,941,702,591,661,847,1328,1696,1726,1308,1360,1010,703,674,548,654,693,622,532,460,472,529,364,374,526,619,548,1028,1088,736,776,587,577,824,799,564,589,1180,1038,1042,785,879,862,558,678,1024,893,510,368,407,463,454,450,486,630,792,522,511,778,769,608,635,830,931,955,935,818,1076,1574,1600,1254,1116,915,745,606,691,942,1138,1020,1023,1074,864,992,1076,988,857,964,951,1000,1050,862,666,571,670,603,1128,1046,987,1008,1018,1142,948,820,1048,1212,1212,1448,1120,1214,1302,1270,869,789,931,788,669,754,633,870,871,535,547,731,631,1104,959,753,739,833,827,592,544,539,711,439,394,700,1088,914,465,328,313,324,317,341,386,329,310,331,345,374,550,641,582,489,488,755,674,668,901,1142,1416,852,798,772,803,962,841,705,885,1222,1112,656,789,1198,1120,1092,532,598,1178,1432,1518,935,474,509,419,629,929,756,844,1062,1086,791,681,982,1508,1628,1023,656,828,1234,1512,1334,1060,1158,1158,808,661,842,1238,1268,1180,1410,2026,2288,2454,2590,2688,2648,2524,2732,2500,2640,2398,2194,1742,1406,1524,1198,1186,895,909,1092,1254,1900,2646,3074,2952,2216,1744,1348,1350,1326,1064,1034,1020,968,791,807,1114,886,1256,1578,1526,1534,1416,1384,1584,1716,1762,1904,2128,2342,2308,2204,2178,2058,1952,1858,1444,1056,694,646,641,600,594,821,1014,797,539,580,684,973,1260,1488,1944,2184,1594,1224,942,562,479,455,464,739,1652,1634,979,959,1386,1992,2698,3260,3648,2746,1844,1490,1544,1554,1410,1500,1516,1276,1378,1374,1380,1236,937,1023,1232,1406,1498,1400,1410,1244,1214,1250,1026,883,1274,1466,1296,854,507,454,449,461,488,560,704,763,627,459,428,426,515,688,997,1318,1584,1788,1900,1620,1134,1088,1110,1088,995,1064,989,904,884,888,749,564,416,565,673,575,549,760,954,1116,1022,1064,1130,1114,999,1013,929,744,744,733,599,576,623,709,631,549,522,727,912,874,792,747,934,839,517,613,766,733,470,289,328,907,1196,831,502,827,984,1092,1152,1290,1782,2200,1306,1134,811,821,1108,1300,1322,1060,816,1046,1432,1252,928,745,861,864,808,698,583,437,413,550,874,844,906,1128,1306,1076,1408,1472,1090,745,666,1040,1248,879,838,625,614,454,625,669,452,700,927,1288,1222,830,772,570,495,639,718,865,908,870,566,351,428,506,824,964,555,461,586,668,599,864,1294,1010,724,458,399,594,735,530,494,582,532,513,377,379,386,413,458,458,397,443,653,849,781,672,656,604,522,425,358,380,399,512,429,578,1150,1204,893,722,1078,1216,901,449,539,587,619,747,995,1218,912,539,568,550,470,981,1542,924,543,429,735,762,666,486,507,605,513,382,358,482,561,624,964,661,346,456,972,1384,1238,905,796,853,1152,1372,1302,788,598,792,641,624,803,1098,1102,717,580,684,821,1224,1250,1244,711,394,392,498,610,616,469,406,346,373,398,374,314,332,314,384,340,271,250,321,397,390,403,442,528,669,713,740,631,570,550,565,496,441,508,543,544,634,752,543,477,408,377,343,358,380,390,451,546,489,468,517,514,436,416,448,538,776,1376,1488,1466,1516,1356,1030,1052,1262,1142,675,466,489,644,667,673,1026,937,890,895,683,945,863,1018,1212,954,950,1148,1056,606,368,827,1462,1544,1112,1028,724,482,611,1202,914,1040,920,1160,1810,1736,1216,984,800,797,1066,1060,673,628,667,650,757,962,1066,1628,1338,967,1007,680,979,980,1002,1566,1046,879,1348,1418,1038,554,618,908,829,623,529,386,502,982,1394,700,462,901,1306,1012,528,498,530,648,985,931,530,397,524,567,414,397,543,970,1046,656,349,455,814,1106,1114,891,955,954,912,1058,1236,1504,1596,1284,795,727,630,830,1106,1680,1256,1009,1562,1015,414,584,824,885,611,402,297,294,361,369,619,742,1498,1712,1021,471,623,1064,1134,1354,1244,856,1098,1246,869,954,800,837,1080,1042,780,702,789,705,615,476,644,874,1144,1448,722,674,1260,1120,777,992,1226,1522,2536,1864,723,477,488,445,522,567,495,445,433,469,460,393,350,344,372,357,373,408,413,416,469,493,419,357,371,344,354,393,458,666,660,580,642,680,687,692,642,600,517,377,343,381,336,238,253,262,249,230,415,450,384,391,327,412,517,393,357,374,384,363,396,575,638,570,793,1238,1578,1538,1466,1570,1334,695,575,673,977,1140,673,384,449,363,356,332,490,1084,1186,1004,1026,1428,1364,1296,1274,694,697,1192,905,516,393,420,741,998,530,365,437,487,797,813,461,332,367,491,937,943,519,630,789,580,827,1306,1076,697,524,589,491,404,419,393,400,1002,1444,1138,1068,984,616,396,720,1330,1284,820,584,560,683,872,819,664,1236,1478,688,377,615,709,367,279,335,372,331,306,269,312,334,429,617,739,848,744,436,285,336,346,308,285,410,519,752,1176,1560,1348,615,424,394,521,853,1056,1036,902,1196,1504,1340,1670,1688,976,913,1456,1554,1638,1372,1478,1672,1050,1238,1398,946,919,1082,985,618,534,424,543,574,352,293,321,606,952,1220,926,665,1132,1460,1312,1188,1140,1180,1150,851,818,1136,1450,1446,1234,946,1032,1118,888,552,580,1058,1246,1208,1021,1098,982,572,545,689,727,806,1288,1472,1098,1104,822,620,582,1002,1280,1654,2098,2106,1622,1188,1015,1384,1870,1678,989,702,733,714,674,590,378,292,340,408,533,504,422,583,784,902,597,811,1212,1138,913,808,1074,1504,1556,1170,979,783,800,788,549,582,568,555,756,943,902,894,1018,1368,1244,1300,2126,2316,1492,1316,759,586,1024,1270,1088,1120,1240,1320,1268,1202,882,550,390,449,644,756,817,775,848,595,1082,2038,1686,955,670,606,468,405,881,1476,1502,1108,1082,1284,1360,1400,1630,1524,1302,993,1256,1278,1118,1302,1062,750,574,288,307,750,1096,939,513,589,948,1450,1482,1332],[1212,1214,976,977,1366,1460,1140,903,876,849,608,559,636,847,1542,1710,1068,571,546,929,1046,1488,1644,1066,1122,866,793,978,983,617,477,808,803,564,449,708,894,971,1162,1072,979,1001,697,378,303,294,345,319,355,477,486,514,621,754,1360,1792,1606,1230,1090,1262,1394,1456,1814,1568,566,490,731,1462,1526,839,902,1100,1058,930,521,420,526,743,1072,1294,1320,1450,1504,941,603,698,662,780,745,780,909,959,810,703,594,514,511,463,599,480,486,431,394,403,642,1144,991,799,1554,1810,1636,1786,1780,1998,1704,1384,1478,1714,1202,1280,1832,1368,757,699,834,1021,952,927,665,432,375,422,439,442,436,318,259,281,352,358,426,561,419,412,373,545,633,638,518,413,403,695,1188,1098,463,347,288,320,329,314,309,300,289,262,240,253,281,298,303,314,466,802,1500,1848,1930,1822,1494,1302,1150,1172,1498,1328,962,673,441,477,699,742,962,1258,790,451,497,507,540,978,1562,1460,1374,1118,1210,1084,1196,1658,1844,1554,1350,1414,1360,1056,1042,637,484,1058,1432,1432,1420,1096,801,746,1088,1350,1508,1786,1406,634,532,632,760,1122,1360,1368,1214,1140,1060,991,1508,1120,847,940,681,1186,1262,1146,987,1054,1296,1186,1122,1158,1054,724,697,625,663,1114,1206,1194,1280,1226,1130,1342,1100,947,872,502,485,440,545,904,1310,943,512,620,726,579,568,605,756,1246,1628,1476,969,949,1104,1216,1294,1240,1026,1256,1436,1316,1032,781,524,1004,1544,1390,1192,1230,1066,837,995,1210,1336,1716,1380,637,616,616,1038,1042,1021,886,1009,1088,1326,1592,1352,907,725,552,532,681,598,461,452,473,457,507,612,619,695,1074,996,736,841,871,969,1776,1384,1220,1198,1302,1682,1252,988,1222,1514,1316,1112,774,1026,1212,1276,1210,842,841,1032,941,1238,1058,773,1510,1678,1116,1094,1206,1282,1186,1004,1066,1238,1368,1212,996,1288,1162,1262,1328,1166,867,821,921,819,720,715,727,921,1276,1390,1104,697,913,1064,827,912,1262,1358,1200,1034,988,1011,1158,1336,1186,1056,1196,1278,1216,1184,1302,1218,1076,1406,1554,1338,1458,1068,1005,1422,1876,1674,746,816,1120,1122,1060,1038,1128,1214,1192,1058,1090,992,1136,1206,1790,1246,978,1202,1322,1444,1434,1348,1206,1196,1288,951,704,827,778,631,620,818,1098,1021,1118,1288,1246,1360,879,741,609,586,580,855,1010,852,814,774,657,635,480,428,381,368,439,458,410,430,465,583,703,791,921,813,861,1106,747,714,659,547,434,441,797,1216,1354,1228,1470,1776,1752,1730,1898,2416,2968,2546,1622,1358,1350,1252,1308,1196,1152,1326,1192,1004,1288,805,583,728,610,629,604,797,1576,1604,954,875,1086,998,761,796,991,1472,1318,1226,838,760,937,781,904,1452,1334,724,480,494,606,483,641,1102,1102,713,1136,1100,567,465,317,297,392,326,249,619,1360,1370,1106,785,853,739,570,792,1074,1084,699,392,430,454,461,377,368,315,301,330,460,650,536,398,574,760,725,966,1080,1114,1092,1450,1244,811,732,777,795,691,775,1334,1440,893,869,833,941,1080,1080,1048,1052,991,823,1052,1206,937,1156,936,647,1046,1300,852,903,903,995,1110,872,658,563,557,727,894,674,534,603,653,664,913,1138,1038,952,1036,925,1344,1020,843,761,868,990,1180,1118,1136,1396,996,1040,953,749,579,872,651,832,1566,1900,917,391,576,478,405,571,734,505,377,271,324,415,455,558,453,435,659,658,495,404,573,588,1110,1140,900,890,592,623,1112,1274,1032,1350,1550,1274,976,1080,1048,877,1001,803,893,1030,1130,1124,760,469,397,388,411,469,630,692,769,1082,879,974,1021,1136,1582,1286,844,929,1162,1106,996,858,899,887,647,528,637,1202,1614,1422,1794,2374,2376,2436,2458,2482,2598,2674,2824,2402,2292,2358,2408,1816,1516,1502,1120,1276,1064,989,959,1350,2274,2746,3106,2706,1946,1558,1528,2032,1952,1694,1414,1140,981,688,1156,1092,1034,1432,1432,1572,1576,1522,1634,1618,1472,1416,1636,1908,1854,2086,2194,2164,1952,1780,1838,1760,1642,1126,653,598,641,576,592,700,613,538,566,630,930,1688,2276,2806,2702,1804,2036,1804,893,506,536,500,644,786,794,1442,2430,3308,3824,4312,4752,5268,3872,2136,1532,1658,1772,1404,1322,1594,1298,1298,1388,1346,1182,1050,1210,1576,1892,1602,1178,1060,944,935,1078,1320,982,916,659,416,407,463,460,467,525,641,775,882,894,551,459,543,714,989,1188,1368,1616,1686,1870,2084,1804,1456,1214,1104,1126,670,780,1038,1084,929,903,819,508,354,445,568,670,720,1038,1080,1108,1058,1018,995,1007,1038,1013,1062,1058,786,754,764,656,874,1238,923,705,574,511,692,897,933,515,486,795,1056,733,708,492,308,318,271,612,1340,1428,808,662,561,896,1260,1338,1402,1534,1228,1060,979,1023,1162,1358,1026,896,840,852,1322,1460,849,634,843,983,850,683,576,505,588,526,825,979,1390,1202,834,834,1310,1444,1142,822,615,1054,1192,674,1024,1128,963,696,957,948,520,695,1013,1282,1354,895,590,369,359,514,693,670,504,583,651,573,503,547,569,876,691,438,649,679,449,586,887,1000,753,399,382,680,1132,627,453,417,339,401,387,362,397,387,384,376,377,433,744,1382,1294,848,708,642,648,536,431,450,400,354,354,530,644,747,929,1156,1342,1262,685,367,370,605,666,403,403,487,453,783,1188,1258,822,701,1088,650,396,429,387,610,792,423,389,493,480,491,359,325,552,853,1288,944,452,372,651,1020,934,480,555,750,1166,931,616,698,469,561,542,455,626,711,593,498,548,704,706,965,779,530,384,434,662,814,1038,847,445,636,461,365,383,310,216,249,280,299,242,270,344,397,465,442,427,433,538,749,799,779,698,626,601,605,547,462,467,461,529,562,708,613,445,435,426,391,436,516,506,540,607,559,493,533,700,539,422,437,859,1054,1122,1274,1484,1698,1582,1200,1080,1220,1530,1090,576,386,556,816,909,1254,1232,912,909,1042,1306,810,815,1060,1094,1130,1222,1164,840,500,436,623,577,1054,1488,680,437,418,653,733,652,681,1252,1588,1174,661,473,682,1100,1444,1296,818,698,930,1114,1246,962,1138,1200,730,937,1180,717,698,1216,1490,1366,1130,1366,1450,1372,857,537,652,695,772,779,724,758,982,1222,1208,987,877,1172,1510,1248,744,899,912,840,882,682,561,389,404,457,672,826,615,607,989,1046,715,768,933,955,661,557,1030,1268,1032,955,1054,1356,1364,893,757,807,624,1172,1594,1618,1224,1572,1628,905,977,1738,1810,1730,1268,990,670,416,349,346,413,451,606,674,505,352,456,897,808,872,765,587,844,1312,1222,1136,1252,1366,1150,818,905,870,1046,1542,1158,660,1100,1512,1194,960,650,576,961,1112,1474,1316,1552,2776,3984,3348,1432,502,459,537,638,524,517,502,487,508,484,441,389,352,360,401,408,411,405,393,429,467,440,400,372,363,363,435,569,636,684,621,668,763,744,761,719,557,533,457,357,306,267,269,260,266,256,286,387,344,338,412,414,489,554,457,653,525,346,338,575,807,686,612,1128,1650,1540,1112,1124,1468,1604,1294,854,583,601,673,567,462,361,346,457,418,631,1104,1234,1258,976,733,637,824,1090,1220,1366,1096,1078,659,445,492,484,466,431,494,602,751,742,684,466,411,565,696,1204,1190,630,418,868,887,835,1066,1170,1114,509,467,443,528,735,686,592,977,1126,819,980,976,599,810,1358,1296,1236,1186,894,818,991,995,904,730,811,760,372,448,474,457,456,725,953,573,257,265,235,259,298,310,315,471,815,608,343,289,337,342,270,243,438,495,469,596,962,1306,795,366,305,478,836,1060,764,473,650,1020,1236,1356,1550,1684,1864,1958,1440,1490,1578,1146,1352,1019,1076,1290,1070,879,1282,1422,1110,953,998,901,708,509,428,701,1122,1194,1192,1050,926,1290,1312,1268,1062,803,969,885,727,966,1122,1086,1200,1284,1340,1434,1080,665,616,1056,1464,1294,952,728,793,805,590,596,1218,1268,1194,1608,1318,656,658,637,497,675,960,1056,1414,1816,1558,1138,1007,1174,1744,1848,1914,1302,760,597,565,578,524,379,360,372,521,648,584,433,393,465,586,529,860,1356,1324,743,760,1388,1468,1076,961,735,717,550,636,644,719,902,731,743,902,832,879,743,789,1044,1106,1506,1570,1412,1282,875,698,724,566,408,450,919,1318,1318,1030,797,537,413,929,1370,1252,1212,1038,991,839,1106,1500,1422,1054,1238,1386,1046,766,1080,1792,1900,1376,1300,1360,1262,1250,1396,1498,1366,1178,1292,1001,1104,1222,880,497,444,309,277,392,363,225,347,698,984,1198,1036,875],[1396,1552,1166,990,1170,1158,1198,1356,1220,896,636,487,394,619,842,939,748,562,563,1017,1480,1622,1466,1272,1466,1000,1058,1474,1120,771,601,597,695,588,498,669,572,445,742,1142,1334,1124,604,433,387,358,372,379,412,464,447,505,603,555,1022,1166,854,695,1130,1554,1588,1588,1958,1552,952,827,793,1498,1262,651,887,1160,1228,945,570,346,385,554,749,1072,1448,1666,1562,1224,741,1112,1036,928,744,673,746,479,417,393,419,362,305,306,417,398,379,393,461,433,600,1100,1013,891,1774,1738,1546,1488,1610,1674,1378,1394,1444,1340,874,1350,2320,1672,1082,814,872,872,686,739,547,380,343,322,280,393,461,313,229,236,301,286,291,312,295,293,312,378,626,687,380,365,325,482,1018,1106,511,360,304,370,340,310,322,314,321,256,239,242,278,249,257,291,467,1086,1754,2100,1930,1476,1320,1350,1278,1214,1448,1376,810,483,385,518,1009,941,1576,2054,1021,625,697,762,671,951,960,1328,1506,1310,1228,1246,1236,1302,1322,1252,1020,1274,1578,1640,1096,641,482,844,1118,1188,991,1058,1318,1106,1202,1072,1570,1506,1280,747,468,596,1038,1622,1648,1432,800,409,522,794,1258,1144,808,712,737,1122,1422,1366,1202,1512,1770,1312,1310,1007,1056,952,1020,959,958,1026,1023,1200,1350,1402,1336,1310,1122,1030,629,406,416,483,561,873,1182,916,558,506,708,603,702,565,902,1272,1478,1376,1080,865,1058,1546,1588,1454,1216,1442,1192,1212,1394,1146,979,1702,1770,1514,1390,1294,1464,1630,1072,509,563,783,659,573,809,949,858,717,550,465,602,863,1374,2056,2114,1446,656,554,595,836,852,658,505,471,467,414,555,1108,1312,996,697,813,662,667,736,993,1096,1154,827,1082,1562,1066,991,1372,1388,1224,1336,1188,959,1012,1174,1098,774,1050,1078,921,1700,1470,897,901,781,678,959,1372,1526,1470,1250,1128,1252,1468,1396,1038,1060,987,1046,946,605,566,658,615,686,528,402,373,546,1001,1238,968,974,1268,1112,778,637,960,1264,1196,1348,1362,1172,1096,1328,1146,1336,1542,1542,1338,1178,1050,834,833,1148,1198,1106,1296,926,1019,1428,1844,1466,662,438,714,1228,1398,1084,1254,1476,1424,1202,1224,1214,1390,1298,1596,1474,1360,1488,1412,1264,1238,1272,950,1040,1020,684,475,505,697,820,849,882,844,719,742,937,1362,1262,1003,1156,973,777,848,1116,1144,1066,1058,1052,866,597,498,506,464,496,568,515,462,453,430,388,359,422,518,722,881,786,837,960,735,547,407,495,666,776,994,1098,1606,1750,1354,1514,1732,1654,1508,1354,1370,1608,1460,1086,885,747,1070,1023,878,905,1724,1640,1092,1118,769,369,437,722,1184,1284,1166,1064,1266,1138,778,674,671,977,1028,1094,1042,984,1086,944,1296,1340,1032,701,653,786,852,789,916,921,565,591,1094,1040,582,474,377,304,331,303,303,380,744,890,741,965,1260,781,511,795,1318,1560,1018,511,609,749,689,725,677,497,686,534,474,478,457,393,533,528,789,1168,951,785,1007,1206,1140,960,799,750,642,543,455,1086,1318,784,615,659,705,735,821,795,719,1130,1220,1212,1234,1060,1004,1042,890,1062,1088,950,930,836,983,792,1016,814,585,742,634,493,722,897,709,567,777,969,905,711,907,706,568,1002,897,869,775,788,806,1046,1136,895,1100,920,909,717,503,544,890,766,580,1062,1266,633,575,812,724,706,604,625,875,673,426,474,481,407,481,774,932,1044,926,519,381,357,329,644,857,1023,898,688,675,926,995,688,932,1054,1210,1268,1015,1068,1082,866,1032,1132,866,921,963,775,574,599,632,618,559,544,705,799,844,770,1074,1174,1136,1440,1222,1076,1232,1548,1362,1226,1314,1300,1106,965,1062,1222,1400,1250,1088,1636,2288,2520,2544,2614,2574,2636,2876,2810,2156,1832,2344,2500,1624,1742,1194,1082,1312,1268,933,1144,1700,1940,2254,2636,2232,1638,1360,1824,2500,2756,2608,1824,1358,1180,915,1236,1338,1310,1414,1278,1584,1570,1730,1860,1648,1366,1588,1626,1632,1932,2154,2242,1996,1570,1686,1724,1672,1764,1372,998,800,656,552,590,614,543,530,535,647,1080,2064,2622,2172,1444,1452,2232,2420,1496,629,617,548,555,996,1648,2830,3906,4400,4844,5172,4748,3754,2492,1726,1340,1358,1924,2004,1356,1570,1436,1318,1422,1100,835,1176,1572,1610,1502,1262,1084,1062,1108,1550,1860,1826,940,546,521,527,501,471,563,744,976,1234,1378,1438,1494,1050,838,1162,1510,1574,1574,1676,1686,1634,1886,1808,1542,1350,1390,1536,1144,559,667,995,1018,959,1154,838,560,619,988,1240,1046,1106,1108,1042,1028,888,904,901,956,1002,1090,1156,1144,1012,1009,998,1008,1488,1706,1398,1202,800,554,724,755,859,685,534,844,1001,807,522,323,342,433,455,480,966,1598,995,655,755,1188,1288,1238,1052,1168,1470,1092,919,1638,1502,1078,667,925,964,918,1026,1332,1202,827,740,901,763,531,437,700,869,620,1098,1013,549,591,938,1352,1588,1500,1338,1232,1400,2030,1646,807,1130,1304,865,541,832,1060,562,517,792,782,937,860,536,335,414,535,664,528,315,173,406,613,473,545,455,835,802,473,622,632,469,647,694,648,780,495,432,615,1044,533,377,388,469,565,586,552,415,361,379,351,347,406,758,1088,821,679,669,661,582,540,601,661,623,489,439,541,438,513,786,1240,1122,908,689,554,414,396,562,511,433,522,973,1820,1638,1612,962,484,591,594,488,417,262,339,526,403,452,512,555,658,592,385,448,663,688,512,369,324,364,667,1010,641,507,644,843,606,941,947,379,348,372,422,417,449,498,785,637,669,855,621,422,605,863,1026,843,647,753,610,975,1372,644,398,361,298,275,257,273,318,369,423,455,454,446,449,407,443,553,843,982,811,661,668,642,569,545,468,440,455,512,547,666,720,522,411,421,444,533,610,619,691,731,896,633,495,630,593,472,384,620,935,1298,1562,1542,1528,1436,1348,1246,1180,1332,1272,905,529,455,740,1196,1338,1194,891,849,1214,1120,686,943,1264,1404,1316,998,832,947,781,365,361,560,1324,1334,717,390,331,313,557,640,628,886,971,941,776,845,1298,1196,1172,1410,1086,932,1118,1396,1490,1308,1188,703,815,1510,1606,821,1002,1226,1334,1302,1362,1362,1124,1078,605,537,697,875,869,762,594,677,1019,910,1017,1428,1540,1400,1100,605,755,1506,1702,1646,1354,860,589,680,698,776,1166,1296,604,421,848,982,802,722,962,1098,872,840,1260,1504,1260,1250,1238,1036,1098,1202,1172,944,1054,1488,1538,1112,1068,1570,1276,968,1444,1896,2346,2154,1950,1832,1178,543,405,525,531,518,625,660,787,655,439,833,957,905,858,674,807,1284,1396,1032,1340,1710,1282,976,1040,884,1086,1482,1362,1656,1894,1792,1426,1144,904,626,531,1000,1932,1340,1328,2732,3884,4252,2530,767,382,692,1021,560,460,477,495,518,474,451,436,441,482,499,511,479,388,379,404,452,476,573,514,433,416,502,563,596,687,643,616,772,822,775,713,643,618,543,350,255,281,288,257,264,273,355,511,390,297,517,509,541,500,393,441,398,572,1112,1040,596,551,437,507,735,1152,928,964,1754,2172,1572,875,605,508,424,586,596,836,695,633,699,1122,1224,1114,1246,952,593,599,994,1432,1740,2042,1488,1766,1026,458,594,444,303,372,666,1078,987,823,815,465,487,738,797,947,846,499,459,897,1194,1066,1134,1772,1522,589,463,463,596,977,1098,891,997,1214,1108,1442,738,331,673,1005,1192,1600,1712,1230,1030,1228,1146,1000,831,512,512,660,561,518,519,973,1644,1958,1254,485,319,255,248,307,365,340,429,1140,803,351,319,311,316,344,357,402,426,470,414,491,1534,2014,969,574,789,1058,948,758,667,546,796,1376,1566,1824,1908,1716,2128,1566,1434,1730,1464,1298,1346,1566,1636,1442,803,865,959,1124,1522,1456,846,708,813,1018,1776,2046,1320,1240,1276,854,844,998,1316,1206,677,473,576,805,838,691,854,1220,1260,990,869,714,978,1194,1282,1356,1184,752,509,579,776,790,643,1326,1106,1236,1576,1056,616,601,582,593,1160,1748,1686,1216,1046,879,1026,604,992,1266,1760,1462,902,652,474,468,577,540,379,368,412,593,484,360,463,489,395,443,546,670,873,750,839,1206,1652,1488,1138,1006,949,886,855,1114,1009,868,1038,604,491,707,690,757,736,641,1096,1444,1804,1440,930,1328,1312,1146,1316,1036,670,444,611,1270,1356,1164,987,556,345,702,1158,1180,957,949,692,920,1038,868,729,841,1514,1648,1172,1124,1430,1528,1324,1166,1448,1584,1456,1482,1522,1498,1562,1918,1602,1296,1264,792,755,893,923,513,332,380,380,443,769,1262,1372,958,584,594],[1638,1560,1372,1366,1266,1240,919,1210,1184,931,1015,647,439,540,573,701,754,597,641,1222,1886,2008,1324,1142,1006,890,1340,1616,1162,1060,926,641,647,555,575,722,427,342,716,1140,1334,1026,533,399,417,354,386,554,558,498,447,438,499,450,610,691,695,669,888,1240,1534,1552,1210,1001,1021,966,785,1120,895,609,672,936,912,811,881,691,675,686,754,764,950,1426,1472,1120,842,875,782,832,697,782,943,523,397,422,329,292,313,372,417,383,349,389,408,405,475,714,844,960,1202,1412,1212,1470,1690,1674,1512,1448,1648,1356,791,1660,2592,1732,1174,1192,1262,1028,919,1078,1052,963,568,331,280,278,312,301,300,307,328,272,262,313,332,313,286,346,705,707,424,332,285,514,1144,1182,778,518,387,438,358,311,363,520,579,358,241,229,264,263,306,344,336,775,1548,1828,1350,1268,1324,1244,1322,1028,1150,1015,624,444,403,464,628,856,1406,1500,1042,1086,1184,1112,810,1038,889,1016,1212,1112,974,1154,1400,1320,1248,1354,764,719,1016,1594,1350,865,1018,1202,1252,1582,1506,2052,2166,1412,1256,1138,1102,1256,1510,1026,559,571,999,1640,1196,1004,593,601,581,648,1168,1150,622,519,971,1402,1250,1238,1458,1572,1308,1324,1108,580,885,843,888,904,703,617,824,1056,1032,1284,1430,1338,1410,1164,755,681,532,822,1184,850,919,884,706,647,1102,872,766,661,912,1244,1328,1050,1013,922,1060,1362,1534,1606,1532,1704,1428,1262,1316,1042,1514,2012,1696,1484,1138,1110,1554,1562,854,567,526,810,836,753,801,844,1130,1168,730,587,496,588,854,1468,1686,1042,629,672,650,720,906,964,631,490,438,408,488,1190,1550,1260,927,942,1162,1098,1060,1118,1008,892,714,700,1118,1344,1322,1430,1444,1318,1418,1428,1166,1004,1002,897,791,1196,1028,761,1758,1730,1144,675,569,517,901,1486,1376,1104,998,1354,1486,1312,1300,882,916,1013,1007,912,520,747,1122,1009,962,620,466,365,359,447,963,951,886,1052,1054,800,815,1252,1242,1344,1566,1290,1330,1322,1374,1202,1348,1526,1492,1338,1190,1136,1234,835,850,1036,947,926,828,986,1402,1788,1476,777,382,416,683,1007,969,851,1056,1142,1266,1040,1128,1328,1206,1322,1288,1170,1016,1020,962,1198,1372,930,1040,955,602,487,504,616,739,702,726,813,770,759,1098,1360,1202,1162,1318,1206,1726,2296,1170,1019,1098,943,780,769,571,523,540,492,461,516,479,429,449,446,380,354,422,466,479,473,476,996,1332,1110,777,611,687,775,809,1130,1154,1376,1460,973,933,1112,1322,1264,963,941,1194,1092,966,905,786,885,731,669,936,1390,1572,1364,1062,709,352,393,612,1090,1256,1402,1080,1032,949,686,532,516,719,942,960,1054,1294,1206,803,1168,1230,1080,803,905,1098,1080,1012,703,472,411,694,1244,998,822,773,650,568,570,435,322,381,522,436,389,888,1342,1170,586,498,713,1352,930,444,713,842,818,1228,1418,1252,1604,1014,818,558,464,427,495,515,665,808,897,901,855,957,1300,1228,1228,1026,836,887,764,791,885,905,761,501,476,573,692,738,868,1704,1664,1242,1170,1206,1240,1336,1232,1082,984,891,1006,1028,1102,1218,1286,1088,838,720,597,576,879,759,520,633,824,677,867,883,891,799,856,844,886,974,848,867,710,843,966,829,790,802,906,651,626,1234,1428,804,546,396,334,462,562,563,639,894,477,593,1136,783,596,727,661,494,494,712,936,1312,1130,714,569,392,472,868,1340,1268,729,619,663,496,448,380,583,869,1218,1238,1202,1132,825,559,761,1116,1064,973,891,880,890,913,923,980,825,739,897,1102,1356,1486,1678,1524,1218,1548,1720,1862,1752,1570,1326,1216,1120,933,836,912,973,875,716,621,1005,1614,2048,1904,2174,2608,2652,2788,2980,2570,1594,1594,2308,2202,1382,1480,800,768,1198,1240,924,1306,1508,1354,1606,1930,1848,1448,1098,1456,2222,2840,2404,1638,1744,2112,1856,1458,1474,1296,1276,1418,1460,1144,1398,1472,1494,1534,1678,1418,1554,1964,2016,2160,1836,1500,1500,1980,1726,1492,1528,1488,1196,818,584,590,491,459,473,525,1042,1594,2070,2492,1950,902,855,1682,2474,2156,984,615,515,484,1236,2524,4264,5236,5316,4832,3754,2514,1660,1326,1344,1218,1366,2850,3282,1712,1418,1566,1392,1178,916,921,1240,1206,1050,957,968,1162,1274,1332,1416,1262,1078,634,467,464,478,504,718,1042,1224,1274,1110,891,804,1124,1358,1426,1548,1606,1494,1618,1750,1718,1600,1576,1366,1476,1670,1760,1560,1006,728,881,1032,874,608,720,580,664,1506,2116,1962,1432,1228,1040,985,897,865,945,983,946,889,989,1050,1028,1204,1050,751,1006,1426,1440,1446,1378,1088,681,776,661,880,935,827,833,742,575,333,435,421,483,672,552,455,1106,1446,1070,1148,1612,1562,1302,1140,1310,1632,1382,1178,1606,1670,1162,691,819,1023,1082,1090,1222,1372,1202,678,558,518,544,835,911,828,782,917,767,1015,1494,2208,2510,1954,1556,1396,1110,765,1314,1774,1090,833,926,788,458,675,1002,461,440,611,1026,1298,1056,528,345,487,637,575,586,410,267,412,537,485,598,639,958,883,703,611,650,592,673,814,666,791,531,542,540,621,487,432,536,720,621,546,527,355,400,386,394,423,593,825,773,681,601,633,642,544,480,512,620,546,428,384,491,471,440,818,1166,808,562,756,1076,698,400,412,593,584,1102,2052,2602,1938,1262,733,447,756,857,667,634,427,334,346,568,548,356,434,650,570,393,371,297,241,264,365,498,379,415,846,835,568,695,1094,1256,1472,1023,468,420,645,912,573,582,621,669,395,366,604,669,692,860,976,816,368,245,299,742,1382,1116,546,396,347,332,314,318,349,383,441,438,447,472,466,404,364,393,528,882,926,647,544,550,487,485,516,455,457,467,503,539,594,686,620,403,417,475,477,656,841,868,873,811,583,479,543,594,549,477,440,672,1284,1580,1510,1488,1410,1534,1490,1270,1282,1556,1618,1234,641,536,982,1132,1068,1180,1298,1058,921,728,482,805,1188,983,736,790,908,924,496,460,561,747,573,364,439,516,485,758,748,891,717,491,544,923,1104,1280,1276,872,677,835,1006,1086,1256,1608,1958,1498,710,776,1404,1344,1464,1688,1462,1648,1574,1268,1172,684,550,494,541,600,823,937,670,415,410,340,543,1248,1388,1518,1506,908,563,1220,1864,1740,1216,952,940,1184,1428,1098,803,813,1176,742,619,747,786,659,1002,1380,910,705,753,780,889,929,1015,1282,1150,1188,1080,1001,946,1210,1392,1440,1396,1484,1434,880,995,1278,1466,1736,2120,2272,1996,1572,1086,865,1058,713,462,544,610,1009,1110,554,737,1148,1124,966,952,1120,1180,1126,1068,1256,1238,946,857,728,649,1100,1260,1606,1968,1608,1440,1450,1208,1032,1070,893,893,1262,1030,800,1354,2958,3940,2436,860,502,570,673,468,335,397,469,478,451,413,440,506,497,446,447,442,362,369,424,558,630,563,533,516,474,489,524,575,655,676,651,669,782,792,769,693,651,544,354,288,281,273,254,258,301,473,604,466,367,459,503,492,419,368,371,343,469,774,725,538,713,769,709,805,1152,1070,1132,1636,1600,1130,1005,733,697,673,724,610,996,937,774,1042,1300,1220,1424,1626,985,595,582,960,1592,1602,2100,1804,1398,865,461,497,394,403,385,684,985,752,674,629,399,658,966,930,808,723,639,479,626,1054,1344,1830,1648,1084,780,493,439,529,690,907,839,792,981,968,913,423,294,695,678,753,1228,1332,1124,1374,1440,1270,1010,513,429,1572,2020,1132,583,1102,1836,2102,1816,1104,670,430,388,348,357,430,414,748,1494,999,382,349,300,449,665,739,559,506,423,392,352,726,867,1150,1092,1058,1144,929,678,615,547,901,1592,2042,1986,1894,2490,2248,1506,1362,1442,1550,1624,1448,1826,1816,1482,1042,823,1019,1622,2106,1560,850,645,834,1440,1616,1256,1158,1304,1358,1078,1054,1154,1316,1158,702,372,661,940,706,601,818,985,777,598,593,904,1358,1418,1338,1374,1098,563,802,1021,1082,1060,792,692,1086,1308,1282,807,515,555,576,591,577,909,1296,877,675,600,438,291,532,1052,1296,855,586,500,420,471,546,598,528,382,435,543,409,351,455,495,484,480,444,441,655,949,871,1172,1228,1308,1334,1148,1030,1062,1142,1220,1112,750,587,410,421,634,691,590,695,1009,1204,1316,1584,1238,1038,1218,1478,1316,1832,1972,1316,691,633,854,1132,1536,1310,584,405,850,962,890,823,819,603,899,1326,1128,597,1114,1808,1540,935,828,912,1078,1100,1306,1526,1730,1742,1702,1758,1538,1356,1718,1256,1460,1386,767,927,1554,1326,616,559,662,577,895,901,867,1152,1132,731,647],[1426,1380,1156,1170,1082,1196,785,972,1214,1466,1023,530,586,763,929,871,731,562,779,1498,1656,1912,1562,1456,1396,1138,1450,1492,1094,1246,1158,627,608,592,719,813,476,446,756,915,891,764,454,420,415,331,344,533,597,473,443,455,525,587,564,532,591,678,832,1194,1450,1172,976,1024,980,992,780,996,1236,1242,1114,849,594,494,575,866,1236,981,750,683,770,1170,1476,1488,1180,766,697,916,623,763,833,760,617,847,860,651,548,486,416,371,329,330,288,352,438,996,1334,1322,1005,1162,1248,1694,1960,1848,1528,1678,2072,1936,1350,1230,1438,1816,1472,1782,1990,1396,1508,1936,2122,2034,972,383,365,322,367,318,307,328,272,248,267,264,281,314,279,450,991,745,382,249,243,513,1142,1376,1546,1296,592,424,401,404,589,767,716,523,367,298,287,279,278,259,237,433,845,1038,1176,1344,1236,1088,1312,955,843,679,481,413,422,428,454,713,915,1030,1072,1170,1410,1098,856,1178,1202,828,754,1092,801,1044,1382,1240,1214,1248,814,397,466,600,755,1188,1396,1288,1162,1592,1490,1630,1420,1036,995,1196,1390,1364,1256,1144,1126,922,1080,1510,1196,1194,1056,1126,988,571,570,566,473,654,1298,1434,984,812,1344,1726,1340,1068,661,377,414,598,1098,1130,709,767,1112,838,744,1054,1346,1422,1396,1224,1164,1230,915,1234,1866,1276,1166,1024,1116,1130,948,755,720,856,1084,1466,1404,1212,1328,802,1078,1098,1150,1090,1446,1420,1290,1344,1294,1114,1692,2040,1870,1334,673,642,802,932,971,1030,910,864,878,840,771,669,801,819,666,577,539,548,532,896,1148,833,890,987,626,559,792,809,668,501,449,447,468,732,995,1180,1142,1070,1072,1272,1250,1166,1138,1132,1182,1088,1196,1374,1300,1388,1462,1294,1332,1488,1490,1078,783,838,815,985,1080,995,1102,1250,1100,744,676,689,691,988,1180,1088,1020,1748,1642,1206,1136,915,889,851,970,942,530,811,1262,999,889,597,442,398,525,880,1154,1142,1082,1214,1144,1021,1232,1356,1086,1120,1236,1212,1112,1028,1134,1090,1023,1158,1214,1622,1426,926,877,813,805,1086,1178,1094,954,1006,1444,1766,1602,874,410,383,446,664,1030,860,854,794,1013,1005,960,1150,1252,1066,985,1158,976,1108,1262,1616,1548,1202,1184,1002,612,536,525,508,791,1004,1088,1032,1194,1094,979,1082,1148,1230,1296,1394,2898,3034,1414,1108,946,805,660,568,451,444,512,491,473,589,620,526,415,400,348,302,367,444,561,516,549,950,1021,982,946,1080,1320,1148,827,876,1222,1356,1196,918,860,914,989,1038,1028,693,779,700,916,1030,924,979,924,810,1023,1664,2092,1542,723,496,369,304,487,1178,1616,1510,1180,1094,1032,838,595,605,659,890,668,432,688,895,926,1168,1466,1394,1086,1192,1066,1018,1160,548,407,335,855,1224,803,557,530,855,964,742,554,419,564,666,720,733,1004,1308,1242,772,631,608,980,850,528,681,727,565,730,891,1368,1506,1250,981,590,424,487,649,1066,1346,1052,982,1172,1534,1470,1542,1668,1294,713,650,835,905,969,1130,1118,973,1000,843,736,801,821,958,1472,1388,1122,1394,1566,1314,1400,1204,940,931,1126,1100,940,933,1188,1360,1244,1150,1160,1206,1132,1568,1154,946,966,1001,776,740,695,713,593,532,625,1038,1164,736,714,861,901,980,840,900,1274,1252,778,557,1078,1762,1042,646,386,488,649,657,431,391,495,819,1506,1324,555,612,803,635,560,587,401,431,650,810,953,953,691,487,682,1266,1312,916,739,771,529,452,803,1052,1224,1370,1424,1230,797,643,963,1282,1354,1104,948,716,587,720,857,937,1172,1278,1238,1252,1300,1812,1704,1526,1282,1964,3254,3564,3464,3062,2062,1136,916,1024,1094,1102,1082,991,995,880,703,1066,1364,1456,1334,1750,2262,2464,2770,2994,2260,1708,2060,2172,1626,1522,1194,668,846,1322,1232,1001,1328,1120,1174,1306,1428,1660,1316,1166,1272,1230,1402,1322,1226,1756,2266,2176,1494,1520,946,1188,1502,1300,1236,1396,1322,1162,1564,1902,1672,1820,1710,1748,1776,1634,1534,1918,2422,1830,1488,1722,1742,1376,991,659,537,398,391,627,1192,1792,2376,2140,1998,1682,808,991,1742,2320,2520,1532,691,598,673,931,2226,3396,3730,3156,2056,1312,1104,1264,1634,2066,1780,1368,2284,3440,2408,1466,1584,1440,1178,1216,1304,1406,1222,1080,1160,1274,1444,1562,1738,1680,1440,946,495,514,573,787,1019,1260,1232,1005,753,579,505,581,878,1270,1334,1382,1616,1390,1554,1716,1802,1526,1484,1696,1792,1676,1526,1446,1364,1458,1814,1528,784,462,527,551,891,1694,2240,2114,1680,1236,1064,1032,985,996,1026,1094,952,805,886,991,1004,1168,1006,526,585,1106,1336,1414,1340,1252,952,607,333,865,1023,837,798,836,811,565,526,526,475,521,494,332,674,1374,1478,1274,1330,1244,1096,1230,1382,1556,1670,1570,1348,1278,1094,1042,1030,1042,1234,1286,1338,1488,1406,1110,564,453,718,1158,1160,1058,954,1050,1854,2310,1798,1722,1496,1290,1516,1332,778,630,894,1218,941,739,1260,1224,504,597,1136,693,381,313,788,891,626,483,327,804,1192,700,411,289,265,341,401,429,475,894,1126,1338,1526,1026,1240,1362,1164,689,693,750,1030,1232,946,948,1206,1108,1070,1132,577,458,607,713,621,554,664,832,1009,849,636,588,614,549,516,645,648,639,686,616,475,345,427,482,402,462,538,622,588,750,1366,872,473,442,571,709,1304,2052,2214,1680,1160,670,423,664,808,764,847,481,348,461,653,516,391,430,418,437,658,455,315,280,345,739,991,526,311,689,1130,969,961,1460,1444,1450,1368,1116,462,492,1100,950,788,563,379,449,525,461,591,432,552,935,1272,715,357,286,1122,1310,706,466,399,354,355,391,389,389,334,348,438,446,442,433,420,456,554,692,730,661,567,569,467,424,433,447,445,468,480,488,509,537,643,709,440,393,436,534,792,871,747,674,525,364,375,475,509,492,529,415,468,1012,1100,930,1240,1576,1632,1626,1576,1376,1374,1764,1578,929,656,995,1120,1246,1384,1182,951,1310,1036,611,745,1044,1140,1224,774,711,1030,911,811,836,771,456,588,1060,1214,893,1016,956,1142,866,624,1072,1616,1122,915,1017,707,428,515,725,1100,1494,1506,1710,1500,958,730,733,994,1572,1676,1404,1324,996,706,1112,918,599,569,627,583,706,906,974,758,570,498,807,1492,1816,1656,1102,659,520,1090,1728,1218,539,985,2144,2284,1882,1664,1544,1030,1072,1032,740,503,636,600,766,994,722,630,648,498,569,857,1182,1158,1166,1268,1104,1058,1028,915,1042,1224,1294,1434,977,471,697,1062,1118,1124,1628,2010,1682,1410,1406,1476,1198,537,475,619,890,1158,1336,906,752,1252,1442,1616,1616,2016,1360,858,672,652,718,999,916,582,960,1616,1482,1446,1472,1310,1238,1116,878,877,1023,1210,1062,990,1003,717,666,1334,1794,749,522,512,721,1013,557,306,382,453,479,441,401,391,372,399,408,346,363,362,379,419,476,484,487,519,553,506,478,531,583,576,607,713,672,772,794,736,710,669,467,315,307,349,362,370,288,339,401,391,469,547,521,448,416,403,399,366,410,448,391,437,521,807,958,957,1350,1670,1584,1488,1108,1056,1088,1460,1188,1102,985,812,572,948,1098,815,1044,1074,1296,1668,1704,968,575,846,1130,1512,1622,2092,1856,1011,697,454,488,463,434,462,650,680,536,639,849,908,949,976,891,908,985,955,430,524,1072,1362,1500,964,1290,1388,567,472,458,486,678,720,956,952,1024,901,591,547,785,625,669,860,860,918,1220,1434,1422,1274,810,672,2368,4212,3326,1094,1114,1520,1456,1015,762,619,550,490,407,562,602,634,1144,1326,785,419,334,358,669,686,841,946,584,521,487,508,632,608,725,1036,1382,1280,877,631,766,657,949,1498,1834,1566,1376,1362,1280,1230,1198,1090,1428,1662,1238,1540,1656,1126,1116,1178,1342,1636,1734,1218,712,559,633,1188,1272,1030,1106,983,1302,1146,1102,1216,1044,976,697,555,829,979,678,436,440,463,490,600,753,1160,1326,1268,1306,1354,1196,976,1232,880,905,1160,1011,664,1068,1282,1116,835,545,440,497,703,546,427,449,430,497,601,576,350,543,888,768,725,801,892,581,550,603,642,558,478,464,430,370,416,444,401,474,451,424,393,417,772,1024,836,586,950,1344,1220,1096,1150,1222,1124,1134,713,409,388,383,727,1098,954,874,1012,1070,1294,1600,1280,1262,1276,1418,1624,1744,1850,1192,600,663,556,933,1586,1104,503,583,1402,1728,1266,1034,946,810,895,1052,875,644,1502,2136,1636,1007,593,719,785,1190,1568,1510,1488,1552,1560,1614,1686,1466,1454,796,611,725,520,921,1086,487,444,991,1074,549,1028,813,669,977,1346,1168,769],[1206,1278,1044,634,522,557,793,1100,1262,1422,1112,625,549,698,882,785,628,565,642,1152,1400,1232,1360,1528,1362,1216,1480,1584,1168,1440,1450,1046,902,816,1007,1164,755,463,772,846,717,564,402,366,347,329,364,491,558,468,441,499,589,622,543,454,550,901,1132,1084,1092,971,944,958,938,863,706,801,993,1094,1102,849,532,426,377,493,800,624,633,570,695,956,1246,1576,1582,1476,1218,1136,809,744,963,1314,1142,1258,1418,1316,1026,501,396,373,312,389,415,462,483,1013,1394,1502,1328,1350,1502,1492,1628,1508,1188,1394,1568,1470,1392,1466,1744,1486,1366,1666,1322,1206,2100,2468,2098,1686,1050,491,323,397,372,308,283,257,234,252,222,241,304,347,340,786,898,751,477,294,215,451,966,1176,1296,1224,751,461,557,451,518,565,543,509,378,295,293,289,292,289,334,676,1102,1154,1010,853,814,853,899,877,773,586,421,401,432,461,420,703,1050,1538,1180,982,1140,914,903,1206,1248,797,624,1142,978,1282,1192,1001,1130,1182,795,412,587,865,1114,1446,1578,1808,1232,1134,1158,949,797,803,761,769,960,1148,998,965,1382,1164,1322,1704,1630,1280,1026,1324,1154,492,373,363,537,1122,1404,1284,966,658,735,938,1120,989,463,346,353,707,1266,1410,876,1126,1172,703,730,1274,1482,1214,1126,1436,1554,1490,1050,1366,1846,1044,1060,1040,1348,1268,951,680,568,747,1230,1554,1554,1546,1458,993,1316,1418,1228,1184,1396,1366,1334,1626,1422,1200,1762,1900,1620,964,629,495,620,747,885,1052,930,797,709,840,1174,780,736,555,702,606,523,536,668,937,822,805,1188,1360,1192,977,1178,1124,717,473,463,480,487,460,466,582,848,1044,995,1246,1360,1538,1336,1246,1406,1448,1312,1180,1168,1324,1378,1338,1224,1368,1600,1360,893,774,827,922,981,999,1382,1700,1146,785,554,591,825,1224,1490,1364,1124,1210,1234,1302,1322,1200,1066,935,928,833,752,852,1096,946,753,628,733,640,758,1128,1128,1152,1248,1368,1048,947,1212,1172,877,841,1042,1208,1176,1208,1398,1288,1060,1130,1334,2288,1432,799,943,1030,950,908,1001,1122,969,1072,1668,1838,1336,706,551,555,511,969,1424,1342,1112,866,890,847,1096,1350,1378,943,917,1106,922,1078,1362,1424,1490,1418,1312,1166,890,746,778,645,1023,1005,882,1068,1144,1054,894,676,626,728,739,1056,2206,1556,1186,996,852,673,714,641,481,434,440,467,581,755,751,631,507,587,550,497,447,368,477,479,731,888,1001,1362,1074,1256,1866,1472,634,680,1058,1360,1216,833,865,858,811,953,1376,976,615,724,1494,1294,792,824,965,921,913,1678,2172,1672,629,597,487,374,489,752,1264,1420,1466,1466,1354,1120,601,571,385,476,566,375,336,568,666,819,1268,1240,1228,1640,1432,1232,973,511,402,317,1016,1154,681,395,611,1144,1284,1192,866,538,472,613,763,688,813,880,1026,1164,985,973,1160,992,677,601,690,528,378,521,882,944,1084,1000,615,382,491,602,788,1368,1548,1102,1108,1614,1656,1946,1876,1394,1062,744,835,808,830,1034,921,658,700,892,999,864,858,1058,1084,1028,1130,1312,1388,1190,1144,1060,1032,1262,1188,845,686,738,1130,1182,1124,1276,1174,1328,1538,1464,1118,1138,1332,1230,1194,1198,1138,1070,775,936,988,1376,1384,981,664,907,1252,1484,1244,1366,1690,1248,811,575,852,1678,1388,1174,694,558,623,673,481,460,973,1852,2198,1434,516,455,637,714,835,672,401,324,821,1152,1222,1384,918,505,508,1013,1058,777,520,778,896,1028,991,850,1218,1702,1478,818,960,1108,1338,1416,1372,1130,946,739,690,702,668,683,936,1370,1466,1412,1024,1050,855,929,897,2426,4034,4224,4244,3706,2012,1116,1228,1324,1350,1294,1246,1262,1294,995,881,1072,1144,1282,1364,1524,1572,1820,2504,2478,1904,1722,1870,2028,1706,1516,874,659,974,1156,1026,1176,1023,1262,1332,1236,1316,1548,1524,1562,1432,1330,1244,1114,1180,1592,2124,1888,1920,2210,1502,1454,1576,1316,1578,2052,1656,1200,1162,1360,1620,1980,1682,1638,1712,1786,1698,1998,2020,1550,1450,1760,1650,858,755,734,602,472,618,1194,1870,2458,2634,1838,1150,817,1074,1872,2392,2358,2536,2040,973,586,542,1034,1582,1536,1584,1422,1460,1584,2000,2246,2644,3012,2540,1628,1614,3022,3146,1832,1536,1678,1466,1230,1122,1150,1230,1324,1538,1654,1794,1918,1804,1382,957,717,700,866,1028,1176,1136,966,678,493,583,809,789,789,930,1234,1076,1396,1838,1616,1590,1724,1758,1592,1602,1596,1454,1492,1628,1688,1688,2114,2068,1546,1092,786,759,892,1070,1578,2082,2070,1848,1186,1208,1050,1042,990,1000,1374,1324,1064,924,874,886,1100,1222,922,686,946,1064,1060,1126,1164,1104,833,512,648,741,642,791,880,832,659,525,591,525,482,494,401,383,917,1514,1224,901,941,974,1164,1376,1434,1608,1552,1180,849,762,919,1102,1056,1308,1366,1406,1516,1378,1316,944,779,791,1038,1362,1288,958,1026,1204,989,1110,1048,764,785,1360,1310,684,583,718,866,957,730,1034,1186,565,487,1040,822,367,509,771,556,648,667,341,663,943,576,280,258,295,463,509,434,401,788,951,1262,1794,982,1272,1490,1572,1076,946,937,1356,1642,1076,907,1572,1334,792,796,566,504,771,1046,792,568,757,1026,919,597,436,372,374,334,362,612,664,697,669,587,434,318,445,529,427,425,442,438,420,520,1044,645,444,571,470,462,713,1202,1500,979,539,435,384,498,512,448,543,592,746,741,545,539,618,432,374,487,832,674,575,350,343,733,850,549,575,909,1230,1270,1070,1052,1042,1362,2498,2058,810,375,553,996,1220,874,713,1036,775,491,613,417,414,686,900,605,402,620,1386,1760,1468,1030,947,662,492,405,399,355,330,269,365,475,515,464,421,449,539,541,558,639,533,514,495,448,400,398,437,454,462,473,495,514,569,709,578,407,402,542,667,574,426,411,383,298,376,467,525,473,432,341,508,1254,1162,843,1224,1538,1550,1650,1702,1582,1412,1450,1576,1202,984,1120,1266,1112,1206,1296,1236,1564,1130,976,1268,1210,1306,1364,1034,725,921,1166,1034,1154,1254,881,929,1136,1352,1006,950,1138,1224,1090,969,1288,1738,1480,1012,899,918,637,592,623,887,1378,1140,1278,1638,1648,1462,1278,1312,1382,1156,752,594,611,821,1404,1312,979,844,842,938,799,753,1230,1188,1578,1174,1346,1466,1456,1356,1200,764,772,1530,1442,967,810,907,1710,1874,1536,1434,1260,1052,833,771,696,594,671,536,524,651,489,434,631,584,628,728,997,940,1016,1042,1284,1832,1660,1362,1084,869,907,1224,1252,876,970,1282,1228,1148,1348,1716,1366,1102,1312,1628,1094,462,375,479,926,1226,1432,1362,827,1070,965,1080,1338,1642,1358,1078,906,1084,1188,1060,813,874,1328,1908,1418,1420,1562,1184,1086,1070,1022,819,697,859,1020,1164,1258,1023,901,716,760,575,517,571,698,582,413,458,458,436,550,563,421,400,362,359,368,330,336,362,411,421,468,824,1080,647,600,581,591,505,576,600,650,753,705,727,762,716,748,648,379,294,325,339,379,455,361,402,394,346,505,666,607,461,447,442,437,438,402,579,684,573,684,888,852,1288,2092,1636,1676,1504,922,1072,1404,1352,1017,940,1092,965,748,1118,1188,868,930,761,1092,1450,1596,1186,845,1256,1320,1258,1824,2228,1856,1498,995,704,719,715,622,775,894,780,736,713,639,546,443,428,514,1052,1336,1438,860,984,1236,1184,1064,865,956,875,417,346,352,409,648,733,941,1000,663,468,543,760,858,514,652,636,636,933,1030,1370,1564,1516,1332,989,1586,2888,2522,1186,1578,1228,814,467,592,628,555,414,708,1388,1156,828,1190,835,528,429,310,444,866,584,415,628,733,763,579,494,563,544,643,822,1020,922,791,885,1042,1378,1106,1144,1482,1350,1162,825,1070,1106,1036,1118,1592,1750,1428,1146,1238,1676,1604,1416,1242,1038,1194,1078,897,796,717,1120,1804,1296,633,760,1098,745,490,397,520,812,947,1206,1478,1492,885,522,625,493,476,625,1080,1544,1454,1322,1302,1250,1306,1216,1306,1060,1150,1200,1258,1382,1116,885,937,824,647,703,675,1280,1110,578,446,759,795,787,725,375,775,990,610,910,1182,835,676,972,993,799,827,915,775,492,408,560,592,428,443,333,435,440,472,711,1060,1106,1019,1346,1844,1502,1438,1288,1388,1400,932,458,363,374,506,1116,1432,937,702,857,839,1230,1642,1478,1016,1124,1522,1232,778,752,619,661,858,676,700,813,621,426,742,1200,1368,1272,960,729,1244,1554,1042,969,612,593,969,856,557,574,927,1110,1496,1644,1510,1386,1376,1426,1496,1798,1572,1518,1116,521,393,430,854,980,428,580,1262,997,401,716,597,706,1180,1310,1140,836],[1278,1404,956,565,584,862,1030,1188,1380,1394,898,421,432,602,746,508,482,905,825,1098,1472,1172,957,976,1182,1326,1410,1218,1170,1430,1368,1090,965,1108,1148,959,705,566,694,1136,1626,825,476,398,394,353,421,473,462,453,437,437,416,453,562,502,670,1030,1314,1158,1092,1118,1056,935,714,530,482,572,620,892,952,747,474,380,341,420,487,712,813,541,606,956,1544,1554,1500,1658,1636,994,797,753,995,943,640,904,1250,1430,1064,406,424,460,362,589,775,713,640,959,1308,1284,1188,1256,1232,1144,1264,1222,1570,1764,1370,1190,1240,1400,1350,1040,1198,1296,943,1184,1956,2332,2480,2598,2588,1222,438,463,389,338,293,283,235,278,363,335,321,355,646,1072,908,687,462,321,257,334,547,576,705,639,560,520,627,602,457,434,606,618,380,311,323,299,296,410,749,1244,1390,1172,650,452,625,788,888,853,898,557,333,369,430,435,405,703,1400,1754,1544,1442,1278,1238,1340,1464,1262,662,449,875,1052,1302,1318,1412,1614,1606,1118,519,805,1266,1130,1170,1478,1558,1282,1210,1188,1015,758,590,518,428,540,857,644,818,1238,1228,1444,1456,1526,1174,1086,1664,1518,434,329,313,717,1596,1450,1120,1126,855,568,977,1526,1108,346,303,315,462,656,922,916,1252,1013,651,957,1624,1710,1248,990,1166,1242,1528,1366,1338,1454,1262,1192,1226,1288,1226,1116,809,656,1042,1482,1414,1426,1664,1338,1354,1230,1156,916,804,1138,1190,1176,1324,1368,1930,2018,1708,1156,766,542,386,387,477,558,684,1078,1238,1188,1328,1328,1142,1048,561,622,640,612,595,851,1082,874,774,813,1064,1636,1532,1636,1536,911,618,494,415,400,365,399,481,503,672,732,1116,1274,1372,1406,1560,1642,1518,1416,1272,1200,1240,1180,1294,1168,1468,1404,1520,1186,677,683,1016,1194,1074,774,1009,1064,888,544,552,716,1104,1148,1084,1064,925,908,1102,1224,1212,1246,1140,887,822,983,914,1138,1262,982,1032,1312,1136,923,976,880,952,1220,1504,1062,998,998,733,743,1004,1202,1094,1222,1360,1392,1406,1366,1388,1284,1824,1132,896,1166,1222,1152,1122,1212,1300,901,1066,1660,1834,1110,764,595,455,445,924,1426,1578,1416,1222,1232,937,984,1238,1198,1138,1088,1100,904,919,1028,1001,1202,1234,1568,1536,1354,1604,1328,865,981,864,696,755,802,866,1006,959,855,855,907,1240,1296,1338,1180,1028,825,647,662,630,477,499,439,452,552,678,634,633,562,641,722,827,729,783,1078,808,764,699,1082,1216,1022,1166,1242,892,494,798,1338,1450,1284,1018,808,595,604,835,1246,879,447,637,1378,1390,1120,1328,1000,911,794,1066,803,566,440,639,579,553,658,706,761,849,1054,1092,957,680,508,603,396,286,374,321,250,318,291,328,474,541,764,960,771,547,515,766,805,620,1096,1019,456,405,524,749,1082,936,673,597,511,645,935,1066,756,524,898,863,650,893,933,805,872,918,742,825,861,833,986,1134,1134,987,673,518,493,561,617,1160,1324,846,948,1288,1570,1770,1588,1492,1188,774,962,1021,1116,985,700,576,609,788,750,621,979,1246,1126,1076,987,990,1134,1190,1170,1220,1242,1038,789,814,717,760,1088,845,883,1086,1260,1258,1390,1198,1198,1218,1282,1348,1466,1390,1328,1066,850,1126,1488,1300,1316,1322,1264,1290,1408,1506,1186,1138,1007,758,811,672,926,1458,1432,1190,650,354,392,460,624,1178,1794,1856,1260,698,513,631,838,869,720,509,308,269,438,735,1005,1174,778,487,543,775,661,557,514,901,1180,1028,801,886,1068,1148,1010,1068,1250,1234,1082,1122,1474,1506,1228,1008,1032,979,966,1004,1176,1454,1284,1152,1118,1001,970,1334,1378,2318,3776,3848,3254,2846,1980,1152,1112,1224,1396,1298,1108,1092,1090,863,919,1194,1186,1272,1302,1308,1376,1490,1694,1710,1594,1864,2500,2210,1752,1538,882,772,1230,1106,958,1194,1060,1344,1360,1124,1286,1550,1682,1716,1678,1714,1542,1422,1350,1458,1420,1222,1598,1746,1528,1508,1616,1714,1710,1732,1786,1484,999,1062,1050,1288,1460,1420,1592,1796,1624,1614,1622,1576,1420,1152,895,656,636,570,404,626,1344,2048,2514,2518,1898,1236,1022,963,1842,2602,2438,1958,2208,2242,1324,673,431,614,1226,1488,1366,1470,1974,2402,2788,3012,3276,3632,3440,2376,1470,2384,3338,2400,1498,1710,1274,994,1166,1440,1538,1694,2010,2050,1846,1560,1116,751,738,883,968,974,946,702,484,470,574,566,661,929,1042,1212,1034,1270,1124,1686,1746,1448,1570,1448,1140,1007,1126,1354,1620,1684,1560,1526,1502,1350,1122,1158,1246,902,741,892,1052,1468,1776,1794,1802,1372,1172,1152,1062,1052,1014,1176,1440,1352,1003,856,800,869,1094,1116,955,532,672,807,644,631,943,980,859,777,668,675,884,836,741,442,452,496,414,505,593,502,486,511,1184,1462,821,569,702,1160,1382,1374,1478,1302,835,839,785,624,933,1098,1186,1280,1236,1278,990,952,1314,1198,916,1096,1086,908,954,1104,1140,944,1070,1156,792,469,847,1088,764,435,508,669,927,665,644,814,577,361,804,861,383,448,653,650,653,564,365,408,640,614,375,348,486,622,723,793,809,810,788,872,1098,827,856,1056,1332,1102,1084,1050,1078,1228,861,720,1076,783,497,308,401,509,952,1316,929,687,927,1013,835,483,378,339,321,348,349,434,495,470,444,453,415,375,383,440,440,435,452,390,481,469,446,410,565,688,442,303,454,761,619,521,963,837,544,760,683,587,869,1228,1476,1074,430,536,779,634,460,481,828,1294,867,361,287,420,497,505,609,535,545,1012,996,717,1508,2166,2374,1784,874,445,425,789,1242,1210,1340,1290,824,965,794,589,466,358,481,504,844,1356,1612,1870,1698,1316,1050,686,436,379,393,362,371,332,302,369,440,391,370,380,424,465,520,554,480,458,472,433,390,384,412,448,468,498,506,454,466,608,667,498,352,407,501,498,350,362,373,359,444,539,576,523,417,429,701,1184,1068,698,872,1244,1178,1354,1608,1948,1548,1264,1450,1450,1168,830,939,1036,1140,1264,1288,1002,781,1042,1564,1242,1092,1406,1434,874,749,1184,982,521,698,852,832,915,915,706,670,1094,1304,1428,1502,1432,1248,806,677,1178,1316,968,880,1274,1072,911,985,1274,1748,1826,1616,1606,1608,1238,745,499,849,1070,1090,1350,1342,1194,1238,1212,1052,897,773,866,1032,1654,1618,1586,1598,1376,1014,966,814,839,804,585,915,981,576,658,966,1007,868,630,628,696,573,721,810,766,642,755,543,383,651,1062,1194,917,769,756,645,744,811,1464,1660,1490,1730,1368,760,469,656,760,688,840,966,982,1134,1312,1442,1126,993,1402,1660,1308,769,451,396,539,996,1442,1456,761,1048,742,622,780,995,1300,1366,1376,1264,1344,953,744,1186,1110,1021,866,1388,1560,907,612,811,912,1066,982,917,966,861,1084,1122,882,710,705,584,514,729,690,497,688,836,650,540,1074,865,469,539,509,453,392,361,403,390,437,589,894,1410,1796,807,640,670,634,600,677,696,725,778,751,720,720,657,714,636,482,355,331,339,331,349,313,408,441,349,402,471,496,406,469,433,368,412,421,748,1100,997,899,956,907,1192,1562,1218,1200,939,880,1256,1150,820,687,716,887,792,645,860,1162,1136,732,473,547,733,1318,1318,951,1182,1136,1008,1448,1320,1136,1166,919,670,572,625,568,700,737,467,627,925,664,369,348,353,400,905,1220,1444,1262,1166,1316,1178,783,550,383,495,464,342,365,500,556,492,612,781,630,377,602,1188,1002,414,468,543,641,863,1348,2132,2004,1610,1548,1538,1582,1258,1438,1506,1708,1114,642,415,498,529,521,377,852,1876,1638,1146,1256,1080,934,694,536,450,615,468,454,668,786,740,710,533,532,542,624,636,881,805,728,937,1098,1534,1264,929,1412,1366,934,910,1388,1230,1074,1478,1482,1224,1440,1262,1372,2028,1808,1332,984,803,749,686,1104,1360,1028,1306,1760,1270,959,1252,1050,574,453,430,463,723,1178,1736,1736,1362,940,1054,1011,860,872,1138,1322,1426,1432,1302,1160,1210,1256,1256,1268,1366,1426,1044,916,1042,1102,1102,816,679,789,1394,1278,1544,1300,882,824,1066,1180,964,387,465,829,586,476,753,999,573,717,1234,1284,1326,1238,1084,1154,1078,747,556,549,538,562,430,447,444,464,636,879,902,999,1188,1534,1364,1236,1354,1428,1394,942,569,471,444,538,1013,1298,745,928,1009,973,968,927,1144,943,791,821,781,728,626,554,998,1220,963,756,608,603,555,713,970,1048,1020,761,877,833,1128,1110,1214,803,557,462,372,309,669,1128,1482,1776,1606,1572,1564,1622,1508,1516,1712,1720,2008,1446,560,702,810,854,748,382,529,1252,1078,449,284,420,628,1052,1080,740,756],[1140,1262,933,655,1344,1788,975,1152,1164,930,581,425,446,605,662,508,529,1070,1110,1096,1284,886,568,522,816,1660,1434,1058,1138,841,639,683,763,924,799,427,488,645,894,1160,1678,783,408,430,453,397,363,343,356,396,410,444,459,406,619,736,918,799,852,1108,1312,1164,1024,853,743,543,432,832,1066,1268,954,565,426,411,411,480,481,599,730,550,499,730,871,775,1246,1382,1516,1504,1238,851,767,794,589,555,1058,1330,955,463,458,483,398,594,744,732,667,662,613,553,637,752,771,807,955,1070,1614,1692,1704,1650,1488,1852,1854,1474,873,692,593,872,1572,2088,2138,3538,3230,1232,641,526,431,514,559,328,245,276,361,353,307,425,1024,1208,999,738,357,267,261,323,449,425,518,590,731,641,624,625,559,526,619,666,485,337,349,322,503,819,1110,1266,1142,847,732,856,934,1222,1332,933,1072,648,307,347,429,491,578,677,946,1246,1288,1072,1096,1526,1482,1448,1034,584,438,1350,2132,1978,1606,1460,1550,1532,1270,826,818,1414,1276,887,1078,1132,1300,1582,1414,1168,861,605,492,406,598,1052,885,749,1002,1302,1340,1542,1670,1152,1094,1624,1490,482,331,329,682,951,913,768,899,807,750,1332,1404,618,346,307,291,269,322,482,772,1038,903,641,960,1358,951,1068,1242,1204,1192,1422,1342,961,698,986,1454,1344,1000,1054,1162,974,1001,1378,1450,1496,1438,1458,1180,1346,1490,1142,583,434,521,734,1112,1130,1794,1990,1856,1382,706,457,475,479,404,482,454,486,810,1144,1270,1258,1246,1250,691,391,519,657,769,761,1028,1138,1080,1042,1040,1126,1418,1240,1196,1168,911,800,508,458,473,355,372,404,537,706,703,946,876,1052,1392,1448,1462,1690,1746,1334,1376,1354,1316,1246,1046,1130,1302,1422,1282,950,747,1016,1332,1404,968,1564,1580,1062,639,503,580,863,1150,1164,1064,1156,1166,1344,1276,1392,1310,983,907,1128,1008,863,1158,1324,1290,1524,1744,1338,736,570,648,1098,1276,1384,1144,1190,1144,1014,1094,1350,1360,1280,1192,1302,1130,1328,1372,1172,1362,1332,1076,1122,1034,772,999,1602,1280,1234,908,1060,1576,1860,1624,1172,707,466,588,993,1188,1178,962,955,1024,1004,856,896,1048,1158,1100,1050,888,800,841,984,1098,1232,1644,1454,1470,1448,1104,903,849,730,647,712,1104,1122,730,803,874,697,835,964,1264,1356,1146,967,869,777,762,681,506,490,561,535,513,526,590,597,587,839,920,889,901,981,1048,1098,990,1082,1138,901,774,706,523,397,501,1240,1658,1500,984,637,960,733,566,850,1082,740,551,670,1098,1276,1262,1332,985,749,686,619,379,491,539,519,486,586,682,607,481,487,587,528,409,402,732,897,630,434,365,273,246,275,257,263,293,314,366,414,469,475,438,769,1094,1118,1222,914,444,599,787,893,995,618,497,577,526,571,586,456,594,1028,1108,912,1438,1510,879,661,783,838,818,971,915,827,775,843,930,1018,870,792,799,693,546,554,525,441,434,464,696,819,688,693,648,590,723,810,1102,885,561,640,612,605,742,960,1318,1384,1278,1278,1102,973,1000,1140,1160,944,872,1184,1234,932,866,1104,937,659,940,1028,695,572,747,717,581,655,1144,1542,1884,1488,1594,894,1134,1372,1800,1460,1178,1166,1232,1302,1170,989,843,1094,1432,1078,893,1066,1106,1208,1062,769,584,368,316,562,1220,1698,1632,938,500,450,515,830,1224,1104,896,835,409,240,446,887,895,1086,841,539,535,551,481,532,878,1238,1266,1044,815,858,870,717,1084,1234,1240,1328,1432,1508,1586,1686,1468,1128,1504,1488,1460,1536,1622,1684,1470,1178,1394,1418,1288,1650,2012,2328,3830,3848,2980,2930,2408,1228,1028,1284,1534,1328,1046,1158,1130,993,1300,1360,1332,1286,1232,1324,1504,1562,1458,1372,1340,1558,1664,1464,1564,1174,957,1026,1620,1126,1180,1106,1132,1460,1344,1134,1318,1354,1334,1420,1332,1400,1892,1876,1716,1432,1013,694,736,1054,1524,1604,1660,1564,1224,1228,1640,1356,1154,1007,888,810,983,1272,1632,1698,1528,1638,1820,1798,1230,632,572,631,520,396,778,1504,2062,2482,2356,1766,1326,1100,1210,1358,1654,2276,2306,1880,1720,1498,1154,744,431,543,1368,1572,1554,2010,2742,3186,3488,3742,3830,3762,3348,2400,1448,1674,2924,2454,1452,1614,1304,1172,1510,1694,1660,1866,1904,1478,1004,753,769,990,1106,999,836,628,498,468,550,707,800,659,656,856,1030,1236,1030,1310,1226,1714,1816,1538,1474,1282,1172,1324,1484,1678,1572,1214,1108,1294,1516,1610,1450,1134,807,670,833,980,1052,1464,1646,1734,1730,1406,1260,1362,1248,1114,1044,1026,1068,1038,978,946,840,779,871,907,1012,807,606,583,675,634,766,960,1066,763,586,776,951,913,623,468,501,426,525,653,650,545,683,523,784,1468,1124,837,1252,1384,1216,1180,1358,1244,955,1084,943,854,907,1168,1358,1422,1150,803,712,1314,1696,1246,1156,1320,1090,1124,1420,1478,1500,1222,959,1060,884,413,620,1070,879,844,1320,1326,1360,827,735,871,632,456,825,1036,444,433,737,811,839,559,349,291,553,692,578,531,480,572,678,649,548,515,509,595,703,746,765,940,926,899,1058,756,628,833,857,783,814,902,831,477,451,658,1098,1304,817,815,1023,1046,770,484,455,387,387,492,457,446,509,453,426,405,395,427,409,426,389,399,468,489,505,530,495,442,610,776,361,243,313,555,404,666,1328,1342,900,723,560,791,1222,1170,1522,1348,545,707,908,970,599,309,456,698,695,597,387,489,690,627,650,541,418,717,738,494,1244,1642,1232,828,505,330,257,538,997,1172,974,817,865,1072,775,725,644,500,798,1114,1676,1236,878,927,1102,727,568,568,673,852,678,419,439,427,368,310,276,322,340,369,405,453,494,480,432,422,407,396,399,404,405,459,485,481,448,390,378,437,620,597,390,388,460,560,419,348,381,391,475,566,590,523,419,559,789,769,632,509,727,1048,1074,1254,1542,1666,1518,1346,1316,1476,1488,1112,957,1304,1270,1206,1214,877,835,1156,1610,1448,1142,1296,1506,1074,632,951,1180,651,608,904,822,783,825,747,451,731,1306,1888,1640,1094,1038,874,762,1164,1530,1294,972,1180,1130,822,796,822,999,1316,1654,1654,1410,940,617,453,1102,1644,1392,1170,1094,927,1068,1292,1136,703,763,537,883,1232,1432,1438,1216,887,691,1148,1152,716,579,626,807,977,891,880,706,671,838,749,884,1214,814,774,823,1096,1320,1584,946,407,851,1434,1548,1202,1116,924,623,678,844,1162,741,1042,1500,966,436,417,438,415,414,417,489,608,776,934,1112,888,733,1202,1490,1364,1246,1076,870,886,1182,1174,734,653,1102,876,619,606,939,1015,1038,1418,1164,1084,1106,875,1142,1508,799,583,1082,1312,910,583,616,594,645,832,1112,1158,1236,1278,1304,1064,1352,1408,885,646,662,464,427,848,1162,971,911,1582,843,509,640,599,554,453,416,509,434,454,858,1544,1120,1378,992,796,719,637,703,805,764,750,753,744,728,713,746,747,650,528,383,365,374,340,285,259,319,303,316,345,339,380,399,468,504,436,420,503,810,1148,1172,1202,1030,896,759,659,605,540,473,472,420,412,594,764,1042,1128,748,680,794,1170,1266,729,444,551,786,1250,1384,1136,1090,1011,1008,865,525,617,707,935,719,396,413,343,500,864,901,1336,1678,1026,473,368,370,437,719,1144,1490,1244,1122,1726,1184,447,325,345,642,563,442,429,435,547,630,446,455,575,440,750,1594,1276,1228,1526,1432,891,727,1284,1912,1864,1564,1918,1800,1598,1196,1082,1168,960,973,916,593,458,448,485,328,489,1003,1054,1056,1164,752,675,845,825,739,576,514,767,987,1024,879,661,546,771,991,750,918,1262,910,656,822,826,855,1001,1084,1152,1080,822,907,1432,1438,1444,1720,1268,874,1398,1592,1284,1544,1476,929,875,910,768,485,683,972,913,946,866,848,1638,1976,937,506,458,528,711,1054,1460,1794,1556,988,1186,1560,1270,1392,1266,1570,1544,1362,1232,1212,1246,1118,1110,1274,1374,1554,1508,1176,935,972,1076,897,572,505,600,788,1158,1460,1334,1322,1370,1076,1028,791,390,638,710,465,532,634,612,677,1176,1338,1268,1326,1316,1216,1270,1250,1034,896,722,527,501,644,561,520,613,695,817,509,477,629,963,1300,1306,1218,1274,1242,899,1022,1258,845,573,525,662,473,747,916,1188,884,724,923,724,601,650,821,826,1082,1194,1664,1620,1182,854,796,825,782,877,769,762,930,519,891,1208,1166,889,748,713,675,615,414,391,763,1044,1616,1710,1650,1556,1568,1842,1824,1634,1462,1624,1702,1016,697,1092,1274,1046,808,709,771,1070,835,415,253,370,774,1428,1276,1034,1009],[870,1074,1244,1106,1472,1678,871,991,633,475,529,533,523,653,649,473,526,993,1136,721,735,668,483,437,910,1710,1200,1082,1152,773,518,549,774,932,735,509,513,698,1038,990,990,591,372,430,636,794,394,339,430,462,661,866,904,655,756,1021,1013,797,738,968,1062,1042,1112,736,469,516,419,926,1404,1176,609,378,360,348,357,354,508,553,499,482,572,985,1196,1204,1360,2086,2728,1990,1432,1338,1178,742,608,533,772,957,825,563,543,582,477,472,581,612,566,651,675,556,491,615,740,803,948,936,857,1140,1588,1582,1636,2082,1510,1156,601,570,518,739,1422,1792,1996,2304,1838,932,683,599,530,604,688,484,391,359,366,383,389,716,1082,1082,1128,653,419,270,247,338,470,445,469,616,690,651,664,764,847,637,490,488,394,350,386,643,832,829,729,814,902,894,1364,1830,1586,1344,1302,1126,1268,749,313,444,505,692,815,450,508,923,717,510,1007,1388,993,1494,1558,836,697,1072,1218,1460,1540,1206,1015,1007,1160,938,744,1224,1292,924,686,768,1336,1598,1058,741,596,521,388,328,453,1020,1168,874,722,794,1013,1348,1424,1338,1286,1202,844,388,313,395,357,476,668,494,463,508,1058,1246,1013,501,357,330,330,311,316,446,753,890,658,556,1198,1738,1156,1222,1206,1154,1362,1172,744,583,837,1606,1678,1364,700,533,587,714,730,739,813,972,1040,940,647,571,913,947,541,500,532,788,1244,1290,1300,1260,1374,995,512,529,594,589,532,621,886,750,789,1036,1136,1160,1522,1428,799,514,487,761,991,1146,1280,1130,869,1068,948,1192,1578,993,1240,1766,1286,834,618,872,773,416,332,397,460,565,663,711,875,1136,1092,1238,1624,2036,1994,1564,1548,1408,1310,1176,1234,1418,1312,1200,1172,1058,1122,1110,1174,1282,1232,1332,1264,1182,951,603,590,893,1124,940,908,1112,1312,1388,1250,1214,1316,1156,1642,2042,1316,1038,1296,1410,1416,1510,1592,1370,1034,804,841,1368,1600,1516,1454,1352,1190,1338,1132,1390,1528,1470,1212,1384,1346,1180,984,1152,1284,1166,1042,1220,1438,1194,1402,1738,1468,1130,854,1084,1504,1740,1710,1392,1352,991,636,1144,1328,1318,1009,744,870,1010,1042,1112,1154,1122,1074,1010,836,982,1202,1316,1146,1166,1216,1218,1188,909,917,1284,1332,974,823,859,1216,1268,1160,828,680,952,993,812,1054,1142,1090,1106,1504,1260,1116,827,623,519,572,548,475,405,517,559,726,1140,1128,896,904,883,1030,977,986,1100,1084,1112,1020,588,324,422,813,1438,1686,1626,921,1172,1738,1132,1106,1666,1114,725,658,574,882,927,1218,1310,1100,921,692,467,576,572,454,488,503,522,506,562,481,422,486,466,412,521,830,1008,934,803,566,287,253,272,254,265,291,295,352,401,407,426,372,674,1188,1106,1218,797,579,575,578,728,771,566,525,494,426,536,428,387,850,1518,1324,1110,1628,1446,890,635,795,745,868,1184,1294,1070,452,421,530,736,778,781,855,692,664,749,653,677,711,616,610,654,410,374,484,370,437,440,450,407,474,577,687,750,709,1003,1376,1026,1160,1590,1302,1114,1274,1078,863,672,672,1010,789,519,562,621,608,714,837,780,708,793,755,803,828,765,931,1244,1304,883,909,742,1094,1446,1864,1570,981,1082,1748,1542,1176,776,1150,976,1054,1310,1106,1030,934,872,734,581,689,456,565,1226,1800,1722,1136,540,398,433,498,585,849,1018,751,1018,745,844,1318,1224,1116,1292,813,413,383,491,786,971,989,1017,928,725,944,1118,1332,1126,1348,1510,1540,1610,1694,1704,1520,1360,1360,1017,1412,1544,1568,1660,1676,1656,1494,1434,1656,1860,1806,1818,2254,2358,3924,3848,2912,2758,2138,1194,1020,1252,1524,1408,1042,1198,1082,1070,1914,1764,1748,1482,1348,1274,1586,1768,1294,1106,1480,1684,1354,1230,1444,954,1040,1354,1344,1028,1132,1086,1484,1786,1326,1192,1494,1078,979,1302,1508,1194,1606,1868,1848,1558,1021,662,694,1160,1520,1566,1394,1266,1042,1432,1568,1238,1194,1146,1098,979,860,885,1128,1450,1516,1698,1870,1394,760,565,466,472,547,891,1528,2072,2642,2732,1884,1414,1144,1068,1120,1388,1476,1796,2166,1908,1674,1558,1086,970,518,631,1332,1394,1418,1860,2908,3834,3948,3828,3356,2714,2046,1494,1440,1860,2902,2808,1642,1450,1720,1572,1576,1652,1692,1460,1094,793,814,1066,1302,1278,902,670,601,525,556,707,814,919,891,691,772,1042,1272,1460,1438,1426,1196,1154,1316,1334,1682,1990,1866,1618,1406,1284,1228,1332,1542,1428,1238,928,560,401,471,694,938,1022,1170,1284,1180,1328,1306,1194,1444,1582,1406,1188,1030,1038,1038,999,1054,944,853,857,785,727,831,943,842,463,684,769,929,1020,884,810,789,691,804,948,728,599,672,544,503,534,676,860,927,466,451,961,1342,1402,991,796,875,1012,1244,1348,1212,1076,686,1150,1284,1220,1360,1404,1046,658,775,1266,1426,981,1246,1170,1312,1648,1776,1478,1180,987,867,1078,940,600,951,1414,948,1094,1460,1636,1650,944,621,623,433,437,630,993,421,392,601,949,866,542,353,340,669,933,791,526,465,742,745,634,622,463,304,506,910,873,724,1021,721,537,549,365,401,709,720,584,586,642,736,728,708,785,1086,1354,797,622,775,807,555,430,432,491,601,657,566,506,541,447,401,378,405,383,441,451,402,451,593,597,487,409,393,466,450,462,326,302,305,355,423,577,1080,1282,779,408,258,391,661,689,1017,747,830,1102,867,844,713,467,456,824,1182,1508,921,683,711,625,586,613,718,939,952,773,1024,1128,480,428,350,337,555,1042,948,793,1048,1258,880,562,438,650,790,674,1013,1166,1486,957,536,445,486,610,932,1264,1530,1610,1038,525,438,407,381,359,299,267,318,397,458,480,462,410,402,390,392,404,414,397,382,458,448,417,385,354,343,336,495,677,670,432,380,468,466,366,354,378,487,561,582,486,360,456,635,705,806,606,615,955,1168,1374,1428,1500,1588,1594,1440,1372,1382,1252,969,1114,1792,1882,1322,1086,995,802,896,1164,1434,1384,1220,1092,957,1192,1378,1044,1058,1152,722,466,965,962,577,890,1538,1854,1406,1194,1672,1448,1176,968,1096,1422,1007,644,854,933,1030,824,774,830,1476,1488,1128,985,669,628,1238,1720,1312,1034,641,546,800,1138,991,893,914,901,1086,1234,1474,1298,1118,1402,1462,1826,1236,646,604,646,847,1056,1038,766,420,572,886,698,930,1314,932,922,1234,1642,1626,1624,1166,505,506,951,1234,1252,1246,862,488,547,682,998,1132,1232,960,552,458,449,404,357,357,341,319,556,1140,1216,938,585,625,1198,1368,1094,1208,870,791,997,1232,1294,1050,1062,1302,1003,673,762,939,1024,959,860,952,1048,1017,805,872,1122,785,518,914,1338,979,524,525,571,591,738,703,659,1060,1490,1488,1226,1262,1054,597,606,555,299,365,777,964,904,1366,1260,603,595,696,635,642,587,456,496,493,491,705,1250,1000,1318,1476,1116,730,713,1084,1158,804,758,696,733,768,746,798,782,749,585,386,345,350,353,328,269,357,360,336,340,325,348,386,474,502,400,378,410,601,1011,1140,1164,818,772,586,509,450,415,472,475,395,441,511,573,475,366,529,780,885,1092,1292,1262,695,568,951,1340,1394,1005,997,1208,1518,841,373,503,868,1172,768,328,376,345,442,634,871,1122,1186,1078,702,450,406,398,586,938,1274,1128,993,1406,924,407,291,287,370,339,329,341,301,320,393,315,348,479,398,538,1070,1154,1726,2166,1706,1005,592,685,1188,1390,1112,1470,1332,1294,1252,871,1070,1296,1266,980,694,542,393,410,307,750,1036,742,1080,1434,1320,1030,810,754,763,694,928,904,639,827,873,638,583,863,866,708,1064,1232,1088,849,432,565,1102,1296,1362,969,974,968,1204,1560,1704,1608,1282,1256,1408,1290,1704,1504,1072,1192,1038,1038,1214,1140,841,841,1074,1015,683,522,645,1534,1776,747,462,677,1010,1130,1232,1452,1444,1102,1050,1708,1740,1370,1506,1544,1736,1604,1330,1306,1604,1498,1246,1340,1334,1378,1362,1322,1296,1334,1212,1162,779,525,492,494,495,703,1004,1242,1396,1216,852,894,710,437,545,461,374,498,615,555,669,999,1036,1156,1156,1304,1156,1392,1578,1228,825,988,975,835,631,516,533,599,855,600,365,396,403,480,738,1058,1005,800,745,653,1032,1688,1186,616,379,291,361,339,622,915,651,643,702,471,551,548,590,675,968,1186,1476,1356,835,527,549,641,1020,1554,1130,1048,716,499,963,1660,1898,1340,738,751,747,651,356,469,917,1272,1856,1402,974,968,1298,1714,1714,1210,763,901,997,708,761,1228,1402,1346,1360,1552,1550,1274,1232,982,511,448,729,1550,1626,1470,1504],[917,1010,1200,1146,963,874,1334,1234,786,612,513,541,616,734,748,576,621,780,816,675,615,665,584,603,805,767,633,764,750,610,531,499,648,820,841,720,591,644,797,857,962,803,473,513,679,993,454,325,422,509,727,753,901,874,1148,1532,1154,858,1013,1098,1188,1118,1228,974,514,377,285,642,1170,942,447,425,361,290,350,383,590,569,481,491,877,1364,1530,1518,1300,1518,1642,1354,833,1104,1558,1300,898,708,503,570,703,551,520,680,629,562,597,479,453,547,526,528,478,749,936,875,941,835,874,1246,1454,1758,1360,1150,763,703,625,552,479,897,1750,2686,2898,1426,1644,1478,871,698,583,608,799,935,865,697,549,497,637,983,963,1134,1296,550,441,368,374,383,379,364,439,528,536,620,806,866,804,604,461,453,419,427,750,1234,1186,859,676,763,761,780,1368,1900,1694,1310,1754,1594,1518,960,337,381,470,655,850,606,526,882,966,1120,1582,1500,829,1148,1338,830,926,924,993,1352,1350,813,489,719,872,805,770,965,1208,1236,741,646,948,708,478,466,448,388,346,301,478,1106,1412,932,622,626,733,860,912,1164,1222,1218,1046,798,722,687,617,785,722,498,619,893,1700,1834,1476,1001,946,878,529,347,356,384,440,395,460,571,1478,1448,1316,1292,1086,1282,1416,1028,639,596,1210,1792,1700,1932,1156,651,738,745,770,821,819,756,498,428,392,396,530,1023,1102,885,742,842,932,1142,1370,1426,1216,745,553,530,567,528,594,1218,1252,1060,1152,944,972,1206,1328,982,866,874,924,1280,949,1114,1300,990,911,1174,976,1388,1832,1578,2076,2188,1782,1188,880,1522,1208,513,389,426,427,480,708,1114,1372,1386,874,761,811,1084,1308,1276,1060,1142,1102,829,1070,1206,953,1032,1023,1036,1030,528,616,860,925,935,991,1110,1146,1142,990,1011,1028,1076,1198,1410,1358,1316,1392,1426,1352,1190,1266,1340,1240,1336,1346,1258,1328,1168,1118,1306,1366,1344,1322,1448,1536,1546,1446,1306,1156,1288,1302,1506,1522,1388,1104,960,1096,926,872,981,918,1078,1112,1258,1402,1252,1394,1394,1182,889,761,1086,1520,1700,1526,1142,1684,1922,1142,1258,1412,1366,1088,1216,1360,1192,1260,1132,989,1000,993,1250,1334,1346,1192,1106,1188,1106,1017,1266,1354,1128,941,1246,1338,1070,768,989,1116,922,718,645,996,1384,1286,1015,986,1048,1182,1206,1000,1188,1362,1082,849,713,586,616,537,390,365,381,860,1276,1094,874,717,683,776,657,791,1128,1522,1664,1668,1152,1148,1060,1098,1408,1694,1746,1300,1500,1880,1316,1486,1814,946,802,794,686,839,722,805,894,1084,1428,1138,885,1326,1194,608,387,424,430,404,512,468,433,513,505,480,539,726,941,1021,979,680,406,294,265,246,268,313,351,358,367,382,408,462,627,872,836,1230,802,637,539,456,508,514,415,416,417,433,586,568,433,729,1570,1678,1380,1580,1406,794,647,752,599,855,1464,1606,1005,437,352,369,381,418,436,486,438,406,410,464,548,506,593,727,683,675,807,766,579,515,510,421,431,428,417,597,772,508,427,634,522,1024,1284,822,789,807,595,716,711,910,1120,794,598,584,656,656,570,568,539,396,351,470,574,607,775,958,844,781,932,915,804,1001,1160,1023,883,806,929,1216,1020,922,651,1032,1200,1400,1288,951,1142,1720,1682,974,613,988,821,964,1636,1886,1334,584,357,401,446,521,467,421,558,501,1100,1015,1162,1296,1032,918,968,660,398,423,631,990,871,642,841,790,592,1044,1636,2050,1772,1432,1438,1534,1582,1592,1534,1390,1182,1252,1308,1510,1552,1544,1598,1484,1208,1196,1044,1288,1774,1596,1820,2254,2492,3936,3488,2084,1680,1302,1021,919,1168,1514,1384,926,1070,960,1122,1576,1610,1604,1626,1434,1176,1656,1720,1250,1350,1790,1656,1414,2042,1878,1732,1624,1346,1104,1214,1290,1066,1350,1444,1132,1300,1344,1068,1090,1346,1592,1386,1354,1618,1782,1500,777,601,847,1420,1600,1516,1296,1318,1366,2048,1778,1234,1194,1194,1240,1404,1142,830,771,1108,1376,1550,1418,813,524,478,396,419,869,1636,2344,2680,2698,2330,1754,1500,1318,1266,1148,1616,2000,1560,1868,1916,1570,1164,846,1162,767,581,1164,1362,1368,1622,2548,3494,3016,2480,1884,1646,1798,2282,2842,3248,3486,2612,1372,1502,1746,1678,1340,994,874,786,888,1106,1318,1454,1592,1274,806,848,853,782,799,845,954,993,905,738,1080,1104,1202,1388,1410,1350,1230,1078,1636,1940,2172,2136,1628,1208,1170,1422,1700,1766,1686,1366,758,512,584,680,761,730,910,1142,1284,1086,1000,1023,1004,1178,1556,1614,1528,1396,1144,1088,966,1048,1168,1005,907,875,772,794,795,787,959,821,727,860,1005,691,494,642,564,371,550,830,931,904,988,688,374,462,823,1136,953,722,758,758,933,1148,669,831,1120,1376,1392,1180,1024,772,438,1038,1476,1290,1218,1120,1118,1214,1346,1086,932,1017,1200,1396,1722,2034,1538,827,776,1036,979,1198,1032,1136,1376,1584,1064,1748,2040,1770,1608,913,638,535,419,363,472,948,504,345,470,918,835,461,408,495,954,1290,778,606,821,759,794,966,1072,768,639,805,1094,989,655,951,783,643,587,440,514,760,950,744,554,500,576,785,865,703,766,926,788,558,629,539,496,448,463,575,554,641,687,623,525,441,461,498,479,447,490,460,408,469,628,716,692,490,373,397,310,275,353,573,596,381,487,597,644,715,481,340,312,307,318,480,563,689,1288,1238,628,526,642,624,642,1178,1340,1572,1019,690,403,443,424,465,879,1256,1120,1216,1686,2230,729,428,604,1060,1532,1802,1500,1086,1424,1546,904,523,481,543,771,742,780,1172,1454,1528,1500,1180,1126,1242,1542,1742,683,733,689,503,405,415,378,345,391,375,328,372,501,554,437,390,372,382,394,388,422,423,428,411,382,426,409,336,314,319,423,605,817,640,426,375,508,456,414,570,663,562,436,366,357,378,527,691,743,554,476,739,1202,1400,1488,1608,1622,1666,1470,1378,1246,1046,796,942,1266,1148,1044,1170,1086,733,708,912,1206,1312,1280,1344,1334,1706,1928,1650,1256,828,551,495,532,569,669,615,708,928,953,1390,1476,1256,1302,1096,965,749,714,1028,844,807,1128,1104,1272,1088,943,721,941,1322,1396,1260,1238,1328,871,935,883,847,854,834,735,750,684,627,749,947,1076,1072,1148,1560,1624,1316,899,769,872,1036,1082,969,1000,854,549,445,479,360,637,1106,1028,960,1104,1058,918,1192,1542,861,630,1070,1328,1284,1060,581,415,430,569,854,1166,1152,645,442,421,381,358,366,378,363,259,478,918,1064,986,631,609,747,762,525,791,822,575,381,844,1452,1326,1148,1204,1256,1236,1108,951,853,996,716,662,575,523,557,513,478,424,432,648,778,634,666,964,895,752,608,622,823,1104,1332,1484,1314,918,710,803,1058,945,871,766,560,495,712,1032,709,464,580,644,672,791,631,553,523,493,586,659,954,1182,1616,1838,1350,787,785,1366,1142,750,740,706,754,808,768,774,785,719,571,416,400,372,380,383,309,412,435,374,343,333,350,392,446,418,354,356,365,450,965,1316,1280,924,783,688,533,407,377,450,522,462,385,428,477,457,472,677,769,1186,1214,1182,1540,919,680,980,1096,1328,843,842,1274,1482,930,354,405,760,1068,750,426,360,353,413,305,399,546,717,1068,1068,1042,612,428,625,1250,1456,1070,868,811,599,324,235,265,536,944,587,317,316,366,384,363,317,360,357,406,565,783,1334,1328,946,1182,1023,661,1062,1380,921,799,963,1116,942,711,855,1028,775,488,514,644,487,434,456,688,631,615,1138,1534,1650,1282,991,843,1294,965,1068,877,483,929,1042,786,733,802,642,581,850,1144,1366,1114,719,876,1290,1214,1228,1568,1570,1013,903,1216,1464,1434,1278,1324,1516,1128,1560,1614,1012,959,901,897,990,872,667,821,1158,959,790,718,828,1230,1298,1112,1294,1474,1234,926,868,1036,889,613,803,1232,1246,1214,1634,1864,1604,1314,1122,1278,1842,1726,1384,1384,1444,1432,1292,1310,1166,1356,1466,1086,734,714,526,436,435,496,583,737,1012,1316,1092,1032,1036,900,700,492,363,505,498,439,549,734,893,705,915,948,1058,1340,1382,1118,880,1140,1230,1176,563,419,335,436,672,480,433,444,408,414,430,594,792,789,518,476,616,890,723,521,328,292,364,365,421,437,569,777,435,471,690,547,667,882,903,1130,1348,1074,775,874,709,545,1086,1496,1012,955,809,785,959,822,1032,1084,857,717,651,580,340,763,1146,1520,1684,1012,458,353,631,1074,1112,1218,1186,1220,1094,796,603,1100,1404,1520,1710,1932,1710,1198,1120,774,711,639,808,1454,1520,1140,1112],[996,988,1206,1100,808,760,1562,1644,1120,706,409,422,624,747,724,780,717,930,1060,839,591,673,820,733,577,531,579,531,583,588,492,449,620,659,942,950,612,648,725,585,633,590,453,383,320,493,366,345,438,513,571,399,437,713,928,963,787,769,832,706,1102,1278,1468,1174,518,328,311,599,988,857,587,461,396,346,501,717,688,633,549,487,816,1386,1550,1094,894,674,460,924,981,1314,1542,1154,1148,1176,880,643,626,477,467,550,535,416,393,396,421,422,454,521,496,642,774,848,967,855,959,875,1510,1578,1454,1510,1526,1336,872,536,487,831,1272,1550,1734,1294,1448,1416,1072,684,515,698,893,1007,1100,1044,786,788,1050,988,1034,1234,735,415,465,530,480,436,462,500,515,583,716,865,955,821,641,551,574,685,724,796,1032,1146,1072,1012,1118,961,961,1002,1332,1398,1546,1506,1672,1704,1588,1074,645,443,502,609,1040,1354,870,716,946,1250,1502,1562,1196,1078,1070,967,1062,1120,1224,964,724,792,727,788,999,1002,1260,1550,1386,1302,1052,788,606,561,477,494,468,416,359,329,589,1310,1664,1158,846,1034,863,753,931,1023,1010,1510,1498,853,524,474,487,830,901,717,725,1344,1600,1482,1290,1362,1792,1644,650,401,392,326,279,338,428,437,937,1094,1548,1550,1280,1240,1200,1280,955,979,1846,1946,1924,1948,1328,739,571,598,783,881,797,733,421,394,488,607,821,1124,824,850,1306,1308,1218,1328,1406,1382,1130,579,444,459,486,486,866,1362,813,747,1132,1204,1270,1308,1300,880,709,1028,1260,1474,1182,1188,1100,889,1012,1084,988,1284,1282,1164,1792,1838,1456,935,1004,1782,1432,557,405,400,466,596,820,1368,1394,1372,1034,692,656,839,1052,1098,1144,1364,1114,631,636,1178,1238,772,679,1826,1726,681,437,514,665,836,897,1102,1200,1088,829,935,1140,1236,1432,1262,1188,1466,1274,1144,1170,976,745,819,868,961,1152,1408,1410,1160,1232,1264,1248,1276,1210,1288,1294,1488,1566,1304,1106,1418,1434,1270,1360,1378,1252,1290,1082,726,829,1012,839,932,1032,1090,975,1128,1156,1076,1176,957,711,1108,1584,1732,1506,1208,1448,1498,1120,1382,1410,1294,1134,1032,985,904,1194,1158,1286,1240,1120,1318,1322,954,540,546,743,680,604,1048,1400,1608,1526,1014,944,904,871,1072,1072,809,722,1086,1406,1316,1156,1284,1152,1192,1176,1078,1092,1102,1278,1004,704,635,670,756,615,577,809,703,996,1240,1372,1200,725,502,486,592,786,926,1152,1021,1164,1094,1362,1180,1186,1520,1650,1438,1212,1356,1418,1304,1578,1442,1274,1026,863,966,850,869,860,909,1104,1070,887,1072,1542,1078,555,400,420,405,429,463,390,412,520,589,540,528,667,980,897,830,685,430,318,271,267,317,362,341,327,353,409,398,414,508,695,1026,1268,1182,983,675,550,576,588,767,668,541,437,479,502,457,498,988,1082,1286,1570,1218,710,517,528,573,824,1262,1302,909,552,393,368,364,358,410,467,349,347,381,384,334,343,391,359,354,493,675,816,789,634,667,760,750,641,659,641,517,445,371,302,344,533,462,321,424,417,661,760,849,1152,1152,796,597,791,866,743,888,791,506,354,332,309,266,315,289,297,370,476,450,456,642,711,617,620,1114,1130,1198,1282,1202,958,952,970,973,960,775,801,1226,1432,1036,564,415,661,1094,1296,1520,1360,843,616,517,427,361,446,535,528,499,432,902,1174,1196,1348,1346,988,771,499,523,634,653,806,661,669,972,1007,1162,1616,2026,2138,1876,1604,1632,1626,1592,1562,1556,1604,1566,1334,1310,1482,1616,1500,1430,1448,1134,1422,1042,1154,1476,1460,1824,2050,2456,3904,3662,2404,1628,984,1062,1015,1294,1580,1390,1072,1154,874,749,1028,998,851,977,852,694,1244,1462,1356,1388,1622,1426,1520,2020,2326,2498,2512,2382,1880,1368,1290,1090,1540,1258,1118,1478,1248,1126,1350,1584,1382,976,1300,1698,1720,1532,1010,706,1110,1492,1376,1372,1452,1318,1532,1864,1498,1262,1228,1216,1450,1500,1386,1188,924,843,970,981,708,533,454,375,530,1021,1848,2426,2592,2026,1770,1646,1680,1560,1368,1270,1230,1326,1528,1280,1754,1764,1007,641,667,928,915,756,816,994,1230,1460,1776,2046,1692,1742,1854,2354,3002,3474,3666,3464,2688,1646,1312,1554,1640,1698,1244,832,905,1162,1380,1494,1504,1522,1566,1336,1206,1566,1464,1042,918,921,971,951,977,1224,1182,1005,1078,1106,1220,1196,1424,1512,2142,2024,1612,1330,1258,1472,1700,1744,1534,1418,1824,1816,740,576,832,841,749,730,940,1262,1232,1007,987,975,1026,1100,1324,1592,1612,1576,1442,1158,1036,1112,1030,909,946,913,891,958,964,807,852,1080,843,649,576,345,321,485,436,292,458,628,840,990,954,648,668,844,1130,1112,872,882,1100,1056,713,847,1156,1024,1278,1424,1224,805,799,743,595,910,1130,1136,1048,1076,1494,1510,1642,1170,919,940,782,1130,2026,2110,954,644,613,915,1074,904,1094,1232,1382,1600,1248,1192,1396,1632,1482,758,675,770,713,659,846,1192,714,323,363,629,810,656,502,744,1666,1602,772,700,796,969,952,1068,1216,896,822,769,677,752,502,656,877,717,575,453,467,712,965,820,617,419,588,771,858,689,841,879,577,473,484,544,575,438,544,607,515,677,760,756,613,480,521,570,565,569,547,463,372,403,508,633,698,643,477,339,303,336,333,594,583,359,482,693,607,663,703,473,439,295,291,521,769,876,1388,1586,641,301,322,387,453,774,1040,890,859,730,582,786,784,487,1182,1724,755,1024,1288,1208,703,941,1516,1816,1688,1422,1200,901,1194,1170,1020,933,621,516,502,764,624,1013,1196,1478,1862,1652,1402,1078,1098,1484,955,825,692,495,394,424,401,356,446,620,599,365,378,535,483,462,388,380,412,402,419,448,436,401,442,532,538,355,285,268,292,473,776,941,744,473,396,506,704,844,826,670,402,362,408,480,583,583,476,402,422,690,1114,1200,1378,1520,1644,1402,1394,1470,1280,1180,789,669,755,895,1396,1582,1460,1190,810,886,1046,1462,1452,1318,1392,1648,1544,1350,1178,664,394,546,550,647,542,570,494,363,500,692,682,1036,1350,1168,1134,1072,1132,1318,984,1034,1108,1428,1902,1578,925,677,636,785,1136,1498,1304,1168,789,528,514,733,819,721,521,522,518,479,552,625,816,1098,1052,1126,1244,1262,1019,725,904,1272,1158,788,801,491,460,376,301,426,669,888,828,1019,1212,1170,1568,1992,1864,1152,1280,1478,1278,954,638,465,446,390,505,916,1078,698,449,391,375,377,366,371,364,349,289,444,796,977,1108,716,834,796,798,724,531,533,481,468,831,1164,1382,1424,1120,1168,1334,1384,999,786,738,667,507,401,420,450,446,453,423,515,561,602,604,867,1578,1710,1212,765,860,924,913,1420,1712,1512,948,522,850,1322,1408,1002,601,590,570,762,988,862,770,858,719,874,1148,850,865,824,757,737,938,1220,1042,1178,1354,1342,1001,850,909,890,813,781,799,800,772,756,763,771,611,451,397,396,364,346,343,341,455,423,310,319,337,384,437,450,499,536,590,501,469,704,970,1126,1066,801,640,568,466,402,412,457,474,507,487,470,468,891,1184,800,852,828,1080,865,656,649,1172,1060,1154,1328,1368,955,1164,1304,550,288,369,861,786,505,329,328,442,636,876,756,1110,1450,1118,1184,692,557,1021,1672,1282,921,902,746,520,313,270,308,760,1592,803,423,664,989,929,485,282,311,367,725,993,1142,1754,1576,990,973,1156,1054,764,1078,1294,1052,855,655,439,490,770,1078,741,562,483,706,573,489,553,543,425,711,1252,1532,1176,728,850,1140,1426,713,682,757,538,1198,1448,827,777,1072,1192,799,719,964,1200,953,1098,1088,955,1298,1626,1834,1732,1416,1190,1162,1434,1680,1836,1646,1394,1214,1614,1768,1390,1028,808,832,891,860,535,660,1310,1202,1210,966,1028,1218,1548,1606,1184,919,736,844,673,731,637,488,584,913,1198,1170,1360,1516,1336,1302,1172,1148,1582,1406,1254,1156,1390,1366,1346,1262,1214,1368,1328,1020,988,883,539,484,451,464,497,533,1134,1378,1202,1180,1220,1086,713,519,595,896,664,678,605,591,819,788,1098,1208,1110,1010,1278,1558,1590,1536,1086,870,386,370,464,653,600,438,547,567,414,397,493,518,564,644,658,510,336,385,740,773,410,393,521,562,702,788,904,800,436,455,527,663,1460,1794,1232,1136,1372,1172,1040,1274,1230,1048,814,764,719,823,804,936,898,689,528,531,758,719,624,435,466,899,1108,1486,1510,833,531,401,386,485,840,1016,1086,1358,1250,1088,923,1092,1480,1426,1004,1136,1146,819,752,703,596,615,908,1538,1452,926,868],[852,891,1266,1286,926,757,1438,1770,1026,525,366,414,797,957,1184,1200,929,1394,1416,833,463,731,854,738,833,1004,986,626,481,518,408,379,721,648,656,694,443,554,756,639,492,456,533,661,841,1021,728,546,691,580,431,316,351,508,670,828,479,487,624,537,880,1188,1366,1012,521,405,331,508,891,1146,1023,560,439,372,670,984,969,819,584,426,512,926,1238,1048,790,527,449,700,945,1184,1036,530,586,1004,1226,1208,910,626,462,473,422,401,417,453,458,431,496,537,482,498,592,703,888,781,902,948,1100,1050,1310,1716,1766,1122,756,503,744,1092,1000,907,799,896,993,808,964,775,680,832,833,983,1100,998,760,977,949,698,836,756,521,474,550,526,481,578,648,677,652,720,903,1082,1002,724,651,592,697,1026,1208,1440,1344,1062,725,1158,1372,949,957,1562,1486,1378,1604,1466,1390,1444,1438,1314,1338,951,758,615,977,1058,966,725,443,722,1218,1460,1058,917,1072,1336,1450,1194,1224,1230,1134,1134,1056,1176,1238,998,1182,1604,2062,1268,1070,894,755,747,568,496,494,476,533,430,636,1144,1506,1570,857,601,711,629,1142,1138,1006,1708,1224,480,346,407,375,590,767,732,766,1194,1290,1040,1118,1532,1786,1310,477,337,289,262,267,364,507,571,888,1266,1216,1232,1224,1076,1260,1500,1410,1500,1936,2152,2054,1754,1144,837,677,688,1040,1224,1158,800,525,481,551,919,1136,907,835,1364,1348,1152,990,1048,1236,1246,977,530,433,468,613,1010,1428,1072,454,521,723,790,1246,1566,1468,976,1250,1346,1158,1226,1306,1206,803,749,868,934,984,1246,1436,1216,1148,1174,922,573,549,1004,1262,700,526,420,410,624,785,1246,1394,1390,1290,1130,1118,1178,1148,1266,1482,1388,810,616,581,1058,1102,1082,717,739,724,567,454,453,534,570,639,1142,1218,1106,1128,1104,1180,1470,1746,1516,1470,1600,1454,1284,1144,872,733,664,691,814,960,1168,1180,1182,1276,1310,1296,1276,1206,1316,1582,1502,1464,1404,1264,1532,1556,1528,1724,1596,1542,1772,1250,908,1094,1132,1172,1082,796,755,1009,1384,1294,1066,1290,1007,778,1148,1558,1732,1400,1212,1340,1306,1188,1344,1384,1198,1146,1290,1080,841,1202,1126,1098,1282,1196,1246,1144,720,619,803,811,628,529,915,1358,1586,1758,1178,886,833,988,1440,1498,1192,1456,1756,1466,1466,1132,1506,1448,1404,1230,1252,1340,1296,1328,1016,719,585,666,659,756,1180,1488,1150,1106,1054,1102,1182,771,582,702,910,925,796,1146,967,983,1180,1520,1350,1294,1620,1540,1022,802,601,584,679,822,1098,1132,1080,995,924,962,1164,1012,840,886,780,622,936,835,500,368,421,441,354,352,375,414,478,559,569,635,637,645,942,747,708,722,531,366,326,314,362,421,368,368,444,526,400,377,763,1058,1278,1200,1128,1362,1274,963,783,600,962,1062,1056,643,526,691,630,472,376,420,600,644,691,559,412,361,472,596,577,573,668,695,536,441,357,359,378,441,386,412,391,349,364,423,380,331,304,377,548,605,381,341,429,415,391,532,865,979,1011,991,884,843,695,605,562,547,484,432,644,632,1018,1322,1156,772,554,631,706,808,983,742,481,407,403,383,368,347,347,399,455,472,484,536,552,442,352,365,677,864,1010,1132,1082,1134,1186,1138,1230,1278,1238,1222,1328,966,482,453,634,758,933,1172,1280,978,806,689,545,400,453,744,811,617,483,361,662,1122,1118,859,626,413,697,863,1130,980,698,741,714,716,923,1308,1770,2082,2012,1838,1938,1572,1510,1568,1610,1654,1578,1632,1740,1408,1086,1346,1472,1346,1288,1288,1148,1826,1642,1272,1274,1398,1476,1290,2018,3728,3802,2482,1732,1276,1206,1278,1438,1554,1266,1024,1076,839,942,1188,800,940,982,616,416,755,1238,1422,1180,1256,1556,1624,1432,1484,2342,2636,2498,1876,1382,1382,1498,1826,1330,1300,1446,1090,1188,1456,1654,1220,1088,1358,1942,2136,1698,1660,1274,1390,1432,1038,882,1172,1492,1614,1852,1748,1360,1184,1310,1376,1490,1482,1438,1340,1078,996,1218,802,464,358,391,797,1452,2230,2524,1896,1384,1352,1518,1706,1504,1298,1292,1298,1022,1118,1286,1316,1112,788,804,769,789,894,877,710,854,839,1280,1398,1586,2062,2740,3242,3586,3694,3334,2536,1700,1214,1242,1242,1282,1484,1760,1378,1038,1262,1518,1578,1592,1518,1366,1326,1450,1526,1626,1764,1594,1212,896,993,956,738,835,764,1220,1340,1146,1312,1180,1376,1470,1418,1234,1268,1544,1840,1874,1692,1552,1632,1926,2290,2388,1130,677,882,749,466,602,1042,1244,1246,1116,1068,1004,976,1032,1122,1322,1576,1646,1512,1222,1056,1015,963,890,976,1136,1064,1026,1008,741,577,732,848,995,1013,647,373,376,493,495,625,607,746,714,855,1130,1152,1162,1182,930,858,826,935,1112,1001,633,1005,874,1148,1310,926,555,717,919,910,740,714,801,958,1144,1438,1288,1300,1003,673,543,735,1192,1616,1340,838,1021,1118,1162,1012,938,1300,1470,1408,1532,1346,945,1296,1352,1238,591,493,866,680,506,738,1248,1076,537,580,1068,1546,1390,644,558,1170,1158,925,780,556,982,1096,652,702,574,425,477,586,937,663,610,850,976,730,400,422,619,683,577,590,427,597,802,796,710,1024,1042,612,453,427,483,534,528,550,526,563,630,634,694,617,513,521,518,533,576,497,390,298,324,432,525,571,631,486,324,550,858,746,547,506,571,615,684,904,742,618,550,499,355,293,395,379,314,840,1228,584,400,437,415,375,722,909,865,727,602,672,873,1182,839,1234,1708,707,697,1152,1258,1348,1598,1466,1692,1780,1003,644,479,665,758,1028,1286,765,457,292,589,601,735,1244,1528,1254,788,500,374,430,648,869,897,816,617,516,466,437,394,402,515,570,444,346,370,505,530,433,376,390,396,406,451,451,463,548,548,491,386,300,236,228,351,608,882,935,756,437,423,656,890,861,626,404,371,392,446,477,481,450,430,393,473,769,944,1244,1262,1272,1450,1388,1494,1446,1396,1296,1154,957,896,1478,1520,1380,1312,893,1136,1366,1382,1382,1462,1304,1208,753,653,1052,1090,706,644,486,479,568,919,926,657,530,333,585,1310,1368,1110,1038,1430,1224,1102,968,741,860,1662,1998,1168,657,655,566,490,694,973,999,940,1114,921,576,514,599,737,617,439,434,589,538,821,1162,1190,957,865,956,1092,1038,864,1050,1636,1376,795,447,303,331,423,524,650,982,843,521,893,1210,1398,1954,1954,1720,1580,1386,1198,1170,1094,724,458,443,379,405,782,1142,596,377,372,355,365,357,351,348,345,299,366,612,736,1038,847,749,893,1168,1066,595,504,652,769,845,1188,1308,913,1200,1040,995,1334,1538,1256,1070,813,480,425,374,351,350,450,491,560,765,797,567,669,1076,1013,858,1138,1160,1048,1556,1732,1810,1334,860,591,1022,1294,1244,806,462,445,378,534,820,927,1114,1244,1260,1220,1208,1092,879,599,480,365,602,1176,1544,904,680,844,1030,1304,1366,1266,1050,931,907,776,676,722,662,565,429,357,355,366,354,325,328,364,440,392,291,318,321,362,453,406,493,623,650,532,566,670,680,752,1054,952,778,579,473,407,424,454,580,713,558,397,354,677,1000,627,697,1162,1498,758,396,393,698,852,962,1506,1678,996,1328,1350,524,307,283,524,482,341,322,357,371,861,1426,1094,1334,1400,1204,1786,1106,688,938,1050,661,682,1230,1466,781,373,484,782,1192,1588,738,380,814,1730,1756,872,501,452,864,1332,1868,1738,1018,976,974,1258,1438,1166,864,1004,1106,781,462,375,487,536,820,1448,1262,958,738,777,662,594,719,766,850,985,1258,1212,777,1078,1292,1144,832,529,818,1042,790,968,844,646,645,775,796,791,1018,1140,1412,1380,1200,1134,1030,1007,1402,1634,1034,855,1018,669,1302,1578,2478,2562,1494,975,1204,1626,1632,1554,1254,1076,800,788,891,735,1166,1021,880,1262,1600,1322,1704,1958,991,975,1454,1434,913,747,746,604,599,1004,1212,1224,1264,1244,1294,1358,1302,1292,1538,1466,1334,1282,1442,1492,1352,1240,1268,1298,1124,1070,1118,741,500,475,483,507,537,843,1144,1092,1210,1126,1500,1276,918,550,513,650,704,838,845,1066,1102,865,920,1210,673,599,1692,1956,1798,1602,1230,774,591,813,991,855,669,543,549,441,376,345,424,534,558,497,588,599,381,452,732,667,504,683,861,730,1042,1396,1270,694,463,439,442,935,1760,1968,1252,899,1170,989,1142,1158,1290,1600,1488,967,731,855,871,896,1146,1316,984,879,946,803,796,782,848,896,929,1274,1520,899,494,526,441,371,857,698,868,1054,807,656,614,945,1400,1058,651,656,1018,801,540,412,373,551,841,1424,1862,1666,1560],[757,896,1134,1180,845,611,1128,1700,962,469,394,457,944,1164,1424,1412,1450,1344,998,849,680,796,796,827,1344,1460,1174,846,651,486,362,447,886,1042,904,719,397,432,546,596,513,478,841,1292,1224,1013,601,505,733,642,480,378,336,354,482,652,457,459,628,575,791,984,731,631,471,491,443,464,846,1166,1068,724,532,387,726,1182,1054,794,613,433,461,838,839,744,771,689,566,527,507,584,528,371,360,509,697,992,1280,1240,944,610,425,448,469,467,423,384,479,495,460,518,846,948,774,744,979,1142,888,798,1228,1938,1638,646,497,631,1366,1636,1582,1390,1230,1036,711,564,692,932,1152,836,553,711,997,884,895,1018,883,697,582,636,556,365,434,375,401,621,773,810,861,931,1028,1058,915,802,800,633,641,1044,1318,1624,1682,1262,667,908,954,786,907,1294,1382,1328,1378,1334,1252,1264,1250,1250,1362,1374,1122,743,857,1224,1372,1080,722,949,1266,1534,1064,604,951,1174,1290,1238,888,786,1046,1102,1128,1502,1890,1166,1206,1886,1594,1005,934,872,999,1060,716,516,496,719,1266,1088,943,1042,1466,1568,1210,1050,880,888,1078,1140,1492,1656,731,377,343,329,520,505,397,418,474,755,884,692,792,1072,1302,660,440,454,383,344,306,469,803,884,1146,1500,1430,1212,1032,926,1344,1650,1556,1394,1634,1838,2142,2018,1466,1064,911,918,1522,1748,1404,791,650,661,898,1192,1208,1014,1202,1786,1554,1394,1202,716,573,1018,975,667,552,613,1018,1572,1704,1032,503,519,602,890,1730,1864,1294,1288,1456,1260,1340,1316,1278,1266,1021,799,1042,1296,1170,1188,1758,1456,899,1198,1200,697,428,617,835,780,556,405,405,518,716,1142,1388,1368,1394,1288,985,1150,1078,1038,1011,1023,620,520,817,1244,1826,2340,1516,619,889,594,382,441,470,461,787,1264,1328,1400,1376,1134,1124,1298,1250,1404,1702,1108,856,940,1052,914,678,717,984,981,868,919,728,877,1006,1144,1276,1168,1206,1222,1378,1616,1770,1636,1538,1734,1536,1374,1406,1418,1570,1642,1120,1090,1368,1358,1216,1218,1290,1116,1116,1266,1224,998,1240,1076,843,1172,1544,1520,1108,1054,1260,1412,1318,1526,1306,1266,1262,1536,1372,1016,1092,1112,935,857,922,1032,968,966,1082,1356,1164,876,624,849,1288,1768,1864,1288,861,960,1200,1376,1164,1126,1024,1108,1220,1192,832,1174,1424,1412,1278,1412,1418,1222,1252,854,695,778,789,897,999,1296,1470,1102,932,943,883,872,984,1236,1332,1252,1136,921,1188,1396,1412,1490,1562,1322,1434,1694,1490,891,690,752,578,518,479,884,961,912,1088,1050,1028,1023,895,809,771,791,594,796,709,567,464,623,646,385,496,684,752,734,853,747,774,709,686,918,830,786,841,625,386,376,337,382,456,422,421,534,531,429,428,753,969,1136,1050,765,1190,1286,1005,591,702,930,884,733,566,611,650,640,600,448,509,501,415,535,492,373,351,348,311,324,384,641,724,525,424,350,313,398,432,348,391,402,376,385,412,418,408,514,910,897,865,462,401,364,370,442,510,1142,1686,1620,1326,1196,913,690,1010,896,780,725,783,796,727,1108,1404,1106,597,563,482,459,455,442,440,512,490,455,449,444,432,410,401,416,432,463,472,483,448,297,353,543,669,865,984,1020,1032,968,1034,1056,1004,1086,1108,969,815,788,859,908,803,789,946,1116,821,743,526,488,518,427,471,582,590,697,713,784,1212,1094,535,505,535,925,951,977,916,944,900,828,1056,1528,1874,2022,2044,1662,1516,1942,1588,1498,1538,1450,1376,1380,1576,1816,1532,1116,1338,1250,944,974,1036,1062,1772,1694,1262,1322,1260,1164,1070,1322,2056,2498,1810,1868,1788,1490,1562,1582,1382,1200,1214,1170,815,1088,1240,810,1312,1538,1096,773,1028,1246,1258,1186,1488,1618,1620,1372,1600,2554,2602,2334,1232,1210,1350,1546,1820,1428,1428,1374,1038,1300,1634,1670,1054,1144,1614,2448,2058,1130,1066,1356,1550,1334,1052,979,1206,1536,1678,1670,1836,1708,1448,1328,1490,1680,1594,1476,1614,1546,1340,1252,1080,709,480,692,1432,1676,2026,1926,1638,1648,1660,1762,1648,1078,1296,1488,1050,832,1304,1518,1422,1056,762,702,727,762,980,1005,869,948,693,1034,1438,2316,3338,3732,3802,3388,2574,1786,1346,1482,1488,1308,1160,1292,1376,1536,1472,1408,1626,1450,1268,1120,1036,1156,1348,1326,1094,1320,1832,1820,1306,870,944,921,1078,1094,813,1286,1168,714,911,1238,1378,1320,1346,1726,1784,1692,1494,1378,1448,1602,1494,1290,1084,1684,1286,715,849,742,466,630,1248,1374,1296,1130,1088,1036,977,983,997,1476,1882,1668,1384,1358,1172,1064,1048,1060,1001,1164,1120,1028,913,702,453,333,487,808,1136,1018,653,434,708,907,907,690,619,690,897,1102,1246,1086,1114,783,832,1090,1162,1186,1208,1032,922,995,1288,1142,821,819,801,961,1130,973,583,489,760,980,1242,1302,1170,1030,843,1152,1628,1560,1488,1462,1252,1232,1206,1194,1144,1280,1638,1606,1012,1232,1416,1028,1300,1386,1294,631,439,792,1000,696,480,949,1240,774,724,1238,1738,1652,852,418,462,734,930,852,645,828,1080,886,1328,702,381,382,819,1644,1140,792,858,750,717,416,410,428,518,539,623,730,797,735,623,602,1060,1152,643,527,462,497,539,587,563,607,593,548,524,486,435,491,505,456,505,692,473,363,358,356,408,516,519,458,406,393,635,1011,1130,950,961,763,910,802,910,661,685,669,420,488,534,437,401,309,404,454,791,879,872,1110,1084,929,946,847,678,872,849,635,1021,1542,1132,702,423,425,938,1382,1364,1248,981,879,1140,1340,1302,669,689,914,916,843,637,481,261,479,845,1122,1202,1238,959,959,638,388,388,655,1384,1734,1524,1392,1158,611,444,412,460,742,591,446,414,373,448,512,497,396,362,343,365,449,469,479,473,409,347,280,211,191,238,312,508,793,866,874,633,416,487,717,622,426,400,454,466,481,438,412,444,422,382,439,586,908,1196,1308,1280,1314,1432,1526,1462,1392,1282,1416,1184,915,1116,1202,1246,1272,1096,1260,1486,1438,1626,1748,1160,716,479,444,601,1013,971,617,393,424,756,1366,1492,1132,1038,678,598,801,947,1002,981,1178,1012,1002,1142,1030,1013,1560,1472,714,593,668,572,648,664,755,714,727,1146,1350,967,704,506,626,1042,1112,917,720,573,955,1214,1026,919,915,960,861,943,1086,984,1428,1372,937,429,268,330,707,1100,1160,1312,932,627,793,1054,1364,1510,1650,1434,1076,1056,1096,1134,1074,649,476,505,412,470,672,1170,804,426,431,365,365,356,346,354,377,349,419,698,1056,1524,1456,906,803,1296,1386,1184,1210,1004,1058,1108,1294,1194,1017,823,677,787,1414,1644,1362,1102,1228,1056,543,407,392,469,554,534,555,738,799,631,532,610,637,839,1028,1396,1350,1730,1330,1600,1632,1488,1256,1132,1228,1338,1182,622,515,717,1234,1000,1244,1534,1506,1452,1468,1484,1176,791,449,484,376,568,1048,1556,833,505,455,716,1054,1120,1272,1500,1088,927,691,649,602,560,588,498,419,350,340,343,331,322,366,488,407,299,307,321,408,455,380,440,590,566,545,688,916,950,832,860,1050,1182,1032,685,430,502,568,501,508,517,539,470,400,513,494,458,903,957,505,380,458,457,530,733,1216,1076,399,343,481,301,281,296,292,259,245,300,379,351,745,1730,1528,981,681,797,930,518,646,818,781,735,704,1392,1768,1082,706,882,1300,1188,688,343,281,462,1300,1678,1268,1228,913,1114,1096,1570,1662,1174,1184,1270,1926,2100,1664,1206,995,802,846,1002,623,518,559,605,1226,1202,1001,949,771,760,786,850,1080,990,977,924,813,872,1236,1620,1032,502,554,650,756,587,906,1252,1052,751,584,624,1214,1518,1340,1172,1058,985,793,592,500,832,845,511,457,1002,644,853,1256,1924,1418,908,1052,1126,1496,1622,1764,1498,959,883,1170,1230,966,1030,1009,1032,1182,1198,1274,1830,2076,1722,1698,1302,996,979,927,948,808,822,1012,1080,1320,1238,1302,1544,1336,1244,1506,1568,1436,1220,1226,1568,1618,1388,1410,1280,1122,795,892,766,568,502,502,481,502,647,969,1005,1166,1308,1120,1476,1300,1528,1210,1042,781,515,561,608,736,1024,912,766,1072,969,735,1570,1718,1524,1466,1064,620,774,1268,1316,652,592,658,557,407,358,364,364,400,472,430,424,376,355,709,719,499,388,560,667,723,1013,1396,1364,1206,1072,683,716,1344,1454,1198,923,963,1338,1338,1206,1230,1238,1274,1318,1012,824,685,590,886,1354,1492,1024,1330,1306,900,914,1030,1274,1130,1066,1282,1498,1016,1152,1604,1136,639,762,548,382,434,688,918,781,914,1328,1132,841,727,1106,1146,1026,839,711,755,939,1438,1878,1910,1884],[765,836,971,1142,843,596,603,1282,905,433,324,480,885,1162,1248,1180,1236,1306,1162,1134,907,949,1014,957,1434,1490,982,833,763,528,360,537,1134,1562,1954,1282,513,372,385,531,547,447,731,788,438,502,560,545,704,791,837,563,420,326,495,765,655,470,652,860,1068,1132,774,699,554,482,511,547,778,922,868,619,482,434,575,750,700,594,522,390,761,1098,1118,1022,756,755,778,531,431,417,623,759,453,450,625,615,714,1064,1426,1300,869,556,469,420,369,378,385,361,420,488,541,789,819,1046,1216,997,727,518,803,1362,957,610,539,736,1482,1200,1036,1290,1302,872,691,763,875,1390,1660,1200,620,502,786,948,1100,916,682,531,544,695,524,354,284,324,401,495,702,857,925,960,919,744,680,712,658,513,500,763,1066,1272,1224,822,544,909,1060,974,1104,1218,1324,1274,1122,1076,926,954,1040,1024,1222,1306,1198,849,824,922,722,920,779,1192,1354,1536,1230,1364,1716,1124,951,1340,1178,1032,998,1016,1144,1562,2084,1428,1426,1586,1252,1112,1108,906,948,1196,792,678,953,1544,1830,1776,1322,1188,1578,1648,1730,1610,1010,984,749,810,1001,985,880,595,454,452,705,615,348,410,438,505,550,447,457,841,1132,1007,1152,836,552,633,549,803,1206,1152,1356,1476,1360,1154,1072,1212,1350,1432,1132,873,1256,1620,1680,1998,1694,676,515,814,1328,1526,1238,770,697,841,865,951,1230,1130,1266,1650,1688,1870,1414,782,598,784,839,817,1044,1218,1390,1362,1060,614,466,382,639,1542,2128,1432,694,794,1062,1394,1510,1096,935,1418,1468,1174,1136,1008,813,1152,1686,1226,783,1316,1438,1246,670,519,682,880,548,364,368,455,691,1062,1378,1368,1406,1410,996,1104,1028,915,650,685,783,725,951,1264,1638,1872,1186,573,586,432,390,393,418,631,1118,1382,1378,1338,1098,1092,1080,1174,1404,1406,1318,898,691,976,1384,1126,763,922,981,744,613,728,633,744,1196,1512,1466,1076,1096,1304,1650,1982,1782,1684,1612,1856,1476,1302,1310,1412,1394,1390,1302,1248,1506,1604,1384,1456,1448,1021,1054,1346,1252,1023,1042,936,887,1238,1636,1328,1118,1592,1108,1122,1492,1760,1400,1250,1152,947,921,965,1116,1372,1214,816,909,1126,1216,1390,1396,1460,1266,854,547,663,1000,1812,2000,1186,938,1336,1406,1254,858,1044,996,1154,1240,936,820,1126,1294,1312,1352,1436,1238,1262,1246,840,638,769,965,1218,1122,998,1028,1102,999,1052,1176,1114,1070,1007,929,1098,1024,858,710,881,1116,1100,1208,1284,1562,1626,1386,672,677,940,990,920,840,1023,874,844,1098,847,962,908,896,984,1003,1052,786,648,789,894,796,810,736,554,849,1104,1128,861,853,763,685,555,631,871,877,832,787,511,381,368,363,398,440,466,444,471,465,445,423,448,615,1116,962,710,797,846,620,377,797,1026,1042,915,647,686,496,492,503,416,360,425,432,549,487,358,337,345,380,356,388,440,444,388,394,393,334,562,505,339,352,369,406,398,405,409,422,697,1158,1072,701,402,345,312,342,325,499,1230,2134,2292,1258,951,739,644,603,417,527,561,453,391,509,743,881,860,461,480,437,393,372,372,429,543,517,497,487,449,422,408,423,425,423,420,421,408,382,337,413,536,682,962,1050,1094,1122,1112,1074,1054,1014,996,962,930,925,888,885,847,843,937,1046,1214,661,529,669,642,711,544,512,739,677,540,636,1012,1462,1362,845,830,1178,1206,1048,1086,1176,1018,881,1216,1620,1898,1844,1518,1496,1318,1288,1494,1230,1050,1064,1108,1172,1306,1500,1600,1296,732,606,541,477,527,557,827,1554,1692,1494,1748,1636,1556,1538,1160,1042,1454,2030,2378,2134,1588,1588,1428,1124,1336,1580,1418,1020,1164,1400,886,917,1021,1406,1620,1616,1582,1334,1210,1714,1880,2178,1370,2072,2566,2598,1722,1002,1060,1324,1574,1422,1348,1522,1100,1160,1416,1750,1322,1040,1278,2062,2308,1246,619,614,1100,1476,1104,863,1192,1382,1444,1518,1714,1990,2060,1592,1312,1578,1662,1594,1554,1688,1510,1344,1230,1622,1238,783,1422,2292,2546,2276,1696,1562,1618,1886,1982,1740,1360,1454,1266,979,1542,1928,1764,1656,1188,910,849,974,1078,1178,962,975,1009,933,1028,1158,2170,3526,3050,2214,1466,1288,1322,1520,1498,1406,1196,1238,1256,1026,1007,1180,1318,1578,1222,1158,1264,1460,1546,1576,1388,1644,2032,1776,1290,890,707,671,533,921,809,531,813,907,962,1062,1080,1294,1498,1702,1962,1794,1754,1876,1914,1484,1166,939,1178,1216,1668,1576,879,912,863,561,430,867,959,857,945,1150,1160,1021,982,1196,1596,1782,1688,1476,1238,1128,1098,1003,1028,1070,1050,1010,770,423,502,586,365,368,441,636,860,922,692,845,1074,854,506,692,1058,970,759,1086,1000,1001,907,946,886,861,1058,1238,1196,765,508,845,1110,1146,1114,943,1016,1118,1266,930,543,681,796,827,1148,1224,1186,1218,1712,1850,1508,1390,1104,1200,1248,1068,1122,1128,1134,1368,1406,979,1009,1424,1080,1340,1594,1332,792,503,893,1274,844,541,922,1294,859,870,1048,1124,1114,840,624,575,624,670,765,998,1406,1278,1394,1992,1012,431,453,1048,1246,697,749,833,883,870,368,325,336,404,525,828,807,574,663,572,439,631,783,661,616,572,568,446,403,485,537,518,517,521,477,408,491,438,438,435,491,451,406,347,332,410,507,525,409,398,468,562,702,1180,1260,1052,1406,1600,1064,738,677,797,592,398,651,756,580,668,423,367,476,893,1114,1230,1454,1300,986,1100,791,656,861,976,886,605,963,1340,1196,547,308,659,1092,807,585,612,851,898,1472,1530,602,435,549,646,857,1248,989,365,398,807,1050,688,882,1108,1376,787,406,624,1224,1966,2322,2374,2358,1930,883,436,452,548,570,406,417,454,448,417,421,463,400,331,314,320,421,479,413,351,309,262,206,200,208,236,293,407,655,743,840,760,501,435,433,359,340,399,489,521,524,493,535,489,371,386,415,536,871,1006,1246,1448,1566,1616,1404,1534,1616,1426,1246,1278,1048,1094,1262,1360,1328,1228,1326,1394,1368,1260,1324,1642,1194,694,555,783,1034,1190,1064,638,404,602,902,763,1034,1632,1582,1262,917,997,1174,916,700,1006,1178,947,827,1236,1572,1332,899,1328,1274,745,593,558,465,440,518,724,1186,1168,1216,915,566,882,1440,1506,1080,636,720,796,769,927,860,1082,1052,1154,1254,802,501,747,929,683,480,832,1118,1452,1046,874,587,644,1060,1468,1250,1440,1692,1278,1202,1192,1052,1150,1324,904,526,495,488,502,547,937,852,446,446,359,366,363,352,357,413,427,404,565,1216,1736,1496,973,1126,1588,1686,1538,1354,1162,1148,1318,1206,1094,996,941,733,713,1224,1654,1610,934,871,1110,954,580,451,489,404,429,578,688,833,762,581,550,611,725,939,1582,1354,1130,1326,1810,1842,1744,1372,1232,1686,1748,1746,1084,681,1198,1438,943,1482,1940,1584,1108,1266,1410,1098,835,753,670,652,527,959,983,1074,976,560,538,608,891,1452,1526,759,649,571,560,533,528,581,567,459,340,304,295,293,309,466,522,386,335,305,324,352,340,378,482,487,393,358,515,981,1388,1390,926,1136,1246,913,624,592,561,476,414,441,485,560,491,414,469,415,410,518,605,709,695,721,648,626,612,839,591,399,317,265,250,279,331,362,344,297,286,301,351,522,1076,1046,650,462,709,733,561,795,824,809,786,720,1218,1382,1480,1150,860,894,569,315,333,391,511,640,869,1382,1642,1460,1540,971,721,1158,1162,990,1294,1742,2026,1938,1162,991,810,836,1076,619,404,421,385,869,1058,810,799,1206,1592,1252,767,880,852,955,745,498,808,1276,1436,924,724,671,334,345,557,1182,896,819,944,691,686,796,885,1136,1216,954,729,670,484,714,714,468,404,712,1070,660,509,1026,1398,1116,993,1062,1180,1226,1428,1692,1742,1348,1070,1134,1015,841,1011,1376,1630,1152,1003,1112,1478,1920,1396,861,828,856,1086,1542,1394,867,772,740,590,908,1192,1204,1168,1220,1260,1774,2000,1406,1244,1466,1566,1410,1240,1440,1400,967,603,585,628,588,515,477,484,583,902,1060,1238,1296,910,1178,1432,1296,1276,1464,1504,1276,1064,999,662,511,687,794,673,743,1252,1394,1962,2130,1798,1484,916,561,939,1358,1013,628,581,542,488,397,385,380,347,355,371,371,375,396,568,755,1001,955,671,575,540,703,1172,1438,1146,890,916,902,719,805,859,1188,1222,1158,1600,1700,1302,1178,919,766,1084,872,965,709,709,1048,1058,759,846,1394,1134,790,780,783,1560,1396,1180,1284,1070,635,790,1410,1276,796,792,464,445,528,807,905,653,951,1470,1164,1180,1424,1214,1224,1538,1442,1252,1122,1120,1282,1456,1324,1092],[890,938,1028,1060,810,670,722,1017,982,557,475,552,776,1074,1132,1302,1498,1612,1612,1360,980,943,1162,1318,1360,1144,899,693,552,471,373,579,1136,1386,1624,1050,497,304,317,430,500,476,775,807,473,534,725,1094,806,984,1116,740,569,644,896,1310,1340,1076,1154,1001,1060,1338,1001,764,667,603,558,527,730,955,769,430,495,481,512,491,618,523,489,737,1050,1068,1076,921,728,769,669,562,524,643,974,960,498,460,572,561,495,730,1074,1154,1288,1206,857,601,365,418,491,413,399,407,481,719,869,1260,1240,798,422,456,509,607,603,614,543,1282,1678,1026,730,739,927,893,774,907,1226,1864,1974,1622,1156,728,734,1032,893,681,497,446,408,382,321,270,304,395,462,718,896,862,843,861,717,422,443,497,534,502,468,583,708,774,648,561,624,760,1086,1370,1268,1064,815,1116,1019,884,752,604,533,647,720,780,963,908,871,882,649,1050,876,946,1296,1476,1068,1324,1720,1212,873,1180,1274,1434,1266,1192,1452,1272,1346,1648,1892,1472,914,1116,1706,1372,1024,878,644,853,1366,1768,1478,1518,1384,1368,1790,1852,1948,1466,846,952,717,667,595,922,1056,817,783,705,735,498,351,362,359,402,449,438,509,1362,1530,1300,1282,928,878,1250,1208,995,1396,1404,1560,1356,919,1102,948,870,882,1001,1056,1114,1466,1580,1372,2072,1394,582,542,828,1136,1238,1040,750,543,642,971,1434,1362,1324,1548,2044,1836,1664,1110,1054,1426,1102,810,938,1078,1344,1312,1170,766,462,494,520,1116,1824,1562,692,477,739,996,1066,1218,840,535,760,1052,1132,1104,1256,1326,1560,1268,760,608,739,913,1092,745,741,1122,1270,717,354,365,375,563,869,1316,1424,1572,1458,1058,936,1028,1140,780,598,802,813,936,1206,1130,1154,787,534,483,468,390,461,454,713,1360,1402,1030,1102,1422,1336,1180,1310,1250,1420,1166,1118,1014,1090,1224,958,736,799,927,623,588,736,769,785,1276,1824,1736,1100,1164,1654,1670,1528,1642,1608,1586,1878,1476,1120,1186,1094,988,1414,1416,1130,1512,1622,1456,1562,1346,944,944,1334,1172,984,756,664,854,1308,1780,1530,1038,1726,1166,995,1378,1540,1708,1506,1300,1216,1182,1180,1200,1068,799,633,935,1090,1014,1128,1322,1408,1198,915,847,778,1038,1450,933,736,996,1302,1346,1490,1472,1510,1294,1142,1180,1040,890,837,948,1236,1216,1120,928,1232,1136,1124,1154,925,1034,1242,1196,1204,1013,1234,908,988,1330,1264,1230,1292,1062,1028,1094,1090,852,882,1112,979,1072,1178,1522,1594,1176,570,822,1017,916,813,810,756,703,825,1172,1212,1264,932,932,1182,1180,1184,1024,641,669,980,949,985,952,741,832,1001,1274,1280,1112,988,786,542,628,761,974,895,728,444,516,529,458,418,438,497,477,464,505,522,489,428,619,1250,883,485,424,474,419,379,720,1272,1650,1264,689,720,503,447,394,347,331,339,368,456,452,388,379,445,447,313,380,414,425,396,455,462,423,619,539,361,350,356,393,405,413,392,331,564,861,890,593,453,444,394,387,336,384,990,2260,2510,1328,858,688,747,690,518,484,474,343,354,678,759,575,636,372,372,412,397,366,286,375,490,400,386,405,395,387,412,458,373,310,318,368,372,374,377,404,469,577,969,992,949,926,941,978,988,937,877,877,913,890,888,940,1104,1282,1252,1330,1248,747,1052,1248,861,708,554,492,652,785,857,1276,1628,1394,1566,1634,1638,1384,899,1096,1356,1096,736,1007,1614,1918,2036,1730,1394,1484,1470,1324,1294,1492,1676,1584,1506,1510,1380,1252,1286,1004,526,448,395,382,392,427,542,993,1566,1794,1982,1926,1832,1682,900,912,1332,1584,1736,1434,1226,1612,1396,1246,1424,1452,1370,1282,1264,1250,887,839,1156,1512,1850,1914,1648,1520,1488,1842,2338,2238,1950,2398,2666,2358,1440,1108,1212,1446,1372,1152,1268,1296,987,1208,1538,1616,1080,1036,1378,2030,1710,709,539,719,1262,1136,735,735,918,1046,1302,1410,1522,1858,1998,1608,1492,1402,1524,1606,1654,1594,1440,1192,1232,1410,1208,1346,1854,2186,2546,2546,2294,2028,1820,1782,1832,1624,1242,1212,1256,1370,1558,1346,1102,1102,1048,1056,1300,1750,1466,955,886,996,1036,1098,1526,1606,1472,1932,1520,1146,1244,1676,1778,1636,1350,1334,1522,1696,1640,1372,1020,1206,1406,1426,1302,1260,1416,1482,1440,1490,1498,1366,1010,904,836,539,522,691,721,792,669,469,534,1042,1478,1278,1060,1188,1312,1378,1606,1582,1540,1216,736,472,656,1342,2244,2402,2178,1760,1106,999,918,634,538,639,547,375,503,868,1204,1164,1018,1038,1528,1766,1582,1580,1296,1086,957,1015,1094,1018,957,835,515,354,438,534,362,341,347,326,483,884,955,810,811,849,591,644,973,984,902,1009,948,886,869,617,546,615,827,1184,1234,959,736,525,904,1218,1026,1013,1130,1472,1626,1162,825,1021,1250,883,823,1324,1336,1242,1350,1454,1256,1188,962,1078,1400,1296,1148,1058,1080,1410,1204,1170,1144,1450,1358,1422,1426,1188,871,514,667,780,680,545,871,1204,836,735,799,719,555,530,492,397,442,464,534,941,1448,1174,1426,1520,847,480,556,989,1038,607,666,955,870,854,403,257,292,310,480,984,1026,680,798,735,440,648,993,622,506,541,585,463,373,410,416,433,467,554,504,460,424,408,458,443,459,533,482,357,344,358,390,511,415,416,440,498,693,969,1070,1316,1678,1438,1194,880,622,724,711,538,711,739,1021,1354,935,1066,1220,1158,1486,1376,1164,1080,959,979,509,529,631,791,744,430,600,1248,1024,522,285,300,517,528,355,352,814,928,1296,873,440,411,363,532,919,1286,1052,652,652,781,984,631,516,933,1140,686,785,1286,1168,1394,2206,2416,2514,1876,833,414,457,607,530,367,400,420,423,469,428,361,358,310,303,305,408,489,430,348,286,249,239,234,226,235,294,362,467,636,816,838,582,376,340,337,352,369,419,461,633,969,744,408,342,364,390,498,716,1192,1518,1502,1888,1714,1456,1578,1690,1686,1308,1178,1260,1448,1490,1354,1222,1234,1422,1502,1300,1594,2406,2302,1576,939,1104,1462,1312,1116,1106,886,558,606,705,591,913,1600,1510,1202,972,868,977,843,789,842,1434,1316,1198,1232,1086,1216,1102,1380,1406,860,588,512,399,412,604,1019,1208,1172,1023,1094,910,790,788,836,876,739,695,796,854,820,633,714,953,1110,1122,885,491,566,1005,1028,1178,1628,1296,866,725,862,723,1034,1262,1066,1062,1522,1502,1136,1120,1194,1288,1436,1010,603,443,432,502,499,466,726,990,581,399,363,352,363,357,369,411,417,389,631,1160,1472,1566,1350,1366,1600,1536,1454,1292,1124,1382,1478,1358,1226,968,1040,1064,763,910,1210,1660,1502,1120,720,985,858,502,523,449,426,543,484,744,829,700,566,780,1408,1838,1582,1584,1616,1648,1722,1468,1448,1244,1756,1932,1476,1332,1156,993,1196,1034,800,1240,1866,1516,1200,1118,763,925,1028,791,788,824,489,632,481,650,873,854,840,935,720,431,310,311,530,591,571,564,560,601,667,586,419,309,278,288,318,577,685,681,543,376,335,343,351,464,786,560,400,375,509,758,1448,1440,1602,1838,1604,1310,769,767,626,429,395,380,376,405,404,534,750,1086,1222,539,705,1236,1020,1007,973,1020,1260,911,606,692,492,250,263,282,384,428,394,326,362,504,608,767,1090,1256,1068,811,986,1032,846,986,757,732,919,1058,847,1176,1462,853,403,328,434,747,684,673,766,847,803,1012,1200,999,1118,799,411,610,850,882,755,1032,1518,1368,954,1040,740,667,659,436,367,498,623,865,1108,1338,1440,1768,1406,1250,752,543,537,600,449,434,1176,2036,1632,1330,1318,678,451,419,999,1636,1005,1188,1572,1276,1004,1070,1416,1256,1296,1246,959,1030,879,1384,1234,667,430,707,961,676,417,589,922,969,1064,930,1080,1130,1234,1554,1826,1634,1160,851,939,1362,1340,1490,1598,908,1256,1116,1198,1482,1124,797,828,922,1236,1276,1104,962,642,431,607,1246,1264,1214,1268,1262,1012,1298,1572,1384,1522,1466,1440,1410,1406,1638,1460,852,617,581,552,596,605,483,539,836,1290,1274,1360,939,597,812,1096,855,702,955,1134,1396,1432,1268,752,871,1324,1164,734,506,773,1246,1422,1476,1714,1644,1132,755,810,1282,994,943,1013,1050,684,405,394,434,505,473,473,386,354,441,997,1064,1138,1104,1118,1196,805,667,988,1260,800,442,622,643,832,847,684,505,737,1068,1446,1642,1362,1226,971,661,834,1096,1190,1090,911,1112,1228,834,609,668,793,1418,1172,844,1510,1332,1100,1106,1280,1146,819,867,792,552,729,359,505,507,376,422,439,681,935,813,890,1048,1110,1394,1632,1274,1162,1384,1730,1936,1688,908,414],[1016,998,1005,910,788,691,794,1560,1574,695,498,525,633,1156,1692,1948,1812,1398,1182,1054,985,1046,1214,1146,1134,1254,940,586,564,433,380,760,1344,1346,1116,803,525,502,659,743,714,689,905,793,767,707,852,1284,987,1148,1294,1032,1174,1554,1378,1532,1602,1488,1456,893,1128,1366,830,570,603,573,525,501,772,1114,919,634,1028,838,524,475,648,897,1098,890,648,913,1180,998,1126,1202,737,527,604,972,995,865,722,623,484,468,758,1138,860,548,696,923,1340,1216,883,518,532,541,547,538,709,822,880,1432,1302,745,616,606,516,519,668,683,830,1800,1794,935,714,774,1308,1326,1288,1224,1342,1462,1808,1908,1588,1204,1092,792,469,414,386,404,358,265,283,322,361,412,501,770,930,883,748,654,495,355,349,426,491,491,462,536,532,456,523,786,747,701,1318,1648,1404,1258,1098,1130,975,1050,1242,1148,1100,887,619,538,577,857,1166,1240,805,876,1080,937,1060,1206,1042,1021,1528,1098,967,1064,1666,1674,1212,1188,1274,872,944,1800,1876,1286,988,1118,1764,1408,1272,1064,937,1314,1426,936,827,1054,1210,1650,1912,1802,1560,858,604,619,562,473,658,1136,959,962,1130,728,645,677,519,385,356,433,491,615,1028,1678,1622,985,771,716,1066,1628,1268,999,1324,1506,1394,855,716,697,541,736,853,968,1216,1228,1432,1432,985,985,786,642,651,797,981,1022,710,662,364,560,698,951,1092,1276,1524,1532,1502,1652,1408,1784,1686,1058,1002,813,717,844,1176,1174,788,670,651,933,1540,1632,1202,420,520,1090,1096,1001,850,644,437,738,1302,1154,1096,1366,1706,1992,1140,890,1314,1044,867,1256,940,739,1136,1066,589,306,324,347,457,745,1324,1598,1844,1764,1146,636,854,949,735,1194,1570,996,739,1390,1364,1412,955,508,457,427,350,439,463,545,932,1212,926,1060,1288,1158,1130,1210,1322,1378,1382,1294,1090,930,508,425,727,695,760,796,898,845,843,1058,1274,1556,1466,1350,1466,1584,1662,1594,1788,1612,1722,1874,1426,1220,1028,613,443,606,706,1012,1502,1296,1188,1122,1248,1106,965,824,854,886,627,585,807,1330,1718,1622,900,1308,1472,1466,1192,1018,1340,1480,1316,1312,1404,1474,1468,1048,700,737,1040,1078,1122,1174,1224,1262,1118,883,1013,1074,1008,1334,1162,1024,1192,1434,1574,1554,1390,1282,1270,1312,1308,1294,1222,1212,1104,1294,1112,852,983,1352,1118,991,1144,842,894,1090,1124,1017,860,1206,799,1024,1288,1332,1494,1224,921,1034,965,1284,1378,1306,1188,1222,1242,1388,1644,1594,1080,681,731,719,473,393,481,482,602,849,1350,1724,1250,849,1118,1734,1988,1486,974,831,472,549,607,778,811,1054,1250,977,1224,1498,1434,1392,958,613,754,872,1078,1070,822,491,703,726,548,470,412,385,394,444,478,510,474,440,807,1260,799,395,400,420,480,517,695,1044,1128,878,773,673,565,550,437,364,372,359,357,380,378,374,369,367,337,325,395,421,401,381,572,770,830,810,474,375,356,362,375,383,375,344,300,491,738,816,670,673,929,639,383,328,464,859,1306,1360,1102,692,526,966,1444,1036,473,456,369,365,947,855,713,582,365,374,395,361,343,314,337,428,373,374,375,362,343,352,397,298,230,238,219,217,244,263,381,458,503,707,633,562,542,572,674,803,878,913,965,927,857,860,912,946,929,1015,1222,1512,1242,601,467,544,501,457,548,891,1284,1426,1570,1300,1092,1420,1160,1048,1032,675,601,810,609,843,1142,1470,1654,1666,1502,1334,1276,1088,848,921,1226,1426,1494,1416,1386,1226,1034,1452,1218,766,670,758,891,904,816,714,1152,1482,1390,1232,1272,1348,1122,789,821,877,988,1132,1150,1142,1434,1450,1426,1322,1148,1354,1312,1268,1254,1050,1172,1456,1582,1938,1928,1456,1272,1742,1864,2392,1892,1992,2602,2598,1982,1300,1206,1296,1292,1166,1038,1370,1038,1104,1342,1670,1428,1015,1210,1738,2208,1584,706,574,968,1432,1010,689,779,811,847,1140,1368,1616,1540,1592,1526,1446,1638,1642,1630,1682,1516,1554,1548,1228,908,1332,1936,1756,1712,2352,2534,2622,2486,1892,1664,1466,1388,1460,1344,1268,1328,1144,1030,1088,1306,1512,1234,1606,2290,1910,1134,772,843,1034,1064,1774,1672,1254,1146,1394,1406,1516,1514,1500,1306,1242,1538,1720,1648,1512,1654,1428,1448,1440,1488,1546,1392,1296,1548,1562,1526,1482,1272,796,904,980,792,1232,1274,865,778,689,606,571,694,921,776,666,1174,1124,1478,1842,1342,1512,1776,1166,707,874,1210,1792,1970,1804,1490,1088,1001,893,626,491,491,574,598,442,687,1402,1378,1168,1098,1150,1326,1384,1418,1234,957,959,1130,1076,1046,1070,709,494,525,567,763,713,487,438,437,356,576,964,1003,628,603,527,545,497,559,621,815,885,991,836,441,448,753,1038,1102,1102,962,1036,624,763,1013,1028,1130,1428,1582,1404,1186,1100,1150,1230,955,698,772,920,1124,1288,1494,1318,1116,1282,1406,1346,1518,1168,1015,1460,1326,1176,1200,1156,1390,1534,1490,1216,1072,906,688,684,572,576,512,733,1023,1042,1050,1100,826,546,615,602,694,744,501,437,528,469,526,804,824,669,532,742,1462,1476,984,962,1306,998,660,365,282,352,336,319,555,602,380,498,752,538,590,692,498,356,383,385,356,389,442,433,406,423,572,488,486,465,434,439,450,497,539,499,433,414,429,382,459,440,443,456,857,1124,709,734,1256,1218,1260,1278,855,741,735,833,709,627,659,882,998,1318,1824,1354,987,1124,1092,1486,1410,1228,1158,675,627,711,489,330,324,553,908,818,828,444,251,278,476,406,302,371,445,524,380,364,389,302,387,530,795,755,769,1052,818,809,820,482,579,915,1064,1562,1476,669,802,1546,1818,2070,1700,871,431,440,615,684,543,521,473,528,516,442,423,368,323,327,353,439,450,373,325,280,269,203,204,243,255,313,353,422,591,849,991,727,430,412,367,399,374,369,452,826,933,571,397,479,510,414,476,630,1090,1388,1456,1616,1388,1354,1438,1420,1584,1424,1280,1454,1480,1422,1306,1150,1112,1612,1732,1492,2054,2330,1804,1110,1144,1620,1672,1090,722,842,1050,970,795,568,359,738,1158,1138,1242,1322,1028,885,759,945,990,1618,1470,1336,1108,837,1044,1278,1150,1110,767,761,912,735,566,730,1214,1284,1002,764,960,1050,866,747,490,641,780,628,769,952,744,662,919,1200,1172,1240,1426,817,612,1114,1076,764,810,949,563,498,727,1236,1532,1202,736,983,1382,1600,1360,1284,1382,1376,1184,902,742,553,436,452,426,403,582,1078,758,431,373,360,373,373,354,375,411,421,508,534,702,1456,1626,1626,1616,1524,1674,1744,1378,1276,1284,1392,1154,827,1024,1208,1090,1188,1102,1456,1338,823,503,828,933,623,592,658,584,669,473,682,732,690,524,892,1578,1666,1390,1598,1546,1298,1016,1500,1450,959,1724,1758,1284,1214,1134,1384,1428,883,968,1394,1914,1858,1494,1296,970,1656,1848,970,1140,1320,932,869,647,750,684,1208,1062,1202,944,844,950,1182,958,642,662,686,701,707,752,729,593,396,319,317,350,571,680,705,680,463,341,472,627,603,777,545,415,366,419,463,717,915,1462,1570,1206,945,613,518,562,473,382,425,492,412,528,1182,1538,1924,2278,807,667,1216,1070,1104,1086,1334,1576,1334,1068,872,630,388,518,575,625,535,561,623,729,998,1010,1134,1370,1288,1232,993,1000,919,866,1046,816,875,1616,1492,708,607,601,441,322,370,783,1334,1021,799,921,1054,808,908,1262,1266,1212,839,456,310,542,746,839,832,1046,999,1282,1128,819,795,622,576,565,774,1056,1242,1340,1580,1644,1574,1104,977,1020,916,555,460,641,868,1118,1676,1188,1914,1664,702,481,410,1023,1346,799,1160,1824,1344,848,1360,1726,1188,1164,1210,1160,1350,1144,1252,1244,797,487,516,471,362,387,420,472,692,1210,1004,781,802,1242,1654,1794,1760,1430,893,1528,1594,1698,1998,2902,2792,1816,1224,891,645,942,1256,1172,918,1010,704,921,1114,773,418,792,1288,1076,1058,1138,1194,1106,1120,1228,1494,1448,1270,1404,1318,1280,1440,1142,749,626,571,524,600,854,842,678,915,1620,1976,1322,594,478,634,856,725,579,586,630,692,1006,840,1044,1428,1616,1638,1480,1212,1248,1246,985,1068,1336,1294,1332,1132,1112,1282,1324,1322,1922,2092,1238,691,587,555,636,579,619,455,372,587,1126,1214,1130,877,1040,1204,896,855,855,969,739,659,660,796,1148,1274,1210,979,829,1084,1308,1362,1100,1248,854,656,930,1262,1280,1326,1246,1238,1408,1190,1224,747,760,1472,1046,1010,936,900,868,1336,2100,1856,1418,1518,1372,877,609,432,897,915,560,395,537,859,1198,1360,1017,655,742,1082,1266,1132,1140,1282,1224,1212,1210,1216,877],[818,735,866,810,766,1172,1484,1694,1670,625,514,575,655,1116,1196,984,682,571,813,972,838,941,1074,863,1370,1524,922,591,504,500,489,741,845,798,785,761,927,896,1034,969,739,565,541,610,1150,1320,1304,1188,1028,1202,1450,1188,1296,1688,1296,1054,1490,1568,1522,926,1038,1382,948,571,585,568,532,470,561,672,658,855,1618,1428,659,429,738,985,942,804,505,663,1020,1134,1690,1780,1152,973,1234,897,572,502,558,568,524,837,1080,760,541,543,494,511,648,888,966,1136,985,761,657,674,835,852,1054,1348,1122,800,1048,944,705,614,615,603,933,1526,1266,798,555,924,1758,1660,1608,1504,1588,1526,1510,1580,1290,1278,808,421,381,430,525,412,302,314,309,337,414,415,492,725,842,860,652,491,330,319,351,401,456,496,451,419,449,469,522,672,584,525,1088,1400,1198,997,990,1196,1240,1270,1366,1542,1636,1256,658,651,661,793,985,1092,949,647,713,995,1120,941,1570,985,896,1068,1110,914,1100,1266,1130,1056,1358,1570,1552,1996,1706,2256,2198,1346,1390,1320,1544,1498,1372,1636,1188,681,790,1046,1446,1640,1650,1974,1196,732,657,532,440,399,1050,1706,1448,1422,1298,739,549,1046,837,405,292,405,524,868,1152,1156,981,549,479,692,1102,1388,1162,1282,1262,1188,990,790,608,480,668,788,799,940,1036,866,819,921,985,814,564,630,634,681,998,1422,776,608,634,1007,1440,1466,1040,899,1184,1480,1896,1922,1368,1710,1304,1266,1224,743,751,875,894,1015,1082,764,794,1562,1500,1252,836,711,861,798,762,933,775,754,869,1058,1368,977,769,1284,2086,1470,891,744,791,552,959,1738,1550,946,509,428,387,337,294,309,361,585,1162,1618,1774,1512,855,574,795,1098,1650,2268,2434,1666,797,1054,1068,1060,812,473,424,384,348,373,419,522,671,1007,1194,1406,1060,935,825,669,822,1186,1556,1378,843,550,529,677,1114,1276,1428,1480,1410,974,588,788,1384,1538,1136,1192,1234,1023,1124,1390,1634,1472,1658,1676,1284,1054,770,525,521,397,491,1008,1450,1312,1340,1154,1284,1260,1104,816,737,849,837,665,886,1382,1656,1650,1214,1304,1372,1292,1210,1024,1126,1372,1290,1334,1216,1328,1542,1242,917,1074,1102,1112,1232,1240,1250,1260,1274,1156,1294,1332,1120,1354,1520,1282,1118,1214,1400,1360,1250,1170,971,843,1136,1410,1436,1430,1494,1402,1102,994,1274,1718,1700,1310,1544,763,901,974,775,717,801,1048,967,1054,1102,1216,1360,1488,1088,1242,1288,1262,1282,1214,963,1166,1302,1410,1612,1638,1462,1234,946,753,678,619,491,393,746,1104,1312,1130,741,720,987,1246,1578,1402,839,934,724,796,780,693,691,933,1010,937,1116,1200,1204,1290,919,789,750,858,1030,1194,974,582,752,735,576,477,374,358,370,412,433,466,435,480,963,1276,842,493,458,467,491,612,969,883,829,773,644,498,455,424,379,383,372,366,344,371,403,418,415,406,343,341,465,564,465,401,691,986,953,842,422,351,364,362,346,342,373,370,347,466,753,893,626,661,960,571,297,253,574,770,778,1074,959,545,497,902,1526,1166,474,415,386,367,585,713,719,415,331,367,366,350,339,270,253,340,353,354,337,319,326,361,344,257,237,217,205,211,208,244,461,559,605,612,585,608,514,385,479,737,885,1226,1216,956,661,701,915,933,1284,1626,1484,1584,1488,709,423,404,416,670,1098,1558,1692,1406,913,589,875,1028,799,938,697,1052,1044,960,854,1072,1098,1036,957,993,1084,1072,990,977,1021,1092,1112,1112,1318,1444,1558,1654,1638,1678,1594,1550,1584,1610,1628,1542,1582,1638,1704,1678,1596,1612,1416,1200,1208,1426,1518,1424,1478,1604,1634,1494,1370,1530,1724,1518,1190,1324,1580,1590,1354,1356,1446,1366,1304,1494,1758,1518,1624,1856,2078,2414,2154,2366,2674,2376,1612,1242,1246,1550,1388,1206,1108,1190,1034,1156,1438,1654,1224,1024,1340,2122,2326,1288,670,670,1196,1458,1144,1068,1268,1078,919,1034,1234,1670,1730,1624,1482,1528,1654,1704,1704,1516,1406,1550,1550,1406,1538,1474,1744,1822,1294,1736,2322,2546,2248,1748,1450,1030,1078,1516,1714,1216,977,1196,1406,1638,1740,1746,1430,1444,1992,2236,1480,775,1013,1480,1372,1406,1348,1468,1530,1410,1152,1188,1316,1414,1472,1542,1690,1662,1292,860,1076,1394,1468,1494,1480,1720,1516,1196,1382,1382,1422,1496,1432,987,915,905,852,1042,871,669,555,456,558,708,960,1136,872,708,1208,1056,1548,1892,1576,2154,2526,1656,811,1004,1394,2290,2474,2070,1424,1084,812,590,474,639,897,863,905,768,977,1348,1342,1198,1276,1298,1318,1334,1504,1498,1224,1160,1130,973,1020,1006,791,760,786,668,664,709,544,448,479,387,389,741,1260,1160,816,813,666,550,574,553,559,584,794,914,855,890,1132,1264,930,766,652,690,692,609,786,1092,1238,1478,1504,1664,1560,1240,1182,1238,1100,1028,883,925,1021,1164,1262,1372,1262,1314,1428,1106,1406,1470,1328,1786,1830,1694,1224,999,1400,1594,1438,1232,1332,1238,830,794,908,915,643,698,1186,1384,1294,1332,1182,890,1011,948,1078,1164,904,545,433,461,507,644,708,677,432,642,1558,1682,960,994,1428,1146,659,367,383,428,412,367,339,324,433,451,628,685,603,628,539,379,409,383,381,410,453,435,389,380,444,460,513,517,459,404,379,402,419,464,423,372,372,416,505,644,537,711,1474,1274,545,601,902,689,717,626,1023,1422,940,711,815,758,569,848,1294,1600,1450,1300,1664,821,786,1540,1896,1358,698,642,955,866,441,377,491,724,931,813,632,530,367,331,672,661,357,348,502,486,350,357,357,278,300,582,653,564,606,957,850,869,1116,935,889,1252,1548,1628,902,442,504,1166,1612,1750,1512,1004,722,555,543,785,788,610,513,412,401,427,565,493,329,360,455,524,449,329,306,279,281,278,279,311,348,333,368,466,602,777,976,823,510,507,516,494,423,464,515,755,765,554,493,597,604,440,530,604,724,982,1246,1470,1290,1098,1110,1328,1522,1570,1472,1394,1224,1626,1420,1300,1056,1932,1932,1482,1676,1656,1224,1050,1480,1714,1672,908,860,930,918,1106,978,731,823,1056,1094,1174,1216,1328,1090,962,1090,1452,1604,968,645,647,628,736,1424,1728,1320,1312,1030,928,1154,1096,995,778,625,792,1174,1164,766,617,692,854,633,896,974,800,839,1011,928,916,1178,1426,1274,1324,1522,1058,669,731,633,399,394,688,849,766,1056,1664,1594,879,693,1264,1480,1242,1140,1390,1080,912,1332,1224,798,681,440,439,444,433,468,937,717,401,376,358,373,379,375,395,448,430,368,380,949,1416,1472,1424,1350,1424,1548,1250,1118,1246,999,1142,819,973,1238,1362,1486,1500,1142,1048,921,606,355,537,948,794,728,905,916,1046,881,604,459,456,368,658,1224,1050,710,1098,1384,1644,1074,1218,1244,1080,1236,943,1212,1688,1084,1206,1624,1078,858,1316,1704,1710,1160,772,625,1164,1176,887,1488,1568,867,802,1048,1482,1274,1486,1054,1196,1388,1438,1816,1570,744,723,827,769,729,707,761,765,677,464,383,374,321,478,675,713,702,574,472,615,814,725,492,448,565,506,413,375,542,822,658,469,615,628,564,517,647,571,480,466,448,575,979,1342,1528,1898,2410,929,526,751,935,937,1002,1210,1118,1212,1412,1024,746,603,625,602,555,481,517,818,938,1078,1022,1152,1534,1038,1254,1096,1076,1042,877,1564,1064,930,1278,1002,982,680,379,393,391,455,817,1240,930,742,803,886,929,1216,1372,1160,1180,759,539,567,805,1110,1172,1628,1420,1170,1582,1392,1092,1172,976,937,846,1044,1688,1918,1804,1432,1222,983,838,1144,1676,1566,833,583,658,933,1256,1334,1058,1482,1100,812,865,494,707,983,587,651,1062,801,595,772,1210,1214,1220,1168,1358,1656,1492,1338,1250,1060,692,550,444,398,473,458,373,661,856,745,802,1436,2032,1570,1316,1436,1670,1308,1734,1080,1418,3056,6704,5968,2020,695,527,486,697,1282,1230,825,655,493,578,810,648,623,1134,1146,1004,1100,723,1042,1304,1406,1360,1374,1352,1450,1406,1368,1494,1272,735,631,655,647,526,482,722,789,700,543,932,1154,792,451,441,658,625,429,593,788,661,539,519,661,1334,1430,1300,1464,1386,1576,1504,1422,1330,1446,1600,1534,1366,1330,1350,1354,1294,1362,1600,1660,1180,1078,1108,1168,885,509,473,403,437,781,843,595,625,813,1048,763,939,800,863,733,588,574,502,655,1003,1282,1300,1196,1172,1354,1218,902,797,768,805,841,904,1032,1140,1390,1192,1150,1616,1660,1536,738,538,709,1174,1384,845,813,835,1504,2156,1568,1336,1594,1072,852,557,403,922,1242,1002,937,921,902,1368,1858,1140,604,521,529,702,597,865,1009,826,722,833,1036,872],[733,772,797,783,879,1222,1296,1314,1296,580,498,547,627,1162,1266,1282,1060,875,1064,1120,857,692,719,881,1224,1360,1340,870,547,582,697,857,744,587,544,701,835,522,441,633,745,531,507,615,857,1450,1708,1372,919,1046,1410,1232,1066,1428,1236,1002,1434,1522,1444,1021,942,1382,1150,667,603,531,516,383,397,503,652,1338,2214,1694,662,730,939,762,631,787,735,618,938,1266,1866,1654,1086,1254,1056,463,432,412,488,583,854,961,732,530,530,546,500,411,475,502,734,1013,1180,1324,1132,971,1068,916,1126,1400,1464,1288,1152,1056,1120,861,603,610,643,680,868,607,539,1192,1606,1156,923,1036,1246,1096,997,989,1021,884,483,389,359,429,450,343,305,362,345,307,410,442,540,705,842,707,437,343,316,303,320,372,477,498,415,399,482,512,425,361,385,529,968,1094,1001,1140,1152,1138,1350,1320,1570,1602,1388,1166,1160,1426,1166,1003,1180,1414,1158,625,566,675,772,885,1360,874,807,833,846,877,988,1032,1056,1282,1854,2014,1870,1626,1952,1964,1930,1692,1618,1570,1460,1270,1598,1412,828,827,923,1082,1570,1754,1806,1570,1264,1454,1356,949,787,995,1742,1730,1688,1676,1418,692,536,794,566,298,284,259,300,705,829,658,542,733,651,658,1024,1042,910,949,1034,883,642,991,1054,1104,899,607,455,625,817,1040,1140,1368,1792,1444,675,667,700,700,944,1090,937,831,1104,1524,1672,1334,1056,921,851,1112,1722,1556,1556,1446,925,943,838,912,1248,946,666,1202,1284,1044,1500,2004,1324,1558,1820,1368,1042,854,915,1160,1198,873,873,1210,1538,1172,905,1834,1826,1358,948,969,1144,989,1092,1528,1890,1072,499,491,462,357,328,328,284,373,703,1108,1222,821,469,747,936,1562,2392,2724,2776,2348,1468,1052,912,847,681,456,376,374,377,430,438,508,567,683,847,778,865,988,818,835,865,1220,1440,1332,771,758,987,1310,1420,1296,1330,1362,1338,1078,682,963,2212,1780,1342,715,495,665,929,1422,1528,1304,1420,1420,996,595,493,633,657,397,543,1174,1314,1208,1126,1178,1438,1522,1154,1098,1003,764,1014,886,1042,1488,1734,1654,1308,1208,1306,1302,1220,805,965,1202,1224,1324,1334,1312,1148,879,725,866,1122,1212,1200,1050,1106,1126,979,1062,1086,1074,1166,1232,1244,1136,1062,1238,1372,1410,1506,1404,1246,830,971,1200,944,1080,1450,1440,1380,1200,1120,1566,1824,1426,1340,908,1130,951,781,906,1258,1154,1026,1224,1384,1650,1390,1372,1060,1160,1096,1220,1424,1466,1340,1294,1132,1112,1460,1578,1388,1152,1220,1256,1082,1284,1198,661,625,1138,1052,501,483,814,714,750,1070,879,836,957,863,693,717,890,1072,1146,821,980,952,807,697,1116,1164,1070,946,925,765,855,875,1030,1204,653,561,537,400,384,372,373,383,404,397,494,1038,1390,973,708,546,601,778,1018,1054,766,647,663,635,579,560,472,449,474,768,935,477,380,504,492,414,408,430,410,545,695,488,418,562,615,533,489,402,349,344,352,355,404,404,348,370,534,701,769,511,350,302,328,314,287,495,559,704,1090,835,438,432,699,924,605,398,372,327,577,723,839,795,529,390,395,354,339,343,266,280,332,339,323,304,255,227,310,314,206,221,214,218,230,216,298,506,581,608,625,590,572,499,423,419,674,940,1378,1300,1078,678,702,1007,908,1028,1232,1272,1206,1212,789,521,445,509,760,1234,1232,1134,981,681,771,863,979,1322,1248,608,825,1226,1390,1546,1422,1274,1268,1306,1290,1142,1066,1168,1250,1208,1134,1172,1502,1700,1556,1262,1202,1180,1230,1266,1260,1224,1142,1072,1004,963,987,1136,1218,1114,968,899,1084,1158,1098,1036,1126,1194,1134,935,871,1009,1058,932,648,562,813,1262,1518,1122,1294,1212,1224,1440,1494,1642,1484,1314,1484,1808,2178,2472,2510,2394,1900,1300,1264,1434,1592,1566,1226,1180,1100,955,1204,1416,1468,1016,1186,1550,1870,1526,805,613,873,1342,1116,805,1012,997,742,697,756,935,1216,1136,1376,1502,1594,1546,1670,1666,1426,1450,1542,1424,947,1268,1098,1318,1672,1084,1074,1820,2458,2244,1678,1144,738,730,1302,1808,1422,1360,1604,1732,1790,1730,1626,1648,1582,1710,2120,1798,1880,2020,1852,1526,1282,1426,1372,1272,1166,1132,1332,1390,1356,1322,1128,1356,1488,1274,887,938,1422,1624,1510,1416,1352,1292,1134,1392,1574,1536,1446,1302,1084,826,838,983,788,724,625,693,1144,1526,1492,1742,1836,1332,840,1122,1106,1360,1760,1606,1666,1562,1388,1078,1188,1250,1520,1482,1238,1154,856,417,335,341,530,781,877,892,901,1046,1118,1266,1164,1282,1472,1366,1290,1612,1630,1390,1252,1028,858,984,1028,1104,971,772,797,586,358,368,570,750,761,589,699,1020,1128,972,1134,1300,1070,844,705,534,507,425,633,759,946,910,973,808,669,607,696,743,498,542,886,1252,1218,1360,1570,1440,1146,1240,1152,988,1066,1140,1048,866,998,1018,1220,1152,1260,1158,1094,1378,1506,1522,1488,1506,1696,1188,827,1384,1578,1494,1484,1456,1678,1868,1498,1122,905,651,788,1342,1428,1628,1802,1456,1366,1768,1876,1810,1764,1288,619,574,596,501,420,461,597,457,616,1282,1456,869,1003,1288,1068,742,358,354,322,372,465,460,378,494,482,544,758,826,793,709,578,528,466,512,477,470,419,375,366,358,452,654,696,516,382,397,424,416,576,497,382,405,497,562,623,640,1232,1980,1454,528,436,633,491,631,1318,1826,1376,689,481,760,859,660,1144,1666,1328,759,1030,1830,1232,647,834,1284,1013,507,631,950,683,367,401,644,1042,1268,946,611,540,460,393,763,1038,748,404,666,527,312,316,332,363,475,647,584,563,589,602,606,878,1118,1320,939,993,1126,792,717,776,565,682,1366,1704,1388,922,1056,912,561,741,1024,807,557,376,353,401,510,469,388,442,489,527,383,327,313,324,401,439,383,483,522,394,321,360,628,697,843,828,643,553,590,552,539,581,564,568,537,457,502,538,454,410,461,529,534,611,1074,1420,1380,1120,896,1226,1440,1500,1622,1450,1388,1954,1698,1130,899,1324,1482,1460,1318,1150,1324,1494,1848,1606,1412,864,818,929,998,1012,1110,1252,1280,1106,1262,1296,868,644,694,858,1186,1390,1152,719,645,917,1116,1066,1746,1738,1034,1094,1268,1256,1003,1052,1348,1004,644,1250,1582,977,542,408,498,546,446,800,963,716,698,1090,1232,1166,1021,1078,673,648,657,926,826,556,386,380,632,993,1078,1266,1152,1142,1021,559,566,1084,1278,904,820,1230,1242,1156,1960,1580,949,741,466,430,482,442,426,966,919,424,395,372,376,379,389,399,409,373,315,771,1490,1406,1334,1280,1116,1222,1224,825,772,1066,1174,969,656,1140,1378,1564,1896,1612,1252,1270,901,524,326,381,805,703,556,847,886,1188,1242,659,318,404,449,658,1074,823,548,831,1306,1710,1282,1092,949,1300,1760,1060,1030,1434,825,1172,1796,1496,915,1210,1160,813,609,490,443,477,525,556,1154,1122,480,336,694,696,1008,1312,1100,1274,1146,1184,1550,1054,675,755,829,761,714,713,743,756,686,626,666,518,302,426,766,873,831,650,534,722,855,725,570,493,557,605,516,390,404,526,650,505,442,590,582,477,694,753,481,449,406,571,948,987,1142,1232,1134,534,519,844,1026,891,1238,1682,1294,1138,1210,980,979,932,636,395,330,304,406,692,845,1050,963,1060,1500,1148,1670,1258,1036,1116,1334,1630,1070,872,988,938,1620,1262,560,487,799,1102,1158,1084,1018,946,978,1246,1150,915,977,1032,1242,1230,1042,1012,993,1054,1814,2148,1534,1436,1402,1450,1362,1080,1038,1270,1352,1504,1620,1310,1248,1218,985,1024,1222,1448,1520,1542,1020,700,496,955,1448,1484,1132,919,613,812,965,708,915,850,639,619,738,609,494,578,987,1070,951,1210,1626,1662,1410,1240,1210,1388,1108,696,534,458,526,781,874,689,500,594,1078,1418,1252,897,1204,1462,1696,1462,846,591,885,4208,7168,4068,1158,901,705,543,492,708,979,1092,1174,794,555,636,710,1070,1280,839,1290,1220,658,901,1244,1360,1284,1308,1390,1360,1280,1426,1516,1096,630,572,611,581,579,490,532,556,402,379,499,539,516,335,330,576,621,496,799,1192,1290,1164,871,1005,1300,964,833,1134,889,1134,1194,1494,1302,1304,1318,1372,1482,1302,1088,906,1060,1294,1544,1174,996,1252,1538,1654,1132,612,419,381,541,937,991,529,568,1160,1084,650,664,467,776,686,362,406,529,753,1096,1350,1278,1054,1120,1102,919,662,594,560,744,875,1022,1156,1338,1772,1576,1594,1762,1592,1356,719,439,469,1356,1632,744,796,797,1040,1138,1168,1262,1476,996,667,491,461,636,795,1136,1448,1290,963,1278,1188,922,1256,893,670,678,467,682,1162,1308,1268,1194,706,846],[709,719,675,711,747,812,753,631,562,555,699,857,1074,1288,1344,1476,1400,1206,1056,907,985,679,503,985,1444,1620,1362,935,959,1026,879,919,1192,1278,1312,1108,661,669,1034,1282,1058,598,488,432,538,879,1152,1368,1154,1132,1242,1200,1376,1654,1200,879,1230,1428,1412,1160,836,1322,1248,642,597,574,545,387,777,1430,1336,1508,2236,1756,1156,1030,662,526,661,868,1050,1208,1520,1330,1110,885,929,1466,1162,590,412,422,573,822,1028,723,559,548,488,464,444,411,467,648,789,597,602,744,1302,1410,1450,1302,1250,1378,1338,1188,1124,1118,1606,1428,786,557,650,602,556,480,558,848,836,731,633,561,808,1164,1158,1048,835,457,367,404,410,370,326,295,301,348,396,422,441,466,703,781,692,430,311,329,338,334,299,297,391,401,409,387,392,400,393,400,602,1250,1356,1019,1252,1426,1328,1312,1474,1476,1642,1532,1236,1168,1336,1478,1262,896,852,919,803,651,625,647,527,585,700,764,905,927,1044,1394,1444,1042,1250,1804,1838,1748,1906,1568,1680,1434,1294,1454,1560,1456,1346,1506,2004,1278,819,869,1006,1246,1426,1260,1334,1328,1192,1290,1430,1400,1302,1170,1494,1484,1550,1548,1114,495,334,263,249,316,339,244,352,625,842,1026,1076,1114,704,825,1290,1206,1202,1202,1162,745,526,852,1048,1334,860,423,415,502,711,1110,1450,1730,1810,1688,1032,747,600,629,803,814,1100,1020,792,1226,1824,1558,1240,1038,735,697,1164,1542,1750,1256,913,908,607,774,1312,1110,1114,1654,1252,1126,1590,1570,1048,1158,1476,1322,1116,876,1052,1298,1508,1118,849,714,1218,1174,901,1572,1620,1256,1090,945,1040,977,926,1284,1488,829,504,448,383,335,377,375,275,316,471,634,566,455,465,643,579,1268,2320,2686,2570,2600,2242,1676,1234,747,461,403,390,407,405,438,426,455,613,948,963,696,702,885,1194,1544,1180,1090,1244,1128,669,937,1408,1482,1028,976,1250,1294,1266,1001,932,1422,2332,1600,1128,639,461,560,710,1126,1428,1434,1410,1454,740,409,399,518,500,352,684,1188,1218,1264,1156,1028,1166,1346,1010,1262,1214,1022,1096,959,1120,1520,1760,1606,1226,1274,1178,1052,976,888,925,1066,999,1094,1434,1400,1188,1048,749,756,1174,1196,1170,1062,1080,1066,940,1078,887,789,940,1234,1266,1148,1142,1308,1274,1266,1198,868,704,733,1048,1162,967,1020,1070,1194,1454,1310,1444,1472,1158,1100,1308,1332,1138,1158,1192,1088,1074,929,1001,1354,1770,1896,1298,1030,1084,1202,1346,1486,1600,1510,1432,1472,1272,806,902,1272,1186,1006,1092,1046,1088,1512,1218,698,846,1306,1009,514,766,1316,796,875,811,919,1046,1150,1014,809,913,943,1214,959,705,691,655,580,583,974,1258,1190,949,752,732,883,1042,1042,1182,871,724,683,644,595,487,392,385,400,386,525,1030,1202,659,516,467,635,812,808,547,438,448,469,499,490,493,452,416,422,758,821,485,433,455,399,338,433,586,569,601,595,480,390,406,398,398,372,377,386,385,360,369,433,389,314,421,589,583,612,501,330,333,376,350,318,379,415,621,1070,695,392,322,552,539,497,430,403,420,580,664,743,883,758,548,433,354,322,314,302,324,354,352,327,315,310,288,342,326,227,225,221,218,220,211,308,454,495,515,555,598,598,516,493,442,703,960,1234,1218,921,633,811,985,744,947,1152,909,859,808,744,642,509,481,511,887,1092,802,797,781,602,452,753,1002,836,597,590,847,1406,1466,1212,1362,1148,961,917,942,949,1026,946,877,925,1050,1078,1366,1478,1170,1230,1082,1138,1250,1314,1544,1032,640,613,624,722,973,1018,923,1032,1084,1216,1052,1192,1288,1056,776,785,863,839,805,714,483,363,516,519,666,1120,1174,1054,991,991,840,1015,1446,1498,1524,1430,1144,1322,1394,1736,1886,1466,1432,1406,1678,1696,1428,1130,1160,1007,1074,1316,1606,1296,1038,1226,1792,1804,980,672,720,1044,1412,1056,931,1554,1468,891,916,1030,1005,890,1118,1202,1308,1416,1272,1200,1374,1392,1278,1350,1290,943,968,620,785,1042,1088,1098,1260,1980,2388,2006,1064,875,1272,1898,1948,1558,1722,1930,1842,1896,1916,1788,1942,1922,1438,1996,2060,1862,1510,1410,1334,1396,1378,1222,1170,1242,1416,1744,1654,1086,792,1042,1288,1424,1384,1118,1170,1488,1666,1398,1478,1360,1318,1218,1382,1404,1326,1266,1232,1154,1009,1200,1506,1292,1410,651,747,1166,1638,1720,1604,1472,1204,1009,1264,1420,1262,1064,970,1314,1398,1338,1190,1108,1128,1148,1100,1072,1028,814,621,656,513,375,443,666,889,857,905,1172,1146,1104,1140,1124,1282,1272,1388,1542,1554,1446,1086,1108,1028,1015,1572,1296,536,535,586,704,974,1098,1098,922,559,454,422,408,426,689,976,1148,1200,1218,1172,855,515,400,408,667,890,914,761,709,703,1001,1042,1058,1094,726,744,1088,1304,1186,1072,901,1068,1280,1066,910,890,966,1110,1224,1248,1182,1036,831,824,1208,1294,1114,1118,996,1080,1200,1250,1172,1460,1578,1470,1384,1186,1444,1836,1498,825,1010,1276,1468,1626,1368,1362,1234,1114,1512,1854,1838,1706,1642,1534,1084,444,445,520,786,1298,1070,710,794,1426,1566,890,738,811,879,717,337,303,342,669,1030,864,680,677,485,596,828,831,807,882,849,777,673,559,515,498,425,368,376,385,509,696,703,478,402,469,437,485,688,735,571,452,524,571,599,621,987,1766,1444,596,577,481,728,1476,1618,957,597,630,527,534,616,609,715,924,808,613,746,1230,1252,1018,961,939,715,446,699,1058,895,433,379,515,1126,1476,1320,863,457,422,395,452,918,1052,521,894,736,489,664,609,451,532,583,662,511,496,387,410,691,795,1146,738,557,627,1100,1516,1580,954,572,1156,1482,1158,818,937,962,774,714,1012,1102,733,428,389,447,429,377,418,437,374,403,333,328,339,399,539,530,411,485,547,407,303,301,615,708,831,879,775,626,580,622,660,621,570,505,471,436,452,472,491,433,472,596,571,438,585,958,1388,1556,1428,1414,1344,1472,1886,1614,1338,1558,1484,1148,751,743,1062,1326,1156,1466,1796,1558,1560,1338,1050,715,530,592,648,722,850,1206,1344,1130,1164,1152,642,719,913,1056,1314,1284,1064,821,753,1002,1416,1212,1372,1028,833,1310,1506,1260,1142,1306,1186,721,627,1056,1290,855,913,874,651,438,501,789,915,832,770,1232,1378,1024,634,860,637,629,669,788,822,553,451,684,1014,1208,900,1124,1002,495,423,794,1026,899,958,1330,1248,1648,1920,1300,1874,1726,1116,662,504,450,426,415,475,1042,1312,636,409,389,379,373,364,383,365,355,560,1172,1232,1074,1234,1318,1672,1510,1300,829,700,731,920,1142,1188,1040,681,990,1634,1396,1230,1378,764,334,331,322,573,893,850,750,838,1118,1088,591,482,743,826,734,1410,1484,872,848,1144,1278,1418,1542,1054,1190,1622,804,987,1792,1372,879,1188,1288,1488,1528,1056,603,393,460,526,783,1136,801,941,1096,619,458,751,824,1164,1160,941,1126,781,590,1198,1628,1798,1082,726,771,706,660,674,683,666,722,795,630,442,600,800,950,700,450,467,599,636,697,667,544,550,525,524,471,539,563,661,596,486,504,548,618,731,634,437,599,595,760,804,803,1104,653,409,799,963,1016,1216,1186,1230,1190,1023,1044,998,972,1242,1088,554,331,376,346,374,515,764,997,980,1214,1438,1366,1550,1200,1040,939,908,955,837,1248,1864,1158,1206,983,689,722,1122,1678,1406,976,991,818,1332,1878,1544,854,797,1156,1390,1500,1274,1044,1112,1264,1940,1778,1190,1174,1258,1486,1164,880,787,1186,1942,1928,1532,1278,1108,993,1064,1592,2006,1402,977,900,783,833,829,1370,1302,867,965,990,630,744,860,955,1096,763,751,984,1032,752,647,858,1076,922,1322,1724,1410,1274,1280,1230,1312,1432,1264,1040,832,708,797,963,955,473,389,513,719,831,875,1162,1478,1496,1642,1622,1196,783,505,706,584,424,767,1416,1176,742,514,751,942,1292,1400,938,660,777,1244,1492,1028,1118,1740,1166,683,662,1030,1166,1198,1334,1366,1244,1280,1428,1404,895,542,480,509,611,628,562,492,384,359,568,672,677,657,452,451,411,555,528,725,1122,1264,1256,1096,1036,1148,967,841,826,811,835,926,1322,1478,1440,1166,1154,1286,1102,1136,877,774,1410,2042,1630,1176,797,879,910,761,653,584,509,705,1204,1172,675,838,1162,742,474,465,579,844,907,631,521,554,844,1072,1010,1206,1110,1200,1200,861,818,916,766,908,951,920,1246,1456,1798,1656,1678,1546,1366,1010,605,413,795,2010,1768,1228,1186,767,727,949,1202,1202,1216,1044,702,367,364,400,582,927,1056,1202,1056,1068,875,1023,1128,749,745,866,620,589,801,904,799,854,942,1066],[725,703,618,491,359,570,769,730,613,527,605,799,1009,987,904,1034,1308,1520,1082,880,884,573,554,934,1094,758,516,539,655,765,1058,1058,1378,1208,1140,938,641,924,1642,1776,1058,599,587,498,480,466,466,651,1052,1128,961,922,1234,1226,780,630,720,954,1434,1310,814,1232,1294,739,594,587,594,583,1138,1986,1820,1396,1578,1152,904,484,338,487,915,1028,1046,1302,1678,1472,804,730,843,1078,1030,722,426,508,920,1126,852,500,440,449,438,446,464,490,636,705,612,485,522,730,1040,1056,1220,1462,1456,1434,1060,688,596,897,1420,1192,736,628,777,682,514,382,494,726,700,597,553,492,527,617,1066,1086,548,348,304,373,467,461,414,334,333,393,509,469,449,515,889,941,548,336,335,381,391,396,369,364,410,410,341,435,830,688,627,1021,1314,1418,1052,1172,1562,1462,1306,1256,1194,1288,1292,1224,1154,1218,1152,1020,1118,976,751,793,789,1007,1084,898,601,505,727,1146,1344,1148,1304,1666,1776,1952,1990,1910,1754,1922,1852,1572,1428,1360,1346,1326,1224,1488,1340,1696,1710,1260,1048,1094,1588,1974,1722,1484,1350,979,893,883,987,1404,1182,1024,1034,1250,1544,1360,753,444,410,329,308,379,526,375,504,841,927,1050,1372,1192,604,558,811,1021,1432,1248,1208,671,509,551,547,692,559,372,382,461,558,698,1046,1352,1572,1704,1042,763,650,931,1174,821,792,962,538,599,1370,1686,1176,830,738,926,1272,1572,1440,1036,1172,1314,670,425,483,792,1148,1346,1294,1026,1168,1208,1104,1114,1138,1520,1766,1024,708,1004,1164,1304,1566,1388,1278,1184,909,1378,1620,1234,1316,1072,880,713,1005,1394,1404,866,614,579,700,622,397,267,230,309,414,419,369,387,424,539,535,678,1572,2392,2648,2742,2546,2090,1506,1052,881,723,614,515,464,408,422,449,686,1136,1412,1258,709,813,1082,1200,694,1044,1388,949,907,1016,1042,1056,727,990,1112,1212,948,925,1142,1374,1490,1116,641,365,434,537,602,1078,1354,1354,1334,1432,718,381,391,314,340,538,998,1282,1100,1078,989,1136,1312,1212,1358,1552,1224,1274,1146,832,1074,1428,1708,1584,1001,1146,1124,1050,1104,1250,1296,1232,1198,1352,1278,1222,1362,1228,1180,1108,1018,1082,1058,1278,1164,1154,1078,1074,1254,1180,1126,1324,1248,1132,1180,1013,767,681,766,604,606,957,1214,1590,1344,946,788,943,1062,1018,1166,1294,1200,1000,995,937,998,1366,1372,1310,1332,1292,1262,1322,1246,1282,1134,1198,1344,1388,1454,1430,1372,1178,1256,1362,1444,1130,1076,1158,1182,1170,1216,1013,1224,1548,1186,1140,1200,1528,1440,789,662,937,715,805,672,758,994,1011,971,680,654,832,1350,969,841,659,551,495,498,858,1224,1088,727,488,508,973,1078,984,1168,1090,938,968,977,849,722,585,464,413,417,541,1122,1060,680,496,438,553,850,943,601,374,373,419,455,336,391,424,441,464,537,656,584,423,324,306,369,465,529,512,495,397,375,393,462,480,462,424,381,415,443,395,368,350,377,331,447,543,552,516,443,367,352,404,393,422,672,696,835,1015,590,412,481,596,545,474,396,414,552,812,603,686,750,580,457,404,353,320,312,296,294,285,290,336,368,370,336,357,356,357,435,413,304,261,295,381,443,453,457,495,488,502,463,501,519,542,685,907,808,585,504,701,913,789,780,822,619,694,725,637,557,462,451,414,517,724,691,805,766,833,719,532,497,633,804,931,1204,1604,1600,1612,1678,1190,1232,1332,1172,1126,1240,1268,1280,1296,1262,1148,1388,1734,1782,1906,1716,1822,1952,1890,1758,1158,836,871,736,757,1066,1208,1104,1212,1154,1268,1244,1324,1194,1060,1007,1108,1120,1122,1178,1106,646,446,882,866,663,830,1044,960,996,1040,1010,1142,1158,1044,1004,985,1282,1198,1188,1438,1416,1412,1356,1360,1348,1378,1290,1102,1236,910,1180,1470,1664,1134,1080,1482,1922,1422,714,695,796,1416,1484,1140,1100,1608,1982,1778,1462,1282,1034,1042,1246,1194,1592,2096,1568,1084,1050,1340,1086,807,1172,1720,1224,682,891,1010,1198,1310,1170,1444,2178,1970,1374,1630,2078,1872,1680,1686,1794,1874,1714,1688,1762,1904,2026,1942,1306,1654,1696,1398,1274,1350,1510,1324,1156,1212,1362,1576,1556,1402,1512,1948,2856,2402,1356,1388,1394,1226,1224,1056,1350,1376,1310,1116,1124,1356,1374,1286,1300,1372,1306,1302,1392,1452,1636,1388,1282,739,683,1242,1566,1562,1562,1554,1548,1378,1458,1598,1504,876,626,1084,954,711,727,705,682,944,1342,1276,878,907,1192,1256,1118,994,760,532,713,849,799,650,750,1072,1090,1052,1534,1626,1352,1234,1312,1182,1019,1001,662,700,1406,1316,1013,927,852,767,746,587,619,485,350,409,548,606,587,764,661,769,871,1092,1262,1314,1114,884,648,519,582,679,727,733,691,1210,1254,1172,1484,1252,796,1052,1418,1180,854,796,974,1174,1182,1214,1260,1340,1218,1164,1010,1200,1412,732,593,1184,1294,1240,1114,767,1288,1434,1376,1398,1582,1580,1158,1080,1356,1406,1604,1544,1146,1430,1384,1224,1454,1418,1288,1240,1152,1106,1282,1572,1432,1238,1368,1326,799,984,1172,1310,1716,1932,1600,948,683,565,379,618,966,1244,772,385,372,581,1130,1332,1001,952,1015,760,1196,1452,1144,844,860,733,778,788,725,608,501,457,473,477,479,663,720,529,483,533,504,440,455,537,656,623,476,511,511,518,584,627,1182,1206,984,737,474,755,1020,670,453,727,822,647,1013,686,319,306,539,707,652,708,1198,1684,1368,1070,892,496,393,512,930,921,528,440,428,782,1444,1720,1154,411,383,413,409,634,996,630,484,594,838,1376,1100,387,374,584,741,807,984,766,422,503,611,845,847,575,708,1310,1344,1192,807,850,1052,1360,1388,1078,783,720,762,695,932,1150,693,377,363,429,484,430,422,474,336,332,410,382,344,439,531,421,335,377,419,393,565,484,574,710,828,818,674,619,584,688,780,643,535,493,451,419,437,469,481,494,552,622,639,482,494,869,1432,1484,1350,1362,1434,1658,1882,1610,1308,1264,1244,1130,894,1184,1128,1152,1346,1436,1552,1516,1148,1272,1610,1044,568,606,587,698,973,1256,1338,1254,1112,828,674,1354,1534,1088,816,614,574,757,757,1098,1238,1404,1604,1138,686,736,882,1084,1578,1510,1192,697,510,664,900,875,911,1034,1016,716,684,933,1082,1238,1178,1378,1498,1178,772,932,1011,1550,1476,956,1078,810,574,890,1122,1214,969,1094,1282,772,904,1348,1330,1078,1266,2076,1704,1626,1648,1300,1360,1494,1015,739,698,564,667,691,728,1070,1344,791,473,410,371,376,375,378,385,374,792,1172,789,987,1428,1598,1744,1926,1576,946,1028,1092,1142,1462,1596,1272,843,964,1476,1302,1068,1044,518,302,338,327,482,1046,1164,814,941,1114,1030,1032,1026,1260,1118,909,1154,1180,1080,1248,1246,899,1478,1716,1164,1152,1672,1058,904,1290,1090,1013,1212,1644,1714,1196,1012,933,797,1040,1084,1122,1260,847,488,605,524,633,1360,1902,1826,1438,1076,1236,936,748,1382,1936,1480,703,579,663,643,591,587,617,625,711,924,711,572,667,626,765,644,403,393,456,528,784,724,569,529,521,506,693,830,668,708,720,583,550,616,1064,1342,844,412,474,698,1034,799,764,1098,743,560,985,1102,999,1166,1186,1124,983,876,739,841,647,564,577,359,319,359,281,314,552,714,944,911,980,1126,1156,1058,1080,992,723,930,1208,1166,1356,1998,1546,1072,918,876,1028,1166,1410,1192,664,606,529,746,976,1166,821,847,1100,1368,1822,1410,1286,1672,1606,1472,1182,1262,1470,1670,1216,793,667,468,617,1394,1704,1278,958,1216,1472,1504,1292,1494,1346,1044,977,908,873,1322,1500,829,436,483,741,1072,1142,886,800,910,980,1136,1360,1160,938,965,763,822,999,1592,1460,1170,1322,1344,1214,1208,1328,1286,1184,1020,1122,1380,1444,1340,611,437,414,386,390,563,1188,1470,1448,1348,1340,1476,1052,475,483,976,1382,1188,1282,1356,1140,674,524,975,1494,1304,773,1015,1350,1718,1434,716,884,998,843,814,759,896,1164,1322,1550,1474,1352,1388,1284,888,549,445,430,473,582,668,634,438,404,521,664,716,794,821,789,860,761,717,563,600,785,995,1102,1126,1264,1358,1148,1054,602,519,653,720,848,987,1090,1272,1482,1340,957,1015,1202,1258,1738,2020,1634,863,439,336,420,663,780,732,623,458,776,973,715,1126,1366,1072,623,541,645,591,760,1064,848,524,647,774,756,1056,1170,1360,1484,1232,825,705,752,977,1100,833,908,1176,1300,1242,1124,1170,1130,958,1014,655,904,2102,1718,1796,1318,537,815,1556,1542,1216,982,828,627,450,388,594,676,454,403,479,642,943,895,946,1068,774,855,1250,1260,956,568,441,573,1168,1714,1290],[861,735,484,330,422,626,732,698,583,452,448,487,565,592,739,1176,1670,1750,1001,865,850,602,619,924,943,736,596,453,473,689,1454,1658,1490,813,480,509,464,727,1396,1604,1068,853,852,596,457,383,429,545,623,781,756,749,1064,922,832,836,877,828,928,908,717,1100,1236,802,508,470,514,565,828,1036,1120,1080,914,937,874,484,349,326,468,561,730,1028,1358,1246,640,705,771,742,857,861,760,966,1080,1172,1304,1090,655,478,508,493,519,718,929,727,670,587,671,1040,956,913,1208,1158,1066,1262,1368,1152,951,800,1066,893,892,1266,1058,599,464,375,414,636,796,762,608,497,436,672,948,667,491,440,313,344,420,554,545,394,386,445,487,435,459,648,957,802,382,329,331,378,384,414,412,417,401,443,849,1610,1808,1054,842,1368,1402,1310,1226,1268,1362,1364,1406,1302,1104,1104,1396,1456,1268,1182,1262,1444,1160,1134,1152,1316,1300,1558,1618,1362,995,705,910,1428,1738,1418,1334,1554,1742,2286,2344,1876,1908,1966,1562,1532,1750,1396,1536,1614,1460,1402,1356,1488,1182,1192,1238,1218,1530,1868,1802,1562,1522,957,850,879,1584,1656,1012,907,933,1290,1642,1252,570,455,374,311,300,338,612,1017,1050,936,690,907,1466,1250,575,619,1026,1108,1402,1150,755,410,488,432,343,437,395,392,375,412,541,611,912,1218,1104,982,860,1090,1452,1898,1600,963,1230,1738,811,644,869,1118,1017,822,746,773,963,1124,1066,927,1268,1302,1026,856,904,1450,1154,1005,1038,721,500,766,1104,982,1416,1636,1410,1176,1164,863,781,1158,1344,1210,1310,1374,1166,1168,1204,1488,1292,1252,1362,1152,1008,1130,1180,1326,1310,1086,1210,915,678,406,359,351,362,385,446,408,368,539,609,493,876,1954,2546,2544,2712,2610,1848,1428,1114,1042,1086,887,761,738,621,514,516,613,872,838,528,363,670,684,546,1106,982,504,739,1058,986,769,789,822,892,706,480,707,666,391,580,815,606,563,774,810,771,958,1122,1224,1210,1288,795,347,371,352,357,511,1302,1650,1354,1418,1282,1058,1082,1106,1364,1444,1210,1278,1218,892,1084,1552,1770,1516,1152,1150,1340,1250,1180,1230,1328,1266,1346,1492,1206,1170,1340,1220,1100,1164,1128,1312,1154,1204,1350,1376,1422,1548,1296,1354,1470,1522,1344,1244,1274,929,677,763,755,697,1048,1150,970,1660,1013,660,681,875,813,852,754,772,1264,1606,1290,805,902,1384,1424,1202,974,1132,1296,1314,960,863,1104,1270,1246,1368,1534,1228,1001,1370,1212,1320,1456,1320,1250,1156,1006,816,769,1066,1370,1180,833,996,768,1204,1284,905,596,515,794,891,658,1166,1076,769,672,686,640,644,772,891,1072,808,721,948,906,866,976,849,554,468,491,819,647,987,1354,1120,833,933,1166,1144,1016,948,744,683,673,791,1286,997,843,715,454,434,533,542,465,435,378,393,388,336,430,460,382,382,524,623,614,520,378,357,456,483,541,460,360,353,386,404,465,476,494,502,469,460,467,429,552,445,346,335,475,479,438,439,432,441,418,420,412,434,738,806,909,1064,777,468,513,617,717,648,548,537,432,505,529,763,739,542,541,547,413,336,295,308,350,380,456,434,390,330,357,359,356,443,561,557,417,370,411,411,426,413,377,428,407,438,455,472,419,340,305,327,401,402,543,975,1286,974,921,891,750,879,752,675,657,504,440,419,514,686,780,732,753,1056,1182,1168,1316,1440,1468,1562,1684,1746,1560,1674,1804,1432,1298,1340,1142,1064,1160,1158,1218,1244,1190,1052,1252,1494,1906,2284,1870,1694,1684,1714,1720,1246,925,1021,900,973,1094,1220,1062,1158,1156,1180,1164,1198,1246,1128,1023,1328,1416,1480,1472,1356,1184,882,1096,831,874,1028,769,544,607,670,669,1040,1194,926,1446,1188,930,1158,1458,1284,1024,745,585,717,938,1086,1418,1460,1012,1018,1234,1634,1466,1046,1154,1726,2142,1394,687,721,759,1368,1340,969,1100,1506,1992,1968,1694,1424,1200,1166,1262,1340,2032,2570,2390,1938,1252,1244,951,592,1316,1848,1188,511,879,1284,1438,1444,1470,1266,1254,1246,1980,2596,2208,1924,1952,1840,1542,1612,1724,1572,1368,1354,1240,1246,1338,1246,905,882,1128,1272,1224,1102,1410,1604,1638,1526,1360,1384,1714,2602,3030,1876,1180,1294,1338,1084,1058,878,1284,1394,1202,944,1028,1252,1396,1348,1312,1398,1368,1310,1346,1314,1370,1376,1268,867,854,1460,1816,1656,1282,1152,1021,837,1098,969,703,524,541,774,796,525,440,456,447,435,931,1244,915,936,1248,1384,1494,1602,1092,424,358,480,560,774,856,954,1084,1015,1488,1842,1638,1344,1110,1014,993,845,735,760,946,963,1005,789,544,375,436,574,679,515,325,393,652,708,960,1460,1082,855,1040,891,1058,1126,1162,1228,1230,1023,704,718,798,999,1298,1564,1180,753,1078,1388,913,642,1216,1464,1026,978,1144,1512,1390,1334,1582,1288,1030,1182,1148,1342,1346,525,598,986,1188,1466,1344,762,857,979,984,1116,1460,1526,1378,1732,1912,1758,1708,1794,1684,1594,1528,1500,1480,1450,1270,949,737,600,759,886,620,636,932,1226,1380,1368,1310,1424,1570,1908,1836,802,315,315,639,1032,1354,1396,735,372,368,717,1050,646,714,1406,1566,1122,1600,1816,1362,1950,1444,662,682,669,572,495,453,412,429,462,519,561,569,470,553,537,470,483,455,417,466,574,526,484,452,419,548,587,801,1296,1514,1116,587,615,609,495,480,583,747,915,1094,863,730,620,524,557,572,661,1028,1296,1188,819,815,531,751,890,755,488,615,652,388,355,836,1456,1332,499,327,704,863,515,791,934,661,583,917,1210,577,443,859,1318,849,838,1364,1002,417,299,301,381,639,845,783,756,534,573,987,1244,1140,1066,1464,1406,982,725,665,660,776,929,533,333,350,396,417,409,391,536,544,460,495,492,414,387,373,315,340,404,359,434,927,819,524,630,783,811,738,735,584,651,644,479,445,463,412,353,375,423,456,449,479,515,567,469,491,1082,1480,1480,1312,1370,1598,1376,1544,2122,1916,1490,1294,993,827,851,1186,1278,1416,1378,1402,1612,1742,1930,2050,1476,740,518,730,893,1086,807,814,1140,1344,1064,898,1154,1024,658,479,469,771,854,645,875,1156,1558,1788,1656,1396,877,500,1064,1588,1440,1144,959,868,982,1112,1378,1334,930,1116,1242,849,682,797,987,1192,1340,1438,1354,1064,1112,1418,1744,1678,1023,1202,1042,608,1054,1188,1226,1172,1036,1036,1046,1382,1728,1750,1428,1288,1672,1158,938,1140,879,1166,1710,1240,910,913,794,760,650,708,888,904,811,575,404,378,378,382,374,305,287,579,755,893,945,1298,1632,1610,1948,1550,1174,1434,1444,1130,1017,1204,1342,1252,1342,1490,1102,1072,885,468,356,377,419,580,1018,1208,812,863,1078,1284,1442,1330,1280,984,754,683,896,1120,1292,1500,1078,1340,1468,1538,946,1484,1416,860,674,812,1023,1360,1830,1780,1558,1026,1102,1152,1156,1019,893,1002,623,348,528,539,626,1306,1974,1856,1514,1576,1782,1592,1092,821,1210,1162,663,462,540,614,597,601,678,550,601,911,886,664,518,506,741,829,608,437,547,491,733,681,508,448,411,337,560,672,559,757,974,686,628,584,1066,1614,1260,532,364,493,838,813,865,1056,730,526,673,921,965,884,760,689,634,667,611,810,735,290,253,279,376,416,450,488,488,547,1230,1238,1266,1660,1370,1230,1098,790,859,1114,1654,1544,1284,1236,1168,1116,987,1158,1416,1302,1368,955,494,486,469,368,348,422,951,1368,995,947,1242,1438,2164,2332,1770,1104,955,1056,1086,1120,921,899,880,606,566,968,1210,1090,976,1130,1574,1550,1138,1094,1180,1296,1344,1054,1018,1386,1494,573,458,447,489,855,1016,756,852,1288,1490,1268,1276,1262,966,1058,1174,659,828,1114,1280,1280,1504,1382,1196,1402,1416,1172,771,627,873,1656,2008,1856,1244,572,373,479,465,788,1302,1220,913,1106,1600,1710,1386,675,591,623,1012,1318,1162,940,984,646,365,509,984,1021,756,1276,1718,1628,1410,1076,608,583,788,875,744,811,1060,1288,1458,1440,1442,1326,865,563,468,468,469,535,733,814,639,369,465,667,727,739,839,888,854,886,933,904,890,683,467,705,827,1130,1132,1026,1013,771,422,560,931,1112,937,612,556,662,938,1256,1005,1206,1232,1182,1418,1534,1076,664,608,600,571,684,724,847,797,568,894,969,668,617,847,995,667,667,1046,647,583,994,1250,1017,739,931,1038,1064,1222,1260,1300,1124,657,527,664,797,895,933,1090,1174,1070,1013,1078,1164,961,629,1180,1054,1034,1238,863,973,908,783,1170,1920,1998,1172,788,911,713,508,514,857,1226,1058,847,728,841,927,697,810,782,800,762,1206,1550,943,540,713,874,1130,1642,1272],[810,730,536,358,444,648,714,620,568,478,482,400,401,440,572,797,783,855,1140,1576,1296,731,701,879,736,739,615,533,500,854,1416,1460,1256,935,950,928,513,666,1532,1796,1246,990,1062,719,466,363,378,407,407,553,641,857,1344,905,1142,1068,962,785,466,471,514,591,726,780,591,413,452,605,1009,1092,935,655,482,681,718,507,349,279,332,603,915,999,1074,666,460,442,600,620,677,876,1128,1368,1400,1398,1482,1174,591,460,508,527,602,828,1166,1272,1180,921,1040,872,585,880,1336,955,602,730,879,969,1206,1282,1140,868,1194,1416,972,491,443,386,388,603,866,884,681,497,639,852,592,483,698,502,357,299,355,491,528,446,442,477,460,470,627,781,803,619,347,318,349,381,400,430,381,376,555,1124,1754,1616,893,520,662,1082,1122,911,992,937,1116,1238,1142,1332,1378,1210,1320,1384,1388,1404,1276,1376,1396,1542,1626,1942,1820,1482,1406,1188,1116,723,1116,1338,1214,976,1218,1334,1438,1710,2110,2078,1692,1410,1178,1512,1512,1290,1394,1530,1660,1540,1364,1142,1272,1476,1360,985,949,1134,1208,922,1044,950,905,896,1358,1344,939,756,787,1054,1192,846,435,437,432,493,470,534,1042,1640,1438,758,548,755,1166,1072,561,525,691,1022,1456,1364,805,385,432,415,375,422,409,483,491,485,587,755,1444,1518,1502,1448,908,1190,1936,1802,1156,977,1290,1520,1200,1776,2080,1460,722,789,1236,1618,1754,1310,837,838,1214,1216,1340,1432,1128,1092,1190,1174,977,721,561,1018,1230,990,1450,1450,1426,1662,1676,932,813,1024,813,852,866,951,1230,874,827,1106,1002,1144,1326,1266,1224,1316,1302,1334,1406,1450,1194,724,790,673,467,380,356,491,586,496,467,485,534,570,587,1132,2186,2580,2754,2696,2156,1750,1042,812,979,828,1022,1342,1146,735,860,655,611,836,792,512,709,727,399,495,460,465,505,816,977,764,995,1454,1206,732,601,549,438,326,481,1072,854,924,1128,983,946,1005,907,993,1094,1154,1001,780,807,626,484,640,1636,1692,1456,1550,1604,1754,1292,1068,1404,1324,1122,1116,996,776,1128,1658,1824,1432,1290,1112,1013,1126,1104,1078,1176,1024,1028,1082,1204,1332,1256,1216,1232,966,884,818,807,1194,1450,1394,1376,1388,1072,1036,1358,1532,1370,1282,1438,1266,1136,1062,782,1042,1286,1338,1118,1206,1060,1048,1050,1011,968,1054,998,804,1266,1946,1362,749,913,1358,1366,1472,1452,1484,1568,1512,1220,1056,1288,1492,1376,1614,1686,1160,646,855,1078,1534,1658,1480,1314,1220,1108,861,901,1188,1298,891,824,1078,869,664,678,1032,951,580,1132,1474,1114,1490,1286,1060,626,418,420,557,561,775,1176,1130,1120,1382,1180,591,608,872,641,666,802,788,716,1074,1234,870,785,955,1502,1576,1392,1426,1378,1182,1066,1150,1366,1128,904,692,489,400,410,549,580,630,451,390,361,349,397,409,393,393,425,509,524,454,405,438,489,420,500,417,328,335,353,365,362,388,455,466,507,524,503,424,610,613,418,332,381,351,309,407,391,346,361,401,413,517,733,792,916,940,593,423,392,401,462,528,633,624,526,483,605,767,891,954,988,825,482,365,357,354,368,415,460,431,404,391,415,393,445,547,591,560,479,435,512,551,607,596,491,478,549,558,580,548,392,333,305,354,419,390,589,995,1484,1134,846,723,720,747,689,617,705,624,565,624,823,771,599,536,673,955,1256,1596,1756,1652,1376,1538,1714,1732,1430,1682,1908,1426,1152,1240,1048,961,1136,1124,1230,1470,1174,899,1246,1414,1974,2138,1330,949,943,1138,1516,1316,924,1022,965,1018,1140,1400,1236,1136,1162,1196,1238,1174,1040,1078,830,1252,1460,1538,1572,1376,1170,1284,1032,528,911,1178,950,636,567,551,587,1052,1288,1348,1352,1278,1532,1610,1844,1644,1019,771,580,441,568,686,1220,1316,921,1032,1372,1660,1278,1005,1318,1872,1898,1060,642,687,1078,1378,1288,1007,1260,1794,2020,2138,2060,1858,1722,1300,1098,1606,2492,2554,2564,1830,1398,1334,792,606,1009,1092,1334,952,1068,1268,1186,1444,1588,1354,949,1458,2320,1984,1506,1478,1362,1502,1354,1466,1706,1550,1334,1216,1372,1386,1114,865,694,774,836,1032,1250,1564,1698,1552,1478,1408,1298,1290,1426,1794,1714,1188,1030,1104,1664,1396,1202,920,1102,1332,1416,1158,991,1448,1588,1398,1316,1306,1296,1516,1234,1013,1070,1184,1138,1178,1372,1440,1570,1444,695,604,886,1084,1214,989,760,720,736,893,992,875,570,565,593,537,624,745,1034,1044,1162,1404,1486,1620,1312,598,295,264,302,396,578,691,814,1010,1294,1294,1001,900,938,892,885,1040,807,847,755,594,542,444,347,438,599,631,617,373,346,584,946,880,1354,1736,1182,1294,1394,1134,1162,1382,1202,1144,1194,1078,1144,1146,1114,991,1112,1290,984,763,979,1328,1218,916,842,1410,1324,1160,1280,1428,1288,1282,1182,717,464,874,1282,889,875,719,751,861,1322,1232,687,593,633,695,785,824,1200,1472,1620,1918,1794,1734,1770,1632,1532,1536,1496,1474,1412,1494,1230,870,874,666,731,769,690,748,902,1236,1594,1306,1070,1274,1298,1708,1742,753,650,457,610,951,1098,1090,744,429,466,468,554,339,552,1116,1462,1310,1666,1518,1354,1772,1274,779,686,558,434,504,421,322,364,397,484,482,494,533,569,507,454,483,655,655,591,601,540,436,444,491,757,693,548,1126,2126,2656,1034,597,495,720,626,495,530,958,900,852,1346,1060,972,973,522,419,569,953,1008,1026,796,599,676,1040,935,504,569,550,491,310,669,911,802,434,425,1338,1454,593,597,918,590,446,708,840,576,977,1184,1402,873,561,810,825,605,393,336,386,622,933,720,455,368,561,987,1232,980,673,1096,1466,1146,1042,939,683,666,648,441,375,392,393,398,397,409,572,735,661,498,562,470,358,277,318,328,336,358,536,874,689,398,602,734,763,647,557,506,561,595,552,535,535,501,415,381,385,456,522,678,614,545,473,539,849,1186,1152,830,1026,1260,1078,1388,1668,1712,1592,1338,962,728,724,1224,1386,1126,1140,1362,1230,1296,1470,1684,1822,1236,907,1096,1184,857,448,517,838,1210,1054,1026,1042,756,669,652,612,681,794,748,794,1194,1422,1156,976,1082,1104,744,1024,1166,908,631,728,861,1072,1170,1296,1632,1206,1050,1212,1014,625,683,1028,1246,1162,1374,1158,794,1158,1312,1052,1348,1090,1086,1162,854,878,893,1022,1002,899,966,1028,1308,1788,1922,1608,1240,784,499,915,1402,1056,879,1006,901,550,764,1092,827,638,816,807,713,1026,885,527,506,404,421,318,185,266,517,730,1068,991,1128,1380,1474,1456,1474,1660,1510,1038,818,827,1090,1564,1338,1400,1492,1226,1206,926,525,391,377,424,550,773,1206,1092,616,714,1238,1466,1384,1306,1128,839,464,761,1302,960,915,1122,1410,1542,1440,983,956,700,513,703,839,762,880,1572,1900,1444,945,785,1246,1568,1474,1007,613,455,517,741,882,727,949,2132,1826,1418,1182,902,610,563,595,619,533,381,395,454,500,467,539,562,401,446,724,849,750,571,608,782,803,583,576,743,554,498,498,396,371,347,300,318,356,471,815,1116,958,610,567,985,1556,1462,724,462,595,871,1100,893,1128,1344,778,885,1746,1484,770,555,565,551,555,612,905,889,377,339,456,668,868,1184,1190,827,1182,1920,1576,1208,1212,1118,1246,1314,776,671,854,1376,1250,943,1094,1356,1162,830,922,1204,1270,1106,743,461,346,496,474,336,329,846,1388,1324,899,1011,1732,2100,1662,1478,896,670,616,623,865,978,923,763,456,597,976,1100,1250,1670,1400,1294,1240,831,782,1140,1450,1706,2176,1902,976,1026,515,378,451,722,666,741,919,1100,1460,1294,907,1048,1122,1064,1436,1332,568,469,723,1048,1030,1124,1302,1234,1328,1286,1120,601,784,876,1412,1884,1842,1446,847,586,601,623,1108,1342,940,1080,1436,1496,1562,1582,1080,670,531,606,932,1188,1013,746,471,444,654,1138,1015,1236,1692,1776,1394,1878,1764,1023,996,1392,1522,911,630,662,901,1110,1212,1410,975,511,491,485,475,456,486,677,779,554,379,536,738,788,804,833,850,874,846,811,764,733,714,608,1021,1226,982,606,414,558,556,523,874,1102,1120,995,778,625,631,889,840,849,1288,1306,1122,1208,1324,886,691,691,851,792,755,755,987,1406,1570,1236,957,696,650,885,1538,1304,1194,1130,675,556,550,707,661,1001,1332,1102,1150,1384,1326,1456,1262,996,808,733,725,833,1032,1206,1390,1338,1016,1296,1086,1080,666,1168,1104,1140,1044,1198,1286,1118,1162,865,1164,1546,907,1072,1032,695,692,892,1204,1502,1472,1206,1118,1334,1166,907,1064,849,666,509,658,922,792,791,1096,1366,1484,1522,1020],[1122,1014,691,471,434,503,440,464,541,497,554,504,554,599,489,417,653,1040,1540,1792,1188,881,927,1036,990,1004,744,569,580,880,955,1038,1246,1240,1334,1030,502,753,1584,1692,1090,819,959,701,404,412,438,362,304,376,565,974,1332,821,816,819,1058,888,501,437,475,569,774,1068,1098,974,1034,856,1206,1152,973,872,846,1044,884,497,382,350,325,440,539,550,830,808,547,479,617,902,1140,1208,1332,1614,1790,1936,1560,885,464,454,526,534,551,735,1196,1632,1596,1404,944,633,478,540,742,597,476,597,741,755,830,1162,1208,1322,1356,1282,758,435,633,542,480,1044,1208,905,706,664,908,750,568,719,705,446,325,294,320,377,448,430,417,437,438,502,700,685,630,470,360,339,324,347,408,399,380,684,1488,1898,1354,615,692,1266,1066,1136,1290,1202,1012,959,1238,1274,1152,1232,1320,1023,1164,1530,1498,1202,1266,1432,1382,1562,1720,1768,1476,1362,1126,741,858,777,1206,1382,1246,1184,1194,1192,1454,1512,1504,1452,1628,1450,1124,1316,985,1050,1368,1428,1494,1428,1264,1120,1086,1174,1056,633,563,739,715,843,922,886,1136,1398,1262,888,560,495,492,523,723,969,1142,916,546,476,388,437,803,1136,1015,760,844,1044,1240,1010,766,593,761,1256,1354,1040,672,363,358,435,585,481,420,537,628,588,634,1148,1938,1748,1430,1576,1140,836,895,686,724,700,730,543,1214,2492,2454,1440,1116,1242,1338,1864,1984,1524,892,645,525,516,850,990,791,680,819,916,821,1176,1262,1406,1108,1046,1318,1402,1564,1532,1132,942,1194,1004,971,1294,1172,954,1112,1200,921,789,954,1202,1374,1386,1522,1768,1742,1344,1394,1304,1036,746,609,633,438,303,341,409,498,529,473,396,386,460,464,567,1686,2510,2634,2686,2666,2204,1374,844,891,1334,1616,1502,1288,1294,1464,1262,1152,1246,1208,835,687,761,486,467,464,788,875,953,936,788,921,1114,846,631,496,422,401,335,510,1406,1036,1344,1490,1138,949,977,1078,1132,1054,997,1204,1582,1600,1318,756,560,915,1278,1528,1436,1604,1858,1566,1406,1350,832,1070,960,742,791,1178,1566,1760,1666,1230,641,628,904,624,714,962,711,667,1062,1374,1404,1454,1632,1296,723,519,514,841,1306,1262,1178,1204,1036,882,891,1230,1390,1312,1274,1394,1416,1114,631,911,1540,1556,1354,1000,771,869,828,587,701,1120,1190,1234,1292,1060,1194,974,995,1144,1160,1070,1442,1536,1388,1384,1390,1318,1050,1118,1512,1392,1542,1906,1242,616,642,1084,1450,1476,1466,1340,1220,1420,1007,736,692,601,578,894,864,772,813,848,1500,1290,542,711,870,806,924,1036,1040,872,647,585,795,775,1140,1848,1656,1360,1554,1296,590,798,952,673,658,776,891,840,757,893,860,813,846,1138,1208,1280,1468,1488,1266,857,877,1300,1088,668,452,386,361,432,605,782,891,637,431,360,375,386,410,452,435,410,404,397,389,418,467,462,426,383,375,483,491,413,412,402,382,395,358,444,497,411,366,566,626,444,370,400,386,336,386,315,316,292,354,384,551,732,769,888,770,441,404,372,352,419,568,555,492,449,443,625,744,755,880,1040,818,580,725,575,458,418,393,376,386,425,460,454,420,519,649,689,653,609,567,548,601,733,666,477,491,559,537,604,595,532,537,396,391,425,360,634,1126,1248,1166,1056,890,637,512,568,458,598,731,798,841,884,714,642,801,1144,1498,1638,1660,1656,1650,1354,1484,1700,1692,1404,1700,1896,1318,1026,1148,1060,983,1098,1086,1230,1766,1318,914,1334,1436,1776,1952,1216,966,918,1050,1560,1458,1100,1044,1060,1108,1126,1202,1156,1230,1412,1396,1346,1244,973,1196,935,1226,1396,1544,1600,1458,1202,1348,1310,932,1028,1124,1182,688,579,546,529,742,1066,1236,1036,1005,1017,1154,1330,1356,1686,1526,997,997,890,768,966,989,910,1136,1348,1342,1024,1150,1422,1872,1404,825,572,707,1330,1516,1318,1170,1574,2038,2176,2278,2250,2132,1894,1522,1060,1482,2218,2608,2262,1576,1494,976,592,713,542,541,872,709,866,907,1578,2056,1756,1478,1302,1262,1230,1396,1372,1494,1636,1756,1688,1444,1532,1756,1598,1472,1376,1028,608,600,649,728,934,1432,1692,1516,1244,1382,1550,1420,1368,1388,1268,839,973,1188,1146,1070,1616,1332,935,747,813,1130,1136,877,996,1544,1574,1450,1306,1344,1388,1440,1152,1014,1340,1732,1652,1346,1003,815,1328,1306,966,1114,1370,1508,1438,1390,1228,825,839,973,928,1188,988,530,375,520,554,444,769,1134,1356,1428,1456,1582,1356,574,324,319,333,433,534,390,368,492,662,781,785,1030,1222,824,645,638,405,337,286,290,352,473,543,488,419,349,427,315,458,1040,1340,1102,1392,1362,1226,1538,1602,1566,1504,1364,1150,1086,990,1156,942,942,1118,1362,1490,1208,875,764,1052,1366,1432,1312,690,1160,1496,1076,1090,1144,1200,1194,1048,1214,890,622,677,551,900,985,1072,1104,1218,832,491,557,756,997,740,611,1004,1446,1676,1732,1488,1414,1424,1158,1354,1618,1664,1858,1874,1698,1324,1138,1128,815,650,667,678,629,653,1054,1478,1354,1246,1082,967,1378,1466,1042,978,673,865,1042,791,818,653,739,871,474,441,347,325,401,601,1064,1548,1342,1438,1760,1374,1068,1030,796,1078,1130,740,1084,1013,589,648,708,614,550,560,639,549,577,836,793,671,488,377,443,603,856,1062,871,998,1434,1892,2466,1538,828,674,628,443,455,412,761,836,998,1490,1504,1752,1162,789,608,480,656,959,1152,996,799,515,517,591,556,518,842,993,656,974,1608,1376,692,536,735,572,365,498,779,640,915,1348,1296,841,781,458,583,758,610,724,1144,1214,576,482,984,1334,1362,1028,606,428,576,794,1009,952,723,1180,1412,1338,1512,1362,882,681,692,525,409,404,390,386,389,364,429,677,792,661,584,436,386,365,380,388,377,539,989,1232,902,388,591,718,736,527,435,447,513,558,648,719,625,538,479,381,397,524,797,754,664,639,629,563,692,894,752,676,736,845,1005,1316,1340,1482,1592,1470,1148,769,529,758,1188,1534,1650,1244,827,1068,1550,1802,1814,1316,963,691,662,600,457,639,852,869,747,905,976,1024,1136,1188,1396,1346,1202,1372,1310,872,849,673,641,896,802,686,662,665,867,1144,1084,897,819,678,655,1166,1362,1046,1120,794,811,1170,1224,1134,1316,1426,1240,1376,1082,670,855,1310,1032,1228,1366,1138,1060,1017,1110,799,995,1202,1194,919,1482,1880,1722,944,418,354,681,1116,1290,830,584,798,766,987,1182,970,847,866,750,805,965,633,731,960,497,340,260,321,392,504,795,1082,1114,1144,1250,1192,885,1204,1686,1382,1194,1322,1464,1466,1510,1312,1374,1442,1246,1092,982,641,398,427,482,592,554,947,1108,732,592,1180,1544,1390,1384,1332,1160,446,510,949,714,499,1058,1308,1128,1188,1702,2098,1478,1030,1130,849,824,915,1476,1322,980,1036,1015,1252,1488,1384,916,1048,875,559,727,1488,1252,603,839,857,1086,1012,600,267,346,408,386,244,260,312,349,407,472,461,371,330,451,622,702,753,683,773,907,963,628,590,705,547,424,396,357,346,340,318,343,635,1158,1130,1294,1338,977,742,851,1152,1180,1130,1046,1188,1604,1654,1448,2114,2128,1204,1356,1802,1322,702,568,672,849,1050,1402,1440,974,470,584,861,1166,1504,1680,1584,1172,1002,1166,1302,1001,897,1698,1976,1658,904,594,752,1012,885,929,1360,993,726,695,565,769,1164,857,561,386,301,349,425,406,356,473,829,1312,1238,945,1038,1084,800,780,567,446,373,364,593,877,1334,1048,603,645,1003,1134,1320,1228,882,1080,1364,1238,851,720,985,1498,1636,1536,833,521,382,505,991,1648,1470,606,868,933,1164,1104,1272,1164,1206,1292,1162,1034,897,754,844,1168,1160,1022,1210,1162,1196,1262,1440,1062,1188,1072,1180,1430,1098,1016,1308,1254,940,547,990,1030,726,1092,1310,1362,1142,1320,1498,946,486,425,606,1168,970,551,447,464,955,1382,1378,1580,1714,1416,1644,2314,2410,2356,1156,1620,1560,926,714,529,532,625,822,1048,917,636,524,512,465,430,448,561,607,415,366,469,647,736,790,844,844,853,805,771,769,742,879,988,1214,1188,1226,1064,767,692,583,548,668,767,934,810,648,720,1010,1142,811,1036,1534,1390,1176,938,1234,1110,979,751,804,889,870,905,951,1310,1536,1190,786,720,1048,1362,1742,1378,1274,947,800,803,708,461,423,802,758,556,778,1148,1264,1296,1204,1168,904,785,589,505,658,927,1522,1616,1062,975,1240,1432,857,736,778,844,987,1440,1512,1094,958,450,479,832,784,996,735,586,854,1218,1218,826,731,745,1194,1288,1292,1334,1636,1136,561,401,814,1354,1278,1236,1456,1654,1284,1328,1334],[896,830,850,923,742,541,376,423,669,731,845,1176,1372,997,623,759,1042,1394,1606,1564,1206,1158,1130,1244,1136,982,852,853,990,1064,976,1098,1386,1512,1510,965,724,883,1210,1306,1034,752,619,538,524,559,533,338,320,392,623,606,480,415,488,422,618,815,778,778,935,1064,1276,1388,1134,969,1078,934,993,1056,1312,1232,1250,1498,952,531,374,372,350,509,617,781,1028,1008,754,618,722,1014,1504,1812,1408,1364,1554,1498,1450,1442,1188,902,628,548,899,1288,1210,1108,1144,904,505,596,546,924,946,681,632,719,1104,1114,894,934,1200,1038,1486,1502,1130,885,810,578,766,1324,1188,1023,1070,1070,1064,599,572,714,454,369,326,317,329,353,387,408,433,441,409,379,395,494,485,406,351,345,332,366,447,449,343,650,1026,620,549,1114,1490,1172,692,835,1048,1106,1164,1390,1538,1502,1410,1378,1334,1132,1704,1762,1178,962,1286,1222,1168,1376,1670,2062,1838,1534,1106,904,1007,1054,1320,1472,1244,1078,813,955,1598,1734,1646,1668,1764,1472,1436,1204,903,1056,1222,1404,1454,1062,993,1116,1180,1162,883,623,525,468,478,525,610,659,924,1206,1028,612,850,781,683,662,857,1420,1660,1146,531,311,227,267,318,287,409,582,610,700,745,675,631,820,1120,1318,1212,994,529,375,413,581,512,332,347,514,700,634,790,1462,1808,1348,1344,1474,1478,846,629,529,495,526,508,414,1232,2492,2160,1126,1466,1362,1030,1318,1432,1206,918,604,650,861,495,415,827,1288,1068,754,473,644,955,1128,1062,1226,1284,1448,1534,1294,1204,1256,1316,776,858,1002,1350,1334,1294,1486,1218,1008,1122,1300,1494,1522,1400,1798,1768,1338,1394,1078,1036,1078,672,433,348,281,298,365,495,490,378,300,306,399,471,425,904,1932,2730,2798,2712,2470,1846,952,890,1256,1608,1498,1492,1476,1314,1368,1526,1358,1088,681,736,673,527,385,524,1434,1454,784,753,917,935,699,539,436,452,426,392,300,620,1232,1052,1526,1734,1530,1604,1426,957,688,683,571,833,1300,1358,1212,699,402,465,927,1122,852,906,1048,1090,1018,1180,808,1092,1050,838,902,1194,1584,1792,1626,1230,866,1116,1126,614,581,665,664,775,1038,1402,1320,1026,1180,1106,774,458,500,861,1190,1382,1310,1474,1382,1196,1256,1354,1350,1274,1288,1330,1402,1526,1368,1354,1442,1554,1190,811,1013,996,890,862,788,1268,1120,1010,1282,781,591,894,1522,1554,1112,725,633,682,1028,1094,1186,938,900,885,981,1074,1478,1720,1244,918,855,1004,1252,1310,1372,1186,1196,1494,990,621,590,508,483,810,818,814,1044,973,1034,1021,613,633,509,462,466,530,670,890,1058,1272,1308,902,861,1460,1412,1384,1698,1342,792,753,729,596,712,739,768,671,701,667,688,647,835,861,681,594,771,818,788,572,766,1300,1134,567,418,369,396,467,748,885,805,698,495,351,367,450,603,466,364,338,308,338,387,442,478,476,473,414,396,477,439,394,443,479,408,391,382,399,448,395,346,470,497,360,369,315,342,354,372,448,497,384,411,498,559,602,653,650,546,390,407,375,372,407,436,422,443,468,481,585,764,655,563,631,563,744,871,709,608,508,401,347,398,440,449,463,419,550,637,633,608,557,462,431,561,694,579,385,418,445,389,458,515,556,624,622,644,614,485,469,481,630,1122,1298,1272,1013,811,641,463,572,810,843,831,875,879,1003,1162,1380,1472,1454,1400,1418,1478,1498,1458,1408,1432,1472,1720,1780,1230,1190,1180,979,913,1042,1102,1278,1616,1360,921,1264,1414,1178,1310,1056,1002,999,1005,1054,927,912,930,880,764,764,771,762,854,958,914,1014,975,787,984,1054,1054,1166,1488,1674,1618,1416,1348,1338,1084,1210,1140,1100,924,731,588,567,590,717,871,1000,1058,1046,1118,996,1068,991,1021,954,1146,1282,1019,973,942,855,1168,1126,1001,1050,1316,1382,1382,971,752,679,989,1366,1458,1512,1444,1798,2240,2304,2338,2346,2264,1942,1556,1082,1088,1496,2020,1950,1560,1440,996,946,1007,545,414,575,755,913,808,1214,1738,1848,1390,1404,1068,896,1256,1444,1632,1578,1830,1694,1350,1532,1406,1064,1148,1274,1072,751,758,1016,1294,1466,1424,1390,1522,1496,1456,1388,1440,1564,1394,1490,1008,962,1230,1372,1280,1202,1122,1008,755,974,1162,1070,1242,1264,1294,1528,1362,1270,1356,1382,1252,1242,1376,1526,1350,886,599,713,929,1184,1272,1428,1516,1510,1456,1302,1396,1122,805,887,932,658,1136,1106,582,395,598,747,599,634,949,1318,1272,1300,1446,1288,623,318,318,308,332,448,589,734,857,863,783,800,687,537,348,325,356,359,328,329,408,505,508,467,322,262,286,390,458,688,1472,1752,1288,1009,1196,1612,1736,1744,1686,1694,1736,1494,1023,765,764,1010,1094,974,922,1166,1496,1356,1070,930,1076,1138,1015,608,850,1354,1078,711,865,1228,987,1015,1272,949,469,357,561,1106,1634,1620,1236,774,509,426,446,567,718,608,552,905,1426,1578,1510,1374,1328,1148,1180,1296,1284,1140,1224,1644,1982,1560,1082,1148,1014,866,907,895,839,851,1152,1446,1468,1368,1354,1334,1308,1212,1148,867,874,1434,1340,948,989,745,957,796,421,515,424,303,347,395,615,784,882,1238,1556,1208,1524,1210,737,1086,935,890,1892,2118,1316,1148,865,616,588,545,624,529,473,541,644,569,359,354,527,857,1013,1238,1188,1626,1610,951,1260,1674,1284,992,724,455,337,404,666,692,1076,1348,1744,1434,1082,982,998,695,462,816,851,735,916,987,683,683,639,677,1214,1510,1136,1438,2182,1840,976,713,746,674,431,505,1023,1290,1534,1638,1410,1004,698,455,439,600,625,598,926,1166,1030,1350,2018,1936,1726,1372,911,808,854,1088,1528,1362,973,1200,1009,1090,1356,1382,1112,781,661,574,453,377,398,375,380,363,355,442,600,747,753,522,377,379,409,409,374,606,1224,1406,1100,439,512,735,702,475,419,522,589,455,527,626,550,598,581,570,564,474,587,605,615,615,641,644,522,474,470,567,746,1013,1240,1438,1294,1342,1582,1586,1398,1011,661,654,948,1218,780,445,450,800,1144,1260,1050,850,808,717,523,376,344,534,832,716,1015,1194,1032,819,700,901,1250,968,735,1358,1632,821,830,917,969,1122,724,582,692,575,636,813,1060,1116,980,938,1072,1454,1626,1184,1001,770,877,1116,892,1136,1544,1416,1398,1548,1456,1108,1422,1622,1268,1378,1324,1032,839,820,1376,1007,719,897,872,659,995,1266,1032,792,731,821,1526,1800,1526,946,814,1240,855,1184,1456,954,724,830,553,617,694,463,710,838,447,346,320,456,397,491,1001,1296,1268,1254,1380,1360,833,1018,1262,1084,1002,1100,1380,1506,1522,1400,1214,1218,1120,993,940,687,608,487,533,516,467,656,1078,1294,1158,1288,1576,1258,1210,1100,1014,827,997,722,678,615,797,857,913,1294,1786,2388,1838,1790,1736,1374,938,1050,1184,921,830,925,1328,1288,713,817,1228,1716,1052,475,594,1450,1306,551,550,1312,1614,1214,660,256,260,368,408,279,227,271,392,416,383,505,542,372,426,681,781,755,762,788,903,1166,907,564,574,552,423,360,364,402,422,392,406,716,1176,1356,1334,1132,955,728,637,516,624,1154,1498,1710,2194,1964,1648,1546,1156,912,1024,1118,1114,1266,1510,1712,2080,2010,2192,1788,1106,609,1110,1302,1098,1178,1050,1474,1224,740,932,1416,985,659,953,1086,938,737,579,523,581,692,987,1494,1170,721,653,583,597,991,1022,677,418,278,552,1164,1230,800,362,361,541,605,583,701,605,425,460,509,445,342,358,630,778,1532,991,718,566,863,1156,1140,906,404,439,819,1068,672,414,597,1134,1242,1364,875,449,424,971,1262,1726,2456,1224,443,528,1174,1262,1100,1162,1444,1404,944,1058,1584,1290,689,764,1038,1114,1266,1366,1266,1238,1644,1426,1140,893,869,1170,969,989,1452,1226,886,734,744,786,812,1404,1964,1534,993,1276,1656,1360,824,761,994,1190,856,746,738,1009,1252,1024,1122,1506,1354,1330,1782,1832,1838,1920,1224,1162,847,894,872,582,505,450,689,1150,1234,727,684,657,545,475,450,603,529,341,363,487,683,696,746,783,755,727,703,749,719,686,668,782,982,1060,1070,991,998,1021,1092,661,458,516,594,487,415,543,688,705,784,1312,1858,1854,1250,613,964,1228,1484,1330,960,763,814,967,1088,1148,1120,901,702,1134,1410,1368,1066,1108,1360,1052,796,1090,1112,569,357,421,460,511,608,723,913,741,807,943,857,1118,1022,769,533,1046,1260,1058,1088,1034,1354,1460,1426,1082,605,465,500,848,1358,1254,960,581,673,796,601,766,644,308,724,1620,1140,590,583,537,968,1388,1494,1628,1636,987,570,458,769,1172,1124,1154,1416,1294,1054,1126,1328],[2352,4648,1778,1384,1136,562,386,389,699,1022,1120,1514,1732,941,659,829,865,1356,1656,1760,1526,1120,835,911,1148,1086,853,896,730,579,518,662,965,1064,952,908,790,948,1356,1490,1362,948,930,1013,984,893,644,529,610,664,802,672,642,677,696,856,1012,1116,1238,1026,879,694,1200,1592,1007,804,1366,1322,862,926,1044,1015,1306,1148,734,593,414,321,328,617,1007,1360,1334,1184,1108,644,550,907,1796,1962,1284,874,988,982,1522,1596,908,633,593,623,1350,1974,1658,1288,1078,702,602,599,960,1444,1406,1428,1090,812,1162,930,540,771,1064,1098,1760,1522,1338,1444,1182,767,1005,1450,1394,1140,1382,1290,1404,1216,668,353,334,332,306,337,345,375,390,374,398,421,374,363,410,439,393,371,350,397,421,508,898,821,388,422,499,624,1154,1324,858,450,440,498,708,1126,1268,1264,1242,1504,1344,1364,1420,1498,1538,1270,981,918,1068,1128,1412,1428,1516,1560,1780,1532,1126,1178,1184,1204,1420,1312,1134,890,562,575,869,1430,1812,1814,1614,1538,1570,1248,969,974,1066,1256,1360,1076,1290,1434,1068,999,858,599,480,490,468,394,458,461,476,561,694,789,1298,982,1017,1140,1146,1482,1596,967,327,315,291,279,256,288,345,380,484,588,533,426,745,1178,1320,1352,1256,1094,511,274,313,474,525,416,437,655,781,993,1356,1416,1190,1064,1452,1310,1298,1312,1082,611,371,443,449,382,852,1794,1664,1176,1524,1144,969,1002,1178,1056,836,602,860,1116,619,909,1360,1568,1194,640,406,386,673,1068,1456,1426,1048,1148,1416,1428,1210,1064,1186,871,1078,1444,1582,1368,1120,1180,1268,1364,1406,1240,1256,1472,1522,1628,1354,1146,1400,1140,866,957,857,805,410,333,306,357,364,416,383,341,381,453,497,471,625,1348,2438,2652,2686,2798,2026,826,1001,1232,1174,1218,1152,1040,1276,1676,1372,992,1156,849,709,629,733,557,749,1442,1144,611,606,776,845,524,426,395,359,375,385,348,971,1284,918,1488,1748,1682,1718,1656,1034,650,650,467,587,576,717,796,559,407,516,735,694,499,697,753,666,1032,1004,854,1170,1226,1009,883,1250,1758,1858,1514,1196,821,1112,965,640,668,728,676,711,890,1238,1074,715,875,818,745,433,386,930,1410,1508,1202,1370,1682,1482,1258,1384,1280,1096,1166,1438,1454,1444,1604,1436,1526,2106,1606,1134,1498,1384,1072,1046,1056,1500,1182,1144,1232,895,647,994,1424,1324,1020,570,462,514,938,1168,1192,738,972,955,937,1120,1354,1306,1058,1046,987,1158,1386,1400,1356,1210,1268,1316,948,681,666,558,541,1023,1160,1050,1108,1110,1060,1054,927,1208,921,461,487,467,597,722,700,870,955,773,567,562,927,1222,1172,1094,833,734,705,490,543,511,620,739,1112,893,714,863,1138,1086,724,502,479,519,675,555,901,1240,1004,564,414,383,415,416,426,362,377,462,433,381,374,401,455,391,334,302,348,411,456,506,506,494,507,454,382,366,382,369,340,365,347,369,403,396,391,388,317,365,441,369,341,332,351,357,366,365,375,393,462,646,697,545,485,460,447,385,424,411,368,375,378,372,405,487,551,585,758,571,503,487,458,637,661,647,584,493,380,323,358,394,412,432,454,486,477,441,454,453,426,427,517,681,722,473,509,539,462,456,477,536,597,644,662,649,626,505,504,526,690,714,1028,1504,1118,644,760,968,980,891,831,838,1018,1288,963,858,726,798,837,837,794,697,697,791,857,1194,1702,1866,1296,1072,1018,899,932,1076,1100,1250,1550,1484,1134,1154,1454,1144,1402,1224,1108,1022,988,800,912,1028,952,924,718,737,732,730,1050,1212,836,853,862,933,1094,1112,1104,1190,1368,1554,1588,1464,1288,1316,1130,1184,1364,1550,1610,1326,1046,775,634,774,1020,1012,1064,986,1158,1064,1086,1012,1052,999,1076,1062,829,927,973,1334,1824,1616,1344,1242,1266,1262,1108,796,686,890,1332,1338,1062,1276,1404,1532,1848,2176,2310,2564,2888,2490,1368,743,822,1068,1446,1462,1338,1270,1208,1302,961,525,460,689,942,988,912,1062,1200,1028,1224,1378,1068,691,808,1186,1552,1698,1470,1260,1386,1348,927,656,711,886,823,926,1354,1488,1578,1666,1302,1404,1632,1460,1354,1360,1588,1642,1266,1350,1446,1334,1388,1474,1354,1216,1284,1240,995,1058,971,849,1288,1234,1102,1166,1300,1166,1120,1428,1582,1490,1394,1090,849,835,766,940,1044,1086,1294,1274,1024,879,736,822,1126,1094,853,1106,1082,972,1234,1126,782,794,1366,1252,935,1306,1178,1122,1262,1218,1166,1086,630,359,356,340,364,561,907,1042,946,703,512,431,405,411,407,503,567,509,382,269,386,511,425,384,318,346,326,383,541,714,1506,2226,1708,1138,830,1088,1430,1594,1722,1750,1592,1414,1270,973,813,705,769,1036,1122,876,684,1024,1160,1346,1302,1015,975,928,1118,1474,1424,971,566,1030,1472,1290,1178,882,479,337,383,747,1202,1170,825,507,426,371,415,478,515,467,497,984,1396,1434,1312,1316,1058,933,1262,1070,805,602,536,1430,1804,1148,1154,1328,1154,1116,1142,1096,897,761,772,716,912,894,901,976,1146,1282,1212,1046,994,1134,1162,1004,1188,1066,865,801,805,717,499,395,385,351,385,456,358,624,740,959,1324,945,584,568,497,1152,2352,2030,638,624,461,369,421,426,455,451,442,598,937,959,522,413,687,952,1314,1572,1230,1158,918,669,1230,1764,1396,977,1024,1382,623,675,951,641,773,964,861,528,472,699,1146,995,522,860,728,504,732,1011,951,922,1028,780,896,1162,915,865,1214,1154,707,814,1064,1204,630,647,956,1114,1152,865,865,788,585,578,637,592,612,601,969,1158,1692,1838,1658,1366,1274,1354,1226,935,589,651,997,883,1188,1096,779,680,817,967,918,650,423,456,508,386,388,361,393,354,365,365,379,555,658,493,355,362,401,383,364,401,680,745,514,311,454,752,698,433,391,521,636,466,368,413,552,717,907,1080,793,528,578,608,606,590,629,737,543,514,484,452,604,671,934,1034,841,1023,1240,1594,1568,1412,1274,902,850,728,539,444,398,622,910,862,798,1088,1130,764,475,744,777,525,451,435,906,1020,962,1046,670,795,1246,1118,823,891,949,838,844,1074,1142,872,715,929,995,731,497,581,1052,1060,1070,1068,987,1204,1440,1196,798,775,943,916,825,1390,1668,1310,1126,1200,1356,1440,1506,1436,1248,952,861,854,923,929,1588,1268,755,745,976,1200,1036,708,537,1004,1132,677,960,929,796,825,939,1292,907,897,1136,1094,1208,1202,529,504,583,455,403,413,367,303,334,383,412,731,1284,1476,1592,1460,1430,1200,851,1094,1100,1042,902,717,831,1200,1500,1266,954,1078,1188,1042,966,891,886,918,694,472,582,596,588,1046,1156,931,1548,1384,867,613,688,1258,1412,838,683,626,561,678,1144,1318,1626,2374,2084,1676,1578,1374,1010,930,1136,1242,956,810,1250,1046,854,725,914,927,742,702,808,895,747,444,344,448,356,317,273,223,245,300,344,285,235,244,386,395,289,428,623,469,597,952,1078,940,818,752,937,1246,1122,785,580,501,487,364,372,440,459,455,428,661,837,847,691,605,657,594,525,444,553,1018,1672,2118,1946,1588,1222,899,1138,1510,1588,2068,1972,2122,2082,1972,1944,1622,1580,1440,1090,641,1064,1304,798,655,1080,1728,1246,791,945,1180,907,799,956,797,588,496,387,367,343,502,947,1362,1134,758,675,628,857,1282,1048,652,685,430,911,1738,1648,1026,527,454,530,480,423,612,577,375,298,314,393,522,403,837,1150,865,466,425,537,1296,1636,1308,761,392,338,452,515,416,375,364,734,956,721,530,454,756,1938,2060,1082,1404,1082,520,737,1102,1015,936,1146,1278,1118,999,1320,1588,1376,754,612,946,959,1174,1396,1334,1262,1560,1520,1122,1016,854,890,812,871,1108,738,818,999,956,1070,1072,1396,1680,1390,1300,1472,1624,1704,1506,1278,1346,1392,1234,1310,1166,888,901,1230,1246,1626,1420,1414,825,738,797,1150,1290,846,650,896,852,526,554,534,827,1152,839,480,501,675,737,619,538,659,565,363,388,564,700,706,713,692,684,700,730,729,675,728,740,733,945,1036,1042,1023,1018,978,969,855,895,925,822,567,385,369,427,672,649,720,1082,1558,1128,674,901,964,1042,1558,1654,1184,820,1064,1042,1208,1152,1192,896,998,1376,1272,907,1302,1570,1302,933,1013,1036,952,699,635,711,1040,1044,1048,1024,713,935,1007,957,1226,1262,914,697,1050,772,917,1128,1112,1086,1310,1490,1102,555,413,389,460,1288,1704,1212,1024,1434,1522,1366,1290,560,360,741,1742,1012,617,631,519,618,1040,1360,1378,1080,865,745,568,593,551,410,722,830,803,1178,1592,1492],[2396,3674,1688,1182,763,393,788,849,610,976,1186,1500,1686,791,771,1086,1200,1346,1366,1378,1348,915,492,904,1376,868,530,620,440,401,430,528,794,1038,829,590,503,982,1556,1434,1308,778,812,683,698,672,448,338,525,755,644,577,827,933,872,948,837,995,1276,1188,829,598,1112,1560,1015,761,1156,1108,1132,1072,879,1046,1086,680,490,392,356,341,394,481,751,1088,986,1088,1310,838,980,1150,1146,1040,746,537,623,1236,1654,1032,475,508,415,711,1592,1580,1326,1218,990,829,674,645,1082,1170,1080,1120,1016,668,899,1014,614,531,506,764,1214,1286,1178,1244,1330,1428,1258,1372,1332,1164,1344,1440,1722,1478,796,385,362,351,334,326,371,409,370,373,361,336,332,349,399,421,453,441,442,466,494,908,1302,1302,774,457,419,683,1016,791,401,383,424,546,893,1102,1152,1108,1202,1504,1378,1344,1404,1502,1432,1392,1206,1052,1206,1252,1372,1412,1252,1472,1650,1304,807,814,1220,1626,1372,883,844,744,690,460,460,788,1086,1332,1404,1382,1354,1158,827,867,1100,957,1194,816,714,811,717,886,781,573,532,516,475,426,380,384,343,318,387,746,789,866,1198,1142,1007,1140,953,682,405,356,391,426,364,368,423,377,389,499,459,529,938,1126,1250,1186,1208,1082,562,307,289,317,407,414,430,572,871,1448,1700,1312,897,696,680,832,1064,1332,1510,1146,448,452,485,382,388,1070,1294,1023,805,857,995,1007,958,794,838,809,786,556,517,991,1382,1266,788,499,502,419,457,797,1226,1072,630,807,1384,1406,1252,1296,1186,1070,1186,1442,1522,1136,699,795,1178,1542,1262,1050,1272,1316,1426,1338,1290,1284,1282,1302,784,760,918,1030,425,339,447,485,366,328,340,342,391,438,463,476,469,630,1626,2658,2922,2244,1190,479,486,647,859,1050,1278,1570,2052,3178,2256,1054,1156,1100,670,698,1118,850,645,968,814,620,965,1058,797,573,446,482,738,785,866,1002,1458,1544,653,1002,1244,1412,1406,1760,1142,786,820,585,397,429,563,622,549,528,604,668,595,737,1194,918,747,1114,1152,1238,1308,1184,985,866,1366,1808,1874,1484,1032,743,1036,1374,1250,1094,949,846,821,1004,1294,922,613,711,1262,1138,774,905,1150,929,888,993,948,1244,1304,1118,1072,699,489,695,1092,1094,990,1030,1014,1168,1548,1382,1202,1360,1394,1160,807,1034,1466,1232,1202,1410,1324,1120,1236,1444,1306,993,626,481,483,885,1142,971,687,645,683,891,903,869,979,1202,1084,1110,1136,1274,1410,1178,1364,1736,1368,1034,845,597,488,448,959,1128,940,938,882,857,1028,1412,1556,935,539,519,479,755,924,752,747,742,550,746,715,1028,1102,808,868,655,623,547,427,459,503,528,827,1338,1040,589,907,1284,1042,814,638,534,728,854,700,1058,1090,667,514,466,420,446,449,490,442,406,400,407,366,361,352,343,344,316,347,536,669,589,535,557,499,518,521,434,343,354,351,330,311,271,336,487,443,381,342,318,331,395,403,369,411,410,469,468,348,359,416,377,408,394,437,404,380,399,413,485,544,487,403,392,393,392,486,579,591,612,465,427,408,427,451,496,496,469,445,382,353,360,411,445,405,387,390,410,503,533,424,431,444,609,1022,1112,727,634,579,437,390,420,449,428,451,535,507,601,705,616,511,452,414,768,1374,1102,828,945,929,886,838,598,669,1246,1208,713,738,777,785,775,715,723,755,708,697,732,1090,1788,2090,1428,1102,1180,962,907,1044,1062,1148,1288,1830,2136,1230,1478,1378,1614,1352,1162,1134,1036,808,868,1136,1196,1018,877,888,883,861,1168,1013,749,972,1088,1282,1478,1462,1482,1418,1332,1488,1418,1244,1234,1244,1021,1144,1350,1416,1710,1586,1232,684,557,791,925,944,1026,1028,1084,1058,1064,1024,1028,1008,1118,894,819,1094,1198,1592,2778,2614,2082,1890,1598,1218,1072,733,729,1084,1444,1282,948,807,706,1096,1364,1616,1980,2332,2644,2448,1350,736,863,985,1160,991,977,1052,1246,1246,1082,787,697,1062,1322,1262,1120,1134,1132,1124,1324,1256,773,636,943,1096,1246,1322,1190,1234,1020,709,621,709,790,1009,1396,1726,1952,1696,1490,1578,1606,1518,1426,1428,1358,1362,1520,1536,1394,1332,1224,1202,1284,1284,1366,1528,1408,1206,1272,1248,1158,1092,1210,1290,1188,1162,1260,1188,1390,1320,880,607,991,880,906,1007,926,1006,1214,1566,1516,881,590,616,579,607,880,1324,1192,1322,1382,1330,1306,1160,928,1086,1790,1478,1344,1858,1528,1102,1042,1058,1150,1004,615,451,390,412,672,932,1001,923,905,816,733,606,529,536,638,671,479,383,416,338,431,423,385,354,357,465,495,532,533,679,1432,1620,1142,1324,966,822,697,889,1216,1494,1538,1466,1310,1068,735,795,808,922,768,451,406,681,965,1166,1388,1400,1410,1454,1404,1188,1122,1300,696,730,1098,1214,1132,890,568,348,361,477,586,456,439,412,392,388,392,430,503,451,691,1224,1484,1468,1310,1118,781,742,838,868,888,819,808,1824,1606,639,843,866,617,637,601,491,337,278,315,345,399,376,341,379,484,552,621,772,604,459,358,430,602,559,666,843,808,878,924,774,750,559,539,581,385,457,547,459,583,589,519,576,589,892,1124,750,389,478,621,595,780,675,411,446,376,444,727,858,769,985,987,688,1376,1842,1318,857,610,554,910,1320,1210,1064,828,1684,1118,1198,1066,628,988,907,711,678,586,564,933,1462,875,755,538,352,463,552,486,664,814,843,910,678,449,391,638,609,592,1004,1036,1074,712,828,762,787,937,602,749,1021,1090,884,914,776,602,794,1510,1544,1560,1454,1168,907,688,787,1058,825,355,392,500,722,1086,939,827,765,642,566,637,558,416,568,707,493,390,388,390,396,429,380,335,392,437,396,349,354,412,460,457,454,403,373,376,377,564,739,568,385,364,415,500,495,441,505,592,648,879,847,585,551,597,596,615,589,546,628,564,494,484,424,418,416,511,637,1248,1970,1368,1740,1708,1576,1556,1154,1180,1102,747,493,444,432,487,690,883,1076,912,807,698,1414,1518,958,698,603,490,566,1040,1144,756,1052,1136,965,1186,1120,1010,1162,962,860,1004,979,807,961,978,890,641,717,868,1294,1862,1396,739,734,880,1148,992,933,1005,1100,981,1188,1476,1472,1300,1428,1450,1142,1062,805,679,1054,1114,933,847,794,1102,1156,1226,890,1042,1424,844,536,800,1376,1130,836,1154,1042,915,933,1015,919,570,415,987,1846,1488,1122,605,582,609,483,625,858,720,591,617,579,767,1192,1428,1504,1600,1366,1312,957,780,1050,1222,1268,1064,767,656,1120,1484,1356,962,1076,1128,886,1026,1120,955,764,470,367,624,1050,815,784,1182,973,1056,954,717,569,523,1218,1402,570,515,502,408,655,1658,1698,1498,1534,1382,1378,1410,1080,1182,1586,1570,1062,714,808,1146,706,847,928,894,671,714,823,742,688,746,543,263,278,282,274,238,269,289,279,290,292,247,214,263,343,296,347,560,486,605,1004,1124,974,959,1019,1114,1290,1262,1023,672,541,509,390,378,427,437,430,440,573,597,688,881,642,513,517,610,536,448,627,1414,1672,1428,1446,1198,1150,1908,2210,1682,2042,1738,1800,1660,1310,1080,1178,1246,1130,1019,663,763,1534,1166,1100,1570,1572,1254,989,902,985,992,1446,1798,910,419,375,397,412,359,320,449,786,1050,919,1030,1078,674,852,810,669,979,733,613,1016,885,779,673,590,739,710,576,666,757,719,379,429,626,949,672,635,953,711,509,454,580,1064,1296,1088,620,361,305,511,721,562,424,631,945,996,849,637,564,631,1224,2460,1176,458,620,980,1330,1088,919,942,817,918,1204,1262,1314,914,1444,1622,983,807,945,1020,1118,1190,1174,1224,1166,884,1552,1368,762,551,572,976,1018,1086,1052,978,963,1144,1306,1640,1632,1250,1366,1520,1416,1662,1592,1346,1404,1414,1344,1296,836,750,1172,1042,1394,991,1216,794,485,634,959,783,605,797,863,543,475,551,667,827,752,490,398,401,491,618,667,786,700,333,307,343,486,634,695,706,676,660,680,698,686,598,647,987,1102,1074,1100,1062,1013,1034,916,836,844,894,977,985,705,356,357,502,693,681,570,565,768,702,613,855,984,828,1392,1828,1326,1176,1214,1152,1198,1306,1326,797,575,793,949,987,1228,1238,1252,1108,883,1226,1544,1376,1230,1146,1116,788,556,576,519,648,849,720,936,1230,1102,1190,888,701,1070,896,452,800,1470,1514,1198,732,416,357,539,1466,1872,1242,956,1980,2784,2178,1292,514,648,771,1350,1446,1282,982,648,493,880,1324,1206,963,987,945,853,690,481,314,378,421,512,1224,1766,1488],[1022,1196,993,676,491,362,823,992,851,1244,1434,1378,1346,1006,1014,1056,1072,1056,1048,1232,1478,1258,793,1194,1678,918,621,567,484,441,438,486,791,1038,833,623,531,628,994,1222,1002,695,1164,1152,582,267,276,247,286,390,493,584,622,645,719,813,837,1240,1248,1462,1132,673,1162,1648,1532,1236,753,855,1268,1092,764,731,669,808,664,370,367,367,348,344,489,744,1108,1672,1836,1412,1718,1436,939,680,435,418,691,1122,987,511,452,527,553,1250,1782,1476,1306,1230,990,687,640,915,1068,696,886,1300,955,661,603,670,466,494,437,543,1112,1356,1194,1042,806,896,1418,1490,1428,1538,1400,1528,1736,1382,668,398,378,357,356,356,357,364,373,361,329,320,359,466,492,476,470,454,487,483,766,1344,1366,2348,1444,529,506,443,551,519,401,422,725,1036,990,859,1094,1166,1424,1566,1314,1158,1306,1500,1398,1164,1098,1220,1328,1318,1166,1368,942,735,1074,989,551,937,1566,1566,1392,1015,665,636,645,377,447,697,777,833,1012,1108,1216,1088,865,958,1324,1492,1306,709,476,488,818,1164,891,634,589,603,455,428,412,347,361,372,391,414,571,865,1120,1002,763,585,418,358,369,438,734,773,606,610,516,477,652,742,669,742,819,1162,1172,874,969,917,559,455,387,351,442,447,422,393,561,861,1078,1002,943,1082,1246,1070,991,1310,1514,1076,511,522,526,466,467,940,1366,1532,1210,930,944,1086,1144,860,1001,1448,1240,693,420,547,767,710,422,625,1034,735,469,547,875,786,771,1262,1548,1476,1450,1424,1392,1360,1370,1394,1112,1174,1068,822,1116,1584,1256,899,993,1400,1486,1082,1078,1102,960,1286,746,665,957,677,382,405,890,1146,692,301,376,382,389,461,555,628,483,358,876,1804,1456,560,339,290,342,788,1580,1428,1738,1880,1868,3430,3718,1930,1050,1019,767,723,838,623,551,1160,1512,1310,1202,1096,1028,901,1028,1482,1802,1466,1444,1614,1372,1388,847,659,1104,1894,2222,2060,1396,1004,906,664,429,655,614,396,417,532,941,1046,753,769,942,930,954,918,993,1276,1260,894,688,821,1368,1760,1832,1472,864,896,1694,1984,1620,1252,1176,1130,1136,1182,1424,1034,750,859,1124,1094,1048,1268,1162,896,854,1062,1112,1194,1152,844,586,458,483,623,749,913,930,886,1318,1042,1378,1170,825,1040,1078,1104,1028,1378,1554,1314,1314,1678,1562,1470,1492,1416,1124,860,573,435,467,737,1046,1106,1084,797,572,730,761,944,1188,1316,1224,1516,1578,1310,1434,1394,1490,1566,1096,898,885,701,623,709,957,816,854,1030,1026,1050,1198,1638,1214,575,508,472,440,763,883,734,827,810,839,954,681,841,985,1128,978,558,559,410,397,395,479,579,600,850,877,636,842,1246,1470,1412,955,694,921,950,925,1196,1046,611,440,448,526,549,573,513,463,407,403,393,402,419,404,446,444,356,394,637,730,611,492,544,498,456,486,477,415,489,549,444,420,368,308,339,354,465,465,456,422,402,388,538,658,479,481,384,351,442,480,379,317,361,421,441,457,448,425,511,632,508,424,478,476,440,477,500,633,651,507,430,399,407,440,474,458,437,404,388,418,423,447,458,407,363,363,529,933,1013,642,483,588,858,1186,1010,620,491,412,352,360,371,372,360,357,384,388,457,481,530,689,628,478,536,694,868,1009,931,967,821,540,518,699,740,685,706,770,777,760,734,742,717,744,700,684,722,1232,1800,2024,1542,1114,1076,886,926,1220,1218,1242,1822,2400,2448,1470,1506,1444,1506,1350,1144,1174,1066,954,1178,1312,1382,1390,1290,1186,1278,1304,1396,1068,797,976,1094,1456,1568,1546,1652,1656,1528,1668,1328,998,920,846,731,1258,1626,1058,1256,1294,928,599,928,1262,1200,1062,952,1038,1284,1426,1076,1019,1042,980,1088,769,785,1166,1348,1398,2320,2972,2480,2210,1970,1638,1432,958,758,1462,1522,1102,931,697,655,1334,1810,1738,1788,1936,1730,1284,821,772,880,1072,1202,777,463,949,1462,1534,1530,1000,1062,1444,1482,1268,1268,1284,1188,1158,1318,1126,802,1030,1172,871,923,1326,1230,796,572,705,774,800,944,1208,1386,1346,1320,1480,1510,1466,1588,1488,1368,1198,1238,1242,1278,1464,1484,1310,1170,1208,1350,1300,1478,1516,1506,1284,1050,1130,1182,1024,946,1118,984,1048,1278,1576,1366,844,577,792,1292,1068,898,1104,1162,1362,1786,1936,1292,760,565,462,389,524,926,1352,1444,1312,1100,980,1009,697,536,978,1474,1238,1144,1264,1020,872,647,651,893,1008,897,633,594,895,1294,777,619,797,1034,1082,940,776,630,634,735,568,369,406,474,350,470,575,727,702,561,513,549,613,674,641,1024,1412,1342,1236,1106,939,868,752,809,1414,2176,1958,1644,1206,769,1000,949,841,439,332,554,900,1060,1200,1084,952,1306,1418,1166,941,697,869,890,621,310,532,546,386,311,325,400,537,555,383,408,408,394,380,379,417,444,493,912,1346,1520,1362,1346,922,912,897,924,1050,1134,1144,1004,1118,1166,805,556,475,430,434,499,576,560,498,438,407,404,430,391,289,349,397,383,443,625,645,458,365,373,306,300,334,365,414,408,541,636,731,1026,907,730,723,752,505,294,517,734,655,581,344,202,263,266,660,929,778,916,898,475,442,416,484,558,906,1500,1466,1094,637,708,769,630,741,826,679,611,701,1132,1204,941,944,811,1128,1021,1340,1682,1324,1272,968,1368,791,615,906,883,836,573,744,922,491,612,1136,1328,913,841,766,633,468,590,603,825,1168,1282,932,547,694,620,574,952,702,832,1062,876,706,875,1108,741,466,1072,1394,1054,965,1134,836,656,483,691,886,583,482,554,1001,1032,866,1094,1390,847,520,425,480,473,707,895,622,438,408,367,377,368,350,364,502,490,431,379,343,361,440,488,578,666,694,576,523,816,840,477,370,383,378,474,519,514,545,469,444,460,452,521,560,550,616,570,496,463,497,530,504,449,452,519,458,450,688,1184,1440,1488,1688,1362,1434,1406,1238,1530,1544,994,618,476,393,391,491,601,560,543,598,904,1560,1598,1224,1126,1138,889,591,448,449,588,762,688,728,1092,1208,1170,1188,1074,857,900,896,644,829,1222,1194,1072,1544,1406,1152,1324,1228,1238,1260,1258,1680,1428,1162,738,872,888,1220,1660,1824,1654,1270,890,801,891,572,518,1212,1440,1122,962,1202,1282,1498,1858,1264,786,810,680,877,1012,1094,735,791,884,860,966,1080,1070,751,666,528,841,1032,807,898,615,746,985,833,930,1054,843,784,922,703,748,770,894,1162,1326,1228,1222,1056,1094,1238,1030,823,883,898,592,859,1206,1186,890,867,772,824,1030,1274,1674,1144,666,466,446,731,752,580,1110,1356,1430,1316,1064,894,724,836,816,661,883,645,365,478,1078,1212,1116,1182,1280,1498,1246,973,1492,1566,1336,750,1028,1288,1252,839,791,949,891,727,593,525,447,453,631,470,258,267,270,283,271,291,301,253,285,313,257,229,332,412,336,300,352,415,448,735,980,832,868,1172,1138,1236,1276,1122,901,838,647,418,377,411,483,540,466,462,464,728,876,518,515,795,736,636,646,1004,1310,888,780,1046,1242,1498,1694,1728,1372,1348,1136,1098,1046,866,692,905,1294,1200,988,785,849,1686,1212,1090,1068,914,799,621,756,1128,1190,1626,1944,1092,454,410,443,372,287,325,544,1122,1494,1028,891,1376,1230,546,570,1009,1522,1370,744,688,902,828,630,710,896,1360,1086,605,834,922,719,713,740,785,647,1086,1352,747,504,360,324,491,1000,924,604,344,294,352,548,569,703,1200,1270,1178,830,788,794,836,907,1094,751,751,970,1290,1304,945,944,971,784,726,1216,1352,1124,1015,1440,1562,1276,1304,1292,1232,1220,1250,1150,1126,1054,1036,1794,1414,912,716,824,1030,1072,1194,1194,1326,1302,1338,1258,1488,1410,1158,1328,1378,1198,1504,1776,1746,1716,1368,1320,1412,1082,654,561,724,1592,1262,1009,943,575,662,889,589,917,2080,1180,666,648,572,901,942,658,484,446,458,548,633,655,946,585,371,315,315,348,464,535,548,578,670,697,687,714,706,675,1034,1094,1013,1038,1028,1036,979,884,872,871,798,822,788,412,286,361,546,607,600,570,550,546,585,609,753,965,647,1076,1312,1116,1332,1904,1972,1520,1794,1494,683,822,904,1078,1250,1146,1250,1316,1352,1450,1708,1558,1294,1252,1094,943,588,506,697,497,545,724,714,866,1370,1264,929,756,769,808,750,597,932,1522,1562,1098,1048,929,704,808,1148,1340,1300,1050,1042,1388,1470,792,550,923,984,1172,1744,1910,1372,767,957,1558,1480,1354,1178,1164,1180,964,772,608,388,313,305,337,476,700,1130],[596,794,849,1070,1046,929,995,998,1124,1514,1348,1238,1162,833,833,798,872,1054,988,1019,1310,1298,830,1096,1416,870,630,543,530,430,375,473,745,1040,792,499,403,463,538,576,771,684,809,769,586,468,284,295,361,692,1054,1096,493,389,560,754,758,861,1344,2108,1498,683,1262,1600,1600,1520,952,880,1021,1034,1058,991,1118,1468,976,495,370,355,323,398,861,1284,1740,1656,1606,1628,1710,1742,1694,919,530,951,1510,1426,1076,643,586,561,588,1260,1412,1066,1072,1306,1346,1038,597,886,1042,621,1070,1570,1462,927,491,363,412,547,445,704,1038,1114,1202,1154,1074,825,1110,1382,1182,1126,1362,1518,1534,1260,712,507,425,364,380,337,319,313,377,366,341,419,492,479,444,469,449,506,661,765,1166,1240,1596,1868,1098,901,901,476,695,572,658,1044,1276,1032,816,949,1001,1172,1504,1572,1366,1476,1418,1412,1432,1350,1312,1356,1412,1274,1276,1152,636,454,460,438,626,1504,1826,1754,1594,1054,663,624,463,471,690,956,919,720,833,849,1021,1009,1064,1090,1240,1278,1023,766,575,532,681,813,631,623,1214,939,534,419,401,449,440,390,355,365,446,562,796,707,677,679,550,421,374,374,714,832,732,732,498,710,1358,1256,1122,911,991,1224,1182,886,878,952,615,625,534,510,467,427,523,499,599,712,530,928,1326,1366,1630,1266,650,794,850,966,853,726,676,510,539,719,932,1070,1144,1400,1324,1384,935,669,727,957,763,419,343,358,532,598,365,583,1124,846,713,700,880,969,1068,1252,1418,1376,1354,1594,1548,1406,1430,1328,1132,1240,1200,1198,1400,1264,860,711,833,938,1017,857,732,1028,964,1078,611,912,1342,936,501,558,954,1364,1050,412,448,429,469,633,728,714,542,417,507,666,458,363,370,357,392,1040,2766,2090,1858,1868,1784,2264,2544,1550,1004,1042,1130,766,809,1180,841,1232,1286,897,1001,1118,1186,1230,1730,2308,2304,1962,1860,1358,1466,1566,1094,753,1012,1650,2060,1780,1314,1013,888,603,736,1084,761,393,352,761,1232,1206,871,833,973,826,675,747,1086,1328,1304,1118,723,811,1380,1782,1696,1350,933,1122,1838,1634,1302,1436,1418,1268,1418,1262,968,1030,1198,1164,975,772,631,650,652,916,612,550,977,1110,943,919,766,878,1138,924,733,1176,1404,1242,1528,888,772,514,474,645,946,1011,1284,1650,1594,1348,1354,1774,1522,1222,1204,940,837,883,674,494,470,637,934,917,1026,885,644,1056,1128,1114,908,934,1214,1384,1222,1294,1306,968,1160,1368,1136,904,850,1009,1092,1078,1100,838,808,946,1164,981,779,1208,991,605,517,475,449,662,796,922,1086,1084,1340,1444,868,589,664,1194,995,660,551,401,401,468,828,1108,1006,954,674,591,1023,1230,1518,1634,1126,840,978,1178,1350,1336,988,664,595,498,466,466,559,569,588,565,518,420,417,402,409,420,398,367,497,643,636,577,482,440,428,437,482,529,567,644,753,661,583,502,390,363,389,488,511,480,441,420,426,531,544,472,495,413,555,794,738,543,389,388,445,534,584,580,458,543,669,556,424,396,394,406,432,433,570,669,608,451,401,379,386,465,475,427,404,406,426,391,365,385,368,344,353,591,1140,1196,686,469,702,1214,1468,987,477,379,346,329,381,385,363,346,325,337,364,374,342,394,563,558,475,747,1050,910,882,680,818,718,664,785,825,857,927,918,795,749,865,912,902,810,799,860,883,800,1138,1396,1606,1406,1036,1138,1056,989,1208,1218,1382,2592,2518,1614,1344,1560,1416,1516,1376,1188,1196,1150,1106,1390,1206,1200,1484,1594,1734,1762,1642,1514,1172,963,1124,1214,1398,1568,1590,1494,1244,1234,1108,897,882,848,822,916,995,1198,1007,1370,1600,1240,1084,1226,1466,1390,1284,1316,1314,1658,1904,1542,1500,1338,1260,984,719,886,1200,1354,1826,2734,2610,2012,2216,2260,2142,2158,1402,1198,1572,1410,1214,1048,648,963,1936,2126,1376,1264,1404,1424,1144,1005,996,983,1090,883,488,512,988,1450,1472,1188,874,1300,1532,1306,1206,1276,1300,1188,1304,1560,1206,1034,1214,779,818,1156,959,605,594,702,664,846,1110,1112,1170,1340,1360,1382,1460,1390,1272,1378,1638,1562,1186,1078,1160,1392,1484,1136,1132,1310,1162,1172,1322,1476,1380,1300,1012,606,549,947,1088,926,1304,1180,1488,1590,1021,675,753,1060,1422,1478,1050,799,1040,1100,1260,1654,1616,955,681,604,507,514,762,853,941,1266,1060,813,584,487,444,404,668,904,691,826,975,988,1046,731,853,638,677,1000,1154,1116,1292,893,377,453,840,1258,1426,1224,788,647,1023,771,609,436,442,493,350,381,469,626,808,834,503,370,514,784,506,658,1354,1376,1572,1426,866,757,934,896,1168,1644,2172,2028,1332,1116,1324,1124,593,371,383,558,952,1306,1204,933,940,1040,1150,906,843,678,392,595,794,622,356,306,316,294,279,325,374,377,371,447,458,398,400,426,456,408,623,1238,1490,1548,1606,1294,1124,1376,1450,1312,1238,1302,1210,841,745,676,590,525,683,603,619,683,657,670,532,469,419,381,528,403,271,334,333,366,385,686,912,645,456,408,384,380,413,343,288,398,357,257,413,530,768,1005,1172,1230,800,362,567,925,1114,883,469,324,369,322,411,619,836,1246,1098,1001,667,442,494,633,1302,1738,1280,945,820,633,389,424,714,834,747,957,929,1082,1146,984,1100,904,743,1090,1386,1122,1138,1440,652,724,730,639,661,766,799,622,1286,1718,669,660,971,1498,1294,558,583,724,508,461,466,582,813,832,476,341,417,576,554,909,814,709,712,608,521,856,1018,525,377,779,1076,1214,1362,1264,866,815,774,693,822,768,607,835,1086,981,1144,1228,1360,724,508,469,699,659,846,919,600,466,434,374,383,368,416,433,592,559,504,425,393,420,504,520,571,735,825,731,711,878,899,565,422,406,413,520,530,532,492,391,346,394,492,519,571,581,517,455,453,450,468,496,562,664,570,582,468,585,1242,1572,1932,1698,1480,1398,1472,1420,1322,1348,1266,1272,976,579,550,448,520,631,443,565,984,1124,1224,1386,1116,838,1004,1186,709,400,404,475,498,583,791,872,913,929,847,984,1228,1160,799,552,781,1100,960,1334,1908,1352,821,915,1188,1148,1266,1304,1508,1360,900,650,931,981,1270,1648,1468,1144,924,699,916,1448,1030,579,916,1084,929,865,1108,1260,1262,1544,1368,1196,989,948,1180,954,615,480,613,770,983,1246,1300,1140,892,692,542,563,586,905,999,666,710,714,412,409,483,613,874,584,466,574,504,467,612,890,954,1024,1062,1214,1260,957,558,594,983,667,664,841,714,688,753,674,709,744,1094,1962,1710,1178,868,621,650,747,491,792,1362,1692,1802,1570,1080,992,772,802,658,939,755,568,731,959,1100,1464,1682,1588,1518,1308,1100,1366,1834,1542,946,1268,1334,1088,946,1030,976,764,700,509,426,390,437,395,280,254,241,270,298,373,528,524,260,283,318,272,243,316,381,362,326,331,388,386,437,461,368,422,645,769,957,1140,1128,1056,1026,725,416,376,374,507,635,428,410,487,650,602,564,559,708,726,680,1084,1686,1474,681,576,657,1158,1340,1282,1242,1312,1656,1378,1018,1116,1160,916,780,1134,1510,1222,999,871,1021,854,665,661,656,670,811,960,1116,1110,1284,1644,1428,667,347,299,308,285,318,491,821,873,472,537,963,1598,1100,1052,1458,1694,1514,976,855,962,845,655,1094,1226,1312,924,779,814,1028,1032,700,487,451,671,1504,1476,770,472,352,338,341,847,1204,900,555,487,354,606,927,999,1268,1394,1738,1086,879,892,899,940,767,971,1582,1664,1664,964,589,789,981,996,687,795,1040,1294,1178,969,1058,1238,1276,1174,1198,1074,1220,1098,1082,1240,2050,2544,1704,1156,902,633,766,919,1172,1222,1218,1164,1358,1324,1346,1246,1268,1300,1286,1188,1174,1466,1782,1728,1478,1324,1474,1462,1050,725,846,1434,1228,1120,1246,948,739,570,371,825,1704,822,483,428,557,967,960,746,573,505,611,570,617,695,857,515,556,627,583,460,392,393,351,365,458,550,631,727,792,883,1158,1060,1034,1068,1072,1010,924,911,959,869,771,899,864,432,247,368,526,568,596,590,560,584,619,600,639,862,708,706,944,1290,1664,1902,1430,1214,1362,1152,869,938,895,1480,1272,1034,1316,1416,1270,1256,1376,1274,1024,1224,1054,974,908,932,911,951,1092,1078,780,853,1236,1120,933,863,806,525,573,875,1044,1290,1268,1322,1710,1708,1626,1526,1442,1216,877,844,806,723,1038,623,386,619,642,761,975,890,674,631,1322,1854,1804,1494,1194,1092,884,604,602,574,484,446,367,336,392,495,938],[507,542,609,894,1352,1202,1212,1170,1294,1340,1020,1090,1032,807,880,1015,852,830,963,929,774,817,985,1094,977,612,454,509,610,603,469,569,1001,1178,989,585,528,853,922,1238,1302,983,1084,1208,1152,745,331,318,374,718,969,765,483,432,422,560,669,608,1274,2382,1680,651,978,790,739,802,954,914,982,1158,1264,1242,1724,2088,1216,661,403,360,388,1104,1906,1506,1146,1024,1236,1622,1470,1548,1864,1288,938,924,874,576,832,862,608,499,464,658,1066,1362,1450,1452,1430,1222,703,714,858,764,1296,1154,775,645,452,419,456,466,455,871,872,647,708,814,778,935,1172,1122,828,576,766,1078,1334,1338,1202,960,957,896,664,433,355,372,341,327,383,422,401,379,429,491,531,648,825,1184,1224,1636,2110,948,816,1382,888,837,1288,1068,1166,1122,804,873,1202,1040,973,1372,1298,1250,1404,1552,1398,1338,1286,1498,1354,1466,1502,1278,1250,901,443,452,659,677,936,1400,1604,1704,1532,1288,1388,1100,791,1046,1128,1254,976,767,781,883,1104,998,920,1062,1192,844,607,624,579,521,411,422,493,623,1202,858,472,383,326,435,499,385,285,335,675,741,678,734,663,749,616,431,390,347,456,629,737,633,776,812,1344,1588,1350,1152,1252,1040,786,836,929,832,712,1023,980,628,510,562,506,445,501,577,738,1242,1576,1676,1714,986,452,512,1058,1628,1082,594,499,435,692,887,767,806,1232,1954,1630,1192,790,583,525,922,802,364,360,523,984,890,709,487,705,927,1212,1188,1144,1250,1228,1226,1410,1532,1670,1614,1494,1302,1066,1196,1140,1004,1017,1304,1500,935,433,792,1062,616,605,601,714,1380,1718,1448,823,1042,1524,1056,434,535,951,1400,1300,561,513,566,661,756,744,755,538,481,748,612,340,346,312,333,349,409,729,1322,1788,1868,1792,1754,1274,837,1106,1124,1068,774,911,1130,971,1017,1124,1072,1007,1114,1334,1498,1776,1792,1832,1786,1516,1021,1490,1602,1023,668,626,843,1418,1570,1182,999,1120,865,802,627,418,347,469,849,952,819,849,1152,933,652,612,1032,1184,1176,1594,1476,814,811,1406,1832,1704,1448,1328,1334,1800,1442,1420,1030,1021,999,1380,1516,1188,1036,1124,1198,1009,715,488,767,952,961,838,711,981,1017,1128,1290,1086,1234,1556,1076,813,1188,1198,1290,1492,975,905,1011,859,899,968,779,942,1344,1606,1492,1428,1814,1802,1376,1152,1242,1320,1284,1098,628,578,748,1120,1058,1234,1082,870,1246,1394,1332,1216,1110,1296,1394,1011,1354,1152,722,747,1004,847,811,897,828,858,1018,1034,985,720,675,1022,1023,946,1182,1002,609,559,492,478,647,829,1005,904,934,945,977,1036,1322,1290,1170,1336,1024,519,459,424,542,1046,1382,1418,1312,767,654,985,1444,1708,1766,1420,963,814,1058,1352,1336,879,677,576,520,502,498,532,540,544,618,631,603,526,463,499,433,407,466,648,805,691,520,422,390,394,458,519,517,519,518,508,519,532,474,405,403,405,449,460,442,429,416,431,433,412,526,705,617,711,775,742,567,389,418,455,484,487,509,505,667,783,705,523,406,358,331,363,447,499,553,630,637,572,493,434,446,434,459,482,488,479,450,435,478,475,411,394,713,1150,1028,597,570,885,1388,1560,1024,529,543,503,360,330,364,354,331,320,320,339,338,322,345,405,484,763,973,786,662,1020,772,703,714,722,792,897,1042,1042,865,719,913,980,884,811,843,942,1021,980,907,1110,1468,1534,1266,1144,1194,1028,998,1234,1344,1402,1914,2010,1394,1236,1482,1282,1630,1456,1208,1164,1206,1130,999,894,987,1220,1480,1436,1152,1120,1146,816,872,1058,1236,958,890,949,858,714,720,660,692,799,828,836,1216,711,596,807,1262,1650,1316,1046,1416,1400,1004,1166,1264,1274,1802,1984,2108,2248,2214,1802,1058,759,1004,1212,1400,2098,2780,2280,1888,1640,1638,2044,2066,1390,1328,1576,1538,1572,1134,725,1406,2084,1714,1260,1404,1438,1394,1412,1606,1454,1202,1188,850,444,525,731,1108,1182,786,1052,1422,1416,1282,1220,1224,1268,1260,1500,1722,1050,1106,1134,867,1166,921,599,664,780,727,780,1060,1144,1160,1330,1578,1428,1588,1440,1074,1186,1384,1270,1007,901,1015,1100,1256,1364,1450,1354,1392,1362,1250,1310,1266,1212,1316,1198,816,608,747,990,800,1396,1714,1470,1344,938,639,652,727,778,780,640,841,1318,1528,1210,955,897,990,901,921,1030,901,697,706,620,751,808,953,722,436,383,339,382,449,509,893,1200,1188,1062,899,1009,827,764,633,883,1316,1108,645,684,749,935,1122,1262,1052,676,1262,1122,705,691,662,941,1011,727,400,292,370,456,590,435,298,316,382,294,395,982,1278,1376,1372,870,517,592,960,1013,897,1016,1160,1204,1490,1628,1102,714,614,374,590,1082,1302,1284,1332,1304,1252,1112,919,813,573,348,343,509,642,356,337,294,271,307,339,354,361,398,477,491,463,453,482,509,498,981,1364,1542,1580,1820,1320,1088,1584,1576,1182,1266,1336,1224,1112,1096,695,515,831,886,667,679,557,687,1088,591,440,500,523,1030,720,366,315,304,324,308,680,1090,697,680,680,536,414,610,528,357,391,361,337,343,370,359,401,709,1004,946,610,566,589,985,1146,645,336,330,347,680,1064,900,995,1120,1772,1444,738,442,664,1330,1830,1430,697,543,741,942,823,879,1060,899,638,520,813,837,793,773,573,529,731,738,988,1412,1250,848,1046,835,478,507,551,722,856,1280,1022,578,755,974,818,679,392,636,637,616,894,662,360,411,447,358,380,442,506,531,695,810,582,537,643,512,530,559,609,967,1096,948,1406,1560,1174,775,700,814,823,901,803,1046,1070,869,838,997,906,717,459,348,634,894,777,923,993,687,439,467,467,461,479,449,380,392,466,574,559,418,376,397,413,583,678,749,686,703,807,810,649,487,407,501,574,521,500,422,379,362,381,417,483,556,505,444,460,464,452,473,521,596,936,940,623,442,605,905,855,1242,1526,1550,1538,1560,1650,1360,1202,1100,1480,1482,922,631,436,667,881,650,865,1252,973,1098,1248,1146,879,776,767,576,600,557,714,956,801,612,680,745,735,642,761,965,1038,1013,709,628,623,562,925,1312,1156,1132,1116,1088,1208,1316,1224,1130,1302,1122,752,846,1028,988,935,1100,647,769,1118,925,1312,1021,597,682,792,973,1136,1504,1314,1016,919,971,1014,986,755,688,592,457,483,643,825,901,1023,1128,970,930,866,780,775,793,711,637,655,696,529,449,426,377,442,814,675,619,572,555,494,595,745,572,490,419,871,1258,1180,954,1084,1202,716,628,796,672,773,815,650,569,586,860,1278,1054,978,1212,1126,998,866,646,822,1220,1566,1354,901,868,1270,788,638,489,493,542,564,871,1278,1472,1860,1728,1252,1448,1542,970,1118,1582,1170,747,1015,1190,985,824,946,883,686,851,878,672,485,597,439,264,250,240,252,282,367,510,504,273,240,242,232,207,225,326,404,382,342,377,415,385,331,331,328,365,612,766,887,984,965,907,770,506,353,331,361,348,315,392,508,711,968,904,615,642,805,838,976,1196,1238,902,1058,1622,1548,875,871,1082,1252,1412,1288,1362,1610,1650,1304,865,872,1078,1044,1092,943,764,674,487,462,628,898,1104,999,886,945,1060,1032,986,728,472,590,583,278,310,328,414,548,703,883,1210,1530,1116,1388,2176,2098,1310,1070,1278,854,724,874,1096,942,876,941,793,810,1028,1030,910,559,364,383,609,551,695,1044,661,359,313,421,768,998,1130,859,559,1268,1950,1158,826,1412,1722,844,363,427,596,1070,1394,1748,2012,1610,1682,1238,629,585,1003,980,717,976,1226,1198,1050,985,942,948,1278,1226,1102,902,1032,850,685,1080,1664,1572,992,683,521,437,803,997,890,867,805,667,891,1206,1278,1272,1298,1240,1252,1196,1162,1296,1754,1554,1234,1112,1548,1384,1054,902,910,922,687,708,1020,862,682,464,326,294,285,385,360,336,823,1240,817,701,634,451,470,551,778,758,749,817,906,880,700,502,559,534,387,334,352,365,377,508,668,753,599,606,828,999,1088,1018,988,990,1013,836,789,1068,929,546,413,473,562,559,572,607,599,612,624,625,603,771,779,594,925,1116,1138,1052,744,907,985,963,1130,1188,1206,1518,1306,1250,1344,1322,1120,1062,1076,1214,1116,1330,1160,1222,1286,1216,1128,1274,1282,941,716,913,994,1004,915,1136,896,586,912,1130,915,922,1170,1542,1642,1716,1714,1050,865,1122,868,871,675,699,908,702,846,1018,907,1098,1176,1058,1114,902,1322,1582,1628,1482,1344,1128,801,605,593,589,539,511,461,472,512,513,909],[500,603,890,1206,1278,1098,1242,1246,1552,1522,1204,1140,1150,1310,1132,1158,922,792,1228,1384,1352,1266,1076,891,644,398,437,506,592,801,902,816,1300,1364,1462,1086,1126,1274,1372,1906,1688,1212,1284,1098,923,521,342,320,327,377,411,366,422,411,360,413,470,315,504,1011,767,775,1042,728,470,915,1482,1320,1424,1610,1200,1244,1416,1340,897,724,450,373,332,1224,1842,1124,647,752,1444,2084,1628,1376,1698,1948,1180,572,488,526,922,1108,786,650,656,636,915,1254,1176,1184,1194,942,737,1350,1402,1078,1100,645,433,371,373,405,390,368,583,783,735,545,435,504,658,979,1136,977,727,401,462,390,596,950,1230,1356,1338,1200,1106,696,395,405,343,366,414,366,334,340,396,482,572,959,1302,1206,1126,1716,1788,899,1228,1240,994,1852,1562,1194,1106,822,1066,1252,973,730,921,1228,1250,1310,1346,1468,1526,1432,1154,1136,1304,1428,1348,1362,1458,896,601,621,956,727,1028,1646,1456,1003,1020,1180,1188,1003,1062,1566,1210,1048,966,914,760,916,1446,1638,1290,1042,922,630,593,752,718,573,511,570,586,577,691,786,786,350,359,439,456,291,458,620,806,801,948,1046,967,937,700,505,407,373,595,1032,1246,1186,1308,979,1106,1012,930,1204,1272,1006,511,690,1054,777,822,1196,1222,684,551,618,607,742,907,969,1116,1448,1406,1120,755,631,775,1228,1278,916,545,480,990,1296,1350,1382,1510,1444,1708,1594,1312,833,634,529,974,1798,1576,852,501,686,1136,1220,1172,759,500,798,1004,1074,1220,1172,1220,1584,1484,1400,1172,1314,1566,1476,871,789,750,1009,1448,1484,1334,702,530,1058,982,974,745,571,702,1100,1746,1686,1062,1484,1736,946,401,643,1710,1476,1322,672,647,674,725,770,720,743,628,617,795,743,404,335,342,368,372,389,425,874,1548,1866,1626,1264,932,716,958,990,1024,957,949,1078,1208,1302,1456,1748,1716,1324,1474,1738,1644,1510,1612,1760,1428,1704,1926,1540,1040,606,572,730,1194,1208,1148,651,1036,1230,1176,836,567,392,628,1040,1364,904,839,1118,1042,1005,1100,1356,1168,1020,1298,1172,697,844,1466,1828,1724,1324,1090,1328,1898,1402,1452,1282,1106,997,1406,1748,1286,922,792,850,1009,1038,744,897,870,769,726,963,1120,980,1122,1154,846,892,1036,905,982,1146,1208,1216,1074,927,1054,1368,1294,1302,1002,845,942,1514,1586,1614,1556,1758,1902,1428,1194,1434,1306,1284,1194,667,658,811,1138,1136,1052,1106,1194,1442,1686,1584,1424,1282,1252,1272,1318,1376,1178,1216,1188,1018,710,652,894,1206,1118,863,1028,1218,937,787,1034,1672,1572,1472,930,481,460,405,455,747,901,1026,835,832,742,805,1034,1632,1648,1434,1826,1528,652,407,419,600,832,1108,1324,1138,678,753,967,1122,1202,1056,819,872,941,886,872,1178,735,555,580,626,666,746,752,623,573,585,579,586,568,612,586,617,697,698,719,812,854,697,466,426,428,466,508,533,477,467,603,553,447,416,432,445,471,482,406,409,468,475,498,496,442,570,684,650,717,483,350,411,437,485,499,439,381,393,441,571,600,569,476,346,308,308,386,527,484,461,466,502,488,532,530,530,485,448,484,487,482,469,482,483,508,416,501,1004,1270,905,655,883,1056,1296,1234,1050,641,685,523,360,354,370,343,326,330,335,346,361,347,366,478,688,865,950,814,719,1170,1028,690,783,634,593,551,528,643,657,605,592,571,661,675,579,581,648,789,935,1124,1504,1456,1062,742,970,1054,1040,1212,1350,1364,1254,1166,1256,1706,1582,1058,957,825,857,879,811,673,563,578,675,969,1454,1280,654,572,721,715,771,948,1070,924,714,535,535,685,869,818,853,1278,1448,1120,1340,1220,995,838,949,997,847,1094,1556,1072,736,785,827,1086,2006,2332,2292,2170,2110,1760,1064,945,1142,1322,1638,2648,2798,2412,2028,1770,1780,1816,1896,1598,1498,1444,1428,1656,1376,1040,1772,1888,1474,1678,1788,1764,1544,1348,1398,1484,1440,1076,553,444,550,483,761,792,916,1244,1416,1324,1238,1136,1114,1168,1310,1416,1142,894,1007,1114,1306,863,515,667,735,691,877,1032,1160,1250,1432,1630,1564,1482,1630,1362,1396,1666,1482,1440,1100,1032,1196,1188,1304,1624,1490,1310,1322,1208,992,1060,1322,1344,1042,706,937,1026,948,1094,1030,1548,1494,1292,1588,1238,749,591,707,422,372,434,885,1774,2028,1288,1016,1248,1214,882,949,1260,1150,816,930,1124,1266,1314,1142,789,556,455,436,484,523,584,792,1134,964,697,949,1064,996,1004,717,810,1300,958,514,900,1056,871,1052,1040,737,685,1720,1724,1013,521,648,974,1400,1200,478,304,278,246,278,298,289,292,284,269,290,614,1007,1096,1154,1030,1072,985,1226,948,886,924,935,1066,1286,1232,846,819,731,490,558,951,1021,1208,1268,1198,1252,1102,814,739,574,401,319,306,567,636,410,284,323,345,353,365,399,440,474,582,561,539,536,499,756,1284,1520,1612,1788,1826,1468,1490,1736,1412,1224,1248,1200,1078,1204,1118,749,684,1166,1320,933,658,679,736,1334,1016,522,473,769,1274,1088,703,345,275,250,306,700,988,617,647,652,812,771,1190,1106,647,561,479,382,349,326,302,267,295,427,549,742,772,519,404,405,279,314,346,329,594,1082,1232,803,1278,1842,1492,896,666,621,914,1250,959,509,556,755,786,485,537,1048,1368,973,518,675,624,477,570,852,869,702,476,586,696,713,788,814,620,450,449,381,443,855,1112,621,991,1220,1404,753,356,502,760,738,1166,1496,740,498,461,518,448,419,529,611,779,965,937,727,413,370,459,620,1058,1368,1430,1074,876,1186,1404,1216,666,846,1226,1142,1032,625,1150,1032,606,1092,1264,894,777,689,435,527,744,846,822,728,525,450,624,636,499,499,420,341,334,343,499,641,528,365,399,638,830,755,697,624,564,576,670,662,560,469,529,475,438,472,443,417,373,354,385,448,473,437,440,448,440,446,468,589,519,697,717,537,538,554,470,635,1100,1372,1610,1594,1580,1708,1562,1314,1176,1298,1450,1272,1052,1170,1410,1242,969,925,998,1052,1136,1012,755,586,715,777,589,412,525,1004,1292,1324,1046,675,647,802,828,868,1102,1280,1086,991,1013,778,760,979,1216,1084,1070,1168,1266,1192,1220,1210,1154,1306,1312,862,680,1028,1116,1426,1548,933,1312,1736,1202,957,843,739,766,733,794,1038,1814,1438,1190,871,808,904,985,909,551,450,519,565,579,728,976,1070,916,722,696,671,716,925,747,448,514,778,1064,865,583,324,361,458,542,618,640,609,499,443,547,655,425,237,379,1246,1400,1302,1198,1178,1250,1138,1138,1180,995,830,620,740,682,784,721,791,636,688,1306,1516,1274,1144,1200,1160,824,1350,1192,857,849,1324,1260,1274,1032,506,368,655,1186,1416,1310,1526,1086,937,1522,1526,1174,915,711,461,462,1005,1384,1076,662,650,742,622,871,1576,1304,833,846,508,281,365,332,263,332,383,332,262,304,288,219,254,300,323,364,375,368,375,542,561,398,334,334,341,405,681,764,651,694,735,814,821,566,341,344,352,371,551,872,1015,1120,1212,1120,1052,886,1302,1402,858,1202,1458,863,1290,2002,1522,837,767,1018,1250,1488,1354,1248,1264,1280,862,538,543,935,1132,1021,976,714,654,618,650,751,825,991,847,708,745,695,491,604,865,991,1060,1054,344,284,343,357,540,951,1186,1542,1256,686,1013,1470,1360,1632,1802,1532,1500,1278,1548,1138,515,447,664,725,728,839,869,1340,948,377,310,439,670,1009,1246,737,495,623,750,962,1238,1172,713,597,1356,1306,567,496,852,896,548,359,509,836,1090,1322,1628,1766,1660,1876,1550,1036,683,648,613,680,1021,1054,793,1164,1174,985,991,1208,1312,1226,1015,888,753,776,915,767,538,394,292,394,597,922,1142,1154,849,640,592,714,1120,1336,1368,1416,1298,1126,991,1054,1240,1550,1616,1528,1536,1438,1346,1606,1174,785,764,1448,1340,818,516,463,401,316,318,328,314,370,657,1098,1172,833,697,564,480,446,431,796,982,884,772,618,519,496,604,797,770,608,440,362,334,364,369,440,398,261,302,426,561,845,915,935,959,962,916,965,1108,836,533,457,569,575,575,655,753,746,741,689,688,687,935,1184,1112,960,727,785,740,752,881,919,1222,1280,1284,1472,1094,1023,1276,1244,1288,1294,1160,1212,1090,1070,1268,1208,1284,1332,1368,1316,1352,1164,573,453,657,747,891,601,545,969,1052,1080,1200,1020,1026,1262,1354,1334,1290,889,762,919,1432,1470,1174,747,810,953,616,909,1232,1182,1356,1192,1078,1212,882,1128,1752,1600,1340,1334,1052,865,796,742,977,902,695,637,729,739,743,1020],[417,745,1038,1274,1276,995,947,1346,1808,1710,1310,989,675,922,791,830,719,809,1352,1728,1618,1094,677,530,427,435,566,520,522,519,559,640,1154,1088,729,915,1232,1364,2140,2460,1708,959,747,554,455,375,318,296,314,318,259,328,462,454,338,348,396,349,370,291,304,493,738,744,505,926,1548,1340,1388,1298,957,1088,810,515,551,734,565,370,299,731,1198,1004,912,974,1890,2334,1624,1456,1616,1388,811,469,582,974,1404,1516,1058,876,767,697,966,780,590,782,960,830,884,1246,1150,1214,1122,586,766,736,658,601,644,542,463,734,719,533,531,629,883,756,655,733,529,330,326,308,248,329,570,990,1176,1350,1390,930,441,395,335,337,387,374,352,368,464,502,882,1688,1360,845,1204,1160,701,1018,1296,772,1456,1876,1204,1234,1242,1316,1168,824,888,1146,1166,1334,1252,1378,1210,794,1005,1314,1126,1016,1214,1292,1324,1432,1400,1036,890,896,1074,853,1042,1614,1520,1296,1150,1418,1462,1172,1132,1268,777,759,927,999,928,1066,1534,1804,1510,1048,603,509,663,977,894,741,715,715,603,523,566,881,985,502,504,467,391,513,988,968,949,852,991,1162,980,789,714,817,572,581,992,1262,901,1364,1332,1104,1350,1328,1098,1252,936,924,770,703,1074,877,922,1346,1124,683,585,625,1046,1444,1662,1922,1710,1434,1234,835,621,616,1013,1418,878,440,390,594,1302,1396,1276,1138,1488,1376,1356,1360,1112,802,626,519,945,1672,2058,1744,1172,993,831,1068,1294,824,703,1108,868,525,722,1010,1342,1642,1426,1074,890,1608,1918,1610,1328,1202,1048,1406,1540,1378,1546,1124,607,986,1122,1346,1126,984,1248,1058,1005,1284,1280,1464,1282,839,489,837,1878,1290,875,697,571,580,596,698,664,781,811,781,708,720,452,313,309,359,393,398,417,593,999,1172,801,703,780,682,851,1324,1470,1262,1048,1162,1400,1454,1460,1548,1228,1262,1506,1824,1918,1792,1704,1766,1394,1352,1584,1318,960,554,510,648,906,750,787,783,1212,1420,1550,1966,1718,887,1076,1216,963,621,756,1020,1404,1118,980,1018,1014,691,564,861,640,849,1398,1744,1636,1146,847,1400,1998,1530,1350,1296,1156,1274,1454,1582,1274,1282,1208,1350,1818,1288,891,788,796,961,1106,1102,1088,993,1472,1310,1040,1048,1216,1106,1126,1158,1088,876,815,693,718,856,858,1344,1244,1340,1216,1364,1728,1874,1578,1586,1560,1260,1458,1428,1302,1344,1072,767,738,1046,1270,1174,1128,1336,1490,1562,1534,1438,1474,1512,1466,1454,1538,1154,1040,1262,1346,1128,924,840,858,977,943,543,685,1116,1124,1120,1384,1426,1478,1408,722,494,452,425,502,831,719,671,747,1040,1246,1220,1238,1366,1324,1476,1624,1282,611,448,383,509,1016,1408,1158,789,780,1256,1456,819,584,714,799,969,1168,876,776,968,626,441,469,515,637,909,1052,901,857,828,828,771,760,709,760,851,757,673,639,626,672,563,499,449,455,488,520,648,623,662,698,562,467,411,460,463,516,548,467,673,871,843,971,960,945,1046,744,503,534,448,382,599,600,554,517,409,391,396,424,487,453,409,370,309,317,414,528,580,550,448,417,438,440,438,463,469,509,633,583,479,489,481,446,387,442,412,631,1132,1198,833,724,1044,1100,1220,1116,1092,681,502,406,367,382,367,336,326,329,335,356,404,404,500,664,838,1058,1382,1202,827,1192,1526,1284,1398,1422,1354,1456,1432,1428,1366,1382,1526,1578,1534,1438,1296,1338,1258,1208,1460,1876,2046,1834,1404,1234,1584,1520,1246,1300,1376,1316,996,960,1234,1592,1576,1206,1070,1140,1074,935,974,1144,1156,1134,993,1096,1528,1516,1064,799,862,1344,1510,1438,1512,1512,1048,586,568,753,864,882,956,1690,1788,1578,1380,1308,1544,1672,1242,806,769,960,1104,844,727,744,772,1200,1974,2372,2330,1816,1726,1446,913,1060,1142,1420,2136,2874,2518,2204,2188,2460,2258,1834,1824,1676,1240,985,1248,1388,1368,1486,1816,1336,1312,1738,1910,1814,1622,1454,1366,1328,1400,844,374,525,656,584,634,769,1130,1388,1324,1212,1208,1080,1042,1188,1454,1242,951,939,1090,1350,984,583,724,804,807,884,1216,1116,1230,1382,1506,1466,1346,1416,1412,1378,1698,1536,1528,1904,1556,1520,1274,1214,1526,1556,1198,1206,1432,1342,1018,1240,1652,1624,1228,713,890,1166,1072,927,1382,1656,1242,1118,1098,1162,1030,575,590,498,409,441,623,1068,1009,1130,1350,1248,1034,516,725,1204,1170,979,1332,1734,1798,1806,1430,782,545,511,633,716,815,684,725,1012,931,811,1178,909,669,731,518,790,1254,1074,684,770,866,801,727,545,628,809,1078,1290,889,440,552,433,480,547,371,263,236,290,369,290,245,259,289,324,339,403,537,689,988,999,1336,1326,1406,1412,1698,2044,1640,1210,1388,1062,622,610,996,1096,857,1154,1252,1114,1226,1442,1114,959,840,857,708,508,398,320,356,835,759,422,388,392,374,382,386,440,462,504,512,511,528,491,967,1404,1394,1368,1504,1914,2336,2230,2060,2138,2276,1554,1160,1172,1206,832,503,544,782,1118,1352,760,878,993,940,1088,749,562,1098,1254,1088,1126,693,381,259,274,448,601,427,387,443,937,1186,1354,1406,1090,684,588,388,360,310,300,318,336,377,406,349,422,469,544,589,568,548,364,303,357,417,666,632,989,1284,1172,897,932,778,644,550,469,424,609,672,537,468,426,761,1524,1498,1342,1512,744,383,513,775,907,845,665,521,551,1016,1256,959,584,512,508,541,683,1164,770,623,937,1112,1176,763,449,713,717,672,1150,1366,615,666,683,608,457,538,708,868,1624,1956,1048,828,546,772,987,1198,1210,782,653,813,1018,1172,1566,1388,509,564,626,344,223,365,830,644,474,969,1160,1110,1240,1002,572,487,531,544,487,397,381,402,695,708,487,424,392,358,357,332,327,410,557,508,589,766,814,702,579,517,426,439,617,709,739,553,501,413,419,477,501,475,467,438,372,389,417,421,471,447,417,446,449,457,467,501,507,479,522,571,524,747,1132,1224,1420,1330,1480,1554,1570,1426,1252,1158,1286,1504,1610,1570,1316,1212,1244,1136,1308,1556,1118,861,613,370,725,1128,648,369,749,1136,974,1358,1132,745,775,913,940,1122,1736,1998,1462,785,838,1082,1172,1104,1252,1142,1164,1194,1122,1038,1112,1202,1284,1340,1426,1218,1214,1460,1614,1812,1844,1394,1104,972,900,949,779,695,834,1058,717,694,1148,1042,1118,896,495,524,1044,1388,1001,791,622,595,814,1184,1266,1218,885,581,573,433,531,753,577,516,567,926,1346,1023,446,227,327,415,392,342,408,571,629,489,496,470,349,258,680,1140,1228,1392,1410,1264,1310,1382,1156,741,621,521,555,1052,1178,850,574,711,758,1015,1504,1360,1382,1252,1196,902,494,1076,1086,773,791,1202,1450,1378,1178,772,412,634,1268,1386,1582,1470,875,765,1084,1428,1212,835,643,444,473,1056,1336,815,656,818,839,633,839,1540,1316,810,839,415,257,281,296,299,556,891,534,344,593,708,679,683,523,422,389,378,365,392,532,459,476,414,336,443,480,616,832,752,719,730,846,767,488,352,332,344,397,710,1098,1220,1320,1204,905,1252,1242,1766,1592,974,1312,1346,948,1640,2248,1756,955,825,921,739,800,574,675,1102,1332,866,447,442,965,1328,1003,1054,732,736,763,929,746,601,761,948,913,696,488,414,512,901,1210,1378,1322,507,480,556,384,410,735,1086,1016,669,458,536,593,653,1200,1412,1054,1246,1272,1236,993,584,606,968,1074,630,616,841,1580,1488,619,565,720,799,1166,1092,721,929,1324,1218,1440,1186,572,375,659,799,572,401,322,462,558,461,653,1180,1366,1160,1186,1272,1556,1682,1366,1274,1542,1192,647,487,430,547,865,755,956,971,1106,1360,1146,1066,1116,1172,1208,988,856,776,629,669,760,555,831,981,1072,1568,1778,1204,733,737,855,1126,1168,1156,1122,1210,1232,1100,1136,1296,1278,1466,1742,1616,1272,1212,1316,1164,906,893,1910,1824,1296,647,570,652,514,504,598,675,559,882,1328,1050,740,846,800,547,496,486,930,1468,1444,919,515,407,529,572,491,694,670,580,592,564,507,447,337,317,475,472,355,369,804,1026,1022,970,946,868,1036,1072,535,321,489,612,576,688,857,904,859,825,744,724,877,1150,1392,1488,1080,754,783,670,457,587,991,1264,1148,1308,1416,1202,1224,1254,1290,1240,1284,1262,1286,955,1028,1490,1548,1160,1130,1320,1620,1626,985,617,621,516,634,756,575,785,1584,1474,792,1084,1312,1212,888,944,1098,707,429,899,1400,1844,1700,1282,1274,1278,1066,655,683,695,797,952,988,673,650,836,1042,1282,1058,1368,1170,779,702,810,888,1010,1106,962,850,949,926,739,918],[341,753,1158,1148,892,686,766,1072,1462,1646,1302,782,522,583,557,630,664,684,861,1074,969,630,486,438,363,416,430,438,502,515,531,824,1410,1096,589,578,538,1132,2056,1330,1178,827,669,680,642,464,341,398,422,283,292,377,487,436,310,332,377,462,483,374,345,683,1012,879,822,880,1146,1262,1456,1394,1598,1352,810,472,422,702,731,398,383,484,491,572,894,927,1448,1626,941,933,893,553,430,469,985,1572,1772,1606,1110,852,810,1068,1378,809,524,641,945,1026,797,586,968,1376,1112,987,1202,1052,962,1296,1526,962,339,424,586,762,689,927,1248,659,511,495,328,300,294,255,247,266,302,399,612,885,1208,1082,699,449,416,401,393,379,356,405,483,539,1348,1824,892,1104,1238,899,871,1210,919,949,1822,1634,1384,1560,1078,991,741,968,1078,975,1316,1256,847,911,1172,1108,1056,1350,1318,1246,1368,1412,1206,1470,1288,837,726,717,804,920,1340,1722,1140,955,1202,1536,1428,1374,1472,1132,946,1296,1202,865,777,921,1038,1186,1300,881,503,536,621,644,698,739,702,584,543,659,591,478,508,781,943,661,430,854,1286,1210,1088,939,1128,1444,1158,862,918,1170,741,799,1228,1218,897,1000,1178,1344,1392,1430,1482,1566,916,1136,1262,1196,1086,749,651,875,808,704,622,863,1720,1852,2282,1990,1654,1444,1312,938,573,535,884,1042,546,786,683,751,1092,858,539,796,1394,1528,1454,1188,923,962,813,533,482,713,1162,1368,1732,1532,935,930,1007,735,781,1254,1404,973,820,895,1104,1432,1274,782,1246,1912,1782,1568,1592,1432,1122,1414,1356,1498,1410,1036,600,736,1152,1358,1012,844,1017,833,901,1190,1726,1250,1272,838,454,708,1264,1198,1136,910,469,572,653,779,639,742,785,869,856,802,587,412,361,304,343,314,363,424,590,647,820,1322,1396,1264,1346,1412,1400,1338,1318,1402,1428,1228,1086,1104,1252,1260,1416,1862,2124,1962,1692,1626,1562,1288,1246,1218,931,592,491,700,1084,1244,1290,1456,1554,1468,1574,1846,1834,1424,1460,1332,905,796,935,1316,1586,1286,948,796,743,569,609,938,702,986,1510,1798,1556,1174,1036,1448,1600,1262,1254,1072,1054,1308,1042,979,1017,1376,1282,1304,1426,1268,911,774,993,1040,1226,1064,1092,1168,1282,1328,1284,1174,1022,780,796,833,941,1212,1190,908,1090,869,997,1482,1920,2414,2422,1974,1802,1824,1616,1338,1332,1508,1896,1736,1606,1562,1456,1506,1478,1432,1468,1458,1476,1616,1716,1604,1454,1602,1536,1316,1334,1516,1360,819,871,1338,1262,911,834,860,931,1302,1266,555,360,794,1122,1240,1172,918,984,904,522,491,606,508,460,645,593,514,583,844,1021,1308,1448,1140,1138,1338,1414,910,778,545,587,688,886,1118,847,573,459,633,883,697,673,738,580,768,880,814,1072,958,644,683,550,469,533,879,1030,891,985,968,905,948,1034,868,799,735,568,491,479,481,503,601,605,519,526,532,667,781,807,899,785,653,612,452,443,627,547,562,507,838,1048,1226,1406,1346,1272,1160,867,791,655,473,385,549,496,440,397,368,447,442,375,437,438,368,380,388,447,528,599,688,763,600,471,521,586,574,593,496,543,473,441,481,591,605,575,517,617,636,803,1250,1234,785,603,819,950,1116,1176,1088,703,436,415,402,393,358,341,334,339,358,399,472,618,766,836,1060,1394,1570,1476,1222,1436,1852,1552,1538,1898,1808,1792,1768,1742,1836,1802,1754,1870,1830,1710,1568,1610,1692,1830,2204,2454,2240,1788,1512,1440,1428,1390,1372,1328,1096,795,686,756,828,1021,1202,1240,1172,1060,1124,1478,1560,1332,1008,1520,1390,1102,1140,1426,1638,1230,855,1138,1306,1354,1294,1020,717,580,551,880,945,922,1028,1668,1656,1512,1372,1130,1346,1376,1400,1440,1482,1110,1114,841,760,821,764,1376,2142,2600,2654,2120,1918,1130,846,1094,1146,1302,2292,2700,2226,2074,2314,2556,2258,1782,1354,1512,1412,1152,1296,987,952,1260,1354,1260,1282,1356,1574,1982,2004,1730,1372,1440,1086,664,481,658,577,597,722,886,1304,1372,1144,1062,1010,1034,1092,1332,1594,1218,971,1064,1262,1130,949,772,673,705,867,1180,1204,1044,1150,1374,1448,1438,1424,1400,1378,1342,1570,1434,1250,1342,1476,1506,1208,1174,1322,1246,1036,1100,1492,1364,1122,1284,1278,1324,1380,1288,1252,1358,1110,1034,1582,1382,1278,1076,1124,1596,1260,672,447,556,683,886,1252,1022,816,1346,1278,847,1007,567,536,880,1096,1118,1478,1770,1770,1676,1222,707,508,524,798,846,1000,669,589,827,832,800,914,713,499,662,726,794,714,1018,745,765,1038,823,455,266,516,678,496,455,309,295,417,494,496,464,382,343,426,508,438,299,308,275,344,390,441,455,532,769,744,642,1164,1410,1456,1946,2286,2482,2382,1704,1692,921,464,606,1238,1084,954,1204,1240,1062,1128,1372,764,577,766,845,834,649,524,441,311,676,963,741,406,449,419,407,440,469,405,396,440,525,486,619,1202,1286,828,753,962,1062,954,1006,1224,1204,1046,960,908,882,666,411,362,393,373,615,1372,1154,847,1158,1188,1144,1160,940,830,1254,1254,1226,1280,607,407,339,635,652,345,383,429,756,1260,1294,1266,1482,843,531,343,427,365,278,304,324,485,568,363,320,365,440,656,860,959,893,589,415,323,362,698,900,780,766,736,736,635,679,644,821,567,372,399,384,426,460,688,874,908,1774,2136,1236,915,594,698,594,482,680,703,609,992,1310,1072,808,744,783,1148,1146,1330,746,440,765,1082,1266,854,702,926,523,740,1144,941,996,1126,922,698,465,609,691,860,1252,1066,648,553,458,926,1190,1248,768,355,637,1150,1388,1078,756,960,506,317,277,264,276,641,899,702,623,611,580,676,1120,1198,614,453,405,405,424,356,411,424,642,691,423,387,392,332,335,367,345,357,498,618,746,733,593,562,515,413,361,401,509,645,739,537,469,487,485,509,491,467,525,538,453,377,397,400,423,430,426,448,428,448,474,496,538,503,460,480,550,777,821,1178,1438,1448,1720,1638,1536,1890,2102,1480,1242,1186,1490,1636,1528,1300,987,835,1350,1620,1316,1072,719,397,709,1132,538,389,772,1054,856,810,625,683,871,780,547,739,1274,1538,1154,585,397,495,841,1156,1346,1406,1260,1120,1238,1122,1226,1208,966,988,1168,1108,1306,1614,1766,1704,1720,1410,1038,810,728,767,615,601,902,1526,994,476,441,608,1062,995,444,576,1108,1228,781,692,634,858,1376,1444,1124,1086,1074,926,725,585,484,495,524,492,429,673,1084,960,470,238,297,417,464,396,290,286,462,422,320,333,371,437,545,593,907,1490,1492,1152,1015,1044,837,661,641,661,844,1092,1092,894,814,1054,1290,973,752,832,1210,1348,1180,808,555,936,1152,871,679,913,1017,798,738,680,444,604,1504,2100,3088,2314,960,802,1206,1596,1048,527,424,476,656,1160,882,524,536,742,775,561,666,1226,1372,995,946,516,347,336,518,584,1188,1648,1498,1144,830,1096,1104,783,401,380,367,369,353,348,322,308,477,475,384,521,505,487,747,774,755,736,760,671,524,404,336,338,370,484,634,839,1112,904,527,769,1007,1622,1770,1130,648,468,658,1196,1230,881,636,657,972,1114,983,553,518,959,1334,1064,579,560,607,763,876,1170,1021,749,650,750,808,711,682,959,1126,927,491,494,544,603,616,1282,1358,874,1390,1424,633,594,905,777,572,474,458,1017,1005,542,371,697,1138,1670,1528,1002,870,645,557,949,1148,1132,896,1104,1782,1772,862,470,962,1520,1292,820,654,861,1216,872,908,650,395,559,1054,883,442,281,259,361,689,1001,1306,1532,1272,974,1054,1208,1408,1566,1476,1366,1438,1446,1028,551,510,505,864,996,1078,1064,1300,1248,926,1138,1208,1310,1426,1356,1009,657,940,1534,1134,797,727,852,1216,1294,1352,1080,762,771,833,1012,1136,1212,1312,1356,1250,1210,1222,1228,1228,1250,1632,1688,1320,1020,794,826,922,963,1402,1952,1562,585,650,919,979,1068,1028,982,946,1022,1318,1242,979,1015,865,661,586,689,1252,1490,1440,986,651,599,542,492,487,480,459,433,465,467,484,486,622,758,1160,950,483,330,631,985,1146,1216,1108,969,1146,908,388,380,922,844,727,692,805,933,944,854,658,840,926,1278,1310,1504,1076,851,818,746,513,470,718,987,1188,1390,1288,1268,1180,1308,1338,1396,1416,1766,1592,991,1034,1440,1312,1048,1102,1224,1444,1570,721,780,912,534,604,724,481,727,1494,1562,1188,1352,1562,1438,1306,1372,1228,778,417,473,813,1188,1128,1252,1438,1344,807,667,681,741,839,1064,1438,1324,1130,1048,989,1366,1488,1700,1194,738,656,944,1021,996,1140,1062,1062,1114,1096,915,907],[324,502,662,542,420,510,1020,1794,1924,1918,1456,918,916,798,616,640,671,579,457,558,694,630,554,456,449,512,570,525,477,481,509,1096,1648,1248,691,632,698,1144,2050,2018,1542,938,669,661,649,551,455,350,315,276,355,380,408,349,292,361,436,447,402,454,484,742,1222,1550,1362,1346,1554,1550,1516,1180,1224,1364,1070,534,408,619,877,522,382,527,566,448,652,817,1100,855,447,761,985,585,468,531,809,1132,1420,1088,967,984,1144,1696,1590,1016,797,830,1022,943,833,684,1134,1224,1360,1422,764,672,1298,1692,1550,1016,378,441,570,710,556,722,772,557,430,331,294,272,237,225,228,267,280,342,386,389,426,847,1028,969,781,518,428,370,381,433,471,738,1788,1236,844,1644,1080,670,1023,1114,885,1302,1406,1060,1390,1198,644,761,1092,1068,935,1154,1032,622,645,883,1268,1290,1444,1556,1560,1450,1368,1162,1082,1212,911,553,448,393,342,592,1294,1898,1430,857,1204,1662,1488,1612,1854,1388,1304,1338,884,919,959,891,1164,1488,1682,1394,1448,1358,777,435,497,600,624,468,513,612,514,462,483,867,852,524,586,1064,1252,1166,1252,1076,1220,1252,1266,1182,1316,1246,1170,1108,1340,1490,1030,789,844,944,1262,1376,967,1276,1080,1136,1384,1310,1094,780,750,1076,875,1134,928,1404,1958,1738,1980,1692,1400,1586,1738,1220,707,675,824,860,524,933,929,728,853,792,472,911,1466,1476,1418,1256,921,897,697,780,783,761,869,1200,1714,1706,1400,1334,809,654,686,1136,1338,1226,1260,1058,889,1058,868,1278,1966,1582,1224,1400,1306,1224,1312,1458,1558,1318,976,684,495,784,1130,998,792,695,612,772,1760,2032,1570,1302,1650,892,330,733,1418,1366,1126,750,488,521,487,630,634,608,609,678,890,1054,578,342,359,295,372,384,431,390,688,1426,1860,1806,1226,849,930,1005,1248,1324,1318,1228,1218,1162,799,869,1226,1276,1672,2690,2954,2142,1680,1500,1334,1652,1412,1444,1064,714,748,1010,1460,1750,1732,1694,1670,1628,1688,1578,1482,1402,1448,1464,951,942,1288,1636,1604,1418,1266,1060,879,808,809,912,813,1054,1570,1900,1534,1116,1306,1568,1472,1518,1550,1134,1524,1524,1344,1566,1336,1192,1120,1094,1304,1302,1012,1014,1396,1282,1356,1210,1306,1434,1282,1410,1354,1262,825,566,746,839,887,1140,1156,1152,1204,1158,1500,1814,1998,2210,2114,1798,1638,1710,1754,1570,1552,1532,1736,1808,1652,1642,1686,1388,1282,1260,1134,1122,1158,1546,1604,1428,1412,1390,1106,1094,1104,978,940,697,910,1212,1016,935,949,1332,1180,1050,727,418,523,1064,1458,1174,783,563,496,659,660,599,796,843,634,574,955,1138,980,890,620,926,1284,1208,1144,1108,969,860,913,664,797,1368,1594,1182,818,697,470,388,447,602,815,793,735,705,692,835,1124,916,698,966,933,898,806,936,836,739,771,735,745,913,910,731,686,523,481,507,478,470,477,553,547,528,532,530,575,593,738,971,965,963,885,653,522,581,533,484,570,831,1022,1238,1378,1362,1322,1156,960,1048,979,769,680,474,338,369,370,369,425,410,334,300,285,309,346,381,480,498,486,666,821,684,472,434,432,473,556,486,474,440,402,456,556,609,599,483,531,572,752,1044,1114,932,903,992,1106,1158,1042,869,677,512,429,408,399,371,352,371,383,405,539,628,629,745,1090,1422,1580,1580,1622,1732,2102,2186,1618,1512,1772,1726,1686,1744,1752,1726,1794,1776,1876,1976,2000,2072,2010,1824,1954,2114,1858,1256,1026,1386,1560,1638,1638,1720,1604,1142,837,625,521,727,1015,1140,1064,933,1021,1366,2270,2368,2142,1842,1834,1644,1780,1874,1290,1338,1356,1002,1640,1792,1708,1584,1462,1234,776,778,1120,1184,1134,1308,1680,1510,1316,1184,1418,1230,1228,1288,1306,1418,1116,997,926,915,845,768,1310,2260,2756,2510,2210,1866,932,871,1094,1194,1510,2370,2382,1748,1908,2320,2588,2332,1936,1032,1184,1466,1616,1450,872,901,1122,1240,1334,1512,1404,1384,1526,1854,1754,1382,1140,719,528,776,840,545,720,698,987,1246,1134,1026,971,952,1021,1046,1192,1434,1344,1090,1136,844,659,722,651,541,745,940,1172,1180,1224,1168,1182,1262,1392,1326,1372,1370,1360,1292,1156,1240,1162,1164,1172,1066,1116,1290,1328,1058,912,1344,1252,1268,1112,1212,1324,1238,1094,996,1230,1402,1534,1308,1190,1156,1192,1308,859,757,748,752,950,1090,1000,1088,1118,1200,1306,1011,739,791,434,284,434,516,695,998,903,806,809,743,797,701,1064,1328,1020,874,487,510,796,918,1236,1162,843,480,919,1460,1050,648,956,892,779,692,442,316,257,250,271,312,315,263,243,385,546,608,574,398,432,569,501,281,258,342,331,422,468,473,575,704,612,513,579,966,1388,1300,1498,2018,2258,2002,1540,1114,621,424,592,708,489,642,1010,924,617,617,789,389,313,605,777,850,833,656,439,449,648,858,1108,630,414,453,512,472,433,404,405,443,463,487,934,1310,1084,701,678,813,920,1004,985,770,659,772,800,781,648,433,454,615,583,363,406,897,1380,1076,866,1092,1156,1280,1434,712,812,1236,1184,1610,1136,696,415,606,552,403,530,523,534,865,1298,1276,1524,1290,775,454,559,554,453,393,328,358,341,314,325,325,400,432,419,584,828,1044,875,630,404,407,626,619,633,1134,818,411,436,623,594,419,669,961,780,414,457,659,664,640,1140,1136,1184,1032,735,849,745,420,558,744,621,415,583,720,953,1168,1288,1152,762,757,541,459,651,822,886,619,743,670,474,838,1132,776,1074,1312,1494,1096,368,460,511,871,1098,1172,763,322,316,498,681,830,639,625,1070,1238,1278,1276,818,864,711,428,307,340,409,868,872,859,811,535,656,642,711,641,610,469,364,384,455,411,366,395,487,487,363,402,375,332,365,378,386,490,682,758,813,765,645,573,522,411,342,324,344,417,702,583,448,498,521,498,435,434,474,474,484,407,365,393,405,413,467,455,406,432,456,468,507,488,503,533,586,559,681,1082,1194,1666,2062,1594,1456,1692,1634,1420,1282,821,1042,1498,1658,1116,741,667,583,716,1070,1070,853,621,1288,1298,562,334,631,911,1028,852,719,805,846,637,539,549,568,701,564,458,391,352,400,595,843,1190,1204,1160,1532,1458,979,714,631,1140,1564,1350,1126,1476,1714,1332,1180,857,803,622,495,491,461,512,769,1016,630,399,410,656,1226,1230,771,725,800,732,470,967,1094,973,1092,1060,896,683,919,1232,1262,1021,495,437,488,445,366,425,702,766,390,282,365,315,317,279,257,262,302,317,296,281,336,458,548,497,605,979,1152,987,879,819,673,507,799,1082,1068,1042,1080,1444,1302,1017,1056,724,653,774,1144,1366,1180,810,567,687,1070,1034,648,766,846,816,895,755,448,714,1278,2250,3074,2196,1340,1366,1258,929,626,486,484,763,1280,1296,656,474,575,721,835,767,926,1140,1498,1318,1102,819,568,757,1136,1328,1796,2142,1952,1302,747,1100,1174,607,363,377,374,367,361,334,322,352,439,418,374,563,759,625,629,777,669,605,612,577,472,361,334,345,334,367,393,462,510,562,470,546,893,1484,1648,971,463,446,540,448,411,435,413,403,698,1170,1044,558,461,638,947,1009,1030,1182,1088,1044,1406,1358,1316,885,526,559,753,836,622,692,1007,1013,532,480,568,518,468,940,1182,1582,2452,2194,1078,1188,1404,1002,660,455,588,1376,1754,1212,739,878,1174,1584,1158,779,907,1058,817,737,982,1244,1250,1132,988,1014,636,292,433,713,714,509,454,451,465,399,397,353,239,500,772,616,451,369,428,616,1048,1488,1636,1290,991,1110,1382,1464,1374,1528,1402,1164,1000,1442,1294,1116,1013,846,808,1032,1434,1444,1460,1172,1042,1388,1410,1216,1282,988,905,898,991,874,647,862,886,1002,995,862,978,940,775,590,705,979,1082,1272,1600,1392,1104,1276,1474,1302,1208,1302,1516,1578,1074,897,656,483,860,1058,1252,1710,1302,653,803,789,904,1198,1023,723,841,1014,1214,1406,1440,1288,1014,779,711,1148,1023,1138,1172,963,1158,1260,750,505,510,560,477,352,344,350,397,331,582,1004,1200,905,526,402,526,714,918,1360,1346,1326,1310,700,343,615,1316,1184,1032,893,722,898,1005,838,1152,1654,1096,1440,1438,1462,1184,841,785,722,558,470,662,814,1086,1322,1180,988,957,1100,1236,1398,1512,1724,1456,1016,1338,1450,982,963,1192,1618,1502,1426,804,587,688,568,694,642,401,674,1642,1546,865,770,1274,1400,1412,1538,1546,1122,983,937,670,398,496,794,1090,985,768,1136,917,750,1062,1138,1216,1180,868,697,919,1094,1588,1906,1322,874,778,846,869,877,828,941,1170,1130,1212,788,868],[373,472,518,364,390,486,911,1542,1496,1556,1390,1228,1278,946,582,594,585,561,484,558,671,605,506,430,434,480,493,463,486,517,738,1258,1352,1084,969,1220,1086,1180,2012,1968,1400,907,754,787,636,467,450,471,419,331,374,401,415,413,372,700,1302,1176,994,794,683,752,1262,2366,2076,1628,1600,1462,894,631,769,1188,1142,700,586,682,908,664,444,502,528,578,694,1028,1576,1476,1062,1032,1156,783,570,614,496,483,447,583,901,1274,1598,1696,1506,1216,1238,1276,1276,1274,1090,1082,1268,1294,1376,1076,704,821,1212,1628,1068,582,517,661,1176,944,426,374,469,581,443,283,273,270,243,235,237,276,308,304,307,337,329,509,714,883,1040,1106,846,747,635,574,527,1168,1490,770,1178,1312,677,854,1404,965,1042,1310,1172,1410,1252,823,508,520,569,611,1007,1336,1072,516,548,730,958,1232,1292,1366,1438,1154,994,1090,907,662,673,642,460,420,384,709,1418,1814,1386,808,962,1314,1288,1476,1582,1128,1462,1924,1604,1652,1610,1262,1380,1636,1616,1502,1600,1448,822,511,496,721,846,556,704,678,586,505,485,702,797,596,646,1194,1568,1550,1472,1294,1520,1406,1300,1470,1676,1500,1068,973,1232,1256,668,925,1040,741,782,1012,1030,1138,1198,1402,1244,1082,1122,715,723,1018,1028,1554,1702,1920,1528,1094,1092,1252,1484,1888,1714,1096,966,1036,962,766,516,860,924,579,647,789,634,983,1466,1346,962,1098,1100,826,708,768,771,919,1174,1214,1310,1500,1616,1386,622,833,1388,1416,1238,1270,1492,1322,1192,1050,1058,1672,1610,1340,1120,1234,1064,1018,1124,1348,1446,1242,949,645,658,898,1144,711,927,952,666,1050,1850,2018,1354,1520,1592,594,305,708,1676,1430,1008,982,934,547,459,559,585,511,434,446,753,1126,578,342,376,324,338,400,483,496,728,1062,889,519,646,698,524,864,1272,1146,1172,822,537,964,890,783,1148,1526,1656,2312,2744,2214,1798,1462,1404,2022,2066,1838,1604,1494,1570,1632,1562,1420,1408,1478,1604,1754,1766,1704,1748,1652,1562,1368,1250,1392,1280,1262,1378,1460,1372,1184,1230,1230,1178,1005,870,1108,1522,1882,1512,1012,1302,1548,1608,1216,885,1302,1994,1664,1356,1276,944,844,1122,1384,1384,1056,1284,1300,1274,1290,1336,1268,1108,1128,1440,1176,814,749,660,981,1354,1230,915,1034,1248,1198,1250,1450,1750,1764,1706,1862,1824,1862,1562,1372,1588,1554,1248,1122,1300,1450,1318,1448,1700,1212,1066,971,603,653,909,1414,1708,1410,1418,1506,1372,1274,1026,818,620,476,544,694,723,794,1174,1616,1204,858,739,465,636,1412,1582,1070,1062,585,364,433,763,1066,1398,1238,901,1048,1500,1764,1328,1166,835,1082,1310,1198,1174,1186,791,742,922,824,739,859,1068,1076,698,574,652,573,425,456,620,858,1092,1080,1052,1042,1126,710,697,998,1028,1066,1066,1064,1002,903,758,767,896,959,771,588,645,503,465,520,552,555,564,581,507,461,455,458,446,437,543,711,641,835,816,686,701,794,705,531,653,995,1052,1136,1322,1272,1252,1130,1288,1186,992,921,603,374,445,702,601,506,459,378,380,360,366,352,309,415,518,443,439,455,545,550,433,411,371,355,388,471,565,549,392,467,609,655,704,474,391,400,413,444,520,656,817,1005,1164,1294,1220,981,888,799,705,642,488,440,434,429,424,475,582,614,857,1324,1500,1462,1452,1578,1698,2100,2496,2554,2006,1738,1822,1782,1760,1710,1816,1758,1770,1824,1864,2200,1982,1482,1350,1384,1422,1312,1124,1078,1242,1598,1672,1762,1746,1902,1698,1178,1036,1042,999,865,742,1086,1156,971,1048,1480,2036,1954,1836,1816,1880,1852,2156,2344,1760,1470,1378,1180,1866,2110,2134,2142,2166,1844,1006,887,1172,1384,1306,1482,1664,1322,1312,1044,1438,1396,1446,1346,1324,1240,1164,1174,1088,1078,1004,1009,1676,2250,2644,2220,1984,1422,890,1021,1136,1328,1896,2482,2260,1904,1926,2610,2646,2314,1634,1158,1084,1196,1660,1274,800,1050,1126,825,745,1142,1468,1520,1408,1378,1276,1380,1168,564,497,1060,1140,731,962,849,1042,858,841,895,932,876,848,966,1176,1388,1244,1148,877,690,752,601,708,622,656,890,852,1060,1090,1032,1306,1378,1412,1422,1538,1380,1396,1272,1358,1446,1270,1172,1058,1246,1520,1414,1284,1072,1312,1422,1520,1226,830,1238,1528,1372,1364,1292,1076,1558,1532,1288,1124,1018,1280,943,615,654,771,833,800,909,878,1058,836,960,1011,709,749,825,526,342,462,518,637,841,644,806,1230,1044,976,826,701,628,576,484,414,643,886,946,1120,829,440,347,553,739,589,560,882,822,555,694,647,485,438,307,288,291,294,284,303,370,622,962,819,388,471,552,361,313,307,322,324,487,648,1026,1634,1658,1178,573,521,769,1412,1350,1180,1272,1538,1450,1142,761,553,539,428,320,320,559,948,663,702,752,764,735,604,628,877,915,801,482,400,708,756,659,930,1136,735,446,421,446,429,440,522,513,436,685,1218,1256,769,673,1042,1274,1328,1068,677,530,551,617,709,788,613,592,644,924,832,428,337,485,1064,1314,912,905,1208,1188,1454,1226,635,1132,1340,1424,1460,1088,540,481,406,558,798,569,477,656,1060,1312,1314,1426,1152,673,648,659,578,505,358,310,306,345,343,482,880,762,455,386,408,562,792,949,677,332,292,292,473,668,480,381,400,479,637,754,1236,1506,987,426,418,572,604,617,686,452,495,518,674,1026,937,817,755,485,642,550,346,557,856,1122,1240,1170,1196,1108,591,565,943,1294,882,605,700,955,760,659,708,796,814,886,1220,784,325,324,381,681,1019,1230,649,312,348,329,238,285,409,713,1232,1238,1060,1310,1023,899,661,369,324,339,659,850,506,607,487,432,790,839,724,861,812,525,386,346,386,442,413,370,399,369,348,378,321,268,402,483,430,423,528,686,803,842,748,590,493,409,350,337,312,341,640,681,467,452,480,428,428,427,445,446,459,446,385,368,403,497,551,494,452,468,458,472,510,595,539,631,744,567,524,793,1036,1386,1554,1402,1290,1224,1156,1548,1418,1068,1052,1372,1418,1011,732,672,510,611,930,1110,1122,1036,1610,1100,447,414,418,686,966,729,775,972,789,708,540,504,476,442,430,386,336,346,404,424,539,941,1152,1023,1428,1112,737,517,457,1212,1624,1278,1058,902,1015,1186,836,542,558,682,546,441,495,778,1288,1168,574,361,454,735,1040,1086,986,861,544,448,426,775,1046,903,919,1092,1054,612,644,1026,1310,951,603,469,415,396,363,361,480,541,308,303,515,814,658,372,288,233,311,435,354,302,507,731,521,437,471,566,698,748,745,667,625,631,724,794,1044,1042,1368,1842,1278,959,741,481,886,942,995,1212,933,678,693,472,875,1104,774,852,803,980,902,582,435,522,711,1324,2180,2286,2412,2592,1966,787,417,582,716,893,1208,1078,794,774,987,1192,1288,1290,1236,910,1054,989,882,835,800,718,745,1048,1570,1916,1534,1194,711,1007,1001,523,341,340,341,354,363,329,298,332,429,398,383,491,764,608,482,522,488,420,428,442,386,326,305,303,335,399,408,409,374,444,490,675,735,661,733,664,694,575,493,467,495,404,393,373,329,504,522,610,959,1124,1310,1368,1562,1576,1448,1492,1526,1290,1316,1198,770,450,540,733,634,667,885,929,674,479,508,516,695,1262,1962,2518,2464,1790,1480,1632,1664,1522,1274,1042,791,944,1196,901,748,1144,935,780,508,766,1038,1276,1268,893,615,716,1188,992,499,466,390,361,330,345,379,454,392,495,656,444,283,295,286,318,275,314,383,451,731,835,1278,1638,1418,976,868,1019,1302,1334,1438,1326,1096,1124,978,1422,1766,1638,1174,1044,913,1116,1446,1468,1280,757,832,1380,1416,1276,1742,1422,1136,1164,1092,904,984,1162,1009,1056,1126,1142,901,902,956,977,1100,1272,1308,1360,1312,1036,771,1092,1356,1218,1080,1252,1196,1488,1356,1226,853,652,1062,1202,1308,1338,900,1074,1170,920,1038,1068,891,654,841,1120,1218,1212,1082,952,857,635,741,1174,1086,1382,1382,1212,1338,1290,1028,882,809,597,414,383,350,411,459,508,963,1218,1086,943,917,665,613,755,678,874,1004,1086,1082,679,541,1066,1466,1294,976,811,619,669,898,1336,2144,1500,1166,1208,1015,1274,1238,830,826,758,623,529,733,753,1046,1102,1302,1074,1050,1218,1280,1316,1290,1226,1042,1044,1034,912,807,822,794,1108,1276,1332,1064,896,944,626,765,549,446,670,1522,1556,1084,955,993,1054,1364,1836,1698,1176,957,949,1102,913,777,960,1244,869,949,1248,872,799,1078,1306,1668,1342,925,871,1228,1380,1654,1742,1344,849,558,552,687,857,814,858,1090,1062,1054,949,849],[587,587,451,286,307,393,677,926,1266,1720,1542,1086,896,548,356,538,566,524,488,514,490,458,477,418,370,398,413,440,517,512,707,1502,1718,1180,1086,1278,998,1228,2002,2222,1820,1152,1328,838,422,321,352,530,373,273,362,381,407,469,403,1010,2048,1880,1880,1142,709,728,1132,1792,1968,1746,1898,1866,1022,724,982,1584,1242,1140,1282,864,855,902,700,539,761,1074,894,1040,1660,1700,1294,907,907,967,697,554,432,369,395,479,554,741,1011,1008,1204,1428,1390,1310,1548,1490,1136,1040,1508,1484,984,1040,1288,1005,1180,1482,699,472,750,621,799,606,369,336,352,330,287,265,263,237,211,240,301,374,434,356,318,391,366,410,550,646,781,850,1072,1200,1224,1028,639,948,785,714,963,557,456,1112,1460,1023,1362,1126,1244,1634,1262,877,686,481,595,1160,1448,1356,673,566,476,596,1196,1478,1142,1192,1238,817,1050,1398,718,559,1050,797,592,907,1110,996,1512,1870,1496,925,637,528,816,1678,1952,1366,1646,2288,1992,2108,1974,1550,1460,1452,1354,1632,1882,1642,994,618,505,846,1032,702,669,621,601,648,652,660,742,565,609,1050,1328,1272,1238,1320,1682,1706,1406,1430,1444,1152,745,681,584,592,496,1242,1364,747,503,585,872,982,996,1376,1366,1044,865,878,835,476,593,1022,1450,1476,1154,1078,1232,1664,1468,1596,1688,1320,1036,1216,1010,650,745,1001,955,726,672,794,821,1162,1278,937,822,941,1040,700,594,780,766,713,1218,1770,1422,1426,1162,802,799,1510,2182,1876,1374,1244,1188,1028,963,1054,1228,1416,1358,1206,1312,1206,818,843,1090,1088,1198,1506,1394,1020,1134,1140,1152,951,1007,890,775,1490,1764,1548,1296,1504,1340,408,313,412,763,714,1011,1228,1152,713,455,494,511,494,640,1082,1086,1096,762,425,377,335,333,389,444,538,640,833,975,603,993,825,739,940,706,662,803,727,873,890,775,923,1556,2018,1520,1528,2036,1980,1808,1654,1720,1896,1970,1842,1566,1602,1748,1586,1380,1272,1364,1396,1464,1522,1532,1482,1528,1620,1738,1820,1764,1836,1772,1658,1454,1454,1346,1140,1200,1266,1432,1190,976,1318,1694,1920,1412,998,1286,1306,1324,753,537,828,1410,1592,1270,1184,1068,781,979,1176,1306,1312,1268,1192,980,1084,1140,1134,1110,1130,1208,905,810,714,828,1290,1582,1048,644,931,1106,1294,1538,1696,1784,1636,1666,1700,1676,1780,1004,800,1090,1356,1208,1242,1356,1254,1346,1266,1424,1030,1078,926,578,603,916,1214,1328,1222,1132,1062,977,814,795,713,761,771,514,419,728,772,879,1178,1026,627,473,379,773,1242,928,980,1072,585,394,608,913,1164,1322,1168,1190,1488,1434,1228,1154,1166,952,926,959,863,1015,951,666,513,466,501,552,539,777,853,669,439,769,969,727,656,556,620,896,1090,1136,900,1060,591,544,692,835,966,934,951,1068,1100,1102,1076,1058,985,673,553,544,445,403,467,567,603,601,606,586,578,592,517,441,440,521,557,469,525,475,470,545,619,717,749,869,1130,1188,1186,1260,1146,1242,1164,1328,1150,866,778,716,418,455,672,664,498,426,338,352,404,427,363,286,431,508,352,361,318,356,367,456,429,398,491,796,813,704,714,416,392,502,581,744,565,441,411,388,441,462,461,434,509,844,1186,924,731,840,879,1016,805,625,608,529,448,489,556,651,913,1324,1478,1520,1570,1616,1764,1848,2106,2334,2192,1652,1562,1616,1454,1354,1410,1562,1576,1340,1246,1302,1776,1564,1140,1300,1312,1328,1304,1288,1110,1288,1550,1700,1726,1688,1766,1496,1384,1476,1368,1258,879,660,1024,1102,991,1028,1160,1260,1116,976,1078,1596,1718,1960,2334,2216,1706,1384,1278,1244,1396,1684,1704,1744,1582,1354,1332,1400,1282,1244,1414,1348,1140,1196,863,1186,1894,1794,1576,1746,1538,1484,1288,991,1112,1124,1202,1880,2592,2720,2322,2008,1222,931,1021,1286,1550,1894,1972,1952,1820,2238,2574,2380,2090,1330,1136,1116,1284,1622,976,900,1102,965,573,780,935,1044,1314,1478,1246,1194,1412,813,432,758,1494,1328,1122,944,907,907,777,734,724,780,762,831,1092,1356,1514,1294,922,673,742,687,736,1038,1072,1017,966,986,1148,973,871,1134,1400,1452,1506,1484,1612,1554,1188,1346,1382,1408,1512,1322,1486,1446,1180,1026,1116,1306,1470,1550,1132,855,1122,1480,1310,1292,1314,1192,1416,1416,1296,845,1100,1200,658,589,659,906,1064,720,613,694,688,578,636,597,614,726,678,447,419,553,780,1064,988,843,821,796,629,964,1134,1080,1004,640,483,794,957,1056,799,772,582,496,467,476,733,1038,1142,1060,697,525,1090,1220,872,672,423,300,332,377,343,335,264,373,803,1124,656,586,719,423,381,339,313,382,532,781,1338,1574,1532,1600,536,415,612,1480,1470,1252,1164,1252,1172,870,598,608,579,324,270,278,487,904,691,888,1108,1005,1001,966,1200,1188,959,709,373,344,629,626,574,617,1054,1130,717,433,451,421,479,551,517,530,1030,1282,1001,615,685,1136,1460,1538,1394,955,563,519,476,495,487,484,487,761,1202,1000,521,425,470,698,946,984,1200,1242,1184,1166,1498,995,987,1312,1312,1340,1464,866,819,633,489,918,1042,1144,967,826,1048,1158,1300,1408,1026,680,658,606,545,428,327,281,309,378,644,1278,1358,673,422,384,388,354,464,540,611,621,507,356,292,400,524,387,339,528,744,1296,1378,697,355,354,409,436,455,369,365,458,565,837,819,810,780,526,390,755,705,420,389,474,681,844,1054,1136,1216,803,468,692,1110,1018,758,658,729,742,537,382,678,858,604,538,357,297,351,515,730,684,429,326,320,331,401,310,292,305,542,1166,1278,849,684,541,477,401,375,395,490,845,623,413,607,654,570,619,515,695,1060,859,491,421,337,346,391,419,362,388,371,346,365,340,316,413,475,431,363,477,603,714,774,710,552,416,362,360,391,383,444,640,729,552,497,616,479,453,430,429,455,460,445,433,453,479,487,508,506,493,468,468,498,513,758,810,838,979,969,680,720,1158,1506,1758,1534,1212,865,758,1248,1282,1052,1192,1282,1450,1448,852,917,928,905,1060,1400,1586,1502,1064,646,833,929,536,896,1406,1210,1034,940,1116,1396,775,373,415,408,406,384,339,350,378,525,681,670,641,568,670,941,1034,744,405,671,1140,1084,1038,1030,1736,1804,1056,603,452,613,651,628,786,1009,902,1122,1066,428,536,839,872,1056,1136,901,592,439,396,543,998,1118,974,988,800,633,558,707,867,797,693,471,372,354,381,370,400,391,277,248,365,615,538,390,304,260,286,458,435,439,658,904,641,559,500,539,530,522,614,651,698,793,864,698,797,747,1034,1110,731,749,867,1226,1596,1418,1196,1566,1552,952,1034,605,631,959,808,697,1068,1454,949,425,422,451,543,1212,2236,1818,1404,1374,1018,859,695,713,926,916,861,1028,934,731,1164,1524,1486,1342,1296,1218,1160,998,805,984,1216,770,490,725,1030,1052,755,534,430,731,667,428,347,318,329,345,355,328,304,323,354,354,331,334,546,633,487,348,348,336,332,350,354,342,296,286,332,409,404,367,382,392,420,705,1082,1098,1196,1007,857,592,417,423,490,464,453,401,301,361,481,736,1294,1516,1548,1288,1334,1426,1300,1140,1120,1218,1188,1252,1088,610,442,571,738,617,587,894,873,661,632,594,661,1078,2020,2302,1756,1180,1132,1140,1102,1334,1648,1438,1078,1160,697,841,1308,1792,1268,766,597,711,983,1304,1296,1100,975,1098,1308,906,485,396,454,395,345,363,455,582,505,456,512,530,522,534,536,548,590,707,722,806,1108,1164,1706,1622,934,1278,1426,864,1156,1596,1448,851,666,943,860,1272,1872,1508,1008,999,876,959,1168,1438,1128,516,545,1296,1276,1180,1380,1302,1268,1230,1272,1340,1224,1106,839,776,966,1044,874,955,922,1120,1386,1342,1250,1218,1282,1222,995,926,1164,1278,1072,1046,1186,1382,1484,1532,1156,1050,1306,1144,1062,1064,979,1428,1472,1208,1210,1176,976,857,823,603,683,681,554,620,576,511,764,1112,1200,1230,1274,1358,1256,1392,1302,1028,927,706,534,456,553,962,744,1250,2086,1038,646,948,1250,1007,957,1220,1066,993,847,676,683,565,940,1438,1300,1342,1130,1030,805,804,1054,1492,1416,1016,1152,1216,1056,1242,1256,861,772,718,709,568,520,670,863,1078,1348,1222,1102,1094,1120,1196,1448,1442,1100,1404,1562,1410,1244,1060,913,1090,1118,1244,1216,834,557,498,534,484,464,525,694,767,752,698,546,782,1176,1642,1596,1678,936,806,775,973,915,880,1116,1194,1180,1182,843,868,1090,1392,1626,1308,1130,1236,1218,1284,1574,1542,1336,772,532,587,661,871,808,871,997,762,607,910,877],[667,601,489,349,420,397,502,904,1440,1750,1434,832,577,594,770,880,785,624,471,421,386,538,596,428,361,438,441,424,439,444,636,1456,1708,1348,1332,1196,719,875,1318,1494,1426,981,1160,645,329,301,339,407,327,273,317,369,464,460,458,1172,1958,1830,1720,1390,1048,952,812,744,1250,1396,1570,1824,1202,663,760,1460,1478,1222,1262,948,772,968,1138,1184,1460,1472,817,609,1066,1214,865,964,1122,1168,813,479,416,351,341,367,478,783,1110,827,693,1040,1062,1148,1296,1662,1600,1250,1398,1366,1270,1196,926,594,1004,1648,1046,419,562,683,651,445,372,380,299,270,258,261,277,227,243,289,331,352,410,408,446,577,620,527,558,689,749,690,591,725,1011,1296,1156,896,613,631,650,385,550,1388,1062,1246,1354,1482,1950,1758,1102,982,973,561,900,1606,1534,1038,685,719,509,459,1001,1396,1202,1262,1362,1054,1280,1274,639,542,1180,728,564,1038,1310,1164,1362,1498,1206,888,794,546,778,1576,1354,1106,1392,1228,1134,1708,1752,1384,1472,1410,1196,1210,1192,1116,888,651,467,505,647,794,975,1019,836,669,942,793,590,715,937,1212,1242,933,988,1322,1420,1510,1782,2220,1614,1394,1038,731,561,374,385,880,839,505,462,694,1192,1406,1290,813,955,1021,906,1042,794,480,690,1222,1392,1066,1192,1302,1488,1874,1518,1224,1322,1088,933,1032,840,801,1112,1162,1084,951,918,1084,1258,1432,1136,771,609,762,810,669,766,1042,1398,1400,1216,1094,1078,1334,1174,1092,936,1202,1324,1368,1350,1009,662,830,891,1150,1246,1506,1456,1050,1108,1058,933,1066,1066,853,1072,1262,1412,1368,1192,987,943,1308,1406,830,1015,1734,1864,1458,845,945,760,364,282,469,994,856,772,825,1034,1084,580,489,468,489,753,1460,1386,1238,1096,689,401,370,360,372,450,415,437,517,752,640,733,703,1210,1256,876,811,890,1240,1252,732,694,1066,1534,1936,1570,1472,1800,1882,1830,1732,1620,1704,1854,1488,1310,1926,2130,1694,1230,982,1246,1236,1448,1926,2128,1752,1430,1412,1724,1844,1704,1784,2060,1984,1816,1628,1444,1240,1240,1430,1484,1206,904,1216,1528,1852,1234,1052,1278,1404,1306,723,529,993,1804,1588,1188,1126,1180,1096,1086,770,958,1204,1284,1142,962,1166,1158,1166,1294,1230,1218,1158,1176,1110,1064,1180,1438,1120,720,702,1028,1598,1742,1650,1650,1622,1658,1728,1736,1532,1152,1128,1042,807,944,1476,1470,1094,1168,1256,1336,1122,1036,976,769,741,944,1208,1332,1102,830,841,1004,1236,1262,894,1015,1314,934,617,783,788,438,586,789,802,645,569,1008,1184,903,669,543,583,614,734,1112,1250,1084,925,1444,1336,1280,1144,1114,1202,1015,807,875,1074,897,581,614,510,481,559,500,492,683,945,875,542,946,1202,945,886,686,738,1112,1218,1146,1186,929,525,444,474,544,544,539,625,740,884,1007,998,1028,848,520,590,547,419,425,466,544,608,618,601,563,577,613,522,448,461,570,550,473,460,406,474,590,717,701,777,1146,1092,1078,1194,1300,1314,1146,998,1154,1196,944,1294,1836,677,404,400,422,407,370,342,360,387,459,443,368,328,347,342,348,336,329,366,457,512,727,944,1182,1005,594,603,504,456,677,590,442,401,430,457,458,434,427,500,442,456,671,1000,883,767,749,836,879,700,650,649,545,463,484,533,844,1260,1466,1428,1370,1288,1528,1818,1788,1730,1694,1412,1048,972,866,824,664,591,609,975,1142,995,784,952,1004,1194,1476,1452,1406,1396,1456,1140,1092,1148,1152,1206,1420,1388,1178,1172,1194,1138,883,541,588,927,796,594,1238,2246,2658,2454,1980,1720,1698,1498,1642,1084,1108,1342,1316,1500,1388,1364,1460,1634,2248,2380,2198,2100,2024,1876,1798,1458,1238,1006,978,1054,1422,1744,1646,1896,1810,1608,1540,1350,1238,1260,1428,1710,1802,2138,2170,2072,1656,1106,1084,1162,1670,1614,1636,1604,1676,1932,2658,2566,2232,1796,1224,1266,922,1152,1432,840,1023,1136,755,667,1306,1672,1382,990,1124,1322,1542,1460,733,620,1154,1292,852,879,694,697,723,789,803,775,703,724,829,1130,1072,1284,949,579,716,618,580,618,810,1003,1174,1202,1390,1144,1302,1015,1042,1432,1522,1474,1570,1904,1704,1222,1172,1366,1382,1400,1272,1350,1216,1120,1116,1132,1208,1476,1422,1396,1356,1458,1416,1012,915,1416,1664,1528,1854,1424,747,798,761,521,474,703,869,720,460,487,499,377,559,725,652,508,442,355,360,404,499,684,886,800,656,566,497,559,685,629,664,877,717,634,774,667,816,890,1290,1168,613,383,384,606,1240,1440,1300,1340,861,1132,1290,1042,616,438,541,502,360,494,473,237,217,365,701,733,813,809,466,329,289,309,432,523,653,1202,1824,1950,1384,471,393,510,1396,1596,1348,1388,1444,1100,873,646,584,633,406,270,281,719,769,425,539,662,683,869,837,1274,990,1404,898,401,347,557,568,548,574,825,1260,1252,855,517,469,466,402,421,781,1272,1320,847,642,760,885,1114,1370,1478,1294,734,537,484,544,519,473,509,551,790,1050,769,478,493,489,522,803,1254,1218,1042,824,1162,1202,715,846,1214,1036,1152,1019,971,579,412,612,1162,1382,1152,874,692,1072,1326,1218,1382,899,765,612,559,531,416,290,326,548,968,1314,1510,1150,533,396,438,392,335,498,576,544,598,610,775,821,636,291,297,338,395,621,692,469,333,433,576,563,503,432,469,564,654,886,692,903,587,472,673,684,596,739,684,578,500,857,1482,1266,799,642,486,520,623,537,493,502,486,581,458,406,724,826,804,768,543,454,660,852,676,620,528,412,357,381,607,511,371,310,371,881,1026,601,348,350,369,454,529,588,649,790,375,437,743,764,767,913,967,1012,1260,955,448,404,382,342,346,353,341,358,354,340,383,426,391,360,379,359,348,503,554,599,654,576,423,347,315,372,434,410,490,692,692,705,567,476,418,438,458,494,494,470,478,487,497,455,541,494,476,469,504,500,497,505,618,782,788,875,1232,1050,678,935,1676,1990,1282,913,780,550,930,1120,800,1042,1306,1432,1682,1256,1144,1032,955,1046,1084,1023,905,635,628,1026,1102,926,1266,1732,1522,1094,810,920,1146,780,453,476,450,448,403,342,405,600,1026,963,542,599,582,423,677,1108,1376,941,888,1044,641,805,851,999,956,912,803,549,562,800,923,1002,1228,807,1250,1218,723,760,896,811,1166,1466,985,716,532,727,999,1322,1110,823,1019,1012,977,929,1256,1244,813,548,416,404,360,375,355,398,429,306,245,251,236,252,274,345,344,308,619,659,745,658,564,571,586,512,505,472,561,658,656,606,752,802,578,505,489,645,857,765,824,1302,1138,945,1396,1180,1406,1514,988,1308,1004,737,884,625,600,1388,1742,1032,626,738,808,799,851,1106,968,894,1072,940,790,612,377,454,819,1202,1208,1284,941,1032,1206,1172,1232,1360,1558,1678,1482,1348,1400,1420,1178,1019,906,681,527,514,600,625,645,522,375,327,307,333,351,359,339,315,322,338,357,343,342,388,493,498,367,348,350,348,343,332,334,318,314,386,440,384,350,338,365,371,558,1246,1338,1314,1160,1196,904,538,529,531,473,497,494,314,361,486,608,1086,1352,1346,1250,1184,1232,1272,1146,1114,1240,1044,980,1120,1003,636,496,703,692,679,807,767,686,670,634,569,617,1226,1538,1370,1286,1290,927,883,1250,1156,896,1198,1610,855,1140,1476,1870,1750,1260,940,913,1200,1454,1108,935,724,814,1050,785,513,375,396,360,320,377,529,805,1048,953,758,947,955,822,915,908,997,1122,1114,1362,1426,1370,1772,1946,1606,1972,1650,1230,1144,1294,767,474,821,975,833,1318,1572,1036,720,892,1002,1086,1446,1802,1482,625,431,1009,1122,1005,973,735,1028,1162,1222,1122,1102,1011,695,727,979,960,954,904,850,1104,1170,1250,1272,1294,1274,1106,1066,937,1200,1328,1214,1246,1226,1054,1196,1510,1144,1204,1486,1340,1266,1230,1052,1310,1478,1444,1320,1172,1196,969,748,733,684,481,704,1218,836,760,987,972,1418,1472,1044,1252,1290,1448,1310,1222,1202,956,765,735,710,905,928,1468,1842,687,596,897,982,1102,1166,1166,1294,1290,1198,1194,992,761,856,1194,1222,1188,1058,1218,1334,1142,1206,1466,1338,1252,1306,1484,1396,1420,1360,944,778,616,582,527,522,988,1186,1180,1276,1332,1288,1124,1120,1372,1694,1390,1248,1720,1932,1522,1432,1090,918,889,913,1170,1172,887,860,1038,969,662,462,562,584,409,481,573,481,959,1484,1020,1206,1660,909,645,643,836,1108,1222,1166,1216,1244,1436,1302,1258,1416,1338,1262,935,869,1238,1302,1498,1880,1432,1312,758,583,582,677,795,771,726,755,567,457,680,677],[618,822,745,428,529,561,530,775,1076,993,758,677,875,1064,1118,1446,1252,643,427,364,362,410,429,433,372,363,327,328,346,359,601,846,1194,1282,1036,831,703,741,1078,1304,1288,805,615,418,297,298,356,393,367,329,323,359,453,466,424,785,1050,1676,1984,1488,931,860,820,941,1388,1326,1278,1562,1390,650,676,1384,1492,955,631,465,471,781,1272,1532,1800,1910,1174,996,1372,1072,913,1296,1416,1346,1092,558,355,390,514,545,880,1150,1318,984,831,999,1332,1390,1486,1600,1060,1102,1360,1188,1156,741,383,367,448,606,387,375,514,550,501,406,411,397,266,252,279,297,318,287,280,302,344,368,370,459,607,683,760,731,673,716,742,729,683,521,527,715,1042,1396,1168,850,545,482,835,1206,1060,1378,1262,1460,1836,1758,1258,1210,1158,669,695,1328,1092,629,739,696,656,738,1100,1182,1034,1360,1466,1292,1316,1218,684,609,955,688,592,1366,1754,1362,1650,1450,1074,572,476,488,743,1456,1146,964,1478,1632,1502,1600,1410,1274,1414,1226,1428,1296,1630,1820,1118,639,502,446,595,1023,1378,1186,882,630,998,1208,1654,1738,1476,1224,1334,1068,1122,1526,1510,1094,1168,2128,2236,1898,1256,894,716,720,925,1022,841,891,805,1182,1714,2144,1432,805,1016,1228,1202,1172,885,640,1246,1748,1290,1076,1142,728,955,1066,858,771,707,618,714,1021,1011,1484,2126,1618,1054,874,727,701,908,1338,1178,621,559,658,548,669,1040,1258,1582,1700,1542,753,786,1230,1344,961,836,789,772,1114,1284,1284,1036,907,1176,915,784,1032,1082,1074,954,1116,1444,1172,894,1302,1318,1052,988,1196,1210,1011,1548,2286,1820,979,1428,1804,1732,1142,608,774,529,320,304,533,1354,1368,733,820,1328,1392,580,479,540,756,813,677,628,711,632,410,367,418,446,376,440,456,462,681,952,912,612,579,1076,1554,1704,1432,1460,1832,1470,1019,998,1098,1554,1816,1726,1656,1602,1460,1414,1412,1432,1694,1986,1532,1460,2248,2908,2296,1260,847,1044,1368,1700,1848,1740,1064,1334,1362,1398,1300,1262,1570,1798,1752,1734,1792,1764,1610,1660,1648,1446,1170,828,1144,1788,2062,1218,985,1220,1426,1148,621,697,1078,2140,1824,1464,1066,1238,930,808,855,993,1188,1454,1296,1134,1460,1512,1428,1400,1426,1574,1298,1154,1210,1318,1230,1226,1472,1568,1562,1612,1546,1400,976,1240,1580,1564,1512,1450,1426,1382,1488,1362,602,854,1490,1302,764,806,968,1126,1156,1088,1078,1028,1028,1011,649,717,817,796,1023,1118,1242,1236,1086,1058,907,823,964,1452,1626,940,973,943,932,920,854,1126,1112,959,774,742,1196,1190,927,1132,1350,955,821,1100,1224,1480,1278,1015,1126,1192,1018,1032,1138,897,996,717,550,739,1362,1196,768,785,1318,1330,599,661,1058,1034,727,579,931,1414,1440,1250,1282,838,512,458,477,463,471,453,460,477,498,539,678,642,489,419,563,537,436,455,473,516,575,516,454,416,475,479,425,385,433,518,480,436,376,361,477,573,720,590,634,833,718,744,893,1086,1166,1154,1138,1130,1108,834,698,894,585,402,414,449,490,441,357,336,336,440,537,515,464,478,448,422,393,308,479,528,558,823,734,781,1050,944,1086,924,852,1352,1048,477,412,454,421,458,503,428,448,490,638,772,846,642,543,912,1216,844,508,551,453,392,368,384,589,796,866,819,653,574,578,850,1188,1166,1009,807,716,691,680,681,610,506,479,458,554,637,499,407,419,518,714,739,743,843,950,869,609,472,529,554,516,509,506,503,562,569,482,405,597,1032,1064,816,637,952,1990,2736,2692,2780,2700,2066,2022,1838,1396,1302,1458,1344,1464,1616,1504,1560,1958,2740,2720,2720,2690,2554,2498,2276,2072,1688,1098,818,1158,1526,1432,1230,1584,1850,1826,1672,1672,1562,1528,1698,2078,2370,2230,2096,2176,1748,1598,1262,1688,1886,1818,1710,1624,1606,2414,3028,2298,1958,1584,1428,1344,995,1260,1026,830,1010,965,648,922,1614,2178,2136,1762,1074,1282,1528,1544,1270,1208,1326,842,651,836,828,645,576,786,901,1015,946,801,771,992,1009,974,708,690,554,589,733,541,618,770,1236,1400,1252,1510,1888,1278,731,1040,1388,1380,1500,1392,1206,1284,1156,1344,1534,1488,1304,1254,1288,1254,1280,1334,1368,1382,1262,1408,1396,1438,1372,1364,1418,1642,1644,1742,1564,1100,1024,774,735,461,449,800,724,459,330,391,385,292,352,489,521,437,475,376,410,712,975,811,524,413,368,315,435,649,726,624,480,384,404,636,774,642,608,925,1384,1300,667,328,386,464,622,625,1076,1090,1034,1040,962,722,446,542,783,655,681,829,498,260,251,322,331,422,695,603,373,311,265,327,404,404,465,811,1306,1684,926,488,597,884,1392,1588,1498,1070,987,996,944,729,763,717,523,303,264,485,608,1034,1102,448,552,717,508,745,730,898,718,548,561,609,554,656,705,838,1316,1444,1378,750,400,366,492,757,1150,1346,1092,630,637,751,760,978,1406,1498,1216,760,571,532,532,529,485,557,604,616,803,680,475,466,483,730,780,995,1150,856,529,612,662,513,579,854,984,891,1062,879,577,515,446,893,1322,1062,1002,798,692,733,709,1132,944,764,658,604,585,481,361,342,476,964,1268,1288,1440,876,495,399,335,434,800,631,277,353,514,643,944,1000,798,514,349,304,354,413,340,518,928,769,529,469,539,669,1112,1464,1440,735,439,611,789,750,480,568,899,1030,1214,836,684,856,799,617,841,1376,1140,585,441,499,699,917,977,605,598,991,1198,1348,928,563,579,1098,1782,1248,919,659,710,943,785,733,858,657,405,443,549,511,474,404,384,404,655,822,634,942,684,419,394,546,778,849,1088,1306,829,1186,998,504,404,356,320,318,336,339,333,333,318,375,458,426,407,402,413,414,472,464,494,522,451,376,334,342,360,347,399,428,523,549,722,693,521,487,494,470,500,555,566,534,448,448,462,491,475,466,463,475,458,494,552,578,535,494,564,996,1114,784,644,1106,1382,947,619,750,761,651,563,680,738,1126,1013,1544,1506,959,640,683,1086,1246,946,969,676,457,659,1070,1080,966,1182,1210,1100,1118,982,797,788,508,549,523,482,384,440,716,1202,1420,1274,946,581,659,1148,1464,1340,1532,1342,1018,1060,669,573,610,600,509,993,1644,1268,523,682,758,727,968,801,1130,1015,684,681,642,622,1390,2178,1146,1016,956,984,783,594,577,699,787,821,901,1262,1396,1066,1080,776,491,458,433,401,372,409,361,250,267,267,296,244,227,308,349,305,1012,1084,850,595,408,503,493,448,579,789,1158,1024,815,606,896,902,803,839,808,821,816,803,1388,1928,1366,876,1088,880,901,917,801,1007,991,1078,1106,717,868,1328,1400,1168,912,899,799,685,835,1206,1278,1230,1064,806,758,583,382,526,1152,1354,1010,839,874,962,1232,1450,1456,1418,1416,1592,1538,1460,1390,1452,1170,1454,1076,852,1013,1180,1188,1024,984,803,486,333,318,324,338,338,305,298,299,333,320,308,338,332,356,363,339,346,335,332,314,306,308,316,320,374,401,349,344,312,343,376,403,827,1126,1106,981,1132,999,628,511,497,494,511,565,454,587,758,935,1188,1294,1228,1188,1168,1114,1009,1114,1190,1332,1406,1078,810,1196,1132,698,598,734,680,563,576,607,634,550,433,420,890,1358,1390,1448,1616,1470,872,876,1178,841,739,1264,823,1666,1640,1050,1164,908,691,918,1454,1454,720,680,766,914,1132,720,425,342,480,583,386,382,458,997,1312,1004,574,817,810,753,1094,1360,1234,1086,1156,1034,937,1206,1450,1662,1700,1570,1628,1566,1066,764,685,837,1110,1106,812,891,868,861,610,991,1010,800,860,1478,1306,561,593,1102,1040,716,819,841,822,971,1096,887,760,753,781,911,938,1118,1150,968,1026,1226,1160,1132,1206,1224,1062,951,1082,1202,1208,1074,1068,1172,836,719,1108,1536,1496,1104,1188,1410,1456,1232,1020,1066,1182,960,634,947,1356,1140,1248,1206,1050,937,1230,1726,1278,1090,1274,1368,1224,1238,1168,1280,1224,1620,1370,1530,1878,1512,979,1007,815,769,1020,1114,960,949,1054,854,933,1194,1190,1294,1368,1144,896,948,1208,1242,898,849,1082,883,994,1350,1712,1416,1332,1528,1406,1396,1152,1454,1500,1568,1472,1078,853,683,566,495,612,957,1160,1494,1366,1192,1258,1070,1102,1404,1526,1168,1082,1624,1560,1418,1856,968,730,865,1146,1222,1144,1112,928,1132,1240,910,694,513,462,455,596,608,448,730,1202,943,1042,869,486,524,626,740,972,1142,1034,1302,1124,1250,1500,1510,1534,1434,1322,1242,1152,1023,1108,1324,1480,1100,1224,753,640,815,841,758,770,696,619,601,452,488,678],[888,1242,860,377,492,577,576,658,724,462,449,539,660,709,799,1364,1360,664,365,372,365,358,448,535,400,334,308,311,331,429,763,1266,1674,1456,930,757,783,845,1186,1166,1174,935,591,439,379,386,502,544,458,288,317,299,389,540,438,385,875,1434,1482,1192,1021,1212,999,1040,1532,1938,1422,1098,1360,841,515,702,667,648,637,384,438,653,1046,1146,1270,1460,996,1224,1608,990,581,954,1046,1202,1350,880,768,854,759,777,919,1286,1386,1204,1068,1374,2160,2010,1378,1030,1262,1470,959,771,586,334,338,391,310,245,374,491,476,474,825,648,539,386,297,283,302,305,322,330,321,322,348,357,390,543,788,863,919,868,725,745,709,661,672,566,472,645,1484,1698,1418,1186,1148,897,1060,724,973,1316,1262,1400,1190,1198,1172,1154,1058,1246,1402,1288,702,585,695,996,1122,1196,1342,1282,1208,1388,1412,1104,1072,990,560,639,792,534,590,1344,1704,1298,1588,1424,1030,550,476,652,1116,1908,1826,1202,1372,1710,1808,2028,1360,1088,1188,1270,1196,1308,1300,1172,969,628,639,542,681,1114,1342,1220,1172,736,574,1040,2230,3044,2210,1112,872,875,1040,1044,1268,671,550,1122,2104,1750,835,553,645,899,988,957,896,1220,1294,1074,1422,1978,1098,822,1128,1116,1038,1260,1216,808,1154,1576,1782,2208,1316,694,728,745,817,788,841,918,1134,1438,996,1220,1916,1396,812,854,949,1134,1090,1054,1072,744,738,722,563,595,981,1492,1526,1182,914,533,855,1528,1338,741,912,1066,1148,1078,1678,1738,1210,758,843,811,699,558,1034,1396,1066,1126,985,781,902,1230,1272,1026,599,772,1148,1462,1966,2152,1614,1042,1354,1328,1360,1136,851,816,455,236,249,457,1026,1072,781,1138,1340,1122,566,435,541,625,548,559,478,543,795,629,451,393,397,352,505,915,1268,1538,1506,1164,823,766,1036,1484,1936,1958,1720,1882,1750,1544,1482,1456,1570,1592,1400,1058,805,655,901,1514,1800,1578,1688,1620,1412,1460,1440,1324,1190,933,855,1158,1412,1248,1066,872,1286,1394,1328,1134,1180,1370,1362,1460,1620,1672,1744,1804,1862,1626,1448,1124,854,1166,1734,1894,1258,948,1184,1350,1062,628,739,824,1594,1700,1360,1184,1332,924,671,908,1192,1214,1238,1300,1276,1494,1540,1452,1372,1340,1410,1378,1394,1588,1780,1694,1390,1526,1606,1274,1134,1046,1038,984,1222,1330,1434,1564,1282,899,1026,1442,1126,653,989,1298,1322,1028,783,900,1174,1236,1186,1104,1142,1120,930,653,646,619,574,842,1046,1176,1174,889,992,1332,1382,1112,1166,1318,1200,1430,1320,1282,1248,915,747,920,1188,1090,1236,1704,1190,659,805,968,859,1508,1430,1108,1418,1428,1134,1216,1360,1011,1172,1418,1132,1272,922,878,1180,1794,1560,1066,991,1404,1268,690,948,1064,861,627,534,753,1196,1154,1180,1222,993,859,595,512,477,442,488,509,526,504,521,515,414,374,477,530,455,469,460,455,488,495,447,434,441,432,439,441,416,436,493,419,380,357,358,423,531,557,527,662,667,594,633,693,667,625,702,919,877,727,728,903,850,642,585,516,453,505,521,392,410,398,689,966,1000,789,723,512,393,385,336,502,753,828,983,803,606,1052,1036,1144,1172,1222,1600,1316,619,454,479,495,409,441,421,397,520,684,891,852,944,1316,1446,1356,1022,839,753,1110,882,448,342,400,388,468,451,400,395,356,386,500,498,438,444,486,530,543,606,662,675,601,509,422,376,388,416,399,500,502,648,677,855,908,687,578,562,530,431,345,276,252,213,328,464,554,527,901,1402,1438,1456,1462,1598,1866,1660,1778,1640,1872,2580,2548,2230,2014,1876,1716,1376,1328,1736,1636,2014,2216,2702,2866,2872,2874,2846,2770,2732,2530,1924,1094,872,1346,1512,1506,1130,1274,1664,1654,1738,1788,1656,1616,1648,1876,2012,1682,1672,2038,1486,1340,1448,1942,1858,1924,1848,1784,1760,2156,2604,2006,1784,1194,1506,1174,1222,1374,846,890,1372,1042,622,1030,1694,2064,2050,1694,886,1194,852,889,1290,1566,1350,861,868,1104,831,581,593,852,1106,1142,1236,1074,1013,1070,1084,749,702,606,599,868,1030,960,772,1050,1448,1494,1214,1642,1912,1354,722,952,1268,1560,1488,1286,1054,1060,912,1246,1596,1510,1382,1538,1744,1550,1422,1448,1512,1438,1336,1284,1346,1538,1512,1490,1710,1614,1474,1694,1560,1412,1318,1198,1007,588,438,525,499,415,331,386,340,308,404,709,673,571,592,554,723,1262,1608,1172,420,375,360,678,1342,1300,1276,1096,596,370,377,468,607,543,383,543,1018,1242,777,363,436,490,462,579,1134,1172,1046,933,1014,713,568,504,526,486,698,737,435,253,298,313,284,380,576,593,362,243,253,386,353,254,269,431,1074,1420,750,438,511,635,833,1360,1444,753,744,787,660,578,564,647,577,395,662,861,651,1476,1338,653,608,677,528,466,553,605,521,456,501,466,430,590,625,979,1348,1166,1446,1052,626,725,930,1294,1488,1246,745,467,505,548,564,1019,1270,972,641,517,485,436,500,588,570,524,564,521,501,480,444,482,607,1126,1178,880,905,894,531,607,669,508,503,509,862,1056,860,748,721,485,449,622,1150,1248,1074,1032,609,344,254,426,697,753,666,620,520,380,389,424,626,648,964,916,1226,1340,850,374,373,549,860,419,244,267,264,245,337,672,1010,1008,791,469,419,451,405,857,1534,1288,844,553,576,860,1214,1050,710,469,596,834,771,844,845,748,696,840,1278,1124,499,408,677,689,981,1450,1162,962,697,492,697,1136,1082,723,683,919,1328,1568,959,470,428,807,1882,1942,1182,724,1288,1522,874,523,812,856,618,625,626,597,554,402,301,283,667,901,855,1106,946,749,773,869,1118,897,679,738,566,572,518,428,385,355,324,325,324,316,359,394,348,373,445,438,423,377,410,401,401,392,413,404,372,368,321,327,375,379,379,404,419,466,605,696,665,556,484,437,443,560,619,532,382,390,451,443,483,487,455,473,491,558,641,552,507,548,511,942,1194,901,558,700,1172,1074,660,670,878,670,585,703,598,1001,1296,1240,1018,607,636,1376,1908,1706,1204,1062,954,797,1186,1888,1876,1084,791,799,929,1334,1302,853,819,598,564,639,687,809,899,819,1328,1584,1332,1003,562,921,1988,1506,1128,1001,1098,954,630,382,437,516,519,678,1318,1722,1484,639,664,556,565,681,1114,1568,1180,902,727,592,799,1490,2064,1302,1300,1058,676,505,469,466,513,557,701,915,1346,1030,756,755,605,474,502,508,447,408,410,360,283,263,252,285,254,246,265,307,302,1088,1516,1084,652,410,516,487,385,732,1222,1796,1686,1262,1090,1114,844,820,946,863,851,991,973,1358,1242,828,691,709,1018,1268,1180,795,589,641,959,1326,868,743,850,1010,1036,766,714,778,697,991,1388,1124,891,925,899,802,650,497,586,1110,957,816,862,766,934,1502,1406,912,1130,1242,1134,1312,1272,1224,1482,1156,926,733,1036,1584,1742,1350,1204,1188,1090,664,365,333,327,338,310,300,312,314,321,290,291,322,332,334,328,335,333,330,318,307,293,281,290,324,345,348,359,333,325,474,505,489,840,1310,1230,1038,1216,1094,628,528,541,547,437,459,410,492,899,1168,1192,1410,1488,1550,1476,1400,987,1482,1762,1846,1882,1382,1056,1306,1350,1152,611,515,486,487,476,482,516,471,411,624,880,1130,1556,1390,1468,1708,1042,861,1784,1460,1192,1636,1060,941,752,575,644,529,539,367,533,550,911,1252,1132,1158,1144,645,411,429,834,870,463,591,472,875,1048,893,852,800,727,814,1126,1438,1094,1144,1522,1002,893,1488,1484,1336,1422,1504,1902,1706,1076,837,1102,1430,1290,754,508,574,645,753,573,955,964,736,852,1062,981,771,927,1216,1094,910,891,745,749,1068,1332,1170,916,785,721,926,1026,994,1138,837,907,1126,941,677,775,954,974,1058,1192,1176,1334,1026,797,1246,1158,774,1362,1714,1686,1582,1334,1158,1154,1024,1017,1158,952,688,737,966,1208,1280,1524,1466,1468,1320,1378,1644,1082,1042,981,1294,1132,1009,1238,1286,1338,1356,1266,1790,2520,1988,1098,1036,733,733,698,708,711,1272,1620,1218,1130,1152,1120,1546,1654,1106,735,1036,1250,1220,960,872,641,560,1150,1498,1322,1130,1600,1626,1328,1040,1246,1704,1424,1370,1392,1156,866,690,630,639,773,1100,930,1228,1520,1332,1338,1050,868,1122,1348,1354,1342,1424,1356,1148,1278,936,1096,1266,1328,952,921,991,832,814,824,865,775,505,460,506,1082,1204,810,523,679,1260,1570,1162,715,538,868,1076,890,728,814,1160,940,1046,1138,976,1038,1300,1382,1160,528,423,538,760,1352,1236,1362,955,618,1126,1380,1126,1094,585,640,717,733,728,825],[1232,1092,715,841,607,662,727,526,663,610,503,487,603,844,1074,1370,1416,1088,435,327,337,378,487,560,466,398,338,321,393,612,825,982,1150,1242,828,705,747,767,747,573,730,839,666,527,455,502,644,631,513,421,597,691,865,799,809,963,1042,1456,1688,1182,1212,1162,1272,1498,1792,1932,1224,798,1208,1088,445,532,634,728,822,496,474,468,845,858,702,567,572,1136,1638,1200,814,885,1072,1532,1470,1292,1306,1296,792,655,620,786,822,907,1242,1844,2398,2378,1534,1040,1648,1212,651,614,514,432,361,272,291,495,555,467,392,408,576,551,595,456,334,285,309,354,382,356,321,298,289,292,462,699,868,933,1009,891,785,835,759,649,622,545,563,1296,2128,2140,1160,647,827,1206,1172,1098,1304,1038,1092,1302,1058,1096,1196,1206,1224,1462,1610,1094,734,708,847,1428,1344,1404,1244,1070,1094,1056,1184,1258,1252,1028,930,1134,1058,667,775,1586,1918,1338,1007,1118,832,525,495,615,835,1266,1542,1001,997,1252,1120,1438,1254,900,913,867,880,1182,1346,1510,1464,862,861,676,640,677,1152,1252,1116,795,534,630,1250,2106,2126,1232,907,1194,1160,1188,1040,889,1154,1164,1342,977,794,698,640,775,1174,1274,1052,1176,1026,826,1076,1266,943,853,1084,1134,1244,1354,830,557,697,1028,1414,2076,1644,1204,954,572,666,665,875,1080,935,735,704,769,795,659,800,863,836,1224,1398,1096,1300,1044,893,811,609,588,603,730,800,918,889,590,739,950,788,569,705,1190,1182,1090,1754,2082,1296,634,641,803,728,451,796,1280,1304,1266,806,508,747,1110,1018,901,917,884,1042,1434,1542,1322,1038,735,1102,1260,1298,1052,941,708,313,264,280,371,564,593,787,1252,1342,1168,752,476,516,487,608,892,889,717,1228,1396,771,446,531,714,1154,1716,1782,1688,1456,913,839,1164,1288,1346,1732,2078,1820,1964,1920,1608,1498,1352,1144,1146,1134,1138,1104,927,1140,1448,1540,1572,1732,1474,1146,1001,877,794,995,1134,1078,1324,1364,1130,883,819,836,1086,1290,1256,1654,2032,1936,1810,1416,1422,1688,1778,1788,1704,1550,1116,874,1182,1666,1680,1166,1026,1220,1350,1064,639,622,798,1026,988,1086,1598,1670,1198,884,949,1204,1406,1322,1362,1362,1438,1450,1344,1294,1416,1540,1568,1676,1722,1658,1658,1590,1416,1408,1142,1142,1262,1210,1100,1122,1260,1494,1526,978,590,791,1312,1146,852,849,1230,1466,1284,1202,1344,1332,1244,1262,1158,979,889,721,557,602,710,553,521,743,1082,1010,786,799,995,1342,1126,968,1114,1017,959,965,926,778,539,416,494,672,901,1106,1246,1052,1214,1164,804,1174,1686,1032,550,1042,1476,1414,1398,1386,1198,1238,1284,1178,1154,1154,1032,1172,1328,1198,933,609,818,846,811,1202,1294,951,608,605,1100,1340,1108,1202,1180,938,1021,902,880,818,833,761,727,671,607,591,549,512,430,537,626,529,559,518,374,345,386,394,396,421,430,419,419,406,534,602,477,436,424,379,436,528,523,585,675,649,591,530,430,401,483,548,886,761,683,652,473,475,660,747,857,903,731,746,651,533,720,1168,988,752,919,1042,833,596,435,404,444,767,638,642,581,545,886,1056,1156,1122,1098,1198,804,399,415,437,478,419,393,427,500,637,729,876,918,965,1238,1196,893,1026,1260,1694,2750,1946,701,373,429,415,419,386,394,384,322,334,416,434,448,477,554,655,684,636,648,538,502,498,481,503,612,619,547,498,574,692,676,788,779,630,720,762,656,492,263,251,265,270,315,317,403,511,908,1360,1440,1526,1600,1826,2142,2242,2104,1926,1936,1630,1748,1892,1958,1926,1646,1418,1288,1954,2238,2280,2194,2354,2388,2554,2658,2728,2846,2788,2476,1788,1054,907,1302,1634,1614,1158,1142,1498,1552,1428,1302,1322,1388,1346,1280,1328,1406,968,1094,1024,1062,1670,1954,1724,1682,1848,1952,1750,1814,1664,1604,1316,1018,1348,1186,1316,1160,799,1526,2044,1386,723,722,1174,1266,1094,750,836,786,640,807,777,963,1284,1296,1234,1058,771,659,724,857,1148,1148,1156,1212,1118,1148,912,638,585,716,937,1154,1304,1332,913,960,1472,1478,1300,1362,1276,1244,1130,1218,1368,1638,1372,1026,794,776,758,1140,1472,1380,1294,1390,1924,1624,1456,1330,1498,1676,1576,1396,1402,1594,1534,1498,1650,1360,1268,1364,1498,1636,1418,1420,1176,705,559,489,432,510,494,639,869,709,580,1144,1268,986,954,894,1070,1456,1554,1092,537,569,371,650,1720,1598,1438,1332,689,306,417,460,526,633,540,581,778,965,720,436,502,630,576,1038,1710,1876,1268,568,844,854,461,444,514,916,1184,1138,576,260,302,248,221,298,477,522,338,224,224,270,221,220,258,274,562,748,662,426,448,792,935,1134,1432,871,885,706,502,381,300,386,389,420,903,1112,882,1282,1370,894,797,969,754,633,625,568,445,279,273,387,636,773,1064,1786,1676,1000,1092,1322,1358,1344,1344,1508,1390,855,404,519,544,569,516,741,669,450,427,440,379,342,439,400,557,648,596,523,594,625,585,486,514,845,1172,1190,744,1056,885,641,672,576,578,799,906,628,475,707,1138,738,506,605,775,1368,1194,1072,832,499,279,438,639,545,470,538,433,355,448,634,1246,1074,1009,1142,1272,1356,1372,656,446,658,689,371,289,328,325,302,289,308,415,656,868,1028,938,643,440,1082,1682,1700,1080,611,614,915,815,527,667,774,961,1144,1054,1348,1268,771,467,490,738,597,355,446,829,1002,861,610,456,592,691,417,413,502,338,321,581,888,1252,1164,744,617,440,481,660,955,761,1032,1504,1332,688,350,596,971,720,473,439,606,543,422,344,322,300,521,909,886,664,811,1204,1580,1852,1066,526,576,483,356,497,506,406,393,331,322,319,322,407,493,468,387,423,487,448,396,357,397,477,473,481,437,375,381,369,383,425,403,375,410,489,548,528,563,677,714,462,405,408,470,646,565,381,370,445,463,448,451,467,461,476,526,574,505,488,520,504,651,855,949,759,730,1306,1206,571,797,974,572,723,757,684,1050,1378,1224,862,691,1138,1674,1532,1180,1282,1222,1498,1282,1428,1600,1266,994,909,608,750,1098,743,653,573,586,659,756,716,857,760,462,681,945,1090,987,702,794,1046,862,990,976,862,1000,993,702,426,435,437,567,783,724,683,583,916,794,591,904,1562,1484,880,893,555,520,743,1030,1328,1406,1416,877,478,532,536,750,1086,1136,1136,1410,1274,1009,814,432,313,380,396,447,471,398,426,501,355,242,249,258,246,254,241,287,346,935,1670,1326,741,443,416,304,346,550,818,1294,1666,1548,1326,1154,783,875,675,509,652,947,610,535,436,399,408,563,921,1016,902,725,702,610,999,996,453,411,623,1156,1100,809,812,727,570,894,1280,1290,1216,996,635,592,604,502,738,1336,1242,742,659,615,774,1316,1362,1076,1110,1472,1170,1380,1272,1156,1338,1194,987,1386,1804,1650,1344,1200,1498,1158,879,537,333,319,325,331,306,304,305,347,347,320,279,278,298,319,353,339,324,330,327,316,300,285,364,331,347,358,351,325,321,447,502,483,959,1680,1498,1160,1013,727,614,530,468,453,380,314,289,327,673,1196,1362,1500,1600,2250,2502,2004,1160,1252,1600,1762,1562,1040,938,1466,1268,1366,1014,555,477,538,551,558,550,514,560,765,1096,1566,1672,1272,1396,1226,776,1290,1788,1408,1134,1316,1208,543,437,413,487,551,603,642,481,591,1212,1021,662,1001,861,481,347,505,912,722,417,464,341,458,582,551,901,957,1046,1150,698,659,589,828,978,753,1736,2040,1510,1064,1092,1352,1324,1138,1056,1028,1082,1023,1158,1088,748,800,824,750,595,666,835,846,838,798,910,788,755,1034,1236,1392,1166,968,1078,1246,1238,988,883,1044,871,893,951,674,873,705,875,943,806,650,812,1490,1714,1640,1482,1150,1230,1090,954,1406,1130,824,1338,1606,1630,1732,1664,1466,1292,946,877,1019,871,854,1590,1554,1088,948,976,1048,1278,1218,1144,1416,894,698,946,1300,1522,1344,1146,1266,1296,1260,1166,2092,2600,1710,946,813,625,785,748,681,729,1028,1172,1182,1238,1094,839,1246,1548,1003,1040,1256,1264,1092,1224,1342,878,1072,1516,1434,1356,1282,1622,1468,1078,1028,1550,1542,1136,1210,1382,1264,886,720,674,723,830,1178,1164,1332,1306,880,575,570,858,1182,1108,1026,1148,1280,1300,1180,1236,1252,1498,1442,1038,839,866,745,605,795,694,770,727,662,647,875,1400,1364,916,576,746,1112,1204,1009,1005,833,1162,1013,886,942,1138,1182,1064,1188,1202,872,874,1270,1248,713,362,407,403,889,1576,1278,1106,1006,513,907,1140,1138,1198,550,657,841,827,724,1007],[1288,951,1116,1472,979,1013,1086,661,594,595,464,462,553,1030,1516,1720,1588,1396,594,315,354,413,510,532,541,507,415,494,678,772,1015,1076,963,1070,875,856,893,871,674,475,558,867,792,607,504,581,608,576,512,719,797,628,841,1162,1450,1560,1216,1318,1410,1094,1156,1238,1750,1396,1272,1162,852,857,1118,1382,924,904,880,728,687,507,454,412,745,863,700,797,991,1490,1632,1470,1780,1288,987,1254,1398,1376,1276,1136,825,662,502,542,868,1306,1632,2132,2402,2512,1890,1250,991,597,633,632,523,472,441,430,780,924,680,508,414,414,467,508,415,354,318,310,400,432,342,257,258,302,304,366,572,735,816,886,901,948,1042,991,807,733,1026,1196,994,1482,1914,1386,635,404,507,759,990,1332,1414,1050,760,751,672,993,930,811,1056,1306,1204,777,640,838,1466,1846,1278,1276,1260,1146,976,847,864,1132,1328,1376,1326,1200,1006,1092,1260,1528,1474,1012,771,873,771,531,518,536,692,1106,1316,1001,1182,1066,1148,1688,1480,1128,1196,1238,1286,1520,1686,1432,1266,1268,1290,1200,1038,896,1110,1070,852,594,451,453,633,1340,1708,1308,1532,1534,1650,1654,1174,1138,1376,1654,1210,996,1020,860,694,532,835,1078,1494,1736,1516,1422,1630,1522,1164,871,907,848,1210,1166,695,579,484,724,922,1104,1436,1664,1358,1076,948,897,819,918,1005,1034,774,708,767,726,1015,1332,962,1300,1458,1426,1450,1040,791,586,462,531,579,517,474,778,1212,990,766,543,484,447,484,915,1084,1338,1926,1896,1074,619,678,547,463,371,393,898,1174,916,893,772,590,545,539,692,880,1046,1078,1278,1268,1268,1040,1005,1094,1146,1130,948,862,488,252,256,349,336,415,494,648,970,1186,1544,1210,554,513,642,1068,1222,1230,909,1326,1670,1212,980,1028,1204,1634,1794,1570,1576,1664,1338,1294,1510,1438,1322,1570,1716,1700,1680,1380,1212,1358,1402,1412,1474,1356,1376,1178,1256,1402,1178,1246,1306,984,872,966,968,1048,553,616,966,861,1198,1016,971,832,753,998,1228,1244,1238,1664,1850,1982,1860,1180,1120,1334,1406,1466,1610,1614,1422,1296,1288,1576,1438,872,1030,1274,1282,1030,866,705,831,1098,1224,1382,1404,1296,1372,1128,1112,1340,1340,1232,1360,1456,1438,1472,1472,1516,1606,1608,1430,1260,1464,1438,1310,1484,1332,1166,1298,1342,1150,991,838,970,1058,1184,1128,739,587,803,1356,1104,573,567,1098,1472,1438,1366,1158,855,1038,1232,1056,667,511,488,539,631,701,620,773,1290,1268,678,732,913,946,933,1064,1136,939,1046,1396,1198,883,574,527,529,638,669,664,897,1096,938,1312,1528,1208,1222,1250,788,534,848,1346,1452,1212,1198,1318,1382,1300,1200,1226,1284,1360,1360,1354,1382,799,583,808,827,1040,1228,1166,987,762,833,1242,1302,1104,1196,835,547,508,677,796,882,1096,1190,1056,1044,1434,1264,898,525,452,557,650,618,591,484,355,332,369,415,473,443,411,393,371,395,546,572,474,474,487,415,433,501,523,540,505,497,468,513,537,447,478,489,505,466,549,535,388,434,572,604,557,617,541,566,562,778,1246,1007,567,473,460,594,828,861,843,587,441,465,395,384,380,488,737,981,1114,1086,1098,974,671,440,404,385,344,367,401,457,582,689,761,799,876,848,1378,1606,1614,1548,1416,984,1354,1412,696,399,360,285,291,316,304,309,275,302,480,508,518,535,554,706,916,1058,736,474,473,446,419,538,714,774,670,583,605,575,548,546,549,537,704,786,657,415,295,356,350,332,356,364,369,459,946,1390,1496,1460,1528,1610,1572,1556,1750,1896,1956,2104,1852,1416,1530,1344,1338,1446,1358,1888,2056,1942,1798,1790,2070,2134,2200,2200,2146,2312,1926,1466,1262,1290,1674,1826,1656,1522,1660,1714,1720,1644,1478,1472,1390,1342,1376,1404,1470,911,681,721,1030,1778,2132,2052,1968,1980,2062,1840,1832,1704,1650,913,916,1390,1556,1500,871,807,1460,1440,1472,1312,847,756,977,707,880,1334,1018,751,838,623,597,775,1052,1366,1318,1158,1003,922,1098,1356,1416,1680,1446,1180,1032,670,583,782,1166,943,874,1128,1274,1013,993,1266,1298,1604,1520,995,904,998,902,1260,1402,1338,1144,794,765,730,815,1220,1390,1336,1400,2038,1594,1262,1100,1406,1542,1418,1378,1284,1202,1620,1628,1492,1418,1316,1248,1418,1612,1648,1572,1300,799,641,669,728,629,698,1174,1732,1300,872,1654,1706,1300,1692,1744,1256,1360,1338,884,974,983,672,808,1406,1584,1598,1354,760,407,479,565,575,602,841,1152,931,741,578,544,619,609,427,650,1208,1200,582,413,460,733,685,520,685,1116,1005,714,492,485,300,224,201,290,396,299,289,275,207,211,221,191,234,428,764,821,702,454,358,491,551,712,1028,673,475,572,523,458,457,409,365,433,1100,1324,818,1058,1398,875,835,1090,893,885,746,698,559,346,350,594,896,910,843,1268,1674,1306,820,1000,1396,1490,1554,1346,871,482,324,441,447,449,450,424,388,404,530,753,502,354,273,270,419,549,479,584,728,737,580,546,398,403,785,1466,965,961,1162,855,568,689,862,936,774,697,1028,664,1046,1246,847,1004,763,1114,1434,1210,919,824,480,597,651,387,314,376,369,355,599,1026,1384,1436,1266,943,1206,991,1470,1134,562,811,532,359,357,359,375,371,379,361,302,280,395,649,1158,1158,1034,792,832,940,586,521,752,688,557,454,591,836,1180,1370,1220,1098,864,600,384,416,488,616,892,785,594,1005,664,322,461,808,662,393,446,652,699,648,669,947,1278,880,559,554,447,406,384,348,570,1018,1282,1158,734,396,533,934,792,386,384,657,665,590,614,593,365,477,603,394,385,627,1028,1162,1148,554,559,736,472,346,540,631,404,373,364,338,326,336,393,484,523,438,437,528,562,535,504,461,391,446,482,421,387,401,385,394,419,427,418,466,551,651,582,520,535,719,546,398,379,455,593,557,443,455,501,497,423,412,463,461,469,476,463,473,511,513,494,503,487,623,758,636,697,604,553,1054,940,680,915,940,918,1106,1368,1306,1172,948,1008,574,605,1026,1374,1528,1610,1520,1684,1704,1622,1480,1782,1392,1011,622,728,821,803,895,1048,844,479,536,638,634,722,984,1036,616,431,612,652,581,813,1044,852,631,746,1062,700,516,683,752,673,498,490,594,864,901,636,709,1082,924,742,606,556,617,756,762,1302,1770,1692,1224,676,702,990,1352,1500,1520,1434,1462,1284,999,684,374,347,386,370,408,453,501,507,518,334,254,304,290,287,307,259,279,343,839,1424,1054,567,336,290,323,454,503,426,683,1160,1134,839,846,974,1166,727,482,692,835,553,347,439,517,401,617,985,955,767,1034,1034,766,1212,877,446,489,606,917,1036,956,924,913,1026,1058,1116,1180,1068,904,758,671,620,529,1016,1870,1630,622,427,546,645,740,656,907,1312,1464,1404,1510,1498,1436,1296,1160,1394,1908,1692,1520,1166,888,867,705,534,374,306,311,311,313,307,325,320,331,351,323,297,301,317,327,337,345,347,339,324,300,300,285,418,349,327,319,304,306,308,356,401,422,792,1156,938,667,506,397,440,393,319,337,339,296,363,350,585,1286,1400,1720,1560,1698,1566,1234,1208,1128,996,1260,1342,1218,931,1006,952,1130,1372,906,544,518,572,534,519,676,825,1136,1690,1436,1250,1500,1452,1602,1404,1294,1316,1500,1526,1472,1688,897,548,500,498,378,955,1528,863,766,1262,1246,1250,1426,910,589,372,378,437,384,348,391,383,535,581,866,1200,796,1090,1172,563,572,531,551,550,492,1144,1198,1052,1166,1100,814,628,852,1362,1244,908,908,899,1007,783,587,539,681,752,573,689,847,840,892,927,741,728,985,1015,1228,1276,1090,1148,1194,1013,972,857,1028,1110,1001,875,689,883,1050,1112,998,977,789,796,1452,1774,1958,1870,1302,1100,1036,1050,1088,943,976,1054,1186,1438,1810,1754,1606,1720,1590,1440,1210,1406,1548,1738,1726,1466,1360,1320,945,1058,1232,1046,1172,1058,837,950,1130,1446,1218,1050,1084,810,982,1206,2396,2420,1286,878,805,725,713,662,686,904,987,810,873,1144,1198,1138,1382,1356,1208,1188,1148,1244,1018,1020,937,939,1482,1416,1160,1198,1360,1516,1376,1136,1510,1558,924,944,1204,1278,1340,955,760,743,687,965,1396,1400,1108,998,908,412,759,1180,1382,1254,906,1032,1156,1180,1140,1132,1007,1006,1028,1023,1124,1026,807,674,719,428,486,660,662,651,905,1262,1322,916,680,1042,1388,1244,913,1108,1124,1150,1054,890,1005,1122,940,869,1026,1024,1005,1134,1306,1146,620,448,409,550,1182,1598,1348,1218,1236,549,648,562,599,542,610,700,728,699,1014,1410],[1060,1138,1354,1108,1010,1180,1184,1054,656,462,428,404,548,1212,1956,1932,1566,1462,696,297,294,327,422,473,538,539,492,741,989,877,1136,875,984,1278,1162,954,984,1044,683,535,651,911,968,1180,751,451,428,439,456,694,630,405,745,1520,1492,1348,1086,966,1118,896,684,1015,1338,872,785,782,594,684,756,855,656,703,582,406,538,629,698,874,1180,1266,1396,1526,1282,1910,1640,1792,2066,1518,1288,1390,1716,1562,1362,1364,1001,711,469,538,924,1318,1654,1770,1610,1354,1096,1044,781,573,758,629,630,606,556,505,974,885,1096,943,600,518,618,633,416,309,283,310,325,311,271,258,292,354,354,449,705,805,803,822,835,894,969,929,741,828,1260,1964,1714,1290,1296,955,440,415,727,957,764,768,633,634,824,658,474,727,818,827,1168,1088,1128,1072,670,1106,1718,1526,1228,1420,1750,2106,1842,1140,1030,1210,1024,1222,1528,1354,1044,1318,1500,1484,1432,1216,1110,1054,777,563,566,660,842,1154,1162,1152,1326,1078,1432,1914,1606,1384,1358,1312,1312,1324,1318,1424,1018,1210,1428,1572,1506,1126,986,995,846,625,380,370,390,633,1350,1868,2426,2122,1734,1478,1190,1144,1202,1492,1216,1440,1526,1232,771,449,414,482,698,1144,1656,1938,1642,1126,1062,1118,1050,702,703,805,924,747,591,875,854,830,1252,1396,1184,1524,1148,1174,949,750,802,800,529,566,905,1050,1400,1552,858,1112,1428,1368,1062,730,535,444,359,436,456,487,489,666,921,951,1222,1050,672,421,430,727,904,826,1154,1446,1102,1112,1216,888,910,666,418,556,771,665,804,1132,702,601,651,582,490,623,1114,1250,1146,1238,1436,1494,1036,889,1182,1168,764,326,278,292,365,312,464,592,724,788,970,1428,1142,558,453,508,684,757,1084,1306,1544,1746,1780,1580,1238,1346,1734,1804,1700,1772,1886,1690,1692,1658,1514,1518,1660,1594,1350,1280,1200,1214,1226,1306,1212,1218,1174,1112,1192,1272,1226,1164,1244,1218,732,540,664,751,1030,1036,1102,1094,1204,1286,1070,992,724,841,1162,1280,1234,1318,1740,1646,1400,1188,924,1010,1214,1318,1466,1572,1394,1252,1266,1526,1710,1362,1114,1280,1394,1448,1432,1328,1058,977,1332,1564,1482,1230,1650,1738,1554,1450,1560,1444,1260,1454,1594,1628,1676,1532,1316,1008,1220,995,653,1186,1582,1650,1834,1686,1396,1414,1312,1058,709,617,816,760,876,637,458,510,1028,1204,707,561,855,1246,1412,1514,1204,860,566,696,815,604,618,634,488,492,583,556,473,544,796,1038,775,776,787,761,992,1180,1098,1110,1716,1960,1494,851,971,1106,706,827,980,1148,1434,1420,1034,863,918,915,938,1020,889,901,942,1356,1698,1294,1138,1152,1106,1058,1196,1272,1348,1550,1324,1572,1570,1252,853,941,973,1116,1114,958,1066,1370,1736,2006,1530,1108,1108,600,393,331,387,509,713,1122,1448,1240,1084,1528,1294,1126,594,521,732,889,823,651,524,463,499,415,425,428,480,470,413,349,341,380,406,397,420,427,393,414,464,544,611,484,403,370,538,612,469,440,445,450,496,488,469,383,417,512,489,407,458,412,335,310,756,986,630,521,423,366,376,386,516,636,828,806,732,562,514,661,614,781,774,1086,1368,1350,1002,968,890,607,404,262,357,395,382,426,528,752,824,811,868,1674,1990,1940,1948,1892,1492,1278,1017,496,418,389,400,353,349,328,296,283,365,527,584,572,524,590,1404,2428,2724,1168,636,584,435,381,457,559,578,530,502,489,431,489,473,516,522,641,707,564,312,260,354,395,377,380,363,421,515,1040,1358,1404,1426,1480,1818,2000,1862,1766,1542,1464,1432,1420,1426,1312,1060,1310,1584,1758,1922,1954,2004,1744,1566,1334,1362,1722,2110,2188,1670,1418,1132,825,978,1454,1630,1332,1124,1350,1510,1478,1350,1112,1126,1198,1168,1106,1080,1134,944,800,814,1172,2290,2676,2302,2204,2062,2020,1988,1798,1614,1360,948,904,1156,1328,1184,661,1406,1786,1534,1704,1698,907,512,960,1292,1256,974,1064,1024,1080,939,694,673,797,1032,1194,1272,1208,1156,1404,1366,1438,1700,1398,1144,741,604,462,904,989,615,926,1332,1222,1356,1268,1266,1346,1516,1468,1023,813,770,553,985,1218,1228,1230,879,791,827,755,1098,1206,1202,1514,1414,1186,1246,1310,1234,1214,1302,1412,1304,1350,1666,1540,1590,1342,1100,1200,1470,1662,1748,1544,1152,941,1488,1532,1021,704,966,1448,1686,1216,720,685,562,769,1278,1384,924,888,831,1104,1494,1560,1222,1194,1654,1662,1408,984,531,598,792,685,730,694,1126,1528,1230,853,818,703,625,487,472,372,442,539,860,951,504,404,772,749,852,943,477,542,766,714,348,273,193,179,270,288,350,344,314,295,265,241,295,586,1168,777,521,381,348,390,426,497,416,340,400,546,490,567,472,275,360,428,924,1040,583,485,711,756,896,946,790,857,938,834,542,474,672,772,756,726,632,772,1388,1450,883,783,1136,1474,1482,1234,705,448,444,406,390,410,392,406,484,501,732,1116,690,333,282,289,347,375,376,451,598,828,670,645,403,328,487,1056,1282,1007,1028,942,676,865,837,849,1007,1134,1378,893,802,1260,1208,1176,1007,887,1104,1364,1074,974,702,598,651,478,408,383,370,438,635,1132,1360,1344,1568,910,930,977,893,781,742,643,350,339,358,365,375,389,450,460,411,358,342,301,307,664,816,819,1007,874,482,433,627,503,475,504,798,1144,1196,1418,1240,866,1064,827,410,654,921,778,775,648,394,379,374,464,633,777,736,607,644,919,1116,928,661,790,1018,703,619,710,753,775,744,430,470,613,803,949,799,678,675,819,910,587,883,1084,717,648,846,886,472,495,346,247,312,422,603,851,819,569,719,716,502,398,647,1011,538,363,369,346,332,346,408,516,569,505,448,460,530,484,571,616,470,378,389,394,381,343,358,403,491,478,413,447,452,524,591,549,525,659,619,455,341,359,405,425,434,473,483,494,436,414,444,470,494,497,488,548,615,554,473,452,437,500,500,478,452,509,547,814,768,618,730,883,1086,1162,1270,1522,1434,999,913,593,676,1322,1450,1406,1528,2018,2448,1594,1310,1230,1886,1316,902,817,855,1030,1090,1242,1412,819,542,935,1140,1086,1144,1244,1328,709,306,412,502,400,453,774,951,541,387,820,1120,881,789,772,746,686,775,843,910,1224,938,437,381,398,684,819,822,744,783,633,842,1208,1672,1404,1001,1368,2014,1770,1894,1804,1296,1128,1170,1072,721,344,375,397,393,464,670,841,682,524,372,261,340,353,325,282,243,264,279,710,1036,593,308,273,297,274,359,525,672,727,754,976,814,897,1576,1204,787,591,483,466,422,412,500,579,435,675,1262,1394,976,849,1324,1132,1124,736,361,410,615,1088,1532,1224,977,1118,1708,1322,760,791,963,1140,1054,769,627,798,1264,1476,1216,645,480,803,794,621,561,954,1164,1170,1458,1700,1660,1692,1150,1076,1204,1174,860,1390,1228,670,518,537,476,337,300,307,307,315,348,359,332,309,326,343,331,311,319,334,331,365,384,353,318,293,298,290,325,317,305,295,301,299,274,315,345,352,440,423,340,323,339,358,406,372,291,370,542,362,422,368,484,1256,1538,1972,1600,1016,862,984,1148,1186,855,901,1042,1194,1064,927,1048,1106,1544,1524,961,574,511,499,642,844,877,1100,1282,1464,1628,1364,1282,1874,1638,1013,1001,1386,1556,1410,1310,700,546,474,463,359,532,730,698,807,1196,1642,1334,1390,1272,1072,859,664,612,648,733,664,541,637,714,853,885,642,908,952,630,548,630,741,678,617,634,683,933,1354,1380,889,727,731,1058,1048,912,1216,1020,922,875,615,716,995,856,661,795,899,758,920,1009,777,837,968,938,1188,1406,1466,1342,1086,1154,966,553,873,1158,907,893,1064,1068,1268,1268,820,872,706,566,1312,1754,2052,1648,1200,1372,1370,1278,1001,811,929,1110,1386,1730,1844,1744,1376,1708,1816,1704,1686,1756,1728,1678,1780,1792,1780,1742,1688,1678,1700,1618,1576,1280,946,896,1042,929,753,843,835,590,764,1922,2146,1622,1024,863,866,832,775,737,706,772,783,873,1120,1001,934,1202,1368,1456,1580,1164,973,1232,1174,1118,1052,1260,1400,1152,1196,1078,1482,1400,1076,1126,1376,1276,1054,1050,937,1168,1400,956,664,807,799,1108,1286,1300,998,849,796,415,644,875,1290,1416,1094,993,955,1036,1244,1264,902,689,900,1060,1370,1266,922,810,658,343,346,791,1130,935,790,924,1136,1300,1082,1176,1430,1290,1070,1302,1322,1066,1060,921,907,906,1062,774,949,807,615,900,1298,1226,749,428,332,578,943,937,1246,1378,1362,839,875,680,485,542,715,610,466,443,661,834],[1142,1046,913,580,615,937,1282,1324,633,423,820,1138,760,1092,1504,1160,942,721,302,287,303,369,422,420,475,533,615,896,1144,959,1162,923,833,1082,875,691,763,786,730,1308,1194,799,931,1015,585,432,458,432,547,764,508,498,1036,1876,1440,1226,1210,919,951,739,455,684,722,463,605,593,516,397,363,393,945,1274,919,512,539,745,1120,1494,1498,1344,1532,1376,898,1484,1224,1382,1236,1228,1694,1920,1744,1444,1416,1126,862,661,501,523,768,1284,1460,1356,965,717,847,857,854,694,566,601,726,576,458,411,619,767,1350,1356,777,509,483,422,290,283,279,289,287,282,285,300,332,399,401,576,896,935,813,800,844,888,913,886,890,1009,1098,1508,1396,1134,1440,1550,920,1042,1340,1294,784,508,383,341,290,294,395,697,900,924,1244,1036,1032,879,713,1288,1566,1476,1606,1584,2128,3242,2204,1152,1096,1068,1078,1330,1694,1416,1126,1360,1390,1086,778,1082,1628,1526,1064,924,693,711,702,692,1068,1454,1610,1312,1058,1528,1480,1534,1378,1146,1268,1344,1378,1560,1156,1154,1300,1506,1290,778,1046,1246,1014,714,442,349,376,404,847,1552,2272,2050,1410,1382,1620,1566,1232,1232,1622,1758,1620,927,487,402,343,415,541,565,1050,1460,1336,926,1034,1114,1286,1308,840,944,1394,1204,1026,840,694,984,1372,1274,1510,1808,1444,1170,1202,953,695,1058,1023,736,1118,1386,1218,850,567,765,1160,1334,1202,742,568,621,599,877,730,843,672,720,604,867,1290,1198,833,749,778,700,992,1214,1372,927,1007,1222,1542,963,972,976,723,824,1023,730,664,902,775,1186,1120,689,580,967,1176,957,906,926,1180,1448,1158,1005,1066,919,442,284,293,315,399,462,698,909,1030,1246,1182,1134,888,745,925,929,889,1244,1500,1720,1768,1782,1948,1794,1834,1802,1782,1864,1912,1780,1708,1710,1802,1808,1714,1722,1626,1538,1332,1356,1316,1260,1294,1142,1240,1162,1220,1246,1300,1448,1306,1390,1162,939,626,466,468,1024,1596,1570,1396,1234,1260,1013,933,985,836,1220,1320,1184,1284,1330,1296,1312,1224,1092,1138,1294,1328,1370,1340,1568,1410,969,916,1354,1434,1506,1358,1306,1614,1676,1634,1566,1576,1644,1664,1668,1668,1548,1762,1792,1660,1616,1638,1600,1566,1556,1284,1208,1144,930,777,641,1148,1310,1020,1144,1132,1106,1554,1834,1610,1394,1332,1262,799,591,637,1094,1182,721,688,637,651,889,1154,1244,1428,1498,1264,833,827,1292,1166,751,536,634,1020,1118,998,493,444,421,374,343,728,1104,1003,1032,1007,952,1272,1284,875,1526,2010,1526,1780,1428,1830,1672,1066,953,1252,1522,1492,1332,1108,835,800,535,613,586,926,1162,1028,1194,1244,1366,1382,1172,927,666,771,1256,1296,1378,1396,1616,1612,1748,1638,1308,1094,1096,1262,1160,1210,1390,1656,2188,1750,1432,948,503,433,451,571,593,767,1102,1086,1156,1484,1562,763,433,440,557,803,1048,1094,1026,1114,1180,1100,857,743,886,1054,957,582,345,395,411,451,397,378,377,369,395,399,470,512,467,448,472,513,483,382,336,440,492,539,584,498,413,415,419,360,322,332,473,522,448,693,609,543,465,415,351,372,420,364,380,405,560,783,761,792,681,789,990,766,920,920,849,794,938,799,661,785,814,756,471,392,365,405,558,716,704,885,1488,1716,1704,1722,1670,1498,1266,1044,965,1218,993,862,985,999,744,534,444,437,496,474,476,469,565,1700,2590,2898,1398,602,585,494,397,435,552,544,509,551,548,498,449,454,525,514,569,585,415,232,249,330,351,315,305,308,372,678,1298,1488,1444,1480,1472,1802,2260,2260,2038,1494,1648,1782,1678,1426,1276,1240,1474,1710,1756,1856,2002,1952,1648,1714,1742,1874,1596,2134,1804,1150,1316,1280,1064,1328,1656,1506,1224,900,1158,1148,1040,1132,1164,1136,1070,1066,1208,1268,1164,1146,1020,959,2006,3002,3072,2406,2302,2178,1926,1842,1840,1792,1556,1418,1142,788,665,708,1021,1836,1980,1660,1610,1268,740,955,1206,1354,950,639,655,1050,1222,1172,951,1002,866,643,651,819,1148,1584,1382,1126,1272,1338,1228,833,747,618,655,719,575,678,1240,1598,1590,1838,1266,1336,1034,1184,1390,1282,1164,1102,1122,1384,1384,1438,1370,1042,695,769,752,928,900,955,1176,1280,1232,1138,1110,1294,1396,1416,1394,1472,1652,1422,1366,1378,1346,1088,824,880,1005,1364,1332,822,965,1704,1952,1228,856,889,1018,1122,850,531,548,617,695,775,1070,598,361,387,579,654,1006,951,1226,2018,1514,896,588,582,1054,1344,985,901,935,883,1034,1052,993,863,742,695,700,632,516,641,785,1001,1002,620,455,767,843,1030,838,526,471,617,532,497,312,179,237,250,236,246,306,396,409,341,248,279,404,720,1236,1288,930,460,439,585,679,263,325,492,625,753,977,771,364,308,325,484,528,354,281,263,380,650,509,590,1030,1274,1078,825,633,692,756,741,1078,1410,1330,1482,1160,681,505,775,1452,1556,1230,711,477,461,447,470,470,434,543,532,545,689,1074,906,418,299,387,438,374,471,558,487,737,655,752,621,452,490,666,1162,1130,868,1092,1116,790,733,797,1078,1380,1316,1158,781,846,1150,1162,1094,1038,772,1158,1084,943,823,604,528,491,386,310,386,502,539,871,1310,1336,1356,1484,907,894,761,633,787,619,606,691,452,394,370,394,514,563,489,414,332,308,362,343,250,343,668,1014,995,814,619,532,408,880,1606,1576,1046,1015,874,935,1284,792,498,1212,1622,1134,455,291,380,470,582,672,724,645,665,622,578,509,506,761,698,639,612,505,707,915,866,1268,1188,444,311,602,1068,1128,717,850,1078,785,881,752,713,991,677,556,534,342,437,505,320,303,301,290,290,607,992,1124,705,532,714,1168,1206,1048,590,425,358,340,326,339,371,468,547,573,645,835,828,591,497,559,568,464,474,488,395,363,410,459,525,387,365,423,445,578,692,641,576,603,655,544,370,455,449,408,436,446,506,514,454,418,424,422,432,450,466,513,558,545,507,457,430,398,410,438,494,563,497,567,912,1224,1100,653,852,1174,1338,1576,1584,1178,744,661,1122,1472,1346,1296,1390,1790,1864,1218,1072,1350,1366,1008,1046,1126,1204,1476,1480,1718,1504,716,572,666,790,795,1009,1300,1212,661,357,285,305,322,397,632,756,567,510,611,1044,1208,991,714,756,763,895,1174,1340,1580,820,524,568,711,758,933,845,1104,1262,595,670,1382,1686,1382,1310,1782,1892,1742,2244,1948,1394,1274,1462,1404,963,339,332,378,403,594,835,1018,797,476,354,236,306,338,303,297,253,304,322,626,681,486,399,308,303,287,269,413,779,575,839,888,792,689,1110,923,670,536,418,412,372,428,472,572,452,709,1388,1328,1192,1282,1460,1412,1126,661,517,433,605,907,1158,830,1138,1358,1490,1374,1144,1116,1138,1062,1062,825,541,880,932,1092,1300,1384,873,1015,1220,1192,1134,1102,839,844,1154,1578,1406,1460,1256,1218,1146,1048,800,895,966,951,843,737,448,333,300,307,306,306,307,331,321,290,302,332,315,297,309,342,342,365,357,322,305,295,298,302,361,421,319,279,283,274,267,274,303,346,356,349,323,323,287,267,295,393,642,689,1276,644,428,422,352,877,1302,1684,1884,1434,845,1080,976,1036,725,585,620,775,791,951,1136,1142,1380,1608,1466,896,588,812,869,700,716,906,1082,1344,1428,1228,1516,1960,1584,1250,1300,812,781,683,553,679,821,599,583,552,290,436,1054,1504,1398,1124,1023,1282,1284,1298,1038,858,1064,993,769,730,829,842,916,897,879,929,642,477,475,705,848,695,684,887,970,946,930,1054,1230,1340,985,776,1094,877,874,1074,712,621,839,1298,1206,1082,910,829,872,1018,1058,871,995,988,641,1078,1424,1428,1432,1492,1410,1306,1304,869,646,986,1272,1188,1266,1380,1424,1692,1664,981,967,810,689,769,858,1542,1326,1374,1442,1166,1296,1556,1272,1250,1270,1458,1802,1874,1600,1476,1750,1788,1704,1768,1726,1556,1562,1738,1844,1732,1722,1694,1570,1532,1720,1754,1582,1404,1370,1294,800,608,448,484,465,1098,2350,2300,1426,835,818,835,783,709,641,619,432,536,1060,1078,867,915,1308,1406,1426,1428,1242,1180,1192,1020,1128,1090,1220,1114,1104,1260,1322,1466,1326,1023,1196,1372,1268,1232,1118,1154,1132,1352,1162,1060,1058,1015,1002,1136,1368,1332,1044,523,365,337,672,1180,1376,1294,884,662,927,1138,1100,937,882,1026,998,1026,861,639,673,528,370,356,445,567,632,951,1270,1240,1404,1196,1130,1228,1354,1480,2044,1848,1068,940,771,878,1136,1001,694,1122,1160,658,633,1062,1350,1122,652,444,603,677,719,852,596,1080,1148,1060,849,641,572,543,501,432,358,338,422],[1009,759,497,389,547,996,1316,838,466,468,843,1100,818,673,756,1012,1234,991,415,330,320,347,399,422,469,444,497,1034,1466,1528,1424,1140,1088,1026,799,594,460,475,697,1372,1494,958,658,491,381,412,480,416,619,734,472,401,668,847,1094,1200,1312,1158,812,566,463,405,365,343,401,832,743,462,438,573,918,1034,835,574,641,735,946,1032,821,707,916,738,455,635,579,742,1258,1868,2128,2110,1438,1160,1430,1094,655,547,575,492,521,723,901,1013,836,545,678,805,952,854,691,690,613,440,361,398,484,822,1346,1021,535,390,374,312,250,268,260,265,274,279,290,293,356,454,430,594,879,990,884,789,793,857,886,803,1050,1456,1402,1094,853,749,1040,1602,1592,1620,1516,991,508,387,404,325,283,334,338,368,550,720,1050,1072,1084,772,995,1584,1594,1536,1776,1628,1664,1874,1088,949,881,816,1002,1112,1226,1258,1416,1538,1384,1162,930,1096,1540,1472,1138,1128,1046,795,681,647,852,1344,1808,1684,1526,1700,1356,1350,1376,1294,1334,1334,1318,1366,1470,1534,1632,1898,1202,1086,1470,1438,1038,721,507,433,492,506,589,921,1332,1188,1448,1612,1494,1644,1926,1586,1332,1464,1180,525,396,378,335,319,488,592,1152,1578,1440,1104,1278,1362,1434,1310,984,1310,1726,1388,1396,739,833,1398,1448,1074,1396,1640,1476,1482,1470,1100,1042,1600,1426,874,1118,1310,961,913,730,684,1130,1542,1494,1228,870,659,789,1368,1194,1070,686,916,1015,653,748,809,655,766,1208,1312,1142,1468,1476,893,823,1052,1180,645,536,799,1038,1356,1166,763,460,477,599,940,1019,795,935,1214,892,607,664,609,666,1248,1402,1422,1156,588,446,411,419,491,610,731,993,1250,1322,1682,1434,1240,1356,1284,1390,1300,1132,1538,1878,1718,1586,1666,1780,1778,2134,2004,1942,1718,1516,1294,1592,1842,1870,1786,1848,1848,1310,1416,1530,1354,1146,1274,1288,852,813,843,1100,1064,850,1340,1522,1566,1298,1664,1042,519,416,693,763,839,885,905,1056,746,1064,1060,1480,1654,1318,1068,1204,989,868,937,1042,1184,1328,1208,1214,1178,1064,1234,1296,897,907,1336,1324,1260,1200,1414,1504,1576,1594,1388,1426,1382,1428,1564,1666,1476,1456,1634,1560,1410,1466,1440,1636,1654,1154,795,786,739,836,918,1156,1324,1302,1388,1456,1368,1462,1612,1150,1017,1224,1009,559,598,1060,1450,1134,937,1266,1114,903,1011,1586,1564,1268,1092,1098,939,798,1172,1194,877,933,1046,1460,1604,1516,673,444,466,393,372,856,1278,1284,1290,986,875,1058,986,612,1078,1034,1128,1226,1484,1716,1312,1060,1054,1084,1200,1246,1162,863,843,649,797,810,664,1015,1090,828,788,1007,1340,1086,1154,1016,716,1148,1498,1364,1086,1021,1152,1318,1504,1438,1162,1136,1148,1400,1302,1334,1110,1116,1256,1320,1278,694,390,405,558,855,1016,931,617,467,667,880,902,609,443,484,693,789,674,763,745,927,1174,992,905,693,737,1262,1538,933,658,853,661,697,517,442,463,455,416,360,354,336,360,443,466,466,420,312,266,367,395,432,563,462,425,428,401,354,393,571,772,679,715,870,696,663,686,511,375,634,630,381,414,346,310,340,435,698,957,1116,1216,1224,1018,875,716,547,529,408,370,668,730,722,498,380,413,550,562,641,674,919,1444,1616,1622,1604,1508,1302,765,970,1150,1226,1160,1226,1346,1204,1116,1110,688,460,538,535,543,518,584,1682,2692,2728,1388,495,529,512,522,702,1019,922,883,827,640,558,476,459,508,491,374,284,298,228,265,289,287,459,551,437,297,603,1064,1266,1350,1346,1142,960,1032,1174,1440,884,1058,1518,1512,1290,1268,1370,1584,1596,1214,1458,1644,1660,1288,1344,1700,1874,2100,1918,1258,1338,1556,1374,1156,1104,1788,1958,1618,1048,1296,1388,1310,1280,1306,1326,1340,1328,1368,1666,1848,1624,1266,1204,2806,3288,2898,2250,2204,2010,1714,1664,1508,1354,1108,1304,997,879,607,395,946,1396,1138,971,1140,935,1014,1128,890,1013,651,1046,706,770,941,1128,1234,1130,783,608,622,603,1005,1942,1628,1062,1106,1310,977,655,610,814,1014,767,630,763,1210,1436,1450,1306,1188,1030,735,882,1146,1316,1272,1202,1578,1724,1340,1248,1304,1144,642,705,797,801,995,1132,1266,1404,1328,1164,1116,1272,1310,1310,1558,1692,1374,1350,1430,1260,1170,1126,1030,1032,1164,1216,754,517,705,1306,1518,1470,1352,1038,1032,1132,1074,1070,998,882,968,952,898,609,573,637,594,592,661,576,546,505,467,466,411,561,666,827,794,937,1082,872,543,520,624,532,603,569,558,830,763,708,683,658,752,985,1342,1526,616,882,781,629,557,479,496,478,374,275,264,300,280,261,243,327,467,432,268,253,318,414,568,1348,1506,589,549,656,842,425,322,542,719,757,772,517,310,295,279,464,865,544,393,264,240,448,529,615,946,1110,1122,1002,801,935,1078,1202,1472,1394,1064,1216,977,606,343,361,951,1526,1464,971,502,445,420,325,367,387,598,665,619,710,1100,930,416,325,465,453,343,482,734,573,600,767,1426,1094,633,543,515,714,882,753,1078,967,769,1052,955,1058,1532,1516,1428,1116,689,702,1194,1222,1354,1048,650,675,868,796,547,373,341,280,270,422,672,938,927,840,1288,1200,1648,1288,907,907,1128,920,556,802,1068,1066,724,494,351,419,474,472,402,312,387,483,371,284,277,359,470,701,904,1180,920,598,1096,1898,1758,1138,692,655,1278,1554,1124,732,1050,1294,1038,569,366,540,725,639,879,1256,720,696,944,652,383,778,1144,1021,712,493,407,549,605,894,1356,624,617,1108,1742,1854,1254,711,838,1034,748,773,922,532,547,490,437,356,284,523,480,752,686,371,328,306,400,780,1182,675,1072,1678,1872,1438,1034,1070,716,355,365,336,330,367,364,379,451,553,950,1032,785,592,470,459,462,413,478,548,463,434,417,337,295,357,392,475,592,659,695,648,667,689,672,556,583,469,415,455,469,462,496,497,447,392,362,400,431,445,499,535,504,476,435,433,439,432,484,547,572,582,569,698,1054,1248,798,647,1044,1316,1458,1544,1416,1154,1026,1098,1398,1336,1178,1444,1316,962,1000,1178,1320,1126,868,958,1216,1460,1504,962,795,655,520,576,633,637,757,991,1066,963,715,477,356,306,317,405,689,921,1100,1218,1180,1044,1306,1312,917,876,757,592,911,1130,1048,866,1204,1294,1192,1136,1130,1074,1074,1118,910,973,1334,1290,1064,1228,1866,1766,2076,2432,1774,1536,1366,1592,1548,932,346,326,396,388,544,691,779,731,531,352,288,429,348,313,464,385,299,320,455,589,833,933,676,499,436,371,413,654,686,1058,951,723,671,846,671,389,480,559,470,386,569,894,858,582,712,1122,1042,1074,1106,1180,1324,1328,999,741,772,841,879,701,907,1142,1236,1210,1009,1028,1140,1192,1232,1084,968,781,786,684,1136,1428,1078,963,1196,1288,1246,1022,1334,1462,1308,1238,1188,861,940,1266,1322,1228,1250,1084,816,756,984,846,728,367,316,304,307,285,295,331,317,293,291,289,290,264,296,316,334,327,314,296,289,284,287,311,303,356,408,284,263,274,280,263,267,301,386,492,426,301,303,335,479,585,637,1116,1013,1460,877,446,465,378,623,1020,1378,1488,1174,669,815,948,771,535,462,564,636,780,1282,1594,1322,1156,1260,1448,1392,937,988,1036,865,924,1060,1116,1078,955,1308,1296,1250,959,1078,1462,1064,620,444,543,675,699,761,888,764,633,581,1368,1758,1164,783,1106,1346,1544,1488,957,1066,1600,1188,924,921,966,1478,1538,1062,1266,1244,578,275,318,418,494,580,648,1126,1382,1048,1056,1450,1568,1456,1034,807,959,814,874,893,733,670,809,1384,1056,980,1116,727,645,980,1036,861,899,911,1274,1516,1304,1372,1416,1476,1412,1418,1378,1272,1292,1294,1204,1078,1248,1294,1722,1710,1484,1242,1090,991,1038,880,736,498,749,1502,1264,765,1296,2148,1550,1114,1324,1654,1854,1606,1336,1598,1822,1714,1512,1836,1614,1506,1180,1326,1654,1532,1400,1488,1374,1418,1388,924,1050,1238,1306,1436,1424,1210,988,747,661,1426,2200,2104,1346,780,552,586,669,552,515,579,463,604,1156,1174,719,661,932,1214,1316,1064,1116,1052,965,583,843,1096,1178,1180,1216,1324,1368,1382,1284,1052,763,1036,1200,1072,1030,1208,1214,1252,1390,1568,1422,1302,1028,760,891,1332,1122,848,519,370,756,1082,1152,1024,701,704,980,943,1164,1030,921,1116,1154,752,407,408,475,375,339,374,605,993,640,901,987,911,728,582,919,1032,956,1438,2078,1804,1338,1146,926,1036,1212,881,797,1158,963,567,656,974,1386,1666,935,697,1118,1488,1534,998,585,944,1208,1060,954,797,574,537,736,675,475,424,413],[703,607,402,501,708,951,1030,593,477,584,626,693,658,598,803,989,755,526,373,352,361,345,388,481,541,443,471,739,971,1202,1532,1758,1782,1374,875,622,607,695,1100,1478,1324,911,543,351,296,373,508,517,937,905,589,404,465,631,844,919,916,767,455,432,341,325,338,467,498,728,505,479,593,656,634,534,560,557,640,706,603,453,407,360,711,746,564,635,935,1290,1874,2406,1898,1402,1280,1554,1662,1430,841,693,668,597,772,1022,1011,1034,1150,810,948,1013,985,1078,902,617,443,344,281,360,458,482,508,345,333,352,438,427,329,298,281,278,261,277,299,310,350,446,489,516,624,772,941,880,819,823,713,579,846,1312,1462,1156,835,671,560,1034,1760,1914,1390,673,414,354,307,274,327,349,281,336,345,393,745,999,969,999,1476,1644,1250,1386,1758,1504,1400,1244,690,952,1224,1216,1122,974,1108,1378,1464,1444,1450,1580,1382,1692,2476,1626,799,842,985,982,915,814,718,1144,1514,1372,1396,1632,1400,1402,1640,1344,896,947,1494,2134,2082,1700,1620,1646,1012,1028,1172,1268,1054,762,722,789,594,548,523,690,1206,1888,2244,2034,1708,1876,1682,1470,1246,1260,1064,512,448,452,471,420,597,888,1290,1240,862,652,914,1166,1286,1320,1226,1512,1786,1832,1356,969,1238,1426,1026,918,1306,1528,1698,2216,1342,888,1012,1200,1130,933,1276,1210,1112,1366,1122,683,1030,1114,946,1210,1104,639,789,1146,993,694,437,1186,1764,1296,1676,1042,564,636,1274,1562,1164,1466,1490,1218,1126,1146,963,515,635,1078,1204,1262,1058,988,894,963,741,567,553,681,1266,1238,824,579,674,489,461,877,1264,1452,976,552,604,772,944,873,785,711,741,1400,1282,1728,1544,1314,1334,1314,1282,1304,1284,1414,1614,1638,1606,1694,1784,1622,1484,1434,1218,1280,1328,1280,1544,1598,1792,1564,1524,1530,1354,1188,1366,1386,1032,1182,1146,590,618,607,810,947,1052,1246,1602,1686,1582,2032,1374,522,356,434,477,568,673,1034,1316,995,1412,1036,1252,1444,1330,1048,1134,1094,926,776,830,966,1094,862,1036,1054,948,1184,1232,979,957,1214,1354,1316,1274,1504,1504,1456,1506,1176,1170,1224,1218,1414,1660,1464,1460,1764,1670,1264,1098,1356,1846,1710,1300,1076,1086,1118,1188,1156,1268,1458,1538,1560,1550,1720,1848,1250,613,573,922,901,822,1322,1446,965,912,1206,1128,1108,1350,1230,1066,736,651,1021,1348,1188,913,767,699,814,933,753,1188,1466,1426,886,682,629,387,436,954,1344,1520,1550,1206,1226,1026,592,533,1136,1294,1058,782,1308,1696,1214,822,728,652,872,1146,1208,880,880,921,1440,1440,874,1074,1294,730,742,789,932,896,934,980,828,1202,1208,1100,1168,1046,929,1138,1088,942,991,1218,1368,1250,1196,1090,963,1070,1006,1174,1042,525,433,458,509,667,887,744,489,409,402,422,499,428,402,507,840,878,599,787,954,1070,913,641,651,859,802,1040,1410,988,825,1236,1084,894,1044,838,700,642,547,455,400,386,429,416,439,505,400,308,354,412,440,459,479,419,407,422,371,375,413,603,752,568,813,625,516,745,1146,1350,1160,1064,972,655,440,351,324,403,342,447,459,511,771,865,1058,1104,861,806,686,570,499,498,454,527,427,357,373,674,765,674,736,888,1268,1386,1410,1454,1448,1478,941,941,1106,1382,1594,1464,1476,1532,1468,1306,664,486,638,772,724,583,654,1578,2648,2464,1292,912,592,489,624,935,1412,1526,1498,1036,611,468,412,416,466,510,495,374,309,258,249,257,372,722,940,775,493,457,593,594,598,586,479,653,1064,960,878,662,828,1216,1376,1274,1342,1416,1560,1594,1124,1620,1450,1226,1226,1204,1220,1302,1686,1528,1368,1930,1318,676,949,1222,1690,1848,1634,1156,1264,1430,1288,1290,1302,1362,1346,1360,1360,1770,1968,1632,1070,1652,2688,3016,2430,1932,2042,1732,1426,1322,1252,844,665,1166,877,849,551,408,509,624,518,484,852,1204,854,555,955,870,1146,1166,758,727,575,680,990,1048,1106,1003,866,688,672,1302,1414,1338,1534,1200,710,648,731,880,1140,1212,1046,867,1184,1324,1318,1286,1138,740,761,784,852,1198,1586,1604,1766,1616,1532,1526,1664,1494,1021,801,731,984,1328,1286,1250,1094,1094,1062,1392,1350,1184,1426,1728,1406,1266,1436,1296,1052,843,1198,1518,1284,1170,1108,865,545,451,662,984,1200,996,833,861,907,813,685,691,774,760,664,645,672,641,582,606,767,895,739,370,389,492,351,296,379,443,408,524,976,1152,881,536,396,546,472,414,490,535,574,562,612,554,526,667,1140,1514,1458,487,620,948,706,351,459,696,824,788,422,313,349,410,344,267,330,453,360,289,304,387,516,355,406,572,476,569,401,451,346,289,407,647,765,605,347,322,271,258,454,818,712,575,413,397,448,465,732,1056,1136,1060,913,964,1232,1278,1208,1434,1086,743,1510,1498,650,376,477,935,1158,1366,1290,650,451,396,311,333,339,467,595,542,587,688,527,432,386,247,249,360,438,501,551,526,521,636,911,999,706,520,518,563,603,1136,1328,1062,1018,1062,964,956,1362,1428,1094,1016,720,1116,1240,1218,1418,919,538,781,809,485,375,416,282,276,466,794,929,1248,833,1188,1288,1350,1478,1178,668,1136,1028,691,957,1005,1014,1106,943,822,574,440,424,350,339,609,718,614,647,529,459,345,280,417,689,974,979,1060,1154,1136,763,473,433,902,844,984,719,516,621,569,476,420,398,577,788,1126,1492,1366,1156,1242,667,533,1046,1304,951,472,480,467,336,457,745,713,1016,1176,1428,1282,821,861,1316,1624,1262,876,818,1106,677,429,428,461,396,497,415,346,600,614,495,368,460,626,797,1058,890,1314,1442,1196,1388,1516,1224,727,394,321,333,329,350,369,362,366,428,816,944,742,571,459,442,458,446,432,463,517,450,427,436,371,342,366,503,505,459,545,608,630,650,792,699,606,491,450,457,452,581,812,685,483,445,443,459,447,472,507,488,410,424,437,470,501,422,457,529,609,633,537,476,595,755,669,680,1118,1456,1548,1538,1628,1380,1124,1164,1404,1528,1520,1472,1322,1168,948,1032,1192,1078,941,1096,1190,1316,990,614,489,620,695,1078,1222,1026,1250,1228,912,832,653,686,592,382,349,571,877,1482,1642,1304,1194,1054,1512,1290,1342,1102,711,431,539,600,572,1116,1634,1416,1128,1130,1130,1160,1020,1174,1406,1296,1604,1592,877,777,1248,1606,2008,2116,1438,1234,1392,1674,1526,731,299,375,467,503,636,760,643,566,544,405,328,478,339,304,382,332,277,360,500,642,1007,1502,1152,877,1158,881,684,531,639,893,828,670,810,1013,687,374,876,1236,1096,569,625,1180,1406,929,1036,1078,747,1122,1274,1186,1302,1368,918,703,871,1098,1224,1160,1232,1114,1244,1522,1538,1084,984,1312,1100,1012,1068,1050,925,876,986,835,510,812,1268,1504,1086,1034,1372,1594,1282,1556,1266,824,874,1106,1218,1278,1334,1276,1200,1086,1224,1072,803,465,328,304,307,303,316,347,339,305,301,287,289,280,293,296,315,311,282,273,285,275,271,297,263,297,319,321,316,321,295,281,291,276,332,411,372,316,301,379,797,921,686,1068,1050,1244,966,457,541,627,673,926,1132,907,580,847,1202,1090,878,662,386,463,662,916,1526,2060,1428,1030,1021,1194,1512,1356,1536,1486,1168,1210,1244,1426,1142,711,1236,1312,1292,1019,980,1192,1004,479,271,328,390,549,833,932,948,993,626,560,810,503,388,482,868,1326,1158,1002,1474,1770,1206,831,894,1010,1806,1528,897,1226,1034,433,323,559,723,593,584,456,613,888,1106,1142,1218,1258,1306,1080,730,547,635,994,863,639,548,448,627,877,1048,969,632,505,681,796,1017,960,777,1544,1510,1156,1354,1488,1500,1290,1256,1318,1162,1100,1206,1218,805,875,1292,1520,1482,1320,1202,1078,1304,1426,1182,1208,1005,772,1356,1396,1074,1324,1486,1094,1012,1328,1854,2138,1606,1454,1696,1606,1622,1544,1476,1236,1502,1334,1264,1324,1250,1368,1516,1562,1888,1422,520,445,521,583,988,1090,1154,1246,1306,1406,1476,1674,1794,1410,796,350,321,403,561,1048,1068,824,899,1040,726,463,390,723,1676,1504,785,713,690,868,708,648,892,1092,1126,1238,1124,913,1248,1252,1150,604,801,1122,1118,1058,1132,1234,1292,1394,1622,1472,1350,1302,835,599,814,932,1208,927,552,677,1019,1090,1252,1144,1176,1038,952,1234,1268,1174,1376,1180,871,889,760,503,349,362,456,885,1220,944,1172,1210,1310,1194,944,1176,1400,1252,1156,1684,1738,1344,1340,1398,1620,1334,1018,1178,1170,888,778,743,898,1242,1434,637,554,1248,1732,1410,1064,957,1026,1088,910,875,807,595,439,386,509,445,516,513],[990,919,960,644,611,620,662,510,417,426,572,943,1042,959,740,469,373,372,344,328,327,328,349,522,598,482,528,694,744,659,977,1328,1464,1090,859,993,1036,892,878,698,561,591,602,440,377,438,504,553,758,1104,1218,1172,1072,970,763,675,568,398,269,373,344,317,319,436,377,321,325,513,675,510,476,380,457,529,612,672,612,669,867,988,1012,890,1015,1340,1470,1228,1186,1732,1300,1314,1548,1598,1656,1654,1296,1015,1246,1556,1798,1670,1015,1322,1558,1282,1116,924,1096,1084,697,441,373,332,336,380,359,289,331,379,362,321,362,331,339,345,308,297,258,278,300,307,325,387,496,509,503,539,622,625,552,474,389,483,519,778,1116,1250,869,709,656,1192,1714,1550,1054,681,481,348,267,277,336,329,314,383,403,460,574,744,840,1114,1346,1386,1304,1436,1706,1400,1146,1066,749,1016,1438,1460,1482,1358,1430,1440,1504,1720,1554,1328,1808,2196,2468,1658,970,1174,1366,1064,899,799,695,1290,1112,1154,1270,1464,1556,1674,1730,1340,861,742,1142,1278,914,1009,1214,1350,903,1001,1434,1494,1144,855,963,1240,1346,1078,550,525,1040,2024,2554,1926,1432,1094,1138,1474,1332,1226,1018,839,548,504,610,579,643,1218,1422,903,465,615,904,1138,1080,1438,1448,1582,1594,1388,1050,1126,1100,750,709,1290,1588,1622,1558,1868,1290,1300,1048,1208,1142,786,1094,1276,1184,1005,1018,1120,1194,1506,1278,1062,1000,984,1288,1256,854,838,714,1078,1634,1372,1880,1056,612,627,975,1088,1158,1522,1490,1282,1078,1158,1070,583,811,1798,1598,970,958,1182,1224,1246,928,764,792,718,1288,1350,1064,1074,1176,867,914,965,961,1208,1096,614,755,1104,917,715,392,418,664,1408,1500,1898,1810,1730,1804,1648,1568,1568,1576,1654,1690,1578,1516,1564,1548,1226,1310,1346,1096,1502,1556,1084,1174,1444,1874,1616,1442,1412,1326,1248,1326,1250,954,1248,1146,749,928,792,1328,1376,1302,1162,1522,1628,1810,2064,1374,600,413,772,1670,1502,1172,1242,1276,1214,1120,1310,1230,1194,1130,906,1100,1062,1190,1001,817,688,969,910,718,859,1048,1140,1086,1024,1030,1300,1244,1404,1116,1056,1508,1458,1256,1064,1030,1094,1272,1548,1586,1438,1278,1310,1426,1374,1224,1670,1472,1300,1308,1084,1214,1584,1526,1246,1238,1352,1440,1592,1726,2120,2128,1166,637,466,791,1024,940,1220,1098,752,675,842,787,980,1130,1114,954,775,852,1284,1332,1302,1286,1064,871,927,1130,833,767,1010,1114,969,1094,1015,663,782,1240,1528,1672,1462,1512,1692,1366,669,458,770,834,746,972,1186,952,728,616,460,578,1080,1256,1026,771,587,650,1234,1482,1060,971,1072,1050,1456,998,1116,1306,1116,1010,1032,1012,1086,1340,841,765,892,1044,993,595,587,905,1354,1454,1296,1048,902,769,867,1190,830,477,458,480,415,477,541,530,451,434,470,480,448,510,533,462,788,896,763,938,1230,1404,1316,961,894,1280,1392,1316,1348,851,636,744,590,852,1322,1208,886,871,972,702,533,547,489,517,595,519,470,394,373,387,390,432,472,403,381,467,360,445,565,694,540,755,797,395,351,490,810,1138,1142,962,830,1172,1314,1112,638,428,397,551,558,637,791,658,559,497,665,679,716,928,960,843,876,756,663,655,571,602,654,797,904,655,580,563,659,747,688,758,846,989,907,761,876,1008,1090,1094,1048,899,430,484,830,815,629,527,681,1226,1556,1494,921,816,415,539,753,1070,1406,1438,1228,797,432,396,371,395,416,515,598,506,338,248,272,307,422,763,1112,1048,777,532,498,571,657,682,427,588,1015,835,595,656,804,1076,1242,1248,1494,1510,1546,1620,1218,1662,1596,1432,1466,1466,1486,1494,1628,1464,1168,1782,988,644,1198,1632,1932,1796,1666,1262,1164,1422,1198,1186,1260,1390,1364,1362,1354,1656,1774,1884,1538,1838,2558,2402,1942,1742,1802,1554,1376,1152,1030,669,963,1154,1172,1015,438,416,481,576,481,576,669,914,757,855,849,983,1440,1294,1462,1294,702,620,783,832,1434,1250,1362,1200,735,698,1072,1560,1412,828,571,655,832,993,1244,1270,1140,1166,1300,1338,1294,1178,797,724,804,818,968,1506,1700,1558,1724,1562,1594,1520,1578,1654,1398,1196,1192,1350,1226,1128,1022,1002,987,1202,1460,1226,1120,1584,1570,1338,1324,1376,1252,1056,1140,1482,1258,1005,1030,1288,1260,1054,852,617,605,623,560,601,529,496,483,464,441,441,489,488,480,499,507,376,403,540,677,730,484,373,450,396,277,257,320,462,594,893,1058,1132,831,527,642,659,742,857,769,555,402,407,398,475,611,591,662,514,325,419,626,745,568,380,718,1204,1120,379,352,381,265,268,401,383,320,274,328,339,447,715,466,296,264,330,492,417,334,262,381,498,565,893,790,361,332,257,270,390,502,912,1044,889,890,776,473,700,962,1190,1036,955,1084,1608,1644,1138,1512,1482,877,1548,1682,551,343,597,1188,1016,911,1320,1032,560,325,292,283,266,324,360,307,337,415,281,407,445,286,232,299,270,227,312,401,425,623,1098,1040,824,580,474,680,633,910,1306,1240,954,1018,1026,812,1088,1418,1090,1158,949,888,853,839,1310,1318,782,550,573,441,553,590,307,300,443,1088,1144,1146,1009,993,1298,1542,1240,1134,642,907,826,932,1296,1272,1180,918,976,1084,1088,915,495,338,306,474,568,639,865,1030,792,423,349,334,305,376,639,1021,1232,1120,774,562,638,661,654,733,625,582,557,489,460,443,761,1092,1338,1238,1426,1516,978,725,667,865,927,742,467,296,396,612,420,619,1330,1630,1834,1330,818,570,675,1086,2418,3372,1918,1312,1144,1186,888,477,354,564,765,660,482,679,745,460,408,433,924,948,1108,974,1074,1208,789,985,1550,1344,858,615,422,279,300,319,360,385,379,375,371,584,725,626,579,554,484,527,587,556,457,477,496,529,524,514,501,496,538,473,408,365,439,462,647,829,672,480,419,407,415,454,774,1180,822,476,449,529,623,639,578,507,473,427,446,456,526,491,438,511,532,507,516,503,535,576,691,703,746,931,1126,1634,1804,1874,1628,1398,1462,1482,1472,1506,1328,1312,1254,940,839,888,1064,933,1444,1466,773,594,619,655,910,1204,1462,1466,1260,1300,1062,747,612,719,848,708,552,713,955,1082,1354,1426,1020,713,942,1404,1076,1272,1360,883,611,641,594,565,919,1552,1760,1276,1100,1074,1066,1142,1430,1618,1686,1814,1504,937,633,851,1236,1176,1262,1094,1378,1528,1662,1304,509,276,409,615,785,1054,1102,675,525,522,452,361,293,242,267,275,278,364,486,501,719,1158,1508,948,1196,1824,1526,1146,1054,959,887,827,826,1072,1048,672,495,960,1556,1628,849,451,576,622,830,1440,1050,704,1296,1486,1058,1288,1232,786,677,876,984,1040,1124,1288,1422,1358,1376,1498,1318,1206,1410,1174,911,882,1042,1218,1152,689,582,738,1298,1214,1078,971,1040,1126,1484,1248,1268,1162,823,1188,1354,1322,1384,1466,1572,1470,1310,904,774,745,488,360,316,312,318,352,358,339,304,318,268,274,307,272,259,303,320,286,261,272,302,316,304,273,276,290,356,405,391,316,278,268,262,289,315,311,297,320,345,840,1078,886,1156,973,712,736,769,1130,1476,1440,1122,770,691,702,1188,1688,1340,1070,990,774,660,686,1015,1570,1736,1032,780,868,1023,1216,1394,1462,1088,1010,1040,1442,1076,666,565,1248,1704,1542,1102,716,819,999,615,337,360,431,1005,1246,871,998,993,696,469,370,375,450,470,459,488,475,557,653,857,779,466,487,692,1108,1042,1186,1554,984,333,412,507,544,619,631,529,586,653,806,680,749,1326,1550,1382,1432,735,905,1644,1422,641,360,417,528,794,987,972,790,671,560,614,858,1019,810,1070,1238,1124,1028,875,631,595,854,1156,1120,1194,1278,1262,1028,1076,1248,1372,1530,1338,1068,1152,1416,1528,1454,1204,1146,861,1554,1438,1202,1170,1030,1204,1418,1322,1598,1976,1704,1486,1412,984,1116,1396,1240,1230,1338,1208,1218,1216,1130,1474,1850,1988,1816,1198,612,682,649,469,933,1020,533,539,816,887,1308,1672,1846,1816,1180,597,393,557,1088,1594,1468,1084,1062,772,585,585,444,1114,2162,1538,638,641,846,921,724,709,716,932,1186,1256,895,727,1146,1500,1278,942,916,1100,1266,1224,1116,1168,1428,1532,1600,1488,1056,971,702,500,421,628,863,1005,1040,787,968,1274,1192,960,919,741,774,1172,1312,1332,1352,968,991,1224,998,730,459,449,718,1044,1482,1526,1346,1354,1650,1636,1430,1418,1026,1108,1390,2288,1660,1418,1376,1084,1178,1148,1208,1436,1186,858,833,864,739,828,851,637,476,774,943,913,1460,1528,1266,1100,847,712,583,488,419,422,468,475,569,543],[1028,1170,1312,1052,777,584,480,480,476,403,483,912,881,879,655,447,434,384,342,314,316,363,404,497,693,921,1021,803,1238,941,724,703,703,667,928,1252,1180,896,529,363,413,591,618,448,395,453,477,474,518,720,1168,1400,1018,777,780,829,590,375,349,349,322,305,352,326,227,254,336,463,579,388,455,410,427,576,659,621,760,1032,1098,998,907,990,1188,1174,835,576,648,1412,1924,1852,1454,1276,1336,1674,1484,1166,1194,1088,856,629,577,918,913,1148,1192,1296,1522,1410,1180,555,349,296,266,301,298,297,302,267,262,265,267,273,312,333,314,244,272,267,303,300,284,366,460,509,540,580,558,458,414,418,621,711,654,962,1210,1214,738,564,803,1154,1444,1072,505,434,436,374,301,310,352,336,321,365,508,552,651,710,555,431,875,1088,1170,1596,1848,1494,1506,1428,966,1023,1326,1280,1372,1414,1466,1374,1290,1534,1648,1548,1984,2424,2276,1468,1252,1378,1388,933,946,746,608,962,1340,1562,1498,1466,1388,1508,1436,1148,1023,842,1628,1682,1050,832,1016,1396,1146,1198,1726,1814,1296,1054,924,991,1358,1562,844,484,840,1440,1732,1644,1148,524,947,1488,1400,1594,1220,1164,921,609,508,532,651,1062,1176,814,455,498,709,1134,1032,1312,1450,1488,1218,849,1182,1376,815,539,722,1266,1298,1266,918,722,924,1390,1308,1422,1290,1136,1208,1270,1200,829,876,1272,1726,3138,3570,2006,1320,1764,1658,1410,717,752,684,781,872,988,1716,1040,667,661,922,980,1074,1258,1090,1066,1036,1180,1088,898,985,1852,1626,951,1011,1048,1015,1200,1015,765,1080,872,1110,1194,1324,1504,1150,616,822,1180,894,779,1108,838,735,962,763,696,456,466,832,1228,1548,1760,1722,1656,1628,1566,1570,1282,1224,1416,1474,1216,972,1048,1140,1420,1892,1656,1216,1256,1005,588,899,1510,1780,1592,1334,1566,1550,1122,1076,963,934,1208,935,1260,1354,1294,1334,1242,868,706,919,1232,1600,1294,712,474,423,907,2222,1998,1490,1308,1178,1204,1224,1346,1106,1208,1278,1050,999,774,816,862,826,830,949,991,915,796,952,861,985,979,1026,1388,1152,1438,1176,968,1474,1382,952,921,786,635,883,1232,1354,1334,1060,905,1106,1362,1454,1546,1206,1410,1436,856,1016,1332,1054,1052,1146,1234,1230,1436,1648,2134,1898,1262,872,656,966,908,560,699,813,821,501,616,744,700,750,919,1158,1218,1306,1310,1376,1354,1400,1212,987,1092,816,450,553,741,670,628,963,1256,1096,1080,1376,1668,1484,1156,1426,1592,1356,974,559,642,879,1110,1230,1202,916,880,681,453,1074,1728,1448,1144,1014,661,675,736,950,949,946,1054,1400,1512,1234,1296,1462,1336,1152,1156,1230,1372,1700,595,552,774,1150,1250,1070,929,833,1084,963,877,1018,780,766,1108,1192,641,474,466,386,345,389,521,569,513,527,622,499,453,580,554,467,816,935,883,852,1162,1410,1084,669,945,1322,1428,1098,1362,822,464,356,334,661,844,796,865,1112,1216,823,739,887,745,595,584,676,630,541,512,440,410,402,434,383,321,321,267,374,484,530,647,1021,731,409,437,460,527,830,1244,1230,1032,1300,1280,1160,869,446,419,853,975,814,957,871,494,375,328,311,397,502,700,843,708,600,854,964,1066,1170,1344,1288,1182,1050,1136,1058,983,1030,1164,1220,1098,1174,1266,1007,835,720,757,743,696,628,628,731,767,577,482,509,595,646,745,755,664,523,436,553,826,987,1078,1232,1096,667,354,398,462,472,379,421,473,571,465,270,293,331,340,510,809,753,565,633,576,731,910,893,565,611,975,896,725,598,888,1366,1396,1486,1562,1660,1644,1560,1284,1470,1478,1358,1426,1448,1542,1590,1632,1442,1066,1034,627,557,1013,1394,1840,1936,1614,1023,903,1250,1350,1388,1470,1586,1484,1434,1534,1726,1934,2224,2126,2138,1644,1420,1606,1492,1550,1208,1148,1414,1042,777,1244,1206,1100,839,456,464,614,686,963,1290,1184,736,722,963,708,1116,1158,1278,1732,1620,822,883,1013,1278,1262,1560,1964,1540,1036,709,1160,1340,993,655,587,796,926,1332,1670,1592,1258,1162,1148,1272,1244,850,696,860,818,890,1416,1918,1678,1606,1622,1570,1604,1528,1556,1420,1216,1238,1238,1288,1184,1172,1654,1498,998,1134,1338,1156,1144,1494,1410,1282,1208,1332,1398,1244,1276,1320,904,802,1108,1184,1138,1192,662,404,393,345,503,617,539,444,458,510,578,619,778,590,536,543,513,351,408,678,669,510,436,634,722,489,321,272,317,546,706,1776,1772,1494,1240,884,710,830,932,1130,1268,989,589,385,339,303,381,427,301,299,486,474,419,607,739,552,504,706,586,402,479,460,328,386,477,450,334,322,399,402,376,711,710,393,354,558,738,678,420,268,397,521,637,984,722,350,330,235,302,590,783,854,941,752,716,730,438,442,648,1122,1146,1112,1046,1398,1322,862,945,803,408,688,951,470,451,483,792,1250,933,1166,1426,925,382,304,374,561,551,433,364,598,1036,592,821,1198,783,368,281,265,238,241,295,390,448,540,622,731,609,611,980,881,656,915,1320,1262,1038,1000,995,887,1294,1216,988,976,812,518,485,719,1238,1266,571,457,477,734,681,480,611,600,982,1296,1262,1110,1080,799,1130,1192,794,826,731,668,828,883,1044,1250,1346,1274,1054,935,764,492,327,262,344,426,474,584,695,661,501,423,458,444,373,507,912,1256,1422,1460,1266,1002,780,738,619,647,651,574,582,546,786,1522,1278,1498,1024,642,443,348,393,603,1092,1166,447,278,276,534,799,667,1006,1604,1438,979,645,411,701,1250,1164,1908,2952,1598,1003,934,937,955,703,560,835,937,769,835,1316,1516,788,531,595,982,881,825,764,1112,1272,956,938,887,1042,960,769,543,344,311,303,350,421,457,412,365,471,508,527,570,584,583,532,497,487,493,498,543,581,571,606,587,536,558,507,449,417,503,539,587,769,756,516,392,435,507,589,827,825,615,501,688,863,805,801,684,469,492,502,478,455,456,425,516,524,488,513,536,541,594,670,791,799,713,683,646,933,1610,1660,1578,1360,1270,1318,1510,1498,1188,1192,1334,1472,1172,1058,1290,954,1078,972,829,962,1126,1286,1450,1400,1442,1600,1542,1106,698,527,592,620,673,824,1228,1470,1224,1012,860,895,1028,696,993,1106,901,966,1338,1350,926,567,551,857,1068,1300,1830,1410,1144,1110,877,987,1204,1362,1622,1306,839,901,651,916,1172,984,875,1092,1520,1666,1534,848,296,218,388,917,1266,1360,885,496,435,454,386,370,333,272,277,319,415,645,594,444,728,1242,1054,876,1564,1794,1416,1444,1382,1072,1138,769,766,917,1020,738,715,720,984,936,551,384,480,692,902,1404,929,750,1142,1094,1048,1388,1394,1114,1316,1604,1544,1284,975,903,972,752,929,1216,1344,1356,1304,1015,834,1060,1310,1460,1342,450,483,783,1126,1328,1276,1202,1080,1120,1478,1188,793,1222,1244,1298,1302,1290,1378,1336,1172,1116,1120,795,662,594,392,344,316,301,321,375,373,353,315,285,266,267,277,280,284,307,333,371,329,293,304,302,273,273,289,285,301,346,338,298,283,281,285,298,298,328,311,308,303,468,590,918,1156,774,596,765,924,1272,1186,1080,1334,918,565,756,1198,1332,926,786,788,582,679,636,827,948,906,720,669,933,1094,1086,1434,1528,1016,780,786,1056,634,474,466,856,1232,1070,525,480,978,1368,1004,661,500,544,1448,1096,738,826,788,636,584,445,456,860,1406,951,480,477,625,789,721,509,405,475,650,796,785,977,1222,847,327,551,612,420,455,610,725,666,523,600,331,420,1126,1704,1732,1480,922,766,1176,1174,809,908,1060,901,872,901,829,795,658,647,885,894,716,484,850,1246,1040,957,672,462,461,680,1062,1136,1262,1414,1182,1142,1088,1056,1298,1448,1472,1394,1340,1356,1184,1416,1258,998,826,1082,1034,1216,1060,988,1144,1236,1126,1488,1676,1448,1432,1404,1034,946,999,915,1009,1064,1278,1360,1108,912,1238,1728,1820,1326,714,537,1058,948,481,841,751,339,378,418,616,830,988,1146,1356,1390,1000,887,1070,1146,1274,1202,1128,1224,1262,944,675,457,1232,2058,1394,966,1058,1110,1258,876,863,789,959,1228,1054,553,601,1134,1324,964,913,1216,1442,1328,1256,1470,1550,1644,1526,1532,1388,1092,723,490,458,472,532,661,1030,1242,1070,963,948,811,644,464,430,694,1096,1044,996,1116,1166,1118,1222,1228,899,498,468,783,921,1023,1076,1144,1188,1340,1346,1510,1158,599,739,1434,1896,1284,1256,1068,647,789,782,1214,1584,948,724,861,814,867,726,541,584,513,486,625,738,1316,1570,1512,1222,834,815,589,451,422,437,555,495,448,659],[1642,1284,1390,1102,564,438,382,399,424,387,394,747,659,789,570,422,382,346,357,372,357,434,438,432,715,730,630,750,1092,862,642,603,594,728,930,926,716,670,425,477,506,709,642,657,716,540,448,410,451,497,512,607,647,508,569,666,605,521,424,360,350,393,393,297,288,288,316,502,595,464,372,348,407,505,577,518,584,672,551,564,633,932,971,627,469,517,495,1023,1686,1466,1023,1072,1720,1842,1250,750,484,406,395,423,425,444,448,767,1444,1874,1706,1576,1384,721,314,213,212,274,306,280,247,245,252,269,302,364,357,322,315,274,262,276,310,329,357,355,416,451,369,454,633,618,435,407,558,654,974,1466,1338,847,623,584,570,542,729,633,454,464,442,460,429,409,357,299,274,322,433,535,593,552,505,523,676,1150,1376,1972,1986,1630,1772,1468,957,1023,1214,1178,1206,1432,1536,1452,1440,1672,1804,1860,1952,2088,1952,1184,1264,1720,1574,1304,1268,1108,1428,1874,2160,1988,1766,1658,1490,1406,1312,1234,1216,1202,1932,1770,1352,1062,1066,1262,1282,1272,1278,1750,1348,983,692,940,1580,1830,1396,1294,1274,1180,1354,2062,1860,899,918,1044,1088,1366,1218,1428,1434,926,547,500,665,1382,1122,890,902,590,502,648,871,1248,1246,1238,1054,793,988,1180,825,555,744,1306,1450,1264,785,574,594,837,1160,1126,1136,1632,1374,1278,1230,1262,1162,1240,2228,3774,3730,1770,1396,1722,1124,1021,538,513,487,439,688,1118,1048,880,919,951,1072,1066,1156,1072,971,1062,1023,1128,1174,1032,1172,1562,1166,752,1064,1066,996,1230,1226,1128,1210,992,1102,1114,1252,1276,884,869,1278,1352,830,441,726,1020,858,839,825,645,648,1018,1302,1488,1796,1752,1628,1218,944,1348,1480,960,896,1144,1440,1368,1132,1168,1422,1842,1832,1346,1016,1294,1100,1026,1112,1432,1432,1286,1376,1694,1484,720,553,579,591,761,761,1124,1082,938,1172,1336,897,524,688,1252,1332,636,636,506,502,980,1798,1806,1582,1180,1104,1230,1416,1372,975,1182,1194,1060,974,1182,1312,1148,941,915,1018,1426,1268,789,943,879,891,792,1009,1368,1266,1326,1188,1066,1406,1534,1350,1098,644,568,735,837,1023,1378,1130,991,1212,1134,1072,1212,1300,1542,1084,1086,1262,1296,689,818,881,1100,1128,1238,1594,1648,1188,1036,980,652,735,985,872,1026,1178,975,717,715,879,858,636,912,1406,1492,1034,1210,1510,1360,1264,855,828,1028,794,637,644,458,332,523,865,1138,1196,1196,1412,1844,1510,1136,1052,816,995,1136,1132,1296,1452,1478,976,833,1216,1640,1174,842,1538,1732,1222,1030,763,825,1136,767,606,537,850,839,918,791,637,919,1174,1015,870,674,1016,1466,1368,671,536,1032,1376,1110,1252,1172,880,993,601,479,479,367,686,1210,1234,835,728,567,568,664,584,562,641,607,575,653,513,494,521,478,587,941,993,945,1158,1330,1258,964,810,1152,1384,1454,1272,1328,810,398,358,356,396,502,868,1294,801,851,860,975,924,1130,783,874,1188,826,604,633,586,445,369,404,411,391,347,310,447,476,434,829,907,486,393,462,405,463,575,675,882,1150,987,802,937,845,633,629,741,846,675,814,863,483,320,377,454,359,413,720,747,463,421,360,480,930,774,626,650,803,839,677,568,774,913,899,960,1021,1144,1194,1080,1206,1272,1184,1136,1308,1504,1394,943,641,360,347,428,416,343,377,398,576,622,506,440,598,656,494,529,564,439,344,418,473,489,476,524,535,639,637,492,384,383,419,388,529,595,488,675,517,537,823,827,601,834,1116,1050,1172,803,990,1294,1266,1360,1470,1474,1476,1470,1336,1444,1516,1520,1520,1494,1488,1476,1494,1382,1350,1032,590,622,1102,1690,1986,1930,1614,828,563,865,1470,1918,1752,1648,1686,1566,1632,1538,1490,1516,1678,2014,1392,1630,1524,1462,1432,1220,1220,1408,954,907,1296,1170,864,438,391,466,711,1064,1790,1854,1684,1010,874,1042,1074,1162,774,1256,1560,1502,1124,1306,1496,1680,1532,1824,1580,1218,912,643,1294,1066,735,572,610,777,1170,1376,1430,1310,1332,1314,1186,1236,725,604,835,893,875,1274,1986,1970,1506,1470,1630,1500,1750,2330,1852,1348,1198,1310,1396,1404,1346,1106,1284,1194,884,788,1172,1534,1278,1052,1090,1078,1070,1232,1362,1386,1358,1312,1116,1026,1284,1250,925,666,461,515,474,392,547,716,600,499,536,651,841,749,811,641,501,510,393,362,519,651,563,463,556,439,361,282,282,288,432,567,492,898,744,608,816,695,434,587,736,863,1218,1168,721,696,601,359,300,282,265,277,279,331,472,476,568,676,438,343,419,587,709,622,513,550,558,423,451,398,334,462,408,742,789,415,353,634,993,1042,661,449,335,468,436,633,476,302,330,288,318,495,526,484,394,324,607,572,388,325,449,725,841,1274,1522,966,506,466,398,534,613,364,399,380,438,536,985,1468,1019,681,1096,1222,634,416,883,1484,1228,1372,1166,1208,1672,977,661,898,696,374,236,216,230,233,325,365,400,479,492,662,649,596,790,932,791,583,1074,1460,1086,792,994,941,921,1116,1038,962,853,499,411,523,904,1116,697,454,476,622,554,455,606,678,658,867,1130,1006,1338,977,592,938,1058,1098,910,1364,1576,1266,998,808,969,1156,1284,831,444,336,321,304,362,540,647,479,466,442,429,430,443,514,494,641,852,771,910,1306,1416,1234,1216,933,857,738,549,536,754,943,1428,1838,1354,833,496,281,445,804,721,641,1104,1174,486,278,340,756,915,675,731,823,511,389,352,548,1222,1412,1370,1116,1342,1260,860,588,579,725,955,858,899,1190,1338,1186,1692,1926,1026,831,845,761,932,888,615,684,1216,1284,977,1066,1442,1112,894,705,442,364,351,401,436,474,457,423,437,475,487,535,561,571,525,443,408,419,467,548,615,624,590,560,566,645,548,452,496,644,602,551,718,861,685,464,608,689,695,870,936,749,711,879,918,796,697,664,427,470,469,441,569,531,501,544,499,440,460,526,658,776,724,818,971,813,754,730,684,871,1017,1300,1448,1322,1302,1600,1594,1214,1224,1686,1682,1396,1556,1672,1428,1128,840,705,936,1232,968,717,910,1222,1250,1007,644,475,423,445,657,1076,1528,1734,1672,1482,1012,902,801,1338,1448,1080,938,1021,944,1066,1324,1370,1134,836,1498,1554,1498,1504,1188,962,875,706,668,903,1002,1208,1028,763,1026,769,995,1036,899,897,1112,1464,1588,1062,419,226,301,886,1368,1782,1534,813,470,471,485,405,402,383,329,308,373,492,827,591,427,578,726,640,766,1064,1182,1202,1394,979,994,950,619,676,551,502,554,667,594,511,529,582,496,676,800,937,1302,1246,1098,959,853,1170,1474,1540,1406,1170,1196,1490,1154,974,692,371,366,546,747,982,1052,1013,1100,1316,1118,1324,1360,1064,595,677,1030,1300,1440,1418,1290,1086,1086,1332,1280,943,1386,1306,1260,1342,1362,1362,907,586,793,1078,917,666,693,472,349,334,322,312,346,363,339,291,270,271,276,299,313,316,321,343,471,451,361,305,315,283,273,297,303,318,300,274,291,310,302,297,299,293,289,285,332,413,398,447,642,772,606,658,815,804,930,1210,1890,2254,1354,539,491,501,681,631,427,689,478,427,695,830,709,652,683,748,744,937,1334,1716,1610,1320,809,558,515,715,765,723,753,647,512,475,716,1188,996,683,1042,971,781,895,694,522,522,445,413,554,472,430,1512,2720,1754,941,872,845,830,601,462,501,603,825,970,712,622,503,284,312,800,996,579,350,418,492,504,494,543,504,534,672,1230,1528,1214,950,687,790,1056,1274,1622,1542,1118,908,900,943,1226,1108,856,1136,1110,604,475,819,936,868,974,561,408,413,566,726,631,1072,1492,1282,966,1040,1072,1454,1520,1138,1126,1306,1520,1264,1366,1370,1024,935,841,1250,1598,849,968,1248,1354,1404,1300,1188,1178,1274,1704,1736,1236,1010,914,1015,1034,1288,984,857,1098,1150,1094,1036,697,516,468,668,606,496,954,821,458,362,379,466,589,667,670,792,854,1128,1490,1460,1472,1318,1224,1172,979,807,735,633,572,1040,1240,1070,1208,1158,1016,971,1162,1122,815,1036,986,562,440,567,1104,1414,1110,1300,1610,1448,1322,1504,1712,1406,1346,1408,1364,1250,929,481,402,430,557,746,964,1096,1224,1056,1116,938,971,1070,830,617,796,830,1023,1100,1344,1296,835,1060,1238,963,659,526,674,1122,1244,954,1318,1090,1162,1210,1248,757,558,944,1360,1206,1072,1254,1206,946,945,630,1326,1742,1178,1126,1302,1152,938,889,1028,564,419,614,1023,1198,730,1072,1252,1170,779,601,637,651,556,521,796,870,1466,1770],[1402,1488,1604,1110,837,624,416,365,390,407,380,616,579,486,518,462,380,397,419,437,454,624,518,372,538,852,1076,1054,856,607,567,509,675,1023,1064,996,942,552,591,1068,1108,1072,985,1310,1494,703,358,351,401,395,500,771,783,550,518,539,525,426,395,362,373,441,469,449,381,285,289,568,479,332,327,427,440,410,485,462,487,608,411,554,576,782,828,615,438,451,433,681,941,822,656,946,1808,1354,857,694,479,383,394,404,408,426,423,614,1308,1628,1892,1886,1312,696,306,267,285,267,270,277,234,242,243,257,311,419,372,292,306,256,251,329,337,382,458,390,357,438,350,406,660,648,493,449,354,565,1116,1454,1344,1236,841,709,760,862,451,369,472,442,383,446,509,473,455,458,347,332,401,643,631,639,744,908,935,868,1268,1780,1678,1694,1624,1332,932,1092,1082,1116,1234,1440,1606,1590,1694,1814,1588,1416,1622,1814,1738,1416,1482,1780,1720,1538,1474,1282,1216,1700,2092,2102,2160,1898,1758,1600,1322,1318,951,1328,1918,1810,1522,1266,1300,1448,1342,1354,1392,1512,1296,1166,878,1094,1508,1378,1454,1750,1470,1340,1976,2252,1604,936,907,1094,1100,1088,1350,1610,1482,1244,961,1007,1078,2018,1362,916,968,782,539,498,1040,1276,1028,1544,1766,1388,913,951,911,820,979,1580,1744,1242,965,879,626,699,1210,1478,1508,1288,1354,1396,1342,1332,1312,1616,1454,1200,1442,1070,1460,1554,874,802,638,442,506,793,1056,1208,1306,1240,1330,1328,1236,1428,1298,1322,1336,1324,1064,1176,1152,1000,1204,1484,1272,980,1098,1118,1042,1196,1178,1180,1328,1444,1572,1400,1512,1692,1324,1230,1256,1426,1142,1082,1356,1680,1534,1246,1178,1182,1182,1274,1208,1062,1274,1318,1382,1256,1116,1232,1276,1178,1118,1304,1550,1368,1296,1118,1016,1278,1278,1032,1470,1814,1368,1456,1410,970,659,790,1420,1844,1564,622,325,357,631,862,919,935,817,771,1238,1478,1328,1148,730,957,795,843,754,627,576,683,997,1614,1500,942,1078,1248,1672,1626,1090,1052,1092,734,706,1106,1262,1370,1352,928,856,1220,1396,1096,1094,1180,1126,758,922,1216,1364,1346,974,792,968,1142,948,815,645,736,538,524,769,1246,1204,941,958,871,616,417,636,1018,1106,1266,1346,1430,939,890,1012,1082,1128,1236,1570,1280,902,1015,1302,1048,698,983,1148,1098,1136,979,743,830,1058,866,785,993,1048,772,549,935,1072,1110,1234,998,723,750,595,437,715,714,539,695,1021,890,1064,1278,1528,1718,1420,1058,738,838,1038,667,982,1480,1460,1066,720,943,1288,1474,1196,1014,1284,976,663,647,551,994,1196,1172,1104,1426,1506,1070,862,794,899,1068,1234,1015,827,530,796,1792,1670,1382,1021,857,810,644,610,655,799,829,542,414,377,364,732,1170,1130,1306,1350,1150,985,919,859,599,580,579,614,644,552,544,519,513,736,1112,1328,1244,1242,1198,1058,754,867,1104,1362,1334,1292,1290,799,404,377,394,472,647,1017,1322,1336,1001,814,819,828,737,520,893,1172,720,495,442,469,468,304,343,354,362,351,358,452,456,632,996,632,480,419,413,363,399,457,467,463,480,447,433,403,435,678,818,829,641,712,890,867,573,318,330,396,334,384,642,587,467,579,311,375,592,569,625,685,677,613,433,343,328,227,242,385,303,302,370,415,467,466,485,630,857,1258,1196,613,467,308,313,300,276,294,316,314,397,442,388,327,366,421,269,303,422,319,337,430,516,454,475,694,701,507,506,438,319,356,406,382,546,796,867,915,745,596,590,587,664,966,966,739,1152,1124,955,1080,1194,1388,1478,1136,1050,1392,1202,1260,1538,1526,1526,1604,1694,1572,1104,904,1184,1003,675,1030,1336,1402,1716,1866,1664,986,678,978,1136,1592,1638,1718,1742,1554,1534,1362,1208,1484,1874,1864,1424,1482,1564,1600,1742,1534,1238,1086,774,1106,1336,952,864,470,421,598,736,1434,1886,1612,1496,1260,884,763,1042,1106,1128,932,861,960,1168,1364,1526,1596,1562,1374,1234,1218,677,934,1162,766,641,701,879,1128,1406,1456,1414,1402,1466,1360,1356,1026,611,797,808,814,1092,1920,2076,1690,1340,1300,1580,1270,1168,1688,1652,1170,1220,1444,1362,1346,1328,1222,1088,813,948,914,1316,806,527,893,1034,900,911,987,1258,1462,1342,1302,1380,1252,1234,1032,474,314,580,936,849,706,813,528,446,503,443,491,563,460,421,476,452,462,445,449,533,607,501,469,702,467,375,368,381,339,407,398,265,322,484,566,555,447,489,587,572,549,764,655,691,1054,899,514,701,675,353,280,260,242,338,331,279,306,441,451,537,769,733,581,442,604,961,505,339,273,293,365,398,573,605,379,278,431,530,437,455,481,306,296,488,891,618,303,332,279,300,358,318,235,237,347,760,547,507,505,469,526,446,1288,2452,1838,717,480,391,599,577,409,390,727,783,734,1196,1376,778,485,659,1224,1028,529,758,1424,1184,1532,1516,976,911,806,556,544,507,224,222,208,281,310,360,408,467,440,441,612,733,677,584,789,1002,655,605,1084,1212,910,857,959,844,729,582,472,485,451,405,413,435,483,434,399,415,444,433,442,571,697,630,558,980,1218,1116,1242,781,547,901,1236,1318,1184,1116,1416,1584,1302,945,868,848,574,329,310,336,277,514,1102,1264,1034,687,496,466,406,298,271,369,536,896,1158,1094,1252,1422,1368,1074,1128,1292,1005,505,506,684,952,1426,1650,1184,468,432,586,975,1102,1268,789,722,683,355,273,448,591,676,590,418,514,440,388,506,1094,1314,1362,1490,974,593,604,747,1056,639,436,700,617,699,1044,1396,1208,1224,1158,637,681,887,1019,1280,1062,592,606,1274,1382,1366,1694,1910,1506,1538,1288,645,472,379,415,507,482,543,459,452,521,508,494,543,615,575,527,501,539,531,573,631,667,631,607,664,692,631,525,564,652,644,651,615,739,767,681,599,645,673,785,800,647,693,733,576,599,643,644,585,542,505,450,539,554,500,494,500,438,414,550,688,810,877,761,692,676,774,738,730,713,813,1296,1434,1366,1234,1194,1272,1252,1266,1554,1456,1360,1450,1772,1732,995,794,482,632,898,649,578,974,1150,1196,904,531,397,406,744,1032,1184,1748,1352,1130,885,877,1062,932,1100,1304,1072,980,1400,1304,871,931,1378,1610,1266,1268,1464,1716,1550,1328,973,867,1064,642,554,528,903,866,737,877,836,912,908,1038,1126,918,1114,1302,472,239,172,646,1342,1690,1858,1274,625,462,456,492,455,515,469,381,331,402,614,767,551,410,545,666,630,597,659,785,792,924,777,740,801,653,650,497,328,480,707,643,493,448,630,532,481,430,904,1260,1432,1392,962,874,1256,1306,1350,1194,985,1090,1072,1294,1366,1048,722,469,434,849,1246,1360,1082,1208,1142,757,980,1340,1222,1052,819,927,1380,1560,1510,1140,990,907,819,926,943,1132,1212,1346,1274,1376,1242,650,501,706,936,720,641,807,544,356,319,316,287,288,289,267,274,280,272,281,292,304,328,323,323,373,415,366,313,292,277,298,287,288,285,280,289,297,296,296,302,303,304,286,278,493,747,468,451,488,735,650,661,1005,992,786,892,1114,1032,677,451,480,767,1550,1246,528,568,662,662,802,1050,1194,800,691,908,895,960,1660,1784,1572,1616,1092,606,513,656,717,858,1064,790,479,505,664,706,453,877,1698,1672,1272,1120,872,556,459,370,405,461,444,444,883,1348,951,1019,1392,1206,790,562,377,483,661,782,682,683,572,456,340,434,767,673,423,521,478,444,515,786,770,638,567,497,919,1318,1404,1088,916,1274,1246,1018,773,744,900,1000,930,873,1250,1180,803,1118,1140,661,586,992,1013,754,860,695,532,521,737,805,688,948,1372,1634,1116,1086,1388,1836,1482,940,1013,1286,1692,1754,1286,1001,1096,1372,1020,1248,1438,1084,1132,1348,1646,1836,1408,935,1072,1210,1334,1526,1210,1116,1210,1098,1028,1060,778,955,1266,1260,1284,859,522,497,344,335,310,672,1356,1356,783,463,423,617,711,493,711,624,592,925,1002,873,1100,1380,1402,1330,1144,865,694,538,765,1152,1164,1112,1108,796,823,911,1042,1066,925,1102,916,548,444,826,1662,1610,1252,1164,1100,777,1184,1674,1458,770,756,920,921,1114,991,567,466,609,621,658,952,1148,1196,1276,1344,1074,1007,1444,1456,1158,1390,1216,1222,1234,1224,896,940,1210,1266,1272,1050,834,799,1260,1158,1021,1318,895,916,1302,1340,1042,999,1354,1724,1734,1838,1318,1368,1154,906,922,1770,1692,1378,1216,1024,1034,941,815,1128,673,659,875,1102,986,526,444,585,914,985,816,822,745,607,667,934,819,1570,2388],[1086,1302,1334,1268,1462,923,459,376,368,382,365,558,667,481,427,378,413,452,419,417,458,568,475,389,384,753,1120,1054,788,476,426,432,907,1430,1404,1274,1180,633,719,1166,1172,1264,1290,1500,1734,710,333,379,392,391,594,954,1090,882,511,416,380,330,370,376,395,440,511,558,482,311,293,481,444,309,325,299,287,355,409,425,437,727,711,567,489,458,646,700,457,542,757,774,770,794,809,640,1510,1376,835,750,644,562,651,457,352,369,374,544,1056,1578,2372,2108,1272,539,269,295,283,242,265,276,280,276,292,339,321,328,307,298,275,280,303,320,350,452,480,435,316,426,439,628,728,578,558,465,399,561,1038,1440,1392,1030,675,969,1426,963,434,401,455,476,586,778,578,417,390,562,440,420,519,791,752,761,636,634,832,810,860,949,1264,1404,1592,1308,1160,1212,1166,1230,1340,1566,1704,1562,1468,1452,1182,944,915,1064,1276,1520,1642,1628,1518,1652,1674,1354,1360,1520,1510,1730,1902,1754,1604,1790,1902,1868,1684,1744,1790,1750,1770,1734,1556,1282,886,1214,1598,1290,1154,1282,1166,1252,1532,1634,1382,1202,1724,1736,1350,769,500,662,813,805,979,1220,1376,1490,1450,1460,1270,1376,1376,1604,1058,769,1194,1242,700,551,949,1066,911,1538,1794,1836,975,822,850,1030,1464,1756,1556,1216,1378,1450,998,1110,1516,1380,1330,1186,1438,1298,1356,1564,1192,1230,1196,1007,1324,1482,1356,1128,934,898,750,484,695,1146,1076,1082,1164,1212,1464,1420,1226,1082,895,969,943,1192,1310,1288,1556,1532,1230,1364,1394,1388,1198,1342,1382,1474,1628,1754,1726,1760,1798,1616,1584,1794,1660,1624,1582,1632,1488,1232,1090,1250,1426,1520,1654,1520,1594,1310,1070,1092,1698,1570,1256,1342,1388,1140,1172,1252,1236,1518,1382,1234,1246,926,1036,1638,1470,755,1056,1222,929,954,923,810,949,772,1300,1694,1544,886,728,800,768,1114,1186,1042,788,683,863,874,702,912,1186,1032,742,1082,1098,971,867,822,972,987,744,778,942,1272,1494,1294,756,558,680,626,882,1158,819,927,1224,851,855,1432,1360,1278,1278,1180,994,749,1018,1306,1244,1410,905,558,666,816,657,1038,1260,1108,690,548,909,1528,1360,807,821,794,761,598,659,1040,1652,1396,1224,1284,1082,1180,1560,1700,1412,1078,831,569,885,1426,1534,1001,605,918,1100,976,834,666,810,984,821,696,691,817,631,492,490,772,1112,1316,1378,1146,730,698,581,570,787,1002,695,686,963,938,1100,1266,1144,852,1044,1044,822,1216,1550,711,560,840,1294,1196,930,1108,1190,1054,1024,987,843,528,460,628,647,1044,1070,1094,1300,1576,1666,1418,949,1114,1710,1648,1318,1296,1396,866,891,1524,1342,916,776,599,455,733,819,858,855,670,504,520,875,964,1106,1186,1360,1858,1666,1462,927,823,865,819,795,669,656,672,610,638,619,592,851,1054,1088,1250,1350,1306,1282,1120,1090,1218,1448,1460,1504,1378,800,471,434,488,583,659,868,899,1386,1326,1220,1368,984,442,865,1558,1188,1200,984,717,501,490,438,337,296,357,507,407,314,466,854,810,419,367,349,344,672,656,454,522,525,399,412,349,350,409,499,718,1194,908,731,721,647,551,400,422,548,433,382,494,477,533,499,365,329,426,575,607,631,774,772,455,315,290,276,288,316,278,293,325,300,347,462,460,370,545,1208,813,694,690,497,442,364,286,321,309,291,308,302,321,295,267,264,252,275,284,273,322,335,321,300,335,410,391,294,296,257,279,275,285,270,412,870,1208,1054,761,495,398,778,1232,1430,1348,1248,1218,1136,1422,1644,1492,1600,1560,1290,1142,1612,1392,998,890,873,1016,1034,919,905,811,750,905,918,1334,1654,1674,1696,1700,1610,1476,1028,647,619,755,1068,1024,909,879,1068,929,840,1638,1716,2060,1656,973,973,1220,1454,1550,1110,1054,801,784,1354,1444,1054,881,619,666,1074,967,841,1306,1542,1512,1292,769,813,653,812,1202,955,637,883,1416,1802,1816,1648,1466,1658,1354,724,644,1176,907,683,702,976,1208,1384,1434,1456,1312,1032,880,1064,1136,753,771,879,832,902,1612,2112,1788,1606,1346,1534,1688,1648,1444,1484,1274,990,1152,1412,1456,1352,1344,1490,1228,774,742,1280,1274,608,473,1188,1516,941,528,539,834,886,625,739,1322,1040,966,739,417,392,938,1730,1448,943,827,547,455,404,406,521,492,390,361,370,398,456,429,404,443,429,272,228,367,327,535,561,494,452,416,431,363,706,1078,602,514,547,697,717,614,419,593,639,581,876,970,998,1468,1190,433,323,373,344,359,311,212,245,531,691,513,543,527,417,322,642,813,508,344,275,313,388,423,349,332,304,325,349,325,299,318,268,312,613,1028,1174,813,527,503,321,360,511,608,413,317,402,858,694,498,895,1134,758,438,806,1700,1262,581,386,412,490,488,682,1174,1536,993,500,838,1078,875,962,714,826,1238,910,553,497,915,1420,1116,574,472,553,632,885,1256,468,318,343,326,354,436,526,533,544,610,545,569,615,501,590,835,849,643,834,1294,1136,714,711,894,669,440,422,505,455,408,404,383,380,415,424,439,480,431,439,515,594,626,573,626,1034,1086,1274,1017,631,766,945,1398,1622,1464,1108,1182,1286,1610,1440,1108,671,351,339,313,316,689,1034,1126,1290,1244,838,589,453,302,288,361,499,816,1054,1224,1538,1724,1412,924,812,914,879,600,430,352,425,686,788,564,444,657,878,1126,1236,1406,857,546,501,456,699,994,720,457,455,537,595,500,422,978,1478,1606,1576,1148,655,455,555,1252,1496,800,464,465,385,508,731,1032,940,661,617,943,1300,1018,1128,1428,1048,925,1056,1156,1238,1220,1502,1708,1042,556,758,1268,785,427,368,521,527,594,594,521,469,524,534,554,630,619,615,615,619,606,595,611,673,673,643,680,709,626,539,624,661,705,681,705,736,805,836,730,631,549,486,434,390,443,498,471,514,503,510,651,618,560,599,579,522,491,474,434,443,448,601,638,600,673,695,632,562,588,636,713,714,918,1544,1506,1536,1332,980,1234,1394,1182,1152,1130,1002,1126,1610,1610,797,904,578,614,642,595,822,1180,1236,1170,860,443,394,562,1050,1170,917,1340,1092,741,554,753,816,771,748,797,1038,1316,1242,1076,890,951,1350,1670,1628,1364,1500,1622,1416,1224,728,568,742,656,702,518,773,741,588,619,724,763,756,1021,1082,722,794,703,302,203,824,1456,1660,1968,1670,820,525,480,545,502,404,522,576,508,521,615,837,926,680,443,513,628,647,700,755,763,760,882,737,552,492,413,434,413,394,478,630,560,489,543,837,658,592,755,1088,1248,1366,1386,1048,987,1184,1024,827,721,975,1204,1124,1138,1274,1482,1406,1204,1132,1292,1308,1648,1310,1674,1106,593,738,1190,1208,1074,816,799,1296,1576,1606,1048,1166,1158,1084,995,642,558,525,814,1172,1262,1334,657,506,595,750,766,783,659,476,358,354,355,318,288,292,292,293,296,293,296,290,313,329,297,290,308,304,299,285,289,298,290,280,277,260,266,288,291,287,277,272,282,280,274,304,490,570,356,361,469,683,670,547,502,464,458,444,414,372,375,326,460,959,1334,964,561,586,697,935,1166,1806,2098,968,683,906,1140,828,1106,1354,1478,1542,1378,951,489,698,794,986,1022,918,927,581,529,427,315,844,1634,1526,1230,1400,1226,1192,775,542,434,498,493,508,582,626,512,695,1122,951,904,968,587,615,608,571,536,541,504,491,362,453,474,278,374,463,350,404,641,639,695,532,516,576,576,1007,1704,1560,1080,1118,811,1015,1320,1294,1058,871,744,810,865,612,741,1090,1005,789,558,637,785,709,872,987,1162,1354,1580,1322,855,783,1146,1396,1288,1152,1230,1378,1122,1120,1020,782,1116,1226,838,822,1172,1560,1392,1444,1552,1392,1268,1310,1500,1808,1644,1222,1168,1072,1058,1068,1064,835,935,772,570,648,758,926,849,778,845,506,615,812,702,614,526,1001,1580,1624,1134,612,686,1484,1470,1392,1790,796,588,878,708,654,847,803,871,1094,1300,1380,1248,1070,933,921,986,822,902,816,1042,1174,1166,1108,874,738,712,692,426,753,1672,1464,1300,988,1058,1082,1130,1382,1184,764,716,462,595,800,921,685,502,602,575,610,929,1218,1334,1304,1324,1440,1374,1534,1550,1340,1650,1634,1216,1192,960,868,1312,1402,1448,1470,1292,1406,1056,1340,1532,1484,1374,1228,1124,1140,1172,1142,1476,1770,1528,1702,1766,1318,1434,1412,1056,1023,1296,1184,1024,689,647,531,600,706,782,886,966,827,966,1100,747,381,493,852,1112,1376,1436,880,724,651,903,883,939,1252],[691,1038,1306,1578,1852,1232,537,377,354,351,325,523,767,489,365,334,322,332,361,389,422,472,477,462,343,394,477,398,484,434,470,553,1424,1562,1172,991,839,512,567,854,1120,1202,1250,1528,1768,803,388,412,402,540,673,656,710,791,533,354,279,518,839,644,433,390,365,379,380,334,336,440,500,342,343,290,283,324,413,566,865,1078,818,454,399,419,561,786,872,1266,1586,1270,1346,874,535,435,974,913,514,619,993,1288,1316,661,317,322,364,505,776,1182,1566,1334,682,259,289,383,332,273,272,261,305,345,368,413,387,348,381,375,311,363,351,373,462,531,472,430,347,344,393,600,609,728,1034,902,693,602,1392,1444,1330,666,808,1196,1326,896,479,412,495,695,1134,1184,821,489,368,452,638,721,1052,1238,981,822,778,935,845,997,736,616,703,778,1242,1534,1554,1432,1472,1686,1754,1678,1472,1466,1480,1530,1418,877,622,877,1108,1338,1614,1310,948,1262,1404,825,612,576,706,803,818,942,1178,1460,1636,1526,1460,1430,1336,1486,1554,1510,1538,1484,1470,1556,1716,1672,1648,1500,1346,1502,1632,1704,1730,1560,2104,1780,1274,974,700,817,817,696,1066,1390,1522,1224,1390,1526,1626,1584,1292,1104,722,647,1018,957,855,919,1046,1208,1132,1560,1920,1426,616,606,813,1028,997,949,1128,1198,1584,1394,893,1084,1198,1216,1268,1324,1416,1222,1598,1950,1370,1616,1594,1288,1346,1484,1260,827,709,842,692,576,845,1094,1078,915,1094,1062,1026,1144,1158,927,922,911,1011,1430,1560,1494,1710,1572,1486,1462,1374,1470,1494,1604,1636,1682,1782,1762,1740,1786,1714,1732,1724,1728,1646,1554,1466,1532,1328,868,647,858,1202,1486,1752,1444,1306,1092,1188,1274,1772,1926,1316,866,755,1004,1478,1334,1354,1392,1330,1584,1354,1086,1174,1582,1300,634,437,476,536,515,510,836,1344,1282,1316,1656,1478,1076,1100,1226,1176,1144,1088,1188,1142,1524,1400,773,454,953,1350,1118,1216,1282,1174,1186,1098,793,1015,1196,796,571,683,882,1078,821,466,465,680,968,1274,1092,1146,1204,1278,968,1072,992,855,1122,1456,1564,1276,847,1048,1400,1224,1420,930,495,536,1034,896,1122,1450,1024,611,714,1156,1802,1404,1013,1086,1076,1196,1050,953,1242,1472,1096,775,939,1208,1246,1188,1348,1136,1032,742,523,990,1284,1426,1310,885,913,979,880,852,775,929,815,545,576,628,527,466,575,555,679,1274,1506,1488,1286,1124,963,680,692,896,1140,926,655,692,951,1346,1378,893,874,1180,1030,1068,1470,993,607,526,561,933,1140,1170,1084,977,1228,1268,997,771,539,385,694,709,748,748,791,1092,1300,1184,1326,1208,1216,1432,1802,1354,1334,1352,962,656,480,630,627,531,477,648,1334,1594,1158,905,741,631,821,1454,1718,1386,1180,1742,2068,1908,1662,935,744,916,971,868,891,912,741,648,711,766,775,1030,1366,1670,1806,1688,1476,1098,742,592,783,934,797,885,1032,651,490,445,449,552,792,943,722,811,908,1172,1294,752,792,1448,1664,1110,1254,1382,1218,1068,1118,946,624,419,432,554,350,350,661,977,607,437,368,349,642,1010,707,536,920,805,398,342,358,388,487,497,791,1023,806,791,637,390,301,318,556,630,394,308,559,726,781,812,661,473,456,519,586,1030,1134,783,403,284,283,287,293,331,368,348,339,405,422,433,482,645,876,1366,1108,1078,1016,1096,1082,741,534,637,547,424,443,450,371,326,279,256,270,283,285,305,330,378,372,294,271,266,279,250,246,258,272,247,259,249,264,416,502,337,312,337,314,437,909,875,687,565,554,772,1066,1338,1312,1272,940,1136,1444,1596,1532,1508,1612,1534,1374,1344,1448,1428,1244,1286,1492,1312,1214,1246,1450,1486,1218,1206,1470,1268,920,880,976,1106,844,666,695,634,761,760,971,1202,1600,1460,1216,1100,1106,1188,1274,1058,1005,822,1172,1568,1154,727,653,848,1218,1426,1252,874,1042,1028,1368,916,974,1488,1122,739,1011,1274,1026,972,1246,1620,1580,1460,1368,1482,839,463,903,1064,709,658,832,1054,1208,1452,1346,1324,1062,962,1042,1028,789,764,893,875,933,1354,1940,1848,1762,1678,1354,1558,1534,1772,1708,1540,1468,1294,1232,1368,1274,1224,1290,1436,1396,1256,1148,1370,875,625,641,1180,1460,595,318,519,1204,1288,1038,1120,1318,859,591,490,378,376,797,1150,609,563,626,608,480,404,450,517,548,571,541,478,491,480,365,334,307,299,464,444,316,380,725,791,579,605,511,641,521,850,1400,736,333,692,829,683,498,283,352,396,315,419,598,954,815,588,314,562,940,772,636,549,294,256,390,621,536,466,607,422,461,698,570,567,532,522,565,458,499,407,310,327,327,297,260,255,248,230,307,641,924,924,891,817,869,438,470,675,802,437,272,350,599,669,616,1212,1394,633,520,655,1012,983,717,390,443,555,650,1162,1744,1528,785,434,780,1404,1470,1017,489,515,1206,1344,752,490,1158,1642,980,378,268,394,620,830,1338,776,437,496,451,424,461,529,561,615,625,374,257,290,404,459,664,954,844,730,944,1020,762,498,624,536,404,565,751,890,832,545,381,352,405,381,444,468,414,386,528,465,519,601,493,769,1108,1021,694,728,791,586,759,1136,1396,1498,1472,1302,1044,1276,1434,905,361,346,256,265,591,1108,991,896,818,886,992,816,641,485,512,625,650,611,1368,1372,1150,666,396,332,349,439,442,426,533,589,536,441,421,452,532,709,722,847,778,547,645,794,861,844,860,1056,921,626,572,529,412,735,1294,1522,1524,1156,576,724,623,401,591,733,623,443,363,445,563,651,683,614,713,797,1284,1898,1164,852,1228,1592,1334,1060,879,1001,1332,1364,1132,764,1204,1878,2128,977,464,392,405,467,530,619,595,448,460,497,566,634,647,630,648,660,640,641,641,692,704,641,670,658,618,639,708,727,710,688,805,871,940,959,796,526,391,353,357,403,449,459,476,491,505,566,794,733,564,622,583,507,491,481,435,432,451,542,583,542,516,523,551,550,462,456,599,586,717,1242,1444,1462,1318,1070,1260,1194,1106,1414,1282,865,1116,1400,1416,1338,914,626,621,873,910,769,843,820,794,686,403,380,549,996,1186,988,1062,832,497,563,689,717,733,771,777,971,1360,1422,976,930,974,1076,1176,1304,1410,1580,1426,1310,928,865,1160,904,719,670,534,739,991,829,565,556,625,814,966,821,572,632,515,319,648,1906,2174,1730,1694,1192,624,697,719,735,547,525,766,660,555,855,1138,1092,1170,1054,983,752,717,715,798,678,580,713,796,954,1042,908,646,481,505,447,405,378,386,408,706,953,987,1152,1290,1262,1274,1232,1228,1092,1226,819,1042,969,1064,1108,957,1224,1442,1452,1478,1686,1498,1142,1324,1172,1138,1116,1220,741,405,693,980,756,687,800,789,1162,1260,1322,1150,1116,1126,1396,1084,683,644,590,999,1478,1394,1478,876,625,564,650,864,821,670,520,358,326,328,328,320,314,296,298,298,321,316,290,313,342,336,341,333,298,284,262,272,276,275,279,260,263,280,290,285,280,267,260,286,285,280,284,319,291,282,521,749,879,900,720,463,394,394,354,342,305,366,504,769,782,495,495,997,1302,1086,1172,998,1428,1478,1156,935,1056,1396,1019,607,881,1404,1192,1138,1260,885,885,731,1088,1154,1042,1026,850,573,426,447,709,1012,615,597,1010,1542,1484,1250,903,607,565,439,477,585,642,785,691,843,692,466,484,594,1034,902,481,438,351,342,342,324,455,360,252,283,242,229,289,505,539,429,395,444,518,405,585,1180,1036,763,780,802,1028,1534,1426,873,788,900,1094,801,619,677,849,1056,1084,615,395,760,908,837,888,1212,1750,1672,1070,956,1266,1172,923,1112,1162,1094,944,1190,1338,1190,1242,1044,909,1156,945,1446,1338,1382,1810,2010,1584,1468,1376,1410,1816,1622,1288,1384,1296,1134,1226,1148,633,863,1044,890,707,557,641,683,567,479,391,576,878,1194,1192,949,1224,1754,1778,1248,1002,1146,1350,1622,3850,4488,2990,1072,796,873,962,906,649,485,475,748,877,1126,1336,1294,1184,877,756,760,919,1050,1046,1270,1210,1186,1122,698,775,803,924,1592,1428,1194,1116,1158,1176,1292,1522,1478,1276,1266,1007,1048,891,1092,783,691,741,646,732,890,1224,1284,815,794,1290,1392,1498,1260,1224,1436,1324,1180,1230,1328,1522,1484,1338,1764,1550,1738,1726,1326,1376,1438,1606,1580,1634,1794,1300,950,832,1124,1154,1144,1296,1154,1009,1246,1512,1240,1170,1070,938,1044,686,778,583,620,706,926,935,851,745,762,863,809,586,802,1272,934,1194,1312,846,678,688,1024,939,831,1252],[1152,1496,1598,1578,1588,1136,552,378,366,352,337,460,742,432,330,319,236,276,378,394,410,434,447,409,246,273,397,449,607,459,411,626,1268,1168,779,537,478,441,473,463,565,743,1048,1032,1116,780,534,425,454,662,736,589,640,804,557,418,299,616,1048,880,500,379,365,380,399,457,465,497,690,362,318,332,324,379,562,1294,1826,1456,885,474,370,383,398,714,1002,1244,1238,1286,1514,968,459,423,410,406,306,411,794,940,688,399,293,282,409,582,846,897,839,973,667,368,321,427,347,340,295,297,308,330,340,344,375,374,381,395,333,326,340,447,500,448,448,451,344,340,401,424,495,904,1108,1038,708,1100,1858,1340,858,655,1228,1524,910,566,495,467,555,880,1230,967,614,503,569,784,882,868,1144,1262,1278,1168,1100,1430,744,761,672,511,516,586,1058,1638,1784,1694,1678,1730,1398,1088,943,1324,1522,1508,1342,1116,1168,1118,1170,1496,1684,1210,1330,1538,1430,692,536,496,439,448,454,458,635,1070,1520,1312,788,1009,1238,1258,950,886,1090,1254,1234,1196,1310,1368,1380,1344,1444,1364,1328,1462,1460,1188,1380,1460,1406,1194,1170,1372,1344,1060,1362,1532,1504,1488,1566,1592,1570,1528,1670,1622,984,498,565,850,1256,1336,1182,988,1520,2090,2060,1194,531,641,917,1274,1224,1416,1412,1308,1648,1314,844,1210,1370,1186,1100,1048,1230,1306,1448,1556,1316,1396,1180,1018,1300,1606,1486,911,983,1626,2426,2246,1300,1090,1184,1019,1188,1096,797,1092,1386,1366,1534,1650,1750,1724,1654,1652,1748,1606,1642,1798,1820,1788,1714,1532,1544,1798,1910,1536,1458,1440,1382,1606,1740,1808,1528,1290,1534,1884,1600,969,625,827,1104,1072,918,647,552,683,904,818,1132,1436,1052,928,886,882,1166,1268,1500,1506,1342,1492,1336,1220,1262,1084,719,470,367,390,526,741,912,1188,1434,1550,1296,1460,1166,633,790,805,695,971,1382,1350,1548,1470,1764,1054,451,496,512,1328,1990,1670,1398,1480,1136,604,677,575,548,665,939,880,709,514,404,515,818,1204,1450,1822,1594,1240,1124,989,1368,1262,968,1132,1570,1444,1020,843,1050,1312,1316,1274,994,917,1092,1306,935,883,1228,1102,1088,1188,1550,1606,1238,1196,1190,1202,1284,1260,956,835,1062,1024,825,961,1188,1116,1019,1146,961,985,913,857,1122,1066,988,1122,1009,863,684,648,788,765,788,628,509,565,593,562,452,534,615,654,1128,1376,1064,1018,1226,971,553,861,1470,1770,1656,1328,1288,1098,1332,1478,975,1098,1038,736,1054,1120,644,557,523,607,908,1098,1238,1192,1228,1290,1252,1010,980,786,521,839,1094,779,864,1182,1400,1450,1011,962,1212,1268,1234,1344,1324,1284,1238,1138,859,544,677,692,694,951,979,1390,1420,1040,966,866,609,796,1186,1272,1204,942,1044,1562,1884,1730,1570,1250,1014,914,831,916,980,882,689,563,705,787,1092,1260,1728,2024,2104,1798,1026,596,536,536,542,670,745,581,500,504,425,436,482,854,1144,1036,1058,774,745,729,756,746,1170,1428,1428,1340,1334,1382,1246,1066,1102,1038,995,931,732,521,557,956,791,440,357,319,394,732,798,493,565,1146,824,426,289,285,487,637,637,865,749,525,475,368,318,272,291,310,335,285,258,288,410,568,567,591,674,388,386,588,1180,1192,714,400,322,317,327,324,407,586,568,401,398,314,383,641,790,1054,1566,1614,1078,649,787,964,892,824,1218,1288,1058,926,828,821,605,425,363,353,314,299,325,379,467,494,371,292,368,351,286,275,256,268,266,263,252,274,344,382,306,417,667,550,498,601,448,468,490,730,1134,1274,1434,805,543,434,498,560,647,735,919,1078,1122,1208,1426,1484,1378,1454,1560,1434,1188,1518,1378,1194,1306,1382,1548,1632,1616,1494,1680,1476,1448,1544,1526,1450,1396,1550,1566,1450,1516,1726,1798,1730,1758,1850,1744,1576,1196,900,1042,1484,1562,1092,763,855,1418,1486,1324,1306,1082,944,1252,1042,758,1338,1678,1696,1360,1434,1422,1052,711,863,1312,1184,1562,1758,1290,612,610,1068,863,661,717,1046,1088,1214,1324,1216,1294,1192,1262,1118,777,695,874,902,899,1186,1578,1638,1586,1678,1482,1186,1642,1600,1466,1526,1398,1338,1332,1316,1354,1188,1310,1436,1364,1466,1394,1534,1164,452,387,454,884,963,470,415,579,1682,1998,1466,1134,1038,758,672,525,357,316,357,386,386,498,685,601,506,469,423,448,468,498,479,404,412,438,423,387,425,590,1096,902,469,616,808,818,759,666,616,951,735,891,1238,881,424,607,855,850,533,294,248,274,230,259,274,383,267,244,394,1124,1538,1138,888,822,493,362,376,456,814,763,595,487,526,417,314,360,462,647,678,493,544,545,405,319,318,306,256,260,289,264,243,463,835,1002,924,609,497,489,675,724,639,412,312,283,422,668,646,905,793,360,349,544,930,1350,1172,532,431,589,591,655,633,565,458,427,551,1606,1712,850,423,543,875,1232,1058,580,633,986,681,316,249,269,487,839,1292,942,489,564,584,589,556,481,523,451,298,193,173,274,331,325,431,668,744,558,423,386,390,370,337,383,387,613,802,1018,926,874,703,448,335,345,348,357,374,340,376,457,488,504,637,740,686,749,802,895,706,965,1294,1036,832,991,1416,1692,1436,956,717,568,372,325,288,375,433,727,749,725,904,961,806,925,878,747,811,586,528,434,517,479,503,532,525,558,570,466,456,317,492,618,625,706,638,560,485,439,411,587,667,435,524,863,797,572,493,690,1058,915,587,345,688,1208,1424,1482,1013,605,744,1005,814,442,350,561,582,495,462,806,854,463,380,422,702,888,1056,1382,1001,1012,1286,1444,946,660,711,736,1286,1440,1588,1868,1546,1106,749,489,411,378,405,523,577,561,598,554,449,321,461,630,677,660,655,661,664,692,700,700,681,670,742,754,700,750,774,846,831,833,878,926,980,1023,916,548,347,345,412,486,484,442,460,529,597,754,855,681,527,564,521,513,482,504,502,485,519,514,498,519,539,538,553,540,421,365,451,487,518,820,1092,1292,1328,974,816,1068,1416,1626,1588,1266,1358,1440,1562,1520,948,771,986,1296,1230,770,440,470,536,481,430,403,445,746,805,678,636,487,417,578,944,1036,746,875,771,748,1214,2018,1482,915,954,954,1288,1284,1118,1440,1132,819,1114,1644,1562,1094,799,606,523,709,969,674,447,512,720,852,988,800,566,576,499,350,912,1764,1610,1772,1522,883,792,1454,1510,1058,572,498,749,797,771,872,1072,747,1017,1192,1378,1274,1228,1054,802,582,733,857,671,969,1394,1586,938,656,555,433,344,572,675,419,373,598,946,1216,1362,1552,1394,1176,1416,1538,1408,989,1046,1012,1316,1310,954,1274,1508,1706,1586,1654,1202,966,1102,975,683,935,1166,840,625,1068,861,487,478,510,479,696,846,1036,1298,1180,901,922,909,748,756,969,1116,1478,1494,1266,1074,1034,852,592,768,828,700,681,468,374,359,363,354,320,320,312,303,315,322,322,306,302,296,289,303,301,287,285,279,274,267,274,274,275,280,287,287,279,273,277,293,290,291,318,365,376,353,545,858,946,1116,1486,1100,516,364,306,282,317,458,569,653,591,409,578,964,1106,1013,709,447,818,1432,1770,1380,1450,1526,959,756,797,1162,1248,1266,1234,1290,1196,1266,1650,1544,1082,1148,1334,1058,831,490,677,581,350,486,1402,1764,1208,1310,1080,808,950,752,669,543,726,882,824,860,830,548,402,456,732,649,487,543,472,425,324,336,346,272,267,259,217,219,301,611,673,409,386,304,303,427,477,697,694,694,534,688,966,1066,763,569,672,1030,1378,802,753,732,895,942,1005,900,912,1076,1080,1126,880,950,833,783,954,985,1180,1032,846,882,796,902,1220,1150,1114,1174,1066,854,848,1182,977,1166,1100,1180,1600,1722,1652,1768,1678,1632,1888,1540,1036,1042,974,683,968,1074,955,1190,1328,1040,741,702,828,907,806,707,604,511,411,509,688,952,1280,1804,1746,1354,1268,1500,1198,2576,5688,7076,4668,1368,748,885,990,874,604,400,364,375,343,350,562,931,1308,1520,1378,1188,1006,799,877,979,1212,1788,1568,901,963,1200,1098,1072,789,607,802,1112,1486,1456,1538,1296,1338,1532,1362,1058,1208,1270,1100,1414,1438,959,816,678,755,634,655,904,1538,1634,1592,1416,1274,1184,1192,1226,1266,1422,1348,1482,1350,1604,1478,2072,1976,1506,1500,1600,1574,1470,1558,1564,1242,729,662,1312,1306,1004,1122,1252,1122,1300,1398,1244,1074,1184,1292,1352,1084,870,593,926,1244,1092,785,905,1008,1050,949,739,792,1014,1572,1096,663,532,525,517,600,742,659,666,639],[1102,1242,1266,1108,1108,1086,758,502,359,343,464,558,741,509,376,360,306,386,458,455,417,408,425,396,288,319,405,616,983,825,788,1226,1216,872,637,402,378,401,393,417,449,597,742,485,516,791,872,742,481,376,412,461,836,857,654,565,363,565,1088,948,454,367,346,363,308,447,481,572,742,403,301,379,350,323,505,1190,1620,1170,793,621,572,617,462,637,1100,1376,1260,1100,1270,1092,524,713,633,390,335,363,419,361,336,346,337,352,473,688,944,966,917,1108,635,357,297,377,334,293,309,340,371,374,325,324,374,376,409,413,351,353,458,484,412,376,487,488,355,466,451,389,442,730,847,781,796,1742,1484,1146,1294,1228,1586,1588,785,514,458,422,564,808,998,885,419,421,678,987,1148,1296,1224,1260,1232,1526,1428,1023,532,675,752,639,579,877,1772,2186,1932,1800,1662,1546,1260,1232,1244,1396,1554,1554,1210,1330,1762,1290,1116,1394,1316,1128,1330,1700,1364,706,516,454,497,761,869,480,575,1052,1636,1738,1212,1130,1168,957,1088,1124,728,628,707,708,831,999,1118,761,623,539,605,683,698,650,584,574,802,1294,1136,1007,1060,1288,1580,1628,1648,1680,1670,1600,1504,1592,1626,1692,1478,1270,1208,1268,1442,1408,1126,945,1576,2122,1748,827,678,697,1012,1290,1238,1544,1394,1384,1504,1116,892,1298,1382,1200,1256,1230,1244,1372,1428,1544,1420,1706,1596,1266,1410,1826,1788,1412,1588,2374,3024,2626,1620,1216,1396,1550,1460,1258,1078,1278,1644,1918,1882,1964,1958,1848,1690,1526,1592,1738,1818,1854,1596,1026,788,828,1396,1716,1582,1476,1210,1304,1490,1584,1792,1760,1312,1158,1460,1636,1324,1112,754,694,949,887,719,678,756,675,632,683,855,1140,877,1010,1232,1278,1214,1218,1328,1266,1100,1044,788,825,857,560,385,367,394,425,802,1290,1580,1384,1406,1654,1232,650,629,726,1028,709,775,1406,1570,1324,1234,1288,1614,1014,422,512,996,2010,1770,1182,985,1100,1144,920,1350,1226,842,1018,1148,968,853,568,449,446,545,706,998,2036,1548,1144,1162,1180,1210,1094,917,760,1144,986,820,739,1098,1212,1376,1190,897,1240,1478,1416,1340,1594,1902,1896,1472,1188,1264,1072,1040,1426,1322,1080,1388,1576,1116,881,968,1019,863,843,865,1044,1436,1302,875,996,1170,1100,1438,1560,1054,1034,880,534,443,533,457,553,780,674,559,654,802,839,560,490,563,531,1120,1332,963,1066,1194,839,618,951,1566,1946,1766,1326,1058,1246,1406,1234,963,865,724,810,1126,988,755,893,645,633,1130,1078,846,1056,1152,1206,1306,1186,1098,1050,835,805,1076,1156,973,1028,1068,1100,1017,979,1124,1274,1254,1214,1136,881,1076,955,551,624,794,634,557,833,801,872,943,807,675,680,512,767,1128,1230,1023,1004,985,1498,1842,1850,1628,1082,1012,837,867,878,946,999,674,476,612,629,793,917,1182,1378,1540,1352,917,606,625,577,628,856,861,717,602,479,350,354,434,664,1098,1238,1148,1386,738,385,477,562,666,732,973,1164,1410,1520,1096,703,601,725,1022,1114,1122,985,1080,1044,588,368,304,366,659,1068,847,727,585,1104,738,362,332,298,390,429,652,861,634,536,537,556,531,347,272,318,361,325,301,292,371,479,463,548,669,324,255,505,792,894,652,433,350,271,295,315,503,1048,1048,502,306,313,464,780,738,1044,1588,1448,886,651,1218,1446,1194,851,1112,1316,1694,1328,860,863,877,837,788,788,618,500,556,522,536,644,615,511,522,420,322,289,267,308,290,254,233,277,285,302,345,592,650,390,574,733,845,1110,830,920,1212,1582,1728,1012,712,852,544,399,477,407,646,919,686,659,1116,1428,1432,1314,1102,1100,927,1172,1428,1542,1414,579,644,1048,1340,851,1019,1006,1012,984,960,1038,1200,1208,1176,1218,1216,1378,1500,1706,1802,1832,1892,1798,1612,1502,1556,1692,1556,1206,1050,943,1286,1332,1388,1334,850,1040,1178,655,969,1496,1944,2256,1696,1610,1094,1100,810,1462,2044,1690,2058,2110,990,521,873,1076,686,652,927,1318,1240,1284,1162,1108,1224,1352,1274,928,653,829,918,835,1011,1490,1208,807,754,969,984,1070,1432,1622,2026,1908,1122,1230,1346,1488,1380,1296,1560,1564,1368,1474,1466,1438,859,400,384,501,839,683,482,426,352,1160,1810,1342,882,912,661,628,539,368,339,380,452,474,509,527,524,530,411,349,380,363,412,467,459,556,993,877,696,893,671,711,828,540,498,617,913,1384,1138,656,727,827,864,684,443,552,996,1432,1656,706,293,248,274,277,303,294,261,267,288,451,788,866,774,662,824,869,680,750,584,730,1054,971,693,474,265,249,265,407,438,589,736,738,601,499,349,316,373,261,294,330,296,276,543,731,641,437,313,263,303,581,752,639,452,425,298,364,634,420,366,377,378,343,471,834,1224,900,410,388,490,796,737,490,481,412,363,346,710,775,526,570,584,466,628,1126,1050,639,1013,938,422,275,289,443,799,1116,962,553,665,838,1200,1096,661,484,427,278,172,187,216,198,210,247,289,295,292,264,276,312,335,321,509,666,455,589,971,1008,1372,1466,1114,611,473,365,315,325,362,379,650,857,584,529,518,475,499,532,747,795,1052,1174,1418,1390,977,832,891,1030,659,464,426,349,293,359,764,935,714,459,414,722,875,953,912,762,794,767,529,722,953,1044,989,862,979,1013,1098,742,459,439,750,1168,545,410,490,815,1158,1126,1120,1046,888,696,419,382,516,562,622,603,534,778,980,809,575,1050,1356,1620,1300,588,619,1046,1060,1030,616,514,614,570,540,783,1080,939,657,494,468,634,861,880,663,494,828,1150,1312,1036,735,803,624,910,1260,1670,1736,902,613,511,410,392,377,380,458,600,611,598,554,486,430,438,576,692,688,688,718,757,771,777,818,777,738,778,793,760,755,793,835,806,800,890,948,912,954,949,728,452,429,479,543,531,541,657,665,704,827,799,607,559,578,495,456,468,511,555,578,529,500,507,512,532,561,532,502,433,378,359,482,526,627,902,1340,1442,1200,1262,1456,1606,1510,1474,1468,1568,1366,1462,1352,974,1028,1440,1468,1036,1016,827,636,487,423,425,511,586,545,487,462,584,838,885,997,1278,1142,667,686,896,794,1216,1590,1100,1034,1050,1302,1724,1212,952,1015,987,1272,1732,1480,879,656,539,456,490,689,743,470,391,463,795,930,1046,849,554,536,463,460,630,1002,1348,1580,1090,904,1210,1774,1918,1534,647,393,701,1228,1380,1364,1274,970,1026,1418,1648,1426,1388,1274,1076,1100,878,815,708,605,607,558,506,656,556,464,399,703,749,411,373,432,444,805,1668,1578,1408,1454,1708,1534,1300,1198,939,903,1324,1322,1318,1450,1216,1390,1570,1462,1344,1300,1296,877,543,965,1274,1088,781,1200,760,540,549,460,382,408,713,1118,1394,1238,708,436,413,665,659,1116,1494,1696,1218,921,960,1146,1007,637,654,671,925,1120,660,376,342,344,338,348,340,325,328,309,307,303,277,250,246,254,276,280,277,281,282,271,265,268,277,289,292,290,278,274,280,281,292,298,284,335,390,379,420,591,782,611,915,1942,1866,773,322,288,289,406,556,450,309,363,447,622,778,765,653,475,621,884,938,1017,1112,1106,1024,735,795,839,870,1100,960,787,1142,1334,1070,1096,1156,762,913,1246,1538,1194,688,624,441,340,451,1010,936,931,1290,936,1318,1360,1112,905,861,928,851,734,715,976,1190,965,697,802,731,499,587,626,481,384,457,432,339,366,355,318,327,292,326,303,323,386,548,797,1056,1208,1268,1108,934,703,585,759,752,452,515,582,725,742,563,701,798,818,920,1088,1148,1416,1520,1204,1122,666,827,785,818,859,813,1236,1040,751,864,947,1340,1574,1042,762,646,587,500,462,656,873,1158,1118,1086,1688,2088,1642,1282,1200,1000,1536,1454,911,1070,1017,720,949,1298,1330,1520,1344,897,970,914,754,943,979,792,669,606,509,389,531,818,813,1076,1430,1306,1134,1412,1172,2702,5072,6080,3518,918,888,750,959,784,432,270,267,278,296,336,321,361,633,799,1062,1376,1380,1386,1108,906,1072,1762,1660,1160,1150,1226,1142,1058,798,892,925,844,1256,1492,1380,934,1222,1464,1334,1070,1244,1332,1432,1892,2176,1374,794,584,524,570,966,1394,1638,1452,1172,1128,1158,1132,1212,1342,1378,1180,1188,1274,1198,1370,1550,1564,1322,987,976,1152,1312,1538,1742,1516,1108,811,766,1274,1322,1012,1164,1156,1216,1310,998,914,968,1294,1642,1580,1296,795,683,1104,1404,1220,951,1146,1356,1592,1210,866,647,878,1476,1278,1108,1015,617,563,775,716,488,467,565],[918,816,719,769,1118,1282,773,581,426,460,498,491,687,561,378,404,359,348,335,397,406,388,419,355,351,419,874,1462,1460,1348,1498,1816,1538,1082,591,386,322,342,383,601,565,397,382,384,410,351,509,847,701,400,433,519,633,656,915,979,691,767,1196,944,597,586,575,615,662,798,771,825,866,673,744,695,397,333,422,581,617,408,458,803,907,935,673,531,904,1052,1208,1366,1030,707,585,1250,927,434,328,327,303,331,348,337,361,388,468,796,906,786,675,685,425,289,322,374,310,267,285,321,305,288,288,324,332,390,385,377,349,398,407,346,380,405,401,427,357,498,387,368,373,379,608,735,1544,1738,871,1036,1274,1434,1654,1338,704,536,459,577,790,1050,1670,1252,415,461,899,1134,1230,1528,1434,1078,836,1134,1072,634,464,547,700,954,1238,1368,2094,2116,2002,1860,1532,1522,1526,1598,1702,1560,1490,1498,1228,1040,1226,921,1034,1128,839,601,672,907,754,501,407,458,529,583,578,535,499,953,1608,1676,1002,965,887,658,936,954,411,350,703,948,908,955,1088,892,583,377,401,446,561,599,472,379,808,1482,708,449,784,1184,1488,1636,1550,1498,1598,1386,1144,1048,1122,1154,1426,1724,1708,1622,1322,1198,1416,1548,1638,1740,1648,1288,1092,1038,1308,1302,1340,1210,1136,1302,1284,946,780,977,933,1230,1094,1236,1426,1444,1686,1732,1580,1384,931,1042,1578,1684,1664,1716,1690,2226,2452,2222,1610,1510,1756,1872,1808,1554,1426,1512,1488,1456,1368,1440,1394,1276,1206,1015,958,1332,1638,1650,1338,868,1206,1842,2304,1946,1496,1490,1314,1382,1656,1698,1476,1260,1034,1076,1330,1204,1010,1128,886,622,714,827,794,697,641,575,777,602,645,1044,1023,1218,1324,1172,1208,1136,1114,897,850,832,542,556,605,722,491,534,618,650,996,1388,1404,1382,1686,1782,1508,1438,1380,741,972,757,518,689,991,1266,1490,1508,1366,958,484,673,1322,1766,1114,622,462,709,903,1230,1732,1384,749,858,1184,1228,983,706,530,558,902,1046,1068,1480,1294,877,890,1316,1502,1164,1158,1096,1124,755,760,721,1068,1150,1352,1220,749,1122,1256,1086,1258,1472,1620,1646,1224,1026,1000,933,1021,1082,1038,896,1266,1030,894,850,766,863,692,707,883,1158,1736,1594,954,1050,1210,1280,1792,1692,1092,832,617,495,487,522,479,393,383,418,426,547,836,997,725,561,593,585,1190,1336,922,944,1172,1070,924,836,1558,1808,1566,1450,1194,1052,1122,1022,1186,1240,1250,1608,1156,778,1244,1334,722,693,1014,879,789,1112,920,788,1042,1170,1118,962,980,750,1302,1578,1318,1062,583,492,460,716,1188,1170,1200,1280,1216,991,1066,1340,779,655,747,601,922,1042,763,938,935,712,893,835,650,1009,979,1208,1168,869,1096,1836,1870,1774,1316,980,904,754,845,873,881,873,570,435,530,523,477,587,688,797,802,813,900,708,734,611,683,805,749,662,485,290,289,319,378,654,1046,933,1084,1152,830,766,771,973,872,763,735,738,1058,1172,807,539,370,432,627,565,548,981,1368,999,441,445,503,540,808,829,658,713,722,1114,752,315,336,392,579,604,811,629,541,586,480,742,751,506,413,563,688,567,402,379,443,526,517,625,659,411,375,450,536,683,616,424,316,222,284,413,664,1260,1136,485,295,371,501,620,571,935,1548,1232,776,854,1378,1638,1532,1170,1614,2020,2038,1720,1376,1124,929,1030,1005,847,727,781,937,784,810,1170,1098,886,971,763,408,273,287,294,246,219,250,285,346,599,577,521,391,350,548,795,1272,1272,709,1086,1172,1460,1366,888,1042,1060,630,524,670,563,756,698,633,657,955,916,938,883,540,654,750,863,1388,2058,1510,862,911,971,1028,631,627,613,585,640,584,464,570,504,490,507,567,722,887,1118,1212,1166,1124,1106,1054,1340,1708,1742,1454,1356,1162,940,891,1156,1354,1150,612,688,687,691,1198,1648,2140,1814,1638,1158,1324,1012,905,1414,1490,1532,2320,1670,514,597,1128,815,642,731,1050,1176,1182,1100,832,922,1288,1388,1180,1126,876,920,924,904,1338,1416,818,636,667,724,948,1320,1306,1284,1904,1848,1168,1220,1056,1404,1418,1388,1612,1522,1386,1336,1262,1494,1082,870,828,778,839,817,586,475,610,916,1206,1140,776,872,613,455,417,349,343,445,564,597,484,420,401,422,346,316,384,411,463,498,436,772,1830,2014,1844,1688,763,410,577,486,369,406,978,1172,824,553,796,1188,1176,825,642,721,1162,1464,1366,604,426,444,353,330,420,525,451,298,403,679,525,340,458,553,633,758,718,926,744,597,856,788,637,443,289,259,281,537,533,373,525,658,507,284,233,314,410,261,300,357,310,351,505,634,419,229,260,234,280,414,562,794,653,495,368,533,771,533,393,503,500,442,550,920,1104,490,310,337,398,671,962,922,662,535,418,269,283,477,607,349,346,365,313,704,1250,1116,1366,1266,696,343,377,618,1024,1158,895,596,599,666,1376,1454,926,413,259,215,218,251,261,263,280,266,264,285,288,245,248,257,300,412,618,586,308,420,719,1192,1476,1632,1528,1284,849,410,303,348,366,578,1220,1496,1354,935,641,514,414,354,370,714,1056,1190,1112,1110,1248,1404,1234,805,534,418,417,341,299,471,830,776,891,929,745,538,465,516,797,950,1062,789,738,1100,1212,954,669,650,1108,1166,852,420,312,276,419,458,436,443,416,736,1142,1230,1358,800,491,419,567,552,572,664,660,599,541,532,786,957,993,1044,1550,1280,675,589,1016,1126,1280,987,791,868,828,805,810,924,577,788,1042,773,634,886,1178,1244,868,525,528,908,1104,836,615,878,632,594,1110,1360,1170,1244,1076,549,421,339,408,424,411,515,580,598,534,488,478,361,355,496,644,728,811,895,878,836,805,765,689,738,789,796,821,788,722,685,716,836,907,887,866,827,741,505,442,459,498,558,677,788,670,611,626,611,503,484,479,430,418,462,481,591,731,532,491,476,476,466,502,539,669,774,675,477,454,449,532,1166,1804,1470,1752,1544,1514,1456,1324,1406,1396,1450,1498,1532,1406,1126,1104,1452,1486,1132,1064,1202,944,501,470,634,933,979,518,484,644,1032,1376,1282,1148,1320,1290,871,759,865,790,888,969,901,1048,1126,1544,1744,1172,774,664,1015,1310,1086,731,488,492,463,513,870,925,967,846,602,594,938,1068,973,802,590,561,488,549,598,666,1252,1126,924,845,1346,2160,2484,2138,844,413,648,1312,1776,1690,1102,803,1172,1732,1728,1406,1190,1230,1320,1412,1188,931,702,512,419,377,405,513,469,387,459,814,1208,1252,644,482,476,522,1338,1908,1744,1742,1786,1508,1412,1470,1234,987,905,816,1494,1378,1334,1316,1174,1036,960,988,1058,935,855,1194,1382,1038,543,713,596,530,504,422,334,413,748,1064,1270,966,551,427,400,743,1052,1472,1766,1412,1034,1218,1186,1218,1212,1140,784,633,788,861,522,346,332,332,320,310,331,369,328,300,298,298,273,253,263,275,275,263,262,277,276,253,268,277,278,286,285,312,286,277,279,286,299,295,281,284,294,326,372,402,375,398,522,822,771,546,407,358,355,361,572,846,678,695,927,890,667,539,485,468,658,802,747,854,962,819,830,844,885,663,549,538,590,630,902,1414,1340,859,633,524,507,656,1066,926,1336,1092,492,390,452,597,745,1019,1062,801,1556,1204,1034,1048,1170,1158,1064,998,992,1478,1944,1470,1124,1096,955,753,694,623,467,492,599,529,434,437,479,635,628,458,386,579,564,724,924,943,1190,1522,1604,1318,875,803,714,642,788,735,589,629,941,968,814,886,1040,1194,1256,1324,1108,877,853,928,882,790,693,531,527,469,775,1376,1492,1316,927,1004,1066,1114,1088,643,404,418,504,444,426,509,659,813,1168,1394,1398,954,878,931,674,1212,1360,1112,1142,1084,1100,1124,1302,1334,1376,1330,1042,846,624,703,1003,1078,838,601,606,752,698,525,450,303,350,512,671,879,1009,1210,1380,1788,2188,1332,793,827,692,869,583,319,262,303,362,547,633,360,372,616,507,531,590,745,1058,1296,1318,1276,1534,1238,871,979,1050,1012,1166,1242,1464,1268,606,735,1238,1140,1152,1256,1476,1516,1432,1466,1338,1060,1220,2222,1888,968,605,456,507,783,1132,1190,1096,1344,1398,1274,1230,1190,1246,1054,879,1260,1206,1004,1206,1280,1398,1322,1050,1116,1600,1544,1704,2014,1492,862,1004,1168,1306,1118,1222,1208,865,1332,1268,984,834,1210,1322,1484,1554,1250,910,810,740,894,1098,883,1212,1354,1404,1228,1134,697,807,1296,1392,1382,1200,857,785,1026,690,602,1032,1054],[984,830,577,586,1284,1582,713,455,412,439,832,1202,1086,581,344,361,339,335,343,361,432,429,457,409,405,525,1240,1682,1398,1444,1336,1486,1498,1082,560,387,320,287,369,628,651,396,379,498,435,379,426,693,863,885,976,850,713,907,1148,1210,1084,1040,1144,1106,828,831,957,1128,1230,1226,785,483,717,1288,1558,952,487,370,419,467,427,393,319,784,1448,1818,1188,673,849,1350,1810,1682,852,488,427,866,1014,615,349,398,460,412,325,307,333,405,574,923,1011,898,586,436,385,319,321,349,391,403,320,283,243,226,246,276,291,399,364,361,407,401,306,345,391,470,544,561,411,461,434,377,347,376,602,698,931,901,663,1138,1346,1246,1304,843,692,769,672,918,1448,2014,2168,1596,703,472,1054,1476,1346,1224,1028,838,1005,1158,954,889,882,767,1076,1614,1816,1656,1994,1920,1808,1772,1526,1594,1532,1474,1534,1320,1238,1296,1164,771,643,533,750,1092,858,552,615,656,516,429,412,455,468,421,410,430,440,852,1264,919,509,628,962,995,1082,849,517,430,793,1054,841,681,692,780,589,285,331,340,417,546,667,840,1944,2100,914,439,750,1156,1454,1580,1540,1518,1532,1148,719,730,966,703,893,1330,1470,1448,1130,897,1146,1228,1152,1248,1496,1258,1324,1450,1288,1318,1498,1440,1282,1338,1502,1426,1186,1248,1236,1456,1584,1592,1674,1694,1714,1732,1568,1122,907,1122,1530,1442,1650,1752,1738,1852,1948,1618,1308,1448,1682,1898,1770,1622,1482,1112,904,977,839,1130,1306,1318,1224,724,582,1072,1376,1544,1410,1144,1418,1970,2206,2008,1548,1418,1474,1348,1234,1292,1158,897,759,955,1172,1040,1022,1292,1078,624,644,913,958,986,1128,1054,1274,978,863,778,1106,1592,1384,1076,987,970,1102,855,883,1014,1302,1476,1140,1376,1568,2068,2776,2258,1388,1576,1826,1672,1350,1606,1704,1932,1720,846,621,677,566,534,713,1148,1350,1350,1338,1186,904,1144,1582,1288,845,647,677,728,615,770,1120,1016,585,641,1004,1222,849,647,700,965,1228,1418,1382,1296,1488,1318,738,1058,1336,980,974,1290,1130,658,725,816,1082,1278,1274,1198,753,952,1104,738,1104,1302,1422,1522,1382,1400,1280,1174,1174,1070,1378,1236,1248,949,1128,791,889,1001,623,1158,1620,1436,2050,1696,944,832,1112,1106,980,889,816,620,522,514,514,577,585,424,400,482,572,641,1216,1264,901,890,934,844,1010,1238,1484,1812,1674,1398,930,963,1496,1464,1284,1116,777,759,986,1202,1382,1106,1248,1562,966,502,776,810,648,674,774,882,1184,1090,604,805,937,1260,1348,1196,1088,907,1522,1490,1066,801,557,502,555,854,1224,1030,817,595,774,905,1072,1628,1284,867,695,628,1186,1780,1374,940,839,714,843,998,704,877,1184,1158,989,1070,1610,1786,1300,1198,932,1019,899,782,807,818,832,744,499,396,528,548,458,466,394,550,561,711,788,777,783,711,578,535,556,518,461,315,288,318,431,568,615,768,874,669,771,964,1044,989,976,1188,965,1272,768,641,648,553,370,332,387,351,359,639,1056,852,468,501,973,904,709,561,625,684,871,1150,717,337,323,496,750,897,1038,697,551,484,451,645,697,572,823,1078,1080,779,442,484,452,422,562,872,888,669,531,417,395,506,580,645,438,366,385,571,774,1266,1046,425,303,328,410,573,590,949,1318,964,683,719,979,1454,1294,1062,1706,2200,2110,2040,2080,1946,1870,1728,1594,1214,858,840,891,827,984,1232,929,848,900,786,608,399,431,432,352,284,329,372,522,712,812,781,368,375,729,698,866,653,606,1028,1252,1394,934,714,1184,1017,690,651,872,565,552,537,591,602,585,596,634,534,518,582,528,599,964,1636,1094,962,903,921,915,621,502,550,640,750,569,504,624,531,493,419,535,732,789,803,1064,979,776,691,619,1062,1630,1484,1104,974,1124,1162,1080,1026,1236,1138,902,930,838,605,794,1226,1538,1538,1612,1316,1490,1090,741,952,991,1082,1572,794,495,822,1026,769,630,905,1192,1102,1054,1058,966,1028,1296,1442,1362,1052,1136,1052,949,1206,1636,1170,656,677,651,758,1098,1512,1488,1208,1174,1132,1282,1310,1390,1594,1380,1270,1538,1522,1362,1264,1534,1610,1700,1478,1184,1124,1134,982,563,641,1158,1176,1576,1286,872,688,521,573,573,374,289,509,905,916,502,411,352,425,507,619,744,672,624,716,839,1274,1948,1980,1510,924,466,344,446,650,841,832,1004,1090,1012,988,981,1066,948,1016,1048,912,926,942,720,455,510,554,541,524,520,1100,1410,825,625,763,521,328,276,254,388,612,714,742,645,471,835,815,794,747,463,295,266,452,492,508,483,451,458,281,275,275,318,279,320,378,370,498,839,1230,852,297,286,297,342,452,488,829,826,613,409,662,1136,1028,901,949,648,538,605,639,596,382,309,288,545,843,1324,1288,802,558,349,323,613,964,677,358,322,320,391,489,1009,1366,1342,1284,1098,799,836,1000,790,799,850,689,612,625,899,1440,1202,507,320,276,289,259,231,255,271,254,249,286,306,259,238,287,462,705,918,730,386,360,355,777,1018,1184,1422,1280,610,326,307,392,467,736,1044,1250,1546,1544,1306,1012,678,395,342,550,1202,1730,1578,1432,1114,1152,1322,1428,905,412,363,373,336,550,959,831,708,1112,1232,1158,858,606,586,703,901,975,891,941,992,688,360,415,753,800,721,875,891,784,863,843,583,678,720,831,832,592,1058,723,456,572,730,736,734,634,450,335,442,827,955,912,1430,1418,1154,615,496,1028,926,923,993,555,692,883,803,771,732,1050,792,810,1088,1007,904,1152,1494,1588,1260,743,420,1070,1222,837,492,609,574,563,931,1108,1290,1704,959,493,443,343,384,370,475,538,545,581,594,546,451,291,283,352,618,782,831,919,910,827,720,672,651,726,766,806,825,801,754,765,822,833,836,777,711,639,561,478,456,526,540,531,585,607,623,570,570,535,445,395,383,402,441,455,455,505,612,488,479,420,437,452,466,571,835,1024,954,758,519,489,550,1009,1548,1420,1908,1698,1526,1226,1236,1436,1498,1328,1288,1406,1306,1170,1374,1594,1504,1314,1252,1642,1412,902,887,992,1056,1278,789,902,1180,1394,1350,1142,1290,2026,2084,1158,788,822,866,1180,1068,930,1510,1150,963,956,767,566,606,1038,1218,702,639,756,1096,944,1248,1584,1104,1160,1336,1068,1100,1418,1124,987,785,603,538,502,439,450,482,1024,1360,1454,1534,2008,2422,2548,2456,1582,617,380,569,1194,1170,966,1218,1928,2128,1692,1208,944,1110,1324,1388,1116,555,350,506,530,439,457,479,395,298,500,1060,1338,1362,1068,701,571,566,710,1200,1690,1740,1334,1152,1366,1286,1410,1034,952,1002,1060,1144,1354,1278,1015,738,639,794,836,1272,1294,1322,1396,982,697,604,533,604,592,465,327,446,774,1058,1622,1720,1742,925,531,382,765,1454,1908,1478,854,1122,1572,1442,1232,1308,1098,666,411,338,335,329,320,329,321,294,307,333,319,303,274,282,267,264,279,276,265,247,254,264,269,273,261,267,283,292,300,308,299,293,290,289,288,282,276,276,296,310,306,340,372,397,427,675,872,794,765,594,513,576,822,1050,796,879,959,712,499,567,735,742,625,569,687,945,953,868,1060,1194,1084,891,673,440,695,847,766,968,1368,1294,683,559,478,438,534,743,1009,786,593,548,404,568,1138,1222,832,638,739,566,768,975,1340,1208,614,822,1146,1548,1570,980,1150,1068,936,847,746,517,368,448,523,428,375,358,414,736,647,437,600,1003,750,848,1040,940,1068,1360,1576,1488,900,959,879,669,680,518,411,394,754,1136,1194,1158,953,951,1362,1248,1070,888,1002,1092,1124,1180,970,682,638,681,959,1036,1184,1060,594,854,1026,1508,1656,1116,573,706,1044,816,566,637,795,872,1502,1274,828,623,800,857,956,1428,1482,1420,1362,1134,1148,1206,1268,1342,1294,1164,1034,940,1070,1188,1152,1148,1068,844,724,1122,1050,584,442,509,531,405,459,400,479,709,725,724,748,844,1016,976,1050,1036,664,383,355,492,534,636,671,307,349,425,380,408,413,357,431,489,772,1088,1298,1412,1188,955,742,646,896,865,924,909,506,469,656,930,1224,1382,1570,1484,1566,1342,1104,786,647,1196,1064,943,746,557,703,784,868,930,1214,1334,1578,1388,1084,863,608,499,797,1166,1052,973,978,1324,1472,1228,1404,1438,1676,1642,1700,1862,1216,604,588,1004,1238,1352,1642,1228,1048,1270,1160,1240,1062,1240,1348,1362,1460,1176,750,591,778,659,762,790,982,1350,1136,961,999,802,733,866,1296,1304,1366,1074,716,996,802,858,1494,1466],[688,984,860,630,1094,1408,740,408,345,568,1382,1566,1050,673,420,348,318,343,336,336,415,502,513,496,644,711,927,1340,1372,1140,1442,1662,1760,1352,587,310,321,299,276,341,359,291,334,440,414,469,385,698,1050,1576,1846,1394,828,794,870,1174,1196,1380,1414,1066,633,729,1074,1010,995,1142,620,329,689,1396,1406,895,474,361,327,324,333,343,301,535,1312,1732,1238,849,708,1182,1368,1342,1366,819,470,830,1072,712,411,558,702,532,380,370,410,486,658,984,1140,1018,662,446,374,300,257,278,284,358,373,268,239,252,252,247,391,428,336,407,400,344,338,361,395,442,480,505,628,781,632,492,492,609,590,632,717,536,547,1286,1542,1432,1036,835,839,947,991,988,1224,1538,1282,1542,1080,904,1324,1550,1414,1304,1384,1490,1562,1434,1252,1362,1396,1368,1390,1558,1648,1762,1624,1416,1460,1460,1548,1528,1384,1376,1300,1178,1426,1464,1114,701,510,822,1430,1654,1220,590,595,590,448,404,426,458,447,538,524,438,374,688,901,499,472,651,1158,1170,1352,1228,611,355,399,594,647,485,425,636,454,287,289,295,345,531,662,912,2122,1926,689,462,750,1186,1364,1098,1428,1626,1252,907,833,816,792,736,1080,1598,1584,1388,915,757,1015,1094,1042,1060,1116,1016,1224,1124,908,1094,1234,1184,799,972,1192,1314,1346,1246,1264,1292,1278,1310,1542,1664,1760,1700,1578,1444,1594,1544,1520,1564,1782,1728,1648,1636,1676,1370,921,745,1216,1284,1390,1526,1504,985,933,1106,1262,1618,1484,1108,1022,720,559,799,1250,1372,1392,1172,1360,1616,1650,1552,1346,1250,1358,1488,1426,1460,1282,937,666,1072,1306,1046,932,1234,1252,868,915,1354,1312,1492,1634,1594,1440,1274,1378,1174,999,1360,1334,901,893,1011,1304,1398,1394,1340,1510,1346,829,861,1546,2902,3146,1288,964,1450,1722,1686,1542,1716,1732,1746,1172,590,475,593,934,1196,1156,1158,869,1096,1604,1328,965,814,928,713,577,615,626,627,494,650,813,692,758,814,822,1042,998,918,1008,934,1070,1438,1276,1116,1508,1198,664,827,1058,1378,1590,1344,846,538,617,944,1210,1400,1350,1058,745,921,1300,1204,1150,1342,1436,1446,1466,1416,1070,1100,1354,1422,1372,1570,1164,1074,1058,756,990,907,515,1013,1588,1416,1998,1770,1086,615,725,750,857,894,687,527,531,583,586,626,678,490,370,505,988,921,1150,1244,1074,1044,987,897,933,1056,1364,1860,1714,1552,1366,1354,1274,871,603,583,811,1258,1330,1072,1048,955,1208,1056,641,394,452,484,597,951,1034,745,880,886,481,832,1448,1874,1948,1496,1288,1316,1332,1188,1218,1050,606,547,745,1196,1154,1198,1008,691,800,806,1170,1588,1366,1038,674,671,1202,1538,1284,916,682,675,890,789,602,771,1040,843,603,702,997,1136,825,815,958,1015,927,789,745,787,777,636,477,378,417,427,416,520,534,586,520,469,527,669,841,859,780,662,581,546,606,491,304,256,338,441,480,552,497,459,437,464,489,718,1054,1088,1090,1026,631,530,512,464,437,401,370,343,317,559,1188,1184,716,682,1082,857,472,397,692,878,1092,1106,377,298,349,618,631,905,995,849,713,731,559,445,696,592,601,1026,973,513,301,260,247,291,526,1060,1240,945,872,830,711,739,753,753,772,646,525,619,855,1266,1094,531,357,330,350,557,577,1108,1208,1050,872,838,1094,1208,982,711,1048,1616,2128,2116,2212,2302,2414,2400,2298,1744,1078,802,874,836,803,884,713,713,689,670,658,592,600,595,529,442,426,474,501,811,1358,1266,531,400,781,566,454,389,755,1028,1124,1146,752,666,988,798,619,604,697,627,619,607,858,879,719,973,738,823,1170,1528,917,521,809,839,711,775,561,730,887,642,683,580,670,741,524,494,509,499,522,412,406,671,757,766,965,859,694,658,727,974,1172,825,657,673,775,929,1072,1312,1506,1356,1444,1554,1294,809,649,762,1162,1688,1582,1654,1436,1136,1174,949,995,1192,855,495,522,1004,876,622,742,1050,1156,1102,995,1046,1054,1328,1356,1470,1148,807,994,1046,1146,1670,1792,1114,615,675,727,818,1338,1708,1476,1094,1106,931,993,1180,1300,1440,1288,1266,1378,1238,1244,1306,1662,1722,1940,1708,1504,1440,1194,1023,724,720,1228,1146,1814,1052,620,542,434,561,609,372,321,897,1616,1094,452,325,472,752,947,1286,1562,1334,891,788,778,745,959,971,787,565,441,378,543,652,594,829,1302,1314,875,675,467,359,433,626,401,405,493,597,729,663,588,470,377,384,545,1134,1866,1526,930,877,871,417,263,420,442,397,351,400,444,422,809,717,913,1030,529,255,249,241,342,550,552,431,393,334,286,270,278,353,389,379,467,571,971,1442,875,290,290,392,320,412,520,593,1190,1262,581,539,983,1076,1282,1226,564,345,364,355,457,444,347,318,454,714,920,843,669,556,395,596,893,1006,714,463,356,472,487,394,706,1246,1398,1262,1396,1354,1078,801,457,708,923,720,667,706,1072,1560,1100,628,304,238,262,258,266,261,238,225,230,281,315,302,229,350,682,1070,1356,1068,616,416,287,338,368,581,874,668,318,283,300,456,1066,1396,992,855,935,992,1332,1636,1432,1188,609,785,1296,1520,1484,1554,1672,1474,1212,935,554,383,396,380,393,387,689,918,971,1192,1154,929,1098,1214,866,720,610,574,633,601,521,377,406,538,669,698,1004,1426,1456,1276,1258,1154,725,797,943,949,547,382,824,815,546,469,593,716,595,452,518,910,1456,1728,1312,1164,1336,1070,616,467,810,921,769,558,341,363,545,673,857,755,780,1148,1428,1098,1004,1238,1192,1186,1428,1390,1132,707,307,644,699,619,675,602,405,573,889,990,995,1256,697,454,367,330,342,365,458,559,543,524,570,630,579,361,275,295,487,785,860,830,845,767,688,639,691,740,720,784,793,843,852,835,785,762,819,805,665,499,443,488,467,521,483,524,521,524,544,560,651,631,486,402,394,424,471,505,489,426,458,504,463,414,439,478,469,610,1013,1174,1196,1074,632,563,633,969,1404,1384,1460,1414,1276,1276,1324,1488,1572,1342,1278,1360,1418,1480,1278,1322,1468,1406,1312,1246,1288,1190,1334,1013,736,974,948,1174,1312,1286,1048,871,1426,2258,2126,1216,1070,958,761,1568,1562,1052,1418,997,557,680,624,487,603,885,1260,791,1030,1322,1504,1346,1590,1748,1314,945,1066,1023,1100,1210,797,1004,1017,815,532,380,422,478,676,1096,1932,2702,2728,2482,2022,2050,2110,2204,1178,520,498,466,736,1344,2100,2342,1942,1496,1076,948,848,1444,1434,749,427,528,626,534,457,455,574,550,382,411,644,729,1003,1176,913,689,731,819,1124,1392,1392,1066,777,857,619,924,854,1246,1194,865,1060,1142,940,857,869,707,720,832,981,997,1428,1592,1318,1058,866,900,809,698,595,481,502,813,1150,1758,2032,1858,1174,716,383,716,1868,2394,1918,990,1030,1682,1702,1374,1508,1232,630,446,404,361,327,323,307,297,292,312,336,331,327,305,312,284,271,267,251,253,253,255,263,271,280,273,259,276,296,305,303,300,307,306,309,294,271,269,270,264,264,265,365,497,473,406,581,807,868,912,638,447,592,663,579,603,819,741,529,736,1224,1472,1312,786,546,555,887,1230,1106,1368,1714,1406,1188,1112,1036,1170,957,731,805,1058,1354,1066,664,489,554,661,716,503,438,612,575,451,1018,1334,1762,1260,768,816,645,520,880,1148,832,410,427,612,889,951,769,803,918,1021,1576,1618,895,666,713,439,516,619,626,612,686,480,380,568,680,541,705,1004,910,1274,1504,1086,692,1017,1580,1056,545,447,513,574,378,524,976,1180,1100,1148,1348,1374,1312,1180,1140,1120,854,827,989,1015,896,1106,920,1074,927,1180,1206,867,755,912,1724,2110,1508,872,906,1168,918,786,634,719,1278,1500,1326,1044,803,913,805,1138,1732,1576,1412,1356,995,966,1264,1390,1546,1384,1104,1080,1242,1450,1300,990,1122,1362,1478,1170,1172,999,745,604,780,800,676,553,514,559,609,705,435,615,701,1028,1334,1538,1194,606,380,388,517,460,362,282,247,383,361,368,421,424,414,389,401,437,454,584,827,1242,1338,1212,1128,858,630,489,570,579,650,846,1052,1088,1372,1316,1476,1406,1316,963,767,915,1188,1138,1048,758,799,1134,1056,787,672,774,936,1370,1202,846,642,455,425,717,905,786,949,949,1620,1182,1021,1066,1128,1312,1442,1692,1652,1306,848,925,1010,994,1450,1746,1262,1456,1422,1320,1328,1140,1262,1326,1310,1282,974,942,753,807,977,967,981,1378,1788,1318,904,1432,1544,1278,1416,1670,1564,1994,1362,882,1384,1306,731,893,1082],[597,971,1120,1044,1226,1036,446,318,335,393,710,655,635,711,689,588,689,547,320,340,349,411,441,537,1013,1062,894,1058,797,711,1154,1360,1480,1188,569,342,390,335,243,266,303,309,332,365,399,447,331,555,1208,1614,1484,1222,682,750,980,980,1374,2048,1924,1040,605,713,1050,1078,963,968,589,445,507,599,590,621,496,372,272,259,299,296,270,465,1182,1562,1542,1112,741,1046,1198,1636,1794,1011,508,591,738,654,513,456,521,527,458,484,483,512,559,820,1020,860,560,365,318,297,263,256,275,436,392,289,278,265,267,277,379,484,415,378,326,303,348,373,461,477,427,431,869,1260,1234,830,685,727,494,459,477,489,536,756,1136,1314,841,770,1332,1492,901,1005,886,1096,1134,1222,1260,1128,1238,1598,1346,1114,1550,1926,1824,1698,1222,1126,1200,1272,1294,1604,1632,1656,1534,1284,1324,1602,1704,1452,1370,1480,1124,927,1376,1382,946,886,883,797,1130,1608,1330,922,832,597,441,443,458,441,483,528,499,472,422,648,1007,783,885,982,1180,1144,908,574,400,358,269,399,634,679,553,699,356,297,296,409,605,642,492,930,2082,1786,808,753,838,904,1108,922,1228,1416,942,836,1368,1354,837,722,1708,2204,1814,1328,778,804,1132,1182,1062,964,760,1038,1412,1244,1086,1114,1232,1310,794,760,1008,954,1098,1068,1001,1108,883,940,1372,1544,1692,1584,1260,1222,1486,1164,1116,1636,1780,1710,1788,1758,1790,1724,1142,705,959,1174,1572,1708,1460,1176,1296,1428,1686,1432,990,912,1064,802,634,825,1386,1510,1512,1476,1620,1750,1580,1440,1210,1200,1328,1430,1564,1424,1032,670,905,1260,1234,1042,983,1176,1372,1228,1316,1578,1192,1214,1460,1334,1128,1238,1222,1015,794,781,908,1076,1272,1184,1296,1208,1356,1390,1144,681,604,699,1162,2642,1600,589,743,843,886,874,893,936,1072,1114,1034,744,474,505,965,1592,1572,1226,1116,1178,1382,989,631,556,524,408,434,509,582,663,555,663,647,598,749,869,853,1318,1622,1416,1202,1058,987,736,991,1122,1416,895,772,756,995,1444,1590,1192,692,476,555,1013,1352,1328,1428,973,633,1122,1364,1034,1034,1078,984,1042,1148,1198,818,983,1332,1304,1214,1278,1128,1170,1062,1007,932,661,569,694,854,1400,1444,1086,867,606,669,725,774,742,577,530,610,672,626,612,736,542,499,664,1290,1474,1168,975,946,718,767,780,835,1070,1362,1434,1328,1468,1534,1440,1348,901,375,507,703,880,872,802,1704,2070,1412,716,618,559,468,445,605,1028,1088,903,529,537,456,872,1644,1970,1716,1140,1242,1522,1440,1468,1548,1258,944,1066,1054,1476,1210,1224,1196,1011,995,1038,1246,1286,840,708,521,469,615,638,738,908,1146,1386,993,758,1072,946,973,503,444,585,730,601,550,800,1036,998,835,718,672,641,552,515,436,386,372,378,414,470,486,431,395,437,494,505,438,487,713,823,843,737,696,637,422,322,336,374,441,438,467,469,465,491,507,843,875,1024,939,547,576,704,633,520,467,568,415,395,389,574,1268,1272,1134,1166,947,777,659,551,626,670,837,684,322,345,621,888,852,955,964,840,650,690,504,573,1380,988,831,1240,842,377,279,310,321,298,486,810,480,434,551,451,681,982,1028,1220,1150,796,749,708,637,730,753,525,570,372,286,413,733,1300,1054,955,1094,1484,1928,1910,1404,880,1284,1766,2078,2264,2342,2392,2464,2448,2134,1488,922,828,798,698,578,565,598,670,724,644,646,640,604,607,615,536,432,434,321,383,806,1172,802,668,717,624,648,641,568,671,932,1054,907,805,614,683,1104,911,554,650,915,1232,1462,1160,844,1082,728,1122,1390,1616,940,472,888,775,625,1013,907,875,1064,698,526,452,807,702,454,422,481,462,477,439,401,567,656,697,735,720,487,491,655,1282,984,524,555,577,739,972,763,723,1268,1304,1460,1582,1462,1360,1232,1090,1320,1224,1260,1648,1358,1552,1620,1158,1456,1200,634,541,841,996,719,655,951,1142,1042,1260,1334,1400,1180,1332,1252,1150,835,758,846,924,1096,1296,1420,1140,806,708,708,827,1470,1774,1686,1600,1418,1138,1094,1150,1208,1196,1236,1478,1206,1260,1440,1516,1600,1762,1802,1450,1382,1412,1070,924,839,959,1372,1282,1638,1192,766,531,468,924,1084,486,487,744,752,431,312,413,569,707,867,1001,960,747,744,975,923,697,668,893,1144,1064,733,469,552,692,558,712,863,644,599,870,913,603,518,370,271,302,251,295,505,839,807,821,751,702,755,670,1064,980,682,1242,1302,447,350,692,879,709,392,368,439,489,469,381,825,866,387,252,224,228,278,420,571,449,683,547,345,305,289,349,403,361,415,522,840,938,476,321,294,278,205,234,343,581,1448,1670,756,539,1002,1018,1240,1380,821,546,432,300,630,650,333,387,865,1346,728,509,623,725,768,874,623,612,885,755,556,655,574,366,397,796,1272,1138,1122,942,858,736,524,627,780,659,607,631,817,1242,806,841,418,248,263,271,235,171,212,271,248,275,380,511,314,392,796,988,838,792,835,698,579,319,294,329,339,321,303,275,315,428,965,1480,1376,969,733,587,869,1062,1364,1284,880,998,1296,1364,1132,796,1042,1448,1542,1013,359,367,386,453,875,877,709,551,500,972,1180,939,874,855,858,910,613,708,771,775,861,1028,1240,1232,1210,1220,1184,1212,1448,1526,1324,1278,1044,1092,1046,608,369,337,576,816,714,466,535,450,370,663,1150,1494,1200,1266,1242,1007,733,521,473,725,1056,1030,1038,491,387,446,571,735,1044,1044,1118,1410,1240,695,645,1062,1230,1046,1106,932,1092,1168,629,295,332,534,1112,1306,601,428,475,846,1013,922,572,306,301,350,302,357,518,609,584,519,543,659,625,462,337,292,376,680,829,827,780,714,691,646,677,733,735,727,691,735,814,836,800,771,831,901,818,599,405,509,462,486,455,571,548,476,440,498,594,551,457,458,444,427,436,479,455,421,433,492,510,449,434,456,435,519,858,910,749,714,600,568,658,1058,1462,1414,1314,1344,1212,1114,1346,1530,1416,1202,1258,1432,1494,1392,1344,1538,1504,1506,1366,1188,1232,1180,1250,998,871,1040,1190,1096,1114,1378,1078,685,1086,1320,1024,1210,1338,1620,922,1054,1514,1078,618,543,797,1296,1206,741,700,793,1238,1064,1468,1512,1302,1304,1290,1342,1334,959,726,510,728,1058,744,1272,1616,1086,506,584,729,899,1020,1324,2204,2360,1946,1388,1182,1206,1604,2438,2014,1086,767,597,744,1438,2072,1756,1400,979,786,697,1009,1658,1098,511,654,725,628,449,375,414,797,1150,675,435,779,1268,1516,1208,612,697,1126,1148,1364,1448,1182,1026,927,637,415,381,677,1192,1016,913,1250,1268,1021,1390,1086,754,688,987,1166,1172,1576,1568,1192,965,726,677,611,759,681,826,1001,1324,1220,1062,1278,1308,1009,747,682,1023,1542,1736,1604,1250,1264,1642,1692,1512,1428,971,495,416,374,347,401,376,317,288,291,331,345,337,339,325,291,260,266,259,260,273,302,256,260,272,287,286,266,277,286,270,271,284,303,317,335,318,285,275,276,278,282,262,339,563,680,573,535,828,775,602,570,470,341,288,349,535,719,612,439,731,1430,1922,1872,1174,647,659,1152,1412,1446,1478,1192,853,1216,1011,854,955,937,780,801,878,1208,1522,1308,940,886,856,817,673,866,800,802,697,875,803,985,899,1028,1138,637,626,1016,766,444,361,347,290,478,635,595,604,627,824,1314,1290,1002,706,695,384,625,846,824,869,805,467,337,397,403,612,924,771,765,505,442,502,482,836,1290,1021,621,583,770,555,323,394,539,855,821,1288,1902,1704,1378,1154,1021,909,901,969,1048,1106,1160,1318,1184,1346,1610,1384,1246,1194,982,1044,1562,1400,781,747,1058,753,725,966,976,1001,1242,1134,1140,1148,1274,1384,1238,1468,1644,1570,1338,1296,1064,941,1174,1332,1260,1188,1236,1504,1614,1572,1266,1078,1324,1362,1642,1234,738,592,530,612,739,833,780,565,485,671,1126,1184,758,542,472,735,1182,1322,841,469,311,270,253,245,289,316,325,487,461,383,444,421,408,401,398,404,419,406,506,601,669,844,1066,1282,1194,1042,770,557,628,830,1094,1120,1110,1188,1556,1438,1300,1348,1282,1374,1366,1134,1152,861,988,1170,864,913,750,689,997,1164,1042,679,445,367,398,510,592,704,839,901,1422,1404,1034,794,1034,1366,1708,1952,1926,1820,1023,1218,1150,982,1252,1316,1110,1278,1300,1572,1778,1488,1440,1396,1290,1432,1178,1050,1090,960,1194,1268,1084,1528,1914,1344,1238,2048,1840,1736,1842,1766,1538,1696,1378,965,1166,1114,543,667,1270],[584,827,1144,1318,1260,866,529,518,320,299,571,683,840,920,865,757,982,893,426,349,382,357,412,707,1150,1148,785,656,750,767,771,1096,1442,1112,938,867,845,867,731,373,328,346,358,386,360,339,274,388,818,830,830,733,653,1080,1202,702,1030,1550,1456,940,634,798,1038,1136,904,809,750,595,554,449,433,502,474,416,351,340,314,322,322,407,1060,1764,2180,1802,1013,896,1192,1490,1248,783,620,675,744,652,557,553,600,508,364,366,353,373,440,516,612,624,433,278,270,296,277,252,222,248,278,296,321,304,266,301,437,455,320,283,343,342,288,348,482,447,418,680,1122,1248,1272,1474,869,406,351,413,543,910,1098,933,1068,1088,858,1100,1564,1246,1162,885,755,1058,973,1292,1842,1688,1482,1688,1638,1094,916,1422,1766,1686,1452,1208,1007,1023,1224,1610,1754,1672,1460,1450,1474,1512,1506,1356,1374,1344,1000,771,1280,1462,1226,1434,1624,1372,1628,1312,853,885,979,932,584,419,437,454,461,475,497,528,493,606,1134,1236,1476,1426,1310,1050,1036,951,577,655,489,456,655,699,695,472,309,319,390,664,772,706,514,976,2014,1776,1648,1142,918,977,1050,966,890,1020,774,774,1050,930,741,891,2344,2212,1340,1260,1260,1052,1090,1016,1078,1106,1019,1596,1650,1482,1382,1180,806,838,644,770,976,967,1190,1220,1152,1146,895,1144,1326,1466,1616,1538,932,843,1062,829,1050,1556,1334,1076,1622,2022,1970,1482,905,758,1004,1342,1666,1762,1338,1106,1214,1394,1520,855,745,1014,1170,698,426,729,1116,1068,1120,1542,1520,1444,1588,1628,1460,1492,1168,1114,1208,1102,908,1102,1380,1306,1182,1010,930,1112,1270,1028,1096,1019,935,1184,1548,1140,780,997,968,1018,921,704,654,537,724,930,1108,963,1026,1188,1056,843,934,816,954,1548,694,560,916,1122,1202,1090,968,949,1302,2144,2054,910,457,509,878,1076,1338,1290,1518,1780,1560,896,485,513,766,879,713,493,663,667,644,576,703,840,814,872,1130,1292,1224,1044,911,817,807,671,1158,1336,872,957,1342,1184,1122,1406,1360,959,544,456,590,915,1328,1232,1418,1007,506,784,1138,1570,1340,764,756,1274,1546,1290,1180,1360,1404,1300,963,902,1180,1290,1488,1576,1268,913,1023,1092,1260,1700,1522,1456,996,838,948,641,662,722,789,655,619,608,521,506,719,740,772,1009,1432,1704,1418,982,1188,741,680,764,998,1248,1400,1238,1086,1290,1376,1180,1300,1004,432,387,380,412,482,747,1830,2270,1634,1912,2078,1212,898,934,1062,1048,1134,1020,557,413,590,1152,1852,1940,1438,1172,1648,1506,1418,1562,1330,951,1030,1282,1238,1218,1248,1262,1238,1380,1418,1196,1036,888,761,763,569,447,547,585,789,993,1566,1952,1262,1164,1688,1202,1132,619,460,486,534,492,505,821,1064,933,742,680,637,592,543,600,503,457,442,385,438,491,434,372,403,425,536,546,455,455,480,574,568,594,621,632,677,681,618,604,515,414,345,360,458,533,558,546,522,649,457,350,512,858,827,577,652,1070,590,330,407,709,1068,828,583,653,861,935,1186,1216,1172,1086,839,519,330,348,631,757,902,878,593,601,539,589,394,484,1358,1202,1048,979,904,686,328,329,340,453,733,790,518,386,323,347,405,357,535,713,783,930,958,1098,1068,999,833,608,636,404,384,643,960,1240,1188,761,813,1846,2106,1930,1292,943,1338,1718,1758,1776,1934,2018,2164,2322,1954,1130,799,762,729,644,571,511,548,658,661,582,576,560,541,522,535,491,404,397,306,215,550,796,645,558,409,279,604,884,447,314,454,676,662,611,523,606,883,745,598,620,740,1272,1514,880,549,601,618,656,1062,1316,787,524,1092,1009,753,995,896,698,1012,577,432,392,713,748,509,385,383,395,487,535,480,477,692,545,606,638,513,437,833,1410,1046,592,511,666,1208,1512,1216,822,972,1016,1378,1584,1576,1470,1454,1390,946,890,1272,1434,1670,1518,1058,1472,1692,853,586,783,1021,935,697,760,1198,1002,896,1532,1610,1610,1384,1218,1120,1112,1236,1306,1368,1300,1372,1402,1302,1200,954,936,977,1060,1460,1646,1472,1260,1320,1534,1460,1138,1172,1294,1562,1722,1426,1396,1450,1648,1672,1500,1328,1100,1054,1018,943,996,1098,1050,1172,1284,1356,1256,1112,710,631,886,1028,607,647,689,454,328,364,549,738,777,742,909,955,1272,1480,1462,932,514,445,553,761,898,924,859,692,577,643,962,1076,728,738,979,1044,808,471,365,440,576,375,342,348,362,465,596,987,1011,943,742,638,786,896,1084,894,449,461,886,1424,1010,458,652,736,753,675,442,604,522,495,404,327,263,261,253,368,364,722,1001,777,397,312,297,355,277,315,317,460,334,237,311,321,239,205,222,204,291,690,979,459,405,788,575,962,1486,1096,647,418,227,495,565,423,532,1036,1532,493,284,455,821,1044,757,482,501,791,855,593,407,453,336,390,437,984,1276,1078,928,1110,1082,656,656,1028,916,615,697,670,1032,642,723,518,271,243,210,214,230,260,290,267,350,575,902,530,512,758,539,436,715,695,691,619,419,531,488,421,356,273,244,321,339,395,650,828,890,808,679,467,446,810,885,924,998,1120,1240,947,672,717,720,798,562,365,350,361,452,964,1312,1288,1019,615,621,810,889,751,926,1014,943,690,901,1106,1140,1058,1040,1164,1278,1250,1054,1166,1284,1178,1036,1020,1090,973,937,625,392,386,368,445,717,849,495,427,722,1252,1682,1544,1360,1202,1100,639,296,312,379,521,824,856,800,605,475,453,550,752,1162,1344,996,666,513,617,766,465,565,962,791,650,456,777,1084,720,333,304,562,1304,1654,727,478,529,539,828,702,434,574,738,410,370,520,609,550,560,496,501,583,609,618,526,464,561,727,767,783,736,741,688,659,705,762,708,648,479,467,636,803,852,859,825,908,841,566,391,474,473,457,459,476,460,428,412,416,440,433,444,444,420,436,452,443,423,446,456,513,552,491,457,437,394,411,455,502,495,549,543,587,628,835,1238,1300,1260,1200,1098,1248,1448,1414,1262,1212,1404,1440,1398,1360,1472,1532,1482,1560,1314,1192,1138,1288,1278,1298,1256,1102,775,579,915,1400,1176,878,976,1130,726,879,1262,1482,870,637,850,798,703,650,892,1534,1444,797,771,830,1052,1226,1242,1218,1122,629,730,890,1350,1338,1054,666,553,727,812,1396,1508,1032,1106,1544,1444,1392,1174,980,1856,1616,1610,2060,2424,2546,2580,2796,2482,1604,1144,832,817,1074,1366,1318,1304,957,735,841,1368,1348,673,593,735,727,542,408,303,273,485,991,995,730,978,1704,1808,1009,684,928,1394,1478,1408,1208,1048,993,896,685,582,543,775,922,1086,1356,1396,1194,782,865,940,780,535,691,1009,1350,1482,1162,1274,1436,728,369,482,553,689,918,763,869,1064,1058,1226,1314,1022,898,904,1142,1112,1380,1190,899,724,691,924,1054,783,557,428,408,357,350,438,421,313,275,275,309,327,319,339,322,286,268,267,267,276,263,305,279,272,270,272,281,286,289,277,275,277,303,337,363,370,345,289,258,268,283,289,270,291,469,705,697,573,641,674,767,802,640,346,311,363,484,537,411,432,451,816,1612,1916,1584,1214,1230,1238,1300,1420,1144,579,562,874,849,725,864,1198,1266,840,709,1180,1552,1506,1548,1302,1246,966,983,1040,868,1048,932,995,969,647,659,971,853,496,463,415,351,391,365,333,336,362,403,409,336,345,599,759,433,606,437,402,322,564,799,1056,1418,1146,616,310,345,444,1100,1406,758,519,571,624,860,982,1066,1246,1210,983,919,853,557,371,392,402,545,723,1322,1744,1404,1186,1054,1054,793,543,754,1003,1042,1128,1568,1746,1544,1606,1590,1342,995,874,1270,1904,1134,673,1036,988,542,627,759,919,921,706,787,1082,1232,1466,1580,1750,1664,1538,1570,1388,1218,1128,1016,1164,1244,1072,1140,1274,1494,867,1212,1372,1404,1506,1636,1542,1074,838,724,501,474,485,658,749,555,508,825,979,975,881,675,835,786,667,655,553,415,295,241,296,275,314,318,327,481,420,400,392,403,428,431,385,438,439,398,464,509,498,448,485,596,940,1236,1288,1194,893,980,921,1278,1256,958,1196,1250,1242,1410,1568,1532,1150,1108,1066,1098,1188,926,918,1058,885,1174,1340,1176,1000,574,426,386,465,729,691,851,913,1250,1522,1346,1010,695,917,1284,1198,1440,1870,1804,1276,1296,913,698,1066,1160,822,967,1220,1192,1100,1100,1120,1428,1274,1438,1252,934,906,847,938,1078,949,1000,1326,1064,1386,1632,1584,1744,1674,1654,1502,1390,1298,729,859,1102,969,830,1416],[530,634,869,1072,1220,1024,829,796,448,372,779,868,620,637,709,533,571,599,353,339,376,378,374,502,791,867,540,465,620,621,946,1764,1892,1242,1500,1578,1372,1594,1312,576,344,384,416,386,378,377,361,478,772,676,817,789,921,1428,1598,1116,547,505,600,729,653,951,924,822,789,938,1082,1078,905,588,605,628,356,387,508,554,389,314,354,366,767,1910,2464,1872,1032,875,1268,1050,667,653,754,677,720,695,612,665,613,421,310,322,322,310,327,358,480,417,326,290,307,356,343,285,252,258,263,275,279,262,269,321,385,338,305,303,364,384,384,446,478,473,447,518,838,901,1002,1124,720,389,388,610,913,1362,1428,1054,1166,1232,1098,1766,1528,1226,1304,983,940,912,1114,1544,1638,941,682,1262,1480,935,1146,1778,1922,1534,1362,1114,1038,1264,1432,1762,1772,1620,1288,1580,1752,1576,1434,1362,1390,1544,1336,1238,1584,1384,1194,1474,1630,992,797,680,824,1005,1102,930,535,431,408,426,450,479,505,494,406,490,1050,1566,1518,1206,1238,1108,774,696,522,820,708,728,655,486,841,728,462,404,716,1268,1372,1338,1150,1300,990,930,1930,1284,949,1010,1054,863,521,447,444,637,983,1498,863,1268,2500,2086,1258,1428,1348,985,966,973,1102,1130,1072,1300,1284,1302,1290,1054,689,575,509,803,1210,1090,1068,1260,1288,1256,1094,1128,1324,1372,1266,1140,886,980,1138,631,835,1308,1472,1214,1432,1662,1866,1616,1124,1028,1210,1266,1298,1278,1058,1124,1234,1550,1428,1152,1182,1070,875,583,367,631,1190,1052,696,1328,1328,1332,1506,1410,1338,1534,1168,904,1306,1282,932,1064,1322,1248,1208,1005,1050,1296,963,716,764,706,897,1146,1294,1004,830,1010,1312,1306,1032,872,666,440,530,873,1272,1520,1326,1252,1006,854,1242,1017,1082,980,1088,1096,1040,982,984,929,877,778,1242,1826,1756,962,577,637,1208,1406,1248,1022,1074,1162,1052,873,783,814,1018,1598,1238,899,829,797,735,704,804,898,894,1104,1268,1314,660,608,976,1024,967,963,1220,1186,661,632,983,1204,1114,1622,1378,767,494,568,537,822,1332,1298,1306,897,489,762,1202,1534,1224,540,600,1240,1388,785,943,1242,1470,1646,969,781,1046,1272,1406,1666,1490,1394,1534,1350,1450,1322,1520,1584,779,1010,1013,593,597,718,971,810,644,623,498,554,957,1058,844,1148,1436,1356,1344,1290,1566,1344,1272,1396,1306,1240,1140,1006,1042,1260,1514,1500,1300,804,447,347,357,374,541,902,1830,2010,2024,2944,2148,887,1019,1350,1382,1400,1304,1068,722,489,505,1110,1572,1440,1184,918,1192,1590,1490,1284,1050,803,900,1090,969,830,921,1116,1238,1272,1068,1124,858,672,997,1208,945,559,481,639,782,896,1538,1964,1372,1502,1504,1318,1148,911,802,697,519,442,584,861,903,850,772,714,698,590,466,513,532,492,434,385,422,419,413,510,496,496,554,534,487,515,554,513,540,519,433,507,513,457,578,682,677,720,571,516,497,446,435,447,462,389,256,314,398,597,720,661,719,1106,705,387,411,744,1256,1218,662,439,358,437,623,799,731,996,1184,819,444,420,450,716,1148,674,364,353,410,417,364,332,559,974,1248,1234,1242,1050,459,375,325,456,865,761,603,541,681,1074,1032,574,444,854,1058,788,797,913,689,728,875,832,973,1021,1044,1128,805,724,850,944,781,1762,1858,1714,1292,1306,1684,1826,1536,1308,1294,1356,1426,1712,1556,962,742,695,695,683,615,524,559,651,661,608,516,513,539,530,509,472,367,296,237,211,297,424,483,450,423,437,750,1256,816,392,340,719,867,516,415,659,583,486,692,820,758,730,961,860,629,477,692,800,1122,1298,724,550,770,855,648,837,1058,670,691,540,518,462,555,500,369,395,451,505,541,536,412,413,666,582,686,777,707,546,994,1508,994,570,509,890,1534,1438,1094,771,589,914,1648,1778,1464,1250,1322,1256,1332,1318,1118,1282,2006,2048,1188,1318,1112,526,532,805,1054,834,764,735,1136,988,921,1540,1578,1470,1360,1238,1172,1248,1456,1578,1722,1458,1432,1578,1402,1372,1074,971,1060,1346,1570,1606,1258,1300,1434,1632,1490,1258,1128,1432,2662,2746,1652,1356,1322,1578,1368,1360,1278,1224,1322,1360,1208,902,795,1017,1136,1174,1168,948,1014,786,1160,1832,1188,547,496,482,379,310,457,798,954,774,1294,1468,819,739,710,655,511,523,619,564,468,537,710,948,1088,848,809,1292,1004,901,720,755,1274,1060,409,387,724,1240,603,353,359,401,403,412,677,932,1080,1088,1084,869,573,562,416,446,829,963,1015,774,744,908,888,811,564,592,825,854,1172,1044,599,312,244,225,259,218,466,901,732,349,249,198,209,280,281,211,219,226,258,246,225,226,218,185,185,231,281,228,182,245,423,359,482,885,749,490,327,260,398,547,890,1004,929,960,399,262,412,703,755,708,631,710,708,684,719,545,547,405,343,340,740,1224,1236,948,971,1276,1040,680,946,1160,772,808,752,688,1152,1652,898,246,285,287,292,270,277,274,256,339,484,658,556,419,306,340,503,536,597,698,411,469,667,869,733,431,339,467,482,367,283,363,509,731,614,833,681,579,473,460,483,484,667,858,754,723,714,744,758,440,505,626,536,544,709,791,921,1028,1178,1001,795,576,518,703,930,922,918,1108,1202,1038,883,1000,1228,1156,946,690,659,831,634,516,698,620,541,540,507,504,455,405,419,607,955,684,974,1510,1388,1302,1230,1114,1020,665,498,852,1162,651,417,631,623,495,836,951,686,642,1070,1448,1202,737,609,495,974,1344,764,547,1038,1326,898,728,973,763,457,455,383,550,1054,1134,974,596,384,322,475,526,486,1126,1252,461,393,446,614,623,561,444,420,510,594,614,609,614,707,780,757,747,741,740,697,717,720,657,567,529,500,439,520,767,804,775,778,850,753,541,384,419,500,471,442,484,416,400,419,432,407,426,432,433,429,454,451,416,422,462,480,507,536,565,472,387,385,396,393,413,452,479,537,638,630,741,1210,1248,1372,1288,1328,1324,1214,1318,1398,1572,1686,1434,1286,1254,1468,1382,1354,1334,1328,1200,1220,1380,1364,1090,752,604,495,590,639,1064,1110,1196,1260,1678,1148,484,591,725,902,954,876,752,750,729,768,1224,1010,630,669,617,703,1046,996,888,1080,868,1266,1184,1376,1192,1046,903,658,624,899,903,610,700,1090,1876,1678,1128,899,990,1836,1672,2316,3282,2818,2402,2708,2908,2486,1582,1092,1058,973,1050,1208,1340,1378,1246,1168,1098,857,679,561,493,562,477,402,437,366,277,245,419,714,833,861,1100,1084,1182,1052,929,1306,1448,1128,921,766,761,708,644,677,834,1082,955,781,1048,1136,1302,915,511,545,508,566,661,802,1386,1470,1190,1442,1616,988,481,801,1066,1166,953,570,716,1172,1164,1310,1206,873,694,597,846,803,717,776,686,499,403,488,713,672,536,423,386,360,372,370,316,273,268,274,296,316,318,350,320,284,292,269,265,264,252,255,261,261,261,270,276,287,281,304,292,280,310,343,359,356,327,280,284,288,275,263,260,273,338,539,590,556,561,965,1136,981,955,591,497,524,1488,1342,749,986,1016,636,960,1668,1716,1294,1044,1044,1128,1278,1254,682,452,318,605,739,758,1124,1500,1374,1032,1120,1224,910,1328,1336,1306,1144,1134,890,752,555,533,1070,1264,653,451,497,398,470,867,785,660,530,440,435,367,321,347,380,380,386,626,864,590,390,315,325,315,578,771,1162,1728,1194,636,367,345,346,686,810,549,770,1216,1182,1176,1144,916,916,1208,875,753,769,849,783,569,389,516,677,1066,984,864,1384,1198,1272,1060,1136,1094,1044,1410,1442,1912,2030,1600,1486,1278,1148,1150,982,1268,1874,894,653,933,799,560,456,533,697,720,670,839,1168,1216,1290,1410,1352,1422,1566,1624,1406,1294,1522,1316,1208,982,706,740,1118,1146,675,1094,1058,1082,1450,1320,931,1150,1132,758,378,425,543,596,583,604,747,829,802,1072,882,623,1112,1326,1210,747,510,396,416,363,291,249,318,300,388,548,358,414,437,472,460,425,393,397,414,459,490,459,448,416,432,536,508,522,754,1338,1488,1516,1396,1312,1066,1094,1158,879,1204,1224,1438,1300,1172,1260,1278,1216,925,711,790,678,839,1406,1316,1138,752,504,431,423,645,1176,1408,1472,1302,1514,1740,1414,1023,1082,1138,1294,858,1086,1466,1508,1366,1174,1026,1058,1218,1066,742,1076,1302,1030,976,938,665,965,1050,803,709,590,623,644,611,872,963,683,718,969,1056,1078,1462,1678,1764,1764,1560,1486,1330,639,904,1530,1332,756,961],[506,548,757,1032,1296,1270,1100,1044,815,798,803,598,399,434,599,571,379,421,407,420,346,340,324,364,526,526,372,354,388,496,780,1116,1252,1318,1764,1672,1362,1498,1152,584,375,373,426,398,400,410,412,591,826,876,924,892,1020,1086,1266,1146,406,290,347,637,703,1180,962,783,776,796,931,1114,980,569,534,557,384,403,617,680,521,287,308,383,578,1454,1848,1356,1200,1692,2138,1144,860,989,844,673,717,735,643,553,413,312,292,298,270,262,263,258,304,290,348,351,344,357,302,256,263,241,231,233,237,221,269,370,322,279,277,299,315,333,358,403,465,492,653,913,601,441,704,731,482,356,616,1030,1140,1160,1072,900,1094,1212,890,1260,986,1134,1106,1164,860,698,1018,1044,1040,637,629,1422,1146,1280,1428,1880,2108,1714,1348,1228,1538,1932,1894,1976,1758,1526,1434,1640,1616,1484,1410,1382,1470,1438,1446,1638,1334,1414,1760,1858,1828,974,591,703,1018,1400,1538,947,422,449,438,396,449,500,552,487,330,397,741,999,999,1062,1320,1472,701,415,384,647,461,509,560,548,981,1244,1092,837,1005,1296,1424,1494,1440,1310,714,835,1978,1642,970,1086,963,731,367,341,421,576,1556,1958,856,1312,2028,1724,1458,1324,1114,1023,1064,775,706,725,978,1266,1310,1346,1216,896,612,588,461,596,1318,1328,1172,1318,1334,1504,1184,1074,1370,1410,1206,1234,1418,1642,1734,1164,938,1246,1678,1554,1432,1402,1520,1598,1528,1206,981,1204,1416,1250,952,1260,1314,1210,1212,1218,1050,887,839,695,447,733,1282,899,577,1172,1278,1290,1466,1310,1402,1656,1252,1310,1768,1550,1394,1440,1288,1268,1798,1450,1556,1902,1346,818,877,1232,1340,1434,1494,1054,796,1372,1724,1370,986,778,514,339,677,1138,1510,1918,1496,1380,851,569,1172,1228,1312,1384,1526,1416,813,375,397,545,703,733,1300,1432,1396,1494,1013,711,1172,1426,1272,1142,1030,880,1250,1362,1238,1238,1212,1654,1362,1332,1236,928,780,781,789,1030,1246,1538,999,929,713,855,1070,1214,1190,1188,1082,846,1146,1272,1190,1138,675,756,901,890,696,555,440,702,1194,1290,1356,764,609,1012,1498,1284,1086,662,918,1484,1642,1022,691,843,955,1082,790,797,960,1082,1214,1406,1486,1206,1128,1466,1438,987,1510,1552,1019,1005,762,561,607,763,964,782,880,884,568,706,1090,1001,1046,1426,1656,1554,1580,1542,1400,1210,1086,1114,1136,1094,1102,1010,1009,1318,1344,1388,1396,1056,571,408,380,541,975,1296,1542,1610,1972,1854,1044,855,784,916,1064,1414,1510,1328,1212,982,807,1160,999,750,629,634,1078,1316,1246,1098,899,967,1120,943,813,945,890,984,1106,1178,1134,1098,1054,1140,1072,1208,1202,750,503,679,731,909,1362,1198,1282,1296,1166,1288,1250,1120,1060,918,550,415,481,659,807,908,932,884,788,567,436,461,428,428,491,398,442,371,361,475,623,574,582,549,508,568,521,415,487,525,487,535,480,405,394,418,458,501,568,680,653,674,647,501,394,372,373,451,490,437,482,616,777,829,574,408,508,710,1250,1060,593,584,559,448,352,372,287,576,1028,986,519,684,803,1152,1056,585,366,319,339,612,659,487,392,537,1088,1704,1398,1304,1316,874,491,652,757,460,410,735,1166,1252,1088,882,822,1392,1256,1574,1456,937,934,937,730,642,634,786,1174,1118,631,643,702,779,861,1594,1828,1594,1498,1844,2066,2010,1870,1640,1190,1446,1782,1544,1362,857,696,736,655,615,560,479,519,608,637,598,465,513,568,551,515,448,299,208,217,270,389,487,622,590,518,624,1042,1026,772,531,395,807,929,543,515,990,1002,666,549,861,693,388,713,961,808,766,827,896,1178,1074,882,1060,652,871,834,754,662,614,601,528,493,484,576,841,1036,860,948,824,535,381,429,560,484,527,781,855,761,781,1508,1654,944,650,691,1188,1600,1094,902,932,589,951,1738,1648,1426,1114,1322,1268,1194,1046,728,731,1216,1390,1332,1106,652,522,503,792,930,857,861,925,1182,1216,1232,1146,1078,1328,1206,1338,1570,1414,1462,1268,1184,1320,1416,1392,1312,1150,932,1088,1564,1598,1418,1538,1908,1542,1340,1290,1412,1426,1346,1490,1982,1848,1356,1280,1560,1728,1602,1442,1408,1376,1318,1448,1332,1034,1324,1550,1024,1312,1302,771,855,600,1001,1730,1596,875,525,800,786,425,705,993,819,1194,1622,1456,1046,836,634,536,618,700,733,996,807,555,505,466,721,1018,1444,1546,995,755,918,1410,1726,1088,458,368,694,1100,619,359,345,384,541,644,745,624,617,624,828,985,1056,888,711,655,625,513,439,605,675,590,783,719,529,530,577,763,720,578,452,294,207,215,231,237,478,907,640,229,181,194,226,336,311,257,228,224,207,195,222,248,214,209,206,219,228,218,237,306,423,373,356,436,387,345,289,347,565,582,1180,1060,633,412,382,462,796,989,637,437,534,940,865,748,881,813,632,613,503,330,484,937,1288,871,746,1292,1334,859,791,924,723,899,914,751,1722,2416,1470,427,378,328,305,271,298,243,225,304,263,233,311,300,337,377,397,383,521,512,375,479,529,522,636,717,841,898,880,784,768,735,841,688,575,741,797,799,633,433,427,479,527,455,445,573,509,518,533,349,552,873,1034,941,610,536,550,786,922,1200,1210,1066,798,873,709,457,493,607,766,647,519,512,594,694,728,802,808,1172,1132,808,639,552,496,427,402,417,505,502,490,554,930,993,1334,1504,1152,941,858,632,447,624,1258,1758,1538,936,651,879,696,698,1132,1208,1096,1094,1424,1212,847,534,563,583,904,999,587,436,707,827,719,968,1362,1202,645,532,432,359,602,922,1180,678,341,360,566,780,566,795,771,460,429,472,694,849,674,420,433,550,515,420,454,480,674,782,750,741,784,758,752,698,586,577,595,532,580,560,657,733,778,774,791,751,591,502,452,448,522,538,488,590,459,420,472,444,426,429,465,498,507,518,467,402,457,535,556,534,487,491,433,409,405,379,396,418,420,430,479,548,572,609,1044,1246,1368,1416,1296,1172,1232,1400,1656,1652,1770,1366,1290,1396,1522,1388,1056,1180,1308,1014,946,1114,1244,989,736,631,658,861,861,959,1176,1086,839,1452,1354,609,398,644,1208,1074,791,610,668,811,829,850,631,482,480,415,419,886,1232,833,737,1228,1644,1620,1350,1182,1080,917,730,844,1046,681,692,797,973,1194,1238,1210,1034,1460,2166,1840,1846,2822,2750,2950,2922,2468,1592,1144,968,940,1042,1356,1500,1416,1186,1224,1288,1072,824,533,485,440,442,365,413,480,380,225,312,550,730,753,1332,1200,1088,1354,1428,1016,1224,1174,1013,973,644,461,483,620,924,920,1009,1390,1296,1168,1188,1502,1034,397,421,576,935,943,844,1112,1294,1176,1134,1268,824,393,704,1100,1138,927,1028,967,1013,965,1332,1030,702,725,753,989,910,680,680,617,583,477,493,667,675,529,408,364,346,346,338,310,267,279,315,327,321,311,338,313,311,286,259,265,256,245,248,248,257,268,275,274,273,281,306,313,318,335,358,356,329,294,267,259,284,273,253,255,276,313,421,569,655,578,726,961,917,1086,1002,764,469,1120,886,1012,1546,1346,556,602,1086,1346,1130,749,854,919,1182,1346,1154,775,567,781,1016,1030,1000,913,1202,1310,1017,1005,780,644,1050,1188,1284,1160,767,505,446,447,695,671,370,309,317,383,599,1188,1374,1132,1090,1144,913,1050,1116,579,346,347,383,680,866,808,719,516,468,637,754,673,753,915,699,651,565,385,313,390,496,717,1028,1028,1022,969,805,598,678,817,631,546,715,1116,1488,978,568,917,1038,1226,1260,1482,1562,1442,1444,1156,1372,1120,1424,2000,1584,1354,1356,1298,1462,1204,1110,1290,1274,1354,1080,662,583,677,932,990,639,467,563,781,962,996,1024,1164,1246,1098,916,1100,1338,1542,1166,1212,1428,902,1064,1206,1007,1012,1120,1060,857,1024,1436,1476,1246,1014,1140,1646,1208,681,468,418,466,525,449,512,741,822,1122,1282,1062,1052,1324,1438,1158,1050,905,686,640,542,454,708,645,389,638,769,445,495,625,550,455,437,393,377,416,495,504,469,451,374,401,488,457,390,347,484,465,835,1436,1490,1098,1300,1666,1076,837,1076,1316,1030,1116,1214,1406,1200,691,679,864,788,940,1210,970,853,639,477,410,505,717,1072,1346,1304,1210,1404,1610,1536,993,1228,1438,1334,1176,1408,1588,1394,1280,1324,1520,1500,1102,1026,1082,1066,1078,1130,931,1014,1054,979,747,577,590,509,686,777,565,785,733,605,894,1478,1278,904,1048,1160,980,969,1392,1338,1208,678,807,1152,973,714,625],[500,531,757,937,996,1062,1084,1023,753,464,363,436,454,441,517,755,656,802,744,580,420,297,300,350,412,405,343,291,394,616,800,695,565,923,1534,1452,1228,1208,972,549,344,330,393,375,388,424,416,605,745,662,618,657,730,635,653,581,414,312,310,531,672,1230,1036,650,658,706,847,799,714,524,422,462,498,393,501,662,624,408,392,419,467,829,928,741,978,1808,2482,1568,1412,1538,1406,1012,696,703,622,441,314,281,284,285,275,278,285,297,305,285,327,387,444,394,291,245,252,240,256,263,297,284,281,299,304,277,261,310,322,310,380,405,405,491,804,1013,920,753,727,761,550,433,688,1594,1708,907,699,788,1140,1280,1068,984,861,660,931,1056,573,520,631,767,915,860,789,1272,1322,1482,1404,1354,1350,1418,1460,1662,2372,2374,2180,1970,1648,1416,1302,1246,1026,1002,1054,1144,1540,1566,1540,1566,1360,1452,1552,1798,1776,1218,1032,1042,977,1178,1312,751,478,469,460,459,491,466,437,481,496,488,567,621,902,1106,1552,1980,1114,541,412,475,384,537,586,624,1106,1266,1268,1220,1140,1106,1844,1382,1166,1060,531,785,1616,1432,1044,1288,885,648,406,443,560,546,1054,1096,846,1252,1496,1322,1206,1086,1120,1126,949,598,477,772,1100,1152,1594,1808,1388,1110,778,678,493,451,706,989,1154,1168,1178,1384,1244,1200,1434,1368,1190,1346,1360,1492,1780,1290,997,1234,1382,1478,1620,1520,1246,1056,1258,1104,1090,1328,1238,1110,1188,1302,1264,929,841,993,863,871,907,726,440,498,802,692,993,1572,1520,1252,1290,1546,1828,1470,1168,1354,1820,1612,1670,1614,1278,1674,2204,1814,1918,2164,1476,797,939,1310,1206,1428,2402,2668,1506,948,879,667,642,718,586,336,632,1132,1282,1670,1266,984,1120,1050,839,883,1088,1260,1296,1118,748,488,442,530,761,953,1454,1494,1496,1620,1034,772,1144,1166,1278,1422,1448,1268,1406,1404,1296,1246,1532,1526,1312,1330,1070,814,908,849,778,1116,1444,1608,1046,936,1096,836,763,1068,1180,1368,1142,984,1214,1094,1362,1026,535,532,984,1390,969,541,512,774,1294,1194,1356,653,609,943,1422,1190,1142,949,929,1154,1320,1134,1130,1328,1340,1018,662,613,661,797,859,1178,1220,662,611,1250,1526,1184,1814,1738,1456,1256,841,586,615,778,962,820,728,804,600,726,732,600,1007,1394,1324,1108,1176,1278,1368,1350,1270,1278,1132,1132,1892,1324,944,1086,1224,1456,1418,1094,684,424,376,602,1326,1440,1192,1382,1560,1138,1170,1484,1490,1242,1246,1430,1232,1448,1400,1250,864,734,457,464,444,828,1162,1028,976,921,865,1046,963,994,908,868,1005,1028,909,950,982,863,993,1074,1094,1306,1354,963,659,925,1070,1562,1682,1150,1380,1198,1132,1408,1416,1226,1070,777,436,354,410,464,532,572,714,793,736,581,460,476,393,432,579,444,442,403,413,492,588,544,640,648,471,445,437,390,551,608,518,549,440,365,404,410,388,345,437,566,494,543,552,621,670,688,691,580,444,350,324,518,838,893,799,616,549,688,1118,1010,1174,1190,886,521,422,499,415,363,478,596,857,1190,1150,1190,952,569,452,528,519,547,559,506,340,334,373,651,869,710,1002,1126,896,923,643,308,345,661,841,1032,1304,1244,1042,861,749,978,909,724,999,1428,1556,1092,407,474,835,1048,753,579,821,1104,967,973,1164,1190,1448,1968,2046,1936,1642,1360,1116,1388,1850,1998,1442,736,636,684,655,570,532,486,538,589,624,574,497,502,513,523,505,433,303,248,322,455,473,339,580,985,865,810,985,730,703,602,399,626,997,658,423,843,1078,641,568,760,566,327,496,735,739,612,433,517,924,1002,738,634,651,926,934,618,383,562,756,864,1256,633,576,948,955,1023,1090,752,570,619,648,623,514,598,810,867,771,1056,1608,1650,1276,1136,861,1252,1408,975,887,1042,877,1032,1406,1360,1202,1013,1238,1278,1178,1182,849,634,686,865,1284,909,655,570,676,1024,862,763,782,1088,1422,1466,1312,976,839,1368,1116,1090,1318,1304,1332,1128,1188,1438,1550,1476,1222,907,902,1236,1604,1334,1494,1528,1528,1290,1366,1178,1374,1538,1278,1304,1288,1238,1216,1220,1604,1718,1620,1338,1306,1368,1544,1620,1324,1330,1936,1650,1124,1254,993,779,844,601,587,885,839,428,755,1664,1346,631,987,852,1009,1434,1246,1612,1388,619,601,953,1192,1322,1386,1664,1500,1332,1116,927,876,1170,1446,1434,1328,994,794,1082,1372,655,323,256,299,429,400,338,306,647,990,752,755,797,1260,1130,1036,571,440,729,620,483,475,446,437,390,358,572,788,633,562,583,520,351,284,272,212,223,330,394,267,232,328,620,503,258,214,256,266,257,376,455,237,207,205,225,250,265,258,265,261,314,316,253,243,430,655,477,347,320,258,274,358,608,879,701,737,417,267,300,347,716,937,779,541,617,655,962,1012,825,789,647,539,632,554,458,383,637,1178,1090,1186,1420,1408,949,689,906,1194,1494,1316,1094,2028,2622,1716,529,363,304,283,288,296,228,249,418,483,354,341,294,256,275,317,340,391,365,313,435,512,487,460,559,760,1082,1084,1190,1156,1366,1272,1022,1076,1062,790,747,735,611,423,425,683,886,667,477,374,321,329,365,452,575,775,841,616,438,684,1222,1266,1026,985,977,798,869,709,799,984,975,903,902,1146,1304,1310,1072,912,1082,1232,1348,1212,755,735,777,929,1106,1200,1222,1196,1196,1356,1046,875,1054,1058,872,631,335,310,651,1402,2010,1776,1478,1324,1021,661,680,684,892,1104,1252,1346,1346,1324,933,461,497,593,505,530,684,655,317,329,331,346,650,1098,888,642,557,407,322,491,804,922,612,405,555,777,885,846,620,416,466,553,634,766,818,557,379,498,562,521,441,378,386,564,626,688,792,832,838,804,653,489,583,735,689,732,743,761,713,710,665,692,692,575,490,425,418,484,537,438,612,593,482,447,464,461,482,543,589,609,612,482,433,525,583,608,569,525,461,437,429,413,409,428,408,416,432,424,604,648,803,1228,1336,1362,1482,1334,1184,1124,1242,1410,1126,1146,1228,1306,1248,1194,1282,987,936,1194,1214,1010,988,1026,766,694,728,752,752,652,736,1502,1570,758,727,1174,1110,576,730,1120,1009,864,840,794,838,951,760,418,387,410,451,704,1260,1496,1026,737,914,1102,1122,1130,1058,839,844,670,676,813,570,577,629,1094,1672,1826,1446,1044,1368,2204,1984,1492,1874,2176,2118,1960,1682,1014,773,983,1144,1524,1804,1648,1266,854,1078,1036,913,990,968,825,692,565,416,406,349,339,249,329,710,1098,704,1334,1290,1510,1626,1524,1412,1466,1392,1134,1156,943,508,429,504,1074,1046,788,1162,1360,958,857,1304,944,333,409,831,1090,1030,1023,702,831,1150,1454,1572,973,395,533,735,818,806,1152,1038,982,1092,1326,937,823,1086,1308,1346,1268,1362,1246,772,692,593,472,471,563,485,354,352,386,355,313,322,300,350,406,433,343,305,310,276,267,277,269,263,270,281,251,261,301,297,283,270,270,313,361,379,368,356,328,298,278,267,271,255,263,262,264,255,257,287,356,518,642,639,693,980,1232,1434,1216,828,463,466,635,846,1172,1096,860,1200,1042,1132,1404,1110,1350,1248,1006,1058,1416,1460,1166,795,916,1218,1114,780,747,684,517,872,797,352,546,1090,1396,1222,811,546,397,336,602,532,527,490,621,995,1064,1158,1322,1058,866,998,1072,1308,1220,659,367,333,391,752,1010,1238,1410,963,1094,1674,1324,851,529,712,854,992,854,550,511,719,755,825,1038,937,964,1136,978,507,574,844,731,713,836,1158,1566,1168,855,1278,1298,1272,1546,1428,1462,1468,1262,1288,1364,1176,1426,1574,1332,1408,1178,975,1244,1358,1234,1054,1182,1236,1182,1064,771,811,1036,854,847,626,568,884,1048,1234,1410,1224,1476,1566,1138,1142,1212,1356,807,764,843,667,991,1036,945,1022,1022,1072,1021,1366,2112,1694,914,890,1760,2106,1168,574,379,354,339,295,306,399,538,719,1222,1666,1496,1384,1352,1404,1017,988,1012,551,384,337,442,882,1332,1428,1280,783,550,583,665,645,605,573,455,402,442,563,441,414,417,402,414,479,428,396,394,350,369,492,680,996,1324,1232,1486,1468,1206,1042,1088,1084,1094,1030,959,816,721,552,722,1042,1182,1200,823,888,717,428,477,677,760,985,1338,1266,1178,1276,1272,1350,964,661,1336,1708,1246,979,1250,1092,807,534,1068,1214,835,781,576,452,602,752,876,1242,1646,1522,1218,890,699,819,1224,1078,660,724,974,955,1080,1542,1172,767,814,1000,820,930,1362,1336,1236,832,861,808,574,833,967],[491,552,799,988,1112,1060,832,651,443,356,340,368,457,513,478,818,825,638,462,568,574,338,370,413,471,481,393,286,457,624,815,731,590,804,1002,879,677,655,856,641,378,327,352,377,379,398,362,651,1146,1166,960,990,859,736,749,596,445,397,435,690,868,1276,1036,564,542,646,912,1082,983,612,394,462,613,604,651,728,656,490,394,358,363,522,711,674,667,1072,1614,1214,1198,1312,1236,907,590,625,631,443,354,315,290,276,271,273,278,288,280,274,295,354,430,476,375,260,262,276,281,325,432,412,314,272,281,302,270,275,404,589,580,423,338,541,886,925,1013,1088,1258,1584,1250,924,855,1366,1542,1000,659,1094,1592,1332,1082,1202,1338,1504,1428,894,492,480,680,825,730,872,1200,1216,1013,984,1236,1234,878,732,1096,1904,2118,1994,1952,1694,1592,1406,1148,1126,1108,914,924,1272,1344,1460,1366,1312,1622,1664,1474,1496,1252,757,752,782,746,1132,1298,679,565,527,450,463,468,589,886,1094,1013,778,711,723,1066,987,1294,1580,1138,583,373,369,402,479,537,818,1210,1058,1060,1114,1120,1122,2136,1758,1114,1080,870,561,475,630,711,810,838,636,404,326,472,549,500,578,909,1412,1396,1302,914,790,758,724,576,555,559,1090,1246,1116,1652,1616,1424,1490,1310,739,569,522,554,693,951,994,934,841,1072,1108,1226,1200,1268,1092,1130,1560,1674,999,997,1040,735,963,1246,1256,1180,1058,1140,1506,1504,1344,1020,1100,1278,1160,1070,777,667,954,931,875,887,835,604,715,1204,1252,1582,1856,1462,1008,1160,1570,1720,1536,1696,1458,1686,1548,1324,1005,919,1786,2540,2186,1942,2014,1696,1130,841,1260,1054,1294,3276,4016,2068,702,552,704,957,1034,637,376,531,977,1188,1244,662,661,1136,1132,959,1058,1284,1448,1342,1214,893,675,683,523,647,945,1160,1194,1110,772,470,600,1054,1168,1162,1416,1406,1290,1434,1328,1013,861,1230,1178,1034,1100,1076,1376,1780,1564,1132,1009,1520,1556,962,722,907,820,849,1094,1132,1332,1464,1278,1224,1154,894,537,495,594,980,1256,857,502,543,866,1354,1182,1290,657,601,1128,1366,1404,1354,879,800,1170,1664,1550,1636,1568,1670,1232,615,412,385,381,539,922,720,417,606,916,1170,1178,1238,1256,1158,1262,1024,693,568,603,792,811,774,872,553,747,856,554,593,933,896,916,1284,1522,1504,1258,1054,1244,1240,1026,1116,764,980,1068,1254,1052,724,929,780,471,576,666,1060,1212,1108,998,1266,1426,1312,1320,1566,1278,1312,1236,1016,1290,1284,1250,811,664,678,575,538,824,989,1030,841,779,1078,1508,1208,955,930,979,1136,1078,982,982,982,1032,1102,1152,1076,984,1003,1120,1240,1152,1422,1764,1662,1534,1328,1134,1246,1200,1416,1758,1426,666,367,412,439,453,438,419,406,413,513,517,471,434,388,492,678,521,466,466,467,509,546,554,634,671,469,412,400,423,469,450,510,572,458,398,382,363,408,444,422,470,487,409,397,413,516,599,590,671,681,602,578,592,816,624,603,742,761,858,990,960,1062,1196,1154,772,513,634,497,465,382,354,658,1118,1156,851,692,540,563,648,681,681,634,580,523,361,297,473,505,331,456,718,1124,1224,716,437,422,354,336,402,430,536,514,387,397,413,385,450,719,784,1172,857,416,383,576,1224,1310,1208,1312,1234,929,702,550,539,860,1296,1378,1138,879,745,780,839,1040,1246,916,507,563,655,690,625,540,459,536,604,632,581,528,458,444,494,510,464,331,380,415,598,465,346,586,738,767,1003,944,713,944,772,479,466,1076,761,469,725,1044,736,529,777,801,367,430,879,1214,761,441,518,937,1162,731,333,505,656,694,863,747,799,1064,1434,2798,1023,670,841,580,639,803,824,940,853,589,461,481,598,763,825,691,1244,1614,1654,1862,1794,1202,844,1074,1238,1234,1048,1082,971,1210,1522,1178,1160,1268,1234,1294,1142,841,960,963,919,851,698,647,478,836,962,805,788,974,1294,1466,1494,1172,1004,1152,1432,1312,1284,1290,1192,1278,1422,1470,1388,1266,1346,1394,1108,1228,1256,1146,1126,1484,1574,1246,1382,1366,1252,1454,1518,1042,1206,1356,1118,1162,1254,1170,1452,1464,1192,1232,1180,1160,1212,1066,890,1082,721,477,509,561,841,981,742,599,834,727,374,759,1280,785,879,1224,708,1066,1160,1396,1830,1018,490,932,1332,1196,945,943,1042,1042,1021,1034,1208,1234,1170,1164,1488,1578,1406,1052,680,564,346,251,243,348,447,379,305,379,799,1092,821,732,581,935,1246,919,476,341,259,208,231,240,304,286,211,251,251,498,477,340,410,423,296,261,230,252,304,495,477,312,234,240,341,434,301,239,373,428,320,431,506,246,315,717,505,301,338,372,416,361,346,301,267,268,439,786,569,416,307,224,248,400,808,1058,1288,1178,670,531,420,578,1010,777,589,429,709,729,984,1028,601,435,603,663,716,824,893,463,405,936,1030,1048,1216,1186,789,1004,1532,1710,1710,1362,912,1694,2490,1802,637,331,346,329,308,302,312,446,651,699,409,313,266,270,300,369,346,337,328,310,346,418,541,541,527,461,524,934,1036,987,1086,1090,1168,1542,1518,1324,1124,841,858,695,596,792,1118,1358,1202,785,545,412,483,550,583,635,605,547,502,924,1338,1332,1208,1040,920,912,927,714,1168,1322,1316,1336,1316,1400,1290,1200,1028,908,1058,1280,1378,1116,658,1350,1870,1876,1720,1466,1482,1610,1700,1670,1236,1056,1152,845,459,299,481,1068,1692,1660,1420,1080,775,867,833,789,1286,1516,1180,1142,1218,1182,836,711,570,474,821,861,619,916,1246,1426,489,292,343,393,493,654,581,619,987,822,283,310,393,550,615,590,873,1116,1062,872,513,425,507,542,564,622,577,404,359,503,621,618,587,515,533,574,489,565,759,843,841,785,606,502,565,816,940,977,898,816,824,777,639,652,728,718,545,422,460,564,471,422,487,552,551,495,415,454,481,505,565,619,602,533,512,551,555,685,922,813,556,514,466,497,437,433,413,417,432,469,902,786,869,1224,1308,1404,1422,1300,1150,1226,1166,1206,1268,1188,1156,1252,1022,838,1106,1164,1140,1294,1378,1394,1068,1020,1011,905,742,605,506,561,865,1378,1346,581,469,973,1512,949,1340,1866,1416,1050,819,648,821,797,552,375,458,448,710,961,1304,1542,1304,1264,1396,1340,1060,1050,1156,1226,1138,767,646,665,561,516,579,962,1248,1334,1296,995,1220,2000,2150,1934,1868,1998,1852,1636,1516,1032,577,713,1014,1186,1054,824,797,1014,1086,921,947,1010,1244,1106,1012,907,590,363,326,289,326,497,941,1340,1028,727,843,1376,1650,1650,1388,1342,1400,1112,1128,702,470,367,717,1180,1126,1009,1190,1116,771,483,799,647,442,567,850,792,1256,1716,1278,955,1134,1300,1268,917,514,491,544,626,686,833,1102,1272,1454,1488,1118,886,1188,1650,1288,1116,1282,1080,703,714,571,501,516,511,437,338,378,489,408,350,379,381,372,345,340,309,275,283,288,294,293,267,272,273,276,252,268,283,270,261,270,301,334,352,357,354,342,307,281,277,280,272,258,264,273,264,253,277,276,348,608,651,698,968,1028,1250,1546,1982,1784,929,501,522,581,899,1128,1150,960,630,1386,1802,1554,1528,1440,1116,1166,1296,1466,1456,856,518,728,948,1026,697,403,417,732,612,370,711,1136,941,1290,1040,484,324,291,375,558,885,718,659,955,764,637,711,749,678,795,951,880,1054,872,461,420,459,684,932,1028,1150,987,1016,938,890,1042,733,717,784,789,773,671,989,1130,935,774,937,882,1116,1422,1316,716,797,1152,935,959,1120,618,739,916,1226,1130,1282,1550,1290,935,1180,1198,953,964,1290,1282,1238,1204,1130,1288,1068,1064,1804,1584,1058,1236,1378,1126,1374,1102,864,1116,923,709,921,688,660,1018,959,1166,1344,1108,1468,1588,1140,1306,1322,1616,1172,824,863,782,750,558,673,999,1012,1122,1312,1240,1458,961,664,854,1588,1646,1058,566,391,375,298,292,323,313,316,415,735,1042,1034,861,1040,1214,867,936,687,419,650,539,769,979,1512,1130,854,630,656,819,794,765,677,540,481,416,416,480,417,414,427,422,415,428,436,423,382,375,455,492,475,495,626,1152,1556,1514,1302,1262,1310,1282,1350,1332,1156,905,1108,1092,1274,1346,1254,1042,718,639,586,506,588,728,905,1288,1512,1456,1540,1394,1278,1444,1234,1150,1414,1556,1506,1150,1484,1280,1056,666,1312,1644,1236,1230,905,384,413,488,470,915,1466,1126,1094,1404,1294,1198,1204,862,515,482,765,885,1008,1078,733,791,818,932,1094,1258,1434,1318,915,634,802,965,935,1180,1050],[628,943,1268,1376,1244,1042,821,579,393,359,359,354,478,546,422,608,722,492,454,733,699,415,404,412,422,453,408,347,529,753,993,893,601,614,803,935,488,441,608,538,391,323,328,355,380,417,373,642,1256,1498,1744,1678,1430,1430,910,484,442,462,480,675,1230,1566,934,525,549,695,885,893,717,646,649,774,932,914,703,583,486,410,361,308,323,370,496,542,529,497,500,457,609,779,743,533,516,614,695,536,440,389,336,285,267,264,268,282,285,283,303,323,368,409,321,308,295,282,274,282,350,328,256,250,284,322,305,316,532,786,631,405,334,419,736,1056,1106,1132,1636,1544,1456,1358,1152,879,1188,1148,843,1384,1714,1406,1116,1170,1396,1638,1672,1386,986,1058,1320,1344,1328,1334,1142,774,538,650,771,791,1058,979,917,1718,1898,1756,1744,1592,1484,1372,1500,1864,1582,1110,1546,1924,1418,1280,1394,1312,1444,1434,1294,1448,1040,568,516,563,716,1416,1022,502,680,596,412,426,515,1015,1452,1456,1268,1020,985,1038,972,1016,1272,1408,877,490,413,417,469,523,663,1042,1084,1478,1354,1096,983,1032,1346,1332,1094,656,569,404,413,476,462,542,719,666,615,552,598,669,545,522,893,1390,1003,1009,633,503,760,801,585,463,882,1732,1420,1186,1376,1186,1160,1398,1222,657,509,524,761,1240,1166,1108,1134,868,1001,1036,1182,1802,1544,1060,1254,1746,1538,1004,1104,1010,520,689,1118,1208,1306,1752,1754,1830,1600,1498,1430,1576,1442,989,761,754,805,799,927,921,902,894,766,935,1274,1300,1390,1596,1436,990,1256,1226,1334,1276,1144,1218,1178,1216,1082,632,652,1412,2100,1980,1634,1484,1558,1080,764,1090,1172,1182,1086,861,861,951,1282,1344,1568,1388,717,623,634,693,970,1042,823,861,940,946,1138,1440,1244,1009,975,1086,1052,957,725,528,499,639,686,615,529,433,430,518,527,871,1046,1300,1204,1354,1440,1262,942,1230,1640,1412,1232,1064,1124,1470,1854,1748,1206,1090,1312,1230,1046,974,930,735,718,677,790,1106,1354,1188,1138,1058,807,554,496,561,938,1076,767,690,703,1005,1404,1350,1244,736,583,1044,1350,1310,1250,1036,988,1134,1438,1212,1344,1338,1462,1060,513,418,487,592,609,864,724,691,917,1060,1122,1206,1568,1520,1182,1100,840,789,749,717,710,918,1136,795,600,773,1164,946,458,664,985,1070,1352,1488,1268,1178,1140,1400,1760,1100,672,816,1092,1150,1210,940,593,653,719,761,1124,1132,1090,1274,1084,1516,2310,2058,1148,1058,1400,926,968,772,902,803,1114,1005,722,782,822,630,799,1058,995,1034,623,726,1574,1648,1300,1023,803,858,1048,1032,1214,1350,1294,1198,1344,1438,1156,832,965,1090,1009,795,786,981,1152,1144,907,1118,1244,1014,1508,1932,1382,564,397,444,448,446,442,419,342,260,377,415,471,453,453,521,499,485,510,467,486,554,539,467,420,495,659,543,421,418,439,447,553,541,420,382,395,402,445,554,491,543,565,518,500,542,550,516,484,468,482,663,646,744,803,647,608,647,542,956,1078,817,1178,1760,1470,799,491,468,487,578,409,370,363,680,833,688,556,718,799,659,572,774,662,659,783,612,417,630,847,634,338,417,927,1074,843,589,1001,925,894,604,490,552,448,426,417,291,343,488,559,628,966,579,381,362,493,1172,1444,1202,1192,870,720,590,332,287,372,424,529,546,597,605,650,650,633,666,548,443,499,550,622,618,507,441,521,607,573,480,419,419,453,481,448,343,351,649,596,448,495,527,574,566,497,849,1062,640,1238,1090,584,423,592,485,371,521,921,775,433,678,913,469,373,766,1468,995,648,605,833,1300,976,350,346,299,543,919,608,655,926,1536,2916,1628,975,1011,863,875,937,1023,849,634,587,505,408,546,644,695,802,1406,1360,1248,1682,1892,1744,1688,1584,1340,1396,1004,1042,984,1214,1404,1236,1216,1272,1332,1276,1036,847,1034,1086,1132,1274,1110,774,504,868,926,787,966,1300,1370,1526,1300,1270,1352,1504,1628,1384,1568,1630,1328,1376,1098,976,1194,1256,1586,1520,1354,1194,1140,1090,1258,1466,1404,2134,2702,1440,1418,1622,1454,1136,1262,1274,939,793,906,1060,1204,1200,794,905,1070,1700,1440,1280,708,556,579,446,455,820,1150,878,654,501,539,536,944,956,529,580,1440,1300,833,1168,989,1516,1284,555,777,1478,1218,698,514,519,424,422,487,546,479,496,542,515,871,1416,1536,1338,953,629,369,263,241,304,357,289,251,361,996,843,752,571,337,336,435,390,338,311,226,218,261,275,292,186,183,234,228,277,335,342,372,357,276,308,294,365,491,772,594,326,244,268,269,258,247,267,338,294,258,360,473,546,847,1714,902,318,317,500,725,918,872,377,301,280,475,948,805,519,336,303,294,494,834,1214,1594,1054,727,745,741,969,898,821,728,532,568,771,1096,962,525,450,774,711,709,921,837,386,231,647,1040,879,970,1262,1430,1626,1848,1844,1704,1302,885,970,1490,1338,637,330,365,357,326,321,520,1072,1018,624,391,321,285,261,288,350,370,363,355,292,238,366,517,551,543,524,538,536,495,604,1002,1064,999,1454,1472,1368,1384,1136,1194,1082,1134,1009,719,663,897,1166,1244,1214,784,603,626,755,611,500,788,1308,1416,1270,955,561,649,772,869,478,645,1058,1034,578,523,819,1021,899,673,874,1180,1390,1260,852,619,924,1216,1228,1272,1152,1164,1294,1196,1142,1078,1015,827,574,461,894,1668,1820,1592,1344,1256,1118,697,520,678,1056,2204,2246,1198,799,965,819,498,692,952,1004,1088,992,973,1530,1116,1220,699,328,465,658,555,419,361,566,1274,1122,410,373,463,549,671,1026,1458,1490,921,700,622,408,471,441,427,379,291,420,476,527,551,556,625,663,684,660,627,713,792,783,737,684,600,633,673,724,670,692,810,861,724,624,668,764,761,755,686,570,637,692,553,408,402,461,561,561,444,421,429,608,754,645,575,576,594,579,546,612,793,906,766,588,483,533,490,626,580,559,596,682,964,1056,912,775,1150,1390,1328,1376,1578,1602,1324,1184,1500,1562,1316,1362,1254,1284,1186,966,931,931,1136,1238,1062,1238,1260,842,670,877,781,727,752,745,869,572,403,531,1248,988,969,1206,988,949,1030,985,952,1044,1052,716,743,661,1158,1344,1572,1626,1366,1402,1234,1114,1218,1112,1620,1890,1390,876,649,591,625,626,673,761,738,941,1192,1001,889,1548,2038,2190,2084,1998,1904,1636,1262,891,605,564,659,664,552,477,728,1244,1328,1240,945,768,781,564,593,833,955,601,470,426,392,679,1106,1082,867,810,1084,1566,1394,1176,965,912,917,1050,1066,1080,791,375,772,1132,923,829,766,593,515,647,1080,847,426,739,1162,996,1388,1896,1688,1388,1116,999,722,649,509,705,1374,1344,1238,1232,1156,1220,1614,1870,1676,1266,1722,1662,1180,1246,1078,641,557,645,609,551,516,492,492,513,524,492,466,449,430,409,344,289,354,356,285,291,292,282,279,263,270,276,251,276,293,283,276,272,280,309,340,357,365,360,334,305,279,275,287,287,275,262,251,247,262,276,282,357,814,794,669,944,1022,1226,1670,2138,2322,2016,1084,536,527,825,1116,1122,1048,745,1015,1342,1484,1656,1378,1132,1338,1438,1564,1520,1502,871,705,956,783,503,537,556,425,311,362,702,1426,861,1110,1328,1023,575,288,260,443,683,524,479,514,479,446,324,478,547,708,984,1242,1706,1388,563,402,382,684,984,934,983,1154,865,955,1162,1248,1021,736,570,512,623,730,817,997,1330,1000,812,855,699,723,782,579,814,1156,832,841,1278,908,1004,1324,1346,1136,1362,1448,1058,774,788,1038,1130,927,1060,1064,965,971,1228,1370,1178,1290,1506,1390,1168,1296,1420,1332,1290,860,763,1336,1230,933,821,519,447,716,1028,1266,1368,1854,2166,1500,946,1252,1548,1666,1568,1428,1328,1156,929,630,800,1007,1094,1032,1288,972,626,612,690,723,572,544,795,1007,1108,637,441,367,326,290,276,271,439,661,1156,1344,1352,1420,1308,1070,916,939,1144,1218,1642,1610,1760,1224,719,693,796,840,764,753,565,471,526,468,428,437,420,428,440,402,390,433,453,427,389,524,914,741,551,432,580,989,1358,1466,1072,773,1236,1344,1528,1636,1344,1122,1378,1438,1292,1190,1356,1618,1512,939,777,785,732,1220,1354,1216,1292,1562,1754,1778,1820,1880,1676,1610,1372,1208,1372,1418,1722,1124,778,660,1564,2154,1582,1352,896,348,530,1100,797,1084,1192,689,655,1272,1614,1754,1682,1342,860,455,593,725,1074,778,476,567,823,1090,1278,1456,1556,1282,920,1001,1230,1268,1166,996,1018],[1338,1422,1512,1562,1204,1146,1126,605,540,472,363,339,393,495,449,528,681,662,546,693,702,734,521,440,449,470,433,406,501,807,1200,1030,667,591,646,611,410,362,383,361,333,343,321,284,347,392,427,630,1060,1072,868,925,1292,1378,865,536,490,390,459,695,1096,1276,865,519,515,734,897,818,966,1038,785,761,893,642,348,412,482,464,422,371,359,307,388,558,586,550,565,421,427,579,667,647,592,592,683,670,534,419,335,304,288,269,258,263,275,292,311,319,402,407,280,375,516,519,331,261,276,319,295,283,299,324,311,399,767,911,572,328,307,472,895,814,676,736,937,912,1216,1390,1214,1106,1238,980,1136,1662,1762,1170,854,1023,1278,1244,1396,1496,1296,1110,1460,2030,1826,1004,658,594,534,939,1338,1466,1272,1498,1738,1312,858,1366,1602,1392,1544,1516,1530,1736,1600,1424,2004,2206,1688,1520,1614,1494,1594,1562,1526,1648,1013,608,770,631,623,922,813,739,902,885,903,901,1046,1288,1352,1150,922,809,835,736,726,733,808,1058,945,750,618,617,573,755,964,1078,1390,1778,1814,1510,1008,774,720,1342,1490,803,384,337,314,338,408,558,510,397,579,673,671,609,434,633,1476,1316,597,954,1136,913,1228,1346,910,722,1334,1994,1406,1476,1466,999,866,1058,1174,897,574,576,938,1460,1144,1166,969,1194,1078,1068,1220,1468,1826,1450,759,1054,838,571,800,1064,633,687,1264,1348,1810,2122,1870,1390,1290,1194,890,1202,1434,1266,1498,1700,1600,1142,1004,940,898,958,912,970,1180,1112,1282,1440,1304,1130,984,748,1256,1638,1588,1334,1532,1996,1612,632,612,877,1280,1338,1034,1166,1458,1250,1098,1074,1226,1356,1064,970,921,1068,1474,1464,1710,1440,1332,1484,1166,872,1102,1058,877,904,1072,1050,1094,1286,1130,1018,1248,1234,1202,893,587,509,472,561,491,428,455,430,499,539,455,882,1136,1076,1021,974,1100,1146,1118,1814,1542,1828,1816,1382,1150,1086,1260,1242,885,644,758,916,792,695,572,481,375,351,436,590,937,1124,910,863,1014,531,445,539,838,985,897,1522,1152,1056,1332,1426,1416,849,711,1094,1442,1438,1540,1512,1202,1076,1170,1094,1360,1410,1400,1098,497,409,551,1062,1174,1036,1250,1102,926,1040,1046,1094,1308,1284,1224,1216,1046,1142,1112,912,700,896,1142,1168,1140,1020,1038,1015,656,835,990,1048,1246,852,968,1382,1450,1760,1648,1150,1096,1224,1168,779,1019,995,932,1124,979,1104,1650,1300,992,1028,619,1002,1932,1836,975,1502,1664,795,764,1042,1128,710,536,574,584,530,492,480,817,952,913,1108,833,958,1686,1404,914,967,895,1044,1042,1001,1196,1120,834,852,1132,1376,1144,985,1354,1140,763,637,661,492,579,1010,1412,1418,1090,951,1602,1810,904,406,448,492,421,428,453,436,367,325,395,456,524,548,532,473,430,499,448,399,401,444,418,376,338,412,620,616,426,363,422,475,551,502,444,418,396,410,382,464,525,561,512,536,598,499,436,528,491,487,459,561,540,585,587,634,714,765,885,1134,1116,771,1098,1656,1298,634,483,490,498,490,435,369,508,730,857,1072,780,637,819,825,622,572,527,622,706,684,525,637,1064,1064,407,377,702,854,1024,1256,1404,1296,1198,1230,1340,1210,800,725,486,326,386,596,438,988,1240,705,443,381,530,979,809,543,847,853,354,240,272,267,283,243,271,316,320,369,469,512,487,394,299,435,493,481,503,498,426,391,432,499,493,438,422,450,448,441,318,272,554,1182,1086,872,1054,861,537,598,709,711,824,982,1312,1013,641,456,380,516,603,560,764,611,797,723,656,449,437,578,1011,780,688,623,709,1208,718,374,398,435,569,1082,796,420,392,882,1604,1406,1068,770,619,682,800,1064,756,576,587,562,402,469,569,552,995,1560,1396,1354,1416,1798,2124,2128,1738,1442,1414,1108,1050,1234,1372,1472,1476,1338,1300,1314,1212,1054,1094,1112,1208,1312,1284,1256,863,638,921,785,703,694,1178,1290,1562,1326,1298,1410,1614,1614,1538,1868,1422,1182,1308,966,666,940,1162,1428,1250,1048,872,1098,1432,1510,1476,1448,1724,1830,1586,1494,1538,1500,1172,1164,1426,1208,903,1148,1306,1224,1288,948,786,1078,2104,1700,1130,669,593,550,380,494,993,1116,776,814,1096,966,1140,2504,1742,597,767,1490,1118,1004,1236,1138,1384,763,647,1320,1378,778,482,705,834,553,517,537,575,480,476,458,438,475,794,1030,803,755,929,703,348,288,267,238,231,307,335,675,524,452,319,231,292,315,311,285,263,218,272,425,499,480,296,193,211,202,191,235,382,599,531,318,369,617,660,1124,1266,686,320,274,282,277,245,231,214,337,313,283,294,504,619,1258,1128,321,336,562,834,1024,1422,1182,430,283,293,578,911,860,625,505,379,219,488,1008,1256,1032,476,413,651,952,838,773,877,601,535,652,861,886,630,394,365,484,517,510,771,686,659,518,646,1196,1098,1036,1172,1228,1516,1714,1656,1692,1462,953,931,1568,1476,787,335,335,358,335,413,900,1176,767,467,392,389,332,272,299,333,357,340,326,289,262,331,401,455,476,497,584,695,645,637,1112,960,918,1198,1310,1204,1340,1252,1122,1108,1388,1456,1244,897,797,698,905,1316,1384,1144,819,640,526,626,1094,1454,1340,1320,960,477,384,455,460,287,332,673,713,437,368,491,594,537,534,860,912,756,657,631,579,630,1017,1278,1086,668,594,861,733,640,566,565,684,884,615,1015,1332,702,562,778,717,942,774,647,769,918,1666,1666,1220,1086,909,666,869,1160,1194,1048,832,918,1270,1290,713,1122,1009,419,470,840,688,279,293,550,1021,869,810,702,549,534,666,998,1486,1282,528,534,590,357,440,374,352,285,258,395,564,597,502,452,495,550,627,647,658,735,738,720,684,608,630,628,600,508,385,433,706,851,713,526,545,648,743,803,707,598,645,661,531,406,384,372,526,561,492,433,424,576,728,689,625,565,555,569,607,507,436,482,596,552,520,686,850,1001,944,1074,1164,973,1154,1328,1098,1274,1456,1572,1512,1578,1396,1222,1180,1086,1306,1456,1300,1350,1338,1108,933,618,771,1174,1338,1284,1308,1520,1714,1334,914,860,695,1046,1052,757,949,948,653,379,689,727,549,590,775,944,888,969,994,1386,1318,1088,963,811,1028,929,959,1304,1178,1396,1454,1380,1484,1080,1318,1430,1226,1044,980,1082,1188,1140,1074,976,833,792,1056,1072,1102,1340,1836,2010,1886,1946,1788,1644,1344,890,642,466,651,793,830,849,1017,1542,1804,1414,930,571,446,357,368,479,739,822,755,583,421,583,923,1013,613,486,731,1364,1450,924,1190,759,478,598,996,1430,954,431,474,529,728,902,695,648,545,1184,1862,1300,626,992,1512,1540,1616,1344,1626,1440,1098,1018,825,725,665,565,605,886,1226,1336,1220,1350,1446,1534,1494,1058,1238,1236,1090,897,777,837,903,886,641,736,846,708,672,562,487,468,552,535,485,470,424,313,326,332,314,292,278,278,280,276,265,270,268,276,288,284,284,261,264,285,330,367,352,332,298,275,270,282,285,277,267,265,265,263,258,255,279,358,689,821,681,651,933,1288,1650,1870,2138,2656,2042,964,703,1094,1310,1866,2554,1798,733,675,1070,1158,1216,1019,1268,1764,1324,1432,1676,1500,1208,697,389,655,1068,1042,702,422,350,829,1354,1000,764,1144,1424,1074,695,490,392,549,550,540,526,722,645,386,321,368,519,753,1054,1476,1434,621,597,702,1054,1410,1478,1698,1744,1394,1538,1760,1460,1118,1156,973,899,977,1398,1358,1408,1666,1650,1538,1404,1096,943,1240,1316,1262,1242,1076,1028,978,1282,1498,1548,1252,973,836,749,605,514,703,904,1086,803,664,777,625,1030,1764,1670,1472,1500,1570,1598,1312,1078,1048,1250,1082,1260,1468,1320,1244,988,569,462,484,809,1202,1306,1230,1790,2210,1746,1208,1412,1346,1158,1032,1050,1152,1160,1072,1102,1290,1162,977,784,1082,816,658,919,1036,985,627,576,980,2076,1798,996,835,620,379,357,343,414,554,894,1588,1946,1764,1420,1360,1382,1456,1164,811,1534,1934,1858,1836,1216,638,579,861,807,735,723,499,448,471,462,476,474,452,457,422,390,385,409,419,432,463,942,1340,1314,960,697,1024,1492,1648,1650,1528,1368,1396,1288,1362,1258,1238,1360,1354,1266,1074,1024,1242,1536,1428,778,677,1034,1202,1272,1260,943,816,1038,1366,1648,1902,1886,1742,1648,1208,1140,1086,1072,1044,874,916,722,1214,1594,1044,1330,1104,426,415,1118,1170,1274,1116,560,1068,1826,1832,1710,1422,1382,1276,947,1132,1148,1356,987,620,563,992,1504,1518,1524,1716,1538,1136,913,702,544,699,869,1256],[1672,1628,1404,1268,928,951,907,595,618,509,426,578,968,1172,677,805,875,872,573,700,924,850,519,416,434,423,369,383,453,669,1072,1054,744,606,510,411,383,369,390,386,379,383,325,307,356,376,364,631,832,686,604,644,796,973,880,660,719,957,1020,907,749,660,639,533,518,596,693,850,1062,845,673,832,571,361,379,427,425,404,399,372,377,396,450,603,682,750,813,494,408,479,625,628,522,509,616,659,604,469,315,297,287,282,278,289,295,286,286,316,426,386,311,495,691,735,407,275,259,285,285,288,283,311,361,568,940,890,510,413,698,1238,1290,1072,976,792,426,502,1038,1390,1256,1446,1290,1160,1548,1830,1512,869,750,1038,1512,1794,1318,1152,1230,939,1208,1386,1024,670,569,456,473,875,1148,1104,950,1048,1218,927,825,1324,1344,1340,1276,1150,1404,1420,1312,1378,1754,2046,1814,1794,1876,1728,1598,1130,1066,1324,1312,1382,1170,713,589,1064,1506,1248,1368,1276,1400,1562,1476,1440,1382,975,613,534,632,545,722,884,711,803,1054,785,958,789,693,674,706,984,1330,1600,1766,1272,700,617,518,562,765,558,329,343,322,316,373,629,653,355,394,526,632,548,470,733,1220,837,466,678,1190,1698,1412,1332,1148,1190,1444,1604,1450,1500,1312,807,623,907,1494,1246,540,653,1204,1320,1102,930,913,1318,1322,1334,1324,1114,1230,1056,797,954,680,623,637,984,819,841,1338,1542,1726,1596,948,685,799,583,449,855,1326,1404,1484,1356,1290,1268,1098,969,1038,1100,925,713,729,881,1262,1268,1236,1132,775,525,839,1126,941,1148,1992,2376,1826,804,683,740,1128,1216,1086,1208,1362,1524,1718,1408,1180,1070,861,656,865,1206,1464,1434,1540,1418,1378,1440,1292,1322,1456,1112,781,753,934,893,937,1022,1023,1408,1802,1632,1001,481,479,440,411,429,467,471,431,409,481,491,517,836,1134,1294,1124,1044,873,796,824,1094,1226,1502,1428,1344,1232,1212,1320,1202,820,771,844,944,606,457,465,444,395,368,318,597,946,735,622,1120,1354,599,389,516,827,1320,1376,1802,1278,979,1184,1244,1494,1048,1116,1218,948,1034,1372,1528,1210,1104,1164,1202,1478,1506,1472,1108,573,441,766,1056,1132,1002,1326,1376,1300,1108,888,1066,1072,1180,1122,1412,1362,1022,623,720,935,958,953,1180,1582,1562,1032,1084,893,1016,731,604,894,702,860,1170,1154,1052,1228,1288,1040,1076,1228,932,1210,1042,813,1210,1136,912,1012,787,587,481,437,468,646,1005,659,1280,1204,650,803,1186,1130,937,795,850,1152,1062,894,681,742,805,892,1112,1188,1017,1376,1416,891,845,915,1068,836,1062,941,916,700,924,974,863,784,1104,1258,922,1004,1346,1484,797,455,778,1088,1250,916,1108,1954,1644,612,429,424,475,438,418,449,432,380,417,446,450,455,462,483,413,445,562,424,383,363,390,373,370,376,458,637,705,572,475,431,458,514,474,479,474,445,434,383,387,496,561,492,525,555,440,448,525,506,530,532,540,509,488,597,639,586,653,675,885,951,555,651,813,760,563,552,538,443,462,578,695,1080,1082,790,918,1102,894,860,844,763,639,547,482,459,455,399,368,547,683,357,379,418,828,1126,1300,1160,799,654,806,835,907,772,758,833,707,513,554,434,1144,1322,695,442,392,558,619,334,356,462,570,300,258,283,299,312,322,342,288,299,296,267,294,249,256,304,333,350,385,438,421,394,391,418,451,462,462,461,440,416,380,296,276,1030,1878,1526,1216,811,552,400,426,778,641,462,747,1004,1282,1110,870,581,760,941,640,608,562,834,741,485,524,916,789,633,503,646,709,719,817,544,372,381,664,608,872,631,393,650,991,1038,1036,1007,541,466,773,922,1260,747,542,594,560,456,467,562,740,1396,1528,1182,1354,1302,1620,1910,2038,1882,1490,1340,1204,1114,1256,1664,2164,1990,1468,1294,1438,1386,1306,1270,1196,1312,1422,1422,1234,772,777,1003,710,651,828,1134,1400,1404,1316,1358,1478,1594,1416,1512,1802,1380,1496,1422,1108,1040,1092,1120,1396,1136,716,924,1462,1348,1524,1630,1716,1312,1422,1362,1458,1510,1334,913,1126,1478,1238,1200,1328,1652,1604,1340,1266,1036,1206,1840,1844,1220,595,489,404,502,655,1110,1054,701,695,1210,1116,1048,1472,1498,851,717,1152,846,1408,1366,1378,991,526,876,1178,944,564,738,2186,2930,1282,604,785,911,708,636,573,466,415,422,480,469,569,874,1050,717,375,321,261,278,327,318,262,234,299,255,225,312,489,426,382,284,306,298,548,883,899,532,271,279,269,299,577,850,786,599,389,415,803,841,1048,907,372,260,233,220,232,220,238,235,297,432,496,370,392,509,974,861,295,296,516,669,664,860,680,377,265,350,557,630,495,567,762,435,295,557,1128,1388,1116,580,457,698,827,562,999,1178,605,316,244,261,413,718,484,324,337,540,1048,1042,932,1596,1276,565,1194,1278,1188,1260,1118,1508,1654,1584,1604,1500,1098,1434,2512,2598,1354,465,358,349,405,780,1126,892,529,414,433,416,347,294,317,321,336,358,384,360,361,328,265,270,296,346,505,680,745,468,637,834,913,915,969,1128,1164,1084,913,1186,1456,1494,1486,1466,1586,968,491,727,1064,1088,933,764,606,515,892,1060,1200,1238,703,634,551,459,430,380,359,423,425,349,325,378,530,632,573,572,467,434,501,564,544,579,598,525,647,752,693,766,823,971,1114,1112,1120,1116,841,684,556,470,605,631,562,642,692,695,662,753,1130,1450,1346,991,728,865,1014,1056,892,796,569,799,839,601,844,1162,720,457,477,852,710,331,358,628,655,697,1594,1536,777,428,563,722,836,644,332,440,684,506,376,324,361,298,300,446,608,627,525,446,458,478,565,670,656,672,684,677,673,639,616,489,376,363,342,431,648,704,827,620,523,700,734,733,645,503,497,587,545,442,437,460,615,601,508,453,418,458,561,642,628,578,545,478,530,492,389,359,428,547,662,825,894,962,1126,1194,1128,981,1310,1414,945,1284,1556,1724,1636,1488,1374,1160,1082,1184,1298,1224,1192,1294,1382,1182,689,561,996,1490,1480,1352,1316,1362,1490,1168,909,709,706,1418,1404,891,774,979,888,454,415,628,760,801,1016,1070,781,744,735,1206,1432,1023,605,726,902,858,894,1260,1308,1522,1576,1302,1254,1316,1462,1482,1354,1192,1044,1146,1194,1186,1476,1476,1390,1304,1380,1490,1556,1548,1796,1892,1484,1614,1494,1312,1108,896,872,683,572,605,744,896,1378,1842,1732,1320,1074,758,596,507,460,526,651,735,742,533,533,563,556,888,942,910,625,1190,1478,1480,1658,1074,520,419,717,802,539,402,496,522,835,1400,1266,678,593,1212,1632,1370,708,781,1278,1654,1780,1428,1864,1312,982,789,772,798,770,669,477,483,796,1188,768,1246,1376,1210,1296,1104,1060,1138,1086,1010,1080,1090,1268,1336,937,936,1042,974,792,528,440,615,578,436,389,365,381,309,273,285,334,343,299,277,265,265,264,268,278,294,287,266,264,257,261,265,298,332,321,280,270,257,258,262,261,264,261,263,263,279,258,269,302,313,443,832,960,737,1098,1686,1848,1838,2042,2338,2592,1932,1316,1498,1516,1762,2508,2604,1854,1092,858,1036,1766,1316,1072,1028,1150,1458,1374,1562,1540,1102,568,759,1224,1124,671,530,372,524,639,417,548,1023,1184,1370,1262,1132,1206,1278,1048,1036,1108,1266,1046,755,821,859,836,1030,1094,1262,1454,1220,1074,942,835,1064,1454,1622,1568,1266,1180,1304,1076,825,895,956,1015,942,1004,998,921,1224,1476,1066,1112,1506,1336,1220,1240,1360,1378,1186,1017,841,866,1009,1060,980,926,879,963,656,613,1007,1172,1196,1036,867,789,817,1324,1896,1732,1384,1320,1252,1152,1396,1310,1306,1084,1134,1402,1386,1052,844,808,742,751,954,1150,1192,1188,1392,1754,2192,2050,1598,1228,1118,1144,601,800,908,982,1098,1222,1240,1112,902,942,1112,810,695,998,1238,947,519,541,932,2386,1644,681,742,615,555,742,684,686,865,1250,1364,1588,1608,1556,1618,1322,1116,1026,1052,1298,1424,1668,1634,819,531,511,852,819,727,574,418,388,405,457,450,439,426,413,409,403,398,408,432,416,549,1250,1550,1360,1224,1204,1296,1526,1824,1936,1764,1534,1296,1200,1364,1506,1538,1456,1224,893,796,991,865,970,1007,732,1174,1554,1552,1306,1234,1052,926,1172,1288,1130,1318,1636,1716,1456,1228,1308,1098,1104,1228,1474,1572,1210,1286,1072,1050,1902,1534,766,907,1188,872,1136,980,482,992,1732,1724,1340,766,724,1388,1200,1052,1314,1164,807,595,468,870,1448,1124,944,1044,897,721,714,598,572,1112,1464,1498],[1580,1560,1340,863,691,614,490,507,507,468,753,1528,2186,1946,890,839,753,918,972,872,852,646,438,420,415,385,421,440,555,655,692,719,579,512,467,501,528,446,417,523,418,350,323,349,444,420,279,649,802,579,536,536,634,714,586,477,702,1064,916,894,624,457,465,440,451,589,731,694,780,780,785,652,408,313,336,346,363,404,422,400,318,424,571,613,619,586,468,409,446,420,475,475,390,430,566,680,645,539,363,327,304,287,276,275,280,308,356,392,474,509,490,585,678,650,552,395,306,284,274,264,263,291,368,599,927,775,537,727,1162,1698,1350,1166,1290,949,485,637,1198,1462,1174,1176,1028,1454,1840,1656,1362,1252,1184,1528,1856,1298,694,1108,1208,919,757,528,437,509,473,484,435,485,580,744,736,607,556,686,1272,1372,1028,862,1028,1218,1512,1302,1194,1482,1126,1848,2070,2038,1678,1676,1500,1106,926,978,1350,1716,1524,1142,902,1330,1420,1290,1548,1262,1100,1060,1214,1578,1616,1186,756,598,644,608,669,855,1318,1136,1198,970,1192,988,851,732,756,883,863,974,1220,988,429,400,407,314,279,250,272,300,325,316,371,463,433,360,343,361,476,584,644,646,823,934,872,937,1300,1740,1262,1464,1550,1396,1542,1256,1034,1344,1208,593,600,1252,1716,1162,552,697,1376,1400,1278,1017,1208,1322,1432,1768,1490,1052,793,733,1208,1088,1112,865,705,899,977,1200,1448,1426,1440,1024,585,523,536,635,911,1388,1660,1472,1236,1108,1396,1638,1274,896,921,916,797,554,494,564,651,713,919,1028,839,573,670,1013,1402,1674,1974,2160,1926,1374,1090,1082,1056,984,906,937,1146,1238,1222,1114,1072,928,740,987,1510,1620,1606,1292,1116,1202,1338,1404,1300,1186,1170,1028,987,1156,1130,1032,1156,1021,761,1152,1570,1448,913,489,447,557,662,530,462,433,475,560,678,684,771,959,1208,1340,1244,1532,992,463,344,375,584,896,1042,1148,1148,915,1018,1028,606,757,814,986,673,402,448,547,535,603,597,437,472,389,564,1062,976,636,525,551,842,1160,1272,1298,999,1080,1178,1122,1300,1020,1396,1156,742,837,1270,1558,1244,1078,1250,1142,1400,1360,1406,1158,777,632,1140,1170,1170,1106,943,1214,1338,977,611,971,1180,1174,1434,1688,1476,1208,1120,1242,1028,768,1158,1574,1520,1372,899,777,659,864,703,659,755,884,993,1132,1350,1264,1658,1718,1434,1406,1484,1470,1484,1230,833,883,779,542,592,974,868,426,490,577,715,724,676,816,904,636,668,784,758,1114,1192,823,1007,1246,1360,1056,1210,1086,885,1013,1016,664,530,462,466,576,891,988,883,990,1030,1350,1322,1152,1046,784,479,645,908,759,833,1292,1534,940,446,547,1150,1336,1272,1638,1916,1058,467,430,481,487,451,439,419,408,428,434,439,487,491,476,581,546,562,539,381,384,421,412,361,403,441,445,536,613,551,504,404,371,418,518,582,549,485,457,455,413,426,502,445,495,468,379,417,447,404,448,585,523,422,509,675,669,614,603,641,854,845,596,541,424,350,444,538,481,439,592,1110,1042,1224,1216,620,459,879,1018,920,765,783,802,707,532,317,284,238,215,217,227,303,298,254,505,1001,1420,1442,916,519,486,492,525,690,708,595,715,727,577,617,1194,1286,847,607,554,1028,744,487,404,389,512,444,273,276,297,347,427,407,336,291,255,251,206,200,264,240,232,307,370,322,301,397,435,474,519,522,543,564,516,460,307,272,292,884,1470,1004,692,361,428,412,398,732,840,529,561,1024,1124,1218,1422,687,684,917,913,640,939,752,479,380,578,720,495,469,434,677,789,976,802,689,431,423,785,796,562,461,507,787,1058,1108,837,1196,735,535,892,1023,1236,1019,797,679,587,491,480,509,715,1576,1538,1528,1412,1526,1768,1986,2044,1804,1450,1288,1064,1170,1196,1406,1570,1606,1266,1056,1200,1320,1322,1162,1212,1368,1466,1444,1150,728,913,974,749,626,930,1244,1466,1568,1730,1614,1338,1350,1312,1284,1260,1454,1470,1306,838,827,1148,1294,1224,991,899,1040,1354,1284,1536,1526,1578,1374,1318,1126,1062,1180,1013,934,1542,1700,1218,1340,1220,1778,1780,1352,1230,1290,1426,1476,1340,1044,606,695,852,1196,1316,1284,957,665,623,761,887,1020,1394,1468,727,805,1114,785,2408,2202,1174,593,634,922,651,537,376,981,3076,3960,1816,602,800,1114,1028,741,646,606,600,717,441,516,710,1015,893,827,699,465,326,296,316,331,320,351,392,249,267,492,709,502,401,285,268,249,338,592,716,459,245,222,241,414,1090,1388,1276,652,529,559,774,734,376,248,228,244,238,230,259,294,255,215,354,438,354,382,349,357,459,604,425,271,461,734,559,278,283,263,277,328,408,556,613,788,877,427,362,682,955,1282,1180,645,581,930,727,398,467,683,625,263,211,238,451,778,594,356,297,515,824,554,833,1892,1936,644,872,1316,1436,1432,1110,1308,1572,1218,1036,1444,1664,1854,2576,2730,1450,603,361,494,927,1078,789,568,465,398,377,361,340,303,307,319,345,365,373,364,363,363,347,298,246,256,352,452,716,487,390,866,1260,1154,976,670,648,767,766,1294,1576,1734,1544,1446,1478,1484,1154,869,808,849,751,1080,910,728,686,670,729,826,862,1236,1278,946,607,488,430,408,352,333,372,424,549,536,395,346,407,470,487,465,448,530,805,1126,1456,1376,1536,1672,1738,1708,1650,1622,1512,1316,904,823,529,523,581,662,733,804,781,676,708,785,1022,1290,1156,870,554,719,843,954,753,725,618,641,698,674,817,658,328,459,612,948,968,546,389,485,497,526,1206,1370,728,411,531,673,625,514,428,603,993,977,858,832,688,378,347,480,612,604,470,425,441,473,521,601,648,714,701,673,677,669,616,525,435,406,341,347,363,434,739,620,604,811,837,788,615,444,415,526,575,492,533,689,654,492,455,447,386,426,482,436,483,596,629,530,537,507,434,459,512,620,714,816,902,961,1052,850,836,957,1076,1214,1234,1632,1736,1650,1526,1512,1464,1066,1096,1196,1272,1112,1198,1118,1006,714,447,615,1066,1266,1176,1318,1576,1338,1412,1254,1090,833,744,985,1076,832,511,778,1112,863,859,1015,875,670,1060,1122,823,698,814,1554,1870,1102,533,757,868,684,709,1306,1386,1322,1490,1416,1294,1386,1224,1116,868,778,749,1036,1048,1124,1338,1286,1296,1344,1440,1532,1544,1460,1606,1798,961,985,1352,1182,1010,1124,1064,859,638,668,1078,1642,1864,1478,1382,1652,1414,935,940,880,637,720,760,636,630,525,552,659,649,898,1250,1194,1154,1408,1336,1378,1256,915,505,406,529,701,672,544,654,858,1106,1450,1178,781,972,957,1184,1282,960,831,850,1186,1190,1202,1260,1116,1001,751,639,598,675,872,430,510,974,1150,904,1188,1360,1154,951,921,1038,1009,839,697,856,974,1268,1666,1462,966,995,1007,680,485,395,440,422,390,363,305,300,294,288,296,363,368,296,283,287,278,269,276,275,289,277,292,276,259,257,280,279,305,307,271,271,257,275,263,265,281,271,257,265,279,267,267,286,282,330,539,608,496,975,1880,2136,1856,1834,1902,2044,1660,1122,996,976,861,1380,2658,2986,1834,1306,1456,1544,1316,1014,813,1456,1816,1242,1024,1054,1340,993,569,616,725,585,506,390,357,370,443,886,1188,1210,911,671,763,974,1328,1318,1150,1202,1510,1422,1250,1132,1106,1260,1298,1224,1086,1052,1062,664,521,588,765,1148,1644,1814,1126,803,904,627,706,748,589,553,620,703,823,858,964,1144,945,1258,1462,1390,1086,1098,1044,957,948,1096,1015,695,557,699,1002,1260,1154,1238,1300,1410,1664,1530,1390,1406,952,830,1220,1102,1148,1014,1228,1262,1012,918,962,988,1190,1396,1386,1044,771,923,1366,1142,745,904,1444,1168,1248,1288,1460,1822,1970,1714,1282,673,854,1332,877,777,560,791,977,1210,1362,918,710,1178,1124,935,962,1426,1672,1082,765,777,944,1704,1546,1320,1488,1662,1746,1702,1614,1626,1216,1011,1148,1236,1490,1788,1622,1310,1332,1406,1300,1964,1686,1350,1084,535,375,474,792,880,740,489,391,392,455,546,442,438,432,437,438,397,376,411,430,521,892,1246,1400,1298,1292,1576,1634,1406,1011,1306,1316,1166,1372,1324,1318,1748,1566,1204,863,641,734,866,625,724,1096,1326,1498,1426,1418,1288,840,972,1054,1238,1392,1046,1192,1316,1136,1032,1164,1256,1162,1128,1274,1208,1130,1240,1312,889,1240,2100,1646,1104,1476,1278,872,1036,805,623,611,990,1260,903,530,608,1510,1718,1592,1390,1120,650,413,373,666,1148,920,636,670,822,946,1036,977,1054,1266,1522,1672],[1342,1362,1048,543,651,697,445,443,406,553,1136,2038,2164,1720,1196,783,508,736,927,725,532,445,411,495,708,531,507,568,641,637,525,556,541,459,418,473,526,474,436,527,402,374,321,292,352,352,283,665,1012,835,777,645,682,631,544,431,539,678,603,851,705,406,466,484,467,615,807,557,535,662,618,375,350,318,326,310,318,365,428,472,513,753,563,502,504,466,397,387,463,409,349,333,318,417,537,622,546,509,375,321,313,296,331,379,398,415,404,393,401,527,615,602,709,667,543,444,335,308,328,309,311,343,415,552,921,849,467,731,1038,1100,999,1136,1528,1318,626,740,1098,1378,1262,931,896,1044,1350,1388,1528,1314,988,1196,1046,692,819,1218,1324,1016,697,487,395,395,348,318,351,390,639,946,828,697,730,740,1304,995,713,505,677,1034,1210,930,1908,2998,1254,1648,1816,1942,2214,1978,1252,730,615,705,1050,1470,1588,1452,1088,1148,1184,1484,1572,1506,1654,2002,1772,1406,1408,1290,1038,786,672,794,897,1050,1338,1374,1330,1048,1014,946,962,1070,1110,704,611,536,568,503,355,299,370,371,327,302,287,314,336,352,369,371,445,393,330,302,368,522,616,645,905,1108,1146,1378,1942,1380,1142,1250,1500,1666,1644,962,512,792,803,458,599,938,733,530,546,955,1412,1434,1538,1374,1260,1306,1634,1776,1482,1096,775,774,1032,800,858,717,650,738,849,1248,1426,1520,1680,1026,544,465,678,937,1021,1218,1338,1418,1620,1778,1978,1720,1220,942,894,818,792,518,533,613,639,879,1186,1246,967,756,713,1140,1472,1490,1510,1574,1734,1508,1330,1376,1344,1510,1170,967,1312,1166,939,999,1044,1158,874,990,1534,1542,1230,1044,943,977,1372,1408,1112,1136,1478,1316,967,1070,1102,1172,1688,1344,597,649,813,1200,1362,864,537,671,655,479,387,415,509,787,1140,1152,1230,1184,1134,878,789,813,693,533,440,605,1012,1382,1126,821,877,1426,1520,1202,702,666,814,989,710,605,849,998,929,1476,1126,459,375,390,576,588,489,496,453,361,494,819,1114,1144,686,1013,1110,1188,1292,1340,1682,1224,875,756,775,984,1094,1026,1194,904,1126,1168,1302,1288,1184,910,990,1034,1188,1206,885,902,688,456,487,1132,1632,1172,1548,1902,1414,1178,1730,1628,1168,1166,1360,1686,1182,1240,922,568,495,633,677,810,1138,1314,1306,1112,1416,1196,1003,1506,1576,1318,1454,1398,1314,1140,769,493,327,437,991,1520,1100,510,432,722,915,963,944,1118,1174,953,949,882,862,1132,984,700,623,662,815,921,1432,1288,849,1054,793,437,408,400,386,558,1314,1400,968,888,1246,1542,1344,920,872,637,489,443,648,626,541,941,1050,582,324,818,1444,1656,1640,1608,1508,701,451,428,481,498,509,501,500,499,479,450,439,535,512,413,503,598,642,545,460,469,526,482,403,462,496,444,396,460,403,458,426,400,459,509,502,539,476,451,458,422,377,439,416,443,412,409,440,370,358,470,507,493,450,502,573,450,505,568,635,910,792,607,584,434,361,401,449,441,446,730,1268,1038,1174,1572,1202,701,543,888,1074,800,738,648,498,514,428,350,290,262,262,311,408,368,272,339,683,1318,1230,899,818,561,320,518,916,1092,930,727,713,716,759,1440,818,505,617,1023,1038,680,538,442,373,550,605,303,268,306,360,499,370,251,215,210,236,253,276,253,236,267,280,288,236,229,277,309,351,430,440,436,438,434,373,229,242,278,493,601,428,430,442,556,494,344,590,650,400,467,827,1254,1674,1208,490,565,1196,1368,803,734,791,867,795,507,492,374,409,418,492,548,846,813,517,405,419,642,683,474,447,485,764,722,681,479,1028,1017,893,919,946,1146,1284,1118,698,536,462,521,607,633,1230,1360,1466,1254,1378,1882,2160,2156,1866,1574,1388,1028,1366,1268,1160,1226,1204,977,850,810,890,952,1058,1172,1268,1570,1378,955,771,1176,1018,691,760,1164,1442,1470,1476,1740,1468,1242,1344,1268,1178,1098,1030,1030,1270,1262,1268,1722,1796,943,1004,1096,890,653,1118,1524,1374,1644,1646,996,691,850,854,1060,1208,1638,1726,1460,1040,929,1278,1566,1262,880,1044,958,994,1532,1058,730,807,954,1516,1826,1504,1030,738,738,672,727,1026,1410,1252,916,1486,1256,837,1890,1390,713,533,880,984,648,493,522,1472,3650,3804,1694,892,1114,1346,1216,836,738,825,1166,1426,558,484,474,568,496,401,550,686,544,313,265,359,399,362,342,245,273,617,566,357,334,341,252,231,381,522,340,221,186,206,261,385,762,872,965,1102,1152,918,630,428,446,358,279,217,208,196,272,372,346,282,472,479,328,433,428,441,431,550,449,344,653,1168,999,486,264,354,337,311,318,347,546,888,680,366,461,574,731,946,749,377,601,936,513,398,484,944,761,434,269,222,354,647,722,464,280,423,593,371,433,1084,1732,729,722,1252,1324,1334,1240,1246,1344,770,474,833,1318,1384,2152,2422,1348,634,722,1015,996,690,441,412,426,415,341,330,339,330,302,333,398,392,349,331,333,310,295,246,232,257,307,363,744,810,701,1034,1344,1220,1058,1005,772,529,548,727,1204,1542,1704,1434,1290,1456,1482,1356,1290,901,782,1550,877,440,737,769,1068,1130,803,984,1222,1390,1332,855,662,447,364,333,458,477,498,449,382,396,436,508,526,461,451,504,664,858,1266,1462,1630,1434,1482,1530,1484,1532,1410,1066,549,697,586,484,623,702,653,685,647,577,712,677,715,836,857,629,596,692,905,1042,886,708,644,512,442,494,402,498,705,843,533,625,1074,922,503,292,382,380,463,478,453,462,477,535,554,594,534,678,755,991,1090,1186,963,386,434,521,544,525,441,408,414,468,521,502,534,594,587,542,608,655,630,548,486,414,366,384,368,325,438,412,495,724,784,702,551,526,461,466,567,673,650,695,608,422,415,455,440,495,494,378,381,481,664,592,505,524,566,620,655,602,572,755,980,891,686,485,521,880,994,1090,1468,1628,1544,1510,1466,1496,1086,796,791,778,1236,1612,1190,656,537,432,500,932,1278,924,717,1122,1660,1496,1462,1512,1272,985,1006,919,787,946,938,756,1076,1122,884,906,841,683,1168,1350,1394,1332,1016,1582,1628,1186,1160,1021,731,567,583,994,1078,1108,1412,1132,869,1360,1096,944,691,1030,1034,1015,1104,1076,918,1064,1556,1720,1496,1148,1204,1416,1538,1828,1298,1178,1250,1202,1170,1008,935,893,827,1040,1254,1432,1220,1392,1746,1594,1288,1238,1306,1208,1096,1282,1116,691,520,449,514,761,1023,1332,1180,1224,1530,1196,1178,1252,831,600,455,418,501,671,628,651,1240,1492,902,785,628,604,1094,1358,1586,1148,987,849,638,800,805,655,702,930,1054,944,618,558,807,1005,546,771,1180,1680,1532,1332,1290,896,843,1088,1706,1570,1000,486,562,933,1102,1190,878,717,1038,858,572,483,406,398,376,371,357,329,338,357,337,279,317,319,287,283,282,287,284,293,297,306,306,302,284,270,298,311,285,276,262,260,250,257,265,283,266,273,274,271,269,271,268,261,267,282,310,526,447,550,978,1432,1710,1658,1546,1570,1368,873,526,518,670,512,667,1404,2144,1864,1380,1394,1274,803,753,652,775,1028,1196,984,817,1096,1322,852,504,470,459,409,379,384,399,622,1060,1460,1248,594,365,294,518,954,1084,650,814,1400,1148,902,1194,1484,1130,656,590,590,858,1116,955,922,1108,1096,1246,1820,2018,1052,1004,1310,1082,1092,1202,1120,864,879,827,599,553,658,805,1190,1376,1228,1472,1378,885,679,608,822,1070,973,728,509,604,777,877,1070,1304,1366,1538,1754,1346,1024,1076,570,731,939,1036,1038,761,1180,1172,1050,1164,1146,906,764,1054,1330,1438,1252,907,932,636,541,869,1228,1478,1624,1516,1622,1758,1600,1314,1086,644,813,1360,1168,1136,880,741,665,658,714,624,704,1246,795,723,905,1484,1820,1474,937,817,1274,1636,1892,2492,2610,2442,2230,1882,2094,2292,1770,1340,1152,944,1016,1230,1454,1550,1654,1526,1616,2808,2214,1820,922,499,398,448,610,677,592,437,416,416,484,535,460,435,402,416,420,390,380,369,321,478,909,1444,1460,933,1554,2054,1666,1152,719,971,1120,775,1052,1266,1550,2276,1520,993,760,743,774,608,534,747,1178,1316,1038,1198,1370,1230,892,1015,814,938,1180,1252,1392,937,797,895,774,906,1034,992,1454,1192,1412,1428,1316,1080,1406,2046,1522,954,1152,1054,966,1108,955,973,864,1028,1124,881,489,799,1434,1824,1938,1936,1560,594,362,386,426,1004,1108,936,1086,1074,1016,1180,1304,1220,1134,1376,1616],[1274,1244,905,495,574,717,883,971,661,605,820,1244,1420,1504,1346,1015,673,728,876,721,452,429,451,922,1676,1072,601,620,641,537,491,513,484,444,409,445,472,470,426,565,556,459,355,297,292,328,318,608,1240,1126,830,756,978,1306,1050,698,645,633,806,1062,739,412,496,464,424,477,578,533,411,403,393,342,357,371,332,298,329,443,467,534,756,710,507,495,422,412,403,372,401,380,365,348,391,499,578,592,645,525,387,379,446,474,433,399,373,358,331,346,363,566,581,598,686,689,556,382,336,347,388,342,321,329,492,608,897,792,440,667,990,987,1034,1342,1902,1404,684,706,1062,1320,1504,1600,1650,1062,789,1072,1326,1248,578,496,436,489,657,707,813,1078,975,504,338,322,292,261,280,429,990,1122,850,664,659,1036,1220,938,684,442,664,1106,1026,583,794,963,835,1034,1104,1430,2266,2216,1400,1080,926,833,1170,1062,857,612,792,730,708,923,1098,1108,926,814,981,1070,1114,1088,1208,1042,887,783,978,1262,1196,1050,878,890,954,665,896,1238,858,636,519,390,310,328,287,278,307,319,320,294,279,285,325,523,569,411,356,420,397,325,378,476,490,716,821,1009,1190,1386,1710,1232,1090,1094,1154,1242,1110,855,562,704,644,452,484,537,505,456,432,772,973,1084,1316,1362,1013,943,1144,1216,1024,902,678,535,550,603,794,714,547,511,552,1198,1406,1252,1300,1058,700,609,1016,1302,1190,1132,1382,1754,1860,1682,1404,1336,1378,807,633,820,863,670,922,1382,1350,1364,1400,1318,1236,1182,902,1242,1408,1296,1204,1580,2124,1634,1220,1534,1890,1510,711,839,1444,1270,1010,801,1112,1642,1326,1124,1334,1306,1132,1234,1308,1080,1044,1220,1408,1572,1518,1218,991,1070,879,745,908,720,544,482,475,761,914,708,594,735,685,442,331,357,563,1094,1616,1644,1372,1004,1190,1086,946,1076,1016,745,722,894,1242,1296,930,993,1344,2028,2174,1614,1338,1362,1402,1192,710,761,1156,1148,1064,1838,1256,533,388,377,491,423,364,362,354,431,648,835,1098,1082,622,995,1092,1278,1336,1012,861,977,893,597,441,518,814,736,697,634,1032,1234,1368,1664,1600,1134,907,794,828,855,1122,1226,664,453,444,1488,1844,1322,1366,1500,1226,1064,1390,1100,1326,1448,1176,967,900,1180,891,532,517,731,954,1040,1174,1180,1144,966,1344,1146,874,1358,1372,884,839,896,967,1108,792,630,615,750,939,980,890,496,380,568,744,720,602,882,1396,1520,1384,1460,1170,945,1011,929,790,863,891,931,914,656,628,992,627,402,379,425,455,990,1570,1400,1110,1238,1704,1806,1662,1258,985,822,616,573,886,694,641,958,1136,843,658,1166,1262,1448,1128,1198,905,535,415,400,464,503,493,480,504,482,440,399,370,446,479,404,384,524,557,465,453,457,459,532,622,566,523,571,472,506,451,416,429,431,470,413,350,408,410,455,399,386,353,375,408,428,445,534,606,528,522,565,569,562,451,433,435,409,555,686,690,795,656,437,429,366,469,548,494,508,506,899,1024,1092,1430,1560,1276,797,484,554,859,1082,786,559,600,542,554,517,421,280,283,543,799,386,319,326,408,735,980,1164,1005,548,321,520,708,651,594,560,647,881,913,1516,816,592,781,1044,610,449,466,413,407,405,602,478,332,296,258,375,271,179,186,210,232,269,288,250,244,300,272,260,257,262,218,236,268,300,278,260,252,252,254,230,274,281,326,467,534,599,561,626,729,905,1018,797,775,637,718,919,1008,598,414,811,1264,1080,620,698,1046,1180,1038,439,475,700,463,610,698,658,622,437,357,531,501,356,411,442,411,550,992,778,904,912,1015,1206,1062,633,673,1046,1050,863,563,438,438,573,780,1176,1208,1214,1460,1186,1282,1730,1954,1842,1756,1746,1376,981,1042,1192,1910,2384,1666,1088,1298,1304,1308,1228,1260,1350,1306,1246,1142,1010,1158,1384,974,625,802,1284,1314,1186,1180,1344,1230,1204,1206,1138,1368,1312,1302,1324,1376,1458,1316,1424,1672,1082,1184,1252,1005,626,893,1268,1398,1680,1526,1100,1070,1440,820,690,1092,1306,1426,1414,960,846,1013,1336,1188,509,464,440,865,1918,1324,917,966,1013,1440,1648,1546,1396,1122,1318,825,557,743,1408,1086,951,1600,1206,994,1070,503,582,605,1104,917,610,431,551,2136,3942,2452,784,981,915,716,745,811,587,468,503,625,422,311,255,246,265,248,272,444,712,739,411,292,351,365,257,246,282,356,340,254,270,268,228,267,295,300,216,222,218,234,275,274,270,255,706,1422,1392,1082,866,768,432,360,278,316,308,360,521,576,536,493,522,421,319,430,609,812,785,434,219,303,421,852,1354,904,297,296,251,388,346,318,362,518,404,368,630,736,747,593,382,426,816,973,521,423,542,1156,838,500,389,306,368,624,805,690,299,314,623,469,352,531,823,433,511,1058,1276,1230,1344,1124,825,432,362,864,1178,1146,1546,1826,1312,1004,1162,758,485,627,553,438,420,421,387,351,337,354,342,387,450,429,361,310,305,330,329,321,444,433,333,421,602,756,893,913,864,677,473,735,989,534,551,630,601,872,1088,1118,1312,1498,1586,1576,1438,745,941,1422,753,428,441,506,1068,1192,875,797,695,744,1021,1388,1338,1092,739,496,498,509,494,453,419,435,467,647,579,480,480,420,364,408,544,759,790,806,941,891,751,687,582,480,387,453,543,634,653,558,697,1132,1024,947,862,880,753,688,719,634,884,949,973,868,641,481,574,429,528,735,656,984,1060,968,747,577,593,733,604,319,424,514,547,756,531,483,480,541,535,581,597,562,552,616,698,828,569,305,430,506,489,430,392,393,378,429,487,488,457,454,505,491,588,626,551,502,431,340,374,495,479,403,401,388,457,555,588,518,401,507,477,478,604,764,745,612,539,441,372,425,561,701,686,480,369,471,644,557,447,471,532,607,571,407,416,633,672,495,415,407,457,794,969,993,1194,1384,1440,1296,1356,1604,1084,930,727,435,814,1154,829,546,444,398,704,1356,1448,1028,1056,1254,1398,1538,1390,1288,1344,1288,1176,823,639,909,1006,731,717,1070,949,814,963,808,932,1466,1428,1218,847,1130,1180,1300,2308,1682,775,534,656,1060,1188,1314,1266,1116,763,1100,855,1152,1102,1388,1086,846,1050,1154,1138,1166,1198,1448,1308,1190,1418,1306,1462,1556,1672,1688,1354,1194,1034,917,959,1016,1294,1450,1228,792,708,1266,1688,1572,1562,1640,1434,1126,1112,999,868,679,567,794,836,1052,1436,1510,1216,1460,1606,1023,808,1066,875,730,772,727,624,662,760,734,793,797,733,918,797,802,895,1202,1676,1182,723,499,516,567,479,550,832,1336,1380,1438,866,901,1058,1064,843,811,1072,1900,1660,1017,912,713,1040,1472,1918,1622,1078,698,818,933,959,825,505,636,980,761,681,597,570,565,398,420,447,389,394,374,315,322,290,261,283,282,287,284,295,288,311,308,302,307,302,343,362,295,272,262,258,245,250,267,267,276,268,259,276,295,272,271,258,278,300,337,323,1,211,727,996,1050,1240,1562,1466,1172,803,535,420,431,600,612,518,571,1188,2102,1866,1114,874,822,841,531,382,506,1212,1684,1572,1276,1166,1050,884,462,407,451,422,414,415,475,566,1062,974,536,332,369,623,1154,1216,546,758,1366,918,973,1210,1436,1007,549,564,498,512,753,1094,1128,1324,1032,1068,1238,1142,631,653,720,913,1092,1260,1172,962,961,816,477,434,623,626,1068,1340,1086,1350,1438,1426,1552,736,1150,1754,1820,947,562,601,614,598,868,1128,1288,1350,1162,946,808,881,766,1066,896,1322,991,822,1122,1086,1318,1576,1458,1112,992,1450,1132,1230,1490,1324,1160,865,515,755,898,979,1474,1948,1738,1176,996,917,1009,775,893,1062,941,1178,1192,577,361,324,499,733,749,985,745,994,1028,1362,1742,1482,814,649,1110,1592,1790,1686,1512,1522,1960,1866,1668,1770,1650,1694,1754,1400,893,627,648,941,1438,978,868,1394,2318,2156,979,512,404,393,436,464,437,440,460,450,494,458,403,383,379,391,393,411,423,362,334,434,446,778,950,869,1494,1742,1520,1086,731,1052,1274,663,732,948,1462,1720,1222,878,672,483,494,524,548,721,1080,1116,703,1080,991,1012,1332,1240,698,858,1212,1412,1118,568,646,814,788,817,1028,758,1118,1636,1830,1374,1472,1544,1482,1890,1342,904,977,789,743,799,887,942,831,931,1238,1096,814,1126,1356,1404,1426,1640,859,367,352,348,461,1060,1284,1346,1326,844,538,715,745,733,991,1338,1526],[1102,1096,584,505,480,918,1884,1858,912,634,808,1092,1612,1802,1644,1190,700,700,1032,821,499,519,581,1264,1888,1372,805,568,497,424,402,447,505,455,402,424,449,418,394,534,547,411,332,326,361,436,401,585,1138,1348,1578,1218,1220,1440,1456,1322,1152,1256,1506,1468,836,457,472,430,369,369,401,433,385,343,318,317,319,328,332,321,334,490,524,698,1028,820,511,446,448,512,452,437,422,429,461,497,516,496,501,523,533,473,395,358,467,538,407,324,318,337,360,427,460,449,392,446,487,495,472,379,447,462,359,336,334,391,713,830,972,951,768,847,1164,1516,1468,1158,1328,1148,661,585,918,1326,1680,1722,1418,1032,878,962,1196,1380,815,537,502,481,556,810,1748,2270,1236,504,418,437,337,300,314,330,463,459,351,394,584,1086,1066,665,552,416,536,847,824,755,824,915,985,1246,1354,1328,1874,1746,1376,1566,1390,1092,1488,1086,852,660,526,519,535,548,469,417,412,554,1050,1106,890,601,609,755,1070,912,680,911,954,863,790,772,523,473,858,1168,1012,851,717,461,283,299,297,316,292,284,306,318,254,270,302,471,508,391,368,388,394,387,367,356,468,766,999,1130,1460,1642,1520,1190,1100,1164,1162,1052,1282,1744,949,833,717,792,695,548,576,443,361,477,692,761,951,1174,775,702,828,855,765,716,561,425,382,523,821,1076,821,572,1042,1852,1302,792,1050,1094,852,977,1412,1590,1180,1236,1578,1688,1430,1676,1670,1742,1470,1004,880,743,745,831,1036,1472,1340,1316,1368,1418,1324,1390,1200,1144,1328,1408,1448,1892,1858,1218,1192,1478,1714,1126,571,605,1316,1322,820,764,1142,1130,1015,1276,1364,1532,1340,1084,1332,919,693,844,1110,971,688,715,811,680,751,1009,794,968,841,725,578,795,881,645,622,615,593,666,782,722,771,1044,1356,1516,1228,1100,1350,1198,1256,1600,1324,1248,1222,1166,1264,1116,763,1414,1764,1778,1534,1282,1442,1460,1576,1378,902,966,1560,1054,829,1007,721,503,479,479,478,444,430,424,402,382,585,736,927,850,621,1007,1126,1282,1408,893,814,1152,1402,887,540,709,919,825,845,822,1066,1334,1448,1570,1412,1134,971,785,603,1009,1404,1168,636,532,513,1001,1074,841,983,1140,1274,949,742,833,1340,1580,1298,952,855,1298,1202,513,612,861,1200,991,693,599,887,918,1296,1358,1108,1324,1356,812,688,676,738,1160,1166,1234,892,953,952,980,931,651,378,442,367,301,380,882,1384,1216,891,916,995,945,1130,921,779,1003,1194,999,687,395,420,578,748,925,941,1019,946,1146,1282,1306,1306,1414,1974,2048,1742,1614,1226,1564,1462,1136,1128,1094,1202,1628,1598,1050,1208,1216,719,698,597,673,525,460,407,394,444,491,493,456,438,408,370,361,369,393,407,436,443,501,496,422,418,474,428,428,609,554,549,591,496,597,568,408,376,355,358,372,357,403,465,453,376,385,386,403,413,432,419,453,583,630,607,561,556,509,391,325,307,410,501,561,592,678,613,448,359,446,705,932,645,495,629,969,1196,1470,1466,883,607,491,485,434,551,1082,978,540,379,578,571,534,526,318,379,774,777,435,420,462,432,427,405,443,481,407,401,410,523,542,749,880,674,777,797,956,577,662,1128,872,628,731,548,398,413,403,669,574,336,248,273,286,232,216,224,234,257,260,263,266,265,222,232,215,228,240,219,231,269,285,251,243,247,223,191,235,299,357,345,551,968,937,700,611,540,828,1472,1332,1190,1002,800,841,783,755,630,445,497,516,419,667,652,397,421,366,766,897,514,596,898,1008,863,645,488,656,402,375,495,470,447,777,1194,865,699,935,928,918,798,358,462,1072,868,612,617,414,420,572,997,1558,1528,1632,1648,1684,2278,2224,1938,1854,1946,1632,1170,921,1362,2232,3066,3492,2734,1888,2120,1864,1968,1816,1990,1814,1842,1802,1594,1242,1286,1380,885,714,927,1128,1200,1176,1154,1228,1278,1432,1360,1346,1340,1450,1516,1130,1248,1374,1168,1168,1316,1222,1126,1188,1250,1118,1132,1318,1162,1230,1294,1272,1023,1208,799,578,928,1176,1226,1150,1278,1254,1060,1266,1352,712,479,487,746,1108,871,1001,1164,966,1070,1224,1232,1372,905,1370,973,806,836,1126,982,951,1480,1142,777,1002,517,505,815,1466,1052,519,537,1000,1890,2156,1420,865,565,379,418,447,291,265,226,251,267,221,238,261,238,266,305,274,276,318,754,678,345,324,307,205,224,342,487,423,373,417,330,262,332,325,231,190,208,233,243,230,220,287,240,276,442,661,597,776,1244,767,321,296,370,510,786,749,626,778,724,553,408,333,463,596,847,903,512,236,244,263,663,1158,731,303,241,253,419,389,408,386,303,243,287,397,827,1270,632,361,572,894,806,686,552,440,658,643,546,549,502,505,596,764,814,427,245,541,636,647,805,808,455,370,767,1368,1238,1021,500,401,446,464,1168,1730,1610,1300,1108,1076,1340,1064,568,608,759,596,431,397,461,461,393,348,350,357,419,445,386,324,278,305,343,352,351,576,615,443,533,678,658,588,436,455,440,393,725,871,581,653,612,432,466,535,599,561,854,1052,951,865,598,875,965,641,601,566,711,1304,1528,1186,1346,1470,1328,938,877,1110,1396,1214,733,572,546,536,525,485,463,560,619,576,521,480,439,364,230,215,260,324,346,321,307,375,448,483,442,378,366,673,745,480,460,658,1030,1034,1252,704,487,453,579,698,974,1042,956,802,771,985,462,447,337,437,737,1021,1162,1108,1162,923,443,382,724,722,604,1003,1156,1208,1500,947,547,453,481,452,626,653,494,470,501,517,623,467,368,426,425,418,414,402,382,382,397,391,422,391,462,539,523,523,577,565,457,363,322,391,565,653,555,508,555,476,370,389,367,328,389,402,497,628,701,747,655,546,474,377,377,503,651,750,592,375,413,497,484,437,415,476,548,491,383,395,506,506,449,449,448,465,636,803,766,711,877,1005,885,1150,1220,861,742,588,386,401,428,424,488,423,470,756,1012,997,935,847,929,1224,1420,1322,1300,1534,1444,1364,1240,1130,875,625,594,596,1040,1244,934,859,906,808,1128,1015,896,940,1278,1360,1342,1600,1534,1160,726,907,1346,1356,1604,1242,1074,851,619,583,1114,1242,1090,1026,1318,1642,1428,1274,1324,1136,926,798,1490,1450,1138,1162,1166,1448,1614,1644,1498,1336,1384,1356,987,1584,1744,1438,1182,1170,1258,1290,1520,1744,1998,1830,1372,1220,753,803,860,1024,1200,918,932,1224,1270,1344,1312,1594,1384,1366,1190,1200,1202,1064,909,795,934,1446,1300,700,720,1072,1042,869,623,547,1186,1688,1166,615,492,513,479,424,500,705,1268,1286,1324,901,833,705,501,621,791,955,1358,972,579,857,817,807,879,1288,1550,1424,1484,1498,1120,818,698,577,755,991,774,605,604,633,662,584,549,426,352,361,407,465,380,497,576,351,287,317,284,289,300,328,341,335,301,274,278,276,263,267,258,252,252,258,267,275,275,269,264,260,259,263,264,312,399,405,434,278,3046,5084,2182,1198,1064,974,1268,990,630,420,404,350,368,453,596,589,642,1432,2208,1528,941,985,1246,1376,813,536,547,1028,1952,1882,1268,1200,1066,1007,1022,632,527,460,481,462,606,577,581,653,551,421,381,580,980,921,445,709,1220,1158,1284,1234,1312,862,368,415,358,343,380,447,629,993,980,681,588,528,578,681,677,758,1100,1406,1184,873,631,736,969,977,963,979,1154,995,953,1448,1438,1316,1390,980,1408,1706,1736,876,507,504,508,694,745,572,793,1024,1084,1046,1246,1340,1454,1294,1310,1776,1378,1070,1056,844,1108,1378,1072,702,868,1330,1208,1248,1238,1186,1396,1160,573,631,917,745,1078,1716,1482,871,963,879,905,780,993,1088,688,925,1222,427,462,712,677,763,812,808,808,1064,1064,1232,1636,1188,619,693,1098,1334,1454,1422,1566,1490,2256,2608,2322,2132,1608,1510,1676,1768,1228,995,1074,1056,951,856,823,904,1688,1672,818,552,606,691,490,419,414,443,472,463,470,443,378,366,384,398,432,441,402,334,365,655,781,819,818,897,1172,1364,1198,902,932,848,973,497,744,832,1054,1396,1512,1246,778,658,951,967,572,578,829,811,846,917,983,1244,1754,1852,1448,1306,1416,1274,718,471,538,706,944,1072,1090,769,1216,2004,1958,1176,1252,1680,1478,1860,1228,1100,1258,850,962,827,835,1007,1038,1096,1078,766,668,1090,1482,1080,742,838,564,326,320,443,622,1005,1216,1018,1018,849,742,752,808,861,730,845,965],[1110,1018,557,470,426,715,1414,2116,1354,630,656,969,1488,1362,937,735,788,906,1248,996,615,545,699,1366,1546,1070,1020,838,406,400,382,415,466,430,423,406,400,412,392,390,372,326,282,306,320,428,430,564,709,644,759,997,966,876,911,910,1660,2320,3098,2744,976,390,372,362,384,399,415,381,349,309,334,364,362,367,399,417,384,502,777,1084,1184,881,582,445,436,486,461,495,457,471,493,536,524,453,392,373,363,368,365,323,348,325,327,368,380,407,413,416,373,251,202,292,477,497,368,453,562,498,378,367,422,476,838,1136,1030,1015,1312,1538,1758,1452,1258,970,1236,1390,924,753,1096,1600,1650,1380,1308,1190,1128,1560,1638,1322,1066,602,435,536,480,894,2026,1926,687,509,809,1240,771,453,340,365,348,390,444,468,763,1158,720,331,326,303,374,668,691,785,901,974,1013,1554,1648,1444,1520,1434,1226,1494,1516,1254,1292,974,587,509,562,545,533,503,451,454,467,543,953,1102,622,377,335,328,698,1008,1118,1116,891,831,1106,991,628,447,585,927,982,1192,1334,581,299,326,305,313,300,272,292,273,220,309,327,316,324,360,424,390,345,377,395,426,524,780,1120,1532,1656,1672,1566,1140,975,1086,1030,965,1454,2056,1136,831,847,1246,1015,593,562,492,532,615,756,785,889,938,686,524,674,829,838,766,659,642,666,670,719,907,737,724,1646,1774,1028,832,925,712,719,1210,1544,1552,1142,1104,1188,1266,1686,1888,1700,1490,1338,1258,811,475,567,886,1010,1212,1154,1174,1200,1394,1436,1542,1282,994,1124,1464,1338,1448,1394,1578,1196,1342,1094,818,661,507,735,648,637,1208,1222,772,992,1282,1288,1072,765,672,863,879,966,814,752,590,414,511,911,619,775,1080,884,919,821,691,517,872,1294,1230,1380,1302,1118,1250,1392,1460,1212,1042,839,1060,1118,822,749,744,1222,1368,1024,1474,1758,1598,1422,923,808,1414,1494,1338,1338,1184,1400,1176,1164,1058,948,836,761,689,809,656,527,562,683,728,498,401,463,433,337,391,670,752,955,785,585,987,1174,1252,1600,960,859,1070,1434,1020,843,951,1102,1216,1294,1326,1248,1086,1140,1528,1478,1240,1170,1062,963,1096,960,634,564,582,429,501,526,794,1426,1396,1426,930,594,866,1480,1522,1200,972,834,1390,1266,543,532,796,1124,805,561,735,1126,1074,1226,1436,1174,1296,1616,1094,664,652,741,1154,1260,1144,884,767,945,1170,1222,1110,494,434,397,378,429,691,1174,971,530,644,907,1058,1158,968,1056,1060,969,815,648,450,453,486,1134,1680,1784,1592,1110,760,724,1118,1312,1484,1844,1744,1610,1556,1192,1310,1440,1324,1374,1362,1218,1592,995,839,1318,868,624,617,563,532,455,393,407,419,447,416,449,438,403,391,408,452,501,542,532,493,476,501,496,498,519,557,473,372,503,467,552,572,518,636,591,430,403,391,428,434,398,445,525,485,426,421,416,471,489,439,410,484,498,535,483,439,478,419,309,342,533,635,479,427,553,877,576,513,542,700,888,927,672,541,588,733,1152,1446,1166,566,397,385,386,470,663,816,1009,908,505,464,442,406,415,290,456,1130,1007,825,790,785,714,740,748,714,419,387,471,452,595,658,550,644,673,689,702,543,519,956,937,559,497,658,576,352,430,627,585,461,305,235,282,258,237,284,280,258,263,262,254,231,267,259,255,208,223,257,232,252,311,326,296,312,328,288,271,290,365,471,559,644,737,589,651,664,313,376,1010,1001,709,716,592,590,746,810,692,835,909,768,653,603,443,537,490,336,361,297,289,404,547,630,1005,752,625,1015,570,458,544,465,430,489,880,838,681,985,753,476,450,333,496,1278,1398,1070,931,620,442,542,1082,1572,1720,1942,1682,1996,2442,2410,1892,1600,1786,1516,1019,841,1920,3520,4116,4264,3186,1954,1970,1670,1808,1770,1936,1808,1918,2042,1686,1102,1136,1192,777,811,1082,1166,1170,1170,1072,1034,1190,1366,1638,1656,1316,1272,1342,1122,1150,998,1042,1284,1482,1166,730,717,1112,1450,1504,1290,1112,1148,1282,1410,1292,1150,960,910,995,1062,1034,1204,1534,1696,1512,1554,1276,637,416,393,469,475,530,1005,1254,677,738,1112,749,1112,924,1052,853,845,813,749,779,1098,1540,1140,974,963,526,423,935,1520,973,410,944,1678,1420,854,660,460,352,378,424,305,255,281,255,270,302,282,275,262,250,260,283,293,262,258,384,680,563,262,231,246,278,375,423,323,328,379,288,280,392,335,208,192,222,236,288,304,274,352,378,328,613,643,372,621,1216,940,586,391,315,616,866,595,440,770,668,448,424,352,508,502,513,619,370,207,214,285,356,317,391,332,246,452,575,405,371,389,337,290,366,368,701,1130,546,386,552,565,504,760,833,622,556,653,646,495,538,538,651,621,706,485,297,464,622,544,742,870,482,367,534,1142,1130,715,511,576,564,474,880,1328,1190,1038,1052,1106,1356,683,572,788,915,721,456,415,454,487,452,348,353,342,359,366,311,287,269,276,278,289,260,355,384,339,498,562,412,290,235,236,397,720,902,752,539,439,398,336,460,698,447,333,361,337,301,429,569,930,919,713,722,624,994,1864,1998,1484,2210,2568,2138,1454,1015,758,879,850,465,481,545,513,469,386,316,482,609,587,564,559,464,344,298,327,302,324,336,370,390,462,459,401,393,390,350,434,532,488,700,1038,732,758,742,729,933,1056,755,627,931,894,644,495,614,1028,708,506,383,367,597,872,790,839,1052,706,375,494,509,600,1290,1740,1720,1244,1382,1918,1354,539,438,513,784,792,610,512,468,462,550,566,533,545,573,517,378,372,377,397,396,382,384,363,396,418,394,402,499,551,453,339,329,352,453,667,628,435,419,405,382,342,311,304,318,327,434,543,604,669,793,655,454,379,364,455,485,541,560,391,371,511,669,510,463,495,503,437,409,412,440,469,501,546,641,786,856,673,727,987,1074,1076,1128,1282,965,628,543,568,516,454,479,475,520,458,522,495,409,413,612,950,1170,1264,1290,1238,1292,1356,1256,1234,1424,1078,664,544,560,609,703,1042,1250,708,855,928,935,943,1062,1424,1416,1160,833,901,1508,1400,930,755,1078,1310,1168,1140,1102,1066,949,879,765,620,767,1360,1638,1600,1506,1252,1298,997,1040,1104,1138,1116,1190,1190,1322,1462,1460,1368,1476,1444,1550,1480,1320,1970,2000,1620,1556,1584,1440,1344,1684,1774,1548,1732,1570,1246,882,921,1078,1282,1308,1160,673,906,1332,1500,1370,1418,1384,1386,1094,1296,1544,1272,910,833,1416,1718,1098,1030,1094,1010,774,1132,1328,1270,1434,1390,935,638,495,450,429,431,736,697,497,527,477,444,470,423,386,445,553,935,1262,962,566,427,403,443,430,1110,1546,1374,1324,1192,904,751,606,542,568,565,504,424,443,650,674,653,560,356,315,319,360,449,494,1021,985,460,303,326,296,288,300,309,301,286,275,263,273,284,267,260,258,256,256,260,266,265,264,264,271,272,291,293,341,455,500,400,563,321,3226,5104,2012,1420,1226,850,634,456,437,419,376,346,407,407,407,518,758,1100,1346,1216,1164,1114,1604,1398,930,820,516,537,986,1021,1260,1780,1274,742,1052,1094,815,559,457,697,1368,1646,1434,1050,694,573,540,654,733,642,396,797,1300,1630,1794,1692,1404,691,354,405,411,308,358,474,556,679,738,690,532,427,543,688,892,1114,1566,1256,708,540,406,532,919,1064,814,868,1006,708,808,1172,1204,1122,1028,915,917,853,928,771,653,713,854,980,901,616,742,1074,1326,1404,1750,1810,1640,1184,1130,1332,971,809,871,828,1034,766,518,705,662,817,1204,1394,1290,1228,1386,1472,1148,789,936,1418,1610,1582,1518,1042,698,736,681,497,533,667,701,888,1258,622,526,709,917,854,920,1052,826,1002,1072,992,1132,929,934,753,1164,1466,2316,2364,2336,2210,2404,2618,2026,1992,1686,1632,1740,1816,1454,1490,1666,1510,1268,1254,1394,1578,1676,1438,716,628,1264,1498,1148,630,382,370,421,401,425,418,374,402,411,390,409,432,401,374,393,509,825,1172,1210,1023,972,973,921,905,1086,995,839,701,1438,1250,753,1042,1458,1338,844,634,611,488,423,603,532,385,678,1010,1294,1274,1512,1908,1804,1588,1490,897,499,452,450,572,788,1062,1142,942,1334,2074,2104,1548,1222,1268,1172,1444,1114,996,1126,1084,1062,720,602,879,1176,1058,439,396,454,608,1318,822,410,402,404,305,239,488,983,1432,1268,935,1094,918,1023,996,873,825,593,553,711],[1382,844,498,502,532,677,1114,1692,1342,586,439,714,1028,1030,855,756,892,978,987,1044,915,850,919,1138,1298,999,1114,1274,552,484,408,367,363,376,416,422,396,344,384,384,350,316,289,276,287,422,377,324,389,376,398,448,464,568,631,887,1904,2114,3310,2568,957,408,393,538,538,445,495,403,369,342,353,372,422,525,589,568,637,798,1001,1108,925,652,529,393,390,408,395,378,381,407,428,474,472,401,360,336,341,336,329,455,506,437,398,455,460,383,367,408,379,259,269,300,383,398,363,450,532,456,374,369,442,552,933,1324,1094,1230,1682,1722,1522,1184,1548,1388,1614,1450,828,730,1078,1422,1168,1066,1164,1332,1492,1942,2202,2064,1520,745,366,413,448,789,1414,1346,590,474,1092,1654,1336,912,553,351,336,377,458,583,1013,1044,525,319,331,325,370,574,594,548,698,779,848,989,1072,1494,1478,1496,1094,1172,1366,1294,1172,829,471,522,543,535,521,479,375,424,440,821,1142,883,423,343,398,392,404,792,982,660,779,896,1336,1264,1158,932,830,999,1194,1726,1058,547,490,399,291,334,340,274,287,284,319,536,732,568,350,404,525,462,366,360,410,501,581,1030,1594,1804,1794,1982,1590,998,979,1054,1001,1578,1970,1534,958,777,1066,1184,831,844,930,564,620,700,697,744,932,1070,843,497,607,757,749,719,699,656,654,680,597,522,529,1224,1896,1536,1224,1266,1026,523,1030,1482,1360,1096,1250,1482,1290,1190,1382,1374,1466,1482,1488,1428,861,741,892,1166,1338,1250,1282,1128,1144,1400,1462,1354,999,1096,1394,1690,1356,1766,1990,1566,1250,1048,987,1240,1058,694,377,399,486,658,732,1001,1194,1246,1080,1002,858,912,969,886,938,542,478,457,401,484,680,580,588,556,769,976,734,530,398,565,914,1004,1126,1178,995,836,1188,1300,1024,1158,1072,979,1040,807,688,716,1294,1242,1134,1566,1944,1920,1588,981,980,1452,1458,1290,1268,943,1022,761,635,800,940,1015,886,1078,1120,718,649,944,1154,1150,899,1046,859,715,763,846,767,645,799,615,596,962,1236,1222,1530,901,912,964,1136,1256,1288,1178,1098,1154,1158,1120,981,943,1222,1474,1478,1638,1392,1278,1416,969,565,548,441,401,397,447,479,509,677,1024,1252,935,569,825,1434,1290,894,814,671,929,1008,641,585,885,1005,720,568,838,1198,1116,1010,1078,947,991,1134,1048,824,690,794,1174,984,782,984,746,609,868,1106,1001,538,424,448,546,877,807,546,482,520,855,1124,1194,1196,1056,1112,894,738,740,566,459,401,446,1017,1518,1374,1080,824,1018,930,830,1156,1548,1382,1092,1550,1484,904,822,846,962,1124,1262,1564,1224,952,1314,1058,568,547,563,545,521,431,397,408,435,440,451,443,430,433,427,432,512,572,558,551,601,478,445,413,487,553,541,465,395,433,466,516,499,567,671,578,446,475,457,434,429,422,416,416,388,455,485,406,437,469,457,505,530,480,495,511,475,466,385,276,380,656,840,718,640,662,767,444,532,628,767,707,558,590,743,792,549,766,814,684,649,513,395,327,571,932,692,738,1058,936,514,440,562,492,427,796,1290,1692,1678,1198,868,800,752,973,1038,500,424,557,656,706,612,461,561,621,829,864,587,953,1142,620,439,405,506,778,725,635,851,883,625,332,286,289,257,238,332,356,257,225,251,236,230,299,319,230,176,251,290,246,265,353,383,356,342,348,348,339,408,573,990,1216,579,378,431,542,575,618,625,529,527,726,862,946,1284,1398,1034,959,1212,847,848,650,512,655,902,804,617,665,624,501,703,718,605,1052,659,565,1032,756,489,498,477,444,514,792,855,838,1072,790,357,371,365,695,1206,1226,920,680,508,402,443,1064,1302,1144,1496,1436,1750,1918,1944,1726,1672,1630,1262,979,938,1910,2962,3284,3088,2432,1738,1746,1678,1600,1538,1680,1654,1548,1722,1638,1007,1234,972,634,832,1017,1198,1278,1240,1194,1372,1566,1478,1388,1296,1366,1222,1356,1296,1314,1402,1512,1516,1460,1406,1040,1009,1230,1440,1536,1318,1542,1482,1464,1530,1476,1622,1544,1208,1082,990,833,1222,1514,1396,1376,1584,1122,516,378,393,420,364,498,1120,1508,716,805,1174,653,789,1046,1062,760,549,568,794,908,1302,1830,1276,1094,947,554,393,884,1180,713,377,566,930,889,491,336,352,380,362,353,307,296,307,298,318,328,302,276,264,278,271,286,291,240,263,249,468,587,281,217,288,344,447,494,346,269,289,276,279,348,300,197,252,284,188,218,242,268,309,469,514,1046,969,394,613,810,577,625,495,354,850,605,382,299,353,338,311,279,386,730,727,551,368,274,247,408,575,453,343,479,391,367,800,969,637,352,342,334,359,550,688,701,566,357,478,546,451,586,667,543,434,573,655,674,517,525,389,465,402,415,477,388,462,592,529,564,624,539,362,276,733,1072,810,566,524,455,429,477,656,583,714,884,1138,1268,647,521,772,1132,987,521,373,429,467,495,430,330,339,336,316,292,278,266,258,264,271,273,286,306,482,462,316,239,241,216,229,296,538,908,992,725,662,368,336,531,511,356,350,321,289,576,772,615,897,857,811,968,807,1082,1538,1732,2104,2800,3166,2714,1740,1558,1162,676,541,417,455,458,400,369,339,256,283,369,418,572,582,487,484,414,369,318,310,330,351,359,426,421,397,388,369,374,434,586,574,602,825,494,267,343,713,1052,1011,634,608,801,681,707,616,464,907,1138,731,341,682,744,534,621,586,590,541,517,737,475,853,1736,2054,1782,1044,1236,1970,1426,474,383,693,991,1026,698,729,745,655,499,408,491,583,557,467,352,352,355,380,369,357,345,350,349,371,370,383,444,502,463,352,334,329,346,428,520,415,343,333,337,348,337,311,323,319,368,458,615,637,818,744,466,325,337,411,438,406,455,524,491,497,536,476,492,481,382,345,417,502,619,583,582,623,868,923,844,666,664,896,1036,1250,1522,1254,796,599,472,548,496,425,438,487,537,442,410,423,379,409,790,1082,1194,1400,1324,1394,1292,1274,1342,1440,1388,828,598,684,674,593,607,788,1094,1036,1118,1298,1108,1054,1202,985,683,611,524,689,1274,991,1028,849,587,705,1116,1552,1486,1292,1296,1312,1070,684,561,1056,1676,1636,1606,1372,1236,836,709,601,767,1466,1498,1246,1060,1420,1522,1512,1294,1222,1380,1432,1636,1878,1898,1638,1336,1274,1204,1318,1438,1302,1098,1284,1516,1610,1670,1352,1136,1126,833,1138,1136,1302,1364,1464,1438,1268,1238,1284,1328,1580,1754,1350,1120,850,1516,1166,968,1498,1366,796,691,950,1044,946,971,1048,783,611,426,474,576,561,987,998,551,350,446,558,593,613,666,553,658,1048,1126,960,497,444,480,419,458,964,1100,709,624,518,455,715,573,451,412,469,497,390,298,355,502,551,457,365,302,281,269,293,309,476,494,341,271,283,280,285,313,313,294,264,270,282,284,280,267,259,256,259,264,267,276,262,264,268,270,283,312,427,540,516,476,425,517,943,1664,1866,1380,1472,1114,783,469,362,361,381,377,331,300,300,355,383,526,917,879,1520,1716,1588,1610,952,728,1048,900,376,375,622,1356,1666,910,586,542,901,1196,950,471,690,1484,1996,2058,1070,736,699,673,639,887,846,648,1007,1362,1406,1494,1552,1300,851,669,670,716,415,601,749,621,592,771,949,830,777,979,1240,1672,1494,1484,930,455,384,377,370,482,536,582,892,1202,838,730,545,672,933,827,738,770,813,795,957,1160,1278,1186,897,896,1184,1328,1140,1490,1384,1354,1508,1005,759,1216,1258,733,810,750,649,1005,678,585,996,1138,996,864,1066,1356,1532,1384,1070,1366,1426,1492,1356,1270,1298,1294,875,539,574,534,470,488,659,692,655,1228,767,370,479,1017,1012,834,1070,791,1190,1158,1040,859,798,780,581,1068,1660,2556,2780,2656,2690,2378,2370,2050,1810,1626,1892,1758,1520,1384,1388,1450,1382,1310,1190,1192,1518,1522,1400,786,830,1212,1450,1426,836,419,466,471,441,430,338,368,424,431,398,398,421,416,353,513,731,951,1566,1610,1126,849,960,1164,1466,1642,1270,949,1180,1406,955,638,756,1148,1400,883,537,495,577,938,965,570,419,554,944,1086,1003,1378,1754,1588,1512,1126,622,508,457,395,460,653,905,1162,1386,1846,2154,2002,1354,1578,1096,899,1054,1040,1062,976,954,953,655,717,869,1100,960,413,484,639,928,1502,1132,636,454,333,255,295,677,1260,1456,1162,961,825,727,886,739,555,445,372,536,736],[1234,922,613,568,678,832,1050,1268,1466,863,929,1206,1018,1042,981,869,905,806,590,645,978,1102,985,758,1150,1164,1154,1128,582,458,410,362,371,382,434,461,370,367,341,346,336,307,274,255,302,401,357,289,333,368,343,342,404,525,595,723,913,875,1304,1024,583,368,357,483,544,540,484,382,404,413,476,654,821,967,852,839,866,581,568,731,750,584,424,371,336,363,366,408,445,372,370,375,366,331,342,381,368,415,480,511,498,505,446,516,535,394,390,548,487,338,265,337,439,437,435,455,491,462,382,412,538,672,918,1432,1654,1848,1886,1398,1132,1614,2008,1640,1216,860,787,897,1182,1380,1246,1270,1432,1934,1714,1654,1860,1874,1620,966,377,430,896,1218,1430,1542,746,441,791,912,830,870,775,493,366,461,546,686,1218,785,381,418,569,697,651,609,578,567,599,799,993,504,426,577,859,1038,1166,1000,683,962,1032,765,499,540,518,515,528,374,294,356,409,1011,1390,774,379,449,642,485,572,1042,855,509,640,1020,1380,1354,1504,1412,1138,1428,2344,2248,476,479,1005,612,305,390,357,236,265,295,417,935,1294,833,444,360,427,439,466,460,462,585,918,1488,1892,1804,1812,1714,1312,1432,1418,1296,1064,1642,1744,1378,1128,1102,1180,963,724,1376,1180,866,800,681,621,783,1090,1350,1070,532,479,591,595,589,564,484,541,781,844,645,681,1500,1776,1110,792,1316,1228,900,969,586,662,859,1150,1284,1066,1024,1116,1278,1594,1352,1230,1232,1204,1378,1436,1572,1640,1356,1278,1124,1212,1230,1092,1062,924,1048,1282,1470,1362,1564,1814,1902,1604,1236,1262,1064,738,785,791,865,758,763,886,1426,1554,1242,1182,1650,1440,784,578,664,633,476,512,459,404,473,727,735,546,572,918,1048,803,616,429,406,438,381,414,533,400,768,1482,1504,1260,1236,978,1144,883,735,944,971,1034,1268,1312,1470,1676,1700,1404,1318,1170,1382,1180,1228,1376,1270,972,1224,1280,997,1324,1550,1166,1176,1114,663,612,1040,1344,1120,744,781,926,1282,1330,1162,1023,904,843,552,605,905,1244,1260,1330,864,825,1078,1096,870,673,544,614,1005,1278,1156,1056,1184,1646,1694,1486,1598,1352,1166,1308,1282,1080,999,544,389,348,441,454,475,1012,1388,1166,802,612,716,1116,835,724,650,660,795,913,908,890,1064,866,568,651,690,787,789,952,700,664,651,541,559,674,733,1003,1300,1038,800,959,786,651,520,580,952,1114,1066,1170,1282,1242,770,771,885,840,1150,1296,1024,791,843,898,562,422,534,565,512,394,469,761,905,723,753,986,1350,1028,898,1334,1414,935,1026,1158,715,461,658,949,868,649,753,1068,810,1134,1478,999,575,615,588,495,561,419,377,408,457,454,450,412,431,518,514,462,518,578,566,559,547,431,395,379,477,590,562,484,435,432,492,524,464,541,567,504,474,488,473,433,467,497,456,421,385,485,625,502,431,443,452,562,550,452,470,527,497,443,368,240,371,474,669,786,638,904,880,686,778,674,437,365,467,608,804,759,867,812,495,373,495,525,504,449,575,891,844,747,880,1120,835,567,608,542,652,1012,1106,1592,1970,1488,815,929,749,1172,814,642,449,525,475,550,711,565,447,556,786,1112,1190,941,813,676,469,443,819,1272,1232,963,907,1088,764,427,273,237,238,263,298,304,215,206,256,265,261,262,279,206,190,290,307,285,333,404,412,405,365,325,329,357,447,482,477,575,695,984,778,629,615,1182,1514,1238,988,1094,1214,1174,1210,1364,1206,1466,1144,1322,1326,740,897,1100,948,820,595,806,994,926,1150,885,777,1054,930,584,814,891,688,653,477,445,739,999,748,506,651,868,612,639,794,711,692,702,558,599,514,391,497,1226,1076,831,1066,1188,1524,1916,2040,1776,1548,1308,1068,909,909,1482,1572,1582,1648,1688,1498,1540,1598,1462,1500,1442,1368,1282,1416,1298,1286,1324,887,690,922,1136,1406,1484,1280,1438,1544,1566,1532,1384,1290,1334,1456,1416,1350,1578,1542,1550,1748,1376,1126,1021,1104,1212,1478,1440,1334,1864,1648,1416,1478,1468,1656,1566,1412,1512,855,544,614,776,967,930,1190,1076,455,359,373,468,390,505,1158,1522,1007,863,729,654,793,904,1082,850,577,656,1009,1328,1350,1892,1408,1072,977,626,358,786,1186,732,385,622,1190,776,334,279,329,315,314,370,367,322,322,341,332,357,350,299,292,300,333,337,295,262,257,228,316,473,310,242,246,311,448,475,287,239,257,251,251,269,221,226,252,243,163,165,220,229,243,421,804,1242,928,430,449,685,730,496,764,376,576,1006,840,496,404,463,361,253,479,908,890,727,390,349,407,624,700,487,291,274,301,583,1096,1202,1144,582,439,311,351,828,1714,1368,760,616,679,632,365,429,578,464,457,552,613,531,513,449,340,409,509,772,953,471,416,564,821,763,821,1004,608,275,484,963,893,466,522,438,468,408,591,1042,1002,1040,1312,1224,705,604,1011,1278,1070,572,407,451,435,443,459,377,339,338,329,297,291,276,277,269,270,256,272,235,255,264,259,286,271,196,242,331,325,348,282,593,871,966,824,749,560,396,336,299,408,792,758,647,932,929,1001,993,1086,1464,1512,1330,1720,1946,2430,2278,1206,1568,1334,794,511,414,462,444,378,332,308,239,246,298,413,487,414,372,458,498,462,388,330,350,411,560,589,529,410,355,339,502,598,574,495,445,664,556,255,361,507,597,568,556,747,1004,998,1030,868,520,823,1668,1306,733,1054,822,742,718,408,530,1346,2858,3030,1032,656,1574,1956,1274,590,545,645,496,355,418,801,1011,1130,827,769,868,747,532,401,326,383,375,323,293,312,322,348,346,350,361,343,366,439,445,425,412,414,406,360,334,336,334,362,452,476,415,355,317,319,319,312,311,311,320,432,606,579,625,707,591,401,394,334,346,379,578,719,567,447,437,443,477,539,503,431,444,552,633,506,521,544,810,951,813,730,613,539,760,1340,1678,926,667,564,541,562,496,426,403,467,446,366,350,384,421,547,797,891,1216,1528,1284,1318,1150,1422,1544,1480,1434,998,658,872,1068,679,558,778,963,1116,886,1050,997,1032,1322,1134,864,499,451,579,1009,992,1206,1034,739,644,1026,1296,1134,1036,1216,1294,875,589,563,602,1078,1262,1210,1174,1021,785,719,659,1036,1730,1364,1108,964,1426,1412,1476,1496,1354,1432,1494,1372,1286,1398,1548,1584,1512,1306,1296,1338,1650,1816,1856,1938,1838,1478,1150,1332,1576,1500,1562,1750,1504,1332,1374,1196,1086,1296,1354,1172,1476,1592,883,948,1124,731,584,1180,1656,1208,901,826,695,621,647,833,1118,655,480,422,690,1230,1384,1358,1170,816,682,799,763,689,786,822,892,801,658,612,614,805,1126,1034,658,733,1426,982,481,474,408,417,590,423,365,382,427,526,542,534,653,785,637,441,459,343,293,280,286,279,265,273,264,267,309,296,285,301,300,285,272,264,264,280,294,272,258,256,258,262,271,256,259,269,287,275,325,466,634,660,563,557,553,695,1306,1324,1212,1282,1252,939,634,455,383,349,327,303,283,278,291,328,379,305,597,927,1498,1416,1082,906,781,1104,1516,1324,657,366,509,798,752,603,597,446,571,992,1146,1084,866,1144,1506,1694,916,602,564,541,400,583,852,886,880,1218,1086,1320,1694,1624,1170,803,930,1104,590,682,1206,1224,1250,1302,1240,1472,1432,1606,1122,1478,1512,1246,852,536,536,549,475,473,549,612,715,939,669,432,486,720,1000,1074,956,918,976,717,885,1150,967,565,372,604,1118,991,714,1268,1224,1116,1484,1320,902,1258,1366,1104,1198,937,599,698,581,735,1272,1460,1100,781,838,1390,1660,1300,1140,1266,1530,1306,908,833,732,622,665,799,602,815,693,516,716,683,575,1178,1032,474,619,1134,975,579,1178,1122,1434,1404,1304,931,902,1286,949,961,1680,2156,2424,2106,2116,2216,1976,1772,1772,1626,1484,1306,1236,1230,1148,899,736,1230,1884,2692,2792,1580,1140,725,697,1005,1476,1476,720,437,540,530,537,559,540,473,437,396,430,400,411,444,455,816,1148,1130,1446,1188,957,968,1218,1388,1160,1444,1228,988,1444,1338,625,949,930,811,1196,1172,959,872,1092,1254,924,589,428,557,704,1192,1608,1700,1708,1498,1284,1160,797,587,489,424,493,572,739,919,1302,2034,2178,1914,1498,1836,1566,1354,1138,852,937,937,819,826,874,1194,1338,1470,1120,562,689,931,1005,1278,1336,1112,762,411,307,349,889,989,1104,1118,1300,1594,1486,846,421,325,291,326,433,573],[1004,1152,806,611,813,1166,1120,987,1338,1198,1556,1462,981,911,905,871,750,581,456,547,871,926,769,581,862,891,718,531,378,372,421,392,386,407,563,679,422,360,342,356,335,305,287,296,325,371,361,310,328,384,367,360,485,539,507,509,517,487,542,603,450,382,436,599,434,437,496,641,758,731,752,1004,1274,1144,789,836,620,356,371,569,600,571,630,526,346,301,393,576,583,398,357,360,372,401,341,393,470,497,462,375,361,360,354,416,565,602,583,604,369,271,242,340,538,628,635,577,545,488,404,543,739,618,559,1023,1604,1320,1080,1108,1082,1418,1890,1648,1376,1086,1144,1038,1258,1342,1382,1204,1316,1446,1194,1264,1722,1816,1410,993,476,371,581,1216,1186,1078,676,492,660,808,758,705,675,582,516,623,804,1070,1088,534,287,357,555,750,694,412,342,612,481,907,1112,523,315,314,386,590,1332,1366,821,1004,836,599,425,479,480,494,503,440,415,380,475,1152,1376,592,442,542,1130,681,859,1338,1450,1130,1086,1412,1268,1154,1430,964,998,1440,1350,984,544,447,650,505,307,306,295,270,260,301,458,557,877,1018,824,535,619,491,432,516,454,814,1650,1968,1534,1708,1986,1538,1324,1642,1804,1464,999,1192,1514,1308,1011,1152,724,481,784,1352,1088,1072,1021,785,576,708,1001,992,773,739,702,787,1019,1076,674,597,959,1212,1314,1220,793,1005,1138,742,570,771,922,1336,1334,811,732,880,750,797,1128,1320,869,882,1188,860,1007,1328,1154,1394,1626,1488,1368,1386,1194,1021,1162,813,1034,1034,1114,1034,1210,1532,1224,1556,2080,1592,1144,1298,1128,1288,645,595,1102,1162,1116,1030,855,1072,1156,999,1366,1854,1654,988,586,870,661,433,488,493,541,563,567,508,586,677,796,901,791,572,450,433,413,395,433,412,387,800,1378,1424,1108,905,679,1024,803,796,909,742,628,1038,1682,1712,1484,1318,1406,1260,771,1158,1084,1432,1824,1512,1244,1614,1198,724,1206,1294,944,1088,1100,943,945,1042,1212,1018,976,1754,1904,1262,944,860,1078,1102,898,760,648,908,1196,1202,970,901,1212,1130,719,453,405,419,681,1344,1500,1116,907,1218,1834,1434,1002,1310,977,818,1350,1682,1266,1032,565,419,516,548,503,812,1186,1204,858,615,612,622,935,1122,1166,898,1024,905,665,962,1262,1192,804,591,747,704,949,1086,1464,1007,812,758,491,448,598,929,1252,1454,1060,879,1160,842,591,446,615,1026,1200,1380,1376,1354,1096,582,938,1362,1188,1238,1340,1350,1168,1202,1154,845,834,825,728,562,505,788,982,1288,1214,1078,1218,1174,771,839,1350,1116,750,1354,1364,904,521,485,728,589,502,517,621,854,1152,1388,1224,926,807,677,615,553,411,443,481,457,449,396,336,362,422,447,421,488,545,553,529,454,398,381,380,494,585,554,502,466,459,526,585,563,612,590,519,516,537,583,564,552,599,552,517,437,435,517,433,426,437,452,466,438,434,445,455,412,313,283,269,384,461,476,505,639,764,636,756,974,918,588,428,520,675,1009,981,828,849,649,421,459,504,535,743,691,781,966,728,661,944,1134,846,566,539,559,469,648,1060,1744,1810,1140,1120,1058,1260,836,790,590,537,527,423,555,598,623,655,912,1228,1072,546,760,1050,1008,744,906,1280,1250,1100,883,946,573,422,279,262,262,282,266,260,245,260,267,232,235,211,256,215,223,263,272,294,352,372,369,393,398,367,384,426,497,445,384,512,813,1021,830,710,720,1268,1626,1280,777,980,1044,1248,740,509,698,1078,792,894,882,660,1070,1420,957,666,477,765,1156,1200,907,651,1036,1634,1738,1220,748,872,978,1042,1042,1208,1428,1246,907,695,675,678,583,641,650,552,695,695,794,1024,612,535,895,1266,892,952,1114,1296,1640,1838,1832,1390,1294,1354,1084,804,893,1388,1582,1686,1722,1688,1476,1466,1402,1210,955,1036,1084,1036,1278,1022,1266,1236,787,872,1066,1108,1236,1180,1194,1344,1290,1350,1422,1288,1438,1482,1334,1234,1294,1388,1354,1100,1072,1362,1134,1224,1362,1414,1552,1340,1234,1432,1346,1440,1572,1390,1426,1472,1538,1294,1026,681,502,752,731,639,1148,1302,957,820,822,1074,854,777,912,995,852,691,573,739,952,914,1146,730,476,709,1034,1360,1418,1960,1560,941,1210,877,415,630,1146,663,329,504,890,561,286,261,305,347,361,371,348,344,340,352,360,357,345,326,338,351,337,309,288,310,347,268,308,651,645,337,241,265,261,228,207,259,283,270,266,272,238,220,233,189,188,232,278,251,237,296,424,454,365,361,365,730,835,642,677,515,1016,1446,925,498,664,810,422,300,475,796,937,854,424,264,534,664,606,438,282,287,421,852,1048,842,1092,749,561,444,346,838,1596,1380,944,721,619,505,510,617,589,514,872,1012,1044,895,698,442,503,556,515,676,931,396,372,567,844,600,661,746,455,264,282,666,947,563,615,444,541,454,489,1058,935,858,1038,1122,747,648,940,1184,1094,579,408,394,430,445,408,407,372,333,337,291,291,270,265,266,267,227,208,170,193,202,213,284,261,176,230,280,295,281,250,264,368,481,654,922,756,606,792,722,928,929,509,576,990,1138,1268,1250,1410,1798,1610,1226,1562,1482,1888,1086,502,800,1240,1422,1210,871,662,807,878,697,572,446,388,430,443,479,483,437,409,379,438,467,448,419,579,933,1052,802,568,409,327,420,451,468,493,502,716,667,385,355,336,377,639,603,589,675,854,1420,1318,688,498,860,1068,1270,1001,921,1034,824,713,1120,2060,4692,3438,808,633,1100,1152,656,400,430,644,935,996,963,817,847,868,698,611,547,539,478,378,332,330,320,320,326,316,326,330,332,326,320,346,470,543,512,410,375,363,348,358,343,373,424,442,488,442,368,350,325,329,313,318,327,339,311,402,503,492,548,669,811,739,542,417,347,397,680,680,525,455,455,453,459,524,580,507,467,514,469,469,514,633,867,1030,922,817,728,527,651,1400,2046,1028,683,605,566,556,534,470,401,368,356,347,343,369,465,509,682,888,1096,1302,1268,1368,1374,1534,1560,1430,1552,1472,889,745,745,543,469,718,1156,1272,907,866,864,1352,2048,1826,1624,805,616,828,1056,1324,1208,1130,1184,901,609,629,700,830,1206,1410,1090,816,850,978,1218,1354,1242,1218,1092,799,830,741,730,1038,954,1001,1242,1328,995,1990,2788,1626,1248,1210,994,1108,1168,1442,1526,1426,1570,1528,1570,1806,1876,1982,1890,1720,1808,1888,1894,1720,1536,1248,1474,1478,1150,931,940,1034,1254,1302,1162,1548,1406,723,473,752,941,913,1250,1210,846,931,807,659,518,658,985,1340,802,482,491,836,1294,1200,1005,943,971,808,658,633,702,892,1208,1510,1198,563,390,627,1034,1366,1350,790,541,956,694,474,457,423,453,606,621,551,453,320,354,511,636,674,653,649,444,440,386,329,318,302,282,275,280,265,336,557,403,294,285,292,292,272,272,282,294,283,272,274,263,244,248,264,255,269,283,290,342,508,647,700,709,631,482,389,567,813,680,681,764,733,687,634,560,476,434,403,293,321,284,292,297,325,327,385,582,981,1274,1023,778,842,952,732,736,813,526,631,844,672,560,518,458,715,943,863,1156,1350,1302,1404,1114,727,538,480,430,329,521,863,780,607,1096,831,1264,1944,1584,966,734,880,1090,562,466,948,1178,1304,1486,1776,1718,1198,997,966,1164,1106,1124,1098,944,1212,1310,1262,1366,1580,996,754,956,908,940,987,915,1014,972,1086,1100,1372,1464,901,821,752,764,921,902,1028,843,534,827,1176,1242,1072,764,614,858,1023,1224,1098,850,722,698,849,1104,1252,1118,1148,1062,1208,1742,1682,940,918,1372,1660,1450,1022,578,559,504,466,603,542,755,573,473,1060,1132,688,1032,1280,613,797,1076,795,617,1432,1174,1034,1148,1064,719,565,544,455,766,1378,1464,1500,1354,1488,1566,1184,1318,1454,1366,1288,1100,901,819,673,469,385,838,1268,1504,1196,668,636,568,568,1034,1708,1472,604,482,483,497,570,607,584,628,578,529,450,369,429,471,472,800,1082,1250,1222,1021,624,672,1024,1418,1370,1194,1160,958,1172,1322,764,816,1066,928,909,1268,1236,944,976,852,977,996,606,778,1094,1562,1892,1672,1650,1498,1326,1322,919,552,445,469,578,594,617,697,1021,1596,2042,1662,1126,1406,1562,1456,1174,735,682,701,774,772,813,1056,1410,1558,1362,833,814,1232,1310,1326,1096,1064,901,499,369,310,639,1058,1238,1258,1542,1854,1534,844,440,276,271,383,434,491],[1160,944,456,452,491,558,702,608,615,750,910,987,1016,962,772,605,394,410,474,570,661,888,780,741,749,572,402,403,372,281,358,385,428,518,550,577,436,412,414,412,402,335,280,287,287,315,336,339,327,330,306,321,462,566,539,546,558,520,586,547,419,425,445,496,377,357,631,1015,1216,1021,821,932,1244,1266,774,574,468,548,397,404,457,529,467,381,355,304,379,450,422,379,364,371,411,507,490,522,490,403,349,316,341,349,359,494,855,975,852,680,498,390,359,357,480,593,609,559,547,505,449,549,656,519,390,594,799,747,742,1044,1098,1002,1246,1314,1454,1082,1220,1116,1164,1304,1222,1116,1022,700,627,987,1834,1972,1130,1042,730,560,488,930,919,636,514,596,780,777,677,880,744,735,754,669,893,1294,899,357,317,358,369,390,329,250,292,514,392,466,364,288,301,345,428,567,905,1236,1208,1023,739,676,576,533,545,540,611,695,676,779,820,925,974,731,803,828,847,847,1086,1390,1438,1172,1318,1504,1338,1360,895,443,964,1472,1164,1002,840,644,414,328,291,288,262,253,318,330,457,504,532,992,1036,888,850,585,474,621,783,1018,1366,1582,1244,1464,1616,1494,1202,1476,1792,1476,1222,1316,1854,1396,997,1012,874,604,951,1110,1190,1406,1418,1246,760,709,861,565,495,889,1012,1438,2060,1756,1190,1112,1246,1292,1174,1156,1216,1230,1104,750,583,702,864,1224,1340,988,917,863,551,746,1242,1360,875,993,1244,1052,1178,1410,1388,1630,1732,1584,1490,1246,803,969,1136,1122,955,869,1238,1248,1212,1148,1318,1688,1572,1404,1272,1236,878,1334,944,643,1152,1316,1240,886,460,622,819,864,975,1064,903,610,609,956,608,496,728,804,711,622,541,529,742,745,962,1030,684,542,470,441,430,398,404,458,576,728,926,1242,1010,677,708,668,596,610,614,619,587,981,1588,1550,1316,1302,1122,908,1084,1290,1148,1244,1266,922,767,764,621,733,896,1242,987,913,927,1080,1090,1084,1138,854,835,1186,993,599,545,1015,1228,1250,1404,1028,621,852,1210,1352,1376,1280,910,505,358,422,376,385,734,1410,1536,1208,965,944,1164,1046,752,656,575,621,799,1028,869,623,651,734,940,1012,818,1324,1534,1142,768,850,735,694,775,1384,1500,1526,1628,1002,566,866,1250,1328,923,849,1160,846,1316,1548,1514,1168,1050,726,402,358,652,1208,1202,1328,946,741,1023,750,434,377,604,655,572,605,671,827,679,586,747,819,616,740,730,1158,1380,1102,996,1232,1608,1244,753,464,579,826,1036,1300,998,635,756,910,702,791,1136,1158,1124,1600,1364,669,453,563,608,505,486,620,925,750,543,836,984,1190,1144,945,818,702,525,417,477,464,442,404,320,312,337,365,378,539,493,473,465,425,415,389,384,442,501,590,545,469,457,539,633,709,733,616,495,509,547,524,506,572,538,485,499,499,544,496,435,426,453,496,484,437,487,499,473,398,343,302,401,437,406,417,459,673,582,351,455,776,832,791,721,650,735,868,725,844,1208,1116,678,684,703,684,885,611,381,484,674,1294,1318,1092,1064,940,1032,931,728,979,868,1258,1786,1598,1120,1194,1286,1064,985,879,865,731,445,593,906,1190,1148,1028,1078,943,685,1074,1432,1236,871,784,1178,1342,1188,966,925,662,398,332,263,241,277,273,303,326,311,272,196,207,201,231,193,244,275,263,301,347,386,423,422,415,398,417,413,478,471,471,539,587,526,613,770,808,814,772,681,458,458,560,692,444,410,456,573,541,463,353,452,715,957,686,897,996,917,1124,1030,614,637,1294,1764,1588,1238,906,754,846,1052,1372,1086,1362,1108,1158,1512,1232,774,608,584,641,539,539,565,774,879,590,716,1152,1052,907,1158,1364,2014,2546,2224,1694,1304,1548,1672,1136,728,880,1296,1504,1572,1642,1578,1434,1432,1448,1278,879,1118,1044,957,1080,955,1228,1148,691,764,1082,1104,1138,1252,1300,1062,1332,1554,1542,1422,1488,1560,1334,1030,1078,1144,1112,1098,1486,1596,1410,1654,1578,1366,1444,1292,1406,1588,1248,1040,1374,1894,1440,1210,1290,1294,1350,1080,866,952,910,933,1534,1616,1360,1324,1400,1470,922,704,791,714,688,681,602,708,1023,1136,781,463,2198,2060,1238,1434,1500,1894,1768,1050,1174,815,526,578,1118,673,298,503,629,448,297,298,307,379,353,352,360,392,386,372,357,332,353,360,338,326,350,344,544,1080,919,384,263,671,872,464,251,254,232,235,244,270,215,220,243,250,229,250,245,215,224,274,278,236,199,295,291,231,271,291,373,608,880,840,577,394,719,794,462,580,1038,796,461,348,494,875,946,814,611,453,458,599,549,323,257,328,678,941,781,903,981,779,655,488,407,464,620,672,763,747,580,396,708,860,740,720,1294,2002,1584,886,742,516,562,439,415,415,484,488,679,721,543,426,548,533,546,371,235,455,901,558,551,436,553,586,614,607,586,479,633,1188,739,609,877,1282,1156,647,390,394,478,493,434,420,396,354,343,360,305,285,271,281,279,204,169,196,214,204,208,267,307,270,282,270,321,286,244,280,296,304,344,390,709,874,681,594,939,688,466,546,835,913,969,1208,1244,1312,1324,1156,2350,2656,2008,758,447,530,1112,1548,1678,1242,1044,1462,1242,915,1236,1142,652,457,468,497,536,529,477,436,436,451,474,462,551,681,869,712,608,513,457,447,444,477,550,517,422,455,570,487,412,408,347,396,678,839,1264,1794,1498,855,508,590,1090,1288,961,879,839,1344,1406,843,719,935,412,386,624,666,528,558,480,514,761,1080,1116,1172,1178,889,591,352,321,246,327,369,408,372,336,323,343,330,322,324,312,318,317,306,328,423,415,365,346,339,335,331,342,345,462,555,403,376,343,318,331,325,321,323,306,302,325,350,430,486,513,591,607,777,750,619,615,554,481,589,648,528,493,470,546,540,531,611,523,484,433,428,462,637,892,920,765,718,821,827,739,852,1356,1682,1244,895,824,702,594,543,463,415,364,346,314,326,308,320,346,425,674,967,1106,1432,1586,1540,1602,1570,1448,1580,1498,879,524,449,521,505,375,529,650,830,945,803,1438,1722,1668,1814,1256,1122,1106,1390,1594,1264,1160,1370,1370,763,637,783,1010,1418,1472,1288,1262,1372,1404,1234,1314,1432,1320,1372,1066,1238,1334,847,835,954,1130,1322,1122,771,844,860,914,1032,1192,1080,1050,1128,1186,1174,1294,1442,1562,1722,1672,1594,1456,1106,837,1284,1770,1570,1358,1306,1264,1456,1396,1084,1136,1560,1078,913,1346,1368,1490,1172,684,427,549,689,810,1016,948,594,672,982,727,644,788,993,1172,998,816,777,1026,1006,683,832,962,874,618,498,532,613,785,1666,2148,1324,528,453,786,1060,1170,1324,896,860,972,739,617,569,437,332,484,566,454,338,302,277,494,744,746,716,647,473,383,383,375,336,309,283,289,264,293,565,949,638,330,290,276,301,280,275,284,271,257,268,272,283,272,268,264,272,281,289,351,491,675,704,639,674,565,359,269,311,310,287,334,336,407,615,670,582,500,455,473,332,263,237,285,302,272,310,369,335,459,772,1084,738,492,617,711,908,1122,896,611,534,436,394,426,558,819,990,948,978,1194,1168,1108,1188,1030,654,516,361,346,433,450,281,546,1082,716,865,1572,1326,1094,1144,603,650,422,406,368,399,825,879,1096,1206,738,717,1280,1294,997,1014,1478,1554,1580,1570,1542,1708,1644,1021,832,1094,1116,1148,1198,776,828,639,1066,1194,1658,1742,802,921,1252,1416,1478,1318,1346,1034,760,801,752,694,647,806,767,789,981,1252,1018,675,591,732,971,1098,997,1096,1007,656,1019,1538,1378,1078,1001,1460,1824,1920,1664,912,529,506,446,492,482,513,587,774,1282,1314,879,908,1438,929,842,732,533,666,1254,915,958,1182,778,465,406,437,507,697,1120,1098,1056,1094,1242,941,633,451,371,485,447,327,319,310,269,277,264,228,213,463,611,587,557,463,435,540,686,670,539,558,537,508,625,644,654,654,668,722,563,351,350,398,593,788,1015,1266,954,639,527,522,678,730,686,625,944,766,611,718,736,938,1388,1208,758,1026,1292,1122,821,673,1021,1021,935,1358,1956,1760,1640,1594,1412,1052,1198,1378,967,525,434,528,678,674,563,592,869,1432,1964,1702,1270,1094,641,738,1148,726,616,630,702,794,739,785,1146,1410,1436,1094,899,904,1116,1188,844,669,531,438,368,330,600,1196,1382,1342,1542,1822,1316,961,526,319,310,388,462,505],[757,678,565,345,307,319,408,473,410,678,1084,1284,1434,904,524,466,395,410,443,395,424,873,1286,1438,1024,555,466,581,471,355,359,451,531,571,442,407,422,412,402,396,399,360,276,258,254,277,301,303,293,264,251,250,354,509,570,620,609,554,582,571,479,467,466,439,388,364,477,919,1276,932,924,859,932,1276,654,361,497,574,425,381,399,354,295,277,321,343,363,352,341,325,327,327,414,535,528,413,331,376,391,323,305,332,468,641,765,733,546,583,644,724,751,558,496,543,629,559,598,725,580,394,422,527,625,527,607,951,732,869,1170,812,807,1080,939,792,1258,1516,1248,1084,1066,935,605,583,821,1230,1572,1230,868,1060,1018,680,552,653,619,492,507,1062,1158,880,566,593,778,966,1044,1192,1322,1224,630,380,319,398,407,313,259,245,255,396,351,323,373,343,272,309,484,553,594,738,984,814,669,626,594,564,797,1114,978,940,1228,1302,1288,955,1134,1238,1402,1374,1284,1090,888,1300,1252,1102,1250,1182,1466,1550,886,497,1052,1078,794,757,726,923,999,661,447,344,293,330,474,700,848,763,703,742,723,1036,1072,805,545,505,900,1204,670,636,824,1066,1314,1306,1362,1758,1600,1584,1634,1766,1838,1390,949,1172,1474,1234,1070,1304,1446,1438,1264,1234,788,897,788,588,594,1094,1382,1884,2122,1476,1256,1486,1142,935,830,1136,1428,1520,1432,988,549,539,792,1272,1224,790,932,805,722,1208,1552,1442,1260,1256,1266,1316,1384,1328,1376,1340,1556,1518,1180,824,758,1126,1186,1130,1206,1196,1068,1132,1264,1414,1894,1766,2038,1874,1168,1034,1022,1186,1020,903,1206,1234,974,558,679,1042,1264,1456,1502,799,474,438,709,706,419,437,564,641,618,593,570,669,909,1058,1350,1114,656,501,465,425,385,355,400,474,561,743,927,1128,1066,929,859,669,600,595,538,495,530,721,913,1142,1152,1444,880,606,926,1154,1134,1174,1212,1168,1016,1194,1208,1240,1015,1362,1090,771,792,944,924,849,846,807,907,988,749,677,541,750,764,881,1250,1228,808,876,1316,1692,1530,767,498,532,539,484,416,466,709,1064,1132,1064,1094,833,905,1120,994,683,593,625,663,662,572,514,929,1032,789,1152,1023,1056,1274,1212,1066,1324,1064,650,613,957,995,792,726,667,631,797,1058,1350,1004,689,656,660,1172,1392,1070,1112,1198,647,460,499,937,1164,909,1104,735,427,408,470,506,455,421,404,374,484,691,865,751,713,923,902,850,863,722,1015,1106,800,878,1252,1398,1052,586,443,509,591,925,1160,1202,912,625,973,1088,1196,1206,1178,1420,1396,858,529,565,669,572,505,526,794,933,838,659,529,811,1136,1168,1192,1048,836,563,451,485,486,442,414,343,367,408,439,453,512,520,551,551,480,438,374,331,385,480,539,543,481,446,462,518,579,574,518,501,539,544,480,449,547,491,422,437,573,634,538,452,421,429,518,534,429,453,516,549,408,248,437,796,747,546,457,539,597,364,360,354,389,421,485,844,759,611,756,1218,1622,1960,1912,1462,986,752,748,845,595,429,391,597,1136,1082,846,1023,1332,1188,751,963,1192,1252,1174,1360,1692,1316,1190,1526,1528,1266,1252,1420,1178,825,777,846,802,638,792,998,749,506,854,1290,1216,990,778,975,919,909,841,764,708,670,502,327,240,245,221,266,235,238,251,181,174,188,226,210,257,325,312,298,314,325,367,429,406,391,387,354,385,557,695,651,595,505,569,908,946,981,711,440,412,482,547,557,604,583,608,499,404,458,492,564,822,1532,1372,1506,1592,1460,1190,884,828,672,912,836,445,696,830,1058,1078,1080,1382,1052,974,993,1000,1154,755,583,759,810,882,636,600,623,685,617,444,752,977,615,874,1384,1990,2536,2588,2100,1516,1384,1672,1780,1284,713,844,1268,1246,1212,1290,1230,1186,1188,1290,1112,902,1080,1114,1005,871,951,1246,870,703,738,1092,1252,1456,1442,1302,1076,1290,1418,1366,1466,1664,1562,1398,1222,1342,1472,1434,1464,1764,1558,1182,1208,1388,1514,1520,1270,1388,1194,786,822,1422,1838,1412,1242,1570,1542,1352,1234,1372,1406,1450,1038,1466,1532,1506,1550,1448,1244,823,694,758,713,727,835,713,752,966,1268,836,283,1530,1448,1338,1578,1742,1860,1976,970,519,484,425,506,1094,1000,629,527,613,465,298,295,329,338,307,350,384,411,390,363,334,319,350,347,344,359,374,334,797,1916,1354,524,285,598,851,480,248,248,277,293,223,225,166,188,211,227,218,225,235,329,561,583,401,507,749,475,307,308,327,294,506,730,798,778,573,304,415,526,465,456,631,404,374,304,404,780,865,689,679,646,495,484,400,327,217,419,641,643,594,839,924,1042,880,477,597,700,919,629,575,872,590,442,489,472,572,593,1300,1980,1166,607,707,648,643,679,806,639,727,950,864,587,476,674,885,712,727,382,247,305,903,799,571,458,437,504,612,572,508,497,688,1306,706,599,1004,1212,1136,734,395,408,466,494,463,441,411,387,321,349,375,304,273,274,253,224,258,274,282,259,225,252,247,267,287,284,357,368,291,287,313,318,279,382,717,984,1030,602,435,386,412,622,669,450,459,511,631,991,1224,1174,940,1422,1064,681,518,373,461,912,1334,1130,1504,1618,1040,1238,1548,1610,1078,1018,802,406,489,549,559,537,472,416,397,433,456,473,476,495,478,461,460,426,409,498,676,575,372,351,487,654,545,464,583,623,809,979,1002,1068,1158,1172,1026,1134,1282,1001,1138,966,991,1402,1256,639,343,378,488,582,590,496,585,590,533,459,396,619,1010,1522,1610,725,346,212,220,268,333,346,381,361,329,318,312,312,328,319,332,334,324,310,305,341,352,343,331,332,333,325,336,342,409,416,358,354,339,325,325,327,327,307,305,301,288,340,417,516,633,651,651,766,773,725,763,717,541,603,717,510,484,549,636,586,541,537,511,421,375,414,458,558,783,860,661,881,831,805,1092,1206,1346,1638,1454,1214,1118,912,953,852,576,517,402,338,330,347,302,296,320,326,548,698,846,1374,1506,1336,1106,1302,1340,1076,769,559,468,505,583,555,420,376,485,625,807,906,1214,874,1138,1312,1106,1118,1268,1606,1346,959,940,1376,1716,1294,1074,930,987,1088,983,1190,1324,1254,1360,1270,1560,1538,1194,1292,1372,1426,1322,1168,1268,1506,1416,1188,1028,727,575,560,728,1018,1304,1082,778,826,1090,1360,1178,1390,1410,1302,1528,1482,818,606,529,1011,1696,1532,1196,1194,1024,1140,1420,1062,1084,1254,1036,932,1074,1318,1096,649,557,615,877,1058,750,509,706,824,834,1188,1068,1114,1104,1078,1394,1316,740,933,1132,1136,782,949,1032,749,575,809,1136,1176,1108,1786,1982,1012,532,459,935,1126,1254,1456,1246,1122,980,821,753,764,642,342,326,310,334,412,385,336,539,770,808,736,591,486,412,423,407,354,315,283,282,281,298,626,971,684,330,280,267,282,260,266,282,276,270,272,266,285,282,280,288,281,291,402,610,578,661,680,684,636,415,301,278,276,284,297,328,333,339,405,530,512,498,488,489,403,306,313,338,331,285,329,428,648,766,548,641,560,379,557,853,1013,1070,727,450,401,397,402,399,643,729,621,698,747,980,981,967,1230,1166,1074,951,841,1054,956,613,561,891,1278,1032,718,1104,1332,959,838,602,689,636,619,621,818,1264,1162,1116,1190,979,1006,1316,1102,1350,965,1242,1376,1286,1136,1112,971,696,641,672,1218,1328,1023,908,704,983,785,960,920,1106,1130,826,1084,1288,1130,1138,1268,1082,588,580,639,582,555,560,615,634,608,849,1222,1082,600,445,647,901,1120,1224,1214,810,698,1158,1374,1210,1007,1222,1792,2056,2012,2106,1730,796,390,427,557,487,495,686,779,843,824,1088,1482,1784,1001,571,542,622,1044,1240,921,892,1156,1092,651,484,484,493,566,922,1394,1256,941,724,401,262,222,292,286,268,296,382,482,566,414,244,268,385,675,970,1062,868,569,412,484,449,364,484,612,600,594,816,985,781,598,620,679,587,389,327,325,748,983,1152,1104,675,667,752,641,696,828,1064,960,944,830,563,629,1086,1194,915,722,541,693,1050,1372,1122,1118,1216,1812,1970,2104,2348,1734,1350,1542,936,535,756,1078,1250,1102,760,475,590,594,478,560,673,979,1422,1450,1102,1210,1112,1036,1222,888,661,593,613,741,628,717,1162,1374,1278,1015,932,1076,1210,1005,832,530,439,420,365,353,677,1198,1402,1550,1578,1852,1156,1132,718,417,412,414,414,406],[481,514,597,450,444,475,514,587,567,619,1142,1768,1866,798,507,464,412,430,438,463,537,802,1350,1488,649,486,656,756,541,428,465,484,429,402,412,433,444,440,404,366,397,342,259,241,258,274,283,282,280,264,254,248,309,600,918,568,572,556,556,584,435,385,425,410,391,351,325,503,673,599,930,779,735,818,429,299,369,424,433,362,321,292,281,278,299,325,315,285,282,319,344,352,437,524,399,368,331,345,369,360,347,337,549,626,691,619,462,503,550,695,948,900,770,846,752,642,642,885,752,390,378,420,462,422,527,1106,1190,1074,1182,977,962,1110,874,729,1452,1880,1140,904,921,734,583,636,1082,1486,1294,1268,999,987,1344,730,579,647,571,464,773,1210,1324,1100,1178,1286,1346,1318,1462,1842,1722,1126,469,312,283,369,458,402,271,234,270,289,251,285,372,401,293,318,480,466,669,877,968,896,792,681,881,777,866,1184,1036,1124,1582,1498,1048,764,1190,1396,1598,1628,1356,894,754,1148,763,1036,1388,1306,1412,1208,780,503,639,755,943,1012,1132,1520,1206,1021,890,736,533,457,620,963,959,722,923,846,793,1394,1276,1054,450,311,681,646,486,487,628,952,1272,1124,1132,1626,1788,1738,1532,2112,1974,1138,1036,1522,1952,1554,940,1078,1170,1156,997,727,565,832,716,597,571,844,1050,1050,1172,1054,1132,1042,806,836,747,1182,1546,1306,1372,1224,659,598,702,1023,1198,1318,969,802,953,1184,1236,1238,1556,1858,1568,1244,1202,1148,1206,1060,1514,1416,1440,1206,960,1316,1328,1284,1444,1152,720,819,1310,1338,1468,1566,1934,1334,693,717,1090,1448,1304,1184,1434,1504,1242,516,749,1464,1550,1774,1688,919,504,456,560,561,444,472,626,591,564,604,584,611,1022,1660,1768,1068,528,449,462,442,417,343,390,459,559,949,1050,971,986,946,769,615,669,653,600,495,516,695,722,708,1138,1052,633,673,877,970,1202,1382,1498,1130,845,1306,1048,902,1160,1376,1110,825,789,836,849,913,994,981,814,955,805,618,588,792,1166,901,861,1506,1484,1156,1308,1678,1250,544,473,487,529,477,458,547,618,870,1116,1200,1190,1334,1388,1678,1136,547,475,509,516,568,639,692,959,1296,692,875,959,1210,1446,1450,1274,1360,1064,623,530,705,829,647,603,733,883,1084,1144,1306,1190,959,1002,1148,1366,1438,1348,1300,1212,613,566,664,999,979,841,1134,951,637,709,797,896,861,758,894,923,965,1034,955,819,761,905,1026,1026,903,854,896,849,775,924,1012,626,397,407,450,488,538,712,1108,1568,1015,560,1456,1702,1244,863,1158,1502,1324,849,593,644,637,524,454,677,977,1110,972,698,575,841,1162,927,805,1044,1166,1030,689,523,438,392,410,401,427,411,396,394,432,523,607,562,463,391,412,455,465,461,422,441,474,466,429,427,446,456,518,593,554,482,521,545,505,426,403,473,613,610,551,477,502,498,547,572,477,445,489,426,327,232,447,739,697,589,504,727,543,406,403,317,311,299,578,851,799,761,995,1478,1600,1766,2084,2068,1722,1318,857,702,669,618,475,473,679,876,932,1074,1462,1286,839,1023,1150,1364,1318,1230,1372,1482,1572,1764,1638,1308,1210,1348,1184,813,531,489,444,475,937,1226,802,445,667,1254,1298,1086,802,606,330,412,534,603,819,900,505,380,260,230,199,263,174,183,230,206,224,225,220,224,205,240,280,288,310,350,381,386,377,364,377,406,359,387,449,675,969,966,727,868,783,1054,827,521,601,776,641,486,540,657,758,673,677,513,558,527,830,1015,979,1248,1294,1168,966,1110,1236,935,725,497,450,838,989,1206,1274,1190,1404,1246,788,1174,1258,1044,724,1132,1310,1256,1046,725,723,658,685,619,444,766,852,697,1124,1530,2448,2762,2788,2286,1444,1344,1798,1882,1408,709,772,1210,964,959,1032,908,774,855,987,823,831,1072,1156,1078,851,999,1332,784,669,686,900,1148,1316,1280,1208,1162,1246,1494,2026,1892,1864,1648,1528,1482,1840,1694,1356,1072,1072,1288,1348,1268,1414,1446,1482,1382,1508,1426,1036,1038,1376,1648,1512,1752,2592,2218,1360,978,1148,852,821,1272,1422,1234,1782,1926,1476,1272,985,575,545,500,604,664,637,792,1052,1066,712,590,469,543,1068,1488,1716,1748,2142,1158,469,413,375,514,880,1126,1094,563,451,337,294,315,337,279,296,364,356,349,354,341,346,345,335,341,372,413,390,265,589,1146,972,661,393,536,923,554,255,236,247,276,202,194,230,212,209,217,209,221,225,328,698,868,857,937,1294,854,612,617,661,729,694,681,527,390,375,418,748,917,631,416,380,375,360,299,328,602,850,774,534,393,466,401,254,266,307,527,514,515,540,505,616,794,597,361,475,1184,1238,653,752,836,648,641,536,553,466,392,952,1556,990,653,534,702,765,959,994,618,527,864,689,473,524,872,869,683,455,287,300,252,806,984,602,538,568,484,463,451,561,660,769,1350,807,599,918,1134,1204,817,451,456,458,480,481,473,409,405,364,346,364,343,325,302,268,284,367,340,307,298,267,271,258,242,253,332,488,477,324,322,354,337,353,357,360,442,687,775,864,749,584,739,870,544,639,399,390,464,655,730,784,1034,911,849,677,549,500,778,962,642,760,810,655,1312,1974,1656,1007,1094,819,457,615,522,375,525,424,428,446,457,438,440,445,433,427,415,432,476,485,501,485,415,334,378,634,827,563,572,905,754,870,1068,1023,799,879,1192,1322,1324,905,767,977,802,743,745,561,377,334,422,480,531,546,550,599,637,743,561,376,594,1158,1710,1716,676,247,272,283,298,300,316,350,368,332,323,315,345,343,328,361,336,300,320,306,312,322,322,314,317,315,342,334,318,353,349,316,316,319,314,321,339,348,363,342,323,361,354,377,557,697,771,711,605,556,548,554,463,348,381,525,479,463,505,492,497,506,498,415,350,405,514,509,416,517,651,523,621,613,663,1142,1304,1298,1516,1286,963,836,776,1118,1216,854,703,462,348,350,343,323,316,308,361,464,477,927,1628,2418,1838,1212,1154,1056,749,561,513,491,525,573,531,396,375,534,731,831,1130,1224,1016,1100,1046,1054,1582,1510,1264,807,588,670,1510,1884,1482,1036,694,735,813,813,1354,1434,1362,1290,1568,1684,1198,1504,1642,1678,1582,1344,1172,1168,1528,1212,1108,999,593,568,639,661,920,1316,1466,1498,1258,1422,2030,1206,1130,1082,1592,2088,1544,780,683,590,807,1456,1410,1148,1212,1222,771,1350,1300,1286,924,509,831,1026,835,575,490,549,717,991,962,724,443,412,670,1102,1122,785,799,987,1260,1722,1480,955,1106,1406,1520,997,956,1394,1076,783,1332,1996,1980,1454,1144,744,521,630,470,1050,933,1236,1810,1760,1246,951,634,702,1004,761,391,390,454,478,491,400,334,605,769,547,458,381,394,354,366,362,328,309,295,290,286,278,372,464,392,295,271,280,278,269,267,277,269,269,285,298,300,264,255,276,285,369,652,836,543,495,580,643,482,284,271,268,254,245,261,283,291,275,275,335,378,451,481,522,511,448,470,479,365,338,396,393,681,694,499,458,588,699,665,469,476,626,661,422,392,399,435,543,871,869,748,656,562,923,1470,1460,1218,1048,1250,1142,1098,965,959,1050,1042,1112,1316,1414,1400,1396,1320,1262,1086,1126,1090,1138,1268,1398,1416,1326,1164,1252,1318,1262,1462,1576,1406,1462,846,675,732,697,649,855,952,1018,1188,893,1266,1007,596,556,780,783,455,666,620,608,908,1180,1376,1054,697,778,472,339,480,1052,1062,660,562,525,532,462,396,614,949,880,533,544,691,858,1020,1120,1042,1066,826,583,913,1242,1310,1528,1620,1788,2156,2734,2382,1256,532,466,733,796,728,647,675,525,794,1178,1682,1798,1194,852,742,774,1288,1410,1200,993,1136,1336,839,465,378,350,309,395,512,343,238,242,257,289,319,423,593,639,573,653,770,857,689,354,242,321,673,955,891,712,619,601,835,646,484,524,492,457,450,585,842,785,537,559,784,678,452,413,335,442,1012,1484,1023,462,721,994,883,822,1210,1096,1072,1154,937,797,1108,1636,1328,820,630,442,614,714,1172,1392,1666,1998,2360,1792,1600,1922,1744,1682,1620,929,537,651,1026,1556,1642,1184,787,977,789,414,456,536,694,866,1102,1162,1152,1186,1180,1032,698,590,547,394,393,333,590,1144,1274,1030,734,811,1032,1142,1058,675,488,473,437,457,755,1082,1628,1782,1504,1376,1470,1030,840,671,473,388,394,417,375],[410,423,387,411,566,634,651,771,995,1416,1912,2288,1632,827,698,599,475,484,586,708,725,689,904,1354,843,868,936,662,496,503,440,394,417,511,697,731,617,539,428,460,418,298,249,247,265,274,271,271,279,290,306,302,322,659,911,636,564,568,584,601,514,387,366,409,376,310,330,343,354,457,633,451,427,408,344,336,309,332,377,352,344,332,302,292,279,274,270,288,319,326,349,403,465,550,477,449,377,371,366,364,352,358,452,562,691,524,445,445,514,536,606,800,1078,1494,1318,1194,881,587,518,406,371,328,360,591,615,991,1108,821,973,1190,1286,1168,974,783,1186,1320,746,865,709,583,677,738,1242,1460,1182,1378,1364,1184,1484,890,561,573,508,498,1028,1310,1228,1094,1166,1007,1246,1564,1758,1886,1554,769,374,267,307,372,451,457,379,260,282,291,249,259,320,409,343,316,552,769,1072,1190,1064,1212,1050,792,997,720,612,816,1088,1198,1126,1160,787,496,849,1322,1622,1628,1214,619,832,1128,809,927,954,1094,1154,929,731,615,592,585,633,981,1446,1122,883,984,1040,1108,1148,918,716,836,816,634,861,645,687,1378,1026,585,500,455,406,330,300,353,695,1466,1600,1084,1310,1284,1520,1210,1014,1470,1308,1104,1466,1602,1430,1356,1046,694,674,750,710,611,562,729,713,621,472,456,598,670,929,1084,919,625,602,713,749,909,1018,898,1222,1260,1088,1260,843,847,875,1008,629,713,1098,1156,889,838,1460,1918,1654,1170,1106,1232,1112,902,1248,1232,1400,1262,1318,1416,1154,1152,1418,1338,1054,752,755,996,1102,1164,1056,702,518,692,960,1120,1140,1316,1550,1498,1248,733,767,1266,1118,830,784,755,537,490,561,561,499,490,546,548,551,602,601,616,1038,1616,1498,962,447,442,446,445,515,464,471,617,730,1032,1136,1068,1060,872,647,666,887,933,648,524,578,1038,1298,1320,1176,786,594,464,542,607,783,738,682,614,597,849,768,792,951,901,810,868,888,1015,960,729,584,500,522,822,1046,1080,777,724,995,861,806,1446,1770,1344,1192,1292,1146,678,430,400,365,386,446,440,572,1054,1326,1336,1200,1448,1440,1612,1128,602,483,415,452,644,818,936,846,1130,825,964,1158,1260,1316,1326,1332,1408,1284,971,910,1032,1062,672,450,628,1322,1286,1068,1316,1306,1426,1880,1886,1754,1448,1396,1270,939,625,780,857,1008,1158,1208,1268,1074,755,774,713,806,933,995,1200,1096,974,691,517,592,574,538,461,432,495,496,600,626,484,891,897,528,482,492,468,441,476,573,701,1006,780,620,1066,1026,641,603,1212,1444,1042,811,875,1058,772,527,621,1007,1058,1114,903,793,622,1034,1434,959,979,756,829,1106,1172,874,563,388,412,485,516,497,458,386,405,486,580,484,379,333,395,463,570,560,446,409,449,512,495,453,425,415,441,616,588,479,506,504,362,280,262,394,678,566,527,486,566,547,610,641,574,520,430,340,276,299,401,383,407,375,555,610,374,656,725,471,344,324,594,1028,1144,1236,1096,944,1374,1384,1546,1944,2098,1820,1432,946,732,896,706,458,505,616,805,1202,968,1054,916,897,1112,1384,1476,1334,1042,1350,1472,1028,781,814,744,734,634,439,365,457,437,401,677,1110,996,816,678,1162,1378,1248,993,492,252,355,424,404,595,813,452,398,292,245,208,248,204,204,219,193,219,213,250,337,268,203,253,320,315,408,434,395,382,393,393,376,334,345,476,1013,1240,1224,855,678,466,409,415,697,1110,960,855,991,1180,803,533,637,771,530,360,371,697,822,698,741,1068,876,950,1412,1064,1058,1564,1288,983,960,736,822,1242,1550,1098,814,705,981,1278,772,648,1206,1726,1368,805,719,612,579,723,492,532,1104,846,759,1230,1924,2624,2764,2770,2312,1444,1298,1786,1738,1440,758,676,1156,1432,1514,1372,1024,961,1132,1056,971,1019,1130,1226,1226,1210,1266,1170,807,764,952,1200,1208,1216,1378,1422,1332,1460,1572,1670,1546,1432,1538,1720,1736,1572,1368,960,760,789,1140,1248,1114,1376,1508,1282,1172,1350,1320,1222,1258,1254,1586,1724,1518,1650,1424,1004,1014,1118,971,1104,1572,1406,1036,1324,1350,1222,1006,684,515,492,461,706,1015,775,818,1286,1154,835,795,685,801,850,1350,1534,1694,1944,1100,401,433,349,433,794,1104,1450,766,497,438,332,333,321,283,314,346,335,360,363,349,327,349,346,350,439,524,521,439,619,968,1062,807,481,389,555,304,210,222,232,224,194,194,215,221,220,188,195,205,226,266,404,400,533,689,756,849,1120,1090,771,817,833,742,593,441,535,1288,1560,1292,1140,767,321,334,362,390,323,384,484,456,382,374,419,362,268,341,547,569,554,554,540,524,543,512,403,426,490,1224,888,339,665,818,874,810,653,540,419,355,606,1090,1386,885,460,462,758,830,709,632,476,598,796,668,542,630,628,551,533,522,556,434,679,1158,778,538,473,424,429,463,493,462,751,1226,899,591,803,1028,1158,771,466,473,448,460,412,376,353,393,409,393,391,373,367,325,339,369,388,376,339,320,319,320,310,296,291,311,383,399,341,358,385,354,343,337,390,381,581,1214,1626,1282,856,843,977,639,805,542,613,842,654,570,782,904,980,940,970,915,768,841,956,632,610,692,565,895,1564,1430,1088,1068,518,926,987,706,772,973,741,578,471,491,472,449,440,426,363,361,449,466,786,821,627,472,369,443,694,738,571,891,1034,753,904,819,612,777,926,1176,1154,1074,899,931,1038,961,799,849,603,326,446,465,438,503,529,708,815,877,913,664,452,448,835,1374,1246,519,290,316,324,318,330,329,310,326,335,335,344,382,393,342,339,319,294,302,300,296,306,303,320,374,418,372,334,316,321,321,316,317,316,306,311,337,382,464,444,419,417,389,398,570,730,774,604,415,383,350,307,320,363,389,457,452,455,501,499,486,471,439,385,405,547,586,420,376,402,429,462,459,499,712,1404,1660,1260,1214,896,894,834,589,865,1250,912,540,437,378,340,328,336,357,349,401,508,495,1058,1840,2490,1934,1368,1078,765,561,565,557,518,464,467,449,394,372,437,568,808,1132,1132,1280,1584,1450,1090,1246,1226,1019,824,655,612,1100,1296,940,648,518,534,694,1052,1442,1372,1312,1126,1400,1532,1110,1130,1492,1620,1504,1126,1005,940,757,555,767,1182,972,626,683,763,870,993,1198,1516,1390,1106,1166,905,952,1230,2134,2464,1638,764,626,595,627,796,734,771,761,944,1062,1434,1230,1212,1062,681,1030,1418,1470,779,532,505,619,1074,1316,1001,785,932,1012,1118,1190,545,534,818,918,803,810,1124,1006,1242,1158,814,995,1624,1642,1216,1504,1656,1314,1170,711,379,364,410,411,827,1046,1040,1390,1488,912,737,750,739,912,579,478,500,495,622,856,798,530,456,540,450,368,389,378,334,292,301,300,289,269,263,278,278,286,304,302,310,290,286,283,289,285,285,259,269,302,301,280,272,277,269,294,506,744,784,477,320,321,340,311,262,260,240,247,260,255,239,271,300,276,266,294,386,469,493,525,532,587,601,448,528,489,352,440,487,456,368,426,604,527,346,314,457,789,519,365,341,392,484,569,711,872,705,390,440,618,876,1216,1542,1770,1896,1198,558,617,547,537,709,1086,1278,1116,1140,972,1216,892,995,1244,1166,1178,1120,1332,1346,711,701,792,912,1356,1362,915,655,561,842,1482,1420,742,615,663,502,648,982,1068,872,656,825,1166,1022,775,869,672,614,752,1250,1054,601,683,1388,1006,821,1038,1354,1250,991,843,592,639,516,362,664,901,1018,1098,1110,919,796,865,886,1144,1460,1096,619,684,1164,1434,1466,1546,1488,2060,2448,1878,1158,810,544,966,1112,943,769,783,722,788,1118,1442,1610,1464,1208,909,768,1196,1394,1204,698,755,702,485,335,319,332,395,508,404,490,477,379,346,328,382,675,858,846,785,727,716,782,665,283,238,215,389,595,609,516,528,508,589,594,561,557,437,313,307,333,454,644,699,698,644,506,454,462,488,684,819,541,396,664,1354,1428,1292,1066,861,960,1754,1490,754,642,679,1186,1344,910,562,582,936,843,866,1202,1544,1800,1914,1574,1144,1268,1728,1560,1274,1202,1000,987,1232,1352,1478,1538,1400,1248,907,397,370,391,467,612,821,1052,1122,1016,926,906,639,580,528,338,298,288,383,729,912,1094,1138,1372,1434,1486,1310,827,700,615,591,614,1086,1286,1526,1234,923,1188,1328,1003,763,611,488,389,372,385,419],[423,468,459,542,784,874,864,812,875,1404,1876,1852,1122,755,722,562,418,422,539,747,850,1004,1048,1184,1202,1420,1356,793,429,441,414,446,454,556,774,725,656,614,558,585,450,310,256,262,267,268,267,270,282,284,295,319,357,560,611,575,532,513,538,509,441,323,331,383,289,310,357,301,297,278,276,292,283,302,328,319,314,317,336,316,308,298,279,264,269,275,284,315,341,309,305,309,311,368,413,403,417,430,370,412,462,480,521,614,753,529,526,524,514,526,449,465,670,931,1250,1364,855,493,374,350,310,383,499,745,747,721,664,824,1180,1406,1280,728,781,885,1310,1498,1146,835,678,1038,1266,1090,1064,1132,951,984,1236,1352,1520,1130,617,473,406,684,951,923,967,1096,989,1202,1452,1506,1522,1562,1266,941,755,650,506,514,424,384,451,277,308,303,223,289,340,387,409,389,803,1322,1254,926,733,656,566,656,742,786,749,1048,1360,1534,1324,996,827,587,1023,1484,1778,1732,1106,639,941,1290,950,996,1072,855,909,1050,1110,890,755,585,408,1005,1182,621,932,1224,979,1136,1628,1394,1032,952,971,832,928,693,513,826,921,1020,983,628,402,319,300,389,1078,1864,1448,1120,1504,1366,1470,1614,1598,1282,1144,1172,1130,1610,1282,1030,723,478,479,541,987,1146,808,686,634,612,494,506,550,572,824,860,508,433,463,571,696,794,941,994,1464,1032,1320,1708,1506,1676,1008,776,913,1184,1458,1266,933,1102,1760,1620,1056,642,725,1034,901,1128,1250,1264,1480,1438,1470,1188,1192,1072,1262,1378,1186,816,733,946,1084,967,903,890,935,1114,1300,1332,1436,1362,1296,1332,1466,1160,942,1190,1396,1168,784,817,543,518,476,433,446,512,535,553,560,611,591,531,794,888,723,837,509,407,413,428,476,456,490,620,763,952,1124,1168,1176,897,565,495,611,655,586,558,623,976,1466,1588,1004,651,666,627,711,919,912,775,690,757,840,730,528,426,465,471,512,561,938,1260,1404,1144,564,455,551,717,1344,1532,883,713,1036,903,599,1074,1448,944,949,1272,1272,859,485,390,344,419,500,523,619,799,1018,1100,1176,1354,1342,1232,1054,638,415,411,471,658,824,912,708,955,1174,1264,1426,1234,1014,1048,1148,1286,1184,835,1250,1372,1158,772,546,631,1136,996,861,1222,1136,1276,1832,1708,1570,1168,1021,1116,1192,1094,1056,1208,1262,1284,1510,1300,860,539,448,401,658,886,833,916,984,825,520,432,569,505,436,455,512,506,372,533,769,758,1090,915,515,540,509,437,613,811,946,630,631,922,1220,1186,804,502,818,1344,1128,1064,1456,1094,1324,1092,1068,1278,1128,1378,1506,1120,764,893,1462,1340,1434,1366,762,730,999,1046,1112,1066,765,545,575,639,748,647,476,439,480,514,471,436,543,888,1158,1080,670,427,458,570,535,412,417,343,358,376,554,585,469,437,434,299,231,247,345,487,504,498,448,600,572,609,600,620,595,350,302,314,480,626,627,527,486,664,420,286,674,890,568,361,332,394,604,1010,1214,980,1508,1776,1446,1302,1858,2216,2110,2030,1586,1070,883,811,526,499,550,1019,890,428,562,856,951,826,1244,1246,919,581,858,785,722,807,622,648,731,550,523,440,473,561,634,564,910,1130,1212,881,1030,1278,1232,1100,682,329,347,334,342,437,772,513,375,300,256,213,239,239,239,261,235,236,216,270,352,359,322,319,328,327,374,400,355,356,442,409,363,329,315,353,515,397,653,714,603,688,677,417,811,1322,1000,1268,1192,1030,794,729,808,835,482,252,378,510,497,609,705,963,991,1184,1024,1028,1518,1438,933,1144,1078,750,922,1088,1482,1078,1072,1094,1019,985,645,954,1270,1430,1212,716,529,479,487,587,536,643,1152,894,1066,1368,2172,2636,2642,2700,2322,1582,1346,1766,1750,1562,869,600,880,1284,1530,1370,1212,1422,1084,901,844,857,1230,1850,1554,1134,976,896,772,738,1028,1284,1248,1306,1538,1410,1478,1596,1640,1588,1542,1532,1450,1584,1450,1144,1192,958,964,889,982,1108,1110,1336,1426,1200,1270,1372,1242,1224,1404,1282,1488,1562,1390,1076,916,667,969,969,565,790,1426,1206,1032,1498,1310,882,723,539,463,474,529,933,1334,1015,1036,1360,879,753,811,771,1462,1064,823,1202,1566,1676,1058,441,585,554,530,999,1152,1248,760,585,549,365,283,274,271,287,316,337,340,348,340,332,350,374,478,625,595,537,607,720,1005,1068,796,499,357,337,258,211,234,228,224,232,224,219,206,211,212,207,198,217,283,358,568,1174,1172,631,841,1580,1776,722,669,945,872,752,550,661,1466,1754,1340,1206,803,330,319,376,401,398,361,247,223,420,603,541,372,294,550,684,547,628,600,558,600,633,542,573,422,488,759,490,448,734,615,645,833,1142,649,396,345,946,1658,1562,795,487,313,399,642,597,556,651,651,1136,712,415,538,529,501,614,602,576,434,595,1256,1220,1011,1060,846,664,545,464,371,634,1112,845,599,886,1202,1230,741,437,433,401,424,397,366,368,414,449,463,427,375,357,342,329,349,376,411,441,411,367,379,334,314,314,316,285,320,346,350,363,359,375,406,446,439,453,618,870,846,659,718,628,528,562,488,600,693,581,647,845,875,855,1188,1140,1032,1136,1174,1160,728,783,921,487,437,798,979,1170,931,517,1266,1440,977,1134,1538,1446,927,579,572,528,484,429,489,392,372,501,1088,1556,1480,1300,822,482,563,849,835,714,629,569,592,657,677,598,670,1018,1058,749,633,744,1122,1188,1048,839,1026,824,466,423,395,363,434,485,518,785,954,685,390,373,378,451,588,533,414,343,316,318,351,366,362,332,299,344,368,398,625,622,418,338,319,293,294,302,312,323,293,316,354,404,402,378,352,324,318,312,321,322,322,335,368,442,507,471,444,440,428,438,548,677,676,536,381,356,421,500,455,385,368,423,505,515,528,582,525,474,461,448,474,690,709,520,543,473,441,461,437,464,708,1166,1230,1072,847,605,833,733,699,754,885,716,514,519,477,354,369,447,440,358,344,379,358,758,1554,1750,1498,1460,1340,959,494,409,459,508,462,448,463,417,374,406,464,819,1138,1048,1608,1914,1576,1318,1138,1376,1680,1406,818,479,675,830,675,523,571,683,684,1130,1448,1270,1118,1104,1136,1284,1276,1216,1182,1180,1120,847,1230,1298,607,378,559,1242,1184,662,576,698,829,837,1009,1158,1352,1021,650,482,536,1012,1406,1462,1318,949,674,761,707,955,576,383,512,1088,1310,1212,1158,1088,916,787,1044,1254,1280,653,530,735,1017,1260,1192,1220,1298,1462,1454,1482,1420,558,484,648,561,404,827,1086,833,665,702,1122,1448,1670,1808,1678,2256,1562,758,930,898,563,350,339,400,578,737,995,1015,701,550,641,533,466,491,400,397,399,356,526,874,961,846,408,328,367,389,381,373,330,293,307,292,283,274,264,274,296,295,295,303,314,304,280,273,277,292,279,252,284,300,284,263,259,262,263,290,398,592,552,328,265,263,271,262,278,245,250,253,247,253,267,275,279,277,260,277,383,484,515,519,484,480,455,482,677,646,473,487,498,384,320,404,401,394,398,360,363,446,421,380,382,409,402,399,456,575,547,440,532,838,759,1156,1600,1730,1766,1112,558,574,539,517,551,1088,1664,1188,955,728,816,844,1384,1854,1236,1086,1440,2154,1700,1126,1574,1632,1400,1338,1450,1234,767,609,927,1412,1292,722,547,631,536,598,1090,1122,896,1230,1454,1186,984,1100,918,550,501,471,880,740,899,1470,1932,1644,1252,1058,1216,1502,1023,593,434,480,379,389,764,998,1208,1364,1472,1078,572,790,1146,1100,1084,770,432,566,995,1230,1336,1372,1436,1724,1628,926,536,755,614,769,1032,1148,980,882,1018,1102,1222,1432,1658,1456,1050,751,644,660,839,725,366,435,436,363,347,373,378,628,1013,816,768,625,417,360,430,434,610,797,809,755,625,595,652,508,235,213,208,280,447,631,610,420,386,457,435,547,607,456,363,409,360,347,433,626,675,565,449,481,500,630,888,1050,787,648,1056,1228,1150,1054,742,573,1010,1636,1366,571,480,368,690,1236,1140,839,718,811,1064,1034,996,1334,1388,1172,1006,1200,1634,1576,1078,1306,1354,1266,1224,1226,1316,1372,1352,1674,2106,1292,446,365,384,376,427,604,739,907,996,1021,901,638,603,442,346,320,320,315,356,583,1324,1730,1584,1348,1322,1186,685,809,920,792,680,789,1074,1410,1396,1278,1310,1180,844,705,601,601,474,393,365,411],[365,397,456,562,729,797,841,1026,876,1042,1098,819,656,670,648,519,355,406,445,480,1068,1318,868,659,810,1092,1160,730,435,413,422,424,505,581,722,662,741,711,579,566,506,377,290,281,336,318,322,296,276,272,263,271,256,299,305,284,310,322,366,359,358,319,343,393,324,363,358,311,323,304,287,294,282,296,316,353,360,350,326,304,302,292,288,299,313,328,325,294,318,305,301,301,305,309,303,324,328,328,347,380,373,419,464,572,633,612,653,658,787,800,526,410,418,547,849,838,481,415,351,334,317,381,496,488,658,1134,1184,857,1224,1432,1092,593,959,1622,1998,1550,1356,1082,1300,1820,1516,1416,1454,1242,1312,1222,986,1156,1090,930,817,523,625,1430,1594,1158,1120,966,810,1048,1178,1114,1400,1580,1436,1146,1172,1340,1070,1136,915,689,504,336,288,270,231,319,365,413,419,529,1336,1940,1340,939,667,591,527,625,871,1216,1122,1184,1428,1832,1606,1252,1186,833,1424,1510,1494,1568,1098,859,1416,1638,1260,1360,1242,825,838,758,1124,1198,792,641,395,554,777,846,1028,1098,822,719,1030,1096,961,1060,1164,1248,1050,763,750,946,1188,1442,1278,628,551,538,422,656,1590,1628,1178,1170,1190,1238,1232,1552,1592,1126,1130,990,644,1000,1276,1372,1160,974,698,530,1074,1732,1444,797,649,586,587,703,760,703,735,714,621,618,615,637,675,678,832,1440,1356,990,1252,1290,1642,1770,1102,882,1088,1222,1414,1136,1090,1264,1808,1440,1122,702,529,752,1006,1258,1328,1496,1612,1424,1378,1290,1250,1224,1172,1242,1236,1210,1162,1156,1170,1066,1206,1648,1782,1620,1638,1674,1540,1296,1384,1306,1172,1180,1208,1672,1824,1390,645,637,509,460,464,490,466,496,506,449,405,476,517,511,536,520,561,928,671,465,384,432,449,436,473,547,731,990,1104,1066,906,606,454,392,385,464,490,500,538,590,813,1058,854,814,921,929,970,1092,796,525,430,556,797,821,589,396,371,408,471,426,706,998,1212,875,459,528,540,635,1108,1254,828,719,686,702,666,977,1226,792,807,1300,1364,1058,738,539,383,491,514,478,419,365,686,978,1026,1284,1434,1270,1366,1150,631,496,493,756,802,724,586,1200,1538,1338,1402,1386,1208,1218,1220,1030,999,752,881,915,896,971,1128,1116,994,869,865,1180,1218,1230,1290,1066,1166,1186,1340,1342,1144,965,976,1013,1023,1158,1282,1222,879,445,386,450,580,879,1008,1038,1172,996,628,379,492,477,422,388,454,502,370,271,294,534,869,869,452,435,419,354,440,888,1128,630,511,939,1666,1914,1580,1278,962,944,697,865,1416,1298,1170,1358,1292,1186,1284,1374,1318,1158,1146,1436,1302,909,1110,962,738,955,955,660,842,1298,1236,1028,697,770,948,795,778,659,538,515,546,702,1011,1346,1624,1528,875,521,473,415,396,356,433,487,422,500,547,414,439,358,288,281,252,257,300,497,541,453,480,575,549,502,525,617,530,329,281,349,574,702,727,632,774,686,425,371,419,441,326,369,340,394,507,1001,1140,1266,1662,1828,1650,1484,2030,2438,1892,2052,2084,1840,1520,1244,749,553,903,950,485,377,408,590,992,819,916,1118,653,390,545,649,578,461,383,648,1074,849,784,536,315,411,609,675,1042,1226,1238,932,880,1152,1240,1214,881,518,444,506,594,445,742,681,423,339,271,228,241,253,265,245,206,229,218,229,298,361,346,394,388,310,425,591,518,445,487,428,325,306,518,462,377,372,535,800,905,1112,1136,722,619,829,662,886,748,724,902,1248,1318,870,405,361,362,351,338,560,719,756,961,1184,1394,1482,1246,668,509,815,871,1078,1102,1016,735,835,946,1144,1328,915,646,1130,1360,1440,1200,892,550,621,639,684,840,1194,1134,813,965,1354,2030,2294,2416,2366,1976,1432,1466,1854,1892,1626,942,525,645,1054,1438,1246,1144,1522,1112,919,827,791,1248,2486,1792,842,927,922,739,662,842,1082,1346,1394,1712,1498,1402,1606,1648,1514,1472,1528,1578,1604,1442,1306,1316,1318,1430,1080,1026,1208,1230,1362,1232,1128,1432,1322,1606,1442,1400,1424,1548,1460,1658,1576,921,436,579,503,354,777,1522,890,781,1102,904,625,536,507,486,447,397,657,1136,1172,1420,1418,688,1072,1086,971,1390,1210,705,709,1312,1584,1026,506,587,589,518,837,1120,930,686,820,671,331,272,240,254,282,304,341,353,326,327,364,404,475,659,797,643,522,675,692,876,1134,1116,673,448,516,427,277,282,230,224,243,221,208,195,221,222,197,194,234,292,315,484,906,890,513,683,1098,1650,1386,1007,924,865,754,608,497,1150,1696,1088,763,482,268,293,319,440,454,443,340,304,406,476,484,458,454,587,340,506,651,675,700,760,763,577,508,623,871,878,848,880,922,760,622,981,1162,529,290,355,498,1094,1212,672,613,426,339,519,550,609,727,616,723,465,368,397,326,306,370,425,390,320,476,1136,1430,1322,1350,1310,1084,875,660,421,756,1240,719,671,897,1086,1156,739,419,399,410,395,397,365,387,433,466,525,462,402,391,360,335,384,422,446,487,459,434,449,372,334,326,320,300,306,332,339,352,371,379,416,455,369,362,372,366,363,388,628,594,379,467,528,437,396,469,715,735,617,1134,1532,1272,1222,1198,1152,1056,1048,1172,1070,586,483,943,1072,1180,631,600,1292,1312,856,974,1246,1142,805,885,1024,1036,979,751,550,510,651,942,1278,1410,1748,1382,723,621,707,1104,1212,1034,781,558,497,583,639,684,860,971,879,1038,879,796,1002,1380,1244,1064,771,527,431,361,357,372,367,405,490,813,748,462,368,380,396,366,403,468,385,305,309,318,403,410,336,360,320,335,428,517,617,572,433,361,343,314,302,307,309,297,304,306,395,430,426,420,369,324,322,311,312,339,347,361,368,418,445,398,393,444,444,427,514,532,529,484,442,506,689,755,544,435,368,375,525,550,550,582,549,511,491,501,461,515,530,441,425,386,383,417,473,497,671,699,879,1176,847,551,594,655,682,562,517,533,518,513,497,342,363,448,355,318,310,314,404,906,1418,1490,1378,1522,1260,863,497,396,379,437,455,471,482,442,373,437,512,900,1074,1284,1368,1854,1522,1376,1144,1009,1182,1150,882,565,721,951,938,683,573,678,617,880,1204,1166,1248,1300,1136,1106,1312,1732,1404,1290,874,753,1312,1110,707,669,776,988,770,590,480,522,788,937,1028,986,1276,1222,808,429,509,660,830,1112,1366,1292,1048,1152,1054,1204,670,347,470,865,910,1066,1418,1144,931,655,669,802,663,683,900,1005,1096,1078,1010,1322,1364,1476,1348,1658,1080,568,576,771,620,375,900,1450,1386,1080,987,1344,1466,1304,1302,1730,2280,1664,1001,1016,1172,885,416,471,828,1236,884,807,803,573,383,485,460,376,343,372,386,372,344,412,450,420,492,360,289,402,505,470,436,367,274,277,263,253,289,384,437,366,310,321,312,316,307,271,266,280,277,263,272,264,258,260,262,253,260,262,275,287,299,283,272,268,261,260,260,272,251,252,253,250,276,288,268,273,277,268,288,346,429,512,517,512,544,541,495,496,440,388,447,396,342,255,330,400,382,416,448,438,427,436,446,416,384,400,462,553,520,516,567,630,1040,1238,1184,897,783,818,629,536,554,525,446,635,1318,1602,1080,920,852,1072,1390,1662,2082,1294,1094,1344,1842,1066,630,778,967,1216,1236,1144,972,811,767,646,709,844,566,611,644,571,691,1008,879,692,1030,1240,875,527,617,521,340,369,360,508,957,1636,1832,1296,738,613,796,1000,1206,789,339,271,314,300,404,545,1124,1714,1468,1154,1076,548,561,1034,1080,789,491,449,480,641,924,1182,1242,1284,1230,708,466,457,648,727,1015,1268,1156,988,1524,2024,1460,1206,1134,1072,854,551,454,416,378,393,373,384,374,340,413,374,400,428,744,898,635,430,351,369,305,331,389,469,637,700,661,650,883,1076,904,447,255,285,290,395,611,547,296,283,297,324,515,558,423,349,385,369,354,386,402,408,460,613,717,585,702,856,997,1126,892,938,1172,1176,665,441,504,487,753,872,465,463,495,622,973,1110,839,639,913,1392,1328,998,1360,1832,1592,1486,1560,1484,1012,857,1156,1242,1224,1288,1382,1294,1166,1282,1460,1790,1164,521,379,379,355,361,449,497,536,678,839,857,690,767,527,367,309,296,290,284,450,768,960,1104,1350,1402,1300,954,1102,1468,1140,938,758,930,1484,1614,1368,1134,806,563,499,513,558,469,360,313,339],[341,347,441,494,615,788,1036,1246,1004,796,544,419,481,620,542,504,415,512,468,388,1098,951,400,376,459,563,595,444,408,386,375,380,373,821,1300,1156,1294,1226,735,756,636,339,267,265,345,296,265,248,251,272,265,248,233,245,267,296,307,267,292,307,319,339,370,390,411,393,314,291,309,289,265,281,272,293,320,350,347,326,313,336,343,305,310,320,323,323,337,296,299,300,305,302,283,287,300,308,344,376,361,341,338,338,320,371,484,521,467,505,750,781,589,491,508,542,521,500,399,383,392,370,339,341,409,484,786,1458,1534,775,847,989,909,782,1128,1698,2012,2014,1928,1454,1398,1378,1114,1126,1142,1508,1708,1128,783,749,849,1306,1482,971,1056,1526,1362,1122,913,581,922,1300,1488,1440,1656,1582,1192,971,1544,1664,1396,1534,1190,904,1050,833,588,425,321,407,455,476,454,766,1790,2062,1426,957,593,529,598,692,659,752,1148,1346,1226,1696,1212,1042,1154,1180,1684,1534,1480,1512,1212,1268,1558,1314,1640,1660,883,753,939,541,1042,921,805,977,663,454,606,695,816,1009,875,679,750,938,934,1021,1038,1224,1460,1264,1072,1248,1586,1674,1448,896,814,839,686,1216,1720,1372,1406,1410,1106,1178,1238,984,722,1240,1310,776,825,952,1188,1220,1302,1294,1050,932,1108,1786,1604,1444,1152,644,585,711,777,784,769,747,681,624,663,628,589,592,849,1426,1360,1686,1350,1062,1296,1188,1312,1468,1024,781,1032,1088,1276,1242,1176,1262,1310,879,813,1236,1368,1344,1376,1304,1114,984,1410,1262,1190,1254,1094,1262,1344,965,924,1210,1256,1052,1370,1848,1870,1694,1534,1776,1592,1324,1206,885,1001,1312,1326,1632,1222,645,502,530,549,574,520,502,469,367,340,303,280,412,490,522,554,602,626,730,764,681,642,583,444,399,353,353,413,495,529,528,421,407,453,431,386,380,404,434,413,413,473,861,1064,832,628,642,1306,1292,550,436,435,448,874,1568,1322,577,441,691,996,684,522,806,808,612,711,613,584,591,678,1013,695,512,898,1544,1180,837,1082,907,760,1232,1440,1472,1166,758,497,495,506,541,498,403,515,722,957,1102,1072,1138,1790,1742,838,588,528,477,480,467,836,1554,1578,1614,1714,1572,1316,1350,1232,833,894,1068,1154,1224,1296,1286,1758,1550,1058,1192,1224,1672,1510,1378,1178,1108,1314,1498,1544,1390,1160,1252,1218,736,879,716,641,1086,796,471,511,486,541,947,1128,1084,1080,915,624,385,384,353,350,338,393,484,441,318,242,266,472,861,534,469,432,359,388,603,644,452,549,1170,1578,1440,1808,2082,1456,1104,747,722,1064,996,1034,1210,916,795,1054,959,766,1234,1668,1392,645,829,1228,1082,858,733,613,640,1436,1942,1516,1376,1238,1136,941,1144,1432,1328,1082,904,1044,1368,1354,1382,1748,1798,1130,647,529,385,380,342,484,623,782,1021,755,466,720,572,329,285,280,241,310,497,487,437,430,487,468,499,468,453,336,301,297,290,307,385,502,637,821,747,785,801,575,412,290,315,336,425,477,868,1188,1378,1550,1716,1738,1634,1740,1590,1250,1550,1932,2166,1878,1560,1086,916,976,526,352,392,386,404,706,974,818,769,692,596,398,666,834,635,492,650,1108,982,976,547,249,268,591,1002,1140,1142,1182,844,702,1076,1310,1216,1060,973,1016,1090,1056,599,479,570,516,470,309,233,238,282,213,190,190,223,233,233,289,330,332,419,423,392,424,468,602,569,464,430,363,343,453,524,671,473,455,811,1044,699,999,800,532,411,332,507,644,510,730,1212,996,624,542,738,814,426,324,475,691,744,508,553,824,898,816,835,893,1040,786,838,707,527,473,802,1126,1336,1480,1202,612,941,1518,1688,1274,893,724,1042,1028,846,997,1348,962,678,896,1566,2200,2230,2276,2270,1672,1194,1430,1686,1812,1572,962,621,663,985,1390,1230,1120,1422,1078,969,825,707,1150,1852,1368,832,1054,1080,772,597,800,1196,1124,1072,1852,1766,1360,1428,1456,1438,1250,1408,1350,1310,1372,1288,1192,1110,1124,1196,1416,1612,1542,1454,1318,1166,1404,1306,1426,1344,1206,1290,1288,1300,1532,1528,953,449,411,321,375,862,1558,899,714,709,690,711,572,402,464,499,390,412,822,883,1144,1132,732,1254,1322,1060,1230,1162,727,904,1598,1936,1152,634,651,566,558,814,1122,918,747,1256,953,360,239,252,264,274,314,342,332,300,363,497,571,700,805,793,682,589,588,636,697,877,1030,741,483,713,550,283,262,243,238,229,216,223,235,237,214,212,213,215,298,447,396,350,295,410,526,615,1476,2088,1306,728,815,889,708,539,1030,1182,518,365,362,297,297,276,583,690,571,458,322,290,260,303,515,818,786,483,535,547,531,597,597,494,416,377,642,1212,978,1007,941,711,910,933,1106,941,595,487,441,329,566,793,1042,1304,601,339,279,343,317,432,609,661,624,439,272,354,418,457,602,816,502,385,933,1292,1314,1436,1564,1406,1062,636,727,1254,1166,886,1070,969,814,872,780,528,415,438,428,417,371,416,449,463,528,530,457,430,396,355,365,418,436,470,451,447,468,425,378,338,361,355,346,341,324,318,291,249,371,397,350,337,369,394,414,382,810,962,549,427,437,532,481,477,604,732,843,1400,1466,1021,1015,1364,1244,1090,1026,901,833,822,871,860,1054,966,468,361,505,535,673,1170,1470,1011,518,647,885,1128,1616,1350,882,924,1214,1240,902,926,1088,602,407,423,536,885,1422,1902,1538,630,564,729,622,927,1128,937,1086,918,821,743,1324,1422,958,723,400,264,291,290,306,328,319,445,597,816,585,404,374,416,464,423,384,357,325,271,281,302,373,361,321,345,343,355,386,413,453,428,362,375,345,338,334,320,300,304,300,347,561,720,614,355,350,358,334,326,303,322,333,350,355,361,363,349,372,424,422,433,453,381,403,423,457,605,685,548,458,484,389,366,463,484,489,558,548,529,555,546,480,427,378,390,422,377,371,417,519,550,666,562,823,1228,952,550,491,682,749,544,550,672,556,402,347,326,414,407,338,324,334,352,495,865,1266,1486,1384,1310,941,603,505,479,401,437,476,497,537,599,510,549,701,1026,896,1023,1038,982,773,937,902,827,819,903,908,815,999,1110,1318,1144,705,662,722,813,972,1144,1012,1024,1220,1034,989,1644,1558,1322,1050,1066,1066,717,682,1148,1176,1106,1013,749,461,534,577,794,1032,935,914,1204,904,435,478,476,673,761,759,760,997,891,803,762,787,869,615,436,579,998,1356,1146,872,656,576,547,486,1030,1510,990,753,1140,1140,1172,1216,1354,1088,1072,874,696,473,586,633,397,602,855,833,744,732,1050,1480,1122,967,1230,1144,826,735,874,1092,965,628,1136,1826,2194,1334,578,576,518,398,434,483,396,376,362,372,468,515,649,478,392,349,280,286,406,560,547,473,362,310,301,290,373,570,714,625,378,309,317,302,302,306,284,283,283,270,253,265,280,287,258,246,244,260,260,262,255,261,281,260,261,264,266,267,260,274,273,261,265,289,299,268,272,266,268,280,376,421,430,507,612,605,501,484,458,477,450,534,479,414,325,310,328,297,345,409,437,473,463,427,357,360,396,501,486,484,523,661,792,1012,1404,1304,758,673,661,706,680,667,664,642,737,904,763,634,651,683,1048,1794,2072,1752,1108,914,894,982,689,441,430,685,1310,1316,846,593,585,567,588,720,1330,973,632,583,444,619,984,1040,875,829,1154,973,797,1238,1054,585,485,473,476,830,1322,1470,1310,683,505,673,703,692,582,515,471,363,335,375,359,616,955,711,424,706,594,450,944,1036,686,609,518,407,487,647,894,1150,1172,918,601,437,527,869,874,949,843,566,631,1234,1520,956,893,896,1094,714,365,411,434,396,410,484,530,485,461,592,437,360,357,572,477,352,325,351,605,896,790,634,591,651,731,793,908,1404,1574,1300,628,324,480,407,243,304,292,356,345,280,527,761,681,493,356,242,339,424,449,456,439,369,401,547,679,702,753,881,882,594,610,916,786,484,461,441,727,810,623,476,460,473,715,1016,1282,1188,1140,1208,1384,1334,1130,1444,1744,1772,1638,1298,893,632,894,1278,1410,1404,1316,1460,1332,1156,1178,1432,1998,1610,973,501,352,360,368,373,451,429,401,515,654,719,728,506,379,332,298,289,344,566,751,821,905,1556,1348,995,1024,1244,1648,1534,1114,981,1254,1790,1682,1244,868,668,433,333,340,377,367,336,318,305],[339,328,393,451,507,621,759,742,729,630,489,416,398,578,605,560,471,491,439,476,465,253,257,314,388,600,556,390,365,408,416,454,354,799,1284,1238,1454,1290,747,844,712,328,281,286,276,267,256,246,256,279,281,269,267,281,285,292,272,256,248,259,305,333,337,348,403,437,354,283,276,282,300,314,261,273,294,304,302,277,283,329,346,332,288,299,315,293,311,303,283,283,295,298,302,308,300,297,319,331,338,338,356,345,312,313,331,378,401,366,487,634,760,690,689,648,661,606,483,421,415,400,381,417,473,471,563,1019,1182,799,684,483,879,1110,932,1262,1826,1974,1738,1226,879,821,1126,1230,1664,1938,1730,1440,1012,753,907,1418,1544,1108,1272,1282,1344,1162,879,849,1250,1642,1906,2092,1834,1614,1498,1528,2622,1776,2356,1968,1172,840,1088,1440,1358,1114,872,656,534,477,490,973,1710,1534,1040,1082,1142,841,742,774,615,540,794,948,693,1090,1212,713,735,1310,1764,1644,1786,1542,970,1182,1470,568,726,990,617,616,604,330,491,585,710,939,1210,1024,740,609,777,881,1036,1034,697,652,934,1190,1174,1332,1558,1566,1536,1238,1094,1548,1336,1032,1138,902,999,1846,1790,1322,1518,1634,1576,1318,1240,1002,1108,1788,1238,558,1003,1400,1192,1284,1412,1460,1412,1410,1754,1560,1354,1936,1516,688,545,756,819,680,630,600,641,543,510,529,551,500,760,1104,1606,1650,1166,1214,1122,1000,1384,1258,1230,1126,966,874,971,1276,1136,1023,1344,1152,972,1244,1324,1396,1366,1142,1146,1574,1658,1180,1144,969,737,882,1050,746,1260,1562,1142,990,1622,1372,1418,1510,1572,1864,1710,1286,628,475,808,1300,1260,1084,571,378,536,587,646,568,346,337,336,298,326,391,388,453,511,567,600,614,624,583,444,429,588,675,470,273,248,281,317,293,269,248,266,326,320,343,329,336,355,382,357,409,423,656,915,705,422,747,1622,1528,566,404,439,409,685,1210,1010,606,693,1318,1546,927,573,766,753,1174,1124,693,637,703,691,587,491,449,615,954,955,918,1064,1084,675,1268,1444,1428,914,979,1020,825,962,1007,782,659,545,817,1126,920,759,1232,1982,1530,766,742,705,480,515,582,1116,1308,1124,1612,2122,1782,1274,1250,783,722,1432,2044,1910,1774,1944,1638,1912,1178,865,1312,1630,1898,1492,1368,1500,1256,1136,1232,1362,1472,1416,1946,1498,901,832,727,1062,1108,572,456,584,437,412,910,951,984,818,646,605,448,339,353,352,327,390,490,518,382,302,334,455,866,929,793,487,404,641,841,761,663,645,1130,1232,1200,1548,1416,1406,1672,1274,1010,1010,945,984,980,538,537,1056,1196,1034,1044,1074,851,547,497,661,902,759,479,513,1190,2250,2336,1604,1338,1180,1192,1128,1082,1158,1428,1520,1368,1366,1538,1534,1594,1824,1890,1208,580,504,611,657,628,696,698,633,544,456,496,780,667,455,377,289,281,500,627,566,544,447,506,477,474,477,406,353,355,480,586,585,594,574,733,760,665,871,1228,917,532,319,309,426,569,468,525,901,1054,1174,1296,1460,1616,1808,1416,1092,1230,1526,1596,1526,1508,1172,775,442,311,371,395,673,676,495,843,962,777,836,767,486,818,862,870,738,697,741,1004,947,399,246,273,379,523,642,902,964,482,526,887,1332,1030,1005,1186,1228,1062,1062,863,582,652,658,724,558,305,242,262,215,202,212,223,242,251,296,349,363,399,339,438,457,349,345,385,307,343,388,380,457,926,1166,763,571,584,614,467,521,449,427,377,412,666,780,560,575,630,700,490,468,694,898,487,445,914,1272,932,430,345,407,683,879,992,1018,1013,847,850,726,655,737,994,1364,1440,1094,1009,680,1090,1378,1250,1126,733,860,1072,1028,974,1290,1364,748,619,772,1434,1634,1728,1818,1758,1682,1608,1632,1688,1742,1512,898,705,764,897,1194,1192,865,680,883,890,590,589,768,928,878,879,1130,1100,759,648,891,1376,984,633,1172,1432,1470,1368,1326,1512,1140,969,1003,1250,1566,1170,803,721,1012,1494,1692,1730,1646,1616,1520,1474,1516,1552,1644,1604,1516,1520,1400,1454,1434,1410,874,596,601,395,390,1130,1510,1228,1012,833,895,960,719,349,449,537,748,1050,1094,745,827,907,843,1388,1460,791,764,775,856,1402,1714,1898,1166,659,738,571,597,1000,1256,1240,828,1324,1046,484,279,280,260,258,296,328,331,299,395,719,746,754,750,803,836,725,484,494,656,706,991,1017,543,749,394,238,224,235,247,221,222,238,272,332,305,254,241,215,409,809,779,455,327,386,422,675,1226,1686,1418,732,659,763,466,381,645,802,404,281,311,291,334,413,664,741,577,476,309,290,241,304,617,984,890,673,621,649,666,559,423,382,386,406,733,1092,477,649,745,920,1050,1042,937,897,914,854,852,314,289,546,1136,1478,658,343,274,285,332,412,612,1052,1192,624,341,451,705,618,578,937,579,254,651,1294,1578,1444,1396,1230,963,945,1178,1344,1050,1136,1180,736,541,791,827,609,434,422,425,403,406,388,434,440,415,414,447,474,416,358,368,459,480,492,481,449,502,508,471,412,406,401,381,377,338,303,293,245,277,330,420,673,594,387,430,498,847,1128,1086,1042,904,774,456,309,301,683,1050,1506,1628,1084,1274,1530,1250,1284,1194,947,709,763,742,808,877,753,587,437,491,727,1010,1546,1964,1018,688,696,567,722,1292,1394,1058,1034,1152,742,547,569,656,683,576,462,461,634,1050,1434,1054,427,471,543,836,1074,775,633,850,755,772,864,1182,895,513,365,250,238,284,328,276,272,413,637,745,689,515,419,398,412,437,512,551,480,383,301,276,299,303,274,287,316,328,313,307,322,395,393,366,369,351,356,363,354,338,344,346,383,502,622,611,426,365,380,348,330,317,322,316,327,345,341,341,323,315,343,359,393,431,403,394,415,443,463,442,487,545,497,415,403,437,480,467,493,495,484,477,448,428,412,382,412,437,397,360,382,523,666,768,603,743,955,730,535,502,506,490,555,925,1108,853,502,342,314,330,338,330,324,371,395,358,465,1007,1384,1372,1310,1120,1054,1322,996,481,466,487,537,529,841,778,748,815,969,1064,947,727,574,600,721,733,883,1112,1242,847,962,1206,1116,1170,1116,874,726,684,968,863,1190,1070,1250,1442,1472,1174,1064,1200,1028,916,828,755,739,700,1170,1070,1216,1228,1046,686,547,509,644,899,919,1014,1224,859,575,585,599,695,658,850,935,910,846,865,1150,1766,1702,1008,811,637,631,1150,944,955,1186,900,667,747,1017,1254,781,487,668,946,1072,1470,1346,1001,1028,1494,1382,494,503,637,504,531,558,623,550,486,760,1480,1470,1390,1142,558,603,675,712,917,1072,667,1152,1592,1554,1240,728,375,380,358,475,675,488,438,389,546,862,880,830,651,501,583,652,607,678,746,539,509,416,323,302,439,636,771,728,447,282,290,290,288,288,315,275,271,273,269,256,254,269,258,246,246,246,245,247,244,256,277,284,282,266,267,278,274,273,290,287,287,262,270,292,266,267,267,269,261,290,278,327,515,650,494,414,455,514,871,659,537,438,326,357,333,280,282,328,322,314,326,397,366,369,375,427,492,557,658,659,814,1184,1218,1488,1328,741,672,916,1078,1124,1210,1468,1456,1074,788,719,827,768,695,805,963,1036,835,705,617,650,838,662,461,473,901,1630,1446,959,580,363,330,491,724,1342,1018,423,406,358,474,925,1414,1422,1632,1892,1204,899,1828,1682,741,520,465,545,716,899,1216,1144,924,734,486,373,362,475,770,922,761,444,362,301,325,403,472,678,766,694,752,1011,745,491,507,467,404,453,625,811,1102,814,559,575,601,746,1118,1220,839,764,881,555,647,1021,1009,758,930,1202,799,582,672,542,515,435,397,505,498,433,550,400,355,476,497,346,449,567,611,1274,2126,856,736,857,933,962,839,919,1250,1504,1390,803,493,745,719,428,268,292,504,533,423,649,1094,1216,1142,849,328,368,489,501,488,474,452,446,388,530,608,557,610,609,434,443,646,931,1122,670,835,1360,1126,746,574,521,474,482,755,1098,1210,1290,846,698,1218,1306,920,1001,1374,1450,1104,820,894,1218,1132,1310,1526,1358,1332,1236,1102,999,1550,1898,1908,1548,720,432,382,372,338,473,457,390,468,591,675,651,537,458,405,320,304,373,474,485,926,1212,1624,1582,1136,809,867,1176,1278,1010,1128,1712,2118,1482,1086,663,483,349,305,322,322,331,311,290,276],[324,339,370,370,344,401,534,606,664,644,545,426,384,474,528,479,384,356,323,335,331,292,321,320,406,641,526,422,389,558,539,390,292,590,947,872,1100,1060,697,709,561,338,278,270,278,268,257,254,264,283,281,278,226,248,281,325,292,248,219,221,252,280,285,294,318,379,373,302,294,309,308,300,260,269,298,300,304,285,272,271,268,291,330,327,341,303,297,316,313,287,290,289,311,330,312,298,314,340,354,352,376,350,312,322,329,407,413,350,473,846,1090,1074,986,949,881,806,707,575,502,449,471,463,473,480,447,737,903,718,506,418,680,630,564,1128,1458,1386,1328,988,628,864,1320,1534,1568,1416,1348,1334,1292,1184,915,1504,1504,1270,1520,1202,1034,1250,1334,1338,1548,1662,1906,2102,1648,1396,1746,2018,2778,1786,2494,1784,1152,1016,967,1198,1400,1546,1426,1300,1146,952,824,1340,2084,1720,1194,1608,1968,1638,998,749,619,473,478,397,891,1284,1206,755,705,1028,1090,1190,1400,965,614,785,949,536,457,641,466,361,316,308,653,1194,1192,839,1152,1406,1322,954,819,658,945,1224,1040,739,1144,1480,1354,1354,1792,2002,2012,1368,1072,1076,1046,1156,1282,1013,1406,2062,1486,1312,1346,1296,1744,1764,1344,1172,1276,1136,683,603,1322,1630,996,1178,1516,2166,1904,1736,1838,1344,1278,1780,1452,741,762,1262,1080,566,827,974,833,578,534,521,443,444,525,943,1316,1312,1572,1382,1220,948,1102,1208,1230,1254,991,810,882,1130,1378,1218,1194,1044,900,1316,1578,1352,1416,1406,1244,1386,1396,1314,1224,1122,760,645,1058,1268,1412,1080,756,922,1426,1520,1626,1770,1588,1658,1678,1510,690,488,571,924,822,842,616,402,462,503,499,396,265,250,250,288,341,421,429,479,531,540,509,484,467,413,367,362,362,580,373,275,283,315,295,265,317,293,281,281,290,301,294,339,347,363,369,406,428,568,728,675,472,747,1678,1554,629,389,354,324,376,611,780,614,741,1146,950,510,435,518,689,1200,1013,607,519,565,587,734,833,709,886,966,1064,1726,1414,1222,734,1316,1482,1372,891,1060,1340,996,1116,1170,1110,1274,1152,1464,1318,859,777,1224,1650,1556,1198,985,669,598,655,826,1096,977,865,1134,1322,1404,1516,1354,917,882,1388,1708,1638,1806,1614,1364,1482,912,1248,1720,1748,1852,1522,1226,1232,838,715,1222,1588,1182,1198,1548,1376,1204,945,1332,1826,1088,390,444,601,453,361,554,897,1078,890,664,520,447,399,374,378,363,417,529,439,339,286,339,424,700,1354,1256,485,409,700,1130,946,755,666,1028,1200,1242,985,846,1436,1524,1286,1222,894,741,1228,1312,675,590,1216,1332,1100,908,733,539,491,420,451,449,467,496,534,1698,2164,1758,1422,1190,974,912,978,1208,1194,1036,1334,1572,1588,1560,1684,1714,1776,1928,1338,572,622,919,910,716,780,794,487,510,608,577,518,530,696,675,315,310,769,1122,630,532,468,468,505,406,459,371,378,452,487,633,774,785,738,860,670,621,616,880,910,610,351,364,539,688,551,510,769,688,954,1236,1354,1498,1692,1758,1750,1500,1338,1124,836,840,1052,471,235,312,345,339,474,572,572,598,880,1050,532,444,621,985,846,1166,935,741,519,833,854,404,270,350,319,220,344,656,788,532,829,1072,1256,1372,1202,1132,1202,1050,1100,1138,1030,798,760,899,883,453,240,244,215,201,214,221,228,254,309,309,321,381,319,389,431,364,339,319,297,312,278,225,301,422,460,639,855,909,857,866,714,695,700,510,473,550,546,601,930,645,863,527,346,356,434,390,780,1446,1350,688,434,399,611,1182,1286,1100,943,850,1092,1168,683,512,760,904,1190,1194,1102,883,906,1280,1312,1362,1116,934,1440,1466,987,952,1334,1210,714,707,1176,1682,1800,1832,1904,1942,1970,1930,2002,1990,1958,1720,965,674,790,1002,1268,1416,1220,779,596,498,520,1102,1398,1386,1021,576,955,1128,757,634,858,1238,1228,1028,1184,1462,1824,1656,1446,1424,1086,729,987,1238,1414,1056,648,839,1068,1394,1690,1672,1638,1656,1388,1384,1798,1836,1948,1932,1716,1324,902,1282,1498,1492,974,764,790,491,334,944,1370,1346,1146,778,1000,962,638,366,413,475,1002,1588,1570,943,831,935,789,1136,1290,683,411,603,1024,1434,1708,1732,1021,487,543,477,563,1034,1204,1380,828,1250,1130,565,301,270,269,273,286,297,296,300,472,805,858,632,503,818,919,833,768,838,1019,861,1284,1444,558,803,540,280,242,225,204,191,211,261,422,586,484,354,270,274,661,1218,976,655,768,817,755,1308,1346,1106,1620,1396,1014,818,457,360,384,460,409,348,357,383,439,609,716,816,907,617,336,308,278,261,659,808,691,662,673,719,626,469,298,368,554,430,616,797,510,626,760,1078,1368,1370,1276,1156,1030,832,927,568,326,466,860,760,357,324,332,362,568,629,453,767,982,506,307,391,711,517,457,759,658,440,500,1086,1650,1422,959,1003,957,886,658,794,1048,1184,1176,789,692,883,739,540,386,335,380,411,401,401,453,448,397,344,398,499,466,403,373,433,442,457,487,504,524,558,559,541,516,497,431,382,352,320,314,298,325,280,341,699,821,591,568,690,1078,1360,1344,1434,1720,1528,703,348,379,667,1156,1740,1442,883,1234,1290,1166,1522,1356,1180,1176,1040,737,516,590,819,719,796,882,925,1142,1286,1078,729,779,738,821,1122,1246,1068,890,1026,1124,583,568,736,818,728,585,711,982,926,630,469,347,293,355,612,1058,697,602,530,419,512,471,363,352,391,350,307,269,287,277,337,300,381,589,689,689,559,408,374,389,352,361,441,548,581,543,426,366,314,302,337,317,287,301,294,307,334,361,368,377,365,340,340,361,368,362,377,423,402,366,426,437,397,378,377,360,361,354,343,324,319,320,340,345,357,347,350,367,381,431,415,383,397,434,412,532,648,552,438,431,501,500,484,481,491,480,460,416,380,379,388,453,655,695,514,438,564,655,811,789,550,653,686,455,370,412,393,449,693,1156,1378,1244,763,369,307,302,316,322,343,367,436,592,506,747,1054,1374,1876,1612,1228,1278,1234,786,508,477,571,605,1042,985,1028,988,932,1068,910,567,434,462,567,556,698,1042,822,559,680,1196,1186,866,1034,1256,1360,799,998,1358,1952,1442,1302,1368,1848,1824,1508,1122,818,725,651,648,905,818,916,990,933,1044,867,594,682,662,633,849,1094,1038,844,651,638,640,919,1266,1308,1056,763,744,774,692,843,1210,1090,681,672,922,884,1007,939,1009,1370,1360,1382,1170,949,1116,684,407,394,477,943,1508,1396,1362,1512,1738,1532,608,430,669,789,874,1034,791,520,520,739,1466,1996,1992,1322,528,592,675,744,752,783,501,496,664,958,1038,718,528,469,443,446,799,668,540,452,601,817,762,574,490,714,1090,1172,1062,774,633,897,945,715,416,325,500,637,578,395,291,272,277,290,276,288,325,293,279,267,294,297,260,260,255,254,246,246,247,255,233,262,273,282,282,261,262,282,290,290,305,281,260,272,288,305,294,292,291,288,286,265,261,349,428,448,480,502,417,339,551,626,534,351,376,379,266,302,327,364,343,302,274,328,354,420,426,437,451,513,667,645,553,827,1010,1472,1106,642,832,1076,1100,910,776,1160,1416,1180,870,973,1092,1432,1386,1610,1202,1070,980,588,455,497,559,448,360,427,778,948,873,1002,641,283,311,321,648,962,559,293,276,300,469,789,984,1026,1428,1588,977,587,1007,1016,569,699,562,540,675,915,1086,1078,1268,883,458,379,537,984,1476,1692,1254,565,307,270,337,355,691,1232,1198,900,900,725,786,931,532,509,473,425,736,1013,874,504,549,761,717,653,931,1252,706,724,1009,906,959,1390,1312,1160,1246,1018,694,807,943,544,532,425,266,353,439,353,391,555,772,1174,1252,963,1076,996,987,1538,2670,1009,678,930,1460,2086,1434,713,937,1138,1098,938,883,819,830,747,392,368,554,502,321,319,633,1206,1562,1116,645,623,897,610,528,488,453,466,408,475,662,745,637,571,454,387,708,928,1416,1176,1007,1478,1596,873,493,452,422,484,640,996,1236,1116,908,880,1418,1152,579,567,869,1402,1506,1478,1876,1936,1382,1338,1454,1204,963,1168,1262,1198,1356,1574,1860,1734,1082,550,375,346,310,389,444,452,428,449,493,532,445,377,363,328,306,366,365,320,633,929,1008,1132,968,492,442,566,738,691,1130,2016,1644,1194,935,595,495,343,294,316,311,302,290,265,253],[312,321,305,315,317,349,507,597,672,736,619,459,403,360,402,397,336,350,374,492,390,321,348,326,329,332,299,344,368,366,328,317,349,399,471,388,445,403,484,539,403,281,246,256,257,259,274,290,305,305,274,278,218,236,270,289,258,223,233,241,237,268,271,300,323,381,426,364,344,336,327,302,280,281,312,328,344,314,280,261,264,273,302,314,306,308,295,311,332,298,298,298,318,340,319,298,309,320,329,350,368,339,298,267,308,427,409,382,495,826,986,990,1007,1009,1050,1068,956,839,794,717,585,484,423,484,559,721,903,985,612,377,391,397,475,742,898,891,903,990,644,679,1062,1300,1378,1108,1004,1192,1464,1342,1023,1280,1050,1098,1518,1268,1554,1944,1602,1298,1494,1264,1182,1464,1228,918,1234,1772,1954,2060,2198,1534,1134,1046,888,1012,1242,1400,1376,1166,1224,1324,1168,1356,1478,1274,1416,1592,1488,1488,860,571,519,553,545,625,1462,1750,1448,1102,603,498,505,477,473,444,385,566,1172,1230,818,578,557,525,445,470,882,1092,1172,1005,1226,1220,1204,1214,1088,843,819,1400,1660,1338,1560,1548,1476,1788,2104,2138,1690,1658,1566,1066,1010,1054,927,1040,1406,1682,1258,1394,1282,1248,1684,1676,1184,1234,1178,537,481,821,1440,1288,750,822,781,1492,1806,1918,1476,1006,1492,1764,1084,624,868,1338,1170,877,1356,1512,1086,785,922,926,1021,1128,847,937,1224,1404,1458,1228,1296,1009,1056,1054,1104,1390,1182,1142,1422,1490,1456,1298,940,1222,902,1054,1122,968,1174,1418,1266,1132,1244,1262,1162,1104,856,1308,1358,1328,1122,822,781,1019,1734,2026,1868,2004,1788,2320,2304,1874,979,572,603,594,647,774,541,383,356,367,327,297,255,220,237,249,326,371,349,357,395,350,269,277,276,313,320,335,322,355,291,293,314,341,327,309,341,292,259,278,276,278,294,329,381,402,420,445,409,461,518,550,472,561,1244,1058,545,376,429,307,253,463,682,638,505,693,939,637,385,386,813,984,774,455,525,1076,1388,1542,1454,781,968,1534,1404,2018,1384,1174,872,995,1418,1390,809,608,942,913,1102,1228,1378,1276,1070,1238,1284,880,1034,1482,1472,1368,1368,1168,544,343,471,826,824,756,968,1074,816,1144,1688,1666,1116,1054,1418,1696,1824,1824,1438,921,846,1094,1172,1254,1482,1436,1208,1023,1110,978,1084,1476,1538,1276,1432,1440,1282,1360,1354,1628,1936,1154,501,464,487,406,410,584,999,1220,995,554,546,699,589,357,391,477,536,551,421,357,311,282,291,490,1306,1354,512,441,750,1262,1376,1316,1190,1204,1120,724,716,1192,1484,1144,1080,1026,868,573,816,907,877,687,904,1017,895,1108,1190,956,737,495,509,542,506,440,582,976,1192,1278,1202,959,1332,1174,648,991,1448,1238,1001,1104,1322,1538,1678,1772,1772,1910,1526,728,774,995,835,576,675,634,483,576,647,524,308,390,886,939,567,550,855,1003,467,437,453,495,530,482,409,298,391,419,292,321,406,577,731,731,751,847,802,651,672,536,351,375,539,679,651,764,888,583,563,773,824,917,1072,1550,1852,1664,1218,882,677,858,738,309,223,256,289,330,346,406,514,536,625,1152,732,557,591,838,894,1114,1017,945,661,681,894,567,337,432,321,244,300,480,946,794,1114,1282,1470,1814,1214,1068,1050,935,1120,1122,998,920,1184,1064,836,458,239,248,248,231,222,222,243,282,343,313,376,382,310,321,344,330,357,368,316,278,239,209,230,236,296,436,725,747,842,1116,1234,1122,785,518,716,528,402,739,891,669,695,485,265,372,505,396,468,578,771,481,708,706,804,995,1236,1054,695,963,1454,1192,636,601,935,827,921,1026,1208,916,892,1402,1606,1470,1130,899,1426,1506,930,1068,1438,1164,664,565,906,1230,1384,1400,1284,1326,1460,1550,1490,1314,1342,1420,941,711,940,1188,1566,1698,1200,618,521,498,545,798,955,1032,847,662,1192,1244,753,653,1028,1546,1756,1572,1706,1570,1814,1922,1562,1456,1290,755,802,1042,1160,1052,984,1194,1246,1184,1366,1494,1732,1686,1404,1378,1570,1520,1476,1396,1530,1294,954,1005,1434,1362,1086,708,460,437,334,748,1390,1266,1130,1021,1498,1134,624,437,411,660,1005,1336,1418,639,725,876,720,1038,897,581,349,713,1074,1208,1508,1606,1100,492,404,394,563,919,1018,1254,907,1290,1206,586,352,296,273,289,314,304,344,329,425,626,881,827,927,1186,988,1092,1376,1502,1586,843,1114,1158,506,774,622,322,266,217,195,203,230,295,344,357,405,343,282,250,728,1322,943,775,1742,1882,1296,2664,2754,1180,1616,1726,1048,814,810,713,672,716,539,528,405,336,440,618,680,940,1007,661,424,308,253,411,803,785,506,501,548,458,312,281,228,355,501,702,993,698,504,604,642,871,1030,1156,764,696,896,629,538,512,440,463,506,455,353,460,456,455,562,686,643,961,641,385,334,276,571,793,999,1090,1088,695,504,838,1556,1368,827,769,736,526,416,677,725,903,1276,912,576,733,654,475,365,363,382,374,361,367,377,381,368,348,344,407,450,473,396,358,355,368,361,354,386,458,481,498,525,528,518,521,449,398,342,369,382,443,559,445,488,597,617,628,1068,1302,1182,904,1054,960,550,458,469,775,1474,1788,943,752,1288,919,924,1036,748,924,1234,1176,1002,1232,752,479,408,455,753,900,1050,1100,857,783,769,624,927,2098,2144,1048,785,1324,1414,702,662,954,854,589,680,1012,1226,1168,790,469,385,414,661,948,894,571,495,595,578,462,436,402,402,424,305,262,292,276,231,240,293,528,691,617,508,394,368,505,463,323,312,318,384,437,445,482,434,319,364,430,370,337,301,292,311,342,351,352,369,357,334,328,355,381,378,371,399,397,384,385,395,390,398,394,373,371,353,337,322,347,343,346,349,375,367,366,377,391,401,397,411,452,504,641,712,573,484,475,401,469,522,493,500,530,487,479,409,360,396,501,613,683,754,561,491,630,690,748,633,645,839,1188,723,420,427,444,563,793,969,875,681,499,332,314,288,308,341,377,375,714,933,693,597,595,864,1346,1418,1222,802,1194,1250,762,562,517,558,825,1118,1394,1650,1382,954,608,519,494,478,513,717,1022,1100,985,754,491,790,1015,1070,1426,1042,1328,1052,796,1390,2402,1830,1162,1534,1986,2046,2116,1302,1120,1072,612,524,697,578,913,1220,1172,1054,821,863,843,814,841,1290,1005,733,675,916,1396,1370,1368,1532,1290,1032,592,561,942,838,659,979,749,790,874,1164,960,878,1280,839,753,1392,1816,1624,1492,1420,996,705,532,439,664,1032,1262,1330,1208,1004,1322,1532,838,763,1023,1158,1106,902,1023,916,888,1418,1576,1508,1270,1258,1302,962,815,950,759,561,752,1092,1242,1116,1366,990,636,885,1016,1282,959,885,901,890,786,636,706,743,1022,1322,1310,1252,973,1017,1282,1332,951,555,370,345,364,329,284,293,262,285,347,350,477,564,506,414,364,348,321,259,245,248,259,260,254,247,253,254,274,270,278,285,265,265,282,300,304,310,303,263,288,287,262,272,287,281,289,299,288,306,421,426,381,406,393,362,388,501,594,527,405,380,294,280,319,340,334,330,327,346,323,317,412,525,525,561,594,623,598,638,488,490,1170,986,646,1007,1228,1136,1046,928,760,517,671,717,738,1042,1410,1576,1974,1634,1318,1122,572,464,520,572,469,379,432,497,586,553,803,670,306,300,279,346,340,347,338,329,303,556,966,1202,1126,671,584,730,449,361,411,543,944,633,533,487,539,647,637,509,369,368,543,1118,1650,1930,1788,940,434,348,335,364,353,491,1007,1200,859,627,541,953,1186,839,592,469,592,1050,1302,1001,568,695,1013,900,651,626,717,523,668,1192,1282,1154,1074,1058,1308,1142,748,565,802,1064,570,528,394,363,458,470,351,426,505,658,1228,1412,1306,1110,808,907,1074,1422,1013,952,775,1046,1278,832,594,520,525,613,792,929,789,595,522,390,419,631,507,332,379,445,728,1013,1312,1080,813,1266,999,598,603,644,520,418,487,775,944,869,615,516,648,825,1158,1376,1388,1054,1296,1772,1146,487,430,417,740,1066,1284,1334,1630,1754,1836,2062,1510,690,554,692,1204,1536,1624,1814,1562,1388,1292,1332,1042,942,1306,1362,1378,1402,1292,1318,1526,1328,870,538,393,411,473,535,488,371,403,444,408,388,339,331,312,319,389,393,359,403,396,451,809,807,411,361,380,386,522,927,1476,1258,1252,1064,671,482,298,287,287,321,289,286,253,233],[263,308,334,365,322,313,398,537,688,652,498,490,448,367,378,372,330,364,373,477,361,339,364,360,318,309,299,265,272,290,305,319,333,307,305,253,259,301,292,298,292,226,224,243,242,265,278,301,307,287,274,276,243,239,245,242,227,237,248,248,231,306,287,327,376,408,361,337,345,349,331,278,302,303,310,331,343,315,289,284,284,342,436,389,300,323,301,329,314,301,302,311,327,339,335,314,294,297,310,335,338,320,299,276,366,482,461,460,539,659,736,795,839,908,995,1009,1034,998,971,944,879,728,591,532,615,615,612,611,408,341,355,493,667,850,809,902,972,1084,798,670,1050,1236,1028,582,642,982,1238,1284,1160,1424,1438,1350,1040,757,1116,1770,1578,1092,1342,1007,1001,1260,970,804,791,860,1182,1534,1458,1346,1554,1678,1200,1042,1426,1446,1208,1196,1394,1332,1304,1500,1424,1216,1392,1490,1340,1512,802,445,402,673,889,1118,1366,1180,1070,789,381,357,446,490,377,348,665,926,1344,1418,828,462,524,581,517,440,397,341,546,935,1230,929,747,1030,1108,963,1156,1650,1778,2154,1650,1328,1698,1922,2118,1932,1278,1392,1422,1164,1194,1005,559,750,1034,1284,1250,1178,1224,1400,1520,1298,1136,1516,1338,846,877,1534,1584,904,609,547,591,673,994,1508,1454,1222,1632,1774,1182,638,938,1760,1386,1114,1418,1518,1094,574,554,855,1326,1588,1236,868,1218,1162,1338,1608,1418,1068,944,981,1428,1356,1236,1172,1388,1390,1346,1344,1228,1268,819,851,1148,882,846,1276,1336,1354,1280,1044,980,1114,1478,1580,1272,1144,944,891,819,946,1380,1502,1730,1954,2232,2398,2054,1832,1300,661,472,639,839,681,422,339,315,261,232,215,218,243,238,243,317,334,281,369,473,344,368,391,364,356,367,335,282,260,246,250,321,365,365,383,457,411,353,353,307,249,280,365,431,453,544,539,404,456,535,497,485,362,494,517,462,803,1034,552,320,410,555,726,757,845,836,553,541,525,771,714,383,372,746,1528,1612,1486,1172,548,725,918,1108,1502,1306,1366,1078,810,1290,1312,883,626,827,987,829,752,929,1056,1332,1792,1654,1106,1170,1184,1226,1310,1258,1118,706,435,695,797,946,1062,1019,1120,1028,1244,1406,1720,1142,1070,1350,1628,1484,1378,1638,1240,1182,1512,1262,1272,949,784,1086,1034,1324,1434,1384,1290,1262,1414,1586,1274,1054,1408,1490,1582,1830,1498,1011,797,728,669,589,659,915,1324,1180,474,486,813,761,456,446,481,474,516,476,367,321,318,308,500,722,525,385,451,938,1546,1874,1664,1656,1688,957,549,785,1078,1124,777,805,939,650,533,573,472,716,761,732,836,854,1206,1074,1212,1066,712,528,463,408,394,552,874,912,949,974,695,896,1070,809,1094,1522,1062,973,1017,960,932,1196,1482,1714,1860,1710,1108,802,696,596,599,545,553,600,514,395,341,379,657,969,755,659,620,969,683,399,476,442,463,513,474,363,332,376,550,430,402,440,534,619,511,689,1178,1136,635,451,409,372,371,472,492,813,1112,838,460,383,449,511,573,869,1422,1716,1478,899,725,668,642,398,266,255,256,257,328,383,325,380,509,500,878,882,546,419,618,935,977,867,1034,934,717,669,488,352,468,482,416,409,618,844,723,904,1194,1812,2434,1098,1005,1122,1144,1130,985,785,880,1174,1114,790,550,338,242,257,251,247,278,332,375,372,316,312,363,357,324,304,322,335,332,308,300,288,298,292,321,294,361,566,529,399,536,902,1090,870,703,1044,789,476,599,759,729,620,449,296,370,606,667,587,451,641,753,778,496,462,446,642,891,883,874,1124,1028,714,772,1094,1100,1260,1728,1510,717,962,1960,1964,1150,906,843,867,969,917,1344,1394,858,481,644,1170,1300,1176,1244,1276,1462,1376,1376,1390,1494,1452,1316,941,740,832,1026,1490,1572,1172,841,543,506,539,507,645,693,501,514,972,1158,738,818,1300,1508,1752,1570,1478,1272,1840,2110,1514,1316,1038,729,1078,1272,1174,1394,1504,1456,1588,1504,1500,1354,1552,1368,1138,1302,1418,1716,1606,1300,2082,1866,1578,1470,1450,1432,1354,794,466,467,378,808,1510,1098,1004,1082,1304,1156,622,515,568,851,930,1332,1774,665,695,827,658,1178,1028,580,543,902,1120,1270,1390,1274,755,478,391,345,765,940,983,1070,1120,1560,1388,877,335,246,273,310,332,296,309,427,468,455,781,1009,973,1019,1054,1090,1306,1122,1180,886,758,645,767,1110,805,339,267,233,213,245,259,300,407,347,276,271,265,243,599,793,602,739,1262,1366,1092,2164,2032,953,1052,1472,904,559,1100,1360,1502,1450,642,523,383,449,604,704,761,806,860,709,427,286,286,571,826,843,450,293,278,271,220,226,249,330,368,882,964,350,482,656,372,599,1112,1444,736,433,366,296,312,446,975,993,461,563,577,729,436,562,600,662,988,1188,654,503,419,238,373,781,1484,1434,1476,793,657,953,1498,1308,875,724,754,599,438,538,638,999,1230,775,550,744,736,508,364,401,411,350,305,321,309,319,343,404,386,377,518,511,383,336,339,363,360,349,351,374,397,427,442,441,484,561,594,532,508,492,492,726,882,498,373,375,444,462,700,778,902,1084,1278,912,551,538,558,1170,1708,1448,735,502,837,847,815,668,483,472,644,876,1188,1426,929,586,701,877,768,512,703,1050,1060,880,854,768,614,695,990,689,655,1044,953,858,976,1078,932,680,744,1082,1548,1548,739,400,694,1054,1254,988,1052,1098,515,629,658,498,458,543,767,547,307,276,269,195,174,199,265,395,487,506,421,346,384,537,439,390,337,291,335,354,358,427,408,425,471,356,277,313,334,307,320,319,314,334,371,373,357,330,365,380,381,397,414,400,396,386,385,376,388,404,388,371,356,345,327,334,318,325,349,383,387,381,377,378,397,464,464,484,497,561,471,460,540,548,465,431,468,525,491,546,482,501,428,350,383,556,686,593,533,528,498,522,449,447,517,756,957,984,616,426,474,597,703,724,612,411,330,312,359,330,310,335,346,399,444,839,1032,682,424,392,444,710,995,808,689,1318,1302,772,545,545,721,1186,1432,1482,1434,1174,833,538,543,514,464,583,965,1308,1198,1060,1028,803,901,1162,1156,1586,874,883,955,745,1186,1566,1332,1342,1676,2290,2440,1676,1472,1276,1252,1034,749,586,834,1450,1542,1278,817,789,966,1158,936,666,847,650,635,785,941,1214,1404,1592,1290,714,954,975,906,1290,1224,1160,1374,1226,1062,1070,1086,758,698,1188,1070,1050,1382,1320,1578,1610,1360,1420,1194,735,452,559,830,932,1090,1276,1182,1494,1954,1154,901,940,1230,1576,1534,1732,1372,1244,1282,1178,1246,1052,1266,1142,636,648,913,750,570,861,1358,1254,952,1350,1354,1082,1032,1264,1282,1244,1304,1050,988,1214,1168,1024,744,1188,1578,1318,1248,1190,1074,1180,1224,1084,942,514,354,282,280,283,301,283,308,350,433,643,743,686,674,564,339,278,264,252,252,260,275,265,254,253,260,279,275,268,268,268,273,291,304,312,318,291,265,269,260,253,260,263,283,292,305,313,325,443,564,481,378,355,368,471,617,721,611,542,556,421,296,298,342,361,357,383,367,374,387,510,617,592,623,576,786,1015,954,789,871,1190,1188,1078,1266,1046,1100,1234,1416,1250,673,328,539,567,568,810,1148,1224,1064,701,607,438,565,951,791,449,416,461,400,416,435,604,686,394,388,352,361,362,389,380,390,367,504,796,916,704,521,644,831,443,389,460,507,722,539,694,623,458,585,664,499,433,462,444,687,1196,1242,995,554,416,426,314,310,376,546,752,793,545,516,455,745,1394,1492,895,750,1044,1316,1440,1420,830,551,707,992,968,741,648,601,976,1526,1494,1242,821,741,1120,1230,1310,1054,818,1074,666,468,508,521,601,592,511,413,430,618,1202,939,1106,811,597,684,672,636,831,1052,940,664,625,619,510,422,457,458,491,808,894,518,378,368,468,713,691,591,615,498,432,443,711,616,636,1032,1046,767,579,504,401,469,532,888,1052,944,669,677,876,677,638,963,1202,995,1290,1644,1300,621,484,567,1162,1564,1532,1306,1446,1710,1750,1854,1536,877,656,653,824,1260,1566,1260,1258,1394,1252,1094,912,993,1294,1330,1350,1294,1192,1216,1120,1328,1376,993,670,502,390,391,453,372,340,370,373,349,370,336,295,325,389,396,374,397,420,572,1168,926,557,378,356,348,353,490,678,1098,1654,1202,527,341,284,282,274,311,287,292,268,248],[253,329,321,331,277,301,361,498,622,505,450,545,486,393,347,345,350,340,280,314,287,310,378,414,392,309,270,271,285,297,325,377,333,307,281,261,284,284,262,272,272,261,272,295,289,288,296,276,250,265,293,280,246,233,257,283,289,293,292,313,355,333,286,331,337,279,257,279,286,287,287,263,291,296,296,298,292,288,288,298,298,336,399,370,343,321,302,367,306,298,314,322,331,325,331,328,297,320,339,361,382,340,314,288,351,403,365,390,450,488,531,518,578,628,743,886,899,912,947,957,1028,998,842,725,679,552,505,459,409,353,359,987,1434,922,866,1130,1008,1030,1094,1028,963,842,648,466,528,568,702,927,1150,1260,1270,1142,785,670,702,919,846,969,1060,948,1320,1308,918,608,824,1242,1134,1042,962,809,1256,1718,1156,1178,1590,1510,1024,738,1078,1230,1080,1392,1526,1226,1214,1366,1154,1190,1070,899,770,1076,1500,1404,948,872,656,383,452,365,645,879,639,431,563,772,901,843,539,411,380,412,406,393,323,323,538,954,1198,1110,1052,1074,967,907,1262,1396,1380,1732,1690,1586,1946,2200,2056,1454,1222,1404,1256,1124,1390,945,584,508,945,1388,1248,1148,1078,1046,1164,1276,1446,1368,990,772,1018,1700,1394,772,645,547,384,344,435,543,614,806,1036,1096,1228,1176,1406,1962,1382,982,1470,1594,1058,445,421,691,1166,1410,1290,974,999,1362,1808,1598,1078,844,792,1074,1410,1482,1802,1334,1354,1326,1558,1344,847,626,656,897,836,783,1274,1654,1432,1528,1392,1190,691,844,1136,896,980,1202,1054,1104,1170,1364,1528,2344,2534,2356,1824,1296,1526,1900,1668,1068,610,449,371,398,510,364,267,225,198,225,262,280,285,302,355,418,690,717,571,505,576,504,442,559,636,570,550,624,636,537,522,370,335,391,486,449,421,454,451,581,865,750,418,408,687,590,372,386,567,641,491,448,471,487,710,1242,1436,973,447,362,438,804,1028,807,692,790,966,690,441,350,285,402,888,1272,901,730,516,384,555,570,812,1188,1162,1005,1126,749,1146,1202,1106,891,1036,1122,1118,1176,1238,1318,1194,1192,1302,1108,1196,1100,908,1202,1456,1470,1044,935,1324,1164,977,1088,1068,1238,1396,1730,1630,1394,960,813,1218,1808,1538,1462,1642,1172,1142,1384,1262,1504,1048,924,1300,1116,1026,1172,1346,1324,1180,1150,1068,713,857,1050,1004,1212,1340,1404,1216,1003,982,899,871,1026,1166,1306,963,497,491,802,751,491,371,400,451,549,541,419,448,460,359,423,402,305,341,451,797,1082,1012,755,1130,1350,726,469,531,631,786,724,882,871,559,523,480,493,932,1226,1068,1308,1086,768,578,616,1366,1344,690,418,475,496,451,641,919,962,538,552,648,804,958,1380,1422,923,782,887,1170,1152,861,883,1023,1394,1678,1478,1120,789,636,664,566,524,691,837,805,660,548,598,699,570,609,760,941,575,374,512,596,490,412,389,334,374,445,654,747,760,549,622,630,473,513,686,639,571,361,364,339,322,437,636,1062,781,401,308,326,300,300,340,696,1246,1508,1200,580,496,537,436,363,279,241,236,237,258,322,291,342,329,368,458,835,778,422,422,815,1007,731,820,958,688,398,319,311,375,485,586,728,952,1050,741,677,879,1280,2192,1538,1214,1208,1308,775,525,727,872,1144,1100,871,962,618,341,280,265,321,348,361,374,345,302,336,401,371,366,306,318,321,321,324,325,311,302,385,591,592,422,446,500,703,644,489,691,557,454,644,867,913,953,1152,1238,977,449,317,426,548,799,949,771,730,833,702,594,798,972,768,841,1026,874,662,694,893,1150,1068,1054,1186,1130,871,791,1204,1660,1506,1040,665,730,833,841,1028,1464,1282,707,544,969,1472,1572,1592,1780,1716,1752,1786,1854,1920,1912,1848,1748,1152,698,683,963,1366,1394,991,726,514,469,470,520,788,738,506,484,774,1074,741,803,1234,1332,1542,1456,1382,1546,1862,1696,1400,1338,1184,1230,1504,1492,1554,1548,1512,1522,1460,1474,1428,1530,1624,1252,924,1160,1444,1832,1562,1394,2082,1606,1342,1574,1488,1628,1732,906,778,912,824,1124,1594,1060,964,1128,1310,1094,759,709,601,479,489,1310,1846,910,656,850,677,1056,1212,828,905,1112,960,947,881,696,458,326,361,407,1040,1166,1178,1224,1318,1494,1418,1194,437,259,292,313,327,313,320,555,771,857,1322,1230,959,1020,1224,1344,949,652,695,741,564,604,1012,1188,837,369,291,286,250,265,314,528,743,600,409,345,245,236,279,383,624,674,504,602,670,777,703,433,636,1082,946,643,912,1394,1410,1086,680,495,359,478,623,675,768,743,746,577,385,268,412,797,663,1050,636,303,250,278,266,236,390,553,428,566,559,426,566,521,357,364,863,1124,617,311,297,383,400,552,1372,1448,565,538,764,1019,517,527,496,563,767,561,414,488,329,245,289,480,937,993,1028,901,1124,1268,1388,1346,884,755,966,749,370,523,791,1078,1204,830,655,784,744,516,341,357,397,375,341,315,307,319,333,433,484,514,601,542,423,358,355,355,361,347,344,355,362,380,394,406,422,460,466,451,469,444,500,630,689,459,371,401,371,505,697,673,648,879,1186,966,502,482,577,1050,1292,1054,591,421,489,612,771,698,454,396,450,565,1006,1354,821,496,647,727,630,539,706,879,738,744,956,1092,1005,725,741,486,357,387,469,686,758,943,821,567,466,521,998,908,462,510,1054,1236,1122,1088,1380,1128,638,618,693,623,486,738,967,619,387,260,167,150,167,201,247,252,254,319,378,341,411,492,491,432,323,296,294,299,302,354,387,483,391,271,293,366,377,374,361,332,308,307,366,407,395,359,346,338,358,393,383,363,367,376,370,374,383,401,385,375,371,360,339,323,325,347,366,379,389,376,366,369,366,351,349,364,372,388,470,522,562,659,636,503,408,446,468,464,502,544,477,364,420,530,658,633,426,380,429,422,392,431,641,1005,1026,926,771,532,607,787,709,484,331,297,292,288,312,332,340,344,356,357,550,1032,1138,791,450,390,414,775,700,441,753,1170,1001,884,770,484,703,1070,1308,1302,1232,781,512,412,413,415,402,541,941,1142,952,1124,1084,875,1350,1306,1186,1474,1232,894,806,1068,1252,1168,1178,1266,1378,1816,1832,1298,1384,1438,1400,1296,1218,1004,879,726,613,531,616,885,1032,1272,930,700,650,697,1144,1334,1150,1028,1048,1168,857,577,1132,1240,1016,1078,1116,1050,1252,1274,904,783,549,462,494,980,879,969,1026,905,1128,962,1154,1488,1252,991,898,1104,1076,849,1074,1320,1334,1302,1368,1274,1244,982,879,988,798,1090,1170,1134,932,1376,1252,664,858,1032,888,767,935,924,718,926,1054,1210,1284,1242,1410,1356,1112,1188,1318,1480,1474,1076,744,998,1182,1003,825,1078,1318,1182,915,751,694,1032,1060,938,954,536,375,296,302,290,273,276,302,286,301,408,458,453,481,408,346,316,270,260,252,258,274,273,263,262,268,273,268,271,256,261,266,281,300,306,306,300,279,260,274,260,281,287,300,309,314,321,361,419,462,381,323,334,349,371,378,454,488,480,448,311,223,242,295,324,519,742,636,431,423,729,637,581,631,925,1150,1266,986,863,1188,1146,1070,855,1144,1256,1180,980,1186,1216,797,531,683,650,523,920,1124,899,844,666,470,374,713,1154,754,411,427,405,380,436,455,569,660,455,396,353,337,355,418,458,424,348,482,743,494,372,379,471,818,523,426,443,667,775,766,880,686,349,516,827,588,593,622,500,430,392,382,508,618,771,711,728,1256,1410,1392,858,507,408,459,481,662,1320,1414,1116,1160,1216,1418,1148,1238,1198,752,828,1436,1186,780,775,764,995,1154,1192,893,903,1058,1382,1650,1794,1410,1026,1220,925,575,619,628,656,646,554,398,461,581,1034,936,906,747,760,866,814,736,1110,1268,1094,829,902,653,698,745,781,774,565,730,916,778,565,456,547,816,836,785,789,607,364,317,520,617,681,1008,1130,1100,736,496,481,656,642,902,990,845,722,1172,1260,637,717,805,750,874,1122,1256,1090,694,615,982,1426,1494,1420,1422,1284,980,899,1386,1652,1264,794,631,602,883,1290,1494,1604,1500,1226,1170,1224,855,1370,1462,1434,1350,1298,1104,1114,1436,1628,1574,1250,656,417,338,347,391,365,352,354,352,372,372,374,380,377,368,383,379,374,445,923,804,519,388,337,314,378,552,495,533,900,993,477,320,310,296,281,305,293,298,292,253],[307,290,275,285,256,293,331,395,526,437,442,447,510,411,377,335,373,355,306,312,330,351,345,325,291,236,281,335,331,313,339,382,333,283,264,259,256,242,254,283,289,303,337,294,299,302,316,295,276,259,251,242,256,228,257,274,273,280,310,323,386,339,271,310,323,288,269,257,247,265,292,309,282,268,278,270,270,279,286,301,310,328,334,321,381,391,396,395,304,296,319,323,339,319,300,322,303,294,323,352,361,339,338,307,340,400,390,393,390,394,397,470,499,472,506,567,636,742,794,816,916,985,984,905,761,753,627,556,475,399,491,936,910,738,1042,920,667,673,1146,1018,694,667,637,634,550,769,1144,1332,1190,884,1014,826,846,971,1142,1016,1074,1076,753,837,1170,1114,854,470,567,971,790,667,705,606,865,1220,1078,984,1006,1200,938,571,720,821,939,1230,1354,1402,1498,1444,1386,1448,1312,1086,856,872,968,927,566,839,518,722,847,508,846,1148,928,609,639,876,947,630,389,382,351,408,482,514,440,375,518,741,774,911,1174,1194,1034,798,1142,1272,1066,1224,1472,1610,1938,1962,1364,1092,1038,1138,1142,1282,1546,830,566,709,1354,1648,1380,1114,747,992,1366,1376,1138,778,826,634,1444,1816,1098,672,617,475,419,574,694,1232,772,648,1001,941,1100,1324,1514,1618,1318,1166,1550,1650,1186,598,493,624,885,963,1164,1132,1030,1162,993,714,567,608,582,826,1386,2074,1894,1558,1506,1550,1522,927,582,568,789,653,601,1134,1342,1720,1476,1208,1294,1318,1148,1310,1344,1128,969,1164,1284,1378,1512,1588,1610,1834,1842,2052,1854,2136,2722,2352,1774,1176,460,308,385,373,403,314,223,230,271,286,262,259,262,409,513,709,1516,1096,582,673,735,719,694,712,1134,1338,984,554,901,1264,891,427,343,492,528,384,424,529,628,1008,1432,1506,652,386,631,561,508,516,760,1144,1268,1326,1074,1266,1610,1658,1398,1268,831,722,1006,1262,1064,742,849,1444,1720,828,334,334,522,796,1304,1200,1108,1152,767,701,1064,1066,1102,1280,1054,802,1222,813,1020,1158,1300,1228,1188,1030,1062,1294,1354,1366,1228,802,1012,1070,1676,1508,970,1180,1528,1552,1292,1038,886,1102,1346,1252,740,1242,1388,1214,1518,1516,1138,1236,1628,1444,1048,1268,1234,791,626,996,988,1148,1230,1054,1208,1032,623,780,1216,1150,900,1034,1158,1144,1268,1184,932,730,791,1194,1230,969,973,1216,1332,1098,708,670,538,423,405,644,823,592,388,390,374,448,485,406,357,395,345,313,296,330,399,462,737,943,619,411,698,1028,661,418,608,751,1038,1246,1286,1184,910,467,404,563,1246,1406,1110,1418,1428,884,683,645,1190,1023,548,459,623,1021,1044,826,888,839,509,676,1017,1354,1007,879,1174,1556,1332,802,864,1074,1272,916,836,926,855,921,821,619,650,824,972,1080,880,720,971,790,710,544,541,573,731,1009,804,327,352,483,576,475,419,332,346,340,336,391,562,639,689,813,727,739,678,615,616,534,440,386,323,344,398,743,803,526,637,466,351,273,283,311,387,801,933,684,419,377,397,406,427,288,260,237,249,246,320,391,378,322,291,280,577,854,653,356,596,832,521,580,741,751,465,314,318,335,417,655,853,883,1122,981,606,437,518,1194,1682,1408,1402,1694,988,475,609,887,1312,1220,969,1005,969,515,365,421,359,346,360,332,313,280,277,291,338,367,348,316,314,310,342,356,325,337,380,490,744,796,712,860,837,683,638,595,742,696,583,788,952,904,733,993,955,589,926,835,494,493,512,410,557,796,896,907,988,991,795,863,598,564,489,739,1456,1760,1300,874,857,976,1084,1050,1015,1186,1128,786,556,626,887,940,1162,1564,1350,659,761,1338,1482,1600,1592,1666,1692,1710,1850,1826,1838,1900,1860,1770,1068,750,730,825,1404,1426,1090,791,572,445,416,533,768,1044,1182,800,933,1005,716,808,1178,1382,1546,1748,2094,2126,1606,1410,1372,1282,1210,1310,1456,1476,1598,1538,1698,1638,1390,1512,1582,1708,1708,1388,1022,1266,1452,1526,1516,1432,1260,1234,1492,1476,1394,1516,1724,1310,1342,1176,1178,1500,1422,1044,1090,1214,1298,1388,1592,1372,547,469,519,819,1048,897,625,753,711,794,985,697,735,706,543,432,481,632,549,388,336,569,979,1138,1332,1106,1098,1438,1552,1108,518,275,285,279,260,432,552,619,836,794,1246,1040,1324,1400,1386,1098,699,601,648,508,349,583,858,955,800,421,321,310,285,270,468,957,1204,977,581,344,227,276,359,517,959,1005,458,323,645,1176,1024,339,369,656,907,977,757,897,960,483,565,621,520,601,728,714,673,769,786,509,522,456,727,764,446,1046,771,318,274,289,245,278,626,841,628,695,725,659,738,455,651,589,579,598,342,355,665,946,1060,875,1374,1610,753,371,582,796,490,342,320,514,650,398,274,325,312,285,312,303,413,562,473,428,472,466,841,1410,974,717,970,681,403,614,736,968,1272,930,566,663,623,475,333,371,393,345,329,302,307,343,399,507,607,657,591,487,454,387,361,355,364,363,359,364,368,370,369,381,380,367,410,408,365,352,354,363,435,431,481,559,514,435,483,498,460,588,1032,733,511,497,615,711,866,811,550,534,540,633,963,922,462,390,459,432,442,469,370,424,509,496,491,684,880,854,781,678,982,1210,1092,1058,950,695,487,441,473,573,452,662,544,352,303,292,406,362,440,894,1238,1168,802,855,1228,844,871,672,669,586,412,484,443,428,458,277,160,151,148,175,218,235,224,248,301,315,445,523,455,369,312,306,296,285,298,311,323,395,358,287,357,477,461,404,378,383,372,371,361,372,378,360,362,370,350,344,376,408,407,359,368,367,380,388,372,370,380,372,352,349,366,381,391,377,379,377,391,399,355,341,356,365,348,372,479,562,627,685,651,592,434,370,440,480,486,535,501,377,427,579,678,650,375,362,419,406,426,426,653,1136,1164,926,860,687,780,830,575,404,325,294,278,288,300,338,346,353,367,440,724,1040,933,811,502,386,340,559,555,447,559,638,728,1014,1028,633,556,627,1080,1058,887,630,496,488,589,780,821,559,625,773,916,1278,1226,1232,1384,1472,1522,1382,1336,1346,1340,1176,817,833,1052,987,1146,1356,1306,1356,1422,1554,1518,1244,1182,1214,1120,745,491,381,840,1488,1602,1172,769,712,550,796,1546,1636,1086,694,604,408,467,490,771,805,695,919,937,1196,1722,1598,1296,880,539,493,508,903,838,1300,1440,1076,962,996,1440,1470,1348,1464,1600,1566,1384,1015,1170,1500,1422,1388,1262,851,842,912,823,858,845,1156,1188,1128,785,976,1134,1086,1512,1996,2004,988,1140,1284,918,1080,1100,1360,1302,1256,1440,1376,1350,1428,1562,1490,1480,1088,1002,983,838,1003,1100,1168,1554,1168,675,616,742,1122,979,836,888,491,297,277,289,286,270,280,287,277,286,274,261,282,282,286,380,365,298,274,271,265,260,263,268,274,274,273,274,245,248,250,260,276,296,306,306,285,276,266,283,281,278,255,275,315,328,318,309,308,312,325,341,338,315,334,368,325,405,408,335,308,296,271,274,397,832,1086,871,520,590,990,892,717,742,1186,1360,1334,877,707,1334,1100,860,709,1078,1374,845,513,642,905,1024,952,871,958,1024,1074,957,1076,1098,848,662,667,981,1036,704,565,468,422,446,455,382,663,650,437,374,337,341,365,464,525,474,448,502,837,565,487,445,449,789,868,634,610,999,1198,1404,1372,912,565,823,1202,896,794,581,451,397,403,505,548,576,698,778,1208,1874,1356,1394,1002,587,475,514,600,525,697,844,699,609,700,942,1028,1284,1490,1334,1412,1274,673,512,577,609,631,579,813,489,755,1156,1436,1682,1760,1398,1284,1570,1200,617,620,619,605,579,551,449,397,421,485,467,560,891,1206,1158,811,477,757,695,544,755,841,592,1013,1182,904,885,611,734,968,1232,895,743,774,735,678,939,1222,981,673,444,477,542,648,772,1080,1476,1158,634,491,686,740,705,676,662,954,1732,1318,601,695,715,683,845,783,641,816,818,960,1376,1562,1274,1042,1516,1944,1098,750,1264,1944,1610,922,711,672,623,926,1600,1758,1470,1232,1668,1630,1032,1308,1300,1394,1462,1204,1072,1386,1444,1432,1322,1400,716,428,352,330,344,357,382,362,354,379,404,415,398,406,383,360,432,482,447,576,480,340,357,349,286,336,476,359,294,383,443,406,314,311,302,286,287,262,262,288,280],[442,416,384,374,337,302,327,359,481,505,502,505,505,449,403,386,386,354,336,328,328,321,350,344,331,302,310,329,315,296,295,313,301,268,247,262,293,321,341,331,314,336,357,347,318,283,300,310,304,264,280,289,256,262,261,256,271,280,304,352,358,270,256,295,317,290,267,267,291,307,292,311,292,264,263,261,285,279,296,306,316,318,318,326,399,426,499,503,367,310,310,321,342,306,266,282,310,292,322,346,345,350,344,326,365,418,425,423,398,400,567,889,904,616,438,459,487,529,560,616,721,875,866,910,970,1162,883,653,574,595,796,1056,1114,1146,1098,747,464,378,747,853,705,577,976,1324,1152,1202,1696,2132,1586,1008,1144,996,1210,1130,1088,979,1218,1204,945,1092,1262,837,573,480,439,506,509,418,456,1194,1904,1794,1338,1086,1078,1286,1216,877,788,783,1168,1150,821,1092,1630,1470,1208,1282,1176,804,646,587,853,1003,812,700,462,749,796,479,501,722,766,619,1038,1136,828,450,448,641,587,486,565,551,551,474,424,519,634,846,1284,1428,1058,829,886,1172,1252,1324,1448,1538,1852,1240,808,735,883,1168,1294,1708,1766,1188,1001,1064,1334,1466,1096,926,720,1015,1432,1148,819,1034,998,791,1158,1244,977,577,597,624,598,941,1048,1264,824,1232,1522,1064,854,1176,1816,1766,1226,1288,1506,1526,1140,585,477,545,811,1168,978,568,566,549,539,771,727,716,609,596,1498,1748,1490,1666,1428,1272,886,529,507,547,661,730,939,1544,1280,985,915,922,1172,1364,1526,1710,1630,1350,1288,1264,1144,1480,1570,1344,1212,1372,1896,2046,2008,2186,2244,2110,1824,1330,614,385,397,329,298,276,268,255,273,265,295,349,503,771,869,1044,1500,1168,750,664,686,835,804,775,1346,1606,1124,451,832,1302,739,365,398,689,708,451,486,548,739,888,880,1498,913,755,946,902,1102,953,807,1017,1246,1676,1736,2156,1892,1330,1428,1386,1256,1042,979,1204,1422,1606,1374,1488,1770,978,510,710,924,1202,1290,1001,1036,1220,921,599,897,1030,1036,971,980,1248,1610,984,924,1078,1212,1332,1360,1336,1176,931,849,1288,1726,1142,723,993,1534,1070,579,757,1158,1328,1318,763,755,834,948,935,861,1124,1084,1046,1434,1476,1434,1544,1506,1108,897,1158,1204,1140,1076,1116,944,879,961,1112,1104,709,476,858,1050,965,924,1400,1418,1426,1636,1556,1282,863,681,902,674,500,793,1112,907,631,444,368,481,568,465,912,1374,808,406,380,328,357,392,410,402,342,309,301,295,295,361,410,401,361,454,652,962,1302,1005,537,732,976,1438,1548,1168,1306,1376,792,551,667,1316,1324,1460,1654,1296,1030,855,941,1166,926,436,457,693,1014,1200,989,968,628,483,563,924,1180,1108,814,844,1434,1156,721,614,750,1106,777,671,927,1180,1001,822,749,697,667,983,1046,1130,1240,1178,1052,951,788,657,523,653,730,514,321,323,416,391,437,413,373,369,379,506,438,437,517,719,694,693,857,932,584,464,371,455,525,470,379,536,917,538,472,560,591,500,329,249,267,458,655,681,621,575,419,379,335,433,382,294,263,279,308,300,271,265,274,286,311,386,656,916,552,600,584,482,460,569,697,667,587,342,291,362,450,545,878,1486,1428,719,348,306,787,1404,1404,1856,2296,1632,777,590,677,1058,1306,1003,688,718,569,605,550,350,332,304,286,276,265,270,283,289,326,392,351,307,321,352,316,302,327,350,351,375,473,658,733,800,688,436,460,555,656,879,888,836,661,547,443,379,519,697,527,453,717,885,641,661,972,1482,1248,473,321,597,800,477,400,318,641,1368,1638,1166,719,733,788,959,840,829,924,927,741,733,776,773,860,1308,1582,1498,782,876,1408,1520,1548,1626,1636,1692,1738,1778,1816,1804,1910,1790,1814,1028,785,849,816,1434,1470,1112,915,764,739,962,1312,2122,2498,2236,1142,1066,996,695,872,1164,1382,1640,1666,1788,1630,1472,1544,1456,1388,1280,1316,1568,1776,1632,1560,2092,1932,1422,1578,1638,1632,1682,1354,1406,1722,1664,1810,2004,1544,1282,1584,1504,1416,1528,1406,1420,1600,1684,1122,962,1140,1013,676,712,771,976,1015,1284,1068,616,596,777,892,943,783,648,844,783,631,738,567,543,574,621,536,477,690,761,551,299,506,952,897,816,743,744,753,1076,1200,691,293,298,268,269,349,424,708,838,749,852,977,1370,1450,1466,1326,915,794,1094,676,590,547,582,662,893,645,445,407,431,455,647,777,897,929,480,255,292,361,386,503,899,800,366,283,680,1302,924,371,343,551,764,959,561,452,593,471,411,425,437,518,619,609,545,530,486,354,464,562,871,683,345,553,450,226,233,245,313,469,666,666,889,1266,822,745,906,589,480,488,818,984,417,407,1040,1350,1772,1240,1238,1672,1080,625,787,693,430,299,308,324,508,534,350,550,646,520,438,323,337,361,267,231,267,327,705,1394,1168,697,617,494,392,594,802,1086,1312,932,547,661,606,492,336,339,349,315,319,333,341,374,430,469,471,502,542,540,449,376,341,355,372,372,376,376,372,377,385,405,399,364,402,392,379,367,354,355,391,406,429,582,731,700,656,713,810,634,694,673,700,646,851,1048,899,807,630,542,524,798,1118,844,535,697,709,637,503,375,371,399,517,493,501,818,839,963,1192,1354,1508,1338,1146,693,534,576,489,682,792,703,642,915,937,611,559,661,650,744,973,1068,1458,1722,941,645,755,867,822,651,602,471,354,310,313,319,374,401,249,155,136,166,223,250,242,293,311,336,455,532,484,386,335,306,316,296,297,292,282,309,309,285,311,362,414,471,378,362,360,387,375,363,366,384,393,383,347,318,301,374,436,343,353,365,380,380,370,376,379,369,370,372,360,353,383,385,405,415,429,448,440,448,442,449,468,459,501,576,655,659,696,689,462,383,428,444,461,519,513,388,396,523,616,605,413,410,454,444,486,461,871,1732,1060,1008,979,764,750,621,447,333,284,257,261,291,307,295,295,369,411,513,779,994,882,697,471,360,310,344,393,380,393,532,650,554,864,716,541,716,1058,1102,863,608,500,737,1308,1532,1446,797,571,579,777,1122,1450,1418,1332,1582,1444,1280,1384,1226,927,539,468,584,700,816,1124,1320,1310,1316,1322,1372,1400,1306,1294,1298,1318,1188,1098,950,929,1142,1290,897,684,694,547,700,1526,1394,674,471,518,426,509,570,771,880,885,1122,854,1005,1300,1094,1070,1150,1036,856,849,1036,1134,1348,1468,864,802,1206,1166,1032,1130,1462,1710,1646,1642,1054,1108,1448,1224,1282,1496,867,865,968,1011,1080,1134,1206,1108,1400,1346,1016,971,1266,1656,1708,1976,1356,1336,1336,1244,1256,1400,1616,1482,1334,1324,1250,1228,951,526,731,1304,1150,1252,1102,1200,1310,881,1488,1998,1130,839,882,756,841,1034,1266,1013,487,291,286,284,286,293,286,272,278,278,259,291,290,276,284,294,314,322,293,271,278,262,266,261,266,274,273,263,265,266,262,263,267,291,305,304,290,280,278,270,290,284,277,280,305,336,349,354,355,351,355,321,356,364,346,336,331,344,348,321,288,277,301,307,334,626,900,625,496,947,1360,1306,824,648,1010,921,1150,752,833,1252,1208,1438,1242,1702,1632,636,240,489,1102,1452,1206,777,586,686,738,594,703,755,796,797,760,991,1172,962,929,940,932,888,795,878,1226,812,489,430,368,365,350,401,453,460,492,516,983,723,512,495,489,897,1314,1023,793,1192,1172,1284,1432,1126,1102,1126,1322,1058,558,370,401,473,680,851,702,604,806,861,1228,1666,1520,1672,1013,494,439,468,405,408,449,519,436,414,504,604,606,636,869,971,1030,1024,816,497,338,433,587,432,440,437,656,650,932,1532,1746,1416,1362,1346,1236,613,481,515,563,567,540,468,456,400,426,570,763,654,627,565,462,348,413,403,296,637,976,736,967,1302,852,829,372,498,860,1256,1006,790,713,1340,2254,3138,3874,2722,1480,980,632,537,594,628,924,1278,946,492,357,531,588,441,444,796,1062,1402,1250,1410,1060,794,894,1068,877,717,856,758,735,999,1240,1180,786,1106,1704,1164,769,1254,2030,1752,1050,857,686,606,751,1310,1730,1684,1268,1366,1438,1262,1056,1134,1354,1360,1082,1160,1286,1224,1166,1362,1410,977,656,465,461,484,564,548,397,370,362,370,431,419,425,386,535,681,654,577,423,357,343,334,317,270,272,245,270,262,274,309,296,265,271,269,274,266,282,261,310,321],[400,384,407,439,460,504,431,546,540,528,463,469,488,485,416,377,374,363,341,346,385,439,447,423,341,274,293,299,276,278,276,283,275,263,253,279,309,295,292,304,313,311,286,292,295,287,304,312,286,300,308,319,337,301,285,322,324,294,294,352,365,296,318,322,313,294,285,287,294,296,287,292,291,280,271,285,288,302,310,322,324,338,362,362,371,381,422,432,384,310,304,327,343,301,265,270,310,301,314,348,331,342,356,357,388,394,397,390,408,378,755,1326,1294,777,475,447,429,438,469,476,519,850,1060,985,993,1009,890,868,830,794,874,979,1086,1052,767,576,402,408,402,633,886,1188,1660,2006,1844,1390,1020,1128,1466,1354,1448,1432,1350,923,667,979,1382,1168,1254,1456,1184,1172,706,564,483,459,400,383,427,1008,1888,1892,1520,1302,1222,1356,1294,1256,1216,1070,1190,1060,1044,1212,1262,1356,1024,927,957,608,529,487,913,1140,1028,811,583,429,514,612,558,413,476,604,1036,974,628,424,537,1068,991,535,590,576,522,544,532,637,880,1246,1660,1570,1358,1314,1082,1040,1172,1436,1462,1700,1664,1234,993,1050,1170,1296,1544,2058,1834,1448,1452,1572,1232,1204,793,819,963,957,1286,1218,1248,1628,1200,879,1040,1224,1062,732,693,864,770,861,967,752,711,1450,1808,1468,1100,1258,1582,1194,880,1206,1444,1348,1010,584,546,615,929,1372,1056,500,342,432,515,470,736,991,948,625,928,1420,1802,1842,957,1002,729,550,478,502,538,779,932,960,870,1004,1020,895,1146,1304,1300,1300,1010,985,1160,1172,1324,1564,1548,1396,1228,1730,2340,2264,2310,2384,2556,2394,1954,1576,929,525,414,373,358,289,277,242,256,341,545,841,1064,950,897,1040,1034,924,933,1024,1036,906,786,875,946,999,929,514,432,517,557,645,640,642,661,763,756,693,993,857,648,1068,1138,1362,1280,880,747,766,707,1080,1618,1722,1514,1454,1242,1112,1152,1094,1064,908,937,1212,1626,1864,1402,1096,1066,987,1023,1184,1086,1032,1054,898,926,1386,1346,582,438,677,1158,1124,983,1086,1312,1030,879,1060,1218,1274,1684,1750,1222,1009,758,1266,1490,891,556,833,1040,899,635,692,1036,1194,1116,771,1194,950,713,919,1388,1428,919,804,1070,1328,1508,1430,1550,1698,1588,1362,1422,1338,902,563,666,844,858,1176,909,670,831,1282,1212,1080,1358,1644,1294,1290,1494,1250,932,956,636,529,321,282,388,443,448,448,465,571,671,558,408,919,1460,881,480,412,378,370,359,343,367,358,309,314,332,309,314,374,405,518,665,976,1412,1770,1568,944,959,1070,970,1048,1052,1426,1396,992,781,807,884,1142,1294,1050,857,896,1242,1876,2088,1664,747,638,1004,913,957,905,781,557,493,462,414,735,1506,1284,1038,1642,1456,1010,763,844,982,916,976,997,912,866,1140,1304,1092,898,819,738,606,631,1005,1228,1156,984,623,548,531,487,385,357,328,399,514,492,405,425,505,1021,1290,659,543,669,720,460,475,617,644,576,471,289,382,623,638,463,788,902,490,422,460,523,452,430,349,233,431,808,788,358,465,417,514,501,432,376,349,324,327,308,265,250,233,250,290,332,356,420,839,712,559,514,597,540,487,595,913,1126,526,295,208,249,363,749,1496,1768,1040,414,332,784,1372,1810,2098,1920,1620,928,590,467,649,796,755,700,678,757,672,407,350,334,287,271,260,255,269,267,261,280,315,314,309,310,366,349,323,346,361,363,362,358,326,320,373,380,393,396,472,480,495,650,692,558,637,630,561,639,629,484,412,656,802,647,644,998,1244,791,485,454,698,700,553,656,518,595,1046,1488,1170,733,664,644,774,640,683,811,750,816,1028,921,658,846,1350,1494,1618,898,1004,1356,1434,1404,1520,1562,1512,1540,1560,1530,1736,1938,1810,1812,1034,747,875,802,1050,1258,1194,1062,1042,1274,1432,1528,2128,2602,2570,1490,1122,1068,680,805,1218,1546,1566,1406,1560,1844,1958,1754,1682,1750,1604,1660,1842,1864,1816,2156,2360,1770,1428,1422,1496,1638,1604,1772,1726,1714,1656,1870,2634,1976,1526,1610,1570,1670,1622,1596,1516,1460,1292,1108,926,973,1026,397,361,366,417,420,615,638,614,734,908,1064,926,645,780,1212,935,611,537,633,761,766,644,596,546,673,812,629,272,373,869,927,980,1180,1440,1388,1512,1628,960,321,248,253,286,304,364,694,777,818,822,954,1290,1488,1506,1528,1236,892,1218,758,597,620,586,545,847,792,554,624,652,680,745,765,869,603,348,252,268,276,339,360,503,476,315,250,396,554,364,356,400,440,661,753,509,337,478,737,724,684,800,524,309,320,390,364,329,316,300,651,912,614,446,404,259,233,252,272,339,489,812,722,1076,1278,752,771,859,501,332,424,820,944,423,334,918,724,974,745,816,1532,1262,700,1019,1256,868,358,386,323,449,529,415,928,1140,788,573,610,471,378,426,406,267,357,666,1306,1368,951,940,850,516,617,891,1100,1206,810,624,731,634,534,380,345,350,311,305,296,316,355,389,412,418,366,505,599,490,396,349,343,363,367,370,375,388,423,412,429,439,421,415,401,380,369,360,362,367,364,386,460,552,680,691,926,996,741,631,808,965,857,942,1050,708,700,582,511,573,1118,1196,733,650,822,1058,1378,1502,1224,495,317,376,426,460,636,692,788,824,1118,1294,1528,1874,1060,1032,689,394,372,356,393,463,471,424,497,674,926,1318,1422,1038,789,993,1030,742,518,511,722,753,717,613,453,308,312,295,200,197,380,359,218,168,248,302,362,442,303,276,317,363,455,516,376,301,290,307,298,280,273,280,292,292,293,281,289,301,311,346,375,428,431,393,387,370,370,361,361,346,320,318,371,368,345,346,358,380,384,384,392,375,366,367,359,355,360,381,386,416,421,425,446,469,477,459,473,493,491,473,536,611,636,656,603,429,340,398,430,451,474,529,417,443,590,836,1028,722,465,465,473,544,526,1148,1948,955,880,933,802,618,628,597,457,356,296,281,283,272,260,278,380,447,437,515,675,650,496,384,342,332,302,281,350,376,467,475,513,626,519,506,860,1136,923,689,586,551,752,1272,1308,1316,1062,934,709,710,1280,1666,1348,1436,1578,1402,1492,1362,854,504,496,569,682,835,969,1182,1208,1276,1354,1274,1210,1346,1354,1370,1370,1368,1434,1612,1696,1210,800,555,598,739,686,953,908,1208,1012,643,785,685,426,607,721,866,1078,1026,877,1066,912,755,828,1009,927,775,1128,1324,1354,1258,1126,1128,660,587,1358,1182,887,831,1182,1260,1202,1316,1368,1610,1498,985,869,1244,871,671,988,1250,1212,1404,1528,1372,1404,1440,1176,975,1066,1282,1354,1632,1876,1544,1094,857,844,924,1038,890,1010,1288,1190,1122,877,661,818,1200,946,936,1244,1470,1234,802,1252,1224,1096,816,767,625,481,925,1078,640,375,316,287,268,274,282,279,268,281,301,310,304,286,270,265,269,306,344,346,292,291,273,265,256,252,259,256,259,263,253,267,249,275,293,314,301,299,285,265,282,294,284,290,285,285,313,340,333,349,344,322,311,323,364,355,314,307,315,309,273,266,283,307,322,303,345,444,448,528,1038,1388,1258,820,562,683,653,866,610,1060,1204,1390,1654,1128,1094,870,309,246,383,932,1584,1156,794,471,440,538,573,607,724,756,586,554,960,1194,930,980,835,738,1030,990,984,1050,998,985,736,656,528,398,407,460,454,484,575,1013,758,459,485,545,816,931,709,855,1168,1096,757,681,1042,1420,1270,1322,1204,646,456,555,736,993,1172,1128,1124,1616,1526,1186,1436,1746,1094,484,389,382,361,358,473,448,408,350,495,538,498,457,397,388,427,509,617,540,440,402,458,467,350,317,420,673,714,556,1042,1484,1556,1352,759,1070,648,417,409,423,436,398,512,558,380,374,529,940,473,629,1032,822,515,535,545,402,678,1148,1001,1044,1388,835,874,491,399,748,1090,969,834,730,2170,4344,5348,5956,5480,4024,2204,1012,623,415,677,1212,1011,574,466,369,346,240,257,320,781,905,1100,1588,1954,1406,867,989,1492,1472,1072,1050,750,556,627,748,766,449,675,773,633,615,920,1234,1120,849,803,532,493,480,793,1380,1580,1612,1494,1344,1270,1222,1242,1170,896,549,936,1040,1070,1328,1332,1272,1376,1296,1156,941,933,943,681,485,396,401,475,511,453,419,382,504,604,639,544,371,347,321,343,276,260,278,276,275,266,310,308,270,265,274,250,263,289,306,302,338,353],[387,389,412,377,364,451,427,592,570,486,482,460,454,470,418,406,391,367,375,386,390,537,496,428,337,277,299,300,280,305,280,285,272,264,265,275,285,317,364,335,282,276,263,268,273,306,331,356,333,290,304,341,376,357,351,365,332,343,351,359,359,297,332,314,298,291,288,282,279,280,283,289,284,292,346,401,363,315,294,322,351,375,355,330,327,332,311,299,281,285,279,282,290,287,285,290,314,314,309,342,350,380,338,378,402,437,450,420,414,368,568,913,882,609,422,426,448,446,408,495,666,1072,1100,862,898,852,837,859,866,883,858,823,869,758,552,445,439,487,450,394,467,780,1380,1660,1610,1372,1312,1082,1136,1302,1494,1632,1420,1350,1196,1074,1328,1100,1240,1338,1152,1418,993,785,681,530,414,293,430,988,1424,1438,1294,1294,1316,1352,1288,1570,1430,1132,1082,1092,1238,988,904,1516,1146,1210,1012,856,1030,921,826,1096,1106,700,738,613,988,1100,971,855,824,840,1019,720,449,483,552,682,651,530,530,525,417,569,713,1096,956,594,985,1428,1640,1658,1466,1162,743,982,1366,1698,1374,1160,1058,1570,1660,1110,1350,1888,1546,1526,1568,1426,1444,1246,816,651,819,1020,1270,1188,1582,1836,1062,1001,1204,1394,1144,1210,1023,960,1042,1026,1054,1074,1006,1018,1182,1310,1064,840,641,533,734,1208,1398,1334,1078,650,683,778,935,1020,720,492,472,477,372,574,910,950,717,491,879,1522,1426,1076,882,932,973,897,716,684,590,665,897,880,1044,1284,1234,1162,968,1002,1088,1112,956,1080,1288,1382,1356,1376,1620,1416,1442,1714,2006,2004,1900,1598,1600,1808,1980,1876,1246,670,554,526,411,317,280,251,395,801,1130,1210,1130,838,929,1136,1114,1212,1122,1080,1532,1608,1688,988,636,1050,1094,670,540,849,843,752,784,828,855,1017,951,889,743,673,742,1026,1202,979,749,750,813,792,1013,1556,1908,1610,1136,893,877,847,810,770,785,795,1054,1322,1254,967,843,951,1224,1472,1520,1600,1524,1252,1266,1094,1110,1110,888,633,722,980,1110,1112,1028,1242,1376,1236,965,982,1218,1090,1560,1386,1190,1636,1450,1428,1344,1062,913,959,951,810,698,897,1168,1212,1190,1328,1502,992,924,1160,1378,1360,1124,985,988,1118,987,1060,1598,1840,1708,1382,1266,1220,1108,945,828,1088,1034,1476,704,695,1376,1494,1368,1176,1168,966,644,601,658,631,678,970,779,530,336,306,381,431,562,544,590,879,879,727,370,469,758,627,521,459,386,369,348,313,353,399,342,328,359,340,336,353,348,392,404,813,1338,1610,1422,1200,1210,887,1054,1156,773,1013,921,917,1204,1256,1168,1210,958,686,717,841,1272,2148,2070,1476,1412,1200,1084,1116,1122,1136,941,545,503,471,480,788,1182,1204,1372,2512,2858,2360,1854,1434,989,1058,1298,799,639,474,562,815,1042,1070,1076,894,620,633,696,933,1158,1034,685,810,505,363,323,317,341,490,570,433,421,466,512,634,573,630,531,787,830,673,514,468,406,433,471,401,382,400,329,426,935,696,493,358,362,428,438,487,405,319,463,626,718,541,389,378,507,514,384,308,272,312,369,317,271,197,230,279,284,269,316,359,582,789,676,511,646,649,491,495,708,1134,595,263,238,271,302,490,1128,1594,1294,821,524,904,1188,1444,1212,980,1166,841,617,556,475,544,855,899,679,716,573,348,343,354,365,343,284,252,259,258,261,268,268,293,351,338,424,509,459,377,359,355,359,318,306,350,344,318,293,388,553,568,602,654,488,504,605,706,747,741,926,716,612,491,482,407,427,1030,1080,786,803,626,641,705,584,550,565,656,1184,1340,982,1114,1308,1042,706,749,899,794,810,1042,1204,1230,969,1216,1338,1396,1632,1170,1164,1418,1544,1522,1526,1428,1408,1362,1404,1340,1838,2008,1890,1870,1168,641,653,736,1018,1200,1450,1422,1356,1302,1362,1566,1928,2400,2380,1346,964,1162,705,613,1040,1548,1532,1578,1624,2020,1926,1610,1510,1664,1904,1816,1662,1992,1920,1732,1316,1116,1228,1412,1596,1704,1516,1710,1730,1502,1604,1826,2676,2004,1562,1570,1672,1604,1468,1478,1410,1320,1328,1462,1246,1160,1226,523,383,332,332,493,724,743,743,758,785,888,732,373,477,990,1026,630,511,686,1182,1102,583,614,561,572,573,425,279,332,802,996,1124,1470,1720,1522,1476,1346,760,340,247,281,265,303,357,574,670,696,818,843,1074,1416,1478,1536,1476,936,728,566,573,601,667,688,775,595,418,525,638,705,775,944,795,445,279,244,229,211,246,233,287,264,232,250,324,302,263,260,417,426,590,733,638,526,616,807,734,737,847,665,457,464,635,507,324,338,316,766,967,428,469,618,610,318,339,399,355,434,602,592,864,913,694,823,1036,574,417,358,544,515,379,358,794,637,359,383,711,1312,1192,933,846,1238,1180,441,361,324,405,557,702,1092,1280,1034,880,778,534,480,535,467,277,334,817,1346,1418,1184,1206,1328,742,590,800,1004,1248,900,633,639,598,514,392,349,346,295,287,297,346,365,401,417,447,440,515,529,455,413,404,364,351,355,362,375,410,390,393,408,408,410,397,382,378,359,371,403,391,359,365,402,415,448,464,422,437,569,596,727,965,930,1144,1232,847,502,485,550,786,1110,1064,803,722,1076,1470,1936,2178,1264,616,409,403,407,359,335,650,1082,1128,1076,1050,1176,1896,1122,1186,850,436,350,422,439,357,356,421,334,295,778,1396,1066,498,672,949,1094,786,434,422,561,772,741,492,495,406,265,182,164,148,199,295,269,215,246,252,426,499,265,284,326,338,415,572,422,280,280,293,298,293,293,309,315,311,375,346,308,299,313,377,473,623,656,543,451,365,374,368,355,358,346,336,336,346,367,361,374,401,422,422,384,368,375,372,366,370,385,389,389,413,433,438,429,466,489,484,503,511,481,480,544,595,612,592,536,421,336,413,392,380,382,425,427,626,945,1218,1108,743,603,523,478,458,438,400,452,831,1290,1194,788,621,753,880,883,724,444,300,290,270,270,285,331,386,420,364,364,384,367,361,387,323,300,289,393,419,417,425,677,713,499,443,719,930,955,1002,1018,1009,1104,1238,1424,1512,1246,889,587,924,1554,1482,1388,1472,1348,1172,1172,962,920,774,573,690,979,987,1108,1292,1334,1206,1532,1374,1266,1290,1262,1322,1334,1324,1488,1612,1520,1876,2178,888,669,638,667,1492,1466,1416,1036,771,1248,1228,573,708,907,1070,1324,1096,1066,1436,1154,1034,1354,1626,1266,935,1226,1392,1184,1150,1316,973,694,635,1010,1174,1096,738,825,1001,741,600,1002,1472,1398,1066,802,1070,1350,1062,1224,1622,1236,1158,1380,1322,1196,1376,1368,1368,1430,1524,1580,1848,1576,1088,1182,1216,1023,741,830,734,999,1236,1086,1182,1134,957,1023,1246,1054,1116,1364,1180,647,625,1274,1434,1242,765,874,938,677,755,666,384,316,320,260,246,268,258,282,283,287,306,310,300,256,245,248,267,285,291,346,306,290,280,255,232,234,246,248,248,265,250,270,247,277,298,318,322,311,299,288,300,303,286,290,294,284,289,286,326,316,287,262,260,280,320,330,299,299,328,315,261,234,244,275,309,320,343,395,408,511,827,1012,960,676,485,862,1042,900,805,904,1084,1552,1520,930,467,361,275,255,289,458,662,713,720,648,763,787,686,671,712,662,645,599,1016,1042,1118,1108,653,419,553,550,912,1440,1290,1108,1210,1396,852,487,470,643,807,828,867,937,774,583,492,526,617,512,402,555,857,1046,733,535,866,1244,1132,1088,1432,821,621,821,1168,1478,1716,1592,1776,3630,3890,1686,872,1110,645,525,412,429,371,347,348,339,304,333,464,425,453,455,427,426,428,420,424,466,478,437,483,473,373,363,467,980,1222,504,670,1170,1498,852,433,903,847,519,365,333,304,371,669,676,427,364,389,921,761,911,1394,1148,670,681,677,528,653,1256,1120,1048,1352,933,736,408,481,902,1166,1036,885,1144,3066,4956,3610,2286,4424,5640,3242,1122,772,525,769,1282,971,502,444,378,271,207,226,292,773,969,927,1112,1576,1814,1376,1236,1614,1340,1050,1112,733,535,522,630,610,428,415,500,583,532,780,575,626,637,571,599,688,487,410,919,1410,1744,1744,1428,1264,1150,1086,946,667,377,676,1005,883,976,1154,1350,1534,1472,1412,1122,1228,927,518,546,437,398,425,394,382,389,401,409,444,495,399,336,360,336,337,287,290,303,336,358,404,426,339,272,263,263,277,324,382,350,308,367,443],[418,437,437,414,343,313,300,364,419,468,475,455,422,415,413,415,405,413,484,446,357,372,388,357,311,277,281,283,285,333,295,290,283,281,289,294,285,310,364,322,278,300,295,343,339,321,324,326,310,333,372,355,343,346,399,367,329,331,339,335,313,320,297,279,272,277,285,289,297,290,296,296,288,286,391,440,408,328,304,330,344,332,280,325,366,332,285,297,310,285,274,293,314,315,304,306,312,315,314,336,328,341,290,458,700,681,450,420,382,400,431,477,447,418,442,430,462,462,407,508,813,1080,1146,1084,706,657,694,758,792,810,825,816,857,833,761,680,612,505,451,399,372,368,538,752,780,1146,1710,1524,1174,1062,1390,1364,1342,1566,1252,1318,1782,1630,1550,1250,1688,1992,1772,1406,957,753,514,312,479,1162,1482,1440,1092,1442,1294,1100,1284,1530,1184,793,804,1060,1216,836,922,1108,1120,1238,1222,1160,1328,1054,505,814,1028,813,1072,622,891,1222,1318,1288,1122,1060,1084,794,619,513,542,608,615,534,530,563,585,589,744,1182,1136,767,998,1376,1388,1370,1346,1492,990,1178,1822,1244,1038,913,987,1626,1546,1216,1268,1472,1474,1338,1426,1470,1300,1162,799,499,763,1194,1156,1162,1578,1028,965,1274,1412,1322,1288,1434,1162,939,1020,1302,1378,1312,1182,794,730,1066,1112,1174,1017,949,1076,1200,1246,1354,1318,1216,1308,1238,1116,998,568,583,688,432,284,479,694,738,532,379,490,706,738,551,683,770,1038,904,536,553,600,866,1208,1026,894,974,1004,1282,1178,1066,952,769,747,1152,1350,1418,1450,1472,1438,1166,1352,1432,1640,1522,1570,1866,2302,2584,2502,2204,1498,830,662,532,596,497,317,255,636,863,691,839,805,952,1700,1632,1362,1650,1396,1348,2156,2230,1854,1026,795,1036,1098,1176,1052,1138,731,569,534,542,600,897,973,896,713,588,466,489,547,614,475,536,520,589,855,1124,1368,1094,538,567,684,667,884,875,1034,1180,1242,1052,947,1272,1658,1946,2048,1710,1284,1166,1003,912,1030,1234,1318,926,594,852,1014,1004,1476,1448,1080,1410,1478,1336,1012,849,1176,1300,1386,1288,1554,1720,1654,1406,984,1028,1294,1122,1024,625,583,841,1168,1206,1662,1738,1158,1032,1302,1342,1402,1346,1142,1074,869,633,499,758,1502,1608,1474,1208,654,794,1086,1234,1406,2234,1710,969,437,560,830,861,1140,1118,706,502,482,465,716,741,834,677,800,744,385,282,345,424,503,497,604,896,1009,1052,763,775,548,643,741,509,380,364,318,340,390,466,483,419,383,361,363,345,316,450,437,445,952,1538,1300,1316,1382,875,1188,963,849,887,816,999,1180,1288,1676,1624,1164,950,876,777,872,1406,1264,896,1124,1414,1428,1392,1148,1116,1082,882,737,603,568,658,1130,1542,1696,1812,2212,2410,1780,1262,910,882,1182,948,680,614,670,636,887,1120,1094,999,871,681,962,1188,1358,1320,1148,1034,621,409,422,426,401,430,476,432,479,463,473,548,593,451,533,645,583,771,907,755,480,395,309,379,382,309,325,674,854,582,441,350,383,411,428,413,400,506,771,724,572,658,575,451,388,345,316,297,207,236,332,316,260,214,241,261,314,269,290,368,421,680,895,537,422,589,561,444,611,780,460,285,250,256,292,400,857,1170,1023,877,694,882,939,737,536,786,1094,905,696,781,753,408,570,653,426,622,809,467,363,415,426,466,395,283,270,250,254,260,274,302,318,385,448,480,436,369,342,322,307,290,272,325,364,340,346,435,527,380,523,734,686,647,594,690,701,830,783,770,995,841,785,619,448,759,907,1218,1516,1060,1019,1246,814,536,604,902,1096,962,901,1244,1346,821,651,919,976,749,644,851,968,973,993,1416,1524,1698,1712,1512,1312,1288,1616,1562,1528,1488,1416,1356,1460,1698,2456,2820,2842,2666,1516,671,747,1220,1558,1488,1582,1548,1544,1526,1556,1518,1670,2116,1990,1444,1332,1222,772,582,1146,1486,1528,1596,1766,1886,1616,1456,1232,1182,1396,1510,1618,2584,2316,1404,1266,1312,1438,1534,1624,1714,1728,1822,1288,1210,1656,1604,1766,1766,1560,1586,1692,1552,1354,1334,1306,1138,1090,1262,1148,1418,1416,932,713,448,338,513,733,847,937,857,807,1126,1356,646,395,573,1002,877,559,714,1202,1018,539,620,466,415,416,352,311,298,644,949,1019,1252,1602,1588,1400,785,458,272,239,268,296,350,347,505,680,968,1192,733,865,1322,1434,1508,1456,1192,750,1042,994,741,1020,1126,984,681,453,422,477,503,676,802,670,698,614,279,251,221,246,247,278,245,244,259,450,738,617,459,539,531,751,824,825,1184,974,814,635,512,546,847,810,800,980,648,344,331,412,847,924,468,511,573,580,326,272,270,272,299,439,645,776,800,695,871,937,475,472,517,498,488,639,734,844,694,530,535,619,875,1054,883,578,563,749,533,423,390,529,700,652,662,665,861,1192,904,586,455,359,327,309,462,961,1188,1350,1380,1334,1788,897,650,807,1028,1266,865,569,619,564,494,372,314,331,311,331,314,369,416,456,455,445,507,523,435,374,386,448,394,369,361,362,354,374,360,368,366,368,361,368,378,378,347,369,423,402,380,397,388,421,474,455,422,459,469,445,483,451,566,774,891,869,689,659,641,960,1340,1054,707,658,1002,1350,1522,1378,883,875,824,673,542,449,370,575,981,1242,1138,1308,1500,1434,663,503,461,367,359,367,365,357,373,384,354,285,679,1214,810,553,603,750,797,612,409,355,484,747,775,799,756,370,196,167,164,170,190,267,260,237,229,277,341,274,257,282,305,302,389,519,442,306,267,272,256,291,384,451,498,423,500,464,357,321,365,426,519,667,680,680,593,585,470,369,338,345,357,349,359,386,383,367,384,404,410,403,404,386,396,395,370,364,375,384,392,405,426,440,423,489,495,497,537,522,498,464,467,601,718,649,527,419,354,324,309,330,368,382,433,683,1062,1098,754,679,613,492,448,434,423,360,503,846,1424,1438,985,748,893,1058,1007,1110,880,493,310,278,288,291,303,381,427,399,380,346,323,338,353,302,288,292,331,438,427,373,532,594,503,543,669,1128,1416,1488,1440,1460,1342,1110,1184,1322,1262,955,767,1394,1352,937,1268,1444,1382,915,608,715,1326,1372,704,611,921,1262,1278,1396,1206,1256,1638,1422,1306,1414,1406,1376,1430,1404,1396,1432,1474,2208,1896,685,390,328,422,813,970,761,513,724,1356,1050,504,635,724,1001,1138,908,1042,997,995,1246,1470,1760,1324,779,849,927,686,935,1130,885,977,1001,722,711,670,514,766,838,548,506,453,1009,1522,1526,1274,1110,1038,850,959,1546,1320,1074,1072,1048,1152,1388,1828,1712,1474,1352,1354,1382,929,722,1114,1046,714,780,938,764,659,922,919,777,834,926,910,1021,1178,1340,1588,1256,681,645,1086,1378,1220,879,967,981,677,677,534,336,304,289,250,258,245,256,273,275,288,288,304,311,299,295,280,274,272,265,291,291,295,290,257,247,270,265,264,252,255,249,255,266,281,303,321,319,309,297,290,291,292,288,288,284,280,291,280,293,277,260,253,248,267,295,302,301,286,314,292,261,258,244,246,284,315,328,329,336,375,461,451,412,432,658,1018,1086,1104,1028,1032,1190,1290,1220,816,455,430,382,379,388,428,398,912,1678,1600,878,566,479,547,655,686,594,597,897,1070,1082,952,657,442,508,633,1146,1754,1730,952,1032,1336,786,463,494,709,895,1086,1250,1024,853,654,738,818,815,517,391,639,1024,1001,796,916,1032,1042,1048,1154,2334,1138,929,1562,1970,2134,2172,1774,2048,4400,5448,2490,682,717,827,579,429,475,389,329,321,274,402,744,857,963,930,592,508,544,444,424,513,595,550,441,403,310,289,363,506,786,885,473,619,1312,1088,615,462,709,905,611,326,318,310,338,512,599,477,477,635,1054,888,849,1288,1118,621,533,589,558,669,1084,1080,1028,1118,968,557,286,390,793,1176,1100,932,1212,3654,5584,2574,1444,2894,4588,3012,854,837,702,1164,1480,1006,447,567,592,473,312,275,300,677,897,636,736,1566,1676,1088,929,1150,982,1118,1000,612,503,448,550,684,670,457,491,743,907,872,539,599,626,651,594,809,718,382,571,1098,1640,1714,1400,1176,1454,1134,750,667,669,974,1168,953,978,1044,1092,1450,1234,1284,1264,1044,633,433,403,380,372,337,348,362,364,389,389,440,458,419,364,372,354,323,315,315,333,356,376,412,411,373,325,301,290,332,390,441,408,362,442,656],[378,389,403,378,338,310,310,311,365,452,453,453,434,442,458,484,538,583,622,509,352,335,340,324,314,302,285,292,300,326,307,307,309,316,319,316,312,333,364,335,336,379,390,440,550,476,337,313,278,341,354,339,338,295,362,392,507,472,343,336,318,299,281,283,291,280,261,285,332,320,314,302,303,303,376,400,348,332,308,297,274,278,281,332,355,338,305,325,340,359,386,372,332,315,310,320,316,318,330,332,318,291,283,900,2048,1638,511,450,372,408,388,350,440,693,631,460,461,460,476,493,421,390,742,1044,658,586,536,596,761,781,776,814,827,850,839,788,721,684,672,466,382,370,412,414,399,800,1550,1990,1652,926,922,1088,1276,977,854,1640,2348,2194,1534,1202,1734,2150,2086,1344,1058,1304,906,716,816,1626,1812,1434,1150,1252,1426,1284,1334,1436,1106,1044,905,804,728,737,850,897,1146,1436,1356,856,791,639,471,550,666,590,567,367,535,1030,1144,1012,818,808,937,752,800,667,616,612,625,613,552,563,568,594,645,757,897,1020,1250,1506,1346,1200,1020,1322,1036,1062,1198,736,588,720,1044,1196,1446,1976,1888,1440,1688,1382,1760,1856,1178,933,855,474,728,1074,955,966,911,837,1264,1310,1298,1268,1336,1298,1278,1554,1248,1418,1502,1298,890,529,658,792,1300,1546,897,767,998,1136,1244,1334,1288,1274,1418,1440,1560,1108,650,983,980,497,314,330,375,605,580,434,390,406,500,508,638,850,1078,912,647,786,974,1332,1388,913,1256,1186,871,998,1052,1152,1246,886,676,1078,872,1270,1346,974,987,1126,1410,1414,1540,1830,2304,2458,2338,2094,1988,1508,993,1070,1019,860,984,716,400,334,688,785,571,658,600,891,1406,1174,1246,1532,1334,1412,1908,1838,1280,862,915,1036,791,1102,1176,1340,814,585,540,576,630,854,1308,1618,1450,1134,614,340,488,661,591,651,517,763,1094,1064,1038,797,561,600,603,595,825,984,1346,1572,1326,1028,1548,2080,1892,1704,1332,683,500,764,1242,965,921,1248,1136,1014,1044,1230,1176,1324,1878,1816,1206,1456,1316,1122,1114,839,999,968,1038,1308,1382,1472,1230,827,729,1374,1638,1532,1580,941,636,1094,1274,1284,1382,1002,1162,1258,1476,1540,1170,1242,1296,1258,1122,769,571,728,786,885,1348,1066,933,1062,1094,1162,1612,2228,1294,422,289,435,473,498,772,835,543,916,973,717,1866,2024,1396,751,931,805,322,279,323,402,367,311,457,1012,1442,1144,909,1190,1280,1476,1332,702,458,488,475,539,583,625,664,552,427,354,348,361,331,374,442,515,816,951,852,1632,1704,1272,1432,1154,1210,1158,708,622,639,844,1542,1406,1036,1152,1112,1216,1110,1086,932,860,821,801,1060,1572,1268,1190,1542,1600,1444,1021,529,443,1046,1354,1662,2494,2768,2060,1348,1178,714,539,860,1194,1200,908,670,561,689,929,845,1036,1294,1146,835,933,1026,1112,1152,991,874,940,853,676,642,708,777,413,440,456,546,659,639,473,578,641,543,552,738,746,572,401,343,363,381,387,462,829,748,615,623,494,415,324,344,389,474,589,771,802,551,474,626,600,448,406,377,337,208,253,367,309,220,230,265,258,328,347,312,338,401,651,985,879,498,498,656,486,433,497,502,470,276,272,257,321,589,777,594,378,498,946,1258,1074,655,503,555,618,691,905,821,450,367,355,339,446,801,633,411,447,459,533,458,292,285,252,259,263,277,297,344,386,360,361,390,368,364,353,340,306,276,298,334,350,365,365,413,382,493,632,634,625,507,401,464,629,487,984,1254,1216,1050,1004,902,902,1020,1178,1130,1094,1188,1454,926,686,652,888,1232,1316,916,773,659,410,606,830,748,647,452,561,706,650,979,1434,1754,1858,1338,1220,1003,1032,1282,1316,1396,1448,1162,1052,1086,1608,2858,3322,3210,3084,1614,783,675,1358,1928,1716,1682,1798,1956,2014,1964,1728,1636,1902,1750,1480,1622,1228,810,772,1202,1318,1552,1720,1760,1616,1426,1578,1266,1676,1462,1476,1592,1888,1714,1300,1224,1672,1988,1792,1886,1758,1638,1774,1246,1210,1440,1394,1536,1606,1480,1388,1354,1312,1278,1080,948,586,574,1192,1132,1368,1356,1056,819,604,566,755,930,898,855,613,815,1542,2010,1220,574,592,973,1082,689,589,975,813,726,771,559,421,364,288,292,288,487,902,1112,960,862,987,965,660,517,320,260,307,318,315,312,387,553,891,1202,692,634,1160,1388,1486,1540,1448,1214,1148,1144,1296,1374,1268,966,716,517,458,506,451,479,557,494,895,957,282,266,269,311,384,321,227,264,314,670,839,570,924,1124,623,825,853,838,1262,982,757,636,502,619,1001,937,885,969,594,397,405,594,822,762,500,494,458,355,315,377,404,279,279,430,697,932,977,610,622,621,442,653,659,377,309,435,491,488,442,465,347,352,651,788,444,319,442,535,631,733,669,709,940,927,735,508,928,1102,833,539,330,279,301,307,713,1228,1282,1432,1518,1290,1838,944,664,811,1015,1172,794,634,711,576,491,380,315,329,339,357,342,404,481,491,468,470,488,455,363,327,350,416,378,339,332,316,314,322,338,343,343,355,337,362,376,385,351,411,437,388,403,424,396,397,437,476,491,551,528,547,542,480,429,347,418,539,668,705,675,912,1046,792,574,617,937,1136,777,554,650,1166,1552,1026,555,432,390,483,469,662,631,1300,2136,1338,356,350,356,356,396,336,346,338,273,227,238,312,758,874,713,703,687,607,490,440,372,355,669,1154,966,1322,1162,508,232,184,152,230,396,357,233,217,226,271,295,310,327,363,386,466,519,335,298,300,272,265,258,384,515,600,621,579,521,417,328,295,285,305,401,501,635,731,750,753,496,365,369,383,407,405,429,437,385,372,385,384,380,379,402,393,392,383,359,364,377,377,381,401,426,423,419,504,504,506,552,555,519,434,434,519,598,568,514,486,523,411,355,355,376,437,487,597,802,691,496,502,509,448,440,478,433,412,630,814,773,843,909,650,723,1114,1086,1170,1170,809,448,335,356,329,363,429,434,437,430,389,329,302,276,279,287,309,361,440,378,327,327,335,466,557,879,1474,1508,1334,1344,1406,1382,1254,1318,1536,1578,1380,1268,1410,1202,1260,1290,1332,1274,802,541,707,883,886,732,713,913,1202,1292,1392,1234,1360,1378,1288,1218,1370,1490,1390,1416,1404,1370,1254,1278,1332,716,499,499,647,874,1106,889,441,434,482,554,388,374,727,1011,1344,1170,809,743,698,811,852,1006,1366,980,613,526,480,484,792,835,869,1240,1001,528,650,841,937,1276,774,606,589,454,1216,1882,1582,1612,1394,860,899,1036,1456,1498,1504,1644,1382,1354,1490,1570,1460,1338,1310,1176,847,689,747,803,784,763,888,1140,1260,1140,1080,962,767,702,1015,926,764,1088,1222,880,723,659,749,936,935,816,719,615,474,363,507,427,318,294,268,248,247,253,266,268,287,311,299,303,290,293,292,283,273,274,282,290,287,281,277,258,255,248,262,269,263,250,255,257,274,293,303,305,307,304,299,294,295,288,290,279,267,292,300,287,295,281,260,233,260,289,284,291,280,296,307,274,262,260,241,238,276,314,329,316,302,315,300,312,332,323,462,572,667,610,546,702,904,910,991,703,577,550,477,421,385,405,314,642,1206,1080,667,442,401,435,583,669,528,573,821,982,813,616,523,463,509,565,1082,1600,1776,974,529,586,479,406,426,516,709,1102,1178,978,686,636,917,755,656,463,324,381,575,572,717,1564,1732,1318,1336,953,1840,1354,1450,2068,2214,2162,2162,1860,1554,2724,4176,1740,767,819,719,521,451,467,453,414,354,341,529,869,1482,2046,1464,1000,1232,1132,765,630,570,619,597,523,406,314,364,417,554,575,717,514,766,1270,1100,688,487,584,809,691,346,307,305,300,432,681,953,1038,1026,976,680,608,819,881,825,1044,1176,1252,1174,1198,1244,970,942,937,597,335,418,866,1472,1232,1038,1418,3222,4840,3760,3798,4816,5620,3882,666,789,630,1056,1468,1012,683,693,856,742,412,369,318,535,894,713,766,1326,1094,1018,926,1102,1232,1200,849,689,625,511,534,806,639,466,543,791,1260,951,908,851,874,878,777,1002,861,476,538,1058,1460,1644,1604,1212,1428,1306,1023,1144,1322,1404,1254,1232,1614,1160,872,1170,1152,1060,969,695,468,394,325,340,360,329,338,332,349,360,360,369,386,394,377,373,338,336,339,350,367,343,329,374,383,403,378,351,359,377,410,414,435,423,458,653],[368,380,375,357,338,336,346,346,399,439,443,432,424,403,411,482,560,610,630,509,382,374,363,340,308,297,304,300,295,305,316,335,350,363,343,326,341,368,363,349,386,458,440,533,800,693,375,357,293,278,268,293,328,449,968,1208,1328,959,476,397,374,395,366,281,322,305,273,313,364,350,325,306,312,300,346,404,332,320,298,280,277,283,329,351,352,352,364,364,369,460,486,355,306,322,314,316,328,354,360,314,288,342,286,1102,2662,1500,588,429,397,423,424,437,473,657,583,435,419,435,528,460,475,845,1898,1172,634,604,522,537,624,684,730,742,783,835,846,833,767,711,775,614,426,378,388,430,345,563,1134,1322,1156,684,722,692,772,831,1222,1904,2164,1846,1066,752,1348,1472,1162,741,1006,1426,1464,1456,1450,1614,1672,1362,1166,1416,1642,1142,1400,1418,1174,1340,811,438,376,414,538,815,1026,1234,1450,1262,951,785,608,368,458,633,577,385,535,881,1128,1104,1046,864,916,1162,875,727,771,673,547,574,520,468,538,516,455,608,837,915,1620,1844,1388,1010,830,1142,1232,839,518,398,465,875,1432,1756,2132,2276,1604,1274,1122,1007,1538,1548,849,963,1378,1010,952,1007,861,725,976,1302,1570,1484,1154,1192,1252,1250,1362,1390,1278,1450,1560,1506,1068,712,868,1056,1566,1506,677,586,869,1274,1368,1094,1003,1300,1440,1506,1490,1180,989,1192,1046,505,328,284,335,511,541,431,310,320,484,742,921,1116,1234,1122,1106,1252,1172,1340,1396,861,780,862,727,792,1268,1302,1256,1160,1042,1324,1464,1688,1478,1054,1046,999,1112,1254,1216,1490,1910,1672,1742,1820,1584,1220,1488,1362,1124,1007,783,488,348,438,788,807,615,528,644,918,1368,1001,886,1180,1052,1192,1494,1328,910,858,952,1009,633,665,570,406,414,514,553,546,640,915,1346,1442,1252,982,755,407,489,625,1156,1542,1260,1370,1576,1246,937,759,648,783,955,591,754,1222,1366,1292,1202,1136,1412,1500,1426,1486,656,500,745,1021,964,774,976,1122,1232,1332,1160,1416,1126,916,1192,1648,1130,950,893,901,1152,868,811,995,902,1016,1058,1504,943,925,841,1078,1172,1588,2050,1490,1021,1566,1718,1732,1266,759,1015,767,1004,1322,1268,1334,1528,1272,1070,943,737,788,604,1034,1390,1094,1510,1410,1170,1190,1372,1330,688,347,308,403,480,485,722,747,498,735,691,680,1850,1842,1130,1040,1080,664,332,392,457,555,536,462,576,1328,1582,1013,727,1070,1494,1406,987,600,571,625,608,617,631,675,724,633,478,378,374,378,297,392,480,527,616,527,956,1448,1306,1308,1354,1162,1316,1544,1676,1320,715,637,786,773,866,1068,945,1142,1538,1328,1106,1218,998,827,807,1104,1082,1224,1572,1670,1592,882,354,329,377,560,929,1272,1318,1344,1186,1140,630,488,583,804,1136,1050,606,541,737,1268,1358,1274,1262,988,1170,1154,1056,965,852,825,807,833,858,952,871,1074,1002,545,425,448,564,620,521,433,511,600,617,575,499,612,449,325,469,573,536,418,637,808,541,620,702,644,415,323,430,495,492,502,605,677,517,439,511,593,636,365,372,341,240,213,343,390,310,275,262,273,375,415,295,320,550,974,988,1090,693,453,612,556,481,527,617,756,558,321,269,279,326,588,673,697,859,908,886,816,512,392,567,1032,1052,762,588,388,332,568,508,292,642,771,569,544,483,466,392,315,327,283,266,267,268,268,281,317,349,395,406,421,404,385,377,324,276,273,309,323,339,350,359,357,337,391,394,401,353,391,405,413,530,1078,1730,1738,1290,1100,984,1132,1100,1042,982,968,1102,1005,692,641,580,690,1216,1282,891,621,545,444,619,669,694,580,436,588,789,774,1162,1608,1894,1594,1052,1170,1142,1190,1354,1266,1250,1290,1334,1388,1232,1754,2888,3362,3094,3248,1538,797,602,1368,2058,1876,1732,1794,1818,1708,1618,1536,1368,1448,1698,1426,1198,1030,828,864,1086,1486,1806,1600,1672,1656,1390,1538,1108,1454,1234,1082,1326,1618,1824,1550,1426,1748,1858,1720,1904,1704,1552,1584,1534,1510,1352,1426,1510,1398,1486,1424,1256,1272,1300,929,984,755,848,1378,1202,1364,1492,1058,822,1042,1034,1206,1182,778,990,1042,1282,1680,2022,1418,530,541,1001,1198,1078,645,841,848,900,749,586,432,300,292,313,306,314,468,993,1076,860,1014,1300,1056,602,357,331,332,300,278,290,329,493,678,598,511,502,780,1164,1426,1512,1490,1334,1268,1378,1394,1266,907,661,620,550,437,401,504,792,974,778,861,719,290,227,258,335,503,399,248,279,463,861,915,868,1358,1256,583,852,883,791,694,668,546,576,591,628,1048,1222,969,854,653,461,667,932,864,790,757,693,774,764,681,1064,890,460,508,449,605,885,912,612,659,679,630,1044,1192,584,276,349,730,777,481,300,303,271,280,377,370,305,387,402,501,641,902,927,801,756,720,843,979,806,758,707,490,487,448,455,990,1410,1488,1544,1592,1390,1460,869,683,719,821,1019,822,750,714,576,524,401,327,299,306,318,325,408,518,594,617,556,467,410,354,344,326,348,352,351,329,349,376,342,344,343,346,354,337,347,343,350,343,387,390,373,401,433,388,360,405,474,511,543,570,619,618,552,453,377,382,394,407,399,481,520,645,689,715,848,954,1010,708,524,565,1013,1388,968,656,530,519,671,659,506,351,653,1084,761,268,265,244,272,275,300,299,295,227,229,295,596,839,773,825,686,767,642,483,479,373,483,720,1134,1170,1302,1264,868,394,233,285,616,799,497,343,298,306,277,343,458,401,361,458,642,546,274,259,272,269,261,299,368,500,615,607,571,497,358,280,265,260,332,443,493,550,561,698,680,465,409,408,384,391,376,355,403,385,375,390,380,401,430,420,390,367,373,381,391,383,385,409,403,432,436,435,528,551,487,480,483,464,444,461,465,475,533,563,557,677,569,357,353,414,424,440,473,529,483,455,460,476,523,502,481,480,540,890,999,572,455,420,512,667,716,1004,1202,1246,1120,744,453,372,411,554,540,484,441,421,405,360,362,368,323,287,294,360,411,331,312,331,473,990,1048,1238,1384,1324,1134,1200,1532,1484,1208,1300,1486,1520,1584,1556,1174,1124,1204,1318,1618,1494,1040,691,650,689,650,525,797,1120,1220,1256,1190,1362,1404,1396,1444,1378,1422,1470,1404,1480,1346,1338,1304,1398,919,410,397,687,1192,1354,1152,633,346,357,359,270,348,491,1254,1758,1372,1146,931,1013,1088,1214,1032,838,746,576,530,583,585,540,769,1050,1072,1414,906,495,815,1052,1046,1048,757,869,1002,849,1492,1814,1052,1394,1418,807,1074,1182,1328,1434,1530,1542,1428,1462,1526,1376,1118,1174,1444,1038,675,627,735,1182,1810,2036,1588,1058,814,736,949,1120,872,854,1036,1208,960,1042,1120,910,850,829,745,719,493,455,413,362,303,359,532,394,285,285,279,263,265,272,283,285,299,306,270,274,286,283,278,276,272,267,282,287,279,275,267,250,238,246,256,259,258,255,261,269,281,298,306,298,296,288,287,289,297,292,285,283,283,299,297,300,284,285,295,264,273,269,271,292,272,276,283,283,277,267,254,243,282,412,514,369,293,309,314,336,344,335,302,306,315,308,346,561,847,953,965,675,587,547,534,587,475,325,337,328,215,390,433,328,312,406,552,653,560,470,582,637,561,501,497,503,595,565,1216,1670,1578,969,583,598,548,444,410,712,782,609,926,1258,700,446,599,480,347,377,408,356,305,302,479,897,1218,1502,1192,830,1542,1660,1776,2042,1786,1858,2176,1878,1120,761,595,406,661,738,632,711,977,955,745,500,390,382,543,678,1286,1672,1386,1246,1500,1250,945,704,447,397,400,427,368,307,379,419,482,426,474,813,1110,1172,1516,1136,593,518,697,965,509,324,328,256,365,638,703,524,486,444,416,407,548,736,900,1144,1380,1434,1078,893,867,802,738,849,713,514,645,1224,1784,1354,1062,1044,2194,4006,4820,4712,5028,4128,2276,653,785,638,828,1404,996,722,737,1062,983,459,602,538,474,706,708,720,1156,1282,1282,1184,1334,1226,1050,1094,1036,780,1016,1142,1316,611,410,422,647,1001,1192,1392,1500,1486,1096,709,947,955,685,781,1048,1170,1392,1660,1418,1019,907,1268,1678,1692,1406,1376,1808,1960,1290,793,851,962,833,799,613,429,371,327,343,353,337,352,350,346,342,326,357,424,393,336,340,333,337,340,328,360,338,297,297,314,384,369,340,375,416,392,325,345,430,438,450],[390,395,378,369,368,371,356,325,415,444,448,450,422,417,437,484,549,540,562,500,439,440,455,407,323,296,321,325,347,366,368,413,426,402,361,330,338,366,344,410,501,570,639,659,712,651,380,282,266,266,260,244,318,667,1438,1542,1334,1218,872,706,508,491,412,371,385,345,337,383,394,354,332,317,303,318,361,368,329,320,300,301,325,305,329,354,344,348,363,365,356,361,404,349,309,294,290,294,326,376,375,347,334,326,312,1066,2724,1144,479,473,439,472,524,493,430,438,465,512,545,586,615,603,571,1030,1760,981,637,599,491,484,493,485,493,623,767,802,797,830,814,734,734,553,428,424,388,335,243,333,563,819,619,367,450,461,616,796,882,1224,1738,1506,951,882,1050,1214,1023,756,811,1104,1368,1488,1472,1898,1812,1236,986,874,1118,1011,1208,1242,1352,1176,548,296,517,988,1050,857,1234,1230,1232,1544,1750,1724,1062,518,431,454,430,418,373,615,854,929,1186,1468,1108,844,686,691,686,526,605,610,485,405,533,678,546,584,705,631,986,1144,1076,1172,1102,1092,1030,727,431,520,746,1056,1296,1878,1938,1910,1268,788,675,659,855,1080,907,1112,1268,974,919,977,742,695,953,1166,1742,1768,1606,1058,1136,1228,1352,1288,1262,1248,1372,1302,1116,1274,1314,1232,1540,1048,924,995,1206,1652,1518,1242,1228,1150,1284,1326,694,672,946,1200,1023,630,386,388,488,462,455,382,327,306,479,883,1020,1076,1308,1150,1080,872,661,954,1114,874,761,666,703,970,1162,985,1060,1126,1368,1390,1698,1620,1021,822,869,644,604,712,781,1168,1472,1952,2258,1722,1644,1410,1626,1816,1206,572,414,370,409,466,940,755,630,1094,1162,1180,1780,1354,837,1216,1328,989,694,747,918,1328,1220,1007,722,587,525,470,472,592,593,535,619,868,1282,1622,1224,946,869,532,495,752,1322,1488,1076,825,835,750,733,813,624,814,1116,975,998,890,838,1188,1306,1028,1106,1074,1382,1482,1150,904,1310,1504,1086,765,1014,1280,1030,1010,1256,1512,912,730,648,896,863,755,874,866,1015,1034,780,1034,916,949,959,1118,633,974,1222,1168,850,1162,1896,1686,1260,1370,1968,1900,1300,855,1026,975,841,730,1014,1418,1428,999,975,898,592,634,720,1296,1646,1358,1254,1023,985,1132,1242,1032,549,327,317,398,473,428,448,425,363,347,321,502,986,921,666,1016,1252,773,449,545,720,769,693,537,612,1164,1104,777,718,624,700,605,519,465,598,665,661,654,631,617,593,514,458,453,457,465,372,419,487,466,521,550,1024,1218,1032,1166,1019,823,944,1366,1764,1500,817,535,386,648,998,955,642,754,1034,1054,1392,1620,1532,1442,1344,1216,1154,1382,1234,1344,1354,756,330,348,350,415,839,1470,1292,1148,1242,937,505,460,430,515,762,708,655,1188,1170,1562,1844,1546,1394,1338,1256,1120,908,991,1120,892,662,503,483,518,692,770,631,479,452,526,530,474,439,411,505,606,692,663,658,604,331,278,399,555,542,310,449,649,439,536,592,584,434,446,508,395,425,490,492,461,416,432,464,452,711,606,478,412,370,269,323,490,529,368,267,304,386,440,323,350,591,794,639,931,960,571,477,474,559,682,763,877,1018,586,338,290,442,803,1009,896,647,394,332,335,311,280,347,829,1158,650,400,385,412,720,818,586,472,529,532,470,401,457,453,400,387,354,295,272,273,242,248,260,269,339,525,615,486,420,407,362,306,293,307,318,341,361,356,349,356,354,380,374,349,313,383,405,551,1152,1642,1570,1482,1506,1458,1354,1120,897,1024,1302,1250,1148,984,833,736,626,1172,995,921,745,1088,1144,754,605,639,553,475,609,762,858,1434,1762,1918,1250,1278,1588,1694,1696,1690,1630,1694,1826,1834,1912,1826,2208,2964,3376,3112,3276,1676,814,657,1162,1786,1554,1318,1200,1216,1236,1552,1932,2158,2410,2766,2030,1326,1104,748,743,901,1392,1850,1396,1588,1900,1274,1256,1136,1400,1500,1390,1396,1534,1592,1400,1396,1340,1334,1604,1976,1632,1404,1326,1230,1306,1372,1556,1656,1530,1554,1514,1290,1164,1064,1148,1252,1086,995,1082,1240,1434,1720,1324,947,860,750,957,1140,797,789,915,1116,1408,1484,739,496,780,1058,1096,1114,868,757,705,653,570,620,560,329,346,288,284,303,364,766,1224,1140,1318,1930,1742,1052,550,456,294,264,241,258,265,324,533,542,600,616,502,568,816,1106,1272,1364,1360,1270,1172,858,554,480,472,480,512,573,606,965,1254,804,1060,601,251,227,295,263,294,292,299,449,656,1038,1007,1110,1402,888,629,861,1038,843,533,720,841,601,519,553,940,1386,1354,1104,923,818,1082,935,822,883,761,632,933,897,642,977,1310,876,1202,966,843,752,554,666,941,816,592,912,1260,777,424,445,1056,1410,984,450,276,260,278,502,545,362,401,291,330,547,1140,1260,757,613,724,687,609,640,790,667,663,659,725,995,1290,1354,1528,1708,1732,1542,1070,593,672,702,524,706,718,796,720,589,518,387,317,296,318,330,318,390,452,539,554,458,419,378,355,346,313,304,421,567,524,558,593,642,651,525,436,370,383,379,383,374,389,404,383,361,383,386,374,386,529,667,665,559,516,551,594,544,426,378,400,392,414,435,469,520,491,444,625,732,921,1002,713,566,444,490,553,661,678,684,650,585,690,516,395,466,393,466,484,356,362,427,312,287,299,252,235,309,466,675,579,565,719,695,674,891,756,460,483,685,808,958,991,883,847,910,694,559,924,1302,985,584,482,415,338,302,386,504,662,802,642,527,383,309,289,271,285,296,328,325,416,551,538,484,399,314,296,284,284,370,456,461,438,483,567,496,357,344,322,310,335,336,349,348,363,363,361,359,384,390,361,354,356,370,396,410,417,421,415,403,423,410,413,470,474,350,354,366,419,469,477,497,486,481,535,626,653,484,382,418,458,446,430,339,319,404,452,452,513,646,598,516,575,623,1004,945,481,377,366,503,683,569,669,929,1114,1226,1138,764,378,521,670,600,559,503,461,422,405,420,406,339,298,292,349,374,358,335,324,411,719,946,1076,1196,1308,1134,1094,1436,1364,1140,1392,1346,1408,1636,1366,1248,1240,791,781,1188,1124,1232,1128,620,516,695,653,868,1170,1440,1426,1344,1438,1470,1472,1292,1548,1600,1394,1620,1684,1486,1396,1316,1170,688,351,290,545,1076,1048,548,371,356,309,272,332,379,538,1236,1412,1082,1296,1148,1168,1088,1122,850,677,723,737,628,715,830,707,681,1116,1180,1470,904,503,455,589,688,695,874,1298,1224,1019,1522,1454,1082,1454,2000,1454,1078,1354,1116,880,942,985,1278,1168,1144,1310,982,683,847,930,971,999,1158,1636,2070,2320,1892,860,538,571,1023,1120,760,742,783,892,752,835,1120,1262,1382,1316,800,593,484,460,359,331,301,420,495,358,265,272,287,304,302,270,300,293,287,298,283,283,280,283,282,284,266,261,277,281,261,254,258,251,241,249,240,238,252,260,270,279,287,299,307,300,294,294,305,305,290,279,282,291,300,301,300,301,263,273,320,303,292,286,304,305,298,297,297,292,291,271,265,264,279,568,786,532,332,319,319,336,361,358,326,306,306,332,317,522,940,994,673,453,452,497,639,756,590,382,366,352,331,430,399,332,342,413,483,520,505,423,426,492,528,488,480,514,725,623,839,1086,1026,753,597,695,647,530,432,816,738,526,781,918,572,365,385,372,372,424,544,703,462,312,433,883,1240,1456,1160,1062,1304,1242,1514,1622,1174,1692,2056,1820,1210,609,555,698,824,1094,1194,1338,1776,1386,681,439,368,312,370,421,430,532,884,1290,1166,894,903,778,607,503,367,325,358,350,435,576,807,858,689,951,1036,667,965,1550,1030,656,692,1118,773,348,344,282,317,476,608,508,504,484,497,485,570,610,627,807,1112,1130,742,471,547,877,913,1034,974,619,639,1230,1492,1270,1130,968,1110,2160,3392,4652,3376,1182,463,445,736,808,864,971,750,650,780,1102,1240,805,764,750,485,620,677,636,707,795,912,1021,952,978,1148,1106,1086,1060,1140,920,930,585,373,371,613,917,1062,1140,1632,1462,1002,541,706,803,756,908,835,562,1012,1598,1600,1432,1264,1324,1672,1626,1240,1702,1774,1072,858,838,998,1009,821,714,433,379,366,341,360,330,310,336,341,338,326,336,361,359,404,418,342,346,336,325,324,332,314,283,263,285,335,357,368,385,411,375,339,724,926,580,404],[380,395,391,382,375,356,313,317,408,436,441,443,441,472,481,509,562,545,549,509,471,477,486,426,330,302,328,336,415,615,558,550,481,423,372,343,320,326,317,397,536,589,622,650,714,631,509,310,252,279,269,279,328,903,1860,1844,1710,2032,1416,1110,988,865,468,405,424,379,395,436,436,423,388,346,319,264,254,274,332,335,310,267,275,323,334,348,341,334,343,351,327,318,308,307,288,285,285,284,300,338,360,362,361,342,357,1050,2260,1152,491,604,573,522,486,445,453,405,470,574,561,719,580,472,541,669,622,544,569,545,483,484,489,459,482,574,619,639,695,730,704,707,630,425,381,411,407,392,373,352,327,325,394,393,376,386,459,530,505,669,1316,1160,683,783,893,1118,1434,1204,1180,1164,1334,1526,1594,1660,1488,1064,791,698,687,727,802,969,1366,1009,527,661,963,1562,1674,1122,1118,773,612,1019,1968,2304,1424,547,470,585,747,634,677,785,756,969,1288,1832,1136,724,750,822,898,825,1015,588,356,532,800,1222,1038,722,521,456,417,820,1754,1538,1040,627,518,520,462,947,1708,1414,1706,1958,1588,1532,1296,1110,796,651,712,795,1414,1406,1198,722,525,861,1012,845,760,1346,2000,1686,1924,1354,1366,1456,1302,1032,1044,1206,1462,1502,1208,1400,1148,1142,1850,1094,1028,1206,1296,1488,1296,1204,1376,1104,635,859,746,651,738,977,1144,931,556,1108,1124,460,372,349,361,436,336,667,951,839,1098,755,821,880,673,825,961,1182,1316,662,796,1166,1202,1084,976,1106,1344,1034,1122,1108,764,514,532,482,464,519,885,1712,2108,2214,1750,1694,1964,1568,1466,1396,754,681,423,403,728,552,938,755,1074,1996,1578,1296,1960,1340,1088,1538,1382,922,1202,898,831,1576,1526,1108,901,667,713,747,518,536,487,425,543,708,889,1180,977,1234,1176,579,527,698,736,747,754,514,448,400,538,706,536,560,1052,1718,1632,885,739,957,794,799,1198,1340,1286,1046,992,901,1254,1414,1178,1096,1064,1100,1070,1604,1412,1124,673,472,637,960,890,741,779,796,1013,1358,928,957,1066,896,1070,1122,655,803,1476,1316,912,1308,1896,1540,1130,1426,2042,1400,927,558,698,1342,1324,924,1086,1290,1172,765,819,890,547,576,937,1260,1616,1076,602,665,826,873,825,814,583,372,272,280,307,303,361,352,347,389,368,491,963,988,598,687,1198,937,483,514,667,774,744,613,533,552,566,604,482,395,405,420,426,422,561,601,522,476,452,403,378,372,368,424,461,490,448,458,506,499,538,642,963,1134,1150,1204,867,878,1354,1244,1056,1011,769,602,442,738,1132,906,894,1338,1440,1372,1568,1534,1058,1116,1602,1194,1324,1706,1158,1052,888,630,724,598,361,378,788,1256,1324,1384,1246,757,451,349,248,326,511,513,615,1454,2446,3194,2776,1542,833,969,1402,1312,626,561,719,1013,1040,818,509,332,514,527,376,382,404,475,469,444,366,364,528,587,634,693,738,610,512,552,518,498,481,350,412,791,506,492,459,375,389,522,484,332,397,477,529,369,403,385,371,340,513,734,794,713,617,521,426,630,790,529,372,386,367,370,351,450,601,708,788,1062,1100,871,590,634,938,1182,1003,651,595,554,555,543,727,1200,1054,709,864,375,363,403,354,300,272,510,1102,933,429,507,585,642,818,566,337,316,489,436,429,562,548,422,353,342,309,259,254,263,268,223,220,277,656,755,604,521,477,420,378,346,328,318,336,350,350,355,381,415,432,422,397,363,372,338,708,1736,1750,1196,1206,1368,1478,1348,1054,789,1638,1950,1206,1208,1692,1720,1066,633,1196,1196,1046,769,974,1394,1168,751,646,554,536,603,660,1044,1462,1880,1744,1070,1336,1642,1708,1686,1682,1784,1720,1840,1870,1960,1902,2214,2978,3262,3176,3152,1864,883,775,923,1410,1366,1630,1636,1618,1890,2518,2886,3118,3188,3304,2414,1454,1400,758,634,883,1476,1958,1672,1726,1766,1372,1262,1340,1664,1708,1302,1190,1102,1390,1636,1554,1198,1278,1562,1798,1536,1298,1254,1298,1506,1486,1318,1388,1432,1340,1366,1198,1168,1238,1192,1116,1174,1098,1372,1570,1144,1648,1284,778,494,520,686,957,766,497,772,959,836,818,882,1286,1374,1136,1042,1036,1084,963,668,514,494,653,865,510,442,349,279,286,306,460,968,1202,1318,1644,1592,1384,747,493,287,270,284,272,249,211,380,624,882,904,401,329,455,595,705,797,810,698,560,462,440,465,484,503,826,965,630,775,922,647,1076,626,232,340,529,482,288,374,532,666,634,889,824,1174,1454,782,610,514,404,448,458,647,666,538,591,535,926,1286,1324,1250,945,712,579,388,572,1023,1114,958,1054,727,631,685,1612,1130,1306,1224,984,618,400,493,601,703,587,540,902,1016,493,403,866,1216,1042,547,271,294,278,282,349,398,475,385,387,567,1062,1062,750,774,814,770,667,648,752,716,913,565,596,1090,1398,1490,1700,1700,1658,1546,1084,623,684,644,561,671,745,727,664,605,530,404,316,319,359,361,322,361,367,398,419,384,384,384,396,368,350,383,532,518,532,866,1001,1086,1180,1124,1078,1282,1252,882,736,836,911,809,704,659,618,639,648,796,1034,1098,966,676,533,488,490,495,424,423,423,455,456,455,477,510,505,493,533,552,523,561,705,772,756,577,642,730,573,484,513,522,561,440,452,512,522,786,824,460,619,979,1058,800,583,497,523,541,638,477,418,691,724,927,975,969,616,582,882,966,875,934,975,672,672,1550,1328,1220,1586,1952,1372,576,396,359,346,434,442,398,500,689,620,368,307,333,294,294,331,380,401,322,375,466,445,434,385,328,306,297,322,383,411,411,431,501,587,517,352,374,369,354,384,367,368,378,384,380,375,365,354,352,369,382,389,401,410,426,455,452,489,543,449,383,405,453,485,382,427,567,645,579,473,481,504,453,489,600,564,433,411,429,438,452,448,364,339,366,444,526,521,580,576,464,527,801,1450,1172,836,551,395,453,511,486,481,580,784,1018,1160,926,503,503,490,491,504,498,462,393,375,371,371,383,342,321,439,424,384,400,411,388,400,495,617,965,1138,883,1084,1456,1576,1322,1186,1013,1234,1340,1296,1478,1300,868,671,832,945,1224,1210,760,887,993,971,1144,1212,1324,1262,1472,1884,1864,1278,970,1450,1668,1498,1774,1762,1330,1356,1410,1188,647,652,536,464,627,793,686,568,517,527,462,461,506,627,910,1044,1498,1286,1200,1042,938,973,1002,896,842,849,669,993,1276,967,592,925,1042,1130,842,519,552,852,1282,1200,769,1015,672,845,1808,1660,1346,1494,1912,1376,1232,1510,1009,544,690,1236,1620,944,914,1004,707,395,388,616,1108,1456,1302,1190,1338,1472,1462,1106,871,704,1306,1086,855,836,851,982,874,933,1180,1216,1278,1388,840,527,447,436,454,460,427,444,440,359,323,288,276,296,280,263,277,272,271,295,309,305,303,299,307,276,268,264,270,269,257,263,258,251,248,255,249,242,266,266,268,281,288,305,307,300,290,294,309,301,281,273,283,290,295,301,309,291,286,257,289,289,288,309,304,277,271,276,283,290,293,263,278,297,264,498,738,602,389,345,339,348,355,348,322,314,316,301,305,469,812,765,449,357,356,499,774,820,597,448,388,423,464,527,515,396,412,420,420,392,450,631,673,550,541,515,492,570,641,523,420,417,459,440,386,572,629,580,494,437,427,448,423,352,334,396,410,407,372,424,594,959,730,387,349,828,970,1136,1480,1332,1380,1394,1472,1560,1466,2160,1858,1322,1104,862,854,1006,1010,1344,1454,1404,1400,955,552,506,380,306,275,312,330,481,1174,1620,1238,1202,1362,1248,890,966,604,399,394,349,445,748,1013,998,769,706,644,405,311,719,1184,964,598,988,1028,472,379,364,355,393,555,523,741,1003,1106,727,588,562,454,601,872,960,541,452,579,1180,1494,1230,1126,788,778,1152,1156,1090,1007,1042,994,1068,1362,1346,480,329,514,454,595,831,864,709,485,422,652,1172,1570,1116,680,680,377,528,739,662,477,763,1278,997,501,916,1232,1278,1238,1256,1166,1030,879,631,380,377,535,1004,1388,910,1300,1078,1014,844,857,789,739,867,718,733,1248,1620,1698,1710,1500,1252,1520,1520,1630,1900,1432,808,730,1034,1394,1502,867,579,460,422,324,315,332,305,293,303,324,335,314,335,371,358,425,447,339,324,338,364,361,303,291,305,317,334,352,382,403,431,458,476,342,712,922,537,281],[380,397,405,410,365,307,282,381,546,554,401,416,422,464,466,460,479,506,515,506,485,470,475,432,356,306,338,350,414,590,578,527,431,396,382,337,302,321,343,356,416,517,462,492,558,500,402,308,303,289,264,289,275,667,1406,1440,1594,1598,1278,1052,1001,921,546,366,379,385,413,433,387,367,301,294,299,219,213,246,365,405,338,269,253,331,323,328,316,305,325,348,333,312,313,306,302,306,291,282,281,310,335,345,369,378,310,1148,1850,1106,644,592,512,437,408,420,448,427,446,473,509,596,493,463,497,495,472,459,451,437,505,493,459,482,539,539,529,520,538,574,555,539,490,388,370,383,398,419,475,450,386,374,392,379,336,365,474,503,502,570,1188,883,520,552,650,1310,1632,1516,1542,1366,1714,1396,1452,1664,1528,1144,982,879,833,1102,1258,1354,1354,1044,606,847,1236,836,1032,1292,1150,694,476,1108,2098,1904,776,265,377,758,1100,1058,1100,1060,767,802,1428,1604,1138,697,629,860,991,824,579,318,412,937,828,678,802,760,547,464,592,1816,2578,1626,894,842,664,498,480,1202,1986,1620,1450,1598,1588,1502,1668,1438,1250,1106,960,612,1156,1612,1236,625,419,721,1044,971,895,1392,1706,1754,1648,1590,1858,1732,1380,1464,1802,1636,1582,1542,1162,1040,894,1028,1244,1152,1460,1388,1432,1560,1160,1064,1030,999,515,694,1040,1144,1030,1100,1260,985,656,1126,1206,483,350,357,407,571,349,493,924,803,642,598,831,929,970,1074,1244,1042,1242,1234,1280,1472,1578,1370,839,1166,1256,709,479,656,1132,1018,984,681,543,741,712,1526,2028,1776,1428,1438,1458,1040,1068,951,763,1208,803,648,1012,827,894,806,838,1362,1072,669,877,677,1208,1352,1190,1252,1408,903,482,730,735,754,781,825,1162,1132,653,474,457,407,557,771,1092,1500,1472,1586,1632,1116,1086,1044,716,587,552,487,496,432,467,728,799,637,775,1052,898,624,484,502,569,869,1284,1118,756,1034,1290,1016,971,903,961,737,670,926,1162,1378,1226,1100,921,745,1015,1132,1112,1154,1042,949,1108,1200,1158,1100,1226,949,931,947,586,822,1294,1158,968,930,1388,1146,846,988,673,569,567,593,872,1386,1306,938,947,733,821,877,802,1158,864,709,806,862,810,692,1100,1578,1500,981,861,912,690,446,315,278,332,419,440,516,550,667,640,474,944,900,733,738,1002,697,501,634,659,760,760,698,675,766,693,474,417,452,409,381,377,389,452,432,326,316,340,304,313,333,336,431,443,498,525,491,491,467,434,655,1228,1364,1226,904,796,1498,1990,1202,656,661,678,640,556,803,897,957,1460,1822,1442,1294,1444,1366,924,1174,1498,1022,1644,2046,912,645,534,977,1786,1214,638,596,783,1106,1372,1452,1188,586,428,365,264,307,476,533,524,730,1354,2074,1958,1007,722,1172,1072,1062,593,464,518,531,743,1005,1044,645,540,502,428,388,418,466,437,402,419,389,538,598,605,683,679,648,553,481,394,491,406,348,288,753,818,528,305,342,436,560,508,325,397,387,443,347,353,385,281,297,424,573,763,838,690,563,544,655,706,540,355,398,378,329,392,564,859,1068,804,627,697,1104,1034,987,1004,1350,858,435,515,524,598,599,499,780,837,634,1026,490,350,345,386,388,348,373,695,772,425,376,530,629,612,381,243,453,719,587,433,503,484,425,323,333,352,325,262,278,281,237,233,348,485,502,556,625,582,433,419,404,350,307,316,340,350,365,406,473,502,477,454,446,412,379,818,1914,1836,1356,1284,1230,1170,1015,766,1086,1924,1870,1354,1274,1682,1450,836,724,905,1008,1142,865,773,1014,935,619,647,615,565,520,591,1266,1688,1958,1390,1032,1444,1646,1716,1744,1672,1746,1722,1842,1960,1982,1958,2248,2966,3210,3164,2996,1666,877,831,801,877,1428,2160,1928,1520,2056,2922,3208,3186,3050,3018,2468,1442,1516,847,642,910,1322,1562,1888,2020,1850,1632,1486,1596,1578,1784,1418,1368,1220,1334,1632,1766,1410,1470,1636,1596,1452,1456,1358,923,943,1180,969,1080,1296,1218,1230,1214,1184,1238,1116,967,1404,1284,1334,1236,1132,1644,1516,974,654,672,744,807,711,616,584,588,491,477,804,1174,1076,974,1388,1542,1184,1072,941,594,457,543,1028,1100,882,499,297,285,311,323,645,1180,1394,1434,1018,1180,893,613,342,275,293,259,239,252,327,600,984,1106,448,327,428,502,422,430,486,414,425,431,371,449,613,644,1046,864,930,970,902,803,899,541,256,377,510,390,367,488,703,838,622,764,1222,1192,638,390,458,349,254,285,259,381,352,368,417,415,865,1005,1001,1048,820,619,465,293,382,739,952,1140,1202,780,421,365,407,704,1208,1270,1066,636,527,511,513,788,603,543,425,350,302,289,479,505,429,550,515,489,400,312,276,465,653,541,441,775,1084,808,680,852,1116,1228,719,617,835,716,588,460,698,1206,1378,1560,1776,1648,1268,1484,1148,705,671,607,631,674,682,535,411,435,471,454,350,325,336,340,348,386,391,400,466,551,645,682,605,621,561,513,780,730,683,1242,1354,1242,1354,1578,1634,2020,2468,2096,1306,1078,1140,1226,1256,1256,1108,1086,1098,1440,1416,1108,672,532,745,681,500,433,406,411,382,419,443,483,526,496,483,523,573,573,505,500,450,568,744,955,985,957,666,514,605,700,712,858,713,557,493,580,465,361,654,1362,1526,952,739,680,932,854,742,571,897,1020,979,1058,1206,819,464,746,1040,1098,983,975,1120,1009,777,796,993,1358,1452,1392,868,388,336,305,378,463,496,405,316,325,310,276,289,298,277,309,343,380,382,354,388,375,385,560,656,498,364,358,389,411,375,405,480,506,667,653,483,518,478,437,439,454,437,384,394,410,388,374,374,379,377,404,429,436,419,409,417,421,448,477,438,415,425,399,465,535,628,709,711,610,456,432,474,471,518,530,459,414,409,452,456,440,410,391,386,359,406,460,464,637,655,477,428,1007,1578,1190,877,579,405,493,513,432,489,483,499,556,675,608,537,477,441,441,423,468,487,417,393,421,507,535,390,349,531,516,387,357,414,434,383,427,637,921,1390,1354,1392,1668,1534,1282,1262,1312,1254,1160,1438,1616,1312,805,563,606,662,708,781,858,1022,952,1044,1268,1286,1376,1202,1492,1858,1842,1356,1258,1396,1578,1474,1654,1716,1230,1416,1408,1270,1160,1418,1448,1108,982,960,994,897,884,990,985,1166,1286,1036,1034,856,1164,1386,1296,1016,880,922,1005,1006,767,800,693,1186,1478,1366,758,946,1376,1526,1350,1358,1554,1660,1970,1470,797,1168,830,704,941,892,839,1080,1330,1078,715,591,586,415,479,703,1036,877,1076,1106,973,648,469,735,1180,1368,1166,744,685,733,1162,1238,997,1140,1614,1388,1122,1226,1504,1294,1023,844,990,1256,1400,1368,813,490,463,462,472,495,491,443,491,525,386,300,292,277,270,289,284,329,379,375,346,319,310,307,321,288,285,270,267,279,277,273,266,255,242,254,263,257,278,286,275,291,306,307,299,299,293,296,305,307,294,283,282,282,294,301,314,309,285,269,275,280,281,288,285,262,262,272,279,278,272,261,271,301,284,413,660,661,505,356,329,363,352,339,341,349,352,330,316,379,420,358,320,328,356,625,899,994,937,897,669,662,805,827,714,513,422,361,354,389,451,746,766,504,376,379,449,552,495,283,248,296,309,310,258,365,436,420,391,395,401,388,384,364,380,378,418,412,373,390,561,928,955,616,361,560,841,1260,1590,1506,1318,1328,1446,1618,1144,1546,1606,999,1200,1246,973,901,891,1124,833,801,716,672,753,741,633,463,444,439,325,546,1200,1542,1578,1560,1594,1270,1422,1272,629,422,430,424,465,742,998,1092,1322,805,497,328,375,726,961,832,416,547,1002,741,426,368,348,400,399,400,512,1038,1106,645,517,577,464,487,464,560,446,497,916,983,1108,1084,1150,1180,1046,1102,1148,1302,955,881,884,684,676,812,637,423,524,567,615,834,834,750,950,597,473,939,1360,788,535,539,444,558,625,649,670,923,1028,941,916,1320,1736,1462,1178,1086,1198,1238,1009,753,432,421,573,873,1090,869,940,1062,1416,1160,770,736,833,930,691,725,1418,1812,1696,1656,1438,1280,1748,2350,2426,2046,1728,1234,1062,1140,1092,1416,954,535,408,397,397,368,320,308,320,305,326,341,292,312,336,380,430,407,354,358,376,405,369,305,316,330,338,334,353,428,440,455,464,395,288,393,453,334,291],[433,408,404,422,393,353,343,450,686,627,415,395,397,456,456,481,481,460,432,480,492,450,466,464,361,289,347,340,336,375,422,403,353,377,377,303,270,277,289,335,367,471,449,426,459,437,359,336,333,281,277,293,271,429,1030,1346,1416,1208,1034,921,1052,904,484,359,365,367,364,397,361,298,312,239,235,249,249,305,500,644,558,405,336,352,332,329,314,321,343,337,331,321,336,386,386,357,312,297,296,316,338,358,384,418,295,1126,1630,768,473,380,355,387,385,404,385,418,435,434,552,561,497,489,418,429,466,379,381,405,478,514,513,505,495,477,493,498,491,492,477,466,419,383,359,308,323,421,532,496,414,390,357,367,327,262,432,768,825,1044,1104,645,464,491,570,782,886,1272,2092,1284,1390,1122,1544,1520,1226,1466,1378,917,977,1280,1622,1490,1504,1456,726,656,969,942,1146,1382,1036,537,441,848,1284,1005,390,302,403,701,1068,1368,968,760,513,476,634,787,787,597,596,686,745,741,408,257,589,1021,865,539,478,651,778,760,1032,2114,1998,1114,1018,1316,911,418,318,478,860,1220,1188,958,1160,1132,1428,1158,1316,1328,966,889,1268,1244,693,469,412,628,802,833,661,927,1236,1460,1322,1038,865,1001,1200,1354,1748,1558,1418,1332,1146,1220,1180,1386,1278,1416,1914,1502,1142,1164,1094,1250,1021,1124,992,1144,1154,861,675,900,1168,950,602,689,853,828,559,331,283,351,336,339,409,451,425,642,1144,1206,1180,1358,1390,1326,1412,1330,1116,1356,1776,1450,901,947,1006,1021,752,764,1260,1262,1092,742,878,1210,1100,1158,1310,1334,1172,681,641,461,521,868,885,1232,1386,1126,1080,925,1072,1346,1232,1106,993,872,925,848,883,1048,1346,1468,1378,1048,860,974,955,1034,835,758,791,831,713,564,450,387,608,786,781,839,889,1338,1808,1388,1452,1660,959,457,373,457,484,440,488,758,863,684,625,850,850,638,488,517,649,924,1086,670,459,767,950,758,850,766,785,638,558,904,899,977,1374,1542,1242,911,916,687,883,1384,1256,994,1015,1190,1352,1098,1152,1076,873,796,565,536,789,1166,1396,1064,824,578,534,733,749,571,694,831,848,824,959,985,1152,1088,1028,787,728,957,1154,1072,892,674,505,557,948,1102,1238,1418,1382,1330,1250,672,339,330,403,489,652,870,1036,1418,984,546,662,586,555,524,818,799,723,874,720,678,705,661,607,667,642,534,490,414,333,330,372,429,465,462,404,414,351,337,339,349,325,420,440,478,548,530,499,429,461,818,1566,1528,1456,934,1244,1880,1434,648,467,457,483,521,555,772,948,1024,1190,1226,1184,1438,1516,1404,941,740,714,734,1402,1698,987,715,589,1332,2110,1486,872,698,616,984,1234,1218,1066,547,460,459,385,369,426,585,523,440,655,733,444,368,499,643,490,475,455,471,492,526,445,666,893,975,921,660,461,461,444,514,542,436,440,409,517,576,585,629,584,518,493,413,443,495,456,532,433,601,858,717,393,414,488,565,606,453,380,296,259,283,312,359,356,329,437,473,504,742,590,350,252,339,606,672,461,347,341,397,446,429,653,1116,948,630,514,1032,1148,1112,951,769,772,1048,1228,714,412,341,265,344,568,503,529,339,267,293,415,494,482,469,741,572,379,334,489,566,481,412,328,377,693,752,464,421,394,382,351,377,480,422,287,314,299,259,272,419,533,513,451,515,675,581,431,402,347,301,322,343,357,367,405,481,498,466,424,444,469,456,1292,2070,1698,1410,1328,1310,1076,714,756,756,869,1220,1252,1208,1136,1114,1120,1018,919,1032,1036,1074,1232,1134,1018,634,554,558,687,655,877,1344,1636,1612,1074,1230,1434,1620,1644,1700,1716,1726,1706,1686,1976,1820,1470,1688,2016,1982,2156,2222,1030,722,695,755,771,1362,2464,2320,1484,1754,2562,2890,2878,2908,2946,2886,1672,1550,1024,715,1180,1458,1798,2224,2020,1804,1484,1328,1524,1292,1410,1534,1694,1548,1015,920,1084,1296,1580,1572,1588,1234,1184,868,506,433,575,510,726,1056,1248,1322,1166,1036,1300,1526,1160,1378,1162,1346,1310,1514,1764,1682,1342,1132,952,647,814,1016,907,934,801,729,620,621,490,592,786,1388,2024,1704,1172,1302,876,537,447,689,956,1009,697,351,310,324,319,478,1118,1406,869,718,1214,1192,775,411,272,252,243,263,226,239,421,622,696,528,381,468,576,538,512,534,438,512,451,262,318,660,682,752,848,1138,1356,1164,737,517,283,293,434,463,353,430,458,705,637,442,799,1372,1162,573,451,554,337,313,310,278,278,265,227,262,329,566,597,684,791,591,515,535,336,368,470,670,1202,1308,1064,483,343,296,669,1154,1074,1106,719,745,874,769,956,568,428,404,377,318,339,640,607,493,526,450,398,364,389,381,477,551,398,309,614,828,661,727,807,864,875,513,767,1021,998,580,373,883,1374,1398,1478,1508,1322,1234,1500,1294,834,511,386,417,438,444,436,434,412,413,429,409,430,462,615,716,629,525,539,659,907,1156,1176,1050,1094,859,919,1080,1078,1138,1312,1302,1468,1744,1626,1438,1568,1764,1834,1528,1072,1122,1312,1208,1284,1602,1682,1848,2034,1318,1158,858,791,1116,866,767,750,608,555,453,404,402,425,432,404,392,412,475,494,502,504,506,535,927,1086,919,939,933,907,810,863,761,937,662,460,455,438,416,384,517,1104,1422,781,547,633,797,705,871,789,1044,1420,1604,1260,807,474,373,555,868,1052,1028,984,1094,1166,1026,627,598,841,831,577,433,361,355,383,405,431,483,441,373,336,388,492,576,580,416,343,354,396,357,347,367,360,399,689,885,697,500,383,374,406,339,333,437,600,658,818,756,574,550,562,538,504,493,485,450,424,406,385,380,393,398,422,437,425,448,457,425,421,428,433,439,450,403,334,414,606,649,543,546,578,462,421,449,458,499,503,443,373,378,433,460,449,434,403,407,486,438,472,487,657,666,500,375,749,1021,1001,825,462,372,433,449,500,545,524,505,426,486,579,548,481,471,409,421,504,487,420,462,498,470,379,325,337,444,452,357,310,330,348,343,379,525,630,1274,1140,897,1154,1282,1282,1332,1416,1338,1316,1676,1586,1044,533,452,456,402,467,775,1064,952,795,790,955,1150,1228,1230,1178,962,1116,1290,1242,1208,1334,1370,1304,1306,1350,1362,1214,907,1032,1294,1530,1538,1152,978,1090,880,1015,1180,1190,1426,1216,945,722,470,858,1148,1023,941,1304,1600,1104,1062,1224,1318,758,1100,1566,1538,904,869,1456,1614,1532,1556,1522,1616,1716,1026,706,1058,979,670,609,1005,1282,1240,1130,913,830,612,521,604,707,580,776,926,1112,1156,992,872,1112,1284,1284,1322,1252,727,519,647,1196,1268,1160,1376,1520,1580,1352,1110,1254,1048,1206,934,825,895,1046,1108,775,444,386,422,520,512,466,439,532,776,475,290,279,266,264,269,361,469,413,357,334,305,316,319,323,298,293,279,284,276,277,281,284,274,241,250,268,290,294,269,281,293,302,289,280,294,283,281,296,309,298,289,291,295,294,292,309,305,278,277,277,287,286,281,282,254,269,269,270,260,258,288,286,315,442,525,632,774,692,389,307,336,347,347,350,348,347,332,316,346,322,308,330,356,397,761,1054,1076,1060,1012,777,666,867,938,744,571,539,607,702,697,589,550,539,445,387,387,430,449,468,308,303,307,352,414,366,343,369,416,408,352,307,307,318,391,438,437,477,343,318,388,482,809,1072,846,449,385,857,1268,1398,1416,1142,1170,1444,1520,1494,2164,1896,1282,1838,1604,905,832,1084,998,619,468,825,1362,1268,1138,1040,921,929,673,405,382,597,705,661,937,1032,1100,1362,899,484,466,490,490,693,1040,1170,1254,1304,741,408,339,772,1010,807,633,440,486,846,1034,528,366,346,343,407,424,429,576,627,521,523,570,380,454,563,792,789,893,1056,830,896,1003,1078,1324,1148,716,1092,1282,904,551,471,382,523,631,430,525,765,625,520,874,816,810,1360,912,518,736,1224,897,413,396,453,617,617,595,764,828,1013,1458,1726,1864,1806,1294,820,678,957,1310,1254,1332,1003,556,852,898,1280,1746,1456,1184,1348,1358,1312,1238,797,677,670,841,1260,1562,1420,1584,1592,1802,2370,2520,1970,2008,1880,1422,1282,1244,861,879,621,409,359,316,375,505,509,373,380,361,363,352,303,369,414,378,442,490,422,362,390,401,377,375,383,377,368,373,414,469,447,416,386,340,270,279,292,274,292],[497,422,376,404,440,444,434,571,764,724,584,408,382,420,416,351,364,415,373,412,382,402,378,383,346,351,397,387,374,382,397,385,403,356,291,266,259,265,285,334,405,559,556,453,480,452,365,354,365,346,292,308,323,411,1466,1760,1684,1660,1096,944,960,749,526,565,547,492,409,403,357,303,304,241,252,286,242,303,550,691,576,460,379,379,376,360,357,376,381,389,401,356,347,418,415,383,362,340,310,318,340,363,394,444,423,723,961,400,413,406,360,354,370,387,419,401,401,411,462,543,574,485,496,366,383,387,366,348,425,463,454,499,500,502,476,509,478,449,438,427,389,364,372,383,379,413,469,468,381,356,368,326,330,364,525,1080,1180,1238,903,376,367,491,536,519,465,498,789,472,354,985,1730,1608,1478,1646,1456,1358,1440,1148,1450,1350,1362,1326,738,752,955,1009,1216,1354,1011,505,480,415,435,409,297,301,580,785,1204,1210,808,761,673,363,488,929,1108,1002,651,398,478,550,399,318,554,825,834,579,402,484,786,1358,1258,1296,1250,871,840,1086,802,422,389,426,813,1454,1294,821,775,681,984,1162,1322,1144,823,836,958,871,564,469,455,866,1108,830,566,617,754,1013,1012,775,721,1076,1250,1212,1380,1266,995,1034,1192,1290,1328,1634,1434,1326,1554,1218,1302,1842,1668,1526,1252,1434,1572,1618,1290,813,652,906,1144,977,755,1232,1404,1392,731,325,332,323,313,344,327,344,490,968,1406,1410,1258,1280,1368,1432,1062,916,930,1244,1484,719,458,465,645,1018,954,844,1190,1324,966,836,1092,1216,937,601,734,763,720,533,490,500,745,1322,1132,1216,1426,1454,1270,721,888,924,838,1010,993,783,639,594,776,928,966,1044,1160,963,710,697,927,1402,1112,938,1072,1152,1086,1021,1034,1016,1005,1098,989,979,897,1013,1608,1590,1498,1406,1082,792,786,845,837,838,949,1210,931,682,1240,1274,973,892,615,539,808,1138,1122,604,581,788,1050,954,928,1068,1142,987,899,854,707,875,1522,1620,1394,1352,877,641,663,778,761,604,740,1714,1876,1130,1086,1152,1009,849,520,453,906,987,906,948,684,413,479,668,734,924,1302,758,595,656,1106,1208,1308,1260,940,599,432,727,1224,1082,791,490,405,466,1056,1650,1876,1730,1170,1094,955,489,388,309,388,554,565,598,1226,1528,824,457,464,492,488,641,1048,977,801,692,680,588,635,560,482,471,1090,1136,459,302,272,296,361,475,562,580,513,573,415,399,405,332,353,428,418,420,493,420,385,437,696,1328,1290,1344,1328,1062,1356,1422,816,470,412,393,442,521,513,654,1130,1178,946,881,1112,1456,1628,1506,827,849,733,729,786,926,723,588,680,1340,1702,1194,812,672,553,822,1202,1366,923,590,515,417,388,433,502,574,551,575,608,567,448,420,395,375,426,537,546,492,499,506,445,571,453,529,735,880,885,583,436,526,505,415,420,521,617,516,497,497,445,412,524,394,413,417,483,595,653,767,796,838,846,488,478,506,454,263,213,257,267,270,291,361,481,455,577,522,392,655,678,441,352,329,430,479,369,276,358,482,511,497,524,769,784,623,415,850,1172,1142,959,827,882,907,1146,693,736,634,344,300,580,629,423,310,312,368,436,486,634,726,1400,1224,628,378,438,635,685,575,507,321,490,797,559,393,344,352,355,391,538,445,295,256,234,228,301,580,626,577,539,437,497,588,545,446,364,352,361,410,421,397,388,441,440,407,398,445,541,728,1642,1898,1626,1600,1454,1272,965,770,1076,886,678,778,1112,1378,1732,1694,1208,1122,1472,1408,831,1066,1220,1340,1524,925,562,754,1058,906,1196,1484,1560,1360,964,1410,1426,1520,1660,1524,1252,1144,1126,1288,1918,1844,1242,1302,1286,1394,1752,1820,983,656,619,712,674,1242,2482,2662,1794,1626,2310,2988,3142,3228,3292,3122,1622,1382,1202,769,1176,1504,1712,1966,1850,1766,1550,1470,1500,1526,1806,2042,1872,1158,692,400,579,1100,1274,1422,1346,995,846,728,485,341,372,380,595,1066,1276,1064,757,810,1312,1588,1258,1264,1378,1448,1400,1514,1642,1768,1542,1216,1266,1032,860,993,943,1340,1232,1040,1310,1174,741,892,993,980,1764,1902,1130,990,964,653,432,426,586,933,957,579,444,298,285,319,661,1154,1013,893,1190,1294,920,480,303,257,235,232,230,270,311,434,551,433,412,662,927,1168,896,678,657,556,444,512,425,697,745,596,836,1096,1236,962,591,440,261,322,525,466,325,363,411,493,541,438,461,627,494,411,518,650,502,389,259,246,260,262,232,240,288,344,420,578,582,468,621,521,408,628,528,366,451,1074,1030,383,316,261,596,1356,1212,1412,995,1070,916,482,680,607,354,567,669,373,390,988,1178,565,274,315,362,339,236,283,524,518,325,376,661,886,550,722,929,859,533,504,1122,1448,1008,497,658,1021,1010,983,1352,1290,909,1050,1354,1448,1146,607,345,344,313,365,421,419,412,453,508,920,1078,888,645,531,499,490,546,859,1288,1388,1160,1316,1242,1214,1372,1252,1206,1356,1352,1184,1372,1462,1344,1500,1290,1264,1438,1344,1232,1378,1582,1434,1526,1942,1888,2018,2060,1396,1062,1206,1318,1418,1048,1044,1070,962,880,767,711,589,560,501,474,458,445,447,456,463,435,450,494,792,1230,965,569,690,697,875,960,900,1046,760,499,485,462,454,389,399,538,677,488,589,791,833,751,636,642,733,1060,1320,894,388,362,360,506,807,1016,1088,1042,1050,1132,1136,890,536,423,390,361,404,398,414,426,379,418,451,428,370,388,587,828,822,606,414,370,383,422,344,307,321,357,409,547,628,583,491,380,429,479,402,323,313,428,483,717,868,672,603,657,675,496,436,441,437,418,420,414,431,486,479,412,397,356,419,394,356,451,453,457,528,508,373,318,397,489,481,432,479,533,455,435,465,474,501,549,518,416,398,437,450,426,457,443,424,562,568,579,498,519,484,462,451,811,1472,921,642,532,441,387,367,590,633,601,597,469,395,415,420,393,455,435,427,459,417,506,781,872,647,361,331,348,364,346,305,299,277,307,439,486,482,678,839,611,698,1102,1324,1458,1390,1412,1378,1456,1598,1952,1438,730,577,663,750,647,716,893,771,580,434,594,1082,1340,1306,796,517,804,1036,1018,1050,984,1009,995,1212,1344,1288,1076,613,526,1180,1770,1330,1050,1482,1152,854,861,936,846,1160,758,497,662,775,910,1128,1214,853,1350,1616,1134,677,945,1130,779,761,1032,1158,960,770,1362,1400,1362,1358,1134,1338,1346,973,703,725,753,697,655,928,1206,1134,1032,929,1124,1038,637,514,569,745,940,1118,1023,836,678,786,1262,1398,1362,1288,991,619,519,747,1172,1384,1520,1396,1078,1458,1406,1110,918,1074,1234,1324,1080,825,804,907,951,648,413,381,549,475,405,345,444,602,415,297,292,301,395,568,601,440,311,285,305,319,325,328,318,315,294,285,286,264,271,279,279,269,249,254,263,276,262,266,280,281,289,283,274,278,278,299,315,315,302,299,299,288,282,282,286,289,270,284,287,280,276,277,288,276,270,258,262,257,268,294,287,373,624,1050,1240,1156,717,394,331,348,354,329,320,342,366,329,306,343,324,298,310,314,450,832,996,930,910,848,613,535,641,975,1021,940,908,873,974,1076,715,418,424,415,396,412,447,851,846,517,527,1072,1476,1054,615,457,467,467,392,301,301,388,434,469,485,505,512,423,412,420,415,432,490,557,534,438,700,1242,1266,1204,1250,1532,1744,1486,1224,1202,1684,1748,2176,1908,1228,1026,1100,949,612,312,869,1496,1452,1362,1246,1230,1198,838,446,323,393,574,747,1054,1160,1096,843,639,440,475,656,773,1182,1410,1308,1350,962,636,589,546,485,474,716,585,543,606,716,1188,801,401,360,337,428,430,346,539,745,557,578,558,401,401,702,1144,1168,969,824,728,782,1032,1015,1036,711,584,778,832,505,264,323,503,620,463,418,565,661,681,771,992,871,891,1402,1100,614,760,922,785,571,513,469,595,728,669,761,785,975,1278,1436,1488,1278,815,522,471,766,1320,1548,1710,1158,574,640,742,1262,1588,1106,815,979,1128,1066,883,638,1032,1190,1620,1124,898,1206,1510,1520,1852,2258,2428,1656,1766,1526,1390,1236,1244,1096,1058,687,416,482,418,380,481,542,470,403,361,356,354,355,423,431,389,462,561,561,408,408,396,400,430,408,426,431,414,440,440,444,410,375,366,304,268,272,285,310],[496,428,390,400,411,410,355,636,808,877,786,596,464,434,421,390,411,383,359,423,426,406,327,323,359,382,363,325,323,371,403,381,414,354,301,287,286,280,285,342,488,689,627,455,480,505,410,389,359,349,346,323,337,386,1090,1386,1478,1550,993,1068,1040,1168,1052,1023,1082,880,586,478,359,295,339,348,292,265,242,288,428,531,472,440,389,412,483,495,433,361,359,387,406,395,326,329,336,354,380,377,365,347,325,365,412,423,438,502,474,315,377,367,406,494,469,481,571,555,502,493,490,510,591,610,500,391,388,385,330,336,388,371,357,388,431,515,567,500,460,435,421,411,385,385,415,429,397,398,371,384,317,388,591,753,841,615,465,806,1188,1240,610,427,433,580,543,429,421,377,323,378,438,949,1314,1390,1626,1926,1640,1190,960,1160,1406,1350,1204,1054,978,1218,1520,1390,1334,1364,875,463,483,462,500,360,322,506,705,760,1001,1224,1276,1084,736,398,481,869,1090,1016,623,331,399,450,505,681,612,546,513,540,473,571,965,1554,1234,968,855,780,779,874,730,481,371,424,903,1322,1104,780,655,716,1218,1516,1380,1182,1236,1302,1064,626,539,585,655,1020,961,638,464,415,775,1102,977,956,810,710,681,916,1222,951,596,729,1072,1176,1288,1400,1114,1526,1794,1338,1704,2216,2404,1738,1264,1256,1102,1232,1320,1096,927,998,825,934,717,910,846,691,404,262,336,317,281,327,327,350,907,1314,1184,1174,1362,1016,985,1128,1316,1474,1042,799,829,498,401,411,486,473,523,745,1074,1200,1246,1242,1186,1122,673,480,409,415,577,637,534,389,705,1015,836,806,1122,1488,1007,637,632,499,916,1418,1148,590,395,363,338,399,538,573,562,676,890,907,636,967,870,792,967,1001,1026,1130,1156,1086,1030,1216,1318,1332,1358,1462,1482,1388,1342,1390,1210,846,919,984,914,947,868,930,1076,1056,1224,1102,1186,1222,934,555,830,1110,1284,772,599,609,757,857,882,888,1108,1494,1112,582,727,1270,1538,1648,1498,1180,883,841,761,639,970,875,708,1266,1382,1048,980,1048,1056,971,658,501,991,1140,955,691,394,387,526,759,761,850,881,495,658,1066,1586,1804,1462,1156,941,745,647,547,742,1090,1003,670,390,420,1020,1390,1260,1036,955,853,822,995,715,315,374,584,805,731,793,659,387,393,608,855,926,1108,1292,753,672,588,591,580,572,480,435,444,1116,1204,481,388,388,334,356,489,593,534,508,641,603,535,444,311,314,409,450,416,467,424,417,518,1010,1732,1416,972,852,772,673,602,490,449,388,389,447,497,455,636,1028,1042,895,973,1316,1434,1438,1484,1042,1066,1110,1040,1216,884,528,561,573,764,927,988,1034,1034,819,1040,1272,1266,789,565,508,422,402,426,448,480,562,638,601,537,386,291,277,339,476,517,554,609,583,505,465,475,440,470,460,579,752,960,937,704,529,424,641,926,745,493,427,499,404,391,545,477,365,357,485,729,970,924,825,774,850,566,434,347,265,242,297,387,366,248,230,306,565,598,724,598,349,421,587,502,364,387,312,293,263,286,339,417,396,383,451,487,472,473,480,905,1382,1308,696,409,497,686,1296,838,934,688,359,300,552,727,501,394,422,379,463,655,725,724,1090,1612,1007,369,491,759,853,863,1008,529,391,748,634,509,423,442,396,370,447,433,359,309,226,216,346,906,1100,743,577,521,504,453,490,531,456,357,410,513,422,458,479,424,416,406,386,440,492,960,1696,1588,1358,1492,1198,1202,772,543,736,742,901,1140,1328,1306,1198,1002,903,1066,1258,1254,778,946,1140,1260,1274,1011,633,760,1012,943,1368,1604,1526,1352,1378,1524,1442,1428,1976,1816,1538,1560,1540,1654,1834,1732,1616,1632,1550,1582,1820,1960,1348,885,725,791,747,988,2098,2836,2080,1584,2366,3338,3630,3686,3850,3320,1874,1400,1404,805,913,1278,1456,1666,1758,1682,1476,1280,1530,1772,2002,2674,2374,1306,1000,674,691,1132,1924,2054,1532,1050,800,750,575,563,730,417,640,1400,1084,815,855,797,966,1086,1232,1390,1582,1416,1032,1028,1172,1470,1704,1508,1228,1021,751,554,698,1104,855,840,1522,1438,869,744,887,789,1204,1116,735,603,702,677,505,364,423,758,952,786,512,282,250,295,406,794,1180,1338,1384,1344,1314,640,365,287,246,241,260,279,282,337,425,473,673,902,937,1166,798,571,589,562,819,1118,723,653,836,863,818,926,1032,733,491,325,257,313,468,410,306,426,513,396,325,294,352,303,283,393,625,525,572,438,265,235,277,270,239,253,231,234,326,453,441,390,550,480,396,719,747,465,336,513,518,387,304,267,469,1350,1438,1504,1386,1398,1220,988,1050,755,322,556,773,414,568,1358,1610,813,331,303,316,331,394,777,910,410,453,474,642,680,466,855,1384,1236,675,643,1222,1372,874,538,838,1382,1322,1226,1336,1402,1200,1272,1514,1546,1228,647,483,400,383,438,450,473,501,488,637,1214,1594,1216,567,420,473,493,457,584,846,919,931,1266,1170,1196,1234,1282,1362,1382,1338,1056,1238,1372,1344,1356,1340,1394,1364,1354,1378,1494,1540,1488,1790,1870,1918,1764,1548,1268,1090,1500,1344,1246,1258,1186,1184,1222,1116,1138,1238,957,784,617,717,860,836,758,774,708,702,648,609,672,728,611,536,477,402,747,824,659,680,791,900,834,758,543,452,445,484,498,669,792,1066,1494,1364,969,780,752,778,668,480,414,392,388,409,512,802,1030,993,927,1038,1062,879,647,430,402,404,422,397,489,515,450,434,471,537,435,535,678,916,800,459,346,356,384,374,323,302,313,354,390,399,457,494,581,498,485,504,458,373,383,563,625,794,1034,855,483,436,495,504,453,432,437,441,418,466,539,502,511,460,368,286,388,372,404,449,410,386,457,511,435,363,377,401,453,572,543,499,429,422,427,483,565,624,594,427,373,387,436,479,447,420,406,414,473,474,414,331,346,458,475,1090,2058,903,439,370,359,389,418,509,526,540,507,441,426,376,367,391,415,415,379,368,364,657,1054,1258,1010,499,386,338,335,338,301,282,280,300,466,628,749,825,698,666,959,1464,1490,1492,1438,1528,1644,1622,1614,2368,2442,1404,610,591,617,700,500,606,844,602,354,361,598,1002,1060,639,592,883,1054,802,797,772,854,965,984,1248,1598,1216,657,601,819,872,572,813,1214,753,591,450,347,517,951,945,979,1306,1268,963,962,1166,649,926,1172,1056,662,471,568,568,554,558,657,724,612,1236,1126,908,825,1136,1410,1300,885,850,945,898,1190,695,805,808,750,981,1040,1544,1476,941,653,681,780,849,1040,752,670,576,570,695,725,729,712,585,448,475,819,1268,1404,1306,850,762,1362,1354,1188,1146,1242,1410,1758,1502,1432,1324,1342,1108,1164,798,366,363,304,269,229,268,316,322,292,296,370,586,543,358,263,284,275,307,358,360,316,323,339,306,292,262,250,262,259,271,270,258,254,258,250,253,271,283,284,289,289,282,276,289,292,283,287,294,304,307,307,310,296,275,283,276,272,278,274,263,269,276,280,265,255,263,270,273,278,291,319,547,1128,1246,922,527,346,339,351,331,311,305,347,362,327,301,296,283,300,329,347,512,747,755,646,544,479,444,582,682,1066,1072,909,891,996,1548,1606,807,482,476,482,566,515,414,923,1050,1066,1005,1572,2228,1528,870,566,470,401,385,372,378,384,382,433,457,468,478,458,435,450,530,469,581,636,617,621,959,1172,1028,1110,1472,1786,1490,1022,1036,996,2182,1906,2114,1968,1622,1366,979,619,446,327,435,600,620,728,912,1088,1128,777,457,390,636,916,973,1228,1362,1118,1344,1528,926,572,609,909,1302,1232,1346,1214,745,742,658,669,821,813,714,562,578,666,645,1036,1172,791,408,366,373,357,367,448,541,459,536,535,480,560,1003,1222,1036,872,775,678,659,919,937,979,713,580,433,501,529,434,518,747,724,691,641,449,387,484,578,835,850,991,1526,1194,513,620,715,745,871,623,390,387,596,747,796,831,919,957,1030,1372,1252,655,493,439,721,1362,1570,1120,940,763,399,441,893,1092,589,523,857,1014,966,563,583,1106,1004,808,1034,1290,1416,1614,1760,1792,1764,2208,2216,1738,1306,1302,1158,1064,1118,1078,993,735,849,588,391,387,488,517,461,389,373,351,328,359,354,405,450,487,484,400,463,444,411,400,374,424,450,375,354,444,623,478,366,360,324,303,318,339,334],[521,475,438,429,387,359,353,459,574,635,583,469,425,447,411,386,366,398,372,380,381,365,332,317,328,366,319,271,312,313,288,305,332,317,307,302,298,285,286,362,573,769,585,448,547,675,506,419,370,313,361,361,344,340,629,1264,1390,1050,769,1232,1456,1592,1422,1174,1062,884,719,613,406,332,375,408,354,308,286,280,302,392,406,430,440,458,531,484,409,350,337,375,403,397,308,296,321,349,382,390,365,328,312,382,466,502,458,424,375,364,362,354,451,500,408,454,539,571,466,472,500,480,520,680,604,432,398,371,350,371,498,810,501,370,417,441,485,545,507,467,428,407,434,474,458,449,432,398,386,395,410,738,1022,1208,1252,1026,669,551,1162,1078,498,400,428,477,442,418,409,425,426,346,408,541,683,1150,1444,2234,1988,1222,814,1162,1488,1282,1038,1226,1326,1160,1262,800,879,971,753,613,450,527,646,461,451,705,738,766,827,835,1318,1028,572,398,348,625,1021,1019,556,398,510,428,662,1112,1170,1328,788,783,761,724,1180,1686,1466,908,725,994,915,1278,1160,885,686,574,689,891,890,858,719,830,1690,2200,1870,1334,1466,1280,1238,810,509,505,1021,1268,874,874,605,420,718,935,821,798,791,477,329,434,631,725,554,651,1036,1222,965,863,890,1228,985,1194,1756,2042,1794,1408,1766,1742,1162,1126,1238,1054,857,943,1082,1172,651,346,322,317,317,314,304,281,310,284,323,391,904,816,763,1312,1472,1060,869,893,1132,1460,1550,1446,709,445,440,430,403,463,486,775,1009,901,1260,1242,1076,1090,619,398,346,419,520,497,406,345,420,426,366,396,606,852,993,1072,1012,1032,1400,2002,1794,906,433,411,426,543,640,717,662,1208,1786,1576,920,897,838,963,1590,1442,725,682,738,867,634,594,1102,1620,1728,1286,880,1030,909,884,901,948,1316,846,400,485,576,766,960,1005,943,990,1066,1092,1312,870,774,954,1364,1158,803,687,933,880,628,565,542,572,420,380,452,590,760,965,961,634,461,732,738,593,836,1032,771,722,915,733,772,889,1058,1009,848,751,869,1182,1178,830,443,515,672,649,532,821,693,568,950,1086,1298,1292,860,954,1134,1384,1284,1158,1064,1524,1052,513,432,473,843,1444,1378,1294,1378,1282,1130,1380,961,358,402,464,675,597,506,598,586,721,836,1072,1136,1258,1260,749,488,559,616,630,565,442,419,452,559,551,441,424,449,357,311,368,446,600,740,908,919,611,400,354,343,421,462,453,456,428,442,454,709,981,1068,918,677,567,442,458,602,547,462,395,405,433,410,677,919,542,430,552,847,1252,1284,1328,1036,1023,1076,1560,1758,813,513,469,395,436,625,1122,1530,1430,1272,1272,1362,1080,597,496,445,414,435,443,425,539,712,721,516,351,279,259,285,440,620,550,564,624,594,517,517,394,398,478,535,501,479,548,690,980,980,872,634,785,580,456,452,493,444,464,494,375,300,376,717,986,1102,850,743,590,477,590,532,363,271,288,322,478,309,234,232,352,507,519,559,385,294,325,504,569,397,535,461,481,369,267,298,381,413,435,447,506,630,803,1008,1178,1390,1372,677,447,597,706,1360,1324,752,302,255,233,374,740,849,591,631,700,883,1274,1110,855,722,998,911,519,404,412,610,788,973,998,476,598,727,551,470,568,485,409,473,403,331,303,259,230,451,1134,1406,1120,864,681,611,566,483,536,633,507,490,487,419,479,462,464,454,423,379,407,498,1060,1866,1452,1038,1060,835,987,771,473,423,514,636,791,1030,1176,1312,1310,1368,1592,1674,1294,1008,1272,1204,1044,937,694,591,589,689,1021,1620,1766,1660,1484,1588,1766,1840,1944,2100,1992,1632,1282,1456,1910,1858,1356,1224,1226,1362,1484,1762,1970,1682,1126,856,763,813,882,1766,2850,2370,1638,2132,3420,3902,3872,3934,3554,2280,1336,1490,875,726,1060,1450,1954,2082,2126,1974,1620,1574,1898,2010,1834,1758,1482,1164,1036,1164,1330,1880,1708,1012,694,855,903,971,1274,1156,493,631,1590,977,725,1260,1166,922,972,1048,1022,1222,1490,1738,1550,1374,1340,1700,1594,1242,1172,994,756,1088,1328,837,750,1036,1026,706,697,557,516,720,675,558,505,579,729,747,429,414,611,1001,913,642,362,279,301,364,590,1009,1560,1410,1192,1278,890,428,271,292,264,240,256,272,271,356,583,711,733,630,683,549,566,653,694,1164,1290,659,529,637,868,992,1178,806,590,412,261,234,337,438,387,365,520,541,358,330,403,343,265,318,462,447,460,539,411,310,315,325,214,258,284,245,267,333,422,559,548,513,460,454,641,617,394,398,568,369,475,334,292,503,1244,1502,1298,1240,1284,1152,1116,1456,966,447,424,764,579,697,1390,1422,674,290,260,327,400,534,1422,1216,883,834,641,514,387,412,924,1376,1076,538,592,995,764,592,655,1032,1372,1378,1266,1334,1446,1438,1760,1898,1650,1382,742,466,403,494,452,536,550,533,557,805,1282,1506,1136,562,546,681,738,971,1054,1206,1144,1236,1436,1294,986,924,984,1042,1078,995,819,951,1212,1276,1334,1408,1404,1378,1500,1582,1528,1446,1482,1560,1460,1632,1844,1780,1238,1290,1558,1322,1400,1458,1324,1124,1120,1092,1190,929,610,731,797,1096,1432,1232,1086,1216,1164,1066,999,691,669,763,863,831,648,662,860,563,404,442,504,521,736,838,932,794,741,759,841,887,840,1344,1790,1518,1336,1118,818,597,488,491,456,419,437,432,440,565,681,622,675,807,698,525,446,379,370,392,389,324,387,473,455,422,497,764,696,769,790,822,621,384,361,342,316,310,291,285,317,368,435,442,551,670,704,558,477,456,456,444,513,634,638,727,744,590,342,305,388,478,512,477,459,448,469,559,657,542,496,505,400,369,430,336,354,415,358,309,368,498,481,388,393,391,395,513,449,474,483,453,458,535,629,634,579,411,338,361,379,465,451,421,428,415,405,412,400,354,378,440,457,649,912,702,423,327,372,420,444,506,524,462,430,409,445,452,441,466,486,481,411,372,372,412,599,960,757,550,418,345,334,318,309,280,297,321,476,711,666,591,610,873,1170,1338,1428,1264,1300,1522,1694,1578,1506,2150,2618,1760,672,518,529,692,536,554,1021,938,470,399,523,647,971,1000,832,909,979,930,791,716,657,728,866,1484,1818,1220,1284,1082,519,300,328,329,300,352,415,438,402,578,923,1024,1214,1500,1310,1254,832,904,982,1444,1824,1616,955,542,492,434,337,380,550,819,887,1038,785,785,717,604,1162,1400,929,1152,1418,1578,1604,706,630,777,821,1452,1678,1534,1378,844,596,742,1290,964,750,558,682,732,800,712,480,480,500,430,415,509,930,1320,1240,1234,1012,901,1248,1212,1192,1056,645,1254,1998,1540,1702,1656,1794,1626,2072,1134,389,285,251,235,252,280,288,352,300,303,417,581,394,284,287,281,294,312,383,433,350,310,323,306,281,274,256,255,253,271,273,263,262,268,276,289,293,288,289,288,278,281,277,295,307,308,314,311,311,307,318,314,308,278,276,278,268,270,259,260,270,284,266,248,257,260,273,273,271,312,328,430,571,502,368,321,314,299,317,316,318,331,335,316,287,278,289,362,441,473,547,619,644,587,480,490,530,611,956,1032,1102,980,678,575,831,1560,1766,935,567,446,393,487,543,551,916,1188,1360,1210,1302,2232,1844,1282,797,734,678,440,359,365,342,350,380,426,432,445,450,471,522,519,388,740,1036,1005,731,814,952,1000,1214,1212,1108,898,700,823,1206,1726,1472,1562,1588,1606,1528,1054,444,351,313,309,309,359,466,524,847,1046,628,280,468,1086,1614,1604,1500,1238,765,1500,1782,1252,713,618,1180,1372,1254,1334,858,730,806,766,883,1158,1238,847,557,538,607,647,730,937,789,599,518,487,351,305,350,458,498,769,1056,1056,1126,1294,1338,1288,1024,796,697,701,829,1064,1226,1058,672,381,398,700,926,915,922,832,758,918,701,422,446,612,811,733,801,1252,895,381,489,667,980,1210,802,514,380,474,684,756,791,892,1112,1146,1440,846,525,445,356,606,1054,865,479,922,1140,515,585,999,1488,882,553,952,1392,1248,691,667,848,916,1056,1432,1558,1256,1448,1886,1854,1792,1944,1780,1338,1048,1021,1334,1466,1196,933,1078,716,678,495,338,330,432,532,537,503,522,492,438,405,442,450,376,448,515,456,436,459,415,346,324,378,394,348,357,412,601,450,342,332,308,358,437,427,368],[1244,863,583,480,422,419,419,455,537,501,422,364,378,409,400,381,391,420,378,328,328,370,392,314,314,362,330,325,364,362,346,340,308,288,290,292,297,302,298,349,429,540,433,422,473,581,494,428,401,343,329,331,317,363,623,1598,1488,1576,1488,1804,1456,1272,1526,1300,990,820,724,635,370,330,379,545,504,425,370,313,356,417,454,536,531,461,466,417,373,321,278,292,353,380,331,310,321,343,362,350,340,350,352,472,518,460,404,365,361,336,330,364,428,382,397,382,335,380,327,368,415,382,380,612,692,440,366,354,310,292,498,1328,680,429,482,482,464,449,487,495,403,403,467,443,448,423,407,389,380,416,437,720,994,1140,1302,1306,1114,949,1372,766,422,381,357,379,401,399,393,462,474,411,412,400,432,503,1080,1770,1688,1068,806,1226,1332,1242,1144,1152,1234,934,688,404,389,498,1000,884,492,615,913,796,672,797,742,749,673,548,631,578,494,491,476,651,931,801,579,655,1318,1158,886,1017,1602,1708,855,947,1098,694,742,1074,1022,797,810,1158,1188,1358,1360,1258,1274,944,705,880,814,605,521,536,1088,1604,1316,1438,1586,1352,1244,999,523,370,788,1172,951,1048,569,541,964,906,697,580,628,654,608,444,576,822,732,908,1076,1184,611,498,1056,1444,1236,1164,1334,1380,1202,1560,1968,1786,1078,848,749,936,1120,1370,1538,1338,813,381,370,389,400,345,285,286,351,290,327,333,464,547,874,1204,1100,839,798,1138,1686,1970,2038,1474,649,486,599,742,1220,1282,722,706,776,706,891,959,1060,901,432,324,386,383,330,299,287,300,285,262,278,273,278,379,387,695,937,968,1238,1288,1104,731,604,866,670,746,823,925,811,1084,1302,999,844,957,766,833,1518,1320,663,565,644,728,665,767,1242,1622,1880,1670,919,1015,918,1200,1216,1140,1100,717,506,568,642,714,669,717,814,730,818,1096,1410,1360,1058,805,1068,1110,935,1120,1268,877,481,408,454,502,485,440,466,461,868,849,687,615,377,418,556,460,494,819,981,853,941,630,673,815,968,909,763,832,976,1098,985,662,549,589,763,768,531,947,1026,1036,1334,1208,1362,1114,917,1202,1326,1340,1002,1220,1254,1476,969,529,698,588,742,1050,973,1594,1836,1830,1454,1220,723,350,333,345,498,677,859,1002,880,708,750,1098,1214,1396,1296,743,390,365,485,633,557,473,480,412,371,330,388,383,363,311,294,357,420,552,779,977,957,630,426,408,404,430,451,437,425,428,436,421,443,695,1066,669,743,592,488,616,653,578,450,389,433,505,535,731,890,516,425,419,988,1214,907,879,895,1188,1136,1372,1352,599,471,401,398,464,672,1582,1816,1402,1398,1532,1398,884,490,472,440,445,517,589,579,715,886,754,503,367,284,295,374,444,472,515,541,583,564,624,506,389,403,490,505,468,434,382,371,435,769,1256,1344,1032,706,577,614,558,607,538,504,436,453,644,932,772,810,801,675,513,445,400,547,797,574,335,386,568,457,335,285,306,303,340,298,241,328,318,458,591,443,448,560,608,472,339,316,321,361,445,607,823,1002,1136,1138,1088,1146,1290,786,436,442,487,1048,1440,877,232,265,252,311,633,1120,773,652,1428,1824,1620,1470,1288,1088,1546,948,477,378,287,324,365,488,728,412,377,658,641,511,634,506,503,517,359,282,270,300,338,752,1288,1400,1434,1338,978,730,674,601,562,573,558,558,506,426,386,389,402,427,422,451,437,469,755,1158,1032,817,883,965,1214,1046,626,440,592,794,1021,1072,1086,1126,1184,1598,1600,1708,1466,1308,1654,1504,803,639,585,558,505,651,1256,1686,1780,1666,1410,1716,2020,1910,2088,2226,1906,1540,1680,1924,2024,2160,2040,2108,2226,2194,2084,2084,2132,1982,1324,987,736,838,832,1406,2630,2620,1780,1876,3112,3890,3934,4124,4014,2852,1354,1520,1007,681,1052,1438,1940,2044,1926,1896,1814,1684,1562,1426,1428,1600,1764,1740,1458,1478,1434,1430,1398,987,838,943,1062,1158,927,594,403,611,904,1142,1130,1036,1156,1210,1178,1164,775,994,1620,2008,1838,1508,1336,1776,1816,1594,1412,1092,910,1098,905,788,755,589,896,993,814,468,334,534,705,619,525,496,676,1015,560,430,438,786,850,636,352,270,273,302,436,777,1228,852,796,962,820,370,245,243,208,197,226,271,266,280,430,564,576,653,883,896,1060,1088,769,897,999,620,604,474,717,1152,1392,1018,645,368,271,284,379,486,394,452,531,388,340,858,1138,639,304,440,659,524,494,438,302,221,308,372,257,257,268,247,302,375,562,722,666,564,441,443,685,478,528,664,684,351,329,295,305,512,861,968,943,1028,1056,1050,910,1030,931,563,329,466,394,562,1152,1262,816,496,282,341,458,337,957,863,1048,1128,792,476,413,455,831,1000,542,404,624,956,642,605,761,1202,977,1034,1248,1098,1090,1082,1268,1310,1206,1372,874,467,550,808,787,697,615,646,702,838,1202,1396,1016,591,619,669,634,1362,1624,1322,1134,1009,1192,1208,1078,915,824,801,821,764,803,1114,1386,1404,1400,1416,1356,1378,1412,1538,1428,1414,1384,1354,1484,1448,1340,1420,1332,1530,1500,1314,1440,1264,1152,1042,1114,1178,1258,1246,1202,1214,1454,1588,1458,1242,1118,1236,1134,916,1086,766,622,956,1122,1222,1202,940,760,468,423,411,444,438,440,503,630,706,724,629,689,722,661,1048,1458,1688,1852,1448,741,423,398,402,402,450,493,453,415,429,417,361,403,496,435,436,463,419,369,355,348,350,428,471,459,477,521,664,669,703,706,781,666,439,348,340,301,304,305,326,315,342,408,528,700,793,640,461,453,447,458,447,471,523,470,399,368,309,304,390,476,616,648,512,485,454,453,531,578,548,537,502,390,395,439,366,325,383,357,313,294,405,443,393,352,352,408,462,407,383,429,475,530,592,631,582,467,362,320,311,314,344,359,476,542,412,407,411,390,350,399,464,476,653,918,766,473,396,391,391,399,418,420,384,445,406,428,430,429,510,511,406,393,365,340,340,440,626,433,435,419,479,390,312,308,296,343,345,421,640,609,517,465,586,905,1416,1406,1250,1404,1432,1664,1888,1988,1786,1550,1158,814,615,694,793,769,692,919,1064,669,465,490,841,1844,1470,918,1916,2088,841,711,844,627,627,854,1466,1490,1052,1440,1258,553,333,325,319,344,368,439,461,406,545,915,1094,1136,1348,1218,1254,1172,1042,1388,1824,1804,1448,1066,594,665,415,246,294,405,571,607,758,828,1052,1001,598,984,1166,924,1282,1596,1512,1054,554,570,888,1064,1570,1606,1340,1340,694,478,953,1774,1182,711,490,849,1302,1408,1032,443,384,408,509,765,719,719,1009,1222,1714,1338,1258,1328,1098,1160,1136,969,1302,1502,1360,1198,1636,1652,1532,1556,792,350,328,300,250,225,229,303,356,319,302,370,380,307,279,272,273,290,310,328,378,411,334,307,314,302,282,260,251,251,263,273,278,277,290,293,287,283,287,298,295,283,275,266,287,296,284,306,300,305,302,301,283,300,288,275,259,269,265,241,250,260,280,262,235,242,235,256,276,296,303,285,299,311,321,327,327,323,317,335,333,316,331,339,304,321,329,298,387,500,544,687,762,722,780,692,639,629,648,897,1150,1232,1160,849,487,523,760,709,570,484,362,339,612,780,812,976,791,875,802,837,1886,1772,1248,785,819,905,647,376,360,338,334,377,410,413,410,464,567,614,548,349,441,891,1001,878,1052,938,1108,1300,1013,1066,904,843,733,1084,1396,1338,1230,1234,1692,1700,1210,640,338,294,370,390,728,1208,924,621,731,538,361,540,1216,1490,1554,1304,948,976,1548,1340,1076,870,525,783,1332,1538,1322,727,712,749,919,1296,1178,691,497,585,475,564,1013,1026,754,693,497,650,667,544,487,505,566,760,1001,976,1296,1284,1072,1122,924,624,465,811,1136,1086,1098,1216,1140,807,425,387,659,880,973,867,853,976,1224,970,633,608,647,774,707,650,1232,759,427,541,657,959,1246,1100,716,388,308,370,486,486,559,749,709,692,798,789,529,553,822,1136,1076,583,818,1366,1080,875,852,1234,1082,735,814,1056,1014,975,830,841,1046,979,1214,1512,1562,1732,1818,1648,1736,1898,1710,1420,1132,1188,1662,1594,1396,1060,791,812,674,462,386,359,650,883,719,919,1022,796,618,803,1146,840,544,428,428,414,404,452,451,372,328,352,375,349,370,365,442,410,356,332,317,342,379,404,405],[1296,1366,1322,976,694,498,543,653,758,551,389,377,391,412,440,423,408,426,419,369,339,548,926,799,482,451,368,400,431,397,371,334,298,302,295,299,302,290,301,314,296,323,327,338,300,339,444,481,455,401,321,287,341,400,594,1708,1676,2046,2278,2104,1796,1754,1532,1478,851,669,861,769,414,342,607,875,673,475,379,301,401,485,470,505,425,454,550,487,357,291,274,285,368,417,345,312,328,340,336,375,387,343,379,499,471,394,374,378,354,333,370,348,424,361,450,485,395,329,314,379,392,347,354,551,681,399,361,405,361,280,304,625,426,365,415,496,504,452,396,368,366,381,427,442,401,376,378,379,401,426,479,552,567,770,1178,1394,1532,1592,1152,530,437,377,349,392,458,458,445,488,454,395,435,495,448,372,415,583,977,947,874,1015,1008,1256,977,764,1076,1036,712,456,385,551,1098,1368,1010,785,1118,1030,871,860,830,758,702,590,522,628,789,797,733,666,718,834,973,953,1590,1328,1116,1408,1848,1282,727,1058,884,475,404,537,797,582,725,1124,1146,1158,1386,1172,1090,978,865,1015,1130,965,621,708,698,767,846,1122,1270,1124,1032,730,359,353,445,607,584,753,543,579,877,980,965,907,908,924,651,533,608,737,750,930,933,1048,721,506,837,1162,1098,984,1146,1196,1005,1148,1064,1412,1314,892,905,1130,1598,1818,1330,1130,1026,422,303,301,316,332,294,279,288,277,311,323,394,670,906,905,982,653,615,1360,1686,1640,1342,926,702,870,1262,1496,1850,1262,565,418,444,490,404,581,807,558,331,341,370,353,332,285,284,313,296,307,363,318,351,519,552,777,996,1052,1268,1186,845,473,809,1224,887,1114,1286,999,1082,1198,676,763,1048,1094,745,723,1156,880,633,754,894,777,772,973,1320,1612,1896,1544,1162,1286,1184,1352,1184,852,1170,1780,1434,637,504,651,645,418,434,813,1054,1036,1444,1432,1320,1198,1148,1042,1084,1332,1394,698,858,695,705,672,457,483,696,632,653,730,757,666,464,682,999,1084,1142,1136,1028,984,735,393,558,779,861,969,705,733,905,965,929,728,683,824,1136,1052,800,894,1038,1582,1566,1210,1324,1120,804,488,792,1272,1056,1146,1486,1516,1050,700,955,751,557,734,756,1416,1842,1874,1574,1350,954,455,482,691,983,972,808,1011,1140,932,1102,1324,1424,1428,1164,768,448,436,555,548,418,361,378,372,380,319,331,337,305,281,297,320,354,392,514,688,810,717,503,473,435,389,400,387,369,376,319,345,470,807,920,703,877,634,550,578,492,456,412,386,579,838,774,1026,672,437,430,494,1276,1130,489,433,920,1504,1058,943,828,569,490,436,398,386,843,1662,1498,1266,1638,2110,1324,656,457,501,620,617,681,770,611,560,656,565,450,426,408,431,405,347,370,497,562,537,597,558,440,485,485,471,438,480,464,439,396,455,603,1096,1140,1136,1112,1110,1032,769,860,811,641,519,744,879,764,542,733,809,527,492,586,360,400,724,799,481,402,528,516,344,318,324,320,442,413,426,651,424,432,545,397,362,478,565,493,434,528,675,860,1005,1202,1296,1306,1528,1404,1246,1268,1528,1228,672,639,771,890,1166,1132,406,310,335,372,487,1042,953,868,1806,2114,1220,998,1236,1396,2260,1038,426,362,459,391,306,315,267,276,290,509,772,634,608,496,511,483,335,254,254,290,403,768,1098,1312,1444,1440,1162,737,630,608,592,547,419,493,652,631,488,409,443,559,647,923,665,744,949,1178,1266,1360,1360,1146,1090,1234,1188,812,721,738,911,1078,1158,959,1010,1296,1454,1470,1262,1174,1322,1288,775,672,625,618,535,822,1490,1688,1806,1676,1880,2872,2852,2410,2766,2654,2066,1766,2016,2216,2254,2286,2412,2386,2300,2290,2222,2464,2712,2210,1406,995,713,772,780,1134,2292,2784,2006,1692,2938,4224,4276,4108,3742,2820,1656,1530,1116,639,921,1266,1482,1796,1934,1972,1834,1768,1580,1742,1944,1780,1780,1442,1364,1562,1496,1462,1504,1512,1692,1496,1358,902,693,608,402,679,896,1300,1408,1160,1384,1476,1310,1246,818,996,1382,1418,1512,1348,1384,1702,1808,1838,1500,1122,1040,1224,1060,1070,885,788,1264,1318,954,601,540,662,818,628,576,541,609,995,763,460,467,591,647,578,375,418,369,306,303,554,1004,1168,1252,1062,536,258,278,246,223,184,237,268,256,276,278,392,554,760,899,1001,1300,1262,888,695,716,584,702,617,879,1154,1248,1036,586,320,268,295,360,483,393,373,393,338,411,1140,1238,685,423,536,508,372,425,309,321,301,268,357,314,283,251,237,263,299,414,511,529,462,357,359,758,625,635,620,441,577,661,469,458,678,886,857,667,1262,1654,1356,770,492,700,728,626,531,398,422,586,809,904,571,286,282,265,266,336,462,730,908,783,730,568,457,670,666,346,360,753,1180,711,558,1066,1228,631,454,556,565,563,526,505,461,583,1228,1188,795,866,1028,1132,1178,768,745,938,924,984,1138,858,578,630,701,706,1212,1460,1022,817,694,971,930,1168,1340,1392,1296,1110,828,925,1362,1378,910,937,1288,1208,1266,1224,1176,1158,1390,1610,1604,1654,1578,1810,2144,1672,1454,1198,1416,1320,888,1038,1084,1202,1408,1246,1160,1136,1138,1462,1654,1318,1150,944,1064,904,835,896,879,961,1140,1148,1242,1278,1012,720,547,424,409,378,403,503,529,501,562,557,430,425,518,533,560,984,1762,1736,976,542,450,430,433,418,404,425,432,357,347,386,375,420,495,442,436,444,406,344,330,383,479,738,710,527,465,415,412,446,468,508,633,698,551,336,363,306,300,312,347,306,311,348,380,437,608,601,411,426,417,438,430,462,475,482,391,291,268,299,330,385,491,531,491,497,564,539,474,518,570,537,488,424,448,583,485,321,313,325,281,273,377,422,398,401,392,456,544,436,367,395,440,517,631,607,590,440,327,305,291,298,306,336,512,545,405,413,419,377,323,387,455,461,640,875,777,445,408,384,386,392,458,406,388,433,397,365,359,392,546,518,365,374,351,336,348,360,352,362,363,500,566,405,322,318,300,310,326,413,516,602,430,341,399,478,1018,1282,1310,1306,1300,1588,1816,1654,1266,1526,1382,1134,831,605,631,871,913,819,760,586,501,620,1478,1846,1366,1344,2520,1708,422,542,608,694,945,730,840,717,802,1266,854,442,469,427,286,297,379,431,429,376,378,561,728,652,1180,1260,979,1134,1228,990,968,1064,1216,1104,666,787,486,356,363,390,528,565,666,850,755,853,827,979,1356,1178,1266,1500,1324,781,443,470,708,1026,1432,1914,1490,1236,811,1148,1348,1216,1144,905,683,1132,1538,1462,1294,1046,869,905,828,980,897,626,860,1290,1712,1802,1678,1170,1136,1076,1384,1534,1558,1416,1360,1220,1838,1732,1366,1102,533,421,328,238,192,196,202,296,521,450,340,380,358,293,287,263,290,296,302,300,313,383,321,294,315,313,286,265,259,257,258,258,278,288,268,273,281,280,289,305,304,294,289,290,296,307,309,324,305,296,279,276,287,301,304,293,265,254,260,254,255,250,258,253,251,273,250,248,266,276,271,261,304,321,327,321,320,315,333,307,313,313,286,282,364,498,406,309,327,420,495,669,836,742,724,678,633,666,651,749,1124,1150,886,487,328,334,398,406,464,414,381,346,559,901,1088,768,461,480,379,429,1296,1302,874,713,705,957,820,392,395,309,344,384,397,425,684,999,1028,1054,832,411,389,518,670,954,1226,1030,865,1024,1040,1184,913,813,860,1144,1686,1640,1298,996,1528,1674,1444,811,363,400,532,433,581,930,830,492,378,343,388,406,716,849,989,680,509,864,1174,1072,962,1042,941,955,1166,1268,983,769,745,766,979,1350,1272,762,787,858,402,760,1548,1568,767,601,627,599,636,694,613,628,677,946,902,596,740,791,736,877,1042,918,584,606,609,589,1126,1720,1800,1180,633,716,938,689,474,630,792,1007,1322,1030,601,437,375,488,745,791,1000,1012,832,557,663,1048,1410,1302,768,400,315,305,453,563,489,421,392,305,545,568,502,800,1052,1058,893,795,1080,1066,1026,971,805,1036,1322,1003,670,833,1328,1434,953,922,810,620,656,1048,1282,1578,1658,1456,1594,1836,1782,1670,1368,1324,1434,1520,1346,888,1044,1494,991,449,421,371,666,1048,1158,1078,902,710,634,803,1220,1132,767,547,483,468,444,469,465,416,372,350,414,372,355,402,442,435,396,335,315,309,339,366,346],[1062,1264,1432,1648,1476,1262,950,806,712,484,431,455,483,527,487,375,360,396,430,408,379,700,1102,1046,694,418,440,554,505,383,343,329,313,285,303,312,295,293,318,290,292,314,308,309,298,328,444,496,533,435,343,338,359,404,573,1256,1546,1814,2026,1834,1582,1582,1548,1726,901,1184,1244,815,476,402,776,1013,730,521,362,298,419,444,545,830,576,404,440,368,340,321,272,237,329,445,383,332,330,338,380,420,358,342,365,389,397,394,391,390,392,429,395,335,432,384,465,645,624,462,417,434,373,440,474,660,624,451,408,432,359,321,412,322,330,369,361,420,463,403,348,376,343,361,385,413,380,353,375,401,419,445,505,534,536,700,844,1150,1390,1556,854,403,408,386,388,384,448,487,495,517,546,470,450,505,503,549,532,551,626,580,574,628,797,1370,909,656,832,783,569,433,444,571,686,681,648,773,1136,1184,1058,865,821,772,722,715,694,753,774,885,860,659,579,711,1064,1182,1210,1042,1182,1790,1870,1038,722,955,661,410,410,529,664,471,871,1444,1318,1292,1478,1462,1446,1354,1376,1322,1398,1002,1228,1322,1182,1224,1188,1056,1130,1390,1260,490,398,390,440,595,754,691,445,421,530,799,819,598,669,793,706,467,551,670,667,868,1438,1516,856,535,503,615,888,1066,1122,1244,1120,1266,1064,1470,1560,1542,1704,1390,1528,1368,683,722,675,367,300,299,318,284,256,291,288,291,292,337,374,501,840,1252,1214,672,529,886,769,689,916,1186,1352,1552,1922,1786,1706,1266,579,402,369,386,398,424,405,414,351,309,284,315,416,328,318,348,399,416,355,359,449,769,990,910,1070,1262,1272,1128,1016,1062,1544,1454,1166,1678,1660,1068,1362,1626,929,1186,1216,1144,1018,951,894,762,828,990,965,1118,1340,1330,1372,1256,1512,1328,1264,1100,791,825,771,906,1588,1842,1023,909,971,1444,1308,604,579,791,828,1100,1362,1142,769,626,753,1220,1490,1558,1418,879,1058,1192,1400,1140,885,1056,1082,947,939,1284,1580,1482,816,973,1296,1622,1522,1072,1122,1098,672,337,518,676,724,1004,865,701,562,788,881,1034,977,934,837,692,818,847,882,1574,1422,1494,1162,971,727,670,1136,1194,952,1174,1400,1398,1352,907,718,844,651,834,836,1418,1774,1534,1234,1240,1144,722,1136,1196,937,586,419,1019,1450,1290,1226,1060,1038,1102,1084,772,560,539,467,374,313,321,330,341,330,320,313,282,299,322,334,286,316,356,407,600,869,824,582,478,418,373,395,370,334,341,329,371,481,1088,792,759,765,562,526,471,409,426,461,714,1496,1644,1142,990,554,407,531,856,1334,1076,475,433,719,1292,1406,1122,814,641,571,520,486,466,1184,1686,1240,1656,1584,1342,1092,656,505,554,687,728,801,872,761,655,611,456,384,414,458,437,356,307,364,512,590,550,577,505,470,486,483,458,412,435,470,429,384,451,811,930,581,507,572,902,1062,1110,968,1230,1072,1102,952,491,412,479,460,441,471,728,722,417,356,379,778,637,540,441,285,248,328,376,376,576,636,807,1236,696,416,451,448,489,377,350,442,654,845,909,916,969,1196,1270,1498,1958,1914,1582,1456,1584,1598,1216,1032,871,903,1118,1542,961,522,361,670,824,1226,1294,960,1204,1288,787,452,507,656,1154,759,693,606,708,670,417,296,274,313,306,371,764,581,442,433,438,404,323,285,332,335,355,551,751,866,1190,1418,1334,979,759,738,681,593,481,437,618,802,681,691,900,994,1024,1206,1168,1252,1336,1390,1582,1788,1632,1534,1348,1158,1302,1352,1110,1156,1028,1220,1192,1082,1188,1256,1360,1304,1290,1512,1294,1408,1558,1534,1316,1106,752,1078,1606,1636,1828,1770,1864,2800,2964,2812,2896,2708,2156,1764,1998,2220,2270,2324,2330,2404,2280,2368,2194,2452,2556,2172,1362,954,704,711,792,963,1936,2740,2094,1694,2636,3586,3140,2584,2164,1650,1190,1376,1250,701,788,1252,1700,2240,2446,2540,2110,1724,1656,1546,1648,1628,1404,1370,1390,1500,1600,1600,1708,1682,1682,1638,1664,1456,1268,943,661,641,1120,1148,1194,1234,1078,1308,1322,1102,1048,1078,1108,1476,1522,1114,1180,1304,1618,1990,1456,1346,1612,1336,1104,1388,1198,1382,1916,1904,1566,829,853,725,590,488,433,500,558,949,1098,856,648,477,453,593,700,973,573,332,291,458,745,1138,1362,1060,519,293,274,243,254,228,278,240,245,280,260,299,304,382,599,777,1182,1234,1098,594,605,595,540,634,871,836,706,571,336,285,268,253,289,341,335,313,274,297,602,1350,1328,639,545,807,668,512,458,735,871,590,329,322,392,335,250,304,316,248,236,246,354,355,313,339,720,645,657,775,650,830,915,691,849,1042,989,844,650,1114,1534,1180,799,669,826,962,778,663,610,725,360,372,355,254,208,275,322,307,313,460,682,621,709,981,1094,1058,913,519,417,334,548,777,504,566,1148,1272,943,821,741,603,484,367,477,556,591,1130,1442,1288,1160,999,1007,1252,888,854,786,836,855,834,627,606,744,890,1118,1874,1910,807,641,874,1072,1264,1564,1772,1560,1384,1246,1230,2054,2898,2194,1160,888,1100,1090,1144,1152,874,897,1416,1662,1640,1638,1526,1522,1764,1622,1294,1076,1190,907,673,655,583,793,966,1015,1072,859,808,1098,1252,1262,875,913,929,681,669,698,730,929,1116,1078,1144,1164,1236,955,678,596,550,440,390,435,484,508,608,598,502,435,511,556,573,594,1102,1021,573,498,455,455,477,451,428,405,394,358,352,381,387,405,395,397,393,413,484,399,328,379,417,650,667,512,413,391,392,387,428,473,460,502,519,400,418,385,392,401,428,443,399,396,353,391,578,554,411,429,423,438,451,456,475,467,377,340,367,332,283,292,414,470,466,433,422,336,330,469,468,386,354,293,363,567,622,348,292,297,323,385,414,404,401,445,469,472,427,381,384,381,373,410,435,413,422,384,336,325,327,310,310,359,397,358,351,392,377,326,310,387,462,478,494,570,653,390,408,388,410,451,520,422,361,384,369,395,406,382,447,391,379,380,359,361,361,356,352,360,340,382,404,361,348,330,289,285,319,419,408,425,455,403,401,615,873,1096,1296,1158,1234,1354,1252,1216,1356,1384,1312,1100,677,437,448,705,931,973,630,546,490,718,1470,1512,847,855,1096,737,504,378,385,645,906,901,601,502,745,692,525,811,938,653,354,369,431,346,397,452,417,393,403,649,1214,1224,907,1124,1188,566,813,1290,1254,1122,732,597,446,425,499,583,790,802,730,835,500,920,1420,1236,1494,1268,1170,1502,1542,1128,567,541,631,711,1050,1704,962,715,548,869,901,897,1222,1094,659,838,1206,1278,1238,1224,1262,1388,973,863,1005,995,979,1009,1096,966,867,669,1138,1052,1394,1806,1628,1448,1216,1406,1930,1664,1306,1015,427,403,303,191,182,225,236,260,393,346,310,385,372,295,254,259,294,291,287,288,300,305,305,320,315,311,301,276,262,257,252,256,272,267,250,265,278,289,308,312,311,299,295,300,316,313,321,335,330,299,279,284,287,288,276,262,273,286,275,246,243,248,250,247,255,272,269,262,260,264,276,286,325,323,326,327,311,318,330,302,288,279,263,283,369,441,333,297,293,337,547,813,900,849,769,633,525,541,540,534,661,577,453,329,293,291,325,417,467,395,392,363,383,570,1136,651,441,437,443,368,1198,1510,868,728,592,596,445,344,415,292,311,359,319,299,496,771,1066,1268,831,427,607,537,959,1314,1268,741,463,636,628,735,756,718,917,942,1244,1468,1410,1019,1354,1604,1512,1064,579,402,428,338,397,617,499,388,331,363,406,428,372,447,569,583,630,666,728,1094,898,1134,1386,1584,1532,921,967,1226,939,714,813,1058,1092,680,889,680,362,632,1134,1416,838,441,539,466,488,797,899,880,670,673,526,346,395,837,1296,1542,1720,1664,1350,1086,861,657,1340,1852,1910,1370,999,839,940,793,487,647,879,1050,1240,797,368,237,321,415,634,611,653,1328,1216,570,665,845,1236,1200,673,373,336,307,495,682,621,494,417,547,855,742,686,860,823,1000,758,1238,1270,1054,1030,761,621,760,891,912,772,669,1006,1003,1084,1352,1202,974,646,927,1204,1542,1922,1600,1490,1438,1670,1874,1644,1454,1300,1176,836,470,791,1350,1007,377,484,486,448,794,1132,914,712,687,899,1240,1322,1058,951,899,708,655,478,404,391,367,346,336,402,402,374,387,400,386,372,354,337,337,379,390,383],[1762,1848,1710,1544,1666,1656,1672,1502,1150,887,622,583,738,821,583,437,471,436,429,437,359,455,574,720,574,408,433,499,431,331,331,328,345,336,348,355,433,470,361,261,282,297,285,292,306,342,430,478,497,386,361,392,487,576,635,741,786,891,1078,1116,1112,1274,1532,1598,1360,1612,1198,585,410,437,723,907,651,507,318,358,452,410,772,1468,1122,547,394,472,459,370,310,229,319,441,394,322,305,341,400,371,344,342,342,382,401,411,408,414,426,399,361,538,465,331,566,869,833,611,449,547,645,998,993,893,584,435,440,447,368,472,620,504,495,466,352,326,378,346,311,344,330,340,359,371,358,347,375,413,427,455,458,560,678,989,983,871,1176,1158,530,352,384,413,412,420,512,511,467,537,595,507,441,424,447,461,497,574,511,421,491,490,543,882,667,594,716,728,677,624,567,655,639,524,598,787,1078,943,811,711,675,735,766,799,688,647,561,823,549,580,638,665,784,981,1108,1192,1456,1886,1678,1594,1440,1132,717,584,571,737,604,433,789,1017,759,863,1372,1444,1392,1208,1094,1510,1518,1154,1334,1052,854,1019,1240,1314,1150,1098,1102,570,442,435,724,793,890,660,351,328,569,957,849,770,664,651,950,622,628,907,1056,1009,993,781,600,669,507,803,1390,1124,936,893,846,1538,1508,1470,1292,1368,1854,1400,1204,971,727,660,437,361,325,333,368,337,315,299,286,317,320,346,357,314,593,633,536,583,701,932,862,741,1072,1476,1572,1562,1762,1644,1512,1064,562,447,454,468,544,494,365,385,320,283,272,297,386,396,408,308,314,357,319,342,617,1200,861,827,984,1560,1262,1048,1256,1632,2046,1814,1804,2102,1810,1632,1702,1742,1656,1920,1436,979,780,775,836,888,1086,984,728,1176,1412,1470,1294,1226,1630,1420,819,550,484,731,1120,1178,1284,1288,1278,1912,1360,1772,1612,1044,1142,1338,1274,1224,1336,1098,585,412,506,1052,1028,1580,1382,1122,938,855,696,550,915,1362,1360,1264,1112,1438,1844,1508,941,772,1088,1382,1022,876,1266,1274,860,348,350,426,551,871,1006,1036,792,733,797,730,816,976,955,865,825,646,670,990,1116,1670,1544,1002,738,1023,1324,1094,911,1020,1382,1340,1510,940,529,492,534,647,764,1180,1400,1350,1256,1504,1312,982,1228,1098,1160,785,505,844,821,732,814,706,632,855,1054,596,591,642,560,461,361,330,353,372,334,331,383,354,330,335,357,351,407,398,380,514,764,745,501,392,373,342,320,305,342,318,356,456,830,1222,786,516,508,521,458,435,425,425,479,880,1644,1832,1460,885,468,502,1028,1524,1394,852,486,434,768,1698,1534,1156,1282,950,514,650,656,849,1356,1398,1150,1784,1266,1064,871,609,524,468,537,620,697,705,603,754,586,417,419,466,487,413,349,334,379,548,617,545,587,507,574,529,477,426,487,467,440,407,409,615,913,672,468,530,656,596,717,712,905,1084,1064,861,566,505,539,551,509,611,675,736,622,614,582,448,537,601,488,258,241,258,332,340,357,498,749,1190,1750,1150,542,510,622,808,716,696,772,768,870,1015,1116,1174,1015,1062,1436,1802,2006,2002,1692,1422,1636,1344,1032,1118,1354,1368,1498,1404,1188,964,1004,921,998,1186,1124,797,703,856,575,547,841,917,724,912,884,631,552,353,344,370,246,269,255,686,694,520,448,423,389,351,333,349,314,381,733,694,632,738,959,1162,989,856,899,835,780,706,536,572,626,692,937,1038,1108,1152,1166,1222,1336,1468,1428,1408,1510,1360,1272,1282,1096,1002,1320,1664,2490,2874,2620,2530,2428,1976,1514,1284,1126,949,1370,1430,1630,1630,1676,1550,1330,1074,1296,1676,1676,1788,1902,2160,3134,3332,3426,3506,3030,2292,1814,1938,2166,2218,2368,2272,2354,2188,2284,2104,2254,2280,2002,1140,712,749,846,855,842,1404,1932,1602,1476,1548,1506,1160,1210,1508,1650,1304,1206,1362,868,883,1300,1538,2024,2022,1962,1886,1764,1522,1534,1902,1882,1742,1690,1488,1626,1532,1620,1624,1672,1532,1372,1932,2464,1754,977,895,749,1226,1346,1554,1592,1500,1690,1500,1314,1322,1005,1096,1678,1564,1244,1382,1296,1528,1914,1534,1334,1644,1550,1460,1322,1312,1758,1974,1864,1824,1108,728,581,524,469,492,658,749,861,1013,995,680,448,450,610,1017,1248,812,478,350,352,449,674,839,674,501,417,284,240,255,256,263,244,247,226,231,260,268,274,378,627,1318,1498,983,458,473,489,416,490,525,509,517,428,352,325,290,344,297,253,293,280,261,311,518,783,703,469,536,648,1008,886,936,1416,1278,857,511,379,415,311,284,354,303,282,278,266,337,372,358,370,594,574,670,927,647,634,613,533,806,808,1024,885,505,495,642,783,940,913,810,855,813,772,928,859,362,344,290,215,211,250,228,238,250,313,345,322,554,854,961,1104,1220,1050,785,500,550,624,621,840,1306,1268,1250,1394,1352,1154,883,572,469,487,550,948,1406,1452,1338,1282,1066,1168,1060,876,832,869,830,717,598,757,1003,1172,1288,1898,1632,1074,642,744,1178,1462,1616,1622,1448,1366,1052,905,1992,2520,1598,1366,1192,973,907,956,1130,946,921,1422,1428,1334,1392,1506,1472,1460,1394,1350,1066,680,552,589,492,542,560,625,1058,1130,916,771,1134,1176,1230,893,810,836,700,909,916,681,1056,839,637,1088,1338,1302,954,875,970,756,540,428,381,391,397,511,567,451,461,514,506,484,440,543,608,669,584,555,630,697,703,515,412,411,444,437,412,411,401,409,389,346,340,350,353,367,388,383,391,425,447,440,365,358,412,529,460,446,457,450,429,427,423,478,634,828,686,453,414,365,386,529,466,394,408,403,413,442,458,473,469,441,440,433,408,367,380,449,429,471,370,272,262,262,276,303,287,276,252,264,318,473,363,274,275,335,370,332,310,325,337,360,377,328,332,369,407,372,365,372,350,334,342,322,334,383,374,315,332,350,378,338,340,339,323,329,415,494,484,443,524,597,448,408,391,414,514,528,388,335,317,310,326,310,333,351,333,372,386,382,392,421,379,361,427,415,371,354,340,361,326,285,291,322,385,423,567,707,548,462,764,927,1246,1290,1194,1168,1282,1498,1654,1432,1296,1168,752,457,417,394,559,752,749,486,429,443,498,731,860,685,340,256,416,453,441,445,999,1130,579,543,929,1194,883,900,1324,1276,731,673,621,491,405,528,531,488,448,617,909,828,827,924,996,1038,653,1080,1812,1798,1250,650,461,367,294,442,596,943,1102,929,843,520,792,1070,855,1078,1430,1290,1142,1368,1360,794,594,544,624,1064,1142,769,683,554,507,470,772,1418,1074,430,361,463,682,784,690,1122,1376,813,763,1256,1474,1272,1068,946,507,553,597,1174,1294,1284,1534,1368,1136,863,812,1260,1494,1438,1058,466,377,275,189,194,239,237,286,369,334,289,332,287,303,271,269,295,300,308,310,303,283,283,311,322,299,287,282,263,271,272,259,278,281,253,255,265,298,322,312,298,296,307,320,330,321,325,319,310,299,290,271,272,263,257,263,276,273,253,248,253,260,259,248,253,273,282,276,266,269,271,274,289,303,311,318,303,317,327,311,307,316,302,323,327,304,271,285,309,392,728,1060,972,778,689,868,894,756,561,534,506,629,652,483,360,523,664,395,490,470,440,398,371,527,883,631,415,414,496,435,765,1160,792,534,434,458,407,372,332,255,290,270,263,357,739,1090,878,754,590,616,872,932,1418,1710,1650,1120,800,719,897,1366,998,557,687,660,1310,1658,1594,1418,1414,1374,1418,1454,1156,615,441,466,578,726,658,425,406,401,380,402,376,448,652,956,1194,1060,1488,1910,1580,1622,1492,1516,1194,633,903,1392,1174,673,711,1016,925,1015,935,497,394,430,863,1076,589,349,367,435,650,732,933,929,735,548,712,676,632,1232,1934,2132,2172,2160,2032,1704,1412,806,1078,1456,1656,1328,930,819,852,828,643,719,764,685,684,409,283,257,304,341,502,547,725,1322,1278,575,604,676,1032,1158,761,402,325,402,578,665,653,746,924,927,962,956,836,880,767,855,946,1268,1150,977,749,548,670,503,672,1023,1004,807,840,1078,1206,1088,1016,978,872,1090,1268,1334,1216,1084,1098,1138,1230,1612,1790,1546,1086,810,713,583,636,839,791,550,556,422,720,1252,1110,1024,1124,1122,1060,1214,1282,1272,950,737,583,758,651,466,368,349,349,360,400,393,349,315,361,368,356,377,383,401,480,517,487],[1972,1914,1798,1824,1882,1882,1772,1604,1646,1510,1366,967,760,728,487,390,394,431,454,437,398,419,594,638,572,524,436,377,318,332,513,404,365,355,359,388,555,771,681,344,360,344,318,301,306,317,392,461,465,355,342,408,533,593,564,583,586,760,1122,749,527,670,1016,1072,1084,1244,843,462,383,348,430,619,474,467,339,432,488,493,969,1526,1362,757,424,426,497,497,441,322,339,407,388,375,342,376,392,340,350,346,356,404,493,469,411,397,412,553,891,938,570,324,464,733,783,632,719,910,1250,1654,1448,974,546,393,443,407,368,507,569,469,490,500,415,310,330,327,310,328,333,340,343,343,353,393,430,403,394,421,484,536,823,1196,1332,1346,1304,724,393,391,442,462,540,569,595,569,525,530,487,439,419,427,441,421,458,592,558,450,498,514,520,566,522,462,537,656,778,756,659,611,594,536,559,874,1034,785,766,792,724,771,874,899,572,473,583,1320,910,550,641,755,752,741,1058,1434,1548,1944,1558,1862,1850,1354,871,735,700,724,500,408,473,860,1040,1042,1404,1106,944,1202,1112,1788,1714,1000,725,604,949,938,1110,1384,1428,1372,1160,607,655,958,1066,1084,1124,956,785,561,851,949,677,622,608,794,916,984,1080,1172,1456,1440,1006,710,855,772,576,781,964,862,888,962,983,1088,1324,1246,1372,1410,1654,1021,964,832,775,695,545,375,350,419,431,414,379,305,266,266,354,363,347,508,843,1030,1042,905,876,1198,1220,974,906,1180,1296,1478,1520,1588,1690,1548,1108,767,691,498,419,402,349,305,343,342,298,360,405,410,581,882,947,506,615,589,527,900,600,768,1178,1882,1688,1696,1790,1718,1814,1142,1080,1206,1146,1476,1584,1586,1478,1366,1120,797,770,1202,888,716,1170,1104,741,1200,1594,1620,1350,1338,1660,1310,672,514,498,955,1344,1038,1202,1660,2206,2212,1408,1130,976,1090,1382,1644,1360,1116,1202,1154,736,386,336,406,391,979,922,723,781,671,543,441,429,764,948,1154,1212,964,1196,1194,776,680,1094,907,473,505,850,1152,707,376,464,698,804,823,1002,1252,1084,776,721,672,741,982,1042,951,1048,1036,1008,995,1362,1708,1290,644,565,844,1576,1770,1468,1354,1570,1242,954,569,516,669,836,954,1128,1378,1390,1506,1638,1834,1440,994,1072,1007,963,735,697,886,716,711,697,639,537,855,1064,588,550,606,532,502,402,328,379,425,355,328,394,384,382,332,421,440,372,326,303,408,624,587,420,312,291,297,317,315,355,365,509,688,1120,1032,541,494,501,477,419,401,404,423,445,608,859,1176,1178,760,415,769,1686,1732,1476,785,458,429,623,1278,1072,1070,1676,1076,458,451,583,798,960,872,877,1272,1080,988,661,498,477,386,310,337,410,557,664,719,494,387,400,438,490,475,416,393,487,761,714,621,697,580,696,516,512,728,754,704,595,462,477,652,731,518,469,489,897,916,929,671,447,631,683,548,601,679,644,602,519,574,847,643,590,617,513,409,368,512,577,309,370,623,572,443,343,340,514,778,1234,1034,516,383,592,1080,921,606,414,412,699,1066,932,712,805,1156,1374,1426,1424,1810,1912,1604,1632,1406,1202,1404,1264,1096,994,1232,1702,1822,1260,473,362,689,1156,848,781,820,580,773,1070,1000,724,741,1132,871,761,631,874,713,399,333,318,520,855,949,691,469,386,382,374,349,290,443,1002,1008,840,703,682,771,746,767,805,758,739,716,578,474,449,473,570,760,937,1058,1106,1260,1444,1332,1250,1210,1232,1118,1134,1362,1306,1170,1226,1786,2622,2792,3096,3350,3376,3366,3050,2642,2286,2142,2054,1858,1968,1820,1316,1070,1112,1312,1574,1644,1580,1586,1776,2292,2866,2922,2700,2578,2254,1870,1882,1992,2122,2126,2034,1850,1848,1860,1902,1816,1694,1620,1446,1080,916,955,1026,883,827,1028,1340,1610,2040,1764,1368,1462,1412,1368,1598,1376,1144,1428,952,788,1186,1426,1968,2268,2166,2050,1836,1606,1744,2094,1892,2098,2360,1842,1544,1430,1684,1574,1582,1614,1520,1766,1568,1242,1122,1148,1242,1428,1410,1530,1492,1500,1546,1594,1578,1142,792,1072,1442,1552,1700,1596,1356,1426,1758,1710,1550,1634,1694,1548,1506,1738,1978,2222,2046,1856,1558,946,576,502,553,662,755,902,915,832,891,670,483,484,583,980,1154,1026,861,623,347,325,397,494,515,365,554,400,255,251,254,237,224,219,212,223,224,248,301,431,484,1005,1266,968,600,443,379,365,431,353,344,392,438,430,336,320,280,245,319,326,267,312,383,378,352,288,237,371,364,611,701,1444,1666,1130,892,530,360,298,228,262,381,317,319,408,408,330,336,396,330,544,949,1015,660,455,506,428,349,414,507,1172,1478,1011,523,483,1028,1764,1552,744,602,744,771,1114,613,297,282,302,490,658,633,243,237,240,248,239,260,468,671,718,819,987,1082,1032,946,864,938,959,1166,1160,1092,1202,1398,1462,1360,1088,592,409,436,575,790,1234,1382,1408,1374,1088,1009,969,1172,1296,980,966,965,928,1072,1184,1504,1506,1254,1094,1104,915,978,1294,1412,1416,1594,1766,1764,1586,1002,1028,1260,1266,1148,796,704,1004,1140,1013,938,1202,1476,1388,1318,1388,1406,1452,1504,1490,1504,1130,722,702,808,797,932,899,908,1300,1200,1098,1060,1194,1202,1058,808,673,730,900,1166,1100,904,1218,1028,905,1164,1236,1106,982,1118,1302,1242,912,614,542,399,324,404,405,349,388,442,477,465,476,497,573,747,938,963,752,1298,1178,670,478,465,516,466,447,417,465,434,287,235,216,228,365,440,435,450,480,500,526,451,343,488,621,629,483,435,459,462,445,396,395,421,593,791,524,487,484,437,476,619,499,387,404,438,433,421,451,437,426,426,395,426,471,442,447,378,291,310,300,252,249,247,265,337,279,257,247,283,295,331,294,274,280,301,320,287,280,287,300,314,311,293,281,290,372,408,365,359,348,369,365,334,311,337,369,343,340,359,349,338,338,314,350,368,415,439,430,390,570,591,465,452,448,454,531,487,367,344,324,314,285,302,318,343,347,333,357,384,418,447,369,370,433,384,340,322,345,356,354,318,308,318,350,368,455,650,522,445,878,1078,1194,1280,1192,1034,1060,1548,1592,1300,1250,1007,499,421,423,547,570,565,498,441,420,380,373,420,598,921,598,355,312,324,389,376,1106,1212,565,750,1324,1324,670,815,1216,1284,1388,1352,721,420,472,497,488,643,656,565,578,604,754,965,673,561,547,840,1416,1554,1088,732,810,685,277,271,385,835,1190,1288,904,475,447,553,649,836,907,782,1184,1532,1484,1250,711,522,574,921,1166,951,581,494,532,528,908,1642,883,355,312,355,382,410,576,1116,1370,892,787,1282,1570,1304,1384,1378,1140,1364,951,1234,1542,1390,1326,1222,1110,1036,1046,1364,1494,1462,999,476,353,296,221,230,242,218,270,367,334,358,448,318,288,272,273,290,295,298,291,289,301,296,295,324,299,275,277,275,278,268,252,274,261,230,255,268,295,307,293,301,310,304,303,315,338,328,305,291,285,279,276,266,254,264,269,257,245,253,275,272,263,268,254,254,270,282,285,275,271,274,283,289,288,288,279,276,303,313,323,330,344,328,317,309,316,297,287,298,301,545,1044,1066,736,658,918,1060,962,1042,1016,861,833,808,702,458,522,566,454,724,619,509,440,402,421,627,593,390,425,483,433,473,847,803,871,897,554,287,352,317,279,314,316,297,447,965,1246,849,600,633,916,1478,1660,1712,1888,1798,1452,1194,1238,1702,2246,1572,700,562,752,1348,1760,1594,1474,1396,1360,1550,1700,1598,999,504,769,856,892,747,615,821,823,626,602,536,536,813,1230,1380,1084,1538,1992,2130,1922,1550,1308,854,803,1058,1522,1120,836,739,982,799,847,825,861,806,528,836,1108,938,824,609,974,913,778,858,837,864,793,955,1050,1040,1654,2138,2226,2220,2188,1960,1562,1430,906,957,1422,1608,1230,786,899,845,907,911,984,801,842,786,509,310,227,244,356,541,727,1060,1574,1386,547,467,497,656,828,651,453,426,501,578,619,566,1040,1458,1400,1140,1324,808,613,989,971,711,869,899,794,762,681,905,595,1024,1410,1454,1304,1007,857,731,625,591,559,643,824,972,1046,1017,1072,772,1050,974,1238,1644,1354,731,720,852,877,741,788,1100,943,700,838,1318,1326,1284,1372,1416,1364,1202,1196,1376,1092,776,495,615,695,711,591,434,420,359,355,384,367,329,318,359,359,389,396,344,364,452,566,527],[1942,1848,1814,1806,1830,1910,1778,1562,1020,898,1094,1320,1440,1114,884,584,521,476,501,459,450,470,449,549,681,609,550,481,444,466,608,487,444,464,455,442,423,542,581,484,670,576,462,379,381,357,329,348,377,386,360,381,463,510,496,530,670,1126,1350,774,536,854,1096,777,867,1096,578,363,376,361,374,485,549,584,401,353,449,651,1242,1640,1466,622,469,385,452,549,535,415,386,394,368,330,309,356,363,350,354,360,378,421,448,432,416,512,727,980,1074,886,532,347,422,611,600,632,1154,1670,1804,1968,1574,959,531,418,428,402,407,575,609,475,443,526,490,364,327,322,324,348,333,311,305,318,357,386,459,421,376,464,579,586,873,1300,1516,1556,1324,537,411,430,440,514,565,585,625,661,674,630,551,502,482,493,495,411,424,569,615,562,450,393,443,499,479,450,423,459,551,574,631,609,480,440,662,1017,998,869,954,991,954,930,953,876,705,651,623,715,507,404,503,580,565,617,984,1702,1590,1280,1208,1388,1460,1376,1534,1482,1124,940,603,553,885,1612,2096,1690,1028,767,831,1012,1054,1384,1120,499,448,705,1176,974,1032,1194,1352,1378,1384,893,688,1062,1080,1028,1104,1172,1182,1390,1364,1166,844,673,680,791,706,736,888,1013,1252,1598,1334,951,1270,1060,1278,1802,1424,979,801,915,1368,1392,1324,1160,1676,1442,1152,1072,1214,875,611,743,749,400,386,437,422,414,408,339,281,258,331,448,651,783,854,1210,1324,1042,811,1306,1040,822,764,724,735,1056,1302,1474,1576,1342,995,791,764,670,489,399,365,424,458,393,351,368,383,459,814,1704,1404,841,1302,1194,532,491,572,913,1354,1600,1520,1388,1532,2014,2214,1038,688,767,1184,1772,1572,1756,1574,826,865,927,1192,2096,1268,996,1504,1628,879,995,1528,1636,1486,1506,1674,1294,720,573,655,1170,1224,1236,1152,1586,1860,1730,1540,1414,1638,1454,918,1116,1188,1198,885,1066,885,446,295,408,536,693,788,606,562,514,455,370,444,482,525,1058,1412,1296,1294,1220,964,1082,1248,717,448,673,634,934,1198,785,685,1166,1074,781,915,1166,1200,929,714,693,816,1001,951,1252,1418,1410,1312,1198,1070,1048,798,479,557,905,1640,1624,1376,1150,1028,963,892,971,1152,1206,1186,1272,1406,1356,1372,1158,1178,1520,1306,954,1028,866,645,568,618,655,541,626,743,1007,1102,984,1110,761,550,515,393,449,395,328,383,403,372,371,391,397,424,367,363,323,288,276,265,300,344,288,267,262,315,368,346,325,361,430,556,825,1078,686,484,490,472,511,440,415,415,448,477,449,689,1044,750,574,715,1082,1900,1686,1066,686,510,435,677,1040,841,1007,1366,642,385,422,480,482,626,991,1278,1218,1234,983,485,422,430,426,345,366,339,529,696,694,481,368,419,428,455,511,440,406,487,789,752,724,644,604,645,535,671,797,721,802,792,714,662,765,568,488,553,524,805,1202,1260,987,680,628,524,546,612,679,652,583,529,548,679,572,407,284,313,407,482,455,695,484,694,1446,1440,772,556,490,315,409,548,561,607,548,704,760,532,511,481,534,639,973,1015,634,913,1154,932,1200,1328,1560,1944,1928,1800,1450,1236,1264,1164,1254,1316,1346,1548,1744,1158,465,674,868,1122,888,545,549,896,1194,933,819,797,739,982,841,815,704,1004,1002,619,351,383,533,904,1262,899,456,474,456,412,408,353,460,986,1020,697,586,591,601,626,621,670,655,700,752,825,658,481,426,469,501,589,803,997,969,1010,969,1292,1434,1826,1754,1860,1938,1502,1310,1404,1612,2318,2884,3204,3252,3516,3316,3294,3232,2950,2844,2674,2620,2530,2214,1948,1774,1478,1506,1702,1756,1466,1514,1832,2082,2032,1802,1652,1594,1606,1514,1766,1814,1536,1328,1256,1244,1328,1392,1388,1362,1372,1482,1484,1516,1516,1216,1036,926,994,1168,1570,2296,2780,2350,1536,1308,1072,1158,1296,1238,965,1390,1122,806,1094,1470,2148,2522,2062,1654,1708,1654,1528,1738,1520,1678,1918,1516,1214,1402,1716,1614,1714,1694,1504,1576,1334,1310,1534,1658,1218,1058,1268,1256,1246,1378,1484,1594,1108,677,498,738,1260,1474,1404,1290,1356,1384,1620,1904,1754,1606,1546,1580,1808,2058,2154,2458,2320,2016,1780,1268,743,755,744,798,906,999,1046,904,977,904,591,429,447,578,751,976,1001,940,380,305,310,319,410,323,459,395,260,247,237,216,223,223,227,237,250,279,278,301,322,458,595,704,513,437,461,523,455,450,303,286,373,394,319,270,244,283,388,377,289,293,391,401,344,283,269,241,276,316,751,1638,1486,980,1022,528,380,277,243,307,369,314,285,356,415,375,310,365,369,492,670,568,401,640,706,495,360,380,504,1010,1086,398,326,470,982,1500,1005,477,511,938,930,1042,1098,579,271,499,869,1126,1030,361,283,290,264,287,413,535,742,1098,1140,1013,668,648,658,796,1050,1190,1264,864,1042,1382,1360,964,734,783,493,437,484,545,695,1010,1286,1240,996,933,1200,1416,1520,1170,1002,1188,868,916,1258,1350,1470,1444,1382,1192,1110,1224,1300,1416,1484,1500,1520,1604,1686,1404,879,958,1082,864,617,571,788,972,1102,1116,1036,1194,1282,1328,1328,1354,1356,1404,1400,1460,1444,1078,865,689,1154,960,1021,1110,1050,1114,1124,1158,1264,1446,1178,1015,980,910,1082,1088,838,1013,1250,1220,1158,1180,1104,1144,1226,1348,1282,1296,1408,767,615,871,749,516,449,430,493,507,554,565,582,608,676,700,906,1206,1008,772,875,767,681,614,632,598,523,430,414,497,404,279,300,363,377,422,460,458,504,592,655,623,488,441,628,668,561,494,459,456,477,478,550,662,460,394,480,562,662,741,694,695,638,435,377,404,454,434,404,423,420,411,376,324,386,408,408,390,300,256,259,292,290,267,244,248,308,314,281,286,289,304,339,346,322,281,267,265,247,272,285,301,312,319,295,245,265,347,413,407,384,398,402,407,419,390,360,355,362,365,361,335,324,329,326,426,417,408,390,412,334,568,636,455,437,433,479,500,388,342,328,346,330,307,314,309,310,318,328,324,310,344,350,344,362,379,352,332,314,334,350,344,335,344,365,342,345,413,537,420,649,1040,1026,1156,1356,1340,1026,1013,1310,1244,1218,1158,961,517,399,389,603,546,444,584,673,508,361,433,383,415,980,1194,656,324,283,345,356,538,487,718,1402,1198,1056,905,860,1346,1416,1388,998,561,617,600,539,653,1062,889,582,580,898,1050,1032,692,573,583,696,1160,1416,1348,995,1268,1204,418,287,431,818,1294,1252,772,634,758,984,1150,793,480,491,1122,1714,1760,1352,935,1013,767,735,1134,1296,687,411,419,448,1214,1712,738,328,345,333,329,371,426,749,1170,818,1034,1930,1232,1052,1488,1362,1422,1652,1376,1384,1472,1416,1370,1312,1264,1592,1322,1322,1448,1396,1007,607,419,323,289,243,243,261,293,358,367,420,390,302,272,258,264,280,275,277,283,301,311,297,282,305,313,283,265,268,257,256,267,264,268,257,260,260,294,308,320,321,302,295,319,347,353,319,297,281,276,281,290,294,276,262,261,257,261,268,276,271,257,260,256,260,272,287,292,296,307,310,303,292,295,283,280,293,293,300,307,335,360,344,319,313,319,307,286,286,287,375,727,802,686,896,805,656,793,1070,1142,944,894,1042,943,483,341,339,362,448,516,518,523,552,472,521,628,456,470,501,477,397,775,1476,1748,1558,799,311,398,462,402,389,480,415,466,1198,1496,1058,881,988,1158,1496,1556,1462,1414,1288,1246,681,751,1352,1670,1746,1054,589,730,1308,1410,872,907,1302,1404,1658,1736,1600,1002,469,707,1086,1296,1004,949,1034,991,947,984,908,980,1346,1514,1068,658,912,1650,2002,1616,1434,1014,816,995,1238,1312,959,1164,860,711,756,864,818,742,719,932,1634,1798,1648,1638,1346,1542,859,908,1182,948,825,849,760,893,1028,1534,1866,1978,1954,1708,1216,833,654,430,839,1608,1722,1290,801,950,1014,1118,990,884,1026,1332,1110,634,343,229,292,433,599,699,716,1356,1150,437,425,534,516,440,365,477,615,547,451,555,390,655,831,905,894,869,714,843,1400,1234,532,509,555,501,598,683,650,424,849,1244,1586,1586,951,478,611,591,480,399,678,973,940,657,717,1050,922,943,1026,1048,1422,1580,980,722,806,1011,1394,1236,1212,1020,667,680,1006,1248,1396,1346,1334,1398,1382,1212,905,667,922,858,765,622,728,853,713,558,398,362,356,319,291,316,352,356,351,302,266,290,322,326,336],[1892,1938,1910,1814,1720,1654,1692,1220,533,504,541,735,977,1406,1502,1498,1124,778,619,497,535,598,608,680,709,574,514,509,479,435,504,409,325,546,805,656,431,414,581,827,1026,810,641,627,678,525,328,339,370,401,342,352,413,485,544,884,1500,1528,1078,650,967,1738,1648,1112,1472,1446,875,630,574,460,406,534,662,551,425,562,651,816,1478,1666,1428,613,444,417,484,549,528,497,512,439,381,307,307,310,352,358,348,351,372,427,509,631,687,925,1202,1226,1098,1018,477,343,332,390,396,516,669,950,1426,1520,1316,960,484,426,437,393,441,664,1100,882,547,590,524,370,308,327,367,361,312,281,283,295,314,311,367,397,377,451,607,763,927,1096,1208,1464,962,479,430,465,514,520,449,503,656,649,598,653,630,633,544,482,466,415,375,398,575,630,406,375,390,447,483,435,415,441,426,522,623,556,465,420,630,910,868,830,863,874,937,877,712,504,477,594,644,564,406,454,456,376,306,412,675,1408,1370,1306,1522,1390,1368,1444,1556,1390,1186,847,732,752,1322,1866,2316,1476,577,479,554,805,1122,1072,650,503,431,555,695,641,1011,1318,1370,1418,1234,640,536,1136,1298,1238,1354,1062,998,1302,1360,1372,1512,1274,738,807,782,474,576,700,794,1234,1054,821,846,990,1394,1544,1368,1246,1128,1456,1924,1446,1010,934,1304,1300,1164,1450,1382,1072,1174,1400,1410,792,452,438,477,634,647,587,541,668,805,975,1244,1021,539,1116,1362,946,692,984,977,774,828,766,661,862,1026,1166,1058,742,695,642,642,680,713,617,646,650,468,413,379,317,394,514,921,1746,1030,505,733,707,547,541,793,1260,1060,791,694,812,1078,1772,1734,1100,1054,1120,1294,1522,1360,1524,1434,811,912,1186,1272,1686,1466,1228,1442,1522,1044,758,908,1302,1364,1412,1660,1028,659,564,775,1240,1630,1642,1282,1454,1490,1400,1414,1500,1658,1598,1000,676,602,629,665,925,871,616,565,616,623,659,938,859,666,493,440,497,509,394,467,938,1250,1422,1366,866,985,1398,969,504,676,781,655,811,1280,1144,1090,1364,1104,833,853,1108,1258,1190,813,763,830,774,742,1028,1502,1520,1260,1254,1182,1026,964,854,825,1152,1114,1232,1162,1011,1078,1032,1328,1278,838,826,1046,1272,1268,999,1126,992,789,1118,1318,1052,791,502,407,315,431,552,586,626,1036,1698,1802,1310,1112,933,541,450,356,363,346,351,383,379,399,419,403,389,378,392,347,274,264,261,270,273,279,267,271,284,319,309,291,349,369,404,532,854,1034,714,500,537,538,442,401,436,422,440,521,720,954,1100,637,507,543,896,1348,1416,918,626,471,529,893,935,821,964,1166,719,449,434,404,672,1030,1414,1670,1452,1332,719,368,390,416,422,328,296,354,433,486,494,387,416,488,467,402,514,408,277,410,638,753,823,703,591,504,467,614,798,950,902,855,836,762,977,730,566,713,974,1466,1560,1290,1206,969,624,545,559,458,588,632,555,514,548,554,521,389,331,383,544,634,500,911,816,676,1112,1272,904,659,507,398,504,535,631,639,582,1038,889,691,738,630,590,388,678,1122,978,1122,1098,1062,1302,1462,1722,1920,1946,1918,1568,1294,1232,1168,1332,1500,1500,1380,1396,1510,1052,1306,1470,1264,961,732,923,1440,1208,984,619,497,538,513,606,586,541,740,1005,1010,783,937,869,656,1198,1023,495,474,452,404,417,323,517,815,733,665,777,853,614,670,756,786,922,926,1034,1104,841,555,489,543,534,467,613,778,819,962,1244,1518,1592,1600,1678,1882,2058,1834,1570,1772,1584,2094,2798,2910,3316,3298,3320,3398,3044,2846,2786,2842,2648,1882,1854,2128,1854,1774,1698,1676,1710,1450,1488,1806,1932,1728,1674,1520,1266,1422,1584,1344,1102,970,928,949,962,951,901,946,1066,1142,1054,1008,1334,1618,1356,1158,1048,1056,1222,1660,1862,1600,1502,1482,1802,1548,1766,1466,1150,839,1320,1286,884,954,1274,1866,2280,2108,1870,1690,1426,1378,1778,1530,1376,1560,1466,1190,1278,1542,1454,1254,1182,1126,1192,1058,1198,1644,1764,1382,1342,1306,1240,1350,1492,1316,1366,934,877,677,815,1156,1340,1368,1486,1586,1492,1554,1824,1730,1440,1332,1618,2040,2204,2208,2252,2498,2370,2072,1838,1252,1004,1023,900,991,966,1008,1007,905,766,658,500,365,458,790,1298,1136,779,390,261,303,321,360,359,290,264,239,251,241,246,229,234,242,234,245,245,273,277,284,293,322,423,364,341,455,602,549,489,318,271,334,373,348,265,282,345,450,470,453,481,548,447,291,242,270,270,342,384,653,1426,1464,1042,539,364,343,298,342,362,327,274,359,384,506,958,792,549,485,499,348,266,258,580,694,520,466,400,444,655,642,317,343,443,810,1512,1102,594,607,1004,1128,1344,1448,653,415,590,569,664,474,351,520,467,309,299,494,589,923,1514,1644,1436,987,585,525,644,778,1252,1102,695,1005,1386,1504,1190,706,830,729,584,675,592,649,707,1096,1232,862,775,1148,1692,1472,923,1354,1348,1017,854,978,1384,1456,1224,1408,1312,836,705,786,1060,1424,1524,1332,1366,1370,1034,722,821,938,883,792,819,1276,1310,1284,1150,1026,1130,1318,1398,1354,1288,1280,1360,1406,1338,1194,866,762,752,1180,899,766,548,634,976,988,874,1152,1396,1062,1044,1086,1162,1444,1216,1015,1001,1114,1154,1182,1260,1152,1286,1248,1180,1284,1410,1310,1092,869,1048,1244,1146,909,815,938,906,1021,1060,1026,913,782,913,1138,1082,1022,1202,1102,848,695,581,478,501,608,501,539,581,503,434,454,550,568,473,437,435,501,538,573,600,632,681,738,630,527,523,480,440,478,470,738,827,489,398,683,804,761,716,653,720,554,354,355,413,448,403,386,383,391,395,393,384,424,397,341,340,357,306,276,316,332,300,295,291,289,298,344,411,366,325,346,351,317,256,268,292,250,243,256,270,282,361,398,359,347,279,307,388,471,384,343,355,401,403,361,362,387,360,352,332,313,314,359,405,405,394,343,344,332,524,642,437,460,479,384,360,326,318,321,342,332,324,304,304,309,307,325,320,318,347,354,472,468,378,343,348,346,348,355,336,349,398,403,415,589,597,490,376,821,1126,939,819,831,874,839,903,915,814,777,700,596,543,543,411,370,439,491,555,724,1110,892,724,561,904,1660,1588,799,364,308,307,308,361,540,1138,1504,644,587,853,1046,1340,1318,1286,1006,925,951,738,767,906,1168,879,765,1144,1078,875,868,736,576,579,597,785,885,1334,884,815,797,415,333,421,442,543,517,464,825,1236,1250,1060,801,557,476,969,1388,1614,1334,1420,1940,1212,1088,1610,1704,923,816,669,447,880,869,518,383,377,421,365,379,731,943,908,883,1324,2146,1444,1180,1260,1472,1664,1360,1510,1566,1322,1226,1136,1088,1582,1940,1306,1132,1522,1324,731,555,426,272,228,215,252,275,318,358,326,320,312,276,255,252,273,293,276,280,281,340,322,282,271,279,303,293,281,281,261,275,274,263,251,245,249,263,273,333,380,325,296,361,415,393,363,318,274,266,266,293,287,289,294,279,269,256,257,256,255,249,250,250,255,262,270,288,296,302,316,309,300,297,288,272,260,278,306,319,332,347,348,344,341,337,327,302,268,260,300,369,464,586,1130,1372,1038,1054,1158,1210,1260,977,1002,1130,777,485,388,384,395,458,519,553,524,513,567,756,657,527,485,626,571,342,565,1116,1378,1096,609,442,639,824,595,371,787,952,604,1040,1574,1322,1354,1510,1326,1378,1336,1164,1078,1270,1798,924,609,1162,1924,2182,1360,822,1082,1230,826,650,968,1224,1398,1536,1502,1172,747,512,412,766,1058,1170,1466,1362,1208,1440,1126,1300,1864,1934,1578,868,471,588,830,1092,1338,1098,639,761,869,1104,1110,1970,2148,1238,772,755,853,940,803,697,1054,1232,1288,1610,1804,1842,1760,916,673,1192,1358,929,859,760,847,688,764,1028,1066,966,808,573,449,482,433,518,788,612,418,584,848,820,768,603,448,578,607,451,379,343,276,315,305,473,547,455,1190,1030,464,426,517,693,613,666,1216,1028,988,1004,761,364,380,483,512,572,835,1224,1412,1482,1124,733,708,894,655,789,1122,1024,987,1332,1594,1460,1108,947,879,1104,627,667,447,915,1410,1136,957,1482,1744,1206,846,786,1036,1420,1744,1660,1180,1118,1354,1666,1360,1019,935,664,434,684,1019,1140,1120,1128,1266,1280,1382,1214,1366,1416,1248,1248,849,787,1062,1004,915,548,366,357,316,294,332,371,375,370,328,314,321,310,303,338],[1904,1922,1830,1726,1704,1646,1142,610,645,790,828,983,1100,897,849,1152,1568,1622,1304,1080,844,879,755,697,608,487,390,405,403,416,452,438,358,377,518,605,487,542,585,1038,1026,639,601,691,749,557,333,338,312,319,288,427,510,695,990,1494,1976,1904,1236,603,1108,2000,1972,1836,2142,1700,1246,1000,911,913,760,710,678,659,625,781,839,951,1232,944,1007,698,475,472,484,508,460,435,440,430,420,318,283,290,336,367,339,344,462,462,467,604,924,1142,1252,1296,1234,992,468,429,591,553,342,330,434,531,477,439,672,706,911,779,813,814,783,1048,1536,1230,639,493,389,348,322,340,355,322,304,285,276,284,288,290,322,367,364,457,1048,1284,1080,918,1148,1358,816,502,453,449,424,436,458,551,667,622,614,644,669,722,659,529,457,407,388,371,442,486,447,376,449,480,429,388,437,437,424,522,529,550,655,646,716,797,773,735,725,789,785,589,366,284,305,383,429,448,505,530,456,286,250,262,428,1008,1482,1848,1748,1306,1360,1532,1108,725,827,866,959,1023,1256,1246,1086,803,578,444,611,1294,1722,1108,571,479,421,430,531,553,719,968,1130,1350,1150,561,568,863,911,1250,1226,952,878,849,882,885,1116,1306,1308,1388,1094,481,506,571,598,735,638,571,521,615,1048,1530,1134,803,984,985,1010,929,825,899,1380,1418,1174,1366,1284,1038,1200,1394,1576,1354,995,915,777,717,744,756,849,892,1156,1214,1156,764,488,995,872,700,607,858,1112,1056,965,766,554,557,565,655,549,672,695,651,606,668,583,482,630,841,867,709,526,305,469,623,736,792,543,324,280,345,452,510,700,1054,440,293,246,293,475,813,629,384,407,401,441,489,391,406,464,451,631,596,519,723,1018,907,761,764,730,668,802,952,860,666,637,420,515,875,1412,1886,2124,1742,1172,948,1021,1042,1086,891,1000,890,606,388,427,535,557,748,918,1040,1028,860,735,519,692,1354,1130,821,687,668,827,1148,1184,1176,1268,1290,888,477,507,902,672,554,961,705,382,459,653,910,1164,1136,897,733,753,1020,1272,1240,832,870,914,630,594,927,1152,967,976,1438,1810,1296,1284,1338,1266,970,846,1254,1344,1190,861,708,1126,1148,973,765,973,1258,1148,987,1166,1110,1200,2122,2304,1456,811,566,485,368,416,529,605,459,886,1370,1148,836,935,1050,525,400,481,436,422,422,381,404,478,451,400,414,455,478,409,294,269,290,279,282,283,272,287,321,361,342,319,401,386,522,695,1038,1028,855,618,594,543,525,625,595,487,447,799,1704,2016,1448,1050,1158,1118,768,689,807,900,817,610,696,826,539,554,1118,1622,1498,755,332,462,969,1272,1512,1854,1522,1232,688,453,380,385,317,295,318,326,328,357,392,370,432,448,506,436,391,290,268,562,773,796,805,885,1120,609,363,548,773,730,793,854,852,790,719,594,619,601,930,1472,1434,1146,1274,1170,730,581,569,656,767,684,559,531,561,508,479,462,330,364,515,564,476,854,838,379,420,517,463,294,260,371,480,538,893,833,605,1178,1182,927,894,620,635,534,620,1006,1308,1018,1013,1246,1374,1480,1698,1674,1714,1966,1622,1302,1250,1050,1024,1528,1476,1404,1282,1686,1848,1808,1870,1572,966,939,1116,1768,710,640,475,311,402,460,675,808,728,643,842,1272,1294,1320,1530,836,1032,822,378,327,324,318,359,327,403,580,616,703,778,1182,823,538,492,984,1432,1366,1258,997,709,525,514,528,530,470,584,675,580,577,1015,1432,1580,1574,1582,1536,1482,1428,1438,1478,1272,1688,1774,2204,2576,2930,3242,3120,3012,2844,2818,2824,2446,1496,1638,2106,1832,1604,1612,1548,1470,1390,1396,1530,1620,1628,1752,1698,1412,1186,1304,1058,930,1098,1094,1080,1024,1034,1050,1080,1116,1162,1108,1116,1386,1642,1346,1064,944,871,995,1300,1800,1582,1810,1686,1486,1930,1990,1678,1642,1418,1394,1394,963,941,1272,1642,2150,2040,1682,1238,1358,1482,1100,819,1304,1650,1494,1538,1614,1548,1354,1250,1282,974,964,1104,1152,1402,1620,1460,1422,1378,1510,1920,2084,1428,1288,1256,1172,1088,1086,1350,1534,1562,2454,1988,1786,1876,1788,1896,1622,1402,1538,1608,1862,2122,2318,2862,2842,2136,2336,1578,1168,1302,1092,1044,993,989,965,642,446,489,633,465,422,678,1180,987,539,404,315,296,289,364,453,307,278,265,322,299,269,254,262,246,240,240,240,258,246,228,268,409,507,408,350,420,654,685,475,409,348,330,356,383,303,390,396,512,665,677,874,850,474,298,251,271,326,378,308,368,956,1052,715,361,469,342,306,368,316,290,296,366,306,442,930,695,550,565,756,533,479,542,546,779,1102,1282,558,430,493,432,317,411,458,1058,1338,1008,1162,1198,1082,1036,1060,1284,591,423,626,578,466,372,587,857,807,421,317,428,565,1056,1522,1726,1714,1502,1001,1002,1128,1160,1266,846,608,880,1056,1214,1174,1078,1238,791,505,489,518,549,593,993,1362,1282,1456,1478,1372,822,877,1602,1538,1166,1013,899,1244,1368,918,1132,1252,988,965,922,670,634,738,1044,1100,974,960,924,977,1001,1298,1438,1072,1404,1800,1834,1638,1238,1104,1396,1418,1238,1190,1152,1288,1420,1212,938,741,557,755,835,724,764,633,732,1008,724,648,1132,1142,1042,1112,1210,1288,1320,1208,980,669,681,993,1212,1220,1218,1106,1094,984,1064,1260,1502,1356,847,1180,1620,1354,1286,1096,1194,1318,1224,1256,1406,1182,938,932,1034,1166,1262,1240,1042,839,688,504,362,482,564,470,425,419,441,432,398,388,360,360,458,421,389,381,387,455,794,960,727,539,506,575,476,393,401,428,478,469,398,423,731,875,774,636,666,607,389,353,359,389,399,397,403,401,399,415,428,412,431,394,321,287,328,424,453,390,348,324,312,290,271,260,300,406,394,343,300,294,278,238,268,308,278,243,245,253,271,379,488,529,415,284,249,274,404,421,369,330,331,328,316,340,398,375,368,351,338,331,353,396,405,361,330,321,347,530,626,512,479,492,414,333,328,307,309,307,344,384,379,351,334,316,316,316,336,361,408,491,449,372,413,454,372,367,352,387,447,516,354,412,702,802,570,400,745,1128,1132,691,464,575,1112,948,500,363,439,529,513,516,502,339,285,376,473,428,763,1748,1358,1038,1060,1130,1158,1017,716,393,412,362,288,432,1184,1488,1112,933,1398,1482,1232,995,923,950,1170,1158,861,691,882,1108,962,710,797,1032,865,637,833,840,738,666,661,735,708,1120,769,448,392,305,369,345,272,346,548,735,1005,1300,841,572,657,564,474,871,1520,1776,1420,1570,2102,1236,1416,1980,2100,1454,1720,1184,536,700,612,541,615,619,521,392,424,1232,1540,1166,984,1168,1080,1030,870,610,869,1234,1406,1510,1520,1294,883,770,755,1240,1410,1082,1356,1794,1260,580,502,388,301,293,265,248,274,299,335,355,314,263,245,243,258,276,302,288,291,268,345,366,350,330,319,317,308,294,281,263,275,257,267,265,257,251,287,354,421,396,335,331,374,349,374,338,311,294,287,280,293,286,290,300,273,264,263,256,255,250,246,249,256,258,256,265,284,292,286,306,297,310,313,277,256,249,270,305,329,344,353,358,357,354,344,320,293,280,284,323,425,408,477,862,928,871,1230,1408,1542,1374,1234,1224,1078,771,606,531,474,586,631,567,540,457,697,591,920,709,510,524,800,638,287,458,775,651,455,375,467,774,1204,824,532,1130,1220,668,878,1350,1326,1348,1204,832,705,1001,1122,943,1040,886,926,1009,1082,1632,1710,1342,1260,1250,1318,1250,1208,1548,1250,1286,1276,973,940,1164,970,449,406,605,1350,1694,1852,1516,1318,1222,1726,1874,1204,731,623,860,969,537,993,1346,756,502,565,977,1184,1288,1902,2088,1388,844,786,892,959,891,744,995,964,1262,1898,1982,1800,1522,1007,904,1096,1396,1422,855,766,791,584,529,622,650,584,485,364,293,329,446,417,399,386,390,526,658,596,616,568,369,325,395,402,302,310,377,440,333,438,541,401,702,954,902,655,697,929,852,719,1352,1386,1610,1708,1216,525,420,558,532,486,580,822,890,687,766,584,727,1044,796,939,1324,1250,980,1034,1496,1158,976,1256,1044,1340,702,607,515,839,1294,1058,874,1506,1768,1562,1362,1040,1472,1466,1404,1714,1506,1488,1622,1564,1290,1030,922,825,748,1140,1106,1070,1176,1280,1316,1272,1328,1128,1222,1350,1294,1440,998,785,969,1182,1244,644,364,383,352,307,330,360,357,394,378,348,321,325,406,338],[1952,1858,1718,1550,1482,1138,636,561,672,730,897,1018,840,613,465,547,705,1032,1614,1730,1682,1636,1340,957,659,486,462,456,456,573,557,578,444,421,461,520,677,802,1170,1632,980,487,574,733,652,488,408,377,361,393,377,516,603,974,1460,1570,1524,1422,902,530,703,843,934,1260,1494,1198,955,1032,1376,1274,830,1106,1013,976,995,1140,1044,1080,1166,1142,1042,755,596,539,525,498,477,515,415,460,457,330,308,332,343,367,336,336,408,399,410,402,601,959,1226,1482,1236,732,452,409,436,392,343,409,571,697,686,610,710,1056,1248,1312,1092,836,1114,1420,1490,981,531,495,441,411,328,501,584,493,375,309,282,283,290,295,292,324,336,610,1416,1712,1844,1390,1368,1004,480,410,433,429,366,422,480,525,628,697,681,610,664,741,636,527,471,436,405,383,352,332,376,465,607,581,529,467,449,464,507,599,605,792,811,719,685,722,739,759,792,794,671,440,363,314,319,360,351,375,420,391,393,297,276,282,298,572,1078,1452,1508,1500,1460,1646,1266,872,645,668,814,1026,1434,1594,1456,1272,1024,851,1256,1348,1736,1026,564,606,541,443,645,877,824,647,651,836,901,767,650,695,884,1218,1032,820,761,750,774,814,1150,1478,966,911,602,389,449,569,526,441,469,463,414,439,608,979,576,391,685,716,667,771,699,621,1013,1188,927,1122,1136,1090,1005,1004,1322,1432,1290,1170,766,531,620,797,1038,903,1092,1002,595,321,485,774,700,521,624,1062,1404,1210,784,625,557,441,414,450,476,684,884,683,521,504,407,404,383,530,590,836,916,561,510,541,447,310,270,259,373,522,437,400,608,854,464,298,300,300,276,279,283,277,300,277,324,273,270,321,317,309,329,358,350,444,648,586,397,448,476,502,455,418,455,509,504,505,529,1248,1782,1188,1226,1556,1180,662,922,1140,1088,759,787,742,728,846,836,663,704,846,957,926,1130,1242,984,711,1044,1434,1416,1126,954,1074,1534,2168,1726,1106,1340,1250,705,633,731,683,563,683,847,770,576,531,767,1344,1015,746,869,643,764,921,1132,1112,759,705,716,575,607,1100,1023,879,1056,1260,964,745,1028,1056,802,767,1036,1460,1528,1810,1198,669,599,618,714,629,1060,1166,737,803,1220,1222,996,1644,1824,1764,952,496,386,391,570,1022,859,296,525,875,727,557,786,1180,653,392,417,400,433,444,381,403,475,440,429,446,447,459,435,337,261,258,277,297,296,274,276,347,402,342,374,446,433,489,650,632,738,821,699,679,847,821,570,559,452,525,780,1060,1196,1282,1124,1266,1162,636,500,502,529,563,747,874,808,469,443,934,1306,1130,530,400,849,1578,1494,1510,1866,1538,1054,753,547,436,399,381,396,355,316,341,376,431,450,451,399,440,415,397,301,339,681,880,819,780,769,1126,669,372,444,560,449,507,590,598,740,705,677,772,698,936,1150,1290,1266,1354,1332,966,617,484,496,505,581,519,444,444,503,579,535,377,446,458,418,468,850,866,384,329,384,360,304,279,382,456,871,1304,1066,764,1130,1194,907,791,689,786,719,576,702,1256,1248,1050,1009,1184,1378,1480,1356,1474,1976,1750,1432,1180,1158,1152,1522,1594,1500,1284,1478,1882,1924,1900,1742,914,1088,913,1240,697,672,539,308,345,311,452,809,975,816,819,947,982,897,1642,1396,1058,778,524,427,398,339,337,321,481,1414,1130,755,884,1102,881,532,439,783,1200,1394,1172,646,482,484,487,498,484,462,614,788,700,537,509,777,1238,1492,1548,1520,1568,1412,830,722,889,956,1050,1148,1322,1866,2188,2630,2478,2540,2764,2720,2254,1582,1500,1662,1692,1648,1416,1232,1300,1192,1470,2102,2308,2396,2262,1764,1312,1212,1318,1102,929,1150,1078,1094,1074,1038,1038,1044,1120,1162,1096,1094,1346,1634,1322,820,669,656,872,891,1372,1570,2434,2308,2128,2510,2272,1782,2010,1976,1374,1416,1034,779,1020,1230,1648,1928,2086,1666,1558,1256,703,651,1234,1624,1756,1558,1690,1650,1410,1384,1376,1002,966,1488,1286,1078,1296,1266,1224,1330,1528,1670,1520,1224,1362,1200,896,1130,1394,1694,1548,1800,3396,2102,1664,1644,1372,1754,1726,1356,1422,1312,1272,2062,2404,2372,2420,1748,2304,2018,1296,1152,1356,1356,954,982,748,474,413,500,656,722,540,515,758,626,673,803,500,294,283,361,472,406,307,275,365,399,354,285,225,240,229,220,247,248,228,235,224,403,618,488,403,396,664,1024,971,506,384,476,371,380,440,532,422,473,647,545,667,727,490,343,262,318,437,509,400,330,468,590,453,357,433,348,348,338,280,289,338,372,454,460,467,450,441,719,926,683,742,819,905,1118,1214,1076,422,401,427,416,435,382,490,1230,1512,1456,1672,1540,1234,913,1064,1450,753,411,558,975,909,488,398,505,673,458,344,362,810,1416,1532,1468,1428,1360,1204,1510,1648,1440,1230,614,622,771,664,651,720,789,771,539,439,416,411,500,552,805,1356,1438,1570,1054,736,897,1150,1296,1292,1250,1018,1001,1400,1520,959,1170,1310,932,1013,1220,882,525,505,666,701,960,1198,816,537,778,1098,1132,636,814,1390,1698,1668,1344,1220,1084,979,1108,1120,1011,1216,1394,1394,933,600,518,655,768,872,1098,855,882,783,471,586,973,985,1100,1044,1098,1272,1226,1136,1114,868,646,855,1324,1144,1188,1122,1046,1019,1104,1112,1382,1278,957,1172,1620,1166,1194,1126,1216,1304,1170,1318,1388,1452,1504,865,873,1308,1404,1272,1126,1096,941,544,361,458,412,330,383,448,407,373,333,321,339,360,447,403,401,469,448,426,678,729,497,588,943,702,415,359,365,397,386,386,389,392,455,604,683,525,532,508,383,355,359,420,426,419,426,424,423,425,417,378,408,395,305,251,288,431,499,429,347,314,300,266,241,255,267,243,269,285,243,244,244,235,248,243,237,236,244,259,278,359,509,485,319,246,254,249,300,346,321,331,330,321,297,311,349,347,344,347,330,353,353,352,392,349,329,304,344,567,519,409,386,472,404,337,328,321,349,331,337,355,386,357,346,343,339,343,338,348,428,502,463,397,429,425,392,402,350,360,538,575,423,491,608,497,433,417,563,888,1142,695,584,576,758,651,444,356,375,391,405,409,388,302,319,302,357,413,1122,1150,689,921,1210,1116,781,633,567,536,563,618,651,1114,1654,1332,1198,1388,1392,1416,1250,1014,1218,1156,1284,1010,863,738,714,776,763,750,790,843,1048,998,1186,717,748,710,821,1118,1116,847,543,446,424,483,576,440,516,778,1100,1202,1128,969,568,457,603,678,506,765,1610,1854,1250,1798,1894,1322,1726,1846,1494,1470,1788,1162,697,995,625,510,647,760,697,449,681,1290,1570,1138,999,956,709,1002,1218,949,535,752,951,744,1170,1220,863,622,522,636,681,708,1054,1196,831,507,505,466,416,415,436,420,388,324,332,386,330,276,244,239,255,267,295,287,278,283,288,321,361,355,333,321,298,282,273,252,243,251,270,277,278,286,322,359,350,337,341,349,361,331,318,310,309,299,293,305,308,326,331,284,255,254,257,251,249,251,258,252,256,260,269,281,289,294,273,291,289,326,300,272,265,280,298,326,349,366,354,343,330,318,314,296,283,282,311,459,535,398,356,669,1054,954,1120,1354,1288,1274,1236,1170,890,655,760,772,565,614,708,657,572,406,615,601,653,565,507,563,754,789,501,419,455,484,741,730,730,1052,1124,922,720,771,875,710,682,1064,1392,1182,844,617,528,768,1142,1364,1550,1144,867,886,813,968,1120,1390,1520,1198,1114,1050,1298,1262,642,755,1016,1042,1388,1690,1130,459,406,811,1438,1410,1422,1458,1390,1282,1382,1206,1312,933,974,1304,1168,626,1152,1016,570,430,354,613,947,1164,1826,2144,1158,641,715,832,905,615,452,859,1214,1638,1944,1400,965,1074,917,832,1186,2160,1844,1016,860,784,621,500,548,497,425,425,468,434,532,669,517,474,362,339,453,509,531,475,385,387,514,464,383,265,342,477,399,251,306,403,386,464,1050,1314,752,763,1260,981,973,1278,1444,1654,1762,1316,541,472,551,483,433,388,405,335,319,963,769,597,803,856,983,1040,757,706,836,1384,1208,1276,1166,604,604,600,744,713,491,825,961,783,1106,1410,1622,1524,1626,1588,1358,1178,1560,1780,1512,1288,1254,1324,996,626,866,1118,1428,1416,1338,1356,1488,1460,1362,1250,1064,1050,1158,1198,1302,1062,961,1226,1270,992,552,386,364,344,287,281,302,320,344,336,334,304,301,327,301],[1920,1604,1076,832,654,501,610,601,439,421,533,546,516,673,604,568,820,979,1264,1554,1588,1570,1512,1456,1224,745,568,437,537,557,535,549,619,644,539,586,1042,1298,1656,1512,660,462,504,479,479,481,457,365,328,363,391,489,559,880,1408,1198,888,786,567,477,564,589,594,498,662,1017,1422,1732,1498,1124,954,1180,1032,909,1142,1454,1470,1510,1442,1310,1092,889,771,802,670,639,639,583,429,432,447,403,378,376,402,380,339,325,343,392,777,597,437,677,1016,1142,759,475,396,353,328,343,331,417,381,404,419,406,702,1036,1342,1630,1076,501,590,772,1014,623,450,450,385,404,673,957,913,714,559,472,341,305,299,320,273,279,363,886,1620,1814,1770,1630,1414,727,404,342,430,376,406,436,443,425,440,529,645,657,716,785,726,591,526,575,504,461,379,355,437,637,675,621,535,430,457,464,527,668,799,766,645,579,502,453,518,568,634,720,569,403,432,444,398,347,340,348,378,416,375,290,265,257,274,340,572,918,1440,1670,1426,1726,1128,559,664,814,747,713,1152,1484,1428,1266,1528,1518,1040,847,1298,885,540,745,696,543,799,1278,1208,987,776,788,858,695,543,593,825,966,684,546,527,901,1398,1246,1532,1352,561,275,212,256,369,550,569,481,414,371,389,424,365,435,480,489,725,1028,881,632,676,741,808,1150,1062,1084,1342,1216,948,1020,1486,1600,1148,803,543,402,579,673,880,825,550,370,397,515,741,1040,944,1086,1628,1174,1410,1758,1172,652,625,573,429,454,519,564,629,586,457,433,350,355,372,403,595,684,736,608,469,396,305,273,216,284,430,533,788,684,868,823,455,323,322,311,285,298,299,316,295,349,422,381,342,344,300,263,259,415,538,476,517,613,543,603,668,669,641,698,861,818,602,549,515,1222,1982,1432,1750,1772,1476,1668,2306,2566,1704,1034,1322,1566,1402,1366,1376,1412,1362,1042,885,790,852,885,744,768,958,1222,1588,1456,1310,1410,1454,1836,1566,1036,955,1150,763,608,606,707,1060,1090,1074,794,930,894,807,1056,832,875,1104,1100,1078,949,1048,1124,766,565,490,591,670,1598,1488,1188,944,678,567,881,1174,896,571,761,1026,1226,984,1406,1094,815,784,855,756,796,1218,1001,664,745,1144,1340,968,849,1042,1394,885,492,453,484,604,770,520,298,352,771,1118,1092,910,1270,890,477,375,341,367,376,349,403,434,502,570,546,374,421,420,361,310,271,250,276,315,292,297,433,567,493,428,476,489,560,664,589,922,1160,727,858,1698,1116,507,497,613,663,742,840,730,645,583,566,455,422,446,436,391,385,396,597,782,786,692,665,844,675,409,396,794,1158,1400,1948,2034,1486,898,526,453,441,408,420,544,562,400,403,428,409,539,541,479,461,542,604,429,439,761,788,583,578,600,489,458,396,372,525,492,398,437,495,660,617,762,797,677,625,963,1288,1572,1564,1384,1204,778,579,557,509,556,499,455,462,527,797,742,661,728,625,430,461,819,684,500,481,450,350,295,247,391,463,855,1334,1066,833,1200,1302,1330,778,641,794,703,506,486,978,1294,1088,912,1054,1320,1434,1412,1432,1920,1876,1498,1094,1106,1228,1390,1634,1602,1280,1274,1650,1964,1650,1736,1013,896,672,799,1021,1088,743,310,350,427,563,657,890,948,705,737,854,676,1108,1644,1454,895,736,455,423,351,299,380,524,1362,1004,709,860,1024,985,865,671,641,761,943,717,543,425,445,449,452,452,501,661,695,742,931,609,558,788,1026,1406,1472,1120,965,974,825,1040,1106,952,785,1274,1850,1416,1356,1230,1628,1858,2200,1866,1412,1426,1562,1660,1628,1406,1272,936,908,1660,2452,2684,2654,2518,1736,1210,1174,1124,1094,877,1196,1156,1194,1220,1194,1190,1186,1256,1302,1268,1236,1396,1692,1454,705,586,576,810,833,1038,1448,2254,2758,2632,2544,2454,1676,1778,2108,1440,1350,1088,803,860,913,1328,1772,1734,1776,1682,1300,1038,1058,1380,1354,1410,1380,1518,1532,1712,1706,1482,1336,1222,1526,1650,1526,1266,1214,1228,1238,1418,1312,1422,1758,2034,1792,1216,1224,1436,1336,963,1238,1620,1554,1500,1474,1186,1426,1772,1450,1290,1088,877,1550,2228,2084,1498,1732,2586,2566,1914,1376,1432,1766,1246,901,468,437,622,811,737,976,897,632,599,594,791,969,580,338,428,760,744,525,343,320,393,474,558,425,221,232,236,226,238,250,244,243,233,417,633,595,483,414,571,1196,1316,568,433,474,369,398,664,669,429,480,553,419,432,474,506,303,245,398,486,766,827,484,375,573,580,475,386,342,406,335,242,309,318,489,659,527,493,465,426,684,958,1106,1460,1854,1788,1046,783,604,436,484,615,566,386,388,599,1302,1366,1224,1142,1260,1160,694,383,666,654,408,366,702,653,325,292,310,322,415,669,768,1076,1532,1876,1716,1354,1246,1266,1604,1572,1294,921,584,630,678,628,570,781,951,823,543,409,370,341,397,383,485,1196,1426,1040,772,1080,1240,1282,1200,1282,1588,1570,1324,1302,1324,824,866,788,667,847,1048,1214,1108,875,922,717,1003,1178,778,478,677,1022,1348,988,612,885,1306,1164,1214,1310,1036,1076,1104,975,837,855,979,1142,858,531,667,1038,1214,1164,1226,788,883,597,382,442,571,638,719,831,1062,1220,1266,1136,1136,1184,1026,730,802,1130,1340,1344,1094,1020,1040,1132,1208,1152,1172,1186,1094,1040,932,877,1046,1182,1260,1274,1296,1452,1616,821,783,1132,1232,1132,1142,1166,1034,661,447,485,397,325,362,390,360,360,348,362,337,351,375,448,488,431,437,419,529,448,412,518,655,428,318,293,409,481,434,396,413,390,389,472,578,414,372,490,424,366,338,390,483,487,393,444,477,413,375,353,359,361,295,262,300,370,382,350,320,312,368,293,267,240,253,261,240,233,230,239,232,239,232,236,244,254,263,249,243,287,368,315,251,250,246,246,271,288,282,329,318,333,309,291,308,321,326,318,308,338,347,327,357,349,324,326,310,589,505,354,343,325,318,343,369,343,440,466,431,404,350,328,353,355,337,337,334,364,422,449,414,382,412,527,558,433,353,357,406,429,364,394,552,500,360,323,375,476,670,691,832,829,552,383,361,376,358,340,379,391,439,391,347,298,339,547,1262,1054,445,586,868,820,732,715,815,1036,1312,1262,1342,1598,1130,925,1276,1432,1568,1790,1286,1016,1202,1212,1168,1198,1284,1010,647,755,733,724,811,933,1306,1484,1288,680,610,492,774,1492,1362,667,797,1172,988,836,894,500,479,600,811,831,854,969,906,788,984,1019,913,971,1426,1576,1110,1704,1554,1342,1610,1386,1108,1488,1414,809,821,1048,897,671,548,689,651,509,751,998,1170,904,664,664,766,1132,1688,1148,671,899,1005,965,1202,1040,644,603,670,623,766,805,764,621,553,555,701,709,524,397,369,424,545,393,362,390,327,263,245,241,264,287,294,283,266,272,277,297,339,351,331,305,284,278,258,255,255,263,285,312,362,331,312,327,326,347,379,421,417,339,309,310,309,323,302,297,299,312,311,268,256,236,244,252,254,246,231,239,256,252,263,268,268,289,264,261,267,303,308,270,275,312,317,352,361,340,343,306,324,363,401,361,297,274,289,315,318,341,354,595,1282,1340,1250,1234,1184,1162,1284,1614,1726,1116,915,738,523,558,1160,1050,724,561,630,860,793,539,393,360,582,856,712,424,653,800,1052,913,721,858,1018,1222,1026,688,745,915,707,824,1110,1302,1222,848,610,777,1062,1584,1972,1394,673,786,976,943,1196,1214,1138,784,561,573,808,693,405,469,814,1142,1340,1010,466,328,586,1308,1192,675,669,921,1102,1090,960,645,866,703,999,1244,1112,985,821,671,777,691,384,622,813,1174,1398,1384,735,596,848,860,908,786,664,894,1302,1750,1494,1062,935,788,601,573,1832,2636,1592,1194,1214,918,788,700,646,610,490,513,559,521,620,643,542,460,388,430,521,501,561,508,394,356,491,487,435,335,428,493,371,278,282,419,519,671,1274,1310,838,898,1378,1166,1000,992,1296,1484,1498,1158,406,506,591,522,486,417,404,419,400,403,430,699,892,918,860,1022,948,1021,825,1176,1064,1328,1070,590,875,1184,1562,1366,624,670,1148,1282,979,1116,1262,1896,2288,1836,1364,982,1302,1608,1672,1400,1388,1908,1566,785,827,1250,1264,1202,1464,1512,1432,1376,1482,1416,1490,1330,1368,1324,1390,1288,1166,1238,1174,775,481,517,356,318,278,300,341,345,369,357,373,337,269,267,236],[1674,962,499,508,509,549,598,557,479,472,414,349,504,1001,982,684,824,918,1018,1028,792,626,584,969,1396,1530,1110,839,670,517,620,868,973,861,691,793,1009,974,1158,1338,810,415,422,398,322,387,484,562,537,404,399,555,615,1086,1374,948,661,540,448,526,619,582,594,544,555,899,1156,1172,761,585,1070,1178,974,720,735,857,1096,1448,1692,1700,1200,818,617,604,601,732,816,759,519,376,375,382,405,452,420,364,332,340,309,565,1128,940,621,548,697,729,518,417,334,315,303,313,334,404,348,383,414,406,596,799,777,771,713,493,437,434,473,437,457,465,488,445,982,1650,1472,976,735,569,387,375,399,364,291,328,407,822,1410,1694,1524,1470,1260,606,443,413,422,374,411,474,458,411,399,409,452,625,1005,1056,944,839,646,666,642,533,432,418,559,716,726,606,464,441,430,389,463,651,716,641,461,375,305,250,268,270,368,480,372,383,421,449,360,321,311,346,411,421,341,256,242,310,340,361,450,599,1044,1016,720,788,676,505,641,1220,1686,744,502,658,567,614,1262,1232,592,393,512,479,478,632,566,787,1170,1558,1668,1394,1146,1018,803,467,335,479,824,1046,778,800,699,938,1488,968,877,612,310,254,246,319,542,655,478,462,394,358,465,670,857,710,522,540,641,1032,881,415,1078,1846,1488,1572,1330,1244,1258,1036,1070,1104,1396,1500,951,717,558,337,536,584,628,499,301,346,583,959,1506,1522,1320,1772,2054,1322,1302,1416,1176,635,488,537,460,426,556,607,574,488,383,429,396,384,376,419,575,640,740,713,481,280,363,332,240,427,695,733,927,851,792,563,365,343,331,303,296,274,285,324,378,524,458,387,404,515,523,430,388,337,475,494,450,617,649,800,907,902,844,864,1032,921,622,573,541,789,1104,1404,1566,1562,1334,1434,1732,1992,1456,932,1316,1344,1192,1334,1422,1416,1176,1132,955,929,922,926,975,1072,897,1294,1630,1406,1524,1460,1360,1360,1258,1250,1262,1146,697,462,570,821,1005,1428,2030,1350,1428,1152,694,789,799,754,778,857,954,999,937,1144,839,678,633,549,908,1794,1810,1186,636,408,472,619,812,896,884,847,752,580,484,634,921,1242,1486,1532,1130,1094,1556,1009,623,680,899,1196,1174,745,537,572,800,841,769,650,462,351,311,275,364,859,1504,1570,1130,1140,1015,618,419,374,366,373,375,375,449,525,599,517,336,327,351,344,350,319,346,500,487,414,393,498,610,599,506,494,535,763,690,470,1042,1628,1296,993,1794,1064,547,477,786,857,1068,1098,637,452,410,318,315,405,384,367,387,380,355,487,678,597,611,791,1036,671,629,634,825,783,1254,1838,1700,1294,767,466,545,519,412,420,504,476,386,396,491,531,417,373,473,441,435,524,406,483,454,478,352,460,746,1116,1216,708,791,1694,1003,466,426,553,834,702,710,799,778,574,738,1204,1526,1362,1144,999,698,689,621,500,466,374,361,361,461,653,637,568,691,618,526,601,865,452,481,623,587,388,235,244,348,433,885,1328,991,827,1318,1348,1274,716,686,811,715,519,412,602,1036,1362,1078,1036,1162,1246,1380,1558,1964,1708,1368,1102,943,1132,1252,1448,1648,1636,1478,1572,1906,1736,1612,1138,964,681,534,949,1322,991,399,383,814,936,726,716,742,724,1021,1432,1130,751,1112,1242,858,963,566,426,376,307,383,630,532,368,557,687,757,727,696,609,882,853,745,529,505,494,545,509,455,469,521,579,536,650,1062,767,612,615,777,1362,1654,1276,1866,1976,1376,1136,1252,1252,964,1894,2630,1388,973,1562,1572,1268,1370,1324,1426,1488,1538,1628,1516,1360,1424,1192,1278,1658,1852,1838,1914,2062,1832,1636,1550,1178,1150,1032,1304,1378,1442,1400,1360,1372,1406,1448,1420,1396,1380,1460,1768,1422,700,640,583,677,746,904,1396,2110,2868,3178,2912,2692,1748,1692,1896,1492,1402,1068,795,792,725,1112,1680,1880,1842,1666,1476,1544,1744,1658,1080,1104,1396,1624,1576,1506,1508,1368,1504,1462,1642,1740,1526,1506,1390,1312,1338,1260,1352,1528,1570,1754,1716,1064,1052,1232,1090,794,1126,1482,1530,1464,1538,1394,1406,1870,1566,955,853,792,929,1648,2106,1874,2060,2702,2602,2176,1892,1244,1294,883,522,436,598,738,863,883,994,893,706,527,585,543,694,560,473,696,1038,991,716,452,339,381,466,578,389,243,230,245,257,241,234,242,241,228,340,538,465,394,426,439,731,750,526,500,459,435,429,456,369,323,387,441,298,323,440,424,258,240,301,316,469,459,308,371,613,739,443,338,405,626,618,326,292,359,408,444,411,341,360,415,634,1182,1216,1638,1864,1716,1024,929,739,453,482,823,808,623,595,661,1020,702,815,1003,1040,879,498,332,686,846,452,430,428,290,344,353,309,426,676,1170,1310,1240,1296,1424,1506,1256,1160,1426,1726,1290,1007,547,460,507,484,549,586,616,772,896,555,420,404,401,448,369,371,1078,1388,973,931,1234,1356,1412,983,1150,1492,1418,1300,1056,956,568,307,293,499,799,971,1222,1092,977,906,590,825,1154,952,703,781,1186,1216,706,661,988,907,1116,1474,979,714,733,709,679,501,620,898,775,663,902,1120,1252,1388,1364,1468,1026,716,450,363,598,770,645,647,699,956,1122,1154,976,1142,1300,1200,991,1114,1340,1504,1482,1212,1074,1032,1166,1268,1386,1460,1402,1232,1148,910,877,1078,1192,1224,1252,1436,1160,994,836,663,800,968,1086,1174,1026,942,694,474,455,414,375,372,421,371,386,394,355,337,356,380,480,531,387,401,407,444,401,407,350,319,365,370,365,425,585,630,471,431,412,465,493,512,448,468,472,414,374,338,371,500,543,364,423,462,413,373,343,343,315,268,261,292,306,294,316,306,291,333,296,272,246,249,243,243,239,233,226,230,247,236,242,249,252,258,244,243,243,255,251,254,249,247,255,261,266,286,317,333,323,327,331,317,321,311,303,328,315,306,310,313,327,304,321,340,599,584,404,354,309,328,331,331,360,542,547,514,496,418,335,340,349,331,345,346,373,389,377,369,360,357,476,605,504,360,355,415,501,554,515,563,422,332,367,368,362,470,511,694,674,452,361,396,449,404,361,348,352,390,465,441,349,321,397,484,458,414,416,767,1026,1148,947,952,1296,2000,1632,1270,1424,1160,1194,1208,1196,1434,2122,1896,1310,1526,1444,1136,1096,1166,1102,760,930,980,951,946,917,1210,1456,1332,906,669,692,793,1136,991,805,976,1392,1082,1076,968,576,429,347,322,268,453,1078,1686,1862,1566,979,962,991,1184,1310,1246,1412,1346,1296,1294,1272,1444,2166,2074,1168,993,966,877,675,491,436,421,561,824,1264,1192,617,603,668,776,1224,1040,902,1056,946,813,1166,1570,1418,985,834,778,714,871,778,678,676,652,611,768,816,538,379,343,289,354,361,414,417,375,315,264,246,273,288,279,282,273,278,305,319,345,341,329,310,297,283,265,263,269,266,291,312,355,302,278,313,327,331,353,354,350,345,325,333,346,332,335,345,407,426,374,288,249,254,255,247,268,253,239,260,249,255,260,255,272,266,264,264,278,303,300,275,266,294,329,343,349,341,340,324,382,462,454,361,289,279,296,328,304,321,381,475,899,1222,1324,1308,1072,1128,1206,1394,1616,922,672,523,436,571,1080,1204,1142,1076,1252,1244,800,505,311,328,415,636,566,501,722,930,1230,1152,923,951,1152,1244,927,860,739,973,991,1009,1050,972,1310,1638,1204,686,724,1078,1610,1466,725,561,775,597,674,779,960,912,572,367,401,387,423,420,589,952,1102,735,438,299,520,669,451,645,749,543,786,916,683,669,649,1328,1304,1048,1120,725,260,464,861,858,368,360,569,1230,1224,1038,585,580,703,706,745,781,874,1015,1150,1358,883,867,1044,1006,724,1184,2466,1934,879,1140,1284,1136,873,822,822,606,426,571,887,1112,1166,1144,930,538,470,439,513,427,430,567,525,382,349,363,387,408,409,482,468,287,324,615,665,895,1460,1450,962,1126,1500,1182,633,355,455,602,688,571,359,481,523,506,508,518,483,479,487,419,496,799,860,1040,847,1178,1168,1144,827,645,673,1196,1426,1174,1112,1466,1706,1472,1218,773,1190,1538,1158,1206,1432,1684,1610,1588,1350,1058,1264,1422,1708,1904,1780,1714,1688,1306,1096,1088,1106,1656,1904,1356,1292,1266,1380,1426,1692,1562,1426,1416,1334,1128,1134,1254,1023,761,915,798,382,334,345,350,385,365,384,361,324,307,250,267,249],[1120,535,431,467,458,541,626,682,532,456,456,475,494,702,881,761,958,985,792,585,388,270,308,408,614,829,1328,1460,1250,891,853,1188,1388,1098,1104,1308,807,471,468,767,553,369,379,367,326,399,565,666,641,550,443,505,480,771,740,609,587,617,541,604,685,626,629,551,482,577,490,432,626,924,1080,969,908,671,658,766,673,799,1172,1432,995,602,424,456,493,506,586,689,686,555,450,408,397,400,297,288,306,353,311,713,1332,1294,1064,1006,790,827,642,415,390,327,294,305,410,466,436,494,713,747,626,666,633,600,516,518,604,935,922,767,664,549,524,510,1124,1866,1612,1282,743,636,636,691,613,493,498,628,677,797,1050,1290,1304,1466,982,556,423,387,393,400,419,430,413,395,385,386,426,479,754,889,969,935,683,601,584,573,537,526,628,678,606,451,361,373,434,402,395,488,576,529,421,415,338,247,209,223,313,404,360,354,351,381,354,319,406,466,455,407,291,305,367,532,483,409,422,513,538,425,340,362,344,341,451,597,573,506,430,416,483,474,558,485,368,381,375,367,459,556,737,1005,980,1158,1484,1730,1704,1418,1194,888,658,672,839,933,999,934,851,719,945,906,647,411,268,207,236,316,456,663,604,563,450,404,413,751,1372,1328,1206,1422,754,706,659,457,1386,1716,1552,1936,1628,1544,1736,1610,1212,907,1256,1454,797,649,630,625,697,615,474,377,503,744,787,952,1316,1180,1064,1246,1270,1322,1334,1318,1358,1050,673,441,526,506,613,533,622,542,412,433,429,401,429,483,497,463,554,667,528,220,343,350,257,433,1017,1250,950,568,495,327,353,493,417,346,331,321,302,324,363,402,447,454,412,487,516,550,640,354,324,338,363,552,658,827,965,926,846,819,865,792,562,550,473,391,480,821,933,1166,1178,1040,970,974,868,580,814,1068,1172,1007,874,1011,1030,1102,1202,1388,1510,1284,1270,1604,1456,1292,1202,1228,1380,1450,1686,1884,1846,1732,1420,1016,554,420,469,618,710,1454,1728,1324,1428,1104,739,800,1074,803,517,571,974,976,854,1018,984,838,607,572,1228,1826,1472,830,661,523,422,383,484,513,799,873,805,801,994,1224,1108,1190,1412,1132,936,1194,1538,1230,1048,1202,1284,1488,1188,802,748,850,843,752,736,555,455,410,361,412,517,991,1294,928,678,894,1098,783,437,359,363,376,389,370,461,497,566,565,451,340,339,351,384,391,499,650,642,492,430,464,509,505,471,475,700,1032,610,490,869,1126,1208,1660,1938,1130,706,685,556,723,1306,1214,629,508,528,372,443,505,416,374,385,368,290,510,791,437,477,725,1106,727,1148,1428,1144,938,1168,1416,1360,1142,608,541,663,545,425,447,455,392,394,416,514,567,465,388,501,332,341,352,347,554,605,501,371,491,870,1450,1802,1210,864,1666,1040,697,444,574,792,781,720,647,678,576,474,877,1422,1332,1246,913,579,634,642,583,448,394,451,418,360,414,385,349,337,443,644,911,664,364,530,731,622,374,229,296,358,398,918,1392,1070,717,1302,1392,707,459,709,897,730,440,343,433,692,1326,1140,753,1088,1438,1456,1670,2008,1792,1380,1138,724,894,1009,989,1074,1174,1274,1344,1400,1554,1426,1168,1122,884,448,684,1298,1080,461,373,1023,931,730,708,550,629,1218,1782,1584,897,673,555,549,843,590,422,421,296,317,712,1036,1040,842,708,688,565,725,698,957,920,772,602,505,642,759,740,586,452,473,523,1064,1070,874,898,861,664,677,1616,2024,1456,1554,2130,2386,2270,1862,1582,1400,2376,2192,940,1308,2500,2294,1488,1464,1342,1232,1232,1532,1668,1306,1070,977,1030,1192,1658,2444,2680,2854,2730,2696,2646,1732,1180,1300,1192,1284,1382,1402,1380,1348,1376,1406,1432,1390,1356,1336,1392,1600,1260,728,695,650,600,742,882,1154,1852,2568,3208,2988,3008,2000,1650,1842,1526,1418,1084,698,751,748,1010,1354,1530,1822,1762,1384,1268,1602,1582,1116,1122,1360,1584,1506,1390,1478,1122,1176,1456,1566,1428,1460,1466,1182,1188,1158,1056,1290,1616,1710,1384,1396,1312,1130,1346,1586,1418,1504,1462,1238,1282,1532,1376,1154,1684,1738,1148,1176,1007,873,1296,1854,1944,2000,2630,2450,2086,1798,1032,938,870,725,608,564,562,607,819,881,760,898,722,640,420,498,563,649,835,937,1060,1064,717,343,340,364,374,290,256,250,255,264,253,245,254,264,263,310,460,453,403,402,481,797,678,477,432,404,443,439,486,412,332,274,284,277,332,265,314,289,293,403,327,244,253,320,416,838,1068,433,306,307,641,968,685,392,456,462,419,360,341,366,445,524,1136,1170,1506,1318,873,874,1112,902,449,442,946,944,699,549,684,1124,709,328,569,812,617,297,296,721,923,637,590,489,378,409,393,287,486,918,1450,1428,1506,1628,1508,1168,1226,1260,1638,1510,1334,890,440,443,402,324,394,553,717,608,503,430,424,403,562,598,469,501,971,1282,1122,1066,1262,1378,1492,1098,1240,1388,1094,1036,1226,1282,851,484,522,510,791,999,1126,766,516,488,526,771,1160,1218,1086,1084,1134,1054,585,643,1098,1052,1256,1604,1372,1200,1272,1204,703,367,426,374,318,452,929,1138,1146,1138,1160,1408,1210,780,792,965,910,846,750,853,673,1070,1054,1028,902,934,966,806,946,1116,1104,1162,1290,1236,1094,1056,1166,1156,1192,1284,1448,1466,1172,832,979,1226,1254,1276,1294,1144,1088,1036,960,866,1240,1390,1080,1132,1108,1244,959,611,551,472,392,370,401,434,448,440,372,365,392,438,379,385,412,399,442,494,462,436,379,365,446,542,568,475,500,486,420,402,413,439,466,496,540,577,532,466,367,345,350,410,430,496,527,451,385,321,288,301,303,274,268,283,291,328,294,285,267,256,247,240,247,247,243,244,243,246,241,243,232,242,244,244,244,244,253,256,246,246,260,267,258,261,250,261,270,269,282,328,334,350,373,333,310,311,316,318,313,295,298,301,310,330,334,388,582,558,396,377,351,302,293,332,394,442,437,427,462,431,336,322,344,320,357,359,369,365,355,357,339,325,350,428,471,435,416,466,536,763,697,767,498,362,468,433,369,398,455,465,360,326,344,346,426,366,378,379,354,366,435,433,352,354,371,390,441,424,432,790,1216,1434,1126,1158,1616,1852,1322,1148,1260,1648,1422,904,777,1512,2060,1836,1760,1646,1216,1086,908,785,980,842,858,1188,1600,1674,1654,1522,1318,1300,965,829,1230,1456,1590,658,421,697,910,832,1094,1176,1272,1010,384,301,302,389,685,962,1962,1548,877,779,1028,1432,1298,1146,1406,1286,1214,1286,1224,1148,1474,1686,1340,979,874,791,649,574,422,458,575,748,903,693,494,427,485,509,852,953,1136,1222,742,434,575,1172,1346,1446,1534,1166,905,714,668,703,709,645,615,666,588,415,368,337,232,262,327,426,493,449,329,257,252,271,282,269,272,277,278,316,342,343,348,333,319,317,319,301,287,274,270,291,343,351,321,291,312,320,307,300,302,319,344,353,371,344,352,365,371,404,391,318,261,251,263,262,259,273,242,237,255,256,247,253,266,258,268,302,300,301,279,287,310,294,317,322,332,335,358,341,312,353,377,359,310,272,306,317,297,384,405,408,415,756,1084,1450,1820,1582,1486,1208,1048,1262,1330,1276,699,393,439,737,1326,1372,1302,1434,1250,576,442,338,360,344,582,557,513,846,1294,1294,1148,1016,924,771,885,875,932,717,1002,1282,1584,1602,1084,1062,1538,997,524,567,1036,1270,753,601,647,744,741,729,711,778,771,598,426,482,393,475,542,728,892,759,776,628,292,393,372,404,730,663,388,398,432,572,708,858,1748,1718,897,661,458,288,339,500,596,485,367,402,628,975,847,509,570,487,566,598,605,769,882,624,782,663,728,1034,802,707,2082,2820,1372,758,852,1090,1282,1086,625,590,636,609,830,1166,1310,1282,1212,1005,569,344,338,408,324,329,458,502,458,381,363,404,389,342,416,530,344,403,521,423,650,1412,1472,875,1104,1230,675,426,303,329,304,277,367,367,426,491,486,525,563,523,533,525,477,441,912,1280,1550,1138,1026,841,964,874,642,684,964,1440,1412,1334,1494,1340,1464,1484,1144,1476,1516,1072,1050,1396,1478,1654,1692,1350,1348,1312,1244,1488,1898,2042,1786,1496,1416,1330,1220,1154,1538,1596,1328,1392,1230,1072,1050,1214,1368,1538,1538,1282,1060,1100,1278,1102,1210,879,517,422,589,603,446,392,392,480,397,313,293,277,270,263],[549,501,516,493,521,538,645,916,672,458,464,602,751,772,646,485,479,597,549,368,278,278,342,460,442,408,543,983,1388,1528,1124,945,1130,962,1228,1118,759,530,545,575,458,394,351,334,353,455,540,533,565,653,625,719,700,591,444,391,514,549,460,468,509,484,540,486,605,551,414,462,966,2070,2144,1232,807,653,673,739,860,719,1132,1380,916,496,412,414,444,494,452,495,596,762,656,478,361,312,301,300,297,343,330,531,890,887,802,819,930,971,625,445,420,392,335,307,451,574,675,1328,1670,1374,775,774,882,696,529,684,994,1124,1130,1494,1650,1194,783,857,1612,1746,1148,1310,849,524,813,1040,898,744,698,763,786,1019,1268,1184,1304,1310,880,594,392,382,390,367,359,346,350,386,445,425,412,448,445,499,606,655,634,636,666,669,675,698,697,568,413,335,300,316,369,350,355,383,370,310,340,440,285,203,200,276,313,321,327,351,365,425,427,397,431,373,390,405,262,287,335,402,417,420,400,400,409,352,267,276,256,243,292,271,268,327,347,351,399,451,456,371,308,354,315,358,457,458,467,750,577,523,1056,1644,1506,1142,1288,1114,1154,866,672,924,1278,1072,936,833,927,1280,954,431,279,257,244,357,473,702,710,612,439,411,542,865,1166,1242,1162,1560,909,653,521,424,839,1102,1258,1418,1398,1492,1838,1806,1340,1034,1164,1138,640,400,618,982,880,691,550,318,474,836,982,1048,837,631,634,963,1448,1376,827,876,1192,993,636,487,524,500,486,785,801,455,319,355,421,459,495,635,709,458,502,577,628,407,414,379,288,346,687,1144,935,419,454,496,566,683,704,399,262,304,317,352,358,372,589,783,663,399,366,448,567,382,284,387,496,675,717,722,933,812,705,642,593,590,467,387,382,331,500,857,1092,1256,1146,640,612,651,500,541,1028,1102,922,1024,1216,1206,1001,961,1224,1510,1270,1310,1486,1680,1414,1248,1078,1058,1354,1646,2110,2654,2720,1942,1330,1120,1012,820,596,555,901,1238,1130,1434,1378,1196,1290,884,935,794,695,789,945,843,928,982,1050,932,684,702,929,1046,918,497,508,428,397,426,413,331,458,726,1100,998,1086,1440,1184,1508,1358,1005,987,1108,833,972,1276,1440,1722,1692,1260,1122,1060,949,779,624,518,459,434,408,408,699,711,748,912,623,530,706,1128,1004,502,385,380,383,387,393,420,481,506,475,409,343,350,359,380,468,554,539,644,597,488,460,433,499,551,502,688,775,843,794,846,740,879,1390,1510,1068,954,836,398,545,908,760,615,1058,903,666,990,1005,619,408,352,283,334,620,910,446,428,815,1206,1016,1366,1592,1174,859,1140,1488,1334,959,527,536,624,491,378,380,361,369,386,399,421,426,413,377,449,372,291,296,456,543,575,587,536,558,864,1212,1622,1434,967,1040,1200,807,448,616,724,725,647,572,644,576,494,662,1358,1358,1388,932,642,705,775,735,582,497,452,474,431,363,297,359,299,420,602,756,623,445,513,562,440,261,233,316,382,588,885,1106,930,784,1086,941,608,526,611,755,587,355,321,413,451,990,1226,1104,1290,1558,1576,1636,1770,1602,1204,1106,620,866,821,793,800,800,802,623,872,1876,2370,1678,1016,802,589,510,870,795,408,517,1346,1520,1098,780,687,479,677,1498,1590,1014,719,583,446,814,843,593,442,339,347,507,1074,1514,1208,959,578,838,1096,1024,1206,865,630,650,591,581,745,772,655,568,573,741,1370,1294,1232,1354,1188,1005,887,1268,1646,1512,1492,1582,1604,2016,2386,2432,2304,2842,2544,1920,2136,2814,2286,1846,2038,1824,1252,938,1390,1596,1214,919,757,1102,1316,2004,3570,3666,3572,3536,3596,3068,1772,1244,1490,1548,1472,1492,1440,1408,1346,1342,1408,1338,1306,1290,1310,1302,1322,1172,822,724,725,663,866,891,875,1462,2150,3066,3094,2980,2072,1958,2400,2032,1738,1334,836,714,778,1066,1350,1898,1892,1410,1428,1582,1564,1558,1526,1626,1478,1650,1384,1558,1306,1318,1312,1310,1452,1766,1826,1466,1212,1226,825,821,1206,1554,1422,1442,1600,1604,1572,1712,1736,1606,1542,1622,1322,1322,1372,1408,1180,1406,1830,1672,1518,1206,1017,1140,1558,1320,1424,2194,2842,1938,1170,1168,1380,1230,1008,763,641,636,624,794,694,551,760,935,718,561,514,557,685,702,939,1284,1278,991,556,353,361,374,339,274,247,238,245,249,257,263,262,238,239,356,508,447,400,438,730,821,577,538,496,492,519,624,392,347,328,309,248,272,279,276,264,437,589,469,587,536,579,536,1218,1240,524,326,424,914,1296,893,426,388,375,369,337,335,324,393,463,1058,1204,1306,1224,617,666,984,870,482,469,998,917,806,699,689,1230,920,367,563,709,463,263,264,629,651,489,631,772,946,1162,783,377,426,911,1310,1300,1824,1812,1578,1488,1434,1360,1570,1432,1332,790,402,422,396,346,421,529,631,579,510,542,440,360,411,487,624,810,1100,1344,1362,1214,1220,1188,1324,1418,1368,1076,842,1082,1320,1258,726,482,608,803,925,878,1086,797,436,388,367,626,1100,1158,1202,1246,950,807,755,907,1176,1166,1250,1516,1656,1644,1696,1706,1188,606,425,373,387,366,772,954,662,731,814,747,791,894,887,1210,1148,956,911,1034,911,1294,1236,1230,1114,819,669,613,1050,1248,1210,1180,1076,1114,1058,1172,1284,987,1008,1328,1344,1318,1158,957,970,1170,1098,1050,1048,1282,1376,1290,1312,1316,1470,1596,1226,1426,1394,1384,978,619,503,523,558,445,678,844,454,366,380,430,453,526,497,475,453,426,457,488,485,483,430,381,432,465,487,500,470,381,392,410,421,437,496,520,508,549,580,592,422,332,327,320,377,703,865,675,415,292,257,254,285,302,287,276,281,257,251,285,298,276,255,250,252,247,243,243,244,246,243,237,226,238,247,242,248,259,258,239,237,264,280,279,266,264,260,260,265,271,263,299,348,355,379,336,314,312,340,328,311,318,278,241,264,351,460,488,611,477,383,386,380,328,296,325,373,371,324,335,447,493,385,333,339,393,357,361,355,355,347,331,325,316,329,381,416,501,555,456,480,520,469,471,383,382,442,397,342,404,495,421,356,340,354,308,374,406,398,379,357,308,392,469,406,418,428,467,438,525,521,684,901,865,1306,1926,1476,1094,1236,1476,1400,1300,1062,753,569,865,957,1316,1694,1300,905,755,551,555,677,1001,1294,1344,1582,1634,1448,1188,1274,1416,1432,1374,1366,1612,1438,678,401,788,790,528,424,554,1338,1334,655,401,368,369,674,678,805,803,811,711,830,1196,1086,739,1004,1250,1224,1450,1356,836,773,771,924,1001,913,807,688,558,542,528,501,566,437,615,630,498,445,613,755,497,554,694,716,623,591,999,1672,1636,1276,1202,949,645,547,510,629,669,696,547,545,458,372,247,259,324,311,356,381,336,266,254,254,265,289,279,288,315,319,329,340,340,360,363,314,290,299,273,263,265,278,298,300,336,333,309,326,336,318,291,305,317,341,367,420,366,344,343,314,313,307,288,259,268,262,250,262,269,235,239,255,253,256,264,273,274,295,312,309,325,331,335,351,321,316,316,334,334,315,297,319,340,337,334,331,327,323,289,312,369,387,403,350,503,1007,1438,1554,1432,1344,1108,1068,1340,1362,1362,878,409,608,1098,1566,1330,1366,1490,1734,1050,984,727,494,422,658,828,912,1452,1766,1334,1048,912,641,407,541,716,700,491,755,1164,1284,1310,1262,818,957,867,772,791,1156,1242,741,539,789,975,914,634,446,467,592,545,474,453,516,641,716,850,879,822,1034,1056,702,730,972,461,286,262,280,403,673,789,578,823,1410,1440,856,419,357,380,460,480,514,497,414,335,512,963,799,625,630,499,980,939,611,645,616,787,921,781,803,860,573,652,1488,1838,865,650,669,1196,1174,1304,1000,547,450,496,564,686,835,850,857,735,475,296,280,312,321,426,504,551,548,443,400,394,368,449,539,678,640,543,449,413,536,1166,1416,954,1218,1048,607,477,433,397,390,385,332,306,371,456,525,565,569,568,570,567,516,403,604,1030,999,948,792,626,875,1018,1102,938,845,1226,1622,1760,1416,1036,952,765,1086,1638,1438,997,797,1052,1334,1464,1494,1300,1048,1034,1324,1540,1714,2082,2028,1764,1650,1396,1368,988,813,1018,1356,1422,1308,973,719,1036,1310,1352,1418,1416,1260,1294,1286,1424,1362,971,768,703,948,929,586,505,397,405,343,345,304,286,256,260],[537,601,576,496,589,608,686,666,481,423,602,1182,1238,595,470,428,397,381,316,326,298,361,424,574,675,532,627,896,844,1158,1416,1218,705,608,705,839,708,551,548,431,466,512,386,351,372,386,396,426,396,572,739,789,912,890,505,362,409,467,529,448,619,861,875,553,653,615,385,352,831,1650,1564,796,793,559,573,792,757,787,1522,1802,1094,457,392,370,402,409,435,482,514,596,716,543,365,318,319,328,344,347,377,370,365,554,625,794,1080,838,519,472,481,470,417,350,475,641,813,1338,1498,1664,1005,777,675,591,656,881,916,934,1214,1394,1788,2044,1592,1350,1736,1696,1542,1814,1378,990,1294,1344,1138,910,736,797,747,982,1490,1406,1484,1040,787,672,443,434,379,361,329,316,374,469,583,691,591,484,427,426,439,486,571,625,711,737,763,703,514,361,300,321,303,342,372,329,329,337,322,263,253,339,292,231,226,294,315,311,327,366,418,488,544,575,498,455,422,330,246,276,303,329,413,486,494,477,334,238,258,311,287,251,252,245,266,250,233,264,330,405,452,385,349,333,336,380,409,428,590,766,518,543,1290,1790,1368,1152,1614,1346,1328,1160,898,1046,1576,1350,940,993,1488,1766,1078,371,244,210,237,568,736,589,461,428,446,719,1078,1136,818,1042,992,1090,967,767,651,525,761,1288,1472,1534,1544,1148,922,885,1032,949,1010,1242,896,545,813,995,770,908,787,693,891,937,1088,1542,1172,715,697,866,1072,1026,902,1046,1052,912,576,538,477,421,339,886,822,310,199,238,321,385,393,522,668,359,533,1076,996,500,437,397,328,369,488,566,439,354,484,768,823,514,431,315,307,379,379,324,356,315,562,907,756,381,386,412,401,334,355,530,591,637,890,891,852,634,500,537,642,618,462,413,462,409,450,595,808,979,1132,971,893,582,585,612,997,1418,1460,1448,1386,1338,1354,1138,1154,1402,1214,1366,1522,1526,1286,1444,1016,636,1042,1384,1784,2020,2244,1606,1312,1188,1424,1208,974,1030,1256,1190,954,975,724,909,1292,715,585,837,908,961,830,787,924,916,997,1130,822,678,717,775,582,350,397,402,460,715,572,372,411,865,1380,938,1062,1322,1146,1540,1438,1214,1432,1334,1114,1176,1172,1052,1256,1128,1108,925,999,993,1260,908,527,420,408,423,389,568,735,1026,1300,783,628,924,1430,1284,651,414,384,386,402,370,360,382,387,371,348,348,362,368,404,511,598,568,594,542,521,499,487,483,462,597,784,508,754,1222,867,526,513,736,1006,1064,1138,802,520,627,596,611,702,1156,984,1126,1826,1664,879,429,339,256,361,866,1008,547,408,762,1204,1344,1590,1296,933,933,1160,1544,1284,729,468,517,517,409,319,310,314,310,310,350,377,403,373,373,377,393,310,287,395,432,415,580,793,553,851,1072,1160,1050,1306,1622,1386,667,465,716,736,641,553,537,505,518,708,620,809,1024,1186,830,550,568,679,793,664,506,434,475,389,301,350,412,350,424,514,465,379,462,504,375,292,235,303,286,547,944,664,423,435,655,1013,775,671,682,714,655,468,305,403,421,395,560,1048,1262,977,1064,1184,1308,1258,932,756,877,530,574,574,630,670,595,632,578,695,1678,1710,825,807,1046,1104,907,696,592,781,1610,2414,2426,1676,810,706,541,425,885,918,983,655,470,442,691,1023,755,412,289,346,462,765,1320,1126,808,600,1306,1554,1440,1472,830,592,628,677,558,664,481,415,511,475,695,1084,1412,1742,1642,1370,1386,1208,1438,1584,1466,1390,1318,1390,1428,1484,1732,2372,2752,3050,3210,3030,3078,2046,1920,2084,2088,1528,1042,1470,1488,1166,919,886,1666,1744,1622,2264,2308,2566,2540,2358,1772,1054,846,1274,1474,1362,1356,1236,1134,1078,1074,1024,915,874,886,913,912,880,787,704,715,672,578,658,813,845,1098,1642,2514,2610,2304,1816,1962,2612,2596,2156,1544,1094,753,696,904,1170,1450,1438,1290,1666,2014,1758,1846,1618,1526,1594,1842,1494,1526,1542,1550,1434,1384,1608,1726,1592,1412,1432,1526,1338,1090,1444,1674,1584,1772,1696,1612,1546,1426,1470,1406,1502,1474,1260,1274,1274,1330,1236,1450,1678,1734,1470,1212,1434,1418,1312,962,1654,1800,2286,1542,1180,1534,1678,1534,1186,787,709,701,642,885,647,527,727,878,836,784,628,648,847,932,1066,1194,1224,943,715,460,317,336,292,246,233,237,248,250,266,232,239,235,230,295,382,423,364,374,738,1042,813,619,651,497,537,564,373,451,428,411,411,434,441,340,400,648,576,477,1005,915,581,650,1426,1174,433,367,570,847,895,543,353,336,276,322,346,303,312,319,592,1000,879,1062,1002,448,553,729,783,962,756,884,915,1018,857,709,797,647,502,489,459,384,267,258,567,619,512,878,1272,1460,1608,1230,711,424,764,1076,1252,1582,1660,1410,1554,1482,1286,1216,1306,1232,543,394,406,391,446,524,507,502,500,555,596,462,397,486,735,820,893,1078,1386,1538,1426,1356,1414,1360,1186,901,1038,1248,1448,1542,1554,974,640,690,1004,935,638,706,633,434,451,652,1020,1296,1422,1516,1322,1188,1028,1010,1092,1382,1224,1212,1690,1412,845,1030,1224,1166,927,1196,894,609,468,706,931,764,702,652,645,666,621,552,952,954,736,845,1118,1136,1174,1250,1284,964,546,537,909,1058,844,960,1120,1382,1532,1378,1620,1494,1088,1038,1186,974,1166,1308,1038,1026,1160,1034,933,1007,1152,1224,1250,1290,1244,1066,1234,1238,1130,957,1009,960,692,507,728,750,509,685,812,372,288,309,285,382,484,440,417,435,399,473,624,601,485,519,636,672,526,419,422,459,488,466,423,420,479,524,537,461,490,530,634,427,410,541,457,432,625,792,791,651,451,310,271,272,304,286,286,283,288,284,274,292,277,264,244,244,249,243,243,240,237,237,239,231,226,233,239,254,265,267,272,285,283,266,256,265,249,255,259,253,249,268,281,319,346,365,347,379,421,418,328,306,359,375,322,316,386,524,431,643,485,367,363,396,369,311,298,300,291,302,357,452,516,415,409,413,397,417,424,350,341,332,343,355,343,352,430,414,450,627,579,492,448,402,442,587,553,522,415,356,337,390,392,366,382,363,327,306,339,373,371,366,296,323,458,495,419,479,597,560,581,519,672,980,795,1084,1592,951,646,1244,1564,1350,894,745,746,733,964,1092,966,1014,845,891,1194,775,533,992,1310,1288,1280,1036,1005,1254,1302,1362,1452,1590,1676,1442,1386,901,537,419,749,947,639,378,508,1160,1428,842,423,409,401,741,949,1252,1566,1178,678,666,666,555,486,535,477,693,1412,1084,568,805,835,980,1178,938,805,747,516,519,550,592,601,492,552,582,466,467,670,706,507,409,598,927,1024,980,1050,1476,1406,1546,1618,990,625,536,551,498,601,598,532,502,444,359,261,272,307,351,370,332,269,251,258,259,271,294,296,309,318,305,303,306,306,302,309,288,278,287,295,281,273,276,292,302,315,312,321,321,309,311,288,286,305,351,328,383,368,334,339,330,302,265,270,250,257,254,260,256,262,246,241,256,266,272,272,276,289,295,301,339,433,542,573,460,333,299,290,303,311,316,314,333,351,362,361,395,413,403,525,606,488,374,360,432,533,966,1344,1302,1288,1320,1196,1168,1330,1296,1248,932,875,1390,1366,1406,1314,965,847,1044,1264,1226,844,498,441,727,1020,1088,947,1032,996,705,584,524,433,902,1332,1016,721,559,876,1102,887,943,1004,881,909,934,829,1032,1214,725,507,799,855,558,423,534,469,510,406,591,587,671,822,900,967,929,1118,1572,1332,878,855,1188,663,310,258,289,328,816,1010,526,594,879,1542,1128,481,360,765,910,676,464,398,416,371,500,951,715,647,517,590,1086,1016,720,577,974,1210,924,819,780,604,430,417,567,776,674,589,836,1428,1260,912,891,861,595,502,523,433,460,414,324,340,319,306,340,313,312,428,479,523,553,463,359,321,333,411,556,603,522,402,421,545,634,991,995,744,913,807,688,469,388,483,622,489,297,324,386,486,533,579,554,564,646,627,587,622,502,386,472,719,722,818,864,897,834,667,676,1064,1548,1722,1406,1330,1488,1124,868,1030,980,1220,993,927,1198,1382,1334,1388,1174,962,1318,1602,1714,1988,1948,1866,1898,1570,1356,1202,915,987,1302,1562,1826,1454,969,1005,1272,1352,1324,1388,1432,1262,1330,1440,1160,1120,1148,1092,1294,1166,929,650,404,351,469,431,318,280,248,252],[581,615,606,543,515,642,953,832,501,402,486,686,618,453,397,368,342,320,355,320,287,408,517,675,852,532,589,881,714,732,832,1072,1132,955,1014,1202,803,488,391,387,495,505,430,371,361,336,517,585,507,635,697,689,1042,923,527,400,364,444,539,558,684,1066,1104,613,528,549,391,444,609,698,752,673,749,556,523,695,936,1324,1620,1440,786,374,368,364,395,379,411,438,517,504,582,665,558,346,318,297,292,303,355,343,407,531,598,1178,1198,761,513,544,552,432,426,458,446,419,644,793,998,1312,1116,1034,993,774,739,813,754,840,1124,811,1074,1520,1350,1158,1312,1460,1460,1612,1688,1938,1732,1172,1310,1140,1074,1234,1064,1170,1498,1602,1322,725,625,597,437,379,374,430,367,384,543,653,716,775,749,601,419,414,469,433,457,488,638,757,771,607,444,368,325,317,300,311,326,317,316,309,291,223,225,276,289,262,274,315,316,321,338,376,467,554,518,542,530,532,484,398,408,355,300,409,474,481,532,571,336,217,293,325,291,258,238,245,262,250,231,272,346,390,387,315,339,409,433,422,421,473,664,695,467,459,895,1464,1334,1394,1446,1654,1328,1240,1328,1334,1276,1238,1104,875,1204,1244,889,329,210,229,343,689,803,545,382,306,454,989,1172,974,802,1054,1630,1760,1422,1096,970,861,857,1244,1310,1012,1188,1026,560,469,845,929,1164,1460,1322,1370,1660,1330,642,940,1096,1040,1094,1072,1456,1464,1078,772,563,468,427,564,854,727,397,600,555,526,543,479,364,676,716,261,220,263,280,287,248,297,461,353,580,1044,726,303,291,297,275,274,310,266,240,342,422,685,732,444,341,318,343,394,386,262,332,337,386,626,434,318,330,440,425,281,328,522,670,542,1080,1072,853,739,561,651,738,577,450,625,673,429,486,506,489,714,1136,1232,1112,969,1240,1190,1138,1384,1224,1182,1212,1374,1364,1028,980,775,714,886,1122,1142,1262,1388,1174,1084,1202,1416,1860,1592,1686,1636,1404,1182,1214,1194,961,1072,1496,1256,1013,1278,850,575,721,465,623,902,1212,1182,879,765,1005,964,817,1060,907,755,660,849,594,405,427,412,460,673,646,482,688,1080,1334,655,620,578,1060,1338,1334,1316,1304,1106,1074,1326,1196,873,896,908,1114,1060,1166,1372,1506,960,500,577,830,541,436,476,716,1594,1704,1142,937,1130,1622,1508,871,463,383,383,417,353,324,321,311,289,263,310,341,361,403,551,652,616,542,505,554,465,430,414,421,727,723,525,540,518,461,340,346,518,719,828,1110,781,663,797,648,614,608,668,675,968,1360,1264,799,430,354,343,332,787,794,482,377,932,1388,1098,980,783,745,899,1220,1284,1206,710,438,373,300,311,333,355,336,340,333,317,345,393,380,409,405,375,313,258,304,411,401,403,716,478,683,709,633,474,869,1516,1474,806,705,835,633,566,462,424,380,455,759,767,726,682,624,586,545,725,758,600,501,498,446,415,406,449,544,636,682,580,502,369,269,348,426,363,391,385,346,428,787,1078,762,381,462,742,908,648,532,524,500,328,245,265,373,605,781,512,612,957,762,758,786,792,602,518,651,860,773,752,749,468,415,605,1138,1110,971,944,677,775,1272,1300,1190,886,691,843,746,1206,1902,2410,2062,1362,870,468,298,384,386,487,428,434,467,503,866,690,379,285,738,1146,793,890,854,616,713,1410,1856,1388,850,736,689,556,615,602,495,335,352,418,427,555,972,1342,1416,1362,1408,1488,1340,1600,1894,1626,1604,1462,1332,1436,1394,1500,1574,1764,2150,2964,2894,2768,1976,2026,2142,2094,1540,1388,1634,1506,1278,995,850,936,777,883,1038,1146,1132,960,949,728,596,799,990,902,766,749,678,640,630,588,554,534,521,531,527,507,524,541,607,669,660,587,521,644,816,890,1168,1624,1730,1642,1544,1732,2310,2306,1774,1104,1212,996,734,819,1094,1502,1672,1448,1238,1220,1390,1738,1352,1196,1532,1832,1560,1592,1686,1428,1526,1690,1744,1676,1634,1330,1454,1526,1366,1358,1682,1650,1410,1456,1464,1428,1332,1426,1300,1300,1428,1398,1210,1242,1226,1366,1520,1316,1404,1570,1644,1484,1528,1166,938,1100,1640,1588,1366,934,1188,1616,1616,1582,1422,1128,968,763,705,910,721,664,891,901,753,800,848,711,825,1262,1230,900,852,944,1030,650,317,297,272,278,267,259,258,233,252,258,231,232,228,213,348,518,598,1036,1050,1114,974,794,659,431,436,412,398,435,443,474,371,456,459,349,402,752,752,379,537,620,515,784,1360,910,381,332,501,543,502,406,334,317,271,311,284,268,316,303,684,1086,775,969,779,488,342,421,593,766,645,716,902,779,606,609,609,454,395,473,429,495,478,364,368,603,963,1422,1376,1446,1962,1210,488,370,535,568,774,922,1200,1496,1600,1252,1094,1078,1190,1078,424,427,412,326,416,613,626,538,606,655,469,509,714,852,961,831,852,1028,1194,1494,1424,1532,1350,949,1062,1434,1774,1518,1422,1316,1196,953,675,807,1086,948,644,648,819,803,979,977,1280,1248,1136,1218,1230,1426,1314,1098,1064,1021,946,1296,1674,1308,700,662,663,713,843,1132,946,676,449,594,1048,1044,891,638,561,696,747,780,1022,1218,857,784,1174,1238,1372,1312,1154,738,689,830,1302,1122,729,1084,1266,1504,1468,1282,1388,1184,1170,1302,1384,1016,1212,1236,1308,1196,906,856,947,1098,1108,1356,1584,1362,1362,1322,1390,1290,1294,1298,1220,1206,1030,945,904,750,583,767,571,338,289,268,273,377,449,347,291,280,295,506,714,558,394,444,511,558,441,318,306,318,336,381,401,395,378,446,529,442,414,418,403,349,476,554,459,404,381,455,570,646,562,408,344,315,311,281,273,283,332,338,305,286,293,274,243,244,249,243,244,239,242,238,242,249,243,250,256,256,261,268,270,258,249,250,252,242,245,259,260,260,266,263,272,361,411,372,399,433,408,366,342,359,442,484,397,408,418,477,648,797,558,392,375,401,408,349,298,298,341,354,413,455,501,490,461,449,463,525,462,336,327,322,343,369,374,341,409,435,436,502,564,581,552,456,466,652,696,729,563,437,476,460,412,398,406,397,374,311,297,340,373,401,314,292,380,424,430,490,552,555,576,598,1015,1296,1120,819,919,724,741,1696,1720,1112,663,513,588,957,1510,1362,1054,1005,1009,1084,1092,796,631,1030,1218,1116,1148,1044,1208,1388,1140,1086,1268,1402,1520,1606,1454,943,575,607,909,1316,902,739,691,1021,1058,576,359,391,362,579,1008,1482,1640,1062,519,446,459,522,447,413,473,1015,1210,611,568,887,880,1172,1630,1426,995,706,541,1162,1654,1318,1028,717,470,565,491,489,573,921,851,651,975,1214,819,768,723,565,625,902,1100,871,928,1376,1130,470,437,487,411,361,368,322,276,274,358,411,345,296,258,260,262,250,268,301,307,294,286,293,308,283,293,291,289,286,292,296,274,264,285,304,304,295,317,315,321,314,314,303,278,274,317,333,302,325,334,323,320,305,272,250,269,260,253,251,252,252,258,245,242,259,270,270,278,294,302,296,307,331,374,601,809,731,512,301,268,292,313,349,364,369,372,389,387,411,436,403,497,731,734,446,720,1208,814,794,1044,1176,1170,1318,1388,1376,1276,1122,874,665,908,1260,1204,1376,1338,1180,1828,2380,1748,766,491,429,505,805,1028,767,455,553,628,698,814,804,556,933,1294,816,545,380,659,1360,1360,1378,1348,1110,1018,857,578,619,634,473,780,1118,792,567,658,918,763,525,419,653,802,785,855,825,830,767,666,874,863,681,689,709,560,309,221,265,248,365,549,451,496,998,1370,731,359,388,899,988,599,373,421,380,386,656,1268,841,622,552,672,1156,1462,872,726,1288,1304,1086,1310,1322,697,402,400,394,780,954,692,684,935,834,416,411,783,997,624,505,401,380,385,396,339,296,311,303,255,285,404,433,507,517,377,335,372,347,348,444,542,448,246,336,644,573,476,401,476,653,796,860,713,695,839,832,498,331,365,432,589,539,525,531,558,638,545,469,480,477,464,574,792,794,983,819,742,773,651,602,997,1296,1226,1164,1456,1716,1526,1404,1118,1548,1652,1064,790,1168,1588,1534,1526,1528,1476,1546,1774,1898,2004,1772,1550,1920,1604,1408,1266,907,1034,1044,1023,1328,1476,1458,1342,1506,1418,1346,1324,1390,1350,1360,1334,1300,1368,1362,1378,1284,1364,1208,792,469,301,469,452,319,296,281,265],[530,680,672,555,555,822,1130,858,540,388,459,426,410,439,344,327,325,320,322,309,353,517,551,526,736,454,459,694,877,1005,764,484,818,1232,1438,1202,849,524,337,344,466,474,465,401,404,398,747,761,470,648,647,761,1172,993,584,570,518,850,803,569,524,706,724,469,505,434,386,681,1092,1342,1128,889,611,473,500,654,1068,1330,1364,1118,621,521,412,368,411,414,390,423,449,449,490,626,731,592,441,387,289,283,272,383,393,391,826,1228,1070,723,533,549,491,347,396,436,381,398,530,608,688,860,963,1066,1064,849,797,787,583,795,1212,1304,1630,1626,1388,1238,1588,1520,890,1170,1478,2104,1404,861,1222,1152,1320,1236,1234,1444,1572,1526,1050,537,495,440,422,430,461,489,455,423,645,702,672,684,732,613,487,437,456,418,433,529,666,686,599,481,433,418,357,341,321,305,300,297,280,238,193,178,218,239,268,308,313,339,324,333,367,449,506,512,536,541,521,488,406,484,620,609,448,388,369,421,534,524,318,224,256,272,285,296,300,292,264,217,229,266,278,281,262,275,303,392,620,760,583,546,736,537,491,524,630,1021,1252,1306,1398,1530,1172,950,1013,1200,1240,1506,1288,913,1122,1454,836,310,242,279,415,565,582,518,356,386,606,649,713,980,841,777,1054,1250,1138,1056,1382,1116,985,1196,1106,514,426,796,651,526,897,1282,1562,1744,1654,1974,2138,1564,863,1034,1062,1344,1662,1612,1258,1058,1206,1044,614,502,541,1036,1019,618,429,437,550,757,1036,928,512,622,641,332,309,322,343,317,272,288,343,311,341,338,247,268,292,324,274,249,253,276,248,520,610,577,584,489,559,514,374,347,350,310,383,472,437,513,572,514,370,435,430,291,328,569,811,579,576,545,783,783,732,777,656,512,523,803,946,765,830,899,764,997,1188,1368,1556,1194,1394,1520,816,792,894,1001,912,800,838,1028,954,678,502,731,987,1008,1246,1194,1120,1030,1050,1108,1152,1260,1366,1324,1136,1098,1378,1338,1080,1010,1252,888,769,1370,1528,834,611,523,402,785,1312,1550,1566,1064,1206,1128,700,934,1024,895,669,594,495,547,559,566,794,900,1042,965,762,811,1082,576,398,438,982,1256,1256,1330,1316,1130,1324,1598,1042,734,717,836,979,1236,1122,1188,1290,1284,1128,1184,1448,976,480,475,533,1212,1104,774,943,1224,1470,1604,1194,677,431,384,400,350,325,314,333,316,282,321,374,378,457,625,705,602,426,442,481,344,419,375,500,678,452,490,583,458,468,352,428,584,777,764,806,539,823,864,512,446,467,488,521,557,881,1108,713,367,289,334,381,478,427,398,378,628,982,849,598,698,705,974,1196,1238,996,513,428,386,369,378,339,369,372,394,366,330,353,386,376,367,351,301,344,336,361,427,415,358,323,375,422,298,266,296,373,619,806,756,704,617,421,398,389,416,389,385,455,709,889,638,609,684,705,624,519,487,480,495,362,534,634,525,482,445,577,670,568,393,336,372,385,346,601,763,565,568,615,563,389,369,457,752,606,527,524,505,443,309,303,356,281,505,1015,572,354,427,365,352,445,427,396,623,845,935,786,943,1312,561,377,501,1166,1498,1654,970,740,1388,1552,907,835,1144,1258,1284,1084,1000,982,1926,2142,1862,1208,541,334,401,447,458,379,370,429,373,569,653,491,407,931,1494,910,521,697,902,954,1054,1558,1494,827,879,1174,1430,1062,594,409,451,692,672,553,850,1074,1376,1434,1474,1400,1380,1398,1476,1548,1438,1574,1606,1500,1690,1146,1366,1670,1734,1680,1498,2194,1976,1552,1836,2054,1836,1204,1484,1682,1660,1726,1506,1588,1520,1334,1380,1328,1656,1712,1340,1164,842,1130,1320,1154,883,692,738,736,692,575,524,568,538,495,469,550,650,692,631,679,628,658,626,575,602,718,804,943,1234,1504,1316,1052,1330,1628,1660,1622,1062,1300,1336,921,821,1018,1344,1356,1264,1272,1558,1582,1262,977,1366,1756,1760,1466,1466,1652,1476,1560,1592,1490,1336,1236,1228,1490,1600,1352,1302,1502,1426,1402,1324,1254,1340,1208,1120,1100,1256,1138,1066,1212,1648,1908,1590,1420,1222,1250,1394,1820,1620,1238,1184,1192,1138,1186,1672,1766,992,1140,1526,1592,1496,1006,821,777,569,609,708,670,731,860,785,590,549,732,902,802,1090,1138,1096,1136,1342,1392,966,495,434,320,268,266,233,236,226,246,243,212,220,240,232,337,559,800,1526,1816,1378,852,567,372,375,370,286,357,390,492,491,386,375,399,339,272,448,515,408,400,422,443,869,1072,479,301,292,440,714,490,299,294,305,278,298,314,305,280,310,758,1064,515,863,1118,1019,462,472,614,608,600,718,879,996,583,492,998,923,522,475,478,486,484,405,412,631,1048,1318,1288,1082,1208,775,606,428,378,421,462,487,765,1208,1132,784,1132,1226,1238,801,459,453,466,604,664,766,827,833,1070,866,481,364,549,1136,1222,1024,1044,1266,1262,1362,1506,1544,1276,794,1130,1858,1996,1736,1478,1148,1130,844,542,693,913,1004,871,883,1220,1021,800,471,741,1128,1300,1178,1180,1200,1100,984,792,682,574,918,950,1106,1130,1058,1324,1104,655,688,688,447,327,488,851,787,798,567,399,570,703,845,1200,1294,1021,1098,1382,1322,1308,1056,1106,789,524,497,1162,1044,607,926,1304,1370,1230,1028,988,1218,1148,1246,1068,1260,1490,1292,1442,1354,935,819,958,1200,1462,1566,1730,1390,1366,1806,1704,1282,1382,1334,1352,1416,1128,998,1018,904,611,639,446,315,282,280,291,408,498,367,309,311,347,528,581,426,362,333,314,444,454,390,374,300,348,481,477,422,401,513,489,422,406,406,396,401,438,421,352,396,359,343,385,441,448,373,328,358,348,330,332,317,345,370,332,276,257,265,248,247,249,253,253,243,249,244,232,254,260,254,252,248,250,252,240,231,235,241,237,247,273,280,264,248,264,273,299,382,444,469,476,448,462,446,366,344,379,402,428,404,378,488,804,811,562,419,439,456,431,388,358,343,319,331,405,405,368,427,427,370,379,383,345,319,322,314,342,361,370,318,298,402,507,460,432,565,654,565,480,459,525,700,550,364,368,438,454,429,442,412,394,366,306,314,297,369,325,276,330,426,433,428,468,524,551,530,850,1064,1080,763,629,546,563,805,935,826,676,455,625,1092,1338,1298,1282,1120,1154,1164,1236,1202,952,1110,1110,950,1140,1284,1236,1454,1236,987,1030,850,1014,1354,1328,1244,802,666,1248,1476,976,838,759,866,690,384,467,496,419,478,883,865,672,483,379,357,442,489,478,441,841,1428,1372,1192,897,1108,1176,1116,1396,1232,996,738,570,1256,1582,1368,1544,1378,725,964,850,813,636,1140,1476,1162,1484,1526,807,774,852,613,774,1102,1174,811,891,1640,1100,470,399,403,361,330,292,228,221,299,352,395,495,434,294,266,268,266,283,304,285,268,263,275,275,295,314,326,320,307,298,295,301,302,282,302,332,358,349,352,354,332,320,292,278,283,293,278,284,336,356,291,295,296,280,262,267,265,265,270,259,253,264,252,252,262,270,277,283,305,301,293,285,287,309,481,750,814,596,350,320,333,346,409,449,422,395,390,359,367,391,370,393,517,612,544,719,1264,909,596,938,1150,1280,1352,1376,1346,1194,1090,735,756,834,1084,916,815,1224,1394,1318,1606,1704,573,504,660,1016,1198,895,580,534,720,970,763,747,774,659,504,574,469,482,553,598,1146,1360,1376,1374,1080,724,772,715,486,444,688,675,873,603,683,810,1060,991,601,462,620,901,846,854,839,781,554,339,354,496,794,735,673,763,453,285,309,364,364,426,603,1024,1338,860,393,320,321,355,419,451,373,375,288,403,851,1234,962,634,679,921,1422,1370,651,904,1212,1110,961,1254,1394,823,505,459,532,1034,1328,1023,553,677,918,562,466,650,929,997,681,498,521,518,461,428,276,260,268,339,345,457,558,616,608,494,402,331,319,313,410,674,515,281,470,741,624,594,689,750,811,903,884,877,914,804,654,401,285,336,477,511,447,482,509,514,497,431,386,438,513,525,558,682,932,885,880,1084,1288,1052,806,974,1302,1176,941,936,911,962,1252,1262,1722,1592,995,764,1056,1388,1474,1460,1482,1544,1510,1490,1710,2110,1970,1896,1978,1676,1628,1426,1110,1188,907,579,855,1692,1532,1534,1628,1516,1362,1312,1344,1376,1404,1508,1524,1434,1300,1588,1358,1166,918,847,660,474,398,366,334,289,273,305],[448,574,700,716,672,932,1044,725,517,441,608,540,451,368,347,359,348,321,302,295,348,444,455,402,582,615,506,668,1322,1566,1032,680,625,855,1438,1262,843,467,372,403,391,457,398,418,505,564,650,664,506,516,447,844,1148,1128,731,594,608,1048,1182,780,422,446,426,448,863,847,568,1070,1404,1844,1422,785,561,426,439,547,610,567,896,908,1142,888,570,451,407,433,434,531,586,613,549,498,641,883,791,651,460,422,706,681,469,430,560,913,1004,597,543,622,566,459,427,451,421,457,571,672,652,714,865,938,1080,1484,1514,1180,695,843,918,1108,1202,1005,864,1024,1428,1300,1464,1562,1316,1252,651,465,799,1438,1594,1398,1506,1748,1770,1434,692,523,461,384,369,469,478,419,390,430,474,468,510,556,708,651,640,563,456,466,595,736,697,507,420,408,373,362,379,335,286,295,330,278,225,190,171,184,213,250,326,326,328,328,327,356,446,523,547,561,598,584,537,484,472,594,778,786,555,419,421,532,564,467,390,281,258,276,297,285,310,239,209,211,239,273,309,309,275,302,325,440,898,1322,1306,1003,613,413,436,456,416,677,960,1044,1344,1334,687,479,678,1092,1322,1380,1202,1284,1762,1548,730,371,335,421,538,604,619,595,399,383,454,455,587,625,598,559,452,459,423,485,758,521,577,1220,1021,506,470,695,653,509,813,1306,1564,1766,1418,1334,1328,1164,1058,1274,1464,1666,1880,1792,1598,1550,1350,1054,697,515,473,1080,1008,640,425,509,586,894,1604,1638,1122,988,722,401,338,348,415,367,301,358,399,410,415,344,296,354,353,339,327,317,323,308,268,650,718,552,832,688,724,773,730,481,394,287,418,577,535,461,435,463,479,532,592,576,434,695,1052,1248,851,450,585,623,648,629,728,689,463,706,1046,1054,982,934,905,891,806,1054,1266,900,1428,1786,1232,1410,1346,1240,1334,1430,1374,1290,984,644,554,792,1070,1122,1156,893,751,662,579,537,832,931,813,1078,1226,1366,1570,1506,1306,1276,1116,698,530,986,1106,727,626,636,535,533,688,844,907,898,1168,1186,739,858,1152,1104,818,536,547,830,763,763,991,1294,1368,1212,996,1182,1158,794,675,651,794,1074,1230,1032,1126,1348,1820,1586,822,1128,1488,1003,1238,1604,1180,1086,1264,1308,1152,1122,1376,1164,529,451,425,642,720,1022,1454,1388,1260,1330,1300,849,468,397,372,344,343,380,434,423,349,345,396,356,450,487,547,471,426,412,344,334,537,617,860,968,605,548,559,424,321,422,749,1226,1410,1170,715,470,611,794,741,454,399,354,340,605,1570,1742,848,373,448,675,836,892,983,940,563,767,1138,984,567,499,783,1206,1246,1152,856,463,430,426,379,323,289,363,412,420,386,383,404,391,384,379,339,302,346,318,378,436,424,339,307,468,473,292,262,305,442,507,647,604,483,386,347,423,474,474,476,444,369,547,739,504,583,649,695,641,553,521,501,534,463,470,451,410,412,383,477,604,667,525,480,644,636,401,538,612,546,530,555,426,352,346,474,589,392,363,464,587,608,477,354,371,387,314,426,356,369,270,287,368,393,321,420,638,681,761,572,620,862,460,349,475,1372,1398,993,673,557,1032,1236,814,696,1130,899,891,1354,1878,1222,1344,1920,1976,1562,929,380,461,623,615,448,338,420,455,573,694,593,561,732,634,515,547,781,944,599,614,1138,1652,1334,881,1580,2464,1732,794,685,745,1408,1478,646,1052,1120,1194,1306,1312,1472,1798,1552,1282,1284,1258,1354,1432,1576,1782,1516,1490,1378,1630,1690,1598,1832,1528,1366,1854,2120,1572,805,1256,1562,1576,1622,1450,1466,1472,1562,1694,1504,1346,1302,1322,1272,814,1288,1376,1338,1011,741,677,697,717,724,785,700,621,631,656,729,730,808,695,587,503,527,583,612,653,644,626,764,991,1274,951,541,636,814,1416,2018,1692,1328,1140,985,835,896,1108,1088,1194,1452,1438,1356,1106,842,1248,1716,1758,1460,1558,1382,1284,1188,1310,1306,773,1026,1574,1614,1442,1318,1372,1354,1402,1414,1072,1110,1290,1088,1074,1178,1132,1152,1350,1338,1422,1720,1562,1242,1236,1166,1394,1706,1380,841,863,1002,888,1118,1736,1994,1106,789,979,1120,1206,885,629,506,407,509,656,708,769,814,527,393,377,414,825,898,805,1048,1286,1308,1328,1254,1064,873,958,594,318,271,244,243,245,253,231,206,219,219,224,273,521,615,756,1312,1014,531,462,370,404,511,565,415,349,462,396,413,285,252,318,326,424,454,694,833,494,465,695,613,390,311,311,392,548,415,305,272,296,476,700,621,484,593,735,1000,1038,507,709,1222,918,404,543,720,819,741,732,550,836,414,365,888,706,409,579,583,342,319,360,374,614,860,772,935,1338,814,513,634,408,269,421,527,354,404,827,1064,808,1108,1146,1216,755,442,437,555,952,1170,960,825,873,1294,1138,1086,903,1136,1194,1156,1142,1150,1258,1344,1450,1582,1548,1252,949,1222,1968,2004,1776,1248,1011,1013,741,734,996,1224,1070,817,912,1436,1408,900,573,456,796,1030,1046,1176,1144,1294,1040,514,675,725,708,717,927,963,948,1156,928,655,655,473,354,328,484,580,523,571,506,452,460,558,725,951,877,1090,1004,1054,905,872,1260,1404,946,447,470,756,851,808,902,1500,1792,1426,1254,1422,1504,1278,1292,1242,1290,1414,1450,1286,1242,1094,1080,933,1116,1306,1398,1500,1256,1638,2348,1904,1348,1356,1234,1422,1438,1088,1058,1168,983,576,390,349,313,289,314,335,406,549,526,354,339,361,413,377,315,341,372,334,381,500,623,481,324,354,519,473,366,328,403,418,375,366,363,440,474,476,451,374,396,383,339,373,442,453,437,424,422,370,358,328,344,396,375,310,278,256,253,249,241,249,261,269,250,256,256,244,254,251,246,245,247,250,244,239,250,260,253,250,288,331,365,368,322,296,329,348,370,395,435,411,359,368,390,366,340,338,382,412,394,382,483,584,624,557,429,398,459,480,419,382,374,338,352,385,360,362,404,422,386,343,350,363,358,353,358,367,366,354,293,267,355,412,383,387,461,594,739,594,407,367,453,397,344,340,375,429,421,453,630,775,550,404,419,357,318,339,357,384,444,424,403,388,549,530,546,608,766,823,668,522,461,463,546,630,561,490,616,1023,1072,1092,1638,1978,1784,1424,1034,903,1106,1098,1290,1326,1021,911,1278,1252,1604,1506,1226,1012,514,709,1136,1100,1200,1184,933,1346,1004,853,802,866,1208,801,420,418,434,484,393,809,651,452,385,336,327,358,526,736,674,871,1406,1874,1910,1640,1042,669,772,1338,1494,1144,829,976,1412,1498,1176,1328,1330,603,510,1072,1244,738,894,886,713,1150,1198,1028,1050,879,1003,1148,981,841,752,802,917,583,357,349,332,309,275,279,253,262,290,313,300,466,394,293,301,273,286,281,296,282,274,276,295,302,336,340,336,323,300,293,291,289,277,293,320,356,375,355,366,363,325,289,277,277,269,283,277,297,367,355,291,289,295,308,291,273,276,272,264,259,258,276,263,260,265,286,288,283,305,307,292,285,326,544,937,998,788,447,388,373,361,380,422,449,442,391,373,375,385,393,390,395,430,616,659,563,727,637,746,1088,1230,1336,936,1098,1290,1460,983,743,1074,1106,962,647,606,1092,1314,963,1118,1768,908,689,1013,1786,1478,816,937,849,1148,1732,1090,1024,1084,829,412,551,716,1058,990,673,1006,1482,1538,1238,865,687,993,872,550,496,703,564,456,450,586,652,806,875,735,706,561,767,602,511,417,373,337,281,343,473,615,628,655,841,598,382,329,586,476,609,1072,1124,847,590,351,361,374,298,284,486,578,491,365,554,716,709,861,794,582,639,735,700,993,1512,1732,940,567,755,1268,1190,868,571,532,890,1068,780,526,813,876,671,562,592,486,750,1013,896,627,563,443,521,336,461,688,843,569,468,599,617,617,575,408,303,341,330,383,586,387,314,562,625,576,625,810,904,876,911,918,874,864,788,639,350,272,373,796,1120,1072,796,503,486,469,418,384,439,462,473,625,719,673,545,730,1154,1256,1130,1052,839,1118,830,808,622,597,818,1230,1366,1404,1132,809,755,755,1182,1430,1442,1230,1007,822,1178,1482,1646,1612,1710,1848,1622,1198,1328,1606,1208,769,521,472,876,1232,1448,1428,1374,1260,1474,1568,1466,1440,1482,1492,1382,1356,1482,1306,927,700,582,723,895,491,490,521,343,292,354],[364,472,529,518,648,870,808,726,591,514,612,548,462,418,368,370,372,345,333,308,311,373,440,487,576,558,385,631,1504,1970,1384,1108,918,499,807,1406,1256,828,634,595,512,397,340,462,697,816,485,582,795,667,434,514,627,948,1026,885,827,1098,1322,893,444,441,381,563,787,636,466,742,897,1212,1060,750,591,668,622,576,558,558,1032,1426,1786,1328,774,542,608,652,785,930,999,750,427,437,561,731,863,792,749,1006,1208,817,495,513,462,730,953,631,557,608,638,489,431,466,481,455,538,666,705,763,913,1052,1376,1480,1544,1360,1044,927,1018,1178,1316,935,592,498,855,1078,1714,1588,1570,1072,872,639,836,1584,1848,1472,1638,2082,1802,1076,544,457,430,421,425,484,443,375,389,362,362,362,388,410,568,613,572,432,388,548,724,766,601,426,387,387,367,361,365,322,299,319,351,282,209,193,175,183,228,284,333,335,433,361,391,493,547,546,574,612,608,587,494,451,560,612,738,612,471,422,444,545,496,437,369,231,261,285,322,278,267,215,207,231,269,288,343,353,277,292,346,495,946,1382,1420,1042,534,335,358,334,410,581,554,711,1160,1198,694,567,898,1019,1132,1316,1006,679,740,653,431,354,323,398,535,563,593,612,474,367,359,405,434,506,532,514,487,511,494,432,434,433,527,897,741,429,460,644,825,1104,1252,1432,1684,1666,1314,849,714,927,1420,1902,1726,1520,1592,1246,1048,1272,1330,1642,1316,949,1122,1348,1180,803,420,463,702,1340,1686,1910,1790,1418,737,392,455,502,498,399,340,395,404,410,410,383,343,379,389,375,383,365,325,292,558,1006,827,1266,1592,967,889,940,822,526,351,342,445,412,513,639,676,866,1092,1015,1050,954,544,531,994,1968,1718,535,547,661,688,665,689,523,465,601,804,766,677,663,611,592,634,765,737,852,1318,1450,1036,1232,1434,1482,1500,1216,1046,1198,974,656,686,741,868,1132,1114,952,1250,1224,1180,985,841,710,473,549,741,1030,1068,1070,1102,1628,1340,775,651,977,932,645,656,658,559,501,475,460,529,908,1052,1120,838,700,1024,1182,929,654,553,704,785,801,654,836,1260,1256,1362,1530,1428,1414,1398,1268,1444,1450,1748,1690,972,1060,1650,1100,672,996,920,853,1450,1478,1023,1054,1478,1344,1060,930,1234,856,501,442,432,474,613,866,877,860,984,739,992,1078,580,372,381,361,374,455,546,462,320,349,379,335,389,401,373,421,462,369,331,443,549,661,1076,1244,903,773,820,769,607,586,789,1116,1340,1218,825,420,569,902,1015,821,591,503,505,639,1178,1280,827,576,702,1240,1350,1440,1924,1968,1150,1156,1362,1072,850,944,1156,1340,1272,1182,604,435,436,430,370,310,313,353,411,445,407,405,431,432,438,372,331,352,361,315,386,399,424,468,432,473,407,309,279,398,589,529,445,409,420,375,369,460,501,498,495,494,411,382,450,550,565,577,569,628,749,700,630,643,489,597,471,499,559,509,450,386,538,416,403,793,765,433,551,546,336,372,734,856,579,459,573,475,320,363,441,624,616,445,307,335,379,356,415,442,387,327,427,533,519,517,496,556,551,800,538,508,536,418,358,560,1274,1100,467,391,645,1246,1222,1088,773,1180,800,667,850,1722,1830,1626,1744,1666,1838,1496,624,416,640,855,619,405,467,562,451,466,542,531,583,456,785,766,729,1036,679,469,690,1638,1770,1092,1628,2692,2196,1086,749,552,758,924,605,921,1096,983,1210,1256,1406,1510,1356,1320,1368,1288,1470,1918,1770,1332,1378,1562,1694,1990,2162,1806,1750,1904,1636,1576,1644,1294,926,1354,1324,1490,1354,924,1038,1402,1826,1898,1548,1500,1712,1748,1500,762,1240,1470,1084,861,799,709,641,633,753,850,767,770,841,846,692,798,898,733,602,577,551,614,641,634,532,485,528,657,881,912,777,580,753,1678,2342,2056,1394,696,688,803,822,971,1034,1186,1548,1428,1296,1266,1118,1160,1452,1694,1608,1578,1400,1210,886,1104,1122,615,897,1422,1326,1082,1116,1078,984,1192,1510,1690,1376,1216,1208,1416,1506,1472,1498,1460,1244,1166,1130,1296,1358,1276,1292,1388,1494,1402,1172,1146,1080,974,1408,1434,1366,1008,888,650,821,1170,1100,777,541,457,530,700,842,848,680,448,369,364,384,835,907,614,763,1068,1174,1192,985,1044,1066,1408,869,406,310,313,276,259,254,249,236,238,205,235,222,448,570,551,760,708,521,497,443,470,543,724,438,410,393,428,405,266,288,339,484,623,630,954,827,395,394,685,662,438,302,280,271,224,208,252,275,345,687,882,886,893,1080,1124,1336,1048,495,662,960,590,374,458,720,943,685,802,819,780,653,485,407,354,469,660,567,344,285,386,550,603,553,463,531,1238,772,488,543,488,542,401,522,468,454,966,1104,873,1007,1262,1290,796,490,397,562,996,1230,1078,1156,938,1042,1240,1452,1300,1196,1098,1013,916,971,1214,1392,1468,1614,1690,1726,1334,1246,1500,1440,1158,871,850,983,1120,1046,1246,1270,1066,1116,1448,1586,1360,1166,864,453,637,1052,1208,1226,1356,1478,1164,741,744,929,917,799,856,675,539,714,684,725,813,501,456,418,707,709,691,738,630,716,1116,1078,751,918,858,1048,963,926,1042,1092,1492,1518,819,404,347,533,1078,1188,1104,1676,1576,1398,1296,1250,1290,1346,1362,1384,1302,1302,1308,1310,1438,1240,1102,1204,1654,1382,1252,1340,1344,1622,1644,1394,1444,1362,1228,1336,1454,1198,1114,1284,1086,685,528,466,330,301,303,341,412,526,528,347,355,419,404,353,334,397,411,341,318,373,601,461,325,330,388,330,310,373,463,420,380,470,473,565,579,554,569,448,349,349,328,329,349,402,438,441,437,390,318,367,367,363,347,285,289,296,270,265,261,259,259,283,258,253,245,245,244,244,250,252,268,279,244,239,255,273,270,271,314,355,417,443,393,399,407,395,381,305,305,325,366,406,404,426,384,355,454,511,435,384,409,478,681,558,464,542,1016,954,528,351,334,325,395,448,438,471,512,536,558,480,437,403,373,348,338,339,372,358,311,285,290,290,352,518,466,514,659,659,473,332,357,345,351,365,400,473,467,471,701,916,652,458,446,389,312,315,412,462,458,404,449,530,662,631,700,633,574,594,594,551,552,758,743,491,395,556,1034,1434,1200,1294,1704,1966,2086,1844,1540,1428,1362,1196,1384,1688,1244,1248,1278,995,1112,1184,1434,1988,1012,788,1070,827,739,866,1252,1152,904,1142,906,906,1084,455,323,317,288,319,295,788,752,457,400,407,421,466,840,1294,969,821,1444,1426,1042,863,528,398,765,1388,1228,677,705,1116,1458,1366,960,701,642,411,458,1366,1184,625,1126,1024,411,502,660,995,1274,1072,1306,1152,978,731,797,1160,1144,699,368,344,384,376,390,401,368,336,233,220,269,322,371,439,375,292,279,282,290,292,296,307,325,320,348,363,348,309,309,295,297,310,272,292,322,346,369,359,334,312,294,283,283,266,259,271,271,289,330,339,338,328,316,304,315,317,298,286,264,282,282,278,270,269,276,287,291,293,309,321,314,312,357,608,932,841,582,375,353,368,392,419,432,433,450,401,397,371,391,375,377,416,506,651,755,794,694,636,984,1158,1030,1096,1108,1314,1290,1136,1088,1001,933,1100,971,885,916,1042,1009,642,519,842,707,524,570,835,701,713,1234,1007,725,1194,866,822,541,374,369,518,745,1226,1058,540,808,1140,1100,862,708,689,905,823,594,567,609,674,726,634,630,760,921,780,940,729,503,623,604,553,393,335,346,433,792,1104,858,674,771,726,517,550,464,402,530,1140,1276,722,644,745,690,445,421,311,299,550,852,844,586,635,532,502,710,901,714,462,470,692,1054,1446,1424,1070,997,1158,1318,1030,755,569,946,1374,1318,910,602,675,571,379,442,469,339,336,612,961,933,594,526,559,450,469,671,766,461,416,589,637,641,593,495,446,348,381,438,498,417,387,430,448,528,708,855,915,868,844,841,807,766,751,598,343,294,502,1400,2158,1864,1124,553,717,705,602,438,447,480,468,783,977,845,854,908,1168,1310,1504,1354,862,788,808,817,741,958,1236,1378,1428,1376,1266,1266,1402,1114,887,1228,1076,728,769,893,1058,1168,1250,1260,1486,1768,1700,991,1042,1618,1202,752,561,444,520,905,1444,1908,1794,1350,1510,1344,1216,1268,1358,1418,1388,1368,1358,1278,1172,1048,545,495,590,503,716,894,567,372,321],[440,582,541,469,604,702,726,755,606,559,653,637,624,586,403,389,433,463,420,374,318,321,384,414,767,1018,502,545,1226,1904,1494,1126,1254,852,512,672,1232,1406,1168,742,547,437,412,498,506,550,421,482,624,606,725,719,603,883,1162,1226,932,849,1286,1096,879,848,536,702,567,351,429,444,520,670,878,1038,671,827,992,744,547,746,1482,1958,2196,1910,1266,998,964,1002,1482,1512,1604,982,509,455,703,842,767,718,771,927,915,771,604,485,436,461,745,883,998,1026,747,456,406,402,410,519,699,898,948,821,965,1136,1308,1124,1130,1402,1262,1114,1208,1172,1566,1294,753,514,1150,1206,1132,1526,1482,1152,1028,703,521,681,913,1056,1410,1638,1432,685,383,461,456,418,451,438,418,489,505,388,354,361,376,457,600,571,497,444,475,598,694,680,502,343,370,375,374,367,336,320,328,334,326,272,233,219,198,190,209,227,217,268,419,441,516,605,642,614,603,564,584,491,427,443,475,498,515,417,386,425,467,469,396,410,308,298,285,267,288,272,224,207,226,245,277,313,351,366,312,289,358,370,521,839,984,763,465,380,349,304,370,620,756,1190,1578,1284,836,726,1160,1250,1180,1192,896,555,481,514,449,376,306,289,329,343,423,427,386,398,454,491,422,495,513,502,515,463,403,409,422,399,365,444,535,474,477,538,943,1760,1762,1854,1704,1932,1596,772,724,888,1108,1108,1014,1402,1346,637,466,916,1406,1652,1604,1846,2288,1986,1016,590,477,521,1032,1642,1730,1864,1870,1614,786,374,512,583,539,381,321,397,391,377,404,408,397,406,406,394,374,342,295,414,893,1430,1450,1736,1824,1028,828,875,542,325,279,341,510,513,576,890,1318,1538,1456,1090,1032,963,547,276,647,1606,1436,575,706,783,827,645,685,957,1044,717,485,511,542,541,512,496,705,1098,1236,1400,1216,1136,1001,1214,1316,1094,1032,990,1062,1050,1006,778,776,644,600,728,966,1262,1246,1320,1434,1372,1376,1288,1001,458,507,630,858,988,996,1284,1296,984,760,772,786,677,601,557,670,608,592,639,590,623,784,980,817,593,792,1068,1048,836,595,531,639,631,715,847,1024,1352,1588,1516,1342,1598,1454,1256,1104,1124,1518,1512,1384,1426,1324,937,862,664,541,968,1142,778,672,963,1408,1416,1406,1056,615,517,645,653,433,469,505,543,686,524,938,981,1196,1410,873,395,417,389,410,492,561,436,336,342,368,360,349,371,350,400,435,379,378,499,543,592,1098,929,710,628,1108,1316,1138,1092,1168,1184,1082,927,825,651,1016,909,786,786,644,626,596,624,919,876,645,657,662,1344,1448,1404,1726,1676,1332,1354,1162,1118,1222,1226,1654,1792,1386,959,547,437,417,415,392,357,369,407,432,436,422,405,423,427,425,379,308,333,352,299,328,365,467,474,346,319,276,298,408,452,444,431,452,462,458,407,375,450,497,506,488,514,474,414,382,483,483,485,449,484,657,723,916,999,728,523,471,551,621,546,405,423,437,367,383,487,501,522,648,641,551,480,473,591,908,979,717,429,433,412,376,494,471,359,323,327,338,415,430,397,474,666,477,362,441,539,505,623,622,963,987,828,875,703,379,595,1170,1426,1112,1015,1140,1366,1278,1132,1068,1292,766,422,542,1188,2024,2036,1178,958,1398,1538,959,447,425,756,830,547,335,463,484,483,511,419,548,387,1005,923,628,1100,960,535,442,1112,1700,1338,1602,2656,2022,876,755,501,447,574,704,960,1036,1064,1342,1612,1656,1146,1210,1158,1110,1188,1548,1892,1874,1600,1428,1342,1498,1986,2056,1324,1294,1750,1820,1716,1708,1640,1476,1580,1592,1734,1432,1040,1168,1582,1882,1668,1420,1540,1532,1350,1228,761,1188,1472,949,831,980,1003,814,758,825,758,721,724,841,904,937,1054,1096,878,624,557,527,572,589,599,593,618,604,592,576,637,780,857,917,1042,1266,1266,1428,705,550,623,757,900,976,1298,1650,1396,1206,1498,1588,1348,1706,1762,1558,1460,1542,1410,1220,1222,1114,772,901,1040,1182,1292,1230,800,583,688,1298,1600,1428,1414,1484,1346,1272,1498,1644,1526,1258,1288,1192,1208,1464,1600,1384,1116,1074,1302,1678,1560,1344,1274,1256,1288,1060,1312,1446,1088,1236,1656,1534,836,475,404,506,812,959,937,753,506,390,524,640,719,865,851,610,789,1028,1200,1004,1048,1372,1404,1190,931,387,375,270,252,256,253,249,243,221,212,222,394,636,651,549,523,493,406,385,390,505,617,422,437,455,499,423,307,341,397,533,498,590,579,433,340,294,502,472,289,228,205,206,229,232,241,287,360,855,1021,1206,1266,1168,1094,1312,1078,507,518,625,563,421,528,844,734,460,952,1158,1078,969,600,310,313,574,829,584,559,564,548,872,741,477,450,400,298,507,770,739,698,850,568,834,879,506,927,1444,969,888,1550,1228,720,702,411,507,918,1206,1396,1330,853,633,838,998,1104,1100,1212,1062,852,1056,1410,1176,1338,1706,1624,1496,1372,1302,1382,1412,1330,1108,804,791,796,863,1038,921,904,1344,1608,1436,1220,1246,1084,592,531,995,1208,1058,1266,1108,808,819,819,798,764,720,851,789,1166,1630,1126,686,618,610,564,436,561,666,804,797,612,724,1296,993,806,1034,910,927,881,1021,1194,1380,1672,1224,672,401,441,877,1396,1332,1200,1286,1316,1334,1296,1166,1062,1200,1248,1282,1248,1216,1238,1398,1456,1390,1244,1426,1538,1320,1296,1332,1336,1516,1542,1236,1362,1234,1206,1296,1484,1582,1396,1058,984,1230,1368,821,427,361,383,383,458,549,498,356,361,407,433,426,371,335,333,311,341,372,567,451,301,343,372,372,412,462,454,414,463,538,595,625,617,601,625,509,401,385,373,356,354,373,340,338,368,343,314,364,320,277,247,236,271,298,281,281,271,258,243,269,261,259,262,263,255,253,264,264,294,305,261,260,266,265,274,291,318,325,361,384,345,339,359,393,401,362,339,354,360,366,408,440,404,366,409,457,451,413,419,409,693,522,436,446,574,613,438,333,333,315,361,423,383,452,458,440,485,403,355,398,378,340,329,346,387,366,341,338,321,298,329,483,485,413,412,456,423,377,411,407,363,389,400,522,564,474,444,541,491,435,452,416,343,376,547,547,406,369,386,533,606,648,639,581,833,853,786,608,561,1242,1128,635,561,763,995,1158,1096,1174,1434,1798,1800,1648,1756,1830,1732,1302,1298,1444,1700,1922,1166,781,1240,1360,982,2028,1438,1412,1400,1036,1090,1368,1386,928,929,1246,1220,1248,1246,976,791,510,333,366,402,825,818,461,451,448,426,437,666,1066,967,933,1406,796,659,753,471,499,1136,1492,760,573,724,836,1428,1478,895,768,987,969,727,788,697,697,1198,867,499,500,678,929,1134,1284,1444,1238,960,658,626,1190,1700,1152,432,331,380,415,441,377,354,359,287,260,297,286,368,401,278,270,265,287,279,285,302,322,319,306,330,350,344,313,306,291,307,345,319,306,318,310,337,351,308,279,284,283,284,272,279,274,290,314,369,434,448,426,369,307,319,290,290,293,278,287,290,300,298,292,297,290,298,300,304,317,313,297,310,372,422,402,349,356,375,392,419,434,416,410,439,408,404,393,406,414,422,439,519,782,1142,1110,852,838,1298,1074,778,871,1124,1384,1244,1114,1304,983,734,1106,1248,1118,1076,1198,1042,644,555,475,318,325,350,403,444,586,990,849,493,391,421,472,458,448,438,496,562,795,824,510,784,812,780,808,769,773,852,964,891,785,931,1004,934,977,590,760,1174,834,1022,1456,1264,823,714,600,434,423,318,471,1392,1918,1116,944,901,886,724,736,781,732,1058,1296,922,552,614,835,1084,860,837,559,409,525,829,742,670,661,378,409,486,669,885,565,483,639,708,863,824,1256,1722,1588,1172,891,618,597,1240,1458,1758,1570,1060,708,486,318,395,396,344,362,429,680,1234,1108,679,532,680,868,822,471,376,560,665,847,865,852,798,670,411,403,405,440,492,443,390,392,489,768,875,874,803,763,778,757,728,741,575,348,283,634,1500,1954,1810,1100,731,847,904,821,774,640,496,488,833,1180,1230,1194,1122,1256,1122,1334,1658,1150,852,910,661,606,695,1012,1544,1614,1404,1372,1626,1658,1548,916,850,847,679,767,1226,1214,1246,1172,938,1050,1304,1794,1456,1116,1306,974,660,545,481,448,582,917,1322,1350,1230,1562,1424,1376,1332,1384,1450,1450,1432,1400,1348,1346,1082,663,554,677,1230,1636,1296,695,418,334],[456,720,649,568,615,615,769,921,799,660,662,807,943,690,381,397,394,359,444,408,311,288,365,382,623,1130,978,519,912,1638,1352,1030,1236,1026,554,440,575,966,1452,1194,599,491,383,387,556,847,607,415,700,1012,1416,1396,634,799,955,906,678,849,1220,1400,1686,1384,771,787,555,326,311,437,509,503,786,1150,1146,1004,856,633,620,1290,1618,1612,2286,1870,1486,1396,1296,1660,1848,1474,1758,1290,597,471,635,672,646,659,657,626,972,1218,921,748,731,602,751,1038,1172,1026,560,421,447,445,496,882,861,644,607,674,1314,1904,2372,1996,1034,1528,1618,1120,1158,1198,1088,868,807,753,1410,1458,1048,974,960,912,834,749,603,580,467,535,554,1108,982,471,397,434,467,413,433,436,412,498,541,528,372,388,400,479,581,543,479,537,647,623,642,597,412,372,361,348,363,344,296,292,357,387,324,273,262,233,204,181,168,200,242,282,293,390,527,598,626,603,547,472,458,424,410,443,452,569,717,644,474,402,485,494,443,555,494,423,329,277,270,273,252,223,254,270,237,286,309,291,297,372,493,457,353,402,540,485,369,362,396,322,416,689,958,1324,1200,1086,1072,1034,1178,1126,1144,1116,938,780,688,621,530,501,426,358,318,349,466,456,403,397,501,429,440,493,491,472,483,442,445,496,450,428,457,513,550,506,430,450,713,1172,1354,1434,1208,1274,949,593,644,778,883,612,643,927,827,515,609,827,1094,1488,1714,1866,2352,2316,1142,525,506,703,1356,1692,1798,1698,1706,1530,758,392,476,511,488,336,330,383,391,407,407,401,400,385,393,370,321,368,602,705,965,1140,1192,1590,1614,922,827,1001,742,435,477,510,587,555,621,784,1076,1284,1138,873,764,532,331,319,428,655,685,874,1052,1164,1242,1114,1466,1844,1434,603,508,621,539,467,441,509,777,1228,1654,1622,1416,1508,1150,886,923,999,1060,971,821,922,1034,804,757,728,512,480,717,851,1034,1266,1484,1548,1282,1354,1060,501,581,922,1028,838,849,1170,1294,1166,714,695,592,535,480,464,663,577,536,633,720,650,694,1232,1262,1128,767,846,1058,922,774,716,579,525,541,539,849,1190,1120,1154,1116,1186,1098,1240,1252,1186,1015,880,1174,1896,1810,1400,1578,951,1010,1210,881,567,558,852,1162,1128,1140,985,749,792,1152,1134,585,516,565,447,380,563,991,1178,1086,1122,1092,498,373,318,445,511,460,327,340,357,353,344,343,371,372,386,342,313,289,384,443,734,871,796,944,836,1192,1438,1212,1104,1026,838,768,626,994,908,1070,976,869,879,895,774,396,650,1192,1136,810,676,629,916,1084,1164,1180,943,1488,1880,1232,1450,1946,1710,1730,1654,1394,753,486,463,441,418,387,358,396,409,350,317,376,411,429,459,442,416,302,310,339,303,399,491,501,408,297,277,298,339,342,367,367,412,476,443,409,394,331,414,471,475,474,483,441,439,470,412,360,433,469,555,534,636,1002,1072,919,550,436,472,557,508,420,438,386,397,440,437,405,642,598,436,533,524,375,316,484,728,786,717,556,529,436,316,314,282,265,411,802,721,394,572,879,1112,444,482,489,524,1032,1648,1168,964,942,882,1258,866,365,742,2232,2658,1430,956,1180,1238,1396,1296,1012,1226,1009,556,668,886,1666,2074,1252,921,1152,1302,995,505,321,467,680,581,310,362,515,541,490,446,661,476,797,984,661,894,1244,1078,700,803,1580,1410,1274,1844,1174,705,908,1222,1144,617,662,942,863,1070,1314,1542,1382,1112,1180,1106,774,699,949,1416,1518,1442,1694,1892,1704,1556,1424,1038,1284,1462,1490,1598,1722,1820,1822,1806,1726,1744,1606,1352,1174,1266,1270,1130,1168,1324,1336,1192,1154,1058,1052,1058,968,915,985,947,963,886,863,815,816,760,695,664,644,750,967,868,645,557,554,569,653,647,612,658,694,710,592,478,533,645,824,816,580,514,771,602,498,459,606,803,872,1178,1528,1440,1686,1760,1882,1726,1516,1608,1500,1714,1682,1410,1534,1456,1502,1260,955,1084,1280,1158,1478,1404,872,1005,1422,1148,1288,1636,1430,1232,1248,1444,1072,1052,1116,901,994,1354,1610,1582,1156,721,629,724,1484,1426,1194,1250,1430,1300,1160,1348,1130,1108,1516,1960,1688,1476,868,783,787,840,922,877,625,338,408,587,692,673,588,812,691,901,969,1066,1158,1268,1492,1434,1526,1346,505,347,303,289,264,259,276,262,245,223,211,345,612,750,623,426,411,409,428,527,705,607,398,401,460,470,333,470,495,426,612,535,449,332,262,249,379,417,248,222,217,189,264,282,294,272,281,285,647,985,1306,1294,879,689,979,828,388,415,487,452,501,825,899,530,480,963,1200,1116,982,681,506,457,461,797,666,630,477,340,601,855,675,327,252,288,527,788,724,857,1404,978,709,723,531,708,1124,849,897,1544,1290,616,503,461,546,1002,1196,1098,870,649,1026,1176,1020,1046,1092,1098,1248,1206,1156,1240,1378,1586,1690,1548,1426,1350,1454,1566,1504,1356,1450,1358,1005,813,1032,1120,1032,1158,1278,1180,1166,1018,1180,1034,609,518,785,860,752,780,581,526,716,690,600,664,802,868,936,1118,1664,1304,885,988,996,694,454,535,661,565,519,509,506,609,728,669,783,677,486,566,770,913,1296,1578,1160,840,596,780,1326,1312,1152,1070,1180,1420,1332,1260,1100,990,1218,1334,1366,1174,1116,1368,1406,1308,1266,1192,1406,1916,1794,1812,2098,1810,1414,1316,1232,1312,1240,1238,1162,1192,1410,1084,628,728,959,1013,531,359,390,414,435,436,563,553,399,383,401,399,438,386,372,345,390,473,425,487,440,366,403,414,414,429,418,352,446,536,606,597,604,621,638,648,567,486,463,426,355,291,315,359,357,317,274,293,288,264,244,259,260,263,274,277,267,264,274,281,266,265,272,271,275,277,265,275,322,335,297,262,272,272,265,280,299,311,325,355,339,318,324,324,327,337,349,328,323,296,319,379,388,379,379,451,460,378,396,514,574,788,566,408,401,340,379,370,378,376,370,382,382,354,558,499,351,351,338,327,341,325,337,359,375,392,383,362,389,370,324,293,325,365,393,347,321,339,389,447,467,498,414,368,419,451,451,546,581,430,386,425,399,443,506,498,379,300,318,339,492,595,539,525,639,880,800,862,644,805,1520,1248,852,945,955,928,821,829,867,957,1382,1666,1212,1426,1658,1714,1650,1464,1224,1580,1646,827,796,1386,1146,1012,1608,1170,938,834,750,1013,1332,1240,733,621,982,1556,1470,1348,1104,893,778,587,594,891,1144,821,450,429,431,372,394,379,496,672,728,727,529,839,1138,716,808,1182,1050,617,510,625,889,1582,1284,735,851,991,1013,790,630,717,861,861,612,524,539,779,982,846,903,988,1023,1224,1312,1002,963,976,773,507,429,398,403,367,320,261,299,256,237,251,264,373,356,300,267,258,278,278,272,299,328,313,334,343,349,338,330,306,290,289,288,288,322,312,309,343,343,303,287,283,283,290,274,280,299,294,364,444,422,426,425,346,299,309,306,312,297,289,301,295,306,302,300,278,279,299,322,303,299,292,290,312,317,339,365,356,371,398,431,410,419,437,466,480,461,435,410,412,450,466,476,498,680,1036,982,824,759,1062,1174,1003,838,987,1292,1300,1364,1284,1017,889,1118,1376,1142,1450,2100,1792,1028,723,604,409,355,400,657,914,685,573,499,628,860,702,625,867,832,573,482,712,721,495,391,831,999,839,816,724,686,824,1034,1192,1064,1140,1214,1272,1578,1002,1106,1434,949,955,1230,851,564,478,460,533,586,400,338,502,634,490,838,1162,1156,741,553,819,1376,1296,767,781,790,888,896,705,623,563,601,826,987,1088,1298,1180,576,417,444,523,670,1044,993,655,541,779,902,855,1154,1618,1340,902,1116,777,552,910,1374,1586,1592,1244,766,518,373,423,407,402,426,523,1026,1494,1428,1074,966,1246,1694,1548,834,852,967,785,852,900,780,670,520,400,427,405,411,508,571,473,399,447,739,860,803,761,749,727,617,484,453,375,252,297,670,1312,2122,1714,919,962,894,803,850,1034,1076,814,775,1084,1144,965,701,835,1260,1060,1134,1506,937,777,1184,901,912,865,959,1448,1540,1550,1382,1538,1548,1346,1100,1007,979,952,988,1422,1328,1228,1230,1362,1080,1001,1562,1798,1710,1204,650,612,615,623,580,556,572,999,1384,1344,1622,1490,1434,1428,1332,1300,1298,1334,1302,1246,1250,1044,939,1042,1278,1686,1716,1206,853,535,357],[422,733,724,645,606,573,762,980,777,615,596,810,938,626,365,374,362,376,435,427,365,312,327,357,512,788,1226,796,810,1196,912,658,1062,1032,427,513,626,631,1074,1486,1114,625,405,432,903,1218,728,501,629,639,916,1054,594,838,1136,1032,866,795,720,976,1718,1492,748,828,482,363,300,497,543,634,1026,1260,1288,1238,934,796,1038,1490,1148,864,1072,983,1122,1320,1468,1700,1294,856,1506,1480,653,574,589,511,689,644,703,593,1034,1122,702,569,835,1110,1086,1072,1150,1009,513,457,540,487,519,784,673,479,493,505,1152,1922,2224,1630,989,1196,1244,1266,1300,1422,1026,720,1058,1442,1662,1540,1390,1120,981,1116,979,959,963,704,625,616,791,1166,836,495,361,388,421,427,441,426,392,412,415,374,420,500,487,440,439,443,463,585,656,581,591,498,365,391,364,336,344,326,282,278,303,299,280,318,297,246,201,169,178,203,213,218,238,274,404,615,683,601,518,466,453,435,435,456,455,541,706,764,584,451,495,541,545,649,697,555,357,307,273,274,314,299,265,318,232,254,311,351,365,425,521,505,464,442,366,361,419,430,375,304,453,496,815,1152,1206,1354,1262,1220,1122,1094,1132,1192,958,769,677,593,495,438,469,535,504,532,603,421,385,376,506,473,459,407,398,414,466,503,561,567,414,428,498,525,512,545,522,430,748,1408,1626,1412,1262,979,687,603,943,1114,1176,1174,1340,1004,557,412,552,703,885,1306,1626,1636,2042,2474,2176,914,591,1078,1588,1758,1880,1794,1750,1476,647,442,487,454,466,433,432,435,412,369,348,366,355,346,355,297,292,523,517,272,721,886,1042,1438,1256,810,618,816,521,491,551,519,548,483,590,541,617,869,837,656,464,285,350,343,397,431,1058,1412,1396,1532,1406,1416,1716,1888,1598,868,594,488,410,428,423,492,819,1224,1444,1208,1166,1332,948,1306,1558,1390,1368,1372,1472,1376,1172,998,1030,1023,695,626,747,916,916,948,940,998,1154,1006,498,370,446,856,1098,654,400,722,1246,1296,1058,1007,799,697,512,609,856,840,838,796,919,856,832,1114,1272,1330,700,620,957,1010,965,857,720,647,558,581,813,856,725,755,872,845,821,932,1084,1268,1358,1148,1154,1260,858,955,1274,1018,1332,1102,955,719,509,652,824,949,896,762,868,947,1196,1502,843,497,499,471,487,832,1009,979,715,812,1166,617,369,297,417,421,357,349,342,351,367,334,328,349,379,421,370,317,292,371,437,865,754,1072,1478,1210,1278,1316,1036,1110,1190,1108,791,643,1162,1024,761,778,1110,1278,1482,1202,835,927,1118,1202,977,621,569,814,865,961,1054,829,1462,1952,1498,1646,2154,1638,1262,1378,1100,534,401,434,455,431,408,388,437,434,368,359,412,440,444,484,497,418,328,307,292,319,454,431,371,343,335,309,292,313,330,356,358,341,351,412,394,405,378,367,417,475,507,505,472,488,511,422,333,392,461,529,669,746,1028,1118,974,661,500,505,555,443,417,438,393,505,464,367,353,539,525,417,480,631,615,448,360,329,451,702,807,686,557,357,284,277,364,718,1110,787,400,567,876,839,471,695,598,733,1454,1572,1138,1050,727,828,1580,804,405,736,2146,1720,735,692,905,977,1290,1166,951,1426,1356,1018,873,610,783,1498,1792,1542,1050,529,317,280,354,396,391,383,371,408,402,509,516,552,702,452,636,1024,851,568,1030,1530,1108,1110,1716,1434,865,942,864,696,880,1668,1810,1019,847,1150,796,928,785,935,760,662,722,659,522,467,419,545,839,920,1258,1738,1662,1752,1450,1030,1084,1036,1158,1484,1678,1740,1722,1750,1674,1574,1500,1404,1328,1128,855,806,780,780,830,832,997,968,775,720,766,717,717,758,804,700,654,603,525,514,501,507,594,672,683,753,633,610,634,653,697,637,610,601,613,677,624,516,522,473,530,672,811,764,628,539,575,697,818,1010,785,927,1340,1370,1320,1066,1604,1940,1792,1676,1600,1562,1608,1666,1538,1390,1412,1462,1568,1526,1180,1136,1778,2056,1456,1128,839,478,733,1282,1232,1218,1292,1472,1068,1104,1086,819,916,1284,1272,968,1001,872,539,689,1570,1542,1342,1472,1648,1508,1470,1384,1170,1006,1232,1262,1114,1428,1372,1326,980,880,1018,917,619,420,548,653,698,736,681,630,722,724,583,809,1094,1244,1076,1048,1372,1302,709,415,339,319,276,255,269,247,211,240,243,292,438,518,498,492,497,502,552,745,882,637,373,305,481,542,343,625,536,499,581,644,720,648,344,238,397,499,386,276,233,286,386,385,536,415,344,386,534,947,1332,1314,864,631,953,702,431,561,680,432,327,634,580,446,596,872,1174,1496,1450,877,604,434,620,915,764,666,556,421,500,812,784,341,349,290,490,839,601,1120,2210,1528,547,750,1120,1098,753,763,1170,1470,1406,748,602,601,633,1050,1290,1170,875,888,1324,1334,1382,1074,1222,1192,1282,1454,1296,1178,1332,1522,1534,1498,1534,1556,1394,1160,1224,1116,1644,1682,1372,1122,1198,1368,1174,821,709,817,1052,1224,1232,1066,836,618,662,697,715,893,938,532,474,522,852,761,749,834,953,941,1050,1007,986,1040,1132,1118,773,752,499,612,645,487,452,628,645,502,531,494,532,556,700,1128,1438,1412,1224,915,822,1074,1158,1023,1132,1360,1668,1538,1262,1264,1364,1472,1488,1396,1238,1092,1076,1364,1456,1320,1204,1124,1274,1558,1974,1882,1904,1670,1450,1434,1350,1166,1318,1572,1452,1720,1732,844,608,581,771,841,480,358,408,401,382,379,446,436,401,401,424,403,413,428,389,383,471,509,480,473,456,470,442,427,385,384,411,408,467,539,592,578,592,625,601,613,520,467,447,466,437,343,308,334,350,325,313,294,264,266,258,279,271,276,270,266,269,281,303,306,288,296,292,319,328,313,319,336,328,281,261,237,242,268,293,308,296,299,305,344,344,367,354,342,346,335,346,339,319,289,314,388,419,348,410,424,346,394,468,443,525,725,550,363,343,351,482,506,470,496,480,437,351,325,410,395,387,379,351,292,338,324,329,362,381,374,372,367,362,361,346,305,323,376,376,349,339,337,354,374,459,492,502,506,466,532,623,558,522,437,393,389,374,436,461,366,291,297,314,322,380,453,522,591,672,697,687,678,805,1138,1220,819,602,631,581,653,672,839,753,667,794,1156,1052,924,1034,1352,1710,1848,1362,871,661,526,713,1156,1090,1436,1498,968,746,783,661,544,633,810,854,813,1038,1452,1558,1090,797,1052,933,561,513,717,984,611,399,355,443,566,448,319,395,435,506,596,704,948,1244,944,975,799,641,589,488,547,1434,2094,1160,548,585,531,629,642,730,926,869,518,416,527,585,818,1050,1064,988,865,1019,1092,986,981,861,597,531,740,662,502,560,680,577,258,287,263,324,345,361,398,341,268,265,273,285,291,278,301,335,334,361,343,366,395,353,347,321,291,296,343,359,318,337,363,331,294,288,289,284,281,274,279,312,401,483,392,332,410,351,302,294,303,312,317,314,327,309,309,310,289,294,280,277,303,320,305,299,299,311,324,336,363,376,411,423,397,429,416,419,430,425,441,457,444,423,425,432,468,499,524,648,799,1128,934,791,1196,1160,929,1054,1254,1384,1392,1566,1440,1248,1078,1056,1368,1582,2166,2216,1532,1216,986,719,539,371,649,1330,1472,1136,719,694,1142,1296,832,560,608,684,500,384,521,849,758,383,500,960,1264,1252,911,914,970,769,783,736,918,1102,1192,1450,1130,938,1144,844,594,686,532,309,313,349,456,648,840,630,447,504,420,529,699,517,403,540,1084,1432,1120,762,1002,840,636,529,422,316,256,525,1114,1386,1292,1320,1180,524,377,465,686,865,1064,1016,1062,1002,897,933,1270,1222,1084,855,623,741,557,620,939,1290,1562,1480,953,1068,1068,903,529,375,491,518,784,1550,1620,981,742,1156,1544,1888,1964,1194,1266,1208,771,634,606,575,645,595,448,429,498,448,443,568,487,428,411,642,687,486,387,330,323,313,241,226,216,220,329,616,1254,1648,1128,815,835,907,917,916,1230,1484,1122,1078,1292,1174,850,624,893,1684,1694,1290,1276,1038,984,1164,1078,1620,1272,968,823,800,1224,1498,1518,1438,1188,1124,1296,1184,1246,1464,1660,1176,938,1262,1614,1330,1344,1716,1924,1852,1224,696,681,692,846,852,744,917,1208,1218,1460,1560,1378,1420,1322,1190,1072,1354,1472,1352,1320,1284,1274,1130,1142,1156,1222,1062,915,991,618,397],[408,536,526,529,513,510,642,868,538,404,551,786,992,637,348,359,318,342,419,435,399,308,341,394,529,522,714,775,787,1078,1330,1344,1628,1360,533,621,949,951,1164,1122,1302,1110,699,514,985,1066,587,645,706,576,603,707,1062,1432,1384,1132,930,835,880,793,1168,1510,1140,830,418,340,422,670,717,944,1282,1382,1528,1520,1144,1114,1260,1110,614,516,737,933,1144,1676,1418,725,433,523,1248,1534,645,530,451,479,646,648,754,628,565,527,509,503,782,1110,1196,894,1202,803,549,537,560,521,477,361,352,434,438,543,876,1360,1908,2942,2026,2254,2158,1150,767,991,728,711,1450,1968,1680,1044,1238,1222,1176,1488,1378,1094,1138,1172,991,749,967,1116,832,971,587,463,402,408,398,354,350,336,320,336,380,463,530,431,406,435,529,622,677,547,504,444,370,355,328,355,355,349,337,317,314,334,310,334,306,245,208,202,203,199,189,182,201,219,330,567,673,653,530,457,468,439,466,472,432,422,424,584,501,455,477,544,575,634,744,632,437,372,364,367,337,296,292,319,270,273,350,426,415,481,657,544,637,557,395,398,489,426,346,298,304,379,871,1230,1206,1290,1246,1192,1144,1160,1284,1428,960,659,553,401,365,352,485,512,374,454,515,440,427,420,452,438,396,383,357,344,430,536,618,658,484,457,464,480,516,518,484,385,740,1324,1338,1316,1064,758,587,1196,1654,1502,1500,1778,1888,1350,643,404,471,586,698,807,944,1034,1342,1338,1062,561,548,1004,1588,1786,1772,1722,1698,1146,495,433,428,402,461,444,464,482,397,337,333,343,346,330,351,245,604,1048,664,308,712,1003,790,845,1372,1430,633,649,642,644,498,345,356,350,371,430,394,395,332,303,311,310,340,391,430,622,1178,1494,1610,1748,1772,1670,1514,1342,1202,1019,597,462,420,433,459,429,741,1068,1070,1078,775,796,839,1378,1386,1142,1396,1434,1384,1128,1064,1134,1064,1001,814,876,954,1140,1324,1394,1274,1108,857,652,448,345,274,367,509,417,369,647,868,1050,1078,1150,1110,1024,984,1110,1232,1124,1036,705,609,921,1024,831,952,751,473,518,778,1012,1020,867,894,677,554,758,1074,867,834,955,1064,792,753,1013,1068,1556,1540,1232,1042,876,708,777,948,1458,1216,769,956,801,735,843,1016,1062,999,1170,1114,1034,1188,1238,572,336,521,579,502,702,1086,1068,529,532,1144,808,461,385,426,429,383,336,336,367,366,347,346,404,519,493,433,337,340,362,613,856,739,1088,1188,996,1186,1254,899,1238,1306,1036,831,844,838,637,489,716,1174,1230,1600,1136,1136,839,626,553,506,656,777,842,944,899,1062,969,1730,2018,1462,1284,1616,1524,1262,1250,780,327,350,395,433,437,441,441,456,466,428,428,443,454,452,465,471,429,390,342,262,328,364,338,375,401,410,350,304,349,365,363,354,310,373,338,339,436,454,406,455,505,473,456,472,507,502,450,371,367,431,561,695,948,1286,1318,1118,850,596,490,596,489,469,488,569,965,625,336,420,407,420,540,639,709,654,536,408,403,427,471,521,688,705,573,382,303,424,650,725,575,414,505,557,390,380,797,741,1198,1878,1172,1038,1158,720,567,719,465,431,990,2120,1448,1130,1412,999,776,672,741,1156,1478,1460,1042,635,466,518,837,1636,2084,1298,523,292,282,334,354,447,529,358,453,474,694,675,1001,1514,873,457,669,1044,822,1007,1686,1478,1318,1570,1690,1180,957,1086,993,912,1082,1050,817,1080,1396,1214,1272,923,878,891,771,815,744,559,577,702,632,913,1044,1008,1158,1338,1360,1086,877,872,1038,1586,1894,1696,1692,1666,1388,1398,1274,1466,1490,1260,1072,1124,1136,1021,1128,1174,1264,1780,1754,1610,1174,658,463,503,558,558,542,511,487,512,514,457,463,490,477,608,857,838,679,634,648,604,574,584,603,749,770,681,541,509,496,469,445,566,707,766,666,684,937,1040,1116,821,725,1042,1036,1009,1274,1498,1594,1604,1654,1512,1132,1544,1700,1434,1378,1594,1512,1604,1510,1106,941,1312,1684,1350,1280,984,567,686,1242,1478,1500,1554,1496,1388,1484,1508,1394,1290,1470,1096,515,679,1020,750,1388,2012,1758,1562,1448,1432,1500,1174,1094,912,908,1134,1312,958,897,1306,1410,1158,867,960,992,733,530,595,707,749,778,792,648,637,639,681,735,799,943,1136,1172,1110,1206,1080,600,297,296,359,310,233,229,252,239,288,262,272,426,503,498,443,532,713,820,807,547,450,467,728,806,630,624,396,564,714,839,1118,1001,417,273,364,611,481,287,233,369,451,604,984,798,626,942,1005,1114,1284,1146,753,664,1032,683,574,839,1102,741,408,636,619,539,847,1098,963,1438,1238,626,438,442,670,705,487,509,784,849,557,533,527,387,523,494,507,546,483,990,1700,1094,450,952,1664,1390,750,1156,1920,1626,1366,948,691,694,680,779,1020,1214,921,1070,1278,1202,1018,1030,1116,1208,1292,1330,1310,1254,1248,1460,1498,1556,1628,1624,1164,1274,1588,1482,1188,1162,1202,1019,1290,1470,1290,980,863,1048,1106,1246,1202,1288,1276,1140,1198,1040,913,1204,1306,664,554,473,632,974,1218,1344,1238,1114,1328,1188,887,706,904,863,853,797,789,1184,903,400,372,729,1054,1152,1040,574,362,401,935,1292,1312,1550,1362,1086,993,1018,1060,971,1166,1248,1510,1278,1100,1060,1400,1780,1560,1348,1248,1206,1198,1202,1432,1666,1378,1294,1376,1442,1596,1606,1450,1466,1476,1428,1226,1052,1368,1356,1384,1754,1360,664,507,681,1260,1146,586,432,462,458,378,357,417,380,364,374,367,401,419,448,433,433,466,434,393,424,480,524,452,392,473,497,554,594,586,587,567,550,574,628,617,628,480,375,330,381,499,499,392,327,317,320,364,357,288,271,302,282,301,332,312,282,299,364,434,426,397,363,342,419,458,487,408,325,288,284,307,309,331,368,365,346,331,311,301,324,356,389,357,357,376,350,346,365,373,321,323,454,536,445,416,382,315,378,456,385,438,607,533,329,307,387,466,489,493,478,480,498,373,311,423,602,608,484,365,321,321,321,321,365,366,347,344,338,314,340,367,337,354,384,325,352,384,392,383,387,432,575,773,778,846,822,702,612,538,462,409,363,395,401,355,307,255,288,338,339,339,373,572,652,753,720,668,705,1017,1246,1096,565,329,321,351,487,551,769,809,595,663,935,1028,948,974,924,1048,1246,1292,751,888,868,965,875,1102,1390,1272,944,1146,1838,1284,928,793,778,904,919,844,1192,1228,632,574,789,705,639,413,377,811,637,602,802,1200,1350,767,356,414,685,871,647,1016,1034,973,1158,1032,837,823,785,689,846,1838,2134,943,653,680,988,594,579,1320,1334,753,445,410,360,440,872,1344,1346,1250,1246,1214,966,615,699,812,784,727,726,573,514,615,610,516,299,297,263,396,535,467,401,333,263,282,284,282,297,297,297,296,310,349,343,422,473,411,343,310,305,309,378,383,372,346,316,351,309,288,276,272,287,286,274,297,411,472,358,331,421,337,288,313,326,317,297,328,352,324,310,310,297,274,284,287,308,301,281,287,318,332,377,431,397,423,502,459,411,404,409,412,412,409,429,448,426,406,433,458,476,597,1024,1318,1502,1852,1366,740,676,586,846,1406,1394,1364,1362,1556,1556,1512,1252,1038,1376,1754,1554,1008,843,1164,1162,1138,953,447,498,1122,1288,1310,1348,1110,985,1126,1144,1026,668,427,292,420,478,1410,1376,587,556,881,1208,1208,1050,1254,995,684,656,656,795,860,1102,1338,1098,1206,1498,1252,757,1060,989,483,410,386,440,938,1230,888,522,502,499,455,443,507,771,1030,1246,1236,1300,1009,1096,857,433,288,310,294,269,342,617,1140,1286,1208,955,425,370,456,479,925,1120,745,894,1340,1130,733,781,599,465,488,518,633,625,766,1170,1464,1322,879,776,1350,1336,631,416,504,623,613,1108,1670,1510,850,626,731,1064,1484,1580,1172,1368,1142,656,642,674,699,766,772,662,710,721,513,503,626,494,427,449,484,348,209,206,210,222,193,212,231,245,248,342,346,686,973,1060,1230,1346,1144,775,966,1438,1550,913,838,1078,1017,756,736,1182,1700,1606,1310,1100,859,625,803,980,1390,1158,864,655,552,797,1322,1638,1282,1036,1128,1290,1448,1394,1390,1500,1246,1274,1808,1766,1218,1404,1694,1700,1754,1590,914,709,767,1182,1190,1090,1310,1410,1430,1508,1472,1310,1258,1286,1298,1312,1414,1344,1470,1240,1152,1382,1350,1216,1030,1002,1174,1196,1094,805,498],[487,473,418,414,344,322,374,436,319,388,518,818,1128,823,375,361,317,316,373,366,362,346,419,436,479,438,501,665,669,886,1234,1446,1576,1042,476,360,526,711,1018,906,856,1200,1252,799,988,979,740,817,814,733,749,784,1082,1312,1100,939,779,945,1108,907,923,1208,1290,792,419,385,650,912,1072,1252,1374,1472,1790,1854,1504,1548,1820,1222,709,1184,1316,1007,1328,1654,965,444,488,502,976,1198,430,368,340,408,404,596,671,525,511,448,398,485,803,1276,1594,722,856,726,613,524,645,1009,924,521,470,475,764,971,940,1414,1850,3164,2686,2254,1664,946,757,667,425,407,667,935,851,540,966,1138,1296,1440,1794,1414,905,1114,1136,1072,1160,1023,1092,1528,919,557,504,474,372,324,312,274,281,235,229,327,365,404,427,489,651,659,680,543,410,427,376,260,271,346,398,368,354,349,346,330,309,320,305,243,205,218,222,206,199,212,208,219,394,689,787,824,762,625,566,638,585,475,488,487,456,451,409,423,434,480,501,546,641,543,402,335,364,372,414,368,300,300,297,275,291,365,361,427,570,437,563,537,440,449,463,373,336,306,261,341,576,758,694,750,795,720,871,934,1124,1266,825,710,722,455,488,482,493,461,385,391,411,416,445,442,423,387,353,361,387,417,498,530,585,605,466,422,433,457,488,479,471,405,628,1456,2046,1638,805,571,407,1302,1894,1494,1290,1234,1178,867,531,402,325,398,437,476,509,497,451,392,324,377,403,509,922,1320,1290,1620,1450,680,360,419,390,421,418,400,637,523,329,375,343,373,364,323,296,356,1122,1548,1050,459,716,972,637,795,1092,1418,1054,709,661,513,420,338,264,255,315,364,309,295,286,381,461,595,586,534,1023,1452,1262,1202,988,881,828,1004,1152,1003,1072,1038,647,510,458,394,466,496,728,860,575,495,500,860,735,841,995,993,901,753,819,838,879,1014,716,741,678,622,937,1208,1158,1310,1360,1236,1438,1202,639,415,329,288,348,300,341,346,630,949,1504,1622,966,918,1252,1036,1216,1156,1056,736,645,1180,1302,1326,1334,1068,728,658,639,815,1048,896,830,757,559,639,988,946,854,1040,1326,1048,1030,1446,1356,1864,1360,1478,1010,770,973,1038,979,1230,1018,1098,1298,807,923,1324,1280,815,741,937,1050,1020,865,496,274,337,625,864,807,783,1066,811,566,616,1176,919,499,440,482,516,474,404,406,402,398,368,353,434,448,425,409,379,363,419,753,834,650,792,1112,1116,1098,1124,933,924,794,935,1174,776,540,512,567,633,919,1252,1248,916,1148,945,608,487,467,739,955,768,777,630,818,852,1312,1296,1138,1094,1142,1082,1218,1166,556,388,403,429,446,458,468,460,431,446,448,442,448,448,448,445,434,425,387,400,336,335,329,361,395,411,403,380,349,358,349,371,395,385,392,330,366,460,484,440,433,467,409,316,355,388,444,491,408,369,442,576,583,769,1012,985,976,756,648,691,582,421,621,656,663,896,643,506,774,683,403,410,319,418,438,438,514,558,410,400,604,656,619,699,634,369,398,370,363,332,397,791,838,504,448,792,707,772,974,483,555,1028,702,486,491,503,458,1322,2152,1416,1398,1636,1140,1028,854,1144,1268,882,1092,908,560,528,497,473,1192,1914,2020,1170,357,307,359,366,476,622,550,699,739,810,669,783,1396,963,434,461,854,1240,1638,1730,1554,1200,1122,1174,1140,1306,1420,954,449,513,575,609,998,1052,877,850,1114,1310,1036,708,748,929,872,791,850,855,1302,1622,1608,1608,1276,1056,1126,1010,927,1222,1788,1854,1462,1566,1372,1166,1192,879,1142,1378,1240,1430,1692,1560,1434,1378,1506,1670,2012,1988,1896,1142,530,475,488,498,530,530,519,490,468,446,445,447,469,450,512,724,881,812,693,650,612,643,705,787,974,1062,872,629,543,534,480,427,461,520,672,730,643,767,774,737,888,692,656,890,1374,1886,1878,1642,1342,1718,1658,1378,1888,1748,1300,1284,1404,1242,1192,1316,1306,1188,1134,1056,905,1084,1372,1082,1054,1286,1462,1520,1558,1638,1528,1750,1818,1448,1428,1516,897,577,474,600,586,1009,1546,1652,1588,1246,1256,1356,1134,1300,825,1016,1232,1322,1032,906,944,996,1170,1090,822,1011,1100,896,691,659,735,790,811,834,775,630,651,554,472,655,970,1196,881,861,958,675,340,263,342,258,194,185,253,317,434,519,628,493,314,386,412,401,409,516,516,387,424,616,701,630,530,363,401,534,605,717,448,252,276,330,623,830,471,350,323,301,419,739,1214,1250,884,1302,1218,1196,1236,1172,1234,1122,1136,847,667,925,1124,795,490,724,690,477,715,1204,742,789,848,744,522,493,636,642,402,481,874,757,536,566,747,587,462,571,372,252,404,1046,1478,626,537,868,1200,1200,908,1604,2186,1708,1320,954,869,891,750,785,1228,1692,1186,1194,1022,1136,1072,906,1028,1228,1050,1038,1258,1336,1350,1774,1648,1548,1566,1548,1458,1592,1808,1556,953,1116,1102,868,1252,1378,1382,1518,1242,1222,1238,1396,1238,1086,1124,1134,1378,1104,928,914,816,609,462,456,425,893,1350,1494,1286,1302,1398,879,815,751,919,760,899,824,913,1102,737,385,437,504,752,1454,1554,717,558,699,1154,1236,1130,1206,1204,1180,1068,1102,1354,1042,1122,1260,1240,1140,1230,1366,1488,1446,1256,1208,1148,1096,1188,1160,1472,1390,1202,1456,1478,1416,1442,1444,1478,1582,1482,1334,1332,1434,1730,1432,1670,1328,918,780,827,1200,1328,946,590,497,480,536,451,384,464,433,375,381,384,384,383,390,415,417,442,401,388,388,476,544,503,475,586,591,570,592,613,636,615,590,584,586,592,539,390,321,298,323,469,552,490,379,328,334,378,371,321,275,301,347,348,316,299,299,382,536,631,651,614,573,605,608,594,620,583,489,363,370,421,420,416,408,386,368,359,336,340,350,355,361,349,365,397,365,351,332,339,337,321,351,466,450,373,346,303,298,309,323,361,606,540,346,338,427,494,509,518,489,501,495,415,392,453,670,703,651,444,338,317,339,351,338,338,352,352,354,334,386,377,374,393,386,346,350,393,405,390,393,392,505,751,1046,1176,1015,643,502,493,422,358,347,375,368,345,327,273,260,319,337,343,387,372,447,659,730,580,593,828,834,744,603,459,482,482,518,491,755,728,801,1128,944,844,733,717,647,642,1258,1882,1254,1088,1338,1278,922,702,1150,1596,1064,1434,2232,1626,1588,1476,1426,1296,937,737,693,459,389,332,391,482,485,427,435,935,1232,1432,1558,1754,1792,797,405,446,979,1252,692,1128,1158,1116,1300,1018,754,769,795,703,810,1158,1142,801,930,1224,1484,781,848,1276,946,508,393,358,332,493,1064,1500,1642,1792,1642,1568,996,521,683,920,867,963,1102,730,669,730,662,632,462,421,414,539,578,442,361,306,272,269,270,283,303,301,296,308,320,322,322,411,588,638,422,349,341,365,399,361,357,327,291,314,308,294,291,293,272,291,283,292,311,318,329,328,329,305,305,317,335,333,276,309,316,353,424,386,323,313,303,286,284,285,290,291,324,439,574,692,610,494,456,434,405,399,393,397,442,446,452,463,456,448,469,504,632,1106,1544,1650,1686,1670,1348,1048,895,861,909,1396,1512,1448,1384,1410,1446,1660,1666,1338,1554,1880,1708,1136,1206,1236,1210,1332,1108,636,560,824,944,983,980,821,687,872,1178,1294,929,660,514,727,725,1228,1276,671,642,727,800,580,766,1456,1448,1146,1166,1686,1672,1380,1936,1986,1346,1328,1714,1470,914,1084,1084,626,455,450,494,736,929,717,482,539,718,933,1150,1272,1346,1142,900,1296,1070,864,1318,1024,489,307,336,322,348,363,915,1384,1162,1136,933,532,517,551,602,816,1116,778,872,1142,736,481,513,472,388,391,419,488,738,1021,1004,902,1018,836,638,897,739,669,880,912,747,921,1282,1620,1412,1017,1188,680,600,1044,1396,1174,1134,841,539,670,718,696,727,724,789,1044,696,384,339,455,491,450,449,362,265,227,243,233,209,221,231,243,242,224,346,530,592,697,1148,1364,1766,1628,1214,1092,1690,1332,667,785,1009,1002,848,772,1036,1106,1038,1052,642,479,426,644,783,763,779,998,1218,1150,1084,1494,1694,1118,1054,1328,1412,1694,1546,1396,1620,1550,1598,2108,1954,1484,1344,1306,1272,1344,1700,1318,858,656,986,1376,1394,1294,1538,1376,983,1068,1166,1442,1400,1454,1584,1312,1272,1532,1346,1194,1410,1364,1254,1136,1096,1392,1362,828,546,480],[397,524,475,416,348,318,279,285,298,338,388,554,801,631,359,368,357,332,342,356,408,383,339,383,426,380,470,502,391,484,565,652,839,677,437,354,362,375,590,712,631,788,1172,1344,974,965,987,1036,821,749,820,690,619,680,830,912,943,1220,1036,658,727,929,1144,840,730,691,707,1094,1274,1366,1522,2120,2050,2078,2020,1748,1852,1324,1010,1390,1456,1250,1300,1172,515,453,558,565,673,717,406,312,392,422,397,514,468,373,382,318,298,507,921,1446,1366,658,463,631,793,859,963,765,799,835,963,974,1162,1228,976,1450,2022,2292,1328,559,408,431,681,851,524,385,366,309,366,345,575,695,747,920,1017,896,984,960,833,1026,1248,987,1390,1318,633,437,828,1324,981,508,327,301,321,279,294,386,343,339,432,511,597,658,608,563,466,352,308,277,343,351,384,361,350,340,299,295,323,311,279,240,214,214,219,211,208,215,198,215,498,836,909,905,921,929,953,1038,859,706,602,583,502,401,401,426,408,424,434,472,469,386,320,304,341,380,427,380,338,359,310,293,358,453,424,387,401,351,385,381,416,521,523,426,463,427,332,374,448,393,405,428,448,430,446,493,631,706,612,700,633,585,568,544,474,384,396,429,422,508,598,529,423,372,388,428,503,555,543,505,607,538,440,440,403,418,429,471,487,440,532,1512,1824,1366,811,582,508,1152,1438,1002,862,610,423,392,415,376,355,494,482,448,513,476,392,415,387,327,334,348,361,608,847,1408,1082,495,453,448,377,361,379,780,977,527,387,598,556,523,534,659,601,879,1180,1236,900,436,811,792,810,1538,1732,1174,884,658,487,322,301,302,314,290,338,412,451,452,775,1046,1154,1438,1216,824,1388,1844,1186,861,364,395,514,1108,1646,1448,1196,1034,661,479,431,422,500,653,735,774,539,429,624,1196,1136,1144,1126,954,1100,1238,1148,987,949,1052,1100,1392,1146,915,831,783,952,1108,1142,1218,1118,667,476,447,355,353,344,357,369,326,435,753,1284,1504,857,993,1356,1046,1434,1686,1624,1294,1232,1350,1366,1358,1448,1054,717,882,821,673,912,999,775,798,671,617,634,715,813,742,704,652,689,755,583,1018,1046,1360,927,730,1108,1034,810,1064,976,845,1056,944,1204,1462,1228,882,1098,1148,942,913,735,487,334,487,761,952,1030,905,724,539,501,848,1116,748,561,521,500,516,524,520,476,451,422,410,404,486,498,437,399,383,419,808,1090,679,702,899,1312,1512,1390,1424,1364,1002,616,949,1013,541,468,523,521,619,983,1370,1102,790,1232,1386,692,541,545,874,1226,1456,1196,696,908,1360,1286,1260,1416,1282,1372,1434,1458,1030,513,436,390,399,440,455,464,464,442,439,442,449,446,446,439,435,420,429,340,336,369,340,357,359,338,324,327,372,389,370,345,346,323,354,417,420,411,427,459,473,454,457,421,523,559,399,461,529,415,469,637,548,454,482,516,454,507,533,879,1122,822,464,383,515,589,538,440,496,839,699,481,677,437,375,514,608,689,565,337,356,528,703,615,459,538,607,645,464,373,323,694,1138,991,637,469,409,364,314,365,484,570,959,705,445,476,491,505,1456,2142,1196,1356,1120,792,578,1034,1346,1242,771,864,1182,1128,904,790,656,880,1508,1710,1174,558,537,789,677,410,430,686,866,635,521,378,353,586,646,399,449,687,1106,1256,1290,1356,1338,1178,499,548,736,893,627,462,803,713,728,903,944,899,980,1338,1086,877,822,696,1082,1574,1458,1126,858,1200,1566,1704,1512,1470,1582,1794,1788,1830,1668,1628,1592,1508,1508,989,1158,1376,1058,1324,1434,1370,1594,1886,1698,1554,1416,1534,1748,1954,2054,1812,1062,513,511,485,538,636,548,474,433,416,432,446,447,450,425,430,599,715,601,647,730,794,748,798,958,1004,848,637,569,584,573,551,495,462,508,503,738,1002,844,558,536,832,821,701,955,1138,1634,1898,1914,1404,1642,1776,1660,1616,1350,1100,902,955,1208,1248,1094,1250,1248,1196,865,756,864,1072,1162,1070,1144,1814,1822,1504,1476,1458,1500,1476,1360,1502,1386,922,883,828,612,631,645,886,1394,1548,908,982,1204,1098,1042,868,1030,1364,1166,1100,1164,988,1124,1080,908,785,921,1005,1012,842,612,601,692,797,862,867,810,689,769,488,572,838,1070,1108,929,659,554,513,339,254,234,285,482,651,464,365,586,724,519,395,501,486,381,342,409,367,412,507,542,393,321,337,242,296,272,345,489,356,283,296,273,364,342,249,294,315,289,450,855,1224,1256,903,1106,1042,1040,1021,1276,1698,1382,1106,939,600,788,810,623,487,487,489,391,619,826,593,939,1470,1194,642,521,566,703,624,695,850,619,882,1250,1444,885,388,373,278,273,462,1532,2368,872,568,532,506,1030,1142,1832,2082,1684,1580,1538,1700,1460,1294,1222,1070,1072,1092,1074,789,927,1220,912,728,985,1144,1206,1296,1334,1404,1682,1804,1646,1488,1682,1844,1680,1418,1090,719,1278,1194,940,1112,1316,1336,1188,1158,1202,1098,881,549,763,1015,1102,863,698,965,1166,1730,1124,661,756,620,820,1252,1236,1140,1136,1010,938,1046,870,803,756,764,647,703,913,714,568,617,558,477,790,1056,680,703,865,1110,861,597,770,1038,1260,1178,1144,1338,1332,1324,1412,1388,1138,1180,1160,1294,1258,1080,1110,1130,927,1162,1262,1532,1390,1224,1434,1498,1328,1292,1340,1356,1324,1378,1468,1378,1394,1534,1648,1750,1478,1432,1492,1556,1518,1296,1026,597,543,464,490,474,423,523,485,401,401,398,367,365,351,368,381,445,463,458,465,462,435,404,396,485,543,558,536,619,658,626,587,555,522,463,391,305,270,293,411,512,534,487,439,363,356,364,342,311,307,401,498,445,370,373,424,592,664,569,502,521,810,916,720,637,715,736,688,542,458,439,400,405,401,402,429,420,394,384,386,375,364,393,396,406,381,373,344,328,325,355,327,355,357,307,296,284,273,282,298,305,586,590,404,338,399,453,458,460,487,509,479,477,465,421,617,727,706,508,356,335,379,360,326,356,382,375,396,368,370,355,383,410,368,318,332,344,372,401,427,403,403,455,744,1018,977,593,414,399,361,332,326,326,343,351,349,335,360,352,339,367,416,392,341,386,431,392,454,591,599,459,425,532,567,583,567,659,780,763,975,865,704,752,660,457,543,917,1362,1148,895,1296,1552,1342,844,733,1274,1378,1148,1036,1180,1252,1476,1646,1750,1540,1340,1764,1598,615,437,344,357,366,500,639,569,792,1090,1444,1598,1736,1732,806,487,407,815,1156,779,1046,1174,1062,982,754,800,1015,800,430,469,459,465,499,390,833,981,669,935,1164,736,453,387,349,343,476,1040,1230,1282,1608,1704,1444,811,472,596,822,915,1108,988,717,889,1020,866,760,628,487,385,303,331,412,347,290,249,241,253,278,308,323,307,317,308,301,308,337,505,768,634,456,423,411,380,339,335,327,319,311,293,290,307,296,293,296,296,302,314,341,327,307,309,303,292,305,303,285,291,288,304,319,404,430,363,307,281,292,296,293,319,291,430,636,771,827,797,664,543,490,440,412,399,403,434,440,440,458,469,476,537,574,1032,1428,1516,1608,1448,1016,1018,1622,1196,890,862,1278,1496,1516,1382,1418,1526,1474,1316,1202,1260,1366,1512,1560,1494,1504,1262,1028,998,922,984,1124,1178,1046,1202,966,539,604,799,824,855,669,639,905,857,891,912,676,750,603,707,578,580,1242,1512,1426,1426,1688,1626,1526,1934,2214,1464,851,1206,1011,988,925,1012,944,882,933,1030,1152,940,489,481,683,898,1234,1422,1106,749,559,582,1021,868,639,1084,983,695,362,320,332,394,469,1338,1712,1074,794,771,788,812,678,484,570,1172,1072,1210,1134,672,443,488,546,569,559,566,710,1262,1326,1142,881,826,908,847,636,429,580,1102,1050,543,902,1416,1738,1280,755,656,504,651,701,793,1015,968,626,500,670,700,716,683,600,544,440,317,306,308,392,463,429,388,320,282,225,236,228,207,212,223,252,301,327,397,475,626,1182,1518,1446,1968,1494,988,1184,1366,749,610,899,1004,944,870,676,619,902,1332,1318,660,415,401,575,865,737,690,1108,1400,1005,1212,1884,1860,1550,1382,1400,1338,1378,1346,1278,1350,1404,1450,1876,2242,1864,1356,1328,1404,1290,1526,1706,1456,1170,1576,1964,1630,1218,1168,1013,671,654,888,1426,1540,1420,1310,1338,1598,1476,1318,1328,1240,1017,1110,1064,846,728,681,522,644,697],[449,577,469,372,329,311,295,266,249,274,301,325,384,355,327,317,342,330,346,382,392,345,326,375,401,368,459,506,405,334,434,528,591,576,594,722,730,849,805,617,650,701,763,1124,1406,1266,1158,1014,756,791,902,764,505,549,709,839,1044,1070,882,680,644,803,982,1022,1146,1150,930,919,1100,1758,2140,2042,1894,2184,2100,1726,1536,1376,957,732,961,1426,1514,1230,625,431,664,1130,1068,708,423,325,388,402,374,376,336,321,304,388,591,816,1152,909,477,574,780,1098,1310,1526,1544,1330,1470,1420,1336,1400,1220,997,840,1214,1552,1170,660,680,513,1150,2048,1560,710,390,338,322,347,283,364,486,496,604,543,612,838,1017,990,1242,987,924,1540,1294,675,584,1021,1446,827,655,338,333,333,351,448,419,335,376,445,409,453,512,481,650,489,324,338,330,319,308,303,334,327,278,288,325,280,281,283,259,224,216,215,217,231,231,223,264,409,586,778,877,941,985,977,982,922,867,851,772,636,583,507,443,449,438,426,527,482,388,393,367,396,452,481,508,451,365,316,328,459,501,496,410,386,358,354,403,470,493,429,474,519,455,397,399,401,384,379,377,387,388,441,541,664,628,482,502,478,549,562,475,401,359,424,472,437,498,628,591,441,401,515,515,500,519,554,524,546,494,439,448,431,424,354,371,435,468,490,1412,1714,1536,1001,458,405,473,527,478,495,406,418,454,408,384,437,495,462,411,483,583,537,423,378,348,345,319,287,290,555,879,641,427,492,454,421,373,666,1238,655,412,532,762,1172,980,1236,1794,1164,1362,1270,851,511,311,832,1142,1388,2004,1950,1280,894,618,436,447,378,326,353,340,414,763,897,872,1480,1760,1618,1868,1738,1242,1322,1792,1144,884,590,444,384,404,869,1072,1088,1120,666,539,485,803,1280,1490,982,730,509,411,602,863,854,1062,1428,1404,1514,1360,1142,1208,1148,1110,1240,1292,1330,1376,1412,1368,1066,979,885,812,819,448,392,419,391,361,448,585,498,415,497,536,576,841,649,783,930,801,1550,1780,1308,1214,1204,1100,926,1054,1428,1136,869,1003,1074,733,610,910,953,800,737,860,735,578,552,484,546,770,809,706,611,706,869,774,530,502,585,669,868,987,781,633,659,956,1324,1190,1126,1108,1176,1182,955,886,767,784,517,874,1256,1208,1100,762,489,547,643,1009,1132,834,676,513,429,434,510,507,487,458,427,436,480,507,521,546,491,485,694,1282,1022,641,791,832,1186,1616,1676,1828,1902,1460,860,1096,990,585,429,453,450,699,1058,1442,1136,639,1052,1436,681,672,752,924,1376,1686,1288,669,926,1194,922,1272,1672,1606,1926,1998,1476,757,483,463,447,433,453,463,450,446,440,426,427,439,446,443,435,419,412,437,383,388,406,396,408,373,372,379,382,396,414,412,393,308,261,341,398,399,422,449,469,470,433,437,650,1003,903,581,439,487,490,569,696,496,440,455,595,481,388,536,1021,1014,701,431,398,730,603,385,554,617,494,387,643,1076,739,532,675,723,611,365,320,512,624,672,491,434,409,430,650,665,561,377,406,494,522,502,537,393,307,293,436,447,438,681,652,450,463,541,656,1130,1802,1017,1100,729,617,727,1160,1430,1378,1248,1266,1470,1562,1388,962,824,589,893,689,472,619,813,856,641,451,430,561,590,587,850,772,774,786,629,378,360,448,682,972,1110,1252,1422,1180,529,491,349,418,766,839,998,788,814,1130,1314,1172,1100,1324,1110,1076,1108,653,1194,1598,1532,1010,647,736,1007,1368,1682,1810,1964,2138,1992,2040,2304,2256,1910,1666,1338,720,988,1288,1082,1226,1388,1388,1570,1812,1886,1744,1946,2296,2432,2464,2200,1970,1448,637,543,505,556,548,541,458,415,414,411,414,400,365,356,437,697,638,541,558,637,792,869,863,938,852,618,572,584,578,568,528,477,456,511,477,550,765,774,625,477,547,796,833,990,1005,1262,1660,1918,1700,1638,1644,1504,1318,1306,999,633,740,1252,1230,999,1274,1582,1648,1374,991,893,1094,1198,1104,1100,1494,1432,1440,1306,1410,1642,1896,1734,1654,1526,1176,1152,1256,1252,867,693,982,1316,1510,1020,1144,1336,825,495,446,896,1448,1156,1084,1256,1550,1466,1294,1026,855,888,860,869,848,716,541,509,660,834,1034,1186,1034,1028,744,678,699,777,1098,1172,722,579,650,512,348,338,362,756,965,807,631,490,379,402,430,616,749,569,387,436,592,900,944,562,278,320,332,233,325,269,361,614,567,360,319,279,269,312,325,318,399,275,311,553,774,768,896,1026,1068,960,623,537,772,764,953,879,649,588,583,555,749,857,558,484,827,667,587,1070,1282,874,512,541,723,872,645,560,527,568,843,1116,1214,867,450,472,452,460,497,1498,1964,863,584,519,584,1020,1216,1388,1516,1692,1542,1232,1376,1346,1392,1282,1360,1188,818,906,958,988,1422,1078,678,820,1282,1344,1308,1080,999,1300,1472,1300,1218,1560,1612,1282,1190,1100,730,1084,1074,858,884,1180,1502,1434,1120,872,757,725,619,747,930,1108,763,841,1015,1156,1566,1322,1052,983,893,1114,1772,1368,1146,1190,1188,1126,1066,934,745,629,709,722,1142,1186,888,828,728,609,507,524,505,694,832,819,1126,1156,1334,1090,1094,1404,1256,1360,1418,1306,1344,1538,1580,1578,1484,1138,1168,1476,1172,1118,1148,1544,1930,1628,1290,1144,1144,1256,1158,1288,1398,1372,1154,1370,1466,1368,1324,1306,1346,1272,1146,1282,1462,1346,1056,1350,1548,1286,1058,927,676,534,496,465,464,464,417,383,365,372,371,340,368,423,445,518,641,693,559,411,379,368,415,507,535,523,559,650,675,565,419,383,380,311,272,274,351,475,516,526,518,468,418,445,432,374,406,405,436,488,486,520,548,515,658,608,491,470,547,802,883,806,1088,1216,968,838,778,493,408,392,397,400,429,443,423,411,401,393,384,399,440,407,401,400,397,386,359,422,541,450,369,297,288,298,283,264,291,309,291,516,579,375,314,359,398,391,411,453,478,455,455,373,354,524,693,616,419,349,370,359,327,349,349,376,384,404,390,384,360,367,404,361,282,299,323,354,390,409,430,414,413,466,711,716,487,400,387,368,338,310,317,342,368,390,387,352,304,288,290,314,332,313,334,360,380,513,626,650,557,535,599,551,466,511,601,576,623,612,524,671,604,655,591,429,798,924,581,910,1252,1210,1180,871,558,652,830,1172,1116,1062,1036,1166,1280,1314,1428,1798,2186,1776,677,398,338,322,315,466,672,634,502,843,1234,1046,1015,852,521,531,388,728,1228,1216,1294,1092,861,915,941,1270,1316,721,493,547,495,445,413,347,391,513,485,554,495,465,410,409,325,281,653,987,834,1298,1668,1466,1084,908,675,587,634,673,864,715,684,1019,1062,1032,1112,803,502,391,310,342,454,502,342,243,245,260,272,300,314,306,311,311,296,303,314,350,543,700,617,473,348,295,292,313,332,359,432,437,446,369,329,327,314,303,292,289,283,285,292,293,292,300,297,291,297,298,288,305,311,315,307,301,290,288,274,285,307,277,387,504,608,736,822,816,714,671,972,1210,658,500,445,445,451,478,485,469,455,538,1028,1576,1934,2300,1828,1498,1000,960,1166,835,486,811,1356,1522,1348,1156,1092,1040,979,893,1090,1100,1186,1330,1702,1620,1478,1302,1023,1034,1068,1136,1172,1218,1098,1534,1066,648,961,1166,1116,776,395,517,698,712,647,633,421,612,720,706,568,550,1176,1652,1538,1528,1568,1470,1526,1826,1936,1508,1052,1208,1204,1382,1384,1284,1230,1044,872,896,865,786,689,574,564,599,1032,1544,1210,856,849,647,659,763,800,990,692,689,430,316,342,343,421,999,1310,1030,528,490,762,973,1088,854,616,681,973,1312,1021,800,650,516,705,921,843,772,811,1092,1400,1410,1058,702,1204,1212,559,531,390,445,543,441,375,433,997,1048,992,1004,680,701,927,803,604,916,1015,678,584,605,630,597,535,471,393,335,332,343,339,311,326,317,349,384,278,295,300,264,388,623,883,752,493,452,494,786,1554,1338,1140,1262,797,819,1482,1350,756,832,660,692,744,544,524,539,642,970,1056,672,433,535,792,733,702,1020,1050,805,503,1050,1828,1862,1472,1440,1580,1460,1428,1518,1378,1794,1898,1556,1432,1734,1600,1292,1472,1600,1580,1596,1606,1908,1938,2098,2116,1648,1460,986,1070,901,658,818,1216,1360,1494,1796,1514,1346,1200,1050,1178,1126,1082,1088,952,841,788,642,502,590,825],[507,547,443,366,335,307,280,274,300,320,335,321,291,285,295,266,317,430,430,360,427,473,347,345,341,334,349,365,341,312,351,492,605,594,725,822,946,1106,953,719,699,742,857,763,1001,1300,1360,1038,691,783,1076,819,603,487,731,991,1218,1082,804,745,717,787,998,846,799,1072,1038,997,1074,1520,1726,1758,2166,1908,1392,1092,918,805,447,362,539,1110,1200,1072,594,439,670,1058,862,496,350,338,387,427,380,379,369,323,390,375,1000,1544,1484,899,515,571,789,1240,1258,1204,1414,1566,1604,1334,1234,1144,893,765,739,799,750,645,539,520,603,1562,2406,1614,696,412,372,389,397,358,341,384,297,360,379,442,610,673,1028,1220,1040,1286,1640,1394,1074,990,1208,1354,1064,735,455,484,406,493,614,388,289,350,343,470,1030,869,611,555,453,419,367,289,240,264,274,235,190,258,310,311,311,316,331,305,263,245,236,237,255,263,247,278,335,416,469,606,707,821,858,888,926,924,941,935,852,817,788,739,564,515,494,495,459,417,438,433,431,449,507,669,532,384,363,394,633,702,578,474,410,358,363,500,557,517,393,399,391,369,376,379,385,391,375,347,352,426,641,621,585,544,397,361,386,471,498,416,381,377,401,455,473,459,644,658,583,503,455,463,421,411,456,432,387,397,409,468,498,437,371,379,509,593,623,923,1206,1316,828,456,437,320,396,494,466,381,430,449,382,360,410,406,390,351,372,521,556,388,352,333,313,318,311,314,358,397,416,471,472,465,435,406,1100,1136,504,462,381,524,1142,1150,1020,1244,1258,1814,1814,1284,770,373,691,1376,1362,1528,1874,1572,1288,973,683,930,656,384,384,396,400,716,1011,1160,1500,1580,1192,1362,1404,1100,1282,1738,1228,1198,961,505,559,641,603,644,764,930,557,517,526,1036,1770,1752,1332,937,510,425,489,521,541,969,1386,1170,1036,1064,1016,952,903,686,818,1062,1084,1214,1394,1204,1412,1454,1214,1232,1007,601,433,398,322,292,487,654,738,789,596,556,550,713,755,581,376,353,521,688,971,935,924,875,922,1162,1428,1258,912,893,1050,941,730,735,913,993,783,701,674,465,313,424,739,892,969,893,841,1096,1284,1024,936,684,419,615,1414,1400,820,980,704,498,713,748,781,937,1194,1332,1122,973,736,895,937,1198,1410,1388,1262,799,499,443,472,869,1230,1242,1120,746,518,390,408,481,457,413,441,447,477,469,483,509,447,506,1168,1468,949,752,777,828,1164,1214,1168,1250,1116,830,591,833,1266,1020,801,924,974,921,1248,1492,1106,850,836,1030,1120,1210,1058,937,1198,1406,1156,868,881,874,811,1024,1316,1550,1656,1532,1010,567,462,448,407,392,372,431,451,441,426,415,426,432,434,430,426,424,422,431,456,469,419,410,387,400,392,396,408,427,440,449,440,364,328,383,399,399,440,470,469,454,454,455,752,941,803,655,586,716,623,579,520,427,487,517,660,657,509,368,487,509,454,359,607,1126,577,388,552,641,426,422,678,762,639,600,592,594,593,416,410,552,590,600,457,416,373,328,318,472,666,726,613,528,460,442,492,536,409,413,440,395,471,615,560,484,530,593,675,982,1498,1244,933,776,789,801,1060,1288,1290,1216,1252,1354,1470,1550,1426,1142,908,792,685,633,726,697,597,723,1086,694,480,439,545,947,1146,1132,856,590,373,346,364,351,541,625,768,1296,995,565,550,413,542,847,887,693,536,814,1276,1502,1450,1450,1162,1106,1164,990,703,794,1124,1310,882,668,615,655,886,1474,1832,1764,2002,1878,1590,1682,2048,1936,1622,1240,529,676,920,975,882,1306,1386,1476,1346,1604,1678,1626,1572,1602,1674,1636,1622,1278,683,562,494,505,509,489,458,449,453,441,430,397,399,392,492,700,544,482,498,561,705,844,859,747,639,597,562,563,584,616,572,520,514,521,504,474,536,701,797,569,498,819,910,918,863,1009,1678,2120,1818,1478,1594,1516,1288,1370,1498,1120,1030,1460,1444,1270,1484,1750,1704,1396,1136,1018,962,840,1382,1318,1064,1202,1410,1402,1638,1802,1564,1332,1414,1418,1128,1070,973,1310,884,653,912,1360,1482,1206,1310,1210,778,524,509,951,1240,1156,1210,1280,1854,2026,1484,846,850,869,825,817,886,906,711,554,527,750,1156,1312,1106,870,771,682,579,593,737,1156,991,622,519,513,393,351,404,595,905,1334,1334,1240,696,474,458,494,654,644,585,604,960,1378,1146,516,311,343,283,374,505,354,404,486,482,523,455,343,314,472,623,520,652,564,393,440,448,450,854,1180,1444,1038,365,469,562,413,815,943,878,802,1054,752,1222,1472,746,626,846,630,588,1104,1152,848,393,403,558,702,434,363,457,445,543,833,1016,899,854,761,972,1096,1038,1096,995,1062,1134,614,531,801,918,727,790,1412,1324,944,783,1013,1152,1524,1758,1122,664,764,1148,1070,1340,941,609,682,1058,1112,1138,1023,1068,1100,959,718,700,1296,1448,866,868,1044,1024,1122,1124,1028,950,1015,1220,1250,1002,533,489,755,1052,831,796,963,888,1200,1144,1044,1322,1240,966,871,930,1132,1458,1168,1204,1254,922,736,634,669,868,1001,1078,1290,1512,1410,1142,1006,811,739,693,660,487,685,1244,1286,1288,1372,1414,1246,1360,1342,1352,1502,1380,1278,1230,1110,1206,1510,1320,1244,2090,2554,1412,1110,1138,1662,2250,1756,1007,815,1186,1266,963,1300,1270,1146,868,1084,1196,1262,1256,1350,1366,1180,996,972,1256,1436,1116,1422,1490,1416,1416,1360,987,565,458,380,386,496,804,741,458,372,351,363,369,404,469,585,589,622,631,584,451,372,379,456,518,560,554,644,643,513,413,386,372,303,301,314,379,376,412,509,518,483,436,468,466,525,664,488,442,560,531,523,507,441,419,409,451,458,426,519,558,515,725,962,875,824,802,511,439,468,468,509,528,445,392,379,359,374,359,359,423,412,409,422,400,380,395,533,712,748,625,487,388,392,337,304,341,352,321,536,651,405,329,342,359,413,476,473,423,416,357,273,276,425,546,465,418,575,512,389,576,465,387,358,396,416,408,395,358,360,379,350,282,292,339,360,390,373,411,431,442,434,426,435,406,397,378,367,354,339,318,305,339,360,346,297,245,256,296,337,323,313,362,381,390,499,661,650,630,632,589,449,375,433,624,703,660,518,449,418,311,726,946,774,1348,1490,937,774,795,686,714,722,688,1138,1090,837,1034,962,803,1064,1196,1134,1282,1688,1446,829,470,453,391,357,423,568,669,530,533,955,996,618,439,443,460,465,392,575,836,1342,1526,1122,1086,1440,1452,1628,1214,648,910,821,440,365,383,380,501,596,481,498,401,476,588,520,421,382,885,1250,935,731,903,1268,960,899,1026,973,937,767,761,620,629,804,800,998,1072,761,511,470,419,383,354,454,364,271,255,256,255,288,298,295,290,322,306,297,290,271,379,512,497,370,278,266,281,392,399,437,485,522,511,412,397,371,354,354,338,298,301,295,297,295,298,304,298,295,310,305,303,309,303,301,307,305,300,292,278,290,301,801,951,533,454,524,586,681,714,688,1334,1848,1114,646,503,480,503,527,530,507,621,1120,1660,1710,1938,2462,2098,1870,1422,908,599,529,718,1138,1170,862,453,422,515,515,659,750,873,828,904,1114,1430,1284,1140,986,733,727,833,821,990,1194,1144,1542,1460,1174,1198,1344,1284,797,423,371,415,703,736,698,597,612,985,1144,899,1015,1382,1464,1422,1350,1372,1338,1306,1242,1130,1160,1238,1418,1484,1478,1154,823,718,521,417,382,380,814,868,510,634,819,1032,1436,1160,884,986,946,722,1100,1314,1064,507,369,327,287,289,394,617,721,1032,1876,1132,588,851,1186,1308,1178,1210,1028,1036,1054,1096,1350,845,491,839,943,626,486,675,783,847,1024,797,590,862,788,678,938,607,476,437,406,265,283,591,865,1318,1418,764,700,1210,1448,785,462,842,1126,933,603,470,437,412,370,361,326,315,307,280,269,255,323,502,519,377,554,564,362,645,1274,1428,719,466,451,429,870,784,435,549,593,610,1048,1410,864,675,862,502,519,506,437,609,570,420,417,631,868,683,507,752,913,1196,1224,1134,726,516,1094,1758,1886,1622,1528,1418,1236,1400,1646,1476,1556,1476,1516,1282,1292,1480,1474,1512,1522,1438,1490,1404,1720,1992,2038,2002,1676,1388,1084,1100,1064,936,819,942,1090,1422,1894,1486,1322,1440,1262,1168,1230,1244,1252,1222,1008,598,494,505,689,741],[574,512,385,374,355,313,272,287,312,298,302,294,313,305,285,268,323,482,503,456,551,631,413,355,312,324,371,354,315,314,304,364,458,628,746,675,533,526,729,736,828,891,879,788,792,929,1240,1338,827,995,1074,644,537,500,683,984,1104,930,845,890,806,843,1122,793,584,734,639,922,1012,1130,1210,1328,1688,1456,1001,721,499,471,442,407,444,633,823,818,570,442,514,497,375,370,394,371,368,401,382,369,384,374,491,429,678,1156,1484,1250,571,683,1052,1246,1352,1044,1288,1378,1013,963,1360,1110,727,780,1100,818,451,359,456,563,505,821,1194,933,650,669,611,396,458,448,437,463,434,608,580,475,404,548,1048,1198,938,1308,1268,938,800,1023,1476,1384,1400,943,631,585,457,580,591,355,348,323,368,650,1444,1440,1772,1234,614,570,517,422,312,339,323,221,262,276,296,285,330,341,341,359,305,278,258,246,261,279,254,309,339,401,434,389,399,479,563,692,813,867,945,918,817,768,727,804,700,725,689,526,461,494,477,497,558,547,567,683,554,401,411,443,592,713,709,588,490,400,342,543,547,412,381,401,336,291,321,352,379,402,389,349,358,396,548,538,536,528,418,385,394,434,440,391,394,358,357,372,418,431,627,672,664,557,498,477,413,403,428,431,418,400,389,476,525,430,383,433,522,606,705,662,567,533,420,438,412,310,350,588,512,373,411,438,448,403,390,357,380,370,310,416,521,384,325,325,318,280,274,307,347,431,476,447,467,459,427,861,1700,1412,764,471,365,356,484,469,383,574,1220,1584,1732,1998,1196,477,908,1118,1226,1632,2186,1954,1642,1274,1086,1096,713,398,338,317,335,424,547,725,1368,1658,1334,1666,1274,896,1242,1694,1562,1478,1172,861,874,824,524,561,662,733,539,513,500,952,1136,868,1078,1036,495,449,375,361,406,627,728,810,851,777,623,819,880,862,1005,702,678,828,1140,1402,1308,1214,1334,1352,1234,752,414,377,377,351,473,488,666,892,702,586,552,577,650,662,547,441,457,919,973,771,727,758,1174,1336,1402,1284,940,877,1023,1017,963,856,750,948,996,760,897,777,451,365,486,734,1156,1252,1138,1108,1352,1166,1238,1182,828,781,1228,1390,918,594,389,362,475,613,613,725,1268,1234,1012,984,781,792,1102,1298,1030,1010,1088,828,546,397,419,1007,1228,974,1118,1000,631,384,369,447,493,489,457,483,451,343,367,461,480,774,1230,1198,792,859,1058,973,871,629,796,1504,832,401,449,708,1462,1504,1350,1868,1698,1394,1722,1404,1142,1046,893,739,929,1036,1136,1294,1634,1576,1146,1082,1036,752,538,827,1336,1140,1390,1372,724,395,406,439,429,394,314,415,473,375,371,406,417,416,416,407,407,407,422,458,457,358,320,368,420,427,404,409,441,452,428,416,446,438,405,393,388,401,420,427,415,431,482,469,528,542,558,707,795,748,608,532,591,643,730,710,595,618,550,396,462,414,423,370,318,328,329,475,961,859,399,482,634,752,726,578,535,628,489,401,401,462,552,486,418,437,371,416,467,469,576,601,714,824,697,502,474,453,385,493,476,322,497,885,479,379,536,623,738,840,1298,1582,1024,723,726,549,469,658,877,982,990,976,1112,1082,1244,1498,1380,1192,1276,1378,1268,1062,890,833,1482,979,519,431,678,793,925,1024,944,933,424,400,445,323,435,675,637,669,531,376,341,353,491,677,607,559,544,797,1114,1444,1476,1360,1364,1466,1240,858,689,749,1028,1190,972,838,783,976,1064,1438,1652,1504,1556,1488,1452,1636,1832,1762,1628,1288,717,648,854,1068,916,1042,1202,1234,793,663,1224,1620,1854,1924,1786,1574,1300,869,617,589,522,477,445,400,392,420,450,490,459,445,415,396,536,584,484,481,503,579,678,771,883,743,609,605,593,597,618,580,543,588,610,575,538,503,482,496,706,583,568,771,955,870,872,987,1404,1742,1528,1692,1852,1554,1270,1418,1284,880,1064,1384,1412,1482,1566,1778,1738,1350,1272,1068,1018,1322,1532,1342,1232,1256,1366,1598,1574,1404,1230,1384,1476,1500,1026,898,739,742,569,589,845,1086,1224,1174,1060,891,841,796,1172,1188,1092,1206,1410,1372,1516,1606,1056,991,1102,922,865,797,797,875,945,887,616,610,912,1009,744,720,857,866,748,657,639,969,1214,811,487,469,479,466,412,519,810,1522,1724,1916,1064,484,496,401,324,411,389,515,847,906,589,353,357,356,368,814,691,351,390,462,573,620,506,410,377,716,867,710,783,637,438,611,529,358,556,1192,1580,810,392,453,410,364,778,969,780,1034,1300,817,921,1280,949,814,1060,791,783,1482,1240,821,553,486,589,638,416,374,448,407,453,1028,1326,957,810,933,1268,1336,1240,1270,1242,1068,815,370,396,720,1090,1058,602,1168,1300,985,840,982,1132,1364,1372,1088,1192,1226,1372,1242,963,633,478,651,1002,1206,1096,1042,1290,1444,1094,891,878,1212,1522,1096,944,981,1019,1122,1220,1438,1256,1158,1140,1256,777,478,1052,1002,741,662,872,1015,982,1108,1176,1340,1470,1274,756,725,1110,1324,1290,1040,1182,1240,947,747,977,944,755,977,1136,1516,1382,1021,993,1140,1116,793,628,616,595,818,1216,1346,1272,1234,1188,1240,1268,1170,1296,1502,1442,1330,1184,1218,1278,1274,1320,928,1286,1526,1264,1092,1058,1216,1208,1352,1550,1118,1254,1128,1016,1200,1222,1218,1278,1334,1396,1350,1276,1354,1404,1238,925,648,1222,1648,1528,1074,894,1128,1296,1438,1254,1034,536,441,480,553,957,1116,659,394,381,396,514,553,692,885,705,783,802,664,506,421,356,370,419,462,548,630,553,482,459,429,423,389,361,321,354,333,382,500,558,544,438,426,479,617,656,509,423,482,495,421,403,678,1070,1384,1400,814,594,602,608,619,806,1310,1064,777,537,412,450,451,447,478,485,451,387,375,376,401,354,308,361,387,391,412,396,386,517,662,752,745,643,554,615,645,502,460,447,410,416,564,731,478,341,318,319,461,510,510,492,406,314,282,276,335,359,376,475,735,690,541,664,484,386,398,398,395,408,395,361,366,338,316,289,322,344,365,382,344,338,419,462,423,417,449,398,387,389,374,368,361,319,299,314,309,272,258,294,316,332,310,300,297,329,360,379,594,731,673,636,583,533,540,656,486,584,727,739,719,668,470,377,650,706,1284,2344,1764,1096,660,623,828,932,684,693,1118,954,485,461,486,618,798,953,921,910,1146,937,733,647,508,399,337,403,604,909,508,586,1128,880,533,462,448,506,510,645,884,1102,1288,816,1086,1598,1830,1340,1266,955,1052,1610,1110,430,326,386,473,653,551,567,592,431,557,849,719,459,557,1116,1410,1148,1220,965,891,903,833,1120,1164,1154,1072,944,815,685,649,599,606,602,658,724,683,458,353,322,319,296,264,241,253,266,285,290,297,307,332,333,318,318,330,354,341,304,286,280,302,328,498,506,509,458,410,329,358,496,554,438,400,401,342,338,309,292,295,298,304,297,300,327,324,303,304,300,299,299,298,300,291,313,334,416,1510,2078,1250,622,443,456,502,504,521,870,1134,1007,941,1012,908,701,565,648,816,1226,1500,1512,1594,1670,1890,2358,2530,1738,837,396,689,1200,1094,712,480,513,661,641,500,667,819,799,1038,1250,1304,1218,968,990,1060,800,647,667,646,957,1244,1120,1382,1502,873,732,1048,1026,728,536,499,510,811,1084,1072,982,893,1126,1258,933,900,1080,881,774,788,794,679,775,702,681,932,1168,1532,1520,1656,1394,913,864,705,475,608,645,799,731,514,1118,1482,1054,1304,1446,1366,1604,1416,839,698,623,570,410,377,445,341,338,519,697,745,1104,1732,1096,800,946,1044,978,985,1424,1648,1260,893,841,885,786,678,920,821,542,505,618,618,598,663,606,588,606,452,607,1066,1112,606,516,451,290,350,559,694,736,677,392,603,871,1340,940,520,522,854,1116,1150,880,516,395,382,371,368,341,296,287,285,348,429,490,427,464,940,924,543,605,982,785,420,504,504,403,590,664,645,493,419,637,1222,1264,632,948,736,437,486,563,841,841,843,1134,907,922,1466,1266,727,606,695,1114,821,580,566,728,1116,1486,1696,1534,1564,1454,1336,1232,1250,1396,1396,1364,1426,1394,1446,1328,926,979,1384,1500,1710,1422,1240,1592,1976,1826,1416,1106,941,794,853,858,797,774,725,1306,1528,1396,1568,1528,1472,1726,1702,1434,1494,1432,1404,1170,611,566,769,575],[619,497,364,374,377,321,271,281,335,298,261,278,295,278,274,293,348,497,392,498,662,686,445,361,391,440,509,502,391,370,358,335,375,567,606,579,596,694,777,767,835,923,726,521,751,944,1000,1486,1384,995,666,539,485,547,862,1142,1282,949,787,619,607,608,766,741,721,718,811,1088,1002,1021,1362,1346,1222,894,1090,1158,677,441,454,461,475,591,674,580,448,389,323,309,420,656,583,466,413,549,475,412,450,474,565,708,550,692,1238,1146,733,929,1024,1082,1284,1292,1450,1400,1116,1212,1416,1100,1116,1118,1330,965,463,338,412,579,545,968,1468,932,685,963,850,435,459,505,787,861,807,1098,1072,688,666,878,1164,1009,1114,1472,984,783,736,1110,1426,1202,1082,954,763,626,516,450,401,407,421,365,397,632,1016,1276,1590,1158,744,665,514,462,446,412,370,324,346,282,292,319,386,400,424,505,412,331,308,310,296,280,255,318,380,389,416,392,363,427,460,427,532,502,741,906,879,800,717,678,685,733,677,600,567,586,573,628,592,567,669,634,541,481,461,430,452,601,758,606,458,438,440,525,460,313,319,377,307,261,330,364,398,410,384,351,349,367,401,432,472,482,408,374,393,414,398,361,397,406,392,386,447,506,570,587,561,594,647,569,429,396,464,438,438,408,420,432,502,498,412,401,445,509,549,541,570,614,494,486,713,588,371,468,421,331,347,360,380,361,352,363,410,444,367,376,382,326,316,331,325,332,394,433,462,435,389,400,458,466,421,952,1578,1482,962,503,440,393,582,550,427,667,942,1130,1556,1698,720,517,909,673,1476,2118,1756,1362,1348,1318,1326,1064,598,358,320,398,439,517,813,1132,1632,1720,1398,1196,761,642,1102,1572,1596,1566,1202,990,895,803,562,536,746,876,741,549,562,790,680,533,761,961,478,458,390,333,604,1222,1476,1290,1270,1200,912,919,1046,1094,1400,1412,1214,1042,968,833,860,979,1014,1162,924,468,423,365,377,339,443,694,883,764,631,774,766,656,642,489,559,815,516,650,672,987,1356,1324,1178,1226,1346,1346,1110,917,977,993,1036,963,833,697,908,948,1060,1220,963,497,381,801,1376,1350,1198,880,943,995,1320,1466,1344,999,956,1160,1216,781,438,502,644,790,628,512,901,1428,1228,916,693,869,1340,1208,974,764,596,533,438,412,441,1122,1172,620,743,1068,834,433,404,404,377,411,397,439,418,365,354,385,432,566,899,847,421,724,1158,1082,670,717,1244,1760,898,365,425,969,1804,1804,1868,1714,1192,1602,1760,1396,1238,1096,1100,1013,759,981,1362,1298,1670,1534,1024,607,753,532,384,1078,1258,808,1114,1046,561,346,324,414,453,444,418,456,495,431,394,402,413,403,401,403,408,434,455,461,426,329,307,377,427,416,392,385,418,434,421,420,428,427,411,372,379,421,439,438,424,423,463,410,393,404,697,918,834,839,830,776,744,650,602,650,672,610,528,361,338,384,386,334,313,392,383,365,527,422,431,650,694,596,682,568,443,547,477,399,372,365,352,279,330,369,376,601,453,354,626,571,437,614,791,713,586,430,377,426,400,361,555,876,449,360,470,647,1124,1238,1204,1142,805,713,497,398,310,364,604,814,686,611,728,658,1044,1246,608,666,970,887,833,1256,1424,1390,1620,1274,1070,894,1028,1166,922,772,958,950,550,482,388,272,340,777,833,446,408,423,389,342,391,632,650,720,521,725,1198,1312,1184,1288,1290,1148,1128,990,1140,1188,982,1012,1028,974,988,1362,1248,1514,1606,1172,1002,1124,1308,1770,2046,1754,1554,1356,1244,1009,1016,1064,809,594,845,1332,1310,959,1374,1460,1276,1318,1516,1368,1142,954,806,812,665,479,455,466,514,573,544,572,540,584,570,529,544,514,501,514,517,509,502,509,585,619,650,613,606,630,593,506,523,565,596,571,536,484,477,445,635,595,514,688,934,938,857,939,1246,1526,1478,1630,1700,1634,1426,1518,1130,583,686,1078,1480,1730,1488,1550,1422,1496,1284,1170,1040,1108,1246,1384,1528,1488,1534,1462,1390,1374,1260,1464,1544,1368,828,850,985,725,548,832,943,686,1064,1230,1194,1098,992,1750,2514,1766,1316,1408,1528,1410,1240,1180,1021,1368,940,769,791,700,666,807,1088,1176,955,767,779,656,652,767,770,819,807,769,675,737,932,820,558,514,493,487,444,528,617,723,821,1382,979,425,503,567,463,346,327,486,448,353,347,347,280,295,531,810,569,329,336,446,562,563,501,389,364,472,596,916,901,574,452,534,541,357,382,846,935,587,471,531,469,333,716,979,897,1078,1312,902,664,1152,1414,911,716,637,1094,1512,983,642,1016,1186,956,714,421,477,800,468,373,850,990,917,978,1110,1226,1072,631,774,1204,1096,861,453,500,725,1188,1078,641,1118,1148,813,973,1216,1138,1296,1376,1132,1344,2084,1682,1190,1062,1036,1054,1042,1208,1356,1110,825,1130,1484,1122,918,1144,1406,1494,1434,1228,1011,1212,1458,1494,1698,1378,1202,1005,1102,803,600,1164,923,510,668,813,880,748,1068,1526,1566,1410,1584,1302,1040,1168,1142,1072,1184,1068,1144,1172,1242,1474,1414,1088,1198,1242,1400,1432,1290,1134,1098,1116,692,480,501,844,1012,1200,1334,1334,1110,1004,1200,1294,1274,1316,1472,1366,1266,1190,1302,1236,1210,1650,1340,1112,1108,1020,1013,1148,978,821,1410,1758,1516,1614,1208,1064,1126,1202,1340,1388,1284,1300,1246,1238,1350,1568,1198,587,484,917,1382,1846,1476,935,936,1172,1230,1076,1544,1102,619,705,799,935,1028,730,448,370,647,1058,772,626,774,689,675,823,659,550,467,445,372,396,398,455,553,534,505,474,461,469,433,423,455,503,479,542,606,578,505,398,383,472,610,780,828,821,927,974,926,1216,1884,2102,2118,1942,975,813,796,832,833,1128,1324,1132,899,641,477,499,481,464,420,429,427,381,390,419,403,345,325,344,381,395,398,404,411,429,507,527,461,397,349,500,525,509,529,434,432,491,568,729,514,335,329,421,483,494,569,553,412,287,269,298,324,340,349,458,690,697,656,648,481,343,340,313,312,393,422,377,373,346,316,340,352,340,375,427,392,349,401,401,421,407,387,332,340,384,374,361,341,312,314,308,302,263,309,359,360,318,308,309,287,314,424,516,600,724,760,592,426,417,667,737,540,672,780,663,525,514,508,393,472,724,2132,2250,1434,1086,990,1122,1594,1412,609,443,437,378,386,398,386,304,481,480,492,788,831,853,1260,1272,912,702,661,965,624,537,356,577,1152,969,608,636,684,778,919,963,933,858,663,605,960,1490,1328,735,686,866,1342,1434,923,560,390,294,419,430,442,506,466,319,400,669,527,432,692,1336,1262,1272,1262,796,735,803,1306,1586,1346,1268,1076,957,797,742,909,808,694,701,750,965,881,527,353,330,301,266,255,241,242,277,292,293,315,327,322,336,344,354,341,311,312,341,330,305,294,322,349,440,459,393,350,386,455,473,491,358,362,379,356,328,308,289,298,304,308,300,300,314,312,296,292,287,297,305,300,299,290,315,319,458,1216,2106,2094,1632,931,587,849,685,491,591,720,799,1150,1338,1430,1572,954,792,1360,1516,1386,1288,1182,1300,1632,2236,1996,1278,1116,1088,1446,1534,1290,797,694,1046,1106,931,636,520,497,772,1274,1268,907,1086,1356,1248,1200,850,656,647,705,1004,1166,989,1130,1214,624,590,788,542,397,612,825,747,669,668,726,652,503,622,868,625,601,873,719,454,422,521,520,761,835,689,647,907,1336,1280,1094,752,702,1320,1020,608,849,957,858,724,549,1128,1402,1018,1346,1522,1404,2416,1860,719,520,439,430,374,379,579,559,551,619,501,368,565,643,468,536,477,369,469,912,1648,1348,894,858,901,749,884,812,734,655,544,735,1158,945,336,401,561,447,481,435,464,1318,1508,977,890,697,504,426,488,790,1088,745,416,443,446,481,470,662,761,858,870,920,1180,1106,650,433,422,452,470,405,419,673,994,777,514,495,893,1340,1232,1042,871,541,406,446,476,447,410,531,762,774,736,468,462,813,723,555,1086,954,543,513,774,1090,1372,1388,1592,1508,1350,1570,1296,901,608,595,846,846,689,843,917,1050,1190,1294,1512,1570,1222,1050,1026,1278,1462,1660,1478,1114,1250,1434,1288,960,836,1260,1460,1490,1324,966,1130,1700,1808,1340,1014,928,781,988,903,854,807,1004,1358,1224,908,840,1012,1450,1584,1396,1288,1338,1286,1314,1280,980,966,990,980],[472,427,374,399,441,376,299,300,381,355,285,281,305,267,278,293,391,536,484,535,639,662,593,479,444,428,440,491,424,389,395,393,390,537,629,661,692,700,704,735,908,933,612,575,898,1124,1282,1400,1428,1246,933,653,570,626,957,1620,1920,1034,510,441,533,539,547,648,695,728,681,780,836,971,1186,1160,849,740,986,1214,808,376,395,433,393,424,463,472,412,367,348,368,376,447,371,426,497,538,400,311,394,555,1003,1476,1194,1434,1558,1154,929,1142,944,940,1050,1220,1510,1212,1086,1216,1302,1007,1150,1108,1134,936,499,357,534,890,962,761,745,641,661,1013,980,545,691,850,983,925,763,1098,1312,1001,1140,1138,1384,1092,1494,1372,1056,847,731,875,951,828,783,865,774,620,542,532,501,468,439,342,407,890,1158,996,983,962,903,788,614,720,602,466,463,502,467,330,309,328,377,558,619,554,470,383,359,340,284,246,247,311,337,377,518,482,383,408,420,353,348,344,489,465,438,584,630,607,722,741,639,677,615,581,553,537,554,573,537,483,455,501,517,483,494,566,624,465,434,447,401,422,346,275,319,332,309,308,383,388,408,402,367,346,351,372,417,429,461,483,402,426,469,424,377,371,389,426,411,438,534,520,441,424,470,519,569,553,450,384,426,525,494,438,419,447,550,570,481,410,476,558,552,541,520,506,387,438,533,431,381,333,349,330,320,301,291,315,335,333,371,412,394,394,403,382,362,338,346,441,570,477,450,396,347,367,380,368,468,902,1166,1178,798,473,388,561,1146,977,675,1007,1234,1122,1262,1178,486,595,1074,1076,1682,2084,1476,1010,941,962,916,809,641,506,612,744,877,786,727,637,1028,1300,1302,1394,1344,992,1142,1704,1692,1552,1192,778,724,639,521,462,769,1076,945,714,703,625,505,510,775,877,471,411,430,386,583,1114,1224,1090,1272,1170,763,1019,1023,954,1116,1060,1342,1456,1242,1322,1136,791,755,717,603,746,579,411,360,365,551,749,789,724,724,909,966,672,665,665,629,811,439,372,634,947,1258,995,863,999,962,1096,984,830,913,971,1020,1034,1020,949,879,886,1050,1238,1218,1030,778,728,752,755,727,849,1470,1236,1228,1312,1202,1196,1138,1008,971,594,523,514,529,478,434,420,504,923,1084,735,458,802,995,602,940,658,507,437,425,405,475,1202,1342,648,540,926,951,505,491,567,461,386,362,391,408,408,382,340,368,596,988,606,376,694,957,966,689,690,1502,1498,645,400,414,761,1404,1652,1874,1234,1062,1578,1610,1240,952,1308,1820,1438,822,932,1318,1234,1224,1098,794,560,470,449,493,1204,1228,743,1001,896,476,339,290,369,418,424,425,441,444,457,439,403,417,409,403,413,432,429,409,425,428,482,448,409,419,383,344,357,390,420,441,444,464,473,416,388,419,430,426,464,379,330,452,439,435,391,469,701,830,803,720,590,477,448,504,583,594,591,491,389,364,331,381,446,592,578,329,277,329,378,584,981,726,395,533,473,315,315,328,369,376,337,391,359,251,203,216,351,338,575,867,619,368,474,531,552,623,694,486,392,325,318,731,769,456,443,427,399,726,999,1019,1124,655,699,457,388,371,394,545,654,584,767,900,648,1148,1206,723,744,1005,1134,992,951,1174,922,814,1084,1324,1410,1520,1410,1052,672,1007,886,697,506,304,281,359,727,797,450,505,531,491,527,507,653,494,386,480,922,1266,1108,1104,1338,1056,964,1128,1076,1154,1200,962,955,787,540,760,1248,1592,1750,1392,1028,1138,1132,1023,1508,1792,1678,2002,1868,1538,1332,1182,866,728,730,895,1520,2018,1510,1444,1466,1604,1880,1798,1302,1594,1916,1220,842,648,562,568,652,596,522,534,591,617,573,503,484,447,447,496,501,455,411,393,472,469,552,691,658,605,630,554,442,469,498,541,537,526,507,484,449,617,708,701,702,825,963,783,885,1292,1498,1526,1620,1728,1668,1436,1120,947,805,679,1009,1740,1952,1500,1360,1384,1440,1032,1032,1312,1246,1218,1604,1720,1546,1274,1116,1656,1538,1368,1590,1338,1314,1288,1240,1288,1108,965,839,720,630,1136,1252,1230,1258,1216,1828,2226,1940,1484,1376,1412,1392,1344,1334,1318,1198,823,578,551,583,634,835,1102,1240,1074,846,659,430,454,750,648,598,741,776,813,803,682,735,730,633,690,713,626,634,661,566,522,768,763,615,663,709,566,349,342,320,283,328,357,303,327,479,844,1010,583,345,296,451,656,421,305,309,419,526,642,858,737,475,468,690,736,452,496,711,520,504,463,791,998,861,904,1050,971,1168,1484,926,620,891,1114,879,1056,873,892,872,675,841,1568,1670,1116,819,415,462,850,755,483,826,1040,965,1066,1328,1416,1064,872,893,682,689,867,637,685,680,760,626,617,1042,1036,951,1306,1524,1066,1176,1302,1380,1226,1802,1892,1332,1044,1162,1162,1118,1118,1258,1116,967,1028,1158,1092,1074,1230,1416,1738,1512,1368,1130,1482,1898,1676,1606,1620,1308,886,822,844,908,1028,894,555,725,845,986,898,1054,1316,1488,1234,1092,1152,1068,919,725,829,1020,1168,1468,928,998,1066,1058,1128,1410,1260,1016,1170,1196,704,499,669,631,489,514,817,999,1106,985,1118,1150,909,1013,1212,1332,1314,1454,1184,1054,915,946,1148,1404,1800,1782,1212,1084,1042,949,943,1024,1122,1258,1206,1276,1376,1238,1212,1360,1524,1556,1344,1252,1362,1462,1306,1168,946,629,450,398,653,1746,2700,2026,1286,1066,1006,794,581,952,1244,1023,1036,1306,1550,1296,915,733,477,469,596,745,865,1174,808,551,688,672,684,1076,1114,479,523,539,431,459,492,431,427,514,520,517,565,580,571,584,660,569,698,827,927,1124,1188,1312,1322,1422,1844,2018,2054,1676,1472,1826,1994,2018,1936,1268,1046,1162,1316,1432,1450,1066,803,1030,908,680,595,534,547,467,508,572,588,508,434,396,371,386,377,396,438,400,365,362,429,466,453,449,392,363,349,322,318,325,327,400,487,538,710,564,344,306,423,530,569,607,521,437,351,364,417,341,332,364,542,719,633,607,604,422,363,355,398,536,685,537,437,416,384,376,390,369,352,389,414,409,346,364,388,411,379,326,309,332,346,353,355,348,336,341,319,299,305,344,380,375,354,334,358,499,653,620,468,481,678,556,422,533,553,619,664,747,824,722,664,552,488,514,335,371,585,1526,1372,1384,1612,1406,1288,1726,1402,727,358,365,415,352,332,392,362,313,310,422,616,570,699,1414,1704,1240,1138,1362,1410,1026,752,716,904,1152,1184,944,797,824,930,1138,917,686,579,574,544,613,690,552,570,705,651,944,774,605,539,366,235,252,260,315,392,426,358,713,1316,939,455,946,1216,1150,1232,995,835,784,708,916,1318,1616,1500,1332,1664,1030,945,1212,1122,954,802,756,952,971,676,393,370,403,335,268,274,269,275,290,311,349,353,313,300,324,340,316,321,373,414,320,267,262,271,279,336,373,381,402,474,462,437,464,415,367,356,336,353,350,315,317,322,309,299,307,288,287,289,294,303,309,297,290,292,300,332,389,838,1620,1726,2326,2832,2288,1522,1858,1848,1302,960,878,1030,1144,775,852,1108,799,725,1178,1170,1102,1266,1216,1150,1364,1036,715,686,800,941,1506,1528,1738,1510,1332,930,1016,1154,584,563,430,683,1178,1092,1220,1442,1484,1396,1238,900,661,649,694,845,1028,875,1130,1236,867,813,836,476,289,501,633,539,444,356,327,481,738,567,677,926,1128,960,558,456,604,944,1108,833,711,674,376,591,1172,989,916,674,667,887,772,650,714,921,930,631,362,525,679,711,972,955,803,1506,1150,419,378,463,457,386,375,586,643,505,539,719,602,469,568,446,351,314,331,405,598,874,549,557,636,561,608,1001,935,613,566,604,811,1122,850,462,357,403,354,347,354,432,733,843,976,1396,1434,767,405,533,985,1530,1174,572,443,581,492,621,1110,1234,1334,1005,662,663,1160,1252,908,661,794,1088,882,670,1242,1690,984,584,941,1316,974,745,701,684,463,415,374,398,453,440,474,521,510,951,615,443,377,366,478,857,1092,925,888,1011,1188,1742,1468,902,1046,1100,943,1044,1028,1036,1048,1062,1192,910,1152,974,891,1023,1338,1544,1638,1450,1278,1362,1522,1750,2088,1416,1284,1814,1668,1720,1478,1048,1194,1528,1534,1322,951,816,1108,1676,1588,1164,1166,984,1130,1248,1216,1168,946,739,593,480,460,655,1084,1280,1280,1366,1450,1356,1386,1398,1318,1360,1108,1056],[364,357,380,411,366,336,303,292,290,264,269,280,309,293,298,361,406,505,639,683,599,581,516,450,408,410,483,549,467,400,415,444,466,587,668,662,682,707,732,843,967,1007,752,743,992,1162,1286,1406,1344,1326,1394,1036,651,557,755,1598,1908,977,454,434,635,639,627,522,567,627,473,634,795,1400,1494,1154,850,768,737,783,531,385,510,519,415,344,507,574,476,446,448,383,323,318,339,392,447,423,382,324,394,747,1548,1808,1266,1468,1584,1360,1332,1336,1220,1082,1106,1544,1720,991,908,1274,1460,1186,1358,1288,1118,1015,705,534,740,1178,1182,1042,679,569,614,681,678,547,983,1144,860,600,456,838,1198,1132,970,1318,1186,1064,1096,790,795,821,1112,1250,1074,1142,855,805,1202,633,522,572,460,443,438,375,751,1516,1438,885,1208,1212,716,789,846,821,694,539,522,565,522,299,309,334,320,505,565,475,418,351,303,269,235,217,223,261,269,316,444,477,434,403,405,407,328,376,565,478,275,344,439,492,758,827,767,704,660,702,620,544,591,554,448,422,401,435,485,473,472,514,509,414,431,430,401,399,357,334,306,279,283,324,384,401,389,357,332,332,351,405,455,454,487,497,395,466,498,426,359,352,368,390,377,436,547,491,417,424,481,442,394,460,438,417,478,572,579,546,527,555,609,617,583,489,390,390,479,490,477,487,400,377,388,380,373,374,359,308,289,298,300,317,335,339,366,433,472,420,446,450,380,331,368,463,543,517,413,314,336,355,346,445,792,855,796,1086,904,680,592,1000,1396,915,691,1021,916,1036,1408,886,380,752,1476,1784,1476,1248,1436,1138,660,569,537,647,681,686,742,940,1306,976,877,983,1570,1766,1638,1730,1064,692,1166,1470,1284,993,1120,772,591,548,470,435,706,1172,1134,818,726,487,479,469,901,797,411,330,375,334,443,887,1112,1028,777,755,915,931,701,573,533,821,1132,1078,1122,1150,1278,1410,1372,1150,781,1138,993,681,473,536,792,787,681,590,789,813,976,1222,1674,1340,1038,1060,625,333,383,796,1344,1214,672,448,382,813,1166,930,918,951,996,1052,1012,1118,1036,847,837,1062,1048,1046,1208,1076,785,597,628,1122,1306,849,676,623,560,620,1130,1350,857,662,569,488,419,436,532,592,648,826,865,613,721,1034,873,631,697,520,384,433,472,363,550,1252,1294,599,484,871,1052,673,539,563,473,433,447,450,417,390,403,393,448,763,860,554,393,746,794,954,839,568,939,1126,726,502,525,818,1274,1578,1560,1536,1528,1738,1582,997,587,871,1526,1122,615,753,1174,1358,1078,854,695,631,501,348,518,1002,1007,898,973,739,437,341,349,371,377,402,425,436,438,447,440,421,420,409,406,415,432,423,433,383,364,447,448,405,402,396,406,399,417,429,435,396,425,473,439,431,436,356,337,449,336,335,441,497,498,455,510,837,897,786,762,553,492,437,479,512,390,426,430,375,381,391,392,614,970,811,416,359,434,498,575,764,473,364,481,478,356,324,377,376,286,281,379,380,289,208,199,276,289,662,792,428,436,564,538,433,377,665,749,647,444,453,984,836,409,401,447,533,620,629,907,891,706,597,470,366,368,446,518,630,670,752,808,675,1394,840,819,855,950,1086,923,975,1034,1038,896,622,933,1366,1540,1758,1618,1086,960,625,327,354,368,341,399,396,489,487,698,766,605,625,691,1068,913,642,748,988,1060,1020,1056,1090,974,1116,1082,1122,1128,995,1144,1230,647,468,570,907,1480,1484,1426,1732,2026,1546,1576,2002,1846,1504,1606,1716,1330,1122,1250,1068,1326,1316,1146,1302,1526,1428,1418,1434,1498,1560,1450,1322,1334,1466,1128,693,527,567,565,634,489,423,492,510,546,537,481,462,451,443,458,482,458,453,427,446,478,590,697,648,525,515,490,469,558,625,627,546,520,544,504,477,595,641,515,452,629,910,736,796,1066,1330,1620,2004,1896,1552,1400,1144,961,772,646,690,1502,1750,1378,1208,1412,1076,778,916,1015,1178,1102,1250,1378,1478,1244,913,1350,1432,1310,1414,1276,1306,1318,1238,1218,1332,1244,1230,755,869,1226,1242,1118,1338,1860,2088,1820,1708,1408,1268,830,1092,1356,1306,1124,1196,1282,1086,843,598,538,661,882,1062,852,646,468,432,602,733,584,528,711,850,799,680,527,667,705,608,644,637,691,770,759,646,589,661,730,725,858,972,830,726,606,456,468,472,457,509,688,894,1264,938,408,316,357,534,582,330,242,488,702,600,581,504,409,384,402,634,611,578,870,666,469,547,577,832,1288,1324,891,1150,1074,1206,1240,728,727,787,749,957,1152,1021,731,595,648,815,1576,1490,1012,826,480,435,509,472,460,867,1130,926,756,1336,1572,1162,880,658,423,396,927,882,825,1118,1048,808,711,1300,1028,888,1118,1196,1110,1150,1736,2026,1360,1230,1288,1030,938,962,1080,1196,1006,1048,1096,1116,1064,1212,1200,1228,1488,2164,2458,1422,1410,1294,1238,1566,1424,1440,1476,1284,969,866,1104,1084,1023,1052,675,709,928,1162,1102,902,1042,1226,1182,1098,1086,930,891,895,1012,988,1124,1030,1120,1146,967,1070,1482,1562,1192,672,714,690,530,407,527,617,849,810,637,898,1178,1080,1094,1120,1104,1250,1298,1384,1500,1472,1011,1116,1150,1174,1420,1504,1610,1544,1136,1148,1288,1050,1024,1212,1254,1224,1116,1302,1488,1404,1452,1472,1776,2022,1516,1202,1542,1416,1162,1013,717,587,593,612,716,1070,1270,1286,1322,1320,1186,935,618,729,1196,1256,998,1048,1516,1336,1082,1136,717,478,487,867,1130,1078,770,663,781,871,930,1196,1130,471,713,927,594,471,493,457,499,563,544,531,569,590,648,669,738,993,1488,1576,1616,1894,2024,2072,1700,1700,2522,2472,2416,1910,1968,2564,2654,2636,2200,1608,1702,2150,2286,2452,2314,1372,730,1172,1202,1248,1028,813,615,541,670,841,860,691,532,449,454,442,412,424,499,408,358,478,629,621,536,462,400,382,361,346,365,356,354,366,451,494,639,609,352,325,465,590,641,630,505,452,490,527,528,396,355,416,509,534,458,448,474,401,369,498,816,1068,969,633,486,451,400,390,382,366,348,363,374,345,297,352,398,384,358,358,343,299,321,363,361,359,369,365,361,343,350,366,365,378,422,412,508,667,624,447,358,346,448,439,417,405,402,479,648,887,828,523,580,519,372,305,257,324,373,489,737,1196,1576,1700,1538,1398,1074,670,412,357,365,367,494,539,631,655,528,582,849,731,902,1162,1106,900,897,1232,1278,1186,1250,1416,977,627,1322,1324,823,843,890,931,988,747,531,565,459,372,570,969,1208,1272,788,726,665,600,443,268,253,261,272,291,319,337,500,924,1520,1186,906,952,897,847,873,1072,1218,1142,1160,965,875,1120,1106,1642,1798,1390,1092,1130,1114,902,653,607,705,749,533,357,350,432,357,263,249,274,289,320,344,325,379,433,313,311,328,353,348,418,392,310,281,273,277,323,312,370,381,372,374,333,284,366,450,536,531,446,448,412,411,411,308,306,302,291,306,311,316,324,313,299,290,291,293,322,361,466,1572,2490,1482,1292,2296,2900,2310,1644,1976,2014,1190,896,861,917,636,823,892,805,957,854,814,1158,1442,1196,1176,906,625,1032,1088,832,913,1410,1620,1624,1718,1620,1060,1298,1388,672,764,547,622,1152,1120,1108,1090,1116,1144,1015,918,620,543,637,742,1168,1068,1194,1290,764,579,604,450,432,508,430,320,308,453,569,769,1218,787,457,529,872,832,474,507,998,937,943,731,636,446,362,492,893,1090,1106,745,385,393,505,477,416,467,916,549,318,373,437,350,385,402,399,342,263,358,388,448,462,441,399,475,466,331,498,1038,928,541,600,401,282,301,381,529,555,509,625,735,816,735,816,954,832,786,648,675,960,1128,847,640,479,317,269,269,354,376,291,527,862,1005,1040,476,365,867,1001,1416,1472,848,616,618,448,447,862,1146,1542,988,515,578,802,974,1180,1246,1228,1206,883,755,1068,1144,601,927,1202,1218,701,587,741,650,393,399,393,498,453,400,434,388,436,851,621,437,433,626,1096,1358,1288,938,881,1220,1700,1734,1712,1052,886,1136,1244,1202,892,996,1164,1186,1120,1046,1158,969,1154,1416,1616,1594,1616,1624,1510,1438,1638,1826,1860,997,1304,2184,2468,2264,1782,1306,1170,1346,1504,1268,771,591,646,1188,1740,1582,1212,1076,1216,1214,1124,776,370,405,399,350,433,461,581,1007,1344,1494,1432,1406,1438,1314,1410,1246,1060,1208],[364,337,333,337,283,233,254,290,241,231,245,267,277,284,317,340,358,448,543,574,538,594,511,465,415,409,516,608,524,514,551,614,639,625,637,621,676,738,748,877,912,904,915,794,661,844,1094,1108,1326,1268,1136,1196,1080,855,575,738,1060,880,611,545,606,789,1001,806,556,655,726,471,488,1084,1436,1400,1306,852,556,477,338,430,555,517,572,483,509,493,403,358,325,278,243,248,309,387,397,369,412,353,367,638,1176,1394,1023,1023,1136,1264,1312,1398,1586,1520,1454,1396,1322,1062,1316,1336,1270,1238,1288,1172,1124,1252,1088,995,981,974,949,875,760,741,669,676,803,859,872,830,860,816,666,1052,1238,1448,1482,1426,1120,1420,1296,863,740,844,1396,1082,830,1302,951,2598,2964,1174,507,790,684,453,401,382,667,1200,1114,999,2242,1626,711,858,1118,1272,1036,709,658,590,486,279,313,368,338,354,357,380,365,301,267,246,229,220,228,259,232,256,280,290,344,310,303,311,281,346,467,402,306,346,436,449,494,597,644,635,568,568,645,673,734,694,636,573,577,452,411,393,414,459,452,406,393,406,426,440,424,403,357,338,338,336,363,397,387,346,329,332,381,487,463,419,491,410,384,403,458,490,386,336,354,360,359,403,489,440,439,433,477,433,405,461,470,448,502,574,634,623,631,605,569,546,576,527,434,391,391,427,453,440,381,366,397,400,313,314,325,289,258,281,288,343,353,352,402,421,420,387,457,491,406,327,374,513,603,572,422,330,324,325,399,1238,1712,1230,882,924,1172,1438,1492,1450,1272,912,759,1124,1338,1324,1330,580,271,841,1696,2302,2020,1862,2172,1196,623,562,567,655,537,877,1118,1460,1370,1032,858,719,972,1180,1210,1364,1088,880,1198,1588,1746,1076,935,849,531,491,452,450,647,1046,751,494,487,455,571,511,898,861,363,368,526,780,745,1108,1015,815,938,1070,1150,894,944,1064,819,580,536,572,673,833,1136,1138,1304,964,1128,1116,1092,1060,844,788,790,687,695,628,592,549,641,793,1007,692,844,1060,776,475,563,796,1284,1622,1044,700,470,783,1304,1202,1188,1214,1090,1036,1010,946,877,830,489,616,940,1023,1084,1240,1316,1056,790,761,524,383,456,543,753,755,1082,1502,1174,747,534,538,628,667,689,718,623,656,636,648,1005,1018,1040,877,584,457,354,389,409,354,637,1348,1334,631,427,740,1088,735,477,436,431,491,514,509,489,397,427,447,529,928,588,342,340,572,594,614,739,860,1252,1560,926,556,599,1384,1652,1644,1932,1792,1170,1310,1396,1076,960,1282,1466,1058,809,659,927,1192,1001,758,624,584,389,295,304,410,817,1140,1066,627,444,417,383,340,356,381,416,436,440,436,429,433,429,416,404,404,415,412,415,384,325,369,429,422,413,410,362,402,432,437,416,370,400,430,434,449,448,417,386,433,358,338,404,461,466,429,536,727,821,985,861,564,497,462,452,433,352,375,387,437,517,427,360,388,567,437,376,636,632,592,615,540,524,525,547,544,469,414,398,325,274,280,258,302,267,236,273,301,278,332,312,293,463,410,408,373,275,324,487,776,971,1232,1388,1002,477,382,372,593,630,613,882,814,686,600,461,494,737,752,576,671,516,369,415,762,1296,694,1052,1152,861,764,911,1044,966,1234,979,758,1152,1350,1298,1196,1238,1100,848,516,280,550,717,395,540,619,565,588,1180,975,706,913,957,1009,1014,789,763,1013,1136,1036,1192,1252,1328,1388,1100,1002,1152,890,1304,1520,691,741,817,1036,1340,1278,1718,2276,2048,1528,1476,1534,1474,1214,1316,1282,702,659,1300,1436,1328,1128,1132,1274,1522,1444,1332,1462,1634,1692,1362,1086,890,1450,1176,775,562,572,624,550,430,434,470,471,546,501,477,420,424,447,477,478,450,450,436,428,495,644,723,608,574,522,484,509,521,599,635,557,513,521,500,506,604,583,517,494,526,698,817,861,1118,1552,1882,2000,1858,1636,1488,1288,886,548,474,473,769,1384,1282,1238,1464,1400,1448,1102,1092,980,372,523,778,1132,1386,1058,1108,1328,1538,1730,1428,1402,1482,1382,1244,1400,1076,897,954,1262,1482,1168,976,1410,1726,1604,1120,1202,1420,1290,1010,1044,1154,1502,1594,1318,1220,1112,1028,1088,825,540,519,775,673,448,461,623,740,617,497,603,916,786,494,461,435,550,668,697,800,815,570,386,535,684,747,871,943,609,626,724,847,1010,963,987,1162,1190,1024,822,683,994,1538,1200,626,390,481,607,416,269,324,484,614,758,875,648,486,483,399,553,428,478,465,352,491,673,657,616,694,926,1003,1350,1328,1252,1204,1088,1040,951,1132,1374,1080,881,1066,1054,808,921,1404,1116,1018,889,546,490,424,448,692,937,1096,1246,1086,1378,1468,1190,753,514,389,430,1036,1094,788,1156,1126,907,853,1304,1023,916,1074,1310,1256,1086,1158,1066,1048,1204,1204,1120,791,658,884,831,705,832,1048,1136,1146,1230,1154,1270,1444,1620,1498,875,1174,1408,1176,1236,1252,1268,1408,1354,1188,1086,1170,847,852,1100,971,906,950,1008,872,944,1130,1220,1276,1062,1108,1064,988,945,1160,1364,1122,1038,1312,1156,887,1034,1094,1132,933,595,792,752,655,510,544,775,972,946,830,1015,1302,1150,838,883,1372,1500,1456,1406,1356,1426,1362,1330,1340,1422,1594,1524,1450,1202,1210,1214,1144,921,923,1048,1200,1268,1146,1230,1376,1282,1434,1764,1614,1778,1532,1021,1162,1292,1294,1252,984,938,1070,917,987,1232,1464,1452,1364,1488,1468,1182,1052,1296,1484,1336,1140,832,1122,1220,1050,1008,733,499,479,775,861,794,835,921,1004,1180,1254,1050,782,836,1756,1896,1084,629,636,582,568,727,864,1018,1246,1216,1012,854,705,1100,1706,1758,1926,2386,2554,2524,2002,1688,2458,2450,2504,1976,2076,2566,2646,2612,2392,1872,2014,2932,3150,3196,2916,1706,859,1350,1518,1294,1338,1302,936,717,759,897,781,672,603,578,603,481,443,428,425,395,435,451,444,491,511,454,419,443,435,395,388,373,357,348,381,389,517,655,419,351,483,537,527,500,408,475,569,576,554,444,355,388,399,398,348,386,476,465,385,690,1098,1198,855,494,438,426,348,304,334,357,341,336,341,339,363,416,414,349,335,369,337,307,327,384,404,390,394,395,395,386,368,373,355,368,383,354,340,362,317,311,343,328,381,480,510,470,457,563,565,513,491,399,406,433,396,303,299,376,457,472,538,945,1166,1472,1876,1340,760,458,447,462,433,489,529,854,1482,1520,1196,922,962,952,1112,1322,1374,926,853,1374,1622,1478,1138,1196,1032,580,1024,1170,1052,1098,1268,1342,1218,777,557,574,516,583,1200,1562,1606,1282,858,702,625,616,469,266,271,277,299,318,278,278,387,466,636,921,921,861,862,594,534,921,1242,841,1072,1108,998,791,666,954,1010,883,879,1078,1021,830,738,541,441,557,409,308,286,308,276,265,280,364,399,323,359,322,340,361,338,359,357,366,370,379,363,345,331,304,373,400,319,316,337,336,339,320,342,361,482,756,753,631,464,344,372,362,298,304,312,287,317,334,340,330,307,299,308,307,304,329,364,627,1964,2310,1144,969,1712,2320,2200,1612,1250,1072,924,833,851,696,730,1134,1318,1214,1080,1150,1240,924,1102,944,869,517,794,1310,1730,1272,908,1210,1628,1772,1410,1116,764,985,1334,932,893,531,454,708,686,673,597,756,988,931,964,865,925,1088,1152,1158,1052,922,934,792,544,305,287,347,449,386,408,469,852,985,1021,1224,800,407,437,511,493,308,430,913,899,945,532,376,293,286,474,880,983,727,472,290,311,399,688,794,604,889,672,380,342,338,298,283,298,324,404,435,373,385,410,448,426,364,434,550,483,359,524,417,315,321,292,336,338,481,830,1018,943,757,623,753,896,929,843,835,832,751,831,1124,1100,671,418,393,317,252,342,469,540,380,587,593,539,418,342,610,886,1146,1744,1428,810,644,444,300,447,679,774,937,609,576,645,666,743,986,1256,1310,1330,850,539,673,758,499,909,1550,1156,709,746,708,598,413,298,286,338,348,317,343,333,457,657,530,430,509,825,1182,1144,982,742,741,1178,1526,1484,1638,1394,1230,1246,1282,1200,869,722,560,774,969,1242,1366,1362,1372,1342,1494,1650,1678,1494,1438,1252,1326,1448,1516,1454,1394,1602,1834,1500,1358,1464,1362,1060,859,569,521,977,1186,850,1174,1706,1484,1028,1002,1122,1052,601,473,544,485,366,389,505,489,617,1100,1396,1260,1340,1362,1158,1234,1118,1224,1252],[385,340,296,307,293,247,274,355,283,261,272,265,263,288,290,223,269,487,596,507,502,577,570,513,430,320,395,520,565,639,744,774,554,454,542,561,658,744,654,760,870,842,844,905,907,915,1088,1038,1284,1466,830,783,1248,1252,849,717,733,680,525,408,406,702,1001,1086,714,918,741,505,592,1036,1400,1764,1692,712,397,389,381,357,438,481,594,473,379,371,350,321,272,216,224,237,261,338,436,404,356,345,350,409,508,619,1012,1482,1418,1490,1390,1578,1552,1208,1326,1044,813,1118,1456,1506,1522,1472,1234,1078,1246,1136,1032,1164,1036,728,907,952,980,927,880,1122,1606,1034,532,510,668,778,823,985,1316,1604,1656,1274,1272,1546,1112,601,761,997,1058,828,795,1026,577,781,1234,949,523,502,436,416,404,550,1192,1426,1208,950,1312,1178,1002,1378,1644,1496,849,683,702,599,366,334,342,385,432,403,330,355,330,292,285,260,252,250,246,260,222,265,281,246,256,282,281,264,277,320,333,315,369,418,437,436,509,525,515,546,524,567,633,589,724,661,677,686,700,657,550,446,417,424,413,436,429,427,462,459,385,388,426,414,393,379,385,399,385,366,362,365,385,472,423,398,515,453,413,400,418,436,398,367,362,365,371,375,403,386,458,482,502,452,418,452,450,404,525,647,774,709,695,658,558,500,523,522,450,427,418,407,419,449,409,430,440,432,387,358,415,364,305,291,299,468,473,381,400,408,481,408,364,475,460,325,339,533,616,495,363,290,317,334,574,1638,2062,2062,1578,1060,1284,1986,2024,2032,2174,1782,1284,897,1088,1384,859,318,266,683,1464,1924,1854,1844,1858,1100,919,735,625,733,699,833,1392,1924,1648,1116,675,664,785,662,1086,1598,1478,1178,1122,1654,1774,1026,781,669,428,415,481,499,753,911,578,533,581,651,748,698,972,893,349,406,957,1508,810,1108,1382,1400,1504,1192,1038,1026,1170,1310,1260,1334,1228,893,753,563,606,789,756,590,804,924,1010,1021,969,1032,831,636,539,666,636,512,566,551,543,617,650,607,549,498,744,586,976,1586,1258,825,614,830,1256,1294,1342,1448,1202,979,999,888,804,800,550,507,633,849,1020,1048,1202,1274,1236,1054,807,713,634,583,709,934,758,774,983,941,899,976,814,500,582,655,490,462,514,519,757,855,1174,848,445,422,350,349,415,397,840,1510,1376,641,418,519,943,1009,641,416,411,441,466,498,513,428,430,409,777,957,531,367,417,552,515,597,642,833,1009,1514,1172,651,589,951,1404,1716,1804,1506,899,1124,1492,1332,1216,1604,1590,1272,1446,1012,567,820,978,803,677,536,313,290,309,331,669,1116,943,529,440,428,409,374,373,391,409,420,421,422,425,431,434,424,404,399,397,396,421,418,382,396,411,413,400,399,376,390,416,450,398,341,382,402,404,392,358,348,368,404,386,371,395,439,458,488,549,533,667,733,574,478,473,473,432,370,364,368,361,379,393,395,451,343,339,328,425,595,531,567,684,742,658,612,685,684,610,456,402,318,328,323,394,354,275,330,358,296,282,296,342,364,366,358,440,345,250,271,316,438,567,680,900,788,493,450,467,736,767,663,609,564,623,621,561,739,893,705,522,641,511,446,426,1094,1120,1022,1620,1614,1392,1106,1070,1078,943,1084,815,637,1076,1378,1258,891,930,1034,851,461,303,730,1152,508,638,1116,903,699,1378,1246,1036,1310,907,430,423,508,666,1156,1146,917,1344,1390,1356,1370,1246,1126,1082,965,1118,977,789,1200,837,1004,1242,1628,1794,2084,1860,1562,1726,1678,1240,952,1484,1576,1036,990,1264,1256,1110,987,1128,1282,1328,1296,1430,1574,1426,1506,1312,720,730,1534,1112,651,620,613,565,466,442,468,497,430,505,480,435,418,417,465,525,503,454,429,441,424,452,568,747,637,584,529,484,495,546,651,656,566,508,482,482,493,587,557,502,472,479,620,847,948,1120,1538,1716,1548,1656,1526,1418,1310,1108,637,404,579,1208,1550,1166,955,1234,1548,1488,1278,1076,686,377,350,591,846,849,756,970,1234,1280,1332,1328,1390,1654,1416,1300,1146,818,943,1268,1540,1716,892,647,996,1178,1162,1200,1310,1256,1076,809,710,841,1162,1114,939,789,624,799,1122,1056,616,455,577,589,599,580,599,672,635,719,970,769,569,486,479,457,408,324,474,843,963,635,285,557,1526,1898,1516,779,404,524,908,1036,1202,1660,1728,1866,1688,1006,686,560,816,1062,874,495,404,671,610,287,313,457,658,927,921,559,550,514,718,612,566,493,333,293,473,1021,1366,1174,990,580,512,1114,1150,1122,1152,1116,1112,1204,1182,1200,1368,1246,1280,1478,1384,1292,1406,1428,1234,1350,1360,1114,1012,1042,1120,1122,1130,1124,1178,1130,1164,1242,1136,926,750,733,748,948,991,812,893,749,595,999,1030,951,1030,1112,1250,1218,967,821,1160,1118,1250,1166,1258,724,562,809,727,591,655,944,1248,1490,1550,1324,1310,1456,1196,1072,699,966,1466,1364,1216,1304,1490,1250,1384,1606,1208,1160,894,863,1294,1268,1046,998,918,912,957,1180,1282,1234,1078,1048,1198,1052,1704,1956,1342,1186,1480,1510,1222,803,838,922,1168,1020,668,856,751,732,847,1064,1264,1158,1254,989,1007,1260,1214,925,940,1034,1208,1440,1426,1670,1830,1308,1272,1288,1362,1324,1384,1454,1338,1208,1074,966,952,953,854,1088,1394,1346,1282,1242,1224,1278,1390,1172,1320,1452,1010,836,1208,1328,1182,1286,1590,1436,1002,1404,1550,1354,1228,1238,1280,1500,1710,1556,1468,1156,1092,1222,1098,1176,1066,1018,1104,961,710,764,887,954,1120,1226,1162,1021,1146,1314,1210,1024,1640,2534,2320,1366,822,730,704,910,1198,1484,1948,1888,1824,1354,1162,1132,1316,1698,1786,1962,2446,2570,2568,2282,1820,2288,2330,2280,1890,1722,2204,2708,2754,2646,1922,1788,2402,2316,2100,1932,1560,1078,1322,1650,1510,1446,1566,1312,867,813,832,597,614,730,721,626,520,412,360,336,366,439,455,350,386,446,419,455,541,501,448,443,410,366,361,379,336,400,673,521,333,369,459,390,343,371,476,551,563,535,391,328,326,324,348,341,359,442,457,390,487,760,875,601,374,412,393,296,278,309,341,341,319,326,371,419,441,422,410,429,360,288,331,362,422,441,426,408,392,394,380,371,373,379,368,359,352,375,357,352,362,355,341,368,377,409,453,461,550,498,399,416,402,374,402,390,379,411,439,641,707,728,1064,1026,1246,1906,1664,932,545,579,617,628,724,650,780,1578,1776,1032,921,974,907,843,846,930,960,1032,1356,1538,873,533,698,1104,735,855,1248,1426,1688,1784,1436,1024,479,455,615,796,890,1260,1008,800,720,542,620,772,747,598,482,348,280,252,288,232,297,357,393,521,892,878,778,630,637,623,530,846,612,573,814,1158,1182,818,573,861,1088,1022,1210,1224,1378,1136,966,822,827,500,289,297,276,278,274,361,569,491,330,338,298,330,304,305,359,374,421,441,333,307,315,308,319,320,300,305,315,308,294,291,292,353,353,474,617,494,394,360,305,314,307,288,303,303,299,323,332,351,328,296,301,314,308,313,330,354,610,1500,1666,1090,1160,1638,1858,1636,1102,814,519,654,836,1124,953,832,965,1198,1350,1262,1440,1294,857,899,652,408,374,448,503,1092,1308,1412,1874,1776,1542,1310,1272,1066,895,1328,949,558,434,489,558,566,722,725,807,888,1056,1428,1328,1038,812,661,561,688,839,801,852,890,579,441,336,365,408,606,799,907,1040,1028,806,522,411,453,378,363,314,415,495,729,783,495,352,387,339,452,683,612,623,426,318,318,508,1202,1626,1420,1152,815,545,478,464,410,392,365,295,301,469,488,368,352,432,424,336,289,475,729,835,604,291,259,349,372,346,460,664,849,877,846,722,455,474,579,666,1011,1334,1007,756,1416,1920,1302,445,301,304,313,313,482,683,883,735,900,553,527,573,414,529,827,1172,1422,1006,883,789,628,1226,1068,541,532,647,727,877,884,639,640,925,1021,735,1266,1472,957,907,939,690,875,1010,623,683,817,590,404,406,298,271,338,404,365,341,339,435,586,555,659,1172,1180,1010,756,771,922,1136,1358,1284,1382,1490,1146,929,1196,1310,1062,695,777,781,815,1230,1298,1058,1374,1484,1440,1736,1782,1730,1622,1352,998,1390,1592,1624,1592,1294,1326,1656,1716,1318,1654,1518,1184,613,432,403,980,1720,1386,829,1372,1694,1550,1196,1186,1288,824,669,555,492,378,464,644,561,423,675,1144,1286,1308,1368,1324,1168,1356,1420,1134],[374,332,292,276,287,307,325,362,330,350,342,284,267,283,297,329,489,673,764,639,644,696,642,573,658,693,596,581,586,658,735,728,489,462,568,549,675,740,613,661,767,714,700,915,1072,1044,1360,1498,1058,618,544,850,1206,1384,1316,1005,774,701,595,495,539,704,608,692,793,1108,874,619,727,1012,1164,1458,779,426,425,450,492,453,462,431,426,380,340,352,326,302,308,266,253,236,263,314,414,359,318,310,321,361,354,459,885,1500,1410,1222,1174,1158,1088,819,1124,1013,855,1498,1994,1504,1476,1552,1234,844,646,472,545,747,990,1130,877,901,1156,1188,1318,1672,2566,1710,750,644,691,621,618,728,960,1226,1274,921,1036,1456,1658,1166,1022,979,761,911,1314,1168,600,488,677,608,498,465,475,444,381,947,1848,1372,1056,1272,1766,1512,912,1344,1666,1370,610,512,642,535,362,307,313,330,415,412,346,398,325,287,300,281,275,261,260,284,374,509,541,536,504,362,316,294,300,313,296,405,456,483,523,577,592,536,515,479,471,518,556,666,822,628,628,670,677,674,647,536,410,398,429,496,515,543,512,466,371,418,504,466,420,432,431,415,398,404,398,410,420,448,459,453,541,490,397,413,400,424,400,371,385,400,397,390,375,361,444,510,516,495,396,450,487,460,542,661,755,714,811,848,800,574,451,453,402,411,418,361,383,519,490,482,468,448,428,410,449,407,343,297,331,411,366,276,313,363,451,407,404,527,486,347,388,515,430,325,289,276,328,301,580,885,1438,1802,1616,1384,1698,2102,2120,1692,1770,1626,1278,645,597,819,509,234,223,532,1068,972,1104,1442,1486,1278,1108,698,580,863,953,812,839,781,767,953,767,702,714,789,1094,1362,1010,833,1146,1526,1382,899,824,802,896,903,959,910,1210,1422,1344,1170,1170,1344,1268,1350,1278,686,343,498,988,901,482,1010,1162,1044,1034,760,667,928,1076,1108,1132,1080,1292,1288,1332,1280,1023,811,637,659,769,710,739,832,1068,1416,1194,793,626,809,778,759,981,999,846,927,977,650,469,530,811,462,880,1196,893,681,606,816,1232,1452,1440,1436,1208,885,982,949,927,955,843,863,773,720,754,915,1074,1098,1158,1238,1274,1238,1108,919,785,721,495,373,434,728,1104,948,785,948,698,598,498,430,462,431,490,603,584,429,445,407,392,415,428,419,1108,1674,1362,644,412,403,589,912,899,453,412,427,477,450,391,479,645,741,1004,766,415,399,472,673,467,725,772,711,839,1508,1438,931,811,983,1396,1450,1242,1312,1114,1128,1270,1362,1114,1010,850,828,1168,963,761,1244,1532,1238,760,517,377,344,369,379,497,860,738,475,477,436,437,436,416,421,420,408,399,399,411,422,428,425,407,397,389,386,380,365,368,372,375,393,401,409,420,390,418,449,410,311,327,437,373,276,230,276,379,417,426,436,413,420,438,449,422,449,525,540,509,458,386,393,368,339,362,343,365,356,360,536,537,414,341,331,444,466,458,638,742,631,446,618,717,742,595,373,310,346,446,675,711,498,386,449,683,495,430,422,409,406,361,357,445,357,256,316,398,498,307,365,695,986,605,415,590,968,986,756,775,706,541,541,528,723,702,542,555,612,535,480,667,1206,1166,1694,1866,1708,1732,1676,1526,826,652,746,624,504,690,1094,1250,937,1058,1054,965,491,359,761,853,474,615,1136,814,609,1058,1094,1194,1416,754,295,347,444,622,1122,1208,1114,1250,1204,1040,1152,1282,1166,1170,1398,1290,756,802,817,681,781,882,1310,1936,2302,2138,2114,2008,1698,1628,1252,1222,1476,1310,1228,1312,1388,1358,1452,1448,1436,1318,1364,1406,1498,1274,1398,1388,1284,1520,1832,1328,800,717,626,584,492,449,471,497,458,503,520,474,425,397,461,538,568,541,482,495,452,442,475,608,727,637,519,495,500,562,595,581,538,532,512,487,439,546,603,576,538,530,649,830,823,808,1056,1030,1222,1298,1192,1362,1274,1044,716,653,1156,1356,1172,1084,727,1050,1172,1106,1220,858,513,391,414,548,613,563,541,985,1362,1394,1222,1418,1450,1446,1358,1300,1228,1194,1472,1598,1540,1614,943,621,999,1230,1278,1278,1034,855,761,662,539,809,1036,1128,1162,1100,824,1015,1156,736,517,1082,1196,520,499,550,589,698,903,1116,1194,708,510,421,426,445,404,340,428,752,839,574,352,760,1626,2122,1308,396,408,830,1186,931,927,1278,1512,1966,1642,858,682,628,591,644,517,365,565,841,720,545,604,680,1000,835,393,300,406,821,1482,1232,790,573,319,420,580,1220,1996,2074,1536,608,361,785,1001,943,1028,993,778,947,1050,921,1126,1168,1142,1220,1292,1200,1152,1302,1326,1336,1338,1256,1196,1126,1302,1310,1260,904,890,1050,1126,962,846,927,1130,1250,1184,1214,1266,1246,1112,1174,1276,1432,1088,815,1130,1270,1178,1124,1070,778,1021,1076,1270,1084,918,785,772,924,1054,883,774,1032,1234,1722,1898,1642,1438,1372,1258,1308,1050,1118,1406,1474,1418,1176,1238,860,1366,1504,1088,1160,1036,882,1078,1134,1094,1002,869,706,874,1250,1118,1186,1388,1306,1304,1044,1188,1294,1024,1138,1656,1748,1520,931,629,1014,982,554,631,778,517,634,1116,1272,999,751,1158,963,840,1182,1362,1406,1250,778,701,1144,1356,1504,1448,1256,1306,1350,1312,1302,1376,1358,1210,1318,1416,1136,1176,1278,1042,1116,1258,1284,1294,1380,1242,1262,1184,1354,1548,1468,1230,851,1015,1288,1108,1440,1484,1244,1192,1406,1580,1486,1394,1312,1398,2234,2392,1560,1132,869,853,874,976,1196,1278,1230,1212,1108,983,1100,1168,1164,1194,1108,1110,1308,1622,1782,1770,1486,1546,2224,2300,1440,1106,877,1036,1372,1326,1562,1952,1882,1870,1564,1350,1492,1256,1262,1240,1508,2312,2504,2314,1976,1554,1776,1858,1672,1656,1594,1980,2862,2890,2854,2122,1354,1336,1744,1616,1542,1372,1122,1290,1252,1340,1786,1816,1614,846,615,611,458,528,747,697,628,553,360,335,351,405,392,395,370,361,492,592,523,442,424,422,458,466,429,526,430,342,336,623,572,367,417,462,369,332,336,408,446,452,423,305,278,305,320,332,366,377,370,402,390,346,426,505,384,310,380,382,337,329,322,344,341,327,337,402,441,456,427,414,450,396,337,357,420,442,423,425,427,395,393,376,381,372,389,368,372,401,415,384,361,384,401,401,391,316,342,414,459,449,446,411,417,411,375,369,388,504,764,912,962,1096,1252,1070,708,581,1070,1376,976,619,562,561,731,1288,1360,1224,1766,1626,994,1184,1236,1020,957,812,868,1168,954,610,612,386,365,833,952,625,871,1218,1360,1584,1356,968,910,691,944,1146,1158,984,888,618,327,397,440,498,596,681,631,603,411,419,341,248,492,797,684,523,930,920,667,844,701,521,501,698,922,731,528,709,1110,1182,743,508,570,710,937,999,992,1208,1188,1350,1226,955,516,324,339,322,307,299,369,515,393,325,322,303,305,300,293,306,309,307,287,258,267,264,269,298,295,281,279,302,290,292,301,281,373,440,348,326,331,524,503,382,349,318,296,298,305,325,339,351,328,325,292,287,307,316,316,326,385,509,811,1108,1318,1328,1476,1404,1180,866,679,570,644,858,980,744,669,671,776,968,1070,1536,1284,1314,962,514,660,1001,1076,883,888,1114,1422,1886,1990,1556,1484,1722,1522,1034,1186,1138,908,820,741,758,910,1024,1064,810,856,1142,1304,1034,675,596,557,567,708,806,772,933,901,745,675,448,374,461,1232,1598,1058,1106,775,449,545,453,438,389,414,426,485,594,607,539,512,568,667,441,433,770,840,962,555,367,296,581,1364,1746,1492,1098,902,916,935,622,536,456,356,284,340,458,421,425,458,477,419,360,395,737,1266,1440,729,349,325,491,823,843,697,641,592,656,823,647,464,410,469,506,744,924,742,674,1118,1462,956,371,272,267,321,461,791,1028,950,999,907,437,570,691,545,660,800,755,766,728,711,695,886,1528,1682,1170,747,676,637,843,984,590,470,647,662,636,1054,1306,1316,1378,1282,1050,889,908,843,827,900,537,375,373,352,334,408,506,488,404,468,442,512,506,597,1192,1160,825,638,792,971,1218,1244,1214,1404,1512,1208,984,1478,1460,1072,1134,1072,922,1100,1238,889,907,1542,1534,1422,1682,1692,1478,1482,1456,1354,1560,1666,1794,1738,1412,1346,1516,1464,1320,1704,1448,1524,1023,562,410,476,1066,1294,1076,1136,1378,1880,1694,1494,1674,1056,642,622,615,455,424,492,492,436,422,639,1126,1282,1312,1312,1260,1346,1296,1032],[364,322,300,297,265,412,403,339,342,322,291,280,280,280,306,394,639,703,769,786,810,742,598,599,928,1130,777,618,673,710,719,713,662,625,635,614,645,673,612,514,525,530,583,805,807,525,1010,1534,1606,1023,612,974,1338,1466,1326,1280,1046,1010,852,1064,1156,979,535,449,852,1026,784,619,499,532,489,567,412,407,394,410,419,419,379,318,315,356,356,345,318,313,324,287,258,254,247,263,301,309,295,257,271,310,354,381,524,821,1378,1318,1290,1304,1034,1010,1202,948,1098,1454,1460,1092,1300,1218,1082,877,481,332,656,926,998,1242,1146,1238,1378,1398,1570,1654,2058,1276,856,897,882,800,1030,1266,1138,1310,1402,1042,804,847,1204,1510,1400,930,685,841,1082,997,553,488,540,495,432,481,500,467,358,588,893,972,1232,1888,2384,1582,651,618,795,671,544,541,667,487,301,271,265,323,329,267,291,367,323,282,290,287,292,289,314,361,506,842,1134,1144,1078,865,805,666,504,426,781,819,647,758,852,789,720,618,510,469,440,487,451,723,764,660,714,711,650,670,658,568,485,460,453,533,608,653,750,677,504,478,541,519,431,449,450,452,498,482,443,423,416,420,447,488,558,503,402,432,403,409,382,369,377,383,385,385,400,484,563,515,470,495,442,523,492,561,617,621,588,553,607,704,688,476,489,483,425,385,337,368,381,435,449,445,438,405,375,385,352,271,340,301,273,282,334,294,275,310,332,321,414,502,420,386,417,413,370,307,282,274,293,437,913,1242,1194,988,1252,1318,1398,1546,1632,1038,681,824,845,557,371,314,263,276,329,651,1114,1204,1406,1596,1494,1698,1494,1003,949,1206,1290,1178,1118,1108,1044,968,865,868,1070,1054,727,714,1002,1216,1244,1356,1102,1001,880,913,913,1166,1098,1130,1290,1260,1260,1174,1426,1860,1208,1322,1268,673,492,484,405,297,322,479,462,409,432,421,487,499,656,932,899,978,1152,1102,1232,1090,1166,1378,1098,775,704,670,638,677,972,1484,1412,1220,1062,972,932,984,1094,1258,1160,1198,1130,747,564,517,588,450,683,1212,1442,1174,717,709,1036,1490,1500,1442,1362,1000,986,1023,970,988,941,892,985,890,586,566,717,912,1050,1108,1240,1332,1392,1444,1302,958,781,646,577,699,869,644,502,532,513,516,457,376,343,396,467,446,420,520,519,477,562,467,356,617,1338,1680,1338,714,473,505,463,640,1086,761,524,449,450,397,404,910,1394,1438,1256,671,513,478,539,781,541,785,835,814,906,1208,1266,1058,1018,990,800,704,1102,1418,974,860,883,918,1320,1344,718,699,948,1040,1400,1506,1618,1420,1404,1192,940,667,419,400,603,915,610,480,458,463,451,455,465,457,446,432,417,421,416,400,409,422,418,409,385,334,283,325,360,366,381,387,393,418,394,318,394,421,419,325,332,378,378,331,314,353,413,447,436,415,420,439,460,486,470,522,616,589,481,400,368,373,337,322,344,314,351,396,386,416,523,498,399,404,517,704,756,705,502,469,465,599,584,634,473,333,397,544,783,832,620,481,401,670,960,875,1096,1090,874,667,446,328,341,278,274,339,509,598,344,347,546,1108,890,480,684,1114,982,727,802,675,525,588,551,660,502,460,605,621,569,539,1024,1356,1432,2026,1580,1438,1456,1548,946,576,567,530,468,421,399,785,1192,871,891,863,915,528,351,466,363,422,471,452,469,571,706,894,912,971,544,307,316,403,745,1054,1170,1172,1112,1070,730,484,647,923,971,1170,1350,783,594,732,745,720,922,1122,1320,1522,1866,2288,2082,1788,1768,1294,1404,1670,1454,1162,1282,1458,1386,1454,1306,1176,1298,1748,1588,1356,1238,1424,1848,1786,1804,2214,1726,894,636,558,513,488,434,442,478,487,517,511,500,452,436,471,514,550,576,586,533,488,471,467,478,568,614,629,552,530,525,461,464,564,547,493,457,422,521,595,555,525,504,607,758,705,761,962,1034,1288,1404,1386,1428,1166,637,391,499,977,1021,1084,1340,1120,1220,1204,907,758,640,407,375,545,803,1076,712,653,988,839,894,1386,1522,1566,1418,1272,1310,1306,1346,1632,1456,1434,1430,940,780,1160,1568,1554,1202,1154,1188,983,821,686,826,1058,935,577,692,929,918,813,629,474,1074,1548,607,383,536,569,485,683,943,1162,1102,758,486,404,414,389,387,473,559,528,499,378,1082,1878,1894,980,363,399,720,594,404,949,948,1062,1548,1484,803,900,1007,738,767,630,533,769,844,648,673,663,664,901,810,462,319,633,1334,1446,869,910,771,1008,913,568,576,1230,1592,1038,467,439,750,1114,985,1122,1054,841,1086,1116,1034,1168,1282,1282,1256,1290,1340,1488,1470,1200,1214,1238,1196,902,821,963,1326,1332,1130,1004,825,971,705,537,612,1084,1254,1220,1162,1046,1094,1112,1142,1282,1580,1148,733,1098,1286,1056,986,996,1136,1246,1220,1162,1156,1268,1186,867,909,1106,1014,694,1018,1096,1116,1168,1280,1438,1284,1332,1442,1136,1268,1412,1426,1678,1836,1232,740,856,1206,1298,1224,1234,1338,1552,1714,1542,1226,1094,1021,1064,1176,1050,1058,1288,1370,1250,926,812,1124,839,1030,1434,1818,1716,1186,746,863,981,819,781,718,546,708,1124,1260,899,553,835,872,621,844,1176,1188,1090,860,691,971,1368,1294,1194,1362,1426,1274,1274,1448,1384,1264,1252,1240,1150,1122,1250,1426,1136,1158,968,1009,1332,1316,1184,1252,1226,1362,1448,1658,2252,1270,933,1230,1258,1432,1462,1462,1402,1224,1354,1428,1184,1192,1538,2014,1826,1522,1032,696,506,547,655,664,818,1130,1166,1122,1252,1330,1168,1128,1304,1488,1746,1810,1656,1578,1862,1924,1538,1814,2210,2044,1296,1266,1628,1604,1272,1504,1832,1890,1876,1506,1032,1400,1048,805,649,967,1904,1996,1918,2384,2658,3076,3406,2138,1354,1452,1984,2706,2712,2578,2094,1592,1964,2416,1838,1328,1262,966,1256,1216,1576,2098,2082,1768,850,432,405,389,450,507,569,714,583,448,397,456,507,446,418,421,369,514,755,667,441,444,549,448,479,429,543,429,383,344,579,638,463,442,460,438,394,384,435,440,433,388,302,259,281,324,324,352,390,365,365,324,347,364,357,340,378,424,391,386,381,376,370,372,360,341,420,451,460,428,411,407,414,398,393,403,393,374,393,436,431,415,386,397,393,362,359,385,435,438,430,409,389,391,391,405,351,344,456,541,494,402,389,389,375,350,301,356,633,946,933,683,686,789,648,448,435,677,849,824,889,969,781,622,1162,1598,1610,1830,1722,1448,1252,908,728,881,788,731,510,683,918,877,535,373,639,646,739,1166,1298,1070,860,700,1086,1038,1188,1350,1028,1394,1106,584,439,363,437,474,387,480,725,725,484,633,983,670,497,1058,1734,1688,1160,1226,638,600,1438,929,486,326,760,1046,761,705,991,1148,1138,775,515,520,682,1084,745,736,850,1007,1046,910,730,460,330,409,472,367,306,328,312,290,290,307,304,293,287,262,265,270,223,212,220,264,272,283,301,303,291,278,277,270,267,327,431,419,349,333,333,350,511,498,407,360,337,313,308,325,345,332,317,304,304,295,280,297,325,321,342,423,530,764,918,1038,1360,1372,1128,883,803,616,936,1390,1374,797,672,646,608,570,749,1070,1272,1722,1776,980,575,776,1082,1410,1382,1134,1206,1310,1318,1530,1570,1372,1050,1112,1300,1114,717,540,615,595,525,510,916,936,623,638,693,816,847,594,498,422,405,371,439,556,618,548,443,453,469,512,421,850,1080,578,583,542,332,556,440,430,519,617,769,756,639,660,920,984,849,687,361,293,636,1138,1116,666,465,432,897,1452,1156,1048,939,933,1222,1064,912,865,572,346,351,391,530,953,984,498,626,783,705,926,1378,1616,1312,644,382,411,563,905,847,957,825,626,655,714,559,470,459,485,484,443,466,587,650,499,525,493,307,249,328,480,500,477,769,836,1208,1314,495,410,503,396,475,447,546,641,567,621,611,1250,1992,1602,1110,1136,774,719,999,612,395,295,366,659,1110,1216,701,504,800,1216,1316,895,982,989,930,837,589,473,375,325,432,534,587,669,462,506,454,502,623,607,554,623,642,919,1082,918,1013,1026,1374,1366,1456,1296,1416,1484,1262,1190,1484,1068,613,811,888,1526,3134,2166,1382,1232,1538,1406,1256,1346,1618,1592,1252,1262,1396,1388,1294,1108,1230,1278,1366,1366,1286,1504,1398,933,537,771,1378,1438,1376,855,1290,1618,1592,1736,1790,1212,606,499,649,531,477,359,362,429,430,408,670,1072,1308,1290,1244,1334,1332,1268],[313,305,325,322,284,339,350,319,348,352,299,287,294,279,287,423,626,760,727,665,708,702,606,494,638,716,719,838,838,811,808,726,642,631,592,492,523,658,593,425,429,514,593,638,502,456,480,951,1432,1024,744,1006,1166,1124,670,765,1152,1408,1328,1384,1354,1002,701,874,952,891,746,710,601,794,544,322,356,374,370,372,377,344,306,306,316,345,344,332,337,347,321,288,260,229,223,310,538,554,276,258,247,267,396,349,463,620,1296,1576,1446,1346,1102,917,999,638,1026,1052,965,1150,1070,1002,1186,999,546,419,1058,1478,895,1384,1472,1472,1214,1240,1292,1120,1204,1454,1498,1300,1440,1494,1924,2020,1480,1526,1434,1398,856,527,579,788,996,1068,1108,1072,794,715,576,510,487,490,469,474,477,399,360,428,443,480,803,1308,1714,999,606,485,435,435,459,454,475,377,306,299,268,291,304,281,311,281,277,288,298,294,285,285,329,359,427,721,1142,1224,1280,1330,1382,1368,973,1134,1864,1732,1152,904,929,817,827,730,440,411,459,462,437,567,594,574,649,669,641,641,642,579,552,498,439,519,595,650,738,713,620,552,536,493,410,390,425,451,557,544,468,443,471,503,549,607,687,559,424,390,361,357,354,364,372,372,369,375,448,566,573,458,390,383,443,435,410,623,650,490,458,417,450,501,489,464,555,525,369,439,530,533,423,421,436,415,403,365,396,415,368,354,319,255,224,239,275,274,292,335,380,332,352,350,306,288,388,463,473,469,399,344,495,876,991,954,897,672,978,1378,1250,1270,1178,903,528,515,800,1064,887,418,316,318,391,868,656,1026,1536,1804,1738,1506,1060,865,1050,1306,1542,1826,1400,601,316,475,596,503,386,351,312,322,438,482,673,1336,844,548,425,481,595,924,1102,1348,1368,1266,1594,1232,1492,1876,1088,1146,1234,799,505,426,373,430,416,418,454,461,453,468,553,581,559,611,619,565,578,777,904,1096,1200,932,764,819,672,598,641,652,642,810,1144,1466,1462,970,572,446,473,646,586,1130,1154,813,659,789,923,829,1015,1208,982,1152,927,894,972,1232,1300,1302,1436,1148,923,982,968,1012,977,875,877,885,918,770,645,682,689,957,1078,1138,1242,1376,1444,1280,1152,990,756,618,608,662,609,597,586,586,589,473,441,464,467,421,497,915,738,525,532,488,555,1098,1556,1688,1472,1018,631,636,551,570,920,1066,769,456,401,328,376,745,1152,1516,1574,1234,1062,975,832,820,741,853,980,973,875,853,1016,921,832,851,691,608,1256,1532,1474,1364,868,877,1166,728,468,668,934,868,973,1190,1290,1246,1438,1672,1604,1196,1010,738,666,850,497,351,397,455,461,468,472,464,465,468,451,426,392,306,346,404,441,427,425,345,266,337,410,400,408,411,409,430,401,383,419,415,395,382,351,367,437,425,406,412,442,455,451,449,468,472,463,477,475,550,645,563,397,396,373,360,372,333,344,313,324,358,392,366,429,412,351,450,556,673,575,456,372,364,401,424,520,621,653,810,902,1128,849,494,332,525,858,965,792,977,1312,1230,980,955,828,480,379,354,293,358,524,417,297,432,482,742,1007,1036,960,1182,1024,747,881,833,781,710,566,582,505,470,655,634,468,693,1382,1284,1776,1672,1212,1022,1208,1288,828,750,708,650,537,418,453,855,907,714,852,974,774,396,332,289,357,571,577,625,604,710,1096,1826,930,513,369,297,380,440,561,816,1168,1272,1164,949,531,494,1010,951,1086,1222,1300,978,654,803,895,1032,1140,1154,1282,1230,1320,1566,1590,1864,1538,1180,1240,1316,1346,1214,1368,1168,1228,1232,1256,1310,1588,1816,1704,1412,1432,1738,1908,1730,1532,1392,1080,862,511,468,464,479,449,441,440,480,540,545,496,484,467,485,498,521,543,522,492,488,488,488,507,491,501,632,698,677,579,539,498,530,485,461,459,463,551,585,525,542,506,523,673,612,818,1238,1378,1476,1578,1474,1418,1242,657,491,481,919,1154,1310,1456,1462,1688,1460,829,793,913,538,412,523,768,1176,943,1090,959,753,1015,1262,1310,1412,1266,1398,1430,1436,1450,1354,1284,1416,1482,1322,1170,1196,1482,1388,956,766,1062,1132,1034,846,717,879,568,321,429,664,640,544,581,402,740,809,426,457,1064,965,539,378,445,670,966,1152,927,733,675,487,479,462,372,361,509,609,1126,1560,1154,458,290,325,825,542,569,1034,1158,884,968,915,680,1276,1410,777,794,838,788,1002,945,525,402,342,485,716,666,408,508,1140,1644,1019,536,574,661,854,595,503,517,884,1188,805,513,574,725,1180,984,1011,1130,1278,1274,954,918,1122,1270,1250,1206,1288,1244,1388,1260,1066,1044,1410,1348,883,744,956,1286,1342,1308,1218,957,1236,741,465,558,1156,1528,1488,1410,1330,1338,1204,845,1188,1424,1028,747,1116,1400,1410,1260,1114,1446,1622,1368,1204,1356,1448,1254,1060,954,1096,991,720,844,987,1050,1060,1126,1030,750,927,1136,1026,1390,1490,1526,1670,1908,1312,706,677,1144,1274,1134,1284,1610,1628,1558,1328,1344,1080,977,1164,1230,957,878,1168,1378,1334,1001,833,1306,987,1090,1226,1376,1292,1214,1166,1178,1216,1236,904,553,387,526,1012,1512,1072,634,725,971,980,836,875,1158,1007,1007,930,1214,1466,1372,1316,1358,1368,1212,1360,1560,1334,1094,1162,1158,1184,1230,1336,1526,1776,1532,1154,1162,1378,1418,1346,1310,1218,1284,1468,1516,2036,1168,764,1090,1284,1370,1350,1302,1306,1264,1436,1418,1322,1616,1542,1362,1266,967,817,684,533,484,476,557,887,1606,1974,1434,1122,1070,1194,1460,1622,1592,1484,1426,1588,1972,2244,2302,2102,1654,1988,1976,1354,1706,2088,1770,1470,1688,1892,1904,1748,1592,952,1178,1142,809,875,1374,2590,3386,3222,3536,3418,2956,3504,2352,1202,1346,1660,2152,2372,2358,2132,1556,1276,1736,1848,1288,1258,989,1384,1344,1746,2166,2246,1972,1106,468,432,449,556,602,624,858,802,664,579,560,619,587,535,541,545,523,470,434,409,415,504,395,410,425,403,381,400,384,563,713,555,443,516,541,444,410,406,410,468,415,332,282,260,302,320,329,386,399,371,341,332,343,375,369,384,393,384,407,415,395,359,396,345,371,416,433,438,469,475,425,403,417,432,431,405,365,409,448,434,415,404,388,340,335,340,353,391,424,435,434,401,407,406,409,391,350,363,536,600,402,380,372,375,419,479,466,507,716,787,689,683,738,618,515,550,503,624,887,1072,1064,888,630,825,1328,1288,1194,1322,1122,914,598,611,1030,954,906,850,1150,1278,1082,639,308,300,422,630,765,1152,963,743,847,1246,1166,1690,2056,1318,632,719,786,382,393,383,394,413,480,710,694,713,1168,1022,568,722,1230,1498,1224,1242,991,594,736,997,661,524,684,733,603,485,720,1230,1274,1124,1024,1226,959,581,467,462,590,694,905,913,697,761,702,389,417,619,439,314,298,295,301,297,287,291,292,281,225,254,261,229,224,220,238,262,275,290,281,276,290,305,301,313,329,383,315,260,283,311,330,378,402,393,344,341,320,314,320,323,317,294,288,294,288,283,306,316,323,355,372,469,597,731,790,1332,1646,1146,803,688,636,1108,1466,1244,760,465,521,591,469,780,1020,1246,1522,1320,807,893,924,684,1074,1134,1176,1482,1252,1154,1318,1372,1420,1450,1278,1008,772,433,462,543,445,380,401,707,688,501,558,614,809,948,697,630,562,492,492,556,703,1004,841,571,552,692,803,543,344,370,520,633,523,509,541,421,405,455,496,539,816,839,1050,1566,1616,872,478,328,357,722,1392,1704,895,567,551,1064,1338,1154,999,985,718,821,749,896,1108,780,418,508,460,708,1636,1332,525,922,1490,1444,1462,1280,913,698,558,517,501,460,667,1044,1194,1050,731,787,608,444,454,455,614,771,589,505,415,451,436,479,408,317,386,517,586,477,328,348,525,741,611,355,303,265,618,480,309,542,692,529,502,839,1606,1770,1028,852,772,593,698,1022,705,408,380,591,974,1362,1106,542,415,430,602,1048,1328,1040,650,633,589,477,511,418,329,419,513,651,687,545,720,786,607,561,706,691,493,663,1210,1256,678,666,1042,1402,1458,1438,1316,1394,1256,1094,1354,1490,1332,1166,924,784,1274,1384,1220,1144,1354,1432,1406,1448,1306,1386,1372,1328,1286,1196,1332,1220,1160,1350,1368,1398,1156,1032,1186,1366,1366,921,938,1842,1600,961,911,1418,1406,1506,1750,1884,1750,988,366,455,451,368,368,381,423,430,421,401,678,1084,1266,1202,1158,1158,1250],[333,311,336,368,352,323,328,323,332,455,438,424,386,333,321,419,505,539,577,623,543,516,474,402,440,388,543,572,602,728,703,603,620,633,553,445,517,611,558,466,498,423,552,650,496,417,327,487,805,775,674,869,675,438,310,392,890,1496,1512,1140,995,976,1244,1360,1005,1084,791,551,580,595,416,340,344,363,368,364,335,312,299,290,312,322,336,346,354,363,346,323,282,235,253,559,1288,1254,389,300,259,241,322,383,456,480,954,1488,1490,1360,1350,977,813,727,911,656,422,505,534,822,1216,956,511,607,1266,1260,694,1246,1426,1278,1150,1228,970,757,954,1510,1824,1706,1996,1794,1764,1858,1682,1690,1828,1592,1216,944,609,568,697,988,1384,1306,1106,785,600,504,510,528,493,469,464,405,407,462,395,390,440,545,884,691,672,640,442,426,405,370,365,296,299,355,386,405,338,292,309,287,297,323,321,307,270,267,338,362,393,464,813,1070,1210,1424,1426,1260,1078,1444,1896,1494,987,678,821,808,841,739,507,416,414,425,384,380,492,591,499,475,479,465,564,555,590,608,477,437,501,579,684,602,491,500,531,469,485,570,514,461,537,514,442,451,562,672,684,735,667,514,474,420,400,385,365,352,320,315,341,392,433,491,451,355,351,395,413,424,474,692,680,462,461,470,497,462,465,527,667,529,410,711,1017,1034,993,811,486,407,362,337,438,415,398,380,287,240,264,315,317,299,309,324,394,342,280,234,247,340,429,428,457,469,410,475,902,1420,1222,751,394,384,568,659,865,1078,1034,791,444,437,783,1230,845,301,276,327,372,580,447,620,1058,1400,1510,1244,470,449,792,1294,1500,1612,971,480,403,527,570,412,457,421,312,266,334,479,792,1410,1056,630,514,557,576,603,1080,1924,1592,1228,1624,1118,1436,1398,880,951,1206,888,583,473,387,386,359,385,439,495,523,592,622,754,825,790,717,612,489,347,417,663,883,749,618,800,775,708,608,556,498,458,511,794,1054,769,545,432,347,316,838,1456,1226,961,944,953,814,790,1100,1250,1020,1300,1212,1416,1606,1528,1432,1350,1458,1220,827,845,908,965,961,814,694,709,785,728,1090,1052,681,601,676,833,960,1138,1156,1224,1164,1120,983,835,814,973,952,852,874,833,763,777,691,518,501,637,642,657,541,430,423,622,1106,1286,1116,1094,1262,1372,968,595,503,655,666,989,1112,718,389,328,327,439,881,1456,1526,1648,1804,1524,1126,961,967,1368,1576,1128,729,654,921,669,561,556,493,594,1138,1332,1306,1128,918,1358,1206,595,519,532,584,526,518,750,1156,1252,1262,1384,1274,1438,1740,1010,963,682,459,339,379,449,467,475,458,452,477,487,456,400,434,332,377,401,425,430,412,415,410,401,444,435,433,445,422,451,408,401,428,426,381,396,432,441,430,415,415,415,431,441,438,420,404,398,406,438,453,476,556,514,366,339,329,324,290,328,341,375,388,355,385,405,406,321,361,628,556,474,401,414,401,292,310,408,447,549,943,1254,996,866,411,407,879,1628,1414,780,599,850,1150,1009,635,636,897,686,335,293,276,311,329,269,328,532,542,365,509,918,1242,1300,1328,1360,1310,1060,1354,1372,1188,1270,1066,597,724,602,448,1023,1332,1352,1636,1224,930,813,1001,951,908,1088,887,828,613,664,471,661,479,485,667,872,683,382,347,322,359,530,666,912,666,912,1834,2104,1172,755,608,355,614,814,582,839,1194,1226,996,833,595,775,1300,1104,1116,1316,1426,1166,868,794,1088,1380,1180,1124,1398,1526,1506,1308,1472,1598,1556,1606,1462,1556,1668,1834,1324,696,707,779,1608,2364,2752,2944,2432,1586,1688,1794,1688,1636,1428,1009,573,393,393,444,448,438,417,405,433,478,506,611,554,537,506,487,477,460,434,436,445,455,450,494,539,499,482,515,578,722,775,752,690,565,452,466,459,488,592,608,535,548,525,491,674,722,984,1454,1710,1628,1460,1532,1538,1100,585,559,734,937,922,1072,1356,1594,1676,1334,1172,1042,1020,959,562,385,479,773,1328,1312,911,815,1100,1358,1382,1400,1328,1510,1522,1510,1456,1418,1410,1354,1202,1250,1154,1064,1408,1424,1104,531,543,987,1454,1364,1156,750,438,289,396,616,626,543,653,440,617,420,371,336,854,1164,925,425,332,263,383,485,555,639,647,710,750,634,615,600,697,993,1144,995,564,468,276,242,593,750,595,490,612,447,358,367,585,1184,1356,1044,883,880,775,685,630,453,356,328,421,473,353,380,564,1082,1116,621,611,612,760,673,630,713,598,744,1112,954,390,371,490,1007,1003,1017,1244,1390,1250,991,952,1098,1234,1296,1304,1392,1296,1250,1254,1106,1094,1426,1290,846,891,1168,1332,1202,1023,1036,1190,1270,693,475,622,810,1012,1206,1296,1328,1284,1076,1021,1240,690,610,831,1280,1432,1650,1526,1282,1476,1722,1778,1416,1428,1806,1722,1334,1164,1094,962,945,794,836,940,918,1090,1076,842,1080,1222,1236,1382,1284,1360,1510,1622,1556,1212,993,1162,1202,1086,1170,1192,1186,1250,1396,1516,1266,1576,1950,1378,805,758,1024,1262,1302,1256,1562,1396,967,1009,1130,1084,1100,1328,1478,1486,1204,1030,650,448,381,503,1108,1434,1174,906,871,1120,1058,967,991,1288,1080,1164,1208,1338,1418,1328,1278,1294,1246,1176,1200,1024,986,1052,1182,1240,1290,1266,1030,951,1158,1200,1142,1162,1224,1374,1388,1358,1224,1192,1108,990,1066,1066,1264,1438,1370,1216,1204,1202,1260,1286,1404,1282,1532,1564,1656,1786,1276,680,561,648,945,1126,911,1012,1244,1532,2014,1556,1400,1520,1710,1694,1578,1640,1880,2166,2286,2394,2334,2332,2326,1782,1550,1372,1588,1906,1674,1406,1538,1774,1662,1626,1694,1498,829,1042,1266,1258,1570,1656,2484,3550,3162,3200,3248,2624,3228,2490,1372,1084,1166,1794,2198,2138,2156,1744,974,1142,1624,1396,1066,1038,1374,1294,1644,2010,2124,1918,1066,585,541,482,585,606,899,1264,1264,1088,904,792,705,572,547,613,725,675,473,379,358,405,425,384,368,405,481,636,627,449,505,730,656,471,487,545,438,426,437,383,428,470,450,382,316,308,361,346,357,392,408,392,332,349,367,379,406,379,361,404,419,419,407,372,312,345,373,390,430,484,474,458,442,411,415,433,421,400,447,457,421,400,373,333,310,302,316,378,376,397,399,433,439,426,419,413,387,354,348,494,585,426,374,405,453,476,484,448,538,708,668,498,486,505,419,457,536,470,424,612,666,614,727,887,1092,957,730,869,972,853,1150,914,738,1007,1050,1210,1456,1592,1636,1410,615,336,298,336,423,575,1044,987,995,1082,1080,1300,1680,1686,1560,1448,1396,1190,546,448,388,411,443,635,827,535,541,689,461,360,398,689,1120,785,916,944,940,1015,767,423,714,1082,1080,1532,800,965,1482,1414,1378,1194,1542,1370,878,578,422,444,617,1038,1090,868,724,683,516,481,493,354,297,246,231,244,276,284,291,277,274,240,228,243,234,230,226,254,264,268,288,271,267,297,320,301,309,372,583,604,325,280,309,305,336,373,430,362,336,323,319,317,317,309,288,296,343,330,300,323,316,339,413,426,484,513,559,605,985,1116,784,891,839,468,745,907,663,800,669,495,606,821,1136,1572,1514,695,720,1198,1334,1224,724,839,1082,1066,1172,858,587,621,885,1334,1306,717,747,916,607,690,890,632,430,478,593,553,505,556,742,836,1054,1148,1206,917,788,1052,1218,1104,940,814,684,667,839,1040,593,345,423,535,751,589,649,763,547,368,356,417,539,1034,905,1168,1388,973,545,453,345,426,333,1015,1726,778,586,533,1150,1482,1060,1230,1094,691,676,742,1016,1240,742,437,545,439,450,943,616,449,925,1684,1710,1130,702,594,634,989,816,476,406,373,790,1294,974,661,893,764,370,364,415,444,658,596,403,357,323,318,311,311,362,530,660,672,614,342,374,392,365,318,358,350,348,543,532,560,673,702,590,796,1070,1420,1430,1460,1114,827,714,1076,1036,729,639,492,731,1128,1310,777,445,377,395,458,583,727,1028,916,549,471,535,480,362,338,427,382,434,472,451,642,735,658,705,781,587,473,593,739,655,609,612,1040,1236,1236,1318,1370,1338,1218,1302,1538,1506,1712,1266,804,806,1204,1324,1130,1132,1302,1212,1248,1320,1144,1148,1238,1360,1112,1196,1354,1274,1488,1498,1318,1256,964,1004,959,973,1112,1224,892,1208,1212,1062,1308,1428,1310,1288,1216,1432,1620,1214,491,345,413,348,357,411,427,391,387,375,453,728,1164,1312,1250,1128,1122],[464,354,359,425,416,386,310,302,307,397,436,488,492,439,368,410,456,463,465,560,426,446,455,451,569,495,545,574,543,675,689,555,607,605,467,411,471,454,457,409,445,459,661,771,487,444,359,419,947,1038,1000,708,388,310,372,487,965,1534,1618,1428,1118,827,1278,1074,1017,887,521,535,591,448,354,327,339,371,375,377,361,347,328,300,388,415,414,387,364,365,357,346,329,234,359,1001,1788,1458,527,346,308,240,274,333,381,430,639,1116,1484,1150,1012,740,451,620,758,448,278,346,370,456,761,949,827,776,854,882,681,1136,1508,1478,1582,1430,885,700,935,1088,1240,1396,1860,1704,1584,1554,1722,1702,1822,1826,1760,1606,1160,905,897,834,792,1284,1242,719,429,386,467,492,462,460,461,457,584,635,546,488,448,461,526,450,663,779,716,602,507,455,379,300,282,377,373,362,313,237,264,305,316,301,328,372,350,314,352,374,393,388,409,410,704,1096,1248,1158,1128,1302,1356,1064,774,662,717,754,851,862,783,594,402,397,370,400,502,467,421,399,371,495,634,536,552,736,690,531,568,592,579,508,429,399,390,375,524,693,579,463,506,519,534,585,689,863,802,808,596,424,453,462,428,391,386,378,363,375,375,370,361,390,383,348,377,450,451,486,601,682,577,523,544,572,566,543,488,858,962,530,531,924,961,800,964,1102,600,419,451,511,497,419,404,347,246,229,264,280,284,222,243,242,262,273,268,279,361,473,457,467,465,444,428,691,1246,1552,1408,1032,546,454,517,548,930,1088,654,375,276,270,414,608,415,310,307,280,417,505,403,489,960,1510,1578,1112,574,424,525,659,667,576,576,866,999,1070,866,657,615,596,485,313,321,326,634,974,847,613,542,474,513,678,981,1674,1360,1342,1506,1106,1436,1454,1168,1178,1202,1388,1720,919,485,374,287,294,343,345,403,509,570,771,956,917,858,730,473,402,452,472,478,408,727,969,844,677,626,575,506,443,414,410,619,647,524,477,471,469,1174,1594,1252,1124,1216,1090,679,757,959,940,1342,1744,1452,1324,1256,1286,1458,1358,1214,1238,1058,941,955,1020,912,830,868,1002,932,763,935,833,610,718,660,572,630,671,864,985,1023,1122,1108,1202,1302,1296,1350,1514,1406,1264,1294,1122,786,783,798,712,569,596,624,583,764,1172,1214,804,612,591,702,1196,1304,799,618,861,761,771,1140,1184,548,395,345,405,1146,1158,1004,1492,1780,1388,1066,979,848,1108,1394,1278,933,672,844,660,483,446,422,484,765,986,1062,1064,992,1170,1228,922,1138,1056,618,614,564,565,930,1350,1684,1522,1140,1250,1422,995,946,620,480,410,407,442,455,466,455,455,477,479,414,305,367,424,406,324,346,412,421,450,443,454,468,458,452,405,420,450,422,410,436,424,393,387,427,418,400,374,382,400,415,423,410,397,396,403,403,398,421,433,470,428,365,352,344,341,294,339,397,428,422,356,401,428,417,434,436,554,413,359,422,418,328,250,320,400,523,966,1462,1190,648,394,572,1134,1604,1344,739,546,546,573,800,633,549,479,608,430,294,221,267,313,284,247,390,583,537,399,334,560,667,524,905,1102,1140,1298,1466,1394,1158,1472,979,569,784,572,491,1316,1042,1372,1392,1005,816,727,773,763,702,835,980,887,712,612,590,680,469,376,400,382,419,308,303,371,453,562,413,874,1040,794,1592,2024,1150,922,968,480,780,1124,1272,1274,987,1144,1098,1172,826,734,968,1082,1206,1170,1290,1108,1128,1256,1222,1446,1598,1708,1556,1522,1588,1596,1454,1248,1444,1588,1660,1654,1840,2460,1544,980,908,1084,1934,2802,2876,2962,2524,1410,1466,1516,1520,1438,1320,854,472,383,396,453,450,364,371,381,394,448,492,601,651,619,537,479,458,440,456,451,407,420,390,469,545,482,460,491,515,568,592,608,694,655,501,478,422,513,655,649,573,552,522,519,695,670,784,1460,2006,1874,1670,1466,1364,979,499,427,823,971,1262,1636,1432,1256,1074,769,1278,1188,1340,1478,854,467,482,739,1076,1172,1016,936,1230,1910,1614,1500,1448,1376,1404,1430,1230,1274,1516,1280,1096,1144,924,825,1290,1324,988,557,406,850,1714,2224,1626,813,576,407,564,631,602,643,508,380,306,306,298,307,435,731,649,340,313,483,926,593,337,235,288,350,442,560,579,593,797,888,930,904,658,525,572,452,352,407,406,388,403,430,471,487,550,936,1076,976,735,813,1030,1012,818,729,584,477,432,249,244,344,335,473,385,517,611,702,805,698,773,813,871,1008,722,761,539,495,594,1003,1236,1202,1340,1386,1178,1108,1110,1130,1466,1376,1248,1214,1342,1374,1222,1086,1108,1021,783,742,987,1036,838,521,831,1134,1250,1092,758,670,1064,1324,1282,1218,1086,1104,1076,1009,1130,957,577,665,883,990,1284,1744,1684,1396,1354,1544,1946,1542,1512,1804,1570,1248,1298,1138,999,1094,1118,1164,1216,958,1314,1510,1274,1302,1426,1494,1296,1234,1260,1324,1482,1526,1504,1466,1400,1206,1044,1374,1090,1204,1354,1492,1640,1404,1772,2292,1524,759,668,1174,1198,1100,1208,1366,1188,1178,1314,1256,1108,1172,1194,1400,1484,1276,1092,858,580,554,845,1078,1282,1450,1436,1036,1001,871,997,1104,1192,1188,1222,1078,1126,1328,1240,1002,1196,1498,1298,1362,1100,1152,1180,1216,1240,1302,1138,836,713,872,1328,1096,1058,847,970,1118,1404,1310,1188,1070,1108,1274,1424,1418,1354,1280,1186,1348,1454,1338,1238,1536,1444,1324,1302,1378,1622,1608,894,666,760,1108,1310,1015,874,1046,1128,778,1200,1884,1670,1322,1506,1766,2018,2234,2240,2288,2310,2302,2336,2020,1712,1794,1808,1936,1620,1278,1532,1748,1730,1614,1642,1498,1226,848,938,1308,1236,1236,1318,1980,3322,3042,2822,2700,2100,2038,1526,856,664,876,1398,1826,1748,1744,1614,1030,815,1098,1422,1050,999,1080,1366,1986,1972,1960,1704,805,460,436,483,539,617,1130,1570,1712,1604,1448,1236,976,732,572,547,678,756,738,528,379,495,565,450,375,390,641,872,713,542,459,612,719,509,466,542,448,415,444,408,411,429,443,404,354,328,343,345,335,354,419,370,330,359,363,355,362,337,335,387,411,415,425,403,359,354,361,347,387,428,454,464,473,415,397,428,455,445,448,446,409,369,339,323,290,255,289,371,383,333,342,377,387,424,439,412,377,368,328,364,400,386,384,419,451,440,398,382,390,382,381,486,456,425,393,400,432,451,455,477,501,728,970,1004,1196,863,780,725,702,610,709,855,1026,943,930,840,800,1030,1396,1046,437,301,276,332,633,659,775,828,806,1294,1614,1198,1058,1376,1948,1466,1376,1056,711,573,522,498,487,588,607,383,321,278,321,372,421,548,1058,1150,924,866,875,658,508,574,1070,1274,1418,1764,922,891,1112,1384,1740,1560,1422,1220,944,486,375,365,365,487,767,770,536,425,462,585,439,285,260,207,199,195,250,292,298,265,262,254,250,245,239,220,234,262,245,249,253,259,284,309,318,306,332,321,535,618,360,278,292,290,312,329,380,334,324,327,303,296,312,317,312,329,370,377,312,314,346,420,508,521,474,470,507,534,549,680,1076,1210,1154,1072,948,760,856,1013,863,509,551,994,1470,1778,1316,575,597,659,628,695,778,748,717,735,893,1054,732,499,786,1266,969,554,930,1300,890,1076,1228,690,393,431,659,780,790,478,680,1028,1334,1190,1086,998,819,1040,1210,850,607,557,362,430,565,844,588,352,416,652,978,773,626,781,796,678,677,496,658,1007,631,940,1202,672,412,427,437,467,482,808,915,575,411,568,965,1180,723,934,1002,681,792,1116,1484,1356,593,462,566,469,392,616,530,386,686,957,1036,1102,828,651,630,1036,1010,878,562,361,525,769,678,571,585,437,305,382,354,407,583,819,1122,816,393,445,376,308,431,565,479,536,527,406,295,266,318,358,360,316,366,437,673,783,565,831,1404,1074,915,832,861,1456,1528,867,875,1318,1150,1132,865,616,907,964,836,505,363,309,330,388,538,681,669,727,860,802,579,428,308,342,441,393,364,350,387,521,604,626,724,808,706,708,531,802,979,875,839,1146,1376,1372,1324,1454,1488,1376,1290,1278,1268,1656,1448,1130,918,882,1184,1372,1390,1414,1212,1068,1124,1114,1306,1420,1318,1094,1214,1328,1414,1642,1416,1058,939,960,1164,1036,1009,785,1482,1512,960,1034,1456,1444,1226,1252,1082,910,937,1054,1176,912,544,385,350,355,425,472,515,473,390,389,444,781,1202,1136,1144,1506],[443,372,400,406,484,399,264,229,296,346,460,546,462,387,355,426,426,408,498,475,385,426,470,562,675,738,822,872,719,703,676,479,609,607,432,458,520,509,485,443,447,572,903,752,539,419,452,614,1082,1700,1736,1188,814,681,697,814,1324,1742,1336,1404,1260,744,810,1038,824,465,572,641,459,415,380,361,414,441,413,376,361,334,330,358,450,558,577,473,388,375,348,346,366,304,344,988,1462,998,400,330,332,270,276,278,348,421,433,707,1142,716,447,327,254,294,260,288,381,441,479,561,672,761,895,1044,1005,876,764,1118,1244,951,1088,1264,972,967,1366,1310,1292,1084,1316,1612,1522,1510,1544,1530,1888,1628,1494,1788,1660,1226,715,570,684,786,596,498,358,302,358,368,405,432,473,601,1376,1858,1510,860,519,440,388,416,417,496,611,768,842,506,366,341,326,417,373,289,282,269,271,232,254,187,344,408,363,321,345,392,388,393,352,247,293,456,692,1005,1220,1156,1214,1392,1122,746,666,781,858,902,886,731,510,397,382,453,511,421,362,347,362,514,637,538,522,675,698,641,626,709,664,547,476,494,477,430,470,531,501,419,498,553,641,725,765,939,922,685,512,378,296,329,304,273,327,402,418,412,372,388,441,462,458,440,443,470,505,540,583,593,601,626,641,628,607,595,538,911,1004,488,570,880,685,514,852,1020,567,351,532,709,591,421,384,333,276,256,225,216,172,192,194,206,214,207,241,292,466,607,539,475,436,440,577,902,1062,1202,1382,1174,722,566,517,584,862,739,346,250,223,206,280,522,499,473,306,237,405,592,355,334,583,753,589,589,899,1078,1182,855,386,335,722,1666,2234,1986,1218,1214,1240,1148,703,385,356,331,404,470,437,406,399,402,489,539,783,1152,1132,1168,1142,1060,1224,1382,1266,979,841,1252,1698,1080,501,344,290,273,310,336,353,372,422,560,656,624,636,552,429,407,422,529,497,493,777,1036,1060,962,712,639,612,676,606,554,706,782,687,584,469,512,899,1058,1036,844,765,707,1220,1822,1638,1018,1060,1384,1186,800,454,604,1198,1368,969,919,1194,1144,1018,993,996,977,954,1008,1023,973,854,698,673,713,658,677,611,688,774,792,773,657,706,896,948,984,1074,1170,1160,1236,1300,1312,1364,1324,1246,1216,1296,1368,1328,1254,1350,1404,888,587,555,559,570,886,1330,1116,656,921,1080,1064,1052,1216,1104,645,456,488,1026,911,697,1144,1280,915,638,602,627,1130,1054,1236,1028,790,813,639,477,420,388,437,680,1280,1260,1088,1040,752,725,708,1376,1274,707,922,998,1024,954,1338,1416,973,648,695,760,1068,901,517,507,437,438,445,443,442,451,466,481,474,394,273,299,381,399,381,409,460,539,523,475,486,451,453,421,415,416,430,437,416,409,390,409,398,405,399,383,367,373,387,396,409,413,391,374,375,379,392,384,393,363,361,359,349,337,354,361,363,373,359,343,342,336,366,521,545,408,482,462,478,583,404,364,388,343,433,1350,1930,1440,692,404,414,818,1432,1310,626,462,505,552,474,692,545,506,670,541,355,270,244,299,323,343,327,423,499,508,484,526,1032,1036,830,666,473,457,616,1052,1013,979,845,548,589,764,532,1005,1110,1072,1394,1018,848,832,747,703,880,847,713,724,653,665,530,605,630,547,938,915,392,435,409,428,394,515,656,468,1334,1622,624,1188,1622,736,751,974,422,369,773,1422,1300,1116,1406,1876,1776,1160,1256,1206,1252,1328,1286,1166,771,882,1072,1284,1616,1798,1848,1952,1772,1434,1534,1324,1092,1190,1450,1574,1448,1486,1438,1202,1046,1114,1090,1654,2710,2790,2912,2718,1440,1358,1638,1668,2208,2254,1166,690,361,360,386,397,367,413,391,369,398,427,541,637,628,536,448,440,415,448,495,428,390,398,449,491,431,421,449,459,482,482,513,599,653,579,613,549,604,702,653,579,543,489,555,754,633,940,1658,1808,1898,1818,1310,1174,1246,776,553,918,1228,1544,1650,1258,741,633,618,937,755,987,1412,1450,991,916,1146,1046,1366,1434,1530,1572,1788,1314,1306,984,774,1132,1496,1516,1676,1490,1262,935,831,1152,1000,1080,908,735,772,839,1406,2436,2486,1578,1072,799,689,448,342,376,405,705,712,408,279,313,313,374,431,483,427,334,490,881,839,571,379,377,486,590,465,330,473,831,752,626,567,524,718,949,940,866,843,802,784,837,702,616,780,576,564,594,653,612,1136,1578,955,717,1500,1816,1660,846,383,330,322,300,304,637,1032,890,761,698,685,694,820,1418,1250,1142,1490,1072,728,702,994,1208,1168,1234,1408,1234,1130,1288,1368,1298,1200,1088,1180,1442,1336,1028,993,956,793,879,974,1072,1078,1014,719,891,1226,1130,1062,1007,967,1194,1234,1392,1434,1122,759,969,1214,1090,948,887,924,924,1092,1248,1504,1500,1246,1234,1158,1090,1230,1174,1188,1256,1090,966,954,1040,1270,1544,1228,1254,1312,1584,1506,1290,1350,1572,1480,1416,1288,1252,1562,1464,1102,1366,1698,1536,1032,842,1260,1216,1120,1088,1256,1366,1298,1390,1798,1704,1100,1005,1244,926,783,877,674,725,1188,1386,1056,1136,1164,1076,1112,1178,1070,937,882,629,750,985,1100,1394,1306,1384,1136,1070,1110,999,968,843,826,780,697,979,1306,1296,1078,1232,1552,1566,1484,1246,1108,1094,1240,1318,1376,1202,1098,1038,915,1170,1112,1296,1058,1170,1252,1372,1348,1260,1136,1050,1288,1220,1104,1430,1460,1336,1472,1614,1430,1264,1348,1290,1416,1676,1494,1616,2052,1232,890,818,1122,935,758,783,913,1102,1028,1150,1866,1826,1772,2108,2138,2106,2180,2252,2276,2280,2474,2280,1642,1614,1782,1464,1300,1230,1456,1582,1654,1640,1696,1430,1076,1444,1368,921,1344,1334,1384,1432,1620,2360,2084,1604,1124,728,562,482,508,667,937,1202,1478,1420,1478,1584,1168,847,1120,1384,1052,1056,1196,1672,2220,2340,2226,1762,792,515,479,488,494,836,1364,1762,1816,1620,1636,1648,1554,1148,753,656,645,798,828,650,480,519,598,427,347,370,627,850,850,649,453,444,691,604,452,529,513,435,445,404,395,336,311,299,306,334,347,376,336,385,469,359,339,347,369,347,331,333,336,338,343,370,389,404,402,387,348,349,379,429,431,458,452,419,412,424,453,456,444,418,385,353,336,348,329,314,328,400,407,318,333,385,421,444,418,404,391,376,308,302,339,344,344,382,433,452,401,339,352,393,378,501,441,397,372,350,386,428,501,585,606,715,970,716,798,656,838,869,674,506,506,713,944,971,1078,836,617,583,722,500,352,318,300,326,772,716,536,711,562,807,1050,934,1202,1462,2088,1574,1060,852,810,890,794,535,461,484,542,363,330,341,328,380,639,789,1538,1848,966,472,454,375,618,861,1176,1396,1376,1068,863,645,573,991,1328,1550,1536,1146,719,352,291,303,295,295,333,333,561,596,339,401,388,287,222,214,226,213,242,277,276,261,272,276,261,262,270,230,224,245,231,224,216,261,303,310,317,316,310,271,301,331,280,294,292,293,293,299,323,311,311,329,327,307,310,297,290,293,284,309,294,298,358,444,515,468,424,481,524,565,677,1062,1526,1462,1562,1470,1134,1214,1312,1226,864,490,827,1288,1468,1592,745,932,1236,984,670,531,810,1162,1072,766,865,1478,1494,877,969,907,800,761,914,968,744,799,767,469,289,316,445,608,935,631,827,1152,1560,1302,874,1018,550,763,1316,937,404,331,318,314,537,607,432,365,369,435,419,492,711,771,831,1302,1356,998,1058,1016,668,767,841,686,587,516,560,518,488,803,1036,987,1012,816,698,875,857,1138,1240,1040,999,984,676,712,708,702,680,508,446,609,491,382,609,711,921,999,827,608,610,1462,1456,935,676,507,465,404,533,751,614,472,450,533,350,419,486,780,1248,862,553,604,402,271,343,458,497,532,403,362,380,347,334,357,313,313,358,428,597,550,367,623,1228,1202,1024,649,533,681,632,506,726,1088,1400,1324,580,421,550,655,593,375,317,349,346,291,351,430,432,448,717,1086,935,570,387,372,515,590,465,394,441,592,681,667,746,785,946,1228,705,681,1134,1220,1066,1126,1180,1340,1422,1454,1440,1428,1692,1982,1754,1448,1262,1038,779,949,1578,1438,1180,1476,1448,1376,1302,1170,1368,1578,1402,1120,1026,1160,1416,1466,1322,1348,1074,1040,1218,936,757,1396,2114,1840,1396,1264,1220,1028,882,943,849,1146,996,927,898,1026,976,662,332,346,360,427,698,502,434,475,448,518,900,1160,1244,1406],[456,382,426,520,485,363,295,290,359,452,617,673,624,606,544,537,480,377,456,486,422,438,512,566,746,1218,1374,1334,1028,624,480,450,543,487,451,550,578,576,517,416,445,927,1007,712,508,402,597,1028,1516,1818,1700,1530,1330,1070,996,1136,1378,1506,1262,1294,1400,1102,685,601,538,514,624,494,418,383,364,441,438,394,404,386,386,341,359,400,430,477,567,532,405,361,335,324,348,295,323,500,716,608,360,336,367,324,286,274,329,411,353,339,318,225,218,235,284,309,314,412,568,554,609,607,829,1140,1188,1204,1009,681,651,801,905,697,1023,1544,1532,1422,1498,1606,1630,1364,1528,1958,1918,1748,1318,1146,1160,890,1062,1184,814,429,303,297,463,423,341,403,407,310,277,258,347,377,451,946,1920,1986,1520,1146,839,856,763,482,424,470,452,643,791,681,604,530,413,459,525,358,343,288,268,281,263,263,328,298,295,336,340,352,352,327,274,281,306,291,315,585,1114,833,1013,1448,1336,896,721,706,859,927,918,820,699,479,385,452,459,373,362,411,399,433,532,514,512,590,707,808,686,718,731,725,685,679,580,411,388,468,492,447,474,492,608,669,717,963,836,501,490,400,299,275,244,239,274,311,320,360,352,379,480,536,544,503,501,480,494,482,456,480,533,597,641,631,602,566,573,816,712,436,723,916,813,763,975,897,537,379,516,639,564,398,333,302,256,226,217,225,180,216,244,249,247,254,290,328,342,491,486,396,416,431,429,394,364,599,847,756,566,566,535,522,562,330,229,252,274,415,1760,2208,1694,1856,591,293,322,397,279,234,258,389,442,735,1454,1784,1648,1064,443,387,534,1096,1772,1570,1074,1322,1294,1186,834,480,363,339,346,318,301,315,336,393,419,411,357,405,583,581,608,688,688,739,672,518,398,615,867,708,361,330,324,264,279,332,380,338,326,390,470,393,419,410,408,388,369,409,421,435,532,670,672,484,433,516,703,897,905,853,788,615,484,508,430,508,1110,1854,1998,1348,811,766,1166,1466,1206,621,619,783,635,517,437,458,915,1342,1538,1400,1290,1356,1284,1306,1328,1184,1110,1156,1060,1034,948,916,922,940,916,858,776,868,1306,1590,1262,920,841,727,691,634,547,572,673,680,680,699,696,818,909,948,1040,1178,1332,1532,1696,1418,758,570,629,689,621,673,1138,1266,688,730,872,1021,1190,959,1142,1144,777,605,876,732,593,860,710,578,484,519,1010,1522,1466,1328,1058,912,907,875,692,405,359,330,495,1206,1156,929,1050,1140,878,792,1326,1100,628,918,1392,1560,1338,1626,1366,839,691,663,756,1068,743,478,497,465,466,458,444,438,450,475,484,470,390,272,248,302,348,392,449,515,554,508,478,419,442,449,407,433,445,446,459,490,435,376,349,358,363,384,391,384,389,383,391,392,377,363,332,329,352,343,370,440,463,461,388,334,338,336,351,351,365,378,352,365,357,576,745,629,561,584,617,659,522,386,613,601,482,952,1654,1094,485,538,910,966,956,1092,906,545,472,384,427,490,692,568,479,528,456,425,327,303,421,487,366,352,374,408,457,460,875,1282,1136,732,487,610,513,445,479,642,1226,1202,1062,1021,1018,1172,1416,975,1110,1070,755,753,767,712,758,902,814,763,716,606,412,313,445,376,378,770,658,346,445,481,618,719,587,460,389,1300,1676,610,1132,1190,839,955,835,424,481,889,1542,1438,1182,1562,1954,1472,1178,1220,1426,1418,1192,1338,1214,858,796,1098,1546,1682,1554,1576,1728,1318,1094,1376,1250,1138,1358,1630,1600,1350,1328,1358,1138,1288,1410,1254,1642,2684,2758,2710,2590,1636,1418,1666,1498,2266,2228,1178,687,359,348,332,324,341,365,355,386,424,467,562,651,667,601,491,437,412,515,547,452,406,382,433,543,535,442,422,420,477,501,487,518,534,644,650,589,705,740,669,561,545,564,715,903,726,1462,1842,1710,1648,1580,1346,1218,1116,818,858,1238,1476,1460,845,923,875,874,985,1218,986,830,1302,1648,1194,1172,1492,1266,1588,1472,1562,1394,1172,1356,1464,902,727,1128,1386,1532,1666,1172,1064,817,773,1046,1120,958,721,1064,1502,1684,1642,1846,1374,1188,1078,669,567,496,698,595,389,614,716,448,289,291,274,311,247,453,460,391,397,394,410,546,557,514,507,598,558,685,1242,1674,1216,561,395,426,427,622,877,748,644,756,923,857,667,847,1038,901,655,615,689,869,1704,2002,929,827,1384,1482,1220,574,322,320,280,279,590,1494,1980,1498,832,538,601,1036,1670,1752,1052,1608,1726,1092,794,569,810,1336,1236,1250,1356,1064,1174,1316,1348,1332,1282,1166,1146,1122,1256,1176,1096,1184,793,832,1094,1144,1092,1092,1017,991,1086,1021,943,836,1007,1142,1128,1354,1482,1168,1005,1450,1284,1252,1362,1094,686,713,1316,1124,1352,1402,1126,1290,1328,1144,1128,1146,1072,835,704,744,919,1218,1380,1510,1148,1140,1226,1146,1212,1292,1342,1290,1220,1240,1220,1654,1946,1644,1802,1804,1892,1754,1332,1118,1090,1158,881,887,1136,1146,1388,1130,1162,1438,1324,1208,1162,803,655,946,922,1050,1158,1056,977,906,695,606,708,994,1042,955,817,576,741,1032,1262,1368,1070,1009,982,1144,1208,1082,901,629,394,385,519,750,1210,1420,1366,1450,1676,1672,1328,1162,1178,1244,1302,1354,1422,1240,1096,1066,953,1158,1202,1226,1508,1500,1278,1404,1334,1184,1348,991,1186,1050,1021,1262,1354,1292,1288,1162,1238,1316,1192,1250,1340,1508,1492,1392,1410,957,721,659,1021,1152,965,931,984,1390,1600,1312,1628,1700,1448,1944,2132,2076,2076,2170,2242,2384,2104,1456,1694,1876,1662,1290,1136,1394,1538,1514,1530,1532,1434,1306,1566,2148,2004,1080,1440,1478,1264,999,841,854,850,683,497,644,780,810,754,758,946,1284,1294,925,725,752,874,817,939,1160,1042,1150,1444,1774,1862,2042,2160,1660,797,562,530,458,568,1116,1592,1660,1628,1494,1434,1788,1910,1600,1438,1034,645,601,674,680,568,492,511,397,383,380,459,615,756,746,516,363,572,687,503,478,519,487,424,416,369,305,289,300,320,332,373,398,354,390,469,373,332,317,329,336,349,349,347,333,312,326,354,342,370,397,383,377,382,431,439,455,445,441,449,448,459,464,440,379,393,384,355,344,343,397,462,601,580,393,389,424,420,422,422,416,375,360,334,320,392,446,477,537,532,518,466,347,340,353,335,369,353,393,423,557,608,463,489,486,517,575,633,956,916,707,712,714,666,683,801,1023,1168,947,1312,1236,774,729,581,397,378,449,396,321,541,448,419,581,586,619,1080,1356,1488,1170,1504,1580,1106,766,763,919,1022,808,691,764,545,389,341,300,372,734,761,885,1816,1702,880,572,642,1005,858,766,951,1626,1532,836,753,764,705,1020,746,898,951,774,488,334,274,275,281,270,276,289,493,571,298,267,313,284,240,234,237,238,236,265,288,275,287,294,279,292,307,278,231,232,223,230,255,290,281,288,308,292,285,291,307,299,253,257,246,264,279,313,334,316,316,323,332,315,323,306,305,297,304,280,275,303,321,366,432,462,473,464,520,559,722,812,1154,1514,1560,1094,1116,1428,1462,1302,1390,1050,1222,1174,1004,1130,1028,1130,955,955,907,561,705,863,1026,1170,863,1200,1342,1036,1036,612,642,1056,1066,765,548,424,449,455,300,289,308,413,716,663,987,1260,1480,1354,1001,1324,938,885,986,595,381,440,373,308,318,322,377,433,495,584,393,402,1036,1272,1376,1542,1662,1410,1208,781,494,455,498,584,744,797,613,595,670,847,1174,1440,1426,1044,1130,1232,1164,1332,1482,1272,1102,1344,1272,1078,999,824,732,636,637,694,480,477,941,1021,929,752,805,728,502,694,681,801,934,899,857,582,734,1016,1108,1268,873,661,615,628,658,702,742,617,517,419,326,270,300,402,531,487,346,422,607,565,442,438,329,272,305,413,478,327,338,807,1354,1570,1430,1122,943,785,675,442,508,603,959,753,425,358,435,682,777,556,389,351,293,317,369,505,478,421,669,941,1050,893,575,362,450,447,472,619,623,701,836,844,722,598,1098,1194,663,620,1266,1460,1284,891,631,944,1406,1390,1288,891,1164,2250,2324,1562,1026,778,1005,846,818,856,1160,1478,1478,1360,1282,1230,1316,1180,1096,1144,1128,1212,1170,1204,1328,1312,1284,1234,1330,1174,865,1366,1744,1482,1436,1384,905,563,739,811,1002,1162,1060,918,773,845,941,1034,908,540,374,328,462,426,514,543,496,483,491,675,1144,1392],[282,280,317,433,415,341,316,296,346,548,552,525,641,631,431,435,446,410,458,483,405,398,450,567,623,1224,1488,1374,953,590,532,496,448,375,385,490,590,675,631,824,1026,1236,872,708,531,387,569,1080,1382,1494,1716,1584,1604,1078,1048,1320,1350,1306,1332,1024,1070,1318,1038,556,530,499,487,380,349,384,410,430,420,451,434,419,379,395,450,451,480,453,527,452,377,357,318,311,312,429,541,367,371,530,536,469,374,426,347,291,318,371,307,207,201,220,238,296,335,283,286,332,429,535,788,837,1026,1234,1354,1328,983,524,505,626,750,927,1512,1632,1832,1954,2156,1900,1478,1280,1448,1642,1766,1616,1418,1366,1412,966,949,733,430,444,366,325,392,383,362,404,550,549,424,321,314,325,363,819,1280,1256,1160,1180,1158,1096,1266,711,497,486,525,702,949,1182,1080,586,381,508,511,331,277,262,296,340,327,298,252,241,329,383,379,414,512,517,310,390,331,248,395,1042,1090,912,1156,1326,1124,908,857,784,888,935,930,885,838,655,490,426,394,384,375,432,402,385,373,434,437,466,459,550,641,671,729,818,827,804,638,450,396,539,561,493,477,458,528,577,680,893,783,499,449,386,333,274,245,238,248,267,285,304,267,270,362,428,487,414,496,493,477,446,503,473,381,355,480,677,759,669,543,672,415,406,807,877,818,975,977,641,431,401,450,461,342,238,225,223,216,219,216,213,216,220,222,227,227,233,427,394,260,300,351,371,469,489,340,212,314,439,476,366,452,474,514,485,389,267,249,276,174,973,2546,2132,1886,2396,987,475,443,560,354,232,412,554,590,1030,1624,1658,1340,922,625,719,808,982,1214,1078,901,1006,978,822,609,453,374,352,339,330,323,318,278,264,448,522,340,341,350,350,386,351,415,377,430,422,401,455,473,338,269,325,358,338,434,445,461,331,300,334,372,360,337,316,318,310,316,330,321,302,343,393,448,514,498,485,764,985,1021,945,749,551,477,436,385,426,558,1116,1598,1218,932,1018,863,635,556,411,439,438,438,437,404,435,784,1268,1604,1434,1408,1592,1544,1364,1356,1378,1394,1556,1622,1436,1290,1224,1106,1015,1018,997,907,1007,1508,1688,1594,1532,1556,1294,861,733,792,756,618,599,545,415,436,530,525,544,501,549,797,1146,1450,1294,814,561,682,764,597,645,1198,1404,962,609,505,648,974,757,801,1132,1260,1372,1424,1014,1007,1026,599,493,543,472,928,1626,1768,1468,1124,981,1280,1250,937,482,406,387,502,1086,1038,751,998,1244,1021,769,1334,988,561,589,854,996,1326,1660,1378,1158,1432,1208,890,1054,543,488,493,468,472,466,460,455,460,482,480,456,415,363,310,266,287,378,410,434,424,426,485,496,495,466,432,408,454,422,500,561,507,442,308,290,329,373,401,403,394,408,421,425,441,448,375,358,415,331,352,487,545,500,337,291,337,334,336,337,334,332,374,415,426,560,573,509,564,514,716,732,387,274,433,582,554,768,983,1038,1001,1108,1130,760,855,976,576,366,324,253,332,536,529,339,315,369,386,288,288,421,572,479,384,346,288,348,442,851,1362,1188,675,477,527,680,830,656,648,437,683,714,936,1470,1498,1466,1250,781,1036,734,675,784,912,677,797,852,732,780,785,615,343,353,393,332,353,430,556,680,603,626,1116,1260,885,455,511,1394,1566,974,1150,1048,666,869,596,317,455,1024,1502,1176,1012,1042,1112,1064,944,952,1390,1362,855,790,1266,1362,1212,1430,1746,1910,1858,1894,1796,1336,1366,1396,1162,1148,1432,1580,1384,1278,1438,1552,1442,1864,1904,1670,1674,2126,2142,1932,1644,1290,1208,1380,1410,1272,992,882,546,377,352,335,400,470,409,393,421,454,535,604,620,599,571,513,437,415,480,424,390,427,382,404,601,705,513,396,393,462,493,466,462,491,613,645,694,731,750,672,562,531,579,782,839,962,1912,1896,1898,1744,1632,1512,1202,931,662,794,1098,1454,1734,914,652,986,1192,1244,1422,1490,1344,1130,1236,1104,1034,1502,1396,1076,1100,1306,1294,1050,1174,1196,835,1140,1390,1390,1340,1194,984,670,843,969,936,1142,987,597,951,1364,1596,1318,1112,1102,1374,981,554,356,623,994,642,400,525,700,534,330,318,336,323,387,670,851,685,471,397,639,1030,813,499,518,635,435,617,1270,1292,618,336,388,383,436,702,827,611,651,838,824,885,860,615,686,847,850,833,660,949,1898,1968,857,1220,1366,1626,1622,800,352,296,326,605,1388,1974,1404,966,1222,995,1384,2040,2040,1570,1400,1982,1738,1080,938,675,963,1340,1216,1198,1238,1356,1322,1264,1240,1192,1144,1230,1140,1052,1294,1334,1188,1316,813,787,1148,1090,1226,1460,1174,1058,1136,1112,1124,764,987,1098,813,967,1330,1152,1306,1276,857,1026,1294,1238,789,533,920,854,1016,910,1198,1540,1354,1120,1152,1210,1048,591,514,904,1013,1026,1212,1256,1072,1234,1430,1278,1234,1282,1106,1134,1240,1182,1234,1510,1664,1528,1562,1482,1560,1664,1630,1340,932,1015,971,1032,673,820,1092,1058,1080,1136,1028,889,1058,890,1026,1458,1240,1354,1404,1144,1036,755,505,436,547,786,1036,1130,964,573,607,1112,1450,1284,1106,990,906,926,900,890,866,683,491,518,688,903,1146,1242,1338,1386,1300,1238,1246,1302,1380,1204,1168,1376,1450,1268,1156,1184,1388,1518,1266,1066,1310,1446,1342,1484,1592,1200,1494,1252,1394,1300,1098,1110,1222,1386,1344,1210,1268,1492,1422,1574,1320,1156,1304,1466,1416,897,659,653,959,1262,946,907,941,1384,1820,1676,1606,1670,1808,2106,2200,2120,2098,2158,2292,1944,1284,1332,1678,1554,1428,1376,1442,1462,1460,1520,1418,1330,1616,1716,1998,2492,2502,1266,1260,1152,798,539,537,724,817,656,621,741,804,741,645,681,830,1162,1024,595,437,540,837,1004,1140,1400,1130,1138,1164,1590,1710,1510,1478,1096,661,554,574,546,567,982,1270,1218,1420,1494,1444,1828,1806,1742,1812,1704,1210,604,482,488,435,457,493,427,429,462,534,564,619,641,488,358,420,645,641,518,513,534,446,446,398,327,322,346,336,324,326,346,357,355,430,423,404,334,341,387,349,311,335,331,341,427,448,333,340,366,407,414,411,419,419,433,458,465,456,449,453,443,414,358,368,374,369,358,386,422,433,463,395,351,382,377,462,588,565,418,361,383,376,404,480,537,474,436,425,456,586,408,319,326,333,349,359,365,463,670,677,558,595,448,515,668,615,1254,1124,666,623,568,587,652,823,1078,1082,1060,1286,1058,821,882,650,500,775,977,672,378,475,450,497,586,645,602,1010,1316,1276,987,935,977,808,605,744,1066,1116,965,851,1192,890,509,372,509,651,586,503,719,991,777,633,655,777,1024,658,384,597,1216,1274,775,1050,1088,1012,794,524,433,448,496,419,334,290,279,274,255,274,291,385,373,263,240,284,284,252,243,246,248,232,234,266,281,282,292,269,273,266,244,249,240,235,274,290,269,267,296,296,291,301,305,305,283,245,230,234,252,265,287,295,320,351,326,321,321,338,336,323,304,289,275,274,295,310,372,444,485,494,490,513,720,883,979,1268,1428,1190,1218,1152,812,891,736,1252,1220,1044,659,725,1036,1142,1054,871,758,772,593,759,1174,1476,1238,1018,968,837,1019,836,516,823,1296,1200,951,920,633,599,587,354,276,314,364,400,650,1450,1510,562,372,558,1072,917,711,462,314,339,400,378,318,530,792,557,507,485,626,495,507,995,1148,891,1360,1696,1574,1344,614,385,408,614,699,642,744,725,635,587,713,970,1406,1434,980,1108,1021,929,1170,1504,1302,1256,1206,1152,1366,1100,691,685,786,1001,1028,587,475,485,598,623,597,1250,1428,744,461,653,1021,1294,1366,1190,971,783,974,1700,1764,882,485,539,672,695,578,534,609,608,367,331,267,272,289,345,311,346,410,466,469,485,468,294,230,250,292,345,311,362,858,1440,1600,1278,1060,758,438,361,568,687,509,538,634,554,584,736,929,922,567,389,341,458,640,683,814,645,541,1262,1606,1184,977,1078,881,578,329,531,837,844,667,918,988,1164,1062,746,858,619,897,1772,1758,1384,993,843,1204,1118,1134,1294,1238,1250,1498,1522,1350,1116,1001,1368,1104,962,952,1354,1712,1584,1464,1436,1254,1142,937,1048,1076,1272,1236,1334,1282,1316,1228,1238,1242,1298,1234,1334,1792,1568,1560,1694,1464,668,623,820,755,885,974,787,800,732,753,790,885,1138,932,483,340,353,391,420,526,631,633,467,420,682,1044],[262,265,256,268,300,256,248,259,282,396,364,319,355,383,375,360,389,355,302,359,433,364,449,738,680,785,707,1064,959,601,519,427,410,361,385,514,744,974,822,915,1164,1124,1148,874,509,525,616,966,1120,1220,1578,1780,1594,1268,1342,1366,1340,1362,1210,859,983,1348,1398,777,479,444,422,394,429,462,456,418,404,410,439,419,393,420,418,454,496,488,462,417,377,316,280,347,586,1026,1082,708,306,562,530,612,397,386,392,350,309,322,271,216,246,234,254,286,310,275,271,275,322,419,711,1070,1244,1288,1324,1292,1120,633,510,669,741,955,1412,1804,1804,1706,1806,1920,1780,1282,1466,1678,1664,1440,1510,1288,1232,957,798,637,679,884,430,344,397,361,494,435,501,557,475,391,401,390,521,779,896,1092,1180,1346,1290,991,1904,1432,669,534,576,899,1184,1188,1032,615,379,452,322,259,246,277,281,249,245,311,326,287,375,396,444,636,845,682,545,729,554,423,923,1318,1142,1092,1146,1050,872,819,866,880,900,933,952,933,880,816,754,610,415,429,382,395,463,430,410,437,400,391,396,434,523,584,641,789,802,787,566,439,413,686,700,595,553,472,498,556,640,1056,929,593,481,433,342,283,252,257,279,314,346,306,260,253,292,342,437,396,448,476,469,441,458,461,386,355,497,786,869,680,657,639,446,381,504,571,645,841,839,560,373,333,339,370,254,188,176,192,212,214,214,219,223,227,222,227,249,343,454,333,273,261,282,314,434,519,435,288,410,436,467,414,506,467,427,390,295,255,233,242,219,310,331,287,686,1124,1012,540,576,902,702,425,432,586,808,1098,1178,1086,826,745,709,792,783,748,680,588,516,419,361,354,314,337,314,299,280,280,309,344,480,528,534,435,300,308,334,353,369,326,263,226,284,277,306,365,343,289,274,350,331,379,433,342,340,286,288,301,360,365,295,319,277,292,318,315,292,302,308,344,382,386,429,517,675,886,1092,1011,764,550,409,368,344,402,433,454,337,262,428,725,921,817,839,695,475,482,454,419,363,361,570,1116,1546,1430,1310,1362,1238,1282,1394,1222,1348,1562,1656,1600,1566,1534,1472,1410,1362,1222,1120,1244,1506,1516,1444,1402,1454,1030,592,568,686,754,699,713,636,670,689,683,620,464,401,373,427,613,894,1156,1000,606,588,730,675,875,1532,1566,1362,1001,681,718,777,597,559,567,929,1456,1482,1266,1616,1380,1011,791,600,533,630,893,1206,1346,1326,1160,918,929,880,649,525,526,555,938,1030,741,714,867,753,508,691,581,365,390,458,757,1124,1178,1048,1268,1872,1414,921,835,379,432,455,461,469,466,467,461,460,476,477,436,437,421,341,287,321,399,378,336,331,424,530,506,501,478,463,430,444,332,399,503,495,466,419,383,406,414,425,437,390,413,440,478,489,502,456,440,480,446,411,461,455,436,348,318,339,344,348,361,343,337,414,587,622,618,618,459,514,461,522,530,450,357,345,426,406,369,603,849,835,788,613,507,682,728,421,371,343,280,346,418,453,472,380,332,311,409,735,758,516,363,358,297,260,300,527,1042,1152,774,477,446,766,861,932,628,410,448,601,658,766,848,1218,1144,777,899,928,822,844,952,892,708,901,943,769,732,677,491,278,383,406,368,443,606,1174,1368,938,745,977,839,894,479,445,1614,1188,814,703,571,614,659,389,367,528,716,800,781,1376,1396,1166,1234,1128,1272,1260,1192,820,793,1290,1454,1482,1490,1482,1766,1624,1572,1648,1282,1412,1322,1194,1288,1438,1544,1424,1404,1584,1792,1670,1692,1636,1600,1572,1512,1386,1150,1002,898,769,803,868,656,557,515,487,488,423,421,481,488,492,480,477,504,565,599,575,531,489,469,422,408,445,422,415,430,395,378,431,535,409,326,401,458,481,478,469,511,523,571,695,735,854,658,566,519,558,694,651,1504,1944,1596,1720,1610,1504,1486,1282,1356,910,1009,948,1216,1460,1200,797,774,1166,1616,1518,1268,1198,1202,1486,1286,962,1098,1262,1108,1030,1140,1080,864,722,660,593,1000,1356,1434,1148,1400,1334,866,869,992,728,810,1260,1112,1324,985,859,1238,1350,1310,863,720,862,558,692,1310,494,354,388,572,683,439,749,906,568,362,609,885,865,666,440,677,849,641,430,606,626,343,317,496,449,337,438,462,404,434,697,832,645,619,649,587,738,732,699,828,604,644,908,833,990,1570,1548,830,1534,1682,1650,1482,803,555,386,637,1184,1952,1694,979,1462,1990,1746,1918,1844,1814,1986,1992,1826,1378,1172,1082,732,1078,1240,1238,1094,1028,1048,1128,1268,1220,1194,1142,1290,1088,1078,1362,1416,1152,948,746,948,1122,1168,1582,1566,1220,1234,1228,1260,1066,907,1246,1194,1011,1056,1154,1290,1288,949,747,687,717,1036,945,696,620,642,760,883,1314,1502,1314,1138,1182,1182,1050,880,804,1090,1019,802,831,852,856,1086,1372,1290,1256,1224,1138,1234,1266,1266,1220,1454,1676,1428,1140,1074,1114,1272,1336,1442,1104,791,1182,1086,571,589,991,1262,1042,1054,921,851,1202,786,847,1228,868,786,844,886,877,698,474,399,381,547,999,1116,1164,948,1036,1228,1186,1112,1132,1050,974,1002,706,625,596,434,487,478,694,968,823,770,1050,1304,1296,1244,1316,1210,1146,1252,1302,1396,1326,1206,1172,1264,1654,1644,1282,1244,1486,1386,1152,1422,1462,1110,1276,1292,1532,1472,980,841,1290,1618,1422,1354,1256,1578,1360,1304,1120,1088,1162,1018,907,830,756,808,973,1286,909,865,849,1082,1328,1192,1356,1534,1738,2160,2248,2170,2198,2314,1908,1300,1466,1756,1614,1496,1538,1752,1882,1770,1710,1372,1052,1324,2174,1772,1988,2456,2574,1464,1174,1368,990,679,666,591,585,507,527,650,798,731,654,647,713,827,735,618,719,953,1154,1136,1012,1021,1112,1088,937,968,968,1026,961,745,552,572,639,730,598,642,910,901,850,1021,1230,1456,1734,1818,1780,1816,1812,1204,651,446,411,389,574,695,669,596,588,623,640,547,449,358,326,497,687,560,479,513,522,550,502,380,324,347,371,341,314,341,376,368,427,470,462,399,409,401,319,319,329,317,295,346,306,294,326,372,391,389,410,397,423,450,455,463,457,448,455,421,384,365,362,371,366,355,397,443,386,535,591,403,342,410,508,529,459,372,350,334,382,418,412,433,377,329,351,396,539,468,365,355,368,371,383,430,484,561,584,494,493,496,524,500,615,950,780,548,604,591,590,611,532,793,1052,1092,1130,954,908,954,769,797,1076,1058,671,497,723,636,646,668,564,530,639,910,1032,1019,1488,1350,860,680,803,902,842,838,735,933,1090,843,608,766,542,376,580,681,476,623,699,591,591,709,545,355,374,569,778,800,1286,1256,1078,579,421,417,456,477,409,360,306,279,275,285,282,308,312,289,247,257,269,247,237,244,238,246,228,213,242,272,313,344,317,268,221,208,240,278,288,302,277,259,260,286,273,314,365,330,305,280,259,235,235,268,286,308,310,333,339,334,331,327,333,333,311,279,270,268,283,277,323,366,448,498,508,545,977,1344,911,850,968,993,1076,1368,720,564,639,598,702,938,912,659,827,948,667,644,1009,1180,1078,1050,1090,1338,1436,1222,1346,1246,1244,1092,591,579,891,1248,1288,1104,1224,1084,1156,877,466,348,336,396,480,680,995,780,412,409,348,898,832,626,504,362,333,307,334,300,411,949,1208,987,658,512,508,730,988,1044,1032,1240,1300,1214,797,463,406,525,751,764,713,755,811,680,533,733,789,824,898,1194,1150,1304,1172,1460,1538,1650,1882,1858,1846,1758,1124,606,626,673,1013,1090,593,437,431,480,507,445,825,1054,702,733,760,1140,1512,1782,1750,1250,777,1032,1406,1078,595,406,308,408,571,430,431,716,436,288,319,254,232,325,366,338,387,449,539,438,539,449,264,310,387,339,319,345,456,563,688,1013,1162,844,445,408,382,562,749,606,507,557,496,561,733,730,551,381,465,421,494,741,926,975,717,617,1108,1512,1576,1242,1134,1074,1076,738,761,818,858,867,777,781,1148,1158,651,741,527,767,930,1010,1408,1396,1052,915,858,995,1236,1378,1356,1278,891,689,661,1312,1440,1416,1250,1112,1178,1406,1334,1324,1302,1434,1192,852,653,689,1010,1376,1506,1308,1190,1250,1330,1554,1592,1166,1324,1708,1626,1594,1604,994,517,680,853,954,1422,1516,606,614,680,650,698,659,918,1282,978,542,393,402,487,588,572,474,371,364,515,658],[229,271,280,229,256,262,273,280,274,265,247,245,254,305,412,495,422,323,343,489,692,491,505,609,609,550,533,715,629,559,595,496,503,664,622,631,941,1016,924,878,1120,1232,1054,848,544,498,672,1010,968,1256,1332,1288,1084,1230,1432,1444,1228,1074,919,927,1256,1434,1482,1156,661,469,466,535,540,442,370,381,429,404,386,365,419,410,390,423,455,532,495,410,367,356,359,352,550,1032,1220,811,778,1088,708,469,395,374,437,491,305,276,257,227,259,252,261,261,250,252,259,268,321,444,652,940,1208,1184,1094,995,793,493,474,734,739,1332,2042,1878,1572,1286,1396,1748,1320,1166,1400,1794,1738,1400,1194,1042,1070,1092,918,634,646,614,476,416,380,507,824,1280,1114,489,356,412,460,489,758,1005,1056,1086,923,739,818,1074,1532,1116,716,651,800,1394,1594,1304,1092,661,428,441,345,307,304,305,279,227,216,309,350,376,415,417,521,875,1074,1034,793,612,683,1036,1336,1232,1052,826,943,874,872,899,913,927,905,899,947,949,913,888,875,731,536,1078,635,402,466,431,425,425,394,373,382,409,454,473,525,669,772,689,524,461,437,694,788,631,506,497,514,542,893,1860,1246,668,529,431,326,283,300,306,306,324,336,251,243,237,246,295,369,372,382,419,450,443,428,440,418,380,379,573,632,450,430,417,390,363,353,426,588,669,608,512,425,375,391,343,223,192,192,204,214,216,221,221,227,221,221,232,226,369,355,317,264,269,285,243,322,401,419,328,431,448,489,586,626,468,376,373,269,235,242,239,234,215,282,367,360,542,432,245,355,469,516,495,327,368,453,401,436,458,354,336,324,366,420,440,404,238,241,272,242,242,274,321,314,296,292,274,297,634,1046,922,463,326,248,276,287,267,241,201,228,255,273,291,268,281,313,334,311,361,344,378,297,285,313,295,285,290,367,397,271,268,291,380,374,327,309,327,349,357,329,306,325,399,462,591,1044,1092,719,440,355,365,331,309,321,326,306,300,309,297,442,697,788,649,689,705,659,579,459,464,547,887,1198,740,453,576,572,612,530,708,866,989,998,850,803,860,884,873,1084,957,753,847,963,929,850,725,792,706,517,511,637,710,574,498,466,559,577,740,764,633,446,364,401,442,533,869,1232,948,761,785,976,1396,1650,1608,1498,1374,1212,917,648,625,473,442,757,1302,1412,1330,1684,1274,871,911,609,749,1396,1782,1786,1454,1218,1368,1450,1182,940,731,630,854,828,905,716,743,1338,1372,1015,761,890,942,735,451,438,686,874,871,738,1023,1214,937,1020,681,410,369,398,451,460,479,474,470,472,465,462,423,456,446,390,361,388,440,415,368,462,637,673,451,468,495,489,460,464,371,359,450,494,522,476,416,381,417,452,473,449,462,454,467,467,481,458,381,387,458,432,469,492,458,409,372,350,342,339,339,369,385,503,717,505,833,843,490,388,344,351,397,447,631,664,397,344,388,491,387,277,301,384,749,844,609,592,579,408,343,408,825,1396,897,406,321,495,1028,1362,930,502,462,353,209,254,349,409,433,435,415,424,567,1210,1032,702,593,456,656,877,1013,833,549,945,922,886,1096,966,830,884,968,804,853,1132,940,747,682,577,403,354,457,527,519,517,783,1132,890,705,608,735,772,984,727,984,1534,965,573,450,512,703,850,580,594,666,639,700,846,1332,1374,1226,1072,1368,1528,1226,1176,964,858,999,1226,1300,1388,1426,1288,1106,1156,1204,1246,1430,1188,869,927,1032,1432,1638,1632,1652,1622,1500,1608,1648,1578,1550,1476,1414,1428,1262,937,894,816,645,455,354,417,434,457,472,462,470,464,486,478,504,549,588,630,603,533,487,471,408,382,418,380,382,398,373,340,342,449,543,493,444,444,454,472,466,509,523,694,919,912,1018,735,601,512,619,677,682,1696,2220,1586,1612,1488,1332,1230,1362,1228,816,1228,1396,1258,1290,1138,727,644,1212,1568,1170,937,1046,1332,1238,946,832,641,876,1274,1158,1130,1076,963,774,857,924,1088,1288,1182,1136,1726,1854,1328,761,741,648,705,1316,1192,978,701,592,954,1252,1276,849,847,1256,864,747,1416,538,383,381,391,520,410,1008,1472,826,481,468,616,954,808,488,742,626,426,598,1096,940,326,241,252,277,354,649,771,847,513,569,637,520,481,482,460,532,770,1334,1110,586,411,661,927,965,1118,1230,1296,1626,1574,1440,1412,1086,939,590,741,1288,1936,1634,1610,2114,2030,1788,1780,1748,2160,2322,2234,1748,1232,1196,974,824,922,1072,1120,1050,1096,1064,1100,1246,1260,1294,1166,1222,1021,912,1198,1366,1172,859,744,715,823,962,1352,1290,1226,1524,1538,1252,977,1250,1418,1290,1140,1042,1322,1428,1116,1001,890,1046,1136,1154,1020,1012,967,1046,994,980,1120,1156,1166,1110,1170,1204,1078,878,983,1278,1152,813,688,858,949,1296,1354,1362,1688,1368,1198,1224,1250,1250,1126,1260,1408,1246,1172,1126,1146,1138,1080,1322,1414,1268,1318,1228,1028,940,1408,1588,1032,966,793,944,1344,991,922,897,670,897,1148,985,823,724,637,515,446,728,977,952,1156,1164,1186,1130,1246,1382,1138,1034,943,1003,824,593,403,354,354,319,620,802,540,518,1021,1490,1294,1160,1314,1362,1132,1056,1148,1290,1136,1124,1178,1108,1314,1224,1154,1256,1732,1460,1038,1218,1250,1256,1246,1256,1354,1218,1068,1190,1386,1368,1334,1328,1376,1306,1110,1192,1110,1056,935,639,626,736,808,847,875,1222,1080,946,948,1248,1056,691,984,1440,1846,2208,2202,2264,2388,2102,1330,1464,1838,1752,1550,1556,1556,1622,1838,2136,2314,1198,1478,2176,2902,2316,2116,2446,2610,1750,1104,1494,1200,720,636,529,521,505,461,642,846,810,670,657,735,753,806,912,946,869,736,593,651,792,839,769,802,994,948,724,705,604,491,489,538,758,700,591,587,560,622,954,1038,1094,1412,1692,1362,1180,1560,1628,1340,850,521,420,558,589,510,473,462,544,553,527,535,393,329,386,706,670,518,524,528,591,613,447,350,373,411,371,334,341,385,388,399,451,448,394,392,357,335,331,317,343,330,335,351,363,381,483,457,335,372,405,438,446,461,474,474,453,448,414,382,350,328,347,384,460,435,530,421,508,602,462,336,469,532,439,375,420,386,294,329,368,428,416,408,370,356,439,662,672,416,361,367,357,417,428,433,461,438,431,451,492,522,467,478,516,428,518,599,574,588,609,501,1112,1246,940,1028,1076,1156,1096,894,758,937,819,815,680,1036,1258,1150,847,557,680,759,810,680,902,1882,1996,965,513,559,651,891,1078,902,819,1017,1001,823,615,380,436,536,469,324,495,824,850,528,504,497,454,430,502,788,802,816,1132,887,498,425,468,498,466,449,368,291,271,277,285,299,309,294,297,313,316,263,228,242,232,252,268,242,238,232,250,336,383,364,289,239,234,247,265,305,313,277,276,300,286,360,509,473,338,316,293,300,266,251,283,291,302,307,310,310,321,328,337,332,320,314,307,274,258,272,322,368,387,432,476,545,725,2656,4524,1682,796,662,801,998,1094,743,628,713,932,1208,1334,1188,1086,861,688,578,532,713,1152,1408,1558,1448,1274,1086,1370,1548,1436,1406,1132,797,843,1172,1226,980,1026,1002,1210,1136,540,347,320,337,444,637,696,645,429,378,366,536,932,783,517,420,401,430,337,328,328,428,1094,1584,1156,737,1026,1152,944,969,740,540,769,1096,987,566,441,429,533,587,739,899,797,757,668,447,947,955,996,988,1142,1040,1174,1136,1344,1586,1770,1802,1760,1642,1290,1262,617,543,505,844,1368,1238,781,579,734,548,347,320,401,754,1021,1018,1086,1282,1434,1362,1040,1240,1494,1015,521,459,375,393,486,633,594,605,598,379,278,280,259,206,283,421,376,409,1072,864,683,619,515,414,484,634,646,469,439,487,476,428,436,525,564,577,1002,960,580,656,612,458,349,290,375,564,512,367,354,458,711,791,728,619,720,747,578,998,1242,1352,1054,735,594,835,1368,1348,1078,951,837,879,1060,690,692,519,302,372,476,525,936,1294,1406,1050,545,591,926,1246,1330,1316,1316,1060,827,832,960,1130,1226,1228,1116,1052,1316,1102,1134,1052,1450,1130,772,932,847,918,1334,1318,1360,2052,1868,1424,1422,1724,1598,1444,1488,1594,1730,1584,885,476,550,656,648,729,865,524,628,625,481,694,695,811,1252,1342,1021,649,428,513,424,335,282,294,274,427,469],[265,375,318,267,276,281,280,265,289,329,320,303,320,362,508,541,412,339,339,589,764,562,547,642,533,395,465,537,457,584,822,882,1034,1192,829,780,1286,1388,1252,1110,1154,731,902,985,724,441,536,731,685,871,977,901,806,1066,1350,973,618,649,913,1148,1302,1190,959,1054,913,628,551,542,438,365,343,412,452,439,412,369,374,354,354,388,394,425,467,626,937,783,374,358,439,570,669,874,1450,1328,797,524,479,582,422,538,332,265,249,248,276,280,276,272,284,284,270,280,323,449,483,743,816,657,636,664,538,375,438,638,601,913,1570,1812,1548,1376,1370,1178,1019,1448,1826,1902,1614,1050,955,921,722,890,934,957,1054,876,729,723,647,727,977,1648,2050,1294,349,415,411,425,626,797,879,1036,809,733,1262,1432,1070,1136,1118,898,704,1110,1354,1926,2100,1136,676,586,419,328,280,301,320,317,280,381,429,435,400,416,641,954,1186,1266,917,786,1020,1344,1262,1336,1064,1130,1712,1400,990,934,932,944,938,931,922,913,961,930,866,1068,2836,3134,1468,711,434,481,447,446,396,380,380,380,386,404,505,658,741,565,433,358,432,739,817,579,411,444,534,529,910,1526,1042,640,534,441,330,301,304,225,274,283,291,228,264,262,243,297,348,346,352,359,404,436,410,412,428,446,450,471,436,408,491,468,364,338,352,433,594,684,639,561,536,514,554,436,249,219,210,213,219,220,220,220,219,220,225,241,241,319,345,303,279,288,285,232,247,245,267,292,360,366,368,353,355,293,249,272,226,199,240,231,219,205,220,272,400,444,325,275,273,282,263,224,241,266,304,283,286,293,272,241,219,249,285,265,274,256,309,317,264,245,237,253,258,244,263,250,197,282,369,482,242,225,232,249,241,260,257,240,260,239,245,278,264,305,280,288,303,381,420,350,264,230,259,290,297,309,335,351,329,297,319,411,407,364,399,443,453,421,335,342,353,383,366,418,615,700,524,341,304,319,305,280,269,302,309,294,265,251,326,428,602,509,587,735,762,811,813,838,930,918,1098,659,466,454,454,433,402,455,475,559,604,478,402,424,525,581,515,402,370,483,505,437,401,376,473,505,485,552,631,543,505,422,383,471,412,348,586,760,654,386,458,448,465,592,969,1250,1384,1456,1584,1390,1060,1200,1424,1362,1364,1186,722,591,487,431,977,1578,1576,1312,1296,1072,927,1017,735,774,1522,1624,1598,1420,1498,2024,1930,1240,1082,805,747,1202,1310,1314,800,677,1228,1182,910,1003,1212,1516,1410,643,630,608,767,920,639,472,665,926,985,610,376,313,392,441,476,473,475,436,377,389,395,379,456,486,480,462,440,470,464,377,494,660,756,459,430,464,464,457,468,440,429,450,463,484,433,417,415,435,443,469,478,478,464,457,462,463,414,364,376,444,457,461,495,445,409,389,350,329,358,454,541,453,497,709,547,521,387,374,345,326,463,602,705,1192,1112,605,421,464,437,382,438,553,708,795,612,728,979,687,465,442,686,1238,1302,809,499,457,553,941,977,572,413,348,233,268,326,374,454,402,402,416,408,748,1136,901,1152,955,630,919,1204,1260,892,542,944,898,1148,1256,943,758,846,869,794,1004,1134,852,739,629,495,435,502,600,577,566,637,783,1188,610,505,402,331,489,910,1070,1192,1082,1354,1122,609,568,941,1212,1076,940,576,600,666,974,829,523,876,1378,1848,1790,1396,1216,1122,1072,1066,1042,1138,1356,1252,1250,1376,1382,1250,1338,1522,1268,880,971,772,1202,1600,1656,1536,1376,1410,1622,1686,1756,1666,1616,1568,1410,985,725,745,612,517,496,464,409,404,481,516,506,537,547,512,485,497,512,560,599,566,542,508,449,398,393,375,366,357,362,381,364,360,529,669,592,515,528,518,434,398,501,559,621,863,1042,1076,904,694,576,625,628,766,995,1376,1608,1620,1482,1334,1154,1486,1320,1122,1354,1504,1446,1528,1316,1084,863,1126,1164,1230,1024,962,849,1122,1438,1116,1018,1354,1554,1306,1354,1588,1366,1044,1416,1376,1330,1556,1464,1792,1908,1746,1520,817,453,556,841,1302,1342,917,689,938,1072,1256,1328,1040,1054,1434,1114,619,430,421,607,662,531,531,471,499,545,399,675,791,704,848,692,603,591,345,333,421,854,1206,585,453,310,274,374,571,700,873,670,608,573,487,359,345,404,578,634,992,777,433,393,607,733,919,1122,1232,1288,1130,1009,876,874,822,1036,786,865,1284,1808,1998,2034,1998,1902,1572,1260,869,1238,1846,1998,1748,1284,1138,767,948,1390,1526,1216,1122,1144,899,1042,1118,1214,1242,1098,1088,875,644,875,1224,1170,1088,1078,764,1032,977,948,1040,1218,1450,1606,1380,1302,1456,1364,1284,1060,1178,1358,1154,959,1060,857,871,1224,1302,1182,1142,1106,1280,1280,1122,1110,1086,1050,1242,1282,1144,882,610,828,1256,1108,659,794,1114,913,882,968,1126,1544,1192,952,1140,1296,1162,1136,1096,1184,1182,1336,1288,1206,1216,1126,1104,1354,1604,1534,1404,1286,1210,1260,1124,893,929,828,939,1212,1050,939,926,690,735,940,925,932,1112,1086,672,712,872,763,1008,987,781,966,1132,1350,1372,1076,1124,915,1000,1048,724,552,543,401,298,423,659,708,799,1190,1480,1208,1068,1190,1206,1130,1152,1168,1276,1242,1142,1168,1216,1366,1428,1378,1108,1322,1390,1346,1296,1326,1278,1126,1124,1164,1298,1428,1380,1382,1042,1098,1268,1436,1264,1042,1168,1304,1194,840,626,704,690,759,800,802,1228,1484,1116,752,728,599,667,1032,1470,2026,2222,2232,2292,1802,1184,1512,1878,1826,1800,1810,1794,1954,2044,1758,1804,1928,1490,2074,2878,3104,2420,2078,2268,2620,2018,1088,1344,935,592,547,510,521,517,473,644,791,745,760,914,1054,1058,942,726,509,436,604,942,1344,1788,1970,1340,839,764,847,1008,915,698,630,617,452,536,556,534,620,579,797,1502,1710,1322,1092,1060,647,523,684,1054,1364,1448,1148,781,568,517,586,544,404,439,473,503,483,435,396,409,653,783,613,516,478,576,637,584,511,412,385,388,356,329,350,361,370,384,390,359,343,310,322,330,329,345,333,361,434,407,357,393,419,364,354,372,431,447,463,484,453,400,362,350,362,320,353,350,408,559,458,512,432,315,334,312,343,428,484,484,375,401,390,357,368,382,408,444,447,412,411,524,691,583,365,330,327,299,342,354,395,413,388,447,484,464,430,430,590,878,865,596,483,486,634,803,966,1516,1498,1022,1026,1002,885,670,702,839,1212,1306,1398,1174,1558,1386,868,1034,971,965,1154,1124,572,576,1462,2178,1392,686,1074,1754,2208,1940,1306,883,1018,1015,1004,611,360,316,375,371,370,422,799,1074,650,535,619,541,561,738,843,1082,916,671,735,616,433,440,441,412,452,331,279,272,281,282,303,301,286,279,323,349,294,251,271,241,295,325,273,240,227,223,315,441,441,388,325,273,246,246,273,306,289,289,291,285,357,543,568,370,332,291,271,289,271,285,290,295,320,321,322,335,340,332,332,321,310,297,253,273,281,344,376,417,447,520,709,944,2258,3454,1936,1144,758,717,1158,1722,1374,1010,948,885,1140,1146,1010,979,694,405,419,530,448,767,1332,1436,1422,1296,1290,1482,1484,1506,1306,856,852,1050,1034,868,774,757,642,776,698,351,333,345,339,403,597,775,868,535,301,396,912,1168,982,748,591,433,471,460,417,323,321,594,735,695,919,1156,1150,910,660,456,405,459,507,576,442,411,409,467,442,456,786,872,843,712,626,971,1198,1356,1248,1332,1224,1014,1156,1032,848,1158,1316,1322,1072,980,1166,822,673,531,1178,1872,1550,1102,877,1044,796,586,506,612,949,1198,1046,1098,1238,988,841,1214,1590,1242,573,487,609,577,517,610,875,913,639,386,318,365,463,684,641,540,522,356,348,806,1044,740,469,535,488,386,453,556,642,639,441,467,479,518,506,384,663,1470,1474,776,541,428,287,298,350,443,515,416,323,317,346,628,1052,1044,1032,898,604,469,1168,1524,1400,1146,901,544,742,1142,1310,1580,1418,995,1272,1182,617,605,418,392,789,786,566,585,761,1180,996,611,651,797,1007,1164,1174,1196,1138,974,881,724,661,874,1150,1076,1316,1368,1116,1066,1086,1090,1036,869,822,830,1210,1438,1216,1400,2354,1742,1246,1466,1540,1708,1756,1760,1814,1880,1666,1250,839,616,587,802,835,706,477,533,526,655,854,784,934,1194,1316,1396,1148,770,637,361,228,243,271,325,361,350],[283,291,282,285,281,283,257,262,343,375,343,362,385,425,830,752,467,370,307,519,792,757,522,378,365,417,497,666,630,780,768,625,631,931,974,923,996,1266,1376,1112,966,658,1250,1120,772,677,634,571,549,587,765,973,693,630,777,530,451,421,526,855,880,728,463,716,1126,1092,740,553,410,360,387,513,531,831,692,379,357,379,393,368,338,365,577,933,1360,1380,615,432,728,609,657,1252,1650,1634,1550,995,442,552,391,483,368,293,276,284,276,271,274,274,279,270,286,312,393,408,448,692,554,450,675,775,527,401,395,376,330,421,894,1146,1186,1686,1766,1438,1410,2170,2304,1806,1226,794,647,566,449,657,625,760,877,733,821,1078,845,965,1032,702,891,605,363,398,487,442,539,692,670,662,880,1650,2286,1614,934,1428,1584,1194,1058,960,1356,1868,1990,1354,866,889,927,399,300,317,372,379,323,551,514,399,369,396,614,840,916,718,683,1100,1276,1346,1252,1296,1015,1290,1694,1318,915,850,947,987,935,953,942,903,810,868,846,866,1918,1770,1610,1192,382,430,442,461,459,414,423,449,424,369,480,645,618,527,439,405,458,747,631,441,367,423,536,549,710,742,617,577,526,467,395,389,336,320,321,280,312,306,310,277,256,284,301,348,397,361,380,404,379,387,406,471,516,465,408,476,465,412,362,331,375,530,601,558,546,543,564,563,532,389,202,218,227,225,228,226,230,224,214,217,225,239,248,275,305,273,259,269,260,253,217,204,202,193,185,225,237,213,211,224,201,223,221,201,258,252,236,224,248,278,307,314,275,290,269,246,234,245,229,223,227,217,230,260,231,199,183,175,203,196,222,238,253,244,231,217,207,203,213,255,233,210,206,254,270,199,192,189,187,189,212,254,245,217,242,200,177,223,233,270,263,246,262,373,379,292,290,280,289,294,313,323,329,304,321,297,292,328,359,382,443,555,529,487,364,345,336,340,343,342,348,452,445,339,278,294,292,345,336,330,308,277,281,298,425,641,872,807,592,536,471,678,1024,1262,1234,1102,1324,947,604,501,500,517,476,480,493,470,473,497,496,460,459,494,544,529,446,510,585,536,521,454,560,550,477,508,565,500,493,466,495,485,382,409,431,554,815,626,721,601,487,478,552,988,1526,1722,1296,617,540,706,789,1182,1346,1316,1132,879,697,458,880,1476,1424,1102,695,670,706,855,700,699,866,777,997,1172,1428,1654,1306,1074,1358,981,752,713,943,1228,1450,1576,1004,742,750,724,1072,1498,1454,777,775,524,575,559,464,502,645,1006,886,449,355,366,426,417,456,493,486,447,407,412,373,363,456,511,505,497,485,477,457,433,425,466,473,408,416,440,454,451,444,437,445,457,475,494,466,404,386,402,446,473,451,424,412,417,432,442,436,446,422,421,458,502,507,483,461,393,344,375,455,538,572,410,457,526,514,481,383,351,361,420,762,872,741,920,849,607,374,318,335,305,437,700,717,589,735,1180,1136,835,616,466,912,1056,686,673,659,529,434,417,343,318,241,214,286,446,471,435,434,471,408,410,464,952,1264,939,1760,974,641,990,1260,1164,1100,848,739,805,1124,1224,1002,785,880,980,921,1078,915,787,708,625,473,443,468,570,667,550,589,865,1104,948,745,432,337,462,552,1040,1284,1316,2166,1720,873,738,1360,1370,1298,870,415,321,254,502,535,500,813,1548,1846,1744,1144,1066,1152,1134,1280,1440,1518,1388,1084,1138,1332,1472,1504,1592,1584,1440,1776,1814,1638,1424,1514,1594,1498,1340,1418,1608,1726,1722,1638,1588,1516,1168,661,529,512,476,397,422,458,376,394,454,520,511,517,505,495,469,461,466,484,491,508,489,449,405,385,377,376,356,343,357,368,406,391,485,709,827,684,601,637,541,476,552,579,539,642,849,977,1036,929,724,582,502,639,1122,1802,1494,1238,1346,1444,1594,1580,1380,1334,1224,1426,1538,1542,1444,1416,1428,1278,1106,886,882,972,750,1078,1530,1448,1426,1538,1638,1426,1186,1216,1276,1204,1236,1050,1015,1058,1466,1786,1760,1878,1814,1276,609,501,855,1256,1452,1278,968,1007,1246,1518,1244,1310,1432,1364,1015,739,697,648,586,554,458,508,499,505,502,374,430,451,435,721,677,552,415,270,320,275,400,720,848,1048,553,699,890,661,521,644,862,955,694,658,403,330,332,578,629,601,574,440,720,1360,1394,1020,1100,1146,725,550,666,894,969,1122,1160,864,918,1312,1584,1844,1746,1556,1306,1190,838,539,637,980,1382,1708,1832,1382,1102,1290,1352,1260,1078,1108,1194,1138,1302,1230,1122,1150,1186,1098,1009,832,989,1100,988,962,1050,1390,993,974,954,1192,1260,1032,1116,1338,1528,1464,1370,1042,974,1288,1216,1016,839,789,678,817,1120,773,977,1172,1290,1368,1238,1088,1318,1198,1132,1354,1220,900,778,905,911,1078,987,822,896,924,884,835,937,919,1010,1142,1240,1354,1278,1204,1370,1168,1284,1506,1472,1354,1358,1358,1242,1142,1240,1362,1318,1470,1524,1396,1080,985,953,877,1036,995,1048,1048,1005,855,728,880,1170,1194,1266,1216,896,708,954,1204,1198,1054,927,821,1042,1154,1250,954,1013,1204,1026,838,802,582,466,552,563,641,719,968,1023,1132,1288,1636,1620,1340,1240,1248,1314,1450,1382,1326,1562,1666,1394,1340,1358,1284,1252,1064,1190,1472,1382,1334,1414,1362,1198,1216,1300,1496,1570,1454,1346,1126,1146,1250,1390,1302,1084,1234,1390,1180,1013,841,1056,774,703,803,808,1090,1322,940,629,683,711,800,1108,1572,2122,2288,2130,1784,1618,1930,2036,1686,1536,1680,1920,2210,2172,2542,2026,1646,1520,1498,2266,2994,3052,3508,2674,2150,2540,2220,1064,1056,671,500,539,493,532,558,574,673,752,867,993,993,816,656,548,558,758,1114,1512,1776,1810,2058,2198,1640,1520,1194,912,716,854,873,1007,928,666,501,471,637,878,642,1072,1766,1720,1750,1656,1338,988,647,510,519,720,1132,1612,1552,980,597,501,513,479,488,529,473,411,397,436,488,529,674,691,516,486,539,588,621,592,519,414,357,355,314,349,362,376,345,345,332,337,301,284,299,331,345,336,397,423,357,333,372,385,300,309,305,360,412,435,456,430,381,306,315,337,348,350,352,452,605,437,415,412,321,314,287,282,331,388,394,350,416,455,481,479,434,400,443,433,380,356,447,656,771,418,316,285,298,330,320,336,370,400,433,423,422,368,469,681,1328,1248,625,558,590,731,1002,920,849,1120,1248,846,557,460,479,390,574,674,1104,1224,1118,1426,1182,799,1021,1362,1306,1410,1150,863,506,880,1942,2026,1848,2332,2442,2160,1786,1264,827,803,1046,1166,818,480,290,304,310,357,323,377,580,634,604,672,643,519,779,1144,1904,1716,891,741,651,456,412,437,472,449,312,290,292,293,292,290,301,296,304,339,383,373,318,263,266,321,344,291,239,227,209,260,423,559,505,330,251,222,235,269,282,293,285,264,247,230,341,453,361,321,305,312,316,419,439,358,334,357,365,367,330,323,318,324,316,296,298,289,298,325,363,404,436,487,726,970,1206,1282,1012,1268,1384,1102,998,1674,1958,1450,1266,968,645,927,790,969,1316,996,520,478,548,502,895,1290,1114,1252,1156,1264,1298,1506,1474,1070,860,908,809,509,377,615,877,574,433,349,309,376,386,329,371,386,677,772,587,478,510,1007,798,838,843,628,374,406,496,455,334,278,347,348,629,1060,924,594,523,459,422,416,433,438,354,383,420,427,422,380,393,590,838,827,590,672,995,1190,1138,1294,1396,1094,1078,1238,816,428,455,885,966,586,628,739,892,1416,1366,1222,1418,1011,918,1040,966,818,781,713,703,647,666,850,1378,1372,773,850,1100,947,549,538,1150,1324,1406,1005,737,764,576,396,283,237,310,491,780,962,880,594,334,334,380,346,224,295,416,506,380,307,444,818,907,469,361,484,496,315,277,775,1754,1744,1106,741,685,400,330,342,398,445,389,318,338,367,563,753,708,1274,1234,882,728,1166,1366,1498,1720,1288,565,670,675,767,1192,1456,1622,1268,677,491,496,517,835,1204,1046,844,723,959,1324,1334,1180,927,908,738,912,1032,1206,1318,1284,1262,1280,882,1010,1272,1390,1460,1178,932,1026,869,641,859,1003,680,749,1310,1124,1116,1270,1218,1200,1054,1368,1572,1572,1530,1628,1760,1628,1338,1210,1152,1015,719,686,922,818,443,390,646,943,849,707,1092,1290,1278,1598,1188,957,857,523,289,257,235,294,370,403],[291,287,277,288,291,273,262,285,365,386,379,425,448,511,1128,1023,482,344,318,464,904,1248,855,566,561,675,606,666,639,749,715,832,958,1212,1676,1236,1232,987,968,1080,648,715,1174,1196,1130,893,725,533,446,461,831,1274,871,423,396,408,393,365,381,417,546,529,358,545,1208,1538,879,530,392,387,483,504,821,1306,899,395,305,401,476,446,561,824,1246,1398,1648,1522,884,625,633,585,783,1294,1884,2198,1926,875,530,604,486,424,435,373,285,296,294,273,271,258,258,227,247,323,493,843,1214,1278,1042,771,931,1162,872,496,418,636,786,753,856,1044,1194,1572,1554,1362,1710,2226,2086,1590,1184,890,437,337,388,518,487,392,648,843,1074,1144,1040,1070,1066,698,484,394,415,422,556,602,644,607,474,415,623,1312,1642,1212,1712,2160,1584,1012,1112,1218,1688,1920,1730,1646,1572,1766,1754,588,394,369,364,341,262,394,431,420,396,381,637,966,1068,837,924,1116,811,1086,1252,984,787,914,1116,1268,1002,606,753,933,896,913,950,929,719,697,628,567,698,636,771,705,446,444,568,617,540,404,473,518,449,369,382,398,498,555,432,394,376,525,520,509,467,484,590,696,716,727,890,1019,860,721,573,528,456,410,342,353,370,354,324,290,295,290,284,346,367,376,392,385,359,370,405,472,529,466,423,490,436,396,396,387,480,672,631,445,392,449,557,623,508,421,236,228,225,220,217,224,230,221,216,227,246,247,256,258,235,221,242,235,197,184,208,240,232,206,203,220,220,215,209,233,232,219,207,208,272,295,254,226,236,264,304,331,267,252,232,210,196,179,186,189,196,211,221,211,206,197,181,202,202,207,236,249,252,258,237,208,232,240,249,226,200,185,238,270,250,259,252,202,187,216,234,241,242,235,247,223,206,215,214,260,266,252,281,366,378,347,349,340,314,289,300,316,315,294,287,279,291,290,308,361,493,634,561,525,348,312,342,336,327,315,331,360,374,345,283,288,302,394,382,333,315,318,340,316,332,417,625,741,712,668,664,772,798,756,875,1090,1550,1348,681,534,525,496,458,424,390,370,380,445,431,390,440,518,571,534,437,495,558,484,459,444,559,553,487,481,454,425,401,423,545,455,372,420,397,478,944,835,839,830,630,484,440,742,1484,1710,1098,608,810,833,682,630,916,1196,1296,1306,1172,819,754,893,979,1216,821,622,587,672,916,1154,755,613,1064,1124,1144,1282,991,858,1206,1188,808,646,654,770,1466,1718,1212,1222,955,969,1498,1348,1118,926,735,490,379,417,850,980,801,980,785,459,375,404,453,430,445,485,485,476,442,427,426,440,483,512,523,525,511,464,446,432,434,438,457,475,468,474,461,474,473,463,520,514,518,486,466,419,409,447,474,474,458,448,418,428,440,435,440,452,440,442,462,466,471,507,497,397,348,425,458,428,453,420,586,603,498,433,324,379,459,648,890,656,481,369,379,731,542,301,410,478,981,1378,816,1100,1234,1046,739,852,645,738,1266,796,274,343,411,481,494,412,375,267,220,263,339,435,510,521,516,482,422,436,504,774,857,1010,1632,763,1002,1078,979,988,988,772,624,871,1202,1064,905,800,806,904,982,917,779,781,681,547,469,493,546,645,732,707,713,1086,1268,1170,928,718,613,578,737,1460,1880,1458,2396,1574,698,778,1394,1452,1286,767,387,361,385,395,344,323,523,1019,1784,1604,861,1015,1114,1082,1316,1476,1444,1228,1170,1284,1300,1346,1470,1666,1550,1362,1600,1870,1678,1312,1380,1608,1496,1328,1410,1544,1600,1628,1638,1570,1416,877,565,508,478,480,418,380,383,373,394,428,507,495,526,556,538,508,491,462,418,422,449,422,400,393,384,352,335,334,346,444,616,587,457,604,860,922,859,698,780,735,669,719,805,752,670,765,857,1009,895,747,601,659,782,1512,1660,1262,1202,1402,1648,1752,1414,959,1172,1056,1294,1450,1382,1354,1386,1506,1588,1628,1152,1150,1162,933,980,1282,1536,1360,1402,1562,1170,1032,1436,1588,1376,1330,1098,746,982,1470,1714,1784,1960,2006,1858,1130,802,1222,1356,1272,1452,1262,1262,1252,1198,1298,1620,1332,1322,1294,1166,1244,1148,883,473,341,357,394,467,441,373,284,261,368,630,725,558,451,315,292,266,306,374,1214,1454,1390,1598,1576,1272,944,1088,1076,758,478,420,332,351,313,520,588,401,345,467,1066,1772,1190,647,1044,1228,998,883,1240,1634,1352,947,814,750,960,1208,1376,1562,1318,1356,1198,988,742,648,583,676,1230,1954,2030,1776,1666,1360,1070,1122,1200,998,828,972,1090,1302,1182,1068,1266,1140,1152,1004,1282,1188,948,820,725,698,703,998,1088,1094,1260,1110,901,894,1188,1334,1410,1098,1240,1120,1142,1178,1050,860,607,1376,1576,1080,1398,1462,1344,1384,1252,1150,1340,1208,1230,1246,1066,976,634,929,1008,1102,1144,1370,1338,1256,1144,1060,1032,957,1030,1200,1310,1186,968,901,1274,1492,1358,1294,1200,1270,1360,1328,1224,1406,1436,1158,893,1332,1564,1558,1160,1196,1374,1274,1152,1054,1116,882,664,601,979,1080,1080,976,1256,1182,800,665,802,1252,1298,1220,1290,1180,1114,1182,1166,1088,993,883,636,524,809,733,605,863,889,1019,991,1052,1088,988,1428,2026,1858,1504,1284,1008,1180,1744,1488,1298,1550,1620,1194,1009,944,814,1078,1258,1350,1426,1236,1252,1346,1316,1294,1342,1388,1388,1344,1202,1180,1188,1164,1312,1310,1128,1302,1340,1292,1266,1176,924,1106,1040,863,822,822,932,1092,980,1282,1248,1164,1088,1036,1556,2050,2110,1532,1278,1844,1996,1512,994,907,1422,1860,2294,2156,2426,2090,1730,1944,1968,1860,2126,3580,4344,2430,2100,2458,2280,1130,760,580,551,700,728,812,905,1021,1094,1096,966,792,587,474,609,836,1036,1192,1286,1472,1682,1692,1780,1666,1502,1540,1448,1338,1166,889,712,690,883,986,852,605,865,1260,678,1112,1594,1738,1754,1766,1810,1708,1464,1010,549,477,716,1446,1836,1632,1013,631,495,545,629,673,585,464,418,486,457,428,523,784,633,522,471,559,610,567,552,477,327,309,302,379,426,423,416,434,439,448,423,372,327,322,339,349,441,364,339,339,313,293,294,293,281,321,374,420,432,426,400,368,380,365,408,382,328,458,645,515,354,348,301,294,278,299,320,324,301,288,369,502,574,611,562,484,538,419,370,347,383,476,620,443,339,293,295,325,307,310,340,359,394,361,333,341,453,590,1011,920,673,686,799,883,895,819,806,893,938,521,385,461,434,353,598,1206,1396,827,927,1520,1534,1178,1208,1190,930,772,738,811,859,1018,1534,2346,2386,2106,1656,1384,1256,982,728,491,756,1062,1402,1188,401,360,332,324,302,269,318,472,598,738,666,434,518,973,1404,1184,883,554,596,575,426,487,516,370,262,279,298,296,291,296,299,295,326,349,424,444,350,290,310,328,371,349,265,220,221,231,301,416,388,283,261,269,265,264,278,296,274,211,180,189,226,295,326,317,315,284,441,708,710,573,399,384,380,381,334,305,299,303,305,317,317,308,308,330,343,357,407,509,819,1072,1136,910,1002,1708,1556,1122,1682,1670,1422,1328,1108,753,559,876,1202,1192,1636,1222,619,800,1044,623,800,1108,1015,1148,1256,1070,1202,1462,1284,696,567,825,713,427,396,445,458,505,397,340,374,395,322,322,367,406,518,471,529,609,418,867,557,442,644,630,436,455,544,553,451,331,285,277,491,766,550,655,753,557,785,897,877,774,414,368,397,425,383,310,445,540,1034,840,539,655,922,861,908,1188,1196,1084,1206,1078,563,458,416,602,648,571,660,604,607,1214,1626,1122,1082,1216,1024,726,638,628,768,716,651,607,488,667,950,924,558,730,840,898,832,980,1206,1570,1664,1162,969,819,536,336,250,234,316,365,407,438,375,271,237,306,316,263,236,295,262,279,284,255,436,617,650,432,307,503,578,290,269,537,826,777,687,753,769,539,311,375,512,486,386,332,306,344,433,765,1104,1230,1272,865,1060,1570,1542,1070,763,789,554,565,527,844,1128,1388,1536,1684,1274,608,413,798,1240,1268,860,677,847,1262,1356,1448,1280,1122,1124,1074,1015,1100,1328,1318,1400,1490,1462,1396,1340,1316,1124,1384,1264,970,1094,877,644,681,702,617,828,1142,1084,1098,1212,1406,1410,1328,1310,1348,1410,1626,1928,1686,1424,1284,1332,1338,1294,1074,763,650,525,468,591,838,1020,979,877,1224,1344,1188,1572,1312,913,902,852,535,285,275,269,352,442],[262,259,272,290,296,285,293,305,382,392,399,433,459,401,927,967,447,318,330,411,707,1274,766,559,637,803,805,782,783,794,847,1296,1248,1474,2050,1610,1938,1170,901,1098,702,657,692,838,1158,1296,1124,861,595,567,1194,1458,827,389,373,365,319,340,393,417,493,623,858,1090,1530,1650,1110,658,442,537,585,643,864,941,774,509,349,513,633,602,872,1268,1466,1634,1658,1382,1116,696,444,468,643,1168,1576,1826,1406,590,890,952,758,536,417,379,263,285,307,254,258,246,278,284,512,979,1486,2100,2166,1628,1338,1496,1722,1620,1452,1276,960,1338,1496,1108,606,562,845,1172,1490,1512,1404,1736,1826,1076,681,569,465,639,513,365,399,346,382,695,1098,867,955,1096,1530,898,450,425,320,338,498,646,596,424,357,427,556,930,1228,1388,1718,1528,1064,705,587,967,1822,2078,1610,1544,1628,2020,1554,643,421,362,366,333,350,377,388,464,580,878,1224,1084,1200,1174,809,793,612,628,723,624,563,648,699,1016,1466,1152,1016,1164,1094,963,968,918,679,633,616,841,1440,755,545,457,504,579,687,728,652,526,526,502,451,460,490,467,518,465,407,312,292,318,455,479,434,440,556,744,665,647,1028,1156,1114,941,705,577,514,480,445,396,324,281,273,282,347,331,293,354,366,391,400,376,357,367,380,409,505,533,480,472,424,373,403,467,600,775,671,403,378,402,456,561,461,439,287,235,219,217,239,243,219,216,233,251,266,259,256,255,256,250,254,206,210,259,284,263,242,224,229,236,201,214,256,256,230,216,241,249,241,214,173,167,209,252,292,292,237,227,220,202,189,192,203,207,219,230,241,241,227,215,196,232,213,214,266,284,275,299,265,202,227,245,257,232,217,209,223,224,231,253,240,220,223,224,221,233,253,256,245,242,246,258,289,284,247,278,336,368,342,385,373,345,328,298,270,299,316,295,280,302,298,312,314,314,376,498,495,408,314,309,320,320,316,322,345,365,380,381,330,307,368,432,439,442,506,714,814,691,645,668,708,736,1066,1116,876,1132,1146,938,1126,1316,1528,1268,574,472,476,494,454,413,380,375,357,378,397,402,445,481,525,528,415,509,562,526,474,430,463,497,521,526,495,459,381,397,467,443,458,420,440,489,821,675,552,710,641,472,420,670,1450,1630,905,712,1116,1202,1104,832,680,879,1128,1312,1266,1188,807,554,502,1007,1240,1000,975,1040,1514,1578,671,714,1358,1288,1118,998,884,993,1444,1588,910,474,416,542,1166,1356,1290,1678,990,1074,1424,1054,736,928,984,742,516,742,1436,1570,1292,1024,623,492,449,453,468,400,359,396,449,463,452,455,455,453,492,525,510,551,505,403,372,390,405,419,449,475,497,496,467,452,449,454,509,524,466,417,441,444,463,478,456,435,412,389,285,387,454,448,454,463,468,480,473,467,477,512,516,372,285,337,300,341,477,544,700,610,464,383,408,536,438,433,419,331,274,460,894,1058,680,388,478,1164,1896,1548,794,1021,874,549,697,785,865,1332,1146,479,213,303,367,435,425,389,437,326,286,328,380,470,532,512,502,474,480,437,489,528,492,771,860,592,633,667,767,827,730,658,741,1214,1314,1150,930,762,738,696,758,737,731,734,578,430,485,632,634,835,666,746,758,811,785,835,952,818,752,952,1034,1286,1354,988,1752,996,612,1028,1402,1240,1042,703,379,395,442,357,353,282,327,448,988,952,733,932,1194,1252,1204,1212,1216,1030,1216,1562,1528,1510,1512,1546,1338,1350,1412,1430,1432,1400,1574,1594,1272,1344,1462,1522,1556,1572,1606,1592,1180,635,526,476,474,475,430,410,391,379,369,346,432,500,524,539,544,531,480,417,382,413,409,408,407,420,406,380,354,347,361,451,617,665,769,896,957,888,869,863,1015,1154,1224,1188,1032,933,1014,925,899,923,1010,910,877,906,958,1338,1532,1586,1700,1816,1844,1864,1612,1026,1100,969,970,1000,1264,1372,1560,1602,1538,1282,1116,1294,1150,782,1160,1220,1140,1048,1200,1238,1220,1506,1582,1138,1360,1780,1786,1208,1234,1512,1862,1886,1902,2072,1912,1200,1096,1436,1328,1230,1298,1432,1536,1336,1190,1336,1386,1262,1274,1214,1298,1346,1220,1100,852,621,411,367,349,302,396,437,344,288,444,687,807,630,526,488,778,720,438,1100,1172,833,864,1076,1194,1062,1064,812,536,321,226,308,420,341,454,538,448,391,415,794,1374,824,584,958,1066,878,837,1116,1238,991,626,720,1142,1506,1462,1212,1300,1130,747,588,667,630,576,459,427,968,1636,1922,1764,1496,1034,922,1240,1524,1042,643,838,985,1138,1212,1044,978,796,788,871,960,813,640,494,369,317,450,871,1208,1430,1598,1084,843,792,914,913,1188,1228,910,816,1278,1394,1026,666,1086,1684,1208,1282,1300,1364,1300,1304,1436,1498,1424,1354,1144,1130,1312,1250,907,1022,1023,1110,1194,1362,1344,1232,1144,1152,1118,1162,1204,1074,1013,1046,884,1422,2116,1600,1058,1009,1218,1402,1438,1302,1266,1416,1284,914,948,1458,1542,1486,1344,1274,1244,1058,1072,955,1007,827,592,644,1086,1142,956,969,1254,1182,840,762,907,1398,1600,1466,1256,1018,1548,1484,996,955,821,732,642,626,1001,1050,802,976,950,1040,1021,1021,976,719,1090,1492,1626,1498,1382,994,1172,1620,1314,1206,1248,1238,1056,1009,902,847,1142,1242,1320,1236,1290,1290,1384,1414,1346,1310,1378,1426,1552,1582,1354,1088,732,755,1046,1148,1310,1308,1136,1116,1256,1278,1256,1128,930,755,855,983,1322,1488,1678,1274,1316,1418,1222,1442,1764,1480,1272,1744,1788,1234,714,505,514,944,1398,2002,2462,2420,2262,1996,1412,1542,2128,1998,3042,2972,1866,1840,2156,1872,1106,825,854,662,854,1156,1260,1156,1007,796,620,499,498,589,713,963,1194,1202,1214,1252,1460,1664,1682,1764,1700,1638,1538,1448,1424,1340,1334,1160,980,690,694,927,789,704,904,847,1530,2040,2084,1974,1816,1754,1788,1736,1164,653,1000,666,723,1352,1754,1694,1086,575,461,512,496,505,501,486,523,524,515,484,688,677,476,404,529,609,584,528,535,440,324,289,373,529,527,500,514,533,555,576,540,431,330,333,323,318,321,310,293,287,284,291,286,279,281,312,456,528,437,405,389,362,395,514,456,303,402,700,659,348,302,308,288,342,526,433,320,292,280,319,433,496,479,655,644,621,502,415,371,391,387,415,415,388,360,352,367,357,349,351,375,397,364,349,362,484,758,954,988,862,892,1278,1026,705,732,643,677,585,521,514,484,461,383,791,1794,1966,1390,1128,1406,1244,1124,918,634,725,973,799,852,1292,1208,1254,1842,1550,1202,1186,1126,1004,1100,924,634,633,1196,1934,1724,658,412,338,318,310,321,433,470,458,493,467,364,441,868,877,580,575,442,419,408,413,516,482,320,274,272,285,311,304,299,289,316,416,400,370,397,327,305,311,304,343,413,378,232,211,213,244,356,370,303,261,221,204,235,290,273,201,192,198,212,222,270,314,321,294,310,579,801,838,641,371,332,329,319,317,316,321,312,305,311,311,305,288,317,332,445,652,874,1336,1652,1016,706,1136,1296,918,1094,1676,1278,1240,1288,1116,1176,976,1242,1190,827,965,1042,1010,1182,1618,661,510,787,1286,1026,1088,1368,1548,1454,1120,649,483,615,622,615,467,404,422,432,315,364,509,558,703,854,728,689,752,645,551,492,423,829,812,744,875,800,774,899,849,806,761,673,440,358,365,516,457,752,835,886,1282,1506,1692,1140,602,414,404,443,383,433,645,896,995,762,602,497,469,477,802,1009,1290,1130,1084,1130,825,597,615,608,553,490,477,477,523,950,1276,1023,1302,1564,1186,628,380,417,521,711,943,693,419,625,880,666,893,1098,976,955,1140,1252,1058,826,706,556,580,612,650,352,259,224,327,407,348,266,251,227,264,314,272,239,274,288,265,243,252,233,388,573,538,411,427,453,384,319,384,503,441,418,368,303,367,319,259,449,678,713,702,417,355,351,287,770,1622,1730,1316,743,676,844,911,613,406,398,807,1460,1308,1284,1282,1206,1076,1400,1468,1194,1008,723,842,1028,625,470,881,1248,1274,1332,1312,1280,1420,1524,1596,1694,1704,1140,1158,1292,1342,1320,1216,1256,1344,1782,1556,939,878,653,548,569,503,487,648,1042,1094,1038,1156,1306,1352,1300,1316,1366,1450,1636,1724,1426,1202,1412,1620,1434,1312,1316,1248,1086,733,635,639,807,946,1015,1046,914,1050,1174,1322,1402,1021,656,772,792,571,334,253,330,416],[278,266,285,291,302,305,321,318,387,419,421,417,424,367,506,625,578,490,432,350,328,766,639,602,769,989,1202,1128,1001,872,786,1046,862,1156,1288,1628,2220,1764,1400,1472,1348,921,819,814,962,827,1056,1228,1012,832,964,827,451,355,397,374,345,350,375,456,813,1056,1108,1546,1354,1244,1354,911,658,744,697,786,805,1056,905,509,425,529,618,770,941,1274,1564,1546,1180,1120,1300,1078,742,514,484,604,771,921,674,466,546,738,927,623,400,373,280,272,354,315,321,307,342,466,1170,1916,2074,1688,1296,1116,1574,1772,1924,1426,1384,1604,1704,1698,1654,1226,716,702,802,1005,1396,1572,1576,1772,1410,728,604,574,644,810,549,276,323,372,340,454,818,731,748,1066,1914,1248,601,428,423,516,886,1228,988,736,408,433,897,1742,2376,1730,997,1060,997,644,466,485,756,1018,816,1316,1956,1634,664,419,404,309,235,342,458,460,526,509,500,595,878,921,1024,875,454,354,368,329,350,457,388,385,581,803,1614,1824,1410,1394,1248,890,908,837,846,1036,864,846,1236,704,514,548,483,564,695,770,719,681,722,427,404,453,496,480,413,389,444,398,359,382,408,385,404,426,468,695,744,547,581,532,630,822,863,641,458,372,346,305,269,245,257,238,283,255,235,305,364,384,380,380,370,365,352,361,434,551,519,455,407,380,410,464,509,527,449,349,363,379,386,461,382,360,265,206,206,209,207,202,208,221,270,333,272,248,240,254,258,253,228,221,255,286,302,280,242,232,258,223,202,233,247,220,189,183,167,155,171,196,195,193,224,241,225,177,171,204,212,201,201,214,230,250,265,273,272,265,241,234,234,243,220,223,283,312,299,334,302,231,233,255,253,241,238,233,226,228,230,223,219,210,188,185,202,241,276,280,260,260,278,292,304,290,258,304,283,288,341,379,369,339,330,299,326,377,369,340,357,400,326,323,324,345,385,469,447,356,349,361,331,337,334,341,401,389,386,449,413,330,390,474,498,494,574,854,1152,1450,1648,1416,1324,1224,1260,1300,1724,2766,3078,2768,2510,1788,1556,1420,626,465,451,459,430,397,390,420,408,390,387,363,412,448,486,501,404,445,528,499,474,462,437,453,494,494,442,400,393,416,411,475,507,453,455,521,684,595,522,637,609,498,519,642,1306,1426,756,791,1204,1250,1298,1172,905,713,786,1130,1348,1284,1024,713,494,634,1174,1316,1084,1066,1410,1188,755,961,1802,1926,1340,855,684,819,1220,1186,680,414,387,523,976,1158,1466,1586,982,857,828,614,469,717,1268,1478,1136,971,1512,1686,1306,944,540,484,495,480,468,440,417,433,451,477,480,455,408,386,473,538,495,534,525,470,457,431,431,429,433,453,465,455,455,454,468,454,456,500,473,444,448,462,489,485,471,466,430,402,337,349,395,446,471,473,471,481,477,461,446,486,419,339,366,355,284,296,397,602,816,525,412,491,519,533,389,329,320,386,796,1304,1424,1134,868,838,1244,1952,1300,551,532,1134,1138,850,635,397,502,591,250,238,277,325,402,398,400,470,458,378,358,364,425,604,547,524,572,610,832,1058,1058,975,659,390,344,420,555,769,832,801,841,768,806,1378,1306,991,835,756,685,624,596,617,692,647,495,425,511,567,519,843,869,810,631,644,850,780,809,940,1252,1208,774,661,526,469,768,890,854,1096,1272,772,777,682,356,294,353,272,442,388,307,410,497,420,390,680,1140,1350,1330,1372,1300,1200,1912,1788,1534,1510,1510,1300,1118,1522,1632,1168,1216,1226,1770,1380,1174,1356,1456,1522,1528,1486,1544,1498,1023,545,477,468,461,472,498,553,477,399,371,346,397,502,579,586,496,455,398,365,368,404,420,435,447,482,477,409,388,424,509,639,805,903,1012,1007,854,722,775,1072,1360,1622,1742,1596,1166,1056,1208,1226,1232,998,1014,1092,1138,1226,1420,1588,1706,1810,1620,1646,1732,1794,1858,1594,1546,1318,1104,1009,946,1210,1546,1520,1146,912,1572,1386,1162,1276,1636,1520,999,650,689,1005,1390,1632,1216,719,1398,1712,1524,1084,1092,1442,1764,2012,1886,1750,1406,1116,1072,1158,1208,1396,1244,1498,1452,1318,1090,807,1090,1350,1538,1384,1378,1394,1250,1168,1240,1236,717,407,361,361,458,573,432,272,366,542,722,402,724,773,1560,1604,730,1011,1090,766,705,957,985,818,654,805,590,388,359,440,365,323,451,528,467,451,517,627,863,1130,828,674,897,754,549,547,441,361,393,775,1118,1070,1080,995,1084,921,576,496,598,588,595,548,462,398,587,905,1362,1322,1218,1218,1294,1428,1054,764,993,1102,1072,1004,758,574,521,482,692,857,728,473,306,257,367,455,713,1114,1386,1466,871,727,950,1148,866,1074,1188,823,965,1302,1406,1204,932,1722,1518,1224,1362,1310,1256,1174,1282,1432,1372,1248,1154,1212,1636,1416,1192,1058,1086,1114,1150,1214,1276,1216,1160,1172,1598,1768,1544,1262,1088,1017,1156,745,987,1396,1244,1036,1210,1260,1238,1358,1292,1380,1456,1224,1130,1274,1308,893,774,1170,1444,1268,1054,935,745,772,724,505,514,747,1023,1174,1192,1232,1122,999,1104,1268,1206,1130,940,948,940,1246,1018,660,596,752,521,405,489,603,661,676,1184,1064,938,955,1108,1046,907,1023,988,950,1192,1350,1230,1356,1222,1122,1230,1256,1256,1216,1040,799,1018,1310,1122,1224,1246,1164,1250,1374,1326,1166,1160,1324,1454,1404,1290,1224,1202,781,810,1106,1322,1382,1410,1180,1112,1366,1438,1218,947,991,816,769,968,1078,1548,1852,1770,1744,1808,1642,1436,1488,1444,1756,1692,1023,601,458,426,468,525,940,1636,2062,2266,2262,1320,727,1252,2352,2108,1628,1890,1672,1392,1368,1360,1212,804,1036,880,1152,1416,1224,769,541,574,704,813,874,943,974,1046,1216,1310,1452,1562,1596,1434,1196,992,1254,1666,1652,1610,1498,1390,1388,1350,1390,1172,1034,770,800,658,524,1011,2126,2484,2100,1922,1920,1962,1856,1798,1488,882,1192,745,558,767,1044,1278,1354,1020,672,477,464,457,479,515,494,521,500,442,577,716,640,414,482,572,569,547,554,503,373,416,576,654,653,600,544,546,570,612,574,466,329,310,321,395,425,333,334,356,293,343,315,294,284,319,498,629,550,427,337,297,304,362,410,386,357,543,545,431,458,498,422,362,433,411,325,294,273,286,359,423,412,604,574,607,710,620,466,421,447,447,426,360,393,498,509,382,340,372,375,402,405,397,370,449,543,738,872,714,594,827,799,589,592,503,437,430,561,774,785,705,578,698,1100,1098,1238,1068,894,991,1118,713,407,922,1448,1090,1230,1216,860,959,1058,814,715,673,687,1160,1464,1326,1214,805,1220,1678,1616,800,422,353,377,358,424,594,613,497,408,414,381,407,688,612,387,544,433,328,379,425,492,434,302,259,273,273,307,313,293,267,266,328,350,359,340,312,295,278,293,310,397,426,339,253,243,250,276,292,269,262,221,237,247,314,293,233,210,215,227,253,299,315,318,299,362,576,713,832,527,354,347,311,298,339,389,377,337,307,304,305,308,286,317,479,582,747,1020,1584,1670,996,1172,1644,1466,819,789,1124,1294,1472,1342,1328,1354,862,855,809,392,425,877,1400,1356,1478,885,694,840,872,603,645,1312,1726,1216,917,763,506,431,442,641,555,390,310,259,286,519,754,1016,1306,1052,1028,1001,1246,1262,842,653,730,1000,933,867,989,907,960,880,748,847,1088,1116,1044,819,512,517,659,852,1094,1354,1316,1390,1152,544,478,453,467,733,763,902,1404,1754,1160,705,606,474,465,711,954,899,1136,1218,1068,1009,819,692,715,662,715,667,533,649,645,588,558,474,888,1318,1196,730,434,408,539,730,769,703,414,461,788,700,906,1076,885,980,1174,1076,711,420,354,326,313,379,283,233,225,212,467,531,276,292,276,261,321,294,216,215,327,311,237,231,238,248,382,545,444,341,459,459,343,301,521,550,372,299,292,300,324,330,343,536,589,712,799,590,543,478,423,531,816,1028,1104,1204,994,466,464,449,397,669,1058,1210,1102,1148,1210,1246,1370,1622,1524,1460,1234,1042,849,767,458,494,1062,1318,1226,1442,1808,1492,1438,1510,1456,1512,1356,957,1224,1288,1166,960,1152,1312,1456,1734,1504,1168,1021,694,670,828,829,1009,1144,966,979,1262,1410,1904,1570,1610,1448,1322,1528,1676,1650,1292,1212,1300,1320,1322,1412,1428,1512,1416,1256,1078,855,1042,1132,1186,1068,755,934,1150,1082,1018,861,537,607,644,822,626,392,265,326],[315,288,308,312,313,304,316,319,381,448,480,509,466,406,455,530,631,596,478,369,312,440,552,637,733,1014,1412,1394,1350,968,858,1450,1104,1110,1274,1866,2016,1838,1504,1416,1436,892,957,855,827,771,783,810,728,532,405,432,446,383,348,307,300,328,565,935,1538,1364,1174,1364,1064,868,1226,1194,758,645,681,644,625,809,495,338,385,487,1009,1498,1344,1400,1392,1408,1224,1516,1742,1904,1136,600,512,660,797,654,505,590,565,532,599,393,319,332,333,323,437,509,499,483,520,832,1430,1744,1448,828,593,1004,1998,1556,1042,1208,1324,1650,1974,1902,1916,1688,1098,702,713,1070,1128,1116,1334,1630,1062,581,753,948,890,572,406,292,312,317,307,339,589,650,611,858,1092,1172,969,575,587,722,1182,1352,1202,1038,802,711,1264,1882,2030,1474,792,775,772,453,418,410,438,474,589,1538,2122,1230,482,409,369,292,355,566,624,794,589,441,377,355,517,796,976,810,461,308,271,269,254,365,383,381,610,905,1240,1510,1492,1332,956,774,807,890,1142,1394,1248,1074,1028,788,892,828,540,536,703,791,722,708,594,401,404,424,487,509,439,395,392,367,402,465,451,444,420,451,486,618,586,529,451,451,587,692,683,524,416,375,340,346,378,368,272,205,228,214,234,287,308,343,358,363,372,375,352,345,353,494,526,447,417,424,437,423,388,390,407,426,380,381,406,407,352,309,227,197,209,219,223,226,226,238,300,430,315,251,260,251,243,242,244,244,245,277,286,246,216,247,234,194,223,227,194,169,183,193,205,219,211,246,246,239,242,243,226,199,199,213,212,213,221,238,252,252,240,258,303,315,274,242,254,254,228,223,247,268,262,237,200,194,218,244,254,263,261,246,245,244,239,246,234,209,201,221,256,291,327,321,288,262,271,292,318,339,330,339,284,289,337,376,413,393,342,389,368,349,338,337,385,399,381,339,340,407,428,537,630,558,417,397,366,381,372,428,514,444,383,404,386,350,370,397,405,435,471,575,790,1134,1186,985,1008,1028,1078,1644,3288,5136,5152,4628,3792,1914,1376,1402,699,416,452,459,448,411,401,411,398,388,406,393,461,520,505,507,479,472,494,458,486,533,502,430,425,395,374,373,371,378,400,433,441,422,435,554,678,495,624,694,640,559,529,695,1328,1220,735,888,982,1108,1326,1412,1226,817,633,739,1250,1346,1282,1026,734,583,735,923,1084,815,536,651,987,1168,2496,2198,1226,797,570,499,491,606,516,372,359,543,988,1132,1584,1462,1050,1178,1288,945,577,916,1832,1758,1292,775,877,1086,1170,780,508,518,525,506,488,441,364,397,467,477,472,453,435,429,501,551,525,517,503,472,436,423,446,441,434,436,462,441,462,473,484,472,472,491,480,470,494,511,509,488,485,485,466,458,431,349,343,430,494,484,476,474,475,483,381,369,335,318,318,356,389,389,461,463,672,530,475,554,505,408,329,408,643,996,1276,1056,633,483,663,815,899,540,265,290,318,410,595,625,335,223,206,212,328,412,394,443,544,491,437,440,410,374,344,347,470,551,415,506,553,725,1110,1304,1410,1478,992,451,393,349,457,832,842,781,662,593,541,880,944,792,717,648,603,645,646,604,626,600,491,481,477,442,506,995,1120,875,647,563,490,539,553,625,645,552,424,496,642,747,815,970,1016,1146,983,839,800,637,391,391,371,307,617,596,361,456,557,608,595,535,667,854,1038,1134,1178,1374,2256,2084,1510,1642,1706,1148,1019,1450,1454,1270,1374,1278,1592,1230,1224,1428,1498,1584,1542,1490,1484,1340,790,486,481,465,459,440,474,532,473,419,403,383,404,472,498,502,440,375,361,386,473,504,468,460,485,553,598,576,593,696,743,725,786,811,957,938,686,449,852,1714,1852,1714,1608,1650,1706,1356,1312,1498,1290,1158,1242,1394,1504,1512,1330,1112,1294,1818,1844,1634,1642,1602,1698,1814,1688,1460,1600,1778,1572,1360,1466,1292,949,1144,1326,1394,1150,1080,1240,1256,943,777,1246,1282,1154,1310,1074,638,917,1392,1242,1224,1248,988,1274,1966,1728,1378,1272,1348,1396,1152,1130,1044,770,1234,1486,1308,800,800,1182,944,1116,1144,1470,1418,1304,1086,1008,917,679,680,728,544,322,404,434,358,318,521,586,366,323,342,877,869,808,1552,1122,1126,1108,1364,1348,1020,550,533,602,435,301,396,393,408,471,494,460,531,816,783,843,1310,1186,655,648,772,661,639,354,307,360,450,604,764,1202,1218,991,871,649,662,868,755,911,948,917,552,403,633,1272,1328,1274,1644,2118,1708,1144,937,949,1092,1102,1064,1013,777,512,366,477,589,480,370,357,329,335,318,558,1132,1330,1282,1072,729,997,1142,987,1284,1194,1140,1264,1206,1001,855,1064,1334,1142,1256,1212,1230,1282,1048,1044,1076,1216,1064,965,1122,1062,912,955,1050,1128,1224,1250,1090,1138,1148,1196,1046,1306,1554,1316,1130,1110,1034,1042,883,741,926,1188,1274,1108,888,1308,1308,1146,1238,1294,1330,1328,1104,876,656,639,843,1268,1460,1220,922,896,814,529,456,701,980,1302,1428,1370,1338,1296,1410,1116,1020,1064,1126,1120,1158,1354,1356,1230,973,1004,1132,1078,806,530,320,648,1112,1188,1010,1016,1086,1092,1152,1294,1284,1180,1032,1178,1306,1138,1104,1128,1214,1326,1190,1144,1152,824,984,1456,1412,1206,1432,1382,1228,1190,1194,1142,941,1134,1368,1426,1488,1612,1562,1360,1180,1340,1522,1288,1144,1318,1176,1068,1226,1172,1228,1366,1346,906,1012,1284,1302,1498,1814,1960,1858,1884,1582,1418,1844,1990,1670,966,585,458,409,408,432,488,616,785,1312,2032,1832,844,1264,2492,2294,1864,1868,1758,1116,860,877,1144,1310,746,1138,1218,1086,1034,869,698,736,900,1030,1066,1042,1004,1001,1023,1208,1476,1582,1332,1086,1020,1050,1116,1334,1376,1226,1370,1710,1666,1488,1406,1346,1348,1452,1005,730,675,699,1484,2432,2440,2094,1990,1866,1552,1532,1186,1362,1134,725,592,807,1124,1138,999,903,971,1058,915,583,473,472,540,486,476,497,465,482,638,804,492,457,567,585,511,487,547,669,751,705,642,701,677,584,558,573,581,577,480,319,288,381,542,536,411,417,357,411,614,442,339,302,365,426,456,498,422,313,318,283,280,318,341,317,342,338,495,644,675,574,384,304,292,277,292,313,324,380,393,417,434,396,497,736,846,669,532,510,412,372,363,395,480,517,458,395,421,460,456,448,405,278,402,381,387,552,536,441,472,659,908,711,414,417,430,660,1072,725,642,698,880,1368,1736,1412,815,476,530,750,571,501,1296,1714,897,692,651,541,508,401,321,425,547,688,911,1058,946,789,1056,1212,1322,1476,1000,515,398,393,318,374,666,852,655,444,365,343,331,372,369,337,379,340,311,341,369,365,339,307,267,248,272,292,297,287,262,264,273,280,313,324,353,342,290,304,334,335,451,453,318,254,240,267,298,275,259,241,249,265,325,343,297,239,239,246,258,296,285,299,310,368,456,488,530,379,310,309,328,327,343,361,327,305,300,310,294,294,297,302,444,440,426,608,1056,1318,1064,1322,1490,1084,668,975,1256,1592,1660,1378,1390,1328,933,459,401,405,696,1296,1916,1612,1352,1128,990,838,515,378,407,828,1148,767,682,568,404,626,703,787,777,555,445,515,675,951,1240,1622,1768,1270,1188,1092,1500,1512,871,565,714,915,861,761,826,801,868,772,788,1050,1230,1278,1306,1060,767,688,759,1150,1192,1102,929,821,461,347,353,357,490,669,678,682,858,1140,886,658,521,451,428,767,1011,1036,1086,1432,1654,1122,590,364,386,449,495,481,387,582,623,644,688,554,578,656,708,720,557,722,818,482,613,1128,1346,1100,879,693,628,608,624,940,1002,1010,740,548,424,426,373,302,281,300,294,260,447,459,259,320,298,324,328,269,236,265,341,298,259,265,256,291,429,477,329,346,368,362,339,298,723,987,623,444,403,345,390,401,458,697,634,646,658,692,664,449,347,336,322,513,644,886,828,605,719,637,564,1012,1176,767,919,1262,1256,1416,1554,1700,1548,1462,1348,1440,1512,1230,644,761,1302,1306,1282,1420,1470,1288,1120,1104,1466,1622,1410,1100,1094,950,494,684,1184,1198,1318,1482,1278,1172,1050,1026,1180,1304,1272,1392,1252,872,1048,1344,1808,3056,1992,1566,1408,1562,1686,1676,1442,1348,1416,1378,1296,1410,1548,1544,1428,1310,1236,1186,870,955,1172,1234,1100,941,1044,1106,1100,803,766,689,612,496,599,808,770,523,368],[344,318,303,302,334,335,312,315,417,572,621,689,664,614,663,682,668,792,1222,1062,468,428,495,555,683,1001,1434,1376,1562,1148,1050,1692,1586,1182,1588,2282,2226,1732,1302,1490,1366,910,904,580,542,605,778,715,517,458,399,440,397,373,346,316,444,568,913,1066,1454,1572,1598,1686,1440,879,941,1216,1230,854,539,473,423,417,412,473,684,1274,2618,3254,1926,1136,1104,742,804,1120,1496,1520,933,612,527,442,562,783,625,875,753,619,478,642,432,323,404,407,521,703,692,649,667,858,982,814,569,559,526,653,1104,823,727,1068,1252,1478,1588,1902,1976,1938,1346,1028,838,1078,1034,1076,1516,1466,826,818,1060,1080,943,524,332,296,314,276,319,375,473,714,951,915,1040,1270,805,711,848,847,979,856,896,1212,1278,904,794,1362,1780,1554,1184,915,542,367,370,376,350,385,515,938,1072,683,430,783,662,353,575,1032,1144,1062,485,363,412,424,604,766,716,595,454,421,308,277,260,297,290,337,361,579,930,1226,1302,1246,722,677,803,948,1082,1126,1032,1002,803,561,493,508,507,466,585,744,602,550,422,393,403,442,435,440,444,380,350,352,472,498,466,535,458,417,437,537,537,509,454,484,572,525,529,437,365,337,322,323,343,350,300,251,299,299,272,277,300,330,340,350,369,393,371,360,335,378,425,413,430,462,470,419,371,393,422,409,408,379,364,345,325,287,240,220,229,241,254,258,252,243,292,325,257,263,278,251,235,234,228,214,194,181,170,178,190,186,179,218,233,215,199,199,213,228,218,206,181,222,231,209,218,242,247,245,250,241,231,227,223,237,260,256,245,295,375,377,280,212,237,264,255,243,245,240,226,236,266,253,244,249,250,241,231,241,254,249,242,221,218,220,230,254,282,308,307,307,328,296,286,309,336,352,343,357,341,340,322,346,375,373,340,537,474,355,341,375,358,377,404,362,363,383,442,619,608,534,437,464,402,443,553,619,637,504,374,382,372,338,316,322,353,386,394,425,446,685,641,386,403,591,993,1334,2136,3326,3566,3134,2004,1120,940,1222,835,424,481,484,469,427,402,401,410,444,429,453,496,573,547,498,495,503,483,489,544,588,597,451,405,377,365,364,383,420,397,373,356,369,445,577,641,422,460,508,481,487,458,705,1332,1146,637,727,859,1128,1019,1064,1344,1160,664,473,783,1222,1384,1208,944,549,461,598,1030,1112,664,866,1054,813,803,719,806,755,628,677,642,683,518,346,388,685,948,933,850,1042,1428,1482,1294,1204,944,1282,1400,913,616,488,601,949,1020,647,487,453,474,468,400,374,339,338,441,459,480,495,502,506,525,546,570,522,455,432,439,482,444,436,436,444,464,488,492,486,494,490,475,473,486,491,493,493,487,478,471,437,363,328,322,305,363,408,438,478,484,460,458,473,364,302,312,293,307,335,393,426,422,426,547,610,618,581,484,422,371,507,1034,1194,822,465,385,359,473,532,467,407,464,462,451,415,424,412,355,297,271,373,434,496,546,584,674,651,439,347,366,430,371,347,439,490,434,518,559,626,858,1294,1562,1446,1012,444,425,402,363,458,547,504,494,637,550,483,511,496,521,518,580,657,623,572,579,504,503,506,550,528,780,1252,1110,1064,743,563,537,594,498,573,550,398,427,606,664,833,1220,970,1026,819,531,781,846,618,479,550,459,367,532,498,412,476,592,505,525,477,460,728,710,825,1028,1392,1942,1938,1690,1674,1616,1162,1428,1374,1206,1268,1202,1398,1520,1278,1430,1530,1592,1592,1462,1490,1436,1316,867,564,492,457,446,435,418,416,409,431,425,447,451,575,604,528,420,366,498,677,722,680,541,542,603,736,877,905,884,792,639,532,642,792,952,902,628,438,805,1504,1694,1676,1510,1542,1902,1650,1498,1464,1384,1390,1394,1404,1498,1482,1366,1014,1464,2152,1790,1984,2144,1698,1570,1636,1668,1722,1536,1666,1726,1562,1258,1130,906,991,1268,1370,1092,915,960,1132,1248,1794,2210,1446,949,1280,1418,1096,880,1007,1182,1376,1356,1212,1140,1318,1160,979,1456,1642,1492,782,485,489,968,1688,1500,1478,1023,938,1118,734,1080,2722,3614,2636,1480,1006,699,669,827,905,1042,814,415,293,329,413,372,564,675,449,345,303,250,285,815,1222,549,514,727,802,1224,1054,475,409,397,287,232,324,484,490,443,520,602,635,727,630,715,1272,1392,735,667,734,577,548,295,247,297,375,559,766,1180,1164,845,923,930,867,1048,1132,967,1270,1378,793,740,1224,1378,1066,880,1062,1562,1678,1360,1094,782,816,828,935,945,915,677,336,412,669,755,561,548,357,325,360,837,1412,1524,1582,1190,529,621,750,1012,1204,1194,1244,1636,1272,965,767,858,929,897,1256,1492,1390,1320,1174,1094,1248,1266,1046,1138,1001,879,810,810,1156,1178,1142,1218,1310,1240,1214,1306,1022,1202,1328,1296,1234,983,1020,1296,1005,971,1250,1680,1422,1146,1072,1226,1170,1158,1192,1194,1304,1218,902,656,703,897,1023,1146,1422,1466,1168,982,994,720,646,1166,1398,1396,1372,1322,1106,868,952,972,1036,1078,1064,1156,1458,1460,1440,1520,1104,1068,1228,1202,1086,754,575,1040,1422,1384,1154,1102,1140,1104,1094,1120,1318,1284,1007,1008,1294,1220,1106,1134,1170,1246,1238,1274,1240,1062,1196,1364,1388,1352,1416,1438,1556,1288,1086,1194,1290,1218,1356,1446,1444,1696,1434,1004,1040,1164,1094,901,1003,1466,1284,1044,1026,1382,1498,1746,1484,1242,1446,1436,1528,1552,1602,1826,1928,1594,1244,1600,1948,1562,916,550,430,372,393,466,587,785,785,565,717,1426,2092,1902,2366,2938,2384,1842,1974,1838,1398,879,1012,1136,1174,772,1126,1132,724,808,1106,1118,1074,1118,1138,1146,1232,1268,1260,1118,1162,1384,1526,1332,1072,1076,1072,981,902,916,943,1300,1938,1882,1636,1610,1428,1454,1384,923,806,669,911,2010,2764,2532,2058,1986,1942,1506,1096,1108,1696,1348,629,531,965,1316,1366,1334,1214,966,903,952,955,766,590,562,514,430,514,525,512,546,784,670,481,520,559,465,498,714,744,588,510,520,587,624,573,563,577,568,584,511,364,281,429,691,671,480,439,335,345,580,425,346,321,412,448,352,381,369,346,354,306,291,303,293,270,287,287,336,388,465,433,334,361,416,324,310,314,404,420,399,399,402,384,466,678,714,686,648,547,495,424,383,392,404,464,463,406,419,434,393,365,368,308,336,376,470,735,588,409,354,711,1048,740,436,479,589,1030,1470,709,512,685,886,1296,1490,1082,555,376,520,851,570,489,880,847,592,575,578,608,585,471,383,419,463,484,359,422,612,592,647,928,1116,1056,813,614,399,336,308,327,443,752,594,547,398,318,360,365,312,323,336,329,298,287,289,269,294,287,258,257,257,253,261,255,249,269,261,289,290,349,386,428,372,312,321,308,317,363,405,285,216,266,303,311,307,259,264,275,284,358,350,247,236,232,224,229,258,321,422,423,393,384,324,311,304,303,297,286,291,293,282,293,308,307,295,294,285,331,451,461,436,430,504,882,931,911,1178,1038,1010,1312,1472,1560,1458,1388,1636,1964,1090,398,337,536,935,1296,1430,1306,1248,1092,914,714,580,576,537,974,742,441,623,533,568,981,951,852,899,788,819,963,946,919,1612,2006,1492,907,1150,1290,1454,1184,674,675,714,750,1060,833,678,659,736,689,1100,1310,1482,1778,1338,579,599,786,964,1096,622,412,626,546,368,350,474,496,656,733,472,539,493,533,631,935,1120,777,514,667,703,823,968,1182,1356,1066,541,440,413,407,354,525,499,461,513,863,903,330,345,345,467,755,884,1482,1192,636,462,982,1714,1712,1294,1236,777,368,382,539,667,877,841,813,527,386,330,354,410,434,285,278,312,238,263,305,305,294,294,226,194,312,400,317,275,209,228,371,483,380,281,371,412,379,317,321,898,1434,882,614,853,479,382,341,393,807,899,640,542,734,694,479,628,600,563,952,847,775,647,593,962,1182,1152,1392,1454,1246,1278,1300,1218,1448,2042,2136,1596,1172,1196,1078,1192,1440,1230,1324,1520,1416,1334,1430,1256,1130,1114,1154,1548,1444,1270,1040,910,884,575,852,1136,1040,1154,1262,1296,896,871,1120,1280,1222,1174,1290,1228,1174,1376,1316,1520,2144,1870,1660,1694,2010,1848,1364,1294,1372,1222,1302,1818,2490,1976,1654,1432,1314,1272,998,729,814,984,1142,1132,899,746,836,1114,887,730,711,591,546,557,520,658,865,658],[323,268,264,290,322,305,307,299,416,655,682,742,853,1148,1160,926,716,938,1738,1382,619,1138,1456,805,709,846,1014,1048,1180,943,1112,1504,1584,1550,1788,2078,1942,1544,1332,1544,1066,1060,874,590,689,959,1180,1020,920,669,467,455,436,459,502,524,636,841,1440,1498,1290,1514,1566,1520,1814,1182,864,930,1328,893,568,452,401,378,505,613,642,948,1870,2812,1858,1332,1338,758,508,490,797,777,571,524,466,482,844,1102,819,1292,1290,1212,1114,1324,758,346,438,461,536,687,698,753,1004,1250,1252,1014,1236,1562,1056,469,438,549,650,685,750,976,1242,1384,1604,1498,1712,1246,815,819,879,1200,1554,1182,625,733,1212,1416,1250,971,468,307,336,324,357,407,472,643,1016,992,1384,1222,1064,852,838,1046,1166,939,1558,1816,1202,889,514,628,650,730,844,675,467,399,376,354,310,337,382,514,937,941,586,839,617,361,769,1160,1274,839,343,336,449,527,650,811,679,382,343,500,636,484,335,287,300,417,516,429,800,1126,998,1001,656,560,625,626,597,578,767,813,544,456,443,480,426,460,606,593,405,387,387,385,408,395,348,366,433,367,365,421,472,449,569,625,540,461,478,623,669,523,382,375,471,452,444,467,423,372,312,291,251,289,306,278,318,311,289,293,312,316,328,363,393,417,400,373,347,333,363,390,439,456,465,436,411,390,365,367,422,417,353,332,347,318,272,256,261,280,271,261,267,270,286,256,257,281,291,261,228,222,206,196,201,200,208,220,232,233,226,232,219,204,204,218,234,239,222,214,210,223,226,232,249,245,233,248,264,261,261,244,224,237,250,249,277,334,343,306,234,212,277,283,258,240,239,241,262,343,388,339,282,276,258,239,274,292,301,311,276,248,248,248,270,272,299,337,357,351,456,406,353,362,337,276,295,332,325,321,286,304,284,383,353,401,406,474,590,477,385,422,387,417,435,416,462,782,765,564,484,426,376,460,605,702,727,579,475,455,394,361,338,343,351,358,371,404,395,411,349,346,370,396,436,403,420,612,903,666,502,468,440,841,901,504,549,485,473,437,388,409,457,398,401,445,416,469,527,483,495,569,543,504,547,565,539,403,373,370,375,375,375,385,388,406,398,404,451,729,669,477,449,408,386,446,422,701,1302,1122,624,862,1148,1164,886,844,1156,1244,756,443,544,910,1384,1324,1150,858,513,532,542,825,937,949,693,616,941,999,852,871,574,650,725,691,487,384,454,641,669,699,730,1026,1600,1366,699,789,1034,1260,908,1082,1128,774,684,1024,934,498,466,435,458,454,308,342,394,436,451,462,476,485,489,489,478,518,515,472,430,449,472,456,454,458,448,451,451,449,468,490,493,482,475,466,451,421,423,467,493,473,451,408,318,272,343,400,413,435,442,485,481,448,438,454,429,374,323,312,330,357,428,535,574,608,608,636,644,579,475,429,412,412,499,348,278,286,303,273,406,597,691,766,758,680,651,669,810,771,662,537,517,528,557,694,902,810,631,518,339,332,351,382,368,434,412,376,368,386,401,477,939,1592,1660,1458,1038,504,409,348,394,371,351,296,474,777,620,475,450,394,380,404,490,566,521,497,464,479,523,527,604,541,810,1046,779,954,1170,1202,815,719,584,466,417,396,514,799,754,677,921,546,625,639,654,808,797,537,387,381,315,336,550,612,525,563,945,847,590,519,648,739,553,488,625,811,1058,1494,1646,1540,1466,1290,1428,1234,1064,1150,1058,1118,1250,1328,1548,1466,1438,1358,1342,1404,1334,1234,856,528,454,453,554,577,445,417,421,457,431,537,719,866,679,538,506,427,473,611,654,724,595,697,872,945,874,742,684,562,485,591,602,552,743,805,712,583,771,1068,1288,1554,1698,1598,1568,1616,1620,1592,1572,1566,1598,1544,1830,1722,1686,1334,1278,1832,3392,4002,1628,1710,1440,1274,1384,1670,1726,1546,1512,1398,1130,919,884,1210,1502,1472,1060,860,1192,1284,1184,1730,1464,1058,916,1276,1496,1376,1248,1068,1204,1274,1366,1314,1094,847,792,926,1362,1520,1154,561,319,315,619,1308,1416,1396,1306,1058,1196,1358,2570,4240,4792,3564,2046,1808,1286,1018,946,808,927,948,633,361,249,319,401,561,685,406,440,430,417,412,858,940,507,401,736,1019,1136,899,644,622,579,400,317,510,686,558,476,865,1108,741,509,691,1021,1316,1186,593,397,393,287,316,357,415,490,472,412,396,454,487,708,991,1246,1064,1360,1424,972,1024,844,524,751,1366,1302,812,609,621,875,1026,1076,881,799,926,883,898,1008,1146,805,463,479,816,1016,966,1068,898,757,838,1308,1590,1650,1834,1532,684,500,978,1020,1006,1278,1500,1408,985,1019,883,890,879,738,1108,1736,1378,1336,1286,1180,1234,1136,1074,1028,999,1274,1120,1068,1262,1200,1290,1152,1172,1088,1284,1372,1116,1084,1122,1212,1334,1200,844,805,976,1100,1614,1742,1376,1268,1194,948,861,989,1038,1118,1346,1174,1007,745,783,1180,1092,1230,1122,1062,1336,1354,1222,1170,1134,1470,1348,1250,1156,1004,847,1056,1346,1344,1110,1048,1078,1242,1670,1414,1350,1258,982,899,1088,1176,879,589,719,1114,1316,1308,1124,1308,1300,1304,1280,1246,1226,1146,1026,1104,1282,1372,1204,1038,1150,1198,1288,1218,1210,1290,1250,1450,1572,1462,1300,1350,1374,1290,1300,1242,1322,1196,1346,1320,1248,1530,1396,1048,1150,1328,1176,1120,1176,1424,1466,1158,905,1322,1592,1840,1810,1620,1144,832,1224,1570,1536,1678,1668,1370,1544,1840,1512,846,502,442,405,416,458,536,622,673,860,724,547,704,1550,2540,2784,2534,2612,2234,2074,1910,1834,1017,1084,1166,893,834,1040,657,336,839,1528,1410,1392,1354,1248,1106,1116,1054,907,808,915,1070,1208,1262,1020,1112,1048,1168,1288,1326,1336,1432,1650,1302,1126,1324,1528,1686,1252,1016,883,670,1464,2402,2766,2168,1606,1582,1678,1540,1394,1754,1756,1156,907,884,1088,1260,1340,1384,1348,1334,1148,952,863,875,986,799,609,536,551,637,639,524,655,795,577,459,588,659,799,810,611,497,504,482,458,555,608,589,592,587,565,523,383,282,409,619,538,395,351,314,296,298,274,307,331,419,410,327,307,302,314,307,292,289,300,310,307,305,321,327,303,316,301,345,489,488,352,326,363,408,406,395,395,402,394,465,587,604,624,554,650,702,496,345,341,359,388,386,403,427,423,383,346,346,334,665,986,1004,890,520,434,343,303,336,387,393,571,982,1752,1948,907,654,883,790,719,752,750,605,687,730,1098,760,480,427,450,501,514,541,514,514,532,492,530,433,362,332,341,453,523,498,667,926,908,678,617,386,319,272,290,300,458,487,574,513,425,464,433,329,323,304,280,272,272,286,298,299,284,279,268,244,250,252,252,293,303,273,307,321,339,353,455,463,397,323,314,281,341,453,393,337,318,368,354,325,270,258,246,255,340,374,288,225,208,216,237,244,341,484,480,472,418,313,326,312,310,312,301,314,310,299,298,293,314,309,309,326,408,557,619,489,414,435,925,1122,1128,1284,1106,982,1222,1292,1186,1086,1168,1722,1772,662,315,446,1014,1282,1236,1448,1582,1192,925,881,797,886,916,1086,980,581,594,1164,1246,927,1054,1236,980,736,748,1132,1440,1214,949,1444,1618,1009,957,1172,1060,1023,792,691,744,860,892,1530,1008,598,675,750,659,601,664,972,978,572,425,476,584,836,780,578,491,504,459,426,552,622,509,662,574,708,787,772,514,458,864,1026,654,536,778,623,463,615,814,523,803,532,435,411,356,349,509,580,487,486,738,778,585,389,281,319,720,894,1098,655,407,436,515,848,1146,1128,1210,633,422,403,573,557,545,747,683,361,239,264,333,534,691,390,303,296,257,325,393,310,254,258,215,247,374,385,278,239,197,278,389,369,279,309,397,455,401,317,338,764,1350,807,914,921,536,566,491,378,643,783,593,448,580,601,452,483,799,855,744,783,732,502,442,673,916,1242,1450,1600,1506,1454,1184,1252,1206,1528,1328,930,852,1080,1248,1310,1404,1410,1490,1582,1384,1350,1318,1230,1240,1782,2394,1902,1460,1342,940,827,1088,1096,1354,1442,1410,984,1258,1310,581,621,1104,1278,1296,1354,1358,1344,1354,1444,1380,1296,1326,1712,1864,2048,2062,1434,1474,1726,1434,1242,1418,1712,1926,1932,1534,1388,1314,1066,928,651,669,1164,1366,1024,633,644,744,1004,938,697,696,626,548,582,458,426,615,828],[315,297,296,317,326,333,336,340,486,794,817,778,939,1274,1238,1114,896,991,1404,850,797,1880,1934,1386,912,960,919,807,854,1006,1256,1098,1678,1996,1742,1852,1650,1170,1146,1314,1094,881,588,802,1150,1214,1522,1506,1284,672,532,500,535,565,638,682,671,833,1406,1966,1992,1664,1626,1802,1704,1172,908,984,1386,1194,720,407,366,458,714,614,490,700,1244,1200,1230,1504,1432,821,478,474,500,558,626,601,504,817,1142,1216,1021,904,852,1046,1206,1260,877,398,425,451,491,672,743,897,1142,1502,2094,2114,1680,1582,1320,599,713,841,936,1164,937,603,660,1013,1228,930,1090,933,635,633,790,1148,1496,963,810,1082,1330,1462,1444,1294,778,437,351,328,346,305,318,430,851,754,1254,1278,1318,932,689,1454,1598,995,1344,1332,871,894,949,744,586,624,727,572,407,401,414,380,375,408,453,741,1232,1044,1030,621,526,514,518,782,1034,717,447,405,487,554,615,1042,1058,574,359,625,957,941,583,280,379,596,724,645,951,1028,1184,1410,924,532,542,538,542,489,582,747,573,422,431,508,440,383,495,446,349,368,412,423,392,330,359,385,377,412,488,542,497,562,627,645,625,550,584,709,709,529,409,354,337,337,361,478,479,356,274,258,228,307,309,288,263,220,241,317,340,315,330,380,414,425,412,408,404,381,397,388,420,441,442,423,408,399,392,390,410,346,315,300,320,383,370,311,271,311,309,252,254,252,234,207,231,256,247,232,242,224,198,198,204,212,220,222,220,223,245,262,243,220,224,232,237,226,217,219,221,221,228,257,241,241,256,277,272,269,284,287,282,266,232,234,249,271,258,272,277,276,321,342,348,295,320,314,315,362,473,530,372,357,350,324,367,385,392,365,333,339,320,343,379,368,345,385,409,452,810,739,636,597,555,677,695,593,536,568,481,426,363,383,373,440,637,1188,1376,1120,1420,1162,527,430,433,433,437,589,727,724,633,537,452,461,571,614,680,672,623,539,451,391,365,372,391,393,370,353,359,367,394,373,392,375,395,437,478,501,413,419,506,487,456,719,990,548,508,456,462,452,394,414,471,443,452,443,396,457,512,454,491,664,640,561,483,479,444,397,395,387,396,373,383,361,396,469,432,391,527,797,775,730,681,530,413,412,411,661,1298,1146,935,1408,1080,1012,1148,1214,1394,1290,762,429,491,684,1056,1288,1266,1206,728,458,393,495,907,1014,560,866,1384,745,616,895,664,595,613,617,503,401,518,585,546,373,495,1094,1154,607,576,844,857,716,814,1296,1264,871,873,1086,759,443,466,483,479,462,381,397,430,440,471,475,467,486,493,468,383,404,478,479,457,466,471,467,474,478,470,460,452,457,465,460,456,454,452,451,442,426,432,427,374,401,458,426,396,331,404,466,435,419,414,421,426,425,432,437,407,384,367,342,383,473,537,637,672,659,620,579,589,540,468,412,400,344,286,248,339,384,300,246,371,525,707,819,696,529,617,593,691,781,857,813,698,603,532,700,946,767,396,269,286,328,373,389,372,430,451,449,376,393,449,492,712,1050,1366,1468,1118,708,506,425,450,458,467,488,763,967,483,373,424,434,409,381,436,446,440,457,423,468,455,457,489,553,1056,1054,779,670,1378,1316,503,332,495,675,728,677,583,681,714,574,583,641,1194,933,354,536,609,504,515,370,367,469,500,472,513,688,951,983,677,611,808,731,478,423,495,648,610,976,1360,1554,1364,1348,1416,1246,1038,1019,1042,888,963,1078,1032,1086,1184,1206,1116,1156,1110,977,708,470,396,418,502,605,572,458,417,473,506,500,882,1132,991,912,839,595,435,541,617,596,601,572,723,762,578,642,794,622,581,666,584,546,583,631,611,618,680,890,948,1278,1686,1700,1728,1672,1510,1436,1428,1774,1782,1522,1756,1802,1662,1494,1438,1484,3426,3620,1642,1612,1274,1172,1374,1458,1542,1636,1548,1318,1296,1048,814,1488,1552,1366,1038,902,1160,1270,1040,1068,972,1074,1172,1192,1100,1372,1268,692,898,1308,1324,1032,640,576,533,608,865,901,607,387,343,312,405,1192,1460,1054,1252,1446,1494,2092,3648,4824,3640,2100,2354,2858,1550,813,610,863,1396,1268,614,306,239,270,342,539,928,574,496,549,550,449,633,750,522,462,681,739,546,923,1222,1002,1020,704,498,608,603,599,586,901,1284,990,796,824,954,1078,968,588,411,500,439,525,562,552,579,446,280,385,647,855,1030,1276,1434,1428,1730,1466,1144,1224,1096,888,941,1414,1052,984,737,538,770,847,725,683,897,1020,948,960,741,907,1114,808,641,821,1078,1342,1372,1194,1112,1312,1466,1746,1778,1726,1520,778,795,1466,1366,1208,1076,1074,900,795,1004,962,905,1110,850,1044,1540,1368,1470,1344,1234,1098,949,1140,1338,1344,989,869,1106,1384,1224,1196,1134,1174,1306,1274,1142,984,958,1001,948,1382,1400,1202,1274,1294,1274,1528,1510,1350,1278,1196,1046,1064,1046,992,831,964,1010,1046,1088,1170,1020,1007,1128,1092,1184,1320,1532,1508,1424,1228,1330,1190,1324,1632,1190,813,1166,1404,1240,1062,1134,1312,1256,1444,1438,1518,1062,820,830,869,836,545,524,609,956,1262,1224,1096,1362,1274,1122,1454,1478,1112,1062,1072,1036,1256,1606,1318,1074,1300,1240,1238,1366,1354,1322,1220,1070,1328,1560,1380,1430,1414,1324,1296,1188,1250,1302,1308,1230,1342,1534,1530,1328,1410,1378,1144,1026,1296,1404,1390,1146,922,1112,1466,1836,2070,1530,711,578,848,1350,1628,1454,1324,1754,1942,1478,793,482,386,418,413,421,485,554,547,568,753,847,801,713,1020,1866,2508,2646,2610,2140,2012,2066,1626,902,879,1068,1016,980,661,568,1396,2056,1938,1734,1660,1360,1030,841,800,816,891,984,1122,1084,993,1302,1200,1302,1238,1340,1366,1300,1274,1378,1558,1266,837,874,1446,1942,1658,1620,1005,945,1880,2440,2354,1554,1100,1290,1140,788,1162,1996,1836,1212,1028,1346,1410,1212,1262,1302,1404,1360,1268,1188,1100,1007,904,1044,911,638,606,776,650,536,580,779,845,771,963,987,865,738,576,466,500,490,448,481,558,609,594,602,593,536,354,305,338,366,322,311,303,281,290,299,306,319,412,477,330,314,286,299,293,309,302,293,309,332,341,332,324,382,308,295,326,535,505,356,314,329,365,397,397,381,395,376,362,350,377,377,388,470,539,467,347,332,341,363,375,372,395,399,395,363,337,336,289,626,1152,1506,1044,451,433,360,322,393,404,364,737,1188,1616,1416,706,482,571,731,948,1146,994,849,1042,1160,1092,814,735,887,1108,807,444,528,481,558,562,517,489,380,319,325,360,398,435,432,437,567,615,504,439,391,341,320,343,313,339,424,500,551,550,471,403,329,309,273,255,255,262,287,298,287,292,289,286,249,265,278,277,308,328,332,329,320,327,332,429,620,616,349,305,299,286,395,458,496,448,437,397,324,287,248,201,234,295,340,292,232,218,221,219,258,339,408,426,525,529,401,313,330,329,343,331,328,326,304,321,453,468,314,316,360,497,654,724,514,390,437,803,1122,1156,1114,1176,1356,1278,929,722,601,730,1308,747,400,326,591,1138,1416,1488,1384,1274,1202,833,478,657,946,1118,1340,952,556,600,1130,1282,716,812,1344,1224,805,603,954,1530,1164,641,725,683,714,1202,1308,908,655,560,570,607,673,721,1021,772,509,538,585,500,463,477,463,507,453,460,642,628,624,828,931,680,389,499,725,781,686,568,681,642,922,1032,960,551,350,370,421,413,561,745,568,357,683,1444,965,879,647,393,345,320,327,535,730,624,575,1388,1264,1274,908,448,329,679,786,675,536,503,545,545,472,971,1346,872,494,601,538,455,309,273,493,687,434,241,271,296,597,628,586,406,300,322,404,430,369,284,279,324,421,487,370,275,224,219,270,279,251,297,418,464,410,318,291,502,1108,1522,850,822,758,496,541,565,465,435,421,465,468,375,336,351,382,673,590,465,593,557,379,420,455,810,1322,1500,1578,1512,1442,1140,1078,766,633,554,456,540,799,1080,1234,1410,1186,1082,1352,1548,1566,1460,1354,1234,1988,2552,1716,1342,1588,1296,935,1104,1670,1538,1338,1526,1228,1284,1168,489,543,1028,1284,1452,1670,1466,1310,1316,1390,1358,1232,1460,1770,1840,1930,1638,1218,1676,1500,1212,1354,1442,1350,1678,1750,1404,1264,1011,922,933,601,658,968,1186,991,662,563,590,969,1082,794,671,600,516,560,494,398,415,574],[321,314,336,372,413,739,709,500,502,669,736,707,827,1052,1072,1014,977,1034,1118,893,921,1456,1348,1060,924,1396,1272,645,738,1142,1236,1120,1988,2056,1268,1122,1296,940,932,1190,1084,781,565,752,971,1012,1328,1372,1078,670,595,596,635,643,678,742,788,774,1068,2114,2530,1950,1708,1626,1466,1268,1224,1290,1138,1142,968,454,397,429,641,510,451,482,810,788,1030,1736,1950,1062,481,476,517,627,864,943,763,1528,1654,1292,1118,932,813,1026,1010,850,818,414,428,462,582,687,758,990,909,1036,1748,2306,1932,1698,1704,833,753,1010,1620,2024,1620,838,529,846,1044,1023,1208,1252,749,760,1024,1322,1388,944,904,1266,1396,1278,1448,1472,816,440,466,323,352,358,367,419,640,933,1112,1152,1290,981,918,1534,1526,1018,1040,571,391,583,678,600,532,681,719,462,422,422,408,357,400,408,515,1094,1378,1134,1116,742,644,799,703,802,858,574,785,734,713,1134,1226,1614,1814,1144,569,546,670,809,657,514,514,636,581,725,1042,971,1064,1264,865,602,625,645,642,556,581,814,699,460,475,538,442,355,341,330,372,351,390,397,414,377,403,419,416,444,471,523,577,575,565,571,572,587,623,664,744,539,436,378,241,245,348,401,393,361,346,307,271,350,282,278,240,241,264,331,364,337,352,386,407,405,390,385,383,398,423,405,455,466,412,399,392,395,425,372,296,268,308,407,512,475,349,297,279,307,326,224,212,204,224,291,335,319,239,208,222,218,220,222,223,230,225,214,215,226,254,279,270,243,236,247,242,227,228,235,250,242,234,270,253,278,310,300,263,248,257,268,289,275,290,317,421,421,338,293,285,370,644,1006,855,407,435,347,358,418,561,516,458,415,407,372,373,387,343,341,435,413,380,439,532,612,594,636,792,959,963,842,1007,1332,1376,1242,1084,1150,1242,1158,1058,1108,1138,967,825,807,993,1940,2324,2272,2554,1698,629,382,361,365,421,450,470,580,623,539,456,501,523,551,734,680,561,462,403,391,389,381,381,373,335,327,340,355,347,323,343,358,378,363,387,404,399,442,449,466,525,620,864,538,485,469,460,500,453,403,402,387,419,421,403,445,491,436,438,536,673,623,447,436,442,420,394,372,451,465,368,342,394,477,476,417,579,640,491,506,630,596,449,393,370,637,1376,1542,1318,954,581,1090,1636,1732,1588,1146,588,472,739,917,805,905,1196,1350,1042,656,492,443,567,1005,1004,671,750,1010,813,781,606,511,645,963,846,570,883,868,590,408,529,960,768,409,529,766,876,787,949,1230,1120,786,1028,1086,490,383,430,412,447,464,414,432,445,477,481,469,460,486,492,472,416,372,463,500,484,484,471,469,478,484,469,459,469,475,450,424,420,431,441,442,442,447,447,382,245,299,441,454,461,438,489,474,401,389,375,380,411,447,457,427,402,404,363,342,521,620,605,595,573,563,550,525,502,452,420,440,460,385,295,285,430,681,656,357,355,384,514,582,506,484,520,602,773,817,744,611,603,626,459,386,497,598,436,315,332,360,378,412,444,444,644,815,554,423,453,507,730,1076,1362,1450,1358,1023,628,529,542,509,486,434,508,800,526,380,399,402,359,392,516,516,385,393,435,473,400,468,524,597,1224,1418,962,600,712,625,412,301,399,761,1094,944,626,654,684,612,521,879,1636,1150,383,419,586,522,743,542,640,719,560,542,694,680,714,886,733,587,494,507,711,713,641,656,586,1030,1478,1506,1384,1444,1294,1180,1102,995,1002,1016,1174,1404,1436,1318,1270,1228,1102,1058,1138,1172,866,503,412,448,554,821,835,555,433,503,579,495,614,817,836,866,899,686,587,637,648,585,611,603,582,567,521,559,589,590,630,659,603,651,611,599,559,524,564,739,971,1200,1432,1594,1604,1464,1784,1976,1762,2254,1976,1520,1510,1512,1450,1522,1644,1620,1988,1626,1598,1760,1512,1366,1282,1238,1390,1594,1570,1594,1610,1262,719,1410,1458,1314,1202,1284,1184,757,725,929,1100,1232,1000,1062,1042,1324,962,673,578,980,1021,586,412,565,517,347,371,471,513,404,402,313,759,1560,1498,1004,1192,1554,1672,1882,2668,3002,2126,2032,2872,2472,1030,719,794,1316,1796,1172,391,314,316,381,527,717,1014,573,312,435,609,621,677,477,327,406,628,700,512,972,1178,1176,1166,725,578,585,543,740,796,815,966,1060,1062,906,721,666,747,610,549,586,556,615,754,809,615,520,634,894,906,951,1284,1368,1278,1350,1414,1464,1456,1210,1100,1346,1360,1324,1170,1202,1026,891,1122,1180,973,923,1004,1136,985,856,799,1126,1132,915,936,977,1326,1428,1110,1110,1132,1074,894,1296,1700,1824,1348,720,1062,1406,1250,1088,1021,1122,1018,744,890,1007,1034,1364,1108,1160,1290,1340,1390,1536,1624,1288,1166,1356,1416,1284,947,752,884,1104,1114,1009,970,1246,1498,1466,1326,1228,1284,965,833,1324,1290,1174,1410,1418,1278,1364,1472,1522,1538,1482,1334,1232,1280,1060,913,1011,1206,1154,1138,1126,1148,1005,934,1272,1504,1508,1360,1558,1672,1434,1250,1200,1372,1306,872,727,964,1198,1118,1302,1262,1288,1260,1444,1780,2002,1604,1282,1212,1220,1114,962,1060,887,1034,1186,1282,1030,1010,1182,1106,1324,1310,995,1102,1168,1100,1056,1106,1124,1154,1282,1354,1388,1392,1400,1486,1310,1074,1226,1324,1390,1310,1230,1386,1426,1350,1312,1272,1262,1362,1498,1514,1454,1500,1538,1546,1274,1076,1302,1436,1200,899,898,995,1164,1548,1896,1524,747,687,1070,1382,1456,1458,1830,1960,1594,930,506,421,368,393,473,539,601,615,573,609,700,788,847,899,951,1286,2172,2388,2012,1994,2188,1862,1080,646,850,1234,1314,904,603,1268,2788,2988,2164,1866,1388,999,952,967,1058,1132,1152,1116,1058,957,932,1498,1316,1306,1276,1282,1300,1296,1312,1366,1246,763,727,954,1520,1812,1194,1218,915,1210,2036,2378,2380,2018,1376,962,744,675,1396,2126,1580,1516,1040,1410,1738,1752,1654,1366,1206,1174,1266,1236,1244,1216,1264,870,1126,1056,855,864,890,923,854,894,1070,997,871,882,871,807,715,583,504,491,501,491,501,587,578,562,544,417,314,296,338,335,339,354,355,372,375,372,329,337,381,415,350,342,338,312,327,338,317,309,307,331,347,377,602,713,548,485,365,377,368,314,349,404,405,423,399,383,363,401,374,336,327,352,405,414,404,365,306,343,379,379,372,360,357,360,376,372,334,322,320,678,1556,1704,711,514,505,411,372,388,422,435,624,723,692,582,489,446,463,811,1076,1146,990,895,1048,1282,938,885,1738,2686,3106,1974,551,414,380,411,436,425,474,512,365,306,377,412,554,598,443,389,474,554,462,429,398,343,313,280,301,378,445,486,450,364,332,315,280,405,417,310,304,280,282,286,309,300,283,258,299,320,312,272,305,330,297,314,354,380,374,377,397,354,337,338,314,321,441,510,424,391,343,313,324,283,241,254,279,291,282,245,238,227,233,272,310,386,432,460,482,406,304,301,298,318,319,316,323,290,324,593,694,355,303,346,461,616,647,493,369,477,763,811,729,797,1142,1492,1306,655,463,473,429,335,376,504,413,390,598,808,906,846,1064,1224,656,397,429,515,1004,1034,582,519,476,491,543,589,719,935,908,531,393,510,788,670,481,544,651,670,613,558,460,405,370,365,391,411,423,424,375,328,354,430,420,812,1086,958,920,772,1090,1588,1142,582,836,1126,939,613,430,519,618,702,642,522,912,1228,1136,731,375,318,325,379,352,412,419,343,340,715,1142,998,1009,822,523,310,325,372,632,1028,906,1222,1730,1138,1326,1132,551,385,385,584,1068,1126,1344,1414,1108,558,991,1196,752,610,557,745,987,810,542,464,508,338,296,407,472,388,450,478,314,265,390,478,403,412,450,367,371,393,337,312,290,235,240,269,332,333,401,466,385,354,309,338,477,879,949,655,648,658,524,555,738,559,414,314,317,417,341,386,658,837,682,496,480,518,536,328,267,423,1132,1460,1462,1632,1592,1344,1208,1018,709,559,412,408,791,749,702,953,991,795,749,1108,1334,1498,1614,1484,1360,1760,1742,1140,1290,1628,1536,1021,976,1498,1392,1136,1020,1252,1276,1152,659,757,1124,1248,1426,1582,1490,1394,1340,1276,1278,1434,1606,1736,1936,1830,1526,1434,1500,1366,1374,1426,1328,1384,1694,1612,1450,1136,821,936,982,956,831,892,1116,1024,747,553,642,1054,1172,933,681,596,504,530,475,444,449,388],[334,338,379,458,722,1726,1686,765,464,569,648,630,640,646,569,586,624,696,803,1158,1174,1096,1144,977,867,1076,1110,845,1062,1242,1440,1684,1830,1390,751,715,1026,678,664,997,826,615,393,413,781,1006,1246,1324,988,717,658,683,744,755,651,614,651,616,667,1524,1958,1350,974,1068,1172,1006,1108,1256,1226,1232,1204,971,769,557,888,847,599,506,595,660,766,1194,1362,697,469,512,719,856,1132,1434,1354,1606,1854,1786,1538,1256,1278,1558,1234,1270,818,408,433,497,864,944,919,1018,852,749,1252,1966,2082,2204,2154,1188,737,1318,2028,2082,1902,1440,886,718,1060,1296,1440,1688,1346,1202,1222,1460,1040,648,625,744,1002,1212,1600,1566,755,557,571,412,458,479,422,424,521,1050,1194,1038,1302,1550,1478,2108,1820,1260,1112,508,415,475,504,607,591,699,573,456,483,451,375,340,386,405,781,1288,1324,1120,837,703,967,1188,975,1016,819,525,466,668,710,950,1156,1222,1196,835,501,437,406,415,360,475,532,552,544,849,1240,1044,903,941,718,657,599,934,1224,1610,1552,1272,853,538,407,483,486,420,327,372,405,365,380,363,393,406,412,419,487,451,410,506,535,560,527,460,570,579,533,648,633,454,448,383,253,252,264,276,324,379,407,402,374,381,319,256,236,272,290,330,378,397,436,421,403,394,383,385,406,420,414,381,369,369,352,358,333,329,363,354,371,470,553,586,596,700,680,361,320,299,320,253,278,318,369,464,581,549,365,257,289,283,262,245,251,255,248,244,239,241,256,274,267,243,240,261,230,217,262,265,270,260,257,292,291,286,286,276,272,279,286,276,257,322,451,520,761,764,574,829,1250,1698,2154,2198,1468,528,439,373,358,389,431,403,299,301,358,372,475,541,573,642,717,757,844,971,1015,940,808,601,513,592,828,1182,1550,1444,950,698,968,1144,965,947,1390,1400,1010,902,1190,1238,1250,1952,2108,2156,2130,1416,598,361,330,332,386,444,466,482,543,485,482,475,417,454,570,543,494,444,413,401,367,359,391,413,364,378,377,371,345,337,352,378,391,394,391,394,380,427,498,507,507,543,808,617,447,477,467,503,448,329,367,457,490,452,410,427,486,422,383,458,562,486,420,472,472,469,427,368,406,361,323,350,422,502,520,535,606,435,353,414,463,459,438,391,380,728,1346,1198,706,464,764,1390,1614,1738,1446,875,461,391,658,1110,1226,1009,1054,1288,1240,1004,644,496,469,700,1134,975,920,1256,1072,869,802,823,1010,1428,1180,557,902,1096,752,808,628,473,534,489,518,727,980,924,1004,1214,1196,819,1076,935,441,341,419,414,407,380,387,461,468,485,486,473,463,489,513,502,473,466,489,489,506,508,498,499,493,473,458,453,450,443,436,434,440,436,437,442,445,466,458,438,353,397,470,462,446,439,453,407,365,388,371,391,467,494,481,452,423,428,385,398,491,601,636,612,600,561,502,460,426,414,367,451,483,350,303,317,432,703,750,415,487,436,483,615,544,511,417,639,845,608,471,361,468,600,632,398,360,433,397,332,340,399,412,392,484,439,442,505,466,371,394,425,743,1266,1388,1206,1250,1112,538,452,436,356,348,415,424,688,587,450,464,427,393,394,428,394,286,385,379,368,383,462,498,713,1094,1246,1402,1242,852,487,401,382,538,1322,1842,1030,560,766,778,626,584,796,908,658,476,548,550,410,692,685,794,852,775,773,755,603,736,897,638,489,394,519,733,682,653,637,927,1372,1564,1366,1072,1220,1278,1222,1072,1078,1015,1032,1170,1334,1274,1318,1378,1246,1180,1300,1386,1338,988,674,755,775,670,757,786,667,530,509,519,507,496,509,595,673,730,730,643,671,755,631,564,550,523,534,544,591,630,637,606,651,591,559,571,620,749,999,1052,1000,1172,1336,1606,1550,1332,1206,1456,1582,1646,1806,1666,1704,1676,1488,1428,1532,1572,1446,1270,1328,1320,1536,1494,1432,1402,1354,1482,1438,1466,1470,1488,1148,1220,1698,1378,1016,1250,1262,868,513,774,1238,1064,778,869,1468,1482,1042,714,719,631,656,509,362,537,677,549,406,396,418,623,495,412,484,825,1046,1032,1160,1398,1508,1550,1734,1866,1784,1708,2212,2732,1616,834,1106,1456,1864,1666,720,364,590,793,784,873,1084,866,442,254,568,854,610,359,352,411,415,756,1086,794,888,1212,1346,1116,793,642,622,709,703,874,967,1042,983,1218,1528,1290,1144,915,533,504,524,604,692,727,739,728,792,661,960,1154,1424,1692,1242,947,1192,1358,1300,1416,1212,1354,1518,1256,936,785,813,1040,1250,1284,1274,1038,870,1172,1360,1098,823,1064,1238,897,856,886,835,1230,1238,966,982,973,788,690,620,1198,1510,1346,1240,1042,1066,1416,1238,1274,1380,1204,889,996,1268,952,855,844,1019,1188,1228,1338,1446,1404,1302,1378,1416,1494,1366,1290,1154,1009,1100,1190,1076,1098,1180,1404,1340,1170,1094,1170,1092,1160,1264,1176,1170,1418,1426,1206,1174,1366,1434,1680,1482,1058,1046,1280,1248,1126,1160,1338,1034,962,847,1090,719,1015,1302,1504,1606,1302,1274,1506,1614,1484,1216,1124,1208,1202,1060,1146,1236,1214,1542,1386,1360,1456,1282,1610,1696,1218,1134,1270,1400,1192,980,1102,1212,1256,1292,1334,844,691,1054,946,1120,1034,973,1142,957,942,971,958,1150,1354,1308,1288,1402,1578,1408,1470,1312,1296,1266,1388,1356,1332,1374,1500,1520,1264,1130,1282,1312,1308,1202,1442,1466,1538,1432,1428,1364,1230,1332,1362,1122,1066,1144,1180,1136,1518,1704,1724,1148,1013,1386,1552,1612,1830,1896,1592,1021,585,430,379,356,535,777,750,657,645,678,713,757,758,734,803,980,1028,1550,2020,1980,1944,1798,1240,731,695,1122,1440,1102,722,886,1372,2098,1856,1648,1876,1482,1002,1110,1166,1180,1011,807,714,774,677,935,1582,1462,1334,1366,1350,1382,1360,1414,1410,1368,1282,1284,1250,1634,1710,987,816,784,722,1108,1570,1804,1974,1666,1132,860,1156,1958,2074,1774,1638,1130,1372,1810,1812,1742,1532,1292,1064,1252,1260,1140,1080,911,837,1310,1504,1310,991,904,799,708,743,728,785,614,565,683,678,624,589,547,514,495,506,469,523,574,534,445,311,271,296,336,368,405,367,349,365,407,458,374,349,338,328,333,349,330,324,362,368,345,309,320,308,348,355,467,437,551,611,470,423,447,415,354,378,426,400,379,396,386,381,378,360,357,404,437,437,454,451,335,331,351,385,392,343,317,336,374,371,357,346,308,520,1256,1086,509,469,473,426,398,340,372,463,486,470,377,351,430,405,448,811,1192,1288,1086,1021,1132,1138,642,625,1186,1354,993,559,362,343,348,368,412,419,516,580,411,348,334,365,477,444,466,454,536,662,545,440,445,406,359,341,362,440,460,412,378,322,296,311,312,580,721,501,383,279,284,303,277,292,277,276,343,386,371,338,325,298,280,306,298,342,323,325,376,382,494,509,405,350,384,400,397,466,358,306,301,274,244,250,263,293,293,268,271,255,257,282,311,336,334,318,313,288,303,306,317,322,300,318,335,310,313,479,646,482,416,432,649,827,710,605,506,544,821,749,912,1152,1710,2090,1352,572,365,388,386,353,372,419,460,443,408,429,488,778,1130,885,669,990,867,600,922,681,429,417,585,514,478,787,748,728,604,462,417,361,369,460,426,367,581,615,368,420,474,438,445,499,459,365,336,322,315,349,390,440,385,857,1248,1250,1146,915,1462,2130,1510,753,880,1292,1110,879,608,492,381,691,994,1021,1005,982,870,426,336,302,334,377,313,302,447,442,428,730,612,591,921,691,750,462,324,349,557,1090,810,1628,1316,824,1154,882,507,381,357,443,848,1052,1816,2226,1346,470,490,436,489,579,495,756,1516,1536,1280,1422,924,447,393,735,808,517,387,295,207,244,337,491,443,392,358,321,366,315,195,325,312,210,182,241,361,358,442,426,345,359,377,395,329,266,347,560,653,628,539,528,730,458,274,368,381,513,473,425,697,891,875,554,409,469,609,502,487,869,1300,1204,1214,1404,1248,990,924,952,905,901,562,583,1064,1026,816,739,811,865,1292,1628,1278,1334,1240,1556,1628,1748,1828,1726,1716,1426,1202,1074,1522,1660,1474,1344,1282,1604,1554,1448,1124,1218,1292,1294,1308,1366,1430,1314,1152,986,1232,1526,1648,1804,1868,1526,1404,1372,1372,1468,1394,1298,1336,1428,1688,1826,1438,1092,1290,1158,1254,1202,887,939,1009,908,706,564,818,1030,1054,1054,815,648,514,430,407,432,389,367],[499,485,442,469,600,1426,1450,610,484,530,566,520,454,381,433,466,490,707,1742,2248,1512,1082,998,823,982,967,1144,1450,1494,973,1428,1742,1564,1434,1158,1172,1070,927,694,764,619,722,597,601,1050,1368,1312,1166,824,683,888,840,712,639,561,474,412,452,384,750,1058,1022,1036,1208,1168,949,1092,1224,1334,1004,879,1358,1562,979,1176,1458,1022,475,415,546,623,662,662,540,536,741,787,575,952,1526,1682,1682,1734,1750,1392,893,841,1312,1154,1384,678,340,468,540,826,1040,1050,1038,990,871,1164,1698,2054,2124,1570,1060,904,1294,1790,2086,2060,1822,1224,966,1104,1302,1468,1494,1584,1670,1638,1510,799,498,672,769,612,579,985,1044,672,407,374,544,518,426,378,390,519,808,1160,1156,1170,1446,1620,1930,1142,733,669,496,468,413,556,739,675,710,488,484,534,517,423,544,446,483,924,1078,1066,831,665,915,1168,1374,1404,1320,1272,1134,674,538,528,521,614,713,698,425,418,376,278,291,266,344,522,580,612,839,1108,1054,971,1126,767,564,526,1372,1872,2182,2452,1616,758,474,457,610,769,528,361,375,326,361,391,359,354,376,444,562,604,516,501,579,531,540,604,905,1082,625,418,596,625,418,271,296,284,285,273,258,270,333,365,369,364,303,272,281,254,224,260,328,390,422,403,430,437,397,379,394,428,436,436,416,354,320,307,325,297,319,375,387,466,515,505,430,337,479,602,312,310,333,377,379,433,481,451,554,644,533,419,309,282,283,307,252,267,290,283,277,266,260,260,254,230,223,227,274,278,254,251,261,301,334,321,293,270,268,288,314,322,366,402,324,368,458,575,703,907,844,955,1686,2166,2378,2476,2452,1588,574,359,301,263,283,320,362,493,753,877,915,945,836,865,890,912,924,854,717,558,436,353,299,310,699,1392,1334,1054,853,644,1446,1686,1632,1730,1688,1744,1580,1220,870,1102,1208,1180,1562,1706,1570,1498,949,510,444,363,353,365,430,412,410,466,478,514,546,461,439,483,524,642,628,509,382,359,362,423,423,440,561,565,447,377,384,395,390,410,433,393,388,393,444,490,521,519,598,1023,862,431,456,443,451,445,361,400,532,534,444,391,405,426,381,389,460,468,429,494,504,424,368,414,451,451,372,328,359,461,554,582,618,581,361,378,377,339,380,430,454,439,850,1146,629,482,937,1524,1698,1538,1632,1008,539,429,378,577,1134,1394,1134,875,1084,1104,1174,796,506,372,380,667,1056,959,828,1034,936,563,662,988,1256,968,633,832,977,902,935,670,600,542,536,543,751,1262,1196,1246,1240,1200,963,1158,839,431,419,482,474,429,428,452,491,464,451,473,474,475,497,521,514,502,523,532,512,506,520,527,527,502,488,476,454,439,442,447,464,469,448,437,418,421,440,421,381,341,401,439,450,452,440,428,427,393,394,345,354,443,473,470,470,481,437,441,485,478,521,604,600,572,565,491,406,370,397,306,334,416,331,275,273,313,366,415,521,442,399,505,623,594,507,438,498,517,473,515,651,732,578,538,456,494,548,453,425,433,398,432,406,435,420,470,496,413,378,425,455,586,1028,1404,1284,1174,903,440,417,435,611,716,550,459,697,614,454,524,524,495,442,508,590,462,402,360,321,364,459,538,933,1328,1368,1314,1220,1404,1172,846,590,587,1136,1068,565,488,630,830,1028,984,788,702,697,711,637,522,574,690,578,603,637,670,722,767,944,940,788,616,536,519,765,830,722,674,684,1054,1482,1572,1304,1412,1362,1236,1428,1440,1270,1190,1206,1064,1122,1366,1434,1440,1338,1312,1282,1366,1218,1130,1456,1556,1228,965,902,894,976,787,572,568,645,584,747,879,726,543,669,740,700,558,527,534,540,599,626,590,602,691,687,648,699,671,551,620,777,922,1040,808,897,1248,1476,1404,1278,1312,1366,1460,1606,1560,1388,1588,2096,1672,1576,1772,1970,1628,1448,1376,1270,1312,1520,1372,1310,1480,1516,1434,1532,1484,1416,1510,1514,1562,1456,1176,1124,1250,1382,1178,757,1282,1582,1282,1206,1206,1610,1402,739,399,372,503,507,355,427,481,488,660,716,526,391,410,652,910,1078,1007,858,831,1058,1172,1320,1600,1554,1550,1750,1592,1488,1442,1210,1088,1336,1706,1624,1116,491,546,824,822,666,1194,1356,701,378,258,364,596,495,381,437,496,522,530,1038,990,766,1170,1534,1364,1118,677,1074,1334,745,827,1328,1234,848,1380,1860,1780,1694,980,513,466,476,661,833,862,1104,1086,814,417,749,1296,1474,1628,1448,1306,921,1001,911,1154,1158,1472,1404,919,719,547,399,572,948,976,697,686,586,679,1005,1050,944,1110,1178,1084,920,730,832,954,1060,1244,1372,1180,1066,943,930,1358,1230,1264,1688,1572,1570,1492,1398,1404,1130,1030,1060,1188,1418,1054,716,822,1132,989,1168,1270,1198,1176,1220,1260,1390,1354,1042,1100,1198,1108,1032,1140,1182,1256,1078,1230,1144,997,783,994,1122,1062,1100,1110,1376,1592,1346,1024,1001,1242,1248,1424,1246,1054,1190,1154,1268,1284,1152,1138,1178,1330,703,561,587,1216,1452,1528,1560,1296,1282,1616,1642,1630,1412,994,960,1148,1246,1114,1026,1100,1336,1472,1656,1880,1280,1288,1192,1240,1290,1110,1324,1218,1124,995,1218,1392,1176,1278,944,794,1194,1486,1406,1204,1104,971,1098,1298,1238,1146,1330,1382,1134,1318,1752,1850,1276,1242,1302,1278,1224,1470,1606,1572,1224,1350,1390,1378,1388,1700,1292,1140,1214,1532,1578,1458,1418,1642,1638,1288,1306,1316,1260,1214,1500,1594,1524,1664,1500,1626,1556,1572,1646,1594,1870,1932,1644,1010,547,411,399,405,423,622,676,581,577,608,645,733,808,768,739,720,818,902,979,1410,1676,1370,1016,965,705,877,1196,1216,993,1028,814,913,994,921,1106,1576,1582,1128,1150,974,884,787,745,761,1246,981,837,1318,1426,1360,1472,1434,1514,1466,1490,1466,1466,1430,1400,1416,1668,1566,907,841,1000,766,742,651,709,949,837,824,1080,1550,1990,1458,1066,1118,1086,1572,1930,1744,1478,1116,971,987,1152,1172,1116,1102,1032,1007,954,991,1172,830,586,564,541,549,458,635,604,506,612,609,504,494,541,639,557,501,445,422,542,594,473,343,313,317,327,367,436,387,328,315,355,385,367,365,358,321,308,303,340,450,420,449,390,325,325,313,331,322,319,316,354,396,395,389,477,557,386,356,367,351,321,360,405,395,395,383,376,410,431,445,453,484,370,329,338,355,362,364,316,298,318,354,375,354,349,379,507,457,414,453,526,547,448,354,430,598,490,405,351,333,373,383,382,578,941,1102,1060,1052,1048,760,381,328,247,228,257,327,348,363,387,395,466,514,465,430,389,429,423,368,424,514,630,565,534,643,631,459,409,392,372,400,452,499,489,399,352,276,301,533,544,507,565,382,304,284,300,330,317,306,287,295,354,374,336,319,342,347,331,310,280,258,274,343,361,352,477,599,560,443,348,326,362,375,340,287,255,266,267,261,292,341,342,325,292,312,344,315,336,326,303,340,394,371,356,356,354,348,324,309,329,294,298,426,700,698,566,535,785,1244,1284,1066,804,854,1040,1116,1690,1574,1488,1472,975,502,436,391,415,460,422,407,713,1052,815,712,494,432,505,661,1124,1426,1036,800,968,521,427,384,530,677,633,695,626,495,495,508,488,414,412,477,382,323,433,502,386,412,492,482,500,539,467,360,356,338,297,304,354,404,413,766,1012,1112,1146,1032,1274,1548,1336,814,689,1046,1560,1126,910,831,457,435,630,825,769,642,622,351,340,362,454,440,350,270,532,591,692,1136,977,811,1042,846,918,790,449,349,400,313,1000,1776,913,771,1018,877,558,401,373,299,374,580,1578,1960,951,337,353,305,354,485,839,963,1278,1434,1698,1856,1302,727,521,780,897,547,285,201,210,245,306,430,492,530,383,246,301,267,231,245,218,226,248,361,393,340,366,356,318,324,409,411,292,282,409,529,400,299,349,349,436,299,283,580,907,954,590,486,645,743,582,376,480,580,1094,1013,941,960,883,980,1054,1208,1016,555,589,759,811,1050,1050,1190,977,901,792,745,1021,1344,1532,1340,1134,1060,971,1372,1604,1628,1676,1702,1318,1166,1220,1164,1462,1580,1506,1358,1446,1736,1622,1426,1312,1258,1362,1328,1078,1040,1240,1252,1184,1200,1478,1544,1638,1780,1692,1590,1508,1282,1226,1462,1328,1208,1368,1252,1406,1866,1306,857,1114,1296,1348,995,807,932,913,738,624,505,876,1074,968,1104,935,685,611,492,389,387,377,456],[456,457,427,421,517,1090,1202,551,456,380,458,386,299,291,355,399,480,594,1112,1334,929,904,772,567,1164,1388,1264,1342,1308,805,883,1090,1500,2064,1838,1440,1170,2086,1110,722,602,565,653,763,996,1208,1248,991,484,369,529,884,697,547,455,460,534,590,683,978,1260,1506,1480,1116,885,788,1300,1142,1282,1072,650,1060,1722,1628,1520,1456,897,494,382,477,615,635,610,642,741,1166,1168,655,700,1236,1692,1378,1170,881,703,529,553,652,739,680,422,353,442,548,754,1023,980,940,856,966,1632,1820,1782,1476,1144,1070,1184,1122,1382,1606,1422,1088,737,667,980,1104,1158,1262,1428,1678,1744,1188,626,655,832,944,687,489,498,652,576,415,444,744,800,562,408,415,524,811,1222,1228,1148,1072,1244,1154,689,531,572,561,642,592,833,849,800,651,482,430,516,504,368,440,506,774,827,780,816,727,973,1230,1344,1302,993,938,1088,1086,838,707,692,646,503,425,455,696,954,543,327,326,301,327,389,501,739,1172,1204,1032,1384,1718,959,647,595,1224,1646,1620,1360,995,939,794,606,758,841,519,413,413,328,361,416,406,386,356,474,565,568,484,416,492,544,840,1050,1162,988,557,538,664,604,326,303,324,299,279,246,247,325,405,395,415,423,350,326,333,282,254,310,334,400,471,447,494,507,404,387,397,405,416,431,430,368,331,354,406,360,307,360,397,378,366,325,300,290,314,410,337,377,399,410,413,472,449,324,298,307,285,381,354,263,278,339,296,289,300,325,328,299,294,269,245,223,226,234,279,315,283,289,322,362,341,276,247,252,278,318,374,404,497,586,534,583,634,703,771,878,894,1021,2010,2378,2456,2286,2124,1324,539,372,495,702,939,1064,1042,1050,1056,1052,1048,1036,1005,915,644,436,317,264,291,317,393,444,533,567,877,1350,808,717,1024,953,1686,1896,1624,1538,1250,1410,1356,1372,1576,1686,1360,940,1190,1620,1798,1594,1164,1068,802,609,573,720,582,395,391,391,427,447,492,438,433,414,462,618,615,565,438,369,399,419,557,710,720,568,435,384,375,373,369,371,389,415,417,428,443,420,469,468,553,971,964,447,422,401,395,476,462,429,439,419,405,402,387,386,379,402,459,510,497,543,481,407,414,416,497,451,399,415,369,486,642,647,658,396,343,392,374,323,362,393,436,555,934,974,466,860,2278,2844,2116,1498,946,518,455,452,378,583,1070,1536,1682,830,826,787,1094,988,607,398,428,408,703,1130,1220,1222,1112,751,655,1084,1132,904,794,796,766,929,913,940,1144,853,827,774,992,1444,1584,1676,1394,789,897,1084,671,474,471,474,439,354,344,426,482,468,432,447,464,471,486,492,494,513,530,495,469,477,478,478,478,481,503,503,461,414,413,446,470,475,459,431,347,377,437,452,342,278,361,443,481,485,447,432,463,446,433,379,419,493,489,496,556,562,430,402,467,436,439,458,503,585,605,530,384,367,469,446,505,491,405,382,352,408,497,703,580,405,372,417,524,454,367,367,521,680,1006,1128,999,845,639,508,441,422,494,617,634,714,594,377,387,396,401,432,451,410,375,390,397,488,972,1528,1502,1234,998,748,814,1622,2098,1542,655,434,708,610,422,419,416,406,349,433,573,480,489,441,368,406,451,615,1086,1234,1222,1172,1382,1718,1600,1664,1362,735,507,440,582,719,648,1232,1640,874,808,963,959,688,423,438,826,1018,764,607,526,565,529,761,1322,1108,905,739,626,680,797,906,960,666,505,998,1460,1500,1250,1510,1322,1142,1202,1088,920,1152,1250,1128,1124,1372,1556,1482,1600,1576,1478,1430,1392,1444,1650,1572,1234,1136,1174,1044,945,873,693,610,576,681,995,1014,810,714,623,652,626,493,469,473,520,553,567,484,493,671,808,775,777,756,647,783,1046,1004,866,846,1208,1502,1484,1348,1424,1418,1394,1454,1304,1304,1584,1566,1714,1660,1620,1976,1918,1520,1476,1604,1660,1652,1570,1288,1204,1426,1350,1368,1848,1598,1750,1636,1350,1356,1350,1202,1406,1700,1770,1426,1370,1596,1178,1174,1388,1418,1390,1064,586,394,425,478,362,302,566,457,376,669,951,750,423,357,618,1146,1416,1009,1102,1476,1090,914,1288,1620,1592,1816,1624,1350,983,876,1190,1716,1802,1622,872,518,479,685,796,609,678,1200,1178,525,315,301,346,318,304,373,434,467,538,639,1011,1032,952,1136,1476,1454,1272,623,1476,1804,980,720,1013,792,593,1076,1200,984,1050,880,824,882,726,656,913,1002,756,507,500,478,795,1216,1164,1516,1424,1598,1312,1096,930,815,995,1252,988,852,1040,924,721,661,892,858,728,973,830,665,753,896,1084,1112,1062,1238,1046,765,827,940,1358,1426,1492,1240,902,778,998,1080,1296,1568,1660,1502,1500,1722,1478,1392,1494,1572,1490,1488,1360,1212,1230,969,997,915,1302,1168,1246,1066,1040,1280,1350,1072,854,915,1036,1204,880,998,1274,1390,1158,1028,1086,1044,814,1007,1246,1124,1078,1154,1220,1150,1070,921,976,1172,1170,1164,1214,1288,1316,1228,1144,1090,1158,1292,1346,1340,741,511,476,903,1182,1116,1019,1156,1506,1736,1410,1456,1612,1378,1356,1266,1252,1110,1096,946,858,1246,1412,1354,1136,1270,1126,1172,1066,1134,1362,1378,1256,1166,1408,1454,1384,1274,1066,953,1166,1382,1372,1468,1422,1220,1174,1338,1274,1078,1252,1346,1236,1248,1334,1198,1086,1140,1306,1204,1076,1068,1274,1432,1376,1428,1450,1482,1398,1326,1190,1230,1226,1218,1224,1266,1490,1564,1432,1396,1338,1484,1358,1448,1880,1876,1652,1514,1568,1762,1762,1686,1578,1880,2014,1656,985,505,414,375,364,368,468,626,589,469,442,525,561,636,757,724,750,794,662,625,722,894,1015,878,948,1262,819,968,1300,989,831,766,678,762,921,1094,1202,1252,949,715,650,542,668,726,701,667,1080,995,688,1112,1498,1388,1494,1440,1498,1494,1528,1542,1528,1450,1470,1516,1724,1678,872,859,1070,959,979,960,866,808,878,955,936,1160,1398,1284,988,866,1042,1404,1484,1332,1306,1284,1290,1188,1118,1078,915,788,615,498,410,486,776,884,680,542,565,516,477,615,658,639,589,549,503,461,489,766,780,581,463,412,452,562,511,346,353,347,326,335,348,343,349,326,325,323,324,343,315,294,334,321,324,422,408,465,396,331,297,315,312,300,363,450,447,369,303,306,316,347,376,377,325,277,265,321,402,422,407,394,400,408,413,451,492,480,422,373,347,327,377,415,310,289,295,304,341,366,386,378,363,390,408,491,634,639,458,384,385,446,394,352,370,348,375,426,474,557,686,727,734,828,865,749,719,528,435,490,465,393,370,368,389,405,435,480,395,347,343,441,500,456,491,604,625,554,578,675,702,558,503,536,554,550,534,454,376,327,283,256,486,780,473,424,405,399,446,354,303,327,317,299,307,315,323,353,358,333,370,374,345,298,274,384,520,469,385,361,408,542,552,364,298,310,401,375,320,283,275,321,332,315,326,353,339,316,295,321,368,373,395,361,324,346,380,379,362,365,363,387,381,327,282,288,486,709,879,741,470,478,830,1360,1252,1122,884,973,1086,1802,2070,1650,1444,1452,999,469,381,379,557,622,499,400,915,1202,1238,1056,803,670,627,871,1024,1088,932,879,699,469,359,314,404,677,842,771,577,509,492,566,691,536,448,420,377,355,357,446,449,433,474,372,323,435,438,394,343,346,344,387,417,387,405,744,1002,912,965,971,852,974,1168,740,532,717,1236,896,695,810,719,362,374,700,609,560,447,338,467,639,589,426,338,314,372,441,622,1208,1136,1264,1446,1388,910,764,761,615,507,558,1526,1714,996,914,957,913,552,433,336,334,348,324,468,486,514,747,517,317,319,363,594,602,440,767,1530,1656,1126,901,828,768,489,334,233,195,239,370,489,457,461,430,296,263,277,230,226,263,277,247,223,298,361,436,386,336,314,292,387,481,354,253,260,318,392,401,337,340,409,384,405,820,1238,1076,447,606,766,1036,621,383,545,544,694,865,1230,1228,1506,1526,1182,1300,1038,684,627,637,1360,1968,1566,1396,1382,1216,1278,1202,1174,1374,1234,1028,979,832,1156,1372,1470,1598,1578,1546,1542,1628,1608,1284,1324,1532,1204,1070,1366,1744,1732,1640,1364,1282,1554,1432,1172,1324,1606,1506,1414,1720,1808,1724,1804,1766,1526,1452,1360,1336,1248,1328,1230,1248,1372,1346,1780,1836,1368,1136,1628,2112,1700,1050,835,905,963,699,810,639,912,1198,1072,1132,1108,821,709,628,460,433,466,522],[561,473,427,477,591,927,1094,888,839,697,559,468,390,407,420,386,390,392,543,1074,803,919,641,681,1356,1244,1134,1580,1648,1300,1292,1098,1302,1830,1644,1130,674,731,992,1290,1044,630,677,816,780,587,503,458,540,635,733,802,644,727,874,958,978,1010,1194,1440,1642,1550,1444,1230,1044,734,1194,1122,1266,1262,884,1168,1722,1892,1682,1066,587,400,392,524,652,628,632,709,714,1108,1434,962,397,853,1184,929,1194,998,723,531,881,1228,971,725,584,354,337,390,665,1001,972,872,620,568,718,1124,1228,1100,868,976,1522,1484,1324,1292,1060,640,531,731,1023,871,1062,1470,1488,1596,1652,957,562,437,536,737,612,405,505,697,562,448,584,790,1009,983,756,568,499,816,1188,1654,1398,850,761,1002,1122,1036,944,725,822,1042,1410,1252,850,576,438,515,580,366,303,366,597,963,887,1372,1826,1106,1298,1574,1266,970,819,571,549,555,590,651,684,653,506,421,525,788,1026,661,308,287,356,398,395,441,614,852,650,607,1716,2076,1364,984,917,1152,1124,788,617,653,989,836,565,683,613,483,443,420,383,375,381,457,461,385,439,531,533,456,711,920,985,1658,1576,1168,924,707,769,725,515,268,305,299,276,218,260,304,352,403,458,448,496,378,298,287,280,274,288,259,372,539,483,578,712,434,415,409,387,395,383,362,383,448,563,520,348,311,354,386,314,309,292,305,310,299,376,412,386,336,275,298,355,286,230,237,251,288,401,397,327,281,310,294,268,304,346,376,340,302,287,248,236,230,220,226,247,258,267,301,395,345,274,266,292,369,472,584,664,741,785,767,796,827,823,835,874,905,917,1628,1736,1780,1530,1318,1024,846,913,996,1074,1046,814,863,927,1032,1256,1250,1166,1164,1020,655,417,484,581,689,752,965,1058,1210,1286,1466,1688,1390,1516,1396,1230,1746,1434,1188,926,736,766,684,725,1278,1728,1474,976,1406,2046,2000,1466,1196,1160,902,915,779,698,842,601,403,404,383,359,416,633,509,525,512,544,536,437,431,522,475,428,467,511,457,344,385,381,368,348,326,364,333,363,393,408,408,405,456,469,549,922,1021,511,400,370,373,440,480,507,486,440,454,424,420,368,352,348,379,418,431,526,516,374,345,413,424,351,333,358,321,411,529,625,565,425,367,412,449,412,417,449,429,575,983,783,531,816,2304,2954,1838,859,511,440,422,431,407,404,715,1766,1990,903,747,770,952,1090,799,473,480,527,1134,1456,1350,1328,1108,1068,1158,1440,1148,764,698,567,623,1086,1272,1472,1776,1690,1698,1142,953,1114,1188,1658,1400,505,787,993,529,484,463,483,474,440,353,332,419,472,443,455,452,462,466,471,479,458,367,359,432,476,436,406,423,449,497,485,347,249,351,428,466,473,439,403,346,374,422,440,437,405,443,474,497,494,527,493,450,462,459,419,506,559,464,445,548,602,448,386,363,398,398,368,446,535,629,643,458,321,534,796,846,702,629,512,432,632,911,865,810,822,484,529,524,438,655,1086,901,930,1404,1996,1664,970,668,471,442,417,416,427,597,819,927,575,480,445,443,458,433,348,306,331,395,550,993,1284,1200,1098,885,648,744,1240,1588,1364,794,688,903,665,531,401,364,316,266,291,359,465,589,445,385,367,411,589,830,1066,1228,1294,1562,1640,2230,2728,1828,1088,921,667,775,1874,1740,1044,807,590,964,1076,1036,828,470,459,692,767,780,563,533,631,461,602,1058,1174,1026,805,747,800,995,1062,772,488,530,1150,1248,1114,1446,1460,1354,1246,987,653,569,717,778,1128,1094,1154,1650,1198,1180,1402,1584,1564,1460,1494,1566,1446,1023,997,1410,1368,1058,856,718,691,607,780,1210,1258,1192,1082,763,623,558,498,461,442,468,510,556,515,523,607,738,763,698,651,577,707,933,1116,1206,1492,1670,1378,1282,1570,1642,1166,1244,1532,1314,1660,1726,1854,2068,1638,1290,2152,2374,1464,1462,1588,1576,1428,1234,1230,1160,1408,1416,1538,1686,1612,1558,1288,865,901,1412,1416,1404,1570,1110,1092,1326,1316,995,1016,1490,1586,1194,1008,561,390,647,561,409,296,719,689,495,614,732,633,471,433,813,1312,1226,988,954,1272,1072,949,1336,1642,2326,2568,1600,1632,1604,1286,1088,1706,1698,1114,486,466,648,768,722,653,537,586,777,714,398,282,370,360,274,292,395,545,580,715,1166,1294,1156,791,1054,1046,807,522,741,639,435,406,435,420,513,894,904,815,846,1064,1090,1040,962,791,789,821,754,700,585,578,1198,1362,921,1158,1284,1384,837,901,1134,1180,1134,879,717,1136,1416,1444,1252,927,730,502,699,1054,980,948,1028,806,832,1142,1094,1170,1218,1068,1110,1274,1310,1346,1394,1238,1046,1088,1023,962,1450,1492,1470,1366,1206,1268,1080,1084,1208,1350,1450,1404,1528,1636,1636,1214,794,619,958,1410,1326,995,1176,1336,1156,875,568,655,936,1100,1030,1046,1224,1242,940,748,774,688,706,1034,1292,1158,1118,1354,1346,1268,1056,987,879,976,1146,1136,1268,1084,1020,1062,990,1082,1260,1094,1064,1126,1040,752,483,575,754,788,642,922,1500,1242,745,1190,1638,1722,1678,1428,1142,1018,1040,817,697,954,1158,1142,1300,1284,1132,1134,1096,1150,1282,1328,1456,1734,1628,1448,1378,1178,1102,1158,1180,1256,1508,1396,1350,1288,1162,1204,1090,1084,1190,1290,1270,1262,1288,1360,1230,1112,1204,1256,1060,1156,1610,1694,1494,1460,1468,1444,1246,1090,1104,1040,935,1005,1064,1168,1374,1388,1400,1372,1342,1686,1620,1662,1876,1724,1538,1578,1578,1450,1426,1720,1950,1972,1622,972,494,372,367,384,393,395,494,622,518,410,451,464,453,540,601,694,789,685,581,630,645,760,902,871,843,971,989,1368,1278,925,724,841,1072,1098,1130,1094,933,727,587,680,807,942,993,939,1032,1196,1156,838,634,1108,1546,1452,1576,1566,1632,1562,1478,1454,1360,1236,1328,1364,1450,1440,846,882,802,647,554,497,484,556,636,630,575,597,651,627,599,703,725,692,726,865,1046,1136,993,841,854,759,484,433,413,457,459,403,465,803,749,542,507,445,458,529,590,684,544,576,719,618,478,655,768,605,466,458,392,459,549,393,326,323,324,323,329,329,328,314,307,313,310,309,295,283,328,338,316,316,366,384,357,332,307,317,340,320,349,439,447,390,333,315,306,322,351,342,298,290,285,312,404,433,415,401,426,430,450,459,447,428,396,359,350,362,394,419,333,305,325,324,345,335,375,373,369,384,395,449,684,520,332,326,357,366,393,445,515,607,651,811,792,518,464,509,568,546,547,634,659,580,453,412,413,409,394,368,380,372,405,422,366,345,319,377,427,480,555,611,618,497,528,758,822,711,651,708,721,614,489,354,265,241,259,279,383,499,387,399,462,586,553,346,275,303,305,304,328,324,323,370,368,348,365,361,338,327,285,468,728,518,350,393,396,444,477,342,276,325,480,416,326,331,305,312,325,331,326,321,309,307,311,321,383,416,398,365,360,390,412,385,349,351,351,405,380,333,294,415,797,943,842,972,819,1116,1310,1228,1360,1306,1094,1210,1250,1638,1834,1562,1406,1258,648,385,288,292,474,783,632,360,543,824,1108,1212,1248,1300,1312,950,618,644,999,654,630,914,797,476,414,654,859,741,437,502,525,632,824,764,780,624,405,412,474,623,565,500,554,548,601,637,579,539,614,752,852,835,736,792,852,933,991,919,1164,1142,1011,927,979,803,661,590,631,711,777,883,1060,828,700,694,842,638,421,292,623,907,627,444,416,590,703,653,678,905,599,1009,1410,1430,1126,1007,1058,890,476,905,1886,1104,858,978,932,914,676,481,395,476,446,361,514,935,1136,1484,747,342,317,278,303,383,383,396,711,750,515,485,702,750,558,402,311,278,281,416,516,498,430,351,289,331,317,260,319,348,326,242,236,303,443,455,385,376,354,324,342,391,410,263,218,255,658,680,446,339,366,357,443,813,1038,821,361,421,596,956,755,508,426,461,628,1202,1516,1356,1670,1824,1726,1794,1016,605,721,521,1140,1678,1410,1284,1368,1376,1414,1102,1286,1350,1268,1144,1340,1432,1394,1446,1556,1394,1404,1450,1430,1640,1678,1556,1882,1790,1284,1074,1570,1854,1632,1548,1446,1348,1484,1488,1452,1354,1354,1448,1550,1836,1924,1898,1778,1484,1406,1486,1428,1310,1300,1320,1444,1530,1462,1422,1486,1590,1592,1476,1742,1890,1674,1234,890,850,905,835,872,672,952,1334,1294,1122,1140,1056,777,672,540,442,417,461],[947,466,458,678,1046,1134,1408,1584,1406,1348,1272,980,925,830,619,465,371,386,857,1814,915,711,810,1054,1164,995,1064,1090,1284,1658,1710,1190,1304,1408,1254,990,615,490,718,1376,1598,1292,1142,1296,696,346,339,532,797,1090,987,667,548,684,963,1140,1086,1212,1366,1384,1340,1376,1394,1296,1100,915,1158,1092,894,847,1148,1700,1972,1752,1050,615,554,419,397,428,538,727,722,508,416,831,1650,1120,559,1132,996,787,998,1138,1068,1086,1510,1514,1278,1368,938,298,239,235,408,972,1068,710,513,513,489,874,1478,1384,1204,1290,1888,2024,1310,1001,726,652,776,835,984,1048,1228,1626,1670,1574,1454,1350,954,505,422,419,448,376,658,1174,915,489,634,934,1212,1202,1007,851,819,1086,1286,1722,1666,1072,761,695,1134,1030,930,1148,1128,1170,1264,1154,692,422,415,560,526,568,524,592,1084,1442,1302,1472,2044,1632,1350,1654,1454,1252,954,794,738,462,458,472,477,509,484,541,591,541,678,589,317,293,467,683,661,744,778,810,1074,1248,1668,1606,1172,1318,1476,1246,897,751,678,738,763,705,723,829,649,449,422,414,391,342,354,543,521,519,453,442,482,507,1076,1484,1616,1594,1244,1154,927,679,661,765,725,399,305,316,274,279,338,581,797,995,907,486,477,433,335,300,283,248,234,272,383,519,495,552,835,559,443,418,401,398,397,501,668,708,699,495,310,262,307,371,289,283,288,284,298,292,342,359,305,259,250,264,303,297,234,239,246,260,373,464,415,327,300,275,326,328,326,383,370,325,303,310,249,207,242,333,346,335,426,565,580,410,341,382,467,579,675,738,782,816,814,814,841,855,823,807,761,755,811,1046,1144,988,912,985,800,688,927,939,1100,1344,1350,1316,1352,1432,1178,1138,1406,1386,1320,1090,1086,1188,1248,1252,1230,1330,1382,1452,1460,1480,1444,1362,1634,1626,1432,1850,1892,1990,1864,1520,1322,1422,1360,1584,1994,1510,1030,1358,1322,1012,853,1144,1190,819,826,841,1084,1156,629,373,369,343,304,549,1528,1632,1830,1614,1340,1424,1424,1516,1296,667,484,455,417,378,350,392,361,356,358,382,384,387,448,454,425,375,375,460,456,447,913,1090,592,402,362,354,409,461,522,506,457,443,393,412,425,372,351,366,368,375,469,507,420,350,380,367,376,388,415,378,439,452,524,393,338,426,479,496,490,500,522,511,698,1132,662,480,502,626,1064,941,511,424,402,407,425,449,467,543,1006,961,663,740,849,912,1050,1058,694,597,665,1368,1464,1292,1216,1230,1408,1438,1372,1022,799,899,654,630,853,976,970,1390,1584,1710,1256,769,745,854,1218,1112,681,849,837,499,441,428,439,461,476,401,297,356,462,483,469,452,458,460,486,493,484,364,380,473,482,388,298,374,469,427,325,246,241,355,423,462,469,450,436,423,423,415,390,415,451,461,485,518,514,519,490,439,460,501,418,414,453,400,375,429,458,382,393,371,430,465,453,512,758,932,700,446,465,609,651,630,539,539,539,495,697,1002,1368,2056,1404,545,498,647,1036,1358,1462,844,529,1246,2432,2154,905,577,476,432,453,417,376,548,617,733,885,813,644,489,469,528,395,312,285,339,394,752,915,852,813,565,356,513,731,789,806,693,642,957,778,603,402,313,299,299,352,356,465,614,380,376,359,435,689,684,992,1384,1488,1416,1324,1570,1552,1170,1186,1378,1348,1332,2302,2522,1578,835,893,1003,920,1302,1334,545,645,825,752,547,459,580,789,672,584,746,1064,1146,931,925,886,866,808,573,383,902,1456,1226,1444,1694,1516,1484,1268,1282,859,711,728,572,657,882,1298,1264,897,1005,1346,1532,1554,1448,1358,1476,1382,1104,1001,1140,932,1108,1046,913,904,822,1052,1334,1112,1046,639,615,633,550,492,501,499,479,484,529,590,576,507,572,596,596,673,698,755,1028,1506,1616,1672,1528,1322,1230,1510,1490,1180,1214,1410,1450,1768,1662,1716,1740,1552,1410,2128,2568,1620,1504,1388,1538,1628,1366,1360,1386,1488,1488,1486,1488,1482,1608,1480,980,1064,1362,1202,1498,1326,936,982,985,1058,1250,1446,1532,1144,897,951,603,364,484,467,541,472,714,972,808,461,586,620,796,725,493,690,909,1170,926,596,791,1126,1472,1712,2066,2250,1792,1920,1970,1438,1494,1942,1414,596,354,456,679,727,573,614,508,839,1016,957,598,333,266,325,483,699,816,1130,1322,1002,832,1005,874,445,440,558,606,448,299,309,409,515,674,766,877,1140,987,857,1056,1010,727,696,926,944,706,763,936,749,880,628,725,545,385,691,1104,1094,1164,1396,1250,1668,1472,921,838,1306,1496,1550,1444,1009,537,458,556,827,1222,1262,1140,808,1034,1168,1128,1216,1322,1302,1250,1310,1406,1454,1242,1068,1124,1358,1224,1426,1428,1158,1260,1294,1230,1172,1208,1192,1184,1462,1280,1030,1306,1428,1592,1484,1306,1214,1320,1438,1144,1042,1140,1110,1194,858,623,691,691,902,920,843,1018,1056,820,721,817,752,743,923,1030,926,982,1292,1164,833,771,1030,989,979,1100,1170,1278,1472,952,843,904,943,1078,1044,1005,1023,932,742,779,655,734,883,745,917,1456,1252,1026,1344,1572,1816,1926,1590,1280,1170,1180,982,1086,1224,1266,1178,1340,1286,1096,907,689,941,1226,1152,1494,1976,1538,1440,1200,1138,1130,1152,1108,1340,1380,1118,1216,1282,1082,1244,1088,1098,1194,1306,1332,1392,1402,1402,1488,1404,1332,1388,1240,1234,1562,1570,1312,1466,1516,1292,1098,999,1034,1120,1372,1554,1316,1334,1266,1418,1422,1162,1114,1126,1324,1604,1468,1198,1094,951,835,916,977,1456,1878,1634,946,499,408,417,420,406,461,598,582,527,422,390,456,452,451,458,522,709,766,585,542,580,514,587,700,728,771,793,1142,1272,1184,1386,1612,1158,1158,1004,865,783,752,812,946,1168,1184,1126,1070,1048,1208,1218,988,800,538,936,1368,1428,1360,1206,1154,1202,1260,1328,1378,1316,1372,1406,1372,933,699,829,654,581,626,583,470,475,736,744,497,481,533,495,440,396,383,381,404,414,515,608,576,491,464,488,381,366,372,370,426,398,355,548,736,688,598,489,492,502,567,764,621,537,694,650,514,466,498,519,520,529,404,385,523,512,370,343,328,316,330,324,319,294,299,360,369,333,286,289,349,386,342,269,295,308,312,299,312,368,325,315,351,395,394,398,368,313,294,311,337,341,302,325,301,305,422,481,419,395,422,434,461,476,470,455,408,385,397,401,386,350,323,348,368,366,349,339,343,352,386,440,459,363,517,433,364,325,368,404,506,536,533,640,728,935,885,467,408,368,363,325,352,414,429,379,339,339,346,356,382,350,347,386,422,417,399,359,344,386,399,450,517,560,524,380,419,741,795,736,650,686,730,554,359,256,258,256,264,285,274,303,336,343,370,485,444,269,256,291,311,322,348,360,365,547,530,412,467,522,435,340,310,348,464,372,372,390,346,330,310,292,278,367,455,357,335,339,326,312,292,312,306,292,303,315,307,304,328,367,367,334,334,410,433,415,366,345,344,385,371,359,310,315,547,856,664,667,963,1438,1440,1368,1758,1454,1296,1588,1400,1556,1600,1560,1532,1400,650,364,272,292,353,772,782,457,471,846,1362,1414,1308,1548,1152,719,553,764,1046,628,460,736,902,961,847,574,490,416,350,336,410,495,687,808,1056,918,716,687,609,612,661,865,779,724,765,796,838,770,802,806,687,610,689,737,599,509,540,642,989,871,873,940,725,549,434,500,713,879,819,558,628,890,1038,756,534,407,332,328,614,844,507,517,750,891,1019,700,993,1328,926,993,1238,1160,1354,1378,1180,744,402,511,878,589,530,630,610,651,696,643,501,369,355,390,501,1172,1524,1528,728,310,257,224,268,324,374,385,347,329,333,391,550,634,643,576,431,309,307,401,551,617,484,447,584,495,365,283,269,290,332,345,339,468,601,564,476,397,380,388,353,324,233,249,274,273,453,612,616,612,648,347,389,502,576,433,346,321,418,794,873,526,389,463,911,1526,1356,1260,1412,1516,1554,1568,822,425,561,552,739,974,1218,1290,1260,1272,1150,806,1114,1260,1328,1268,1464,1710,1442,1336,1156,968,1200,1240,1120,1552,1612,1630,1516,1260,1232,1282,1458,1494,1224,1314,1730,1558,1428,1302,1348,1244,1440,1614,1656,1608,1680,1794,1504,1322,1416,1372,1218,1264,1384,1436,1580,1704,1532,1400,1456,1488,1582,1570,1520,1570,1544,1134,788,814,764,863,814,550,933,1412,1512,1244,1108,1208,818,662,694,659,511,469],[1676,672,574,860,1194,1348,1574,1734,1062,838,1170,1372,1118,1098,1160,859,662,573,636,836,622,873,1192,1352,1546,1440,1166,995,1416,1760,1294,1374,1732,1564,1360,1002,849,814,863,1300,1564,1522,1588,1604,650,366,320,339,529,670,490,324,416,609,972,1086,1094,1250,1394,1494,1300,1128,1268,1130,706,792,1026,853,677,1017,1866,2026,1846,1680,1154,681,520,464,379,387,615,924,937,642,440,469,1132,868,739,1178,1238,877,831,1098,1200,1604,1906,1318,921,899,484,265,252,239,412,772,625,458,440,418,406,800,1476,1666,1394,1544,1898,1692,1072,769,524,445,720,1408,1836,1704,1898,1974,1376,1576,1070,1023,718,431,425,369,359,373,750,1013,788,440,680,1276,1276,1136,1260,1110,1002,1032,913,860,997,872,589,772,1484,1562,1034,1023,1520,1446,1216,862,504,425,509,807,778,948,887,863,814,1486,1742,1622,2054,2026,1724,1284,1152,1238,731,697,816,707,496,415,469,477,520,716,562,354,422,420,318,289,464,735,1028,1266,1070,1346,2084,1874,1662,1400,1252,1784,1874,1238,805,607,946,1098,819,1015,1160,965,697,450,420,409,381,350,419,550,529,517,446,412,716,973,1178,1460,1360,917,959,1338,1280,1254,1050,762,860,689,372,361,404,307,466,933,1160,1320,1176,648,436,381,314,292,290,275,255,299,395,527,781,949,1146,673,436,424,404,381,412,559,611,594,466,345,347,307,336,378,305,289,305,306,313,350,403,406,343,291,278,275,303,309,262,257,257,237,316,420,463,454,362,319,414,417,350,339,294,321,451,452,302,260,338,568,558,409,434,520,504,440,503,528,590,694,738,766,820,852,824,820,846,866,925,992,1112,1100,1124,1218,1188,863,827,1052,1188,1190,1484,1632,1620,1518,1542,1440,1350,1514,1466,1558,1698,1444,1454,1168,1206,1228,1532,1320,1100,1212,1078,1068,1236,1336,1290,1132,1340,1532,1386,1578,1932,1592,1584,1792,1892,1966,2002,2010,1784,1234,872,938,875,1024,1026,1248,1208,1016,960,963,1108,1064,768,765,712,726,451,594,1550,2088,2166,2076,1958,2128,2248,2240,1792,797,473,451,385,374,481,527,463,417,386,420,483,588,613,554,483,427,440,478,462,419,890,1002,547,379,350,365,399,493,568,505,423,386,415,389,384,391,389,450,458,384,362,427,436,353,361,395,494,505,485,505,475,553,605,426,541,619,558,560,463,443,497,504,912,965,571,453,480,514,515,444,468,453,451,454,472,482,490,458,409,409,547,695,920,1036,952,1158,852,555,529,830,1104,1282,1294,1332,1412,1330,1276,917,1114,1528,1252,792,620,722,663,872,983,993,1102,1128,1160,1152,1332,1288,1036,1088,673,468,465,438,380,377,459,484,450,455,496,488,483,478,459,439,466,483,521,505,497,509,473,414,341,394,481,378,274,256,260,335,438,478,461,447,438,416,417,414,336,322,431,455,480,505,529,527,487,403,432,461,298,348,465,462,438,401,332,299,324,350,405,447,456,550,789,791,656,439,488,425,368,330,406,640,778,736,728,933,924,811,490,542,963,1880,2038,1376,805,447,390,826,1708,1672,802,570,553,471,501,453,376,518,624,716,805,952,918,803,580,506,395,347,360,381,387,468,746,775,424,393,419,433,381,353,415,443,365,732,751,491,440,432,359,368,369,371,371,339,312,345,361,726,979,998,1100,1330,1226,1186,1290,1190,1196,1040,1238,1272,1458,1498,1144,1504,1234,855,1300,1296,826,833,772,558,752,1056,1034,697,527,770,974,849,499,450,858,916,845,882,937,867,774,527,569,1208,1506,1386,1576,1572,1396,1190,1340,1626,1214,1262,1324,1058,678,684,1038,1378,1416,1338,1536,1526,1430,1404,1420,1564,1500,1206,1204,1200,1018,917,1038,1466,1770,1326,1284,1198,816,753,580,558,637,583,518,555,575,539,511,548,614,531,517,544,566,627,642,717,749,1366,1880,1896,1878,1798,1542,1202,1642,1700,1582,1558,1472,1456,1620,1416,1338,1582,1734,1724,1736,1676,1304,1312,1440,1554,1576,1400,1300,1368,1464,1434,1374,1686,1824,1622,1520,1294,1328,1226,1148,1456,1628,1552,1372,1128,952,1168,1350,1162,1306,1128,1028,663,378,384,401,435,413,579,935,903,701,934,909,1122,1296,850,536,526,727,693,845,1400,1452,1516,1678,1548,1572,1762,1852,1900,1580,1904,2128,1218,357,373,482,693,590,513,424,718,1184,1202,979,862,615,383,390,475,772,987,1366,1514,1302,833,569,490,438,343,634,1003,922,818,913,956,957,841,690,697,789,858,957,1058,980,857,1003,1176,1256,988,1006,1016,1062,1384,830,332,297,342,506,912,1542,2076,1996,1104,1013,974,1168,1318,1448,1404,1410,1322,893,711,622,568,965,1416,1252,1146,1144,1300,1198,1122,1124,1272,1290,1250,1194,1302,1534,1350,1118,998,1260,1470,1526,1406,1436,1210,968,1026,1230,1594,1240,1072,1168,1108,1124,1292,1510,1590,1178,1118,1264,1500,1376,1224,1098,1130,1216,1410,940,814,818,689,858,1032,1046,1016,1086,926,971,1092,1164,1098,965,853,807,845,854,708,435,550,1108,1238,1144,1116,1282,1034,1226,919,1007,1082,1044,1206,1044,738,606,591,682,916,609,632,956,846,822,1098,794,730,1350,1546,1414,1342,1622,1692,1542,1442,1164,1322,1484,1370,1316,1416,1316,1234,922,648,1038,1344,1098,1194,1358,1324,1212,1090,1178,1216,1180,1460,1436,1216,1312,1122,1206,1194,1102,1126,1146,1308,1592,1566,1332,1276,1462,1482,1484,1442,1418,1368,1260,1320,1548,1456,1266,1214,1204,1122,811,984,1308,1440,1308,1708,1714,1200,1148,1246,1416,1348,1005,976,956,839,856,909,879,898,1036,959,1316,1744,1208,535,404,411,467,542,590,689,632,498,386,360,418,440,437,454,458,597,654,608,551,543,514,468,515,521,531,670,1076,1240,1130,1434,2212,2246,1015,648,653,733,724,676,725,999,998,843,775,666,677,1100,1310,1218,717,466,769,919,979,1224,1306,1402,1466,1488,1480,1538,1502,1562,1636,1512,910,760,815,626,639,718,709,513,450,580,598,517,567,570,525,486,479,463,441,447,479,490,480,446,405,481,739,565,365,318,289,343,389,358,534,778,711,670,558,472,435,457,586,681,552,440,473,484,491,518,542,553,561,444,387,395,409,419,395,338,329,331,319,334,294,312,390,480,513,380,298,386,529,431,279,290,286,288,364,619,570,474,515,429,347,338,332,348,338,333,338,345,328,318,393,382,339,365,437,440,445,426,401,419,466,507,483,423,413,379,365,364,344,350,360,361,363,344,347,363,343,356,433,450,328,338,372,373,366,382,390,412,427,392,466,557,708,564,453,421,326,258,292,342,407,439,346,331,342,355,345,382,375,368,419,442,432,427,397,357,403,418,419,487,560,537,432,386,435,424,466,568,687,606,420,339,264,253,276,261,249,262,276,309,321,311,375,368,291,289,296,290,314,352,433,420,422,412,452,555,593,520,375,375,309,301,366,505,564,457,334,285,285,287,418,499,336,333,337,333,313,289,291,282,285,321,333,328,334,313,369,404,362,359,365,345,377,385,357,343,357,427,433,344,308,376,680,821,741,615,480,824,1570,1866,1086,1302,1648,810,673,1050,1296,1262,1152,606,305,315,444,581,949,1392,1278,1054,1166,1440,1174,948,1318,1058,1084,1022,869,904,785,495,412,733,1534,1154,453,346,309,311,307,334,411,543,839,949,648,463,376,369,387,460,509,467,438,510,598,592,576,605,597,553,550,500,445,365,389,444,520,601,474,675,807,516,478,474,377,320,459,477,355,395,459,642,857,894,688,584,413,607,879,499,369,476,1140,1140,802,1154,1394,1070,1110,1238,987,846,982,1012,537,404,435,957,793,647,842,641,510,578,649,604,407,380,372,455,1054,1452,1322,577,233,289,322,324,332,373,381,290,334,419,400,455,622,658,513,390,335,382,479,621,623,464,466,546,492,430,323,368,430,409,434,422,403,451,718,821,600,436,437,398,407,339,304,316,329,350,376,404,540,589,421,380,404,317,327,334,314,452,1102,1550,836,559,438,621,1368,1408,1408,1454,1376,968,764,818,556,413,554,842,716,727,807,1158,1186,1104,1128,1206,1372,1470,1522,1630,1676,1446,1412,1132,983,1104,1318,1478,1424,1280,1394,1444,1294,1218,1208,1116,1112,1052,1150,1542,1406,1300,1292,1324,1324,1396,1604,1636,1632,1664,1440,1320,1472,1238,1274,1154,1190,1454,1310,1274,1444,1382,1352,1426,1492,1544,1496,1580,1506,1256,1030,786,875,954,921,793,631,905,1336,1482,1340,1164,1226,1064,824,775,749,549,466],[1288,816,975,1144,1034,1148,1710,1396,507,472,888,1078,840,1640,1440,946,868,708,710,1023,1030,1052,1370,1742,1812,1714,1468,1244,1158,1238,918,1028,1290,1318,1028,699,614,742,1166,1264,1228,1005,835,778,571,397,312,302,306,301,328,360,441,479,695,781,558,905,1342,1306,913,817,1282,1526,1256,1256,1038,562,430,703,1608,1854,1512,1184,1132,956,611,484,448,523,611,709,905,670,477,389,586,596,538,670,832,748,594,770,1278,1324,1308,792,527,381,305,297,286,259,302,318,358,404,322,315,336,381,551,837,1352,1552,1602,1294,1070,1124,1050,1240,902,1276,1342,1730,2202,1860,1654,1484,1002,868,479,291,348,407,429,703,1350,968,606,445,952,1604,1308,1056,1104,1078,1030,968,1236,839,550,736,938,1250,1672,1606,1110,1224,1642,1620,1604,1208,741,572,759,984,976,996,1130,1272,1446,1830,1714,1478,1450,1742,1828,944,902,1196,756,648,664,805,651,647,695,520,491,699,647,559,507,506,493,490,533,917,1188,1288,1260,1522,1776,1390,1636,1114,1346,1440,1244,1096,723,424,1246,1490,907,854,792,720,620,492,433,390,365,345,396,466,488,507,415,466,1028,1434,1366,1176,882,697,1466,1764,1662,1844,1302,1224,1852,1192,431,521,389,247,297,286,673,1016,1036,592,327,306,282,304,321,269,274,235,331,516,900,1052,1082,702,420,409,405,404,542,529,450,464,367,383,335,307,329,352,330,313,311,330,349,357,378,391,344,314,304,302,306,325,287,257,255,239,295,456,559,285,288,377,362,402,355,326,505,960,1274,877,382,322,391,735,772,630,622,610,624,665,745,763,772,760,720,793,892,868,797,860,913,973,1108,1210,1226,1180,1206,1328,1386,1236,1588,1576,1428,1542,1428,1340,1492,1516,1636,1766,1568,1234,1260,1356,1252,1058,1362,1404,1506,1400,1330,972,618,691,904,1001,1054,1034,1074,1040,1194,1354,1220,916,757,881,1023,984,990,1180,1480,1422,1410,1368,1168,954,903,1066,1134,1124,1172,1262,1132,1040,1146,1284,1250,1226,1220,1456,966,813,1510,2092,1982,1918,2076,2084,2092,2102,1608,656,390,414,429,402,480,480,428,461,521,575,651,659,693,728,709,597,588,546,503,410,817,957,479,362,332,362,395,456,464,418,403,396,401,413,488,481,400,466,518,564,525,516,455,380,358,390,494,504,502,565,491,579,624,566,756,659,501,477,372,360,563,760,1008,739,433,426,460,486,476,439,461,412,451,512,530,547,499,498,483,432,597,868,970,1040,835,1116,1036,674,457,471,911,1338,1134,1226,1422,868,890,865,971,1060,1026,755,803,880,930,1278,1306,1084,1050,1021,1382,1466,1518,1348,1244,1072,530,410,486,471,406,406,453,485,511,526,518,502,500,490,497,507,502,473,469,504,514,504,483,456,411,425,481,438,375,337,320,360,434,469,476,462,444,423,429,454,374,322,413,449,459,516,532,529,490,379,393,400,302,356,438,448,455,442,370,331,318,330,394,438,467,483,601,737,688,480,414,412,375,319,412,576,675,636,469,511,387,321,466,847,1106,1554,1372,684,458,434,580,544,722,1138,1298,1108,1064,725,488,516,445,408,488,519,605,830,693,775,814,669,536,408,345,389,421,424,779,811,420,388,400,374,303,296,320,418,399,623,683,456,448,446,398,422,323,320,341,327,392,405,465,1058,1576,1388,1300,1396,1180,1144,1174,1186,1220,1126,1090,1060,1240,1288,1322,1438,1284,1094,999,1150,802,576,545,535,903,1226,1013,550,647,1001,991,930,738,612,980,889,825,837,849,881,792,499,804,1462,1566,1522,1540,1494,1532,1350,1456,1504,1460,1472,1614,1384,1058,917,828,982,1296,1748,1410,1376,1494,1532,1808,1838,1634,1444,1368,1262,1136,1108,1222,1654,2056,1558,1578,1244,808,752,675,630,666,587,583,596,545,503,493,503,618,634,571,604,667,644,669,841,1110,1564,1654,1490,1750,2158,1538,1336,1676,1312,1272,1614,1532,1366,1328,1128,1198,1476,1710,1594,1478,1258,1128,1292,1620,1628,1538,1390,1218,1068,1032,1180,1512,1912,1802,1440,1498,1542,1616,1440,1306,1426,1480,1588,1534,1010,912,1078,971,660,1006,1004,980,746,499,404,346,345,420,511,585,610,880,1300,1302,1490,1338,1034,792,560,915,1266,1372,1540,1332,1182,1538,1382,1498,1678,1770,1760,1704,1842,1622,818,428,518,706,915,824,608,516,563,477,530,743,754,552,576,639,697,706,706,634,789,897,731,803,898,893,938,1162,1292,1078,866,1064,1046,1050,1032,1126,1126,999,1282,1402,1116,1110,1130,1074,990,1316,1270,1080,1015,1011,1072,685,328,319,389,443,871,1944,1562,1056,577,520,517,492,982,1428,1434,1314,919,727,1112,1019,1044,1066,1232,1224,1294,1304,1192,1030,864,972,1198,1302,1354,938,792,1260,1492,1430,902,1096,1500,1378,1424,1502,1015,666,1062,1512,1996,1312,1064,1202,1146,1192,1282,1494,1452,1122,907,854,1092,1302,1490,1364,971,922,1116,951,719,522,501,748,1108,1500,1478,1294,1090,1092,1108,966,1056,1172,1516,1570,922,489,431,356,598,1162,1290,1186,1190,1126,1180,1542,1430,1222,1016,1076,1094,700,464,421,453,441,482,402,427,641,612,675,757,572,1036,1578,1448,1440,1648,1648,1740,1748,1566,1410,1572,1702,1620,1816,1448,1268,1256,1078,989,1056,1350,1352,1360,1390,1352,1350,1394,1356,1228,1164,1332,1232,1196,1278,1108,1170,1156,1026,1064,1156,1268,1586,1498,1272,1194,1374,1474,1396,1378,1448,1282,1260,1470,1556,1382,1210,1356,1458,1138,1102,1162,1290,1234,1023,1576,1628,1406,1466,1532,1556,1376,918,740,829,838,934,1052,1019,931,997,946,1258,1692,1086,534,437,417,477,526,549,525,517,438,346,364,401,388,415,458,553,533,616,577,513,462,472,478,461,474,581,954,1204,1023,1388,2270,2430,1392,695,565,713,844,910,910,990,1226,954,916,964,664,519,906,859,680,778,641,680,973,1176,1548,1538,1516,1462,1524,1524,1558,1532,1572,1626,1526,976,735,783,558,589,631,636,481,414,452,493,578,565,534,555,520,477,461,455,471,496,479,444,376,374,361,659,606,338,306,292,313,328,379,672,838,732,680,481,364,351,394,476,684,764,524,500,485,592,590,579,546,493,430,392,323,352,419,389,314,311,321,329,323,328,329,404,504,609,496,345,371,435,353,293,316,328,324,368,460,421,534,786,669,350,295,271,325,331,314,301,305,331,321,295,323,339,303,301,368,424,378,344,379,466,491,448,399,420,432,395,354,324,326,336,339,349,334,346,349,351,320,315,356,332,305,297,304,318,330,349,350,373,377,408,433,527,546,453,408,390,312,310,300,301,321,293,312,350,376,346,371,393,369,409,472,433,373,364,375,382,405,410,407,412,459,459,378,333,325,323,387,426,361,310,316,338,316,316,342,394,436,416,403,368,355,339,349,351,304,268,267,332,403,455,416,410,454,456,526,504,405,375,414,324,337,458,798,833,490,328,280,283,304,414,381,293,282,303,300,291,284,283,282,285,303,312,353,417,357,372,413,439,462,378,364,433,425,371,359,419,543,467,386,337,307,394,918,1076,847,876,1056,1526,1612,1034,1290,1404,1080,794,1028,1268,1134,870,594,342,392,583,635,1400,2132,1902,1484,878,852,697,750,908,819,944,963,755,680,825,859,706,944,1216,488,273,343,350,338,326,441,526,501,623,490,399,368,391,401,397,420,432,428,420,430,434,465,461,471,471,491,484,413,470,491,419,431,616,717,601,458,509,514,536,555,495,483,441,379,317,443,485,373,375,464,742,833,876,810,454,287,357,567,904,998,1200,1422,1600,1402,1282,1104,1214,1007,828,797,592,425,684,1332,1158,785,901,528,459,657,1402,1526,589,330,375,396,847,1324,1032,454,277,348,380,401,389,434,405,296,239,400,411,282,480,560,417,347,344,458,454,529,441,502,654,517,487,512,371,307,307,377,431,473,447,440,584,661,672,549,406,425,462,430,373,309,322,358,387,462,429,418,372,475,412,291,314,348,384,496,962,1300,1088,941,749,1130,1762,1758,1522,1376,1302,781,640,879,749,612,706,809,706,544,560,982,963,1030,1224,1344,1570,1520,1504,1730,1572,1556,1472,1168,980,1092,1390,1446,1144,706,776,1156,1580,1488,1406,1108,1062,1012,998,1176,1518,1614,1368,1400,1292,1428,1614,1648,1822,1606,1360,1828,1698,1290,1338,1082,974,1308,1240,1320,1428,1350,1294,1332,1296,1264,1310,1368,1250,1276,1114,838,916,1028,877,698,588,951,1230,1296,1276,1204,1232,1272,1130,902,701,515,433],[974,1732,1816,1142,736,669,747,615,523,428,498,685,820,1262,1058,821,566,438,475,595,832,997,1240,1432,1418,1300,1490,1496,1830,1984,1350,909,1170,1522,994,586,516,614,1005,1132,1484,1770,1384,1028,1174,1072,766,553,451,506,516,365,337,500,576,511,593,929,1188,1046,985,994,956,1112,1038,1064,780,426,602,935,1350,1384,1138,949,1072,1208,866,563,572,492,474,520,561,780,930,788,526,482,453,372,431,491,418,561,1116,1128,1250,718,345,252,274,266,237,253,265,285,294,297,261,246,270,275,372,546,1292,1542,1460,1236,1242,1194,1498,2014,1422,1232,1102,1272,1382,1334,1556,1294,1114,702,395,343,352,415,488,1312,2136,1844,966,362,1062,1598,1180,996,1078,1082,1046,836,1004,807,664,943,1758,2008,1302,1002,1076,1258,1544,1492,1476,1132,1094,872,1022,995,955,1140,1266,1448,1854,2088,1572,1360,1168,1372,1454,990,900,877,680,493,582,1019,1668,1814,1034,517,447,888,1238,1162,791,636,849,953,686,961,1156,1248,1400,1294,1162,1144,1430,1140,1234,1138,1070,857,542,519,1232,1576,964,696,536,578,464,448,416,365,334,335,401,435,423,483,572,791,1072,1758,1710,900,675,612,1588,2070,1646,1148,664,1226,2046,1350,799,687,341,231,282,282,389,692,973,659,257,282,253,307,337,344,544,462,425,519,765,834,840,738,499,371,403,493,557,455,445,367,341,341,301,307,331,336,337,362,392,378,344,325,314,361,356,322,302,293,297,313,288,246,254,228,250,439,615,401,379,455,476,569,618,714,933,1284,1440,936,521,434,464,708,843,783,695,666,565,532,735,852,810,727,648,729,889,922,1038,1308,1218,1030,1034,1222,1386,1520,1748,1686,1456,1046,1066,1130,1210,1520,1602,1576,1526,1384,1544,1920,1246,926,1180,1320,1296,1196,1124,888,802,722,750,999,866,884,1164,1444,1278,1120,1090,874,978,1334,1306,943,990,1188,1190,1172,1082,908,1228,1238,1100,1150,1174,1184,1252,1110,1088,1152,1180,1142,991,1166,1276,1028,924,1122,1306,1306,1078,1200,1644,1720,1522,1626,1942,1812,1686,1752,1350,779,564,543,639,724,838,965,991,1010,1068,1132,1268,1222,1030,1036,1224,1318,1238,1084,1058,971,1208,1418,639,325,336,349,372,381,376,384,387,378,371,432,577,540,415,426,460,608,594,537,450,389,432,426,454,480,439,415,477,683,538,428,400,415,423,406,340,431,670,1042,1092,615,438,442,414,419,440,472,484,359,376,526,649,549,419,433,426,373,529,777,847,837,695,954,1124,822,499,413,524,627,750,1242,1458,877,763,1152,1382,1198,771,674,947,1064,1374,1488,1356,1260,1224,1112,1360,1632,1544,1310,1364,908,423,425,500,490,486,487,480,481,498,500,492,504,499,484,501,489,430,449,482,495,499,482,460,448,451,473,483,460,430,403,406,411,437,459,498,474,461,451,459,411,336,342,409,441,435,493,531,529,498,374,346,362,413,457,416,386,438,414,383,383,327,328,395,439,534,498,416,393,376,338,354,391,385,349,421,546,608,562,480,373,341,372,628,1208,1506,1796,1750,1118,731,658,492,405,376,1004,1238,1408,1716,1062,468,542,529,419,422,400,519,612,597,638,696,842,839,678,493,447,408,422,670,497,368,399,466,412,353,357,424,547,618,720,660,465,386,405,366,349,339,344,345,357,389,426,681,1322,1644,1516,1248,1210,1132,1260,1382,1656,1388,1258,1240,1052,1148,1446,1398,1334,1548,1424,1266,939,677,588,571,825,1210,1216,828,464,586,867,930,1116,920,851,958,790,731,880,908,854,719,646,1072,1544,1442,1472,1456,1362,1178,1170,1180,1376,1698,1594,1290,1144,1072,943,792,750,1280,1962,1432,1118,1324,1804,1866,1628,1586,1502,1294,987,991,999,1088,1256,1498,1526,1798,1320,828,775,666,736,903,711,778,752,617,561,534,536,612,769,787,684,572,586,833,1196,1400,1588,1504,1522,1772,1780,1378,1444,1590,1346,1272,1574,1620,1340,1014,1102,1278,1310,1480,1570,1628,1584,1440,1366,1488,1676,1788,1526,1436,1450,1110,961,1170,1372,1310,1326,1616,1728,1686,1452,1296,1440,1758,1736,1606,1622,1250,1080,1112,1098,921,802,915,789,462,537,433,515,789,846,576,837,1168,1296,1632,1582,1318,1330,955,979,1218,1562,1654,1428,1102,1346,1612,1250,1324,1580,1614,1656,1814,1788,1238,530,552,795,849,974,1180,825,693,943,856,638,774,563,407,372,993,1310,1290,1434,1104,1026,1026,977,1216,1294,1052,937,1023,999,1112,1188,1228,1460,1532,1248,1340,1408,1242,1338,1106,788,763,749,1036,1222,1284,1356,1116,1098,904,416,301,427,447,465,480,600,1284,852,500,597,654,440,390,556,815,1160,1446,912,766,1034,738,959,1184,1208,1198,1216,1300,1376,1096,781,855,1198,1360,1460,1316,1116,1256,1296,1326,1296,1282,1296,1064,924,789,491,558,933,1118,1294,1148,1024,1162,1206,1170,1108,1352,1248,1102,802,1038,1282,1212,1266,1396,1472,1356,1288,1140,633,451,587,908,1007,1176,1286,1090,1134,1172,1018,1054,1230,1256,1476,1412,870,472,524,697,843,1042,1304,1208,1070,1034,1288,1510,1272,1188,968,1050,1166,924,602,400,381,384,375,339,437,624,648,697,772,1272,1594,1544,1432,1606,1484,1376,1606,1788,1730,1660,1808,1834,1570,1618,1280,1208,1156,1118,1232,1490,1696,1500,1530,1556,1604,1588,1572,1422,1178,988,973,993,1030,1182,1294,1346,1476,1352,1186,1294,1318,1344,1138,1164,1500,1572,1440,1288,1238,1262,1294,1312,1260,1266,1182,1274,1538,1740,1322,1072,1194,1472,1334,1552,1658,1114,1082,1196,1014,844,1030,893,874,1028,1056,1022,1062,1048,969,1040,1160,1410,1748,1226,586,432,471,499,455,413,383,402,419,399,382,390,386,458,539,522,603,677,607,545,513,499,478,480,584,850,1230,1062,1390,2382,2468,1312,666,553,502,625,760,859,1160,1364,1494,1230,1122,929,727,761,893,977,1208,1222,747,660,978,1174,1522,1520,1572,1500,1474,1418,1378,1356,1284,1212,1018,715,752,724,581,509,494,576,474,389,577,684,632,643,650,635,579,514,493,457,442,455,426,378,374,393,366,553,576,318,302,291,301,336,406,503,657,659,554,400,358,366,390,430,567,732,634,644,574,638,610,565,543,498,453,389,343,356,413,422,340,318,325,315,372,441,489,563,564,609,667,575,327,292,282,292,337,330,357,369,351,420,461,668,710,389,275,251,268,275,269,296,327,381,469,463,405,380,322,319,299,287,337,396,422,505,521,547,556,535,509,473,423,365,396,424,418,451,375,358,339,345,327,340,356,330,325,322,309,284,273,322,350,345,355,357,378,407,419,399,444,453,344,310,289,292,318,316,312,362,393,342,353,402,448,447,449,382,346,350,325,337,368,367,342,328,371,396,314,301,287,269,269,263,265,276,295,320,350,394,431,476,492,510,520,408,416,370,334,354,306,316,346,315,369,438,404,441,462,456,467,407,348,303,330,343,418,644,846,662,378,307,275,263,279,325,274,261,252,274,291,281,276,284,289,289,297,289,339,439,430,430,456,520,517,489,448,461,459,446,473,487,529,469,419,370,349,351,852,1072,638,1004,1678,1416,1198,1148,1174,1148,1244,1042,1056,1322,1272,1154,1040,600,493,604,715,1670,1544,1206,858,577,490,415,464,503,658,815,957,1038,1578,1566,867,701,737,747,509,361,348,406,478,453,504,524,395,385,353,368,381,398,376,357,381,384,351,344,348,355,363,327,335,328,332,332,312,399,500,435,417,498,571,520,389,342,464,604,908,713,421,405,404,414,379,368,339,266,296,320,631,1066,888,536,505,650,814,780,829,1220,1474,1606,1366,1202,868,1246,1848,1514,1208,1005,842,1306,1500,976,537,521,485,455,582,1302,1356,613,299,330,347,494,592,451,313,280,310,280,316,376,450,390,319,288,403,355,252,397,505,458,427,361,500,471,527,518,566,568,419,380,382,325,305,379,429,472,498,462,426,491,925,1166,587,349,391,416,404,338,343,381,390,437,420,438,434,379,366,335,318,344,377,473,614,559,985,1490,1510,1294,1178,1256,1500,1376,1200,1422,1252,1072,905,705,448,430,610,587,455,424,673,1034,1166,1060,1372,1408,1458,1506,1728,1432,1260,1042,1042,920,1023,1336,1232,862,572,523,1060,1560,1496,1542,1446,1406,1176,1112,1292,1392,1396,1312,1130,1184,1506,1522,1642,1690,1388,1678,2192,2014,1510,1366,1360,1228,1400,1340,1374,1440,1424,1298,1226,1148,1102,1330,1368,1218,1278,1262,1130,1015,968,952,792,616,637,821,1040,1044,1234,1478,1326,1334,1124,727,538,427],[1484,2314,1960,1290,872,623,561,519,541,488,874,1462,1512,1146,890,661,456,423,409,417,586,719,962,1414,1490,1340,1466,1822,2158,1730,1060,858,936,1210,1068,755,573,617,553,711,1456,2452,2110,1418,1600,1566,1380,1368,1010,852,970,1013,810,789,758,609,703,1100,1040,824,755,738,633,818,864,1214,905,440,621,1146,1584,1356,988,1226,1674,1454,1428,1014,647,450,492,426,413,789,1338,1368,836,357,284,349,454,394,497,650,697,853,669,361,274,244,277,272,245,244,244,265,287,322,299,284,241,250,314,397,532,673,797,648,717,597,868,1228,1392,1266,746,577,918,1448,1400,857,821,658,629,422,343,557,733,1266,1604,1806,1328,557,656,998,965,839,687,969,963,846,865,576,530,921,1588,1876,1572,1096,1216,1562,1608,1612,1050,587,664,982,1158,906,641,714,1120,1526,1480,1468,1288,1450,1102,1178,1146,919,1056,939,605,571,829,1376,1970,1830,849,463,463,809,1384,1354,863,490,935,1088,544,756,1118,1232,1322,1444,1504,1278,1106,956,881,939,972,813,738,691,855,1302,877,615,522,551,423,401,384,339,316,353,458,497,439,442,548,675,824,2230,2312,1054,623,651,1080,1242,926,964,897,913,1290,1015,720,602,613,512,319,339,692,1416,1656,1064,391,413,463,577,803,741,814,634,468,534,598,531,503,673,711,432,490,497,439,412,415,358,356,323,316,339,331,325,338,320,340,300,299,316,298,356,359,301,277,280,290,316,334,262,242,228,232,409,607,553,736,935,1020,1176,1236,1104,1028,914,798,777,825,615,433,812,1086,788,709,745,738,819,717,918,913,918,1076,1256,1434,1126,1098,1286,1194,1144,1238,1418,1556,1364,1448,1474,1328,1046,1176,1340,1380,1436,1354,1216,1102,896,1234,1310,848,974,1112,875,666,654,970,1202,1168,896,906,1200,1162,1017,1206,1510,1282,1176,850,673,887,1118,1278,1146,1042,971,1322,1534,1410,1078,1174,981,963,979,919,1030,811,775,930,974,931,965,974,1036,1034,1036,1190,1190,1166,1400,1512,1288,1250,1310,1538,1542,1438,1458,1494,1422,1196,1074,1128,1264,1338,1262,1110,1072,1110,1126,1290,1268,1162,952,759,990,1364,1404,1248,1324,1296,1268,1478,1582,1084,832,587,467,471,434,375,353,329,344,368,351,411,370,382,379,390,489,500,510,488,433,436,437,480,491,475,467,462,693,535,394,356,323,305,294,349,547,930,1332,1180,896,478,526,630,481,513,690,565,394,391,656,896,768,573,451,559,450,427,515,737,739,600,799,1104,969,565,615,911,903,1066,1254,1426,1072,622,774,822,660,641,781,1046,1160,1410,1220,1084,1078,1098,1216,1242,1242,1174,1286,1328,760,526,476,513,494,431,439,453,489,513,489,477,494,500,501,494,471,422,452,498,507,473,453,438,442,455,451,453,469,489,445,426,403,394,361,403,410,429,450,459,344,252,357,424,442,441,469,523,543,500,389,393,499,583,579,463,431,434,375,437,416,344,311,435,428,498,469,358,402,423,393,371,327,332,300,355,475,551,636,722,786,730,410,652,1190,1222,1134,1116,781,659,670,791,648,401,804,1100,1322,1528,1028,521,433,383,497,544,581,775,869,936,1009,1000,888,749,798,833,688,532,529,727,589,567,588,616,565,510,516,575,665,700,793,692,560,415,353,319,335,375,392,409,398,400,495,975,1304,1500,1432,1176,945,968,1206,1528,1512,1148,1194,1364,1352,1528,1798,1436,1260,1480,1636,1660,1492,1182,811,637,952,1238,1166,849,681,597,607,828,1007,897,841,875,792,849,924,854,858,716,802,1288,1648,1452,1298,1394,1316,1252,1438,1490,1536,1686,1552,1346,1326,1094,727,706,1318,1666,1430,1274,1512,1850,1856,1762,1816,1502,1268,1144,1020,904,1142,1158,1058,2050,2632,2156,1382,897,690,627,807,1072,1206,1268,1144,857,650,593,692,710,745,755,646,539,628,969,1406,1560,1530,1596,1734,1792,1632,1640,1662,1542,1426,1478,1498,1398,1330,1658,1838,1534,1312,1316,1482,1598,1596,1432,1498,1782,1660,1528,1546,1388,1604,1356,1124,1198,1102,1100,1464,1904,1842,1340,1232,1224,1356,2034,1960,1562,1638,1688,1444,1280,1140,879,821,1056,883,643,1080,734,705,1072,1318,896,767,735,1008,1354,1100,1130,1126,1086,1378,1488,1330,1152,1148,839,1090,1370,1096,1282,1488,1406,1248,1460,1222,702,436,650,862,844,1216,1458,1064,1076,1172,1124,868,727,401,341,586,1802,1748,1510,1592,1166,960,758,603,1013,1282,879,921,1434,1406,1632,1638,1184,1292,1300,1018,1254,1158,1156,814,517,538,595,540,1278,1614,1538,1538,1316,1168,880,571,596,807,890,767,860,852,725,440,486,901,1020,576,480,451,444,526,896,776,568,647,779,1052,1238,1192,1100,1198,1368,1360,1190,1282,1284,1376,1280,1410,1352,1254,1234,1264,1368,1268,933,1164,1070,666,465,355,455,625,911,1290,1334,1550,1826,1388,1072,1005,1154,1168,1206,1110,1090,997,1332,1368,1256,1412,1354,1494,1434,1340,1040,874,927,843,648,624,1001,1268,1154,1208,1282,1268,1176,1316,1144,777,963,957,689,669,869,1356,1262,1108,1428,1476,1242,1136,1092,1080,1062,960,838,701,648,635,516,434,442,716,1244,1438,910,915,1176,1208,1390,1562,1442,1178,1232,1420,1540,1786,1848,1846,1750,1584,1302,1174,1194,1100,1130,1524,2244,2388,1780,1604,1712,1672,1550,1554,1442,1112,930,1038,1240,1128,1154,1328,1194,1288,1388,1490,1650,1402,1186,1118,1106,1284,1436,1428,1332,1336,1382,1672,1498,1096,1092,1168,1282,1334,1266,1180,1208,1428,1584,1470,1356,1050,962,1010,1406,1156,844,1102,1030,869,976,1048,1046,1138,1130,1154,1272,1368,1470,1742,1292,658,447,442,438,387,361,393,374,398,464,443,390,420,534,610,513,741,925,742,552,545,532,494,600,810,1294,1182,1182,2192,2348,1258,763,744,688,649,674,703,799,1168,1190,1140,993,812,648,859,914,910,1066,1168,963,691,621,891,1124,1280,1174,1124,1058,966,870,755,649,643,653,792,1100,1114,700,516,437,422,393,361,397,527,548,580,684,752,607,568,523,488,466,446,440,391,371,381,393,496,587,533,316,282,281,305,394,545,511,495,545,474,408,394,409,369,414,492,655,760,913,813,713,634,572,558,518,452,390,353,346,385,415,382,343,337,369,454,459,499,594,564,622,730,666,357,293,298,292,320,303,322,341,337,411,495,460,416,351,255,243,233,220,238,237,307,409,557,628,595,494,400,403,375,404,460,510,514,542,547,561,582,577,561,557,516,457,552,551,528,510,456,450,457,433,345,298,283,297,334,352,334,309,268,304,319,333,339,339,349,360,361,365,399,435,415,407,322,341,405,407,382,401,387,347,343,359,399,381,375,307,305,313,293,300,310,310,308,294,295,323,281,269,254,254,274,280,274,275,273,280,291,294,266,292,352,362,330,316,357,327,303,324,321,388,440,379,392,583,421,419,522,588,448,371,365,320,355,480,570,711,543,357,314,289,287,294,278,246,262,272,259,291,308,288,283,288,302,302,297,298,330,353,358,368,476,541,546,521,485,419,421,471,478,443,465,458,431,376,357,419,800,1028,576,886,1484,1364,1168,1206,1194,1252,1522,1398,1202,1218,991,918,958,822,740,1042,1244,1466,1200,869,521,441,433,473,769,834,551,785,949,1072,1360,1182,2104,2042,655,558,482,451,399,451,705,692,486,423,393,368,362,352,350,354,342,329,320,331,341,349,325,326,333,320,320,316,310,316,322,358,382,372,414,366,393,346,276,272,407,628,781,503,352,364,386,403,449,445,422,357,309,394,792,1138,696,251,444,650,648,799,916,1102,1168,1250,1262,1116,1080,1194,1176,1304,1302,1204,1082,1250,667,339,321,305,357,387,422,566,541,427,401,512,724,800,641,528,373,310,259,301,291,323,332,319,314,346,462,378,322,391,501,412,422,386,421,393,409,405,372,369,315,287,327,311,365,437,455,464,450,365,370,330,604,684,403,328,318,370,373,370,409,438,387,331,332,357,292,262,300,302,299,328,336,387,623,452,537,922,1506,1414,937,1396,1882,1680,1522,1638,1704,1406,1003,576,382,315,393,527,555,619,818,1208,1302,1190,1090,1196,1182,1122,1326,1346,971,963,1248,1010,980,1144,840,578,514,669,1334,1776,1470,1566,1744,1576,1482,1318,1100,1336,1526,1296,1172,1384,1420,1338,1418,1448,1468,1216,1262,1620,1470,1400,1316,1422,1422,1340,1424,1424,1550,1376,1290,1394,1290,1328,1366,1338,1280,1264,1286,1146,971,1090,886,691,719,904,1005,971,1040,1274,1246,1178,1216,937,694,518],[1656,1918,1694,1750,1610,902,560,507,622,606,767,1404,1804,1544,1512,626,431,414,417,477,666,654,797,1376,1564,1490,1314,1374,1312,1082,1056,844,979,1266,1604,1184,845,711,770,988,1840,2664,1552,988,1238,1524,1556,1496,1490,1184,1196,1682,1588,1112,766,480,630,1118,865,677,772,876,839,1007,990,900,597,374,433,753,1230,1192,1102,1592,1642,1274,1444,1110,575,397,419,666,1186,1394,1324,1236,1082,546,438,775,861,568,671,879,749,485,369,321,266,273,269,252,227,209,229,269,304,286,298,311,282,338,529,912,887,555,487,447,417,495,561,540,659,685,502,469,838,1346,1184,667,964,591,372,366,307,484,727,1144,1306,1654,1782,871,753,985,916,731,781,813,944,1210,1238,1208,1208,1322,2082,2132,1512,1372,1636,1704,1504,1268,735,419,377,505,891,1146,833,553,772,1282,1266,1478,1162,1234,767,745,1064,1222,1312,1048,683,700,926,1154,1346,825,368,335,365,794,1232,1108,783,691,993,995,1052,1066,1302,1384,1374,1926,1866,1432,1116,815,577,492,443,528,592,674,971,1086,897,634,636,675,574,412,368,349,357,379,477,519,457,400,432,558,600,1496,1930,1344,846,926,1054,770,584,1072,1200,937,851,797,834,774,812,673,466,432,735,1222,1344,1206,583,511,538,758,1550,1576,1214,823,521,522,487,449,459,725,1056,765,640,466,341,381,416,379,349,332,327,317,315,326,317,304,358,326,309,312,298,343,368,301,253,256,276,321,417,308,255,276,283,349,514,924,1278,1316,1218,1252,1122,888,1007,980,882,897,1016,877,976,1612,1476,869,1150,1834,1572,1218,798,965,1110,1144,1060,1114,1086,836,1038,1412,1620,1682,1538,1692,1544,1374,1604,1774,1570,1412,1334,1146,1056,976,909,874,813,778,1146,1178,809,821,929,883,948,1144,1506,1636,1244,946,882,928,871,931,1238,1532,1260,1134,1050,1015,1023,979,1146,1023,805,1484,2194,2114,1632,1376,1078,1026,1490,1440,1438,1710,1188,996,973,885,957,1068,922,891,968,819,716,924,1172,1410,1402,1094,1186,1128,1202,973,1114,1024,880,815,876,1130,1284,1042,973,921,1030,1056,1110,1034,1336,1416,1272,1228,1214,1090,1058,1120,1340,1322,1378,1418,1308,1272,1352,1278,1204,1162,903,729,841,688,541,558,440,343,375,397,363,399,394,371,404,504,576,574,476,453,481,464,446,435,544,594,420,317,282,286,320,358,407,722,1350,1648,1498,1352,841,605,525,409,771,1162,931,741,599,779,1058,935,678,556,633,543,480,441,589,650,562,675,1058,1176,821,622,1114,1178,1102,1140,1060,960,778,487,463,527,689,918,1276,1310,1098,1200,1220,1214,1418,1196,627,539,612,860,1106,574,544,521,515,491,361,404,473,494,506,504,539,532,513,521,507,498,489,469,449,401,431,462,441,469,464,411,459,503,517,458,440,432,368,336,407,427,444,474,471,411,349,402,411,426,450,448,480,516,484,395,526,720,709,643,659,653,486,355,375,392,364,295,329,370,453,485,417,426,382,400,376,351,360,359,321,554,879,1062,963,837,808,725,916,991,816,674,893,815,617,430,423,433,303,578,1048,895,763,698,598,536,540,678,852,1114,1290,1382,1500,1506,1460,1196,868,697,927,1012,788,682,775,760,690,654,659,692,694,711,690,654,633,781,718,460,375,364,361,345,354,375,399,390,447,698,1228,1344,1410,1260,1098,888,941,1106,1172,1200,1194,1156,1302,1394,1506,1584,1278,1220,1306,1546,1712,1616,1544,1374,1170,1082,1112,849,616,886,942,859,905,868,787,841,937,861,837,858,777,552,607,1076,1434,1622,1404,1268,1428,1538,1744,1938,1732,1416,1322,1284,1294,1260,1082,827,1146,1930,1736,1416,1466,1790,1984,1736,1734,1772,1286,1098,1238,1244,1140,1348,1424,1516,2566,3288,2762,1932,1100,926,930,1180,1126,1184,1390,1500,1242,731,704,700,676,703,713,691,587,726,1306,1560,1334,1410,1612,1740,1794,1732,1752,1554,1252,1500,1452,1382,1452,1284,1444,1760,1682,1368,1274,1488,1636,1504,1260,1562,2424,2048,1590,1614,1500,1386,1346,1384,1348,1194,1122,1242,1422,1202,792,848,954,993,1432,1218,1224,1430,1576,1700,1574,1148,717,833,1098,955,672,912,951,913,1054,1116,1136,1011,579,536,946,1044,895,1023,1272,1382,1144,755,1090,1238,776,1010,1278,971,1278,1472,1384,1080,1310,1038,601,462,689,879,791,1080,1002,890,1258,741,484,370,444,658,841,1146,1750,1546,1252,1296,1194,859,631,946,1320,1614,1350,1446,1522,1192,1362,1144,808,1030,658,661,1296,1306,838,422,335,504,622,588,1048,1302,1160,1003,1162,1196,875,583,761,1066,1082,1246,1588,1638,1010,409,469,836,1228,744,413,412,529,401,628,1170,954,893,1204,1206,1288,1274,1160,1206,1208,1234,1484,1604,1414,1294,1396,1354,1288,1266,1288,1448,1148,1270,1422,1268,1022,863,767,540,407,430,485,792,1086,1386,1656,1324,1138,1190,1180,1318,1516,1382,1110,1056,1316,1158,954,1196,1024,1028,1376,1558,1578,1688,1522,1252,823,861,1852,2088,1568,1264,1178,1122,1100,1266,1078,999,1508,1428,977,961,1374,1608,1406,1146,1316,1332,1007,963,1100,1148,1208,1300,1122,858,1040,936,562,608,693,746,1132,1478,1186,1194,1168,1132,1108,1144,1156,1144,1362,1408,1312,1644,1680,1892,1810,1622,1306,1156,1222,1260,1260,1770,1964,2038,1810,1712,1732,1664,1532,1498,1228,1013,988,1104,1184,1036,1096,1230,1152,1262,1484,1698,1724,1326,987,993,1108,1088,1166,1252,1204,1182,1496,1476,1316,1228,1156,1296,1404,1380,1232,1220,1346,1378,1270,878,850,885,1236,1354,1544,1222,780,1066,1260,1005,1028,1290,1364,1362,1148,1138,1146,1120,1170,1638,1410,727,485,433,422,406,393,354,372,425,433,513,473,529,643,611,513,698,1068,1094,729,564,506,528,691,1078,1324,1356,1458,1782,1298,926,813,653,673,811,833,759,873,904,886,1017,1108,1088,1144,1066,698,747,904,776,951,1070,811,777,777,750,708,630,538,482,516,525,564,625,636,807,960,933,751,548,445,444,436,425,450,469,517,623,597,675,620,547,538,510,502,480,424,372,366,372,483,613,510,454,332,293,308,348,528,630,471,521,748,720,529,478,477,430,366,398,650,884,880,666,644,647,599,609,528,430,352,329,343,362,412,447,387,393,490,484,370,368,442,455,511,709,667,395,318,300,281,272,295,287,306,321,348,328,325,331,326,276,250,263,256,264,283,292,325,455,550,494,434,421,424,445,496,518,486,453,453,446,457,518,572,550,573,570,529,527,530,544,544,551,531,529,506,391,292,295,305,318,343,376,366,321,317,348,345,331,347,317,324,369,358,352,367,378,455,428,380,412,431,422,381,336,309,332,323,322,315,321,311,289,274,289,289,279,283,288,284,283,269,264,263,270,280,290,273,276,309,300,282,252,271,289,303,318,300,296,283,262,258,260,283,328,398,450,413,413,590,392,357,441,401,346,350,336,347,482,575,510,503,374,302,295,295,293,328,314,269,278,280,286,293,313,312,296,291,297,294,298,311,335,336,336,358,404,428,483,522,525,444,393,481,507,437,437,426,410,384,346,394,706,1032,654,586,709,899,775,831,1052,1614,1892,1468,1232,1254,667,891,1036,998,830,976,937,1004,1098,850,801,871,932,788,1398,1150,622,756,586,625,816,1340,3508,3056,634,553,440,404,387,491,620,570,388,365,370,356,337,320,313,334,336,320,305,326,349,339,323,302,315,328,328,323,306,320,344,314,326,400,443,356,351,314,284,335,393,507,518,399,387,394,434,441,478,664,655,452,304,257,602,757,360,307,654,1068,814,772,872,849,696,988,1382,1212,1206,1262,1274,1490,1044,1274,1338,961,644,489,386,345,415,590,541,531,572,619,655,791,1128,897,473,550,428,296,279,313,327,375,447,362,321,292,351,390,415,411,328,330,404,369,335,306,312,326,313,358,330,303,328,295,291,339,410,405,361,293,279,284,287,319,432,394,287,319,309,292,336,366,332,315,393,381,282,493,478,318,321,342,355,528,530,363,401,495,702,785,745,1318,1638,1958,1504,1009,678,703,585,385,360,325,385,571,662,847,777,1216,1208,1194,1428,1392,1066,735,816,1108,1234,1382,1556,1196,936,1150,848,497,436,894,1422,1752,1770,1776,1890,1638,1680,1608,1208,1254,1448,1186,1122,1354,1472,1456,1256,1348,1556,1240,1228,1372,1360,1494,1310,1266,1140,1108,1406,1526,1530,1434,1414,1530,1498,1494,1484,1346,1332,1136,1150,1108,1020,919,693,720,933,1036,1080,1038,888,1026,1262,974,916,1078,993,688],[1250,1186,1576,1494,1246,721,514,561,830,1174,1196,1122,1438,1194,1118,527,469,474,413,457,619,686,678,869,1500,1764,1380,1364,1338,1410,1252,1064,1272,1440,1326,1104,978,811,1236,1628,1690,1498,878,544,759,1015,1196,1288,1360,1268,1394,1532,1222,1005,575,336,430,721,937,886,1064,856,576,666,791,745,597,393,426,739,880,1110,1434,1444,1178,876,1010,1124,852,389,516,1196,1490,1656,1438,1150,817,442,651,919,937,830,739,808,628,349,345,309,266,266,266,230,191,194,239,270,271,278,362,458,477,513,817,1202,1228,673,505,457,451,565,483,362,362,356,371,392,651,1196,838,1030,1512,734,364,299,328,377,492,613,708,1132,1326,856,762,1092,1252,1586,1466,1078,1112,1288,1512,1944,1960,1386,1412,1292,1034,1654,2232,1996,1344,913,672,566,511,591,855,1128,917,724,596,766,989,1218,1376,1048,591,886,1566,1940,1758,1302,710,901,1106,1156,1216,761,367,361,552,1014,1366,1288,931,797,1180,999,1262,1732,1874,1578,1160,1404,1314,878,803,803,493,500,494,380,400,503,506,575,745,942,974,936,757,424,322,333,400,429,476,498,467,439,441,533,646,799,1132,1222,959,1128,1202,772,530,691,933,957,1028,1034,865,857,1028,1150,968,885,805,641,761,953,635,487,537,767,1504,1664,1196,924,571,482,467,518,525,628,854,643,443,392,350,387,450,417,375,335,321,308,336,369,326,302,356,355,304,305,305,336,363,339,284,300,334,364,455,397,333,313,443,630,843,1316,1192,1242,1244,1450,1290,865,966,1044,988,1007,980,812,709,864,745,800,1078,1166,882,966,1124,746,644,991,1015,1056,1372,1606,1378,1262,1266,1214,1294,1438,1244,1222,1308,1326,1272,1048,855,825,1036,1019,984,873,993,1180,1426,1290,1026,1096,1188,1248,1080,1082,1484,1670,1346,1082,988,901,1040,1086,1314,1644,1340,1104,1278,1462,1248,1274,1170,1164,1188,2344,2830,2418,1840,1328,1142,1378,1498,1338,1836,2384,1198,767,1030,839,933,1134,1136,1124,890,811,995,1328,1230,1270,1416,1432,1318,1356,1300,1162,1062,954,992,785,691,1132,1264,1274,1342,1398,1580,1588,1500,1350,1358,1266,988,883,897,996,1152,1194,1426,1438,1502,1422,1354,1374,1108,989,1122,938,711,862,857,874,1222,1122,1007,1014,756,622,570,433,405,368,353,415,475,516,486,497,469,433,426,355,455,405,308,325,354,385,397,397,480,1019,1378,1124,1224,1274,1182,1082,1018,855,1056,1194,1392,1594,1492,943,826,788,672,610,623,718,702,594,581,594,522,563,954,1264,1066,612,875,1126,1208,1222,902,682,804,777,653,920,1102,1128,1300,1256,805,748,1162,1600,1534,1276,710,584,540,996,897,559,515,520,484,444,405,422,459,467,458,385,477,516,533,530,520,502,464,502,437,320,370,432,473,512,499,449,487,481,463,464,450,438,409,415,462,454,476,495,515,467,444,456,474,470,456,433,464,529,459,381,526,643,648,622,659,664,502,378,360,391,381,300,321,393,475,543,518,534,435,400,343,321,427,534,742,1108,1306,1500,1134,799,776,915,1250,864,523,589,775,918,777,428,277,307,277,394,750,532,360,410,506,594,728,912,1202,1470,1576,1606,1698,1678,1638,1466,1124,742,794,841,881,828,808,760,713,708,700,681,755,733,708,677,672,834,651,393,373,443,450,383,407,432,438,456,592,1132,1258,1184,1212,1034,844,1130,1504,1394,1242,1120,1126,1226,1406,1404,1678,1428,1136,1270,1290,1478,1538,1420,1406,1522,1474,1328,1064,601,374,595,855,886,761,724,737,937,1021,897,834,858,811,460,693,1264,1560,1418,1026,1214,1594,1630,1666,1924,1880,1528,1372,1308,1276,1084,898,994,1238,1398,1300,1312,1408,1610,1620,1588,1604,1216,1108,1550,1760,1598,1308,1180,1270,1816,2414,2192,1676,1992,1378,1094,1192,1314,1208,1070,1056,1558,1460,773,697,638,722,781,841,738,735,1204,1478,1242,1420,1702,1656,1714,1920,1588,1268,922,787,1170,1286,1224,1250,1206,1160,1346,1634,1658,1720,1794,2062,1716,1530,1578,2204,2124,1554,1666,1908,1646,1374,1078,1220,1410,1374,1286,1292,802,455,493,958,964,670,742,1082,1286,1754,1770,1546,1560,1244,798,774,863,655,658,993,1164,860,933,1348,1374,966,748,1238,1222,932,1130,1162,1144,795,652,1110,1072,937,1306,985,811,1098,1134,1116,913,1078,1066,688,680,1272,1376,703,781,543,692,1282,949,533,364,432,561,822,1009,930,1338,1494,1488,1456,1244,929,1292,1686,1936,1558,1160,758,661,868,615,473,561,433,433,724,913,675,619,1004,1090,764,907,1182,1330,1316,1110,1098,1102,1020,756,605,1062,1316,1692,1996,1862,1316,576,697,913,979,635,406,544,688,531,471,749,993,1206,1312,1180,1384,1176,1188,1332,1310,1362,1412,1420,1350,1362,1498,1468,1420,1498,1826,1644,1238,1338,1324,1004,869,874,915,819,453,360,323,447,589,890,1344,1670,1404,1282,1226,1342,1340,1140,1154,969,862,922,848,1160,1138,949,1220,1428,1248,1240,1490,1534,1490,1770,2432,2060,1550,1070,1104,1054,1068,1094,1122,1246,1354,1386,1236,1170,1324,1278,1056,880,752,915,1142,1314,1418,1396,1268,1406,1426,1222,1172,1040,1432,1250,980,895,969,1234,1322,1332,1294,1154,1148,1150,997,1034,1216,1472,1622,1814,1794,1656,1704,1722,1530,1340,1240,1246,1036,1338,1312,1484,1410,1412,1344,1328,1294,1152,835,737,1013,1162,1044,1078,1092,1170,1216,1338,1552,1716,1654,1302,966,1070,1306,1306,1332,1382,1138,876,1162,1338,1522,1626,1462,1478,1588,1452,1180,984,971,1076,1036,1236,1114,1010,1306,1366,1502,1432,1058,1160,1466,1552,1650,1570,1168,910,797,805,799,903,1078,1594,1576,805,515,437,375,393,413,372,356,383,368,437,460,531,568,497,614,565,874,1244,1086,717,531,628,942,1050,1104,1370,1758,2050,1448,969,771,625,534,716,708,714,797,812,1456,1810,1300,987,698,582,539,624,724,921,1200,1106,922,808,687,647,563,525,484,490,557,545,601,607,536,543,700,765,699,612,474,444,428,429,455,491,528,599,554,547,600,650,621,555,536,506,414,391,359,390,428,379,447,440,325,313,365,427,550,527,367,422,778,751,822,659,574,487,380,362,470,706,811,745,781,767,639,607,444,375,378,356,352,383,430,512,531,501,558,528,330,294,301,339,354,422,396,378,352,306,281,302,359,276,289,296,294,310,313,324,326,301,307,320,281,265,334,369,350,405,388,375,380,394,406,414,425,437,436,431,423,435,427,468,515,547,551,558,561,541,525,525,533,544,552,539,518,491,467,415,413,430,490,495,443,391,369,365,333,304,329,322,302,291,311,330,346,301,355,413,334,317,396,369,318,306,316,347,330,343,336,310,301,277,260,275,267,263,261,271,276,280,269,270,283,288,282,283,278,293,290,278,260,257,290,308,303,303,306,302,269,240,235,231,250,296,419,499,334,266,288,320,340,330,318,334,336,309,444,571,485,357,326,305,285,300,304,306,323,296,289,307,306,314,311,315,312,300,281,278,283,284,300,316,331,347,368,350,413,392,441,436,441,494,608,576,464,432,395,385,368,351,404,872,1572,1220,677,698,921,869,809,1064,1380,1584,1460,1504,1144,584,612,716,725,688,628,741,998,839,568,491,633,1144,1006,1298,825,651,752,651,521,451,898,1738,1216,453,443,415,410,409,429,508,518,480,411,359,298,280,292,291,291,310,313,314,313,306,302,305,297,289,308,316,296,284,340,357,307,384,488,384,300,276,262,259,285,384,469,415,362,332,355,375,405,463,667,626,390,348,365,371,337,305,363,1076,1676,1108,936,915,500,340,510,731,902,872,831,771,711,914,1384,1038,889,1058,941,850,602,816,1038,762,642,563,656,902,1306,1122,632,822,770,398,278,345,509,634,801,964,483,304,230,265,272,299,286,253,335,361,332,315,289,339,366,328,328,300,281,275,278,276,305,309,321,349,341,261,273,290,334,393,407,327,323,318,301,307,307,293,332,423,368,234,306,388,387,340,345,363,525,463,289,425,550,465,416,485,916,1046,1320,926,620,523,452,392,378,311,302,368,382,372,532,678,1302,1456,1494,1814,1848,1456,1242,968,1154,1794,2098,1726,1316,1130,833,688,573,369,881,1534,1818,1966,1896,1780,1256,1566,1810,1770,1684,1606,1350,1156,1424,1750,1572,1282,1368,1350,1216,1180,1338,1302,1366,1322,1312,1162,1098,1194,1212,1436,1560,1396,1450,1488,1480,1396,1322,1296,1176,1100,1058,967,778,578,704,1048,1746,1902,1162,927,1036,930,806,649,782,1150,1166],[634,537,957,1064,717,491,519,703,1154,1660,1628,1136,1202,1174,741,529,476,460,423,390,649,1076,990,915,1238,1262,1472,965,755,1186,1038,1112,1214,1050,1068,1036,935,816,1216,1548,1338,775,534,481,619,921,1206,1328,1236,1334,1842,1782,1302,847,418,296,343,479,677,645,697,686,455,387,533,733,548,417,363,789,1086,1434,1482,1174,1144,1092,781,1015,1228,698,539,976,971,1490,1566,1358,843,431,312,516,883,1024,955,752,336,276,333,300,264,252,247,236,223,247,278,276,426,576,760,965,920,638,627,966,1366,855,509,565,564,490,400,306,357,393,448,541,970,1006,693,1356,1136,472,349,303,314,339,423,515,697,639,589,775,860,1070,1302,1446,1280,1272,1440,1362,1288,1678,1944,1648,1024,1282,1968,1974,1784,1408,1058,818,521,456,521,839,1290,1266,810,959,979,927,1150,1318,1198,625,415,799,1730,1902,1920,1304,877,1046,1298,1288,1228,1032,648,454,803,1222,1318,1472,1142,1368,2032,1550,1120,1516,1418,1072,818,765,616,582,481,409,414,524,469,385,402,384,357,394,946,1600,1380,1164,582,414,350,337,418,481,488,532,532,456,605,1122,1306,962,937,1122,1142,1138,999,616,428,360,519,660,756,708,875,1356,1814,1332,1346,1356,1038,681,518,542,595,626,605,678,1080,1478,1506,1206,717,612,538,518,440,521,550,418,371,392,383,429,422,354,345,349,324,307,314,311,323,307,347,393,316,296,310,322,344,395,377,376,384,396,480,474,401,551,850,1334,1398,1278,980,970,1072,1024,680,764,1116,1222,1070,838,784,935,859,822,929,1072,1292,1362,1384,1302,1032,798,954,1282,1168,1038,1144,1186,1076,1150,1180,1138,1168,1100,807,741,985,1212,1194,1206,1356,1274,1284,1678,1590,1252,1388,1504,1460,1244,1076,996,1126,1200,1374,1010,1056,1348,979,847,957,851,846,659,744,1096,905,799,1352,1356,1390,1410,996,955,1092,1820,2074,1646,1514,1354,1412,1462,1348,1112,1356,1476,1224,1052,1008,973,1238,1354,1244,1168,1116,1172,983,1005,1148,1110,1058,1200,1172,1274,1250,1000,837,1092,1220,834,834,1226,985,1056,1126,1226,1482,1498,1384,1190,1034,1068,1068,1188,1326,1266,1188,1106,1080,1142,1248,1386,1476,1266,947,1166,1256,998,733,1030,1072,1074,1066,1204,1262,1042,1210,1420,1228,1078,851,560,496,455,482,455,464,511,478,419,374,360,342,301,444,556,576,486,397,400,694,1296,1396,1016,819,1009,1168,1252,1360,1570,1568,1270,1448,1870,2040,1660,1512,1490,1232,954,818,1074,1124,729,608,661,536,505,836,1318,1172,616,549,959,1420,1246,843,591,868,1324,1184,1366,1224,1186,1300,1082,675,658,1366,1808,1018,872,699,622,580,1086,777,560,505,481,486,474,453,452,458,461,456,335,428,515,517,504,506,494,479,471,395,328,357,386,432,472,496,496,502,451,442,438,444,451,446,467,477,430,444,420,381,395,456,430,413,406,455,498,497,469,408,361,425,486,489,491,525,571,473,370,371,468,488,383,412,385,412,433,368,442,389,442,484,761,1154,1184,1354,1354,1296,1548,1146,844,749,839,1013,657,373,524,966,1064,667,344,267,326,367,322,737,651,375,355,414,528,760,1132,1438,1600,1566,1462,1586,1632,1588,1386,877,632,713,852,852,810,804,787,811,777,825,863,799,688,670,713,602,497,515,492,440,409,403,422,444,471,487,625,971,1420,1444,1228,1184,1088,1013,1308,1524,1468,1388,1248,1176,1194,1184,1318,1520,1358,1328,1306,1312,1350,1404,1350,1354,1436,1510,1576,1366,1028,739,524,449,520,666,855,941,1028,1020,949,771,773,646,390,768,1394,1572,1146,966,1484,1608,1594,1716,1900,1738,1520,1276,1252,1154,764,936,1186,1086,1226,1240,1330,1360,1424,1470,1308,1224,1292,1410,1478,1708,1836,1688,1450,1422,1500,1534,1206,1122,1396,1284,1128,976,871,890,902,949,920,709,543,563,576,840,835,755,735,1072,1480,1460,1554,1608,1708,1726,1460,1454,1266,1126,940,1021,1362,1418,1228,1186,1190,1160,1308,1358,1462,1808,1522,1712,1508,1520,1426,1370,1358,1126,1140,1376,1344,1240,1090,1472,1356,1316,1488,1412,901,532,376,590,789,954,1202,1488,1320,1552,1652,1198,1084,1384,1368,1080,825,827,915,1294,1624,1206,1220,946,1042,967,1088,1200,1126,1178,1316,1248,1204,1202,1096,1242,1344,1440,1514,833,696,970,882,876,804,794,797,954,1266,1758,1102,540,450,687,1158,1544,1418,973,603,411,372,588,827,1074,1478,1538,1606,1434,1334,1196,1272,1418,1306,962,658,603,571,419,420,480,468,438,425,505,750,886,951,1052,922,998,1330,1436,1396,1268,1208,1236,1266,996,675,854,1288,1442,1336,1082,969,1194,944,1058,856,586,429,593,912,896,833,919,985,1086,1308,1166,1032,1023,1066,880,839,827,958,1208,1324,1382,1332,1286,1466,1586,1676,1868,1676,1418,1422,1072,554,601,775,1096,1318,786,615,411,647,677,809,1312,1644,1384,1400,1562,1598,1440,1130,1036,908,1009,1170,940,1096,1186,893,1066,1328,1164,1198,1216,1230,1338,1516,1592,1556,1592,1132,1013,1078,1100,1130,1220,1196,936,1056,1172,757,562,826,1172,1318,1122,1172,1402,1484,1460,1294,1246,1488,1494,1398,1192,951,1626,1556,1060,793,836,1202,1366,1312,1404,1462,1348,1352,1440,1742,1794,1722,1782,1672,1352,1204,1550,1930,1848,1672,1448,1340,1236,1322,1400,1294,1258,1200,1062,1054,1008,1050,1052,943,1272,1272,1170,1252,1294,1344,1422,1300,1284,1470,1466,1368,1268,1328,1496,1180,1384,1362,1226,1176,1250,1334,1506,1494,1262,1122,1072,935,813,1092,1172,1140,861,1106,874,852,1262,1526,1682,1622,1384,1198,1456,1644,1772,1272,855,832,897,895,955,1021,1054,1380,1670,898,573,519,413,390,394,408,391,357,342,371,426,479,420,442,638,737,765,1166,1194,739,578,823,998,600,733,1556,2036,2462,2484,1584,969,673,539,591,539,556,695,1500,2536,1938,1148,1021,787,821,597,731,821,912,1062,1152,1008,791,643,711,550,472,486,544,484,452,503,608,592,526,694,824,665,521,467,459,463,448,459,557,501,494,492,445,543,701,779,694,533,485,450,441,379,474,430,330,500,518,417,468,417,471,427,398,352,496,898,795,763,772,734,561,456,416,383,447,703,796,751,684,692,611,477,419,450,397,356,361,375,444,539,555,513,441,320,283,288,318,310,293,296,319,363,308,300,329,364,367,314,328,315,314,313,301,280,270,314,318,280,270,331,387,352,380,379,363,372,390,403,396,396,401,437,467,422,427,411,426,468,521,540,544,551,544,543,531,512,510,525,533,537,528,526,523,513,487,484,500,480,407,374,382,340,309,317,339,335,296,280,301,329,329,336,342,301,299,360,339,316,301,320,345,328,309,296,301,285,259,259,257,263,266,274,278,281,278,270,280,294,296,291,293,298,321,320,300,277,267,272,278,285,294,281,267,262,256,227,241,259,317,462,526,367,255,279,326,326,305,314,288,285,387,445,450,384,286,277,307,307,303,315,332,298,266,277,291,302,332,319,302,291,293,292,285,289,307,318,317,318,327,339,329,343,379,438,449,447,496,553,552,476,362,341,321,301,347,366,587,1028,1084,835,879,874,581,557,672,587,882,1144,1104,1021,771,943,1054,634,816,1354,1396,982,705,646,454,442,608,841,931,789,725,686,531,375,373,546,550,261,386,423,404,422,451,503,560,599,576,563,529,368,307,305,288,269,293,303,306,302,297,292,298,308,279,285,292,278,272,303,321,312,419,434,314,291,265,262,276,278,354,447,385,344,338,362,393,524,580,563,465,283,343,368,261,298,396,398,819,966,626,498,610,516,396,425,366,369,502,661,789,613,826,913,642,724,858,1068,1028,622,783,723,980,1026,1112,1026,1158,1818,1240,744,1054,785,425,327,509,640,625,549,489,406,278,233,239,190,213,255,287,287,299,327,333,297,313,305,283,273,266,263,291,310,305,304,318,345,357,340,295,298,343,342,385,403,359,341,322,293,287,278,300,303,325,297,275,262,357,370,343,332,382,541,464,376,443,365,272,337,401,472,602,703,636,484,324,355,392,336,309,309,352,281,297,472,682,1010,1158,1212,1490,1830,1904,1860,1192,1406,1914,2094,1294,1276,1300,850,1048,998,589,951,1240,1680,1808,1552,1590,1064,1282,1664,1570,1618,1690,1672,1672,1730,1576,1368,1228,1234,1390,1280,1072,1244,1320,1180,1118,1286,1354,1368,1262,1232,1622,1576,1248,1450,1512,1388,1306,1254,1328,1234,1062,1020,680,564,651,828,1154,2602,2360,1268,955,816,650,611,542,598,1048,1284],[422,317,510,783,825,537,582,952,1398,1562,1294,655,1013,1274,1232,1032,749,561,451,429,813,1444,1546,1122,788,953,1122,690,857,1282,1102,1108,995,919,1418,1386,1166,802,771,1152,1242,677,404,391,582,1164,1676,1476,1090,1148,1212,918,1096,970,718,444,327,473,655,730,682,523,413,464,531,951,794,576,423,483,869,1372,1398,1160,1366,1390,750,1262,1456,1300,716,599,637,1040,1316,1268,1074,723,424,740,824,746,547,343,300,337,374,303,268,257,243,233,212,311,394,373,675,742,983,899,533,424,424,1396,1860,1084,658,681,744,535,442,317,310,387,635,1007,1196,688,708,1184,964,498,319,300,263,290,409,696,567,526,496,557,693,827,935,1224,1444,1450,1570,1512,1460,2106,2344,1968,1220,1546,2326,1924,1152,949,738,539,367,320,482,948,1212,1202,1028,941,791,923,1194,1122,830,457,421,657,1028,1228,1348,985,1174,1324,1490,1450,1366,1362,940,551,766,965,1142,1354,1104,1380,1642,1238,1440,1716,1854,1794,1488,1072,663,628,479,378,357,375,401,378,385,422,400,686,1860,2252,1794,1178,536,390,344,345,476,486,429,500,590,491,722,1702,1926,1168,659,879,1196,1150,858,735,548,371,460,618,539,607,812,1470,1678,1044,746,539,565,543,642,889,1001,893,828,763,1102,1704,1592,1260,1046,1007,661,465,437,458,576,517,403,377,387,418,391,350,352,375,390,390,384,361,328,309,333,408,349,306,320,356,386,377,344,310,286,331,509,578,695,1284,1332,1424,1250,952,840,857,1028,1001,1098,1250,1384,1506,1194,670,767,1012,957,743,902,1182,1104,882,882,1019,1324,1426,1318,1464,1332,1322,1494,1554,1562,1690,1540,1040,932,1178,1054,871,888,1418,1476,1444,1284,1510,1410,1566,1590,1012,749,1188,1338,1540,1346,1148,1100,991,905,728,736,1072,1056,938,905,976,1072,984,1030,1034,771,1084,1290,1042,1328,1432,1188,1098,968,1416,2166,2076,1764,1756,2202,2148,1628,1196,959,1036,1192,988,976,1126,1332,1416,1302,1380,1344,1220,1038,1122,1126,1011,1208,1484,1418,1286,1136,1130,933,987,1274,1324,1122,1019,871,926,1140,1194,1146,1176,1306,1172,1152,1068,986,1174,1021,1010,994,796,561,862,1252,1240,1328,1248,959,1182,1194,893,836,1174,1296,1250,1642,2076,1780,1340,1144,1013,1108,1294,1160,1302,1126,988,838,532,471,498,436,400,381,487,572,883,1108,2182,1672,996,655,767,1232,1356,1366,1580,1388,933,775,931,1294,1492,1488,1488,1554,2072,1860,1630,1844,1694,1468,1364,1128,1608,1734,1208,949,725,464,421,721,1304,1358,769,466,946,1536,1036,877,709,960,1294,1350,1456,1414,1312,1234,1132,896,670,1246,1384,676,526,625,590,857,1036,673,548,524,532,539,542,513,521,497,489,487,450,456,507,509,505,512,505,520,447,346,399,439,443,444,389,344,455,489,459,471,485,513,492,488,484,477,454,438,359,275,344,408,511,638,619,603,666,710,700,545,409,452,463,444,451,467,464,429,420,428,539,555,419,354,440,521,597,566,666,702,731,950,1228,1318,1518,1572,1318,1188,1334,1284,971,667,558,543,516,430,362,478,535,572,435,301,367,346,260,585,601,365,310,332,432,857,1426,1602,1678,1632,1362,1322,1296,1104,793,683,662,659,775,781,778,694,800,1142,1230,1152,1288,1218,971,819,798,606,589,855,724,661,492,389,457,542,678,880,1156,1452,1700,1546,1578,1490,1360,1426,1444,1508,1418,1224,1230,1172,1144,1208,1284,1382,1584,1644,1438,1492,1560,1528,1284,1356,1334,1478,1552,1404,1390,1454,1210,818,897,1068,1224,1388,1096,940,787,609,678,847,1001,1230,1586,1578,996,1248,1614,1610,1680,1804,1268,1176,1282,1100,1005,752,930,1426,1462,1358,1620,1434,1468,1610,1584,1252,1084,1378,1504,1440,1556,1578,1718,1748,1760,1428,1222,1390,1172,1318,1312,1094,949,807,828,893,773,687,523,446,443,686,583,676,756,918,1296,1598,1506,1538,1768,1664,1420,1224,1102,1007,1228,1262,1252,1314,1296,1256,1346,1376,1190,1214,1284,1448,1422,1284,1240,1170,1226,1582,1614,1104,754,739,1164,1548,1272,1294,1348,1466,1402,1312,1512,1558,1344,967,562,507,796,1274,1596,2180,1490,938,1066,1222,1148,915,1122,1358,1432,1466,1764,1864,1666,1252,1016,884,901,937,918,1010,1260,1236,1208,1194,1272,1268,1174,1368,1372,1534,1388,1110,1298,1216,883,751,576,830,954,1058,932,933,722,506,625,1318,1552,1444,1470,1350,1116,713,680,658,891,1278,1338,1338,1482,1546,1468,1166,947,775,642,505,412,521,630,673,745,714,655,783,798,462,481,636,898,924,1330,1656,1498,1450,1576,1720,1338,1082,1174,1206,1172,1084,1326,1244,705,462,581,1026,872,697,565,411,366,586,777,705,782,954,978,1054,1490,1086,665,891,1346,924,615,810,1186,1530,1478,1342,1260,1450,1810,1390,1136,1432,1292,936,1092,843,340,594,1046,1526,1534,861,586,409,623,726,965,1272,1340,1274,1530,1782,1600,1282,1044,1023,763,778,885,898,1138,1174,1104,1264,1296,1278,1090,1098,962,1036,1118,1680,1892,1340,1316,1558,1466,1430,1350,1296,1294,1298,1400,1200,808,626,797,1108,1252,1180,1218,1362,1120,975,910,978,1506,1578,1422,1290,1100,1234,1494,1232,624,729,1212,1088,1128,1412,1594,1526,1536,1516,1410,1272,1344,1360,1190,1180,1250,1426,1640,1716,1768,1690,1578,1496,1400,1336,1292,1342,1350,1088,990,968,1148,1040,783,1054,1162,1126,998,1092,1306,1360,1234,1290,1400,1262,1344,1306,1376,1432,1260,1462,1422,1276,1318,1222,966,849,760,775,906,1040,1038,964,1246,1496,1252,998,852,737,954,1330,1436,1202,933,943,1086,1400,1528,1684,1462,1102,963,962,894,776,765,919,1064,1652,1005,588,579,462,382,383,394,410,400,394,396,479,406,390,534,581,785,938,1166,869,561,722,998,785,653,1404,1736,1764,2196,2618,2502,1556,785,680,621,516,530,620,815,888,945,1110,1009,819,722,696,910,792,706,1013,1086,766,543,472,651,623,471,433,458,457,472,490,511,503,582,730,679,519,441,444,432,428,432,521,764,945,973,745,557,576,658,752,727,544,527,485,459,541,779,645,422,586,577,443,498,430,448,433,599,667,690,832,840,734,764,779,570,420,432,430,492,558,716,613,655,777,685,540,452,399,403,426,422,391,387,433,525,446,350,298,280,276,273,272,280,293,320,375,330,339,374,522,533,376,321,355,351,316,318,290,256,283,299,277,285,309,346,317,325,345,345,346,377,408,404,398,388,413,438,451,437,424,426,450,494,519,528,541,547,538,541,515,498,502,531,527,504,500,502,483,472,461,468,462,455,426,404,368,336,339,343,361,351,302,288,291,323,327,349,338,315,303,300,324,316,322,314,300,292,286,308,309,272,272,271,265,257,271,269,266,260,258,272,281,286,325,312,320,318,310,292,271,262,260,262,275,284,267,259,255,272,274,271,271,353,430,435,353,272,245,290,238,208,265,242,235,320,370,359,305,271,280,287,292,308,334,311,281,262,271,280,288,299,300,292,273,273,283,278,284,286,287,297,303,304,299,300,313,313,335,386,410,421,422,451,432,345,304,290,285,299,286,281,405,673,1060,1156,1102,1102,808,594,587,717,718,750,1038,818,672,738,489,933,1802,1480,731,593,730,578,411,720,766,657,913,764,583,684,522,417,459,465,536,532,461,436,487,548,603,603,491,388,425,477,477,326,298,286,272,276,277,277,274,281,281,290,329,307,279,279,279,286,289,298,318,390,381,346,321,292,294,300,287,332,407,366,342,365,386,401,501,643,653,504,299,342,376,305,294,533,568,390,300,281,282,292,356,518,334,317,411,386,442,907,1116,758,570,451,504,796,1372,1144,528,1116,1538,1444,1372,1532,1400,1164,1218,777,512,480,417,429,329,329,351,347,318,325,311,274,306,325,270,241,271,283,266,289,334,331,310,293,281,279,273,275,292,306,308,304,313,325,350,386,327,325,353,386,378,428,498,448,367,331,310,296,284,298,325,322,308,310,332,374,403,444,409,486,619,789,607,531,329,239,415,426,339,513,667,619,455,317,345,392,400,358,330,334,359,383,489,880,1426,1432,1214,1166,1332,1308,1011,885,1308,1318,1186,1136,1460,1302,779,966,1060,1002,1166,991,1414,1710,1592,1742,1430,1706,1852,1238,1368,1602,1730,1874,1816,1466,1576,1450,1312,1392,1282,1170,1268,1268,1116,1162,1406,1506,1376,1376,1242,1736,1754,1580,1580,1548,1530,1526,1616,1674,1518,1244,1021,694,661,688,918,1148,1270,1156,1040,935,993,734,535,523,728,1050,889],[1050,655,488,648,919,815,858,1068,1202,1098,789,646,1220,1660,1742,1628,1550,1274,919,787,1178,1596,1586,1176,770,694,776,783,926,878,749,1024,769,618,1076,1230,1122,673,914,1190,978,590,435,383,418,618,855,1294,1220,1222,1102,961,1152,1080,678,374,367,731,1044,993,663,408,421,418,494,1026,1026,732,572,582,979,1194,1288,1620,1926,1450,683,909,1108,1480,1274,848,819,974,1058,1128,1130,965,758,1136,759,476,332,249,287,378,366,269,261,271,262,248,231,309,419,328,390,491,670,537,455,431,397,798,947,921,1030,1536,1362,580,396,375,406,718,1224,1616,1294,598,405,547,769,496,382,317,319,309,365,436,531,700,647,612,716,797,1136,1836,1606,1378,1520,1664,1598,1620,1730,1596,1318,1598,1908,1456,822,529,416,384,354,428,623,672,854,964,962,1160,815,560,796,1066,950,609,397,618,821,959,796,581,714,1116,1332,1240,1156,1108,553,515,878,1194,1116,790,896,1456,1284,955,1166,1046,985,1288,1606,1268,846,586,415,382,335,315,327,365,441,383,426,1122,1832,1908,1280,586,352,336,329,366,446,457,377,373,560,591,969,1444,1150,714,588,711,747,548,550,638,565,544,737,963,581,466,570,944,987,1106,778,477,542,751,1118,1472,1440,1098,874,724,1152,1388,1324,914,727,948,874,694,572,621,676,562,401,389,389,405,375,332,350,397,437,438,399,373,345,343,322,383,393,371,351,328,300,276,271,278,292,331,507,738,953,1126,1122,1002,888,805,828,974,1030,1068,1210,929,1582,2158,1632,996,1168,1338,1378,1310,1168,1182,1356,1578,1570,1476,1520,1304,1398,1408,1404,1274,1376,1416,1356,1318,960,724,749,1372,1218,1266,1294,1548,1706,1568,1196,1322,1246,1170,1398,951,973,1440,1446,1602,1086,1094,1152,1002,849,753,782,1022,668,455,714,1184,1244,933,989,1166,907,980,1208,1312,1448,1500,1292,1188,974,1036,1676,1920,1644,1614,1730,1578,1310,994,979,1230,963,979,1158,1010,901,866,1068,1326,1184,1052,1050,950,882,951,1108,1174,1178,1334,1296,1036,872,1000,1362,1366,1058,1114,1118,1214,1350,1208,1064,1160,1226,1162,1003,811,581,734,875,958,1048,1030,970,976,1056,984,1286,1208,1074,1086,1080,876,1622,2098,1910,1746,1608,1582,1738,1670,1490,1164,1005,1302,1410,1150,1176,1336,1208,1190,1060,857,728,546,475,647,741,1118,1238,2030,2036,1592,1288,1280,1412,1428,1606,1970,1628,1013,815,905,1438,1510,1230,932,1094,1490,1460,1266,1116,1250,1072,1104,912,1334,1336,1282,1318,910,542,542,684,1138,1376,886,614,795,1146,975,1072,1118,1272,1320,1196,1002,1136,1276,1096,1182,1098,945,1420,1138,596,582,824,924,1162,982,583,564,531,530,530,609,544,509,554,549,491,470,478,483,498,524,461,422,518,453,328,419,500,507,485,421,364,407,476,471,488,524,502,491,465,440,445,513,553,365,271,320,364,534,705,547,521,679,923,1078,976,733,681,717,670,590,531,478,469,518,555,616,622,656,669,767,889,849,731,775,826,832,1144,1152,1184,1658,1448,1246,1290,1480,1330,960,646,444,367,412,484,560,753,973,1116,821,404,377,352,249,434,607,444,311,269,404,998,1472,1644,1616,1438,1190,986,821,703,621,593,593,674,673,762,907,986,963,1142,1322,1204,1126,1190,1344,1382,1292,1148,1138,1340,1076,997,766,688,876,1026,1174,1258,1154,1296,1616,1346,1526,1650,1718,1616,1372,1278,1442,1300,1172,1168,1244,1418,1466,1460,1472,1862,1640,1404,1584,1656,1426,1456,1560,1614,1390,1252,1364,1326,1360,1444,1480,1538,1454,1488,1510,1224,866,978,1218,1382,1426,1452,1666,1426,1048,1318,1698,1748,1760,1314,985,1110,948,843,722,844,1330,1678,1636,1500,1472,1456,1610,1548,1266,1202,1442,1560,1264,1186,1486,1470,1708,1562,1500,1222,1144,1476,1372,1136,1054,903,830,844,791,803,580,400,414,500,723,1088,1204,1110,1166,1454,1588,1502,1506,1736,1722,1914,1776,1102,795,909,1116,912,842,1140,1282,1288,1190,1228,1106,1092,1304,1572,1454,1312,1362,1340,1454,1864,2174,1546,894,681,1140,1644,1488,1278,1230,1236,1194,1094,1362,1420,1210,1174,924,979,1198,1466,1480,1720,1516,1104,977,993,734,653,712,836,1222,1660,1792,1598,1362,1302,1168,1220,1062,1040,1454,1720,1598,1134,1058,1216,1246,926,1122,1614,1632,1442,1384,1688,1760,1268,1032,760,492,720,829,737,688,792,1030,954,905,1004,1098,1262,1432,1214,1252,1126,1086,920,1378,1588,1410,1472,1496,1180,1009,868,782,666,554,484,686,938,1294,1274,1098,863,854,1218,1138,554,486,515,744,857,990,1160,1268,1056,1076,1252,1090,1008,1158,1252,1050,706,898,1066,865,761,955,1005,1036,1156,853,488,660,900,527,373,509,681,1052,1054,1494,1228,684,833,1120,1028,885,1009,1358,1458,1504,1344,1280,1520,1526,1262,1260,1470,1200,634,815,811,520,648,756,833,1126,878,803,598,703,995,983,1296,1306,1278,1254,1362,1338,1242,1112,1086,742,785,855,749,822,1086,1230,1278,1018,1030,996,1076,755,1076,1080,2320,2322,1001,968,1248,1352,1310,1516,1600,1450,1750,1650,1322,1116,963,993,1108,1134,1028,1224,1210,917,915,942,834,1386,1512,1336,1234,1072,1456,1888,1808,875,922,1250,1386,1534,1678,1692,1588,1266,959,1001,1100,1242,1116,1120,1160,1146,1400,1478,1470,1590,1674,1550,1494,1410,1310,1242,1284,1120,1028,1394,1242,1080,854,890,960,1188,1316,1134,1102,1250,1318,1280,1260,1428,1408,1272,1176,1240,1198,1328,1504,1328,1102,845,628,592,610,561,574,815,1186,1288,1058,943,1328,1626,1324,868,1108,1544,1150,1070,1050,1226,1350,1378,1408,1526,1684,1504,1156,902,962,1052,1556,2584,3006,1580,1528,1164,591,528,471,454,406,384,381,368,404,398,370,359,487,547,672,767,1174,1108,596,677,1015,869,736,877,1354,1618,1938,2032,2256,2818,2466,1316,589,568,555,592,689,811,1166,1358,1036,828,862,845,935,1040,962,892,842,886,970,574,454,577,627,579,500,473,504,494,519,555,474,569,805,578,450,412,383,371,413,458,562,762,1048,958,725,586,525,437,549,624,645,620,495,502,863,1260,1186,830,839,738,524,468,494,462,713,1013,1102,778,618,780,766,850,816,654,501,570,600,574,495,637,733,807,758,695,679,547,387,398,403,457,391,357,343,449,491,386,275,282,274,289,313,285,296,300,280,291,301,412,576,532,372,326,324,334,321,315,280,262,282,299,304,308,345,368,336,315,318,347,343,364,400,405,397,389,405,420,436,442,435,428,429,464,488,503,517,533,530,544,523,493,500,526,533,509,486,488,483,486,450,430,426,443,452,470,446,401,365,350,375,359,337,329,299,325,333,356,329,324,316,329,332,314,328,311,289,302,300,315,305,289,282,256,248,269,277,271,271,285,282,293,305,317,314,303,297,280,261,252,256,260,253,254,256,262,260,266,266,273,290,305,290,278,318,339,330,389,244,261,248,247,254,260,285,300,296,280,270,273,280,265,268,299,339,298,279,271,271,278,284,283,279,279,264,266,289,272,290,283,276,280,287,292,292,298,298,280,279,300,312,321,354,399,409,347,304,282,269,272,265,242,301,625,1060,949,1072,1214,1122,927,658,630,653,743,907,749,679,859,554,1112,1654,1268,681,623,782,644,581,955,666,456,799,489,491,960,804,721,654,483,526,637,585,484,608,668,652,596,443,377,359,450,427,310,276,275,276,272,273,280,288,284,285,287,308,325,292,279,297,300,287,303,359,400,412,437,412,315,291,306,294,319,369,326,295,317,330,357,373,404,423,435,378,443,446,389,995,1406,654,403,325,265,266,269,347,509,336,269,338,415,372,987,1396,1126,1204,1064,983,1460,1626,1084,517,1212,1626,1434,1658,2128,1714,778,614,444,376,295,328,477,383,301,452,431,320,328,339,293,430,588,347,255,280,285,319,318,320,308,281,273,272,266,260,267,290,306,306,291,291,319,357,420,435,406,366,376,391,394,475,447,396,376,327,305,287,282,300,286,287,302,331,463,545,618,672,840,681,907,749,570,359,271,378,386,422,524,566,463,326,396,397,477,570,528,414,343,360,414,586,971,1560,1808,1910,1456,1124,847,554,1204,1422,988,1040,865,1244,1088,583,931,1544,1310,1384,1298,1468,1770,1642,1464,1562,2156,2018,1280,1498,1622,1610,1602,1682,1494,1456,1402,1272,1172,1106,1048,1146,1336,1246,1182,1402,1466,1500,1570,1808,1766,1636,1684,1540,1626,1832,1788,1684,1546,1556,1254,998,809,751,726,901,1120,1152,1170,1007,1144,1240,921,634,728,1144,1006,818],[1496,1198,858,675,716,1044,1108,1032,1154,1034,609,778,1226,1464,1692,1796,1672,1578,829,905,1302,1388,1202,1182,1023,916,957,1028,1274,952,659,902,874,1004,969,1274,1506,1044,615,542,522,423,408,407,415,402,473,913,1260,1310,1282,1116,1166,1176,724,428,598,1538,1928,1514,874,725,853,637,755,1252,1170,990,820,1034,1394,1440,1740,2144,1214,539,611,930,913,1228,1604,1366,1166,1102,1222,1126,825,849,752,964,612,369,326,306,301,357,354,281,262,280,250,237,280,342,494,537,554,568,609,509,383,339,366,536,499,668,1554,2134,1334,572,389,502,736,1188,1720,1716,1366,1178,877,673,713,769,446,319,328,288,303,300,477,641,605,664,708,745,923,1204,1274,1082,1316,1826,1778,1254,1216,1464,1632,1632,1326,1200,973,505,353,440,460,503,645,731,946,1182,1384,1470,897,550,809,995,1088,990,958,787,763,949,703,491,846,1210,901,841,793,662,501,575,1092,1830,1418,569,805,1620,1626,919,526,453,470,805,1028,1088,1068,819,563,427,362,354,342,419,501,507,1204,1736,1234,1016,645,457,386,330,321,369,458,481,482,432,535,515,1096,1288,1070,1064,872,564,596,509,514,500,590,655,799,1210,930,501,556,896,1078,1050,814,684,791,963,1174,1278,1366,1224,1020,722,1182,1814,1760,1088,816,1136,1198,1102,1174,1286,786,562,407,379,375,362,343,324,341,375,408,456,425,356,343,385,341,351,366,337,310,290,275,276,264,240,314,342,543,943,874,735,771,703,607,640,776,1021,1116,1246,1234,1094,1734,1940,1482,1094,894,843,951,1118,1210,1422,1436,1438,1106,1198,1300,1270,1206,1162,1050,1144,1432,1288,1126,1100,915,1298,1160,1534,1158,1208,1104,1274,1512,1410,1324,1324,1060,954,1222,1094,1204,1198,1290,1316,1038,1154,1412,1276,1186,1076,1090,1308,532,572,1056,1448,1584,1522,1706,1624,1390,1176,1046,1256,1578,1820,1390,1216,991,775,1110,1136,944,1114,1326,1374,1376,1108,984,1108,961,1184,984,877,882,1046,1084,1204,1142,961,816,836,1015,1080,861,871,1116,1070,865,971,1316,1356,1096,938,932,898,888,899,1004,1206,1344,1334,1284,1210,1030,1144,1042,1042,1256,1114,913,827,858,956,999,865,1036,1038,1232,1378,1338,1450,2000,2282,2078,1854,1620,1140,1164,1410,1230,787,943,1238,1510,1532,1266,985,932,1024,1144,1332,1314,1384,1124,1058,841,617,923,1436,1602,1606,1512,1352,1240,1384,1820,1926,1296,883,1020,1434,1608,1382,1288,1162,946,852,944,830,976,1112,994,813,504,733,1160,1444,1430,1008,572,553,679,1054,1542,1354,711,611,918,960,1100,1192,1172,1146,872,675,1014,1344,1048,933,1060,1206,1382,1224,892,731,869,1216,1360,1064,790,758,854,901,939,911,881,929,905,829,847,843,828,720,618,625,744,843,855,781,781,810,719,550,581,699,563,409,386,398,418,477,530,529,549,600,583,557,470,328,396,464,401,515,517,395,540,799,918,814,860,963,1126,1228,1114,1052,873,645,707,1050,951,909,850,887,889,998,1144,901,595,499,486,629,1112,922,682,1060,1208,1224,1224,1082,829,692,627,482,462,509,724,1174,1488,1602,1554,1306,785,407,375,275,375,655,534,381,334,328,618,907,1118,1044,797,670,586,588,583,589,565,662,972,1256,1478,1290,1178,1030,1150,968,492,590,685,921,1316,1376,1372,1414,1564,1526,1232,1086,1206,1266,1268,1188,1144,1206,1007,1036,1138,1256,1478,1644,1714,1514,1372,1372,1344,1352,1232,1144,1466,1628,1566,1442,1590,1512,1312,1988,2178,1560,1512,1506,1446,1276,1346,1328,1150,1292,1372,1420,1554,1560,1606,1654,1482,1210,1274,1238,1314,1432,1488,1640,1316,1378,1652,1860,1804,1390,1056,1078,887,732,639,816,1260,1168,1542,1628,1542,1562,1510,1356,1224,1242,1334,1462,1398,1272,1350,1632,1570,1664,1466,1274,1248,1318,1310,1302,1032,878,652,649,737,626,520,458,560,806,908,912,1094,1320,1304,1352,1560,1532,1358,1378,1592,2036,2810,2548,1552,922,751,780,545,444,730,1004,1226,1018,1001,993,1288,1574,1488,1250,1190,1210,1344,1468,1266,1426,1312,1300,1224,1216,1434,1504,1336,1246,1338,1112,760,1030,1300,1284,1280,993,1124,1102,1140,1354,1440,1504,1440,1356,917,539,586,749,738,664,1158,1596,1588,1384,1148,1198,1356,1124,1198,1390,1278,1130,860,948,1178,1228,1028,1148,1422,1464,1218,1370,1726,1480,1182,1436,1040,584,505,631,775,764,675,813,1342,1952,1764,1044,1152,1442,1246,1136,1100,1090,1380,1772,1676,1416,1364,1017,572,708,1050,1058,1144,935,696,827,1146,1306,1368,1224,1088,1008,761,727,519,524,552,702,898,882,988,1009,959,1004,1074,1238,1394,1338,1202,1004,962,844,929,1036,1132,935,648,839,1160,1110,997,1210,1238,746,601,853,1034,1194,1074,1316,1504,1128,788,841,1182,1144,1202,1192,1290,1624,1442,1562,1538,1358,1424,1234,1456,1560,860,628,633,612,663,834,1222,1210,1130,904,555,1028,1532,950,872,988,1288,1152,1318,1288,1114,1126,1104,1094,1030,986,973,673,1222,1118,1368,1100,966,1196,1338,954,930,1148,1420,1304,810,952,1206,1194,1038,1266,1012,1124,1490,1636,1560,1546,1720,1440,1206,1146,948,1208,1194,1038,1021,891,822,1276,1324,1358,1294,1210,1788,1616,1970,1416,1478,1570,1658,1430,1224,1076,1094,1021,917,1094,1028,1208,1282,1290,1206,1238,1396,1478,1586,1586,1582,1698,1720,1600,1284,996,1082,1112,1818,2172,1500,1246,1040,997,1100,1168,1008,902,1062,1378,1324,1138,1258,1356,1384,1252,1294,1288,1086,1170,1280,919,797,599,532,756,744,522,513,715,992,1166,1044,968,1278,1696,1520,906,997,1518,1258,1086,1260,1392,1344,1348,1372,1502,1644,1618,2060,1260,1220,2102,3178,4136,4136,2076,1372,1320,583,477,440,476,515,435,386,332,336,313,323,458,541,638,729,1092,1298,715,618,971,860,667,939,1042,1294,2128,2546,2122,1960,2480,2278,1330,613,590,637,706,822,987,1090,912,872,991,1164,1316,1021,922,1154,1162,1172,1134,882,520,469,524,566,541,479,495,506,525,512,468,491,629,764,594,459,389,361,385,392,461,587,561,662,498,501,480,613,560,505,595,788,843,652,803,1088,1180,1376,1202,1208,871,576,423,370,532,764,810,763,540,532,676,822,889,776,747,707,560,614,516,448,525,675,823,733,651,740,729,530,385,392,415,425,423,456,515,505,463,308,343,365,498,446,352,298,272,275,303,319,376,466,431,337,334,337,340,336,312,280,268,265,278,300,304,352,410,359,321,329,331,354,375,389,393,392,394,395,405,420,432,430,439,445,447,460,484,506,509,509,535,530,505,500,515,537,517,495,474,468,471,441,422,433,442,448,442,437,445,426,403,378,366,371,371,348,326,338,357,324,287,303,356,330,334,371,345,338,355,328,311,307,327,319,276,276,276,287,294,287,290,289,291,266,272,307,297,268,252,247,253,256,255,259,261,270,294,286,267,271,270,270,285,269,265,296,365,365,372,290,273,281,321,313,302,299,304,311,292,250,261,276,273,264,300,315,292,285,278,278,281,281,274,272,273,264,269,293,270,269,268,269,277,273,264,273,279,274,291,285,291,291,287,296,311,331,316,293,281,275,251,264,257,316,547,883,853,867,723,711,742,630,548,521,553,651,835,814,879,790,1318,1418,886,825,827,533,444,456,539,439,584,730,432,427,665,749,928,967,714,538,555,700,724,680,657,614,556,430,365,374,436,381,283,285,290,304,297,290,280,278,276,290,286,289,315,313,316,333,336,352,415,431,401,400,425,431,419,378,330,301,319,347,331,316,303,293,314,328,351,331,366,427,447,470,415,974,1430,688,359,329,346,433,336,285,318,288,271,340,358,618,1372,1676,1524,1544,1306,1238,1350,1116,738,424,486,534,984,1696,1688,988,615,552,506,502,611,565,648,609,397,336,341,302,356,343,267,354,398,329,294,261,302,332,311,312,301,305,325,295,284,281,275,286,301,305,283,278,336,389,435,461,392,347,345,391,342,388,357,357,367,362,335,285,291,278,263,279,294,345,543,619,793,1011,852,763,855,679,571,442,361,257,289,334,359,392,318,249,301,365,438,502,569,480,344,322,389,581,736,782,978,1092,1350,1592,1508,1134,1460,1420,949,959,636,901,496,485,1086,1494,1344,1710,1810,1932,2112,1592,1050,1440,2134,1698,1282,1410,1328,1320,1636,1664,1504,1418,1288,1224,1194,1182,1186,1370,1742,1498,1230,1318,1458,1578,1828,2202,1778,1466,1500,1056,1382,1852,1964,1516,1354,1182,977,844,744,925,865,727,847,1046,1110,1114,1038,1112,1062,928,1190,1194,924,932],[1372,948,583,440,470,697,714,807,1048,878,507,539,607,724,1212,1538,2230,1398,613,1456,1886,1264,982,1062,1184,1358,1206,1026,1320,677,808,1190,1332,1284,1142,1366,1528,1268,664,401,394,398,375,438,465,448,459,941,1488,1420,1220,982,1268,1450,1040,926,1007,1874,1820,1448,727,745,1078,701,637,982,1340,1372,1242,1526,1272,1744,2208,1694,709,607,795,1196,1260,1214,1654,1632,1068,843,1086,1140,773,610,855,753,422,322,334,369,400,318,281,305,269,267,250,262,265,372,480,506,495,552,639,573,372,545,929,913,546,592,1228,1384,789,457,420,696,1138,1496,1722,1556,1282,1372,1116,1110,1068,1202,1048,869,613,479,474,377,428,544,672,761,823,727,692,979,1280,1090,1216,1874,1936,1524,1728,1738,1516,1472,1380,1264,1094,627,344,469,813,1086,1026,981,1024,1316,1878,1702,1015,897,1184,940,590,981,1366,1204,1216,1068,853,748,1212,1394,1146,1016,917,587,422,699,1242,1306,940,797,803,1436,1466,865,422,431,573,1108,1084,1144,1262,1054,903,689,456,361,340,429,512,736,1182,1324,1034,672,471,371,373,326,329,357,468,488,469,536,666,561,782,1164,1588,2030,1462,653,566,601,510,508,603,695,835,1318,1074,591,705,896,784,698,662,911,1011,962,1222,1466,1572,1318,905,831,1516,2026,1748,1328,1226,1162,1244,1440,1304,1302,872,562,426,384,356,339,341,335,346,372,391,452,456,351,345,442,426,334,274,257,243,225,229,255,224,234,371,373,482,898,898,861,915,677,787,938,947,1138,1244,1296,1454,1344,1228,818,524,401,382,377,667,1128,1168,1516,1538,1606,1594,1596,1338,1082,1208,1264,993,1046,1284,1300,1332,1168,956,1008,1044,1138,1426,1412,1160,1214,1094,989,962,1202,980,783,933,727,884,1054,1048,1034,1090,1172,1416,1440,1476,1526,1536,1560,626,581,1194,1370,1460,1362,1230,1452,1542,1168,882,1294,1484,1526,1216,1256,1084,1068,982,1102,1148,1194,1438,1438,1438,1204,832,1066,1534,1450,1040,987,929,959,1162,1084,755,736,869,919,852,1038,1208,1412,1428,1042,1030,1324,1656,1616,1288,1282,1174,697,1004,1222,1214,1314,1348,1168,1170,1318,1296,1278,1054,746,755,899,1046,1156,1164,1118,1172,1098,1152,1048,1124,1338,1306,1356,1600,1516,1192,1158,1376,1250,1166,932,828,1070,1026,1023,1272,1300,915,673,718,703,606,416,711,1092,1098,1276,1296,1122,990,885,1040,1216,1372,1272,1174,1384,1376,1404,1072,896,1354,1738,1484,1084,801,1230,1232,520,539,867,1278,1366,1470,952,742,1286,1616,1726,1610,927,477,429,633,1001,1650,1726,1011,653,733,909,990,940,1130,893,666,799,1116,1308,1086,833,1011,707,703,979,920,700,579,832,957,767,684,926,1122,1350,1500,1468,1288,1166,1094,1156,1258,1188,1040,926,872,836,1106,1262,1246,1316,1354,1228,1106,1076,1078,922,1026,944,542,542,611,806,866,869,893,981,921,538,422,446,479,677,994,967,561,441,557,1098,970,459,722,1102,1248,1262,1134,1282,857,496,696,1318,1478,1398,1228,1262,1152,1232,1406,1068,644,581,426,433,933,1046,814,811,999,1054,1070,937,587,522,556,597,733,936,1216,1528,1692,1748,1726,1552,999,372,315,265,321,569,528,435,415,334,401,484,589,586,551,604,708,865,952,1126,1128,1192,1506,1666,1566,1334,1220,945,702,493,474,547,761,1096,1204,1130,1176,1116,1316,1958,2178,1770,1338,1100,1068,973,1114,1458,1200,1192,1288,1416,1474,1426,1662,1820,1796,1366,1476,1422,1252,1142,1500,1648,1622,1454,1458,1608,1390,1420,1310,1390,1644,1444,1334,1282,1188,1228,1334,1348,1252,1226,1296,1554,1774,1456,1418,1214,1194,1246,1350,1534,1540,1470,1494,1784,1930,1844,1438,1132,1212,966,692,583,801,1210,1296,1302,1476,1502,1520,1470,1318,1400,1454,1442,1298,1456,1500,1460,1598,1612,1656,1584,1470,1472,1700,1832,1592,1172,857,913,694,633,562,491,472,583,997,1106,1042,1256,1348,1001,833,760,805,771,674,835,1244,1778,2170,2024,1500,1152,882,885,735,556,881,1390,1174,1022,939,970,1138,1274,1320,1180,1110,1072,1172,1182,1216,1094,1288,1834,1670,1350,1332,1336,1440,1614,1748,1262,921,839,1146,1338,1338,1009,1370,1338,1304,1570,1462,1486,1332,1252,826,476,509,727,640,500,679,1104,1456,1532,1572,1406,1166,921,1142,1396,1144,963,884,786,1032,1238,1134,1017,1332,1328,999,1060,1262,1410,1778,1460,1030,723,705,901,861,625,472,650,1528,2840,2492,1190,886,910,874,1042,890,1074,1550,1588,1578,1572,1410,951,568,902,1410,1410,1244,1238,924,786,1094,1222,1220,959,1015,814,493,539,492,636,829,991,1076,1005,893,1054,1416,1306,1238,1300,1412,1266,1112,1026,1009,792,771,946,867,616,372,550,880,1130,1054,1052,1202,901,713,797,943,1102,974,907,1338,1772,1450,1226,1480,1322,1182,1152,1492,1856,1888,1592,1290,1448,1312,1146,1528,1702,1098,766,612,647,1028,1824,1860,1078,924,730,503,1128,1802,1286,1180,1324,1382,1250,1302,1238,1150,1108,1188,1108,804,1078,1194,910,1154,910,1060,1056,1036,1310,1516,1178,963,1015,1018,918,846,951,1148,1176,1266,1276,1050,1046,1312,1686,1720,1664,1702,1634,1328,1138,910,955,1116,1018,1088,916,837,1134,1218,1414,1438,1410,1660,1644,1730,1648,1648,1472,1152,1032,1124,1202,1350,1442,1280,1168,864,1036,1084,1130,1236,1262,1350,1604,1552,1354,1528,1674,1714,1734,1400,894,1054,1242,1544,1308,1178,1248,1216,1360,1230,987,832,770,1003,1216,1064,835,987,1194,1114,1100,1192,1080,943,1086,1284,1252,1092,852,613,544,492,439,491,603,836,1166,1238,1200,1252,1208,1154,943,865,1334,1452,1264,1268,1412,1378,1368,1470,1634,1272,1414,2278,1404,1438,2540,3294,3382,2818,1416,1162,1430,634,506,407,440,558,485,391,378,464,390,440,532,607,733,1013,1362,783,565,873,897,702,723,1005,1036,1010,1610,2452,2410,2166,2026,1106,780,685,626,663,738,771,891,1024,1052,1100,1028,1148,1250,871,672,787,993,1116,808,517,451,426,424,482,507,490,499,505,502,479,477,508,692,676,461,412,380,389,425,373,375,483,559,487,644,713,475,634,662,560,605,843,886,752,1194,1334,1190,995,1160,1360,1166,767,502,448,625,732,538,429,411,521,542,590,747,835,697,684,690,563,428,494,578,610,754,794,591,526,761,663,457,436,434,448,458,521,560,507,521,386,352,570,826,639,414,364,327,325,406,397,383,363,328,321,328,363,375,351,318,325,321,293,295,310,314,372,434,367,338,331,339,356,372,382,375,388,407,407,396,401,422,420,418,414,414,434,461,491,490,486,520,539,520,496,492,521,507,495,457,450,454,435,424,425,422,415,408,417,423,439,447,472,426,415,397,377,372,360,335,329,329,326,360,357,351,373,340,351,386,361,305,315,367,327,285,310,303,316,328,315,287,287,271,254,271,272,254,242,265,273,274,262,259,266,269,284,309,310,321,323,274,259,281,273,301,339,426,419,363,296,302,366,368,311,333,327,346,335,299,270,271,265,284,278,310,310,270,266,275,277,282,281,287,286,272,269,266,260,258,272,277,279,274,264,270,274,287,291,288,290,312,322,336,310,291,304,292,287,306,319,271,265,244,269,347,418,745,879,828,1122,1064,822,574,685,681,668,926,991,1013,1204,1402,1030,574,598,539,491,971,1064,595,400,485,536,463,489,465,584,880,907,704,637,561,552,730,746,798,826,702,572,517,468,463,350,295,298,280,293,285,279,272,266,278,293,285,289,293,312,332,329,346,454,453,382,358,350,363,382,488,568,490,365,341,377,333,315,295,300,294,305,306,339,393,416,424,381,322,399,529,433,360,395,370,366,318,289,300,268,298,387,451,629,951,980,1204,1158,1110,926,726,847,959,962,757,811,1016,1204,1084,996,967,968,1020,1156,1130,783,680,701,435,278,314,316,324,267,306,358,406,406,333,286,309,301,303,293,288,313,294,304,318,313,307,286,280,298,294,297,354,374,372,370,328,406,424,402,323,333,361,446,443,402,422,313,305,308,315,292,289,338,504,641,877,1100,866,923,1072,808,726,915,666,384,336,258,263,265,249,296,354,361,356,381,369,318,312,326,342,571,767,773,779,847,1150,1556,1466,1188,1328,1180,568,461,484,457,550,623,580,562,1064,1744,1938,1974,2122,1694,1172,1466,1606,1458,1306,1290,1052,1238,1930,1646,1108,1190,1252,1376,1356,1334,1272,1514,1816,1472,1306,1306,1434,1482,1460,1552,1450,1508,1572,1272,1396,1560,1754,1416,1366,1108,865,971,803,854,898,741,924,1092,995,959,847,1096,1034,1060,1246,1038,1042,1142],[1310,793,560,457,426,692,878,856,818,602,469,444,425,546,853,896,1324,1090,711,921,1106,1214,1302,1086,1732,1434,1312,1054,979,735,1008,1340,1532,1324,964,918,996,830,689,469,486,455,575,678,555,480,749,1610,1876,1500,1406,1154,1464,1194,647,633,1152,979,754,808,425,521,609,380,372,451,709,1034,1512,1588,1240,1620,1620,899,515,533,768,1478,1592,1114,1482,1738,1208,880,895,811,556,411,388,328,309,304,305,364,429,334,292,286,285,294,275,264,268,290,355,481,607,684,672,667,612,923,1484,1256,977,802,780,803,574,480,684,922,1270,1642,1782,1296,955,1010,907,766,1054,1172,913,1058,849,657,742,521,492,522,688,1036,1162,839,706,1116,1232,877,907,1386,1600,1646,2224,2234,1512,1012,1080,1044,1096,927,573,513,809,1356,1300,987,1194,1106,1078,976,821,984,1072,740,575,995,1216,1482,1548,1522,1396,1016,1140,985,1134,1232,913,629,638,1009,1244,800,721,946,1284,1898,1440,818,622,493,480,530,584,940,1154,871,1070,1078,884,700,479,465,672,1034,1044,833,650,619,562,459,403,413,395,395,449,538,542,652,756,757,796,884,1560,2020,1232,937,662,653,660,589,804,818,656,847,1096,1114,983,705,755,901,818,1086,1478,1358,1252,1364,1594,1488,1192,1268,1654,1500,976,729,742,587,719,850,1158,1360,1040,679,463,379,332,332,354,360,356,361,381,433,447,399,385,455,486,393,327,291,233,219,246,258,245,273,333,389,430,586,642,716,763,799,814,1082,806,838,977,1009,1072,1372,1234,736,424,694,861,464,721,800,990,1078,1178,1200,1268,1318,817,557,969,1388,1210,1088,1290,1468,1334,1262,1106,1070,1182,1038,987,977,1014,852,830,887,820,948,1492,1172,822,824,1268,1484,1366,1532,1548,1154,1368,1604,1632,1332,1270,1294,669,576,1042,1400,1722,1742,1598,1664,1366,898,807,1212,1036,1114,1274,1268,1250,1072,947,1240,1444,1206,1084,1072,1172,1114,973,969,1190,1082,807,852,902,932,1142,965,667,747,860,822,963,1030,963,1230,1426,1208,1162,1282,1206,1202,1076,839,844,795,963,912,846,1013,1232,1266,1300,1326,1226,1178,1072,1146,1372,1478,1352,1314,1252,1052,1270,1454,1620,1656,1462,1126,777,772,824,964,908,673,681,835,895,663,960,1142,1122,1342,1294,1272,877,891,949,775,539,424,675,1346,1268,865,1186,1340,1296,1438,1282,1116,1368,1013,940,1308,1015,827,1108,1294,1536,1574,1304,784,521,1044,905,586,886,1444,1466,1130,1100,879,1084,1730,1670,1634,1532,775,463,435,624,950,1512,1634,1200,845,702,685,935,1372,1416,1084,871,925,1050,1392,1304,1422,1424,610,670,921,1007,485,346,469,561,824,1050,854,821,1136,1312,1292,1138,1104,1294,1448,1130,1180,1286,1044,1172,1088,1230,1394,1084,1007,1128,826,840,806,1016,722,1112,1146,831,868,920,968,991,1066,1084,1210,1094,927,842,658,443,458,1007,916,610,599,779,1066,781,440,803,1270,1260,1080,1170,1354,1038,580,705,1146,1648,1800,1406,1444,1021,1068,1248,904,689,864,709,439,592,731,579,550,877,1014,1058,963,666,509,502,579,750,1176,1394,1278,1256,1522,1534,1288,877,430,436,441,444,572,622,537,502,486,456,567,679,712,849,962,1017,1112,1208,1234,1266,1502,1628,1506,1408,1324,1172,1534,2026,906,719,726,937,927,912,1192,1334,1130,1696,3198,3760,2778,1302,1150,995,1048,940,1156,1198,1302,1330,1396,1404,1318,1568,1384,1338,1426,1478,1428,1356,1272,1418,1412,1380,1364,1576,1650,1390,1242,1340,1378,1512,1676,1622,1452,1214,1224,1256,1272,1282,1324,1464,1620,1616,1234,1016,796,1162,1340,1528,1620,1588,1072,997,1726,2002,1534,1150,1260,1126,740,672,938,1300,1374,1256,1328,1406,1440,1350,1078,1324,2112,1772,1610,1576,1708,1744,1996,2100,1760,1698,1926,2122,1634,1536,1538,1210,830,742,822,679,574,533,600,625,1202,2072,1152,1118,1442,1012,706,1036,807,517,543,568,586,893,1340,1618,1672,1402,1260,1013,926,985,932,908,944,1070,1064,852,775,504,631,1064,1094,1116,1150,1072,1062,1264,1384,1498,1710,1832,1542,1262,1324,1570,1332,1438,1360,1418,969,938,1296,1456,1290,1202,801,798,1124,1152,1152,1240,1186,860,473,470,570,621,570,623,931,1064,1222,1402,1352,612,690,1260,1428,1316,1370,1094,821,922,1142,1248,1102,1448,970,828,1278,1248,1354,1662,1410,1236,905,719,822,677,503,560,810,1422,1830,1744,1546,1148,859,918,947,844,1122,1274,1496,1816,1814,1332,1126,1214,1372,1528,1378,890,930,1016,769,784,782,678,593,806,695,680,684,530,643,947,1126,1270,1266,1184,1104,1410,1296,1306,1206,1308,1200,1122,1032,888,614,587,680,763,769,893,864,732,972,1148,1206,1366,1152,733,622,853,1046,1084,912,1044,1686,1730,1390,1342,1242,1252,1454,1766,2046,1620,1100,1424,1544,1128,1116,1560,1588,999,764,744,926,1172,1614,1754,1108,597,684,713,1270,1600,1400,1412,1576,1492,1432,1328,1072,828,1116,1456,852,925,1088,876,1206,1250,1108,1248,1248,1290,1566,1430,1068,915,523,739,898,906,1016,948,1002,1246,1220,1232,1304,1404,1406,1242,1080,1224,1368,1450,1738,1484,1302,1494,1522,1470,1494,1494,1624,1732,1766,1570,1498,1488,1650,1648,1446,1514,1432,1208,1198,1218,1100,1172,1272,1256,1082,738,844,924,1152,1290,1324,1540,1536,1566,1230,1436,1532,1622,1622,1350,821,990,1610,1640,1242,1242,932,1090,1292,1230,783,623,636,928,1252,1074,854,1120,1228,1186,1396,1148,1090,949,1222,1520,1410,1032,788,666,658,650,543,507,564,743,1432,1494,1194,1248,1258,1306,1118,807,1126,1534,1360,1102,1394,1354,1510,1638,1346,905,991,1190,1070,2134,3792,4360,4388,3726,1712,1058,1474,776,550,430,512,542,536,435,729,1124,826,643,616,735,998,1396,932,559,672,938,777,720,946,1366,1356,938,1022,1960,2468,2414,1518,748,784,849,777,655,663,701,904,1140,1116,1070,1254,1592,1150,1004,1196,1262,1004,684,576,523,483,372,363,418,473,453,502,613,554,571,650,591,694,625,388,406,393,377,414,346,397,492,537,707,1798,1676,678,516,607,613,648,734,653,608,858,1174,1208,1086,1116,1260,1338,1102,796,704,792,711,542,471,423,442,438,490,660,688,662,625,560,498,435,456,507,552,645,694,488,472,685,696,517,408,405,416,444,464,456,472,484,453,346,620,845,682,502,440,335,347,452,429,367,324,301,307,310,372,401,365,336,312,285,305,308,326,322,384,390,357,351,339,339,348,365,390,393,388,389,396,398,424,429,412,410,418,415,417,434,459,474,478,493,513,515,489,479,500,500,491,470,457,445,433,431,421,407,395,408,415,405,413,425,443,481,481,464,506,495,451,400,369,396,393,418,389,340,332,337,337,349,351,314,325,363,326,301,322,307,300,294,290,281,265,250,273,273,236,234,244,323,300,268,256,254,250,248,271,288,288,295,286,261,254,270,268,278,334,378,464,467,345,321,375,374,328,339,358,390,352,304,296,317,335,336,309,321,328,293,290,282,277,278,276,275,271,263,271,275,260,263,277,275,279,269,265,294,281,293,294,282,303,332,332,318,303,296,291,286,279,286,315,314,287,263,291,340,438,623,671,821,1152,1130,890,908,1630,1194,754,780,718,714,954,1078,777,462,520,461,522,1248,849,455,532,479,389,729,1100,689,502,591,579,639,676,701,550,554,798,956,1038,1070,901,729,726,523,343,305,282,297,291,285,292,289,282,299,303,280,281,278,300,305,311,348,424,368,348,348,331,337,347,394,451,473,464,350,413,339,301,293,303,316,321,328,364,421,408,403,356,345,307,319,326,336,338,346,336,267,242,296,271,286,326,594,575,439,469,586,549,758,778,561,559,1013,1252,1184,970,903,655,579,530,1106,1322,1054,917,827,751,621,444,293,323,392,391,334,257,263,328,348,326,325,335,335,316,315,291,282,298,280,293,301,300,303,288,270,295,309,312,342,340,294,358,355,367,425,390,354,409,461,504,423,406,447,318,305,293,294,299,305,319,381,492,728,893,794,627,739,804,667,1312,868,592,543,488,429,364,314,321,381,365,370,351,322,340,338,347,386,521,601,693,788,818,930,913,1028,1364,1472,1098,466,410,465,434,719,775,574,700,1306,1700,1942,1948,1902,1724,1184,1306,1514,1354,1236,1266,1142,1660,2240,1724,1310,1764,1618,1334,1296,1410,1238,1436,1532,1388,1340,1252,1296,1476,1400,1478,1310,1482,1588,1168,970,1178,1322,1278,1416,1240,902,1018,894,940,954,938,1003,952,912,838,1056,1414,1392,1316,1296,1410,1170,1182],[1007,647,504,539,814,1122,1010,1006,1240,929,687,576,516,713,907,750,688,810,901,945,843,1118,1238,1460,1896,1636,1278,808,758,982,1124,1220,1108,692,576,913,1052,1060,1466,1110,1001,930,1094,1142,933,647,958,1816,1794,1488,1236,1156,1300,1076,684,928,1196,741,741,693,343,339,335,313,322,396,542,1026,1554,1324,801,794,951,860,509,521,628,1310,1602,1520,1562,1732,1566,1334,907,548,376,305,286,308,324,325,269,302,330,291,262,278,289,285,274,281,293,324,419,600,779,909,1001,1154,1268,1028,999,844,814,914,955,849,578,696,1222,1168,1284,1722,1650,1448,1330,1196,1126,771,703,963,985,1472,815,933,1334,859,559,534,658,875,1032,894,757,850,584,434,483,677,995,1554,2220,2310,1466,1042,1050,755,794,910,910,761,763,1054,933,1007,1362,1408,966,691,717,738,639,415,686,1182,1106,1284,1572,1970,1466,901,957,1058,1138,1196,1138,1224,1164,1144,799,612,697,799,1478,1596,1114,1076,1084,976,974,698,617,695,932,845,1448,1484,1366,1202,807,695,888,857,634,573,520,564,524,521,408,517,531,415,473,603,624,577,624,903,825,596,879,980,598,590,464,700,810,890,1160,1086,696,713,998,987,890,778,1190,1380,1198,1514,1700,1382,1090,1222,1328,1270,1266,1370,1474,873,651,779,812,691,585,543,881,1130,1022,648,434,356,327,339,378,368,327,341,380,414,430,420,359,366,430,417,376,322,252,232,270,262,285,332,326,372,594,875,1044,1021,841,1070,1094,993,1008,1130,1140,976,1018,1354,1558,1390,980,1054,1158,1616,1880,1086,792,858,956,942,1042,1054,847,1100,1448,1580,1314,1270,1274,1302,1308,1426,1192,1042,1098,754,664,772,830,906,1074,847,1104,1366,1804,1576,1204,1282,1456,1618,1730,1552,1462,1076,1194,1324,1266,969,938,883,656,563,852,1300,1308,898,700,962,939,857,994,1512,1218,1330,1542,1156,1015,1000,1010,1488,1670,1158,1248,1098,1034,1086,1140,925,765,718,633,761,835,837,969,1112,847,727,1013,1318,1294,1090,1114,1260,1300,1288,1608,1750,1552,1232,1188,1434,1268,1108,1100,1192,1274,1354,1390,1266,1036,1056,1406,1548,1416,1340,1276,1238,1222,1358,1408,1368,1358,1488,1360,1354,1426,1019,857,623,564,1064,1092,1054,1114,929,744,661,877,1028,1262,1466,1444,1310,1002,1064,1072,1024,1012,807,869,1282,1344,1007,1192,1464,1306,1092,1268,1546,1428,946,1348,1638,1076,1036,1142,1070,1224,1176,1346,868,497,402,408,513,1002,1742,1466,940,1009,1044,953,1228,913,1054,1136,611,389,423,596,931,1406,1578,1288,882,645,562,999,1474,1236,914,1044,1184,1094,1172,1124,1574,1512,505,634,956,810,484,357,601,940,1376,1316,742,763,1260,1188,1144,1260,1188,1250,1606,1274,1064,1188,983,1016,1138,1144,1152,846,786,955,608,594,792,1170,850,1007,1168,924,703,888,1072,1144,1238,1236,1148,1140,1012,905,637,378,319,428,593,809,719,735,1132,838,717,1011,1250,1284,1188,1312,1388,865,359,701,1254,1654,1582,1358,1378,1228,1554,1110,998,1178,1410,1158,566,451,443,408,423,805,1078,1104,1034,754,558,518,556,768,921,886,774,866,1078,927,827,676,582,612,539,496,512,619,672,652,612,644,735,1009,1238,1342,1088,935,1068,1120,1224,1330,1328,1282,1284,1356,1334,1116,1988,2562,1280,869,907,818,861,1114,1222,1206,1022,1266,1978,2374,2052,1524,822,705,1078,1258,1216,1009,1202,1360,1342,1294,1296,1506,1522,1558,1594,1466,1492,1446,1274,1222,1130,995,1280,1722,1588,1196,1184,1260,1192,1048,1278,1272,1188,1122,1208,1312,1348,1548,1662,1442,1388,1278,968,1102,1504,1534,1416,1566,1626,1408,994,1052,1294,1460,1138,1256,1015,749,623,990,1354,1444,1406,1438,1566,1526,1300,1158,1250,1522,1734,1764,1744,1684,1836,1816,1782,1648,1550,1542,1684,1932,1352,901,904,772,821,760,638,598,547,543,895,1144,1250,1310,1526,1654,1460,1416,1358,1262,881,581,630,637,577,639,969,1252,1284,1304,1400,1278,1128,1064,1184,1224,879,852,1021,1128,1036,823,714,933,1196,1302,1052,1007,1102,1116,1028,727,1042,1994,2040,1404,1420,1488,1300,1204,1060,1300,1048,829,945,1240,1280,846,451,532,750,1170,1296,1292,1334,1100,623,476,674,794,728,805,982,1316,1484,1050,896,634,863,1334,1452,1434,1400,1300,1058,1166,1490,1472,1452,1488,794,625,1110,1282,1266,1152,1248,1426,1294,894,659,516,409,561,717,1023,1180,1434,1422,1190,985,871,708,656,859,1240,1412,1998,1680,1110,1300,1492,1520,1472,962,982,1074,1140,797,639,747,836,886,1001,875,1020,1009,700,921,1178,1290,1356,1276,1376,1100,1048,1200,1384,1096,897,924,881,741,796,786,888,946,1096,1021,1078,863,656,799,1012,1218,1264,914,855,777,926,1230,1364,1036,1078,1566,1280,1078,1244,1300,1380,1388,1534,1682,1276,1480,1810,1538,1174,1168,1624,1668,1244,1128,1184,1238,1190,813,913,1170,769,587,559,882,1060,1270,1426,1384,1424,1448,1368,992,642,917,1064,537,846,629,590,1112,1198,1148,1404,1426,1308,1278,1182,1100,984,871,1124,1022,860,910,759,873,952,1084,1124,1424,1228,1028,981,1002,1230,1288,1258,1230,1360,1556,1548,1224,1256,1726,1422,1264,1658,1724,1346,1026,944,1418,1572,1416,1572,1542,1310,1086,804,851,1178,1266,1394,1430,1420,1444,1394,1278,1260,1484,1614,1310,1194,1166,1366,1636,1534,1130,1360,1374,1190,1408,1344,1226,1360,1168,1226,1422,1328,904,614,653,890,1180,1140,1066,1082,1021,1144,1214,1032,1186,987,1224,1478,1242,863,637,548,444,351,322,396,498,753,1300,1394,1406,1410,1268,1346,1094,711,902,1184,1152,1028,1332,1390,1736,1642,1936,1636,919,933,1246,2414,4212,4620,4496,4332,2016,1056,1504,924,559,529,540,559,576,594,1176,1866,1258,1094,933,968,1360,1204,754,576,834,950,702,753,1096,1712,1578,1072,982,1418,2060,1726,872,717,896,1130,1100,753,529,581,716,744,735,860,1021,1482,1406,1246,1222,1007,679,479,672,837,608,410,360,401,441,434,521,629,618,876,1076,761,752,537,435,443,421,375,399,368,547,649,468,680,1370,1460,872,556,519,614,675,623,482,666,728,756,726,1092,1398,1208,1082,1172,1284,1228,994,750,510,375,378,422,449,428,459,621,753,612,632,549,464,444,414,378,476,630,543,480,681,681,514,432,391,403,432,445,476,545,470,451,382,383,529,610,531,435,369,337,377,332,278,289,299,323,337,346,342,358,379,310,291,301,284,314,313,377,386,357,346,351,351,353,361,378,381,393,393,391,403,404,412,410,397,406,404,405,412,422,448,460,466,481,490,491,488,495,497,488,479,464,443,435,423,417,413,398,398,402,397,405,409,410,427,429,457,460,451,486,487,478,459,499,473,398,389,414,366,339,329,359,355,317,338,345,351,341,286,239,251,267,248,266,258,255,242,248,239,243,281,288,270,260,268,275,283,294,296,319,305,281,263,254,260,260,258,269,348,514,566,465,386,394,371,338,368,414,411,374,317,347,409,388,324,304,294,314,332,288,266,271,271,270,270,278,280,282,280,269,262,265,266,290,290,274,287,280,291,286,274,311,325,311,301,301,314,301,284,272,263,263,296,294,294,327,360,404,378,338,383,415,469,766,1176,1448,881,495,571,531,541,650,680,573,501,515,761,636,677,609,711,836,594,471,711,1212,938,604,1328,875,513,550,561,505,621,842,856,913,835,564,440,593,555,484,403,354,317,294,296,300,299,294,312,289,285,276,262,284,284,286,300,332,330,325,315,307,317,336,348,351,376,370,373,543,495,357,294,289,328,333,327,349,406,411,377,365,319,406,428,347,370,379,383,395,324,272,277,300,296,280,326,414,405,507,747,875,891,869,530,675,875,819,885,780,529,333,334,334,903,1312,1112,1100,1182,1172,946,618,396,384,427,432,334,262,251,282,313,324,335,328,321,321,293,281,287,288,283,280,281,282,294,290,279,291,315,396,371,396,376,476,436,314,313,312,291,308,470,637,667,602,429,309,313,302,301,305,291,304,372,511,648,655,574,636,683,652,1086,1604,904,539,596,579,523,494,405,343,385,355,340,313,340,334,338,347,382,455,514,593,677,800,1021,1068,1024,1344,1650,1138,572,397,418,568,734,764,695,736,1416,1732,1788,1682,1684,1588,1318,1450,1234,1182,1310,1240,1122,1430,1660,1714,1620,1538,1652,1282,1246,1266,1378,1506,1366,1378,1434,1288,1278,1396,1344,1456,1352,1500,1694,1564,1436,1396,1340,1520,1738,1378,1066,971,872,946,937,1086,1216,1182,860,778,1160,1484,1506,1280,1170,1348,1478,1264],[620,514,505,637,1256,2062,2194,1192,1154,1394,1496,1106,752,850,963,949,942,966,1124,1342,1252,865,645,1376,1614,1670,1028,433,545,682,1012,1480,1360,975,849,1168,938,1242,1440,1500,1382,1212,1474,1478,1328,1156,1686,2102,1872,1274,921,1060,1320,1428,1140,1240,1278,1016,1128,840,400,361,536,428,386,426,618,912,1066,1240,918,560,892,1170,993,839,570,788,1234,1300,1194,1222,1410,1210,792,505,384,330,293,326,408,445,309,273,287,254,278,295,307,289,247,241,305,541,802,949,1092,1292,1394,1380,1096,678,544,612,791,973,873,765,553,607,988,1024,1314,1738,1502,1692,1894,1156,607,541,630,989,1458,1874,1246,1402,1476,908,509,437,573,671,734,1284,1868,1128,707,664,814,678,711,1556,1994,1926,1708,1284,1178,882,810,1052,1052,954,902,980,642,661,1200,1178,781,623,615,654,531,439,853,1434,1134,1144,1300,1294,971,659,814,1070,1005,922,1021,1190,1110,861,487,382,386,650,1024,1078,1044,1190,1210,1240,1332,1136,847,783,976,1676,2230,1946,1418,996,863,979,977,920,719,514,482,502,705,589,415,428,533,506,506,583,558,415,508,646,334,262,435,601,660,422,310,547,788,938,1316,1244,805,813,725,612,812,1032,1358,1416,1194,976,908,1082,1076,704,618,788,1096,1030,1208,873,890,1074,1005,908,882,848,798,599,630,455,358,311,333,386,409,375,376,385,403,416,442,487,362,321,355,384,408,361,284,260,300,331,319,331,346,378,542,883,1218,1002,1068,1046,933,1084,1304,1312,1186,988,1013,937,1362,1282,1176,1116,1124,2464,2810,1526,816,832,771,927,1024,837,958,1218,1180,1364,1064,971,879,1106,1274,1188,1012,893,840,850,836,829,733,1044,1258,1156,1154,1368,1650,1732,1530,1108,1322,1706,1512,1118,1322,1076,921,1032,998,781,707,816,940,951,1013,828,654,735,570,692,780,908,1230,1508,1138,1212,1482,1066,872,1124,1194,1544,1516,1142,1190,1290,1346,1326,1230,959,741,749,778,1136,1026,979,1218,1418,959,775,1080,1136,955,1028,1062,1011,1144,1338,1642,1480,1224,1198,1192,876,1030,1416,1416,1474,1392,1172,893,1178,1350,1478,1432,1284,1019,825,974,1118,1158,1224,1132,1182,1410,1574,1344,1378,1284,998,1196,794,692,1080,1222,1472,1396,1250,1013,1021,941,1272,997,919,827,1058,1288,988,1008,1208,1128,1050,1028,1050,1070,893,1476,2080,1758,1302,1248,1448,1400,1400,1748,1512,1052,1168,1200,1330,1126,1164,957,598,492,437,443,553,1044,1208,933,896,1158,1230,1084,1094,721,681,649,466,397,487,644,939,1374,1492,1456,890,814,1270,1636,1568,1048,541,926,1324,843,493,552,1140,1148,791,1028,1206,613,332,421,786,1152,1124,844,796,1001,1136,999,952,880,780,639,695,663,624,888,791,503,623,1072,1292,993,780,1082,1158,986,745,799,836,930,1072,1132,1010,1042,1021,1302,1138,1164,993,1140,830,522,506,458,561,596,580,738,577,695,755,931,1003,859,1106,1260,1078,1054,1094,830,497,621,1194,1788,1508,1372,1460,1282,1098,1192,1566,1476,1526,1442,733,438,378,377,392,674,935,990,998,847,822,840,649,571,533,547,669,686,623,529,585,591,512,487,448,368,397,540,811,1026,905,1034,891,1150,1314,1468,936,691,983,1086,1172,1230,1250,1172,1172,1184,1354,1120,1290,1164,1005,1050,888,778,796,900,885,905,1072,1080,1018,971,1116,1196,885,761,1026,1280,1084,1072,1240,1298,1516,1414,1318,1404,1344,1500,1496,1360,1390,1310,1230,1252,1170,1046,1208,1610,1460,966,1026,1040,1120,1622,1780,1222,1114,1204,1534,1848,1678,1656,1516,1516,1738,2270,1860,1510,1578,1480,1642,1656,1478,1262,1058,828,1050,1320,1076,963,750,528,763,1238,1358,1390,1486,1528,1426,1126,925,1062,1510,1366,1188,1570,1622,1528,1626,1584,1512,1594,1532,1676,2002,2510,1672,896,748,840,848,905,860,698,873,1246,1688,1660,1320,1426,1580,1374,1214,1566,1716,1194,677,520,566,647,599,550,683,1028,1240,1258,1592,1592,1274,1056,1056,1088,911,695,829,1538,1404,1092,978,1194,1370,1220,843,727,1098,1012,691,624,901,1670,2078,1814,1400,1176,1540,1484,1052,813,891,855,670,940,1222,893,481,391,683,1132,1306,1298,1728,2030,1140,552,690,926,955,1088,1094,1588,1730,1084,640,868,1326,1434,1348,1072,1224,1108,979,1414,1626,1560,1632,1472,1068,634,633,1034,1190,946,1106,1226,1128,1148,639,492,556,723,644,814,1314,1502,1180,1100,1008,970,586,548,903,1656,1294,1192,951,1000,1482,1614,1792,1512,612,530,791,850,993,1084,1128,1344,1382,1220,1324,1416,1236,992,1013,1252,1466,1324,1294,1344,1104,852,1062,1154,962,830,830,982,712,835,1260,1342,1382,1284,1011,831,761,1070,1170,594,565,786,869,975,889,1106,1122,1094,1038,1180,1418,1456,1368,1176,1080,1504,1550,1510,1520,1296,1496,1600,1512,1434,1424,1604,1688,1316,1252,982,940,973,713,574,635,805,758,769,865,1007,1218,1482,1594,1300,1028,1342,1250,1138,880,776,559,413,317,389,632,792,928,1082,1278,1374,1250,1176,1074,974,1076,1176,1046,1152,1130,915,1120,745,918,1482,2136,1338,896,925,1060,1188,1282,1232,1240,1302,1366,1528,1334,1466,1736,1148,1102,1664,1710,1256,728,1008,1614,1440,1034,1076,1194,1336,1166,752,717,796,1088,1570,1574,1502,1532,1398,1234,1360,1378,1404,1448,1094,1442,1488,1744,1964,1556,1460,1730,1678,1476,1356,1648,1636,1502,1296,1318,1520,1412,1114,1094,990,1142,1258,1376,1050,1009,908,941,1190,1036,811,945,1204,1240,877,529,518,308,353,490,714,758,1076,1272,1438,1716,1650,1362,1214,701,627,894,1122,1108,1328,1362,1704,1798,1596,1982,1794,1346,1202,1404,2272,3646,2890,2964,3912,2336,1506,1662,1054,584,622,557,472,476,568,982,1778,1884,1786,1412,1450,1440,960,828,789,855,822,758,848,1096,1482,1412,1526,1582,1324,1238,954,733,740,951,1222,1216,873,599,521,557,563,577,545,615,1246,1322,637,585,627,694,428,683,858,576,433,393,420,462,465,543,771,994,1228,1064,730,720,483,459,475,461,409,392,430,575,596,487,478,597,893,730,495,441,521,510,529,623,827,870,648,536,751,1084,1166,910,1138,1392,1332,1158,1194,937,543,375,476,586,497,608,908,961,617,655,739,684,630,578,455,359,551,652,464,457,513,493,396,393,366,391,441,489,505,430,426,423,363,368,435,409,401,425,442,399,315,277,287,324,344,337,334,353,353,390,313,290,295,314,352,367,367,357,353,347,356,358,368,375,386,380,389,398,401,408,395,406,403,390,394,394,403,409,416,425,433,442,451,462,480,488,484,477,477,468,452,430,450,423,410,410,401,389,389,397,397,395,401,418,404,421,403,404,409,409,445,445,407,391,457,533,470,403,391,345,333,305,306,317,331,334,303,273,272,276,258,264,286,270,260,246,250,251,252,258,261,270,283,285,285,292,267,274,302,287,269,262,255,257,276,280,272,394,532,584,557,480,388,335,329,382,415,398,354,338,396,426,348,285,290,278,297,325,306,280,269,269,275,284,286,288,309,290,264,273,261,266,278,277,273,273,277,290,283,274,275,300,302,304,305,324,302,288,289,265,248,255,260,269,291,308,327,308,288,279,351,424,698,854,827,771,555,605,608,689,669,672,473,405,731,1400,1462,1126,692,782,950,531,446,437,587,545,2658,4364,1870,268,362,368,344,390,568,706,823,601,337,254,304,329,319,375,384,431,463,363,362,318,286,282,284,281,271,257,274,281,274,265,279,320,346,348,358,361,348,352,358,346,360,375,466,415,362,336,294,331,352,315,349,397,415,379,371,335,438,440,357,410,392,379,377,444,351,347,410,376,315,440,708,926,1104,982,1002,982,804,451,596,607,494,518,639,487,324,325,291,582,1208,1576,1724,1638,1436,1108,688,371,381,422,406,372,344,293,289,333,333,325,325,331,296,279,282,283,287,278,276,285,291,289,283,289,345,557,524,412,439,460,459,374,318,309,284,278,308,470,755,889,662,408,320,289,276,298,302,291,315,348,473,669,725,521,587,644,462,914,1072,627,511,569,575,504,449,419,338,341,335,328,314,315,287,291,335,396,463,491,507,587,669,720,743,722,1009,1158,1024,694,374,383,466,723,814,589,972,1320,1400,1450,1440,1688,1488,1306,1324,1220,1298,1246,1310,1330,1400,1714,1708,1662,1478,1184,1256,1356,1216,1294,1392,1450,1578,1468,1310,1498,1508,1462,1378,1226,1446,1708,1636,1524,1694,1556,1526,1614,1266,1190,1166,1007,912,1084,1312,1400,990,544,792,1022,1258,1272,997,1114,1204,1086,785],[420,502,585,575,810,1284,1416,831,827,1822,2050,1052,807,1510,1522,1220,1232,1388,1488,1544,1344,750,553,792,1216,1398,690,427,561,965,1386,1626,1708,1158,1108,1328,1182,1318,1434,1504,1148,1324,2402,1980,1406,1440,1920,2076,1626,938,827,895,1166,1312,1394,2016,2130,1642,1378,1114,561,400,570,433,339,461,767,609,515,712,523,672,1038,1084,1016,1001,894,865,1114,1004,697,1036,1294,1148,1164,548,333,312,315,497,681,645,411,311,292,283,316,329,407,369,316,343,325,841,1308,1648,1666,1490,1368,1338,1126,704,651,857,1162,1286,1144,771,574,610,669,772,1232,1460,1166,1104,1252,1148,1206,766,688,999,1464,1496,1284,1088,773,658,573,502,688,786,777,1620,2080,1218,889,847,995,774,722,1416,1788,1896,1920,1156,1088,827,1092,1248,1232,989,902,959,716,755,1102,950,797,571,590,641,527,474,894,1422,1378,1286,1009,655,764,777,551,720,713,547,577,702,810,710,506,385,391,387,409,518,698,744,913,1230,1250,1256,957,992,1326,1744,2072,1760,1104,849,951,984,966,1134,859,607,522,683,874,780,590,403,475,626,625,411,422,297,291,335,332,310,333,623,755,558,658,1156,1318,829,1288,1276,927,577,459,421,690,941,1334,1448,1190,876,1030,1316,1500,891,899,1198,1294,1240,1220,828,604,607,550,659,871,848,757,475,412,349,339,332,386,433,425,449,429,393,451,428,423,536,422,343,338,349,375,357,314,298,306,357,360,384,430,366,363,529,1023,830,984,1140,1144,1172,1040,1196,1300,912,788,1026,1116,1004,990,1202,1226,1810,2254,1840,960,757,1038,1168,869,838,810,855,1012,1400,1284,1034,981,1010,919,767,619,738,853,748,1034,998,1186,1318,1298,1216,1030,1366,1548,1384,1090,952,1422,1532,1550,1440,1206,981,825,866,1006,1042,1068,1078,1136,714,913,1194,947,999,875,922,1013,937,1294,1262,789,964,1274,1086,1204,1446,1738,1510,939,573,886,1356,1306,1274,1096,992,1058,1116,1013,1170,962,895,1384,1368,945,755,618,627,661,712,944,1158,1484,1466,1182,952,927,1036,910,624,868,1360,1388,1306,1192,982,699,1080,1288,1266,1110,1054,1092,1176,1388,1334,1032,972,660,1042,1572,1476,1070,741,746,794,712,558,686,811,1026,1356,1150,1028,1118,1068,1136,1504,1190,853,777,688,717,806,818,916,1202,1108,1062,1148,1256,1152,1240,1578,1466,1256,1312,1238,1186,1348,1604,1136,1068,1038,1044,1390,1434,1172,664,603,616,610,588,843,1088,739,760,932,1166,1224,1302,1132,867,800,627,401,374,432,624,945,1416,1492,1514,884,783,1140,1100,1140,1134,665,745,1100,897,645,693,939,1018,1021,1034,1060,943,792,823,1114,1166,1204,979,852,1126,1194,1182,918,547,416,372,439,575,797,1056,1036,805,601,1026,1438,1448,1290,1232,1172,983,760,705,935,875,913,1074,1710,1390,1128,1108,1022,1298,1170,1296,1023,440,539,839,1004,962,654,742,672,722,944,1328,1142,1021,1470,1256,817,648,821,1036,830,606,857,1318,1250,1256,1204,1100,1138,1158,1294,1164,1330,1192,804,451,361,357,330,438,617,704,727,714,835,990,666,528,549,526,582,557,490,506,530,517,448,358,374,439,739,1110,1252,1454,1168,796,846,969,1136,1464,1166,875,1158,1312,1024,1108,1300,1172,978,1060,1162,1096,1044,1050,1244,1140,859,1062,1174,1044,1138,1458,1208,1014,1018,1132,1124,1138,1116,868,1028,1198,1164,1230,1246,1240,1308,1240,1318,1422,1460,1736,1682,1484,1540,1532,1384,1342,1382,1338,1242,1294,1166,966,1066,1230,1354,1688,1884,1490,1530,1694,1674,1576,1428,1678,1606,1528,1550,2020,2142,1594,1386,1520,1596,1474,1278,875,1110,1048,1354,1544,1400,1130,785,814,1204,1266,1324,1484,1520,1300,996,779,688,1068,1444,1308,1230,1274,1324,1584,1638,1360,1454,1648,1412,1920,2040,2140,1510,997,1052,1008,1302,1826,1226,849,1100,1418,1540,1838,1656,1514,1390,1400,1182,1132,1076,590,466,529,651,588,594,568,600,860,1136,1310,1434,1442,1428,1384,973,737,744,659,1210,1340,1108,914,953,1200,1274,1550,1256,778,1160,976,534,539,702,1090,1410,1390,1202,1324,1504,1538,1496,1090,881,985,665,915,1240,1134,775,596,526,692,1032,1298,2272,2380,1128,880,740,1200,1466,1370,1164,1192,1122,637,680,1212,1178,1054,1566,1520,1652,1284,1066,1126,1300,1688,1738,1294,803,733,771,879,987,810,808,933,1380,1244,758,800,1092,1112,1108,1186,1152,1004,1202,1268,1270,876,463,525,1040,1322,928,1040,1356,1384,1814,1588,1414,1134,880,587,725,892,1354,1188,749,1338,1600,1274,1454,1534,1088,1268,1236,1286,1278,1106,912,1068,1166,955,916,1078,1176,1164,992,1134,1140,1096,1182,1196,995,650,714,878,782,936,1274,651,534,858,1026,1060,1192,1378,1222,1146,1206,1174,1180,1494,1480,1016,587,1000,1344,1494,1440,1244,1282,1416,1300,1180,1136,1542,1686,1456,1458,994,662,587,608,623,634,728,990,902,628,1112,1408,1360,933,963,1162,1268,1092,795,787,996,888,727,659,404,332,528,888,991,1010,1194,1198,1268,1268,1158,1078,1130,1170,1382,1286,1142,1108,985,1090,1306,1124,904,773,921,1162,1015,970,1340,1410,1394,1284,1328,1294,1384,1610,1240,1224,1292,1144,1292,1046,1428,2010,1924,1094,933,1074,1320,1248,768,553,610,886,1326,1496,1402,1398,1324,1442,1388,1310,1578,1198,934,1240,1210,1444,2486,2332,1724,1942,1670,1672,1766,1792,1762,1656,1560,1550,1632,1312,1146,1160,1200,1182,1260,1424,951,902,871,1014,976,846,832,835,1001,1232,791,486,509,350,533,937,1013,805,944,1304,1354,1142,918,982,1238,797,844,1100,1328,1550,1856,1786,1724,1642,1664,1754,1634,1536,1332,1426,2152,3494,2564,2706,3640,2460,1472,1488,1230,705,824,883,1042,1188,1106,941,1554,2178,2248,1930,1610,1210,968,838,688,995,727,825,961,1284,1356,1232,1530,1742,1386,801,688,661,663,834,1186,1074,830,888,751,601,545,515,490,483,904,1224,549,522,550,794,635,645,695,618,481,381,414,438,502,880,1350,1490,1330,890,750,666,515,578,596,524,477,411,417,440,439,473,582,785,688,580,417,397,453,497,565,728,1078,1028,566,458,568,625,655,923,1282,1128,1100,1366,1542,1422,823,443,484,698,620,597,752,836,570,480,597,639,595,547,486,483,567,636,547,487,622,575,455,383,335,392,432,451,448,417,425,428,404,320,315,305,324,431,486,437,374,284,278,295,318,318,311,350,353,378,332,286,284,350,379,370,357,350,354,356,357,363,374,376,378,373,379,384,384,390,402,397,387,398,404,398,403,409,417,410,413,426,434,445,444,458,474,480,479,464,444,427,441,426,414,406,400,389,371,382,383,377,397,412,396,396,391,402,408,389,375,389,413,421,470,520,467,523,530,459,376,325,314,329,344,315,285,296,309,321,306,322,304,278,261,252,258,281,306,325,339,328,321,322,312,278,254,265,269,272,272,258,251,272,288,315,334,443,531,560,576,474,365,357,319,306,374,424,377,344,368,405,334,275,282,272,274,294,308,301,283,270,263,277,287,303,298,262,262,284,272,271,265,269,273,273,274,278,267,270,264,277,289,305,317,324,302,280,283,282,280,285,278,266,270,270,290,279,265,295,325,376,515,573,634,711,640,678,735,703,564,521,434,367,561,1130,1710,1494,1216,1062,610,649,511,424,553,353,1816,2076,807,287,326,353,296,271,430,727,970,813,451,318,293,236,206,209,240,289,318,386,423,430,386,301,271,283,263,258,269,268,272,272,266,281,298,327,334,308,272,326,351,346,352,354,348,323,366,373,342,354,368,348,359,389,386,350,341,337,348,327,298,305,307,341,385,553,416,370,386,463,398,666,1288,1262,1330,833,644,599,497,390,457,447,420,536,581,418,343,327,326,395,752,1214,1382,1220,1128,1096,719,424,418,376,400,431,386,350,325,343,332,321,327,323,307,304,289,295,290,272,266,282,287,274,294,293,467,660,525,402,440,461,371,309,314,308,297,293,322,306,485,603,463,332,311,283,289,285,289,291,309,323,382,572,619,479,476,526,458,612,742,532,491,543,590,528,465,401,329,297,304,307,303,309,312,314,349,388,410,445,506,607,698,639,591,687,753,676,655,484,363,366,381,545,626,563,1292,1450,1104,1078,1058,1100,1244,1208,1013,1404,1410,1286,1292,1372,1390,1638,1582,1454,1594,1666,1450,1246,1290,1514,1264,1136,1140,1324,1384,1394,1400,1414,1116,814,1236,1336,1082,1138,1310,1284,1216,1138,993,990,1172,1222,1164,1102,1224,1336,1038,858,914,842,763,804,1064,1362,1522,1270,960],[462,624,872,845,763,764,932,693,623,1300,1472,914,1168,2244,1934,1936,1676,1306,1338,1170,799,594,572,955,1734,1628,682,477,722,1140,1518,1380,1572,1708,1702,1342,1406,1524,1274,1236,1280,1360,2258,1394,1260,1446,1856,1814,1038,1008,1252,1042,1060,1236,1684,1936,1608,1170,874,1044,932,765,583,397,438,778,896,534,442,487,586,1024,973,695,568,511,823,969,830,824,961,1116,905,965,1358,879,382,318,348,754,987,864,678,379,267,268,280,340,350,358,361,456,453,957,1586,1628,1302,1476,1744,1548,1144,885,848,1226,1566,1682,1296,813,719,684,710,872,1330,1622,1440,972,966,1512,1138,615,597,1002,1082,1060,1190,816,678,777,722,835,1003,961,884,1076,1050,933,948,1052,910,577,672,1030,1562,2204,1526,1190,1048,801,1172,1432,1218,905,855,1070,1013,833,933,1100,1196,835,547,515,498,445,464,890,1182,1190,1140,945,986,805,458,349,260,335,412,604,647,513,437,427,413,399,322,346,448,618,628,1036,1306,1092,787,1210,1816,1960,1722,1003,692,670,686,973,901,905,901,739,684,713,517,552,695,493,427,612,577,330,301,248,256,336,489,478,533,828,759,560,734,1358,1302,962,990,776,575,487,455,392,578,1001,1174,1290,1136,879,1502,1660,1450,1322,1664,1664,1454,1268,993,780,543,446,472,559,724,697,494,379,357,342,345,332,350,393,411,400,406,432,443,423,416,497,459,391,364,337,337,315,252,233,235,304,368,438,501,474,437,476,735,859,925,1066,1190,1052,1046,1136,1152,1134,938,1112,1088,871,979,1023,1000,1414,1704,1758,1260,1160,1472,1394,1210,973,821,1178,1280,1056,1024,862,600,812,866,708,474,525,916,1222,1050,771,890,963,1136,1302,1094,1252,1238,1060,1366,1428,1130,1188,1268,1194,1250,1158,905,1042,1236,1476,1188,1112,1258,809,996,1486,1206,1208,1358,1420,1306,1023,1142,1208,1038,1198,1030,991,1230,1276,1386,1204,846,883,1338,1678,1560,1202,796,998,1330,1366,979,868,903,940,1122,1070,1032,1009,823,1032,1042,661,1252,1770,1738,1418,1046,732,651,885,894,986,1036,1242,1404,1318,1142,912,929,1092,1160,1236,1202,1290,1406,1480,1290,1186,968,929,943,1009,1160,1020,652,1005,1274,862,508,435,651,802,804,1082,857,722,1194,1046,983,1042,929,1084,1288,1190,1232,838,558,530,533,720,844,753,1188,1436,1334,1268,1132,1276,1460,1194,922,836,1126,1304,1246,1152,1216,1442,1626,1216,806,881,1090,1152,719,754,634,713,733,872,1106,1310,1228,846,711,655,700,415,435,561,695,993,1306,1642,1506,942,916,1092,1032,981,1206,1116,1238,1338,1202,1150,1332,1502,1138,786,839,1086,1082,902,1302,1562,1124,871,551,524,890,1176,1272,1034,624,415,460,543,789,1036,1007,1076,1198,986,962,1012,1007,1060,1040,767,711,1104,1124,1080,853,788,994,1156,1046,926,757,854,1098,1230,1224,698,429,551,1150,1350,1017,691,1013,941,854,1220,1420,1028,979,1554,1302,810,575,570,607,794,868,1023,1204,1220,1304,1064,855,755,412,548,651,855,1154,891,463,356,464,587,547,496,543,540,622,716,865,700,614,618,590,503,501,541,626,852,1206,1138,673,718,1016,996,1150,1260,1716,1372,897,1052,991,856,999,1186,1210,1372,1410,1182,1436,1444,1314,1444,1156,904,1032,991,960,773,902,1222,1266,1294,1208,1472,1894,1290,810,969,1114,1114,1142,928,736,1108,1444,1430,1364,1440,1328,1312,1466,1456,1472,1614,1592,1404,1238,1340,1476,1500,1512,1444,1480,1366,1358,1380,1436,1568,1710,1842,1296,1372,1572,1592,1512,1368,1258,1252,1608,1534,1234,1268,1428,1528,1584,1654,1658,1516,1422,1130,836,929,1048,1380,1554,1502,1250,1214,1276,1494,1614,1584,1464,1104,827,742,659,512,695,1048,1190,1198,1222,1410,2004,1876,1426,1310,1270,1294,1500,1386,1100,1100,1250,1944,2086,1582,1194,930,1028,1306,1290,1386,1692,1578,1256,1384,1508,1246,924,635,492,440,496,574,562,573,591,653,996,1390,1356,1376,1572,1580,1554,1258,1160,1112,1246,1558,1108,705,805,941,925,1148,1504,1368,1212,1324,1234,705,474,530,755,1120,1238,1226,1426,1730,1902,1572,1322,1312,1764,1248,1034,1036,1126,1134,962,637,523,778,1438,2322,1478,830,1010,1082,1390,1664,1538,1394,1290,1116,1486,2142,1604,1206,898,1116,1534,1980,1706,1108,1108,1508,1526,1212,844,663,989,741,649,966,1260,920,937,1382,1356,1104,1174,1020,564,838,1150,1322,1280,1456,1332,1404,952,496,684,1056,838,722,1382,1614,1158,963,784,1056,1023,1038,1142,1176,1248,1456,1072,666,1026,1170,1220,1186,1180,850,1152,1378,1204,937,754,672,763,1000,1060,910,1130,1296,1422,1236,1302,1278,985,781,833,634,454,644,758,763,1050,1194,769,473,547,951,1330,1636,1576,1470,1288,982,1023,1162,1518,1560,1268,875,940,1400,1392,1278,1416,1238,1104,1182,1270,1308,1678,1510,1576,1666,1344,796,572,519,541,602,557,868,1042,764,1054,1086,898,690,808,1016,974,844,839,785,665,686,1188,999,466,392,521,722,865,847,1086,1280,1360,1382,1010,910,1364,1494,1400,1226,962,995,1066,1094,1112,1136,993,775,647,856,692,550,952,1190,1354,1202,1020,1136,1286,1246,1122,783,598,624,1146,1094,1338,1792,1676,1410,1060,981,1378,1356,929,658,813,714,793,1238,1412,1400,1490,1470,1454,1588,1188,619,622,930,1054,854,1398,1318,1362,1548,1460,1538,1648,1614,1616,1748,1816,1466,1084,778,1144,1046,917,1108,1098,1116,1240,1106,979,1168,1138,935,905,918,1154,1336,822,561,478,383,720,1230,1266,1030,1246,1404,1054,772,583,579,1134,1274,1064,1072,971,1270,1814,1650,1568,1810,1772,1716,1606,1496,1376,1446,2156,3276,2996,3588,3904,2134,838,923,1260,749,1104,1068,1026,977,1052,1188,1376,1582,1596,1350,1180,778,749,969,786,1062,761,702,951,1592,1626,1440,1600,1638,1462,921,664,620,788,959,1222,894,756,1007,1060,797,601,513,487,491,690,1126,751,694,680,905,954,753,588,560,467,426,442,485,570,995,1340,1330,1026,701,771,777,594,535,626,623,613,470,436,421,390,386,468,597,641,585,442,413,534,688,739,645,922,935,635,494,440,481,553,828,1176,1090,1032,1380,1500,1350,776,521,677,1010,726,526,515,498,469,416,421,475,503,465,417,628,648,592,637,726,957,763,441,366,297,331,358,396,391,410,404,390,417,437,446,387,312,324,343,399,354,283,275,280,276,291,375,393,427,450,427,346,302,357,361,354,363,356,345,351,360,363,365,364,360,367,373,382,381,382,396,395,388,390,392,393,389,384,390,399,405,413,424,436,424,450,466,468,451,450,447,435,425,417,417,405,392,391,370,366,370,371,386,376,371,375,373,371,367,362,361,379,371,386,419,436,484,576,625,587,532,494,434,394,374,334,328,338,307,315,298,284,270,273,313,328,296,325,346,329,344,344,350,327,284,251,250,267,296,301,297,290,280,267,259,289,393,474,526,557,563,445,369,396,354,346,446,523,459,381,346,374,348,325,351,355,343,322,307,317,293,270,288,277,274,299,285,285,287,260,258,270,266,267,266,273,273,273,274,270,270,278,300,316,305,290,287,287,283,287,292,281,263,282,286,279,273,261,264,282,305,338,378,415,504,607,585,576,668,623,623,578,417,383,461,835,1070,748,1120,936,447,517,431,424,521,790,803,565,416,388,370,299,269,249,349,496,827,769,433,341,313,263,227,212,223,210,196,239,250,332,406,345,273,292,277,268,274,269,270,293,287,290,296,290,293,296,289,295,317,340,330,330,363,361,372,411,428,412,369,322,322,354,360,343,339,327,309,307,309,301,286,302,434,480,398,367,410,595,601,739,1278,1222,1202,782,405,297,318,314,320,316,373,534,503,271,304,326,292,320,449,600,848,1270,2150,2372,1418,1306,775,464,394,420,398,364,338,314,312,324,307,276,273,277,291,299,280,279,278,266,272,269,277,280,418,513,470,386,408,402,326,297,324,334,314,297,282,292,304,334,329,311,290,278,270,278,293,336,412,436,409,432,430,415,436,495,504,495,491,484,463,502,572,509,457,407,337,300,303,299,300,294,325,327,327,356,362,335,366,439,448,468,571,594,452,358,389,392,355,337,329,322,458,795,1180,1272,1250,1000,916,1036,1060,1044,1052,1482,1418,1224,1360,1494,1440,1542,1552,1432,1252,1172,1212,1038,1092,1136,1346,1348,1364,1178,952,1072,1102,999,849,810,1070,1348,1334,1140,832,1070,1272,1246,1154,905,968,869,916,864,943,1048,953,780,668,603,595,905,1210,1378,1418,1364,1210],[772,836,953,1042,1076,1100,960,665,623,908,865,1060,1586,2078,1934,2012,1634,1404,1542,1472,1144,962,918,1334,1518,988,549,513,965,1442,1366,1170,1126,1366,1434,1130,1720,1600,1058,1128,1114,852,890,1046,1494,1794,2064,1374,738,1086,1390,1368,1316,1416,2042,2008,1470,816,516,646,949,1234,1108,813,963,1338,1310,1158,849,555,775,852,659,501,444,372,470,808,916,766,675,641,508,616,1178,1126,595,277,305,648,968,1172,960,493,327,313,281,317,326,301,530,1182,1108,1128,1952,1654,1096,1528,1836,1568,1082,933,830,1440,1506,1156,841,721,778,879,888,980,1510,1472,1046,833,875,958,602,387,464,772,1092,1546,1714,948,612,580,504,807,886,1056,1214,1384,1404,1182,1260,1304,926,711,1016,1406,1720,2014,1208,938,784,892,1204,1222,944,873,725,1120,1274,924,700,734,1038,1008,570,426,619,830,724,554,651,1112,1758,1766,1356,1008,587,489,458,454,512,681,655,451,355,423,413,400,337,390,382,440,468,727,986,897,800,1246,1450,1232,1009,866,645,567,735,1306,1144,705,535,654,794,644,455,545,761,724,579,757,739,529,298,214,272,440,715,679,562,576,572,610,661,1076,1072,921,802,647,453,420,630,924,1088,1072,927,1338,1358,847,1226,1406,1552,1540,1102,883,1126,1304,1126,962,790,689,706,674,602,473,339,328,342,351,354,358,324,357,428,406,402,391,365,346,390,453,453,372,304,305,304,258,211,211,228,266,301,348,397,477,569,519,407,484,755,1080,971,1096,825,850,899,984,1232,1472,1218,1102,1044,871,987,1176,1598,1936,1510,1150,1284,1466,1394,889,885,1432,1196,747,785,669,1170,1426,999,758,482,438,1026,1290,1146,1238,1424,1604,1550,1588,1124,1072,1354,1040,1166,1066,971,1130,1214,1384,1528,1098,933,738,732,1098,1124,1338,1520,1142,927,1236,1426,1394,1414,1410,1274,900,716,1072,1194,1324,1348,1284,1060,1026,890,467,486,819,1046,1094,1122,878,796,984,976,1070,996,866,806,650,865,1092,1122,1086,899,1294,1150,907,1362,1482,1256,963,955,890,818,1216,925,908,1330,1376,1320,1374,1184,1106,1218,1108,1134,1032,968,1186,1086,1072,1170,960,933,662,688,1144,1296,973,1162,1486,1172,863,633,521,932,809,924,989,705,647,988,1076,830,849,1050,1130,1274,1076,1148,1046,1310,1040,968,838,621,826,705,777,1230,1418,1346,1196,1146,1078,931,751,1208,1512,1370,1246,1126,1262,1356,968,868,960,1554,1332,630,502,648,765,774,1062,1440,1534,1116,631,663,771,695,472,485,670,706,1015,1252,1776,1708,723,1066,1434,1300,971,1182,1288,1366,1322,1106,1130,1144,1042,873,823,882,1434,898,725,1332,1814,1086,601,639,1056,1416,1304,1148,993,780,780,824,772,1106,1310,1094,741,875,1074,1134,985,835,804,1114,1011,1056,1220,1126,824,858,728,796,692,585,785,979,881,638,802,924,568,497,537,1082,1428,935,796,1140,1016,1010,1372,1214,769,1046,1456,1242,828,577,618,745,875,1092,1230,1224,1190,1454,1146,551,455,475,583,788,902,1046,759,451,528,929,1100,962,719,507,492,620,683,840,1026,920,954,972,760,729,893,1066,1266,1412,1238,1094,1214,1238,1172,1326,1520,1648,1386,1278,1398,1208,1056,1194,1362,1404,1494,1566,1328,1532,1584,1500,1522,1208,988,795,885,1202,1192,1502,1690,1420,1294,1228,1310,1404,1156,1070,1124,1128,1156,1396,1124,847,1148,1388,1260,1414,2194,2018,1120,1168,1178,1252,1316,1104,1234,1104,1102,1450,1380,1140,1084,1126,1264,1306,1356,1476,1526,1794,1792,1462,1562,1808,1510,1264,1340,1344,1384,1438,1282,1124,1262,1488,1450,1492,1520,1562,1598,1338,988,955,787,755,1074,1290,1346,1390,1418,1340,1390,1584,1260,899,736,620,504,570,744,944,1036,1278,1440,1470,1466,1746,1918,1588,1322,1260,1062,1130,1174,1264,2104,1598,2104,2392,2076,1628,1222,1108,1346,1294,1240,1484,1428,1350,1456,1328,907,739,631,458,388,459,532,562,546,534,713,1270,1688,1384,1466,1354,1604,1608,1568,1592,1590,1494,1424,1232,949,913,869,813,953,1122,1520,1502,1406,1448,1098,800,636,797,1194,1106,1140,1204,1406,1700,1690,1760,2114,1858,1346,1080,912,1064,1242,1096,660,575,845,885,593,574,732,1026,1242,1366,1406,1408,1418,1322,1384,1678,2020,1538,1418,1262,1268,1466,1748,1706,1508,1600,1808,1362,789,674,1007,1140,638,859,1190,1358,1188,988,1068,1118,1020,1018,736,473,578,1044,1290,1372,1500,1510,1446,1192,932,846,1015,672,742,1036,985,853,742,686,886,1013,1126,1408,1456,1234,1230,973,439,688,878,1286,1262,1184,843,766,1026,1038,653,571,683,614,861,988,824,881,1338,1222,1238,1328,1296,1088,821,760,630,553,760,954,1240,1242,1132,908,462,390,789,1382,1790,1678,1492,1096,719,1320,1430,1592,1406,1392,1198,1098,1418,1290,1172,1322,1236,1228,1314,1278,1346,1740,1500,1422,1402,1372,1015,566,543,605,646,482,562,844,661,681,631,557,706,724,606,590,645,608,404,388,465,758,557,388,580,810,713,802,1196,1376,1590,1642,1274,929,951,1192,1246,1156,1086,1020,1058,1168,1124,1118,934,682,658,407,633,597,395,633,1084,978,836,927,1044,957,1154,1422,906,582,802,1048,1003,1092,1310,1188,1042,1060,1194,1180,1136,1208,770,572,702,782,1006,1132,1304,1440,1306,1214,1136,691,438,439,594,939,758,805,1362,1516,1342,1402,1362,1324,1656,1758,1510,1502,1170,1032,1001,1230,1280,1110,1246,1332,1356,1352,1234,940,1036,1005,1088,937,923,1064,937,749,625,464,480,597,916,1142,1132,1356,1384,1050,789,587,547,744,1154,1160,1080,1082,1170,1500,1574,1746,1604,1548,1488,1454,1460,1412,1482,2206,3670,4176,3984,3418,1652,631,729,1290,1060,1132,744,678,749,625,556,736,1146,1064,583,614,718,872,1120,984,1048,754,586,916,1540,1716,1426,990,1044,1318,968,633,568,703,1060,1054,716,684,918,1034,894,811,694,544,543,724,1192,995,842,869,1056,1108,836,702,785,612,524,430,479,536,565,673,698,590,697,817,712,692,622,612,658,632,476,446,437,358,356,443,531,604,585,470,503,744,909,1016,1022,982,1007,938,780,502,509,697,657,711,771,850,1310,1394,1354,850,739,1094,1384,1032,727,612,574,626,492,602,539,512,422,350,485,572,483,604,777,1001,784,430,432,306,324,324,342,361,407,420,404,422,522,590,471,334,294,313,356,300,294,269,306,294,287,404,507,526,458,451,523,437,363,340,336,355,357,351,352,360,361,358,358,371,369,364,383,387,379,379,377,377,379,387,394,393,385,385,390,397,405,414,426,416,447,450,455,446,440,444,428,429,432,412,393,397,387,384,380,371,366,368,364,358,356,368,371,378,375,378,397,378,393,415,407,412,464,523,558,576,514,493,427,411,403,368,344,342,336,313,290,289,307,349,349,332,317,336,322,338,348,354,331,296,277,262,255,257,275,281,334,309,290,292,327,436,477,505,561,610,560,400,396,420,414,453,540,537,427,337,310,325,392,467,469,406,315,297,335,309,285,270,259,266,264,256,267,269,265,262,270,273,273,271,273,273,270,285,292,281,292,312,312,294,288,287,309,300,281,295,288,266,284,292,276,273,282,287,300,312,331,380,392,410,460,551,626,531,417,463,448,350,354,390,448,410,463,703,443,373,355,358,430,621,941,1158,1240,884,601,431,330,483,438,338,343,561,584,377,281,235,226,212,209,200,205,199,207,207,241,343,312,282,294,301,290,281,274,265,276,264,267,279,282,274,281,299,300,330,326,326,321,330,353,364,358,397,412,368,334,336,332,337,339,343,331,319,337,342,307,268,347,437,357,355,377,356,454,502,803,1202,1406,1318,965,589,406,327,348,404,379,346,346,328,301,277,289,284,317,425,539,1676,4300,6396,6068,3694,3234,1378,541,408,453,400,318,284,293,319,315,338,369,386,339,324,326,358,351,310,290,274,277,276,267,305,329,337,346,328,319,294,288,352,312,280,275,287,304,291,290,291,308,298,295,288,305,336,387,401,387,375,358,371,410,431,467,483,478,444,453,445,473,527,530,498,445,333,303,312,296,299,284,311,310,289,287,302,289,284,336,358,374,504,498,360,366,405,374,346,343,343,364,538,911,1198,1250,1224,1142,1210,1204,1130,1046,1170,1444,1346,1184,1378,1538,1454,1422,1614,1722,1610,1610,1468,908,858,1172,1378,1438,1390,1272,1332,1146,1136,1692,1576,984,684,1336,2020,2204,1444,1226,1482,1454,1364,920,792,778,834,932,1021,1190,1042,872,736,458,667,1000,1344,1450,1398,1456,1072],[962,890,826,818,787,835,761,653,711,955,880,1110,1368,1410,1562,1522,1320,1346,1482,1158,838,738,891,1166,1290,1044,763,810,852,894,1290,1422,839,930,1354,1248,1582,1000,750,748,476,411,585,1118,1412,1746,1720,982,700,913,1188,1254,1348,1844,1988,1612,1122,682,501,558,1190,1708,1396,1068,1100,1290,1440,1656,1444,1118,843,507,445,513,780,813,492,719,745,441,341,334,319,372,730,1064,954,462,304,330,530,909,761,359,425,505,386,396,442,324,355,546,608,1090,1918,1620,1368,1362,1196,1244,1001,935,921,1268,1218,895,998,998,1036,1262,1478,1556,1344,1022,998,842,543,582,634,374,407,605,670,778,1184,661,398,434,440,697,1204,1434,1184,1332,1350,1198,1086,658,583,878,1064,1266,1352,1015,951,1098,1188,1278,1380,1216,1009,1142,1094,1270,1316,1224,1158,1016,1046,823,531,674,1052,1526,1670,872,588,978,1002,1070,1526,1184,788,907,890,791,667,839,801,541,429,490,420,430,396,426,453,429,473,569,758,857,793,1134,1104,1096,1264,1386,844,778,816,1062,1482,1290,777,768,655,530,497,497,670,843,731,774,956,836,455,345,451,723,1250,1166,623,412,425,729,973,1318,1042,688,750,709,552,477,662,978,1094,976,1282,1432,1012,543,597,884,1116,938,569,648,952,1228,993,747,650,569,545,484,421,358,376,407,317,321,335,358,342,381,415,420,425,430,375,383,442,436,439,332,261,273,287,242,213,206,215,221,251,294,330,493,641,572,433,398,470,779,802,797,1042,1034,1094,945,1100,1388,1372,1400,1246,783,833,912,1120,1536,1626,1180,952,1048,1100,1048,1284,1758,1122,527,487,669,1682,1438,973,1078,1070,1438,1334,952,1154,1140,1268,1422,1380,1246,1042,1080,1024,800,948,1158,1308,1132,1094,908,874,755,933,952,1250,1338,1324,1328,1140,927,803,1256,1294,1382,1310,1484,1094,1024,998,1372,1454,1054,843,959,1046,1190,908,718,455,448,500,962,1156,1010,741,612,646,886,1104,987,889,770,1070,1168,950,979,1074,1102,941,955,1170,1404,985,872,1330,1112,814,1064,756,887,1282,1212,1170,1220,1082,977,1020,921,1290,1096,1100,1108,1074,1158,1052,778,855,691,777,1194,1166,1108,1436,1556,955,788,664,769,1382,1292,1136,1134,1236,1310,1588,1508,1228,711,969,1002,1048,987,1120,1240,1464,1256,1360,1098,1086,1338,792,565,471,955,1266,995,1080,1228,1156,1070,1406,1636,1632,1438,1382,1432,938,540,794,1280,1390,884,502,621,864,906,973,1180,1482,1554,963,664,927,1216,922,464,872,1108,772,1052,1364,1682,1656,672,1046,1200,1106,993,1296,1610,1666,1234,713,615,499,479,543,689,581,860,569,939,2132,2758,1380,542,602,1044,1516,1378,1280,995,1036,1212,1116,693,938,1118,1096,965,756,753,945,1032,815,849,1198,1152,1234,1300,1300,1060,923,949,1072,1032,880,1028,1048,852,593,546,661,591,599,682,841,741,568,692,828,928,1136,1318,1190,725,1176,1450,1246,1036,649,649,766,853,1192,1194,1312,1228,1428,1500,1084,1246,1066,833,1158,1310,884,517,464,460,484,521,971,820,521,477,551,554,695,1074,1252,1170,907,751,998,1124,1200,1212,1216,1312,1220,1160,1092,1322,1456,1354,1470,1614,1412,1400,1356,1178,1362,1250,1378,1440,1178,1062,1386,1548,1646,1682,1540,1242,912,960,940,1010,1324,1348,1266,1328,1296,1268,1262,1244,1072,1064,1058,910,813,821,1009,1324,1436,1328,1476,2168,1896,1108,1102,1202,1202,1140,1052,1214,1222,1126,1252,1232,1208,1094,943,886,1042,1026,1086,1266,1814,1780,1328,1562,2176,1814,1338,1202,1262,1444,1256,971,1062,1204,1338,1556,1728,1482,1436,1334,830,811,1158,971,712,761,799,1244,1484,1432,1418,1346,1106,933,773,661,534,433,536,860,1202,1324,1742,1594,1426,1444,1562,1610,1442,1200,1028,874,872,853,1122,1094,778,913,1494,1638,1310,1034,1010,1086,1132,1418,1500,1324,1172,1202,874,437,509,759,597,326,395,491,582,639,836,1174,1654,1608,1190,1466,1620,1758,1472,1296,1522,1710,1376,1232,1194,941,716,777,844,797,1120,1888,1888,1554,1366,1324,1328,1078,1052,1048,1288,1856,1338,1224,1576,1634,1996,1952,1538,1416,1226,889,901,1116,1172,856,875,986,695,602,720,930,1130,1218,1342,1282,1312,1414,1332,1462,1484,1418,1326,1184,1436,1654,1606,1534,1480,1636,1628,1526,1200,1028,1060,1154,916,800,797,894,1216,997,800,791,569,688,954,620,452,714,934,1040,1106,1412,1784,1446,970,832,862,1042,940,906,1086,1284,1046,861,554,543,861,1052,1194,1260,1068,869,1100,843,706,984,1220,1164,1096,1060,913,679,625,531,775,986,1054,786,639,1001,1720,1786,1542,1566,1380,1396,1430,1274,932,701,559,924,1342,1782,1432,1042,949,802,880,1166,1428,1910,2072,1930,1166,579,1034,1148,1102,1150,1382,1204,1250,1294,1162,1152,1170,1130,1098,1202,1158,1404,1766,1620,1458,1578,1488,1084,752,810,1186,978,656,677,988,880,850,996,967,1062,1208,756,623,844,639,587,567,447,447,404,387,443,565,793,1028,1214,1534,1788,1726,1346,1376,1112,901,893,1018,1168,1088,1104,1256,1168,913,798,461,382,370,403,365,296,520,783,654,594,598,755,926,1144,1198,723,471,452,688,776,599,664,732,698,1010,1186,1186,1122,1146,979,904,962,995,993,1038,1138,1178,1134,887,541,615,830,866,802,1036,1138,1142,1358,1312,1156,1152,1238,1200,1324,1492,1498,1422,1274,1166,1776,1880,1338,1318,1224,1348,1526,1218,934,832,771,779,692,671,1106,1124,759,764,678,533,694,505,805,951,929,1216,1418,977,635,714,723,555,724,1140,1714,1920,1574,1514,1610,1588,1968,2290,2334,2386,2386,2322,1806,1472,1926,1910,2254,2032,1046,504,621,1310,1532,1320,1070,1007,1076,1222,1282,1184,1216,1262,1252,1332,1384,1588,1428,1334,1224,758,737,1188,1660,1850,1642,1132,1426,1644,1048,614,583,667,924,843,617,814,957,810,826,807,826,741,622,630,716,658,613,610,789,1090,1146,1086,1218,882,746,789,828,803,730,738,702,702,949,868,622,692,708,632,658,566,489,496,486,419,440,570,623,612,606,482,581,1084,1378,1278,1012,755,655,820,826,593,722,1072,948,636,761,1120,1368,1446,1212,896,1018,1180,1180,1030,920,753,638,634,548,677,531,467,429,356,351,414,395,477,608,675,495,408,360,326,343,350,357,450,459,440,397,402,578,705,448,331,303,339,336,307,293,281,298,305,317,371,457,542,509,490,531,474,370,332,331,349,353,353,355,353,364,360,360,364,362,374,368,361,375,377,370,375,377,382,389,396,391,390,389,403,401,401,411,416,448,448,452,455,431,428,419,413,418,409,397,400,381,377,368,363,368,365,362,357,349,359,355,363,349,363,389,390,399,422,410,376,390,440,476,501,508,541,507,485,460,415,399,377,357,351,328,322,330,344,339,342,325,322,322,327,339,339,323,297,287,272,259,248,260,265,325,293,266,292,357,434,443,483,600,714,641,507,419,555,596,504,420,410,386,339,353,440,497,492,494,457,333,298,332,327,298,270,258,255,250,248,253,253,261,262,290,270,271,286,280,271,257,265,289,292,293,289,289,286,295,286,302,298,283,291,276,267,286,283,276,276,292,311,316,333,369,401,405,411,446,570,634,526,413,340,546,639,468,382,419,407,774,747,352,377,331,356,415,436,466,870,1148,1314,956,493,317,438,403,278,358,429,431,501,463,360,287,239,212,193,215,205,201,199,294,375,290,308,296,303,288,271,260,256,259,266,276,278,274,272,278,302,320,362,335,326,328,318,338,371,367,356,364,359,372,375,340,336,346,357,355,364,357,338,313,297,332,365,340,329,418,461,478,448,1038,1446,1398,1316,1009,697,484,360,417,517,368,328,317,361,315,247,280,392,416,465,386,1592,5272,6368,4828,2944,3754,2442,888,389,412,342,318,358,414,446,438,454,439,422,403,422,415,401,418,422,384,341,328,348,336,379,369,341,332,352,372,367,346,331,329,363,388,374,363,356,360,361,373,363,377,398,414,414,396,361,351,370,385,392,439,431,444,440,466,451,430,435,445,468,498,520,516,404,310,293,305,296,280,296,298,282,280,291,303,306,310,321,374,543,449,357,378,385,361,354,361,378,414,522,830,1046,1112,1200,1272,1260,1220,1164,1078,1206,1302,1338,1274,1170,1358,1428,1262,1444,1786,1650,1622,1576,903,706,1032,980,852,778,885,849,902,1078,1374,1138,756,625,1140,1686,1822,1348,1040,1128,1156,903,804,620,464,550,653,805,1003,778,651,607,326,453,760,1042,1110,1150,1032,761],[951,862,772,814,733,655,642,600,606,1015,1550,1382,1078,1194,1238,849,857,890,911,648,493,523,530,710,1170,1336,1078,1204,1010,663,915,1112,750,1440,1814,1038,871,522,382,360,359,495,872,1078,1004,1252,1358,1482,1072,1015,1238,1222,1360,1946,1958,1548,966,488,470,505,683,1130,920,977,1264,1538,1466,1370,1356,1376,979,467,613,725,1096,1206,708,543,409,306,324,316,316,346,390,648,1030,915,411,330,319,389,401,297,551,716,517,407,427,326,320,285,378,995,1740,1832,1748,1492,1220,1348,1384,1366,1562,1522,1156,860,1156,1076,1132,1532,1512,1548,1050,723,965,842,406,800,1248,652,443,577,528,440,413,347,365,409,391,661,1270,1270,763,915,931,1112,748,529,782,1212,1266,1330,1007,507,584,902,1290,1378,1446,1294,1078,1186,1564,1506,1122,978,1184,1206,825,575,564,1005,1072,1472,2034,1456,1056,1292,1082,990,1314,974,767,1228,1370,924,681,792,680,520,528,483,449,458,433,530,608,579,540,499,632,921,873,875,1126,1714,1310,989,915,1242,1396,1152,1148,1274,1108,814,574,521,541,610,715,792,729,692,871,956,536,400,595,933,1216,882,459,461,536,802,1056,1234,986,683,761,735,649,572,659,905,914,818,1154,1144,636,444,560,958,1066,594,517,856,991,1102,777,718,690,538,436,418,448,407,359,369,304,303,309,327,358,399,419,484,493,434,393,383,402,364,432,343,256,250,262,240,227,217,213,218,227,236,361,624,684,597,498,435,391,412,709,933,1050,1212,1268,1080,944,1112,1544,1624,949,810,712,844,957,1252,1582,1348,817,913,1084,878,1230,1194,806,617,586,860,1266,957,1208,1266,949,1460,1638,995,944,698,925,1034,935,821,960,897,481,469,755,1001,897,729,690,595,763,707,882,943,997,901,1082,1342,1260,1220,940,943,888,1072,993,948,988,1226,1224,1148,1106,1258,1706,1766,796,602,942,1042,613,522,536,980,1296,988,588,886,1404,1332,1288,1304,1378,1136,1058,1118,946,865,1007,1218,1382,1062,749,832,863,1190,1636,1222,1080,1264,1086,1288,1362,1322,1356,1186,1188,1366,1140,991,1234,921,929,1220,1164,1224,946,796,1058,846,896,1194,1118,1180,1018,769,660,644,578,770,1017,976,819,1062,1488,1590,1650,1562,1100,733,1138,1376,965,716,819,985,1007,1106,1086,882,1130,1490,1148,530,547,694,1013,1404,1382,1218,1114,1232,1548,1560,1700,1584,1580,1144,570,551,1348,1814,1372,907,833,877,1178,1240,1238,1248,1488,1302,689,651,1066,973,561,454,880,913,745,1030,1358,1814,1542,663,882,1178,944,878,1512,1820,1770,1300,720,529,500,445,419,410,426,412,572,888,2198,2518,1280,662,523,597,959,805,970,803,894,851,647,420,569,691,685,737,650,556,783,1194,1214,917,958,911,1094,879,827,1072,1068,1106,1172,1360,1584,1600,1260,1134,1046,1013,1100,1152,1128,1026,899,839,1050,1042,938,1110,1246,1128,1230,1060,1110,1272,1274,1062,676,620,696,806,1230,1272,1654,1544,1284,1266,1490,1826,1394,940,1072,1090,761,562,463,430,396,498,716,539,439,459,485,493,675,1003,1150,1024,698,660,693,673,994,1226,1296,1238,1178,1130,1202,1380,1256,1238,1782,2504,1650,1382,1378,1164,1310,1274,1346,1392,994,903,1104,1374,1468,1540,1734,1666,1586,1494,1186,1158,1238,1250,1370,1316,1274,1428,1568,1476,1246,1180,1310,1248,959,1072,1460,1592,1472,1306,1068,1028,916,1102,1166,1202,1376,1232,1078,1112,1100,1148,1208,1184,1001,788,728,556,963,1272,1430,1560,1666,1454,1158,1422,1562,1324,1246,898,1064,1332,1400,1174,1142,1090,1298,1728,1786,1510,1524,1292,852,1024,1322,1080,948,875,689,1372,1912,1500,1294,1242,1216,1114,666,656,580,532,574,711,964,1406,1598,1500,1562,1572,1498,1502,1180,1072,1040,952,971,774,746,597,763,1212,1406,1300,1094,1102,1032,1036,977,1392,1440,1776,1406,822,430,281,475,1018,982,371,339,421,580,891,1432,1552,1764,1292,1132,1364,1480,1442,1110,1026,1378,1496,951,946,1180,1156,1034,987,888,862,965,1342,1812,1836,1436,1424,1520,1184,1032,1042,1676,2160,1374,1226,1300,1384,1506,1504,1836,1826,1316,819,896,1172,1212,1226,1050,805,647,749,974,988,830,991,1362,1520,1342,1500,1594,1290,1164,1046,1016,1116,1376,1544,1594,1520,1262,1302,1476,1654,1392,1412,1208,1042,1040,1182,1178,1102,1390,1312,1136,1080,889,831,1340,1254,601,374,565,715,720,1044,1388,1222,1060,984,1228,1190,1460,1356,1166,904,821,847,516,426,547,614,998,1372,1100,849,1170,1056,996,1158,1048,716,801,1144,1038,745,675,527,885,1274,1620,1324,994,1206,1448,1496,1628,1652,1438,1278,1478,1772,1190,683,514,874,1510,1892,1592,1224,1214,1372,1558,1840,1704,1672,1602,1700,1494,1016,1001,1100,872,1050,1486,1412,1412,1344,1070,1098,1014,944,1236,1362,1200,1450,1704,1428,1218,1670,1498,1114,1172,824,1088,901,764,1044,1204,1086,1206,1426,1170,1334,1340,714,672,696,464,419,478,368,356,347,313,343,420,908,1092,869,997,1302,1726,1656,1482,1222,892,753,917,950,823,987,962,957,1096,851,437,308,336,324,332,492,583,426,448,695,541,506,487,414,450,315,473,585,603,604,458,477,610,781,1007,1164,1322,1002,1046,1001,889,1116,1382,1224,874,716,850,874,761,684,973,1158,1086,954,995,1154,1306,1296,1394,1222,1244,1556,1294,1158,1150,1320,1434,1336,1268,2114,2120,1416,1234,1172,1296,1346,1238,1198,1144,1030,1030,931,861,1080,1246,1052,738,586,752,963,783,1068,1001,697,711,901,727,651,946,892,563,504,1190,2014,1706,1410,1584,2108,2814,3782,3974,3860,4072,4332,3884,2172,1106,1068,1524,1904,1430,963,722,772,1342,1292,683,586,619,727,636,570,599,638,631,548,630,842,915,772,957,1238,994,1154,1532,1756,1822,1732,1536,1592,1390,907,713,694,597,751,692,736,1018,970,833,869,927,931,907,899,792,596,559,567,709,1072,1464,1440,1232,1230,1024,1074,1064,921,974,1128,1130,1132,1300,1338,1046,852,833,709,614,593,556,519,493,507,489,494,601,560,604,733,615,793,1202,1470,1318,1030,719,552,595,619,516,583,649,872,1076,885,670,702,1124,1094,1110,1264,1166,1092,1036,859,852,625,505,413,386,415,452,457,395,348,320,328,363,448,637,516,496,392,336,328,350,445,545,478,446,514,530,581,810,422,315,313,345,339,309,291,286,281,292,349,368,425,496,555,683,558,482,388,343,343,346,339,335,356,341,362,358,355,359,360,370,375,365,364,361,368,367,375,381,380,379,384,384,386,404,405,404,410,417,425,419,446,468,434,433,425,409,409,409,408,400,385,372,368,365,358,349,349,355,349,353,332,353,336,341,372,376,393,442,431,399,378,396,428,432,436,487,538,531,483,436,396,381,375,351,346,346,327,328,340,336,330,325,323,328,335,330,318,301,310,287,260,255,252,250,266,274,282,341,418,437,406,455,639,659,587,561,557,662,800,642,387,321,300,355,466,512,492,483,508,460,321,261,302,331,305,285,290,283,272,263,253,261,249,262,280,273,278,275,267,269,267,276,290,286,281,268,268,271,276,273,278,273,276,279,270,275,284,303,301,309,306,318,319,355,378,388,391,403,455,502,505,510,472,445,842,1052,791,606,543,538,865,673,367,337,251,338,442,422,307,436,753,1001,870,544,321,370,372,319,350,342,346,348,379,412,507,548,395,305,234,216,211,228,378,342,290,296,282,282,270,261,257,252,256,261,268,270,270,281,299,315,351,349,332,325,325,327,341,354,357,368,367,361,365,359,343,353,361,368,367,374,348,318,328,306,309,314,322,326,401,479,577,600,1150,1726,1930,1810,1564,1232,650,398,489,514,324,253,272,314,250,248,310,354,354,435,555,740,1842,1766,1230,1598,3742,3410,1302,449,460,428,427,437,446,434,414,418,394,396,400,394,402,414,422,408,409,402,399,424,428,404,404,397,416,407,411,407,397,407,420,415,422,399,403,405,396,398,402,406,408,398,400,396,383,361,344,368,398,403,440,424,419,408,435,475,461,428,433,432,462,505,521,521,377,292,297,299,290,301,300,287,297,296,277,282,291,295,317,422,388,334,355,356,360,368,366,383,403,467,863,876,1058,1266,1278,1274,1274,1236,1358,1366,1146,1378,1282,1016,1106,948,952,1226,1946,1968,1868,1946,1426,1182,1146,1018,1016,886,1019,1300,1402,1300,941,674,625,695,869,693,674,691,929,845,626,510,584,516,416,381,425,514,571,424,342,281,304,303,320,509,655,713,666,761],[954,827,803,894,789,684,630,688,725,1136,1654,1804,1660,1360,1168,853,1018,1002,1074,1084,630,585,681,944,1562,1290,788,1122,810,1046,1088,789,1034,1698,1354,846,742,492,402,398,359,571,1118,1316,1302,1082,1706,1946,1386,1202,1202,1126,1466,2070,1918,1330,713,480,520,579,660,868,955,904,1152,1476,1450,1332,1346,1220,685,409,763,1044,1246,1334,785,413,320,333,424,571,711,578,453,415,647,1114,771,386,290,324,441,543,733,738,562,482,549,373,390,396,420,1060,1554,1362,1106,1280,1576,1782,1876,1584,1506,1322,1316,1028,980,1080,1252,1406,1534,1322,712,446,600,506,461,1240,1484,1086,626,509,424,363,465,489,480,405,429,554,987,1344,1604,1758,1216,1110,767,630,1100,1368,1186,1158,858,500,505,730,1010,1192,1242,1184,1152,1046,1338,1326,1152,1180,1182,952,516,424,507,805,771,1118,1044,1216,1344,1354,1344,1064,1104,1506,1296,1170,1360,1076,887,837,684,527,536,481,451,457,500,593,837,722,494,538,556,969,1166,701,655,1066,831,590,946,1418,1672,1364,856,834,715,613,544,509,608,797,854,766,760,792,834,944,666,706,532,729,696,354,259,342,493,744,1046,1114,827,521,541,582,566,509,561,757,824,659,916,948,504,488,618,1086,1310,808,508,724,865,1004,847,678,623,512,429,369,381,398,363,343,324,305,313,325,364,410,412,431,435,415,399,379,439,369,393,305,242,240,247,238,215,199,199,209,241,223,287,530,695,574,452,463,412,345,414,729,1240,1334,1092,1204,1092,1196,1748,1610,1052,933,837,805,893,1116,1148,1188,955,677,502,1080,1454,996,653,933,1036,887,1096,1019,946,648,630,724,1082,1204,1208,825,778,786,835,863,835,1064,863,652,669,896,661,747,827,801,993,1168,1058,947,1244,1246,1284,1188,1184,1040,736,738,713,664,538,624,1016,1332,1310,1020,1072,1432,1532,1284,710,567,1000,816,530,761,1110,1620,1902,1234,912,1011,1100,988,1066,1422,1538,1244,996,941,994,1142,1202,1312,1278,774,916,1300,1108,1162,1252,1010,1088,1394,1362,1288,1186,921,985,1260,1284,1168,1100,1228,1370,992,1048,1262,1178,1362,1262,1178,1170,899,1152,969,717,786,983,1122,1108,903,536,686,924,667,614,691,763,836,861,1072,703,839,1628,1712,1150,863,700,972,1126,1048,901,926,991,1418,1324,647,825,901,1456,1902,1534,1290,1142,1452,1578,1482,1672,1614,1640,976,612,725,1144,1240,1064,1260,1412,1122,1448,1498,1360,1324,1534,1234,925,879,722,451,385,566,645,568,761,1156,1266,1930,1332,557,686,1048,1066,1170,1168,971,1202,1186,871,764,566,413,389,408,447,461,694,933,851,744,742,734,613,674,1144,935,1026,755,500,438,395,330,555,915,795,1138,1550,1150,1070,1190,1236,865,1013,1078,1078,819,706,996,1152,1172,1232,1372,1708,1688,1330,1300,1242,976,737,651,627,558,584,511,485,583,688,772,987,1186,1230,1100,1104,1300,1352,1194,1044,1050,1104,1084,1316,1422,1518,1576,1394,1202,1322,1428,1340,1176,1182,1144,1016,899,925,969,753,659,642,661,622,630,639,613,971,1074,1126,1118,1224,1184,1134,1172,1296,1402,1366,1224,1160,1208,1240,1080,1042,1220,1306,1900,1456,1286,1414,1434,1764,1942,1638,1470,1290,1232,1104,1210,1238,1298,1268,1226,1428,1484,1540,1656,1610,1634,1720,1676,1642,1650,1624,1610,1584,1548,1650,1568,1340,1294,1456,1656,1522,1356,1232,984,888,1100,1220,1036,1224,1376,1390,1244,1100,1172,1238,1300,1056,673,599,861,1202,1570,1642,1478,1438,1292,1004,1118,1188,1054,941,914,968,1350,1486,1370,1158,1042,1350,1804,1914,1750,1492,1122,1122,1346,1462,1202,928,932,871,1192,1500,1322,1072,1052,1346,1302,778,849,812,719,1114,971,936,1310,1428,1506,1744,1972,2010,1346,929,1060,1078,1604,2060,1308,670,611,719,1064,1448,1582,1246,1158,1174,1164,780,868,1482,1738,1012,458,434,630,991,1398,1420,937,539,427,681,1272,1708,1740,1340,1084,1468,1502,1372,1502,1162,1246,1426,1384,1218,1328,1412,1268,1384,1372,1124,948,799,968,1284,1514,1432,1490,1404,1266,1498,1334,1284,1348,1352,1212,952,1160,1222,1266,1734,1682,943,677,735,685,648,1064,1098,839,839,930,1010,989,888,841,1272,1462,1482,1462,1142,907,846,917,943,1202,1382,1158,1404,1350,1342,1368,1456,1646,1554,1434,1288,1342,1240,1434,1432,1398,1530,1848,1650,1208,1252,1108,1280,1348,674,317,425,514,521,1068,1418,1230,1248,1290,1012,979,1208,1178,1015,674,680,532,508,719,721,547,1094,1250,944,794,785,994,1266,1248,1066,733,951,852,866,688,846,848,982,1218,1422,1206,1072,1196,1354,1622,1488,1504,1312,1026,1282,1754,1494,1210,1236,1430,1510,1534,1780,1768,1420,1386,1554,1490,1154,921,979,1336,1482,1400,1340,1256,1124,1086,1114,1338,1612,1332,1180,1348,1236,1018,1216,1286,1096,1284,1604,1470,1162,1280,1414,1082,1186,1020,918,603,720,1160,1152,1068,1168,1178,785,1006,938,725,709,700,583,412,387,385,381,401,394,447,492,1220,1240,976,836,1178,1676,1732,1404,937,569,589,703,873,971,1162,993,954,1054,637,357,363,667,777,531,691,875,709,828,944,644,557,532,415,438,447,625,930,833,796,485,499,789,937,830,695,546,569,933,1294,1322,1346,1418,1198,907,931,963,976,1017,1078,1148,960,1238,1484,1084,1172,1328,1316,1280,1206,1386,1532,1216,1266,1162,1002,1005,1238,1444,1450,1376,1330,1294,1066,1108,1088,1230,1258,1220,1114,875,1070,1166,1012,1154,1144,948,532,713,1074,949,821,656,626,698,698,612,654,912,1116,824,586,1160,1666,1486,1936,3100,3764,4148,4420,4372,4296,4280,4328,4040,2412,2066,2306,2876,2512,2396,1838,976,1330,1808,1232,571,671,846,948,664,415,362,368,330,334,366,323,328,390,623,1172,999,1398,1550,1586,1714,1744,1574,1054,667,688,836,642,570,657,728,885,1172,866,817,1068,1292,1268,1166,1134,899,932,1084,1168,1282,1206,1234,1064,785,606,536,701,673,467,507,574,633,790,979,855,1066,1168,1246,951,630,534,501,498,499,538,494,478,516,489,732,750,545,635,1064,1268,1026,726,733,875,717,572,488,573,543,631,1276,1488,1098,686,594,744,1094,1356,1376,1448,1370,1344,1170,806,529,357,430,472,383,388,420,413,351,334,330,336,595,599,556,460,357,332,482,786,776,532,462,626,515,502,778,508,398,472,420,338,300,282,285,281,336,372,403,478,451,525,619,486,434,395,343,337,340,343,328,367,353,362,348,348,365,365,363,363,370,375,373,371,371,374,374,379,387,393,399,397,397,405,411,414,417,418,409,440,444,435,421,415,412,401,408,411,397,385,374,370,363,352,346,349,354,351,350,350,343,331,343,359,375,408,446,466,434,386,384,420,429,430,452,488,514,507,507,446,398,379,357,347,344,328,312,325,334,332,346,349,326,340,365,337,318,325,302,285,274,285,288,278,274,304,390,455,414,399,456,653,508,564,574,584,725,772,685,583,380,314,442,527,523,540,533,491,396,301,265,273,305,321,302,289,285,282,264,245,273,262,263,269,273,279,257,257,279,268,283,285,281,275,285,276,278,283,299,303,279,285,296,287,306,304,317,322,324,335,328,324,328,351,372,402,416,422,468,485,503,432,446,738,902,832,813,669,769,969,389,285,336,291,332,383,437,387,386,494,498,458,345,271,318,327,344,323,321,355,332,320,310,344,390,480,474,437,367,275,394,529,370,342,354,329,295,272,258,261,255,259,260,264,265,273,283,291,352,372,347,324,308,319,322,332,339,345,360,379,392,360,341,351,349,348,340,356,364,334,427,514,344,306,347,411,449,408,374,434,507,697,1038,1208,1388,1748,1664,995,448,409,397,274,232,272,274,246,280,319,332,328,414,653,648,755,820,940,1106,1274,909,639,601,505,430,432,411,411,424,413,405,385,382,390,397,398,402,414,424,410,392,387,400,393,376,374,375,380,375,370,378,387,393,394,382,390,390,375,372,372,368,361,372,367,375,414,414,410,389,367,401,416,406,422,416,403,388,400,462,476,444,430,421,419,449,491,553,488,366,291,282,287,286,299,308,297,278,290,274,299,297,292,373,400,311,306,301,328,355,361,406,452,760,1310,1166,1124,1158,1110,1122,1082,1124,1332,1206,1180,1212,1158,1206,1196,1054,1042,1162,1782,2070,1776,1646,1350,1252,1512,1482,1476,1248,1340,1518,1242,1056,756,480,550,819,802,532,690,874,926,638,521,485,418,400,390,386,401,428,434,362,340,348,322,301,322,373,436,468,866,1078],[899,938,1108,1210,887,691,670,658,705,852,1086,1698,2058,1566,1194,1026,1496,1324,1416,1260,813,939,897,774,923,785,776,944,730,1314,1586,1350,1476,1456,1042,811,668,415,383,347,359,584,1220,1142,1224,933,1112,1294,1344,1266,1282,1064,1482,2060,1674,1302,732,530,566,639,677,775,800,613,742,1150,1376,1322,1218,975,468,412,998,1350,1204,825,444,358,343,356,567,979,1038,816,595,457,378,872,1234,957,516,511,795,1014,996,656,539,540,448,365,388,437,379,993,1694,1434,961,1450,1996,1930,1894,946,694,692,831,753,954,1306,1716,1914,1694,1184,859,575,492,367,642,1350,1544,1346,777,568,543,628,641,498,562,454,451,439,1108,1654,1592,1330,1170,966,678,855,1200,1180,939,1250,882,599,503,542,921,1208,1278,1118,815,792,1030,1122,1040,1112,1080,991,1146,913,597,736,925,1204,1072,1106,1252,1346,1164,1236,1454,1750,1070,645,738,1022,895,1022,911,624,688,655,795,934,1024,710,909,868,530,622,698,534,513,540,473,554,664,703,954,1498,1494,1264,876,647,545,543,558,601,662,671,747,729,785,993,780,903,1158,1422,1038,619,387,296,283,324,334,511,818,850,604,574,834,776,551,565,731,977,1020,776,792,1110,1066,1130,1132,1394,2014,1648,931,796,1016,1172,964,583,505,456,408,404,341,327,325,342,397,380,341,337,359,403,362,347,385,412,350,403,442,415,309,256,286,285,258,228,211,179,205,223,283,245,263,381,546,495,415,495,477,360,334,472,758,1172,1086,1122,1298,1980,1738,1194,1158,1128,1090,1030,1040,1040,1100,986,1104,648,576,1276,1408,945,753,1300,1376,1208,1760,1732,1396,1296,869,788,1138,1456,1274,1098,922,625,1034,1180,939,1226,1100,1078,943,777,863,973,1038,1100,1282,1378,1438,1190,996,903,1342,1466,1334,1208,909,687,586,559,689,951,1256,1748,1740,1010,994,1284,1042,1015,1074,986,830,591,610,887,1100,1262,1376,1108,1190,1015,1009,950,858,1144,1264,907,734,745,780,817,886,1172,1300,885,962,1052,1244,1436,1208,1200,1386,1500,1250,1078,971,488,513,1050,1009,1009,1152,1234,1354,1320,1326,1180,1248,1466,1362,1398,1310,1378,1328,1004,1030,872,1030,1084,1162,1110,658,1019,1382,1218,1072,1076,846,858,848,933,894,677,961,1090,1246,1378,1168,1346,1146,681,511,653,792,1120,951,869,1068,1284,1732,1632,1114,1048,1084,1528,1650,1672,1732,1620,1500,1086,856,1005,1214,1618,1372,1308,1086,1184,1426,1418,1386,1292,1134,960,1003,832,498,424,507,627,617,633,777,1230,1350,1532,948,449,648,975,1206,1478,1384,1270,1278,1228,1005,790,579,383,330,352,401,412,628,839,611,781,748,736,941,1042,897,802,917,756,655,642,537,514,550,870,835,1382,1920,1670,1284,1202,1208,921,1012,1238,1132,975,912,762,939,802,925,1078,1244,1438,1286,1198,1076,824,606,367,374,412,426,438,483,404,393,409,743,1104,951,763,801,965,905,1148,1244,997,883,883,925,1100,1310,1196,1001,1038,1011,1028,1040,1180,1506,1246,1196,1272,1282,1248,1264,1300,1208,1110,1084,1236,1162,694,803,807,959,1040,1200,1214,1144,1098,1260,1388,1078,1024,1130,1078,1016,845,1202,1282,1102,1216,1132,1338,1526,1422,1758,2316,1688,1476,1430,1334,1198,1314,1334,1354,1222,1176,1152,1060,1312,1502,1592,1482,1382,1376,1428,1522,1492,1478,1584,1750,1736,1794,1498,1382,1532,1616,1642,1356,1200,951,993,1228,1352,1088,866,1090,1164,983,1092,1300,1330,1250,1178,1044,1020,1402,1530,1454,1548,1398,1182,811,677,1064,1360,1260,1046,1126,1230,1142,1222,1472,1334,1320,1658,1968,1760,1768,1568,1298,1278,1318,1378,1346,982,771,940,1254,1248,1220,1110,1152,1412,1244,1158,1122,1038,1384,1810,1456,1172,1388,1624,1720,1556,1730,2040,1692,1198,946,802,1182,1916,1596,916,642,824,1242,1682,2316,1688,1178,1226,1372,1152,973,1192,889,568,626,955,1256,1408,1550,1732,1656,980,536,531,1022,1422,1260,977,1510,1700,1606,1432,1616,1438,1680,1322,1412,1548,1792,1756,1342,1266,1400,1412,1236,832,779,1068,1274,1462,1318,1192,1414,1684,1516,1516,1806,1744,1156,1010,1176,1118,852,955,1076,828,610,582,609,761,1122,1220,1120,1174,1266,844,743,836,1186,1298,1362,1374,1184,1310,1252,1007,1154,1254,1544,1458,969,1240,1416,1402,1280,1164,1294,1584,1672,1624,1544,1400,1444,1394,1574,1564,1380,1130,1046,1182,929,975,1302,916,468,473,490,648,1268,1274,1032,1300,1246,953,1272,1184,1032,1120,1246,1178,817,667,698,879,1106,1484,1400,1005,759,717,630,687,1012,1224,1052,1194,1118,1082,847,1062,1124,874,944,1009,827,1122,1328,1588,1642,1636,1730,1612,1324,1496,1696,1494,1348,1572,1614,1428,1266,1426,1578,1186,949,1064,1246,1250,1070,1456,1616,1254,1170,1038,808,828,930,1000,1162,1288,1144,1170,1150,1142,1196,1250,1394,1414,1344,1604,1532,1376,1028,824,829,828,836,808,706,980,1140,867,714,827,769,719,848,1034,920,749,744,721,645,613,697,620,694,600,672,743,1296,1418,1388,1032,707,1130,1400,1023,567,460,483,600,781,910,1102,868,954,878,565,641,605,630,702,743,705,947,1011,1066,912,641,960,960,535,617,700,883,1072,856,965,692,540,850,892,609,444,484,490,703,1232,1130,1228,852,774,808,998,871,954,1046,1086,1060,1044,1354,1438,1346,1356,1260,1466,1546,1396,1380,1284,1168,1138,1252,1376,1152,916,1428,1562,1510,1272,1190,1102,1068,1068,1324,1302,1126,1019,740,758,641,690,1124,1182,1120,680,556,804,709,550,622,772,698,675,609,694,954,962,992,954,1296,1584,1456,2588,4208,4464,4388,4336,4416,4372,4272,4292,4248,2480,1736,2224,2386,2196,2230,1794,1290,1852,2160,1324,563,696,927,973,699,454,393,370,346,340,339,361,394,375,492,1050,846,1280,1536,1584,1636,1624,1268,761,633,701,887,789,706,571,675,882,1020,820,882,1222,1488,1540,1380,962,684,1003,1350,1182,973,830,951,853,520,407,648,1023,869,406,430,608,758,930,1154,1014,619,697,1102,1140,904,594,458,471,476,463,431,501,511,578,678,587,477,481,745,1058,834,721,611,689,828,762,558,413,501,540,771,1172,1484,1288,688,509,734,1136,1398,1606,1612,1474,1224,880,483,324,434,475,336,336,372,387,379,351,283,346,604,688,607,485,441,390,513,813,789,701,509,562,549,524,814,745,529,579,549,468,376,314,279,275,377,378,373,364,414,570,568,417,400,392,351,337,341,340,340,359,362,362,354,354,354,358,352,352,359,364,355,359,368,368,373,373,379,389,387,381,388,402,407,417,409,406,406,433,453,427,409,415,409,404,403,408,397,396,382,370,358,355,344,347,343,342,343,329,337,350,354,355,377,408,424,495,475,422,402,412,416,444,453,451,494,503,520,483,424,382,363,350,365,355,324,328,349,341,355,359,358,337,348,354,345,329,315,309,314,327,311,317,320,327,413,441,400,396,567,584,351,438,548,606,694,701,696,676,428,283,341,399,467,519,482,422,372,304,250,257,286,314,375,331,286,266,263,251,251,254,262,267,266,279,274,278,285,270,276,283,285,286,282,274,279,287,305,318,297,283,283,278,308,323,319,322,329,322,327,324,317,356,388,430,465,460,489,481,485,428,400,508,616,747,636,348,648,825,446,376,314,300,384,410,415,425,441,443,444,349,252,244,307,299,295,295,339,334,324,340,314,287,305,288,309,383,408,522,589,469,349,363,412,406,343,288,271,272,260,255,256,264,270,272,287,314,345,341,326,315,308,298,315,334,346,367,380,388,390,382,388,374,339,341,336,335,341,387,460,445,402,364,393,420,428,441,415,462,604,504,430,473,523,607,1001,824,528,503,436,340,372,385,360,305,344,357,341,341,375,583,760,745,752,725,683,768,865,620,602,516,464,431,419,415,413,407,399,383,368,370,405,406,392,402,380,396,394,394,373,372,383,370,361,356,376,364,364,370,374,378,386,387,372,379,372,383,386,372,369,375,386,393,420,432,411,390,430,434,415,435,439,412,392,404,452,438,458,444,421,409,429,456,496,528,506,413,334,299,294,297,308,299,296,278,285,292,294,294,377,472,310,290,325,333,351,363,419,449,937,1456,1336,1152,1126,1222,1080,984,951,926,954,1170,1186,1156,1244,1166,1156,1234,1230,1528,1750,1474,1276,1006,894,890,1044,1074,1052,1418,1614,1498,1218,882,585,753,1130,849,810,1294,1322,898,775,914,906,617,441,363,358,362,379,362,365,366,357,356,350,374,386,361,336,358,328],[901,968,1616,1704,987,694,720,703,633,632,744,789,812,878,755,631,1038,1114,1230,1204,1064,1162,847,499,432,418,832,883,913,1462,1438,1448,1516,1328,1208,1078,590,418,346,365,413,531,785,963,946,1078,1096,1100,1116,1188,985,673,769,1017,1226,1230,775,592,562,518,509,559,618,749,977,1032,1194,1012,1102,692,370,351,847,1166,968,603,392,349,356,391,589,1110,1104,926,684,453,354,602,1102,1340,808,529,945,1138,1186,976,948,671,398,390,402,469,454,890,1758,1792,1018,1024,1498,1694,1770,1338,1218,1196,902,510,655,1158,1892,2126,1484,801,855,844,606,399,897,1368,1554,1206,703,547,569,710,708,488,543,406,383,416,1164,1352,1146,1152,1102,954,702,542,670,856,960,1236,1304,824,700,719,975,1336,1496,1194,907,1005,1250,1252,879,897,1282,1268,1356,1320,1168,1040,1030,1130,1324,1322,975,897,780,1322,1484,1290,697,497,576,798,796,924,890,670,608,756,1262,1470,1460,1346,1698,1680,860,574,549,440,572,665,528,508,513,616,644,924,937,910,568,440,479,472,545,697,802,600,655,838,655,809,764,918,1362,1604,1180,570,367,433,475,488,397,411,525,894,877,1248,1222,727,719,933,1226,1248,900,751,718,1250,1374,1394,1092,1256,2096,2314,1802,1266,1040,1082,981,478,423,417,400,437,371,329,378,426,485,460,353,350,357,334,313,319,319,395,356,364,395,356,263,269,268,203,196,194,193,228,255,255,262,227,246,265,342,413,472,497,516,415,381,476,464,641,979,1166,971,739,625,660,816,916,944,1010,1184,1102,1090,1122,1316,1026,885,1246,1404,1064,960,1418,1362,1612,1694,1762,1764,1664,1572,1482,1310,1236,1014,1180,1226,835,1250,1470,1456,1220,832,1112,1296,1290,1262,1226,937,732,1192,1682,1576,982,888,1026,1444,1480,1176,1132,967,636,595,633,753,1318,1628,1638,1548,1204,1172,1184,1338,1644,1534,1308,1062,624,506,509,528,551,955,1174,997,886,1011,960,819,1070,1236,924,1206,1224,1294,858,923,1160,1404,1152,1032,1122,1582,1670,1390,1362,1350,1428,1396,1664,1352,912,916,996,698,548,564,863,1332,1228,1132,1430,1392,1096,1256,1312,1024,1048,1234,1392,1138,944,1088,1174,1360,1230,929,1026,995,1320,1232,1404,1016,1118,1198,1140,910,650,787,630,888,1036,1102,1390,1080,940,654,477,620,700,728,911,944,1282,1344,1012,809,651,904,1268,1586,1772,1914,1814,1384,842,614,882,1238,1600,1356,972,792,1186,1334,1252,1200,1096,879,676,502,430,460,473,455,553,574,644,818,1262,1400,1052,714,631,902,1072,1332,1230,1152,1348,1404,1450,1168,705,473,369,281,329,378,467,828,790,713,705,714,762,969,1268,810,508,894,1216,1446,1192,621,549,448,583,546,893,1250,1292,1134,1062,1038,1019,1058,1003,1082,1284,1256,997,1050,805,750,763,908,1182,1278,1162,955,1194,816,502,514,495,485,441,500,458,472,487,891,1490,1372,964,665,1005,1224,1266,1140,997,821,664,648,851,1136,899,724,567,636,542,426,657,1196,921,645,667,799,847,747,680,655,664,714,885,811,523,414,400,398,361,508,817,1068,1064,1224,1278,1020,1098,1122,999,1052,943,1102,1092,1216,1256,966,1012,1228,1204,1318,1288,883,1422,1438,1238,1092,1210,1378,1352,1372,1736,1462,1034,1042,1292,1262,1162,1212,1346,1324,1236,1300,1362,1670,2016,1850,2010,1568,1426,1604,1726,1318,823,832,885,929,1023,990,745,704,972,796,874,1216,1356,1366,1268,1718,1846,1594,1608,1394,1378,1632,1664,1444,1018,1146,1394,1290,1144,1072,1242,1324,966,966,1156,1262,1490,1722,1902,1412,1466,1438,1258,1312,1270,1224,1236,1110,1130,1354,1380,1242,1228,1246,1354,1400,1316,1268,1224,1162,1332,1504,1406,1520,1512,1340,1810,1494,1472,1266,1086,1078,988,1062,1328,1374,1056,1076,1021,1306,1476,1260,1428,1258,1246,1282,1428,1052,875,962,720,789,1108,1446,1478,1412,1560,1640,1762,1380,839,616,613,665,630,1040,1904,1394,1270,1220,1360,1776,1798,1350,1420,1556,1650,1602,1642,1654,1318,1182,1142,1216,788,860,1208,1466,1460,1488,1472,1482,1582,1598,1572,1410,1018,1066,1448,1826,1222,1118,1302,930,753,722,655,918,1184,1196,1274,1296,1010,749,889,1158,1116,988,1108,1240,1314,1376,1376,1294,1216,1244,1458,1472,1398,1364,1310,1244,1050,979,1282,1414,1612,1930,1572,1194,1058,1250,1264,1016,880,1060,1382,1258,969,858,976,1056,711,921,1017,1366,1642,1364,1330,1494,975,1064,1548,1230,892,1234,1294,1286,1108,756,655,877,1200,1450,1298,937,934,965,697,473,869,1202,1316,1662,1422,987,869,1030,1014,890,935,789,896,1450,1576,1668,1656,1622,1660,1596,1356,1412,1434,1324,1244,1230,1016,1406,1380,1084,1288,1116,799,880,1614,1842,1296,1524,1488,1290,1278,815,459,344,430,802,1102,1044,1015,949,1078,1346,1230,1318,1500,1294,1118,1614,1504,1498,1506,1352,1238,1128,1284,1214,1060,1068,1162,929,702,840,1034,1174,1096,988,1136,914,638,613,727,603,675,647,826,632,654,959,1316,1516,1560,1132,824,985,856,561,388,398,428,618,761,737,699,796,914,843,979,1326,1148,924,1064,868,794,1230,1872,1808,1054,702,718,702,791,675,666,1140,1268,837,664,510,560,924,943,543,378,403,386,547,1130,1144,1136,934,889,937,905,824,1018,1128,1096,1114,1454,1310,1100,1366,1302,1670,1714,1520,1338,1228,1160,1246,1244,1432,1926,1674,1548,1364,1496,1544,1332,1410,1296,1152,1224,1288,1068,943,985,1058,907,530,505,820,958,1068,821,672,744,764,653,681,570,433,484,483,679,1040,1064,1122,1224,1622,2290,2400,2846,4104,4396,4424,4348,4380,4408,4392,4288,4208,2524,1440,1696,1352,1570,1572,1510,1642,1794,1736,1314,617,570,711,617,536,500,419,363,354,367,334,344,375,332,479,959,978,1136,1462,1496,1522,1542,1130,686,556,558,785,894,720,594,660,796,753,869,1262,1488,1600,1608,1370,952,896,1114,1007,597,645,878,993,977,536,407,486,664,722,461,485,604,841,1208,1226,929,658,522,631,872,1190,830,505,477,474,452,437,483,591,647,535,475,432,450,808,1030,734,805,786,709,768,988,959,759,572,492,454,706,1054,1334,996,738,642,739,1100,1454,1692,1428,1078,835,512,407,381,328,302,308,360,385,395,363,420,530,627,752,719,565,603,556,502,672,776,605,478,568,641,530,738,824,619,541,570,536,485,350,307,315,322,315,330,363,437,551,480,373,405,378,357,343,350,338,347,350,352,344,350,354,354,348,341,349,354,355,354,361,350,359,372,365,372,382,386,390,383,399,402,404,404,396,404,421,436,419,411,409,409,407,401,412,397,382,377,369,357,359,347,345,345,345,339,356,350,343,358,362,369,388,425,464,476,444,404,402,396,420,409,436,488,489,501,544,507,432,374,353,353,351,347,367,372,367,369,407,450,370,343,350,347,333,322,331,324,329,354,336,323,354,459,439,408,419,604,554,285,307,494,785,780,519,481,415,297,254,247,311,486,558,419,296,303,279,264,280,305,305,356,339,285,252,252,239,236,241,250,260,254,266,286,275,263,267,276,288,294,302,299,288,279,274,287,308,306,287,280,278,291,305,312,315,318,327,354,321,322,358,394,437,476,452,433,440,464,421,340,368,468,543,481,309,615,592,436,375,274,260,349,355,302,348,414,414,437,385,329,292,307,291,308,352,371,343,340,354,332,294,295,301,307,279,299,320,319,297,285,287,317,350,359,349,309,277,263,259,266,278,285,309,342,359,359,333,318,311,318,308,341,358,351,357,368,367,373,389,378,363,346,361,342,345,382,426,422,418,410,402,401,390,393,405,403,405,431,415,432,455,431,439,437,440,462,450,399,411,418,426,464,455,419,396,424,426,410,583,727,661,630,552,521,505,529,468,446,451,446,431,411,403,411,411,397,389,376,381,402,406,398,382,390,398,392,392,377,368,354,362,360,376,376,374,367,367,376,366,383,391,387,368,352,379,389,379,372,391,401,372,404,420,418,417,415,416,440,444,431,413,406,411,427,444,438,444,427,424,418,426,433,462,529,525,478,427,368,332,315,305,302,281,301,295,305,301,317,376,307,282,320,337,360,392,442,511,1016,1412,1266,1184,1226,1676,1340,1242,1114,937,960,1062,1110,1086,1074,1054,1162,1360,1604,1846,1650,1526,1528,1046,736,881,1332,1826,1800,1232,1526,1556,1170,897,699,946,1370,1130,847,987,1088,987,764,895,1148,753,590,398,370,357,343,349,361,352,355,363,336,303,342,367,364,315,328],[907,999,1652,1754,1152,723,711,636,650,570,621,604,559,542,474,480,531,650,748,792,963,1086,725,536,617,702,861,881,989,1190,1372,1380,1000,805,1460,1498,636,435,328,343,491,602,813,969,1118,1358,1040,888,1088,1013,577,658,789,1150,1528,1166,800,1001,1004,609,503,503,696,1182,1852,1744,1398,861,726,467,344,339,519,982,1364,1170,729,382,373,437,435,723,824,797,741,565,471,527,951,1414,1100,712,1072,1004,1384,1352,1402,958,448,382,396,425,443,586,1078,1770,1248,772,728,865,912,1180,1544,1798,1372,480,541,1258,1976,1920,1172,578,516,572,458,367,741,1312,1460,1164,1020,673,702,594,812,684,584,451,402,472,903,967,1032,1046,742,1074,1138,825,624,714,1092,1082,1112,1094,870,684,968,1268,1276,1228,1316,1248,1208,1184,1102,1134,1040,1180,1484,1452,1266,1212,1320,1274,1384,1538,799,518,875,1292,1500,1592,1350,812,701,887,763,924,877,819,924,718,924,1160,1372,1710,1708,1300,1102,915,504,501,496,530,600,783,620,592,490,617,695,529,387,382,401,554,745,1194,1246,943,552,618,477,531,636,664,962,1246,1100,688,616,551,680,666,413,541,848,1007,1202,1488,1005,670,908,1440,1544,1368,769,947,938,1150,1176,1472,1482,1408,1338,1260,1212,1116,897,1082,1076,561,417,412,399,381,385,402,425,445,491,502,435,375,370,359,321,314,335,391,423,437,381,263,227,253,246,207,208,220,232,277,283,291,258,213,224,323,408,401,489,648,680,659,485,491,557,599,799,968,832,552,530,492,518,595,751,980,1054,913,738,955,1270,1268,1012,1076,1312,1290,1228,1410,1522,1766,1594,1274,980,908,1184,1228,1180,1224,1038,968,1048,1224,1232,1594,1548,997,1007,1370,1472,1344,1300,1156,947,1112,1362,1220,1230,910,883,830,774,794,835,947,931,614,682,686,580,818,1202,1266,1172,1538,1696,1294,1224,1306,1102,1072,1110,1032,1262,993,759,631,692,740,916,1256,1378,1158,873,989,1404,1658,1936,1730,1584,946,914,869,919,1218,1366,1382,1202,1140,1356,1534,1524,1590,1494,1584,1346,1376,1488,1124,659,540,568,923,1542,1686,1554,1590,1210,1003,1140,930,548,395,775,1326,1342,1228,936,761,846,915,1250,1492,1410,1252,1252,1332,949,783,944,1082,920,1238,1336,872,1100,1013,746,710,849,936,999,1038,711,576,984,1120,955,917,1048,885,825,634,921,1426,1720,1874,1872,1748,1270,674,580,562,938,1382,1136,889,1140,1528,1478,1224,1030,869,721,781,671,539,477,422,434,520,532,615,909,1380,1334,829,756,1070,1036,1052,1304,1066,974,990,1266,1564,1346,1042,713,621,490,648,680,959,1212,1072,970,781,788,795,929,1406,1276,1148,1248,1584,1568,1282,940,1216,918,637,461,410,727,1130,1222,1070,950,911,750,639,1036,1930,1264,727,1050,1174,1050,816,959,1090,1228,1108,813,1072,711,582,565,517,454,477,533,507,477,389,738,1472,1630,950,552,932,1176,1156,996,996,1074,1250,1342,1152,1182,1136,1134,703,692,519,432,597,904,985,863,774,645,688,661,756,593,465,615,693,703,764,700,684,601,480,445,488,759,807,1064,1104,962,1076,963,839,868,879,919,1198,1454,1438,1290,1238,1156,1198,1536,1326,1162,1400,1438,1444,1470,1430,1312,1272,1262,1626,1336,855,756,1102,1414,1382,1216,1214,1196,1174,1384,1534,1444,1614,1516,1916,1624,1406,1714,1968,1424,754,578,667,841,1310,1354,1120,1030,1028,1015,1190,1214,1188,1334,1344,1528,1776,1656,1492,1548,1864,1644,1648,1578,1512,1598,1614,1360,997,858,788,1036,1028,679,604,783,1318,1776,1688,1478,1216,1018,1106,1188,1172,1194,1222,1092,1344,1412,1212,1370,1426,1262,1246,1426,1556,1594,1750,1604,1412,1598,1530,1644,1482,1212,1288,1240,1202,1236,1196,973,974,1066,996,1364,1120,1308,1236,1440,1108,785,1078,1418,1362,1462,1274,677,565,510,626,875,1310,1356,1634,1744,1820,1936,1780,1374,1208,1340,1010,622,586,1508,1516,1118,968,955,1414,1560,1554,1666,1400,1512,1792,1230,1316,1740,1676,1202,880,1010,952,1064,1186,1128,1390,1498,1378,1354,1306,1380,1520,1288,1436,1950,2294,2156,1524,1400,1472,1172,1292,1512,1064,1184,1082,1226,1246,1192,1042,834,1016,1212,1026,947,691,772,1064,1214,1196,1278,1258,1248,1340,1452,1368,1290,1502,1342,1204,954,1292,1350,1450,1742,1824,1200,651,1004,1144,993,1366,1282,1332,960,686,847,843,906,950,1228,1052,1108,1290,1136,1290,1604,1382,1330,1376,1248,786,1012,1376,1388,1130,909,1023,1136,1076,1206,1068,799,940,909,628,610,1072,1304,1612,1786,1376,1062,1182,1414,1376,1382,1300,1286,1436,1594,1564,1452,1308,1154,1216,1384,1484,1688,1478,1206,1080,969,1078,1222,1012,797,1154,1140,811,896,1256,1484,1200,1250,1344,1252,1406,977,487,375,572,975,1010,1116,1008,799,1662,2054,1596,1326,1192,1106,1202,1554,1568,1426,1396,1226,1358,1320,1009,904,717,772,1290,1328,921,810,1094,1512,1502,1402,1742,1242,762,522,432,352,417,482,594,547,721,1058,1140,821,946,873,1074,1022,883,927,685,463,481,549,647,740,851,1036,924,785,1118,1338,1284,1052,844,620,672,1009,1256,959,663,782,689,529,667,632,678,963,969,742,548,454,514,683,698,463,328,351,560,779,1196,1188,1240,1208,957,891,940,906,962,1162,882,750,1144,1216,1250,1282,1284,1656,1968,1868,1506,1306,1017,977,923,1614,2150,1664,1556,1286,1434,1526,1476,1344,1252,1404,1660,1754,865,799,907,977,952,702,703,786,845,912,891,1180,1256,903,836,742,418,351,571,640,578,813,1186,1332,1276,1716,2684,2612,2366,3610,4300,4480,4356,4244,4324,4448,4316,4104,2940,2022,2242,1376,1282,1346,1536,2588,2388,1682,1400,733,531,698,491,419,419,365,391,420,441,372,376,415,336,515,927,1038,1334,1666,1476,1546,1476,820,507,520,523,650,689,647,627,670,681,668,999,1454,1556,1576,1404,1108,973,742,673,785,682,557,701,1050,1094,508,370,372,381,368,397,448,502,650,789,803,837,701,594,701,813,886,1056,1036,764,537,576,509,448,562,577,571,592,480,609,968,912,771,730,848,758,676,688,860,1126,928,729,511,505,550,715,890,999,708,526,611,832,1182,1172,961,832,491,393,436,399,300,301,360,405,400,349,412,520,558,596,712,680,675,568,496,641,672,538,586,730,642,480,536,595,619,466,423,402,397,336,316,293,301,321,339,375,486,480,379,359,337,360,358,340,339,341,344,344,344,344,347,345,353,343,341,347,351,354,355,355,344,348,364,368,371,379,385,389,382,396,396,396,396,400,405,417,426,419,419,412,400,401,396,390,390,383,383,381,367,360,362,349,339,349,347,354,345,339,343,335,348,391,419,422,426,397,385,388,369,390,408,454,483,474,481,520,509,425,374,344,368,398,428,498,483,478,463,502,506,437,375,336,336,337,326,331,333,345,356,301,296,426,488,434,400,466,656,474,292,290,464,808,673,380,276,265,255,261,260,295,375,413,322,282,259,263,271,283,299,314,310,322,334,297,253,237,244,245,246,280,278,257,270,270,280,293,287,298,301,295,288,302,302,281,279,280,289,289,276,281,299,308,308,308,325,332,343,346,308,299,355,422,473,419,371,424,380,283,286,385,527,568,447,427,698,684,406,228,255,305,305,289,325,385,402,354,252,262,260,266,293,304,331,377,373,343,304,321,328,298,286,293,303,297,297,293,285,290,288,267,268,265,290,363,351,297,268,263,268,281,313,363,375,388,390,336,321,312,316,325,344,346,346,356,370,374,368,378,382,384,378,384,390,404,416,405,401,416,413,387,377,370,380,381,388,385,399,419,397,401,411,411,435,441,427,423,403,401,380,391,406,479,419,398,443,454,460,514,543,504,488,437,446,411,432,435,418,422,440,438,420,416,413,406,401,400,397,403,401,400,398,387,390,387,387,383,382,392,364,368,366,375,375,375,379,379,370,375,387,383,382,379,372,371,379,388,371,378,394,382,383,391,407,424,416,419,448,437,432,429,427,419,421,412,429,425,416,416,424,424,436,446,429,436,464,469,478,460,412,410,375,307,285,285,274,293,326,310,314,323,339,348,381,400,420,782,1412,1494,1246,1282,1466,2236,2074,1542,1142,1002,995,1116,1072,999,1078,1042,1108,1294,1612,1686,1558,1658,1440,871,794,1258,1832,2480,2378,1282,1224,957,717,642,506,922,1476,1218,1172,1736,1788,1208,584,707,771,545,609,458,367,362,349,356,377,377,367,352,334,335,328,321,327,305,299],[929,894,1009,1272,1208,847,748,667,612,578,575,499,552,609,542,471,463,647,612,667,590,673,709,689,745,960,1016,942,1122,1476,1322,1226,943,1124,1858,1320,559,413,371,380,566,662,751,969,1260,1146,1068,1248,2030,1454,740,605,900,1616,1752,1122,890,1356,1340,828,654,529,692,1426,2242,1914,1230,649,363,328,324,379,413,597,1036,1402,1250,652,440,497,399,391,520,547,606,682,544,658,1392,1540,1606,1358,1034,948,1156,1214,1194,802,576,834,630,436,546,638,586,799,697,463,391,498,641,1007,1322,1218,930,461,785,1770,2000,1572,893,543,479,475,457,344,433,915,1450,1512,1512,1190,1218,774,700,643,469,379,376,468,804,864,504,490,473,679,888,981,678,932,1144,898,1112,1538,1198,655,703,1180,1204,1202,886,1112,886,1001,1274,1174,810,1054,1418,1070,1240,1410,1562,1350,1134,1142,866,774,680,902,1286,1446,1194,782,497,727,714,877,759,783,1360,1314,1102,1318,1832,1772,1252,1096,1516,1330,920,749,500,421,508,1038,1170,777,598,659,525,431,376,391,490,752,932,1404,1520,1062,514,379,381,498,630,621,776,949,1650,1542,1076,683,879,841,541,517,586,804,1124,1128,1200,1230,1064,1474,1400,1294,1104,1140,1194,1108,913,860,1058,1200,822,1024,1104,1122,1132,1332,1140,663,461,435,408,399,387,396,395,404,479,497,458,440,514,469,333,298,351,397,446,425,312,276,238,257,245,223,241,255,346,366,297,271,194,168,204,307,395,457,405,536,900,915,568,452,484,562,681,679,644,668,512,492,492,587,605,816,1062,1216,1208,1018,887,1212,1020,916,1240,1608,1176,916,1144,1424,1478,1005,691,888,1056,1090,1294,1274,1338,1258,947,1234,823,826,764,874,1400,1588,1504,1588,1532,1378,1158,902,959,846,838,681,614,687,716,1032,1096,986,974,871,827,937,798,550,710,1042,1304,1484,1504,1322,1007,1060,1340,949,673,665,993,1146,1134,1124,1154,1196,1338,1554,1460,1392,992,888,1244,971,912,890,776,542,912,1268,1180,1130,1272,1023,684,951,1170,1078,1068,1316,1272,1670,1628,1188,1268,1090,868,566,578,985,1550,1266,1116,1108,809,1160,1298,852,608,385,765,1666,1406,1182,985,1160,1064,953,955,987,1050,1058,1278,1066,742,818,852,1006,1216,1322,1238,1300,1500,1216,760,583,583,763,744,564,469,644,899,1338,1272,852,703,919,885,624,1130,1650,1694,1610,1310,1572,1566,1210,992,796,1034,1272,988,935,1390,1826,1686,1432,1062,830,650,503,424,595,805,669,427,464,510,647,1090,1616,1496,979,778,882,1028,1300,1378,1040,858,1018,1206,1446,1246,972,570,722,858,916,933,1252,1228,1122,1116,849,700,806,1428,2004,2004,1734,1446,1238,1212,979,760,1100,1094,648,417,294,429,868,1266,1014,1050,1116,816,688,803,943,998,1136,1114,1124,811,665,1100,1206,1272,1246,814,791,723,543,471,486,466,444,521,633,518,636,1036,1270,1034,774,727,950,1170,1118,1009,817,960,1114,1102,1124,1026,725,620,780,849,591,465,511,798,965,965,829,564,548,635,853,714,642,995,876,725,943,998,785,624,801,714,452,667,1032,1122,948,855,979,1064,920,1020,1450,1312,1650,1644,1500,1402,1086,935,1082,1322,1018,860,1176,1414,1292,1170,1294,1316,1414,1426,1294,1034,840,937,1290,1704,1602,1368,1304,1204,1172,1460,1482,1354,1166,1336,2166,1874,1322,1438,1576,1266,968,1032,1090,1140,1324,1132,1070,1042,854,811,982,1116,1356,1706,1742,1650,1502,1422,1290,1376,1434,1506,1544,1636,1660,1428,1620,1434,594,422,446,648,726,496,457,436,672,1110,1400,1374,858,577,1086,1230,1030,1116,1272,1216,1160,1240,1288,1444,1662,1426,1208,1376,1518,1710,1958,1800,1472,1642,1982,1666,1374,1346,1288,1026,1040,1368,1126,930,1114,1016,788,937,1070,1264,1284,1344,1020,716,1090,1534,1506,1460,915,518,563,514,331,701,929,1214,1954,1764,1266,1868,1688,1390,1544,1520,1258,1082,1048,1786,1664,1532,1110,1070,1620,1598,1624,1434,1228,1418,1568,1256,1212,1384,1560,1524,1208,926,966,1316,1576,1678,1432,1462,1384,1284,1456,1440,1500,1316,1456,1820,1500,1058,973,1332,1784,1496,1562,1638,1722,1108,814,1122,1014,988,1090,1000,1042,952,941,848,629,630,1124,1322,1238,1214,999,1028,1368,1560,1384,1622,1820,1356,1412,1021,1340,1454,1324,1450,1820,1424,885,954,1104,955,1518,1290,893,526,615,930,959,1008,1082,1110,993,920,1168,1166,969,1152,1432,1300,1250,955,651,1168,1828,1702,1378,1462,1316,1128,1124,1192,675,630,857,895,768,1028,1382,1532,1694,1560,1396,1240,1202,1304,1642,1484,1332,1520,1388,1166,1294,1378,1124,1208,1382,1318,1158,1126,1116,1244,1360,1262,1092,955,927,1084,1400,1318,1120,1064,1146,1534,1432,1428,1226,1316,1508,1106,560,465,958,1510,1342,1252,1122,1386,2148,2128,1544,1058,1180,1594,1340,1422,1478,1026,1146,1236,1224,1084,791,995,937,778,860,818,684,675,854,1248,1358,1364,1174,1022,634,547,452,327,339,417,437,641,1140,1340,1290,999,887,707,908,959,1034,1001,645,404,449,478,469,553,724,743,579,455,684,844,892,681,882,1218,875,533,545,568,503,541,487,318,336,594,812,975,1028,848,526,405,395,343,431,557,664,859,1078,1110,1208,1122,1026,989,1126,1128,913,825,776,934,640,652,982,1048,910,973,1023,1148,1682,1998,1852,1424,1054,1046,1278,1980,1860,1328,1194,1678,1838,1534,1476,1326,1088,1324,1284,1152,709,859,938,959,1042,786,650,743,1016,832,745,1214,1574,1066,1088,1009,624,412,612,810,819,908,970,1032,1106,1372,2822,2692,2054,3152,4152,4340,4284,4188,4256,4348,4232,4040,2996,2292,2692,2434,2530,2666,2202,3654,3430,2006,1660,872,525,789,480,390,397,370,453,546,589,486,402,408,336,517,943,1021,1650,1822,1572,1462,1158,697,568,591,605,579,590,651,703,666,600,668,865,1096,1328,1262,1012,803,780,900,805,883,866,612,862,858,658,469,404,386,351,391,417,420,576,644,561,594,647,684,755,748,1114,1050,891,1182,1216,1334,1288,1032,727,521,554,647,684,751,821,692,718,792,871,857,769,775,651,661,680,569,765,800,534,509,726,971,1304,1044,669,695,551,595,712,724,509,363,336,396,408,290,271,330,430,462,385,356,437,585,558,585,666,580,428,439,547,561,648,876,969,866,525,548,538,557,426,359,363,358,333,285,277,283,288,303,358,445,406,346,343,337,337,346,340,328,341,345,344,341,342,341,365,346,339,341,346,349,346,341,345,347,346,350,369,372,372,380,382,382,390,391,387,385,397,412,413,410,408,403,404,397,404,390,384,387,381,381,381,367,359,357,357,352,328,345,343,343,348,348,351,358,375,416,422,410,407,410,393,367,396,413,446,449,451,480,489,445,367,345,369,438,516,525,545,583,579,555,554,535,501,429,390,368,354,365,338,335,316,323,323,373,474,476,451,419,571,619,370,284,286,314,405,593,501,294,275,272,283,261,263,283,296,289,285,262,257,245,258,281,283,260,264,316,338,267,265,268,268,259,265,256,243,252,263,293,295,269,290,293,285,276,285,287,278,276,262,267,283,274,275,286,295,301,306,317,330,328,332,296,301,364,428,466,445,436,457,345,266,284,336,656,954,719,561,689,606,488,332,385,434,469,341,346,426,403,273,206,257,278,280,315,327,353,376,386,352,291,283,307,306,292,282,277,280,290,297,316,303,290,268,279,269,294,383,386,327,298,318,353,369,375,351,331,329,330,307,297,309,324,326,326,332,348,352,370,374,365,369,375,379,389,391,392,399,396,390,392,405,408,377,375,359,365,370,377,381,381,377,376,384,397,398,395,389,411,387,386,382,365,364,402,454,409,356,381,419,395,415,412,421,448,432,411,404,404,392,394,422,414,417,419,411,404,408,400,386,377,372,376,392,386,384,396,387,383,372,358,362,365,371,374,372,371,377,382,376,376,380,379,376,375,379,376,388,388,388,381,380,381,382,381,369,394,418,427,436,440,429,427,424,421,421,417,416,423,401,414,418,415,412,415,429,437,421,428,439,419,457,493,529,529,423,315,313,338,350,388,420,386,337,332,339,387,379,465,924,1356,1372,1252,1236,1568,2372,2714,1882,1174,1142,1070,1068,1001,1013,949,1028,1278,1278,1346,1518,1692,1578,1142,767,820,1266,1544,2098,2476,1428,1004,1028,1068,981,729,996,1192,712,792,1266,1410,891,572,583,588,566,649,526,354,329,345,368,385,385,372,341,333,341,324,305,300,289,283],[1050,926,802,941,1078,1476,1606,1166,767,645,581,517,552,589,605,639,700,918,947,933,798,543,404,506,529,700,1050,1196,1308,1604,1350,1320,999,972,1132,792,539,544,496,428,500,447,579,760,850,727,716,882,1710,1730,1170,1126,1204,1368,1258,998,750,828,1076,885,1005,860,1010,1736,1768,1366,1226,683,415,384,336,413,384,356,562,961,1130,730,513,717,645,339,367,448,461,496,560,1814,2536,1828,1716,1646,1246,1146,1078,1026,1080,953,800,1788,1702,819,608,632,604,491,419,368,363,482,666,700,684,481,548,496,1162,1910,1886,1418,882,581,596,664,498,369,381,635,1009,1394,1600,1290,1492,1280,646,371,351,370,420,491,1030,1044,613,905,983,588,431,504,654,1086,1238,1434,1632,1684,1426,832,585,921,1276,1246,1046,946,713,801,1112,1072,907,1312,1410,1098,1166,1186,1418,1476,1346,1340,1206,882,616,679,1018,1100,615,348,250,321,379,473,497,673,818,870,1008,1450,1800,1390,1124,1188,1224,1172,1630,1316,644,401,459,879,1108,985,825,541,404,378,340,460,713,1144,1184,1358,1470,887,445,366,399,460,610,594,696,700,1378,1634,1534,1078,881,725,564,443,374,630,960,1448,2018,1898,1508,1296,1134,1206,1278,1388,1368,1036,846,513,630,532,426,689,744,873,1028,1256,1210,839,485,419,401,422,405,414,414,403,408,393,379,413,486,473,415,421,410,395,392,325,259,241,253,280,273,260,260,252,334,384,299,204,145,165,198,250,280,358,395,434,567,562,444,421,396,428,578,583,497,684,760,579,470,549,562,578,824,1194,1250,977,908,1394,1208,883,1304,1674,1248,1008,973,1005,943,709,664,903,1106,891,1256,1007,1306,1258,1312,1072,430,286,444,1011,1346,1338,1086,1266,1110,1023,968,833,789,664,487,404,501,738,1048,1518,1260,861,836,963,1116,1334,1196,756,430,771,1352,1418,1166,1192,1260,1214,1236,777,660,1164,1334,1078,1250,1250,1150,1050,1178,1088,751,832,746,773,1322,1914,1488,780,713,457,561,809,1028,1202,1268,1040,906,1118,1206,1294,1384,1202,1066,1234,1450,1188,1310,1284,1378,764,689,912,1326,1062,901,793,672,1198,1316,941,565,588,1098,1678,1168,991,1086,1692,1676,1092,897,1178,1466,1236,1310,921,711,855,738,973,1332,1450,1388,1350,1302,1154,1210,1226,951,1288,750,437,550,653,694,962,852,589,509,896,1100,627,871,1304,1576,1218,1114,1646,1504,1360,1488,1302,1316,1226,991,1017,1528,1828,1852,1704,1234,856,668,491,415,586,927,813,513,545,547,746,1196,1690,1520,993,644,675,1110,1340,1286,995,816,1056,1120,1362,1086,855,708,965,938,579,483,807,1106,1114,1210,1206,927,775,1258,1456,1492,1384,1270,1021,729,479,359,636,815,542,499,394,402,655,872,686,692,561,370,634,800,773,1023,985,929,700,714,991,1138,1232,1336,1202,912,957,945,637,501,518,459,478,662,788,600,765,1174,1378,893,871,1152,1266,1132,1024,1308,1134,1024,837,513,908,917,648,616,1050,1204,644,448,494,766,818,828,805,498,349,339,525,461,590,887,637,447,743,856,641,458,602,719,601,518,821,1024,1132,1342,1230,1020,886,1382,2162,1476,1268,1134,1346,1394,1100,1048,1208,1294,980,852,939,1418,1240,1096,1090,1180,1312,1290,1252,1096,1144,1270,1332,1626,1482,1490,1342,1208,1224,1240,1300,1164,855,1098,1656,1484,1228,1354,1548,1194,1376,1346,1194,1252,1172,1044,883,847,888,1016,1230,1322,1524,1664,1578,1258,1120,1462,1456,1246,1140,1212,1218,1252,1278,1050,1114,1092,889,509,394,425,436,431,450,630,946,1334,1510,1406,1232,1270,1376,1104,838,913,1092,1194,1260,1466,1380,1418,1546,1432,1296,1556,2236,1922,1512,1416,1576,1974,1820,1560,1470,1384,1160,943,861,935,949,1118,1082,720,560,541,789,1046,1290,1378,1230,1044,1300,1660,1534,979,542,397,412,483,351,555,656,819,1646,1714,986,1594,1680,1596,1382,1068,1184,1282,1636,1528,1534,1768,1072,891,1244,893,1026,1094,1252,1412,1506,1366,1192,1168,1256,1516,1526,1160,1160,1236,1518,1848,1728,1404,1154,1276,1456,1512,1604,1340,1504,1818,1478,1268,1042,1278,1544,1488,1470,970,858,814,896,968,1030,987,1098,1220,1046,842,719,574,685,1024,1272,1232,1252,1226,1052,913,1402,1710,1640,1414,1142,996,1034,1276,1512,1400,1266,1444,1454,1498,1490,1458,1346,769,867,1088,984,735,857,1012,991,1140,1204,1324,1530,1312,1326,1226,1168,1138,1110,1328,1222,663,453,1156,1990,1668,1358,1334,916,697,964,1174,1116,1212,1326,1334,1366,1440,1404,1262,1176,1136,1288,1242,1188,1478,1924,1450,1202,1226,1148,1090,1224,1394,1144,1194,1322,1424,1122,1100,1015,1222,1260,1076,1064,1074,1176,1344,1726,1464,1248,1140,1134,1256,1256,1340,1288,1210,1526,1326,852,599,676,919,1128,1310,1366,1454,1654,1366,1120,997,1270,1436,1194,1408,1450,863,1158,1388,1338,1040,1034,1346,1262,879,754,692,591,481,591,891,1284,1240,965,777,487,394,379,412,536,599,700,874,1202,1208,1078,1556,1124,988,1232,1244,1026,739,601,510,467,412,415,436,593,496,439,488,753,1118,1032,878,1340,1392,673,380,478,699,612,505,576,558,486,540,783,1090,1376,1038,583,637,659,416,485,733,992,1376,1188,1028,1140,756,791,1098,1266,1015,848,1042,1010,764,601,446,678,1010,886,615,565,915,1348,1536,1734,1466,1262,1042,1180,1546,1334,821,806,1344,1562,1490,1268,1216,1334,1068,1004,1376,1350,1118,780,738,1000,902,688,1410,2874,1364,1114,1005,1034,756,914,1244,1020,661,649,902,871,601,481,886,1096,855,1744,2018,1582,2442,3160,3134,3120,2830,2392,2266,2666,3310,2404,2814,3890,4064,3952,3196,2440,3282,2906,1668,1614,916,502,703,434,354,368,356,524,689,731,624,425,385,330,462,971,896,1208,1448,1444,1442,977,640,638,618,680,631,576,683,749,667,600,672,723,738,1066,1104,819,814,981,1007,907,1118,1140,807,720,561,478,433,430,407,351,386,394,370,496,570,558,639,631,646,753,617,760,820,896,792,772,1130,1572,1622,1092,627,860,806,680,866,847,785,778,742,1230,1540,1174,900,860,887,819,741,960,1082,880,689,742,1058,1630,1546,966,748,576,456,634,528,375,348,336,361,315,260,334,462,579,509,433,405,420,575,745,603,600,619,496,489,511,599,706,730,680,823,526,426,471,557,488,376,354,382,367,325,289,272,275,313,353,433,413,346,334,337,332,348,344,336,352,355,350,348,344,342,357,351,354,351,345,346,345,344,356,348,344,359,344,359,362,369,379,382,393,391,384,386,405,405,412,423,412,390,399,407,392,392,398,384,385,384,376,365,359,351,352,343,336,343,338,337,350,348,339,335,364,430,462,407,396,412,398,389,376,376,391,383,417,423,382,384,355,346,404,492,556,550,547,580,575,554,540,519,504,486,493,455,377,360,399,390,338,348,384,442,477,446,431,439,675,478,344,313,287,251,238,298,276,270,272,267,272,260,259,246,259,281,278,266,254,252,254,259,257,252,260,282,338,292,256,242,251,248,259,272,266,265,282,282,276,283,283,287,280,270,267,271,276,270,258,263,265,270,274,281,299,307,303,296,328,325,305,289,311,391,440,465,472,427,439,328,318,335,343,569,927,888,537,383,324,365,359,514,530,398,306,361,403,357,290,273,295,299,309,310,345,372,345,339,321,293,275,296,307,294,280,281,287,306,319,317,319,301,285,280,265,307,379,406,374,353,359,332,332,335,327,323,328,333,323,307,309,317,340,340,346,362,350,355,352,360,364,376,385,382,383,385,381,379,379,375,390,391,377,381,357,357,369,371,381,385,383,390,383,387,387,390,367,387,398,384,366,365,367,372,375,367,340,367,409,412,399,391,407,433,434,415,401,392,373,361,410,401,400,397,397,397,397,388,375,376,373,373,384,387,378,385,390,382,374,383,362,359,362,375,392,384,379,376,371,376,375,372,381,376,372,373,376,373,381,384,376,370,374,383,377,391,399,401,405,425,433,421,407,409,403,401,401,387,402,395,391,400,409,404,409,420,410,422,437,402,410,424,464,491,516,479,454,481,508,539,554,490,393,405,409,390,388,597,897,962,1004,1018,1166,1296,1708,1926,1618,1324,1358,1288,1156,1270,1064,1134,1492,1454,1448,1518,1604,1792,1466,641,743,968,1082,2156,2670,2092,1222,860,1050,1666,1844,1242,1078,921,430,581,1258,1248,780,677,613,631,675,704,614,371,314,339,366,366,398,373,345,341,336,329,329,324,311,297],[1162,1096,817,781,900,1600,1692,1086,834,719,616,501,477,518,564,621,739,851,866,934,866,603,470,466,438,464,637,839,1022,1136,1224,1238,819,683,940,913,709,766,931,735,444,594,630,509,464,477,444,503,882,888,974,1656,1482,786,689,951,834,619,574,684,932,818,1366,2022,1578,1642,1880,891,411,372,322,377,361,349,389,465,443,409,547,790,638,362,292,360,576,692,1242,2512,2490,1722,1454,1448,1554,1414,1108,996,934,789,794,1578,2160,1302,590,471,487,493,411,340,305,372,815,1238,1212,1092,974,917,1448,1870,1632,1034,741,587,549,462,443,741,952,1240,1270,1376,1328,1406,1780,1386,756,362,325,313,388,448,990,1082,806,1220,1482,1074,521,417,745,1068,1186,1356,1354,1250,1142,963,661,596,942,981,807,774,577,463,641,679,672,1614,1598,1346,1434,1178,1216,1102,1118,1332,1122,606,518,547,606,789,525,310,248,292,292,269,544,868,888,1008,938,738,1136,1430,1300,1046,946,1216,1990,1382,524,388,424,529,571,828,1292,741,415,402,466,647,1009,1400,1446,1424,1042,571,441,388,401,420,624,618,559,616,813,1228,1592,1458,1068,610,346,346,344,649,1196,1554,1498,1366,1534,1384,1126,1158,1284,1414,979,639,911,601,462,391,337,514,927,1182,1244,1362,1396,1064,533,434,398,436,457,463,465,437,379,348,354,406,499,489,460,459,387,296,247,267,302,250,249,290,300,296,275,246,279,267,158,169,208,222,220,234,257,276,345,375,343,309,313,333,327,345,404,401,418,630,829,802,670,485,507,550,705,966,904,1048,1524,1868,1510,1246,1536,1616,1326,1084,1170,1066,1156,1016,623,615,952,1310,1720,1466,1140,1224,1390,768,347,359,633,656,944,965,713,799,959,1030,1110,897,449,396,396,498,725,713,1428,1620,1680,1330,917,1168,1444,1470,1338,1108,870,757,881,922,1152,1200,1440,1628,1342,1036,1098,1300,1290,1122,1344,1124,853,787,783,770,819,1124,1180,1011,1300,1638,1178,1074,1104,567,722,1168,1160,1240,1012,1038,1009,1050,1214,1266,1198,1306,1404,1550,1466,1270,1538,1280,1330,1160,954,1172,1444,1134,898,908,1052,1494,1068,791,843,727,1026,1158,882,811,853,808,626,817,1156,1374,1588,872,1116,757,574,987,1094,1094,1242,1282,1156,1130,1364,1328,1072,1224,1300,1632,805,608,601,614,768,1034,973,557,520,813,968,658,711,774,1268,1606,1646,1474,991,624,798,1308,1370,1318,1284,1422,1672,1742,1798,1662,1116,664,471,502,508,692,907,688,487,568,641,921,1260,1736,1452,869,628,719,1016,1198,1256,1174,587,414,655,1110,1328,1014,714,877,932,814,743,927,1086,994,1360,1230,796,744,1234,1390,1184,1208,1172,1023,788,419,364,553,591,431,448,430,493,541,475,447,442,409,410,593,822,920,898,767,655,658,1034,1294,1232,1144,1096,990,755,764,846,700,561,553,551,561,692,752,655,771,1228,1116,703,881,1094,1208,1026,857,1242,1212,801,574,354,801,880,467,484,1172,1286,536,417,395,828,1140,1272,1042,593,456,517,580,365,426,484,343,312,518,581,477,431,439,554,519,413,661,1068,1464,1724,1454,1346,997,1202,1584,1352,1016,781,1006,1162,1072,1044,1078,1078,924,1134,1064,1406,1202,1232,1108,977,1238,1362,1206,1162,1296,1454,1572,1764,1366,1316,1274,1522,1456,1284,1328,1220,1090,1074,1214,1324,1240,1432,1656,1356,1228,1218,1252,1314,1256,1160,1108,1202,1448,1654,1768,1610,1460,1368,1700,1548,1262,1218,1194,1178,1001,813,774,756,948,1042,986,1172,1312,839,474,402,416,440,661,1104,1378,1616,1528,1526,1512,1794,1662,1302,1048,1174,1358,1290,1426,1600,1490,1494,1458,1538,1550,1558,1650,1378,1256,1390,1572,1534,1446,1300,1420,1768,1428,1204,979,979,949,889,655,627,617,621,566,712,917,935,1158,1388,1644,1534,1046,447,362,450,404,338,349,410,382,447,1116,1654,1508,1404,1294,1178,807,505,648,1282,1846,1848,1698,1338,657,700,823,564,788,1052,1084,1108,1284,1204,1266,1466,1462,1534,1430,1144,1112,1370,1530,1498,1576,1486,1250,1138,1372,1704,1562,1258,1306,1244,1456,1520,1170,1284,1436,1628,1572,1036,844,989,1000,896,953,824,1018,1172,1490,2072,1132,559,850,988,881,843,1078,1274,1312,1066,1432,1612,1368,1402,1248,835,871,1310,1362,1186,1286,1488,1418,1480,1324,1456,1620,1284,902,858,1222,1268,1236,1262,981,1058,1184,1210,1474,1318,1230,1280,1226,899,843,1162,846,590,887,1278,1158,1082,1216,1338,1158,1112,1306,1498,1384,1322,1268,1178,1252,1120,1106,1102,1344,1296,1358,1292,1094,1220,1356,1232,1146,1128,1102,1064,1284,1362,1290,1144,1094,1404,1772,1866,1346,1048,1044,1062,1328,1258,1224,1188,1290,1236,1094,1144,1162,1194,1160,1216,1204,1362,2026,1542,1186,943,684,664,834,1248,1426,1160,1058,1138,988,800,1036,1108,1284,1510,1472,1224,1204,1180,1042,948,1270,1546,1332,1116,1023,895,771,626,538,691,998,1184,1136,748,441,347,356,486,850,825,1068,1176,996,1013,1015,993,865,1054,1372,1264,1140,1370,1142,702,396,317,417,425,433,453,479,549,1009,1576,1418,838,905,1164,500,369,431,540,446,619,1194,1454,1214,977,937,1166,1314,1166,929,759,636,543,957,1294,807,634,597,923,1338,960,955,1018,1026,921,992,1182,1202,1054,915,730,756,1042,896,506,815,1246,1282,1264,1180,1252,1300,1156,1334,1332,1162,1022,928,1268,1252,1104,993,741,1180,1266,999,1026,1322,1200,838,853,1004,803,725,938,1542,1594,1780,1270,686,442,866,1314,1222,1098,1060,1114,731,533,713,1096,1112,772,816,833,920,1348,1412,1216,1078,837,751,795,1011,1376,1076,1282,1356,1344,1478,1254,1012,1023,946,792,1072,871,422,644,507,351,351,354,553,879,1068,814,470,383,325,408,961,988,1108,1510,1682,1472,966,667,656,647,720,639,600,634,603,608,632,695,688,797,1288,1088,745,1394,1418,1028,1084,1222,1070,1048,1050,934,688,427,440,528,512,473,479,438,465,424,655,854,686,547,638,796,803,727,764,564,686,772,959,1398,1072,791,974,967,789,954,912,688,977,1062,1202,1292,1354,886,760,946,953,829,771,935,973,952,947,780,1132,1346,893,485,445,485,531,432,404,339,304,294,286,330,391,415,457,415,417,444,430,576,835,718,575,665,565,484,511,672,653,529,463,492,433,372,374,438,429,383,360,406,615,521,360,326,305,312,363,448,407,337,329,326,336,345,335,344,354,346,344,344,348,349,340,349,349,346,341,343,353,348,354,350,344,354,368,379,363,370,376,372,383,379,384,384,387,388,407,415,401,394,396,390,382,390,383,388,381,379,373,373,361,353,341,336,341,347,341,335,350,344,333,346,367,402,436,415,403,406,408,403,371,372,369,381,412,379,374,398,407,415,426,474,529,544,550,566,570,567,531,519,510,492,516,484,428,399,382,362,358,395,403,449,463,455,420,435,493,378,339,323,289,255,248,262,279,282,272,270,273,275,274,256,263,273,272,262,245,247,253,259,256,256,265,290,329,332,291,237,227,245,268,272,274,265,278,280,295,287,292,298,289,283,279,282,283,279,268,269,271,265,267,283,294,300,317,330,316,288,288,310,370,451,469,459,417,398,418,295,322,460,383,403,730,874,786,742,642,601,578,497,440,344,337,357,317,234,273,343,314,276,311,400,381,312,308,297,300,314,312,319,322,297,280,281,285,303,312,311,309,305,309,302,296,342,376,392,365,337,347,317,343,362,344,327,323,308,319,329,341,346,332,340,343,358,346,350,348,359,359,370,382,368,375,376,363,357,372,361,362,365,369,371,356,356,367,374,385,402,381,386,395,391,389,383,383,381,395,395,368,377,381,380,375,352,349,367,402,409,399,393,396,419,417,398,383,388,378,367,411,404,396,392,391,387,388,388,380,369,363,363,362,389,371,370,385,380,376,379,356,350,356,358,372,361,361,365,370,371,359,366,379,377,370,367,367,367,369,370,359,357,366,370,380,385,393,397,407,421,426,415,415,405,400,397,391,397,391,393,403,405,392,397,401,400,397,388,396,394,404,419,419,455,480,493,501,508,493,477,483,473,484,478,465,438,462,550,634,612,660,641,891,1604,1612,1005,1007,1108,1252,1502,1528,1582,1564,1646,1726,1744,1704,1664,1760,1756,1356,912,1054,1076,922,918,938,1226,1368,1180,1102,1516,1766,1232,793,685,604,651,949,792,609,571,521,530,520,564,664,519,361,334,361,366,350,341,339,343,352,354,343,338,334,319],[972,1028,864,665,774,1176,1316,1194,995,730,599,492,451,429,428,548,749,789,789,738,541,425,431,427,447,381,402,534,569,487,631,814,745,749,766,918,888,965,1544,1538,741,869,700,507,590,527,457,484,573,713,829,1032,1164,929,614,716,611,480,469,932,1278,1094,1566,1692,1372,1570,1092,448,359,377,403,421,412,393,360,316,286,308,347,489,510,317,267,393,530,906,1838,2402,2074,1564,1402,1452,1704,1424,1198,885,939,1084,794,869,1164,785,607,498,442,430,423,368,329,501,1182,1756,1330,1232,1230,1062,1260,1632,1460,1100,940,712,482,349,344,910,1332,1348,1072,1002,1164,1462,1548,1058,604,412,302,292,305,414,771,1052,1044,1100,1482,1222,505,621,968,703,930,1142,1438,1248,866,993,916,730,846,963,1072,877,458,517,686,657,976,1684,1826,1410,1058,1078,875,742,1102,1130,752,422,402,548,571,735,477,295,288,331,414,461,597,1072,1532,1318,905,803,1204,1186,891,743,744,1094,1182,615,376,392,392,437,598,875,1608,1570,869,555,584,562,705,1034,1250,957,499,378,391,447,454,467,587,538,522,676,713,789,896,915,868,785,353,473,565,1052,1522,1460,977,865,1352,1440,1042,941,1370,1518,1118,570,719,600,406,361,344,500,1136,1694,1470,1148,1238,1116,612,494,419,395,419,449,489,488,408,362,374,428,534,480,411,498,308,252,249,287,312,262,276,303,332,325,306,279,264,278,250,243,244,234,224,229,222,252,307,337,357,341,276,299,318,333,351,372,385,389,554,944,1068,666,579,529,738,790,899,1144,1934,1974,1610,1598,1508,1682,1776,1522,1166,780,1028,769,514,645,1016,1218,1248,1266,1110,1212,1120,730,425,476,1004,658,587,743,747,688,880,1134,1234,1050,543,512,498,481,772,772,1054,1104,1424,1124,839,1234,1666,1718,1326,1770,1992,1112,791,899,1154,1418,1452,1296,1216,1382,1492,1384,1264,1154,1034,848,736,704,657,676,841,1136,1200,1158,1450,1450,1154,1228,1218,821,769,935,968,969,1196,1396,1184,1042,1264,1492,1498,1290,1068,1140,1202,1430,1610,1344,1522,1466,889,807,1142,1404,1664,1530,1426,1290,736,832,1222,985,827,935,982,824,665,681,745,1062,1278,1248,1228,899,1218,846,662,880,1198,1444,1532,1648,1328,832,1136,1156,1312,1376,1414,1162,719,755,690,815,1042,1110,898,700,479,684,675,747,720,500,619,1088,1236,925,769,533,823,1166,1040,1216,1336,1444,1614,1726,1764,1384,819,583,477,522,547,930,1102,555,684,681,738,1003,1408,1720,1246,694,774,1188,1268,1168,1232,1090,773,612,505,786,949,757,630,555,681,931,1040,981,1166,1160,1009,621,541,715,1016,1050,1020,1023,852,974,1052,691,513,565,577,592,507,386,440,555,510,437,433,394,440,515,752,680,865,827,545,740,1226,1434,1196,869,1112,1420,842,625,523,549,577,595,626,755,810,685,574,824,1100,725,689,919,811,692,689,868,1124,1102,682,294,323,837,1052,644,641,990,971,476,366,339,973,1522,1584,1120,807,745,598,572,443,417,316,304,459,428,465,488,469,442,518,495,413,532,807,1188,1694,1516,1172,1044,1122,1023,1084,1054,781,870,1256,1264,1180,1056,931,736,999,1152,1378,1380,1236,930,879,1208,1238,879,1044,1158,1328,1246,1218,1198,1220,1946,2690,2020,1312,1244,1240,1578,1422,1278,1296,1150,1372,1708,1538,1520,1518,1270,1234,1304,1500,1610,1688,1714,1600,1604,1294,1212,1304,1570,1736,1500,1222,1292,963,675,615,1074,1490,1970,2004,1582,1266,849,505,430,403,429,565,1064,1484,1714,1722,1306,1518,1910,2288,2008,1684,1908,1954,1306,1354,1454,1642,1788,1616,1512,1478,1718,1766,1648,1426,1362,1500,1484,1528,1264,894,877,1348,1410,1392,1224,1396,1180,874,872,941,1390,1266,577,549,771,1023,1120,1478,1690,1208,681,418,391,451,443,386,332,285,340,386,773,1474,1188,741,648,610,453,543,1180,1660,1914,1836,1694,1188,509,711,974,830,644,863,1046,1172,1268,1280,1402,1142,1234,1708,1384,1376,1274,1334,1378,1290,1316,1700,1716,1228,1274,1512,1250,1398,1170,908,1376,1448,1122,1150,1292,1914,2218,1732,1410,1042,977,1060,894,630,860,1208,1520,1580,979,899,1076,959,658,860,1482,1892,1444,1062,1168,1422,1170,1426,1390,974,1122,1478,1416,1280,1144,1078,1374,1416,1320,1450,1518,1538,1316,1108,1040,1152,1160,1086,1001,1206,1038,831,1124,1378,1688,1608,1284,641,725,1376,1174,706,1008,1442,1246,1154,1218,1186,1200,1430,1556,1368,1080,1050,882,1030,1130,1198,1198,1048,1050,1194,1382,1236,1048,1170,1308,1234,1228,1412,1304,1084,1152,1170,1248,1300,1344,1332,1564,1834,1452,842,843,1114,1264,1142,1156,1240,1130,1184,1308,1324,1170,1126,1134,1230,1208,1184,1292,1200,1266,1114,1180,1028,820,984,1252,1408,1072,1346,1466,1017,1150,1356,1408,1676,1478,1316,1320,1358,1206,955,1136,1350,1490,1312,1116,1244,1566,1046,564,615,821,1226,1308,733,433,344,372,411,709,521,691,837,819,1188,1316,1078,807,1062,1252,1162,1168,1516,1296,901,447,351,511,455,385,451,438,495,903,1158,1144,818,810,725,522,446,361,467,584,744,1062,1034,1228,1276,877,895,940,1018,1048,1104,1078,926,1724,1776,706,419,454,874,1318,1126,919,902,992,1244,1248,1034,1120,1174,874,884,1228,1226,645,540,1252,1582,1084,1106,1276,1284,1224,1154,1430,1166,1428,1642,1210,1274,1548,923,931,1124,1140,1400,1308,1010,1136,1252,1026,999,880,725,712,459,513,1062,1538,1418,831,427,639,1086,933,901,837,955,780,584,597,835,843,623,471,460,730,813,793,684,701,615,615,573,577,480,433,433,459,476,378,348,465,535,631,554,855,860,502,620,578,358,395,381,454,750,976,636,422,379,336,395,882,1056,1056,1384,1516,1086,812,767,677,633,582,500,579,605,606,642,671,716,686,1002,1310,704,814,1342,1266,1104,1068,927,1015,1166,1022,964,921,744,794,894,626,483,537,552,559,504,682,760,705,808,941,1072,807,886,722,798,1038,790,515,789,1006,1166,1432,1212,644,700,990,688,669,999,1042,794,830,806,836,855,822,693,624,765,669,640,913,813,843,700,507,444,429,642,550,355,410,358,408,348,314,326,361,379,311,268,316,369,439,523,652,595,462,638,676,472,585,729,644,592,615,573,496,420,399,455,475,440,424,487,904,728,439,390,448,453,383,411,405,350,317,311,342,325,330,335,346,347,347,344,344,334,336,353,347,349,349,341,354,355,355,350,350,346,347,357,358,356,362,371,382,377,379,380,375,397,400,406,405,394,390,378,379,385,381,388,379,378,380,375,366,357,346,344,343,342,346,346,348,335,338,350,359,359,385,400,411,419,420,394,383,364,374,396,412,391,386,390,440,454,420,438,498,527,558,583,578,580,541,522,508,464,456,452,470,467,419,382,352,377,401,443,450,421,387,361,322,321,319,280,280,256,247,266,277,275,275,282,286,280,288,292,281,278,277,263,242,242,245,251,255,273,300,327,328,328,312,265,258,268,258,248,281,280,274,288,290,302,322,316,328,307,297,287,272,270,263,251,261,250,262,276,283,304,318,315,310,282,287,339,403,458,457,440,406,413,395,260,264,347,295,509,1142,1138,989,1008,863,725,644,502,323,315,289,310,267,244,280,357,300,257,264,393,387,335,351,316,283,298,316,316,308,293,287,288,288,298,303,304,295,282,285,304,323,386,393,374,352,337,334,325,315,347,336,322,319,301,319,331,344,352,347,348,346,350,346,345,344,345,339,364,364,351,364,373,371,364,374,361,352,354,358,358,356,357,359,361,353,371,369,363,372,374,372,379,399,399,392,387,360,380,381,380,388,377,356,371,401,383,379,380,387,403,406,398,409,409,417,415,420,406,394,384,375,371,377,384,371,359,352,352,350,369,387,373,370,380,377,370,363,369,367,347,370,365,365,365,363,379,379,377,392,392,375,367,366,366,362,360,357,363,368,366,374,387,393,399,407,421,426,409,403,395,393,395,385,386,385,390,377,374,382,390,390,388,386,388,382,383,377,388,394,411,446,445,427,459,432,438,455,437,468,469,466,467,473,462,484,532,530,559,1174,2124,1556,759,641,630,731,1036,1160,1238,1352,1460,1698,1826,1654,1670,1678,1578,1164,1272,1108,772,695,890,1278,1398,1356,1104,908,923,1272,1480,1128,791,716,658,802,767,552,495,467,460,470,481,531,473,398,372,373,374,386,417,470,502,473,436,413,380,354,342],[874,1018,916,789,971,996,1072,1010,968,741,584,523,458,426,411,428,483,597,723,587,437,441,424,404,386,371,361,413,419,398,435,434,490,596,824,834,1020,1036,990,865,667,679,662,875,1070,729,500,463,477,553,687,1100,1498,1434,1094,656,426,438,657,1638,2252,1894,1228,726,621,739,568,390,334,407,568,548,397,326,265,249,296,305,327,292,288,292,278,335,446,1294,2180,2170,1674,1476,1608,1464,1312,1432,1252,753,672,678,535,886,1136,904,1080,832,581,483,488,485,383,414,1302,1830,1282,1078,1026,832,1318,1614,1470,1320,1001,738,642,572,535,918,941,766,974,1258,1204,1354,1422,1410,926,433,400,415,427,607,985,1202,959,849,1234,1180,1028,1004,789,515,626,1098,1516,1350,994,916,1058,1188,1186,1300,1142,805,620,732,1052,1124,1262,1548,1534,1072,660,495,467,783,1156,1026,542,476,601,544,670,780,586,430,399,464,413,522,885,1720,1952,1482,1042,844,877,708,576,458,508,676,580,543,506,413,446,646,651,949,1722,1664,868,753,670,455,477,694,745,457,369,330,357,379,393,422,565,586,537,676,822,942,615,529,599,772,437,669,948,1146,1106,991,808,802,1058,1210,990,874,1656,2078,1446,675,697,750,467,347,395,439,788,1292,1190,1100,1212,1238,754,518,447,384,401,422,481,532,452,429,454,452,516,515,410,383,299,296,248,276,293,283,274,317,396,309,239,230,216,237,223,211,234,229,206,234,223,237,263,274,317,356,310,302,312,320,321,338,363,386,499,895,1154,1056,824,744,659,557,705,1154,1334,1066,1182,1068,683,1242,1498,1408,1216,974,979,1019,1054,948,840,747,813,825,712,952,766,621,480,436,671,529,480,976,1356,916,956,983,1064,1108,1042,984,630,533,726,846,972,1042,1034,659,812,789,1074,1021,825,1614,2062,1382,1076,1220,1152,1066,1098,1114,1246,1488,1570,1762,1424,760,587,623,677,670,642,656,786,1050,1242,1252,1228,1021,913,955,1050,925,706,582,550,603,763,785,620,601,942,1570,1754,1500,996,595,727,1122,1322,1382,1366,1180,958,894,855,761,763,836,949,897,612,576,879,1160,1232,1026,1086,969,984,1238,1300,1228,1400,1646,1516,1252,1260,1154,808,513,766,1038,1130,1310,1088,1168,1376,959,701,968,1210,1120,930,721,792,987,1284,1296,1314,706,498,568,455,634,916,829,472,863,1046,663,921,655,613,651,600,789,1060,1288,1582,1678,1836,1510,661,511,432,520,625,714,777,568,743,664,805,1130,1552,1628,876,616,1088,1180,1284,1282,1272,1042,1016,1190,1012,913,993,760,684,571,613,795,701,750,1070,1162,846,561,609,723,811,813,813,912,810,835,990,915,556,475,765,792,636,557,454,463,513,484,491,456,471,383,477,364,394,293,400,671,799,895,869,530,623,809,505,472,324,313,342,343,504,857,836,596,533,674,821,619,721,713,631,687,739,904,971,1026,828,427,482,857,1130,1170,1156,605,521,383,360,336,694,912,889,819,833,723,532,532,821,555,376,462,400,342,358,395,421,447,558,518,404,521,767,1098,1114,836,913,1188,988,830,929,702,670,957,1038,1016,1338,1438,1070,771,1026,1170,1214,1220,869,572,715,1016,847,895,925,1052,1210,1080,1202,1306,1318,1722,2062,1788,1272,1224,1162,1554,1272,1284,1376,1244,1472,1760,1698,1732,1510,1378,1480,1570,1664,1560,1408,1304,1220,1446,1316,995,1040,1468,1772,1550,1410,1170,537,410,417,1264,1884,1974,1660,1366,1082,641,460,421,405,462,822,1424,1490,1780,1454,1438,1584,1830,1886,1646,1752,2264,2110,1362,1476,1426,1644,1534,1660,1608,1440,1674,1666,1560,1460,1600,1794,1680,1144,631,508,448,604,882,1132,1164,1270,1284,1306,1156,1106,1354,682,633,724,798,1106,1416,1638,1480,1110,874,590,463,390,333,326,295,302,366,412,611,847,607,430,440,450,550,1090,1570,1706,1788,1516,1180,672,586,690,1216,1292,568,675,1007,1284,1290,1368,1220,1200,1366,1558,1630,1470,1276,1478,1354,1172,1190,1438,1348,1284,1410,1656,1204,1572,1462,1138,1015,1118,1290,1080,966,1512,1834,1522,1240,947,866,1015,972,826,1021,1448,1538,1074,827,891,1002,873,675,1248,1568,1822,1290,941,1132,1504,1618,1392,1284,1290,1410,1512,1314,1400,997,988,1278,1392,1560,1614,1472,1378,1238,1384,977,797,1292,1008,1154,1106,993,931,1084,1286,1446,1722,1460,914,873,1482,1200,879,987,1310,1178,1184,1354,1478,1654,1704,1708,1332,1092,1072,948,1074,1256,1136,1070,1046,1124,1364,1470,1288,1054,1158,1288,1300,1246,1330,930,901,1144,1254,1340,1298,1338,1450,983,848,1062,1072,1004,1152,1148,1102,1240,1120,1009,1214,1426,1392,1202,976,819,1086,1822,1666,1484,1154,989,1008,1396,1224,846,1013,1180,1486,1110,1282,1178,1132,1370,1404,1592,1782,1466,1354,1500,1594,1526,1308,1274,1300,1532,1322,1136,962,904,745,589,630,779,1060,1136,591,478,789,637,467,572,578,632,545,619,1204,1532,1160,536,785,1106,1166,1002,864,890,881,557,450,574,435,300,358,421,461,964,1124,1212,1042,824,796,754,669,490,388,700,944,1336,1002,1086,956,579,648,1034,1172,1286,1562,1070,938,1512,1222,749,594,719,1206,1260,999,937,908,887,1078,1096,880,965,1294,1122,1174,1460,1192,641,687,1378,1544,1160,1540,1670,1482,1428,1220,1298,1134,1350,1512,1316,1248,1088,658,749,1082,1256,1252,1308,1396,1404,1258,1026,1003,1080,1178,965,948,948,876,1310,1242,1116,791,894,1068,939,789,582,745,908,823,626,452,653,1266,1036,536,502,567,551,532,509,492,446,405,363,337,347,374,410,404,426,480,580,637,781,720,850,828,496,518,593,397,417,390,403,486,504,378,359,448,406,395,785,934,661,720,855,774,725,694,596,602,526,522,565,527,539,591,580,681,858,1294,899,478,711,999,1252,1362,1152,1003,1208,1118,1030,1106,1005,892,796,790,581,470,493,525,603,677,624,572,581,880,995,1148,766,836,658,666,766,591,572,798,1021,1208,1516,1144,780,680,554,474,567,628,796,915,771,612,695,857,733,488,681,894,789,730,1013,1198,1154,741,532,478,594,723,419,358,401,434,416,353,324,266,310,324,251,318,348,328,485,572,523,457,408,513,719,550,652,738,655,623,656,659,542,457,469,492,385,451,482,505,826,777,504,347,394,421,353,367,395,364,321,314,332,328,342,346,344,354,354,344,336,336,340,345,349,348,350,345,350,350,348,347,349,342,345,360,363,367,369,358,365,374,378,371,383,383,380,405,409,393,383,375,379,373,364,372,382,379,373,368,361,361,348,339,341,342,346,344,340,331,348,353,336,361,392,394,407,424,426,408,404,368,358,391,407,389,374,374,407,441,446,438,470,489,521,542,566,580,548,534,526,492,444,429,454,462,474,478,399,375,419,439,434,397,358,345,336,333,322,276,269,256,251,265,267,261,271,281,281,288,288,294,281,292,291,262,242,235,238,243,249,278,301,316,320,314,287,255,262,258,261,279,295,276,281,304,294,318,332,303,313,293,279,289,265,261,264,274,272,267,269,280,292,301,297,297,306,284,276,316,398,463,494,480,440,470,385,258,302,330,328,458,984,1180,1060,966,1064,854,582,520,294,295,316,350,290,319,322,283,244,248,276,325,300,323,365,335,303,312,321,311,303,304,298,294,291,283,283,282,279,272,278,340,395,397,374,361,349,336,332,320,320,318,306,325,319,306,313,327,344,352,354,348,342,336,338,336,328,343,350,348,345,347,350,343,347,357,361,352,346,349,349,335,325,334,355,352,350,358,358,344,349,362,356,357,369,370,374,375,365,375,375,369,379,397,389,379,390,399,383,371,383,378,375,378,431,497,474,439,417,393,389,379,359,353,361,374,362,360,354,352,352,358,370,371,380,375,373,371,364,364,365,345,361,365,363,363,363,370,370,369,379,379,370,374,381,386,377,360,357,361,361,365,376,375,392,392,405,415,416,406,398,392,388,389,390,379,380,382,381,381,380,377,379,380,388,389,384,380,361,367,383,375,402,433,435,439,437,437,438,448,440,463,470,455,445,445,456,478,466,557,1540,2416,1442,654,567,579,625,646,673,719,824,1160,1650,1532,1314,1396,1532,1544,1394,1292,844,501,546,750,838,822,808,921,981,727,1028,1340,957,666,644,694,789,834,519,486,439,433,445,451,457,472,462,458,463,474,498,500,498,480,477,474,478,465,465,430],[874,694,720,922,927,910,845,871,950,827,795,704,536,443,412,395,344,397,512,537,433,439,447,472,437,384,372,375,397,399,403,419,424,405,563,634,687,683,508,470,501,526,674,957,949,782,785,568,457,441,497,1098,1504,1678,1610,1112,603,558,1296,2192,1722,1196,520,266,349,571,675,501,318,413,592,466,330,265,279,309,346,433,429,278,280,321,310,281,948,2566,2570,1920,1236,1378,1498,1388,834,855,1126,1052,721,563,596,1242,1522,1440,1304,1208,904,627,492,484,563,647,846,908,992,1368,1100,1184,1500,1698,1470,1172,883,695,674,808,813,872,973,850,825,1148,1506,2030,1612,1832,1240,473,422,406,509,686,915,1086,1068,843,639,901,1126,1102,572,400,592,1274,1804,1552,1130,1066,1266,1376,1174,1074,1050,1038,1016,1002,1032,857,925,1204,1038,1012,833,604,503,616,969,917,467,399,594,511,466,515,479,601,721,664,435,432,792,1474,1578,1682,1646,1138,692,604,470,376,480,717,575,626,698,533,606,802,699,1058,1596,1140,769,1034,1015,658,516,572,536,339,330,318,309,397,513,503,586,566,423,523,631,802,600,550,544,653,583,858,1252,1356,1188,922,708,788,901,1220,1296,913,871,1438,1490,890,850,971,683,426,403,372,452,577,652,673,566,871,793,491,427,379,379,400,423,496,502,514,514,510,522,506,418,280,268,303,284,262,254,290,283,284,299,284,237,176,186,204,207,209,239,240,201,209,223,247,253,234,274,365,370,348,329,303,281,294,332,398,610,932,980,952,1100,1054,602,323,535,693,442,384,645,848,598,865,1202,1272,1120,1212,1058,1062,1336,1110,669,493,731,655,655,730,562,447,404,504,658,582,738,1438,1842,975,860,1008,1082,1118,1130,1042,680,455,616,1122,1356,1472,1450,841,904,732,749,675,1124,1496,1442,1096,1036,1512,1462,790,1054,1804,1684,1428,1662,2002,1384,714,574,530,581,739,750,722,810,976,946,1021,1112,1202,1136,973,866,689,529,501,654,618,553,612,702,675,628,1216,2076,1714,946,622,1000,1500,1304,993,1146,1606,1396,1638,1704,1726,1658,1448,1350,1154,694,574,724,838,817,609,428,537,846,1176,1084,1302,1638,1718,1538,1288,1430,1424,1066,783,596,617,659,603,684,1490,1576,1176,908,677,763,1216,1114,1038,1432,1236,1172,1356,1404,779,497,684,902,744,1058,1118,669,883,803,584,943,663,439,577,700,722,573,666,1134,1622,2114,1318,574,363,291,344,423,535,541,663,610,575,904,1252,1582,1370,670,705,1216,1214,1140,1098,1074,1040,1228,1566,1186,854,1146,810,854,717,704,709,667,1116,1300,1324,1136,621,531,669,1050,969,850,1094,1094,1068,1236,985,545,479,724,772,681,682,605,574,626,581,554,475,453,351,263,299,384,367,411,510,486,461,520,369,324,376,337,420,367,305,328,341,446,598,694,615,565,578,690,667,585,482,555,536,661,956,1190,1436,979,1023,741,658,683,862,923,714,498,478,527,537,641,833,846,512,761,821,525,414,508,445,535,825,812,463,321,344,347,382,497,523,548,897,1104,1005,786,990,1438,1340,783,623,746,594,576,1092,1256,1282,1390,1456,995,719,1042,1210,1096,1240,1168,1066,972,1324,1106,1074,1144,1378,1578,1418,1332,1238,1234,1702,2484,1860,1232,1144,1194,1306,1260,1278,1194,1240,1614,1518,1564,1794,1694,1696,1510,1262,1094,921,797,736,698,1034,1100,763,1052,1416,1522,1554,1300,843,412,339,312,655,819,658,491,579,657,648,739,549,434,504,894,1426,1572,1682,1476,1532,1500,1468,1542,1484,1332,1346,1362,1432,1372,1490,1496,1086,1306,1484,1714,1836,1520,1430,1412,1556,1708,1382,924,636,422,393,599,909,1036,995,1100,1016,1034,1060,1386,1312,825,838,912,1054,1254,1506,1570,1346,1260,1292,926,656,480,433,462,431,374,380,408,427,403,361,390,404,492,970,1376,1948,2106,1532,1036,868,594,684,758,1178,1446,665,528,869,1224,1080,1184,1306,1522,1462,1350,1482,1200,1062,1076,1026,1232,1280,1440,1172,1082,1462,1614,1324,1300,1502,1396,824,855,1274,1236,1344,1422,1278,1124,781,682,888,967,1072,1106,918,1394,1946,1294,843,796,951,620,699,1310,1732,1744,1334,1176,1418,1560,1606,1468,1438,1388,1442,1452,1292,1478,1090,1052,1412,1578,1588,1520,1404,1644,1294,1108,1344,1364,1396,1358,1412,1230,980,813,937,933,1030,1344,1332,1488,1168,1442,1258,969,827,934,1156,1224,1224,1296,1372,1376,1598,1184,1158,1130,1082,1170,1142,1020,1108,1210,1282,1146,1134,1128,1028,811,955,1334,1312,1272,1058,1094,1264,1216,1130,1152,1230,1390,1064,890,1160,1338,1180,1172,1015,1146,1448,1296,1076,1096,1224,1332,1474,1290,955,1136,1590,1122,1020,942,607,852,1392,1106,993,1044,1112,1190,1268,1230,913,894,1162,1354,1600,1748,1472,1406,1426,1450,1512,1672,1284,1136,1400,1400,1376,1324,1216,1011,786,865,987,1110,659,392,333,607,653,695,891,749,724,745,596,1020,1060,929,669,608,926,1224,1082,735,835,933,640,465,487,408,389,449,410,383,567,919,1472,1312,802,550,526,503,474,342,572,1054,1292,1030,1132,1182,974,960,1218,1222,1280,1484,1212,1104,1046,796,608,476,799,1332,1268,1112,1060,862,675,688,874,1120,1010,1360,1304,882,888,824,681,510,772,1146,1448,1868,1720,1246,1204,1308,1400,1042,941,1458,1730,1362,882,477,458,855,1356,1208,1290,1150,1422,1448,1160,965,968,1100,1170,1028,1064,1466,1614,1160,1268,1322,1202,1004,1232,922,611,895,970,922,877,894,1714,3480,2622,996,457,492,435,360,344,361,409,448,363,328,337,390,390,400,414,491,586,613,677,655,656,579,433,504,619,436,426,436,441,424,406,395,385,467,433,393,770,877,676,732,827,824,750,668,650,576,478,467,484,492,570,715,780,1146,1694,1274,562,535,781,1158,1318,1228,1390,1390,1260,1036,1048,1076,1140,827,708,683,572,465,452,529,684,845,644,423,367,416,492,625,661,788,739,586,491,643,920,1122,1320,1300,1252,1258,995,818,677,787,764,548,477,691,959,788,473,720,688,616,690,824,1064,1110,834,989,1116,758,590,590,708,581,478,377,321,409,377,314,299,283,350,373,318,372,372,330,435,509,471,457,392,383,679,653,633,731,634,676,764,702,568,485,464,417,352,385,475,474,642,789,577,347,314,329,298,352,401,372,327,323,334,330,340,338,332,342,346,357,342,345,343,341,341,348,338,352,360,338,344,344,349,346,357,356,363,371,369,355,359,380,387,373,372,375,380,388,393,379,365,367,373,373,372,369,375,375,380,382,363,359,346,354,348,346,344,344,344,342,346,339,327,362,369,388,406,422,419,429,427,411,385,389,404,395,399,391,407,448,471,462,469,456,472,488,543,577,558,545,537,499,454,437,428,413,443,482,451,452,447,416,413,384,339,324,310,285,288,251,259,268,262,266,266,263,279,282,280,303,285,283,273,278,280,261,246,238,243,232,238,271,287,312,324,325,281,314,310,267,264,285,289,281,286,304,296,320,326,292,289,288,289,303,284,273,278,274,276,282,276,283,284,292,311,319,287,287,293,349,469,587,705,731,722,785,527,305,312,281,283,409,632,930,1164,1164,1036,768,653,462,265,331,356,305,259,284,291,287,303,285,315,325,316,335,341,309,287,292,286,295,299,300,312,316,287,260,264,265,259,260,310,399,412,385,348,332,340,338,331,324,329,322,318,316,314,314,311,319,332,339,339,334,332,329,330,334,316,334,350,348,350,359,359,350,350,357,356,347,347,345,337,327,325,327,345,361,352,346,351,353,352,349,347,350,349,357,367,369,375,374,362,357,361,383,395,385,389,377,382,370,375,377,375,384,382,397,402,397,391,379,378,373,367,370,373,352,353,361,357,349,346,358,362,368,377,370,371,366,365,365,365,349,351,367,365,357,367,369,368,372,371,370,383,379,379,372,373,369,363,348,347,365,386,377,392,406,406,408,402,397,389,385,385,380,374,375,377,370,370,374,373,369,360,374,384,384,379,370,359,361,371,365,360,402,414,415,415,423,437,436,427,430,435,451,439,441,450,454,477,652,1986,2402,1284,600,527,516,521,558,529,510,566,1138,1514,943,755,886,1148,1362,1550,1544,1246,1136,1360,1206,878,806,733,968,1001,661,898,1190,977,628,696,548,811,1048,565,464,435,425,448,442,434,443,436,457,472,456,431,409,404,403,429,411,407,409,430,442],[992,621,614,677,579,771,877,1072,1126,921,825,857,933,728,559,434,422,378,401,453,401,417,448,467,452,393,355,364,389,415,428,428,434,414,484,567,614,669,655,667,801,613,630,973,728,525,662,821,683,496,573,1064,1584,1922,1610,1194,794,1148,1944,2112,1436,871,381,259,316,492,697,617,406,372,372,321,317,329,353,373,427,510,429,273,305,322,304,400,1250,2458,2146,1462,1444,1578,1476,1138,636,517,835,1254,1018,610,686,1164,1388,1144,1184,1220,1132,817,484,521,825,841,934,1042,1082,1356,1294,1492,1664,1822,1748,1220,889,918,459,616,913,1162,1206,907,742,921,1434,1992,1434,1526,1172,406,347,527,917,768,836,1011,1052,970,888,912,1068,785,385,376,478,1080,1544,1232,1082,1118,1238,1328,1172,1042,1220,1274,1278,1240,1246,952,1096,1114,751,873,604,410,365,377,389,332,321,353,451,473,429,407,466,695,716,636,608,491,456,434,916,1656,1824,1624,1306,754,417,445,607,811,666,534,557,552,637,695,642,792,824,702,832,1012,1216,1066,671,408,358,328,299,295,314,503,650,527,537,674,501,494,529,619,641,598,597,668,855,1302,1526,1532,1224,1034,860,1188,1448,1534,1544,967,467,1044,1294,779,582,674,793,428,368,368,386,391,390,396,371,643,811,593,466,416,422,408,392,451,466,475,493,496,493,468,420,372,461,604,553,344,285,256,284,276,265,259,197,198,220,216,198,221,289,251,218,194,218,257,238,182,199,274,342,412,368,347,309,302,353,402,617,894,807,795,881,692,558,329,291,345,527,661,791,1150,863,701,1060,1256,1234,1248,990,932,1046,1132,1164,908,748,525,637,705,535,441,501,738,1000,962,1816,2122,1580,961,928,988,1050,1126,1110,1004,726,403,512,964,1050,1632,1250,1092,1078,1234,1404,1088,877,957,1026,986,926,1274,1548,969,1346,1838,1496,1024,983,1180,986,656,569,539,608,727,642,608,627,764,731,946,1023,1154,1266,1278,1021,566,552,625,1050,1298,847,1058,1482,1266,764,667,1160,1362,795,573,1066,1668,1402,1046,1502,1704,1190,1188,1324,1450,1610,1786,1770,1382,732,508,572,539,451,426,493,516,515,623,651,1284,1660,1140,838,918,1124,1188,1120,1120,724,750,974,1268,1554,1518,1007,817,904,855,975,1188,1220,1460,1880,1670,1224,1046,876,700,541,1034,1374,744,904,695,665,977,728,584,844,790,511,700,830,678,607,465,747,1034,1090,605,505,354,323,346,311,319,579,746,529,738,1172,1302,1616,1076,557,882,1310,1118,1082,1026,862,981,1368,1280,679,600,1166,1110,1240,1198,1286,1200,1017,1396,1582,1406,1180,680,549,762,1162,906,887,1136,1092,1130,1290,1021,602,462,628,804,810,763,669,622,788,658,567,528,450,437,434,360,362,314,344,378,461,352,309,301,334,393,423,509,480,413,371,352,339,320,483,583,558,633,717,597,422,398,423,481,695,778,1058,1522,1136,1172,696,504,562,899,1064,755,593,721,581,532,796,1130,1034,555,933,1080,566,558,612,550,730,1004,1050,373,238,294,380,407,457,474,673,1084,1136,1078,1058,1238,1612,1362,775,824,862,803,923,1180,1428,1348,1226,1236,1012,897,1023,1042,974,1386,1346,1028,894,1500,1556,1426,1218,1230,1532,1488,1432,1212,1188,1362,1368,1152,1132,1134,1178,1278,1272,1222,1088,1108,1122,939,1368,2132,1498,1108,767,605,558,492,437,452,537,776,869,987,1520,1736,1638,1606,1005,600,460,422,403,421,446,448,486,579,590,599,841,842,697,578,863,1224,1432,1544,1738,1710,1582,1560,1548,1310,1162,1106,1806,1838,1514,1666,1288,1118,1420,1366,1530,1844,1674,1472,1656,1482,1338,1034,1072,1070,722,583,937,1366,1232,1252,1652,1216,947,1252,1472,1440,1174,957,1150,1506,1622,1516,1376,1298,1664,1812,1256,804,550,545,565,496,424,372,405,483,545,485,390,503,992,1374,1418,2230,2062,1278,1104,1156,722,799,717,867,989,741,527,654,1036,747,622,1150,1408,1362,1472,1454,1274,1122,1020,1042,1278,1318,1406,1470,1132,1204,1578,1704,1430,1256,1238,1236,693,874,1316,1742,1402,1368,1186,810,819,1140,1230,930,887,639,1046,1930,1676,1216,796,599,465,529,1284,1748,1584,1362,1260,1274,1180,1468,1480,1360,1456,1422,1306,1360,1430,1052,940,1320,1520,1164,1202,1282,1442,1180,846,1110,1476,1508,1516,1406,1308,1288,1154,1098,882,1102,1266,1382,1154,885,1158,1060,1090,1300,1456,1430,1286,1426,1832,1346,1060,1266,992,1132,1294,1366,1378,1302,1498,1478,1286,1384,1252,941,872,1162,1322,1228,1176,1384,1208,962,1001,1282,2302,1466,1242,1166,1266,1032,601,772,890,836,1034,1044,1096,1306,1250,942,879,1094,1196,1230,1224,1082,1138,921,842,1016,821,408,656,1360,1136,1080,1094,1058,931,1094,1228,1246,1322,1330,1354,1552,1694,1346,1026,783,849,1070,1282,875,996,1564,1660,1414,1392,1290,1001,1240,1566,1354,1418,882,458,438,534,519,666,728,706,959,711,444,875,1016,1266,1154,926,965,1082,1015,802,802,816,661,412,390,452,628,763,761,775,895,1114,1138,1118,1036,849,725,599,429,438,669,978,899,1007,1308,1490,1342,1228,1266,1192,954,999,887,982,1108,891,485,339,504,702,1001,1262,935,743,821,840,563,729,907,1430,1694,1344,1040,999,774,510,441,636,1162,1354,987,542,590,1040,1226,972,1100,1482,1522,1234,1296,945,872,966,1068,1354,1542,1252,1056,1346,1340,1110,1028,981,974,797,808,974,1100,1256,1200,954,767,1208,1532,1005,1132,1268,950,1060,954,1172,2092,3774,4356,2402,777,551,375,306,322,323,413,434,290,290,372,470,416,342,386,448,426,395,490,559,590,803,583,513,669,499,411,453,460,471,515,513,418,418,346,367,855,832,708,723,814,857,697,589,586,532,441,371,519,762,998,1168,1444,1626,1636,891,477,654,973,1206,1040,1164,1288,1452,1208,1052,1078,1218,977,858,822,774,840,622,579,681,705,783,716,473,582,697,623,508,587,661,871,822,566,759,1116,1032,1044,1234,1262,918,855,912,847,866,993,756,384,403,598,756,753,631,626,871,912,839,893,845,613,648,722,594,656,739,753,694,618,477,365,314,305,305,283,267,344,418,352,321,306,248,296,357,382,410,391,369,626,756,601,537,561,706,756,680,575,493,517,455,368,442,590,563,543,692,496,343,329,314,282,387,427,364,323,324,330,336,338,336,336,336,348,331,347,345,345,333,330,347,336,342,352,356,354,354,356,357,365,349,347,354,361,362,361,373,375,366,366,372,385,386,384,389,372,360,361,369,374,365,373,368,361,370,369,360,340,354,351,344,350,346,336,332,325,335,318,345,351,380,429,435,410,430,444,443,421,383,388,387,389,398,411,440,469,506,510,493,487,507,561,569,549,546,529,503,464,446,442,443,452,468,486,511,461,406,394,364,346,328,299,264,281,277,265,263,252,253,268,281,279,283,287,272,284,284,289,289,277,271,254,240,255,236,235,254,276,320,316,316,297,311,328,301,276,273,274,294,281,282,287,323,316,289,286,292,300,300,281,265,273,273,255,271,276,276,287,310,313,298,278,297,352,417,542,715,923,1082,1138,1372,807,376,254,271,350,599,767,1008,1294,1104,623,430,465,350,310,366,322,259,244,251,277,309,252,240,320,296,299,328,322,314,319,299,276,278,290,281,313,332,312,289,284,285,269,282,356,398,383,367,344,347,356,342,332,324,343,334,317,306,318,326,315,321,343,355,336,321,324,334,335,336,328,334,339,346,350,350,342,347,355,354,351,347,341,334,333,329,333,315,340,357,350,350,353,352,350,347,353,367,343,355,364,355,372,369,349,357,360,363,367,375,385,364,381,374,414,415,380,375,378,397,391,390,372,373,379,367,367,359,365,350,344,355,353,343,342,351,354,366,377,372,372,362,368,370,357,348,341,355,371,357,368,390,390,381,360,365,383,370,365,379,374,368,372,368,377,363,380,394,394,389,398,400,386,383,380,380,377,377,374,368,365,361,361,367,369,364,373,375,360,366,364,358,359,364,361,357,351,368,384,391,394,397,403,405,405,410,426,427,430,438,437,446,433,771,1756,1854,1116,643,497,481,490,503,482,476,601,1250,1406,827,546,552,661,872,1054,1098,1198,1096,1090,1124,1130,979,979,1054,805,673,808,946,896,606,780,658,609,680,521,449,444,427,452,463,409,388,406,415,430,439,420,403,403,405,414,400,388,377,387,402],[814,899,1030,1068,852,911,1130,1094,1046,942,800,982,1194,1110,1018,839,541,421,445,435,401,415,423,434,419,388,383,428,395,401,397,383,382,398,398,441,749,1102,1094,1142,1166,859,708,1122,879,539,523,645,763,815,904,1432,2170,2316,2034,1602,1242,1860,1946,1500,1040,628,411,335,291,341,444,383,363,351,249,365,362,349,382,396,432,518,504,387,403,319,279,337,505,1138,1378,1236,1374,1600,1556,997,662,680,554,824,1270,949,1024,1112,1174,1186,1490,1384,1070,689,555,931,1020,759,792,1013,897,1114,1562,1724,1762,1578,1598,1354,1274,1576,631,639,838,880,936,869,945,1320,1638,1964,1722,1334,1100,506,581,696,924,733,875,943,1284,1216,1005,1016,1092,831,469,365,474,809,902,837,985,1148,1116,1080,1090,1078,1204,1366,1378,1252,1438,1180,1364,1042,704,769,872,671,450,326,323,322,320,373,552,614,509,456,598,756,621,575,672,719,617,532,1242,1990,1970,1892,1792,1044,491,409,484,642,596,528,625,573,537,709,857,827,673,708,815,893,930,979,660,362,313,314,326,357,368,509,532,455,476,870,944,967,870,710,821,843,611,648,956,1410,1252,975,938,922,1070,1368,1604,2056,2096,1340,514,531,479,449,448,578,797,505,379,408,411,401,385,384,385,524,824,641,482,387,417,428,426,437,469,529,485,412,470,456,493,580,756,771,579,441,409,305,293,312,280,230,199,208,236,258,213,221,302,251,226,229,251,267,237,211,221,244,269,389,386,372,312,305,332,383,372,485,515,560,509,462,485,398,422,473,587,967,1182,1346,1192,959,968,1046,1064,1128,752,725,1240,1428,1394,1252,1176,949,714,780,937,679,742,928,1078,745,1114,1456,1023,833,883,946,1044,1090,1074,877,630,536,1056,1436,1176,1242,824,784,1042,1410,1494,1462,1416,1064,808,929,1438,1470,1108,1074,1410,1180,1100,1154,1172,1040,651,443,486,633,664,652,423,444,454,485,444,481,727,1392,1970,1802,1284,908,1388,1268,1350,1860,1232,1138,1852,1598,911,646,1262,1688,769,458,778,1036,867,936,1320,1240,1030,821,970,1460,1596,1576,1560,1370,757,445,433,435,402,364,330,309,390,490,749,1286,1318,943,726,891,1046,868,691,625,581,812,1080,1290,1598,1626,978,1234,1126,842,1148,963,818,897,1250,1436,1172,999,1256,972,919,1536,1612,1002,783,492,824,804,828,677,698,745,514,649,645,564,589,461,843,847,621,579,617,446,369,409,361,437,750,644,651,1009,1354,1606,1766,919,525,967,1178,988,921,1004,1146,877,1062,1042,915,858,1092,1042,948,1244,1332,781,614,873,1058,1218,1304,1106,965,944,980,711,965,1036,775,962,1160,1104,707,551,547,579,626,615,647,623,557,483,448,400,436,554,537,414,369,368,399,376,393,365,320,280,293,301,436,558,439,388,415,452,378,370,410,444,487,615,587,462,431,383,411,491,598,587,667,913,915,793,714,660,630,919,1028,644,619,888,709,585,785,1106,836,549,1140,1132,518,442,482,635,996,980,977,552,518,475,558,558,550,550,897,1206,1120,1224,1198,957,1086,996,687,826,722,776,1224,1324,1230,1128,1158,1154,1118,852,681,792,974,1324,1202,726,833,1426,1420,1194,1050,973,1508,1402,1196,1016,1058,1158,902,1010,1138,1136,1172,1176,1232,1368,1344,1232,1248,1244,1302,1776,1378,799,512,490,474,463,438,456,508,559,996,1440,1704,1760,1568,1394,943,536,440,462,477,487,517,519,574,550,588,577,563,654,837,824,767,907,1080,1230,1584,1648,1566,1440,1372,1174,1216,1384,2822,2722,1684,1694,1642,1462,1462,1208,1358,1692,1892,2154,1760,1248,1008,860,971,1230,1160,1034,1208,1572,1342,1394,1360,1148,1156,1382,1464,1466,1334,1256,1444,1678,1378,959,1168,1814,2192,1522,1070,656,468,483,398,388,390,397,469,451,505,485,513,950,1466,1504,1512,1674,1644,1376,1046,808,535,780,728,807,817,572,445,525,877,799,705,1042,1356,1530,1588,1526,1422,1310,1510,1478,1490,1650,1444,1382,1438,1204,1358,1748,1618,1252,991,1260,931,830,1020,1162,1178,1410,1432,1358,971,924,1058,810,932,932,1150,1458,1378,1314,879,496,430,427,585,946,1166,1390,1390,1512,1246,1488,1528,1360,1436,1422,1274,1388,1482,1380,1384,1262,1246,1144,1298,1090,1110,1106,936,1001,1052,1116,1418,1428,1296,1350,1324,1184,960,939,1026,1162,990,841,1088,1244,1266,1272,1308,1170,1204,1318,1606,965,775,1154,1044,866,991,1172,1268,1362,1654,1688,1204,1256,1108,828,647,911,1372,1272,1182,1278,884,988,1394,2304,7988,2998,1226,1278,1234,839,402,668,896,767,927,1100,1060,938,760,760,886,1134,1290,1312,1176,1194,1152,812,711,869,801,614,749,1082,1096,1132,1266,1174,890,930,1160,1132,1136,1072,1292,1516,1358,769,644,432,454,903,1268,1130,1202,1380,1574,1690,1904,1750,1100,1218,1230,1096,1028,794,708,872,1094,1076,767,623,744,910,771,1038,1542,1146,1062,1098,1092,1310,1324,1204,787,608,566,470,375,425,422,761,1070,1146,1208,1360,1368,1052,947,1178,1242,1168,879,485,487,813,813,598,645,894,981,1092,1204,1170,1236,816,562,433,500,891,835,512,434,565,833,1186,1290,949,725,920,747,396,436,992,1760,1618,944,1226,1354,1168,684,540,623,658,745,515,409,515,827,972,1080,1364,1290,1274,1078,1156,1174,1080,789,772,928,1218,1144,1078,1196,1032,1170,1470,991,813,1040,946,1074,1080,1094,1050,1074,1076,1310,1424,1250,1220,963,841,779,518,630,946,2196,3222,1938,746,525,362,349,351,321,330,319,272,296,346,382,385,408,415,450,477,522,648,587,555,1024,702,462,648,552,400,450,486,561,689,681,477,416,361,323,832,841,697,753,893,902,724,642,579,525,504,453,731,1190,1618,1748,1910,2030,1368,592,584,758,1144,1334,1054,1434,1076,1478,1368,1322,1348,1064,785,869,816,1020,1116,837,740,767,594,629,675,497,503,771,848,631,565,642,1184,975,488,670,944,827,661,816,1238,1154,739,763,944,918,821,949,870,659,729,683,873,973,909,805,881,1054,994,723,463,434,510,645,672,762,645,605,601,518,413,384,370,318,300,272,287,320,261,271,285,280,311,325,341,347,353,453,612,766,689,487,554,645,647,625,564,488,559,605,565,566,716,682,579,539,464,370,320,287,266,357,413,354,328,327,327,334,343,336,336,336,345,339,335,336,347,333,339,356,353,348,345,339,347,350,353,351,350,353,356,348,350,365,365,356,364,369,372,368,385,381,373,389,377,361,361,364,366,364,381,368,358,366,368,362,343,342,344,335,338,344,339,339,335,342,335,341,347,371,438,454,439,433,436,458,436,403,385,400,395,403,421,438,473,522,550,568,567,583,588,564,550,544,523,500,472,434,418,437,439,424,462,519,462,408,389,346,347,335,314,280,287,280,251,253,245,263,277,287,279,281,287,284,280,283,294,290,264,247,243,240,269,252,237,243,242,267,282,300,310,332,365,328,271,264,270,287,264,271,284,300,289,283,288,300,305,288,254,269,271,277,254,273,284,278,293,316,296,271,282,312,384,450,496,563,826,1194,1334,1264,860,443,236,280,442,611,681,985,858,615,446,418,406,356,301,289,272,287,298,285,282,246,232,275,324,311,314,318,297,287,283,321,313,278,290,282,328,325,309,280,267,308,332,355,391,393,374,352,340,338,338,338,332,322,350,349,330,320,324,336,335,340,355,362,342,334,334,339,342,338,338,338,339,344,349,343,349,355,356,354,345,345,339,336,332,328,321,320,328,322,326,326,349,349,347,347,346,353,341,346,353,355,364,363,360,360,359,353,343,353,371,361,365,373,393,367,353,372,372,377,403,397,359,373,389,372,359,353,360,364,358,355,346,340,342,343,355,365,369,369,372,361,359,373,365,363,369,365,368,362,353,374,371,369,362,363,379,379,379,386,385,383,372,381,382,377,391,388,389,379,382,390,380,375,374,373,371,370,370,370,363,357,358,357,357,355,353,351,365,355,351,348,352,357,357,350,345,351,361,365,366,377,388,376,382,387,414,405,410,425,414,444,433,647,962,898,771,570,466,463,457,463,466,479,823,1498,1518,943,476,481,522,637,735,775,756,665,771,958,1004,896,833,976,944,882,770,786,653,445,449,549,486,442,424,422,419,417,446,446,400,386,410,400,407,412,398,384,389,392,387,384,387,377,370,390],[504,827,1118,1260,919,769,874,689,728,888,875,1001,1206,1306,1352,1262,1092,780,501,428,354,347,409,413,394,403,473,429,387,372,377,372,402,484,488,706,1234,1578,1660,1340,1116,1050,995,1268,1324,1116,769,560,536,698,1030,1574,1936,1828,2294,2160,1952,2134,1930,1294,669,504,519,434,336,274,343,437,397,363,367,402,333,323,399,390,451,556,467,320,375,349,287,291,307,402,519,749,1058,1302,1260,866,1009,1230,731,567,1164,1542,1682,1554,1058,1258,1642,1356,1011,1090,1144,1266,1030,1086,1256,1236,1022,1406,1796,1926,1784,1326,1346,1614,1858,1832,799,612,725,857,880,1278,1526,1126,1256,1732,1324,838,700,560,727,879,1254,1236,1222,1152,946,713,711,870,1188,1126,700,469,814,939,702,672,935,1410,1238,1186,1360,982,1046,1210,994,1318,1316,927,1248,1094,871,937,911,763,637,520,378,332,285,279,455,532,519,502,522,534,530,539,562,631,641,987,1922,1910,1974,2186,1712,957,515,378,446,618,541,488,573,683,697,833,972,833,667,591,766,691,464,476,472,427,328,309,294,328,340,503,505,564,684,897,1004,959,791,786,1048,1002,607,636,710,918,753,582,662,997,1356,1776,2222,2218,1874,1580,542,476,502,545,520,590,766,571,369,398,367,321,275,323,325,352,799,732,555,398,343,376,436,530,579,624,641,631,563,460,498,603,670,618,550,603,629,597,468,326,207,212,221,237,245,257,233,240,259,211,218,272,292,262,235,228,246,248,237,307,362,395,353,320,325,338,369,374,326,351,379,435,443,428,410,403,350,626,780,765,948,1068,904,1192,877,1013,894,981,1456,1510,1310,1154,1158,1296,1136,1050,1148,778,1054,1200,1142,865,550,523,713,780,799,896,1016,919,894,665,612,623,1552,1578,1662,1242,807,779,1082,1368,1052,1050,1538,1214,642,445,988,1310,655,633,879,968,1004,1036,1478,1532,1060,890,1164,878,647,600,529,588,445,419,462,417,534,1144,1622,1426,1278,1214,1866,1650,1160,1416,1094,958,1168,942,766,766,1710,1744,736,490,684,710,591,1068,1592,1052,765,1158,1292,1122,1076,1456,1664,1388,979,722,673,609,498,397,345,374,407,458,702,1170,1094,939,690,965,1094,926,775,659,827,915,930,1338,1310,1256,1144,1664,1678,1422,1302,993,721,678,769,886,991,1256,1476,923,1094,1520,1764,1356,794,600,754,616,617,555,608,697,528,727,642,578,548,675,896,858,633,623,761,661,514,399,323,594,766,666,881,1256,1606,1920,1548,796,748,1146,1052,955,837,1164,1146,1202,1622,1784,1476,1140,869,650,597,791,913,697,857,861,1046,1170,1584,1804,1526,1088,990,1086,1262,957,540,610,749,919,584,563,857,998,678,518,518,539,470,375,401,384,370,379,371,366,393,397,378,374,413,487,438,344,334,326,332,360,367,364,651,839,522,367,323,357,533,600,522,645,631,542,612,678,940,1152,1064,1050,979,908,1036,818,678,948,1018,561,443,427,351,318,561,918,642,452,1021,1182,565,377,429,648,1198,1202,1248,1188,1106,1156,1156,937,827,689,836,1086,1007,1162,1028,788,1068,1146,904,993,933,835,1116,1376,1140,959,1018,1042,1098,1122,1186,1310,1226,1364,1224,918,1076,1324,1154,1102,1134,1240,1356,1318,999,755,804,1010,835,736,1002,1150,1152,1180,1460,1432,1350,1270,1222,1188,1252,1344,1230,883,553,502,456,461,452,458,572,800,1422,1678,1722,1452,1240,1332,1274,872,491,471,484,488,505,535,664,676,617,514,528,551,588,694,855,762,685,1124,1464,1348,1300,1310,1094,971,1136,1678,2302,2026,1642,1806,1794,1562,1386,1614,1992,2108,2004,1656,1166,780,604,575,779,1262,1396,1280,922,962,1134,1290,1054,722,910,1152,1226,1356,1378,1502,1604,1530,968,732,891,1698,2200,1664,869,488,433,474,408,415,453,436,603,554,570,537,607,952,1222,1288,1444,1594,1666,1372,744,404,667,621,667,818,630,433,378,472,850,1176,1212,1286,1312,1296,1362,1488,1576,1322,1284,1452,1406,1542,1470,1454,1492,1262,1112,1188,1488,1504,1226,1086,1322,1284,1274,1448,1424,1284,1386,1288,915,1108,1266,1190,1118,1156,1222,1178,1214,1252,1096,824,620,520,745,1192,1013,1270,1402,1432,1340,1654,1700,1416,1346,1312,1294,1302,1456,1648,1722,1590,1344,1268,1080,964,925,787,807,858,885,1013,1114,1246,1438,1630,1582,1438,1428,1300,1038,1122,1346,1374,1320,1130,1142,1060,1446,1102,1024,1080,1186,775,631,1038,1272,1258,1078,945,1092,1154,1394,1546,1318,1420,1222,840,624,776,1050,1202,1404,1504,945,1058,1624,1932,5260,2322,1252,1254,1128,745,611,766,915,724,763,1036,1074,816,547,863,1098,1094,1212,1266,1032,851,807,813,902,918,772,860,1001,973,1013,1102,1078,871,760,911,1090,1044,1096,1138,1318,1598,1316,1088,847,653,671,1012,1852,1750,1576,1130,1742,2112,1630,1270,1062,741,694,899,991,962,958,1088,1116,912,886,1260,1236,781,737,1260,1414,1128,981,1066,1256,1598,1378,1212,696,474,479,477,410,501,683,980,1212,1322,1406,1390,1298,1042,998,1278,1172,1278,1074,875,976,1064,1084,1054,568,1007,1498,1612,1270,1220,1236,683,548,653,692,1048,1070,1094,905,924,1140,929,516,619,906,1070,738,604,836,1072,1338,1386,1126,1402,1180,1048,628,594,551,444,451,390,436,573,662,711,882,1104,1100,1192,1098,962,1032,1020,1076,1001,706,727,958,1490,1140,741,1009,1324,904,1028,1268,1086,1012,1132,1068,1068,1154,1030,919,974,905,1023,1042,993,1015,774,536,551,1072,1446,1036,589,463,402,441,339,355,345,334,292,292,335,346,370,399,437,512,609,678,640,592,496,1013,832,397,609,645,402,424,434,520,619,539,531,674,574,368,724,829,724,813,861,946,940,783,632,541,504,482,839,1504,1902,1824,1870,1860,861,483,646,816,1130,1000,1404,1274,986,1152,1220,1236,1284,1240,1150,903,977,1076,994,984,948,971,631,514,497,408,430,636,725,528,543,492,541,517,608,902,1032,872,653,535,605,856,1008,787,610,756,976,705,805,893,1019,824,688,786,771,540,493,635,579,467,407,461,562,615,645,769,598,511,531,451,433,457,460,279,281,270,292,254,286,344,297,276,302,317,354,408,440,539,537,571,747,653,603,592,628,647,635,577,538,692,716,577,647,593,509,394,325,307,299,289,291,334,382,354,327,328,322,327,336,336,336,336,334,339,336,345,354,339,336,330,332,341,349,343,340,331,347,350,335,345,358,347,339,350,353,359,372,386,379,358,373,381,369,369,378,367,361,363,361,358,375,362,358,360,356,342,332,335,339,332,336,339,345,345,347,342,351,348,333,350,400,469,517,482,439,444,453,458,430,437,427,411,432,454,489,505,534,570,582,576,575,555,554,557,553,528,492,445,425,418,411,407,434,491,489,435,402,358,354,336,305,276,262,257,273,267,262,268,274,276,275,272,282,289,287,288,280,267,252,239,243,237,254,240,240,243,225,240,268,279,280,316,383,338,251,255,279,278,263,271,284,285,277,277,292,300,305,282,261,285,284,281,264,257,266,286,305,322,293,296,365,374,421,438,453,462,610,893,992,899,745,469,314,358,398,446,665,828,544,487,477,462,426,365,300,239,220,272,291,295,288,251,271,320,356,336,309,276,272,276,302,370,327,277,271,271,271,276,279,289,351,407,399,381,378,358,354,340,335,347,364,350,336,335,354,362,362,351,332,340,325,333,361,361,353,339,336,350,353,348,344,348,349,350,350,350,355,352,350,350,349,347,336,329,331,331,321,318,323,324,326,332,359,348,340,351,357,355,355,353,339,360,367,364,359,350,343,352,345,340,355,361,357,363,375,371,370,377,364,358,411,405,362,366,380,370,362,359,355,362,367,357,343,340,349,338,352,361,362,363,369,363,361,372,366,358,354,352,354,366,357,370,375,370,367,372,377,373,365,368,365,369,374,386,401,394,390,388,393,385,376,377,381,369,377,371,370,371,367,358,357,358,358,357,349,343,344,350,357,350,339,337,343,348,348,345,339,340,346,344,332,354,366,350,365,372,388,394,394,405,415,426,424,486,529,562,635,486,441,429,435,453,463,448,890,1530,1354,819,467,449,461,550,557,546,552,556,569,623,830,992,1310,1292,1032,777,621,594,571,456,427,453,444,424,422,399,398,396,403,400,398,387,388,387,380,378,379,378,375,372,375,371,368,365,361,380],[360,522,1120,1502,717,525,715,599,564,648,892,1084,1274,1456,1422,1384,1338,1120,836,768,520,366,403,366,317,355,368,352,342,337,356,393,462,616,830,1214,1626,1648,1468,1154,961,880,1118,1358,1454,1472,1190,946,609,502,966,1894,1822,1886,2122,1550,1246,1252,1162,747,415,350,350,367,305,266,344,501,464,379,375,372,333,305,352,431,505,538,415,386,392,363,358,350,398,459,400,353,409,484,806,621,768,1346,1080,811,1368,1554,1474,1520,1368,1610,1564,1001,1052,1230,1368,1738,1648,1426,1540,1548,1426,1576,1816,1936,1782,1484,1474,1886,1934,1378,660,561,651,730,921,1410,1378,952,1512,1240,599,434,639,763,702,878,1142,1294,1400,1378,1314,1146,647,756,1226,1454,927,899,1148,1134,902,793,1066,1462,1344,1224,1688,1216,713,849,812,1180,1150,827,970,1210,1194,1104,846,562,572,768,404,358,340,496,505,458,475,490,454,408,446,488,491,448,672,1268,1770,1844,2060,1680,1124,765,503,390,433,485,446,470,523,729,732,625,695,1098,1096,747,537,386,298,317,373,421,285,273,276,314,342,469,590,733,806,671,645,716,530,622,1005,1074,733,756,666,568,543,620,1050,1438,1798,2190,2012,1926,1934,1754,695,451,424,470,489,494,688,688,414,418,400,354,352,361,415,332,603,820,664,478,426,419,501,647,723,785,752,749,649,515,469,470,537,833,1124,1000,720,695,589,396,391,298,243,275,269,275,275,272,258,229,265,320,370,236,201,218,274,253,212,243,304,379,407,353,325,330,338,342,348,305,340,384,396,386,377,359,347,466,622,836,902,1148,1104,1214,1024,1192,1126,1350,1454,1372,1688,1432,1150,1376,1358,1220,1274,1282,1572,1696,1438,1084,753,879,1248,1498,1508,1298,1208,821,648,877,1030,875,1290,1396,1362,1086,965,702,628,794,869,779,760,899,799,672,747,705,608,719,880,1100,1076,1112,1456,1350,1104,2366,2216,1124,821,796,780,820,509,462,494,369,443,1144,2114,2008,1440,1084,1224,1344,1312,1220,861,650,646,655,705,738,1298,1262,963,795,812,855,662,911,1216,1212,1358,1732,1620,1722,1858,1694,1556,1262,907,761,747,623,505,445,384,345,354,440,844,946,1188,940,662,909,1050,1052,1162,1138,1136,829,667,884,1268,1268,1476,1638,1516,1316,1310,1300,1144,880,781,546,710,1214,1454,1064,1338,1802,1438,1444,1332,977,707,381,436,426,502,737,586,768,1024,883,518,828,1082,762,866,1182,943,832,691,619,519,660,622,812,1182,1528,2006,1876,1094,907,1028,1194,1054,1228,1108,1108,1166,1304,1652,1644,1188,935,670,495,508,483,570,872,1310,1328,1436,1360,1856,2042,1606,1202,1446,1714,1502,794,531,488,672,744,581,529,1017,1216,775,570,625,604,429,368,377,376,328,322,316,338,375,364,342,364,397,416,429,433,438,435,455,408,383,329,762,797,481,379,313,308,382,615,948,1005,774,487,458,532,980,1442,1282,1246,1102,640,578,526,651,1104,946,493,321,294,355,392,509,570,384,451,778,1078,614,432,400,511,817,951,1134,1124,935,1202,1636,1462,1086,576,496,519,584,1208,1146,1072,1064,947,954,924,797,786,996,1156,1154,881,776,849,858,1118,1304,1262,1340,1440,1500,1436,1300,1090,784,1052,1490,1588,1054,1021,968,953,1020,1138,1068,907,1064,1264,1252,1194,1232,1216,1136,862,1005,1084,1086,1340,1400,1042,624,472,452,583,511,480,524,847,1558,1982,1888,1616,1320,1180,1386,1146,637,472,482,441,431,476,659,1116,1042,521,481,509,524,524,586,688,1012,1482,1678,1460,1274,1194,1140,1116,1140,1386,1440,1460,1696,1658,1504,1526,1526,2438,2640,2234,1554,1038,678,546,495,555,879,1236,1262,1234,1186,1180,1330,1466,1238,927,1034,1394,2128,1172,1356,1654,1454,1466,1438,1023,876,1168,1494,1382,1005,695,494,457,405,426,474,473,722,869,844,700,661,657,799,1260,1678,1586,1528,1064,462,473,857,573,589,878,799,583,488,485,760,1238,1368,1498,1478,1126,1172,1376,1520,1384,1340,1224,1142,1200,1318,1432,986,930,1246,1066,1196,1560,1232,936,1234,1318,1200,1120,1028,1108,1186,1146,1164,1570,1562,1362,1188,1244,1546,1670,1152,1078,1270,1168,948,761,706,950,1164,1318,1290,1232,1278,1272,1092,925,995,1144,1402,1558,1590,1280,1288,1538,1376,1070,730,712,793,873,692,698,670,1080,1196,1172,1152,1402,1540,1484,1360,1282,1234,1208,1204,1318,1282,1148,1162,1106,1322,1120,910,988,1052,788,703,1144,1294,1226,1206,1170,1048,1116,1270,1410,1462,1260,1286,928,716,965,997,1172,1692,1730,1078,908,1086,904,1026,1710,1782,1434,1080,1036,1242,886,545,502,775,973,1142,813,538,969,1172,974,952,820,665,805,1005,877,857,991,898,1170,1152,803,819,811,990,891,806,984,828,951,1098,1318,1374,1316,1204,1284,1010,875,786,771,1496,1518,1726,1490,1606,1552,1148,1208,1206,969,906,1060,1170,1278,1152,1112,989,703,1094,1272,771,428,449,739,1188,1428,1384,1706,1316,1344,941,1006,816,537,707,756,620,1021,1772,1766,1282,1048,1050,1292,974,597,845,1228,1154,1172,1232,1256,1086,894,957,1196,695,1458,1964,1754,1236,1013,1080,865,616,611,753,1142,1190,1222,758,1001,813,447,310,360,637,938,1013,1114,1500,1626,977,924,922,1030,1146,1186,835,550,374,519,702,497,432,620,622,821,587,760,1074,1272,944,834,1082,1016,1064,1276,846,617,1444,1540,1194,968,708,869,1194,1096,1078,1034,945,1136,1054,885,943,987,1001,954,1009,984,1106,1158,1068,820,585,506,525,589,826,856,668,1148,1218,781,493,358,342,331,330,337,329,358,387,503,502,612,765,758,716,613,944,934,401,567,722,470,399,387,455,562,557,678,1274,1106,510,756,819,593,699,843,948,1048,850,764,647,541,479,791,1432,1824,1656,1622,1408,528,507,722,1118,1388,1138,1334,1011,835,982,1042,931,841,1060,1400,1116,1200,1042,1082,992,1086,901,540,502,483,451,519,520,444,477,608,567,458,499,782,948,959,846,768,809,624,843,1023,1170,902,675,892,985,760,647,824,872,685,552,415,508,767,623,476,445,502,674,652,603,904,965,637,485,520,495,410,447,403,315,258,257,269,273,342,356,310,333,428,394,510,533,423,435,455,357,641,776,647,565,625,641,630,479,385,582,703,587,513,526,469,386,305,296,317,314,321,327,318,355,330,322,322,327,334,341,339,336,336,335,336,346,360,341,338,332,330,340,340,342,347,344,349,353,346,355,341,347,355,356,353,361,361,364,358,356,365,364,364,362,374,369,368,358,358,359,368,375,376,368,357,348,348,339,342,339,345,328,339,341,335,336,350,350,333,338,348,391,455,506,473,471,492,474,440,455,471,461,447,453,488,510,521,546,568,581,579,563,553,556,547,527,499,479,464,451,445,465,464,487,506,486,421,365,368,333,278,268,273,284,296,258,269,276,269,266,267,279,292,285,286,287,268,256,272,268,252,237,234,243,262,252,236,246,281,267,271,320,448,371,246,240,261,256,258,264,281,283,283,282,274,253,266,261,271,291,289,274,275,271,270,303,311,323,315,359,466,474,486,509,434,360,455,642,651,605,650,528,474,609,546,434,810,874,619,480,454,523,490,399,308,233,255,275,270,283,276,268,316,388,402,353,290,301,307,293,340,318,316,280,279,291,295,292,286,333,379,389,378,351,348,362,355,344,332,338,339,340,358,357,348,359,358,354,344,336,317,337,349,371,371,337,332,359,370,361,354,356,353,356,352,352,350,349,350,349,343,337,337,335,329,325,324,324,325,324,332,335,341,340,352,357,357,354,353,361,340,355,369,364,351,345,336,348,353,355,366,353,354,348,351,354,360,354,368,371,388,378,361,370,372,365,368,359,354,353,362,351,341,340,346,337,344,363,359,360,362,361,372,372,358,351,351,358,363,362,360,368,371,368,365,378,377,373,365,372,383,382,384,380,375,398,373,367,387,383,376,365,365,386,387,371,365,367,363,354,353,357,354,351,351,349,345,350,357,351,337,337,339,337,339,328,336,333,338,339,326,332,339,339,349,360,372,377,378,384,389,411,420,426,459,463,445,433,429,425,425,429,449,480,568,825,722,518,430,413,436,486,499,483,473,473,467,498,496,671,1224,971,609,504,487,463,458,439,430,434,431,420,416,400,393,386,379,398,396,386,382,369,364,375,388,377,368,362,356,358,357,353,349,359],[267,289,742,976,799,764,835,645,617,689,1013,1400,1548,1400,1188,1354,1388,1448,1238,963,643,519,498,401,356,375,370,376,345,310,329,439,659,980,1260,1378,1362,1360,1454,1592,1410,987,951,1218,1526,1240,1148,1294,1019,775,1550,2186,1722,1574,1442,913,850,775,645,425,303,269,266,234,230,253,339,381,362,398,354,271,367,408,417,470,480,478,434,386,333,318,320,341,415,438,380,377,354,522,679,550,725,1198,971,811,1180,1324,1244,1328,1628,1638,1284,1086,1268,1290,1478,1560,1626,1562,1418,1440,1510,1744,1794,1934,1772,1920,1918,2164,2012,1292,828,700,461,492,684,1034,832,683,1356,1034,521,480,968,1218,1078,935,859,824,904,1040,1046,1126,533,526,924,1092,959,1172,1268,1224,1158,1214,1278,1376,1528,1318,1442,1136,841,1132,1028,983,891,617,736,1136,1278,1256,920,846,882,773,387,359,410,525,421,342,368,481,487,430,485,451,477,402,546,803,1126,1734,1738,1086,894,1009,727,459,457,432,437,474,568,659,499,365,398,748,1158,1122,545,329,291,281,302,361,291,279,295,312,318,440,618,907,1220,904,729,783,610,670,882,1152,950,827,738,588,780,1100,1376,1788,2406,2126,1910,1964,1798,1268,680,520,467,416,452,533,666,762,492,410,347,300,524,675,732,499,625,855,719,550,527,502,503,634,780,846,847,1312,1516,990,571,678,1150,1570,1694,1252,886,611,507,471,588,471,381,371,364,269,270,250,269,262,281,391,393,243,241,257,251,212,200,253,269,326,419,372,314,301,322,338,346,357,368,361,364,367,372,361,399,461,752,1472,1384,1298,1320,1112,1230,1302,1090,976,678,1158,1890,1366,979,1042,1044,1170,1011,917,1556,1770,1328,1010,907,1130,1342,1062,846,1218,1364,1088,943,1210,1120,1042,1256,1446,1396,1224,1262,1310,1340,1560,1394,1068,1102,1328,1206,1017,1104,1268,1230,1278,1320,1328,1314,1412,1488,1054,899,1086,1094,895,913,1252,833,675,564,903,766,458,460,1082,1898,1780,1426,1106,1028,1238,1182,1208,977,639,609,647,703,589,478,777,1076,908,822,915,1110,1488,1662,1528,802,785,881,912,943,953,974,999,789,604,552,506,543,483,510,571,596,546,563,1038,1054,764,910,999,977,943,1102,1354,1328,897,729,1022,1134,1064,1496,1594,1232,896,979,1192,1346,1013,987,770,818,896,945,839,1146,1346,1458,1856,1418,1080,573,415,349,318,398,884,909,961,1366,1210,725,1152,1376,753,729,1088,760,758,758,766,672,590,720,1054,1440,1868,2010,1288,950,1526,1410,1046,1124,1224,1098,1320,1316,1294,1520,988,617,742,526,490,573,483,415,620,878,813,896,1028,1548,2068,1514,813,1096,1214,1180,767,517,401,702,767,537,379,976,1466,809,736,987,938,520,381,311,301,333,338,334,359,356,351,358,376,391,403,449,479,487,454,381,321,349,357,431,411,411,391,367,305,331,587,801,811,577,349,280,421,654,689,805,951,807,845,707,594,750,951,769,588,579,569,650,773,801,717,615,628,634,945,971,755,586,716,882,890,771,755,737,890,1422,1598,1212,869,726,603,691,1088,1074,1036,1184,1242,1184,900,668,824,984,1130,1306,1007,814,646,595,1116,1332,1118,1584,1632,1588,1318,1316,1294,1976,2592,2890,1920,995,896,985,1088,1098,1120,997,1006,1021,1434,1278,1130,1290,1200,951,666,709,914,1022,1214,1384,907,588,469,461,507,447,468,467,666,1226,1742,1750,1354,955,830,1186,1246,960,586,460,443,442,452,556,875,827,481,418,485,493,500,602,589,1038,1542,1446,1306,1528,1504,1266,1340,1180,1440,1492,1374,1394,1624,1760,1586,1582,1630,1680,1648,1011,620,383,442,583,979,1168,1060,926,997,1182,1360,1652,1630,1180,889,827,1230,1722,1056,1394,1308,1066,1132,1306,1402,1204,1174,1142,1550,1332,985,612,519,487,533,547,485,769,1144,948,704,641,549,647,1046,1528,1550,1428,1001,480,785,1042,612,618,825,651,501,493,442,613,929,1098,1220,1256,1058,1154,1418,1558,1504,1324,851,1138,1206,894,556,384,543,1104,1284,1120,1256,1454,1404,1454,1354,1126,1116,1026,999,1023,1142,1324,1488,1220,1502,1738,1380,2138,2270,1224,1112,1194,1310,1294,1013,726,1324,1712,1628,1458,1392,1332,1132,1044,1178,1372,1346,1280,1288,1456,1064,908,944,976,1198,1346,929,745,605,613,678,689,870,1036,1002,1028,1478,1556,1282,1114,1250,1278,1302,1194,1424,1528,1232,1042,1050,1182,1230,999,847,1068,1052,810,1092,1220,1558,1542,1274,943,938,1206,1666,1394,968,976,686,738,993,1164,1122,1142,993,916,972,1160,1154,1312,1520,1520,1230,943,789,1088,899,894,1122,1140,1032,1062,758,649,957,1090,904,841,576,644,791,945,824,972,1146,1274,1360,1164,779,835,875,1102,894,860,991,782,880,1034,1302,1562,1234,769,1132,1388,1194,793,964,1100,1176,1420,1518,1470,1208,1250,1274,1070,957,1156,1382,1232,1482,1304,1148,1268,1032,989,766,381,365,509,881,1172,1326,1398,1472,1310,1260,1242,1434,1104,669,759,944,841,860,1112,1122,965,639,580,651,450,375,720,891,857,1150,1272,1120,735,622,829,809,493,606,755,1112,1028,651,937,1250,925,854,677,743,614,711,747,576,344,357,486,742,787,567,807,788,916,1210,766,598,709,764,944,1172,1256,861,561,980,1038,828,664,705,595,597,485,505,750,1086,940,783,1094,1032,1042,1938,1854,1094,1320,1372,1228,1052,646,487,778,1208,1376,1282,1454,1310,921,1318,1476,1100,963,1108,1302,1312,1502,1390,1036,713,492,663,744,551,585,921,1007,1650,1992,1680,907,307,332,311,314,355,416,528,485,512,428,504,847,906,755,680,756,943,408,483,698,454,399,408,474,561,573,761,1238,1064,559,875,866,566,618,771,871,868,739,700,638,484,433,628,1126,1464,1418,1728,939,486,670,752,1168,1132,1222,1220,686,711,1032,1060,1001,872,1106,1246,1264,1294,1090,835,1054,1138,730,565,543,490,475,838,933,633,469,681,734,533,611,880,1046,1052,1002,760,836,836,794,794,1056,916,584,472,695,828,952,899,713,712,780,565,437,807,1026,902,556,466,613,640,877,1262,1180,925,605,498,475,393,389,352,279,246,271,284,310,330,359,386,433,465,488,716,526,388,610,623,397,461,657,694,522,544,568,594,437,348,437,581,502,441,528,508,394,325,303,317,336,327,320,358,393,339,322,339,336,335,349,337,337,342,348,350,337,335,337,336,326,328,334,338,340,347,343,339,351,355,361,337,347,368,360,353,357,351,351,357,366,364,357,361,363,368,370,373,359,352,360,364,363,364,355,351,360,355,339,346,339,343,329,331,332,331,336,346,353,340,338,338,359,401,469,504,512,520,504,477,479,487,488,474,476,483,501,511,533,571,572,565,558,554,556,554,533,497,495,468,460,449,485,502,502,507,494,418,359,363,324,274,264,274,325,285,244,275,276,255,257,266,287,307,285,272,278,275,275,275,266,263,272,249,248,287,315,325,331,391,351,301,313,438,390,269,250,256,260,260,278,277,277,279,277,262,257,263,263,270,299,294,263,273,271,275,298,314,326,350,397,472,490,485,552,514,401,469,698,692,567,742,639,669,957,728,455,820,926,668,542,453,507,527,454,358,263,271,292,300,302,279,258,337,431,402,382,380,472,401,319,305,283,310,323,325,320,315,286,296,448,420,386,373,358,358,359,356,350,340,342,339,343,349,346,330,346,350,351,354,340,331,345,354,380,375,351,347,356,363,364,366,370,372,366,357,355,353,354,355,350,352,358,346,336,333,328,324,329,335,335,339,343,342,354,359,362,361,362,359,359,349,359,367,364,357,359,351,347,357,372,379,355,361,365,357,365,368,351,368,383,379,375,371,373,371,350,368,364,356,341,361,361,345,337,337,337,346,355,360,359,359,360,365,365,361,360,352,362,371,362,359,366,365,365,366,372,377,377,377,376,371,378,387,368,427,509,382,376,385,373,370,361,354,359,354,364,372,368,357,351,351,348,342,344,352,354,351,348,348,350,345,342,329,331,328,336,333,328,332,340,336,330,325,331,341,355,363,362,360,363,365,372,396,405,423,422,437,433,420,413,420,425,421,445,455,444,427,429,409,413,417,418,436,450,473,459,461,458,470,495,606,552,498,485,468,451,445,430,422,403,404,408,400,386,373,378,366,370,375,371,361,347,346,351,357,357,355,355,343,345,344,341,337,340],[267,270,825,1298,1510,1282,992,681,514,548,883,1406,1632,1698,1340,1070,1020,1184,1042,724,607,574,503,495,525,492,447,415,412,401,426,616,1046,1510,1612,1484,1238,1272,1616,1594,1396,1102,921,976,1118,1312,1378,1538,1374,1322,1664,1748,1422,1332,1204,877,675,547,401,311,288,318,342,378,426,429,413,377,403,437,433,386,465,497,474,463,467,453,434,413,375,316,287,286,328,409,456,427,431,783,671,584,988,1042,672,485,734,1528,1588,943,996,1478,1356,1534,1628,1432,1380,1540,1766,1704,1434,1478,1748,1954,1878,1798,1646,1722,1902,2154,2034,1560,1184,666,497,773,968,1028,678,468,383,310,387,532,870,1124,1036,1000,1122,1044,938,1036,1162,841,374,330,543,771,1064,1154,1156,1088,1052,1246,1144,1166,1488,1072,1014,895,672,725,949,924,760,901,818,842,893,1054,841,836,1102,830,429,591,716,412,349,313,274,362,403,407,393,514,855,855,858,1066,1432,1520,1190,675,667,771,602,507,470,451,579,614,618,493,342,300,336,374,566,662,369,261,273,291,304,356,347,315,319,342,310,407,625,874,1194,991,678,576,475,673,902,1210,1170,913,745,954,1504,1622,1648,1760,1730,1530,1536,1298,838,547,512,518,505,514,659,775,733,865,796,530,399,372,471,745,989,979,951,923,818,694,659,536,519,610,696,846,901,1200,1672,1796,1326,882,1066,1880,1888,1166,736,558,661,545,539,888,919,580,599,542,499,377,312,297,351,454,326,243,247,210,204,207,210,262,277,305,379,349,336,351,359,365,336,331,348,365,386,372,362,374,434,414,608,1120,1172,1050,1036,1178,1486,1438,1294,990,993,1258,1408,1050,908,686,936,1322,1114,960,1144,1220,1264,1126,697,736,1106,1158,1106,999,951,1068,1176,1058,913,1230,1196,1102,1018,1230,1294,1476,1356,1602,1328,914,923,837,794,839,945,1130,996,1200,1430,1236,1180,1150,892,653,604,484,653,620,599,733,809,1026,1050,1146,881,522,500,1082,1838,2018,1694,1312,1214,1210,1106,1590,1328,723,561,561,603,516,412,690,912,761,1080,1708,1510,1824,1756,1118,713,639,512,443,505,472,594,849,666,543,563,890,910,832,1258,1312,1360,1144,904,1270,961,678,1060,1322,925,1124,1158,1374,1276,1070,955,1022,1062,1412,1556,1402,1112,1234,1128,1054,1284,1468,1664,1282,947,680,614,608,667,931,1268,1528,1196,948,544,466,349,354,350,879,1334,1248,1310,1344,1002,1406,1316,833,684,798,822,618,579,640,612,676,992,1394,1742,2070,1440,955,1326,1506,1338,946,932,779,590,916,1120,1262,1490,1154,908,868,492,459,524,448,529,528,425,381,449,697,1152,1310,950,399,456,513,523,573,490,384,718,887,678,574,959,1594,979,938,1016,957,540,405,477,430,342,340,349,357,356,346,353,379,397,381,429,457,423,383,363,350,359,387,422,472,438,424,458,439,432,546,587,597,509,501,463,400,515,645,724,756,422,451,650,559,508,472,402,567,799,716,631,957,1314,1001,647,627,543,1009,1370,1308,1090,916,1046,999,811,1054,999,920,1046,1100,1218,1242,1002,1038,1120,1030,741,855,1248,1366,1282,993,796,963,1070,1090,1164,1226,1016,808,772,1090,1144,867,1332,1354,1440,1272,1230,1342,1532,1660,1852,1370,893,1078,1138,1034,983,1094,1072,1064,1020,1552,1592,1598,1592,1214,841,579,512,811,956,1018,1346,898,584,509,487,478,469,483,485,520,859,1410,1350,752,709,818,1142,1294,1200,868,531,436,455,525,528,440,446,427,448,466,484,569,589,690,1152,1340,1180,1522,1798,1606,1400,1396,1456,1576,1350,1206,1402,2032,2274,1804,1622,1600,1520,1262,707,486,521,521,588,1136,1312,1017,753,877,1084,1302,1748,1512,1128,1206,1096,1074,963,998,1210,917,832,1034,1482,1500,1212,1170,1286,1096,1050,1090,766,604,603,652,712,750,877,884,700,642,459,323,743,987,1148,1556,1538,971,636,1028,1372,1192,843,831,563,581,569,420,529,995,1044,867,880,1013,1194,1522,1822,1836,1558,1001,1020,1006,547,407,556,577,692,1040,1120,1182,1488,1664,1664,1268,1160,1130,1090,1078,1136,1178,1278,1404,1546,1722,1544,1616,2192,1770,1184,1072,1080,1238,1408,1256,867,921,1350,1466,1410,1422,1292,1346,1348,1408,1574,1574,1432,1322,1240,1112,1038,1058,1470,1638,1686,797,558,787,1626,1320,572,511,702,888,1160,1444,1672,1296,1148,1194,1344,1378,1334,1268,1244,1050,895,1300,1444,707,576,882,1036,1036,988,1200,1230,1290,1372,1208,914,928,1290,1206,882,690,644,811,922,1092,1244,903,611,733,863,922,1074,1012,1144,1320,1108,1256,1088,598,698,819,1050,1288,1264,1256,938,760,1162,1224,1318,1286,844,507,724,904,734,1110,1370,1180,1308,1330,904,575,655,783,899,714,997,1028,880,938,1048,1324,1672,1246,1152,1358,1650,1516,1334,1294,1216,1244,1404,1528,1358,1082,1312,1208,957,1020,1290,1386,1034,1082,1268,1322,1344,1280,1013,563,495,495,1244,1682,1598,1654,1638,1546,1456,1272,1268,1364,1216,952,1042,1100,794,642,756,927,974,744,867,1058,794,521,720,1232,1400,973,976,856,990,1140,1310,904,454,518,769,947,776,636,841,1330,1076,1072,1314,1092,711,747,791,552,613,764,524,725,875,625,697,877,929,823,855,670,448,556,717,954,1204,947,714,1004,1094,1324,1268,1206,856,587,599,548,536,991,1114,1078,1042,1002,1208,1952,1922,1568,1432,1356,1312,1146,877,445,617,1150,1432,1520,1302,716,891,1548,1532,1222,1156,1252,1056,751,1092,1322,1218,767,609,943,1208,850,518,665,1202,1672,1436,1592,1458,643,343,303,378,377,460,557,582,539,446,459,648,858,833,737,612,992,573,412,691,515,376,409,445,478,443,572,975,1138,516,907,862,629,573,630,762,692,514,518,557,445,439,421,573,665,1054,1476,725,503,621,955,1276,1086,1390,1148,680,940,1322,1106,882,1064,1124,1246,1126,1204,1326,1220,1282,1004,678,590,549,554,605,853,1124,866,555,752,895,692,731,883,915,766,824,750,702,1110,1230,1272,937,538,435,424,435,563,769,932,729,908,1013,677,462,592,920,1060,669,494,644,803,1152,1460,1326,865,786,731,553,424,324,335,361,326,259,263,292,340,354,415,443,510,471,523,500,596,766,649,402,337,495,793,587,495,545,589,464,362,373,485,505,474,609,696,623,460,366,330,352,342,316,439,452,355,332,347,339,327,339,335,335,339,339,339,339,327,332,338,334,332,338,341,340,339,349,339,337,340,352,350,350,356,352,352,362,351,354,362,367,366,369,369,369,369,364,364,362,348,345,352,355,358,352,351,351,338,332,338,336,336,329,325,323,330,337,348,338,342,330,344,364,367,420,495,546,563,558,535,509,501,527,498,476,483,492,501,533,544,553,566,542,554,555,539,546,539,511,470,467,450,466,502,509,504,488,418,354,336,311,295,271,260,292,272,271,299,275,245,250,264,287,296,290,269,264,271,266,258,263,278,285,267,280,318,367,412,437,411,397,368,331,390,383,285,247,258,263,239,262,265,257,256,253,250,254,264,270,281,287,278,285,300,292,266,276,286,324,397,448,496,487,502,558,510,466,482,575,576,529,714,565,449,432,335,504,846,757,574,567,553,580,499,413,375,294,246,281,308,291,276,297,396,439,396,344,332,487,439,328,300,303,319,337,318,296,278,273,324,440,394,363,361,363,363,356,353,353,351,350,339,338,334,338,332,341,338,338,356,353,341,341,349,373,377,377,364,363,390,388,375,364,347,336,341,347,353,350,353,359,362,361,352,345,339,331,325,337,343,345,345,335,335,361,354,366,369,364,363,354,349,352,364,365,358,377,363,353,359,355,362,355,364,380,353,362,379,351,357,381,386,390,374,366,375,350,360,353,350,350,362,354,343,340,334,333,353,349,352,361,363,355,357,360,358,354,360,374,375,366,358,359,364,363,360,368,377,375,369,366,365,366,366,351,383,390,368,373,371,368,361,357,368,359,359,368,370,359,354,352,354,348,336,336,348,352,354,345,334,348,346,346,346,349,320,334,336,328,332,340,337,333,335,331,332,346,355,353,356,359,374,389,406,416,423,435,425,418,420,423,422,420,422,415,449,440,430,412,404,418,414,409,416,404,431,428,424,411,443,447,436,455,456,447,422,407,394,378,379,375,355,361,359,345,337,344,343,345,347,347,341,336,335,338,343,331,339,346,339,335,331,334,330,330],[278,288,628,1156,1610,1602,1208,843,641,434,495,656,905,1454,1590,1019,742,659,580,549,577,565,482,590,566,490,462,443,448,470,863,1248,1522,1780,2212,2500,2000,1350,1606,1698,1460,1234,1116,1046,969,934,1354,1664,1410,1120,1180,1282,1232,1120,1096,807,641,559,473,531,607,619,669,716,758,800,730,524,476,410,357,374,463,467,432,418,433,455,449,436,424,360,347,303,395,408,540,467,550,834,693,683,920,1078,624,382,742,1948,1856,1138,905,1284,1532,1764,1816,1620,1360,1432,1470,1532,1296,1326,1610,1752,1694,1626,1682,1510,1310,1560,1774,1788,1190,469,413,651,1004,1070,621,410,389,392,425,518,946,1136,733,865,1472,1364,1172,1250,1250,886,479,482,572,564,790,828,1042,1050,1070,1164,1072,1182,1382,1218,1062,998,875,671,889,819,940,905,857,572,523,700,1116,1096,1080,901,523,859,903,473,518,346,332,312,322,302,296,612,775,700,695,818,1186,1204,1334,729,534,508,552,534,450,536,684,700,523,322,306,290,296,308,265,233,272,253,266,296,348,379,378,339,283,280,284,419,572,583,825,875,656,512,437,796,1322,1500,1272,1066,770,1114,1570,1464,1294,960,1074,1310,1422,1232,807,560,412,397,492,619,867,1018,1210,1148,999,949,941,662,435,742,1046,976,937,1054,885,600,464,449,461,529,713,976,1300,1348,1498,2066,1882,944,696,1046,917,630,453,733,975,727,500,624,653,550,786,819,626,786,828,703,549,437,330,254,205,217,250,219,204,208,228,259,338,362,393,406,377,367,342,296,330,358,386,382,388,374,394,395,435,822,1202,1082,964,1396,1506,1426,1650,1252,1016,1012,1216,1146,985,860,1098,1378,1494,1810,1256,881,1162,1142,939,1016,1068,1278,1146,678,669,1054,1098,838,1048,1802,1280,1404,1196,1204,1624,1734,1532,1404,866,824,1422,1114,1218,1168,730,1102,1442,1430,1630,1284,1046,1302,1184,570,454,336,348,341,437,698,969,1338,1330,1146,905,603,484,653,916,1106,1248,1036,974,1116,1238,1772,1316,688,638,584,526,443,375,531,739,714,1226,1938,1446,1494,1686,1230,794,1068,1262,630,534,469,619,791,586,655,660,1292,1572,1328,1520,1636,1708,1434,918,1166,1084,818,1108,1268,901,1122,1082,1076,1266,1122,913,886,1164,1420,1050,1052,1006,1548,1422,864,896,1106,1260,1124,963,841,619,487,582,1036,916,1140,1252,973,588,560,531,384,386,727,1204,1126,936,1154,1344,1418,1019,617,609,776,735,579,558,561,642,912,1344,1770,2090,1706,730,1072,1442,1438,1070,644,579,485,546,818,936,1210,1302,1292,1330,933,785,919,926,1056,1084,764,546,565,568,609,887,973,767,451,413,430,477,517,469,414,705,1028,767,597,624,1034,1023,974,979,792,474,455,551,503,343,343,369,359,365,359,397,423,395,381,392,415,351,330,370,353,359,369,389,459,529,502,468,479,483,624,686,476,418,524,536,429,505,509,560,537,364,643,859,503,328,332,317,445,656,703,677,993,1400,966,800,914,675,1094,1620,1480,1112,932,1056,1168,1182,1160,943,1066,1212,1114,1364,1356,1230,1388,1384,1046,600,787,1238,1312,1298,897,640,779,875,1021,1336,1286,1072,1144,1046,1007,988,954,1152,1348,1526,1152,1044,1116,1284,1678,1490,995,626,803,932,1114,1066,1116,929,824,991,1166,1386,1736,1688,1448,1054,563,480,754,927,1182,1406,1196,701,533,521,420,461,478,466,509,523,720,830,1036,1580,1676,1598,1478,1352,1124,689,437,417,414,430,418,447,398,407,412,453,613,778,1019,1316,1260,1138,1302,1434,1318,1402,1366,1368,1476,1440,1260,1122,1534,2034,1720,1462,1526,1306,1154,615,633,893,811,1020,1426,1242,1256,1344,1284,1256,1278,1496,1158,1010,1328,1188,1078,1174,1388,1140,855,1070,1434,1494,1336,1176,944,1013,1282,1244,1070,786,591,479,603,727,756,766,689,547,423,314,671,1266,1204,941,1180,1180,674,526,822,1170,1498,1472,1210,796,969,768,486,457,780,994,900,998,1156,1338,1506,1692,2186,1870,1332,1280,993,492,463,609,602,429,458,744,1322,1476,1808,2032,1508,1354,1318,1172,1156,1236,1290,1098,1140,1536,1294,880,1562,1104,1760,1454,919,979,1114,1432,1798,1802,1278,1362,1416,1362,1350,1288,1266,1274,1288,1456,1558,1528,1618,1406,1164,833,703,1362,1646,1542,1188,919,1352,2154,1408,689,706,714,816,977,1210,1394,1144,1296,1230,1356,1366,1366,1348,1170,701,681,1228,1278,610,613,1214,1606,1260,1164,1418,1266,1250,1318,1198,961,990,1268,1230,1062,668,530,677,891,1246,1202,708,412,503,753,1194,1034,792,968,1154,979,1090,903,813,783,745,771,693,762,1154,1032,793,1256,1274,1438,1202,696,647,796,634,582,873,1172,1082,1021,1266,858,738,680,570,557,423,527,760,957,1242,1328,1402,1682,1210,1406,1346,1572,1664,1416,1404,1260,1128,1232,1282,1228,1114,1130,1110,1150,1270,1334,1434,1216,1258,1508,1516,1552,1648,1378,1346,1328,722,1200,1812,1750,1630,1656,1446,1130,849,871,997,1066,1180,1160,1204,1060,1010,987,987,983,855,921,1182,1180,1020,984,1282,1282,1250,1046,1246,1400,1538,1680,998,461,492,606,681,887,754,785,1310,1522,1758,1566,1038,659,568,703,908,1032,1344,1108,784,898,1026,827,545,539,799,902,614,415,478,701,1038,1206,916,623,673,998,1032,1312,1496,1112,745,633,755,656,965,925,689,772,1126,1324,1400,1072,1178,1530,1628,1524,1094,861,711,1362,1390,1042,1418,1260,1136,1416,1440,1272,1256,1310,1094,904,680,799,1072,1242,1214,939,879,1090,814,573,742,1308,1694,855,1060,1666,1054,466,408,450,450,457,460,474,463,460,503,499,594,680,802,591,971,767,411,677,651,365,368,353,392,469,506,839,1036,527,839,913,698,559,602,689,583,449,499,566,544,507,491,661,716,1322,1186,480,628,731,1004,1108,986,1244,910,760,1060,1156,1013,1021,1032,1040,1096,909,1188,1374,1210,1190,813,731,731,685,690,674,759,920,672,396,426,491,630,785,860,882,861,1026,973,935,872,966,1162,784,541,665,456,522,698,713,748,896,1036,1118,828,659,749,705,705,631,648,695,958,1272,1276,1058,611,496,628,626,416,331,343,346,325,259,256,277,346,410,455,396,411,392,388,515,717,702,610,417,299,343,645,658,573,537,542,477,408,401,517,650,680,616,689,756,695,473,363,415,387,346,466,503,373,321,309,322,326,329,328,335,330,325,327,332,331,338,346,343,337,332,328,328,338,346,335,333,337,343,350,348,344,350,351,348,345,361,362,362,361,361,361,363,367,369,362,367,364,348,345,346,351,354,345,347,355,349,338,330,325,333,324,317,324,343,351,332,339,332,341,351,357,381,445,522,563,561,550,547,532,552,521,499,488,484,496,522,543,531,541,536,536,523,538,507,515,526,501,473,453,452,463,494,500,490,425,355,348,326,317,284,269,301,280,266,286,272,254,243,263,283,282,294,275,261,266,258,258,258,269,282,249,258,318,351,368,335,303,321,338,353,381,365,294,259,245,236,245,247,262,253,241,242,250,273,288,283,276,274,279,291,289,274,281,269,282,409,519,525,520,472,482,520,553,554,462,423,512,528,495,354,273,245,342,670,992,736,608,605,650,593,455,397,456,418,289,307,293,282,287,319,432,426,429,373,347,366,342,310,312,308,332,313,292,263,260,324,399,386,363,347,350,353,350,346,343,346,346,349,340,335,342,344,342,338,338,336,346,349,336,346,354,365,371,366,356,354,381,398,385,373,375,376,371,368,364,356,357,356,357,337,338,350,346,339,348,352,336,348,336,336,343,341,361,366,366,376,364,346,353,355,366,369,361,370,343,352,361,343,339,353,354,359,348,353,371,357,355,357,353,378,373,339,362,379,360,350,344,343,344,339,344,334,333,327,353,350,350,351,350,352,357,359,357,353,357,349,381,375,361,363,361,357,358,363,368,368,363,363,359,359,372,358,354,350,368,362,361,357,356,361,371,360,365,357,348,348,348,350,359,354,334,331,348,354,354,348,327,346,344,342,345,348,339,333,334,333,338,342,340,340,338,336,343,350,350,356,367,360,376,402,422,423,411,413,403,401,401,399,402,404,409,411,414,415,420,409,394,406,408,403,402,396,408,410,388,392,396,382,398,399,394,394,378,364,357,357,358,358,343,352,350,335,331,322,319,329,329,334,331,337,339,336,329,308,313,321,318,316,313,329,326,325],[279,302,689,1636,2206,2046,1476,1002,800,522,446,431,463,626,924,1013,919,634,536,557,598,641,716,989,714,861,670,501,506,734,1406,1932,1982,2304,2736,2834,2600,1810,1516,1566,1576,1608,1442,1198,1026,876,949,1220,1422,1164,1112,1194,1266,1342,1314,769,529,568,752,940,810,680,710,727,647,740,1086,903,566,333,301,384,408,379,311,325,387,433,409,349,415,449,451,428,629,748,625,447,670,941,611,666,857,1288,708,491,816,1350,1276,1090,1204,1558,1772,1676,1776,1816,1560,1628,1448,1430,1334,1424,1720,1724,1482,1604,1960,1642,1060,879,1316,1522,738,422,383,455,733,742,432,360,373,455,852,676,1084,1186,924,825,933,988,1116,1050,1044,1082,912,959,895,613,508,589,995,1058,897,1040,1238,1384,1374,1202,930,821,1030,904,573,700,1252,1288,805,473,498,777,1462,1518,1240,954,444,614,716,831,550,363,307,297,326,277,309,473,372,338,402,516,896,1023,1396,1142,663,538,522,498,456,522,577,485,374,330,303,302,319,294,257,271,281,281,274,288,335,327,308,291,310,324,299,384,539,568,745,868,738,588,593,797,1354,1588,1186,1118,813,677,769,694,850,1148,1294,1394,1444,1288,1224,904,449,410,527,597,955,1180,1030,800,712,816,1072,924,678,661,650,640,882,1314,1046,603,472,502,608,783,711,817,1514,1632,1476,1498,1242,665,463,760,781,741,777,724,977,828,517,442,497,753,1306,935,719,1142,1486,1382,1060,744,510,321,286,258,300,207,206,225,302,377,394,374,417,428,364,365,365,330,347,357,361,369,400,410,434,421,365,670,1264,1338,953,1120,1434,1216,1202,1192,1318,1416,1514,1360,1162,1074,1218,1494,1428,1452,1340,1082,1260,1242,1001,879,874,1082,1272,1178,944,951,811,848,1122,1516,1040,1114,866,947,1570,1762,1412,1120,575,498,904,726,1060,1054,606,712,896,1010,1001,899,1090,1472,1558,678,465,329,292,368,419,820,1126,1314,1190,813,702,578,494,664,828,1198,1348,1154,1150,1298,1418,1578,1138,649,673,580,568,435,300,460,657,540,631,969,1146,1252,1074,821,897,1444,1570,787,507,518,598,907,913,974,893,1044,1208,1278,1470,1550,1620,1104,948,1298,1023,990,1116,1028,908,997,1116,1122,1007,695,641,811,1056,972,892,1478,1038,830,971,801,839,1042,986,1042,1430,1334,852,589,847,843,846,1164,1268,1100,984,1244,1226,682,451,716,1072,1012,905,1204,1430,1394,760,628,733,780,700,575,697,759,875,1244,1714,2120,1854,916,788,1192,1300,1238,920,835,572,477,634,919,723,949,1430,1764,1568,1240,1594,1694,1760,2098,1698,919,625,612,814,697,588,507,477,497,503,454,472,579,540,463,661,1009,593,444,578,957,1074,975,995,688,471,555,474,478,354,339,371,342,316,330,501,567,432,352,397,426,346,390,396,356,362,338,338,481,594,557,487,451,427,571,682,491,390,357,408,479,518,479,496,400,347,621,676,384,362,388,373,342,417,594,539,606,755,515,464,577,631,1200,1928,1182,1148,1360,1170,949,786,769,795,889,928,1242,1636,1446,1300,1508,1764,1166,655,782,1116,1228,1356,1058,1026,1216,1036,1096,1230,1226,1102,1194,1116,1018,1015,1162,1154,1242,1368,1176,1044,995,1076,1212,1198,1038,642,532,550,803,904,745,555,735,962,1052,1418,1538,1320,1408,1194,681,532,868,980,1086,2088,2302,892,555,576,539,526,508,478,534,471,519,883,1434,1826,1860,1674,1554,1408,1072,725,476,413,404,381,391,383,390,392,394,442,559,827,1204,1426,1222,1236,1116,1412,1438,1240,1488,1710,1548,1572,1742,1484,1938,1918,1414,1230,1182,1060,980,841,610,734,994,1300,1376,1470,1266,1406,1260,1450,1636,1410,1036,789,842,956,844,1192,1424,1090,1066,1254,1242,1298,1356,1180,877,1348,1624,1328,1216,774,644,605,634,729,719,758,751,491,521,847,1322,1390,998,762,625,550,514,480,854,860,867,1202,1226,1160,960,886,837,661,769,998,1028,899,1164,1486,1456,1460,1762,1640,1440,1398,846,517,410,506,785,774,821,874,1316,1490,1584,1970,1770,1422,1304,1218,1188,1178,1108,1068,1362,1058,799,760,987,1552,2344,1530,900,944,1100,1336,1730,2408,1874,1596,1498,1392,1258,1240,1186,1316,1332,1300,1346,1466,1294,1292,1116,597,767,846,1210,1584,1544,1490,1548,1222,727,506,436,574,639,890,876,950,891,1174,1354,1384,1360,1252,1394,1544,1074,1060,1250,1076,697,830,1130,1332,1262,1272,1190,1130,1148,1252,1556,1550,1472,1262,1186,1046,886,651,378,555,1013,1142,1013,659,578,885,1430,1122,868,885,881,858,815,875,860,572,690,849,1054,1152,974,919,938,1076,1050,1132,1050,660,441,474,907,875,666,990,1106,1214,1344,1136,771,744,857,638,347,332,402,630,1016,1202,1490,1476,1278,1086,1148,1924,1706,1138,1228,1104,1064,1232,1190,696,756,1234,1542,1344,1288,1388,1130,1078,1422,1496,1250,1416,1522,1378,1598,1668,1242,970,1132,1216,1474,1758,1312,1172,828,1021,1140,1040,1510,1470,1490,1440,1218,890,708,921,1023,1192,1346,1302,1100,1012,999,990,1013,977,1108,1226,1484,1500,786,484,449,410,509,662,554,677,1128,1470,1438,1118,588,326,387,399,743,891,941,913,765,788,935,962,684,429,551,799,561,466,529,540,675,968,999,749,636,947,1178,1190,1010,779,686,595,768,817,862,994,783,907,1308,1266,1108,935,984,1132,1268,1184,940,1072,1262,1428,1448,1124,1202,1566,1732,1418,1058,1180,1278,1198,1260,1090,606,579,651,828,1172,1194,931,777,743,873,1022,1150,1198,1634,1678,1382,794,703,591,425,433,446,408,397,484,435,463,585,653,540,723,576,868,916,458,540,720,555,397,546,928,684,554,692,631,436,744,988,816,733,722,615,520,458,525,666,655,669,724,1218,1528,1576,955,482,632,779,1204,920,894,777,484,817,1070,980,1028,1114,1076,1150,895,941,1134,1556,1282,1256,1204,938,631,604,667,634,603,565,469,553,518,546,747,639,641,713,795,810,949,1278,1174,954,649,434,438,642,527,601,724,738,626,692,810,955,813,775,974,808,463,644,657,781,974,1050,999,872,626,421,467,460,386,337,379,389,388,320,291,281,471,641,513,383,393,441,388,462,651,670,561,357,254,235,476,642,594,511,552,568,642,741,668,631,571,432,473,576,579,508,433,379,352,406,535,504,392,339,317,329,327,331,332,328,329,332,338,336,334,340,340,326,326,324,330,332,339,337,334,334,341,347,342,353,344,335,353,345,342,348,353,365,370,358,361,368,362,370,363,354,364,356,346,346,350,354,344,343,349,339,340,333,321,339,323,317,324,326,334,339,339,335,334,339,351,353,393,475,536,563,562,558,563,552,558,547,502,514,511,502,515,522,486,486,512,527,536,507,494,498,500,480,457,450,452,467,509,478,443,375,351,335,311,306,289,300,269,243,237,239,260,253,259,275,271,278,283,273,273,283,290,272,270,284,263,284,322,325,316,339,344,311,325,353,332,358,335,316,284,265,270,246,251,268,251,248,256,267,272,267,262,275,285,284,273,265,283,273,314,480,597,585,508,410,415,451,521,561,511,400,442,604,461,308,294,336,420,788,1078,819,656,620,637,465,358,426,565,556,336,300,279,294,291,331,455,488,420,374,352,342,321,322,327,312,298,285,269,274,329,407,411,384,360,341,351,359,345,337,348,344,348,344,338,334,338,336,334,340,348,344,337,338,338,341,331,347,376,360,376,362,356,391,391,371,377,379,382,381,371,362,359,354,347,338,347,342,338,336,336,333,346,340,344,343,343,349,363,361,362,384,373,352,354,360,380,370,363,352,352,343,349,346,343,355,354,359,366,361,354,353,355,357,348,371,371,351,363,362,352,354,346,342,341,339,354,338,329,326,343,351,345,339,343,352,347,347,351,353,360,349,346,363,358,360,363,362,357,354,352,354,352,348,346,350,366,362,361,371,364,368,366,358,348,339,354,363,359,352,348,343,339,342,351,349,334,334,342,351,350,349,328,336,338,338,339,344,340,332,330,336,343,340,340,347,331,333,333,337,346,360,370,369,373,390,397,399,403,397,396,399,397,397,399,396,390,392,392,395,410,400,374,385,390,393,388,389,384,392,376,369,376,375,367,379,376,363,354,346,347,358,354,343,342,346,340,329,313,315,321,324,323,321,324,326,329,327,320,311,307,294,314,332,313,321,323,321],[285,324,716,1512,1786,1844,1594,1068,763,592,467,475,558,537,455,544,678,763,574,563,599,704,1174,1426,996,786,651,682,860,1208,1650,1922,2190,2744,2912,2888,2896,2686,2380,1942,1682,1664,1336,1100,1128,946,721,785,1082,1046,1154,1186,1044,984,748,552,588,731,950,944,597,477,451,500,493,526,727,857,755,553,422,403,464,582,479,407,405,421,376,313,385,462,475,496,704,1116,1268,1084,1012,912,716,548,658,1072,760,535,807,1056,1206,1244,1174,1382,1762,1628,1664,1798,1858,1764,1688,1650,1544,1620,1812,1660,1558,1668,1736,1380,974,783,1148,815,529,565,423,302,418,419,383,374,335,480,736,455,792,1166,1252,1180,805,517,700,1066,1146,1246,1390,1384,1300,1252,1030,1064,1154,950,1028,1236,1240,1460,1362,1008,1048,830,813,824,957,1124,1366,1450,1092,787,696,897,1330,1578,1252,886,605,691,600,917,531,328,304,320,374,332,300,423,686,564,576,985,1520,1478,1400,1062,909,717,474,437,436,424,418,365,372,368,341,317,357,319,271,279,308,329,304,302,326,275,286,294,358,369,322,388,669,775,691,750,701,486,506,658,908,1232,998,996,871,588,468,473,818,1256,1270,1302,1422,1532,1576,1120,727,582,465,603,1248,1396,764,575,676,1118,1382,1068,1274,953,818,757,680,1136,1126,683,518,606,840,959,631,636,982,1252,1248,1162,939,822,1204,1728,1322,1284,1770,1558,1166,991,1010,1006,749,1078,1738,1158,681,1332,1856,1538,918,792,958,579,369,286,251,250,332,387,421,439,390,417,508,467,386,372,365,354,374,374,359,374,393,407,449,455,368,510,1005,1430,1080,1096,1016,876,1094,1422,1232,1184,1386,1274,1286,1180,1234,1410,1288,1182,1284,1366,1452,1200,823,731,1058,1256,1220,1418,1256,1378,1408,1332,1350,1340,1368,1066,871,1038,1256,926,633,574,474,461,534,468,597,737,717,606,434,469,545,721,1028,1214,995,570,404,339,307,327,444,716,1062,1510,1482,1104,718,610,528,725,908,1214,1120,1256,1278,1028,1160,1290,836,639,660,593,577,501,413,716,846,766,1036,1176,1158,1194,963,749,716,710,762,774,786,862,1038,1216,1068,1064,1052,902,1090,1386,1228,1204,1194,1176,1208,1400,1152,1374,1242,883,864,1062,1288,1272,868,752,840,852,967,709,1230,1830,1650,1072,768,804,799,636,802,1316,1738,1664,1032,1082,1102,758,1054,1258,1112,1236,1426,1368,1504,1176,582,715,1072,1108,1108,1354,1586,1078,702,912,819,878,959,705,818,933,1178,1596,1998,2060,1188,801,1118,1162,1206,1086,1078,1350,845,549,890,1356,1168,1302,1616,1694,1500,1516,1804,1346,1438,2124,1778,1406,1286,1100,926,705,568,482,440,446,458,425,479,706,584,483,593,1028,853,828,1015,1084,886,910,987,636,560,652,564,490,388,369,371,363,346,388,658,675,394,368,391,411,463,447,407,346,380,414,425,449,477,483,476,423,381,467,497,491,445,416,491,428,398,505,472,374,280,277,265,246,296,341,358,348,346,397,386,311,258,295,372,608,754,1036,1550,767,755,858,836,596,408,427,488,568,715,1082,1366,1396,1390,1446,1526,959,628,972,1252,1366,1492,1288,1238,1340,1198,1156,1450,1184,1238,1298,1132,1102,1056,1054,976,1070,1224,1156,1178,1096,1034,784,692,723,582,461,587,872,781,460,381,484,747,1178,1608,1394,1198,1272,1226,808,678,977,946,858,1738,1954,715,547,577,572,528,524,524,506,440,404,730,1280,1756,1874,1858,1396,1108,927,791,534,391,375,387,399,388,390,402,428,495,621,973,1366,1374,1130,1294,1378,1440,1460,1362,1408,1654,1694,1498,1788,1684,1614,1532,1120,1009,1052,1190,1158,868,618,544,786,1124,1114,1506,838,569,533,982,1496,1238,956,1050,1148,1012,840,1264,1032,1013,908,1021,944,1082,1134,1132,822,1074,1494,1698,1546,1292,1054,894,832,927,895,850,686,501,853,1236,1188,964,902,634,502,497,543,689,1104,953,722,734,894,929,948,1114,1034,879,761,986,1036,775,1074,1302,1462,1702,1766,1506,1542,1444,745,587,426,469,869,1144,1388,1362,1168,1256,1470,1616,1596,1408,1222,1214,1306,1124,1090,1146,1088,998,915,791,980,1768,1910,1284,1054,943,1009,1116,1352,1450,1394,1230,1260,1350,1318,1260,1360,1456,1278,1196,1110,1204,878,941,1156,1070,876,627,904,1166,1274,1498,1670,1558,966,470,525,626,634,1126,1114,850,1021,1300,1166,1216,1360,1134,1382,1700,1368,1160,1060,1208,1062,1086,1152,833,882,1216,913,1082,1196,1106,1186,1424,1428,1184,1104,1218,1100,608,469,672,867,1180,1296,1270,985,820,864,739,605,721,693,646,1017,1152,1182,957,1056,1072,1332,1284,1062,1062,1084,1216,1334,1430,1466,854,544,827,1924,1526,880,993,1188,1228,1410,1268,901,1007,1152,612,393,420,440,685,1082,1170,1538,1252,955,1023,1438,1698,1352,1208,1102,930,1186,1210,717,454,430,863,1500,1566,1426,1400,1284,1030,1032,1184,1214,1402,1006,942,1126,1486,1654,1278,779,916,1386,1750,1252,1444,1256,1018,924,1158,1350,1248,1284,1232,1150,1196,1250,1322,1204,1332,1480,1130,818,875,859,937,1028,843,1002,1306,1266,1394,751,423,405,397,389,529,821,920,881,750,519,500,459,445,413,404,615,655,619,673,652,546,480,631,584,500,606,791,799,515,474,451,491,615,883,1011,900,1104,1322,1242,869,1004,1062,667,507,686,937,1230,1044,1180,1554,1386,1226,1116,868,852,1042,1190,1188,1176,1354,1416,1460,1236,1048,1330,1396,1276,777,757,940,877,1054,950,526,547,692,686,849,1058,883,767,1196,1464,1262,952,1102,1122,803,639,694,899,893,793,567,469,427,484,450,398,410,458,532,530,569,435,662,1028,614,401,680,1040,919,1034,1144,738,659,832,936,743,720,1044,926,633,563,534,535,547,623,775,821,874,990,1580,2134,1832,639,496,502,896,1316,1066,777,561,540,925,1098,1118,999,1076,1018,1132,832,977,1302,1402,1384,1312,1378,1328,1088,679,536,567,610,571,535,794,788,781,778,742,669,628,897,1009,985,1208,1422,1018,458,338,363,448,509,630,671,683,658,632,641,737,884,575,583,716,611,675,752,846,949,855,711,803,760,514,480,368,328,326,375,379,513,436,357,487,736,744,561,408,426,561,399,403,461,442,348,277,287,409,455,514,602,509,604,586,687,675,432,365,505,489,435,619,733,631,490,336,333,509,642,488,412,361,327,327,323,333,341,332,332,337,338,331,330,334,340,324,325,334,343,336,333,345,343,332,331,335,334,346,348,361,349,345,344,353,354,357,359,354,354,357,345,360,374,342,357,356,348,343,338,343,346,339,334,334,334,335,325,343,339,328,327,327,334,337,337,340,342,341,334,339,353,416,482,526,550,562,563,560,559,561,545,523,484,515,507,459,432,455,479,504,510,505,486,465,480,505,457,436,445,454,465,456,458,401,361,349,300,306,296,287,279,256,258,244,259,263,256,262,263,267,282,283,281,294,286,276,277,270,260,279,316,321,318,347,343,350,351,347,335,377,361,333,347,339,329,323,331,333,290,290,274,277,273,268,273,277,268,268,268,276,280,261,308,516,567,554,487,467,481,469,437,520,702,587,480,621,420,358,267,297,295,796,997,726,518,575,594,415,294,481,611,563,396,305,250,281,321,367,430,415,357,338,339,332,330,332,306,325,295,281,278,292,359,408,394,372,358,349,346,357,332,334,340,364,356,344,338,338,338,330,327,340,352,350,338,342,354,342,331,357,372,382,392,365,375,407,392,368,368,376,376,371,374,381,376,368,357,359,353,342,337,340,340,336,344,329,344,350,353,353,362,366,374,401,397,372,367,375,367,376,366,352,350,346,349,349,350,352,356,363,360,355,357,345,355,361,348,357,362,353,360,365,351,357,348,348,344,333,347,346,338,331,333,341,350,356,356,350,347,347,346,355,360,358,340,355,369,350,346,363,355,353,360,366,362,361,361,354,354,357,358,351,356,370,364,358,359,350,345,363,358,346,346,342,336,334,336,332,328,333,342,344,342,342,334,342,337,336,342,340,337,333,328,335,338,341,345,356,329,322,331,339,362,376,378,380,381,377,388,401,401,391,394,404,408,399,390,387,383,392,386,386,390,388,393,385,372,361,365,376,367,365,361,361,357,351,337,350,351,343,339,339,341,337,334,331,331,339,336,327,321,327,321,321,318,316,310,304,309,313,308,302,304,284,296,313,309,318,313,314],[342,386,605,1015,1690,1716,1440,1040,814,640,470,439,436,448,460,423,432,480,560,547,498,957,1788,1606,989,832,747,965,1408,1868,1794,1944,2624,2906,2922,2922,2930,2890,2854,2438,1978,1604,1034,1100,1142,839,581,628,808,877,1234,1180,802,561,461,499,527,489,454,406,433,486,555,610,645,543,563,689,737,752,755,695,710,825,647,397,419,373,330,405,498,527,501,582,1264,1856,1962,1780,1120,579,668,565,732,877,670,633,910,1306,1456,1186,1132,1682,1916,1666,1578,1670,1778,1748,1754,1828,1852,1780,1746,1388,1368,1442,1350,1294,767,772,829,513,503,514,404,526,882,1038,866,482,300,300,278,470,802,1054,1258,1346,1374,1078,1156,1264,1872,1594,1336,1064,1078,1314,1510,1470,1262,959,854,1001,1028,1114,1146,1102,1204,973,904,778,662,987,1404,1450,1164,876,721,792,906,1296,1058,706,684,513,598,797,560,360,349,335,372,350,359,771,1136,856,765,928,1188,1214,1466,1648,1422,1114,772,465,457,374,322,378,376,402,389,363,409,394,391,431,418,366,329,283,303,298,295,325,354,373,369,381,569,695,704,732,790,492,475,641,869,1150,919,821,918,752,479,556,825,1218,1236,1268,1462,1578,1400,916,592,567,491,614,1126,1264,1014,970,1060,1266,1056,804,1146,1140,1316,1412,1160,1218,1194,744,637,855,1300,1282,819,572,581,949,1702,1582,1007,1260,1692,1512,698,901,1626,1328,1098,1108,1352,1216,813,794,1200,1174,935,1122,1400,1284,653,562,774,1019,620,353,384,391,487,518,562,524,404,551,705,670,533,369,328,328,348,365,373,390,393,404,445,478,422,455,673,1222,1224,1140,1226,1354,1566,1650,1426,1094,1062,1306,1356,1040,1056,1296,1338,1102,805,1082,1356,1256,1426,1254,989,877,825,1206,1254,1896,1992,1534,1518,1852,1714,1654,2032,1836,1616,1500,1908,1542,807,835,1144,1026,976,995,951,915,409,443,732,895,1094,1078,872,653,410,364,415,490,596,882,1306,1570,1454,763,590,583,494,600,612,738,844,898,905,930,858,856,880,792,611,526,536,728,781,892,1050,1426,1830,1612,1548,1802,1604,1346,1472,1090,1052,900,1009,1346,1520,1326,1078,1100,1126,978,998,1394,1604,1222,863,1382,1532,1188,1124,1400,1272,1046,736,982,1180,884,685,943,1058,1086,792,959,1436,1708,1518,831,689,663,593,706,956,1108,1248,1418,1588,1880,1322,862,1178,1110,974,975,1112,751,617,787,542,716,1030,1036,1028,1284,1396,1034,955,1016,896,879,1072,880,884,1062,1538,1878,1980,1318,814,1052,1042,915,1190,894,833,1038,760,543,800,1132,1168,1416,1520,1478,1480,1384,1646,1538,1662,1842,1586,1532,1594,1472,921,488,436,390,362,356,424,455,494,709,729,756,671,858,1108,1038,1124,1298,885,890,902,513,512,531,496,408,347,382,397,405,440,526,687,543,368,399,429,451,519,480,404,375,387,438,477,408,375,489,568,468,424,422,376,416,416,478,475,347,341,398,473,454,432,539,400,382,347,296,310,298,306,286,265,282,334,416,374,381,361,572,706,553,706,778,669,525,655,760,705,688,698,984,1112,1180,938,740,819,868,896,1052,1334,1538,1430,1202,1132,1106,1216,1200,1382,1068,1236,1376,1280,1188,1066,939,779,1034,1336,1164,1260,1164,1086,1056,899,658,551,482,574,581,477,346,419,476,474,912,1060,977,1180,1466,1456,1018,678,924,1036,1032,1416,1740,832,518,553,552,532,521,492,448,397,372,423,771,1556,1610,1412,1024,888,818,780,554,446,441,382,382,398,397,409,434,523,752,1190,1530,1166,968,1782,2224,1726,1360,1572,1444,1632,1770,1594,1690,1720,1506,1210,1012,791,868,1310,1252,1052,883,605,622,742,783,750,583,495,697,835,722,831,1082,1148,1042,982,1298,1264,980,930,1072,954,1062,1220,1244,1286,1148,1112,1244,1582,1454,1488,1216,1005,979,905,813,830,540,606,1094,1236,1024,789,809,588,527,513,511,897,1178,957,727,633,663,805,901,938,947,894,904,994,900,754,1006,1512,1742,1600,1608,1492,1502,1248,684,604,484,449,585,904,901,870,963,1032,1422,1606,1516,1438,1348,1340,1316,1102,1174,1112,1084,1318,1258,1218,1390,1346,1618,1180,1056,1005,1030,1068,1448,1460,1166,946,957,1122,1134,1230,1428,1290,1378,1572,1274,849,570,745,1172,1186,906,770,662,714,832,944,1220,1548,1264,751,843,1014,900,987,1018,1044,1438,1572,1382,1004,1072,1204,1204,1108,1178,1188,883,811,939,980,1048,827,829,1094,675,960,1104,877,833,906,1018,1126,1118,1172,1108,605,634,892,955,1042,1102,1110,890,578,371,356,462,561,491,730,1094,1086,1362,1098,995,1196,1114,891,775,900,1013,955,985,1184,1100,659,928,963,1202,1408,1146,1126,1202,1188,1234,1168,1024,957,1009,686,566,526,730,1054,1290,1490,1522,985,770,1058,1114,935,1244,1220,976,843,1128,1148,772,557,520,834,1236,1314,1254,1350,1490,1048,668,882,1232,1360,1172,916,1016,1666,1918,1192,981,1504,1066,677,503,961,1394,1316,1134,1242,1350,1554,1440,1290,1506,1478,1356,1290,1110,1160,1314,1046,868,933,872,937,1312,1028,1116,1260,1470,1592,1086,930,835,574,501,862,1392,1318,835,641,947,834,698,469,571,651,523,456,752,807,698,622,488,498,525,579,766,677,728,688,574,556,681,582,594,799,935,1054,1142,1242,894,913,866,595,410,572,1260,1634,1262,1134,1462,1190,1216,1024,830,916,1296,1424,1124,1046,1218,1210,1094,813,920,1312,1184,1192,1092,760,919,740,545,643,678,664,881,777,566,625,509,596,1012,1021,1268,1414,1526,1022,778,1078,1019,945,999,851,690,577,507,540,462,440,435,398,422,508,498,378,526,1036,833,419,744,1250,1446,1140,616,443,534,710,1152,966,683,959,1134,661,480,549,670,730,727,699,798,794,747,1038,1364,1528,629,591,514,1134,1142,833,830,637,731,1122,1128,1122,1036,1084,1098,946,1196,1172,1410,1466,1302,1066,1138,1222,1130,1146,725,580,642,500,571,681,763,825,756,707,782,896,962,1108,1108,925,911,630,431,413,447,419,674,915,682,554,591,946,1194,807,704,797,669,590,666,749,758,843,997,949,702,620,703,521,431,350,332,346,365,342,466,514,450,626,676,637,604,448,439,357,324,351,430,451,448,328,299,538,622,522,614,539,463,373,354,303,276,309,426,499,474,562,692,709,530,395,334,354,424,435,420,387,346,334,328,325,330,332,340,339,332,326,325,328,331,328,328,330,336,330,324,343,347,339,329,335,331,335,346,349,357,351,335,348,349,343,346,349,346,345,356,358,354,358,359,339,340,347,346,347,344,341,340,341,335,335,333,335,330,320,316,324,332,325,321,348,341,336,340,341,343,373,415,456,510,544,549,551,548,558,566,538,511,500,502,450,428,441,447,462,482,495,491,473,470,475,475,453,431,440,466,478,470,411,345,315,315,305,289,263,268,255,250,239,243,259,265,268,266,271,278,280,284,290,272,271,277,270,263,284,310,315,328,356,370,377,372,365,353,362,340,340,364,354,362,377,426,498,404,370,323,305,289,274,272,276,267,263,273,280,286,287,368,554,525,470,480,581,589,542,509,562,786,1028,923,520,350,321,310,363,389,798,919,507,424,523,551,527,431,543,705,569,384,325,302,315,344,376,396,367,345,322,330,316,353,331,317,331,304,318,315,271,355,399,384,353,353,367,334,337,336,346,360,355,336,342,344,344,342,330,330,344,358,353,339,342,354,367,378,411,439,403,389,376,386,390,379,375,375,373,368,375,374,364,359,356,359,365,353,350,354,353,350,347,334,341,346,347,353,358,357,359,370,405,385,362,373,377,389,376,344,342,359,352,350,354,350,350,346,366,354,352,360,347,354,363,352,353,359,357,362,359,357,351,348,348,344,327,328,341,339,331,326,333,350,345,343,341,347,347,346,353,355,357,355,351,353,349,361,352,353,353,353,349,350,354,353,354,352,352,356,365,352,355,362,360,358,356,336,348,352,345,348,345,339,333,326,326,332,345,345,338,339,342,339,334,330,340,328,335,335,337,328,334,334,340,341,350,337,332,343,354,368,378,383,385,383,387,383,393,396,385,390,398,400,395,385,376,377,395,381,378,374,374,369,374,366,351,354,350,351,346,341,350,334,333,335,333,328,329,329,329,331,326,322,320,324,322,325,324,326,322,328,329,319,313,300,297,304,306,297,295,290,287,295,300,311,309,304,317],[317,414,899,1804,2276,1892,1450,1094,767,592,425,397,415,481,428,477,493,525,483,489,561,1482,2346,1726,859,806,785,920,1186,1654,1616,1888,2510,2850,2888,2918,2940,2934,2938,2946,2844,2272,1368,890,683,562,575,643,702,888,1024,856,733,566,473,440,422,379,394,332,383,610,768,770,685,596,563,662,759,758,845,888,943,814,580,366,322,325,323,390,458,487,532,709,1402,1604,1874,1710,860,480,572,814,1394,1498,1128,958,1238,1232,1174,1134,1116,1720,1932,1544,1384,1528,1654,1760,1824,1990,2122,2004,1804,1444,1284,1222,1228,1023,671,621,613,550,488,518,850,1078,1072,1404,1174,608,360,398,469,552,847,1304,1200,1003,1276,1350,1070,644,1516,1236,793,680,861,1128,1210,1388,1414,1262,1056,1038,1066,1138,1172,1238,1270,1122,1004,849,742,781,1080,1004,756,550,474,513,719,952,962,647,937,971,995,1310,920,586,456,312,342,350,611,1128,990,1042,1504,1400,875,760,1512,1902,1738,1484,1598,847,517,415,492,479,394,386,384,389,393,441,560,523,477,410,317,305,330,378,364,353,350,347,358,335,407,796,995,771,896,750,695,633,810,1072,1056,879,964,993,591,584,659,987,1094,1054,1122,1262,1254,864,705,836,637,843,1262,1374,1300,1370,1554,1162,764,407,419,722,1046,1232,1178,1028,1114,1090,1078,1068,1522,1436,1023,723,550,582,1274,1730,1580,1606,1526,1574,985,760,1040,1160,1498,1520,1412,1412,1138,791,1044,1224,2010,2194,1350,1012,647,556,1088,1484,959,950,933,523,511,622,670,443,440,546,607,744,776,603,449,367,359,356,384,398,402,413,421,460,477,461,490,940,1226,1146,1112,1410,1494,1606,1648,1178,1064,1128,1104,1136,1068,935,1144,1270,1052,996,1396,1290,977,783,713,988,1064,990,1080,1836,1836,1374,1286,1522,1556,1614,1802,1858,1672,1842,1896,1524,838,1062,1420,1230,1256,1218,1138,1252,618,460,887,832,608,664,946,877,594,389,441,473,747,1172,1332,1214,935,501,530,464,357,394,386,476,616,771,1134,1124,1007,958,1372,991,660,524,603,882,1015,1178,1416,1548,1460,1160,1558,1904,1892,1266,888,1110,1072,835,1116,1390,1192,1020,994,908,1204,1292,1052,1536,1744,1188,801,1208,1256,910,1116,1344,1438,1086,859,913,844,620,541,818,1136,1278,1072,1054,1256,1420,922,550,718,700,698,1084,1568,1152,890,1284,1570,1562,1312,1054,1010,817,789,687,1007,698,522,662,551,739,1036,864,775,1148,1262,790,901,935,879,1238,1226,992,1014,1456,2004,2136,1390,600,633,940,933,1038,1312,1322,1214,1212,1114,1028,997,1003,1006,932,654,609,651,706,979,1030,1310,1268,1322,1744,1880,1652,1007,462,610,681,553,430,477,492,561,738,803,760,676,804,978,1050,1190,993,716,850,817,497,423,409,415,415,399,419,417,407,422,478,575,394,350,390,582,486,406,457,416,378,379,403,489,455,432,627,569,422,428,454,523,448,422,476,405,401,364,317,401,513,612,579,447,443,391,335,281,255,279,284,282,330,312,375,350,345,391,530,490,490,509,594,583,508,593,567,1012,1192,1044,780,727,1026,829,534,653,1054,1300,1322,1376,1262,1300,1026,868,1176,1248,1236,1028,941,1256,1420,1386,1124,1068,1102,836,972,1272,1144,1120,1246,1322,1238,874,733,644,456,572,456,404,354,431,464,371,690,1114,1660,2030,1868,1504,1166,575,526,836,1048,1036,849,578,521,568,524,508,518,499,468,420,380,389,446,924,894,622,717,866,824,651,512,522,487,376,364,390,382,399,413,483,779,1300,1504,935,917,1850,2330,2134,1556,1760,1606,1502,1326,1642,1680,1434,1204,1174,1202,1070,882,1084,1092,951,945,693,774,803,733,1094,1032,833,1324,1242,824,886,1192,1056,993,1009,1356,1176,989,985,1224,1272,1272,1356,1216,1350,1208,1102,1276,1158,1160,1292,1204,1028,982,849,773,874,901,1226,1246,982,956,798,543,541,569,579,630,901,1134,1086,872,918,1310,1152,1138,1007,739,874,1076,1046,1036,1012,1246,1632,1628,1390,1416,1322,1344,1234,810,497,451,525,466,438,479,770,1030,860,1050,1444,1692,1496,1408,1374,1296,1266,1140,932,1182,1548,1346,1270,1312,1306,1378,1074,918,929,1064,979,1300,1516,1324,1152,772,824,1066,1240,1490,1554,1512,1432,1150,849,570,642,987,1084,835,827,788,791,1312,1506,962,988,1256,1226,1454,1372,981,916,1112,1062,1134,1438,1448,1360,1312,1384,1230,1170,1222,1208,966,879,1398,1152,962,915,1015,1110,978,1216,1168,934,1050,1168,1152,1048,1003,892,957,1024,791,946,1120,985,954,1172,1232,944,501,396,482,597,758,1042,1013,832,1444,1218,861,1084,1070,1009,916,1038,1176,1001,1032,919,583,413,857,947,1154,1348,1210,1142,1194,1214,927,833,672,759,844,951,852,796,991,1198,1378,1634,1508,862,899,1154,1028,1016,1310,1418,1003,842,1154,1400,1218,746,774,1334,1256,1196,1264,1470,1384,901,936,1236,1110,1206,1536,1380,1246,1400,1028,876,1292,1520,1044,1076,821,747,1278,1456,1220,1212,1378,1290,1016,1013,1478,1404,1378,1288,1078,1182,1208,849,738,863,1190,1182,1462,1230,1152,1284,1400,1396,1242,999,767,697,643,785,959,912,832,924,1100,817,662,684,818,811,582,619,930,902,881,670,866,1152,639,444,799,1052,969,891,1026,1166,1210,888,752,915,1012,955,797,845,929,1021,816,473,333,395,727,760,560,702,1230,1354,1330,1272,1396,1510,1538,1314,1172,1258,1248,1252,1188,719,1166,1560,1308,1062,1102,945,770,504,522,592,950,1188,1434,1152,838,669,506,722,878,1102,1560,1500,1222,838,886,1210,960,851,949,724,827,661,539,510,462,452,413,363,361,466,500,429,430,760,962,522,448,789,999,853,827,1005,1066,619,1038,1142,879,783,1204,913,521,576,620,614,692,793,827,701,489,682,1404,1356,713,599,630,1166,1116,597,593,681,973,1168,1426,1246,1180,1034,850,835,1086,1322,1520,1274,1000,862,992,1114,1166,1360,1028,838,805,729,619,556,617,653,739,758,721,863,788,1152,1422,1282,816,610,587,473,473,498,639,866,707,662,672,728,1296,1282,859,680,985,1014,738,711,770,1058,1124,1034,998,654,538,444,368,348,403,399,340,353,521,561,455,738,636,561,477,420,417,378,383,443,516,534,497,343,287,414,472,502,549,584,425,336,361,332,303,284,360,484,455,448,481,490,509,514,383,353,387,382,396,387,355,327,331,318,336,336,341,334,332,328,324,325,328,337,340,336,339,335,334,341,350,344,336,330,333,339,342,343,345,347,341,349,356,358,358,354,352,356,360,364,356,351,351,347,341,349,341,340,341,338,336,329,332,335,335,336,330,320,318,325,332,332,325,345,332,347,349,336,335,353,376,411,449,481,509,525,537,548,555,549,525,515,512,475,441,438,432,440,469,492,491,471,451,447,476,469,438,418,427,442,469,465,378,312,322,328,307,280,277,261,233,241,257,262,258,283,282,288,290,289,296,285,269,270,280,272,258,280,317,329,356,440,463,430,423,379,358,357,339,381,419,378,367,380,470,528,532,478,390,343,328,306,313,318,307,290,283,280,286,321,477,523,487,495,552,602,592,597,618,592,749,1152,855,383,277,306,373,686,785,785,630,394,348,396,478,462,519,595,679,560,399,347,307,309,319,359,365,318,341,321,314,297,289,295,314,327,329,388,329,283,363,371,353,337,341,349,337,344,347,326,338,350,340,336,338,337,333,330,336,342,356,354,343,348,357,372,365,378,449,406,403,391,399,409,403,393,388,372,365,374,375,366,362,356,359,353,345,345,339,349,357,350,344,350,341,340,353,364,359,348,394,359,340,324,371,404,370,357,346,350,371,362,353,365,353,352,344,362,367,366,361,352,357,361,355,357,355,355,357,348,361,357,351,349,344,336,339,342,340,327,316,328,341,341,342,341,341,343,347,350,355,352,345,345,349,357,360,355,353,358,358,346,342,346,346,349,355,353,354,372,355,351,354,354,353,349,336,336,344,346,344,344,336,334,330,332,332,324,322,332,337,332,327,321,328,332,334,334,328,325,320,320,333,347,339,340,333,341,351,357,366,368,372,383,388,396,379,389,404,389,386,383,380,376,373,374,369,381,378,366,363,363,357,351,339,348,347,337,338,339,322,333,336,338,333,324,322,321,318,319,317,317,320,320,318,316,313,309,312,316,325,320,319,311,304,306,304,298,296,295,292,293,295,300,304,297,297,298],[447,539,678,1082,1458,1526,1442,1108,955,706,449,420,464,580,535,564,574,528,497,482,489,724,1046,1112,1026,844,583,618,806,1138,1188,1294,1810,2316,2746,2902,2954,2946,3012,3020,2974,2900,2220,1124,777,725,581,608,684,839,826,612,640,507,430,403,425,419,437,410,424,521,605,608,563,606,582,606,774,850,902,960,1072,944,717,430,336,357,299,348,471,503,557,962,1300,1390,1534,1266,698,575,678,1154,1746,1498,1396,1476,1514,1218,1152,1234,1308,1614,1574,1408,1366,1376,1448,1404,1474,1770,1942,2004,1860,1598,1474,1938,2032,1242,818,597,774,891,663,733,1204,938,437,589,586,379,359,394,502,676,591,550,659,765,700,724,545,347,932,837,469,583,933,1360,1248,1360,1418,1320,1306,1376,1480,1484,1232,1364,1502,1610,1560,1070,917,676,714,526,488,404,341,498,620,683,833,897,1012,985,1340,1826,1632,890,547,465,418,411,869,1162,1070,1486,2258,2430,1498,642,1030,1572,1776,1466,1942,1778,984,498,623,717,556,393,394,410,405,418,450,463,423,348,306,371,423,450,411,375,379,388,395,362,355,637,649,650,887,1021,969,844,828,1064,1228,1114,1028,1090,791,738,669,810,1338,1504,1712,1902,1642,1384,986,1048,1068,1080,1328,1410,1426,1508,1538,1252,820,526,450,422,556,996,1096,621,861,1228,808,586,1001,1542,1450,816,614,656,940,1406,1802,1582,1582,1702,1472,1122,921,1072,1560,1706,1434,1336,1252,1282,1484,876,1246,1734,1532,1056,798,824,1532,1666,1050,1010,1098,807,496,556,581,387,412,484,417,462,630,697,533,382,387,396,388,399,411,432,405,408,425,400,414,637,988,1166,955,1432,1474,1476,1576,1422,1136,1100,1084,846,433,484,881,1054,1202,863,1126,1354,1162,1190,1244,1210,1154,747,1028,1984,1858,1272,737,826,1254,995,1132,1172,1846,1928,1234,801,664,1040,1172,1188,1260,1084,1236,1048,517,485,805,704,754,912,860,868,770,407,416,370,771,779,661,668,507,481,563,472,354,371,350,513,808,1015,846,1026,1232,1170,1204,922,649,565,530,854,1262,1266,1466,1130,739,794,1212,1324,1164,664,534,616,698,836,689,456,535,689,823,816,1194,1190,893,1007,1390,1128,609,577,609,811,1242,1528,1650,922,1108,1284,1020,792,653,897,1234,1480,1526,1216,1042,1240,814,582,640,579,560,1098,1740,1312,1026,1396,1274,855,1090,1136,907,575,508,675,937,979,1030,925,609,726,1110,1090,1036,1160,883,970,1018,807,771,1272,1446,1264,1380,1880,2316,1876,890,697,550,661,1013,1328,1300,1122,1228,1332,1196,1188,1164,1130,1102,884,837,1120,891,857,1350,1886,2148,1770,1656,1858,1846,1516,905,623,1136,1062,575,491,517,572,595,586,633,651,619,602,562,603,635,628,610,659,606,448,360,374,426,477,464,448,403,407,415,434,467,403,417,556,663,486,385,433,464,446,399,396,421,397,448,569,461,382,399,498,528,454,452,426,484,533,420,370,416,491,514,505,413,301,298,320,325,331,319,294,301,328,365,377,516,606,758,700,538,528,591,771,654,757,882,565,860,969,973,785,1050,1312,990,772,702,1040,1268,1314,1344,1280,1428,1452,1294,966,989,1184,1080,1222,1404,1412,1384,1114,1156,1332,1158,966,1094,1236,1228,1220,1318,1296,1152,953,738,450,519,528,468,431,333,414,414,777,1692,1902,1496,1338,1422,1516,821,577,919,1350,1160,711,521,490,500,473,498,509,539,502,461,415,386,368,440,528,642,800,914,877,697,642,667,695,489,394,441,417,405,398,526,904,1390,1320,1062,1854,2542,2290,2104,1510,1486,1448,1340,1588,1632,1482,1484,1374,1370,1070,1260,1380,1288,1052,724,928,1072,1168,948,766,768,822,839,1038,962,730,807,949,1130,1274,1392,1234,1005,805,788,1220,1380,1318,1034,936,1330,1020,1056,1286,957,946,1332,1360,1194,1130,961,677,971,1160,1302,1044,1120,1090,707,639,735,750,653,662,850,1220,1250,1164,1044,1072,1232,1328,1346,1110,1050,1174,1144,1178,1302,1422,1414,1262,1174,1422,1550,1470,1352,810,466,594,483,417,444,462,907,1260,1192,1368,1488,1636,1570,1418,1358,1460,1330,1128,1036,1252,1364,1204,1164,1196,1212,1112,1256,908,933,1036,780,1050,1394,1284,1252,811,666,675,695,875,828,727,824,822,684,477,476,691,977,905,739,901,1032,2744,3718,2636,1724,1210,965,875,900,907,1204,1652,1444,750,899,1234,1388,1248,1268,1120,898,883,978,945,928,1248,1108,1252,1408,1376,1100,1158,1344,1052,747,957,1118,1238,855,586,492,683,896,775,926,1092,861,857,1132,1086,955,849,715,705,604,814,947,966,975,1558,1346,845,980,992,1042,1038,1174,1230,1338,1250,1050,737,519,766,1054,1152,1174,1188,1144,1148,1334,1102,1196,848,976,1200,1072,664,710,1098,1262,1518,1790,1472,1124,1030,908,638,916,1348,1526,1238,1001,1156,1458,1262,922,948,1292,1206,1530,1594,1538,1322,1118,1268,1302,1328,1476,1144,1166,1634,1672,900,722,974,796,891,1128,921,959,1174,1220,1074,1094,1236,1198,1192,1096,1036,818,695,801,956,1036,1092,871,800,989,1204,920,667,1060,1440,1742,1834,1680,1690,1240,767,704,664,491,404,390,563,830,821,761,1224,1544,1456,1168,961,1142,1108,1200,1388,1252,1248,1312,721,464,757,904,893,1150,1360,1324,1172,1054,1036,1166,1080,767,496,521,693,815,870,974,570,702,813,1086,791,883,1520,1686,1176,994,1212,1348,1340,1118,1394,1446,1396,1640,1470,1116,1376,1256,872,1124,1086,1002,1294,1050,755,522,724,1208,1524,1434,1208,1018,808,985,1076,875,809,791,692,480,796,1158,829,746,866,872,999,678,531,543,471,401,401,458,379,387,440,437,420,530,945,775,328,692,984,915,1036,1220,1128,747,1005,1154,1202,827,1150,1206,608,531,563,615,583,623,821,789,553,899,1716,1504,864,660,615,818,754,480,421,694,1094,1266,1474,1272,1054,1058,899,1042,1228,1324,1214,955,1070,869,954,990,1130,1558,1250,954,760,577,565,487,460,605,940,1032,822,750,833,891,1164,1078,682,644,630,480,624,831,558,451,584,952,1011,705,661,813,832,888,1182,1272,1236,966,807,1016,1060,971,916,711,474,368,439,472,448,391,364,397,478,373,300,481,569,529,404,406,461,451,448,519,539,551,504,376,325,404,476,461,455,590,504,353,363,323,299,279,289,351,352,358,483,507,514,640,571,372,318,364,396,386,382,328,332,320,335,329,336,336,331,330,321,321,332,328,328,345,340,325,339,339,338,341,344,332,324,338,336,344,349,347,342,343,361,357,355,354,342,339,340,344,338,355,346,351,344,331,331,339,338,335,332,333,343,336,335,335,333,330,321,325,327,323,327,339,339,335,341,343,331,341,344,377,408,454,473,465,481,504,520,531,525,532,535,510,477,448,442,435,442,467,468,465,452,446,447,453,455,427,444,430,449,473,415,352,342,313,263,248,245,230,235,259,274,270,261,284,278,285,289,301,301,270,257,272,277,265,270,263,328,348,415,529,500,458,467,455,430,381,356,414,427,390,403,444,511,530,546,540,476,430,452,436,420,448,415,381,325,271,294,422,518,487,462,502,587,627,579,603,609,683,798,880,624,350,279,331,370,479,750,758,356,535,545,443,352,388,628,634,601,516,347,325,341,357,348,358,365,343,332,328,309,283,272,273,290,297,331,394,316,352,357,351,341,331,329,332,339,345,342,338,334,322,340,344,333,338,337,340,335,340,348,346,345,348,362,376,382,403,449,413,397,395,397,389,394,397,388,377,369,371,374,371,366,355,356,350,350,351,354,356,359,351,341,359,343,344,350,362,356,337,334,336,369,341,328,345,369,361,367,350,350,346,361,353,356,362,360,372,386,386,370,360,364,361,363,357,355,355,355,357,352,347,349,354,339,339,330,338,342,336,330,334,335,339,344,342,341,344,347,347,354,354,356,356,362,367,362,355,352,355,355,352,349,346,347,346,353,355,346,362,358,350,355,350,346,343,340,337,333,340,340,333,328,332,333,335,332,325,332,338,344,349,347,350,350,333,335,330,329,333,350,337,331,343,343,347,341,341,343,366,368,364,374,383,378,370,368,368,358,377,386,380,371,368,365,373,371,369,367,357,359,348,351,348,345,339,332,330,326,334,322,319,325,325,321,322,322,321,316,311,316,322,323,317,317,315,309,313,312,304,303,303,318,300,303,309,309,312,315,318,312,307,309,310,301,298,293,297],[681,678,586,626,813,1274,1332,1058,1030,935,706,560,547,638,678,624,504,430,465,468,458,445,501,612,879,997,990,813,883,1048,1208,1534,1628,1608,2078,2710,2972,2952,2984,3010,3044,2968,2332,1426,1216,948,610,738,921,964,890,669,607,460,407,399,427,484,535,529,518,507,557,580,553,555,587,570,772,982,1066,1112,1088,1034,921,484,377,372,249,315,415,532,574,938,1498,1688,1462,965,618,667,651,888,1448,1344,1598,1294,1001,792,829,933,1210,1614,1530,1396,1182,1168,1178,1260,1322,1592,1736,1842,1842,1812,1564,1546,1560,1318,886,869,1430,1354,865,729,693,480,368,386,498,586,688,721,723,669,841,594,446,520,527,579,476,357,605,717,508,582,751,1110,952,1003,1092,1174,1620,1484,1578,1670,1394,1406,1288,1672,1694,1274,1019,836,634,540,599,526,383,509,511,698,1300,1366,1256,1114,1132,1460,1472,933,886,857,663,503,513,842,1466,2402,2714,1908,1480,938,621,597,1206,1368,1418,1572,1394,908,659,724,534,383,363,393,357,303,301,364,356,330,331,345,351,304,336,368,407,396,388,344,385,633,841,790,741,795,833,880,839,896,868,1023,921,916,1050,1017,852,912,1496,1976,2078,1866,1860,1482,938,976,1072,1164,1378,1408,1444,1132,950,1182,1106,888,596,346,433,1026,1368,1026,969,1070,739,473,672,1080,902,664,790,1192,1238,891,651,857,1480,1616,1206,901,812,836,962,1242,1532,1268,1232,1516,1330,860,874,1278,1204,998,963,869,1198,1456,1202,1414,1630,882,522,509,570,473,481,512,354,378,449,518,443,353,434,453,444,435,427,444,408,382,416,405,420,491,629,882,703,1068,1294,1234,1262,1150,1192,1300,1340,888,563,509,968,1360,1522,1256,1204,1426,1300,1322,1078,871,1124,1186,1338,2100,1754,1274,1496,1226,1136,1346,1412,1144,1682,1678,1110,885,888,729,695,891,961,764,882,769,587,645,890,1264,1300,910,807,750,852,532,485,558,678,772,686,549,797,992,1011,1042,1076,951,858,1350,1604,1670,1178,1172,1398,1188,1054,904,576,461,323,472,662,937,1284,842,684,854,950,973,771,504,499,524,797,867,686,547,461,523,555,502,680,742,604,487,460,452,493,658,821,1124,1182,1320,1198,1102,1394,1490,1492,1210,1080,1170,1164,1440,1414,1198,1072,913,524,484,503,428,391,518,549,691,1136,1210,1118,777,841,861,609,504,538,572,553,586,800,828,522,635,1104,1284,1382,1242,775,1017,1018,819,984,1306,1210,1310,1654,1954,2088,1036,829,988,758,705,1180,1354,1086,862,1070,1040,1080,1298,1214,1286,1282,908,1017,1322,1270,1252,1542,2110,2842,2580,2026,1400,1510,1158,697,948,1132,657,430,511,543,506,466,469,516,548,514,473,467,423,451,465,477,472,437,403,406,395,387,446,424,380,414,429,362,470,617,567,494,578,568,416,434,404,409,448,396,426,445,405,445,475,402,393,485,599,494,465,440,450,456,491,378,352,354,354,353,345,330,299,297,352,405,497,419,342,327,326,438,441,784,1262,1178,784,800,901,584,624,529,833,948,688,667,637,531,722,1222,1142,766,794,717,955,1106,1146,1124,1144,1318,1516,1362,1066,1098,1040,1122,1242,1126,1298,1384,1126,1088,1396,1282,931,1164,1312,1238,1226,1390,1480,1452,1016,711,453,418,462,565,562,547,660,532,841,1866,1974,1326,952,1310,1558,939,550,776,1208,1214,897,598,533,546,529,475,510,571,572,509,427,383,381,379,446,603,665,689,719,751,672,785,908,587,540,600,516,412,388,590,1020,1468,1280,1566,2350,2424,2510,2282,1626,1236,1134,1462,1726,1374,1338,1368,1286,1162,1136,1576,1754,1300,1028,766,896,1242,1188,910,938,953,1156,1100,1110,916,726,785,1172,1404,1460,1324,814,869,988,666,795,1126,1302,1184,1276,1344,1006,1026,952,630,756,1106,1230,1282,1080,944,531,526,639,771,821,998,800,605,789,1074,1110,705,613,843,1360,1268,997,943,934,1260,1472,1628,1482,1222,1124,1274,1180,1204,1150,1328,1494,1388,1404,1346,1270,1160,849,726,1116,839,890,821,816,1228,1396,1154,1194,1428,1486,1594,1566,1492,1352,1060,1156,1274,1278,1164,1130,1218,1346,1262,1400,1328,1220,1378,1120,935,1104,1216,1132,1318,1002,611,419,321,337,375,510,507,440,420,371,416,588,865,878,626,552,808,2384,4196,4584,3200,1258,1034,863,941,955,855,1028,841,520,578,1120,1364,1312,1364,970,610,785,1102,1170,929,949,1092,1348,1538,1532,1392,1264,1318,1296,1078,1340,1234,1090,667,335,271,419,624,600,678,888,757,1182,984,604,1026,1216,814,948,741,656,747,921,1060,1218,1156,937,944,802,790,1046,1066,1182,1338,1050,1084,1112,978,1204,1312,1178,1216,1084,1344,1280,1262,1200,1318,1170,1100,1304,1230,1036,1170,1292,1274,1584,1748,1230,1034,926,995,901,1021,1386,1526,1440,1104,1062,1478,1344,957,824,1058,1466,1506,1378,1256,907,883,993,1028,1260,1444,1238,1144,1626,1630,929,619,752,989,1144,1208,1116,1316,1282,1240,1096,1236,1266,1262,1134,1182,1066,668,633,1040,942,1126,1812,1240,989,1012,897,630,544,989,1148,907,647,1010,1810,1242,820,731,693,469,347,382,530,687,659,966,1610,1632,1560,987,932,1252,1052,1130,1460,1352,1302,1258,943,869,915,766,827,1015,1182,1132,1084,1234,1262,1248,888,463,477,474,428,856,1986,2264,1322,1038,1166,1196,789,943,1344,1382,1312,1206,1214,1296,1440,1494,1432,1136,1154,1430,1452,1288,1164,949,903,1174,1242,1276,1442,1522,1026,891,1282,1386,1460,1386,1284,1402,1226,946,1082,685,398,368,421,429,967,1104,1000,1108,892,976,974,456,443,478,407,392,392,476,401,412,463,452,449,404,755,1002,430,478,893,1086,1058,1108,1100,1018,1176,1146,952,758,1304,1594,852,556,650,721,646,750,831,828,795,1272,1932,1626,901,712,604,547,511,406,303,735,994,1370,1356,1118,1062,1018,975,1106,1076,1330,838,879,1004,1082,1042,1230,1526,1760,1498,844,430,409,561,457,421,547,677,907,945,905,1070,1122,967,674,436,419,435,597,785,1060,743,571,519,719,672,679,745,585,493,692,859,769,1342,1308,1168,973,947,1036,1034,846,516,323,440,462,360,307,452,564,430,310,330,451,495,455,467,424,411,428,497,541,606,642,629,459,390,417,444,446,425,571,613,428,412,362,347,296,271,271,290,314,412,485,478,623,677,479,334,347,364,398,407,367,344,330,335,331,331,325,334,330,326,328,344,323,314,341,333,320,319,317,328,333,341,336,320,339,336,337,342,335,349,346,348,345,346,354,348,345,348,345,340,342,321,334,345,345,345,333,324,329,328,332,350,344,339,336,334,338,326,320,319,321,327,335,340,336,337,333,326,320,315,354,380,408,421,431,454,476,491,507,508,520,512,483,465,458,448,416,421,444,454,455,462,448,414,444,464,434,399,408,432,454,439,379,323,273,228,230,240,234,255,272,281,277,276,271,268,283,287,295,305,291,283,290,292,283,262,265,319,357,438,508,484,442,455,480,467,440,422,385,380,373,420,490,503,517,534,530,487,630,775,709,717,730,614,569,476,470,505,540,570,508,473,526,567,604,581,642,689,744,740,618,513,367,335,406,427,385,626,528,442,617,613,375,273,377,573,683,662,660,575,365,345,354,339,347,363,356,341,333,307,281,286,277,278,283,276,311,338,361,365,357,342,333,329,329,330,337,336,332,325,338,333,330,346,332,339,340,330,333,333,339,346,342,358,372,391,425,417,409,405,386,370,389,405,386,368,365,372,373,371,368,354,365,361,359,362,364,363,359,359,357,345,355,350,344,353,359,350,332,309,325,347,338,306,288,332,350,362,365,332,338,357,356,361,357,362,362,362,365,370,375,375,370,364,358,356,357,356,355,353,342,339,355,336,327,323,329,339,342,330,324,336,344,338,339,342,350,346,350,362,347,357,356,363,362,357,353,357,352,347,353,355,355,347,352,355,355,349,359,359,346,350,349,346,340,340,340,340,334,328,324,327,328,327,330,335,334,335,343,355,355,347,347,341,335,332,339,350,350,347,343,347,338,344,353,350,347,362,358,356,374,382,380,380,380,381,364,368,387,376,380,368,361,362,369,366,369,349,345,353,342,345,342,342,336,326,324,317,318,328,321,317,315,315,324,319,318,319,317,314,311,305,306,311,312,319,319,310,305,312,318,331,309,305,298,308,319,306,306,309,315,310,306,298,296,296,298],[669,697,642,587,736,1202,980,828,879,904,878,733,665,693,711,639,461,341,378,478,504,475,524,516,581,620,792,1090,1204,1282,1166,1296,1482,1664,1542,2082,2736,2964,2908,3038,3038,2884,2066,1238,1380,1072,749,738,893,879,907,1098,940,681,606,648,780,828,739,703,678,708,747,695,558,661,696,631,802,1018,1116,1262,1170,1308,1300,709,526,464,364,392,458,495,506,581,752,1060,1190,686,610,1070,1074,660,964,962,1174,962,667,626,576,684,922,1506,1596,1348,1176,1034,981,1120,1300,1532,1654,1540,1576,1804,1746,1622,1530,1374,1202,1394,1660,1010,521,491,428,328,304,461,656,871,1396,1608,1788,1440,1244,1011,848,787,825,762,508,413,552,995,815,898,1015,1050,846,734,858,1224,1660,1410,1334,1484,1158,999,959,1454,1416,1198,1076,824,745,772,981,990,586,467,544,989,1478,1308,1284,1156,1082,1280,941,575,817,949,912,999,1080,1406,1808,2456,2122,2122,1894,1188,731,504,791,1210,1310,1260,1230,1048,634,547,452,404,449,528,357,253,279,274,288,292,328,324,303,255,292,300,337,344,317,243,318,495,566,517,493,546,760,756,661,555,525,647,605,794,966,815,672,874,1378,1548,1478,1482,1800,1256,1054,1012,895,1072,1424,1416,1234,1044,865,1230,1248,672,370,377,689,1302,1592,1390,1218,1124,790,497,643,846,874,883,855,1114,1042,655,533,594,893,916,706,838,830,838,918,1370,1688,1358,1114,1262,1494,1498,1090,791,752,782,810,818,1188,1186,1132,1680,1760,1280,940,600,619,669,630,622,505,464,450,460,436,535,669,553,515,507,451,434,417,394,427,404,388,375,414,481,392,673,950,1164,989,715,866,1386,1534,839,844,494,650,996,1478,1372,1240,1254,1246,1148,1050,1122,1598,1344,1730,2142,1404,1442,2028,1498,1194,1780,1672,799,834,869,890,1001,1234,1180,863,799,836,761,879,1160,1282,1294,1612,1894,1670,855,582,530,755,686,554,551,582,682,745,1008,1684,1834,1854,1974,2270,1620,1446,2086,1898,1636,1462,1204,1236,1274,1246,893,609,400,398,403,383,343,411,716,960,695,700,916,725,581,561,575,656,632,592,572,543,566,545,562,644,566,419,365,539,719,581,792,1258,1642,1408,1230,1262,1322,1250,1394,1488,1328,1300,1066,868,1228,1432,1554,1112,695,691,664,520,382,324,293,324,622,1056,1132,1310,1366,938,696,419,443,592,524,424,465,463,487,485,637,1158,1252,1158,879,799,1018,918,766,1017,1176,1114,1534,1904,1950,1166,891,845,957,875,929,1312,1300,1092,766,930,1136,1222,1294,1638,1748,1318,821,737,1042,1038,1001,1484,2050,2590,2296,1614,891,1252,897,758,1392,1328,756,562,628,675,621,548,456,483,511,533,519,526,491,457,412,414,430,404,415,418,409,402,400,385,379,444,595,630,601,706,701,521,439,336,370,417,408,448,448,424,453,525,529,559,523,401,412,482,599,535,441,471,378,327,365,411,496,400,313,338,311,325,344,308,328,472,642,533,403,321,350,359,480,952,1178,1198,1064,1072,953,779,1162,927,826,893,964,977,708,420,553,673,777,630,777,945,1094,1044,1252,1204,1320,1508,1326,1284,1258,1210,1118,1154,1206,1284,1336,1336,1158,1794,2238,1318,775,1164,1386,1282,1284,1408,1294,1288,897,613,432,440,506,525,521,484,560,577,739,1710,2062,1450,760,977,1304,954,595,607,651,852,1015,755,580,562,549,491,496,534,555,518,442,389,367,367,420,573,526,683,810,663,654,764,773,611,588,612,525,405,440,573,1216,1546,1332,1660,1438,1726,2388,2574,2248,1448,1282,1398,1494,1394,1376,1340,1118,1240,1406,1776,1714,1454,1346,980,942,1030,942,949,973,996,1084,1316,1226,704,543,904,1196,1246,1464,1138,523,539,785,596,585,752,850,1066,1230,1074,898,957,788,566,670,829,761,1172,964,708,503,442,423,469,579,597,526,629,741,868,739,610,702,741,1162,1060,957,1036,961,1172,1468,1648,1628,1388,1218,1382,1314,1021,1010,1316,1432,1426,1432,1376,1142,1132,1236,981,1166,1132,1368,1266,1266,1396,1448,1250,1302,1462,1476,1632,1746,1606,1216,1060,1322,1456,1388,1322,1218,1480,1632,1284,1190,1538,2156,1970,990,1062,1050,656,739,1240,1326,1202,785,388,334,341,396,524,502,409,443,477,661,1021,852,815,987,883,1048,1710,2614,2474,1308,1414,1250,1316,1100,1308,1526,1058,855,935,1074,1478,1284,1178,738,519,662,977,1002,796,981,1046,1126,1446,1332,1190,1058,1248,1356,1280,1318,1302,977,515,343,337,348,645,975,927,859,624,967,634,660,1124,1306,1404,1168,946,1132,1482,1136,971,1244,1182,896,858,731,798,1292,1340,1292,1106,972,1288,1270,996,1094,1302,1254,1108,848,1310,1184,1054,1100,1184,1238,1088,1270,1302,1264,1228,1270,1358,1560,1632,1106,709,839,1082,1172,1150,1174,1252,1276,1396,1358,1442,1272,793,614,882,1224,1318,1190,792,662,818,882,1048,978,886,1240,1180,1032,792,572,649,989,1094,1036,1102,1242,1166,1096,1286,1308,1314,1342,1246,1256,1064,834,555,646,1196,849,1013,1290,1186,1056,767,534,508,894,1028,716,481,517,1052,1536,1156,960,942,926,721,590,545,565,686,593,712,891,1002,974,728,800,940,709,794,1138,1198,1410,1200,793,962,902,828,747,945,1406,1318,1098,1036,1048,1200,1018,883,814,670,497,659,1814,2100,1394,1252,1658,1300,893,1052,974,876,1116,1158,1396,1456,1288,1222,1154,814,819,1162,1334,1172,960,954,962,1184,1230,1434,1302,1324,1274,1284,1490,1460,1230,1182,1410,1476,1162,791,869,639,436,389,480,450,988,1246,1188,1296,1526,1288,912,402,372,374,374,390,419,439,397,512,597,550,491,341,478,975,625,413,741,1034,1114,1250,1182,1126,1252,1184,1238,1052,1390,1722,1282,681,589,586,575,563,621,768,1014,1560,2056,1584,825,705,633,584,505,396,446,818,1058,1102,926,1110,1092,1152,1044,1036,1188,916,783,917,885,1134,1160,1152,1092,1108,908,758,1220,998,1252,750,412,448,422,579,805,879,908,920,828,659,403,381,457,766,869,777,823,940,788,547,490,723,1032,864,625,802,575,437,1012,1021,769,837,963,946,943,890,663,441,433,383,341,474,509,562,577,525,588,880,854,569,601,499,415,445,453,477,620,670,605,448,395,399,511,605,517,574,692,552,439,341,353,347,319,290,293,316,414,485,437,556,750,620,347,294,315,349,393,388,356,336,327,338,338,330,342,332,336,334,338,319,314,331,327,331,335,324,337,333,338,348,330,330,336,337,337,335,346,346,346,346,333,342,360,352,348,349,357,344,336,343,341,331,327,326,331,329,328,335,347,354,350,336,338,343,337,331,323,327,327,328,331,336,335,331,331,340,335,337,345,372,409,429,446,454,467,456,480,479,469,470,466,456,439,420,429,451,456,456,451,442,444,404,425,430,405,392,410,430,430,386,308,265,248,240,235,249,253,262,279,276,272,274,277,281,276,287,294,282,282,287,296,282,262,278,320,382,495,539,500,444,433,452,461,469,467,418,435,460,496,511,496,494,521,515,690,839,690,655,760,767,860,799,744,800,738,571,523,465,473,509,543,573,596,689,662,795,799,595,677,614,513,567,561,612,736,480,644,564,289,221,271,379,527,614,575,764,849,642,388,343,329,347,388,383,345,323,329,305,268,275,280,289,280,345,370,363,359,345,337,339,343,335,327,325,321,331,336,370,346,346,346,331,348,342,351,356,335,332,348,339,350,354,377,402,416,439,421,399,365,395,408,381,363,374,389,377,368,366,361,354,357,368,365,365,365,362,351,350,353,353,351,349,355,357,355,334,300,313,351,357,344,323,341,345,356,363,359,365,353,356,359,359,361,367,371,370,375,382,376,366,363,360,355,352,352,349,347,343,336,349,339,336,326,325,335,334,323,323,327,344,334,330,342,354,356,358,343,364,361,353,357,353,347,356,359,350,358,356,351,364,355,362,359,357,345,346,353,347,346,341,341,340,337,338,327,321,328,323,317,324,328,329,334,334,334,347,363,361,356,351,343,343,356,359,351,350,351,353,341,350,356,360,368,366,360,350,356,357,365,370,375,374,371,355,357,398,402,359,367,362,378,380,369,352,349,343,332,339,339,336,335,328,323,329,322,308,322,319,311,311,311,330,317,315,315,315,314,303,308,314,318,318,310,303,299,298,312,327,330,315,311,296,301,311,297,314,319,319,319,308,301,296,300,298],[558,652,555,464,493,672,651,535,586,718,733,730,837,924,1072,827,530,487,479,519,516,499,522,533,548,561,890,1134,1186,1890,1886,1050,1136,1686,1448,1446,2214,2780,2906,2956,3006,2732,1826,1236,1248,969,903,750,1106,1424,1354,1198,1054,895,758,882,817,772,768,835,828,792,792,717,669,938,1094,839,795,1112,1126,1066,1060,1630,1804,1026,444,330,346,351,359,390,422,422,451,550,512,432,521,909,1316,877,929,1258,1170,785,633,700,642,829,1010,1364,1358,1316,1384,1212,1112,1196,1380,1620,1876,1866,1834,1804,1906,1902,1826,1678,1576,1532,1278,917,771,786,589,322,339,513,645,1048,1738,1880,1830,1460,1426,1232,966,853,669,570,561,480,428,603,600,858,1092,1196,972,905,1192,1226,1194,1258,1172,1128,1040,1080,1150,1324,1262,1122,1001,863,1098,1288,1440,1424,987,664,833,678,526,710,965,1004,1100,937,706,780,902,963,949,1066,1122,1410,1636,1770,1664,1662,1246,938,841,865,1108,1416,1178,847,930,648,507,444,410,473,716,910,737,596,520,279,229,243,281,286,250,248,267,255,325,303,206,223,318,590,739,421,515,704,884,850,708,640,581,502,669,822,576,514,539,684,1144,995,683,841,1180,2014,1774,910,806,713,1004,1350,1466,1394,1240,1346,960,539,573,902,1078,1102,1332,1258,908,1124,924,578,608,774,1146,1236,1148,1138,902,574,511,506,524,451,453,660,773,814,784,885,1214,1490,1698,1476,1344,1312,946,636,651,810,579,921,1208,1236,1190,1390,1396,1432,1406,1386,1013,558,463,477,458,430,536,454,421,683,898,821,610,521,433,433,400,390,418,393,387,381,428,474,474,512,630,799,1021,933,890,1518,1396,951,901,750,585,734,1018,895,954,1126,1292,1260,1466,1228,1278,1106,1862,1606,963,1240,1310,1066,1284,1624,1140,541,451,669,762,980,1512,1442,881,747,1004,1188,1282,1124,1070,1328,1518,1322,1058,641,490,476,580,802,827,635,617,747,1160,1532,2012,1998,2266,2054,2066,1452,1516,1838,1638,1604,1654,1288,1342,1360,1226,780,573,512,576,579,554,416,317,733,1122,771,912,1032,620,563,505,586,642,619,592,612,572,559,710,604,499,436,362,401,559,752,659,564,756,984,1052,1204,1230,1332,1278,1510,1368,1244,1170,1054,681,624,1064,1304,875,829,1074,714,422,303,291,281,365,419,551,884,1490,1488,1224,877,466,641,799,661,624,522,528,500,420,562,1192,1380,1150,887,820,974,800,796,1134,1080,1434,1816,2060,1628,869,1180,1334,1212,1314,1384,1374,1174,1182,1078,997,929,1023,1134,1288,1190,1072,858,775,1164,1078,780,1084,1802,2302,1924,1100,651,1184,1202,1040,1392,1342,727,572,623,628,536,502,490,559,709,824,754,609,487,428,424,441,449,447,484,454,468,449,389,371,402,373,621,750,490,493,574,515,419,378,365,347,335,326,444,476,442,504,571,543,473,400,412,440,434,495,386,345,307,346,371,565,751,504,328,371,383,382,382,329,320,375,374,437,424,360,383,357,515,1054,1198,1620,1278,1174,859,1050,1288,1046,901,741,780,809,502,341,391,567,629,439,536,877,1078,1140,1260,1304,1392,1188,1070,1212,1252,1178,1258,1252,1332,1392,1488,1400,1192,1300,1284,1020,882,1102,1310,1154,1188,1332,1118,962,886,683,440,451,524,528,547,436,482,747,837,1660,2054,1182,606,899,1198,1086,582,463,555,949,1080,691,462,478,576,512,459,458,513,544,494,397,346,353,427,565,498,533,663,650,672,779,753,542,486,560,527,489,481,827,1438,1262,1272,1456,1346,2074,2476,2478,1994,1552,1872,1588,1448,1356,1288,1284,1176,1340,1336,1530,1498,1390,1390,1210,1174,1202,703,739,1034,792,965,1492,1324,859,861,1064,870,1242,1260,1038,749,408,417,666,759,788,1032,1132,1094,1052,755,999,920,484,469,741,795,1320,1138,633,481,425,342,352,427,424,469,624,750,691,579,568,731,719,953,992,1008,1204,1038,979,1340,1694,1542,1338,1340,1238,1202,1094,1060,1198,1266,1386,1402,1500,1458,1422,1478,900,919,937,1226,1362,1202,1266,1578,1626,1428,1396,1674,1550,1636,1714,1404,1162,1230,1494,1576,1424,1348,1326,1202,1192,1274,1546,1886,2310,1532,1226,1156,988,1288,1628,1652,1548,1438,869,473,347,305,543,655,492,559,687,800,764,612,734,963,1048,1010,974,725,643,1070,1428,794,789,1142,1404,1382,1198,1352,1344,1238,1400,1262,1224,1252,1132,963,1020,1094,860,653,650,827,1078,1148,1352,1330,1296,1350,1272,1254,1294,892,445,369,356,515,753,818,619,808,990,1162,1018,965,869,910,1026,1134,1170,1018,1294,1102,1005,1416,1454,1320,1060,1116,1128,1222,1244,1172,1066,949,680,664,615,715,1142,1114,1016,890,727,886,1182,1102,1126,1070,737,795,1052,1210,1290,1496,1572,1592,1568,1202,1074,1148,1194,1202,943,1128,1202,1174,1334,1396,1122,915,800,809,962,945,1062,1172,906,894,785,548,752,823,909,1394,1562,1260,766,642,951,1354,1294,1376,1638,1570,885,743,1104,1174,1198,1228,1124,1196,929,900,738,708,741,797,1016,849,797,780,534,637,1058,1058,650,528,736,955,1504,1978,1810,1594,1656,1500,979,965,551,348,440,415,436,576,839,693,550,586,553,426,552,920,1106,1390,1224,1100,1384,1230,918,736,1068,1368,1144,1018,1114,1146,1206,1054,1168,912,542,508,360,778,1021,1068,1450,1300,604,560,765,742,922,1019,1052,1262,1252,1116,1154,902,735,794,741,1038,1174,1204,1230,1238,1208,948,1082,1112,1130,1294,1348,1400,1230,1050,1336,1428,1288,1180,1250,1204,849,558,533,555,492,936,1410,1100,636,1030,1296,660,389,365,342,340,342,404,409,374,438,516,538,572,336,346,786,869,522,595,1006,1058,1150,1234,1222,1246,1158,1398,1224,1102,1007,1154,888,635,565,586,574,474,583,923,1496,1832,1370,869,835,760,749,692,626,606,596,832,1062,822,1100,1222,1224,1136,937,989,755,930,944,1013,1138,1074,1006,1160,1021,692,666,1290,1058,1078,734,424,411,406,523,815,869,922,838,637,702,585,449,660,966,925,760,924,1098,918,506,436,684,985,697,774,701,430,361,693,1052,862,628,835,966,893,855,822,669,538,490,473,605,572,553,722,822,730,922,1094,644,563,537,521,458,404,377,482,593,531,467,488,478,498,520,533,525,637,678,473,466,600,448,319,303,294,309,366,459,507,495,656,694,419,294,285,308,381,407,376,346,337,338,331,337,347,344,343,327,314,324,337,337,325,321,335,323,326,329,328,335,330,324,327,333,337,333,336,339,346,349,330,330,348,346,350,349,346,339,345,351,333,328,337,339,339,333,327,338,346,355,351,336,328,336,338,336,319,336,327,325,328,330,329,332,336,335,326,320,332,363,385,405,417,414,444,455,447,447,453,447,437,440,435,428,426,430,434,439,432,432,426,398,404,411,403,406,411,412,441,404,357,276,256,261,258,269,261,269,280,268,260,283,300,288,283,295,304,305,290,282,282,269,264,301,354,403,519,511,498,449,442,444,444,456,460,454,492,532,517,514,501,492,505,669,754,655,594,598,609,609,539,562,744,774,744,586,554,530,515,500,513,551,647,754,787,838,762,736,753,738,704,662,579,822,701,603,699,377,249,227,246,340,462,593,587,715,848,673,414,340,316,336,369,342,321,345,337,298,280,285,318,309,314,365,379,375,355,346,343,339,331,324,341,325,329,343,331,346,346,362,351,334,339,344,348,354,324,334,358,357,358,360,390,412,452,473,430,416,376,389,408,391,372,366,364,368,365,360,367,372,366,357,363,365,365,359,363,366,369,368,357,355,350,353,350,343,315,325,351,350,334,321,318,326,353,356,361,363,361,359,359,363,367,371,374,370,374,375,369,364,362,354,354,352,343,343,343,341,336,337,337,335,324,339,336,337,336,335,318,342,338,332,335,342,360,356,357,358,356,360,353,354,354,354,361,350,363,364,346,355,369,355,345,355,341,341,346,343,345,341,341,337,334,329,323,335,340,323,319,322,321,327,337,340,340,350,364,369,363,356,345,347,356,341,350,358,359,361,358,358,362,363,371,368,356,346,344,364,358,367,373,374,375,372,421,624,571,383,365,349,349,351,353,353,352,336,339,336,329,331,326,323,324,324,322,315,319,312,311,311,306,319,317,310,303,308,317,297,306,312,319,319,314,309,305,300,301,306,307,312,316,299,309,317,327,326,320,316,305,299,300,299,296,300],[446,481,341,360,434,658,655,466,486,514,557,695,888,1278,2070,1344,1076,1104,802,638,561,528,498,512,552,672,1009,1088,1130,1580,1696,1172,1256,1468,1318,1068,1334,2026,2678,2896,2680,2066,1462,1240,1040,882,841,967,1356,1396,965,618,783,1160,1050,1074,1078,951,694,673,725,585,507,585,634,766,926,776,645,913,858,762,979,1634,1880,1230,711,481,346,279,289,347,387,401,393,554,484,409,392,618,941,851,980,1196,797,755,994,1268,1536,1712,1512,1460,1500,1504,1404,1266,1178,1268,1518,1694,1588,1466,1500,1440,1608,1834,1882,1872,1836,1750,1560,1306,1268,1322,995,559,472,525,485,610,862,1020,887,917,1000,561,583,578,552,707,930,825,497,667,673,708,898,976,817,1012,1222,1054,1144,1100,1048,780,908,1280,1222,1050,885,927,897,1016,1316,1278,988,1124,1052,864,1066,770,470,471,782,965,745,512,509,644,910,1002,1058,1382,1662,1944,1652,938,811,895,930,893,1088,1208,1278,1586,1034,940,883,652,589,514,588,666,720,847,775,865,865,505,333,308,243,250,245,243,234,244,303,293,243,245,288,518,547,401,470,618,608,493,599,739,595,521,666,661,512,697,582,649,1188,1006,664,472,819,1958,1918,1504,1632,1003,1182,1548,1668,1396,1502,1620,1260,873,1017,1396,1240,1170,1418,1042,602,1104,1004,584,513,860,1034,1198,1440,1428,1252,1042,712,526,578,553,489,774,882,619,637,881,1104,1582,2064,1642,1210,894,548,442,656,1142,734,641,1040,1132,1092,1214,1148,1074,1278,1822,1186,541,367,318,334,354,392,441,615,836,1064,1050,740,666,658,571,452,402,408,417,418,425,448,474,550,625,545,474,749,988,1142,1484,1500,1392,1088,1074,860,654,861,938,1082,1116,1294,1350,1212,1194,954,1016,1346,1238,1214,899,855,1048,1450,1832,1054,697,600,760,958,1440,1596,1002,650,881,1318,1412,1328,1002,876,1288,1328,1208,931,631,500,568,772,1136,1350,1024,836,926,1070,1112,1238,1556,1802,1756,1256,879,1112,1354,1640,1316,1260,1218,944,1268,1062,719,542,612,896,896,520,367,323,462,596,703,1074,1018,741,580,504,651,778,676,630,717,647,689,1208,1080,633,512,379,377,724,752,672,523,576,791,965,1230,1260,1364,1394,1376,1230,1076,1216,995,586,513,852,1136,1094,1016,1001,606,416,332,307,301,365,411,671,1400,1494,995,1108,937,820,918,1050,1015,1238,1214,1092,976,920,993,960,830,1019,973,862,1002,848,988,1118,1384,1700,1976,1738,937,852,1296,1456,1458,1484,1352,1110,1126,1114,1114,877,601,598,829,909,699,801,861,678,617,539,619,675,848,1022,868,624,714,1272,1282,823,946,777,551,547,539,519,500,501,518,651,813,778,558,424,405,435,462,480,457,449,513,524,559,524,420,471,485,470,666,709,461,407,433,503,367,331,325,349,510,581,480,421,435,495,483,425,422,464,448,422,573,532,415,385,337,333,363,443,491,352,326,338,339,319,309,319,323,310,304,329,410,424,362,401,461,651,870,926,813,969,839,1100,1114,866,856,666,724,700,434,347,337,371,353,301,401,539,880,1250,1270,1354,1252,1072,1112,1230,1258,1264,1252,1258,1422,1722,1816,1710,1440,1292,1316,999,937,1046,1302,1366,1354,1116,822,736,744,662,499,527,631,570,559,493,483,680,843,1158,1106,684,777,1064,1148,1094,583,450,542,1036,929,577,399,454,493,490,511,455,456,525,516,423,348,379,461,456,423,506,659,663,695,919,818,593,625,633,510,418,491,1076,1466,1108,1346,1436,1698,2430,2484,2330,2138,1960,2052,1642,1278,1470,1622,1188,1022,1136,1242,1328,1438,1462,1230,1128,869,719,784,799,962,1030,1021,1132,1246,1148,1052,974,1106,1382,1016,935,722,486,492,728,1016,1208,1252,1130,1122,920,935,1168,755,528,481,568,922,1362,1186,798,514,484,378,404,378,379,786,740,625,538,375,480,714,846,977,1164,1194,1280,1356,1278,1374,1496,1246,1092,912,818,1080,1260,1154,1278,1308,1358,1266,1316,1522,1606,1470,1015,962,1146,1470,1334,1015,1092,1322,1584,1556,1572,1526,1478,1612,1594,1454,1326,1282,1444,1288,1322,1384,1152,1094,1148,1144,1160,1184,1246,1516,1380,1290,1476,1692,1838,1902,1338,1408,1520,849,440,305,395,522,494,600,656,617,572,594,727,877,1134,1314,1214,1028,879,989,1110,836,799,910,1056,1004,834,946,1050,1302,1240,1036,1256,1662,1900,1430,1106,1196,800,670,738,744,694,1326,1542,1152,1168,1376,1266,1222,1268,908,504,497,545,558,847,812,601,745,966,1676,1798,1220,811,779,1040,1190,946,957,1460,1070,1110,1224,1098,788,904,1136,1120,1202,1236,1208,1222,912,513,487,917,1102,1160,1174,1270,1134,968,965,1016,1210,1200,1094,1100,931,1048,1202,1244,1376,1406,1478,1486,1238,1272,1308,1242,1418,1162,1294,1332,1398,1428,1230,1000,932,865,742,751,645,1210,1390,1268,1188,800,535,726,857,901,1208,1518,1732,1394,938,905,1238,1498,1396,1488,1308,956,1112,1400,1366,1158,1028,1054,1156,1218,1288,1100,1112,1120,995,886,732,462,542,585,675,774,639,838,932,1276,1228,1842,2236,1630,1302,1488,1526,868,637,389,508,372,321,334,705,1198,976,974,1090,611,337,397,489,615,904,1058,846,1036,1446,1238,1044,1296,1282,1026,1158,1274,1116,1013,868,1144,783,373,338,385,757,1048,1188,1104,618,306,349,451,397,646,980,1264,1286,1134,1092,856,483,508,637,872,1194,1142,1158,973,957,789,793,905,987,1192,1220,1286,1424,1360,1232,1510,1300,1168,1268,1230,1286,1270,777,521,576,616,989,1366,1096,592,767,882,483,389,398,352,342,382,432,352,326,352,395,444,686,578,471,675,1048,833,725,1158,1158,1090,1214,929,614,714,1224,1086,937,636,874,973,785,610,597,650,495,523,822,1140,1396,1162,822,864,858,698,683,658,590,521,694,883,852,953,1062,1148,1026,828,725,783,848,912,1132,1015,1072,1074,1156,819,539,516,655,621,570,509,455,461,441,480,715,714,836,828,799,833,850,639,636,695,596,749,994,753,656,639,766,1044,830,670,679,459,380,358,461,843,1098,974,700,818,694,803,792,786,820,1023,1028,748,717,836,990,1062,798,642,897,739,556,513,521,447,342,317,390,451,473,538,554,478,539,530,535,512,571,733,547,494,557,424,348,285,275,287,338,426,584,647,899,826,466,321,284,298,365,409,393,355,343,338,342,332,334,350,347,338,333,332,327,325,327,326,341,336,321,322,342,330,327,332,328,331,331,314,329,333,338,343,334,335,340,340,339,339,339,338,341,343,338,343,345,339,332,330,327,329,340,343,346,347,319,336,335,331,336,312,316,329,336,328,324,330,328,332,332,332,339,352,365,388,405,408,426,440,437,435,440,432,424,446,424,404,424,429,413,413,422,426,422,412,403,395,396,415,402,401,388,402,432,373,316,267,280,293,282,294,285,267,264,258,284,284,288,295,296,276,251,256,264,263,276,295,350,390,511,520,480,444,440,442,430,435,461,465,500,521,499,535,525,493,605,796,656,578,568,568,582,552,527,545,458,489,507,513,554,589,568,491,457,557,662,774,678,385,451,571,745,804,894,865,987,1096,689,567,453,248,268,245,279,470,522,571,578,687,766,612,419,327,298,297,319,313,344,404,353,300,295,337,387,345,345,383,379,368,361,347,351,343,345,328,339,331,334,338,339,346,348,357,346,339,344,361,360,349,342,355,367,374,375,381,389,394,407,438,413,396,382,393,402,396,381,366,369,377,372,357,365,377,372,370,377,372,368,357,363,354,347,363,343,354,366,362,354,347,337,339,333,320,314,319,321,337,347,341,360,361,360,355,347,350,357,359,361,368,369,367,364,359,356,342,350,364,341,336,341,337,341,336,336,337,331,332,331,331,330,332,324,332,335,342,339,348,357,348,351,357,354,352,356,354,354,354,359,343,347,354,343,343,353,356,361,343,340,341,334,329,331,335,335,332,322,315,321,337,320,311,334,329,323,331,339,343,354,356,363,380,370,359,357,360,341,365,366,364,366,366,368,372,378,393,399,365,356,365,342,365,357,365,379,379,392,383,380,405,402,421,375,357,343,341,335,345,345,335,335,331,336,322,323,322,319,325,325,319,317,309,305,305,301,302,300,301,300,296,308,293,305,311,317,324,323,317,317,311,304,304,307,316,312,296,307,312,320,323,325,324,318,313,302,296,296,299],[450,469,389,422,466,563,624,483,502,496,499,645,1048,1524,2054,1732,1926,1822,1184,965,830,571,500,487,596,1060,1712,1616,1610,1386,1604,1478,1196,1376,1400,1148,1088,1206,1600,1826,1496,1128,1208,1208,962,802,914,1096,1036,758,502,429,506,973,1148,1272,1378,1310,1172,1082,1094,1015,730,597,535,570,605,585,495,501,493,518,800,1754,2056,1556,1272,748,374,290,325,360,392,398,316,347,364,331,406,918,1284,1048,810,735,708,1290,1738,1916,1970,1870,1828,1794,1704,1650,1554,1336,1432,1254,1616,1644,1364,1310,1454,1158,1432,1670,1670,1948,1886,1932,1942,1720,1470,1204,1084,1082,833,497,319,416,577,598,596,737,968,529,502,764,707,554,798,916,523,397,711,1054,1021,886,777,821,581,596,874,844,999,1030,1110,1308,1152,981,1042,928,653,1304,1406,1158,670,778,732,745,752,499,411,441,590,596,350,438,724,697,754,1128,1404,1770,1930,2170,1592,796,716,549,524,516,849,849,1328,1786,1482,1102,705,678,683,633,751,725,485,582,1011,1300,1080,694,439,388,279,251,279,249,244,247,243,227,243,224,246,273,298,330,368,366,368,391,496,698,616,508,569,709,646,738,646,863,1304,1086,613,472,828,1220,1388,1354,1354,1066,1388,1710,1648,1478,1720,1712,1432,1362,1192,1250,995,1094,1104,722,892,1500,1290,806,1146,1512,1166,1080,1312,1346,1554,1382,1118,698,583,470,727,1614,1742,1120,835,1224,1546,1488,1442,1338,1192,1026,671,475,767,1256,1268,832,570,735,1074,1218,868,611,990,1094,738,462,398,398,354,336,318,504,846,902,800,687,789,908,1228,810,423,386,366,405,442,448,449,463,507,564,562,466,403,773,1188,1580,1708,1576,1394,1278,930,637,664,888,850,785,1256,1456,1308,1126,697,844,1184,1440,1946,1598,1354,1754,2030,1476,970,793,629,783,1032,1454,1384,800,531,643,802,1046,1120,1120,1100,1294,1282,1152,965,765,709,851,962,1012,1200,1192,858,631,554,622,680,908,1168,1294,1084,1152,1544,1802,1754,823,831,1262,1340,1484,1214,880,566,460,803,846,488,532,500,556,438,502,891,1390,1184,619,539,744,711,719,841,1003,879,929,1278,934,620,563,361,929,1388,957,993,869,744,857,1038,1146,1278,1302,1346,1244,1052,1096,1140,704,403,540,987,1272,1132,1194,1028,691,492,372,328,365,370,430,955,1412,1232,1184,963,655,726,926,1072,1040,999,1100,1398,1516,1422,1238,890,671,925,836,966,1056,1056,1052,1230,1562,1842,1772,997,669,1002,1024,1188,1490,1670,1406,1266,1268,1210,1314,846,388,309,402,476,400,451,554,560,486,489,714,648,525,519,539,547,733,1286,1028,572,697,497,492,570,519,498,550,536,577,691,691,636,451,440,452,479,454,437,424,529,623,538,640,644,428,529,610,583,648,645,675,662,518,439,433,396,352,501,835,1116,1036,764,478,434,410,400,422,479,413,544,697,511,423,339,353,395,367,478,471,361,350,314,277,270,278,299,311,292,331,437,396,356,337,359,367,401,539,456,518,618,724,857,660,661,730,808,868,634,404,322,284,318,302,290,317,358,666,1052,1246,1368,1318,1216,1238,1140,969,1100,1232,1236,1714,1924,1654,1616,1238,1062,1158,899,810,1004,1142,1244,1244,968,761,856,762,728,541,470,451,401,473,453,438,552,661,764,678,596,739,1044,1080,894,537,455,458,565,540,462,393,407,446,586,539,422,386,437,446,392,355,360,375,417,483,529,709,709,722,780,601,455,470,513,467,469,598,1168,1294,1124,1420,1412,2126,2354,2408,2062,2828,2240,1726,1414,1334,1926,1770,1124,902,887,1064,1064,998,921,915,1082,862,825,1074,879,933,887,714,802,1138,1126,1090,1120,1356,1116,837,600,424,651,1066,1376,1360,1274,1158,1100,1066,1026,1228,1142,813,662,628,572,686,725,791,971,516,457,476,473,634,839,1190,1092,1005,727,406,549,598,714,694,931,1180,1310,1448,1386,1194,1170,1260,1208,1156,1190,1176,1350,1326,1222,1362,1294,1260,1402,1470,1524,1324,1001,908,1360,1666,1414,1132,1184,1178,1428,1502,1418,1300,1462,1564,1446,1620,1722,1622,1392,1336,1626,1674,1274,1202,1176,1116,1290,1434,1358,1252,1214,1318,1522,1876,1606,1554,1438,1510,1560,1098,736,516,391,331,451,609,508,554,598,626,832,822,1074,1206,1094,905,645,732,960,966,571,633,1009,1044,1030,1128,1128,1216,1028,778,624,1060,1456,1176,977,1074,1013,1294,1264,1046,1158,1346,952,1080,1714,1666,1310,1224,1142,706,460,484,568,426,425,561,805,965,878,841,1015,1072,874,1096,792,664,722,1238,2040,1928,1398,1042,736,610,827,1005,1228,1218,1114,1202,1118,1140,925,712,1021,1216,1148,1148,1138,1162,1270,1134,1466,1546,1266,1068,1210,1230,1034,980,1104,1160,1236,1478,1682,1548,1360,1250,1258,1160,989,1096,1260,1278,1072,1048,1064,886,832,931,824,1086,2036,1576,1078,1198,1228,1176,994,849,939,1190,1422,1384,1162,1074,867,940,1112,1176,1368,1384,1184,1182,1210,1028,955,926,1054,1122,1308,1344,1124,1001,968,745,496,513,564,1110,1272,979,876,1106,1232,1034,1048,1190,1704,1528,686,567,922,1098,1007,992,921,817,648,648,437,553,883,889,1058,1110,767,536,488,466,441,456,750,846,856,1018,1074,1058,1324,1082,914,1024,1086,960,1052,988,1010,658,482,385,606,1052,1338,1200,656,492,386,364,379,357,368,564,955,1066,924,893,416,316,375,717,1036,1130,1030,994,919,737,773,981,1094,1384,1188,1148,1062,1118,1548,1508,1340,1360,1308,1078,907,1202,1300,501,565,842,744,1338,1840,1252,730,552,428,389,429,413,356,327,352,404,351,334,353,339,376,643,675,641,918,1336,1358,1310,1522,1360,1054,487,385,561,837,1128,1182,963,658,698,843,893,617,575,643,526,526,937,1282,1614,1240,664,693,630,590,603,613,653,551,576,644,651,764,852,957,805,703,743,741,676,1060,1086,1068,1009,1240,1122,791,502,442,554,567,506,467,536,655,438,422,366,532,686,656,575,578,630,758,936,667,523,1002,1114,899,684,675,879,742,793,877,477,398,539,531,513,605,1108,1064,799,864,920,1130,880,957,1104,1112,1040,795,922,1230,1156,921,786,624,810,650,479,464,519,530,468,436,390,442,538,601,585,442,463,519,481,472,476,589,567,388,375,412,372,318,276,285,318,395,571,659,789,758,517,343,284,285,348,395,406,362,356,337,337,323,321,347,353,351,341,324,301,315,327,323,333,325,315,310,321,335,330,321,328,340,334,317,323,331,332,331,338,340,336,339,339,338,333,339,339,337,337,337,335,333,327,322,327,327,328,336,331,329,320,337,339,337,327,327,332,323,322,328,329,323,325,338,332,320,322,336,348,372,396,402,414,430,428,420,422,412,411,440,432,418,440,435,411,412,424,424,420,406,396,390,398,389,402,406,383,396,406,430,426,387,338,291,262,282,270,274,276,259,276,269,280,284,270,262,249,261,273,274,294,307,354,426,527,529,473,428,412,429,426,422,453,441,466,494,494,510,505,614,784,676,545,514,493,498,510,499,503,486,576,643,614,528,535,562,631,620,506,595,662,912,714,538,653,508,654,704,758,952,1068,938,687,510,455,386,253,256,420,668,573,351,349,514,606,603,557,390,320,293,309,312,382,400,326,312,354,374,338,332,406,407,377,369,345,347,351,347,351,332,328,324,322,324,328,334,349,344,336,332,346,358,354,346,354,372,380,381,381,402,397,399,393,415,419,412,396,389,389,388,383,363,344,354,374,360,382,368,354,363,368,371,378,363,361,357,338,342,337,338,339,342,357,351,342,338,338,323,312,323,321,336,354,347,357,357,354,347,350,367,368,359,357,367,369,355,364,359,359,341,344,357,344,340,344,336,346,338,325,336,329,312,311,318,324,331,330,330,332,347,345,336,346,354,354,354,348,347,350,353,360,358,356,359,368,365,353,344,347,347,343,338,343,339,331,322,323,331,328,317,310,310,311,340,321,309,313,319,333,341,345,350,362,374,365,377,368,361,360,365,368,365,362,368,368,370,373,372,373,361,387,381,351,367,357,365,368,373,383,387,385,374,360,380,400,377,368,378,358,343,352,349,336,336,339,325,321,319,317,314,318,319,317,314,313,298,295,296,298,301,307,312,302,296,295,298,306,313,318,325,332,330,336,324,318,318,320,320,322,289,296,298,303,309,318,323,318,312,298,293,301,306],[491,539,485,402,416,559,626,536,503,476,574,985,1888,1764,1170,1324,1868,1854,1372,1482,1340,998,697,588,739,1160,1520,1864,2104,1670,1360,1626,2048,1886,1526,1246,1124,1122,1078,1128,1116,1270,1350,1212,916,864,1076,899,611,478,449,455,418,641,1100,1318,1234,1148,965,895,1084,1158,844,580,597,600,507,451,443,378,398,460,903,1792,1912,1390,1316,756,343,281,302,290,372,370,279,264,364,387,586,977,1152,850,726,634,775,1460,1954,2020,2056,2036,1996,1910,1820,1706,1562,1534,1816,1708,1670,1400,1354,1272,1210,1234,1376,1414,1772,1842,1772,1876,1734,1772,1406,1011,897,1320,1384,814,339,567,891,993,1016,1076,1160,746,678,1015,828,527,578,551,387,282,377,730,976,713,442,435,419,485,495,494,1013,1078,1007,1284,1210,1088,1094,1058,880,1322,1338,1188,1116,1204,970,631,711,711,483,600,795,645,507,496,622,919,1150,1362,1596,1904,2088,1926,1328,988,1152,733,522,398,485,604,1404,1838,1576,902,656,588,563,586,690,630,584,669,954,1264,1286,719,439,471,323,257,266,271,249,254,271,240,288,276,262,282,296,268,304,415,610,553,411,548,603,503,500,701,691,563,672,1056,1146,847,521,446,942,1340,1210,1172,1180,1294,1316,1606,1642,1216,1252,1550,1788,1346,857,830,838,778,618,614,1156,1814,1534,1354,1720,1382,1156,1392,1376,1242,1420,1794,1418,775,464,779,1534,2056,1770,1206,688,861,1306,1370,1432,1356,1432,1278,1010,741,735,1272,1526,1003,607,1134,1286,1074,630,413,789,828,542,380,436,464,392,413,433,666,799,830,716,510,648,831,974,665,449,386,360,396,412,433,441,477,469,490,554,549,448,500,873,1230,1102,1112,1152,1184,837,693,1054,1162,1050,1054,1426,1448,1074,843,641,1013,1484,1394,1360,1484,1684,1816,1770,1122,895,803,633,700,844,930,760,658,823,1148,924,846,1070,1396,1248,923,1040,1094,1050,1056,1122,1172,1174,1188,1134,1302,895,578,581,608,631,569,726,1136,1520,1728,1526,1530,1398,992,986,1170,1166,1128,1090,1054,912,532,478,446,488,702,765,663,444,460,805,1132,907,556,781,1036,738,900,1076,1294,963,833,1230,1228,823,576,465,631,651,760,1044,1098,899,727,1068,1166,1180,1316,1278,1026,980,1382,1598,910,704,1034,1368,1972,1462,1266,949,575,371,311,273,280,311,594,1394,1584,1408,1234,709,466,567,645,771,691,678,927,924,1001,1154,1312,1334,1064,1162,839,966,1384,1238,1136,1512,1878,1946,1166,672,714,947,977,1418,1554,1588,1296,1468,1412,1150,909,467,347,370,535,543,379,300,314,464,482,526,659,656,590,539,543,555,545,730,514,430,479,480,506,540,455,451,499,449,521,613,521,530,486,480,485,470,445,471,463,549,602,562,606,601,492,877,948,779,817,848,875,752,525,465,555,473,407,564,642,751,969,966,507,366,433,411,387,408,427,606,681,450,475,368,388,403,378,511,604,535,395,307,284,289,301,325,345,302,360,660,464,395,354,313,333,505,576,486,449,422,497,444,434,449,604,843,750,535,383,312,314,303,262,286,302,321,871,1478,1302,1154,1170,1144,1208,1078,1076,1354,1322,981,1098,1212,1350,1736,1206,879,959,872,1028,1286,1166,1172,1164,913,620,827,738,754,583,438,383,413,474,473,484,521,610,756,713,641,692,775,760,623,541,531,518,465,488,450,442,457,598,767,558,383,364,391,396,383,412,410,383,433,553,425,469,503,537,486,413,364,363,376,419,471,787,1334,1007,993,1276,1936,2314,2346,1938,1912,2266,1764,1358,1164,1448,1628,1336,1158,1122,1118,1012,746,996,1082,860,868,869,1308,1378,943,995,1028,861,1170,1268,1080,805,1062,1322,1028,731,468,447,596,993,1304,1100,1176,936,942,980,1150,1272,1056,731,648,700,727,575,585,775,1166,685,472,531,526,968,1162,979,1322,1532,822,446,487,381,464,560,738,1108,1308,1450,1306,1026,1112,1286,1342,1202,1092,827,1228,1388,1358,1234,1382,1500,1500,1498,1382,1216,977,1334,2054,1822,1432,1202,1060,1070,1390,1522,1390,1106,1016,1298,1502,1584,1632,1696,1518,1524,1710,1816,1482,1390,1292,1242,1410,1462,1302,1040,1056,1318,1420,1526,1622,1408,1332,1468,1446,1220,973,973,742,467,577,672,495,628,555,491,655,832,1156,1322,1194,794,417,548,915,751,717,943,976,970,1230,1184,1324,1282,1140,998,761,1180,1318,1268,1240,1282,1282,1362,1304,1058,1144,1026,739,1378,1880,1340,1036,1058,1118,698,443,386,433,441,390,602,1058,1304,1160,858,955,967,1162,926,433,601,747,1148,1618,1390,1062,1254,803,802,1212,1284,1026,912,1128,1068,825,1092,1308,1092,854,1136,1240,1162,1021,1190,1172,1204,1328,1330,1068,1062,1284,1130,1026,953,1048,1190,1290,1548,1602,1310,1132,1130,1308,1296,1230,1272,1378,1172,1170,1130,1126,896,1108,1164,1004,1088,1124,662,704,1094,1180,1130,1038,1028,1324,1302,1230,946,885,1040,1216,1342,1298,1418,1078,1102,1272,1554,2298,1596,1158,827,852,1138,1232,1274,1060,894,902,654,404,473,660,1246,1092,1050,938,739,963,999,1170,1392,1898,1566,849,638,485,489,664,1108,1001,547,622,757,476,445,473,487,469,480,679,659,553,488,484,495,952,1302,1017,999,1220,1136,1096,1032,1002,1172,1264,1290,1302,1272,959,750,880,743,969,1110,1106,1296,1006,636,421,393,368,401,391,373,497,735,951,976,529,377,569,860,930,1124,904,998,1222,869,792,970,1021,1500,1010,1050,1022,1112,1106,1230,1396,1394,1328,1120,841,837,735,789,1070,1766,1216,1360,1356,993,625,421,373,441,425,394,423,402,332,305,300,283,319,334,398,525,617,786,910,1013,1316,1396,1216,1052,836,589,868,1158,1158,1176,1350,1242,746,547,702,979,638,557,596,529,505,745,832,1112,1112,580,592,664,735,786,760,856,646,511,587,660,738,914,940,778,800,881,728,932,1114,1158,1124,1076,1096,960,840,589,450,514,487,393,512,1042,1066,695,489,436,522,639,711,616,693,681,904,1058,922,607,780,698,707,948,879,750,547,719,699,352,439,891,965,858,875,1154,984,896,1052,1210,1102,876,807,866,1048,965,902,918,1005,937,698,733,833,867,637,404,429,583,756,763,513,416,462,532,590,587,546,549,568,566,518,433,462,550,503,448,497,467,376,310,318,350,344,436,586,792,896,677,399,303,287,325,343,398,379,355,346,328,320,339,358,350,338,319,331,329,319,329,323,323,326,318,313,314,323,320,319,313,336,326,316,321,326,332,338,338,338,328,346,337,339,341,341,345,336,327,331,326,325,323,320,313,307,311,334,347,336,332,333,348,344,333,335,328,324,321,316,330,330,336,350,345,336,326,329,342,357,376,397,402,413,436,428,427,426,427,437,434,416,416,421,420,409,401,418,420,410,394,390,385,387,398,398,392,390,393,409,443,451,430,351,274,267,251,269,274,269,272,267,265,274,296,299,269,284,284,269,292,314,378,480,525,511,464,424,406,412,424,438,449,434,461,493,484,478,491,548,555,568,578,494,433,429,441,376,438,484,503,703,791,684,669,623,654,732,709,755,790,734,561,672,728,576,679,780,808,950,959,739,540,508,724,634,317,307,527,569,443,360,265,380,486,751,941,508,330,318,297,336,409,377,279,309,439,382,315,389,411,393,353,379,369,355,356,350,341,332,331,322,321,315,322,318,322,334,334,332,343,363,382,387,387,387,394,412,397,386,397,404,415,440,453,438,410,392,383,390,404,386,346,364,392,382,369,366,351,346,363,372,370,372,368,357,346,347,347,351,347,350,349,351,354,337,339,328,302,302,314,332,345,360,368,377,366,351,354,359,357,361,363,371,376,351,359,357,359,353,347,344,336,337,350,340,344,337,326,327,327,328,331,333,331,331,331,329,332,345,349,349,349,342,355,351,342,348,350,350,359,359,350,338,353,359,353,350,350,343,336,336,325,322,337,325,328,323,322,322,325,317,316,320,329,319,317,326,341,343,339,336,359,378,366,364,361,360,361,356,361,361,365,368,366,368,373,368,365,362,379,369,357,365,372,374,372,376,377,373,364,357,357,364,353,343,345,336,349,361,350,346,339,325,336,333,318,319,312,312,314,313,308,303,298,301,309,285,293,295,294,292,293,300,298,304,311,320,318,318,341,337,325,313,312,315,318,316,307,316,310,304,311,320,318,315,310,299,301,294,294,300],[357,447,451,420,422,670,924,763,573,508,713,955,1532,1578,1060,1100,1216,1338,1880,2038,1588,1572,1448,1118,1042,1192,1354,1622,1906,1702,1596,1834,2214,1954,1500,1314,1156,1106,1138,1136,1250,1432,1516,1362,957,896,863,567,464,452,453,443,430,473,761,1012,902,789,601,438,563,808,839,681,596,529,454,449,460,439,392,513,932,1466,1566,1178,1482,1160,559,355,364,382,363,318,262,283,360,419,890,1274,1284,1122,943,1066,1170,1456,1878,1996,2020,2020,2082,1948,1896,1860,1628,1710,1728,1722,1546,1364,1134,968,1044,813,884,1284,2002,1642,1572,1506,1164,1336,1470,1318,1202,1460,1622,1430,1023,1316,1496,1584,1660,1704,1436,857,871,1130,894,639,501,332,284,223,304,439,623,527,407,360,427,507,490,421,371,387,638,1228,1304,1128,1198,1450,1256,918,802,1076,1110,1066,1096,883,1208,1110,683,677,985,799,769,711,693,1068,1252,1446,1692,1344,987,880,827,1060,1198,655,353,379,381,393,467,865,951,694,750,792,503,462,514,523,495,750,833,1192,1386,837,455,441,405,796,779,466,365,470,358,400,437,333,336,351,320,327,411,643,879,901,576,534,538,527,494,699,750,576,838,1136,885,829,570,624,1170,1438,1244,1262,1452,1248,966,1386,1856,1508,1116,1060,1146,672,399,322,458,408,670,817,1034,1362,1394,1534,1458,1052,1244,1532,1340,1194,1194,1160,723,550,564,904,1590,1808,1009,591,397,519,1005,1334,1432,1206,1322,1440,1338,1094,1164,1470,1352,999,702,1172,1558,1168,639,627,1046,855,408,339,389,457,566,536,630,783,651,602,526,467,525,628,672,580,569,602,541,421,358,368,389,438,453,438,460,525,574,492,528,749,1003,1298,1456,1318,1212,973,1202,1310,1282,1164,1288,1328,1038,1054,1013,1392,1376,1116,1000,1068,1432,1138,764,719,811,779,684,650,716,831,1001,768,1090,1454,1122,846,1284,1696,1350,1324,1498,1246,988,696,858,1170,1364,1180,1142,1384,1088,637,594,589,688,966,1316,1654,1638,1426,1086,996,1178,1206,1092,1280,1350,1214,1334,1252,954,910,815,713,744,952,1002,712,430,586,799,629,469,440,817,1042,951,946,1094,1324,1048,894,1170,1094,724,536,433,420,631,772,951,1084,907,1020,1338,1354,1328,1260,1056,1032,1064,1178,1188,1124,1104,1108,1256,1484,1670,1586,1114,781,544,368,311,302,386,623,1102,1000,940,872,529,424,519,605,724,741,874,1048,947,985,1168,1736,2066,1600,1432,1160,1090,1166,1120,1462,1798,1982,1380,905,1182,1140,797,774,1204,1406,1422,1200,1274,1306,1082,742,424,334,401,505,521,507,389,334,454,516,487,516,547,545,531,529,552,497,435,403,364,405,448,479,472,393,379,444,422,433,481,476,490,442,470,458,420,461,547,582,665,606,572,630,617,661,803,840,877,902,719,519,467,458,455,468,394,437,725,751,784,708,661,552,482,417,408,433,405,466,634,669,520,458,387,428,417,437,482,581,597,426,317,339,365,378,394,394,354,455,571,417,377,371,383,542,569,512,521,432,430,415,432,526,581,583,654,677,599,544,614,633,436,451,454,526,535,1278,1656,1388,1040,744,1010,1394,1156,944,1066,1212,893,1122,1338,1210,1796,1454,944,991,1116,1456,1560,1200,1064,1188,1162,1042,912,736,744,598,398,421,453,487,540,643,639,626,663,590,439,429,439,493,611,652,657,641,595,626,520,534,549,624,680,479,379,426,435,460,651,655,484,395,456,469,453,469,592,563,460,409,448,471,465,474,572,1042,1376,1008,1016,1600,2250,2344,2140,1606,1750,1710,1376,1328,1922,1698,1350,1296,1378,1412,1324,821,452,626,954,1152,1148,1410,1556,1324,1416,1170,913,882,1384,1260,1216,1158,1262,1252,1102,911,737,569,420,604,1020,1010,968,735,899,1158,1114,946,625,662,766,567,705,572,618,789,1156,944,634,621,757,843,941,1316,1702,1108,625,471,433,563,607,779,1042,1100,1282,1590,1558,1518,1312,1220,1250,1224,1254,941,1252,1392,1450,1396,1426,1484,1516,1510,1394,1310,1170,1494,1796,1700,1510,1526,1316,1226,1422,1570,1476,1160,781,1170,1624,1620,1390,1376,1540,1444,1538,1700,1610,1416,1216,1204,1288,1232,957,835,990,1406,1556,1378,1600,1488,1520,1572,1386,1366,1172,1132,743,771,780,601,452,523,489,453,465,453,698,995,821,516,416,480,682,604,1048,1266,957,980,913,760,1007,992,1052,1146,1136,1780,1432,1130,1198,1326,1326,1382,1392,1126,1054,1144,761,947,1012,889,777,753,1102,1004,572,350,364,404,478,832,1184,1192,1236,653,713,1162,1180,652,547,879,1088,1036,1130,1208,975,1462,814,805,1058,1120,1018,924,1086,1134,991,1030,1084,1186,926,1112,1228,1302,1062,1114,1180,1242,1232,1368,1184,749,662,842,1136,1052,1170,1172,1362,1638,1476,1080,1010,1224,1512,1570,1520,1406,1160,999,1122,1344,1216,1230,1378,1246,1076,1214,1056,584,688,1248,1312,1298,1238,1268,1698,1324,951,917,780,891,1202,1426,1378,1486,1116,1238,1448,1534,1836,1562,1196,703,881,1134,1046,1070,866,989,979,662,596,496,587,925,709,702,925,1136,1466,1106,1474,1880,1802,1714,1370,889,634,517,415,582,793,808,763,1074,990,496,390,419,394,990,1216,814,656,656,739,693,737,742,657,1066,1280,1274,1290,1396,1376,1126,963,1296,1426,1272,788,601,846,1004,1168,1066,869,1268,1372,781,359,343,314,383,435,391,656,907,1218,1122,816,499,731,886,924,1124,1130,1216,1124,779,456,612,746,910,805,927,1204,1454,1044,836,1322,1440,1338,1218,743,523,466,523,1046,1576,1054,688,785,661,347,397,457,452,381,404,559,595,397,295,266,265,319,385,427,422,597,1042,873,739,1048,1218,664,648,805,870,1068,1136,1007,1184,1356,1532,1090,595,607,943,761,595,539,513,505,544,637,1116,891,546,528,572,786,731,667,813,758,544,465,548,599,619,674,769,827,857,859,1078,1116,1188,1090,1056,896,802,783,584,433,518,482,469,974,1488,1396,1074,739,736,658,583,636,891,1002,1030,1058,1007,915,846,861,661,841,1260,1234,1076,865,894,667,407,401,859,964,680,657,871,1042,1046,891,808,664,647,577,683,907,1266,1196,1002,808,762,723,742,841,792,699,430,480,587,707,716,525,459,471,504,529,547,562,556,575,599,507,392,422,469,613,491,497,499,427,362,323,374,397,414,541,773,758,676,494,390,330,313,321,404,416,376,350,338,332,336,347,344,338,321,336,324,310,327,328,326,318,314,316,316,322,317,321,313,326,328,318,323,325,322,330,328,338,336,339,332,336,342,320,327,339,340,340,337,336,324,328,320,325,327,336,362,354,346,344,342,346,340,349,343,343,328,322,328,327,327,330,334,336,327,325,334,353,390,404,400,413,440,428,425,420,422,426,412,400,402,410,410,402,404,410,412,418,394,385,383,385,392,396,392,396,384,383,418,432,443,428,325,282,272,281,294,284,277,283,297,299,305,297,267,260,269,283,312,353,443,508,513,531,482,424,415,427,410,421,451,455,456,479,492,473,483,511,528,538,554,532,449,402,384,421,506,529,570,690,637,487,585,701,782,1324,1082,816,758,455,300,364,353,385,551,739,934,885,657,625,621,472,628,546,285,331,501,397,325,310,254,389,358,659,782,438,290,320,314,312,356,356,277,298,393,343,301,374,398,390,368,382,367,343,350,339,336,339,327,322,324,321,315,317,325,334,338,343,355,377,391,385,384,392,400,412,399,408,399,391,400,418,430,428,406,384,399,408,404,384,344,360,389,392,377,368,358,356,365,372,372,372,372,365,360,357,345,360,364,351,348,343,346,326,342,345,325,316,330,333,343,360,368,355,339,346,357,351,357,357,355,363,371,359,350,362,369,362,354,343,331,332,342,349,345,338,334,328,331,335,339,335,330,331,331,331,332,342,349,351,342,348,357,351,336,338,339,358,354,356,360,334,354,350,348,346,338,333,336,335,323,320,321,320,324,323,323,323,323,317,309,329,336,323,328,329,336,338,344,362,373,377,375,364,359,361,361,353,350,357,360,361,365,379,368,374,375,375,371,363,365,369,361,362,365,372,369,362,355,349,354,357,352,349,343,340,341,336,343,339,338,325,328,321,315,312,312,312,307,307,306,301,284,299,287,294,294,293,294,293,299,301,307,316,320,320,329,319,339,344,326,331,334,328,320,316,320,314,306,304,288,300,304,314,320,331,320,300,294,294],[349,366,398,471,518,828,1312,1372,1021,935,1032,847,1252,1730,1582,1422,1244,1222,1244,1300,1290,1960,2090,1648,1400,1504,1548,1334,1428,1422,1584,2218,1834,1954,1664,1246,1038,903,966,988,1190,1506,1568,1382,1168,912,615,454,433,481,469,417,414,354,547,914,859,839,753,526,484,792,1016,674,467,430,379,491,486,486,524,786,1132,1510,1652,1946,2302,1748,886,461,454,474,433,376,316,272,293,324,709,1218,1444,1516,1244,1072,1018,1086,1442,1800,1942,1934,2012,1918,1834,1670,1504,1678,1738,1470,1284,1360,1012,717,639,631,991,1448,1508,1384,1474,1094,619,607,897,1196,1424,1328,1274,1548,1732,1974,1860,1882,2050,1770,1262,847,814,830,651,727,620,415,368,305,394,465,392,401,435,435,398,426,428,429,344,348,452,1092,1472,1378,1542,1516,794,361,407,596,826,890,825,875,1150,910,1500,1084,806,832,869,915,1002,1296,1660,1786,1484,844,664,551,540,700,657,426,316,372,407,408,392,466,582,724,1274,1454,978,916,1092,783,572,751,1026,1500,1444,869,753,844,833,1410,1476,1086,1106,1128,788,795,780,517,425,444,357,357,395,523,546,536,649,660,483,448,394,540,745,658,964,1218,806,844,652,1052,1436,1516,1338,1448,1506,884,446,836,1556,1418,1104,976,720,428,356,265,322,402,664,1002,1216,1354,1500,1424,1272,1204,1054,1332,1294,874,1120,1224,721,496,455,577,896,952,1009,836,719,732,1212,1754,1850,1432,1028,1130,1152,814,966,1046,1064,1096,967,1302,1576,1266,1166,1374,1338,735,524,668,523,399,579,610,662,572,549,623,493,382,451,558,628,531,556,665,768,744,472,392,393,404,431,420,393,451,560,599,552,503,825,1017,1166,1112,1324,1346,1336,1164,976,578,803,1434,1412,1260,1226,1462,1102,959,1038,1296,1332,804,482,566,714,766,722,688,771,724,684,714,818,1015,1003,736,944,1366,1322,1194,1015,945,1040,868,684,852,1112,1046,1214,1534,1366,803,610,870,1282,1376,1362,1510,1124,979,1070,917,845,1136,1110,1166,973,888,1376,1372,1118,846,899,910,1084,1326,1254,861,488,687,1026,766,548,773,858,1278,1338,1124,1192,1262,1040,952,1148,1050,785,666,684,704,1228,1036,845,1088,1276,1426,1466,1288,1003,825,977,941,1090,1310,1512,1632,1522,1190,1188,1252,1444,1442,1196,1152,938,561,368,395,396,402,423,434,762,803,569,763,816,713,707,666,1030,1622,1560,1038,1150,1294,1378,1162,990,1038,850,897,1368,1732,2024,1592,1088,1090,1476,1240,832,908,1082,1228,1362,1238,1500,1310,905,700,457,364,458,547,589,712,601,390,547,698,521,533,527,497,513,538,500,421,380,362,372,428,428,425,400,380,357,408,382,420,459,492,513,468,429,406,393,524,869,919,1352,1644,1518,1372,1072,951,930,921,951,859,594,474,477,424,412,498,498,435,807,851,774,802,812,784,794,794,755,644,689,720,597,552,492,503,684,673,552,481,328,390,591,466,346,339,324,333,344,358,361,357,359,356,385,373,521,926,728,451,423,412,420,434,534,539,522,537,545,543,573,573,591,646,656,625,560,634,618,616,774,970,877,662,829,1218,971,578,670,962,829,1192,1216,980,1040,948,752,705,898,1174,1072,929,971,1188,1320,1050,780,720,737,713,634,536,544,554,527,543,525,499,466,394,367,474,499,451,523,561,666,692,708,669,675,670,703,703,623,534,606,680,522,676,866,690,465,411,469,451,576,580,480,489,480,552,688,688,641,583,611,1058,1162,1158,1360,2060,2334,2244,1792,1656,1772,1736,1366,1432,2172,1820,2038,2680,2314,1584,1100,606,364,455,929,1246,1214,1094,1160,1246,1412,1024,650,941,1234,1146,1196,1350,1350,1013,941,642,422,362,393,701,932,865,1094,1044,929,974,780,706,946,1252,1284,868,723,701,673,731,901,1102,1226,886,746,581,705,901,772,524,886,1008,782,908,1106,1298,1202,1122,1314,1426,1392,1428,1224,1384,1596,1494,1384,1378,1524,1682,1556,1438,1616,1592,1542,1572,1570,1444,1268,1316,1452,1510,1560,1488,1416,1408,1344,1268,1174,1168,977,1234,1488,1450,1448,1346,1484,1584,1674,1742,1496,1384,1240,1220,1324,1030,764,914,1134,1464,1546,1546,1646,1498,1230,1332,1286,1212,1266,1040,789,1158,1214,856,572,500,472,436,396,382,420,455,429,423,469,435,474,518,1448,1758,1148,1172,1086,666,580,780,623,576,899,1532,1470,1254,1362,1426,1486,1484,1178,1124,1072,977,905,884,1084,1170,808,717,1080,1020,553,350,379,421,525,876,1184,1290,1208,566,325,480,680,952,1128,1322,1604,1180,1136,1160,633,888,890,817,961,1080,1202,1166,1132,1262,1254,1076,1182,1196,921,943,927,1156,1194,1272,1210,886,890,1272,1158,666,559,808,1096,1190,1272,1390,1560,1690,1536,1376,1374,1238,1328,1496,1706,1430,960,836,912,1028,1110,1368,1498,1320,1146,1348,1328,947,917,1060,1092,1078,853,852,1202,956,820,1038,937,1100,999,1234,1222,1246,1078,1250,1190,1232,1524,1336,868,827,1086,1032,948,891,930,1286,1284,1032,1004,675,491,973,1144,832,1158,1328,1532,1512,1568,1394,1268,1086,1066,1054,930,706,531,517,841,742,564,777,964,802,1388,1866,1482,1512,1260,769,626,868,1262,870,353,376,608,1072,1220,1212,1132,971,1104,964,625,863,1178,985,788,868,1038,1148,1170,1078,1066,1032,772,648,598,469,393,494,534,469,773,959,913,787,795,608,490,557,650,866,1012,1146,1142,870,437,584,797,1142,1142,959,1004,1344,1416,1098,1010,1468,1358,1098,893,927,1256,877,625,951,987,865,846,841,554,460,403,473,472,507,596,644,455,298,293,324,402,452,456,445,750,1466,1106,854,949,1128,730,458,852,1046,967,1200,1218,1286,1240,1854,1444,677,488,773,957,757,556,582,483,499,758,1338,811,676,592,549,867,1023,919,767,777,663,542,533,609,623,636,628,641,581,662,771,1021,1188,1036,877,641,619,789,577,590,624,519,883,1184,1290,1566,1384,1026,934,832,718,630,878,741,968,1148,1007,1012,1208,1266,850,711,951,894,832,1005,951,808,534,498,583,549,472,409,383,763,1190,878,694,580,727,980,985,903,1436,1350,1208,1038,793,722,666,814,876,816,524,461,484,514,521,486,461,461,493,536,541,556,576,601,633,462,339,320,357,578,565,547,548,515,468,350,362,398,395,508,527,519,561,538,461,359,303,318,372,397,389,361,357,358,331,331,336,348,337,336,336,329,329,327,325,309,319,316,313,319,321,324,317,319,324,322,324,327,319,332,339,318,332,334,331,327,328,319,322,330,325,325,341,350,328,337,329,320,324,332,352,340,326,326,335,364,365,360,366,364,330,320,330,330,325,330,343,347,330,329,336,345,374,385,397,410,428,434,422,404,411,420,416,420,423,414,387,392,401,389,402,418,403,384,372,372,386,392,379,404,392,375,390,415,432,443,412,349,292,309,319,304,292,307,319,307,287,272,276,290,334,347,357,408,473,494,500,477,461,416,403,393,396,435,451,439,435,445,438,448,469,490,473,460,548,573,509,415,389,412,452,519,594,590,550,475,576,750,667,1260,1688,1324,702,445,328,345,451,485,450,722,1036,962,720,568,496,565,584,419,274,342,524,432,385,290,248,241,210,508,588,362,283,306,306,296,318,328,290,370,559,425,280,342,382,364,372,365,363,356,345,339,343,343,322,338,343,325,328,330,338,344,359,366,368,375,383,384,383,398,408,408,412,399,387,395,402,392,416,424,404,379,385,392,383,387,383,377,372,376,372,364,363,369,369,365,377,375,368,364,369,368,351,351,360,360,358,348,343,345,360,342,333,339,319,320,335,357,364,348,333,351,366,360,346,338,348,354,357,360,360,363,354,362,345,338,337,332,337,351,347,340,337,344,340,334,344,335,333,335,336,331,337,343,349,345,342,345,345,343,344,336,332,346,348,354,365,356,335,344,354,344,327,322,336,323,316,330,304,306,312,317,322,323,323,321,313,323,334,333,334,335,336,342,353,357,368,379,379,366,361,370,366,356,354,348,351,357,354,378,373,372,367,362,362,362,377,377,372,381,375,365,363,363,358,359,360,352,350,350,346,339,331,338,340,333,327,324,324,318,311,305,309,310,305,300,300,297,283,296,288,290,293,294,292,297,300,301,309,315,318,307,328,320,332,361,364,359,337,319,321,327,327,325,323,302,318,298,304,322,326,325,312,303,297,294],[489,436,455,494,553,901,1404,1646,1474,1338,1128,725,1012,1536,1824,1710,1438,1418,1278,721,647,926,982,1134,1104,1424,1550,1500,1624,1530,1252,1596,1460,1772,1594,1050,977,811,812,941,1182,1310,1288,1034,838,567,462,453,436,451,424,392,447,618,868,1128,980,855,792,713,657,729,678,460,426,476,509,571,449,472,582,1002,1428,1626,2134,2128,1744,1626,1212,618,477,556,476,408,381,281,306,397,509,968,1428,1460,1310,1192,1116,891,1012,1562,1878,1882,1866,1814,1672,1214,1128,1426,1366,1270,1302,1168,1004,776,568,1134,1130,1212,1362,1460,1448,905,756,1310,1021,957,1092,1300,1566,1742,1924,1698,1376,1476,1842,1722,1120,783,683,535,503,443,401,404,352,234,489,612,676,727,507,522,442,430,383,405,405,395,509,1072,1664,1532,1232,882,412,394,362,390,575,751,592,651,1016,1224,1924,1576,951,823,987,1192,1324,1784,2084,1534,722,466,545,481,359,337,392,347,316,456,455,400,419,591,864,904,1484,1496,1320,1192,1190,1062,865,610,884,1208,593,465,733,903,728,583,1054,1340,1700,1712,1372,1372,1170,839,610,593,413,339,344,415,539,569,834,835,586,415,401,438,690,991,1352,1228,1254,1218,995,1176,1608,1626,1426,1554,1574,1118,469,666,988,1026,839,799,573,390,320,341,566,749,1156,1518,1496,1460,1378,1146,1260,1366,1290,1040,626,478,881,1038,661,422,452,727,1092,1500,1682,1554,1194,948,1236,1504,1212,645,569,644,1005,1434,1358,1078,1216,1444,982,841,1124,1278,1548,1418,1194,816,808,907,556,356,455,747,797,595,521,478,388,362,408,544,691,578,423,390,658,769,621,474,420,426,435,419,380,374,431,539,526,583,588,738,748,921,1238,1176,909,604,750,541,473,847,1600,1206,1490,2020,1592,1322,1436,1622,1570,1358,771,729,792,800,755,713,699,568,451,593,850,1010,1156,1144,993,1302,1190,1009,1036,1066,1108,1080,788,672,792,799,1344,1382,1422,1222,1164,1614,1770,1372,972,846,1064,1238,1398,1344,1017,1060,809,667,729,537,864,1246,1440,1136,735,695,787,929,1164,1084,803,518,395,358,520,1064,1224,1538,1626,1410,1372,1216,905,1007,1344,973,811,720,974,1260,1592,1302,937,1066,1230,1592,1400,858,714,888,1012,811,1334,1476,1158,1094,1246,1216,1142,1400,1530,1056,1036,1290,1438,1186,619,413,382,394,457,633,1002,921,933,1646,1572,959,687,503,981,1530,1202,990,875,851,1272,1038,588,696,796,1188,1670,1904,1914,998,753,1218,1388,1198,1082,1194,1318,1368,1016,894,990,927,998,1174,815,426,424,562,587,555,613,548,594,554,493,554,534,521,533,525,490,419,383,399,419,476,475,464,434,403,386,415,379,368,409,466,443,374,382,399,393,652,1360,1534,1704,1544,1370,1408,1180,879,814,813,767,651,445,414,467,408,405,415,419,476,785,915,922,882,827,843,830,844,822,1112,1002,727,896,984,581,346,542,607,570,576,399,420,463,448,416,383,353,399,442,442,437,402,380,359,361,373,502,1013,814,477,386,414,406,452,576,539,514,559,662,670,677,593,514,535,526,510,503,568,600,551,567,628,675,662,731,971,939,901,938,997,1108,991,654,625,690,738,588,636,856,732,642,593,841,918,975,847,636,637,642,745,800,761,808,698,594,592,565,578,573,483,413,462,496,439,452,480,688,713,688,618,594,650,730,747,703,729,970,975,704,712,699,724,574,463,445,485,577,543,533,477,422,565,614,503,577,661,895,868,778,1148,1814,2276,2332,1992,1658,1974,1654,1532,1266,1426,1552,1476,2094,2578,2100,1374,698,410,368,606,1114,1270,1116,816,943,1010,1084,891,650,965,1228,1066,1248,1454,1134,955,866,623,409,388,467,854,994,1006,1334,1204,962,742,831,1118,1312,1184,1264,931,730,768,730,843,912,1020,1254,599,595,642,766,799,658,682,828,764,880,972,1272,1492,1504,1262,1306,1372,1316,1276,1346,1990,2046,1240,1150,1428,1476,1612,1750,1674,1910,1762,1506,1538,1626,1526,1478,1536,1560,1626,1524,1412,1560,1404,1402,1164,916,1084,1252,1484,1534,1470,1466,1404,1510,1826,2136,2026,1486,1650,1394,1346,1424,1144,735,695,1176,1644,1444,1278,1670,1894,1238,1062,1084,805,888,1066,1216,1358,1418,1208,901,726,591,443,361,379,435,376,420,513,503,455,445,677,1300,1298,1162,1242,1368,1196,1024,934,832,691,814,1042,951,1062,1224,1094,1062,996,1060,1330,1222,1296,1440,1140,1434,1632,1150,849,926,850,512,352,400,581,845,1138,1388,1320,1202,755,380,337,477,743,901,1132,1432,1074,1104,1076,906,866,678,622,1172,1426,1246,1230,1390,1432,1350,953,1036,1023,932,1010,1076,1296,1510,1476,1030,583,752,1138,1078,981,967,1052,1100,1276,1438,1502,1596,1664,1562,1486,1274,1040,948,1234,1376,1160,1234,1034,665,707,1104,1328,1406,1228,1334,1502,1562,1578,1144,841,987,719,514,772,784,574,658,1042,1064,1164,1224,1382,1344,1564,1504,1322,1086,1156,1482,1068,919,1172,1110,968,825,870,1028,1120,987,780,772,727,615,1054,1426,1070,1202,1470,1676,1574,1394,1200,993,1019,1210,1186,1062,938,987,1064,1278,1116,836,706,872,1246,2464,3418,3002,1318,965,781,529,416,493,426,348,323,623,1016,1074,1074,1064,954,1172,1086,868,1054,1282,873,839,706,638,883,1158,1314,1476,1354,756,905,908,807,918,796,784,714,422,443,436,458,748,955,792,541,877,1054,967,932,1136,1102,730,653,868,1180,1136,987,966,1200,1202,1050,905,1186,1448,1098,788,1001,1594,1224,717,1170,1326,1302,1098,1156,636,534,498,510,545,651,594,496,437,410,518,462,461,462,454,544,1070,1648,1144,725,773,1060,1042,436,651,951,745,1262,1462,1390,1536,2156,1896,980,389,582,901,762,414,632,539,531,1168,1110,918,1001,987,1242,1684,1632,1148,749,728,706,583,599,645,694,698,789,803,666,662,641,722,831,878,546,474,502,865,789,739,662,1122,1464,1130,1174,1114,1260,1384,1000,855,882,827,694,527,656,1009,1178,1172,1122,1140,1138,857,729,597,683,780,853,814,728,519,327,496,658,648,515,616,1054,911,833,826,1108,1324,1172,963,1082,1262,1296,1064,788,667,678,738,706,746,604,450,593,698,550,482,473,490,532,557,604,604,613,761,727,452,307,322,406,602,694,662,595,483,439,357,320,338,436,541,502,563,542,495,464,380,313,298,320,379,416,386,375,367,331,320,333,343,339,339,339,339,334,328,333,332,328,319,314,318,319,317,320,325,323,323,314,315,318,317,328,318,322,323,325,316,317,324,331,324,320,326,332,344,334,329,323,319,321,328,341,352,346,325,344,357,355,352,381,392,361,345,347,342,343,326,326,339,336,334,337,335,357,378,396,412,425,429,427,411,412,416,424,422,424,425,391,383,390,394,396,402,405,394,364,365,375,383,373,379,372,376,387,390,404,426,430,377,339,361,346,313,304,309,298,296,283,274,301,362,390,389,420,436,451,469,479,472,467,440,420,412,425,436,437,444,426,444,397,397,483,525,477,466,463,499,524,486,485,391,428,508,570,537,784,816,948,751,572,1064,1480,1004,628,459,399,952,1464,1300,727,714,1036,1076,954,592,361,402,416,394,346,283,297,381,397,378,370,313,328,446,395,320,303,294,292,283,306,296,296,384,527,416,308,374,380,361,372,357,375,351,350,353,343,333,311,357,357,327,321,322,328,351,370,373,373,380,384,385,378,387,404,416,413,399,391,387,382,391,401,408,390,369,368,383,400,400,400,398,368,371,362,370,377,376,381,361,370,369,368,364,365,363,354,346,354,363,360,362,362,332,340,327,333,338,328,335,327,350,360,354,354,360,346,338,342,346,351,333,337,351,363,366,363,349,351,354,353,342,344,350,345,341,341,350,345,336,344,340,340,341,346,328,337,345,347,347,342,343,342,342,336,330,348,347,348,354,348,348,348,346,335,336,330,323,328,320,312,316,305,305,305,308,318,324,323,322,315,318,329,336,336,335,340,348,347,348,360,362,360,360,368,375,376,365,354,360,369,367,360,373,387,385,369,380,362,360,369,380,395,371,368,364,363,363,361,363,356,361,361,346,339,332,325,328,326,327,320,322,322,313,305,301,306,306,303,300,294,293,289,288,288,286,289,296,299,300,302,303,306,313,322,304,318,320,328,355,371,362,336,318,319,310,307,314,316,306,321,310,313,322,324,319,310,306,302,295],[525,497,486,497,532,880,1406,1816,1708,1448,1023,962,1272,1424,1476,1428,1182,1194,959,628,585,628,737,1038,1003,958,1228,1464,1516,1484,1294,1118,829,838,933,1074,956,882,873,961,1036,1010,1072,882,600,465,455,433,404,422,410,355,604,738,1140,1332,1036,802,717,662,659,666,641,580,516,583,675,551,458,659,689,847,1208,1542,1660,1452,1780,1964,1726,907,637,562,432,397,376,331,409,573,650,937,1312,1308,1284,1262,1294,1274,1142,1050,1330,1428,1350,1412,1316,1122,1484,1632,1338,1450,1378,1124,1066,1002,1066,1182,819,711,741,874,1064,772,1164,1164,600,951,1200,1320,1526,1768,1804,1460,846,783,1156,1152,969,859,539,500,529,490,597,392,273,350,354,383,623,669,623,683,696,706,644,563,525,498,631,902,974,757,616,536,400,398,352,415,520,681,541,564,962,1278,1462,1486,1404,1156,977,947,966,1266,1790,1292,550,360,377,346,451,617,433,397,473,912,835,645,520,631,920,998,1266,1436,1108,703,732,963,941,519,483,523,399,465,497,547,547,534,781,1064,1278,1104,1344,1532,1556,1344,827,678,455,265,324,647,865,725,783,885,946,505,418,439,735,1172,1420,1622,1636,1462,1374,1520,1720,1514,1198,1650,1560,875,550,688,1090,1292,1076,949,748,561,397,479,840,664,890,1406,1310,1234,1450,1450,1354,1382,1102,708,516,749,1132,802,558,439,548,802,1178,1626,1726,1576,1158,996,913,885,700,512,386,409,735,993,917,1168,1346,1296,833,752,976,1154,1572,1298,954,772,710,603,423,352,526,766,717,700,602,415,394,371,464,534,755,718,625,767,746,639,617,544,488,489,484,433,403,368,388,413,460,602,621,661,682,868,1068,912,604,470,563,665,566,689,1228,1290,1528,1686,1572,1580,1550,1888,1520,1464,1104,856,889,902,793,675,505,370,370,625,1064,1078,988,1176,1188,1434,877,1038,1606,1554,1312,1184,971,607,681,1408,1924,1536,1512,1574,1672,1776,1440,1024,953,1058,1196,1326,1532,1592,1198,763,529,551,622,616,1030,1240,1154,990,880,905,1110,1248,1088,1406,1416,1104,722,553,536,636,1032,1686,1692,1536,1284,996,1009,976,912,590,630,833,1394,1536,1158,937,999,1236,1270,1292,989,558,896,1172,829,974,1468,1596,1472,1242,931,871,1072,1412,1378,963,872,1216,1570,1708,1250,689,448,493,732,944,1008,1058,1154,1828,1798,1028,677,585,1094,1836,1742,1278,1048,1028,1186,877,569,678,1096,1636,1840,1908,1160,555,484,626,858,1096,1354,2004,1642,1254,932,1204,918,888,1316,1440,985,568,576,714,816,711,875,853,769,609,599,560,508,550,567,617,676,581,438,412,395,436,415,419,505,452,387,430,410,385,450,517,484,420,407,430,460,710,1226,1650,1364,1104,1410,1444,1046,554,450,432,386,469,476,484,512,430,383,425,448,747,1104,727,758,795,795,778,838,741,907,1378,1252,1002,833,838,678,634,663,508,763,871,771,702,516,412,392,406,388,473,569,539,503,418,364,373,347,343,397,675,610,435,389,452,443,437,517,490,524,515,570,621,734,655,546,517,506,508,509,485,409,366,430,524,765,913,1062,1208,1306,1248,1026,1126,1428,1094,602,735,1226,1064,805,812,860,801,885,822,798,877,857,747,777,744,715,716,771,787,915,868,728,582,532,664,686,564,486,470,415,432,472,590,739,676,580,560,568,594,624,636,684,906,1176,1302,1198,1070,1112,963,629,517,453,488,501,516,501,441,427,578,521,476,570,684,1108,1094,985,1394,1666,1926,2084,1642,1686,2056,1658,1306,1184,1120,1174,1374,1482,1468,1504,1180,708,455,405,572,1150,1220,1090,1044,1032,915,1003,930,681,917,1056,1232,1466,1360,1166,1172,1184,1028,757,572,534,771,942,667,894,897,954,986,1210,1334,1186,1294,1360,957,795,975,1062,1092,1142,879,1282,879,795,776,713,664,549,705,672,469,408,608,927,1182,1362,1572,1562,1636,1516,1282,1360,1882,1760,1258,1208,1336,1410,1512,1694,1704,1910,1764,1472,1390,1474,1488,1448,1362,1384,1486,1376,1510,1562,1302,1470,1158,922,977,1334,1538,1378,1450,1436,1262,1518,1542,1744,1870,1764,1760,1588,1284,1068,998,850,1134,2150,1710,1426,1312,1532,1644,1054,800,757,633,511,550,840,1196,1282,1252,1140,1160,893,650,492,457,404,389,574,711,596,472,445,772,1296,1072,993,1086,1398,1256,1382,1220,773,666,1038,1094,843,950,952,857,1118,1196,1372,1134,1078,1140,1002,996,1446,1668,1086,633,469,789,750,532,521,794,882,894,818,932,1162,1092,925,472,393,389,434,706,833,851,1122,938,910,982,777,941,1144,1170,1182,1184,1164,1368,1316,1128,1100,1138,1084,1012,950,990,1346,1296,922,675,875,1282,1194,1072,1022,1009,1052,1210,1286,1478,1622,1702,1458,1108,1082,836,782,1174,1017,856,980,813,606,866,1304,1256,1114,1114,1314,1550,1704,1744,1256,1021,1264,1100,744,930,785,907,890,1015,1216,1422,1104,955,1142,1466,1654,1490,1242,1136,827,833,1152,1376,1388,937,672,830,857,842,727,435,391,683,974,1398,1558,1340,1434,1280,996,1108,1368,1448,1410,1238,871,673,769,849,877,865,1464,1734,1452,1076,943,838,1070,1696,1556,915,678,689,625,414,404,524,503,397,442,651,739,822,1094,1268,1352,1072,1010,1040,1086,1070,1052,882,433,398,760,1230,1316,940,1098,1638,1050,880,1238,921,708,647,547,361,366,594,928,1268,1072,519,533,720,809,703,751,703,706,852,940,1158,1082,915,1098,1208,1218,1202,1170,1124,1476,1524,1058,877,1150,692,639,1036,1230,1066,919,750,422,431,510,459,530,653,611,611,519,474,669,542,423,478,572,948,1444,1730,1188,553,607,891,1170,610,554,922,739,1076,1366,1544,1466,1512,1696,1270,402,398,590,867,639,745,600,842,1134,798,788,940,867,871,1294,1418,1056,883,742,756,666,644,622,645,709,824,744,487,460,546,605,678,619,485,439,594,879,860,749,1106,1520,1198,1592,1706,799,1078,1450,1001,722,911,847,776,643,562,703,870,1076,1202,908,1070,1204,1019,767,653,682,736,664,762,704,626,722,835,991,879,524,923,984,910,916,1144,1262,1358,1148,700,984,1400,941,490,573,715,682,597,677,839,688,493,474,433,680,641,539,514,578,639,608,661,838,809,507,321,344,458,569,677,759,651,502,386,340,323,365,503,496,479,528,510,488,517,466,346,310,364,437,379,370,390,363,332,331,335,341,339,339,327,332,332,326,328,321,315,320,317,318,329,322,319,336,329,322,310,315,325,322,318,329,325,323,333,323,311,314,325,325,325,331,320,332,331,319,316,318,319,325,328,336,336,344,334,346,371,374,381,405,405,385,352,339,339,336,336,361,354,345,339,334,345,369,394,410,422,434,428,420,416,406,412,416,409,412,404,383,382,380,390,390,390,388,395,368,370,371,368,367,369,375,375,388,402,393,392,365,382,442,382,344,326,324,325,325,336,336,367,408,389,406,402,434,447,452,458,466,462,448,439,436,429,410,447,521,471,407,358,348,412,465,459,424,401,419,437,489,442,458,578,619,488,673,960,1118,1096,794,659,824,1050,725,569,422,546,1598,2298,1898,991,938,1164,1120,929,600,416,347,412,497,443,334,330,461,549,659,703,498,417,408,348,348,292,346,369,330,310,294,312,336,328,287,333,384,375,368,350,349,362,342,345,349,335,336,336,325,325,334,321,322,330,356,382,387,381,387,390,390,390,384,395,408,417,404,398,393,387,396,398,391,373,353,363,401,422,406,391,392,372,373,344,348,361,366,361,381,384,362,364,361,358,357,350,342,340,338,354,354,354,343,319,316,334,350,352,342,329,337,346,355,360,348,343,352,345,337,352,352,342,372,368,368,361,345,361,354,343,345,350,349,345,354,357,347,341,344,345,342,345,344,344,340,341,343,343,343,343,343,343,341,345,341,347,354,355,360,351,336,351,357,330,330,325,323,323,316,324,303,312,323,310,307,314,323,321,320,322,323,321,334,336,335,336,335,340,352,367,383,363,379,357,372,383,372,361,361,366,372,381,380,381,397,374,386,380,384,371,381,375,372,372,363,358,354,352,358,335,340,330,332,336,330,320,316,320,328,318,320,316,309,300,294,298,304,300,297,293,294,290,284,284,289,289,296,300,300,307,309,315,312,329,329,315,313,327,345,356,360,343,327,326,319,328,333,328,318,314,311,307,312,310,308,306,297,287,288],[433,516,695,676,588,923,1322,1722,1656,1616,1422,1274,1400,1476,1400,1274,1350,1444,913,599,541,602,919,889,858,902,971,1202,1476,1392,1260,1176,1142,811,637,593,655,920,890,921,973,949,922,741,499,412,426,420,393,376,464,376,623,1164,1738,1616,1238,891,713,624,641,624,641,637,689,711,624,679,628,795,821,736,854,751,636,685,1438,2416,1880,1023,630,556,534,521,561,474,488,590,667,898,1374,1310,1386,1326,1248,1300,1264,1018,945,974,1005,935,933,1274,1576,1784,1664,1600,1178,910,1024,1316,1404,901,432,472,507,521,568,732,1126,624,364,456,949,1188,1418,1484,1252,1392,1406,1060,708,506,550,536,488,450,547,1136,1156,420,455,706,424,630,889,1250,1528,1394,1210,1210,923,745,629,629,935,974,1114,1130,1140,1082,582,388,395,419,793,924,512,385,684,1220,1622,1770,1476,1254,922,595,531,636,1340,1412,1001,667,481,456,634,967,1015,927,718,1078,1082,1282,916,796,949,1017,1394,1222,720,426,420,610,610,507,409,389,470,527,440,384,589,1070,1162,1268,1788,1352,1318,1474,1598,1204,733,877,688,346,351,523,859,823,1054,1290,1140,651,439,632,688,753,882,1208,1524,1414,1150,1332,1598,1512,922,1230,1410,1260,1030,1022,1292,1338,1440,1666,1450,1158,653,525,993,995,1126,1042,823,1180,1616,1472,1238,1140,1054,1116,946,1064,1200,996,691,482,466,712,1100,1030,1007,1174,921,976,1010,853,504,383,386,272,462,859,1194,1360,1302,1132,1198,1252,1166,1158,1230,1080,1016,826,595,418,363,456,725,807,806,646,521,419,420,387,497,551,734,854,1058,1216,965,629,612,585,533,533,522,477,433,374,374,343,327,448,551,516,544,799,996,857,774,700,634,595,579,635,827,1206,1262,890,1028,1472,1288,1360,1598,1932,1682,1238,974,980,802,570,416,490,751,1058,1306,1072,955,783,901,1470,1318,1042,1336,1540,1548,1434,1180,843,618,1120,1368,1682,1500,1244,1130,1228,1170,930,979,1266,1396,1504,1368,1352,916,568,800,1326,1264,1108,1422,1502,1356,1202,1212,1200,1296,1148,1238,1400,1438,1284,1158,996,804,837,1032,1452,1478,1426,1478,900,779,651,429,419,696,1162,1414,1402,1296,1022,1204,1372,1318,891,732,728,780,717,759,911,1144,1682,1898,1822,1288,804,615,956,948,811,775,1112,1478,1630,1352,783,669,995,996,1136,1078,1194,1048,1256,1300,880,764,844,1178,1520,1222,1052,1148,1058,1290,907,671,998,1538,1772,1994,1422,523,388,466,514,579,758,1013,1572,1484,1136,1202,1086,852,1126,1274,1156,1082,892,811,860,1312,1138,993,963,754,764,935,1026,815,383,552,679,833,785,577,465,386,371,356,447,651,568,381,443,502,493,517,508,506,519,477,458,469,601,882,1210,910,641,843,1184,945,500,446,578,593,537,472,446,437,420,418,656,1019,1180,1180,903,1132,1134,921,757,702,585,1146,1260,1246,1510,1240,1108,1550,1568,1454,1007,930,1156,1154,903,741,603,673,692,491,578,805,717,696,471,420,427,331,290,365,424,397,462,491,464,399,380,424,483,562,583,568,522,496,472,468,474,482,497,503,446,387,481,487,551,1128,1498,1404,1340,1434,1402,1154,1126,1386,915,648,880,1460,1174,1114,1230,1082,1046,1100,1070,1164,1400,1216,1052,1282,1266,1226,1042,984,1052,1148,1011,761,512,517,597,662,566,525,523,472,487,538,655,666,559,558,594,628,672,612,580,885,1196,1274,1500,1516,1902,2244,1594,1002,695,524,484,466,526,423,427,503,542,453,458,543,742,900,699,1066,1506,1224,1238,1494,1642,1834,1558,1262,1374,1098,973,1122,1174,1248,1534,1406,1062,804,639,521,487,729,1132,1172,1274,1262,1118,1138,1122,1008,1354,1218,1472,1454,1202,1172,1298,1334,1208,884,735,631,754,987,741,716,697,677,664,996,1176,1172,1320,1136,1130,1416,1254,1198,1222,1062,811,1274,1224,941,766,747,857,1020,1078,913,525,630,808,1154,984,955,1408,1824,1946,1696,1444,1564,1652,1578,1426,1356,1344,1334,1238,1282,1480,1758,1712,1484,1390,1470,1400,1372,1438,1584,1472,1486,1606,1570,1432,1382,1268,1126,954,1300,1550,1402,1250,1094,762,869,1150,1428,1542,1634,1582,1532,1272,970,1150,1158,1804,3332,1896,1532,1318,1282,1342,1036,976,1070,880,501,485,805,1072,890,831,1024,1238,1116,825,640,550,460,510,747,797,643,705,780,772,1030,840,749,788,1094,1100,1374,1224,626,607,658,717,791,939,609,701,1192,1402,1422,973,633,574,576,712,1096,1182,918,849,602,865,886,694,601,605,587,545,539,777,973,1064,838,433,412,383,326,430,603,610,796,987,906,992,868,849,1124,1100,1252,1454,1494,1222,1060,954,1080,1122,883,1092,1046,1036,1296,1278,1290,1220,1132,1260,1132,971,1002,1018,1096,1268,1244,1212,1406,1748,1422,1210,1296,1160,1110,922,703,833,700,624,1004,1188,1230,1088,1114,990,894,1078,1134,1290,1482,1448,1334,1314,995,1214,1206,1166,951,753,794,880,805,1058,1230,1386,1556,1408,1226,1184,1382,2026,1708,1242,960,613,582,764,591,728,719,667,564,537,858,1072,1296,1522,1622,1276,911,915,1114,826,641,502,313,393,386,293,341,893,1384,1502,1570,978,469,497,807,796,896,1046,738,642,650,651,763,868,698,523,414,393,469,586,607,863,1226,935,586,536,872,1032,1058,1024,490,348,444,958,833,738,1048,1372,1324,1228,897,705,750,1024,843,390,415,870,1576,1130,576,375,350,354,353,399,456,629,1078,1582,1114,767,919,922,946,1170,1360,1520,1304,1017,1194,1542,1488,1190,819,522,695,843,803,802,619,488,447,372,447,560,680,641,499,548,544,591,738,575,468,455,724,1064,1296,1622,1094,485,543,788,1078,796,469,720,852,872,1152,1356,920,733,1216,1614,671,392,417,795,865,785,758,1192,965,631,733,791,797,744,941,1408,1114,814,797,833,661,598,601,627,691,644,548,433,425,469,539,599,541,476,515,860,1046,703,828,1536,1512,1510,2416,1906,900,1216,1122,647,1003,1252,930,776,673,639,622,471,662,1232,1208,1012,1012,855,815,902,1058,808,589,637,661,582,633,596,637,539,395,709,965,1021,1072,1142,1190,1400,1196,830,852,1302,1023,528,523,698,636,468,646,1012,830,402,441,775,1584,988,641,540,559,598,567,650,836,833,573,343,336,380,404,606,829,937,769,477,357,317,310,356,424,525,533,492,497,513,517,382,325,366,432,372,352,404,392,345,343,341,344,337,333,321,327,326,326,320,309,310,319,319,309,315,313,310,326,324,314,309,312,307,311,322,327,323,320,325,317,311,312,323,325,324,325,319,316,322,333,318,326,324,325,325,332,346,346,342,360,382,381,378,400,410,400,394,357,339,335,328,345,353,359,360,348,347,367,383,404,426,430,420,418,413,413,420,412,412,414,398,380,385,378,364,385,389,383,375,375,375,365,363,371,372,369,366,377,376,385,397,387,409,453,433,401,378,373,366,371,387,410,420,433,453,437,418,412,411,420,433,459,474,460,442,437,445,425,454,511,516,479,450,415,403,450,449,408,412,413,397,428,514,1444,1296,641,581,927,1038,1019,1007,832,695,960,857,562,465,421,474,904,1478,1290,999,1128,1158,1116,961,716,458,461,835,836,524,432,453,545,500,468,698,619,399,397,364,316,274,406,416,353,320,305,297,291,322,314,375,379,370,362,360,356,358,361,358,349,344,351,329,320,320,333,321,329,335,353,373,388,388,394,411,400,388,387,408,414,398,416,401,391,395,404,397,384,371,355,358,393,420,409,391,379,370,375,355,350,365,369,367,366,352,372,357,354,358,351,343,339,342,355,360,344,346,349,332,333,331,334,334,327,319,327,343,346,350,346,328,348,361,344,343,354,352,372,356,365,365,348,350,345,339,355,360,354,345,339,337,337,338,339,332,338,345,344,346,344,342,348,343,338,337,346,343,353,352,349,352,347,349,364,349,345,354,336,332,324,323,325,318,316,317,318,330,317,311,311,311,317,317,317,322,330,318,323,339,339,344,344,349,368,375,385,357,381,363,365,376,373,363,364,372,375,380,383,381,393,379,375,375,378,388,384,372,369,367,355,358,356,346,358,341,338,334,325,325,318,314,309,316,312,315,312,311,304,297,288,290,299,299,291,286,289,294,285,281,289,290,295,295,306,308,312,328,324,328,336,308,294,314,347,347,342,339,333,330,324,325,326,324,314,309,305,301,303,307,307,308,300,295,295],[438,578,1098,1162,891,1016,1266,1366,1384,1696,1824,1362,1078,1134,1244,1210,1416,1514,1422,753,474,700,907,653,452,622,822,1064,1354,1530,1482,1346,1448,1120,698,419,430,659,790,794,888,969,866,781,544,441,393,378,379,413,455,386,445,971,1234,1118,1096,904,633,594,587,549,554,681,944,1098,994,844,698,698,846,512,405,426,470,453,983,1458,1410,941,473,537,529,498,547,413,451,467,561,801,1360,1340,1294,1332,1340,1318,1298,1284,1108,923,887,825,1136,1496,1362,1710,1876,1708,1178,843,1208,1444,1178,895,480,379,435,480,435,751,1162,815,607,614,977,1320,1316,1122,899,880,1020,1366,1290,1056,673,474,407,378,404,636,608,359,576,696,400,680,1398,2050,1786,1258,1378,1488,1017,592,468,612,1094,1038,1264,1560,1306,1344,888,409,333,337,435,479,521,562,570,1120,1532,1842,1458,1336,1434,1078,730,802,1188,1410,1324,993,707,774,888,1088,1398,1158,999,991,1318,1302,800,1016,1342,1232,1568,889,485,396,501,600,520,364,300,394,670,849,662,512,722,1288,1390,1114,937,856,942,1222,1448,1050,962,1224,993,454,375,519,877,1003,1300,1300,987,677,692,848,644,621,792,1080,1384,1294,1076,1280,1440,1206,713,716,1070,1246,1224,1312,1410,1540,1556,1582,1500,995,625,625,944,1138,1322,1056,741,1132,1334,1290,963,1003,1230,1378,1190,985,971,1074,846,619,678,817,904,780,902,1288,1896,1656,1208,877,754,913,769,741,937,588,1030,1576,1278,847,1026,1110,1708,1808,1324,858,758,706,488,371,357,614,743,654,816,700,481,430,442,386,461,594,801,972,1116,1228,1068,637,549,558,518,610,636,519,387,343,345,350,346,433,490,468,547,661,754,837,813,694,771,681,508,547,764,1106,1132,716,821,1700,1810,1388,1578,1528,1576,1764,1362,982,876,597,447,751,1284,1228,1206,1002,884,959,1150,1780,2272,1294,1136,1302,1560,1614,1342,1202,1150,933,893,1118,1116,1034,985,1268,1250,1252,1316,1246,966,1172,1356,1206,789,954,1686,1964,1412,1076,995,1318,1604,1384,998,930,1176,1372,1370,1302,1210,1250,1206,1178,1088,1023,1252,1332,1450,1580,1250,500,537,555,390,564,857,1126,1344,1714,1792,1454,1412,1200,1058,882,918,858,639,753,988,897,932,1244,1396,1412,1268,807,719,948,897,758,701,1120,1564,1274,813,625,976,1058,784,827,1226,920,623,946,999,647,687,783,858,1370,1578,1172,843,1146,1290,848,917,1406,1762,1996,1808,1078,764,478,461,570,600,610,683,1104,1182,947,1044,1154,843,1144,1280,1216,1048,1030,706,689,1182,1130,1176,1202,922,639,642,1023,985,835,931,701,816,858,788,577,430,368,404,509,553,427,318,420,544,548,550,509,517,610,630,574,531,592,944,1116,659,688,761,1086,788,536,499,629,709,579,558,579,527,553,521,677,1106,1102,1098,1226,1154,1102,1021,815,511,437,728,1024,1256,1464,1282,1364,1908,1596,1630,1072,951,1218,1278,1514,1390,805,966,1015,818,816,1042,831,553,525,568,421,311,270,314,386,447,562,495,372,327,415,412,473,546,653,692,579,472,469,415,425,495,487,474,394,472,612,530,728,1300,1490,1328,1330,1462,1352,1320,1356,1478,1154,790,674,845,855,1052,1266,1404,1336,1106,1158,1366,1542,1304,1124,1184,1370,1476,1396,1296,1468,1456,1176,821,656,662,858,888,573,540,531,450,494,557,606,550,433,543,633,686,691,641,696,950,1190,1268,1472,1450,1930,2588,2094,1584,1240,869,630,515,441,479,637,664,539,459,525,667,972,951,688,1064,1296,1114,1078,1378,1832,1790,1388,1830,2136,1286,1278,1336,1328,1296,1216,1248,1124,843,844,861,807,1070,1328,1332,1374,1066,1374,1532,1376,1364,1136,1206,1534,1512,1550,1742,1460,832,746,932,833,708,901,979,982,801,746,855,655,825,1100,869,894,775,748,1324,1584,1120,846,851,915,1066,1134,858,670,812,1100,1476,1572,1548,1310,1220,1528,1820,1572,1660,1846,1750,1372,1070,1358,1638,1504,1462,1238,1230,1316,1450,1366,1350,1512,1482,1450,1494,1454,1356,1324,1390,1462,1494,1406,1484,1500,1484,1526,1396,1358,1236,1192,1412,1550,1440,1266,881,634,651,1120,1550,1560,1434,1438,1602,1512,929,908,1156,1570,2122,1698,1418,1162,1300,1420,1230,1050,870,847,691,512,806,991,642,602,553,632,895,958,874,733,668,739,1002,949,824,1022,1258,1156,953,865,928,897,889,1106,1466,1356,954,860,869,913,1046,956,558,625,1040,1332,1480,1160,775,825,913,565,846,1100,949,770,845,1023,872,477,364,471,622,664,658,697,809,946,756,527,511,519,450,725,1054,807,724,1034,1020,1294,1052,943,973,1140,1276,1290,1302,1308,1096,573,667,733,712,928,1016,885,944,1142,1292,1086,852,1042,1146,1094,1092,1088,1246,1450,1110,896,1198,1626,1422,1246,1300,1382,1338,1026,654,752,634,483,846,950,905,680,832,969,813,768,990,1304,1244,1444,1404,1268,890,1032,1276,938,588,621,843,764,916,1526,1544,1604,1540,1332,1254,1156,1152,1023,863,631,513,617,847,1372,811,815,606,1088,1262,821,736,863,946,977,852,669,504,579,1116,1172,754,495,363,350,345,388,818,1504,1276,1394,1678,961,410,374,304,391,736,902,936,819,799,738,957,1042,806,528,445,438,509,516,458,519,684,600,629,575,509,894,1162,902,628,442,452,587,470,467,773,922,1001,1046,1042,813,1018,1230,969,442,464,802,944,521,401,424,398,327,376,434,496,634,1120,1580,1194,761,932,997,991,1214,1468,1614,1388,1036,1164,1490,1554,1470,1032,764,898,947,918,859,661,764,656,420,432,708,795,579,379,435,587,996,974,633,590,481,754,766,916,1192,776,448,503,740,949,957,552,491,839,824,907,1250,906,628,1206,1968,1124,448,335,509,955,1232,1356,1236,653,538,596,666,741,747,924,1182,1182,980,822,658,560,521,516,506,536,514,492,522,508,434,515,638,656,635,711,874,982,792,902,1208,1516,1296,1210,937,754,786,602,887,1464,1544,1318,955,727,602,592,526,562,724,818,1128,1108,716,891,1314,1472,677,565,554,603,651,530,322,389,580,663,646,812,1170,1320,1252,1128,1370,1306,1152,789,789,1094,877,538,778,921,576,486,689,946,538,626,1408,2958,1748,712,578,574,612,545,576,661,685,529,412,339,380,467,684,827,934,788,485,397,375,275,276,380,430,342,348,403,381,487,440,325,352,372,356,386,460,406,358,353,347,350,354,348,336,334,326,321,323,333,327,319,315,307,314,315,321,316,325,325,318,307,310,306,315,327,321,319,320,317,317,311,320,322,318,330,330,314,315,319,319,314,310,322,329,336,351,358,364,367,376,393,379,396,402,391,415,371,365,348,335,354,361,371,377,367,350,367,376,397,410,420,419,414,407,404,401,412,418,403,408,384,382,386,352,397,402,385,379,378,373,361,356,349,349,361,381,380,371,373,380,384,391,391,398,410,415,427,418,424,412,404,398,381,402,410,415,399,391,395,410,447,481,468,450,445,469,470,466,476,495,506,508,495,481,474,444,404,401,401,403,383,767,1648,1226,507,781,1264,1070,1009,897,758,851,877,598,491,450,661,810,902,1072,902,1009,1021,1144,1142,1100,937,633,674,888,870,741,647,547,417,346,294,389,389,354,478,411,301,334,415,395,318,302,273,272,312,335,361,410,370,354,358,357,359,358,359,359,353,345,336,341,333,315,339,357,355,343,350,367,388,395,390,417,403,400,398,405,407,415,409,401,394,385,385,382,382,377,364,353,387,419,414,395,390,373,366,363,352,363,355,359,366,355,346,352,352,352,352,349,343,343,357,357,352,354,346,343,343,334,338,329,325,324,329,338,343,358,361,346,364,344,348,346,346,350,357,350,370,381,352,340,339,345,354,364,358,347,349,343,337,339,341,349,351,347,345,338,332,332,350,340,332,335,343,350,341,325,343,347,343,339,347,328,343,349,328,321,324,321,317,318,318,317,317,310,305,310,310,310,317,317,313,318,335,325,310,326,331,345,351,355,362,361,372,373,369,367,369,371,373,372,367,369,375,374,375,379,384,382,374,370,377,376,372,370,370,365,365,352,331,348,350,336,328,325,325,323,318,307,306,320,309,314,307,306,298,291,283,286,297,295,286,287,289,293,288,293,296,297,295,286,304,312,311,326,326,328,327,317,315,319,341,349,349,349,333,318,313,317,321,321,323,328,307,308,289,297,306,312,311,309,301],[603,863,1158,1128,991,1046,1294,1284,1246,1576,1544,1256,843,758,1096,893,1010,1328,1426,1054,738,1138,1226,716,530,574,761,1062,1234,1332,1058,1084,1340,1272,828,482,421,571,732,744,745,788,704,697,458,396,377,352,331,371,439,414,367,463,435,417,650,805,583,592,578,544,460,423,723,1122,1136,1122,1038,636,741,491,403,429,457,363,1154,2024,1964,1072,444,412,343,397,455,341,325,383,445,605,1180,1328,1212,1234,1324,1288,1122,1276,1258,1144,918,1050,1152,1206,1352,1668,1688,1648,1354,1150,1276,1023,830,783,708,573,471,473,481,569,935,1330,1166,935,1192,1064,968,1600,2002,1172,600,714,1048,1222,1288,1050,657,532,426,406,388,639,797,594,352,469,1448,2292,2110,1614,1560,1736,1186,773,1028,979,1192,1306,1454,1628,1362,1000,544,385,355,312,349,594,858,951,890,724,1112,1424,1390,1516,1836,1860,1496,914,951,1256,1044,1246,1110,1252,1026,899,840,1154,1232,1252,1414,1072,772,662,1098,1348,1126,645,454,1286,1382,717,457,673,1334,1282,1122,1074,859,731,656,783,1112,957,876,937,850,1052,1166,1274,1610,1260,940,649,667,824,832,1011,1244,1412,1374,1060,1122,1001,798,1036,1200,693,679,861,1098,949,789,635,480,555,781,937,923,1214,1506,1460,1068,695,821,1244,998,729,708,951,1606,1634,1190,1208,1438,1360,1186,1005,828,848,788,789,1120,1150,623,715,1148,1088,1296,1334,1290,1564,1600,1224,1278,1326,1194,884,933,1520,1428,675,1026,1326,922,541,736,1030,2060,2310,1356,675,533,507,446,363,451,999,878,587,491,495,470,490,490,434,415,558,711,702,977,1504,1506,909,501,509,628,773,645,380,318,387,350,333,386,425,471,510,548,630,527,495,640,709,785,821,636,513,684,1094,1194,1010,1482,2034,1726,1228,894,639,939,1420,1486,985,893,728,803,1268,1266,863,741,692,1102,1860,2024,1680,2834,2210,1426,1168,1494,1522,1422,1394,1438,1034,591,519,719,874,828,1116,1486,1146,938,900,792,946,1406,1450,1154,1048,1410,1364,867,872,860,883,1268,1588,1172,918,1274,1332,1428,1338,1160,1316,1112,1268,1066,789,937,1084,1160,1324,827,445,645,642,492,949,1658,1154,1368,1928,1792,1566,1214,813,695,711,949,807,530,705,852,1017,1176,1102,1224,1278,907,624,897,1134,967,763,632,656,625,750,720,572,750,596,673,799,1023,845,677,727,781,589,554,585,530,854,930,735,1046,1626,1334,1020,1346,1772,2102,1904,1220,1558,1210,839,612,567,506,603,897,1140,1068,769,620,956,1078,1282,1382,1526,1172,1018,823,825,904,912,1124,1202,773,505,440,663,910,1298,1566,1482,1162,979,1001,833,635,488,561,604,532,355,320,396,440,617,668,654,655,744,788,688,592,653,855,962,691,827,1005,1306,1032,714,594,664,694,551,510,623,621,672,536,728,775,852,1262,1562,1598,1328,1076,997,988,853,812,1120,1350,1356,1206,1372,1390,1086,776,521,701,963,1342,1446,977,486,669,891,775,647,621,469,435,590,487,289,261,230,266,340,506,440,403,334,357,461,450,494,562,590,586,611,622,597,585,585,538,468,438,395,517,554,592,1050,1328,1416,1396,1444,1520,1494,1508,1486,1426,1326,1102,838,667,918,1246,1282,1538,1422,1284,1310,1158,1214,918,786,986,1210,1404,1366,1392,1590,1310,1276,1044,905,897,1274,1216,828,751,763,673,756,769,724,609,482,618,667,631,491,498,580,622,680,803,918,1028,1460,2232,2260,2034,1558,1244,1024,822,663,591,622,645,580,476,615,992,1332,1028,970,1402,1352,1284,1150,1134,1306,1342,1440,2264,2790,1534,1344,1210,1548,1590,1206,1098,1136,1220,1142,1054,1118,1274,1326,1326,962,721,1082,1252,1248,1342,1246,1404,1482,1410,1476,1592,1064,578,554,824,971,863,897,1074,1258,1206,1210,1070,655,1046,1208,1060,1416,847,615,1312,1600,1018,886,1288,1208,740,1062,966,816,1044,1528,1738,2044,1772,1468,1670,1856,1772,1946,2066,1780,1104,798,892,1312,1220,924,1052,1010,1100,1778,2108,1676,1286,1130,1112,1242,1460,1550,1472,1482,1480,1478,1426,1382,1458,1466,1494,1480,1458,1340,1052,1290,1486,1526,1482,1550,1266,994,996,1408,1698,1516,1308,1482,1714,1520,1246,1036,1180,1172,1276,1508,1504,1290,1316,1484,1324,1300,1178,812,971,1408,821,499,499,529,486,489,545,666,797,863,774,898,939,1086,1140,982,1112,1338,1266,997,903,949,1108,1066,1278,1432,1422,1422,1406,1288,1232,1018,579,637,1132,1368,1426,1280,1430,1660,1402,647,705,1216,1164,730,624,910,825,422,537,700,777,816,814,796,916,854,1009,880,708,835,726,797,1072,1058,1144,1294,1214,1310,1172,1176,960,1118,1372,1370,1422,1676,999,489,511,653,730,690,719,650,703,881,1042,870,886,1360,1312,1770,1348,1142,1620,1592,1086,836,1206,1556,1414,1338,1270,1218,1046,892,571,490,422,369,919,1198,936,858,1044,1178,1122,950,1370,1738,1306,1220,1386,930,590,852,1208,1072,759,777,1140,1015,975,1134,1410,1444,1484,1594,1368,1130,903,583,476,494,507,700,1376,2116,1206,868,768,1060,1410,1450,1464,1234,912,597,585,439,594,946,1242,948,685,502,318,312,320,418,929,1448,1230,1260,1556,1204,601,379,391,407,545,709,535,629,927,1090,979,858,644,438,451,460,518,535,477,568,651,746,1013,981,643,1118,1264,1220,919,606,439,536,722,773,820,636,800,1066,796,664,872,1070,814,424,456,804,836,758,688,504,574,389,411,404,550,881,1166,1128,1180,1005,888,938,951,1150,1522,1638,1590,1344,1340,1512,1464,1532,1272,794,749,991,1003,975,863,965,728,420,435,837,728,415,416,629,1040,1622,1206,640,656,772,897,653,692,899,557,493,534,665,804,1005,838,432,693,901,894,1252,1056,1026,1620,1742,951,408,336,372,668,1246,1432,839,549,522,612,766,721,607,773,1228,1460,1238,1120,946,672,532,490,465,467,548,544,564,584,537,475,494,576,633,692,715,659,642,839,790,1076,1220,901,641,680,564,870,1224,1220,1438,1406,1184,898,759,673,608,656,534,549,934,858,608,980,1214,1009,839,849,942,1003,927,638,466,669,1022,1154,786,692,1136,1062,912,959,1194,1410,1406,919,547,733,846,594,776,1164,828,491,657,1170,766,794,1182,2272,1670,772,630,595,637,610,626,552,520,442,518,604,613,589,708,807,855,724,426,358,374,304,265,293,308,286,326,372,381,491,486,385,422,420,336,364,457,401,355,347,344,348,351,350,337,327,317,323,325,314,322,308,318,320,316,315,317,329,326,314,324,324,312,306,312,320,319,321,313,321,325,317,322,322,315,317,308,312,319,311,319,313,314,318,320,330,346,367,376,368,368,393,379,385,398,410,428,406,397,372,343,351,353,375,385,392,369,372,379,396,404,407,410,413,416,407,407,436,432,397,408,387,383,389,369,376,378,383,387,383,369,356,346,344,349,345,359,361,361,373,384,387,382,380,398,408,408,413,398,384,380,379,381,379,359,387,418,407,386,389,403,431,457,465,473,439,434,448,461,471,473,493,491,482,479,479,428,403,395,386,371,355,675,876,698,614,1108,1798,1820,1136,744,755,1242,984,604,539,542,930,976,687,760,1003,1030,987,1016,1102,1068,909,719,612,638,1026,1580,1552,1080,405,295,296,296,325,368,425,360,307,382,518,488,315,286,273,282,307,315,383,415,374,354,356,354,360,360,367,356,347,340,343,360,347,332,339,356,360,353,356,372,388,397,388,401,409,411,409,403,407,405,397,410,403,379,371,371,379,379,369,353,373,409,417,397,398,378,357,390,389,369,355,361,361,359,361,355,352,359,367,361,346,346,355,359,352,343,339,364,344,330,339,330,321,326,327,334,340,349,359,339,339,346,343,344,346,349,357,360,362,360,351,345,344,360,360,357,351,339,354,346,333,342,338,332,333,341,341,343,359,341,349,347,334,336,340,348,346,352,350,343,343,336,343,341,339,326,331,336,329,321,317,318,316,314,313,317,325,319,312,311,316,314,309,313,330,331,318,336,347,343,355,366,369,377,386,381,375,375,375,377,377,374,368,369,375,375,374,380,375,379,382,367,370,373,372,363,356,350,359,346,353,350,332,328,326,325,325,320,319,312,314,303,313,310,302,298,295,291,284,283,289,291,297,288,288,284,290,305,308,306,306,301,305,313,311,314,321,325,311,311,321,313,330,345,339,332,323,315,313,307,300,302,317,321,290,303,291,300,317,310,306,301,294],[871,1124,1518,1662,1470,1186,1284,1294,1252,1562,1272,1052,700,610,717,629,666,930,1172,1118,1072,1438,1588,1360,727,831,838,908,726,977,747,576,814,1114,901,560,556,559,583,684,543,429,509,573,411,338,321,313,333,316,398,521,536,375,355,369,609,739,554,565,554,440,438,521,693,961,1032,791,750,565,566,497,442,600,540,451,1072,2122,1952,1015,473,389,346,376,403,421,356,357,377,554,916,1104,1146,1156,1244,1222,773,969,1186,1158,1130,1188,780,545,906,1302,1330,1344,1312,1252,1126,725,976,1224,1744,1368,703,494,494,498,737,1356,1610,1338,1020,1158,1272,2980,3428,1918,857,751,721,979,1498,1354,1410,1230,953,597,506,667,699,502,382,414,1017,1888,2280,1932,1310,1534,1210,1180,1472,1404,1418,1410,1190,1312,1338,863,474,451,437,518,683,917,832,931,953,922,1046,1028,1050,1278,1610,1744,1406,699,601,646,584,995,1424,1634,1216,801,754,1046,1176,1208,1092,888,842,722,1136,1190,866,733,749,1882,1746,653,419,952,2018,2148,1666,1120,896,913,717,699,910,939,1172,1204,1040,1086,1034,1282,1338,1108,1048,800,866,786,495,733,1062,1484,1638,1216,1180,979,855,1078,1260,737,527,778,1108,1304,1126,659,460,742,1268,1266,905,1274,1472,1240,858,713,716,879,971,1074,758,882,1482,1400,1284,1038,1360,1316,1246,1062,1112,1178,1015,984,1220,1042,617,801,1354,1236,1412,1352,1334,1216,899,1072,1290,1584,1476,1038,1296,1904,1544,1236,979,999,1188,975,1010,1228,1674,1888,1140,755,585,477,438,418,672,1226,1322,675,414,477,514,717,635,493,365,504,626,654,583,932,1266,849,448,441,593,810,706,417,398,388,345,327,343,351,390,427,463,508,474,1064,2096,1112,702,725,907,726,565,771,1172,1292,1578,1806,1606,1180,678,606,1023,1368,1016,745,883,1050,1176,1336,1214,852,703,1058,1466,1590,2392,1714,1958,2746,2096,1478,1560,1466,1384,1354,1080,633,754,539,513,874,948,1338,1542,1238,1166,933,802,1136,1214,1122,1078,912,894,890,771,1178,1396,1094,799,963,994,1372,1908,1676,1358,1002,1234,1548,1636,1526,1064,851,924,915,941,890,903,854,764,661,852,2224,3210,1870,1380,1700,1600,1278,816,784,1026,913,991,794,476,498,675,1009,1021,849,1078,1112,967,1194,1776,1738,1262,1016,1026,767,741,944,797,556,592,776,858,1014,1070,1018,1250,900,607,587,624,655,580,941,1266,914,932,1138,1020,1296,1678,2022,2002,1360,1282,2166,1584,1428,1136,549,382,593,966,924,729,765,686,841,1042,1368,1390,1502,1498,1148,1054,1282,1216,1080,1016,1266,813,502,396,900,1318,1554,1198,1452,1306,839,901,747,558,521,516,483,529,419,320,343,461,630,713,803,762,726,745,714,640,811,902,624,834,1230,1552,1544,1314,1376,1262,901,741,540,565,583,540,615,805,2150,2322,1396,966,1038,1288,1546,1418,1304,1298,1174,1202,1204,1352,1320,905,1124,1506,1216,685,667,846,1002,1340,1156,600,744,636,686,661,416,360,312,359,501,415,251,250,248,289,303,413,450,453,362,414,444,480,545,541,532,518,592,601,633,652,753,841,596,423,508,628,574,775,1388,1320,1448,1388,1272,1352,1376,1354,1322,1396,1346,1096,650,644,959,1336,1268,1248,1292,1328,1290,1400,1428,911,780,1098,1376,1408,1384,1258,1212,1036,952,1074,1336,1406,1312,1128,966,1450,1678,1352,1294,1032,831,865,792,698,645,574,588,642,602,514,450,501,523,588,1018,1958,2204,1962,1526,1350,1242,1122,957,876,780,800,841,724,1009,1378,1454,1066,1312,1648,1506,1300,1196,1270,1226,1352,1626,1826,2266,1750,1482,1300,1296,1244,1196,1124,1222,1370,1224,1224,1296,1338,1176,982,691,790,1072,1106,1214,1396,1446,1470,1220,1284,1442,1472,1118,863,786,867,1168,1164,1002,999,1360,1670,1544,1288,915,1078,1090,1048,1516,1486,1400,1444,1122,747,892,1026,862,594,1114,1282,1068,1472,1732,1796,1874,1638,1860,1958,1514,1554,1628,1626,1638,1046,1036,1242,1226,1014,737,738,935,1672,2216,1658,1066,984,949,971,1036,1288,1438,1636,1614,1460,1464,1458,1392,1400,1370,1376,1406,1432,1276,1186,1602,1732,1558,1532,1520,1498,1384,1102,1216,1498,1392,1332,2106,2964,2674,2302,2106,2020,1628,1770,1784,1604,1382,1178,1244,1262,1638,1580,1124,1202,1502,902,558,517,493,470,452,460,486,615,614,847,873,750,767,893,985,1290,1582,1346,1062,739,742,1168,1008,1076,1090,929,957,1156,1142,1004,784,596,561,904,1104,1142,1158,1376,1482,1026,556,547,722,610,412,471,735,657,461,686,827,872,1023,1072,1040,1028,1028,1346,1202,980,1072,802,833,1116,1236,1384,1338,1068,1220,1320,1166,899,1032,1194,1288,2092,2514,1010,781,532,475,746,792,565,430,517,777,1312,1346,1242,1402,1242,1446,984,1402,2018,1722,1472,1432,1586,1746,1598,1826,1542,1228,1030,1050,733,569,536,749,1676,1908,1222,1178,1588,1308,1166,1036,1302,1206,1170,1220,1112,837,743,1046,1256,1202,1020,902,963,1106,916,1026,1282,1434,1590,1532,1368,1168,995,665,533,561,775,750,1192,1270,825,828,837,953,1166,1106,712,570,723,1040,1216,587,775,966,924,830,761,529,384,507,469,425,588,692,758,1270,1512,1146,648,458,543,508,614,910,919,579,553,612,880,984,777,578,521,553,680,622,450,570,940,1007,829,634,756,1144,1162,1242,1178,806,380,554,895,992,1252,801,905,826,523,467,573,655,766,747,417,472,769,1250,1158,632,636,534,560,482,471,710,1003,1200,1318,1268,999,1176,1044,1288,1470,1388,1776,1760,1692,1620,1434,1276,1224,1100,681,783,1070,1056,689,649,573,427,1001,1278,642,410,1048,1744,1726,1664,824,545,735,1284,880,655,633,556,454,517,637,819,1009,994,1092,533,524,889,940,1260,1238,1366,1312,802,451,351,353,357,461,1018,1102,579,498,604,681,858,820,755,825,1130,1478,1312,1246,1088,697,609,521,448,469,511,513,536,533,468,422,388,440,471,514,579,583,576,714,760,725,1011,1262,940,552,899,1514,1272,802,1200,1418,1378,1078,971,735,640,755,741,764,882,761,581,869,899,787,1052,1046,907,733,655,637,557,760,1054,1034,716,739,1134,796,857,1062,1116,1744,1930,1258,777,660,825,587,712,1001,1040,602,578,941,1021,929,905,993,891,709,705,696,650,580,515,442,395,390,417,419,440,566,664,688,770,751,466,350,364,358,304,259,272,285,333,415,444,458,501,433,430,412,310,323,430,408,363,357,347,333,331,339,336,321,326,328,315,325,310,311,317,311,315,317,316,315,314,325,312,326,313,312,314,313,315,315,309,307,313,311,320,325,316,311,321,321,310,320,320,309,307,311,318,328,325,344,374,379,376,390,405,385,392,397,401,411,420,403,361,357,367,390,386,393,375,376,383,380,389,408,409,410,426,408,397,429,436,410,399,387,384,379,382,374,366,378,375,375,368,353,344,344,345,356,354,350,357,368,373,379,382,391,395,401,378,385,394,365,359,371,380,365,362,379,397,400,397,401,403,430,434,454,477,452,445,462,470,455,452,464,471,498,474,452,423,401,386,396,379,426,527,515,627,647,901,1428,1804,1082,661,914,1280,1614,1616,1010,871,1142,1242,1180,799,1012,1042,1000,973,938,870,684,475,393,449,688,831,785,686,535,628,780,513,313,349,316,296,278,359,539,534,375,324,313,306,291,337,387,375,358,354,351,352,354,360,350,335,337,331,340,342,342,344,353,373,373,370,368,384,391,392,392,395,408,409,403,411,419,396,387,407,408,388,385,375,378,379,373,355,366,403,417,404,404,379,370,368,347,355,373,366,355,352,351,349,355,361,357,351,349,352,339,349,353,330,312,334,336,322,339,351,330,334,334,341,347,353,359,343,338,343,346,349,346,348,355,358,362,364,361,350,361,379,372,354,348,342,343,342,333,342,333,338,345,345,338,343,351,343,341,345,344,340,350,350,338,350,350,344,340,337,336,341,336,330,329,322,319,319,319,317,311,312,312,311,314,312,311,310,314,316,314,321,324,322,319,318,345,351,358,366,375,396,399,389,387,397,381,382,383,380,387,384,376,376,375,376,369,373,377,363,375,378,370,364,358,358,346,341,344,332,326,331,332,332,325,321,320,314,307,310,316,310,304,298,296,293,285,283,288,286,306,297,290,285,294,301,303,306,313,330,317,313,315,321,332,324,308,308,315,312,319,313,324,333,323,312,310,301,307,313,308,312,301,298,296,295,300,302,306,300,294],[825,686,1024,1174,1062,1090,1244,1144,1392,1520,1342,962,602,583,580,688,823,798,727,855,1098,1176,1894,1782,845,727,791,935,995,1150,830,592,893,1004,829,733,739,672,447,474,447,453,523,574,478,357,298,271,306,343,493,483,554,392,335,438,843,961,651,569,486,322,391,521,521,763,1356,938,624,512,530,431,914,1210,699,469,1178,2202,1592,812,428,291,269,323,395,421,358,374,358,478,911,1066,973,1082,1178,1174,728,684,951,1136,1076,725,527,571,822,1146,1310,1072,1009,1318,1456,1268,1460,1832,2150,1578,804,570,502,528,472,833,1250,959,839,974,1240,1960,1976,1248,858,1028,1052,1118,1536,1536,1188,1138,1300,1324,982,655,458,520,561,588,1062,1698,2120,1892,1156,1296,1134,1044,1244,1408,1390,1306,1254,1272,1154,938,652,688,766,901,1088,1196,941,794,813,983,713,545,637,946,1384,1274,818,611,720,610,416,466,788,1094,1152,1218,1404,1206,792,1060,1214,1038,1184,1400,1824,1334,1254,1306,1020,1242,1042,519,505,702,1038,1406,1532,1188,998,970,760,1002,1334,1580,1980,1376,876,1034,1164,1438,1434,1414,1632,1258,823,637,528,910,1290,1164,899,682,1060,1302,805,854,1306,924,452,522,680,1092,1394,935,655,1050,1440,1232,1292,1440,1372,1292,1330,1114,691,634,1140,1566,1300,1012,1348,870,913,1010,997,1164,1318,1264,1312,1098,993,857,1084,852,786,867,1196,1182,1110,1034,1160,1150,1184,1086,1013,1386,1228,815,1134,1424,1330,942,663,855,1174,1118,1058,1152,1288,1324,693,594,488,455,484,522,780,1394,1394,1011,1246,842,509,567,447,406,429,555,727,762,641,734,861,608,486,453,793,943,612,359,361,340,310,328,332,332,334,329,399,508,466,905,1716,922,554,493,624,623,498,495,816,852,621,1336,1986,1346,935,734,1044,1316,1130,814,808,1292,1556,1250,1272,860,677,758,759,1028,1990,2168,1530,2058,2168,1710,1548,1346,1366,1340,1152,896,1130,806,509,911,982,1060,914,1024,1072,814,1090,1328,892,880,952,1015,936,849,589,735,1098,1058,955,543,990,1974,2012,1958,1788,1370,1226,1370,1474,1300,1168,1120,1001,976,890,623,661,878,983,1044,1032,1744,2332,1980,1636,1342,955,676,489,668,1092,966,760,588,488,645,1016,1190,839,711,1028,1068,1226,1592,2494,2492,1720,1396,989,562,576,685,572,378,569,941,1046,1194,880,1202,1556,1048,637,741,740,564,455,558,633,512,535,793,1080,1628,1926,2112,1728,1148,1218,1548,1246,1180,1032,829,631,778,1118,783,824,766,720,784,914,1266,1274,1276,1228,860,832,1158,1290,1338,1162,1442,964,510,304,460,810,1376,1772,1716,1128,811,822,662,769,740,561,495,516,365,257,278,490,678,687,843,897,724,668,662,705,905,996,783,1022,1510,1670,1386,1396,1794,1682,1692,1330,1008,735,573,614,551,1174,2756,3442,2718,1248,778,661,720,908,1250,1166,842,813,1112,1406,1264,968,1136,1220,1180,963,913,894,1222,1330,929,1072,1418,982,1036,1015,566,426,389,375,480,364,303,252,236,236,250,287,393,434,440,486,426,493,562,561,512,547,655,609,645,638,800,791,442,396,480,521,576,843,1354,1252,1001,907,1160,1386,1516,1560,1520,1642,1340,930,716,739,885,1270,1148,1084,1214,1478,1444,1498,1564,1114,1122,1250,1518,1422,1368,1138,1218,1074,922,1074,1222,1248,1290,1100,951,1676,1656,1502,1300,933,821,1204,1054,744,697,720,820,832,699,585,542,558,581,574,858,1470,2022,1888,1526,1546,1448,1248,1088,1074,1110,1252,985,690,974,1340,1514,1346,1396,1502,1370,1246,1114,1090,1172,1690,2030,1788,1574,1478,1354,1260,1304,1312,1170,1250,1506,1350,1460,1524,1364,1446,1498,1234,1086,1326,1528,1382,1156,1252,1610,1476,1144,1394,1514,1228,1052,999,1050,1290,1260,1072,1106,1194,1484,1544,1236,887,871,780,638,568,663,1302,1454,788,762,883,960,602,698,1324,1444,1436,1400,2020,1780,1368,1598,1542,1834,1990,1454,1758,1704,1488,1108,922,1017,983,762,583,547,556,637,831,880,658,1050,1194,1174,1142,1136,1198,1294,1498,1618,1648,1544,1470,1508,1576,1352,1410,1676,1526,1366,1106,1098,1434,1854,2074,1642,1548,1472,1158,1058,1270,1392,1540,2798,3134,4184,3506,1924,1620,1360,1522,1706,1710,1740,1188,1060,1214,1400,1644,1444,1350,1162,866,688,552,556,525,424,453,542,555,557,830,883,843,808,870,1082,1410,1368,1086,1200,1011,877,1282,1328,1060,1214,1188,803,683,839,849,691,660,541,731,924,1232,1316,1164,849,526,521,720,587,542,630,725,890,561,416,644,821,946,1128,926,824,1007,1192,1320,1220,1178,932,632,894,1166,1282,1376,1308,1288,1240,1202,1190,1144,1108,963,971,1218,1466,895,711,769,948,786,529,442,419,508,791,1572,1336,1040,1416,1660,1174,1062,1702,1788,1396,1376,1376,1588,1802,1636,2446,1810,1092,1050,1188,952,806,785,1012,1388,1412,1310,1300,1328,1266,1052,792,954,1194,1378,1432,1242,1058,1094,1158,1009,845,972,1152,1256,1100,839,765,868,1348,1628,1568,1688,1482,835,690,590,669,1412,1284,998,669,470,904,1180,1208,1192,1124,937,858,836,810,730,604,1002,1080,852,973,1264,800,634,1140,1294,667,440,407,405,528,700,913,926,837,719,557,785,1448,1554,766,481,417,371,589,838,834,630,537,694,712,591,708,1180,1158,949,943,876,885,1048,1144,1136,868,820,1070,1426,1482,1610,963,957,695,466,326,392,547,1174,1344,562,316,380,616,797,740,670,798,982,871,569,513,885,1082,990,852,816,1198,1210,1360,1340,1266,1606,1606,1526,1428,1358,1106,1292,1454,973,658,1510,1450,853,665,546,866,1512,1054,467,601,1244,1402,1048,968,1046,1058,1296,1418,818,709,805,647,479,412,488,979,1736,1152,1262,730,421,797,951,991,756,534,413,305,342,382,403,378,515,886,628,547,694,747,806,961,917,910,932,1138,1296,1312,1144,827,667,643,556,502,465,448,484,473,439,397,406,379,422,404,443,522,550,571,662,771,736,856,967,734,803,1320,1462,1526,1266,1402,1736,1488,1098,1108,846,730,683,788,719,540,460,809,1224,739,413,678,813,738,597,581,692,691,529,540,653,716,684,955,871,919,1046,1052,1290,1344,1238,1102,839,877,790,727,768,952,688,421,792,1088,1092,824,747,673,597,517,507,491,455,411,390,408,441,462,373,328,494,608,648,728,822,620,441,348,422,365,257,260,262,303,450,520,492,544,440,346,328,320,332,401,399,357,365,359,360,343,356,364,342,338,344,330,327,315,319,314,311,310,315,316,324,323,334,320,316,313,318,315,309,307,306,312,299,299,306,320,320,307,309,311,304,310,311,301,297,308,321,323,326,330,339,365,394,398,404,406,406,399,400,406,412,412,420,391,364,372,387,379,388,388,394,389,369,397,428,421,412,422,408,399,411,418,421,395,379,387,389,379,372,370,372,369,369,364,356,348,347,356,351,347,355,346,345,351,364,368,370,378,378,378,390,374,374,386,387,376,358,389,376,397,413,409,409,419,414,419,453,466,458,449,431,455,445,456,445,455,490,472,418,409,409,396,384,348,415,538,590,595,631,666,584,824,775,858,895,825,1544,2064,1114,1202,1254,1316,1354,947,777,886,966,879,822,860,619,402,369,374,373,358,594,596,624,827,818,524,383,388,341,267,240,311,388,365,323,368,358,324,309,367,399,370,358,370,358,356,356,354,354,353,344,326,319,325,356,356,354,388,378,377,378,388,397,395,388,393,404,409,421,425,407,410,392,396,400,401,401,391,384,381,373,362,367,396,411,392,413,409,416,388,368,370,366,355,351,346,345,349,361,371,359,351,359,358,336,340,351,339,325,334,339,328,328,333,317,328,320,329,351,355,352,347,345,339,343,347,353,361,361,363,371,378,369,350,344,346,344,344,344,342,339,333,338,330,342,342,337,338,338,342,345,345,347,341,328,353,353,356,339,349,350,344,344,344,344,341,333,331,331,331,331,325,319,312,311,308,303,309,312,311,311,313,317,311,322,329,324,319,316,315,343,354,354,368,376,382,381,388,389,397,389,382,377,377,372,369,370,373,370,370,370,372,370,370,364,362,362,364,361,353,347,346,343,328,320,325,327,326,326,327,323,315,309,314,309,300,295,302,300,294,294,289,290,289,306,300,294,299,306,305,303,310,314,330,326,314,324,333,338,338,327,318,308,313,310,290,319,326,321,316,308,301,300,305,299,299,308,298,289,288,295,301,300,298,295],[553,517,688,667,787,1198,1462,1912,1824,1740,1418,898,604,534,492,623,854,822,833,1180,1288,1254,1872,1150,740,698,633,678,964,1142,897,804,1196,883,696,843,896,719,578,558,513,554,516,486,436,317,276,267,274,340,537,447,366,324,455,958,1594,1490,846,646,545,354,407,483,581,1178,1712,1142,683,583,545,461,505,772,791,474,825,1208,994,531,325,293,388,494,472,425,389,393,377,411,792,1005,1038,1166,1138,1098,985,866,1088,1212,866,810,578,487,1000,1134,1096,1186,1056,1118,1084,1344,1604,1444,1420,1096,954,695,501,539,482,597,684,807,1018,781,658,681,764,846,774,697,1146,1136,1260,1044,537,466,818,1116,1396,1382,1054,834,652,753,1482,1996,2238,1860,1476,1468,1250,1001,1132,1346,1298,1242,1378,1338,1070,1074,1034,1190,1038,713,810,828,852,869,1072,1114,817,596,617,1264,1424,1454,1072,731,623,489,421,412,503,664,919,1202,1422,895,772,1472,1340,796,753,1190,1698,1750,1714,1300,621,736,604,328,336,328,821,1804,2076,1448,977,1112,1146,1246,1282,1240,1362,1308,1114,1048,1218,1250,1206,1516,1824,1394,761,637,736,1166,857,450,340,344,933,1288,797,729,1184,952,422,422,804,1422,1440,976,996,1312,1610,1508,1556,1566,1516,1442,1294,771,610,798,1312,1780,2144,1470,813,624,744,771,671,925,1256,1400,1436,1420,1026,801,977,919,1088,1050,1042,913,799,906,1122,1270,1338,1164,1202,1466,1426,1102,1248,1164,821,510,516,666,759,847,983,969,1092,946,611,595,543,479,478,691,938,1380,1732,1648,1692,921,583,569,444,367,488,940,1510,1318,919,1070,886,581,596,655,1060,1172,660,421,395,370,392,382,343,339,310,303,382,435,451,445,558,473,510,500,591,663,556,539,622,680,874,1384,1498,1056,1144,865,1021,1356,1480,1162,852,1272,1678,1344,1318,818,597,688,948,1156,1500,1590,1238,1348,1324,1344,1390,983,1146,1234,1064,1064,1106,968,636,663,1180,1314,688,703,874,1260,1644,1394,1076,1334,1198,824,933,1454,1178,930,1100,1158,930,930,1718,1832,1606,1776,1836,1498,1294,1400,1234,1180,1300,1348,1316,1136,902,616,649,814,893,1124,1292,1512,1652,1606,1368,1062,718,676,732,572,780,835,520,441,442,422,571,784,788,946,1180,810,912,1490,2182,2264,1670,1100,666,514,597,811,709,493,646,1030,1040,1066,583,472,596,609,526,608,626,598,507,357,461,608,885,1100,1570,1876,2024,1720,1338,1108,1196,901,547,642,770,1236,1206,1068,1010,1052,998,918,937,852,1030,1244,1202,1078,1238,1001,780,800,932,957,871,1058,714,387,314,337,745,1570,1716,1584,1312,1592,1862,1380,1698,1318,684,521,506,382,287,365,457,600,696,822,928,803,733,670,710,625,563,825,1252,1566,1504,1332,1560,1792,1798,1794,1772,1644,1222,967,759,654,1154,1682,2282,2048,794,612,445,447,802,1052,720,437,580,1052,1388,1220,1188,1402,1402,1496,1166,955,1072,1232,1288,1236,1508,1496,1572,1890,1334,935,525,528,735,558,305,321,295,275,265,264,254,265,277,346,433,487,560,587,581,523,576,620,645,668,697,866,702,365,404,426,462,516,1015,1434,1302,1244,1088,1212,1454,1554,1850,1744,1388,940,1000,940,807,868,971,817,764,977,1384,1532,1574,1376,1172,1262,1112,1376,1416,1272,1042,1038,1178,1394,1280,1021,932,1156,1108,1502,1730,1432,1548,1396,1246,1003,861,878,963,874,718,778,700,725,822,852,800,716,662,774,1154,1648,1814,2096,2400,2002,1382,1128,1144,1562,1776,1282,1002,1068,1202,1430,1532,1644,1626,1296,1228,1204,1188,1142,1680,1770,1384,1190,1110,1210,1534,1458,1310,1404,1412,1742,1710,1726,1438,1262,1294,1440,1302,1094,1362,1698,1248,1066,1184,1268,1268,1384,1434,1248,1078,1090,1162,1152,1140,999,844,1012,993,1064,1108,906,887,972,702,568,524,364,563,648,612,1062,1244,873,811,995,1440,1150,1074,1550,1870,1308,711,1030,1356,2140,2214,1758,1996,1672,1454,968,737,780,641,467,525,550,717,696,585,687,584,794,1182,1462,1498,1626,1446,1232,1340,1506,1688,1576,1478,1528,1560,1434,1422,1498,1452,1460,1312,1168,1234,1740,2026,1628,1476,1500,1416,1388,1542,1564,1558,1912,2558,3834,3348,1662,1314,1290,1532,1746,1908,1746,1428,1208,1150,1312,1654,1958,1208,1282,1230,959,581,491,463,384,488,609,502,515,590,672,872,1034,1090,1266,1216,1164,1162,1510,1422,773,731,819,823,1180,1174,761,662,802,778,608,566,600,640,872,1272,1248,1190,913,498,936,1652,1136,1116,1108,1032,874,500,435,693,881,1032,1074,943,969,1072,1270,1260,1288,1306,848,666,1024,1110,1236,1292,1168,1118,1160,1342,1364,1266,1170,922,1102,1138,1146,844,791,1194,1144,651,407,454,440,549,760,1388,1028,1178,1726,1598,1180,1464,2004,1812,1302,1202,1450,1604,1804,1494,1660,1522,1222,1228,1180,1024,1158,697,887,1348,1116,1108,1522,1342,1030,1020,716,1128,1306,1130,1252,1148,876,958,968,1230,1180,972,1186,1266,1158,1028,457,510,991,1570,1586,1726,1610,1182,1482,1062,988,1582,1284,969,1038,996,1124,823,521,686,1066,1642,1432,758,601,1116,1238,861,924,1024,974,1406,1148,895,1166,1266,736,1040,1434,1344,1368,1372,1232,1246,961,826,543,593,1188,1172,666,468,484,377,307,394,619,858,778,649,594,482,980,1748,1744,1256,944,832,795,822,1136,1080,842,1046,1288,1552,1420,844,604,751,965,962,608,440,482,518,644,404,319,324,557,592,733,706,692,921,1138,903,513,646,627,545,683,1042,822,1070,1116,1158,1480,1500,1410,1116,1122,1360,1194,1266,1346,1432,1078,1430,1660,1354,975,854,1188,1110,678,542,550,983,1048,1106,938,1208,1262,1310,1184,856,1054,1356,958,567,457,539,1166,1990,1408,1256,932,506,564,647,436,338,330,343,321,322,332,325,347,903,824,462,595,751,742,839,957,1108,1220,1216,1164,1026,1064,913,639,533,532,530,540,434,426,481,445,417,401,430,411,425,418,473,494,426,387,474,730,808,752,604,680,1108,1262,1150,962,1032,1156,1088,1102,1058,1210,1108,924,624,657,687,535,351,822,1068,707,565,850,1009,720,651,675,773,766,646,558,551,730,615,741,963,747,674,974,1128,1466,1404,1264,948,993,1056,820,661,939,1028,656,773,1068,1396,1044,876,883,727,621,631,551,533,552,507,471,517,498,401,325,382,548,606,621,711,717,593,381,368,404,337,274,261,262,361,567,664,677,504,343,294,312,340,368,387,363,374,345,364,350,354,357,339,320,327,322,306,321,320,307,321,309,303,305,308,299,307,311,306,304,309,303,302,313,300,307,303,309,304,299,315,322,319,311,306,311,304,305,321,323,322,313,320,327,339,361,385,385,375,402,408,387,387,404,408,409,419,403,379,391,394,387,394,379,391,388,374,394,408,409,404,397,393,397,401,413,428,411,386,390,390,363,355,364,368,368,372,368,363,354,351,351,343,338,345,341,340,353,353,358,365,371,359,362,375,371,378,378,390,383,370,372,369,375,390,404,404,411,413,428,432,461,450,446,439,443,432,421,439,448,453,468,457,429,423,401,355,322,439,539,570,642,685,642,700,947,831,1050,750,508,815,744,674,1120,1220,1332,1142,562,460,751,895,786,733,770,626,429,386,350,362,317,391,500,547,497,404,339,355,356,444,357,298,337,346,336,301,279,306,327,354,376,403,368,346,346,350,354,354,359,356,360,354,342,362,356,339,339,364,376,367,374,392,400,399,397,388,386,390,394,401,405,401,401,399,393,396,409,405,396,390,384,375,365,363,379,403,403,420,420,423,396,375,381,365,363,351,346,340,345,359,378,371,366,353,341,333,336,347,341,341,339,329,333,331,346,343,327,327,343,351,353,347,347,345,341,349,351,358,365,366,363,361,361,358,344,332,338,339,339,340,339,336,338,354,342,344,335,332,333,337,343,351,343,341,333,342,345,347,356,343,354,345,336,346,342,346,344,340,336,332,331,324,319,319,314,312,314,324,327,315,311,311,312,319,312,319,331,331,333,333,331,355,366,360,376,380,387,388,386,381,386,388,384,386,363,348,386,370,368,363,364,366,362,362,369,371,366,363,364,362,354,347,341,332,326,327,327,320,324,325,323,321,321,327,327,335,303,301,311,303,299,295,294,298,298,299,294,298,307,310,298,323,324,330,319,332,319,321,328,333,330,321,320,319,319,308,324,330,332,329,324,316,308,296,304,296,289,297,293,290,287,293,294,303,300,295],[438,642,891,658,833,1310,1478,2014,2100,1812,1228,1216,1628,1176,689,1102,1530,1264,1180,1760,1790,2154,1648,758,689,749,714,544,552,722,788,948,1616,1040,614,788,922,729,785,678,568,621,592,454,363,279,248,249,276,399,495,460,393,349,697,1528,1826,1570,1013,698,620,427,504,438,589,1182,1418,1072,637,524,519,515,448,901,832,506,394,364,474,412,348,342,480,596,464,453,446,445,626,563,571,658,853,1064,919,792,971,1172,1294,1160,1204,1444,1290,720,664,980,1178,1190,1068,836,625,1166,1730,1520,1280,925,752,491,455,464,452,487,858,1196,1058,780,659,758,967,1246,1050,593,926,1110,1224,847,566,660,735,904,1286,1564,1516,1464,1316,1136,1600,1952,1842,1302,1154,1268,1238,1218,1354,1378,1210,1058,1094,985,883,1176,1138,1044,764,479,563,966,1304,1256,1606,1612,1888,1476,1440,1700,1644,1516,976,723,703,650,504,451,574,601,552,599,758,778,1328,1490,926,553,556,928,1474,1686,2146,1318,542,614,484,326,281,387,1384,2112,1870,1334,920,1404,1324,1007,810,957,1146,1184,1126,971,808,684,910,1164,1318,1338,1122,619,693,1230,703,415,427,462,1196,1416,771,883,1078,847,444,550,1496,1858,1440,1364,1424,1300,1430,1840,2042,1702,1576,1504,1402,638,556,897,2116,2394,2496,1640,733,761,850,724,730,1020,1202,1470,1378,1256,1354,1306,1256,1230,1058,951,962,1130,1404,1386,1186,1230,1290,1160,1246,1204,1424,1540,1266,1013,586,387,554,959,871,724,979,1158,1082,826,527,481,571,481,576,857,920,1378,1654,1234,946,643,572,657,539,431,424,863,1610,1484,952,1028,723,636,1160,1012,711,747,620,496,457,449,476,431,412,387,400,353,347,358,419,381,410,392,439,516,557,579,606,722,678,568,686,901,777,869,983,904,1056,1154,1542,1408,1450,1434,1134,1320,1632,1232,515,472,774,969,1124,1246,1440,1354,1322,1638,1764,1282,879,977,1064,1130,1040,918,821,633,902,1224,653,498,787,1434,1610,1430,1312,1234,1190,1005,1162,1714,1490,1502,1334,1166,741,1098,1776,1190,1118,1572,1448,1168,1374,1262,953,1026,1214,1300,1260,1120,956,841,753,865,826,797,1298,1588,1570,1520,1406,1334,1032,1168,1282,933,619,480,398,362,366,382,431,507,759,1220,1284,973,873,1044,1354,1738,1366,804,639,606,727,998,1009,857,881,1126,1158,962,705,581,508,483,488,567,746,1086,1180,760,587,848,1132,1472,1824,2054,1810,1572,1484,1356,1144,596,500,572,860,1252,1290,1192,1106,1138,1178,1318,1366,1160,877,917,962,969,1048,1112,1023,937,875,920,940,981,826,505,389,463,900,1726,2120,1914,1954,1908,1586,1442,1774,1362,705,498,492,484,366,382,455,591,749,991,1150,1060,856,727,849,738,511,822,1428,1814,1416,1326,1620,1680,1704,1722,1810,1602,1290,1170,1012,1302,1578,1442,1288,785,431,465,424,497,1472,1488,635,648,801,962,1230,1028,1296,1546,1470,1242,783,1136,1360,1356,1382,1324,1276,1328,1678,1728,1034,831,781,664,653,411,278,322,305,282,271,262,264,283,307,508,477,525,544,603,625,606,596,648,638,651,758,971,547,371,424,474,472,574,1388,1612,1272,1258,1064,1162,1424,1554,1266,974,900,860,917,698,841,1066,1182,1400,1412,1064,1162,1466,1412,1084,1058,1294,1262,1132,1114,1244,1168,875,935,1178,1040,1148,1276,1344,1334,2214,2076,1740,1686,1602,1378,933,796,940,1176,942,688,745,809,855,790,951,877,671,665,784,1112,1450,1926,2512,2332,1950,1410,1152,1250,1864,2174,1610,1356,1656,1418,1344,1470,1676,1642,994,1088,1210,1210,1294,1406,1448,1412,1188,1156,1268,1440,1342,1424,1622,1440,1444,1534,1422,1058,840,1126,1118,995,1078,1238,1238,1158,1496,1588,1278,1188,1340,1306,1102,828,661,927,1084,994,1202,1016,1114,796,664,698,814,839,599,633,1050,1142,459,444,599,689,883,910,866,907,1040,1108,849,962,1318,1324,862,742,680,1005,2272,2458,2410,2496,2386,1688,909,868,807,448,399,499,572,781,827,641,455,441,681,1264,1322,1166,1302,1454,1316,1306,1534,1692,1696,1620,1450,1330,1338,1418,1406,1478,1394,1390,1282,1152,1494,1604,1442,1434,1534,1510,1360,1408,1402,1208,1194,1456,1612,2086,1626,1462,1682,1746,1646,1550,1394,1524,1336,1286,1572,2630,3022,1220,1112,1124,865,513,382,345,342,447,525,459,494,525,531,781,1004,1222,1164,1124,1122,1220,1704,1290,533,520,676,894,1172,1062,714,614,788,1194,1860,1002,576,521,706,886,798,1134,1034,555,980,1516,1166,1244,1398,1168,730,474,493,738,869,883,900,980,996,988,962,977,1282,1134,930,958,1042,1152,1350,1292,1306,1264,1228,1316,1370,1338,1078,1036,1246,1372,1394,1234,1168,1124,932,962,702,722,908,826,745,929,714,797,1138,1306,1564,1864,1910,1570,1344,1184,1392,1714,1832,1692,1448,1406,1574,1466,1058,1096,1194,963,991,1216,1090,1534,2720,2178,1356,1262,962,1390,1220,1086,991,925,959,1138,1134,1184,913,771,1060,1032,928,1009,410,352,446,987,1450,1192,1302,1568,1994,1674,1354,1406,1064,810,1224,1154,794,463,358,407,591,860,1052,943,660,973,999,600,608,1048,1502,1826,1154,727,906,809,642,1258,1658,1720,1808,1574,1130,1266,1232,901,720,865,1172,1074,856,878,731,368,573,852,435,745,1168,921,644,735,1560,1958,1820,1334,724,809,971,542,600,908,1140,1084,891,1246,1094,530,490,735,1104,1246,1002,777,659,361,290,314,481,372,381,639,745,755,749,698,969,912,663,526,541,616,647,664,669,1112,1234,1492,1694,1470,1474,1296,1118,1110,1282,1366,1556,1566,1368,1316,1472,1520,1050,905,1390,1528,951,698,861,1114,1336,1302,985,1002,1194,1416,1210,765,817,1024,1012,951,698,637,1296,1830,1618,1604,1360,709,410,564,581,673,387,330,336,299,310,263,591,1042,727,545,586,602,602,915,872,1152,1276,1086,818,724,764,694,554,466,471,506,477,407,414,417,447,489,469,477,525,552,547,590,493,394,368,385,585,697,596,758,1102,1238,1226,1036,825,1008,1390,1642,2242,1194,932,1300,1392,921,721,687,557,461,480,679,959,641,809,905,603,631,671,607,498,568,591,712,977,908,796,1015,864,623,849,969,1122,1298,1266,974,925,946,989,727,778,1034,812,682,855,917,953,995,1072,831,691,629,681,700,623,530,515,494,415,380,361,373,518,508,479,532,651,632,384,353,461,400,290,271,309,424,553,599,537,448,384,304,314,323,310,347,404,429,361,345,354,356,344,342,332,328,326,313,323,323,305,311,304,304,306,316,316,312,312,302,307,312,304,304,319,301,306,307,312,304,299,320,331,318,310,305,300,301,305,312,310,316,314,324,337,350,356,368,378,375,396,373,385,386,386,393,408,411,408,407,413,399,386,399,396,396,384,373,397,403,408,415,418,411,397,392,414,423,406,391,384,384,374,368,366,369,376,376,368,363,357,346,340,336,329,335,335,339,347,339,335,351,369,365,368,365,364,367,365,374,370,369,365,365,376,399,409,394,415,427,433,431,450,432,428,435,428,421,419,433,438,439,457,478,475,437,401,384,328,407,554,688,758,743,755,1222,1686,741,594,618,627,878,621,442,694,1104,1296,814,511,636,889,917,661,527,426,440,417,331,304,296,242,296,396,387,287,307,374,316,283,388,355,322,333,335,316,284,291,331,378,391,366,405,357,353,350,346,350,365,378,356,354,374,356,362,362,341,328,354,364,380,391,388,384,392,405,390,381,380,379,384,386,397,388,392,401,408,413,410,401,391,390,385,367,359,375,388,391,396,400,403,387,378,376,355,359,353,347,341,336,353,370,381,382,355,353,345,351,349,343,341,335,339,346,343,332,326,326,333,328,349,349,335,349,346,341,347,353,358,365,361,349,341,333,343,357,339,340,334,339,338,343,327,336,343,348,340,333,330,327,332,335,365,347,345,350,354,345,351,356,351,361,350,336,350,359,363,340,347,347,334,332,330,324,323,323,318,325,319,312,312,314,312,308,339,332,319,319,330,336,343,346,337,365,374,386,386,388,388,386,392,396,396,390,379,375,375,360,361,367,362,370,353,359,376,374,375,367,363,365,369,356,341,334,327,325,325,325,324,323,319,321,321,321,318,323,372,335,294,316,312,303,300,301,301,303,305,300,303,308,317,287,333,339,326,337,348,321,307,300,321,327,324,320,320,327,320,335,337,334,329,328,326,304,299,311,296,294,290,287,293,298,308,308,305,299,298],[580,761,926,767,887,1074,1122,1438,1706,1476,1044,1432,2338,1794,1220,1528,2064,1764,1628,1748,1708,1816,1160,604,536,530,554,561,551,491,760,1086,1706,1122,510,625,889,1124,966,695,620,667,667,416,314,286,249,245,313,451,501,451,502,485,667,1510,1554,1356,1088,747,607,464,554,554,523,516,583,675,655,469,471,521,465,559,550,447,374,419,541,539,454,465,593,769,466,480,428,566,1011,1028,854,634,575,725,725,717,1094,1210,935,850,1218,1222,1212,962,1021,1334,1496,1306,1392,1462,1122,1184,1670,1778,1536,948,520,444,408,410,326,496,1024,1030,836,604,475,656,784,874,691,522,613,846,851,639,830,934,875,868,1542,1698,1608,1592,1730,1748,1782,1654,1286,921,766,937,1070,1324,1756,1616,1494,1294,1114,1082,935,844,1023,973,846,891,1162,1496,1468,1622,1898,1854,1938,2088,1764,1400,1682,1312,687,720,808,621,499,514,586,482,475,460,403,562,1050,1158,826,515,509,874,1060,1038,1318,905,636,589,593,461,406,490,1226,2052,1952,1250,1088,1262,1368,999,888,1480,1622,1288,1009,818,577,457,528,890,1160,1412,1400,974,788,919,647,435,413,485,979,1218,922,1346,1230,788,479,753,1648,1516,1310,1556,1570,1368,1438,2324,2558,1590,1356,1278,1260,1240,935,952,1802,2064,1880,1418,1021,1120,1120,994,945,1300,1404,1584,1366,843,941,1332,1522,1372,1138,1084,885,1300,1378,1352,896,846,885,1210,1420,1238,1556,1708,1312,934,484,443,705,1280,1154,796,1196,1460,1246,1204,1068,738,632,571,729,1116,1100,779,1024,894,619,444,388,461,553,660,659,871,1346,996,797,1023,902,904,1412,1218,628,493,525,484,489,516,490,479,464,447,472,415,345,407,422,389,398,379,349,446,568,623,614,822,692,716,579,683,725,869,902,1134,1262,956,1290,858,1136,970,818,1214,1896,1154,370,397,489,683,1021,1390,1338,994,1302,1714,1794,1582,1082,958,1134,1154,1040,977,1019,741,423,421,450,603,798,1134,1214,1116,1132,1190,1372,1240,1248,1406,1580,1904,1518,1052,755,677,1252,1230,1064,1144,1026,1064,1310,1322,962,634,808,1048,1162,1000,974,951,721,605,670,840,1314,1560,1530,1480,1562,1402,1364,1368,1288,1154,852,538,506,421,424,514,452,488,688,1388,1334,1162,1402,1250,1238,1328,1114,1054,863,889,980,1021,1376,1170,1172,1106,1102,1182,1140,912,602,555,728,943,806,1212,1338,949,1068,1142,1318,1772,1964,1670,1140,1444,1500,1238,733,405,560,539,747,1166,1152,1188,1290,1184,1074,1186,1300,1246,1268,1178,991,979,683,797,932,1048,1048,1102,1186,1140,987,820,440,482,1040,2050,2178,1360,1510,1680,1574,1594,1452,1084,708,471,449,486,396,342,485,572,703,1034,1358,1394,1092,952,1382,1372,1028,1176,1674,2098,1482,1498,1730,1704,1644,1670,1716,1546,1288,1100,997,1870,1974,1630,1200,682,466,567,571,642,1198,1240,808,724,752,752,960,1140,1382,1148,1036,670,426,497,826,1342,1372,1350,1506,1522,1520,1280,854,659,673,603,677,550,324,318,303,295,272,268,266,311,364,520,538,554,552,637,832,768,628,658,648,664,801,824,418,377,434,527,577,525,865,1222,1150,1352,1250,1118,1034,850,680,916,1176,1404,1244,939,993,1102,1146,1062,985,987,854,863,766,766,753,965,1034,830,833,1054,1166,927,861,1114,1078,1048,1256,1432,1752,2042,1896,1972,1638,1386,1204,1060,952,1058,1340,982,1094,1204,1090,925,1244,1436,1266,1344,1328,1002,1009,1230,1658,1804,1490,1450,1410,1110,1266,1994,2182,1600,1382,1468,1412,1538,1628,1652,1058,946,1278,1162,1256,1538,1470,1512,1498,1434,1378,1208,1272,1506,1428,1200,1102,1170,1208,1356,1202,915,1276,1156,1186,1250,1372,1180,1260,1730,1592,1212,1148,1228,1240,1012,1021,650,712,863,1182,1512,1336,1074,840,724,748,926,780,560,589,1108,999,838,798,735,815,866,658,702,929,970,1228,1138,950,945,1340,1454,1582,1068,1082,1626,2152,2690,2940,2842,1956,1266,910,666,440,549,591,561,611,844,720,426,487,713,875,854,894,756,1036,1316,1318,1558,1786,1772,1594,1448,1432,1494,1420,1446,1674,1490,1526,1462,1236,1388,1578,1634,1530,1380,1310,1336,1390,1732,1472,1374,1474,1812,1676,1944,1806,1652,1652,1574,1422,1484,1452,1366,1406,1266,1058,826,924,838,688,534,444,405,389,403,473,493,481,524,581,538,715,575,731,1020,1152,1180,1412,1418,815,527,476,645,1192,1434,1248,1122,993,845,1018,1007,727,857,593,659,984,907,957,996,730,573,556,688,753,622,536,590,521,536,762,778,802,1005,1174,1108,1052,805,1022,1350,1222,1156,1308,1346,1084,1200,1208,1460,1388,1328,1378,1378,1212,1076,1144,1256,1260,1252,1310,1050,745,963,1068,813,1126,1112,670,852,934,652,830,1144,1388,1604,1400,1292,1318,1384,1274,1550,1904,1790,1510,1360,1466,1742,1286,993,924,689,1140,1256,1064,1334,1618,1646,1490,1096,774,976,1396,816,651,617,888,1166,1404,1306,767,807,1026,1296,1060,691,480,401,441,480,853,1092,941,1003,1326,1708,1584,1566,1174,972,982,860,808,899,730,487,540,521,788,1472,1422,514,650,915,819,932,1044,725,407,340,389,599,816,915,1184,1136,1198,1116,1192,1246,1696,1628,1256,1270,1412,1340,834,1002,1284,1056,738,1324,1350,574,641,737,850,960,1222,1510,1682,1570,1044,564,490,445,356,542,1246,1796,1640,1128,879,624,508,327,509,899,976,948,1218,1074,496,292,370,600,572,342,434,570,715,688,496,618,878,893,581,677,897,951,753,968,1476,1932,2344,2398,1668,1424,1282,994,904,958,1260,1348,1236,1462,1446,1302,1428,1304,982,1118,1094,1080,1009,1104,1262,1112,869,836,1002,1096,1038,532,510,657,876,1116,1080,690,554,1138,1664,1548,1570,1376,1038,438,588,694,612,383,321,331,314,271,352,898,955,669,568,527,507,464,683,783,872,727,697,644,573,615,544,516,510,483,531,506,429,400,382,421,476,498,470,529,620,582,542,443,373,344,369,500,539,829,1482,1582,1244,1290,1112,976,1504,1682,1650,2012,1294,1250,2174,2038,1338,1038,702,565,530,507,653,1007,737,593,478,437,421,499,560,457,505,765,986,1086,1062,783,953,1034,830,728,760,838,1156,1144,917,949,992,1158,777,758,1028,1228,830,973,1272,1254,1248,977,634,546,577,689,595,478,454,491,486,446,417,396,422,520,477,449,562,616,612,412,343,363,366,276,255,339,547,619,497,417,526,518,432,336,307,288,289,365,439,402,343,354,356,350,348,343,335,318,308,318,323,302,306,310,313,312,309,308,307,311,309,303,309,302,301,305,305,308,303,305,307,300,319,328,328,322,313,306,310,302,309,318,318,314,314,323,325,334,356,378,367,385,387,386,391,389,390,403,406,407,413,401,390,384,399,399,396,383,386,376,386,417,418,408,403,393,388,413,411,411,414,399,391,383,374,363,352,360,372,370,369,361,343,335,329,332,335,339,341,341,347,355,353,357,360,364,354,351,354,355,360,370,379,370,365,382,405,411,396,408,411,414,423,435,428,423,423,419,411,418,441,424,429,446,462,493,504,451,425,429,539,732,833,835,769,826,1284,1152,542,323,390,563,563,601,731,738,861,802,482,545,622,915,870,635,462,314,317,357,331,310,284,256,277,309,332,306,348,417,367,321,322,311,320,332,312,290,325,331,388,419,398,391,391,355,350,358,362,368,372,378,365,362,374,354,334,366,365,352,350,359,374,386,391,388,394,405,392,379,379,379,384,384,382,378,384,401,409,400,392,394,390,390,383,378,385,384,378,388,401,396,388,369,365,357,367,353,347,353,350,330,347,368,373,367,347,356,347,353,355,349,340,349,361,351,341,332,323,328,329,327,343,345,329,341,346,347,353,355,357,361,353,340,336,334,335,343,341,341,334,339,338,336,346,361,344,336,334,333,326,328,339,346,364,357,360,357,347,345,350,343,347,355,363,350,353,347,347,325,341,345,337,336,334,332,332,329,323,320,322,313,311,320,318,320,323,336,332,308,319,325,330,332,332,360,387,390,388,384,384,390,391,388,394,394,362,368,373,371,366,359,361,371,359,368,373,374,376,367,362,364,371,359,342,333,324,318,324,333,336,323,318,311,311,321,321,314,365,342,327,320,303,303,301,301,301,305,308,308,308,310,326,315,338,351,321,320,345,337,324,314,317,339,340,321,321,334,319,321,332,326,321,330,337,321,307,294,299,297,290,290,286,300,303,286,287,290,300],[490,566,667,738,965,1062,1172,1504,1588,1268,965,895,1274,1706,1310,986,1406,1488,1676,1536,1318,1574,1382,879,605,477,471,508,522,594,838,1192,1588,1246,971,962,1180,1274,864,805,611,673,630,393,338,303,276,291,322,462,600,479,621,657,493,1012,1384,1622,1322,742,455,475,661,764,715,517,410,408,618,520,485,512,510,440,332,353,329,399,661,547,388,654,1058,1294,809,531,550,663,957,1258,1186,808,772,952,1162,1252,1172,778,773,1354,1194,1344,1350,942,1048,1502,1434,1046,1754,2132,1520,924,1132,1572,1822,1226,520,316,348,332,343,742,1082,904,710,476,414,495,902,1068,935,616,483,554,617,574,654,774,711,738,1296,1608,1542,1382,1248,1100,1250,1512,1476,1124,824,629,689,1292,1908,1776,1664,1416,1282,1400,1170,822,999,1040,1260,1402,1208,1272,1274,1668,2026,1754,1482,1564,1056,611,588,533,539,634,755,544,427,464,487,453,394,398,606,975,1214,1330,1238,767,826,927,710,670,1268,1624,1050,898,1106,567,442,428,518,674,648,611,756,849,1512,1522,1444,1550,1108,659,610,521,458,413,539,1182,1330,1438,1548,1292,912,505,429,432,375,453,744,943,1288,1576,1208,954,729,979,1470,1360,1416,1458,1442,1394,979,1368,1480,1266,1284,1426,1542,1710,1276,897,974,1010,959,905,1232,1350,1216,1172,954,1156,1312,1166,749,511,885,1332,1422,1478,1302,1384,1428,1390,1042,1282,1100,928,1268,1526,1408,1516,1584,1298,1172,916,564,406,394,858,853,530,622,666,690,1062,1010,730,598,571,832,1144,1462,1168,1164,857,445,370,360,374,498,645,1078,1676,1334,726,779,714,823,1204,1436,1148,750,551,433,491,636,576,482,499,510,461,416,404,381,346,360,360,397,359,349,503,591,693,620,697,822,882,755,654,608,742,1114,1676,1576,1023,766,766,814,584,529,906,1019,649,562,546,797,838,1160,1252,910,863,840,863,1296,1746,1490,1032,943,1170,1166,1052,960,902,631,576,684,692,728,767,747,776,742,824,1144,1194,1296,1298,1500,1564,1300,1108,1088,1106,1224,1278,1108,788,647,810,869,1044,1294,1074,722,703,789,955,963,691,581,689,1062,1272,1506,1656,1406,1248,1368,1384,1408,1376,1344,1318,1184,945,843,562,527,586,422,412,621,1098,1202,1324,1412,1294,1220,901,688,1014,1138,1100,981,1009,1284,1290,1184,833,843,1210,989,705,596,519,819,1186,1580,1238,1222,1238,1142,1196,1674,1988,1952,1064,608,808,810,645,496,437,453,494,702,1007,1188,1220,1166,1136,1206,1324,1178,1220,1322,1296,1346,1116,933,943,1072,1224,1186,1116,1200,965,816,730,544,531,711,1150,1618,1500,1398,1452,1438,1670,1720,1090,634,452,416,453,426,418,556,679,697,985,1368,1266,1040,1064,1182,1394,1198,1268,1688,1788,1408,1584,1804,1728,1690,1644,1504,1100,959,699,971,1730,2028,1320,683,487,504,631,612,555,514,750,1220,992,844,949,915,1328,1384,1192,836,478,433,500,782,1304,1152,1218,1294,1590,1442,1268,1108,857,561,539,665,568,394,318,265,256,249,272,266,296,429,531,605,673,623,736,1058,665,608,598,603,626,849,676,406,385,369,430,543,560,612,903,846,792,951,883,692,515,600,978,1146,1248,1322,1044,692,781,849,709,1250,1386,1172,1224,1272,1114,874,969,1118,1068,988,1042,1104,916,1262,1704,1582,1356,1156,1128,1666,1656,1544,1714,1250,1122,1178,1090,979,1050,1332,1186,1108,1240,1154,992,918,1054,1738,2236,2382,2010,1298,1116,1154,986,899,1110,1358,1262,1314,1648,1614,1268,1378,1072,1070,1322,1634,1448,924,1214,1358,1170,1244,1470,1250,1254,1192,1534,1388,1188,1236,1260,1070,700,624,937,1272,1476,1316,901,1208,1310,1302,1284,1244,1194,1366,1560,1314,1108,990,1216,1266,716,738,991,1072,966,1088,1252,1252,1086,1088,803,853,777,644,649,432,524,436,718,1032,962,811,755,520,908,1124,813,1314,1224,854,923,1366,1394,1276,1152,1286,1624,2468,2876,2946,2642,1802,1174,635,384,547,687,664,652,616,649,588,419,508,702,874,1086,942,739,731,1116,1046,1184,1378,1516,1616,1520,1586,1586,1544,1552,1594,1526,1988,1888,1570,1606,1614,1574,1618,1268,1144,1496,1708,1938,1838,1748,1642,1652,1526,1894,1776,1658,1892,1744,1684,1802,1586,1432,1186,1096,1034,962,803,1014,1144,918,680,538,451,488,470,499,580,669,688,598,621,590,647,786,1040,1308,1372,1066,680,774,814,792,1290,1376,1266,1250,1058,812,865,1010,1116,1140,765,658,1017,750,889,1178,1130,938,909,1422,1656,827,667,725,670,624,597,614,766,1078,1274,1346,1272,1208,1280,1122,1003,1034,1210,802,913,1186,1194,1396,1468,1598,1668,1418,1098,1078,1160,1324,1174,1198,1242,998,675,846,992,744,878,940,740,930,912,1164,1288,1302,1772,1630,1104,1154,1168,1186,1198,1410,1746,1736,1466,1576,1380,1554,1210,1092,1090,1096,1190,1003,1122,1826,1294,910,893,625,386,853,1170,801,788,710,808,1210,1702,1240,459,922,1914,1296,919,613,341,490,641,739,832,692,680,807,998,1294,1446,1242,1182,1078,742,611,686,843,890,1138,1346,847,739,1152,1110,654,1386,2050,1476,1152,1086,641,404,726,918,766,1354,1376,1544,965,709,963,1160,1100,1218,1378,1664,1382,1046,1268,976,630,782,857,1156,1432,873,578,730,722,533,640,1018,1158,1188,1086,911,613,432,363,379,407,741,1160,1318,1368,1072,656,523,362,370,486,492,573,800,614,388,346,328,625,937,536,374,503,825,598,437,363,581,691,691,857,999,722,655,1156,1614,2950,2636,2124,1652,1368,1340,956,502,675,1142,1282,1432,1396,1260,1316,1062,1116,856,615,653,876,1112,1474,1418,1048,1064,701,947,1034,876,636,701,603,828,1268,858,493,659,1030,1512,1448,1404,1076,1208,559,474,594,462,357,331,305,292,292,649,1038,666,668,561,456,419,385,513,695,700,703,752,554,451,477,488,547,506,487,515,501,414,349,398,451,462,473,462,550,520,502,535,501,409,311,369,541,840,1332,1764,1954,1310,1318,1202,1494,1578,1392,1480,1706,1566,1908,2316,1826,1492,1344,976,584,494,562,539,623,569,525,556,538,441,477,535,495,490,625,672,821,860,756,952,1074,910,665,586,651,975,1134,895,744,859,1016,916,929,1005,1148,938,857,1024,1146,1126,923,619,584,707,619,453,382,449,501,474,382,308,335,473,614,627,497,590,590,614,495,393,317,332,306,278,402,662,793,698,681,787,681,632,410,301,298,290,301,373,389,351,352,346,348,350,335,325,314,301,312,312,309,317,316,320,317,301,300,307,306,313,303,301,302,304,308,309,309,304,308,309,303,326,328,331,313,295,296,302,294,305,320,316,319,325,320,334,349,361,381,380,389,395,390,389,386,388,393,399,391,401,396,393,386,393,391,395,386,382,382,390,412,423,423,409,398,403,415,409,421,425,395,374,375,376,364,353,359,360,365,372,360,344,335,335,331,327,335,335,340,339,347,352,343,348,358,354,348,343,344,354,366,370,368,362,362,393,406,395,395,403,421,413,409,423,423,415,408,405,405,418,419,425,437,428,456,515,496,472,558,798,1102,1138,980,907,793,615,445,369,375,433,360,325,372,464,576,597,499,388,528,464,776,736,527,476,343,290,333,361,307,301,304,308,290,276,265,304,375,353,288,296,291,324,322,299,288,311,327,372,412,401,383,405,388,364,363,379,374,380,377,367,366,374,370,360,371,366,357,350,358,370,384,391,409,370,391,385,379,380,379,378,376,380,394,405,405,404,404,404,405,388,384,379,377,370,367,374,380,377,374,365,367,367,362,357,339,340,356,353,332,343,369,368,368,353,347,347,353,353,350,350,349,335,339,339,321,329,328,320,328,335,339,339,339,345,347,347,349,351,355,351,338,328,328,334,330,335,336,334,333,336,334,339,332,332,331,334,328,334,340,354,362,365,366,363,345,337,351,354,343,349,357,363,360,350,343,347,338,338,339,339,338,337,328,326,318,325,312,332,313,307,318,316,318,318,320,322,328,342,338,324,322,357,378,393,394,391,385,382,382,382,381,376,376,369,369,357,365,361,359,359,356,362,367,367,371,376,363,353,355,354,349,350,343,325,319,318,319,317,333,313,308,318,321,316,308,335,337,337,317,305,300,301,302,302,305,307,313,315,324,329,338,348,355,352,334,346,338,343,328,286,310,332,326,324,329,324,322,322,315,315,328,338,324,310,298,295,295,295,296,291,299,310,298,298,299,305],[416,448,400,493,796,1011,1252,1614,1554,1278,893,677,648,892,927,890,927,1128,1606,2088,1886,1870,1664,1412,801,585,574,541,499,714,836,1242,1664,1776,1930,1392,1088,1230,893,795,752,637,504,451,377,301,303,307,301,370,472,447,609,586,351,538,1204,1702,1408,802,394,501,679,733,678,622,470,392,552,486,389,390,464,471,339,363,349,464,832,607,370,568,1078,974,599,478,513,528,855,1332,1174,959,1122,1158,998,703,541,390,438,800,1042,1338,1144,759,717,999,1188,1380,2302,2548,2382,1172,512,987,1460,1288,763,450,321,326,519,1202,1022,805,542,372,562,932,1007,1234,1256,888,730,687,597,592,426,625,654,1022,1548,1672,1326,899,846,617,518,1108,1622,1592,1272,949,660,1096,1670,1926,1574,1144,1074,1222,1200,1208,1408,1562,1628,1796,1370,863,1030,1272,1528,1522,995,667,518,367,394,384,408,481,532,461,447,544,569,379,376,562,933,1142,1298,1654,1202,739,1030,1344,1118,753,1062,1416,1010,885,1268,768,404,339,316,359,428,460,357,866,1532,1678,1976,1964,1422,705,711,688,593,379,428,756,918,1152,1182,1146,860,308,366,453,372,396,512,637,1260,1474,1190,1272,1378,1544,1300,793,987,1168,1332,1128,761,1010,1382,1166,1202,1416,1444,1334,918,558,590,688,705,1194,1820,1444,1138,1250,1086,1064,905,656,581,722,1126,1312,1360,1490,1296,1148,1346,974,682,949,1114,1096,1356,1572,1446,1358,1454,1288,942,1060,1064,647,349,399,375,347,506,693,713,895,684,669,611,563,830,948,928,1060,1172,669,524,488,386,397,565,641,1108,1534,948,770,910,830,859,1000,1124,1328,1028,726,730,791,1003,702,535,497,487,507,521,567,564,425,344,330,343,344,437,584,708,684,615,711,865,935,980,861,771,583,980,1730,1606,1266,996,927,1250,1100,695,1064,1290,1106,949,1120,1544,1150,1048,874,597,713,908,741,748,1186,1582,1224,836,904,1082,1064,1084,1170,861,771,900,691,682,912,1230,1092,791,772,1210,1220,1252,1204,962,933,1006,1094,1162,912,828,1044,1128,1144,1214,978,803,762,1068,1244,1154,980,747,510,683,910,1008,1160,1224,1200,1308,1620,1162,1056,1434,1512,1444,1426,1472,1392,1240,1102,807,581,503,535,549,546,769,876,656,857,1048,883,1172,1220,838,841,969,1040,977,916,1230,1402,1182,740,811,1356,1260,789,589,653,897,1017,1224,1290,1476,1308,1090,1508,1904,1990,1346,717,720,924,608,381,583,637,794,1001,1042,1180,1258,1296,1220,1122,1328,1392,1330,1276,1354,1562,1516,1152,1150,1318,1386,1080,886,877,973,860,924,765,530,683,539,381,675,1150,1694,1880,1288,1328,1568,1052,587,466,446,439,506,745,1164,1246,1056,1198,1278,1060,1060,1130,1076,1394,977,620,984,1228,1300,1466,1694,1732,1654,1576,1144,762,664,531,1148,1678,1984,1558,764,461,687,942,734,653,705,1188,1492,929,764,1001,1004,1246,1226,868,442,483,438,449,581,944,818,1064,1310,1406,1316,1448,1582,1222,785,648,566,506,395,386,293,302,296,300,295,360,525,579,568,625,620,741,952,656,614,483,534,610,671,565,528,554,526,501,504,592,886,867,877,777,611,729,703,595,640,756,750,997,1198,1084,799,716,913,1180,1202,1138,1064,1308,1532,1023,763,756,759,1050,1256,1278,1318,1142,1218,1400,1390,1240,946,968,1448,1324,1174,1454,1024,1024,1186,1172,1216,1276,1262,1286,1380,1242,1188,1332,1332,1454,1846,2414,2578,2042,1532,1558,1250,929,1058,1404,1404,1236,1316,1364,1242,1416,1226,714,786,954,1454,1652,1388,1296,1114,1218,1130,1194,996,997,1334,1448,1306,1346,1386,1260,963,907,957,1026,1200,1250,1152,830,1280,1226,1088,1212,1392,1556,1604,1520,1216,1292,1178,1212,1290,970,1003,1240,1116,1066,991,1124,1182,1058,1100,945,863,662,739,530,352,617,731,709,814,771,757,727,499,553,689,690,1176,857,783,1114,1316,1170,742,844,1238,1816,2534,2764,2274,1528,1054,725,409,496,675,772,834,916,1020,843,518,395,486,597,764,1130,1254,825,507,697,953,1144,1196,1470,1648,1504,1636,1634,1692,1708,1610,1428,1682,1728,1634,1708,1522,1426,1296,1100,1208,1544,1822,1766,1858,1830,1612,1522,1474,1530,1632,1794,1890,1804,2012,1724,1544,1710,1484,1330,988,544,445,765,1164,1168,799,549,402,449,418,454,483,611,650,601,685,750,673,719,911,1252,1452,892,546,763,913,952,1128,1202,1290,1236,1240,1390,1186,1120,1160,1184,1056,755,618,511,806,1178,1282,1156,915,1198,1320,816,650,692,727,816,921,811,678,961,1302,1236,1268,1346,1110,1074,1122,833,873,700,973,1166,1224,1238,1442,1478,1388,1334,1136,991,1286,1468,1356,1184,1184,1194,1126,1288,1266,802,500,675,636,882,902,1196,1334,1242,1832,1632,1206,1084,991,979,1212,1202,1484,1692,1416,1670,1414,1314,1314,1316,1430,1172,993,888,1028,1434,1038,965,708,509,496,778,883,712,737,822,797,1021,1114,954,742,937,1664,1142,933,682,694,798,678,606,471,468,672,908,902,1130,871,949,1188,857,625,693,622,616,957,1516,1464,1038,875,756,745,661,1244,1792,1304,901,1056,979,802,1222,1368,772,1182,1238,1304,844,632,930,880,629,605,825,883,841,924,1620,1604,811,662,624,566,566,603,799,804,842,580,417,598,997,1136,907,789,778,564,449,498,390,423,523,819,1128,1074,810,755,708,461,386,424,364,325,683,1122,633,286,458,736,572,486,568,968,937,634,507,644,802,903,1146,1222,1019,916,1098,1102,1778,2308,2358,1366,787,908,776,609,1024,1256,1204,1302,1246,1066,1428,1434,1226,928,629,506,772,1230,1516,1422,1142,1134,1014,981,752,519,528,594,384,716,1266,993,538,567,644,1176,1420,1554,1190,1246,818,469,502,518,360,329,289,247,404,1032,853,618,543,503,445,400,392,478,629,722,727,761,594,440,420,428,427,410,437,472,412,354,438,491,377,387,439,451,495,477,506,621,563,473,389,407,551,846,1366,1426,1694,1454,1404,1552,1560,1388,1360,1234,1290,1702,2096,2202,1866,1528,1398,1378,1000,566,591,599,560,548,614,716,664,607,477,539,541,536,692,787,667,554,477,572,933,967,675,673,635,833,1122,1094,1108,888,1194,1042,877,855,1020,1028,712,946,1278,1050,1001,874,755,792,635,496,419,453,462,376,301,285,360,544,731,708,466,495,465,547,587,478,336,321,331,300,361,594,742,598,649,871,803,875,620,363,298,283,297,360,418,373,337,356,348,332,335,331,321,315,317,317,315,308,298,312,315,314,305,312,307,309,308,308,306,304,304,297,302,302,307,304,294,304,309,311,317,317,309,302,294,290,307,305,321,341,375,364,355,364,369,367,379,391,389,387,375,377,378,391,390,404,404,399,391,384,387,387,382,387,388,391,413,421,431,427,409,407,415,413,414,411,391,378,378,372,374,362,362,360,365,368,359,347,339,331,321,331,350,339,344,327,335,354,337,342,354,354,346,342,349,356,364,368,360,344,354,384,390,399,405,399,413,415,396,409,413,410,403,403,399,382,399,427,441,426,425,472,504,500,621,925,1106,1204,1112,755,625,534,504,565,596,485,398,408,378,376,300,337,359,317,342,298,492,507,409,453,381,323,374,425,331,278,299,315,305,283,258,246,267,258,244,290,321,332,319,287,276,273,308,370,423,409,396,405,380,373,392,372,381,393,377,372,374,374,372,374,362,358,357,356,354,366,392,380,384,377,376,370,374,376,374,372,376,388,395,399,396,388,395,405,378,376,377,377,372,364,362,376,384,386,395,371,357,356,366,354,344,350,342,325,329,342,362,373,370,365,350,347,345,349,344,344,362,350,343,339,321,321,326,323,327,328,331,337,339,342,340,339,339,343,341,345,343,339,335,330,320,325,336,334,335,338,343,346,339,334,325,334,327,336,346,350,364,374,369,360,356,362,358,351,357,351,357,357,357,347,344,343,338,339,337,332,331,329,321,325,329,298,307,331,320,311,310,307,306,306,306,311,324,328,332,320,332,361,374,387,394,392,388,388,381,379,378,382,383,377,361,367,356,341,353,353,359,363,356,367,371,371,359,341,335,333,333,333,324,321,318,317,318,320,321,320,328,327,319,313,317,321,334,332,319,307,302,303,295,298,298,307,319,325,333,338,340,336,334,364,331,334,332,348,334,302,301,320,326,316,321,319,320,318,314,314,324,329,325,312,304,298,296,295,294,286,301,321,308,309,303,307],[407,443,446,473,780,948,1286,1706,1536,1284,1028,906,696,999,1542,1136,750,1212,1798,2408,2458,2084,1902,1180,680,656,757,648,697,739,570,918,1664,2088,1670,1002,1007,1506,1148,832,781,796,897,581,372,308,289,317,307,334,396,383,457,441,332,444,1036,1738,1698,867,350,386,474,471,508,505,443,390,502,462,381,497,511,619,466,429,388,449,751,748,525,333,318,283,344,457,408,543,1050,1444,1242,1224,1270,960,607,426,431,398,358,475,602,745,736,1068,815,537,720,1592,2310,2626,2488,1156,400,634,962,802,624,600,357,373,806,1200,1166,1224,933,589,943,1138,766,952,1294,1468,1338,780,513,525,488,840,985,971,1432,1848,1478,569,505,491,570,1238,1522,963,974,1002,811,981,1340,1626,1676,1408,1106,1058,948,1050,1416,2054,1990,1570,1176,905,524,582,667,734,546,407,406,375,344,389,471,983,1050,767,754,966,866,386,464,667,1005,1066,1440,1730,1076,787,1098,1444,1294,1194,1542,1080,735,853,977,737,443,289,331,393,422,469,441,847,1362,1536,1628,1636,1220,963,1482,1330,741,595,590,577,616,846,1126,1070,774,551,485,544,681,785,922,1026,1276,1498,1266,944,1298,1688,1168,871,1160,1248,977,906,744,1560,1904,1532,2152,1970,1458,1198,641,492,670,883,785,1516,2386,1734,1052,1100,1064,796,589,929,1126,1016,1036,1130,1428,1428,1300,1428,1252,1082,1214,1356,1290,1278,1168,1160,1188,1276,1116,727,443,680,1034,907,577,541,494,501,609,802,813,766,655,647,622,766,1208,1578,1368,1330,1418,722,608,632,466,440,663,838,648,520,495,710,994,998,1150,1282,1490,1804,1370,952,793,780,828,720,587,432,476,597,660,625,628,565,421,309,274,314,419,493,566,568,630,753,811,780,962,919,885,728,601,1066,1384,1226,763,939,1564,1220,627,919,1448,1212,1126,1382,1216,766,534,558,568,720,887,1016,732,723,1372,1390,946,631,789,974,976,1001,897,1046,1498,1022,1088,1022,1300,1460,1290,1186,1312,1230,1028,1046,1020,1013,1104,1118,1008,661,661,964,1276,1508,1592,1466,1142,847,874,996,940,825,941,824,996,1366,1332,1050,1062,1028,1052,1312,1336,1354,1562,1614,1304,1182,1228,1122,1102,1144,1152,884,525,515,840,1182,1180,1042,549,519,764,782,1544,1748,1362,969,705,888,917,1078,1350,1248,1002,948,1320,1588,1474,932,970,1362,1438,1110,957,1318,1296,1060,1414,1812,1948,1540,797,1076,1064,1056,716,388,508,713,1252,1440,1416,1188,976,1060,1200,1168,1178,1238,1326,1310,1308,1466,1556,1404,1508,1226,1142,688,612,1023,1268,1074,1116,1054,637,550,611,612,890,1146,1376,1672,1432,1752,1738,1082,615,537,491,413,573,986,1234,926,974,981,1013,1166,1286,904,990,1148,792,641,1042,1304,1006,920,1400,1654,1626,1492,1114,1186,1098,883,765,990,1332,1262,881,631,781,1056,1198,1082,905,1322,1446,1106,1254,1130,891,965,818,705,596,578,551,493,460,501,691,1058,1246,1306,1382,1354,1298,1322,1196,725,540,542,455,368,388,443,398,438,380,394,534,590,543,574,567,564,478,729,770,577,555,602,582,483,585,724,791,639,622,841,1194,1042,1208,1024,670,677,743,772,890,1120,961,985,1150,1252,1220,819,662,787,766,779,935,1302,1204,767,905,819,1078,1350,1224,1214,1128,1090,1340,1336,1182,1204,1080,1274,1376,1324,1005,1276,1070,1066,1116,1176,1328,1520,1428,1394,1600,1590,1412,1444,1552,1494,1696,2032,2170,1642,1378,1498,1212,1028,1762,2806,2168,1364,1204,1036,1232,1654,1080,579,840,1070,1264,1332,1416,1186,1212,1190,1152,1072,1106,1080,1023,1036,1270,1340,1450,1224,1054,1694,1346,1134,1024,937,952,943,1256,1468,1434,1352,1538,1606,1604,1466,1414,1152,718,861,1240,1168,1132,1116,1212,1450,1384,1356,1138,1236,1036,1048,839,923,1460,1001,488,669,720,566,422,549,962,789,645,532,613,670,713,963,1396,1234,952,1074,875,768,1126,2008,2360,2108,1104,666,666,527,521,589,685,837,917,1264,1484,1284,647,396,439,505,628,849,916,615,438,528,706,847,1044,1426,1566,1382,1570,1604,1788,1764,1452,1108,1130,1482,1668,1754,1614,1578,1294,1072,1368,1772,1964,1754,1678,1538,1302,1324,1422,1438,1558,1882,1864,1584,1528,1512,1506,1826,1426,1120,1124,749,784,960,1122,1001,818,639,497,332,281,401,519,568,459,445,650,834,577,609,894,951,1282,1192,628,785,1020,873,713,889,1220,1166,1160,1430,1058,680,800,1104,1338,1376,1220,1054,1056,981,930,897,604,462,629,866,921,960,870,921,928,952,765,857,1138,725,838,1030,999,703,1226,1194,980,1086,1140,1216,1328,1256,1258,1188,1300,1372,1288,1332,1390,1001,921,1166,1148,1050,1162,1518,1030,901,801,572,871,1372,1250,1296,1050,1144,1484,1128,949,1092,1230,1068,1126,1158,1476,1692,1362,1148,1070,1262,1494,1826,1466,765,921,1058,1320,1444,1018,1048,1158,1056,811,824,996,735,602,869,901,1052,1252,1512,1062,938,744,912,1112,1016,1184,1032,499,398,446,525,548,872,902,855,924,1068,821,662,625,636,620,625,667,544,408,619,849,984,888,844,1196,979,684,1278,1594,1414,732,935,986,633,1284,1810,1526,859,586,700,792,705,511,555,619,668,813,1114,1122,882,912,750,467,371,637,1326,1432,1310,1346,827,566,722,1068,957,852,1136,1148,880,792,511,455,370,355,728,955,907,1094,1010,690,689,769,543,361,728,1464,977,509,445,496,588,658,715,911,940,844,738,703,542,585,775,807,871,1116,1070,790,803,1306,1332,794,535,556,523,540,1000,1260,1166,1168,1076,1102,1422,1484,1136,900,760,641,980,1156,929,946,892,1444,1404,1042,762,609,566,436,341,398,481,804,600,610,699,1152,1388,1466,1252,1226,1011,599,464,605,655,453,294,268,728,1070,635,540,531,535,469,428,458,453,535,662,604,624,538,457,449,429,408,419,532,539,389,424,563,471,347,353,436,471,396,418,451,456,450,419,395,440,446,534,831,1094,1416,1300,1086,1276,1290,1236,1202,1266,1710,2050,2232,2188,1986,2088,1788,1544,1404,955,495,482,581,728,933,1026,1046,1300,774,819,953,995,952,703,475,680,731,560,844,1026,677,802,849,893,916,1180,1100,712,901,1024,990,807,828,1094,794,932,1130,908,866,717,645,722,632,512,433,475,462,401,356,343,412,574,662,538,474,552,546,522,580,573,376,333,345,368,341,378,427,360,370,481,577,738,803,625,351,314,310,429,430,371,354,357,347,344,347,333,321,308,302,304,301,308,304,309,305,318,314,313,301,297,307,320,317,299,308,318,308,302,298,297,298,306,304,306,324,337,317,295,294,289,305,304,322,328,363,358,358,372,373,375,379,387,392,385,363,355,363,384,374,384,397,401,397,393,399,391,370,389,398,383,399,418,428,427,420,407,409,426,423,415,404,390,380,366,372,364,359,360,362,367,366,356,345,335,331,329,318,321,344,329,340,348,346,354,345,348,351,348,352,358,358,361,388,384,382,368,368,389,399,399,411,407,401,401,400,395,401,401,398,386,386,415,439,417,405,428,475,494,547,981,1246,1214,865,709,836,628,572,894,818,535,404,386,408,408,356,354,346,337,326,294,370,510,468,345,338,315,321,365,362,345,361,357,345,342,319,301,292,264,311,342,365,344,312,289,285,277,285,341,422,408,401,398,393,375,393,381,379,385,385,376,374,376,382,374,374,394,356,354,354,364,374,383,371,370,374,374,374,369,368,366,366,370,379,397,399,386,399,391,374,378,362,359,367,370,371,372,386,391,385,388,378,367,354,350,339,329,348,335,337,344,353,368,390,391,361,347,345,344,339,339,354,347,344,321,326,325,321,323,328,331,337,335,332,347,339,329,332,337,335,333,335,332,323,327,322,321,335,328,335,338,338,338,340,336,334,328,336,346,344,354,364,365,364,358,360,360,352,352,352,351,351,355,357,351,349,351,347,337,341,333,326,326,324,325,328,319,318,319,314,312,307,309,312,312,313,313,310,304,323,328,326,343,356,373,376,385,394,389,376,375,376,373,368,362,359,362,359,368,359,355,357,356,357,362,366,361,349,336,331,333,333,328,317,325,321,325,325,325,314,323,324,314,315,314,313,313,324,327,321,309,301,296,295,307,313,319,327,336,336,340,340,334,321,356,336,332,331,346,340,322,312,308,338,344,329,306,322,309,312,315,316,322,320,314,312,297,290,297,301,295,291,309,309,308,302,303],[462,421,555,666,887,1114,1246,1462,1418,1196,1108,1042,764,918,1554,1460,1066,875,885,1522,2046,2426,1982,1080,720,565,644,717,907,574,433,562,966,1406,974,639,780,1266,1554,1648,1300,841,1090,686,288,231,282,292,292,297,324,333,358,367,379,455,731,1456,1362,848,426,330,413,435,519,532,424,450,493,480,488,636,728,951,731,488,559,895,823,780,691,407,371,357,534,897,1034,1002,1050,1198,725,774,941,757,893,810,406,326,341,393,455,568,958,1256,1008,713,916,1182,1544,2396,1860,822,980,1086,912,491,430,570,539,458,1032,1214,890,1128,1316,1188,986,710,625,739,941,1180,1210,606,326,384,595,1144,1194,824,891,1184,902,375,335,411,559,1132,1432,1016,581,343,466,797,1200,1318,1600,1432,1186,1086,979,1040,1332,1578,1564,1438,2452,2410,458,313,374,331,327,334,324,367,486,521,763,1350,1082,724,781,1180,830,480,818,1186,1230,1318,1942,2014,1248,932,1140,1112,1084,1238,1464,996,1056,1256,1084,709,442,338,379,393,410,407,464,961,1468,1232,1160,1204,1024,1422,2046,1330,813,957,1102,902,876,1208,1172,1026,960,853,970,1314,1356,1322,1504,1258,939,1300,1368,1178,1148,963,985,1001,800,625,711,829,984,2360,2388,1886,2362,1788,1450,1308,888,780,1318,1556,1070,1250,1744,1450,895,833,857,807,812,1236,1350,1196,1108,1472,1624,1428,1546,1658,1556,1506,1268,1052,1226,1366,943,938,1210,1738,1494,724,458,454,533,759,1204,1228,963,816,873,1001,1036,761,713,773,739,970,1234,1580,1908,1832,1494,760,483,565,515,493,632,592,451,419,395,760,1468,1240,1406,1284,1210,1318,870,752,903,894,692,663,693,593,648,744,677,537,546,631,565,363,285,300,329,375,394,407,573,706,708,768,902,1078,1130,1064,742,598,788,839,467,429,746,884,915,717,1088,1298,1366,1364,1240,948,639,558,565,684,618,973,955,827,1252,1234,747,443,514,587,555,812,1192,1726,1556,925,1082,1208,1310,1506,1306,1040,1130,1104,912,1058,1046,1302,1362,1084,897,933,788,944,1166,1420,1644,1660,1462,1142,917,1030,798,832,1096,1330,1630,1934,1526,1262,1422,1342,1192,1007,1242,1492,1710,1488,1248,1248,1128,844,952,1230,1216,860,485,507,932,1598,1624,1088,630,500,433,1094,1606,1394,1282,911,757,1040,794,1044,1102,919,711,785,1290,1428,1344,898,960,1428,1464,785,686,1120,1074,1272,1748,1986,1848,907,645,1154,1404,1422,1102,675,594,688,1132,1424,1432,1156,1086,1050,1090,1210,1256,1250,1320,1294,1224,1350,1320,1068,1118,1120,1132,1108,946,1124,1416,1230,1100,1015,774,851,1004,1062,1128,1174,1388,1312,1320,1412,1276,1084,763,505,465,467,567,1096,1078,755,688,611,692,721,495,350,615,1058,1042,847,1228,1368,1494,1450,1730,1786,1538,1304,1340,1350,1296,1216,1128,1106,960,812,630,658,717,713,799,776,1036,1592,1654,1698,1794,1112,1134,1034,934,1012,837,607,512,531,512,490,605,786,1019,1172,1322,1300,1290,1476,1360,1130,804,543,425,329,700,1038,910,765,531,388,490,550,481,466,452,398,456,670,709,591,586,656,738,585,601,684,791,736,929,1322,936,748,1186,1094,847,674,661,760,980,1112,955,951,1240,1188,959,698,761,955,860,871,1184,1598,1168,1064,1188,1184,1280,1410,1550,1412,1356,1604,1550,1084,1042,1196,1292,1772,1642,1510,1358,1108,1118,1426,1308,1078,1196,1478,1344,1510,1806,1834,1582,1682,1798,1770,1666,1594,1656,1530,1756,1436,1216,1168,2066,2678,1992,1242,1150,1230,1572,1732,1198,867,1116,1164,1138,1152,1124,957,1198,1118,1076,1198,1182,1262,1216,932,1104,1040,1226,1252,1246,1496,1034,727,519,727,962,1040,1218,1476,1474,1384,1338,1418,1656,1438,988,941,885,890,1280,1280,1174,1092,1454,1570,1622,1122,1040,1450,1390,1080,1146,1818,2218,1554,714,483,579,469,397,778,918,797,694,555,880,827,565,1032,1446,1066,627,887,1188,1138,1572,2292,2474,1626,730,620,612,695,786,803,929,1082,1328,1560,1600,1332,730,410,384,421,462,467,332,372,517,601,620,609,645,800,1200,1482,1496,1590,1750,1626,1552,1366,1344,1346,1648,1600,1502,1438,1260,1130,1422,1804,1870,1808,1720,1284,1260,1476,1548,1550,1614,2028,1822,1420,1266,1514,1544,1448,1350,1268,1248,945,1236,1086,1074,753,869,667,494,454,447,385,453,489,361,379,465,724,549,542,750,886,1168,1196,863,671,656,647,530,572,851,837,1068,1080,786,591,1030,1308,1394,1434,1256,1292,1290,1060,984,727,462,655,915,913,1358,1372,1048,970,993,1056,864,1112,1042,857,1240,1348,1122,1032,1298,1294,1072,929,1164,1244,1604,1360,1268,1244,1488,1252,1190,1188,1058,997,1734,1828,1036,1084,1218,1744,1064,960,923,890,1440,1540,1440,1418,1192,1396,1228,979,869,1032,1120,1384,1162,1144,1500,1608,1366,1152,1146,1210,1352,1544,1264,832,1066,1070,1156,1206,1126,1308,1366,1034,805,1122,1392,953,835,1020,887,1154,1870,1334,817,762,526,777,1262,1168,880,724,481,422,527,626,836,919,1052,1090,915,701,690,634,738,659,659,796,628,444,470,459,594,887,1064,1560,1830,1342,1506,1848,1536,1062,487,535,498,377,801,1368,1228,836,919,999,1096,778,629,518,855,1302,1440,1174,824,743,825,982,770,405,550,910,1288,1682,1858,1350,885,479,527,792,1060,1038,966,931,1016,773,655,449,370,487,678,948,960,725,874,1272,1040,580,505,614,708,769,760,680,587,808,1076,1100,805,687,774,652,458,344,428,551,536,554,988,957,762,788,953,945,664,479,482,452,413,611,791,716,617,787,1420,1598,1568,1478,1266,861,840,1144,1012,1060,1230,1066,1366,1098,993,1190,951,612,440,429,467,475,517,544,589,636,1114,1466,1282,968,1028,1024,849,438,902,1570,663,279,430,1034,828,530,558,657,639,494,482,485,491,505,555,495,484,461,435,446,443,408,462,602,563,483,444,536,546,438,428,455,420,355,357,357,372,414,386,371,402,397,395,558,1020,1248,1124,1120,1222,1148,1180,1252,1646,2038,2172,2264,2018,1840,2024,1982,1510,1288,927,569,582,738,1206,1244,1330,1490,1632,916,802,1294,1314,1108,894,655,873,890,592,814,1148,811,851,875,812,716,877,702,600,782,1021,1122,899,797,1130,895,753,779,990,791,493,586,672,569,468,428,628,544,556,494,469,536,494,372,388,476,489,521,518,534,655,464,359,328,322,314,327,286,291,283,352,441,703,1116,989,592,606,642,797,728,506,399,368,352,340,332,327,328,313,313,302,303,317,312,308,303,314,318,307,302,306,312,309,314,296,306,310,303,295,292,297,297,293,296,303,313,340,330,298,298,305,309,298,310,326,339,347,355,373,373,372,369,374,384,378,368,367,369,376,370,384,389,395,401,391,386,396,379,387,388,375,394,417,427,441,441,421,412,430,418,411,394,399,386,364,370,367,359,362,359,362,362,354,348,341,337,329,329,350,337,323,334,329,337,350,338,346,358,363,357,354,352,364,379,401,415,386,378,372,374,397,409,408,404,396,399,395,400,398,401,400,386,398,425,409,407,424,428,443,403,538,1138,1216,624,1060,1912,1282,768,1406,1132,522,380,366,366,376,350,332,322,309,311,321,424,547,424,311,272,268,314,386,421,415,372,339,347,347,334,309,301,308,331,346,324,304,291,301,313,309,309,351,435,406,395,384,383,383,380,382,389,396,402,394,374,366,381,381,386,386,368,358,357,364,370,370,366,369,374,371,371,362,360,360,356,359,374,386,392,388,392,394,385,379,367,358,390,389,371,374,360,354,378,383,366,350,356,359,340,334,348,344,345,353,348,359,385,380,345,331,344,359,321,328,340,345,350,321,323,326,318,325,331,328,339,342,335,359,331,323,344,335,326,328,327,327,326,325,335,327,330,328,335,329,326,327,331,338,341,343,349,349,363,366,367,364,358,360,356,354,352,352,350,350,354,360,358,360,357,357,349,345,333,325,326,326,326,326,326,326,325,319,313,314,316,318,315,313,313,314,313,312,326,329,329,351,371,375,373,383,394,393,382,377,375,368,361,357,359,363,351,363,366,363,359,354,354,363,363,354,342,335,327,327,333,332,332,328,327,323,320,320,315,321,328,313,314,308,315,304,305,320,322,313,309,310,324,334,326,338,348,344,340,343,336,334,334,343,334,334,328,334,343,329,318,312,338,340,331,303,325,326,322,318,314,318,318,315,313,301,292,290,287,303,292,297,300,302,301,304],[498,539,611,753,1036,1200,1168,1296,1226,1082,1242,1352,1032,760,655,902,1094,920,878,769,886,1422,1386,894,706,578,544,868,1314,952,562,647,762,753,633,544,543,822,1376,1794,1522,859,968,845,508,327,284,253,228,253,314,342,364,383,327,361,434,720,564,633,486,372,393,359,519,583,453,557,525,512,523,713,1218,1090,850,833,884,1015,973,801,696,494,656,766,1038,1222,1130,974,952,1092,863,821,753,549,802,720,423,328,333,297,400,740,995,832,948,1032,1132,1094,696,1180,1266,868,1124,1104,691,543,504,423,655,834,1186,1108,849,854,1070,1162,858,567,602,713,705,845,756,453,379,506,778,1156,1204,968,839,661,439,324,294,368,536,608,593,960,1156,522,432,477,466,695,1188,1428,1332,1052,984,1084,1310,1534,1316,1234,1982,1218,505,398,388,321,313,333,299,622,1116,1020,1282,1410,1248,1374,1072,1256,981,791,1570,1710,1268,1262,1250,1048,888,1046,1344,739,976,1368,1294,1130,1316,1968,1804,880,483,380,363,355,405,419,445,1017,1424,997,922,1220,1458,2186,1982,927,797,1246,1452,777,767,1418,1362,1344,1262,1100,1358,1720,1546,1408,1504,1021,581,792,895,1446,1956,1040,670,706,679,724,927,809,1294,2380,1634,1344,1312,1426,1468,1154,1478,1142,1082,1434,1264,1180,1552,1782,858,598,498,771,1120,1320,1452,1454,1422,1842,1982,1666,1440,1388,1576,1584,1306,1250,1542,1386,948,1044,1460,1888,1348,598,538,530,547,493,1228,1758,1774,1234,677,648,857,875,702,776,840,928,804,997,1166,1206,1194,744,888,1038,711,619,558,371,400,462,455,661,1252,1174,1054,1002,1034,785,593,588,679,951,969,655,651,880,1092,905,620,568,640,649,560,429,359,320,300,336,397,383,457,625,610,721,791,1054,1342,1302,904,618,477,568,686,775,772,1076,1292,1084,1124,1318,1326,1192,1260,927,791,969,821,815,805,766,843,764,581,488,419,369,429,448,783,1428,1318,1404,670,683,1104,995,1196,1304,1082,1070,1152,1024,877,958,1134,1358,1166,889,844,1048,966,846,1021,1242,1380,1526,1488,1178,606,839,1001,962,990,1216,1766,2062,1642,1188,1030,1080,1007,864,958,1282,1540,1192,859,933,1124,1005,965,1210,1372,963,495,444,631,771,1040,746,624,538,590,1340,1460,897,863,931,739,844,653,650,1132,1086,1214,1170,952,1088,1126,799,741,897,847,624,821,950,1134,1636,1968,1944,1098,942,1312,1636,1858,1908,1284,1112,967,718,815,1216,1448,1280,1086,1124,1174,1168,1094,1224,1364,1288,1176,1224,1132,918,888,778,1148,1508,1080,849,1186,1236,1106,985,733,763,1062,1318,1160,1272,1748,1548,1432,1388,1174,1168,1110,820,913,836,996,1414,1001,720,717,634,598,517,539,571,509,713,548,696,802,1188,1666,1924,2254,1940,1378,1582,1824,1510,1408,1230,1166,1112,1072,807,819,861,617,500,698,982,1262,1720,1742,1428,1310,1013,1118,908,755,917,1094,1156,895,612,756,1072,1066,799,645,1009,1294,1262,1214,1428,1534,1476,1144,745,471,613,1005,1032,963,791,523,371,392,433,387,340,349,422,654,746,656,514,565,705,702,625,660,604,754,935,1200,1710,1438,743,891,967,1026,702,709,1196,1488,1172,808,961,1054,894,1076,1022,960,668,622,673,972,1492,1416,1572,1432,1412,1418,1540,1552,1354,1400,1504,1228,1210,1476,1518,1338,1338,1408,1418,1530,1450,1290,1368,1324,1212,1262,1354,1390,1708,1966,2012,1766,1836,2068,2230,2114,1756,1634,1594,1570,1454,1384,1592,2298,2028,1266,1136,1318,1456,1618,1666,1322,937,1190,1326,1300,1256,1020,949,1144,1154,1150,1210,1104,1010,1070,1196,1316,1426,1440,1314,1104,868,760,670,763,889,957,1236,1210,1078,1214,1314,1360,1554,1614,1606,1272,1046,1046,1110,1340,1224,1218,1270,1624,1694,1360,911,1180,1520,1404,1266,1536,1680,1590,1392,836,464,480,466,583,988,684,542,734,962,993,787,648,954,952,660,550,764,1188,1276,1800,2388,2066,1030,539,666,666,612,711,913,1086,1204,1458,1176,1000,854,662,592,482,469,476,435,312,346,447,534,459,435,456,460,970,1558,1554,1528,1310,1476,1712,1700,1512,1460,1690,1534,1494,1384,1278,1282,1474,1686,1418,1410,1520,1188,1642,1638,1592,1550,1574,1716,1622,1398,1392,1614,1560,1550,1854,1388,972,939,1172,920,704,732,734,539,451,476,515,350,358,410,388,382,375,482,456,511,484,828,1046,933,1052,913,474,491,562,468,778,913,1294,1600,974,561,1080,1382,1330,1362,1284,1346,1013,912,937,589,687,1176,1144,946,1022,928,1080,1350,1238,1206,1342,1428,1036,1076,1544,1698,1628,1500,1338,1204,852,832,1304,1234,1796,1878,1604,1258,1104,938,1064,1028,1036,1354,1782,1464,1050,1176,1658,1586,1234,860,572,925,1386,1412,1512,1400,1330,1178,814,899,699,811,1050,1334,1104,1120,1470,1558,1248,1180,1230,1312,1122,1180,1172,1204,1114,1120,1228,1246,1266,1352,1140,742,821,1270,1338,870,776,1020,1200,1378,1124,700,865,1001,1005,847,1200,1052,848,722,653,455,481,756,977,880,973,946,549,880,1504,1078,981,843,876,903,606,468,453,778,1470,1430,1090,1414,1190,1284,1152,863,673,478,556,643,792,879,380,615,627,705,934,1396,1384,751,580,624,1444,2208,2042,1354,915,749,687,869,708,508,453,417,793,1400,1382,1364,1236,850,813,642,884,1104,843,977,1202,1380,993,555,428,403,441,559,608,604,776,1082,684,1028,1112,836,543,933,1202,1014,724,526,866,1252,833,808,827,615,536,420,380,550,708,861,961,851,879,937,822,741,534,539,503,459,800,716,416,369,432,927,1368,1510,1526,1532,1528,1296,1182,1084,1034,1490,1508,951,879,948,931,1094,1015,614,443,415,576,905,642,494,667,860,1154,1296,983,828,1106,932,1042,519,753,902,439,262,835,1052,639,514,452,528,502,486,493,505,476,512,586,533,486,489,513,504,456,443,467,484,613,684,488,568,664,543,446,388,360,386,396,426,451,444,371,390,393,362,350,427,636,974,1148,1096,1354,1290,1192,1600,2056,2108,2164,2242,2044,1930,2112,2048,1272,902,557,511,577,686,1222,1038,959,1036,919,727,1028,1532,1400,949,855,591,555,576,633,964,1296,985,810,825,741,749,803,1046,1188,737,791,1194,975,673,922,1022,708,797,1132,897,538,659,945,766,743,544,524,504,538,456,423,379,356,355,408,469,410,457,505,540,626,641,483,357,308,283,285,282,270,252,255,364,647,832,655,674,810,958,938,777,571,407,370,359,349,333,333,332,302,307,308,307,306,307,312,312,313,317,308,314,311,307,309,310,300,298,295,291,290,296,302,301,301,303,305,307,326,332,300,287,290,292,292,302,327,352,361,372,368,363,363,369,378,387,394,388,368,363,374,364,373,372,395,405,395,386,386,390,386,383,381,382,396,415,442,461,458,436,442,423,402,399,394,383,382,374,370,358,354,353,362,364,360,350,339,332,330,326,321,323,334,335,344,351,333,339,350,362,379,365,352,344,346,358,379,404,409,409,388,382,401,404,420,409,405,401,397,397,397,389,379,381,375,392,403,401,401,397,422,458,399,519,625,425,725,1578,1234,700,1162,948,489,368,353,348,346,334,315,288,287,278,289,398,420,349,303,292,288,308,318,333,350,322,323,315,306,298,296,304,303,311,304,284,283,284,295,317,301,300,373,434,415,407,404,399,391,380,382,383,379,402,402,374,389,379,380,380,380,374,369,372,371,368,368,370,372,374,366,365,361,361,361,362,364,362,357,363,370,377,382,392,379,366,359,376,376,360,362,356,365,377,377,362,347,347,341,340,356,358,350,350,354,352,350,359,354,342,326,337,362,322,328,341,341,344,328,321,326,316,316,310,337,341,350,356,364,341,336,348,334,323,329,328,335,339,323,342,339,325,327,333,337,332,327,330,334,333,345,349,347,352,355,361,366,361,358,351,346,348,351,340,346,354,358,358,352,354,348,328,332,325,326,325,327,325,326,325,318,318,319,319,321,319,320,315,313,313,310,310,323,339,334,345,355,347,351,379,396,399,392,383,380,371,367,357,366,361,365,345,356,359,357,367,367,360,360,364,348,337,330,325,325,339,320,329,329,327,325,321,321,320,322,324,314,314,308,321,308,308,319,322,322,319,308,307,328,324,328,322,318,334,336,327,331,339,339,346,350,334,328,338,334,327,315,322,334,322,313,318,317,307,311,314,308,299,302,314,305,294,288,295,284,286,291,294,300,295,314],[857,980,725,874,1300,1302,1408,1404,1220,1192,2042,1730,1116,1144,943,1090,1338,1314,1198,1290,983,764,860,1094,905,735,758,1015,1426,1532,1316,1226,867,562,457,439,411,462,615,952,815,572,821,770,600,443,289,272,347,395,375,329,353,374,332,311,297,351,386,563,563,375,358,372,362,366,413,461,594,481,592,1118,1890,1500,1040,1464,1480,919,807,966,1186,1168,1236,1042,824,684,570,706,921,1106,1084,870,766,511,497,439,444,354,337,412,430,465,536,907,1480,1200,897,1182,980,742,885,828,890,872,537,572,695,535,469,875,1182,670,547,712,872,830,855,656,580,612,865,1066,738,493,471,539,739,1064,1240,1212,1090,677,476,361,311,360,475,421,286,506,846,792,734,625,469,427,648,1038,1332,1408,1408,1282,1392,1360,1214,1282,1310,843,622,484,385,366,428,449,435,938,1382,1392,1478,1080,1038,1266,1458,1588,1116,641,811,996,1470,1770,1013,583,678,1066,1462,1018,1418,1778,1396,1230,1516,2136,1820,1021,584,362,326,396,453,488,451,761,926,842,905,1056,1182,1520,1694,1564,1144,1184,1252,895,722,927,967,1110,1190,1294,1490,1848,1598,1368,1418,684,450,384,371,787,966,569,418,512,645,677,677,727,1094,1274,988,803,818,1218,1216,940,1162,1252,1286,1256,1196,1416,1964,1736,698,451,727,1132,1528,1498,1442,1182,1142,1664,2050,1582,1532,1396,1218,1136,814,924,1338,1282,1146,1370,1692,1762,1110,901,1250,899,640,983,1674,1496,1608,1164,488,414,875,1172,648,567,604,475,529,668,854,1170,1186,971,1192,1188,802,702,818,537,666,922,618,885,1598,1372,915,1026,989,761,753,753,810,761,850,639,642,948,946,944,828,708,626,606,473,428,385,361,346,336,368,434,535,505,482,606,689,769,991,1278,1338,1048,742,780,727,1074,1390,1532,1180,973,1192,1286,1212,1192,859,623,721,975,792,729,670,685,713,663,738,664,548,364,375,620,997,1226,839,601,482,641,875,971,1042,850,972,1124,1124,1156,927,715,1064,1180,990,1048,1136,1268,1202,846,951,1136,913,1052,1162,1148,1116,1188,1142,1120,1480,1524,1328,1586,1628,1182,827,827,745,915,725,805,968,705,434,532,851,1002,1002,1192,1312,1090,649,495,734,678,509,475,545,658,901,1046,896,782,1030,1030,845,767,678,771,1302,1344,1294,1152,964,1050,1072,821,874,940,518,747,950,1074,1518,1896,1976,1216,681,1001,1394,1916,1632,1628,1062,750,967,718,706,1156,1346,1124,1038,1076,955,874,897,1194,1328,1256,1364,1206,1078,1082,1062,1023,1242,1508,1376,748,648,911,1040,914,644,577,796,984,989,1482,1954,1788,1944,1752,1320,1254,1412,1130,946,824,982,1220,955,674,630,555,547,523,719,717,609,418,398,564,637,1276,1738,2224,2728,1928,1448,2586,2818,1772,1682,1588,1374,1232,996,803,996,888,566,439,797,1164,1182,1021,1428,1128,1084,1062,894,1052,1196,839,963,1418,1288,924,938,1376,1578,1008,838,1144,1380,1346,1204,1192,1400,1510,1234,1052,792,946,1118,649,688,728,572,522,371,433,596,655,529,538,1094,1210,992,580,461,619,610,686,836,723,847,1086,1214,1710,1838,1048,1126,951,1266,1092,813,1162,1456,1150,775,866,1026,1330,1490,1060,649,636,582,515,877,1370,1294,1070,1236,1398,1384,1258,1144,1004,1116,1136,1378,1404,1756,1736,1360,1180,1036,902,1028,1460,1174,1222,1248,1028,1260,1650,1584,1444,1698,2060,1980,1958,1928,1946,1874,1702,1606,1854,2112,1794,1626,1804,1926,1480,1132,1220,1322,1522,1618,1578,1202,1124,1310,1922,1900,1368,1102,901,1020,1178,1228,1208,1274,1000,1168,1254,1330,1622,1632,1550,1286,1016,949,1216,1412,1186,1076,1358,1118,1056,1116,1226,1482,1528,1380,1682,1724,1432,1166,1266,1160,1144,1092,1166,1478,1282,940,1140,1468,1642,1310,970,943,946,1013,944,571,489,475,462,832,860,463,475,953,1212,785,744,1172,1734,1380,963,1046,899,1214,1502,1648,1914,1816,929,616,713,749,771,820,799,913,980,935,782,764,770,970,1182,775,530,459,466,376,323,438,521,423,412,464,552,1138,1656,1656,1628,1250,1360,1708,1770,1650,1666,1670,1538,1346,1114,1332,1362,1400,1448,933,672,985,1284,1492,1434,1422,1432,1482,1658,1638,1416,1466,1484,1526,1562,1732,1342,1005,939,1028,1128,918,799,744,575,489,440,366,357,384,503,545,485,456,482,449,429,432,568,681,670,965,1150,697,506,553,541,768,727,841,1118,1002,981,1220,1482,1584,1382,1208,1156,751,502,583,744,1218,1418,925,663,782,789,1004,1242,1094,1514,1644,1268,1126,1294,1118,1472,1852,1136,1272,1394,1096,1082,1166,1154,1306,1432,1206,1098,985,973,988,755,1122,1502,1488,1174,1100,929,1194,1112,958,813,739,825,991,1154,1256,1222,1310,1238,1342,1146,973,951,1172,1234,1136,1150,1448,1598,1206,1160,1484,1596,1118,1092,1232,1368,1426,1268,1046,984,836,990,1190,1090,990,1084,764,857,1040,1084,1560,1700,1060,1188,1058,868,1338,1052,1036,919,710,756,803,552,424,650,720,794,1086,702,579,1382,1746,1080,933,1096,965,823,641,544,560,937,1612,1598,1032,608,370,494,479,768,765,746,1104,984,1278,1504,633,1214,1406,1248,1500,1994,1388,755,620,561,783,1306,1476,1140,1066,1020,850,680,598,572,622,659,868,1344,1322,1312,1428,1580,1612,775,580,975,927,970,1230,1432,1012,570,444,517,547,589,684,604,575,652,747,1490,1580,1108,915,1404,1556,1104,855,570,582,871,929,793,643,721,639,554,608,670,850,1028,1102,937,1240,1482,944,636,780,1082,1009,839,1036,1166,949,913,1182,844,591,1028,1248,1554,1542,1500,1396,1316,1230,1382,1346,1046,904,935,885,989,871,495,474,753,1376,1664,901,381,657,973,987,1108,1208,1338,1344,1026,1226,747,569,635,382,574,1146,830,614,500,471,525,498,534,617,630,537,532,539,574,653,699,677,582,511,472,489,518,599,702,610,550,525,471,409,405,422,472,461,448,486,451,381,351,322,330,399,434,508,771,1021,1032,1174,1386,1440,1902,2196,2164,2154,2184,2226,1964,1786,1830,932,591,505,505,512,657,735,648,622,582,575,626,974,1572,1542,995,939,613,514,656,694,974,1322,1112,867,866,945,880,790,987,671,459,577,935,960,649,838,1116,789,678,1023,910,594,606,858,823,933,835,898,757,481,386,372,339,361,402,381,347,385,427,381,412,476,736,673,432,345,314,308,306,286,262,256,297,364,418,477,592,697,941,997,776,531,558,470,375,376,343,336,337,311,317,314,302,303,311,312,308,307,316,308,301,303,301,302,306,305,302,310,313,306,299,296,296,295,299,299,301,298,312,288,275,288,302,298,301,338,373,355,372,365,370,380,383,389,396,385,385,373,360,373,373,362,391,385,375,383,386,377,383,387,392,398,397,402,401,430,472,487,476,464,423,390,396,384,380,385,379,371,360,356,347,356,366,365,353,344,336,330,326,323,335,337,326,335,334,338,343,351,370,383,364,350,356,352,362,393,407,409,408,394,384,388,405,407,404,405,394,392,399,393,396,389,392,379,379,384,389,383,372,392,428,439,410,379,395,420,560,415,388,518,429,359,372,358,371,367,325,294,281,284,276,299,347,337,309,301,296,289,305,301,300,322,327,351,337,318,297,280,295,297,284,268,280,297,297,291,317,316,343,389,426,410,393,404,404,386,383,381,386,375,394,411,398,396,394,385,375,373,373,377,373,369,383,382,380,374,374,370,363,361,361,361,361,357,351,357,368,365,365,377,375,363,358,359,363,358,360,356,354,363,376,382,368,350,337,329,337,350,350,347,346,350,350,348,346,344,356,342,356,352,330,326,344,346,344,334,310,325,332,309,314,322,331,334,342,357,342,322,325,319,323,323,328,332,332,322,337,332,323,321,327,335,329,329,333,326,328,338,341,346,351,353,355,357,361,355,350,343,344,357,342,351,358,345,358,344,342,339,333,332,330,327,321,335,327,326,321,323,326,324,325,323,321,324,321,319,312,307,311,326,345,345,374,379,367,363,380,383,379,369,372,368,372,378,351,361,365,366,351,351,357,350,354,372,351,343,357,346,333,321,327,328,325,330,321,308,308,310,314,314,320,321,319,314,315,308,318,315,311,324,327,328,333,325,309,333,339,333,334,320,327,331,325,330,336,339,340,336,334,327,328,339,333,317,314,314,322,328,304,304,301,315,305,304,309,314,309,303,291,290,295,286,286,289,298,301,289,309],[1350,1358,1194,1224,1314,1564,1872,1166,749,1120,1882,1306,1608,1888,1482,1358,1594,1592,1490,1654,1376,1064,1464,2076,1342,932,1064,955,1588,1854,1486,1516,1108,440,493,505,445,476,549,541,421,452,647,602,622,734,496,502,684,637,512,315,294,302,317,303,307,375,381,469,598,390,354,361,276,352,418,404,597,571,843,1528,1576,1098,1168,1706,1748,1222,980,1216,1021,716,573,466,365,334,372,446,476,746,1350,1076,589,670,547,752,1038,736,373,376,554,698,529,644,918,974,1011,948,1398,1404,1018,719,744,775,547,545,722,678,637,845,1102,736,535,583,691,807,991,760,691,1104,1424,1132,636,569,1152,949,518,769,904,1240,1032,595,525,368,309,281,298,288,304,408,636,1044,977,572,422,480,458,503,612,902,1390,1620,1564,1292,1158,1198,1366,1268,1044,666,386,430,424,361,433,829,1202,1466,1058,830,724,788,1382,1498,1136,1064,1124,1242,1480,1484,871,848,883,1348,1450,1302,1776,1880,1300,964,1336,1628,1434,910,503,355,370,419,341,322,440,594,728,812,1024,1702,2090,1684,2238,2124,1712,1136,1080,993,738,643,836,983,983,1324,1458,1882,1564,1046,837,544,583,536,393,401,464,557,724,1082,1054,701,579,1018,1428,890,704,664,590,853,871,558,555,991,1664,1452,810,715,924,935,771,866,1098,1226,1338,1470,1518,1494,1382,1406,1500,1224,1178,888,926,1372,1426,1388,1592,1572,1382,1306,1252,1250,1418,1876,1692,1012,506,876,1350,1582,1540,816,399,785,1648,1132,716,559,325,301,457,666,937,1190,1472,1476,986,730,846,698,640,489,747,995,618,897,1354,1280,1230,1378,1396,955,558,888,1580,1476,980,907,948,795,860,1000,933,742,777,860,582,449,392,408,401,345,349,419,595,529,392,471,607,643,772,1078,1534,1400,759,753,689,722,1206,1512,1108,774,1216,1622,1400,929,492,504,545,594,689,735,703,833,930,794,593,740,764,422,734,844,742,597,585,681,612,533,621,750,653,512,562,669,1048,1306,1180,1556,1802,1152,915,1152,1506,1612,1012,990,1132,1052,601,664,1104,1362,1482,1736,1776,1494,1634,1576,1428,1606,1482,1126,957,650,745,966,813,817,700,397,317,390,711,976,1280,1268,1222,1218,1064,796,772,875,850,872,764,972,1196,974,788,1074,1346,1198,1118,917,761,1066,1350,1264,1482,1396,1156,915,816,935,976,861,683,784,989,1382,1710,1794,1364,875,873,953,1140,1260,1004,1396,1450,1052,760,706,902,1134,1268,1262,1144,1086,892,833,639,757,1058,1160,1174,1216,1090,960,1156,1224,1308,1682,1806,987,600,825,807,714,587,677,797,810,861,1170,1664,1564,1752,1938,1782,1796,1590,1544,969,409,498,853,911,663,536,548,529,525,908,732,813,625,640,620,705,1426,1714,2110,2778,1824,1238,1958,1932,1376,1720,1694,1486,1408,1036,891,1058,959,920,615,903,1050,916,599,824,744,898,1130,1164,1214,1048,861,1182,1346,1516,1240,968,922,1410,1360,980,995,1172,1164,995,811,1046,1216,1138,1240,1086,1100,905,743,1100,912,764,791,545,737,996,1008,783,705,1112,1208,930,568,477,563,622,709,811,706,759,969,1158,1196,1262,1154,1360,1364,1628,1302,733,900,1444,1394,1418,1664,1070,1334,1222,980,921,966,890,1002,1102,1188,1236,1238,1248,1058,1060,908,1112,1023,1098,981,1070,1324,1676,1572,1246,952,783,863,1030,1294,1240,1698,1404,1210,1642,1692,1798,1792,1610,1692,1526,1494,1294,1098,1170,1340,1296,1616,2078,1990,1842,1968,1808,1432,1322,1168,1242,1434,1514,1436,1122,1480,1546,1864,1686,1246,944,645,861,956,1001,1188,1064,993,1176,1178,1078,1074,1294,1392,1198,1136,1180,1300,979,923,1026,1104,950,1052,1228,1352,1534,1504,1344,1466,1426,1448,1574,1476,1256,1122,1318,1248,1350,1312,1017,1266,1558,1452,1028,766,901,1150,1072,645,344,441,512,602,868,567,429,698,1422,1888,1368,1246,1472,1888,1538,1196,1024,962,1202,1302,1298,1270,1494,803,510,653,695,749,831,799,665,528,557,779,957,805,1001,1430,1054,871,717,536,435,345,351,391,346,377,512,627,1128,1534,1522,1494,1266,1310,1506,1616,1702,1922,1748,1446,1208,1162,1392,1428,1492,1192,645,545,1086,1472,1434,1400,1446,1486,1442,1572,1496,1358,1610,1750,1488,1446,1578,1448,1208,993,1024,1290,1148,914,639,533,469,401,361,400,403,463,590,558,495,526,495,403,506,961,1188,631,644,865,852,636,570,775,902,659,418,369,605,913,1362,1594,1708,1306,1168,1108,661,605,716,744,1200,1190,887,1036,1146,1136,1126,1260,1170,1268,1324,1292,1308,1396,1272,1226,1282,830,1298,1444,1636,1656,1510,1176,957,1086,1242,1378,1270,1112,1210,854,1194,1366,1298,1116,1102,999,843,918,882,772,1108,1314,1154,886,865,1040,1208,1362,1492,1280,1144,1226,1282,1072,1322,1226,1436,1584,1246,1082,1402,1628,1262,1132,1110,1196,1662,1688,1278,775,432,703,1188,1234,1262,1068,886,1182,1070,688,1430,1990,1594,1664,880,555,836,1013,992,746,431,501,662,590,423,469,641,1036,929,647,579,919,1086,815,1196,1172,596,644,807,764,1232,1390,1466,1556,1166,647,510,461,890,1456,1118,627,406,347,1016,1064,513,996,1838,1648,1228,1017,719,659,842,742,505,531,952,1012,1350,1376,1142,671,513,567,829,837,1238,2036,1590,1120,1194,1410,1096,567,570,623,838,880,941,1082,899,546,540,523,551,673,863,881,746,650,836,1170,1218,825,599,821,1154,1136,770,695,533,497,777,988,1146,1022,742,684,803,802,878,830,1094,1066,1192,1146,864,647,1086,1186,1002,1028,1014,1032,1202,1256,1172,775,825,993,1304,1538,1438,1516,1484,1148,835,1124,1306,1104,789,784,907,675,508,439,482,906,1242,935,452,425,971,916,982,1066,1382,1628,1548,1428,1604,1186,664,403,385,845,996,610,602,547,541,550,503,459,567,581,529,495,438,475,614,619,617,615,573,518,531,596,517,452,668,673,430,428,393,446,544,577,473,401,430,451,383,343,347,404,494,484,466,622,953,1198,1196,1084,1332,1834,2154,2100,1936,2036,2100,1398,1011,891,721,994,1070,786,538,568,742,713,455,480,580,643,876,1468,1346,755,570,498,691,838,661,881,1264,1122,897,853,806,618,629,811,630,502,527,965,1060,615,739,1110,647,577,1094,873,519,438,537,722,850,827,1003,930,546,501,481,438,436,457,439,383,332,297,301,425,526,646,645,431,371,341,337,325,305,262,253,276,314,326,414,461,503,613,722,749,670,885,664,441,365,351,357,341,309,302,304,308,312,312,310,303,301,304,301,308,312,305,298,298,303,309,306,296,287,290,287,286,294,296,301,305,316,313,297,294,299,308,308,312,347,389,379,369,373,378,381,379,379,383,374,388,372,362,352,365,366,374,375,367,379,398,393,387,390,393,409,408,412,399,415,455,494,521,497,438,408,405,393,388,391,379,377,364,350,347,350,360,365,367,356,329,334,332,317,331,344,327,336,344,347,342,346,378,391,375,360,367,365,349,381,397,396,397,394,384,380,386,401,394,388,385,386,391,391,392,379,386,382,372,372,378,381,369,376,400,397,409,418,410,418,417,409,377,362,368,369,358,347,352,360,309,300,298,266,301,333,331,336,321,312,296,308,314,303,274,294,309,320,298,283,279,295,302,281,281,278,297,317,305,293,306,311,357,398,417,430,408,391,396,391,396,393,387,383,383,406,410,397,391,389,385,378,369,387,374,360,389,381,373,379,378,368,363,361,361,363,363,353,343,361,361,363,361,374,363,352,354,351,348,343,365,350,361,361,366,354,339,340,339,334,337,334,337,342,344,344,342,341,341,337,371,354,322,339,336,323,340,348,350,336,309,327,333,309,328,341,341,324,322,345,340,315,326,318,328,329,329,325,322,326,330,323,322,322,323,328,328,325,342,321,327,332,333,339,343,349,349,355,358,352,353,346,340,350,348,352,361,343,351,342,333,343,350,351,342,337,327,340,342,329,329,339,335,333,333,330,326,317,303,308,314,315,318,321,347,351,379,388,357,361,379,374,377,383,376,367,367,357,351,364,365,365,368,374,368,356,351,350,329,329,333,333,333,328,324,315,325,326,320,321,327,328,326,328,328,322,318,314,314,313,318,321,339,330,328,328,333,346,324,325,340,339,333,322,327,330,329,335,334,334,336,339,343,322,320,339,335,321,312,304,312,318,309,315,303,315,298,303,311,309,306,300,294,296,303,298,296,293,296,294,286,289],[1476,1428,1448,1394,1122,728,1008,669,425,543,691,814,1458,1544,1198,1500,1990,1538,1444,1642,1836,1550,2100,1804,1264,1220,1354,1706,2082,1874,1648,1810,1152,494,469,539,536,516,474,475,432,400,476,529,669,587,519,754,832,597,396,327,315,276,293,327,362,415,370,441,647,431,314,358,379,401,456,433,592,713,1036,1706,1828,1640,1432,1528,1378,1017,916,1038,669,457,542,512,397,311,265,281,285,450,1106,730,444,786,862,1068,1456,1184,436,450,886,1180,658,392,419,720,1106,1098,1148,1312,1324,843,495,645,653,610,683,720,727,771,1128,855,498,756,697,640,843,916,973,1268,1166,673,491,491,906,730,505,490,506,577,526,513,560,325,259,437,561,358,258,323,303,789,1030,709,435,536,550,457,409,544,1150,1648,1666,1524,1362,921,850,1260,1350,873,530,469,434,561,551,914,1484,1434,962,667,507,465,620,879,1076,1212,1164,1522,1092,1222,1334,1312,1274,1388,1088,1142,1686,1652,1050,563,499,671,794,556,440,428,504,512,358,358,429,520,541,755,804,1276,1836,2066,2438,1850,2068,1430,1204,1268,898,960,1156,1324,1362,1758,1794,1792,1292,1286,1098,636,598,644,404,363,480,602,1068,1820,1410,991,937,1224,1062,567,607,632,574,783,697,552,719,855,1192,1070,537,364,589,834,984,1120,1192,1280,1290,1388,1162,1196,996,1042,1054,1308,1268,1162,1388,1506,1516,1392,1342,1500,1542,1334,1134,1478,1778,1742,1272,789,535,818,1076,1340,1110,499,438,1396,1584,719,638,488,287,356,343,367,673,1270,1580,1318,680,642,1102,1040,749,719,781,802,1172,1354,1344,1472,1432,1998,2502,1476,742,1306,1620,1152,1132,1514,1288,824,897,778,1023,779,695,838,647,442,392,407,396,390,376,390,493,430,361,352,433,526,744,1226,1500,1566,1204,767,607,759,1038,1172,1190,1126,1338,1638,1184,529,440,422,420,1078,1494,990,1030,1136,1194,1042,659,610,675,866,1202,1130,947,836,625,510,579,540,648,589,562,550,410,433,703,1082,1136,1554,1376,810,1000,1136,1262,1724,1384,1062,1028,1108,1060,1156,1266,1438,1554,1588,1798,1470,1534,1442,1296,1304,1404,1378,1048,575,754,937,705,729,679,483,427,608,792,1158,1272,1172,1224,1276,1254,992,803,609,662,841,902,893,1194,969,921,963,1040,1296,1366,1386,1178,1162,1242,1368,2096,1906,1578,1282,869,999,925,1018,1012,857,1192,1554,1784,1316,948,1402,1158,1130,1292,1362,1632,1816,1704,1382,1056,1120,1180,1202,1312,1336,1386,1256,1100,999,855,894,897,1022,1368,1364,876,793,1190,1108,1330,1676,1680,847,461,516,489,696,917,966,923,667,713,732,752,742,1238,1058,919,1172,1130,1214,829,532,664,1015,772,598,645,695,578,755,869,710,869,944,1076,937,891,1604,1818,2070,2330,1554,1334,1742,1776,1606,1726,1728,1744,1514,943,697,671,642,858,855,1094,1266,903,612,677,673,657,1005,1252,1208,976,739,1040,1236,1476,1582,1034,858,1122,1276,1198,1030,1040,1188,1214,1132,1292,1246,867,984,1104,1104,1084,1096,933,704,774,1154,814,774,910,794,646,861,1120,1011,668,550,521,529,553,682,1086,1152,971,1013,991,872,959,1098,1472,1426,980,880,840,656,800,1132,1544,1996,1138,1094,1220,1262,1220,833,888,1334,1302,1302,1296,1600,1480,1174,1282,1146,1024,1102,1194,1420,1626,1516,1656,1498,1516,1208,880,872,1118,1340,1454,1816,1402,1310,1726,1674,1918,1798,1602,1132,736,1072,1056,1014,1204,1278,1306,1750,2100,2142,2114,2006,1600,1376,1440,1340,1572,1672,1538,1166,1062,1450,1544,1354,1156,971,653,783,929,794,851,1140,1108,1254,1358,1254,967,997,1324,1364,1044,1048,1052,954,971,1288,1196,1086,1158,1270,1434,1492,1572,1494,1628,1500,1490,1560,1488,1354,1190,1172,1226,1168,1404,1556,1084,1152,1164,1068,1200,1082,1158,1178,883,613,483,526,667,625,702,433,491,964,1704,2392,2428,1736,1260,1038,632,495,610,864,769,1016,1184,1244,1368,948,790,825,763,784,833,805,619,572,828,664,648,505,800,985,998,1060,843,582,538,430,351,388,361,325,408,483,1026,1424,1598,1720,1540,1212,1282,1508,1582,1626,1622,1616,1676,1650,1492,1538,1550,1042,658,804,1244,1408,1404,1402,1370,1320,1362,1400,1422,1290,1422,1480,1392,1540,1572,1346,1228,1194,1192,1458,1202,892,647,480,427,415,406,442,469,440,396,423,597,630,495,401,439,819,766,451,494,640,910,780,473,731,757,524,372,365,374,577,968,1510,1360,1134,1148,803,531,792,951,849,1028,1088,1126,1260,1240,1368,1428,1372,1202,1186,1360,1398,1318,1242,1340,1086,1118,895,974,1466,1732,1788,1554,1076,877,1026,1230,1468,1240,1058,961,819,1142,1152,787,809,1166,1072,815,572,620,780,1176,1140,1026,1007,1018,927,879,1028,1104,921,886,820,1394,1216,1244,1274,1614,1532,1272,986,1034,1238,1156,1128,1140,1144,1362,1548,1238,938,810,944,1072,985,890,933,1036,1276,1074,791,1384,2076,2868,1976,1013,901,939,932,888,693,533,650,521,521,507,446,833,1106,797,739,640,1100,1344,725,777,550,485,715,1054,1526,2036,2122,1850,1396,678,369,424,424,850,1108,771,563,437,399,781,619,502,938,1378,1066,628,526,620,921,747,821,847,819,810,637,759,1250,1210,988,1072,1042,716,511,702,1086,977,968,966,1108,890,634,745,744,651,1260,1410,766,624,527,571,543,531,765,1040,1512,1472,698,636,955,866,789,493,533,993,1022,1120,1122,816,542,527,788,814,738,866,902,1036,946,997,1009,895,1094,1084,1036,1160,950,950,722,741,901,703,719,806,696,695,879,857,1004,1592,1548,1288,1536,1514,1352,940,1334,1630,1448,1116,962,1019,835,667,522,405,597,717,579,490,742,1142,1156,1062,1396,1322,1158,1316,1454,1454,1108,1086,760,657,993,677,515,576,543,452,476,534,459,442,565,579,417,444,514,557,502,481,573,622,623,593,608,519,738,1634,1546,971,493,352,456,540,527,481,422,462,513,410,347,347,390,505,497,426,490,767,1278,1448,1146,1212,1664,2078,2292,2162,1890,1484,1300,1336,1200,1038,1416,1240,705,641,694,709,636,444,367,377,463,706,1250,1110,677,464,483,741,893,724,827,1386,1310,980,1011,800,545,692,943,950,713,598,785,783,575,669,1080,738,666,1023,903,646,580,812,982,902,713,760,796,478,470,475,426,413,434,443,479,408,320,317,414,437,501,625,467,428,372,340,337,313,261,278,282,262,282,335,367,320,340,410,491,544,786,575,375,377,392,379,351,320,309,309,303,301,299,306,301,304,303,300,309,314,307,308,308,303,306,297,289,289,295,298,298,301,299,294,293,290,292,308,302,302,302,307,312,338,379,397,379,374,385,379,382,372,368,364,374,373,364,362,356,348,367,377,370,379,373,375,381,380,378,386,395,399,401,411,430,462,459,442,414,408,406,388,362,377,374,377,369,363,356,350,356,357,370,371,339,336,331,336,336,340,337,352,354,354,352,354,377,385,388,364,346,363,360,385,390,399,402,385,388,385,367,391,384,385,390,401,379,382,379,382,380,363,363,365,367,369,363,368,370,389,385,379,384,409,438,429,398,357,354,358,350,361,361,340,319,319,327,325,321,330,358,336,320,287,274,325,345,321,284,283,299,313,305,280,279,303,273,265,267,296,300,299,290,292,286,316,405,424,414,448,446,418,411,409,406,402,389,387,389,395,389,378,381,384,382,386,366,372,368,375,389,380,380,381,377,366,361,363,367,369,373,363,346,363,365,357,349,349,357,357,351,343,335,322,365,351,358,365,340,328,332,328,328,339,350,348,346,350,350,341,342,336,342,339,357,352,330,330,326,324,336,343,338,332,329,314,324,327,326,322,327,330,340,336,328,317,329,328,329,328,328,326,330,332,329,325,322,323,329,329,326,321,329,315,335,334,323,339,345,350,352,361,359,355,353,347,346,347,346,349,359,354,348,338,344,339,338,330,337,352,338,335,348,338,324,327,328,333,330,320,327,319,319,320,321,323,323,338,354,354,377,383,370,362,352,364,372,383,377,366,383,383,368,368,360,360,360,363,360,360,358,348,334,339,348,348,325,320,320,320,321,328,329,329,322,319,322,322,317,318,322,321,317,317,318,324,341,334,334,338,339,349,334,329,336,333,327,328,328,327,328,328,334,334,341,340,349,329,322,336,333,325,314,312,315,309,310,305,303,311,300,299,309,315,314,310,306,306,289,300,301,301,293,285,288,286],[1750,1766,1170,1110,998,691,471,457,563,544,636,801,988,1192,1432,2142,2444,2232,1714,1790,1762,1556,1766,1476,1458,1370,999,966,1160,1360,1822,1582,742,477,440,429,443,499,635,625,441,425,461,402,669,735,731,771,838,742,420,298,313,286,306,339,403,477,372,381,626,531,394,419,435,411,413,440,710,1058,1270,1542,1540,1498,1378,1444,1434,1296,1017,771,532,397,489,413,294,280,262,265,298,365,779,604,446,751,1052,1072,1066,961,358,416,962,891,394,273,340,306,630,1160,1172,973,1346,1152,650,604,383,380,560,652,772,678,1036,952,532,769,753,573,618,894,1042,847,660,409,302,420,536,567,520,494,493,427,440,435,504,300,277,503,915,663,414,426,314,524,1222,1440,1056,731,518,488,542,755,1232,1510,1486,1582,1632,1302,1036,874,924,687,544,396,430,713,910,1486,1548,1256,1116,844,546,504,711,1042,1538,1450,1314,1874,1468,1436,1650,1550,1550,1556,1142,976,1366,1306,777,388,343,302,276,335,639,649,664,667,398,511,674,520,520,825,573,455,617,755,832,1064,1450,1410,1412,1262,1058,1210,1052,1254,1548,1682,1480,1662,1404,1246,1100,729,629,729,469,292,332,471,830,1146,847,1088,1152,944,824,662,662,872,871,739,581,472,985,1180,1266,866,424,474,736,938,989,997,1064,634,659,1204,1148,1336,964,719,1004,1300,1178,1424,1748,1414,1434,1220,1224,1490,1436,1418,1412,1722,2092,1808,1116,748,737,1164,954,850,674,485,769,1598,1024,381,354,345,304,328,289,421,1056,1814,1366,919,702,912,880,976,791,857,1116,1268,1886,1728,1296,1460,1148,1592,1532,1038,886,1376,1682,1622,1738,1640,1454,1522,1472,969,1262,1148,843,687,518,429,431,491,469,471,444,402,434,415,363,411,459,447,753,1366,1554,1558,1500,1088,647,660,826,1010,1344,1322,1396,1034,496,372,402,412,882,1852,1720,806,776,907,833,726,785,719,890,1162,1104,1092,1380,1692,1276,666,520,487,672,866,927,794,763,685,524,605,1026,1234,946,877,1002,1212,1276,1358,1170,1114,1130,1148,1344,1416,1023,1144,1522,1444,1106,962,1246,1170,1252,1460,1324,1048,712,627,1120,1162,532,770,794,1132,1256,955,896,1116,1190,1114,1158,1290,1058,746,1019,1080,877,753,990,1062,940,841,827,666,910,1142,1136,1138,1178,1256,1268,1154,1224,1382,1642,1440,957,1164,1334,1218,1026,1150,1570,1726,1730,998,1108,1562,1136,987,1028,1332,1644,1464,1190,881,991,1064,1114,1242,1400,1246,1310,1338,1094,874,1038,1122,1066,907,1072,922,900,943,877,875,1352,1364,1090,595,448,460,444,548,851,1044,843,625,979,1012,935,1062,1266,741,480,420,714,979,620,721,962,1084,749,469,716,977,868,960,942,748,821,989,1132,1152,1030,1400,1532,1512,1718,1386,1602,1888,1756,1800,1998,2116,1866,1396,1034,1012,705,698,879,1114,1426,1392,1034,803,645,571,825,1214,1252,1232,1086,904,860,1180,1408,1194,891,1007,1208,1248,998,1152,1246,1308,1178,1132,1188,1378,1038,1174,1250,1030,1194,1472,1058,574,730,905,1110,1456,1118,679,495,737,999,861,557,472,462,634,523,627,1226,1404,1011,1314,1584,1340,1378,1602,1512,1194,1058,1072,1064,806,653,1002,1230,1386,1240,1234,1150,1242,1398,1268,1166,1272,1404,1338,997,902,954,1200,1384,1005,797,1160,1456,1626,1596,1364,1610,1538,1530,1304,1346,1416,1324,1190,1398,1548,1368,1408,1830,1764,1810,1714,1858,1306,799,841,946,1056,1188,1250,1262,1426,1810,2348,1996,1452,1448,1600,1500,1526,1714,1698,1568,1156,1062,1366,1594,1266,1126,1106,705,826,1017,848,618,635,1118,1582,1508,1478,1370,1530,1496,1198,1009,1102,1008,1026,1268,1376,1204,1048,965,953,1288,1460,1692,1718,1592,1498,1436,1482,1574,1270,1174,1432,1308,1336,1366,1312,1158,1270,897,915,1238,1300,1106,1001,989,907,863,822,877,751,537,429,571,908,1210,1940,2264,1824,1576,1102,692,657,825,952,922,943,1226,1458,1196,816,840,872,933,775,575,646,674,516,763,516,430,433,926,1406,1310,1044,823,738,659,527,374,431,438,343,348,485,1114,1622,1814,1570,1392,1506,1546,1454,1522,1542,1538,1656,1942,1820,1418,1274,1122,738,711,1136,1378,1334,1438,1400,1296,1338,1312,1458,1556,1350,1284,1382,1542,1528,1294,1288,1562,1682,1374,1312,981,680,720,582,419,445,438,464,525,507,438,461,616,517,407,361,332,484,544,505,544,599,810,942,561,488,471,488,441,389,346,561,732,956,1044,1126,995,574,559,640,985,1032,778,1184,1340,1272,1001,984,1252,1286,1230,1236,1234,1242,1232,1288,1344,1306,1374,1188,1268,1430,1330,1160,969,950,989,1116,1276,1148,888,827,956,844,865,1007,785,863,1310,1320,820,515,432,710,1060,796,866,1284,1362,1184,1108,1334,1304,972,1070,987,1182,1316,1158,1234,1600,1400,1164,1158,1234,1268,1112,1066,1178,1302,1262,1274,1260,1180,1194,1210,931,677,854,1016,872,1009,1048,995,1318,1832,3586,2590,1518,1566,1372,954,814,722,559,581,589,961,854,816,1148,977,734,771,1048,1968,1910,772,576,504,620,1410,1874,1512,1328,1344,1118,830,749,979,943,461,525,371,551,856,661,621,542,381,515,726,521,404,409,502,910,1432,1262,1142,1002,832,592,522,554,574,755,1158,1394,1390,666,409,364,644,1092,1238,975,916,875,551,683,730,832,2108,1868,1090,627,440,542,581,554,554,495,938,1126,579,675,778,661,771,528,423,842,1002,1102,1128,1180,733,417,655,969,869,1108,1196,721,660,805,1040,976,1220,1274,1654,2054,998,1236,931,774,861,829,829,659,452,473,518,602,1082,1522,1220,1406,1482,1048,1340,1476,1598,1374,1054,939,888,1146,1366,1130,835,725,1198,1654,973,596,862,979,1028,1172,1648,1344,1540,1420,1442,1260,898,1170,1266,1080,899,580,493,487,503,486,463,464,430,476,608,651,541,624,662,625,518,504,598,598,563,625,836,764,678,1470,2138,2048,1142,429,359,413,422,414,433,522,536,465,357,332,382,417,490,541,530,586,1020,1390,1362,1530,1576,1506,1682,1860,1556,1442,1284,1250,1394,1520,1460,816,577,847,966,815,777,758,769,499,501,599,623,586,492,481,507,745,1158,1186,1010,1424,1360,1146,929,794,776,798,969,1084,916,720,753,919,560,711,1086,926,788,1168,1013,730,623,775,1001,806,675,689,703,430,421,518,438,384,375,411,438,379,342,339,327,313,366,546,591,472,377,331,332,339,316,318,317,281,278,273,289,265,316,332,361,526,565,382,301,309,321,341,355,316,303,302,300,307,305,311,303,301,308,304,306,313,308,314,321,304,307,305,292,282,289,302,300,295,294,298,293,292,303,300,301,306,303,301,309,333,363,375,373,365,369,365,365,384,370,360,368,364,354,361,351,353,353,371,367,381,381,387,381,371,379,391,389,393,415,404,414,418,396,396,430,426,408,391,374,376,383,379,374,377,363,354,354,359,366,366,370,348,324,327,357,354,348,359,354,350,360,358,360,379,401,383,372,377,401,408,398,398,402,383,393,394,386,386,388,383,385,390,392,379,370,379,375,364,372,360,359,362,357,360,364,366,372,381,363,366,386,379,386,394,412,432,412,420,404,409,391,383,424,395,341,357,368,333,316,307,312,336,347,322,298,287,298,296,275,271,302,287,277,282,277,287,296,297,294,284,293,365,434,438,408,419,431,432,421,412,404,397,389,392,400,391,392,386,375,366,368,373,363,363,372,385,389,392,392,396,399,379,375,361,375,373,367,361,357,373,371,354,367,360,355,353,345,342,336,329,345,358,363,361,342,332,338,332,332,357,345,350,361,362,351,346,344,344,352,348,338,324,330,328,321,322,333,349,330,324,326,340,346,333,329,332,332,324,340,330,324,324,327,326,324,322,320,324,339,342,333,321,322,328,329,328,323,322,324,316,330,334,339,342,350,356,358,359,361,361,356,349,346,347,347,349,353,355,352,352,339,352,344,336,348,340,358,351,344,346,331,334,334,334,333,308,325,329,328,327,328,328,337,367,365,352,358,358,348,345,346,352,360,360,389,378,370,369,370,360,358,358,358,358,358,354,355,344,334,337,339,332,327,329,320,315,321,326,324,322,322,315,312,314,314,317,322,322,321,314,318,338,334,347,343,347,356,346,336,339,343,341,333,328,328,328,327,327,333,335,335,335,339,339,335,335,327,321,316,318,311,306,316,311,314,313,308,308,315,326,308,316,310,304,303,292,290,297,297,299,298,288],[1954,2116,1410,1272,1168,916,633,596,670,763,731,722,779,1308,1370,1712,1854,2236,2148,2252,1860,1520,1490,1626,1582,1264,1230,1015,792,926,1120,758,491,383,375,365,333,691,1338,912,419,455,464,322,387,369,264,474,857,836,477,313,276,345,388,607,728,662,436,379,625,695,509,444,532,700,932,1152,1346,1448,1364,1084,1140,1482,1536,1654,1442,1136,1015,700,449,401,399,388,311,279,273,271,333,332,438,394,470,715,592,454,364,328,258,289,594,504,307,265,276,309,432,808,810,764,998,1050,905,708,506,407,474,505,707,745,1052,1188,697,761,720,660,633,1142,1234,857,616,422,367,495,556,589,539,521,406,405,444,393,426,286,330,526,805,761,517,469,367,458,1044,1358,1250,1080,731,592,929,1124,1338,1542,1504,1510,1394,1174,1340,1576,1122,790,593,478,570,572,1072,1590,1248,978,1122,1292,796,655,879,1072,1554,1124,1042,1576,1862,1952,1856,1658,1610,1496,1328,616,501,655,489,333,340,325,293,371,763,985,879,555,445,973,1620,1102,835,707,519,503,484,542,557,620,1050,1498,1472,886,882,924,829,1148,1202,878,839,971,708,534,514,463,484,573,458,300,346,618,610,441,648,961,798,647,668,603,401,659,827,530,523,663,1206,1416,1334,859,496,709,705,824,771,728,791,610,755,1030,924,952,832,744,1058,1240,1260,1174,1546,1650,1548,1284,1184,1412,1488,1316,1320,1548,1666,1514,1278,766,669,756,723,763,519,677,1120,1040,672,488,239,231,250,327,268,361,982,1532,1122,958,1015,1072,1007,972,652,448,483,725,1184,1318,1674,1710,1048,927,942,1092,948,951,1376,1428,1472,1202,1322,1716,1532,1178,1086,1114,1232,1002,583,473,517,517,503,532,489,473,420,404,419,437,420,414,654,1086,1384,1512,1554,1408,826,625,597,597,1124,1368,1100,556,426,407,396,747,1606,2178,1678,1106,984,909,566,501,753,1082,1226,863,680,839,1046,1418,1540,1288,902,728,648,1052,1214,1013,1334,1172,797,896,1302,1048,972,888,886,1136,1364,1422,1318,1218,1166,1254,1456,1474,1246,1066,1350,1502,956,970,1262,1090,1432,1646,1246,1162,849,819,1350,916,561,819,727,1026,1360,1606,1390,1174,1116,1164,1242,1202,1078,880,1100,1206,1134,1050,1046,1214,1042,977,956,633,791,1154,1011,837,1152,966,908,755,554,728,1360,1516,940,835,1286,964,1026,1466,1676,1854,1154,771,1011,902,648,702,725,809,931,1116,1212,1078,1016,955,1238,1460,1478,1416,1394,1266,1114,1236,1144,968,1450,1170,1332,1314,1096,866,635,626,897,1180,918,501,435,454,455,478,772,909,696,856,1262,1240,978,1296,1242,715,727,616,1124,992,755,1028,1434,1008,632,483,609,842,730,659,790,718,673,760,940,1080,1090,1190,1056,959,1202,1390,1718,1896,1810,2104,2046,2002,1820,1180,1218,1384,1128,904,1046,1372,1582,1414,1102,858,669,659,1304,1484,1636,1412,1034,1017,954,1332,1422,933,1008,1228,1330,1004,821,1340,1212,1072,1380,1268,1174,1454,1384,1016,1060,1256,1462,1332,1194,1046,1102,960,1598,2030,1506,937,866,699,649,764,482,405,523,947,717,546,1160,1654,1028,1302,1862,1460,1820,1750,1340,1356,1118,880,837,966,993,1036,1172,1328,1394,1232,1162,1274,1208,1438,968,1070,1116,1080,976,768,914,1290,1356,1266,1260,1382,1550,1494,1250,1180,1306,1342,1310,1454,1698,1628,1370,1468,1576,1236,1278,1382,1484,1454,1570,1864,1902,1316,1114,999,1006,1216,1242,1040,837,1338,2196,2504,1936,1578,1716,1926,1562,1360,1532,1678,1522,1096,1150,1296,1570,1312,985,1050,945,949,1021,1130,1148,717,937,1272,1270,1304,1288,1414,1422,1184,957,1096,1392,1324,999,1108,1058,986,970,957,1032,1448,1490,1494,1300,1074,1026,1432,1582,1240,1172,1300,1324,1148,1264,1276,1364,1498,1360,1148,1210,1192,937,987,1118,1292,1005,744,681,676,539,455,699,1046,1192,1310,1476,1730,2120,1302,826,855,893,1322,1444,1108,1266,1372,832,412,612,1170,1468,731,577,679,644,512,452,696,1070,921,1122,1798,1758,1440,1001,966,777,458,368,471,545,426,325,516,1140,1852,1870,1470,1428,1748,1726,1460,1312,1566,1500,1388,1536,1492,1334,1122,732,581,750,1192,1396,1312,1362,1340,1374,1408,1324,1492,1606,1454,1288,1320,1358,1360,1342,1514,1660,1954,1686,1348,1078,952,1104,902,528,455,470,450,480,475,469,468,456,385,375,363,347,441,565,547,503,532,609,929,616,455,430,480,467,404,352,473,596,642,796,1200,1486,675,712,636,619,797,899,1074,1296,1294,1086,855,1184,1286,1266,1072,1076,1136,1060,1306,1204,1214,1480,1454,1504,1454,1104,929,797,935,1042,1012,946,809,763,672,808,1050,1068,1050,993,875,1320,1548,664,461,565,881,1032,786,904,1102,1108,1170,1426,1266,1222,1270,1276,1194,1204,1188,795,991,1542,1234,1234,1710,1284,1112,791,686,882,1178,1358,1360,1548,1502,1352,1460,1188,1200,1260,1444,1440,1704,1390,1021,1144,1712,1782,1426,1698,1648,1534,1346,1028,791,681,521,702,1340,1230,833,969,1060,876,784,993,1150,816,484,419,409,712,1636,2034,1534,916,582,718,1156,1574,1654,1140,629,536,947,1514,1802,1142,539,604,490,549,1044,820,505,452,597,708,1002,979,1052,1338,952,689,919,1074,801,579,634,728,714,520,397,346,525,1172,1614,1222,865,832,570,709,1054,756,970,1362,1562,1124,653,662,861,703,632,861,735,628,757,951,1013,850,858,875,706,711,781,626,879,1100,653,386,756,1026,1126,1152,840,472,392,477,959,1230,971,848,1516,1970,1200,1252,862,872,952,1018,1100,789,481,494,475,553,1062,1374,983,1314,1328,1001,1174,1466,1366,976,995,1292,1048,1066,1290,1504,1084,867,1200,1766,1036,558,581,696,795,1408,1476,1348,1706,1080,1578,1268,1210,919,998,1194,775,537,455,421,456,477,446,436,406,442,456,477,550,614,615,612,521,537,586,555,666,825,1200,1142,726,1112,1662,1898,1156,525,391,398,365,406,512,472,487,496,439,396,483,462,466,464,455,531,791,1194,1190,1428,1440,1394,1332,1338,1420,1446,888,746,1148,1498,1152,733,743,861,1098,890,699,1154,1380,927,599,494,397,330,350,449,602,819,1072,1005,1086,1338,1256,1232,952,852,885,855,1074,1234,1176,713,529,683,691,639,962,926,673,893,1026,724,538,922,1128,842,810,788,610,517,594,716,640,457,370,427,458,367,335,342,306,320,324,452,711,662,469,374,321,338,333,313,301,256,248,240,248,244,259,283,278,299,299,290,309,333,287,335,389,349,312,304,302,309,304,300,297,288,301,308,312,319,314,321,317,302,299,299,294,284,292,309,302,296,294,310,304,307,315,305,300,309,308,303,318,338,355,365,375,375,369,379,378,381,378,369,383,379,359,353,342,345,349,363,367,381,369,378,378,375,379,392,393,401,424,432,438,414,394,394,406,410,412,408,393,382,383,385,377,374,360,354,358,361,368,361,368,358,350,344,346,369,379,392,381,365,374,375,376,389,398,410,424,438,435,386,384,383,400,388,402,388,360,386,394,377,374,374,374,371,360,369,372,352,362,366,368,369,352,350,370,368,366,374,362,359,361,369,350,377,406,418,467,486,427,378,378,410,448,434,387,369,323,331,339,344,344,355,351,320,299,285,279,279,280,269,285,285,297,315,318,315,292,300,327,323,347,422,410,403,408,413,419,419,412,406,398,391,385,384,383,405,393,387,375,368,367,363,368,370,366,372,373,379,385,384,375,372,363,361,351,345,349,360,370,379,371,343,345,366,375,351,345,345,338,336,336,340,345,351,343,328,326,348,336,346,328,342,351,346,348,350,348,350,354,350,336,322,336,333,327,328,328,332,336,329,322,324,322,324,326,323,324,345,335,330,329,331,322,315,319,316,315,321,333,330,336,327,326,329,329,324,322,323,322,325,327,329,344,348,357,365,365,365,367,363,357,351,343,341,345,347,355,359,344,365,361,355,352,355,355,352,361,355,364,349,338,334,334,331,331,316,322,326,328,332,334,334,344,339,355,358,344,360,358,360,356,352,354,364,372,372,379,374,363,358,360,360,360,358,360,356,346,339,338,329,334,334,340,340,325,315,314,318,321,322,320,311,309,317,315,316,321,321,321,326,340,332,339,369,359,350,353,359,351,353,349,337,329,328,328,329,333,335,335,335,335,333,328,335,339,335,335,325,313,326,323,309,314,316,327,320,315,313,302,326,305,313,312,307,302,291,290,291,295,287,280,298],[1966,1860,1564,1294,1150,1076,599,580,1082,1334,1007,779,907,1428,1566,1680,1690,1670,1954,2208,2176,2186,1616,1954,1616,1508,1854,1422,692,410,391,387,340,288,364,430,509,1036,2344,1072,442,454,430,348,326,319,242,415,795,735,288,249,303,343,438,816,902,647,448,378,636,969,1026,1054,1204,1238,1250,1214,1106,1074,1084,687,789,1266,1426,1408,1284,1236,1334,968,614,614,466,404,379,379,430,369,352,537,669,665,747,716,417,362,326,288,273,268,321,327,300,325,359,411,742,1566,1278,702,549,763,1088,772,607,653,570,648,703,681,1102,1036,846,660,494,594,541,1230,1364,1036,783,616,589,578,526,587,596,586,398,382,391,381,343,298,349,404,497,601,572,483,429,468,618,813,1198,1484,1112,1032,1210,1106,1312,1614,1610,1388,1108,720,1136,1462,1462,1454,1318,1106,877,991,1476,1456,1246,1410,1346,1372,1162,1296,1010,994,1302,1012,731,1056,1600,1810,1776,1296,1344,1466,1316,970,684,514,383,386,417,411,390,335,465,745,872,590,654,1472,2062,1542,993,691,603,547,496,536,589,997,1422,1546,1286,776,946,1110,1222,1292,859,435,645,1026,1246,907,766,519,520,805,716,354,301,834,790,396,641,915,948,877,683,633,402,332,547,529,609,794,1011,1106,935,586,595,849,625,583,543,450,601,837,927,763,813,1068,1096,1360,1784,1378,1180,901,1186,1568,1484,1162,836,901,1042,1242,1642,1544,1368,1324,995,863,971,745,742,809,915,1206,1516,1592,1226,584,307,265,311,334,287,329,472,720,974,821,865,1290,1312,1080,794,531,398,451,714,1252,1526,1520,1024,697,829,868,797,719,1023,1042,1648,1268,1234,1200,910,543,540,831,1184,1204,846,436,499,525,594,565,533,448,435,403,397,400,412,447,525,628,884,1222,1422,1580,1194,743,569,817,1050,862,490,398,446,415,688,1142,1488,1434,1110,1090,1416,1294,833,583,840,1272,1268,947,579,449,521,1068,1428,1486,1342,1116,798,1238,1562,940,1184,1086,1094,1494,1578,1174,1064,1016,1044,1194,1236,932,678,786,901,857,669,951,1184,1178,1276,1238,913,1120,1378,1248,1378,1618,1250,1642,1582,1294,1192,563,561,746,860,852,850,1036,1256,1336,1102,980,916,1180,1266,1078,1118,1574,1910,1068,1106,972,840,871,1011,816,688,1074,818,919,954,733,857,983,858,756,1094,1642,1262,1090,976,992,1328,1602,1868,1306,815,1120,1450,986,495,575,648,781,1208,1382,1280,1106,843,974,1222,1336,1356,1352,1356,1390,1370,1368,1122,1140,1408,1022,1090,1138,734,562,469,479,971,1094,689,489,463,505,498,590,833,706,600,810,1276,1286,835,1124,1230,818,813,895,1670,1332,1044,1350,1250,809,570,574,590,685,758,859,767,683,683,658,1050,954,1080,1210,1038,1026,1138,1202,1316,1414,1578,2436,2586,2260,1548,1074,1100,1258,1344,1250,1164,1438,1470,1410,1384,1030,813,605,794,1340,1788,1750,1208,815,947,1262,1288,1262,1140,1204,1200,775,788,1232,933,783,1266,1434,1466,1332,1114,1142,1104,753,1274,1610,1294,1282,1422,1440,1622,1946,1682,1244,1198,919,716,652,392,390,566,842,776,501,910,1596,1244,1066,1732,1520,1896,1302,1188,1600,1200,929,1100,1250,1044,939,1174,1458,1366,1142,1366,1296,1048,1242,1230,1310,954,954,1228,1126,1034,1384,1470,1376,1148,1310,1328,1280,1334,1094,985,1200,1398,1574,1656,1494,1262,1486,1282,978,1230,1166,985,982,1000,1282,1212,1212,1426,1208,1044,994,1112,1104,935,1134,1722,2180,2130,2088,2152,1766,1396,1792,1916,1656,1368,1172,1554,1678,1584,1160,984,1056,1094,1106,1050,1114,1100,871,1130,1040,1050,1090,1104,1220,1168,1084,1192,1194,1318,1164,1016,874,824,1170,1236,1252,1202,1438,1362,1256,1356,1118,1056,1086,1046,927,1082,1346,1284,1306,952,996,1250,1378,1290,1038,1264,1074,963,1306,1368,1314,952,700,982,1148,686,576,971,1480,1618,1462,1064,1240,1490,1212,1160,960,699,1198,1478,1366,1390,1162,551,446,933,1328,1344,724,746,931,707,504,614,1238,1576,1180,1294,1794,1632,1220,1074,1096,752,305,297,482,704,656,387,485,1092,1824,1676,1524,1494,1842,1676,1622,1422,1476,1472,1248,1316,1440,1272,1046,604,695,942,1298,1292,1164,1034,1240,1434,1290,1368,1604,1528,1438,1540,1760,1574,1518,1460,1498,1588,1654,1588,1388,1240,1148,1256,1314,867,520,460,460,440,454,464,457,424,379,373,405,453,522,511,564,519,491,572,937,745,431,335,378,360,350,393,477,484,516,552,901,893,574,692,642,612,1808,1962,1238,1396,1476,1332,1118,1342,1400,1604,1226,1056,1005,1234,1300,944,1142,1594,1248,1470,1454,1310,985,844,846,932,832,607,605,895,1001,919,1154,1378,1222,1222,1148,1262,1176,747,876,996,1104,930,531,758,1132,1176,1084,1178,1066,1384,1520,1302,1128,1158,1204,984,1312,1838,1490,1640,2106,1332,1036,739,568,556,760,985,891,1064,1268,883,1016,1384,1802,1438,1374,1516,1500,1204,900,825,1132,1068,1236,1454,1400,886,778,887,930,808,613,737,1206,1148,983,805,989,856,973,785,561,362,337,383,488,935,1648,1360,1078,673,622,754,1168,1622,1019,835,756,1022,1714,1668,1110,697,938,1052,696,473,1028,1050,798,790,815,1190,1842,1670,1338,1134,747,713,1136,1480,1240,841,520,426,475,477,447,706,761,568,1026,1412,1356,1404,1344,962,1090,796,1090,1566,1664,1500,1186,1032,1076,1088,1472,1798,1130,877,1058,1128,1154,1124,1192,1054,778,817,964,927,1340,930,744,711,1021,1094,1176,1008,697,610,502,426,719,919,807,683,772,907,703,595,619,651,498,664,946,852,480,486,566,690,848,901,993,1194,1482,1736,1542,1252,1220,1298,1162,1270,1362,1186,1242,1136,885,675,618,760,593,522,539,541,771,1252,1124,1788,1180,1526,1392,1252,1512,925,984,919,557,495,423,398,420,438,411,428,385,428,414,381,424,460,500,524,528,534,486,656,630,505,1030,1284,774,426,854,1156,1240,1648,688,482,496,421,380,391,460,477,411,390,488,520,408,366,373,418,573,1118,1136,988,1104,1396,1492,1440,1354,982,639,585,599,850,1104,791,779,792,1001,929,872,1368,1416,594,474,561,436,384,401,471,563,669,643,717,1136,1170,1228,1470,1108,1130,1052,825,1019,1070,980,590,909,1048,798,605,860,959,631,967,1180,869,468,544,846,774,688,737,637,548,551,540,525,468,404,448,449,375,346,334,307,305,347,368,612,788,686,545,481,368,332,317,291,271,260,275,274,259,273,325,350,332,355,352,317,326,302,344,433,390,329,312,301,288,279,286,303,297,295,314,321,317,306,311,315,296,290,297,292,290,300,308,290,303,277,292,298,295,304,307,296,309,315,318,330,335,340,354,371,384,381,384,378,362,372,368,356,360,359,349,343,337,347,347,357,369,372,382,379,383,383,385,398,415,414,424,442,449,421,402,409,422,417,409,377,376,389,389,385,375,365,358,360,358,366,373,374,361,354,366,361,397,458,459,411,382,402,406,406,402,393,400,414,468,428,392,391,377,391,392,402,397,375,379,381,371,371,382,386,379,374,375,365,348,354,360,346,346,348,343,363,374,366,357,360,362,366,379,360,354,385,412,449,488,480,402,396,383,444,469,453,427,412,386,350,344,342,346,350,339,333,330,292,302,326,324,318,331,346,370,400,416,394,410,402,382,408,419,404,401,415,416,408,406,406,406,396,386,380,384,390,399,387,385,383,385,387,384,377,367,361,363,361,370,364,367,373,379,367,359,353,355,351,357,353,358,345,335,341,351,343,346,349,345,341,332,330,348,345,348,345,341,324,336,336,341,331,342,342,331,345,346,354,354,345,340,333,322,345,332,323,331,332,335,327,324,324,331,337,329,318,332,337,329,325,326,333,332,316,310,311,318,319,327,320,310,330,332,329,329,329,328,321,324,324,322,323,336,341,352,362,362,365,368,366,364,357,344,347,339,340,347,349,345,364,361,361,361,357,352,353,363,370,355,373,353,340,334,332,325,322,322,322,324,334,340,338,339,354,352,358,361,348,354,355,351,350,349,355,368,368,358,380,374,360,357,356,355,352,355,358,355,338,336,340,326,334,334,334,330,327,318,314,312,312,320,321,314,311,312,321,322,323,325,327,322,326,323,330,359,367,356,347,350,350,335,335,329,332,335,340,342,337,335,335,335,335,335,328,328,334,339,342,335,327,339,323,314,323,312,315,314,319,326,321,350,333,318,312,319,313,295,287,296,302,297,289,301],[1790,1534,1400,1344,1204,1360,1088,891,1400,1794,1572,1014,1230,1730,1876,1860,1772,1656,1690,1656,1912,2046,2260,2178,1464,1500,1664,1070,516,416,344,335,369,357,375,452,563,1210,2252,910,377,422,371,347,392,384,350,414,529,527,331,345,417,436,653,828,554,348,458,610,882,1230,1384,1406,1332,1036,1312,1416,1158,1052,842,479,516,786,964,929,834,1194,1732,1122,1260,1270,686,553,643,684,703,562,392,502,599,985,966,822,558,433,417,337,256,254,272,273,314,357,318,524,1344,2266,1782,1046,642,569,673,628,659,570,532,756,648,628,1080,732,557,395,506,736,866,1060,1094,1006,881,868,905,612,547,535,559,550,449,405,390,353,324,361,391,372,361,436,626,425,459,507,512,521,1009,1400,1330,1196,958,875,1062,1566,1566,1188,1130,784,1015,1268,1298,1406,1614,1542,1532,1670,1756,1404,1490,1502,1128,861,932,976,802,985,1202,1036,1026,1274,1380,1584,1650,1110,950,1176,1220,1310,1084,622,341,363,392,365,379,364,348,379,571,639,907,1340,1538,1172,636,656,983,1142,1094,979,866,1360,1562,1604,1462,1250,1404,1490,1676,1692,1138,785,845,1792,2474,1554,948,460,784,1422,1090,397,279,394,415,391,594,821,858,775,658,532,321,293,535,641,575,637,697,632,430,333,535,810,783,808,719,662,628,755,1088,849,855,1144,1152,1612,1788,1482,1412,1346,1276,1060,976,846,725,782,904,1378,1470,1526,1674,1624,1444,1272,1460,1240,900,1122,1572,1498,1130,1198,957,367,284,292,272,289,277,363,415,565,756,824,1156,952,1110,1392,1542,1118,615,589,623,973,1412,1358,821,693,857,985,976,1156,1350,1252,1588,1244,954,761,481,378,374,571,929,933,781,520,675,610,555,557,580,497,423,414,431,449,506,434,404,382,564,685,992,1404,1426,957,574,744,849,545,416,340,297,433,927,1038,1034,1118,1242,1548,1630,1268,962,774,1012,1116,1116,930,606,679,802,984,1256,1512,1428,1072,701,647,579,518,938,1126,1224,1144,1140,1198,1288,1268,1318,1286,1034,522,408,745,828,550,587,678,993,1396,1360,1172,1042,1200,1360,1015,1356,1794,1408,1592,1754,1838,1310,759,741,888,1238,1378,1112,850,915,1230,1136,796,895,1486,1282,1068,655,2612,2850,939,1082,1102,1040,907,1082,967,831,949,750,1005,1108,1100,1282,1154,828,756,865,1092,1284,1020,930,1316,1562,1822,1558,894,1058,1610,1416,875,752,868,1340,1800,1432,1212,1202,1044,723,974,1312,1338,1328,1400,1388,1400,1526,1376,1130,1114,1174,956,965,931,854,893,602,577,1012,722,506,495,518,548,537,548,682,658,540,607,859,935,677,1054,1146,709,619,983,1576,1314,1306,1342,974,698,518,657,667,703,784,951,889,785,757,538,663,658,711,971,910,1007,960,948,985,994,1018,1300,1864,1948,1312,1186,1394,1012,982,996,961,1196,1270,1346,1434,1178,813,650,521,508,1005,1400,1072,945,1220,1078,934,1194,1016,1090,1108,728,832,1100,1040,1114,1178,1080,1512,1204,806,794,815,767,930,1102,1068,1224,1274,1256,1418,1610,1386,1278,1374,1152,1178,786,798,810,842,1044,977,688,832,1246,1158,740,1306,1338,1384,1170,1258,1450,1274,1306,1400,1030,648,799,1190,1604,1444,1260,1464,1162,791,800,1216,1284,989,944,1056,1134,1116,1538,1550,1226,1096,1240,1136,968,937,780,858,1324,1366,1136,1542,1576,1114,1200,983,818,957,988,1142,1074,1023,1146,1062,1108,1060,1012,958,921,1024,1306,1066,902,1256,1706,1866,1814,2048,1830,1404,1590,1682,1648,1208,1218,1990,2144,1510,1114,998,733,963,1154,1006,1118,1208,1002,1054,1244,1344,1434,1518,1350,1002,966,1164,1250,1038,863,999,922,941,1272,1236,1370,1632,1614,1162,1208,1692,1368,1416,932,1128,1234,1128,1062,1372,1442,996,1052,1142,1220,1218,1116,1314,758,570,919,1438,1556,1388,1003,1168,1310,879,857,1252,1880,1902,1662,1100,1404,1170,1570,1644,1010,992,1406,1374,1216,1016,1092,749,687,1486,1104,876,1036,1328,1034,578,664,860,999,1086,1009,1450,1756,1156,613,768,863,556,350,336,491,930,1052,602,555,1302,1820,1656,1564,1614,1816,1636,1564,1508,1598,1608,1422,1378,1214,1094,1156,611,636,1120,1336,1260,980,843,1156,1380,1356,1312,1428,1636,1494,1630,1628,1590,1568,1428,1482,1476,1476,1412,1310,1266,1114,1284,1514,1172,680,466,454,457,477,469,449,439,408,419,481,542,583,536,514,496,504,603,910,878,518,327,342,348,385,504,995,922,594,488,689,577,501,504,511,610,1182,1444,1462,1532,1582,1234,1446,1436,1422,1368,1228,1036,928,874,998,1044,1182,1454,1230,1318,1218,1034,614,437,525,998,1072,738,791,962,1048,837,984,1418,1476,1023,924,1080,912,1108,1650,1362,960,854,655,756,787,1058,1396,1176,974,1230,1242,1174,1052,1066,1206,1230,1472,1844,1570,1688,1738,956,703,727,608,529,846,1120,995,1194,1408,539,356,922,1110,961,867,1538,1564,786,884,1132,1124,1128,1030,1462,1334,767,621,923,1220,966,781,1100,1328,798,546,736,739,533,630,949,836,587,400,514,733,1588,2100,1130,636,569,495,703,658,510,708,1312,1066,897,1110,740,470,753,1174,1190,850,577,749,996,1026,905,941,1480,1798,1716,1606,1210,727,667,634,698,824,729,594,424,442,597,960,1638,1622,875,868,1222,1770,2244,1658,1056,1162,1124,1180,1366,1208,973,1023,1356,1208,1116,1242,1210,871,834,1176,1254,1150,1398,1372,972,1013,1344,1300,858,931,645,842,1124,1144,916,867,955,722,789,898,615,864,792,985,916,1220,1434,1116,1136,1088,537,319,404,625,763,656,505,600,1188,1368,1092,1032,1296,1686,1562,1514,1538,1204,1332,1440,1422,1982,1720,1394,1108,868,655,549,543,524,474,553,512,613,528,879,1266,1290,1618,1138,1594,1382,913,1090,680,526,538,502,464,461,444,426,375,398,500,463,396,462,523,485,461,501,552,539,548,486,444,769,1178,922,467,778,1206,1270,1820,1290,1010,869,502,317,356,397,386,367,388,469,489,404,466,428,357,449,770,691,589,764,1122,1472,1334,842,624,826,1208,811,467,763,952,716,551,752,781,849,1342,1104,385,578,819,688,456,437,461,484,656,756,818,1148,1108,1122,1486,1632,1682,1506,1078,1066,1154,980,568,728,906,664,399,662,851,542,865,1156,814,530,679,945,823,626,760,796,447,376,411,524,533,440,558,547,521,445,396,335,299,364,407,504,768,813,759,742,431,320,305,312,317,317,324,315,295,307,370,399,332,376,419,359,307,298,307,337,334,323,312,307,298,289,300,308,310,299,312,312,313,316,321,315,299,307,309,301,296,294,290,298,302,286,300,303,303,317,315,297,300,303,328,331,328,355,368,367,382,377,369,368,362,356,357,360,365,350,350,348,339,342,334,337,355,366,382,376,386,389,393,408,412,416,426,448,466,450,406,400,415,402,408,381,380,394,398,391,381,378,374,358,353,372,387,402,395,393,419,430,451,503,502,450,410,420,447,456,419,409,400,382,436,442,426,411,402,394,385,387,380,373,374,370,363,363,368,373,357,366,363,354,350,351,340,335,335,352,346,349,373,389,382,369,365,378,401,393,378,378,412,437,431,485,483,411,379,430,491,500,467,449,440,425,389,364,364,358,358,365,375,355,366,399,404,410,428,418,405,421,432,412,420,438,426,413,403,382,380,399,399,395,401,408,416,407,387,387,393,402,386,382,375,372,375,371,360,359,358,357,351,361,365,361,369,361,372,386,369,364,343,328,359,330,329,330,334,349,349,349,351,343,336,339,332,329,329,335,349,359,343,325,327,335,332,325,336,345,329,336,343,357,363,349,338,326,326,332,318,325,342,328,331,330,324,323,330,328,323,316,328,319,308,319,325,331,327,317,312,311,317,323,328,323,320,327,327,335,327,332,330,326,327,322,322,329,336,340,341,344,350,359,356,353,352,356,331,347,335,339,347,347,346,353,356,351,357,359,353,355,361,373,359,369,359,343,336,333,325,324,328,328,334,339,339,346,355,352,359,365,364,350,352,350,346,346,348,357,361,365,361,368,367,361,355,349,350,355,352,349,343,339,328,346,328,328,333,339,346,339,321,312,310,320,321,322,316,318,305,319,323,326,330,328,323,333,335,339,348,348,353,360,359,337,350,350,341,344,348,339,337,337,335,328,335,339,341,335,337,335,339,344,339,339,329,318,314,301,315,321,344,344,339,335,340,332,323,318,325,328,326,296,302,307,309,308,300],[990,987,1040,971,1032,1376,1490,1406,1342,1648,1670,1328,1272,1476,1868,1914,1802,1802,1758,1690,1562,1556,1870,1598,1300,1598,1670,1056,520,398,344,305,378,389,399,404,467,567,598,681,739,607,462,435,563,668,740,571,369,367,426,458,594,890,1346,1456,1021,925,1158,1306,1274,1278,1482,1416,1466,1094,1454,1922,1642,1060,711,635,742,749,960,843,559,1372,1876,1242,1288,1120,749,757,686,607,565,494,396,459,513,1280,1410,1130,517,389,574,493,276,291,303,297,309,287,349,506,1094,1738,1714,1154,691,533,446,503,552,375,338,533,558,638,664,483,493,500,763,941,1008,1058,1023,861,726,518,701,678,636,513,572,545,421,394,358,357,383,444,882,555,390,504,681,453,480,621,606,617,743,832,983,893,849,811,849,1236,1140,1188,1232,927,983,1376,1462,1542,1446,1212,1566,1794,1694,1382,1548,1522,980,546,844,1316,1116,1116,1244,1152,1250,1400,1504,1662,1434,992,763,854,854,771,908,604,373,415,591,430,369,357,361,484,582,583,586,684,863,740,459,470,1004,1598,1396,956,790,1312,1418,1452,1638,1794,1600,886,922,1264,1036,792,737,1056,1082,1230,829,433,794,1206,927,391,299,304,327,369,509,568,464,471,469,460,346,270,451,537,409,529,615,532,378,342,719,972,940,939,932,1060,873,620,930,1074,764,813,1126,1368,1310,1444,1584,1516,1120,725,819,832,831,971,1220,1192,1282,1514,1682,1590,1534,1432,1470,1332,1202,1236,1534,1266,641,926,697,337,277,283,277,260,280,440,506,539,620,1220,1640,986,1338,1620,1810,1706,1009,586,430,683,1622,1336,603,893,1122,1100,1188,1356,1296,1376,1572,1342,1136,931,527,436,368,366,519,649,581,667,689,517,601,686,557,476,505,412,419,457,472,410,421,370,455,625,805,1082,1400,1250,891,623,587,513,489,499,895,856,1202,1402,1028,875,886,1094,1530,1396,863,752,700,679,979,1168,970,717,623,568,560,813,1056,802,512,486,566,668,1122,1172,704,396,532,872,1052,1124,1412,1418,1328,987,455,591,836,721,647,699,1176,1456,1488,1606,1244,1003,1068,1212,1642,1328,1298,1354,1476,1694,1222,609,635,964,1274,1452,1710,1636,1174,1356,954,519,1298,1706,1076,911,921,775,387,835,1092,1476,1410,1188,900,786,1010,1036,976,1072,1188,1316,1252,844,641,899,1264,1144,1068,886,1226,1590,1800,1572,959,1066,1426,1740,1354,1418,1454,1476,1362,1550,1432,1208,1594,1538,1154,1212,1214,1190,1202,1174,1290,1042,1138,1154,1050,1176,1228,927,807,988,1056,1256,819,600,665,590,557,603,580,565,527,511,573,456,442,531,632,813,1058,1530,1272,960,691,637,907,894,990,1104,895,607,419,563,635,758,993,1114,1015,875,718,595,791,940,772,857,559,709,891,933,909,880,909,885,1014,1232,1246,1642,1686,1072,956,851,990,888,1066,1412,1600,1206,698,467,377,375,706,1054,910,1118,1198,1200,1170,1086,984,1370,1432,1402,1422,1224,1292,1394,1108,693,1074,1430,1020,751,661,967,1216,1112,1276,1516,1288,999,1158,1396,1410,907,853,983,1146,846,1168,1554,1224,1092,1366,1252,1688,1714,1070,571,673,954,1346,1384,1094,894,807,1048,1240,993,852,849,1122,1530,1594,1742,1662,968,491,507,588,575,658,954,1056,1026,1146,1346,858,643,905,1019,1050,1030,823,711,974,1316,1182,1054,1260,1182,697,911,1290,1132,775,657,982,1600,1666,1396,927,926,993,1088,1104,1324,1160,1088,949,770,675,958,1280,1340,1808,1778,1496,1488,1732,1776,1434,1368,1698,1526,1210,1094,1132,877,1072,1118,951,1044,1092,1052,1278,1354,963,989,1204,1126,1170,1448,1332,1198,802,775,1100,1030,1176,1262,1348,1632,1616,1438,1300,1172,1318,1282,1196,808,980,1062,982,1088,1382,1422,1206,1178,1166,868,910,1362,1310,875,595,674,1186,1714,1600,1086,1106,1020,904,1003,1080,1392,1860,1600,1688,1914,1488,1638,1300,748,1023,1548,1448,1190,820,977,877,787,1018,754,713,1046,1216,670,473,841,765,440,564,752,1244,1548,1013,894,1050,943,901,871,446,458,784,1266,882,568,1208,1504,1562,1518,1486,1590,1558,1520,1510,1548,1444,1440,1440,1362,1466,1112,589,631,1262,1614,1234,1134,1248,1418,1372,1388,1310,1392,1498,1360,1628,1534,1664,1732,1538,1530,1610,1692,1388,1464,1522,1476,1362,1346,1168,971,670,445,443,455,428,399,441,476,538,587,532,511,507,457,465,532,556,677,877,777,408,394,373,486,579,1005,837,475,368,578,716,528,463,474,587,1050,1262,1094,1344,1400,1366,1496,1348,1346,1510,1384,1160,934,1021,1142,980,893,1224,1250,1110,1180,849,481,336,444,730,827,1040,1196,761,633,616,1102,1376,1324,863,676,877,1178,1464,1280,955,956,1266,1100,782,677,1112,1270,1058,912,564,548,682,659,979,1206,1168,1500,1846,1440,1576,1652,1230,1166,1200,1036,858,1114,1242,980,797,927,767,564,446,461,366,484,1372,1544,636,719,1098,985,1224,1598,1654,1140,688,510,1044,1450,1082,975,1176,1274,912,684,1086,764,495,375,469,746,932,991,750,1070,1858,1746,1138,667,641,1168,1782,1376,855,1246,1514,1188,1016,792,655,646,925,1064,1178,1052,1256,1340,1058,884,696,500,666,536,655,907,1202,984,622,392,396,300,266,410,565,800,926,1268,1550,1426,999,982,1046,930,841,771,725,814,848,858,893,899,774,882,1116,1294,1284,1250,1050,866,1094,1402,1286,1114,1338,1398,1140,1128,1266,1140,828,719,923,1102,927,894,874,870,1106,791,902,1338,1002,1166,1005,1050,1032,1546,2080,2304,2248,1604,724,428,483,959,855,833,695,721,1288,1528,1312,972,837,1112,747,908,1218,1410,1168,1322,1460,2254,1868,1082,723,664,572,527,541,456,548,666,649,764,621,507,426,885,935,1188,1566,947,1120,869,496,527,586,569,533,464,436,431,420,484,540,506,478,558,568,495,499,465,666,742,527,524,636,752,1102,1050,533,648,1132,1186,1282,1678,1312,709,426,383,408,380,380,415,412,478,431,412,711,735,583,477,586,637,513,604,760,936,784,769,915,1250,1506,1312,927,932,1290,1182,792,591,552,474,571,315,465,519,978,948,491,643,865,642,764,1102,1040,1248,1138,1290,1360,1680,1704,1612,1304,1148,1136,962,594,695,1096,802,457,572,1036,639,818,1050,722,580,766,929,918,734,766,758,416,466,527,594,635,501,639,681,576,473,434,372,352,400,475,507,652,878,849,690,473,346,315,308,319,339,328,310,306,313,348,334,271,311,340,312,290,301,336,333,295,318,329,299,306,294,292,289,302,307,318,322,327,328,316,314,302,306,305,304,296,290,287,289,286,295,292,289,300,306,313,313,314,317,340,343,326,333,347,368,381,376,378,375,370,350,352,358,357,370,359,349,348,343,332,335,349,353,371,380,383,400,401,418,429,448,446,447,476,471,442,438,410,406,421,406,389,392,400,389,391,387,381,373,361,381,386,387,403,436,445,442,484,484,448,424,420,434,464,472,455,414,401,383,408,450,437,421,398,374,379,393,389,391,379,366,361,361,360,368,346,348,351,330,345,343,330,329,342,349,340,348,360,412,452,432,375,384,411,406,378,361,390,433,411,431,498,480,411,401,453,485,460,415,421,449,451,451,434,436,442,440,433,433,457,466,446,440,444,419,395,416,416,404,412,412,406,403,401,409,415,407,394,393,394,405,415,405,394,393,394,386,375,373,367,365,357,354,355,355,351,357,346,358,370,365,364,354,361,369,369,374,346,331,379,355,343,341,337,337,346,351,346,339,337,337,325,334,321,331,342,340,336,330,325,323,321,321,329,349,330,336,340,345,346,363,357,335,323,332,329,336,347,336,336,327,322,328,325,325,331,322,321,321,313,319,325,325,317,316,307,310,316,321,323,323,330,332,331,331,336,336,319,326,329,330,324,326,326,338,346,348,354,360,341,341,340,350,328,339,344,340,345,347,350,356,349,347,355,359,353,352,358,366,365,365,351,343,340,340,338,338,333,335,341,341,341,343,361,361,355,371,371,352,353,347,346,336,344,361,361,358,366,373,366,358,361,349,347,349,353,346,343,341,334,339,331,327,332,336,343,340,322,327,314,322,313,315,321,325,308,315,323,323,335,337,319,331,335,339,347,348,346,348,353,356,356,344,346,339,318,313,328,334,329,328,334,337,341,342,342,336,336,335,328,326,323,314,315,312,318,313,328,334,328,331,323,317,323,326,339,347,326,328,328,325,309,309,306],[525,685,579,532,772,1058,1230,1380,1470,1608,1566,1344,971,1130,1764,1996,1914,1888,1854,1802,1680,1648,1434,962,1026,1932,2310,1380,587,373,361,381,471,471,447,366,432,448,803,1512,1382,802,761,528,522,528,801,692,516,601,816,754,858,1252,1452,1334,1274,1230,1110,1222,1886,1486,1430,1510,1598,1486,1188,1390,1478,1064,884,995,1026,558,540,578,823,1572,1770,1304,1198,1015,693,526,469,464,474,578,566,534,461,862,1566,1282,385,290,374,525,619,421,437,307,270,327,398,436,398,630,871,800,499,462,531,1142,1060,625,380,369,283,396,568,630,705,951,1288,1186,949,866,798,834,631,394,447,691,758,762,708,518,379,376,327,343,372,561,1162,1158,625,568,769,684,719,727,571,498,585,559,416,488,742,819,819,819,571,709,986,950,902,1224,1426,1708,1576,1402,1084,915,1190,1490,1610,1316,947,642,1017,1586,1250,1366,1374,1200,1176,1202,1274,1358,1102,825,1046,1712,1656,883,758,494,413,659,791,500,352,324,387,504,558,546,552,576,662,525,444,483,1016,1444,978,570,545,935,1190,1114,1234,1782,1648,927,908,1238,1050,883,597,430,558,806,688,497,727,1148,1098,430,333,383,362,348,558,594,473,429,528,579,417,355,435,562,404,374,495,480,380,357,619,781,741,784,1238,1498,1316,1158,1310,1272,655,760,1300,1314,1462,1524,1320,1288,1270,1100,1096,966,1152,1556,1594,1212,877,1154,1400,1274,1392,1676,1558,1432,1026,834,1202,983,583,819,693,370,303,344,352,333,380,526,665,556,430,843,990,1158,1764,1760,1838,1548,1020,785,790,1520,2586,1454,840,888,1118,1274,1138,1092,1272,1260,1202,1200,1356,1194,679,449,443,767,1172,1242,781,622,576,597,835,808,548,591,663,505,514,516,490,459,444,456,463,623,728,775,1174,1384,1170,689,656,642,492,1256,2222,1838,1434,1278,727,453,616,1008,1612,1310,751,639,746,766,1316,1442,962,570,582,616,999,1170,1034,849,503,417,461,587,756,725,598,575,724,789,963,1334,1476,1488,1546,1346,855,655,708,664,467,662,1012,1072,1132,1288,1076,1144,1038,1488,1390,1018,1344,1428,1524,1660,1216,527,661,1188,1202,1332,1582,1398,1554,1530,996,805,1470,1590,1036,1164,1388,1436,1504,1238,1182,1344,1434,1316,1009,717,475,808,1120,1300,1452,1450,1184,800,901,1346,1578,1312,906,1140,1556,1792,1694,1080,906,975,1256,1314,1398,1432,1406,1462,993,982,959,1206,1802,1520,1272,1182,1182,1186,1102,1264,1362,1178,1034,1116,1234,1146,864,556,635,927,884,1162,863,789,868,707,509,464,489,563,487,456,507,445,473,526,997,1422,1428,1464,1368,1416,1050,555,610,643,913,1008,994,626,781,852,773,846,903,882,921,912,571,474,802,954,799,862,573,705,938,943,855,849,862,836,926,986,951,1106,1308,1180,958,1312,1108,866,1240,1592,1372,985,555,475,480,508,874,1210,1262,1398,1416,1448,1316,1090,1338,1338,1016,1322,1772,1382,1398,1478,996,752,1050,1180,785,567,629,854,1028,998,1224,1694,1412,1258,1240,1412,1130,731,605,602,647,553,688,810,716,1324,1560,1378,1542,1484,1126,703,506,771,1690,1972,1046,741,841,979,1260,1182,1030,1144,1168,1082,1228,1912,1946,1070,636,454,416,617,810,886,939,824,994,999,760,959,1132,915,1088,1042,952,980,1056,1116,1152,1244,1060,871,652,899,1212,1262,1202,942,1638,2248,1566,1142,1072,1172,1160,1404,1764,1500,1118,1494,1358,1190,1028,1032,950,1042,1216,1224,1300,1472,1554,1534,1382,1654,1786,1336,1034,969,1058,910,1080,1376,1278,1080,983,1086,1392,1236,574,668,962,1262,1236,1184,1112,1086,752,812,1040,991,1048,1240,1448,1498,1410,1622,1896,1422,1224,1274,1262,1062,1021,930,884,1036,1046,1126,1226,1154,1050,982,798,756,887,963,859,935,1672,2272,1572,1484,1410,933,771,649,681,733,1208,1234,1724,1888,1160,1210,970,566,694,1072,1094,879,749,850,901,941,593,765,1340,1194,789,410,473,945,937,609,658,752,1268,1462,1204,1472,1626,1602,1516,1204,507,429,586,1244,1096,871,1438,1588,1550,1672,1692,1520,1440,1780,1752,1714,1498,1410,1426,1704,1716,1098,755,998,2138,2448,1354,1354,1262,1308,1426,1312,1376,1384,1502,1668,1702,1582,1428,1394,1534,1456,1416,1476,1488,1570,1318,1318,1316,1048,995,1316,1036,575,433,472,428,387,409,532,746,792,543,463,442,414,381,429,457,470,767,1015,632,557,486,494,539,634,593,438,316,456,549,437,417,443,543,1005,1266,1062,1216,1294,1362,1368,1236,1404,1556,1446,1350,993,1288,1424,1116,955,1170,1382,1480,1312,1066,705,498,444,628,818,801,1007,684,519,1054,1456,1258,1094,963,708,703,1148,1650,1472,1240,1248,1334,1086,684,733,1208,1180,963,869,692,581,495,409,701,1178,1274,1532,1750,1338,1426,1770,1434,1372,1392,1232,1140,1274,1490,954,677,887,1222,893,346,368,375,362,710,1112,948,934,969,1242,1278,1260,1156,1036,887,481,652,1034,883,910,1009,1378,908,858,996,781,525,390,325,436,866,1230,1086,1066,1182,1146,1098,721,960,1844,1894,875,589,1038,1332,1344,708,929,824,646,755,1026,1104,991,854,535,512,529,460,359,439,381,378,368,663,679,486,352,415,366,291,330,339,362,651,1192,1322,1204,1038,962,754,410,479,772,761,609,445,334,431,520,426,429,419,593,758,894,1100,1232,1312,1086,892,973,1240,1268,1134,1250,1406,1366,1206,1166,1136,954,805,799,745,991,1188,1038,1114,1196,1204,1088,852,971,977,1132,1228,1064,1108,1022,717,568,363,621,625,702,778,674,871,1023,751,714,554,526,499,717,1132,1178,760,746,1192,1466,1326,906,546,541,525,495,464,517,637,641,617,569,520,454,379,383,554,1124,1030,930,1098,564,419,540,603,584,532,459,441,451,434,420,496,561,475,493,549,539,514,688,899,1054,891,565,846,787,968,1094,647,385,684,830,675,673,455,308,330,368,437,558,752,434,368,405,409,437,495,554,597,556,649,734,482,445,579,658,648,870,1290,1518,1598,1606,1434,1522,1528,1240,937,670,520,628,708,495,460,389,628,557,354,699,1062,833,875,1186,1116,1358,1142,1336,1470,1612,1574,1400,1310,1252,1170,1070,763,789,1044,980,684,733,1178,859,931,1028,742,539,627,802,834,853,725,714,485,443,443,518,565,507,507,470,364,422,463,405,392,432,495,483,538,735,705,588,449,348,306,306,326,342,321,318,313,316,351,308,270,273,265,268,275,333,419,403,337,355,334,312,309,294,288,290,300,313,322,315,312,324,314,315,305,297,305,310,303,291,299,299,292,290,293,297,302,297,303,317,327,330,345,346,336,338,351,365,368,379,381,363,350,352,359,360,356,371,362,342,323,324,321,341,353,363,370,386,394,406,424,439,438,460,466,453,481,469,473,460,424,419,398,403,392,389,411,428,428,387,392,387,383,393,381,379,406,439,443,422,426,442,436,397,420,433,444,447,437,424,404,395,412,427,442,430,404,389,381,379,377,377,368,363,363,366,365,357,345,348,340,327,351,323,327,336,326,331,328,332,336,367,449,481,410,383,378,412,381,364,384,429,435,413,460,501,465,414,429,459,474,436,409,426,430,433,447,444,426,420,417,420,438,444,444,433,404,414,394,403,407,403,410,407,403,405,397,397,359,375,397,397,386,402,403,398,399,390,384,375,365,364,361,359,364,375,367,355,351,350,342,352,359,361,356,344,354,359,364,375,358,339,352,346,330,330,333,341,339,344,343,337,331,323,347,325,328,337,341,346,343,346,343,322,312,317,322,337,337,337,332,336,351,351,351,349,327,330,330,330,332,337,332,331,336,330,332,337,328,321,317,317,316,315,318,318,318,314,305,306,315,318,319,318,317,318,337,336,337,330,338,329,329,322,326,326,320,330,338,342,348,357,346,348,344,339,330,331,339,339,342,339,350,351,347,347,353,353,355,359,362,353,365,367,355,349,340,340,340,341,340,341,340,340,334,343,357,359,364,361,370,358,352,352,343,339,349,355,358,361,365,363,347,346,365,349,343,352,359,361,349,345,343,336,327,322,325,328,336,330,317,342,305,303,312,315,319,323,319,318,316,323,332,350,346,350,348,335,348,353,341,342,344,350,344,339,337,336,341,350,344,337,334,341,341,330,331,339,341,337,334,324,336,331,334,324,317,316,324,315,318,341,344,334,334,335,329,329,340,347,350,344,337,323,325,328,301],[521,656,740,725,742,1050,1250,1156,1340,1652,1804,1562,1118,1026,1520,1834,1888,1870,1848,1692,1608,1458,998,610,676,1334,1794,966,571,371,438,800,1128,1004,561,408,433,413,855,1756,1434,869,952,709,543,517,538,612,783,927,985,1052,1186,1238,1004,946,845,956,1220,2790,3728,1998,944,871,1140,1456,931,706,852,789,801,900,712,482,635,662,611,686,575,669,980,599,422,483,471,483,464,411,502,558,478,562,918,744,320,317,274,577,1490,1324,755,386,309,446,547,529,450,476,697,916,692,479,463,1126,1438,991,572,386,397,736,795,908,1023,935,1214,1300,957,1036,1148,1016,753,540,540,557,869,1164,712,393,340,310,311,348,286,688,1032,1066,677,396,435,397,491,526,430,340,436,618,634,614,714,778,861,763,583,610,670,838,563,600,1036,1094,1378,1294,1098,966,1036,1366,1506,1504,1354,1324,1784,1482,1040,1472,1572,1522,1452,1166,871,942,684,550,1088,1754,1692,1316,724,526,427,462,430,346,352,322,342,445,504,525,543,620,667,382,348,402,656,863,695,569,579,758,1168,1422,1628,1560,1558,1460,1306,1028,1024,940,546,425,371,470,566,627,809,1314,1420,612,492,650,603,451,607,836,739,881,929,680,496,542,541,571,470,411,449,416,312,235,379,774,1054,1096,1560,1674,1398,1440,985,855,1236,1380,1056,1232,1726,1504,1230,1226,943,1158,1158,1021,1198,1348,974,969,974,1180,1396,1534,1732,1672,1554,1680,1522,991,1028,899,650,534,486,394,427,500,379,400,516,580,726,839,734,472,542,1382,1812,1792,1776,1282,1208,1514,1632,1890,2134,1438,1232,982,1208,1232,822,1104,1252,1006,1196,988,973,1400,909,530,888,1370,1440,1266,802,583,615,709,738,625,545,556,525,521,574,630,636,485,408,432,435,489,583,629,789,1158,1378,1040,754,720,721,1206,2104,2590,1954,790,507,819,1198,1300,1154,822,1106,1302,898,1204,1658,1304,1028,579,558,797,1752,1720,1166,732,479,384,372,631,840,929,874,615,497,588,1322,1498,1428,1514,1428,1358,1458,1086,535,469,464,469,863,1128,1346,1700,1356,1546,1434,1260,997,1144,1504,1742,1806,1794,1412,614,879,1378,1412,1504,1498,1428,1578,1434,1258,1216,1392,1242,1020,1336,1404,1948,1922,1474,1432,1434,1210,926,1072,921,429,662,866,1092,1400,1538,1194,1162,1422,1610,1400,972,1042,1482,1726,1838,1246,976,1050,808,889,910,1274,1550,1518,1042,814,1224,1176,1170,1434,1244,1060,1042,1344,1214,1004,1156,1302,1374,1340,1180,1216,1032,492,442,785,985,891,1076,960,886,930,647,473,413,415,487,479,479,565,614,750,1114,1528,1670,1534,1242,1252,1576,1204,671,652,748,863,718,893,817,1102,1250,1342,1236,948,912,1124,1282,910,515,616,841,1016,1090,921,867,938,1032,1026,876,851,883,855,912,1240,1160,1164,1036,1114,1312,1182,1017,1278,1604,1178,858,452,594,523,538,765,1286,1412,1346,1378,1350,1158,1072,1298,1176,1220,1704,1904,1474,1630,1590,1094,1158,1324,1048,725,654,733,709,752,857,1142,1542,1324,1456,1434,1236,717,592,850,946,818,646,655,522,583,1030,1126,1166,1348,1188,857,602,481,751,1672,2292,1174,956,1202,1254,1208,1358,924,813,955,663,664,1040,1218,1080,799,451,386,730,1068,1088,843,612,658,746,796,957,1052,862,844,958,947,814,733,806,967,1224,1266,924,576,604,791,1142,1444,1132,2670,2266,1226,915,1088,1266,1466,1760,1952,1540,1450,2316,2204,2110,1676,1670,1364,1434,1382,1194,1190,1198,1434,1444,1500,2048,1912,1238,832,669,863,1238,1382,1166,1042,1144,1156,1174,1140,1040,849,1022,1174,1266,1270,1384,1300,973,757,897,1274,1478,1402,1190,1132,1462,1606,1912,1748,1348,1240,1200,1122,1090,1130,1042,956,932,1088,1050,1072,1212,1009,948,724,593,951,1180,1188,1346,2010,2052,1846,3660,2078,788,639,720,662,633,744,1098,1898,1766,1072,735,332,367,489,565,717,624,684,793,1142,1074,466,653,949,883,751,622,702,941,1064,1144,998,880,1180,1316,1136,1108,1222,948,1234,1013,490,379,461,1018,1072,897,1266,1542,1584,1620,1516,1550,1528,1758,1686,1736,1698,1440,1538,1976,1654,1138,1224,1338,1582,1574,1472,1474,1378,1782,1534,1246,1470,1794,2522,2464,1720,1576,1564,1462,1476,1650,1580,1382,1202,1318,1214,995,985,879,1010,1340,1238,889,667,577,443,466,694,1232,1502,1054,575,433,410,402,414,412,413,412,527,946,919,580,398,460,494,447,401,373,493,461,422,400,432,448,733,1256,1442,1230,1342,1614,1570,1366,1238,1280,1220,1356,1064,1148,1170,1328,1318,1322,1230,1360,1418,1282,1198,932,1040,944,1230,1182,926,774,819,797,1120,1328,852,858,1132,1005,749,1064,1250,923,904,940,915,1064,972,987,1102,995,984,1008,1056,891,643,581,666,1118,1368,1488,1656,1356,1318,1426,1005,883,768,985,1170,1244,1342,912,625,882,1046,822,511,587,648,521,1290,1416,1364,1300,1092,1122,1210,1252,1214,1136,893,719,540,651,866,920,818,1150,776,518,1024,1468,1052,458,374,535,1138,1324,1094,1130,1224,1172,850,727,995,1224,802,471,516,735,1298,1318,899,888,660,420,538,914,1005,843,652,496,416,364,379,336,346,376,402,351,349,704,994,842,1001,857,379,292,274,314,436,994,1432,1400,1268,1170,511,287,285,506,747,1054,737,357,276,341,561,735,608,419,419,615,1128,1564,1638,1458,1021,898,1388,1524,1418,1338,1366,1302,1096,886,749,866,1154,1136,973,987,1178,1290,1262,1044,1140,1003,761,997,1110,1164,944,974,1128,885,515,362,442,659,843,866,681,669,659,735,579,844,703,695,636,641,954,836,429,563,1048,1264,1396,1210,723,525,441,451,421,467,558,662,627,512,536,498,414,364,344,412,618,1150,803,455,423,509,600,567,525,489,442,403,411,426,500,596,533,531,553,538,609,668,967,1884,1770,1196,1410,889,941,968,659,552,549,511,723,845,628,469,350,418,497,601,708,459,459,416,355,408,435,357,354,441,484,680,614,502,572,595,487,587,1288,1870,1960,1746,1442,1438,1058,647,657,928,689,744,785,523,508,567,351,301,446,726,1110,974,1066,1112,1076,1290,1202,1254,1316,1336,1182,1146,1462,1390,1076,1005,844,720,1162,1132,739,868,1152,960,1001,1220,857,585,702,756,650,869,814,801,541,466,547,563,530,482,481,418,533,675,510,390,421,452,480,445,437,566,637,579,621,487,332,314,336,353,339,326,316,329,334,288,280,283,277,286,300,362,406,425,547,413,342,339,305,305,309,295,295,302,301,307,312,319,311,309,310,310,310,317,317,298,296,297,296,290,302,312,300,306,312,318,328,345,351,346,368,370,360,363,377,383,383,378,365,360,356,355,363,358,354,346,332,353,324,339,343,341,365,399,415,420,433,442,426,439,452,437,438,429,432,437,430,421,401,389,401,427,426,422,424,406,398,385,385,379,371,367,375,389,390,381,380,396,428,400,401,406,415,422,411,420,406,401,426,434,456,437,415,406,381,365,365,372,371,366,371,375,369,349,341,338,336,336,322,326,342,333,351,357,342,341,335,351,405,454,449,410,367,418,413,378,392,453,460,417,410,462,487,435,430,426,459,430,411,406,405,411,426,430,426,416,399,397,420,434,426,423,403,411,408,409,410,401,405,425,413,399,387,401,401,386,397,392,380,395,402,392,388,379,369,359,358,355,355,355,358,346,350,359,343,337,339,344,349,349,339,356,337,352,358,374,364,343,339,318,329,323,318,332,336,343,343,339,341,330,334,329,325,333,337,328,325,325,315,322,329,317,319,328,337,343,332,335,347,355,350,346,342,337,331,328,328,339,339,339,342,331,339,329,321,321,318,311,302,303,315,318,316,312,306,309,321,325,325,321,317,312,316,339,337,336,336,333,333,328,319,311,327,333,342,342,338,348,358,359,346,337,331,329,326,329,342,328,341,347,348,350,359,361,361,365,368,365,357,353,365,353,347,344,344,341,340,341,343,347,355,357,344,361,357,379,365,361,358,355,353,349,343,349,356,361,356,343,345,341,349,343,336,349,358,361,352,356,344,336,326,323,320,325,332,331,315,327,315,312,316,315,318,322,323,322,316,323,329,335,335,344,354,340,342,347,341,344,347,347,341,336,336,336,336,332,329,328,331,341,340,332,336,329,342,352,337,316,331,337,337,331,325,324,325,317,310,331,331,336,336,329,328,328,336,347,344,335,330,319,310,318,313],[656,794,960,1016,824,944,1058,1210,2050,2122,1852,1804,1726,1346,1066,1272,1628,1860,1902,1828,1566,1060,670,569,656,1610,2014,1368,753,545,687,814,1001,1008,615,619,853,902,1158,1832,1342,998,1001,856,989,1074,738,847,1294,1474,1494,1354,1116,1060,588,443,541,761,940,990,480,383,550,472,648,807,635,581,618,717,710,667,607,607,690,529,354,585,686,853,731,401,378,429,455,500,528,476,452,529,498,387,313,274,317,335,370,543,1476,2082,1906,1062,487,574,592,752,1356,916,994,847,1214,830,600,1240,1464,861,530,570,803,830,505,639,846,988,1124,1108,900,1108,1248,1202,850,644,796,766,1152,1216,762,487,354,282,293,296,314,530,850,1094,835,505,340,315,472,610,697,550,517,785,1154,1238,929,658,708,705,747,673,687,743,504,847,1372,1102,1094,910,656,821,1234,1374,1400,1336,1478,1678,1880,1148,918,1454,1678,1654,1952,1746,929,811,574,683,1054,1396,1252,980,631,475,533,701,492,312,380,313,325,459,579,592,573,744,535,757,831,539,525,713,1070,795,642,928,982,1294,1684,1368,1266,1344,1464,1092,612,502,482,436,385,425,511,505,527,999,1196,738,735,1046,1026,794,686,728,613,1252,1416,827,727,667,610,515,406,372,381,373,274,273,410,850,1198,897,1132,1506,1530,1510,1320,1644,2050,1488,731,1260,1584,1338,1016,1210,1162,867,869,1170,1318,775,714,1006,1212,1494,1498,1534,1716,1522,1468,1344,1292,1462,1378,1146,850,782,849,517,404,466,421,418,512,845,1054,1292,1086,604,514,954,1634,1846,1172,1064,1416,1826,1882,1628,1354,1388,1382,1054,1256,1232,893,822,1084,1168,1554,1522,868,1003,1044,830,1244,1522,1548,1450,1019,843,996,819,706,615,562,554,535,520,519,578,615,569,472,390,416,401,447,623,600,642,1112,1364,1102,875,948,896,1166,1590,1130,674,711,1340,1454,1346,1244,837,848,995,1122,1678,1542,1438,1372,813,929,1422,1694,1556,1472,1048,446,366,610,954,1122,913,769,721,667,844,1566,1418,1220,1410,1416,1112,855,1120,815,913,849,618,1001,1256,1474,1540,1324,1134,1088,1100,1052,1210,1306,1678,1674,1760,1456,846,1200,1362,1274,1718,2072,2136,1372,1068,1482,1564,1324,1296,1062,1158,1324,1512,1328,1114,1232,1290,990,702,849,651,479,620,774,971,1300,1484,1480,1546,1628,1534,1116,1096,1504,1694,1894,1412,831,1158,1224,1096,1062,913,982,1208,1266,1428,1058,1384,1268,1080,1228,1296,1122,1302,1354,1146,1084,1286,1348,1336,1240,1064,1060,851,790,827,1220,1182,727,910,1080,994,847,556,447,390,436,539,519,474,672,889,1294,1686,1600,1520,1720,1686,1246,951,787,745,618,1118,979,769,718,670,984,960,908,1222,1232,1152,1286,1188,946,735,844,1036,1270,1378,1042,645,666,1036,1228,822,759,869,879,809,1326,1422,1170,1338,1654,1410,1326,1108,1042,1284,948,824,696,725,624,611,660,1118,1380,1506,1542,1268,1094,1300,1174,1110,1268,1666,1064,904,1306,1240,1024,1200,1252,1152,867,976,1013,902,806,1024,1320,1007,932,1146,1414,1318,886,869,932,1184,1302,1390,1194,1032,954,1064,1366,1340,1216,1224,1152,698,417,669,1350,1880,1112,1056,1298,1412,1316,1180,875,1070,1048,534,543,570,711,1080,672,422,554,756,844,924,777,667,823,1010,1312,1192,844,1012,850,1104,1148,1154,1019,910,1244,1546,1324,1028,847,849,935,1132,1272,1192,1474,1236,1106,977,1490,2150,1980,1838,1608,1150,1786,2498,2714,2438,1854,1776,1602,1666,1626,1436,1256,1154,1310,1018,1730,2070,2098,1272,748,567,730,1102,1318,1394,1114,1116,962,1138,1202,1100,1068,1226,1340,1410,1386,1478,1258,891,860,813,916,1174,1444,1188,1158,1698,1578,1354,1360,1388,1372,1168,946,1092,1166,1218,1094,974,1246,1066,1052,998,638,704,669,993,1556,1036,1018,1026,1312,1484,1376,2148,1606,851,931,836,545,603,603,1002,1754,1276,1208,587,273,584,526,471,507,605,730,882,1350,1170,613,397,582,1096,1136,968,1240,1198,1256,1586,1110,915,1180,1348,1034,572,785,817,1182,1114,661,581,681,838,938,776,1268,1506,1466,1482,1504,1534,1528,1544,1588,1744,1650,1466,1534,1592,1342,1394,1442,1510,1398,1476,1374,1336,1370,1524,1410,1404,1464,1448,1562,1472,1434,1512,1422,1300,1290,1468,1402,1136,867,1008,1222,1056,1156,1228,1266,1176,1250,1190,1206,1050,725,702,862,1007,1222,1266,615,464,386,372,372,391,378,445,453,854,1064,666,426,593,554,380,352,546,724,508,355,544,639,666,1038,1322,1264,1118,1266,1460,1310,1190,1420,1570,1328,1078,883,950,1104,1344,1258,1104,1010,1310,1494,1340,1356,1476,1244,1216,1428,1242,1072,989,1056,1106,1362,1026,908,843,1130,1052,781,948,959,952,1296,1176,1098,1378,1322,1368,1162,946,974,999,1452,1368,1010,1006,1021,1240,1382,1492,1692,1582,1400,1166,889,712,657,786,812,960,1180,804,497,808,856,794,652,809,845,576,1176,1058,1004,1018,660,601,981,1416,1650,1570,896,681,512,675,1324,1282,1048,1104,659,477,624,1132,980,427,374,846,1432,1758,1758,1226,1144,996,561,501,680,772,357,405,392,361,810,930,869,826,628,568,835,832,697,549,695,517,307,316,427,399,474,557,740,966,532,557,1384,1976,1870,1102,440,276,360,462,517,730,1116,1256,1172,1388,565,294,263,282,381,723,536,328,355,531,1132,1688,1218,451,501,593,821,1418,1562,1188,1218,1368,1694,1558,1126,1286,1100,764,813,770,952,1290,1186,1124,1180,1082,1144,1260,1308,1220,1126,679,565,799,826,774,797,1208,1356,1194,685,257,515,1108,1456,1023,490,509,464,473,525,647,706,845,622,517,649,844,802,949,1236,1488,1180,1262,1188,707,433,429,407,390,474,603,670,543,503,477,466,428,393,420,910,1009,545,480,477,500,537,522,527,477,409,405,436,437,500,578,545,535,553,691,1060,860,1204,2366,2480,1730,1626,1398,1156,1092,1040,624,328,380,807,1104,1266,893,421,561,568,485,438,406,538,571,459,447,511,471,467,461,527,726,774,694,708,650,502,404,707,1208,1548,1318,1300,1250,810,437,383,674,907,923,637,469,793,882,397,381,804,906,1146,922,983,993,1144,1376,1266,1066,1036,1010,742,928,1196,1062,1013,892,728,611,1044,1012,686,889,1110,838,719,1206,1012,782,695,860,746,761,812,735,507,590,977,1078,703,542,606,467,489,520,419,360,417,434,437,464,406,483,645,758,777,568,372,316,329,345,317,311,328,322,281,270,270,271,273,296,296,302,327,361,377,336,353,341,309,305,285,294,294,303,311,320,319,320,317,310,312,324,318,306,315,294,289,286,298,292,292,309,301,318,328,318,328,342,357,355,376,386,363,360,379,380,368,362,362,357,356,364,356,355,363,353,332,341,345,349,343,349,377,408,420,429,433,433,424,434,444,442,412,412,408,402,403,419,408,401,415,415,410,387,395,394,386,379,372,355,347,345,351,365,368,367,381,385,416,412,395,393,400,403,402,412,402,405,447,442,454,422,396,389,385,383,371,371,371,363,371,369,361,348,343,340,343,328,329,336,345,336,333,341,341,331,325,345,372,410,434,394,368,399,439,416,400,453,468,423,429,443,493,470,437,443,439,429,417,403,397,407,414,421,413,405,405,405,413,417,415,420,421,423,423,415,405,396,383,401,393,386,382,386,395,409,401,390,386,390,399,393,381,368,362,355,358,362,364,361,352,342,349,350,327,327,332,337,339,341,344,334,337,346,336,343,341,341,342,323,356,350,330,343,346,333,333,343,350,346,339,327,324,328,343,352,350,341,336,352,349,320,317,329,342,337,321,346,350,355,350,344,344,346,328,315,325,337,334,315,331,331,331,312,330,323,320,309,304,312,312,305,304,304,299,301,318,325,325,325,318,322,331,330,337,343,337,340,337,325,330,329,336,343,343,336,336,345,354,354,346,343,334,328,322,322,337,329,339,346,346,356,362,364,374,371,365,360,359,362,370,362,354,345,347,347,347,347,347,347,350,345,344,378,356,378,369,367,363,357,349,335,339,351,353,346,340,344,349,347,341,343,356,365,369,356,350,349,340,333,325,313,326,347,335,323,313,313,312,317,312,310,310,315,321,323,323,322,324,327,339,341,344,341,340,343,340,334,345,348,348,343,336,336,332,328,324,324,330,329,333,348,352,329,333,352,340,327,333,334,329,329,336,336,331,328,321,322,310,326,330,324,326,329,332,337,334,332,323,310,304,307,315],[1050,1300,1566,1080,671,782,901,1642,2278,1864,1588,1856,1928,1764,1542,1232,1132,1458,1796,1642,1288,1118,977,758,765,1764,2058,1448,782,649,836,785,758,797,714,555,897,1198,1516,2038,1614,1232,1172,1114,1470,1626,1516,1598,1484,1508,1404,1062,645,757,565,394,593,694,694,386,384,433,474,441,506,579,581,591,535,508,608,545,454,492,527,534,664,655,355,424,498,440,432,434,474,504,510,490,476,510,479,449,435,375,358,389,454,518,763,1312,1770,1378,859,758,678,1854,3100,1644,1270,1222,1788,1288,954,1512,1322,629,410,503,761,609,825,980,992,1034,1084,971,963,767,623,749,630,753,1042,1096,1206,1258,1114,681,361,294,316,366,375,352,464,664,544,602,501,399,445,671,825,801,695,944,1600,1712,1086,623,500,583,699,871,832,709,503,725,863,890,1062,1058,1074,890,1150,1374,1288,1238,1288,1306,1318,1290,1428,1614,1700,2014,2388,1560,935,860,810,796,772,1112,1404,1024,498,388,377,425,364,412,425,342,321,694,986,724,719,783,648,1342,1390,603,597,1012,1474,1372,875,1040,914,1086,1760,1930,1534,1322,1396,1208,941,711,523,372,356,382,457,432,365,502,672,651,805,1186,1324,962,571,985,861,855,880,527,365,417,372,274,220,214,284,310,211,319,326,538,846,777,869,1156,1156,1056,1312,1826,2142,1586,1214,1732,1380,846,856,1440,1172,805,1202,1476,1052,731,1422,1270,1172,1426,1394,1320,1516,1378,1238,949,1066,1394,1622,1524,1336,1404,1302,512,532,473,516,723,793,957,1542,1716,1012,817,1252,1186,1720,1504,986,855,1322,1620,1422,1374,1208,1048,965,840,1023,882,725,628,958,1200,1916,1896,1244,1400,1502,1396,1340,1282,1378,1450,1196,877,872,805,756,714,663,607,507,430,475,519,527,494,496,434,378,394,441,615,664,615,755,1126,1382,1130,1164,897,860,877,742,518,994,1428,1038,1422,1852,1238,1034,1074,1228,1770,1654,1532,1460,1236,1392,1412,1132,1140,1506,1412,874,1001,1218,1352,1434,1208,848,719,1013,1416,1544,1192,1004,849,974,1276,1088,1344,1172,1398,1366,1094,1170,1100,979,1224,1300,928,662,630,632,974,1144,1372,1724,1628,1368,1082,905,856,1398,1924,2042,2024,1226,1454,1620,1238,804,903,1166,1216,1166,1300,1258,1150,1258,756,563,614,554,446,497,766,901,1046,1556,1666,1474,1448,1660,1794,1260,1416,1682,1902,1504,929,966,1056,1214,1498,1346,1054,933,967,1072,2094,1226,805,617,948,1440,1346,1214,1268,1212,1324,1188,1312,1428,1492,1256,890,1214,1356,1148,1180,1516,1242,995,1114,1038,852,756,692,482,407,487,560,546,724,890,1082,1554,1644,1564,1520,1570,1704,1582,1390,935,754,610,814,747,808,756,817,1360,908,1015,987,893,1024,1216,857,581,653,1000,1108,1246,1282,889,686,709,1098,1376,1040,780,842,807,903,1406,1532,1318,1556,1584,1416,1272,965,914,1050,1224,1386,1242,1002,1246,1068,538,678,1021,1232,1294,1294,1074,1210,1224,868,608,675,758,1112,1262,1174,963,843,1074,1380,1222,1005,890,821,907,1300,1444,1204,863,701,1106,1058,936,1442,1194,1124,1598,1726,1064,781,1000,1356,1716,1836,1534,1412,1378,993,628,1058,1007,1052,1072,1318,1412,1344,1278,1136,1308,1526,1220,468,432,519,669,861,577,465,541,509,440,491,705,807,910,1122,1396,1146,940,1274,1222,957,932,1124,1104,1050,1274,1416,1350,1332,1366,1376,1370,1320,1062,1008,1078,1132,1204,1176,1062,1102,1344,1620,1440,1010,1984,2490,2534,2234,1898,1606,1426,1412,1328,1186,1122,1160,1196,913,1246,1200,1124,665,435,401,803,1404,1510,1264,1444,1352,1152,877,1052,1090,1188,1262,1198,1266,1232,1110,840,948,1206,1218,1114,1023,926,946,1232,1568,1342,1256,1246,1208,1236,1202,1118,1202,1144,1009,1246,1304,1100,805,1064,850,389,445,558,923,1178,1017,1346,1046,894,1076,1214,1350,1164,1150,1046,630,471,581,828,1324,1021,868,1118,556,383,578,509,578,685,650,491,598,874,1028,807,561,868,1070,959,1084,1200,1013,862,818,681,863,1084,1282,930,626,750,908,1232,1098,609,629,952,911,969,913,1394,1504,1476,1444,1710,1736,1604,1386,1444,1562,1322,1504,1480,1294,1234,1484,1454,1414,1354,1530,1294,1216,1408,1472,1380,1440,1432,1320,1392,1500,1514,1360,1314,1100,1130,1284,1214,1256,1378,1338,1192,926,1234,1246,1026,1084,1138,1284,1466,1258,1021,955,877,880,1432,1976,619,462,374,341,318,356,365,403,358,616,948,853,649,674,437,265,266,401,398,397,673,902,789,929,1130,1150,1218,1166,1070,1234,1692,1600,1594,1534,1410,1246,1182,1128,1158,1296,1100,889,1158,1520,1394,1382,1636,1542,1013,1108,1316,1356,1482,1338,1292,1128,1188,1018,1454,1150,1032,1046,968,885,1116,1448,1100,742,1150,1478,1158,963,1132,1058,944,1102,1598,1548,1262,1260,1362,1710,1284,1454,1648,1460,1276,1046,703,724,775,707,786,1138,1532,965,661,1072,1406,1090,597,683,706,534,794,1046,990,892,560,618,811,1390,1732,1604,882,571,475,529,985,946,938,1076,575,555,465,452,414,412,412,1220,1780,1844,1556,1116,1020,529,437,460,500,590,444,394,387,455,461,475,729,1076,909,1042,1104,1046,985,854,781,550,437,421,444,428,422,419,565,822,844,768,947,1168,1418,793,295,313,561,785,692,563,749,944,722,750,455,330,349,341,277,328,348,386,439,655,988,1750,1338,543,466,514,658,1086,1074,941,1144,1344,1748,1488,1304,1234,1042,794,1120,1082,1136,1366,1230,1100,1104,1214,1264,1020,1086,1080,1080,467,670,981,690,539,560,653,666,753,664,472,467,773,955,904,965,539,371,622,1122,932,967,1260,1142,770,584,596,914,1138,1278,1322,1112,1062,1252,1198,861,525,390,439,464,486,592,535,458,458,466,433,468,709,1056,708,401,427,475,484,427,490,524,485,428,434,549,553,491,528,562,596,628,1034,1460,1064,639,1298,2284,2306,1774,1520,1362,1158,993,580,316,336,604,1218,1686,1424,714,625,629,475,408,355,352,395,474,606,584,740,586,507,411,614,760,725,783,786,654,466,642,752,1074,973,1300,1260,984,606,417,518,727,799,681,487,811,666,580,471,973,984,1016,896,937,902,1046,1152,860,720,801,727,694,1030,1062,951,865,891,776,637,912,951,722,919,1076,690,742,1206,1012,752,630,919,946,735,749,712,458,643,1294,1314,890,625,472,377,397,412,359,365,400,407,415,429,418,531,615,702,542,470,399,317,324,326,315,318,330,310,265,270,275,270,276,283,295,355,371,348,419,483,372,352,323,305,299,302,295,305,307,310,312,314,319,317,310,324,317,304,324,300,294,284,295,295,291,304,309,325,343,336,336,334,359,349,370,369,368,374,380,381,377,378,370,356,350,355,358,360,357,353,340,338,345,341,357,364,363,385,400,410,419,416,421,433,439,436,415,400,408,401,377,406,405,410,401,397,399,380,375,378,379,378,367,354,354,343,361,355,355,361,377,382,410,425,407,392,401,397,390,415,408,413,431,429,441,410,407,411,401,387,379,375,386,377,378,367,357,345,343,341,336,329,333,335,335,337,343,346,347,331,324,349,366,371,403,422,384,380,427,429,399,427,447,425,419,428,470,469,452,437,434,440,426,408,392,413,410,417,407,410,409,405,405,405,407,411,413,421,423,415,401,379,374,372,382,383,381,379,392,409,396,394,393,388,390,393,383,370,364,356,366,368,362,358,354,356,356,344,341,344,331,331,330,328,320,312,328,332,331,336,331,331,312,331,346,337,334,350,346,333,331,342,350,346,343,330,327,325,346,369,355,346,341,342,337,323,321,325,339,346,337,334,341,354,352,346,341,350,339,329,333,333,320,312,328,327,319,330,330,318,309,307,319,324,304,299,300,305,302,309,298,317,318,323,323,327,328,333,334,331,343,343,347,325,334,336,325,322,328,332,341,343,349,348,349,346,336,329,330,326,334,334,336,337,344,350,359,377,382,380,367,362,354,360,374,362,340,339,348,352,352,347,348,348,351,348,347,359,367,374,373,370,361,353,353,353,351,351,353,353,347,344,342,342,340,347,357,356,353,354,360,345,340,334,323,314,316,312,334,328,314,316,318,312,305,304,304,310,311,316,321,326,324,339,348,342,343,342,345,343,336,328,340,343,343,338,336,336,335,327,324,324,324,336,349,354,354,340,335,340,343,340,332,329,336,350,340,336,338,346,329,304,317,326,327,328,331,329,328,329,329,328,326,316,305,301,306],[1098,1414,1632,757,473,613,890,1668,2220,1722,1440,2032,2084,1886,1780,1698,1470,1164,1284,1368,1018,1526,1878,1360,979,1410,1708,1416,1003,913,967,1110,999,1386,1036,649,1200,1544,1626,1844,1656,1368,1356,1476,1488,1404,1358,1540,1164,1294,1396,1026,626,823,781,512,749,785,800,452,318,350,327,371,435,509,471,642,686,827,1306,906,364,424,521,641,687,565,428,531,536,496,500,485,504,494,465,486,514,507,527,450,409,334,346,387,416,479,525,851,1360,1003,904,810,551,2308,2730,1888,1286,1282,1362,1104,1236,980,659,463,406,491,593,619,1370,1692,1240,726,585,775,1202,984,877,539,851,1130,1274,1318,1158,1310,1284,827,464,369,327,317,319,343,364,330,389,548,522,430,583,615,699,948,743,880,1332,1300,933,554,469,608,823,1222,1260,1154,850,485,706,1148,1270,1250,1600,1524,1508,1470,1078,889,1052,1142,1202,1246,1188,1440,1604,1726,1692,1568,1314,1566,1680,1266,1016,844,875,764,391,327,306,327,352,369,395,363,465,937,1186,886,1054,1146,809,926,785,536,827,1080,1344,1566,1154,1108,1214,1540,1836,1308,1130,1242,1286,839,1252,817,450,376,340,348,365,367,347,307,350,423,665,1224,1368,1023,658,1534,1490,728,485,418,370,372,225,229,252,289,331,328,295,325,393,432,498,508,607,934,1168,1348,1488,1610,1768,1570,1576,1434,1106,964,1512,1730,963,719,1074,945,440,617,1194,1154,1476,1412,1196,1236,1186,1256,1020,778,1136,1348,1400,1132,1468,1248,924,829,1010,799,877,1302,1256,1202,1574,1406,1274,951,1526,1682,1782,1324,1164,1004,1116,1308,1174,985,977,935,866,695,642,664,747,720,745,1009,1396,1340,1312,1350,1360,1730,1444,1172,1372,1296,908,637,495,694,816,659,643,600,519,482,449,470,471,458,412,420,408,397,384,444,535,558,613,750,1154,1412,1318,783,651,798,829,595,1005,1184,841,1296,1686,1602,1860,1550,940,1084,1594,1670,1642,1562,1202,827,632,684,1004,1304,1214,997,1236,2062,1626,1360,1084,997,1378,1318,1428,1176,1190,676,509,1044,1028,1112,1234,1412,1288,1230,1312,929,857,1114,1332,1236,928,572,521,709,1006,1334,1700,1686,1482,1264,1084,1032,1242,1446,1346,1242,1290,1830,1466,761,648,1004,1190,1234,1298,1284,1292,1360,1186,597,442,470,496,586,599,867,1318,1686,1620,1506,1626,1398,1638,1860,1746,1780,1944,1792,1052,1056,1346,1118,1148,1420,1404,1332,1186,929,774,1210,925,862,901,1350,1600,1198,1228,1320,1038,1013,1010,1208,1344,2126,2000,1015,935,1132,1064,1198,1212,1124,1344,1490,1100,946,933,847,838,636,623,697,720,979,1080,1204,1586,1688,1668,1558,1560,1566,1660,1740,1608,1218,904,851,854,781,1062,1230,1340,956,1072,737,527,490,774,1154,924,756,1166,1322,1280,1088,681,884,1064,1232,1356,1420,1418,1166,892,945,1178,1394,1558,1654,1368,1186,1394,1104,965,1046,1608,1824,1524,1340,1104,975,981,985,1054,1220,1288,1018,1514,1398,965,732,586,511,518,675,894,951,804,841,955,1278,1070,924,778,631,860,838,974,1384,1278,763,1066,1076,1146,1410,1388,1148,1240,1404,1008,850,1048,1186,1412,1716,1530,1052,935,963,683,719,731,963,1412,1296,766,1108,1328,1082,938,883,992,756,540,673,1376,1526,1007,670,512,413,395,449,608,576,543,714,792,724,792,1054,1070,1015,1250,1362,1284,1378,1350,1318,1318,1422,1428,1464,1348,1140,891,747,844,1026,1238,1280,1030,1032,1268,1426,1252,1334,2064,2374,2302,2146,1668,1484,1562,1342,1332,1350,1172,1312,1060,899,1030,875,670,466,362,438,959,1720,1506,1078,1610,1504,1218,929,871,807,954,1144,1396,1350,1232,797,956,1062,1158,1290,1252,1015,877,984,1398,1506,1274,1406,1180,821,1298,1860,1330,913,813,1060,1698,1604,1042,979,1294,763,396,529,932,951,830,1150,1224,932,839,902,1064,1148,1064,902,566,399,739,794,1478,1932,1250,1017,862,419,582,681,599,891,943,703,723,1054,1514,1270,886,688,656,607,570,886,854,874,768,755,544,827,1250,1306,1072,1050,1000,1054,1220,819,462,491,976,1044,770,907,1362,1548,1588,1520,1490,1592,1498,1186,1174,1342,1104,1526,1226,977,1254,1526,1560,1412,1310,1346,1294,1300,1404,1370,1318,1388,1526,1448,1526,1574,1588,1424,1334,1064,1062,1246,1212,1574,2078,1730,1328,1286,1208,1116,1017,1120,946,1090,1324,1296,1094,945,1160,1200,1176,957,553,429,362,345,337,339,367,434,472,521,727,955,807,536,306,223,271,383,473,435,653,741,781,959,1244,1284,1064,942,796,957,1196,1290,1448,1570,1868,1610,1174,1002,1220,1542,1350,1124,1142,1428,1332,1516,1516,1398,1184,1000,1020,1258,1254,1194,1438,1358,1110,1020,1514,1348,1220,1132,896,846,941,1166,957,831,1064,1366,919,1062,1316,1030,934,1224,1484,1450,1060,963,1382,1702,1224,1420,1292,1146,1292,1064,749,617,570,865,1338,1508,1464,960,860,932,918,932,538,559,858,874,1102,1302,1160,739,570,623,582,892,1246,1260,883,840,818,706,626,598,995,892,562,485,466,464,412,463,560,935,1410,1600,1538,1260,592,419,413,435,441,552,1032,977,653,879,604,598,1038,1672,1614,1234,670,767,962,896,753,634,501,432,415,398,306,364,344,453,834,940,545,346,498,502,316,274,344,377,343,328,518,683,669,479,568,628,606,462,296,320,348,301,390,860,1300,1232,629,440,421,514,435,549,830,1222,1432,1378,1602,1360,1324,1328,1190,1026,1250,1198,1070,1334,1422,1078,795,1206,1458,1202,1002,1007,1007,456,989,1490,1046,658,581,563,640,992,1144,841,653,502,461,1170,1280,633,371,896,1346,1034,860,1256,1504,1466,1078,790,918,1108,1168,1154,1204,1126,1040,1204,1310,971,511,489,525,521,578,528,460,447,440,413,550,1016,1062,627,473,423,475,464,443,561,591,499,451,513,611,553,460,454,484,688,1021,1338,1424,1468,976,692,1338,2270,2270,1454,1046,1124,1036,694,446,365,405,934,1412,1504,1084,658,542,538,451,381,392,346,349,488,808,1086,945,667,498,547,647,664,734,825,679,412,560,557,668,604,960,1372,1294,711,484,525,627,666,868,786,673,963,1028,642,756,918,929,902,916,847,1100,959,816,730,891,890,537,750,951,755,720,956,994,827,941,870,651,882,1034,797,929,1054,872,641,591,935,1002,834,859,814,535,877,956,673,502,428,369,393,526,513,386,354,425,580,505,388,398,503,650,784,646,521,415,360,346,325,325,325,331,322,289,256,271,271,258,256,295,332,351,361,386,374,363,363,331,311,306,308,305,307,303,301,310,314,313,316,318,313,295,306,324,309,304,302,300,295,294,302,314,344,351,357,348,347,355,357,381,388,385,368,374,376,376,374,367,358,352,357,365,361,357,355,351,359,347,331,343,338,355,373,387,404,402,398,406,418,430,424,405,395,400,407,395,394,402,413,405,394,392,375,367,367,367,375,371,349,361,343,361,368,379,384,390,390,403,425,417,407,407,397,395,403,411,427,449,478,459,423,411,411,393,380,386,370,373,379,379,371,359,351,346,340,330,325,330,328,323,349,355,347,345,325,304,322,349,363,393,410,394,386,394,427,433,415,425,451,441,428,440,454,448,437,443,435,433,426,405,410,410,415,401,409,415,407,404,397,401,411,397,413,423,410,390,375,372,362,370,380,379,382,381,407,401,394,394,396,379,393,394,380,370,361,355,342,356,346,346,346,346,324,342,331,331,336,330,326,321,324,325,324,328,332,331,330,321,337,335,326,331,339,337,331,330,319,334,332,337,332,332,320,336,362,350,333,337,336,331,333,330,334,337,344,362,339,337,349,355,347,348,349,346,344,330,312,300,312,320,319,321,330,333,325,303,294,308,312,312,305,299,306,306,306,311,307,305,317,332,337,318,332,333,361,331,341,350,331,336,331,317,311,308,317,333,349,351,349,349,340,336,336,336,338,336,336,342,341,342,350,360,360,360,358,359,358,350,367,379,368,365,362,357,359,360,356,348,344,357,352,352,359,368,374,373,372,362,354,353,350,340,345,354,350,340,340,342,340,344,353,356,359,360,344,344,348,344,335,328,314,316,325,332,334,331,315,314,306,300,306,316,315,315,312,324,336,326,321,324,357,348,343,336,336,342,345,340,343,346,342,341,336,336,328,330,323,321,327,336,342,338,340,340,336,327,324,330,338,329,342,336,336,343,345,329,315,316,328,333,338,343,340,333,334,329,328,334,328,309,306,305],[1152,1012,709,456,453,584,651,753,1042,1062,1720,2478,2398,1872,1232,1158,1420,1522,1420,1092,1166,1696,1778,1128,1206,1804,1948,1310,1068,1132,1116,1310,1230,1230,1234,1268,1590,1742,1610,1550,1462,1314,1484,1446,1009,929,1218,1514,1212,1260,1524,959,559,708,774,460,623,620,618,407,320,354,365,392,437,400,362,520,506,646,1422,1256,565,616,589,466,417,405,517,638,637,759,883,751,549,457,487,495,507,512,505,417,336,333,353,351,395,546,783,1118,859,691,849,736,441,495,1042,1322,968,948,799,777,1186,899,913,885,502,648,634,506,1038,1476,1106,485,541,1084,1824,1602,1112,783,861,951,1166,1204,1194,1268,1210,950,622,416,429,337,341,375,372,313,360,434,472,624,640,563,1050,1310,734,807,998,655,652,737,708,840,1338,1310,1148,1180,820,518,717,816,1036,1362,1378,902,991,1090,928,711,769,1162,1726,1622,1374,1062,1280,1400,1546,1868,1484,1468,1576,1340,1322,1346,1032,772,644,408,350,358,357,455,504,410,555,960,1156,984,1086,1023,655,448,420,857,1476,1570,1516,1338,1064,1276,1470,1738,1638,1086,1060,1092,1286,849,515,379,405,410,366,354,283,263,325,292,361,370,357,496,730,759,722,1262,1390,990,733,459,413,368,314,288,300,358,418,427,520,497,418,387,485,512,634,1012,1168,1232,1426,1650,1534,1520,1576,1278,855,974,1434,1306,888,832,647,689,558,794,1038,1296,1190,780,855,804,745,920,559,492,775,1054,1070,941,1302,1266,1106,1050,1108,1252,1318,1318,1264,1304,1378,1432,1396,1588,1770,1790,1432,1072,1290,1220,882,1220,1290,1362,1238,660,578,461,649,879,753,636,778,1020,1078,1360,1384,1414,1360,1540,1572,1304,1034,788,739,615,506,902,1010,622,584,656,787,566,456,515,505,511,430,412,446,409,399,381,434,611,530,589,781,1206,1428,1154,832,691,659,563,602,717,942,1158,1046,1692,1784,1646,1476,1244,1472,1734,1732,1772,1412,1166,1036,1232,1354,1434,1448,1784,2186,2122,1280,1023,1015,1362,1626,1020,1130,1144,857,477,474,994,818,735,1122,1304,1132,1200,1184,783,886,1008,1222,1130,1030,651,431,484,764,1172,1484,1542,1412,1000,991,1216,1268,1284,1156,1092,1334,1644,1400,766,686,967,993,1314,1306,1066,1486,1522,1284,848,517,508,514,548,530,653,1196,1504,1328,1524,1278,1230,1338,1382,1834,2150,2032,1372,1200,1274,1376,1248,1390,1254,1216,1284,1138,706,541,546,749,971,1166,1618,1462,1098,1276,1172,1122,1060,1116,1296,1274,2042,1636,828,899,1015,935,1102,1212,1021,1112,1204,795,988,1020,1000,1114,709,596,778,855,937,1017,1102,1184,1622,1600,1552,1528,1506,1504,1642,1802,1742,1452,1009,1186,1126,1142,995,720,751,1096,1098,761,660,627,739,940,927,1274,1344,1290,985,791,948,808,811,1056,1206,1206,1252,1204,1194,1130,1218,1678,1376,1502,1728,1984,1466,929,902,978,1098,1366,1204,817,982,862,1230,1296,1248,971,799,1312,1188,867,988,966,897,597,821,959,680,559,706,803,1094,1042,1112,993,854,890,808,981,848,940,1068,1048,812,1003,1116,1182,1164,1346,1448,1338,1360,1104,995,1092,1324,1618,1368,919,758,841,1010,888,920,1254,1196,750,1056,1338,938,912,851,1078,1282,877,821,1366,1420,1122,746,552,478,477,535,457,316,274,400,437,430,494,564,599,865,1090,1318,1250,1548,1464,1348,1434,1412,1218,1230,1336,1194,828,600,546,725,866,865,1172,1206,1242,1192,1088,1334,1854,2074,1956,1808,1542,1596,1604,1444,1550,1682,1466,1538,1164,659,480,623,896,640,469,400,745,1598,1214,1090,1368,1330,1324,1266,954,850,1324,1284,1484,1400,1328,970,1200,1026,832,886,879,896,1078,1238,1196,1202,1242,1244,1018,828,1344,1876,1162,598,634,1184,1648,1302,956,1026,1376,942,604,898,1572,1338,1138,1290,1118,863,709,720,860,941,981,894,579,671,1200,1064,1138,1516,1554,1102,694,342,684,971,1064,1302,1128,1130,1124,1400,1714,1150,849,916,671,638,675,684,883,713,783,1090,791,803,1060,998,1005,1256,1292,1384,1190,836,497,463,756,948,715,889,1312,1522,1644,1504,1414,1558,1438,1498,1338,994,1108,1622,1194,1005,1198,1364,1774,1926,1590,1506,1450,1444,1548,1440,1352,1388,1534,1454,1414,1426,1470,1478,1390,1274,1032,961,1132,1356,1482,1450,1466,1442,1282,1162,1164,1272,1378,1266,1232,1288,1044,957,1168,1032,877,608,478,419,394,371,349,348,367,421,544,659,688,940,955,590,294,274,268,582,833,687,600,701,1070,1262,1442,1192,984,1042,942,1090,1276,1318,1290,1400,1650,1368,1232,982,1190,1294,1542,1286,1198,1366,1758,1742,1344,1396,1210,1028,826,1176,1284,1298,1296,1344,1220,1254,1386,1378,1244,1050,1120,959,1244,1052,884,973,1238,1382,1230,1444,1294,799,943,1272,1274,1192,977,1066,1318,1126,1172,1516,1442,1318,1306,1034,926,722,779,1010,1032,1124,803,632,598,560,761,843,619,508,788,1082,1360,1494,1214,794,662,807,656,949,1482,1404,1176,1142,1040,1188,951,832,1146,761,484,487,456,371,376,714,1054,915,1178,1216,1340,1186,523,364,412,491,422,653,1628,1878,1196,1128,1068,1694,1972,1786,1620,972,444,675,901,901,937,747,481,337,341,318,380,480,348,317,669,649,431,429,569,669,300,273,246,236,243,326,364,422,458,480,585,635,639,518,492,444,377,331,313,504,1120,873,500,550,569,507,432,375,538,1158,1416,1494,1570,1406,1296,1334,1388,1086,796,863,954,1038,1098,1022,876,1234,1378,1234,1038,1266,1144,603,1158,1870,1624,1018,644,637,885,1078,1286,982,730,628,809,1096,1060,730,611,1284,1576,1120,697,783,852,1138,1240,977,1006,1240,1248,1206,1252,1194,1178,1154,1062,1198,974,622,481,525,590,598,545,458,460,556,909,1212,937,795,561,466,552,477,461,532,530,479,487,530,561,555,502,462,580,1054,1562,1776,1998,2072,1704,1040,738,1538,2408,2046,974,1060,1404,1078,787,501,335,650,1180,1528,1426,1234,1170,1032,762,464,406,369,379,396,594,985,1009,692,629,622,719,686,708,795,710,499,439,562,555,392,478,686,614,363,476,659,748,618,585,828,694,651,504,560,626,765,900,760,625,813,1190,965,871,852,1004,912,567,802,845,503,727,1000,866,825,901,880,732,981,1024,719,735,938,846,514,488,768,839,925,880,859,830,1248,742,427,405,357,349,364,481,554,463,374,494,645,608,481,467,565,747,797,698,547,430,393,361,336,331,337,331,333,320,288,288,282,266,262,278,319,351,364,376,384,376,350,323,317,319,318,307,299,296,301,307,308,321,309,321,313,298,304,316,308,307,312,304,298,301,307,314,357,376,375,352,365,361,361,385,401,391,379,379,378,374,385,382,374,359,346,359,361,346,349,352,344,341,341,340,339,358,372,379,396,389,385,403,419,439,427,403,393,384,387,394,379,389,411,395,392,382,368,380,371,355,367,375,355,355,352,370,378,378,387,397,399,409,435,449,437,449,436,425,409,411,421,436,451,463,464,433,430,411,381,386,364,365,383,377,365,361,353,349,346,337,335,330,331,346,346,343,337,337,343,339,337,349,364,371,379,394,393,386,407,423,428,437,449,441,419,421,435,437,437,443,443,441,437,427,415,412,410,403,405,413,405,403,399,394,410,390,399,422,421,392,370,370,374,355,375,387,402,394,398,398,396,393,396,380,386,390,387,376,356,358,346,336,342,346,339,343,334,337,332,330,323,323,318,318,325,325,325,326,336,330,318,331,333,330,339,338,336,330,325,336,316,338,337,346,346,337,325,335,356,348,331,337,337,344,349,324,339,330,328,343,344,346,360,350,343,361,342,325,320,324,323,326,320,314,316,331,338,336,325,307,299,305,301,319,317,294,303,314,309,305,305,311,328,336,323,325,331,332,352,341,341,339,336,337,334,325,317,318,330,321,340,337,341,348,341,338,338,343,345,343,342,343,343,344,348,354,364,376,362,365,362,347,357,377,367,366,360,360,360,360,362,356,342,350,366,367,364,378,377,374,374,372,348,377,357,350,350,348,344,341,341,335,335,344,356,365,372,357,347,346,344,341,346,332,328,350,337,327,322,322,329,307,305,293,305,308,308,311,320,343,326,321,320,338,336,341,341,340,342,342,343,336,336,349,342,342,336,336,323,326,327,328,328,333,332,332,333,331,343,336,338,336,342,324,335,343,342,349,346,326,324,324,314,314,330,350,354,340,336,330,329,333,329,329,326,313],[888,840,639,454,399,604,680,503,479,558,1026,1574,1928,1534,1388,1054,893,1194,1438,1692,1692,1802,1674,1268,1814,1918,1716,1106,1040,1112,1094,1236,1188,1120,1450,1656,1624,1528,1482,1366,1248,1324,1526,1414,1011,1058,1520,1648,1058,899,951,591,468,501,666,414,336,318,361,360,397,381,442,665,634,424,422,406,413,440,1050,1172,1284,1186,705,546,835,1076,1058,882,759,1094,1658,1294,672,454,497,511,502,479,469,414,355,404,465,397,451,436,637,1064,1134,1094,1148,689,373,389,463,418,638,977,719,475,896,908,1388,1388,715,655,466,598,909,966,871,631,643,1516,1938,1388,1482,1294,728,995,1318,1258,1196,1242,1344,1254,875,493,448,421,450,442,451,480,416,490,977,1268,659,891,1538,1098,773,881,1021,645,521,710,765,1116,1220,1306,1770,1372,1118,792,707,896,752,1018,1306,1224,1104,1202,1044,771,728,721,1112,899,1084,1260,1202,819,781,1126,1316,1374,1296,1338,1584,1528,1124,1296,1082,509,446,389,493,760,666,519,639,898,1148,897,690,601,564,491,444,680,1204,1542,1438,1114,1240,1566,1670,1664,1428,1144,1218,1316,1102,634,455,376,284,288,332,369,310,310,345,324,421,484,464,461,426,438,643,1188,1334,1028,768,510,397,323,313,333,364,331,396,460,482,617,676,692,984,967,912,1156,867,775,1148,1410,1404,1424,1274,714,571,961,1238,1064,1158,1048,1140,1032,871,1136,1352,1286,785,736,789,736,465,673,688,610,935,1128,871,857,1015,996,995,985,886,1238,1324,1058,1248,1390,1398,1594,1598,1830,1782,1492,1056,922,1024,1028,799,1172,1322,1572,948,513,535,660,1260,1512,1192,968,1232,1126,820,826,1052,1278,1376,1468,1534,1330,794,559,771,724,735,976,893,767,718,838,1110,627,486,600,562,519,504,482,491,419,431,420,386,646,755,823,967,1128,1210,1332,1336,1150,949,659,539,602,680,846,954,1482,1662,1998,1966,1314,1180,1466,1526,1720,1610,1434,1376,1554,1490,1384,1250,1598,1772,1254,784,892,1198,1007,932,982,914,1282,944,463,631,1096,801,734,1230,1246,922,979,1208,1088,1126,1426,1356,1276,1344,928,466,666,755,1005,1578,1636,1368,1284,1196,1094,1136,1172,1080,886,846,1166,1282,856,625,605,907,1212,927,809,1294,1334,1180,814,431,463,417,451,421,572,998,1130,913,998,1306,1226,1240,1476,1716,2004,1750,1490,1376,1082,1096,1122,1356,1212,863,811,811,605,581,639,896,1166,1332,1560,1296,1010,1144,1332,1196,1160,1188,1244,1130,1015,930,843,670,817,845,1114,859,1076,1302,1200,943,886,946,1068,856,489,510,590,688,992,1498,1410,979,1222,1328,1294,1444,1524,1432,1442,1484,1448,1178,733,806,939,700,592,586,587,1138,1430,1236,1336,963,718,863,954,1188,1184,1274,781,821,1036,680,576,877,944,901,1102,1248,1282,1234,1266,1322,1034,1216,1612,1716,1218,989,1272,1306,1066,1240,854,573,539,438,852,963,1132,1206,972,893,868,905,1138,1230,993,790,944,948,604,465,799,957,1036,1318,1256,1330,1104,963,1234,1360,1023,1136,1158,849,833,1086,996,852,1126,1184,1021,1158,1238,821,848,1144,1282,1500,1166,673,797,1026,801,609,446,503,616,503,542,819,741,750,835,1166,1338,1098,1028,1206,1350,1382,1388,1036,703,645,533,361,318,333,356,460,517,581,771,454,479,466,643,685,931,1064,1176,1306,1314,1158,1208,1298,1002,852,698,493,894,866,861,991,1040,1168,1074,1106,1172,1456,1432,1424,1352,1290,1542,1666,1602,1586,1472,1348,1504,1102,663,542,785,803,771,798,591,622,1042,1148,1322,1270,1212,1300,1288,1116,1218,1542,1450,1360,1640,1494,1396,1438,1316,1262,1028,959,1120,1248,1402,1260,1074,976,952,830,754,948,1054,646,554,999,1246,1310,1250,981,1620,1638,1100,808,958,1146,985,1200,1220,680,555,608,595,597,643,1550,1528,1100,1013,1018,1110,1030,1056,850,886,702,385,1118,1530,1440,1278,1150,1096,771,894,904,523,622,867,648,762,878,740,962,774,906,959,797,795,788,744,1026,1078,1232,1532,1414,1066,561,516,805,964,855,875,1374,1506,1444,1438,1560,1648,1578,1520,1282,1168,1636,1786,1396,1156,1322,1566,1824,1864,1640,1506,1418,1478,1390,1340,1340,1604,1680,1402,1456,1494,1494,1582,1472,1150,986,1126,1324,1394,1394,1362,1376,1362,1296,1330,1384,1556,1948,1562,1112,1078,1218,1204,973,847,603,571,542,439,406,417,363,347,375,401,550,645,655,838,1162,909,458,323,292,473,816,956,922,796,895,1368,1322,1106,1236,1752,1672,1236,1374,1194,1088,991,1078,1294,1036,1206,1542,1558,1562,1404,1382,1610,1876,1494,1390,1354,1262,1192,1152,1184,996,1152,1376,1244,1206,1254,1238,1130,938,899,968,1218,1560,1196,1032,971,1048,1023,1046,1068,976,923,1192,1023,759,726,789,1036,1082,1262,1394,1530,1578,1312,1212,941,1062,1104,1206,1276,1462,1680,1072,657,632,744,804,789,841,666,644,899,1072,1324,1290,984,929,1122,940,985,1318,1340,1416,1054,1013,976,932,1084,1082,816,709,625,569,503,514,935,1268,1552,1782,1356,1402,943,511,451,430,465,438,555,1160,1994,1604,1182,1360,2128,1770,905,714,579,423,522,867,1136,1154,973,490,309,347,466,671,622,511,466,417,362,382,694,891,703,375,270,246,226,242,201,222,318,336,321,391,550,731,687,851,841,1072,656,293,284,454,397,414,607,549,470,408,371,361,799,1192,1480,1426,1350,1174,990,1174,1116,923,927,1176,1152,1174,1254,1302,1274,1020,1046,1146,1346,1288,778,833,1594,1756,1250,803,904,943,839,1352,1324,741,920,1206,826,706,698,713,1232,1508,1366,1078,750,695,975,1142,1110,1226,1278,1066,1021,1284,1220,1102,1238,915,804,1116,1064,684,528,563,583,539,472,485,798,1150,894,624,747,655,480,400,407,447,491,484,512,508,450,559,638,559,586,641,974,1310,1552,2166,2602,2430,1654,819,863,1740,2488,1992,1186,1116,1320,966,547,400,492,903,1460,1060,786,1028,1158,901,478,359,344,343,491,586,547,549,550,630,691,733,699,746,732,721,692,582,467,381,384,420,335,356,326,673,886,709,534,523,661,905,786,504,593,672,810,803,688,609,1058,1178,900,822,830,910,863,565,857,1021,769,758,1007,1011,898,1180,1064,792,1028,926,631,921,1140,864,457,444,555,779,863,738,745,910,1028,667,422,376,407,501,660,702,479,414,385,467,649,758,551,396,413,418,470,639,665,474,412,351,336,333,331,322,332,330,303,311,310,283,285,290,302,315,340,366,379,354,339,325,321,328,328,312,304,298,294,303,321,308,309,319,312,309,321,320,305,308,304,298,306,302,310,316,362,381,373,361,366,363,369,396,413,420,425,401,390,396,380,370,374,366,355,366,367,349,355,357,347,355,331,336,346,357,372,375,389,402,400,396,400,422,417,402,393,380,383,395,379,384,399,397,418,383,371,382,375,365,358,371,368,352,355,362,362,382,404,407,440,456,451,461,455,474,452,431,425,407,409,431,429,437,472,454,434,415,388,375,367,374,388,383,364,355,357,359,364,353,350,341,337,364,361,352,342,337,343,347,350,351,355,361,368,385,386,387,386,407,430,423,431,435,415,410,427,430,433,437,443,444,437,434,425,406,404,399,397,411,403,392,394,401,399,390,386,403,430,427,388,374,376,341,367,383,376,385,390,387,388,388,387,385,382,378,382,379,350,352,346,338,343,356,342,332,336,330,331,338,329,317,308,312,325,324,324,331,332,326,335,338,325,324,352,343,343,336,344,321,319,332,326,343,356,331,318,319,335,353,343,343,344,338,338,324,343,335,318,332,337,346,342,330,332,354,350,352,342,328,323,314,311,314,322,331,331,326,317,320,307,301,298,307,307,290,289,309,323,302,306,303,318,332,326,324,328,337,339,337,336,337,347,341,328,324,317,323,329,337,327,337,363,346,335,336,338,342,336,333,335,336,340,348,352,354,358,362,369,371,358,345,343,357,362,360,360,363,365,366,363,365,358,347,376,384,371,384,379,374,371,364,356,356,335,344,350,348,346,341,341,334,335,341,350,360,368,362,359,353,341,332,326,319,326,343,336,330,320,315,312,314,316,320,317,304,320,316,320,320,329,324,323,327,336,346,336,338,345,341,343,336,331,343,342,341,336,343,324,331,342,330,332,336,325,332,335,324,342,340,336,346,342,332,345,351,345,348,342,316,324,326,300,322,332,357,357,353,345,333,340,333,328,321,309,314],[714,600,492,497,672,959,649,583,611,514,577,603,845,1090,1592,1238,863,915,1386,1852,1708,1714,1694,1704,1898,2058,1494,1009,1001,1086,1194,1418,1498,1486,1470,1322,1092,1019,1214,1386,1570,1600,1528,1392,1122,1090,1170,776,543,921,965,522,419,541,630,412,318,322,325,295,332,414,614,870,554,420,463,425,446,501,649,679,1172,1730,1266,603,1126,1316,941,774,673,742,876,847,600,505,534,456,433,496,491,395,323,401,552,474,399,414,412,1090,1528,1212,896,453,301,321,298,342,437,777,684,462,667,893,1366,1088,819,915,518,872,1036,1015,613,509,852,1500,1722,1444,1572,1168,827,1224,1264,1238,1132,1280,1316,1070,841,600,467,435,432,397,478,535,566,734,1128,1254,699,1016,1232,729,606,894,1032,666,439,499,1030,1476,1180,1464,1890,1566,1638,1654,1512,905,508,607,891,1166,1180,1376,1126,784,580,420,451,473,827,1198,1056,824,969,899,1234,1392,1466,1500,1526,1390,1148,949,547,484,579,539,747,681,609,560,592,605,760,601,637,741,594,370,496,902,1062,1132,1290,1636,1952,1776,2208,1808,1324,1132,1460,1502,1166,802,640,378,270,285,298,316,339,326,299,339,404,497,601,464,362,391,470,957,1102,812,691,645,509,499,334,282,346,266,327,426,520,772,1046,1084,1638,1336,951,1007,752,768,1158,1214,1184,1012,728,561,643,1034,1100,1296,891,777,1274,1072,750,854,1172,1026,880,1156,970,997,598,901,1236,932,695,891,912,796,613,669,689,1042,1210,1440,1316,1238,1288,1548,1588,1336,1250,1362,1558,1138,986,944,626,584,1070,1082,1076,1220,913,695,566,733,1226,1274,1122,1024,1194,732,716,935,1136,1566,1750,1440,1266,1218,1026,841,781,759,908,921,784,722,868,1484,1564,888,646,683,636,450,609,556,505,446,446,472,484,530,784,994,1072,1050,1050,1268,1262,1392,1414,1148,934,842,727,688,835,1170,1670,2234,2466,1896,1578,1372,1394,1506,1450,1644,1968,1908,1472,1224,1306,1322,1308,1342,1009,1302,1732,1128,905,857,1000,1330,1072,509,793,1244,697,784,1152,1116,1030,1188,1456,1248,955,1254,1388,1160,940,772,982,1380,1108,1248,1168,1290,1206,1126,901,830,996,1110,959,822,1022,1164,924,747,778,767,831,839,566,830,1382,1026,732,600,482,502,476,424,411,718,1130,1218,1070,1226,1270,1194,1448,1710,1910,1670,1320,1446,1036,704,818,724,820,863,591,645,727,619,847,837,1090,1278,1534,1476,1003,1004,1188,1582,1742,1166,1208,1296,966,1054,1126,1034,700,548,810,1134,783,1142,1516,1588,1396,1046,852,656,534,502,516,514,688,1112,1526,1548,1426,1450,1316,1198,1408,1542,1524,1452,1354,1148,901,904,925,924,922,925,828,547,483,649,955,1126,928,762,591,580,775,1034,839,573,854,915,595,788,1138,926,1084,1270,1298,1344,1282,1288,1358,1290,1322,1410,1116,971,1058,1434,1332,1088,934,656,533,592,498,503,835,1021,619,601,674,798,823,909,1402,1432,1538,1192,823,733,697,1098,1138,1300,1464,1009,1126,1046,1020,1196,1084,1084,1342,1302,852,968,1368,1072,1126,1590,1130,927,1306,1384,907,588,890,1214,1338,978,562,1114,1338,650,560,450,428,369,302,288,340,572,633,647,1026,1382,1272,1208,1394,1582,1638,1430,1246,1340,1142,863,690,593,458,394,769,1090,1158,1424,646,372,358,311,449,512,664,1032,1098,1042,1023,1138,783,591,908,779,757,1100,1050,1074,1140,1340,1218,869,1040,834,1072,1100,824,867,1080,1328,1696,1670,1566,1450,1262,1324,961,1166,985,1050,676,515,675,689,710,920,1074,1092,1092,1222,1200,1340,1368,1714,1450,1358,1360,1524,1658,1534,1388,1454,1496,973,1216,1260,1382,1586,1368,1170,734,657,946,800,808,1096,609,609,758,1026,1340,1432,1194,1312,1116,1068,986,821,946,1009,1206,957,576,607,647,670,489,830,1470,1364,1394,1498,1396,1368,1276,1352,1110,816,510,431,1190,1640,1614,1514,1428,1038,745,730,424,397,590,573,424,792,1222,969,724,855,924,647,636,679,811,786,1246,964,1270,1468,1334,992,736,838,775,769,846,899,1506,1482,1248,1644,1482,1408,1592,1420,1282,1682,1664,1268,1268,1406,1434,1620,1554,1356,1566,1426,1206,1312,1408,1406,1340,1482,1466,1488,1494,1456,1574,1640,1376,1092,1260,1438,1440,1188,1130,1162,1156,1230,1272,1384,1454,1206,1462,1460,976,991,1356,1060,1024,959,567,498,500,484,535,768,481,377,375,354,449,513,623,850,1174,1222,889,509,332,372,563,1076,1136,1090,1196,1394,1218,1266,2026,2542,1830,1202,1296,1176,1096,1236,1316,1448,984,1004,1216,1322,1376,1506,1614,1690,1866,1610,1402,1278,1152,1124,1256,1015,649,957,1528,1856,1818,1712,1220,671,736,1144,1034,1294,1544,1520,1344,1154,857,642,895,1054,1154,1284,1496,1114,1082,973,875,1004,1052,1292,1376,1626,1638,1242,1140,722,876,927,1256,1584,1844,1730,1018,702,730,997,1056,1106,1216,1246,1206,1009,968,1140,1150,1054,1110,1019,860,1094,1286,1254,1450,1312,1240,1166,1154,1280,1096,905,938,926,965,810,710,863,1442,1802,1616,1246,1188,809,484,520,531,442,386,416,572,1180,1070,889,1266,1730,1218,612,437,456,481,484,717,891,849,597,351,351,413,513,487,553,832,903,508,303,342,584,661,661,529,336,258,242,215,479,883,472,595,571,475,436,495,672,932,1246,1498,889,312,273,281,310,443,511,404,519,485,407,343,417,995,1332,1294,1314,1114,1017,1220,1050,1094,1268,1268,1264,1428,1194,1246,1532,1212,974,1174,1204,1318,1110,766,910,1216,1180,1076,1224,913,871,1412,1364,1092,1510,1502,1178,828,821,767,945,1112,1248,1466,1090,821,857,940,1086,1136,1186,1124,1198,1202,1122,1116,1192,971,714,933,1242,1182,819,560,531,461,455,537,1056,1100,596,410,538,545,410,430,495,424,491,519,505,437,424,490,546,538,667,847,1484,1704,1260,1676,2198,2410,2060,1044,639,1144,2066,2642,1880,1210,1334,1144,750,536,508,758,1116,755,691,775,827,678,440,437,465,541,498,535,494,593,598,700,725,691,751,860,815,843,911,743,370,386,425,477,470,481,563,607,566,436,436,574,605,695,839,789,418,450,772,701,641,722,1146,1072,714,849,907,551,560,555,811,1016,1092,940,1218,1468,1248,1276,824,587,954,884,599,896,1094,904,516,486,844,929,825,608,650,797,705,631,518,413,484,573,644,645,504,455,452,505,604,593,428,325,358,459,564,668,844,687,483,382,353,326,342,327,313,316,320,334,322,292,310,288,295,311,332,357,345,329,339,343,329,325,346,324,298,299,313,294,311,314,328,325,317,316,314,297,306,310,308,310,316,300,303,313,343,369,373,367,370,361,381,403,434,437,423,399,395,394,382,377,374,371,355,355,365,357,359,365,355,364,351,338,360,378,372,368,353,377,382,368,381,409,419,405,387,383,389,397,387,386,390,383,405,405,386,381,375,380,362,370,383,369,362,364,375,412,452,467,495,505,488,475,460,474,465,433,412,396,392,417,411,415,437,462,443,419,401,380,370,364,369,381,367,350,362,362,364,355,346,343,352,352,339,337,337,342,339,343,336,355,358,361,366,378,386,409,411,402,415,413,431,444,420,419,435,434,431,431,431,433,428,429,428,403,400,390,412,395,387,379,383,397,398,390,386,406,438,421,401,386,376,338,350,380,388,387,382,376,379,383,380,379,374,366,368,371,365,352,344,343,346,353,343,329,332,338,338,338,338,320,304,304,305,313,322,335,335,318,333,338,324,323,344,336,336,330,317,321,323,322,322,332,347,331,335,346,350,365,346,343,344,344,342,331,343,338,318,330,335,344,325,343,338,339,338,336,335,330,319,311,313,322,336,338,330,316,315,299,311,315,303,298,293,285,277,305,318,323,306,299,307,323,325,323,329,353,355,346,333,332,358,343,324,324,318,318,321,328,323,328,331,330,336,328,332,329,322,323,326,328,333,345,348,354,363,361,363,363,354,348,345,345,358,362,361,366,368,369,363,368,370,358,375,385,385,389,386,382,374,364,364,356,346,346,347,342,341,342,339,336,336,340,345,354,362,357,344,329,334,334,330,333,327,324,322,327,326,321,313,309,309,308,305,311,310,317,322,316,322,320,326,319,332,351,340,340,336,337,345,329,329,336,335,332,330,336,331,335,335,331,332,340,322,329,336,331,341,341,335,348,348,338,349,349,349,349,345,336,343,335,322,319,345,354,353,363,351,329,343,335,329,324,318,323],[752,618,661,1052,1354,1372,756,600,555,544,491,497,380,523,803,898,700,752,1502,1820,1924,1584,1620,1772,2042,2088,1644,1354,1338,1422,1406,1332,1188,1104,1058,995,1020,957,1320,1508,1542,1360,1124,1132,1216,1082,902,666,683,1012,889,498,348,405,425,362,325,397,426,276,311,519,626,574,371,455,593,548,406,376,699,778,739,1568,1650,612,837,1224,1038,619,481,469,731,986,763,544,540,399,426,510,448,366,341,372,411,384,461,517,730,1602,1656,912,513,376,273,281,304,321,437,901,922,482,624,1140,1020,830,1252,1250,807,1056,979,1086,743,841,916,951,1332,1462,1048,637,724,1040,1036,1056,1198,1356,1284,933,607,519,434,395,406,407,476,490,716,691,672,677,526,607,659,637,523,638,752,597,423,739,1562,1340,1232,1500,1786,1574,1638,1798,1446,875,709,591,861,1166,626,817,700,811,672,599,765,1032,996,1156,1144,966,1360,1654,1470,1068,894,1164,1496,1564,1296,860,585,848,1009,535,465,827,2118,1186,745,645,801,617,578,807,720,386,744,1010,853,950,962,1670,1972,1942,2122,1694,1318,1408,1396,1102,813,612,741,400,332,310,296,270,238,246,340,373,333,406,482,483,496,825,849,1102,802,522,546,597,622,634,452,365,460,499,447,462,483,612,1005,1070,1354,1112,826,922,1020,1258,1448,1058,1106,768,584,418,423,1005,1136,1128,1020,1058,870,667,717,696,988,1019,812,779,1182,1042,472,372,738,741,473,426,698,998,584,611,778,1011,1318,1476,1444,1296,1308,1488,1482,1472,1380,1382,1460,1078,1176,1034,647,811,1214,1046,1212,1490,1332,1202,951,635,732,971,1210,1098,941,956,1290,1082,1008,1376,1520,1530,1212,989,1110,932,727,921,1112,957,709,729,983,1376,1272,802,793,929,642,513,675,576,516,487,543,539,539,484,433,591,877,1005,1070,1226,1176,1212,1260,1368,1342,1268,1158,1026,895,1017,1438,1886,1908,1594,1554,1340,1302,1052,1306,1732,1434,1230,1400,1134,1274,1394,1570,1650,1330,1362,1618,1530,1046,649,963,1320,767,348,463,624,427,477,820,1256,1768,1450,1094,1032,1198,1382,1222,1062,721,661,1136,1296,1060,1254,1492,1730,1392,1036,904,830,995,1003,1026,911,938,742,702,709,728,839,717,758,1158,1410,958,605,693,680,539,532,476,457,492,535,780,874,987,1130,1132,1362,1700,2032,1726,1360,1244,1212,991,1116,1122,667,466,455,487,651,988,988,1026,945,1212,1424,1658,1388,976,977,1318,2548,2730,1408,1402,1180,929,1172,1240,1374,1116,1052,1080,1090,1156,1212,1200,1212,1013,839,854,606,814,1026,824,724,1028,1354,1334,1342,1488,1560,1476,1066,932,1072,1294,1454,1270,896,1250,1504,1182,821,608,767,753,461,407,555,641,611,548,461,394,401,423,454,537,713,883,1326,1196,688,859,896,999,1308,1456,1210,957,1050,1264,1440,1440,1296,1050,1032,820,924,1236,1392,1120,812,739,686,462,361,634,980,643,460,539,707,709,823,1448,1968,1806,1166,1092,1120,1013,990,1026,1166,1224,1248,1168,963,1070,1013,975,1178,1438,1340,1396,2196,1726,1112,1242,1116,952,893,1172,1106,745,508,600,810,913,654,667,1184,1188,633,410,398,381,436,496,373,378,467,429,688,1256,1390,1218,971,1218,1478,1560,1354,1242,1106,1064,1028,901,1160,977,827,1136,1086,1394,1362,648,434,465,403,470,501,692,906,959,741,874,1248,753,858,1200,1048,1034,898,746,1104,1248,1382,1288,830,1038,727,1044,902,502,751,1206,1436,1518,1560,1290,1114,1344,1194,950,1922,2278,1444,667,521,497,405,446,591,639,622,966,1290,1166,1212,1252,1466,1498,1456,1248,1362,1478,1470,1516,1426,1312,1040,1232,1216,1576,1664,1410,1180,773,946,1136,694,730,858,587,666,572,594,871,1168,1168,1020,807,711,816,681,531,863,1064,797,561,568,612,698,697,1040,1258,916,989,1174,1388,1418,1660,1548,967,457,269,585,1396,1938,1930,1804,1672,1294,766,510,432,564,675,601,691,960,1056,841,553,436,416,574,669,735,750,932,1318,923,1040,1314,1214,893,744,831,659,755,796,1194,1658,1308,1188,1700,1622,1456,1454,1384,1490,1818,1612,1208,1028,1474,1598,1598,1650,1560,1550,1438,1390,1338,1206,1262,1528,1208,1005,1266,1252,1286,1408,1490,1448,1378,1144,1108,1262,1158,1076,1140,1110,1220,1432,1504,1528,2172,1636,1288,1368,1246,1388,1272,1112,907,651,689,610,651,668,972,751,468,379,368,414,510,594,656,883,1268,1344,1062,686,489,431,865,820,727,987,1284,1252,1260,1338,1276,1220,1656,1604,1126,1080,1242,1284,1144,944,830,788,971,1042,1356,1628,1908,1980,1824,1374,1294,1400,1266,1130,1100,1100,1094,1606,2154,1804,1664,1504,1052,1001,1242,1248,1384,1526,1500,1412,1362,1058,847,1026,1058,1120,1102,1166,1054,1130,1130,1130,1030,1004,1346,1276,1602,1168,1062,990,765,1200,1312,1442,1620,1518,1314,764,880,962,1184,1090,1218,1432,1490,1268,1098,1196,1224,1366,1272,1196,747,904,1166,1328,1358,1280,1512,1698,1372,1324,1334,959,816,857,913,1001,989,989,1004,943,1017,1170,1220,1134,606,443,496,662,554,416,390,511,764,835,805,986,908,554,512,497,588,606,719,853,669,680,565,504,549,521,598,774,960,1046,1086,904,504,386,379,530,775,739,431,302,348,303,634,987,419,405,609,425,486,453,358,636,982,891,580,277,269,311,597,831,624,450,477,465,365,330,289,662,1178,1274,1176,1274,1168,900,786,844,1152,1246,1308,1346,1136,1578,2116,1636,987,835,957,1308,1284,975,548,919,1198,1308,1418,1172,810,793,912,1174,1446,1186,1340,1226,1096,1003,1011,989,1174,1450,1282,954,774,811,880,770,1038,1054,1136,1005,917,1178,1252,1130,1156,1046,979,1404,1412,944,619,485,443,708,1010,667,445,426,377,386,381,431,548,459,421,453,440,455,543,490,451,547,642,1162,2110,2344,1482,1312,2046,2728,2666,1664,821,590,1158,2192,2478,1696,1202,1508,1130,610,374,680,1072,952,855,941,832,607,705,989,993,918,634,637,552,523,646,761,712,623,711,756,633,702,762,839,515,349,403,572,630,495,408,354,383,393,464,477,371,341,458,791,772,463,645,648,615,962,1056,711,592,812,1114,608,477,643,1052,1036,971,1002,1086,942,1108,1364,1032,663,1030,991,557,727,1206,1036,585,463,664,798,741,600,771,649,702,1030,858,695,535,528,535,533,504,525,542,551,558,498,468,582,430,524,558,577,753,740,566,457,379,339,343,339,322,306,274,295,318,323,322,336,340,322,320,327,319,305,305,333,335,341,354,326,304,300,296,294,290,299,304,303,310,307,317,316,318,314,314,308,310,309,313,322,340,383,392,376,368,353,361,389,425,435,435,426,423,414,395,378,383,367,371,372,359,355,365,374,351,372,377,351,366,389,357,351,357,371,371,374,379,388,397,394,383,380,399,407,395,384,372,380,397,430,419,394,393,393,372,379,399,378,372,378,390,446,508,536,523,514,510,477,452,466,467,413,412,407,382,399,401,399,417,456,449,421,407,392,378,394,387,390,387,364,356,355,350,346,343,346,349,343,344,329,339,352,349,346,325,346,355,358,372,382,390,420,416,403,428,422,440,440,421,420,432,430,429,429,423,422,420,415,423,408,401,400,390,390,388,378,376,386,394,396,386,406,443,426,409,396,372,343,342,368,376,360,367,374,379,376,376,376,366,354,350,354,355,352,354,338,336,338,338,330,324,324,324,326,331,326,321,326,325,326,322,328,340,329,319,326,332,338,332,329,326,326,326,331,324,326,319,326,329,334,338,346,347,363,345,335,346,345,347,352,347,336,328,342,338,332,343,343,339,340,332,336,348,335,323,311,305,317,334,329,316,315,309,298,307,304,302,298,288,285,271,296,329,336,311,310,318,322,330,326,328,354,338,338,342,335,352,342,330,317,314,318,321,325,321,327,330,331,337,335,327,311,320,337,343,342,346,348,338,354,363,360,360,357,360,357,353,353,358,361,363,367,365,366,363,381,377,366,373,380,383,378,374,376,381,369,352,350,348,348,345,343,341,341,336,334,339,341,343,345,348,358,354,322,328,336,336,335,332,324,322,321,319,320,315,311,308,298,301,311,311,314,311,316,318,314,323,327,333,341,345,349,335,335,349,329,331,337,331,329,330,329,330,334,332,329,317,330,327,332,336,341,345,346,342,347,353,349,353,348,349,349,346,351,337,354,346,330,335,343,366,363,355,349,342,336,333,331,326,328],[852,577,721,1192,1158,1032,942,672,545,545,468,404,350,404,761,1154,783,1244,2232,2200,1802,1470,1406,1530,1682,1550,1600,1420,1300,1288,1022,833,1156,1278,1116,976,1120,1210,1132,1015,995,799,655,929,1268,1032,669,647,860,875,594,487,433,301,296,300,283,368,363,357,469,566,460,352,496,957,1082,777,675,642,903,1028,641,1206,1182,657,1056,1170,686,642,527,564,1358,1804,1050,582,585,523,428,384,333,333,337,341,326,309,448,685,1324,1688,1324,1278,606,416,328,297,332,278,520,771,577,392,604,1592,2056,1230,1152,1116,1088,930,964,821,866,1166,868,592,689,935,589,612,466,662,908,893,1126,1256,1164,766,408,373,331,340,368,412,462,678,625,645,637,617,550,539,614,681,809,644,696,576,494,676,1214,1310,1716,1782,1678,1694,1660,1438,1094,728,918,821,960,1322,967,751,566,539,683,943,1462,1722,1196,1300,1238,1182,1032,1980,1428,861,743,908,1246,1370,1392,1366,1128,1166,1134,679,525,1330,2722,1774,978,809,886,839,736,935,986,623,899,1318,1058,639,528,866,1230,1588,1542,1424,1482,1562,1420,972,557,397,321,313,342,305,263,254,247,305,406,418,371,387,395,456,538,878,846,990,705,688,921,828,573,485,436,425,603,761,498,431,333,419,908,1154,1102,1009,1026,1262,1422,1416,1148,1170,973,962,1158,842,501,825,1350,1462,1344,1016,678,741,713,580,668,713,850,1056,1296,1028,642,389,787,1194,985,474,667,929,601,455,788,1154,1232,1322,1220,1142,1372,1306,1284,1414,1384,1152,915,626,821,774,869,1278,1306,1506,1914,1454,1236,1178,1254,907,583,705,1268,1494,1388,1428,1154,679,710,897,1714,1786,935,905,1362,1128,1020,1026,913,747,788,1156,1152,993,928,877,1050,1324,875,542,520,491,495,800,980,695,656,643,396,451,650,1062,1190,1328,1262,1060,1152,1256,1290,1466,1474,1478,1326,1306,1338,1520,1522,1376,1116,1450,1666,1442,1670,1590,1040,763,1472,1090,832,1294,1520,1400,1198,1388,1410,1318,1198,971,1170,974,595,415,376,354,394,719,1216,1964,2218,1238,510,852,1604,1404,1166,1572,1242,1168,1098,1138,1114,1458,1642,1404,1482,1686,1594,890,894,1194,1300,856,955,899,862,811,730,771,1034,1382,1474,1338,1126,841,695,709,586,554,494,492,509,479,526,717,924,1018,1274,1698,1978,1766,1384,1338,1210,1184,954,960,999,965,871,604,466,514,747,933,1168,1005,1010,1400,1572,1312,1072,837,924,1694,1670,1156,1050,1088,1014,1108,1188,1262,1336,1356,1346,1230,1268,1200,886,684,937,1230,1050,907,1160,1266,1116,984,1328,1640,1646,1512,1462,1318,1482,1360,1220,873,802,850,756,996,1750,1848,1320,846,843,816,601,459,412,467,544,444,417,448,444,458,480,402,536,744,1048,1140,749,440,440,726,937,1248,1480,1366,1248,1144,1194,1360,1354,1094,938,967,993,782,885,1180,1194,1120,1132,878,552,383,392,432,393,416,470,564,789,993,1224,1572,1506,1005,725,1074,1138,1134,1076,1001,1116,1074,957,1056,1066,955,900,843,1064,708,1058,1568,1160,985,1042,779,797,828,1024,1242,868,642,711,549,872,865,1088,969,823,552,349,351,296,343,438,371,389,389,409,624,867,1184,1272,1340,1556,1754,1612,1408,1226,1168,998,821,950,1074,1218,1072,1180,1250,1118,918,756,695,616,654,665,714,1190,995,1230,1036,767,959,940,1072,1350,1310,1272,891,766,1026,1026,982,1038,982,1244,1166,1180,1005,645,874,1590,1662,1194,1278,1288,1278,1236,810,786,1254,1650,1268,694,640,618,500,661,760,528,616,912,1232,1140,1074,1122,1162,1402,1490,1292,1040,953,1404,1508,1688,1526,1470,1332,1230,1556,1676,1672,1672,1198,1128,1156,685,1084,1017,666,700,705,467,529,873,846,864,744,465,511,543,566,724,781,854,799,604,578,644,636,1036,1308,1108,1238,1082,1366,1418,1644,1326,772,482,287,648,1480,1820,1874,1734,1552,1390,683,425,608,1013,846,498,707,847,744,879,836,526,456,496,546,666,805,1168,1440,1180,730,973,1146,953,734,655,565,779,865,1196,1658,1538,1288,1412,1466,1396,1316,1180,1286,1588,1496,1234,1196,1422,1404,1504,1610,1606,1462,1334,1384,1466,1254,1268,1394,988,965,1084,1050,1204,1274,1354,1416,1298,1054,1046,1272,1216,1050,1096,1100,1230,1488,1602,1722,1934,1266,1394,1532,1248,1378,1342,1234,1098,814,841,813,760,897,1254,1190,869,568,417,403,437,514,570,677,1015,1538,1924,1374,756,615,463,414,432,628,865,1194,1428,1374,1652,1568,1470,1198,1120,1196,1252,1284,1266,1036,785,922,982,778,1042,1266,1450,1444,1422,1268,1398,1510,1350,1168,1336,1460,1278,1408,1378,1394,1416,1400,1310,1308,1380,1368,1314,1248,1282,1208,1204,1148,1184,1214,1180,1376,1362,1290,1404,1078,1005,1128,901,934,1088,1218,1646,1160,1052,981,825,1258,1336,1076,1184,1114,904,890,1170,1232,1132,1158,1312,1382,1542,1352,1152,1228,1184,1330,1518,1342,772,1306,1592,1620,1350,1224,1968,2100,1070,1164,1338,871,790,851,920,951,1011,1013,900,798,1034,1168,1304,984,516,418,422,571,661,563,473,554,741,794,647,496,411,507,564,721,821,1102,1128,745,526,546,564,587,593,692,781,884,915,858,813,968,800,524,319,332,519,641,441,367,361,393,385,300,247,230,222,248,434,586,695,565,424,372,427,366,286,397,1034,1370,1136,622,408,365,303,296,321,528,819,1068,1190,1236,1154,1064,860,871,1116,1206,1312,1288,1270,1288,1272,1242,1190,1018,1128,1216,1194,861,466,659,1015,1144,1276,1264,1126,994,924,1012,1222,1234,1910,1960,1456,1322,1628,1416,1019,1248,1270,756,894,954,950,896,1146,1240,1068,850,960,1176,1062,1124,1318,1224,1094,873,1290,1408,1001,558,558,985,864,599,702,597,371,327,340,392,461,491,486,482,461,526,500,416,586,779,804,751,1238,2314,2122,2208,2812,2824,2566,2198,1338,686,755,1642,2460,2410,1464,1400,1462,1118,550,557,934,1004,1276,1184,680,566,682,959,1072,1062,977,919,925,823,894,1078,963,745,741,689,494,500,744,940,571,390,443,626,826,816,553,473,567,455,382,378,396,390,499,797,989,792,808,776,741,1042,902,775,495,699,1204,855,935,983,1046,877,703,828,861,821,909,1070,752,765,1016,1006,677,915,1190,1048,641,561,664,846,872,634,666,726,834,1064,908,777,673,677,668,633,603,576,587,604,580,508,563,662,568,528,484,548,680,733,633,478,418,379,339,333,311,305,296,289,298,310,298,333,344,307,303,311,298,290,309,310,336,344,330,320,314,301,300,300,297,299,310,318,307,294,309,305,311,329,332,339,346,339,331,343,364,385,387,376,365,359,355,372,399,423,445,441,432,408,399,379,394,379,374,364,357,366,383,371,357,379,371,360,363,370,357,345,344,359,367,371,381,388,392,392,381,371,395,393,388,386,370,370,401,465,469,419,407,412,390,386,397,388,385,374,392,468,530,560,535,517,526,475,452,456,433,420,407,409,390,396,400,380,398,445,440,423,415,392,409,396,376,379,376,370,367,358,346,342,344,344,346,354,346,337,343,358,352,337,346,346,349,358,376,396,390,392,390,400,412,425,451,428,413,422,416,416,426,413,419,416,416,408,406,408,404,401,390,386,388,388,376,382,384,404,393,398,426,428,411,404,373,354,350,354,350,346,360,369,387,371,373,376,364,348,344,356,354,356,343,336,331,326,329,331,328,312,319,328,324,326,335,337,326,325,318,315,328,338,326,334,335,324,322,328,322,318,331,344,324,324,319,325,325,322,319,330,344,359,350,336,343,359,347,359,342,331,336,345,342,330,338,345,345,346,340,332,350,338,326,313,307,315,322,326,338,332,303,292,305,313,290,295,282,274,290,285,318,338,329,324,337,332,335,342,328,347,343,343,338,331,342,346,336,318,323,315,320,324,317,318,325,329,334,336,327,318,325,329,324,319,329,345,335,341,355,355,351,353,361,357,354,351,353,354,354,357,357,368,361,392,385,372,378,385,389,387,389,385,378,363,351,348,349,348,340,336,336,336,334,336,343,343,345,348,361,366,343,333,329,329,328,326,327,324,322,313,310,311,311,324,305,307,311,311,311,310,312,314,312,321,315,316,343,329,340,339,354,337,339,342,339,337,336,330,330,341,330,339,336,330,336,337,332,337,339,346,351,358,361,349,349,357,355,355,349,349,343,337,342,349,345,351,328,340,361,357,354,368,349,338,348,349,351,360],[951,484,582,745,678,703,854,760,593,574,529,492,495,469,680,658,569,1212,1502,1164,1012,1348,1594,1732,1512,1230,1196,1112,1312,1334,929,657,898,1140,1152,1096,1204,1242,978,752,802,611,552,1040,1322,1192,1126,1162,1228,1132,731,673,562,356,348,375,276,288,419,893,885,838,564,389,760,1556,1690,1038,1024,1018,918,835,577,633,620,971,1362,835,400,388,451,819,1540,1632,832,511,453,396,359,382,382,340,341,374,343,376,554,774,1254,1096,1366,1176,960,948,695,426,323,233,451,730,669,593,470,654,976,1294,824,588,827,986,844,631,886,1244,954,977,649,694,450,323,256,336,459,684,953,962,831,539,368,339,285,343,359,352,504,655,994,1100,876,937,721,662,699,572,688,702,803,583,1072,1268,1488,1722,1578,1520,1338,1156,1434,1324,1040,704,784,661,891,1396,1374,910,806,634,519,774,1328,1248,868,789,711,724,1096,1488,982,722,807,1078,1334,1144,1246,1262,1292,1350,1230,868,662,1472,1764,1588,1222,906,880,720,651,791,934,640,492,891,1122,910,810,532,753,1256,1506,1480,1438,1424,1702,1082,441,336,292,308,279,258,281,328,373,402,439,433,380,400,400,461,483,554,601,604,774,1102,1356,1478,1130,625,437,474,517,484,538,594,440,514,926,1244,1282,1106,1194,1348,1376,1334,1406,1354,1158,1476,1370,959,598,565,1048,1164,816,381,435,640,747,642,565,604,863,1078,1132,1350,1062,565,1170,1748,1262,875,892,1132,658,351,745,1013,1136,1486,1306,954,1238,1484,1520,1498,1262,687,641,965,777,536,928,1200,1378,1620,1340,1090,1364,982,905,988,792,1076,1644,1874,1644,1356,1082,784,933,1144,1560,1122,1030,1450,1362,1214,1272,955,747,876,854,1430,1408,1160,1176,1188,1442,1400,1010,643,650,890,973,1066,1350,1086,857,882,849,504,410,630,830,1062,1018,781,957,1242,1198,1234,1396,1562,1498,1432,1480,1340,1322,1168,974,1488,1882,1996,2052,1824,1726,1322,1510,1394,876,928,1332,1238,1110,1126,957,1190,1202,1372,1810,1288,1084,777,515,327,449,814,1240,1996,2094,917,508,990,1382,1238,1556,1722,1290,1126,1166,1440,1542,1688,1608,1636,1758,1660,1522,937,711,1044,988,764,1126,1190,891,690,673,819,1336,1576,1284,841,940,779,630,612,482,466,460,514,590,535,614,868,993,1310,1632,1886,1880,1448,1394,1468,1176,770,985,1200,720,783,854,828,638,523,495,719,1138,969,998,1500,1500,1292,1188,1198,1180,1264,1178,1018,858,1030,1168,1240,1242,1488,1560,1414,1532,1310,1298,1224,1072,969,1170,1356,1202,1248,1470,1562,1324,1282,1572,1532,1736,1736,1732,1706,1454,1454,1298,1182,1144,973,920,1388,1848,1514,1260,915,811,656,428,353,406,399,351,378,491,609,581,423,481,444,648,867,1015,777,501,468,593,885,1178,1158,1372,1418,1244,1176,1300,1244,1076,827,843,1254,1498,1406,1300,1200,938,735,857,849,495,353,343,322,372,414,372,543,887,827,840,1104,1056,1194,974,1080,1170,1272,1200,1232,1370,1136,921,1010,1009,835,980,995,877,658,845,963,1001,1114,1128,1076,758,740,1092,1412,1222,1034,1106,842,1036,1204,1180,778,682,617,424,312,320,284,354,419,540,545,846,1064,1172,1472,1576,1594,1680,1824,1478,1482,1266,1158,1076,1012,1146,1120,1076,711,688,866,948,1094,1002,1066,1128,1200,1152,1284,1588,1482,1854,1712,960,874,1116,1236,1330,1342,1142,1144,1244,1332,1136,842,778,869,1134,1318,1440,1254,1021,1282,1588,1412,1100,1166,1406,1510,1234,760,796,1082,1036,949,806,971,927,627,1086,1262,865,794,971,1070,1064,1192,1362,1328,1310,1150,1250,778,763,1190,1256,1278,1120,1376,1746,1444,1188,1376,1454,1416,1470,1236,1174,909,1200,967,608,653,661,433,717,1232,985,846,934,631,678,972,880,765,623,676,1012,924,760,709,709,1180,1464,1366,1390,1388,1692,1360,1170,1168,925,521,371,1016,2028,1888,1780,1732,2250,2220,1116,499,700,1068,865,517,713,974,1360,2194,1664,1036,569,398,486,651,958,1262,1464,1276,1010,1362,846,742,685,688,830,915,757,924,1322,1428,1416,1388,1452,1454,1188,1136,1118,1324,1416,1202,1332,1434,1266,1358,1624,1736,1582,1394,1532,1490,1480,1418,1590,961,992,1090,887,1060,1300,1544,1446,1356,1284,1294,1346,1330,1118,1128,1650,1516,1126,1242,1532,1520,1166,937,958,1112,1304,1304,1292,1290,1386,1538,1262,764,770,1080,1290,1376,1074,510,435,436,430,584,798,987,1328,2226,1928,791,533,372,356,401,519,745,1068,1366,1366,1714,1638,1384,1130,982,1206,1448,1560,1448,1180,857,1576,1382,1050,1090,1184,1150,1158,1166,1015,1072,1280,1280,1208,1494,1556,1186,1172,975,959,1224,1516,1494,1390,1304,1044,1044,1182,1248,1136,1208,1152,1156,1194,1202,1534,1608,1198,1154,960,1028,1028,941,730,818,1276,1628,1182,817,756,542,678,700,735,1052,1202,954,937,1302,1602,1416,1318,1156,1044,1190,1168,1144,1460,1700,1490,1410,1318,1016,987,1250,1416,1232,1126,1116,745,622,865,979,628,587,769,886,865,897,907,748,888,1058,1252,1464,805,495,491,541,528,547,555,550,548,703,664,450,356,389,451,591,1082,1214,1230,924,519,464,482,610,659,796,1078,892,738,650,566,621,777,938,833,358,303,354,524,461,420,441,608,668,584,333,262,267,299,295,609,1188,630,387,374,434,437,452,516,724,1284,1214,556,362,345,326,286,291,364,588,913,1238,1136,1206,1326,1108,1028,1134,1288,1360,1288,1340,1198,1152,1220,1234,1300,848,849,1042,800,736,711,709,814,1034,926,1266,1486,843,580,816,1554,2374,1786,1100,1636,2172,1620,1346,1250,1166,657,848,1204,1048,946,1098,1326,1198,903,1074,1248,1346,1230,1216,1032,1208,937,968,1312,1428,1058,951,1052,797,1078,1188,781,410,323,379,494,540,505,493,540,538,480,480,567,585,816,1100,930,739,1432,1918,2378,2310,1698,2102,2446,1864,1026,966,1426,1764,1854,1608,1268,1438,1428,799,702,898,747,675,665,502,554,541,765,967,1023,1068,989,937,1108,1128,940,914,955,1024,896,659,739,916,940,661,469,599,678,602,722,675,576,455,379,319,423,705,766,780,626,558,905,1210,1038,1023,1146,828,930,846,1288,1186,882,1150,1192,1094,930,847,1015,968,966,819,1302,868,717,1006,992,674,868,1246,1066,647,615,769,857,910,659,846,943,796,828,843,811,758,758,788,802,804,760,717,626,580,464,514,541,558,520,558,648,713,767,725,572,412,394,393,391,358,327,318,304,307,302,332,420,371,296,298,309,282,283,321,350,356,338,328,326,324,303,307,301,295,294,297,313,309,324,332,315,316,325,333,365,380,376,346,354,369,378,377,373,374,372,359,368,382,395,439,435,423,413,407,382,385,388,384,391,382,368,386,381,360,366,375,365,358,350,339,351,353,365,361,361,368,379,387,387,380,368,386,393,394,386,372,368,405,472,495,461,422,428,434,411,388,392,394,383,401,477,531,540,540,535,537,451,431,450,432,423,404,400,406,411,403,382,397,446,451,446,425,392,400,383,385,388,379,364,368,362,355,346,343,344,355,367,350,339,338,354,348,338,342,339,350,358,372,415,398,368,390,423,416,423,446,434,416,411,408,412,410,414,412,413,408,404,410,406,413,408,385,386,383,387,371,382,400,408,404,406,447,465,453,416,374,374,355,350,355,364,370,368,379,366,365,371,365,350,343,343,347,347,350,338,326,326,319,322,328,317,321,326,318,318,325,318,319,325,319,315,315,313,310,322,326,322,335,332,325,342,337,344,318,312,313,318,318,318,319,331,343,350,347,348,338,363,338,350,347,332,334,338,338,338,337,338,345,340,338,332,343,340,329,316,312,316,333,343,335,326,310,298,301,319,287,292,289,286,293,294,307,329,337,340,338,332,326,328,322,330,348,340,319,326,347,348,329,324,331,328,325,324,320,325,321,320,327,324,325,331,327,323,327,328,325,335,341,329,349,360,351,353,359,360,353,348,349,349,349,357,359,363,363,389,389,383,375,379,385,387,384,380,379,369,357,354,351,343,336,336,336,336,336,342,343,349,346,343,353,354,351,341,331,327,319,319,319,319,323,317,311,311,308,329,312,308,312,311,311,311,319,319,305,325,317,315,337,331,334,342,347,346,347,341,342,336,337,339,342,358,334,322,323,329,330,329,334,337,343,344,349,346,336,355,357,357,359,358,352,352,352,347,357,355,363,383,335,334,359,360,357,368,359,353,361,370,375,367],[1024,626,519,484,490,596,741,783,597,579,589,581,605,508,564,519,519,623,659,796,1072,1274,1282,1440,1400,1116,857,1188,1936,1848,1300,1018,797,766,964,1138,1276,1218,872,642,642,514,559,1102,1298,1012,1038,1282,1682,1644,838,686,519,410,350,324,332,329,404,984,1560,1288,720,775,826,1204,1354,1014,1100,938,767,701,572,440,749,1360,1104,556,423,332,471,774,955,818,625,441,394,343,325,300,291,386,408,368,397,610,660,897,1056,1244,1306,1146,1490,1410,851,606,427,352,478,586,737,752,491,298,571,1042,830,601,750,1032,1082,818,825,1034,1102,1084,990,610,359,363,283,317,421,650,835,773,506,431,379,371,288,310,370,497,786,948,1554,1494,761,658,494,431,696,741,539,984,916,735,1064,1322,1886,1730,1390,1220,839,1152,1560,1360,995,1152,962,631,750,1228,1126,732,681,558,504,525,778,1018,891,463,391,438,783,979,713,561,618,654,803,1074,1192,736,591,834,1076,1284,1298,1504,1792,1610,1216,1318,1340,645,670,768,731,428,473,1015,1156,1276,1376,1120,706,719,1200,1108,1220,1416,1400,791,381,312,287,286,319,363,408,419,401,374,414,411,394,375,434,901,936,966,1150,942,1202,1458,1260,1184,1388,1204,1011,1028,946,644,667,796,666,590,1030,1340,1214,1166,1412,1214,1134,1292,1346,1412,1494,1388,973,509,336,375,673,623,342,249,276,353,579,653,634,653,787,960,1190,1360,1200,968,830,1072,1070,1102,1196,1044,525,394,469,644,958,1088,896,843,1438,1794,1808,1672,1422,755,493,586,503,664,1064,980,1018,827,506,930,1466,1194,1011,949,990,1354,1852,2056,1472,1250,1098,1072,1288,1466,1770,1650,1538,1510,1654,1800,1458,1150,1146,1480,951,1162,1408,1302,1028,1394,1558,1286,973,825,1256,1790,1954,1908,1918,1506,962,907,788,561,507,456,462,574,662,537,545,548,605,811,1144,1378,1402,1228,1120,804,1018,1482,1372,1510,2078,2806,3032,2482,1770,1588,1584,1590,1068,819,1098,1116,1096,946,934,1284,1506,1730,1578,1130,1184,1334,1130,669,490,655,784,1170,1414,1288,929,1484,1282,998,1272,1054,892,882,824,969,1340,1620,1430,1488,1766,1802,1730,1023,580,661,734,752,839,830,658,500,484,548,697,835,900,691,600,495,532,465,364,469,614,714,602,711,892,979,1230,1636,1822,1942,1424,1126,1230,1302,1072,719,1064,866,457,460,662,887,662,594,754,875,934,934,1216,1538,1648,1538,1370,1388,969,1102,1290,1003,966,1216,1356,1288,1248,1400,1314,1332,1174,962,926,929,1180,1192,1348,1670,1654,1550,1574,1348,1278,1848,1874,1618,1530,1368,1432,1754,1482,1136,1100,1232,1272,1322,1148,882,1154,1030,915,574,471,480,491,748,935,923,832,709,670,817,736,493,415,451,727,1013,1024,841,750,899,737,1152,1782,1172,1378,1442,1148,1256,1382,1382,1334,1296,1220,1360,1438,1460,1250,997,1048,747,605,487,473,416,340,357,425,497,433,420,641,872,945,1114,907,874,634,726,998,895,991,1204,1250,1094,880,833,988,872,831,1024,1036,1130,1276,888,946,1096,874,942,743,704,667,987,959,1106,1216,1280,1140,988,859,700,665,698,582,393,433,435,474,440,691,789,689,647,1086,1374,1416,1538,1510,1496,1698,1924,2036,1450,1294,1424,1416,1480,1382,987,743,712,766,839,821,874,982,1356,1352,1316,1518,1352,1230,1276,1009,1178,1210,1328,1336,1300,1094,1102,1114,1142,1068,1046,886,827,1094,1302,1186,1170,1356,1312,1440,1656,1622,1508,1448,1430,1416,1114,1262,1294,1160,1116,644,635,980,1182,1384,1154,684,800,1046,946,979,1320,1504,1320,1254,1110,1158,634,856,962,940,1202,1090,1156,1700,1596,977,1026,1142,1140,1290,1306,1100,1023,1122,1068,948,870,817,751,915,1056,865,712,605,591,1042,1564,1290,913,594,610,1068,855,794,891,860,1110,1432,1180,1250,1564,1562,1312,1226,1300,1126,724,495,952,1882,1958,1658,1742,1958,1388,943,932,954,1460,1272,642,631,1008,1194,1928,1208,709,583,551,819,1142,1308,1460,1392,929,1306,1376,807,444,559,761,866,930,742,780,1022,1082,1188,1412,1344,1350,1392,1460,1056,1266,1338,1148,1184,1208,1282,1382,1504,1640,1558,1328,1412,1458,1456,1280,1448,1130,1184,1150,1154,1430,1384,1466,1266,1534,1470,1372,1556,1638,1392,1180,1448,1288,976,1182,1278,1372,966,881,1090,1226,1300,1164,1312,1350,1864,2376,1738,843,626,849,1036,1228,1406,905,922,773,684,877,987,1158,1306,1656,1770,973,554,417,597,875,1030,963,856,1036,1088,1142,1226,1228,1046,855,970,1266,1412,1412,1184,1062,1308,1184,1236,1284,1154,877,954,993,925,1090,1190,1314,1228,1310,1388,987,814,974,864,1098,1494,1422,1184,1272,1142,943,1076,1036,1028,1288,1202,1126,1230,1224,1244,1120,1064,823,453,605,612,642,845,1404,1686,1646,1288,897,653,426,383,555,1242,1124,1058,1060,1056,1192,1362,1368,902,669,825,846,905,1094,1342,1328,1204,1092,1310,1354,1334,1592,1554,1366,932,688,557,568,790,740,426,616,1013,846,554,728,883,610,746,942,1360,1478,765,529,651,634,548,494,594,673,692,694,476,412,451,459,484,745,1146,1152,868,612,419,417,436,457,658,983,877,744,597,439,423,484,482,772,1036,572,339,291,365,448,521,516,572,1001,927,421,261,252,270,288,277,280,338,740,672,579,496,669,708,525,489,411,329,385,452,467,362,408,594,830,777,846,894,930,874,919,1030,1062,1476,1290,1446,1438,1182,1324,1282,1334,1164,654,838,977,726,705,692,514,547,710,664,932,1218,900,681,662,1284,1832,1928,1704,2216,1814,1704,1660,1136,1104,961,1220,1346,1052,1008,1064,933,683,885,1162,1278,1350,1240,992,1176,1318,912,662,778,1076,1312,1362,1114,878,1242,1078,728,491,354,440,565,611,587,504,476,492,472,688,687,650,857,1446,1548,973,827,1210,2084,2132,1410,1708,2036,1936,1516,1438,1438,1434,1320,1356,1304,1246,1132,1100,1242,1184,1116,1160,1236,957,993,905,793,845,813,816,815,901,1190,1144,879,954,785,908,860,732,728,634,774,723,417,382,548,516,723,601,488,587,666,606,852,1226,1122,745,479,700,1032,1266,1250,1372,804,771,839,1368,2272,1766,1042,1082,1072,935,862,1074,1222,713,474,641,1288,948,670,1152,1456,999,787,1082,1070,722,519,908,963,831,945,1146,803,670,791,849,823,756,757,827,885,899,875,783,581,532,477,456,472,468,422,482,595,585,647,805,764,532,599,588,472,395,343,326,322,334,349,316,353,327,290,299,324,297,302,329,374,391,365,323,314,325,316,312,309,289,308,300,297,315,333,330,330,325,322,338,372,374,384,374,369,379,385,377,361,363,373,372,384,394,401,427,424,425,432,421,395,382,384,388,379,366,360,366,386,369,354,375,380,382,364,350,341,342,363,357,360,362,373,373,367,374,380,378,386,393,384,372,387,430,455,485,482,434,431,440,417,401,376,384,394,404,480,523,510,504,520,495,444,420,424,440,442,426,426,434,417,419,401,401,417,428,426,413,395,393,394,384,394,386,373,368,358,352,350,350,344,348,350,355,352,337,342,348,344,338,352,343,352,371,413,413,385,383,396,411,416,422,426,426,404,411,419,408,408,404,412,399,396,410,406,416,418,399,396,384,372,361,376,408,410,410,412,440,489,496,451,412,382,366,358,358,356,356,365,373,366,365,368,365,356,344,345,347,344,347,335,326,326,325,332,332,332,326,325,318,313,308,312,318,318,320,321,318,319,319,320,324,337,343,312,316,338,333,328,320,325,322,319,319,320,325,353,350,345,347,351,338,353,349,357,357,344,338,335,331,334,331,324,342,334,326,334,344,343,331,326,321,304,324,329,325,325,309,295,310,309,295,291,286,291,295,295,305,319,321,347,339,333,321,318,318,329,348,353,347,331,347,350,353,354,338,336,338,328,328,338,321,315,328,334,341,327,320,323,317,317,329,332,343,342,365,365,349,359,361,361,354,346,349,348,354,363,365,357,371,389,393,381,379,400,380,379,375,375,372,365,359,357,351,351,342,335,336,336,338,336,338,333,327,326,329,338,342,336,335,327,324,324,316,316,324,317,311,311,313,323,317,311,311,311,311,311,316,315,311,316,317,317,322,327,332,342,337,339,337,339,346,337,330,330,329,333,325,323,328,330,329,331,337,342,343,343,343,337,347,346,350,364,368,365,361,367,367,349,364,364,364,382,361,327,343,367,363,370,365,361,364,370,360,349],[691,514,494,490,523,624,671,814,661,627,641,625,590,552,538,488,519,567,596,926,1176,947,762,1304,1486,1214,1494,1918,1772,1192,1100,1350,1124,753,1036,1182,1410,1326,1006,760,605,758,982,1332,1380,839,921,1398,1718,1402,681,568,462,437,436,423,468,398,332,637,953,748,862,931,623,575,847,1180,1316,1188,867,659,549,396,690,948,638,664,445,303,440,691,734,657,566,442,357,333,436,733,1240,562,416,357,311,691,928,1156,1404,1666,1218,1076,1600,1270,781,722,813,922,661,475,612,589,422,347,807,1118,898,830,1036,849,1038,769,648,656,1038,877,752,452,348,338,272,280,373,598,535,547,392,325,281,335,389,412,325,517,872,1156,1606,1156,578,344,385,515,805,883,579,473,781,1338,1220,1610,2148,1512,1420,1296,1464,1322,1530,1744,1556,1416,1262,1074,739,573,420,487,384,379,432,508,472,723,728,509,389,480,720,680,413,452,637,745,835,1001,854,507,384,365,524,974,1460,1646,1644,1554,1438,1592,1428,855,763,1022,850,664,935,1244,1290,1122,1360,1492,716,1007,1244,1164,1278,1404,1294,759,380,306,346,354,359,378,397,361,313,383,447,397,373,339,615,1290,1388,1226,1566,1512,1394,1524,1214,1102,1124,1284,1416,1256,1180,1274,1011,814,485,465,1056,1192,875,875,1310,1288,1254,1254,1292,1456,1114,693,476,385,324,289,300,262,267,260,262,271,300,417,587,634,626,705,972,1384,1478,1005,860,852,974,1236,1378,897,391,377,438,673,819,735,1202,1434,1606,1990,1918,1656,1166,600,443,477,533,1094,1740,1114,1184,1134,621,708,1062,1058,941,761,930,1258,1498,1514,1094,992,1118,1288,1338,1372,1782,1720,1356,1530,2050,1844,1398,1438,1392,1820,1186,837,959,1088,1036,1194,1230,1036,883,984,1612,2248,1926,1954,1990,1676,1172,984,740,642,691,616,368,386,391,416,492,454,588,846,1276,1428,1210,852,593,603,1254,1566,1434,1964,2050,2346,2958,2142,1454,1682,1686,1428,1206,925,693,865,1404,1300,1072,1002,1526,1808,1200,803,875,1282,1328,1188,1184,1142,771,1042,1394,1500,1526,1664,1312,1380,1654,1356,966,824,1090,1050,1130,1368,1346,1056,1386,1498,1246,844,664,966,1086,1102,1316,1196,723,461,457,582,708,902,1082,1066,697,424,617,831,623,634,967,1046,760,880,1098,1194,1510,1808,1920,1454,841,706,766,1120,1186,1160,935,549,452,389,641,1004,894,794,916,768,659,954,1388,1490,1406,1482,1542,1444,1190,1282,1210,1152,1284,1544,1626,1218,1174,1176,1186,1284,875,618,617,644,888,1130,1162,1090,1264,1700,1752,1198,1198,1414,1622,1794,1856,1460,1298,1382,989,830,1158,1264,1166,1036,908,637,535,950,898,666,849,692,638,902,1214,1526,1460,831,719,1206,985,602,482,589,712,681,762,772,841,1270,886,1156,1456,1260,1442,1540,1480,1372,1484,1364,1202,1382,1466,1374,1406,1460,1296,1288,1368,1001,611,432,491,426,326,354,458,509,555,653,949,1096,1194,1124,836,1036,1086,1138,1054,671,822,966,1072,976,962,954,889,937,708,692,811,1256,1352,908,723,840,725,922,1074,953,872,1190,1182,1376,1582,1610,1320,742,719,675,580,890,1104,565,419,467,695,858,935,853,549,592,924,1046,1338,1434,1624,1308,1408,1510,1570,1544,1554,1422,1366,1138,1186,1286,984,879,1132,1058,678,610,1274,1684,1266,1156,1562,1268,840,1002,1206,1530,1262,1408,1468,1226,1076,955,833,790,980,1114,1128,1328,1268,1240,1076,1120,1168,1028,1490,2028,1962,1646,1474,1494,1246,1086,1526,1310,1190,994,573,438,747,1416,1502,758,722,1142,1094,1068,1170,1284,1454,1110,998,1136,1005,836,1074,1312,1506,1510,1442,1124,1502,1690,1190,1106,1256,1224,1200,937,741,985,957,996,1084,980,865,1104,1086,848,921,864,871,856,1038,1172,913,949,934,1010,1484,803,510,985,1172,1122,1152,1230,1716,2110,1698,1364,1030,1116,1250,801,475,540,968,1484,1642,1550,973,520,915,1418,1226,1124,813,521,369,664,966,750,423,503,631,828,1176,1564,1482,1390,1288,1072,1136,955,582,389,674,850,791,891,831,996,1316,1172,1282,1250,1340,1650,1592,1606,1360,1286,1494,1376,1182,1384,1534,1444,1538,1544,1528,1534,1498,1482,1274,1228,1322,1310,1224,1242,1550,1106,1064,1220,1338,1322,1156,1202,1362,1338,1294,1046,916,998,1208,1498,1450,1730,1520,1324,1472,1352,1362,1354,1576,1618,1632,1804,1280,820,816,719,740,1036,1334,1204,1132,1118,1212,1190,905,943,1126,1224,1524,1054,619,430,601,970,1116,934,756,741,913,1146,1004,902,957,910,1002,1028,968,1108,1040,922,695,797,1254,1440,1058,688,1009,1001,971,1136,1456,1532,1110,966,1036,1021,1126,1336,1148,1240,1548,1088,839,1248,1416,996,1028,1048,1028,1098,983,1038,1034,1138,1200,1015,1136,932,612,445,413,458,902,1490,1464,1642,1412,1386,933,731,740,986,1098,1004,1060,1246,1224,803,726,799,724,1050,1194,1036,1332,1234,880,1134,1358,1188,1264,1558,1826,1354,1296,1388,877,620,525,530,910,831,539,1130,1422,703,585,1376,1242,700,747,946,1302,1136,594,529,660,731,788,888,912,669,651,796,659,487,403,443,767,1026,857,624,491,537,359,346,357,358,630,631,419,463,620,682,747,739,460,419,703,629,388,297,561,620,511,408,503,1007,1122,486,278,263,235,295,325,309,320,523,506,527,642,610,601,525,557,456,423,454,483,517,481,604,781,968,1108,765,615,828,915,698,753,844,1270,946,1230,1346,1426,1394,1348,1422,1302,813,940,851,501,510,574,447,412,607,819,837,1070,1292,963,943,1026,859,1434,2052,2134,1354,1522,1144,647,756,918,1100,1023,969,1128,1106,703,1076,1210,1066,1264,1756,1394,718,875,955,590,492,744,1120,1228,1402,1432,1102,991,651,607,547,355,348,429,468,488,469,412,402,601,698,577,634,897,1452,1944,2010,1460,1015,1966,2564,1880,1532,1600,1404,1450,1688,1656,1540,1428,1454,1410,1132,888,1252,1434,1816,2150,2070,1836,1626,1598,1388,982,893,798,774,651,714,753,918,862,758,758,762,667,678,542,546,794,744,401,400,565,647,711,612,430,727,793,711,1118,1354,948,512,602,1088,988,1028,1310,990,505,527,662,1100,1412,1272,1166,1042,909,951,1140,1310,1028,625,519,631,736,587,583,1112,1530,806,739,1184,1152,767,608,943,1128,760,1068,1182,799,873,1132,1196,972,791,783,948,1206,1032,815,671,527,507,488,443,450,451,410,451,489,514,591,728,606,602,646,549,514,464,364,343,324,329,488,368,300,298,281,284,303,308,299,321,356,378,368,330,307,313,329,323,309,298,311,306,302,315,336,318,314,309,330,353,368,364,369,367,361,377,390,374,354,347,367,385,408,406,430,441,451,449,441,427,402,389,389,396,370,357,365,368,386,389,368,375,393,371,347,347,342,351,351,360,365,365,365,376,388,383,368,364,372,388,402,390,402,465,455,464,480,466,446,428,414,398,386,390,380,398,459,487,487,448,451,431,436,423,411,435,459,472,472,467,417,446,404,397,396,401,414,408,391,390,388,398,398,378,376,364,352,356,352,350,346,346,346,350,346,338,352,354,361,331,356,346,369,376,391,416,423,397,376,401,416,408,413,414,404,396,403,404,401,399,404,393,384,398,408,418,419,420,411,395,381,379,393,408,404,420,431,437,507,531,506,462,403,387,379,360,352,356,365,362,354,365,363,363,353,344,345,335,345,345,344,343,332,338,325,332,334,326,321,319,320,301,303,309,318,315,315,318,319,312,312,315,317,313,325,327,318,326,332,336,332,314,300,312,328,318,338,344,351,353,355,347,343,344,345,343,345,344,337,332,326,332,321,334,335,325,332,343,344,332,336,339,310,317,325,326,327,314,301,295,301,307,295,291,294,294,291,297,325,320,319,328,325,319,320,315,328,353,353,362,340,355,363,357,348,345,344,342,332,333,342,336,325,337,331,325,331,337,329,324,328,330,329,337,346,355,349,341,357,361,361,358,343,346,355,355,364,360,371,381,382,397,386,386,379,386,379,370,367,370,360,359,367,361,360,345,337,336,333,345,324,317,318,320,320,320,337,337,325,333,324,324,321,319,327,321,311,310,312,317,317,315,310,311,311,312,311,306,295,320,316,309,320,321,321,337,332,331,331,329,332,324,323,328,325,331,333,327,325,325,333,342,331,339,344,344,343,346,346,352,349,356,367,370,369,368,370,372,355,361,367,372,364,372,346,330,352,361,367,361,367,363,357,361,363],[574,535,595,684,619,593,559,805,700,573,581,625,620,586,597,572,524,585,542,738,695,398,421,995,1518,1532,1708,2072,1798,969,839,1286,991,733,1010,993,1023,885,781,596,537,969,1398,1594,1682,1246,830,1250,1448,1036,544,483,491,521,576,620,479,373,417,506,502,714,1120,973,821,980,1354,1320,1052,1042,878,702,520,593,827,688,517,643,448,400,493,677,572,438,459,426,360,461,793,1272,1738,797,647,506,773,1836,1996,1576,1566,1352,814,1048,1528,976,699,764,1746,3008,2224,820,570,603,508,484,673,710,708,825,1104,897,921,606,518,483,508,709,634,361,405,307,292,381,358,357,324,341,306,290,306,326,364,349,290,600,1034,1440,1372,1180,1164,1072,877,789,1028,999,650,492,1232,1816,1438,1354,1520,1494,1388,1626,1480,1216,1782,1914,1590,1428,1234,1005,480,342,352,391,407,500,425,448,458,630,618,477,415,466,607,468,525,531,670,708,817,877,598,493,562,460,517,863,1402,1660,1756,1656,1676,1788,1580,1156,1338,1356,838,701,910,1204,1296,910,957,1136,1062,1310,1384,1312,1068,1380,1566,1178,875,470,422,327,328,346,344,281,273,415,460,442,387,360,689,1288,1278,1132,1230,1160,1102,1382,1252,1044,1202,1456,1406,1344,1572,1768,1310,1112,981,894,1084,1020,929,813,872,1170,1362,1158,883,959,907,555,369,311,307,375,327,274,269,275,290,305,302,332,410,521,590,624,692,1146,1526,1460,1340,1290,1350,1432,969,524,419,295,313,576,619,1026,1758,1516,1672,2062,1704,1406,1078,852,678,620,669,1250,1506,1216,1158,771,457,546,913,1024,950,894,1007,1512,1504,1144,770,563,849,1160,1310,1598,1510,1288,1664,1852,1874,1672,1506,1684,1498,1302,1458,1606,1234,909,604,623,959,1224,1120,888,1284,1914,1838,1830,1806,1576,1436,1112,597,733,789,646,572,410,383,391,574,855,1096,1272,1334,1176,811,569,439,561,1094,1322,1168,1848,2020,2040,1918,1722,1968,1774,1196,1017,1318,1276,819,734,1478,1372,1284,1394,1758,1492,1156,1090,1152,1256,1266,1132,1166,1030,1022,1222,944,1186,1502,1302,1564,1962,1648,1380,898,531,752,1212,1328,1262,1196,1172,1372,1224,1194,1110,891,1174,1136,1048,1362,1336,1064,853,617,948,1274,1192,1160,978,653,360,595,1106,880,662,873,851,1014,1138,1178,1426,1700,1960,1600,896,696,947,784,841,1108,1190,805,583,395,289,460,653,886,981,868,867,1010,1318,1484,1526,1518,1356,1302,1402,1444,1300,1278,1594,1554,1714,1496,1294,1578,1552,1280,1266,1108,1028,1060,916,846,1040,1008,1032,1360,1668,1816,1442,1198,1078,1274,1490,1548,1438,1476,1340,1074,887,1009,1070,940,1142,1626,1394,899,971,752,666,735,462,641,1180,1224,1186,1194,755,1148,1606,1230,645,418,513,770,868,806,666,776,1054,973,1216,1258,1174,1300,1232,1176,1394,1544,1312,801,1062,1726,1570,1522,1338,1094,972,1122,1132,601,349,460,387,341,421,478,484,787,880,787,816,1078,1040,800,1110,1604,1500,957,738,1042,1178,1136,1076,1146,913,850,980,831,662,1010,1358,1246,1276,1184,1066,973,888,809,867,1208,1620,1762,1740,1556,1536,1250,639,541,520,630,1166,1142,591,506,1002,1506,1172,822,1092,808,677,1096,1278,1350,1206,1144,1176,826,819,1218,1378,1412,996,861,689,896,1138,924,788,945,1046,647,669,1316,1478,1346,1336,1350,1162,959,1138,1294,1406,1396,1440,1418,1278,1146,1050,913,965,1212,1180,1272,1786,1506,1354,919,855,841,1009,1186,1390,1698,1598,1476,1158,639,1072,1412,1326,1260,1062,796,738,926,1392,1134,522,582,1074,1008,1038,1140,1354,1112,874,973,1010,1008,1114,1152,1350,1686,1462,1530,1388,1568,1444,962,868,879,1021,1100,656,527,904,713,794,989,1438,1360,1072,1162,1204,1158,1184,1236,1112,1052,720,597,878,1350,1250,1112,637,447,825,1124,1144,977,977,1048,1224,1294,1284,698,925,966,720,514,397,734,1106,1400,1228,509,462,788,1140,1126,749,524,508,470,608,848,978,1026,640,779,513,615,1064,1278,1338,1114,1140,1096,925,637,462,625,774,709,696,766,996,1324,1112,1178,1168,1468,1644,1444,1512,1470,1344,1548,1520,1412,1432,1316,1120,1384,1498,1532,1482,1424,1428,1604,1676,1348,1300,1328,1470,1426,1032,1100,1376,1410,1248,1102,1268,1456,1406,1344,1274,1160,1246,1372,1246,1400,1660,1832,1648,1344,1194,1210,1150,1290,1578,1376,1188,1060,790,832,843,979,1150,1196,1240,1454,1482,1424,1318,917,1054,1078,1132,1358,1096,697,455,380,576,915,1008,876,869,1032,878,695,724,1023,1234,1202,1040,1003,766,466,374,351,499,1026,1518,1306,735,858,996,1092,1166,1422,1366,1001,990,769,796,678,738,1268,1394,1144,740,519,912,1470,1564,1230,1056,1182,1322,1170,1054,878,1236,1360,1196,1118,1168,882,556,732,899,992,1084,944,1542,1476,1250,1078,1220,1256,1190,1154,1154,1418,1526,1216,934,874,678,988,1570,1494,1272,1518,1460,1340,1422,1180,914,872,1424,1858,1272,1128,1282,1328,1015,558,450,662,591,491,825,914,442,599,1376,1260,840,819,943,1108,1048,707,740,843,829,747,647,555,526,461,511,773,803,595,794,886,553,441,406,404,471,373,377,440,475,571,674,579,314,411,763,1184,1422,946,621,508,512,451,395,605,702,499,377,509,901,1052,564,455,388,302,455,579,602,568,363,504,843,857,428,565,817,1020,692,625,537,625,802,791,952,1180,1654,2090,1080,747,898,1232,753,402,444,594,716,960,1232,1212,973,1334,1308,1360,1184,1120,902,999,665,347,326,484,864,937,859,1314,1334,891,996,978,753,1076,1458,1976,1572,1072,844,921,565,605,838,858,901,1030,880,773,1494,1654,1136,1022,1306,1050,567,536,644,658,792,1134,1526,1274,987,1220,1350,1070,613,494,485,381,327,371,403,354,418,549,465,596,584,568,674,827,1140,1698,2132,1962,1124,1290,2244,2226,1394,943,1036,1792,1920,1558,1504,1310,1098,1206,1210,993,1178,1440,1988,2020,1786,1904,1706,1382,1194,1008,872,783,846,615,662,745,856,834,775,914,922,747,771,711,835,622,840,511,548,591,619,659,521,322,448,676,862,1206,1076,653,465,620,766,673,988,1250,765,557,683,651,581,988,1382,1272,920,706,958,1106,1011,667,558,621,639,550,483,810,1080,1212,606,545,977,1015,583,547,954,983,680,803,808,776,1166,1644,1806,1526,986,971,1426,1562,1132,827,667,537,553,492,472,502,424,464,476,508,585,720,793,667,606,627,612,583,520,415,381,346,312,480,393,334,316,299,273,297,336,294,302,317,344,394,360,313,302,331,332,307,303,314,303,287,295,323,325,328,322,330,349,354,352,352,358,368,381,382,373,359,343,367,386,417,403,393,405,445,466,444,431,415,401,389,401,393,379,366,362,363,386,382,385,413,387,361,351,345,351,357,364,364,365,365,365,374,385,380,378,381,380,399,417,415,456,473,463,457,448,436,440,430,406,394,394,369,394,431,442,443,437,440,437,431,420,408,428,465,502,491,494,453,464,416,401,410,416,431,424,410,398,401,403,395,386,376,369,371,365,355,352,350,350,342,339,352,352,352,335,355,355,368,362,378,387,394,401,426,416,384,382,418,414,424,418,410,399,394,397,391,390,403,383,382,388,398,422,434,431,413,400,393,371,373,406,416,453,476,469,531,544,523,493,429,391,379,379,373,368,368,361,345,363,363,361,353,347,338,338,342,345,343,324,318,343,325,325,313,313,316,314,307,313,306,299,300,303,307,307,314,313,314,315,317,318,322,327,332,336,318,326,322,314,312,326,343,331,354,361,351,347,339,340,350,334,340,347,350,344,339,333,328,337,338,338,334,330,333,340,343,343,344,326,321,319,325,327,327,317,305,302,309,306,305,299,294,284,283,290,312,318,321,309,307,317,320,314,321,349,357,363,350,349,347,344,343,344,347,338,328,332,339,343,339,342,324,312,315,325,327,324,323,327,334,343,349,355,355,354,355,361,361,355,346,349,346,358,359,367,383,392,374,386,386,383,380,390,384,372,367,373,368,357,363,354,351,339,327,324,321,336,323,324,340,331,322,319,333,333,316,325,318,325,311,317,337,323,309,314,316,317,317,317,311,316,317,318,314,316,318,334,324,302,318,321,312,328,325,336,338,332,341,333,325,320,323,331,334,338,342,338,330,349,338,342,342,337,341,346,352,354,355,358,361,366,364,362,367,366,361,358,358,374,364,355,364,354,330,354,369,364,355,357,358,359,358],[585,558,662,824,637,540,615,896,776,571,590,681,641,540,525,502,550,576,462,499,494,547,574,835,1394,1504,1586,2286,1988,1136,793,1126,1332,1544,1392,1406,1298,727,444,424,562,1178,1538,1222,1664,1908,1374,1484,1634,1452,1096,668,670,874,788,769,453,454,415,427,579,720,1076,1268,1184,1396,1788,1274,506,631,905,962,554,462,366,283,467,711,847,628,534,745,611,518,479,442,647,761,1180,1346,1162,979,971,601,796,1534,2176,2540,2226,1246,590,636,1058,803,813,824,1882,3530,2968,1358,858,681,636,498,370,351,388,556,648,847,654,451,547,432,461,804,643,532,699,451,430,473,390,385,381,328,306,318,359,364,468,448,531,1166,1304,1468,1448,1594,1484,1188,787,584,927,1042,935,835,1364,1476,1382,1070,1290,1268,1592,1706,855,927,1600,1738,1820,1594,1682,1032,461,337,338,365,415,460,446,381,602,748,432,474,836,916,888,827,995,782,886,830,583,636,545,680,907,625,597,1012,1456,1810,1836,1636,1466,1454,1308,1212,1140,1082,1048,902,991,1502,1710,1452,1140,1194,1188,1186,1292,1106,1070,1434,1434,1284,1017,672,570,481,414,376,361,296,338,391,425,454,394,463,939,1366,1268,1230,1142,1214,1532,1636,1336,1210,1574,1766,1410,1420,1662,1456,1324,1224,1636,1524,1202,1152,1226,1190,971,992,1138,1248,948,804,1072,838,495,433,485,478,443,339,260,245,272,307,290,251,294,399,505,597,480,511,991,1450,1378,1226,1192,887,738,469,386,337,444,955,979,1220,1700,1818,1896,1520,1032,755,1224,1202,835,694,973,905,732,1026,1136,1020,781,874,1374,942,927,1444,1410,1310,1084,1032,982,687,738,1068,1506,1704,1554,1578,2036,2094,1828,1622,1426,1160,1254,1420,1730,1754,1066,642,735,1048,1216,1378,1404,1410,1144,1236,1738,1776,1396,1094,1208,966,756,1206,1192,791,792,648,552,736,1102,1282,1116,885,833,1019,965,733,511,488,745,1070,1076,1600,1840,1798,1786,2058,2990,2658,1136,991,1350,1616,1268,944,1120,1168,1182,1222,1078,884,1124,1478,1246,1360,1500,1262,1260,959,1266,1282,961,1340,1558,1322,1678,1906,1488,1132,597,471,515,866,1088,1226,1304,1316,1340,1142,1132,1200,1110,1264,1252,1132,1654,1394,1116,1142,905,1124,1432,1324,1180,792,926,595,524,892,826,591,790,914,1021,1116,1364,1708,1926,1500,913,1013,832,1124,1172,875,869,798,673,648,472,454,667,916,1296,1136,813,768,953,1236,1482,1332,1170,1246,1208,1122,1218,1246,1214,1478,1584,1974,1662,1792,1938,1570,1294,1290,1128,1148,1112,1094,883,1058,1108,1310,1578,1768,1848,1828,1432,1118,1092,1152,1140,1374,1156,1166,1254,932,880,634,764,1394,1516,1012,853,916,591,416,311,316,499,766,836,1208,1100,761,921,1128,825,553,422,474,925,1350,1302,993,1096,1104,1056,1224,1320,1392,1446,1246,1180,1424,1460,1394,722,722,1160,1622,1678,1328,914,645,843,873,452,361,398,393,314,361,471,454,716,957,916,749,971,1194,1028,1464,1708,1144,880,991,1068,1058,884,889,1022,1084,1140,1102,939,1002,1410,1406,1700,1534,1015,1246,1016,631,968,1082,1078,1488,1418,1346,1438,1442,965,534,498,473,831,1110,711,434,568,1176,1676,1186,1084,1622,1210,725,728,1004,1146,963,894,1374,1294,1304,1334,1388,1406,715,481,726,645,857,1106,993,990,1038,644,838,1564,1372,1436,1108,919,1236,1204,1460,1494,1350,1328,1390,1396,1344,1366,1368,1266,1220,1248,1168,1170,1032,1012,1294,1150,820,776,1304,1422,1384,1670,1418,1344,854,611,1036,1150,1138,1118,840,884,1224,1004,688,595,550,492,709,910,1003,1150,1272,1050,996,1122,1048,965,1007,1318,1160,1244,1324,1502,1582,1480,1060,989,969,559,568,625,821,956,1094,1032,773,780,1314,1200,1102,1344,1250,895,631,658,926,897,491,489,783,1262,1128,760,614,624,669,1174,1266,690,555,413,584,929,910,540,921,1130,981,697,394,540,832,1258,771,503,778,1220,1210,997,690,517,676,736,865,1026,1554,1666,742,756,516,469,670,1094,1138,1042,984,975,995,814,556,641,735,717,712,698,940,1156,1192,1286,1608,1748,1384,1410,1278,1146,1448,1404,1454,1548,1570,1122,1134,1470,1412,1490,1528,1466,1394,1480,1434,1078,888,950,1096,1116,1112,1128,1236,1268,1338,1406,1410,1174,1134,1448,1392,1242,1328,1286,1156,1256,1188,1242,1190,1010,977,1088,1138,1242,1356,1278,1144,1054,1034,1288,1330,1172,1178,1023,967,1234,1276,1498,1942,1076,1150,1152,1178,1340,1130,715,446,374,397,557,714,722,672,551,536,460,754,1216,1180,1044,1118,992,700,392,311,278,407,668,1222,1164,601,897,1282,1402,1356,1168,1064,802,1072,804,810,836,896,1506,1472,1162,861,832,1164,1354,1368,1208,1284,1492,1488,1296,866,904,1246,1134,865,838,1100,1066,995,1152,1158,1082,827,885,1504,1382,1240,1256,1284,1432,1404,1372,1174,1462,1484,965,800,750,749,977,1262,1290,1178,1274,1434,1824,1570,1074,1222,1082,968,1078,840,516,870,1382,1286,616,439,656,734,417,515,619,434,426,704,835,764,896,919,933,1108,830,735,670,597,553,467,410,565,607,557,805,980,839,871,732,508,460,428,391,342,355,418,495,524,476,594,660,354,350,612,912,1616,1572,963,684,649,565,458,539,619,422,276,317,411,450,326,325,400,430,575,819,1198,1098,536,616,615,678,813,933,1014,1038,780,764,842,1180,1418,1484,1676,1390,1498,1882,961,717,1440,2138,1430,784,664,677,741,1036,1406,1362,717,803,1076,1100,1318,1120,1021,1052,752,610,377,481,798,681,517,950,927,946,920,1058,1022,1176,1400,1386,1136,774,793,916,545,579,903,645,613,841,800,868,995,1070,852,603,903,875,609,760,925,1120,1130,1392,1342,851,512,624,1162,1354,1034,590,477,416,431,425,447,390,372,642,609,613,870,816,724,885,1048,1410,1756,1642,1542,1066,1382,1610,1258,1404,1962,2036,1562,1272,1001,832,1478,1480,1484,1288,1294,1378,1622,1898,2014,2030,1552,1176,1092,993,932,871,675,531,661,860,964,855,734,639,609,620,913,942,999,665,927,645,473,537,581,610,514,410,435,605,731,572,419,513,599,588,695,696,978,919,493,753,1023,758,601,874,1188,1102,938,965,799,593,595,549,672,980,966,731,715,1072,1194,1158,793,803,1116,1014,633,577,1054,1084,702,958,1130,822,1262,1902,2198,2094,1278,1110,1750,1910,1362,864,728,562,570,508,631,631,632,646,609,574,584,668,679,654,584,651,790,692,660,627,529,395,330,321,339,352,348,346,309,287,366,341,285,269,285,308,306,297,294,320,339,316,302,317,320,309,305,314,307,317,317,325,346,354,354,364,376,374,389,383,364,353,361,388,401,423,413,381,388,424,473,467,451,432,423,394,385,398,391,365,354,366,384,400,404,404,375,359,350,351,347,351,351,360,366,360,358,365,385,386,367,375,372,398,433,431,443,473,473,450,436,426,430,426,417,408,406,384,400,428,431,420,422,414,395,420,416,404,431,487,473,496,524,512,520,473,419,435,436,426,432,428,403,406,414,408,397,382,376,371,355,364,358,344,346,343,348,338,360,343,339,354,359,368,383,394,389,402,395,398,419,404,376,404,426,420,410,404,395,395,395,387,383,397,382,382,382,388,414,447,447,417,400,402,376,379,404,426,490,529,506,537,533,521,515,476,402,369,359,365,365,362,365,350,361,357,353,350,342,338,338,335,340,339,347,328,328,320,319,310,312,302,302,313,312,299,308,314,319,318,321,310,303,318,324,324,327,327,321,324,330,313,327,323,324,324,331,343,339,344,347,343,343,339,348,368,331,348,357,353,340,336,334,340,349,347,344,345,340,332,337,339,346,346,344,325,318,320,323,325,313,301,297,319,300,300,297,284,277,282,291,292,309,325,307,308,313,312,313,320,337,355,356,347,343,343,345,340,334,335,342,317,332,338,336,356,333,328,316,313,321,320,315,319,325,332,344,355,356,356,358,358,354,346,346,349,352,359,358,351,364,375,388,378,369,388,382,379,390,386,374,368,367,361,355,357,349,349,341,325,323,325,328,321,327,327,317,316,317,325,329,318,319,317,319,307,309,327,321,312,321,317,317,317,316,312,318,312,315,321,327,323,323,325,305,312,319,306,314,330,337,338,328,337,339,328,324,325,323,331,344,346,339,333,344,333,330,328,331,342,346,356,364,361,356,355,358,358,355,358,361,366,372,374,375,376,372,362,356,336,339,355,379,351,365,370,352,357],[595,532,532,807,882,775,869,1004,1013,769,596,579,559,495,520,547,527,561,520,516,497,599,764,801,946,1510,1946,1878,1402,1138,852,1026,1440,1570,1450,1732,1860,1162,489,562,958,1298,1446,1288,1536,1554,1292,1260,1354,1528,1586,1378,1007,1016,858,933,513,429,426,658,1068,958,1024,1001,877,1326,1878,1372,593,507,777,1060,630,373,401,408,458,684,939,601,485,599,487,501,508,603,1086,1278,1092,1064,1014,1090,935,514,434,518,862,1256,1572,1400,1730,1550,1278,1466,1490,1314,1232,1436,1512,1222,1250,1224,950,885,487,328,355,400,442,370,320,568,685,355,532,1038,656,713,787,590,547,556,494,435,384,348,339,332,442,652,910,976,1062,1140,1100,1152,1376,1394,1124,1188,785,476,698,1007,1310,1144,1228,1344,1372,1346,1368,1462,1788,1316,615,589,918,1114,1344,1406,1754,1014,513,428,342,339,456,572,449,555,1178,863,488,809,1394,1030,652,885,1048,784,901,823,427,425,492,836,1220,830,667,765,1015,1548,1578,1382,1266,1156,1148,1236,1318,1418,1450,1378,1418,1526,1804,1790,1452,1382,1220,1086,1094,1256,1572,1608,1342,1276,703,633,835,811,517,369,355,325,355,401,435,412,385,483,1316,1948,1500,1236,1002,901,1340,1398,924,985,1316,1520,1050,1284,1642,1454,1426,1400,1376,916,866,1224,1290,1272,979,910,1104,1412,1508,1512,1346,1009,527,433,527,458,425,351,305,274,317,294,274,297,326,401,473,460,417,414,528,860,1018,1116,965,764,865,540,370,332,466,791,903,1040,1322,2066,1816,1072,960,787,1094,1404,919,619,813,772,954,1234,1296,941,533,720,930,700,962,1354,1294,873,756,1194,1296,984,1116,1294,1382,1392,1534,1578,1758,1866,1848,1654,1012,720,1208,1654,1328,703,517,724,971,1072,1168,1188,1246,1710,1480,1136,1368,1372,1112,990,791,677,826,1248,1354,1016,888,979,1098,1174,1046,722,563,562,700,980,1120,987,631,519,620,1058,1656,2368,2754,2396,1514,1918,2690,2974,1528,902,1440,1806,1302,1158,1276,1236,1378,1412,1066,1034,841,1094,733,1100,1386,1608,1524,1508,1508,1506,1810,1522,1252,1486,1716,1364,1156,1024,792,608,535,673,903,1094,1060,1084,1374,1078,1042,1156,915,1040,1216,1194,1268,1026,890,913,766,540,724,966,1156,1100,1152,1078,1060,1204,946,744,980,1146,1116,1410,1666,1870,1498,930,1034,1332,1110,860,816,821,689,560,720,918,690,755,963,1196,1264,973,947,841,933,1288,1416,1372,1668,1582,1102,985,1154,972,960,1362,1484,1744,1694,1662,1612,1354,1310,1334,1044,1102,1186,885,808,995,1294,1532,1590,1614,1690,1690,1664,1670,1182,1110,1306,1478,762,735,899,720,655,791,1220,1202,791,407,645,818,483,422,596,659,655,871,1040,1170,1062,899,896,767,488,546,495,593,1198,1296,1320,1376,1588,1446,1268,1194,1294,1522,1490,1322,1428,1506,1182,922,914,908,1052,1476,1560,1344,1352,1194,731,409,346,306,372,374,299,345,454,455,473,668,738,441,680,880,800,1326,1596,1130,1298,1098,1042,1114,992,962,1048,1242,1332,1384,844,1096,1560,1422,1512,1060,988,1140,761,705,1184,1148,1018,1258,1122,1198,1266,1212,1104,819,551,444,659,808,605,458,414,729,919,748,1062,1342,1122,708,503,554,948,1148,1192,1616,1488,1608,1208,1298,1262,649,481,847,1044,1042,1182,1332,1268,930,932,1021,1512,1672,1650,962,722,957,1302,1516,1358,1019,1001,1130,1250,1340,1268,1298,1316,1202,1013,1172,1688,1210,933,1268,1368,1250,1052,1286,1334,1404,1638,1382,1246,802,692,1162,1310,1236,1226,1200,1166,1236,1060,944,1060,970,678,838,1030,1048,1152,1114,814,990,1042,823,939,848,1013,1194,1420,1368,1368,1594,1194,741,929,918,885,1102,1206,1378,1436,1136,938,742,775,1006,854,779,1198,1218,937,546,696,873,696,520,664,800,1048,1302,1250,1244,1212,844,1100,745,762,718,440,385,388,375,593,1382,1802,1378,902,525,515,657,915,529,687,979,1216,957,775,968,944,684,533,722,749,1054,1158,786,683,642,722,752,692,706,875,746,868,1050,857,678,976,891,799,793,727,1019,1218,1142,1280,1512,1384,1142,974,915,1340,1800,1482,1482,1520,1404,941,1106,1364,1368,1360,1528,1636,1506,1210,1244,871,702,783,902,1202,1292,1150,1324,1384,1346,1504,1338,1208,1114,1072,1090,1250,1354,1248,1236,1226,1150,1100,1180,1150,1064,1154,1246,1294,1258,1288,1424,1338,1310,1428,1282,1112,1108,945,1040,1144,1242,1518,1826,1242,1216,1202,1374,1290,905,757,455,423,491,702,771,977,1006,785,785,664,825,1180,1210,1278,1242,1042,781,409,332,332,386,410,533,520,603,1019,1132,1272,1258,874,590,443,710,882,952,1030,1248,1476,1516,1384,1282,1466,1602,1522,1122,1276,1488,1250,1074,776,541,880,1060,908,803,750,1064,1060,1158,1128,1086,1019,840,1092,1578,1460,1294,1296,1478,1460,1324,1386,1324,1288,1130,770,673,764,777,774,868,872,884,1012,1040,1428,1506,978,1002,1082,716,786,843,810,1120,1110,988,603,477,830,1116,896,722,738,816,766,789,698,505,713,788,910,885,615,473,450,514,547,488,450,453,443,505,602,769,1188,860,625,516,421,366,330,346,344,361,401,412,305,377,553,475,434,550,561,958,1044,799,872,1058,998,610,512,478,340,273,295,348,380,263,201,356,494,496,779,1202,764,389,389,539,730,942,1070,1246,1152,846,774,1040,1458,1656,1404,1504,1070,784,598,480,495,933,1412,1338,1050,915,986,1010,1018,1266,1330,1054,928,952,1202,1092,869,1028,973,1212,1236,600,548,804,600,669,859,736,839,844,966,959,1076,1270,1064,855,916,1108,1009,1058,880,917,714,672,800,611,486,594,903,601,461,497,446,601,992,1166,998,956,1142,1250,1402,959,512,656,1130,1354,1102,653,502,469,480,415,345,568,791,603,745,987,1034,858,829,1007,1426,1372,1004,1460,1578,1518,1598,1938,2184,1896,1478,1274,915,701,680,1088,1316,1426,1346,1120,1116,1622,1764,1500,1554,1590,1134,993,938,1106,921,555,625,744,885,977,768,550,421,326,398,529,520,631,516,594,486,415,536,521,469,410,421,449,541,672,540,597,786,641,394,369,554,965,671,522,786,975,799,943,1168,1003,1054,1080,1000,758,517,785,1026,819,927,966,724,820,985,1238,931,640,986,1028,746,683,553,927,839,636,1188,1222,883,1270,1890,2140,2010,1450,1332,1954,2248,1580,868,661,579,590,603,693,640,638,694,706,650,692,601,532,663,602,609,843,843,767,924,902,570,368,376,410,373,339,328,330,280,302,280,284,283,270,266,286,303,303,327,350,315,302,308,323,308,300,312,312,317,321,331,348,350,348,365,378,381,391,374,367,363,403,455,444,432,418,391,386,405,469,495,470,429,426,404,386,397,394,375,368,379,398,404,401,381,365,354,354,360,361,362,360,354,358,354,365,374,383,376,359,387,396,402,448,474,453,446,450,438,431,428,431,436,428,416,414,408,390,390,408,403,404,413,403,434,419,404,423,473,505,491,500,558,575,514,455,469,478,434,426,431,406,404,408,403,403,385,381,383,356,362,352,383,342,347,348,350,354,343,350,356,372,393,397,404,388,408,404,387,416,423,395,395,416,430,416,408,394,395,389,389,383,384,384,377,380,382,398,426,432,420,399,408,387,381,407,443,522,522,522,526,518,513,514,498,438,399,373,345,365,365,363,362,361,353,349,345,343,338,335,331,333,337,350,330,325,328,308,307,313,314,319,326,315,317,301,300,303,312,321,299,290,316,316,306,318,327,324,316,308,306,331,325,323,344,351,339,330,327,336,337,339,346,346,357,343,353,362,357,343,334,339,343,329,327,339,357,346,339,332,335,339,344,348,333,316,319,319,317,310,306,305,314,304,299,286,284,293,300,319,325,313,318,312,325,319,307,312,317,330,360,357,349,362,351,343,339,343,355,332,321,331,340,348,343,334,326,314,324,318,317,319,324,325,332,344,352,355,356,354,352,352,360,362,352,346,350,350,374,374,381,386,387,370,375,380,382,380,376,370,369,364,362,359,347,342,347,344,330,322,327,329,325,328,305,319,315,317,318,316,316,314,312,312,310,310,314,312,318,323,321,315,318,305,312,321,309,314,314,314,314,319,321,315,312,306,315,331,338,339,331,323,338,338,330,325,324,328,336,332,330,332,337,335,331,330,326,330,339,354,371,378,376,358,355,355,355,356,356,358,358,358,356,356,362,360,362,354,354,334,343,364,355,379,367,349,355],[514,548,712,1178,1230,704,617,1166,1680,1218,691,613,586,607,613,602,529,541,587,552,515,521,644,655,713,1262,1770,1412,1202,1522,1180,937,1146,1214,1180,1274,1682,1426,630,747,1162,1378,1546,1546,1170,1003,1126,1396,1570,1880,1738,1332,1018,870,760,628,473,411,636,1088,1136,858,788,672,964,1284,1296,1009,720,514,598,1042,778,480,461,475,466,678,678,313,368,470,418,639,554,1136,1698,1334,989,1308,1592,1078,597,385,385,459,764,965,907,1172,1582,1494,1804,2580,2310,1218,1214,1232,972,1098,1474,1272,789,551,367,325,318,390,415,384,305,372,536,539,713,1128,969,824,681,571,558,609,579,491,401,332,396,377,608,1038,1270,1148,794,825,1184,1114,778,479,641,902,584,429,507,1007,1292,1013,1015,1148,1288,1138,856,1504,1616,786,510,545,946,1254,1558,1178,898,530,423,422,354,321,410,508,480,672,1198,1296,1034,1578,1582,874,684,631,398,563,854,593,451,404,436,576,778,773,728,617,453,595,945,960,832,1200,1362,1054,1058,1358,1592,1614,1620,1540,1744,1612,1292,1138,1134,1384,1396,1292,1526,1622,1354,1136,636,656,761,597,455,414,393,344,295,346,337,362,419,666,1670,2232,1602,1122,987,908,749,711,640,810,833,1216,1160,1232,1470,1300,1044,1094,1056,879,1084,1484,1480,1368,1542,1102,1218,1482,1546,1350,1012,734,494,512,514,395,502,556,498,322,290,271,296,326,352,485,648,643,543,524,487,494,637,1038,739,444,403,401,420,354,378,397,433,788,1138,1908,1536,1136,995,967,1130,1274,1240,1164,957,783,995,1040,1124,951,420,417,794,883,1082,1138,807,601,554,569,731,756,1086,1514,1686,1686,1522,1488,1510,1410,1624,1470,864,1348,1714,1280,666,624,890,1076,1017,938,1144,1200,1194,1610,1716,1594,1448,1298,1006,969,978,1288,1506,1424,1290,1222,1298,1362,1156,852,582,420,434,472,666,857,1234,1382,929,525,575,818,1324,1806,2154,2346,2028,2374,2470,2194,1404,959,1094,1240,1254,1444,1292,1262,1508,1550,1122,1216,1028,1066,802,747,953,1066,1198,1660,1582,1468,1428,1400,1330,1468,1458,995,1194,1498,1264,843,712,819,1106,1304,706,760,794,1142,1282,1076,1000,1196,1234,1304,1172,955,860,653,525,655,831,820,1070,1246,1176,974,1134,1348,1138,877,958,1158,1320,1658,1792,1620,979,1011,1198,1138,1002,901,794,671,626,783,1224,1246,770,733,722,946,853,921,1094,1018,1154,1426,1444,1144,1288,1300,1180,1222,1216,1032,1104,1172,1246,1562,1782,1594,1542,1484,1436,1420,1246,1406,1414,1206,1084,1140,1250,1130,942,865,1032,1274,1694,1688,1750,1552,1652,1360,989,789,784,995,872,881,1122,967,593,395,680,756,853,1156,1564,1242,866,826,1116,1428,1214,1110,576,420,450,612,630,782,1112,955,908,1860,2186,1210,879,968,1300,1360,1190,946,1272,1666,1382,1001,1290,1510,1208,1110,1150,968,1218,1544,1256,572,378,365,378,369,322,380,487,463,345,426,429,295,362,838,932,955,1446,1614,1520,1682,1982,1388,1108,1116,1122,1126,933,1004,589,968,1338,1316,1216,1090,785,631,696,1226,1038,717,1030,1178,788,901,1116,1128,1404,1218,833,778,856,1106,759,784,745,774,962,896,871,1084,1094,1022,968,910,1184,1250,928,1238,1358,1306,1100,926,697,526,491,755,1086,1246,1208,1440,1330,1138,1118,1162,1522,1526,999,774,802,1064,1382,1318,1064,773,947,1026,1088,1318,1288,1182,1050,1160,1258,1458,1732,1528,1114,1210,1714,1794,1246,1232,1324,1332,1316,1348,1380,1122,1050,1302,1368,1300,1122,1086,1250,1136,957,865,1262,1174,1004,1236,1158,1112,1198,1048,656,957,1020,662,735,662,896,1356,1432,1266,1456,1692,1362,1656,1208,863,812,865,893,875,940,821,610,564,631,934,1064,1010,1306,1318,937,706,1168,1188,863,672,554,432,615,935,752,1040,990,893,655,350,576,613,423,422,480,518,819,1676,2186,1830,1374,1144,693,617,506,452,856,847,514,476,664,1046,736,353,324,407,447,728,691,735,710,644,705,543,709,1034,858,777,1046,1274,901,750,1332,1456,1256,885,747,988,998,955,1394,1466,1320,1021,963,1136,1612,1574,1396,1422,1490,1426,1238,1248,1220,1432,1626,2320,1942,1628,1208,913,855,1078,1268,1376,1488,1290,1236,1518,1478,1494,2640,1696,1400,1306,1128,1136,1244,1406,1468,1312,1302,1352,1226,1296,1348,1482,1602,1282,1298,1314,1374,1644,1562,1126,897,1094,956,1010,1096,1212,997,931,1238,1306,1306,1376,1456,1542,1360,857,780,494,663,1030,1656,1532,1632,1632,1384,1348,1232,1448,1296,1478,1678,1476,1360,1015,683,482,419,349,321,360,422,841,1326,1316,1480,955,606,472,500,526,948,1114,871,957,1288,1550,1444,1474,1494,1388,1334,1292,1310,1342,1234,963,708,802,981,969,948,996,926,978,1214,1230,1100,1048,669,611,1072,1462,1478,1332,1352,1476,1268,1316,1200,1238,1336,1202,885,1062,1360,983,624,753,767,750,1052,980,1086,1334,1042,1310,1528,1056,836,1120,1376,1460,1292,721,558,514,982,1364,1166,831,997,1007,964,1394,1306,720,547,471,800,738,579,451,447,484,492,665,764,570,533,689,719,1136,1598,959,491,404,404,315,295,347,345,382,357,353,340,311,436,556,523,511,594,659,649,778,1194,1620,1390,775,417,346,307,293,318,435,458,275,210,326,432,372,563,682,439,236,398,692,488,372,693,1130,1030,745,619,957,1096,846,487,570,659,620,543,515,504,844,1036,451,473,717,1062,957,715,901,807,994,1174,1036,1198,1198,1098,1140,1098,1212,1422,1052,1012,920,861,1080,1056,809,688,783,891,890,1104,1042,744,752,932,1004,1058,1018,805,825,858,869,843,689,630,591,661,405,479,477,332,368,654,901,712,531,772,944,1126,1284,1350,1382,1164,1172,1418,1234,789,478,440,385,407,649,628,676,772,766,854,839,984,1448,1900,2024,1764,1580,1718,1702,1986,2242,1810,1208,1028,863,885,1058,839,660,777,1122,1202,898,975,1676,1772,1946,2028,1782,1184,796,794,1158,1090,759,650,723,893,814,612,425,498,509,516,611,862,984,758,538,648,411,370,387,376,360,355,517,772,717,602,693,764,583,362,394,789,1016,753,729,739,584,712,1138,1192,891,1054,1262,1096,702,630,934,1170,949,987,663,514,764,955,1194,977,646,930,885,574,501,561,1007,796,494,903,922,813,1100,1542,1866,1708,1230,1374,2008,2298,1494,881,717,639,631,687,826,901,819,800,787,780,783,515,536,738,684,733,998,927,781,1009,1094,651,466,428,427,352,312,278,285,270,305,332,324,293,288,286,290,310,310,313,351,316,309,314,307,325,317,296,313,322,323,344,364,362,346,354,366,376,381,380,388,378,411,458,435,437,417,395,356,381,450,505,489,443,423,409,402,402,406,396,378,377,408,408,399,387,372,366,363,368,368,364,361,352,354,360,364,372,371,376,365,368,375,386,411,442,446,437,438,453,448,434,434,431,423,422,416,403,391,384,397,393,393,426,444,429,442,426,418,444,500,495,486,526,564,536,481,490,486,453,426,429,416,406,400,384,391,387,382,379,366,368,366,360,356,365,350,356,346,346,350,348,361,395,406,411,399,411,416,406,423,430,412,386,407,438,412,393,393,393,389,389,383,380,377,379,383,381,383,389,399,412,394,405,402,389,405,476,537,529,518,492,518,524,521,515,485,417,377,370,361,359,367,368,361,356,351,344,339,338,332,333,331,337,337,325,319,321,320,321,320,323,327,320,315,318,306,307,308,304,307,311,308,317,309,309,320,323,312,313,313,311,327,333,320,320,333,329,330,341,325,332,339,345,345,345,348,354,360,355,341,336,341,346,345,338,348,352,341,333,330,332,333,332,338,339,322,326,320,311,307,307,313,317,327,314,293,283,284,298,304,300,307,310,320,319,313,314,312,318,333,357,357,351,366,351,344,345,343,327,329,332,331,337,347,350,345,332,329,325,326,320,321,325,329,343,352,350,350,350,349,349,350,350,346,339,336,355,364,362,388,376,376,395,376,369,367,390,381,373,364,362,366,364,347,337,341,344,337,329,324,325,330,325,320,325,311,312,314,311,311,308,309,310,305,312,307,311,317,325,307,321,309,309,312,312,319,312,311,307,311,312,312,309,314,313,309,319,326,329,336,333,329,352,342,320,324,324,330,338,338,338,335,335,331,331,331,331,336,350,352,365,381,376,360,358,360,361,361,355,354,352,356,371,354,361,361,366,346,356,346,334,342,333,352,352,350,349],[791,1404,1660,1448,1016,842,1604,2198,2282,1566,810,633,612,607,586,583,571,583,568,545,575,613,592,571,560,784,1312,1598,1626,1828,1410,850,968,991,932,1200,1092,915,984,1116,1124,1362,1526,1446,1174,886,874,1114,1206,1888,1710,1400,1216,1170,1024,722,538,569,761,839,569,418,662,980,1792,1492,957,718,558,467,744,1012,870,584,414,374,469,669,475,358,335,650,824,1026,931,1526,1680,1212,1134,1336,1956,1990,874,374,344,496,593,598,996,1130,1182,1422,1334,1594,1544,678,796,943,1036,1406,1608,1272,593,241,396,462,466,488,418,344,246,259,319,444,796,990,1042,822,543,454,525,554,518,494,328,303,322,432,989,1318,1294,869,644,1084,1554,1380,984,970,893,559,335,431,492,970,1238,960,857,999,1106,1152,1194,1584,1216,532,441,543,844,1218,1324,1188,794,412,390,389,394,443,536,501,550,733,879,1102,1244,1392,994,709,812,659,459,720,819,448,436,369,396,399,424,435,434,409,391,457,507,528,676,1356,1412,1208,1176,1214,1348,1566,1642,1582,1476,1350,1252,1076,1009,970,1102,1086,1264,1208,1264,926,535,753,854,441,379,414,385,291,258,260,307,321,365,632,1116,1310,1172,1152,1336,1474,1404,972,732,588,1002,1680,1544,1420,1424,1256,1078,1078,1146,1294,1424,1468,1260,1074,996,872,1202,1290,1172,975,560,483,477,462,446,363,383,630,680,426,311,265,255,253,352,559,733,739,634,475,571,724,971,893,592,682,559,425,480,400,386,469,348,618,678,575,792,968,1032,1212,1040,955,1468,1440,969,1068,1080,1192,1322,1064,794,567,738,1186,1422,1164,671,479,514,667,996,897,1164,1648,2204,2126,1702,1538,1538,1526,1616,1932,1606,1598,1152,813,815,1001,1044,1122,1110,1086,1186,1138,1212,1606,1620,1592,1262,1102,1206,1236,1348,1404,1304,1256,1354,1322,1106,822,500,446,447,413,411,487,551,568,731,1152,1013,524,495,430,490,641,822,1132,1484,1924,2154,1654,1524,1406,735,559,686,1216,1168,1306,1508,1152,988,980,985,1144,1250,1021,790,631,833,1400,1346,1694,1324,1032,1548,1448,1182,912,935,1228,1092,993,861,798,1242,1542,830,581,1128,1136,1262,1434,1232,1228,1266,1210,1004,1088,1088,669,990,1912,1938,1392,1282,1228,912,732,943,1052,888,1252,1196,1360,1628,1796,1818,1014,768,1038,1148,1012,969,993,705,595,760,915,990,730,465,479,478,533,631,841,1094,1388,1508,1538,1382,1182,1340,1444,1272,1302,1484,1504,1222,1062,1050,1370,1644,1354,1436,1246,1316,1522,1490,1582,1592,1476,1378,1332,1266,1024,1034,1274,996,712,902,1258,1604,1772,1586,1240,1021,707,775,1166,1072,731,526,583,489,467,747,874,1010,1156,1116,1001,761,703,977,1168,1170,1312,754,448,430,700,734,725,946,849,631,946,1212,1092,540,693,751,990,1009,698,756,1028,968,771,882,1278,1676,1514,1152,863,672,855,1178,1030,615,394,372,369,457,707,913,712,664,612,477,413,469,1104,904,656,1080,1362,1126,1072,1284,1156,850,1086,1156,835,839,842,980,1152,1280,1282,1214,1009,1066,1140,1056,1714,1346,720,1066,1228,782,835,908,749,787,869,1106,866,796,754,890,982,1178,1104,1072,1015,1122,1212,1021,1102,1214,1284,1404,1154,995,1048,1124,1118,1178,1001,937,858,542,661,1056,1182,882,1116,1252,1346,1110,1094,916,567,477,549,612,904,1456,1240,863,767,943,995,1138,1388,1180,974,1148,1234,1284,1798,2232,1788,1212,1136,1628,2020,1406,1268,1294,1206,1198,1324,1438,1226,1102,1078,1238,1306,971,937,1162,1308,1262,1158,1140,1021,1200,1362,988,907,894,924,585,728,897,673,839,952,1104,1462,1440,1354,1566,1646,1472,1454,1048,960,704,597,869,749,669,940,1058,858,918,1026,1206,1322,1372,1346,1040,1126,1440,1222,960,1252,1114,733,580,1180,830,478,423,604,456,488,739,713,429,349,430,519,960,1564,2288,2188,1814,1582,981,670,578,514,590,520,633,775,708,608,402,377,459,429,385,660,849,916,929,643,628,314,513,785,880,868,1018,1136,822,941,1490,1598,1160,814,755,1038,852,1266,1674,1350,1208,1296,1386,1384,1488,1394,1236,1158,1312,1508,1420,1212,1322,1390,1716,2298,1888,1536,1482,1278,1024,1034,1108,1344,1454,1182,1306,1376,1394,1494,2676,1836,1230,1286,1344,1322,1066,1164,1334,1374,1340,1444,1388,1456,1596,1602,1424,1362,1418,1272,1402,1500,1422,1232,838,1058,1184,1174,1282,1296,1212,1270,1268,1284,1338,1224,1194,1290,1546,1172,907,650,927,1332,1876,1720,1582,1672,1848,1848,1606,1824,1452,1522,1882,1328,1208,1300,988,636,394,297,325,352,486,928,1164,1278,1458,1220,1022,944,1150,1056,1104,962,600,860,1526,1882,1344,1374,1280,1310,1364,1262,1216,1262,1184,965,1094,1110,940,1054,1042,1158,1124,1214,1390,1118,916,688,472,516,728,1310,1438,1238,1328,1160,869,1068,1026,1066,1310,1372,1306,1170,1252,1066,988,1204,1182,1068,1246,1318,1306,1372,1272,1118,1352,1454,1186,1324,1386,1472,1396,1010,717,521,1003,1394,991,1032,1620,933,725,1680,1808,924,570,487,760,799,525,425,379,388,800,1802,1480,800,907,1118,844,615,1009,1278,786,399,448,362,408,415,371,415,489,420,361,399,455,572,598,555,783,537,548,866,1130,1268,847,516,381,293,259,275,234,269,312,249,250,338,411,372,545,725,642,556,683,514,245,230,408,747,582,493,541,786,1004,937,652,531,782,908,664,522,749,1214,1260,734,630,944,1004,907,640,780,932,924,963,986,1282,1316,1228,1100,1112,1146,1178,1052,1090,804,672,1002,1164,884,728,590,793,1078,1122,1013,671,518,872,921,572,860,997,905,940,899,857,992,1158,831,535,392,370,538,510,311,359,548,599,662,1086,789,758,1368,1902,2320,1570,1005,1124,1402,1382,976,652,738,1040,1268,1020,888,810,769,778,793,1126,1722,2222,2340,2150,1760,1620,1864,2144,1688,1212,1338,2020,1410,979,1146,755,601,641,806,957,957,892,1306,1444,1318,1282,1286,951,641,670,702,603,655,531,608,673,687,442,478,697,825,747,766,772,624,561,518,814,453,340,357,585,516,359,495,662,605,675,766,714,554,357,600,1158,918,674,533,503,452,523,731,865,943,932,925,962,925,882,899,941,1011,1068,747,493,788,1256,1540,1422,822,710,617,733,492,669,977,921,725,636,692,863,984,1186,1454,1264,1030,1272,1996,2080,1306,881,933,789,564,782,1180,1288,1228,703,604,756,822,760,537,583,681,673,686,785,855,839,874,553,466,436,390,321,311,294,269,245,297,396,380,321,367,297,281,287,306,364,364,323,307,321,325,321,314,302,310,315,328,355,372,375,357,356,370,388,422,463,449,420,455,450,394,414,423,380,370,390,439,509,508,457,423,417,434,434,432,416,394,383,413,411,398,393,384,377,367,374,375,361,358,361,363,370,366,365,371,386,382,364,379,388,390,420,432,431,432,446,435,420,418,418,423,420,419,410,408,395,389,389,381,404,434,449,428,421,418,435,465,496,502,505,534,522,493,473,447,442,426,418,420,413,404,391,397,394,389,379,370,365,373,356,365,363,353,350,350,353,360,359,356,381,413,404,403,419,421,408,408,436,434,398,394,435,430,401,389,386,379,375,377,374,377,377,383,384,387,381,391,408,399,391,407,404,413,498,539,525,526,503,492,530,531,515,492,436,383,368,359,359,365,369,362,356,345,337,333,331,330,329,330,333,330,327,327,318,314,327,319,302,323,332,332,317,312,312,317,312,316,357,335,318,314,316,304,294,299,309,311,319,330,333,330,323,327,325,327,336,338,339,339,344,345,346,344,346,348,346,339,338,343,346,330,323,350,344,336,329,326,327,330,332,334,335,329,327,322,313,306,301,305,314,318,300,296,287,290,295,296,313,316,302,313,313,314,314,314,318,325,336,344,343,348,346,346,344,339,339,325,314,331,333,338,359,347,340,340,326,325,326,326,324,331,344,347,346,350,350,352,353,350,350,343,337,346,339,355,372,384,382,384,393,381,378,362,386,393,369,360,365,354,343,339,341,346,350,332,331,330,331,330,323,317,323,324,320,314,312,311,305,308,307,318,305,294,314,319,324,311,312,307,320,326,317,318,311,306,308,317,309,305,304,308,314,320,325,325,325,332,331,331,340,331,314,316,323,326,330,332,326,320,326,325,325,330,335,338,338,343,361,376,373,366,362,362,364,362,356,350,346,352,368,356,359,372,379,361,349,358,339,318,339,342,344,343,342],[762,1570,1604,1005,574,712,1736,1944,1866,1428,908,648,612,790,896,772,664,648,568,538,619,644,565,526,547,608,985,1418,1186,711,581,772,988,1016,948,1106,702,841,1138,1062,1160,1204,1154,1190,1124,918,913,1010,933,1302,1308,1360,1020,1160,1120,921,1058,1056,890,804,798,534,437,656,1052,984,839,719,595,796,1242,1344,1040,825,733,529,471,504,477,380,462,1236,1500,1048,1410,1896,1558,1064,983,722,990,1100,529,377,425,552,540,497,634,868,1500,1878,839,705,792,869,855,977,1184,1592,1692,1326,661,444,557,651,987,806,486,347,285,329,342,304,475,783,932,871,854,484,450,462,438,421,300,292,526,664,769,1108,995,537,542,927,1248,1338,1160,1310,1146,622,425,594,655,1074,1388,943,916,1108,997,742,796,993,1002,781,491,619,1032,1023,719,816,593,398,383,393,485,762,907,786,879,975,938,893,1032,838,689,998,1302,951,489,599,475,329,326,361,410,382,363,388,391,440,477,608,503,430,551,1028,1162,1206,1402,1208,1114,1194,1308,1324,1548,1606,1362,1134,863,795,1076,1216,1238,1248,1106,835,998,1134,836,454,442,511,456,395,357,316,338,331,338,494,726,852,984,1782,1954,1626,1806,1486,1032,1040,1858,1746,1080,1316,1324,1248,1280,1532,1730,1772,1502,1174,859,796,835,891,1128,1242,987,667,565,519,465,655,643,483,339,426,407,371,458,369,315,315,347,405,516,563,506,504,608,1078,1448,789,621,862,481,339,473,447,410,422,390,465,414,573,782,689,1114,1156,717,969,1604,1718,1556,1590,1432,1198,987,1172,1218,879,797,869,1210,1374,980,585,752,1086,1670,1294,1310,1910,2216,1856,1402,1300,1350,1432,1522,1964,1358,736,629,883,986,929,997,1132,1164,1152,1210,1508,1638,1558,1518,1512,1260,983,1060,1456,1484,1452,1538,1478,1410,1023,686,619,511,480,458,383,391,528,641,619,778,1038,633,440,518,596,529,442,456,519,767,991,1080,1132,1368,1038,705,660,572,644,982,1200,1530,1456,1188,1005,772,999,1618,1352,1266,1021,1274,1222,1232,1664,1268,1470,1930,1498,1294,1258,1044,728,807,1512,1216,1288,1584,1546,1234,1180,1372,989,1228,1510,742,796,1032,1202,1318,1544,1320,964,1392,2532,2380,1296,1092,1011,510,539,1138,1460,1202,1194,1252,1560,1742,1814,1172,570,601,708,680,799,890,614,473,540,984,1140,1082,711,356,429,471,478,676,635,921,1056,1268,1546,1056,920,1180,1192,1274,1280,1250,1354,1186,1007,1038,1116,1292,1382,1230,850,1078,1382,1394,1434,1324,1170,1054,1048,1630,1436,1890,2176,1402,643,808,1032,1316,1536,1584,1478,1100,792,728,743,835,630,495,548,872,865,917,1023,973,948,1116,1644,887,779,1116,919,796,960,751,667,809,893,566,503,760,969,954,945,1200,1136,538,549,436,461,551,528,741,1066,930,827,733,812,808,1148,1260,1110,819,732,1064,1356,1314,977,401,381,720,1134,1262,966,1172,1032,1034,1000,859,965,738,700,1076,1210,1058,1268,1358,1332,997,1086,1042,811,910,953,852,936,1130,1312,1220,951,1200,1480,1582,1854,1556,1054,1148,1286,1166,1190,1005,596,359,583,983,698,591,514,824,744,840,944,1050,1272,1410,1300,938,1212,1298,1282,1158,1122,1242,1162,1296,1660,1402,901,1016,897,714,547,714,933,688,929,1174,1380,1382,1238,1102,890,627,783,896,1036,1466,1188,896,1056,1368,1362,1394,1368,1148,1124,1246,1282,1232,1380,1780,1644,1266,1005,911,1011,1222,1328,1372,1332,1338,1268,1162,925,703,939,1216,1220,1060,1200,1142,862,777,766,761,727,1044,1180,1094,902,972,1066,757,913,1126,896,824,995,1064,1240,1166,1276,1482,1562,1682,1566,1188,1102,938,758,867,852,850,973,1038,877,789,742,1102,1322,1060,1072,1148,976,869,778,896,1346,1224,1160,884,1248,1056,719,735,656,391,478,752,1007,681,374,346,611,1100,1660,2104,2130,2024,1630,1306,1140,946,588,461,473,690,988,830,659,487,411,397,427,644,1007,1002,1028,774,762,821,395,688,1182,1154,858,759,694,756,1202,1628,1774,1676,1518,996,1262,1162,1792,1716,1118,1122,1458,1268,1158,1346,1310,1206,1028,984,1204,1278,1272,1372,1334,1512,1666,1520,1444,1512,1404,1294,1174,1082,1340,1642,1512,1440,1394,1432,1444,1682,1694,1382,1284,1272,1444,1178,1286,1368,1422,1488,1484,1408,1690,1824,1408,1332,1420,1310,1058,1418,1500,1496,1676,1284,1252,1366,1252,1248,1300,1206,1446,1536,1440,1280,1280,1230,1322,1708,1354,945,849,1146,1350,1288,1288,1378,1376,1390,1440,1476,1354,1346,1234,1322,1204,1372,1200,658,631,425,313,391,483,695,1072,1258,1242,1242,1470,1548,1698,1568,1216,1146,1210,1254,1284,1568,1576,1296,1330,1342,1324,1300,1208,1130,1224,1324,1212,1184,1112,963,1054,1156,1256,1250,1252,1218,1148,869,662,924,742,698,1304,1466,1782,1470,949,1114,1618,1352,1168,1218,1360,1378,969,921,1116,1158,1246,1124,1238,1444,1652,1434,1120,1028,1036,1560,1536,1328,1306,1340,1544,1478,1334,949,755,1142,1446,1164,822,1272,639,352,1158,1318,786,612,598,750,845,414,385,459,550,1238,2308,1532,827,996,1130,1042,769,1118,1898,1130,529,826,669,610,639,571,458,486,457,480,557,533,478,628,783,813,510,518,587,568,703,553,347,369,299,223,203,250,350,365,354,471,377,348,520,662,865,1008,877,518,285,255,208,299,415,298,329,540,702,1064,1194,898,778,905,988,889,1076,1656,1372,1098,1092,1046,1220,1266,1146,906,808,858,1168,1326,945,1288,1212,1346,1228,1252,1032,684,673,712,799,1046,1082,883,752,988,681,693,855,875,985,1003,836,877,571,963,2126,1804,1168,1172,1084,938,731,824,718,597,524,374,557,638,349,332,453,634,1088,1342,778,531,1142,1992,2032,1490,1176,1036,1048,1318,1464,1296,1046,1086,1216,1278,901,708,741,741,730,882,1418,2146,2126,1946,1802,1410,1496,1404,1192,885,1570,3164,2732,983,803,781,800,709,782,935,1262,1102,827,725,637,648,613,631,750,589,538,594,544,500,689,719,534,422,513,538,556,810,743,537,448,376,486,835,555,361,362,577,821,785,481,424,422,571,571,522,604,672,1238,1282,966,824,716,546,455,434,525,790,917,763,794,1008,926,891,918,803,749,831,904,816,814,1154,1528,1362,855,833,838,830,636,753,949,1316,1520,1256,872,824,872,978,941,918,989,1023,1440,1330,1021,866,769,672,675,951,1192,904,809,568,497,678,1032,1166,727,559,684,593,459,495,615,582,585,557,466,415,354,316,310,288,260,249,257,274,289,305,348,305,295,262,276,338,378,351,296,296,308,321,320,301,302,313,330,373,389,393,379,362,389,433,482,518,485,464,506,454,382,384,405,386,380,392,441,519,534,480,436,426,444,434,428,440,422,396,411,418,397,386,388,379,363,375,384,370,379,381,381,379,369,366,376,393,397,393,400,386,396,413,419,426,422,428,432,423,420,426,429,413,426,412,402,391,393,402,384,381,408,418,415,429,413,410,426,466,502,500,502,497,481,460,446,444,434,420,416,413,403,403,397,391,394,389,379,368,357,353,356,348,365,365,359,363,368,377,367,370,412,421,416,420,408,396,402,429,440,426,386,418,429,408,393,386,387,388,377,369,373,377,382,388,404,391,391,401,397,388,404,423,451,518,528,515,515,534,492,513,528,528,518,465,399,375,361,359,368,370,365,350,339,329,321,318,321,324,327,327,333,329,317,308,313,318,325,323,323,325,329,332,320,311,316,320,327,332,326,313,310,310,307,309,309,304,305,319,334,332,327,338,321,326,335,336,339,339,348,354,350,343,341,345,344,339,345,339,339,344,325,327,326,326,336,330,326,325,322,327,333,334,342,339,323,326,314,308,302,307,314,292,290,289,289,290,316,336,333,316,301,302,306,317,322,320,314,346,352,357,349,349,354,351,347,346,327,321,330,345,343,357,343,347,342,326,325,325,325,325,326,335,347,350,356,359,359,359,353,346,338,333,338,346,360,368,387,404,394,386,382,384,368,382,396,374,364,366,352,350,344,350,350,356,332,331,331,331,328,319,318,317,304,296,304,312,312,314,317,305,317,306,288,296,305,307,316,311,303,306,303,314,318,317,316,300,301,307,301,303,312,313,319,318,322,322,321,325,329,338,330,315,315,323,323,319,319,317,321,325,329,332,332,333,329,338,363,372,375,375,368,365,368,358,356,356,353,344,346,359,350,346,362,368,346,342,358,321,323,333,342,346,339,333],[717,1048,783,461,493,916,1400,1314,1418,1556,1250,841,940,1072,1144,1001,680,580,630,668,672,576,518,511,532,542,774,1138,1050,596,855,1206,803,721,872,644,366,705,1146,1290,1280,1242,938,1122,1464,1168,879,1278,1306,1088,1344,1258,1028,1330,1216,1292,1132,1086,1184,1242,1278,779,432,339,451,673,697,662,854,1258,1650,1964,1528,1406,1316,619,365,395,386,378,614,1232,1248,977,1476,1746,1368,924,1252,1300,849,447,451,576,786,958,681,673,534,540,756,849,651,1026,805,941,1058,1080,1446,1674,1656,1226,566,430,445,846,1212,778,402,304,300,341,350,327,350,523,792,794,774,548,418,314,483,520,362,511,735,769,1200,1170,879,499,448,580,937,1062,1076,1300,1256,666,595,854,727,749,836,1056,1164,1050,940,940,1054,672,772,1028,786,441,621,621,520,993,756,444,364,434,694,805,902,959,789,692,842,1190,1338,855,689,922,865,615,340,290,303,312,286,337,352,300,320,422,439,477,636,779,788,1026,812,833,1070,1282,1540,1015,803,982,1654,2332,1806,1654,1730,1662,1486,1390,1152,1004,1202,1032,673,805,1028,1186,789,484,542,632,506,386,375,363,377,366,379,532,888,909,995,1864,1582,1440,1426,1284,1356,1412,1448,1040,909,1388,1190,1000,1122,1418,1654,1654,1056,799,999,885,854,894,1224,1216,683,473,462,440,399,418,431,399,435,656,643,545,567,404,351,378,306,284,355,378,442,851,889,846,1005,747,620,516,339,351,426,437,436,456,622,664,433,728,1224,1088,1458,1188,983,1214,1416,1338,1354,1500,1630,1328,926,1068,1068,1042,1108,1262,1744,1900,1236,840,1246,2014,2014,1604,1654,1946,1986,1334,872,986,1164,1308,1360,995,691,878,1016,1076,1056,1040,1106,1312,1342,1232,1420,1768,1692,1620,1720,1554,1484,1306,1368,1516,1534,1396,1250,1208,1266,747,541,591,494,454,415,372,381,392,514,651,578,548,446,430,548,756,645,497,600,918,1032,830,786,740,704,781,861,813,803,950,1294,1300,1550,1344,1242,1366,1190,1018,883,1312,1588,1652,1236,901,1116,1118,1278,1766,1492,1078,1334,1726,1578,1096,944,1600,1526,1476,1356,1516,1588,1376,1010,1056,1310,1050,673,830,1090,1190,1268,1532,1196,1009,1232,1626,1316,832,1064,1324,779,685,1128,1454,1266,1180,1482,1744,1804,1294,714,634,715,789,760,818,677,442,451,419,636,782,996,942,461,606,774,710,733,628,930,755,1368,1618,955,776,1080,1178,1284,1358,1526,1816,1388,1390,1186,1028,1236,1382,1094,945,1366,1676,1500,1440,1380,1392,1256,1094,1484,1210,1868,2008,1132,524,559,1072,1332,1074,1122,987,1214,1442,1362,1368,1290,1046,933,944,1034,1180,1260,1152,1172,1372,1272,1728,1046,933,1124,845,800,865,759,1030,1432,1278,902,1110,942,604,946,1128,1278,963,618,616,521,602,669,514,575,779,1204,1456,1400,880,712,1126,1394,1404,1302,1340,1320,1392,1434,1282,768,661,662,1202,1336,1026,931,971,1266,1462,1392,1186,593,651,868,908,1042,1394,1556,1480,1322,959,839,925,761,811,686,621,885,1144,1034,1198,1438,1764,2122,1946,1260,1108,1324,1268,1246,1476,1170,512,345,597,892,871,871,979,1050,918,805,807,974,1218,1322,1272,989,1218,955,1202,1222,1204,1440,1324,1472,2072,1426,1144,1432,1074,1128,857,586,832,839,774,978,1412,1416,1244,1350,1094,774,944,900,1064,1296,1438,1302,1428,1616,1610,1624,1472,1456,1480,1438,1504,1290,1202,1192,984,962,861,711,1052,1346,1408,1498,1476,1270,1202,988,1032,760,948,1206,1080,968,1104,1126,1028,1042,913,1030,874,1094,928,1082,1050,1266,1246,1028,1278,1512,1188,1068,1132,1186,1184,854,1036,1414,1390,1488,1488,1360,1266,1108,1074,1256,1356,964,678,933,1282,887,589,1002,1210,974,1014,1230,1204,1023,761,1108,969,663,843,1142,1252,1212,1066,881,679,534,516,593,734,631,516,418,629,902,1686,2000,1716,1692,1568,2030,2148,1644,960,553,641,908,817,616,690,780,539,461,777,973,884,803,981,513,558,658,414,637,1268,1162,707,594,595,999,1644,1768,1798,1794,1682,1104,988,1216,1748,1784,1248,1118,1404,1208,1324,1482,1412,1244,1028,1001,1180,1334,1224,1136,1304,1408,1304,1306,1416,1494,1416,1432,1458,1364,1472,1534,1528,1528,1478,1516,1512,1630,1810,1638,1072,945,1124,1274,1274,1222,1362,1476,1460,2090,2750,2220,1392,1310,1054,1098,1306,1362,1256,1356,1778,1546,1454,2076,2014,1318,1372,1696,1784,1646,1432,1266,1142,963,1010,1322,1378,1054,955,1216,1232,921,1046,1136,1190,1180,1418,1322,1220,988,989,1324,1236,1446,1538,1272,817,584,500,611,628,727,811,774,870,1186,1538,1830,1682,1116,1152,1264,1102,1268,1556,1438,1316,1416,1594,1576,1510,1478,1076,1008,1256,1434,1256,1152,1166,1246,1240,968,937,1122,1240,1212,1284,958,658,965,751,729,1208,1416,1510,1386,760,837,1466,1428,1278,1004,958,1056,871,749,850,804,625,975,1450,1346,1504,1352,1230,1312,1114,1242,1320,1326,1240,1078,1080,1362,1396,1007,1252,1394,1374,1176,796,823,607,485,525,888,935,576,515,599,877,549,456,431,525,1124,1440,998,847,888,1214,1758,1532,1017,1166,802,1112,1570,1200,937,869,673,444,407,422,426,505,500,493,661,801,496,456,503,523,519,756,852,521,348,282,203,193,248,607,697,429,303,368,480,563,651,666,633,535,328,246,237,258,367,364,252,329,536,548,793,1056,1012,1018,818,839,1018,1484,1898,1352,1296,1418,1266,1258,1116,985,1358,1260,1017,1448,1532,1744,1580,1344,1374,1266,1090,1002,994,813,824,1066,1110,867,670,481,558,519,516,683,755,902,1132,985,672,1040,2564,2598,1782,1252,1332,1200,921,647,487,608,993,918,522,897,1166,806,388,500,1284,1524,1038,564,647,1606,1946,1292,1250,1302,1150,938,890,1244,1550,1306,798,586,595,812,1012,816,736,722,832,1078,1406,1802,1818,1736,1388,1070,865,1023,1042,1192,2386,3584,1868,884,959,723,539,822,969,1266,1396,1342,1158,961,675,633,767,942,728,611,591,502,522,709,788,673,482,552,545,459,648,893,862,525,440,415,717,614,411,419,559,1140,1416,772,437,380,400,419,550,902,1062,1338,1178,858,927,908,588,447,398,526,640,813,918,848,891,846,857,893,882,973,1178,1292,1044,781,860,1276,1042,750,818,1048,1150,1088,923,964,1364,1622,1600,1208,1310,1102,959,941,1054,1072,1140,1266,1140,933,869,889,960,971,1244,1738,1048,691,568,471,752,1324,1440,912,624,702,610,601,448,466,468,514,531,475,402,321,296,287,283,272,260,253,254,269,270,271,276,266,262,270,296,346,337,301,317,319,333,322,308,307,312,347,388,370,339,348,346,377,459,492,487,478,462,482,422,363,358,361,365,375,401,427,523,564,512,455,436,451,444,446,464,440,412,432,436,416,387,388,386,378,377,384,372,375,391,398,394,386,386,391,401,407,415,385,390,409,414,416,431,436,423,426,419,416,408,402,429,431,428,412,391,393,408,402,387,388,398,420,426,432,416,412,435,499,515,490,479,469,454,453,451,440,423,417,420,417,404,393,389,396,399,380,368,365,370,373,370,377,387,379,386,387,391,387,383,403,420,416,408,402,408,422,432,441,429,405,415,421,410,399,391,391,374,362,370,369,373,387,387,402,399,395,392,385,392,398,436,483,548,542,495,518,534,521,511,507,530,518,465,413,385,354,369,372,371,362,348,343,333,329,323,318,320,321,327,329,314,308,311,320,312,321,317,325,326,329,326,322,314,306,305,311,314,310,305,306,305,306,309,305,298,295,316,332,333,328,339,329,332,343,343,338,341,341,333,341,354,351,350,354,341,330,314,316,334,332,307,309,320,323,320,319,316,320,326,331,345,364,364,350,330,313,311,307,302,306,295,288,289,290,290,303,332,351,322,307,296,291,323,319,320,323,314,332,354,360,357,357,357,361,349,323,333,330,357,357,359,343,347,347,329,325,326,328,325,326,332,335,345,361,370,365,356,345,336,338,336,333,343,346,372,384,391,383,382,379,381,379,376,383,366,360,366,348,350,347,352,343,346,332,328,331,331,328,323,318,317,306,303,307,306,311,317,318,308,309,306,295,300,312,320,317,306,311,312,306,329,326,317,322,301,295,311,312,316,319,312,313,312,311,317,321,325,326,337,337,328,325,326,325,324,318,319,325,328,335,338,338,342,347,359,362,363,370,376,376,375,360,359,365,360,356,347,344,343,343,335,360,370,366,355,346,337,324,321,337,343,336,337],[1011,736,532,697,980,1592,1812,1448,1438,1544,1290,1440,1604,1428,1396,1264,872,778,764,648,554,483,483,497,555,554,586,1036,1380,1356,1790,1934,1001,918,1202,855,774,1130,1242,1232,904,830,1138,2200,1740,1074,689,1268,1708,1108,927,1090,1290,1236,1070,1376,1144,1070,1192,1318,1648,1340,729,421,415,377,397,385,688,1350,1880,1758,1426,1504,1120,508,388,393,336,361,590,771,678,696,778,1166,1124,1290,1986,1678,1100,1000,828,882,1094,939,491,561,634,633,527,476,590,802,650,680,881,1210,1334,1180,1136,1124,578,385,344,509,582,434,365,358,345,352,361,353,325,327,477,811,830,587,492,334,413,430,377,558,601,1016,1716,1258,1056,700,516,586,1026,1476,1678,1664,1264,709,452,504,618,599,504,1024,1390,1254,947,811,742,671,703,835,889,946,791,442,414,1048,1114,617,366,573,655,626,777,849,634,539,836,1388,1172,898,754,749,765,552,325,275,323,343,347,337,304,279,273,394,391,626,1186,1094,883,850,983,1594,1826,1438,1166,1050,954,1178,1736,2432,1822,1660,1704,1766,1996,1588,1048,1114,1334,913,688,774,969,1278,1084,607,514,705,729,488,346,365,420,470,434,789,1362,1330,1086,993,888,1098,952,949,1398,1350,1026,1260,1116,1226,1288,1270,1288,1344,1484,1270,919,1106,1128,999,865,865,948,749,500,454,455,399,340,322,320,282,311,510,866,937,656,411,414,398,341,340,332,257,457,1172,1340,1172,1654,1690,827,498,421,405,453,431,424,626,1001,913,715,814,971,1256,1630,1314,1340,1350,1310,1170,1056,1154,1426,1466,1200,1328,1110,1210,1520,1476,1598,1670,1382,1168,1316,1532,1462,1678,1694,1614,1244,907,1262,1334,904,1176,1454,1182,1142,1134,964,1034,1100,1326,1410,1604,1644,1676,1716,1470,1360,1584,1730,1720,1488,1376,1516,1470,1398,1408,1266,1444,1384,882,657,576,545,465,414,436,412,324,354,515,535,577,521,426,548,744,752,683,733,1072,1234,1084,760,571,608,659,843,918,968,1340,1324,1136,1086,806,1196,1586,1686,1556,1222,843,1322,1632,890,572,588,623,871,1098,954,942,918,1470,1848,1200,672,987,1362,1124,1176,1418,1188,1154,915,1040,973,602,497,990,1290,1062,971,1046,1058,1102,1238,1262,849,1004,1282,1070,589,561,961,1340,1268,1350,1658,1836,1464,789,758,683,675,730,818,694,605,492,440,456,509,606,910,1136,628,630,736,657,481,676,836,866,1366,1476,1126,988,938,943,1288,1426,1504,1644,1354,1302,1170,1070,1256,1200,1004,1110,1040,894,1116,1372,1402,1376,1384,1088,960,1214,1990,1898,1024,518,686,1110,1068,968,1060,1046,1268,1332,1340,1434,1446,1528,1426,1306,1544,1692,1622,1560,1612,1410,1200,1348,1402,1334,1226,1170,1184,1068,1010,1160,1288,1256,1032,1158,736,668,1016,1188,1040,604,581,776,926,930,827,547,532,744,1498,1902,1880,1262,824,991,1452,1456,1418,1490,1550,1554,1316,1046,1254,1354,1062,940,830,579,464,624,883,1152,1318,1360,725,916,747,526,639,1078,1326,1302,1136,642,764,1026,880,1174,788,626,830,1194,1338,1444,1520,1560,1722,1570,1334,1538,1638,1266,1092,1240,1108,475,347,597,894,875,698,1036,1426,1028,908,1006,1126,1226,1364,1278,1068,939,1003,1310,1378,1344,1310,1172,1450,1808,1466,1864,1382,1076,1100,910,623,792,1270,1030,674,1112,1394,1438,1312,1266,1128,1058,1112,1042,986,1182,1260,1356,1390,1244,1232,1078,1136,1078,1418,1592,1308,1252,1216,1124,1192,1126,972,1232,1498,1598,1778,1406,1146,982,869,1078,1074,1220,1192,995,999,1166,1068,1190,1090,1122,1002,971,1122,1202,1178,1130,1300,1220,1166,1264,1340,1138,1294,1148,1362,1168,760,1192,1366,1096,1294,1262,1212,1128,1064,931,908,1188,1162,1418,1628,1390,998,653,738,923,828,890,959,1112,1026,1130,1284,973,744,780,1142,1550,1150,686,469,667,1024,874,741,543,601,683,655,638,749,1494,1930,1482,1472,1542,2100,2416,2160,1810,1804,1362,766,539,523,931,1128,674,550,652,561,422,789,838,542,398,396,386,553,935,819,716,544,623,906,1432,1810,1854,1728,1476,1056,948,1202,1284,1502,1178,1218,1264,1250,1478,1372,1296,1312,1382,1260,1192,1246,1248,1284,1352,1444,1600,1560,1416,1490,1424,1340,1216,1316,1578,1642,1660,1550,1470,1464,1424,1418,1344,1376,1162,1178,1426,1644,1462,1246,1294,1136,1212,1786,1570,1320,1364,1132,1222,1290,1522,1394,1206,1248,1438,1466,1478,1750,1754,1528,1500,1714,1582,1244,1098,990,888,970,796,963,1338,1240,891,990,1188,1100,1246,953,860,1086,1316,1354,1234,1046,1416,1296,569,835,915,640,594,650,641,754,811,733,731,1188,1714,1448,1606,1840,1328,1188,1180,1106,1003,1182,1114,1058,1312,1390,1534,1594,1592,1360,991,1076,1110,1334,1334,1212,1244,1310,1208,1154,1132,981,1248,1322,1230,819,505,645,887,724,1011,1464,1644,1526,985,1412,1620,1288,1202,1048,1522,1548,1070,1150,1250,1056,885,864,1266,1286,1256,1492,1510,1222,1312,1394,1274,1312,1312,1114,1202,1422,1058,964,1314,1266,924,615,547,552,561,556,719,1162,1260,585,456,728,968,631,422,434,604,873,801,720,811,1040,1470,1674,1494,1074,694,899,1224,1420,1458,1256,1072,1005,454,411,509,454,454,555,744,763,694,662,564,453,477,526,752,801,422,305,265,204,214,295,830,878,522,507,554,699,598,647,559,435,413,343,296,291,268,320,303,215,360,571,514,502,767,1070,1094,1005,822,633,969,1322,1336,1594,1820,1484,1316,1054,952,1676,1748,1330,905,1240,2034,1360,940,1094,887,713,889,1038,1124,980,1140,822,902,752,648,759,711,750,974,1080,1190,974,669,998,2382,2482,1406,983,1038,925,919,905,777,831,1042,1108,948,614,1472,1942,1300,747,1354,2554,2512,1524,1118,1316,1222,1040,899,1216,1350,1268,1066,901,958,1266,1542,1318,787,417,730,1202,1150,818,722,753,778,837,1368,1656,1434,1060,788,838,1324,1398,1096,1150,3208,3116,1390,869,665,522,767,945,978,1226,1312,1188,1384,1076,962,979,1038,930,621,433,385,401,642,947,778,713,965,1054,997,727,590,773,965,863,714,539,415,459,567,724,1208,1224,811,513,359,305,405,745,911,993,1276,1184,755,810,919,661,444,483,569,553,792,946,847,716,719,680,783,1021,1058,1214,1248,890,783,713,1030,1366,1246,1170,1366,1444,1122,815,968,1056,1084,1110,1222,1180,1030,1020,1064,818,750,1178,1378,1232,1096,1188,1192,1128,1118,1540,1854,1684,1238,664,612,912,1228,1286,1272,598,761,686,702,669,870,664,433,431,464,418,339,289,272,292,290,271,276,262,249,252,267,274,276,285,276,266,268,284,288,328,410,394,327,321,307,315,356,374,345,314,335,340,368,444,486,473,416,380,387,383,365,361,358,372,391,423,448,537,551,545,491,448,457,456,451,445,436,412,410,418,418,392,382,395,399,391,385,381,388,416,429,415,386,378,385,399,406,400,392,403,403,404,411,426,430,428,428,420,408,416,408,414,431,434,429,426,399,396,399,401,401,395,417,408,422,417,408,432,494,530,490,466,460,452,453,447,445,429,430,426,414,401,393,388,393,399,386,386,389,389,386,383,388,398,404,407,398,407,405,404,404,408,421,415,412,415,417,423,433,429,413,408,412,415,405,394,402,385,365,368,372,382,391,387,392,400,400,386,377,373,401,469,534,560,553,525,523,521,527,517,500,527,521,469,433,396,351,369,369,372,364,355,348,343,336,323,312,317,319,314,313,321,318,312,314,314,303,295,299,298,322,316,311,307,306,305,298,305,308,308,311,314,314,311,304,303,308,319,323,331,336,340,335,334,339,342,351,345,348,334,321,326,335,339,338,339,334,322,319,334,319,322,320,318,314,314,313,313,315,318,325,342,358,361,350,337,331,306,307,308,302,298,297,287,283,293,305,337,344,330,311,307,307,338,318,314,333,331,319,326,357,358,358,358,354,356,352,339,325,345,345,351,354,350,349,339,331,333,329,326,326,326,329,349,362,365,359,355,347,334,332,338,344,350,338,365,371,375,380,386,370,368,384,376,377,370,368,376,359,353,352,347,338,338,343,343,335,329,324,321,318,312,319,318,312,312,312,308,305,301,300,299,301,313,318,318,319,321,318,313,310,330,324,300,300,299,298,299,306,318,315,309,306,312,313,313,326,331,328,334,334,332,325,326,326,326,326,326,326,331,335,338,338,347,348,353,350,362,363,374,375,382,368,363,354,360,360,348,338,346,350,329,346,354,368,365,343,333,329,324,326,342,338,342],[916,689,626,1156,1764,2052,1902,1426,1011,874,782,1368,1530,1514,1466,1264,985,944,873,621,503,460,466,509,558,563,638,1194,1790,1986,1964,1844,1346,825,968,1268,1512,2118,1450,791,502,544,1750,1940,996,902,1306,1894,1946,1092,748,1002,1418,1552,1264,1384,1462,1328,1144,1282,1544,1518,1024,642,483,418,347,343,509,1074,1516,1224,1042,1250,991,516,405,337,397,459,559,769,655,574,888,968,913,901,972,937,1228,1454,1244,943,1094,671,505,490,478,563,660,642,558,501,460,531,839,1058,746,645,958,858,404,346,367,328,331,373,368,367,314,345,343,338,310,323,312,617,694,720,647,391,427,500,550,444,352,528,742,1296,1376,981,896,1058,1350,1404,1278,1028,928,944,535,455,622,693,838,1144,1366,1254,977,791,722,885,934,695,697,1104,1126,844,501,828,1023,796,849,824,702,633,565,617,713,440,558,921,852,949,820,719,675,465,330,290,321,337,339,331,319,325,330,398,576,967,1316,1544,1086,673,1260,1864,2008,1438,872,1522,1284,1240,1316,1244,1184,1494,1526,1622,1692,1584,1652,1802,1290,856,636,544,1018,1286,917,757,701,728,739,553,339,509,718,777,571,1142,1810,1650,1356,992,760,894,1040,1080,1232,1204,1424,1754,1136,873,1224,1548,1300,1240,1334,875,980,1244,1044,1380,1136,1092,781,532,483,459,481,379,253,257,255,249,325,444,585,771,575,423,570,535,406,375,342,286,404,1226,1760,1776,2010,1738,822,455,400,435,470,359,325,606,1058,797,934,1020,716,806,1240,1372,1484,1464,1302,1180,1302,909,847,1334,1522,1284,1224,1234,1198,1600,1754,1412,1256,1040,891,926,928,1348,1152,900,991,1066,1390,1194,561,798,1418,1510,1230,1148,911,1005,1340,1710,1730,1654,1714,1562,1332,1310,1386,1386,1394,1550,1448,1474,1346,1148,1160,1340,1520,1908,1614,1148,866,760,778,547,473,484,451,403,401,380,491,641,574,500,667,810,874,815,951,1202,999,749,435,383,399,405,491,577,655,981,1242,1114,828,527,495,788,1478,1354,1196,981,1108,1032,589,476,507,459,509,692,1152,1268,984,1020,1208,1156,828,1042,1332,951,1112,1108,1132,1036,821,979,720,576,440,526,655,581,522,664,943,830,905,861,908,1098,953,656,516,612,993,1314,1440,1570,1690,1626,980,805,876,714,539,471,477,475,455,601,901,882,957,910,759,683,714,648,640,634,466,610,805,937,1256,1476,1340,1136,818,924,1206,1292,1250,1298,1314,1272,1346,1470,1422,1270,1382,1220,1048,866,1136,1294,996,1104,1500,1314,988,1178,1566,1518,939,658,757,919,991,1182,993,1038,1566,1378,1116,1320,1414,1250,1122,1054,1152,1430,1536,1604,1470,1478,1798,1888,1770,1710,1636,1440,1360,1354,1332,1508,1310,1266,1288,1104,878,1013,1192,1282,870,459,520,701,805,829,744,579,567,900,1604,1958,1842,1366,1005,1256,1506,1560,1654,1638,1598,1562,1360,1060,1070,1554,1656,1244,811,517,507,499,673,1068,1240,1334,1078,1210,830,549,607,1005,1168,818,601,621,1064,1058,1200,1290,858,752,1234,1838,1572,1094,1150,1326,1108,1106,917,1154,1328,1184,1128,1388,1048,493,334,463,629,573,487,990,1466,1130,1198,1242,1122,1210,1672,1498,1088,1019,1172,1310,1444,1354,1478,1442,1560,1758,1274,969,929,899,861,825,517,856,1548,1092,731,752,916,1344,1282,1210,1274,1224,1208,1078,971,974,922,1168,1118,1266,1098,1004,963,619,1040,1410,1334,1442,1478,1470,1576,1354,1288,1086,1266,1392,1512,1362,1372,952,821,1276,1322,1372,1172,1110,1007,842,814,920,872,965,727,499,645,1072,1166,1180,1204,1220,1512,1404,1072,999,1086,1088,1196,982,896,1414,1290,1234,1414,1316,1220,1152,1288,1152,1106,1230,1212,1418,1410,1136,881,593,609,872,825,860,1148,1310,1256,1262,1250,1098,859,777,956,1382,965,785,631,803,937,805,799,829,1156,1328,1002,766,725,1266,1980,2222,2100,1938,2010,1854,1788,2054,2344,1714,1028,556,547,562,587,666,626,535,425,429,785,768,438,328,404,464,443,649,1038,827,457,603,625,908,1490,1774,1724,1672,1396,1060,1086,1070,1344,1362,1350,928,1162,1530,1326,1068,1056,1216,1090,1007,1054,1114,1214,1168,1194,1440,1462,1368,1490,1500,1498,1364,1320,1534,1990,1968,1590,1464,1428,1344,1520,1470,1214,1302,1186,1476,1892,1668,1460,1344,1114,989,1232,1434,1550,1492,1250,1256,1104,1200,1352,1296,1354,1438,1310,1274,1498,1512,1494,1520,1796,1528,1248,1206,1114,1154,1080,957,990,1244,1246,802,780,837,883,1092,1090,1005,893,961,1366,1366,1282,2190,1438,521,498,544,597,641,729,759,780,774,704,717,873,921,1078,1546,1316,1770,1574,1134,1130,1324,1288,915,893,1312,1408,1228,1240,1142,775,946,910,878,971,1094,1354,1390,1292,1430,1512,1122,1046,1220,1422,1330,859,818,971,762,661,940,1520,1632,1360,1160,1602,1494,1164,1116,1352,1736,1528,1380,1528,1208,996,1078,1030,1322,1328,1238,1520,1380,1328,1522,1360,1140,1144,1324,1396,1390,1336,1116,1258,1418,1224,827,520,533,879,830,795,1148,1218,1348,729,742,897,1046,935,884,927,1026,1092,927,541,584,924,1262,1744,1522,1046,833,768,797,1082,1434,1362,854,916,448,430,539,526,562,847,1060,821,529,600,704,493,444,685,714,508,339,310,259,244,219,282,647,755,806,722,598,838,763,616,476,424,571,576,497,282,191,224,231,239,314,599,1064,631,849,1232,1198,977,889,963,899,979,1268,2010,2320,1618,1364,1328,1450,1970,1620,1060,604,788,1094,705,741,1100,822,673,1058,1272,1196,869,998,759,495,689,1096,1198,1042,1102,981,768,770,730,741,974,1428,1170,1104,1132,1056,783,720,756,738,951,968,708,715,532,777,684,853,1532,2524,2774,2292,2000,1724,1250,1118,1166,1222,1182,1344,1110,961,855,844,918,1130,1370,1356,852,511,791,1026,949,818,744,689,804,1272,1372,957,613,498,761,1560,1260,1122,885,2058,3270,1954,802,658,634,841,924,823,973,960,791,1202,1172,972,691,688,618,462,382,389,468,775,1296,1304,1130,1026,991,1100,1164,1021,741,528,784,1032,843,552,549,678,683,788,724,588,439,411,702,1021,1032,980,1182,1272,1160,733,657,711,695,576,659,709,625,616,830,774,791,961,917,897,918,794,1030,1114,847,944,929,1078,1458,1400,1150,934,1142,667,550,670,624,753,945,1030,1108,1192,1164,1158,1098,939,908,1160,1574,1274,833,828,1070,1420,1308,1370,1722,1538,919,647,1034,1284,1318,1448,744,802,669,644,844,886,731,709,617,435,388,372,326,314,285,306,283,272,262,259,304,352,312,297,295,314,282,272,268,275,293,538,561,383,314,291,315,334,368,357,323,324,348,386,404,410,396,372,346,331,338,361,353,359,362,395,477,517,558,565,566,509,455,446,440,442,437,438,415,395,400,415,403,402,408,402,393,389,401,387,410,441,431,443,397,380,402,423,411,390,396,393,395,404,410,410,428,411,412,416,426,426,424,422,416,426,434,412,395,391,402,399,383,404,397,404,411,407,429,468,523,500,458,447,451,441,473,454,429,435,422,412,404,394,389,389,395,404,408,404,397,397,402,404,407,423,424,413,417,402,408,413,420,441,426,420,417,417,421,430,430,423,415,408,415,404,385,394,377,363,367,375,395,402,395,391,396,403,396,384,377,375,456,539,553,549,534,521,513,517,518,497,515,529,486,437,388,375,371,371,369,363,355,348,341,332,327,314,313,314,322,332,332,314,314,306,306,304,303,306,314,308,311,304,296,296,296,292,305,308,309,314,308,296,294,307,318,325,322,319,326,334,336,333,332,328,330,352,345,369,360,330,333,346,338,332,339,338,319,311,336,326,327,315,314,314,310,307,312,313,315,321,328,357,365,358,334,345,317,307,309,296,306,315,289,283,284,302,332,346,334,308,305,287,321,320,312,320,331,330,314,333,356,352,354,352,341,329,323,314,319,317,333,361,357,351,344,331,329,321,320,318,329,340,345,353,357,356,353,345,332,332,338,342,345,355,362,362,368,375,388,380,369,365,382,362,376,359,357,362,357,353,348,340,338,342,334,326,325,324,316,314,312,319,305,308,319,308,303,299,299,299,299,299,310,324,326,326,326,325,326,322,324,328,324,305,313,312,320,315,305,302,304,305,309,313,319,321,316,339,340,329,331,332,333,326,326,322,320,329,332,332,339,339,343,344,344,349,353,347,365,380,374,377,369,356,357,353,347,338,344,340,359,347,342,359,359,347,333,332,328,318,329,331,336],[1214,1088,778,939,1486,1666,1140,1002,588,441,504,1112,1322,1140,944,680,532,633,808,658,576,502,454,484,546,607,938,1236,1720,1892,1526,1824,2138,1384,1420,1422,1410,2070,1450,598,433,401,685,725,742,1258,1362,1001,1196,1144,865,955,1190,1556,1628,1568,1536,1206,1042,1438,1588,1326,704,712,458,366,358,458,509,621,919,1340,1506,1346,945,546,438,391,408,404,829,1160,982,1026,1050,1112,1342,968,570,780,1410,1214,868,511,894,867,644,557,523,558,466,540,663,656,613,424,516,617,440,401,543,401,356,376,350,324,291,311,336,356,320,348,319,305,318,346,387,420,435,635,708,762,760,922,739,469,332,327,754,1366,1094,1032,1402,1494,1392,855,830,909,1174,1092,568,524,636,648,790,846,789,903,1108,1252,969,1018,990,727,882,1144,982,989,1032,844,620,786,1092,805,611,382,382,515,565,361,347,537,609,639,616,658,805,698,329,325,402,363,369,390,376,345,392,537,861,1044,1670,1908,1250,1100,1560,1872,1542,944,617,968,973,1106,1258,1122,1134,1214,1416,1906,2510,1722,1574,1584,1404,1376,1148,744,697,984,1122,1330,1360,1354,965,525,371,652,1162,1392,987,1314,1918,1824,1510,993,708,803,1246,1208,1044,1028,1450,1208,776,875,1370,1624,1086,857,1084,893,1144,1146,1176,1240,951,1172,1076,611,451,440,437,319,246,314,318,402,553,586,497,466,350,318,299,275,360,378,357,324,362,1084,1424,1234,1190,974,572,448,492,484,397,375,467,425,535,581,1007,1280,951,863,1248,1524,1480,1242,952,1188,1212,917,769,842,1284,1378,1278,1288,1250,1128,1220,1860,1526,724,870,803,553,681,610,1098,1804,1472,1354,1596,1402,1180,1348,1498,1296,1188,1054,1009,1422,1774,1670,1544,1478,1274,1306,1370,1360,1266,1320,1318,1226,1440,1326,1458,1260,1218,1562,1484,1500,1670,1212,1288,1196,612,436,468,546,513,462,412,383,356,411,595,799,839,892,916,1108,1200,919,654,446,361,335,342,349,338,379,451,469,523,634,583,475,608,891,999,1316,1268,1020,722,567,499,632,514,491,885,1370,1418,1322,1192,1182,1038,1019,1588,1690,1262,1170,1122,1208,1194,1072,885,689,894,943,661,762,999,536,496,808,799,679,572,720,832,722,695,711,825,1034,1258,1486,1562,1586,1040,757,896,1024,778,505,363,326,481,700,836,1116,1262,1444,1532,888,610,800,725,658,618,655,818,974,1088,1176,1424,1284,1226,1022,769,795,1054,1346,1378,1300,1434,1416,1510,1432,1340,1428,1064,1058,897,1011,1188,829,984,1512,1356,1058,865,970,924,810,854,885,881,1056,1252,1005,907,1146,1174,1138,1266,1008,846,1290,1186,1312,1554,1628,1374,930,1023,1392,1438,1488,1694,1588,1466,1400,1416,1524,1602,1628,1572,1572,1308,1216,1208,1158,1102,891,572,473,650,848,901,796,572,635,1070,1508,1720,1686,1356,912,977,1134,1518,1578,1442,1546,1528,1278,1056,1194,1678,1846,1538,1142,927,942,1170,1134,1114,1334,1210,1262,1294,808,539,590,937,1200,1088,843,904,1132,1274,1048,688,684,749,993,1158,1060,899,967,1188,1020,828,850,1198,1246,1212,1258,1288,979,573,338,465,688,646,802,1376,1502,1534,1280,1058,904,1100,1396,1300,1108,1220,1396,1360,1476,1308,1488,1168,1398,1394,876,651,849,966,937,933,554,733,976,589,426,483,483,817,1046,1262,1452,1328,1364,1404,1368,1088,714,1148,1192,968,995,1312,1006,552,1000,1272,1028,1298,1434,1286,1314,927,830,659,892,1200,1392,1418,1342,1084,1042,1278,1266,1340,1154,1042,991,697,816,1005,940,763,565,347,595,1156,1092,1158,1048,1002,1324,1376,1282,1512,1528,1134,1130,1184,1296,1582,1386,1362,1282,1274,1196,1092,1294,1226,1108,1134,1176,1148,1406,1290,984,975,963,1194,1198,1106,1318,1348,1454,1306,889,963,1168,1015,1046,1232,1136,925,655,614,1010,1122,957,1150,1388,1412,1028,816,746,1186,1746,2292,2308,2048,1918,2020,1782,1592,2024,1650,1146,620,506,790,1342,998,883,727,473,586,806,683,458,441,576,494,347,493,918,854,554,588,667,738,873,971,1076,1302,1334,1030,896,1230,1602,1544,1188,847,1092,1270,1272,1148,1116,1268,1068,1036,991,1326,1022,951,857,930,1174,1316,1428,1444,1412,1476,1278,1122,1412,1412,1444,1512,1462,1476,1594,1400,1172,1314,1334,1398,1628,1660,1446,1202,1184,1924,2238,1722,1674,1576,1252,1158,1186,1258,1312,1272,1264,1488,1622,1682,1456,1366,1344,1348,1514,1388,1318,1290,1274,1524,1236,1003,860,1212,1488,1038,827,630,439,703,1224,1394,1120,870,1252,1088,625,554,330,385,475,648,814,805,719,688,793,868,740,1146,1366,1528,1188,1126,962,1214,1372,1362,1418,1504,1354,1176,1216,1268,1496,1064,848,701,662,794,983,1150,1230,1602,1696,1456,1356,1318,1100,1030,973,816,956,1274,1148,989,806,738,880,948,1352,1604,1324,1184,1312,1178,1064,1116,1310,1358,1116,1296,1456,1216,1066,1182,1268,1246,1350,1606,1644,1466,1438,1384,1168,1190,1462,1272,1144,1026,977,1019,1064,1216,1094,893,780,1038,1422,1234,720,937,1288,1122,650,669,885,1090,1162,1086,775,918,1084,996,648,653,577,901,1168,777,490,513,567,754,978,1188,1114,561,404,319,348,508,650,695,1048,1534,1382,652,528,752,852,922,672,417,371,352,287,269,269,237,262,328,574,1224,867,744,606,527,415,428,448,518,631,570,270,243,238,274,414,430,603,1180,966,955,988,1160,1206,1068,967,1078,1136,1204,1852,2132,1456,1252,1328,1388,1750,1282,709,581,688,888,539,767,1232,999,1044,1262,1348,1124,890,789,517,491,860,1064,1080,983,1016,1062,693,551,916,1038,976,758,817,1098,1194,961,704,711,832,706,711,595,688,901,750,519,437,924,1710,2346,2242,1820,1838,1654,1064,1021,1016,1156,994,969,957,789,667,568,437,654,872,1354,1384,888,635,660,1112,1222,912,658,1004,1390,1011,581,518,547,575,493,499,936,977,1172,1708,1332,715,667,850,998,1016,913,1066,1224,965,1094,1532,1230,627,415,404,437,530,724,817,1080,2024,2144,1230,783,738,532,632,826,979,924,716,641,618,584,652,553,482,599,554,396,606,980,959,711,767,892,978,1116,989,766,813,1520,1494,960,971,1138,876,778,926,670,786,885,999,814,582,420,571,759,821,1030,1186,1282,1170,789,914,849,1005,655,1019,863,626,865,867,719,835,982,1150,1206,1126,1004,1036,1278,1490,1334,1598,1412,1434,1334,931,1154,1280,1500,1202,982,1100,1354,1530,1272,878,884,694,507,570,594,645,677,566,467,412,390,414,393,332,305,289,274,260,275,426,739,504,321,290,322,296,286,264,276,306,400,462,438,355,401,328,340,355,350,323,337,366,390,383,361,369,372,366,350,330,352,370,368,367,403,491,557,565,566,555,531,489,438,424,445,447,432,410,395,395,403,395,399,403,391,389,392,412,407,414,445,479,503,454,407,402,415,408,403,403,395,393,413,398,426,446,431,412,429,449,436,410,423,426,439,435,412,389,386,395,399,401,408,408,407,417,425,429,437,493,505,475,456,451,436,455,461,455,439,424,414,411,395,379,387,388,395,404,408,404,401,404,408,420,412,401,413,421,404,405,418,408,405,421,422,417,421,426,427,427,425,423,414,414,407,388,375,369,373,371,380,397,409,403,396,399,404,394,377,383,380,462,543,551,557,541,528,513,510,510,499,501,506,477,439,403,372,369,375,364,357,349,343,339,335,323,314,313,307,313,327,323,310,303,302,301,301,302,302,305,313,321,314,287,291,303,291,302,302,307,300,313,313,319,325,325,325,320,321,320,321,321,328,326,324,328,350,342,339,342,330,332,354,352,332,336,339,328,319,333,326,328,325,317,315,321,320,314,318,322,313,324,349,382,377,359,352,328,312,306,298,312,336,321,306,285,305,324,345,340,315,312,319,332,324,320,332,322,313,328,335,335,344,338,345,335,326,339,339,338,338,339,351,355,351,341,327,319,318,324,339,343,330,328,343,345,350,350,338,331,332,334,334,332,357,367,359,369,375,370,387,375,359,359,361,375,367,359,353,353,353,344,338,337,329,324,326,319,316,306,309,306,318,318,304,305,318,302,296,298,299,300,300,316,329,332,329,326,331,331,324,316,324,328,307,305,308,314,303,300,300,304,306,306,308,319,322,330,326,328,337,340,338,336,328,324,319,320,324,328,339,351,347,334,337,344,344,350,347,357,374,379,374,362,351,350,349,345,344,335,331,357,351,345,353,353,344,332,338,323,318,319,323,329],[1162,841,654,576,904,1132,1250,1394,759,460,567,931,948,686,618,599,558,590,749,705,553,524,503,463,628,1036,1448,1654,1768,2110,1856,1634,1408,1084,1418,1030,1070,1518,1354,777,420,443,471,592,974,1598,1252,1078,852,921,984,1208,1134,1312,1480,1272,1132,906,929,1288,1020,704,586,795,563,360,424,444,401,490,1036,1576,1770,1592,1072,491,322,350,317,872,1866,1946,1510,1542,1334,1420,1574,949,443,502,998,923,556,637,1572,1494,1328,1262,728,585,384,381,403,544,634,565,458,526,550,740,689,466,600,438,371,320,296,316,345,339,313,337,319,322,397,427,417,426,405,478,802,1078,1038,905,709,526,434,408,505,583,455,535,849,1190,1072,724,821,1036,1090,809,564,531,582,709,889,876,749,1048,1294,1476,1080,1012,805,731,950,1052,813,1104,1514,1192,1158,969,982,807,546,431,502,630,522,396,474,589,830,1138,1058,812,786,698,402,430,426,348,390,394,349,344,506,907,897,764,997,1694,1638,1610,1778,1622,1072,689,511,615,1144,1368,1176,989,1250,1216,1380,1658,1880,1320,1106,1166,1482,1450,1550,1406,1130,1214,1406,1506,1670,1612,1512,1126,785,915,1422,1528,1196,1488,1896,1814,1498,983,824,1021,1284,1348,1456,1292,868,568,604,786,1300,1656,1266,704,671,671,742,1096,1142,1020,1200,1498,1314,660,398,306,259,241,259,284,380,558,751,910,988,747,327,289,299,307,329,376,364,321,288,810,975,721,926,1058,694,390,509,513,377,458,648,598,464,583,863,1170,1240,1164,1402,1408,1366,995,578,896,968,942,994,749,914,1380,1396,1362,1434,1206,1166,1882,1520,562,670,666,612,518,901,1694,1738,1528,1744,1738,1908,1914,1602,1448,1376,1208,1144,1332,1532,1410,1306,1396,1576,1520,1360,1390,1418,1210,973,928,943,1406,1794,1638,964,945,1442,1566,1764,1680,1160,1378,1228,700,486,480,504,490,477,491,426,306,363,540,786,844,917,979,1198,1096,747,611,501,403,341,335,330,331,349,329,335,388,486,487,448,551,522,539,743,1056,1136,675,472,476,525,487,390,675,1007,1146,1104,1060,1318,973,942,1534,1660,1194,1510,1626,1132,904,1174,1180,930,1030,1156,985,1086,1348,647,479,769,977,888,764,699,736,800,724,888,995,1056,1316,1526,1554,1362,754,607,562,607,577,502,562,621,908,1256,1090,1272,1236,1036,1252,823,514,532,548,531,468,543,580,913,1244,1366,1526,1356,986,656,544,774,1046,1198,1242,959,1122,1380,1856,1838,1366,1240,910,792,845,910,1003,952,1126,1226,1184,1126,604,767,1166,1162,990,1078,1358,1324,1286,1274,910,747,1038,1122,1192,1166,1344,1498,1190,1328,1836,1918,1310,783,561,698,833,1238,1248,1094,1074,1094,1250,1360,1322,1302,1428,1494,1450,1386,1368,1402,1286,888,712,644,535,691,1012,1004,696,754,1100,1454,1538,1494,1228,1222,1636,1852,1506,1138,1062,1332,1358,1130,1146,1346,1630,1638,1184,1104,1260,1298,1338,1288,1064,908,1019,1324,1320,1324,1100,973,1250,1354,889,843,1112,1204,1148,904,782,880,1017,880,701,1126,922,975,1056,1228,1106,1094,1204,1336,1306,1162,1090,946,473,357,416,927,883,1005,1242,1448,1430,1250,1110,932,987,1042,1013,1254,1578,1742,1702,1380,1096,1288,1266,1260,1126,774,916,1116,1118,750,583,475,517,501,504,452,536,597,776,1122,1324,1482,1376,1430,1440,1428,1244,1122,1212,1212,1060,1094,1202,832,781,1210,1164,999,1346,1708,1302,1036,975,992,1054,1098,1330,1744,1574,1152,914,1228,1326,1344,1422,1216,1226,1434,1172,1036,966,738,797,811,426,641,1028,808,672,783,782,890,1366,1706,1580,1236,1174,1356,1406,1638,1416,1628,1200,1168,1386,1206,1164,1100,833,985,1162,1252,1332,1852,1570,1262,1090,1058,1286,1296,1208,1216,1334,1356,1120,767,930,1086,1180,1126,925,754,731,588,464,708,752,921,1154,1126,1046,1046,735,1052,1366,1376,1552,1684,1662,1578,1452,1308,1632,1942,1592,1382,1124,662,736,1148,1098,1110,984,880,880,946,580,477,509,570,510,425,411,533,601,509,450,558,824,837,869,1044,875,1188,1208,1146,1476,1454,1208,1050,1030,1158,1288,1358,1208,1106,1326,1284,1238,1222,1230,1048,1030,1028,1168,1350,1362,1462,1460,1536,1508,1232,1162,1366,1586,1484,1438,1394,1446,1532,1416,1318,1310,1252,1258,1328,1758,1700,1476,1528,1930,1836,1548,1446,1384,1340,1392,1420,1410,1420,1472,1506,1520,1780,1700,1528,1374,1256,1262,1198,1210,1240,1168,889,913,852,797,875,1152,1308,1114,955,715,433,596,941,1098,1070,760,662,369,250,262,478,597,645,818,1015,1076,857,845,850,982,877,1090,1236,1852,1500,1005,1194,1452,1474,1168,1086,1196,1234,1382,1584,1284,1244,1572,1388,1132,861,1028,1376,1478,1542,1520,1764,1456,1366,1088,1074,1196,897,830,1136,1216,1220,955,937,1216,1094,1194,1454,1644,1294,1054,1250,1140,888,738,642,689,794,1182,1238,884,1120,1352,1184,1030,1362,1688,1530,1444,1400,1286,1150,1252,1588,1208,1022,1028,1007,847,710,683,742,871,948,1190,1266,1378,1232,1704,1820,1162,709,980,1556,1544,1178,935,769,1476,1318,1158,1570,1156,598,660,594,479,461,464,525,643,674,756,1104,950,518,383,528,667,705,661,835,1490,1542,781,774,1390,1460,1024,489,386,457,385,303,280,309,345,374,518,782,1162,827,585,484,353,332,394,460,406,415,437,274,330,396,407,523,499,418,681,771,558,430,884,1284,1068,1256,1236,1068,1250,1112,1114,1098,1009,1134,1222,1232,1236,1324,1170,948,1146,1002,900,1254,1332,1360,1398,1280,908,907,1084,773,750,958,843,1108,1074,859,937,780,562,727,1096,1082,745,624,860,965,1060,869,535,631,717,553,504,724,795,944,889,592,830,1202,2032,2484,1952,1656,1224,1162,987,904,1068,1036,929,754,912,928,683,760,833,623,821,1270,1422,1040,937,1160,1108,883,933,1172,1118,966,713,616,679,692,604,542,696,821,778,824,874,810,746,873,1048,1028,716,771,1084,968,792,1015,1140,858,459,433,460,734,1060,1268,1410,1714,1622,991,943,1028,726,500,306,506,848,1226,1064,674,726,1050,744,394,415,417,628,945,935,645,543,561,573,561,1015,826,739,1100,1338,1254,1218,1174,1260,814,631,587,516,712,677,547,513,580,646,775,780,639,714,972,1186,1136,789,725,850,904,841,965,564,673,892,680,764,879,873,898,1090,955,717,847,1106,1192,1528,1744,1560,1512,1102,1418,1438,1394,1438,1420,1250,954,1202,1214,788,689,922,694,471,589,836,852,610,449,520,509,454,460,396,302,289,294,277,255,295,586,976,656,361,283,282,275,269,254,269,313,339,333,292,339,433,352,326,327,338,335,354,385,385,374,354,367,377,375,357,349,361,383,384,373,405,491,565,566,551,558,551,521,460,431,433,463,438,407,399,392,395,397,400,410,407,387,397,417,423,425,460,509,514,478,409,382,395,396,413,410,416,418,422,422,426,430,416,395,424,461,468,441,434,413,417,426,411,387,383,396,409,404,400,409,409,405,439,444,432,472,511,505,497,478,443,439,443,458,441,429,426,423,404,385,392,392,392,411,420,411,401,401,398,426,415,417,407,423,417,405,415,408,407,420,414,420,427,436,441,421,419,421,421,415,409,395,385,384,388,367,390,403,414,413,414,412,401,388,375,368,371,419,524,541,547,532,535,532,500,495,500,499,493,474,450,409,381,378,369,366,354,345,339,336,330,323,317,310,306,309,314,319,314,296,301,302,302,298,298,305,309,304,298,304,316,310,296,302,301,303,301,324,318,306,301,305,314,319,324,324,330,337,334,330,321,330,352,338,326,344,346,337,340,340,325,332,339,334,334,326,337,340,332,330,321,334,323,312,302,293,298,328,337,363,375,379,367,336,312,315,311,321,345,324,297,277,301,321,346,347,326,318,323,320,320,328,321,345,332,334,332,330,352,340,340,346,335,339,339,344,336,339,345,350,352,344,330,321,318,323,327,325,327,331,339,344,351,357,320,329,336,330,334,336,343,361,380,375,375,369,395,379,380,375,365,370,380,380,375,368,350,343,338,331,329,326,321,318,318,318,326,318,316,328,328,319,305,304,313,316,303,304,305,313,328,340,337,332,333,327,332,313,314,320,315,308,306,305,309,310,303,312,310,306,308,312,317,330,339,327,339,339,339,336,329,324,319,319,321,325,329,324,329,332,343,343,347,353,351,356,359,372,379,367,347,344,343,338,345,334,329,347,347,339,351,350,340,326,338,324,321,319,325,334],[764,613,642,852,1298,1230,1348,1272,738,554,558,586,603,570,512,586,555,540,636,750,684,587,586,766,1222,1470,1604,1924,1970,2292,1432,729,492,594,727,609,889,1398,1568,1132,521,482,814,1078,1348,1538,1076,977,708,692,894,1192,1376,1394,1306,1152,1132,1238,1194,1212,877,682,591,658,456,328,384,376,372,826,1556,1356,1390,1306,753,401,323,310,744,1666,2222,1672,1330,1558,1322,1478,1144,579,422,552,709,849,763,1162,1804,1782,1660,1120,840,572,327,332,370,365,416,561,637,625,700,948,820,904,966,641,396,324,321,311,332,346,336,330,321,338,407,433,399,455,515,614,1001,841,835,847,727,662,614,396,390,376,444,486,622,1248,1284,1316,1424,1322,844,512,526,599,661,891,1286,1316,924,811,752,854,781,808,1098,1128,750,644,623,953,1376,1264,1054,910,832,941,776,650,667,610,446,494,570,745,996,1064,993,1134,852,530,482,678,605,520,541,445,419,459,957,1152,839,1152,808,641,1238,1670,1544,1432,1312,1018,852,632,1064,1230,1013,1228,1368,1288,1372,1544,1388,1232,1112,1330,1380,1388,1654,1654,1752,1710,1530,1516,1404,1356,1494,1582,1476,1300,1422,1406,1044,1224,1292,1530,1482,1158,998,1208,1500,1682,1822,1576,1102,690,607,824,1060,1272,1052,1005,783,696,771,861,727,729,969,1288,1318,704,412,289,234,258,289,365,662,993,1162,1370,1268,787,388,290,275,267,275,323,333,312,287,698,1076,805,942,970,643,625,1212,786,527,710,1184,1194,689,587,798,771,995,1292,1132,1086,1212,627,493,586,792,1018,1128,1094,1466,1428,1274,1402,1310,1166,1064,725,554,389,451,683,808,716,785,1003,1498,1874,1876,1578,1678,1722,1418,1330,1484,1440,1456,1528,1370,1176,1198,1218,1344,1494,1320,1252,1064,689,798,832,928,1366,1488,1278,722,549,929,1332,1430,1216,1508,1686,999,611,573,526,440,393,398,481,498,461,422,462,703,827,944,1044,1134,825,506,536,530,430,350,331,310,331,358,364,374,457,488,426,418,420,429,457,511,547,545,505,462,458,433,476,564,1032,1626,1748,1572,1562,1424,1112,1016,1158,1232,808,1156,1418,963,601,603,937,1352,1408,1376,971,1112,1268,788,698,739,858,1094,1238,1182,1002,1042,985,1056,1018,1104,1454,1544,1538,1004,600,504,459,470,426,418,750,1032,1100,1178,1118,1296,1072,693,725,824,781,718,529,438,405,536,672,982,1190,1346,1326,1106,743,532,825,1186,1110,922,1020,615,833,1286,1858,2160,1476,980,886,1242,1402,1042,914,1142,1208,873,874,844,570,512,644,865,854,908,918,807,795,1074,992,823,910,1068,1122,1236,1584,1464,1192,1456,1836,1716,991,933,998,951,828,1156,1174,933,991,1254,1202,1202,1042,698,746,1252,1386,1118,1320,1348,1254,1366,1282,1022,1038,990,888,897,760,1054,1572,1458,1292,1416,1710,1766,2134,2110,1548,1092,668,830,874,937,1282,1334,1360,998,916,1034,1164,1384,1318,1136,1086,926,855,1026,912,1738,1692,1332,1256,1388,1242,1017,1092,872,584,891,1138,906,877,745,775,1352,1130,1018,1196,1514,1490,1460,1274,1108,1248,1282,1310,916,464,408,429,723,901,1166,1630,1910,1390,1446,1428,1300,1150,1176,1282,1578,1582,1416,1370,1206,1274,1460,1340,1606,1578,904,974,963,706,528,421,441,480,524,528,494,622,628,852,1348,1466,1260,1122,955,1200,1506,1558,1444,1294,1538,1648,1272,1204,1042,1064,1178,1202,1132,1366,1942,1548,1250,1262,1218,1156,1128,1456,2016,1578,1404,1028,1252,1246,1308,1432,1276,1192,1188,1180,1086,862,953,1114,1028,596,493,535,685,1032,1126,874,961,1386,1534,1214,1015,1340,1414,1392,1224,1230,1382,1308,1290,1168,1136,1176,821,612,828,1018,1240,1368,1268,1032,1120,751,666,1038,1306,1226,1430,1500,1090,1056,984,989,973,1032,1020,915,792,691,869,879,761,766,1288,1102,965,1196,1272,742,789,893,858,1266,1876,1760,1416,1128,1276,1954,1774,1482,1760,1428,648,503,537,677,883,1118,1448,948,802,530,568,626,535,523,609,480,396,496,486,483,368,471,601,860,763,644,1166,1450,1428,1426,1310,1110,1036,1118,1364,1520,1432,1426,1258,1212,1274,1194,1272,1382,1316,1316,1332,1362,1368,1416,1598,1464,1368,1274,1332,1434,1478,1472,1682,1526,1382,1454,1462,1470,1478,1406,1258,1250,1294,1460,1588,1528,1620,1620,1580,1576,1648,1632,1618,1374,1420,1446,1208,982,1230,1440,1512,1428,1414,1384,1352,1192,965,1046,1166,1124,1190,1478,1312,891,753,1042,1180,1014,1014,835,637,825,916,924,1026,709,356,273,278,305,407,546,647,665,749,948,1010,1102,854,1182,1100,675,718,1128,1146,1304,1384,1146,1014,1018,836,1176,1356,1558,1488,1218,2020,2250,1366,1170,1172,1224,1190,1366,1470,1308,1268,1404,1250,893,1158,1372,902,868,1250,1208,1248,1114,1236,1206,1268,1384,1366,1540,1502,1384,1312,811,792,817,475,430,584,908,990,958,1150,1230,1260,1142,1108,1116,1038,950,830,738,1050,1200,1152,868,869,979,778,516,455,441,566,928,893,771,1052,1028,868,927,1240,1278,872,937,1592,1678,1484,1510,1534,1662,1186,1002,1448,1154,626,611,532,443,463,494,588,484,578,807,1726,1904,1116,688,722,761,750,718,616,1056,1264,766,741,1418,1370,998,684,434,393,438,330,316,346,338,298,277,647,856,701,431,282,290,313,295,292,329,717,773,594,718,1034,878,542,432,354,384,862,1144,515,871,1005,744,1088,1048,680,692,663,850,1028,1005,1204,1252,1160,1396,1542,1224,1168,1172,1216,1356,1404,1312,1140,1360,1534,1096,1021,1338,1172,1084,1206,734,711,738,776,824,840,543,532,668,683,559,611,636,645,1038,901,728,709,711,603,858,1076,819,1086,1002,772,710,951,1692,2554,2326,1688,1314,1564,1606,1456,1262,977,868,902,1242,1344,891,1010,1026,791,812,957,1236,1454,1500,1432,1072,724,929,830,739,871,652,480,508,555,540,441,535,786,898,973,1156,1072,1042,791,816,878,822,893,929,882,862,938,994,829,437,454,751,957,1050,1146,1400,1432,1019,786,918,1124,1060,891,777,680,517,911,1274,1230,1144,1234,993,697,966,1092,1001,831,583,572,524,441,424,532,1009,868,757,1322,1454,1256,1184,941,790,709,884,763,608,703,662,659,730,725,667,625,551,429,437,401,794,768,679,577,818,909,1028,1048,924,1080,1020,926,915,940,907,781,868,984,727,506,805,1106,1088,1338,1578,1328,1340,1270,904,1244,1320,1516,1332,1208,1216,1144,697,709,1008,780,683,683,713,739,627,525,557,558,504,512,481,343,291,297,276,274,300,591,702,586,393,274,273,264,259,255,266,281,300,273,278,302,325,332,340,320,325,360,373,385,370,350,348,352,357,368,373,371,357,379,395,386,410,470,547,560,572,572,547,534,475,438,432,437,434,407,397,382,375,397,406,422,417,389,388,409,437,453,486,526,522,520,455,398,398,403,409,416,420,434,435,426,416,403,411,421,429,461,461,445,424,408,405,413,415,398,382,392,420,439,435,421,413,400,425,456,456,462,511,538,531,496,439,429,452,464,441,427,423,417,411,402,400,391,395,409,407,404,404,405,399,415,417,409,405,421,411,396,414,417,407,417,415,415,417,405,423,420,417,421,427,429,421,404,373,379,388,367,382,392,411,419,414,401,397,392,374,381,394,417,518,535,545,537,527,511,480,466,470,487,494,470,453,419,390,378,372,363,348,339,330,326,327,325,319,313,306,302,306,313,305,296,300,302,302,298,296,304,304,295,296,308,307,301,295,296,300,306,306,310,310,298,295,297,295,308,296,321,322,324,325,333,328,328,338,330,328,340,340,334,333,324,326,333,340,330,331,332,318,308,325,325,312,321,304,302,295,296,306,312,339,369,375,379,385,361,314,302,295,323,349,320,303,299,297,315,345,350,334,321,321,321,331,333,340,349,349,361,331,328,352,348,346,348,345,345,339,339,333,342,352,354,356,344,326,319,325,323,327,332,332,330,336,343,347,346,337,333,317,329,333,336,344,343,373,369,382,366,379,385,374,371,369,371,377,377,368,360,337,349,343,333,327,326,322,318,321,326,324,319,320,325,322,322,302,312,321,318,303,298,298,314,338,331,330,333,327,318,332,318,308,312,319,315,308,309,310,327,313,314,313,313,314,315,321,327,323,336,345,339,337,327,323,327,313,318,323,327,320,325,321,333,348,351,351,351,355,357,363,359,379,367,343,340,340,343,338,334,327,334,355,340,343,351,340,325,331,331,329,319,322,334],[586,550,959,1420,1620,1434,1290,849,533,592,549,552,585,600,535,532,539,578,552,655,738,689,694,707,1070,1440,1410,1820,1838,1766,999,534,525,553,497,474,680,1066,1028,1001,683,439,606,910,1522,1992,1942,1438,971,836,1164,1786,1630,1176,1160,1520,1362,934,809,1126,1238,777,403,314,269,289,347,291,340,924,1544,1090,1018,847,463,337,356,308,512,1284,1714,753,689,1054,1584,1502,890,679,635,725,888,1011,1040,1042,982,1136,1172,927,840,786,413,313,353,379,481,604,571,642,802,1004,1080,1748,1072,796,547,340,252,262,351,402,359,332,340,368,377,382,383,424,372,519,921,801,1052,1522,1134,1005,1046,517,346,341,440,523,499,977,1128,1001,858,730,615,603,631,649,577,871,1692,1748,1444,1174,1016,905,677,623,1038,1122,695,561,630,767,728,786,947,898,675,837,1122,953,763,581,562,570,741,758,1032,946,962,1478,1074,457,483,744,969,922,930,779,581,853,1070,1096,1236,1252,963,686,739,986,1172,1358,1300,1050,1036,904,1194,1236,1116,1360,1252,1130,1160,1154,1294,1444,1326,1614,1278,1510,1568,1444,1648,1776,1728,1676,1470,1382,1300,1490,1518,1346,1348,1298,1166,1230,1394,1482,1534,1580,1406,1274,1284,1500,1714,1732,1512,1208,865,1036,799,597,708,959,1046,1120,1174,908,493,422,558,748,1076,675,281,235,221,237,330,502,987,1274,935,993,1200,823,533,315,267,310,278,278,315,329,294,516,913,773,933,872,733,661,788,685,677,619,943,1348,850,570,1001,797,1044,1428,879,1334,1430,932,719,890,998,879,881,951,1320,1100,792,1244,1414,1064,662,498,498,461,459,669,764,743,741,915,1610,1730,1570,1300,1406,1518,1340,1436,1556,1596,1724,1504,1506,1444,1320,1256,1362,1416,1272,1074,1036,1264,1202,871,943,1074,1146,1030,694,417,461,910,1428,1388,1488,1194,661,641,620,626,590,553,436,554,634,613,557,548,638,653,670,767,766,576,451,483,492,420,427,413,403,400,361,376,446,474,418,389,409,469,478,456,434,485,521,456,511,554,517,659,735,1048,1456,1842,1992,2080,1162,1194,1372,1232,1282,1228,1194,1198,1414,1732,1230,1086,1768,1714,1220,1246,1476,1352,1094,730,550,882,1154,1214,1208,1422,1274,990,1134,1090,1260,1538,1626,1308,828,705,455,468,518,516,483,653,901,1086,1036,1088,1148,866,564,668,641,597,724,747,495,471,585,672,1046,1400,1228,907,945,1120,1478,1462,1110,850,678,866,1180,1578,1422,1608,1888,1394,756,819,1194,1262,932,684,771,721,514,577,625,547,411,419,431,479,528,539,587,486,595,828,825,844,866,871,1130,1444,1438,1252,1346,1428,1302,660,754,1158,811,712,913,937,666,910,1188,932,615,512,346,542,990,1048,1322,1438,1230,1028,992,996,999,1312,1484,1434,1350,1282,1344,1474,1620,1278,1290,1698,1576,1454,1412,1450,1174,871,1208,982,1326,1466,1066,747,585,680,685,744,981,1144,1092,1272,995,641,574,806,1552,1292,1096,1348,1560,1438,1148,1026,790,579,860,1274,849,653,775,1038,1316,1166,1108,1386,1432,1382,1366,761,1058,1460,1356,1017,758,509,481,480,741,1130,1354,2078,2316,1744,1772,1288,1204,1412,1418,1578,1752,1442,1100,1158,1252,1172,1386,1338,1648,1450,1184,1112,1021,822,676,514,462,396,470,681,1023,883,788,984,1144,1494,1206,1064,1110,1282,1538,1648,1442,1464,1512,1268,1250,1238,1146,1472,1286,1062,1044,1156,1158,1056,1108,1144,1100,1084,1174,1528,1670,1528,1328,1260,1388,1478,1456,1306,1296,1260,1210,1076,890,1058,940,579,814,818,634,673,1438,2064,1352,760,1092,1142,1142,1320,1148,982,1138,1440,1200,1064,1098,1136,1218,1246,1240,1170,792,926,1390,1102,1192,1384,1013,993,1122,898,901,1256,1322,1276,1626,1410,1080,1114,835,883,1178,1434,1558,1392,786,675,1240,1284,936,1068,1426,1206,1172,1224,994,555,369,537,874,1176,1910,1572,1454,1546,1698,1616,1200,1068,1556,1278,433,405,691,753,804,764,785,880,775,910,916,666,535,464,517,393,327,635,1094,1180,491,342,454,592,573,977,1442,1328,1116,1046,944,1001,1216,1196,1410,1484,1350,1438,1476,1416,1350,1252,1220,1386,1476,1550,1454,1298,1292,1346,1428,1358,1324,1312,1422,1528,1268,1890,2730,1930,1612,1410,1384,1434,1376,1382,1288,1240,1346,1804,2004,1622,1512,1490,1516,1506,2064,2120,1824,1450,1538,1458,1126,1210,1472,1654,1638,1388,1332,1418,1280,1030,888,935,1030,1154,1242,1328,1122,697,630,777,835,941,1108,957,731,663,565,594,662,493,322,307,315,310,311,356,497,582,570,702,993,975,749,850,807,604,682,865,793,1302,1346,929,800,860,921,1250,1380,1264,1084,1060,1432,1594,1360,1136,1288,1094,1198,1344,1282,1070,1180,1334,1230,1108,1110,1048,606,1060,1888,1888,1322,1304,1284,1358,1450,1250,1214,1410,1574,1524,1534,1694,1442,1278,1068,845,874,1142,1268,1288,1270,1054,1116,1350,1296,1318,1196,875,865,796,903,1134,1208,1016,619,571,781,769,547,606,1000,1146,1206,958,644,578,517,594,1058,1528,1246,868,1444,1930,1836,1710,1762,1250,730,644,807,786,612,597,522,451,504,529,615,716,825,1078,1686,1870,1514,1094,850,890,957,1122,1112,1584,1700,1036,599,598,677,1026,1064,567,321,487,327,308,312,304,299,249,374,437,340,288,303,293,283,358,362,573,1112,1220,980,998,1410,1338,767,330,307,467,1532,1578,830,1098,968,971,919,951,750,647,659,736,879,1042,1318,1284,1210,1428,1574,1268,1178,1218,1188,1244,1324,1172,955,919,1014,1022,1054,1222,1430,886,700,442,382,397,465,923,1246,916,530,365,429,439,852,830,1048,1060,774,824,927,736,849,1716,1700,926,1176,736,758,659,912,1176,1950,2374,1874,1468,1490,1190,1220,1218,781,949,1380,1318,1042,728,767,685,808,866,628,757,1162,1510,1634,1714,1478,969,602,671,800,710,575,607,688,639,470,550,714,747,694,1013,1216,1174,1064,1130,1084,1026,966,1046,1078,1012,1078,1236,876,430,549,1274,1622,1482,1450,1664,1726,1500,1154,831,899,1021,1256,1318,1124,828,836,988,1320,1604,1534,1322,1106,1068,1074,684,598,585,778,589,428,463,694,993,753,643,1050,1122,797,681,589,495,512,877,979,887,865,846,938,1022,807,499,500,430,411,437,502,575,510,462,601,813,771,1023,1172,1144,738,997,1276,1144,1002,860,791,819,775,550,424,622,926,1086,1332,1526,1342,1246,807,1168,1328,1312,1364,1244,1216,1184,1432,893,880,940,803,741,697,536,468,501,485,526,576,516,600,622,381,287,312,322,305,345,370,391,414,329,291,297,274,260,269,270,269,266,266,272,285,290,318,409,401,318,356,381,385,363,338,343,346,361,395,404,370,357,395,401,398,410,466,542,555,557,555,552,530,479,450,444,440,443,402,397,391,373,391,413,425,419,397,389,408,440,475,481,526,532,536,469,412,401,432,446,430,406,411,426,428,413,416,408,437,458,465,465,447,417,401,398,399,413,411,385,380,409,451,464,432,423,420,431,472,474,447,483,532,542,529,460,441,487,487,451,444,432,419,420,404,396,396,397,403,405,401,414,414,405,403,407,405,411,424,417,403,411,396,399,414,414,409,405,407,421,432,423,412,437,417,409,413,375,375,375,379,371,379,409,414,407,405,405,401,397,395,405,430,501,532,548,541,527,512,495,466,462,482,489,481,451,425,397,381,374,363,352,341,335,342,335,326,320,314,308,302,305,307,301,293,298,302,304,298,295,302,300,300,301,307,308,305,298,294,298,302,301,298,291,308,302,303,288,309,328,320,314,319,322,330,331,332,320,321,328,328,320,325,334,315,318,319,340,337,324,339,339,332,320,314,314,312,285,289,298,297,305,315,322,357,349,355,382,379,337,316,317,340,353,314,298,307,303,310,339,346,332,321,321,326,337,335,349,344,350,344,318,324,349,346,352,349,346,339,338,338,328,335,354,360,354,345,329,320,336,332,332,325,333,348,352,348,343,332,335,331,319,325,330,332,339,332,348,374,389,369,371,384,382,373,369,360,362,365,357,360,336,343,343,334,327,324,319,319,318,319,326,325,326,330,334,327,306,297,305,303,290,289,297,312,319,339,330,326,327,343,337,318,312,302,314,325,314,314,306,318,313,312,312,312,317,321,325,325,327,333,335,339,332,319,319,316,327,321,316,320,325,335,346,357,348,351,351,353,357,360,351,367,378,366,353,336,330,336,334,332,331,325,333,315,324,350,337,320,328,335,338,329,324,310],[691,763,999,1338,1516,1484,1200,546,409,504,549,581,558,546,555,583,569,559,547,695,1004,868,639,437,555,1066,1392,1732,1762,1876,1490,921,988,1003,728,513,530,996,1212,1032,656,490,462,713,1256,2068,2124,1302,970,1056,1670,2272,1772,1036,1290,1830,1432,764,755,1330,1376,808,440,322,337,359,331,426,734,1058,908,641,810,828,545,357,346,567,1096,769,940,541,424,747,1584,1404,929,978,1030,987,1036,980,1040,1124,816,824,908,844,883,716,377,362,512,466,456,562,446,613,1026,999,1536,1638,872,689,693,529,319,287,313,324,305,319,317,311,352,390,372,327,450,781,1100,1284,1194,1304,1278,1094,923,467,426,499,456,422,401,560,598,495,451,497,624,738,655,634,570,763,1460,1686,1504,1538,1600,1278,781,433,635,1006,619,670,832,901,772,935,940,823,622,661,943,995,1108,1124,821,733,816,811,976,759,938,1356,803,457,542,779,1132,1252,1172,850,792,1076,989,1250,1294,1004,1144,1284,953,910,1202,1242,1132,839,917,1028,1106,955,1196,1290,1204,1148,849,641,877,1096,1018,1168,980,1084,1040,1198,1438,1510,1816,1930,1792,1756,1540,1322,1406,1294,1346,1166,1310,1508,1528,1616,1762,1698,1570,1334,1450,1550,1740,1814,1744,1666,1370,1084,681,558,721,821,769,996,1332,976,483,335,347,617,921,580,359,357,278,285,334,552,1144,927,956,914,1094,1172,780,362,349,418,306,268,259,262,273,373,677,619,522,858,970,774,539,515,891,781,663,697,522,527,1120,1006,1098,1142,1106,1248,1244,1242,958,886,762,737,733,898,875,1192,1190,1294,1676,1250,600,703,1084,1058,549,458,508,495,811,879,833,784,778,945,1202,1148,1260,1596,1430,1406,1524,1394,1282,1162,1228,1412,1504,1462,1342,1078,1112,1450,1130,1504,1406,969,847,948,833,622,568,936,1400,1400,1116,653,573,657,675,702,695,746,520,602,663,584,467,475,657,827,807,621,464,453,564,559,505,470,535,600,625,537,473,539,522,511,507,556,679,811,606,435,409,470,527,554,565,502,530,708,687,677,603,591,890,987,768,1314,1594,1466,1942,2242,1780,1140,966,1252,1230,1074,1424,1200,1050,1440,1498,1284,1388,1198,812,944,1260,1080,998,1584,1202,940,927,987,1382,1570,1512,1152,930,738,374,368,645,573,518,597,718,902,891,763,745,647,689,1122,861,823,915,1134,850,748,962,878,1032,1418,1292,783,1082,1464,1456,1270,1206,969,665,808,1186,1376,1296,1186,1098,1204,889,959,1070,747,987,860,544,425,413,543,844,797,329,371,497,380,369,487,521,531,451,725,919,850,825,959,986,1198,1350,1170,1200,1212,895,626,544,524,439,480,669,887,791,647,796,1080,567,439,393,590,771,953,1242,1274,1066,888,872,960,569,897,1218,1013,1206,1478,1446,1520,1566,1428,1464,1542,1616,1384,1306,1426,786,766,991,931,1530,1412,1094,903,677,580,485,461,562,911,1532,1362,1056,698,432,586,937,1040,1174,1252,1526,1550,1066,885,1058,622,792,1150,950,1019,1200,1364,1328,1076,1116,1432,1386,1250,1136,722,811,1194,1520,1670,1052,526,596,611,626,611,1188,2220,1812,1808,1970,1314,1142,1210,1356,1614,1574,1234,1090,1170,1214,837,952,1124,1354,1272,1550,1708,1394,1292,1338,1230,877,625,546,999,1630,1572,1372,1280,899,869,1048,1366,1636,1616,1644,1688,1400,1362,1342,1260,1130,1266,1272,1488,1178,801,883,1142,905,743,1080,1500,1152,1160,1068,1224,1306,1060,713,1086,1404,1478,1432,1346,1224,1046,974,953,822,1212,1192,996,915,910,872,886,1490,1854,1074,702,791,974,1114,1074,901,696,852,1388,1258,1098,980,1056,1260,1268,1298,1196,1018,1094,1372,1246,1384,1628,1184,1158,1500,1488,1342,1350,1392,1466,1562,1300,1346,1262,872,938,1150,1102,1266,1182,568,737,1116,1100,1050,1256,1242,1426,1530,1238,839,716,439,563,1044,1224,1084,978,1340,1326,1172,1016,960,1084,1084,988,460,497,1324,1240,1078,1102,1090,1048,834,917,855,621,487,459,401,309,295,535,1316,1484,726,393,485,529,547,1034,1322,938,832,1136,1140,1210,1250,1554,1556,1376,1306,1322,1352,1166,1160,1252,1310,1350,1242,1256,1070,933,1080,1328,1360,1274,1218,1152,1272,1420,1344,1456,1516,1488,1450,1250,1302,1396,1368,1346,1226,1212,1272,1494,1476,1490,1644,1440,1490,1384,1974,2076,1642,1232,1302,1336,1184,1234,1238,1504,1546,1378,1380,1400,1316,1208,1182,955,1072,1300,1216,1288,1188,703,646,585,489,590,1148,1102,751,480,374,326,309,320,339,330,308,339,366,356,406,550,586,795,1042,850,662,689,608,615,1086,1452,901,926,933,1238,1152,764,849,1184,1216,1086,1060,1084,998,858,1254,1238,937,976,1300,1330,1356,1318,1378,1272,1250,1246,1250,985,669,1216,1666,1656,1216,1084,1202,1404,1312,1242,1288,1480,1574,1536,1334,1254,1222,1646,1488,1090,1194,1312,1282,1026,1204,813,1088,1584,1720,1420,1282,1042,1108,1122,1072,1304,1252,1104,659,785,1003,1186,1196,1116,1240,1166,1242,953,533,599,578,593,1003,1472,1334,894,1230,1782,1908,1642,1216,866,733,583,505,523,560,536,538,539,539,608,784,1188,1378,1222,1054,1368,1504,1016,858,1007,1058,1194,1400,1660,1478,1068,785,697,724,960,1050,920,397,239,232,308,552,780,633,422,357,347,303,278,325,375,384,435,433,882,1212,1474,1236,858,958,1074,609,301,336,397,912,978,1038,1146,1098,1038,983,1156,1280,1126,942,973,866,1092,1190,1218,1072,1260,1452,1320,1156,1102,1166,1392,1470,1268,1216,1090,1002,828,831,892,875,955,780,336,368,322,462,777,927,835,715,681,655,557,687,1007,1632,1566,647,639,784,708,951,1466,1360,1021,1284,750,576,618,631,594,1170,1980,1744,913,783,948,1632,1328,767,1030,1310,899,432,423,537,778,1004,883,813,949,1038,1400,1676,1648,1378,1104,1038,974,886,803,869,998,1088,1028,747,605,755,882,922,1007,1124,1072,990,1086,1116,1096,916,978,1064,1003,927,954,714,438,617,1198,1492,1622,1742,1746,1678,1592,1324,840,705,750,974,1160,1142,1122,1038,784,858,1040,1174,1356,1108,868,825,812,674,655,800,744,568,507,658,799,552,600,701,719,631,565,653,685,742,981,890,661,627,991,1426,1620,1324,616,562,484,433,457,430,431,486,477,706,905,776,1176,1176,793,653,857,1028,993,925,879,831,883,832,658,514,480,537,919,1378,1238,1098,749,877,1398,1356,1320,1282,1188,1064,1480,1516,806,822,871,689,704,897,788,528,484,586,918,959,566,508,468,358,303,301,332,343,331,301,306,340,377,360,372,354,279,281,270,271,286,278,271,281,273,398,739,553,340,322,361,351,342,333,335,334,337,394,440,437,404,400,416,422,432,476,517,552,549,537,539,519,502,482,459,443,439,407,397,391,387,393,419,433,425,409,405,411,447,495,480,513,527,535,482,428,412,414,417,422,424,428,420,438,419,426,410,424,451,460,462,452,430,389,394,400,404,400,383,372,392,436,456,433,429,431,441,487,507,460,474,530,525,540,497,475,499,507,472,451,435,420,429,409,395,389,396,397,407,409,417,421,407,403,404,411,414,414,411,409,405,396,415,414,404,405,413,420,423,430,427,423,413,407,423,413,411,395,371,383,378,371,397,409,412,409,409,409,398,394,411,439,461,511,541,538,528,501,500,471,445,465,486,480,457,437,405,392,382,369,356,351,348,348,335,327,321,318,310,302,301,301,297,295,296,303,306,301,300,296,293,294,305,310,303,300,297,295,295,294,300,302,305,302,302,302,289,300,315,320,321,319,321,328,328,320,327,328,334,337,340,339,324,324,318,313,332,340,340,349,333,321,324,324,314,305,295,290,300,302,295,321,312,346,345,358,365,381,371,343,331,343,346,326,323,304,312,318,333,353,340,326,326,351,335,332,334,317,339,334,311,314,333,346,344,355,347,339,344,340,334,339,350,356,346,334,327,314,338,332,332,327,332,348,350,346,344,335,329,332,319,318,320,325,330,343,360,360,357,371,366,378,396,382,371,360,360,368,366,363,351,341,337,329,325,325,319,319,312,319,337,334,326,331,344,333,313,308,309,306,305,308,312,315,311,315,332,325,325,330,313,303,320,313,307,317,308,307,312,313,313,316,319,319,320,323,327,332,332,332,332,339,335,320,318,319,323,322,327,318,320,327,339,360,354,357,354,357,357,360,354,355,364,365,348,339,337,324,323,307,314,320,323,327,339,351,338,318,327,333,338,326,326,294],[664,977,1106,971,1170,1056,654,429,372,425,477,495,517,558,568,541,555,662,673,705,634,526,487,390,336,662,1154,1558,1628,1918,1876,1384,1446,1530,971,641,513,791,1118,861,633,541,531,957,1392,1560,1338,1202,924,1156,1436,1562,1496,1488,1732,1522,952,942,1340,1394,1100,941,677,571,430,482,495,583,903,851,564,598,948,1136,802,487,459,570,1007,690,464,397,535,1110,1874,1704,1340,1578,874,616,881,1072,1076,693,367,469,481,753,912,587,341,390,510,414,429,872,778,759,1082,865,820,736,696,619,608,647,554,339,259,212,236,318,346,363,370,361,365,459,662,570,551,1088,1356,1300,1526,989,540,400,505,611,572,451,619,819,587,543,655,567,777,787,598,482,433,651,1190,1436,1186,1194,1392,1262,683,436,756,1224,898,944,893,714,701,745,659,687,683,849,1296,1324,1001,1066,946,767,464,552,649,552,1026,1256,589,394,639,1042,985,1182,1238,785,944,968,1028,1342,1278,1032,1156,1384,1238,998,1054,1240,1164,732,745,883,945,1130,1166,1286,1476,1540,1306,1104,898,781,700,579,542,543,880,1354,1296,1316,1804,1484,1534,1814,1838,1676,1504,1456,1390,1330,1570,1538,1360,1632,1762,1644,1534,1464,1532,1660,1674,1590,1698,1600,1384,1136,937,636,750,720,780,904,1388,883,399,332,287,529,664,647,676,555,325,299,295,537,1240,1044,1086,886,1188,1338,861,349,331,347,298,283,262,257,266,334,619,578,461,643,648,830,840,490,833,896,1044,930,650,492,1016,1382,998,855,1170,1078,1068,1162,876,713,827,1120,1152,973,643,800,1118,1266,1334,1354,1116,863,1138,958,517,418,379,350,574,662,692,757,834,838,932,848,1068,1580,1538,1446,1494,1538,1524,1424,1354,1480,1520,1510,1236,1082,772,1024,1520,1754,1294,999,905,922,880,834,1017,1374,1418,1282,999,611,569,655,636,596,633,610,531,536,498,449,436,473,656,968,1084,836,578,471,705,803,683,628,586,575,615,594,537,572,543,535,596,720,778,810,573,393,466,548,595,635,533,489,446,426,485,504,678,595,393,714,1418,1806,1636,1068,1272,1726,1436,989,1098,1120,835,1202,1158,926,1116,1108,1318,1714,1848,1526,1260,1208,1380,1426,1274,1208,1128,938,789,1136,1506,1528,1368,957,670,456,334,341,533,587,828,955,977,1196,1064,739,556,521,937,1448,938,1156,1112,1036,822,794,1222,1184,1134,1332,1378,1034,1268,1402,1252,1340,1378,1148,741,528,647,848,1176,1308,1544,1612,947,833,858,747,1322,1276,735,420,425,667,876,599,468,536,590,350,310,353,415,570,624,804,811,411,550,822,1186,1780,1786,1412,1284,1062,868,694,539,402,387,653,1024,1082,1252,1182,1130,1340,888,522,387,626,860,885,1142,1216,1216,924,637,514,405,844,1198,1174,1230,1164,1152,1102,1028,1374,1444,1638,1580,1308,1354,1250,807,612,531,927,1440,1306,1002,1028,981,869,771,836,999,1164,1392,1318,1126,792,594,512,444,815,1250,1234,1256,990,823,700,839,846,966,979,867,1122,1426,1352,1096,1080,1064,1198,1322,1086,1122,1013,968,1192,1554,1622,932,438,639,649,565,617,944,1878,1930,2070,1444,1068,1288,1270,1274,1534,1464,1184,1162,1328,1130,797,731,1098,1322,1294,1606,1560,1150,1292,1520,1426,1508,1288,1015,1296,1692,1572,1512,1314,880,915,1472,1580,1388,1448,1736,1568,1412,1264,1274,1322,1238,1256,1324,1130,849,944,1023,1422,1154,1150,1334,1610,1358,1306,1276,1162,1290,1056,751,1130,1364,1538,1518,1422,1200,1196,1194,1138,1066,1204,1284,1268,1162,1108,1072,1112,1232,1140,1044,956,922,1072,1078,956,980,743,1026,1422,1132,1432,1282,1362,1290,1102,987,933,1072,1082,1128,1068,1268,1446,1110,1210,1760,1482,1664,1578,1556,1568,1422,1218,1192,1194,1222,1152,809,560,732,824,869,942,993,1064,1166,1260,1220,1126,1080,1026,828,954,702,922,1474,1220,663,702,955,1366,1626,1028,808,926,990,767,356,532,1144,786,604,820,994,1064,595,534,655,729,451,465,420,328,290,271,742,926,840,713,482,455,493,952,915,1020,1218,1584,1490,1396,1262,1384,1520,1454,1060,1048,1314,1144,1009,891,1228,1374,1116,1068,1004,965,888,1132,1272,1288,1242,1256,1332,1360,1388,1600,1596,1402,1332,1300,1400,1416,1350,1330,1276,1150,1152,1394,1434,2098,2250,1548,1250,1284,1456,1598,1492,977,1054,1350,1290,1260,952,1288,1448,1444,1396,1354,1318,1332,1320,1009,1019,1276,1174,1020,911,738,886,666,594,626,1086,1188,908,583,391,297,305,350,322,307,281,292,309,307,379,585,660,822,983,882,756,645,622,559,891,1136,910,670,597,778,984,955,868,1194,1396,1312,1218,1030,837,630,909,1250,1218,1304,1266,1340,1402,1266,1232,1078,1288,1256,1034,810,1030,1478,1528,1284,1106,1118,1080,936,1050,1280,1136,1766,1618,1582,1384,1382,1742,1980,1632,1428,1426,1056,1076,812,1066,1146,1428,1500,1332,1116,1160,1200,1274,1296,1154,1316,1182,1302,1050,1158,953,1128,1456,1268,973,1074,1212,1058,528,587,507,384,482,901,1186,949,1036,1578,1836,1440,903,695,628,505,434,459,461,519,547,541,639,695,730,1021,1490,1598,849,1224,1038,843,704,802,770,714,1026,1124,854,852,852,743,658,777,854,1058,769,434,297,466,952,1324,1164,737,451,481,418,304,368,424,441,414,864,1204,1186,1390,1312,980,539,518,287,227,326,539,624,836,1060,1013,1060,1186,1180,1144,1280,1136,1134,1246,1208,1200,699,576,984,1434,1392,1142,1156,1118,1116,1268,1300,1244,1190,1282,1368,1212,856,811,1070,1498,1138,451,414,412,803,1028,913,790,691,1034,1078,929,1146,1356,1402,1272,608,926,661,519,849,1090,1302,1316,1332,964,584,472,530,571,826,909,680,486,547,709,1360,1212,975,1046,828,527,383,476,385,778,1002,1188,1204,1100,1136,1312,1558,1604,1354,1396,1694,1494,1056,754,960,1088,1042,1056,960,883,969,1002,1072,1140,1174,1034,1080,1240,1332,1230,1160,1086,1082,1058,987,1068,899,565,838,1282,1522,1694,1710,1642,1620,1524,1256,899,995,873,521,617,688,616,858,932,1092,1040,1204,832,710,762,835,841,670,548,619,584,528,523,670,779,568,542,574,565,664,758,833,703,579,503,463,466,874,1578,1706,1458,1082,575,437,426,473,543,725,1003,971,880,948,857,952,1202,1002,680,695,694,786,852,879,844,836,825,799,747,641,537,436,524,805,1072,903,575,967,1316,1210,1384,1172,1526,1206,1354,1148,856,961,930,698,658,590,505,532,677,644,1102,1128,686,550,445,350,302,286,308,330,298,266,281,402,484,473,443,386,351,346,331,356,389,360,289,276,299,378,509,375,327,321,355,347,352,348,329,326,324,361,437,488,451,416,435,459,469,509,534,544,548,532,547,533,512,502,471,447,422,411,401,391,393,399,407,419,425,417,423,443,488,509,525,527,530,515,471,438,419,411,428,414,430,412,413,420,416,418,403,407,447,470,462,456,435,402,391,409,400,383,384,374,388,436,472,469,469,479,470,487,530,492,476,515,540,536,515,461,461,501,486,472,476,447,431,421,405,390,392,396,411,396,400,413,400,399,404,407,409,405,403,417,390,392,415,411,405,419,421,417,409,413,420,417,411,409,418,407,401,389,380,401,395,375,392,403,403,405,409,404,403,413,422,423,442,493,519,534,528,498,499,466,435,448,486,465,445,437,415,400,389,375,363,360,348,331,326,328,322,321,318,310,306,297,289,289,290,301,301,301,303,297,291,289,291,290,290,294,292,296,295,292,297,294,302,301,308,298,284,301,309,315,326,331,340,340,332,326,324,323,335,342,344,339,332,326,306,300,321,339,349,355,350,349,339,327,315,305,300,292,291,304,296,312,316,347,353,358,355,369,377,363,336,331,346,336,327,323,316,319,329,350,347,334,334,345,339,340,349,335,334,332,315,320,314,337,340,349,350,349,358,354,340,353,352,350,344,334,328,330,336,322,331,336,326,336,345,345,338,332,327,322,320,322,322,327,330,344,364,351,370,378,378,368,392,392,381,369,369,378,371,357,344,339,338,331,327,321,319,314,316,329,336,329,325,329,330,327,319,320,316,309,313,307,319,314,309,319,314,314,325,327,323,308,305,326,309,306,316,318,314,314,314,317,321,321,327,327,323,332,332,332,332,339,332,325,326,327,325,327,325,320,319,326,330,361,356,356,354,354,360,357,357,357,357,356,348,339,332,327,320,318,325,327,329,325,327,339,339,319,326,331,339,334,343,319],[520,810,1268,1004,939,683,462,379,372,435,470,473,514,552,628,722,818,756,558,447,484,853,997,643,293,397,907,1328,1136,1244,1354,1278,1046,1172,1058,960,843,667,838,891,676,572,690,1060,1150,979,798,586,621,973,1084,1338,1776,2092,1992,1420,992,1428,1484,1160,949,1006,890,962,848,761,645,482,604,583,549,968,1578,1654,1296,634,489,465,509,443,385,393,504,1156,1824,1478,1322,1404,591,562,711,902,1058,766,488,337,286,400,521,515,541,437,392,368,727,1238,1074,1052,817,532,626,764,632,651,745,750,872,565,305,256,295,308,338,383,383,305,337,745,910,438,358,752,1320,1628,1652,1378,858,391,497,720,634,720,1376,1462,1017,838,1032,968,1080,980,714,408,287,463,920,1124,887,833,1476,1282,646,405,691,856,933,963,686,401,401,379,427,782,1062,1040,739,750,659,609,845,788,577,522,477,677,1394,1290,639,459,947,1218,1072,1124,910,874,834,568,778,1124,1364,1368,1398,1196,820,874,978,852,929,969,883,740,933,1070,765,1062,1188,1084,1368,1318,856,860,868,559,433,511,922,1248,1136,1092,1300,859,1028,1600,1368,977,1178,1498,1504,1358,1512,1502,1628,1660,1730,1696,1434,1698,1654,1606,1502,1334,1294,1392,1296,1136,969,1140,1210,825,1044,1466,1274,540,309,310,306,309,498,839,741,581,367,329,312,478,998,1196,1064,1188,1354,1228,847,328,319,340,281,302,323,278,259,318,653,893,913,1030,1060,1068,800,328,383,484,589,883,912,639,926,1048,833,1208,1366,1046,618,592,855,743,952,1192,973,882,737,597,1064,1426,1434,1380,1330,1064,781,553,483,456,481,519,496,591,899,1346,1562,1100,1144,1412,1322,1638,1628,1600,1698,1562,1328,1244,1340,1152,913,948,1136,1092,823,1246,1428,1050,1102,1014,686,808,910,927,969,1220,1400,1304,785,651,692,662,542,440,473,511,477,480,451,441,477,486,629,932,872,684,543,583,897,998,930,888,786,626,547,615,560,545,522,487,547,652,703,648,476,407,530,618,540,527,478,476,482,420,403,484,565,501,450,947,1626,1886,1564,916,797,841,658,615,921,990,1326,1632,1150,1374,1632,1404,1464,1614,1302,1220,1088,1224,1426,1384,1226,1322,1206,816,741,1216,1552,1516,1064,706,460,428,499,750,812,736,997,1152,1312,1314,1248,1056,807,594,835,981,877,965,607,505,616,629,767,971,1017,1292,1260,1266,1274,1362,1418,1252,1226,1118,819,511,533,700,1082,1054,791,554,833,944,824,987,1170,1180,1007,488,444,674,662,303,355,326,301,328,338,346,435,609,731,794,677,409,496,611,833,1290,1432,1380,1332,930,625,592,523,391,390,753,1412,1242,829,554,766,944,989,792,596,888,1072,1094,1306,1090,1438,1220,995,682,713,1072,1224,1284,1278,1274,1170,860,870,1262,1922,1692,1544,1524,1388,1360,1282,836,943,1604,1998,1676,1060,1080,1196,1332,1242,1322,1178,1138,979,648,677,912,883,575,502,908,1100,1088,1026,923,790,969,1180,1454,1592,1330,1158,1208,1070,1242,1210,1064,901,1230,1144,688,984,932,890,1306,1572,1498,896,577,847,838,659,628,580,772,947,1110,766,566,931,1284,1458,1642,1306,1110,1254,1372,1152,898,800,1100,1446,1328,1294,1174,916,910,980,1148,1182,1372,1550,1598,1456,1300,1162,849,814,1406,2364,1874,1180,1034,1402,1504,1468,1290,1306,1402,1238,1072,1296,1412,1100,1086,1234,1156,885,1054,1230,1386,1452,1488,1602,1654,1598,1392,1204,1378,1522,1660,1604,1400,1168,1030,1116,1180,1070,1170,1244,1148,1162,1098,943,1212,1244,1006,1052,1066,1188,1324,1120,1078,1152,1190,1500,1408,1156,1056,1128,1390,1152,893,866,1046,1154,1116,1040,1062,856,1142,1064,1290,1578,1348,1380,1352,1334,1318,1034,932,1050,1040,1340,1214,675,431,596,1182,1368,1090,987,816,905,1342,1274,1114,954,655,735,1084,1038,906,1184,1020,664,550,463,752,1282,1128,1410,1224,1040,791,348,618,1534,1404,971,1090,1094,980,559,529,547,431,413,378,314,406,515,457,475,807,1266,1344,1054,642,542,1042,902,1284,1772,1836,1496,1394,1390,1346,1342,1298,986,1072,1152,791,788,546,1198,1406,1186,1102,1220,1184,1202,1280,1276,1446,1324,1158,1228,1352,1304,1344,1432,1344,1268,1204,1328,1484,1370,1408,1302,1196,1468,1546,1314,1488,1476,1232,1198,1376,1304,1490,1494,1110,1068,1368,1408,1372,1178,1380,1368,1306,1572,2042,1722,1318,1306,1086,1102,1216,885,740,690,702,1106,880,983,1110,905,1122,1112,647,372,319,305,327,335,320,301,296,348,385,705,1021,965,943,976,854,673,502,636,608,793,805,752,844,751,613,752,1136,1082,1096,1396,1512,1340,1182,1078,950,1094,1382,1632,1608,1432,1616,1632,1318,1390,1342,1584,1170,911,707,749,1124,1300,1204,1216,1068,922,976,745,967,847,1072,1226,1544,1628,1600,1604,1478,1542,1572,974,727,1252,1462,1488,1336,1598,1614,1274,1066,1146,1046,969,1350,1206,1334,1296,1150,738,726,824,996,1242,1258,1206,1242,1166,1096,761,484,475,802,1104,1368,1398,1102,879,1252,1500,1098,823,761,576,453,448,437,413,414,466,709,983,839,866,703,825,1340,1158,1024,798,715,565,572,670,772,1028,1324,1448,963,451,383,380,415,371,475,717,664,343,587,1068,1338,1442,1028,512,559,445,311,319,379,456,583,1028,1274,1166,1100,1162,1328,689,338,256,299,549,661,568,780,1036,1080,1072,1044,1160,1180,899,719,1018,1238,1244,1196,781,407,827,1520,1554,1178,1130,1034,835,968,1302,1614,1798,1386,1106,1312,1196,1244,1432,1572,1040,457,430,358,548,832,979,1046,846,735,942,1048,1424,1500,921,537,466,789,632,748,938,1144,1432,1306,997,720,477,424,590,670,882,775,684,698,557,652,1056,1070,1112,875,463,333,328,334,341,747,984,1202,1088,1136,1192,1206,1522,1534,1532,1618,1538,1430,1128,1316,1300,1172,1134,1134,1046,1142,1260,1180,1120,1120,1218,1094,1348,1496,1502,1192,1146,966,893,1021,1050,963,744,545,1058,1334,1506,1634,1620,1600,1502,1382,1130,750,784,886,667,797,1038,1084,1136,1132,1050,803,826,767,898,1004,819,693,816,734,526,528,694,674,878,1040,719,648,821,926,902,699,613,656,947,497,481,485,734,1062,860,606,511,483,466,442,469,678,1206,1458,1260,946,1150,1044,1128,1456,1122,769,708,684,765,805,838,880,854,772,754,747,663,601,436,456,865,1144,1064,905,1460,1342,1252,1198,1252,1172,1350,2148,2082,1118,941,963,583,546,485,413,496,729,738,718,641,729,692,490,352,293,282,290,281,263,248,250,347,491,463,406,418,409,418,488,542,540,383,301,294,296,324,371,445,412,330,318,342,355,357,325,312,327,334,390,472,492,469,482,512,520,538,545,534,549,532,528,521,521,495,452,430,422,414,398,397,397,388,395,404,432,426,452,469,473,521,559,562,542,505,452,443,416,408,444,424,416,408,395,418,430,413,402,397,421,439,458,469,437,413,383,388,396,392,388,378,384,438,503,515,534,511,487,479,517,506,480,517,536,534,523,483,462,483,479,462,460,451,449,451,430,401,394,392,389,407,407,392,395,392,407,396,403,404,392,405,400,392,397,409,403,409,412,404,395,408,420,414,430,429,419,409,409,401,398,409,399,382,388,401,411,409,408,398,400,412,418,415,427,466,495,523,527,502,499,475,446,444,459,453,442,433,419,412,402,378,372,367,363,346,333,330,324,320,316,314,307,303,301,298,289,292,300,303,298,295,296,298,302,297,295,288,288,295,301,306,300,295,300,301,306,298,288,307,302,318,328,330,323,326,327,333,324,323,330,327,324,344,339,334,331,334,335,326,347,355,349,340,328,324,317,306,302,296,293,297,301,307,315,343,355,356,365,369,374,376,350,329,348,345,323,321,318,303,315,339,345,341,336,327,329,333,341,343,335,333,325,322,310,328,339,347,349,355,361,367,345,352,353,346,339,331,328,337,331,322,325,340,336,346,346,346,340,335,326,319,325,327,328,335,338,345,363,348,366,370,378,362,372,388,388,378,380,382,375,362,333,345,339,332,327,323,325,332,326,327,338,323,322,322,323,322,319,318,319,322,322,314,325,321,306,314,313,314,316,322,320,316,307,323,311,309,318,313,311,314,314,314,316,321,319,325,311,322,327,329,333,333,335,340,335,329,334,338,328,325,323,332,335,357,361,350,352,354,358,358,358,358,356,350,334,338,332,327,326,329,330,325,321,321,327,332,339,325,324,331,339,337,320,314],[712,697,960,910,811,567,433,383,386,455,525,514,655,764,830,786,655,469,432,469,812,1176,1138,680,363,371,512,915,1184,1132,1260,1042,785,864,1090,1368,1446,1260,1180,1046,872,1032,965,666,510,772,1118,933,645,850,1320,1778,2070,1948,2002,1844,1136,1276,1178,1022,741,554,494,1080,1360,1206,922,557,476,478,742,1240,1626,1574,1374,890,516,488,521,392,377,430,749,1222,1038,908,891,661,586,755,669,589,678,868,941,690,417,368,308,293,467,675,674,634,1002,1018,912,995,585,447,997,1318,675,643,911,1366,1196,794,475,283,270,251,255,262,291,305,407,626,834,510,604,1300,1432,1478,1564,1554,1152,727,668,813,679,775,1142,1092,1080,1162,1288,1220,1050,865,759,498,367,552,1084,1154,924,714,1256,1396,941,571,623,741,1004,1046,618,324,322,355,522,977,1110,750,533,729,810,1036,1216,893,946,1050,825,1074,1642,1156,568,639,1138,1162,1024,976,801,946,633,380,436,651,1368,1416,1264,1144,929,1124,1196,1120,1244,1436,1136,820,789,585,444,925,877,1066,1018,1054,1144,1178,913,604,664,1014,1046,928,767,566,750,1464,1466,1506,1356,691,539,794,1102,1418,1676,1676,1742,1716,1732,1646,1500,1692,1876,1824,1468,1232,1274,1300,1236,1308,1200,1498,1164,916,1023,1256,722,313,361,343,344,253,379,835,971,882,473,390,353,320,569,883,1220,1370,1072,574,440,277,273,248,222,243,254,240,256,308,615,1042,1282,1614,1750,1266,652,450,451,360,276,399,505,777,1122,1180,1150,1496,1204,1274,858,880,1164,1204,1964,1700,540,522,799,1282,1400,1332,1456,1448,1150,1314,893,531,495,496,607,547,430,432,769,1512,1966,1450,1302,1584,1568,1684,1730,1910,2084,1792,1774,1784,1620,894,662,756,1048,1010,1074,1260,1058,944,1104,882,994,1306,1312,1172,1002,1250,1456,1018,519,465,614,767,698,539,483,513,703,734,484,459,458,566,767,935,850,660,520,607,879,963,1054,1010,969,869,593,536,528,560,539,485,476,523,570,507,448,479,621,641,543,510,467,454,496,461,399,430,466,637,645,1224,1910,1758,1198,862,1098,1106,741,554,474,578,1106,1128,745,1298,1306,1312,1472,1238,1086,1050,714,814,1210,1274,1142,1328,860,557,900,1328,1528,1454,916,541,473,439,489,833,937,823,882,1044,1528,1040,691,735,930,886,590,747,1328,1112,615,487,513,521,712,969,932,1260,1302,1126,1011,1380,1460,861,1098,1056,1015,786,560,535,568,615,478,420,744,802,755,854,946,1296,1196,531,506,753,583,324,336,348,314,319,322,349,427,533,583,563,573,449,439,491,571,623,603,877,1150,1074,733,669,571,421,505,677,1168,1206,727,509,533,726,1019,1136,1176,1256,1218,1228,1296,984,1130,1298,1106,863,1026,1076,1174,1228,1174,1250,1250,1078,1020,1256,2036,1524,1444,1060,791,1002,1056,1100,1394,1588,1936,1700,1584,1180,1250,1498,1538,1756,1296,927,974,786,960,1168,940,651,525,821,948,962,1120,833,915,1460,1172,883,1154,1244,1376,1410,1396,1204,1278,1282,1214,1354,933,639,1192,1518,1426,1316,1548,1438,855,760,868,790,541,374,401,324,539,1104,1120,735,691,1004,1334,1532,1518,1482,1448,1572,1270,953,731,686,1170,1162,887,965,747,616,515,624,748,1023,1254,1478,1494,1520,1202,726,768,1426,2240,1544,1244,1180,1186,1282,1322,1122,1182,1260,1192,1192,1292,1208,967,824,1118,1024,1296,1470,1428,1562,1554,1390,1500,1644,1510,1174,1426,1710,1806,1640,1192,1168,1174,1036,1182,1060,672,943,1236,1244,1124,1007,1026,1290,1252,1158,1274,1296,1300,1356,1068,962,870,1304,1656,1574,1554,1860,1664,1274,869,781,1118,1050,1154,1356,1060,1362,1036,1206,1160,1156,1406,1370,1230,1354,1556,1312,744,971,1180,832,1060,896,611,456,904,1252,955,1160,1344,713,808,919,1011,1260,1204,877,905,1368,1266,1026,1156,1048,571,386,556,714,658,912,1472,1660,1398,834,291,603,1500,1522,1160,1126,1204,867,640,665,661,547,594,511,415,650,1054,933,519,610,1188,1550,1396,705,662,744,877,1354,1688,1596,1512,1498,1384,1368,1234,1290,1306,1410,1340,1306,1009,702,919,1046,1180,1238,1370,1336,1226,1110,1174,1364,1202,1096,1334,1426,1366,1378,1380,1334,1230,1166,1260,1476,1354,1360,1344,1332,1664,1618,1382,1274,1234,1180,1288,1202,1050,1340,1278,1106,1216,1320,1362,1452,1410,1322,1270,1270,1650,1708,1448,1394,1238,1472,1406,1158,797,714,779,786,1001,1246,1624,1396,819,1014,1172,725,293,294,314,366,365,355,341,354,394,629,995,1092,941,1007,1082,692,462,495,612,709,1038,1134,861,814,962,1124,1118,1656,1648,1550,1682,1464,1126,996,1120,1292,1312,1388,1432,1480,1508,1650,1920,1334,1196,1494,1406,882,652,495,494,797,1152,1384,1538,1512,1210,670,529,818,792,858,1108,1374,1592,1670,1614,1440,1454,1172,529,307,777,1234,1228,1248,1430,1416,1342,1428,1270,846,775,930,1224,1258,1044,1021,764,525,729,977,1264,1334,1034,794,818,1018,1044,1038,1632,1786,1664,1726,1456,1290,893,935,864,666,662,728,570,480,462,428,434,486,683,979,1388,1128,889,690,1252,1324,1316,1286,1066,909,957,680,741,844,1002,1152,1658,1028,447,373,357,360,443,419,463,606,555,493,858,1236,1568,1021,473,583,565,408,333,380,482,792,1116,1188,1322,1254,801,886,974,601,449,654,734,984,1134,1058,988,1088,1058,1342,1390,1334,967,772,915,1276,1338,1017,822,715,1092,1206,1388,1444,1248,1054,815,669,1136,1736,1654,966,706,1166,1140,1360,1466,1334,864,474,389,386,443,681,1002,1220,1230,1064,1028,1116,1136,1068,932,701,421,571,732,1198,1186,1108,1168,1186,920,568,627,634,504,982,1366,938,733,659,614,791,639,615,844,674,791,640,537,414,460,724,1062,1248,1136,1158,1050,974,1394,1494,1584,1438,1280,1382,1218,1316,1402,1300,1104,958,999,1148,1352,1488,1202,1144,1074,1194,1452,1338,1206,1086,1118,1100,1008,1162,1124,903,681,547,1044,1200,1198,1258,1380,1362,1224,1170,1086,985,1007,1096,1108,1108,966,870,875,875,800,850,982,985,1058,1476,1726,1184,998,725,527,606,674,563,944,1196,933,921,832,610,525,448,485,683,1046,582,465,564,558,536,563,657,717,687,660,716,803,980,1224,1068,1094,1150,1300,1238,1318,1312,1104,821,597,655,709,696,738,832,811,771,752,672,607,570,462,842,1472,1284,1102,1412,1692,1278,1334,1152,1316,1290,1498,2182,1918,1260,1102,863,521,456,437,377,391,511,520,576,679,617,506,402,336,323,290,270,284,267,260,255,264,297,283,312,427,585,717,615,613,515,364,364,357,303,292,361,499,531,417,278,314,330,348,337,330,337,338,354,437,519,527,532,552,534,522,539,546,555,536,529,539,536,500,466,451,444,424,400,398,397,387,397,395,399,413,456,493,499,509,544,541,501,482,444,446,413,422,416,426,426,408,390,404,416,414,412,408,421,422,461,474,448,420,395,391,395,394,385,379,377,409,486,532,562,554,528,515,529,515,487,503,538,551,528,496,466,467,473,466,455,458,453,439,420,392,400,399,386,404,401,396,395,382,409,400,394,395,400,409,389,415,411,409,409,408,405,409,424,425,412,411,413,411,411,404,398,415,397,411,404,390,386,403,408,409,406,395,398,400,401,405,421,448,469,512,519,506,501,484,462,445,446,444,440,434,424,415,418,387,372,367,370,365,342,337,326,319,308,308,314,315,315,303,290,292,298,301,296,295,297,306,292,304,310,293,290,296,293,283,283,292,296,295,296,295,290,315,303,315,323,323,320,324,324,321,321,328,328,332,344,323,327,333,349,330,317,322,345,364,355,351,339,331,325,315,302,293,296,294,299,307,314,341,359,355,363,356,372,368,347,327,339,342,315,311,308,308,325,322,334,339,341,346,350,341,346,334,347,347,345,331,315,331,332,349,346,353,358,361,347,347,346,340,333,320,313,325,314,325,326,332,333,336,340,340,339,336,324,320,320,320,326,331,340,340,354,352,363,363,375,368,366,383,383,383,385,383,378,384,352,338,322,320,326,329,330,329,311,310,325,316,332,317,320,313,326,319,321,326,326,314,320,326,306,314,314,314,314,309,311,310,304,303,305,308,304,303,313,314,314,318,313,314,313,320,311,319,327,328,334,332,326,326,326,326,323,307,327,328,328,336,338,350,361,351,352,352,358,358,358,358,354,343,348,339,322,327,323,313,305,306,316,319,318,329,336,332,332,332,344,339,325,321],[1004,678,810,1254,981,520,471,505,466,554,682,847,899,803,779,565,593,529,449,579,885,1146,1056,797,387,503,789,893,1130,1268,1450,1016,739,918,1100,1306,1368,1382,1152,1034,1292,1652,1436,745,726,1438,1838,1278,601,932,1454,1654,1826,1654,1868,1730,1036,969,842,695,505,443,503,824,1164,1246,718,467,384,418,503,758,1110,1108,1378,1522,1054,703,497,379,325,502,1130,1116,1168,886,717,783,744,711,608,538,515,716,1322,1418,856,451,335,293,381,1034,1218,940,873,1066,1015,852,468,381,559,529,526,539,741,1186,873,810,786,378,391,408,278,247,306,312,465,449,525,699,1230,1542,1306,1354,1578,1282,1048,683,665,689,891,677,532,528,714,1100,1262,1244,1120,769,781,686,478,611,897,861,827,754,736,882,865,888,879,683,935,968,487,368,343,310,404,511,593,593,670,691,759,1019,1160,694,573,971,1009,1122,1224,825,595,654,820,701,558,613,803,874,480,344,387,491,786,974,1138,1172,1204,1118,1082,1296,1340,1242,930,794,784,662,629,987,868,689,764,1060,1106,1092,1086,961,792,1174,993,739,676,807,1672,2602,1980,1416,1662,1470,656,474,583,711,1128,1586,1722,1644,1582,1454,1484,1822,1842,1662,1328,987,933,982,1406,1290,1042,1126,1364,1160,1088,1218,819,392,409,436,335,320,573,898,1142,757,373,407,382,345,372,639,1140,868,416,264,228,209,186,231,255,244,247,258,302,375,727,1296,1516,1328,1406,903,701,948,856,789,781,659,782,1040,1256,1314,1344,1034,952,1412,1148,1080,1266,1936,2590,1522,630,499,492,1038,974,849,1160,1372,1152,1346,1308,954,563,597,645,394,412,422,450,1058,1872,1566,1258,1510,1612,1348,1482,2292,2396,1848,1456,936,550,585,690,980,935,1112,1144,1184,1636,1438,930,1108,1772,1582,1626,1404,1136,1114,1015,656,505,434,651,1092,1007,647,607,814,1422,1040,555,533,539,888,1082,905,666,568,547,716,926,1144,1192,959,750,670,574,495,462,430,407,418,455,446,440,418,390,479,584,565,535,509,455,455,524,535,426,395,389,675,828,918,1134,1228,818,857,1442,1194,692,642,611,568,600,662,692,1020,1320,1144,1188,905,713,814,734,733,1028,946,667,979,662,501,944,1416,1570,1326,727,502,777,694,488,604,729,923,1066,1146,1340,883,655,692,854,1030,723,1005,1574,1180,661,552,902,940,1098,1444,1264,1296,1186,937,925,1048,1232,1024,1160,1144,1200,819,691,599,466,514,490,539,775,741,828,1146,1216,1164,878,778,892,772,499,328,336,434,379,280,334,399,567,680,599,655,650,498,397,425,472,521,681,963,1246,1080,739,622,578,567,1108,1378,1322,1146,1094,1138,923,855,1042,1278,1230,1264,1324,1278,1238,1076,1072,1108,1080,1086,1048,1009,1196,1114,1194,1078,1028,1102,998,943,904,988,1292,1140,563,650,938,736,973,1294,1394,1466,1362,1294,1648,1660,1568,1770,1418,1046,968,675,1028,999,847,757,750,962,1036,933,959,948,1182,1340,963,1076,1192,1264,1021,1005,1014,1088,1300,1366,1064,729,620,791,1164,1548,1426,1042,891,1056,786,509,489,426,334,350,475,574,501,676,1088,1104,959,1170,1558,1600,1620,1458,1368,1428,1392,1354,1328,829,636,858,879,736,546,541,522,433,457,493,665,956,1300,1430,1266,853,872,1264,1332,951,994,1270,1092,936,984,813,1090,1202,1268,1328,1208,1208,993,880,1050,1192,1328,1400,1590,1670,1622,1434,1758,1742,1390,901,1498,1752,1588,1420,1204,1144,1186,1110,1004,767,767,1216,1300,1206,1144,1088,1230,1294,1320,1450,1600,1588,1218,1078,730,808,794,1296,1772,1682,1482,1552,1590,1360,888,501,575,825,1162,1290,1034,1378,1418,1204,1086,1007,1100,1178,1512,1490,1366,1138,705,1116,1280,843,499,450,495,816,1484,1444,957,1028,1056,717,997,730,946,828,708,752,828,968,1116,1416,1426,1120,458,337,534,1032,1172,1084,1244,1088,678,420,211,532,948,904,821,724,1048,822,790,762,627,567,635,688,771,919,1180,859,526,444,928,1294,874,408,562,589,737,1140,1362,1268,1286,1432,1418,1286,1102,1300,1304,1306,1380,1346,1070,1052,922,881,1058,1210,1206,1306,1282,970,977,1176,1066,1146,1346,1390,1344,1346,1360,1426,1346,1376,1348,1362,1412,1390,1258,1224,1340,1430,1346,1234,1290,1408,1532,1358,1042,1114,1152,1184,1560,1494,1256,1242,1250,1428,1354,1200,1336,1454,1334,1308,1354,1542,1388,1146,835,656,749,769,884,1238,1290,1046,1140,1150,1242,827,412,278,261,260,350,432,364,406,713,1014,1048,1092,920,904,936,565,393,466,649,772,934,1132,1048,725,743,1044,946,1500,1804,1550,1106,811,669,927,1328,1394,1362,1434,1464,1464,1354,1498,1384,1086,1212,1208,1076,1080,951,735,650,927,1276,1360,1124,1330,1180,802,894,990,942,1166,1378,1282,1414,1666,1572,1300,1248,1020,670,473,670,1038,1166,1362,1312,1224,1296,1488,1462,996,722,740,1266,1240,1046,1322,1140,802,946,1180,1476,1382,830,905,1260,1248,1368,1688,1966,1942,1808,1384,1010,910,724,562,524,544,575,771,758,577,503,450,585,716,761,749,1328,1482,1021,1494,1580,772,775,1128,1306,1832,1760,1166,1102,924,990,816,793,527,373,342,383,386,395,420,401,414,778,573,521,713,760,455,379,445,368,304,366,467,451,541,1070,1258,1334,1284,825,515,901,1036,1174,1094,686,1050,1266,866,749,891,971,1146,1354,1310,1160,1136,1180,1324,1170,786,974,1566,1452,1076,1084,1500,1320,1246,995,658,1210,1328,912,765,489,953,987,1048,1138,1138,714,406,381,493,530,603,944,1120,1348,1308,1182,1218,1192,1196,1200,978,542,539,993,1458,1220,1172,973,867,774,604,930,896,677,1264,1606,1064,711,662,692,849,700,505,476,436,661,879,791,532,412,714,1124,1140,1288,1632,1602,1066,1058,1388,1548,1460,1528,1538,1332,1186,1386,1438,1188,1002,1238,1100,866,1068,1007,1082,988,1334,1574,1244,1102,1098,1184,1192,1138,1300,1220,1070,626,441,703,669,572,780,1038,1106,1148,1044,1000,952,851,797,897,1021,999,874,933,1009,935,1013,1246,1186,1292,1682,1664,1104,930,731,584,541,648,702,1104,1484,1362,1106,953,883,957,1011,1038,1162,1404,988,655,904,1026,1090,1248,1384,1344,1224,1282,1488,1558,1514,1510,1498,1418,1318,1132,1230,1186,865,1042,1058,749,626,658,703,769,804,790,789,764,653,581,530,484,871,883,854,990,1522,1584,1470,1342,1318,1394,1280,1728,1444,911,716,811,726,521,430,377,371,410,464,460,433,394,366,354,353,354,353,293,269,270,271,287,277,266,272,305,379,577,863,933,723,594,401,319,451,451,339,328,374,432,458,383,284,274,311,348,358,342,332,334,345,395,488,538,551,549,532,533,541,551,551,536,529,534,531,518,476,428,406,413,393,392,392,396,404,411,413,416,457,504,501,498,510,467,452,464,449,451,435,426,416,428,428,408,393,403,408,408,404,389,410,413,436,437,421,409,404,392,395,401,380,372,382,403,471,536,537,541,541,537,536,517,494,501,532,543,517,484,467,458,454,465,439,421,429,423,418,401,395,389,405,399,395,396,392,382,394,395,386,390,396,395,392,414,401,401,404,404,405,412,418,411,412,417,408,396,397,408,409,412,396,415,411,389,401,414,401,403,401,390,398,397,392,395,409,430,445,484,506,504,501,484,461,446,432,438,440,442,434,414,413,393,373,368,366,367,344,340,333,324,314,318,321,318,307,295,293,296,297,301,294,295,303,305,293,289,309,305,294,296,293,285,283,291,296,295,288,286,288,302,309,298,305,323,321,321,327,333,331,328,333,328,341,326,333,328,335,328,326,326,339,374,364,358,336,333,333,315,289,289,298,301,305,313,321,337,362,359,347,337,350,366,338,316,332,343,324,308,309,316,340,315,329,332,337,346,354,359,359,359,359,350,359,346,332,343,346,346,346,346,350,345,355,349,330,326,320,318,296,321,308,314,331,324,313,320,328,330,337,334,324,315,314,312,315,325,332,345,346,349,358,356,367,376,370,379,379,386,387,389,385,378,357,344,339,336,328,327,345,349,320,309,314,319,313,320,319,327,321,322,333,328,326,319,320,330,310,313,314,314,311,308,304,297,293,298,301,301,309,313,314,314,314,320,320,319,322,324,322,326,326,328,331,333,332,334,338,350,336,337,334,325,333,342,346,350,354,352,352,354,356,361,366,361,356,349,346,328,327,327,326,320,309,314,321,320,320,323,326,329,322,327,345,332,339,320],[857,471,630,1006,908,590,543,647,761,852,1112,927,552,548,931,1126,1021,570,537,899,877,760,766,919,915,1216,1278,918,925,955,1296,1330,918,998,1166,1242,1360,1368,1484,1288,1478,1608,1334,747,761,1450,1654,880,702,1040,1182,1476,1848,1180,1538,1788,1214,743,594,461,433,421,472,586,705,859,536,407,375,387,382,616,856,768,1110,1538,1340,665,432,361,347,470,783,860,943,658,944,979,526,473,540,622,447,570,1322,1120,648,671,635,532,519,836,1266,1016,473,871,1192,711,648,429,471,556,571,420,430,552,583,968,1036,470,736,514,290,298,369,667,781,757,626,894,1288,1698,1730,1738,1438,814,900,548,491,686,824,560,459,504,551,741,963,1162,1266,1172,962,995,901,673,645,916,1032,1094,957,884,1272,1522,1166,763,868,875,446,287,284,271,336,387,432,613,647,495,567,857,791,541,401,498,512,570,789,775,523,454,458,378,492,758,1080,618,414,404,390,372,459,667,1078,1534,1406,767,925,1238,1222,919,1230,1092,1086,1000,954,1114,1216,1268,1130,1220,1007,963,1136,1152,1036,1262,1076,966,931,1148,1294,1152,1252,1430,1964,2030,874,705,757,704,1068,1316,1378,1542,1652,1510,1490,1698,1658,1698,1206,878,988,1168,1246,1226,1108,1182,1328,1346,1468,1310,631,355,310,383,344,451,863,1046,1248,767,308,353,431,421,376,397,907,566,279,295,249,213,234,298,307,302,297,310,354,412,804,1302,1332,1396,1250,632,762,957,838,879,819,883,1322,1104,1138,1296,1496,1180,1268,1202,1023,1346,1406,1884,1860,884,978,902,882,954,729,505,871,1030,822,974,1430,1472,1018,592,406,307,412,409,383,655,1284,1534,1256,1216,1498,1186,1050,1644,1758,1522,1146,907,695,633,990,943,576,776,1002,1140,1268,1528,1594,1566,1764,1598,1488,1510,1604,1376,813,664,689,556,815,1080,879,593,866,1166,1726,1570,1336,847,566,933,1112,1236,940,636,629,872,904,1264,1308,988,751,560,370,441,446,404,342,356,399,412,419,400,387,422,429,437,509,526,482,503,504,568,512,407,354,413,636,772,963,987,751,955,1326,1013,695,580,469,395,490,843,708,744,973,995,917,685,692,1148,1332,1216,1076,1252,949,929,598,573,1038,1456,1622,1378,857,1062,1442,1252,653,559,728,993,1242,1030,1106,1318,1166,794,677,1068,973,924,833,595,495,644,1062,1180,1246,1104,966,1252,1248,1142,1252,1332,1024,1094,1750,1652,1354,946,693,606,468,455,466,636,893,832,852,1330,1202,670,402,633,839,578,351,334,303,405,371,283,320,518,858,801,581,653,781,793,758,681,810,1170,869,1056,1478,1230,803,528,484,691,1004,1302,1442,1100,868,995,863,830,1026,1542,1310,1122,949,913,1134,1388,1342,1132,1188,1556,1242,1084,1170,838,691,797,1098,1582,1520,980,827,1030,1038,883,785,788,825,873,1116,1178,1318,1148,714,884,1348,1682,1634,1524,1386,1238,1224,1144,1122,869,754,692,988,1310,1256,1046,1070,1274,1518,1600,1062,1300,1292,1446,1020,720,864,1240,1414,1170,933,589,550,829,1550,1498,957,709,763,944,583,366,357,374,341,400,969,1278,738,688,924,1070,1048,1144,1338,1466,1440,1208,1072,1042,1154,1418,1422,1126,840,1050,988,684,619,542,418,325,411,494,566,652,819,1036,1172,1036,979,713,569,636,881,1248,1362,1216,894,817,938,915,1070,1198,1146,1238,1216,1078,1040,1254,1530,1656,1718,1600,1708,1650,1690,1534,1094,1024,1512,1568,1440,1404,1194,1026,1156,1200,1100,1050,1044,1310,1362,1392,1184,1036,1194,1426,1454,1356,1432,1698,1378,982,749,976,1310,1556,1682,1596,1182,1042,1238,1007,956,533,590,626,789,833,875,1256,1262,955,738,818,1170,1294,1576,1830,1780,1356,847,1670,1952,982,437,390,446,862,1400,1396,1300,965,459,587,993,895,962,651,364,477,748,1032,835,1064,1550,892,465,396,618,1298,1192,1090,1326,905,435,300,321,740,874,1036,1058,1016,1026,974,1002,998,962,716,641,645,741,848,632,547,478,554,735,965,703,375,492,780,855,1036,1162,1434,1402,1340,1192,1110,1178,1356,1244,1200,1178,1112,1060,1170,1086,1178,1250,1348,1160,1398,1294,1288,1432,1218,1124,1346,1340,1364,1328,1334,1332,1384,1396,1328,1316,1296,1372,1322,1338,1406,1334,1404,1440,1354,1618,1588,1504,1506,1378,1236,1236,1268,1418,1434,1278,1330,1368,1460,1330,1400,1402,1368,1070,908,1152,1382,1284,1168,896,616,713,763,896,1216,1196,936,1046,872,1120,1030,538,313,283,265,326,433,502,787,1136,1190,1244,1296,930,775,788,644,442,465,510,624,808,906,1098,1032,685,590,618,935,1204,1250,1408,1018,499,788,1090,1234,1244,1410,1256,1074,1216,1276,1026,1246,1326,1140,1440,1450,1122,1112,968,847,1148,1176,904,800,1030,1322,1218,944,1142,1456,1274,1158,1206,1496,1492,1015,1192,1448,951,775,996,1256,1019,1001,942,1174,1430,1404,1550,1262,877,1052,1432,1268,1178,1250,1122,1042,1026,1112,1242,1340,1236,1266,1470,1566,1676,1638,1640,1270,910,672,705,1034,1272,940,769,741,700,848,1120,717,494,571,781,855,702,697,1152,1418,1254,1332,1018,474,632,771,1400,1976,1272,1312,1194,804,833,895,894,819,517,380,392,387,364,417,356,255,490,694,546,374,354,254,275,329,378,349,542,623,490,386,749,1002,901,1100,1070,451,490,764,875,622,571,1578,1852,1404,738,875,1080,1044,1226,1336,1296,915,923,872,675,782,1128,1162,835,967,836,1068,1034,767,703,780,1196,1096,1202,1054,564,822,929,821,946,982,689,608,498,496,538,551,882,1142,1106,950,1098,1114,1136,1144,1372,1104,552,592,794,1120,1072,827,774,636,768,873,906,665,486,705,672,530,706,809,666,664,775,751,542,490,670,837,927,678,458,976,1308,1244,1460,1594,1642,1054,1138,1372,1466,1610,1650,1596,1300,1256,1538,1332,1266,1404,1472,1360,1170,1172,1108,1056,1034,1242,1332,1060,1028,1112,1028,1082,1168,1388,1126,808,582,536,650,945,1224,1230,1146,1204,893,786,705,619,576,578,624,710,672,677,844,906,908,1001,929,818,1172,1514,1432,1128,872,737,825,1010,1050,1166,1524,1660,1454,1238,1226,1226,1162,1176,1226,1130,1264,971,478,1030,1492,1360,970,1082,1066,981,1048,1300,1468,1390,1232,1186,1280,1096,803,1024,684,584,938,1262,1116,830,706,687,721,742,733,728,750,732,653,724,701,997,968,984,1210,1480,1384,1466,1430,1370,1248,1698,2198,1248,767,489,644,601,441,382,375,425,449,440,423,376,373,350,368,359,348,344,293,265,261,257,262,246,274,404,598,633,623,835,858,685,451,307,288,342,366,330,306,320,405,617,520,336,308,320,352,354,357,343,332,348,367,441,512,541,536,548,554,551,552,547,532,526,532,524,500,468,461,418,413,403,394,392,397,406,417,419,408,439,490,483,483,494,455,440,451,459,464,459,442,412,408,414,412,400,402,414,407,414,402,397,421,435,435,421,405,386,368,384,403,385,357,371,404,470,516,510,521,541,542,536,525,498,484,517,513,521,491,461,456,455,465,451,438,446,444,412,409,400,383,401,400,395,396,394,389,388,384,394,398,398,390,395,390,381,396,403,401,405,408,409,409,411,412,399,396,409,415,418,411,405,405,401,392,402,397,408,404,409,378,398,397,389,393,403,418,437,466,498,498,495,483,453,442,425,442,452,439,437,426,401,390,377,368,358,372,353,340,328,326,331,328,328,321,312,311,330,327,306,303,301,302,303,295,307,302,306,302,292,299,300,290,287,294,297,291,285,283,283,290,307,301,303,311,317,323,333,332,331,328,328,327,317,328,338,325,332,339,339,333,338,363,358,343,332,341,343,332,319,307,302,308,309,318,331,341,350,353,354,348,343,356,334,306,321,338,325,328,322,312,331,322,335,343,356,371,370,368,374,387,382,372,362,354,353,354,354,347,346,347,343,338,343,339,339,315,307,317,302,320,324,315,328,332,324,327,327,328,333,331,321,308,308,308,317,328,337,340,342,347,349,352,357,377,375,377,384,391,391,391,387,373,356,350,346,336,322,321,332,333,308,319,319,321,313,308,319,328,330,333,322,320,318,326,332,330,328,324,315,314,313,310,308,309,308,310,300,295,307,314,314,314,313,317,321,324,326,324,328,328,328,328,326,333,333,337,340,337,332,340,328,331,340,346,346,353,352,352,352,358,349,357,372,362,355,350,350,331,325,324,326,322,315,313,318,323,328,325,318,328,333,346,356,343,322,335],[733,586,526,471,603,733,821,1092,1015,942,1104,729,578,971,1216,1176,897,517,530,854,831,590,716,1182,1362,1058,651,644,930,917,1158,1474,1386,1292,1252,1292,1772,1392,999,735,937,980,775,626,523,764,922,673,1118,1092,813,1142,1308,1476,1534,1206,818,637,490,399,347,349,448,623,549,532,469,394,365,361,368,481,528,416,529,747,812,398,376,298,319,333,356,528,474,477,791,769,448,547,563,646,534,993,984,472,308,355,535,725,796,1092,1528,1042,555,897,972,874,928,781,709,474,415,395,444,495,562,858,805,700,1382,930,561,602,990,1294,1334,1100,1342,1866,1362,1754,1470,983,728,638,698,584,390,404,474,496,477,468,495,596,999,1656,1874,1532,1198,1230,1328,954,1084,1606,1298,1007,954,993,1260,1304,1386,1054,875,896,559,295,249,272,305,275,336,537,478,361,316,484,464,511,491,415,334,385,695,966,579,416,370,337,466,934,824,376,329,401,397,352,441,550,828,1488,1606,946,703,1122,1176,1270,1714,1384,1312,1642,1488,1408,1760,1858,1418,1450,758,747,881,1222,1282,1144,1408,1564,1156,939,1348,1604,1334,1610,1876,1544,932,866,1256,1418,1382,1346,1382,1478,1444,1486,1524,1588,1322,1034,866,1054,1088,885,991,1096,830,863,1230,1356,1440,933,373,242,253,399,447,849,1050,1274,1688,842,310,379,526,573,464,388,758,519,272,264,246,242,270,304,319,271,266,294,299,325,767,1354,1430,1376,1032,886,1284,1180,965,695,792,1250,1520,1084,974,1192,1434,1408,1398,923,946,1122,919,1354,992,684,1090,954,892,1166,984,544,583,563,472,873,1308,1406,1514,1028,595,391,397,360,517,911,1230,1186,931,1382,1332,965,897,854,1194,1252,1450,1522,1110,1178,1420,724,706,1005,1376,1400,1300,1782,2176,1764,1426,1334,1094,1042,1264,1090,562,597,743,714,767,694,626,476,510,856,1388,1726,1500,811,680,1102,1104,768,989,772,837,985,813,913,1338,1394,1048,636,452,454,392,348,378,396,406,489,457,402,421,430,400,426,511,581,507,455,476,543,496,417,383,379,437,639,847,869,828,846,933,937,750,571,392,317,312,315,332,463,609,624,625,683,617,905,1302,1252,743,747,1058,1018,548,650,1118,1470,1578,1422,830,913,962,1246,752,507,812,1012,1208,1180,1192,1324,1023,612,711,1186,1108,777,481,404,469,463,664,970,825,505,752,1292,1028,1020,1180,1338,884,1088,1802,1538,1158,999,877,804,543,436,543,600,566,740,954,1154,876,536,326,352,361,337,324,371,361,324,285,296,264,540,753,592,437,599,927,1132,1082,751,823,1184,725,767,868,996,763,488,523,783,1210,1510,1460,957,655,764,1038,1360,1440,1386,1152,1042,891,900,1082,1406,1324,1402,1390,1020,647,694,880,851,799,717,725,908,1108,1100,1038,1234,1058,750,1011,1028,1078,1126,1186,1178,1094,1009,1416,1408,1038,1372,1478,1450,1438,1560,1608,1480,1224,1032,797,741,1152,1432,1454,1478,1316,1382,1326,1592,1288,1158,1102,1280,1048,725,971,1148,1208,1112,1122,1086,1060,1294,1966,1320,995,1050,1284,1164,466,392,337,403,414,539,1776,2352,2132,1804,1346,1430,1382,1324,1410,1350,1888,1410,850,835,941,1038,1102,1086,1062,1228,1058,875,830,533,411,354,525,659,645,598,714,1096,1172,1192,959,602,691,862,1056,1108,1378,1682,1314,1488,1456,1126,1078,1044,1118,1180,1020,988,1102,1636,1748,1492,1356,1462,2040,1944,1710,1540,1142,999,1356,1430,1570,1296,1028,993,1278,1382,1272,1168,1146,1166,1136,987,863,1070,1368,1306,1180,1170,1170,1426,1164,961,1114,1260,1476,1656,1324,1018,879,1019,1172,1016,735,525,997,1356,1104,764,786,1170,1134,771,843,1162,993,1122,1326,1712,1456,1110,802,1048,1036,597,419,450,620,984,1034,1054,1234,885,539,949,1128,940,1006,500,472,697,944,1046,756,901,1446,886,659,571,694,1162,1204,1116,948,735,422,265,287,788,960,1532,1656,1466,1216,1104,1340,1322,853,532,603,557,555,630,438,401,425,507,750,838,572,341,312,553,925,1188,1100,1326,1298,1286,1176,1098,1390,1650,1294,1056,1005,1160,1112,1072,1170,1220,1274,1356,1294,1298,1234,1426,1510,1262,1236,1410,1320,1294,1472,1456,1500,1494,1432,1376,1364,1360,1286,1344,1556,1526,1286,1402,1440,1432,1394,1516,1578,1428,1386,1414,1292,1190,1496,1730,1386,1264,1230,1298,1578,1736,1578,1362,1114,966,941,847,1116,1756,1422,754,855,976,970,1074,1188,1092,821,497,830,1170,830,414,345,259,266,277,432,912,932,1098,1172,781,519,447,605,610,367,517,436,498,664,821,1062,1388,1224,760,852,1256,1072,887,1278,1388,717,543,854,1110,1178,1472,1158,1102,1376,1228,1132,1610,1202,1274,1628,1572,1238,1068,1004,786,692,1044,1246,1106,1132,1188,847,651,1040,1332,1328,1104,1015,1364,1536,1136,1416,1858,1116,1114,1354,1272,708,828,1104,1218,1196,1238,1358,1198,991,1086,1122,883,1074,1326,1346,1122,984,987,1068,1362,1316,1384,1566,1260,1214,1340,1376,860,709,774,822,1008,1276,1450,1164,755,827,1412,1588,1060,688,813,965,973,760,836,1206,1610,1532,902,700,780,839,691,822,1002,639,760,732,652,575,650,1114,1332,595,376,365,396,384,385,352,329,319,507,641,575,466,341,336,392,619,675,733,741,568,451,558,792,937,1070,865,540,427,722,1256,995,689,1510,1688,1390,1168,1264,1180,1266,1628,1522,1110,783,1550,1586,1220,1308,1332,1146,1110,1012,761,553,633,601,596,619,1092,1032,1228,1072,657,620,768,704,629,657,940,1316,1088,663,610,719,800,1136,1316,1384,1204,1064,1226,1262,1138,1016,760,758,589,832,1170,1094,1088,1170,1344,1126,782,635,772,664,392,528,794,1032,1302,788,767,907,716,602,514,817,1166,868,726,650,1054,1238,1096,1320,1294,930,1128,1152,1182,1454,1640,1532,1000,1128,1234,1184,1260,1080,1240,1396,1362,1404,1400,1412,1478,1570,1522,1208,1040,1236,1244,1216,1350,1638,1376,930,761,765,717,745,1062,1286,1184,1126,778,689,615,603,596,569,596,619,614,620,603,602,653,671,631,569,576,1013,1260,1038,735,504,582,560,559,1082,1616,1444,997,1036,1212,1218,1246,1212,960,771,950,975,729,1044,1058,874,744,477,441,643,913,1162,1302,1256,1388,1734,1750,1180,643,621,620,608,643,904,1036,1076,966,777,690,766,716,650,627,599,808,857,921,1254,1242,1001,1118,1266,1406,1532,1292,1556,1052,1600,1494,1026,697,569,681,559,363,327,346,412,438,439,380,357,299,300,344,354,352,343,301,304,305,305,335,490,544,764,877,752,531,587,678,535,313,337,502,511,399,356,303,332,420,959,832,448,349,336,356,353,368,340,351,358,378,428,483,532,544,561,551,533,543,539,526,513,529,498,461,458,446,422,403,402,404,397,398,408,427,428,420,419,449,446,446,466,450,433,442,461,461,453,460,436,422,424,416,408,402,408,416,429,412,395,407,402,415,421,407,382,362,379,394,392,379,374,383,444,505,497,505,521,534,547,532,503,474,497,516,521,490,466,458,467,475,466,451,431,439,413,407,409,397,395,395,397,398,394,389,390,403,415,398,392,390,396,390,384,390,387,387,399,401,397,396,396,403,405,414,415,415,408,403,408,402,393,390,404,397,393,395,399,403,396,387,392,393,400,418,442,461,481,498,493,477,465,460,442,442,442,436,439,433,398,385,372,365,357,371,358,344,332,325,328,331,330,323,323,327,359,353,312,299,299,300,303,302,305,311,312,298,288,293,298,309,294,289,291,290,291,288,286,291,297,307,314,312,315,321,320,320,321,326,326,329,327,332,328,336,339,338,341,341,343,345,335,341,353,353,348,335,316,305,293,315,315,316,321,328,331,350,352,343,342,345,332,308,316,329,316,329,310,308,311,316,334,350,360,362,362,368,371,391,372,359,354,350,348,351,348,346,348,346,339,341,331,328,333,326,310,309,312,317,317,309,320,334,327,330,330,333,335,336,324,314,315,314,323,335,340,339,342,347,352,352,353,369,379,383,384,389,393,393,389,379,361,349,339,332,328,319,324,340,328,325,325,322,319,325,326,322,328,325,318,309,307,313,319,314,307,305,310,314,314,314,314,314,315,312,313,305,305,309,312,315,314,319,319,312,308,317,323,327,328,328,327,328,331,333,336,328,326,320,330,333,340,347,352,352,353,353,352,361,361,362,371,365,358,342,352,342,322,318,326,324,316,313,315,322,330,331,313,331,333,326,339,342,339,339],[631,894,659,663,743,984,1015,948,908,825,711,655,805,843,778,725,890,780,476,480,667,1050,1300,1226,897,677,765,980,1216,1028,1204,1578,1438,1362,1382,1368,1502,1446,885,547,677,788,750,709,558,469,728,923,1678,1582,1016,1036,1328,1258,789,711,799,723,541,424,343,438,464,536,530,589,533,383,350,361,339,348,365,354,373,387,351,352,340,295,277,289,416,538,386,328,512,633,479,711,634,652,1180,1302,632,388,377,375,348,421,715,1092,1426,1015,755,1104,1144,1284,1274,1234,752,452,547,648,677,420,424,863,871,1570,1426,946,1032,1230,1404,1388,1518,1472,1792,2352,2118,1818,1436,786,739,962,1278,1028,455,372,448,587,545,513,486,544,927,1454,1690,1324,1216,1092,938,881,972,1140,947,607,563,700,1318,1368,1294,996,844,786,504,346,252,279,298,275,437,427,359,272,271,382,522,669,669,446,325,321,501,1021,1013,743,545,417,625,1007,722,449,353,346,415,448,416,463,550,742,1007,1190,938,970,1362,1746,1792,1516,1794,2088,1786,1686,1770,1354,1222,1216,689,614,1086,1520,1530,1422,1450,1532,1336,846,1750,1786,1138,1276,1312,1144,1024,1064,1366,1428,1470,1290,1470,1610,1398,918,1294,1530,1582,1156,830,1004,1242,1168,1084,910,537,437,625,1005,1186,631,354,334,286,460,589,706,877,1002,898,476,300,473,631,713,529,394,519,373,261,239,260,253,253,297,332,271,254,312,323,346,843,1382,1300,1066,991,1023,1166,1242,1158,1056,1274,1604,1398,1108,1058,1262,1208,744,910,588,604,626,716,1350,1214,962,857,664,692,758,597,429,557,623,542,754,894,1122,1484,1610,1142,641,634,925,1052,1146,1242,1472,1830,1958,1410,918,1014,1152,1064,1194,1506,1396,1300,1826,1774,963,987,1374,1628,1312,1470,1420,1428,1372,1152,1090,767,558,686,909,1060,530,475,560,550,550,499,408,678,960,1011,1196,1344,1440,1116,1542,1158,661,1028,1007,1176,1028,803,1026,1326,1320,1192,536,426,399,355,346,301,352,421,434,458,490,450,549,501,479,528,589,570,572,541,479,466,450,408,374,369,453,504,408,399,495,598,658,561,508,396,291,317,339,332,335,368,485,516,606,483,531,942,1196,995,586,1016,1174,543,666,1208,1528,1586,1394,826,543,597,910,836,543,644,929,1007,1094,1312,1212,706,546,682,1108,1198,885,554,493,473,406,450,644,644,634,894,1302,1124,1024,1014,1007,1060,1190,1214,1224,993,761,955,999,688,605,751,676,619,999,1310,1308,1184,704,339,396,422,559,461,377,316,262,291,306,306,432,531,493,459,567,765,925,842,854,1224,1338,1066,1154,1286,1006,546,547,656,894,1116,1034,1002,761,553,430,1046,1440,1338,1262,1388,1208,1082,1170,1234,1110,1108,1466,1362,938,590,531,776,1074,1132,741,403,406,416,416,641,882,878,774,716,982,1204,948,951,1148,998,1226,2030,1554,1146,1438,1268,750,768,1158,1264,1382,1424,1358,1310,1162,1422,1636,1368,1310,1220,1338,1114,1021,1040,929,940,1074,1046,1224,1508,1274,1072,1172,1212,1364,1328,1278,1444,1070,817,869,957,849,414,363,343,379,375,830,1988,2734,3008,2484,1852,1782,1702,1700,1544,1542,2104,1382,917,999,1124,975,1017,1094,1072,1278,1326,1366,1174,738,506,641,761,1024,879,735,751,728,763,829,758,785,971,1026,1024,1204,1420,1614,1436,1354,1082,818,796,922,1164,1228,1100,988,1148,1582,1482,1390,1378,1316,1494,1594,1686,1694,1288,1196,1362,1258,1522,1384,937,845,1232,1274,1226,1182,1116,1104,1052,1202,926,1084,1608,1556,1288,1062,1078,1100,1024,1076,1238,1426,1528,1234,800,623,827,1036,1246,914,704,678,1136,1656,1184,966,925,1262,1150,811,1144,1200,975,1140,1332,1482,1448,1098,587,725,993,992,814,766,842,1062,1104,1068,1136,860,603,952,1040,860,1018,800,803,910,976,993,1188,1394,1392,950,708,690,726,556,738,857,574,597,421,312,362,583,1080,1782,1826,1410,898,822,907,843,719,1380,1052,562,538,449,314,389,457,385,441,495,406,269,279,426,1118,1152,1116,1206,1204,907,1021,1240,1204,1334,1538,2164,1532,1354,1338,1290,1280,1266,1324,1334,1272,1178,1284,1322,1238,1114,1162,1342,1316,1340,1398,1340,1458,1340,1274,1304,1338,1344,1234,1332,1526,1458,1438,1554,1350,1428,1504,1544,1600,1428,1324,1428,1312,1606,1596,1434,1280,1100,1278,1496,1632,1552,1232,1194,1310,1200,1013,1134,1168,1866,1666,1138,1120,1060,1010,1054,938,696,501,387,569,994,955,510,488,317,270,274,288,633,803,1116,921,492,420,383,464,531,457,564,622,589,610,814,929,1204,1368,1224,983,908,937,836,992,1786,1166,600,664,819,1230,1408,1208,1472,1376,1368,1250,1300,1156,1368,1090,918,651,503,648,663,1010,1700,1542,1336,1072,1162,883,673,941,1158,1430,1250,1104,1400,1496,1598,1670,1488,1122,1082,1300,1190,962,1015,1058,867,662,724,843,1040,963,1012,1092,1106,1290,1442,1256,1194,1226,1088,1016,1034,803,1032,1164,1180,1256,1230,1334,929,618,960,1108,890,1288,1852,1322,768,1082,1746,1404,1142,1082,1106,1194,1122,895,1124,1784,1982,1250,1300,1646,1722,1076,818,897,697,422,389,499,608,447,492,1166,1448,789,426,378,412,358,326,358,394,364,357,514,838,803,567,365,357,414,639,875,1010,807,472,481,609,868,895,633,557,486,640,1440,1310,580,592,1460,2204,1614,1388,1186,1216,1364,1110,886,1170,1796,1736,1634,1476,1092,1000,943,792,1118,1216,684,808,743,645,937,783,1050,1218,901,943,945,810,673,594,1088,1848,1960,1304,922,1064,826,995,1548,1574,1166,1032,1372,1398,1023,1044,698,714,705,964,1212,1268,1376,1482,1336,1170,808,616,927,747,446,539,828,1180,1494,999,913,1078,1178,1014,756,997,1142,919,1052,659,844,1266,1982,2440,1656,936,798,939,893,1178,1520,1610,1388,1276,1168,1366,1288,1146,1254,1306,1312,1246,1388,1712,1562,1432,1332,1278,1380,1286,1060,1024,1248,1316,1202,1094,749,538,633,448,511,713,1054,929,650,618,592,541,541,619,704,733,698,714,727,747,827,783,885,785,538,892,1144,863,606,489,539,589,911,1092,1260,1116,737,656,731,1106,1382,731,468,480,550,727,818,758,642,785,910,758,622,539,656,1182,1286,927,1046,1076,1296,903,566,522,544,551,568,600,789,1015,1072,1032,874,706,659,604,519,458,521,778,1088,1402,1310,1082,1196,1196,1190,1118,1340,1378,1092,1294,1244,1108,927,811,845,559,393,351,396,426,426,422,396,335,312,317,320,333,344,325,307,336,327,369,379,599,738,567,417,518,657,796,797,599,353,359,596,761,517,395,356,322,554,1028,778,392,365,330,344,338,364,382,368,386,417,451,485,521,527,533,533,527,540,539,536,500,492,462,435,453,451,418,408,411,404,402,401,399,401,434,462,421,417,424,423,430,421,412,442,453,452,471,477,466,440,428,418,411,403,403,412,420,410,397,412,422,421,429,407,380,366,374,378,392,401,386,384,429,484,484,491,497,518,541,536,532,500,490,513,507,506,472,451,466,489,466,432,414,431,430,412,409,403,392,413,427,409,396,394,389,394,400,392,409,421,413,403,397,396,403,406,404,408,403,398,403,413,416,413,412,419,418,418,414,403,395,395,398,390,388,388,390,395,395,390,384,385,400,412,425,455,475,496,497,470,466,455,424,415,434,428,430,425,406,379,372,362,350,367,364,346,335,326,328,328,308,336,328,327,337,321,293,288,287,295,303,302,305,309,309,302,293,289,286,303,285,278,290,290,290,291,292,290,304,318,310,319,321,321,321,319,320,322,321,319,323,335,334,335,336,331,345,348,348,346,346,346,333,325,329,329,314,308,293,309,309,313,316,322,337,352,352,338,327,337,340,327,330,329,324,306,303,304,300,311,329,346,350,350,362,371,353,362,360,359,351,341,335,336,342,346,347,339,332,341,326,328,328,325,312,311,312,310,303,310,326,328,337,336,343,339,346,345,322,314,321,312,321,332,343,339,339,347,352,353,352,359,369,379,389,391,397,399,396,382,369,364,352,342,330,311,319,337,340,339,340,333,326,326,315,320,321,314,313,312,312,318,323,318,314,317,314,314,318,319,320,315,314,302,315,315,310,308,310,315,315,318,321,326,328,328,324,327,328,328,328,327,326,330,334,340,349,346,340,336,337,339,345,352,353,352,355,367,365,364,372,365,358,344,352,340,324,319,321,321,319,315,318,320,328,332,316,334,345,346,344,331,332,334],[1266,1204,761,579,720,987,1196,1286,1072,751,491,609,825,505,383,456,885,977,869,572,739,1114,882,731,821,876,1182,1382,1300,932,1158,1296,1054,1506,1826,1088,904,1418,1112,587,709,967,966,810,734,531,643,1326,1976,1864,1470,1322,1482,1102,753,1092,1492,1114,669,423,435,500,525,581,623,665,586,430,357,329,327,353,292,332,393,404,390,337,312,296,281,262,338,440,448,379,536,558,595,825,1028,1100,1630,1410,490,356,300,299,309,356,662,1280,1534,1294,1234,1032,821,902,1410,1626,1136,791,1108,1250,910,604,749,1400,1552,1308,777,876,1242,1294,1190,1362,1544,1538,1650,1996,1714,1726,1402,1196,1100,1252,1582,970,473,371,430,601,520,469,456,446,772,1052,955,1070,1438,1240,1028,849,886,970,1230,717,381,551,1064,1078,1036,825,767,563,412,334,309,337,332,348,469,341,272,260,279,346,408,584,692,511,490,399,444,727,927,890,777,670,1050,1070,586,575,456,319,402,451,420,448,442,409,589,981,943,1038,1826,2092,1902,1842,2148,1850,1422,1670,1614,979,473,482,527,443,684,1144,1516,1344,1516,1610,1408,1152,1688,1280,883,822,758,774,725,882,1282,1202,1286,1122,1278,1538,1362,1130,1446,1438,1392,1484,1268,1158,1412,1226,1009,982,859,612,448,528,677,509,420,388,450,494,462,717,959,613,331,362,380,575,739,821,551,400,462,211,234,236,260,248,247,262,269,284,323,445,455,419,819,1222,1266,1056,1228,1168,1236,1328,1504,1500,1342,1322,1372,1296,829,724,636,558,700,744,565,572,849,1234,1446,1328,940,816,1070,854,799,525,592,914,792,625,899,1342,1672,1816,1582,1360,1290,1216,796,683,988,1376,1512,1234,993,689,914,1394,1360,1136,1280,1212,1246,1652,1448,1046,1036,1298,1278,1482,1880,1318,991,1042,964,1068,890,567,600,1260,905,453,375,414,498,651,838,726,646,808,1292,1034,1234,1404,1108,1194,811,1096,1418,1470,1566,1130,835,1019,1110,1400,1106,514,428,414,380,373,411,467,442,451,547,559,455,670,675,587,532,498,549,608,551,471,446,429,487,434,434,424,404,389,393,363,405,439,409,390,353,291,318,295,288,324,401,388,469,572,527,499,612,1052,1114,858,1108,1058,529,631,1192,1520,1596,1476,1050,656,502,659,861,701,521,653,802,924,1152,1172,811,550,527,692,880,693,469,561,634,838,952,1196,1368,1270,1280,1378,1416,1330,1136,1180,1336,1262,1138,1184,815,993,1148,1086,831,651,817,818,578,790,1214,1494,1248,670,386,713,1250,1384,837,572,483,348,302,315,357,410,415,435,569,564,459,721,799,965,1402,1628,1604,1890,1556,896,629,938,833,892,943,844,602,552,615,542,784,1242,1286,1288,1226,1098,1326,1246,1232,1104,1066,1128,799,680,683,541,647,886,925,472,361,364,399,401,411,452,549,724,834,1090,1220,1007,1056,1246,1238,1544,1932,1116,969,1298,931,621,855,815,717,939,1078,1184,1122,1390,1648,1656,1348,1204,1246,1190,1100,1166,1114,938,1028,1154,1874,2452,1526,1074,1174,1240,1300,1328,1050,717,768,996,1310,1190,1194,821,390,313,292,335,369,574,1030,1652,1810,1276,819,1214,1760,1888,1458,1540,1406,1528,1342,897,901,977,1126,1208,1128,1220,1280,1676,1368,964,673,865,750,635,637,682,865,913,566,472,659,1118,1312,1070,1004,1134,1092,1102,1132,1142,1128,896,756,959,956,844,1114,857,870,949,1186,1384,1432,1304,1208,1446,1532,1594,1400,1568,1546,1322,1346,1238,1013,902,855,805,912,847,1088,1030,822,989,880,1082,1562,1580,1300,1184,1264,1098,837,952,1274,1454,1312,1188,1272,1220,1184,1222,1298,904,716,763,1192,1276,751,1064,1216,1100,996,879,1196,1488,1216,980,1114,1170,1152,1164,704,885,1284,1446,1272,1050,896,1390,1644,1114,926,693,708,629,666,874,1204,1320,1248,1134,969,1134,1270,1136,828,572,605,695,885,603,897,1114,691,583,511,371,368,520,1212,1936,1854,1318,714,648,787,905,1440,2074,1272,450,361,377,298,356,522,385,295,318,280,254,262,473,985,1116,1016,1182,1242,1062,1030,1220,1378,1472,2014,2556,1694,1462,1380,1116,1046,1276,1410,1376,1262,1304,1178,938,1208,1206,1290,1370,1306,1326,1332,1238,1178,1174,1258,1350,1338,1346,1470,1518,1584,1564,1680,1564,1400,1428,1388,1300,1422,1422,1356,1412,1576,1794,1444,1340,1398,1116,1118,1354,1330,1188,1114,1234,1512,1488,1108,1114,1150,1320,1518,1422,1144,866,913,832,570,431,397,390,476,799,1078,631,450,382,307,284,272,437,927,1084,533,378,384,498,404,517,509,589,990,957,796,963,820,875,1206,1272,927,866,893,1040,1472,1422,760,613,1236,1654,1428,1362,1518,1526,1418,1302,1066,839,745,673,594,601,565,434,674,854,1324,1352,1412,1232,1354,1050,606,732,1218,1224,1048,991,1222,1412,1170,1384,1544,1466,1244,924,1028,1232,1114,810,779,973,731,595,768,1344,1328,1240,1328,1268,1070,1076,1426,1450,1324,1096,1023,1021,596,545,931,1064,1036,1198,1532,1158,544,817,1350,1184,914,772,693,622,727,864,876,738,778,1072,1272,1118,762,943,1512,1378,1272,1784,2290,2342,1306,705,1218,1312,629,515,647,569,507,452,773,1146,819,385,391,390,313,271,300,360,379,402,543,791,999,779,388,325,353,451,727,1130,957,508,499,420,553,809,1042,672,424,479,882,767,503,765,1648,2388,1392,1404,1138,1418,1218,943,1136,1180,1002,1015,1226,1278,921,1044,1078,717,827,1168,763,881,796,699,889,749,1054,1372,1368,1866,1164,916,844,705,1246,1914,1948,1712,1286,1132,1132,1302,2070,1842,1098,753,901,1092,863,970,738,796,1054,1198,1342,1334,1520,1566,1268,1098,902,644,444,415,385,489,844,1232,1332,1248,1238,1160,1362,1238,1088,1128,1130,1122,1224,907,875,1654,2684,2292,1640,1292,896,1056,1202,1266,1412,1620,1478,1030,1156,1478,1306,1092,1130,1288,1344,1218,1254,1566,1434,1300,1248,1274,1352,1196,999,1044,1220,1402,1118,980,769,625,764,681,700,684,894,889,656,644,583,689,917,988,1078,1240,1262,1470,1356,1328,1494,1518,1440,993,568,803,1096,753,681,799,990,955,915,885,1104,980,616,599,593,896,1232,984,744,689,861,1012,927,600,528,882,1013,908,826,697,626,1008,910,642,886,984,1128,797,482,501,519,554,576,576,599,734,1070,1210,1218,962,722,511,476,548,749,944,1148,1386,1292,1274,1564,1404,1278,948,1128,937,1118,1358,1070,995,1198,979,1032,721,470,419,417,399,394,379,357,323,319,306,317,331,365,360,354,335,305,348,338,390,514,410,344,488,668,607,508,332,282,355,504,682,555,399,377,340,656,980,555,304,293,288,346,333,352,385,408,415,409,436,481,516,522,540,543,550,549,544,536,509,460,450,441,446,444,433,426,412,402,396,392,406,408,427,454,429,417,431,423,412,407,412,459,473,468,481,466,464,455,435,416,404,402,408,412,420,412,389,391,418,392,401,409,380,367,378,375,379,385,388,390,414,470,475,486,508,532,534,529,521,495,491,505,500,500,466,448,451,487,484,454,427,429,436,422,408,400,389,405,414,409,397,400,404,401,398,392,396,417,417,403,398,409,378,396,403,409,412,405,404,409,414,416,418,421,419,424,405,401,405,401,392,390,386,386,392,390,390,389,393,401,390,389,410,437,462,488,502,483,452,463,439,406,426,422,428,420,404,395,377,361,353,359,370,349,337,327,328,335,321,331,328,324,320,311,305,290,281,293,303,303,311,311,303,294,296,298,304,311,294,290,294,283,292,301,301,293,307,322,315,321,326,321,316,310,311,315,316,322,325,339,348,341,339,348,350,347,347,343,331,315,313,314,321,328,318,303,298,303,307,308,313,329,340,350,354,346,337,342,335,335,337,330,329,322,302,289,295,313,329,340,342,342,365,371,366,366,364,353,345,337,332,329,342,341,348,336,321,333,311,309,332,318,307,304,304,310,318,319,329,333,346,345,349,349,340,340,323,311,321,316,322,328,334,334,333,345,357,355,351,353,364,377,387,394,398,393,391,391,383,353,345,349,336,321,315,323,352,347,336,336,340,328,317,320,321,317,315,317,319,321,323,323,327,321,321,317,321,321,321,315,311,303,307,315,315,315,314,307,318,323,321,326,328,327,328,328,328,327,327,332,334,340,326,337,352,337,336,344,346,355,361,355,352,352,353,350,350,357,365,361,353,349,352,340,328,320,321,320,320,321,321,320,320,325,322,334,338,333,342,339,319,322],[2156,1692,1194,908,1068,1318,1288,1112,814,704,556,744,1054,987,604,397,475,882,1306,1004,703,675,611,948,1284,1144,1082,1186,1248,1152,810,697,1038,1602,1682,1248,918,1796,1844,778,713,1044,1336,1134,801,612,509,741,932,1252,1562,1730,1914,1640,1346,1930,2376,1790,940,504,453,505,586,606,564,535,560,535,381,343,307,283,280,336,386,393,379,373,367,341,309,272,279,368,311,315,401,455,674,1046,1416,1602,1738,1082,538,382,319,294,323,365,779,1354,1292,1242,1316,711,422,676,1300,1164,993,1080,1214,1290,1042,724,786,1354,1440,839,847,1270,1394,1294,1036,1538,1632,1572,1642,1396,1494,1730,1454,1474,1386,1896,1674,775,433,406,492,655,538,448,482,808,1116,1040,943,1104,1144,972,868,880,976,968,1208,720,369,468,560,877,932,550,683,418,312,278,320,335,465,474,307,296,415,434,313,385,418,498,814,758,836,551,501,553,614,653,756,1086,1358,1011,636,644,487,380,463,399,405,412,375,394,388,501,860,1606,2280,2120,1614,1890,2008,1382,1078,1466,1350,655,391,868,1019,477,494,953,1274,1208,1220,1282,1108,933,1068,1236,1224,915,725,880,680,641,847,1244,1296,1212,1346,1316,1176,1074,1112,1384,1638,1412,1246,1230,1416,1314,1032,1196,1304,828,430,409,367,413,471,536,608,522,608,813,755,455,294,370,515,644,794,805,509,459,383,223,298,279,249,243,289,296,275,308,387,444,397,492,899,1408,1500,1164,1240,966,750,902,1126,1170,1168,1312,1274,967,487,576,585,1017,1078,1072,902,681,802,1242,1430,1346,1250,1132,1152,1080,966,766,859,1428,1426,961,934,1512,1778,1502,1178,1286,1192,1330,1382,1054,844,865,1268,1226,739,623,817,862,1076,797,727,778,1196,1258,1252,1152,1080,1100,1196,1676,1596,1170,957,935,1152,1676,1248,760,1166,1548,868,518,448,419,494,1062,1614,1532,1166,1218,1444,1270,1300,1248,1146,773,615,973,854,720,969,1100,1272,1368,1354,1786,1012,511,547,510,514,533,604,608,496,509,579,536,541,704,750,750,638,531,502,535,617,546,390,373,561,609,628,594,493,417,385,365,343,354,360,358,365,349,335,326,330,315,369,357,397,514,561,505,518,722,1054,1294,1232,743,463,644,1162,1478,1554,1584,1310,833,535,542,894,796,513,521,869,1094,1110,1032,905,790,669,597,644,614,753,1190,1064,1196,1250,1564,1350,899,1222,1412,1366,1486,1362,1196,969,755,592,650,827,1184,1132,1240,1058,628,697,730,531,625,910,1152,867,539,438,650,1021,1152,950,850,612,348,288,342,419,447,410,449,596,584,460,480,629,766,1306,1344,1046,1556,1328,1098,766,1048,856,917,913,905,709,554,710,570,1074,1688,1464,1005,833,976,1410,1192,1194,1050,787,784,642,662,667,504,580,711,706,615,561,479,466,465,497,497,584,941,1282,1252,966,617,726,1092,1332,1798,1544,1080,1224,1210,821,830,990,738,1276,1828,1918,1206,802,1148,1258,1384,1310,1376,1600,1548,1520,1424,1368,1348,1378,1380,1936,1538,850,1108,1274,1324,1172,1034,1108,1042,1116,1012,1178,1394,1516,923,484,464,411,415,527,706,949,1204,1250,1196,1132,1306,1554,1154,980,1130,1148,1362,1454,1226,959,1172,1204,1062,922,918,1007,1092,775,798,860,886,657,412,508,786,1252,1028,891,774,898,1238,1354,1298,1242,1140,1172,1488,1624,1386,1222,1058,1138,1026,796,697,1054,1148,858,791,957,1268,1620,1404,1404,1668,1644,1238,1322,1582,1384,1450,1386,1011,814,748,639,539,858,1040,1456,913,658,803,915,1290,1454,1094,984,1396,1604,1224,1098,1234,1268,1356,1268,1412,1540,1418,1242,1164,1050,890,761,771,869,863,783,942,1204,1224,1274,1232,1384,1606,1334,1010,982,1378,1492,1272,1023,1154,1460,1320,1190,1126,1150,1952,2370,1204,807,671,681,488,568,933,1370,1380,1380,1270,1084,1046,918,794,659,460,814,1080,1030,645,890,1190,885,636,559,310,316,469,1094,1818,1590,1316,899,844,1328,1664,2016,1742,812,398,283,265,295,385,411,317,266,245,251,274,286,605,1138,1166,1048,1216,1316,1124,803,1086,1458,1176,1364,1428,1448,1680,1522,1196,1366,1566,1306,1350,1414,1704,1168,1144,1402,1246,1084,1042,1102,1194,1142,1092,1262,1268,1180,1276,1366,1430,1598,1598,1626,1620,1456,1324,1328,1354,1230,1248,1498,1316,1220,1498,1712,1428,1454,1622,1602,1218,1150,1340,1208,1128,1112,1250,1452,1488,1316,1372,1456,1472,1448,1438,1188,963,1168,812,488,482,477,463,478,699,1078,850,459,457,469,321,255,303,637,883,452,752,1005,691,399,431,434,382,807,1250,1440,1422,1112,896,1290,1608,1480,1194,1040,1154,1392,1170,769,880,1212,1780,1600,1272,1550,1828,1612,1100,778,1040,1003,759,899,1074,1052,625,705,1044,1382,1412,1270,1170,1320,1140,705,730,1032,945,876,1012,1362,1344,1124,1318,1364,1544,1422,1028,1220,1482,1208,957,1170,1550,1158,877,942,1344,1500,1526,1366,1266,1026,808,1028,1416,1390,1056,981,1238,1001,778,1144,1376,1122,1260,1688,1412,853,921,1784,1678,893,510,493,527,520,609,810,1154,1392,1590,1266,1194,867,909,1070,1254,2092,2304,2336,2196,1296,666,1584,1714,717,662,1356,1776,1146,565,599,1284,1092,583,851,642,477,310,300,343,450,714,893,701,928,862,469,377,404,354,467,799,984,739,506,536,736,811,1170,896,448,529,570,486,608,1300,1532,1320,920,1040,711,1144,1064,728,1021,1114,870,733,886,987,822,1196,1088,582,685,1013,625,766,854,805,1146,1142,1322,1310,1058,1168,1128,1080,850,701,1132,1302,1234,1266,1220,1186,1268,1072,1142,955,565,434,711,1650,1564,1058,735,899,1232,1284,1450,1162,1114,1500,1212,808,585,529,452,369,342,517,930,1324,1492,1502,1476,1172,989,1044,1390,1288,1188,1154,1272,1296,1050,1448,1700,871,874,1190,1484,1366,1296,1302,1560,1708,1636,1416,1430,1602,1440,1152,1212,1268,1160,1102,1046,1154,1254,1372,1406,1356,1298,1216,1394,1268,1404,1942,1424,1270,1118,1004,996,1042,1146,902,781,883,704,673,556,835,1302,1314,1494,1634,1636,1786,1506,1360,1536,1394,1124,977,468,577,1262,1118,940,890,807,749,876,808,869,1038,839,882,999,1066,1118,1120,1166,770,891,1536,1808,1212,558,563,558,591,496,600,719,1050,1274,1242,1356,1384,1278,885,543,507,506,485,511,500,515,615,918,1214,1256,1252,955,508,679,941,974,924,1178,1412,1344,1672,1562,1566,1236,1150,1158,735,1068,1258,1020,756,913,991,886,664,515,506,463,418,412,402,418,485,444,327,325,296,317,333,358,342,292,344,415,365,321,303,292,397,594,525,575,464,357,418,540,695,645,423,360,391,608,710,387,293,285,273,331,338,347,350,380,421,427,460,501,522,518,529,542,543,536,539,542,516,492,480,452,431,456,443,423,419,414,407,394,412,415,421,450,444,411,415,420,407,412,430,467,482,485,487,466,452,450,440,423,406,410,420,414,417,422,401,399,405,398,405,405,382,365,379,377,385,385,395,389,403,462,483,479,493,515,527,518,517,510,499,484,505,499,467,450,443,490,511,473,431,425,430,433,415,403,392,401,403,400,398,395,388,381,387,390,381,385,394,400,384,397,392,389,396,403,403,395,396,402,410,410,414,412,410,416,408,398,401,398,386,384,383,384,386,390,384,383,389,393,390,398,412,428,454,480,500,488,462,454,440,416,413,424,440,432,407,397,383,373,352,349,367,358,340,328,327,333,335,328,327,322,312,309,308,296,287,296,303,301,297,292,291,286,293,298,296,289,290,294,277,290,297,315,305,299,310,326,315,313,327,324,306,308,313,321,322,333,335,339,341,332,339,348,337,362,343,333,316,309,309,316,321,329,321,308,305,306,311,315,312,322,332,347,354,350,350,344,336,334,330,332,336,330,305,292,300,310,352,348,347,339,363,372,368,368,358,353,354,342,332,316,342,341,343,342,338,329,315,318,321,322,322,301,309,309,313,310,320,332,336,346,341,327,328,331,325,303,316,322,323,327,333,334,333,341,356,358,349,351,363,374,386,398,398,390,390,394,379,353,351,345,332,328,328,339,339,332,328,333,340,330,323,321,321,321,321,327,331,334,335,332,328,327,328,323,322,318,315,315,315,306,303,310,315,315,310,325,332,332,327,328,327,326,325,323,328,327,317,338,339,339,350,347,355,353,347,349,351,347,346,347,355,357,359,355,353,357,364,364,351,347,349,344,330,321,317,321,321,319,319,320,320,319,320,336,334,320,336,340,319,320],[1704,1270,1306,1284,1082,1070,1048,871,765,842,667,843,1166,1306,948,542,648,1060,1366,1284,903,466,930,1570,1378,723,653,913,990,781,532,484,814,1124,710,635,844,1388,1232,778,669,810,1116,880,523,477,498,644,1052,1428,1654,1720,1568,1208,951,1350,1148,852,720,520,441,584,678,521,474,540,727,714,456,402,359,294,296,323,352,329,330,360,384,362,339,330,290,375,393,416,416,486,693,1108,1478,1652,1714,1676,1154,646,367,295,360,373,713,1098,871,966,933,423,342,695,592,610,833,1024,775,847,638,392,493,799,908,1008,1146,1140,1306,1534,1724,1732,1594,1674,1986,2012,1964,2026,1786,1274,1128,1342,1196,629,433,421,502,604,631,575,605,999,907,949,926,870,838,1058,1152,1023,767,556,611,451,308,341,321,331,294,354,453,402,332,329,334,474,738,548,321,361,422,469,439,656,557,625,967,897,733,465,384,498,630,599,881,1142,1332,1136,671,509,488,491,408,405,412,347,353,382,379,575,1090,1456,1914,1748,1704,1968,1890,1556,1342,1344,1190,904,719,1104,1548,1002,594,908,1192,1011,785,935,942,788,830,1106,1256,933,563,752,1078,984,849,1378,1152,1048,1410,1372,1044,828,874,1344,1418,1062,1013,904,1004,1234,1462,1622,1570,1082,568,528,562,527,528,645,611,647,922,1013,728,419,318,397,518,700,785,722,399,559,336,232,269,254,254,280,305,337,412,393,393,487,597,636,1038,1356,1324,1490,1458,874,636,816,845,782,960,1102,1476,878,490,662,1170,1268,1158,1432,1406,1052,1066,1434,1388,1148,1312,1200,1114,1412,1486,1052,1012,1206,1188,1110,910,1356,1562,1146,733,808,1048,1384,1510,1346,923,684,797,910,868,1078,963,500,397,446,530,617,849,937,954,1182,1566,1340,1450,2050,1954,1200,775,923,1830,2310,1528,1068,1526,1180,636,636,533,502,693,1612,1650,1554,1612,1388,1172,1314,1234,1372,1490,1018,966,896,645,831,946,1634,2014,1734,1540,1392,800,531,517,506,519,431,510,548,463,548,612,534,613,696,733,739,623,559,551,619,747,598,368,380,426,555,631,672,637,580,485,397,329,351,356,344,340,353,357,363,350,343,339,342,363,388,413,408,454,685,1104,1392,1016,570,380,612,1122,1460,1550,1548,1188,600,429,388,732,810,524,441,728,1032,1144,1230,1294,1236,1019,615,749,1086,1332,1378,1128,827,907,1488,1232,635,915,1198,957,1006,1020,1015,947,793,593,1080,1284,1308,1522,1526,1082,589,608,503,459,835,1408,1562,1068,780,482,443,596,664,829,730,402,293,312,381,402,433,639,602,491,436,429,438,430,435,599,764,709,724,901,968,698,608,711,1100,1164,1108,938,1282,1432,869,1322,1586,1232,862,669,815,1272,1060,1001,1082,966,963,570,695,449,346,502,533,636,1024,1016,789,590,534,576,494,519,1017,1384,1136,815,572,359,525,1058,1306,1248,1482,1612,1418,975,1070,1056,815,1788,2492,2512,1418,1136,1356,1494,1312,804,940,1096,1142,1312,1324,1510,1600,1510,1510,1454,1000,995,1324,1444,1534,1268,977,999,1394,1746,1320,1100,1268,1410,1094,948,925,612,609,545,542,825,997,1346,1294,1218,1310,984,625,622,911,1376,1428,1292,1002,886,1212,1078,775,849,935,968,761,634,822,824,574,462,518,675,1100,1450,947,960,1240,1288,1276,1184,1128,1218,988,1192,1376,1560,1230,1068,1048,1100,1082,816,755,1200,1330,1090,961,1338,1520,1370,1130,1270,1602,1700,1082,1096,1408,1318,1460,1300,1036,732,520,412,550,759,1072,1150,843,918,762,671,1208,1318,1114,1036,1386,1408,1374,1294,1196,1368,1350,1300,1526,1494,1344,1130,1004,1056,967,751,830,1096,1210,830,695,1114,1350,1396,1468,1512,1484,1460,1434,1286,1422,1494,1190,1082,1080,1160,1210,1074,1054,1222,1384,1522,1028,675,681,670,418,427,915,1206,1102,1202,1098,863,714,984,696,731,765,807,932,756,589,625,986,1142,700,561,403,612,554,668,1013,925,1090,869,722,1060,1532,1682,1062,459,397,322,250,278,280,278,297,265,261,277,274,270,416,892,1186,1188,1120,1172,971,698,1326,1250,746,1005,1314,1410,1304,1428,1718,1688,1498,1400,1324,1394,1456,1196,1326,1320,1136,1054,1108,1416,1340,1234,1300,1406,1328,1182,1188,1212,1360,1332,1340,1518,1436,1378,1410,1462,1380,1288,1228,1408,1524,1692,1994,1744,1392,1584,1746,1900,1688,1418,1386,1346,1336,1212,1206,1476,1586,1524,1466,1464,1588,1876,1926,1448,1526,1554,961,578,541,566,538,452,555,977,1023,588,465,538,413,250,268,441,769,717,1246,1372,764,393,463,459,460,579,1024,1648,1672,1312,1178,1420,1738,1592,1212,910,886,1054,979,892,1386,1210,1324,1220,1250,1346,1682,1520,1056,1040,1204,1158,1056,976,1120,1190,1088,894,1176,1336,1280,1232,1150,1134,988,621,673,1023,1402,1258,1244,1316,1114,1005,1222,1150,1316,1504,1376,1466,1432,1246,1108,1224,1252,1274,1214,1000,1074,1316,1252,1176,1348,1400,1338,1526,1606,1226,1054,922,1158,956,781,1132,1132,1018,1324,1490,1434,1116,835,1362,1428,1046,586,451,468,476,569,1036,1670,1544,1326,753,745,1038,935,980,1760,2120,1748,1280,1394,1152,1046,1874,1782,883,1004,1444,1420,895,626,648,1100,1216,833,954,792,733,422,339,349,599,637,712,685,789,1068,977,571,388,410,363,465,811,797,749,1296,1570,951,625,636,505,735,936,764,588,1516,1526,1030,1012,734,320,509,593,672,943,1128,1005,1116,788,841,1070,1154,1222,991,1072,977,585,684,794,689,1180,1232,988,797,668,692,1044,1344,1016,661,726,916,990,1002,1009,573,567,485,495,666,517,362,399,926,1256,1070,628,615,874,993,1216,956,714,626,547,555,429,406,373,296,413,727,954,1344,1604,1944,1542,1340,1200,1302,1596,1442,1164,1110,1162,932,959,1214,1106,1090,944,990,1438,1366,1254,1618,1768,1604,1656,1658,1640,1560,1160,1014,1116,1142,1074,1078,1218,1260,1206,1404,1396,1412,1368,1282,1406,1228,1404,1724,1340,1048,978,940,908,1060,1298,954,739,825,641,613,665,882,1196,1176,1236,1434,1504,1526,1418,1296,1426,1310,1148,981,601,698,1144,976,661,539,488,769,990,730,889,1278,814,690,937,1166,851,984,1096,540,453,844,1340,1158,723,427,499,499,284,360,606,1080,1484,1454,1302,1296,1106,770,537,547,522,421,455,483,615,622,573,824,841,722,703,811,1046,1098,1018,1032,1132,1196,1454,1714,1510,1374,1104,1412,1262,789,1212,991,969,641,656,966,808,595,545,553,492,445,443,455,543,836,776,462,365,322,307,292,315,328,281,402,545,416,293,286,326,361,608,745,649,509,421,418,428,464,477,351,356,325,328,354,297,279,285,280,326,351,341,352,377,415,450,489,525,512,515,516,540,544,527,522,522,517,472,448,466,463,455,452,430,418,415,418,414,409,416,424,424,429,409,409,421,412,414,421,443,464,493,514,498,464,443,450,438,401,394,404,411,412,412,396,391,407,402,396,395,384,363,367,382,399,396,386,404,392,429,495,495,500,512,503,508,517,512,499,476,491,487,480,462,447,466,489,479,445,427,424,423,417,409,401,399,392,392,395,392,390,392,392,389,392,378,390,409,396,389,389,392,398,397,396,389,388,390,405,405,395,410,418,418,414,402,395,401,397,383,386,386,385,385,385,386,387,393,405,406,400,421,448,485,504,480,470,452,432,413,414,420,424,419,413,393,382,376,361,350,346,359,345,330,327,328,324,322,327,312,309,316,316,304,291,294,302,299,294,301,289,284,296,296,294,289,289,285,277,278,293,315,313,305,298,316,318,309,325,333,310,315,320,327,328,348,353,342,341,326,334,351,338,347,337,321,312,309,308,312,319,324,323,319,312,315,321,315,318,332,354,368,354,336,346,348,337,333,332,330,332,342,317,304,313,317,363,350,333,348,362,373,380,364,350,348,350,338,335,329,337,342,338,332,338,338,329,322,328,322,329,302,302,308,308,309,318,326,327,341,341,331,346,332,326,310,320,322,327,327,328,327,331,336,350,359,353,355,359,371,390,398,399,396,396,402,381,365,356,341,328,332,331,341,334,334,335,334,334,332,323,320,322,321,321,328,335,340,334,333,328,328,318,322,332,315,310,314,303,304,303,315,315,316,309,308,310,318,322,322,321,321,320,321,327,335,319,336,351,345,346,356,359,359,358,355,353,353,353,356,363,367,361,359,353,355,361,357,351,346,340,347,333,322,315,315,326,318,315,326,326,317,315,327,339,320,334,330,325,328],[1072,849,1282,1005,799,962,1362,1172,1052,1192,1170,1472,1594,1416,1256,1168,978,705,1088,1170,1007,852,1286,1584,1212,950,1118,1078,777,661,678,762,581,828,677,575,697,1070,1092,969,650,535,714,638,412,473,502,554,836,1316,1428,1108,818,651,603,804,1040,1012,730,573,509,513,592,515,660,777,768,630,468,441,433,441,416,319,320,282,286,309,313,318,336,324,313,347,369,433,493,467,589,1218,1570,1876,1896,1846,1738,1382,786,402,509,546,553,833,1080,1222,779,462,513,816,573,334,552,927,1286,1082,425,458,756,755,813,1418,1290,745,917,1446,1582,1594,1650,1558,1880,1830,1296,1494,1744,1140,877,769,706,555,460,664,1126,960,554,636,578,885,1072,897,641,615,649,904,908,733,506,373,435,435,363,347,291,278,348,378,483,477,345,341,468,860,1102,758,437,509,931,836,685,723,543,408,409,487,477,398,451,801,1015,739,999,1250,1246,1354,1118,688,526,507,471,444,359,354,343,316,402,926,1102,786,1336,1902,2148,2004,1702,1566,1730,1654,1452,1516,1360,1100,1532,1646,1224,1284,1566,1532,1078,707,685,673,608,688,896,587,533,1016,1386,1414,1484,1532,1388,1388,1338,1010,955,694,831,1338,1454,1010,832,1172,1344,1316,1550,1866,1792,1542,1188,821,649,525,553,836,899,857,1056,1078,628,382,318,441,536,700,793,583,434,528,289,236,290,298,260,281,318,456,622,524,404,366,550,670,1144,1366,1342,1318,1054,835,907,902,948,686,840,966,1092,1074,945,989,1196,1188,1278,1346,1192,933,816,1110,1266,1064,1052,1036,1096,1342,1088,645,795,963,737,764,955,969,1060,984,1042,827,844,1158,1570,1492,1090,659,666,994,1007,758,440,359,364,419,756,1054,786,462,697,1188,1462,1274,1538,1742,1766,941,641,883,1300,1830,1692,1292,1300,685,636,656,579,581,962,1522,1700,1986,1536,1074,1434,1444,1120,1128,1092,859,996,768,932,1130,1360,1992,2074,1666,1338,1064,1042,1198,1236,882,728,656,574,498,392,453,465,411,534,645,667,731,697,605,572,767,764,490,404,408,374,471,586,572,639,680,609,524,441,403,328,337,329,334,336,332,339,351,352,354,352,332,335,369,414,519,656,775,645,482,392,564,1072,1470,1478,1400,879,515,466,412,467,646,663,556,667,1028,1394,1810,1488,1360,1084,872,1222,1386,1162,1098,1180,796,750,1226,1134,709,931,1102,863,1198,1150,1132,1178,1034,756,979,1340,1498,1460,1246,1074,1076,976,545,470,847,1382,1316,1186,975,459,337,587,824,833,565,364,292,302,474,462,439,606,596,467,445,541,653,622,561,621,1294,1302,985,1038,1072,1216,1114,820,807,895,1010,797,1040,933,791,1182,1278,1162,1020,655,624,998,1086,1282,1338,1176,886,407,355,459,386,426,433,598,1078,1182,861,612,522,473,492,534,701,1128,1078,822,735,588,670,1086,1170,1226,1400,1464,1166,838,1013,1062,933,1616,2544,2448,1472,1284,1510,1318,842,742,745,671,799,627,831,1202,1390,1484,1282,1160,1352,1376,1512,1610,1734,1476,836,667,1666,2018,1494,1466,1382,1294,1202,1134,1166,1098,818,652,630,592,518,1082,1360,1294,1212,800,582,694,978,1412,1396,1308,1108,1122,891,899,850,715,752,755,702,686,667,686,390,488,633,816,1250,1404,1018,1066,1282,1318,1360,1090,998,1150,792,1018,1100,1250,954,807,1040,1306,1250,988,1076,1312,1230,1214,1023,1444,1416,1132,1022,1114,1406,1708,1348,1166,1156,1272,1422,1188,1136,844,688,653,825,909,1060,1084,977,838,502,626,1112,1180,915,1032,806,1046,1570,1504,1252,1438,1382,1230,1007,986,1172,826,813,1017,1030,935,1004,1164,1174,753,658,1186,1494,1416,1368,1454,1382,1432,1454,1214,1282,1286,1152,911,835,1112,1222,962,954,1038,1208,1294,1156,841,672,640,550,418,564,599,681,859,784,560,622,963,803,778,622,522,466,403,514,667,1154,1504,736,496,686,1094,747,408,336,474,597,443,403,760,1246,1318,888,395,297,285,354,305,277,315,317,296,290,289,249,270,309,705,979,971,971,1056,1162,1178,1324,1034,984,1108,1158,1174,1028,1332,1554,1412,1248,1326,1206,1208,1144,1150,1204,1098,1120,1204,1270,1528,1416,1312,1324,1262,1318,1334,973,996,1376,1344,1324,1556,1516,1532,1372,1274,1262,1334,1178,1242,1426,1430,1698,1556,1294,1248,1390,1910,2120,1596,1436,1356,1548,1452,1384,1432,1496,1416,1246,1306,2262,3906,3050,1554,1454,1102,827,668,577,662,749,796,887,1050,1005,679,447,365,444,283,275,406,571,778,940,752,460,499,595,543,634,971,1452,1576,1582,1454,1256,1358,1196,1034,795,586,713,1308,1168,1094,1248,1048,946,966,1196,1230,1296,1164,1078,1204,1176,1120,1038,707,736,1114,1538,1462,1220,1178,1432,1410,1106,1010,1036,993,926,1094,1174,1232,1376,1278,1130,1278,1406,1092,986,1276,1560,1426,1232,1236,1194,1086,997,1074,1150,779,697,1056,1188,1112,1266,1218,1346,1292,1016,1138,1322,1282,1008,741,1058,1454,1282,1482,1096,1060,1190,1166,1016,866,801,675,490,451,421,434,507,687,979,1108,789,709,647,756,1042,1462,1576,1430,1014,695,962,917,874,1610,1588,1120,994,966,897,779,661,639,777,782,697,730,537,514,422,354,355,382,362,552,708,665,799,1046,1019,761,480,502,681,1122,1144,1166,1794,1802,932,503,442,425,739,1156,987,481,965,1132,962,933,689,555,667,520,702,887,968,705,915,1084,1196,1086,766,836,1134,1224,839,722,781,872,703,1096,1064,697,508,517,621,939,1072,665,604,990,1084,669,612,698,469,321,316,372,506,730,616,365,412,753,1196,781,650,794,800,905,632,609,544,645,757,475,477,373,361,556,500,683,1130,1242,1310,1328,1472,1350,1224,1054,952,1134,1340,1126,818,1208,1238,1214,1174,1042,952,1146,1296,1286,1422,1608,1690,1624,1624,1656,1346,1118,992,1007,1042,1192,1326,1418,1306,1080,1168,1178,1128,1228,1300,1322,1300,1302,1362,1350,1166,949,882,1007,891,1054,910,574,803,684,596,816,1076,1344,1270,1160,1288,1212,1376,1224,1054,1178,1134,1224,941,585,554,642,535,503,678,857,1186,1542,1388,1466,1504,811,695,791,728,557,543,616,715,713,517,970,1110,864,505,786,680,444,364,354,782,1280,1054,814,754,750,774,754,913,720,755,957,1070,1022,753,631,695,828,821,955,1136,1286,1384,1160,1346,1372,1460,1716,1584,1530,1454,1338,1532,1104,1344,1210,1124,963,651,951,1012,728,585,555,520,447,432,431,462,462,554,544,451,393,372,332,281,290,302,289,332,405,396,426,435,376,345,422,505,495,420,354,348,336,332,330,347,361,350,303,300,292,279,289,285,313,356,339,342,348,375,430,462,527,519,514,514,519,516,509,509,507,516,472,437,455,468,468,478,455,416,396,407,424,426,453,421,412,417,423,411,417,417,412,415,423,437,481,511,517,480,446,451,450,412,406,403,411,426,422,404,391,404,401,407,396,382,366,357,373,401,404,384,386,397,431,480,487,498,511,493,511,517,508,486,467,479,484,479,458,461,450,467,466,462,437,414,408,413,412,392,380,388,398,392,389,382,401,397,392,400,392,388,395,405,403,387,392,395,398,397,390,386,378,396,406,396,410,421,416,408,402,396,395,410,393,389,375,374,386,391,390,401,401,414,420,406,420,442,471,488,490,473,452,425,415,416,418,422,424,424,397,390,379,367,349,355,361,345,341,335,327,317,311,328,317,318,315,314,305,291,288,292,298,309,309,298,315,301,301,297,290,286,288,296,285,290,299,307,305,309,318,322,309,316,328,318,322,321,326,329,347,353,341,342,342,342,343,341,342,329,316,305,303,306,308,307,319,323,318,313,317,328,311,321,336,346,363,360,337,340,351,346,335,335,342,328,342,330,318,321,324,363,356,352,357,364,385,397,380,373,354,337,329,332,342,342,336,334,337,340,329,332,328,329,324,308,306,306,306,310,315,322,319,316,334,342,321,321,329,332,328,322,326,329,332,333,334,335,335,333,362,354,353,362,375,376,394,405,403,403,392,376,378,371,353,351,346,339,335,333,333,334,329,326,335,326,325,321,321,323,328,329,328,326,323,323,328,321,315,323,316,308,299,294,303,296,305,314,315,314,314,319,323,321,321,321,321,322,322,326,333,333,332,350,357,348,359,363,359,362,362,353,353,359,359,361,359,353,353,353,357,361,358,353,340,351,338,328,323,318,309,318,320,310,324,330,315,327,321,345,330,335,331,328,323],[774,803,1350,984,931,1216,1112,951,1224,1488,2002,2258,1554,1234,1324,1510,1312,931,920,912,1146,1300,1092,1278,1448,1338,1194,941,760,938,1158,1108,696,668,783,833,960,1306,1654,1430,772,491,865,1023,670,996,728,483,514,695,717,565,503,470,538,779,908,785,585,533,518,426,493,645,740,673,547,527,580,508,566,665,724,455,371,304,297,283,283,292,318,351,355,339,368,403,418,399,399,581,1202,1628,2082,2100,1920,1770,1326,963,860,1004,913,932,1200,1252,1026,572,338,478,415,264,348,727,1122,951,545,634,702,676,622,914,871,478,439,930,1194,1172,1334,1450,1426,1320,1054,1044,932,696,579,617,680,528,494,1064,1578,1064,626,865,959,1148,1404,900,496,494,877,1532,1538,1128,437,334,416,328,330,357,316,319,346,419,477,436,372,386,681,990,1180,1080,888,1204,1232,818,722,709,713,609,380,325,357,446,772,1112,1112,702,715,874,999,1204,1324,1190,912,514,473,481,458,439,391,358,522,998,965,1060,1670,2060,2020,1644,1556,1786,1966,1880,1552,1792,1882,1728,1650,1626,1334,1216,1578,1826,1498,849,504,540,527,496,571,520,586,667,667,987,1312,1360,1318,1504,1128,769,991,810,825,1134,1440,1218,1052,1178,1308,1522,1540,1550,1612,1744,1696,1484,1122,719,612,714,891,1018,1210,818,411,306,311,455,536,619,664,368,523,500,244,314,334,394,293,430,719,992,1072,677,546,584,797,1068,1268,1260,1406,1354,964,774,997,1062,819,819,902,691,816,1372,1604,1524,1354,1448,1408,1442,1188,980,813,1094,1314,1302,1354,1146,1192,1322,578,567,1020,1160,708,585,956,1188,1512,1952,1656,959,631,767,1298,1528,1324,977,1322,1684,1360,767,778,796,619,514,578,865,960,952,1246,1350,1130,813,1122,1486,1072,499,637,1040,1244,1294,878,838,871,666,587,611,630,622,692,1034,1936,2228,1096,657,946,1224,1416,1338,938,645,781,838,912,912,1488,2014,1716,1354,1560,1428,1848,2510,3206,1926,1048,893,793,569,380,347,370,417,570,665,648,709,736,656,616,771,678,509,487,447,428,512,584,572,634,697,672,577,502,479,425,346,312,324,332,336,341,341,345,359,377,370,346,442,514,468,461,440,410,435,440,485,981,1450,1462,1380,863,550,499,513,576,626,485,510,864,1060,1280,1850,1338,1502,1586,1682,1586,1224,910,977,1118,959,993,1156,987,691,1110,990,1001,1166,1168,1246,1300,1326,1140,807,1102,1356,1272,1328,1144,1254,1148,791,618,756,1224,1210,707,435,362,322,383,421,483,513,449,386,367,488,514,486,461,390,451,486,717,1334,1110,1046,926,979,1426,1580,1404,1188,1316,1234,788,619,738,890,819,581,436,660,957,1054,1056,963,709,658,858,882,1240,886,721,466,361,489,608,495,703,901,843,1142,1012,811,659,547,506,511,688,825,1044,898,633,739,696,752,1050,1072,1274,1318,1232,955,870,1036,1188,1156,1878,2484,1904,1284,1256,1196,962,639,591,599,565,721,676,861,1146,1216,1128,846,780,1218,1208,1356,1570,1700,1586,1248,1094,1864,1942,1562,1398,1110,1210,1374,1194,1376,1802,1396,1000,1142,1042,786,1166,1542,1608,1620,1352,1128,837,1232,1202,1142,1278,1220,1238,877,827,907,875,929,919,961,819,712,680,781,727,708,888,1320,1550,1508,1262,1050,1226,1426,1378,1084,824,686,883,1182,1250,958,763,1001,1198,1226,1152,1302,1338,1124,1182,1186,1384,1426,1262,1032,1324,1534,1302,1034,1068,1094,1362,1288,1328,1102,1094,1122,1026,819,827,1112,1156,1116,725,470,1005,1314,1160,1034,1188,991,1230,1524,1418,1328,1500,1242,995,704,936,780,543,557,551,1036,1320,1302,1274,1118,648,562,1150,1436,1348,1268,1260,1348,1332,929,610,993,1474,1174,553,546,655,786,744,990,1094,1164,1212,1290,1148,948,1009,974,611,886,848,713,531,535,575,654,731,716,625,565,590,804,499,467,456,796,1488,915,487,548,975,846,459,449,441,408,474,616,791,961,835,523,302,296,320,318,236,274,313,314,346,336,322,265,278,287,744,937,737,694,939,1120,1166,1062,994,1160,1106,1086,1098,1116,1152,1304,1252,1330,1350,1200,894,810,1078,1340,1210,1240,1106,1410,1454,1426,1260,1232,1122,1282,1382,1224,1228,1406,1410,1330,1344,1100,1352,1346,1246,1292,1266,1230,1238,1194,1272,1352,1268,1368,1458,1154,1262,1626,1450,1306,1436,1554,1466,1526,1550,1494,1432,1450,1320,2360,3298,1802,998,902,643,720,691,625,802,836,867,1086,1350,1178,823,601,334,291,288,301,319,411,513,502,412,610,744,699,492,641,1488,2100,1960,1738,1294,1202,1368,1290,1560,1202,892,1028,1428,1340,1086,944,1130,1074,963,1032,1088,1028,1090,1032,1009,1238,1246,910,1272,1450,1260,1404,1436,1322,1552,1350,854,1058,1224,1138,1058,838,740,731,1122,1338,1224,1222,1140,1056,905,828,1218,1412,1556,1520,1744,1692,1352,977,1013,1316,1076,777,1042,1416,1274,1422,1254,1206,1298,1270,1074,1160,1284,1086,1124,1390,1524,1188,1170,982,1180,1044,1096,1362,1182,711,536,487,478,476,548,607,710,695,812,977,1454,1108,544,899,1146,1028,1068,1140,1078,1306,1038,505,985,1242,974,865,1090,1520,1426,683,673,668,541,736,849,530,444,394,354,419,460,543,723,842,688,639,563,727,935,1282,1396,1210,1198,1224,1212,1176,980,703,704,649,461,542,640,481,456,587,587,562,630,767,1084,1308,691,677,895,995,713,608,851,1238,1164,763,893,952,985,832,681,612,917,841,1007,879,658,532,497,722,910,605,372,496,857,660,339,408,548,525,423,335,367,886,1310,832,510,692,834,1005,794,672,461,503,736,589,563,705,932,1007,803,1000,547,512,624,508,662,945,893,890,1144,1322,1436,1622,1624,1660,1408,1042,609,592,748,777,686,680,947,1046,1086,1190,1044,1194,1504,1378,1266,1488,1664,1354,1168,1218,1266,1302,1458,1494,1244,1158,1046,1024,1102,1094,1204,1256,1294,1192,1090,1162,1164,1252,978,860,1026,703,829,713,486,793,771,579,698,1056,1206,849,731,1060,1162,1268,1090,940,862,1016,1192,1052,634,476,796,849,517,638,775,860,1134,962,1072,1172,974,1062,1014,958,1076,1058,1238,1386,1334,873,1208,1274,865,579,777,815,527,339,365,727,1090,894,937,843,974,913,893,1196,989,959,1054,846,765,877,1038,1014,916,1074,1166,1110,1274,1116,1312,1606,1546,1690,1570,1444,1576,1488,1438,1262,1470,1948,1108,993,1106,1102,1092,987,879,544,460,464,403,419,444,443,440,491,478,390,365,386,395,333,320,313,320,304,309,393,489,454,361,322,296,295,315,301,305,334,342,305,328,365,368,368,317,297,302,293,279,255,276,343,342,341,354,366,414,456,513,522,501,510,506,482,487,505,509,525,491,454,443,470,502,518,494,441,407,408,422,429,455,444,416,406,408,401,407,407,410,429,439,419,446,481,499,477,453,454,454,426,413,408,412,430,423,398,397,399,407,415,401,382,369,360,369,379,389,386,368,382,432,477,497,513,521,490,487,489,491,476,458,467,471,472,466,461,447,465,471,476,451,421,409,412,411,392,385,390,397,389,383,405,389,383,396,408,415,401,387,392,400,389,389,389,390,397,392,392,383,393,406,403,406,404,412,410,406,395,384,402,401,385,372,378,395,393,389,390,414,434,420,414,425,432,452,477,485,478,464,438,422,419,415,423,422,425,397,386,376,358,341,349,355,359,349,326,318,321,316,327,326,332,327,314,308,307,304,291,288,302,311,308,289,293,299,292,289,293,297,297,296,298,307,309,307,321,307,316,307,302,310,320,322,321,324,329,337,340,342,347,354,348,335,340,343,335,313,304,298,301,304,312,322,322,302,307,313,329,315,320,333,344,358,357,344,337,344,354,342,340,337,337,342,337,333,326,344,367,354,369,363,360,375,377,370,358,346,333,332,330,335,346,339,347,322,327,319,318,323,321,321,298,297,298,306,311,318,321,321,325,335,336,337,342,343,338,333,331,328,332,337,333,335,335,342,331,346,360,356,359,377,374,382,402,401,398,383,383,390,394,357,357,350,342,334,326,324,325,323,316,334,328,328,322,327,329,325,322,322,318,318,319,308,302,307,308,310,305,298,307,298,299,306,313,318,321,321,321,321,321,321,321,321,321,315,316,329,335,335,345,360,356,363,368,366,366,354,356,356,353,351,347,343,343,348,348,341,350,359,355,338,336,332,331,321,315,312,315,312,323,333,346,322,331,318,344,345,327,334,345,328],[1246,974,861,920,1152,1272,1186,1436,1622,1432,1708,1638,1310,1440,1490,1356,1178,775,470,760,1316,1452,1306,1154,1186,1282,1076,753,1036,1106,1090,880,592,526,703,922,1136,1498,1660,1368,1228,1086,1284,1500,1448,1748,1244,642,483,447,381,384,446,469,465,534,534,502,513,525,484,428,412,509,690,636,499,757,912,792,805,896,874,713,576,481,417,397,398,344,340,404,411,357,366,385,449,529,511,414,432,723,1480,2246,2346,2012,1636,1552,1162,922,1048,1028,1254,1114,1134,801,323,361,328,324,347,565,697,616,663,595,580,943,748,644,804,578,343,465,626,952,1290,1290,1138,1090,1062,815,670,623,602,688,915,993,742,712,832,831,1030,963,1242,1384,1460,1158,635,572,785,1204,1550,1466,919,908,984,547,328,338,346,375,394,453,483,396,402,518,757,1134,1013,930,1274,1392,996,753,773,764,739,682,459,359,390,527,944,1021,746,601,609,587,797,1350,1552,1526,1376,912,487,400,453,447,450,479,506,705,902,1210,1686,1850,1678,1334,1508,1918,1846,1622,1726,1896,1966,1872,1720,1350,902,872,1202,1322,1260,932,785,764,571,469,466,690,858,647,585,680,802,1288,1316,1576,1184,1092,1048,807,858,1530,1864,1274,1028,1046,1246,1676,1500,1206,1426,1672,1834,1828,1630,1256,1062,1092,1168,1250,1396,785,401,347,396,484,594,578,433,357,572,401,288,366,463,369,388,761,1316,1520,1148,643,591,625,681,1114,1236,1210,1334,1112,996,1114,984,780,869,1070,935,758,1106,1554,1606,1440,1400,1450,1164,1288,1284,1104,994,1218,1568,1672,1510,1270,1248,1178,864,1094,1214,1010,724,1014,1716,2350,2310,1944,1666,1370,774,533,1058,1628,1360,1562,1986,1864,1490,1110,1038,1170,1120,650,675,915,1078,1216,1412,1180,784,550,695,934,648,506,1002,1726,1808,949,652,623,679,718,651,623,695,806,1001,1404,2072,1912,1368,1120,771,1070,2014,1598,1094,1106,1162,1106,969,979,1394,1572,1360,1372,1802,1814,1532,1926,2514,2116,1622,1326,943,637,439,334,336,416,606,670,649,664,724,739,745,731,646,653,659,487,391,341,367,447,511,575,634,659,593,502,453,390,335,318,333,328,334,354,383,406,456,424,406,506,495,440,472,443,413,439,405,397,872,1408,1522,1412,996,582,495,524,588,601,463,535,1112,1046,1080,1606,1406,1566,1678,1282,875,839,1082,1160,1056,1040,1152,813,590,691,1130,1172,1140,951,1020,1174,1003,1168,1058,787,888,1324,1500,1350,984,1042,1116,978,905,1058,1368,1556,937,387,318,304,312,313,346,372,426,418,430,603,565,438,455,418,372,444,602,1088,1060,909,860,1004,1284,1580,1526,1344,1236,1002,736,565,662,728,1074,1120,927,1104,1182,1168,1338,1482,1400,1510,1184,663,578,375,471,413,337,429,613,695,807,857,737,976,1024,1074,1007,950,984,781,988,1192,1054,870,761,579,494,726,850,1023,1212,1154,1162,1026,918,995,935,1166,1874,2146,1672,990,745,749,498,381,391,432,434,496,542,913,1326,1078,919,1013,1042,1112,756,854,1148,1168,1228,1438,1534,1712,1824,1696,1446,1512,1560,1454,1442,1490,1602,1378,1172,1382,1364,1060,1066,1366,1378,1454,1476,1340,1102,1110,970,1018,1122,897,839,1020,1058,1184,1406,1168,1178,1122,716,479,440,869,1104,969,1116,1402,1328,1288,1158,1188,1456,1354,1338,1040,878,872,895,1088,1266,1062,902,981,1012,1200,1330,1268,1084,811,963,1082,1140,1422,1406,1274,1286,1484,1318,863,781,943,1294,1080,1202,1314,1426,1414,1320,1046,1286,1246,1160,1250,843,579,865,1114,932,1158,1084,1020,1202,1274,1392,1572,1648,1534,1278,1122,854,666,568,535,749,1014,1072,1026,905,570,651,794,1322,1152,1082,1194,1268,1440,1262,756,474,607,913,785,437,396,380,470,708,1036,1023,1232,1306,1078,1092,969,1068,1080,1130,1086,810,689,521,674,831,913,1022,888,813,802,990,1338,656,483,482,651,1256,1136,650,363,556,748,843,963,583,749,807,860,802,615,434,321,308,364,363,294,287,341,368,328,323,319,328,306,343,370,641,818,768,786,816,921,1054,960,1060,1338,1360,1134,1102,894,1003,1208,1270,1422,1412,1162,858,943,1048,1190,969,943,1208,1554,1382,1340,1262,1268,1362,1418,1440,1332,1270,1480,1436,1364,1216,1306,1550,1444,1252,1298,1408,1274,1238,1150,1250,1310,1460,1494,1596,1454,1346,1384,1398,1392,1466,1434,1416,1384,1328,1460,1572,1438,1240,1234,1154,866,888,919,797,866,664,873,1116,862,783,1070,1230,1236,1018,700,421,311,319,379,337,369,422,470,432,644,795,772,475,625,977,1592,1854,1486,1074,1050,1162,1416,1666,1528,1004,1050,1262,1268,954,1128,1306,941,865,1180,1112,1056,1112,901,1040,1160,1368,1372,1578,1556,1266,1110,1156,1222,1362,1432,1140,1120,1236,838,701,703,703,885,990,1102,1084,1254,1322,1088,895,971,1224,1290,1440,1710,1846,1488,1272,1200,1252,1196,1122,1164,1400,1458,1500,1488,1216,1446,1960,1642,956,869,1086,812,708,944,1398,1096,550,818,1186,1160,1148,1452,1302,832,571,564,512,565,681,806,922,919,865,1166,1604,979,542,962,725,746,928,992,992,1288,1204,960,1023,1013,822,834,902,988,988,672,724,652,764,984,807,444,381,329,345,518,894,841,849,848,570,476,491,460,950,1400,1088,813,758,756,992,1256,982,1290,1538,1244,787,1130,1160,782,971,926,869,651,456,553,993,1254,1144,1360,1154,960,709,613,721,989,1372,1466,1054,750,640,588,727,506,547,778,1032,879,651,560,577,1138,1286,718,617,569,426,398,435,533,790,771,477,253,301,444,625,459,421,688,792,540,505,580,509,586,778,665,678,1030,1274,985,1122,1468,742,568,709,521,531,915,844,653,958,1534,1760,1692,1750,1858,1396,653,307,382,312,455,764,798,706,872,1104,1282,1064,1042,1246,1100,1206,1360,1430,1366,1186,1182,1164,1374,1352,1338,1260,1328,1122,1010,987,950,1106,1290,1166,1064,1416,1468,1476,1316,643,758,913,759,719,585,536,756,700,512,559,863,1032,929,864,1054,1038,947,907,855,883,1017,846,759,568,475,898,907,501,497,542,526,562,573,681,717,521,548,772,1060,1124,1112,1192,1162,1008,1092,1104,888,766,558,700,853,526,311,464,789,1036,909,837,767,747,799,962,1232,942,606,793,908,1021,1190,1390,1368,1004,1108,1210,1250,1164,1248,1552,1370,1542,1522,1352,1516,1260,1328,1580,1376,1770,1566,836,623,833,1318,1290,1124,706,482,477,502,463,431,428,408,396,414,422,386,401,584,659,408,336,309,301,286,336,437,414,325,298,298,302,284,285,321,338,324,318,311,309,310,347,344,318,372,342,296,281,269,263,321,342,351,351,366,408,437,484,521,505,497,512,501,495,499,512,525,509,469,435,457,508,518,509,473,426,416,418,430,448,458,422,402,395,395,415,412,415,429,441,421,422,443,460,449,452,461,448,419,408,416,420,429,422,396,391,388,397,404,398,392,375,360,372,369,377,392,388,383,420,477,500,507,516,487,462,477,498,472,461,452,455,459,458,459,448,451,461,467,454,430,411,411,417,405,385,389,396,394,389,396,384,390,386,388,409,414,389,383,387,396,392,389,392,396,402,402,393,403,402,405,406,396,405,393,383,380,389,397,397,396,395,396,389,386,401,375,399,422,405,416,430,431,443,462,472,477,471,451,430,426,422,419,407,401,393,385,369,352,346,345,347,353,357,332,314,320,321,328,332,333,332,323,311,303,291,283,289,298,308,305,298,296,296,295,297,295,290,294,298,303,301,306,313,324,299,305,309,310,318,324,321,321,322,329,333,332,338,347,353,345,324,322,336,334,312,301,311,315,304,317,317,324,300,303,313,321,320,317,325,350,363,351,347,346,342,352,357,340,328,357,354,338,343,344,350,357,357,351,354,360,372,372,374,372,354,335,340,328,329,325,328,346,318,315,317,303,310,316,304,304,303,303,310,311,316,324,328,335,337,337,346,340,335,337,334,334,329,340,352,342,335,334,340,342,338,356,362,356,366,368,386,397,394,392,386,401,391,386,368,356,342,337,340,327,327,333,339,328,328,326,329,319,329,331,326,324,319,316,324,322,313,309,318,320,314,296,309,305,297,301,305,310,314,319,316,314,319,321,321,321,321,325,334,341,340,337,346,351,354,362,366,368,362,359,346,350,360,350,345,340,341,341,341,342,345,350,360,351,343,329,328,326,321,319,327,327,308,322,325,335,320,315,321,353,358,339,339,355,350],[1418,1050,922,1192,1392,1266,1300,1524,1724,1150,1072,1116,1374,1466,1414,1214,898,540,378,562,988,1434,1166,621,670,799,819,702,866,801,661,481,382,411,525,865,1402,1624,1238,1340,1470,1814,1716,1494,1282,1392,1094,615,510,444,384,363,410,478,417,459,440,473,532,491,434,395,421,936,1672,1792,738,826,782,971,1132,948,904,1120,995,694,600,609,602,751,449,422,394,333,354,388,466,578,588,471,379,416,645,1116,1616,1908,1566,1530,737,423,544,918,979,569,720,597,386,492,461,364,407,631,480,271,464,554,635,766,626,607,747,733,450,382,411,490,766,932,952,1028,900,735,792,997,1110,838,1210,1456,1214,680,957,1294,1358,1082,1266,1566,2036,1700,1072,1172,971,907,839,1096,1370,1466,1222,584,306,358,392,404,438,458,436,395,549,560,611,943,882,1408,1744,1002,659,735,814,791,781,755,730,599,460,955,1460,1064,659,557,546,583,963,1314,1332,1728,1188,945,890,579,374,369,480,590,603,836,864,681,901,1506,1086,995,1556,1966,1786,1232,1322,1764,1770,1378,1344,973,799,850,634,811,1208,969,791,883,821,661,673,796,792,725,962,857,725,959,991,1174,1354,1542,1378,866,819,1340,1604,1088,1032,1126,1416,1660,1550,1468,1542,1652,1722,1638,1424,1104,1172,1500,1484,1470,1382,730,359,391,436,415,445,495,367,411,492,249,328,440,797,547,658,901,1046,1114,966,619,566,730,676,808,1010,1060,1156,966,1072,1306,1340,1050,848,792,623,949,1406,1548,1228,1354,1410,1478,1230,1112,990,1088,1278,1288,1522,1684,1902,1646,1422,1232,1136,1074,1102,1286,1406,1322,1512,1636,1246,790,959,1348,930,443,722,1170,1340,1612,1560,1348,1096,852,951,1226,1242,741,634,617,521,527,667,625,506,451,512,503,485,805,1400,1614,1220,619,528,527,569,574,582,700,801,674,1130,2060,2342,1450,1294,1366,1142,991,1498,1478,1350,1320,1234,1198,905,874,1456,1434,1180,1344,2254,2042,1364,1214,1378,1322,1328,1554,1404,807,648,397,337,407,603,745,827,797,830,910,822,679,686,779,677,484,410,405,397,350,392,467,503,583,626,531,463,363,372,353,301,318,328,346,380,398,488,566,617,689,657,546,491,427,387,372,354,346,750,1338,1566,1472,1138,717,548,557,551,555,875,872,1094,819,817,1190,1060,1122,1160,814,597,573,761,736,703,882,1021,766,709,1096,1194,1168,1032,777,1144,1366,1070,1128,1276,1286,1154,1446,1506,1042,697,774,841,966,1412,1826,1396,1464,1005,564,533,454,423,438,410,457,395,314,419,688,661,475,493,491,739,880,849,1060,968,594,678,1048,1194,1388,1244,932,1542,1582,1202,1250,1178,951,1232,1494,1650,2030,1972,1986,2194,2154,2066,2204,1154,497,396,289,288,340,350,355,680,1172,1034,1108,1352,1284,1386,1118,896,1094,1296,1096,1074,1184,814,720,900,818,544,871,950,1226,1172,1202,1368,1013,791,885,865,1114,1730,1860,1650,1162,543,622,680,473,385,379,489,659,727,988,1154,926,930,827,1013,957,782,1050,1130,1018,1074,1094,1274,1412,1580,1648,1798,1956,1962,1842,1664,1488,1484,1370,1302,1418,1392,1312,1158,1588,1572,1366,1076,1009,1052,1196,1304,1426,1242,703,819,1058,1300,1466,1604,1068,1140,1106,754,612,694,947,1298,1092,1172,1296,1264,1358,1230,1176,1318,1290,1388,1218,1188,1320,1252,1074,997,981,948,939,1004,1126,1214,1104,986,815,890,1005,962,1046,1492,1826,1550,1382,1090,1046,1606,1620,1346,1128,999,1122,1284,1398,1404,1364,1562,1512,1334,1028,792,929,1124,1036,969,1028,1030,1254,1360,1256,1482,1766,1700,1666,1448,1304,914,879,1017,910,1058,1188,1332,1578,996,911,1282,1700,1444,1130,1206,1132,1040,1172,1318,1094,871,509,749,896,646,420,333,507,1038,890,734,1238,1050,589,662,519,853,1136,1724,1444,894,697,796,959,789,610,670,883,931,1344,1658,1424,869,700,687,628,922,1074,738,361,429,608,981,736,413,785,844,814,608,322,269,300,308,324,300,273,309,402,477,390,399,386,358,316,347,380,563,872,1028,844,635,775,837,702,923,958,1126,1200,943,1126,1646,1412,1314,1420,1394,1334,1348,1184,1032,1184,1112,865,1054,1156,1272,1480,1394,1300,1358,1450,1450,1360,1374,1456,1456,1286,1360,1590,1494,1422,1416,1652,1672,1320,1224,1154,1230,1376,1454,1508,1484,1542,1602,1452,1368,1324,1450,1470,1354,1160,948,1586,1836,1660,1516,1306,1388,1316,1294,1194,1017,1110,830,1248,1608,1262,860,753,656,599,759,874,728,468,332,357,428,372,381,394,383,478,610,630,565,623,850,1152,1466,1638,1138,725,789,1164,1436,1092,900,990,1236,1462,1396,1494,1192,934,1074,1594,1290,1422,1258,1090,976,1015,1210,1172,1060,952,1042,1346,1364,1010,1007,1218,1116,1152,1021,738,1058,1066,808,974,1112,1252,1124,1180,1228,954,828,1040,1202,1282,1346,1560,1726,1688,1540,1258,1150,931,818,1076,1352,1294,1232,1015,919,1124,1288,1524,1064,897,916,659,520,726,1015,922,837,780,660,1068,1696,1944,1200,1082,726,514,459,535,741,944,916,1078,1358,1382,1316,985,982,861,667,1272,1444,1004,853,849,852,1018,1104,1256,1184,1066,1180,1200,1184,1146,1194,1170,1048,1086,1013,687,530,493,450,487,959,1098,905,647,431,386,512,876,1278,1118,625,616,950,1222,1015,1322,1306,1428,1396,1184,1268,1496,1186,673,1072,1372,1532,946,561,509,653,783,1242,1316,1046,1360,1704,1086,798,1364,1936,1732,1220,803,731,681,733,673,668,990,1118,1010,933,1162,1272,1252,1136,1094,866,521,367,488,576,536,658,656,626,494,579,445,401,427,499,882,935,524,377,652,925,714,870,952,1006,1236,1214,869,885,860,525,532,756,580,653,1064,1066,905,892,1190,1710,1566,1410,1324,1222,833,692,742,414,595,1238,1074,1020,1034,1194,1017,786,935,1194,1260,1346,1366,1396,1560,1514,1244,1228,1490,1202,1288,1654,1470,1086,1108,1072,1036,1290,1228,1026,1032,1044,1188,1460,1288,818,791,894,913,936,785,605,806,630,560,576,634,913,625,678,677,552,629,713,567,670,1108,1036,1208,899,456,705,664,460,499,581,544,558,623,617,480,338,364,560,907,942,858,931,885,875,1260,1176,751,637,566,641,760,642,407,548,890,1012,963,1080,1064,1112,1188,1108,1158,998,745,949,937,883,1021,1292,1344,1176,1172,1338,1428,1456,1648,1390,1520,1678,1432,1662,1224,1028,1504,1470,1296,1282,885,557,695,876,1208,1472,1122,694,641,662,600,534,484,418,397,455,630,624,455,484,750,757,454,334,299,276,250,278,338,310,276,285,305,311,296,289,313,329,311,342,337,292,300,308,328,534,843,771,425,334,307,264,307,337,335,335,358,403,443,475,523,524,493,506,519,508,499,509,524,517,475,437,446,488,495,497,474,433,412,419,438,455,461,444,424,424,412,419,412,412,421,421,430,429,425,435,449,455,456,448,431,426,410,411,414,416,395,382,379,377,383,388,388,379,361,365,372,382,383,374,376,414,470,491,498,516,510,487,470,469,480,470,445,446,447,450,452,448,446,451,462,455,437,421,423,424,417,388,381,387,392,403,388,383,405,386,381,404,415,400,403,411,404,388,388,395,396,403,410,386,396,405,404,398,400,404,393,393,393,390,397,391,396,391,384,379,384,389,379,389,413,413,416,420,425,433,449,458,470,468,449,438,431,425,415,400,394,396,385,367,355,343,336,347,345,383,368,326,315,316,329,338,341,338,326,314,303,289,296,301,302,308,306,298,296,298,296,296,295,295,294,283,295,294,297,312,314,303,305,312,327,329,327,319,322,328,329,337,342,351,345,345,338,338,338,332,316,312,307,310,309,322,318,311,306,298,308,317,317,323,324,330,340,342,342,349,348,342,347,371,341,319,351,354,351,354,351,361,351,351,347,357,367,363,368,366,366,351,330,335,323,322,330,330,321,311,308,313,305,304,311,311,312,305,310,310,316,311,307,318,329,342,342,348,350,332,335,340,334,329,336,342,332,334,335,337,340,334,340,350,352,350,356,391,388,388,384,401,383,371,375,368,354,342,346,328,336,340,332,327,328,328,331,332,341,347,327,331,328,321,322,319,316,316,318,306,315,310,310,303,295,305,308,309,308,308,311,309,310,312,319,323,321,321,327,332,329,336,343,350,354,359,366,368,366,368,377,365,352,362,353,347,342,342,342,340,343,350,353,354,350,341,337,333,335,327,322,324,322,313,311,316,327,325,320,333,339,335,350,355,346,364],[1126,1234,1238,1208,1260,1366,1730,1362,1428,1212,983,951,1328,1354,1082,789,494,418,408,439,558,931,632,366,426,631,738,636,496,391,397,480,451,397,423,675,1274,1102,604,1012,1078,1578,1810,1676,1358,822,581,494,444,409,355,354,440,594,600,487,418,440,397,394,401,329,616,1650,2336,1960,930,659,514,1058,1490,1178,1088,1230,1042,971,951,931,1312,1666,1028,729,504,345,330,357,378,423,463,412,358,545,631,457,880,1154,1272,988,522,549,555,865,678,412,380,336,477,759,805,538,403,389,345,328,327,372,517,557,483,508,505,475,399,364,369,405,567,847,1036,932,866,1166,1322,1322,1078,1300,1774,1620,922,613,869,1354,1282,1112,1278,1448,1938,1620,1112,1128,1110,942,815,1324,1562,1476,989,422,337,350,409,436,428,436,368,506,689,533,825,1340,1432,1920,1676,619,493,616,745,791,836,1132,1220,1042,970,1384,1460,1108,995,803,474,546,906,886,737,1020,788,501,708,865,714,490,744,864,807,1128,845,514,484,1002,838,838,1492,1646,1086,809,1024,1200,1080,834,834,1118,913,962,820,1466,1954,1346,813,879,897,664,802,1007,979,1328,1442,1362,1200,1166,883,887,1304,1472,1252,937,800,733,836,735,1044,1084,1438,1570,1426,1568,1624,1596,1746,1678,1470,1104,1056,1094,1408,1638,1318,650,373,365,389,314,286,343,339,307,254,249,354,506,706,823,969,858,828,1092,1230,930,912,1224,747,524,866,753,779,1064,1216,1192,1178,977,1030,805,760,1202,1542,1506,1238,1348,1378,1404,1306,1292,1216,1212,1382,1548,1892,2092,2040,1378,896,667,625,714,769,784,745,727,703,458,376,374,484,696,727,749,1112,1644,1578,1392,1298,984,659,824,1394,1480,1284,1003,817,610,457,477,544,504,413,722,873,625,601,922,1166,1001,673,635,574,639,550,458,572,819,1164,875,1130,1524,1726,1274,1272,1188,979,917,1410,1792,1422,1124,1672,1750,1258,1252,1214,1254,1054,1448,1886,1852,1708,1332,1036,714,698,946,1005,1212,1154,644,558,669,653,800,914,931,1007,962,769,688,774,666,498,507,536,559,495,398,438,434,368,415,489,484,455,345,342,340,337,349,340,358,393,440,487,614,737,714,599,478,413,381,359,370,356,334,630,1206,1578,1582,1388,882,645,681,480,477,647,627,668,509,702,1036,910,705,627,543,448,387,511,644,932,904,968,1126,1234,1352,1362,1116,1116,1088,1238,1206,1272,1032,1204,1314,1206,1256,1294,1194,816,745,862,1048,1384,1566,1238,1086,952,1140,1226,943,871,785,707,672,582,590,452,495,572,464,762,814,1284,1588,1302,1015,764,498,717,1334,1009,899,905,747,1060,1114,1300,1312,1094,1023,1224,1416,1494,1970,2134,1814,2106,2226,1598,1306,713,404,424,331,331,440,513,321,578,1284,1050,985,1080,1068,1318,1158,948,1122,1292,1142,1280,1168,697,561,813,670,507,1001,1262,1110,950,1122,1080,886,871,859,1074,1244,1594,1386,1438,1478,1062,1124,1068,642,415,387,411,432,655,952,921,666,897,910,969,868,899,1154,989,976,1128,1382,1524,1762,1936,1770,1678,1654,1632,1744,1784,1716,1682,1648,1508,1420,1272,1780,1754,1738,1290,1092,751,813,1124,1280,1338,1430,1108,687,901,927,1005,1000,822,1074,1476,1518,1094,984,1094,853,873,896,1084,1132,1302,1456,1214,1218,1192,1186,1122,955,1048,1052,1003,1188,1230,1184,1116,1060,1058,1126,1124,1072,982,988,988,918,789,1140,1440,1606,1584,1454,943,1124,1694,1614,1308,1118,1114,949,1116,1414,1296,1406,1546,1566,1190,888,929,875,871,926,872,771,816,924,1042,998,1324,1326,1318,1422,1454,1202,794,991,1282,1084,1018,1168,1306,2008,1450,874,1278,1656,1094,780,1152,1292,1116,1164,1436,1480,1216,737,960,1316,843,438,371,636,1006,756,599,549,529,595,420,391,886,1062,1118,879,775,847,1104,1100,1046,875,1001,796,523,561,713,1106,974,563,425,382,535,741,891,408,361,598,894,501,346,513,563,529,365,273,279,291,295,302,285,351,415,553,565,505,480,438,391,327,290,386,736,960,1150,922,1064,1116,980,645,921,1288,1446,1452,1042,1196,1638,1396,1288,1230,1272,1268,1188,833,719,921,1148,1132,1066,1120,1474,1606,1614,1432,1454,1426,1450,1378,1468,1412,1320,1260,1316,1168,1136,1284,1550,1780,1496,1278,1308,1350,1494,1524,1440,1524,1390,1188,1284,1240,1296,1296,1352,1328,1228,1082,1018,1920,1872,1460,1476,1438,1276,1230,965,846,1030,1005,1092,1390,1338,1456,1070,444,294,282,513,901,1042,805,492,372,421,333,265,352,418,511,538,475,478,746,952,896,1054,1588,1512,865,918,1250,1374,1300,1216,941,1094,1484,1682,1388,836,605,1060,1242,1240,1398,1306,1072,1240,1476,888,742,993,1096,1312,1912,1694,1010,1084,1328,1254,1238,839,683,1300,1356,1068,942,939,1144,960,668,659,714,942,1122,1194,1250,1262,1512,1698,1700,1324,977,1130,1412,1086,812,1040,1184,1132,1178,956,869,894,1324,1078,1062,1230,883,789,940,1112,1278,1184,1050,692,1110,1468,1604,968,1162,1048,623,459,524,670,824,989,1258,1604,1734,1484,1202,1302,705,713,1472,1266,912,1332,1366,651,967,1180,991,870,941,982,984,1092,1152,1142,1192,1250,1332,1202,1224,1216,1158,985,991,1180,1154,969,816,633,604,874,1106,969,842,635,904,1576,1810,1272,1146,1222,1218,1260,1750,1598,1078,844,619,722,1206,1738,1612,965,979,1020,647,851,955,809,1306,2192,1326,926,1550,1670,1478,1270,941,869,832,924,1176,1074,965,1296,1262,1074,1368,1676,1532,1420,1936,1606,605,351,518,832,690,646,728,720,666,658,533,705,1011,782,606,563,412,441,569,625,608,855,877,821,952,971,938,715,453,338,392,514,438,529,687,967,1112,912,1146,1438,1080,706,696,904,1032,998,914,545,566,1172,1070,1096,1054,1150,1190,971,1030,1290,1328,1262,1394,1512,1560,1858,1698,1626,1566,1288,1228,1252,1170,1148,1194,1264,1324,1500,1294,1172,1328,1186,1128,1090,1172,995,730,809,907,859,739,566,815,610,597,576,485,569,435,574,544,560,720,830,843,910,1222,919,1194,947,517,833,802,480,512,533,584,666,600,559,441,410,385,639,814,796,899,933,991,1110,1352,1474,1244,999,1050,1048,1048,821,428,479,895,1004,963,1042,1100,1066,1034,1009,1046,1190,1106,1060,1328,1482,1510,1506,1426,1454,1620,1604,1418,1562,1592,1606,1696,1512,1476,1376,1134,1374,1334,1196,1086,615,623,642,941,845,798,1112,745,543,657,746,652,501,413,406,418,505,748,678,486,595,759,678,441,339,311,282,270,278,279,273,284,258,279,285,283,284,284,297,300,296,298,304,292,295,374,897,1318,1168,601,363,323,283,293,334,347,350,361,390,462,473,517,547,510,500,520,524,503,489,502,506,484,442,423,456,488,509,509,475,430,426,444,448,448,462,435,430,419,412,413,413,419,423,429,431,419,415,453,457,453,468,453,431,394,389,402,423,416,391,379,377,387,382,383,373,365,363,373,389,383,378,382,414,482,505,503,518,521,497,466,465,480,467,446,441,440,442,443,448,446,442,462,466,453,430,427,430,425,401,392,389,390,390,378,405,399,390,387,396,396,399,399,405,393,378,388,390,392,390,393,383,393,397,402,402,401,408,406,404,393,402,390,397,390,383,379,378,375,387,383,383,397,408,414,422,422,430,440,443,466,459,451,437,426,424,423,422,414,403,388,370,352,341,333,340,345,398,394,345,316,310,323,332,336,341,326,313,321,302,290,288,296,308,308,298,297,306,290,290,290,289,283,299,290,286,290,303,306,296,305,306,303,322,319,315,321,328,332,334,334,343,359,358,337,337,325,316,309,309,309,310,310,311,316,313,297,292,299,302,312,330,330,351,357,360,357,348,334,336,343,344,347,346,343,348,351,349,348,341,359,343,341,355,357,366,363,341,351,361,348,322,316,322,318,310,294,290,291,299,308,309,310,317,315,315,306,306,317,305,316,337,332,334,334,334,342,334,339,342,336,329,328,325,330,335,335,333,328,329,328,335,347,350,363,383,378,377,385,380,372,375,372,372,358,347,347,338,336,329,327,327,329,323,329,332,315,319,336,332,329,316,322,318,306,304,305,318,318,306,310,310,310,309,310,316,311,311,312,315,317,318,321,322,322,323,330,332,339,348,348,362,362,359,364,368,365,368,372,362,358,356,348,347,342,342,336,334,337,346,347,350,353,342,336,329,328,321,321,321,327,329,328,325,324,322,329,355,350,354,359,371,359,359],[1160,1392,1190,1214,1330,1614,1822,1264,1158,1422,1384,1176,1148,1002,722,460,390,417,404,462,488,413,370,366,451,730,756,456,341,334,377,472,437,409,410,474,815,631,569,872,1064,1516,1730,1578,1200,594,542,552,427,391,347,372,408,443,515,456,400,394,375,365,362,355,398,692,1454,1130,720,519,471,959,1224,1030,891,980,1430,1274,1384,1324,1854,1680,1420,1394,946,451,384,390,338,345,388,505,444,532,633,458,408,473,713,554,536,681,751,812,483,661,567,435,806,934,827,744,588,408,318,299,330,363,386,374,477,441,346,307,346,343,364,410,432,580,727,807,937,1376,1494,904,446,796,1414,1248,822,651,766,1090,912,859,1116,1128,1004,747,799,1052,1214,1274,1294,1422,1486,1350,664,332,386,353,426,387,336,394,402,1018,1178,965,1314,1570,1416,1366,634,388,412,436,589,688,1022,1274,1084,1066,1116,1352,1394,1098,1080,929,717,503,528,582,644,993,998,689,535,896,1118,1070,1232,1368,1218,1018,896,669,517,922,1110,1072,1060,1048,828,801,915,965,1064,991,1178,1346,891,645,835,1398,1682,1460,1180,1058,1280,847,694,984,827,1238,1344,1354,1414,1220,959,1036,1206,1172,1106,944,656,661,640,728,1007,1136,1470,1508,1296,1488,1816,1770,1730,1522,1502,1314,1146,781,1494,2168,1554,959,825,757,531,378,357,371,393,312,314,328,387,673,1048,1154,1013,837,987,1100,1188,1015,1174,1012,689,615,610,553,566,899,1206,1136,1136,974,1192,968,1030,1202,1510,1510,1466,1340,1336,1252,948,1168,1362,1170,1538,1660,1632,1462,1072,625,410,573,832,515,371,463,594,598,617,641,586,590,741,848,756,529,1372,2614,2354,1262,836,672,656,745,1104,1096,948,1132,1152,666,367,506,639,557,531,1088,1238,780,740,719,641,525,504,583,705,757,683,521,620,972,1184,1158,1012,736,967,1268,1368,1220,1178,1252,1276,1258,1114,1058,1858,1708,1284,1532,1282,1124,1106,1788,1948,1756,1860,1876,1434,1094,902,761,828,1306,1284,1032,1332,1378,957,879,940,1156,1046,852,1034,1034,1106,915,910,875,786,1003,764,479,523,529,421,459,408,393,341,352,377,387,402,372,348,420,496,561,432,444,506,415,387,383,366,336,321,357,354,328,502,1009,1474,1600,1606,998,969,1005,598,597,606,507,632,773,844,1238,1138,643,543,542,491,420,467,559,745,741,789,990,1082,1228,1272,1218,1252,1372,1126,1272,1256,852,954,1182,1244,1176,1254,1458,1144,836,948,940,1002,1076,1046,943,1178,1550,1394,966,990,906,1096,855,745,669,555,555,602,542,623,922,1362,1578,1384,1294,892,554,728,1088,782,811,812,919,839,894,1394,1536,1224,1194,1482,1792,1654,1482,1482,1232,1360,1560,1338,977,847,841,591,346,457,636,532,369,713,1188,1078,1030,1074,1128,1178,1266,1418,1346,1448,1244,1208,1170,1354,1017,950,1040,907,1009,1230,944,1032,1250,1220,899,753,782,1390,1428,1040,883,1358,1446,1098,1050,703,482,318,603,681,502,591,866,1058,1058,1054,1136,1160,1094,1154,1256,1134,1078,1176,1434,1656,1918,1732,1512,1544,1386,1270,1334,1354,1492,1556,1666,1634,1522,1720,1978,1958,1580,1098,785,799,926,1052,1176,1084,1116,788,524,924,1244,1216,1032,764,1032,1548,1858,1704,1296,1005,943,847,1112,1282,1084,1098,1288,1366,1370,1312,1198,1232,1262,1204,880,796,883,1019,1132,1178,1146,1244,1204,1184,1140,1092,1068,874,749,855,1256,1384,1432,1356,1346,1046,1046,1272,1368,1238,1188,1274,1082,1148,971,1272,1546,1492,1232,888,962,1130,889,830,778,674,769,1084,1050,772,1132,1212,1082,1344,1306,1218,1226,1308,1022,1015,1124,1366,1332,1368,1810,1398,1092,1298,1154,709,640,1230,1164,1228,1154,1092,1186,1284,1144,1132,1264,899,578,509,464,626,691,658,481,821,772,457,608,988,1276,1228,994,944,959,1017,879,812,903,1382,885,512,476,735,1236,990,409,373,329,389,419,698,565,437,714,912,511,242,261,292,293,240,248,269,258,269,349,344,344,314,457,592,582,589,560,450,332,300,350,577,794,1108,1080,1026,962,1078,771,696,1066,1372,1384,1092,946,1122,1128,1258,1372,1422,1400,1246,924,857,1052,1132,1228,1350,1614,2146,1810,1752,1670,1500,1528,1550,1338,1230,1098,1046,802,754,863,1178,1180,1342,1476,1384,1124,1252,1614,1508,1328,1448,1396,1444,1376,1356,1222,1262,1288,1246,1218,1196,1294,1362,1586,1658,1656,1762,1616,1534,1808,1266,1160,1296,1224,1238,1046,805,1011,801,400,319,366,443,671,1004,1102,739,421,348,348,363,386,380,469,519,440,446,774,839,1264,1080,1228,1400,1086,1166,1272,1080,1072,1036,829,1138,1488,1370,979,1120,1092,886,894,1028,1214,1296,1196,1372,1506,1072,852,1004,1112,1542,1862,1518,1358,1626,1438,1504,1328,1026,1060,1338,1278,1170,1080,1246,1440,1224,1646,1552,622,1066,1302,1374,1208,1092,1530,1660,1772,1412,1256,1274,1122,628,516,1000,1248,1334,1294,778,962,991,1028,894,883,1100,1032,1046,1312,1470,1023,1088,1368,1228,1068,1246,1008,730,1246,1462,1242,866,705,799,951,1458,1520,1502,1656,1654,1430,1094,647,680,634,651,999,828,694,562,1078,1526,1344,803,551,624,617,580,617,803,1090,1222,1344,1009,1124,863,753,1001,1060,1148,1340,1080,959,984,1092,1084,678,507,861,724,992,1394,1166,651,386,589,1048,1428,1300,705,941,1368,1002,555,725,1290,1466,1494,1710,1200,673,1162,1156,735,739,1260,1096,988,1098,1242,1158,832,794,810,808,773,891,661,543,1054,708,402,793,1534,1638,1490,1840,1332,498,354,506,846,901,1392,1078,594,523,603,885,1332,1372,841,679,665,774,667,606,605,552,674,705,652,890,1244,1166,637,429,390,693,786,536,469,569,656,564,753,1222,1068,703,627,709,655,962,651,399,418,571,968,1058,924,938,1148,1112,1274,1730,1472,1354,1286,1364,1542,1478,1762,1970,1750,1522,1616,1592,1460,1340,1100,1222,1544,1274,1122,1244,1382,1438,1172,1160,1282,1266,904,605,542,667,718,687,596,912,712,522,397,339,337,368,404,437,585,702,1148,1442,1216,1218,1040,1232,1032,541,855,948,491,524,481,511,489,454,527,489,474,395,626,947,1094,1126,1086,1122,1086,1100,1452,1470,1182,1116,1078,1070,832,417,458,694,707,788,1060,1276,1132,1060,1158,1080,1152,1218,1158,1240,1250,1266,1406,1478,1406,1458,1434,1384,1202,1296,1628,1514,1468,1222,983,1508,1562,1134,1444,1506,796,403,739,926,701,665,637,567,573,570,547,554,475,451,455,521,730,819,561,462,491,484,431,369,362,347,318,287,287,265,264,264,258,257,254,271,279,281,339,401,290,292,306,284,317,379,778,992,750,481,372,315,299,278,309,361,347,357,374,428,446,501,532,506,498,506,516,491,469,484,506,499,458,427,440,488,520,514,490,472,463,451,484,442,462,444,432,426,420,421,413,418,437,429,425,415,413,423,450,445,459,443,423,416,403,411,437,424,396,379,386,396,377,382,369,361,353,360,384,392,392,389,419,472,510,505,516,510,470,448,448,445,441,436,438,443,445,432,451,442,440,455,471,459,433,417,425,433,404,403,394,395,388,404,404,388,388,397,408,406,401,390,390,397,389,387,390,384,383,387,397,400,396,397,390,393,408,410,390,384,415,391,390,391,387,391,384,371,381,389,381,390,405,407,416,419,428,431,440,441,443,445,426,420,417,417,407,403,404,393,369,347,337,334,333,345,397,419,358,311,310,315,327,332,346,339,327,333,320,301,292,292,301,303,294,293,307,290,289,290,291,291,289,289,296,286,293,303,296,301,304,300,304,305,313,321,324,323,318,328,347,352,340,346,329,327,318,312,313,312,311,310,307,309,306,295,290,286,295,314,328,327,351,363,363,358,357,349,330,336,344,352,346,330,335,347,359,359,363,361,335,330,342,351,361,351,342,352,360,363,328,308,312,302,292,286,280,280,294,302,308,321,318,307,314,303,297,312,307,310,322,321,317,321,323,322,325,336,342,339,330,328,329,335,335,335,339,342,335,322,342,346,357,377,380,372,374,386,383,379,383,377,372,368,365,347,342,337,336,339,333,329,327,325,340,332,335,327,323,329,318,324,325,307,304,310,311,311,310,316,321,311,298,300,313,316,321,328,325,322,324,322,323,322,322,327,339,346,352,356,357,357,369,366,366,372,372,366,362,362,354,350,344,344,347,346,339,334,337,348,354,360,354,342,329,330,328,323,324,329,342,356,345,353,362,346,360,368,363,356,379,378,353],[1008,1194,1212,1316,1328,1398,1094,763,645,787,935,933,843,514,411,380,429,430,428,448,425,388,366,329,457,802,778,365,317,330,373,413,392,354,310,322,684,818,1204,1664,1416,1270,1238,1218,1166,891,659,563,450,351,332,358,370,397,398,345,332,330,342,328,318,402,461,484,637,655,680,575,697,1126,1290,1168,1066,1140,1574,1670,1560,1394,1528,1416,1564,1700,1058,435,461,489,665,488,412,560,503,395,475,485,395,397,502,657,555,680,731,763,614,861,708,809,1184,985,761,806,786,531,343,346,403,452,428,403,403,356,318,326,290,297,368,411,450,505,495,688,630,885,1550,1172,505,358,604,819,859,871,969,938,897,760,1156,1254,780,474,497,827,1236,1294,1380,1426,1110,888,418,374,365,346,392,379,564,672,694,1242,1772,1802,1496,1478,1520,951,490,426,411,374,408,542,929,1112,1212,1122,1126,1322,1302,905,763,777,805,585,498,568,851,1154,1306,1142,658,664,1038,1330,1336,1134,702,608,666,601,595,548,758,1132,1034,686,606,1138,1124,852,1178,1456,1702,1592,1166,908,824,1136,1626,1444,1300,1916,2460,1346,737,849,581,987,1314,1426,1598,1442,1534,1592,1206,1312,1248,738,507,592,543,576,869,1336,1544,1350,1340,1354,1548,1672,1856,1850,1416,1142,1178,1338,2098,2136,1056,757,1022,1258,1204,844,618,618,429,294,254,289,339,758,1296,1004,697,634,1052,1262,1090,955,1158,703,709,966,891,677,610,905,1052,837,794,631,880,837,869,1172,1388,1306,1284,1300,1668,1322,830,1062,1294,1338,1686,1598,1050,669,568,443,281,859,1902,682,422,579,719,757,775,763,750,747,1112,1524,1282,724,581,1550,2744,2252,1238,758,631,541,603,578,827,1202,1018,512,423,542,541,395,440,626,656,644,695,474,313,331,381,511,608,645,716,786,1040,1068,813,883,764,811,1182,1406,1276,1010,1356,1488,1048,786,962,1152,1180,1080,969,1444,1816,1312,1050,1344,1128,1600,1690,1738,1876,1816,1230,738,648,867,907,788,962,1114,977,881,1166,1976,1502,937,1698,1638,1330,1198,1284,1328,1468,1526,742,516,582,664,511,537,413,318,323,382,460,495,557,582,396,432,428,417,346,346,354,338,399,410,381,358,354,366,368,340,398,786,1316,1518,1664,1148,898,809,581,526,590,736,908,952,1006,1594,1426,825,610,529,503,568,527,689,977,924,1242,1182,860,1024,1158,1338,1286,1318,1288,1458,1406,1200,1250,1274,1094,920,720,815,996,713,683,944,1146,1001,643,598,782,971,1382,1314,1220,954,1148,1106,930,776,673,755,748,570,839,1238,1268,1378,1432,1566,1574,972,711,802,749,851,805,606,485,617,1004,1500,1310,1310,1338,1720,1920,1532,1154,922,733,946,1104,969,1290,1250,639,409,554,626,502,467,692,1015,1104,1022,1192,1316,1023,730,679,838,1268,1358,1366,1536,1992,1562,949,1000,955,943,1162,744,642,1112,1252,1016,1138,1234,1626,1652,1092,913,1180,1068,612,791,729,607,476,621,586,594,828,1026,1166,1166,1092,1134,999,1220,1306,1154,1256,1186,1406,1516,1554,1500,984,749,893,1001,1021,1234,1322,1314,1310,1372,1362,1476,1726,1894,1718,1482,1310,967,1023,1134,1208,1212,966,841,690,872,1456,1510,1152,672,730,1048,1654,1858,1394,988,869,1084,893,1078,1180,1176,1204,1268,1354,1312,1266,1182,1102,1264,1114,770,677,720,763,1088,1256,1146,1246,1152,1162,1116,1066,1154,812,711,1120,1240,1296,1356,1294,1128,966,1188,1212,1450,1620,1316,1148,977,981,766,914,1212,1296,1166,728,977,1130,1054,1050,888,784,711,879,830,943,1532,1344,1190,1490,1280,1164,1194,1404,1426,1376,1498,1528,1548,1734,1716,1510,1440,1300,922,920,1160,1270,1036,1118,1124,1126,988,1122,1038,1176,1300,1086,1132,1084,873,620,795,1062,854,690,514,398,789,1060,1188,1376,1268,1024,1220,1240,841,694,596,684,659,521,642,1017,1478,1116,458,362,320,380,383,447,633,539,662,893,519,290,260,253,248,271,287,314,322,466,501,392,306,269,400,529,546,577,550,377,329,326,358,878,1234,1158,1090,1021,1070,1252,1260,1052,1032,1138,1042,1272,1164,1244,1248,1306,1176,1050,1210,1274,1286,1308,1210,957,1068,1202,1256,1538,1498,1482,1596,1376,1556,1596,1514,1410,1224,1068,957,1076,1338,1410,1266,1224,1314,1288,1170,1294,1422,1260,1326,1484,1428,1486,1130,1234,1180,1294,1362,1406,1200,843,1076,1464,1480,1528,1450,1360,1198,1918,2462,1634,969,1026,1194,1074,697,540,489,387,532,615,515,493,690,1076,1344,1178,778,511,390,352,363,419,510,541,541,575,877,928,1318,1268,1064,1078,1028,898,897,966,1160,1021,1162,1356,1556,1218,679,799,1178,1142,918,971,1186,1492,1396,1015,984,1198,1050,1084,1186,1015,724,599,881,1152,1042,1450,1104,1062,1150,1454,1492,1144,1118,1390,1266,1166,1384,906,854,1272,1256,1224,1264,1242,1312,1276,1626,1730,1428,1280,1168,786,846,1160,1252,1592,1320,1168,1230,869,847,911,828,1009,1128,1448,1364,1306,1034,1860,1856,1310,1130,1648,1214,1170,1914,1836,1552,1216,940,771,1142,1564,1402,1418,1688,1708,1528,836,503,697,705,1100,1540,824,508,555,1070,1822,1682,934,714,658,576,572,674,971,1358,1418,1478,1082,915,681,471,658,971,1184,1284,565,609,682,650,614,569,598,546,381,394,780,1322,1046,601,385,588,1222,1007,824,1340,1558,1112,623,491,943,1600,1648,791,354,341,521,487,756,637,796,1150,1252,1102,1102,1102,938,1034,1106,1122,689,686,556,622,977,734,421,567,956,1046,1222,1380,893,576,485,444,935,1656,2182,1488,681,511,628,1003,1258,967,565,872,1020,1116,825,664,627,554,550,581,558,719,1204,1224,888,861,781,1256,1082,637,536,614,550,489,756,867,740,790,832,874,510,782,619,408,595,867,955,874,796,940,1030,941,1522,2204,2046,1450,1044,1152,1704,1926,1826,1758,1514,1384,1680,1570,1013,860,772,1026,1132,1068,1064,1196,1206,1056,1028,1056,992,1023,830,481,348,468,496,650,599,877,900,574,288,259,334,416,449,534,560,510,724,1015,886,756,725,1016,1052,617,852,1116,539,517,546,526,481,479,531,458,383,383,666,1028,1023,933,890,868,868,1028,1280,979,695,899,992,924,747,425,368,517,598,833,1218,1562,1526,1494,1490,1170,1198,1334,1306,1460,1544,1492,1530,1500,1500,1562,1510,1368,1258,1456,1410,1354,1306,890,1282,1556,1130,1172,1426,1236,1007,703,933,893,720,620,576,568,563,608,533,466,500,547,530,631,872,765,497,437,385,349,345,365,380,349,321,275,268,249,250,258,266,265,259,278,271,281,354,425,320,298,286,277,292,307,358,344,385,495,408,299,293,281,334,350,347,354,374,405,437,489,519,530,501,497,518,505,479,473,494,506,476,435,433,480,517,517,511,499,485,473,480,435,444,450,444,427,415,428,430,408,411,439,423,405,398,407,441,434,448,448,431,422,404,400,432,424,398,389,367,375,377,374,367,360,346,353,374,378,372,381,419,427,495,506,508,503,474,452,452,454,442,422,430,435,447,427,432,433,445,441,452,454,446,427,413,430,409,401,388,400,398,397,384,384,389,397,400,404,401,395,400,383,383,378,384,388,392,380,383,397,397,395,390,393,397,405,397,397,387,389,391,390,390,385,381,375,375,389,390,379,396,430,410,412,415,407,432,443,437,426,423,423,419,416,396,411,407,389,374,353,343,338,332,336,375,423,368,311,322,318,326,341,346,362,356,341,321,305,295,290,297,303,296,296,298,296,296,294,288,294,295,289,289,294,300,297,296,296,294,303,298,298,311,316,315,316,328,337,348,354,350,332,327,332,319,313,300,295,293,299,302,300,298,291,291,299,305,312,330,336,344,354,358,361,371,369,338,342,341,336,333,338,349,360,363,363,366,357,346,330,330,349,361,359,357,357,341,351,341,309,309,300,295,289,291,297,294,291,287,321,326,305,314,326,312,305,299,305,310,309,308,315,316,320,328,334,335,330,330,330,334,335,335,335,336,338,327,314,336,342,350,369,371,363,363,357,354,366,381,377,374,369,363,351,344,342,342,340,330,334,328,322,332,325,322,323,323,327,320,321,326,312,308,310,309,310,310,310,305,303,299,305,310,310,316,321,323,330,330,327,322,316,322,330,335,339,342,351,354,363,360,368,369,374,374,360,365,364,357,350,349,346,342,342,342,335,329,354,360,360,354,336,340,347,332,323,332,334,348,373,362,360,360,358,356,377,382,366,380,390,385],[966,1098,889,1032,1318,1078,643,603,586,475,387,393,396,363,377,393,450,437,390,404,405,419,389,328,411,498,387,313,308,281,270,332,388,371,312,501,884,1021,1190,1044,787,696,1076,1534,1462,1066,627,435,374,331,342,314,314,370,339,292,283,287,292,289,277,412,570,581,546,537,463,593,1042,1316,1438,1766,1766,1866,1614,1572,1528,1652,1822,1462,1302,1238,791,913,1424,1026,1384,802,485,503,374,336,421,516,516,537,929,1332,1136,843,614,586,767,817,742,1074,1234,955,815,618,565,442,458,498,477,491,477,451,414,356,289,308,305,300,336,353,386,418,669,1086,843,579,1206,1388,831,500,482,586,802,802,779,767,1140,1138,1007,1146,918,503,354,542,1062,1426,1594,1438,1001,720,680,670,433,357,422,700,1054,904,885,1232,1494,1730,1450,1376,1324,1076,799,579,425,414,425,729,1214,1262,1232,839,883,1190,1100,858,772,656,761,985,890,772,940,1336,1510,1364,1142,924,1166,1058,997,864,605,430,405,585,781,865,1042,1212,1298,1001,923,1206,1186,1162,1678,1752,1400,1432,1130,1166,1186,1864,1816,1426,1198,2132,2586,1528,1032,1262,1212,1176,1460,1638,1260,1116,996,927,933,1102,1042,701,543,543,473,502,891,1504,1422,1246,1182,1006,1068,1356,1660,1764,1486,1126,1140,1470,1892,1308,559,511,548,937,1284,1364,1362,1074,642,382,323,318,414,807,1252,1110,711,717,1194,1542,1256,1224,1102,599,705,1042,1136,940,802,515,561,778,791,819,1146,1186,926,1186,1246,1426,1600,1654,2106,1640,988,1170,1500,1686,1644,1410,968,672,420,309,425,1748,2232,795,421,585,708,679,686,725,755,807,1124,1394,1150,703,444,1048,2778,2556,1508,1040,724,476,501,700,948,869,638,379,337,529,832,719,731,736,770,883,553,311,389,337,340,442,512,627,730,997,1094,970,812,646,658,1120,1608,1514,1068,698,623,810,818,1290,1682,1724,1108,908,1252,1296,1416,1382,1324,1350,1378,1650,1390,1168,1356,1444,946,582,756,874,717,745,992,886,998,966,1554,2006,1300,1432,2166,1824,1304,1174,1280,1556,1690,1364,694,455,521,517,498,611,570,443,457,514,461,514,642,663,481,421,376,374,366,354,339,336,372,402,408,417,417,397,379,354,352,589,1122,1438,1622,1422,1098,883,683,578,706,881,1072,1158,1300,1380,1346,1068,623,615,931,1078,1078,1248,1520,1440,2026,1902,1090,1164,1318,1360,1306,1180,1218,1252,1240,1278,1344,1002,888,1042,787,743,839,636,521,616,462,282,264,426,594,841,1772,1600,966,969,1166,1088,885,661,815,1300,867,573,879,1052,969,1200,1376,1394,1498,1116,937,1202,1322,1034,841,982,1009,977,993,1040,1114,1360,1246,986,1130,996,655,549,449,796,1210,1294,1042,1044,1048,989,765,869,1080,965,730,756,822,1284,1686,1054,890,858,569,698,1034,1176,1136,1120,1372,1278,1084,1122,755,602,1076,1138,958,1102,1184,1184,1124,835,1106,1326,1188,1080,1126,562,428,801,1140,1062,730,655,753,949,1152,1360,1246,1188,849,1020,911,1050,1102,1354,1178,1108,1178,1186,1482,1200,830,814,839,1001,1050,1208,1244,1308,1326,1272,1256,1176,1268,1638,1780,1678,1664,1532,1336,1388,1098,1088,1042,793,709,1024,1298,1434,1238,978,1210,1001,1120,880,713,774,1100,1188,973,861,861,1234,1328,1282,1264,1296,1338,1402,1108,1152,951,824,812,775,761,1014,1134,1028,1276,1200,1112,1136,1216,1232,1007,950,1086,1336,1566,1494,1428,1406,1504,1534,1334,1372,1180,1230,1188,924,708,719,991,1023,1042,843,591,820,925,1158,1044,953,1106,971,982,1150,1372,1556,1256,1272,1142,1108,1212,1312,1292,1092,1298,1478,1570,1648,1692,1776,1632,1120,1146,1040,1036,1266,1396,1382,1420,1618,1606,1522,1318,929,973,943,1028,1196,1286,1146,955,1021,1172,1168,1414,1092,663,860,1018,1120,1308,1262,1068,1394,1424,954,1196,1066,588,555,533,676,738,953,791,409,303,332,371,353,435,628,477,439,817,479,283,250,257,296,301,295,312,319,365,370,422,565,587,424,493,504,460,506,394,318,328,405,871,1160,1024,960,1114,1288,1360,1434,1288,1360,1594,1144,1136,1174,1268,1390,1316,1040,1021,1354,1252,1210,1156,1088,962,946,1098,923,1382,1530,1650,1736,1470,1506,1472,1528,1394,1326,1234,1126,1230,1422,1458,1338,1312,1404,1400,1440,1484,1570,1584,1490,1412,1446,1346,1238,1232,1294,1394,1296,1346,1244,1206,1736,1836,1346,1332,1208,1144,1090,1492,1462,1284,1358,1212,1170,1098,767,541,621,1012,1448,1380,892,692,822,1062,1308,1388,1208,836,536,430,415,522,479,548,694,649,857,974,1104,1162,1148,1302,1300,1130,764,764,930,1066,1222,1288,1446,1462,1016,568,580,879,1118,1302,984,1376,894,598,743,1001,1156,1258,1188,928,748,497,501,539,616,1108,1300,1332,1302,1538,1586,1258,1246,1136,948,893,910,927,1384,1394,1240,1284,1376,1158,863,1016,1508,1664,1422,1202,1406,1334,1168,1282,1418,1738,1260,915,947,639,540,796,1074,1180,938,1278,1050,1034,1238,1698,1522,873,744,834,777,1458,1852,1496,1228,1110,1260,1176,1088,1064,1252,1816,1988,1534,1158,940,969,725,564,1082,1110,633,447,510,885,1242,1050,828,812,753,697,730,701,1001,1616,1332,1310,1646,1260,650,463,528,950,1456,1360,608,656,695,918,818,688,677,451,302,412,869,1128,1162,785,619,732,1306,1244,1098,1190,1122,883,601,562,910,1060,898,549,338,306,694,881,624,410,511,991,1408,1013,1046,1236,1082,1070,1002,705,499,965,938,875,1030,739,472,508,645,610,896,1742,1252,695,525,402,913,1462,1522,1164,616,447,590,890,897,902,814,775,796,984,827,566,559,602,619,702,654,783,1268,1060,850,959,1005,1290,1176,702,639,826,594,382,361,468,767,1034,1144,1198,608,566,932,1050,1100,1156,1058,1054,1164,1066,878,651,797,1716,2368,1806,1250,1600,2240,2144,1766,1676,1444,1258,1390,1310,882,756,944,1060,952,893,1076,1188,1052,1030,1124,989,794,949,965,754,800,902,946,933,896,959,875,831,577,389,364,452,465,527,474,446,674,786,511,393,491,721,819,588,847,1312,707,570,630,592,536,502,467,389,347,342,475,836,930,755,933,802,549,799,1192,954,739,899,965,886,727,368,357,461,563,909,1122,1294,1430,1510,1566,1422,1316,1460,1476,1418,1246,1236,1322,1372,1332,1334,1278,1166,1222,1250,919,827,986,1126,1514,1062,988,1412,1084,806,851,974,912,792,668,510,544,509,503,547,619,461,505,560,527,590,714,621,445,414,402,376,358,339,331,317,288,253,251,279,354,328,281,285,294,297,282,278,291,284,278,286,292,280,278,297,329,352,441,487,345,277,290,287,321,352,359,359,386,407,437,473,496,531,489,486,527,511,486,486,502,504,475,440,439,473,511,536,528,502,482,483,455,426,430,442,446,435,420,421,439,389,403,425,422,429,419,410,427,440,443,450,435,420,403,390,424,436,394,389,368,368,370,367,360,354,357,360,367,378,379,383,384,404,461,494,491,482,480,462,454,453,452,421,423,432,445,440,436,433,435,427,432,448,453,436,411,421,427,408,384,392,403,398,404,403,401,398,397,397,401,406,395,383,389,387,383,386,396,390,380,389,393,397,398,401,381,389,391,391,381,384,393,391,391,379,371,372,379,388,410,393,391,424,409,432,451,428,423,432,431,428,432,439,432,423,389,399,397,387,382,375,358,339,336,353,368,438,414,365,328,319,322,343,363,355,348,347,324,308,306,290,295,297,296,297,296,295,299,298,290,295,295,290,290,296,303,297,290,293,298,303,303,307,313,321,332,342,346,342,352,356,346,332,329,324,324,312,295,302,308,303,297,293,299,298,297,303,316,322,323,332,343,344,338,335,349,353,353,344,338,330,330,335,338,346,363,375,372,360,348,343,330,337,357,351,332,335,328,343,354,312,316,296,289,281,284,285,285,302,306,311,322,317,308,323,294,297,299,298,314,312,311,315,320,326,333,335,328,325,330,330,333,335,335,335,328,328,326,317,322,335,346,357,360,363,363,358,361,366,366,366,369,367,371,368,354,340,344,340,323,342,332,325,318,322,330,327,320,311,310,318,321,315,310,310,310,310,309,312,321,322,316,310,310,309,316,328,334,330,328,328,328,330,328,332,339,339,335,346,357,369,372,375,376,372,375,360,361,366,357,357,363,346,330,348,342,343,326,330,337,350,347,326,330,342,324,320,356,370,372,380,373,366,363,360,358,375,378,373,385,382,392],[995,1390,935,654,825,623,514,416,339,301,292,292,328,308,336,362,466,471,410,381,379,394,383,302,375,349,366,330,317,296,270,314,379,446,722,943,899,875,874,611,453,379,864,1198,1026,758,466,315,311,306,317,283,287,330,279,246,253,260,260,260,237,347,594,676,684,721,518,418,668,871,1162,1500,1536,1670,1898,1848,1384,1764,1844,1498,1620,1438,1124,1374,1566,1650,1566,793,582,491,390,349,324,342,525,654,1114,1866,1942,1408,946,661,760,1178,1094,844,923,912,861,583,536,533,475,299,346,390,463,471,374,411,286,247,294,303,313,334,326,287,459,1062,1368,1038,1166,1478,1216,1158,603,421,446,408,785,1028,1262,1240,973,954,791,416,305,411,1007,1540,1976,2004,1618,1198,1124,1050,666,511,517,627,852,567,541,698,720,1354,1330,978,1136,1208,964,701,494,441,440,785,1194,1072,1310,905,838,1030,1082,1158,1168,841,722,977,1140,819,575,932,1156,1298,1340,1046,995,1190,1132,801,561,464,486,551,633,884,1178,1382,1404,1622,1642,1364,979,983,1382,1436,1274,1342,1024,1190,1406,2050,1644,1064,952,1144,1106,865,1044,1418,1470,1378,1752,1574,1454,1406,1272,1114,1094,937,615,484,578,596,526,583,908,1284,1252,1168,800,679,748,963,1142,1110,959,803,1104,1390,1130,650,548,967,1274,1180,1140,1256,1440,1564,1316,909,553,426,715,1172,1254,1376,973,1110,1368,1436,1270,1124,970,796,816,865,1028,1328,1166,743,736,799,756,580,822,1274,1706,2374,1400,1300,1732,1634,2146,1776,1382,1612,1780,1654,1428,1298,981,603,417,328,919,2248,1142,491,439,590,733,659,662,683,725,795,1104,1302,1300,784,777,2326,2668,1356,933,1146,1007,565,451,546,996,1009,602,377,649,902,1334,1556,1352,995,1102,1200,762,352,324,297,349,368,495,593,684,756,761,771,657,672,1052,1136,1322,1136,755,552,458,391,650,963,1208,1282,882,1250,1606,1378,1812,1908,1452,1528,1710,1628,1424,1278,1258,1112,775,724,960,1062,958,1282,1240,1262,1132,1118,1522,1412,1328,1858,2060,1598,1306,1428,1376,1504,2008,1556,698,447,590,574,623,736,686,602,550,531,536,505,465,570,530,420,388,375,356,338,330,368,402,414,416,416,441,441,399,352,344,437,858,1316,1560,1552,1268,869,935,820,747,772,1094,1334,1528,1438,1404,1028,632,919,1128,1192,1370,1350,1500,1644,2028,1736,1000,1134,1346,1420,1320,1078,1168,1324,1260,1208,1116,943,1338,1300,929,791,789,653,691,567,376,368,547,792,744,570,1074,1340,1064,1182,1340,1100,1013,959,1166,1738,795,703,1096,1044,901,1226,1222,1148,1152,1023,875,1020,1418,1142,682,1011,1068,1096,1260,1064,1192,1446,1166,739,686,691,531,547,655,1004,1218,1042,659,797,1072,1174,1122,1552,2278,1668,924,1001,716,1158,835,789,1158,1080,647,750,1042,1114,985,1012,1606,1738,1562,1546,850,554,951,1264,1050,849,926,1196,1058,741,839,1122,1310,1188,810,688,891,1164,1258,853,675,777,1034,1216,1050,1196,1276,1332,1096,1148,915,926,1180,1342,1094,1134,1284,1344,1350,1142,1212,1476,1588,1700,1468,1306,1260,1288,1164,1144,1308,1506,1196,1358,1782,1800,1796,1648,1522,1298,1064,1174,1190,1106,1100,927,833,1266,1462,1168,836,635,566,466,596,901,1096,1024,1015,819,801,1104,1056,1122,1290,1582,1630,1508,1364,1288,1204,1256,1190,1018,1030,1260,1180,1072,1056,1218,1168,971,1100,1156,1182,1136,1036,1388,1952,1726,1594,1202,1206,1450,1410,1108,993,1224,1290,1390,1230,932,1048,1156,1200,1066,1134,907,644,762,1098,1328,1340,1284,1240,1394,1620,1332,1190,1208,851,913,1092,1022,983,1102,1152,1238,1320,1460,1746,1698,1404,1318,1548,1402,1156,1188,1130,1146,1206,1398,1434,1482,1376,1400,1396,1298,1224,1244,1332,1238,1094,1186,1254,1366,1726,1202,1142,1052,1023,1122,1432,1150,971,1170,1130,1016,1002,786,462,451,447,413,435,320,301,310,313,314,273,278,405,521,528,443,772,506,328,279,285,362,353,307,311,320,321,372,542,824,871,487,489,525,474,429,380,350,367,512,985,1216,984,971,1146,1140,1090,1092,1348,1742,1854,1334,1030,1042,1230,1340,1152,1196,1408,1436,1166,1003,1007,916,1078,1034,1312,2480,2690,1622,1570,1622,1526,1484,1534,1332,1510,1248,888,798,1011,1164,1320,1360,1262,1100,1270,1428,1578,1836,1596,1392,1404,1528,1534,1618,1498,1372,1254,1290,1400,1376,1222,1414,1362,1272,1264,1264,1136,1108,1052,1066,1428,1416,1112,1122,1134,964,808,1072,1272,1098,837,763,924,1084,971,1015,1078,1366,1236,783,550,541,574,569,697,905,799,684,905,991,1068,1021,1026,1228,1708,1194,833,998,1144,1294,1456,1444,1456,1358,1086,951,1100,1220,1126,1152,1240,670,552,919,1284,1476,1384,990,1096,1172,766,588,717,844,1246,1504,1384,1246,1236,1122,1208,1282,1078,952,850,1100,1138,946,1028,1060,969,982,885,716,901,1250,1516,1564,1298,1500,1548,1390,1274,1126,987,593,881,1278,1074,887,1222,1354,1354,987,1180,1142,920,1186,1212,902,874,848,1078,870,1184,1448,1282,1050,847,973,1152,1228,1422,1834,2186,1782,1542,889,1466,1730,1422,1158,1292,865,436,659,566,512,703,750,671,625,718,686,678,560,687,996,764,953,1400,1066,560,450,364,519,797,616,416,630,773,813,777,628,455,497,533,728,960,808,870,648,717,861,1054,1196,1086,881,1262,1228,763,725,683,593,973,775,522,425,739,949,644,429,548,1118,1880,893,766,1038,990,1154,1100,799,683,905,985,1158,1174,709,511,499,943,1042,1005,2004,2050,995,437,367,724,1334,962,564,622,969,1180,957,917,1422,1126,615,555,795,885,761,847,955,865,750,694,912,1660,1316,924,996,940,988,964,776,789,1038,926,617,473,613,795,1084,893,667,463,474,998,1282,1062,1017,1190,1134,1120,1130,1180,971,883,1672,2676,3200,2918,2568,2246,1748,1594,1650,1570,1482,1406,1268,1152,978,993,993,850,1021,1180,1212,1032,1056,1130,1005,750,943,912,967,1068,1102,1288,1230,1176,868,552,600,896,802,799,702,554,578,626,689,752,826,849,907,937,1019,1176,1238,1506,1572,855,573,651,550,470,449,403,390,345,306,387,722,999,965,1013,1050,981,1094,1154,960,860,998,1066,980,694,302,328,417,487,662,935,1680,1918,1274,1142,1288,1218,1286,1324,1362,1488,1460,1434,1360,1268,1390,1324,1012,867,756,670,814,960,1288,1188,1132,1162,1104,780,730,1000,945,613,644,658,678,589,451,496,585,520,415,418,439,464,494,553,561,462,403,403,378,349,290,261,290,278,258,237,329,558,572,513,364,328,299,276,277,271,270,296,321,332,355,341,377,367,394,532,697,556,322,283,308,300,328,357,359,399,415,439,468,505,517,499,503,519,500,484,489,495,497,481,462,447,461,491,528,521,492,479,471,459,444,435,438,450,442,422,398,412,396,413,430,433,439,446,434,421,431,431,455,426,447,416,404,424,448,417,380,375,373,369,367,361,351,368,390,412,403,385,373,377,389,415,474,493,461,465,441,436,440,454,430,417,419,430,439,437,442,433,432,427,433,454,441,415,415,424,412,392,399,398,397,418,418,425,409,390,383,393,396,369,369,373,378,383,383,388,396,385,384,385,390,393,405,386,386,391,390,381,378,399,399,397,387,382,379,379,382,388,390,410,407,412,437,431,434,443,428,428,428,431,429,414,404,411,403,393,397,387,368,353,346,334,346,365,435,407,361,336,320,326,346,368,368,366,359,335,310,316,297,293,301,305,299,295,296,298,305,288,296,297,297,290,293,307,308,295,294,305,307,311,327,335,328,332,334,334,338,346,354,350,332,325,332,332,316,317,308,300,295,298,291,309,316,305,305,307,308,330,321,333,336,325,308,339,348,351,357,351,336,326,324,332,351,371,372,369,363,349,354,337,333,351,349,341,321,329,357,355,317,322,300,296,299,298,292,297,308,310,309,315,328,307,317,304,303,308,297,312,326,321,319,315,320,332,336,328,317,322,328,328,333,336,330,328,330,328,320,317,330,343,349,354,354,373,372,366,372,378,384,372,369,369,357,351,355,347,346,330,330,328,330,321,322,334,316,309,319,333,330,325,321,311,308,315,315,314,316,316,315,315,308,303,303,320,332,330,328,332,326,321,313,311,325,336,342,343,357,375,367,381,384,381,378,378,367,363,367,359,357,373,355,332,338,328,336,334,330,336,346,347,333,333,350,354,328,369,404,392,379,375,376,377,354,342,372,365,368,391,378,386],[703,1188,1136,999,1114,654,404,312,253,239,308,314,308,386,414,349,367,372,405,398,387,377,379,332,343,343,328,317,336,350,362,422,477,755,999,780,1036,932,877,954,630,372,468,496,642,820,524,308,345,302,288,271,292,308,249,244,268,274,273,282,269,255,308,377,461,577,620,624,717,628,940,1320,1544,1532,1516,1518,1526,1524,1032,1160,1958,1736,1484,1782,1598,1620,1208,581,504,483,481,457,448,468,500,526,646,1252,1282,1002,1158,1130,1056,1248,900,579,912,799,589,566,707,1013,712,313,354,303,385,391,421,502,289,313,275,273,283,324,294,277,285,469,870,1258,1378,1462,1782,1418,524,479,490,748,1418,1538,1110,893,788,622,480,420,430,689,1206,1456,1876,2184,1862,1380,1118,916,594,564,524,703,680,380,339,414,819,1526,1072,574,990,1164,760,530,569,563,522,562,727,1088,1310,962,922,1072,1040,817,713,766,1184,1238,1013,816,780,729,824,1124,1066,710,732,1013,1116,991,683,437,660,570,494,567,722,966,1090,1494,1966,1758,1004,1322,1628,1570,1490,1430,1592,1578,1546,1708,1314,842,737,777,725,619,921,1492,1574,1458,1606,1944,1762,1224,1026,1098,1408,1426,686,541,680,625,617,766,879,962,1340,1314,896,654,697,1138,1356,948,751,549,804,952,579,523,946,1190,1134,1176,1274,1506,1554,1606,1682,1522,1316,945,1220,1364,1262,1198,1244,1288,1186,1202,785,663,881,842,895,897,1132,1336,1242,1082,815,656,641,491,634,1216,1726,2740,2414,1440,1384,1152,1372,1440,1596,1714,1556,1450,1278,1340,1190,595,316,558,1942,1778,561,435,399,599,740,600,626,649,634,758,1084,1320,1532,1214,2270,2940,1366,507,724,1005,1072,897,568,738,1200,1234,854,801,1152,1314,1490,1706,1538,1438,1394,1168,544,340,302,274,288,318,424,601,750,871,926,929,706,1090,2018,2188,1372,1262,1144,966,684,487,808,839,719,711,724,927,923,1300,1828,1524,880,1042,1470,1710,1930,2156,1812,1140,894,971,979,724,811,1218,981,1202,1216,1266,1536,1216,827,1017,1398,1322,1032,1284,1218,933,1168,1172,727,465,460,604,926,968,894,684,581,584,684,515,400,436,430,397,403,393,386,354,343,371,389,414,402,380,425,464,415,367,362,368,602,1112,1448,1562,1376,751,912,898,712,897,1222,1340,1450,1294,940,628,1234,1478,1180,1120,1316,1476,1522,1572,1552,1326,1300,1264,1146,1408,1310,1042,1088,1368,1230,1178,977,1224,1350,918,691,990,1036,814,803,496,371,317,610,963,971,639,660,1044,925,868,1188,1196,953,960,1060,1216,839,756,832,1000,1230,1266,960,1044,1210,1150,800,996,1020,949,519,752,857,1052,1360,1296,1396,1350,976,660,714,805,993,929,937,1218,1148,929,963,1130,1368,1426,1328,1250,1566,1056,1086,1188,1280,1416,822,866,1264,940,604,885,1248,1252,1238,1380,1704,1832,1642,1484,974,817,926,992,998,901,976,1138,1232,1318,1272,1226,1258,1296,1001,943,1340,1560,1372,1186,929,1040,1630,1334,1112,1194,1348,1384,1218,1072,904,1074,1244,1280,1210,1316,1402,1448,1378,1382,1426,1334,1446,1548,1266,1212,1880,2044,1316,1116,1196,1192,1052,1456,2132,1820,1682,1856,1700,1470,1200,1170,1156,1214,1122,970,825,868,1270,1190,931,865,864,641,736,1144,981,670,1100,1023,957,814,812,784,1066,1434,1588,1488,1424,1412,1296,1294,1304,1382,1324,1308,1170,1001,741,940,994,919,1106,1232,1314,1136,1206,1538,1760,1512,1358,1118,1032,1406,1392,1120,1356,1430,1282,1574,1644,1400,983,1082,1230,1174,1344,1154,960,896,993,1242,1174,1180,1330,1548,1574,1186,1376,1056,745,642,656,846,1110,1136,1138,1214,1252,1242,1372,1314,1252,1844,2006,1690,1382,890,920,1136,1088,1138,807,882,1013,1009,1154,1400,1670,1860,1440,1428,1338,1246,1374,1482,1612,1194,1170,906,966,1100,1188,1001,963,1130,1150,1092,841,556,477,442,372,297,330,295,288,340,343,322,273,314,511,773,743,779,981,576,315,292,280,415,491,423,464,583,722,604,868,1524,1524,747,486,541,481,479,495,572,618,921,1156,1156,1108,1184,1222,1366,1352,1406,1598,1686,1728,1350,900,1024,1228,1300,1172,1278,1592,1192,863,1032,1232,1158,1370,1260,1202,1886,2040,1368,1296,1346,1336,1388,1532,1350,1416,1212,924,1015,1168,1072,1023,1246,1152,576,637,1010,1506,1636,1446,1374,1420,1424,1480,1586,1526,1526,1482,1482,1366,1170,1023,929,1052,1162,1322,1274,940,1098,1344,1432,1586,1326,908,767,839,844,1032,1116,960,1021,1021,628,794,935,652,935,960,1216,1532,1188,728,705,714,732,913,1140,1322,1166,1114,1228,1246,910,878,800,1302,1256,988,1206,1336,1502,1754,1674,1516,1536,1450,1162,1160,1180,678,1060,1316,1028,1004,1224,1478,1620,1286,912,1212,1168,1066,1026,1100,1084,1166,1246,1042,797,919,1234,1350,1188,901,1040,1164,1272,1180,1180,1170,894,773,1078,1222,1174,1076,1254,1362,1588,1440,1478,1476,1388,996,733,1024,1110,1388,1770,1082,1132,1364,1294,1364,1112,1150,1150,1192,1416,1148,1038,1216,1046,819,657,969,1540,1516,886,523,531,781,1198,1412,1484,1608,1322,1212,1070,1478,1556,1084,1152,1478,936,1308,2422,1866,1802,1222,702,620,669,615,548,572,496,523,559,418,431,504,497,408,394,323,299,330,332,313,439,669,846,846,613,488,808,859,803,739,858,985,701,440,550,489,619,908,1050,1108,1068,1170,999,493,350,375,295,483,582,517,697,848,476,460,577,1124,885,1024,1312,1164,994,1058,1060,969,905,924,1124,1136,642,446,487,1376,1344,905,1850,2408,1344,514,409,646,1172,985,974,1178,1084,922,1060,1260,1506,1104,625,599,826,996,1142,1098,1084,786,673,626,1028,1882,1500,861,656,706,623,502,861,1170,1338,1520,1088,902,1226,1178,962,677,565,532,480,694,1050,1162,1172,1180,712,535,631,1120,1234,786,838,2410,4416,3288,1626,1378,1602,1686,1626,1642,1580,1372,1378,1454,1152,1026,942,891,955,1070,1140,905,793,1030,970,703,908,951,970,1052,1144,1352,1108,976,683,521,688,764,819,767,569,452,521,748,841,943,1588,1742,1670,1698,1706,1740,1786,1570,1320,791,465,513,446,430,415,411,379,351,364,335,471,786,957,921,879,822,816,772,517,454,540,464,408,399,360,442,522,489,509,592,851,905,719,650,860,1078,1304,1226,1202,1224,933,797,843,920,904,818,794,813,688,707,662,738,1013,1072,1282,986,572,764,1038,977,651,453,467,570,575,513,507,477,422,421,425,387,375,380,426,472,455,426,411,406,358,290,262,279,285,259,268,266,342,575,683,727,479,306,286,279,268,281,284,308,393,495,658,810,829,686,792,929,1032,856,486,317,357,337,333,374,367,397,431,447,470,519,531,518,514,527,509,495,511,519,527,510,484,464,447,463,513,522,484,458,452,440,419,417,417,441,442,433,412,393,389,405,430,431,434,445,434,407,435,431,442,444,436,423,418,426,441,423,389,389,385,368,369,367,350,383,484,510,438,397,399,399,403,423,470,489,453,465,431,436,446,452,441,419,408,427,432,427,430,427,427,431,423,436,417,401,400,409,414,409,409,401,395,418,427,430,414,403,387,392,381,378,383,374,374,381,383,372,397,392,385,384,384,386,387,386,390,387,384,382,383,410,404,396,393,396,393,388,385,397,414,412,399,415,415,423,420,443,431,428,426,419,415,415,414,406,393,393,388,385,371,361,361,339,338,371,429,422,374,350,326,332,351,366,380,374,354,334,308,310,301,286,299,303,301,299,295,290,321,300,303,292,295,293,296,294,293,298,311,312,313,323,343,342,322,318,316,313,329,350,354,350,329,322,324,323,339,312,302,294,289,295,290,289,291,299,303,302,307,330,317,326,336,330,322,346,354,363,360,357,339,329,323,323,343,365,373,359,354,349,353,341,330,337,343,341,336,343,336,339,321,324,310,305,298,292,291,294,300,308,310,310,317,314,311,304,306,311,303,310,325,323,321,315,317,328,332,328,322,322,326,328,333,333,329,328,330,324,322,317,329,343,343,348,353,355,351,373,375,373,384,375,372,361,357,357,351,338,347,339,320,317,328,326,323,336,322,320,323,325,328,330,326,317,316,317,317,317,317,317,317,314,314,310,310,316,322,329,329,324,322,321,320,319,325,348,343,353,367,381,374,384,393,385,384,378,366,369,363,357,349,351,344,344,335,310,320,336,332,336,343,349,351,351,354,371,349,369,388,376,368,369,372,386,357,333,370,372,373,382,382,376],[629,778,908,1046,1294,814,314,257,270,329,447,436,357,456,467,354,377,356,387,466,421,363,346,346,336,333,325,317,335,402,473,572,540,704,907,1154,1350,911,800,1114,907,526,679,955,1462,1672,948,382,357,374,331,275,276,289,271,259,252,236,267,286,283,241,264,234,231,302,352,561,758,727,888,1522,1836,1482,1484,1446,1478,1428,1082,1350,1996,1718,1812,1892,1490,1512,1316,929,659,533,473,466,601,665,556,497,473,668,976,1062,1140,1152,722,749,941,911,1124,886,624,428,472,720,506,381,434,314,383,382,395,450,359,313,306,293,293,307,292,303,332,400,575,727,1126,1396,1654,1050,611,612,642,979,1466,1440,1088,741,488,380,315,414,587,1002,1264,1340,1644,1530,1262,1316,951,591,519,618,677,1158,999,553,354,311,405,500,374,393,543,502,460,534,509,584,709,519,474,491,781,1060,857,798,803,484,385,657,1086,1316,938,653,633,748,974,1058,767,692,507,614,975,1248,1036,768,756,767,836,677,611,631,699,1072,1438,1394,905,1224,1596,1484,1166,1654,2038,1548,1324,1282,1090,740,674,925,954,721,872,1374,1244,1046,1274,1540,1438,1330,1270,1192,1038,1188,1009,1196,1202,1588,1028,792,992,1194,1636,1530,1116,959,1162,1318,1448,1300,1378,1322,1058,655,565,708,1030,1116,1068,1344,1490,1502,1400,1742,1552,1434,1662,1686,1656,1532,1478,1622,1688,1416,1400,1378,1118,1118,1164,771,786,1154,1340,1266,1248,1146,1048,1080,1080,926,777,1350,1542,1884,1646,1494,1378,1174,1468,1868,1700,1310,1400,1556,1274,1220,1208,730,343,1284,2620,1450,469,631,443,589,688,582,618,664,584,615,786,968,1196,1820,2942,2442,1056,866,935,1206,965,1064,994,1340,1360,1230,1208,1172,1240,1274,1410,1442,1478,1428,1352,1252,706,591,539,377,268,276,482,828,1106,1164,1134,1060,667,861,1476,1588,1348,1510,1038,587,491,690,1274,1310,1232,1428,1178,747,498,647,1023,847,566,591,675,1015,1542,1812,1246,926,891,757,758,769,731,747,799,975,1074,1132,1428,1006,814,959,1114,955,659,632,705,569,744,975,803,639,526,786,1794,1820,1576,1020,628,554,600,550,486,463,474,429,411,395,422,388,366,368,363,404,392,393,439,438,396,383,403,362,448,847,1284,1560,1498,1080,905,801,902,1410,1548,1354,1570,1742,1266,758,1094,1088,1180,1078,1134,1180,1172,1400,1290,1260,1476,1362,1062,1124,1212,1146,1102,1230,1124,1138,1098,1058,1116,938,849,1144,1070,727,656,674,519,404,800,1072,894,684,609,658,548,707,1016,1230,1056,998,1102,1054,825,879,982,968,1426,1534,1192,1204,1204,1028,747,1086,1274,1158,786,735,1010,1348,1458,1310,1008,852,926,934,1032,1320,1364,1198,955,1036,999,954,973,1098,982,791,985,872,949,1036,924,916,1236,1228,951,918,1052,977,1018,929,1100,1170,961,1230,1432,1264,1340,1130,930,971,747,781,967,889,615,824,1210,1310,1532,1086,1170,1290,969,802,1074,1320,1372,1280,1108,1248,1598,1334,1182,1204,1324,1444,1494,1130,774,1136,1348,1426,1188,1196,1146,1582,1532,1372,1288,1274,1228,1038,1134,1368,1688,1576,1312,1110,1266,1262,1090,1358,1650,1412,1616,1626,1642,1694,1554,1418,1250,1214,1214,1124,949,836,1068,1178,1030,1040,1042,951,1076,1296,1112,705,973,784,462,620,882,910,1046,1344,1510,1450,1428,1272,1144,1294,1412,1336,1204,963,897,1082,1194,1036,807,918,1032,991,1426,1422,1544,1648,1532,1572,1350,1320,1550,1474,1236,1178,1312,1248,1274,1416,1282,1266,745,730,1158,1444,1350,1204,1288,1080,1226,1366,1238,1196,1282,1572,1340,1264,1240,992,1042,1002,971,1042,1220,1204,1182,1220,1160,1044,1176,1308,1516,1890,2016,2046,1528,753,786,887,947,1070,916,1144,1146,956,1020,1034,2194,3292,1828,1554,1116,1126,1338,1286,1382,1230,1190,1182,1332,1514,1376,1248,1440,1406,1310,1366,1022,708,577,441,335,335,353,384,487,478,354,360,331,317,388,743,909,965,1060,684,407,379,398,451,476,619,491,725,869,639,1242,2186,1862,849,536,474,400,459,808,1007,860,1102,1274,1214,1146,1282,1290,1456,1766,1806,1302,976,852,743,690,1058,1186,1294,1098,968,1276,1216,1002,1196,1286,1256,1352,1336,1358,1648,1698,1506,1380,1246,1280,1454,1368,1340,1368,1092,879,1060,1180,1108,1070,1362,1144,620,597,907,1274,1316,1190,1242,1322,1282,1388,1532,1476,1508,1448,1422,1322,1066,1056,1076,1188,1118,1162,1118,751,1008,1226,1124,1238,1158,1024,933,904,969,1090,1019,868,1182,1310,669,546,624,615,1458,1094,922,1414,1368,960,757,559,669,977,970,1202,1388,1368,1622,1318,1066,1252,1138,1009,745,827,1240,1428,1642,1728,1472,1606,1516,1256,1098,1268,1136,947,1302,1376,1242,1334,1472,1470,1360,1110,1088,1334,1274,1244,1310,1298,1162,1230,1312,949,660,720,1126,1284,1230,858,773,1170,1266,1092,1250,1220,1042,1066,820,1122,1328,1224,1010,1064,1516,1456,1172,1278,1404,1108,1005,1200,2026,1644,1622,1302,1490,1432,1228,1242,1264,1256,1292,1396,1358,1396,1484,1478,1090,660,724,1342,2010,1560,715,453,617,879,1158,1168,1272,1372,1374,1190,1296,1296,898,881,1448,1394,659,963,1994,2652,2462,1742,1106,717,791,692,681,716,652,643,541,601,904,1082,760,722,808,686,775,805,596,505,428,468,531,594,517,662,866,796,650,474,667,1324,1320,888,865,663,609,674,1050,750,974,1206,816,440,343,335,368,442,480,536,957,1004,516,324,313,399,662,1026,1094,877,670,828,964,900,902,816,938,872,590,468,436,718,774,890,1166,1338,872,632,593,676,891,1324,1910,1732,781,874,1254,1104,1012,612,477,558,775,1070,1488,1384,984,633,530,419,733,1036,929,929,961,825,639,951,1224,1338,1336,1352,980,1074,1560,1372,914,835,1162,1368,880,543,904,1142,1096,1005,654,476,359,575,755,665,678,1308,2674,1878,1548,1656,1686,1584,1260,1122,1340,1476,1372,1182,1328,1110,1015,979,1070,1250,1284,920,565,725,792,776,813,621,747,891,938,824,581,669,662,726,633,545,510,418,568,559,381,427,602,697,1086,1388,1274,1004,867,1260,1620,1282,802,491,436,438,490,517,433,399,377,349,326,342,360,415,412,323,334,515,927,979,523,439,525,561,575,639,700,750,738,599,523,473,481,552,637,568,666,711,637,618,847,899,728,610,658,702,590,570,616,703,668,656,549,677,1028,1212,1064,901,852,1013,873,733,548,447,458,495,455,485,634,590,414,396,393,375,382,392,407,397,377,400,387,358,319,283,286,307,279,242,270,269,320,397,440,492,365,262,263,267,274,277,272,296,432,622,988,1196,1078,822,855,1013,1106,1064,705,376,379,371,340,370,389,412,433,450,487,516,534,519,505,524,508,495,509,516,529,501,462,446,434,448,502,524,487,455,437,438,427,423,420,430,415,421,415,396,389,402,415,416,433,446,433,419,443,443,428,426,432,423,408,423,430,429,400,380,379,369,386,377,385,424,511,548,467,405,417,423,431,439,466,479,465,465,432,430,437,443,443,429,400,411,422,436,431,423,418,432,423,423,427,413,401,412,424,427,419,409,413,415,415,415,413,415,404,383,380,389,396,383,388,384,380,375,393,392,386,384,384,384,389,397,390,384,385,382,386,397,397,399,402,401,393,390,399,420,440,446,415,409,397,409,415,420,431,437,425,422,422,416,411,396,391,385,383,387,372,362,359,349,341,365,411,451,411,361,336,346,365,380,394,385,370,353,322,313,316,306,307,295,296,303,301,303,295,298,300,303,293,290,305,303,307,311,321,319,329,303,347,332,316,318,323,321,332,356,348,339,327,320,322,313,346,327,305,300,297,294,286,289,290,297,297,303,309,322,317,326,330,332,355,347,336,366,367,360,353,329,323,320,346,377,379,360,351,348,349,341,335,336,333,326,338,348,351,351,343,325,313,303,296,296,297,299,305,307,303,310,312,316,316,320,320,312,310,317,330,328,323,317,316,321,317,316,321,324,321,324,337,336,333,322,326,323,318,317,325,335,344,351,360,359,366,359,353,351,369,363,355,355,357,360,377,365,346,344,325,323,324,326,322,330,322,321,322,320,336,339,324,321,317,317,317,317,317,329,326,307,318,321,308,305,314,318,307,307,325,331,330,329,331,329,331,355,377,384,369,383,393,393,381,369,374,373,363,351,348,346,335,343,338,318,321,326,330,336,343,348,354,359,365,375,375,377,373,363,363,366,372,372,360,347,376,380,379,377,372,372],[1086,1040,1060,1364,1032,525,285,267,306,416,505,507,464,512,363,385,398,375,415,490,480,411,342,319,324,322,331,342,318,344,429,543,558,571,783,1068,999,805,664,810,1140,1286,1538,1834,1866,1390,797,422,358,373,342,289,265,295,305,305,269,232,241,245,246,267,236,212,225,230,251,365,580,687,650,815,1024,1236,2008,1458,893,1194,1330,1714,2100,2022,2236,1920,1808,2264,1902,1226,1044,960,694,553,632,825,813,573,514,713,1184,883,985,977,506,751,1142,1140,1246,921,562,451,342,357,284,334,346,301,399,410,304,315,345,343,346,316,301,311,274,299,361,424,667,890,1528,1820,1738,1128,782,745,690,874,1030,970,1130,921,540,399,353,378,518,847,1024,1214,1364,974,1096,1368,902,442,533,606,740,1384,1638,881,305,313,328,350,392,366,454,464,483,604,533,506,480,445,463,445,670,817,713,733,745,601,498,528,551,519,393,380,426,613,1086,1300,1110,929,781,729,947,1136,1112,1200,949,742,927,1126,856,719,773,835,1054,1136,1172,1522,1618,1348,1324,1498,1320,1210,1034,1044,1260,800,640,813,1094,824,815,970,709,667,1044,1264,1394,1434,1470,1024,673,636,942,1446,1582,2480,1562,769,981,1068,1350,1322,1112,1288,1136,1360,1708,1516,1356,1364,1072,826,884,1064,1224,877,662,1106,1374,1246,1704,1758,1154,1200,1766,1918,1776,1646,1730,1928,1904,1726,1670,1374,947,1194,1256,1144,1210,1268,1358,1318,1394,1404,1520,1526,1224,836,644,1272,1542,1334,1302,1476,1556,1572,1588,1644,1422,1238,1332,1216,1038,1104,1056,801,354,1522,2880,1394,742,830,399,572,618,565,619,645,635,608,698,933,1130,1882,2770,2996,2036,1256,886,1048,860,797,1162,1320,1090,1202,1156,1018,807,839,1232,1382,1422,1422,1482,1132,706,803,924,713,385,345,615,1166,1452,1034,651,717,650,915,1362,1404,1448,1366,1112,810,781,1194,1844,1622,1706,1784,1258,788,743,1246,1764,1580,907,490,479,529,692,938,919,1092,1072,837,915,1244,1074,947,873,630,882,742,1206,778,739,914,1070,781,801,833,753,846,790,978,937,703,597,695,1172,1398,1238,1122,814,648,747,700,547,450,480,509,449,384,448,417,381,374,368,372,376,453,504,425,382,399,404,375,385,604,1070,1432,1542,1576,1240,738,749,862,1146,1444,1880,1960,1540,882,601,689,958,877,866,938,1240,1376,1210,1334,1478,1362,1138,1060,977,1096,1188,1164,1192,1174,1106,1134,1288,1204,1148,1158,995,683,775,1086,918,707,1026,1066,1048,1146,772,527,406,442,860,1042,850,810,1064,914,672,1005,1310,1200,1538,1474,1350,1224,1116,880,1148,1652,1614,1328,957,929,1108,1098,1178,1052,734,512,620,1050,1082,1368,1368,1066,980,891,1444,1360,764,863,565,518,594,839,892,991,1009,1032,1202,1312,1290,1120,1146,1086,1214,1068,1060,937,814,1318,1396,1320,1394,1172,1000,915,775,1084,1204,861,470,763,1174,1434,1206,1036,1346,1210,863,774,954,1086,1280,1230,1252,1356,1160,1088,1136,1020,971,1114,1015,850,784,1280,1560,1394,1146,1106,1018,1248,1246,1238,1170,999,882,1090,1338,1248,1228,1104,1040,1086,1072,1072,1032,1270,1298,1182,1218,1352,1510,1600,1808,1736,1620,1520,1456,1070,770,872,1090,1074,1086,1134,1100,1164,1008,771,739,898,1188,960,568,861,1116,1050,1198,1488,1478,1256,1268,1164,1140,1266,1356,1274,1196,1100,1138,1302,1344,1044,721,775,915,939,1338,1524,1566,1720,1644,1592,1368,1210,1332,1270,1106,1250,1274,1186,1178,1384,1246,1058,609,537,1006,1166,1162,1278,1342,1110,1204,1282,1256,1288,1438,1412,1166,1312,1190,744,719,1048,1122,1272,1258,1266,1238,1228,1100,1060,1322,1704,1760,1358,1572,1776,1322,1010,1044,830,719,853,929,1274,1326,1278,1490,1318,1932,2668,1550,1268,1152,1334,1404,1250,1346,1158,883,1104,1396,1576,1446,998,908,1156,1930,1692,1228,1214,962,527,397,421,435,552,874,1126,716,380,357,293,349,410,513,910,974,699,655,435,384,437,705,1010,622,933,684,811,1714,2276,1488,547,515,402,374,586,1444,1146,943,1013,1262,1224,1114,1166,1032,1080,1628,1670,1354,1608,1230,1202,1124,1138,1114,1396,1268,949,944,1090,1300,1480,1274,1332,1252,1200,1366,1542,1606,1598,1404,1294,1448,1304,1082,1262,1428,1208,1266,1226,1300,1406,1356,1290,959,811,1040,1164,1086,1296,1422,1450,1318,1466,1294,1182,1382,1488,1392,1372,1182,1078,1060,988,1022,1064,1196,1460,1442,1440,1158,1148,1344,1280,1320,1330,1308,1388,1388,1188,948,1184,979,694,539,641,592,875,913,893,1298,1458,1186,883,550,529,645,779,844,1094,1452,1488,1090,1130,1480,1610,1336,877,1066,1372,1458,1606,1282,1046,1312,1450,1250,1284,1678,1580,1302,1332,1340,1416,1178,1266,1122,1116,1130,1158,1304,1488,1310,1156,1246,980,991,1210,1092,929,731,1070,1324,1274,963,743,1052,1138,1190,1248,1066,1202,1302,1130,1158,1008,918,868,1046,1396,1320,999,1428,1184,944,1060,1130,1514,1654,1404,1268,1462,1482,1284,1322,1288,1500,1486,1142,1278,1556,1478,1484,1194,909,1014,1680,1794,1302,878,745,1176,1402,1116,926,897,1054,1220,1290,1362,1130,581,581,976,935,606,783,1388,1674,1302,2134,1878,625,814,780,714,677,664,933,702,642,1350,1810,1324,1406,1666,1362,1206,962,657,865,988,1007,998,940,976,1064,990,766,516,352,323,491,639,1028,808,594,506,403,709,755,1084,1300,929,350,307,360,461,520,555,466,444,648,662,405,345,402,556,602,666,739,674,872,836,683,655,642,936,825,609,614,444,365,727,1288,1001,896,704,630,351,470,698,1318,2030,1528,664,832,1242,924,625,452,722,835,576,861,1478,1584,1314,901,435,268,346,434,599,836,898,807,745,1432,1348,1128,890,838,745,549,735,838,780,977,1560,1904,986,446,661,899,954,889,630,393,383,502,670,599,697,901,866,901,1198,1380,1304,1062,683,583,956,1482,1514,1664,2246,1404,1060,1036,1174,1252,1470,1106,676,881,974,1142,1212,612,498,650,736,578,473,542,727,829,661,789,1158,1280,893,758,559,412,465,629,857,820,650,651,1044,1736,1958,1346,973,673,432,408,456,426,374,389,392,366,367,414,430,362,290,327,401,432,605,563,534,630,557,561,594,649,708,602,625,547,471,462,473,500,568,536,521,511,508,534,586,581,566,554,842,793,469,442,588,774,720,489,558,809,816,695,713,1005,993,1042,830,584,419,403,425,461,471,532,678,634,450,394,352,336,333,375,403,449,433,391,356,301,287,290,288,281,266,240,263,256,279,290,277,283,278,266,275,289,290,286,295,324,388,648,868,776,654,639,771,962,1032,991,708,383,345,373,349,364,390,428,452,465,487,525,534,529,495,514,510,503,509,516,527,498,453,437,435,444,493,523,509,460,423,438,430,418,422,424,414,406,402,397,406,424,405,402,425,447,445,440,437,422,421,428,438,435,420,431,432,426,410,383,377,361,362,380,429,467,497,534,472,415,415,415,417,421,448,475,472,448,437,436,430,441,442,438,403,415,419,430,447,421,406,430,445,441,430,411,401,400,404,408,408,405,406,403,408,421,424,423,416,392,378,386,390,376,383,381,375,374,385,390,404,410,397,384,393,393,374,377,383,375,368,377,397,408,401,397,390,389,399,410,415,422,401,412,404,403,419,416,425,437,426,423,416,407,416,393,390,384,381,376,390,376,363,353,350,369,390,450,431,379,350,374,387,394,400,397,389,366,341,331,328,312,298,290,295,303,307,309,305,297,300,298,298,303,289,294,298,313,318,322,317,312,321,332,340,335,321,322,325,339,336,329,325,316,324,325,342,333,308,292,297,287,286,291,291,290,294,303,308,310,314,321,326,346,335,336,337,343,367,357,349,341,335,330,341,360,377,357,347,348,343,337,336,329,324,328,346,349,351,351,325,314,319,295,295,300,304,306,305,304,312,321,317,316,317,308,301,302,308,317,322,321,320,316,321,320,314,319,323,324,320,318,329,336,330,325,323,323,323,324,330,336,335,337,341,351,369,361,369,378,363,361,377,363,351,343,354,351,347,346,323,330,324,322,324,319,316,313,317,319,333,346,329,322,317,317,317,313,308,330,331,308,312,314,299,300,312,317,317,325,322,311,311,313,331,334,353,364,379,389,386,418,390,389,381,361,377,372,363,355,349,341,343,339,329,323,323,323,329,335,341,347,354,363,371,375,377,372,361,361,369,372,383,371,354,369,372,354,366,368,360,363],[1274,1096,753,709,486,298,261,249,285,449,605,730,797,702,711,998,680,411,417,458,443,419,350,313,317,339,365,396,362,311,373,453,485,617,676,717,917,993,637,491,755,1672,1942,1640,894,419,358,356,347,345,327,309,272,322,323,323,279,267,270,268,254,259,223,225,221,223,248,255,337,418,585,645,503,854,1294,828,546,919,1182,1368,1566,1706,1902,2070,1814,1914,1578,1142,1114,1222,1332,1019,732,980,972,560,517,957,1120,781,728,872,828,909,991,1100,852,556,430,528,558,371,308,334,316,309,379,362,287,305,336,332,330,290,281,282,232,280,316,439,611,1110,1748,2130,2066,965,792,753,682,568,904,917,1212,1210,1050,683,469,371,350,550,673,744,1218,1454,1454,1222,655,378,382,407,394,729,1030,654,275,359,486,561,540,456,483,451,504,558,509,427,366,378,444,476,744,812,698,572,761,657,469,479,458,390,488,547,581,1092,1350,1638,1914,1876,1532,648,498,611,860,1188,1214,1050,1086,1522,1382,1188,1178,1002,1148,1402,1638,1578,1354,1628,1880,1420,1330,1214,807,939,948,814,774,875,1438,1324,861,658,697,943,1094,1282,1486,1394,1198,754,735,778,1007,749,880,1532,1122,849,983,974,947,938,967,1126,874,1128,1348,1238,1034,1158,1336,1060,1116,1378,1456,995,1000,1336,1318,1318,1936,1656,959,1098,1486,1908,1796,1458,1716,1912,2088,2046,1890,1818,1444,1286,1210,1410,1496,1086,999,1228,1378,1460,1778,1576,1124,1120,940,1021,1316,1352,1504,1698,1858,1772,1346,1212,1362,1476,1360,1278,1362,1280,1134,853,478,1238,2788,1798,647,485,375,552,651,598,589,620,681,687,759,1096,1338,2178,2966,2764,2824,1984,792,559,527,425,778,1192,1294,1084,832,652,809,1088,1314,1444,1456,1438,1278,903,764,822,1064,886,414,474,785,1404,1626,969,662,839,1078,1426,1208,1076,1294,1234,1152,1198,1278,1492,1360,1376,1686,1510,1036,687,795,902,1332,1794,1004,560,480,479,421,722,923,1116,1234,913,949,1134,1044,1304,1230,921,1350,1064,1026,1020,1160,1350,1174,761,932,1264,1146,1260,1082,1498,1532,1460,1036,774,907,769,770,948,769,783,949,720,503,488,470,567,537,433,440,408,395,390,377,365,382,480,562,544,441,440,429,450,469,483,751,1172,1404,1636,1592,1148,576,706,1618,1836,2076,2094,1710,1064,835,949,953,1001,993,1017,1282,1264,1292,1480,1482,1062,1062,1080,822,1060,1222,1282,1442,1410,1358,1262,1130,1262,1268,1328,1244,990,830,935,919,967,1186,1174,1308,1176,741,478,462,354,570,743,653,643,515,451,955,1568,1274,1246,1266,977,972,1048,734,852,1536,1756,1516,974,752,1116,1182,1176,1218,973,662,529,570,811,885,1170,1146,1118,1136,980,1582,1616,1114,779,451,466,628,941,985,889,802,1230,1674,1924,1494,1600,1350,1076,943,806,862,734,583,794,1086,1332,1258,1134,1170,842,805,1152,1060,618,404,657,959,1378,1554,1396,1330,1128,947,772,924,868,1094,1106,964,1152,1160,1188,1394,1278,930,1030,866,711,992,1166,1432,1468,1116,977,886,843,984,1044,1056,827,1038,1294,1416,1312,1392,1262,1200,1088,974,1108,1270,1396,1376,1238,1072,1284,1390,1324,1422,1406,1568,1708,1714,1498,1290,1200,1268,1198,1072,1138,1106,1126,982,600,581,947,1390,1102,788,1168,1168,1154,1218,1270,1302,1042,1026,1024,933,943,1058,1102,1100,1006,890,983,1132,1078,865,683,891,1110,1182,1256,1334,1598,1700,1604,1564,1532,1368,1294,890,941,1001,1082,1102,1166,1194,1122,862,990,1128,756,688,772,1078,1366,1582,1552,1434,1432,1484,1180,1068,1240,1198,974,971,1005,1015,1294,1292,1278,1258,1202,1142,1078,1256,1764,1536,973,962,1192,1180,1504,1378,1114,1092,861,727,681,714,814,1184,1296,1282,1128,1108,910,980,1238,1326,1240,1338,1050,570,1000,856,1198,1384,1220,1200,1428,1874,1448,1094,1068,815,432,545,786,957,731,764,981,662,386,375,363,500,540,499,1017,1058,708,769,470,332,263,644,659,884,1034,658,1006,1902,2122,952,472,562,392,353,762,1354,1166,912,856,886,934,1050,1192,1318,1256,1186,1034,1220,1592,1514,1366,1344,1302,1196,1366,1500,1396,1158,1030,1316,1568,1332,1374,1374,1278,1126,1310,1166,1028,1094,1054,1090,1050,1116,1174,1158,1158,1456,1498,1482,1426,1332,1322,1322,1272,1396,1552,1224,1442,1482,1434,1302,1460,1230,1234,1462,1328,1086,1098,1136,1234,1246,1224,1454,1500,1558,1620,1348,1372,1466,1522,1496,1330,1316,1130,1200,1442,1476,1356,955,759,863,937,642,557,608,757,849,846,952,1186,1324,1086,879,589,421,555,830,1042,1162,1150,1026,1090,1518,1646,1462,1362,1430,1466,1444,1488,977,1050,1604,1594,1212,955,1272,1584,1388,1340,1684,1532,928,1026,1056,986,1270,1356,1176,1058,1222,1166,1250,1232,1382,1356,1360,1370,1470,1540,1274,1194,1202,1106,1334,1078,1156,1322,1202,1276,1258,1190,1030,822,576,668,950,1316,1300,810,911,781,664,850,1040,1096,1196,1240,1408,1484,1208,1162,1516,1516,1552,1174,1198,1376,1208,1208,1256,1128,1238,1444,1600,1128,982,952,1200,1382,1290,815,629,706,904,949,943,1242,1172,979,621,583,465,597,933,1518,1704,1436,2166,1752,563,718,768,735,727,590,741,586,568,1280,1566,1050,1160,1402,1352,1384,1632,949,961,1174,1510,1996,1722,1356,1254,883,433,345,327,289,307,391,412,305,377,455,374,449,796,1070,892,781,477,308,337,593,598,622,501,533,969,789,348,283,317,460,731,1050,1104,813,760,656,435,474,577,899,781,473,641,381,423,497,572,856,993,866,599,429,442,730,1180,1178,804,728,939,1390,1068,725,545,935,1180,786,719,896,1034,1206,1024,592,453,552,436,412,578,536,366,510,1016,1012,1020,1076,859,543,387,695,910,1078,1296,1088,671,528,683,771,810,868,620,480,381,469,838,710,698,908,1324,1015,637,541,673,980,818,559,827,932,1132,1476,1916,2274,1794,1348,1274,1182,1172,1306,1334,946,927,974,1160,1170,665,726,931,876,799,767,908,994,811,677,1142,1842,1596,1060,802,474,332,402,605,669,673,685,565,870,1598,1736,1252,1004,583,390,375,389,412,406,403,385,344,360,388,399,380,362,415,445,505,731,735,801,702,456,422,526,558,480,421,478,456,478,445,415,469,518,503,452,465,482,364,325,547,568,829,1130,1060,818,644,584,667,510,376,732,900,732,676,898,882,760,713,624,515,550,535,369,415,479,508,656,745,481,435,414,367,364,351,392,459,455,441,364,283,276,289,270,257,252,242,257,262,263,263,246,261,280,275,285,276,313,328,319,319,339,393,409,378,467,648,802,908,916,838,508,338,334,387,384,374,394,419,450,466,498,540,528,520,491,497,516,524,510,505,529,526,473,440,448,447,494,511,509,475,431,432,421,429,432,426,421,397,402,409,414,404,405,419,427,447,454,450,434,419,425,431,442,443,432,424,432,424,413,382,381,382,370,394,461,518,521,542,513,438,414,421,417,419,429,449,472,455,425,418,429,432,437,442,405,422,421,425,444,433,417,425,448,436,427,413,404,403,412,411,408,404,399,396,397,404,412,413,397,395,370,372,384,375,370,378,367,366,378,390,406,410,396,393,387,379,370,375,377,375,373,370,389,405,404,390,379,369,383,397,391,397,397,409,401,390,404,419,425,435,435,438,426,417,419,398,387,379,377,381,381,371,376,350,359,373,379,438,441,400,365,380,397,401,403,394,386,370,359,350,336,321,310,294,291,308,313,308,308,312,318,309,303,306,292,296,304,289,318,337,346,347,325,329,328,325,304,322,332,334,335,335,334,322,322,335,339,323,310,290,297,292,296,297,292,290,297,298,300,313,321,328,333,344,349,344,336,322,343,361,347,351,338,335,351,365,361,355,343,351,334,334,331,328,318,316,322,326,339,341,331,332,310,308,311,330,328,314,306,301,298,298,304,308,312,304,296,294,297,309,316,316,316,320,319,308,318,322,318,317,316,317,321,334,337,334,329,324,325,330,330,330,338,349,343,347,349,361,365,386,369,359,361,366,367,365,361,361,357,351,328,329,324,324,322,313,310,310,310,312,319,334,337,329,318,316,317,314,312,324,329,324,323,322,324,325,318,316,310,322,319,311,318,329,329,342,355,347,351,372,389,379,372,377,383,375,373,370,354,352,354,336,347,338,329,330,317,321,329,337,347,348,357,369,374,372,363,357,349,360,367,369,355,352,355,374,364,347,357,363,363,365],[1046,980,932,649,304,312,280,261,279,360,570,702,781,679,947,1248,1044,628,454,471,407,424,370,353,323,343,367,374,390,358,328,336,362,451,764,1182,1262,1278,763,666,572,1068,1226,859,493,389,360,318,299,300,337,393,399,446,425,293,267,315,306,239,234,229,240,244,252,249,243,236,283,299,412,494,435,361,400,397,482,792,1468,2008,1544,1480,1256,1648,1550,1968,1916,1810,1664,1566,1988,1122,587,727,737,556,746,1108,1198,919,743,861,1128,996,997,1306,1350,965,540,754,980,597,308,396,372,319,440,405,338,310,329,321,318,265,242,318,357,336,291,392,453,972,1300,1334,1382,806,788,784,808,542,692,717,901,1210,1126,630,509,463,491,555,597,555,807,1178,821,638,433,267,273,282,307,400,354,255,217,316,475,590,574,499,411,365,469,563,488,375,393,414,432,563,988,1356,1015,595,716,625,462,501,472,437,792,994,1176,1476,1502,1802,1914,1896,1300,618,410,448,792,1080,1210,1450,1808,1832,1516,1254,1364,1428,1686,1980,1872,1478,1576,2110,2204,1606,1300,908,899,1046,1206,1218,984,1158,1340,1022,987,636,475,646,891,1426,1700,1502,1122,650,499,528,556,468,470,519,534,821,1013,1034,979,972,946,1058,1514,1542,1438,1440,1284,1364,1704,1322,1282,1204,1004,768,588,919,1212,1324,1410,1112,979,1236,1672,1876,1694,1384,1356,1382,1802,2094,2136,2102,1850,1624,1456,1474,1258,1198,1142,1164,1196,1374,1722,1428,1028,984,1078,1120,1336,1386,1592,1942,1854,1506,1340,1362,1210,1164,1112,1178,1344,1216,1220,1088,747,672,2070,2206,882,321,331,528,691,616,631,655,684,661,763,1240,1444,2254,2636,1940,2532,1972,641,303,288,291,380,719,1156,1090,944,655,996,1406,1410,1410,1314,1246,827,616,800,708,866,662,462,743,1206,1660,1732,1252,1356,1484,1564,1544,1218,1682,1682,1782,1752,1376,1480,1526,1094,1538,1894,1516,955,581,795,1010,1164,1400,722,622,831,792,681,860,831,920,1054,858,1256,1378,1266,1250,969,1316,2114,1598,1238,1362,1288,1166,1152,1094,1356,1450,1030,1023,915,970,1124,1398,1088,750,749,724,869,1080,1074,852,935,686,625,570,554,1028,927,568,527,405,429,466,432,372,387,411,472,560,478,481,520,563,593,532,655,1070,1290,1566,1626,1708,1082,760,1262,1560,1670,1616,1250,998,855,940,1066,1176,1378,2432,1494,1324,1410,1416,1332,908,883,928,725,1015,1382,1642,1708,1664,1590,1324,1204,1174,1186,1192,1180,926,509,912,1286,1128,1100,1352,1514,988,548,606,591,383,469,539,563,553,361,437,723,1023,1012,1170,1100,870,1056,1136,643,697,1082,1272,1096,625,637,1154,1556,1310,1290,1184,749,495,759,1070,1196,1272,1296,1642,1048,1009,1066,814,950,797,746,698,766,1026,1180,1138,880,1578,1882,1770,1102,1034,1080,971,785,600,589,694,756,670,745,1188,1356,932,863,612,488,727,641,487,709,993,1208,1692,1986,1604,1044,813,681,544,740,753,1270,1286,781,1090,1462,1262,1288,1136,1110,1078,1268,1134,1212,1184,1134,1144,1148,1028,984,1708,1682,801,962,619,489,629,898,1054,1174,1350,1442,1376,1438,1484,1458,1584,1234,964,960,1250,1410,995,861,1080,1170,1242,1314,1678,1660,1396,1308,1252,1402,1370,1102,1011,865,778,870,1040,1250,1058,1118,1376,1480,1732,1658,1372,1272,1296,1282,1192,869,697,862,1158,1120,787,494,908,1248,1300,1116,973,1054,1010,855,844,1338,1802,1654,1572,1558,1538,1516,1362,1016,885,948,1001,990,1126,1234,1142,1328,1946,1432,942,794,943,1486,1588,1616,1750,1620,1628,1456,1038,1290,1238,1190,1224,1294,1226,1260,1240,1278,1296,1250,1214,1188,1064,1226,1416,1094,905,964,944,905,1050,1064,1346,1402,1128,1172,896,677,595,792,1026,1314,1312,1088,1076,1218,1494,1546,1044,871,1034,703,935,752,1146,1310,1236,1346,1592,1562,1382,1108,963,747,716,1054,1072,1158,749,431,401,473,486,425,478,864,985,460,875,918,778,754,588,410,246,318,448,775,670,638,1382,2216,1764,608,492,603,532,593,1048,1178,980,794,787,905,874,932,1222,1372,1216,662,532,956,1288,1256,1224,1308,1284,1354,1238,1248,1230,1100,1090,1188,1078,767,959,1172,1026,714,840,1012,1106,1068,1064,1212,1198,1390,1310,1238,1300,1504,1498,1402,1410,1482,1448,1510,1520,1600,1546,1430,1616,1620,1418,1512,1388,1220,1332,1370,1074,924,1106,1036,1192,1284,1362,1362,1416,1516,1442,1308,1388,1352,1344,1376,1400,1342,1142,1186,1522,1526,1382,1068,745,765,805,646,625,836,886,919,755,526,888,1234,979,999,857,658,635,766,849,996,1328,1380,1410,1550,1608,1528,1460,1578,1502,1284,1296,1302,1532,1530,1028,789,865,975,1280,1226,1382,1976,1866,1192,1036,1001,1034,1348,1330,1060,1100,1480,1342,1250,1478,1472,1134,1394,1892,1838,1422,1058,1202,1346,1008,994,932,871,1176,1350,1166,1158,1232,1248,1236,900,939,1254,1438,1476,969,771,692,634,845,1116,1122,1156,1288,1366,1244,1224,1358,1898,1738,1092,938,1202,1066,943,1230,1532,1544,1288,1130,1258,1226,841,621,973,1152,1046,922,651,651,888,876,737,1026,1268,1328,1118,868,711,802,1030,1660,1592,1338,2342,1560,555,527,633,621,592,505,402,410,570,927,816,604,1010,902,1108,1118,1328,767,487,518,1012,1716,1520,917,982,779,413,465,415,383,391,394,400,359,558,704,516,535,662,1060,764,437,562,498,353,464,483,452,415,400,433,374,311,322,367,404,758,1142,1244,914,758,637,367,349,559,992,735,427,568,318,357,455,520,816,1384,1482,1128,993,749,728,891,1042,955,761,742,684,1058,872,549,609,609,734,915,990,849,897,1030,595,800,1064,745,558,866,853,581,624,742,682,631,551,451,324,344,634,872,999,1030,875,735,877,1110,843,694,899,529,748,594,452,869,806,687,1030,1454,1004,462,371,594,1001,959,1100,1456,1150,1052,1466,1708,1676,1432,1226,1178,1412,1508,1204,1094,817,688,649,763,781,664,771,885,968,949,882,1144,1068,669,518,767,1262,1090,920,608,314,214,313,598,765,812,773,661,883,1342,1160,788,807,637,426,388,373,415,406,400,428,420,388,369,384,384,384,404,401,502,605,637,597,415,350,345,425,496,396,375,419,430,434,414,410,447,478,528,561,568,466,300,309,529,736,1018,1180,1140,926,611,519,510,505,583,774,572,726,722,803,732,647,651,650,582,650,601,451,415,451,436,487,520,458,455,414,381,364,341,357,369,386,383,321,282,264,271,256,242,254,260,267,281,267,258,293,334,300,285,315,312,331,322,315,325,444,641,771,885,609,486,620,651,693,583,397,342,332,346,357,373,392,425,455,456,485,514,513,507,499,487,502,518,523,543,533,518,466,424,448,447,479,496,501,495,455,419,419,430,422,421,410,400,400,393,387,402,415,415,415,425,435,437,429,441,443,450,446,430,426,420,429,437,418,379,382,367,373,401,481,534,537,536,547,492,438,423,420,421,433,467,487,470,417,441,424,424,447,453,417,413,421,427,437,440,431,423,437,435,436,415,415,415,425,415,400,405,400,395,390,392,384,399,380,372,370,376,371,374,383,383,376,358,354,390,385,380,389,398,389,383,379,374,368,371,373,368,379,386,397,385,375,359,371,373,383,404,405,405,399,390,401,420,434,438,435,435,433,433,426,407,387,381,377,379,384,383,391,341,361,372,376,422,429,394,374,379,390,400,397,391,385,378,373,365,356,347,331,307,300,308,315,313,303,312,321,304,302,319,312,300,299,298,313,334,356,357,328,332,328,322,316,320,329,336,335,335,332,328,332,335,333,320,304,294,297,297,291,289,294,297,302,298,287,313,310,322,338,337,343,329,324,312,312,335,360,364,343,323,347,374,351,349,335,351,336,334,352,349,328,321,329,336,337,337,337,326,318,322,324,326,321,313,308,301,292,292,295,301,307,299,292,294,300,307,306,312,319,316,308,306,313,313,312,311,309,314,324,335,336,338,337,331,329,330,329,318,339,355,345,343,347,355,369,376,369,361,364,366,351,353,355,355,353,347,343,330,324,324,316,311,310,312,314,311,310,319,329,330,321,316,319,321,324,330,329,329,329,323,317,316,318,329,314,321,328,318,319,325,331,337,343,355,364,373,383,377,383,373,381,392,375,364,357,365,379,355,347,337,330,337,318,313,323,330,337,345,357,369,374,373,363,355,353,359,365,363,359,363,371,375,366,357,363,371,372,372],[835,838,1126,973,494,334,296,276,310,347,441,553,586,595,618,1002,1504,944,610,475,438,427,419,442,397,389,391,379,414,468,419,328,342,547,1150,1394,1546,1434,830,583,482,546,548,445,383,338,307,315,341,384,439,482,466,454,429,341,353,372,345,311,300,279,262,251,263,288,260,258,269,327,379,408,592,931,535,425,422,552,1124,1776,1404,1210,1588,1704,1472,1352,1400,1900,1804,1986,1732,1028,684,560,766,745,1020,1116,1005,749,570,618,889,540,394,731,1110,1150,777,724,1110,886,441,415,419,419,494,451,507,467,485,531,626,612,725,922,846,594,438,637,702,635,521,625,691,821,764,810,849,703,661,559,498,684,664,425,492,564,605,540,475,602,686,913,606,372,366,305,287,301,309,383,309,258,336,362,480,620,619,435,312,314,357,413,402,367,388,402,346,426,1048,1396,886,485,488,455,634,970,967,1176,1212,1226,1454,1424,1350,1598,1802,1328,684,652,675,612,929,860,1092,1214,1588,1924,1852,1466,1290,1140,1344,1430,1278,1023,1292,1848,1782,1144,882,637,535,847,1238,1356,1256,1310,1458,1610,1570,995,440,446,623,937,1126,1170,1026,703,417,393,436,466,487,481,541,888,930,878,893,908,782,943,1274,1376,1272,1344,1486,1444,1540,1246,828,664,576,690,655,639,910,1196,1404,1056,1166,1584,1794,1622,1448,1346,1166,1212,1520,1640,1726,1820,1820,1810,1802,1600,1448,1376,1230,1166,1194,1256,1230,1158,932,794,1100,1412,1418,1382,1628,1676,1528,1274,1386,1454,1302,1362,1124,869,1100,1088,1248,1654,1490,655,1210,2214,1422,293,373,552,668,620,644,667,620,636,688,1036,1278,2322,2578,2288,1848,879,395,297,309,305,308,459,1136,1360,1100,861,1110,1106,1130,1326,1198,1154,860,916,818,490,330,341,724,1306,1766,2004,1652,1160,1356,1228,1524,1340,702,843,1180,1456,1650,1448,1808,1900,1544,2050,2170,1450,675,592,642,949,1116,1234,880,1122,1820,1500,959,868,664,609,779,890,1272,1472,1268,1218,951,1092,1328,1236,1372,1598,1466,992,1098,947,1011,979,757,949,867,581,407,462,500,582,698,492,537,935,1380,989,863,767,567,495,731,1362,1548,1052,695,542,596,542,594,498,450,406,404,489,501,520,573,594,629,650,595,681,979,1316,1542,1676,1692,1338,1282,1442,1616,1462,1378,1426,1130,1232,1254,1592,1438,2012,1202,899,1200,1338,1168,814,908,979,940,1970,1614,1420,1466,1534,1382,1348,1204,1060,1152,1170,1074,879,684,999,1184,1023,986,1216,1340,991,623,849,859,539,578,598,550,493,382,491,549,582,735,975,1114,850,784,857,533,436,565,860,701,644,615,840,1136,1308,1420,1500,1150,745,980,1192,1300,1034,1022,1082,1042,1058,875,839,788,695,709,573,711,968,1066,875,744,1166,1772,1422,818,1128,1262,814,747,590,602,828,1226,1476,1138,1234,1400,878,611,481,397,525,774,1222,1626,1604,1514,1482,1148,1302,813,687,803,673,673,621,814,890,814,1226,1346,1132,1090,1062,1036,974,1130,1170,1090,992,1098,1526,1576,1338,788,1028,1138,670,857,554,443,455,466,842,1202,1378,1478,1530,1422,1278,1394,1496,1102,976,1196,1416,1156,777,871,996,1046,1038,908,1340,1578,1658,1644,2692,2576,1456,1064,1072,1028,1010,1084,1290,1292,944,1118,1458,1760,1968,1658,1396,1326,1314,1382,1202,597,580,842,1128,1212,835,605,888,1332,1510,1152,1058,1110,975,741,743,1262,1558,1522,1370,1522,1720,1626,1356,1126,733,783,937,970,1290,1264,1214,1272,1776,1400,1154,936,1542,2212,1986,1624,1670,1650,1778,1366,1300,1582,1264,1196,1188,1056,1178,1142,1152,1288,1248,1196,1034,1019,1232,1266,1538,1322,982,979,896,744,730,971,1288,1288,1272,1278,1418,1212,1042,1026,1084,1240,1230,1248,1214,1296,1502,1464,1044,1252,1296,772,1050,941,1078,1276,1222,1682,1998,1758,1312,1322,1082,841,841,987,1013,992,569,317,305,405,500,455,473,754,658,390,922,799,653,731,561,406,356,351,429,405,437,951,1632,2288,1218,505,539,542,675,1001,1208,1214,1122,846,786,750,811,887,1226,1206,1070,727,723,1006,1104,1050,1184,1316,1344,1138,915,1144,982,1017,1044,950,715,456,661,1006,935,803,1030,1310,1316,1280,1366,1378,1256,1388,1420,1372,1428,1344,1266,1380,1438,1518,1498,1504,1482,1392,1560,1388,1282,1314,1318,1606,1896,1660,1218,1474,1368,1294,1290,1340,1356,1350,1318,1184,1232,1380,1494,1408,1400,1316,1304,1406,1578,1438,1412,1400,1440,1434,1296,1152,1128,827,564,629,807,1054,1060,1036,822,896,1248,1302,1080,1088,987,829,809,769,778,1094,1464,1454,1386,1608,1682,1532,1616,1808,1474,1266,1482,1450,1462,1302,1028,901,963,945,969,1052,1306,1438,1250,1018,871,1023,1334,1334,1114,732,829,1238,1482,1444,1414,1366,1230,1420,1444,1254,1096,865,1204,1156,1328,1194,1042,1194,1322,1126,1094,1468,1516,1506,1448,1250,901,1106,1156,1314,1204,739,681,948,977,874,660,842,1138,1404,1334,1264,1266,1494,1242,910,966,1034,1156,1824,1924,1766,1390,937,1036,1180,1316,1066,1036,1308,913,568,505,586,760,522,475,453,796,1100,1274,1194,835,836,1216,1268,1504,1422,1148,1688,1040,541,598,698,709,672,517,393,388,457,477,386,536,920,765,863,664,579,455,336,422,1076,1582,1150,696,801,554,514,762,586,428,391,387,390,338,570,886,632,540,454,889,1086,618,337,357,313,396,404,368,352,305,340,446,405,367,444,350,480,927,1232,1054,939,810,396,401,609,1100,916,513,414,298,487,818,839,1006,1626,1490,1028,1606,1306,760,763,1378,1274,722,578,477,823,852,834,966,885,694,778,1066,1130,1186,1008,656,946,988,594,631,1310,1528,832,596,720,1052,1021,404,265,281,310,433,786,1180,1422,1488,1048,730,990,952,568,777,720,1003,670,409,717,918,695,767,930,718,543,350,411,730,927,1510,1556,1180,1362,1722,1688,1650,1460,1210,1098,1140,1210,1088,952,804,813,830,1052,974,631,723,784,683,765,883,1216,1310,971,684,806,879,885,709,466,374,343,373,674,733,727,689,678,954,1005,1016,1036,1308,1110,495,437,423,444,421,403,424,415,376,358,367,389,389,393,419,405,395,419,542,509,551,625,493,397,398,398,400,426,495,565,609,646,653,653,687,669,547,375,317,579,919,907,906,1122,700,440,397,513,799,716,622,713,724,558,468,549,659,703,654,520,542,470,462,435,467,396,352,374,388,350,340,375,435,407,375,368,356,330,307,283,253,260,255,250,268,289,320,342,327,294,380,443,353,289,299,296,315,323,312,343,600,876,920,1060,610,335,321,333,420,408,380,350,359,352,343,370,397,439,475,452,471,508,518,508,499,491,497,516,523,525,527,503,491,440,444,450,465,501,514,492,452,420,417,426,426,405,406,401,392,401,379,385,398,402,410,421,427,443,419,443,446,449,419,422,432,419,416,437,423,387,388,375,386,402,499,532,549,549,539,510,462,443,436,433,441,472,472,467,430,443,432,425,438,440,418,414,415,423,436,448,435,422,424,425,440,430,421,412,409,415,411,409,401,397,389,381,371,383,388,366,369,378,380,387,387,373,361,376,367,381,380,384,395,397,393,395,390,374,372,367,370,358,364,396,391,385,383,365,359,364,386,409,426,431,410,384,401,407,432,431,429,429,433,440,429,394,382,382,377,379,379,384,388,369,362,359,373,416,444,419,387,383,389,398,398,394,386,384,382,378,373,366,356,342,331,313,304,321,305,312,316,321,305,300,303,299,300,299,327,350,372,366,344,344,342,325,322,318,320,327,336,333,328,333,342,336,330,321,317,312,302,294,296,302,302,296,299,303,294,309,317,320,319,319,344,354,331,300,299,333,359,351,343,329,347,364,370,366,343,337,334,333,339,331,325,324,331,336,343,347,339,325,322,328,330,329,321,316,310,298,285,285,285,293,293,292,290,298,305,313,319,325,321,317,317,323,314,305,304,304,310,317,324,325,336,353,342,342,335,331,331,319,336,349,343,350,353,352,364,368,364,361,361,367,364,361,364,357,351,349,338,334,343,327,314,310,304,307,313,311,310,317,318,329,329,317,323,321,323,323,322,322,337,327,323,318,319,322,314,311,311,313,323,323,331,339,348,355,359,377,385,385,381,375,375,386,373,368,368,357,365,342,333,334,329,333,321,312,314,318,325,343,357,367,373,367,359,355,365,365,359,357,357,355,363,372,377,381,374,372,374,374],[797,902,1042,919,885,672,374,297,361,461,723,967,889,628,768,1840,2552,1208,983,630,480,473,477,467,461,452,434,433,479,533,481,368,364,652,1310,1550,1444,1084,631,464,462,486,416,358,338,338,331,307,360,410,401,391,472,684,615,430,436,371,396,452,497,467,326,260,262,282,265,272,270,320,412,487,1260,2130,1206,989,616,499,399,672,648,1068,1818,1776,1462,1478,1366,1478,1222,1590,1622,2006,1310,633,567,780,994,1226,1346,836,551,615,655,342,390,597,698,999,954,980,1280,1176,953,681,456,438,567,831,1118,1302,1448,1502,1458,1112,1078,1188,1078,716,593,752,862,734,673,628,600,713,609,645,652,541,436,397,411,462,550,641,576,554,506,453,426,416,437,445,309,292,273,265,382,415,317,355,295,303,377,382,341,512,597,340,264,320,297,314,345,336,364,392,368,361,789,969,567,371,477,526,900,1328,1654,2514,2080,1492,1318,1338,1508,1876,1944,1450,1118,1162,1138,1174,1184,880,1282,1388,1058,1240,1578,1402,1028,716,824,977,1112,1136,1192,1496,1258,786,655,477,336,527,966,1430,1456,1310,1364,1362,928,561,331,310,304,513,778,737,812,947,845,830,621,497,596,534,552,717,705,847,1128,1136,1332,1260,738,1210,1598,1432,1522,1408,1302,1180,1202,1026,695,906,1058,800,864,1004,1200,1042,1376,1518,1036,1034,1244,1250,1174,1180,1268,1434,1506,1350,1630,1802,1782,1698,1790,1714,1438,1226,1106,1232,1320,1206,1122,984,1118,1410,1632,1566,1574,1742,1542,1354,1344,1278,1454,1936,1794,1172,1042,924,1156,1702,1804,991,648,1538,1558,385,371,430,438,479,499,483,419,442,448,504,697,1094,1742,2220,1015,585,467,484,442,506,670,1040,1336,1130,948,1188,1262,1116,1260,1310,1478,1220,995,1094,967,921,706,613,884,1348,1472,1430,1500,1270,1476,911,1028,860,452,426,433,558,624,714,1324,1592,1560,1852,1792,1005,572,550,756,1618,1736,1306,1064,1244,1462,1230,844,613,903,905,932,1106,1048,1148,1148,1102,1334,1586,1560,1450,1340,1478,1354,1132,1050,740,689,651,501,625,828,937,1021,883,495,576,713,680,830,1070,1308,1194,1146,912,786,789,673,887,1354,1316,771,664,662,966,1076,758,553,460,391,414,467,529,591,612,594,615,599,638,652,929,1316,1502,1692,1696,1492,1268,1384,1356,1450,1418,1344,1336,1180,1576,1356,1204,1288,1300,1230,1232,1210,631,829,1028,1048,1526,1322,1176,1306,1580,1570,1190,1050,1222,1296,1156,1306,963,1064,1246,1394,1262,1362,1310,1020,838,545,670,717,648,890,1042,770,672,519,673,802,778,865,1130,1234,808,519,728,517,448,678,673,517,681,731,723,952,1252,1412,1646,1548,1008,643,960,1236,1656,965,605,905,949,946,957,741,762,681,705,1058,1276,1332,1132,1404,1478,1542,1198,1086,1788,1582,917,1174,1100,1010,1104,1122,1378,1470,1404,1214,801,499,394,356,374,567,1084,1642,1554,1586,1440,1498,1360,971,1005,850,621,681,664,795,789,967,1172,1332,1260,1298,1136,1019,1016,1344,1570,1156,963,1042,991,971,1012,619,546,505,540,633,451,459,494,471,881,1412,1384,1190,1282,1272,1178,1198,1290,1092,887,1106,1144,905,899,1050,994,1038,803,766,1216,1240,1406,1762,2352,1970,1346,1216,1426,1352,1016,1090,1344,1166,1086,1256,1196,1102,1290,1554,1418,1192,1086,1021,833,648,652,878,1007,1036,886,867,984,1276,1226,822,818,1050,1066,1112,970,1188,1162,1388,1380,1772,2026,1614,1324,1040,689,772,707,648,1194,1130,1026,932,978,1116,1074,1078,1460,1796,1836,1782,1694,1760,1506,1158,1472,1410,1046,1032,1298,1344,972,745,1036,1242,1130,1208,1042,1112,1380,1448,1632,1276,1194,1288,1030,667,714,775,1056,1270,1226,1356,1424,1442,1476,1338,1264,1070,1166,1462,1340,1348,1356,1180,739,1174,1204,831,1054,1088,1048,996,1188,1662,1798,1532,1170,1356,1354,1140,752,451,628,628,343,318,339,371,444,537,506,520,395,427,927,793,486,343,318,365,400,661,987,801,543,755,1066,1486,803,396,452,672,1024,1166,1180,1098,1066,892,860,671,832,1048,1236,1218,1314,1068,951,1152,1290,1250,1386,1498,1278,905,963,1152,1206,1138,902,888,1008,1010,1064,1096,1074,970,1062,1422,1290,1406,1398,1312,1408,1436,1318,1192,1170,1214,1306,1314,1410,1528,1562,1504,1588,1196,1390,1514,1376,1312,1288,1368,1660,1520,1354,1510,1482,1362,1350,1400,1322,1360,1384,1250,947,1182,1578,1482,1460,1402,1246,1148,1394,1556,1480,1444,1422,1618,1684,1374,1532,1256,1026,1017,1076,1122,1050,1002,827,943,1494,1674,1434,1404,1244,1086,1094,1120,1028,1292,1500,1520,1400,1478,1480,1526,1850,1850,1462,1574,1632,1268,1246,1328,1336,1506,1498,1316,1274,1290,1194,1008,940,904,763,1100,1084,1050,1230,846,681,985,1312,1284,1404,1544,1560,1394,1184,1170,1062,916,988,880,1116,1368,1328,1152,1176,1250,1110,1458,1458,1384,1192,1208,1220,1282,1160,1272,1426,1250,1326,1462,1328,916,1024,1218,1078,1130,1216,1300,1316,1262,1358,1348,1156,978,1284,1426,1510,1256,1124,1156,1196,1118,1422,1572,1262,1064,686,802,358,277,336,491,908,915,844,929,935,943,640,890,1664,1176,1204,1260,1296,1302,1132,1006,965,995,1046,1084,959,796,763,858,664,532,698,727,736,776,631,500,377,317,357,735,746,441,583,529,335,484,680,522,387,397,406,341,306,723,1316,833,398,433,899,1430,977,362,294,354,361,265,320,339,361,312,543,570,389,369,491,616,740,875,872,755,693,474,455,713,977,741,450,372,355,489,587,522,681,1188,1098,765,1634,1362,912,570,573,606,647,756,805,810,747,977,1204,708,537,710,1268,1698,1084,444,545,797,617,309,417,901,1242,671,662,803,963,774,407,372,466,406,420,874,1284,1472,1490,1112,736,952,1206,588,676,819,840,537,404,756,738,349,456,729,660,664,660,703,695,883,1290,1298,1120,1472,1864,1528,1558,1572,1328,1140,1194,1005,935,871,856,1166,1188,1290,1228,718,325,319,397,675,797,964,1084,976,959,888,713,721,656,623,529,527,546,753,789,735,842,827,670,515,1002,1554,1618,1208,527,458,412,321,355,451,539,532,468,384,362,410,465,478,514,562,601,541,582,664,767,765,549,402,379,365,437,593,667,692,707,700,701,697,704,716,604,428,293,398,626,558,486,753,501,362,408,495,622,642,691,650,552,463,451,567,634,671,516,576,649,540,433,390,419,430,385,381,359,321,358,620,769,547,401,375,331,316,378,340,260,255,255,257,280,325,373,546,525,399,405,410,332,294,290,384,526,379,292,306,428,605,571,516,561,581,465,438,507,575,439,316,319,320,314,363,404,441,482,468,477,506,518,518,500,503,506,516,519,511,520,505,502,454,440,453,464,484,466,443,445,431,419,423,438,417,402,404,401,385,380,398,400,408,415,425,425,439,422,428,437,451,438,434,440,420,422,434,420,413,389,387,396,405,481,508,530,549,540,508,478,465,449,444,437,487,484,466,456,436,429,433,425,440,422,409,417,422,432,448,439,425,425,435,444,431,422,406,397,404,415,409,404,392,383,382,375,371,382,380,364,358,368,371,376,381,380,380,376,374,379,395,398,397,404,402,390,370,378,374,375,367,367,382,379,369,375,367,359,365,409,455,456,459,422,399,379,412,457,453,439,443,434,433,422,416,409,394,381,379,378,384,384,378,373,368,362,397,432,422,392,398,398,394,391,391,389,390,387,389,397,384,376,372,365,321,312,324,318,315,311,310,305,311,304,300,295,311,342,368,378,372,350,359,363,337,324,323,320,315,342,334,329,333,339,332,322,327,321,304,302,298,302,296,286,291,295,299,300,308,316,317,321,324,336,351,337,294,292,305,329,337,343,336,348,366,364,357,347,342,334,329,323,324,327,323,328,335,339,348,345,329,323,322,323,343,322,318,309,303,296,298,294,293,299,301,295,293,301,309,312,313,312,312,311,311,307,312,318,324,318,317,323,321,327,353,340,347,339,329,331,331,339,343,343,345,343,361,355,368,375,361,361,359,364,368,352,343,350,343,340,350,340,328,320,311,305,305,310,313,321,325,317,322,329,316,317,315,331,324,324,327,317,312,315,311,313,310,304,305,305,315,324,316,333,343,343,364,376,376,377,372,376,381,375,370,368,370,364,352,356,349,343,335,329,329,321,313,307,317,329,342,364,368,368,369,364,367,376,365,360,354,355,355,360,365,365,363,360,363,367,372],[830,1152,1068,1018,941,941,765,593,564,849,1166,1416,1146,800,1256,1908,1756,1408,1214,783,511,509,548,515,462,407,424,463,521,527,499,463,394,454,819,1226,1350,941,484,425,519,577,400,324,324,360,325,266,313,379,343,340,615,854,667,464,436,400,380,530,692,689,540,337,264,284,248,263,280,400,710,1058,2014,2116,1868,1920,1540,1030,604,428,386,671,1046,1094,1578,2018,1606,1648,1484,1302,1560,1908,1098,622,866,1098,1298,1866,1552,1346,709,617,667,605,597,689,761,951,1036,1110,1400,1504,1634,1218,785,487,546,1056,1506,1556,1416,1284,1074,953,923,697,840,730,932,868,914,846,851,847,797,795,1028,935,556,430,412,393,398,433,568,568,605,533,440,437,471,445,355,286,281,280,271,276,399,355,321,412,522,450,420,458,423,501,445,329,320,295,305,337,361,355,422,563,557,450,467,459,446,647,844,802,962,1092,1662,1946,1674,1410,1434,1878,1808,1846,1964,1572,1258,1032,800,893,1076,1300,1640,1686,1396,1472,1282,827,669,649,575,768,1214,1394,1462,1232,890,761,694,464,450,618,1166,1488,1510,1500,1436,1042,694,517,445,350,376,692,919,1086,1244,1434,1350,1156,733,515,590,513,510,727,714,862,1506,1494,1620,1540,838,1050,1234,1072,1166,1308,1384,1206,1240,1058,838,1224,1632,948,932,1062,923,1013,1410,1438,1188,1064,1238,1482,1260,1348,1442,1466,1308,1350,1530,1446,1416,1592,1940,1862,1556,1402,1312,1298,1330,1364,1314,1054,1056,1272,1638,1634,1726,1764,1454,1390,1208,1174,1300,1628,1790,1544,1242,1378,1686,1628,1530,1148,525,1078,1644,525,352,325,321,364,333,321,365,376,365,421,614,783,1006,1078,877,741,673,1058,935,784,686,849,1234,1220,1042,1344,1386,1126,1092,1026,1440,996,630,746,1158,1326,1154,968,1130,1512,1574,1748,1704,1192,928,844,582,393,367,412,464,433,343,351,474,966,2002,1982,1454,708,396,348,604,1560,1692,855,620,565,584,942,967,858,998,1104,1310,1432,1394,1462,1032,754,1230,1476,1506,1588,1706,1900,1212,1058,928,623,542,566,467,389,805,1320,1608,1100,534,542,658,785,889,1016,1342,1582,1226,757,875,984,698,717,887,920,519,427,425,647,811,741,651,675,535,452,444,482,482,541,545,637,727,788,743,789,940,1246,1518,1700,1752,1534,1260,1324,1374,1332,1302,1346,1316,1274,1196,1418,1622,1726,1578,1396,1096,579,785,1104,1202,1254,1150,1004,1090,1262,1310,1232,1186,1334,1402,1264,1372,988,1098,1260,1176,1108,1570,1512,1094,1160,886,1034,1208,926,862,1064,953,835,606,632,742,922,1188,1086,1086,919,786,1278,875,559,661,582,511,554,596,626,706,1072,1526,1600,1360,784,639,1148,1700,1560,655,581,792,851,784,951,843,1018,1098,1030,963,1054,1108,853,929,1358,1410,1294,1496,1374,1190,879,950,1003,1019,1250,1174,1222,1284,1272,1138,830,591,412,360,281,321,523,918,975,1072,1230,1428,1246,1076,973,613,724,822,789,901,1206,1336,963,1030,925,933,943,940,875,910,1024,1312,1446,1260,968,651,752,601,440,400,412,438,351,477,747,601,789,1216,1302,1098,1124,1114,1013,1142,1406,1202,968,1102,1140,1114,1210,1346,1026,810,633,708,1062,1128,1642,2322,1888,1762,1630,1510,1646,1600,1340,1200,1164,1260,1326,1162,1011,885,1206,1588,1418,1320,1208,1104,1090,1072,1196,1306,1076,688,688,982,1178,1106,1044,775,636,960,1144,1232,1098,1354,1604,1564,1446,1680,1648,1268,757,572,601,516,469,686,1102,1066,901,1024,1194,1164,1050,1160,1470,1686,1754,1714,1650,1686,1218,1100,1444,1340,1132,1146,1220,1124,810,715,608,960,1292,1400,1116,1156,1214,1216,1170,1170,1146,1296,1188,991,940,975,1340,1318,1092,1066,1058,1258,1438,1528,1526,1006,1170,1388,908,1130,1352,1268,1122,1288,1028,669,852,1120,1062,1032,1026,1166,1072,991,1368,1310,892,979,1030,722,432,372,301,314,346,452,450,616,654,847,860,759,849,784,780,415,335,312,499,958,1344,1216,659,447,623,965,1018,752,669,949,1194,1108,1300,1006,938,1042,933,630,758,1110,1302,1370,1360,1048,911,1222,1332,1174,1224,1436,1232,1164,1058,1144,1172,913,733,922,1132,1236,1418,1238,1204,1280,1296,1428,1378,1504,1484,1464,1460,1312,1208,1400,1418,1466,1504,1424,1304,1348,1278,1266,1324,1312,1404,1420,1394,1292,1258,1176,1282,1262,1286,1286,1346,1340,1324,1322,1376,1364,1344,1224,1258,1466,1524,1460,1358,1356,1158,1054,1302,1544,1296,1204,1470,1650,1832,1464,1412,1374,1572,1194,985,996,996,1020,871,866,1446,1692,1428,1338,1472,1606,1558,1400,1338,1330,1338,1334,1356,1454,1484,1666,1706,1446,1414,1590,1338,1362,1534,1506,1576,1652,1530,1406,1498,1334,1012,868,899,1062,872,822,882,1218,1470,1170,1078,1432,1560,1448,1610,1040,1192,1152,1198,1224,1228,1328,1122,673,750,1308,1334,1188,1284,1260,938,1214,1504,1352,1148,1572,1870,1540,1292,1246,1362,1520,1496,1376,1588,1194,1001,1350,1280,945,952,1220,1346,1262,1226,1152,1226,1124,1296,1270,1406,1220,1206,1338,1282,1096,1494,1938,1262,700,1424,1616,611,331,481,744,1194,1406,1142,979,1130,1086,722,1414,1678,783,724,785,915,1014,998,842,1015,1584,1188,1032,1216,1298,1016,886,921,879,961,1096,1180,971,562,657,706,655,420,517,411,454,670,584,435,558,565,335,318,435,420,323,360,1224,1918,1120,400,747,1388,1598,1288,698,362,368,310,280,393,688,775,496,446,597,575,515,570,659,594,473,606,797,807,769,468,758,829,520,402,370,502,741,809,721,1072,1556,1554,930,1152,1096,924,689,583,669,835,1036,1144,1278,747,874,1304,655,545,714,885,893,529,319,357,361,312,311,399,653,1120,1200,1086,769,589,489,382,433,551,445,305,553,1178,1640,2098,1482,1104,867,804,583,778,1023,933,683,448,501,587,525,508,814,874,1116,1374,1310,1096,1060,1136,1166,1090,1104,1272,1272,1376,1584,1532,1310,1054,790,1140,1054,888,1138,1160,1378,1252,810,634,736,830,1026,987,1040,1058,810,830,778,727,793,769,703,590,608,563,554,576,719,886,950,733,429,656,1012,1140,1288,626,365,413,350,314,417,558,657,589,502,432,443,551,576,599,675,663,617,651,664,518,398,329,309,308,319,432,656,716,723,731,717,722,722,715,700,575,400,297,327,415,417,371,328,285,547,673,557,549,662,543,425,421,442,386,387,421,447,452,476,444,448,424,486,676,629,469,404,381,352,370,575,585,506,430,376,325,297,327,336,276,255,261,257,292,335,429,692,608,409,308,301,313,309,312,486,654,414,296,274,298,362,318,346,714,875,634,505,636,766,458,297,276,273,303,387,420,441,479,474,464,477,503,515,495,505,493,504,513,510,518,513,498,446,428,442,462,479,443,428,440,433,420,409,426,421,395,401,411,389,386,401,393,406,422,418,422,431,431,427,428,440,442,436,448,428,420,426,414,422,396,391,396,417,474,509,530,558,538,517,501,487,466,454,451,456,475,462,431,429,427,425,435,448,429,409,412,417,427,439,439,431,432,432,431,421,423,404,397,401,409,408,401,389,378,376,371,383,382,375,364,368,371,370,376,380,384,375,372,368,366,378,380,393,406,391,379,372,358,357,354,352,349,361,382,379,373,359,388,384,406,458,451,453,441,416,404,441,463,443,431,440,441,445,439,420,396,398,381,368,375,379,387,384,376,371,372,385,406,423,405,401,397,392,389,382,382,398,402,385,406,395,380,378,377,338,329,321,323,325,325,318,321,323,316,299,321,318,330,354,386,389,352,363,370,339,327,322,320,312,335,336,329,337,335,328,327,322,308,317,307,303,290,285,296,286,290,299,308,309,313,319,328,338,348,347,335,292,295,309,319,328,336,347,361,357,357,355,342,343,333,331,334,343,340,328,331,342,343,345,340,333,331,331,325,340,318,323,307,303,295,292,291,294,304,304,295,291,293,292,298,306,314,312,313,314,312,309,304,306,305,300,334,329,329,340,334,352,340,327,329,333,339,347,357,345,350,357,349,370,361,361,372,361,355,360,349,337,350,340,335,336,335,334,336,329,309,305,307,308,313,317,318,322,324,324,327,325,315,323,331,331,322,325,321,316,311,314,310,312,315,318,324,312,324,343,354,357,354,374,376,356,370,380,376,370,368,368,361,358,354,349,349,337,329,323,316,310,307,315,325,343,359,369,381,386,368,361,383,366,361,354,352,348,351,355,361,369,373,365,360,369],[1060,1190,1028,946,880,753,777,1078,1568,1560,1198,1330,1446,1344,1630,1520,1390,1060,890,865,653,502,511,561,442,309,389,426,491,487,440,405,357,305,508,874,943,681,430,445,588,474,338,328,311,322,300,259,301,343,315,383,613,783,516,374,385,401,531,680,692,724,724,481,311,307,252,273,329,482,995,1530,2030,1852,2172,2402,2314,1908,1278,836,576,435,393,460,938,941,1286,1930,1776,1378,1440,1416,837,559,756,1256,2364,2216,1332,1162,933,1090,1508,1306,761,720,827,915,1088,1009,1012,793,785,1066,1110,796,605,740,915,969,1032,907,653,895,1164,1858,1932,1198,995,1010,1112,1021,1066,1188,887,960,1688,1160,494,438,505,469,419,445,568,592,578,591,631,554,504,477,366,301,291,310,317,312,311,290,346,545,637,558,605,741,915,840,626,500,382,327,291,308,360,352,470,734,778,508,376,404,412,580,645,650,770,791,1176,1476,1372,1142,1572,2144,1766,1666,1654,1192,1016,1005,763,935,1402,1612,1516,1186,1001,1128,759,570,608,607,573,380,636,1086,996,680,768,1005,949,810,643,647,948,1184,1340,1560,1258,1009,942,863,739,339,367,736,1464,1462,1272,1244,1174,1206,811,530,669,730,835,1286,1238,878,1560,1772,1448,1388,1080,1100,1314,1308,1218,1616,1750,1510,1340,1156,1198,1408,1086,916,1172,1390,1478,1356,1322,1512,1428,1376,1414,1702,1552,1432,1296,1230,1134,1442,1434,1370,1422,1416,1474,1412,1638,1694,1766,1530,1436,1496,1412,1350,1378,1550,1550,1362,1412,1566,1322,1328,1288,1472,1406,1476,1604,1776,1490,1644,1928,1564,1572,1500,837,666,785,430,400,419,476,503,500,535,590,705,658,969,1108,1296,1454,1302,849,625,988,1436,1560,1284,814,580,985,1390,1450,1276,1210,1066,875,558,651,646,531,850,1358,1142,962,1005,1144,1260,1766,1898,1566,1034,741,709,578,487,645,862,745,550,471,478,615,886,1394,1272,831,484,386,339,504,849,886,907,974,539,659,879,1312,1256,908,1086,1650,1484,1338,1508,1232,1112,1250,1274,1556,1422,1918,1986,1268,1176,946,565,556,620,626,911,803,937,1108,835,509,464,617,608,567,1036,1742,1808,1246,758,828,929,829,711,909,719,422,444,456,431,453,434,560,685,531,520,512,477,498,524,445,578,810,938,1086,1048,835,913,1260,1542,1666,1776,1544,1260,1350,1310,1526,2002,1812,1618,1182,1154,1366,1538,1498,1516,974,535,794,1146,1438,1494,916,735,799,825,1174,1388,1246,1246,1180,1188,1278,1148,1152,1298,1188,1278,1538,1246,1330,1446,1034,1344,1290,807,949,1256,1466,1334,827,589,588,844,1184,1138,1004,1268,1664,1706,1120,783,607,464,586,613,494,498,542,706,1228,1328,1246,1018,822,1066,1532,1015,505,481,686,1014,1106,1246,1110,1046,1078,837,642,692,800,756,961,1518,1284,1212,1214,1302,1130,783,606,696,937,1230,1302,1208,1040,1074,1116,1120,1190,796,858,793,532,648,894,855,877,1092,1290,1026,898,832,758,1226,967,753,691,1030,932,705,757,904,1020,988,1100,1072,1156,1266,1300,1426,1006,968,917,1068,1026,827,705,620,407,346,711,832,680,788,912,1138,1128,973,761,805,1120,1232,954,805,906,1086,1046,1002,926,585,578,609,707,999,1214,2004,2788,1886,1568,1516,1562,1736,1684,1570,1354,1186,1456,1554,1242,1158,1280,1418,1578,1544,1296,1180,1068,1126,1188,1312,1346,1009,479,540,832,1072,1016,1150,996,774,1090,1138,1142,1306,1554,1734,1532,1380,1434,1358,1374,622,413,708,839,691,988,1302,1030,904,1154,1284,1354,1360,1408,1786,1654,1472,1588,1620,1458,1170,1296,1444,1322,1376,1306,1158,1368,1302,1362,864,679,1170,1344,1344,1370,1266,1056,998,1054,1568,1646,1114,1060,1166,1626,1666,1232,1174,1140,1058,1070,1276,1572,1324,1130,1320,1390,1144,1334,1296,1232,1316,1264,976,834,946,1274,1108,1120,1026,807,730,1176,1478,1138,828,760,735,1030,824,450,331,330,372,453,451,601,731,1042,1086,957,976,698,647,363,343,376,367,476,905,896,529,400,659,1134,1498,1160,1110,1390,1352,1166,1206,1032,1052,1146,1144,1088,971,1042,1274,1254,1242,987,914,1428,1310,1300,1292,1130,1148,1150,918,729,821,815,600,875,1090,1352,1198,1028,1048,1294,1416,1404,1362,1470,1542,1582,1338,1292,1280,1306,1218,1270,1420,1442,1378,1434,1344,1276,1366,1448,1300,1252,1450,1500,1440,1458,1356,1252,1248,1294,1338,1296,1284,1396,1394,1338,1370,1180,1310,1372,1288,1380,1450,1350,1326,1308,1256,1254,1240,1870,1562,1478,1416,1246,1226,1492,1422,1056,946,1021,982,968,1018,974,943,1294,1290,1248,1478,1578,1274,1072,1400,1534,1318,1264,1350,1366,1290,1560,1348,1154,1216,1516,1316,1348,1412,1550,1620,1424,1478,1318,1160,1208,1114,949,918,1238,1146,1054,1224,1324,1280,1172,1246,1478,1638,1568,1542,913,905,1282,1360,1190,1144,1224,1264,1004,949,955,1003,1090,1102,999,734,943,1060,844,1062,1556,1376,1122,1230,1388,1364,1632,1600,1416,1656,1316,950,1154,1288,1048,966,1322,1452,1278,1146,1124,1390,1368,1368,1342,1336,1406,1384,1390,1222,1010,1246,1338,1116,1094,1700,1486,1058,739,779,935,1096,1244,921,932,1088,1256,1048,1092,1102,811,616,611,612,871,1304,966,1208,1758,890,919,1176,1158,1046,1318,1232,893,1034,985,778,764,532,527,469,411,492,713,1036,1358,1346,1188,1116,950,775,597,651,689,559,511,476,832,1270,899,412,952,1392,1244,1360,1148,542,379,393,379,521,1322,1888,1150,416,468,575,492,306,540,874,569,530,987,940,647,529,884,728,413,406,293,364,739,919,1154,1418,1610,1766,1322,1102,988,977,1028,954,1024,1028,1186,974,1192,755,656,657,404,667,738,587,586,410,340,435,543,644,828,1046,1196,1324,1302,1104,877,725,615,694,684,625,456,324,576,1378,1224,1418,1510,1160,762,651,572,752,1120,1188,1176,671,452,790,887,604,666,858,1366,1424,1060,1162,1144,991,966,1190,1102,1070,1150,1248,1490,1704,1586,1092,1158,1388,966,1000,1326,1306,1244,989,762,1046,1172,1162,1338,1240,1194,1096,797,705,735,992,735,775,929,631,687,627,507,534,664,782,784,681,461,379,443,595,1170,827,772,817,511,415,395,464,608,550,547,477,446,445,607,651,615,560,523,658,620,332,299,310,315,302,327,395,641,727,737,736,714,720,725,670,556,443,340,298,383,408,391,406,369,284,681,912,730,669,579,424,409,376,406,376,391,368,356,444,461,419,408,377,428,559,492,471,447,416,356,365,432,517,491,421,388,337,302,295,312,292,289,292,333,367,390,427,418,399,364,364,505,526,459,414,583,621,388,290,283,298,340,316,346,569,663,566,480,559,508,327,285,292,280,346,404,406,434,456,467,465,474,507,514,503,507,489,497,506,498,497,510,505,466,454,453,464,445,425,423,432,431,426,418,423,419,392,396,412,402,402,401,403,415,433,431,430,441,445,440,440,433,440,440,455,437,420,426,426,413,389,398,412,432,478,508,521,569,540,534,521,499,482,476,487,480,486,476,441,451,420,432,447,448,436,427,405,400,412,424,435,433,430,421,435,421,412,404,397,400,406,401,397,392,388,369,366,386,383,378,375,364,358,366,378,378,378,373,374,372,370,372,372,383,383,384,386,370,340,340,349,353,349,355,386,371,361,346,393,397,406,449,460,452,464,446,417,455,460,443,447,431,443,437,437,416,409,406,398,386,383,381,386,385,379,373,378,383,396,419,416,392,382,389,391,389,391,386,375,378,401,406,385,371,356,358,350,335,335,337,329,327,328,335,322,302,323,310,336,356,380,390,368,342,358,344,328,323,313,317,332,336,336,335,327,337,336,328,314,320,316,311,303,296,281,295,302,302,319,313,312,318,324,337,349,337,322,310,304,307,312,323,347,373,378,361,367,361,336,343,334,325,328,334,335,335,339,343,347,358,353,349,343,336,324,321,317,313,305,299,290,287,292,296,312,303,299,298,304,303,308,318,318,305,317,327,308,309,308,304,331,310,328,329,329,333,334,343,342,334,331,331,336,336,355,343,352,352,352,375,370,358,364,370,352,356,354,344,352,343,342,337,329,328,322,310,305,301,295,311,311,318,324,324,322,330,331,330,327,331,322,323,323,326,318,320,307,326,315,314,318,312,318,317,326,340,354,358,370,362,374,361,367,370,370,370,366,358,352,352,350,350,348,336,331,325,318,314,318,318,329,349,353,364,364,361,355,350,361,355,355,359,351,347,347,351,360,372,373,366,365,369],[1068,930,835,870,815,735,920,1066,1144,1104,819,1110,1032,1260,1422,1390,1108,894,1036,971,783,547,486,539,443,301,344,420,455,437,419,391,354,319,413,604,611,514,509,664,562,400,339,417,407,339,323,307,338,318,420,534,596,558,393,362,375,371,422,552,618,672,636,345,352,317,298,282,325,459,927,1364,1510,1554,1766,2152,2208,1604,1378,1780,1782,801,484,661,627,426,1000,1526,1914,1964,1656,1752,1458,1090,1292,1708,2778,1992,1400,1166,1156,1434,1716,1722,1023,742,802,952,1218,1070,706,441,445,977,1282,828,513,516,528,705,1102,1066,852,1062,1098,1954,1738,701,665,1015,1066,882,902,886,672,513,686,634,468,473,463,463,456,446,484,513,515,543,658,590,538,478,394,337,299,300,294,290,329,346,378,528,545,540,566,788,879,808,718,582,467,372,280,292,362,354,443,676,721,750,614,520,394,408,372,460,590,594,808,928,988,800,1152,1522,1730,1686,1152,977,976,1058,1210,1366,1538,1392,1152,1122,939,816,521,508,541,451,379,339,426,774,1028,987,1030,1208,1112,1290,931,873,998,1050,1246,1238,1154,1246,979,1078,863,373,527,1198,2112,1710,1504,1464,1500,1494,1232,1280,1348,1328,1058,1224,1106,866,1396,1616,1452,1404,1202,1078,1170,1136,1234,1572,1410,1284,1276,1532,1408,1124,803,971,1376,1578,1136,932,1222,1534,1478,1512,1296,1466,1752,1384,1078,1040,1094,1268,1378,1586,1546,1404,1352,1132,1484,1526,1560,1664,1714,1670,1520,1592,1924,2030,1632,1288,1322,1284,1342,1264,2462,2424,1516,1300,1572,1710,1168,1104,1256,1742,1746,1726,1366,1010,738,642,724,915,995,914,943,885,720,941,1208,1588,1472,1610,1614,1544,1016,673,1246,1600,1672,1376,975,544,701,1298,1508,1234,1100,1200,1068,882,662,495,553,827,1052,810,778,1080,1362,1450,1450,1696,1588,1152,1102,1124,775,658,985,1180,938,784,659,727,585,414,498,647,546,489,519,472,523,637,852,1748,2054,1142,861,1094,1650,1666,1034,1013,1598,1310,1510,1200,912,1424,1706,1340,979,1036,1602,1588,1152,1374,1132,844,501,521,893,1320,805,694,808,664,453,464,516,590,634,999,1362,1440,1042,725,708,863,691,673,875,633,410,507,634,552,468,402,475,866,967,762,503,443,520,473,423,519,660,913,1162,1186,988,733,807,1124,1490,1708,1756,1520,1390,1254,1720,2352,1594,1366,1052,670,707,1052,1406,1450,921,579,590,753,1486,1892,1476,1118,1138,833,1003,1148,1158,1212,1140,1007,1160,1244,1246,1472,1418,1460,1502,1108,1092,1122,937,1016,1078,972,1116,1600,1862,1340,858,717,585,918,1084,1074,1040,1272,1410,957,638,621,501,492,572,659,593,516,483,469,780,1150,1390,1208,895,996,1278,1050,816,686,647,1030,1390,1588,1328,1084,1018,830,773,860,979,1312,1426,1316,1248,1448,922,777,751,654,631,739,1058,1306,1278,1146,805,885,1024,805,886,1102,1346,1086,584,491,703,853,869,1130,1260,974,885,1144,1636,1170,789,797,736,910,927,765,940,1188,1188,1008,1150,1090,1398,1432,1344,1260,982,881,1100,1178,1310,1592,1592,1272,699,630,922,1056,988,888,1088,1250,1136,1023,871,891,948,1102,957,967,1013,1110,1108,1088,909,642,786,725,744,973,1288,2178,2444,1936,1212,998,1156,1434,1578,1662,1612,1566,1588,1562,1300,1142,1346,1470,1434,1224,1118,1144,1066,956,955,949,907,882,641,637,758,751,774,1140,1178,1013,1204,1190,1186,1470,1626,1516,1192,1456,1722,1636,1400,637,450,1120,1418,1178,1284,1334,1120,927,1096,1112,1306,1510,1642,1444,937,735,1124,1442,1126,1064,1282,849,892,1126,1166,978,1200,1676,1770,1322,1204,1194,1186,1696,1648,1364,1242,1216,818,763,850,1250,1258,1188,1788,1794,1198,1204,1256,1134,1202,1278,1470,1622,1430,1316,1426,1404,1314,1206,1296,1384,1230,1212,1226,1108,863,748,1048,1264,886,650,1018,1448,1334,1106,916,882,1020,1258,866,505,408,484,514,407,381,545,720,807,1062,1011,905,1064,729,444,465,440,509,597,430,498,1204,1396,1060,1184,1180,1220,997,1088,1110,924,1038,1226,1230,1252,1026,754,1052,1346,1166,1184,1136,1240,1416,1284,1358,1142,1016,1292,1220,846,559,590,823,707,1030,1220,1372,1176,1036,1072,1452,1670,1460,1288,1344,1140,1070,1192,1160,1306,1256,1210,919,1098,1338,1300,1412,1420,1404,1544,1252,1128,1256,1408,1466,1408,1466,1434,1416,1426,1372,1386,1416,1270,1226,1324,1550,1444,1472,1408,1424,1402,1328,1328,1366,1324,1390,1368,1368,1446,1898,1458,1412,1390,1208,1172,1466,1506,1216,1062,1036,927,996,1274,1450,1374,1338,1236,1180,1344,1504,1108,749,1180,1670,1586,1526,1620,1658,1372,1132,1162,1192,1300,1330,1102,1294,1598,1534,1132,1172,1340,1074,513,753,774,768,1076,1344,1066,894,1042,1214,1068,1328,1360,1562,1386,1250,1296,1042,831,1134,1386,1128,1090,1202,1224,1158,1108,622,819,1078,1258,1220,895,739,653,644,1030,1070,901,949,1188,1378,1478,1724,1572,1404,1520,1444,1188,970,1122,1116,1354,1358,1528,1490,1332,1023,932,1020,1236,1372,1526,1646,1592,1336,1138,915,1090,1074,1450,1448,833,861,1316,1080,971,908,1034,1138,796,846,1006,1090,911,854,1242,1346,998,669,639,705,997,1019,1344,1182,659,590,836,852,907,1118,963,1040,1620,1240,805,1194,830,373,367,443,420,580,854,1126,1184,1246,1164,988,1162,1300,1116,954,1002,921,776,853,990,913,738,1056,1844,1870,2022,1572,845,459,431,470,636,1510,2062,1172,436,556,614,571,453,938,1210,764,543,684,667,607,972,1278,813,749,499,333,385,651,1076,806,525,1092,1554,1260,1010,896,885,956,1268,1418,1078,1132,921,495,399,492,354,364,617,642,448,403,310,544,1094,1398,1568,1872,1838,1618,1448,1296,1208,1064,877,838,1096,1007,611,357,272,335,909,859,781,954,938,1036,867,604,600,1018,928,891,668,600,944,971,735,641,776,1070,820,714,1090,1150,1070,1076,1376,1278,965,937,1276,1416,1538,1644,1380,1782,2784,1404,1200,1350,1238,991,892,738,825,1011,1106,1198,1088,947,987,819,715,791,1136,741,772,987,854,787,802,758,534,514,629,613,493,442,346,343,364,1005,1212,1128,898,643,747,814,558,471,415,399,421,390,376,500,548,513,454,420,549,647,383,316,305,310,299,339,484,655,703,727,734,716,720,724,617,455,414,329,289,339,434,439,466,449,272,274,407,659,591,516,437,414,369,372,370,429,429,488,592,544,489,412,363,437,438,393,587,583,405,343,305,311,384,418,404,380,374,407,316,281,289,289,394,508,573,631,546,405,403,441,457,528,588,617,572,623,562,409,332,299,269,259,248,271,309,335,358,383,423,354,318,326,300,316,391,397,413,442,441,458,475,473,500,519,524,519,493,492,497,488,506,506,492,465,436,420,429,425,426,425,428,431,437,426,415,405,394,404,406,398,398,393,401,412,428,444,454,457,451,451,434,427,420,434,460,444,422,423,432,417,387,393,422,455,477,487,495,518,532,531,531,524,501,494,523,510,491,491,458,454,439,451,452,446,440,442,419,398,404,419,427,427,424,400,413,409,406,404,401,404,399,392,400,403,386,369,389,383,378,382,397,383,366,378,383,373,373,381,383,358,363,361,364,370,366,368,368,364,358,358,345,345,339,342,367,364,367,359,379,393,402,430,459,455,451,470,455,467,472,451,451,463,451,443,425,422,407,382,385,376,379,381,379,385,379,379,373,375,401,419,416,394,384,391,398,405,402,387,378,387,394,382,377,380,362,360,350,347,348,350,340,329,332,332,324,319,318,317,327,350,380,386,377,350,362,352,337,327,312,317,328,330,337,334,323,322,334,323,335,317,315,312,306,292,286,303,298,297,320,317,317,317,323,333,347,346,332,325,317,310,313,328,353,366,386,371,369,359,349,353,343,331,323,325,333,336,331,339,358,365,335,331,335,331,327,323,323,320,304,292,283,286,293,303,296,308,312,309,304,298,287,292,301,303,308,316,311,320,324,329,318,329,326,326,331,330,331,333,337,336,336,327,336,336,345,344,344,342,352,375,376,352,372,364,361,360,362,358,356,350,347,339,331,322,318,318,318,309,293,311,305,322,329,323,327,331,331,327,330,331,331,331,327,324,318,321,308,326,317,310,309,306,306,308,327,338,343,342,361,372,373,370,368,372,378,374,366,360,348,349,350,349,343,337,331,325,325,324,329,323,322,345,348,355,361,370,361,364,345,343,355,355,364,358,336,350,353,361,373,367,367,361],[769,658,725,644,653,823,1170,937,932,869,805,1174,1250,1294,1436,1396,934,1023,1023,904,730,546,494,407,368,350,393,457,438,405,395,366,340,334,395,459,418,476,545,600,465,374,387,424,404,372,389,308,278,251,418,495,574,444,372,368,349,339,367,558,680,706,498,247,368,367,329,278,327,462,702,951,1162,1138,1262,1478,1530,1310,861,1556,1572,812,712,1202,1282,966,529,544,1028,1428,1942,1904,1636,1282,867,949,1462,1516,1468,1554,1606,1278,1178,1288,1206,865,824,1138,997,758,727,650,465,1026,1436,623,379,430,558,880,1350,1282,1048,948,789,1078,962,709,716,783,837,741,844,653,603,433,381,412,435,440,420,444,482,468,521,547,561,499,518,585,607,523,433,390,327,273,282,277,303,403,532,484,384,389,457,724,924,796,580,577,673,572,372,300,314,328,416,709,683,750,797,720,487,343,350,390,467,656,766,914,1000,746,638,909,1276,1032,789,913,819,1034,1248,1108,1078,1092,927,1108,1018,944,798,627,481,412,345,333,522,915,1056,902,1264,1426,1540,1510,1306,1204,1006,872,1106,1252,1268,1126,754,891,760,560,745,1148,1538,1780,1966,1766,1606,1568,1602,1592,1560,1440,1198,1378,1584,1162,1002,1278,1392,1004,749,928,1398,1496,1456,1182,1090,1172,1310,1200,897,570,601,756,968,1282,1092,981,1126,1274,1280,1484,1418,1360,1708,1508,1076,835,971,1276,1214,1332,1852,1562,1230,1278,1370,1310,1208,1292,1642,1810,1662,1770,1698,1746,1686,1434,1332,1190,1306,994,1910,2270,1516,1186,1576,1722,1196,824,692,1660,1508,1242,1404,1600,1354,1110,1152,1064,910,1104,1496,1192,1074,1472,1550,1618,1430,1474,1394,1360,1092,838,1190,1028,997,1082,901,646,871,1062,1230,920,611,653,770,844,702,454,664,1060,1058,977,1030,1058,1260,1184,970,1214,1482,1282,894,852,500,658,1224,1148,1062,869,620,550,572,628,702,809,833,874,919,621,559,760,993,1532,1750,1368,860,874,1234,1418,1046,1058,1092,969,1358,1162,839,983,1220,1028,577,392,574,749,1024,1308,1226,1366,1019,1005,1282,1338,1270,1498,1542,956,462,498,547,658,696,820,749,753,619,570,536,849,1096,1023,764,469,467,607,706,557,440,437,492,858,1204,1146,702,469,458,522,750,1078,672,673,854,792,794,537,458,860,1250,1490,1700,1776,1822,1742,1478,1322,882,718,653,656,785,1017,1526,1650,1252,1192,1118,1019,1300,1450,1158,698,948,991,982,930,976,1108,1120,1080,1100,1122,991,890,871,1194,1726,1482,931,910,960,789,879,906,821,997,1216,812,725,1282,1166,869,715,887,1030,1188,1234,1114,1002,597,466,538,608,770,815,743,569,425,448,811,1126,966,626,641,1050,1140,1160,1016,758,927,998,1072,1146,1230,1522,1358,1312,1282,1106,1230,1472,1142,1236,1296,800,569,730,875,882,1046,1302,1204,1214,1180,1142,1314,1020,590,694,870,828,630,434,455,557,493,663,1178,1186,1252,1318,1528,1860,1148,835,1060,924,1024,1160,675,797,1000,868,822,895,971,1384,1442,1188,1156,1240,1126,937,683,1104,1446,1558,1472,873,747,1170,1500,1378,1054,1130,1030,964,816,956,1184,983,987,1092,1126,1116,1236,1236,1182,975,959,1342,976,1017,1150,1124,1838,1920,1560,960,788,1034,1316,1624,1592,1864,1816,1650,1376,1166,1146,1190,1340,1360,1262,1252,1212,1064,951,743,724,896,1100,1084,984,1252,1356,1244,1360,1180,767,683,753,1008,1406,1516,1590,1472,1528,1834,1528,1084,736,607,1130,1344,1021,979,971,847,1032,2368,1626,1390,1670,1434,1001,848,880,1154,1554,1122,1288,1272,763,495,704,959,839,943,1194,1286,1410,1454,1356,1388,1500,1490,1354,1384,1272,950,650,803,1146,1198,933,979,1046,1372,1170,1222,1274,1274,1180,1090,1344,1446,1422,1294,1246,1582,1464,1384,1015,810,978,1144,1306,992,833,1260,1428,1118,690,625,975,951,777,1258,1252,1186,1214,1202,985,645,505,491,377,347,409,454,605,1150,836,840,912,924,866,719,634,779,738,428,529,1196,1074,1176,1134,1100,1108,1122,1142,1110,1126,1216,1230,1308,1268,1176,1146,1174,1230,1332,1322,1246,1476,1428,1028,780,598,805,1330,1062,971,913,738,968,835,969,1100,1066,1162,913,984,1738,1858,1506,1292,1030,959,1202,1296,1166,1194,1202,1130,788,891,1232,1396,1470,1324,1342,1240,1156,1036,1164,1332,1518,1636,2410,2658,1612,1616,1514,1422,1476,1344,1426,1362,1520,1334,1350,1324,1354,1440,1460,1484,1494,1262,1290,1266,1332,1432,1382,1356,1414,1484,1294,1252,1376,1266,1198,1260,1142,1066,1288,1210,970,875,881,1009,1056,1102,1260,1009,777,1080,1368,1614,1460,1500,1688,1502,1238,1320,1368,1204,1102,1270,1398,1404,1382,1218,1074,905,737,506,572,835,1136,1232,1015,866,930,889,943,945,1250,1340,1318,1234,1276,1220,1210,800,736,1114,1094,1342,1320,1012,1002,1078,959,1116,1138,1170,1194,1116,1060,894,633,907,983,1170,1316,1238,1144,1426,1706,1556,1240,1148,1220,1194,1074,1156,1300,1556,1604,1550,1484,1398,1148,870,1064,1218,1194,1452,1526,1516,1426,1356,1348,1196,1414,1670,1370,1042,772,930,1216,1432,1009,728,944,1009,905,1108,1154,990,1084,1224,1158,1400,1094,734,599,932,938,847,716,565,460,401,410,523,642,633,569,1234,1188,751,866,658,577,779,706,755,858,823,1148,1094,1218,1108,1250,1520,1544,1066,761,620,628,731,805,1018,1344,1366,1384,1726,2028,1634,1286,1016,846,796,641,655,980,1134,955,586,766,1048,787,651,1092,1300,933,625,624,786,844,917,1108,824,1560,1076,430,337,546,1136,1005,620,923,937,640,559,706,661,550,999,905,680,1220,1180,514,560,622,416,382,501,481,402,355,353,775,1558,1826,1824,1876,1710,1376,1214,1460,1412,994,811,768,974,1062,761,426,301,324,574,692,760,837,708,1009,734,691,704,980,877,886,920,802,880,998,933,830,753,839,1040,1030,1170,1120,1070,1078,1180,1214,943,620,1062,1480,1714,1628,1654,2410,3934,1964,1264,1262,1212,1116,1030,719,639,940,908,686,717,976,1216,844,691,830,994,753,805,1052,915,727,788,1084,960,693,624,529,426,498,386,297,315,745,1102,754,692,1140,1090,995,528,389,339,337,413,437,423,388,374,386,416,412,508,638,366,284,281,293,295,330,524,675,658,681,691,683,656,624,539,414,365,324,275,262,353,512,785,766,366,455,741,591,413,400,369,424,419,373,392,471,447,476,677,725,593,439,400,401,342,294,502,488,354,346,286,270,298,339,342,337,380,469,368,315,304,281,336,418,695,874,557,413,487,546,535,491,569,586,517,482,412,339,345,287,257,258,260,278,289,306,319,314,316,305,328,351,326,376,410,384,420,454,438,442,449,453,481,507,524,515,491,491,492,485,492,491,475,456,412,404,399,420,431,413,419,423,423,419,410,402,405,408,404,411,392,389,398,411,422,434,433,440,457,451,448,434,413,423,457,455,428,423,437,428,394,397,432,487,481,479,487,505,521,534,538,534,510,496,518,517,499,503,476,439,436,441,446,450,444,437,424,424,406,415,421,419,421,403,405,409,404,401,406,409,397,390,390,384,366,374,393,398,388,392,431,431,386,371,378,373,380,370,376,374,370,370,367,361,354,350,358,365,355,346,340,321,314,325,352,364,365,369,373,384,400,410,448,459,443,449,454,458,472,457,458,453,456,453,429,417,394,391,379,375,373,367,371,384,382,384,378,368,378,389,398,400,397,397,405,398,394,389,382,377,385,389,387,373,352,360,354,347,353,356,348,327,332,338,324,325,324,313,316,348,372,380,382,358,354,347,333,327,323,317,320,316,323,327,342,352,333,326,334,325,317,323,310,292,285,300,302,299,310,309,316,317,320,330,341,339,330,325,322,311,321,336,338,347,371,373,368,352,361,358,331,317,309,327,331,335,336,335,352,357,343,337,331,328,322,313,321,323,315,309,299,298,299,300,300,308,304,301,293,283,298,310,300,305,304,304,310,314,312,321,323,328,327,325,331,330,331,331,331,330,329,318,336,336,329,338,343,343,356,384,392,362,368,362,367,364,358,356,350,356,356,339,334,326,331,337,324,311,306,313,298,318,333,326,330,330,331,331,331,330,331,329,331,325,326,312,314,317,310,312,310,307,305,312,324,333,349,365,374,372,366,360,361,378,382,372,368,361,350,350,346,343,343,342,333,330,331,329,329,329,325,336,339,343,352,367,364,361,336,345,358,355,360,343,352,352,370,373,369,367,373,357],[609,803,811,620,740,890,1046,802,764,1072,1058,960,1162,1136,1112,1216,1044,1009,937,778,548,641,754,579,372,341,378,441,422,412,381,343,338,334,377,426,370,495,557,470,381,357,377,382,381,389,374,301,282,275,417,457,404,290,316,345,323,351,391,550,602,543,309,265,253,295,285,271,314,422,487,597,754,845,1368,1404,1426,1742,1196,1098,1352,1004,935,1366,1382,1122,623,547,487,599,769,1006,1240,908,584,513,522,827,1042,1296,1262,1068,1214,1354,1214,810,1066,1616,1290,746,955,1306,1214,1302,1508,1080,897,547,550,834,956,986,858,520,540,626,629,604,613,677,708,850,1216,867,598,436,383,415,393,420,453,444,480,478,502,515,559,475,427,499,596,574,544,518,367,287,270,262,303,466,569,405,324,372,506,703,797,811,769,689,774,696,418,299,288,359,444,601,630,630,657,753,735,609,496,438,551,626,845,763,606,599,527,806,1322,1292,1136,916,621,835,947,849,1026,1094,817,968,1178,1354,1628,1300,734,576,374,333,626,1146,750,466,692,1224,1556,1474,1260,1220,1126,652,913,1566,1200,1000,1100,1110,1006,885,720,677,912,1352,1372,1322,1472,1338,1238,1224,1382,1384,1330,1312,993,586,520,772,776,588,597,832,1216,1242,1086,955,1182,1472,1258,912,743,727,816,550,465,681,1066,1228,1214,1078,793,1112,1026,824,1148,1472,1274,937,1368,1736,1066,1238,1954,1548,984,886,1214,1292,1346,1316,1278,1302,1530,1648,1782,1788,1776,1560,1336,1358,1396,1158,1130,1278,1214,1284,1284,1196,1250,1360,906,1252,1414,1252,1310,1528,1464,1036,877,552,549,1082,1356,1126,1148,1310,1388,1344,1158,1166,1090,905,889,1142,997,871,720,1016,840,564,847,1282,1184,706,554,592,540,577,723,579,662,1024,1078,891,1021,1346,1370,831,549,886,1466,1368,1078,865,477,733,1090,1198,1134,760,569,600,648,676,903,653,749,1226,1026,525,507,710,703,623,895,1332,1830,1798,1174,1486,1302,1432,1136,820,1056,1350,1262,1122,1148,877,467,337,321,584,925,823,1156,1572,1088,1002,1248,1262,1344,1416,1608,991,568,534,699,659,728,793,885,859,604,506,436,682,1072,1001,667,462,464,573,503,436,404,407,399,625,942,965,802,705,499,542,1490,2244,1214,586,462,437,590,595,537,951,1318,1146,1324,1540,1644,1772,1628,1082,834,807,667,666,792,1114,1496,1334,1328,2030,2136,2156,1642,1466,1186,893,783,750,991,1236,1206,989,1028,1284,1424,1296,1013,887,931,1220,1530,1452,1156,926,991,1017,1144,927,894,917,649,641,1132,1876,1714,948,803,916,846,1130,1386,929,864,590,661,760,775,958,1030,813,648,508,481,655,774,522,440,396,587,889,824,791,957,1246,1374,1272,1172,1172,1210,1156,1180,1248,1130,1414,1182,996,1254,1198,913,818,1021,1168,1098,985,1260,1132,1042,913,1004,1042,885,724,1006,1376,1042,634,681,680,724,691,995,1230,1206,1060,1284,1646,1300,816,1074,1228,887,1078,1426,988,982,1048,761,783,821,863,1150,1366,1226,1202,1318,1152,687,571,950,1408,1624,1394,907,868,1068,1034,1072,916,1130,1250,1216,992,1104,1172,1066,1264,1314,1108,958,1082,1136,998,831,831,677,681,965,871,778,1052,1382,1310,1032,1094,1166,1224,1610,1944,1724,1602,1744,1688,1444,1376,1248,1270,1388,1246,1106,1170,1040,1018,894,883,1098,1286,1248,1080,1362,1416,1062,1498,2350,1730,904,1001,1068,1450,1592,1570,1352,1392,1522,1374,1140,756,532,651,835,1034,1154,841,962,1172,1816,1798,1576,1268,1108,1146,1146,1116,1314,1426,1130,1456,1416,818,451,522,634,732,1070,1118,1238,1374,1356,1288,1268,1250,1534,1456,1426,1442,1160,986,899,630,849,850,1172,1406,1512,1284,1590,1454,1270,998,711,937,1354,1288,1138,1106,1434,1312,1048,706,548,455,831,1078,1170,1356,1516,1528,1654,1098,675,923,731,1304,1576,1250,1132,874,940,1018,1070,705,461,355,433,404,390,821,1114,705,719,753,715,907,857,674,1142,1026,488,756,1124,1244,1306,1214,1026,1007,1496,1744,1408,1304,1312,1266,1252,1252,1296,1378,1254,1300,1358,1366,1506,1478,1490,1188,828,740,1012,1144,991,1018,1020,1118,1172,932,966,1015,1088,1118,855,1003,1332,1642,1338,1332,1102,1060,1282,1086,1008,1064,1360,1404,990,877,1228,1392,1284,1206,1214,1001,1230,1224,1114,1308,1396,2142,3914,3698,1636,1522,1772,1504,1306,1128,1168,1242,1216,1150,1216,1318,1388,1384,1282,1328,1282,1304,1350,1534,1510,1388,1466,1366,1356,1542,1294,1180,1172,1296,1332,1346,1254,1408,1406,943,969,1362,1350,1130,1130,1130,1102,798,821,918,954,1140,1188,1282,1534,1736,1722,1520,1360,1130,1001,1258,1318,1042,1013,1054,943,935,1030,835,851,992,980,1206,1146,1114,1030,826,641,887,1296,1496,1326,1372,1432,1206,873,714,1078,1232,1250,1244,1052,894,1140,1374,1632,1566,1160,1056,1050,979,1298,1266,999,1032,1066,1036,1058,1096,1270,1536,1648,1620,1138,976,1310,1280,1366,1572,1464,1808,1874,1458,1370,1290,1500,1470,1324,1196,1378,1430,1262,1356,1482,1572,1438,1136,1302,1462,1382,1382,1180,1054,963,1156,1136,1210,1566,1452,1020,801,844,1034,1232,1300,1304,1346,1434,1090,865,1422,1366,977,816,529,419,318,347,378,728,996,722,833,1070,1100,850,468,679,848,985,1382,794,652,1456,1400,1302,1210,1102,1472,1248,579,430,507,800,660,747,992,1246,1350,1340,1522,1440,938,817,935,1224,1260,1118,1228,1278,1262,1034,781,708,652,752,681,877,1312,1068,818,717,795,773,927,888,621,1246,948,422,335,444,734,842,860,845,564,603,484,611,821,543,680,661,514,881,735,415,641,865,910,553,481,434,311,279,291,643,1164,1314,1318,1384,1490,1404,1264,1562,1356,979,875,842,886,998,879,567,433,543,689,626,714,886,777,1076,1156,974,832,943,961,988,903,685,723,1001,1014,895,604,630,1066,1282,1146,1013,1028,1234,1188,1116,1130,863,921,1302,1866,1346,1582,1748,1550,1216,879,873,1094,1028,1086,941,566,543,665,559,667,792,883,768,787,929,969,750,722,1122,1078,889,955,1114,1030,1220,1122,684,397,416,381,322,336,784,1302,752,465,617,606,484,326,303,335,401,440,456,390,353,342,395,348,288,314,382,263,224,316,394,373,390,477,490,434,483,457,430,390,408,384,365,375,330,281,307,432,612,806,890,495,660,579,342,377,362,350,406,461,444,367,333,326,394,587,574,506,451,398,338,292,261,305,373,448,456,319,292,380,415,353,284,325,387,360,334,347,527,634,389,533,827,485,446,510,444,399,432,453,446,426,391,325,291,265,257,262,265,263,298,317,319,314,307,298,283,299,334,340,385,392,382,423,436,426,438,442,444,465,491,519,507,491,493,489,485,488,491,474,459,428,401,400,426,441,422,411,413,413,401,399,397,415,414,412,406,398,415,385,402,422,425,423,451,463,437,451,440,411,404,431,448,442,426,432,417,386,380,410,485,498,488,486,496,518,538,545,546,497,482,494,511,506,505,487,458,450,445,445,452,447,439,422,431,411,413,415,413,415,411,406,401,405,404,390,378,383,403,400,397,380,392,393,399,409,414,448,481,427,381,386,378,372,387,368,361,370,361,364,362,349,345,346,340,342,331,334,342,337,342,355,364,365,367,371,384,397,405,440,437,453,458,460,467,470,462,458,454,453,435,429,423,407,391,390,392,387,381,379,379,379,387,383,383,387,403,411,407,400,397,398,397,401,392,380,380,390,394,397,384,356,359,353,347,350,360,354,328,328,340,327,334,332,322,311,336,375,383,380,366,347,328,322,332,329,334,334,330,328,333,335,326,343,330,323,326,316,322,314,302,290,291,296,308,321,324,319,318,319,329,338,336,335,329,306,317,323,345,343,364,377,370,364,355,355,340,323,322,320,323,329,337,359,353,348,352,347,333,331,327,310,311,318,328,318,312,311,311,309,292,299,308,304,307,301,286,305,297,305,304,309,311,312,314,308,307,315,327,327,325,331,331,331,327,324,324,325,315,331,338,323,338,348,349,364,374,391,372,367,370,364,361,360,352,347,350,352,336,329,317,323,321,313,310,312,313,308,321,327,321,337,330,331,330,329,330,331,324,329,329,318,321,327,318,315,310,312,312,309,310,320,324,342,364,367,353,350,361,349,358,364,372,375,358,360,354,344,335,337,336,327,331,330,323,329,338,337,330,333,343,354,358,370,356,345,350,355,358,358,349,349,348,370,373,367,372,376,364],[866,1102,785,559,605,825,952,960,1362,1706,1178,774,823,889,1130,942,949,769,675,733,889,742,692,882,602,312,339,421,420,427,403,396,368,339,345,392,387,426,434,375,371,381,375,372,315,366,368,350,358,383,404,392,344,292,316,298,349,437,429,381,432,362,268,268,298,305,283,289,317,395,345,358,744,887,1102,1122,1608,1988,1272,804,1054,1206,1664,1704,1400,1406,1190,929,812,891,760,639,937,929,605,642,535,475,505,694,819,1100,1368,1626,1340,1062,1152,1060,767,807,1338,1708,1126,1284,1570,1388,1262,835,415,438,1030,1754,1240,535,574,623,648,566,615,598,659,959,1556,1432,730,528,423,386,384,422,399,430,495,501,484,484,507,473,451,497,541,501,528,493,308,313,274,302,439,522,535,539,460,407,494,469,460,509,607,658,650,583,379,296,336,467,573,511,505,572,609,667,650,757,745,666,872,926,1102,727,408,356,350,610,1180,1354,1514,1262,1044,933,810,951,1090,1216,1390,1480,1228,1480,2158,1480,1028,900,499,337,489,659,461,385,383,725,1264,1418,948,1284,1206,707,1242,1626,1015,775,874,1074,1428,1152,614,697,833,1100,1036,1118,1256,1028,972,1220,1582,1342,1002,787,626,451,419,559,464,593,593,708,1046,1180,1011,910,1184,1266,751,1024,1192,1116,965,647,397,416,799,1072,1070,785,467,509,666,839,1132,1586,985,890,1420,1384,1096,1344,1068,982,843,940,1240,1254,1320,1278,1222,1106,1506,1528,1418,1670,1936,1936,1902,1770,1454,1300,1136,1210,1162,1300,924,789,1066,1130,1028,1182,1294,1244,1182,1026,1074,1062,907,756,711,834,972,1023,1046,1110,1194,1078,1244,1408,1136,1018,1204,1232,1234,1114,1230,1448,1076,702,1007,1588,1144,553,446,458,538,617,566,475,469,620,716,902,1222,1384,1240,960,1044,1168,1622,1442,1420,1216,789,785,939,1068,1028,800,724,813,775,753,1028,587,399,590,592,568,609,775,790,628,750,1094,1814,2036,1368,1380,1592,1418,1234,1054,946,1048,1316,1686,1456,1024,694,585,572,784,995,1112,1418,1246,1007,1390,1206,891,1164,1598,1896,802,521,582,691,624,702,1188,1670,1218,593,552,487,739,835,753,549,576,524,447,432,406,419,376,380,583,907,1112,961,959,911,758,1878,2052,1104,598,524,653,813,835,895,1512,1532,1190,974,1346,1638,1676,1772,1676,1322,835,662,654,901,1398,1284,659,694,1236,1730,2766,2232,1582,1200,888,979,1130,1262,1204,1168,1202,1206,1348,1408,1282,937,694,632,695,683,906,1226,985,1238,1356,1610,1152,1188,917,539,626,821,1146,1204,1003,1272,933,457,583,840,681,796,799,792,860,919,1144,1028,632,613,512,480,696,871,683,461,437,377,618,631,777,1230,1456,1362,1312,1248,1296,929,1270,1248,1046,1140,1444,1122,957,1148,1204,1134,922,819,902,1170,1082,1270,1144,882,792,917,991,985,963,1146,1354,1194,1212,945,1256,1554,1238,1122,1134,1158,946,1338,1452,1016,735,1042,1132,883,1176,1598,1392,1266,1226,1068,976,794,649,728,908,971,1108,1264,989,829,800,1062,1492,1638,1438,1038,909,759,616,899,1178,1266,1290,1232,1092,1174,1238,1226,1184,1180,1182,1078,1122,1068,1040,1014,851,568,727,1304,1180,1050,1466,1650,1316,1094,1023,1170,1394,1490,1686,1388,1406,1588,1594,1672,1688,1588,1482,1376,1252,1174,1194,1274,1090,888,937,1272,1706,1736,1316,1048,982,1068,1802,2798,1780,1146,1428,1548,1678,1640,1374,1454,1636,1344,1260,1242,674,639,764,1040,1224,1256,942,802,883,1262,1412,1300,1152,1140,1142,1118,1158,1488,1156,1132,1294,1274,794,512,693,821,890,1052,1046,1368,1426,1220,1290,1306,1272,1400,1438,1388,1244,1244,1216,1172,780,1009,896,942,1238,1296,1412,1666,1642,1432,1078,881,983,1158,1042,1196,1136,1090,850,677,625,644,769,659,655,993,1166,1406,1406,1448,1234,714,904,880,1112,1048,1188,1078,814,891,750,1218,1274,922,550,650,567,516,1090,1192,797,810,668,607,790,997,639,701,658,612,1050,1290,1364,1234,1110,1116,1522,2220,2286,1614,1518,1376,1028,1216,1178,1076,1212,1108,1318,1348,1456,1640,1406,1252,1170,1136,1576,1376,1170,955,943,1182,1404,1418,1206,919,888,1216,1324,1216,1021,996,1312,1202,1412,1332,1198,1312,1134,901,951,1142,1058,1088,1028,1158,935,862,1136,1280,1244,1440,1450,1278,1264,1346,1720,2120,2050,1428,1310,1446,1180,1100,1112,1172,1372,1292,1146,1194,1340,1482,1406,1238,1246,1262,1322,1434,1510,1338,1262,1306,1300,1194,1452,1222,1188,1346,1440,1448,1378,1368,1336,1130,1030,1080,1001,932,858,833,988,1146,841,1009,1015,885,1072,1144,1236,1406,1448,1632,1640,1494,1528,1298,879,1042,973,968,1208,1130,913,858,939,1004,1126,1308,1456,1350,1360,1376,1116,971,1246,1322,1210,1260,1178,1012,1122,939,1272,1552,1290,1350,1278,964,775,1192,1598,1744,1566,1072,926,1402,1418,1306,1230,1005,1080,1122,1080,1314,1548,1396,1522,1698,1720,1362,1284,1572,1554,1362,1362,1112,1194,1244,1166,1262,1494,2872,1898,1204,1118,1266,1028,999,1444,1880,1810,1370,1104,1002,1356,1636,1356,1462,1572,1272,974,1106,1438,1576,1430,1222,915,968,1252,1162,1230,1026,669,1096,1172,1064,1404,1516,1410,1040,494,422,313,474,841,1156,1116,1090,1346,1148,1060,991,525,560,468,977,1452,631,412,791,895,851,965,1118,959,617,609,855,924,955,997,1786,1622,1682,1092,812,1214,1262,1360,1026,811,739,745,1116,1526,1694,1902,1236,653,541,577,612,564,801,938,810,664,565,543,544,1068,841,525,749,706,594,694,959,980,810,781,931,1094,1352,1012,868,1268,1054,764,757,639,612,319,356,627,946,920,546,419,387,358,365,336,609,1156,1448,1404,1404,1362,1226,1300,1578,1416,1104,859,693,611,742,902,881,827,781,686,611,810,802,969,1278,1190,713,601,890,885,843,696,589,656,1080,1206,1010,467,451,930,1306,1288,1086,980,1072,1118,1178,1262,939,843,1238,1502,1176,1476,1572,1372,1146,897,987,1182,1122,1108,1066,913,1026,1078,1088,993,1100,1102,698,568,859,1048,765,736,1222,982,980,1126,1310,1356,1230,1148,945,554,440,518,519,519,1040,1490,1044,537,390,461,416,292,285,366,399,339,351,403,437,363,407,341,273,393,402,306,302,345,380,396,455,415,346,317,339,351,382,382,367,352,365,401,394,358,308,322,365,387,525,666,691,349,256,326,373,408,467,531,531,423,365,333,374,453,399,385,386,359,340,317,269,271,299,310,305,291,297,392,472,396,295,294,310,312,286,306,400,522,498,357,454,419,456,403,311,336,436,448,401,398,420,437,332,279,268,262,275,294,317,315,319,331,300,294,286,298,318,348,378,369,380,426,432,416,432,448,453,446,477,522,512,497,491,476,477,475,481,483,453,428,404,395,413,430,443,403,410,410,393,399,405,420,409,401,402,402,392,391,400,419,422,425,450,469,461,461,463,446,412,416,442,442,420,434,419,399,393,412,455,469,461,469,479,503,523,538,537,521,480,475,491,499,498,487,466,443,431,427,444,447,436,422,417,409,409,409,408,399,396,397,397,409,411,390,396,398,406,401,397,381,380,383,393,426,437,451,491,476,433,406,378,360,372,366,357,352,352,361,357,354,349,350,352,358,357,340,340,344,347,346,358,361,365,365,384,409,404,419,440,460,470,474,472,469,472,464,454,453,443,431,419,407,396,386,377,371,374,376,374,382,391,388,390,384,390,401,406,400,398,394,392,400,397,403,405,387,385,385,399,371,359,352,342,346,359,356,340,329,342,330,332,336,324,328,334,372,380,377,370,357,342,346,328,322,339,323,305,308,322,323,323,342,333,326,322,322,317,317,304,292,290,294,308,321,323,324,324,325,326,319,343,337,323,313,311,323,345,345,364,376,372,368,367,361,349,337,335,331,331,331,335,343,340,347,347,336,331,331,329,310,323,309,291,293,299,304,307,300,293,295,299,298,304,301,290,304,299,303,305,309,311,314,314,305,305,313,322,320,324,324,329,331,326,326,332,332,326,333,340,324,336,346,354,361,372,382,374,375,372,366,366,361,355,349,342,339,337,326,318,314,318,323,314,313,310,312,321,330,321,337,337,331,334,338,334,326,325,327,326,324,329,335,331,325,313,312,314,318,318,319,319,330,352,362,354,349,362,349,371,365,371,384,365,361,362,350,348,354,339,328,331,330,325,324,317,309,323,338,344,354,367,364,347,354,356,356,354,352,349,352,339,349,361,364,373,373,369],[1228,819,604,500,491,624,816,928,1136,1362,848,571,484,463,454,567,649,530,531,1006,1244,591,486,766,788,408,386,479,537,472,394,393,369,358,383,411,421,400,355,332,322,417,399,366,347,369,357,343,368,399,392,345,323,293,290,318,425,634,620,480,387,314,313,271,308,347,305,292,328,402,441,663,968,1310,1212,774,824,852,709,583,875,1426,2160,2130,2112,1776,1380,1322,1288,1288,1164,1094,1116,828,807,1318,930,486,380,487,613,737,924,1064,1212,1528,1640,1686,1254,1530,1572,1310,807,962,1072,960,1138,907,570,605,1172,1460,685,492,583,623,503,323,470,458,529,938,1824,1690,714,469,473,374,368,414,503,636,541,457,484,457,384,396,458,489,521,439,455,363,355,347,305,295,450,555,535,524,573,498,462,424,474,384,475,465,463,521,366,253,393,559,498,461,523,525,508,531,477,623,862,1062,928,1018,1066,675,393,354,363,683,1284,1396,1260,1256,1426,1118,943,1050,1216,1426,1480,1356,1258,1302,1150,954,1050,968,667,376,332,290,252,284,385,620,1316,1676,1388,1232,927,1070,1536,1516,1238,1152,1188,1464,1588,838,643,972,1030,1282,1310,1228,1136,965,941,1174,1282,886,576,465,681,886,727,581,443,526,440,586,1110,1228,1198,1144,786,709,571,963,1332,1178,929,565,354,285,512,987,1166,832,672,722,911,891,1356,1352,1002,743,1058,1094,1196,1176,1016,963,870,1154,1280,1342,1112,1128,1338,1454,1520,1400,1186,1282,1782,2050,2136,1866,1578,1272,1222,1196,1098,937,677,837,907,763,910,1306,1070,765,916,677,696,907,865,1042,1200,1294,1414,1388,1224,1096,1274,1238,1484,1440,1388,1322,1214,1094,1036,941,1394,1566,1494,1398,1256,1676,1026,549,480,551,579,574,541,451,557,830,905,822,985,1226,733,642,987,1176,1288,1074,1098,1280,1092,799,651,803,1298,1050,1232,1540,1530,1342,1134,758,492,493,571,623,725,908,902,1068,898,1015,965,907,871,990,1078,1196,1478,1258,811,871,1338,1424,1370,1388,1582,1350,1005,891,969,1294,1876,1860,1340,1454,1298,1062,1176,1488,1568,830,628,599,554,580,727,980,1017,757,535,518,677,868,645,680,656,930,971,836,648,448,451,414,365,544,1078,1272,921,962,1222,949,1440,1334,749,579,495,814,1214,1046,1328,1692,1616,1616,1184,996,1072,1410,1618,1728,1668,1520,929,713,988,1538,1284,642,444,819,1302,2270,2310,1762,1758,1250,1028,1164,1182,1082,852,1236,1482,1592,1506,1206,826,675,523,454,497,835,1172,1174,1220,1460,1714,1302,1158,943,703,549,560,697,821,761,891,559,379,341,410,717,1194,1300,1086,850,793,948,1050,939,830,626,620,720,636,607,845,894,676,500,606,1030,1280,1294,1144,1034,1328,1350,1052,1128,1266,1132,1206,1276,1015,1001,1086,1218,1338,999,781,856,1174,1082,1060,1110,949,1034,1086,998,889,849,1004,1600,1528,1538,1388,1476,1264,1194,929,780,1132,1064,1370,1026,754,897,921,907,682,800,1288,1368,1338,1484,1376,1090,663,585,606,699,666,957,1160,1306,1368,1192,1070,1246,1638,1584,1240,1082,849,580,988,1448,1278,1020,1082,1242,1130,1028,1244,1136,1006,1282,1284,1280,1722,1370,1064,892,670,1304,1868,1278,1032,1256,1618,1350,1344,1240,1070,1328,1360,1410,1510,1624,1382,1164,1330,1470,1772,1798,1576,1340,1308,1174,1336,1021,1000,1154,1284,1482,1562,1340,1242,1146,1432,1374,765,518,1110,1544,1654,1620,1598,1414,1278,1336,1282,1184,992,841,805,861,1056,1382,1384,1180,1002,1244,1554,1512,1314,1266,1152,1192,1148,1288,1220,1232,1412,1372,1234,767,621,600,832,1096,1102,943,1314,1326,1278,1286,1152,1254,1472,1378,1396,1308,1166,1184,1076,1002,1194,830,881,1272,1188,1116,1442,1544,1394,1318,1060,666,877,1212,1334,1122,1090,1021,939,919,766,853,707,769,1194,1356,1016,995,1290,1498,1136,686,712,915,1192,1346,865,677,937,1204,1198,1438,1416,1224,1084,1032,1134,1256,954,653,760,607,650,1005,1370,808,423,491,887,1118,1322,1454,1290,1252,1246,1344,1656,2200,2054,1458,1258,971,1382,1180,974,1154,1038,1100,1158,1282,1248,1054,714,1021,1310,1774,1628,1320,1020,1114,1216,1318,1344,1416,1044,1122,1232,1272,1482,1428,1254,1370,1434,1508,1320,1224,1412,1428,1456,1362,1112,1482,1424,948,1080,1086,1158,1426,1476,1454,1670,1446,1310,1400,1508,1510,1456,1558,1470,1320,1056,821,1024,1202,1440,1614,1294,1222,1254,1504,1494,1504,1484,1286,1408,1484,1428,1484,1526,1484,1336,1306,1274,1302,1158,1260,1506,1940,1788,1378,1536,1338,907,837,695,552,755,1260,927,893,1244,1070,996,1001,934,1024,1132,1132,1410,1664,1892,1700,1454,1120,855,980,1234,1078,900,1015,1230,1260,1456,1142,1088,1174,1250,1190,1404,1552,1536,1426,1480,1448,1308,1324,1460,1358,1036,937,839,1394,1444,1382,1342,1196,952,519,879,1294,1230,1396,1068,1296,2464,1860,1410,1418,1116,1306,1306,1206,1480,1412,1338,1326,1416,1540,1486,1480,1548,1348,1232,1262,1146,1208,1300,1252,1154,1234,1512,833,679,957,1186,1090,1040,1390,1350,1332,1058,1158,1296,1444,1258,1332,1684,1556,1023,979,1186,1360,1456,1472,1168,1108,1046,1208,1012,736,519,400,595,968,1248,1392,1366,1046,780,686,483,328,762,1438,1500,1024,935,1042,874,770,426,555,742,401,387,347,371,660,899,811,690,1106,1400,728,542,809,1092,1110,1180,1752,2404,2100,1614,988,896,1060,988,1350,1184,1080,1046,720,630,866,1430,1226,614,497,452,494,467,688,991,1088,877,676,645,530,739,1194,897,548,720,758,543,612,930,786,562,644,794,1007,1108,996,938,1016,777,482,591,696,823,457,375,457,890,874,650,523,393,424,445,444,470,765,865,675,885,853,697,703,843,1112,1156,901,793,809,965,829,814,798,727,558,519,612,571,904,1038,739,491,666,1003,956,948,932,637,507,1002,912,588,372,337,670,1148,1282,1018,962,946,1058,1176,1280,1392,1682,1660,1414,1294,1380,1572,1586,1378,1146,799,800,1084,979,960,1038,1220,1166,1036,962,1140,1276,723,467,689,1172,1028,926,1184,1220,1070,1060,1368,1566,1238,1144,1094,850,674,724,639,537,688,1158,927,525,460,435,404,330,329,411,434,325,329,590,497,362,371,367,315,401,458,337,305,323,316,286,310,348,423,377,349,435,583,515,369,382,426,404,403,389,311,289,333,416,548,944,789,380,243,270,370,411,521,479,425,373,337,314,344,403,437,475,451,354,310,290,278,283,273,270,283,286,264,328,508,486,328,289,277,289,262,294,455,465,368,310,305,330,324,332,406,511,469,481,414,391,410,412,360,315,294,273,283,312,330,343,335,327,276,292,271,268,283,344,388,376,395,431,427,423,444,445,446,433,469,520,515,505,491,477,495,498,480,478,451,427,410,396,412,433,434,428,423,411,407,394,399,409,405,406,392,387,380,402,412,401,449,484,459,469,462,460,457,451,429,426,448,435,418,444,441,416,397,396,441,469,469,472,464,484,508,515,525,521,491,479,489,505,495,484,469,447,442,430,435,444,433,418,409,408,408,409,408,396,394,401,397,400,404,392,388,399,396,386,390,374,371,374,386,433,455,470,476,486,484,442,388,373,374,368,356,350,350,352,358,361,358,354,353,346,345,349,334,339,352,339,353,353,365,367,376,423,419,399,420,447,472,462,471,462,475,469,462,449,443,435,417,406,398,386,383,384,378,371,373,379,378,400,375,368,380,396,406,400,398,397,394,398,398,401,398,383,378,376,404,386,364,353,328,347,359,368,352,324,339,339,327,330,325,318,337,368,389,395,380,366,347,320,337,352,342,326,316,315,316,328,342,339,326,328,326,319,315,317,308,298,292,296,308,306,306,325,322,323,325,339,337,330,316,324,313,323,337,343,359,369,369,367,365,352,350,339,335,333,345,343,340,339,342,343,342,336,343,331,331,312,320,311,299,297,293,295,292,291,291,288,293,292,296,295,296,299,297,301,301,302,307,311,310,305,305,310,318,318,323,330,325,336,346,327,340,344,336,330,325,324,331,344,358,367,373,373,374,377,370,358,367,355,349,348,344,337,337,330,323,310,312,325,317,318,314,317,325,329,327,336,338,332,332,326,320,326,332,332,317,325,336,330,318,313,311,307,314,319,320,326,326,334,350,356,365,365,365,350,368,368,368,377,368,354,350,341,337,335,346,328,330,325,324,323,329,326,324,339,348,350,358,360,347,365,365,356,350,349,349,350,354,360,345,360,373,368,367],[966,742,594,495,440,436,534,666,743,1144,649,477,409,437,405,430,469,380,548,1058,912,431,720,656,608,396,469,692,772,635,489,399,343,394,426,420,399,339,301,300,282,383,411,400,406,424,514,708,629,592,488,408,340,316,435,543,530,548,636,664,704,579,410,339,342,322,276,329,383,372,747,1024,1014,1616,1310,807,666,602,635,487,670,1324,1436,1674,2104,1468,989,1150,1324,1478,1476,1332,1144,659,1064,1438,1028,509,349,417,439,389,494,782,1224,1334,1482,1710,1414,1964,1888,1488,1084,868,660,948,1522,1218,962,857,1114,1348,917,670,971,1042,612,412,451,419,519,855,998,816,696,626,532,468,444,474,1038,1064,531,461,524,491,391,294,328,415,493,418,363,374,376,360,316,295,341,396,416,448,512,408,367,455,407,348,352,290,331,338,223,248,413,558,435,440,474,480,463,480,536,615,814,810,529,497,552,420,293,527,765,1048,921,1192,1416,1354,1204,1122,1102,1254,1560,1356,1100,1182,1208,1194,1388,1258,814,617,542,412,309,237,297,478,777,744,1044,1284,1186,1005,1100,1636,1842,1484,1206,1184,1230,1570,1552,1062,1236,1448,1452,1432,1584,1456,1130,1078,1130,1282,1184,841,662,446,369,524,705,516,432,448,386,627,1216,1412,1570,1044,567,533,653,1134,1404,1064,800,656,456,314,351,645,1106,1166,1274,1108,1282,1380,1448,1026,808,988,1298,1194,1212,1276,1382,806,756,1172,1376,1280,1192,1328,1562,1638,1454,1238,812,1286,1830,1744,2004,2030,1852,1518,1422,1136,1009,850,857,1102,995,866,808,1090,810,587,501,515,597,1072,1082,811,1016,1192,1230,1280,1348,1040,937,1172,1522,1292,1310,1312,924,800,871,1262,1656,1466,1434,1398,1314,1180,685,543,451,474,550,502,413,425,440,664,1064,1032,839,863,661,690,815,828,1006,943,796,979,1054,732,536,866,1268,973,1420,1796,1576,1312,1112,1010,1216,1068,735,552,651,1001,1474,1474,1168,1214,1240,1056,991,983,1064,1512,1364,1005,798,539,663,750,1072,1428,1666,1400,1000,810,799,949,1660,1846,1390,1400,1360,1150,1070,1522,1382,1018,879,855,1050,940,910,691,628,678,636,716,1009,864,710,664,1036,1522,1400,1144,796,550,538,474,551,639,1302,1216,652,623,795,799,951,1108,1050,1064,1046,829,1280,966,1160,1676,1782,1600,1312,1072,931,1007,1416,1592,1748,1812,1678,1178,896,984,1278,1064,648,623,1344,2294,2254,1820,1812,1164,783,1220,1374,1082,981,1052,1122,1272,1440,1304,959,888,714,474,677,871,938,897,957,1152,1238,1354,1358,1610,1398,748,862,945,871,848,799,647,424,399,796,1188,1188,1156,1078,998,1074,799,1042,948,976,823,771,963,759,832,1372,1400,994,758,891,1104,1120,876,747,973,1368,1410,1170,1554,2136,1604,1320,1246,1084,1048,894,1038,1068,1088,1052,1080,1226,1144,1166,1126,1058,1202,952,852,655,710,1038,1282,1240,1168,1192,1370,1458,1256,703,582,952,841,656,894,1170,1200,1180,1044,776,739,880,928,1280,1558,1616,1256,663,558,563,673,722,1014,1086,874,912,1140,980,704,764,1200,1328,1036,1126,900,888,1262,1152,725,962,1304,1158,1134,1248,1280,1128,1036,937,1484,2426,1606,953,859,959,1826,1672,870,963,1170,1360,1250,1350,1418,1244,1194,1606,1866,1560,1624,1368,1086,1054,1108,1412,1744,1736,1424,1174,1316,1460,1180,1182,1336,1068,886,1138,1426,1324,1202,1230,955,735,642,943,1342,1454,1422,1464,1268,1266,1356,1224,946,811,954,957,847,1034,1212,1238,1264,1420,1480,1422,1858,1728,1288,1136,1118,1276,1474,1332,1476,1506,1268,1274,1122,1114,747,915,1288,947,1198,1460,1528,1650,1358,1208,1224,1128,1272,1460,1464,1106,914,992,1310,1206,854,899,932,761,694,1106,1438,1484,1312,1224,776,794,1002,964,957,1068,1092,1304,1422,874,758,667,788,1021,1060,1112,1296,1388,1308,988,585,656,923,1116,654,435,473,1002,1198,1128,1310,1278,846,686,916,748,798,949,588,528,533,714,1178,1042,547,367,747,1120,1122,1416,1406,1252,1356,1250,1332,1366,2054,2022,1310,881,932,1398,1240,1034,1190,1294,1290,1020,1040,1096,861,691,942,1268,1438,1526,1252,1100,1340,1394,1396,1318,1428,1384,1214,1214,1326,1920,1866,1428,1484,1522,1440,1208,1166,1412,1192,1160,1240,1256,1598,1428,1160,1220,1388,1432,1334,1356,1290,1254,1176,1306,1582,1880,1562,1326,1478,1434,1284,1104,986,1092,1130,1370,1440,1412,1378,1332,1692,1512,1448,1440,1296,1344,1324,1360,1502,1396,1466,1490,1400,1390,1214,1138,1220,1324,1594,1632,1690,1444,1206,698,535,504,502,1092,1134,938,894,1120,1112,688,923,1294,1238,1302,1132,1542,1664,1672,1372,1314,1234,1098,1396,1486,1146,883,896,1040,1238,1426,1294,1234,1180,1140,1184,1232,1394,1470,1392,1244,1094,1036,1088,1042,1252,1294,1112,1152,1752,1860,1654,1496,1078,678,684,805,1174,1040,1092,918,1076,1704,1472,1366,1512,1624,1788,1354,1106,1362,1506,1350,1228,1262,1466,1642,1594,1272,1058,1414,1612,1642,1590,1328,1058,939,833,613,519,507,754,1054,1112,1072,1302,1122,997,1002,1066,1338,1238,1017,1348,1740,1384,1010,1060,1144,1284,1358,1196,1126,984,986,1356,1346,939,723,628,702,1096,1368,1298,1036,912,875,822,521,440,867,1510,1358,1188,885,696,639,595,481,715,709,767,647,402,399,664,995,933,899,1496,1620,602,405,467,1144,1344,1056,1422,1598,1514,1368,1116,1016,1424,1019,915,669,709,1019,1116,732,483,723,752,782,586,474,396,444,477,690,1114,1034,771,642,638,1070,1346,915,580,832,606,325,290,381,427,506,628,594,667,784,469,687,1130,790,842,744,857,1066,595,329,360,815,1060,866,624,531,711,812,1016,816,506,367,266,277,342,349,318,511,978,944,1028,1376,1260,1282,963,661,462,774,811,814,1056,904,802,775,604,605,879,1013,911,860,840,609,458,601,689,662,414,347,522,986,1100,834,915,818,1056,1038,1090,1180,1292,1356,1312,1274,1412,1762,1924,1838,1468,917,815,915,834,670,851,1184,990,1056,901,650,924,724,494,515,916,1122,1164,1318,991,741,945,1096,1005,1250,1698,1538,1470,1252,1074,1156,1092,885,1124,871,459,445,408,363,328,352,400,322,337,382,458,455,484,433,349,352,360,335,296,305,294,279,277,221,236,346,449,408,423,559,554,414,387,434,468,504,478,360,322,404,484,722,778,540,318,266,281,336,342,363,338,338,341,321,299,288,325,418,451,389,304,286,298,287,276,278,275,275,274,286,394,524,532,381,291,276,267,270,371,459,402,328,276,293,302,330,410,486,578,405,386,368,347,341,396,369,315,311,295,304,320,336,347,339,335,297,274,264,297,299,336,384,395,420,427,403,412,429,437,435,430,466,507,505,497,505,497,495,503,478,473,455,432,412,402,408,428,441,437,421,425,403,405,407,401,410,408,394,394,401,396,401,400,431,444,444,445,457,439,440,445,440,419,422,428,438,453,436,422,408,391,441,452,472,464,456,475,506,496,497,517,507,472,466,487,500,491,482,447,438,427,425,431,427,415,409,415,415,415,408,404,392,401,405,396,384,387,381,390,398,378,370,390,371,368,378,430,455,474,474,484,504,470,412,388,378,364,358,358,367,366,361,357,358,358,361,346,331,349,345,347,344,342,353,346,364,376,376,410,419,404,409,426,449,456,501,474,472,466,456,451,447,437,415,401,397,394,384,379,371,371,369,365,394,398,363,362,374,384,394,394,397,398,398,398,398,394,380,390,376,373,405,402,373,362,336,348,348,380,364,322,332,339,336,335,322,328,321,346,395,412,385,365,363,337,337,337,337,340,325,325,333,338,330,322,323,319,330,317,308,314,308,300,299,313,312,316,329,343,325,326,326,335,337,326,321,309,314,330,347,334,361,375,376,357,352,336,352,345,331,343,334,327,342,347,349,343,342,336,336,324,322,312,309,305,304,300,299,293,286,293,293,285,286,285,290,292,293,292,295,297,293,293,299,303,309,303,309,317,327,333,329,335,327,336,335,337,337,344,340,342,321,326,338,346,356,370,377,378,379,380,375,365,378,370,353,344,340,338,337,335,331,324,315,324,318,317,323,330,332,325,332,332,332,330,328,325,328,332,332,317,323,325,323,319,320,317,305,305,314,319,325,332,336,348,356,356,356,366,365,350,353,356,354,358,368,360,349,337,325,330,325,322,325,324,324,328,344,348,329,332,356,350,355,356,344,358,361,352,349,349,352,355,358,364,336,355,352,347,370],[891,691,513,456,449,445,457,479,438,783,586,409,392,367,401,477,474,458,487,542,586,873,1128,914,616,378,351,480,712,791,677,564,422,426,436,409,390,352,297,288,371,419,435,481,426,428,755,1024,1054,1172,722,449,440,521,755,1166,1022,702,729,839,1344,1218,703,509,623,524,468,438,416,454,918,922,1246,2142,1160,806,581,572,695,875,839,853,940,1400,1444,964,966,1088,1454,1582,1532,1628,1240,838,1072,1222,872,607,608,629,563,654,541,887,1144,1322,1570,1268,1300,1666,1548,1288,929,880,1134,1186,1484,1096,655,775,1430,2452,1634,776,1120,1086,639,513,475,455,457,663,484,368,694,843,560,419,437,391,960,1164,542,478,514,546,495,323,391,382,342,328,318,342,337,332,292,291,379,349,340,441,423,359,428,442,384,392,404,336,273,298,295,325,320,343,384,447,466,444,427,436,459,477,498,445,495,473,419,386,335,574,775,641,356,611,1194,1572,1470,1332,1286,1212,1496,1118,874,1382,1476,1576,1406,961,727,477,414,397,355,246,394,913,1354,1010,948,743,582,794,962,1314,1444,1212,769,955,1338,1462,1552,1358,1206,1182,1274,1472,1440,1324,1334,1340,1220,1152,1082,1150,1162,686,383,324,301,299,376,464,479,601,1052,1220,1326,763,792,974,1194,1472,1504,1266,998,604,420,408,372,355,816,1338,1502,1212,1334,1602,1456,1015,740,1150,1338,1252,1452,1420,1422,991,1196,1088,1072,1384,1588,1616,1670,1526,1274,1086,1009,1964,2392,1728,1512,1780,1770,1726,1754,1506,1302,1220,1250,1184,1216,960,879,813,562,538,589,650,797,1236,1060,568,825,1182,1248,1292,1234,973,1062,1178,1378,1310,1184,993,556,422,438,848,1340,1582,1598,1382,1174,810,584,538,515,498,468,396,500,915,665,766,1366,1308,993,860,816,745,737,930,1176,1188,1136,897,967,825,571,970,1194,1032,1248,1476,1560,1482,1172,1232,1700,1320,703,552,592,913,1246,1142,1202,1274,1206,1164,1192,1212,2054,2054,1382,1166,689,425,424,577,928,1348,1524,1334,878,697,929,1110,1208,1236,1078,1338,1162,708,744,897,936,1528,1788,1638,1556,1292,1017,665,626,613,675,991,1066,816,627,764,1426,1640,1460,1122,894,869,827,706,971,1132,1506,1216,815,874,919,1116,1578,1726,1404,1444,1124,786,799,801,972,1250,1410,1318,1156,1306,1140,910,1005,1232,1540,1642,1808,1738,1278,780,805,990,1026,1056,1772,1990,1830,1560,1280,1052,1016,1180,1188,1084,989,943,1204,1708,1824,1388,1156,955,854,497,495,712,987,1084,957,668,686,1052,1334,2258,1746,1144,1090,978,1028,1012,968,850,623,658,943,1188,1124,952,940,972,1114,916,908,1042,1288,1264,1352,1190,947,1130,1556,1252,1100,1068,1274,1216,1108,786,821,1290,1504,1424,1306,1642,2194,1714,1306,1222,1262,1132,779,1001,1024,846,976,1178,1036,1104,1001,769,1002,1068,1030,1274,922,786,1003,1074,1064,1090,1230,1502,1432,1234,909,992,971,769,523,877,1262,1208,1086,960,1064,1076,1094,781,1132,962,761,854,597,531,800,862,683,890,1140,1021,744,1290,1214,692,758,864,1080,1204,1270,1206,1218,1360,1296,1098,1390,1166,963,1008,910,976,1062,905,925,1092,1140,1064,1116,1076,1224,1548,1005,825,583,877,1188,1040,1060,1224,1164,1066,1446,1820,1422,1570,1216,736,670,946,1134,1324,1594,1636,1476,1532,1412,1240,1304,1296,946,1146,1342,1394,1017,922,1078,869,719,818,872,1086,1442,1476,1238,1354,1354,1314,1034,728,646,965,1158,991,1268,1420,1482,1594,1458,1260,1342,1730,1634,1308,1252,1332,1500,1550,1392,1636,1218,1144,1256,1246,1012,838,1108,1154,1270,1626,1376,1190,1246,1184,1268,1414,1202,1228,1168,1244,1236,1000,1036,1306,1046,723,803,906,987,802,859,1164,1458,1292,1266,1040,1086,1158,854,642,699,1050,1152,1260,1024,972,801,969,1306,1146,1080,1348,1424,1228,1003,739,832,1182,1254,649,608,1038,1042,885,1206,1230,1264,1092,480,608,652,504,509,639,533,625,1013,1224,827,360,572,1200,1406,1366,1492,1404,1310,1398,1138,1288,1384,1252,1150,1224,1190,1154,1496,1426,1678,1474,1354,1382,1204,854,869,1062,1278,1792,2008,1522,1378,1162,1462,1546,1560,1390,1438,1428,1058,752,1094,1542,1636,1550,1410,1418,1418,1064,1114,1068,1218,1206,1178,1214,1422,1500,1142,861,1200,1426,1354,1324,1410,1370,1338,1248,1368,1310,1410,1408,1332,1446,1370,1316,1322,1412,1236,1236,1418,1510,1528,1426,1390,1394,1258,1282,1442,1364,1184,1009,1180,1240,1242,1670,1582,1484,1376,1112,969,1144,1380,1194,1268,1824,1386,1176,694,503,483,658,1212,1066,890,910,1070,1010,935,1454,1208,863,1212,1156,1242,1218,1144,1100,1356,1314,1404,1520,1188,917,668,725,963,1260,1390,1188,985,972,781,625,811,1234,1188,1007,783,929,1042,1306,1344,1394,1322,1276,1290,1384,1516,1538,1678,1172,669,1076,1494,1394,998,849,676,561,813,1238,1356,1544,1440,1354,1440,1666,1626,1294,1220,1384,1498,1542,1614,1600,1338,1328,1626,1766,1656,1510,1504,1384,1186,781,434,396,473,880,1050,1032,1196,1144,1222,924,1182,1318,1072,1015,991,1186,1402,1158,797,898,1084,1206,1378,1184,1270,1064,921,1206,1144,802,828,915,1092,991,989,1200,1598,1274,1128,998,1238,1522,977,1122,1310,1604,1254,1440,1164,684,492,372,343,634,662,460,566,689,749,1186,1802,1772,1142,585,461,249,476,464,563,847,1082,1192,1254,1224,1104,1302,1100,1108,949,683,741,1170,1156,661,513,802,773,609,587,642,744,708,534,705,940,929,685,707,853,1152,887,700,830,580,311,321,413,469,457,644,715,718,943,475,998,1798,927,826,604,585,676,462,388,447,767,1050,1010,954,942,1002,994,954,1148,827,392,285,272,285,270,275,553,1234,954,1202,1356,874,913,1228,850,757,1188,955,1072,1736,1302,1096,935,714,772,681,850,693,541,594,703,717,611,819,850,656,453,661,1082,960,771,814,883,1124,1220,1164,1084,1136,1194,1188,1150,1290,1388,1566,1810,1740,1398,965,905,998,610,673,1078,887,858,659,491,623,589,513,447,486,653,836,987,948,874,1422,1720,931,1070,1432,1224,1138,1230,1244,1372,1334,1272,1232,711,703,1026,877,667,498,395,410,401,366,370,374,376,411,404,314,322,319,330,305,281,249,297,290,233,228,316,451,506,562,637,713,621,501,440,473,532,463,369,343,345,558,767,570,473,391,270,267,291,297,305,325,332,321,309,270,254,275,317,363,336,289,294,318,299,275,271,270,290,264,280,352,555,597,389,306,298,284,289,402,387,310,267,259,272,280,307,358,381,437,384,353,348,322,304,332,310,276,291,306,312,314,330,293,287,290,274,270,279,302,324,364,389,417,425,425,405,426,421,435,444,426,450,503,505,489,505,491,481,502,491,493,470,442,422,400,406,440,455,428,411,423,401,405,415,410,410,404,394,389,389,393,395,416,439,425,431,430,445,439,444,442,428,406,410,428,440,454,430,419,410,407,454,441,441,443,452,467,497,503,482,505,524,479,449,462,495,503,482,438,427,421,415,425,427,418,406,405,400,409,405,403,387,389,408,392,380,388,372,368,399,390,374,383,374,364,368,414,448,461,468,469,479,482,438,397,373,354,357,361,361,355,355,361,362,361,349,332,334,345,342,340,333,342,350,345,355,370,383,402,410,404,405,433,437,449,478,477,475,467,453,447,443,431,414,396,398,399,390,381,374,368,368,359,368,382,378,371,379,380,385,394,403,398,397,398,397,407,419,406,383,380,391,410,386,368,353,334,365,382,365,325,322,336,344,336,329,334,316,337,386,402,380,376,379,356,344,344,337,325,325,330,328,330,333,335,332,315,319,315,314,314,298,303,304,304,297,316,307,324,331,330,330,330,324,334,336,312,316,329,357,352,372,379,377,369,361,349,355,345,323,327,325,334,323,336,349,343,336,334,327,321,314,312,312,310,318,315,311,304,286,296,293,286,286,286,288,291,287,287,292,291,293,296,298,299,302,313,317,324,333,333,339,329,307,334,330,337,344,344,340,342,327,330,340,348,356,365,377,380,382,388,394,382,374,361,356,350,338,334,338,335,330,328,324,318,318,320,322,314,313,328,332,318,326,324,328,337,344,344,348,332,323,317,318,321,323,319,318,316,313,319,324,336,343,344,344,350,339,353,366,350,344,360,377,390,356,356,356,335,322,337,330,319,329,330,324,325,329,326,330,329,349,350,349,356,358,362,361,354,350,348,350,349,347,348,342,354,348,336,352],[761,550,448,447,458,458,472,396,325,380,319,318,364,379,448,482,461,457,437,507,688,1100,1168,1112,786,525,457,309,446,721,786,651,457,384,404,389,362,333,338,421,466,484,591,504,469,451,633,586,647,838,898,814,900,989,987,1306,1116,802,755,743,1232,1196,1060,832,1006,1124,995,696,439,631,830,590,810,1460,964,714,543,689,1006,1092,758,513,653,1078,1272,1290,1484,1516,1608,1554,1666,1588,1598,1328,1128,1152,1013,1007,814,518,544,815,796,998,1284,1760,1840,1262,1482,1522,1064,1172,1042,1108,1620,1086,1128,1084,705,896,1624,1744,861,579,871,891,574,496,544,538,396,659,692,620,781,778,643,623,660,708,956,1078,645,727,918,1058,864,518,412,361,332,335,337,333,324,311,268,301,396,347,359,372,345,391,502,440,365,365,367,363,286,291,319,334,284,297,445,540,472,414,419,402,354,354,504,634,661,539,429,387,365,438,415,293,329,321,457,802,811,1108,1356,1066,1100,1134,1023,1306,1444,1023,573,765,1074,860,730,600,424,374,702,1060,1284,1306,1058,672,603,558,488,653,912,985,946,928,957,1242,1322,957,1048,968,894,1398,1394,1340,1500,1538,1490,1506,1360,1158,1040,685,391,354,530,769,861,689,905,1066,1222,1504,1372,1246,1300,1292,1300,1456,1594,1192,839,481,347,383,314,283,471,1228,1480,1332,1418,1394,1356,1086,1166,1356,763,803,965,1184,1222,1418,1214,1096,1616,1820,1858,1694,1670,1598,1510,1446,1628,2038,2140,1562,1206,1346,1468,1662,1732,1626,1614,1600,1494,1248,1444,1196,1046,802,581,558,474,538,874,1200,898,721,1006,1130,1268,1338,1150,1178,1294,1184,1294,1414,1194,1034,728,467,411,625,1240,1560,1736,1434,1198,1116,791,477,441,430,484,402,723,1372,1318,1180,1742,1892,1346,1030,1022,906,676,735,952,1010,1200,966,954,1120,1064,1194,1112,1066,1156,1172,1192,996,952,1604,1786,1300,742,576,542,750,805,921,1268,1116,1364,1322,1144,1554,2522,1818,1320,1156,712,494,419,500,894,1448,1484,1182,692,593,1004,1550,1626,1260,838,852,865,857,1256,1550,1328,1502,1658,1848,2104,1982,1270,848,879,839,733,775,777,759,572,874,1458,1310,846,656,891,1038,935,772,976,1460,1568,1196,1072,1332,1512,963,966,1028,1086,1114,1000,811,724,828,1012,1116,1298,1412,1622,1586,1336,1398,913,933,1194,1498,1562,1750,1770,1454,863,729,998,1206,1262,1520,1548,1154,816,970,1096,955,903,756,705,866,1688,2288,2228,1544,1366,1436,1698,865,284,609,1086,1172,858,812,578,619,1140,2026,1388,1156,1032,1120,1188,1150,1232,1096,913,937,799,750,944,819,738,692,659,760,1004,1342,1416,1708,1962,1370,1186,960,1172,1070,1238,1292,1202,998,925,951,1066,1178,1102,1124,1318,1394,1300,1108,990,1290,1398,1008,792,1020,1024,992,1132,1344,1112,1194,950,820,837,661,813,1188,1090,885,905,1078,1038,1202,1282,1500,1554,1028,857,1021,1038,852,683,833,1016,1078,967,807,902,1024,1120,841,1058,846,486,461,527,726,1011,1130,974,1158,1436,1420,1023,1556,1704,1256,1108,1112,1300,1300,980,1142,1212,1116,1156,835,1044,1178,918,756,925,1188,1158,1126,1260,1348,1232,1046,1038,1032,778,547,612,944,701,670,1030,1015,814,767,711,870,1164,1328,1290,1490,962,536,630,916,1110,1194,1506,1732,1854,1756,1578,1298,1180,1176,1038,1172,1146,1028,844,913,1078,1044,1202,1150,1003,1038,1334,1450,1254,1362,1302,1226,1024,1132,1360,1586,1434,1328,1438,1638,1520,1424,1038,702,790,1176,1390,1356,1332,1490,1598,1432,1414,1738,1542,1318,1502,1556,1012,834,991,938,1158,1390,1198,1112,1082,1322,1376,1332,1250,1196,1232,1238,1262,1154,1188,1216,1064,1092,1154,1172,1342,1064,839,1064,1118,1007,1048,908,904,1010,987,773,819,1036,756,1072,1246,1092,834,1016,1140,654,904,1246,1362,980,1150,962,822,1234,1120,702,1046,1642,1122,1100,1502,1202,897,739,382,554,695,511,514,673,656,371,512,720,574,389,719,1214,1440,1500,1392,1362,1520,1428,1226,1194,1060,1064,1222,1346,1262,1130,1350,1248,1416,1550,1566,1236,1019,771,890,1302,1554,1848,1814,1318,1038,927,1256,1392,1282,1282,1444,1274,973,794,1046,1386,1506,1294,1356,1378,1344,1284,1308,1110,1126,1418,1300,944,1024,1274,1140,884,1374,1426,1460,1370,1234,1218,1274,1400,1352,1100,1150,1322,1426,1574,1494,2036,1198,1326,1262,1174,1174,1288,1236,1152,1310,1370,1308,1046,1230,1448,1202,1032,850,738,848,1298,1432,1356,1232,1246,1212,1314,1332,1256,1320,1236,1244,1112,614,415,662,968,1070,1218,988,912,1114,1023,1478,1594,1272,1032,915,948,1332,1546,1068,1021,1304,1348,1562,1342,740,568,932,1066,1194,1312,1336,1232,1072,1001,764,763,827,1058,1088,938,847,948,1318,1302,1172,1336,1406,1232,1190,1296,1478,1470,1772,1474,1018,1300,1350,777,523,541,767,670,692,1214,1266,1278,1116,1340,1364,1470,1378,1338,1440,1432,1416,1354,1458,1642,1346,1306,1322,1206,1262,1414,1344,1218,1218,979,609,415,385,830,1021,1086,1418,1426,1222,769,1015,1212,791,918,1256,1460,1260,758,583,867,948,939,1100,1023,964,921,1144,1196,1024,902,1044,910,786,871,714,789,899,875,1246,962,1650,2348,1604,766,879,1118,1130,1520,1248,676,473,391,328,467,588,568,755,695,1042,1638,2104,1732,1148,859,556,309,246,208,339,677,1192,1260,1256,1328,1182,1194,1234,1470,1346,890,1070,1518,1328,1160,650,662,679,558,564,772,774,576,485,465,650,889,844,647,594,1112,975,658,868,808,394,254,434,784,689,465,617,1088,1226,724,1260,1728,880,578,414,315,303,360,464,516,810,1300,1290,1294,1194,1009,887,818,969,753,705,711,365,300,292,332,615,1388,1412,1522,1280,775,740,1005,649,460,667,590,676,1168,764,1114,995,695,679,650,807,611,401,641,1150,1220,814,938,999,1038,619,816,1058,974,869,953,1168,1210,1224,1212,1114,1156,1130,1118,1082,1266,1054,1312,1678,1736,1652,1244,955,974,690,435,752,879,778,651,620,808,1160,909,456,526,674,749,1021,1252,1114,1906,2036,1288,1108,1026,1003,1136,1226,1230,1246,1038,660,868,738,1672,2458,1936,1450,963,483,448,420,335,330,337,316,323,300,274,291,308,291,274,259,288,317,269,217,213,253,399,560,735,743,735,631,562,520,456,371,342,444,509,415,698,819,618,455,422,329,262,248,296,356,344,314,317,297,275,265,319,365,376,327,300,315,319,285,279,280,279,276,268,277,317,463,444,352,309,303,301,294,302,292,271,274,275,290,279,323,339,325,334,337,312,298,289,297,315,331,269,290,305,312,325,312,273,269,275,288,294,288,306,339,379,393,430,421,422,417,430,423,423,432,417,432,487,502,469,485,483,473,488,493,481,462,449,434,408,403,431,456,448,425,407,427,420,419,423,427,417,401,389,382,404,393,418,463,468,449,425,421,456,463,435,428,420,428,418,414,437,442,426,404,412,436,443,448,460,456,454,487,511,490,497,506,495,454,436,466,497,486,454,435,422,418,418,427,415,403,392,384,390,405,401,385,383,384,383,382,386,376,371,390,390,384,384,376,368,368,390,433,451,458,468,479,484,461,412,386,364,363,361,352,352,361,358,366,367,358,352,344,331,331,339,340,344,344,342,349,363,381,399,404,419,412,435,433,437,460,467,469,471,457,449,440,422,406,391,397,396,394,379,371,365,365,375,387,391,396,394,373,392,387,394,405,405,402,397,398,407,401,415,401,394,384,404,415,378,365,373,371,375,372,335,323,340,348,334,329,329,327,330,376,397,395,393,380,358,334,354,346,322,322,327,328,328,328,323,317,308,306,303,309,320,296,309,309,309,316,324,318,328,329,328,331,336,336,339,330,318,328,352,345,357,364,370,373,373,355,331,340,343,323,318,311,315,333,347,345,337,337,334,327,323,323,321,322,317,311,298,299,303,288,288,287,286,286,286,286,283,281,286,292,296,306,309,312,308,307,307,307,327,320,323,344,330,320,324,334,336,337,334,331,334,337,337,338,346,358,370,374,372,380,383,377,371,366,362,360,353,335,325,339,337,332,324,325,319,323,329,320,325,329,334,325,337,317,325,332,329,326,328,334,339,332,328,323,317,317,311,305,299,305,317,322,335,336,328,325,338,344,346,353,338,353,365,365,358,366,365,353,357,349,346,354,324,322,338,330,326,323,323,330,332,344,358,365,362,356,356,356,358,360,355,349,350,344,342,336,340,354,354,361],[502,427,444,458,464,432,406,314,278,303,359,379,385,391,407,404,427,450,441,430,765,1096,1062,879,529,483,578,389,332,546,705,572,428,350,350,346,325,292,441,712,769,1054,1250,913,588,469,453,414,364,744,1450,1432,1446,1968,1860,1096,764,663,692,804,1110,1040,1188,974,966,1194,880,468,713,1130,1072,794,658,495,480,508,519,866,1190,927,582,658,554,699,1398,1090,1338,1692,1650,1642,1642,1518,1698,1404,1246,1312,1284,1266,783,554,617,694,1104,1232,1378,1626,1454,1410,1974,1246,989,964,944,1064,1272,1156,1282,1322,1060,1238,1588,1128,552,450,522,625,618,533,557,608,433,689,877,802,976,1114,911,778,633,579,797,908,980,1062,1142,1392,1350,890,537,534,447,423,400,404,345,349,290,320,410,386,354,329,331,433,501,456,515,426,331,388,372,299,262,300,249,223,355,491,477,401,418,535,594,641,644,986,1038,719,561,447,411,396,285,242,295,292,271,322,359,874,1184,803,696,937,937,1042,886,466,509,953,1338,1188,1094,1074,713,409,622,934,1260,1510,1282,1000,710,725,607,469,666,858,929,1034,1054,1206,1154,816,962,911,965,1380,1418,1408,1414,1444,1242,1100,1040,1028,878,670,583,709,977,1124,1614,1320,1466,1476,1210,1384,1390,1336,1212,908,761,1090,1602,1250,792,507,460,396,314,328,348,787,1310,1490,1188,1238,1858,1266,1230,694,444,463,503,746,1120,1632,1380,1260,1698,1884,1820,1500,1992,2146,2010,1628,1464,1542,1626,1344,1196,1440,1504,1396,1544,1686,1704,1752,1704,1648,1404,1208,1276,1096,1060,1190,871,789,1082,1362,1016,914,1222,921,1050,1262,982,1020,1128,1048,1210,1578,1512,844,670,698,678,851,1164,1340,1372,1286,1152,1020,762,645,897,631,623,550,1060,1336,1230,1240,1516,1620,1292,1128,1210,1013,691,539,741,805,951,1398,1682,1412,1282,1282,1094,1354,1498,1234,1190,905,655,1668,1620,1202,1178,1160,984,1224,1300,1250,1306,971,1142,1184,1106,1456,1562,1268,1158,1108,1088,963,821,653,798,1224,1156,894,552,396,412,518,747,878,825,696,841,928,1168,1098,700,408,473,942,1240,1192,1108,830,724,771,596,491,498,727,620,976,1236,963,584,547,811,1028,908,584,631,1126,1096,912,746,703,1032,1194,1284,1344,1152,794,801,950,998,982,952,1094,1152,1262,1734,2088,1946,1460,963,802,868,1042,1316,1572,1724,1832,1526,1017,910,851,1086,1394,1334,985,990,1328,1300,903,796,769,709,946,1456,1584,1404,1268,1272,1528,1592,828,519,792,1182,1104,1126,1254,1370,1354,1400,1560,1218,1138,1266,1178,913,1166,1528,1324,1021,1009,792,721,888,802,596,635,959,1174,1246,1394,1220,939,1052,1152,1186,1366,1404,1404,1484,1370,836,591,707,891,931,1062,949,846,1012,1016,1058,1026,977,1286,1348,1056,755,957,1150,1268,1126,1294,1168,922,800,1114,1056,645,740,871,880,993,1028,1010,1050,1336,1332,1574,1504,1074,1064,1176,1056,928,840,843,870,1058,1208,1322,1182,1102,1040,898,933,874,541,339,526,662,752,1128,1158,1200,1274,1064,924,1220,1576,1410,1230,1276,1376,1148,858,1020,913,928,1054,995,1088,1088,1084,1150,1072,1048,1166,1166,1200,1298,1372,1040,969,985,818,579,543,877,900,763,1116,1086,996,911,630,835,1418,1302,1180,1266,1164,989,821,1118,1272,1324,1356,1506,1662,1814,1674,1362,1246,1076,997,1082,1134,1134,1102,1164,1270,1176,1370,1080,1034,1296,1546,1476,1186,1082,1268,1230,1050,1244,1614,1936,1672,1666,1650,1428,969,985,849,587,853,1122,1232,1306,1182,1344,1404,1304,1454,1288,1082,1072,1184,1166,821,550,775,1078,1294,1376,1208,1286,1198,1188,1082,895,965,1256,1156,1028,1370,1334,1388,1448,1206,1038,1050,853,979,1154,1100,981,816,858,1138,970,994,1080,944,750,987,1168,1028,943,879,915,769,926,1062,659,779,1128,1444,863,476,637,929,1296,1238,811,1050,1428,877,1470,1512,1232,676,458,433,425,347,552,929,1236,1054,325,485,600,460,529,772,1284,1506,1520,1482,1174,1172,1418,1354,1234,1212,1122,943,1108,1230,1306,1456,1148,1007,1318,1136,788,877,1138,1218,1410,1468,1800,1746,1452,966,1030,1454,1366,1116,1216,1222,1088,1198,1178,1344,1360,1318,1260,1398,1600,1540,1408,1420,1394,1446,1398,1300,1136,1448,1206,1090,1046,1414,1428,1436,1116,811,814,1042,1208,1026,1082,1852,1576,1470,1484,1782,2092,1020,956,1340,1174,1366,1896,1606,1544,1906,1740,1452,1126,1074,1306,1262,976,790,1210,1824,1794,1354,1300,1174,1382,1334,1174,1026,1082,1126,1118,1184,958,522,616,922,806,1052,1472,991,1013,1018,1342,1854,1588,1518,1498,1216,1104,1448,1304,1094,1190,1050,1086,1256,862,520,605,1064,1340,1348,1256,1266,1206,912,1024,1136,1248,963,1016,1164,1332,1142,1056,1248,1236,1232,1410,1736,1468,1340,1434,1570,1528,1256,1054,1074,1152,936,625,802,649,811,808,1042,1426,1280,1164,1202,1208,1142,1224,1230,1060,1144,1456,933,721,1216,1676,1494,1210,958,765,1013,1304,1184,1490,1470,1148,788,429,446,849,1192,1454,1578,1484,1410,1260,1088,894,656,1108,1432,1396,973,460,394,435,391,418,673,1114,1110,1072,1238,935,799,981,1464,1260,1040,1110,918,1126,1450,1504,1586,1316,1874,1552,1790,849,613,844,779,947,855,443,532,593,620,642,895,843,983,1050,1108,1122,1186,1048,1144,1526,1186,367,321,287,302,535,948,1366,1468,1152,1128,1336,1554,1906,1444,838,1434,1228,1322,1550,1021,647,500,347,369,443,376,332,404,384,494,963,991,501,437,1044,954,642,769,495,276,313,865,1296,911,649,564,1060,1266,1056,1404,1376,1042,778,412,432,407,601,605,448,705,1282,1330,1384,1314,1222,913,639,774,695,625,656,441,356,419,676,1028,1396,1414,1542,1452,1136,1202,1224,698,576,565,571,540,730,759,1074,906,587,554,890,1048,673,463,748,966,961,737,901,840,843,695,965,1112,1036,1132,1288,1244,1178,1328,1288,1132,1114,1170,1208,1164,1064,1110,1650,1756,1694,1794,1578,965,827,786,635,694,561,518,518,609,1334,1698,1072,708,1154,1562,1580,1606,1676,1548,2032,2186,1678,1304,1318,1490,1494,1424,1244,1154,849,520,1128,1036,1902,2912,2274,1700,1176,581,493,418,374,332,326,308,315,297,286,287,270,305,320,305,334,335,279,229,241,257,307,406,629,726,731,662,568,480,410,323,355,543,521,501,735,687,482,366,345,322,281,226,283,375,343,336,320,295,282,277,298,348,363,313,295,328,334,310,290,263,257,259,270,281,331,394,371,311,300,335,320,293,273,284,285,306,287,280,285,300,293,292,315,305,283,291,295,367,518,471,335,295,282,280,307,314,303,308,312,305,299,298,306,350,385,393,419,414,411,407,411,418,422,420,422,423,445,490,472,480,475,469,497,500,485,478,467,433,418,415,417,428,435,440,419,401,396,405,426,423,394,394,401,383,397,387,395,451,481,469,441,428,450,473,464,437,422,450,438,428,426,436,426,405,396,402,430,448,458,465,445,474,500,492,490,500,501,482,451,456,477,473,438,419,413,425,411,425,419,405,394,384,385,390,388,386,382,371,370,378,382,384,374,376,387,387,383,380,370,374,396,430,444,453,457,466,455,455,442,410,378,372,363,361,357,358,361,367,362,352,330,328,333,339,340,339,334,332,339,340,357,376,396,400,426,419,428,437,446,458,453,445,477,467,456,443,429,409,399,402,390,392,390,367,374,379,372,365,373,383,386,379,407,394,394,402,406,406,398,391,413,416,411,408,405,402,412,426,399,385,373,363,362,378,350,328,332,346,336,329,327,334,336,364,383,376,368,360,356,335,358,330,317,311,312,316,315,310,309,311,311,308,309,310,314,298,304,316,301,306,316,318,325,321,322,332,337,343,343,328,316,328,357,364,352,349,358,361,352,335,328,336,334,322,309,303,317,336,339,342,347,350,331,330,322,325,325,321,318,312,307,300,296,292,290,286,288,288,286,287,278,277,284,296,302,307,307,306,303,307,307,314,318,318,317,338,338,326,329,329,332,330,335,338,338,337,336,334,343,356,361,370,382,383,377,378,383,379,375,367,354,338,337,319,332,332,325,325,319,323,324,332,335,334,344,328,335,330,332,332,330,325,324,323,330,335,337,328,319,317,316,313,316,317,322,328,334,332,332,343,353,354,354,339,329,357,356,353,351,366,359,348,362,332,336,348,343,323,330,332,335,332,330,330,334,339,348,359,361,344,348,356,361,356,352,355,352,344,347,338,326,349,362,364],[420,382,420,431,378,351,316,324,399,388,396,389,393,412,413,391,391,425,462,593,872,938,810,473,338,408,475,404,395,426,492,513,431,357,318,290,268,252,473,1068,1306,1210,1194,995,886,812,629,482,484,1084,1728,1426,1182,1322,1438,773,572,576,899,1344,1272,1104,1184,1288,1270,1074,615,477,1098,1682,1250,683,732,669,632,806,797,781,1042,919,727,628,527,952,1302,649,533,1112,1614,1722,1302,1036,1172,1106,963,1132,1128,1032,813,938,1048,1078,1394,1520,1296,1130,1270,1852,2222,968,642,572,600,808,956,1130,1356,1524,1490,1632,1446,963,583,455,428,562,614,600,544,557,462,636,759,639,902,908,517,449,468,583,1007,857,997,977,1130,1330,1220,940,681,579,415,432,412,422,384,434,356,329,393,386,349,327,315,347,419,454,465,364,289,286,282,222,208,289,309,311,365,417,427,400,514,832,1140,1642,1302,1162,937,895,1052,790,421,390,331,268,306,284,214,304,322,478,708,536,635,1112,1005,890,1038,951,708,907,1350,1288,1382,1600,1118,663,820,760,883,1052,1044,963,1276,1216,777,638,995,1082,1004,1226,1074,980,1262,1066,970,583,1122,1578,1564,1466,1348,1302,1030,857,1098,1166,921,902,649,659,897,805,1482,1638,1466,1406,1318,1270,1174,1134,1086,822,507,673,1166,1198,963,598,803,903,529,373,463,907,1314,1466,1782,2108,1756,1044,619,475,491,424,615,889,1546,2194,1952,1722,1844,1740,1498,1352,1780,2420,2114,1270,1076,1310,1396,1458,1584,1472,1298,889,1098,1308,1532,1600,1678,1688,1598,1616,1488,1230,1336,1316,1224,1250,1338,1366,1060,1138,1100,866,1202,1200,649,736,891,755,1090,1362,1130,810,824,848,735,941,1266,1164,774,801,949,923,874,743,1032,926,757,742,1050,1142,1106,1190,1280,1396,1344,1140,1232,1007,839,715,1088,1166,1023,1418,1798,1594,1622,1592,1130,1374,1224,1090,1492,1580,1110,1694,1958,1288,1011,1350,1372,1158,1294,1122,767,847,1180,1312,1354,1178,1168,1300,1274,1382,1338,853,1116,1062,1174,1440,1598,1330,735,421,374,411,447,604,552,420,452,370,507,429,403,578,965,1158,1188,1292,1154,691,606,618,529,612,583,680,650,1034,1298,1066,860,740,813,912,733,582,841,1382,1328,974,661,508,453,830,1224,1316,1008,866,1172,1558,1282,1242,969,786,816,1016,1266,1354,1186,959,814,855,679,686,957,1216,1502,1558,1824,1604,1238,768,757,1102,1252,1122,1048,1450,1528,1096,1394,2050,1142,1086,1154,1218,996,951,1184,1674,1902,1202,971,1188,1404,1164,927,1128,1648,1598,1290,1320,1482,1506,1560,1544,1340,1436,1572,1398,1400,1378,1134,1032,827,695,620,676,948,1274,1374,1168,832,624,1060,1302,1376,1478,1326,1096,987,839,666,790,678,839,876,681,639,846,1352,1280,1600,1606,1210,1458,1294,1044,735,725,787,901,1122,1212,1074,844,752,1132,1028,628,965,914,724,993,1274,1078,979,1146,1310,1554,1318,1172,1336,1282,1218,884,1106,1150,1092,1338,1498,1354,1316,1252,1266,1003,641,665,578,450,694,616,722,1056,952,727,676,597,683,974,1218,1212,1086,912,1080,852,803,1060,866,1176,1146,1126,1088,836,1154,1426,1352,1434,1318,1106,1322,1310,1224,1140,1005,900,724,569,572,701,1015,1108,1344,1200,1224,1316,1070,938,1194,1070,1154,1186,1250,1262,1122,1344,1490,1466,1490,1566,1376,1622,1632,1418,1172,966,819,730,873,1170,1312,1190,1007,955,1260,1132,1342,1394,1486,1576,1220,1218,1422,1260,1128,1366,1360,1336,1714,1766,1540,1086,1090,1502,1296,942,1042,1094,1082,1238,1382,1572,1266,1484,1488,1078,1062,1140,1164,1268,1056,615,839,1198,1186,1188,1242,1462,1462,1366,1344,1206,1204,1294,1050,972,1292,1110,1194,1478,1116,786,994,1116,1144,1218,1216,1356,1366,1080,999,998,1058,1144,1218,922,598,1023,1336,1009,1082,1626,1306,1196,939,713,505,924,1142,700,580,897,1362,1472,1582,1132,1052,897,651,1468,1478,1194,606,405,374,320,291,494,921,1128,783,347,426,425,590,843,1188,1494,1444,1376,1206,1036,1390,1422,1362,1160,1150,1052,792,1016,1184,1428,1704,1306,1042,1015,927,713,948,1354,1788,1840,1468,1422,1280,943,797,1278,1548,1412,1294,1210,1060,733,1021,1318,1494,1438,1154,1552,1610,1462,1466,1488,1462,1600,1630,1356,1668,1928,2320,1572,1100,1030,1318,1580,1534,1116,755,897,1188,1302,1094,1208,2020,1708,1600,1504,1602,1564,1088,1152,1514,1400,1710,2322,1838,1762,1732,1598,1478,1350,1448,1448,1212,1124,1220,1468,1632,1314,1096,1180,1262,1278,1406,1212,988,1052,1046,968,1126,902,730,821,885,657,845,1044,913,1013,1084,1470,1780,1724,1498,1476,1396,1258,1100,1136,1166,1240,1102,945,1338,1188,716,834,1248,1256,1132,925,1011,1126,955,1015,1206,1302,1108,1009,1106,1206,1208,1208,1202,1486,1636,1672,1654,1622,1462,1326,1396,1348,956,893,943,933,901,565,767,1064,1166,1024,1098,1232,1166,1208,1308,1340,1394,1250,1140,1094,1534,1708,1116,1032,1176,1564,1672,1378,1094,831,1064,1554,1610,1776,1666,1392,904,758,846,1017,973,897,1250,1410,1464,1484,1370,1188,1178,1580,1478,1314,907,555,408,390,349,439,989,1418,1360,1596,1013,625,655,834,1224,1372,1164,1018,1042,1258,1504,1638,1232,1576,1758,1632,1538,852,615,832,957,1078,883,749,648,721,904,1060,1300,1138,1284,1438,1196,1220,1212,812,1058,1732,1582,769,461,308,323,856,1070,1300,1582,1302,1322,1520,1378,1914,1816,1180,1078,1080,1654,1394,1098,1084,763,469,345,290,340,405,562,714,960,1054,709,484,502,897,985,865,779,456,269,354,1218,2370,2424,1654,777,749,1166,1146,783,645,764,909,832,727,634,717,788,685,701,861,1044,1242,1234,1180,937,797,1009,808,630,604,469,483,470,640,939,1080,1136,1508,1484,1066,1068,1246,949,860,1146,1018,863,1144,1210,1070,1090,1078,1154,1360,1184,709,617,1010,964,922,985,1204,1234,1080,1158,1396,1454,1408,1526,1582,1444,1478,1506,1426,1308,1282,1284,1372,1368,1334,1882,2182,1822,1662,1656,1766,1488,1256,1048,659,656,790,1082,1262,1316,1750,1508,1136,1154,1646,2058,2226,2430,2720,2484,2078,1698,1178,905,942,1005,814,844,772,764,898,747,1210,1001,1750,2952,2266,1584,897,478,433,401,371,292,322,326,317,297,287,302,311,332,333,314,314,293,248,217,241,276,299,300,407,605,789,747,575,416,410,308,335,673,714,809,672,452,325,302,350,364,321,281,249,276,296,332,324,314,288,290,292,297,304,290,277,292,282,279,260,261,268,272,282,305,352,404,383,307,346,394,318,271,279,297,316,312,288,289,294,293,300,308,316,290,274,265,273,285,309,298,279,271,278,290,307,321,336,334,306,282,295,295,358,410,386,411,422,407,399,397,407,410,414,415,428,443,429,482,486,468,471,481,487,493,495,477,466,422,420,427,419,413,429,445,423,409,411,417,433,438,417,393,406,396,382,385,389,427,477,484,458,448,437,465,453,466,434,444,436,408,404,426,421,416,416,407,429,447,447,466,451,465,490,492,490,490,500,482,433,439,445,448,433,430,421,427,412,413,412,408,403,390,382,384,384,382,371,388,381,384,383,388,388,378,381,390,389,381,370,366,378,393,418,448,453,458,457,460,470,446,395,390,376,372,370,366,366,364,357,349,344,340,337,330,330,332,326,331,352,335,349,375,396,410,426,424,417,426,456,457,459,441,458,454,455,447,438,414,406,404,390,392,387,368,386,371,372,384,385,385,382,394,392,391,401,397,398,407,411,405,410,416,419,418,410,410,410,397,395,398,390,384,352,378,358,337,333,350,348,336,325,342,348,337,397,379,374,360,339,346,342,323,300,293,300,304,311,315,323,323,315,303,304,310,303,295,295,316,314,301,312,317,317,316,314,324,335,336,335,327,323,331,355,371,367,365,368,361,352,350,349,339,331,321,311,310,315,321,330,336,340,352,327,331,336,330,322,318,315,308,300,296,292,290,286,296,297,298,292,292,286,292,295,291,294,302,307,305,306,307,309,330,318,324,321,327,336,335,326,324,328,334,344,348,340,337,332,337,349,356,362,379,384,383,379,377,380,374,359,356,350,344,343,341,332,321,324,326,326,328,316,332,325,324,321,348,338,332,330,328,326,329,329,334,341,334,332,325,328,326,329,332,332,332,330,328,324,322,328,339,337,334,354,339,337,361,362,358,358,368,361,344,343,336,344,334,337,329,330,337,337,330,324,325,332,343,349,358,368,348,353,358,352,348,352,355,354,346,346,343,324,337,343,345],[409,422,418,409,320,271,277,335,432,433,403,379,395,428,420,397,397,397,583,857,771,654,725,540,442,423,373,349,346,329,417,435,362,327,292,269,289,284,327,567,814,1094,1092,1216,1552,1356,1262,852,736,777,1190,1252,965,1174,932,487,553,723,1244,1522,1306,1396,1350,1100,1140,865,608,747,1122,1504,844,702,1112,738,785,1108,960,848,949,1088,921,941,855,1144,1080,1021,1118,1344,1742,1546,1148,693,443,674,800,1346,1238,1005,852,835,1078,1178,1244,1208,935,846,1220,1826,1242,775,746,603,746,1132,1166,1030,1128,1488,1574,1398,1096,940,823,630,736,587,459,531,480,462,563,747,839,593,691,711,472,469,601,641,885,914,735,610,783,934,783,756,690,566,477,411,397,417,406,415,369,348,381,416,384,361,338,332,343,392,348,324,348,278,221,218,249,329,384,452,424,351,352,394,437,452,781,1332,1374,1202,979,1098,1320,1294,662,433,405,370,380,297,257,318,343,404,726,949,800,1015,870,729,1038,1444,953,649,1096,1158,1090,1426,1208,807,1042,938,771,534,626,748,1074,1174,781,624,1015,1342,1458,1346,1158,1046,1122,751,584,450,841,1168,1476,1684,1546,1378,1152,1034,1232,1178,1086,1298,1332,985,800,900,1476,1704,1456,1312,1172,1016,755,1200,1510,1176,606,498,814,1170,1152,891,1280,1490,1210,1036,719,1384,1660,2270,2710,2084,1126,961,943,1086,962,641,803,1276,2122,2270,1736,1586,1618,1626,1402,1532,1738,1806,1500,1000,1106,1238,1388,1296,1510,1376,996,704,1144,1372,1292,1322,1478,1698,1698,1728,1722,1710,1728,1264,1162,1422,1268,1256,1618,1554,1362,1206,1244,1100,752,933,1130,824,755,1013,1174,1286,1228,1003,777,876,969,941,715,625,577,1020,1198,1124,1084,792,656,824,1052,954,1294,1466,1482,1532,1576,1194,929,1302,1184,1060,1430,1374,944,1009,1346,1390,1268,1134,1048,813,590,616,1194,1288,902,951,955,714,529,760,1064,860,1238,932,836,962,1003,1202,1302,1216,1312,1312,1216,1040,1020,871,1060,1192,1086,919,1256,1308,1040,898,666,604,560,725,587,635,525,448,353,337,423,702,1172,1390,1372,1386,1208,760,857,606,568,667,659,629,860,1426,1302,831,842,940,861,631,626,1140,1308,1636,1518,1060,591,419,417,449,512,544,803,1128,1426,1056,777,1048,1078,1128,1286,1354,1462,1334,1098,1158,1108,1320,1144,827,689,856,1152,1416,1542,1760,1730,1346,949,962,1044,1316,1490,1474,1548,1808,1848,1536,977,789,850,1134,1078,1036,1326,1792,1972,1466,1332,1438,1284,1060,1023,1326,1494,1368,1380,1594,1736,1666,1366,1534,1534,1400,1512,1720,1770,1664,1576,1478,1396,1140,850,1066,1382,1852,1444,845,574,490,726,1210,1472,1332,1208,999,661,874,1028,1017,711,860,821,722,669,968,1396,1146,994,1162,1204,1542,1380,904,781,670,623,677,1015,1216,1084,936,979,939,850,857,998,999,903,996,1462,1406,1230,1354,1538,1468,1290,1230,1120,926,984,940,1390,1384,1528,1648,1386,1164,1268,1272,1246,937,767,874,604,469,806,816,811,691,477,408,546,857,915,834,1114,1310,1376,1172,1062,887,1052,1050,827,1086,1138,1090,1098,857,1194,1330,797,859,1042,1082,1340,1382,1192,1100,1230,1274,856,595,630,635,854,1066,1310,988,1100,1676,1350,1306,1438,951,1152,1182,1172,1214,1214,1334,1566,1462,1480,1272,1158,1378,1562,1490,1186,945,761,695,955,1172,1252,1164,1026,789,1116,1372,1464,1548,1592,1528,1376,1280,1440,1162,1160,1516,1398,1412,1752,1570,1086,1012,1428,1402,1116,899,1062,1148,1148,1236,1534,1466,1360,1626,1534,1268,1120,899,901,961,1252,1042,1012,1232,1232,1140,1244,1446,1476,1522,1650,1556,1238,747,871,945,898,849,996,998,751,893,1158,1076,1090,1252,1182,1414,1586,1154,773,1122,1244,1224,1366,1072,1042,1412,1398,1262,1184,1024,1148,1324,1220,1206,865,1052,1032,814,808,1086,1520,1266,1600,1112,948,693,777,1178,1300,1172,1094,1038,483,670,550,475,462,394,296,305,398,646,893,1076,1186,1266,1274,1356,1218,1206,1322,1126,1234,1244,1224,1136,1064,1210,1302,1430,1458,1250,1226,1444,1696,1160,1050,1406,2614,2114,1308,946,943,880,1064,1420,1134,1028,1230,1210,1222,841,1264,1450,1324,1106,1136,1594,1664,1332,1250,1584,1636,1730,1702,1584,1854,2014,2232,1730,1220,939,1146,1536,1488,1152,1256,1332,1424,1528,1284,1360,1584,1536,1494,1416,1356,1498,1432,1308,1400,1536,1418,1400,1308,1386,1360,1282,1232,1204,1364,1152,822,1202,1448,1400,1462,1438,1312,1224,1490,1548,1478,1226,1072,1214,1148,1128,1266,1020,999,796,771,843,895,911,948,946,843,1114,1642,1802,1572,1594,1394,1082,969,1058,1038,1392,1236,943,1206,1314,853,760,1084,1160,902,697,744,1038,930,768,971,1256,1274,1112,943,688,819,1038,1266,1316,1088,1168,1330,1506,1288,868,1018,1296,1306,1388,1246,1238,1066,584,852,1348,1330,1202,1250,1104,1034,1206,1396,1452,1452,1246,1044,1088,1570,1542,1296,768,620,1252,1656,1428,1410,1522,1140,1328,1600,1730,1466,1014,1086,1490,1198,1098,1194,934,1292,1498,1420,1338,1192,1308,1448,1422,1282,1202,1028,670,534,852,580,444,699,1224,1208,1232,972,850,974,746,515,762,985,974,862,859,966,1198,1292,1246,1172,1644,1780,1340,937,588,619,835,957,724,458,479,739,1310,1418,875,704,848,1000,1152,1030,1004,1142,1162,1554,1266,593,699,792,825,999,1148,962,1116,1598,1388,1598,1660,1478,1334,998,1280,1156,772,1018,1108,1058,1028,875,886,827,800,774,822,919,666,466,493,528,786,965,946,734,491,309,337,1136,2946,2964,1192,417,711,1086,915,438,443,659,1060,1262,1088,821,696,1052,1174,884,739,859,1172,1178,983,819,970,1048,688,644,797,1009,743,408,521,685,599,778,1240,998,921,635,858,796,1180,1370,1106,1138,1252,909,745,1100,1182,1226,1184,1004,796,714,935,1124,1272,1106,1126,1392,1460,1372,1156,1024,1262,1406,1494,1510,1444,1430,1368,1256,1304,1400,1332,1312,1450,1650,1600,1492,1456,1456,1680,1490,1292,1102,1122,1356,1472,1664,1668,1346,1738,1478,1268,1294,1376,1492,1854,2240,2496,2266,1908,1304,634,461,541,647,816,907,951,899,930,731,1106,1132,1506,2652,1976,1150,773,409,334,403,381,320,332,343,332,313,295,313,308,292,285,302,294,282,245,217,213,236,245,260,316,428,540,506,457,392,427,359,386,642,807,829,572,333,289,357,457,454,357,370,384,312,250,256,298,305,278,284,294,291,300,297,280,265,257,288,267,262,262,291,315,331,363,331,309,290,327,339,278,284,309,317,347,332,298,295,289,313,297,297,291,277,280,278,266,254,249,287,292,274,277,295,321,334,323,297,294,301,309,316,367,388,403,428,415,402,372,403,425,436,418,411,432,440,437,477,486,484,501,466,481,492,488,485,478,442,416,426,432,413,419,431,419,407,410,408,417,415,404,386,394,393,383,393,402,410,459,486,449,446,457,453,448,459,450,432,431,434,418,416,414,416,426,418,405,445,448,461,456,459,472,477,482,484,475,482,465,435,430,431,433,440,430,422,412,409,409,411,408,396,389,390,390,386,378,366,375,386,376,375,378,378,383,390,383,378,371,368,374,389,410,442,457,452,448,448,453,461,419,398,397,390,380,373,368,362,358,354,340,332,333,331,327,328,328,327,340,328,347,379,399,415,423,423,425,419,463,474,463,451,445,447,449,443,431,411,390,394,397,392,386,374,379,361,363,372,369,369,375,384,396,403,392,403,411,415,416,426,419,408,419,417,419,420,416,412,408,398,399,395,362,378,372,334,344,354,346,334,329,347,354,336,380,393,383,358,339,330,334,325,297,286,298,297,284,286,298,320,308,294,296,303,292,289,287,294,320,319,312,308,311,310,306,319,336,336,333,325,309,316,347,369,369,359,355,353,352,350,345,343,336,323,317,318,320,323,324,327,330,331,321,317,312,310,314,317,309,305,305,298,297,297,279,295,297,290,286,286,287,291,287,287,294,295,290,298,306,312,309,327,323,320,325,331,337,335,329,328,324,324,328,328,330,336,341,350,356,356,358,365,370,374,378,401,384,374,370,366,349,341,337,338,336,326,314,338,329,324,339,330,332,339,335,344,348,334,329,325,326,321,321,346,326,324,324,329,332,330,325,329,339,339,343,341,337,330,332,336,337,337,343,343,344,338,337,351,353,365,362,362,351,349,346,357,338,335,350,344,332,328,323,325,332,343,354,350,358,356,356,353,348,350,353,360,360,340,344,333,330,337,337,343],[409,406,383,372,303,268,294,329,372,398,395,382,395,415,421,424,464,631,895,680,511,542,567,534,544,465,400,379,321,319,359,472,388,340,328,325,327,313,396,638,995,1294,1276,1396,1702,1332,1418,1224,1012,626,698,850,749,895,634,476,576,919,1672,1572,1200,1664,2076,1848,1700,957,925,1544,1672,1224,776,1092,1228,882,1266,1374,1092,826,971,1218,788,857,1282,1136,938,1256,1442,1504,1642,983,750,753,557,816,1244,1274,919,974,1064,1015,1072,927,1126,1360,1220,1038,1162,1382,885,853,872,604,1048,1526,1208,1196,1642,1658,1814,1410,928,703,767,921,1158,911,648,548,492,562,584,654,857,514,400,412,514,563,577,617,661,623,554,556,701,797,801,788,714,541,430,392,386,410,407,400,411,434,505,546,417,393,386,370,359,357,335,355,392,358,276,236,216,294,412,511,405,296,333,432,460,451,432,429,553,698,875,913,989,883,505,425,408,392,357,327,332,358,376,491,827,1214,1140,661,914,720,530,753,662,610,884,891,1064,1600,1452,1198,1232,753,380,377,751,1152,1094,830,563,604,948,1346,1300,1404,1404,839,513,397,458,462,419,631,1086,1512,1588,1764,1328,1192,1300,1282,1320,1380,1312,1134,1190,1162,1026,1120,1009,1104,1194,1374,1136,1622,1694,1404,794,532,794,966,770,1006,1496,1806,1914,1854,1382,1414,1324,1490,1528,1416,1342,1106,967,1310,1394,941,1036,1384,1808,1632,1524,1578,1584,1524,1446,1440,1362,1312,1300,1042,1106,1200,1372,1138,1090,1132,1116,1074,1240,1286,1178,1322,1264,1482,1702,1710,1736,1796,1598,1342,1230,1308,1744,2918,2796,1646,1518,1606,1448,959,1074,1130,1136,1216,1112,1352,1460,1060,1000,1334,1436,1072,893,673,1024,997,870,1009,1168,1472,1508,1294,688,909,1406,1120,1192,1356,1490,1418,1456,1356,1056,926,922,972,1144,1584,1172,1016,822,901,990,1492,1464,921,638,498,603,690,521,448,448,446,411,522,529,727,1322,1234,1252,1254,1012,1060,1304,1314,1384,1210,1098,749,679,893,1001,1186,1012,865,1114,1192,1116,1204,1102,1026,948,927,1116,1248,1007,874,592,481,678,683,731,1034,1340,1308,1023,961,1032,951,1048,738,608,708,1092,1418,1054,768,872,889,894,635,550,818,1224,1190,1030,962,691,530,510,503,565,506,888,1068,1046,645,942,1082,1132,1358,1298,1294,1344,1312,1312,1312,1238,1342,1222,1164,952,850,864,1062,1378,1588,1736,1834,1440,1028,952,1056,1234,1500,1702,2066,2116,1560,961,636,652,1202,1450,1282,1450,1456,1528,1482,1490,1578,1544,1498,1476,1412,1082,991,1062,1260,1400,1394,1202,1306,1356,1378,1542,1570,1578,1750,1806,1678,1330,887,883,1134,1336,1642,1032,571,560,587,878,1192,980,871,1096,1030,1266,1230,860,1009,1017,874,790,846,845,845,1138,1238,1100,874,1176,1384,1230,845,769,626,615,781,1122,1334,1264,1106,1240,1106,1182,1166,969,1202,1294,1132,1168,886,774,1234,1584,1554,1502,1232,1106,940,1016,896,974,1002,1074,1444,1312,1284,1512,1274,1300,1110,998,882,573,875,1182,1176,1124,792,529,351,444,712,742,697,1118,1196,1380,1250,1052,908,951,1088,1044,1102,1108,839,605,712,1244,1570,988,442,751,1148,1164,1200,1066,794,722,789,771,650,844,960,858,999,1102,842,1148,1670,1472,1560,1616,1418,1636,1350,1344,1266,1126,1584,1616,1378,1334,1292,1296,1202,1402,1724,1212,897,964,1272,1256,1172,1015,1019,843,765,1174,1534,1592,1672,1614,1448,1524,1406,1316,1136,1208,1378,1490,1696,1656,1316,1006,1052,1136,835,1012,933,1130,1282,1176,1284,1476,1250,1180,1340,1260,1256,1178,1162,1064,1000,1126,1230,985,1018,1128,1078,1178,1306,1310,1190,1144,1354,1054,1038,1484,1156,807,973,932,758,800,1236,1224,1110,1218,1552,1148,1368,1612,1286,1202,1474,1354,1432,1310,1040,1220,1248,1166,1282,1056,676,839,896,1148,1344,1310,1400,1168,636,545,797,1116,1032,1300,1184,828,778,1406,1506,1266,1228,1013,838,795,1160,717,583,610,771,609,417,768,1106,1228,1284,1336,1372,1344,1392,1354,1758,1656,1306,1196,1312,1216,1312,1466,1344,1306,1204,1300,1106,1148,1114,955,1158,1190,1158,1300,1196,886,650,567,716,974,1254,971,1362,1408,1198,1172,953,1040,1124,1034,1076,1288,1208,1324,1356,1468,1512,1486,1290,1316,1522,1590,1632,1708,1656,1366,1050,1170,1368,1278,1068,1584,1456,1458,1754,1638,1322,1410,1430,1222,1140,1248,1506,1296,1212,1386,1166,998,1216,1410,1366,1504,1554,1410,1256,1230,1246,1192,1334,1422,1394,1448,1456,1340,1394,1372,1300,1338,1138,1218,1548,1830,1548,1366,1100,818,752,907,953,814,745,922,944,525,552,1002,1390,1508,1488,1364,824,743,1170,1470,1250,1050,1092,1042,1146,905,901,935,890,946,1060,1013,1176,987,643,926,1266,1154,871,966,1354,1584,1348,1304,1150,1314,1424,1486,1648,1322,1018,1300,1394,1370,1356,1196,1120,917,949,1274,1358,1088,872,1188,1116,1268,1548,1846,1430,1058,1140,1168,1256,1268,1318,1328,807,574,965,1456,1656,1660,1690,1266,1268,1432,1488,1140,750,1128,1420,1036,962,1094,1288,1296,1238,1262,1238,1248,1266,1366,1466,1224,916,883,846,800,1192,1019,571,709,1234,966,1023,1064,652,633,518,268,399,570,736,893,982,1300,1340,1308,1242,1356,1546,1298,1368,1236,760,584,1122,1516,968,741,679,774,1010,864,570,561,645,1023,1023,680,949,1284,1648,1830,1496,1096,1094,1466,1128,905,1056,1180,1418,1532,1446,1920,1582,1508,1208,876,918,854,876,1300,1104,836,930,1086,954,988,1013,704,713,751,515,440,456,470,788,928,1122,713,372,329,702,1296,2360,2356,551,451,789,1208,1224,677,533,600,920,1100,1018,959,985,1080,1118,1056,1018,1206,1488,1544,1022,799,910,1023,830,735,968,1098,716,486,892,918,599,781,954,725,721,707,998,717,739,1056,1114,1174,1288,630,660,855,1108,1070,1322,1306,954,604,722,973,1002,1118,1262,1130,1128,1086,1028,855,874,1196,1296,1060,1082,1050,1142,1216,1144,1028,989,1216,1312,1186,1268,1288,1270,1348,1522,1524,1476,1392,1500,1506,1628,1628,1700,1330,1524,1166,1236,1494,1340,1372,1666,2014,1954,1692,2238,1810,777,548,857,1298,1542,1428,1382,1230,728,606,1090,1234,1358,2210,1352,925,908,558,380,392,395,373,364,371,349,327,293,289,278,300,238,278,297,294,269,229,233,254,274,282,322,388,415,439,409,386,396,364,379,457,614,702,487,368,321,296,329,355,314,377,443,370,275,246,276,308,293,281,288,296,303,287,276,310,470,474,339,274,255,288,360,344,316,302,341,297,276,301,286,292,318,340,365,342,306,294,287,292,307,300,279,266,311,319,294,281,285,308,313,295,279,282,301,324,307,296,299,291,312,353,376,377,385,410,391,379,380,419,432,431,413,402,420,432,430,459,486,481,499,448,463,481,481,506,495,464,436,426,431,428,425,435,413,386,397,399,390,389,389,381,381,389,389,401,427,427,453,495,475,459,477,452,446,456,454,428,422,426,411,400,419,413,424,426,421,425,429,451,455,458,451,462,476,487,465,477,465,443,429,422,419,409,409,412,411,408,403,408,409,398,390,388,389,386,381,369,372,383,368,360,366,375,381,381,378,378,371,370,374,381,399,430,450,458,446,434,437,462,442,410,404,396,382,367,365,361,361,364,345,331,330,328,337,336,328,332,342,332,332,364,391,414,423,425,432,409,423,449,441,441,443,441,443,434,423,397,406,406,402,390,371,373,379,359,355,363,365,372,383,384,379,382,380,400,385,386,390,415,411,408,417,405,421,424,417,410,401,398,392,391,380,388,380,356,333,327,337,328,322,325,340,333,372,398,372,354,346,335,340,322,300,284,285,296,266,277,289,297,297,291,287,290,286,290,290,298,322,311,300,296,303,305,306,312,311,314,331,331,313,343,355,359,353,347,343,340,335,335,337,336,334,323,314,318,324,317,312,311,317,317,317,315,317,318,318,318,311,310,303,296,295,295,275,286,292,286,286,286,286,283,286,292,292,295,298,310,312,312,312,326,330,321,317,338,348,330,334,332,325,324,325,330,335,336,337,332,328,341,365,370,377,379,387,375,384,387,383,365,350,339,336,330,332,334,324,326,332,325,332,336,350,356,346,337,341,330,332,332,332,330,337,319,323,330,325,324,329,330,325,325,334,334,344,350,346,349,361,353,337,336,336,336,339,344,353,353,349,357,353,369,353,356,371,362,349,348,343,334,330,335,330,332,339,348,362,350,344,353,353,350,348,341,344,353,362,337,340,331,333,342,344,355],[465,387,339,305,270,268,294,319,339,374,394,408,420,412,407,418,469,709,654,505,526,486,509,550,468,463,519,492,395,393,330,424,394,372,371,391,390,440,547,1040,1428,1370,1488,1528,1298,744,885,1042,739,456,647,877,996,805,535,531,622,1002,1566,1192,1288,1306,1366,1810,1566,1098,1508,2066,1862,1450,1340,1194,832,969,1126,1098,1023,940,1272,1160,559,650,855,1011,1408,1460,876,957,1224,695,544,621,430,583,692,604,658,908,1008,803,677,941,1650,1154,1202,1166,1124,1222,1024,1021,944,815,953,1060,855,982,1670,1866,1674,1450,883,595,603,868,1348,1372,1078,811,664,586,423,414,484,384,377,440,600,639,576,661,725,652,617,662,757,780,781,778,723,532,404,402,416,417,433,463,477,596,502,542,461,460,446,450,474,416,358,403,427,398,357,304,298,407,560,568,400,324,357,402,434,449,409,357,349,403,413,529,541,428,377,374,372,374,380,373,358,355,362,474,533,941,1082,631,611,621,416,563,935,679,532,568,882,1160,1264,1504,1448,807,446,486,848,1160,988,602,385,457,834,1206,1070,1136,1384,903,445,441,557,664,790,778,608,1188,1836,1768,1492,1238,1112,849,1092,1592,1600,1108,1406,1226,633,805,998,1316,1332,1472,1440,1414,1274,960,724,1044,1376,1216,561,540,1138,1864,2080,1894,1612,1298,1554,1556,1282,1196,1016,651,701,1066,1296,1356,1144,1302,1586,1580,1736,1632,1306,1294,1416,1432,1304,801,912,1094,1132,1160,1226,1318,1284,1064,1102,1116,924,1120,1256,1716,1726,1414,1516,1536,1558,1606,1698,1756,1670,1534,2262,4074,2780,1440,1426,1764,1236,1196,1418,1452,1594,1272,1052,1324,1224,860,818,1448,1894,1322,849,869,1210,1262,1300,1130,1406,1744,1452,1048,789,1494,1482,1188,1102,1268,1338,1476,1652,1556,1228,662,868,1246,1614,2070,1548,1854,1532,876,926,1406,1250,724,457,368,412,546,426,366,348,382,399,347,276,999,1620,1300,1104,915,1216,1476,1520,2040,1422,1156,1594,1134,590,538,545,732,999,1184,1232,1268,1052,1001,1268,1312,1376,1152,1134,1104,1144,1200,877,666,886,1088,1004,932,824,890,796,886,861,1012,1015,635,625,709,1000,1088,967,994,949,798,947,907,604,799,1278,1174,940,1146,1376,1084,1076,1448,1046,606,798,996,1064,915,952,1050,1094,1188,1016,1106,1302,1236,1264,1114,1294,1314,1536,1516,1196,959,705,778,1128,1400,1622,1722,1810,1250,922,827,834,1120,1460,1716,1878,1794,1396,1006,673,800,1040,1368,1506,1512,1578,1552,1382,1302,1244,872,845,1106,1104,1098,1248,1282,1232,1282,1152,1021,1350,1788,1772,1372,1142,1386,1520,1458,1478,1380,1198,1232,1440,1012,506,690,1002,1108,1442,1230,706,907,1164,763,1122,783,824,1506,1464,1086,806,480,526,860,1122,1248,1112,891,1011,1164,904,649,545,400,475,867,1090,898,985,1168,1206,1023,1104,955,968,1260,1338,1272,1122,907,988,1242,1418,1378,1364,1074,1172,1120,1003,1023,1350,1098,1230,2052,1528,1404,1570,1330,1318,1240,1140,965,896,973,802,813,926,1206,930,510,746,1088,803,844,1100,1460,1936,1470,866,850,1021,1232,1082,1188,1258,1032,785,713,1252,1556,1058,539,844,1114,983,1150,1034,916,771,851,956,841,1080,1062,680,821,1128,1038,1034,1200,1294,1354,1336,1592,1496,1178,1168,1094,1274,1664,1480,1324,1306,1290,1284,1188,1212,1538,1562,1496,1772,1758,1316,814,965,1106,739,958,1214,1476,1582,1454,1588,1476,1434,1372,1122,1176,1406,1538,1710,1632,1382,1416,1222,1172,1130,974,1164,1116,1212,1160,1090,1356,1508,1226,1404,1346,1144,1048,832,1246,1356,1312,1124,828,847,1122,1160,1230,1230,1324,1390,1060,1094,1214,963,830,1092,927,659,994,1396,1296,1142,1054,1008,1122,1470,1534,1140,1218,1666,1510,1160,1262,1470,1246,1202,1216,1386,1162,733,683,533,768,940,970,1272,1298,1418,1524,1300,983,934,805,604,619,961,1080,872,967,1698,1368,1270,1330,1016,514,522,604,471,438,974,1452,908,718,1208,1312,1284,1316,1380,1272,1396,1282,1198,1426,1484,1368,1394,1274,1130,1462,1418,1344,1422,1346,1352,998,758,682,798,881,1050,1019,948,868,610,532,760,1024,826,831,1090,1598,1488,1084,1009,1332,1428,1428,1300,1202,1406,1176,1108,1186,1068,1116,1218,916,1034,1288,1188,1198,1332,1550,1430,1296,1310,1382,1302,1266,1486,1372,1402,1462,1388,1362,1418,1380,1154,1042,1172,1316,1156,1356,1404,948,780,1238,1544,1488,1538,1468,1424,1230,1274,1324,1400,1456,1396,1354,1356,1320,1300,1376,1304,1382,1508,1550,1484,1904,2402,1750,1546,1256,963,1013,1154,882,536,610,948,1042,723,453,674,1162,1354,1406,1438,1090,887,1236,1254,843,860,1009,1052,1158,1064,1114,1204,1276,1368,1154,968,1200,1164,938,1156,1216,973,1026,1092,1322,1660,1560,1400,1286,1254,1332,1360,1448,1510,1342,1256,1228,1140,1262,1338,945,708,1104,1418,1506,1262,937,1324,1444,1426,1416,1390,1076,946,1011,942,1062,1106,871,1010,854,561,826,1176,1646,1592,1232,1316,1416,1122,831,790,966,1314,1346,1070,974,1128,1322,763,957,1206,1190,1230,1148,1578,1794,1344,730,611,959,1110,1292,1224,822,975,903,683,988,966,587,323,350,523,896,912,741,960,1238,1288,1036,1174,1418,1466,1298,1174,1294,915,868,896,1518,1558,863,574,700,883,979,974,691,840,777,1156,1322,844,758,1344,1440,1148,1570,1684,1486,1936,1356,1022,1212,1256,1394,1430,1526,1580,1450,1150,839,782,1142,1262,975,1318,1136,805,723,719,772,990,802,437,655,796,563,579,622,470,754,924,1040,553,327,314,986,1394,2002,2150,421,433,841,1072,1182,981,861,910,1206,1206,1050,1158,1372,1180,1052,1136,1100,1448,1702,1426,999,888,1040,1158,969,826,1050,1058,641,711,984,702,421,597,720,956,946,894,1062,1088,1252,1390,1102,749,1002,848,839,790,1062,1180,1272,1204,1084,850,736,987,951,891,819,1174,1190,1096,1058,891,934,1262,1280,1728,2066,1178,1310,1246,1088,1066,1050,1176,1144,1106,1202,1252,1276,1510,1650,1538,1618,1380,1300,1522,1728,1516,1152,802,852,675,661,867,1338,1426,1410,1376,1250,1476,2154,1810,879,666,1230,1742,1948,1660,1292,1192,724,651,1244,1220,1706,2270,1732,1250,971,623,394,375,366,348,351,325,343,337,313,308,318,290,216,260,304,311,274,237,225,244,300,309,302,303,331,352,398,425,409,379,375,428,570,597,354,390,326,268,294,298,272,286,325,349,337,287,252,319,319,297,307,309,302,282,270,367,623,695,529,353,304,348,375,332,296,280,287,300,288,287,303,325,324,362,372,345,317,302,306,325,345,331,291,277,318,331,292,289,300,315,356,339,333,315,310,313,289,265,264,263,312,377,371,367,393,428,407,377,375,407,422,412,410,402,405,444,456,474,492,467,481,469,469,491,492,498,492,469,461,440,428,429,425,441,426,401,397,402,394,377,374,376,382,383,391,406,445,467,454,472,480,467,461,455,440,451,456,428,430,420,422,402,408,421,404,402,421,417,429,449,454,464,480,471,472,466,467,479,467,451,441,436,427,413,417,408,405,404,403,401,406,396,386,382,387,388,383,372,364,384,374,363,366,372,378,372,370,371,374,372,371,378,386,419,446,473,450,432,426,433,437,428,408,390,385,362,367,358,364,361,349,333,330,332,342,332,330,336,333,320,327,349,370,409,416,426,441,416,414,431,431,435,440,443,439,429,406,407,406,397,387,379,363,371,382,369,368,365,362,372,374,375,372,378,375,389,376,380,394,404,404,402,390,404,410,415,412,408,386,395,402,383,388,402,395,352,324,332,330,323,316,317,330,321,356,392,383,372,363,332,334,330,307,290,285,281,276,286,290,278,276,277,292,286,304,298,290,293,285,285,295,304,307,306,318,322,321,324,330,333,321,336,340,340,347,337,328,331,328,329,331,337,334,318,304,317,323,320,309,310,323,325,321,318,318,308,306,309,302,305,299,292,291,295,279,280,289,283,286,286,283,272,286,286,291,300,300,304,309,312,313,314,323,326,311,329,346,344,335,332,328,319,323,339,344,336,336,332,336,335,362,368,374,379,388,384,379,386,387,362,353,343,336,330,332,332,334,332,336,348,332,338,356,349,337,332,330,330,330,326,330,328,323,329,336,332,330,332,330,332,343,350,351,349,349,350,354,359,350,332,336,334,341,337,338,351,362,362,359,357,353,353,348,350,353,353,350,341,332,329,330,337,336,337,339,334,343,353,353,349,344,344,344,344,340,343,356,342,333,332,340,343,343,352],[524,386,326,312,304,304,308,284,276,331,374,399,407,412,420,436,414,480,534,524,506,433,465,496,448,524,557,487,416,397,391,429,427,422,402,452,652,824,781,1060,1406,1506,1400,1520,1132,637,673,741,473,414,843,1444,1616,943,558,554,681,1336,1542,1104,1468,1246,1360,1542,1142,1006,1380,1914,1794,1250,1682,1442,794,586,581,523,561,566,774,728,379,376,411,872,1296,1354,1094,1144,1196,706,414,362,347,385,530,592,716,872,951,833,827,1478,1814,899,515,879,1184,887,946,1080,1138,962,628,780,936,846,1244,1496,1582,1388,750,591,611,1066,1416,1276,860,885,1020,1020,662,602,810,546,476,723,854,684,602,758,765,786,791,755,764,775,794,794,711,518,412,412,431,435,452,439,387,650,450,355,467,502,488,520,560,552,429,379,423,364,415,371,351,471,548,532,477,379,396,417,413,396,374,319,287,390,406,368,357,355,347,341,346,351,348,329,333,560,781,716,690,941,896,759,673,572,444,615,999,509,319,350,517,676,877,1138,1122,736,577,457,533,819,839,387,308,556,1096,1124,1019,605,678,600,380,345,485,799,1046,981,816,1252,1554,1366,1158,1110,1016,850,996,1768,2458,1568,1380,1166,650,888,1314,1456,1256,1266,1250,1106,831,864,1424,1900,1922,1272,628,538,1009,1848,2122,1786,1188,1292,1864,1850,1562,1020,580,480,687,737,1048,1696,1762,1644,1708,1810,1770,1468,1354,1310,1378,1172,988,692,662,939,880,896,1048,1210,1350,1068,1042,1052,996,1078,1148,1956,2164,1902,1778,1462,1362,1540,1614,1764,1926,1856,1850,2690,1618,1310,1488,1532,1166,1228,1464,1606,1534,1448,1488,1200,1142,866,1078,1756,1736,1340,1092,1230,1264,1168,855,897,1370,1808,1652,1032,1248,1614,1486,1490,1420,1440,1360,1406,1146,1094,1200,934,930,1100,1382,1542,1214,1276,1166,897,850,1002,1162,909,698,498,419,408,339,250,309,291,312,509,691,1003,1058,1122,1340,1268,1092,1128,1170,1548,1005,724,1208,1212,873,976,717,780,940,745,606,1040,1222,1200,1206,1168,1252,1202,1172,1206,1290,1230,1000,978,1112,1468,1620,1128,563,661,736,898,1078,904,776,500,585,715,1184,1152,1021,1042,1114,986,1012,1190,1106,1384,1502,1354,972,1074,1426,1204,1472,1972,1200,658,899,1030,1068,980,1004,1296,1242,1032,973,905,1076,1372,1370,1246,1478,1384,1426,1526,1422,985,603,597,655,1046,1510,1598,1730,1776,1386,942,794,919,1192,1472,1622,1272,991,1108,1078,1208,1416,1538,1376,1158,974,797,724,919,1020,1028,839,1172,1412,1224,1162,1062,1020,1021,792,880,1544,1694,1754,1282,847,830,1015,927,900,1324,1588,1670,1414,835,667,1066,1418,1518,1538,1184,647,960,1112,664,432,380,763,1306,1456,1306,884,630,561,1036,1248,1168,769,692,837,949,739,511,561,424,424,932,1220,995,924,1252,1228,932,918,1052,1198,1266,1118,1064,1104,769,977,1460,1410,1894,2232,1438,1174,1104,945,1398,1714,1544,1256,1470,1290,1416,1302,1072,1122,1122,1110,1070,1056,878,669,818,857,1484,1126,1020,1322,1520,1240,1080,1032,1166,1356,1078,695,795,927,1040,897,954,1202,1016,785,835,1082,1270,1100,986,1090,1110,865,1126,1144,1076,976,938,1038,969,1058,922,639,838,1208,1262,1104,1120,1148,1182,1108,1036,977,733,677,1036,1418,1366,1296,1538,1400,1130,987,1238,1202,1524,1738,1770,1990,1694,1214,1046,1504,1444,988,1068,1250,1440,1584,1652,1586,1412,1458,1410,1206,1350,1670,1702,1564,1266,1384,1520,1250,1186,1224,1176,1158,1250,1316,1060,1154,1448,1424,1170,1462,1324,1256,989,607,733,1036,1642,1896,1206,1130,1400,1484,1328,915,915,1028,976,751,590,725,836,758,603,681,1156,1520,1264,1078,689,731,1032,1196,1080,1110,1486,1852,1646,1328,1236,1118,784,1000,1278,1210,680,415,430,702,1009,1070,1202,1178,968,1208,1268,821,796,1142,948,567,849,1182,1178,1282,1212,1968,1406,1174,1248,854,587,781,786,634,630,1023,1082,689,943,1388,1594,1368,1316,1300,1372,1358,1212,1212,1366,1320,1290,1344,1256,1188,1348,1044,1388,1490,1346,1356,872,530,744,1178,1356,1294,1382,960,743,855,1086,1050,586,622,757,1686,2024,1570,1244,1194,1394,1398,1548,1590,1332,1434,1214,1166,1152,1226,1264,1198,1144,1214,1302,1046,1030,1148,1434,1512,1472,1344,1262,1366,1506,1442,1368,1492,1488,1366,1414,1450,1310,1100,1140,1232,1242,1230,1334,1320,1226,1200,1246,1380,1396,1514,1524,1418,1336,1370,1032,1134,1288,1232,1254,1250,1132,1466,1930,1518,1382,1504,1554,1408,1434,1114,1106,1330,1406,1408,1428,1382,904,569,539,1130,1256,868,619,860,1278,1626,1544,1282,1060,1122,1238,1322,990,1116,1232,1364,1312,1206,1214,1308,1578,1562,1090,1032,1190,1390,1252,1390,1426,1244,1228,1182,1120,1284,1290,1264,1248,1023,1324,1130,1332,1508,1396,1520,1422,1422,1540,1428,1094,1009,1218,1482,1378,1132,973,1038,1128,1166,1166,1206,1372,1416,1204,1200,1196,1020,926,1150,1312,908,936,1020,1482,1734,1324,1134,1276,1180,1166,978,910,1290,1456,1344,1258,1460,1280,951,1148,1064,1032,1144,1216,1512,1588,1332,1280,802,629,801,1108,886,689,883,806,893,1021,1062,1250,643,666,938,1166,1200,1002,847,1030,1023,965,1242,1308,1188,1196,1005,1118,1112,896,545,733,825,664,470,609,1268,1258,818,521,592,717,1192,1172,663,553,706,869,1382,1600,1428,1322,1258,780,810,1328,1236,1202,1526,1434,1340,1572,1206,1005,968,1240,1188,922,1236,1226,857,564,508,631,766,833,466,505,721,783,861,724,426,809,1158,800,461,489,536,688,1110,1924,1498,524,834,1188,1244,1088,1084,1050,1032,1180,1220,1382,1206,1294,1328,1270,1226,1072,972,1130,1074,857,833,1060,1086,951,837,1108,996,807,972,960,632,443,337,431,924,1146,933,1204,1282,1196,1292,1360,988,889,890,894,899,962,1160,1236,1192,1220,1056,763,867,988,1064,914,1228,1318,1188,1096,1012,1046,1258,1240,1650,2128,1288,1198,1198,1136,1028,1012,1086,1080,1064,1058,1064,1196,1518,1848,1682,1644,1356,1274,1426,1340,1362,1158,998,936,836,763,1212,1964,1316,874,986,1132,1202,1582,1442,807,969,1476,1564,1550,1324,961,944,752,859,1632,1266,1382,1590,1622,1432,976,573,397,362,383,368,305,278,337,354,337,328,308,258,251,297,327,321,274,258,241,236,270,311,308,292,307,333,369,405,426,410,403,593,808,606,362,406,368,365,369,331,330,339,307,324,340,325,304,405,393,341,326,319,332,324,284,365,564,631,587,431,328,327,301,283,279,279,281,289,305,300,319,379,366,378,397,434,369,294,325,355,369,351,329,324,330,342,309,321,332,401,411,353,402,397,308,295,290,308,346,311,355,383,373,378,415,428,415,391,380,397,410,410,407,402,416,445,459,469,490,477,476,470,476,506,503,492,495,487,471,446,428,429,433,431,415,393,385,397,390,367,380,386,375,366,382,397,479,487,447,460,480,458,453,470,453,453,471,435,431,422,422,413,408,417,422,417,407,411,424,441,445,448,461,465,467,461,467,476,470,465,450,423,413,397,414,409,400,392,392,400,400,392,380,378,387,389,380,357,352,383,381,378,371,381,386,372,372,383,388,376,375,383,380,412,440,461,455,434,421,422,424,430,410,368,380,377,372,362,362,358,354,349,337,336,345,347,342,333,331,327,347,355,361,397,414,428,449,435,414,416,417,426,425,417,420,422,407,409,399,394,381,371,363,374,386,365,365,359,365,362,363,366,371,371,373,383,370,368,383,392,389,399,400,398,400,397,394,402,394,397,391,392,395,391,410,356,325,324,332,328,312,312,327,337,354,381,392,374,369,342,327,336,321,307,292,276,269,278,286,276,268,270,282,260,274,278,289,290,283,292,295,307,322,310,317,317,319,317,322,327,328,331,331,331,328,328,343,334,329,331,329,329,329,322,318,323,323,331,320,311,331,336,325,313,299,286,291,290,291,303,302,294,292,294,287,283,284,272,286,279,278,289,283,283,289,291,296,301,307,313,309,308,325,314,311,319,320,317,320,324,324,322,318,326,344,336,337,335,350,337,352,365,372,379,386,387,377,379,390,366,356,341,338,332,329,337,328,332,339,350,350,357,360,349,336,341,343,337,334,319,324,330,322,326,330,335,330,324,324,332,339,337,339,348,348,346,353,358,344,343,356,350,341,331,331,341,354,359,345,338,351,354,353,351,357,357,346,327,324,324,329,334,344,346,334,329,334,354,362,350,348,350,344,341,336,340,344,339,331,332,338,338,343,343],[539,407,293,283,289,318,332,308,336,341,344,370,432,450,443,424,421,438,490,500,501,503,408,328,379,480,466,387,360,381,362,329,312,369,423,463,739,1144,1044,1038,933,865,871,880,793,758,796,663,480,666,1060,1202,1272,861,669,683,866,1308,1356,1078,1034,1234,1500,1744,1768,1262,1238,1394,1262,1436,1726,1152,531,465,381,308,362,354,411,440,388,366,396,514,686,1300,1360,1254,1182,889,343,368,406,516,842,883,951,965,882,741,679,1058,1298,952,489,833,1160,867,642,758,840,656,437,443,468,593,966,1098,1138,1128,879,686,771,1512,1604,1396,1040,918,1036,1306,983,1332,1830,1526,1196,708,886,641,578,792,792,764,744,760,785,793,794,789,715,490,419,387,404,416,386,381,361,509,473,381,414,475,512,557,545,584,520,423,378,360,415,434,389,451,502,462,420,431,425,387,389,392,422,408,339,393,420,368,364,381,364,299,320,339,311,351,438,683,799,651,720,916,985,802,699,444,403,429,410,471,368,269,438,642,740,809,780,588,728,354,384,455,412,437,442,665,1076,1142,647,282,341,387,336,293,343,531,778,960,1054,1452,1454,940,653,880,1044,934,761,1102,2400,2540,1530,1042,686,1072,2002,1656,946,964,1204,1198,738,835,1372,1482,1356,962,782,986,1382,1804,1802,1484,1228,1184,1344,1220,990,755,744,814,828,867,927,1332,1858,1942,1744,1870,1852,1720,1516,1170,1064,804,829,773,798,1088,1018,1036,957,785,948,1088,1068,1062,1356,1144,1220,1582,1850,1918,1592,1350,1556,1360,977,1466,1726,1666,1496,1394,1360,1532,1572,1486,1208,1152,1338,1418,1328,1460,1500,1490,1378,1228,1530,1670,1496,1188,1106,1344,1164,1114,983,763,930,1422,1582,1110,1204,1072,1178,1428,1482,1442,1412,1476,771,1086,1306,1052,942,1034,1190,943,579,464,543,828,755,611,818,1244,1214,897,636,476,419,430,436,319,367,738,1200,1216,1292,1310,1416,1188,1166,1442,1274,872,525,383,597,928,872,1068,1162,1170,880,584,573,963,1228,1348,1274,1240,1232,1172,1240,1424,1312,1216,1178,1104,1126,1384,1512,984,550,655,858,1174,1490,1224,1212,714,902,1372,1472,1208,1172,1378,1798,1504,1120,1250,957,1400,1482,1384,962,691,760,847,1438,1730,1142,872,1100,1064,1184,1162,1090,1306,1306,1212,1268,1198,1324,1636,1190,1060,1384,1136,1004,1468,1916,1516,859,686,578,619,1013,1282,1446,1734,1804,1478,869,739,860,1202,1660,1622,1434,1320,1448,1542,1560,1448,930,636,592,583,868,1162,965,1084,1030,1320,1302,981,929,963,852,1086,1284,1424,1964,1768,1682,1306,1360,1160,879,945,1076,1092,1396,1698,1750,1522,1212,1388,1412,1570,1144,825,615,706,612,648,799,707,677,983,1218,1302,1306,1116,630,850,1034,946,739,647,795,802,619,745,940,594,435,555,1186,1198,904,1238,1376,1040,1168,1144,745,992,870,771,1088,1060,1212,1384,1260,1506,1286,852,940,988,917,1158,1272,1632,1394,1338,1252,1330,1174,1104,963,857,1018,1176,1124,758,805,934,857,1044,988,1276,1324,1174,1122,1082,1074,1118,987,773,1028,1298,1062,1068,957,900,1108,1110,1054,943,1176,1412,1248,1218,1214,1208,1238,1334,1374,1218,1054,1058,1011,1023,1126,954,802,931,1092,1050,1038,1206,1238,1102,952,781,733,658,658,1140,1622,1458,1264,1404,1260,826,655,1016,1236,1406,1428,1646,1814,1680,1426,1390,1466,1388,1170,1692,1532,1600,1792,1802,1556,1400,1620,1522,1354,1576,1824,1590,1282,1176,1316,1280,1122,1108,1072,1122,1158,1318,1476,1264,1246,1500,1406,1306,1144,824,746,641,453,431,491,647,790,699,1086,1396,1394,896,505,475,599,802,736,510,607,867,973,1024,952,1156,1124,1058,944,843,924,1202,1428,1594,1458,1034,979,1390,1190,1198,959,915,1070,1150,954,662,601,671,818,1064,1260,1160,1340,1480,1272,792,425,705,1228,1186,1016,1430,1708,1170,913,1062,1650,1478,1024,877,713,1350,1960,1462,910,703,680,624,592,1148,1600,1506,1312,1202,1196,1494,1706,1516,1372,1376,1082,941,718,891,1172,1494,1318,1476,1314,1124,1130,937,934,1136,1362,1360,1078,958,948,910,1248,1582,1178,904,973,1268,1848,1798,1602,1598,1574,1464,1550,1356,1360,1426,1370,1350,1354,1142,1078,1094,1112,1306,1384,1140,998,929,1058,1478,1558,1274,1188,1322,1378,1384,1560,1282,1270,1396,1402,1450,1446,1266,1258,1248,1164,1072,1164,1218,1042,941,973,839,1230,1354,1346,1440,1386,1372,1284,1184,1284,1212,1180,1318,1352,1202,1536,1742,1250,1174,1248,1272,1314,1454,1370,1202,1352,1078,879,980,1036,715,531,522,1142,1438,1410,1204,860,1186,1544,1232,982,941,1188,1430,1588,1282,1021,1208,1382,1246,1220,1182,922,1242,1318,1344,1376,1382,1468,1448,1436,1384,1252,1244,1306,1318,1402,1438,1504,1472,1114,1228,1132,1406,1294,1134,1086,1266,1558,1476,1272,1162,1090,982,1202,1274,1266,768,714,1100,1142,1168,1338,1498,1534,1460,1572,1324,962,1056,1236,1222,1036,1080,1130,1422,1656,1498,1302,1360,1246,1306,982,882,1310,1456,1404,1554,1692,1434,1488,1594,1202,1106,1264,1288,1220,1480,1366,1268,1128,896,709,844,963,777,882,948,1408,1350,1002,753,599,639,689,978,1332,1168,1150,865,883,1084,1328,1250,1494,1378,1334,1632,1584,934,684,965,875,615,451,847,1452,1278,939,716,758,922,1152,982,700,758,661,473,900,1206,1238,1274,1090,975,811,905,903,996,1528,1368,1228,1112,1302,1162,1384,1226,1046,1010,1154,1282,1220,724,492,486,491,636,550,587,683,681,744,981,1052,1138,1114,717,494,519,583,625,908,1148,843,467,1184,1286,1048,1034,1040,856,886,1160,1194,1124,1072,1230,1378,1416,1262,872,633,861,951,847,819,948,895,845,1044,1196,1180,1216,1166,1128,993,811,486,375,705,1250,1348,1402,1380,1242,1154,1366,1188,906,1004,1210,1138,882,1144,1332,1220,1234,1034,1182,1034,973,1144,1172,1262,1386,1254,1138,1188,1190,1246,1334,1268,1236,1086,910,1007,1088,1056,1072,1170,1172,1050,1022,1222,1148,1300,1534,1618,1588,1482,1524,1172,995,1290,1350,1164,1070,1006,808,814,962,856,675,767,926,966,1144,1202,1312,1582,1468,1180,1118,1094,1012,985,849,1182,1776,1350,1062,1398,1362,1366,1022,557,424,347,355,384,301,257,297,333,335,327,313,303,309,314,305,290,279,223,195,202,272,320,320,320,350,347,318,331,361,368,386,556,821,585,380,391,397,445,450,366,370,348,324,294,283,345,387,575,551,417,366,329,333,343,314,442,700,542,459,416,355,419,488,400,290,324,326,300,319,341,327,309,367,379,355,416,407,361,406,546,538,411,433,572,570,380,319,317,310,307,365,379,349,319,310,308,295,312,303,321,406,378,361,372,406,419,411,391,365,381,401,403,402,401,420,439,459,469,481,473,461,469,480,502,493,500,506,506,462,446,444,425,408,400,400,395,390,384,380,374,380,379,371,382,401,403,443,472,463,456,473,457,441,459,452,451,461,450,450,432,426,422,417,412,414,405,418,425,427,438,444,462,462,462,467,469,472,469,458,451,429,417,437,412,404,409,399,383,390,397,396,390,380,370,382,390,396,369,357,371,370,363,354,364,372,369,372,386,396,397,399,368,381,400,421,446,457,442,428,425,415,415,401,378,382,385,374,368,361,361,347,332,349,333,331,347,342,328,339,328,335,346,357,379,404,426,432,426,409,411,416,419,427,435,429,407,413,407,401,401,379,371,365,365,356,357,359,359,356,362,368,365,370,368,373,364,368,373,378,378,380,390,397,398,395,389,394,390,398,404,401,380,376,376,415,360,342,332,333,323,311,316,342,358,354,376,402,372,363,354,328,328,322,302,291,289,265,262,278,265,262,277,274,265,277,270,277,276,281,290,294,311,323,310,307,305,311,316,322,321,323,327,335,343,328,331,331,335,334,328,331,324,330,326,318,314,322,331,327,311,318,320,314,311,305,306,295,286,287,297,295,291,292,291,286,286,282,292,282,279,282,292,289,294,294,297,295,295,309,321,317,298,323,309,308,313,313,326,335,318,311,332,323,320,341,336,338,322,332,343,346,356,370,378,382,382,382,379,378,368,359,341,334,334,334,329,332,336,336,336,339,358,359,344,339,343,332,328,337,318,312,330,332,332,322,336,324,317,323,324,324,329,334,337,338,356,361,341,336,361,332,334,338,319,323,338,357,362,348,345,351,351,359,356,351,356,348,336,332,332,332,332,348,353,335,341,354,357,356,358,356,353,348,344,338,337,338,335,329,330,331,337,343,344],[560,504,301,301,294,291,331,354,351,290,280,339,413,430,440,456,475,505,521,521,549,553,385,396,404,376,400,398,383,356,314,298,315,373,441,461,653,910,911,948,684,539,558,493,493,554,462,370,307,428,573,750,777,695,695,771,825,809,721,818,1184,1206,1204,1240,1080,1048,1428,1246,1168,1560,1442,843,532,395,371,359,345,357,357,372,390,363,326,432,794,980,1088,935,884,1114,548,363,351,481,806,834,838,861,662,473,631,1010,1406,1488,1198,1072,842,781,879,735,467,425,463,451,414,490,627,755,791,906,958,792,849,980,1108,1114,952,746,870,977,871,1542,1952,1858,1378,734,905,611,532,799,869,792,786,788,795,814,813,799,733,508,414,388,398,419,400,374,370,466,518,400,400,484,512,547,535,506,602,546,455,402,357,328,307,360,508,415,439,405,431,313,332,386,420,427,397,420,454,411,426,387,332,321,322,343,344,376,713,785,933,1272,1028,868,893,640,552,432,407,452,529,1154,1244,809,774,1160,1246,970,642,553,514,418,536,487,355,536,577,505,560,510,379,473,408,347,273,293,305,458,818,1178,1200,1154,933,669,537,684,980,952,592,439,1174,1834,1392,977,760,1378,2056,1722,1252,1324,1252,1068,813,781,867,1070,1090,1036,1058,1162,1252,1366,1238,927,698,579,642,628,937,901,1024,1230,1078,1072,1018,844,1266,1742,1718,1784,1828,1988,1798,1372,969,860,1024,1058,1052,1114,819,836,833,666,790,951,977,1136,1560,1388,1220,1374,1548,1512,1286,1348,1958,1686,1490,1782,1478,1400,1540,1526,1644,1580,1478,1488,1048,985,1410,1632,1522,1606,1338,1218,1092,1354,1402,1158,1266,1388,1714,1622,1048,885,1001,1030,1126,1300,1288,1100,844,614,955,1582,1410,1028,1256,1374,805,1186,1310,920,902,1114,1110,988,792,828,742,874,694,678,938,1094,1348,1560,980,517,669,539,477,539,528,727,1222,1218,1222,1074,1202,1160,1240,1354,1354,1100,709,760,565,656,699,770,1268,1260,926,1172,1522,1466,1362,1560,1686,1240,1036,1082,877,753,827,975,1210,1146,951,1108,1210,896,718,840,1106,1272,1512,1470,1604,927,936,834,619,895,1024,927,1106,1164,1110,1110,1570,1720,1594,1644,1136,767,745,991,1650,1856,1448,1302,1314,1054,1078,1170,1588,1816,1536,1302,1478,1506,1810,2166,1576,834,1032,1002,1170,1612,1888,1344,2072,2092,892,502,592,839,1194,1404,1466,1466,1015,952,1142,1356,1542,1656,1460,1023,1080,1410,1470,1538,912,547,608,640,833,1064,826,825,911,1058,1124,1002,1162,1382,1370,1440,1394,1096,1470,1644,1498,1532,1684,1358,912,1172,1556,1414,1524,1536,1396,1512,1686,1570,1124,797,671,672,763,778,813,1228,1432,1448,1060,773,806,1138,1390,1064,767,631,587,585,528,526,688,617,545,877,910,583,387,387,701,714,547,868,1040,865,1082,846,485,745,919,733,1042,1290,1476,1396,1256,1326,1172,986,937,1100,1324,1394,1436,1368,1144,1070,1176,1028,1072,1192,1036,1164,1384,1498,1588,1328,1074,965,1084,1236,969,838,811,890,1240,1332,1078,1280,1636,1206,1194,1338,1044,825,901,1160,1176,1372,1444,1288,1482,1398,1366,1264,1194,1138,1015,900,1164,1250,1140,1144,1306,1388,1328,1058,821,841,852,673,729,952,1026,961,893,841,838,630,805,1366,1576,1270,1116,1082,1066,922,730,816,1134,1194,1304,1482,1728,1770,1614,1440,1200,1280,1622,1654,1400,1710,1904,1838,1556,1500,1678,1694,1458,1624,1648,1330,918,805,957,1038,1108,1072,1076,1174,1076,1158,1250,1512,1516,1290,1138,1168,981,743,587,578,439,389,413,374,523,764,1184,1352,1094,669,484,411,686,1190,1094,688,631,1126,1410,1460,1058,1098,1172,938,966,1042,1042,1220,1310,1476,1282,1068,1114,1398,1190,1006,940,1204,1276,1030,896,1256,1066,973,882,988,1056,929,993,935,863,673,404,521,1124,1656,1582,1998,1556,963,513,641,1024,1236,942,881,846,714,787,950,975,966,999,792,661,886,1338,1568,1464,1260,1448,1738,1850,1596,1338,1240,950,911,913,826,1282,1442,1418,1416,1316,1356,1158,1022,1034,1294,1452,1266,950,762,1034,1212,1354,1504,1410,1310,1520,1708,1850,1942,1792,1760,1584,1582,1460,1456,1476,1684,1532,1302,1292,1274,1272,1248,1174,1298,1392,1124,1180,1266,1372,1426,1328,1282,1208,1334,1426,1260,1428,1346,1412,1482,1426,1448,1318,1324,1316,1258,1048,684,818,1256,1094,921,828,711,1294,1354,1212,1428,1574,1466,1282,1298,1130,875,1060,1388,1238,1346,1240,1222,1294,1510,1260,1178,1244,1208,1228,1434,1448,1100,1078,965,731,580,539,716,1170,1464,1276,735,783,1122,1034,938,1144,1264,1306,1216,1276,1278,1068,1094,1272,1240,1162,1460,940,654,841,1234,1334,1408,1454,1562,1378,1156,1088,1020,1382,1648,1538,1766,2076,1482,740,1044,1140,1102,1112,1046,1020,1132,1278,1160,1030,1068,1124,662,913,1362,1426,894,587,802,1052,1228,1272,1338,1334,1446,1442,1038,1086,1268,1444,1404,1196,1266,1392,1354,1478,1708,1644,1376,1028,869,1208,1164,1088,1234,1108,1558,2116,1650,1432,1576,1224,1310,1398,1044,1138,1488,1256,910,1038,1288,1208,1194,1390,1180,1086,1112,1274,1322,1066,875,850,762,458,440,675,972,1296,726,965,1178,1098,1446,1964,1724,1738,1930,1492,717,1034,1432,1156,802,791,1124,1272,955,679,800,1023,1088,1102,880,937,1538,1066,499,487,652,945,1054,1258,1268,955,860,850,705,1016,1048,1086,734,1042,908,1048,959,931,1230,1266,1230,1040,572,416,345,414,420,454,956,1382,1284,1204,1376,1316,1086,1116,673,407,479,529,568,436,443,450,486,736,717,822,1250,1066,747,1014,1402,1254,1208,1036,948,1200,1200,1148,946,631,952,988,869,888,1150,1232,896,1108,1310,1142,926,1142,1104,992,1180,850,830,1122,1284,1334,1172,1158,1192,1058,1126,1060,974,1015,1216,1256,938,1102,1266,1284,1376,1192,1328,949,670,924,1136,1156,1216,1178,1230,1378,1416,1192,1270,1256,952,887,881,969,1090,1116,1158,1356,1194,1142,1208,1320,1232,1194,1268,1458,1550,1570,1580,1388,1062,1346,1538,1092,1000,1001,778,687,820,940,965,1406,2056,1816,1438,1164,1146,1462,1354,1170,1316,1394,1370,1314,1246,1350,1632,1410,1218,1536,1350,1260,948,540,370,362,375,367,338,332,339,352,356,340,318,311,341,348,330,340,293,222,213,242,310,360,344,335,361,321,343,348,336,358,379,524,693,487,344,332,333,380,446,408,411,365,350,338,333,379,368,489,575,564,509,406,332,334,340,387,500,536,518,426,378,440,550,484,372,316,301,284,308,369,380,369,386,444,432,367,396,414,426,484,440,415,444,534,477,347,314,338,411,491,531,508,395,345,331,304,302,289,286,314,376,374,363,375,409,428,429,412,380,384,397,400,392,383,406,437,461,468,477,486,469,491,506,513,489,486,478,494,464,440,440,425,401,394,410,399,391,378,376,377,370,365,381,391,395,409,436,460,462,436,459,459,448,450,452,456,453,448,428,422,429,413,407,401,402,404,421,425,421,425,441,459,449,451,470,471,467,475,473,454,438,423,430,412,394,403,399,387,392,398,392,384,384,372,378,387,396,378,362,361,366,366,356,354,357,360,366,376,387,416,418,392,378,392,419,437,442,436,424,414,416,416,412,396,386,381,373,367,361,362,352,342,355,333,326,333,324,328,340,336,336,345,358,371,407,449,426,431,422,411,409,415,419,419,415,414,411,399,396,409,384,373,368,355,353,363,362,369,378,379,372,365,357,356,372,366,368,372,371,371,377,384,383,389,392,376,394,392,399,400,404,414,390,389,403,391,356,335,342,334,326,328,350,369,360,375,406,381,360,354,338,325,314,292,287,295,271,267,286,274,261,266,271,273,267,270,274,274,295,298,281,321,319,311,307,306,306,311,318,312,316,325,333,340,321,337,336,329,343,343,334,330,331,320,309,314,325,315,318,311,311,310,309,309,303,295,287,286,291,292,292,292,294,292,292,289,284,286,287,290,291,290,289,295,308,306,294,291,314,318,313,306,317,315,313,310,314,329,329,312,311,325,324,325,328,339,344,326,328,339,348,361,372,376,382,382,381,379,374,377,358,348,339,334,344,335,335,343,349,350,353,353,348,343,350,343,332,325,316,311,316,324,332,341,318,344,338,313,323,323,318,328,332,341,353,349,336,334,338,338,331,331,336,322,321,336,351,361,353,349,351,349,381,361,376,369,357,349,339,334,329,330,334,344,338,330,346,344,353,356,353,353,360,356,344,336,330,330,334,334,335,337,342,344],[526,578,363,301,272,243,283,352,296,342,357,370,387,392,426,463,491,493,495,467,485,421,338,416,443,368,377,383,364,332,314,300,326,373,441,491,569,825,1064,1060,674,531,553,480,401,472,365,343,281,352,493,620,634,580,504,422,370,440,513,680,806,948,1270,969,880,1158,1338,993,1036,1104,778,629,694,395,363,375,387,417,394,336,390,457,345,931,1632,1224,1092,703,809,951,835,440,451,463,507,715,709,503,384,365,580,1062,1578,1436,1300,1060,695,725,923,597,335,354,336,308,401,644,869,1230,876,728,764,811,1112,1015,717,802,935,552,420,373,434,828,942,998,875,879,939,638,511,760,872,811,788,788,807,816,803,797,653,476,409,386,372,383,398,376,365,469,456,328,354,428,502,547,544,617,720,662,581,501,388,342,306,426,486,398,395,403,468,321,304,397,386,383,374,371,436,443,411,373,325,325,332,387,381,521,854,1036,1194,1486,1124,953,634,479,498,456,392,393,480,1144,1776,1362,1030,1140,1240,906,472,493,453,515,586,480,325,365,413,350,418,405,395,507,382,361,408,384,385,766,1096,1100,1168,1220,941,1005,644,559,816,1022,1108,683,636,1048,1600,1710,1154,917,967,1144,1290,1048,783,955,987,910,875,1226,1360,993,843,757,678,1156,1396,1080,629,384,320,286,800,861,845,1060,1088,949,1011,881,1318,1550,1372,1594,1832,1930,2752,2122,1098,972,1186,1260,1164,802,538,588,785,964,1230,1334,1172,1058,995,849,1118,1294,1212,1376,1118,1670,1804,1592,1714,1724,1276,1236,1406,1556,1654,1572,1350,1466,1146,1232,1544,1830,1644,1346,1126,893,1114,1476,1298,1156,1194,1520,1652,1428,959,1013,1013,1017,1078,1196,1270,1028,625,661,985,1248,746,457,1180,1410,1232,1400,1228,832,815,781,797,1164,1194,1278,880,949,1108,1350,1162,783,1130,1436,828,504,569,488,532,660,540,512,739,786,851,1086,1534,1574,1302,1398,1516,1104,810,862,563,441,532,451,849,1152,1328,1590,1502,1274,1396,1742,1482,1140,1244,1084,818,704,844,903,1026,1034,1032,1240,1434,1034,657,883,1076,1224,1078,798,766,739,711,586,1006,1342,987,983,977,810,708,876,1934,2320,1880,1544,1036,1009,1308,1272,1794,1922,1566,1320,1130,959,915,1090,1732,2280,1782,1218,1404,1416,1736,1836,1542,1040,1096,1166,1114,1284,1392,719,1470,1466,708,607,588,588,799,1046,1238,1410,1508,1496,1276,1066,1210,1502,1506,1078,819,1038,1268,1322,807,592,1038,938,919,1130,1016,787,656,825,1126,1044,845,1116,1256,1124,1230,1182,1262,1396,1358,1592,1852,1546,1140,1022,1292,1266,1296,1372,1140,1112,1248,1464,1438,1005,686,674,673,592,827,1310,1572,1682,1332,1194,1338,1358,1378,2116,2132,1054,685,579,455,397,415,458,522,493,502,532,434,382,644,901,695,673,803,820,828,625,555,550,648,708,1004,1284,1480,1356,1280,1246,1078,1116,1104,1200,1584,1402,1382,1312,1036,692,661,748,917,990,923,1182,1094,1332,1392,1308,1286,1116,1084,1378,1324,700,605,1060,1272,1336,1252,1216,1318,1176,1118,1208,1262,930,951,1312,1334,1330,1352,1310,1324,1222,1044,1042,1082,1134,952,894,1100,1194,1212,1110,1152,1490,1548,1306,1136,1140,1076,1130,1102,761,688,918,900,1166,1110,655,1034,1592,1384,1056,927,776,778,1070,1218,1080,1080,1100,1290,1298,1632,1888,1848,1694,1422,1338,1520,1354,1318,1594,1866,1758,1524,1470,1646,1794,1730,1656,1458,1302,1136,957,1114,1284,1408,1348,1260,1276,1078,1013,1278,1448,1546,1210,1066,968,758,938,901,664,465,412,417,404,596,982,1192,1050,720,543,473,369,460,807,895,802,733,1000,1560,1510,1022,1108,973,766,893,996,1040,1136,897,1030,1074,1100,1242,1448,1324,1090,989,1220,1294,978,829,1180,1092,903,873,819,697,605,475,743,1238,694,354,512,1072,1494,1590,1722,1460,952,656,755,1198,1166,780,869,794,845,630,605,1092,1214,1284,1250,1050,1030,1340,1470,1362,1512,1470,1684,1748,1400,1282,1406,1142,1062,1102,1110,1212,1220,1402,1190,910,974,894,1034,872,1224,1302,1282,955,998,1198,1284,1422,1410,1272,1398,1776,1652,1498,1678,1718,1698,1400,1476,1428,1228,1490,1694,1456,1316,1224,1336,1522,1266,1306,1412,1444,1476,1318,1266,1456,1388,1332,1396,1234,1324,1548,1258,1236,1288,1260,1240,1272,1232,1022,1066,1272,1464,1216,562,999,1434,1334,1290,1166,930,1140,1312,1366,1234,1200,1248,1158,1240,1218,1152,1294,1368,1258,1328,1180,1266,1346,1404,1360,1218,1322,1338,1404,1352,1096,1068,1324,1048,645,694,716,695,1023,1346,1294,996,1007,940,634,686,811,940,1084,1230,1284,1274,1282,1100,1138,1066,1028,1298,1066,686,979,1166,1310,1526,1494,1482,1272,954,722,811,1298,1544,1582,2042,1972,1212,952,1210,1042,1160,1300,775,784,1082,1208,1196,1102,1156,1202,883,865,1096,1352,1302,1058,899,1036,1358,1410,1476,1378,1336,1460,1116,721,1092,1890,1872,1660,1636,1472,1332,1444,1688,1714,1296,992,1166,1490,1114,759,578,608,1180,2082,2304,1644,1166,958,1102,1210,988,1180,1586,1282,1208,1174,1144,986,1272,1212,1296,1216,1250,1238,1182,1168,1058,785,557,393,345,357,519,631,593,793,1024,1104,1500,1722,1582,1356,1372,1234,883,1310,1094,1140,1244,1248,1290,1118,989,848,708,919,1216,1152,1000,675,1418,1020,620,629,767,664,639,976,1178,1118,1202,843,721,816,1218,1134,960,861,537,508,470,844,1268,1182,1116,871,554,327,440,893,757,578,1170,1550,1228,650,683,1122,995,1124,651,460,633,1256,965,372,371,451,514,607,537,651,912,819,605,805,1162,1366,1250,971,888,1078,1232,1378,1294,1036,1226,1150,920,1024,1208,1162,985,1070,1054,707,722,1054,1084,1044,1126,1156,1318,1260,1192,1364,1328,1120,962,691,720,1001,1262,1046,1094,1062,741,801,1090,1288,1282,1280,1290,1122,1040,1052,1002,1013,1180,1168,868,1002,1284,1144,1060,1084,1114,1124,1026,1040,973,982,1118,1148,971,1184,1222,1178,1192,1206,1412,1430,1228,1118,1510,1418,1262,1594,1732,1009,810,915,838,802,921,1184,1206,1326,1878,1676,1500,1044,1052,1538,1500,1376,1410,1404,1360,1254,1188,1198,1462,1494,1226,1210,1302,1176,962,551,373,366,362,369,348,343,358,366,375,354,327,330,370,384,394,390,332,304,325,341,370,398,367,350,378,339,414,404,351,354,356,573,674,389,347,312,325,371,388,419,374,349,351,360,413,413,368,416,450,546,523,421,393,378,353,407,487,565,505,505,593,499,358,358,444,366,289,290,319,427,458,428,422,436,391,332,359,348,406,504,488,379,368,356,352,323,367,576,789,789,661,561,427,370,318,295,306,292,285,357,400,365,361,380,404,419,427,406,384,380,388,384,372,370,401,438,466,492,496,507,469,485,502,513,495,480,483,502,479,437,422,412,408,390,405,388,380,374,376,372,367,382,385,373,377,395,427,444,466,439,446,470,464,450,435,428,440,435,431,435,418,418,412,417,415,415,417,415,424,444,452,449,451,439,455,466,455,456,450,445,459,437,432,433,405,398,403,388,397,389,382,389,366,380,375,382,388,370,366,366,362,372,364,360,358,357,362,375,380,396,410,406,390,388,424,442,461,461,425,400,402,414,408,395,391,378,370,361,354,349,347,359,352,344,350,340,323,324,328,333,328,349,367,363,400,462,439,433,426,414,411,413,414,407,406,411,411,403,398,402,387,374,362,362,378,373,368,368,372,370,368,365,360,362,347,347,347,356,362,371,376,382,382,380,395,377,386,391,399,410,422,408,395,402,400,393,362,342,342,348,342,342,350,372,374,374,398,395,371,361,343,328,310,299,285,283,269,273,264,258,265,266,266,268,271,268,271,273,304,306,281,317,316,314,316,317,311,301,317,309,311,323,331,343,333,335,343,331,337,343,328,326,330,312,315,318,336,318,318,314,310,311,306,300,294,292,290,290,296,291,292,291,286,290,292,291,296,286,287,292,292,296,297,298,297,292,295,305,289,297,306,312,311,314,317,315,315,311,304,306,311,317,322,332,348,343,335,339,334,339,353,362,365,376,377,376,374,374,374,376,357,344,341,326,338,336,336,343,354,357,359,354,344,343,344,341,341,322,325,324,325,329,325,319,325,343,322,312,323,327,318,325,334,345,346,350,357,353,351,337,332,329,329,327,331,340,353,353,366,375,368,354,371,359,354,361,366,349,341,328,335,332,336,336,344,325,332,343,346,346,348,344,336,332,332,332,330,331,337,340,344,344,342,342],[432,563,524,336,279,251,256,287,249,302,394,383,345,335,392,469,516,496,481,453,398,375,383,465,437,343,355,355,373,349,306,321,318,368,421,535,648,828,1170,1090,698,612,565,411,329,434,428,409,378,413,448,481,509,453,417,368,299,463,480,595,938,1360,1626,1146,977,1348,1298,1124,819,445,335,421,533,661,785,551,518,622,580,678,755,861,682,1076,1378,1070,612,717,931,1038,1192,777,717,870,457,335,305,324,374,353,545,892,1216,984,826,818,744,1078,1318,654,305,296,259,361,748,1218,1730,1916,1220,875,1218,1116,861,916,750,870,904,538,338,357,362,446,483,789,921,857,841,709,714,942,932,830,788,802,819,837,805,780,630,484,423,380,396,421,404,391,375,479,484,429,376,362,434,461,486,636,780,750,725,648,459,425,360,405,377,353,350,387,409,336,298,417,442,425,415,401,450,446,350,301,287,322,334,359,368,448,812,1244,1308,1346,1318,1142,600,605,644,507,413,529,705,754,1044,951,1120,1400,1058,599,491,518,468,487,462,361,312,320,330,348,395,371,357,435,437,434,431,400,336,538,952,1302,1542,1346,1316,1236,896,1256,1792,1802,1644,1072,1066,1452,1684,1616,1122,778,686,731,987,1040,1038,1112,1122,1028,1078,1268,1238,1001,938,872,722,1294,1536,1134,552,404,667,705,590,761,858,786,871,853,1016,1342,1610,1286,1134,1570,1730,2556,3064,1678,949,1056,1404,1378,1262,740,633,742,716,1110,1312,1152,881,554,444,650,1184,1200,884,1052,1256,1782,1952,1538,1046,897,1042,1178,869,1328,1508,1466,1418,1578,1610,1598,1428,1580,1568,1550,1458,1086,1300,1532,1204,1252,1074,1094,1268,1124,1058,1078,834,605,650,1138,1244,830,1126,1230,1714,1452,1094,916,1009,1098,1422,1574,1116,906,1072,988,1076,1384,1156,869,833,999,1028,1078,954,846,862,816,590,415,413,386,456,605,439,346,677,1016,956,1212,2010,1802,1454,1518,1394,856,1156,965,514,554,633,578,771,1170,1500,1408,973,1052,1382,1708,1348,1034,1204,1192,1020,1032,1104,1154,1126,1158,1318,1440,1184,709,471,691,754,960,813,628,850,1008,726,576,1452,1598,967,1112,946,813,760,869,1364,1346,1312,1440,977,803,977,1194,1856,2170,1674,1316,1230,1120,910,808,1224,1830,1540,1272,1636,1652,2054,1578,1378,1094,1208,1354,1284,1306,965,661,794,715,789,971,1178,1266,1362,1334,1386,1536,1660,1758,1400,816,848,1346,1604,1398,1082,708,1007,1148,725,752,912,877,1120,1262,1082,749,538,617,987,763,491,550,658,698,842,1076,1492,1626,1660,2232,2626,1978,1364,906,1390,1312,1004,990,1194,1204,875,960,1186,1380,1384,1080,763,646,1038,1274,1370,1562,1664,1562,1566,1396,1188,1542,1488,1204,816,553,493,435,397,375,406,375,410,531,546,384,582,1004,1054,1092,721,755,872,667,659,634,537,859,1322,1462,1462,1266,989,954,1062,1236,1288,1272,1188,1366,1488,1456,1334,973,1168,1068,728,859,1021,1178,944,1106,1180,1278,1316,880,797,1194,1282,839,698,828,1216,1438,1260,1154,1140,904,766,1184,1260,1118,1118,1360,1378,1352,1122,1078,1078,1106,988,993,1144,1122,948,1042,1158,1142,1086,1106,1214,1672,1914,1618,1274,1322,1494,1782,1454,741,814,1000,980,1346,913,798,1392,1664,1308,1104,857,669,765,888,1134,1182,1272,1382,1220,1398,1840,2026,1930,1636,1344,1506,1488,1368,1932,1900,1858,1714,1442,1432,1534,1472,1474,1556,1400,1488,1540,1448,1434,1328,1340,1388,1156,1098,1248,1606,1562,1342,1418,1266,1394,1434,1278,1222,937,661,583,632,1188,1528,1180,957,1064,1054,704,728,615,525,608,947,1122,809,821,744,868,1030,1046,1214,828,666,802,1078,928,984,1344,1310,1128,1054,1312,1628,1302,1152,1042,1188,1266,1106,1030,1110,1208,890,786,1042,852,408,422,750,1190,740,545,949,1562,1140,963,1154,1354,1474,1230,723,1146,992,537,625,600,655,623,717,1088,1108,1178,1238,1066,1120,1336,1416,1288,1668,1160,1428,1698,1434,1166,1178,1128,964,653,807,1182,1206,1190,1058,911,1086,1372,1458,1306,1214,1058,1284,1180,1078,1190,1001,1266,1504,1482,1500,1604,1478,1300,1356,1524,1538,1346,1470,1416,1308,1550,1604,1506,1384,1100,1238,1472,1184,1190,1448,1432,1422,1360,1282,1446,1528,1478,1390,1208,1378,1606,1452,1242,1232,1352,1526,1500,1310,1208,1266,1382,1704,1566,1100,1282,1356,1266,1372,1354,1144,1072,1300,1452,1164,1116,1076,1142,1346,1380,1372,1428,1264,1416,1460,1212,1288,1274,1256,1378,1308,1318,1102,1182,1188,1146,1152,1296,987,629,875,1018,936,1224,940,1076,1130,959,796,512,455,666,802,819,1066,1092,1302,1256,1064,1334,1488,1336,1216,1172,1208,1450,1408,1412,1524,1560,1474,1400,1240,974,1194,1272,1288,1314,1450,1548,1528,1238,879,589,925,1230,1194,748,1098,1216,1260,1256,1172,1082,1034,1046,1278,1442,1290,1080,1023,1116,1236,1294,1420,1384,1244,1154,771,400,792,1592,1600,1500,1324,1220,1268,1268,1454,1656,1470,1192,1234,1116,689,623,593,553,612,1078,1766,1650,1176,818,747,1022,1180,1398,1530,1266,1368,1340,1028,667,905,1148,1348,1400,1228,1260,1440,1136,1005,634,373,358,410,769,836,571,651,663,612,918,1480,1474,1346,1292,1436,1282,1064,1208,1030,1046,1070,946,816,780,678,691,673,868,1078,984,944,763,891,822,626,575,669,633,861,1214,1100,741,1124,929,602,797,1256,1264,1412,1152,865,940,877,1170,1272,1130,1017,879,965,771,498,738,662,659,1426,1694,1152,626,673,977,946,1138,846,607,1028,1188,481,278,347,451,779,983,937,872,571,582,683,755,963,1196,1170,1058,957,824,850,1050,1224,1206,1224,1256,1120,1146,1194,1022,933,1092,906,756,984,953,1104,1274,1358,1428,1410,1248,1152,1276,1216,1070,877,655,1064,1282,1210,1042,980,851,493,584,933,1094,1292,1556,1236,1312,1306,1158,910,884,991,1044,1034,1210,1294,1144,980,947,967,932,1012,1056,912,1098,1306,1196,1252,1426,1244,1326,1412,1384,1288,1234,940,1368,1728,1638,1550,1460,1644,1148,879,935,948,1028,1096,1164,1150,1138,1516,882,666,600,749,1210,1180,1021,1009,915,689,648,725,780,1188,1440,1304,1346,1376,1204,995,645,417,375,360,338,254,274,374,384,380,357,347,375,393,369,375,390,360,382,439,508,402,386,364,401,378,339,374,355,369,465,520,669,702,397,347,328,336,344,330,335,323,323,321,343,401,390,344,405,395,357,373,364,383,355,338,458,489,401,419,572,642,490,368,322,421,377,318,328,303,355,386,385,409,410,329,300,296,330,416,477,429,374,350,329,345,327,380,641,764,535,561,486,384,368,326,303,296,289,324,365,363,363,360,369,400,409,412,394,387,384,387,384,388,397,408,435,474,497,498,499,471,480,493,517,513,483,474,484,476,443,416,400,397,387,388,388,373,367,377,374,374,394,371,361,375,380,410,436,473,449,440,467,451,433,449,437,443,443,438,428,422,408,407,412,408,417,425,417,417,423,425,444,462,442,443,462,458,456,455,453,452,432,422,430,411,400,389,401,380,370,376,381,386,387,366,374,386,376,381,384,362,366,366,366,363,363,363,376,383,378,401,402,378,367,395,446,449,449,420,402,402,406,401,397,396,389,384,367,353,346,347,344,355,349,339,328,330,328,328,340,334,349,379,396,417,449,447,433,423,420,411,407,403,406,406,411,407,404,406,394,386,379,371,362,359,382,389,370,366,365,368,374,374,356,351,356,356,350,353,376,399,408,407,388,385,380,378,382,386,395,412,408,391,385,398,397,372,351,347,340,335,334,340,360,372,383,395,401,384,365,355,335,310,317,296,279,272,267,277,286,266,270,265,266,266,273,270,266,285,295,296,321,313,311,324,327,319,310,311,311,314,328,342,342,334,328,331,331,323,329,327,326,333,305,315,327,338,320,329,322,309,309,305,315,318,300,286,296,305,300,294,296,302,303,294,291,291,291,292,292,294,298,298,298,298,300,298,298,306,312,306,309,312,311,311,318,324,319,313,311,311,312,317,332,338,338,344,339,344,332,337,343,356,371,374,371,374,379,375,376,365,343,329,328,337,337,344,349,354,361,365,351,350,350,341,338,325,336,325,319,329,335,341,341,337,324,324,332,314,327,327,336,344,345,340,338,345,351,346,344,335,330,323,321,328,344,361,351,354,357,359,369,359,353,359,351,359,345,344,327,332,325,332,330,334,330,329,334,336,337,339,344,337,332,330,326,329,336,336,340,344,336,336,338],[522,825,957,584,312,273,244,257,257,287,366,320,356,400,398,430,469,440,460,636,747,609,466,470,387,344,366,378,391,344,280,292,346,399,430,581,688,670,748,791,803,727,603,437,376,431,480,530,524,571,653,613,549,463,379,356,400,511,487,825,1510,1494,1460,1368,1021,1164,1184,1009,522,490,352,403,464,844,1094,772,924,1038,839,1264,1390,1600,1330,1110,858,805,408,492,951,1102,1116,913,843,1086,684,321,411,408,403,384,651,615,751,759,637,733,728,742,728,419,443,472,377,338,745,1350,1852,1980,1626,1344,1280,1158,1206,1434,1174,1162,1001,824,597,542,389,350,391,720,960,711,557,521,609,739,849,810,762,789,804,809,797,752,604,441,398,407,414,389,365,380,387,476,484,434,369,337,414,455,399,458,583,656,669,734,701,628,504,415,403,366,337,407,547,390,319,438,476,451,461,482,433,310,268,290,303,299,294,322,372,680,1210,1300,1266,1028,1886,1538,589,521,507,436,525,866,1056,1058,720,636,964,913,641,476,476,473,455,455,441,406,378,338,324,327,455,381,343,443,510,476,396,331,383,480,638,1294,1552,897,1064,976,809,976,1064,1392,1580,1498,1714,1218,847,952,863,502,396,581,922,873,556,636,784,890,1146,1016,987,1112,1350,1340,1088,1288,1310,972,603,450,647,662,577,743,965,1128,1050,768,1100,1604,1572,1044,950,1376,1422,1458,1338,1154,769,850,1394,1514,1346,1152,1170,1114,1036,1218,1266,1220,844,567,431,649,1358,1400,1072,863,1172,1924,2400,1834,1166,807,991,995,816,1302,1018,843,1068,1378,1624,1378,1310,1598,1522,1426,1864,1456,1168,1214,1154,1334,1194,1304,1370,1134,1078,1150,792,706,667,874,987,1200,1666,1566,1954,1396,882,863,717,757,901,938,934,1310,1550,1136,1394,1406,1462,1956,2020,1432,1004,1082,1007,674,658,850,661,532,387,355,579,639,464,623,1009,1072,825,1042,1798,1502,1182,871,803,875,1072,745,551,735,736,792,855,1024,1288,1316,919,1116,1664,1678,1402,1306,1346,1354,1508,1410,1158,958,1100,1406,936,876,1150,949,736,1176,1128,731,910,1068,966,1021,905,473,1094,1312,952,970,813,848,789,780,1098,1094,993,932,779,832,878,1326,1470,1354,1314,1204,1234,1340,1078,967,1048,1614,1456,1272,1608,1692,2156,2012,1924,1898,1628,1490,1484,1336,1028,1082,1226,1348,1472,1504,1468,1304,929,626,792,1142,1416,1714,1788,1338,749,899,1376,1350,1030,561,590,689,671,752,615,530,883,1100,935,659,494,455,689,488,395,642,966,988,954,1172,1482,1494,1472,2204,2928,2100,1144,995,1472,1354,871,786,1112,1172,1134,1528,1142,1070,1448,1582,1370,1116,1096,1180,1470,1610,1588,1670,1512,1246,1392,1686,1604,1588,1312,979,611,428,385,294,336,375,441,701,724,469,410,488,740,856,516,458,508,546,698,620,671,1120,1468,1416,1282,1062,655,905,1104,1184,1450,1484,1134,1048,1214,1470,1548,1442,1272,1180,1058,924,828,974,1028,972,981,1256,1458,1088,1096,1122,1080,1108,1146,1136,1114,1096,1170,1080,1072,1148,1080,1208,807,1192,1246,1268,1226,1019,769,716,885,935,841,833,1098,1074,1106,1056,892,911,728,901,1332,1608,1878,1628,1412,1550,1426,1592,1180,695,1030,1138,1022,1020,916,991,1418,1740,1754,1382,709,536,744,1082,1218,1330,1228,1124,1538,1968,1932,1780,1866,1714,1420,1478,1380,1504,2712,2276,1718,1534,1370,1380,1546,1356,1330,1512,1388,1520,1394,1310,1266,1138,1194,1382,1338,1040,1082,1386,1236,1112,1288,1013,1348,1712,1402,1426,1172,883,767,1092,1884,1932,1402,1130,1160,1362,813,1046,831,558,683,980,957,776,785,820,1060,976,969,1390,1692,1134,1050,1054,995,1300,1516,1122,980,1200,1384,1382,1288,1260,1134,1194,1418,1362,1224,1258,1250,938,829,1110,1064,625,866,833,818,857,797,978,1312,1094,809,1136,1278,1260,1152,830,1270,1144,1016,1110,810,684,700,724,776,691,738,943,1110,1126,1294,1270,1176,1374,1284,1278,1194,1080,977,1018,1200,1324,1036,908,1192,1328,1396,884,976,1212,1352,1588,1754,1764,1260,1218,1232,1028,1312,1092,1294,1524,1560,1446,1518,1244,1184,1532,1668,1502,1406,1484,1490,1484,1384,1284,1396,1338,1248,1466,1450,1224,1276,1370,1322,1312,1342,1432,1528,1318,1252,1318,1162,1104,1522,1548,1280,1276,1456,1618,1392,1302,1480,1392,1382,1404,1238,1074,1226,1300,1194,1144,1262,1316,1348,1476,1440,1286,1096,1092,1266,1426,1506,1318,1276,1238,1362,1346,1256,1264,1208,1416,1428,1152,974,1020,949,941,917,1050,1178,897,711,874,838,957,1438,722,927,1206,973,742,578,596,1186,1260,893,1050,1380,1402,1260,1282,1320,1346,1380,1252,1470,1604,1396,1344,1426,1570,1526,1438,1556,1158,1150,1388,1332,1238,1266,1306,1388,1214,766,684,564,678,996,945,873,1058,980,1040,1382,1398,1260,1464,1500,1286,1184,1038,788,598,791,868,987,1086,818,753,946,597,444,739,1282,1376,1182,1252,1318,1314,1196,1246,1506,1616,1410,1420,1122,946,951,1216,1036,714,744,1062,1228,1186,826,806,1208,1244,1108,1156,1138,1040,1086,879,872,803,763,1102,1472,1584,1726,1470,1224,1758,979,537,621,805,900,651,555,685,871,733,807,1202,1186,1288,1668,1704,1412,979,909,885,760,583,756,1438,1622,832,871,1062,1052,836,940,919,765,850,904,940,1100,1328,833,814,957,599,355,541,612,660,1144,1530,1702,1624,1296,1178,908,1144,1262,1356,1342,1228,1470,2104,1826,736,395,454,775,1366,1438,987,637,692,679,830,1148,1046,883,984,750,407,379,358,402,737,1020,1074,1074,750,1028,1262,772,857,1146,1046,1064,980,855,783,807,1128,1256,1364,1344,1234,1078,790,586,559,772,959,1011,957,833,1170,1494,1410,1270,1292,1232,1162,1174,1232,1346,1306,1198,1252,1348,1266,1046,970,815,467,540,991,1376,1396,1528,1160,1298,1158,1174,1013,843,769,828,1116,1328,1296,1174,1026,1038,796,854,1332,1378,1108,996,1228,1406,1352,1262,1222,1306,1330,1366,1234,1182,1360,1628,1680,1658,1322,1244,1378,1142,944,1050,1050,1018,1064,1118,1260,1454,1938,1314,1084,1034,897,1015,1010,1112,1154,1076,900,823,664,669,975,1412,1454,1386,1266,1058,979,869,583,430,403,365,279,320,363,369,358,331,318,359,379,339,336,361,319,363,420,412,335,289,296,352,368,350,346,363,486,742,863,1062,771,405,351,354,344,322,318,315,304,318,344,393,371,367,345,356,343,343,329,332,352,345,344,361,408,484,449,467,451,369,316,294,330,373,486,462,308,299,317,361,430,399,322,313,321,330,387,396,356,339,379,382,321,309,356,422,476,347,338,353,361,376,350,310,309,324,372,364,357,363,357,363,394,399,401,396,380,377,392,390,397,388,394,416,463,499,507,495,480,481,513,531,523,494,474,467,469,451,422,387,395,398,385,388,381,368,366,360,372,404,362,361,371,385,415,431,457,458,441,463,465,440,453,440,451,454,437,422,426,410,394,401,404,412,420,429,413,421,431,449,456,439,427,443,461,466,465,455,442,425,405,409,418,397,387,401,376,378,380,363,366,374,376,375,374,383,389,399,369,362,369,373,366,361,357,367,390,386,392,397,383,376,395,428,442,453,436,410,400,395,390,401,391,397,391,377,358,346,346,346,340,335,337,332,331,324,320,328,333,352,377,397,420,439,447,443,441,414,394,404,388,398,403,409,406,404,406,398,387,386,383,359,348,368,380,373,374,362,356,347,356,353,348,348,341,348,346,370,418,435,432,415,401,386,382,378,380,390,400,398,391,387,393,393,383,365,364,339,326,326,330,364,391,398,393,399,398,369,363,342,312,308,289,273,274,276,277,261,265,266,266,266,265,271,267,258,265,283,300,316,314,311,319,348,323,323,318,312,315,320,331,333,334,327,315,331,323,326,331,325,318,305,321,334,336,321,326,327,315,309,308,317,310,298,295,298,302,300,300,303,302,296,292,294,295,296,297,300,301,302,304,301,298,301,304,302,300,305,305,305,306,305,313,320,324,322,309,299,302,309,315,323,322,335,350,356,349,336,341,353,368,371,378,391,394,383,377,375,362,353,346,344,332,332,338,338,343,357,356,362,357,337,337,346,332,332,330,332,332,337,336,329,327,323,329,324,332,332,336,337,336,338,346,336,337,349,334,330,332,337,325,322,318,341,368,354,344,348,353,356,353,350,368,344,354,345,327,340,327,323,324,324,327,329,332,330,332,335,337,337,344,334,334,325,323,326,332,343,334,324,329,337],[606,991,1260,896,421,304,245,247,282,297,389,381,408,412,375,354,397,464,655,1072,1262,1166,1020,774,416,336,344,349,359,318,284,301,368,428,488,587,593,639,731,787,852,803,722,645,546,470,543,730,784,799,820,779,691,526,379,386,431,453,496,875,1140,836,887,973,930,1060,1060,771,456,487,376,364,432,455,515,522,644,761,648,1002,1344,1626,1144,1050,1162,747,301,401,757,830,876,885,669,523,550,611,760,489,393,909,959,526,507,430,454,605,642,544,700,929,1016,799,477,307,392,869,1234,1148,1402,1380,691,742,1216,1338,1094,914,832,1094,993,546,349,368,458,814,1338,1634,1076,625,486,492,546,589,667,789,846,799,803,726,508,375,371,407,390,379,352,343,372,473,498,417,361,381,442,464,501,591,619,646,670,763,861,832,669,477,401,436,414,669,1062,736,483,456,448,423,420,446,434,346,335,368,303,278,289,361,458,1110,1214,1044,1076,1058,1204,1007,729,794,542,423,570,959,1300,1328,1188,866,723,785,652,479,417,422,454,474,507,518,491,414,421,348,319,340,348,374,486,518,484,386,458,462,449,871,815,476,827,1122,951,536,438,597,733,1106,1140,923,851,992,800,451,328,497,707,673,549,434,379,499,880,1222,1170,1056,1290,1578,1548,1230,1058,1238,1144,441,432,589,746,984,1246,1688,1358,1314,1642,1716,1642,1264,1212,1494,1114,960,1182,1260,993,1030,1336,1208,1156,1262,1338,1296,1212,1230,1156,1218,846,746,713,967,962,1013,1112,754,842,1712,2002,1490,1210,974,1222,1070,1060,1058,814,746,754,883,1224,1628,1682,1606,1570,1562,1692,1738,1560,1080,1116,1210,1386,1584,1308,877,672,874,708,874,1028,988,1062,1292,1422,1388,1670,1680,1048,561,587,625,635,774,943,1662,1646,1426,1606,1110,1142,1748,1688,1192,905,1202,929,586,753,1112,866,602,504,539,789,1012,993,1114,1396,1310,802,631,1070,1130,980,997,1128,1134,1212,1150,1038,1150,872,995,807,774,1062,1284,1200,1328,1590,1526,1310,1276,942,988,1460,1436,1434,868,1440,2166,1240,996,1398,1220,1082,1430,1234,800,1190,1700,1190,1000,1136,764,1106,1112,880,1013,819,782,851,924,1126,1134,1050,965,742,1026,1174,1166,837,569,969,1216,1166,1410,1412,1618,1522,1864,1358,926,1410,1708,2018,2128,1958,1758,1684,1616,1542,1526,1534,1526,1526,1448,1308,1092,1138,1376,1138,733,684,762,1094,1448,1666,1748,1152,729,1007,1118,819,572,534,669,839,969,968,759,1078,956,801,697,587,565,620,455,349,766,1356,1400,1220,1350,1436,1468,1324,1548,1396,1124,764,855,1138,1188,1010,877,991,1154,1850,2380,2120,1430,1044,1318,1604,1560,1396,1618,2012,1918,1644,1568,1426,1242,1598,1780,1692,1792,1770,1264,563,414,430,269,305,348,498,884,788,586,461,426,502,454,343,573,849,915,890,708,948,1082,1196,1344,1242,828,706,1044,1098,1164,1478,1338,1250,1448,1554,1346,1422,1358,1116,1176,1338,1112,1017,1062,973,1252,1456,1050,1202,1316,1258,1174,1284,1148,1114,1114,1000,1218,1484,1252,1172,1260,1432,1194,818,1396,1468,1306,1242,1190,1114,1230,1462,1212,1150,1058,1142,1214,1310,1013,789,779,703,955,1168,1156,1316,1262,1238,1017,1136,1172,1080,948,921,1064,903,852,1220,1418,1426,1472,1662,1226,667,512,607,822,964,1230,1126,1260,1670,1802,1606,1384,1426,1550,1710,1464,1332,1244,1480,1720,1792,1616,1224,1360,1530,1220,1222,1440,1374,1318,1268,1230,1530,1370,1180,1306,1376,1294,856,910,1334,1436,1274,855,1020,1138,1344,1546,1416,1212,1082,1226,1516,1460,1090,1086,1132,1432,915,1138,973,532,731,1184,1144,883,725,744,1152,1056,1252,1654,1388,847,765,729,954,1300,1190,880,1016,1642,1498,1314,1266,1262,1290,1524,1522,1268,1140,1050,908,729,966,968,792,786,897,644,710,696,828,903,882,1082,1028,1334,1224,669,665,1192,1324,1072,1540,1744,1005,737,764,672,628,739,662,802,1332,1474,1398,1374,1314,1378,1220,1282,1238,910,979,1007,1282,1450,1324,1056,1066,1172,1158,670,707,1064,1390,1400,2016,2530,1380,1070,1026,1536,2334,1322,1328,1422,1478,1488,1528,1262,1172,1528,1552,1264,1412,1390,1494,1546,1268,1028,773,811,1180,1628,1740,1332,1086,992,1034,1188,1410,1366,1410,1272,1600,1668,1412,1136,1322,1586,1404,1180,1334,1448,1290,1024,1312,1262,1124,1410,1302,1142,1210,1138,949,899,1150,1362,1394,1544,1288,1234,1158,1208,1310,1288,1278,1340,1334,1306,1410,928,1126,1346,1290,1356,1360,1040,793,807,899,823,711,868,760,683,632,695,834,617,462,789,1282,1372,1016,633,544,568,827,789,733,871,943,1028,1056,1346,1220,1676,2030,1442,1466,1270,1222,1340,1434,1566,1502,1506,1576,1304,1250,1334,1276,1164,1218,1310,1362,849,774,1244,1056,861,1086,1344,1246,1110,1196,1260,1192,1342,1376,1456,1094,782,756,795,687,602,633,775,1088,1156,677,494,1009,956,681,807,1120,968,685,1050,1462,1270,1080,1176,1424,1590,1554,1210,669,802,988,1238,1388,1154,1098,1284,1390,1390,1494,1186,1262,716,461,921,1556,1324,691,726,993,846,901,883,1318,1480,1528,1300,1254,1404,1054,952,976,766,471,406,436,616,861,651,688,617,810,1406,1550,1422,1220,1100,848,562,706,727,586,858,999,954,996,1134,1036,762,808,800,720,669,723,921,1206,1188,696,509,758,866,467,274,497,880,995,1088,1348,1356,1088,896,570,960,1394,1554,1406,1136,1236,1748,1604,973,683,701,978,1058,865,560,466,526,448,644,1040,1108,1096,962,644,588,692,619,517,700,1060,1108,991,861,1290,1382,861,1338,1730,1100,1052,998,1034,769,758,993,1160,1120,1018,1088,1072,1236,1306,905,786,784,960,1064,1092,1310,1440,1378,1274,1122,1182,1306,1015,1326,1588,1578,1252,1178,1322,1268,1074,1146,929,471,541,675,1196,1292,1220,1288,1278,1132,1182,975,874,914,874,922,1098,1104,993,994,1256,1108,1306,1476,1248,985,791,1034,1216,1188,1288,1206,1204,1266,1434,1462,1672,1904,1626,1686,1690,1490,1482,1442,1360,1098,1006,872,980,1074,1296,1524,1670,1618,1220,1368,1452,1260,1496,1496,1580,1584,1808,1756,1148,670,735,1068,1430,1364,1178,1040,919,1076,1372,927,542,538,474,412,371,341,347,340,305,315,347,366,356,342,355,339,368,380,349,297,302,347,354,339,355,328,346,653,963,985,1216,739,365,344,359,352,306,275,263,289,327,329,352,332,377,475,429,329,329,332,329,330,343,353,326,372,442,431,401,420,407,348,347,422,385,384,399,354,328,326,366,401,337,301,322,348,386,400,377,362,338,359,359,315,308,323,320,354,355,344,332,315,306,301,289,318,363,362,353,368,374,365,361,383,392,393,396,382,370,384,384,379,382,394,402,438,486,498,505,490,469,492,502,509,511,500,475,472,447,422,404,409,397,365,360,374,364,354,350,377,364,348,371,387,406,436,443,443,452,437,458,485,449,429,443,446,435,437,428,420,408,393,397,396,387,392,417,424,432,445,451,449,447,443,443,456,466,461,452,437,427,401,409,430,401,397,392,376,375,369,375,382,383,380,378,366,375,378,396,389,366,358,369,368,357,351,352,373,383,393,398,385,370,386,410,437,443,443,424,410,408,393,405,393,391,384,384,367,349,352,344,342,347,347,333,320,317,317,321,328,346,364,396,419,447,456,441,399,390,383,399,381,388,396,399,402,399,398,396,391,383,362,373,355,350,362,365,371,363,357,342,346,350,336,340,350,360,347,371,432,444,420,423,401,380,373,389,390,386,389,399,395,383,383,391,386,369,374,363,337,326,332,367,376,386,392,398,401,384,373,351,322,310,310,295,280,270,267,260,274,260,265,266,266,271,276,280,287,295,304,318,331,329,318,355,334,319,317,324,325,328,333,337,335,322,309,309,321,334,328,318,318,320,324,331,347,330,310,311,317,313,313,307,292,302,305,297,295,292,306,310,300,295,298,300,300,300,305,306,306,305,308,306,300,307,305,300,300,306,308,310,311,312,317,323,326,319,312,312,305,301,321,318,332,343,350,344,337,334,332,346,362,372,382,382,381,385,394,379,365,349,349,343,330,328,321,332,351,359,337,361,361,338,341,341,348,346,341,330,327,329,330,332,324,325,327,324,322,327,336,337,337,336,338,337,338,341,335,332,336,337,328,328,321,343,361,348,341,346,349,343,346,339,356,353,362,353,331,318,323,332,323,327,332,323,327,332,332,330,332,338,324,326,332,330,332,323,326,324,337,350,327,337],[1278,1368,1446,1282,741,354,265,240,296,328,389,400,390,386,375,333,380,558,978,1312,1268,1282,1216,896,496,386,420,404,348,308,264,304,397,451,527,767,735,663,722,730,784,827,812,774,709,621,688,902,890,874,827,744,648,532,446,432,454,453,431,476,486,578,804,570,875,1124,1021,876,669,570,408,280,244,203,274,333,364,453,453,558,724,987,1023,1176,1132,556,406,435,461,594,778,682,643,424,304,550,598,603,949,1150,727,574,711,519,584,527,671,583,1108,1448,995,572,403,361,314,533,875,1054,1542,1382,683,555,511,416,629,603,684,1136,1014,455,451,595,699,1014,1634,2036,1250,789,594,468,488,501,515,697,677,677,764,697,468,381,322,314,306,323,333,310,335,468,501,450,385,408,507,436,464,642,711,703,673,656,760,976,987,782,630,497,432,780,1234,872,473,412,412,398,369,390,507,540,522,388,328,300,317,338,620,1128,1234,1170,1252,1158,905,780,1296,1686,1130,726,725,777,1034,1222,1340,984,661,599,549,526,477,521,447,486,416,339,333,376,509,528,347,262,281,331,423,407,409,394,409,425,551,1020,937,833,917,1184,1310,664,337,474,713,1014,1450,1324,1144,912,649,572,318,248,349,364,347,337,345,379,991,1542,1318,1204,1392,1492,1344,886,866,1446,1402,764,735,885,764,1176,1566,1408,1206,1502,1538,1378,1370,1548,1564,1362,1128,1090,1110,1152,1216,1538,1286,900,1110,1254,1140,1050,1112,1178,1188,1204,1078,775,810,1017,713,576,800,562,574,1108,1468,1292,1076,1358,1478,1212,1248,1238,907,738,691,749,1244,1506,1686,1644,1588,1762,1928,1890,1482,1036,988,1214,1522,1298,1024,519,485,760,812,867,1224,1284,1230,1456,1542,1424,1348,1204,1028,901,609,530,884,1146,1256,1726,1724,1334,898,850,999,1262,1202,1082,868,1156,905,748,932,1046,742,675,701,811,902,1266,1384,1362,1418,1424,1160,632,774,1092,1116,1256,1166,1134,1506,1334,1156,1670,1526,1104,709,604,835,1240,1676,1456,1208,1430,1512,1488,1060,732,849,1382,1818,1104,1504,1750,1028,630,957,1166,912,1040,1100,1023,1180,933,619,988,1340,1023,919,844,823,974,748,825,831,1162,1436,1498,1366,1432,940,620,790,1172,1242,1166,1278,1220,1128,1500,1674,1710,1602,1856,1528,1312,1586,1748,1854,1908,1846,1792,1684,1576,1644,1230,1326,1450,1272,994,791,588,773,1250,1382,1128,785,646,749,1088,1440,1686,1696,1156,631,517,614,564,558,752,1048,1448,1400,992,1204,1188,929,702,675,647,462,361,395,771,1370,1368,1292,1366,981,1320,1498,1432,1432,969,659,887,1058,1114,948,987,1220,1002,1830,2352,2460,1650,1130,1312,1524,1508,1694,1780,2012,1598,1182,1390,1378,1250,1478,1622,1722,1860,1798,1252,603,441,437,327,309,342,576,797,918,1016,879,760,735,633,664,1028,1286,1444,1220,1240,1488,1108,1120,1152,1080,1030,1116,1056,785,1206,1454,1218,1054,1310,1328,1284,1272,992,859,1274,1334,1050,1252,1292,1003,1128,967,796,841,944,1226,1126,891,916,940,1062,1032,1170,1224,1013,1034,1194,1214,974,897,1030,1094,1222,1194,1330,1416,1460,1516,1208,1158,888,904,1284,1246,1122,974,857,1048,1252,1372,1232,1074,1102,1002,952,1056,1130,1124,752,611,797,828,883,1244,1374,1488,1406,1242,873,790,686,532,631,1040,1134,1044,1138,1354,1388,1322,1460,1432,1144,1346,1430,1560,1520,1584,1730,1754,1506,1164,1348,1208,1274,1428,1616,1500,1646,1480,1150,1300,1032,891,1168,1316,1562,1164,956,1152,1462,1282,1066,1196,1160,1292,1594,1638,1450,1420,1342,1072,1170,1214,1302,1346,1318,877,1068,1176,749,756,1128,1030,722,1010,1482,1900,1470,1656,1736,924,568,707,979,1138,1256,1378,1180,1548,1628,1172,1306,1248,1110,1134,1074,1034,1344,1224,1058,890,497,532,521,555,761,679,561,537,513,1006,1154,977,1116,804,777,976,788,799,1130,1242,1712,2404,1992,1074,860,813,872,802,982,1122,1044,1186,1526,1396,1224,1312,1256,1048,1268,1312,1288,1202,948,1160,1018,882,923,985,1056,978,808,972,1500,1606,1436,1750,1864,1408,1021,763,1396,1546,1500,1682,1488,1672,2050,2082,1714,1282,1432,1346,1228,1122,1416,1478,1396,1178,747,692,674,606,1116,1500,1356,1412,1048,1038,1162,1412,1454,1332,1234,1446,1920,2308,1360,1302,1382,1234,1290,1268,1302,1070,877,1228,1406,1350,1314,1360,1410,1252,1052,688,693,903,1232,1360,1288,1274,1450,1288,1200,1156,1278,1446,1424,1288,1322,1372,1198,1162,1092,1098,1168,1122,996,869,1032,1120,973,877,765,625,524,485,528,667,488,479,857,1098,1274,1013,524,480,559,472,491,576,773,946,825,865,1176,910,1484,2204,1578,1520,1584,1596,1512,1554,1554,1476,1400,1428,1344,1362,1442,1200,1264,1388,1482,1482,1094,1084,1504,1434,1060,870,960,1202,1138,1220,1214,1224,1480,1550,1698,1226,770,888,1024,996,912,883,966,1156,1162,1058,717,874,1114,1212,1272,1290,1004,915,1388,1534,1340,1310,1204,1412,1576,1670,1324,791,684,991,1104,1098,1108,1296,1364,1250,1478,1692,966,636,819,605,787,1336,851,281,474,636,759,1184,1136,1432,1450,1526,1268,1388,1710,1432,1036,783,486,468,375,564,944,1052,749,453,346,705,1306,1416,995,771,1218,901,690,520,777,994,1028,701,927,1058,956,839,842,985,1206,1052,963,869,1134,1410,1328,840,495,858,929,462,326,504,889,651,533,661,890,1001,841,665,741,1005,1274,1186,752,663,869,803,1084,1100,794,750,1028,1252,930,461,384,314,510,1064,1034,965,946,710,906,1336,1126,649,598,801,1060,1004,1098,1202,1350,1386,1714,1854,1450,1246,1106,892,794,877,962,1170,1040,1106,1060,1134,1508,1612,1330,1002,879,1126,1206,1052,1024,1142,1182,1126,1015,885,1048,1204,1188,1154,1224,1030,1172,1396,1178,1021,1174,1302,1015,577,420,896,1240,1284,1284,1216,1170,977,797,1003,1009,1042,1060,1054,1136,1104,1202,1144,1076,1266,1228,1110,959,822,1158,1128,1016,1164,1556,1384,1284,1376,1246,1316,1502,1472,1676,1814,1562,1544,1522,1426,1188,988,1066,1324,1146,1184,1318,1484,1508,1282,1276,1518,1506,1302,1472,1788,1644,2088,2464,1714,1194,1122,1208,1340,1210,1252,1044,731,1036,1540,958,550,639,558,437,432,401,346,335,387,495,498,464,482,570,653,662,515,358,355,368,463,508,399,339,365,370,321,413,469,954,1326,874,403,349,338,324,318,299,306,333,337,327,342,330,386,508,458,331,328,329,321,314,304,322,339,370,441,439,422,499,535,380,340,460,342,305,367,402,340,303,324,356,345,302,302,329,413,410,353,341,384,359,315,321,302,280,299,358,401,349,283,274,271,283,310,357,383,368,357,360,372,359,353,378,387,386,389,381,369,368,384,378,385,387,382,416,469,498,505,493,465,480,494,519,508,485,477,454,430,412,384,381,391,382,374,392,368,353,346,369,376,369,374,397,412,433,444,441,457,451,457,479,459,432,440,446,432,435,436,416,404,394,395,395,396,412,429,433,424,438,448,444,452,442,435,446,450,448,447,437,440,430,424,414,409,398,396,390,386,366,374,378,382,395,387,362,364,374,390,397,369,352,367,370,354,351,345,360,378,387,404,410,393,370,380,430,434,438,420,393,396,399,402,393,389,375,373,367,350,345,339,344,344,321,320,321,318,328,327,326,335,364,409,414,447,453,434,426,403,387,390,379,382,387,394,398,398,403,397,390,379,375,369,355,338,341,363,362,356,350,350,346,332,328,341,353,365,366,370,413,436,428,415,407,405,377,430,390,374,383,398,388,368,368,386,391,372,372,377,371,363,364,369,380,387,381,395,404,393,378,360,341,314,286,274,290,281,271,267,253,267,271,264,268,280,292,292,285,292,303,311,307,295,324,343,336,321,316,328,324,329,337,343,343,343,333,301,309,333,331,318,317,321,317,307,348,342,320,331,336,333,325,318,307,324,324,304,305,304,313,313,313,304,306,300,297,295,290,295,307,305,314,320,298,305,306,299,299,304,312,312,315,318,317,318,321,325,325,321,309,297,329,318,329,344,335,336,346,332,332,348,358,368,383,382,381,382,377,365,366,343,332,339,328,322,319,351,362,362,344,338,353,337,328,332,334,325,319,325,332,337,344,337,325,324,323,325,321,327,337,344,343,338,336,336,337,336,343,335,332,332,331,339,341,337,357,349,348,350,351,346,341,336,336,348,354,341,335,330,331,332,327,325,344,325,323,327,323,327,330,329,326,332,319,311,307,319,329,330,344,332,334,343],[1186,1246,1340,1238,913,558,345,249,296,386,379,353,376,406,382,276,303,454,896,1138,1142,1132,1088,829,520,437,550,571,473,430,336,356,440,444,493,820,707,571,620,691,763,802,849,816,797,725,676,763,841,852,756,680,630,494,421,451,432,451,498,489,480,703,774,506,799,1080,787,545,446,365,257,243,254,248,311,293,285,308,379,381,374,578,821,1168,1048,459,470,503,480,608,560,593,842,607,351,483,472,844,1704,1652,854,662,731,745,667,478,579,527,608,807,688,370,358,497,576,583,756,866,994,787,455,417,377,360,482,531,673,868,775,416,617,771,727,744,968,1240,951,688,594,509,686,687,532,647,521,486,666,608,638,576,611,677,601,543,469,341,342,490,442,369,384,432,623,564,566,692,744,716,656,605,817,1334,1410,1218,788,477,478,663,770,531,391,386,350,366,405,397,467,567,571,344,312,321,399,772,1226,1104,1032,1156,874,601,700,796,1678,1878,1736,1394,1064,1050,1118,1218,1178,982,906,571,547,559,495,444,413,449,381,338,436,681,1048,977,553,305,317,322,341,343,401,452,479,328,764,1284,1192,1020,890,1442,1432,569,426,731,965,1028,1246,1196,1200,857,451,489,382,314,284,285,316,319,320,326,695,1100,1160,1238,1050,625,483,397,511,841,1252,1202,1088,1023,904,1334,1354,1116,1368,1108,807,903,1418,1752,1330,882,961,1080,1182,1122,1404,1576,1328,1070,1104,1300,1394,1070,847,1034,1260,1322,960,762,1072,1332,756,518,634,499,695,1254,1440,1366,1338,1476,1542,1400,1418,1430,1224,1088,908,1202,1368,1534,1614,1628,1624,1758,1900,1720,1268,1116,1248,1542,1306,1062,865,539,635,1094,1324,1368,1272,1062,1034,1062,1090,1282,1192,1086,867,774,691,735,1036,1278,1396,1470,1484,1372,1102,1428,1428,1396,1340,1210,1210,963,667,602,1276,1526,969,1236,1498,1446,1144,1244,1290,1232,1428,1504,1184,589,514,719,948,1302,1046,949,1156,1284,1306,1834,1788,1396,916,616,890,1512,1766,1184,1256,1532,1572,1470,1316,901,711,1136,1272,1374,1816,1644,1146,797,1328,1456,1312,1532,1682,1644,1572,1276,1262,1442,1404,1168,1152,1334,1332,1334,1436,1200,1224,1650,1760,1760,1708,1574,1334,1188,1426,1876,1908,1862,1798,1772,1824,1792,1786,1768,1650,1504,1340,1202,1266,1276,1302,1250,1102,1140,1094,1378,1572,1280,1332,1548,1406,1084,855,677,777,697,846,1074,874,761,641,778,1100,1394,1672,1604,1132,639,653,491,525,636,754,1114,1328,1224,1186,1334,1232,1116,1206,1040,819,1052,1000,838,928,987,1328,1334,1072,1458,1804,1680,1138,635,924,1438,1394,1114,919,887,1144,1054,1148,1578,1670,1328,1314,1798,1922,1596,1564,1670,1826,1460,1188,1274,1306,1220,1376,1620,1710,1680,1562,1176,1056,830,610,379,297,394,738,988,1208,1232,1098,1020,907,659,572,664,1068,1440,1500,1698,1500,1356,1422,1214,982,1064,1214,901,1250,1444,1122,1092,1070,1302,1404,1284,1268,1038,905,1284,1184,1094,1344,1314,1092,939,986,1140,904,843,1432,1600,1102,937,1094,1278,1116,1128,1230,987,1007,968,959,1176,1322,1156,997,1138,1350,1618,1216,1044,1260,1058,1132,1176,1328,1498,1240,990,966,921,1022,1236,1212,1260,1250,1132,846,998,1009,1114,971,623,473,616,743,934,1070,1106,1290,1274,1166,1122,973,833,754,912,1112,1062,1420,1544,1222,1232,1212,1320,1194,933,1158,1602,1784,1694,1800,1772,1706,1252,1282,1374,1276,1172,1292,1572,1384,1696,1622,1156,1154,1010,1106,1086,1128,1124,1362,1368,1368,1514,1342,1134,1120,1382,1588,1632,1376,1054,1192,1324,1188,1208,1242,1246,1354,1246,1050,1084,1108,812,768,1350,1626,943,1172,1248,1518,1308,1462,1428,665,452,749,1118,1184,1190,1284,1218,1464,919,852,1228,1276,1268,1006,874,918,1150,920,850,621,390,538,968,990,734,618,828,744,502,957,1016,648,581,766,727,1028,859,697,658,756,1256,1818,1758,1252,1128,700,906,1356,1260,1114,952,1044,1182,1236,1360,1408,1196,1066,906,855,1080,1092,858,807,679,856,962,1036,1032,783,912,1310,1310,1302,1510,1884,1868,1496,897,965,1228,1310,1994,1992,1612,2040,2652,2456,2052,1192,1266,1132,1208,800,1074,1296,1168,800,581,886,815,614,1072,1226,1056,1240,1204,1242,1432,1404,1420,1432,1404,1296,1920,2708,1508,1330,1400,1196,1346,1322,1332,1122,917,909,899,1028,1140,1378,1538,1632,1426,917,777,872,1136,1300,1126,1078,1016,974,1146,988,1118,1456,1450,1316,1366,1400,1338,1154,1068,1128,998,1044,1194,1104,1066,843,993,1188,974,576,483,692,771,588,551,971,1300,1212,1448,1021,602,495,483,529,527,606,881,1228,1260,1286,1028,771,1186,1780,1406,1406,1582,1642,1616,1586,1422,1268,1402,1400,1356,1896,1644,1266,1358,1330,1528,1542,1284,1106,945,980,1118,1136,1090,1646,1334,1220,1354,1566,1832,1718,2030,1682,1018,1158,1328,1248,1224,1344,1356,1488,1454,1384,1134,1098,1296,1284,1284,1354,1130,913,942,1134,1328,1596,1346,1326,1388,1420,1624,1306,1050,1200,1144,1074,1138,1450,1472,1234,1066,1010,780,753,1024,978,851,930,706,378,395,400,548,1106,1370,1366,1130,1072,1050,1140,1194,1088,1114,507,833,939,484,717,912,1484,1408,709,521,781,1176,1222,973,885,949,1236,1454,879,958,1422,1214,1156,1446,1060,920,599,634,888,1260,1214,949,861,1098,1296,1206,930,805,652,445,452,430,480,536,565,630,577,959,1168,872,620,679,812,965,1032,874,871,939,1118,1274,1154,919,816,882,1042,855,408,305,267,363,982,953,727,740,780,965,1260,1015,890,954,938,1048,947,1278,1346,1104,1308,1382,1296,1562,1530,1428,1212,865,841,1074,1066,1058,1011,760,903,1322,1598,1438,1098,1182,1406,1176,843,850,949,1028,1019,1011,708,728,865,932,1044,1172,1260,1548,1318,940,702,1040,1556,1512,793,451,415,763,1108,1214,1202,1030,823,713,1158,1174,1036,1009,903,1046,1082,1118,1024,1017,1288,1390,1252,1172,1120,1134,1138,1156,1284,1514,1312,1222,1128,971,1316,1626,1992,2656,2310,1596,1400,1418,1512,1294,1116,1324,1416,1196,1114,1178,1070,1048,1042,1404,1708,1310,1042,1566,1740,1396,1398,1494,1438,1208,971,1030,1228,980,1410,1152,671,850,1382,986,580,752,582,371,392,397,358,326,476,620,682,723,841,951,1024,1010,741,545,437,416,630,656,532,399,437,486,410,332,278,675,1180,928,395,389,367,341,329,334,357,339,344,374,361,342,368,400,377,313,310,323,323,318,291,310,334,312,281,293,354,450,512,449,381,434,355,372,495,424,320,292,277,329,364,302,293,344,447,402,386,457,573,523,440,373,323,404,464,401,347,322,274,280,295,299,342,401,376,357,349,351,367,367,363,390,397,391,383,370,370,362,378,383,383,382,383,402,452,493,504,495,471,476,509,545,522,490,478,465,433,417,391,385,390,396,367,372,370,366,354,363,374,360,369,406,416,428,458,452,450,450,456,464,464,453,446,448,430,428,437,412,408,395,399,402,402,407,437,439,420,429,443,438,466,446,432,432,448,450,441,439,431,422,395,384,408,386,381,378,375,372,370,375,386,402,398,376,370,383,397,397,376,357,357,372,358,358,348,361,380,378,396,419,415,384,370,405,426,432,426,412,405,404,395,391,395,379,361,346,353,340,334,333,330,320,326,327,318,324,323,318,341,372,411,435,453,445,425,413,381,390,391,377,379,381,394,397,397,411,400,385,365,371,371,359,342,345,343,350,372,342,342,348,336,328,340,360,364,358,353,390,459,436,423,417,401,386,382,370,374,383,404,406,387,381,375,387,377,374,395,374,374,383,365,387,395,381,399,404,380,372,367,351,323,303,299,283,286,285,273,265,278,278,266,262,280,277,280,285,290,294,317,329,301,327,352,347,334,317,322,340,355,356,350,360,370,343,321,320,324,331,321,318,321,321,308,336,340,327,325,325,321,317,315,310,320,333,313,318,310,318,318,312,312,298,294,294,287,280,280,304,297,291,308,313,296,301,300,297,302,307,307,306,306,312,319,324,332,324,310,305,297,307,307,317,339,338,335,348,338,332,344,356,354,374,377,375,371,365,362,362,353,348,343,332,330,324,365,362,341,332,339,348,338,332,330,323,319,318,316,318,324,321,322,323,322,331,335,332,338,345,346,344,343,341,343,332,335,340,332,331,334,332,339,330,334,350,353,354,356,357,354,340,340,340,340,345,346,341,337,337,337,341,325,334,331,325,319,318,322,325,327,332,330,326,304,319,326,323,337,344,341,332,332],[1304,1242,1226,1158,944,797,532,361,467,575,446,373,390,418,412,226,229,280,495,761,722,758,824,674,488,435,516,516,507,465,395,377,441,434,477,557,415,393,474,655,812,800,826,835,801,738,676,650,727,745,664,590,562,445,400,429,437,481,540,594,445,413,488,507,674,666,472,362,340,358,290,342,292,290,285,295,302,332,416,659,705,555,1068,1534,1206,533,429,486,497,495,412,613,1014,800,429,510,399,652,1884,1836,893,859,1005,791,675,601,642,852,816,665,653,645,719,754,1216,896,607,537,624,608,446,362,355,365,382,463,935,1176,757,532,728,730,714,821,1094,1246,941,846,703,574,614,603,566,551,489,463,628,565,749,1048,1166,1028,808,954,1084,612,433,534,455,429,401,546,689,566,568,713,746,687,570,629,1038,1484,1532,1146,543,397,432,465,415,353,366,298,249,347,402,437,457,476,427,330,348,488,808,1234,1114,883,1100,1234,786,632,579,946,1452,1660,1816,1450,1170,1140,977,1090,1098,1068,753,624,988,929,602,535,440,419,453,457,634,1046,1122,1334,1184,730,403,264,337,486,553,547,492,453,619,621,836,992,1314,1888,1296,442,440,911,940,840,885,881,1144,1354,1024,610,361,320,300,321,341,346,333,312,520,980,1390,1642,1096,546,502,519,579,506,530,785,1190,1374,1550,1758,1198,1266,1210,749,543,578,932,1098,1052,1008,935,1250,1086,703,1158,1448,1622,1240,1096,1176,1172,1270,1162,942,1012,1160,1142,1152,1380,1482,803,467,390,485,832,1160,1638,1782,1390,1124,1094,1015,1486,1650,1622,1636,1344,1382,1390,1512,1530,1486,1554,1670,1628,1638,1484,1440,1584,1516,1292,1130,1284,934,985,1534,1730,1518,1362,1058,1013,980,1018,1015,1070,1016,789,777,843,914,1194,1440,1470,1332,1350,1466,1654,1772,1504,1442,1598,1622,1222,757,678,766,1156,1340,1178,1312,1592,1470,1218,1052,996,1038,1094,1148,1070,595,393,519,967,951,884,764,881,1342,1026,1142,1478,1316,693,658,1130,1762,1714,1410,1384,1382,1372,1350,1208,1176,1130,1256,1228,1280,1668,1516,1266,1344,1362,1016,1152,1606,2060,2238,2120,1736,1374,1448,1556,1512,1406,1748,1948,1860,1876,1814,1828,1712,1610,1716,1720,1616,1620,1648,1676,1704,1732,1672,1650,1782,1528,1146,1036,1106,894,656,640,592,576,682,774,868,932,1011,1252,1568,1738,1974,1846,1470,1394,1436,1314,933,850,819,973,1044,773,548,599,656,796,1188,1472,1584,1552,976,694,501,443,474,459,508,1058,1252,1072,1176,1002,931,901,826,1158,1566,1206,623,504,691,1042,1242,1186,1360,1864,1938,1182,656,942,1288,1120,1080,1156,899,818,1040,1134,962,922,965,1120,1542,1892,1990,1610,1468,1620,1688,1688,1702,1440,1154,1306,1470,1504,1440,1330,981,1100,1228,840,396,323,510,807,1078,1176,1192,1490,1172,938,680,739,937,1076,1074,1208,1306,1416,1576,1362,895,871,976,977,1036,1526,1200,1072,1056,1056,1330,1362,1154,893,901,1236,1278,1032,1154,1344,1164,857,725,902,1050,998,1064,1176,1136,1250,1298,1314,1344,1236,1342,1322,978,1034,1072,1016,1136,930,807,960,759,1160,1406,1266,1428,1504,1158,1164,1228,1266,1356,1216,1162,1170,1134,988,1040,1124,1326,1374,1090,639,471,759,895,686,661,576,623,681,910,1026,1396,1302,1068,1118,1188,1166,1048,1100,1344,1240,1178,1670,1754,1432,1270,1304,1296,1192,1188,1396,1742,1824,1874,1990,1846,1926,1340,1206,1170,1118,932,1136,1454,1388,1416,1500,1374,1168,1294,1422,1316,1402,1310,1320,1324,1332,1428,1392,1336,1254,1350,1294,1250,1016,762,815,1378,1406,1462,1440,1306,1428,1318,1208,1152,900,614,884,772,702,736,752,514,597,933,1290,939,452,561,1001,1186,1268,1178,1078,1126,1004,919,1316,1290,1260,1546,1224,1021,951,892,744,678,786,728,840,761,554,477,513,1096,1418,705,1008,1116,858,891,1054,1216,1308,1144,775,490,571,725,1166,1450,1050,860,488,952,1556,1556,1342,1017,1082,1138,1290,1394,1258,1236,1244,961,803,904,957,725,601,742,980,990,1174,1112,606,965,1388,1434,1598,1646,2268,2012,1098,775,1320,1376,1214,1266,1152,1272,2128,2690,2476,2012,1272,1104,1130,1060,770,1220,1570,1350,957,726,692,630,631,1192,1466,1238,1388,1396,1356,1354,1138,1222,1322,1484,1426,1176,1126,1174,1138,1142,1260,1392,1336,1252,1026,730,955,1021,985,1088,1346,1368,1512,1440,1240,1240,1222,1362,1418,1218,1184,1146,974,946,1182,1210,1536,1496,1432,1466,1376,1122,1060,1356,1302,1062,1184,1202,1078,1070,843,805,1146,1144,723,606,941,1040,618,569,1080,1626,1396,1448,1052,845,857,798,647,480,555,903,1236,1604,1766,1346,1344,1194,1582,1516,1504,1418,1368,1432,1436,1360,1392,1434,1436,1082,1390,1234,1084,1054,1262,1550,1512,1394,1346,1376,1304,1196,1132,772,1196,1368,1320,1294,1426,1520,1542,1922,1922,1270,1144,1280,1312,1582,1604,1436,1328,1244,1172,1080,1108,1350,1292,1092,916,1046,934,1070,1124,1380,1866,1576,1192,912,959,1344,1494,1454,1264,957,1318,1396,1516,1576,1490,1294,1096,1082,1178,1250,1332,1082,1086,1238,597,896,1130,756,982,1324,1106,916,982,990,938,877,700,725,472,917,784,435,738,848,1056,1050,697,593,886,666,593,1104,1256,794,894,1704,1284,909,1470,1278,1248,1512,1102,1186,611,644,721,609,749,863,905,935,959,841,948,1018,650,424,809,936,688,547,1018,1026,758,1144,1274,983,606,689,978,1072,1102,826,661,1058,1376,1362,1392,966,528,428,475,456,352,338,398,481,1006,1002,819,930,918,877,722,710,926,993,932,971,1110,1206,904,792,1001,1068,1478,1794,1610,1676,1128,983,931,964,1000,1120,1120,930,935,1246,1500,1424,1106,1254,1186,1202,1058,874,1092,866,683,949,861,766,860,1000,1130,1116,877,1198,1250,1124,1154,1062,1146,1352,1011,581,455,589,813,1100,971,998,1050,919,1013,976,885,1068,1116,1124,1092,933,768,851,1138,1180,886,905,1112,1202,1160,1248,1588,1820,1500,1226,1156,1294,1472,1648,1766,1854,1682,1370,1312,2138,2080,1262,1280,1456,1412,1166,1176,1244,1064,814,959,1522,1830,1250,841,982,1172,1104,1068,1176,1112,844,644,545,799,1094,1384,1256,949,975,1448,1110,744,1160,633,300,299,356,366,352,694,1244,1430,1472,1382,1328,1876,1808,968,574,396,390,456,462,462,399,419,485,461,441,449,603,1036,871,419,403,400,416,359,343,348,365,354,374,375,333,340,345,330,303,317,318,308,296,307,336,354,346,297,294,318,355,397,406,414,402,329,352,390,351,294,279,273,295,318,297,320,394,456,398,361,477,624,539,444,449,569,739,790,621,473,330,275,277,307,293,339,380,364,354,343,348,377,363,355,379,399,393,388,380,369,368,384,383,389,392,394,393,435,474,495,497,489,471,497,526,518,497,490,492,437,422,404,393,376,380,370,373,367,370,367,360,374,366,368,419,434,455,481,467,441,449,460,453,466,459,426,443,435,426,440,416,404,395,395,404,411,408,419,437,429,417,443,441,455,455,435,411,439,455,444,436,421,412,400,400,409,387,370,376,371,368,366,368,382,405,403,389,376,386,397,383,401,383,360,368,366,366,354,354,376,374,387,405,422,402,378,380,412,428,428,416,406,397,379,382,397,383,367,340,350,349,343,337,328,326,332,333,323,320,328,328,339,377,387,411,438,431,417,401,384,381,388,378,371,368,391,398,406,388,394,388,385,389,379,368,360,351,350,347,353,362,345,345,342,329,337,358,356,360,365,390,468,463,432,414,400,389,380,375,383,376,375,391,388,391,379,386,381,381,386,384,387,395,392,395,393,398,397,414,399,373,365,371,321,314,296,277,290,312,295,272,281,273,273,273,287,277,288,287,290,294,314,324,314,331,355,364,342,347,355,364,364,364,358,364,376,357,334,336,334,322,323,325,325,326,318,336,326,318,315,307,306,307,310,309,313,329,318,312,310,312,309,308,310,292,283,294,289,290,295,315,306,300,296,315,300,308,314,307,307,307,305,300,299,305,313,319,324,319,316,313,307,305,312,329,337,337,339,332,349,332,344,358,353,362,371,372,377,368,377,368,362,354,339,325,324,334,353,353,351,353,351,344,327,344,324,313,312,318,316,312,313,321,322,318,321,335,345,345,345,332,325,331,335,340,350,334,332,343,331,325,325,328,322,328,336,351,361,359,357,357,353,343,343,344,345,351,356,344,344,340,335,349,338,329,331,328,332,331,329,324,329,330,330,332,314,322,324,330,337,348,348,334,332],[902,904,1340,1462,1250,1003,810,649,615,767,570,398,403,442,365,251,246,247,248,245,196,322,551,681,511,357,435,522,587,487,389,342,388,453,534,469,401,418,476,617,781,812,869,837,762,681,614,585,560,538,546,562,595,474,426,419,429,441,439,504,448,354,393,727,786,414,423,408,351,264,288,371,345,310,419,506,408,398,704,1228,1108,980,1396,1472,1500,1202,1322,1013,713,895,1404,1808,1694,1134,440,441,478,576,1730,1406,839,1636,1848,1258,1018,949,1058,1012,899,943,1292,1226,1366,1340,1438,946,511,399,505,535,467,410,345,438,591,695,737,849,813,890,1202,1296,1268,1476,1780,1268,896,826,558,502,549,506,581,597,634,545,662,677,838,1592,1528,982,787,1132,1276,919,682,583,521,507,439,558,744,773,749,781,724,715,628,775,1254,1538,1248,684,459,464,498,431,396,390,386,340,318,398,392,373,327,322,313,321,569,1028,1306,1462,1244,1368,1522,1576,951,618,829,1226,1228,1334,1340,918,731,838,802,697,667,738,658,778,1494,1400,893,599,336,365,444,632,1100,1132,933,993,1314,1206,581,225,375,508,512,539,755,952,841,661,799,803,785,1144,796,442,392,509,736,800,772,759,1106,1454,970,560,472,431,392,321,345,368,409,520,542,1154,1432,1538,1040,553,479,725,973,823,764,898,1228,1674,1666,1578,1282,999,760,761,566,432,430,526,962,996,771,968,1050,968,1046,1070,946,710,662,866,1214,1260,1090,950,642,594,680,885,1100,1090,572,485,566,736,1130,1406,1618,1516,1104,820,947,778,1007,1308,1610,1494,1440,1218,1094,1266,1456,1578,1896,1646,1412,1554,1522,1580,1612,1440,1208,942,765,528,816,1208,1506,1536,1588,1140,1146,1336,1382,1250,1388,1326,1088,1076,1088,1044,1262,1396,1526,1450,1362,1230,1438,1558,1566,1466,1418,1506,1328,956,655,753,893,1058,1186,880,854,937,1024,960,1200,1350,956,828,647,478,513,688,1194,939,798,662,866,1296,1368,1430,1414,998,563,648,1272,1588,1386,1466,1366,1016,1078,1344,1274,1310,1444,1338,1220,1414,1400,1138,1166,1130,651,580,1023,1420,1912,2206,2150,1996,1670,1624,1954,2008,1832,1822,1798,1704,1622,1622,1484,1248,1146,1136,1054,1278,1622,1578,1354,1482,1522,1326,1384,1542,1324,862,779,816,592,502,488,477,529,1162,1170,946,957,795,1248,1976,1880,2002,1646,1018,758,908,710,450,393,744,1034,1168,892,758,809,617,673,818,1218,1440,1552,1656,1218,749,539,487,480,440,801,1192,1086,1166,877,850,886,797,1128,1224,874,606,488,478,656,888,1170,1472,2078,1874,913,832,1070,1142,1036,927,1116,1070,666,618,780,762,886,1056,1078,1230,1516,1524,1376,1422,1554,1806,1762,1646,1346,1034,1274,1316,1448,1404,1208,1126,1266,1290,863,368,384,633,844,969,1072,999,1076,1028,890,921,1023,1160,1086,1108,1312,1226,1100,1312,1026,783,1010,1106,1078,1376,1344,1136,1302,1280,1086,1134,932,1064,956,1254,1488,1170,1188,1294,1036,786,679,705,985,1334,1212,1278,1310,1540,1500,1510,1252,1122,1228,1416,1342,1176,1232,1216,1146,825,692,874,1176,1194,1222,1116,951,1278,1362,1108,1142,1116,1214,1178,1050,1240,1294,1144,1176,1120,1318,1396,1306,1176,797,681,898,763,736,855,692,556,743,899,1100,1356,1300,1340,1320,1212,1212,1054,1182,1304,1114,1290,1566,1436,1194,1162,1400,1408,1372,1264,1310,1480,1648,1830,2116,1908,1770,1606,1466,1156,1134,1162,1142,1582,1456,1354,1212,1276,1094,1238,1532,1688,1198,937,1266,1310,1278,1484,1320,1310,1278,1416,1076,1062,1160,972,1368,1892,1638,1484,1346,1170,1228,1144,959,927,777,548,1023,818,649,896,558,414,707,1005,791,568,565,877,1322,1552,1404,1268,1282,1354,1400,1332,1218,980,1084,1560,1338,887,880,1052,1016,1188,1282,1378,1152,597,430,546,520,917,1138,813,943,759,677,908,1186,1322,1228,812,388,475,548,590,702,1020,814,615,608,944,1062,1094,910,930,1216,1378,1600,1732,1320,1284,1360,1368,1036,910,1138,1260,1182,1302,1336,1146,1294,938,644,1028,1360,1284,1252,1494,1722,1316,673,871,1454,1244,1058,1250,1472,1568,2154,2380,2006,1560,1306,1266,1318,1256,930,1340,1662,1830,1450,1078,934,626,845,1268,1372,1262,1480,1434,1356,1242,1150,1368,1188,1350,1366,1230,1078,888,927,1214,1306,1292,1306,1336,1278,1248,1460,1410,1346,1414,1418,1310,1300,1304,1478,1314,1004,1216,1328,1332,1272,1182,1390,1534,1462,1242,1290,1264,1366,1426,1400,1238,1196,1340,1372,1212,954,1001,911,718,587,587,808,901,682,628,1054,1104,890,609,778,1138,1332,1260,909,984,1020,863,837,697,822,1206,1326,1322,1336,1322,1300,1238,1450,1566,1488,1422,1354,1368,1470,1368,1246,1023,1392,1460,1546,1328,987,912,1070,1190,1272,1376,1520,1296,1188,1232,1114,1136,1416,1476,1468,1474,1428,1414,1488,1684,1944,1482,1078,1180,1256,1278,1300,1338,1310,1198,1198,1160,1202,1496,1208,961,957,1206,1090,1005,1104,1262,1660,1616,972,830,1278,1382,1524,1670,1570,1210,1246,1286,1360,1560,1490,1404,1546,1498,1124,1098,1162,813,1200,1186,899,1460,1556,1206,1088,1060,1266,1302,973,828,1186,1156,891,1013,792,586,378,344,550,698,867,1130,966,732,827,884,1104,940,913,675,478,908,955,925,1434,1094,1174,1028,1098,1028,769,892,729,713,659,778,1000,964,1019,953,1068,1042,717,597,974,1176,1188,1170,1510,1516,1128,982,1052,977,1056,1388,1438,1550,1302,640,424,1056,1406,1266,1408,1124,837,705,681,612,579,697,637,651,1022,1300,1336,1186,992,865,895,1088,1182,704,559,772,1176,1170,814,776,976,1216,1456,1334,1718,1848,1028,846,620,708,1094,1140,1242,1276,1112,1248,1468,1412,1074,1458,1330,1126,980,1010,1248,797,619,919,1090,1150,1198,1322,1310,1642,1162,810,1104,929,861,716,836,1102,878,625,802,810,567,735,1078,1298,1206,1144,1146,1092,980,1116,1134,962,902,1014,1078,1160,1070,1088,1032,951,1094,1214,1108,1186,1352,1474,1378,1268,1236,1290,1212,1544,1696,1730,1490,1240,1306,2102,1952,1366,1538,1392,1036,1180,1280,930,1003,1400,1276,1458,1672,1266,861,985,1318,1410,1600,1936,1754,1160,747,529,749,1376,1704,1448,990,1036,1488,1066,833,1534,716,321,348,386,384,329,721,1466,1752,1660,1372,1054,1754,1872,885,441,386,488,472,332,334,366,370,425,462,419,415,701,1272,1016,485,336,402,422,419,371,393,434,351,356,382,346,357,332,316,327,337,342,337,327,348,349,346,335,287,290,331,332,345,365,364,344,289,256,290,300,269,258,265,287,294,294,311,356,345,338,370,498,530,437,439,504,662,812,744,528,505,396,277,275,287,299,349,384,358,350,346,354,371,378,378,396,400,388,388,386,365,365,370,379,389,388,389,383,406,456,486,497,495,476,481,509,522,506,486,496,447,432,410,395,378,376,383,367,347,370,382,374,393,382,379,427,443,460,477,463,445,450,443,452,474,464,432,459,451,434,432,408,399,388,380,398,408,405,414,444,433,430,444,448,447,452,447,419,431,451,446,437,427,415,390,400,413,393,378,369,362,363,364,361,375,415,409,400,383,389,398,390,392,381,366,362,375,373,358,348,362,372,379,380,418,418,389,372,402,430,422,418,415,397,379,388,397,386,375,361,357,349,349,343,321,310,312,327,315,317,315,327,332,372,387,403,429,426,407,390,376,376,376,371,379,359,385,396,388,388,388,383,394,394,383,372,371,347,332,315,324,346,336,354,362,341,343,350,347,350,370,395,444,494,455,428,420,399,377,376,385,380,374,388,395,397,386,380,384,398,388,387,393,395,411,404,404,390,379,408,408,373,360,378,360,336,306,296,301,324,310,286,274,277,278,277,300,281,270,285,295,304,311,301,314,339,350,365,349,359,365,372,364,353,357,358,364,367,337,331,336,329,330,331,325,318,334,334,321,331,324,317,324,317,317,312,310,315,317,298,304,310,304,302,301,297,296,298,295,290,309,313,305,300,312,313,305,308,311,312,311,310,301,293,292,302,313,318,318,318,319,317,309,306,322,332,334,336,357,328,341,346,332,350,362,365,368,374,374,377,359,362,365,354,338,335,338,339,337,335,335,343,341,337,341,332,321,311,314,323,323,324,328,328,322,318,318,332,337,343,345,325,336,341,336,332,337,335,334,335,328,324,332,346,308,325,340,362,367,354,351,351,349,346,348,338,345,344,345,344,349,349,337,343,340,331,329,323,319,311,318,324,330,336,334,334,330,328,332,332,338,334,332,332,332],[927,945,1202,1310,1324,1021,847,737,709,714,506,403,407,372,264,230,243,246,213,196,228,268,328,590,517,329,307,425,505,425,345,353,374,463,588,500,459,489,563,664,781,738,705,620,562,622,631,551,527,462,497,513,551,505,408,409,430,472,574,573,563,674,943,1634,1386,601,456,382,317,313,307,340,412,540,894,1058,778,738,1024,1208,1222,1106,998,1296,1620,1766,1462,1090,1470,2118,2498,2470,1964,1550,907,538,467,619,1238,846,546,1116,1538,1470,1308,1408,1520,1028,1038,1164,1278,1366,1428,1238,948,866,746,467,490,432,371,468,598,789,900,828,579,503,667,934,1230,1348,1400,1516,1528,704,521,489,559,478,451,476,543,697,770,585,706,873,1032,1794,1636,1232,1246,1376,1448,1230,1042,957,838,744,602,625,731,738,767,802,722,677,653,1036,1364,1254,893,613,473,450,492,425,452,483,412,406,397,457,411,339,343,348,307,350,712,1178,1478,1940,1520,1528,2026,1770,1210,1118,1302,1168,1180,1376,852,444,350,413,990,1084,772,436,655,1164,1390,1294,1196,794,373,385,452,741,1388,1086,1096,720,847,1180,898,301,322,450,438,583,887,754,885,1058,1360,952,467,375,402,557,540,385,326,449,669,714,631,485,416,940,1252,945,603,359,377,371,562,924,891,902,888,929,736,473,563,1098,1238,919,785,788,1028,1504,1636,1534,1222,642,449,469,404,343,395,882,1162,628,532,645,637,948,878,623,487,417,391,484,689,763,827,499,341,348,347,358,468,680,777,1096,1372,1606,1636,1560,1248,967,967,1188,1078,871,505,608,925,1208,1418,1364,1164,1146,1316,1556,1762,1492,1262,1300,1320,1622,1742,1670,1346,907,499,447,585,837,1302,1390,1238,1012,1078,1248,1406,1416,1422,1526,1498,1382,1278,1338,1292,833,703,891,996,1168,1180,1090,1182,1100,1002,1300,1212,1002,1017,1066,1516,1900,1912,1350,1028,1108,1172,1160,1456,1440,1001,648,500,665,838,792,1058,1054,675,466,853,1190,1028,1406,1478,777,615,579,1288,1380,1140,1010,824,658,771,925,917,1162,1124,1234,1324,1526,1472,1310,1230,1100,744,741,1052,1200,1740,1764,1688,1780,1786,1648,1786,1598,1484,1620,1686,1404,1328,1516,1200,1060,1052,1007,1124,1138,1482,1652,1604,1744,1470,1280,1386,1506,1324,1046,734,551,542,610,664,653,750,1124,1156,786,547,505,1054,1882,1780,1588,1682,1226,905,764,645,531,466,614,880,787,618,924,1001,677,670,617,819,1166,1388,1692,1732,1160,508,470,520,444,536,826,1002,1240,1080,1009,879,747,990,1028,854,648,589,445,490,800,1366,2132,3660,3450,1542,913,1208,1032,911,1036,1124,904,733,534,456,538,791,888,688,881,1356,1240,1142,1188,1260,1594,1492,1572,1546,1144,1296,1526,1558,1606,1294,1056,1182,1134,792,355,452,894,936,853,1020,1110,1058,1004,1001,1013,1096,1156,1044,938,1019,1140,968,1154,1014,1020,1050,1278,1472,1384,1410,1292,1260,1230,1094,1172,960,1062,1312,1584,1350,1015,1172,1336,1160,893,568,771,1009,1252,1120,1070,871,819,723,724,760,1072,1484,1458,1324,1216,1216,1278,1166,960,1026,987,1130,1244,1009,746,579,731,885,996,1136,1070,1188,1096,1162,1424,1488,1332,1192,1050,1096,1106,1242,1266,1128,1144,1001,727,681,828,591,429,618,828,980,1068,1066,1218,1336,1100,1072,1116,1290,1174,1088,1110,1182,1222,1192,1260,1404,1256,1516,1376,1278,1530,1702,1678,1610,1678,1488,1488,1382,911,1230,1394,1108,1712,1576,1432,1266,1280,1152,1214,1490,1542,1132,910,1156,1324,1254,1446,1366,1128,1068,1128,1174,1306,1230,1108,1264,1366,1184,1492,1478,1036,1110,1168,898,681,560,563,960,874,676,917,747,799,1082,1088,535,778,1164,1312,1430,1314,1180,1310,1222,1466,1900,1176,601,709,843,1009,1084,825,985,1106,783,832,1210,1542,1008,491,439,478,480,781,1018,985,780,753,1028,1036,1019,970,953,516,418,436,351,385,454,698,899,907,767,1002,1302,1104,822,803,985,1632,1892,1700,1218,1038,1078,1050,1108,1194,1102,1106,1320,1406,1188,1300,1714,1280,745,904,1238,1430,1502,1310,1378,1272,782,1136,1320,1110,875,933,1682,2060,1946,1576,1316,1394,1434,1516,1390,1406,1340,1372,1436,1524,1462,1304,1140,927,988,1372,1288,1152,1294,1044,1190,1098,1200,1296,1190,1306,947,1060,1170,865,830,1154,1252,1300,1296,1352,1290,1450,1408,1542,1458,1350,1394,1444,1422,1528,1704,1390,1226,1490,1518,1498,1278,1192,1410,1506,1412,1338,1238,1358,1534,1558,1638,1384,1248,1212,1344,1240,1450,1298,836,731,719,662,790,884,650,828,1316,1058,987,711,827,1112,1448,1216,713,947,1118,1262,1480,1036,979,1160,1100,1192,1294,1210,1232,1266,1346,1484,1426,1528,1632,1500,1744,1466,1632,1148,1206,1354,1184,1028,896,802,757,1212,1238,1352,1538,1506,1738,1766,2304,2172,1572,1508,1412,1360,1258,1374,1658,1492,1362,1232,1252,1338,1266,1242,1368,1454,1542,1448,1296,1194,994,989,1100,1028,1154,1186,1166,1272,1282,1316,1486,1528,1232,1102,1360,1434,1570,1528,1620,1602,1692,1742,1586,1340,1208,1450,1626,1394,985,943,917,891,1090,989,1160,1334,1312,1452,1226,897,1190,1156,988,726,1068,1118,769,816,904,713,473,338,326,577,1054,1150,710,710,893,1007,1300,1188,921,727,582,772,1070,1826,1534,848,1186,1098,1058,797,984,1012,775,1002,1048,1048,828,1000,1030,982,990,1056,666,690,751,866,1126,991,913,1080,1144,1364,1418,1366,1172,1474,1716,1754,1278,637,523,1078,1312,1268,1396,1206,951,672,525,744,1448,1328,826,742,1062,1436,1446,922,719,635,745,724,984,753,702,979,1198,1160,976,1001,982,1386,1428,1344,1580,1518,1100,864,769,955,1222,1226,1192,1166,957,965,1026,1258,1454,1690,1374,926,843,937,801,598,750,1286,1690,1562,1572,1274,1310,1332,1064,916,820,507,352,332,495,882,1044,720,868,974,717,653,948,1122,1038,1102,1114,976,1021,1024,889,826,890,927,1160,1236,1188,1394,1510,1204,1242,1268,1020,1182,1092,1130,1198,1234,1132,1074,1368,1700,1626,1626,1674,1386,1328,1576,1428,1370,1378,1416,1100,1042,1214,836,820,947,819,1196,1556,1210,840,893,927,1030,1232,1362,1428,1018,756,707,613,1296,1998,1470,897,912,1384,1058,851,1268,659,350,357,346,352,287,605,1380,1168,808,889,948,1686,1884,960,509,587,639,494,383,434,542,439,406,536,531,519,585,953,971,547,365,395,417,433,373,362,366,366,385,400,372,349,352,344,346,353,352,360,378,346,310,303,294,289,313,323,306,322,348,343,319,266,252,269,259,255,252,280,276,283,288,326,380,394,361,403,500,507,491,507,561,556,662,576,455,591,472,280,289,306,330,386,378,342,339,339,353,365,383,385,395,396,389,386,366,364,369,354,374,376,378,385,380,396,441,474,485,500,483,478,495,521,516,503,524,489,454,426,395,386,379,375,384,374,368,370,364,371,379,386,421,447,452,463,459,446,457,445,457,455,449,438,450,447,448,440,428,417,391,383,383,396,402,417,447,443,432,432,442,441,453,447,431,440,441,440,433,425,418,399,392,412,403,376,366,356,361,369,368,380,416,410,406,390,395,397,401,390,393,380,362,389,381,370,354,356,366,372,372,404,406,373,361,390,416,422,404,410,400,382,384,391,388,377,370,355,340,350,349,332,340,315,321,317,326,324,336,345,362,382,407,419,414,404,384,372,390,371,357,373,356,373,394,396,403,385,379,386,391,385,373,378,351,333,336,336,334,334,341,340,343,350,342,342,352,378,391,436,482,484,442,398,385,383,388,368,369,372,381,383,395,401,391,384,390,395,391,393,415,426,416,412,403,392,398,409,381,371,363,332,302,309,316,313,333,330,307,296,280,273,283,285,273,271,281,296,311,317,331,317,335,349,353,353,355,353,352,348,357,347,343,336,364,350,339,325,330,331,331,330,325,326,318,327,326,330,331,305,304,306,310,312,309,314,305,306,318,312,308,301,291,304,300,305,309,309,295,302,312,307,306,309,305,305,306,305,305,299,297,299,302,314,318,318,318,318,317,311,305,311,313,328,335,343,336,339,343,353,365,356,362,365,381,359,372,362,362,369,366,350,348,353,353,344,334,319,337,332,331,340,343,329,316,314,301,300,318,329,325,324,319,325,331,336,336,343,335,335,331,332,328,330,325,339,338,335,335,332,335,321,328,325,337,359,353,350,350,349,351,357,332,348,346,343,344,348,349,340,337,337,336,331,325,318,312,316,323,328,335,337,337,337,337,335,322,336,337,348,339,332],[1192,1156,937,968,1003,670,589,788,830,642,398,357,366,242,180,206,221,214,212,220,206,238,297,596,579,435,332,323,374,367,338,365,373,420,562,434,415,500,647,767,769,849,856,803,1136,1376,941,556,519,494,484,385,469,451,362,477,758,1028,1198,966,532,756,1392,2138,1602,874,475,385,342,336,342,587,962,795,813,1218,797,652,944,1084,1218,991,1318,1676,1632,1600,1162,1058,1512,2036,1968,1918,1598,1514,1094,941,962,1068,1200,1164,961,971,1404,1458,1692,1522,1694,1220,898,843,1062,1400,1448,1014,587,808,969,530,400,490,511,769,836,932,813,561,415,549,537,543,698,945,1426,1670,1236,826,626,702,839,747,590,509,597,604,566,454,531,819,1062,1590,1536,1404,1534,1548,1322,945,1088,1260,1050,789,616,670,724,672,651,621,638,663,781,1186,1130,822,947,853,517,469,515,500,642,656,460,390,411,490,540,493,396,416,339,504,898,1174,1626,1844,1280,1282,1428,1360,1388,1494,1204,962,1050,969,636,405,453,639,642,673,766,572,871,1288,1394,1394,1472,1198,643,341,335,396,936,1408,1148,683,785,1138,1194,613,332,427,440,760,794,717,1112,1526,1344,675,434,505,621,638,592,442,305,310,426,482,392,385,884,1388,1122,717,637,471,389,451,635,940,681,490,763,963,806,472,567,974,783,540,766,1256,1440,1442,1496,1240,689,467,446,388,395,408,825,1274,800,597,574,554,583,758,507,383,393,359,339,346,385,404,341,309,337,305,311,357,347,540,833,1074,1568,1936,1692,1296,1136,1112,822,755,764,490,282,323,350,520,857,1002,1220,1486,1434,1304,1070,1272,1320,1322,1600,1742,1648,1612,1516,1504,1448,1082,909,837,828,972,1092,1194,1284,1362,1422,1168,912,1156,1350,1478,1334,1162,1116,753,477,448,571,946,1124,807,1005,1023,1310,1556,868,834,1346,1594,1368,1388,1244,1138,1328,1094,974,720,588,733,880,607,400,811,1210,1076,1038,897,564,442,646,967,1368,2038,1642,814,681,681,1274,1554,1296,1124,1048,912,825,765,891,1060,1060,1218,1256,1410,1526,1502,1094,984,893,990,1288,1466,1570,1426,1558,1846,1878,1690,1230,982,1318,1708,1818,1716,1632,1638,1020,1122,1096,905,1258,1200,1318,1462,1294,1166,1194,1496,1496,1528,1098,772,540,498,513,600,619,529,755,1078,924,576,461,534,866,1504,1666,1804,1996,1532,1204,1198,1062,603,419,420,550,483,404,698,749,619,681,697,579,711,1132,1424,1706,1538,786,623,732,629,550,936,1574,1606,1056,1062,1062,937,1046,1040,1030,499,418,379,538,1032,1154,3002,5128,4332,1836,1132,1408,1312,1184,981,1038,681,727,573,432,503,615,653,604,803,1138,1102,824,865,1470,1736,1438,1324,1524,1508,1388,1428,1514,1654,1300,871,1142,873,519,328,451,639,874,957,1036,1162,799,675,968,1068,1062,883,636,504,812,1262,1280,1126,1011,1262,1338,1506,1550,1554,1648,1368,1186,1150,956,1015,1140,1348,1258,1186,1450,1230,839,1120,1314,949,616,751,947,889,638,478,498,791,969,694,506,866,1186,1110,1080,1082,1146,1050,727,974,1420,1228,979,829,689,713,839,667,779,891,891,967,911,910,1212,1412,1470,1452,1268,1180,1172,966,1176,1246,1290,1100,902,702,612,631,615,582,720,862,744,1018,1070,1110,1356,1382,1408,1416,1294,1140,1134,1104,1086,1110,1188,1160,1290,1580,1958,1478,1582,1874,1798,1710,1584,1448,1230,1114,1078,1046,1022,1126,1104,1678,1694,1288,1118,1144,1284,1406,1372,1284,1023,966,1280,1366,1422,1356,1334,1244,1328,1446,1506,1310,1082,1096,1222,875,719,1202,1096,726,949,1064,739,664,665,744,1084,984,761,952,905,1013,989,949,808,982,1128,1078,977,786,1080,1622,1432,1546,1936,977,754,996,920,855,792,641,716,860,680,710,998,1011,1050,764,699,513,460,675,742,798,804,680,624,588,680,819,665,398,379,365,321,278,367,522,758,989,922,1434,1572,1142,1086,1015,1078,1716,2106,2044,1250,792,920,1168,1334,1102,753,949,1314,1212,1086,1256,1482,1072,896,1296,1472,1640,1408,1320,1494,1556,1500,1632,1664,1034,653,791,1592,1838,1310,916,1206,1556,1340,1648,1456,1054,1252,1352,1396,1412,1472,1250,1184,1158,1190,1324,1158,1116,1234,1090,1134,1064,1176,1174,1362,1256,976,1058,1224,1084,1015,1274,1432,1382,1440,1256,1356,1596,1386,1412,1346,1346,1408,1348,1252,1382,1272,1304,1366,1524,1452,1278,1188,1350,1482,1358,1368,1442,1390,1520,1530,1430,1416,1358,1358,1282,1272,1188,1178,861,855,1232,1122,618,743,971,877,1072,1078,771,634,673,1009,1238,1464,1162,680,943,854,865,1108,1004,774,797,788,1094,1230,1204,1836,1750,1162,1322,1368,1294,1398,1428,1750,1546,1354,1144,1194,1296,945,375,454,767,606,686,964,1270,1450,1448,1398,1416,1554,1494,1308,1186,1262,1330,1466,1590,1742,1570,1488,1414,1416,1504,1346,1254,1350,1316,1252,1252,1366,1274,1040,875,895,905,912,1034,1242,1412,1448,1346,1306,1496,1334,1062,1118,1122,1260,1308,1610,1692,1560,1506,1406,1023,1098,1490,1270,1022,1148,918,933,1378,1826,1842,1348,1206,1314,1332,1194,707,727,763,772,670,983,1168,887,819,744,699,763,681,622,877,880,766,840,1048,1224,1314,1084,742,804,623,546,896,1196,1546,1294,1238,1258,1056,835,848,1216,1212,1002,1202,1158,901,771,1014,995,788,1046,1250,759,513,688,1230,1074,1013,1232,874,593,738,1024,881,763,1009,1140,1252,1182,823,701,1130,1332,1278,990,762,643,471,283,536,875,846,728,655,988,1454,1412,813,507,467,416,461,739,704,767,1048,1140,1174,1232,1358,1006,1188,1252,1462,1338,1292,1112,985,1176,1306,1380,1422,1326,1126,926,993,1156,1116,1216,1390,1432,1354,1132,907,726,782,1192,1766,1696,1300,1244,1268,1388,1278,1300,1021,522,319,325,357,577,942,827,556,593,774,958,968,1003,1074,1056,1072,1046,1030,1122,1046,918,885,1070,1366,1504,1216,1268,1420,1198,1070,920,984,1024,1134,1042,1096,1290,1438,1158,1226,1638,1568,1234,1364,1640,1742,1618,1428,1332,1578,1264,1336,1384,1412,1294,968,703,621,675,759,943,890,802,943,850,905,922,949,1136,907,724,692,761,1170,1632,1322,1130,1092,1004,695,554,608,471,348,327,348,343,351,825,1548,962,782,833,1094,1834,1880,970,480,510,456,375,406,409,491,455,438,508,807,1130,847,709,762,531,351,395,425,410,363,390,377,409,430,393,372,426,442,379,352,351,345,314,296,280,294,299,297,316,329,323,313,329,333,303,281,259,249,255,256,262,271,269,278,283,280,308,416,492,414,431,433,455,472,421,509,626,655,537,452,409,286,265,289,364,378,390,352,340,354,360,363,373,374,371,378,386,394,384,355,363,348,354,368,375,377,374,380,402,435,468,477,493,461,460,483,513,501,492,516,517,501,470,413,405,400,381,397,401,380,378,366,362,375,382,412,456,471,466,460,440,448,437,451,440,446,469,459,442,438,428,426,413,396,414,389,402,401,414,435,443,427,433,437,423,447,452,439,442,440,435,427,421,414,404,384,398,408,383,371,350,358,376,383,381,410,412,402,396,397,395,390,383,393,393,370,363,389,376,361,362,361,365,373,383,390,373,364,372,393,416,410,440,422,391,386,390,388,384,375,346,327,340,349,352,336,315,320,322,328,336,340,346,363,382,413,416,416,402,392,381,365,365,372,373,348,359,386,383,380,373,378,383,386,386,375,366,346,341,351,354,356,358,362,347,348,346,342,342,346,358,380,424,484,518,465,403,397,392,387,386,380,370,354,363,393,404,399,392,387,417,406,395,428,430,414,412,407,404,400,401,392,378,367,346,337,337,330,320,343,314,299,307,287,283,285,283,279,281,293,311,316,327,334,334,342,345,343,348,348,349,347,340,336,336,340,331,355,352,340,334,333,330,330,326,333,332,318,330,315,340,312,308,307,306,312,308,306,318,318,323,318,317,309,308,313,290,291,293,293,300,307,311,304,314,304,297,306,306,305,305,306,305,301,297,305,317,323,316,311,318,322,307,304,321,324,330,343,344,348,353,344,353,356,359,366,374,369,377,365,359,366,375,376,366,362,362,346,334,332,323,338,325,344,329,311,313,312,312,302,302,316,324,324,331,325,331,332,335,337,332,334,339,325,335,338,335,331,336,335,336,343,341,330,325,334,325,338,359,356,350,351,345,346,350,343,350,348,346,343,346,349,344,336,336,339,332,325,321,313,318,322,328,341,343,338,336,338,337,322,343,358,354,343,325],[772,1102,1160,1120,860,615,962,1246,918,543,332,330,296,231,258,247,223,216,223,206,192,216,305,428,411,376,309,246,291,350,366,373,385,374,503,487,522,678,929,986,1018,1304,1630,1866,2182,2524,1440,715,498,507,523,451,579,755,568,635,1218,1908,2228,1546,922,1011,1114,1222,1136,905,579,395,370,397,655,1192,1518,957,886,1174,654,425,548,991,1170,1136,1190,1114,1462,1576,1196,1156,1544,1710,1668,1844,1862,1408,1118,1310,1506,1464,1276,1228,1172,855,1382,1296,1650,1374,1426,971,522,568,915,1132,1202,890,858,1248,1084,532,336,336,650,791,722,633,451,442,780,1202,644,531,441,497,702,1178,1164,1342,1070,745,842,761,570,612,783,717,633,581,507,725,909,1490,1550,1402,1494,1504,1108,879,1104,1302,1098,735,583,608,669,591,566,621,656,673,897,1152,833,632,602,792,711,532,575,694,1013,996,687,458,434,470,562,565,422,426,485,600,539,662,1216,1322,980,905,1180,1442,1588,1430,955,757,755,562,465,454,666,1062,890,722,733,586,921,1354,1200,1384,1176,656,409,282,293,481,807,1334,1504,1260,1074,1478,1406,775,486,515,598,957,967,1186,1560,1336,641,388,490,526,574,599,612,526,431,344,302,367,405,713,1352,1050,568,585,813,1054,745,426,481,771,694,406,523,890,846,524,410,441,316,315,763,1122,1426,1598,1212,603,359,375,426,435,445,631,1224,954,718,651,611,509,471,434,346,361,341,296,308,311,336,354,377,348,337,272,285,318,377,610,627,783,1260,1618,1394,998,990,837,472,294,305,295,290,292,315,383,364,409,797,1104,1006,775,622,843,1136,1352,1508,1582,1380,1342,1416,1708,1798,1726,1628,1448,1234,1134,1324,1550,1566,1792,1716,1256,957,1272,1342,1630,1514,1060,1126,1040,813,632,498,862,1176,1048,1742,1444,1640,1420,915,707,1080,1284,919,1024,1015,796,944,661,744,614,614,761,720,545,490,874,1274,1470,1266,662,468,490,612,1070,1556,2338,1622,1036,899,1012,1454,1372,1098,1172,1188,1202,1130,893,1034,1284,1252,1230,1316,1244,1368,1474,1244,1130,1196,1202,1210,1376,1432,1544,1436,1438,1296,944,638,706,1158,1460,1570,1408,1146,1094,814,1110,1156,954,1128,1238,1392,1482,1382,1064,1114,1626,1692,1584,996,682,535,505,532,412,397,483,650,724,691,654,1024,1046,1056,1612,1400,1346,1516,1272,1066,1302,1166,720,553,469,426,415,439,750,678,583,567,661,656,498,730,1152,1498,1602,1396,712,730,694,586,739,1520,1676,889,673,827,1074,1516,1242,918,454,383,365,538,754,1218,3352,5356,3938,1104,927,1472,1610,1338,1164,803,548,576,559,549,440,391,424,526,734,815,755,737,1188,1756,1692,1512,1470,1396,1476,1526,1468,1182,924,688,506,721,898,684,651,721,888,1021,938,1108,1068,607,433,747,1009,892,655,514,639,848,808,1066,1180,1104,1190,1150,1300,1240,1376,1512,1352,1013,1026,951,949,1278,1554,1336,1182,1256,966,883,1218,1122,1066,1026,1166,1242,878,528,359,517,996,1156,737,476,701,902,684,880,847,885,759,599,763,933,999,1052,1000,1184,954,871,855,1250,1474,1090,1084,1182,1096,1126,1284,1472,1290,1300,1332,1380,1290,1240,1180,932,656,757,771,676,629,750,726,860,991,804,731,903,1001,1176,1126,1180,1306,1322,1462,1392,1266,1224,1152,1286,1188,1234,1580,1710,1604,1960,2110,1798,1466,1622,1334,830,877,932,830,648,879,984,1376,1576,1290,1060,1013,1198,1160,1040,918,1036,934,1254,1274,1396,1232,1158,1252,1208,1228,1258,1148,1256,1302,1352,899,938,1012,1268,1128,948,1152,1110,1096,789,910,1134,918,792,894,742,872,1036,1038,938,1028,1254,1150,821,835,968,1490,1332,1368,1274,768,1038,1332,1230,855,503,409,384,661,1202,1064,897,1068,1496,1234,929,747,568,612,843,904,713,651,673,630,817,775,560,543,485,491,593,516,441,521,576,760,1146,1892,1554,1172,1336,1184,1194,1514,1740,1466,817,933,1282,1112,972,868,752,835,981,998,1188,1320,1306,1102,933,1218,1450,1582,1274,1312,1382,1642,1776,2320,1932,824,466,736,1374,1528,957,983,1474,1494,1312,1914,1494,1108,1084,1032,1052,1334,1370,1088,1042,1268,1324,1166,1230,1510,1544,1346,1306,1288,1242,1344,1270,1236,1486,1472,1578,1200,1288,1356,1344,1500,1558,1282,1360,1356,1246,1198,1122,1238,1240,1078,1054,1290,1290,1274,1272,1362,1334,1082,1048,1428,1474,1428,1560,1562,1520,1480,1502,1368,1450,2216,1920,1308,1278,1284,1286,1206,1130,1152,1001,766,903,959,971,901,605,522,577,749,973,1017,1398,1072,780,1122,833,673,1260,1292,912,815,989,1338,1172,855,1324,1374,1054,1074,1378,1410,1302,1268,1460,1322,1196,1302,1224,1176,849,476,636,1166,1264,1244,1168,1232,1380,1162,1114,1040,783,1246,957,1040,1196,1202,1216,1174,1410,1604,1586,1454,1378,1378,1246,1128,1230,1278,1268,1256,1188,1136,1098,1016,1058,1100,1066,1142,1286,1674,1692,1196,1334,1840,1312,1052,1016,1172,1242,1138,1312,1490,1670,1408,953,875,1244,1814,1198,1190,1460,1212,1020,1082,1676,1660,1508,1340,1360,1232,855,612,658,728,968,1108,1216,1084,771,913,891,774,1158,935,959,1005,713,720,1160,1314,1078,856,622,651,610,543,639,1172,1488,1302,1116,1078,1160,1058,659,744,899,1124,1142,1270,1072,623,871,1108,994,841,897,848,722,662,763,1218,969,1104,874,609,447,349,456,643,912,962,1238,1404,1242,1124,1228,1240,1338,1412,1092,1058,1190,926,622,617,674,633,715,667,967,1306,1004,633,587,593,615,741,755,767,1110,1176,1232,1114,1124,1120,1156,1248,1402,1386,1358,1526,1456,1132,1288,1228,1338,1382,1160,1082,1042,1206,1342,1204,1042,948,1050,1108,935,1120,1446,1230,1052,1226,1234,1532,1440,1170,1154,1240,1192,992,699,507,398,566,1050,1208,937,687,589,739,997,1086,1078,1050,1208,1384,1284,1144,1040,1130,998,1112,1064,1402,1538,1114,1124,1226,955,810,739,780,1182,1118,1028,1054,1356,1484,1042,1016,1480,1066,732,967,1426,1636,1632,1422,1354,1438,1284,1272,1280,1246,1242,1170,1168,1184,1156,962,855,959,1142,1100,1046,1154,1086,1026,936,886,903,792,738,618,1052,1312,1188,1036,700,474,437,430,431,367,338,349,337,351,1068,1394,866,730,841,1146,1870,1932,1166,537,512,397,436,379,397,482,446,473,905,1566,1788,1476,1072,1076,810,443,396,368,405,390,470,429,447,462,383,418,500,444,375,349,329,321,305,300,317,350,336,303,323,365,380,370,327,289,264,260,274,257,255,253,261,269,280,301,284,271,287,371,449,419,381,334,320,358,386,425,541,607,486,387,337,290,265,324,389,422,397,343,338,349,357,367,361,367,372,375,379,377,390,366,361,358,352,356,370,377,376,382,392,406,459,478,497,476,473,481,497,506,486,490,529,517,485,452,408,416,385,392,407,401,412,385,357,375,383,401,439,450,434,453,446,429,431,456,449,440,459,469,451,444,440,432,417,393,394,381,407,400,407,417,427,441,454,442,447,433,453,452,433,440,430,421,415,409,401,393,397,403,396,384,356,361,368,378,388,395,395,392,392,396,390,390,385,390,389,383,363,381,383,373,366,356,370,355,368,393,389,384,371,407,430,430,430,422,410,391,386,390,381,371,352,339,340,339,337,327,324,321,328,340,346,347,359,368,379,416,411,409,397,388,383,374,365,362,362,363,356,376,383,396,387,371,372,383,383,377,366,350,350,353,356,356,352,368,350,347,342,343,346,356,365,370,408,471,521,494,426,395,380,372,383,379,368,357,364,388,402,399,398,384,402,416,421,411,417,430,414,393,400,407,397,391,383,361,347,338,329,330,306,314,328,318,294,282,287,285,285,282,287,286,288,304,331,331,329,331,337,343,343,342,334,325,335,336,328,334,340,345,355,345,339,333,329,325,334,338,342,318,332,324,329,333,317,298,315,309,302,302,310,318,320,312,310,306,320,318,310,300,288,291,293,301,306,304,300,299,299,301,304,306,305,305,306,305,305,306,313,321,318,313,321,332,312,304,328,332,325,334,337,344,349,334,357,356,362,369,376,371,374,362,353,368,377,381,371,358,336,314,322,332,336,336,321,334,332,318,318,314,312,312,312,316,321,319,323,325,330,331,331,332,328,332,340,344,330,344,344,338,338,334,335,339,337,328,331,335,318,340,357,359,356,351,351,345,332,343,357,349,350,343,344,345,339,341,345,344,332,328,325,319,328,324,332,338,344,344,337,336,337,337,335,350,358,344,329],[408,540,792,1104,873,792,993,833,561,423,340,316,278,315,277,222,218,221,243,221,215,231,285,298,240,254,260,299,358,379,407,387,350,371,426,482,608,971,1360,1594,1948,2278,2348,2548,2408,2178,1572,1020,707,728,973,983,1054,1254,884,620,915,1568,1766,1498,1350,1316,985,1084,1258,965,780,599,437,548,1050,1270,1122,851,984,1166,792,504,700,1194,1360,1334,1368,1570,1912,1892,1610,1858,2004,1884,1560,1610,1684,1450,1660,1764,1562,1308,1152,1120,1344,863,1030,1158,972,684,585,544,781,969,744,513,552,531,1134,1560,842,498,410,554,800,502,331,409,644,1096,1746,1854,1366,886,486,420,459,841,1068,1200,1034,804,893,761,758,791,838,853,827,838,770,869,1009,1466,1770,1526,1338,1240,857,748,858,1064,1007,679,586,645,644,579,555,611,680,770,934,839,736,754,769,968,896,891,833,747,958,911,874,777,563,681,698,620,493,491,592,533,443,655,1019,1146,1072,988,705,1136,1166,1388,1015,694,552,447,568,718,852,1036,955,704,558,659,1214,1344,1136,1114,640,335,342,314,364,425,864,1452,1390,1476,1324,1488,1100,647,500,504,645,799,888,1422,1448,1002,576,564,594,567,599,621,627,562,527,442,297,392,714,809,1136,792,654,970,1224,1290,1138,744,356,570,745,379,438,680,514,536,354,416,448,385,650,879,1236,1416,954,603,343,367,426,420,314,656,893,709,594,571,613,521,441,421,348,321,341,336,310,254,252,273,301,311,325,278,251,327,466,775,615,976,1080,1224,1004,843,577,310,294,301,315,358,358,342,311,353,312,308,394,554,584,536,528,828,1308,1110,825,925,1188,1556,1716,1606,1698,1648,1614,1790,1574,1382,1654,1704,1592,1656,1686,1694,1492,1404,1372,1488,1350,1280,1504,1628,1488,1224,1176,1274,1230,1252,1598,1228,1216,1202,1114,969,1020,896,1017,1322,1260,849,982,992,1156,1042,1296,1260,811,613,586,866,1344,1272,1126,924,803,1004,1246,1438,1278,1130,1202,1252,1054,1238,1556,1366,1322,1300,1170,1072,1334,1116,1144,1430,1260,1140,1236,1150,749,955,1118,1118,1386,1448,1532,1692,1852,1680,1108,1182,1562,1296,973,683,541,815,1248,1032,1052,1422,1238,1126,1188,1102,865,852,1058,1328,1360,856,977,1358,1352,1496,1126,735,598,630,633,612,699,880,948,1050,987,1004,1438,1548,1630,1640,1021,585,539,523,910,1210,806,763,1174,863,480,566,814,1114,963,830,901,679,874,698,535,806,1246,1446,1642,1140,686,572,557,555,1182,1580,981,525,558,1106,1586,1148,747,584,459,434,524,528,1172,2746,3364,2232,802,875,1362,1478,1238,803,526,421,441,489,451,476,549,653,838,1022,851,791,874,1394,1434,1116,1188,1256,1238,1290,1366,1440,1500,1088,631,444,382,568,982,1030,707,865,1001,1174,1218,1048,838,632,990,981,830,683,620,839,841,773,1060,1070,1070,970,1212,1300,1410,1324,1228,1212,1007,896,1104,1298,1314,1230,1140,968,995,1070,1656,1520,1356,1454,1320,1486,1262,689,557,503,517,938,1102,803,640,874,1290,1344,1284,1328,1362,1364,1362,819,656,860,934,1136,1306,1010,1120,1108,1852,2156,1234,1450,1818,1258,939,1218,1432,1216,1228,1294,1246,1296,1100,1160,1114,918,855,852,893,634,653,938,910,1208,1332,1192,808,572,795,1122,1176,1080,1174,1514,1552,1440,1376,1394,1304,1012,1005,1182,1264,1484,1738,1858,1480,979,1546,1478,1050,989,925,905,940,1018,1054,1310,1590,1472,1130,1021,1056,860,643,511,693,803,1042,1436,1572,1284,1218,1274,1216,927,914,1106,1048,802,723,828,1038,967,1066,1015,1015,1324,1144,1194,868,952,1003,1016,803,592,573,818,985,984,1044,965,1032,924,772,972,977,776,774,908,777,625,726,1076,1124,572,412,388,552,824,935,822,1034,1462,1456,1030,888,779,691,875,830,764,575,441,397,437,566,492,503,540,454,465,666,735,462,412,433,529,642,1234,1460,1054,1078,1366,1402,1466,1092,703,664,769,1040,689,708,937,1096,988,971,985,965,977,1120,1360,1286,1340,1236,1370,1202,1026,1166,1360,1248,1330,968,491,511,1242,1842,1584,919,1356,1610,1666,1446,1220,1180,1172,993,1058,1218,1420,1432,1168,934,1154,1074,997,1116,1800,1996,1556,1416,1312,1192,1116,951,1110,1496,1476,1290,1302,1322,1144,1210,1470,1370,1010,1102,1152,1264,1278,1394,1262,1284,1214,1116,1448,1688,1372,1222,1306,1360,1194,1120,1108,1372,1406,1482,1602,1616,1552,1472,1400,1352,1480,1440,1372,1208,1208,1282,1370,1244,1252,1154,1090,1054,1178,1294,869,545,697,901,1116,1274,1040,1338,916,830,1390,1372,1232,1260,1282,1188,924,1136,1338,1252,1236,1300,1318,922,799,1328,1614,1478,1498,1612,1236,1126,1294,1082,984,1020,1030,941,1184,1402,1426,1338,1548,1598,1484,1298,1036,1010,1418,1110,1308,1098,1094,1268,1230,1344,1222,1190,1436,1420,1092,1048,829,1284,1382,1284,1318,1332,1150,1202,1308,1262,1614,1418,1272,1676,1784,1482,1430,1604,1534,1334,1198,884,971,1238,1106,860,928,1378,1562,1240,1138,1316,1388,1198,1338,1372,1142,772,600,1104,1508,1520,1128,1158,1202,881,744,907,938,741,853,1124,811,886,1338,913,722,1268,1454,1256,1156,1090,1178,1498,1566,1086,765,760,899,824,918,618,912,1508,1406,871,603,931,1336,833,954,1052,1242,1186,1402,1062,680,1046,1010,682,758,678,667,592,408,583,788,702,758,686,627,507,423,666,1062,1013,568,849,1206,1224,1444,1198,1200,1408,1416,1124,793,835,926,814,739,996,914,1220,951,1092,1094,755,792,893,909,1032,1104,1114,1016,1256,1126,1030,877,892,1238,1394,1276,1250,1326,1448,1512,1542,1152,1100,780,1132,1268,935,1021,1268,1184,957,1150,1130,974,1028,764,669,940,1470,1154,861,838,836,1040,1058,740,865,1312,1226,1007,896,735,530,835,1202,1182,1020,831,683,883,1118,1192,1272,1078,1256,1320,1344,1258,1120,1200,1116,999,885,1002,1184,1128,1252,1320,1268,850,1040,1220,1234,1106,1366,1830,1722,1362,1404,1416,1126,792,729,833,1202,1186,1364,1498,1512,1252,1042,1106,1023,1088,819,732,987,1140,1386,1394,1394,1460,1418,1254,1240,1122,1058,1102,1098,1146,1194,1186,952,766,960,979,719,678,572,462,472,451,448,377,365,367,322,253,877,1530,1204,864,891,1156,1914,2074,1604,645,570,571,630,467,409,426,479,492,1001,1576,1476,1128,966,912,737,605,439,365,358,398,447,413,407,383,368,377,404,404,390,314,265,281,321,336,405,466,442,351,321,342,400,473,414,321,287,276,279,269,255,247,253,256,276,315,294,285,275,275,393,466,452,408,367,401,417,421,518,496,401,374,295,272,295,383,413,405,368,343,354,344,346,365,357,373,387,387,378,367,372,361,363,360,352,352,367,377,375,388,383,403,451,476,495,487,473,460,467,490,474,464,505,518,486,461,431,425,391,384,400,412,432,415,369,385,400,410,433,439,439,460,456,435,437,445,440,440,456,477,459,457,455,423,429,407,389,380,369,380,407,405,425,442,424,443,443,445,451,458,437,422,431,433,414,406,396,389,395,388,398,369,375,383,363,374,392,380,390,396,397,396,378,381,378,389,386,389,390,387,376,375,379,367,364,340,358,387,393,387,372,388,413,419,415,419,419,396,384,384,370,363,355,349,341,341,331,328,327,326,329,338,346,347,367,365,377,407,413,407,396,387,375,372,371,365,357,359,362,371,380,382,374,370,371,374,375,382,377,350,372,366,362,362,353,360,352,346,342,346,356,366,372,360,391,462,503,506,458,399,377,383,372,363,361,351,351,375,398,406,407,386,386,422,420,412,433,427,402,396,402,401,400,386,374,357,348,333,323,323,314,330,339,324,309,283,285,279,285,285,291,291,294,313,331,329,328,323,331,343,349,350,352,339,352,343,328,331,334,352,342,334,338,317,331,344,364,365,348,334,342,325,318,337,321,309,308,317,312,318,306,310,312,312,312,313,308,309,323,297,282,283,293,299,299,309,300,299,299,297,302,306,304,305,305,306,305,306,311,318,318,322,329,332,316,301,310,321,330,336,337,337,344,334,341,350,361,365,366,369,369,362,354,365,368,373,369,349,334,322,319,310,309,312,318,324,332,323,316,314,308,306,305,309,316,318,321,328,332,331,332,331,322,343,327,339,353,346,345,341,336,340,341,335,331,331,332,343,342,354,367,369,365,359,354,349,342,339,357,353,351,346,336,348,349,346,332,328,325,334,325,314,331,327,328,336,350,346,336,343,341,336,326,338,350,334,326],[438,461,635,871,830,752,515,322,388,422,482,446,376,345,301,289,288,277,303,283,241,231,290,326,231,253,266,312,337,368,391,338,302,363,537,1018,1510,1846,2242,2378,2534,2298,2020,1918,1830,1534,1456,1342,1182,1308,1758,1540,1560,1620,1408,705,570,718,814,1092,1166,1256,1138,1196,1276,1122,963,843,455,441,676,876,974,790,860,1180,1214,944,1092,1256,1170,1246,1456,1766,1870,1860,1626,1772,1748,1584,1450,1766,1766,1442,1280,1250,1410,954,844,1144,1076,725,670,793,938,1056,885,861,1092,1274,760,520,412,404,463,454,374,399,507,828,684,375,505,911,1280,1324,1684,1770,1996,1174,484,396,581,857,763,739,929,784,644,718,921,892,813,800,824,885,922,988,1130,1344,1350,1128,1136,1086,915,797,753,745,741,714,718,633,571,599,603,675,732,754,670,539,543,559,656,952,1196,1192,709,451,603,1084,1914,1630,880,893,722,553,514,594,608,538,514,743,1344,1418,1314,1520,1188,1074,703,748,695,643,549,642,1084,1298,1196,969,1024,822,1444,1132,1316,1654,1178,569,322,274,306,411,514,1104,1974,1180,892,1236,1406,1394,1124,796,453,443,799,1002,612,998,1238,938,758,713,694,631,615,560,433,413,449,361,278,349,544,765,1032,1276,1590,1334,1102,1428,1588,1012,646,570,567,546,707,975,575,560,515,537,527,446,758,1268,1564,1456,1036,743,318,344,374,380,420,404,397,511,521,512,479,443,403,339,344,348,379,392,325,253,263,317,360,372,361,310,254,308,542,783,886,919,617,470,415,337,250,238,326,354,332,394,403,372,293,334,337,305,287,284,331,437,630,1162,1454,883,744,954,1368,1470,1440,1230,1388,1344,1512,1918,1488,1274,1338,1618,1804,1702,1702,1736,1644,1880,2020,1656,1594,1522,1716,1798,1532,1354,1324,1396,1642,1614,1468,1384,1310,1428,1350,1322,1388,1080,1124,1158,1390,1108,1046,1166,1060,849,1066,1040,695,558,532,683,1256,897,1090,1402,1434,1580,1726,1544,1354,1498,1386,1292,1144,1120,1262,1644,1460,1266,879,656,1032,1212,1374,1616,1520,1318,1086,1268,935,1150,1376,1466,1516,1594,1522,1606,1958,1692,1352,1262,1306,1170,1308,1028,612,553,998,1126,961,1020,1100,896,892,967,1062,992,928,1130,1388,1124,904,783,735,1112,1128,780,982,1160,1076,1236,1066,794,572,584,875,957,1222,1274,1304,1382,885,633,594,630,1056,1440,999,1282,1660,1006,496,680,1009,1220,1021,619,835,1009,976,835,800,704,935,1302,1520,1432,1046,653,524,533,772,1108,863,516,472,801,908,672,541,478,411,458,494,582,1366,2002,1498,1238,769,592,913,1028,955,893,766,589,539,497,457,661,694,728,971,1028,946,889,1042,1324,1256,1064,1009,929,941,1118,1036,805,1144,1538,1306,834,563,670,1164,1124,819,866,1011,1438,1320,1098,1192,940,1130,871,658,819,968,1076,1162,1200,1188,1038,1166,1282,1426,1404,1248,1268,1292,1258,1042,849,1300,1692,1340,921,1082,883,692,713,1272,1007,1184,1394,1348,1318,858,642,739,785,769,991,991,888,1054,1030,1070,1188,1224,1238,1182,1420,1476,738,648,1116,1412,1426,1138,946,976,730,1480,1648,1088,1284,1350,1009,1001,1332,1394,1310,1310,1290,1168,1070,908,978,1068,1072,937,907,908,717,879,1058,1312,1780,1886,1442,833,504,433,694,1134,1086,1190,1482,1510,1122,1082,1298,1402,1204,1036,984,1310,1736,1922,1822,1694,1424,1530,1256,1328,1288,1146,1484,1582,1280,1040,1228,1614,1606,1264,1052,996,849,676,631,871,1005,1090,1506,1462,862,1002,1164,1174,805,991,1194,850,512,636,893,957,982,1130,1118,1076,1196,1146,973,570,677,760,687,821,971,654,821,949,944,1090,965,1126,1044,785,870,1050,745,543,656,622,607,508,544,637,358,356,460,1542,1896,1028,860,1128,1280,1084,958,1050,862,872,853,666,858,665,422,377,433,420,395,491,694,977,1032,1084,865,513,422,372,458,424,575,918,941,957,1680,1922,1780,1172,642,581,934,1164,1034,839,863,1182,1196,924,948,766,886,1268,1232,1370,1406,1290,1224,966,1058,1256,1208,1402,1336,739,533,806,1562,1726,1416,1164,1522,1700,1550,1276,1020,1152,1158,1030,1044,1232,1194,1020,956,761,777,781,951,1148,1354,1386,1386,1318,1062,1100,1116,957,898,1290,1174,1124,1394,1354,1382,1448,1444,1350,1058,1456,1594,1454,1370,1472,1388,1318,1214,1244,1548,1384,1158,1296,1332,1392,1412,1310,1306,1584,1494,1338,1310,1136,1172,1300,1342,1400,1312,1398,1444,1300,1230,1198,1012,1021,890,814,918,766,828,993,606,522,869,1260,1306,1316,1186,1330,958,897,1238,1306,1246,1286,1488,1330,946,822,896,1306,1606,1332,1062,1174,1762,2226,2410,1814,1562,1522,1350,1164,1274,1282,1188,1498,1578,1356,1482,1594,1574,1620,1532,1396,1490,1410,1152,1202,1432,1306,1312,1316,1450,1474,1412,1324,1070,1424,1364,1240,893,694,473,709,1146,1130,1230,1172,864,1150,1392,1294,1738,1442,1184,1374,1356,1418,1780,1988,1652,1340,1322,1192,1040,1074,1058,868,805,974,1236,1530,1614,1478,1344,1258,1248,1368,1456,1360,1050,1020,1340,1366,1102,1180,1270,1056,887,1124,1026,1018,1023,819,710,1106,1446,1138,987,1308,1478,1350,1260,1156,1110,1334,1332,1294,1038,1074,941,849,857,523,546,843,859,644,614,1016,1304,1128,996,1224,1352,1110,1274,1170,945,982,775,778,890,1064,1410,1112,704,752,933,742,849,1178,799,534,399,606,1212,894,651,606,437,785,1068,1190,1416,1346,1372,1192,786,648,813,626,780,1156,979,919,640,897,1196,1072,902,750,960,834,949,1166,1176,1118,932,913,901,1002,1364,1422,1358,1420,1438,1316,1282,1282,1116,1088,813,878,1080,1068,1192,1532,1144,805,1018,1038,857,990,845,688,703,871,794,764,830,739,969,740,650,785,1023,883,861,1132,1082,1009,850,932,1080,1026,987,886,972,1026,1050,1158,1116,1200,1254,1334,1216,1176,1154,1048,839,943,1142,1300,1268,1404,1518,1260,919,1004,1028,1122,1238,1376,1708,1738,1518,1650,1136,711,978,1114,1134,1120,915,977,1250,1498,1390,1258,1003,754,1202,698,610,881,1036,1068,985,995,1098,1402,1440,1376,1426,1298,1108,1116,1276,1250,1266,1224,998,942,802,521,518,432,474,436,444,426,377,362,358,275,202,632,1452,1766,1554,1038,1046,1392,1582,1504,734,524,531,534,525,415,401,463,655,908,1272,937,750,676,507,532,508,448,393,363,359,328,355,361,332,354,377,410,395,403,399,351,336,327,397,514,521,510,377,303,314,400,487,445,350,337,334,301,273,265,253,250,256,263,296,291,308,299,297,422,462,418,406,365,395,427,430,480,415,373,335,266,272,330,402,410,384,348,346,364,350,340,351,350,369,369,378,377,379,369,359,355,352,346,348,358,374,368,383,387,399,433,460,469,459,445,446,455,475,473,454,464,511,511,475,440,423,395,370,386,409,426,418,372,394,418,419,436,456,454,453,447,433,425,423,419,437,446,463,469,463,446,440,430,414,399,386,382,388,399,397,420,447,423,414,446,452,435,451,442,427,414,411,424,409,397,384,378,378,395,393,386,378,362,357,373,373,397,385,390,398,370,365,375,385,390,398,389,396,385,374,377,377,370,361,364,387,391,379,377,384,405,422,414,406,426,410,381,379,369,359,355,350,345,335,333,328,326,325,334,341,362,361,365,367,379,394,406,407,394,385,383,371,366,368,362,359,366,372,375,382,384,382,382,370,366,374,383,373,368,366,365,377,365,352,350,338,342,348,354,360,372,362,372,452,490,502,481,414,377,383,379,364,347,343,360,378,406,412,408,406,387,411,424,406,424,420,414,381,408,403,396,383,374,373,359,341,331,322,321,316,337,322,318,290,287,280,283,288,293,295,299,313,321,337,328,324,333,343,349,355,357,360,350,331,352,336,331,358,336,352,336,318,329,340,352,361,355,348,325,313,326,313,326,325,313,320,310,314,325,309,301,309,309,307,302,302,283,276,277,286,297,300,305,306,301,299,300,300,299,297,293,309,310,305,311,312,312,311,309,316,318,322,317,310,306,314,332,336,344,348,354,353,359,365,365,361,365,362,362,362,362,357,362,371,353,341,337,329,323,321,328,325,329,322,321,318,313,300,302,306,310,313,316,319,325,327,332,332,331,339,319,341,332,338,344,341,341,336,340,348,343,343,338,332,334,335,335,348,369,374,367,363,365,365,371,349,350,357,350,332,351,345,353,353,351,341,339,335,325,318,316,332,322,331,349,349,346,337,326,337,336,344,344,337,326],[461,440,509,553,594,522,336,359,544,563,425,401,398,334,315,328,330,276,293,341,287,330,345,325,265,254,255,321,343,340,345,350,398,456,751,1714,2334,2206,2480,2012,2062,1814,1566,1340,1282,1508,1622,1878,1860,1434,2014,1778,1696,1808,1710,995,692,642,779,919,1200,1636,1306,1194,1560,1384,1034,942,729,548,407,698,991,892,775,1034,1222,1116,763,670,1050,1402,1478,1494,1720,1670,1490,1658,1778,1744,1730,2202,1932,1360,724,800,907,594,557,799,833,756,722,758,948,968,1002,1005,776,681,592,530,444,533,481,343,408,325,325,498,348,307,462,1015,951,1118,1748,1802,1314,651,343,364,484,531,402,549,937,1092,912,751,880,913,803,807,809,819,838,985,1194,1292,1246,1134,1064,889,886,835,753,706,589,563,677,624,544,594,603,702,791,609,542,724,583,382,504,792,1210,1112,651,456,774,1510,2308,1976,1076,553,455,480,473,509,589,581,537,732,1634,1732,1614,1514,1344,961,572,490,560,509,401,474,895,1078,1028,772,714,1296,2214,1354,1098,1502,1112,427,267,261,379,428,426,1244,2008,890,402,812,1280,1372,1290,1010,710,1094,1162,1058,977,935,838,1232,914,615,708,583,514,411,316,335,361,274,288,339,611,1002,1404,1634,1850,1660,1226,1256,1090,883,798,642,808,1050,1032,1400,1224,993,858,735,742,760,1072,1314,1358,1076,1206,739,327,321,301,371,615,537,356,448,474,377,281,293,297,336,326,314,288,249,234,261,297,325,347,351,337,321,298,344,785,1426,1280,532,276,255,269,275,300,303,372,446,369,378,410,399,302,298,343,331,347,327,297,368,634,1166,1046,870,910,1082,1130,1242,1178,1210,1248,1080,1630,1726,1152,1032,924,1286,1436,1548,1638,1648,1654,1884,1858,1816,1726,1644,1832,1878,1682,1448,1332,1476,1686,1614,1544,1628,1388,1502,1202,1388,1466,1138,871,871,1005,880,904,949,705,452,447,374,280,314,563,432,355,419,1015,1482,1336,1146,1218,1482,1624,1642,992,846,1168,852,695,1260,1023,764,917,917,955,1244,1692,1790,1628,1566,1482,1572,1500,1562,1582,1558,1346,1068,1166,1614,1746,1572,2156,1792,1410,1526,1506,1570,1184,932,1124,1250,1242,1008,919,614,744,849,1190,1168,1088,1126,1230,1106,705,494,622,1096,1450,1252,1426,1294,858,1260,1450,1134,662,584,663,647,939,1208,1310,1426,835,686,666,585,1088,1620,1360,963,706,525,512,708,748,608,614,524,893,1234,997,648,916,940,802,1009,1356,1512,1350,882,615,703,640,799,657,464,484,443,385,393,463,509,478,479,504,725,1542,1916,1552,1190,917,764,856,818,805,855,764,745,818,832,838,960,973,793,927,968,910,873,928,1038,1112,799,799,632,591,828,744,547,681,1174,1588,1472,1186,1096,1306,1158,994,1030,1256,1338,1054,836,1001,1082,1136,839,534,816,1130,1062,1108,1005,935,1040,1064,1038,1200,1368,1296,1244,1160,1236,1286,924,1106,1074,892,891,1062,1084,736,436,482,608,869,1094,1338,1372,1002,1302,1198,1015,1016,888,1022,1272,1302,958,738,601,563,794,1110,856,760,657,664,1294,1504,1306,998,924,916,920,1148,767,792,1260,1274,1196,1250,1630,1382,1168,1316,1296,1188,988,846,823,697,1058,1190,768,625,686,1058,1232,1706,2002,2018,1682,985,606,465,426,714,841,1030,1358,1330,1026,1020,1236,1278,1368,1504,1416,1614,1800,1616,1134,1416,1678,1500,1108,1324,1222,946,1266,1324,1194,1028,1172,1588,1442,1168,1132,1042,865,787,714,732,820,730,1068,1288,820,953,1064,1138,1096,1200,1228,967,588,500,745,918,930,1110,1288,1318,1286,1566,1136,622,823,1050,851,1200,1408,769,1012,1078,922,1042,1072,1182,1076,848,910,1154,985,517,393,480,728,687,864,875,673,647,642,1550,1700,1144,991,886,886,913,1064,985,728,717,726,1226,1310,902,826,760,750,545,463,548,971,1526,1758,1620,1001,674,630,469,432,381,320,480,903,1170,1404,1522,1622,1376,791,709,1400,1394,1003,1098,971,1144,1316,1336,1272,1052,1306,1588,1496,1500,1514,1512,982,775,1404,1898,1376,1638,1472,1174,1005,1166,1528,1376,1172,1166,1560,1720,1438,1168,1208,1306,968,889,741,889,1172,1214,947,807,765,833,1126,1366,1550,1458,1290,1274,1216,1698,1334,1094,1068,1328,1342,1200,1326,1360,1294,1332,1386,1306,1152,1412,1572,1388,1308,1376,1342,1264,1196,1290,1198,1184,1116,1294,1350,1318,1356,1300,1194,1432,1512,1460,1430,1072,1092,1306,1326,1410,1318,1272,1240,1242,1256,1186,1038,853,647,698,730,454,492,874,921,750,1021,1098,1150,1170,1272,1448,1013,852,1056,1054,1124,1472,1356,1326,1266,1238,1246,1416,1582,1396,1142,1556,2206,1704,1390,1422,1440,1376,1388,1444,1604,1588,1352,1442,1472,1504,1580,1556,1534,1532,1280,1448,1484,1518,1422,1266,1432,1388,1258,1356,1130,1208,1346,1354,1296,1276,1266,1314,1172,886,709,1122,1200,908,1284,978,904,1310,1252,1372,1898,1466,1074,1114,1334,1528,1734,1764,1650,1708,1544,1364,1390,1306,1500,1260,1080,1046,961,1204,1562,1642,1534,1366,1368,1450,1424,1484,1284,1003,1044,1136,1122,1202,1202,1032,888,1130,1050,1108,943,714,724,780,870,1011,1098,1140,1180,1180,1178,1184,1198,1194,1170,1194,1100,962,873,1082,916,469,445,807,1180,863,702,902,1166,1370,1178,1316,1282,1102,1368,1404,1038,959,1212,1350,1182,969,1362,1106,620,684,968,948,1136,1334,769,570,524,774,1272,854,738,547,409,579,743,1240,1500,1434,1202,1200,1012,868,974,749,731,820,625,353,347,826,1428,1482,966,848,803,544,709,915,1074,1138,1048,1078,968,919,1246,1338,1344,1268,938,801,1058,1252,1208,1116,1007,919,1078,1204,1344,1446,1116,1142,1017,1076,830,728,686,824,806,680,788,1096,1454,1284,1324,816,709,897,891,807,932,1282,1294,1019,819,1028,1086,1220,1226,1003,860,827,1002,1168,1146,1007,1144,1308,1334,1304,1272,1196,866,959,1180,1226,1336,1434,1638,1300,1086,1146,1132,1200,1284,1228,1320,1472,1522,1406,1094,908,941,1058,1268,1274,1058,1142,1040,1106,1626,1620,1426,1252,1386,890,868,1218,1344,1278,1026,679,666,1028,1018,1021,1206,1088,1268,1420,1460,1418,1422,1472,1302,1206,1152,722,452,415,549,458,461,417,368,312,282,261,252,697,1600,1914,1722,1330,1498,1168,1312,1510,917,669,637,664,632,441,405,505,1108,1366,1292,745,650,572,493,538,483,410,424,408,376,343,349,351,346,338,368,402,330,324,356,343,315,296,343,377,388,419,379,337,301,376,477,465,360,312,325,310,277,268,252,255,256,267,272,279,303,305,296,414,467,354,374,363,404,401,408,579,524,393,286,259,266,328,405,402,376,362,362,353,347,340,344,354,359,366,379,383,379,359,361,357,352,346,338,342,361,373,377,382,401,421,432,447,455,453,446,460,472,469,453,442,474,485,468,443,415,410,386,388,395,411,422,406,412,422,419,424,435,441,454,458,450,451,425,413,422,434,453,468,463,448,441,429,414,398,394,389,392,400,395,414,436,446,418,440,452,442,448,442,430,427,406,418,409,400,388,375,383,397,393,378,370,363,358,358,361,384,376,385,393,387,370,370,389,383,393,373,398,416,400,381,371,371,372,372,373,375,393,382,385,400,407,410,407,423,415,384,377,372,363,361,347,339,336,333,327,328,346,351,339,355,362,362,369,378,387,394,403,394,387,398,369,366,363,359,360,362,368,373,383,385,386,383,377,372,380,382,385,377,380,385,412,423,407,376,348,344,347,354,354,364,363,364,428,480,494,481,422,383,387,387,367,354,354,363,366,406,430,414,407,397,404,416,406,411,409,401,393,390,404,403,387,377,374,361,345,333,330,326,310,335,325,318,303,285,281,287,286,281,281,295,304,309,333,331,331,334,337,343,361,348,337,331,347,347,328,336,334,342,342,340,336,331,336,350,348,347,349,332,329,331,321,324,321,326,312,327,314,308,308,295,294,298,297,298,294,294,283,290,299,299,302,306,306,305,306,310,309,304,305,293,309,310,309,312,312,323,318,304,314,319,318,318,312,305,317,329,338,349,356,359,359,362,365,369,350,359,362,362,359,365,359,359,368,353,344,334,331,329,327,319,318,316,314,312,311,310,309,309,299,309,316,319,323,325,332,332,327,330,332,327,336,339,338,335,332,331,340,350,348,348,346,338,338,338,334,332,339,363,371,369,369,368,361,365,353,354,359,350,337,335,344,351,345,357,343,338,331,325,321,311,325,321,325,345,350,353,350,339,323,332,339,343,344,337],[442,426,373,419,575,581,374,336,454,413,414,702,669,366,242,250,269,263,294,288,234,412,401,364,319,302,290,329,363,383,419,450,478,492,571,1376,1950,1510,1714,1398,1304,1236,1470,1656,1770,2304,2254,2500,1970,996,1654,2104,1636,1496,1116,796,941,1082,1368,1326,1192,1824,1392,861,1192,1218,954,920,959,816,736,957,1100,840,785,858,615,537,314,571,1260,1636,1620,1642,1816,1636,1530,1660,1670,1574,1876,1854,1596,1118,649,550,533,482,493,701,1011,988,907,915,944,966,936,742,557,475,536,569,507,514,437,361,327,320,311,288,302,333,385,628,834,1656,1842,1278,1316,1048,367,397,728,799,641,721,1136,1638,1524,1138,1152,1080,798,780,795,815,850,1094,1324,1432,1200,1128,974,717,804,753,669,692,592,465,604,670,635,724,752,766,736,531,710,1040,755,733,1242,939,912,925,727,608,1234,1758,1764,1476,1034,598,468,476,466,510,600,542,553,800,1462,1498,1704,1664,993,566,383,298,367,492,445,419,470,539,512,502,462,493,495,685,918,1058,593,373,280,370,424,452,438,619,547,396,385,378,634,844,951,943,1212,1300,663,476,719,796,1448,1982,1260,647,615,459,356,371,666,955,665,486,566,916,1290,1170,1218,1596,1712,1470,1332,1134,704,749,798,985,1312,1356,1162,1208,1064,1002,1148,929,1040,1386,1490,1038,951,775,776,517,348,312,272,324,489,409,377,436,421,346,256,308,294,286,302,281,248,255,270,293,303,327,319,282,276,334,343,467,869,1308,894,282,243,289,315,358,446,433,462,472,422,430,447,429,326,278,325,301,274,310,346,307,545,923,1006,1134,1242,1242,1332,1318,905,996,1118,1072,1472,1136,844,885,1228,1354,1244,937,749,1118,1436,1610,1842,1824,1716,1820,1764,1732,1800,1720,1670,1566,1460,1418,1290,1534,1412,1530,1356,1254,946,789,813,897,923,982,979,1058,1034,901,684,775,824,835,847,722,736,847,1252,1400,1208,1084,1094,1192,1106,1200,1070,1036,1302,1190,944,1182,1334,1310,1330,1266,1212,1338,1396,1310,1432,1688,1736,1648,1588,1538,1362,1400,1120,857,1086,1400,1628,1608,2118,1958,1750,1660,1396,1456,1242,1102,1024,857,1328,1618,1126,546,663,857,1318,1348,1196,1036,847,633,440,508,665,1164,1570,1328,1316,1054,855,1420,1448,916,601,668,812,735,995,1464,1554,1404,871,637,613,633,1298,1722,1336,1042,818,633,591,671,477,433,545,604,840,857,1007,766,621,957,954,755,1028,1384,1478,1312,822,724,616,790,705,552,510,447,462,521,509,455,469,502,539,1144,1678,1748,1330,1132,1258,1498,1626,1082,865,846,894,774,1080,1072,847,925,1034,978,996,884,846,966,1202,1134,989,691,1102,1023,682,719,872,739,776,1194,1404,1340,1522,1668,1626,1300,1016,1015,1142,1168,970,730,563,691,964,1028,702,946,1132,985,1128,1186,1308,1326,911,767,1038,1260,1712,1642,1274,1232,1208,1086,1212,1036,919,982,1106,1298,1184,1164,1282,1138,1072,1150,1288,1512,1314,1362,1246,1422,1234,847,783,1136,1368,1011,672,482,505,836,1150,1056,1196,884,835,1374,1594,1482,1172,1122,1290,1394,1484,1262,959,1224,1470,1268,1382,1558,1148,999,1128,1108,1108,1120,776,659,794,1102,943,533,461,843,1128,1418,1932,1912,1838,1472,886,820,565,353,449,617,708,889,1088,1098,1188,1224,1208,1434,1520,1838,1888,1814,1488,1076,1206,1664,1538,1034,1152,1222,1354,1206,1058,1172,1154,1182,1450,1244,1056,1124,1062,908,767,676,689,843,680,1078,1252,1030,1190,1082,855,995,1152,1136,1048,652,486,755,930,894,907,1070,1116,1092,1224,1056,807,889,1388,1108,984,1010,863,867,997,1088,1228,1224,1204,1148,927,745,861,711,526,543,585,748,986,1068,817,603,607,836,915,919,951,793,766,663,803,985,713,427,323,379,644,730,870,1082,965,899,586,452,434,798,1538,1786,1242,714,658,570,397,436,425,328,433,632,1050,1260,1188,1096,1034,854,858,1102,924,807,1132,1038,1130,1162,1298,1222,1278,1526,1130,1156,1436,1656,1718,1246,1034,1466,1986,1246,1388,1448,1622,1488,1556,1560,1216,1001,1066,1272,1394,1424,1092,1068,1240,1032,763,1160,1382,1416,1436,1238,1028,827,873,846,879,1019,1102,1160,1214,1338,1942,1692,1268,1116,1292,1464,1410,1452,1192,1118,1162,1206,1152,1148,1146,1248,1256,1180,1318,1328,1194,1146,1200,1214,1240,1116,1236,1224,1324,1410,1302,1234,1526,1542,1428,1406,852,731,1062,1334,1294,1054,1208,1410,1262,1188,1094,806,655,667,703,639,573,810,735,927,1118,1024,974,1238,1013,1058,1378,883,639,777,956,1050,1718,1526,1300,1230,1164,1258,1666,1596,1218,930,890,1164,1013,883,1456,1482,1422,1414,1562,1746,1632,1442,1398,1532,1516,1306,1262,1520,1498,1542,1586,1492,1344,1078,915,1132,1332,1306,998,1144,1410,1224,1252,1290,996,954,1148,1416,1328,1168,1470,1288,1184,1440,1350,1526,1562,1642,1748,1506,1194,989,1224,1398,1312,1476,1630,1594,1686,1604,1482,1672,1568,1468,1362,1316,1270,1118,1318,2020,2116,1656,1676,1652,1540,1604,1478,1086,824,985,1070,1040,1052,1206,1216,1304,1092,919,1016,965,979,1074,936,1172,1104,1112,1130,1098,1306,1090,1064,1334,1468,1308,1198,1048,731,862,1376,905,529,573,1454,1456,927,1158,881,810,1044,1024,1114,1366,1230,1456,1530,1416,1136,1434,2148,1382,861,1112,720,609,698,904,1026,935,718,686,724,741,650,617,715,693,447,559,795,962,1232,1404,1328,930,852,1036,1128,1156,1046,742,503,366,357,444,858,1428,1628,1144,987,888,898,960,763,686,789,1018,1234,1314,1396,1382,1258,1334,1296,1006,1026,1032,944,974,1084,1156,1092,1034,954,1058,1276,1222,1206,1186,1222,1092,960,1042,1172,1110,1021,1316,1428,1590,1516,1384,999,1102,1132,774,791,1144,1342,1256,1050,827,1122,1032,1190,1064,727,482,671,962,1236,1178,769,844,1168,1174,1156,1196,1172,1162,1202,1136,1226,1324,1324,1286,1134,1166,1280,1334,1306,1130,774,598,1142,1214,1310,1464,1222,905,798,951,1032,870,1252,1432,1678,1812,1504,1498,1472,1490,1210,1238,1516,1372,1272,1272,991,955,1202,1116,1178,1312,1194,1294,1572,1744,1772,1606,1606,1598,1550,1558,1432,1100,991,1030,843,681,601,437,290,277,262,311,657,1512,1768,1520,1670,2046,1882,1926,1660,970,666,580,542,659,1036,664,658,1398,1590,1296,794,626,550,466,561,567,426,487,398,366,362,372,343,331,328,363,386,357,341,315,277,250,248,275,307,312,316,332,339,313,328,366,340,285,275,325,299,278,277,268,252,246,254,261,277,296,316,314,360,451,361,348,327,398,332,328,561,524,329,273,253,271,350,399,391,362,366,376,357,346,342,344,346,342,357,378,383,384,369,374,384,368,354,346,344,366,375,368,371,393,403,423,441,455,448,428,438,442,446,449,443,444,468,489,469,420,419,386,404,399,398,421,424,406,415,424,419,433,441,451,458,437,440,427,414,414,436,448,448,452,453,450,431,415,405,396,407,404,397,392,407,437,443,423,423,444,442,448,453,424,427,426,409,395,378,376,387,388,401,402,390,378,361,352,363,364,381,385,384,383,389,383,364,387,385,395,370,361,374,383,378,372,373,367,364,362,369,381,377,379,391,416,416,390,405,426,405,384,375,367,364,359,358,345,334,326,309,329,346,336,341,353,363,368,374,387,392,396,385,368,371,374,370,362,360,357,357,362,364,370,372,385,377,378,380,383,394,389,385,401,440,460,473,458,412,372,357,352,348,351,363,364,364,412,469,501,506,454,398,388,385,371,365,351,347,354,395,421,408,404,399,397,400,406,396,383,401,393,396,408,404,396,384,373,357,351,322,319,323,328,331,325,314,303,288,292,291,285,286,300,299,296,322,324,328,329,328,329,337,353,357,347,331,343,343,337,333,338,339,334,340,343,331,324,332,337,340,344,344,344,324,324,320,310,307,314,318,301,308,309,296,298,298,296,295,293,293,290,289,286,297,301,308,302,311,318,318,310,305,311,304,302,306,313,322,324,326,325,310,312,314,317,318,313,306,313,324,344,359,359,369,375,366,358,375,358,351,354,357,354,357,357,356,353,349,340,331,323,321,319,318,318,319,313,312,310,300,305,308,311,313,318,316,327,332,331,330,325,325,328,332,332,332,336,321,321,319,325,330,335,346,345,344,343,332,337,346,332,351,368,365,363,359,356,359,349,345,353,350,343,335,331,331,341,351,345,336,332,331,323,318,323,318,328,338,344,351,346,344,332,337,336,341,350,348],[445,413,360,471,644,697,509,494,635,632,785,1088,836,398,249,206,242,307,335,301,277,330,480,585,528,409,343,354,378,417,456,495,489,458,421,853,1318,1336,1222,1134,1178,1508,2396,2442,2062,1946,2008,2050,1310,901,1156,1336,1600,1672,1266,803,1016,1454,1750,1572,1626,2250,1404,782,1216,1410,1282,1260,964,995,1188,1262,1230,884,890,708,517,378,309,387,916,1576,1600,1478,1588,1404,1560,1588,1744,1584,1440,1268,1210,963,607,587,601,558,603,688,778,772,866,937,916,916,941,1226,1134,446,519,579,604,491,459,430,365,393,323,301,285,335,408,480,801,1322,1056,574,659,682,393,467,764,832,785,711,1376,1932,1570,1250,1206,1014,757,700,792,828,828,1122,1292,1684,1528,1164,854,592,637,628,592,666,582,484,637,657,636,656,769,778,630,630,775,840,655,1248,1628,1126,1522,1362,1122,755,1140,1478,1050,800,785,520,393,469,495,535,604,535,501,1210,1864,1946,1844,1318,884,653,463,325,315,449,470,370,439,622,490,333,367,516,848,1054,645,646,505,323,461,462,306,335,393,368,334,478,466,379,315,359,430,786,957,723,496,427,651,1438,2074,1708,1194,682,413,334,356,734,1122,1400,1186,756,500,949,1464,1150,1180,1394,1108,1012,1021,1070,1292,1160,1150,1282,1204,1172,1104,949,733,816,946,930,1204,1390,1370,1256,1238,1106,935,817,579,400,290,420,667,563,510,538,521,437,372,334,262,250,304,284,256,286,322,317,275,310,305,265,299,351,314,501,650,517,345,297,265,219,267,393,519,530,503,440,428,455,446,403,316,278,290,274,286,302,307,252,403,651,1005,1390,1436,1368,1304,1246,605,409,626,774,1136,1058,769,866,1172,1012,882,596,536,698,1400,1626,1646,1468,1598,1766,1830,1858,1798,1816,1832,1722,1692,1492,1434,1666,1588,1584,1592,1260,1218,1368,1504,1512,1542,1616,1618,1566,1582,1616,1628,1710,1632,1546,1526,1490,1388,1426,1504,1548,1456,1392,1262,1184,1282,1340,1434,1494,1422,1278,1180,1362,1654,1542,1278,880,1102,897,619,664,1008,1464,1650,1376,1412,1448,1092,1116,1144,1244,1182,1058,1186,1394,1628,1642,1776,1478,1234,1362,1098,1132,1160,651,998,1332,749,498,589,806,1128,1456,1608,1176,1068,955,503,409,567,849,1524,1620,1786,1670,1208,1148,925,799,905,735,814,735,890,780,1222,1164,788,713,669,792,1504,1630,1304,988,729,693,574,573,451,416,593,738,754,680,1010,1042,528,677,992,732,728,1130,1418,1536,1166,694,496,698,730,597,520,566,599,612,527,457,473,492,479,1208,1422,1294,1238,1230,1382,1428,1422,1126,1032,658,465,535,794,691,549,907,1136,1198,1464,1224,958,1098,1212,1007,648,568,860,898,618,655,1015,1262,1270,1210,1234,1136,1262,1272,1562,1382,1282,1918,1812,1212,1256,1016,683,578,843,1064,1126,1052,1164,1100,1244,1028,974,1130,902,921,1084,1218,1600,1506,1324,1226,1224,1148,1128,920,744,875,1046,1084,958,1452,1658,1288,1064,1216,1490,1490,1260,1210,1248,1262,978,642,871,1460,1436,808,579,626,828,922,1038,1176,1290,952,926,1418,1592,1462,1142,1152,1320,1234,1566,1526,1394,1360,1284,1186,1228,1136,872,965,1098,904,1116,1224,770,567,928,963,681,547,531,719,996,1584,2052,2098,1852,1456,963,952,748,498,441,742,778,599,865,939,1068,1188,1348,1534,1534,1924,1688,1274,1412,1538,1554,1594,1250,911,1040,1072,1118,1280,1368,1432,1244,1140,1302,1374,1382,1328,1124,997,919,1028,1144,1004,993,1428,1354,1298,1722,1538,795,1166,1436,1202,1340,1256,1094,1088,1150,1362,1034,547,485,547,858,1128,1003,745,1020,1044,1100,1354,1366,1206,919,872,1196,1146,1240,1330,1096,675,774,978,990,1036,1044,1226,1366,1058,863,788,623,801,964,1168,900,793,795,555,695,840,573,412,321,349,496,558,751,1034,1026,961,772,650,723,938,1388,1578,1234,891,717,566,433,484,499,413,518,575,918,1256,940,656,846,633,582,858,1088,1102,1009,1056,1021,1084,1428,1146,1638,1872,1050,1168,1382,1484,1604,1664,1364,1352,1302,1278,1662,1750,1526,1054,1148,1324,1076,1208,1312,1162,1314,1538,1222,987,1178,1284,1040,1256,1416,1344,1476,1520,1424,1270,1232,1048,1088,1252,1198,1232,1308,1318,1390,1158,928,843,1164,1488,1600,1216,893,1154,1250,1124,1092,1062,845,1058,1366,1214,1068,1128,1005,1076,1212,1340,1342,1096,1116,1236,1412,1478,1210,1472,1542,1398,1420,1148,701,541,449,719,627,536,836,1188,1272,1130,1046,869,833,731,675,719,828,1124,863,1028,1196,1018,1174,1380,1346,1376,1352,811,713,786,1100,1250,1222,1266,1260,1268,1258,1220,1380,1204,1108,927,788,1028,1062,967,1156,1368,1274,1204,1572,1748,1664,1614,1698,2344,1832,1414,1202,1230,1228,1180,1130,1064,942,823,805,1360,1570,1306,776,1200,1388,1238,1182,1260,1242,1086,1240,1570,1450,1368,1192,1222,1174,1394,1712,1700,1296,1538,1644,1102,1118,983,1164,1604,1484,1500,1770,1658,1456,1394,1276,991,1023,1236,1376,1526,1342,1350,1526,1758,1908,1672,1584,1550,1686,1686,1490,1252,1120,1196,1224,1164,1476,1678,1498,1470,1122,805,947,908,1007,1242,871,955,1146,1150,957,1284,1448,1023,996,1118,1244,1378,1266,794,636,875,1130,741,532,803,1610,1340,1036,1472,1544,1328,1110,753,961,1578,1282,1388,1404,1218,1007,1272,1392,687,810,953,637,599,1026,1064,1026,957,1028,982,960,882,760,881,1001,869,656,562,604,807,1128,1268,1170,1242,1058,991,1290,1340,1013,509,413,396,547,582,926,1584,1756,1344,1042,1132,1246,1098,945,1126,1150,1400,1498,1340,1182,1140,1206,1346,1334,1142,1108,897,594,798,1036,1176,1220,939,891,1040,1198,1006,1020,1168,1220,1148,952,1080,1130,1216,1214,1324,1384,1076,1160,1238,1222,1336,1072,709,823,1042,1172,1238,1260,1290,1240,1122,1260,1146,839,656,840,864,802,568,361,496,938,1334,1300,1086,1030,969,1070,1142,1230,1268,1242,1272,1188,1082,1244,1212,1334,1118,641,860,990,786,933,1272,1388,982,853,988,1094,946,935,1152,1430,1472,1242,1310,1380,1166,1204,1362,1326,1284,1418,1368,1500,1400,1290,1054,1002,1290,1364,1508,1786,1790,1492,1302,1372,1478,1552,1572,1496,1550,1658,1634,1558,1510,1360,1074,813,696,523,407,499,976,1400,1320,1676,2130,2052,1928,1604,844,612,648,778,1048,1194,785,668,976,1606,1662,826,566,574,424,520,637,432,492,433,378,384,394,335,310,307,321,366,398,350,343,309,270,264,276,313,329,290,298,320,308,289,274,267,267,266,308,279,303,294,287,258,247,250,260,273,285,285,280,334,475,410,320,292,301,296,292,332,307,269,271,263,291,346,378,372,355,358,364,354,346,343,342,348,345,357,387,389,379,377,369,384,377,355,332,342,366,364,362,371,390,392,413,439,449,441,424,426,432,428,431,437,430,452,481,489,437,413,405,388,401,406,417,436,434,424,426,428,433,435,437,443,428,443,452,434,414,411,416,431,448,452,447,451,429,417,405,412,403,385,394,412,435,450,436,432,441,442,446,453,433,423,413,398,389,380,386,383,383,392,404,392,383,373,368,397,408,393,384,380,384,386,387,375,373,370,378,367,346,354,377,381,370,373,367,345,352,369,377,379,384,388,399,401,393,407,428,409,396,384,377,370,355,336,336,339,331,321,327,333,343,346,343,362,376,376,379,397,385,382,374,368,373,371,363,362,368,372,362,356,362,358,380,377,373,383,389,390,391,399,418,469,476,475,454,424,399,385,366,354,354,360,366,363,402,465,514,511,469,420,393,385,369,343,336,341,342,385,415,419,417,418,424,414,408,396,401,402,392,402,399,401,391,378,365,338,361,319,316,321,318,323,321,318,309,293,304,291,285,296,310,304,311,313,317,325,322,325,331,334,339,367,361,360,350,344,339,331,331,334,337,339,343,334,330,330,326,332,331,335,335,331,327,318,308,308,320,323,311,307,312,308,306,301,296,293,290,280,289,292,289,293,301,306,320,319,318,313,306,307,317,317,310,310,314,319,316,314,316,317,319,317,323,319,313,312,313,319,339,365,362,366,362,357,356,365,371,356,353,359,359,361,361,354,345,336,329,332,325,319,319,324,322,319,316,310,305,306,305,301,312,318,322,304,332,344,332,330,327,325,332,332,327,315,332,314,319,325,328,335,344,344,343,344,343,335,337,351,351,344,357,359,361,368,371,361,342,337,337,340,344,343,332,325,331,343,340,332,330,335,328,312,327,321,325,337,345,349,340,337,337,337,336,339,348,349],[413,364,336,403,576,690,637,814,1132,996,702,570,430,366,273,235,286,341,305,251,214,254,385,515,600,449,357,381,383,402,448,503,485,451,419,543,782,1282,1560,1306,1136,1444,1892,1606,1694,1470,1470,1456,1408,1540,1632,1980,2186,1932,1976,976,813,1274,1504,1458,1368,1202,801,1015,1992,2100,1410,1522,1534,996,995,1146,1240,1150,794,559,590,391,284,276,565,1094,1370,1440,1940,1588,1542,1540,1876,1460,763,769,1094,935,580,558,525,584,642,634,616,692,831,882,922,927,970,1442,1304,544,467,588,731,655,591,583,514,427,346,315,348,376,373,373,401,609,593,534,426,399,337,423,662,717,506,550,1196,1594,1462,1144,1062,1009,846,624,628,669,763,1008,1154,1354,1314,1158,789,600,621,637,569,611,523,512,657,680,622,663,770,677,658,891,1060,922,980,1282,1144,1400,1626,1464,1412,807,605,768,857,906,1078,758,705,735,634,600,614,503,443,851,1570,1832,1176,713,635,646,552,484,391,424,491,491,445,407,686,1007,661,642,849,834,574,499,417,395,750,585,290,281,301,346,364,297,458,546,417,543,776,755,518,437,440,753,1274,1722,1870,1592,1084,554,365,419,738,1216,1238,1130,962,626,421,805,992,1196,1360,1422,1454,1306,1084,1192,1288,1190,1320,1140,957,958,634,421,603,1052,1284,1406,1582,1432,1180,1066,1152,1200,1274,1142,1023,755,745,932,1058,1068,867,724,585,400,336,336,290,260,329,270,277,329,393,368,312,320,310,294,326,317,372,501,266,244,230,270,244,240,236,339,473,502,477,426,401,385,404,325,257,278,276,334,446,378,295,318,345,365,572,922,827,794,802,897,442,279,328,576,1007,1152,922,824,1094,601,596,763,731,912,1430,1598,1456,1304,1374,1498,1430,1392,1574,1544,1224,1186,1632,1520,1454,1254,907,1102,1288,973,671,783,1406,1656,1494,1362,1528,1616,1584,1470,1582,1676,1552,1472,1238,820,804,1050,903,703,581,639,629,598,574,755,1146,1322,1240,895,832,1220,1858,1734,1446,930,1088,775,555,712,973,1316,1544,1402,1794,1416,1346,1232,1200,1346,1190,1004,1040,1532,1724,1490,1334,1094,1064,1054,1015,1156,998,797,1178,1136,645,511,521,727,1100,1268,1412,887,948,838,674,576,792,912,1328,1642,2130,2092,1100,942,891,1108,1138,1007,936,796,872,543,991,1034,558,658,618,720,1390,1376,1420,1108,673,649,659,762,863,810,758,792,751,720,866,791,536,435,672,727,604,805,1230,1484,1490,1090,643,652,771,617,477,413,431,452,488,482,508,598,685,938,908,915,1020,1152,1248,1078,856,823,661,466,392,359,479,451,485,1004,1458,1624,1658,1676,1128,874,1092,1090,609,409,540,647,588,734,1136,1396,963,775,875,1042,1120,998,1282,1504,1672,1896,1588,1302,1312,1042,1013,865,1010,912,801,615,792,964,1001,893,659,745,1178,1200,1410,1136,1098,1172,1332,1738,1442,1058,1066,954,1046,1104,783,1028,871,993,1206,930,650,746,1152,1188,949,827,773,734,713,885,1082,1522,1386,854,698,969,1258,1110,1042,1336,1428,1118,1128,1562,1118,1286,1120,1324,1236,866,934,1074,1272,1292,1226,1172,1042,1126,1110,1118,855,976,1230,995,791,875,937,899,804,661,725,805,929,1536,1976,2078,1714,1048,886,820,706,612,484,950,1250,659,694,566,677,939,1256,1472,1838,2104,1602,1346,1544,1392,1454,1642,1310,1256,1144,1068,1036,1158,1504,1504,1076,841,1168,1426,1482,1208,1036,916,1116,1126,1060,990,1188,1490,1418,1394,2026,2200,1360,1344,1136,1332,1750,1622,1204,1072,1266,1518,1122,615,737,913,1004,1266,1044,756,912,1026,1208,1292,1276,1450,1000,854,1030,926,1092,1570,1328,1134,1072,1302,1238,1204,1450,1628,1382,1162,1188,1172,1020,786,862,1004,924,1116,985,567,734,796,455,415,377,360,430,386,376,660,912,1072,1096,846,658,885,1198,1260,1124,791,636,583,511,501,446,465,478,460,591,872,1090,1232,1220,812,653,1017,1300,1310,1262,1124,786,970,1410,1016,979,1358,1170,1314,1484,1542,1478,1814,1404,1292,1330,1302,1562,1702,1154,533,596,873,1246,1690,1396,1040,1174,1526,1414,1242,1284,1216,1020,1248,1340,1450,1870,1668,1516,1396,1364,1346,1402,1416,1388,1418,1382,1334,1072,692,982,1054,1140,1382,1472,1044,1008,1154,1076,897,826,881,873,1022,1326,1356,1352,1380,1754,1566,1482,1718,1856,1400,1320,1534,1658,1986,1278,1450,1548,1520,1346,876,583,459,374,322,306,336,397,552,760,763,701,766,896,694,654,742,932,1142,1074,1056,1110,1080,1422,1820,1784,1578,1406,914,982,1090,1086,1116,1182,1382,1280,1104,1140,1296,1296,1092,1256,1036,838,951,1032,1186,1328,1416,1376,1354,1580,1474,1580,1474,1394,1914,1672,1368,1372,1332,1186,1184,1334,1130,963,940,1094,1434,1488,1174,912,1196,1316,893,817,1152,1122,940,1432,1638,1500,1172,1336,1088,977,1204,1450,1518,1100,1100,1086,799,1356,1304,1118,1116,1262,1558,1650,1198,838,978,1044,1024,1086,1368,1332,1332,1194,1362,1466,1440,1524,1666,1628,1408,1534,1662,1598,1548,1550,1354,1350,1272,1426,1372,1300,1368,1232,943,876,1194,1196,1106,1076,1130,1174,978,915,1478,1232,933,1282,1158,1130,1288,1226,960,799,652,745,825,976,1334,1710,1496,1114,1162,1856,2042,1426,799,719,1090,1046,1172,1226,1096,1034,1194,1190,1100,852,855,733,613,742,911,935,1100,1202,1060,1017,882,706,698,1076,1330,1274,877,698,885,1086,1124,1270,1502,1294,1278,1748,1690,1118,550,520,547,711,722,1030,1484,1650,1402,1170,1236,1188,1162,1230,1226,937,1284,1378,1170,1148,1124,1088,1252,1246,984,935,910,518,783,1064,1206,1212,1308,1356,1084,955,980,990,1142,1156,990,862,1334,1572,1212,1070,1056,767,797,1174,1288,1284,1248,1112,968,1112,1092,917,1060,1192,1268,1212,1340,1300,1134,978,977,1124,860,465,435,567,503,778,1252,1324,1070,885,1024,1088,1046,1194,1182,1278,1354,1224,1126,1026,1096,1318,1332,1312,1072,752,934,1020,921,1510,1086,1108,1214,1600,1414,942,780,993,1118,1044,1072,1076,1160,1192,1126,947,1316,1338,1272,1288,1578,1690,1498,1378,1284,1390,1768,1702,1322,1170,1234,1282,1144,1168,1226,1298,1460,1508,1392,1278,1332,1334,1478,1516,1494,1336,1056,810,581,647,822,1242,1686,1752,1690,1634,730,599,656,902,1302,1734,1628,1216,1023,1312,1332,876,699,680,418,419,594,456,532,548,431,424,400,331,316,319,354,394,408,373,386,338,266,256,267,314,311,292,312,294,278,275,273,273,267,290,328,318,308,301,275,253,255,255,262,262,257,272,280,361,444,375,301,279,297,306,292,274,260,245,263,271,324,360,363,364,369,365,364,362,369,354,340,351,348,362,391,389,372,369,363,374,388,366,354,371,350,369,363,364,376,375,383,415,441,442,434,418,430,415,418,419,419,447,470,489,452,423,421,397,385,408,424,426,429,410,419,437,428,418,425,437,425,425,443,442,422,406,410,432,458,454,438,461,445,429,412,412,411,392,389,419,436,461,462,442,433,439,444,444,437,421,404,396,381,386,396,368,390,393,402,396,384,378,374,379,390,387,379,378,384,390,382,374,372,367,371,370,362,354,358,375,368,379,379,362,353,361,381,385,383,381,397,410,407,404,412,404,404,394,387,372,369,365,355,347,338,331,316,312,329,341,346,359,375,379,375,394,385,373,374,385,376,373,365,360,356,351,351,353,356,354,376,384,378,386,385,383,383,397,427,480,491,486,468,448,424,399,377,375,377,362,363,364,395,458,503,506,490,435,383,384,385,351,344,349,344,385,400,418,403,419,417,404,402,401,409,401,400,386,379,401,381,372,361,335,355,353,337,314,301,313,316,307,290,280,298,292,287,293,310,295,287,298,310,320,318,323,333,343,329,370,365,358,349,337,336,330,331,336,330,336,340,332,324,332,326,329,330,331,329,326,326,323,317,313,320,319,318,313,312,314,307,305,302,295,290,294,292,284,294,299,306,294,305,304,315,315,307,306,310,311,311,312,311,312,312,312,312,325,332,329,322,318,321,314,313,325,337,362,362,365,365,365,353,354,366,356,349,366,365,366,365,357,349,350,349,340,336,335,334,331,323,321,318,311,305,305,305,310,312,315,325,322,331,327,331,330,328,331,331,325,319,315,330,328,328,335,339,345,344,348,349,350,344,340,342,349,363,349,351,357,359,363,362,356,340,331,332,339,346,356,345,327,325,337,335,331,332,339,339,312,325,325,328,335,349,345,337,337,337,337,336,338,344,343],[378,319,299,353,471,554,573,888,1284,1154,733,491,512,428,335,309,282,276,234,239,236,232,272,355,388,318,321,386,392,394,430,472,472,466,446,413,629,1220,1612,1554,1286,1456,1422,1304,1376,1102,972,1272,1636,1828,1836,2130,1644,1378,1908,1108,605,887,967,912,872,758,497,665,1600,2380,1110,887,1050,685,1078,1128,774,487,422,829,1044,684,412,422,422,691,1446,2014,2194,1594,1040,1286,1546,924,424,608,885,791,596,579,544,525,555,652,650,684,659,725,891,889,873,933,859,544,532,711,797,643,554,604,514,410,357,318,339,356,408,505,477,426,428,644,615,433,265,242,391,456,344,640,1104,1142,1222,1126,976,936,768,634,623,619,713,807,1013,1290,1262,1148,697,514,536,581,558,590,553,594,691,664,674,864,755,697,796,1210,1172,1404,1334,1128,1186,1264,939,1048,1406,1218,1154,1412,1132,1246,1448,996,1028,1342,1106,621,610,548,511,709,1116,855,565,422,419,613,650,526,357,420,527,598,551,586,882,1384,1438,922,552,546,564,646,467,446,671,819,582,353,315,358,522,387,425,599,814,1044,1098,706,441,450,717,1316,1544,1438,1614,1638,905,493,415,601,1150,1334,882,686,944,714,537,713,987,1278,1328,1302,1406,1164,1096,1212,1030,1132,1332,1208,966,819,644,732,1402,1640,1534,1526,1378,1324,1228,1092,1188,1310,1466,1910,1670,1138,945,929,1268,1324,914,647,538,367,296,312,323,354,352,293,292,323,378,372,325,300,308,321,319,388,551,419,282,266,289,332,321,305,256,308,413,442,437,372,311,265,262,334,459,411,309,365,431,386,320,321,340,305,405,537,488,424,481,489,334,309,295,457,854,1114,788,539,487,517,864,1124,1148,1268,1362,1284,1262,1196,1206,1418,1356,1168,1015,1068,987,1050,1202,1364,1428,1352,1140,1013,1210,861,667,647,1154,1330,1080,1264,1476,1700,1672,1452,1408,1432,1466,1522,1188,871,778,800,582,418,359,439,451,597,1066,1278,1232,1120,1292,985,1012,1172,1774,1774,1298,1284,1288,714,452,830,1140,1302,1578,1510,2156,1600,1444,1208,1226,1198,1032,1004,980,1256,1122,948,1078,1102,716,614,722,719,578,705,1050,933,601,514,508,525,565,841,860,579,600,963,1468,1072,713,796,1098,1660,1738,1464,1274,1538,1158,1288,1154,1122,1007,864,660,728,1176,1009,660,952,473,462,711,741,1102,1172,1176,1184,950,835,1228,1498,1542,1172,877,952,1088,977,601,466,710,865,733,712,973,1306,1540,1450,1040,604,700,604,480,407,405,440,529,568,659,810,866,852,959,1009,715,750,1290,2118,1422,697,458,407,391,398,504,582,607,1080,1606,1544,1422,1736,1202,533,621,698,543,498,576,593,628,1106,1356,1146,731,844,989,1174,1152,1048,1070,1324,1648,1682,1448,1458,1352,1362,1522,1146,1116,1100,884,601,642,974,1098,1092,883,883,1114,958,1390,1108,1024,1092,1216,1348,1114,1058,1216,1178,1402,1130,661,999,856,557,700,623,517,702,879,890,921,728,399,385,803,1346,1316,1400,1158,818,735,1018,1188,760,784,1102,1112,1174,1234,1592,1534,1486,1356,1352,1238,1238,1048,993,1290,1476,1456,1504,1218,1110,1322,1238,930,1108,1158,921,915,1322,1248,1088,1032,911,874,744,634,976,1456,1584,1156,890,863,565,570,841,598,871,1138,758,800,767,642,541,841,1488,1744,1430,1226,1444,1842,1674,1548,1226,1118,1316,1626,1570,1026,1136,1316,1268,973,733,1180,1500,1424,1344,1286,1058,1242,1260,1114,1216,1302,1444,1316,1190,1482,1696,1522,1232,1082,1586,1970,1630,1002,1034,1476,1664,1456,903,1090,1520,1374,1324,1122,954,1005,1090,1394,1190,797,911,795,913,968,978,1023,1212,1208,1198,1282,1470,1140,905,1432,1306,1052,1218,1146,942,702,919,1130,1114,1156,915,651,673,1009,791,382,334,411,307,442,357,247,386,800,1184,1030,556,300,342,394,469,565,581,628,520,494,493,404,364,346,384,455,736,1142,1306,912,738,659,1102,1296,1296,1490,1296,798,1166,1654,872,839,1614,1660,1522,1528,1320,1242,1886,1716,1208,1184,1328,1616,1578,866,784,708,736,1344,1652,1354,1080,1036,1228,1340,1382,1374,1054,1006,1450,1332,1202,1194,1390,1372,1302,1318,1302,1260,1334,1372,1210,1300,1498,1394,1060,1166,1218,1302,1456,1226,1172,1316,1366,1490,1168,1030,1190,1306,1168,1148,1310,1362,1476,2474,2094,1564,1534,1560,1426,1452,1258,884,1288,1276,1578,1594,1350,1270,1266,1170,831,548,570,475,541,478,381,378,451,536,724,695,529,477,407,535,813,1064,1158,956,822,1194,2148,1906,1492,1328,1156,1140,1222,1440,1302,1198,1396,1076,938,1140,1238,1282,1316,1496,1344,1258,1296,1242,1328,1292,1396,1396,1316,1316,1108,1366,1664,1606,1444,1366,1314,1474,1648,1552,1384,1396,1502,1256,1086,1378,1576,1738,1470,927,839,975,619,828,1246,1166,1164,1368,1444,1468,1202,1402,1424,1340,1174,1082,977,868,1162,1100,1070,1506,1456,1172,999,1144,1324,1020,664,599,697,896,783,788,1166,1358,1230,1156,1556,1592,1498,1334,1282,1360,1344,1394,1516,1268,1472,1682,1628,1410,1214,1212,1378,1350,1158,1136,1072,1108,1526,1328,1152,1258,1278,1380,1284,1226,1294,1026,877,962,1116,1023,1074,1126,1005,662,583,597,654,954,1218,1344,1326,1021,1368,2132,1794,1376,1023,772,1006,1262,1350,1240,1132,1208,1106,1096,911,1092,906,580,440,696,1009,1168,1242,1156,1158,1428,1398,889,518,850,1054,1246,1020,883,1176,1216,1216,1300,1354,1206,1192,1342,1302,1236,928,661,666,703,603,970,1516,1416,1176,1146,1322,1292,1028,1118,1142,1222,1382,1248,1064,775,711,1072,1286,1308,971,733,946,743,913,1068,1094,1017,1372,1628,1246,1026,948,858,975,1076,987,964,1246,1202,901,656,564,412,499,763,869,1080,1126,1030,840,1064,1046,1004,1002,1172,1240,1166,1178,1172,974,936,857,959,1018,764,859,977,734,811,1172,1342,1078,863,949,878,1072,1294,1222,1470,1416,1300,1212,1252,1328,1346,1542,1262,662,587,896,1384,1282,1446,1362,1316,1302,1362,1258,968,723,610,565,626,604,717,874,965,998,1050,1586,1456,877,752,1180,1428,1508,1512,1450,1572,1766,1592,1286,1324,1294,1234,1100,968,1048,1278,1204,1218,1214,1244,1062,891,1182,1380,1362,1442,1482,1390,1296,1016,770,817,792,1066,1464,1480,767,741,756,430,723,1548,1586,1230,1030,796,646,803,920,679,452,365,512,492,543,576,462,430,404,333,323,342,383,390,394,403,387,309,258,265,292,310,291,308,312,279,292,281,281,282,262,287,374,385,308,287,260,248,250,255,260,254,245,268,279,332,344,307,293,262,247,265,291,276,251,272,281,325,362,374,369,365,381,388,382,371,380,360,346,352,355,371,387,381,372,375,369,360,382,377,361,360,350,350,347,355,364,383,386,403,427,439,436,418,418,416,422,417,408,425,447,471,469,434,402,394,383,409,424,426,424,411,421,437,436,425,423,425,425,428,444,432,436,410,398,419,444,452,461,453,441,426,417,413,407,407,383,392,427,445,455,442,425,435,445,444,437,424,408,403,373,381,390,388,402,405,405,398,386,390,385,363,370,376,373,372,375,382,379,373,368,362,367,384,372,337,349,362,365,372,379,370,355,355,364,379,388,367,394,405,396,390,401,407,411,411,398,367,365,363,343,345,339,326,316,326,345,350,351,365,383,386,379,384,391,380,383,379,379,380,368,362,345,350,356,353,354,354,368,383,375,380,380,377,377,380,432,486,499,499,482,451,432,418,418,415,412,377,363,372,402,433,474,502,514,490,421,387,378,353,335,355,363,409,393,406,404,417,424,408,404,402,408,387,406,389,374,381,393,372,351,338,347,348,336,326,329,321,304,282,293,295,287,283,290,298,311,298,295,300,300,305,311,316,321,324,343,355,347,336,331,331,334,334,342,331,330,330,331,329,330,333,335,340,332,330,327,324,325,324,317,312,311,311,312,311,311,304,299,297,297,304,305,299,294,293,296,299,297,306,300,304,315,315,311,304,299,299,305,312,313,312,311,309,318,336,332,318,309,302,300,306,312,337,346,356,361,365,366,362,353,350,357,353,338,363,357,349,344,354,354,351,348,344,340,332,319,305,299,303,319,309,305,305,305,310,312,311,318,335,328,331,324,322,325,332,321,314,325,325,328,332,335,335,342,344,345,353,356,351,345,343,345,345,349,345,349,355,359,363,362,353,345,338,338,346,357,365,353,335,330,332,332,330,328,340,345,321,325,325,335,346,343,335,332,338,336,337,337,338,344,344],[398,369,347,308,312,331,344,610,950,948,594,455,502,463,403,370,308,252,240,256,229,234,230,251,304,297,354,391,389,408,428,439,425,424,433,397,503,930,1362,1354,1236,1094,982,1050,949,681,732,1036,1506,1728,1268,1918,1618,1330,2126,1560,698,691,832,789,864,838,556,414,993,1886,969,488,511,903,1158,810,412,252,439,951,1150,836,426,581,395,524,1138,1338,1412,1362,1476,1830,1676,1023,650,825,1009,955,633,653,565,550,679,764,828,774,629,669,838,902,912,995,956,785,825,888,803,589,520,506,460,478,443,362,312,318,542,702,600,509,502,848,1019,598,350,307,280,275,388,798,1010,949,830,921,800,717,647,644,744,778,804,684,926,1208,1192,840,474,417,530,600,546,523,529,620,709,630,678,882,620,493,532,883,1120,1378,1118,997,1154,1038,1124,1132,1148,1262,1456,1260,752,939,941,942,1114,1290,962,600,553,591,615,621,488,421,481,421,419,443,581,611,432,509,586,654,564,582,555,745,866,650,561,711,1013,1005,574,501,345,739,673,339,404,529,587,446,401,743,930,951,1202,690,519,859,1192,1424,1378,1306,1400,1118,667,629,584,659,1074,913,715,1222,1250,755,912,1158,1250,1308,1416,1414,1262,933,1056,1206,1148,1204,1136,1194,1216,1296,1256,1016,1084,1182,1560,1556,1376,1438,1166,904,1188,1254,1428,1810,1414,1126,882,953,1098,859,545,467,369,293,257,265,291,334,372,368,328,323,353,350,315,295,302,314,341,403,582,408,289,214,252,310,343,365,332,338,348,330,300,266,229,291,809,1248,995,651,472,463,459,317,310,305,272,302,512,640,591,437,455,433,293,314,255,326,764,1140,1005,678,533,713,990,865,661,1044,1318,1268,1354,1398,1276,1356,1342,1200,1001,1032,1176,1350,1264,1172,1366,1308,928,673,854,651,1264,1098,1330,1274,985,1544,2280,2112,1582,834,742,1120,1282,1186,926,680,778,918,893,771,720,880,765,741,1015,1110,1102,949,1036,797,629,852,1332,1448,1152,1023,1028,720,572,661,672,699,1008,1074,1256,1016,935,824,819,689,671,1078,1232,1001,586,559,1005,1028,601,566,585,574,634,906,1272,1208,661,634,563,477,423,602,654,722,697,1246,1758,1122,574,706,812,1480,1624,1678,1952,1896,1488,1636,1360,800,971,1130,704,669,1190,967,923,1282,572,402,328,369,909,1454,1814,1946,1366,922,1288,1448,1354,900,1126,1374,1484,1542,1252,1000,967,976,780,558,705,1034,1344,1506,1476,841,586,647,656,544,499,659,821,763,718,821,731,859,1132,1128,673,504,1184,1708,1148,600,493,431,408,420,465,646,966,1458,1708,1708,1752,1552,1098,658,601,603,556,505,528,550,801,1332,1412,1146,689,753,1116,1194,1078,979,886,1176,1362,1488,1670,1744,1498,1390,1214,977,1116,1264,1174,918,880,1188,1042,1280,1602,838,384,513,875,1084,1134,974,1024,1376,1224,1140,1180,1036,1100,828,605,1120,911,695,973,764,558,502,451,610,808,756,567,494,791,1304,1438,1224,752,521,564,1096,1484,750,775,1011,857,710,1122,1318,1146,1152,1352,1334,1304,1262,1204,1254,1494,1462,1444,1524,1376,1430,1654,1292,1023,1066,1216,1340,1148,1422,1238,971,909,1208,1128,901,710,721,872,857,781,781,767,458,438,792,554,535,612,919,1070,1072,936,483,686,1376,1146,768,1052,1302,1340,1514,1548,962,1021,1100,1632,1836,1412,915,989,882,890,649,966,1272,1316,1172,1070,956,1134,1248,1140,1190,1306,1484,1310,1404,1368,1422,1338,1007,1092,1444,1578,1300,1036,1202,1414,1384,1166,945,1390,1418,1266,1216,1230,1226,1148,1072,1084,1122,835,525,651,917,922,1030,871,747,966,1024,1080,1180,796,831,1660,905,613,724,707,719,653,1054,1152,1134,1542,1464,1254,935,1190,713,411,442,471,396,419,331,285,325,409,459,399,307,283,290,310,381,483,547,567,501,494,463,343,287,302,368,397,550,938,1128,1004,777,777,1168,1422,1474,1450,1396,972,881,1272,977,761,1622,1552,1324,1268,1090,1102,1388,1126,801,976,1490,1520,1330,1068,1072,777,937,1366,1410,1338,1178,1088,1192,1370,1430,1142,757,1344,1318,1030,850,846,1200,1220,1190,1318,1192,1358,2276,1526,1274,1402,1472,1374,1250,1210,1274,1434,1454,1350,1532,1776,1742,1490,1302,1286,1200,1314,1328,1296,1316,1454,1478,1300,1372,1478,1490,1422,1456,1428,1356,1122,1362,1454,1526,1526,1254,1118,1216,1160,837,589,896,1002,765,492,369,355,419,568,668,550,584,588,458,543,774,1346,1007,528,675,1156,1386,1506,1506,1266,991,850,1288,1592,1084,1146,1094,745,977,1172,1120,1100,1182,1400,1366,1236,1252,1212,1308,1122,1266,1346,1244,1452,1520,1526,1802,1684,1522,1376,1334,1410,1486,1746,1614,1422,1584,1428,1330,1528,1624,1490,1272,976,677,642,830,1110,1366,1198,1214,1328,1396,1290,1156,1184,1318,1460,1254,827,1030,1302,1428,1288,1340,1238,1170,1174,1164,1270,1262,645,476,535,511,720,825,1112,1284,1362,1334,1386,1356,1550,1898,1360,1316,1348,1180,1094,1168,987,1112,1328,1516,1598,1536,1466,1490,1276,867,969,1106,1430,1788,1542,1466,1478,1266,1140,1232,1426,1310,995,896,664,1007,803,529,520,577,656,962,1007,908,959,757,913,1294,1132,1278,1752,1432,1298,1196,971,1336,1616,1456,1246,1290,1340,966,1021,974,893,587,415,422,771,1144,1218,1196,1260,1172,1506,1506,745,425,575,518,795,963,996,1146,1176,1192,1316,1306,1250,1194,1278,1086,1278,1136,661,627,864,1064,1338,1526,1202,900,910,1056,1019,819,1019,1118,1150,1120,1150,1180,828,1052,1450,1490,1426,1202,1202,1196,1206,1126,905,948,1010,1162,1288,1314,975,888,1006,888,820,1092,1202,1030,777,562,407,378,417,470,572,685,1044,1180,1032,850,962,1170,1138,1070,1164,1166,1132,1056,1040,978,1078,1026,1060,1058,1015,1078,1021,994,964,1042,1146,1138,1138,869,851,1090,1272,1236,1296,1328,1306,1274,1438,1570,1710,1362,836,946,703,437,988,1486,1764,1654,1428,1294,1264,935,666,583,426,391,369,343,597,863,946,805,1074,1462,1142,766,650,952,1114,1194,1142,1188,1464,1704,1406,1212,1296,1170,1048,1110,1136,1188,1352,1124,1154,1034,1100,1260,1284,1268,1376,1380,1180,1014,911,1118,1442,1500,1286,1015,763,979,994,844,1316,1562,1072,581,822,1218,1484,1650,845,534,669,647,492,487,456,490,526,529,513,477,454,400,341,334,361,375,390,406,423,387,300,269,273,271,260,291,322,314,295,279,289,291,286,281,287,365,412,323,269,242,245,252,258,261,259,259,263,266,340,410,304,289,256,253,264,281,280,260,264,316,384,388,378,367,381,389,413,397,374,374,362,338,342,357,379,402,389,375,365,352,337,367,392,370,350,359,356,350,347,366,393,380,399,419,436,440,441,415,409,414,410,404,408,420,447,467,449,413,418,402,406,406,406,406,402,411,424,435,430,421,403,437,464,463,425,428,419,375,400,424,446,462,465,460,441,430,409,394,413,388,371,405,423,439,454,448,440,442,442,442,430,403,404,381,381,386,375,384,406,398,383,393,387,365,370,367,368,375,372,375,378,378,375,370,361,361,375,361,364,354,355,361,369,373,370,361,358,353,361,390,371,384,403,399,389,397,414,414,412,409,385,374,375,353,346,335,333,341,353,356,357,365,385,396,384,386,385,383,379,386,374,378,379,370,362,340,341,353,351,356,353,354,365,376,375,378,375,368,383,436,486,508,518,503,457,438,418,412,399,397,393,375,372,422,465,486,509,521,528,479,419,371,363,339,357,384,420,387,373,398,419,430,417,411,398,402,381,396,399,391,386,377,367,364,352,341,317,339,348,342,321,300,296,309,299,294,293,292,298,310,291,299,294,304,318,318,320,321,326,333,340,342,331,328,323,324,331,326,324,323,329,338,346,349,333,334,336,331,323,323,320,319,313,311,313,302,311,317,311,309,302,299,300,306,302,289,292,297,297,295,297,299,301,304,309,312,311,307,302,304,306,305,307,306,309,317,322,332,335,329,324,323,319,323,321,312,318,350,366,365,365,362,356,354,350,351,353,344,354,353,353,354,353,345,348,344,327,316,310,310,318,306,311,314,301,299,303,308,308,316,316,316,335,328,332,325,319,319,331,327,331,330,327,322,321,338,330,332,338,344,349,356,353,346,338,338,339,338,338,345,348,363,356,353,351,345,338,345,348,351,353,348,344,345,334,325,324,325,328,332,321,328,325,335,351,344,345,338,332,331,337,336,330,334,344],[415,369,362,307,287,302,306,539,838,556,361,421,468,541,538,422,305,311,252,237,201,276,281,351,525,437,361,375,412,441,444,441,438,452,391,366,572,928,895,1134,1142,870,1266,1372,872,583,621,688,974,1184,1352,2156,1902,1388,1812,1786,1384,1260,1132,893,885,701,476,350,430,536,508,547,1050,1356,1094,874,712,428,428,577,738,800,496,487,376,559,927,1576,2060,1704,1484,1644,1604,854,855,937,1080,932,728,705,578,619,745,923,1052,775,599,664,813,910,937,973,940,960,901,829,786,607,460,473,452,566,553,470,501,508,677,678,770,874,791,1023,1176,526,476,386,356,410,447,581,827,778,680,802,754,693,589,600,634,652,703,638,807,992,910,608,441,426,503,542,454,438,534,617,574,502,558,668,481,433,403,497,660,785,849,972,1180,755,651,921,1080,1452,1486,1170,670,580,533,576,801,841,599,509,401,472,561,530,504,528,409,343,383,381,593,733,554,545,619,644,626,644,605,667,813,667,650,1054,1050,928,666,619,466,439,330,350,626,772,780,571,435,816,919,897,1888,1280,1250,1358,1378,1320,1076,1142,847,463,670,810,669,801,1028,922,1322,1180,746,999,1142,973,1017,1296,1288,1344,1112,858,1094,1198,1158,1376,1294,930,957,1110,1272,1062,633,1092,1678,1432,1542,1404,1146,1066,1106,1070,1208,1366,1188,990,1013,1036,918,797,442,373,317,285,272,273,274,305,369,370,321,323,327,305,298,297,303,311,340,523,493,346,318,262,287,258,272,412,391,289,221,207,233,289,361,395,991,1494,1396,1110,763,851,562,288,257,270,256,297,451,477,381,533,857,533,402,448,316,294,647,1064,1406,1086,870,1034,1068,1110,1296,1416,1310,1392,1544,1282,1370,1438,1338,1170,1038,936,857,896,924,885,1208,1588,1442,901,750,669,1016,1208,1438,1376,1290,1654,1776,1172,1122,624,484,691,769,688,778,784,708,639,649,943,1334,1342,808,606,720,805,872,919,805,723,702,1014,1314,1302,1394,1124,818,595,449,420,392,503,763,781,551,339,485,933,1302,1012,739,891,1040,844,641,487,542,508,451,511,574,554,717,1086,973,749,581,589,467,409,519,492,544,685,680,604,462,446,505,750,1102,1518,1702,2050,2210,1850,1370,1112,687,548,678,1034,873,751,1312,848,1160,1216,610,367,491,683,1058,1588,1848,1804,1228,1018,1208,1270,899,864,1396,1612,1498,1562,1476,1070,754,663,538,440,429,631,993,1432,1544,1258,874,742,867,834,794,855,856,675,718,799,615,785,1096,943,572,601,1126,1340,926,558,490,420,412,497,549,569,935,1358,1316,1576,1526,1238,1178,1144,1050,510,447,491,569,571,918,1136,1254,1208,839,519,675,626,639,723,991,1094,1038,1134,1484,1658,1670,1434,1042,955,1016,1096,1100,1140,1158,1110,852,1140,1172,628,404,451,647,946,1146,1142,1144,1282,1005,1110,1140,1009,1048,1056,852,852,732,805,1148,976,604,544,503,518,478,581,1009,1010,932,1234,1288,917,530,496,616,1316,1652,1158,1020,1108,940,891,1158,1340,1388,1382,1348,1300,1284,1554,1458,1410,1376,1136,1106,1290,1308,1384,1450,1034,750,1054,1272,1268,1252,1294,1224,1080,1162,1216,1166,1208,1354,1212,693,591,962,789,778,666,541,722,689,648,792,1160,1346,1328,1106,1004,1270,1214,930,1054,1304,1226,938,1360,1288,747,1102,1306,1336,1582,1672,1184,1188,1088,1052,681,816,1108,1346,1180,844,1019,1152,1226,1302,1310,1376,1598,1378,1224,1272,1410,1282,1130,1146,1212,1262,1256,1238,887,1144,1224,1005,871,1186,1366,1090,931,1206,1272,1154,1086,965,1282,999,820,940,1000,923,1050,820,551,715,1016,1172,1290,814,935,1118,605,553,710,916,976,725,796,922,861,900,755,617,718,1102,758,497,484,429,394,383,331,304,325,359,321,421,422,326,334,380,435,503,491,417,424,479,463,400,427,412,375,400,415,745,1208,1108,772,745,905,1058,1372,1390,1388,1182,642,594,749,1062,1152,979,1030,1234,1278,1366,1538,1332,957,727,1160,1256,1246,1324,1324,1152,1266,1348,1118,1072,1240,1454,1388,1286,1178,1222,1188,1334,1218,1048,802,923,1116,946,920,1060,999,942,1532,1266,1378,1288,1242,1250,1012,1016,1268,1282,1398,1542,1614,1620,1588,1598,1590,1338,1232,1322,1528,1500,1282,1388,1476,1510,1652,1426,1410,1418,1394,1480,1588,1300,1190,1306,1440,1322,1246,996,989,956,667,477,639,868,1032,926,608,461,567,612,409,547,907,884,577,831,1042,1466,1074,677,728,683,1110,1532,1664,1194,730,938,1006,888,883,1178,1246,919,898,988,944,785,906,1442,1632,1494,1306,1246,1344,1394,1556,1616,1448,1376,1230,1350,1500,1448,1376,1240,1416,1358,1642,2348,1794,1334,1342,1352,1566,1532,1512,1334,1052,1068,886,967,1396,1614,1424,1022,1038,1376,1474,1208,977,941,982,1332,1322,1260,1312,1548,1332,1132,1216,1246,1052,885,1194,1256,1220,936,645,701,456,657,1007,1250,1348,1250,1264,1234,888,1168,1646,1376,1324,1366,1360,1306,1256,1056,1005,1140,1284,1302,1614,1590,1552,1614,1116,1196,1262,1332,1306,1094,1252,1414,1300,736,888,1232,1021,820,744,756,736,511,412,481,926,1608,1904,1134,982,1026,860,962,1142,974,927,1344,1216,1214,1134,1000,1576,1758,1410,1590,1602,1322,1058,789,471,420,434,335,469,907,1050,1390,1614,1338,828,903,797,477,444,523,487,544,692,980,1066,1124,1290,2518,1528,1092,1076,1162,1222,1288,1180,1001,1080,1160,1268,1432,1382,1114,870,908,1102,861,870,1100,1026,789,763,1002,1266,1106,1044,1318,1450,1256,1314,1378,1246,1318,1250,1118,922,827,1013,1338,1010,710,885,1128,912,713,902,1060,788,479,406,406,365,514,586,703,754,758,777,799,897,977,928,742,819,1074,1144,1218,1028,879,1082,1256,1102,1198,1092,715,581,806,915,873,1158,1150,1082,1168,1116,938,870,980,1054,1232,1332,1328,1296,1522,1682,1496,977,1198,1610,969,453,695,1346,1594,1610,1564,1216,1036,716,532,409,345,340,309,289,401,466,532,534,644,969,1076,1096,1154,1184,1258,1224,1282,1338,1628,1710,1318,1044,963,1026,1170,1468,1490,1378,1352,1188,1198,937,1062,1040,844,1018,1078,996,1017,1090,908,980,1192,1118,1224,1390,1354,1520,1226,1114,1638,1738,1406,706,595,836,1140,1112,603,419,655,724,593,576,615,525,519,591,508,572,478,381,381,368,376,372,362,365,367,367,329,304,295,301,292,316,338,319,283,278,299,297,289,276,276,314,349,320,290,267,258,272,276,269,273,278,280,275,339,405,273,245,250,257,264,285,285,265,293,368,388,390,367,369,381,367,397,403,397,380,380,360,346,354,373,397,383,378,372,361,345,356,391,387,366,365,365,356,345,364,386,366,393,408,431,436,416,406,404,404,404,401,401,408,432,451,458,418,405,404,402,394,400,408,410,412,410,427,425,425,409,449,451,419,412,437,423,404,416,408,429,473,444,451,458,433,413,391,392,381,372,392,414,433,433,444,419,421,433,437,427,408,404,399,389,381,374,376,396,397,390,393,380,380,370,372,387,382,368,367,373,381,377,377,378,386,373,375,367,352,355,355,362,369,371,363,359,364,372,365,375,377,399,403,389,388,398,399,399,413,416,390,379,362,350,343,339,356,356,339,346,359,382,394,376,385,385,379,378,374,368,370,372,368,360,346,335,341,343,347,347,354,348,352,362,377,378,370,377,420,496,513,518,496,444,420,386,374,365,364,392,398,401,439,477,504,535,525,520,502,456,379,357,363,363,396,442,418,387,384,417,434,419,415,396,385,374,379,391,396,387,378,373,365,352,338,348,349,347,342,328,296,306,309,306,301,298,294,290,308,305,295,292,315,307,301,318,318,318,320,323,327,330,330,331,325,320,315,323,320,318,329,335,338,339,340,329,324,325,327,323,319,313,311,313,304,302,313,312,315,308,299,304,304,294,294,300,294,292,289,288,295,299,299,306,311,305,295,293,302,311,309,305,311,329,341,348,348,337,330,323,319,321,316,310,309,316,349,362,365,353,356,362,343,350,348,344,350,350,353,354,353,348,345,350,345,330,323,319,314,298,299,318,311,304,293,297,298,305,308,319,314,316,327,332,327,319,318,322,334,338,325,325,322,307,331,335,332,336,343,350,361,359,345,338,340,338,350,338,345,338,361,354,350,350,348,355,353,343,339,339,338,345,353,339,325,325,332,327,321,319,332,328,332,345,351,353,340,331,332,336,341,348,348,339],[467,401,397,358,277,254,295,462,623,407,320,397,470,462,493,620,362,277,242,244,246,303,315,313,280,250,294,389,463,441,473,453,455,494,433,404,737,1406,1564,1564,1256,1044,1948,1688,827,615,582,544,646,660,1120,1970,1854,1390,1902,2242,1576,1250,1188,1082,745,512,393,512,518,708,791,1082,1344,1224,1428,1440,1094,722,524,374,439,483,351,424,622,783,1007,1560,1960,1522,1216,1690,1604,910,960,921,1012,822,674,719,603,439,713,957,1130,807,650,696,789,865,922,909,899,940,902,822,865,720,468,422,365,494,509,864,826,653,631,601,811,963,805,590,505,462,423,266,327,434,394,289,414,424,506,747,744,678,608,530,522,516,533,471,696,1022,960,647,449,417,468,420,372,390,534,705,627,485,484,521,425,389,414,521,562,531,614,874,1336,1366,802,703,1180,1318,1194,1024,538,485,493,485,586,647,525,426,846,1034,673,393,400,473,409,274,399,584,667,601,615,697,655,660,670,634,627,611,612,519,651,1192,1108,797,507,422,463,408,368,368,446,508,639,750,764,952,1048,861,1614,1554,1550,1488,1452,1116,1118,1100,548,659,803,611,583,877,732,1068,1164,828,1338,1478,1096,775,715,999,1108,1236,1294,1146,1005,982,1024,1104,1096,944,1084,1376,1726,1806,1464,1532,1620,1358,1378,1204,1076,1120,1290,1316,1412,1514,1316,1178,1102,969,731,463,344,300,293,283,283,286,297,339,354,312,278,327,330,272,274,331,303,296,436,617,359,261,306,314,350,305,289,376,317,221,246,304,361,394,395,358,409,546,590,586,621,973,613,351,300,288,305,345,372,322,259,487,944,457,600,682,550,404,565,1180,1656,1484,1432,1376,1128,1028,941,1238,1390,1720,1732,1424,1456,1344,929,891,1017,916,861,725,718,952,1186,1426,1124,922,926,877,1076,1152,1172,1458,1576,1482,1408,1052,930,722,749,875,1132,1230,893,559,548,481,339,517,519,727,586,462,602,681,736,819,720,535,703,1114,1394,1622,1954,1274,838,674,891,872,547,586,952,1090,780,411,512,1018,1416,1270,866,1070,1300,1206,799,490,472,479,441,451,508,481,685,1134,883,552,459,450,408,501,589,517,472,566,445,447,540,554,446,616,823,1140,1512,1660,1650,1570,1408,971,677,810,593,735,979,1272,1450,1062,1154,868,518,494,641,892,856,745,1120,1308,1224,1164,1132,1322,1176,1048,1676,1958,1310,1001,755,655,709,686,475,400,435,462,619,1082,1450,1510,1204,923,1036,1068,1042,891,643,540,695,691,658,747,802,677,455,499,959,1260,594,458,434,380,369,453,527,598,951,1204,1350,1860,1538,965,717,1070,1154,659,530,666,720,716,915,1188,1208,860,731,551,770,440,430,647,990,1092,797,905,1202,1266,1448,1598,1474,946,583,607,847,1212,1264,1288,1292,1234,830,474,423,483,563,693,970,1262,1168,1110,904,987,1102,1130,1120,1292,1282,1062,978,1162,1104,955,731,632,554,561,554,669,1100,1294,1362,1394,1164,907,768,742,802,1268,1366,984,706,731,785,1010,1316,1378,1194,1046,1130,1232,1392,1484,1358,1518,1286,872,786,1032,1158,1072,1142,1070,932,1138,1132,1144,1072,1012,1244,1356,1312,1314,1274,1354,1358,1172,676,749,950,683,989,1128,839,705,719,694,770,781,683,844,1122,1444,1412,1096,1040,1246,1454,1442,1194,1368,1112,667,947,973,1096,1302,1402,1448,1346,1432,1194,725,676,913,1238,1310,1076,951,1028,1038,1116,1292,1452,1498,1310,1232,1266,1312,1200,1074,1106,1204,1248,1316,1356,1076,1368,1460,1206,1054,1288,1576,1272,900,1300,1410,1038,828,987,1116,830,907,935,755,992,1324,1224,652,940,1136,1200,1302,1090,1130,799,494,650,959,1240,1264,875,938,912,704,583,598,905,1218,1172,799,461,373,400,414,369,296,332,307,338,486,498,461,355,335,401,402,411,354,285,405,469,495,495,492,411,393,449,418,610,857,662,591,901,959,786,1040,921,1044,1032,940,1052,1068,1116,1216,1204,1326,1414,1516,1574,1682,1356,1210,1038,1074,1134,1044,1260,1626,1606,1502,1240,770,997,1136,1156,1304,1150,1222,1344,1324,1296,1224,1172,1288,1204,871,1026,1098,1320,1096,947,1144,1682,1714,1268,1204,1272,1132,1206,1252,1046,1258,1466,1506,1442,1348,1424,1444,1390,1372,1438,1520,1366,1410,1676,1686,1616,1738,1306,1300,1270,1132,1322,1566,1472,1204,1240,1426,1214,1272,1088,866,652,719,687,612,575,633,753,751,587,672,781,654,862,963,757,867,1136,1274,1466,1228,768,603,3318,7460,2524,1826,1312,878,741,715,919,1104,1304,1158,1018,1310,1214,1176,1240,1204,1258,1450,1824,1434,1274,1268,1350,1650,1580,1282,1134,1296,1334,1322,1296,1186,1256,1468,1422,1792,2424,1766,1172,1128,936,1056,1180,1300,1246,996,1254,1232,1330,1830,1890,1410,1122,996,1310,1446,1180,1260,1444,1142,1172,1254,1460,1404,1296,1204,1284,1322,1328,1084,1148,1172,683,681,660,422,347,452,838,1206,1256,1274,1310,1322,1348,932,1158,1164,1230,1248,1438,1638,1412,1094,986,1238,1262,1512,1582,1484,1538,1532,1566,1472,1470,1374,1290,912,634,752,974,1470,722,767,1136,1012,738,662,799,896,686,577,792,1472,2146,1742,1034,848,943,1158,1230,1250,1130,977,966,1086,1298,1048,1192,1314,1566,1416,1352,1154,963,756,485,351,448,740,716,706,1052,978,1300,1600,1382,1220,908,682,684,680,736,552,514,702,957,1118,1286,1082,1312,1192,1248,1288,1262,1142,1118,1522,1270,1192,911,955,1266,1226,1130,1112,1134,1158,1150,1072,932,1112,740,614,788,796,778,940,1086,1288,1448,1334,904,1096,1490,1380,1334,1166,825,1002,1334,908,581,616,976,1242,941,703,813,922,562,406,469,324,417,525,772,763,601,617,826,926,850,759,1222,1672,1068,1064,1460,1158,894,1092,1246,1148,1180,1018,632,597,1010,1140,1126,1282,1412,1256,1172,1164,1044,993,959,1120,1380,1390,1436,1318,1584,1556,1050,1208,1366,1542,1258,650,889,1478,1480,1638,1362,747,529,695,543,347,270,280,325,421,429,361,375,424,1080,2426,2112,1190,1042,1018,1016,986,1080,1400,1780,1732,1346,1162,1062,1322,1570,1658,1518,1482,1448,1380,1126,924,1126,1048,871,994,824,1032,1074,874,962,1056,1188,803,559,688,851,1244,1562,1620,1758,1638,1230,690,543,904,1316,1118,669,427,633,1122,873,609,680,642,536,677,586,583,474,384,383,360,337,328,325,327,341,341,353,339,297,318,340,331,319,314,302,304,325,335,305,272,301,318,298,278,288,280,252,260,273,275,295,322,313,272,299,293,270,254,257,256,277,306,290,288,355,412,384,383,381,388,392,398,413,406,399,387,384,374,354,349,360,375,381,389,386,372,360,358,365,356,344,344,343,351,345,363,374,390,395,397,425,432,410,400,394,408,408,387,395,410,423,434,450,423,401,401,394,383,398,408,421,424,410,415,411,415,403,417,423,412,411,434,426,406,416,412,428,449,452,447,441,429,427,409,388,388,407,412,405,436,444,430,422,430,430,427,418,413,406,397,386,385,386,383,387,393,390,397,384,389,374,368,380,377,364,366,373,386,382,378,377,375,368,385,367,345,350,347,357,361,365,367,363,371,371,379,379,377,391,399,394,390,391,399,413,422,434,423,404,375,361,359,347,359,368,343,346,362,382,389,380,385,386,382,371,368,366,366,364,362,356,353,341,341,346,358,362,356,354,356,366,380,383,373,382,412,486,521,513,496,477,441,392,363,356,368,391,415,436,465,497,524,549,530,531,530,517,445,377,360,341,373,434,421,379,366,408,440,430,415,399,387,381,369,369,383,378,381,381,383,372,345,336,331,333,347,334,313,304,294,308,296,291,291,285,287,292,288,293,301,304,299,307,310,310,311,318,323,330,336,331,325,320,314,323,325,309,318,321,313,334,321,329,330,330,329,324,319,315,307,305,315,308,312,312,314,315,307,296,293,296,304,304,296,295,295,295,300,299,302,304,313,301,296,293,298,301,310,323,323,332,330,335,336,332,327,311,304,319,316,304,305,323,354,362,354,350,357,365,340,346,346,344,344,346,349,345,345,344,344,340,334,332,306,303,308,308,310,299,304,312,312,309,297,314,316,319,319,315,314,319,327,322,328,339,334,325,331,321,319,312,316,332,334,332,342,350,359,359,355,345,343,343,363,349,346,339,355,353,356,354,337,339,336,339,337,337,338,343,348,340,332,331,327,325,325,322,341,331,338,338,341,340,337,344,340,335,337,334,331,332],[439,429,428,385,296,241,259,266,319,408,353,458,458,355,330,376,303,246,254,255,264,275,281,264,241,263,299,381,452,532,541,594,623,590,536,494,732,1498,2092,1858,1548,1486,2164,1796,908,764,788,680,634,709,916,1366,1798,1762,1838,1878,1354,1368,1378,1174,666,433,449,744,1092,974,802,1320,959,1036,1288,1180,1090,1188,1196,677,370,486,735,1040,1426,1432,1338,1206,1130,805,596,743,856,952,993,930,848,517,654,881,642,510,733,747,704,712,712,897,1046,945,859,803,637,705,770,773,860,822,567,439,381,364,394,549,504,424,446,642,669,655,555,412,388,494,394,290,361,425,282,229,256,274,325,584,659,626,608,522,598,575,491,439,562,786,882,747,474,373,404,351,363,441,447,455,454,454,532,525,399,410,407,509,495,502,570,921,1710,1526,1114,1134,1180,1002,1015,1022,724,496,583,689,722,794,651,511,1094,1132,596,399,367,421,415,475,869,796,642,647,660,658,683,716,700,699,683,630,559,590,531,969,1128,813,498,405,408,436,458,390,342,366,558,614,875,1170,1076,691,741,1246,1228,1250,1472,1362,1464,1106,871,835,560,479,451,508,735,1308,1218,1276,1726,1472,1005,848,780,1052,1290,1404,1410,1158,1005,1017,828,1009,1160,998,1082,1396,1714,1714,1606,1476,1504,1162,1080,1224,1440,1546,1440,1450,1454,1304,1368,1426,1172,758,491,380,346,322,289,275,285,302,365,437,438,372,322,447,508,408,312,321,281,272,566,639,326,210,296,354,403,407,406,379,277,237,306,375,391,379,335,299,306,245,236,346,566,603,392,261,228,236,283,338,365,345,305,440,944,666,614,728,774,685,716,1280,1710,1468,1428,1318,1228,1130,1048,1202,1266,1614,1606,1368,1300,1222,962,1086,1320,1416,1158,1202,1206,1494,1320,998,1034,1228,1036,1108,1682,1716,1822,2254,2146,1466,1134,973,921,879,923,1015,1422,1680,1310,879,700,674,392,468,377,410,405,433,515,684,889,926,814,589,683,968,1082,1310,1628,1156,1186,1174,1088,934,684,794,1064,1128,806,392,590,1110,1138,988,762,996,1256,1172,797,521,483,469,443,447,474,500,869,1382,1130,616,443,379,453,572,568,454,582,910,641,522,658,585,495,689,608,877,1406,1420,1400,1444,1590,1274,1052,1190,1014,1024,1310,1466,1492,1630,1630,1202,982,1118,1114,1174,1138,691,1238,1504,1376,1334,1710,1980,1438,1009,1920,2176,1015,769,961,808,1088,1138,608,390,408,402,413,706,1204,1506,1478,1292,997,1017,1015,914,605,605,703,670,687,822,908,738,446,461,898,953,533,427,449,466,477,451,501,789,1350,1416,1238,1486,1134,838,963,1012,796,534,543,724,782,755,1007,1476,1638,1118,849,628,543,423,413,622,975,1044,788,993,1230,1466,1344,1386,1522,1786,1354,899,650,996,1268,1364,1458,1296,1006,785,696,824,916,1015,1196,1256,1220,1018,1082,1256,1386,1560,1370,1218,1104,1132,1172,1544,1270,1062,934,808,644,570,656,768,850,1023,1052,1204,913,1068,1072,1210,1312,1178,985,846,771,826,1052,1416,1510,1420,877,724,1042,1588,1484,1210,1228,1248,962,871,1040,1240,1070,1056,1218,1302,1116,1126,1100,1092,842,628,920,1206,1196,1244,1326,1428,1002,905,827,756,832,927,1148,1220,1086,1014,921,673,540,510,412,747,1332,1426,1356,1498,1516,1438,1450,1606,1586,1556,998,761,1028,1036,948,1190,1372,1330,1376,1458,1190,788,553,733,891,1096,1072,831,943,914,1074,1274,1528,1474,1210,1130,1156,1240,1224,1334,1394,1344,1156,1148,1188,1092,1310,1594,1398,1202,1320,1422,1202,761,1314,1454,1064,759,987,996,734,796,762,764,969,1144,1166,800,1358,1240,1324,1372,1114,1294,1232,686,419,730,1198,1154,824,979,986,1162,1046,931,1342,1394,997,575,464,449,346,458,446,322,308,332,275,387,504,495,396,341,287,260,335,375,387,457,484,520,590,565,490,484,506,567,944,1228,1196,1032,1132,1007,1158,980,630,692,983,1324,1400,1158,921,1018,1340,1436,1542,1350,1466,1500,1368,1478,1444,1712,1778,1226,1352,1802,1822,1534,1148,841,973,845,616,964,1316,1466,1296,1242,1360,1300,1290,1274,1268,1076,1342,1382,1338,1003,1080,1550,1950,1930,1686,1410,1314,1400,1256,1276,1288,1248,1372,1450,1486,1486,1488,1488,1488,1560,1602,1568,1366,1394,1482,1296,1392,1554,1188,1216,1400,1176,1160,1370,1318,1388,1428,1318,1296,1266,1100,869,740,747,892,802,597,617,621,534,628,1022,1112,761,701,1024,1194,1240,1036,1042,1210,949,875,550,2518,7824,3352,1720,1368,1166,923,780,1130,1086,874,760,1122,1556,1390,1290,1656,1582,1276,1448,1484,1164,1200,1414,1426,1388,1416,1226,1208,1576,1494,1396,1390,1282,1636,1716,1434,1412,1260,1090,1168,1292,1166,878,915,1166,1222,1240,1158,1266,1376,1406,1044,1032,1262,1252,1614,1406,1280,1398,1282,1222,1082,1252,1366,1322,1272,1482,1466,1506,1450,1156,1214,960,557,344,296,310,329,319,544,903,1004,1176,1230,1270,1222,1166,1296,1248,1338,1290,1520,1510,1070,1084,1136,1354,1202,1498,1470,1306,1278,1344,1434,1610,1578,1420,1194,706,771,750,973,879,470,601,899,744,641,794,920,1130,841,1021,1098,1194,1344,1068,960,695,827,1312,1230,1080,1192,1078,1084,966,935,624,686,876,1100,1108,1130,979,752,680,616,527,675,928,913,886,920,724,868,1194,1236,1044,764,706,826,1288,1600,1374,1358,1204,1218,1370,1306,1252,1208,1088,1124,1021,1052,1062,1164,1564,1130,1006,892,766,976,1190,1260,1280,998,1106,1784,1266,908,1182,709,659,697,687,845,1054,1244,1334,1512,1334,904,1076,1338,1160,1136,1314,1170,1078,1124,1136,823,445,620,823,785,960,1058,1064,624,394,423,397,343,518,902,892,727,968,981,974,1470,1420,1602,1962,1290,1200,1214,1118,1110,1086,1052,1164,1200,1011,916,997,1174,1438,1322,1294,1522,1634,1352,1264,1482,1290,1074,1078,1400,1616,1412,1398,1538,1094,1004,1476,1338,951,805,759,1224,1172,993,1050,970,518,460,471,469,572,508,292,349,452,395,368,375,433,894,1584,2170,1288,461,488,559,741,1054,1528,1620,1482,1404,1284,1086,1198,1308,1268,1190,1226,1188,1126,938,875,1034,984,771,1064,904,1028,1126,1010,807,877,1006,692,607,625,604,761,1286,1224,1288,1562,1596,1342,1108,1336,1836,1554,784,523,1042,1632,880,612,639,628,540,624,638,597,511,419,335,328,330,326,336,343,335,338,348,348,338,372,398,355,297,296,314,290,310,319,300,291,301,336,324,277,313,345,280,254,257,275,311,334,317,288,292,290,286,274,271,258,269,287,300,347,393,405,402,415,410,397,398,401,403,408,401,386,392,373,363,349,349,369,392,394,386,382,380,369,343,336,332,332,336,343,337,366,369,392,395,390,412,430,426,414,395,398,401,397,381,403,416,421,423,413,409,405,397,380,391,400,410,430,427,410,405,417,417,422,435,425,412,426,412,408,418,388,412,435,439,451,447,429,427,425,419,415,414,447,419,430,452,448,445,431,427,427,426,419,410,390,373,378,387,376,370,380,389,389,380,375,372,370,370,372,372,370,378,393,387,381,373,373,375,383,371,352,345,344,353,359,359,363,365,364,365,381,379,374,390,390,390,398,388,397,403,404,413,411,398,387,379,371,365,361,361,346,356,359,375,384,376,373,382,385,374,368,368,371,362,359,356,343,341,343,340,342,346,350,354,359,370,376,384,372,373,408,465,510,506,491,484,450,395,360,351,372,388,408,432,455,487,520,538,525,526,537,549,506,412,374,354,360,398,430,416,379,398,418,409,405,400,396,390,363,354,369,365,369,383,386,386,361,339,325,314,316,311,323,304,295,309,306,293,293,290,286,279,291,299,301,304,305,304,309,307,310,317,322,329,336,336,322,314,310,310,310,317,318,320,324,313,320,335,336,323,315,318,318,319,315,301,317,317,306,311,313,326,319,310,313,313,314,296,300,302,306,313,306,300,304,312,294,296,307,309,310,301,302,329,317,319,323,338,330,327,335,313,299,316,316,306,318,338,356,362,365,365,363,365,351,343,340,341,345,344,343,344,344,344,344,335,325,332,311,299,305,305,307,305,310,311,312,312,327,319,319,319,318,322,315,311,327,319,318,319,338,332,322,319,319,315,314,332,336,334,349,357,359,356,356,354,349,346,355,365,355,343,353,349,355,359,336,345,346,346,342,345,345,345,344,342,334,330,322,325,337,319,344,330,332,332,335,339,332,322,318,330,334,329,332,332],[404,452,414,412,388,318,280,280,311,403,533,959,591,402,495,463,302,278,339,323,274,272,251,215,207,235,301,378,440,481,559,664,708,654,579,475,606,1274,1902,1766,1914,1702,1494,1250,975,1152,1356,992,636,713,1028,1526,1880,1764,1862,1846,1354,1152,1296,1100,751,609,666,874,1220,1136,992,1098,738,792,954,1072,1270,1626,1334,614,491,899,1288,1550,1582,1246,846,556,368,385,361,422,551,782,939,1134,814,487,539,761,463,277,329,385,372,426,584,868,910,681,615,749,628,924,764,694,846,722,703,777,660,586,524,491,375,312,264,348,309,390,739,796,670,648,638,535,668,663,307,238,252,288,330,397,443,540,567,538,608,544,483,427,398,487,651,745,512,387,384,338,458,619,556,569,630,524,462,440,435,369,389,537,430,382,495,825,1228,1108,1330,1750,1566,1280,1042,748,832,778,761,783,742,759,727,613,584,390,372,564,526,370,526,562,794,715,689,694,697,655,628,666,717,760,719,674,619,583,588,493,548,422,277,387,439,393,417,356,392,650,837,917,885,1032,736,561,1096,1720,1456,1234,1204,1318,1250,1122,1001,533,634,691,583,819,1294,1714,1456,813,1098,1366,921,737,627,1072,1076,1124,1138,879,894,1046,966,916,894,966,982,1510,1798,1722,1260,1028,1184,1248,1192,1422,1998,2048,1444,1460,1494,1244,1316,1254,891,460,315,311,305,254,271,296,307,337,429,491,585,545,519,504,601,758,677,353,304,428,726,592,415,303,366,417,430,446,457,377,268,279,335,374,363,331,269,230,248,257,237,438,572,402,294,275,279,271,271,285,288,288,263,462,874,943,846,805,869,864,755,1134,1494,1466,1238,1002,891,810,641,494,672,1054,1466,1528,1146,1208,977,1304,1642,2024,1368,1306,1570,1948,1616,1080,1118,1138,1044,1314,1738,1414,1472,1848,1788,1100,737,837,1048,1074,943,868,1266,1410,1176,1028,908,788,736,623,521,609,716,778,525,692,1120,1130,879,526,526,946,971,835,768,794,1156,1180,1013,1036,1024,1013,1220,1330,768,776,980,1082,1058,1376,1172,681,904,1042,655,543,503,455,453,474,472,483,999,1406,1021,526,465,463,481,493,525,419,744,1158,961,616,528,428,452,700,791,1003,1458,1344,1260,1328,1490,1300,1130,1200,1278,1520,1684,1628,1668,1750,1844,1586,1506,1560,1448,1118,1138,799,1208,1422,1352,1578,1738,1750,1434,1084,1900,2002,1182,1013,1276,974,1344,1240,650,427,403,419,435,512,860,1252,1494,1520,1092,971,1072,955,667,654,704,631,708,854,807,651,447,540,964,700,469,463,480,477,407,408,560,772,830,949,1390,1438,1116,737,1290,1344,748,526,564,606,839,1164,1132,1240,1466,1372,897,786,596,439,556,772,937,934,740,1092,1262,1780,1388,1306,1614,1670,1636,1610,1336,1312,1276,991,1092,1198,1176,993,799,670,920,1186,1194,968,1012,1064,1328,1568,1388,976,717,811,1007,817,650,822,831,885,796,695,605,636,1074,1068,1188,1198,854,1044,1070,1126,1018,1184,1222,1260,1388,1208,946,804,1020,1512,1618,1420,914,954,1328,1462,1302,1290,1238,921,858,1276,1226,1398,1220,1214,1200,1060,926,1050,1136,1036,746,776,1106,1274,1142,1116,1308,1282,1136,1054,860,742,686,850,1196,1228,1180,1244,1302,1102,755,618,519,1018,1406,1340,1640,1658,1308,1354,1328,1650,1752,1700,1282,1090,1100,1020,1102,1296,1208,1240,1560,1440,860,624,643,766,740,855,914,1062,1156,1084,1040,1230,1462,1462,1142,1134,1252,1278,1224,1268,1394,1364,1090,812,757,922,1306,1798,1476,1246,1380,1246,944,755,1011,1362,1418,1150,1122,1160,901,1070,965,1094,1076,1164,1426,885,793,1084,1472,1260,966,1104,919,619,553,1070,1300,1440,1050,860,1102,1216,1134,1226,1110,761,916,479,430,338,260,360,481,416,284,297,355,347,348,426,387,398,367,320,342,361,347,306,340,396,409,470,677,917,858,755,1606,1482,1506,1408,1476,1432,1794,1630,913,521,985,1396,1268,1048,767,835,1344,1476,1542,1280,1420,1456,1306,1344,1454,1766,1746,1204,1354,1622,2780,1944,1372,866,644,606,713,976,1224,1332,1408,1500,1416,1310,1366,1420,1366,1322,1482,1434,1240,1348,1444,1456,1478,1550,1582,1412,1144,1172,1366,1472,1394,1550,1560,1250,1174,1260,1560,1494,1226,1338,1590,1434,1266,1438,1534,1488,1636,1516,1090,1100,1322,1368,1348,1392,1270,1460,1474,1398,1242,1220,1266,1294,1416,1546,1438,854,601,522,617,689,734,1070,847,577,514,1042,1566,1394,805,1028,1194,957,949,1050,1282,2184,1790,2396,1654,838,871,854,1050,1030,973,937,961,1186,1334,1264,1362,1258,974,982,1088,1170,1322,1390,1534,1804,1616,1310,1494,1440,1302,1404,1538,1700,2026,1892,1484,1256,1322,1310,1282,1382,1480,1238,813,827,1038,982,1116,1206,978,1404,1142,1070,1250,1202,1252,1052,1044,1044,1108,1110,1116,1306,1354,1200,1158,1570,1526,1462,1310,1244,1188,1286,1001,441,315,320,323,364,394,718,1136,1322,1318,1286,1198,1192,1038,1104,1192,1212,1344,1094,861,955,990,1072,1032,1260,1378,1088,966,1142,1228,1532,1518,1494,1332,698,504,684,841,746,631,489,585,685,733,841,1136,1244,1013,1018,1026,1050,1086,1246,1172,791,880,1352,1180,879,816,858,1104,844,860,758,774,1124,1064,585,530,729,1126,1110,1080,1110,1104,982,1048,930,850,787,888,1106,1060,729,599,508,747,1324,1594,1532,1732,1576,1280,1300,1268,1294,1234,1108,984,960,749,869,931,738,493,697,1086,854,743,968,1192,1254,1023,893,1232,1308,1009,948,769,690,664,714,965,1350,1636,1466,1470,1490,919,892,1142,1288,1270,1166,1232,1019,766,971,936,608,741,1040,1222,1182,872,823,927,744,604,523,589,800,984,1080,858,904,799,921,1200,1224,1100,974,923,854,885,917,1094,904,979,1114,1164,1238,1210,1252,1356,1410,1110,1132,1634,1660,1144,1132,1310,1194,1146,1216,1788,1748,1306,1174,828,637,747,1132,1384,1026,617,904,1418,1412,1272,890,650,508,507,397,397,744,879,397,316,584,788,502,409,445,405,550,924,593,350,436,820,1136,1282,1664,1594,1986,1702,1216,1278,1594,1528,1368,1364,1282,1298,1260,837,890,1052,1094,976,1023,916,1058,1072,1186,1058,748,721,609,738,1048,980,1318,1512,1206,1017,911,1104,1414,1434,1478,1380,1042,655,468,594,777,830,673,558,572,558,524,574,609,493,466,361,326,330,338,356,379,343,321,371,420,414,412,410,354,289,266,305,310,330,303,290,285,276,296,305,298,385,472,396,295,254,287,329,336,323,325,298,301,321,303,275,256,262,267,300,382,431,430,397,394,404,411,422,410,401,405,409,380,376,368,371,357,348,360,395,404,397,389,388,387,361,337,332,337,334,332,339,357,382,399,377,388,400,416,419,419,400,391,396,401,384,403,411,413,413,413,417,404,386,379,372,396,408,428,427,411,411,427,429,422,421,428,425,408,419,411,403,397,388,412,444,444,439,451,454,419,417,419,432,462,425,411,425,442,440,423,427,423,442,426,406,383,375,372,372,370,380,396,389,376,378,376,365,365,364,355,387,382,386,396,390,377,373,377,373,389,371,379,357,346,352,353,358,358,364,358,349,375,383,367,364,379,381,401,377,391,399,401,404,401,399,407,401,388,378,365,354,348,359,366,363,380,389,372,379,390,374,368,366,360,375,362,368,343,335,345,346,345,334,342,342,346,365,380,388,377,375,395,448,482,484,487,481,455,410,370,342,360,386,391,401,435,474,510,522,509,525,549,541,520,456,420,395,373,386,416,419,392,389,408,417,425,402,383,381,363,348,351,357,354,364,365,375,375,352,330,317,317,319,311,317,298,300,295,291,291,282,280,286,285,288,307,304,304,307,301,300,315,318,320,322,329,330,320,310,318,324,305,321,313,309,318,314,318,324,320,318,317,315,314,313,317,307,301,321,312,306,310,319,315,304,306,312,304,299,299,304,295,283,287,305,310,310,307,311,306,310,307,305,301,311,306,311,313,335,332,327,331,321,318,319,311,312,327,345,353,354,368,359,354,366,359,346,335,339,344,344,345,345,345,345,337,332,327,325,321,318,316,309,305,308,315,316,318,319,318,309,310,312,314,322,318,306,311,312,322,311,328,327,319,319,318,321,327,328,328,339,353,363,365,363,351,365,359,356,355,365,371,345,353,357,350,350,343,345,349,342,343,345,345,342,345,343,336,331,319,304,319,318,331,325,328,331,335,339,336,331,318,327,331,332,332,331],[356,447,429,385,391,399,345,293,350,436,792,1182,654,473,615,508,290,277,327,285,276,248,242,222,236,270,362,474,532,595,639,678,698,647,653,612,694,1318,1708,1620,1412,1072,856,764,743,1158,1562,1270,1050,1100,1678,2532,2208,1982,2348,2056,1212,949,1001,954,1122,1148,1148,1222,1148,1294,1382,1074,1044,1096,1246,1382,1448,1548,969,468,486,985,1222,1432,1324,810,464,407,460,496,368,507,534,568,768,1138,662,647,490,384,296,275,280,274,346,470,599,674,650,523,408,655,938,1286,1166,1218,1164,759,502,470,617,648,563,659,458,352,295,280,371,601,887,848,871,986,772,500,571,452,249,227,238,235,234,306,430,425,343,461,557,563,491,452,388,422,477,552,461,395,391,363,529,728,697,746,665,564,424,360,324,313,417,495,434,501,685,822,852,1028,1248,1648,1482,1370,896,609,658,1021,1023,854,894,1210,1202,792,547,437,787,1366,1072,802,808,451,393,600,631,622,655,671,636,646,716,767,745,686,620,527,535,456,303,277,360,400,427,521,303,307,374,719,947,966,1120,843,608,1220,1934,1666,1054,1246,1366,1284,1212,1208,852,551,678,827,900,961,1005,1402,1556,1106,909,1038,709,615,508,491,509,735,957,695,573,908,933,847,1132,1118,1320,1748,1644,1582,1256,1090,1164,1046,1102,1458,1774,1988,1394,1570,1808,1438,880,689,484,357,353,336,298,252,295,307,331,409,554,704,874,854,585,416,506,1046,1126,506,334,383,631,466,363,347,437,469,502,498,432,335,266,296,338,356,323,278,263,310,294,277,248,266,272,244,294,305,325,403,518,419,289,405,414,495,725,727,699,881,916,910,731,987,1126,1116,850,631,524,513,438,403,476,636,1018,1384,1310,1566,1276,1656,1838,1956,1814,1736,1906,1984,1576,1110,1188,1120,993,982,1015,1120,1136,1278,1366,1058,916,1023,1226,1072,1015,1174,1406,1432,1224,1120,891,858,944,821,1154,1562,1520,1326,725,827,1100,985,716,418,362,686,697,476,481,566,695,852,1094,1116,1184,1288,1434,1316,1030,1130,1008,735,897,1290,999,608,477,416,441,505,482,445,455,521,524,489,559,810,1108,1140,686,614,566,517,539,547,808,1070,1202,916,451,382,429,562,698,760,1160,1290,1384,1742,1676,1350,1282,1294,1214,1382,1518,1498,1694,1604,1560,1312,1336,1384,1170,1028,958,868,1086,1194,1366,1216,1072,1160,1180,1021,1426,1512,1196,1005,1108,1108,1166,907,688,636,483,502,517,550,747,1002,1330,1510,1402,1082,926,890,696,691,736,687,819,922,781,615,700,1084,930,514,533,618,663,633,527,496,595,736,761,1050,1476,1532,1332,1154,1238,1064,812,1070,909,919,1012,1282,1350,1490,1390,994,576,585,950,906,841,940,938,962,979,1218,1448,1410,1268,1446,1670,1534,1304,1370,1610,1642,1428,1007,1038,1360,1376,1064,756,644,736,988,893,580,617,785,1216,1376,1072,751,768,937,1232,783,451,445,462,589,735,858,766,957,1520,1308,1710,1618,1286,1256,1336,1136,1110,1318,1166,1244,1346,913,733,979,1214,1242,1288,1140,991,967,894,764,942,1234,1190,1038,1216,1064,982,1108,1414,1450,1192,997,960,1094,1184,951,1070,1200,1258,1208,1162,1166,1228,1274,1356,996,731,809,647,951,1150,1062,1100,1412,1402,1322,1534,1340,1316,1432,1240,1224,1382,1302,1296,1274,1294,1642,1570,1630,1416,1368,1702,1626,1266,1116,1088,1266,1362,1030,558,963,1350,1312,1050,722,622,943,1458,1476,1166,1140,1336,1416,1142,1174,1242,1116,1190,1314,1368,1338,1130,765,590,633,1046,1680,1138,859,849,951,814,668,738,1206,1534,1228,1030,1180,845,930,1110,1060,678,1120,1504,923,785,1108,1388,1170,1032,932,703,594,528,920,930,1184,1134,893,910,1072,1044,1438,1632,1092,1016,483,347,272,299,430,640,711,525,286,321,286,287,318,397,477,395,270,239,250,242,238,313,366,372,528,952,1410,1214,615,1023,1280,1508,1518,1314,1248,1334,1332,968,595,822,1228,1238,1200,939,1256,1430,1518,1370,1090,1414,1830,1758,1712,1456,1432,1410,1162,1516,2130,2724,1694,1296,1032,705,847,1142,1082,1116,1296,1550,1576,1322,1162,1158,1250,1252,1174,1252,1242,1274,1560,1636,1308,1186,1344,1068,1256,1272,1344,1448,1416,1334,1534,1308,1020,1056,1208,1516,1252,927,1132,1338,1362,1272,1526,1482,1230,1370,1458,1256,1236,1250,1402,1202,1180,1304,1588,1478,1518,1420,1482,1434,1394,1342,1518,1630,896,658,655,709,596,755,913,809,655,552,639,968,1112,698,1210,1172,1196,1322,1566,1078,930,1854,2344,1348,620,728,744,930,1009,1028,1198,1060,1170,1108,1072,1288,1092,894,1190,1262,1296,1400,1276,1470,1344,1226,1322,1384,1392,1506,1362,1236,1364,1344,1594,1788,1516,1420,1496,1372,1160,1202,1448,1036,819,1186,1156,1216,1158,1078,1440,1156,1026,1168,1166,985,915,989,893,766,1348,1252,1244,1400,1104,1152,1322,1238,1260,1266,1440,1526,1344,897,417,323,321,398,486,419,651,1302,1380,1262,1368,1566,1214,1102,1192,1520,1804,1310,1090,1108,1250,1250,981,1074,1344,1288,1026,1016,1114,1028,1036,1118,1248,1406,1176,710,522,466,661,921,703,555,733,562,625,1266,1094,1018,1060,933,821,1200,1670,1470,1282,1290,1368,1130,910,1013,1086,984,1074,1250,930,738,1138,1126,825,816,789,1092,1028,1158,1292,1424,1418,1246,1178,1178,1040,1044,1316,1316,1046,912,858,798,1252,1554,1268,1318,1378,1214,1114,919,1006,1058,1020,915,984,764,665,610,595,685,823,1142,1298,1146,1146,1318,1146,1164,1188,1536,1550,1250,1044,827,678,624,742,1148,1512,1622,1510,1340,1326,879,868,1068,1188,1234,1232,1518,1760,1082,678,615,603,775,1230,1160,1014,725,915,1088,938,972,845,1114,1300,1264,1220,740,832,1146,1082,1032,1224,1278,1122,810,672,573,571,743,683,780,944,1034,1196,1146,1086,1270,1282,1124,1328,1522,1352,1412,1268,1068,1338,1266,1356,1498,1144,1106,830,440,607,649,708,1174,1692,1050,901,923,1180,1300,1224,1196,1056,642,411,295,395,522,363,339,1188,1450,742,378,624,777,543,440,447,571,883,1162,1184,1602,1852,1720,1260,807,1142,1370,1070,1176,1326,1512,1838,1968,1816,905,754,1044,875,1340,1230,811,1106,1074,1172,1250,811,501,677,929,1222,1064,1244,1276,1294,1298,1262,1240,1168,903,1042,1404,1362,951,650,509,550,683,613,481,458,487,505,497,514,503,474,440,390,361,364,372,387,374,383,447,459,443,456,451,383,299,258,391,428,364,357,379,338,314,310,294,291,359,491,449,322,295,324,336,349,337,349,350,347,350,311,263,260,274,275,321,383,419,436,418,417,421,427,424,417,415,410,410,383,370,368,369,360,351,359,389,404,416,397,395,392,367,346,337,337,340,339,356,368,383,395,365,390,408,402,405,422,399,387,403,395,387,393,393,413,401,401,405,405,394,391,386,389,404,412,405,415,413,415,410,421,425,438,436,401,404,416,423,416,399,401,434,447,452,473,455,438,424,409,419,454,439,408,418,431,437,415,423,442,430,413,388,378,383,383,385,384,387,400,396,387,376,374,361,358,361,356,364,377,393,387,384,379,379,367,362,395,388,386,364,352,355,355,361,359,361,357,346,361,382,371,353,375,374,379,371,382,394,401,404,398,398,404,411,404,376,365,365,350,346,363,363,376,397,389,378,376,372,371,368,353,373,364,359,346,332,337,346,340,340,337,348,336,380,394,401,391,378,383,424,458,463,468,457,438,427,388,346,347,375,386,381,407,458,487,494,500,508,544,532,519,478,451,417,375,392,412,408,403,389,399,416,422,390,393,390,366,353,343,339,352,372,372,381,373,359,343,329,325,316,305,303,293,295,294,292,292,293,299,291,286,293,304,307,299,299,297,308,310,314,317,318,325,324,315,310,313,314,300,305,304,309,310,302,307,317,323,317,311,312,307,306,305,307,302,308,306,307,306,305,306,306,311,313,294,297,300,297,291,289,299,309,309,307,305,305,305,305,304,311,313,306,302,309,314,322,323,325,324,324,325,325,318,318,328,337,344,341,357,361,353,361,356,348,336,337,344,345,343,340,339,337,332,330,325,325,324,318,314,318,319,322,324,321,319,319,318,308,306,308,312,316,319,311,306,316,332,315,319,322,318,319,319,318,314,318,332,343,350,354,355,369,356,362,374,378,357,372,379,349,355,371,355,345,342,332,331,337,343,345,343,342,349,339,338,332,318,314,319,319,319,321,328,340,346,346,339,344,318,325,330,331,328,322],[309,383,407,336,321,358,403,344,388,393,428,330,322,496,621,627,431,325,347,291,275,241,211,217,287,313,319,382,480,545,562,651,703,628,587,720,642,813,799,591,503,532,577,616,654,968,1056,1104,1454,1550,1788,2114,1760,1914,2244,2148,1738,1052,692,758,1178,1498,1354,1342,1284,1506,1340,966,1174,1314,1270,1444,1432,1148,635,405,355,532,920,1306,1444,886,420,343,720,1048,627,1112,790,658,1018,899,637,642,515,337,240,298,330,307,363,368,515,779,692,572,455,747,1078,1172,1202,1198,1110,780,412,404,408,381,421,620,414,315,391,386,282,382,508,651,930,891,531,336,392,365,282,266,302,310,292,329,417,403,324,214,318,415,445,433,417,414,426,440,426,398,368,377,577,843,751,745,681,494,363,298,249,330,397,423,444,601,941,1046,884,938,1100,1422,1354,1386,937,568,734,1256,1288,1080,1240,1526,1366,1384,859,869,1334,1510,1296,1202,851,536,542,540,473,611,630,675,664,683,721,765,750,741,630,412,450,512,356,309,313,246,373,491,362,335,675,887,774,1084,1138,736,1088,2000,1600,626,651,947,1009,1090,1342,1346,1398,1116,803,1038,1270,948,962,957,860,901,1394,1300,719,516,449,377,495,892,930,691,1078,1276,937,1196,1478,1486,1616,1542,1316,1310,1208,1160,1164,973,1032,1436,1532,1566,1516,1704,1904,1804,1222,705,461,401,410,405,323,305,326,325,340,450,503,579,1146,1300,841,540,455,822,1176,1058,623,611,925,1302,1050,602,444,437,476,451,346,273,291,321,337,332,292,245,289,360,315,273,326,323,342,275,343,326,365,604,800,495,283,440,458,399,469,366,334,583,678,727,657,607,657,1300,1784,1158,536,477,420,433,558,948,1290,1310,1488,1716,1364,1428,1514,1578,1562,1222,1062,1180,1208,979,1012,1054,1056,888,1098,1178,833,1188,1434,1048,834,1005,1246,1412,1872,2024,1938,1876,1808,1612,976,679,991,1250,1444,1652,1720,1568,1256,1206,985,727,591,434,314,412,452,413,475,616,885,1136,1342,1048,973,1328,1388,1198,1188,1094,905,717,792,770,691,687,493,347,405,460,460,445,455,572,581,416,519,974,1354,1456,943,645,490,459,686,824,1004,1086,1078,1014,753,451,421,557,735,843,1186,1644,2044,2088,1742,1456,1306,1148,898,877,910,1100,1602,1528,1426,1450,1384,1172,972,819,954,1124,1194,1456,1830,1252,810,799,807,774,896,1102,991,1256,1468,1184,1154,809,533,558,381,480,449,447,631,728,999,1370,1506,1258,920,730,784,758,807,791,890,904,792,600,907,1346,982,557,662,1001,793,749,741,626,784,835,902,1158,1268,1298,1352,1350,1272,854,735,1046,1162,1302,1450,1392,1540,1722,1410,1404,1188,1012,1650,1526,1300,1248,1308,1174,1274,1222,1132,1194,1346,1490,1664,1594,1210,816,1005,1190,1698,1710,1594,1592,1626,1422,1007,752,634,744,825,1019,816,919,1664,1304,1012,838,1090,1202,1010,674,355,288,355,553,604,791,861,1120,1338,1144,1362,1230,1184,1282,1162,965,1019,1378,1220,1148,1021,837,882,1120,1158,1096,1007,1134,1062,731,1050,1188,1080,1064,1072,1234,1526,1382,1370,1308,1368,1238,1058,1007,919,904,860,1015,1058,1178,1338,1258,1208,1154,1005,1028,1023,642,687,1046,923,1112,1146,1088,1136,1042,897,1340,1900,1844,1632,1444,1698,1506,1194,1610,1632,1342,1280,1394,1510,1596,1450,1442,1516,1402,1306,1116,1060,1522,1460,886,832,1482,1780,1608,1262,799,437,660,1374,1456,1272,1112,1244,1464,1190,923,842,767,1026,1106,1242,1200,1034,769,776,860,919,1108,703,489,604,872,969,904,874,1084,1104,879,763,986,1086,1018,1292,1332,883,1120,1148,976,897,652,993,1036,966,545,645,700,832,1017,860,792,1028,893,1021,1222,1024,1382,1636,964,616,618,482,269,334,739,1340,1300,791,303,272,230,345,397,431,350,250,223,212,208,210,243,352,391,398,672,1368,1850,1716,1066,918,1078,1394,1510,1382,1068,819,959,1192,1001,1348,1892,1592,1670,1570,1346,1212,1506,1448,1068,1326,1970,1642,1646,1280,1196,1004,1082,1610,2676,2008,1007,998,1096,991,1208,1246,1116,1208,1448,1628,1356,1048,948,1084,1372,1476,1200,1048,1224,1434,1372,1480,1454,1378,1348,1048,1104,1242,1458,1460,1206,1096,1338,1262,1154,1206,1388,1368,1226,1140,1282,1336,1246,1288,1562,1598,1456,1318,1388,1448,1574,1312,1332,1240,1260,1406,1390,1444,1532,1760,1832,1328,1206,1130,1228,1432,807,625,716,656,561,644,783,865,666,544,639,860,883,655,1080,1132,1096,1458,1400,954,1434,1720,1021,568,605,726,932,1136,1150,1232,1164,1134,1124,930,1030,1318,1248,1158,1378,1398,1366,1356,1184,1082,917,1156,1328,1296,1526,1606,1344,1230,1230,1278,1746,1612,1416,1370,1478,1498,1388,1542,1708,1620,1106,1146,1028,1156,985,1216,1262,1062,1198,1324,1094,919,904,1024,952,787,1462,1268,1100,1322,915,921,1152,1566,1766,1364,1376,1388,1348,935,572,417,376,457,465,395,415,756,1082,1009,1074,1364,1082,836,921,1384,1580,1244,1174,1170,1118,1202,1130,1218,1322,1058,807,936,1224,1224,1110,1028,1028,1080,1244,1210,890,674,1152,1334,750,952,1324,976,858,1236,1124,932,982,996,1010,1280,1270,1056,1208,1360,1216,1064,1084,1266,1242,1186,1410,1518,1188,1106,1286,1224,1416,1470,1108,1142,1104,1228,1318,1422,1360,1214,1354,1178,1064,1006,1240,1290,1302,1180,995,1066,1356,1344,1190,1252,1244,1060,1170,1160,1274,877,698,888,1044,913,1010,1148,1112,1040,926,1360,1558,1362,1268,1182,889,1058,1172,1354,1512,1244,825,692,627,908,1256,1318,1542,1394,1348,1324,1116,929,843,856,1052,1096,1168,1460,1714,822,659,712,640,682,1156,1140,927,688,758,816,821,1046,965,1030,1162,1426,1306,1084,1172,1282,1124,1042,1162,1254,813,473,568,459,509,582,693,798,1021,1082,1074,1176,1104,859,926,1164,1284,1126,1414,1722,1052,1001,1470,1228,1086,1166,1044,728,473,399,491,755,636,801,1046,1012,684,544,875,1162,1228,1230,987,630,388,272,317,587,671,555,1472,1646,747,531,1102,1294,838,494,659,837,945,946,1340,1642,1824,1448,1094,1762,2144,1956,1942,2188,1636,1976,2336,2314,1764,930,710,767,712,1156,1150,873,969,916,1166,1150,815,523,716,1154,1088,1058,1138,894,1132,1754,1868,1874,1362,608,513,769,1064,1266,1318,1382,1302,1034,637,511,462,428,530,537,406,515,580,540,486,426,396,375,361,393,435,487,480,506,501,482,528,421,314,309,300,309,377,457,479,471,455,315,283,289,423,411,308,321,322,317,341,345,365,364,352,349,318,274,278,271,263,331,383,398,407,399,412,418,415,409,415,417,403,401,374,342,357,374,363,353,351,381,386,409,404,391,381,370,371,362,346,344,334,347,365,349,350,370,389,403,398,416,424,419,410,402,390,387,388,369,401,399,405,401,396,406,400,376,377,395,403,389,410,412,405,415,445,437,435,437,426,422,430,430,424,416,407,421,445,445,473,459,454,449,431,422,445,459,431,448,452,440,424,415,427,437,433,410,397,388,380,376,373,380,402,390,378,380,374,358,364,361,365,361,364,379,383,386,375,358,365,371,390,402,395,372,365,349,347,355,357,355,361,359,358,377,390,357,370,386,377,372,385,377,390,402,398,397,394,411,413,378,357,372,362,345,357,368,370,379,383,379,373,374,371,365,354,360,356,347,340,335,343,345,338,353,354,359,359,389,395,401,391,382,386,405,428,441,454,440,410,430,403,350,337,354,380,379,376,438,470,469,438,474,497,498,504,512,515,458,384,385,403,392,396,393,387,399,417,400,405,391,369,353,343,334,334,331,361,378,372,375,357,336,323,312,307,305,309,310,303,292,300,295,292,286,285,288,298,298,304,296,298,308,314,318,320,323,321,311,311,314,315,314,308,300,300,305,301,315,323,312,325,319,312,308,307,308,304,310,314,299,296,314,308,305,305,306,308,292,287,297,299,294,293,292,294,299,299,301,305,306,307,306,309,312,312,310,310,310,313,319,321,329,324,325,324,324,324,324,328,334,338,338,348,351,346,346,350,344,339,339,336,348,344,332,339,335,331,331,328,325,312,309,318,324,330,334,328,318,314,322,324,310,306,306,306,312,318,319,314,316,321,319,319,319,319,314,312,306,308,316,345,353,348,349,355,368,368,365,371,376,381,385,385,353,363,372,362,351,339,337,342,346,340,340,345,348,343,338,332,331,328,325,319,321,327,328,332,346,350,345,331,334,321,323,318,325,322,313],[311,321,336,254,271,344,410,388,388,388,362,313,377,451,592,619,456,357,327,289,280,230,188,214,272,271,259,279,400,458,426,514,520,425,374,397,406,465,488,454,476,571,714,730,758,921,976,598,713,1078,1232,1182,1188,1574,1812,2294,2004,1126,880,663,1494,1780,1606,1440,1572,1688,1196,747,904,985,896,932,935,615,455,357,306,327,765,1172,1004,595,376,444,1238,1634,861,1184,1146,1156,1250,907,660,435,307,309,317,343,389,433,461,418,667,973,722,505,448,854,1214,1216,1160,1026,1001,719,406,392,349,316,279,542,514,469,707,604,348,297,300,397,528,735,533,441,441,388,332,310,332,363,341,347,362,365,276,185,278,271,292,350,395,426,443,448,432,382,298,372,610,939,859,786,589,483,342,238,241,280,380,518,488,590,775,888,860,694,1108,1470,1404,1316,1060,709,695,1138,1284,1288,1390,1468,1380,1388,1156,1252,1462,1516,1394,1048,497,477,572,434,400,517,718,678,691,681,699,697,716,747,601,324,480,572,486,331,279,307,327,289,432,625,1050,1078,923,987,989,839,899,1262,850,812,1100,761,598,1050,1398,1354,1452,1116,946,1206,1182,1226,1462,937,558,544,1058,1266,954,516,335,332,480,724,1004,1114,1332,1410,1312,1550,1558,1424,1374,1296,1476,1246,951,1060,1394,1300,1494,1550,1206,1304,1588,1526,1562,1452,1066,978,647,395,407,424,265,268,314,282,301,413,563,695,870,973,927,774,655,811,1126,1284,1100,976,1394,1958,2036,1608,951,806,524,405,261,233,316,344,340,332,292,259,312,364,295,285,400,412,396,303,383,342,293,568,604,326,264,264,289,402,941,671,405,332,395,584,647,509,536,1346,1806,1086,476,448,402,424,623,1230,1566,1306,1480,1366,836,681,880,1300,1128,1116,1040,1100,1260,918,1004,1400,1332,1550,1678,1176,723,1166,1502,857,867,1354,1324,1362,1344,1254,1228,1108,1342,1650,968,603,862,1168,1296,1198,1360,1368,1338,1282,830,465,472,359,227,253,363,493,413,445,902,959,970,703,507,1026,1366,1250,1250,1066,855,816,938,767,719,818,642,399,411,443,448,474,466,536,588,609,697,1092,1558,1438,1236,927,775,1106,1334,1406,1400,1082,871,1260,1024,775,1006,1010,908,1164,1592,1852,1942,1794,1462,1208,935,843,791,753,813,1126,1420,1144,1376,1716,1566,1594,1190,725,1490,1684,1538,2120,2136,1284,1032,1486,1310,927,1058,1068,714,1040,1030,719,887,770,396,568,630,478,397,380,408,467,696,1070,1408,1414,1358,976,761,722,838,840,885,930,805,561,947,1450,1246,681,741,1084,780,686,610,591,793,697,761,1184,1358,1198,1100,1456,1440,959,749,930,1238,1082,1234,1424,1656,1232,996,1698,1278,1030,1450,1376,1300,1342,1180,1248,1432,1092,1015,1258,1284,1340,1536,1272,1106,959,1005,1952,2190,2136,2032,1792,1804,1522,1154,702,469,678,1070,1648,1230,1072,1288,1498,1284,1010,1378,1354,1058,896,773,509,368,513,535,688,1034,1184,1132,1184,1246,1112,1362,1242,1084,1054,1292,1360,1262,1100,913,740,976,1170,1140,977,764,948,891,869,1328,1478,1200,1144,1254,1230,1188,1340,1470,1294,1062,1032,1004,951,1090,1168,797,883,955,1124,1222,1142,1098,1168,1090,923,859,742,905,1052,1146,1250,1212,1492,1600,1272,1176,1402,1722,1778,1492,1418,1982,1618,1228,1404,1400,1350,1330,1366,1510,1506,1422,1496,1542,1508,1400,1122,1420,1672,1588,962,1003,1638,1706,1570,1328,954,544,553,937,1048,1248,1128,1160,1368,1066,898,812,850,1324,1200,1128,966,729,560,852,1102,909,791,696,562,866,1168,1250,1208,1036,1274,980,701,576,602,885,886,1188,1410,1454,1826,1448,1608,902,665,918,1100,1084,787,871,1322,1566,1548,1368,1078,1218,1202,1136,1110,1092,1162,1258,912,606,647,402,278,289,457,594,480,445,343,310,321,470,529,445,324,265,255,231,220,251,226,314,343,727,1494,1816,1876,2004,1630,1294,1404,1404,1330,1278,1118,1160,1412,1548,1634,1778,2072,1766,1644,1340,765,843,1286,1238,1100,1068,1550,1600,1650,1136,1104,1148,1222,1520,1672,1394,1170,1272,1264,1360,1354,1242,1264,1198,1308,1340,1344,1322,1234,1362,1278,1092,1024,1278,1200,1378,1416,1100,924,830,1094,1362,1282,1328,1478,1344,1140,1082,1200,1344,1238,1372,1398,1408,1396,1326,1322,1136,1082,1248,1498,1614,1616,1454,1440,1456,1466,1194,1314,1566,1578,1384,1332,1342,1322,1672,1732,1300,1002,869,775,763,642,706,686,567,606,639,831,1042,705,495,598,829,760,518,943,1606,1762,1484,1118,1144,1640,1692,1078,858,866,972,744,817,954,1130,1250,1164,1046,1154,1306,1368,1416,1418,1212,1398,1320,1262,1252,1384,1302,1146,1290,1336,1556,1544,1584,1454,1238,1384,2122,1546,1250,1438,1564,1540,1482,1548,1408,1824,1286,1276,1322,1332,1116,1394,1320,1176,1366,1244,1196,1166,723,1142,1918,1904,1330,1194,1100,1108,942,865,775,1232,1512,1224,1204,1252,1116,1374,772,400,364,488,660,755,606,527,901,1130,1186,1446,1044,559,957,1158,1068,1058,1226,1136,1212,1220,1166,1274,1168,698,685,817,1008,1058,968,896,793,901,1278,1384,1384,1328,1376,1264,924,1508,1722,1242,1168,1192,919,1058,1314,1180,1604,2122,1638,1416,1350,1376,1116,819,951,921,750,1136,1534,1648,1360,1070,1230,1454,1430,1412,1288,1017,1088,1278,1030,1120,1260,1166,1304,1390,1332,1158,1216,1316,1168,916,813,970,1028,1132,1076,1176,933,904,1228,1322,1178,738,575,780,1046,1110,1120,1170,1232,1186,1038,1258,1542,1380,1176,924,752,759,912,1228,1436,1154,659,585,795,999,1122,1078,1246,1246,1182,1130,1110,968,659,879,1032,844,922,879,702,471,735,1012,1062,844,848,993,819,441,586,870,1032,883,697,877,1092,1318,1318,1046,988,1256,1268,1188,1052,1134,982,614,466,499,599,584,661,932,1136,1204,1268,1224,771,690,900,1166,1324,1426,1680,1616,1262,1296,1294,1160,1278,1376,1108,515,502,480,528,777,714,860,811,700,708,480,497,475,384,458,562,896,788,576,664,1244,1194,709,1164,1316,754,683,899,779,704,845,782,602,687,1122,1362,1426,1738,1222,1526,2910,3066,2808,2448,2318,2348,2586,2464,2416,1820,1228,1004,839,904,1092,933,828,874,809,1194,850,909,845,611,777,811,1114,1013,689,1416,2274,2442,2392,1270,475,401,587,647,664,1036,1440,1632,1392,863,663,499,533,524,554,418,482,572,570,535,452,425,389,366,415,470,550,554,506,422,791,871,527,417,341,299,338,412,400,412,550,702,585,544,555,617,509,328,322,318,309,335,362,376,374,360,361,326,284,301,283,262,322,372,385,418,400,417,421,420,417,411,417,411,391,373,370,371,355,378,371,366,375,384,401,397,395,396,388,379,361,350,347,325,344,375,354,369,379,378,382,407,408,404,424,434,412,393,395,392,405,391,390,388,390,390,394,386,376,391,373,386,385,394,399,403,427,450,430,425,438,430,419,408,413,420,421,408,417,436,433,458,460,464,472,439,417,427,452,446,481,486,448,430,424,422,439,434,418,410,400,389,378,375,374,401,401,385,382,379,372,370,365,370,370,365,371,377,395,390,385,379,371,375,389,389,379,364,353,376,365,352,355,349,363,361,371,384,383,375,374,393,377,383,367,377,394,391,404,390,404,409,385,368,368,368,362,371,372,368,368,376,379,380,373,368,362,351,353,350,346,345,342,343,338,335,338,352,368,397,391,371,366,360,376,388,399,408,422,433,440,418,428,401,357,368,369,376,384,380,457,465,455,408,424,437,443,468,500,530,491,408,387,381,381,385,387,386,392,393,402,406,386,376,357,339,328,338,355,366,373,352,348,336,323,318,316,317,319,321,322,329,298,305,299,290,286,286,292,299,303,293,295,310,304,305,304,322,317,307,309,315,317,315,310,305,304,301,308,291,298,309,304,318,313,313,300,302,313,301,300,296,315,297,312,307,310,312,311,311,299,309,297,292,295,292,297,299,297,296,297,305,305,311,311,311,312,312,313,312,322,325,327,328,332,331,332,327,324,325,324,324,332,332,332,344,343,343,345,344,344,334,331,330,340,345,330,339,336,332,332,332,325,325,327,325,325,328,332,324,312,314,319,324,312,306,311,314,319,325,321,318,319,316,312,308,319,316,311,318,325,324,319,337,336,332,345,359,365,371,379,379,373,392,397,397,359,363,372,362,359,345,343,345,342,338,332,331,330,328,337,336,327,324,319,318,319,325,328,332,332,335,325,319,319,322,328,330,339,332,319],[258,289,300,333,378,407,355,286,300,352,404,360,321,397,570,572,415,361,323,268,220,202,236,257,245,254,332,366,384,380,364,340,275,299,346,354,414,539,566,509,511,559,788,950,1224,1162,929,564,567,802,1398,1710,1102,1078,1328,2222,1530,1622,1390,744,1372,1454,1290,1276,1412,1388,1002,565,717,1022,728,396,394,422,430,365,338,331,458,476,414,370,346,505,1516,1590,936,909,1386,1670,1222,743,699,602,274,262,375,297,290,476,590,670,1046,1186,807,509,521,763,869,828,949,904,752,480,349,301,293,359,294,359,439,480,571,518,534,278,256,269,337,366,356,502,495,373,384,359,326,325,317,344,317,336,282,228,238,230,273,342,391,387,387,455,442,379,314,352,468,690,737,699,540,429,330,276,301,326,470,1148,1648,1262,960,980,1470,1218,1034,1170,977,861,633,842,846,870,997,976,991,1110,1052,863,1078,1152,1092,963,895,716,417,422,410,700,921,700,518,675,702,707,736,655,674,618,579,443,491,410,362,289,303,391,393,575,809,1007,1218,1388,1464,971,1216,1104,757,755,742,1194,1204,589,484,1090,1704,1452,1550,2054,1436,1334,1368,1876,1814,1194,902,1012,1256,1494,1226,537,454,515,512,792,1516,1528,1110,1200,1518,1716,1236,832,1088,1112,1192,1204,1126,1252,1628,1616,1828,1566,1013,999,1332,1448,1388,1262,660,850,813,683,615,527,379,305,332,327,297,556,1328,1636,1284,1021,863,832,912,1266,1294,1532,1510,1206,1384,1500,1466,1460,1636,1538,1172,493,263,306,317,368,367,332,296,263,317,359,285,396,564,561,466,331,337,299,236,277,271,236,247,320,374,398,969,810,494,423,473,563,553,484,505,779,691,610,411,430,393,357,599,960,918,729,886,1009,869,717,1120,1970,1248,981,775,1040,1544,1228,1250,1324,1410,1674,1310,844,749,1023,1530,871,585,984,1200,1158,868,612,602,579,884,1394,1154,850,696,540,750,1398,1522,1200,924,1094,1017,485,403,344,293,307,330,360,345,375,591,738,691,506,439,926,1450,1544,1282,918,925,835,788,839,906,1010,760,426,381,415,466,527,521,500,478,483,1032,1088,1184,1332,1426,1210,1019,1124,1286,1628,1202,871,849,1266,1340,1308,1392,1130,1130,1444,1594,1710,1478,1182,924,816,828,1578,1738,1324,1118,1356,1528,1190,1220,1812,1958,1286,1136,842,1038,763,583,1424,1908,1234,1026,1418,1226,971,728,518,486,501,526,555,634,557,808,962,788,589,419,440,539,473,542,759,1148,1404,1500,1484,884,505,554,664,814,1005,772,583,1044,1216,826,557,593,577,639,723,598,567,567,761,1404,1464,1208,891,927,1594,1244,927,949,926,869,897,883,1206,1498,1064,1054,1626,994,1046,1188,915,1050,1268,1052,1278,1362,843,641,819,1012,963,947,881,1134,1330,1118,1518,2308,2908,2530,1930,1672,1636,1570,1312,1078,859,1354,1498,1280,1130,1206,1490,1226,1030,1278,1348,1226,948,1122,977,551,727,913,880,926,1004,1050,1478,1324,904,1302,1072,1015,1196,1394,1350,1356,1162,1009,902,1120,1156,889,650,466,637,796,1064,1302,1210,947,874,1064,1118,1026,1180,1264,1204,1128,1230,892,664,865,1190,1294,1204,1104,1094,1068,1140,1030,1042,1090,802,902,893,990,949,1038,1190,1256,1438,1488,1254,1380,1614,1718,1248,934,1260,1542,1194,902,1094,1294,1348,1324,1440,1704,1642,1340,1504,1630,1522,1244,1188,1340,1238,1392,1166,1050,1452,1562,1640,1344,995,633,565,835,1086,1124,1030,1272,1410,977,828,988,1134,1472,1384,1078,915,1050,1058,1016,1136,1128,1116,988,686,880,1048,1148,1004,869,1244,916,684,666,557,592,917,1284,1624,1632,2004,1492,1476,814,655,1044,1318,1246,1096,1074,1194,1348,1428,1300,1064,1026,1164,848,880,933,861,1146,1108,801,628,363,392,333,266,225,319,409,428,419,510,565,466,415,376,349,317,259,234,319,340,428,791,1276,1466,1526,1516,1560,1518,1670,1522,1636,1304,1154,1476,1586,1490,1412,1510,1542,1428,1400,1212,953,940,1196,1202,929,799,783,1184,1476,1432,1108,1018,1106,1136,1362,1394,1476,1436,1414,1458,1388,1036,849,833,948,1244,1360,1240,1034,1428,1632,1522,1070,1240,1438,1344,1518,1394,1122,954,959,1236,1472,1532,1482,1394,1304,1116,1142,1282,1520,1300,1446,1562,1764,1606,1250,1202,915,1228,1224,1422,1208,1114,1200,1376,1566,1476,1456,1512,1494,1638,1406,1458,1554,1332,1330,1382,1368,1184,1112,981,866,772,725,571,558,713,788,929,973,700,590,614,730,566,520,932,1150,955,1058,1166,1072,1254,1526,1334,1070,899,629,413,528,783,1086,1190,1188,1328,1276,1086,1222,1322,1180,1106,1362,1474,1572,1470,1486,1476,1324,1438,1606,1542,1472,1504,1538,1332,2010,2208,1450,1394,1416,1440,1110,1048,1226,1130,1032,1236,1468,1400,1370,1250,1310,1324,1296,1432,1108,1158,1104,844,1112,1448,1686,1418,1346,1382,1202,1268,1260,1070,1252,996,1010,1186,1412,1172,1108,886,614,484,613,904,1234,903,921,1306,1156,1118,1066,567,509,1212,1422,1198,1214,1304,1050,1314,1278,1318,1278,1042,940,912,908,1013,943,1062,1066,902,1074,1276,1382,1234,1428,1560,1502,1312,1504,1356,1188,1614,1256,859,1068,1414,1360,1670,1658,1296,1592,1466,1340,1428,1368,1246,911,791,1164,1468,1558,1288,1214,1230,1182,1060,1310,1414,1038,975,1322,1026,1078,1038,1144,1272,1632,1506,1274,1210,1214,1092,822,791,1142,1092,1372,1312,1058,764,1056,1280,1112,755,504,487,777,1212,1058,863,999,1200,1264,1006,1360,1518,1324,1298,1210,999,738,657,719,1116,1604,1014,700,663,756,950,1012,1224,1294,1176,1074,803,803,564,854,933,966,700,668,525,739,997,1010,990,863,713,846,655,520,1246,1418,975,555,375,471,1056,1472,1374,1294,1076,1174,1440,1120,855,1058,1092,805,526,604,847,890,1004,1102,1092,1136,1184,1126,807,775,1005,1230,1538,1696,1680,1562,1312,1232,1238,1216,1148,1402,1392,1154,1272,999,941,877,615,740,615,577,772,696,531,383,382,505,1124,1714,1302,867,1048,1612,1294,537,578,800,814,861,716,522,536,771,645,637,1040,1438,1318,1720,1684,912,2126,3842,3536,2962,2570,2502,2342,2326,2402,2470,2302,2056,1664,1088,702,874,730,570,589,877,983,818,1016,741,575,816,1084,1324,1114,922,1894,1962,2344,2282,1268,554,537,772,644,423,534,854,1212,1548,1386,1116,1012,915,641,548,517,498,541,580,526,547,449,413,435,501,496,483,439,350,397,714,744,510,405,385,319,336,380,341,433,653,855,951,1020,967,863,606,379,322,322,309,347,385,380,381,375,358,321,306,313,299,316,373,393,382,405,410,417,414,412,402,403,419,420,397,382,374,354,342,372,372,369,381,413,405,388,395,384,382,389,359,350,338,319,331,362,361,366,374,377,393,409,392,408,415,416,409,398,387,379,373,379,388,388,396,394,376,386,389,380,383,383,389,393,397,409,433,449,423,416,430,431,416,408,413,430,426,413,417,429,429,443,462,470,477,449,442,440,446,451,479,491,461,425,415,433,450,438,427,410,400,385,383,386,366,390,402,375,374,368,352,361,365,373,384,372,358,372,391,393,386,385,384,373,373,371,364,367,363,379,369,353,364,346,357,372,365,372,379,370,374,381,372,390,387,379,385,390,394,402,402,407,394,386,359,368,375,379,370,354,359,374,375,380,374,368,350,366,347,350,351,354,354,347,334,338,354,372,397,392,370,359,346,338,350,377,390,401,412,415,438,435,420,412,385,372,365,367,387,381,445,449,436,412,403,415,430,445,447,503,505,447,400,391,387,386,378,375,377,369,381,386,364,369,367,349,335,319,336,348,371,361,352,351,334,323,323,323,316,311,311,308,299,312,316,308,299,299,299,298,295,291,286,292,304,305,303,314,307,305,311,311,311,309,307,306,305,298,313,300,305,310,306,307,308,314,302,294,307,306,304,286,314,312,311,310,306,302,313,296,296,314,297,294,294,297,301,293,292,294,297,302,305,306,312,317,311,313,322,316,341,339,332,332,335,334,327,324,323,318,318,318,323,324,354,348,346,350,340,340,341,340,345,339,332,341,335,338,338,336,332,325,319,327,332,330,330,325,324,314,311,307,311,316,314,310,316,319,321,321,319,311,310,309,311,299,318,314,311,309,313,321,332,345,343,345,349,359,368,375,383,387,374,398,405,401,374,363,369,365,359,356,350,345,337,331,327,325,328,331,332,332,330,322,319,319,325,325,311,324,325,325,322,325,324,316,319,324,318,321,332],[324,341,325,386,424,408,356,311,297,283,356,333,278,388,470,468,382,405,375,258,232,217,272,252,252,262,283,303,276,249,260,235,211,270,352,400,466,687,705,663,646,626,688,977,1394,1318,792,521,818,1134,1274,1148,671,680,1220,2002,1386,1712,1356,799,1120,1316,982,805,880,1216,1012,759,705,1032,709,435,505,731,667,390,316,275,415,505,499,413,548,917,1320,1268,1005,782,1226,1534,1114,529,366,277,272,270,276,247,295,423,546,598,898,1062,952,794,691,617,528,733,1002,753,405,364,398,369,368,381,321,328,298,287,345,344,316,232,235,221,229,238,281,347,336,342,400,393,393,356,393,324,276,280,241,224,250,307,383,443,367,338,362,298,346,295,247,224,259,436,657,633,505,412,336,326,311,362,610,1570,1444,1300,1578,1208,1270,1252,1274,1366,1090,1226,1028,1136,1364,1296,959,895,1034,1066,988,667,473,858,1044,862,875,515,499,749,987,1464,1482,1008,713,789,786,833,803,654,588,506,663,458,402,509,662,761,893,835,920,1632,1768,1710,1572,1360,1152,1003,980,973,952,824,589,794,1040,658,563,955,1396,1782,2358,3044,2580,1896,1756,1710,1574,1170,1017,1250,1160,1384,853,591,597,544,794,1416,1754,1346,947,1070,1552,1668,1322,1088,1240,1264,1154,1328,1252,1302,1542,1644,1532,1360,1248,1586,1522,1444,1382,1246,758,596,619,595,660,809,742,506,335,356,382,789,1222,1216,1088,1152,1208,957,910,1122,1230,1306,1190,982,1406,1498,1278,1422,1460,1564,1266,554,405,342,290,274,250,290,292,266,398,354,343,471,569,494,338,293,269,249,257,263,239,255,285,365,371,438,824,762,530,484,412,383,437,482,387,481,341,318,379,434,454,371,580,861,807,792,753,824,825,803,901,1466,1224,850,1056,1320,1484,1438,1274,1252,1102,913,1186,1068,1042,999,1068,708,416,678,1074,1324,1126,760,882,863,706,1082,1150,849,564,467,804,1322,1376,953,614,1036,1140,731,437,339,324,315,316,319,303,324,533,691,727,890,824,1214,1328,1370,892,653,902,771,1050,1502,1568,1510,987,411,358,405,486,587,613,491,439,497,1104,1194,1194,1370,1252,1030,673,722,1230,1578,1236,1202,1372,1330,1248,1192,1114,1242,1552,1360,1288,1798,1872,1714,1036,800,986,1676,1834,1482,1504,1660,1652,1306,893,1484,1714,1048,974,1013,1242,917,410,746,1494,1340,626,419,437,733,641,437,449,455,559,641,610,513,996,1354,1010,719,557,370,419,350,408,644,921,1190,1338,1490,1162,630,364,334,499,761,719,530,595,575,456,450,516,530,678,702,517,578,633,1030,1580,2008,1604,1204,1216,1182,760,789,1122,942,1036,1060,954,1456,1664,1176,1232,1462,1138,1100,1138,1068,1200,1088,946,1186,986,827,1058,822,599,551,673,945,1170,1026,852,1046,1306,1446,1470,1360,1266,1310,1500,1704,1650,1560,1514,1442,1500,1568,1642,1588,1172,848,799,1396,1332,1132,1320,1194,930,1038,1082,733,749,924,777,1012,1116,997,1398,1332,1194,1208,1146,1472,1600,1500,1398,1200,1512,1406,1150,1032,647,636,777,1030,1092,915,811,931,1042,991,952,933,1015,922,1106,1106,976,760,873,1020,1272,1316,1096,1146,1148,1278,1182,1144,1052,850,1046,1242,1023,992,1076,1222,1284,1130,1262,1476,1812,1782,1472,1018,1150,1278,1344,1130,956,1124,1240,1422,1392,1588,1628,1708,1412,1274,1484,1630,1546,1512,1474,1366,1392,1174,1005,1198,1114,1280,1450,1144,707,661,1052,1302,1322,1198,1278,1538,1262,1128,1118,1278,1402,1180,1001,658,1046,1344,1078,1138,1322,1422,1506,1156,910,894,1184,1084,861,803,813,930,677,516,984,1628,1908,1570,1226,1320,1064,1102,1126,1082,1118,1009,967,969,885,636,706,764,1072,913,707,880,813,788,660,711,912,1050,885,538,395,463,409,327,304,317,310,320,420,571,530,608,944,686,449,304,291,268,282,449,847,1418,1554,1672,1756,1620,1570,1246,1650,1730,1780,1562,1330,1558,1572,1476,1384,1346,1476,1256,1118,762,799,1190,1394,1432,1088,806,1019,1300,1382,1494,1266,1108,1118,1350,1318,1268,1612,1738,1324,1296,1312,1016,700,586,899,1066,1080,1046,1206,1600,1490,1458,1428,1512,1490,1490,1588,1480,1174,1122,1362,1558,1566,1556,1328,1242,1682,1456,1052,1066,1338,1212,1186,1400,1402,1174,1174,1070,987,957,1190,1256,1134,1060,1086,1326,1338,1260,1472,1414,1414,1478,1356,1460,1442,1262,1114,1188,1086,1046,1636,2026,1416,808,875,684,486,598,717,966,741,599,664,725,742,644,642,854,751,599,728,998,803,1194,1420,1160,1192,1094,759,689,797,944,1136,1230,965,1084,1003,927,973,891,878,1134,1208,1378,1582,1354,1354,1208,1318,1394,1832,1590,1354,1324,1374,1256,1278,1076,1152,1274,1064,1388,1230,1078,1282,1368,1050,1152,1258,1338,1438,1278,1384,1438,1170,1488,1278,1360,1208,1218,1252,1362,1404,1258,1440,1446,1202,1150,1606,1508,1130,595,749,916,883,871,1028,1144,1026,733,549,974,1198,995,1316,1218,1007,1064,1044,691,711,1194,1158,1130,1080,1256,1146,1003,1158,1194,995,832,1264,1202,1200,1218,865,1278,1164,1158,1136,912,1052,1114,1124,1334,1486,1526,1520,1162,783,1166,844,1320,1328,1044,1310,1520,1390,1484,1622,1332,1160,1428,1514,1402,1162,1074,1260,1072,1204,1112,1126,1174,889,848,1266,1294,1164,975,1448,2076,1384,998,1100,1300,1422,1248,1054,1007,1034,940,861,974,1130,1144,1362,1532,1148,951,1126,1168,1104,744,481,460,789,1230,943,885,1126,1180,1104,976,993,997,1060,1058,993,1086,735,494,623,838,1568,1276,735,642,1116,1298,1212,1254,1252,1296,1246,846,937,608,680,836,957,908,1010,787,882,1148,882,582,885,890,991,969,943,1136,1032,718,426,309,352,827,1324,1410,1218,767,989,1290,1166,1116,1134,1130,1082,878,865,922,1120,1456,1368,1194,1166,1054,1026,876,765,985,1298,1514,1524,1426,1258,1348,1364,1260,1202,892,965,1016,1146,1080,913,1060,901,714,879,779,800,1072,1294,1184,708,461,680,1472,1756,1140,631,949,1330,1084,586,578,636,896,1106,922,644,873,971,831,1002,1376,1428,1474,1986,1094,1122,2822,3548,3752,2928,2458,2454,2612,2776,2858,2498,2050,2156,2070,1015,549,407,337,374,522,820,710,748,808,420,396,861,1460,1440,1372,1488,1980,1762,1880,1622,888,410,554,747,760,723,739,893,1132,1286,1356,1426,1332,950,611,466,446,539,623,622,436,470,573,595,560,530,472,382,317,398,628,715,1050,700,399,428,390,350,338,367,527,689,738,944,1098,727,626,444,366,308,312,315,337,373,386,374,357,339,308,322,330,297,338,379,393,392,383,417,425,421,417,408,407,417,409,399,408,383,354,378,383,373,351,354,380,391,380,389,388,396,402,376,356,336,320,320,337,369,392,386,379,388,402,390,424,420,416,406,393,387,383,379,392,397,388,374,391,374,383,397,387,391,387,384,387,399,412,437,437,431,425,437,437,403,404,410,420,423,420,421,438,417,426,461,459,458,459,469,456,448,451,450,463,466,430,422,442,423,434,438,400,390,387,378,389,381,390,397,373,383,386,373,365,358,370,381,375,367,373,383,388,383,388,386,371,370,365,363,373,363,370,370,353,359,353,351,367,371,377,379,365,365,377,383,386,386,385,379,383,401,404,386,409,397,398,376,373,376,379,389,374,378,374,376,384,372,373,366,356,354,356,351,345,336,336,328,340,380,384,382,376,373,368,350,347,328,354,380,401,408,408,441,442,407,418,401,363,367,364,376,381,428,450,436,421,397,386,408,433,430,487,503,496,451,402,378,379,375,372,369,366,365,366,376,374,369,354,347,321,329,351,364,370,366,357,336,318,318,317,317,321,321,321,324,324,323,313,301,298,298,298,292,286,285,292,301,309,308,308,307,307,314,317,303,291,294,305,305,298,305,309,313,307,305,302,301,313,300,301,311,306,308,304,301,305,306,308,301,297,300,296,291,289,293,299,293,293,287,292,293,296,299,301,306,306,304,322,311,319,338,325,328,341,345,340,346,341,327,325,324,323,324,319,327,332,337,351,353,344,349,353,336,344,339,332,338,336,335,332,332,325,318,312,309,321,334,316,319,319,318,311,312,306,310,311,311,312,315,319,312,300,314,306,306,306,312,306,315,315,313,303,298,319,330,338,339,345,350,359,368,380,381,383,383,394,395,391,380,363,357,366,359,355,346,339,331,325,321,321,325,327,336,331,325,327,316,324,325,327,312,319,328,332,337,342,334,322,311,318,325,331,325],[395,343,327,382,371,367,348,358,346,281,313,322,290,325,386,404,336,347,388,294,235,185,245,253,263,252,258,232,232,254,264,238,220,254,301,393,481,596,714,794,747,809,859,1092,1312,1158,741,647,1260,1738,1318,842,605,601,1396,2432,2404,1860,1520,1338,1356,1352,1232,1268,954,1176,1294,1036,705,730,666,535,576,785,849,388,296,323,441,570,497,477,505,750,941,1156,1166,1124,1636,1458,976,543,304,272,298,260,241,249,271,371,432,518,823,883,951,767,613,517,605,960,1094,698,405,455,465,450,449,416,549,385,493,301,388,427,313,284,244,223,233,260,292,284,261,378,372,390,374,348,363,329,276,231,205,214,242,314,388,382,253,232,335,328,279,242,251,254,258,449,653,558,518,415,373,413,342,407,723,1254,1308,1554,1484,933,717,732,909,1278,1126,857,883,1346,1482,1404,1222,1148,1186,1118,943,861,999,1250,1274,989,741,470,515,987,1132,861,923,1172,1380,1476,1358,1232,941,892,797,841,861,536,535,780,979,1078,1134,1164,1278,1694,1308,994,692,598,617,1184,1132,769,924,1156,939,777,750,585,536,648,785,1360,2044,2814,2740,1932,1528,1616,1558,880,1172,1478,1160,1138,756,774,685,867,1390,1746,1714,1730,1308,1312,1614,1336,994,706,955,946,983,1164,1454,1528,1186,1100,1286,1462,1230,1218,1022,1250,1422,1406,966,607,436,414,473,565,830,743,445,477,433,853,1160,1370,1036,890,1256,1212,1012,1128,1246,1374,1220,827,1206,1494,1346,1216,1154,1644,1292,531,433,379,345,285,262,293,280,296,481,374,396,505,378,252,271,310,287,292,284,281,272,238,284,415,410,413,650,698,519,452,349,266,395,594,433,415,368,354,376,358,379,329,437,813,1068,1058,923,924,695,607,1072,1716,1290,760,593,675,993,1310,1570,1592,1144,1114,1514,1242,1222,955,763,644,580,1046,1334,1198,850,617,840,728,616,988,1222,928,501,430,784,1118,1124,932,595,922,977,794,393,263,281,258,309,350,327,380,576,759,892,1208,1532,1916,1616,1482,908,547,733,670,910,1670,1926,1668,777,416,467,519,489,506,526,452,405,502,637,905,1528,1136,867,944,618,763,1316,1346,1180,1412,1284,896,1028,1208,1272,1430,1180,665,1096,1916,2026,1578,932,899,1078,1340,1418,1326,1594,1584,1588,1390,825,1340,1456,853,729,770,1009,847,351,489,947,969,590,406,396,450,456,455,444,448,510,540,488,480,784,1100,961,801,719,503,659,611,502,466,605,884,1176,1394,1372,1042,547,370,361,402,445,422,382,391,474,514,497,491,547,538,601,738,662,976,1418,1390,1114,1220,1480,1278,669,848,1150,800,1156,1260,919,1260,1392,1074,1158,1114,882,728,828,1140,1258,861,910,1354,1006,814,1238,1005,796,760,691,897,1156,942,718,794,782,638,510,929,924,996,1344,1782,1874,1730,1616,1506,1548,1592,1670,1816,1528,1340,1001,1128,1300,1306,1528,1580,1148,776,772,589,560,522,483,411,492,1007,1512,1460,1274,1078,1238,1620,1388,1140,1050,1120,1432,1324,1380,1134,799,915,1016,1172,1250,1074,1046,999,922,984,1058,865,731,772,750,1026,931,700,997,1052,1236,1194,1090,1130,1120,1038,996,996,989,943,972,1072,1176,1180,1128,1150,1222,1332,1532,1732,1820,1572,1124,1054,1204,1260,1294,1024,822,1054,1428,1692,1534,1480,1504,2188,1666,1224,1520,1658,1482,1344,1510,1594,1646,1208,1003,1212,1176,1356,1656,1410,805,660,794,863,1042,1138,1194,1560,1436,1296,1226,1252,1368,1208,988,896,921,1126,1058,1108,1270,1328,1506,1472,1376,1240,1320,1258,1174,1116,1156,1186,835,633,1252,1660,1622,1172,1172,1052,734,811,1116,1404,1628,1670,1440,1076,753,547,532,536,752,885,992,969,1160,1482,747,847,1400,1290,859,513,479,507,550,413,309,309,296,322,403,440,508,832,1502,1400,860,506,399,398,346,539,1184,1654,1812,2172,1948,1766,1710,1284,1126,1134,1116,1218,1294,1428,1472,1312,1274,1304,1114,964,837,636,614,1072,1230,1318,1040,836,1210,1268,1358,1544,1332,1450,1388,1262,1174,1144,1512,2120,1818,1268,1250,1174,688,711,883,669,887,1312,1396,1184,1282,1312,1600,2140,2054,1338,1138,1220,1154,1246,1394,1422,1368,1322,1404,1378,1304,1258,1072,1080,1502,1622,1350,1162,954,961,987,1070,1244,1140,1356,1242,1016,1013,1278,1302,1030,1148,1492,1344,1504,1364,1438,1516,1202,1094,1054,1216,1274,1296,1626,1224,974,897,1136,949,852,735,637,659,574,561,600,695,606,628,532,763,1088,1066,897,874,778,1230,1286,1044,1070,929,1086,1632,1154,1032,1206,1042,522,437,726,1058,1200,1126,1168,1280,1136,1005,1212,1288,1354,1336,1190,1190,1436,1454,1436,1410,1378,1406,1308,1202,1324,1266,1294,1394,1554,1538,1514,1490,1364,1144,1028,1248,1198,1170,1498,1412,836,934,1154,1438,1282,1180,1238,1184,1166,1180,1234,1298,912,914,1506,1452,1138,985,1108,1120,903,690,569,670,1098,1144,1050,1036,996,1070,1106,781,883,960,821,753,973,1210,1016,1180,925,1190,1184,842,913,1256,954,769,1030,1102,1520,1290,765,1038,1116,1234,1130,916,1090,1072,1334,1570,1484,1476,1522,1494,1088,666,547,1010,1056,1134,1290,1370,1240,1318,1564,1388,1184,1536,1400,1256,1436,1298,1166,1092,1062,1030,1104,1076,922,894,1236,1362,1086,1350,1482,1498,1386,1246,1082,1146,1040,949,1018,1028,1013,1007,989,1064,1284,1376,1238,1418,1164,853,933,1078,1246,768,439,422,555,905,1040,1158,1212,968,719,738,808,906,1110,916,844,1030,782,589,1014,1122,1142,1076,922,940,1130,1198,1120,893,991,1134,1176,1116,1194,830,822,1066,1023,1100,1260,890,940,859,951,693,750,738,910,1096,1032,885,977,681,422,618,683,755,1102,1354,1246,1028,1090,1210,1256,1208,1092,1194,1398,1284,1088,742,1002,1448,1540,1450,1304,1114,983,1001,954,926,1292,1280,1144,1102,799,1158,1306,1348,1332,1070,666,814,1048,614,481,830,1084,1046,960,1122,1268,1810,1708,1296,765,688,1088,1674,1678,952,636,851,740,588,589,757,724,1308,1550,762,413,708,864,934,1160,1444,1444,1976,1610,968,1962,2796,2556,2270,1936,1710,1704,1808,1832,2076,1832,1694,1852,1404,707,612,430,311,347,391,379,430,503,446,374,492,848,1236,1324,1302,1474,1574,1650,1622,1458,1158,602,1186,1480,1664,1350,1064,1272,1578,1138,803,1114,1488,1340,981,469,386,419,501,568,518,450,419,499,602,578,390,323,300,400,756,677,601,409,357,389,379,362,345,386,415,389,383,546,598,372,339,318,305,300,323,326,335,354,373,363,330,308,277,285,309,286,341,388,395,388,392,400,404,422,413,407,390,419,420,397,395,379,380,373,380,375,361,369,383,412,386,387,396,411,388,385,374,338,325,332,341,367,392,383,354,370,397,382,400,402,400,406,398,393,385,373,400,392,394,397,385,372,371,370,371,377,380,379,379,375,401,425,434,428,420,422,426,403,391,402,413,431,435,417,443,429,430,458,466,469,467,452,443,451,458,454,459,473,452,433,444,442,416,427,405,390,387,385,400,400,390,395,370,374,375,370,361,364,368,368,368,375,378,379,379,381,391,382,384,385,370,353,352,355,363,364,358,361,358,359,367,376,375,374,367,367,383,398,385,388,407,390,381,394,403,394,399,402,400,394,379,380,411,400,366,374,370,380,398,373,364,375,353,350,354,348,350,356,354,340,343,362,353,380,375,380,377,359,350,324,332,372,395,412,414,444,470,438,420,401,370,367,363,363,376,411,443,440,433,403,400,399,412,419,434,451,480,479,436,386,363,375,372,355,355,367,374,376,373,377,364,349,333,328,347,355,365,361,355,328,319,318,317,316,319,323,316,311,320,325,315,304,298,298,296,288,286,284,291,303,312,311,310,303,305,306,303,292,296,298,298,298,297,301,306,305,305,307,305,300,315,300,308,312,311,310,297,292,297,307,302,299,299,299,297,291,297,301,287,296,293,292,287,294,296,300,305,306,310,316,338,336,344,357,356,353,365,362,337,329,319,318,324,324,330,332,328,331,331,331,345,350,340,334,332,344,336,330,331,336,339,332,331,330,322,322,330,331,325,325,312,316,308,310,315,316,312,312,309,306,309,312,312,310,295,311,307,306,306,311,311,316,314,314,308,301,322,321,321,338,338,349,359,363,367,371,375,371,372,397,386,383,386,385,354,357,350,340,335,326,325,324,325,326,326,343,326,325,328,330,325,319,327,324,325,334,337,332,335,334,338,315,319,319,319,321],[467,466,307,402,332,340,360,294,328,308,292,288,292,323,345,343,284,271,302,264,223,221,210,251,254,236,218,207,215,231,227,207,209,220,212,307,491,572,563,550,700,717,593,648,1046,1124,887,700,1484,1944,1250,760,617,650,1394,2372,2370,1976,1624,1436,1452,1224,1340,1430,1350,1110,898,794,519,400,390,433,466,898,1362,624,372,362,658,883,694,631,607,699,990,1212,1276,1052,653,437,651,637,350,244,228,237,244,241,293,346,326,362,766,786,612,449,460,427,492,881,1120,683,425,435,414,473,570,518,699,495,619,466,321,315,336,293,215,206,199,204,251,266,274,325,335,327,346,332,318,314,242,210,189,185,172,182,261,352,347,225,312,415,389,346,298,278,314,438,541,455,521,523,460,453,387,501,725,1034,1460,1440,1314,672,498,503,515,697,747,518,433,666,963,1330,1556,1294,1001,915,989,1028,1148,1150,1322,1048,641,411,479,973,1090,723,756,837,1028,769,982,1132,833,670,886,1158,788,501,537,622,650,675,756,1036,926,861,915,936,997,1272,1422,1670,1678,1110,597,586,759,859,684,597,774,951,950,1196,1684,1770,1464,1476,1602,1606,1372,1086,1366,1344,1450,1082,725,792,980,976,1416,1782,1568,1138,1004,1238,1288,1090,771,502,626,783,975,1176,1470,1530,1244,1230,1144,1122,1060,941,1460,1498,1276,1172,659,363,360,390,392,581,1086,948,621,583,486,745,1130,1286,1272,1246,1312,1458,1410,1076,767,1034,1284,1276,1378,1402,1134,918,1476,2028,1454,532,468,408,371,335,294,268,265,291,361,342,507,639,390,252,325,335,365,392,341,329,357,325,346,423,389,384,650,618,478,473,416,322,366,537,495,526,526,432,377,390,580,578,667,961,1368,1086,993,833,626,598,876,1088,908,649,589,1090,930,1058,1648,2126,1232,1156,1408,1164,1322,1366,1182,838,669,1104,1250,954,879,894,785,688,772,893,999,979,941,886,920,906,858,700,623,978,854,596,393,297,267,233,277,328,322,408,833,1244,1370,1308,1796,2078,1732,1466,865,480,569,683,1268,2074,2042,1766,923,460,522,597,518,459,473,441,385,429,615,933,1374,819,845,716,469,577,990,1186,1086,1176,1304,1312,1288,1442,1598,1494,812,602,1216,1644,1336,973,841,927,1062,1050,1058,1198,1400,1588,1550,1388,1008,1180,910,666,707,426,386,386,292,308,544,883,895,499,417,391,368,381,400,370,380,430,510,588,680,891,1248,999,788,550,529,841,749,342,316,489,850,1234,1400,1334,963,551,398,359,324,353,412,410,465,556,505,447,416,425,785,869,612,508,698,979,1144,1226,1332,1062,549,585,623,519,642,842,607,681,771,1164,1230,996,1034,1288,1216,1550,1238,732,554,734,865,1076,1098,1134,1264,1007,737,700,530,578,556,659,661,448,692,886,724,973,1316,1642,1958,1888,1532,985,897,1482,1632,1594,1266,1009,1180,1394,1274,1254,1332,1378,1320,976,819,684,615,657,758,669,634,802,1016,1198,1218,1176,1372,1578,1356,1092,1006,1082,1188,1096,1116,1054,844,866,1138,1258,1118,1214,1094,749,912,1380,1418,886,845,1054,1030,1312,1084,854,762,977,1062,1112,1080,1064,1154,1060,813,789,839,849,961,1070,1005,1076,1112,1092,1240,1512,1696,1808,1674,1332,1130,1184,995,694,991,1006,737,916,1698,1790,1410,1256,1392,1572,1232,1172,1742,2000,1590,1250,1494,1612,1584,1458,1174,1184,1172,1238,1598,1600,1084,798,667,760,1062,1396,1546,1562,1486,1454,1226,1040,1272,1456,1450,1356,1112,1102,1160,1458,1416,1140,1262,1480,1412,1236,1338,1320,1060,1116,1078,883,873,903,1554,1554,1142,1524,1832,1506,999,794,766,999,1692,2050,1926,1738,1238,1082,1018,694,555,790,1072,874,1078,1628,1144,1022,1084,919,659,447,506,981,1100,651,441,384,399,413,422,361,398,620,1046,1180,1412,1158,526,500,422,630,1262,1820,2308,2474,1662,1412,1384,1368,1136,938,1012,1322,1298,1072,1176,936,1146,1230,1160,915,691,546,826,1126,998,888,767,1124,1506,1500,1598,1518,1410,1296,1346,1230,1036,1001,1246,1604,1510,1252,1272,1216,734,987,617,522,661,945,1052,996,1182,1328,1788,2648,2226,1242,1036,1404,1500,1362,1478,1948,1664,1336,1352,1336,1086,828,932,1002,1328,1520,1672,1332,1148,1182,1258,1186,1022,1054,1310,1282,1190,1396,1396,1144,1008,990,1580,1574,1458,1358,1398,1466,1352,1368,1316,1268,1422,1992,1744,1062,884,822,818,627,867,862,532,416,482,531,561,664,836,1040,840,778,1076,1110,955,735,725,1186,1208,847,915,1082,1410,1470,1250,1042,1122,1019,726,617,893,1246,1362,1394,1396,1436,1388,1108,1148,1376,1428,1282,1216,1236,1324,1440,1426,1404,1544,1496,1230,1362,1336,1398,1440,1280,1358,1540,1554,1558,1458,1104,943,991,1242,1354,1446,1128,670,528,645,883,1104,1312,1108,946,1016,832,871,1088,832,465,788,1298,1180,947,1184,1522,1238,808,711,873,1200,1052,1202,1001,965,1524,1490,850,779,903,1001,979,1160,1102,802,1168,1042,988,1154,1166,1228,1210,1092,1011,929,1224,1318,1188,1016,945,711,874,1116,1340,1284,1194,1406,1460,1482,1334,1438,1494,1530,1454,1136,899,996,1088,1172,1384,1280,1356,1288,1230,876,1142,1408,1170,1132,1136,1122,1192,1009,966,1146,1224,1220,1052,1138,1220,749,963,1126,1108,1288,1252,974,806,591,677,1162,899,868,1009,904,855,1192,1280,1172,1254,1007,670,702,909,1136,664,400,396,548,882,1050,1096,1040,787,479,519,524,624,1132,1146,1284,1214,931,896,1080,1152,1096,979,1040,1196,1248,939,653,525,927,1082,1192,1148,982,889,1023,1310,1192,770,735,727,874,788,805,647,495,573,792,906,976,1670,2238,1062,462,810,998,854,919,1184,1266,1232,1344,1498,1352,1228,1288,1264,1306,1168,914,877,986,1378,1604,1552,1624,1388,1011,1172,1154,694,1010,971,773,888,854,1070,1548,1584,1316,1034,852,1140,1528,1278,635,514,782,1070,886,1092,1344,1600,1534,890,756,1252,1380,1250,1072,561,732,1108,1208,720,558,813,914,1410,1504,803,766,1262,1266,700,1202,1454,1834,2158,1778,1958,2720,2710,2404,1790,1384,1142,796,656,652,799,771,650,791,628,465,512,420,397,473,426,373,350,306,267,375,404,589,781,1060,1314,1292,1312,1390,1220,1398,1544,1007,1728,2044,1852,1468,1136,1328,1552,1230,1166,918,822,769,1013,757,461,471,509,474,514,492,359,343,451,586,544,376,351,298,595,695,583,507,343,358,474,434,340,367,330,345,343,341,291,284,292,289,285,302,311,303,311,296,320,324,301,286,304,319,316,304,354,379,372,374,392,374,398,398,413,402,403,404,415,397,377,375,377,378,390,379,366,361,380,412,394,397,405,405,387,385,375,347,336,345,343,339,363,375,351,362,392,392,399,407,424,432,406,390,391,392,407,388,380,377,365,374,374,372,368,378,379,383,380,375,407,411,413,415,420,423,432,414,399,400,426,437,442,426,420,438,448,462,469,472,466,452,443,452,466,451,427,442,451,433,437,430,408,416,408,397,387,384,393,406,401,398,373,375,367,362,366,365,365,364,367,372,368,375,377,358,382,375,375,379,372,361,355,357,361,367,365,364,358,365,367,364,369,372,369,361,368,381,371,385,403,397,394,392,390,396,396,406,413,405,376,368,394,386,357,356,370,389,392,375,370,375,358,350,353,342,353,354,353,350,358,362,358,380,372,358,366,363,337,319,328,366,386,412,430,469,478,444,426,395,374,372,366,366,371,381,445,453,430,412,407,403,402,412,414,421,447,460,466,419,364,360,372,357,357,381,383,376,375,373,366,354,335,317,338,348,355,361,359,328,322,321,317,313,315,328,312,305,320,331,320,300,298,290,286,286,285,292,305,310,310,311,310,308,310,299,298,298,302,300,298,300,302,305,305,306,305,297,300,299,296,306,317,317,313,297,294,301,302,297,287,295,299,300,294,299,304,300,301,291,292,293,287,292,298,299,305,318,311,330,344,358,365,365,365,357,353,350,332,323,324,325,327,327,334,332,340,349,325,319,334,336,343,350,344,338,339,334,331,331,332,332,332,328,328,334,332,339,338,332,325,318,307,309,315,322,324,316,311,307,310,307,311,314,308,308,306,307,306,306,313,325,309,313,307,311,325,321,322,319,335,345,349,353,357,359,366,385,373,389,391,395,385,361,362,359,345,336,328,324,326,331,332,332,324,340,328,332,324,325,325,326,325,325,325,325,318,321,325,319,335,325,315,310,304,310],[412,448,293,314,297,301,328,316,311,316,321,322,329,317,286,320,296,278,239,225,243,230,223,266,262,232,216,225,225,245,234,223,230,256,290,261,419,720,812,780,792,569,501,731,1026,1058,1038,1003,1274,1350,959,630,507,448,765,1060,1016,727,809,1362,1328,885,761,809,1176,1058,739,696,368,373,376,294,297,521,795,589,383,426,645,664,639,719,761,680,786,857,870,678,449,405,635,708,481,363,359,262,242,274,319,314,298,381,740,600,441,356,295,305,306,561,722,458,430,367,355,461,556,437,391,577,862,670,404,407,264,228,228,225,222,215,233,188,210,296,332,269,253,278,306,286,200,197,191,234,242,202,231,396,383,335,404,419,407,395,323,276,281,411,518,446,742,599,405,395,367,599,745,965,1440,1530,1066,550,446,622,664,847,684,395,420,510,675,933,1286,1034,884,918,1008,1142,926,890,1136,1086,716,359,474,1060,1256,882,1050,1146,1206,1082,1154,1112,795,462,730,756,439,436,582,861,1106,1238,1178,954,629,643,751,698,1054,1404,1340,1294,1438,772,436,621,665,872,1006,975,781,847,1068,1102,1276,1250,1452,2132,2132,1648,1290,1166,1836,1854,1302,884,615,602,791,980,1478,1512,1294,753,546,691,792,673,559,546,586,836,1126,1284,1078,1262,1428,1340,1306,1114,1080,1222,1544,1230,857,595,410,350,296,462,760,1076,1274,1032,687,629,532,709,1074,1330,1620,1526,1498,1470,1310,858,797,753,1126,1466,1426,1310,987,979,1594,1628,1274,523,432,415,371,375,352,268,258,286,248,271,464,523,371,365,359,381,393,405,392,398,401,382,392,427,394,346,711,591,469,461,378,426,567,539,434,490,586,628,470,629,1276,1410,1188,1100,1264,971,845,812,948,1142,1168,1344,1186,885,1018,1452,1074,1034,993,1452,1460,1122,915,966,1274,1328,1340,761,494,653,902,741,737,889,915,1124,1382,1428,1234,1208,1158,1184,1274,858,497,623,1016,1472,1126,462,358,326,301,312,307,338,340,442,1078,1606,1380,1088,1632,1684,1212,977,735,636,716,932,793,824,1000,1190,801,493,448,558,585,514,499,471,385,438,862,1170,1004,581,501,476,486,542,829,1176,1244,1368,1436,1496,1460,1434,1576,1240,733,525,1058,1310,681,451,511,744,957,974,998,1262,1512,1744,1470,1478,1588,1038,770,885,815,451,333,316,355,331,425,883,921,583,430,385,362,338,328,322,337,399,590,677,670,611,611,684,803,673,466,534,639,394,293,330,502,902,1210,1332,1304,984,623,386,331,341,331,345,454,538,481,431,436,533,867,1118,716,370,405,691,1146,1214,1040,926,746,678,673,521,508,471,449,429,534,1118,1640,1360,1466,1440,1366,1900,1314,789,635,808,902,822,813,1214,1136,734,540,417,328,378,373,588,747,836,1036,869,752,1100,1194,1422,1634,1336,1248,897,655,1350,1428,1410,1003,806,913,787,858,925,1126,1396,1454,1534,1478,1426,1448,1562,1534,1412,1514,1554,1456,1588,1540,1384,1492,1636,1330,1250,1200,1112,1120,972,824,904,877,775,1010,1176,1106,901,770,687,1122,1734,1376,762,789,985,1026,1040,1060,1132,936,1001,1034,1188,1066,1006,1036,1019,920,856,608,680,912,844,666,1072,1156,1176,1502,1764,1716,1298,1126,1342,1500,1408,1015,619,851,1021,963,1114,1566,1686,1268,730,778,886,747,882,1426,1938,1282,1332,1492,1512,1526,1586,1284,1036,1200,1208,1450,1714,1396,987,772,923,1128,1142,1158,1404,1554,1482,1330,1250,1204,1366,1428,1338,1428,1404,1618,1520,1154,1015,1076,1260,1166,1076,1498,1212,888,1300,1244,1158,946,1186,1878,1624,1140,1096,1015,1300,1168,1052,707,748,1090,1556,1802,1786,1842,1636,1226,745,513,725,1308,1194,968,1340,1456,1260,1044,1034,949,681,756,1072,744,518,430,426,397,445,385,328,339,423,509,716,1306,1434,683,569,615,845,1342,1952,2404,1990,1026,955,998,1218,1462,1510,1428,1542,1142,1056,1156,1148,1238,1178,1220,1030,842,904,1138,1102,1017,1082,1132,1274,1376,1892,1838,1372,1180,1068,1140,1416,1482,1282,1366,1498,1202,946,1090,1476,1114,810,558,561,792,1080,998,890,1238,1352,1400,1608,1572,1376,1206,1328,1312,1318,1566,1714,1440,1122,1050,1152,1076,868,845,1242,1390,1236,1382,1186,1178,1300,1294,1124,1128,1274,1098,1078,1368,1430,1212,1074,1240,1144,1500,1616,1454,1288,1476,1602,1168,1404,1370,1344,1290,1736,1294,916,701,507,481,642,689,508,459,420,455,484,470,711,1086,943,816,683,676,830,843,698,817,1296,1132,830,894,902,1132,1266,1302,1284,1170,1003,1100,1176,1246,1320,1230,1240,1066,1152,1436,1338,1248,1270,1276,1390,1318,951,1000,1360,1392,1426,1526,1416,1280,1288,1340,1482,1432,1400,1466,1458,1456,1558,1362,1208,1038,913,1224,1382,1360,1298,1194,1066,1078,1050,975,1198,1080,1302,1328,1146,981,821,639,652,1028,1248,1144,1040,956,1088,1098,1004,1168,1100,1212,1146,1206,1034,904,1092,1148,1056,911,1178,1340,1204,1362,1116,711,885,1058,1178,1274,1376,1210,1122,1168,1192,925,1318,1370,1192,1112,965,815,838,1262,1616,1494,1360,1766,1816,1538,1288,1370,1250,1314,1496,1562,1456,1384,1276,1278,1302,1288,1290,1434,1362,1236,1092,1220,1116,1172,1342,973,1108,1178,1106,1220,1212,1228,1114,1246,1392,1018,588,492,902,1384,1248,1072,1126,951,899,1260,876,847,1024,866,995,1338,1216,1280,1234,919,895,823,822,928,625,457,530,787,1114,1021,1007,880,823,496,485,616,733,1070,1198,1316,1206,1010,1003,933,1072,1028,980,1122,1166,1050,763,806,935,1012,957,886,772,735,793,966,803,739,683,573,641,701,760,666,590,426,407,594,760,767,1156,1246,747,405,702,1090,942,799,874,1013,1106,1162,1356,1428,1276,1076,1002,1088,1152,1168,1224,1220,1550,1630,1654,1842,1600,1224,1104,932,769,1108,1102,588,852,1044,938,1212,1136,954,764,1016,1192,1588,1842,1372,715,539,902,1316,1470,1340,1386,1198,613,1030,1460,1438,1002,643,380,695,1198,1136,521,476,686,922,1418,1196,713,941,1738,1812,1070,1136,1052,1202,1636,1792,2012,2142,1602,1354,866,828,819,835,888,793,773,932,1294,1428,1310,1266,1074,644,619,554,458,433,425,392,272,441,651,469,306,562,1030,1432,1382,1148,1130,1062,1186,1078,1606,1812,1616,1600,1412,1494,1510,1038,1412,1002,540,418,608,971,912,869,899,672,462,449,413,355,394,644,692,441,488,599,1144,1378,1432,1188,669,769,897,617,397,353,321,336,323,301,288,276,271,277,279,289,311,303,308,290,292,264,265,287,300,318,304,310,372,387,377,368,404,375,398,387,390,401,403,407,405,394,399,401,383,375,375,369,369,364,365,387,406,419,409,384,390,397,373,356,338,345,350,362,363,366,360,360,384,407,406,404,424,407,395,395,382,384,378,391,380,362,388,391,366,376,354,375,375,373,379,385,401,412,412,423,417,414,420,435,420,394,416,432,430,421,430,430,441,454,454,460,462,461,447,453,470,448,430,433,437,419,430,427,422,434,412,402,395,390,389,410,406,390,370,379,373,364,366,367,367,365,367,370,367,370,379,371,382,383,367,373,391,367,353,363,353,359,358,358,363,370,374,367,369,372,372,370,369,382,387,398,399,401,399,394,379,379,394,402,398,386,371,375,387,392,368,365,366,389,380,370,372,370,362,356,358,343,362,354,354,356,356,354,356,365,365,358,368,354,335,327,334,372,378,412,444,462,459,457,441,398,383,379,374,371,369,391,427,458,457,426,416,418,411,417,417,401,424,440,466,451,401,347,373,371,348,359,371,361,348,357,357,367,347,323,338,348,364,365,355,338,328,321,324,322,316,328,311,304,315,325,318,301,294,293,297,290,288,312,326,312,318,318,311,311,313,307,302,300,302,302,297,298,301,301,306,317,297,276,295,310,294,306,319,315,315,304,304,311,318,313,300,299,304,301,299,296,294,293,292,294,296,287,305,281,289,298,302,312,335,344,353,369,362,362,357,350,344,335,331,325,319,322,330,332,343,337,337,353,332,323,318,321,332,331,330,335,336,332,332,336,327,319,332,332,335,327,325,328,330,325,319,315,311,312,315,322,319,319,319,319,315,307,306,308,314,307,300,308,307,305,309,331,314,311,310,318,318,321,327,331,337,339,359,371,369,369,366,386,380,387,390,389,379,372,368,359,347,335,325,326,327,324,324,325,322,330,324,336,339,321,318,326,325,325,321,319,324,330,324,321,325,325,328,312,307,314],[357,325,281,261,271,298,320,312,317,320,313,312,298,283,252,278,250,222,213,199,248,256,218,228,209,232,279,297,283,269,255,253,267,285,321,321,450,869,1310,1112,692,674,724,801,1058,1576,1402,969,1110,1240,825,456,363,357,339,514,826,957,1036,1418,1290,1220,1110,823,1096,862,678,600,397,430,512,401,353,323,372,438,467,480,540,545,588,659,689,569,522,390,451,463,378,447,788,891,789,739,568,299,274,302,291,249,267,305,485,544,498,444,523,692,767,755,474,377,393,385,448,557,450,273,337,742,984,601,378,437,245,242,281,299,296,240,221,209,252,353,377,301,242,250,349,362,272,239,214,227,223,211,275,304,278,355,395,435,417,396,371,309,269,390,462,382,410,351,325,296,326,399,536,1302,1404,1408,961,628,591,942,1178,1202,1013,932,963,783,562,455,573,899,1130,1306,1042,1034,1146,1023,1005,740,486,296,363,738,933,889,1216,1476,1332,1208,1270,1294,887,631,471,339,429,587,569,1013,1318,1166,716,509,374,386,350,258,349,577,540,700,839,451,332,725,960,877,816,820,420,484,1168,1216,812,660,1116,1794,2342,1726,1204,1948,2258,1720,1388,987,539,595,755,866,836,1180,1448,859,509,691,825,711,538,567,616,608,619,1152,1294,1816,1356,1084,1346,1196,1136,1268,971,588,513,327,320,355,390,808,1268,1240,1466,1204,595,563,571,858,1820,2286,1894,1302,1454,1440,1172,1028,1090,927,875,1102,1214,1174,1174,1146,1226,1154,1048,573,423,408,384,373,296,192,240,292,274,266,267,269,276,372,400,387,386,398,392,347,300,300,321,329,355,310,708,570,345,341,290,282,366,416,447,825,1244,1024,515,529,1042,1212,1064,1048,1076,1096,1250,1180,1338,1450,904,1030,1274,891,1382,1664,1152,1156,1180,952,658,630,956,1250,1088,1140,1202,697,566,824,933,891,973,893,853,1144,1422,1512,1210,1122,865,1042,1356,1148,832,849,889,1208,1160,417,280,282,271,286,287,299,334,456,994,1488,1384,1088,1192,1328,883,602,767,1084,1172,1172,721,723,1050,1076,871,738,463,550,561,514,492,524,518,467,838,955,650,451,412,430,474,772,1556,1636,1606,1638,1390,1300,1282,1444,1554,1272,748,491,726,786,452,427,631,783,697,744,1116,1340,1678,1822,1432,1806,1952,819,637,1164,1124,570,363,308,335,355,376,589,580,453,425,347,333,361,413,359,598,792,714,691,611,600,762,916,828,539,407,395,554,374,282,303,323,496,873,1240,1380,1358,1134,752,477,416,384,408,457,452,415,415,429,659,1418,1844,1406,1048,739,1040,1464,1410,1094,821,912,990,1698,2078,1464,695,492,411,471,906,1292,837,969,943,1238,1584,1290,1168,1026,977,1266,1146,732,964,917,541,419,381,411,395,406,647,1152,1302,1044,819,952,1001,1052,1536,2054,1334,1276,1092,932,1242,1516,1334,828,935,930,689,678,611,688,700,990,1458,1494,1382,1388,1448,1492,1462,1440,1344,1438,1416,1072,1250,1440,1406,1304,1450,1360,1066,919,1005,989,890,963,1094,1088,1212,1144,965,963,880,2590,3494,1572,1042,962,1112,1010,975,1100,903,804,941,1110,1124,1064,954,1022,1232,1246,1212,792,705,976,1009,1050,1146,1112,1386,1634,1686,1578,1214,927,1188,1648,1764,1412,1096,1272,1268,1116,1300,1560,1588,1188,590,995,1628,1506,1642,1372,1296,1100,1572,1890,1898,1726,1616,1438,1152,1306,1166,1286,1682,1486,1052,809,866,990,1128,1268,1384,1456,1212,1260,1296,1192,1252,1416,1294,1318,1328,1046,956,1142,1092,984,1168,1212,1372,1702,1340,1058,1226,1316,1246,994,1042,1562,2020,1602,1044,1008,865,832,1080,1038,973,895,1090,1128,1660,2154,1462,745,470,540,960,1416,1220,971,1242,1266,992,735,781,761,937,1576,1426,523,356,435,584,490,479,448,387,349,297,289,521,1104,1702,1308,1246,1156,1310,1656,2024,2074,1512,1230,976,772,1234,1622,1702,1394,1288,1126,1162,1370,1376,1192,1228,1318,1260,1152,1034,1276,1458,1378,1312,1362,1400,1280,1638,1580,1082,901,1148,1304,1390,1394,1368,1368,1306,1066,902,755,1104,924,746,651,554,817,1084,911,1046,1428,1384,1492,1588,1554,1454,1440,1460,1426,1550,1490,1306,1140,987,910,905,747,889,835,1552,1668,1452,1264,973,797,1148,1200,1246,1202,1260,827,1112,1302,1224,1236,1372,1434,1282,1300,1412,1248,1252,1788,1756,1190,1512,1480,1434,1422,1246,910,689,691,422,449,666,691,611,592,450,521,609,521,1018,1230,772,581,531,709,1138,886,712,917,1500,1294,874,669,607,864,1130,1046,977,912,781,955,1180,1314,1124,1158,1200,1007,1138,1158,1182,1366,1310,1284,1212,1076,744,926,1078,1220,1324,1426,1496,1492,1312,1282,1484,1432,1338,1500,1550,1404,1338,1354,1376,1284,1316,1324,1308,1320,1226,1194,1238,1268,1272,1372,1368,1460,1592,1104,902,1052,766,582,952,1182,1202,1312,1208,1172,1094,1102,1364,1178,974,1088,1188,1270,1192,1150,1194,1023,1012,968,1274,1208,969,973,979,715,767,1180,1152,1262,1476,1290,1154,1016,1146,1272,1568,1510,1186,1072,1330,1312,1166,1348,1460,1230,1494,1774,1592,1494,1478,1296,1188,1310,1454,1428,1554,1606,1582,1478,1368,1260,1212,1296,1268,1376,1356,1322,1144,1324,1330,1028,1150,1166,946,1088,1220,1186,1382,1396,1058,1044,1072,785,1058,1520,1208,1138,1238,1144,1266,1332,1126,1070,1001,871,855,918,940,1360,1052,980,1122,1240,1112,947,637,758,901,901,1332,1198,968,885,615,609,628,642,858,1274,1288,1176,1152,1294,1256,1182,1238,1122,1164,1238,1058,1070,1258,1188,927,816,778,899,913,728,480,552,510,690,624,615,734,927,850,627,539,342,325,561,897,789,962,1234,1080,801,722,1002,1046,755,518,737,1120,1084,1104,1204,1042,862,739,899,1158,1258,1178,1356,1484,1252,1118,1170,1328,1088,900,905,1010,1156,1110,861,1284,1132,829,1048,1074,775,636,1266,1560,1812,1982,1870,1390,803,840,1440,1758,1476,1376,936,896,1282,1086,703,777,653,529,612,792,743,505,489,505,609,1174,821,551,670,1008,1016,1174,1252,821,728,745,565,725,881,637,598,612,760,1284,1702,1594,1340,1452,1742,1868,1578,1836,1672,1156,579,607,573,521,475,547,566,398,381,298,263,346,499,1044,1318,1240,990,1090,1614,1484,1320,1676,1600,1704,1746,1394,1356,1224,686,1070,1076,912,937,741,710,1038,1142,602,383,378,328,465,433,370,666,637,427,448,888,1594,1630,1438,1354,1144,1320,1368,853,476,339,336,337,320,306,295,286,272,268,275,277,276,300,311,308,279,249,241,282,357,393,346,346,393,386,358,352,371,373,385,389,398,403,401,399,395,394,394,388,374,381,369,357,367,386,357,359,394,416,401,384,398,394,377,359,341,341,345,365,351,354,374,378,395,408,408,408,404,416,401,399,387,383,392,401,378,348,352,360,350,352,372,366,371,365,375,390,395,405,415,421,429,431,408,430,423,384,399,423,428,420,412,417,426,441,436,456,462,447,435,431,453,454,448,444,439,423,418,424,418,425,415,406,404,406,386,397,412,401,373,361,361,370,358,364,364,361,367,340,364,379,377,381,385,383,367,379,370,352,344,371,355,358,353,355,361,364,365,363,368,372,372,371,365,388,394,402,402,403,403,392,379,383,392,388,386,392,387,385,362,363,362,359,360,372,370,371,371,365,360,360,359,334,331,338,350,352,347,353,362,362,356,358,354,350,340,340,337,372,385,428,467,469,470,483,473,430,376,380,381,375,371,378,433,465,442,438,442,414,418,418,424,414,419,424,449,485,421,353,363,367,361,369,369,381,371,367,347,359,349,327,324,334,348,355,355,352,337,327,325,327,313,315,311,310,313,323,323,309,304,308,307,299,298,304,310,320,305,300,310,311,311,311,309,305,303,300,292,291,291,298,301,294,292,284,297,306,297,304,297,308,311,305,306,312,313,307,294,295,304,304,295,292,293,297,300,301,294,293,295,294,299,298,314,335,348,357,362,374,362,362,359,354,353,344,337,330,319,321,328,332,334,332,331,335,327,325,330,337,336,332,336,334,327,332,338,338,330,314,327,321,311,315,332,318,310,319,319,318,311,314,319,325,318,319,319,325,315,311,310,303,307,309,299,306,307,306,310,324,321,316,312,320,322,326,322,328,340,350,359,368,371,362,378,375,395,392,381,390,394,383,375,366,357,349,339,336,338,318,319,324,321,326,324,326,326,321,324,325,325,325,319,318,318,315,318,322,319,318,339,315,306,306],[336,325,296,271,284,301,320,299,320,325,339,351,311,280,254,250,235,213,209,197,212,237,213,207,211,263,313,379,352,408,379,323,306,289,356,513,645,775,1015,1350,1046,937,875,867,1558,1908,1136,788,1206,1316,710,426,347,397,578,1316,1472,966,724,727,998,1744,1708,1054,1214,754,1012,724,467,458,619,728,478,309,462,698,674,535,555,566,599,602,617,540,429,379,393,390,314,774,1682,1316,937,1068,736,397,301,319,489,562,309,239,379,476,386,419,932,1198,1198,938,423,296,396,500,886,1038,552,318,330,371,335,237,258,254,207,326,417,433,366,262,221,221,235,279,318,296,221,230,332,401,356,290,260,225,178,209,287,281,285,296,285,406,401,363,322,240,278,452,449,333,313,328,314,317,362,401,752,1682,1256,1024,995,986,988,839,902,1214,1384,1250,1312,1254,602,399,509,813,856,957,922,1222,1420,1234,1164,1048,700,566,568,517,417,655,1013,990,937,939,1052,1038,849,583,397,302,370,561,759,670,810,647,331,350,332,276,243,290,339,361,301,395,478,351,330,596,825,712,636,878,915,672,1326,1288,615,393,653,1098,1762,1700,1860,2200,1670,1644,1670,866,451,540,697,610,632,1206,1206,771,856,955,767,711,726,491,536,564,762,1314,1722,2338,1910,1206,959,959,952,874,691,357,339,312,324,312,453,1068,1744,1772,1688,1370,745,910,943,1410,1622,1011,805,899,1200,1056,676,541,691,877,623,1056,1194,932,1290,1620,1206,1232,991,542,434,398,396,375,293,187,261,335,318,326,305,248,272,372,409,391,377,369,341,283,240,280,355,343,375,375,694,640,375,361,344,341,387,437,503,982,1552,1154,538,334,482,562,1034,1864,1262,940,781,831,1094,1282,876,889,1212,875,988,1102,964,1066,1300,1188,859,791,1538,1614,1248,1052,1172,1118,1160,1180,1072,1084,1064,1204,1158,1180,835,860,801,598,742,1108,1310,1074,738,866,960,742,749,477,299,303,254,236,233,218,196,385,944,1250,1042,994,1028,1021,708,789,1013,1168,1094,965,1232,1602,1694,1360,932,924,506,485,541,585,518,518,526,448,511,604,708,637,332,429,433,515,1258,1544,1836,1816,1654,1414,1426,1394,1386,1294,599,460,448,381,392,423,635,655,785,1044,1130,1260,1470,1574,1484,1286,963,554,445,618,489,314,308,314,321,286,259,310,345,432,600,506,437,364,505,662,1516,1692,1010,615,529,700,1128,1450,1066,417,316,301,291,294,314,320,330,340,499,863,1228,1330,1338,1252,939,607,462,423,462,516,472,412,505,822,1578,2094,1708,1438,1320,1586,1754,1628,1038,873,1124,1216,1680,2244,1922,744,404,363,344,358,496,430,478,571,753,864,806,771,740,756,984,926,659,830,983,793,737,761,809,866,716,582,764,888,778,656,930,1120,1012,1138,1284,1106,1334,1212,1180,1562,1638,1182,718,748,625,720,998,807,554,512,887,1214,1240,1122,753,647,1036,1302,1238,775,966,1009,842,861,716,685,816,1044,1488,1472,1120,969,1023,910,783,1024,1134,1236,1252,1270,1104,1142,2490,2902,1434,1214,948,727,981,1200,1060,897,861,1024,1122,1016,978,1050,1040,1202,1200,1148,961,867,1001,1086,1122,1124,1224,1496,1594,1398,1640,1996,1368,868,1136,1454,1274,1230,1376,1400,1332,1560,1678,1350,855,750,1840,4136,3924,2494,1174,862,866,1338,1638,1578,1616,1476,1474,1170,1060,1132,1156,1510,1556,1186,888,769,816,1046,1208,1296,1376,992,1284,1236,1124,1076,962,746,1166,1286,983,1320,1450,1188,1019,1130,1380,1400,1432,1290,1290,1164,1082,1074,838,955,1360,1994,2016,1390,1102,842,828,898,1110,1334,1256,1028,1130,1864,1584,930,567,486,877,1256,1426,1386,1324,1342,1154,889,874,927,427,503,870,708,415,385,485,572,525,448,407,368,334,280,278,375,826,1772,2022,1748,1584,1672,1770,1774,1364,1062,1240,1266,1048,1418,1482,1500,1232,1100,1038,1698,1532,1368,1238,1462,1550,1662,1404,1466,1842,1868,1722,1510,1794,1670,1446,1410,1440,1342,1428,1524,1300,1248,1394,1360,1090,1172,1330,1180,932,779,752,724,614,518,619,681,691,852,1148,1334,1316,1412,1458,1516,1620,1420,1434,1622,1428,1318,1328,1366,1068,1052,1458,1008,916,1194,1350,1386,1402,1262,1088,1308,1184,1360,1188,1376,1216,1116,967,877,1088,1298,1334,1276,1308,1406,1292,1388,1512,1246,1068,1344,1194,1076,1162,1388,1166,814,632,380,485,588,554,613,619,567,572,583,506,803,998,767,603,456,555,988,987,741,912,1464,1830,1116,534,646,927,982,721,588,636,717,670,999,1074,832,869,1074,1284,1394,1334,1366,1312,1402,1254,949,975,991,881,1452,1938,1470,1384,1426,1286,1152,1242,1414,1472,1440,1466,1584,1428,1582,1550,1406,1478,1502,1404,1388,1328,1138,1034,1052,925,1098,1340,1258,1258,1310,1056,713,613,575,830,1388,1316,1332,1466,1248,1424,1426,1244,1312,1394,1304,1084,1288,1340,1164,1364,1400,830,862,1012,1202,1296,1028,957,1252,1296,1094,1344,1112,1374,1160,801,885,943,1058,1136,1108,1122,1172,1250,1418,1282,1400,1318,1360,1422,1590,1538,1434,1216,1250,1406,1432,1296,1214,1278,1400,1346,1354,1504,1592,1438,1190,1220,1256,1194,991,1046,1130,1132,1268,1416,1210,1032,913,1054,882,826,1232,1196,1072,1342,1368,1188,1172,1188,1030,1204,1222,1084,1208,1376,1252,1116,1234,1484,881,1048,1318,1376,979,780,1009,1038,964,932,521,594,861,774,1306,1404,1132,1104,890,833,699,736,1058,1382,1220,999,828,1058,1186,1192,1148,1306,1346,1196,1072,1184,1166,926,833,689,846,1258,1234,913,533,339,554,824,921,915,889,1062,1404,875,426,300,315,492,818,814,953,1078,1386,1376,947,794,872,922,874,1568,1528,1142,1082,1028,777,572,704,833,1194,1528,1156,1068,1140,1294,1210,1020,1128,1102,1210,1260,952,933,948,1005,1148,820,925,1080,1068,546,510,1086,1384,1660,1810,1830,1668,1376,983,948,1084,766,712,576,1092,1376,863,448,552,504,554,777,944,713,590,561,517,714,1672,1174,901,852,484,622,1132,1066,648,553,597,708,659,426,415,455,476,648,899,1144,1138,1156,1498,1534,1346,1572,1788,1836,1064,413,406,485,451,604,1034,1148,752,737,518,346,364,482,540,792,849,777,1126,1582,1460,1534,1484,1196,1488,1570,1170,1206,998,794,1136,1012,852,1002,1108,974,913,1164,1082,432,308,330,471,506,387,430,462,451,390,639,1182,1270,972,1190,1382,1404,1288,1088,683,425,407,358,354,337,317,297,270,273,264,264,297,318,306,288,257,241,239,274,346,372,404,390,389,392,381,371,358,365,374,375,381,389,394,394,399,401,405,411,402,392,378,360,361,369,357,361,374,374,387,382,401,371,369,359,347,338,345,368,373,366,371,372,372,388,393,390,394,402,396,399,395,385,392,411,388,368,362,368,360,360,366,348,361,367,363,367,389,407,415,419,425,430,423,417,417,401,403,411,424,422,407,412,420,445,441,458,472,442,437,439,454,462,445,430,425,442,418,403,409,415,415,415,406,398,393,385,402,430,398,361,361,367,346,352,356,352,365,357,361,371,373,381,385,377,370,379,372,372,352,363,353,345,345,347,349,355,359,359,367,368,367,371,364,384,384,387,386,390,402,394,394,406,392,379,385,391,387,385,363,362,368,366,364,372,374,380,374,371,366,362,354,337,336,342,343,348,350,353,364,375,352,363,364,375,360,346,334,354,386,422,450,455,467,482,480,475,402,380,388,380,376,379,433,479,440,437,447,415,419,424,430,433,433,429,445,503,478,383,363,371,381,373,369,381,369,363,355,357,347,335,327,321,334,347,348,340,335,331,301,301,308,309,310,311,309,315,331,320,310,303,298,297,297,304,304,314,308,311,310,309,307,306,305,305,296,291,292,286,287,294,293,296,300,290,287,288,296,315,304,306,300,296,300,306,307,302,295,294,299,311,296,293,294,306,306,305,304,313,292,301,317,310,326,359,354,358,362,383,366,365,365,365,359,350,341,331,322,319,325,331,332,312,323,325,325,325,325,327,334,341,344,332,327,332,338,325,331,325,319,319,319,324,330,319,312,319,319,319,318,319,319,321,324,325,327,319,314,319,316,303,301,314,306,291,305,307,310,318,318,321,326,316,312,328,325,331,331,328,347,362,365,362,366,372,378,379,393,394,404,394,384,382,375,366,354,347,345,328,322,325,327,325,326,325,319,318,325,326,319,314,314,321,313,312,316,319,319,321,335,319,307,304],[278,338,354,282,287,279,320,297,285,323,368,402,335,251,227,247,261,250,241,216,198,205,231,226,235,296,321,405,484,457,342,343,289,399,708,770,679,683,620,1094,1486,1294,983,1332,1652,1158,879,1376,1782,1390,633,448,490,444,824,1590,1278,529,386,287,423,619,761,942,1086,686,998,785,601,598,1038,1168,515,458,711,695,578,591,567,570,552,559,575,518,457,586,904,982,387,637,1844,1316,899,668,501,359,274,292,709,741,371,350,336,402,302,365,658,668,675,536,341,262,318,424,646,670,333,288,264,244,271,251,270,268,265,299,377,426,375,270,237,204,190,303,287,267,202,225,253,335,375,272,197,180,192,250,267,284,282,276,268,330,326,290,241,225,383,569,523,394,398,352,344,392,437,430,964,1368,1142,825,778,1228,1246,1012,1440,1230,1072,1248,1566,1232,639,421,605,1008,1150,910,812,1380,1476,1272,1252,1134,857,901,797,667,611,679,910,1086,1058,929,973,695,821,720,499,352,336,388,447,557,755,736,495,469,509,372,301,495,522,448,480,450,394,370,365,437,434,451,633,775,1122,1344,1148,676,335,309,350,517,880,1070,915,897,1152,1956,1826,727,349,433,538,677,1256,1656,1178,597,688,1102,743,549,568,455,438,810,1232,1300,1470,2026,2366,1934,1534,1018,677,447,350,318,326,331,461,603,927,1426,1556,1542,1356,1406,1120,1426,1434,1678,1334,1030,1406,1300,1204,1292,1042,491,432,613,403,416,382,438,605,647,573,791,716,513,416,379,381,380,282,207,288,365,304,314,311,245,268,336,365,375,361,361,369,336,331,382,447,433,399,420,615,608,393,379,372,362,404,484,658,1144,1482,1108,612,463,516,568,1432,2482,1162,785,896,668,698,927,1036,1010,1070,1152,841,683,769,970,1154,1226,1300,1176,1672,1444,1266,968,824,1078,1274,1264,976,905,999,1432,1286,1488,833,710,656,601,863,863,987,1128,718,802,869,1090,1356,795,343,328,303,246,231,253,253,356,890,1266,1005,1072,667,538,922,1184,1310,1388,1344,1406,1336,1246,1450,1404,715,451,433,435,489,569,564,549,543,567,749,865,880,792,356,394,438,525,832,1378,1770,1758,1544,1428,1410,1294,1328,993,552,490,447,406,397,397,523,781,1258,1488,1346,1270,1248,1470,1288,1012,695,446,351,314,300,285,286,282,294,266,269,320,306,293,620,624,584,425,453,804,1842,2222,1294,773,796,617,859,1436,1058,494,336,315,330,337,314,291,294,318,306,417,771,1080,1260,1348,1346,1072,764,520,429,499,542,495,477,554,792,1058,1122,1356,1392,1324,1158,916,646,603,565,612,763,924,805,485,363,284,299,325,356,430,730,962,1038,1034,738,623,744,920,1013,1170,1372,1400,1354,1338,1524,1700,1746,1654,1542,1650,1626,1454,1450,1408,1176,1244,1264,1056,1176,1276,1172,1170,1328,1312,1194,1142,678,449,331,491,739,612,382,484,830,1032,1100,1004,694,478,688,923,1130,1174,1138,1086,1246,1286,902,703,482,576,1338,1616,1732,1550,1232,865,827,1222,1584,1474,1262,1096,1366,1344,1208,1294,1268,1278,1168,1001,1038,1032,917,833,911,883,873,950,963,1022,805,946,1296,1252,1058,1108,1114,1046,1150,1406,1548,1512,1430,1332,2042,2254,2198,1516,1110,1014,1102,1352,1458,1324,1300,1632,1732,1420,735,1168,2270,3442,3504,1990,1028,921,1048,1328,1058,977,1376,1440,1548,1156,913,1172,1296,1500,1404,1040,830,684,775,1248,1310,1560,1470,1026,1074,1030,1018,849,638,957,1422,1320,815,844,1048,1148,997,1290,1278,1240,1290,1306,1334,1146,1110,1196,1202,1030,935,1212,1456,1590,1220,851,916,1066,1156,1186,1320,1068,1152,1572,1522,772,518,664,814,879,938,904,1136,1512,1582,1376,1104,872,538,374,377,484,528,518,463,440,376,383,409,428,276,265,334,350,634,1394,1872,1852,1872,1776,1582,1274,916,1160,1426,1588,1438,1628,1404,1142,1104,932,3572,4392,1158,1440,1448,1502,1590,1782,1198,1540,2020,2068,1816,1566,1784,1832,1414,1350,1670,1640,1652,1402,853,810,1134,1262,1194,1268,1412,1262,879,826,945,777,597,523,560,607,916,1142,1156,1264,1398,1452,1418,1532,1480,1522,1628,1410,1202,1302,1264,1446,1034,1212,1458,1082,1150,1302,1338,1150,1278,1554,1458,1120,1216,1386,1396,1428,1218,1132,915,761,1054,1090,1080,1302,1438,1356,1486,1638,1284,901,715,921,1092,1126,1110,1262,1124,776,615,538,566,511,457,446,477,482,514,664,681,751,1036,992,698,483,665,1056,785,774,1180,1444,1162,662,599,569,641,645,617,549,561,583,607,858,744,582,581,741,1072,1120,1128,1017,1158,1368,1324,1026,1148,1192,1192,1452,1224,1166,1390,1166,1184,998,1282,1484,1458,1398,1432,1578,1356,1240,1298,1426,1306,1290,1342,1296,1256,1334,1342,1524,1274,1362,1284,1136,1242,1466,1632,1404,1046,889,1208,1456,1238,1226,1212,1158,1296,1338,1328,1186,1136,1152,956,1192,1180,1220,1540,1284,1268,1306,1208,1214,1212,1344,1510,1398,1354,1206,1158,1076,1078,816,1154,1284,1138,1250,1294,1190,1144,1246,1166,1250,1360,1414,1294,1340,1542,1428,1350,1090,922,1244,1248,1464,1448,1188,1282,1334,1278,1168,1166,1362,1382,1512,1534,1382,1290,1006,980,1238,1244,1370,1392,1158,1178,1166,1070,917,780,712,826,1046,1208,1396,1328,1220,1172,1140,1256,1276,1128,1009,1282,1242,1504,2054,1632,1222,1306,1218,1244,990,759,990,1122,1048,949,618,642,728,652,1234,1420,1594,1538,1414,1128,888,1228,1306,1422,1230,1258,1128,661,897,1150,1204,1170,1136,1222,1332,1238,849,612,451,430,750,1298,1300,1015,788,775,1064,1158,783,711,984,948,1028,700,438,348,334,386,571,668,633,748,1194,1322,1126,821,700,970,1208,1662,1362,1108,937,1002,871,634,853,991,1148,1488,1100,1017,1172,1208,857,627,984,1148,1138,1004,731,764,742,715,733,949,949,1132,1118,610,524,753,1134,1368,1456,1616,1868,1924,1552,1108,792,687,568,467,682,1028,900,677,653,442,640,1184,1562,919,579,513,475,827,1496,1338,1500,1416,743,863,1266,778,447,429,490,508,458,331,357,391,346,283,292,371,362,457,611,618,417,482,731,888,474,296,403,482,620,986,1454,1498,1292,1588,980,462,529,703,612,539,435,465,751,1004,1048,1364,1732,1158,1504,1646,1248,1240,940,802,916,723,659,810,1118,1152,888,781,1184,810,454,314,405,537,489,395,421,457,416,567,1078,1402,1278,1394,1368,1420,1532,1476,1011,566,461,388,345,355,356,370,292,270,260,265,293,314,326,299,273,252,248,269,300,338,332,374,366,364,368,365,362,367,370,361,381,387,392,399,405,403,415,390,373,383,380,369,357,371,369,352,372,380,382,387,393,376,376,373,353,331,334,349,356,361,367,375,383,399,386,383,408,400,390,401,394,376,383,399,380,374,374,367,358,354,357,358,354,372,381,375,396,403,403,412,412,419,423,413,398,406,403,394,412,426,423,424,426,451,448,454,473,448,427,430,451,454,433,421,422,446,433,425,418,421,422,418,412,396,390,390,398,416,387,366,364,355,352,358,355,353,361,355,353,355,367,372,371,371,386,375,367,355,349,353,349,344,340,349,351,353,353,359,365,365,358,371,369,375,376,376,386,386,396,397,379,390,379,379,385,390,394,394,386,370,365,378,376,376,373,378,383,378,374,366,356,350,347,340,342,353,356,359,366,378,362,376,377,368,360,350,334,336,368,397,432,450,469,478,486,472,438,402,388,379,371,387,443,496,464,449,445,412,417,422,436,456,458,449,443,456,466,421,361,351,381,363,361,361,378,370,357,347,357,361,340,316,328,338,336,334,335,333,308,317,328,315,310,315,315,310,331,324,311,307,311,311,307,303,309,307,305,305,305,305,305,305,305,306,307,309,304,290,284,288,295,300,296,286,282,280,292,312,304,295,293,293,296,301,306,304,302,301,293,312,300,291,287,286,301,302,307,318,310,325,313,318,332,350,346,353,366,356,371,379,362,354,338,331,331,330,325,325,330,339,322,325,334,327,324,322,319,327,332,335,339,331,332,330,339,316,324,330,322,318,321,325,321,319,319,319,319,319,319,319,319,319,321,332,336,319,311,314,311,306,303,307,308,290,299,309,307,308,314,321,325,320,332,321,326,331,332,330,340,354,357,357,357,367,372,378,388,378,401,398,388,377,375,370,357,347,339,333,338,324,322,325,320,319,318,318,320,324,324,322,326,319,309,332,330,325,312,324,332,322,312,310],[284,348,377,286,277,250,270,238,229,281,407,477,361,231,217,249,283,271,239,220,225,216,269,263,260,316,325,296,344,373,341,441,479,620,816,793,661,594,515,592,964,1272,1198,958,813,593,1006,1570,1572,1078,664,475,486,444,646,946,818,444,376,321,427,458,524,901,935,908,1080,971,852,903,874,647,464,685,819,742,622,499,501,533,537,558,531,520,647,1198,1700,1542,595,538,1086,987,779,518,346,306,375,444,333,254,317,374,316,332,250,314,494,427,310,259,238,220,263,326,310,284,330,265,250,290,323,284,279,262,220,232,249,301,370,285,267,332,358,416,430,299,249,269,242,300,364,285,201,234,269,325,344,352,294,266,328,313,238,247,256,257,365,403,370,316,362,378,411,443,430,622,1054,1336,1268,896,845,1322,1710,1632,1260,651,685,1238,1134,921,775,508,706,1202,1504,1354,881,1246,1446,1310,1326,972,521,523,657,955,1416,1438,1494,1464,1404,1424,1318,636,523,710,519,359,420,456,433,322,376,486,669,852,692,288,247,390,516,457,529,652,379,339,494,444,466,452,508,535,751,720,355,215,271,277,240,300,428,625,449,782,1236,1606,1280,669,403,359,560,1222,1742,1670,1450,1494,852,828,828,612,510,453,498,916,1208,1074,1080,1542,2150,2536,2088,966,480,357,357,345,323,304,447,742,1102,1402,1312,1220,1023,1396,1334,1158,1182,1156,1190,1496,1730,1294,1124,1346,1350,629,484,422,292,264,312,358,349,393,413,456,468,459,401,365,328,318,229,234,314,345,286,298,297,231,283,359,386,380,364,375,401,417,421,433,472,466,399,414,691,634,465,463,541,568,624,632,792,1054,1100,922,562,732,1092,1224,1344,1516,903,607,908,805,591,692,953,911,991,1554,1060,770,822,1386,1174,1220,1360,1156,1324,1112,850,854,845,769,755,748,562,525,839,921,830,1246,1266,1122,801,705,899,809,1210,1520,1240,1044,642,744,1132,820,398,296,292,218,227,280,354,379,851,1246,1154,1066,844,772,1300,1670,1780,1726,1610,1674,1540,1562,1618,1562,868,515,442,416,444,481,478,537,623,633,766,678,546,532,380,427,444,820,1154,1368,1530,1370,1230,1538,1542,1432,1192,657,552,592,547,508,441,381,583,916,896,841,937,1042,1188,1498,1222,815,483,365,347,305,364,444,338,252,316,320,316,342,367,349,714,755,545,537,616,703,1180,1580,1130,999,1150,1108,752,948,722,589,423,290,318,337,328,352,335,320,308,292,378,691,1050,1234,1344,1416,1320,1036,728,488,523,502,441,448,525,999,1560,1606,1240,1009,718,447,456,547,532,473,509,592,638,679,442,315,313,310,342,487,830,1056,1146,1230,1296,1466,1606,1738,1746,1696,1612,1538,1564,1606,1636,1596,1530,1582,1736,1786,1720,1794,1910,1820,1836,1968,1722,1402,1198,1136,1220,1180,1234,1170,1246,835,411,359,354,416,540,496,367,460,851,1040,965,765,728,790,623,822,1094,1058,896,874,965,962,918,1136,716,748,1444,1368,1550,1558,1582,1494,1392,1680,1708,1098,1054,940,1624,1690,1158,1180,1286,1388,1448,1404,1124,817,767,522,673,670,860,1017,794,944,886,816,1124,1350,1252,1136,1150,1086,993,1450,1370,902,1052,1506,1958,2002,2132,2024,1636,1034,863,1100,1460,1342,1234,1388,1622,1460,1012,1306,1534,1470,1208,1044,990,1092,1428,1580,1086,1052,1266,1532,1588,1262,1364,1564,1390,1494,1416,1112,883,688,954,1250,1194,1364,1376,961,855,1106,1180,1130,838,781,1148,919,494,726,1030,1074,1007,1064,1152,1376,1278,1282,1278,1190,1302,1104,1468,946,620,884,1100,1528,1696,1362,1268,1444,1208,775,1134,1292,1572,1422,1040,610,581,747,813,726,838,1376,1192,795,1248,1290,1260,817,627,653,585,632,814,762,486,399,334,371,369,448,408,416,452,401,450,937,1422,1670,1770,1212,1384,1382,1160,1568,1480,1332,1450,1428,1258,1166,1202,1106,1960,2024,1246,1272,1308,1362,1162,918,1260,1992,2122,1926,1602,1306,1408,1500,1154,1348,1542,1372,1300,1148,847,1098,1236,1330,1440,1376,1224,896,705,857,704,561,493,495,492,645,1054,1546,1498,1352,1618,1682,1444,1340,1278,1606,1670,1160,1118,1372,1620,1612,1194,991,724,973,1262,1306,1132,1090,1136,1592,1514,1276,1272,1354,1348,1342,1366,1344,1296,1046,1006,1306,1290,1372,1494,1620,1486,1302,908,688,769,955,1274,1114,1158,1180,927,665,508,504,495,545,554,442,436,524,806,747,684,745,826,935,619,438,768,1018,664,548,1158,1654,1206,670,648,559,597,847,750,814,872,636,557,596,576,725,785,626,879,1222,1130,922,1038,1482,1732,1474,1356,1256,1280,1356,1338,1316,1176,965,1158,1254,1408,1472,1430,1298,1366,1410,1298,1112,1346,1578,1380,1212,1230,1018,1260,1340,1310,1368,1324,1368,1362,1386,1456,1782,1608,1426,1434,1404,1262,1056,883,1190,1298,1156,1256,1332,1316,1234,929,1032,915,722,1020,1524,1514,1202,1166,1184,1368,1240,997,1098,1009,1078,804,1260,1310,1214,1054,1076,1290,1152,1264,1382,1190,1120,1180,1266,1260,1426,1318,1130,945,1072,1378,1448,1638,1110,901,1148,735,1006,1272,1368,1466,1206,835,849,1038,1664,3164,2666,1624,1550,1430,1460,1402,1412,1308,1324,1340,1298,1300,1126,1122,1034,984,967,989,1080,1322,1426,1282,1246,1194,1168,1120,1284,1348,1182,1248,1306,1452,1602,1306,1280,1224,1090,965,1018,1116,1256,1460,1158,932,930,1080,846,795,1076,1182,1390,1324,1240,1286,1798,1772,1446,1470,1122,984,816,901,905,851,894,890,952,1180,987,998,1160,949,419,341,676,1076,850,660,983,1302,1484,1456,1144,667,909,1050,745,735,582,454,410,451,495,593,803,1192,1088,1164,1194,748,541,874,1184,1240,1046,876,924,1126,1058,945,990,1210,1180,1366,1328,1256,1326,1402,1108,951,1096,964,754,647,603,679,780,974,1078,1182,1078,1316,972,519,643,861,1132,1102,1258,1570,1870,2034,2050,1732,1130,691,495,382,475,682,708,843,766,630,644,1282,1362,864,616,656,630,883,949,609,973,1170,784,1152,1198,858,607,560,569,554,514,439,388,391,378,336,371,373,366,368,298,291,355,346,406,384,342,369,346,388,625,852,1324,1290,1436,1866,1412,705,543,550,468,505,432,455,526,509,878,1350,2146,1382,1368,1764,1470,1244,1034,682,763,686,697,755,868,861,818,593,810,1116,854,392,455,543,487,482,426,391,552,896,1334,1598,1492,1262,1358,1532,1388,1258,1202,946,733,443,376,375,506,496,342,276,261,265,299,319,308,290,300,274,259,265,267,281,346,391,355,364,369,366,371,371,369,360,372,382,392,386,399,399,399,385,372,372,375,390,354,362,375,355,361,369,381,397,397,390,366,350,350,319,315,326,359,374,370,378,388,392,376,376,400,400,392,393,397,378,398,396,375,372,370,364,364,354,344,354,358,363,386,375,385,392,382,403,412,407,425,417,397,410,397,393,424,432,435,430,420,436,449,462,465,451,442,442,450,447,439,423,404,412,431,430,404,414,427,418,410,393,383,386,390,416,404,383,365,357,350,346,352,355,361,365,358,355,365,371,372,367,383,379,367,364,364,364,361,349,340,347,355,353,352,357,363,369,376,379,375,377,379,385,384,387,387,394,385,401,374,376,396,390,390,389,389,390,379,386,397,387,374,378,386,387,376,365,368,364,359,352,345,350,348,360,360,362,364,360,356,365,359,344,334,332,370,382,426,446,465,473,484,457,457,439,393,374,369,390,450,502,477,453,436,417,417,425,440,458,469,472,476,460,465,473,387,355,398,398,363,361,361,359,361,348,347,331,335,317,323,325,328,329,337,327,305,322,336,322,308,311,318,323,350,328,318,314,317,309,296,292,297,302,305,311,311,305,305,306,305,305,305,304,297,290,286,288,294,293,297,294,293,281,294,300,295,300,294,295,299,300,309,311,302,302,296,311,310,292,293,300,317,316,309,323,310,311,310,326,335,348,362,365,366,348,354,362,351,348,344,344,339,332,325,323,343,346,336,337,330,332,334,328,318,318,330,327,325,331,332,334,339,331,325,324,319,314,319,324,319,319,325,327,319,319,319,319,319,318,321,332,331,325,313,311,313,307,307,306,308,299,300,301,300,308,316,320,321,324,331,336,322,331,337,331,338,359,377,366,350,357,366,375,382,375,395,401,375,357,363,359,357,350,345,339,313,325,324,325,321,314,312,319,320,318,321,330,316,322,319,315,325,318,316,322,327,325,321,314],[292,323,366,320,296,247,252,253,244,259,375,491,431,276,265,288,327,297,213,189,229,235,273,277,231,241,225,210,266,487,752,1102,1122,996,1050,999,729,536,683,702,635,1021,1530,1366,1584,977,892,955,765,1698,2080,901,451,633,880,855,645,452,358,437,670,932,709,834,1072,1080,1356,1058,749,944,661,734,948,1126,1354,1040,753,811,876,739,603,593,594,556,567,1080,1208,1116,915,791,676,673,782,652,373,311,288,330,285,311,309,374,433,474,401,316,312,273,242,239,235,267,303,279,335,399,325,238,255,270,307,293,205,195,229,235,235,255,286,311,327,449,442,404,346,256,244,253,246,266,286,274,215,237,276,279,341,356,327,369,426,359,224,253,301,281,392,338,445,644,525,404,433,453,487,803,1096,1110,1030,1006,906,1074,1324,1368,1110,931,1090,1126,952,739,662,542,771,1150,1442,1118,773,723,786,874,875,735,651,691,735,821,850,634,983,968,1190,1130,947,604,406,422,362,456,474,530,485,321,267,216,430,617,422,371,409,344,372,435,628,709,381,395,673,533,565,572,413,494,577,377,314,343,307,329,440,574,392,551,832,1094,1142,905,620,478,446,744,1068,1596,1732,1460,1692,1932,1190,1132,1020,706,638,574,582,716,896,979,1260,1506,1706,2150,1504,784,496,380,329,303,303,282,371,601,1038,1328,1018,1054,1178,1408,1220,1238,1306,1256,1262,849,828,773,763,1242,1216,770,1152,1030,526,314,373,382,380,402,408,440,448,427,399,371,321,264,224,275,325,354,330,367,349,247,295,368,379,384,389,408,447,449,391,371,417,436,410,329,835,983,746,608,615,679,822,894,1076,1004,976,1132,689,748,1440,1614,1602,1660,1160,857,718,502,756,1030,1086,927,937,1730,1228,952,944,1482,1310,1108,1014,1050,1158,826,477,871,986,573,538,663,476,362,558,625,836,1264,1438,1124,752,591,604,629,1104,1406,1382,1158,951,907,840,732,472,320,267,221,231,285,326,392,920,1288,1046,1086,1244,1190,1294,1382,1332,1023,824,1164,1416,1342,1694,1804,1172,672,490,434,454,452,380,432,451,486,576,598,604,413,376,407,385,731,1150,1090,801,867,1174,1694,1566,1274,1212,867,475,466,473,483,484,601,876,919,692,678,1074,947,1074,1328,832,609,750,658,401,255,340,416,321,300,336,392,317,264,364,504,727,657,836,998,736,669,825,839,616,709,1254,1658,974,552,803,975,677,371,290,301,317,351,337,325,362,330,323,361,572,867,1154,1360,1432,1410,1262,1026,751,581,466,483,547,987,1394,1282,947,667,486,418,437,534,524,522,579,595,708,698,491,398,426,546,777,1062,1394,1542,1594,1708,1720,1638,1568,1514,1460,1426,1354,1322,1328,1288,1260,1236,1290,1352,1398,1416,1494,1544,1494,1566,1716,1820,1918,1816,1732,1716,1246,1292,1032,1001,974,555,373,413,420,540,644,503,522,551,694,771,715,478,626,877,1019,1216,1280,1072,741,683,669,534,524,709,499,806,1298,1492,1368,1066,1166,1302,1570,1708,1578,1019,952,1092,1136,1136,1110,1108,1226,1202,1062,1140,1096,891,1152,653,638,865,945,906,697,979,1192,893,915,1404,1384,1176,1368,1520,1478,1290,1070,879,1023,1282,1510,1906,2002,1700,1846,1422,749,797,1328,1464,1298,1300,1504,1188,1034,1158,1210,1422,1582,1878,1182,1262,1588,1582,1240,924,1176,1546,1672,1448,1444,1582,1100,1100,1428,1184,1003,708,953,835,684,917,992,838,1548,1900,1490,1580,1390,715,1062,857,681,877,980,886,1010,1032,1050,1286,1312,1454,1218,1208,1354,1352,1356,829,712,901,1138,1548,1950,1874,1512,1078,841,931,1007,1510,1830,1440,860,603,689,802,795,675,1178,1840,1636,882,927,974,943,601,621,922,782,673,1030,1015,752,533,399,413,500,575,483,384,454,456,453,883,1102,1362,1592,1448,1722,1536,1500,1642,1428,1238,1508,1744,1652,1600,1500,1324,1258,1670,1222,1230,1080,821,825,1296,2036,2370,2102,1772,1340,1064,1220,1552,1510,1390,1484,1544,1246,1096,1202,1220,1264,1360,1302,1260,1156,1015,606,650,520,493,602,1003,891,595,1026,1388,1296,1136,910,1344,1444,1354,1654,1618,1482,1338,1230,1210,1508,1392,1234,1186,1170,1366,1496,1354,1190,1228,1354,1460,1218,1210,1356,1384,1368,1428,1444,1566,1576,1444,1190,1416,1600,1476,1390,1542,1404,1090,807,668,665,854,1532,1126,1134,980,801,654,447,487,475,578,600,383,412,572,821,761,694,605,499,579,516,603,1072,993,584,927,1512,1552,969,619,634,698,763,760,625,848,780,620,699,656,575,741,709,584,839,1368,1362,948,777,1170,1494,1360,1238,1260,1310,1284,1366,1386,1122,1158,1292,1324,1438,1490,1506,1568,1344,1180,1470,1190,1324,1426,1328,1178,1136,1104,1354,1536,1434,1052,1044,1378,1506,1170,1252,1656,1660,1356,1390,1410,1218,1174,1214,1270,1244,1250,1270,1214,1134,1348,1348,1312,1252,858,989,1484,1338,1146,1278,1324,1128,1050,849,828,1120,1278,1300,1322,1042,1172,1164,1158,1246,1176,1272,1354,947,1004,1190,1322,1582,1176,836,1206,1224,1110,1276,1388,1616,1140,711,575,503,691,989,1120,1252,1166,849,921,1202,1600,2850,2396,1350,1170,1218,1266,1418,1460,1454,1552,1484,1432,1308,1248,1310,1030,1272,1214,1064,850,1190,1496,1280,1250,1182,1206,1120,1340,1396,1270,1304,1138,1001,1056,1338,1454,1328,1242,1086,1020,1184,1282,1362,1234,858,1064,1202,1034,1086,1112,1214,1282,1222,1118,1188,1346,1388,1390,1366,1076,984,1176,1204,883,664,854,1134,1050,1204,1194,1102,992,724,468,504,748,872,850,1002,1296,1592,1516,1462,1436,1054,1074,1206,1222,1011,773,654,536,577,557,783,977,858,482,921,1134,894,709,895,1064,979,748,580,884,1240,1042,1006,1110,1316,1306,1226,1278,1232,1424,1646,1200,1120,1328,1228,939,776,636,752,824,1158,1310,1134,1176,1332,1038,632,831,775,797,998,1242,1626,1852,2018,2100,1802,965,480,420,385,577,623,582,781,658,913,798,745,1006,749,466,464,522,637,574,639,1362,1334,718,1168,1094,722,651,721,715,547,560,469,500,514,512,408,512,658,506,363,383,755,834,431,586,562,504,428,460,729,889,1184,1706,1296,991,1482,1654,818,348,354,470,678,522,546,645,650,884,1174,1958,1638,1252,1710,1532,1228,1186,848,1028,801,711,765,832,856,998,937,734,983,1208,708,505,572,446,525,401,456,938,1326,1322,1490,1556,1372,1324,1344,1370,1558,1706,1470,1188,720,688,796,1034,933,519,301,275,273,299,318,293,273,283,273,261,262,274,280,357,375,342,357,368,373,375,366,355,351,375,387,392,397,399,397,395,383,368,383,391,398,360,364,377,372,364,357,368,395,393,378,366,353,350,310,313,344,367,379,382,383,384,382,365,369,384,391,399,404,401,391,394,391,376,377,378,370,364,358,341,357,374,358,360,369,384,386,382,401,407,410,421,417,414,426,401,390,410,423,437,434,414,411,436,460,451,453,447,441,443,436,437,432,418,406,419,422,404,406,409,406,398,390,386,389,400,393,404,393,372,374,364,342,346,352,361,372,352,357,365,367,367,367,383,391,379,372,373,363,363,353,347,347,349,347,350,357,367,369,357,353,367,376,379,386,371,390,384,383,387,398,376,368,383,378,384,382,380,397,382,400,397,379,379,382,392,395,379,365,365,365,356,342,358,343,346,350,350,356,363,368,377,368,337,327,330,327,368,379,426,457,452,473,477,444,432,427,390,361,363,393,448,494,485,458,439,424,414,417,422,433,445,460,472,476,468,478,436,379,381,376,354,369,369,347,355,366,345,329,335,322,319,314,321,323,324,324,320,325,339,331,321,323,324,325,324,331,331,321,314,308,295,293,295,302,305,305,302,307,308,299,302,307,304,302,304,297,286,286,288,292,293,293,293,280,289,300,307,311,304,299,302,302,300,293,294,297,301,302,318,314,301,307,314,314,319,322,318,325,338,348,348,350,353,358,357,337,348,348,348,337,344,337,337,332,331,330,345,346,341,334,325,328,327,321,325,324,321,321,330,332,335,339,338,337,330,325,318,311,311,316,315,318,324,331,327,319,312,322,325,321,328,332,331,325,314,311,313,308,306,306,306,306,306,303,316,325,324,314,315,324,328,338,330,331,342,345,338,345,366,355,351,360,363,367,372,382,402,413,396,367,366,360,357,360,354,341,339,342,333,327,322,318,325,332,335,322,313,327,316,305,327,319,303,308,322,326,338,338,334,324],[271,276,315,371,329,263,260,268,244,255,343,435,367,294,268,248,286,285,208,199,271,285,282,287,265,247,244,258,333,567,1322,1730,1624,1444,1338,1150,805,599,655,470,631,1032,1190,1462,1780,1870,1674,942,966,2596,3218,1454,725,1120,1354,1084,1064,918,571,460,858,1274,935,918,1154,1116,1252,840,866,925,747,886,1320,1794,1936,1430,1096,1190,1116,1062,799,675,601,542,629,715,525,546,540,463,442,499,680,563,475,637,677,416,325,257,274,324,443,601,561,371,260,236,203,236,336,514,500,363,397,457,444,386,351,296,260,250,217,265,270,256,225,257,281,324,334,477,642,505,293,234,208,213,236,255,247,215,228,264,276,298,351,380,425,423,411,341,255,226,279,224,314,328,571,786,648,470,430,456,619,1114,861,436,725,1100,1454,983,637,879,1432,1876,1304,724,765,585,519,589,837,1036,1021,890,719,674,710,687,634,773,949,775,502,463,426,421,480,512,544,551,710,557,298,244,359,522,426,421,437,297,244,309,680,1066,1206,891,405,318,332,417,639,643,536,481,554,645,672,561,556,633,513,357,352,389,637,755,905,1152,768,429,757,1254,1422,1152,810,593,641,1200,1580,1732,1378,1004,1394,1514,1228,1228,931,626,590,488,574,655,808,913,1240,1418,1322,962,573,452,420,397,393,334,325,338,514,968,1432,1046,639,1042,1344,1444,1324,1400,1926,1754,1384,784,756,776,733,1382,1370,1096,1218,1050,580,347,402,376,382,378,419,376,384,414,419,395,372,277,242,285,287,359,375,377,366,280,301,372,386,392,402,417,450,434,376,364,390,401,272,518,1046,852,557,480,432,512,725,1084,1420,1230,1196,1154,921,789,1190,1360,1546,1782,1376,1009,684,462,635,806,666,604,744,1152,811,564,564,797,862,909,1058,1116,1230,1064,515,921,918,587,429,405,367,333,383,422,518,832,1144,951,821,764,858,626,863,1130,1162,1216,1232,1224,1288,1098,475,311,251,245,260,272,370,433,780,1206,1310,1166,1001,1302,1168,1280,1506,1218,1112,1438,1352,1210,1396,1152,858,732,532,396,394,437,387,467,421,378,392,831,883,826,789,542,437,490,902,1486,1150,797,911,1284,1378,949,1166,1102,694,686,888,1222,1510,1526,1542,1274,1380,1278,1046,842,1024,1056,679,800,928,825,392,252,281,244,254,285,304,290,272,375,506,730,906,886,1332,1298,1116,839,1096,1046,594,449,855,1014,760,553,792,1138,874,507,330,291,290,328,334,329,342,339,315,285,323,417,678,1018,1238,1336,1402,1324,1360,1210,1030,817,619,703,838,861,746,490,400,364,378,446,563,571,500,503,692,886,950,1056,1276,1518,1656,1672,1624,1524,1490,1482,1432,1296,1186,1102,1002,876,828,799,794,777,738,719,821,863,850,870,924,971,1068,1206,1296,1382,1496,1550,1764,1824,1934,1832,1554,1236,935,822,747,615,442,585,675,468,581,615,440,343,525,565,591,763,1092,1300,1238,1250,1048,727,571,459,365,368,365,922,1336,1396,1260,916,1042,1166,1120,1332,1448,1536,1432,1280,996,1204,1322,1158,1294,1140,1252,1366,1142,1007,1340,1092,1104,1108,1042,1084,874,892,909,637,808,1380,1542,1552,1670,1632,1296,1086,1152,1118,990,1130,1478,1584,1234,952,1296,1750,1350,1152,1038,1250,1294,1358,1514,1140,828,982,1168,1458,1654,1892,1266,1660,1918,1588,1072,800,954,1394,1710,1416,1202,1586,1368,1026,1484,1214,980,743,667,576,507,886,1178,1262,1684,1824,1534,1434,1376,1100,1340,1130,825,928,915,997,991,935,998,1112,1088,1140,1606,2030,1426,1406,1304,916,818,890,1380,1728,1978,1792,1722,1230,1032,1026,895,1404,1508,855,572,679,869,799,689,597,937,1260,837,496,651,888,783,299,406,794,759,589,1208,1286,1216,854,553,537,587,532,360,287,404,459,543,982,939,1428,1476,1318,1576,1766,1826,1886,1880,1644,1724,1854,1664,1600,1582,1360,1788,2072,1346,1310,1562,1602,1804,2178,2328,2010,1476,1524,1456,1450,1372,1620,1352,1118,1284,1510,1426,1388,1456,1352,1390,1158,1046,1228,1316,1072,514,380,406,468,723,1302,1100,809,1180,1354,1310,1390,1312,1562,1402,1304,1458,1070,582,894,916,667,1158,1452,1300,1090,1001,1142,1448,1310,1240,1316,1322,1396,1490,1538,1570,1608,1532,1520,1424,1536,1300,1286,1256,1384,1570,1464,1516,1476,1294,1212,1096,874,861,871,985,813,791,864,1076,780,438,442,411,402,395,318,350,421,888,1214,890,587,769,960,691,650,860,733,1019,1886,1992,1744,964,579,651,781,868,828,736,641,498,548,622,529,494,700,720,597,804,1282,1390,1100,923,1050,1310,1202,1376,1362,1232,1190,1164,1216,1366,1494,1632,1570,1504,1372,1430,1494,1414,1226,1440,1324,1104,1224,1390,1256,1194,1360,1308,1256,1390,1068,1158,1308,1186,836,1136,1176,1208,1174,1144,1096,970,1015,1298,1282,1306,1360,1294,1172,1204,1352,1400,1384,1366,1172,1036,968,985,1066,1090,1040,1260,1064,1094,1336,1432,1472,1542,1076,977,1404,1164,1112,1184,1310,1432,1370,1070,1206,1266,1204,1278,1320,1272,1414,1322,1238,1262,1252,1102,1094,995,896,922,969,1030,952,948,1046,1128,1182,1204,1168,1296,1342,1060,1130,1104,1003,860,935,1408,1510,1388,1478,1336,1482,1448,1432,1592,1362,1188,1128,1260,1418,1390,1208,1208,1464,1556,1468,1412,1434,1038,819,831,920,1312,1556,1360,1038,919,799,974,1064,1112,889,735,907,830,846,995,1102,1472,1698,1796,1288,1256,1234,1144,1324,1350,1206,1210,946,709,680,767,887,1008,1012,1052,905,788,716,585,666,823,794,691,813,1266,1360,1552,1360,1334,1504,1442,1352,1316,1246,901,658,633,756,879,894,977,855,477,322,857,874,874,1106,1148,1070,813,903,593,840,1312,1206,1278,1278,1164,1116,1206,1478,1354,1242,1326,1262,1116,1262,1292,1046,731,521,945,1148,1082,997,965,1084,930,720,688,1044,897,742,885,1222,1422,1626,1848,1900,1288,550,528,739,820,968,992,800,821,547,516,486,1011,1392,796,509,474,475,397,399,996,1772,1720,1122,1354,1360,1094,998,897,721,570,851,886,661,642,664,491,745,1222,1028,541,468,714,783,727,773,604,660,520,667,905,817,1116,1658,1676,991,828,924,406,399,590,464,662,767,827,669,793,998,1106,1760,1830,1208,1450,1478,1350,1382,881,1050,986,754,726,786,829,1021,1306,1120,717,1082,1164,556,384,357,524,519,419,791,1210,1258,1388,1562,1578,1188,1366,1618,1748,1584,1054,1028,1210,1132,951,1066,1128,744,407,295,274,303,311,287,266,260,257,260,260,264,315,366,368,348,342,354,360,353,358,363,370,375,374,392,413,409,408,412,392,368,379,383,378,357,361,375,374,364,358,352,374,387,389,383,359,350,336,326,339,357,366,378,378,381,398,384,386,391,404,410,404,390,390,384,382,390,400,383,370,348,344,346,360,342,349,354,361,375,378,387,407,401,407,411,403,401,401,394,390,395,416,441,433,417,415,443,438,435,451,448,447,438,422,419,414,399,384,400,414,409,409,403,406,398,390,390,395,397,395,393,375,373,355,352,340,338,334,349,372,353,353,361,361,375,384,375,384,390,377,375,353,349,340,344,346,341,345,349,357,367,368,358,361,367,368,372,379,367,381,385,378,382,385,378,369,366,374,376,378,378,406,405,411,397,389,382,384,397,397,378,366,359,352,348,342,336,335,342,346,347,348,362,377,363,366,330,323,325,323,354,379,408,430,444,458,456,430,395,423,391,366,385,414,449,486,494,466,438,427,408,414,419,418,430,455,480,487,464,473,465,419,404,390,357,364,369,363,357,351,345,334,324,321,322,331,334,321,321,331,342,331,342,328,327,331,325,327,337,336,310,320,308,308,310,312,310,305,300,293,295,308,307,305,305,305,305,306,306,298,286,286,284,290,293,292,284,282,288,295,305,309,305,299,301,306,305,311,311,301,311,326,337,343,318,306,324,316,325,310,307,325,341,344,353,358,353,354,357,335,344,343,362,345,343,345,341,332,332,338,343,348,344,336,325,319,319,319,316,332,328,330,334,339,339,337,338,337,332,325,319,319,314,310,310,312,315,319,328,334,315,319,325,328,337,332,326,318,313,314,309,306,306,303,310,300,308,309,319,320,312,319,330,327,327,335,339,342,341,360,357,349,357,352,360,367,366,372,367,377,390,393,394,379,377,369,370,374,366,355,355,345,331,325,324,326,328,325,333,326,319,326,326,328,332,321,327,339,328,332,353,337,332,337],[278,280,375,444,364,286,266,295,238,227,317,391,308,278,274,260,295,287,223,203,218,222,240,232,223,208,271,272,380,755,1356,1578,1654,1568,1310,1004,910,946,709,605,785,946,914,1262,1620,1982,1380,612,658,1432,1634,824,692,1204,1584,1626,1236,885,960,947,850,731,855,946,863,826,772,922,1110,901,850,893,1194,1438,1434,1288,1250,1572,1322,1316,818,751,760,740,729,661,561,487,449,452,383,344,575,744,684,901,867,543,289,252,303,271,302,397,436,331,254,241,223,273,345,536,526,391,357,449,496,470,444,414,394,366,357,379,458,409,287,263,272,365,390,414,521,388,278,244,212,189,194,211,223,242,252,231,238,272,292,327,319,268,305,287,251,225,254,207,258,337,407,501,728,681,487,503,554,685,563,530,733,634,691,607,608,957,1488,1738,1038,670,744,530,555,711,902,928,1158,1058,796,807,747,714,897,1378,1144,840,516,400,384,444,488,447,372,357,332,236,211,268,355,424,395,388,362,262,313,692,1374,1834,1878,1036,412,275,191,355,576,796,876,787,645,675,719,631,818,951,522,338,403,703,1118,713,594,1024,1044,580,365,723,1376,1600,1360,829,1126,1490,1600,1376,980,1070,1436,1452,1234,957,740,665,505,502,669,921,864,604,644,882,706,396,405,441,492,561,554,409,339,346,616,1120,1252,703,423,686,977,1426,1644,1506,1744,1234,932,1036,1116,1100,963,983,883,628,433,512,438,346,393,390,403,380,377,376,392,394,398,361,285,230,308,331,325,334,354,355,373,305,295,371,395,402,412,413,428,423,421,421,441,377,393,1072,1420,916,492,485,439,378,379,473,895,968,1272,1330,858,847,1234,1034,1086,1594,1322,865,553,430,313,422,443,476,554,626,659,509,427,491,540,786,1015,1242,1060,810,574,783,789,621,476,365,341,312,301,417,828,1090,1068,783,903,1170,1422,1042,893,1120,1372,1482,1208,1162,1338,1504,585,263,237,249,292,255,259,368,574,870,1152,850,777,1090,804,1024,1394,1406,1574,1636,1198,892,692,449,537,574,485,354,370,497,470,401,419,406,416,510,537,728,971,974,753,998,1788,2246,1748,1192,835,767,980,949,877,1108,1322,1548,1692,1650,1616,1382,1272,1324,1418,1362,1232,1012,1194,1110,822,993,1136,833,401,353,303,268,282,337,357,289,485,1020,886,685,925,1138,901,651,1128,1190,1564,1512,744,319,362,760,1304,937,661,1040,1072,615,397,332,303,315,323,329,328,337,334,329,386,334,373,518,910,1120,1238,1302,1340,1432,1482,1370,1344,1180,1156,1266,1170,754,660,714,701,648,689,855,986,1126,1346,1494,1570,1642,1684,1700,1586,1448,1328,1184,1108,1114,980,727,688,738,750,1004,1054,815,514,502,633,655,762,780,598,549,557,544,546,592,691,807,974,1114,1286,1530,1600,1666,1858,1794,1698,1560,1594,1388,1026,1086,879,535,662,764,547,389,445,535,703,791,816,1092,1184,1400,1274,889,658,515,447,476,508,788,966,1184,1136,999,1062,1128,1130,938,861,968,1262,1432,1384,1322,1116,1030,1240,1124,1046,1086,1005,1104,1394,1328,1218,1001,1104,1328,1300,1390,1080,1058,1504,1646,1640,1616,1538,1222,1090,1224,1158,1021,1036,1316,1544,1244,847,690,751,1520,1758,1418,883,937,1190,1428,1438,984,910,1616,2180,2020,1476,1282,1214,1642,1652,1420,1660,1354,1268,1454,1576,1298,1310,2230,2104,1218,1220,1256,960,724,570,437,480,849,1244,1490,1382,1634,1472,1082,1012,1332,1722,1356,1016,1008,1104,1134,1015,839,695,718,769,1048,1276,1258,1314,1304,1256,907,753,902,1682,1776,1226,1422,1834,1758,1584,1386,1360,1300,944,759,602,717,840,768,672,650,595,527,361,285,301,457,424,273,318,575,783,683,1002,1218,1388,1176,888,705,606,477,314,331,368,396,725,1184,1024,1322,1478,1372,1530,1722,1650,1618,1472,1334,1546,1882,1992,2062,1816,1786,2200,1738,1202,1226,1354,1540,1790,1694,1740,1544,1352,1354,1588,1586,1450,1506,1266,1190,1368,1478,1428,1482,1406,1532,1346,1176,787,951,1114,796,509,386,515,790,1044,1246,1046,991,1216,1160,1350,1734,1614,1296,1224,1236,1208,924,678,681,802,756,1094,1140,1106,753,528,653,971,1154,1306,1354,1272,1234,1438,1506,1484,1504,1530,1568,1614,1176,875,1150,1284,1346,1400,1360,1510,1310,1378,1620,1492,1082,965,853,735,856,846,995,1142,742,456,447,377,324,348,436,488,440,814,1156,932,743,971,934,677,540,429,496,823,1576,1862,1618,844,594,688,683,698,678,588,517,514,498,526,536,476,555,629,719,939,1070,999,1108,1334,1390,1288,1362,1238,1260,1172,1116,1110,1456,1570,1504,1576,1378,1404,1272,1260,1146,1416,1390,1334,1314,1194,1354,1354,1116,1170,1248,901,973,1742,1300,1354,1374,1164,988,1070,1124,1250,1180,1114,1206,1244,952,1178,1370,1272,1196,1104,1192,1384,1338,1158,1246,1340,1132,1188,1188,1128,1094,1017,1015,1362,1408,1366,1418,1460,1414,1236,1072,1016,1294,1310,1400,1132,1240,1296,1230,1306,1282,1070,1072,1124,1180,1108,1334,1124,1218,1132,1224,1106,1172,1146,1034,1118,1342,1164,1062,1246,1448,1318,1284,1154,1062,1146,905,841,1166,1324,1322,824,897,1336,1326,1036,1138,1322,1416,1448,1544,1554,1520,1444,1348,1334,1484,1546,1390,1546,1838,1752,1672,1648,1266,923,959,1188,1426,1460,1132,1114,1180,987,832,842,874,1032,946,920,973,871,849,1016,1088,1416,1562,1370,1168,1122,1072,1158,1344,1350,1170,1168,948,761,646,761,916,1224,1158,1222,1024,852,880,620,510,452,521,523,635,1082,1148,1168,1048,1122,1328,1462,1380,1054,704,621,855,801,1082,1138,1316,981,577,441,426,498,655,891,1144,1412,1466,1021,1044,761,1084,1234,1190,1122,921,788,891,1288,1134,884,1106,998,1084,894,865,998,1192,1024,708,940,1124,1122,1042,1100,1382,951,514,953,1416,1164,982,980,995,1198,1564,1682,1494,710,464,664,1260,1272,1256,1202,1004,767,669,769,723,1334,1536,766,529,764,1244,951,503,475,796,1072,1124,1374,1196,1180,1132,1118,912,798,978,1062,735,748,655,684,1166,1392,1078,637,604,694,979,1306,766,560,621,549,669,894,1290,1338,1330,1662,873,536,784,705,577,688,549,501,802,809,615,926,1016,907,1454,2004,1130,865,1266,1390,1520,985,981,1248,996,708,742,735,810,1132,1152,707,723,1316,998,522,348,459,592,526,482,893,1310,1298,1344,1622,1482,1616,1576,1330,912,810,998,926,695,488,567,996,1124,662,355,293,308,301,272,259,268,271,279,266,298,364,351,343,339,338,338,333,339,353,358,353,356,374,395,407,404,401,399,388,371,376,380,357,354,371,355,372,364,363,350,355,384,390,381,362,346,351,337,325,350,354,365,377,383,394,390,384,377,398,422,401,390,398,390,386,392,395,373,377,356,348,350,348,348,358,361,357,372,375,383,407,407,415,406,406,419,406,388,393,393,412,435,434,432,429,426,441,427,430,443,444,437,430,419,423,417,388,382,398,403,403,399,413,405,395,402,406,393,383,374,372,362,361,354,346,344,346,361,367,358,355,357,358,364,386,379,382,385,372,363,345,344,347,349,344,339,340,343,352,355,361,359,364,363,365,367,371,373,379,378,379,379,376,379,379,378,392,376,378,394,406,413,401,382,382,386,392,397,395,380,368,364,360,358,359,354,337,335,343,348,350,359,359,363,376,347,332,324,329,350,369,390,414,427,432,422,406,408,408,395,383,387,411,448,483,501,468,443,443,403,404,408,415,445,479,507,515,501,490,476,440,396,376,354,357,361,372,365,352,345,340,333,321,321,327,324,333,350,340,329,352,347,328,329,336,328,334,349,348,308,305,318,301,308,322,321,310,307,299,307,314,298,306,305,306,306,306,301,294,289,290,292,293,293,293,283,280,287,292,295,300,299,300,305,306,304,310,310,307,317,318,319,343,332,306,302,324,329,319,330,344,332,334,343,348,349,349,349,343,345,344,359,350,343,345,341,335,338,345,344,348,345,339,327,325,325,325,325,319,318,319,330,345,344,340,343,338,338,328,319,315,312,309,307,310,312,311,319,331,319,325,324,330,338,336,325,316,314,310,306,307,301,298,319,308,313,320,318,302,309,325,325,321,327,332,342,338,331,361,370,345,347,352,357,354,367,372,369,372,388,407,402,393,389,380,382,388,386,380,368,352,341,339,333,325,314,325,340,343,338,336,339,346,339,331,335,354,349,345,331,336,345,349],[291,319,432,504,427,319,269,325,252,214,288,364,338,317,300,296,316,287,242,210,212,220,215,220,234,263,322,497,922,1468,1568,1370,1542,1720,1468,1164,1224,1384,1224,913,849,920,1044,1136,1508,1400,645,593,586,1046,979,648,796,1644,1892,1518,813,545,742,1046,1152,1094,1042,879,802,1074,963,1058,1056,938,1034,988,846,971,1500,1350,1338,1556,999,621,572,836,1160,1015,650,582,604,498,407,489,677,711,614,749,622,576,541,378,213,243,255,226,215,258,378,298,260,258,255,294,355,533,581,404,318,448,488,484,467,445,423,383,386,294,454,486,303,269,294,360,436,400,381,350,280,297,259,219,237,240,244,238,216,207,227,235,248,248,226,233,243,239,230,225,238,275,339,380,347,380,571,501,385,436,563,680,557,664,784,678,740,834,800,769,1001,1036,789,866,720,491,532,721,912,988,979,786,872,1060,1036,799,908,1230,1034,751,461,353,348,461,526,429,367,320,332,255,323,424,399,300,240,246,213,236,514,1278,1824,1518,1074,802,484,329,405,813,1144,1328,1138,1007,883,814,739,849,1009,959,480,357,460,1022,1072,465,426,842,1280,963,380,462,872,1478,1404,1412,1698,1714,1338,1118,1320,1560,1694,1626,1346,1026,797,517,655,813,757,844,630,420,407,423,383,386,455,434,412,415,416,389,373,391,496,1100,1362,811,470,563,824,1084,1260,1268,1364,1134,1066,1140,1076,948,819,771,875,824,637,505,381,369,386,403,421,416,373,361,385,407,407,284,208,277,380,386,359,299,333,363,368,292,260,360,400,413,427,420,425,421,449,437,351,515,1036,1428,1488,1156,705,670,544,438,573,796,1032,1116,1288,1274,907,784,1106,1080,700,1034,1030,700,744,738,665,604,484,428,534,778,733,561,381,350,401,818,1172,1156,814,591,586,1044,1052,605,490,399,339,337,390,956,1582,1470,1230,836,700,1048,1230,1188,1382,1338,1262,1640,1450,1994,1672,1866,800,258,278,258,281,241,248,286,291,463,628,1086,1078,803,557,828,1350,1416,1210,980,673,459,374,412,412,482,585,506,574,618,521,404,386,380,450,552,586,792,1030,1034,1232,1544,1788,1768,1528,1148,988,1230,1274,1142,781,735,1036,1434,1388,1506,1398,1030,1230,1528,1232,1120,1400,1196,1322,1334,725,813,1284,820,407,382,291,271,328,394,404,440,946,1588,1108,797,789,742,457,491,713,1212,1768,1400,638,422,384,634,1390,1340,814,822,774,603,550,386,323,314,325,330,329,320,318,371,388,348,336,373,592,778,855,1036,1192,1342,1366,1462,1512,1490,1604,1632,1498,1376,1420,1344,1278,1332,1444,1536,1552,1564,1574,1542,1516,1480,1440,1354,1150,955,847,760,808,913,795,836,1068,1262,1092,1406,1442,1188,742,544,678,783,991,920,580,594,809,836,587,434,483,533,524,613,747,934,1172,1384,1514,1714,1782,1692,1730,1740,1260,1350,1186,902,789,637,452,391,401,522,708,697,528,889,1686,1832,1262,1004,730,447,431,442,559,1132,850,922,990,916,682,809,944,944,850,718,880,1232,1280,1584,1510,1432,1228,857,742,803,816,1138,1422,1538,1548,1268,1442,1584,1570,1562,1578,1696,1770,1710,1432,1182,1270,1320,1178,1052,978,1168,1542,1584,1380,1166,833,702,1216,1644,1672,1382,943,1110,1280,1430,1364,1023,1132,1932,2216,1642,1346,1398,1544,1714,1410,1438,1954,1750,1548,1382,1496,1230,1156,1976,2308,1600,1090,845,672,614,558,414,532,725,1042,1486,1212,1108,1222,1076,982,1142,1142,960,902,863,982,1160,1042,1056,747,542,766,1184,1528,1616,1588,1794,1482,977,767,703,1338,1434,1074,951,984,1122,1484,1748,1622,1262,1034,1180,1190,952,1052,1362,1152,852,580,332,288,275,237,280,317,412,394,480,727,809,757,1088,1392,1332,1118,935,805,561,367,348,324,349,709,1160,976,933,1272,1322,1162,1118,1202,1266,1274,1250,1494,1748,1854,1702,1450,1860,2098,1682,1320,1260,1048,1009,1230,1150,1200,1364,1708,1694,1488,1400,1296,1214,1322,1380,1386,1368,1588,1634,1366,1562,1466,1220,874,676,596,534,521,589,702,916,1068,1360,1162,1042,1196,1015,974,1370,1530,1346,1216,1282,1086,1090,1112,1080,1124,1036,1136,1034,932,622,424,543,707,860,1118,1302,1318,1144,1276,1424,1402,1472,1560,1496,1426,1160,1116,1334,1160,1176,1258,1572,1802,1678,1206,1562,1554,1396,1050,748,686,800,1060,972,843,612,444,436,427,530,775,866,669,570,666,767,927,1018,1154,1164,742,558,514,531,1132,1682,1836,1256,838,840,675,533,580,633,608,707,604,560,579,576,533,609,797,988,946,763,741,1094,1164,1248,1208,1324,1252,1200,1268,1184,1148,1550,1494,1440,1454,1208,1190,1340,1410,1294,1272,1268,1238,972,871,1202,1272,1206,1200,1132,908,1244,1482,1002,1066,1324,1054,873,1126,1338,1328,1192,1274,1316,1492,1182,1356,1416,1366,1350,1266,1286,1234,1112,1176,1404,1386,1092,1104,1062,963,1062,1040,1150,1328,1324,1366,1418,1440,1298,1346,1388,1168,1278,1470,1434,1732,1604,1088,1198,1294,1042,929,902,1142,1114,1288,1274,1176,1162,1176,1164,1178,1200,1070,1196,1248,1172,993,1250,1780,2256,2484,1984,1302,1158,936,612,796,1326,1552,1468,1066,1136,1300,1154,1070,1122,1110,1180,1134,1290,1344,1546,1562,1614,1594,1630,1624,1566,1454,1328,1338,1556,1628,1340,1172,1106,1144,929,1042,1072,1162,1270,882,836,999,844,926,974,1098,1266,1194,1136,1032,992,963,1082,1162,1140,1172,1384,1526,1302,1222,673,661,925,706,749,1178,1476,1298,1003,1084,1058,854,732,495,459,440,427,675,741,769,736,724,894,982,1126,1376,1304,1007,630,625,1116,1136,1340,1324,1282,1005,589,374,372,558,882,1098,1220,1872,1742,1164,922,981,1124,1156,1216,1078,944,891,783,1088,1380,1376,1146,951,993,671,708,751,668,681,806,1001,871,565,892,1152,1510,1368,773,1070,1428,1090,855,783,717,775,1164,1408,984,589,566,762,1236,821,792,1074,963,510,646,1046,998,1230,1128,730,707,1232,1844,1292,599,795,1508,1376,1012,1212,1034,891,855,827,756,1026,1126,1042,810,651,656,934,1200,996,788,756,677,601,909,969,609,527,560,581,604,811,1358,1420,949,795,434,471,835,1088,788,522,519,603,700,614,524,719,913,755,1074,1698,1154,1007,1376,1462,1454,1138,972,1312,1066,687,678,764,938,1102,960,811,575,996,1358,976,418,368,526,633,434,673,1146,1274,1358,1606,1752,1588,1026,697,896,1338,1396,991,677,597,486,711,887,826,485,314,306,274,248,254,282,290,294,271,308,355,354,348,343,328,326,325,325,342,346,349,356,369,390,395,393,388,379,379,362,365,385,364,365,365,351,369,375,358,356,362,384,382,382,389,369,355,349,332,353,359,363,376,383,382,383,377,372,395,401,390,387,385,384,382,379,390,392,388,372,367,356,346,351,358,363,363,383,384,384,401,405,409,399,409,414,408,395,393,384,404,426,426,429,435,432,433,421,419,433,448,438,429,417,418,421,400,389,401,404,403,396,406,406,403,414,418,395,387,378,372,346,356,349,346,346,352,356,354,358,355,352,358,365,388,390,386,382,370,358,349,344,352,359,344,344,340,340,346,355,359,364,358,345,353,363,367,375,382,371,379,391,374,376,374,359,376,379,375,375,380,402,401,387,384,391,386,390,392,385,371,366,364,343,327,343,342,336,342,342,359,365,360,358,362,354,330,320,332,347,375,395,414,417,420,407,381,384,395,395,385,386,407,455,490,501,484,458,438,403,393,392,408,443,469,484,487,503,497,480,451,390,369,359,355,352,351,353,352,352,347,340,329,325,317,322,334,328,324,336,337,345,340,318,323,325,337,328,343,331,318,322,299,297,314,311,309,313,309,315,321,300,305,306,305,305,302,295,293,295,291,294,290,287,302,283,286,287,287,291,296,302,310,307,302,313,311,313,314,318,318,318,334,332,321,309,305,323,334,341,349,335,336,330,332,336,343,341,348,351,350,353,351,350,350,343,340,338,344,343,361,346,336,335,327,325,325,328,331,321,322,343,345,345,348,346,339,332,327,322,315,312,311,306,306,307,311,311,319,324,326,319,324,332,332,331,324,319,314,313,307,305,307,318,315,318,325,325,325,326,321,320,325,325,320,344,352,367,366,357,347,354,370,363,354,344,384,372,372,384,393,388,394,395,390,392,394,386,384,380,370,375,361,345,339,339,349,357,365,369,362,354,340,339,335,325,354,353,345,339,343,355,369],[339,393,553,571,468,352,297,327,281,225,241,318,362,352,341,301,252,253,281,228,235,271,303,335,319,316,527,932,1078,1226,1536,1662,1438,1602,1162,1416,1698,1670,1544,1108,1146,1266,888,1034,1910,1744,1192,888,1216,1878,1710,1158,964,1292,1344,914,597,489,382,468,739,1042,1250,828,769,1068,890,932,1144,930,679,666,518,857,1510,1204,877,828,1072,913,526,815,1354,1598,1250,555,484,603,1042,1444,1934,1630,879,788,638,476,846,743,310,283,217,196,233,336,467,346,310,353,364,302,352,473,563,542,452,470,496,493,455,425,429,383,329,321,537,630,480,296,312,337,414,394,375,325,281,303,310,277,288,376,322,237,263,274,274,291,250,235,243,259,272,255,227,247,297,386,525,463,328,413,404,370,374,490,558,528,641,934,1080,970,998,1382,1286,1036,735,459,440,573,446,361,444,747,1140,1410,1042,802,1090,1166,1064,692,658,700,763,682,420,371,396,382,387,345,324,321,340,342,341,408,453,368,270,285,344,411,784,1028,996,846,827,919,839,809,1048,1242,1140,785,683,1230,1302,1244,1086,965,872,666,346,351,501,990,1098,665,821,1020,1494,1394,985,816,885,1400,1556,1636,1628,1546,1222,1164,1468,1498,1484,1612,1528,1248,819,754,1130,1072,722,491,365,353,422,505,399,348,342,329,350,398,411,380,401,370,441,784,735,528,495,608,700,891,821,1006,1610,1868,1500,1124,985,915,924,926,1208,1244,1036,930,877,666,480,426,353,372,401,380,352,309,293,241,243,297,299,295,356,304,297,407,405,280,236,311,395,418,430,417,408,415,397,388,745,1386,1556,1384,1350,1372,1136,1272,814,510,814,1262,1164,1082,1390,1416,1126,745,1118,1162,700,742,862,965,1154,1234,1194,1130,991,720,703,849,621,478,378,428,481,800,883,914,970,886,755,923,902,558,432,465,365,331,361,925,1210,1124,962,727,581,797,1140,1396,1516,1744,1560,2040,1864,2172,1840,1758,999,258,317,285,291,275,304,331,386,628,905,1274,1112,794,669,828,968,906,797,665,587,492,425,452,437,428,426,550,725,764,625,456,443,422,477,658,816,1042,1228,1242,1460,1446,1284,1426,1336,836,750,1252,1562,1534,866,567,775,1334,1410,1578,1390,1406,2114,2030,1244,1098,1472,1266,1498,1430,683,541,799,561,401,390,278,297,351,412,463,713,1434,2032,1444,764,638,490,436,516,569,1040,1130,852,508,419,379,387,1106,1400,946,742,825,1282,1184,527,385,393,332,325,330,324,315,340,364,368,397,411,477,499,557,719,677,839,1012,1186,1218,1334,1426,1400,1438,1488,1438,1394,1412,1432,1382,1384,1396,1366,1300,1226,1114,1014,948,864,763,775,820,852,832,828,863,1162,1384,1672,1548,1518,1446,1452,1210,843,775,802,982,922,713,686,1080,1236,1090,1180,979,595,591,502,437,431,581,783,987,1250,1478,1654,1716,1738,1524,1404,1362,1316,1324,1236,712,472,409,449,465,607,761,969,1468,1290,908,823,609,431,372,380,472,998,1268,962,741,717,737,789,681,802,960,656,890,1060,1080,1420,1592,1576,1326,1032,774,690,832,1090,1200,1388,1714,1720,1726,1768,1780,1702,1704,1648,1476,1312,1108,1146,1412,1346,1036,1100,1392,1620,1448,1210,1300,1438,1210,1324,1794,1680,1238,949,980,1168,1428,1418,1220,1436,1372,1290,1152,1048,1182,1372,1492,1412,1324,1644,1706,1718,1620,1650,1664,1274,1106,1566,1844,1734,1206,736,603,573,566,391,450,816,1166,1376,1138,1186,1500,1472,1284,1208,998,1130,1282,1126,775,1256,1294,1154,1052,938,1104,1476,2110,1636,1566,1844,1638,1128,653,496,905,1364,1332,899,642,774,1170,1282,1234,1354,1376,1780,1792,1076,845,1056,1220,993,600,323,314,258,235,372,495,991,943,528,383,396,618,1176,1416,1134,844,852,868,695,414,235,267,382,702,1072,1019,1036,1202,1152,1118,1222,1314,1594,1786,1728,1854,2078,2134,2020,2048,1914,1460,1296,1068,1200,1210,1316,1278,1112,1024,1538,1958,1592,1396,1372,1216,1314,1290,1456,1556,1476,1608,1600,1252,1270,1222,1294,1188,646,492,526,740,818,849,971,939,1176,1126,1316,1332,973,930,1142,1226,1038,1246,1594,1444,1272,1074,1003,1009,1166,1188,1300,1340,1011,582,554,571,901,1202,1306,1318,1344,1536,1418,1452,1514,1490,1522,1496,1410,1562,1672,1430,1510,1300,1532,1642,1308,1322,1434,1336,1242,878,596,663,858,735,513,612,561,415,396,411,587,794,774,628,631,705,620,1080,1188,1084,1046,673,579,549,439,1100,2148,2088,1244,967,821,639,546,516,545,682,865,686,580,658,645,548,838,1252,1150,750,663,667,746,1014,1226,1378,1330,1282,1252,1234,1172,1280,1206,1054,1054,1330,1240,1316,1354,1260,1218,1250,1298,1194,888,677,864,1292,1350,1220,1152,1136,1224,1198,983,960,1068,1224,1278,1306,1392,1162,1011,1130,1240,1730,1556,1280,1472,1504,1268,1362,1590,1284,1100,954,1118,1258,1230,1048,1142,1138,1148,1064,860,1214,1230,1232,1114,1304,1378,1982,1574,1212,1418,1418,1246,1248,1272,1382,1162,949,922,919,857,1172,1242,1104,1230,1400,1300,1202,1118,1310,1376,1108,1170,1428,1250,1038,1106,1558,2242,2502,1834,1298,1132,980,687,1038,1624,1628,1600,1276,1170,1232,975,935,1182,1338,1246,1310,1298,1284,1406,1508,1540,1448,1428,1578,1516,1422,1394,1516,1610,1616,1410,1438,1298,1212,961,1042,1048,1162,1184,802,898,1246,1166,1126,1060,1114,1260,1118,843,870,956,886,973,1100,984,1052,1194,1312,1232,1006,583,1012,1116,747,798,1007,972,753,810,898,761,706,720,466,334,325,598,1136,1013,610,541,549,832,910,824,1084,1026,833,722,522,839,1238,1232,1220,1176,921,709,766,638,828,1134,1192,1154,1572,1554,1264,1176,1026,978,1248,1186,891,691,769,908,791,1106,1190,1028,1052,845,522,621,745,754,1078,1034,1144,1082,793,1520,1730,1706,1334,1070,1238,1244,1308,1266,747,442,455,647,941,766,1007,1005,914,753,314,416,750,977,686,825,1334,870,505,735,866,946,1214,1430,951,468,883,1578,1230,1080,915,885,949,915,625,452,461,580,811,979,1148,896,854,817,941,1098,971,727,530,729,926,759,675,908,871,515,565,1260,1792,1272,1132,673,506,1126,1310,850,657,678,678,539,599,613,506,800,778,784,896,794,1076,1640,1756,1640,1314,951,1282,1174,765,697,820,1188,1190,874,758,525,616,1180,1378,767,610,606,615,524,437,846,1266,1382,1386,1624,1604,956,557,836,1250,1308,1164,734,619,575,636,583,661,598,372,287,258,235,254,294,300,314,330,356,354,351,350,341,334,334,324,318,338,335,341,352,364,374,372,386,391,385,379,368,365,376,362,366,364,351,354,366,365,370,365,366,367,374,382,369,361,361,339,336,354,363,370,376,375,392,397,375,387,387,383,389,384,393,383,380,390,400,386,370,371,379,359,365,354,357,366,385,387,384,386,401,382,383,404,404,408,401,396,384,399,413,418,426,432,441,429,427,421,425,441,438,424,411,404,401,400,403,396,378,387,401,397,414,413,395,408,413,405,387,367,356,350,344,350,350,349,352,353,352,352,357,364,371,375,384,383,377,375,364,361,349,349,365,349,347,341,339,350,361,355,362,357,335,350,371,371,365,371,376,382,398,378,374,376,366,368,373,384,378,390,397,394,392,378,382,390,389,390,380,373,368,356,347,345,362,350,350,350,340,360,358,358,359,354,346,325,315,342,354,379,395,399,412,423,406,377,372,388,398,393,403,430,476,503,479,458,443,424,408,398,385,391,424,424,433,439,492,505,489,455,404,376,364,361,347,336,342,350,355,343,335,329,337,324,333,328,313,321,329,333,349,342,343,342,333,333,321,334,336,317,309,300,296,300,303,305,307,311,311,315,313,312,306,306,308,307,297,297,308,293,297,297,282,301,305,286,282,293,293,297,299,299,294,309,310,312,319,306,322,321,322,328,330,328,311,309,330,344,349,344,341,344,343,337,343,346,349,350,350,350,353,349,351,350,343,345,343,345,341,356,345,335,336,330,319,315,325,332,334,342,332,353,355,353,346,342,336,330,324,316,312,312,306,307,307,306,309,313,319,319,318,318,316,322,330,326,315,301,305,313,316,316,322,326,326,326,325,326,335,336,333,325,328,313,333,357,355,346,347,349,352,351,361,382,351,388,378,377,378,375,384,393,394,395,388,382,370,375,378,382,386,366,354,347,345,347,337,336,359,354,349,342,332,326,336,353,346,345,349,362,372,365],[449,440,524,547,445,311,312,347,297,252,303,391,391,348,331,291,255,281,333,261,268,331,380,404,398,491,876,1260,1286,1744,2714,2336,1542,1594,1534,1736,1732,1560,1260,1196,1792,1278,585,576,1314,1556,1602,1442,1736,1756,1850,1864,1266,753,799,633,567,536,545,725,943,1084,1326,1272,1268,1260,991,761,961,718,525,536,508,655,961,892,742,845,1550,1614,687,644,979,1554,1188,731,557,808,1406,1820,2116,1710,994,807,740,474,693,518,337,320,260,258,283,338,468,526,433,519,656,411,361,420,479,584,450,451,471,495,441,412,426,380,319,406,832,1108,838,378,333,365,462,381,322,293,252,358,550,680,1001,1060,797,397,295,306,306,271,242,254,254,265,278,265,221,270,341,418,427,364,303,372,358,378,402,534,667,702,865,1034,991,914,1120,1340,1246,1250,1058,603,331,355,391,411,613,822,861,949,701,701,892,892,744,522,471,515,821,938,513,433,356,295,272,247,214,225,250,290,259,419,800,882,608,537,522,618,887,761,750,869,1042,1260,1388,1372,1140,803,502,369,422,897,1272,1200,899,719,662,460,358,593,691,625,990,1240,1032,952,1013,705,650,686,969,1406,1578,1336,959,1172,1384,1334,1490,1338,1074,1490,1530,1364,1234,1402,1382,943,542,339,283,366,434,476,436,465,427,382,390,426,415,386,353,339,386,516,399,401,426,657,792,1038,739,1212,2336,2206,1436,1340,1488,1404,1266,1216,866,687,739,919,1058,818,644,597,546,513,394,390,395,299,247,240,304,376,349,435,547,529,724,921,397,271,260,292,380,422,439,454,456,444,531,896,1354,1396,1382,1378,1516,1638,1678,1942,1096,405,739,1144,722,607,821,929,817,513,794,691,648,655,860,1084,1218,1180,933,1072,1072,794,625,763,698,551,640,744,882,983,913,951,938,817,720,698,708,506,373,385,373,334,329,680,946,849,772,1021,1328,1460,1580,1548,1442,2072,1896,2048,2110,2026,1746,1808,1178,291,309,325,334,346,345,367,542,739,784,683,720,680,576,742,919,774,648,711,777,596,430,428,415,428,476,555,554,616,578,402,383,470,618,830,850,939,1034,1212,1452,1470,1338,1096,710,539,614,1086,1492,1138,748,715,592,645,1003,1384,1446,1470,2110,1900,1470,1206,1472,1300,1760,1446,1010,1164,1200,949,736,709,541,555,523,555,572,724,1198,1372,864,549,689,731,686,714,641,1048,855,599,421,386,350,299,619,867,849,1050,1550,1618,1150,550,422,338,264,281,315,324,329,333,342,347,355,411,466,424,493,550,493,483,636,716,767,965,1062,1172,1228,1180,1158,1152,1156,1188,1090,1042,1005,916,778,714,739,719,741,881,941,1152,1336,1166,761,561,889,1160,1122,1214,1450,1556,1526,1428,1256,1108,1038,1242,913,846,1046,1262,1598,1488,1416,1628,1460,1194,1134,719,523,459,454,459,474,630,905,1132,1390,1578,1634,1570,1476,1274,1316,1190,1196,695,554,457,406,631,997,1228,1176,836,668,457,449,419,367,311,453,813,1158,1130,1012,766,736,886,770,619,651,720,1144,955,1152,1368,1306,991,1178,1324,1264,1500,1522,1494,1576,1638,1458,1436,1576,1576,1550,1560,1568,1520,1438,1340,1262,1318,1460,1416,1218,1412,1500,1322,1210,1418,1754,1804,1818,1952,1412,967,861,775,1056,1280,1550,1506,1858,2410,2148,1278,1009,1204,1304,1516,1180,1240,1346,1746,1644,1732,1738,1466,1522,1306,1088,1658,1802,1600,1228,1210,865,590,582,419,339,791,1392,1600,1550,1378,1560,1416,1074,1172,1100,1644,1756,1456,999,1156,1372,1180,1226,1218,1168,1242,1470,1198,1360,1336,1324,1086,833,642,904,1896,2428,1908,1116,883,816,737,1504,1932,1638,1440,1248,894,710,693,711,698,509,307,243,223,223,295,682,1246,1184,565,304,327,463,730,931,650,669,731,694,525,365,327,515,753,910,938,983,1148,917,890,1392,1886,1830,1964,1936,1698,1724,2054,2186,2136,2172,1936,1386,1298,1228,1276,1196,1272,1406,1410,1106,1224,1386,1330,1598,1440,1170,1114,1162,1424,1394,1152,1272,1442,1110,1086,1268,1282,1046,603,569,879,1230,956,927,965,1334,1354,1294,1550,1530,1186,1294,1482,1394,832,1024,1600,1994,1494,1224,1034,962,1144,1382,1446,1396,1174,799,877,804,1184,1386,1338,1246,1428,1542,1328,1418,1508,1568,1844,1844,1600,1790,1524,1402,1324,1342,1632,1506,1316,1474,1322,1058,1182,954,859,990,1134,1046,714,691,588,433,460,491,586,744,691,491,492,631,788,1442,1224,936,865,692,711,784,840,1404,1838,1770,1052,708,667,705,618,554,581,670,643,604,576,596,605,625,1001,1204,1042,868,775,716,708,860,1062,1146,1042,1038,1170,1176,1140,1180,1019,957,1078,1170,1236,1324,1048,969,1136,1272,1398,997,907,875,987,1202,1372,1280,1156,978,986,1222,1046,926,1102,1568,1070,1007,1082,1122,1344,1552,1400,1598,1696,1526,1270,1040,1100,1328,1402,1448,1328,950,1078,1294,1252,1052,1188,1336,1372,1256,1144,1216,988,1116,1196,1284,1250,1464,1344,1458,1360,1274,1400,1302,1294,1338,1138,796,892,1110,1104,1180,1448,1316,1180,1406,1454,1050,850,1292,1448,1106,1240,1524,1488,1172,1232,1482,1764,1758,1454,1292,1058,1148,1170,1144,1152,1374,1434,1160,1132,1168,1060,1082,1240,1158,978,1220,1390,1268,1252,1286,1394,1338,1360,1492,1306,1078,733,1006,1208,1252,1454,1500,1426,1432,1272,1080,1003,1190,1003,540,685,1015,1118,956,949,958,1040,1220,1246,1100,1040,1086,1126,988,857,998,1334,1492,1178,861,840,1152,1130,1110,1094,799,463,579,885,813,974,1102,780,456,381,602,811,1122,1290,829,557,759,1120,979,725,871,874,600,592,684,1096,1288,1072,1023,807,823,946,1250,865,644,802,749,865,1210,1310,1236,959,728,912,1078,984,1132,883,841,1021,916,1078,1068,954,977,1023,899,847,872,878,948,901,969,1016,948,1602,2386,2110,1142,721,730,946,1588,1394,966,684,542,455,518,722,1138,1108,1094,964,401,405,723,589,514,668,1148,818,467,533,756,911,1268,1472,807,461,602,910,1004,1388,1392,1288,1196,1040,657,414,452,459,404,605,974,808,564,624,794,793,941,937,571,486,443,475,528,580,490,523,752,1028,1164,1226,1250,727,474,838,949,737,877,796,573,523,536,621,469,597,691,783,996,1236,1502,1664,1438,1180,1026,874,1068,1428,1076,847,821,952,924,863,833,643,483,746,1382,1316,1030,835,646,662,486,695,1176,1368,1418,1566,1696,1358,662,697,1007,1334,1416,915,779,713,601,587,561,551,434,325,284,272,281,291,307,339,372,371,365,361,339,328,330,333,322,318,334,334,340,343,367,368,366,372,388,382,376,374,368,367,369,361,340,342,368,374,368,360,355,358,379,382,369,353,349,338,332,336,350,360,361,366,376,388,400,381,378,385,389,393,384,395,384,361,359,385,401,380,360,357,360,375,357,353,363,377,378,375,375,367,372,387,388,401,401,401,403,399,402,411,432,444,437,407,417,441,427,427,427,435,427,412,404,394,392,397,387,381,398,414,404,402,397,398,408,425,413,393,370,365,364,362,357,355,358,352,353,346,350,354,358,362,368,385,386,389,393,369,369,358,347,349,353,350,341,345,350,353,353,355,358,355,365,369,367,371,379,397,397,385,368,372,374,375,375,359,384,398,409,397,385,394,379,373,384,389,384,376,390,365,364,359,365,372,365,353,346,343,350,358,359,360,352,342,346,329,334,350,377,393,397,399,393,380,363,354,371,383,392,412,444,466,490,479,462,445,427,424,404,385,378,408,401,400,413,458,490,519,462,401,391,369,355,347,361,348,355,350,338,325,328,343,331,322,322,324,347,336,318,339,350,348,329,347,331,324,334,331,318,308,303,303,298,299,305,305,306,308,306,318,323,310,306,313,315,307,301,319,302,301,314,323,307,305,297,300,297,299,305,305,297,297,313,322,319,317,316,319,310,319,326,329,329,314,314,332,344,346,336,348,335,328,339,346,346,348,348,349,343,359,356,350,350,348,344,345,349,343,345,345,342,338,338,339,354,351,340,339,343,349,353,353,357,353,346,336,331,325,319,319,312,308,303,298,303,305,305,310,313,310,311,312,319,306,319,314,314,319,320,319,319,319,320,324,322,321,331,342,338,342,339,341,330,332,354,350,330,339,352,355,364,364,366,364,360,364,374,372,372,380,390,390,390,389,393,387,380,372,370,366,363,355,350,352,349,338,335,357,349,347,345,345,345,351,351,350,350,359,369,363,365],[460,397,376,402,332,271,307,344,283,252,310,349,314,279,336,377,285,305,361,352,335,334,350,419,486,499,719,970,1644,2262,2302,1732,1512,1560,1602,1800,1584,1230,918,1238,1206,636,496,508,846,1364,1522,1252,1224,1792,2158,2180,2100,1384,875,632,589,1266,1240,1140,1332,1388,1488,1752,1556,1080,854,672,751,512,484,634,659,597,686,767,896,1098,1140,874,598,944,1366,1420,1196,1376,962,1010,1656,1776,1524,1034,632,731,857,500,623,361,249,254,255,301,390,485,565,733,784,858,806,594,416,336,368,454,321,321,414,497,440,363,392,378,394,427,718,988,899,596,401,274,298,251,234,273,355,704,1272,1512,1558,1190,1072,503,288,306,291,250,236,234,236,242,262,274,237,289,389,386,330,344,384,421,458,481,479,579,498,507,769,806,819,756,705,738,793,1042,1056,644,421,464,506,525,609,655,501,454,597,808,827,689,582,619,668,521,522,774,525,321,194,202,208,178,184,206,223,232,245,479,971,971,641,740,594,586,702,822,1134,1378,1354,1190,1021,800,452,368,534,847,1006,933,670,852,994,922,689,381,342,579,837,619,755,1192,1196,947,590,310,335,387,991,1616,1740,1326,959,740,1124,1432,1294,1198,1172,1450,1626,1716,1572,1490,1218,725,426,383,357,387,437,390,413,438,461,423,384,376,369,365,366,395,452,557,519,619,1182,1840,1642,1124,741,1058,1648,1796,1814,1824,1362,1170,1276,1154,692,673,732,902,879,563,476,590,910,1164,666,371,387,300,237,276,351,409,470,648,715,708,634,521,357,315,279,308,372,395,359,320,365,605,1058,1300,1444,1324,1412,1620,1858,1716,1656,1380,827,580,817,971,716,675,636,681,628,513,521,560,732,778,992,1362,1240,984,769,1042,871,789,1284,1792,1526,1010,991,1044,1084,1162,1036,963,728,853,995,714,644,500,390,416,404,354,328,413,719,981,1156,1432,1542,1504,1512,1836,1764,1992,2126,2030,2186,2124,1512,1444,938,381,355,358,360,394,405,404,450,495,450,426,490,500,514,574,740,854,863,907,982,671,421,361,398,539,627,670,512,449,511,712,869,802,913,1074,1050,772,756,1082,1318,1366,1082,762,602,498,498,609,844,618,636,828,712,811,1204,1322,1552,1350,2036,1794,1512,1360,1504,1648,1840,1676,1374,1510,1686,1418,953,1162,1001,818,664,637,572,652,868,747,527,625,911,1015,693,467,638,1056,1302,1019,1060,759,364,290,374,625,824,952,1026,665,456,324,381,343,301,303,327,332,338,356,357,331,305,437,628,502,480,482,499,544,599,512,746,1046,918,957,937,786,629,642,747,844,703,644,606,533,495,506,612,684,1005,1114,1082,1250,1422,1248,866,697,1015,1194,1196,1268,1362,1294,1048,814,788,889,1072,1342,1016,910,1212,1490,1416,1294,1412,1434,1362,1086,1152,864,630,572,647,564,462,525,574,642,846,1024,1276,1432,1492,1558,1440,1370,1154,969,800,609,494,564,792,855,1060,1002,561,346,321,339,325,303,694,1176,1328,1342,1094,851,663,534,636,704,478,591,1146,1346,1222,1396,1256,1002,1264,1190,1224,1510,1640,1708,1376,1010,783,900,1218,1360,1300,1228,1324,1354,1202,1306,1208,1110,985,1021,1274,1508,1368,1364,1610,1792,1744,1628,1838,2142,1172,691,708,943,1126,1396,1520,1476,1100,1130,1792,1538,1482,1278,1360,1598,1620,1628,1472,1504,1584,1792,1552,1296,1560,1408,1138,1802,1622,1318,1268,1484,1302,886,639,513,352,618,1194,1546,1568,1286,1460,1216,792,716,1124,1764,1682,1438,1208,1092,1192,1300,1428,1506,1088,1098,1188,1272,1300,1258,994,767,733,1001,1312,1966,2480,2792,2294,1456,944,944,1778,2482,2280,1810,1318,862,614,594,593,430,346,354,245,234,267,237,407,750,789,345,302,336,410,426,429,443,813,1010,763,477,392,559,1004,1236,1130,1034,915,823,737,826,1240,1628,1788,1694,1442,1374,1432,1448,1648,1800,1660,1468,1372,1322,1298,1444,1330,1216,1274,1330,1258,1104,1152,1592,1800,1454,1172,1284,1290,1286,1072,938,1224,1382,1174,956,1036,937,902,993,1046,925,938,1062,994,961,1102,1348,1568,1622,1410,1302,1176,1422,1500,1040,1262,1508,1338,984,1094,1278,1276,1452,1508,1338,1154,1070,929,1108,1058,1174,1332,1436,1500,1576,1502,1402,1410,1456,1516,1700,1550,1478,1542,1278,1416,1244,1238,1444,1202,1226,1376,1334,1254,1408,1230,1194,1218,1278,1338,1140,899,645,479,502,604,669,517,428,327,433,685,796,1214,983,768,795,675,626,886,1007,1238,1602,1540,840,606,747,818,686,610,827,1018,840,732,713,706,691,780,1017,934,770,767,856,954,910,754,778,978,1118,1162,1238,1156,1302,1226,1006,830,917,910,1030,1007,669,693,882,1086,1096,883,893,999,900,945,1058,998,1084,1064,1234,1306,763,819,1172,1108,1054,1172,1144,1266,1306,1166,1106,1274,1548,1540,1282,1040,1212,1312,1200,1446,1582,1428,1346,1444,1286,1202,1272,1422,1392,1212,1222,1088,955,1106,1448,1376,996,882,1152,1298,1364,1434,1514,1326,1288,1442,1214,959,1260,1302,1028,1230,1398,922,824,1136,1014,874,946,1192,1112,940,1266,1632,1428,1200,1188,1082,1172,1356,1358,1274,1400,1408,1432,1248,1182,1324,1256,1026,926,820,962,1124,969,779,1048,1210,1096,985,1005,1084,1342,1390,1464,1376,1318,984,670,827,1026,1616,1654,1296,1316,1376,1488,1334,1116,1362,1392,1110,656,801,1166,1132,839,805,982,1226,1370,1112,992,943,1226,1184,1144,1072,1222,931,974,1188,1218,1268,1186,1306,1316,882,473,499,664,879,1168,951,659,573,523,638,789,888,1184,992,854,1126,992,703,691,1007,1104,760,595,731,1136,1102,997,835,782,1017,1094,1114,980,768,821,1062,1166,1068,1092,1398,1278,966,933,964,1090,1396,1114,1078,1298,1314,1246,1122,943,830,1002,1046,979,1007,1068,996,1096,1094,1016,1186,1830,2280,1870,1152,533,515,555,1024,1019,1116,975,771,619,716,985,865,697,877,913,507,561,924,592,422,521,952,886,620,612,799,1040,1560,1628,657,448,690,988,1036,1412,1588,1486,1382,1003,646,479,771,994,851,511,794,844,663,1092,1534,1220,1050,1192,1200,968,469,486,486,458,458,518,740,847,804,821,897,808,705,749,665,775,1160,990,758,766,644,623,620,554,514,667,1080,1532,1506,1586,1220,1034,877,865,801,1234,1384,1120,962,1146,1212,995,907,772,473,475,962,1466,1294,1001,846,847,654,633,1044,1336,1548,1694,1640,1642,1062,657,737,1044,1094,925,824,705,580,558,442,410,435,340,292,294,301,311,316,314,309,327,359,370,333,325,324,315,303,312,321,328,337,350,352,348,352,363,376,377,371,369,374,368,372,359,343,343,353,375,374,362,370,370,367,365,359,345,337,344,347,341,339,350,360,381,395,372,383,400,394,391,389,387,394,398,388,373,362,401,400,371,380,371,372,366,357,357,363,372,371,366,375,381,390,387,394,406,414,406,401,403,391,389,421,438,430,426,443,433,427,427,432,432,415,405,413,409,398,394,385,401,390,399,424,422,412,410,404,410,406,383,375,375,346,356,352,356,354,352,352,353,357,354,353,352,355,369,372,379,377,365,372,363,349,340,349,351,341,343,345,333,339,355,359,371,368,365,365,369,378,387,387,379,366,375,373,373,379,356,370,407,426,408,400,411,400,389,392,389,392,383,373,373,368,365,364,350,371,365,350,354,354,354,360,350,354,354,350,337,336,356,383,398,401,397,381,360,360,375,374,366,387,412,444,476,493,492,498,465,433,439,409,398,393,396,398,381,392,439,492,525,473,403,396,381,363,351,348,364,364,361,350,337,339,342,340,345,348,336,355,325,335,333,348,342,345,329,323,331,331,330,321,310,310,310,305,305,305,306,298,286,296,320,327,313,307,317,325,317,306,304,308,292,313,344,329,305,309,310,309,309,305,305,299,306,302,317,317,302,313,322,321,314,335,330,332,324,318,328,343,341,325,341,337,332,356,359,344,341,344,357,339,353,353,357,343,353,343,338,353,349,345,342,339,338,339,345,345,344,345,349,351,362,361,357,356,356,350,338,332,327,316,307,305,303,299,302,305,296,297,303,306,297,313,314,313,319,308,305,313,316,319,319,319,313,319,318,317,314,317,330,344,345,344,350,349,333,346,357,339,338,361,369,372,369,366,360,366,377,372,352,368,384,401,386,388,393,366,372,370,369,370,375,382,363,351,350,344,350,355,354,347,349,349,349,351,350,349,351,359,373,363,359,363],[371,338,349,335,288,287,325,344,292,269,304,306,280,248,263,246,301,355,309,377,359,367,318,334,437,467,530,652,1166,1450,1190,1352,1704,1160,942,1446,1208,802,700,842,674,484,465,633,1372,1842,1596,1282,896,1342,1820,2084,2084,2052,1518,954,907,1622,1560,1406,1618,1400,1506,2026,1264,1542,1494,1058,999,807,562,853,986,697,607,786,1034,1058,714,612,936,1392,1968,1646,1594,1808,1034,688,895,779,787,646,527,587,800,432,438,358,281,283,385,463,668,891,873,924,753,444,306,427,390,336,377,379,300,274,357,436,418,361,452,508,473,423,524,1011,941,638,455,330,428,460,538,796,908,1094,1534,1594,1170,783,725,431,322,283,246,262,257,247,250,260,246,271,297,397,537,486,396,362,398,449,518,556,713,809,617,485,445,570,709,635,520,468,558,838,850,528,456,445,437,479,661,678,472,384,549,1068,1424,1278,1102,1023,1034,675,461,597,427,425,626,645,378,208,253,264,236,236,248,323,536,490,462,609,579,872,1058,1318,1772,1604,1166,514,404,333,446,670,820,751,505,357,356,687,875,575,401,372,275,267,601,728,626,629,973,1172,667,373,482,957,1494,1616,1298,1122,1194,568,741,990,943,1194,1274,974,1048,1278,1102,1150,794,687,786,657,730,862,645,453,493,562,598,486,410,361,343,274,361,439,563,603,703,1088,1892,2178,1760,1364,1218,1798,1704,2062,2438,1950,1400,1156,1130,976,1064,1174,1318,1206,895,474,481,859,1250,1562,1288,702,410,321,313,351,398,410,760,1078,994,721,832,916,594,361,297,279,315,371,495,698,1262,1690,1664,1218,1352,1122,1390,1634,1344,1132,1218,1108,989,1114,1028,661,764,926,1354,1208,651,396,636,986,1216,1132,764,772,655,1022,1136,1086,695,918,1606,1682,1524,1422,1128,899,1024,1082,713,864,645,650,784,622,615,562,432,359,330,318,299,462,1326,1306,1514,1668,1838,1812,1830,2158,2036,1944,1998,1860,1732,1474,883,579,588,380,337,339,349,410,424,424,457,530,599,628,622,662,722,597,672,761,752,622,516,438,393,353,419,603,630,757,717,572,599,1160,1488,1328,1116,1182,1272,1036,1186,1200,1122,967,1466,1294,732,492,408,470,528,404,460,629,912,1264,1602,1128,1015,975,1274,1418,1200,1160,1336,1428,1704,1526,1252,1346,1546,1168,622,747,897,647,794,940,631,544,785,860,844,797,803,907,501,339,577,832,1052,1146,1288,907,303,324,322,344,586,589,441,389,352,315,342,361,330,294,325,360,333,370,368,327,301,631,895,699,544,498,530,541,530,462,636,1036,980,759,588,525,512,561,691,875,996,814,623,735,705,492,716,850,1288,1074,1232,1376,1400,1188,936,997,1021,1023,1180,1340,1426,1002,665,646,594,524,814,1116,1116,1190,1224,1054,979,1005,1156,1220,1116,1386,1412,854,581,502,605,705,721,720,871,813,642,586,714,976,1184,1388,1544,1640,1626,1500,1190,940,709,682,648,517,875,861,533,386,426,576,581,466,780,1248,1348,1002,684,629,565,637,834,634,435,303,642,1080,1216,1204,1158,1246,1440,1220,1384,1758,1642,1330,766,606,803,1015,1100,1182,1314,1440,1252,1200,1050,1122,1222,1142,973,951,1342,1742,1538,1636,1764,1644,1494,1494,1842,2280,1532,1050,1126,1174,1302,1510,1500,1484,1174,1352,1470,1418,1410,1342,1432,1456,1740,1810,1444,1186,1492,1786,1714,1498,1598,1346,959,1202,1390,1284,1188,1468,1624,1140,711,577,391,582,1172,1432,1600,1256,1130,1226,1022,707,1098,1566,1332,1256,1246,1158,1094,1294,1350,1102,1226,1450,1302,1256,1390,1250,749,682,667,1128,1204,1698,2068,2386,2908,2598,1562,1258,1678,1808,2112,1926,1166,754,556,719,519,263,301,286,245,281,306,276,287,357,365,277,328,386,407,515,716,1020,1216,1128,929,600,452,672,1248,1322,1112,1044,813,729,1114,1288,1246,1406,1282,966,1262,1828,1648,1410,1754,1696,1066,1046,1112,1052,1184,1424,1348,1120,883,927,1240,1316,1078,1270,1306,1364,1286,1420,1482,1168,794,850,1138,1302,1262,830,803,1096,1198,1200,1016,1012,1260,1306,1326,1412,1406,1500,1498,1434,1258,1088,974,1312,1278,962,1190,1236,832,822,1122,1220,1160,1340,1316,1256,1116,1064,654,687,940,1168,1432,1592,1702,1570,1462,1506,1242,1354,1598,1594,1328,1216,983,994,1268,1094,1074,1212,1160,1304,1554,1460,1330,1174,1340,1250,1178,1236,1230,1050,767,744,711,479,445,648,438,567,625,833,816,583,673,686,719,681,569,564,977,1420,1844,1820,1338,853,724,943,983,655,601,806,1044,966,876,775,975,1034,1124,1140,870,665,675,878,1072,988,892,1030,1176,1048,1092,1220,1302,1340,1062,717,738,1009,1082,901,618,470,508,698,859,702,694,1096,1152,764,722,796,932,1036,1156,1318,1030,724,961,1042,1092,1200,1021,992,1260,1198,990,1256,1168,1406,1268,1216,1200,1196,1104,1332,1482,1216,1162,1542,1608,1294,1280,1404,1378,1190,1028,1090,1182,1144,1166,1382,1288,1140,1214,1422,1284,1532,1436,1348,1348,1462,1550,1226,1208,1336,1142,1066,1528,1280,854,616,1224,1017,764,792,969,715,502,644,880,836,890,1198,1152,1256,1230,1156,1166,1328,1488,1418,1224,1158,1226,1262,1290,997,744,946,978,668,721,1144,1270,1144,1288,1324,1188,1146,1368,1936,1396,1276,813,499,856,1142,1334,1220,1198,1174,1086,1224,1318,1312,1418,1528,1448,989,947,1294,1316,1158,1220,1078,1172,1168,992,945,992,1478,1222,938,1086,1140,1230,1506,1556,1294,1164,918,1034,1044,1192,778,594,562,788,1154,995,888,906,749,622,766,847,736,764,1220,1036,621,760,890,1148,1182,963,738,639,857,1000,1148,1152,1246,1102,1090,1360,1352,1086,1080,983,740,702,982,1322,1344,1178,1042,1034,993,947,851,1166,1608,1624,1446,1044,874,1218,1446,1462,1380,1370,1456,1496,1404,1232,1294,1494,1534,1450,1496,1274,883,851,790,902,1208,1150,993,1122,951,1130,1122,815,1084,1012,723,403,568,851,701,440,556,825,974,980,585,763,1108,1598,1638,783,379,654,865,910,1108,988,918,1122,705,594,646,1070,1382,1384,785,818,837,638,965,1076,789,843,1070,1306,1021,581,480,551,613,522,602,760,858,1040,1240,1394,1454,796,561,636,1238,1324,948,840,888,826,766,736,616,598,537,639,748,772,1330,1492,1470,1120,913,768,975,1570,1494,1400,1542,1340,1144,933,697,603,527,558,1144,1522,1388,1228,1130,872,637,692,943,1222,1698,1650,1650,1520,1130,1003,1048,1080,1136,870,678,553,473,442,371,354,308,307,318,340,317,289,316,320,331,357,380,312,314,325,319,299,300,312,337,355,362,354,342,345,366,366,371,368,363,361,357,355,347,355,352,341,365,365,362,370,361,357,372,376,354,347,351,345,344,345,354,360,377,377,366,374,394,400,398,389,391,401,403,400,396,372,405,383,378,380,371,369,357,357,361,369,375,375,375,378,381,380,387,398,401,404,409,401,404,410,404,431,438,429,421,430,432,429,429,425,419,420,415,412,420,396,395,392,390,403,392,413,416,399,395,383,385,401,378,361,375,340,344,346,344,338,344,350,355,358,354,349,353,353,358,362,382,381,367,371,365,363,361,353,353,352,352,337,333,338,346,353,359,358,363,368,368,375,379,388,390,374,371,368,370,385,371,365,394,424,416,405,410,407,403,391,380,390,387,375,373,370,370,366,356,356,359,348,343,354,356,364,348,363,356,333,333,337,350,376,395,398,391,370,350,360,371,368,372,387,402,424,451,478,504,496,461,458,445,417,402,391,408,396,369,373,413,469,511,459,398,386,386,377,370,357,351,357,381,369,347,351,345,339,350,350,345,347,339,325,337,340,342,336,327,328,333,330,330,325,312,308,307,305,305,307,308,300,300,312,325,331,330,327,330,337,326,317,309,319,318,324,312,317,317,325,324,317,312,310,311,307,307,305,307,313,316,324,334,348,332,338,335,332,326,319,325,338,349,350,353,356,358,349,335,336,349,353,351,353,351,345,353,353,357,344,336,353,350,350,351,332,335,344,342,345,354,359,361,365,369,362,357,359,361,353,340,332,325,314,309,303,302,303,305,305,291,290,294,307,289,302,310,303,302,300,297,303,307,313,319,315,313,312,311,307,307,320,349,357,346,333,350,355,339,333,357,354,341,354,361,367,374,360,366,378,384,382,366,370,374,402,390,388,375,375,372,360,366,372,375,372,361,352,346,345,350,357,357,360,363,359,357,355,351,357,355,369,376,375,372,361],[321,326,320,303,291,263,308,318,303,279,303,282,242,250,220,220,377,437,277,297,286,274,363,361,325,359,448,563,687,908,1368,2042,1628,747,580,1002,1176,876,779,740,641,521,495,552,951,1356,1302,1166,767,736,1170,1774,2118,1826,1670,1482,1268,1670,1572,1458,1122,1266,1874,1232,725,1394,1504,1412,1548,1316,862,794,1080,1434,1362,1356,1664,1134,723,778,1042,824,1148,2032,2104,1048,481,387,553,543,408,370,352,495,855,665,408,440,463,509,635,562,621,902,1092,1104,905,505,326,306,299,324,351,353,327,285,294,327,347,313,325,371,341,451,919,1316,915,492,625,525,847,1086,944,1210,1456,1246,1168,1196,910,844,828,549,373,308,266,306,284,278,265,258,251,243,275,444,571,527,445,445,483,436,633,760,814,770,732,563,525,550,553,607,622,463,558,791,688,458,473,416,465,470,591,583,454,390,622,1306,1222,934,959,1116,1372,1418,954,518,455,627,831,819,441,236,244,203,225,263,249,296,344,321,384,400,430,588,915,1614,1704,915,1302,929,784,855,990,912,649,394,339,487,670,764,448,343,397,440,275,255,310,592,705,714,1252,1362,695,448,954,1588,1614,1448,1212,1418,1274,836,1254,1136,641,1080,1156,755,794,846,725,716,780,1166,1366,1196,1224,1268,913,454,433,512,621,516,413,348,351,376,352,370,392,413,702,1310,1740,1682,1688,1368,1334,1780,1538,1780,1788,1188,957,1064,842,753,1274,1370,1288,1224,1180,614,783,1146,1508,1898,1674,1146,817,533,475,521,497,580,1366,1370,1108,1026,955,665,592,591,550,415,388,616,990,1188,1556,1690,1556,1172,1306,1320,1036,818,659,650,937,1378,1312,1482,1354,999,904,1108,1288,1246,882,476,806,1202,1414,1248,608,560,724,1046,924,631,555,1170,1188,755,1132,1274,688,559,1106,1210,655,797,618,402,511,489,503,556,397,265,319,392,420,627,2124,1770,1822,1980,2052,1960,1810,2042,1988,1814,1344,1050,935,763,489,549,719,463,326,397,422,429,403,477,545,594,642,709,689,791,871,608,480,531,542,473,435,466,447,344,382,593,546,527,616,747,767,1130,1632,1514,1346,1026,1062,1180,1274,885,821,739,1234,1262,794,474,390,395,470,540,619,815,1056,1302,1364,777,741,1160,1426,1388,1244,1464,1524,1668,1902,1456,1650,1666,1670,1278,659,603,662,560,749,857,588,534,847,1104,1020,805,609,544,398,387,395,325,399,543,636,670,340,400,504,491,491,430,388,370,345,357,352,373,393,310,369,380,343,345,348,325,266,653,852,816,675,535,489,474,459,468,536,867,947,776,653,621,507,597,775,905,934,727,693,805,672,673,752,1052,1334,1312,1332,1286,1288,1156,924,858,561,557,933,1334,1698,1428,733,511,544,607,872,1064,1072,1248,1102,960,955,893,1024,1064,1108,1774,1530,888,689,858,896,742,807,630,813,924,614,482,612,654,712,843,1050,1332,1614,1794,1738,1484,1274,1034,846,695,705,574,428,491,667,810,819,681,770,1014,854,827,789,692,680,719,633,571,583,399,375,601,960,998,971,1078,1162,1170,1334,1360,1364,880,557,1010,1300,1266,1140,1146,1312,1308,1076,1184,1138,1012,1190,1302,1190,950,1290,2204,2134,1716,1376,1362,1560,1782,1940,2304,1822,1298,1488,1388,1460,1564,1466,1632,1374,1372,1460,1344,1344,1376,1444,1552,1496,1422,1266,1192,1254,1290,1482,1376,1490,1078,798,1094,1256,1266,1202,1260,1300,984,643,567,534,631,1180,1384,1618,1154,892,1214,955,574,1034,1312,1176,1186,1332,1208,1404,1322,1202,1320,1678,1728,1418,1282,1586,1440,1024,840,856,1468,1266,1266,1252,1188,1952,2880,2554,1666,1007,774,920,1128,1364,1148,1001,1078,665,313,255,235,267,288,275,265,260,257,278,272,381,450,699,937,1020,1294,1406,1174,1126,956,761,954,1292,1226,1570,1422,902,888,1362,1486,1290,1276,1216,865,1088,1376,1366,1592,1652,1214,872,926,1009,970,924,1158,1188,893,932,885,1126,1336,1362,1316,1410,1716,1586,1412,1412,1456,1062,1350,1322,1442,1204,893,864,1020,1266,1178,878,971,1206,1340,1592,1632,1568,1544,1576,1750,1484,973,1160,1404,1172,991,1108,1028,890,1082,1144,1036,1234,1260,1406,1378,1116,1076,1040,1016,1018,1144,1428,1554,1398,1354,1444,1372,1488,1466,1590,1410,1186,1132,1009,1042,1212,1324,1274,1572,1364,1186,1238,1224,1180,1146,1188,1072,885,1040,1168,844,551,725,767,482,413,609,496,1054,1164,892,590,328,377,559,773,989,903,811,1098,1534,2048,1952,1322,838,818,1013,948,614,657,772,750,901,989,890,1072,1236,1340,1224,808,604,656,812,943,943,1024,1178,1184,1108,1042,1032,1138,1166,917,750,803,952,1080,1106,597,425,428,386,416,474,496,612,607,584,600,586,807,916,1146,1194,974,912,1116,1204,1136,947,792,650,1170,1134,1206,1328,916,992,869,770,818,931,1220,1792,1836,1328,1202,1434,1164,1388,1584,1382,1302,1080,952,1142,1210,1016,1056,1280,1304,1172,1270,1244,1152,1284,1362,1402,1352,1386,1364,1350,1494,1362,1332,1284,1470,1332,1286,1001,1042,885,674,667,712,499,623,541,623,767,774,1152,1104,1098,879,894,1116,1184,1326,1294,1042,1034,1126,1244,1344,951,760,855,726,603,727,937,1050,1356,1404,1210,1158,1078,1136,1422,1318,1194,634,618,1132,1376,1096,1184,1356,1088,1122,1250,1272,1236,1292,1368,1444,1414,1424,1576,1520,1440,1414,1212,1346,1170,1064,1010,1120,1372,1172,1094,1042,899,1184,1318,1530,1282,1128,915,1098,1160,1296,1003,916,644,539,755,1042,1374,1324,955,591,905,904,585,566,986,868,779,998,1180,1184,1198,955,666,647,681,945,1300,1468,1200,967,1230,1436,1406,1404,1140,797,716,977,1130,1052,1018,1322,1250,927,1022,1278,1420,1506,1494,1086,686,514,441,873,1422,1530,1234,954,1004,1240,999,942,1230,979,753,866,1280,1202,1302,1256,1068,1040,964,913,1076,1344,1130,1102,762,981,1584,1356,783,565,714,698,507,489,552,728,847,896,681,949,1204,1434,1536,972,980,1688,1598,1282,1172,802,818,882,555,630,741,603,596,849,656,673,900,455,482,847,1454,1296,1068,768,532,367,399,711,897,634,523,772,963,1134,1336,1618,1560,778,520,569,869,865,634,672,964,1042,1504,1606,912,580,569,543,607,727,1218,1666,1720,1302,976,1019,1964,3024,1804,1694,1594,1428,1322,1582,1760,1606,978,496,722,1266,1560,1260,1058,917,765,583,853,1272,1628,1594,1336,1488,1758,1684,1408,979,1028,962,660,462,377,345,312,277,276,292,326,367,358,346,367,395,435,409,361,321,303,311,309,297,299,300,337,349,352,345,339,354,352,366,364,364,368,351,351,357,340,326,349,364,374,360,364,377,366,359,358,357,359,369,361,344,351,357,357,351,366,376,372,375,379,395,406,398,385,394,404,401,395,378,401,390,400,382,368,379,366,365,367,369,375,373,378,384,388,383,388,405,406,400,414,397,393,404,388,407,412,415,418,425,426,429,427,417,417,441,429,396,409,384,396,401,390,389,378,387,392,381,376,372,372,388,378,364,366,361,366,357,344,331,336,344,346,350,346,346,353,352,361,367,377,379,379,377,364,352,352,353,352,352,359,334,334,336,343,355,363,359,359,368,368,373,379,397,392,387,382,379,383,385,386,380,380,408,415,405,406,400,392,398,401,400,394,389,378,371,383,383,362,348,350,346,335,352,360,368,354,350,348,333,323,325,340,366,395,399,407,369,360,357,357,360,376,388,398,414,457,493,509,502,494,469,442,412,391,386,389,381,363,386,408,433,507,449,409,383,376,384,377,373,376,373,368,349,336,347,365,335,347,355,353,353,358,352,334,331,329,325,331,327,315,328,355,336,323,317,297,297,309,315,313,309,313,315,327,330,336,337,337,335,336,325,326,331,320,306,314,314,315,310,299,302,310,310,316,316,312,311,324,313,322,344,341,341,337,332,332,336,334,328,328,337,343,336,338,356,368,357,346,346,362,366,353,365,365,350,345,338,345,348,343,344,350,354,342,338,346,343,351,365,368,362,361,359,361,357,355,362,365,356,342,335,326,321,315,307,308,306,319,313,298,287,289,300,296,294,298,301,298,292,295,300,307,312,319,314,309,305,314,321,326,335,345,346,354,329,345,361,355,336,349,346,351,350,345,375,374,342,364,370,364,378,374,360,380,384,390,394,375,369,366,361,364,370,361,355,355,352,352,347,347,354,360,363,361,360,357,343,350,372,365,372,375,372,367,365],[341,304,298,299,314,286,294,288,276,264,276,233,202,244,246,269,328,307,327,294,250,301,440,455,345,396,635,713,538,807,1242,1456,846,473,495,783,1158,1300,1444,1388,952,569,574,698,980,1130,894,929,855,751,1246,1518,1560,1672,1616,1666,1470,1464,1416,1396,1100,933,1270,875,830,1336,1448,1412,1520,1512,1272,861,1216,1734,1494,1412,1432,977,842,1152,1454,930,561,1082,1048,512,425,323,448,501,546,427,339,462,736,883,928,1070,760,868,965,987,1130,1178,988,771,595,376,292,318,333,361,346,302,297,328,336,312,276,271,293,273,226,338,672,1278,1478,860,802,807,1344,1526,1222,1172,1272,1168,818,707,658,615,744,778,539,391,304,300,294,294,290,263,236,206,258,404,557,509,482,707,800,861,942,732,752,969,959,607,466,504,562,698,677,515,509,612,535,489,590,484,423,457,399,337,366,341,648,1410,781,427,376,536,981,1114,750,604,771,706,539,480,321,237,245,214,218,280,272,277,310,320,366,414,434,628,888,1458,1282,827,1172,1558,1416,852,454,304,243,360,620,884,891,672,324,303,388,403,329,293,374,802,1036,1098,1252,1456,854,901,1420,1612,1576,1458,1520,1336,861,836,1004,571,602,1134,1072,1118,1030,872,528,614,1158,1450,1350,1272,1388,1550,1328,698,474,505,599,509,410,396,361,354,376,368,339,422,708,987,1186,1218,1426,1296,1294,1522,1406,1160,1052,1013,1028,1052,1023,1044,1360,1010,1072,1418,1268,799,929,1126,1366,1594,1344,1248,1188,1184,1444,1244,1034,1064,1544,1546,1218,1378,1458,1312,1296,1238,1070,931,771,1068,1186,1344,1606,1714,1448,1146,1426,1288,557,440,495,497,558,830,834,908,941,1086,1060,943,1266,1490,922,708,1001,1216,1288,1112,1005,1170,1015,861,856,788,896,836,651,645,855,880,750,1284,1868,1760,921,929,840,437,499,511,449,510,458,446,568,771,822,755,2042,1902,1772,2142,1926,2130,1690,2056,1588,937,669,541,460,450,461,682,767,466,394,470,511,433,375,385,402,491,642,803,977,1036,787,518,441,481,533,456,412,525,459,324,332,393,400,410,473,675,838,1220,1816,1696,1752,1614,1380,1336,1388,1134,1174,874,620,694,548,582,479,441,959,1310,1290,1360,1140,966,897,709,799,1158,1498,1224,1188,1684,1528,1594,1804,1368,1346,1518,1816,1352,684,680,736,566,503,1048,1192,1126,1092,974,750,522,367,339,400,408,353,260,266,350,455,583,662,795,981,1182,868,428,350,340,345,365,365,353,348,283,379,337,304,317,327,286,266,483,821,1004,810,650,528,502,467,468,455,636,884,847,741,640,502,558,713,760,1023,935,775,857,984,1078,865,1208,1376,1194,1310,1272,1490,1372,791,849,473,385,795,1508,1992,1594,1030,747,716,879,785,728,694,838,928,940,752,753,1406,1078,610,819,897,882,656,556,598,413,521,440,562,845,676,499,499,610,853,910,849,737,972,1224,1492,1636,1676,1580,1344,1088,846,618,501,508,717,832,811,672,706,590,614,933,918,771,1080,1146,647,712,1322,1064,653,457,469,619,1132,1302,1236,907,745,1015,1278,888,865,1036,1514,1568,1216,1170,1308,1246,1110,1202,1208,1132,1272,1304,931,795,1128,1660,2004,1904,1664,1664,1864,2078,2204,2348,1758,1170,1384,1342,1552,1506,1514,1598,1416,1324,1260,1282,1380,1444,1616,1816,1580,1338,1356,1448,1476,1228,1376,1248,1394,1054,822,1134,1214,1342,1566,1408,902,637,607,962,1082,969,1082,1486,1758,1296,836,897,822,825,910,1108,1202,1208,1360,1380,1600,1498,1224,1294,1664,1570,1272,1242,1840,1346,1246,772,495,1062,1250,861,604,551,879,1856,2072,1512,901,1092,887,1324,1810,1480,1338,1526,1028,462,274,270,285,306,251,242,253,277,315,372,467,720,1064,910,907,1204,1284,1170,1224,1134,888,1490,1250,1184,1570,1248,949,945,1158,1242,982,821,1326,1194,1136,990,967,1164,1256,998,777,937,1122,1040,997,1074,1246,1024,1224,1300,1338,1464,1372,1188,1498,1692,1482,1266,1194,1730,1476,1620,1336,1288,1124,1148,1234,1198,1348,1256,999,969,1180,1460,1640,1742,1616,1622,1744,1718,1468,1136,1021,1196,1216,1262,1214,926,968,1312,1088,976,1266,1346,1454,1452,1196,1176,1108,1124,1338,1346,1368,1460,1180,1230,1406,1472,1558,1638,1506,1128,854,950,1180,1278,1344,1690,1262,1474,1072,699,860,842,862,1082,1352,1244,999,1056,945,764,586,662,553,416,516,559,415,380,438,495,328,315,341,513,646,779,902,1023,1144,1396,1568,1592,1278,759,799,981,716,617,658,705,723,988,1028,1106,1334,1294,1146,1118,703,646,722,762,800,873,1188,1280,1364,1318,1106,1176,1202,1084,1023,1007,1122,1136,1090,917,497,392,376,337,327,336,372,387,408,405,564,772,1100,1154,1128,846,1132,1784,1686,1532,1382,1015,829,1108,1202,1258,1238,672,495,527,482,458,603,990,1350,1476,1420,1302,1280,1078,995,1416,1474,1256,1386,1240,931,912,1188,1188,1220,1148,952,1050,1308,1094,1001,1248,1310,1304,1384,1134,1150,1412,1366,1310,1534,1456,1228,1338,1416,1358,1022,629,497,590,588,552,919,740,960,1234,880,720,845,885,691,719,1042,952,1036,1126,1015,977,1032,1516,1574,967,720,812,833,727,565,636,944,1360,1198,947,1166,1142,1202,1184,1328,1154,590,731,951,954,713,1000,1003,661,926,1188,1216,1190,1172,1214,1208,1166,1324,1366,1424,1606,1554,1496,1568,1482,1288,1120,1136,1148,1072,1040,960,991,1280,1444,1534,1262,1096,1138,1428,1516,1394,1414,1250,855,540,702,1320,1408,1246,768,715,821,772,758,756,873,936,871,954,1244,1506,1760,1244,960,743,593,708,1030,1278,1060,1082,1296,1252,1288,1610,1210,1021,1216,1170,1180,1062,924,1184,1196,1200,1428,1318,1048,866,1120,999,668,491,363,610,1266,1542,1324,899,891,1366,866,901,1296,744,989,1094,1168,1168,1154,1072,887,834,644,512,616,692,703,720,581,796,1013,928,759,836,989,798,461,521,609,713,696,785,891,938,857,1236,1664,1298,1216,1984,2298,1780,1320,688,1019,1490,1242,841,735,856,843,1026,978,854,899,470,1007,1584,1646,1100,750,516,483,489,493,610,778,846,555,643,876,1284,1478,1416,898,606,701,759,908,1164,829,920,1516,956,1440,1448,1198,713,606,599,596,872,1390,1608,1326,1030,1046,1126,2126,3640,2110,1434,1704,2074,2336,3152,3256,1770,960,519,533,858,1478,1312,905,802,765,626,717,959,1376,1390,1120,1504,1616,1704,1802,1192,1118,1056,784,495,384,387,334,286,265,276,309,308,336,329,389,448,448,375,343,327,310,309,311,314,316,323,350,358,360,350,340,349,372,370,351,361,363,363,369,357,355,347,316,363,365,345,366,379,370,360,370,373,349,359,350,345,332,345,357,351,365,374,379,369,378,396,387,389,395,391,394,401,390,369,383,386,378,372,374,386,379,368,361,354,366,375,375,378,390,390,392,412,392,383,408,411,411,404,384,391,416,434,423,414,426,436,427,411,388,417,430,412,411,401,403,392,381,375,368,369,401,380,371,373,374,369,360,356,358,361,350,350,352,339,340,332,340,349,349,350,349,349,372,381,370,377,383,382,370,357,346,353,353,359,376,337,321,331,336,343,346,350,353,359,359,374,379,400,401,394,394,384,376,380,391,402,389,392,405,416,417,402,386,397,413,401,380,380,368,366,372,364,360,356,350,354,342,354,360,350,344,347,339,333,324,328,335,340,380,395,395,392,368,351,354,357,369,384,403,398,434,477,485,492,492,474,448,404,380,383,383,368,375,392,426,457,504,439,413,389,361,381,400,388,373,364,352,353,351,339,355,351,343,334,345,353,352,343,342,337,324,329,331,320,311,324,339,322,323,325,305,298,309,322,323,318,324,326,330,331,332,323,327,334,330,332,307,312,325,323,324,315,311,310,311,313,317,322,319,321,324,314,332,344,318,328,323,322,326,319,325,336,337,336,332,341,349,350,351,365,371,362,345,350,365,365,362,368,376,371,367,363,351,344,344,343,353,359,344,342,331,343,353,359,365,355,346,343,340,342,356,367,362,356,346,337,332,330,325,319,316,318,294,289,306,297,294,292,294,294,296,301,313,302,289,300,300,310,317,314,312,315,320,319,320,328,339,341,354,346,360,366,360,350,351,347,352,354,344,361,375,357,352,377,386,372,369,360,372,387,396,388,382,369,366,374,368,357,357,355,364,357,351,350,346,347,354,357,354,352,357,341,345,368,362,359,361,357,359,359],[388,288,278,287,330,327,309,292,293,303,301,251,232,262,227,243,330,299,293,274,233,262,361,392,288,347,568,567,365,569,1015,786,535,428,557,700,745,1100,1550,1340,849,666,782,910,1024,969,794,811,861,1164,1794,1376,824,839,825,1084,1114,1264,1406,1562,1416,1330,1584,1392,1312,1388,1294,1310,1404,1504,1116,775,752,1318,1408,1204,1082,1011,1436,2032,2042,1172,556,562,514,518,476,348,501,778,871,713,650,659,737,980,1094,1250,1112,1019,820,850,996,910,651,414,321,323,328,335,357,342,279,261,314,367,348,300,250,261,271,269,284,343,598,1368,1632,974,720,1126,1482,1378,1090,832,760,836,678,455,558,644,581,678,788,544,340,292,325,320,322,339,311,359,380,343,457,548,798,1028,1004,895,916,875,980,1376,1094,570,636,550,428,636,677,717,767,1178,1060,797,936,699,487,399,401,797,758,604,758,1344,905,614,468,347,398,354,317,433,894,709,335,262,255,211,239,250,227,268,266,248,275,284,394,497,441,735,904,1476,1404,1428,1444,1730,1396,573,371,465,894,1082,985,794,551,366,452,489,326,277,310,363,565,969,1210,1536,1540,1230,986,1388,1152,1208,1434,1438,1352,929,571,633,939,709,902,983,728,1120,888,628,582,641,1216,1590,1340,1346,1390,1556,1514,1224,677,426,483,451,399,403,378,383,362,366,404,453,587,803,1296,1396,1258,1112,915,977,1158,1230,1438,1100,762,793,1038,1244,1328,1021,1204,1284,1460,1196,800,1224,1548,1610,1582,1624,1386,1508,1394,1122,1350,1414,1400,1504,1384,1162,1254,1172,1148,1282,959,719,641,1015,1252,1316,1238,1314,1264,1078,1242,839,619,504,498,578,644,730,718,982,1232,1378,1296,792,971,932,655,763,997,1120,1144,1274,1318,1372,1054,792,983,930,1172,990,778,641,566,544,1021,1656,1684,1502,1338,1444,1172,541,510,550,415,631,1176,1232,1042,848,631,481,1648,2142,1648,2362,1868,2156,1324,1410,1270,704,552,502,439,478,561,732,737,542,385,438,457,489,464,399,387,496,696,1030,1216,999,640,388,390,372,381,404,465,566,498,382,352,334,316,377,507,547,786,1166,1596,1676,1792,1622,1172,1126,1392,1602,1292,850,755,624,463,669,585,468,963,1282,1410,1530,1030,843,963,808,918,1210,1606,1544,1378,1444,1294,1482,1816,1750,1208,826,1042,756,437,475,775,750,929,1600,1434,1484,1522,885,437,402,426,463,446,394,335,289,341,458,720,1088,1178,1274,1300,1380,1134,556,301,337,370,329,352,359,334,340,306,368,361,266,272,279,292,485,921,1160,962,777,526,490,497,518,502,639,865,852,702,521,487,591,792,841,1288,771,561,683,680,779,752,1078,1218,1004,1222,1236,1584,1238,755,783,508,569,935,1136,968,933,1036,1092,1350,837,509,502,563,775,850,742,570,739,1222,962,509,844,855,809,803,536,411,538,698,581,547,835,708,532,555,457,698,996,1032,1023,815,780,849,1126,1346,1536,1594,1554,1382,1260,946,717,587,634,708,712,695,432,572,950,750,490,714,803,597,781,1416,1018,581,471,405,495,744,1062,1170,720,426,804,1250,1026,1208,1314,1386,1408,1278,1340,1530,1296,984,1108,1322,1224,1164,979,891,1090,1216,1318,1350,1676,1910,2070,2168,2320,2326,2026,1208,1188,1274,1392,1496,1420,1436,1394,1334,1220,1266,1418,1396,1444,1480,1644,1588,1396,1498,1488,1546,1476,1456,1346,1410,1282,1134,1306,1290,1452,1634,1478,915,564,555,1134,1450,1242,1278,1428,1622,1390,836,848,1214,1036,1172,1476,1378,1362,1256,1234,1336,1448,1466,1616,1600,1356,1478,1656,1352,1122,926,528,371,466,569,472,429,473,511,775,872,578,585,1420,1438,1098,1156,1112,1198,1404,1108,480,282,265,281,266,235,247,269,307,345,447,611,880,1086,806,810,1048,1200,1188,1188,1104,1028,1206,1088,1070,1166,918,823,959,777,963,1042,966,1156,999,922,979,952,922,888,886,982,861,861,795,1036,1288,1378,1432,1510,1330,1346,1478,1432,1290,1196,1116,1362,1288,959,912,1144,1324,1508,1496,1222,1328,1376,1262,1514,1510,1384,1220,1250,1490,1492,1366,1472,1766,1628,1288,1428,1684,1366,1176,1400,1318,1116,1094,1268,1210,787,742,1174,1310,1260,1302,1272,1384,1230,1354,1788,1866,1494,1240,1238,1244,1344,1394,1566,1746,1224,922,1116,1166,1080,1013,858,874,867,904,768,1020,1070,711,727,892,1084,1144,1070,1242,1072,771,561,586,652,686,604,553,438,364,555,562,347,343,316,305,405,467,639,1026,1254,1282,1568,1454,1000,813,692,674,629,601,618,625,713,802,968,1288,1396,1182,971,1094,962,902,775,650,618,921,1338,1478,1470,1316,1382,1492,1354,1200,1394,1386,1382,1246,1058,646,373,359,329,311,301,307,315,330,305,312,418,653,1158,1466,1076,512,1144,2258,1686,1372,1392,873,712,1344,1278,976,682,631,612,565,524,500,745,1198,1340,1194,1086,1196,1334,1134,1148,1194,899,1144,1404,1180,858,1056,1278,1248,1234,1124,996,1002,1158,1064,1194,1356,1254,1362,1368,1130,1252,1598,1488,1240,1272,1394,1324,1272,1304,1382,1254,1004,1013,1188,879,614,877,865,1180,1406,920,744,1074,1110,971,818,1021,1011,879,997,1122,1001,1118,1566,1378,735,843,1110,1104,1136,1188,1112,1390,1416,1182,846,1164,1336,1120,1038,1296,998,615,823,761,657,609,814,858,886,1062,1100,1258,1180,1206,1176,1036,1214,1288,1528,1506,1502,1416,1398,1430,1554,1500,1470,1410,1426,1312,1260,1204,1324,1346,1502,1400,1282,1358,1526,1938,1986,1976,1754,1784,1354,678,554,1013,1372,1174,709,821,1001,1046,1028,729,775,1098,1072,1034,841,1020,1558,1244,1072,876,486,634,1074,1390,1376,1394,1412,1322,1204,1322,1096,1160,1244,1158,1202,985,597,698,1256,1440,1066,725,651,995,1340,1178,836,539,319,509,1062,1240,1250,1242,1136,1552,948,1140,1418,1038,1330,1330,1144,1090,753,853,880,678,656,419,341,628,727,525,469,467,456,500,470,498,744,753,413,339,597,852,1026,1046,998,688,537,1292,1998,1424,1028,1716,1866,1344,1130,677,1040,1674,1528,811,648,941,1174,1366,1060,762,867,680,1172,1366,1104,1072,777,634,1152,1554,1142,870,933,1180,755,537,535,868,1200,952,572,901,1388,1152,1080,1738,1208,638,1262,808,893,1120,1406,1010,644,617,777,1344,1772,1636,1382,1050,1138,1104,1556,3480,2846,2388,3518,4356,5132,6292,4992,1366,677,555,515,574,1034,1340,1014,709,586,549,638,719,1202,1428,1388,1782,1570,1466,1418,1100,1120,1234,997,558,412,354,321,315,289,275,311,318,307,299,354,403,366,331,322,316,309,301,305,325,312,333,343,352,363,362,345,331,349,366,363,361,352,349,357,351,336,331,316,354,363,345,368,386,378,373,373,364,349,353,326,334,329,343,363,368,376,386,397,360,384,397,408,382,408,400,394,401,393,388,374,384,391,378,378,379,381,369,354,354,375,383,375,370,383,379,383,401,404,387,400,413,423,408,395,399,416,426,408,408,421,425,411,415,391,415,420,419,411,403,405,389,388,390,380,368,399,386,371,374,387,380,357,350,348,348,352,370,379,354,352,352,352,353,353,358,349,344,369,367,361,385,372,376,364,367,349,350,351,355,377,365,345,340,338,334,341,346,355,365,365,374,382,397,402,405,389,376,376,385,394,417,413,398,411,427,420,406,389,391,413,402,375,380,372,368,366,365,362,356,354,354,354,354,354,358,357,354,342,337,333,330,329,327,356,380,386,383,364,354,354,361,369,379,406,414,442,468,493,491,479,482,460,411,383,396,393,363,385,407,438,466,493,443,407,396,361,369,393,378,347,349,347,353,355,358,348,355,336,327,347,349,343,335,333,333,336,331,331,324,322,324,328,329,323,320,308,305,311,323,321,318,323,321,326,331,330,315,318,334,325,330,320,323,320,314,306,306,312,315,318,318,324,344,326,312,332,329,309,312,310,329,321,332,349,336,341,343,338,350,338,351,354,357,351,354,361,357,346,348,354,359,365,371,374,373,367,353,342,340,345,342,354,357,348,340,338,345,353,340,356,348,336,332,334,343,359,359,351,351,350,345,338,332,325,326,319,312,309,319,307,301,303,297,292,294,305,300,318,312,297,290,300,315,311,313,312,313,311,307,324,341,346,345,360,366,364,349,346,354,355,351,354,360,349,357,368,370,352,372,378,366,369,375,375,379,386,394,368,370,369,366,350,349,349,355,357,350,364,345,339,344,345,349,349,350,354,342,344,350,350,351,349,353,357,357],[467,346,302,295,314,371,364,300,307,306,305,268,245,221,271,309,356,258,214,278,276,226,260,314,333,471,353,225,227,271,525,802,720,439,443,525,548,812,1372,1246,672,776,824,733,1074,1278,904,959,1346,1644,1588,1202,951,988,768,967,1026,902,1084,1334,1230,1336,1510,1562,1560,1610,1338,1070,1996,2078,1156,849,893,1704,1934,1230,981,1432,2226,2258,1736,1382,739,598,604,561,502,414,605,933,890,767,771,766,708,1044,905,728,719,644,458,497,633,655,511,390,350,365,343,382,324,272,313,350,386,413,373,274,223,244,254,263,309,394,620,1244,1068,781,874,1162,1274,992,617,625,686,787,888,542,581,535,488,481,708,754,542,349,359,321,362,467,478,503,409,416,576,770,951,1128,906,660,953,1084,1244,1422,1104,857,884,847,509,530,706,841,1072,1498,1350,1122,1216,792,441,397,493,1354,1214,806,937,1250,966,647,523,377,422,314,302,324,819,716,372,313,287,195,194,224,227,234,181,205,243,234,376,525,447,693,861,1288,1530,1278,1218,1644,1334,388,353,713,1140,907,637,491,603,547,561,644,515,363,530,901,714,775,1068,1274,1164,1017,1332,1676,1514,1236,1164,1340,1328,1128,933,902,1324,1122,1162,1042,913,1240,1310,1246,1016,908,1334,1334,1066,1458,1562,1516,1360,1354,962,536,458,446,403,393,358,353,359,321,343,403,544,856,1108,932,746,724,576,680,1350,1478,1278,720,508,922,1146,1396,1368,1240,1108,954,1034,1132,1112,1388,1440,1130,1436,1310,1100,1158,968,859,1098,1180,1230,1410,1001,593,683,877,780,724,602,693,931,1236,1524,1406,1318,1500,1604,1098,991,711,660,667,669,815,874,932,1260,1766,1784,1410,1366,790,901,861,755,876,969,1244,1436,1316,1192,1046,836,592,785,852,1114,1094,1066,1152,765,557,921,1062,1136,1260,1330,1478,1384,825,678,547,385,861,1714,1486,991,759,610,744,1530,2354,1368,1782,1448,1238,760,558,672,574,506,528,578,608,631,784,686,645,649,716,650,610,515,371,377,483,711,1016,967,742,604,541,728,591,495,572,670,598,591,594,559,559,423,778,1132,770,766,1168,1544,1692,1608,1216,1164,1198,1186,1056,738,959,1318,1160,741,686,596,480,440,526,856,921,854,1015,717,605,949,1178,1372,1540,1536,1516,1440,1532,1720,1662,1176,1080,1002,659,491,476,778,764,1528,2128,1736,1854,1760,1015,597,465,530,502,380,339,328,371,446,452,853,1406,1426,1384,1466,1348,1310,916,378,326,331,351,344,298,317,384,402,508,486,308,298,314,310,419,858,1358,1232,822,510,473,542,597,535,573,786,828,787,519,441,530,760,1172,1324,647,321,433,720,990,838,894,1058,881,991,1112,1198,942,763,766,565,581,828,745,707,911,1034,1314,1310,621,414,388,429,501,565,697,814,900,933,931,940,1674,1132,595,649,484,394,671,1046,892,849,1184,852,419,459,596,713,655,769,962,1528,1428,862,694,767,1005,1272,1536,1622,1548,1498,1300,1048,749,589,542,582,547,459,512,471,463,565,511,550,760,925,642,708,909,833,655,576,1015,1178,791,633,1052,984,979,1218,1396,1234,1126,1134,1260,1268,1011,902,1192,1250,1180,1056,875,1056,1226,1234,1266,1272,1350,1786,2242,2198,1972,1434,1316,1064,1188,1304,1372,1440,1466,1538,1710,1410,1208,1334,1650,1386,1460,1370,1418,1510,1462,1470,1462,1526,1500,1310,1312,1488,1310,1206,1422,1340,1504,1616,1476,883,480,505,1010,1296,1226,1380,1182,1324,1504,1082,1332,1772,1392,1798,1944,1444,1228,1332,1468,1524,1582,1506,1540,1410,1350,1756,1690,1284,1032,796,516,468,464,392,414,432,453,526,464,464,429,1004,1888,1860,1360,868,703,1032,1034,1062,444,220,264,283,253,250,300,320,360,437,561,660,1000,1058,1005,967,1122,1226,1184,1202,1100,1021,1228,1304,997,918,783,764,860,521,705,898,1009,1078,1168,1218,999,967,960,952,933,867,650,651,875,1090,1202,1384,1554,1388,1338,1366,1402,1578,1396,1156,1210,1418,1180,1064,1076,1180,1196,1310,1362,1148,1298,1466,1052,1488,1728,1628,1412,1282,1388,1460,1554,1498,1266,1198,1090,1040,1490,1760,1316,1222,1066,1292,1472,1546,1262,730,777,1258,1332,1332,1354,1422,1376,1212,1280,1664,1740,1504,1276,1288,1442,1560,1566,1622,1318,913,943,1184,1132,891,854,805,703,764,696,950,1710,1632,867,724,919,927,796,1342,1664,966,786,874,750,871,899,630,674,633,591,791,784,651,467,333,354,462,498,606,955,1044,1182,1476,1368,887,942,755,814,822,673,562,572,642,777,1064,1348,1236,927,941,1182,1094,810,601,522,816,1350,1504,1528,1560,1904,1526,932,1014,1216,1378,1288,1108,1114,957,524,334,339,342,338,333,332,318,330,305,330,372,426,746,994,754,597,957,1488,1334,1356,1490,1214,1172,1318,1242,939,1064,1162,1012,783,841,933,1024,1084,1078,1044,1098,1276,1322,1250,1432,1354,1170,1138,872,991,847,1342,1456,1350,1322,1144,926,1200,1352,1306,1502,1320,1548,1886,1390,1290,1130,1620,1698,1314,1184,1232,1284,1284,1290,1226,1234,1190,1192,1460,893,800,1426,1490,1218,1038,1052,1220,1266,1046,858,835,805,949,1026,1134,1312,1572,1402,1266,1054,653,901,1204,1188,1336,1388,1490,1450,1068,712,789,1182,1306,1130,1202,1198,867,687,805,836,980,902,1188,1076,1138,1358,1016,1100,1204,1066,849,1054,1650,1512,1480,1346,1074,1028,1318,1356,1324,1262,1432,1416,1556,1546,1710,1580,1570,1594,1680,1398,1384,1500,1386,1874,2566,3010,2054,1692,1094,869,635,670,1066,944,525,670,1166,1282,1184,986,1128,1190,1320,982,677,797,1120,894,683,954,881,1013,1176,1152,1184,1252,1372,1324,1296,1146,1060,1140,1186,1140,1032,985,818,948,1418,1108,715,1148,1086,1238,1298,1080,868,606,441,433,749,1030,1364,1364,1184,1450,924,1164,1364,620,662,949,1128,1042,600,1005,860,851,1328,886,536,843,777,414,350,476,520,590,456,376,739,800,530,396,611,982,1074,963,857,725,650,922,1072,841,633,816,828,918,815,587,941,1288,1018,507,384,482,735,727,676,614,904,1238,1354,878,501,549,523,603,1072,1594,1524,1486,1126,1044,824,809,731,648,818,727,568,820,1084,777,779,1400,1102,475,533,579,853,1024,1056,1164,948,607,825,1500,1858,1672,1682,1362,1060,1096,1692,3570,4728,4972,5572,5760,5572,6192,5800,2030,761,694,582,422,484,940,1162,935,454,423,532,633,1076,1704,1952,1778,1328,1250,1278,1396,1570,1578,1110,542,427,332,343,353,315,282,294,315,322,329,393,449,370,331,331,319,306,301,291,319,334,325,332,347,359,366,354,329,330,347,344,339,336,340,362,362,338,326,322,335,345,331,357,384,390,389,364,350,351,353,336,332,339,350,363,366,368,390,382,351,364,383,379,387,404,387,397,417,425,405,401,405,405,388,385,380,380,376,371,361,365,380,386,382,393,382,396,392,398,398,412,411,414,424,418,411,399,412,407,402,404,408,386,409,403,411,412,409,401,395,417,401,395,389,378,375,393,386,368,363,384,398,375,357,338,344,363,370,376,370,355,337,334,346,350,350,345,342,352,353,363,365,376,370,355,361,352,347,341,353,384,386,372,347,340,334,341,350,365,369,365,362,373,376,398,419,383,386,390,397,407,435,429,401,401,403,407,405,400,394,413,411,386,385,368,365,366,368,362,360,359,352,348,347,348,352,347,342,347,344,340,328,322,323,336,354,367,372,363,351,354,366,373,377,390,396,418,455,489,505,495,489,467,417,402,415,395,404,402,408,438,460,469,433,372,368,362,363,382,382,368,361,355,361,359,349,352,355,335,348,364,352,331,340,356,347,339,333,327,320,317,312,314,322,326,331,320,299,302,311,317,318,318,317,321,333,333,315,321,326,324,324,324,326,320,317,319,323,326,326,332,330,317,328,319,324,329,323,312,318,328,330,325,326,339,341,334,335,336,362,349,353,362,361,351,343,344,346,351,351,353,361,363,368,367,367,357,346,342,350,349,342,340,359,361,331,343,345,359,346,353,351,336,331,339,345,342,337,348,356,351,345,340,338,332,328,327,324,322,316,310,310,312,300,287,294,303,295,302,303,307,306,307,300,310,313,313,313,314,314,332,357,363,375,377,378,372,364,361,352,364,357,363,351,366,375,364,372,361,360,377,366,372,360,372,382,374,393,354,364,360,346,351,350,329,349,357,361,357,351,351,351,346,346,346,346,346,345,345,341,339,345,353,361,362,357],[565,465,339,320,305,346,348,295,305,300,301,277,267,257,318,346,309,247,298,346,320,221,227,216,283,404,325,255,314,423,931,1340,877,487,502,737,590,704,1214,1472,1072,1023,849,833,1526,1882,1604,1882,1808,1620,1150,1094,927,1292,1280,1094,758,941,1416,1378,1346,1408,1640,1522,1512,1330,862,767,2038,1642,1192,1350,1280,1560,1386,913,1368,2270,2494,2000,1632,1524,886,606,518,438,523,488,589,907,1010,1030,1112,1272,902,884,651,498,579,477,456,583,841,1216,970,543,380,351,372,355,328,467,549,448,392,400,397,276,237,279,242,228,309,394,888,933,760,857,791,735,839,781,423,438,585,750,1028,691,579,528,473,444,470,708,843,580,386,350,383,553,602,637,678,824,891,946,1044,1078,865,716,809,1044,1168,1200,1356,1136,1138,1334,872,645,800,839,827,857,879,1042,1250,958,681,794,818,1164,1252,1136,1026,1152,1084,919,675,482,639,480,389,307,778,775,448,312,232,181,208,258,291,276,221,250,273,249,387,522,460,634,869,1034,1288,1296,808,687,920,438,492,870,828,595,494,388,491,554,472,375,416,505,554,684,547,414,626,1080,1400,1502,1588,1532,1268,1032,906,1138,1188,1180,1166,1088,1294,1080,942,1028,991,1142,1334,1168,1096,1394,1668,1118,749,951,1396,1290,868,1013,1220,852,458,435,416,389,388,391,393,344,308,314,417,570,570,596,669,655,695,923,1236,1188,806,667,996,1568,1506,1376,1326,893,826,896,727,1096,918,864,1184,1194,913,634,576,585,854,1328,1422,1238,1194,1382,953,563,473,927,816,593,563,686,1152,1562,1280,990,1122,964,1158,1110,1054,984,904,781,616,695,892,1010,1182,1508,1508,1238,1238,963,1224,1380,1214,1228,1100,1015,1118,1216,1362,1090,880,609,832,1370,1462,886,948,1192,702,567,947,1212,1384,1312,1038,995,1202,888,586,498,524,943,1400,1202,927,894,1016,1170,1306,1798,893,692,549,410,425,445,473,588,632,644,526,501,545,869,683,643,965,1186,1036,760,508,340,422,462,540,604,556,371,335,651,909,1068,946,1002,1005,631,810,916,942,655,492,1180,1520,1086,849,1078,1434,1490,1140,892,1250,1804,1422,1070,1238,1506,1544,1108,627,578,622,489,325,362,319,358,683,792,530,517,769,1052,1172,1286,1382,1404,1470,1610,1766,1636,1438,1204,902,593,630,842,967,902,1346,1354,1100,1318,1156,670,653,594,615,561,543,628,719,557,572,663,885,1266,1282,1210,1520,1248,1256,1130,502,350,365,356,307,286,355,435,441,496,481,343,354,342,365,778,1366,1764,1330,691,462,424,559,629,539,541,752,759,827,526,383,468,584,993,1286,988,473,310,464,720,1150,958,1126,1142,1368,1250,788,554,509,568,440,514,650,668,976,928,969,1102,857,479,342,383,517,461,462,600,662,725,859,908,669,957,970,940,792,468,337,404,568,752,835,776,858,582,650,630,630,767,901,926,1654,1938,1272,655,435,415,628,864,1180,1420,1638,1686,1620,1362,1172,869,698,565,498,612,487,404,507,422,441,556,661,794,1080,1220,1368,1388,1086,1040,1184,961,1040,1210,978,1084,1252,1342,1190,811,789,1076,1436,1312,1004,1156,1170,1126,1068,1112,1050,1098,1224,1234,1268,1338,1740,1946,1702,1406,1456,1364,1300,1250,1298,1300,1406,1332,1770,2286,1452,1318,1284,1444,1286,1516,1478,1472,1484,1534,1632,1500,1332,1186,1282,1344,1530,1218,1290,1334,1328,1502,1664,1524,989,506,523,968,1410,1328,1412,1354,1296,1516,1494,1610,1432,1122,1566,1706,1368,1390,1438,1564,1788,1680,1604,1530,1298,1256,1382,1672,1392,775,1036,1280,614,487,412,371,447,807,951,816,596,436,900,1642,1704,1158,540,418,685,891,1206,669,275,298,294,298,356,463,433,409,505,714,771,1078,1354,1418,1358,1270,1322,1260,1172,1015,1010,1072,1494,1118,922,995,1152,896,671,974,1158,1164,1112,1154,1116,993,875,940,957,835,747,963,950,709,891,1134,1142,1312,1272,1412,1298,1348,1304,881,860,1174,1388,1212,1040,1120,1278,1402,1514,1310,794,919,1400,1592,1818,1710,1638,1638,1490,1404,1580,1488,1166,1040,1118,899,1140,1726,1590,1114,925,1450,1796,1572,1454,1376,1302,1180,1302,1282,1540,1580,1432,1252,1074,1136,1332,1492,1592,1466,1512,1490,1592,1760,1506,1256,1280,1324,1286,1294,1144,899,913,1126,981,692,807,914,1042,711,719,921,1094,811,1188,1156,756,1036,1294,1266,1092,865,662,610,612,683,786,788,667,549,521,556,583,495,593,916,892,1058,1410,1452,990,965,860,640,670,670,560,577,597,800,1044,1280,1138,852,1002,1220,922,619,564,607,952,1298,1388,1410,1476,1610,1126,1144,986,692,796,835,924,1062,742,412,362,387,371,374,366,343,344,361,377,393,441,474,473,479,486,570,1102,1506,1400,1514,1580,1440,1376,1484,1548,1456,1596,1488,1428,1362,1992,2152,1548,1124,1224,1302,1272,1326,1288,1260,1434,1598,1520,1444,1310,1276,1066,996,1230,1404,1448,1316,1272,1502,1332,1136,1108,1174,1436,1422,1216,1156,908,1252,1518,1396,1092,962,1202,1338,1290,1174,1290,1340,1304,1364,843,684,1126,1340,1080,794,954,1572,1536,1054,805,901,720,912,1274,1174,1272,1696,1044,1196,1242,1336,1324,1388,1342,1440,1388,1202,906,565,462,838,1322,1220,1278,1252,1190,933,850,948,1026,981,912,1168,1096,1188,1178,1040,1094,907,885,839,995,1316,1602,1306,960,915,986,1074,1296,1212,1162,1192,1252,1230,1222,1356,1580,1626,1506,1588,1306,1356,1574,1402,2148,3034,3220,1846,1318,1260,1152,780,661,915,697,410,669,1266,1134,1148,1244,1262,1088,1180,1026,698,640,857,899,821,992,1218,1206,1001,1074,1230,1322,1368,1298,1328,1382,1286,924,772,1148,1168,1116,1270,1504,1140,797,1072,1542,1274,873,921,1206,1130,1054,960,816,691,1104,1592,1340,947,820,741,1338,1238,572,473,580,984,1050,542,619,502,756,1156,866,598,695,747,455,420,441,466,549,549,570,993,863,458,429,540,614,593,845,802,714,1000,1516,1600,949,535,490,701,960,760,502,705,1182,1384,838,491,482,609,590,498,609,1150,1780,1780,1092,601,472,451,425,804,1334,1402,1278,687,448,451,795,1072,974,890,1013,689,604,926,916,711,1074,1007,562,508,886,1402,1300,1120,1342,1208,678,713,1002,1560,1588,1740,1544,963,949,1654,3176,4640,4836,5196,5160,4884,5928,6676,4628,2250,891,631,590,659,855,1254,1664,791,429,463,586,863,1316,1172,838,1044,1402,1652,1830,1724,1556,1020,509,415,369,346,365,344,304,296,301,305,294,342,413,345,337,343,330,312,302,298,312,327,337,332,341,356,354,354,329,329,336,334,336,332,338,355,363,350,336,323,314,321,341,363,383,387,379,377,364,338,337,332,336,349,369,363,364,352,372,384,362,360,392,401,395,391,381,404,405,432,423,413,400,402,391,385,389,379,375,366,366,363,385,400,387,387,392,411,412,392,395,416,408,412,437,438,424,410,412,404,402,392,398,388,396,401,407,414,419,405,405,427,414,392,396,392,369,384,384,366,356,376,410,392,356,349,344,370,380,380,380,352,333,338,349,339,340,340,346,344,353,367,367,364,359,355,355,353,355,345,351,357,390,375,363,350,335,336,339,339,345,346,354,382,372,400,403,392,392,390,406,416,442,435,413,411,400,408,411,410,392,399,408,412,407,373,364,371,370,364,360,359,348,342,342,347,337,342,348,344,339,333,324,322,323,330,342,360,372,363,348,351,363,372,378,383,387,411,445,474,519,516,493,473,433,427,433,419,427,421,433,469,483,471,444,375,371,366,366,368,382,381,369,358,347,336,345,349,350,324,334,340,336,336,343,336,328,331,329,323,322,312,301,325,305,318,318,305,297,302,309,318,318,318,318,318,333,343,318,323,324,324,319,320,324,315,319,325,326,332,336,337,344,328,321,326,332,326,325,310,311,339,329,332,336,330,323,317,328,338,353,353,353,359,356,348,346,354,353,357,350,356,363,363,363,365,361,348,332,337,345,338,332,338,348,362,338,346,356,363,362,359,353,340,337,340,350,345,345,350,356,359,349,346,346,342,335,335,336,306,307,313,312,306,300,301,302,297,292,294,296,303,310,313,307,312,312,311,318,321,321,339,357,378,384,366,367,372,372,372,347,363,364,377,374,377,377,370,370,366,352,363,360,368,362,370,366,372,370,370,360,350,350,347,332,333,340,350,360,351,369,354,341,351,350,345,342,339,339,336,335,339,343,357,361,361,359],[589,538,352,332,316,328,341,331,305,293,264,242,237,250,293,298,320,364,389,351,288,196,190,220,225,261,276,296,326,315,571,845,607,513,843,1556,1088,902,1274,1432,1462,1366,1188,1018,1318,1660,1914,2392,2046,1298,1348,1300,1206,1234,1252,1234,1068,941,681,865,1360,1594,1534,1476,1238,855,688,774,790,531,812,1372,1334,1234,1144,1514,2370,2468,2066,1890,1684,1294,808,521,447,455,585,556,527,921,1324,1282,1021,947,690,819,719,428,556,844,1202,1368,1478,1520,1014,616,448,383,371,370,485,653,626,479,409,381,361,343,332,333,262,245,296,582,1192,1058,723,646,616,600,813,649,479,437,437,453,1042,926,611,567,482,454,466,537,781,901,525,567,524,629,762,771,818,877,936,1072,985,966,1044,767,550,910,1046,1212,1522,1184,1128,1284,960,598,631,714,555,642,639,851,1170,905,813,1064,1098,1032,1242,1260,1022,1008,1078,1238,1008,577,726,597,487,357,727,868,454,236,199,215,312,319,334,294,325,282,243,217,327,468,520,625,807,921,1010,1116,904,684,698,860,1166,1410,1150,691,449,358,347,356,435,308,387,543,444,705,901,705,629,1162,1522,1400,1208,940,1208,1274,1008,1128,1214,1172,1272,946,919,1024,725,686,750,810,637,792,928,1322,1814,1626,909,784,1390,1572,1248,1288,1432,1326,700,411,372,342,367,379,391,412,376,304,349,405,336,380,480,529,750,1200,1152,1146,1132,1256,1606,1934,1628,1500,1592,996,714,813,1348,1494,1000,939,1100,964,744,700,711,856,1318,1672,1412,1288,988,1042,1074,847,1026,1270,949,549,513,573,819,794,485,563,786,1110,1160,1054,910,751,877,969,948,1102,1284,1182,1254,1262,1274,978,902,1020,1242,1512,1504,1528,1290,880,1376,1460,1294,956,887,836,967,1268,916,421,508,555,393,391,549,692,675,614,490,443,738,897,1003,1246,1324,1336,1306,1290,1122,741,739,787,645,524,416,402,390,378,424,436,413,462,515,566,466,520,525,948,804,678,1248,1556,1266,1046,775,455,725,709,511,434,550,547,359,572,1116,1356,1034,915,907,875,1042,875,851,694,566,921,1272,1328,1286,1266,1252,1034,922,1122,1494,1744,1378,1258,1058,932,924,916,959,1058,1116,672,376,430,439,401,428,665,790,819,1090,1234,1372,1498,1466,1542,1494,1560,1636,1340,1244,962,625,666,1152,1366,1354,1290,1126,902,1004,1180,925,532,678,608,560,529,491,569,824,774,728,893,1017,1052,1060,918,1086,917,888,806,483,365,329,295,311,374,461,590,449,370,432,341,316,325,408,1044,1632,1668,1114,603,456,397,496,575,575,534,703,745,759,558,441,448,515,938,1692,1644,845,371,422,1492,2078,1262,970,1066,1370,960,458,368,412,501,490,690,641,472,454,698,963,1246,976,486,478,761,885,569,598,699,649,520,756,883,728,975,1160,1060,908,491,375,396,426,597,884,1150,1042,980,806,618,677,681,630,788,1212,1130,1066,694,504,434,408,447,548,822,1214,1528,1648,1686,1642,1480,1338,1046,728,576,485,402,410,432,531,507,528,917,1192,1062,1408,1490,1198,1170,1202,1160,1160,1026,1114,1230,1144,1168,1160,855,948,1110,1340,1138,687,733,899,915,991,1158,1158,1110,1150,1224,1224,1282,1426,1350,1206,1448,1442,1334,1288,1268,1216,1266,1294,1270,1450,1610,1186,1448,1332,1240,1294,1472,1364,1344,1342,1450,1490,1238,1182,1290,1730,1738,1582,1190,1246,1532,1522,1346,1414,1302,805,486,547,999,1406,1344,1444,1716,1626,1542,1532,1510,1368,1312,1520,1620,1420,1530,1622,1632,1568,1458,1474,1296,1310,1344,1038,1028,658,455,638,1108,997,668,521,631,932,1250,1262,892,622,539,631,1228,1248,769,517,382,395,651,1009,795,387,306,300,337,440,510,441,403,487,826,1194,1416,1344,1584,1670,1286,1256,1198,849,650,649,735,1302,1024,959,934,1122,1021,874,1144,1196,1224,1042,915,933,983,1066,1188,1246,1112,993,1098,1034,749,1001,1190,1118,1254,1336,1038,1024,1022,1023,1158,1176,1046,1106,1282,1266,1064,870,1102,1274,1056,787,850,1290,1554,1528,1518,1430,1284,1210,1368,1302,1096,1228,1100,1002,1344,1770,1570,1226,894,989,1252,1292,1334,1238,1322,1484,1210,1250,1296,1400,1356,1232,1262,1512,1606,1450,1518,1538,1484,1412,1264,1370,1622,1322,1322,1540,1556,1414,1432,1394,1248,1036,1064,956,620,755,794,839,688,758,699,811,1024,726,519,577,935,1122,1438,1290,913,626,520,622,694,681,626,516,458,638,937,1030,816,1186,1272,1116,1034,1356,1312,805,687,756,769,716,650,629,594,653,763,816,969,1204,1144,1178,1070,814,631,591,639,954,1250,1480,1226,1004,707,527,1198,1328,866,648,716,966,1004,535,414,387,379,361,383,369,360,422,424,418,446,472,512,550,529,476,480,656,1090,1312,1510,1688,1794,1562,1450,1498,1278,1412,1556,1452,1476,1888,1982,1666,1514,1498,1378,1168,932,667,583,927,1588,1394,1164,1160,1200,1180,1120,943,1004,1372,1332,1220,1378,1092,753,750,712,667,655,686,736,997,1356,1312,1168,1070,1000,1094,986,1040,1168,1266,1262,1336,1434,1124,828,863,1226,1038,889,1058,1474,1310,1136,1220,1258,1170,1202,1304,1230,1158,1088,1074,1406,1406,1296,1842,1972,1504,1246,1282,1144,664,427,547,1052,1366,1238,1282,1146,1292,1158,1026,863,818,1024,1078,1206,1048,1040,1056,1122,963,730,928,1108,1140,1010,1013,996,888,866,900,861,1272,1212,1212,1286,1290,1294,1280,1186,1514,1650,1350,1462,1294,1256,1422,1356,1794,2214,2188,1742,1492,1448,1246,843,825,974,599,634,945,1134,1150,1120,1188,1310,1338,1284,1178,987,611,808,984,1134,1318,1282,1064,1106,1200,1184,1348,1394,1308,1382,1520,1438,1146,1092,1464,1592,1372,1422,1258,851,777,1046,1192,995,913,1010,1044,1194,1288,1280,1172,781,1072,1474,987,539,877,1496,1680,1076,741,680,701,913,931,617,711,843,641,525,489,607,999,1130,791,739,501,512,997,1088,1017,1200,836,389,398,394,536,821,1298,1172,790,750,1288,1290,648,420,518,844,1048,931,789,997,1476,1794,1260,702,513,678,673,488,615,990,1338,1652,1164,1042,672,473,883,1098,1036,1001,768,534,444,516,702,1030,1120,833,672,459,385,702,827,594,683,720,613,924,1376,1440,1146,1046,929,860,698,753,1172,1400,1292,1302,1262,1010,1021,1340,2322,4112,4352,4728,5184,5660,6120,6236,5160,2658,1096,1058,1500,1886,1866,1302,1932,1422,634,430,485,624,831,660,612,1164,1676,1766,1766,1738,1356,792,452,326,324,346,361,361,327,301,304,268,265,279,304,299,321,358,337,318,308,315,314,321,353,340,334,335,341,356,329,324,338,343,337,326,322,331,346,338,324,321,320,312,325,350,382,394,380,372,355,355,349,319,333,338,368,357,370,368,366,378,375,362,372,395,408,418,404,410,431,408,409,404,400,411,401,379,368,364,379,370,379,375,386,393,393,387,394,411,417,404,404,414,414,426,454,448,416,404,404,398,391,392,395,394,389,391,403,405,413,415,404,417,424,398,397,396,375,378,375,354,351,366,369,378,361,356,354,387,404,393,372,344,342,336,353,350,346,333,332,337,344,342,346,361,369,375,381,370,355,346,350,363,365,362,363,351,345,339,335,341,350,365,357,383,373,384,397,394,394,394,402,405,427,447,423,411,415,410,402,406,401,391,395,397,378,362,372,380,372,359,360,358,347,342,342,342,332,342,354,344,340,342,344,333,324,332,346,360,367,364,357,363,369,378,387,393,390,396,436,466,507,506,512,484,450,449,452,447,441,435,457,474,483,488,469,389,375,362,360,378,379,368,369,359,369,348,350,339,345,331,324,322,335,355,350,325,316,321,326,323,317,310,307,301,308,312,310,309,308,305,311,318,318,318,318,320,323,332,320,324,326,325,320,323,320,329,336,336,334,334,337,343,344,339,329,324,328,328,322,316,330,330,332,328,328,325,324,326,332,338,349,351,351,353,358,365,365,365,375,366,353,356,359,361,365,374,371,339,338,342,330,328,330,338,342,351,349,350,353,359,361,363,355,353,345,336,355,353,345,349,353,350,351,355,353,342,337,335,336,318,332,316,302,295,296,305,305,297,294,300,302,309,305,305,314,318,319,324,332,335,335,349,366,346,339,357,369,370,369,370,350,357,369,372,382,389,384,368,374,366,357,357,363,362,362,354,350,354,362,360,352,357,352,352,338,339,345,350,354,349,360,347,338,336,332,333,333,333,339,330,330,338,342,353,357,351,354],[543,448,316,302,329,343,345,340,338,317,258,265,294,286,322,282,303,356,335,287,194,171,192,215,211,208,229,248,275,276,281,312,403,765,1440,1914,1344,985,1090,1362,1444,1038,1268,1320,1004,1026,1288,1882,2036,1780,1802,1766,1452,1004,884,1070,785,493,364,580,821,1300,1406,1284,854,711,769,776,688,508,626,1314,1444,1454,1610,1906,2374,2152,1898,1978,1824,1696,1198,490,371,372,526,509,402,800,1172,1030,753,643,522,719,930,828,1196,1638,1708,1328,1296,1666,1126,652,448,360,380,473,568,602,533,458,350,351,336,318,323,364,361,303,373,860,1252,884,678,576,650,766,892,589,505,595,528,430,819,969,707,565,556,522,556,517,760,856,589,859,1060,1130,1042,867,799,739,965,1034,931,1064,1170,1042,858,924,948,1088,1272,1164,1110,965,827,620,910,1208,746,662,1036,1412,1266,996,1032,973,899,1019,1578,1148,944,1122,1344,1434,1288,821,644,630,542,349,602,974,503,204,214,248,340,324,391,291,279,262,219,248,365,413,515,584,684,869,964,873,724,889,1148,1432,1404,1038,722,412,304,372,406,318,373,401,702,626,500,814,1138,1002,1066,1448,1660,1596,1230,626,1066,1434,1328,1274,1276,1252,1444,1182,954,1012,717,622,775,853,800,1056,906,1230,1538,1490,1194,1026,1206,1380,1640,1928,1760,1658,1023,579,385,346,378,383,392,430,397,305,308,334,349,401,511,606,709,835,709,553,854,1382,1582,1516,1614,1826,1510,1166,1344,1464,1510,1130,1068,1144,843,688,742,822,1060,1410,1776,1988,1472,1230,696,708,835,1236,1836,1300,915,702,843,736,827,775,742,886,1046,1684,1408,816,1015,1106,1440,1802,1686,2070,2170,1462,1494,1460,1382,962,751,678,692,881,988,1332,1100,601,695,984,1094,1118,1184,821,703,702,428,508,693,678,771,833,622,368,310,402,440,397,609,1005,1548,2008,1882,1538,1366,1266,1070,750,825,742,552,529,460,420,448,458,380,348,338,385,491,480,508,669,675,954,1078,1062,1366,1710,1694,1166,947,1010,1224,963,646,555,646,711,726,979,939,670,542,730,1134,1242,993,705,803,864,968,1228,1332,1446,1496,1198,979,990,1184,1294,1310,943,843,1158,1180,885,826,1042,1228,1368,1296,944,616,439,432,396,421,1013,1048,1068,1408,1676,1678,1570,1548,1628,1456,1478,1356,1066,1202,1198,720,938,1412,1212,1022,789,782,1300,1780,1520,1130,803,590,544,738,703,485,567,619,588,638,572,476,573,688,639,612,568,493,428,446,456,386,345,404,472,593,475,448,374,386,295,262,291,355,830,1560,1682,1210,718,469,421,517,649,739,578,637,788,750,672,542,444,501,890,1722,1786,853,411,307,621,763,662,702,898,922,550,437,370,440,568,866,1074,669,425,437,468,547,722,817,593,725,894,806,544,662,750,596,681,945,1278,1358,1296,1102,722,723,500,544,742,722,677,790,810,924,1034,737,865,1068,835,642,784,1120,1238,1110,778,617,581,519,419,366,546,846,833,1021,1326,1498,1766,1864,1754,1488,1194,899,663,505,474,502,441,398,843,1270,734,851,938,673,495,550,930,900,709,944,935,825,980,1102,1136,1162,1060,1040,741,445,624,1068,1164,895,999,1160,976,957,1174,1236,1242,1230,1300,1536,1390,1122,1278,1390,1168,1034,1288,1214,1258,1334,1326,1356,1352,1704,1650,1494,1306,1152,1268,1342,1260,1140,1128,1380,1474,1594,1682,1494,1184,1300,1632,1542,1506,1718,1232,671,493,544,968,1300,1136,1082,1160,999,1158,1470,1460,1296,1260,1418,1474,1498,1610,1650,1774,1916,1726,1472,1440,1560,1332,769,798,825,603,456,481,811,945,824,951,1376,1400,1230,838,689,592,671,1100,831,514,441,442,343,494,1064,1208,819,494,419,417,424,426,389,430,504,971,1626,1776,1854,2134,1748,1100,940,1030,715,668,715,604,775,968,941,932,1136,915,835,1106,1010,1064,886,854,1008,1128,1128,1126,1242,1368,1124,891,918,1140,1324,1260,1284,1280,1300,960,897,900,869,1108,1226,847,840,974,1148,1110,959,870,672,759,1040,943,1120,1420,1470,1290,1032,1246,1472,1642,1346,1324,1638,1416,1013,1368,1548,1438,1264,995,1074,1138,1196,1302,1246,1376,1160,1064,1170,1248,1190,969,996,1300,1652,1410,1146,1380,1366,1422,1274,1126,1204,1334,1168,1090,1334,1492,1362,1362,1468,1600,1438,979,771,579,607,849,1028,833,718,726,1306,1460,792,482,556,722,1194,1186,991,1088,909,698,722,520,378,411,553,702,670,974,1236,1122,1412,1348,1208,1188,1364,1320,1014,907,925,1056,1058,805,689,711,864,968,946,1084,1134,1150,1402,1212,1005,798,731,703,903,1158,1262,1009,958,838,772,1094,1396,1602,1734,1418,1104,791,471,401,422,432,437,426,367,397,483,453,441,504,508,519,498,478,478,525,615,777,1186,1772,1916,1734,1442,1556,1534,1512,1388,1474,1478,1520,1600,1454,1272,1136,872,711,551,501,509,683,762,1246,1416,1654,1532,916,960,1064,1300,1332,1410,1124,1036,1276,1046,799,708,589,598,580,716,1016,1158,1248,1262,1496,1116,1318,1232,1196,1240,1170,1066,1024,1362,1460,1366,1280,1164,1296,1132,911,1342,1436,1244,1334,1420,1410,1228,1184,1506,1494,1316,1104,1632,1466,1434,1262,1682,1882,1496,1384,1194,1144,756,425,723,1324,1226,1350,1130,917,1172,1154,1048,1028,706,677,796,664,882,785,1062,1148,922,852,913,1180,1296,1062,862,794,741,568,682,1074,1316,1296,1274,1154,1072,1120,1154,1504,1626,1340,1198,1402,1302,1146,1144,1088,1154,1174,1300,1534,1580,1332,1224,1246,1262,1516,1804,1200,836,1098,1078,1158,1242,1268,1290,1076,919,1156,1200,1260,786,895,1376,1378,1152,1142,1260,1334,1294,1352,1426,1520,1626,1622,1468,1274,1426,1754,1674,1302,1176,1296,1116,1090,1136,1086,937,866,774,1144,1284,1256,1200,922,938,1124,945,899,1070,1042,1084,1070,763,958,990,996,976,631,974,1416,988,790,504,679,1108,954,561,568,412,416,774,991,1208,1320,792,380,455,584,733,925,1028,828,727,711,1010,927,657,622,533,511,686,1024,896,1150,1636,1848,1272,601,406,409,603,853,920,1066,1180,1668,1356,1276,877,606,916,1152,985,775,797,602,574,633,763,827,888,724,589,423,282,325,349,358,645,937,923,1508,1360,1134,902,797,657,852,1006,901,1072,1386,1268,821,987,1136,1236,1480,1944,3548,4512,5288,5800,5500,4672,3912,2990,2188,2054,2220,2426,2354,2160,1744,1798,1582,1056,563,400,532,628,735,1172,1286,1614,1644,1528,1246,879,613,447,354,337,368,381,374,370,347,281,231,267,278,282,271,287,303,300,311,319,312,309,330,366,345,339,353,356,353,334,324,326,330,328,314,307,308,322,318,317,310,309,304,297,317,358,382,385,372,363,346,343,324,331,342,361,365,376,377,372,382,376,378,386,395,400,401,410,417,410,386,392,400,388,405,414,393,383,369,370,381,378,372,383,392,393,386,402,423,428,412,400,401,413,419,416,424,423,408,398,397,408,414,402,394,389,383,394,404,403,414,404,405,427,406,383,397,382,378,371,370,373,369,354,369,363,357,357,378,389,380,373,352,352,340,340,349,345,340,340,340,342,347,357,367,370,376,374,359,347,349,343,350,357,367,363,345,350,353,353,354,343,359,362,362,368,383,389,394,400,398,408,419,429,449,429,411,419,405,397,399,399,395,386,384,390,385,383,366,358,360,360,350,348,348,344,336,329,342,362,352,342,346,339,329,335,335,342,350,363,371,376,372,367,373,379,383,393,415,445,475,497,500,491,485,472,455,468,473,456,467,480,488,486,501,480,402,359,351,361,372,365,376,364,358,370,357,352,337,337,336,337,333,336,342,336,321,318,318,314,317,320,315,314,309,311,315,322,322,315,314,323,318,318,318,318,329,312,309,324,330,330,320,323,334,323,328,322,323,335,336,332,335,337,334,328,323,325,323,316,316,326,323,337,325,317,323,325,328,338,354,362,353,351,351,357,356,354,357,359,348,350,359,349,354,365,374,374,346,350,354,345,339,343,344,340,349,356,353,350,353,353,359,357,359,361,350,355,354,353,353,342,340,354,359,353,349,345,338,339,342,353,327,308,303,297,300,295,294,299,306,317,320,319,326,339,336,344,355,347,346,339,331,341,333,347,357,366,369,372,380,372,363,372,370,366,381,388,364,376,362,358,347,349,370,363,352,362,364,363,357,351,350,350,344,344,346,344,349,352,354,354,342,350,350,352,339,335,333,326,323,330,336,341,347,349,349,353],[526,379,305,303,331,335,328,334,346,334,286,274,296,297,310,290,240,241,214,215,183,177,194,200,207,212,231,263,282,279,250,250,331,802,1360,1222,680,714,1132,1532,1088,639,1015,1366,1154,1090,1072,1510,2122,2286,2174,1894,1448,1328,1246,819,397,332,357,467,500,698,990,984,745,850,861,863,717,669,977,1276,1454,1458,1306,1634,2128,2006,1908,1802,2006,2294,1490,492,355,358,386,359,296,546,733,642,607,495,442,597,852,1126,1102,1166,861,907,1638,1958,1296,698,501,505,490,503,667,728,554,448,314,316,267,237,252,462,603,382,362,672,1023,626,559,705,857,999,896,554,465,552,509,422,517,791,726,576,541,483,528,674,859,658,737,1042,1278,1620,1408,944,775,709,963,1160,1208,1290,1282,1222,1064,987,940,1038,929,619,660,761,658,738,918,709,576,451,529,726,730,751,791,811,1005,991,1534,991,1100,1268,1222,1388,1644,1314,750,654,591,453,487,963,521,240,265,256,266,241,256,267,286,299,228,220,343,300,285,289,376,531,777,935,964,1074,1164,1112,855,318,277,285,318,423,429,421,549,814,980,686,455,796,1188,1080,1444,1556,1582,1770,1664,1134,1346,1484,1222,1226,1246,1328,1350,1228,1180,1328,1318,1032,905,837,956,1178,1360,1426,1244,1458,1554,989,1054,1372,1494,1650,1660,1448,1200,815,434,373,398,395,412,518,447,374,328,325,417,518,619,623,656,842,968,692,641,1098,1324,1276,2028,2094,1536,1264,1496,1568,1264,1042,1086,723,537,526,653,986,1424,1738,1710,1528,1330,1156,1100,1422,1452,1468,1584,1102,1044,1272,1396,1396,1448,1290,1140,1232,1374,1620,1438,1222,1654,2050,2054,1902,1804,1914,1710,1166,940,1116,1054,679,918,1332,1490,881,689,569,469,728,900,1244,1268,1312,1422,803,487,656,849,640,722,1238,1542,1168,708,478,431,462,458,416,497,847,1376,1456,1574,1402,1486,1700,1496,1408,1614,1138,634,566,453,404,356,357,356,385,325,328,440,473,456,551,593,712,1088,1264,1300,1820,2174,1186,797,866,639,485,605,633,605,683,739,912,871,794,881,913,902,775,565,657,1156,1332,1026,1128,1400,1236,772,544,870,1184,1266,1090,922,874,848,1170,1444,1302,1354,1426,1212,972,1058,1168,1202,634,382,378,374,727,1026,1050,1274,1836,1600,1250,1228,1404,1578,1710,1688,1250,924,954,846,821,988,812,809,706,708,1382,1564,1340,1250,1154,885,758,1094,902,516,413,466,532,472,406,409,509,530,497,501,562,573,577,484,413,310,341,474,550,468,416,465,421,323,274,277,269,294,592,1292,1514,1200,802,528,489,535,689,728,576,597,679,685,754,700,471,479,1016,1606,1852,949,439,416,644,703,648,836,731,565,520,497,419,547,1272,1628,1432,782,451,451,481,430,476,725,584,554,487,361,440,558,572,503,564,855,1316,1542,1262,1246,1112,699,469,697,1126,851,852,1122,957,920,810,675,1182,1094,1354,1398,1058,984,1234,1090,694,592,612,502,401,373,511,750,427,413,630,897,1218,1572,1704,1842,1918,1714,1334,955,728,629,510,404,490,571,455,429,493,422,395,532,746,696,755,1148,1122,979,993,941,1066,943,828,926,980,819,908,1286,1298,825,928,1210,1028,839,1046,1234,1324,1506,1606,1366,1110,915,917,1200,884,1150,1220,1192,1226,1372,1394,1306,1344,1308,1240,1498,1384,1152,1154,1210,908,907,1142,1482,1470,1410,1510,1368,1196,1428,1670,1510,1616,1682,946,499,407,549,965,1236,951,636,512,514,748,1368,1410,959,713,741,890,1094,1062,1130,1616,1846,1606,1172,1454,1324,905,674,1040,1484,1010,547,451,485,740,1044,927,714,703,993,912,791,712,697,638,428,426,526,486,366,392,822,1130,1102,988,902,587,470,434,442,491,506,865,1578,1944,2046,1958,1620,1160,1044,1012,796,1032,1136,939,999,908,666,800,1036,1084,1012,952,879,927,1010,1000,1074,949,896,1090,1130,1210,1086,1168,1142,1354,1450,1186,1274,1292,1254,1072,919,971,1026,915,1044,879,977,820,1015,770,996,1192,1028,990,1090,1013,952,1130,1134,816,694,922,1392,1632,1532,1472,1488,1404,1346,1532,1550,1368,1158,1058,1140,1222,1178,1202,1262,1192,815,1082,1140,1092,1014,859,1100,1538,1570,1358,1534,1666,1480,1396,1132,1046,1232,1280,1262,1212,1382,1500,1542,1434,1466,1402,1292,791,759,880,702,1110,1432,1066,1104,1336,1542,1430,953,582,727,625,900,855,807,1002,1184,1004,625,476,445,490,664,736,684,827,824,805,963,997,1066,1462,1502,1266,1490,1542,1076,987,913,846,1050,1130,1070,1064,969,1040,1202,1222,1198,1154,1416,1238,1126,1042,1092,1288,1210,1102,1204,1332,1174,1074,1106,1346,1486,1626,1060,574,445,464,511,521,525,519,487,508,546,498,526,521,484,502,488,466,464,547,842,1246,1404,1456,1388,1294,1406,1534,1464,1492,1410,1350,1442,1526,1340,872,736,592,543,480,482,563,603,716,642,969,1530,1670,1238,833,913,1042,1156,1400,1414,1220,1164,1028,756,727,700,510,502,528,769,1168,1366,1166,1212,1688,1620,1446,1270,1258,1324,1356,1062,886,1250,1356,1446,1394,1318,1238,1304,1140,1166,1284,1396,1510,1384,1310,1306,1174,1460,1452,1058,1132,1356,1404,1360,1232,1556,1410,1506,1588,1276,1428,1070,747,1130,1346,1160,985,763,992,1344,1242,745,752,720,704,969,966,780,717,755,727,976,904,844,1074,935,773,899,735,707,604,547,1056,1360,1338,1360,1650,2498,1602,1250,1556,1520,1300,1170,1476,1212,1134,1416,1338,1176,1140,1388,1504,1460,1294,1248,1206,1662,3066,3776,2192,927,1144,1236,1224,1242,1304,1066,842,1122,1410,1224,775,476,861,1252,1116,1021,1088,983,1086,1226,1358,1342,1332,1428,1494,1516,1258,1138,1496,1480,1017,1290,1306,1314,1098,1010,1076,812,572,626,1142,1358,1122,1054,1058,727,605,721,991,1248,1056,860,815,805,963,895,937,1136,915,1142,1316,1306,1106,725,750,705,645,575,575,647,646,756,954,1054,1272,1092,965,954,927,888,1150,1162,701,480,516,516,497,718,799,885,811,760,1204,1024,1060,1302,1390,974,470,328,397,677,919,1046,1126,984,1150,1328,1110,1040,800,459,588,719,797,1000,633,534,542,511,517,811,740,445,288,272,361,395,395,832,1462,1196,1021,918,990,667,529,708,882,777,614,575,697,926,976,1120,1098,1440,1756,2148,4040,4876,4188,3086,2138,2098,2288,2336,2454,2458,2264,2110,1682,1486,1192,1114,1482,1482,816,353,452,549,626,1238,1212,1266,1182,944,750,681,517,423,410,348,363,440,414,353,274,237,232,282,289,257,243,263,282,279,285,343,325,299,332,367,352,340,345,345,342,338,326,311,317,314,309,322,310,309,316,310,306,310,305,297,312,336,368,394,367,366,349,343,339,333,337,363,370,376,392,390,379,377,375,366,372,395,387,393,413,397,372,399,421,404,412,405,394,386,383,371,379,380,383,389,393,392,402,422,425,412,407,413,408,411,416,402,416,435,412,396,402,402,398,398,400,391,383,392,414,407,396,388,383,417,432,400,399,376,369,361,351,354,373,372,361,358,357,340,357,393,405,383,366,358,356,332,336,342,339,340,339,339,340,342,359,367,375,379,370,357,361,349,339,347,356,357,341,359,353,365,361,346,355,368,362,368,376,380,390,402,398,406,416,432,453,437,410,405,415,408,392,395,397,380,377,392,372,371,371,356,358,356,350,348,347,344,332,325,342,362,360,348,342,334,346,342,332,337,346,358,371,379,376,384,357,365,377,386,393,421,465,489,496,491,490,480,458,470,500,465,474,480,494,488,495,474,419,391,363,360,355,355,373,358,364,365,361,355,340,334,328,324,334,337,313,318,318,320,318,311,315,322,322,312,311,321,329,330,327,324,326,337,320,315,324,323,330,324,326,338,338,327,326,329,319,332,325,318,322,328,328,325,328,330,326,328,324,324,325,319,318,319,316,329,325,317,328,332,337,341,344,344,343,346,343,344,348,353,359,369,366,350,356,357,361,371,375,367,359,353,340,340,353,348,330,331,353,363,356,343,342,345,350,356,354,353,345,351,357,357,356,340,338,351,365,349,356,349,339,332,324,322,321,324,331,307,301,301,309,312,324,324,318,321,326,328,333,346,333,341,344,336,336,344,351,352,354,357,368,374,384,374,360,379,372,369,376,384,366,364,357,360,346,344,364,360,354,372,363,345,363,360,354,357,366,364,351,346,350,347,354,357,346,363,354,345,341,344,338,323,321,328,332,341,345,344,341,345],[627,557,381,306,321,331,319,318,307,287,278,293,293,325,306,307,283,255,230,227,210,217,221,216,210,228,253,296,282,256,279,269,292,405,633,725,561,684,1013,1020,791,818,793,905,1112,1194,1158,1398,1916,2232,2098,1690,1328,1058,633,416,355,346,362,422,415,431,716,818,886,1128,1106,939,1184,1544,1314,990,868,802,773,1106,1550,1836,1732,2066,2066,1748,1052,482,329,345,360,349,300,379,429,419,623,738,893,696,594,1009,1092,774,514,693,989,860,616,537,591,686,505,548,715,695,711,489,285,248,234,241,196,339,481,383,384,496,838,529,420,692,976,1128,967,578,379,409,429,436,461,719,791,697,601,645,716,723,623,495,785,1262,1398,1520,1424,1026,882,633,838,1064,933,1042,1094,1206,1422,1294,1050,1114,1086,864,591,585,670,664,565,531,453,394,400,411,344,386,408,429,402,393,617,584,735,809,1002,1362,1794,1310,702,620,576,414,342,830,480,295,365,310,269,237,231,247,288,328,251,219,229,223,205,224,237,214,362,547,607,650,611,434,458,372,357,296,356,380,518,772,789,673,495,338,288,415,942,1472,1714,1658,1352,1340,1416,1450,1458,1346,1236,1324,1400,1444,1194,1046,1142,1264,1066,1050,1054,850,1058,1432,1310,1158,1116,1078,1652,800,702,691,732,1136,1338,1194,998,701,385,346,399,383,394,591,548,461,357,387,511,576,595,599,570,764,1214,1064,749,1086,1186,1716,2128,1786,1344,1056,1044,1432,1324,1086,1006,977,621,467,620,1002,1738,2006,1358,1070,1130,1082,1384,1736,1552,1182,890,814,1100,1498,1438,1202,910,882,1180,1484,1476,1562,1760,1880,2020,2056,1686,1356,1300,1132,1158,946,598,651,549,724,1848,2264,1932,913,818,1188,1504,1356,1190,1356,1118,1190,1470,807,547,1036,2070,1628,711,1012,1404,1080,704,517,422,413,420,427,427,606,874,849,1214,1344,1704,1904,1442,1290,1274,793,522,464,433,411,346,401,384,354,376,345,380,484,446,473,553,694,947,1204,1318,1544,1426,800,521,442,369,530,822,899,751,639,562,674,755,1036,1300,991,676,722,938,1023,1138,1220,1206,1372,1092,693,504,744,899,933,748,563,733,1084,1126,1108,1410,1478,1242,1032,960,1146,1380,1660,1608,814,422,350,411,658,482,472,736,968,745,586,1130,1574,1478,1512,1686,1390,897,800,796,413,531,577,513,559,637,857,995,937,594,561,705,856,760,675,666,528,476,505,456,500,479,440,458,403,359,471,446,525,409,322,335,380,449,591,500,359,368,353,298,354,446,505,452,568,1003,1200,995,882,612,426,524,661,777,714,514,505,750,741,606,496,426,1172,1734,1584,872,428,339,370,491,890,982,863,781,650,680,751,910,1476,1690,1220,845,484,516,786,626,516,648,441,337,363,423,539,524,419,455,662,1142,1546,1418,1652,2232,1856,843,443,544,565,402,605,885,785,680,857,1146,1798,1098,1422,1494,1158,1130,1434,1058,525,494,601,530,464,479,674,878,598,395,368,415,530,755,1010,1332,1616,1836,1810,1558,1362,1084,835,621,457,450,511,524,497,468,430,495,568,641,755,930,1154,1086,916,915,920,980,868,863,1180,1066,954,1104,1178,1062,1078,1176,1094,872,950,1160,1276,1374,1172,1005,1250,1130,1234,1007,823,1192,1180,1100,1306,1440,1102,1042,1158,749,680,924,1007,867,830,865,848,1048,1358,1488,1482,1548,1532,1328,1188,1320,1282,1136,953,822,559,438,349,526,947,1020,710,576,413,476,536,1130,1328,832,536,568,724,930,1062,1096,924,775,813,878,1632,1484,937,1078,1682,1878,1478,1068,543,494,911,1244,1268,781,918,1440,1286,920,813,760,480,314,342,413,508,630,503,475,707,662,722,688,799,792,669,713,754,780,1108,1636,1982,1730,1328,1218,1228,1184,797,784,1056,761,613,874,985,971,934,1023,1126,979,813,700,917,1230,1144,1144,1262,1188,1026,984,1060,969,1132,1290,1262,1264,1368,1432,1318,1246,1162,1134,1044,1088,1252,1482,1410,1266,1236,1220,828,714,982,1210,1190,1208,1088,1038,1194,1332,1100,1196,1500,1744,1460,1460,1592,1272,1184,1324,1440,1478,1358,1096,1248,1398,1498,1504,1354,1290,939,1070,1528,1260,1306,1242,1216,1222,1460,1302,1276,1976,1812,1396,1316,1230,1304,1376,1274,1158,1270,1422,1098,879,936,1246,1178,1096,921,772,921,1392,2170,1560,1184,1236,1152,1190,1102,975,786,589,488,496,744,851,726,1152,1326,995,711,573,844,1048,760,601,595,545,607,723,630,859,1598,1672,1342,1382,1294,805,667,726,920,1142,1126,1128,1021,741,667,1126,897,831,1011,1228,1284,1250,1316,1412,1396,1418,1388,1334,1404,1288,1034,1088,1324,1422,1344,859,511,448,443,472,523,547,551,548,568,588,550,579,511,473,499,480,471,522,777,1234,1470,1192,1004,875,767,822,1012,978,802,934,1090,979,905,698,513,471,429,446,491,460,465,519,623,596,727,1338,1628,1282,833,749,846,959,1490,1562,1106,1172,1166,808,771,912,725,553,656,1019,1102,1038,1086,1040,965,1208,1308,1266,1212,1346,1446,1428,1474,1314,1334,1470,1590,1470,1286,1372,1054,1076,1368,1610,1596,1324,1286,1320,1270,1410,1440,1064,988,1216,1350,1232,1400,1578,1300,1594,1476,1352,1418,1082,860,1000,1094,1176,1082,700,1021,1320,1100,795,667,902,1021,936,880,687,639,756,822,1032,848,800,1112,1015,969,993,844,769,666,674,1030,1276,1350,1534,2108,3584,2000,1202,1180,1318,1382,1324,1490,1206,797,675,568,517,957,1404,1522,1422,1326,1216,869,1518,3284,3984,2570,1390,1510,1340,997,1096,1022,1018,1202,1298,1340,1032,632,446,670,866,716,907,1054,926,1138,1202,1230,1164,965,1120,1328,1344,1284,1340,1572,1350,1194,1370,1426,1334,1146,1058,941,647,417,447,749,1136,1054,973,1096,714,461,426,627,928,846,494,641,832,603,555,709,1202,1198,1040,1066,1156,1072,879,713,738,973,1172,1212,1038,808,951,1088,1116,1336,1142,761,582,617,692,938,1046,558,312,347,334,384,511,760,1122,788,612,1030,979,805,1238,1424,943,488,425,489,720,807,935,939,625,882,1376,1292,1344,835,435,561,847,699,775,678,556,488,607,1108,1210,796,512,465,966,978,552,454,800,1402,1476,1064,902,826,585,549,447,383,437,520,517,497,654,1350,1528,1172,1402,1440,1324,2000,2408,2036,1130,850,1706,2264,2440,2430,2126,1880,1590,1194,1001,694,548,995,1576,1410,600,434,518,743,1184,1192,858,655,641,807,779,575,570,532,366,738,1094,752,361,250,242,234,267,289,277,280,283,287,318,342,401,413,350,332,357,353,345,341,341,330,314,320,314,308,301,307,317,309,305,312,304,296,298,300,300,330,328,347,385,364,370,357,345,345,330,347,374,354,362,382,404,378,365,362,378,398,419,400,394,417,396,360,391,413,392,396,394,402,406,400,385,391,395,392,395,386,405,407,425,427,407,411,420,412,404,406,410,416,418,412,398,402,396,396,395,402,395,383,383,392,388,388,384,375,392,389,397,383,362,358,360,350,354,364,345,356,361,361,342,378,404,396,376,384,379,361,349,349,340,342,346,342,352,349,346,358,369,374,374,369,363,358,355,359,343,338,341,346,371,365,396,391,356,346,359,371,375,363,382,382,384,391,398,406,437,458,442,416,413,421,415,400,384,390,385,368,384,376,370,380,362,352,354,356,354,354,346,332,324,346,360,356,350,347,337,357,358,334,340,342,350,361,371,372,375,385,391,391,387,392,423,447,471,496,487,490,485,456,467,486,475,485,500,518,491,481,464,409,390,361,351,355,365,376,355,358,355,350,345,339,334,322,317,329,340,316,316,318,322,320,312,312,322,323,320,321,325,340,340,337,331,327,338,327,320,325,326,327,329,321,318,331,338,348,356,349,337,328,320,317,320,324,324,324,316,304,321,325,318,323,318,317,319,313,314,321,324,332,338,341,348,349,351,346,332,328,335,339,351,362,365,361,349,362,369,375,376,369,359,343,340,349,357,363,361,355,351,363,359,346,337,332,340,349,351,349,342,340,345,343,350,354,345,345,349,359,343,343,340,336,333,327,325,322,320,331,319,325,329,333,338,333,313,305,306,303,315,332,346,341,345,339,340,347,342,335,349,360,355,368,372,372,363,364,384,360,376,378,374,366,364,364,362,354,350,358,345,358,370,354,343,355,358,358,358,357,354,351,352,347,340,352,366,360,354,340,342,346,345,344,333,328,324,321,333,345,345,336,339],[835,757,493,307,325,335,306,294,277,280,316,349,409,394,314,280,357,374,313,288,252,231,226,211,212,241,282,327,337,324,285,285,316,290,352,495,603,702,673,593,634,714,579,480,707,1012,1214,1306,1548,1620,1496,1084,752,711,697,520,375,397,422,436,394,412,605,736,1244,1552,1450,1206,1252,1614,1258,847,643,488,551,898,1168,1464,1240,1628,1416,1478,1590,990,373,363,383,456,497,479,458,536,828,1007,778,671,601,675,944,992,817,601,522,528,531,544,807,739,500,551,656,736,782,609,484,466,454,329,373,501,430,410,448,684,784,545,469,557,901,1186,906,554,409,435,505,526,462,686,984,894,828,863,699,560,540,595,1028,1260,1144,1096,849,877,966,749,890,1234,1602,1476,1068,1322,1678,1238,949,1118,1116,875,732,759,755,596,729,769,324,434,695,526,394,400,394,320,272,244,230,446,868,1406,1538,1378,1434,691,622,698,630,533,799,1144,849,769,828,358,290,249,213,225,257,266,175,204,255,242,254,256,241,334,586,513,297,351,326,313,340,307,302,360,662,846,778,849,911,886,468,365,339,554,1288,1748,1710,1432,1248,985,962,1334,1254,1178,1318,1344,1570,1214,719,626,706,767,666,670,879,921,1152,1570,1078,882,1010,885,936,726,764,617,403,564,916,1007,664,434,393,369,449,456,422,529,655,662,534,497,580,624,612,584,461,456,790,1038,900,1046,1780,2038,1718,1226,717,604,954,1438,1344,1088,1196,1156,638,508,547,735,1620,1956,1382,1188,1312,1314,1538,1694,1092,779,664,869,1200,1332,1290,1092,999,940,1346,1452,1356,1666,1974,1760,1878,1904,1646,1212,940,1090,1310,1000,747,653,550,655,1408,1476,1476,1500,2016,2536,2230,1404,1007,1090,1156,1192,1320,1090,850,744,1080,851,567,601,788,872,724,460,451,516,439,451,449,499,1028,1256,981,1272,1760,1628,1162,748,463,475,556,561,525,479,435,441,505,757,816,558,769,828,430,455,594,957,1104,1164,1128,1134,872,526,455,464,578,865,1064,1002,637,500,428,596,799,1562,1424,723,799,1108,1124,893,924,1212,1498,1128,540,584,1112,1170,780,630,454,319,432,845,959,1118,1942,1642,1178,978,1068,1578,1608,1770,1816,916,473,380,279,343,312,323,527,915,781,729,1444,1620,1498,1614,1522,1080,1066,949,825,480,419,383,372,410,531,674,744,794,744,863,1396,1388,934,771,865,778,525,367,451,467,288,246,320,321,373,476,462,498,410,367,344,339,389,518,532,468,417,481,581,835,1228,1036,631,589,605,896,1232,1394,1100,528,500,646,855,702,486,464,608,584,576,588,499,980,1490,1344,772,433,328,417,474,793,1124,1208,1298,1068,829,927,1128,1294,982,514,610,539,530,982,817,750,653,451,406,416,444,498,455,366,405,881,1676,1810,1238,1456,1144,919,739,460,413,308,405,499,661,593,592,1154,1734,2144,1492,1150,1242,1294,1618,1514,835,521,591,644,658,662,650,991,1064,728,516,466,419,405,367,469,608,882,1156,1510,1594,1700,1650,1474,1148,857,612,505,494,521,506,485,534,767,824,616,636,1032,974,1074,1418,1278,1108,840,943,1104,941,796,713,1014,1072,1058,1158,1036,889,1072,1222,1218,1172,1184,1194,1268,1330,1192,722,896,1116,1136,1120,1332,1574,1296,1600,1100,670,461,414,439,413,519,740,1036,1422,1604,1406,1346,1456,1526,1238,1156,1284,1234,975,670,506,468,383,353,666,1042,985,642,517,422,478,430,851,1296,999,556,547,592,841,1158,897,854,752,792,1290,1376,1390,1354,1262,1576,1972,1982,1820,1118,1012,1566,1484,1316,1110,1032,1270,1514,1306,957,819,559,374,428,467,654,807,772,601,474,443,421,447,482,472,619,601,788,1058,1382,1632,1464,1336,1356,997,871,798,760,1256,1328,1078,1050,1216,1122,1122,1102,1204,915,785,1032,989,955,1222,1148,1242,1284,1222,783,576,644,639,1036,1336,1268,1204,1334,1418,1338,1230,1154,1156,1212,1120,1284,1428,1482,1532,1430,1023,730,490,546,844,1066,1248,1192,1054,997,1246,1308,1236,1136,1264,1322,1456,1338,785,850,1005,1216,1272,1324,1470,1484,1408,1472,1460,1530,1496,1266,1456,1668,1478,1488,1354,1322,1500,1456,1296,1260,1310,1396,1432,1410,1422,1344,1228,1648,1250,1370,1080,699,717,915,1160,1108,1152,1168,880,680,1090,1510,919,959,868,767,947,959,1050,1018,759,477,715,849,714,742,1048,1360,1348,1144,1088,1220,1166,806,514,534,658,854,960,703,776,1510,1642,1382,1386,1058,560,625,691,886,1056,1034,1066,1168,850,654,735,675,1026,1324,1208,1044,1172,1438,1536,1404,1342,1226,1370,1368,1484,1208,1350,1438,1446,1338,917,526,453,502,486,511,565,546,568,600,542,503,543,524,519,541,559,585,949,1274,1300,1060,1052,1132,901,944,1036,845,691,567,622,753,572,529,568,560,554,471,435,488,505,653,719,728,633,716,1074,1420,1020,756,731,727,750,1476,1622,1138,1114,930,942,962,991,654,565,705,1038,912,713,943,1076,1116,1242,1262,1368,1350,1216,1400,1438,1416,1058,1046,1138,1518,1512,1226,1078,780,1188,1556,1416,1282,1258,1354,1368,1200,1214,1380,1148,1282,1362,1278,1164,1296,1510,1294,1386,1366,1440,1528,1120,775,1106,1360,1424,1562,943,928,749,704,604,865,1370,1296,1518,1334,666,483,948,1228,1406,1222,1050,1134,1005,969,1076,1202,1134,1038,849,891,700,904,1322,1478,1830,1422,1036,943,1212,1344,1498,1640,1274,925,1098,1410,797,899,1042,1140,1152,1186,1072,738,1460,3334,3804,2272,1368,1614,1160,960,1156,1366,1360,1400,1958,2008,1246,1044,584,625,1023,972,1036,1114,1098,1122,1224,1158,1036,1042,1230,1188,935,985,1278,1554,1390,1476,1486,1210,979,1116,1172,1015,729,411,395,610,1048,973,904,912,619,553,539,635,944,785,382,461,494,382,386,427,893,818,685,588,588,647,526,642,1122,1070,785,861,912,699,1046,1116,1062,1252,894,548,410,407,641,1062,1040,722,316,375,585,698,791,1242,1594,1072,674,736,833,673,1096,1330,1078,689,514,459,630,777,753,768,738,858,1296,1120,1250,659,424,461,692,646,611,517,459,448,951,1710,1656,889,549,611,1440,1488,1180,613,603,746,684,620,822,1015,948,723,331,315,456,525,583,787,913,1304,1438,1188,1052,962,1007,1914,2700,4252,3120,1128,1284,1776,1876,1842,1826,1524,906,830,886,689,540,650,1140,1518,1028,568,582,913,1206,974,503,422,498,537,471,498,606,467,421,1182,1424,833,371,241,246,248,251,283,296,311,312,339,421,494,464,533,468,334,351,345,343,357,346,335,312,327,310,306,302,309,323,323,318,318,330,301,304,294,295,313,300,337,358,351,370,373,349,318,328,337,354,342,365,372,384,394,369,371,385,384,389,397,409,405,396,365,390,417,404,397,409,408,400,393,385,378,375,392,413,379,397,402,403,422,413,422,436,419,404,410,408,408,400,418,404,404,397,395,395,400,391,380,380,373,366,377,363,371,392,366,368,366,361,363,358,351,354,373,356,357,350,346,346,372,383,386,372,373,375,361,353,340,340,340,340,345,355,350,350,355,359,369,376,377,367,357,349,331,334,334,341,339,378,397,417,422,375,354,368,362,376,359,372,374,378,397,397,394,426,453,449,424,392,397,406,394,380,385,388,368,376,372,370,373,365,356,347,356,354,342,329,330,332,339,351,356,357,357,347,356,372,351,346,342,348,352,363,372,366,374,381,392,393,392,420,435,459,480,483,485,488,444,451,479,487,502,499,476,446,463,451,407,382,361,357,357,364,368,360,351,342,342,335,337,335,323,318,313,333,328,318,321,329,329,318,318,324,334,327,331,323,348,350,336,331,324,325,332,329,332,333,329,335,335,339,323,336,338,343,344,339,330,323,319,328,325,328,325,314,311,313,318,336,328,321,321,316,311,313,319,325,330,337,326,344,353,351,344,330,334,343,344,356,365,362,357,353,357,362,371,369,363,359,357,354,357,359,363,363,363,361,357,353,343,328,327,339,348,351,351,351,345,338,331,340,346,342,332,337,345,340,336,331,331,331,327,319,319,320,321,318,319,321,321,318,317,321,325,318,314,326,333,339,354,349,340,344,342,340,333,339,349,339,368,389,382,366,363,363,376,377,372,370,370,366,362,360,357,358,352,366,350,357,363,357,358,358,358,354,351,351,351,350,341,338,349,360,360,352,349,351,338,332,344,338,338,325,319,325,336,335,326,329],[808,857,699,456,360,303,269,263,289,344,425,431,412,476,415,361,354,384,342,367,327,246,226,215,223,263,283,324,424,444,371,313,274,352,309,316,343,482,420,394,374,400,452,395,325,471,1052,1300,1306,1212,819,557,596,797,841,630,390,368,416,448,361,378,651,1176,1500,1592,1488,1444,1404,1466,1416,1126,540,450,440,690,1046,1008,954,1328,1748,1990,2084,1460,474,426,437,484,482,500,513,550,616,659,645,655,566,530,550,700,959,945,601,486,598,689,698,569,538,502,644,950,1104,908,703,739,1140,678,603,677,618,523,530,777,620,514,644,694,866,1146,1094,729,560,530,568,608,658,871,1070,985,807,618,455,478,515,602,1152,993,789,717,508,699,977,811,814,1532,1714,1476,1312,1178,1538,1350,1130,885,798,728,715,736,640,608,806,681,388,424,608,473,398,371,306,253,277,312,430,615,769,1044,1208,1282,1278,689,833,1054,852,642,801,1200,1094,871,1172,458,281,206,195,233,241,253,239,264,231,240,267,238,260,542,1086,681,386,406,370,372,383,430,530,524,790,880,506,570,648,515,309,341,584,1072,1562,1560,1350,1224,1360,1252,951,990,884,1001,1282,1450,1250,854,778,672,535,555,555,586,662,739,1172,1384,974,1130,991,792,1100,1104,783,503,369,381,487,792,741,544,387,363,364,398,428,543,774,798,576,510,530,551,531,503,403,445,639,974,1074,1362,2226,2194,1548,1204,743,568,885,1006,888,940,1186,832,442,437,473,572,899,1130,1130,1030,1042,1040,1116,921,630,565,604,1005,1344,1208,1006,1050,991,959,1370,1500,1532,1626,1874,1878,1902,2040,1968,1390,855,803,969,785,957,1148,809,584,819,785,1066,1260,1312,1454,1196,945,1092,1438,1366,1118,1308,1272,857,518,466,500,497,446,483,470,460,359,403,487,487,540,543,480,1132,1842,1810,1556,1280,935,569,451,522,614,641,593,518,442,440,672,1078,1406,1360,1620,1946,1334,808,1062,1238,1338,1320,1110,1148,1374,1416,892,467,488,719,1226,1214,1026,711,464,445,583,682,751,534,487,682,766,722,865,1116,1002,1042,924,686,560,969,1126,755,582,385,322,383,762,960,904,1310,1270,1226,1340,1418,1694,1598,1732,1830,1007,475,424,287,286,325,311,424,713,736,863,1202,1130,1152,1116,1400,778,971,946,803,664,464,359,403,374,444,633,753,1158,1256,1366,1572,1256,893,971,1126,935,637,386,376,322,248,277,373,382,518,530,489,527,484,407,368,358,435,667,993,1206,606,531,775,1136,1498,1220,768,557,577,951,1430,1692,1410,636,492,538,624,653,558,511,594,717,688,528,479,610,853,910,605,470,354,368,373,477,946,885,919,1202,1144,1104,1230,1262,890,539,634,543,584,866,968,1007,882,746,593,419,471,502,428,385,399,1086,1708,1430,1162,1376,1308,1074,775,415,498,403,401,424,482,544,737,1466,2028,2202,1674,1354,1544,1422,1468,1332,899,615,636,617,604,905,1078,1300,1276,818,554,565,584,557,534,433,413,406,484,806,1114,1372,1592,1698,1672,1566,1286,940,690,509,510,418,461,926,1186,954,708,968,1072,1346,1436,1278,1140,926,773,769,891,755,561,537,647,973,1144,1216,1258,1234,1158,1224,1174,992,1036,1296,1354,895,667,990,1046,1148,1366,1730,1528,1340,1692,1246,934,537,347,363,397,542,899,1104,1238,1318,1324,1196,1272,1352,988,1148,1406,1216,849,642,622,500,389,411,913,1230,904,619,445,379,448,389,600,1180,1192,581,576,604,756,1088,822,569,498,843,1632,1748,1434,1474,1292,1444,1814,2120,1646,1238,1452,1608,1430,977,948,1016,960,1268,1416,1198,1208,891,550,500,468,561,636,750,610,371,357,396,529,505,352,314,307,390,706,929,1416,1498,1284,1007,745,661,868,1262,1114,1228,1244,973,1100,1084,862,796,908,889,767,963,1102,969,1096,1018,1070,1314,1170,662,515,586,705,1020,1232,1184,1062,988,1296,1380,1140,1134,1040,1148,1130,1036,1009,1250,1454,1230,1070,760,471,727,670,896,1216,1282,1038,1140,1284,1252,1190,1414,1836,1320,1236,1198,1046,1132,1072,1200,1288,1344,1466,1382,1384,1316,1242,1388,1432,1374,1430,1556,1594,1554,1430,1410,1698,1648,1578,1568,1478,1350,1266,1404,1392,1160,1136,1312,1016,939,860,929,1102,1056,1054,1013,1184,1136,1080,873,705,961,1013,962,627,610,820,929,1158,1436,937,612,772,773,767,1132,1104,1194,1446,1416,1224,1210,1050,739,545,636,1012,916,753,819,1048,1606,1520,1214,1592,1404,613,752,1032,1202,1022,919,1090,1096,937,971,742,939,1354,1346,1262,1296,1682,1528,1438,1412,1190,1268,1542,1844,1648,1426,1460,1416,1450,1298,1130,960,648,578,526,526,559,561,584,576,507,478,494,504,514,545,710,998,1186,1260,1228,1082,1274,1400,1294,1418,1350,985,875,781,866,1118,783,545,594,590,562,509,499,463,546,865,1112,1244,995,957,1234,1306,1086,1020,885,662,961,1606,1194,1048,1116,973,639,745,859,874,762,846,812,749,883,975,1242,1234,1250,1300,1130,1328,1140,1164,1292,1046,924,1064,1078,1404,1462,1268,1106,913,1152,1396,879,570,1016,1152,1122,1200,1188,1214,974,1144,1324,1324,1456,1574,1534,1390,1422,1422,1624,1602,1046,825,1152,1318,1478,1482,1102,930,794,878,753,1338,1710,1172,1594,1666,933,567,828,1302,1360,1040,987,1028,817,669,929,1344,1106,1138,1034,909,463,937,1588,1180,728,872,951,1044,1320,1324,1498,1636,1290,1340,1306,1206,696,521,713,1158,1330,1200,1146,946,969,2004,2236,1504,1368,1498,1390,1188,1192,1260,1094,1182,1638,1838,1674,1226,714,584,709,745,955,1162,1148,1464,1570,1216,1158,1166,1196,1262,1114,1024,1476,1462,1372,1344,1346,1256,1134,1180,1256,1286,966,505,439,584,833,855,719,793,684,448,442,608,979,818,351,276,324,348,484,450,764,650,326,348,389,503,568,520,854,852,640,672,952,871,1424,1346,883,979,941,700,443,447,794,1598,1274,832,369,378,536,481,438,889,1300,1198,951,666,901,720,1092,1212,1023,701,483,519,515,735,933,745,765,759,868,1324,1320,662,413,360,440,598,641,657,618,500,750,1500,1196,948,573,529,1124,1344,1078,513,314,415,444,419,774,1270,1182,881,535,418,409,626,997,1212,1172,1138,1302,1446,1172,1054,858,1354,2608,4540,3160,1312,1122,1350,1394,1664,1976,1428,664,868,912,802,769,667,853,1454,1682,1108,697,778,1006,860,458,367,410,438,412,385,525,802,993,1158,838,422,276,247,264,270,289,313,318,329,356,491,527,576,524,384,355,325,343,349,335,343,321,326,314,309,317,310,299,324,328,315,314,328,372,314,300,294,312,297,309,324,324,326,353,374,356,312,326,338,339,348,368,370,370,369,375,391,385,372,390,408,400,410,408,388,399,412,414,408,402,394,404,392,393,375,377,391,412,399,390,398,407,419,416,412,404,426,406,406,403,408,395,401,399,394,388,388,389,391,389,389,383,368,360,371,357,357,357,364,372,354,363,371,362,356,351,376,384,356,340,340,355,363,373,387,375,382,393,367,340,325,337,340,340,337,340,339,334,331,347,370,361,353,353,358,351,343,349,346,345,329,355,382,397,432,405,369,373,362,387,376,365,380,391,402,400,392,415,432,437,434,399,399,402,392,391,392,389,380,375,372,372,366,362,354,348,352,350,347,348,346,337,342,357,360,362,360,352,350,372,363,354,343,342,343,361,365,359,371,374,388,399,394,415,435,465,465,485,491,488,457,458,486,483,437,332,321,345,318,303,350,368,366,349,337,360,371,356,346,340,341,345,345,339,325,324,313,324,333,318,312,322,321,322,331,327,333,334,329,330,354,358,337,337,349,339,337,330,324,320,327,337,337,336,346,349,352,353,348,339,328,317,318,326,336,338,325,328,338,326,325,321,321,330,321,318,318,319,318,318,328,338,328,337,349,344,341,339,349,350,351,357,365,359,350,359,353,362,365,361,356,359,351,357,359,367,365,359,351,350,351,353,351,338,337,343,345,351,351,350,340,337,339,338,339,336,331,331,331,338,337,331,333,332,325,319,318,312,310,325,331,320,313,312,319,328,332,330,330,332,339,344,344,344,346,346,344,336,325,335,336,339,357,368,368,360,366,375,374,369,372,372,369,354,350,355,363,362,341,366,358,354,357,355,352,346,350,349,347,346,344,342,339,338,342,346,351,355,358,354,345,333,354,346,335,330,317,315,328,329,331,339],[676,830,742,573,379,234,209,225,274,349,397,437,647,768,530,520,345,389,343,357,385,320,234,231,259,290,359,376,428,432,412,339,305,365,363,343,323,322,367,445,404,365,369,352,384,441,772,1184,1166,818,568,487,528,642,951,1023,594,627,881,644,513,800,1268,1440,1460,1330,1434,1656,1440,1460,1162,773,544,528,478,759,1156,821,738,1124,1298,1344,1852,1664,839,673,593,492,473,443,477,502,416,356,383,494,489,502,525,571,639,1012,810,574,785,1024,767,558,662,733,811,896,1015,960,854,866,1086,843,807,816,772,816,949,915,739,744,623,584,589,656,1011,901,652,639,803,892,830,695,568,442,338,311,350,459,508,445,619,615,576,582,617,659,710,685,1042,1874,1636,1102,885,872,963,1112,910,549,580,697,956,1038,1026,907,568,499,414,448,590,483,380,383,299,256,294,393,608,1001,1310,1230,1086,1448,1356,1114,1162,1188,865,628,659,922,1142,561,622,383,299,250,261,263,268,249,270,364,459,448,292,290,365,893,1160,589,377,376,348,432,697,977,807,458,360,390,535,509,659,587,377,526,1028,1504,1382,1058,1300,1262,1430,1530,1334,1058,1146,1088,1282,1514,1328,1180,959,680,572,553,579,641,554,450,668,1122,1398,1178,819,955,1248,1284,904,509,391,348,401,724,564,453,453,434,343,338,371,502,787,813,549,541,517,515,500,461,404,444,577,1142,1468,1598,1944,1358,1042,2066,1384,830,1102,713,638,1182,1092,571,350,324,390,607,609,706,863,789,786,951,991,673,512,681,995,1360,1460,1142,1078,1100,1258,1608,1980,2304,1926,1876,2204,2182,2290,2340,1982,1222,1164,1384,1122,735,1130,1310,929,754,1012,1414,1528,1176,636,612,631,733,979,1458,1400,1186,1376,1152,692,689,673,318,289,375,372,312,415,415,399,448,568,653,572,485,875,1232,838,606,512,516,522,621,675,647,624,600,624,828,1312,1660,1594,1540,1620,1478,1250,1060,1048,953,885,1088,985,780,1198,1908,2104,1050,487,483,867,1410,1090,636,669,594,407,541,583,503,448,505,554,816,1098,1288,961,612,501,594,604,391,501,828,811,462,365,476,459,663,876,994,1072,919,1238,1686,1586,1628,1472,1438,1454,829,433,440,352,302,338,352,320,472,750,960,1048,1076,944,821,1184,781,769,1172,1238,748,446,413,431,372,376,469,693,1228,1022,1052,1538,1696,1096,996,1090,700,361,264,289,300,312,347,402,583,657,606,534,492,464,358,319,386,461,748,1476,1952,943,519,694,936,994,1058,948,612,485,538,882,1156,1214,741,515,526,506,613,570,520,603,641,569,493,492,466,660,676,483,426,359,351,386,520,904,1068,1222,1582,1528,1326,1100,1444,1108,584,530,419,594,960,1076,1164,1278,1340,1166,924,793,510,409,426,390,561,966,1172,1086,984,996,826,729,414,429,420,436,424,354,480,694,1240,1594,1626,1440,1426,1482,1258,1188,1206,747,541,501,499,608,1004,1350,1620,1610,948,619,589,580,592,733,514,421,371,415,566,817,907,963,1272,1536,1664,1668,1528,1334,1056,841,585,440,521,951,1074,955,1172,1282,1554,1258,1040,936,755,525,725,789,728,883,941,1028,1056,1078,1310,1348,1210,998,1118,1188,890,1007,1400,1136,669,839,1204,997,1274,1294,1432,1282,1396,1454,1052,654,432,358,408,497,718,1214,1182,1048,1142,1180,1128,1282,1194,907,1042,1076,869,789,662,691,529,432,693,1146,1250,988,743,466,371,395,385,454,954,1334,695,600,608,706,982,778,542,478,637,1518,2200,1962,1820,1182,1478,1362,1434,1120,1328,1814,1656,1040,577,550,720,968,948,1078,1620,1414,905,706,603,520,492,462,451,406,329,314,287,334,480,356,272,271,370,722,1188,1524,1616,1372,899,727,609,915,1242,890,1114,1174,1036,1162,1100,869,584,704,913,559,655,950,875,1070,1100,1252,1402,962,535,519,738,916,1010,1016,865,857,1126,1274,1330,1234,1180,1184,1010,853,896,1070,1190,1150,1052,1116,968,566,859,752,795,1130,1270,1362,1374,1134,1334,1456,1172,786,955,1150,1360,1212,1146,1134,1144,943,1038,1196,1216,1338,1260,1270,1238,1238,1300,1526,1570,1282,1086,1130,1298,1434,1444,1420,1350,1226,1015,1120,1422,1362,1094,1124,982,819,982,1060,948,995,849,969,836,1062,1322,885,846,898,1054,1064,1042,849,818,1120,1334,1246,938,707,583,514,589,582,474,371,720,1124,1152,1102,1194,838,643,878,1058,1222,883,958,1024,1238,1692,1490,1110,1340,1410,897,1066,1220,1210,916,774,1164,1190,1220,1064,946,1198,1230,1232,1396,1128,1360,1376,1432,1682,1550,1416,1542,1634,1466,1366,1302,1522,1570,1270,1112,1142,703,514,511,518,507,536,604,593,512,472,469,523,633,920,1364,1374,1154,1410,1376,1144,1522,1582,1402,1366,1168,897,829,881,1250,1284,818,586,596,571,540,513,496,465,569,652,1088,1298,1088,1194,1592,1462,1376,1632,1486,1358,1400,1548,858,749,808,776,650,598,585,446,606,999,828,808,833,888,1296,1220,1194,1122,1162,1340,1076,1148,1268,989,1188,1506,1224,1328,1438,1232,863,920,1005,1010,766,709,1096,1086,885,1096,1322,1600,1880,1596,1384,1264,1460,1688,1308,1052,1116,1426,2188,1980,1232,1028,829,976,1258,1202,1286,1390,1236,1164,822,583,824,683,840,1021,664,568,745,1258,1446,1064,899,969,1066,974,1015,1022,904,909,1302,1240,648,789,1168,858,588,728,899,979,1324,1520,1804,1588,1156,1244,909,484,398,340,455,671,951,1086,1196,1138,916,791,679,1058,1320,1310,1306,1132,1092,1324,1266,1112,1082,1258,1050,921,843,687,502,702,1166,1362,1156,1188,1130,1048,1008,1046,1274,1288,1224,1356,1368,1094,1182,1292,1232,1206,1220,1234,1372,1370,1226,675,465,469,433,521,824,1254,1020,589,727,933,1214,799,306,370,476,502,789,725,717,769,392,556,586,526,738,450,730,1354,1380,905,884,874,942,856,552,751,1005,596,349,378,666,1294,1246,941,602,525,463,557,625,482,653,1130,1222,1023,1015,834,849,1074,1228,825,580,639,662,853,1062,808,783,907,718,895,1040,1028,876,676,425,422,498,658,542,519,712,1762,1100,804,730,634,897,1084,803,437,309,439,739,659,784,1072,997,1060,670,423,386,623,971,968,931,1126,1218,1644,1390,1178,913,910,1474,1686,1312,1146,1478,1500,1332,1528,1968,1206,797,888,831,845,794,760,924,1420,1688,1214,579,598,1056,951,532,348,357,344,419,624,799,1011,1262,1046,530,253,285,291,312,310,333,311,337,406,441,431,325,418,483,346,315,314,335,345,343,348,319,324,325,305,314,317,304,321,321,326,328,351,353,385,495,586,438,306,324,316,318,330,364,397,354,338,325,335,342,363,381,380,383,372,375,380,380,394,391,404,416,410,397,390,397,407,411,411,406,398,406,392,389,380,379,387,410,397,384,401,411,421,425,430,414,419,411,413,412,404,391,391,397,391,388,389,389,391,391,369,357,357,354,354,344,339,343,360,354,369,374,363,366,370,363,361,378,358,344,342,348,370,385,384,384,383,372,365,367,344,349,346,335,332,339,337,331,328,339,361,359,359,367,365,349,353,362,357,351,345,361,379,390,415,417,392,390,368,375,372,368,380,385,397,401,392,411,423,425,425,401,397,397,386,389,389,382,383,384,377,362,356,356,354,348,346,344,344,342,342,346,354,362,360,360,358,354,354,364,372,360,348,346,338,348,360,355,363,367,379,399,406,411,435,464,460,476,487,483,473,467,492,489,365,225,195,191,207,230,306,367,367,364,350,362,370,359,336,346,348,346,336,334,327,323,321,322,324,316,310,304,304,311,309,336,322,331,325,326,355,360,343,338,349,343,336,330,334,344,339,333,335,340,346,348,350,352,349,344,334,329,326,312,336,339,336,335,326,330,332,323,319,310,313,312,317,325,324,318,321,332,337,335,332,332,336,346,353,339,348,354,356,354,365,349,344,359,353,357,356,359,377,369,369,369,362,353,353,359,359,365,359,343,336,345,349,356,357,351,336,335,343,340,338,335,326,332,335,338,338,338,338,333,331,332,324,310,311,317,312,312,314,317,319,324,322,330,336,342,345,349,357,363,354,344,340,336,319,338,339,342,349,360,364,360,357,351,352,362,366,366,364,360,352,360,372,362,350,349,352,366,354,347,341,339,339,343,343,346,333,333,341,339,339,336,338,351,358,333,349,333,325,323,333,323,313,314,313,320,329,324],[671,667,652,579,366,206,218,243,224,248,252,281,380,501,567,655,634,515,316,258,339,313,254,250,254,313,379,410,405,409,404,257,214,294,327,331,357,315,394,368,412,485,660,498,421,648,735,703,715,772,773,637,531,519,955,1088,655,1046,1138,1188,1474,1352,1162,1358,1190,802,1006,1426,1454,1284,1154,719,679,713,738,977,1060,858,813,871,1184,1542,1820,1288,697,439,418,452,446,386,390,386,351,317,477,573,482,480,551,639,563,836,1154,1110,997,1030,975,1010,1174,1096,1046,1312,1340,1110,973,966,1004,1001,984,938,1146,1428,1278,1180,1042,769,511,465,430,399,872,1118,927,857,904,769,489,319,316,344,367,308,314,389,387,367,401,498,600,700,671,609,680,1096,1480,1484,1070,642,495,825,1012,1238,1086,714,740,915,1166,1200,1198,980,677,535,524,575,540,478,396,332,307,369,351,517,752,1156,1354,1574,1460,1362,1256,1346,1450,1332,1016,972,920,829,1158,478,194,285,295,251,251,266,352,533,724,1116,1082,671,397,394,477,1188,1180,585,430,531,525,850,1160,1016,458,335,274,413,441,297,410,559,694,1013,1180,1110,1266,1626,1852,1546,1514,1522,1352,1200,1570,1614,1506,1580,1860,1732,1186,719,853,641,803,650,467,367,347,735,1328,1282,1042,1238,1244,1242,1100,762,551,578,846,1206,904,481,475,492,432,391,329,404,547,468,401,488,466,413,413,393,452,714,1248,1802,1496,1090,995,751,992,2074,1552,1266,1278,796,770,1196,998,664,345,360,831,1390,785,720,1092,1210,918,931,1036,780,694,761,1274,1572,1410,1326,1724,2080,2486,2468,2452,2232,1836,2020,2316,2116,1920,1588,1558,1404,1932,1960,1410,955,818,748,616,581,1130,2212,2220,1558,1338,1228,1282,1706,1732,1554,1410,1252,1208,1280,1108,626,442,322,368,426,406,323,354,369,351,372,488,642,679,736,1050,1054,533,491,654,791,794,1001,1054,788,724,883,1084,1390,1832,1632,1632,1494,1310,928,1094,1614,1422,1054,1088,758,364,439,968,1784,1556,745,478,459,577,711,591,463,612,864,691,658,714,601,425,370,485,925,1310,1036,586,444,451,561,618,480,444,352,374,407,667,716,614,612,791,1176,1138,1294,1556,1408,1256,1494,1346,1450,1616,897,403,431,397,312,321,359,328,376,480,838,862,1064,1032,913,937,625,546,1013,1186,529,342,365,411,483,453,342,687,1015,836,666,896,943,749,636,574,440,365,390,388,386,390,488,546,809,975,969,697,697,711,323,308,377,397,519,1440,1966,1190,826,874,928,1028,952,921,609,500,558,870,1002,1142,888,674,673,606,526,475,494,522,568,606,502,539,542,601,504,462,418,375,357,334,489,789,839,974,1350,1432,1290,1180,1370,987,480,325,304,634,943,987,1236,1082,1112,1120,1480,1300,910,548,400,380,389,356,435,716,1058,1238,891,912,592,404,424,522,497,404,480,711,1026,1266,1242,1394,1554,1584,1446,1572,1412,758,453,447,697,1170,1240,1306,1722,1768,1060,875,761,619,558,587,557,518,468,442,519,553,483,451,606,847,1112,1368,1534,1504,1478,1454,1242,891,651,621,861,936,1150,1746,1622,1318,919,752,663,723,1110,1094,990,1152,1356,1368,1274,1242,882,766,1120,986,922,1230,1274,1376,1368,818,641,1012,1080,1070,1376,1094,1086,1262,1422,1164,736,606,491,405,455,578,843,1362,1296,1146,1098,1196,1262,1294,1256,1188,1290,1174,819,792,569,568,483,503,962,1290,1012,835,816,511,413,415,445,406,715,1396,913,617,611,661,823,713,537,503,520,943,1788,2184,1724,1208,1904,1784,1284,1002,1222,1510,1252,617,598,772,836,1184,1062,922,1060,1017,866,814,807,637,539,438,313,323,358,460,379,433,535,377,284,301,350,701,1268,1356,1212,1334,1030,890,666,841,1356,1378,1282,1186,1198,1092,828,856,446,596,1020,831,832,729,963,1210,1138,1072,1078,1030,753,745,1176,1272,1082,996,846,766,1158,1188,1066,1092,1172,1234,1144,882,839,1092,951,859,860,1036,1128,847,720,755,996,1294,1378,1352,1334,1198,1248,1344,1304,1050,1240,1382,1570,1384,1130,1270,1334,1078,1238,1023,1112,1332,964,1136,955,990,1302,1436,1436,1198,875,1150,1424,1448,1338,1218,967,1050,981,1204,1542,1516,1208,1116,1082,980,1234,1354,1636,1274,924,830,694,683,947,902,833,1042,1152,1188,1224,1034,838,1076,1512,1288,386,306,452,466,415,444,369,522,858,851,958,1096,1098,759,734,1120,1312,1208,1256,1338,1126,1210,1590,1384,1244,1382,1270,878,1142,1212,1098,844,933,1078,1202,1452,871,998,1124,1188,1352,1342,904,1126,1202,1492,1692,1560,1458,1362,1444,1318,1228,1576,1476,1414,1056,882,749,547,502,524,487,446,506,607,605,532,438,439,641,1058,1414,1374,1256,1436,1602,1438,1146,1388,1430,1208,949,1144,999,952,1130,1354,1158,684,591,574,578,567,554,530,582,758,667,792,1006,1218,1612,1910,1796,1490,1394,1202,1342,1692,1222,784,686,667,645,570,516,455,378,543,749,619,818,1160,1140,1021,1048,1168,1136,1322,1306,1370,1638,1606,1394,1100,938,905,1122,1102,974,703,673,774,921,1206,1190,1122,987,1108,1410,1366,2428,2564,1454,917,783,809,1003,979,867,661,1015,1362,1146,1294,985,752,1238,1520,1222,1196,1292,1112,1210,957,417,374,482,493,565,480,482,655,1016,1236,1138,1116,876,974,833,1050,874,948,1120,998,890,849,943,1018,1074,869,718,990,1188,1240,1438,1488,1322,1172,1246,964,440,413,481,619,716,901,1306,1224,926,924,963,1068,1342,1224,905,941,1032,1106,1208,1094,1094,1146,1176,1018,959,1172,950,744,1060,1314,1158,874,1138,998,969,995,1192,1470,1300,1164,1360,1252,1122,1212,1186,1180,1100,1158,1230,1328,1694,1752,1004,573,487,469,634,1002,1220,1058,1086,1202,959,944,669,381,416,745,1070,1284,1110,995,1002,527,888,1034,764,837,705,957,1748,1798,979,720,890,651,751,840,996,1056,575,356,498,944,1021,763,754,1034,1354,1422,1782,1446,625,625,1456,1942,1404,1094,943,818,1258,1496,1158,781,579,658,759,697,940,973,970,829,673,1076,1362,1400,1374,751,432,328,373,362,402,514,1460,1316,681,698,820,749,811,556,327,299,343,659,966,611,406,532,708,610,437,410,651,980,861,839,1232,1162,1040,1178,1344,1058,854,1222,1578,1202,781,1088,1324,1456,1228,1456,973,731,912,1184,1266,1342,1428,1186,1300,1404,1356,733,676,1007,1002,666,516,694,688,921,1324,1340,1376,1236,576,403,427,528,395,300,329,391,439,464,434,364,296,334,425,384,387,310,296,290,312,327,325,318,321,329,319,292,290,304,320,334,333,340,415,586,874,1058,879,583,445,327,320,303,322,355,363,360,337,337,348,342,367,372,363,389,397,383,378,370,406,400,404,425,413,392,383,415,431,408,389,410,406,400,389,381,387,396,397,405,401,407,433,407,428,428,428,434,417,420,428,423,419,403,387,396,389,389,388,385,377,363,357,365,361,351,339,348,354,356,361,352,356,354,354,350,339,342,342,363,357,344,338,344,365,405,404,396,378,368,367,357,347,345,333,333,339,344,340,340,340,340,347,355,352,361,369,353,353,358,353,353,341,336,351,379,394,411,406,411,390,371,376,382,386,387,394,415,400,392,424,421,419,400,400,402,386,390,397,372,380,385,380,356,352,354,350,347,346,339,335,336,344,348,356,350,360,352,350,350,352,360,375,376,364,338,340,336,351,355,361,366,379,396,406,409,435,462,460,473,493,498,495,497,497,447,283,187,182,194,224,249,302,342,347,372,378,363,364,360,339,346,341,327,323,325,324,323,322,324,322,318,318,314,315,317,318,312,321,345,334,326,347,354,349,343,343,342,338,336,337,331,323,323,326,334,344,348,344,349,356,354,348,335,318,334,344,338,344,339,332,343,321,324,324,312,314,316,322,332,332,321,318,328,336,334,330,330,332,339,348,329,335,350,351,353,361,359,346,345,345,350,351,348,380,374,363,359,359,353,353,356,356,356,354,362,332,343,354,359,353,345,335,331,332,337,339,336,319,338,337,338,335,337,335,326,326,336,338,338,339,328,319,323,326,324,325,322,319,328,336,339,340,347,346,342,345,345,342,352,335,336,331,322,332,352,355,354,354,360,363,360,360,363,364,360,352,352,350,344,347,345,358,357,351,341,338,344,347,339,344,347,328,325,339,333,333,331,331,340,341,350,341,333,333,329,320,312,303,301,309,313,314,318],[547,455,386,273,199,212,275,310,233,223,242,270,301,305,419,554,573,602,509,270,296,265,316,309,266,304,327,345,313,320,375,358,291,260,318,340,330,451,822,589,415,628,847,571,686,1072,761,469,594,650,790,977,796,865,857,816,612,805,1504,2622,3144,2356,822,821,484,422,706,918,1216,1312,1542,1210,891,774,661,679,695,597,849,788,738,917,1008,854,650,515,462,416,347,310,308,345,333,393,576,439,390,428,528,558,556,858,1064,721,630,716,814,896,1086,1020,843,1014,979,808,719,726,617,484,529,762,1056,1302,1362,994,796,573,443,459,530,645,1009,1188,982,789,598,467,358,312,304,328,374,336,329,342,336,385,537,794,918,705,628,1090,966,963,1001,717,672,623,662,938,1210,1412,1094,844,987,868,886,870,700,802,952,710,655,659,497,462,368,313,325,400,378,547,739,957,1354,1620,1284,929,1166,1496,1512,1328,886,496,367,491,1066,620,261,301,201,178,187,235,419,622,791,1542,1028,414,343,394,797,1388,1488,1298,1188,871,520,538,499,563,555,602,472,450,438,304,248,565,1216,1418,1132,1208,1146,1498,1740,1634,1500,1412,1158,1182,1418,1438,1392,1518,2070,1928,1472,1038,1070,660,739,672,449,336,377,471,663,859,919,1210,1270,1350,1338,906,845,1106,1260,1418,1136,636,501,489,467,393,346,396,463,380,408,469,479,457,413,407,552,736,1034,1366,1028,788,749,924,1298,1318,1214,996,878,725,583,909,742,366,315,504,1380,1770,1270,1084,1032,946,860,668,927,863,1054,624,1140,1484,1368,1244,1732,2138,1686,1184,1178,1162,1326,1562,1732,1410,1250,1454,1698,1542,1852,1976,1294,616,475,484,502,513,939,1748,1670,1194,1794,1750,1544,1570,1396,1334,1432,1456,1426,1336,1244,506,268,274,298,410,418,360,349,373,461,627,891,1146,1218,1038,1252,1160,911,1188,1520,1692,1738,1744,1578,1426,1456,1432,1308,1396,1980,1488,1252,1440,1550,1824,2094,2286,1952,1134,968,865,744,684,984,884,753,630,511,543,620,593,478,473,606,1334,1152,819,762,598,422,534,1050,1238,791,480,448,433,664,924,1062,771,776,633,606,492,557,695,854,909,1017,1478,1308,1532,1624,949,650,742,894,1058,915,569,335,354,414,351,313,326,315,315,315,366,351,587,607,875,1218,926,716,621,588,369,351,392,421,511,473,337,609,1124,1156,701,521,527,644,588,392,401,412,414,400,409,426,493,832,1140,1440,1508,926,1036,1154,558,391,371,365,381,888,1252,1106,1076,982,1090,1388,1122,968,541,425,775,1058,1192,1224,1007,781,785,819,661,585,586,633,583,547,533,511,522,481,445,469,461,428,410,306,394,534,714,899,1064,1156,1258,1436,1492,1032,407,335,368,704,1100,974,1250,1007,871,944,1592,1524,1003,572,402,355,377,374,480,744,1350,1482,953,880,851,591,489,652,584,406,425,662,1094,1424,1282,1366,1602,1556,1390,1430,1292,803,440,396,926,1520,1082,1058,1376,1444,1084,910,704,560,554,590,705,896,831,599,457,383,367,385,484,539,595,727,991,1166,1358,1562,1628,1482,1278,1050,830,713,1128,1894,1592,1094,1012,1086,977,1028,1210,943,961,1028,1172,1036,1176,1278,962,802,839,781,700,979,1330,1462,956,618,703,1152,977,1184,1230,852,749,801,841,720,619,587,560,475,520,662,929,1316,1460,1380,1320,1398,1304,1162,1268,1412,1444,1362,836,596,565,535,366,634,1172,1300,901,602,719,588,511,441,492,458,578,1276,1100,633,580,606,653,584,490,467,790,849,949,1430,1296,1754,1998,1742,1724,1378,1050,1070,1288,879,1040,1284,1328,1188,1134,1132,1052,1052,952,667,682,779,697,440,327,276,299,450,399,462,452,316,284,336,502,799,1028,1138,1180,1126,943,859,695,834,1540,1826,1304,1021,1284,1188,767,724,884,1012,932,1102,1122,860,884,1054,933,907,1046,1286,1128,1106,1208,1146,890,966,975,969,1156,1026,996,1238,1242,1262,1310,1068,1146,1198,1080,813,572,785,1184,1158,874,988,1238,1484,1212,1112,1016,1150,1116,1208,1390,1340,1072,1280,1654,1424,1314,1378,1300,1278,1314,1186,1334,1410,1272,1214,955,1136,1310,1130,1136,1274,1198,1444,1200,1360,1410,1354,1021,923,979,1184,1452,1174,839,1118,1268,1156,1104,1268,1706,1562,1216,1004,841,828,1094,955,951,1074,1016,1202,1724,1232,853,929,948,553,326,316,471,440,346,365,355,579,1088,1188,896,783,1068,819,633,908,1078,1134,1206,1184,1290,1466,1602,1324,1312,1470,1098,907,1108,1106,860,678,853,920,1296,1558,1238,1162,1098,1214,1394,1386,1158,1198,1366,1550,1382,1406,1428,1362,1496,1466,1444,1820,1530,1598,1518,970,626,560,645,627,460,426,458,502,519,492,488,745,1202,1488,1582,1686,1718,1552,1614,1434,1054,1412,1460,1248,1106,1162,1128,1178,1368,1346,931,512,531,565,637,591,553,508,524,666,651,616,838,1360,1850,1570,1458,1394,1106,1032,915,844,686,691,692,681,586,526,514,489,722,663,493,412,585,876,1124,1116,1270,1244,1168,1054,869,1288,1788,2078,1964,1420,998,1042,810,664,949,1040,1122,977,1050,1288,1318,849,794,1356,1606,1252,1620,1350,813,698,698,640,816,979,977,700,1000,1282,1254,1220,738,924,1784,1754,1388,1254,684,828,1132,770,388,337,376,421,683,815,735,818,1140,1330,1126,1284,1300,1262,1028,1412,1386,1428,1454,937,754,866,1312,1180,1378,1060,858,1052,1078,981,1078,1148,1204,1174,1256,1064,512,578,857,1102,1506,1422,1390,1354,1044,990,1322,1456,1310,1010,814,940,1100,1072,1098,987,1056,1138,1108,1002,991,1290,1434,1228,1224,1262,1080,870,1048,1092,1242,1188,1214,1254,1332,1424,1174,1124,1332,1156,923,1074,821,1060,1338,1312,1382,1400,1128,653,626,790,937,1060,1188,1104,1354,1234,753,813,852,533,345,733,1164,937,783,1232,1178,597,1186,1416,843,779,1044,1104,1316,1128,617,529,801,539,678,937,1412,1486,888,363,998,1736,1052,453,653,1158,1576,1406,1114,839,509,550,1026,1026,771,895,897,796,1038,1170,1090,860,492,747,1034,897,1572,1628,1214,1062,753,830,1100,1180,1274,1410,969,442,327,344,416,503,787,1024,1174,983,897,691,626,581,519,545,487,345,542,557,573,731,488,539,489,493,468,693,1038,1092,1128,800,688,1044,1200,1184,1214,1232,1372,1040,1342,1842,1850,1798,1470,1394,1146,1030,1376,1924,2210,2300,1918,1208,1136,949,1430,1136,632,694,907,811,662,709,1040,1494,1588,1372,1076,688,429,376,512,466,345,333,386,449,477,401,291,260,270,289,313,334,328,292,285,271,283,296,280,291,315,320,326,310,309,310,318,325,458,687,1015,1298,1214,990,752,666,484,329,325,445,591,579,494,371,338,343,353,342,366,365,377,391,391,383,384,376,395,408,420,415,410,427,458,541,459,401,388,400,386,406,408,391,392,397,390,403,403,390,407,412,422,423,425,432,430,423,416,411,410,395,384,401,395,383,382,375,368,367,367,366,355,341,343,357,348,348,343,339,344,348,350,348,336,338,358,370,362,356,346,349,352,406,401,396,389,383,384,367,349,344,337,340,345,345,340,340,340,340,345,349,358,372,371,353,347,353,353,353,345,345,353,365,378,394,408,425,414,389,387,385,386,392,389,424,420,394,415,432,418,397,401,399,389,386,398,378,383,385,382,371,363,354,347,348,346,340,339,342,348,350,354,342,357,354,350,347,350,360,372,380,363,354,343,351,351,354,360,366,381,396,406,407,425,455,460,461,510,504,489,500,500,405,234,183,192,190,200,230,247,337,380,360,357,370,362,357,360,352,346,338,335,329,322,323,318,323,328,324,318,318,321,318,317,321,337,345,331,331,343,347,350,345,337,334,333,336,336,330,330,324,325,337,346,362,340,344,361,358,356,348,344,352,350,350,343,350,330,339,350,343,317,321,324,321,322,335,334,326,328,332,330,330,332,330,336,336,343,337,344,353,351,359,357,356,351,344,343,349,357,365,362,359,361,355,353,351,350,349,343,343,349,335,336,339,349,353,350,345,336,331,331,331,336,339,326,330,328,336,324,331,343,333,342,341,324,336,339,333,333,332,332,326,325,325,326,326,329,333,339,342,336,338,338,342,341,333,329,333,333,349,362,355,347,349,346,345,343,347,352,355,362,363,354,352,358,360,350,336,354,357,352,339,340,350,349,344,336,325,338,326,328,326,326,325,338,341,333,336,333,331,322,314,322,332,322,318,313,313,312,318],[270,246,235,229,251,262,255,268,191,219,263,292,291,305,334,394,434,608,626,338,296,218,327,327,300,285,259,248,223,255,301,338,287,222,279,344,330,683,1042,904,525,469,575,681,1024,861,510,686,869,629,832,1028,1238,1194,901,938,713,852,2416,3804,3282,2038,725,666,484,410,557,981,1456,1704,1776,1350,1028,886,763,529,462,492,839,872,534,440,759,772,492,529,604,467,356,325,340,353,329,402,448,401,384,440,436,374,429,848,1016,619,542,688,858,1086,1028,740,597,687,854,866,681,585,449,466,583,711,763,922,1064,601,499,519,556,731,861,843,683,566,475,465,365,343,355,320,286,380,457,424,366,280,284,496,785,1112,1158,853,692,1001,874,871,916,810,711,736,778,857,1040,1066,1190,1198,1164,1288,1694,1494,1148,1364,1252,633,450,467,454,455,470,388,358,392,412,404,458,661,752,505,519,541,799,877,1022,992,842,646,557,860,1318,868,300,241,216,292,324,336,454,572,694,622,362,499,842,1148,1350,1244,1015,741,499,346,302,307,370,483,673,841,665,462,412,279,457,1054,1582,1514,1230,1212,1015,1328,1444,1506,1490,1122,858,1084,1194,921,603,852,1586,1842,1250,1116,964,885,828,647,528,308,321,424,480,436,640,944,891,1250,1282,871,1020,1344,1332,1406,981,496,515,554,541,475,379,383,420,373,411,459,484,488,425,477,592,624,605,588,616,642,791,846,908,1332,1422,1172,1112,907,800,1158,892,410,342,390,669,883,1028,1070,930,819,1052,873,933,866,1138,752,988,1368,1500,1504,1728,1798,1268,1166,1376,1398,1474,982,622,629,1270,2040,2274,1806,1758,1938,1156,593,537,589,720,782,1086,1116,1050,896,1064,959,917,1396,1560,1292,1336,1188,1016,837,775,421,296,314,415,484,428,431,565,766,1056,1312,1494,1440,1484,979,974,1232,1562,1812,1796,1716,1564,1374,1108,1012,874,701,629,749,1040,708,807,1318,1786,2224,2036,2036,1752,1020,1402,1712,1316,801,654,884,1018,738,680,574,484,634,499,592,700,1162,1011,649,588,609,737,1098,1140,694,409,365,357,384,617,968,954,938,1104,1086,904,772,798,639,685,1302,1302,1510,1444,1398,1108,1094,1162,861,1076,1118,583,431,313,313,391,350,303,283,317,302,269,312,339,532,944,1332,1592,1466,1122,737,509,427,394,387,515,639,536,380,661,1342,1450,903,446,509,634,610,399,369,403,386,347,329,416,752,1072,1388,1736,1420,1252,1370,1444,998,535,344,369,376,679,1098,1148,1290,1260,1948,2156,1472,892,497,386,538,791,811,708,636,515,554,764,726,520,490,636,543,451,431,429,417,392,434,437,454,398,401,305,449,426,756,1048,969,821,1230,1534,1356,1032,476,397,421,725,1432,1328,1346,1030,933,1226,1432,1374,884,407,346,351,391,368,455,771,1178,1078,711,688,772,738,843,981,641,488,806,1050,1244,1442,1448,1298,1266,1074,993,1180,1032,772,521,523,1328,1562,724,736,890,897,938,919,720,536,564,543,718,1018,1050,918,614,500,411,404,427,495,572,554,497,659,944,1128,1290,1418,1402,1360,1276,1182,959,1114,1078,979,1100,1188,1104,1188,1258,1130,1232,1162,1136,1100,1244,1176,1226,1362,1234,1146,805,1118,1468,1132,612,508,915,1100,945,1256,1146,878,905,677,432,535,555,466,433,477,527,780,819,1032,1350,1388,1456,1462,1284,1340,1146,1424,1372,1290,875,546,508,411,379,769,1194,1144,785,818,802,623,656,590,561,458,500,1136,1296,752,562,565,613,539,509,664,1368,1468,939,843,1266,1960,2274,2228,1948,1520,1328,1428,1242,1052,1202,1210,1442,1572,1434,1284,1052,967,913,571,476,589,530,347,283,283,304,301,286,331,330,291,315,354,650,1050,1162,1230,1400,1062,835,734,614,735,1226,1472,1084,916,1104,1056,1094,999,1186,1180,1154,1140,1164,906,843,1066,1132,1184,1050,1088,1174,1050,1096,1430,1274,1030,933,1068,1108,896,1010,1240,1218,1005,1034,1074,1268,1170,952,794,607,751,1290,1284,944,1106,1322,1248,1072,1308,1738,1394,1012,1182,1304,1202,1118,1278,1556,1300,1294,1390,1194,1058,1044,1260,1356,1378,1530,1406,1302,1224,864,833,783,1012,1238,1426,1152,1272,1386,1021,745,1106,1438,1388,1654,1262,1054,1222,1260,1030,1058,1322,1288,1532,1518,1394,1100,977,977,951,1038,1054,1128,1132,1318,1642,1274,614,539,592,507,490,642,506,320,311,430,606,1152,1530,1140,739,700,655,862,1346,1350,1026,1016,987,1394,1730,1642,1316,1178,1302,1100,935,1102,1120,739,857,1068,974,1007,1120,1078,982,1114,1238,1394,1484,1626,1606,1516,1560,1450,1556,1366,1372,1452,1356,1162,1408,1542,1490,1312,963,749,624,737,727,502,416,462,562,584,613,894,1298,1472,1432,1620,1672,1688,1810,1692,1308,1126,1428,1476,1340,1222,1011,1046,1200,1132,857,659,557,551,574,574,535,476,505,608,659,592,689,1300,1504,1734,1126,847,1052,1060,1032,1130,919,732,750,570,554,502,467,491,521,818,664,480,428,504,593,578,770,1017,1170,1100,918,922,1582,1616,1324,1626,1392,1226,1520,1326,1564,1410,1352,1522,1234,1282,1458,1368,1132,1204,1458,1438,1366,1312,1068,713,576,569,744,1020,1088,1011,985,1024,1288,1556,1336,961,1250,1810,1616,1186,1178,842,937,854,530,369,315,373,679,1052,1058,1014,1018,1176,965,783,833,1082,1102,1078,1400,1460,1324,1198,1062,674,606,1240,1048,877,916,890,910,989,1010,988,1180,1242,1190,1248,1156,964,992,1262,1824,1994,1372,1072,1136,1244,1316,1524,1350,1224,1176,1102,1013,1190,1110,1164,1138,1222,1260,1324,1228,998,988,1372,1562,1336,1214,1378,1116,1052,1198,1192,1060,1012,1334,1654,1722,1396,1338,1238,904,711,829,915,1204,1294,1178,1066,1190,1110,694,760,881,962,1156,1382,1232,1404,1124,813,1070,1146,898,827,921,796,850,1010,1334,1478,974,1204,1314,781,862,1146,807,865,706,569,572,583,347,344,463,899,1234,752,300,852,1382,719,381,474,779,922,899,1014,1030,643,407,477,422,382,505,657,529,369,632,946,1160,781,1106,1494,1466,1644,1506,1196,1112,1108,798,761,663,796,1146,855,748,838,668,480,451,267,397,581,436,502,749,1072,1004,877,847,796,543,359,424,941,1408,511,413,545,566,469,772,1204,1098,871,776,959,978,844,981,954,1064,1210,773,1438,1844,1908,2226,1952,1532,1682,1592,1478,1698,1610,1404,1226,1344,1066,593,1058,1320,919,596,625,738,750,662,683,1110,1262,973,1011,1450,918,509,415,286,350,416,426,400,362,295,264,283,290,287,308,313,289,275,279,273,269,293,285,297,313,299,291,304,312,312,361,838,1420,1340,1112,873,570,639,696,507,328,469,644,1092,1460,1324,799,401,373,342,326,338,344,364,382,376,391,400,389,387,404,411,413,408,423,458,462,485,414,408,408,386,386,402,406,393,383,383,383,407,410,388,386,392,401,414,416,423,420,404,404,400,397,388,388,395,394,385,377,371,371,379,375,364,354,351,352,344,357,348,338,348,351,344,354,354,342,339,352,366,374,358,357,340,338,384,402,412,398,367,371,375,347,344,340,333,332,335,343,343,340,349,352,349,365,381,379,357,347,346,362,357,355,359,363,363,371,384,398,413,413,406,403,398,391,391,394,434,450,419,404,429,429,394,400,400,392,391,391,385,382,384,383,371,358,350,347,348,347,346,346,347,347,350,354,348,350,360,358,342,350,357,376,387,364,361,357,378,376,361,363,372,377,383,387,398,409,425,446,468,480,486,483,495,491,349,206,196,204,188,207,232,227,304,351,367,345,357,353,350,363,344,327,329,327,329,329,325,315,316,327,331,327,323,326,327,322,325,331,331,325,324,330,340,345,339,333,330,329,331,332,337,339,326,321,335,344,355,348,350,361,360,361,353,330,348,354,356,366,349,334,337,344,341,344,332,319,317,338,329,326,332,344,337,330,332,328,327,335,337,339,346,353,356,357,348,350,350,349,344,346,354,361,363,362,365,350,357,350,350,351,345,345,355,365,353,340,337,339,340,345,342,332,332,325,321,325,333,332,332,332,349,343,331,337,336,333,339,320,321,324,332,324,319,323,323,326,325,324,323,322,325,331,335,340,341,333,335,329,331,332,332,333,342,333,332,338,341,344,350,354,357,349,347,355,363,355,351,358,364,354,346,345,350,349,341,344,346,344,344,335,333,325,333,325,326,320,325,335,332,328,328,335,338,324,312,313,314,322,305,303,310,312,314],[225,240,245,245,245,268,274,260,225,230,235,280,289,278,317,355,347,372,365,354,347,292,312,309,296,284,245,235,248,275,255,283,241,229,257,293,319,781,1064,940,573,342,480,968,1064,678,873,1102,883,698,844,868,1166,1144,832,661,593,689,1464,2474,1880,1076,589,769,659,413,486,922,1332,1628,1324,832,665,916,947,817,597,743,1036,786,445,406,650,708,383,582,835,529,335,278,304,338,319,307,305,308,371,495,494,423,399,858,849,529,501,618,752,943,907,656,572,710,1001,979,520,478,430,443,459,528,498,811,995,799,828,903,913,915,776,552,364,329,265,256,265,292,313,271,279,349,365,405,402,329,344,526,719,1050,1332,1082,810,652,527,697,1180,1358,1142,1104,1050,834,752,1078,1490,1384,1218,1782,2232,1714,1562,1954,1810,654,449,374,380,744,830,584,619,630,538,443,406,566,777,582,768,766,1072,912,825,862,881,939,1172,1648,1644,1090,390,353,332,364,406,449,427,486,993,953,676,907,860,725,818,466,351,320,365,441,490,575,635,677,746,672,449,453,555,549,1044,1536,1676,1490,1522,1272,982,1150,1308,1532,1516,1252,1172,1108,802,648,632,637,971,1456,1654,1220,762,749,606,651,596,320,350,422,508,416,399,852,1378,1398,1132,1012,957,1338,1336,1050,605,485,491,493,505,505,405,367,405,396,350,340,333,342,449,503,568,658,604,567,602,575,714,932,1250,1432,1358,1472,1466,1328,1360,1072,506,276,320,357,342,472,621,816,1148,1312,1108,1266,1278,1434,1100,743,1014,1270,1228,1202,1428,1470,1036,968,1522,1682,1730,1023,542,553,1134,1594,1276,1012,1454,1750,1320,879,758,671,659,996,1158,1372,1504,753,291,281,449,885,1013,1390,1180,955,943,811,440,275,271,307,488,704,851,1050,1258,1328,1340,1528,1700,1564,1390,949,846,1204,1564,1368,1108,952,762,663,574,533,529,489,429,435,524,542,676,1068,1450,1710,1546,1478,1332,908,1444,1788,1220,787,691,873,1018,864,810,631,594,642,486,661,1172,1244,991,760,549,737,1118,1108,944,731,409,369,422,391,421,598,838,1282,1400,1178,977,959,956,835,942,1892,1528,1142,994,722,417,827,1444,1720,1540,1024,546,405,290,301,357,397,400,413,390,352,340,305,367,803,1312,1586,1570,1276,1198,817,576,609,525,523,498,363,419,548,880,1015,1126,781,747,832,750,717,453,301,358,363,399,555,831,908,728,918,1234,1130,1190,1484,1444,1262,846,382,379,354,462,846,1192,1428,1322,2060,2024,1390,765,431,386,606,947,849,715,648,432,382,496,551,485,493,581,617,536,335,315,343,365,382,389,403,361,413,380,431,402,731,1232,1136,697,813,1104,1278,1162,705,550,583,885,1392,1596,1472,1310,1688,1596,1390,1066,748,455,394,376,372,413,489,639,784,794,742,714,924,1003,992,1036,963,933,1402,1458,1320,1282,1140,1138,1134,813,530,529,587,674,582,633,1560,1828,1148,762,669,689,766,969,946,587,581,546,794,1019,1222,1144,921,703,563,460,411,422,491,602,628,803,880,718,755,969,1172,1296,1340,1298,1234,1128,1034,900,1060,1288,1364,1234,1184,1188,1250,1230,974,854,1074,1202,1312,1034,1068,1080,1026,1452,1264,708,517,645,1094,1023,1072,1338,955,785,950,671,453,532,544,514,474,537,631,745,688,768,1172,1360,1488,1534,1422,1426,1296,1490,1428,1304,971,559,395,363,510,568,865,955,834,1020,889,783,733,624,518,400,467,999,1428,910,606,541,580,533,497,1050,1796,1908,1450,966,913,1490,1934,2172,1458,1304,1300,1584,1464,1430,1378,1160,1226,1552,1560,1322,1118,872,962,641,392,452,498,383,302,305,328,348,270,278,289,323,413,503,751,1206,1372,1310,1246,1011,847,787,784,987,1114,1274,1162,1146,1146,1194,1090,1050,1198,1304,1160,907,1130,1212,1166,1218,1296,1160,1076,1108,1222,1038,1126,1246,1160,879,581,633,805,868,813,805,779,601,694,938,1160,1050,776,912,1016,1044,1350,1292,1298,1440,1242,1078,1210,1084,1562,1662,1156,1064,997,946,1398,1394,1252,1050,1134,1306,1158,861,951,1100,1172,1300,1492,1296,1050,839,561,573,509,943,1100,1116,919,835,803,694,884,1528,2106,1716,1910,1396,1470,1546,1398,1242,1280,1262,1228,1200,1264,1458,1256,944,1002,1410,1256,987,930,814,680,1210,1070,491,440,619,672,668,900,769,448,591,601,595,1146,1498,1204,794,615,697,943,974,716,780,1116,1344,1654,1770,1610,1384,1182,1026,879,925,1182,1126,802,1174,1082,836,859,787,1007,1608,1438,1106,1372,1300,1534,1582,1348,1150,1352,1362,1254,1364,1448,1428,1266,1332,1316,1013,1130,1094,791,644,596,648,562,587,691,670,705,1034,1240,1017,803,901,1120,1390,2346,2162,1434,1168,1290,1444,1346,1384,1106,754,939,986,713,538,526,565,599,608,588,552,502,549,610,627,613,621,802,1023,1282,977,883,1196,1050,1020,1300,1136,1616,1518,736,642,517,435,416,597,682,586,552,488,521,657,778,659,675,860,1356,1234,1400,1388,877,903,1282,1004,1186,1476,1502,2524,1870,1072,944,950,1292,1648,1392,1202,1334,1406,1362,1406,1486,1414,926,664,566,1130,1504,1488,1342,1382,1410,1358,1556,1664,1518,1472,1346,1288,891,755,658,625,437,345,338,323,424,854,1170,1222,1152,998,1018,842,808,942,979,1006,896,846,936,1228,1228,1004,574,592,1148,1094,969,1180,1026,704,905,1110,1108,1206,1288,1484,1202,944,930,943,1013,1356,1326,1122,1100,918,1230,1288,1230,1212,1312,1944,2166,1734,1322,1158,982,835,972,1080,1142,1038,989,1082,1100,1090,1140,1300,1260,1098,1198,1248,1186,1274,1212,1352,1602,1548,1126,1060,1030,824,810,839,896,1046,1030,922,872,1152,1036,728,835,897,1092,1284,1204,1064,1026,1026,1244,1262,1324,1320,1326,1294,1228,1158,1356,1422,1664,1410,890,708,721,846,749,533,623,614,368,321,303,271,318,443,949,1166,771,489,544,743,563,512,501,548,518,687,1200,1156,621,354,336,342,374,392,527,588,426,412,854,1078,755,900,1266,1138,901,1019,915,944,1228,792,503,684,1100,857,648,1116,1422,978,517,574,374,362,454,433,501,733,830,620,457,456,584,546,456,424,758,1124,735,457,688,898,616,760,1128,902,465,449,626,686,904,1042,912,953,1192,787,921,1100,1274,1624,1470,1536,2088,1588,1056,1160,1342,1434,1556,1792,1532,821,727,1250,1274,850,982,947,828,812,641,617,655,533,847,971,520,375,409,375,420,410,360,363,350,304,277,288,290,293,298,291,287,279,281,276,286,299,274,303,297,293,277,291,305,305,405,866,1198,998,651,542,566,610,745,772,1023,1274,1200,1192,1158,883,645,425,381,393,336,333,357,371,387,376,380,400,395,387,390,385,407,433,455,439,379,371,380,393,394,391,406,411,403,391,383,380,375,393,409,401,386,385,406,422,435,440,416,404,397,388,382,382,389,391,381,374,382,382,374,365,349,343,348,339,327,335,352,348,336,354,358,343,352,348,338,334,334,350,393,379,365,349,345,362,398,419,393,367,367,384,345,337,335,337,345,336,340,355,352,352,352,346,355,372,387,365,347,343,363,357,353,356,350,350,373,379,380,403,411,411,406,390,384,392,407,439,461,448,415,427,429,400,397,388,384,391,389,380,376,384,382,362,354,350,347,347,347,348,352,350,347,347,350,358,358,360,365,344,354,360,372,386,376,368,365,391,412,399,387,381,371,371,371,383,404,421,435,462,484,503,492,488,460,303,196,203,222,192,221,235,244,320,362,351,357,351,336,355,352,342,350,342,331,331,328,312,298,311,331,334,328,322,324,331,323,323,329,327,323,307,317,336,347,350,347,334,333,330,325,323,320,330,340,344,340,348,354,356,358,361,365,361,354,375,366,365,358,350,348,346,343,344,341,334,323,332,337,332,328,326,321,322,330,334,327,325,332,336,337,343,337,350,356,346,351,350,346,343,348,362,371,357,343,349,363,356,351,349,350,350,351,353,345,337,337,335,335,332,330,332,331,327,326,325,330,327,328,332,336,338,324,326,333,331,328,339,330,321,311,319,321,313,319,319,320,319,317,315,313,318,324,329,329,324,335,335,331,333,333,333,333,331,328,332,336,339,343,347,357,355,341,341,352,358,358,355,357,364,352,333,333,354,354,343,350,343,339,338,333,335,332,333,326,323,318,320,317,318,319,320,333,338,325,313,319,318,302,302,312,305,307,310],[246,253,254,271,290,296,301,262,251,275,279,293,273,274,299,327,328,335,369,564,769,552,321,316,274,240,241,273,278,263,227,269,244,252,293,354,446,780,1166,975,608,547,818,1204,1036,784,951,873,728,819,986,957,933,916,746,532,625,681,1001,896,658,758,706,692,600,429,406,553,875,1230,1132,1180,655,594,698,739,894,1142,1056,694,420,370,505,838,979,1166,1270,746,335,222,274,296,286,281,340,430,439,518,521,478,599,952,735,495,568,699,753,872,852,592,473,503,766,827,488,487,490,496,510,592,641,925,1028,896,938,828,570,482,377,334,320,292,229,202,222,217,195,230,355,332,321,350,383,344,293,342,675,1374,1526,1054,778,845,1108,837,1116,1452,1172,1126,771,615,692,1048,977,869,1054,1422,1642,1550,1642,2142,1844,631,380,352,322,688,666,509,545,494,450,370,413,455,894,1046,1062,1090,1334,1308,1262,1136,1234,1528,1738,1646,1258,1126,679,614,413,372,635,616,364,415,976,1376,1122,783,440,397,746,656,660,428,541,742,702,559,656,962,995,511,393,560,842,1130,1554,1646,1422,1434,1582,1186,912,1174,1450,1722,1332,1262,1356,1182,965,926,727,614,604,906,1342,1172,697,533,546,538,344,315,383,424,418,419,462,774,1386,1602,1194,1060,1038,1296,1062,685,491,391,376,428,496,522,445,377,400,358,277,265,272,270,424,596,727,732,632,482,506,554,714,1074,1412,1274,1224,1672,1764,1378,1178,763,360,285,281,336,526,641,616,1084,1016,951,1294,1676,1600,1256,867,865,1007,1002,967,1260,1132,1224,1188,966,1346,1522,1446,1046,632,689,1140,1354,652,522,1204,1328,1120,1044,858,608,426,608,846,1208,1144,467,309,306,320,379,828,1624,1208,1072,1258,901,405,378,444,566,897,1100,1246,1312,1414,1450,1244,1162,1362,1682,1540,1134,761,1011,1388,943,877,885,868,814,656,557,511,475,485,503,514,519,507,761,1306,1466,1218,1508,1558,1174,1382,1402,1005,722,639,590,797,836,708,579,929,1138,1146,1238,1298,1092,1158,1332,1168,1268,964,578,599,642,406,379,606,521,336,445,916,1578,1626,1550,1274,1144,1180,870,1070,1246,861,561,437,380,346,462,907,1180,645,375,401,344,346,381,375,346,348,407,402,315,318,305,490,990,1300,1720,1448,1066,1023,807,795,732,645,734,583,378,417,644,1066,1202,828,427,630,982,1356,1214,684,343,387,473,645,762,719,572,586,478,830,1104,1156,1042,898,1186,1242,542,422,375,379,605,967,1110,1130,1324,1214,1040,758,440,507,771,1007,785,654,572,421,358,433,520,590,572,527,565,532,334,348,459,398,370,405,386,350,449,551,662,734,910,1244,1300,966,1132,1182,1378,1296,1042,894,850,1232,1472,1614,1426,1376,1932,1766,1744,1698,1538,1124,842,576,469,403,547,921,1278,1346,1194,713,1038,1002,946,833,1116,952,1302,1594,1472,1358,1344,1396,1266,1038,686,399,599,783,849,902,1760,1998,1400,888,597,681,683,749,940,764,655,628,979,1388,1826,1850,1264,733,513,379,371,405,797,1120,1017,1428,1286,803,604,493,635,901,1116,1244,1242,1324,1278,1238,1003,929,1096,1190,1360,1404,1306,1080,797,672,742,1001,1142,669,702,841,1332,1364,811,553,507,872,1156,932,1276,1182,645,559,559,490,448,466,454,473,547,497,505,588,632,769,1246,1390,1454,1502,1442,1466,1542,1578,1414,1268,1062,580,380,399,593,463,738,961,881,857,916,937,803,623,500,429,397,720,1400,1036,637,537,537,555,536,894,1434,1710,1484,1136,842,1394,1566,1300,1294,1582,1158,1120,1378,1434,1290,1198,1310,1528,1306,1112,987,824,997,852,710,996,1154,628,361,322,343,376,315,338,345,350,468,537,547,774,857,892,1118,703,845,902,1082,1488,1366,1312,1420,1272,1144,1188,954,1062,1172,1164,1266,1006,1060,1096,1206,1312,971,977,1152,1346,1184,1224,1378,1282,1208,835,648,1198,1216,744,620,688,1052,900,675,711,946,1074,848,911,1214,1302,1272,1380,1952,1946,1484,1302,1258,932,890,1015,1166,1236,1156,1048,1248,1282,1202,990,1166,1476,1262,977,795,913,998,1050,1056,877,805,738,788,531,396,705,1015,1290,993,627,863,1318,1382,1512,1662,1818,2534,1506,1216,1516,1378,1216,1098,1108,1200,1144,1324,1490,1418,1110,1318,1266,976,1088,1110,1034,866,635,588,432,512,731,694,640,966,962,983,1236,960,821,1290,1482,1084,673,539,587,560,510,569,965,1104,1312,1834,1836,1570,1400,1002,700,758,874,1172,1116,955,1262,1070,887,766,1021,1512,1034,1022,1444,1548,1358,1588,1444,1110,1154,1372,1426,1476,1428,1304,1340,1544,1386,869,648,753,1032,852,833,882,813,800,800,674,766,999,1216,1012,782,772,763,709,1278,1498,1250,1308,1384,1520,1638,1326,1328,979,1134,923,658,664,540,529,546,572,625,604,621,601,563,591,644,667,644,771,1212,1148,899,845,954,1202,1450,1288,1124,1996,2078,1098,1118,1180,867,546,474,683,671,530,539,623,1262,1526,1232,1030,1098,1182,1034,1162,1256,1182,1112,1090,782,852,1040,874,1720,1672,1136,719,776,1316,1532,1290,1230,1340,1410,1432,1338,883,898,1274,1036,740,1250,1474,1454,1296,1394,1242,825,1062,1252,1396,1434,1096,983,915,705,783,678,401,333,368,408,585,902,1080,1080,976,868,767,557,757,1162,1080,1136,1064,1322,1228,1814,1578,827,485,601,872,907,1014,946,733,538,652,684,770,809,1038,1226,984,858,796,741,801,968,1030,1000,739,661,816,578,595,1212,2178,2480,2288,2238,1670,1102,844,714,911,849,908,1102,907,1046,1090,785,930,1078,964,1046,1324,1430,1352,1314,1328,1462,1658,1360,903,594,519,624,681,747,737,797,745,723,797,1007,931,670,809,996,1176,1080,819,861,886,1066,1556,1188,1226,1338,1392,1444,1476,1238,836,838,1344,1442,785,585,1058,1396,1226,768,711,783,540,410,364,350,333,671,1390,1368,1052,733,658,819,700,499,343,520,561,516,580,308,289,336,443,675,786,545,447,702,561,317,541,594,540,787,1009,877,1062,1710,1410,1072,1144,1060,713,827,963,600,757,1138,1428,980,528,896,711,561,746,626,559,619,818,1246,928,729,463,308,339,444,534,952,1318,785,625,790,490,531,1004,1028,503,359,552,1282,1630,1474,1244,1084,1172,1224,1370,1296,1054,827,858,1396,2020,1450,885,1238,1766,1798,1688,1824,1768,1050,518,928,1438,1152,1116,1274,931,780,741,588,436,402,615,789,614,410,584,550,424,385,351,358,323,302,311,319,309,304,304,288,290,298,294,285,330,335,309,298,299,301,297,292,297,321,358,430,389,459,538,798,934,957,1062,1007,921,947,987,1064,1344,1682,1546,669,404,398,348,334,353,370,377,385,382,376,390,373,379,386,411,435,425,395,381,396,404,394,385,393,417,406,393,396,390,379,373,381,395,402,392,388,407,420,419,420,446,404,403,404,398,394,396,388,385,394,401,383,360,357,346,346,347,343,341,348,357,348,330,338,344,339,340,335,339,345,354,352,379,408,373,348,361,387,418,432,413,383,358,379,347,344,340,333,349,346,340,357,358,343,349,347,358,368,390,382,362,341,335,345,346,350,353,350,376,379,383,394,408,415,424,403,389,401,395,413,442,461,425,440,423,406,395,388,389,392,391,380,368,376,380,371,358,350,354,350,347,346,352,352,347,347,352,356,360,362,362,354,354,358,367,377,377,374,371,390,443,447,421,406,381,369,371,388,407,426,441,463,480,499,497,498,451,266,215,215,229,219,205,224,236,300,363,361,396,355,328,354,347,360,350,342,347,343,320,309,315,323,328,336,329,323,323,326,324,323,321,325,317,320,338,338,344,338,324,331,339,331,324,325,326,330,326,331,349,356,356,358,370,356,362,365,362,361,360,368,356,346,341,341,344,344,343,329,322,338,338,332,330,328,332,338,337,334,330,336,330,328,337,353,337,356,334,343,354,341,345,344,351,365,375,363,353,349,350,349,349,355,356,345,342,346,342,338,337,331,326,326,325,336,337,322,324,339,336,320,321,333,337,330,327,331,331,331,333,333,329,324,313,313,318,313,319,319,319,319,314,312,314,319,322,323,324,333,322,317,326,328,333,332,329,332,341,331,326,329,339,341,345,345,340,333,344,355,357,357,360,362,345,339,349,362,358,336,354,345,339,339,341,333,333,326,323,320,320,320,319,317,319,319,324,323,318,313,315,319,307,310,306,307,307,307],[245,249,265,277,265,253,270,238,200,260,290,337,336,305,276,305,359,386,465,723,1070,974,517,360,260,255,325,328,332,319,313,311,250,230,271,339,315,393,611,547,593,809,1128,1001,891,1011,731,503,1052,1750,1540,1188,919,762,775,801,696,831,1604,1334,799,697,612,535,444,347,380,565,955,1108,1076,1009,707,483,590,835,1248,1406,885,714,493,381,433,775,884,941,1178,791,386,301,278,256,248,269,388,521,538,558,571,563,1080,1192,758,583,733,800,735,804,856,552,476,496,445,522,512,479,489,526,602,677,668,590,467,508,521,425,341,324,330,339,322,314,290,267,272,236,240,352,449,364,338,321,339,325,302,310,630,1026,965,767,744,912,1084,1054,1334,1466,1015,687,642,914,1050,1144,1242,1160,1058,1124,1034,996,1290,1660,1374,620,339,317,287,423,450,346,230,295,314,339,390,359,667,763,864,1060,1015,901,944,1370,1356,1302,1220,745,710,795,537,669,993,1142,1322,1005,667,984,1001,787,681,505,565,770,935,747,913,691,374,655,955,1062,1076,769,776,459,434,543,1164,1666,1728,1462,1440,1736,1604,1092,771,966,1376,1470,1082,1116,1228,1208,1388,1488,1050,601,763,1440,1486,1384,1428,1220,594,377,379,390,442,494,413,447,620,561,658,1018,935,1026,1268,1050,537,493,553,482,433,458,504,507,494,469,426,385,366,336,315,326,359,658,814,661,477,389,514,655,982,959,781,1024,1478,1986,1666,921,679,644,507,352,333,372,488,617,673,1200,1132,748,1246,1842,1648,951,720,1050,1348,981,865,976,639,794,889,987,1522,1836,1858,1460,1180,1528,1796,1786,735,424,881,849,911,1034,783,485,403,482,806,658,482,371,323,258,322,326,450,622,703,877,1084,1010,678,741,1001,1170,1248,1252,1224,1258,1514,1770,1614,1302,1314,1412,1370,1240,784,969,1222,847,882,833,732,770,816,687,495,487,509,537,511,594,511,733,1296,1528,1858,2234,1944,1830,1998,1416,810,508,477,605,885,880,609,446,744,1214,1420,1442,1200,836,1260,1686,1306,792,728,637,466,433,389,342,420,403,273,345,815,1888,1814,1546,1426,1494,1524,1158,783,632,634,527,399,362,268,296,356,381,395,420,410,290,324,419,418,397,361,346,426,409,365,319,526,985,1036,1404,1544,1286,1252,1380,1434,939,810,767,472,367,550,936,1154,1302,855,455,540,945,1372,1328,1048,791,863,894,758,749,716,663,634,503,650,944,1016,833,719,792,1102,782,584,558,527,759,966,832,1078,1426,1094,908,799,445,492,505,478,432,396,371,439,623,604,706,859,584,538,552,566,437,472,690,481,501,532,533,502,672,1186,1418,1224,1136,1188,1312,1268,1404,857,860,1294,1392,1192,1082,963,1332,1596,1362,1596,1874,1744,1812,2044,2082,1968,1732,1446,1046,844,1134,1346,1596,1198,1214,998,1312,1510,971,544,648,597,1086,1844,1768,1344,1356,1380,1118,1015,799,621,608,839,959,906,1176,1318,1064,756,480,567,679,644,752,965,838,795,1224,1804,2106,1872,1116,620,409,370,379,420,669,753,924,1418,1230,693,525,454,426,427,593,860,1098,1246,1288,1352,1318,1236,1134,1130,1138,1252,1118,912,772,741,678,714,816,637,753,1220,1390,854,510,473,662,1376,1172,1110,1424,899,480,410,516,578,480,465,433,505,636,516,475,508,596,691,1094,1338,1362,1226,1268,1444,1686,1804,1386,1170,979,497,341,458,442,591,908,889,697,628,667,871,847,648,454,469,411,543,1280,1238,709,523,541,517,576,613,918,1186,1542,1948,1622,2042,1526,709,1452,2392,2240,1320,1090,1208,1208,1168,1396,1516,1422,1478,1001,811,761,752,946,1460,1626,635,352,320,325,335,361,324,307,278,353,437,521,930,1218,1242,1362,679,1001,1316,1440,1534,1348,1298,1430,1206,1036,1034,1272,1594,1456,1244,1292,1234,1180,1142,1130,1050,980,1224,1804,1842,1344,1532,1542,1208,818,573,810,1278,1150,791,705,802,924,1009,1044,1270,1542,1214,1084,1028,1130,1240,1250,1526,1754,1510,1312,1328,1264,946,938,1272,1346,1384,1254,1236,1300,1334,1282,1172,1302,1420,1352,1206,1372,1624,708,633,757,1290,1128,891,1208,885,413,455,692,1086,1086,1080,1520,1682,1372,1244,1236,1374,1350,1070,1318,1364,1196,1224,1226,1318,1404,1240,1284,1448,1300,1242,1252,1186,1312,1274,979,950,987,909,672,732,752,942,924,771,669,1052,1316,1074,943,836,987,1384,1216,806,724,735,430,359,459,985,1266,1368,1626,1570,1214,1036,935,721,642,658,985,1042,1108,1268,1156,1138,1062,1242,1524,910,714,1136,1398,1542,1480,1358,1086,1160,1936,2316,1670,1360,1226,1322,1916,1278,728,724,596,652,635,739,809,901,1166,1294,1296,1344,1354,1170,830,705,745,774,684,930,1220,1308,1294,1246,1452,1930,1560,1336,984,1038,905,748,684,573,574,542,508,572,594,691,637,636,663,785,752,622,722,861,771,700,564,656,1090,1438,1066,1580,1814,1814,1382,1278,1170,1140,964,855,796,634,463,539,764,1240,1422,1366,1066,1190,1272,1238,1188,991,1000,1404,1322,1092,998,886,932,1272,1416,1226,995,992,1102,1270,1342,1338,1660,1892,1772,1480,882,888,1482,1212,963,1130,1152,1448,1504,1456,1590,1354,945,873,1260,1302,932,1086,1072,591,512,525,592,440,402,420,718,1050,1108,677,417,440,507,556,764,851,704,919,782,857,1344,1786,1406,887,606,919,1124,960,914,469,467,673,915,1048,936,944,1134,1026,915,829,783,1001,1116,999,780,810,550,495,628,462,457,1112,2334,2382,1720,1780,1600,1060,921,976,1094,702,787,1044,862,949,1094,999,907,725,813,879,998,1216,1260,1186,1364,1588,1578,1492,1378,1120,849,893,1122,615,528,512,586,487,475,496,544,487,598,857,1004,975,993,1046,1230,1170,1206,1094,1270,1366,1468,1610,1616,1210,827,608,990,1514,1026,550,952,1402,1110,641,583,631,656,579,626,514,393,521,1208,1228,1032,658,343,423,700,747,559,745,830,590,324,295,378,343,655,1434,1538,962,556,630,767,469,517,750,964,719,800,882,1376,1884,1678,1170,819,848,905,673,431,396,455,499,799,872,600,792,818,670,904,828,706,858,938,1262,1013,1182,570,354,388,589,597,705,976,694,321,333,285,403,839,1170,996,765,803,1974,2244,1800,1260,841,966,1556,1706,977,838,1058,1005,1216,1810,1534,885,1176,1730,1798,1700,1756,1836,1290,561,604,1274,1402,1286,1378,1030,721,778,767,626,486,491,805,807,696,782,650,443,393,379,324,295,326,360,373,336,297,294,282,287,304,294,274,314,356,344,321,316,299,279,287,310,333,347,356,514,850,1040,1050,990,963,965,953,926,1154,1462,1752,1792,1756,1524,770,431,389,352,337,345,361,368,380,387,361,380,376,385,423,421,408,397,381,385,401,408,393,394,389,408,411,412,402,387,378,370,373,392,394,398,401,407,412,404,416,444,428,408,404,388,379,384,380,377,370,367,361,360,375,353,343,343,341,343,346,343,338,332,339,339,351,346,333,338,342,384,379,370,400,398,361,344,382,428,424,420,389,364,377,361,336,332,349,346,340,349,353,371,361,355,345,349,359,379,375,346,339,335,345,350,351,354,356,376,382,390,390,397,405,405,394,389,406,398,415,434,461,429,432,426,401,386,386,384,388,391,385,376,377,380,364,346,350,356,350,346,350,354,354,354,351,356,354,360,360,352,351,349,351,354,360,364,371,372,392,428,454,451,449,417,383,383,394,409,429,438,450,476,502,482,498,434,262,215,218,220,213,218,217,218,260,361,371,397,361,340,354,365,359,354,356,350,334,318,315,310,312,308,336,331,324,324,324,320,318,317,315,317,329,311,331,340,331,330,338,349,342,331,330,331,330,327,331,336,338,358,350,373,360,358,358,360,365,365,365,360,346,335,338,339,344,337,332,336,334,330,332,337,339,336,330,329,328,336,344,339,327,331,331,324,349,343,344,337,339,343,344,351,363,368,363,362,359,348,348,355,351,332,331,342,351,345,338,331,332,327,320,324,336,330,319,320,324,322,322,319,325,328,333,333,333,328,328,329,328,325,323,318,313,319,320,319,319,319,319,320,318,319,319,319,319,323,313,319,340,322,323,325,325,326,326,312,316,329,320,326,332,347,364,354,338,343,350,357,360,364,355,346,349,349,346,346,344,343,339,339,338,333,332,328,316,317,320,320,320,317,310,313,318,324,331,331,318,312,310,306,309,306,306,303,302],[240,269,313,314,257,226,242,236,215,279,301,288,279,269,252,290,323,336,452,599,940,971,750,737,821,498,357,327,303,305,302,265,214,227,278,281,232,244,223,347,379,633,910,785,648,705,715,552,953,1520,1068,1114,935,685,650,841,722,626,833,1096,1102,745,616,528,466,368,463,1500,1964,1388,1124,1005,834,695,924,1214,1124,1088,747,1050,698,783,928,1015,1300,1572,1410,818,378,289,281,310,349,410,471,458,494,473,510,730,1216,1166,761,565,581,533,482,560,785,595,543,586,451,555,603,609,647,636,587,480,338,255,241,198,234,291,317,350,361,322,258,226,247,262,244,223,321,550,496,365,348,321,305,321,373,362,392,376,497,823,1180,1160,1084,1488,1906,1628,962,602,700,950,866,800,1226,1268,1064,1022,987,1042,1108,1410,1268,591,353,324,485,858,869,860,919,876,807,653,419,357,443,651,987,1124,1310,1312,1340,1456,1282,1232,857,570,735,1015,836,1054,1538,1378,1278,1288,1112,1084,692,479,465,527,488,766,737,376,532,536,346,433,791,835,775,539,518,448,533,1005,1588,1700,1314,1038,1338,1598,1618,1346,1244,1006,1126,918,533,486,766,950,1150,1288,1356,1116,1310,2020,1758,1774,1886,1272,604,444,474,461,499,503,487,506,630,490,370,413,587,790,877,623,480,500,465,480,528,509,488,509,509,528,461,430,465,417,348,349,307,365,522,535,389,354,463,839,859,615,628,741,1050,1488,1342,1017,937,1130,977,611,522,505,645,691,524,1090,1364,1028,1216,1698,1658,949,752,1120,1450,1042,891,720,584,647,664,1140,2062,2380,2092,1494,1594,1952,1718,1788,874,376,534,859,1124,983,743,495,554,568,702,600,594,419,325,302,327,359,334,325,463,752,903,1040,1074,1262,1444,1396,1268,1200,1224,1424,1826,1828,1458,1372,1268,1152,1136,1212,1094,1021,1164,983,796,818,987,1228,1226,877,485,477,506,503,501,557,460,949,1478,1542,1932,2084,1840,1950,1624,968,441,385,348,423,854,1064,749,417,672,1152,1352,1442,1348,1178,1456,1292,854,794,883,913,915,739,643,745,1078,361,365,366,580,1360,1240,1136,1376,1306,1015,894,1010,1278,1362,868,416,373,353,395,400,407,386,422,460,453,444,350,313,339,378,336,385,438,366,318,457,677,851,1406,1562,1190,1070,1156,1436,1356,1124,937,465,327,485,934,1354,1136,545,432,542,801,1122,1230,1238,1444,1500,943,553,529,484,525,597,576,496,548,582,626,890,899,993,921,815,732,698,1240,1544,1050,1240,1492,560,632,615,454,469,516,589,540,434,350,588,776,653,791,890,564,589,500,452,525,617,586,441,497,618,785,700,673,1340,1606,955,871,1250,1252,1230,1284,869,930,1572,1638,1394,1332,1044,1476,1396,1248,1378,1508,1698,1794,2126,2364,2266,2222,1970,1838,2046,2504,1770,1238,772,1134,1120,949,825,655,510,444,451,995,1852,1770,1554,1512,1678,1224,937,1026,1112,952,981,1042,924,1158,1550,1154,1084,796,729,898,821,638,789,1094,1294,1638,2050,1898,1272,711,477,379,340,339,445,413,376,459,846,935,539,479,431,435,446,503,591,855,1158,1232,1230,1322,1340,1406,1416,1344,1110,893,737,678,614,592,755,1032,1202,1456,1528,969,561,494,511,944,1428,1098,1400,1262,691,478,469,630,649,486,438,435,453,412,514,505,543,597,561,705,922,1052,1118,1220,1360,1982,2028,1522,1222,715,365,401,502,386,564,827,755,599,534,581,672,652,557,448,466,464,477,1076,1428,924,520,590,653,659,819,1534,1154,1754,3134,2766,2054,1348,1166,1282,2088,2720,1648,784,555,965,1316,1396,1260,1400,1290,859,819,810,891,1212,975,837,342,260,274,290,308,287,260,289,255,281,464,608,843,1206,1374,1288,637,1084,1488,1166,959,948,1162,1302,1038,1068,1224,1384,1260,1308,902,915,1228,1288,1190,1108,1044,1046,1382,1488,1384,1494,1598,1556,1494,1005,689,716,748,947,921,698,902,1138,1516,1316,1566,1500,1216,1094,1118,1138,1204,1106,1136,1198,1398,1730,1506,1272,1078,917,940,1015,1072,1144,1362,1310,1386,1788,1812,1096,1132,1362,1442,1626,1622,940,729,650,1046,1226,1052,950,628,444,566,754,878,1118,1120,1322,1312,1328,1488,1362,1098,1013,1108,1372,1404,1352,1364,1314,1224,1228,1232,1318,1196,1176,1202,1112,1416,1546,1058,846,667,620,738,648,681,677,889,1114,943,721,894,832,532,720,874,993,2036,2680,1794,1062,776,587,422,362,729,1140,1300,1552,1592,1180,1188,1148,1068,801,655,763,875,963,1082,1346,1322,1090,960,1042,1028,987,1005,1188,1566,1568,1272,1080,1218,1742,1774,1386,1356,1204,1544,1902,1200,1416,1754,1048,617,938,1030,952,1152,1324,1470,1438,1126,1164,1292,995,744,814,883,797,727,905,1126,1128,960,1426,1606,1316,1170,1094,1204,1204,1064,851,573,574,486,443,532,547,626,592,633,673,644,586,581,677,592,533,556,503,592,783,1270,1500,1626,1554,1508,1494,1800,1890,1544,1130,1276,1426,1350,693,402,553,879,1042,977,1056,1216,1318,1646,1688,1308,1368,1370,1284,1048,1136,1011,1050,1100,1178,1232,1322,1023,1158,1378,1586,1616,1672,1476,1464,1220,951,1156,1328,1170,1112,1009,1090,1142,1632,1540,1632,1560,1222,1334,1628,1264,992,1090,960,521,470,499,722,605,462,416,679,1019,832,397,352,325,431,605,933,874,571,550,470,580,1176,1598,1580,1234,773,1136,913,850,810,555,543,796,1128,1518,1418,1354,1272,1034,969,1022,1094,1148,874,658,646,1080,843,613,608,580,599,871,1414,1410,1184,1140,892,822,735,1056,1214,952,959,948,862,922,941,827,814,834,847,904,1074,1096,1182,1292,1532,1460,1324,1484,1506,1454,1480,1334,1678,758,471,394,489,1030,1246,763,480,499,705,922,1096,1044,1044,1182,1158,987,1044,1128,1032,1208,1358,1444,1490,1470,1460,1074,1104,1448,1262,591,490,694,570,380,314,391,565,682,1246,872,796,691,1164,1030,954,941,623,359,480,455,550,987,818,647,385,296,297,483,1142,1626,1252,777,647,468,808,678,636,1080,1240,1006,808,764,1056,1076,896,820,668,672,862,921,431,336,306,296,440,642,590,703,604,533,628,758,1178,1368,1002,762,1116,1016,634,694,576,597,711,788,1200,1013,499,323,331,441,805,1021,1096,825,581,1116,1426,1384,1212,996,1104,1386,1124,839,907,1280,1144,1036,1514,1470,946,908,1572,1832,1750,1692,1858,1516,753,479,850,1438,1564,1434,1252,954,788,818,800,681,677,638,643,708,803,774,526,359,328,300,321,409,525,508,387,327,328,331,319,324,340,327,327,367,350,322,299,288,299,379,520,650,885,1084,1354,1654,1654,1540,1424,1098,1094,1048,1096,1170,1388,1410,1126,843,702,526,408,381,365,352,345,353,358,369,381,378,390,404,404,415,413,409,418,408,390,379,385,386,398,389,410,414,398,392,385,378,372,371,393,392,390,393,398,403,404,422,431,414,400,395,388,393,377,387,372,380,374,374,368,364,353,341,339,343,344,338,330,327,343,345,350,358,346,336,345,357,376,395,397,418,415,385,350,381,416,426,416,393,367,367,365,353,349,346,346,353,363,357,365,355,355,346,346,363,372,371,347,353,341,351,359,365,359,371,382,386,386,384,391,403,401,397,394,402,405,415,429,454,436,415,421,408,380,378,380,385,385,391,397,384,380,372,358,350,340,336,344,348,350,348,347,351,348,348,348,346,344,342,342,340,346,357,361,367,367,392,396,426,455,469,448,415,390,393,412,429,432,440,469,499,479,502,326,197,197,224,219,215,234,213,219,250,335,367,369,364,354,352,360,342,338,359,350,331,323,323,312,316,311,328,327,322,321,320,318,318,318,321,325,311,331,329,329,327,340,343,339,332,330,331,332,330,331,337,339,344,368,353,358,358,356,356,356,358,360,360,356,344,330,332,332,336,337,337,338,335,326,329,346,328,328,330,324,323,332,337,337,332,335,337,340,340,336,345,332,337,336,344,344,353,361,363,365,361,353,350,349,349,365,338,345,350,346,339,332,330,327,322,318,316,316,319,319,319,324,321,324,326,323,324,326,326,328,333,321,313,319,319,319,318,307,322,325,319,320,319,318,317,315,314,319,319,319,339,325,316,325,333,332,333,335,335,333,329,320,329,333,350,355,354,349,350,352,350,349,343,343,326,347,332,339,340,333,333,335,338,331,333,323,318,332,311,314,320,320,320,314,305,303,314,320,320,317,314,312,311,307,306,306,307,300,298],[240,270,284,272,250,253,235,220,250,293,279,249,300,330,452,647,445,374,417,451,651,699,700,963,1168,962,808,637,624,692,513,302,237,287,339,321,279,267,289,324,510,932,1048,922,716,658,553,543,643,717,633,775,849,703,670,745,709,635,974,2118,2448,1124,720,520,474,480,509,1340,1554,1138,1294,1510,1190,988,1382,1666,1230,811,688,827,1026,2084,1648,1026,1140,1208,1134,907,455,299,322,379,391,343,302,303,419,443,379,754,1278,970,612,517,468,470,469,503,778,705,646,752,705,599,565,484,353,251,204,194,210,237,208,202,224,286,355,393,383,346,316,261,240,233,163,178,328,598,636,507,339,301,363,415,455,356,339,389,543,1418,1810,1230,1088,1572,1914,1444,850,718,748,928,1005,1134,1372,1284,1036,1068,1372,1528,1494,1600,1128,532,462,458,520,998,1470,1414,1272,1120,1356,1090,417,392,685,958,744,925,1118,918,697,812,1194,1274,907,644,711,1052,1248,1224,1294,1236,1058,628,583,543,498,502,488,444,350,514,713,673,391,375,379,401,436,359,339,335,567,677,1044,1468,1572,1474,1338,1064,1494,1602,1470,1018,1240,1184,1122,778,472,622,645,758,998,689,793,1328,1566,1728,1722,1428,1380,1252,797,551,468,493,566,433,415,516,445,312,327,456,594,594,482,454,507,505,515,454,491,548,536,459,520,569,528,445,420,389,337,334,283,321,434,495,426,415,836,1212,852,593,1114,1306,956,1228,1280,966,1344,1578,891,971,990,809,915,728,655,1122,1348,1338,1480,1808,1580,1068,1108,1576,1562,1276,807,682,1236,1438,805,1046,1914,1952,1604,1258,1578,1276,1090,1366,962,687,816,1026,1088,758,594,686,600,669,648,514,509,525,409,298,337,373,386,428,527,945,1144,1282,1324,1370,1422,1340,1238,1200,1288,1438,1602,1378,1286,1040,853,1232,1458,1728,1576,1106,1064,1074,927,1186,1304,1306,1140,899,583,514,535,492,450,687,818,1100,1378,1138,1064,1042,983,915,591,390,337,370,408,497,963,1338,967,485,714,1084,1468,1404,1450,1520,1294,909,814,844,968,1268,1194,856,855,1108,1470,526,326,336,402,488,678,1092,1142,946,1092,1098,843,1068,1212,938,561,511,529,509,586,529,429,463,468,491,458,326,246,337,368,347,283,292,288,308,358,365,716,1500,1316,1174,1144,1216,1240,1170,820,575,354,294,325,564,799,491,339,371,479,578,551,492,880,1666,1804,918,451,469,433,519,593,636,561,461,387,530,891,901,802,690,687,658,606,1098,1584,1076,1222,1232,646,731,580,473,451,435,451,493,469,410,469,427,542,813,847,720,733,569,416,498,582,440,360,466,569,750,702,761,1632,1834,805,896,1422,1212,928,810,827,1168,1646,1570,1314,985,1274,1512,1284,1018,852,1232,1762,1772,1908,2194,2188,2244,2270,2242,2514,3354,2376,1594,1606,1584,1338,926,546,557,805,860,766,1028,1614,1528,1350,1130,1098,1266,1326,1322,1322,1290,1354,1208,932,1288,1390,1102,1162,1056,1280,1460,1240,805,616,929,1708,2012,1994,1282,890,640,491,551,579,509,461,481,407,438,618,648,430,420,439,393,487,488,709,1144,1396,1324,1240,1252,1300,1262,1400,1442,1440,1482,1318,1208,1015,966,1256,1516,1548,1616,1454,1015,632,560,687,1200,1050,1176,1482,949,489,432,472,608,563,428,462,571,518,438,477,439,523,588,562,577,641,748,917,1332,1382,1798,1798,1600,1034,473,326,458,422,385,533,636,750,613,493,496,538,503,523,618,639,547,488,932,1470,1128,579,630,809,1038,1298,1882,2302,2020,2394,2376,953,799,1208,830,1022,1334,955,733,528,680,1034,836,819,1038,993,868,952,1224,1222,1240,1056,727,382,270,290,311,311,289,278,279,288,343,565,905,1140,1032,872,794,566,741,768,805,1009,976,1244,1312,999,966,1274,1312,957,829,650,748,964,1070,987,893,1180,1194,1284,1314,1242,1256,1296,1316,1230,1028,855,791,860,899,1058,1222,1490,1316,1202,1030,1444,1340,1082,1222,1278,1166,1098,1014,1013,1030,1158,1720,1582,1394,1180,785,753,1150,1206,1332,1448,1442,1368,1348,1350,1130,1096,1310,1378,1346,1390,1274,1302,1238,1144,1098,811,482,356,353,431,688,721,764,692,673,1048,1554,1660,1272,967,1256,1346,1164,1064,1500,1626,1278,1338,1224,1032,1214,1362,1550,1368,1276,1186,951,684,869,625,437,305,492,624,616,808,925,672,459,477,638,711,918,706,1038,1972,2062,1236,708,592,536,396,507,699,1044,1666,1750,1744,1338,1660,1488,947,821,764,676,729,792,944,1234,1162,1030,1042,1304,969,848,1152,1470,1748,1560,1414,1422,1482,1582,1418,1318,1212,1252,1526,1616,1088,1260,1638,1142,927,1420,1402,1268,1318,1490,1440,1366,1036,852,993,1021,1032,973,1046,955,814,830,1058,1082,1060,1278,1172,1042,1074,1084,998,1042,954,695,529,470,391,395,518,533,516,549,633,683,616,602,800,1004,682,606,563,503,539,899,1246,1210,1190,1350,1456,1462,1544,1466,1628,1266,1220,1612,1646,875,482,467,443,500,774,1086,996,1398,1476,1376,892,1266,1658,1362,927,680,960,1116,1076,1158,1530,1844,973,872,1072,1432,1556,1266,904,966,952,756,868,1278,1356,1280,1490,1214,1152,1278,1396,1454,1516,1332,1260,1322,1170,1276,1148,890,650,584,493,617,661,771,808,760,661,567,392,333,347,689,928,789,694,541,422,397,435,981,1648,1538,1015,984,1432,1013,1262,908,478,471,618,937,1208,1204,1318,1476,1360,1104,1320,1208,991,962,1068,1017,1006,919,803,729,773,891,1016,1200,1228,1240,1220,946,792,833,1034,991,1076,1040,780,1000,1058,717,567,585,995,1130,1158,1204,1230,1324,1504,1526,1224,1218,1382,1252,1422,1520,1168,1494,1584,1012,531,733,1160,1432,1242,775,756,869,1056,1324,1054,989,1132,874,824,1272,1448,1468,1640,1516,1494,1464,1276,1262,1208,1216,1318,1300,883,668,1056,1206,604,373,669,1058,1188,1288,1030,1028,703,831,958,1016,1328,973,418,310,330,1194,1692,1019,681,565,361,274,462,896,1432,1346,589,544,385,635,788,608,605,582,789,894,654,582,610,622,660,651,453,401,791,774,499,407,389,463,550,703,752,371,436,874,1496,1222,951,601,372,379,455,530,607,543,584,889,976,1510,1490,767,308,279,458,775,906,1048,1136,1058,900,1146,1688,1612,1404,1400,1184,1032,1228,1416,1890,1590,946,973,1362,1314,834,1440,1754,1770,1670,1826,1670,961,544,587,1210,1706,1600,1448,1252,760,695,788,818,805,795,843,725,728,716,522,346,283,273,319,437,706,558,373,338,357,363,344,324,360,378,387,412,377,380,496,653,775,981,1226,1484,1720,1788,1846,1848,1720,1558,1374,1178,1300,1050,962,883,722,600,502,432,410,393,381,350,340,348,351,361,359,367,375,382,401,422,411,392,396,420,394,397,386,367,379,392,386,389,401,396,412,416,397,383,370,380,396,402,386,394,400,390,398,406,413,419,413,416,404,382,389,388,369,379,383,379,363,355,349,345,346,345,345,339,348,332,366,368,356,360,354,348,345,344,352,393,426,430,418,415,382,382,404,406,406,397,375,371,358,361,365,367,357,367,365,372,377,367,365,353,341,355,375,374,363,361,350,361,374,379,374,376,390,394,382,380,391,394,400,415,408,397,401,411,426,444,434,415,418,408,386,380,372,391,386,390,398,380,368,371,352,337,342,348,348,348,342,342,342,337,330,337,342,344,346,344,340,342,350,354,360,367,373,369,377,402,426,440,456,453,407,390,406,426,421,440,475,497,470,378,273,265,240,234,212,212,199,206,241,217,318,379,375,379,361,349,348,345,354,352,342,357,347,327,322,321,312,321,326,322,315,318,322,318,318,323,327,329,326,322,325,331,340,340,338,347,347,336,336,333,335,336,348,352,355,356,356,356,358,356,356,356,348,352,356,348,334,334,350,356,343,336,337,336,328,326,341,319,323,324,324,325,324,327,332,329,334,350,323,330,328,328,325,330,336,343,343,344,351,365,359,359,356,351,357,363,368,340,340,350,345,332,331,327,324,319,319,318,320,319,319,319,318,321,326,321,318,314,314,313,320,329,330,325,325,319,318,323,310,314,317,312,314,313,311,310,309,312,312,320,311,329,333,314,320,325,329,333,339,340,339,339,336,336,335,333,332,328,333,343,339,339,340,332,356,354,332,336,336,333,341,326,325,322,329,333,323,322,326,322,323,320,320,320,317,306,303,306,307,314,305,312,306,305,303,301,305,307,306,306],[266,270,264,309,292,263,232,218,236,258,275,285,349,521,1018,1328,1176,945,724,602,453,598,803,766,646,853,1192,1278,1200,1015,785,438,330,293,373,656,532,322,306,310,786,1250,1102,954,1236,1230,715,494,568,554,620,642,706,730,722,643,556,599,915,2106,2680,1052,556,724,620,560,668,875,708,669,873,1188,1118,1310,1550,1350,871,815,865,858,1284,1618,1406,1062,853,770,544,633,687,482,465,526,416,303,318,434,498,457,329,524,1078,872,548,472,443,467,484,503,755,818,705,623,436,310,254,222,226,237,237,231,230,230,222,235,229,241,281,282,283,259,223,231,270,274,247,241,257,358,451,451,323,297,411,586,547,367,357,403,320,824,1326,1162,902,1290,1574,991,913,930,604,908,1264,1564,1566,1424,1382,1368,1444,1506,1210,991,840,972,908,808,688,1224,1434,991,772,758,1132,1152,394,574,1088,1296,1036,1174,963,828,1028,1178,1278,1302,1082,736,678,1000,1422,1282,1054,958,1032,758,503,499,595,566,451,401,441,566,985,876,432,400,378,363,342,317,244,273,491,1048,1580,1598,1194,1226,1540,1772,1716,1746,1344,655,693,1066,1210,918,624,514,594,786,944,634,765,1202,1254,1408,1640,1418,1190,977,828,937,671,518,470,399,441,378,299,336,376,406,460,514,481,454,465,494,513,469,484,472,515,567,544,502,432,327,351,390,316,310,289,412,698,791,551,786,1314,1344,775,853,1610,1860,1304,1206,976,1166,1714,1432,1154,1556,1422,1126,1040,849,1450,1362,1005,1310,1340,1272,1230,1248,1354,1766,1718,1164,733,1018,1436,1754,1012,893,1738,1660,1258,1080,1172,991,1148,1358,1400,1638,1540,1162,1146,1021,886,962,856,949,716,432,538,573,423,327,368,442,472,683,588,768,987,1262,1454,1404,1374,1434,1354,1228,1318,1272,1152,1162,1340,1148,1328,1824,1930,1748,1456,1166,1068,1144,1060,1186,1030,1146,1118,908,591,462,490,511,466,495,676,890,851,719,631,769,763,421,313,368,365,398,419,511,1002,1252,914,601,793,1122,1396,1416,1436,1194,695,614,781,765,857,1009,911,902,920,1042,761,448,356,384,610,775,840,1236,1282,1192,1434,1440,1118,942,1190,1282,789,650,661,583,699,706,608,583,543,469,393,337,285,297,330,301,266,280,273,294,324,330,619,1342,795,910,1172,865,665,649,465,345,284,248,296,442,432,296,318,458,860,933,700,544,659,1380,1626,818,636,538,492,547,668,934,836,488,362,390,648,891,952,846,579,449,536,874,991,896,1030,993,908,857,622,465,456,402,410,430,454,457,462,543,630,728,808,835,860,631,429,482,460,455,402,408,467,690,890,1232,1914,1904,1009,879,1268,1208,727,573,906,1040,1236,1364,1278,877,1034,1162,1068,1266,1308,1302,1848,1786,1384,1544,1728,1740,1990,2272,3334,3666,2802,2236,2398,2554,2314,1970,1644,1226,1706,1554,1622,1228,749,614,614,857,1142,1044,1003,1030,1264,1388,1304,1152,1140,1504,1472,1140,910,904,1164,1368,1356,1252,979,1118,1536,1582,1548,1142,828,542,460,602,838,766,533,495,497,583,769,846,938,635,415,529,605,498,829,1272,1376,1308,1316,1308,1278,1212,1314,1414,1428,1530,1674,1630,1500,1462,1548,1276,1028,1024,1218,1420,1252,802,1028,1134,984,1414,1396,783,489,424,505,518,446,400,487,633,605,609,561,516,528,486,455,484,495,604,874,1362,1096,1092,1284,1144,641,313,437,510,368,458,501,497,733,572,477,451,410,473,587,659,580,418,422,696,1252,1286,683,579,1020,1500,1174,1146,3022,3488,1846,1074,532,595,633,432,456,504,581,559,645,805,677,467,437,553,725,690,813,1132,1272,1116,1128,732,335,298,332,318,354,314,297,282,346,405,719,961,1214,1412,1066,666,789,853,697,1070,1442,1388,1478,1344,1236,1244,1256,1110,879,673,651,824,896,914,1020,905,1042,1186,1136,1206,1120,1054,987,1074,1346,1310,1096,1206,1272,924,974,1758,1788,1030,1152,1378,1474,1246,945,1100,1360,1312,1202,1104,1062,1036,1009,1228,1368,1408,1196,873,1052,1328,1290,1324,1302,1250,1262,1300,1328,799,700,1180,1354,1396,1462,1390,1432,1490,1230,888,471,286,362,361,330,412,598,733,738,711,948,1042,1140,1086,1094,1412,1396,1250,1068,1436,1620,1278,1470,1380,1238,1304,1528,1958,1612,1066,1044,1140,774,568,410,328,313,523,766,794,711,620,552,441,573,800,754,791,901,1274,1478,1260,915,722,616,588,748,876,915,1210,1682,1592,1098,907,1364,1144,902,991,1102,811,695,801,996,1128,1180,844,1019,1378,1342,1276,1354,1640,1916,1840,1566,1498,1604,1560,1566,1526,1180,1176,1422,1592,1288,1384,1566,1340,955,1390,1440,1510,1592,1638,1632,1434,968,830,793,883,1144,983,1010,884,881,919,985,1026,1310,1526,1558,1410,1282,1616,1808,1488,1096,558,497,478,428,466,526,522,530,544,543,586,683,718,880,906,628,695,587,530,634,1344,1420,946,1266,1414,1856,1476,1178,1352,1484,1206,1142,1013,786,599,489,433,419,658,1038,951,866,1338,1308,888,843,1372,1442,1346,835,601,655,701,884,1246,1512,1382,960,672,753,1178,1272,995,919,898,1034,1050,1146,1284,1194,1234,1400,888,1062,1418,1250,979,1004,970,1146,1168,1406,1420,1572,1246,1082,884,697,628,932,1438,1158,896,675,604,771,450,338,665,921,1228,1038,489,564,640,391,602,1130,1268,1246,1296,1572,1138,1011,734,406,427,446,539,717,896,1152,1544,1428,1454,1242,912,996,1224,1278,1007,744,904,977,1102,1015,838,1136,1266,1072,1003,1106,1226,1304,1084,711,520,640,512,521,799,925,953,935,930,1204,1306,1278,1332,1434,1528,1646,1506,1250,1288,1412,946,853,1018,1088,1180,1262,899,784,1158,1290,1332,1096,1072,1052,1356,1426,1274,1114,1274,1390,1108,1092,1344,1306,1212,1284,1462,1184,1050,1026,1007,1238,1294,1148,1252,1154,722,1358,1762,934,493,607,743,828,812,894,850,648,952,1236,947,800,675,474,369,341,795,1336,1052,895,758,456,379,423,615,662,866,581,412,423,469,771,740,463,549,1128,1338,901,608,535,599,658,483,409,497,607,919,950,608,390,447,470,590,635,619,578,755,1382,1632,1154,552,360,350,354,440,661,790,910,1266,1330,1558,1284,622,383,807,871,659,969,1206,1790,2004,1090,1218,1764,1932,2194,1816,1274,1328,1760,2012,1940,1456,1122,1128,1582,1524,788,1238,1732,1838,1596,1530,1564,1356,975,567,840,1428,1700,1452,1356,795,562,623,778,825,901,896,794,701,601,450,397,337,311,346,369,646,583,473,473,435,446,460,378,391,434,505,556,668,846,1018,1094,1246,1742,2090,2124,2046,1848,1648,1432,1120,816,606,554,755,702,573,474,421,420,391,367,355,380,404,357,330,334,351,349,345,362,374,381,398,407,379,385,384,396,408,397,377,379,381,386,389,385,393,402,406,397,403,392,360,358,375,388,373,383,402,398,412,398,390,414,410,420,412,386,383,374,370,375,368,365,360,353,345,337,344,351,357,356,374,358,380,382,370,372,362,364,351,352,356,379,415,422,424,419,389,382,405,415,408,400,383,379,370,373,376,373,375,367,365,379,376,372,372,355,339,353,381,377,378,363,365,365,379,398,387,387,394,394,401,386,385,375,389,415,406,398,408,410,419,423,419,417,417,407,392,380,384,366,377,397,392,378,368,377,356,356,354,348,347,346,342,342,337,328,332,340,330,350,349,344,342,348,348,352,360,363,360,361,369,381,391,408,433,453,451,409,393,424,412,427,495,513,472,354,250,268,263,246,240,230,217,207,207,205,321,394,379,364,355,355,366,380,362,352,348,343,350,340,322,308,304,314,321,331,317,322,324,325,318,322,327,327,322,322,329,337,337,337,346,356,339,325,330,336,340,344,344,342,346,350,356,354,352,350,350,350,344,348,353,343,337,338,344,353,341,337,337,337,337,332,334,332,330,326,324,323,328,339,344,332,332,331,331,325,325,325,323,327,341,338,332,339,338,363,353,346,350,359,361,359,345,336,342,349,343,336,330,325,326,319,313,312,314,319,319,319,319,321,320,319,318,315,317,318,319,312,326,314,310,312,313,317,309,299,302,311,312,306,306,305,305,312,311,324,325,318,318,325,332,318,326,325,329,335,343,351,347,339,333,332,333,333,333,332,325,333,336,331,350,349,336,346,344,344,336,339,336,328,333,331,329,333,314,326,332,322,320,320,317,317,316,305,301,329,329,317,307,300,297,301,300,299,294,289],[272,265,324,337,324,266,240,239,235,288,321,305,424,943,1508,1602,1498,1368,990,656,456,424,432,371,351,539,774,918,1078,906,764,623,526,373,342,617,648,424,330,598,1242,979,667,819,936,795,711,659,637,570,622,658,661,702,748,532,418,436,557,688,957,525,374,590,807,957,1284,1368,575,603,1158,1678,1268,990,1444,1023,648,850,886,1214,1698,1266,1322,1142,805,513,373,351,521,475,423,472,498,386,348,410,421,332,299,368,846,884,571,467,495,494,503,588,749,688,474,331,255,275,265,279,274,247,261,247,230,236,246,223,213,210,221,237,253,237,228,284,380,345,247,221,196,197,246,358,379,367,371,525,487,460,405,306,262,275,476,807,887,680,667,949,1256,1316,902,650,942,1210,1202,1334,1460,1208,1260,1388,922,894,1030,1212,1362,1118,1036,1396,1438,1210,1186,1190,1304,1296,644,800,1042,1232,1208,1296,1168,1074,1090,915,860,1134,1007,575,633,905,1462,1128,628,558,810,711,430,444,511,481,564,758,593,796,1494,867,418,426,419,413,359,241,210,400,902,1554,1728,1580,1282,1394,1246,1242,1478,1780,1432,716,502,949,1376,1116,806,582,599,729,647,653,1142,1152,897,1140,1394,1836,1566,705,572,874,1100,955,625,513,603,522,598,698,521,453,606,959,811,553,473,526,516,484,432,403,437,477,480,494,354,228,318,366,375,385,409,571,1064,1132,999,1022,897,1266,986,821,1424,1476,1014,1001,1050,1716,1612,1260,1652,1798,1640,1114,899,1238,2436,1624,894,1154,1272,804,1068,1316,1142,1248,1172,1144,1100,1214,1108,1288,1028,941,1208,1328,1286,1204,990,1112,1196,1128,1438,1698,1288,1138,1232,1190,1050,1120,1234,1180,820,505,576,515,384,370,423,492,470,645,584,563,700,1042,1276,1156,1280,1224,1150,1334,1450,1366,1316,1688,1920,1772,1500,1288,1234,1418,1448,1440,1104,1264,1356,1214,1146,1252,1250,1054,697,481,477,483,457,438,546,579,633,603,503,697,839,599,390,343,329,406,384,308,575,1096,1138,1009,1118,1246,1396,1342,1308,1340,921,547,625,946,788,563,686,696,691,663,521,462,549,774,1130,1290,1356,1582,1506,1416,1070,848,699,1108,1586,1368,933,713,600,527,516,583,618,628,585,501,328,334,332,309,367,372,308,298,280,266,291,358,625,1378,918,567,613,430,387,415,437,466,387,281,296,381,350,369,326,764,1454,1792,1526,813,672,1086,1162,973,1372,879,691,654,896,1400,1176,598,390,371,547,827,888,696,549,502,686,1146,1244,1098,1148,1636,1606,1102,720,542,518,422,386,395,412,458,509,662,692,698,709,757,830,616,473,499,426,458,413,401,451,537,933,1400,1776,1670,1126,923,1028,988,1046,990,1062,995,1062,1358,1106,536,591,661,754,1172,1340,1368,1778,1692,1428,1792,1848,1682,1704,1660,2040,2644,2310,1680,2004,2554,2520,2588,2588,2170,1796,1776,1940,1140,565,597,550,734,820,592,666,979,1180,1300,1310,1102,846,869,1224,1400,1214,1242,1334,1214,1146,1348,1152,1124,1066,1084,1476,1404,824,515,534,878,930,586,488,464,602,669,941,1198,1334,933,745,1007,738,630,835,1072,1150,1344,1576,1274,1332,1544,1306,1276,1426,1542,1664,1814,1744,1530,1152,704,536,488,730,1078,1238,1080,1238,1076,1156,1516,1086,684,446,424,462,437,453,539,738,778,681,686,683,628,554,613,563,517,517,579,1056,1362,943,593,615,660,430,360,538,421,373,495,514,441,455,475,488,473,406,488,559,468,398,451,634,1008,1440,1412,962,843,1310,1882,1638,869,1510,1942,866,405,629,570,456,414,403,363,364,498,913,1034,556,397,310,433,686,736,520,791,1198,1238,1120,903,661,501,422,511,573,498,587,471,458,586,740,825,939,1017,869,703,1054,1324,1050,1078,1376,1252,1130,1236,1004,1058,1400,1278,1076,968,882,1072,1144,1134,1154,1198,1108,1116,1086,1090,1162,1198,1104,1334,1262,1180,1204,1482,1382,978,705,1282,1304,817,951,1296,1354,1212,1104,1114,1078,1096,1144,1176,1298,1190,989,1009,1270,1450,1438,1100,940,1170,1100,983,1072,1052,1262,1338,1134,786,858,1120,1086,1080,1122,1128,1434,1466,1316,882,486,481,536,404,334,420,586,826,921,1015,1116,865,1286,1404,1292,1432,1398,1332,1332,1556,1356,1154,1262,1134,1372,1322,1232,1394,1390,1050,932,982,902,610,353,330,328,494,713,681,655,738,563,454,637,728,818,783,979,1338,1432,1312,728,645,715,867,1284,1202,1024,1258,1528,1456,948,825,944,977,990,854,892,688,697,742,955,1034,1008,865,813,1304,1648,1284,1146,1566,1774,1586,1574,1674,1692,1442,1282,1226,1048,1144,1492,1588,1544,1670,1670,1350,1144,1616,1302,1416,1796,1752,1716,1236,558,558,751,741,1082,1005,952,871,860,877,898,990,1314,1624,1562,1294,1132,1394,1826,1906,1244,562,484,455,449,491,500,470,459,479,500,496,617,620,664,626,509,571,587,639,1126,1572,1202,1586,1418,1316,1906,1456,1534,1834,1746,1584,1328,1130,1188,951,882,1038,1046,1126,1032,653,627,720,839,796,1226,1706,1628,1390,700,675,608,678,658,971,1004,1166,1224,1240,1248,1236,1220,1256,1294,1424,1380,1150,921,694,1016,1308,1184,932,1092,1412,1034,799,1078,975,1252,1266,1256,1362,1544,1370,1378,1304,1060,1098,1064,1330,1222,1112,944,579,871,641,502,565,490,659,639,335,482,535,399,440,765,1228,1502,1208,1214,809,382,298,314,367,380,427,586,1004,1282,1494,1418,1278,952,957,1194,1110,1078,1198,1732,1290,1218,1230,1310,1200,1218,1214,1094,1194,1322,1570,1770,1604,1166,857,673,546,578,899,1094,1278,1306,1194,1258,1446,1350,1278,1274,1400,1678,1532,1232,1308,1264,1046,1278,1450,1088,814,769,657,1022,1190,1192,1258,1056,1136,1026,935,1084,1302,1290,1372,1374,1166,1188,968,1001,1200,1274,1044,711,654,1021,1460,1466,1124,875,829,1132,675,929,1194,1216,1394,1046,645,809,1144,1138,840,721,720,763,549,528,705,871,744,535,503,340,555,1124,841,480,548,435,482,350,426,430,368,470,430,584,759,528,432,984,1288,1278,700,376,434,449,623,930,1030,812,830,1094,976,493,407,347,404,916,1260,929,498,844,1570,1706,971,354,531,658,1090,1484,1646,1284,1364,1252,1404,1272,621,422,997,1116,560,1007,1228,1116,1174,853,734,1076,1528,1568,1234,1068,1102,1292,1106,1102,1232,1390,1192,1456,1688,1118,1230,1660,1750,1470,1130,1176,1416,1294,532,611,1138,1714,1556,1336,850,514,567,740,800,894,992,1002,854,724,551,435,361,361,375,423,551,513,479,565,606,714,774,745,762,792,929,1166,1262,1128,1064,1030,1150,1594,1910,1704,1642,1338,821,543,448,414,414,442,447,419,389,372,388,388,373,334,334,360,383,357,331,337,343,343,356,371,380,382,373,390,380,384,374,379,405,392,370,364,369,396,385,400,386,404,401,400,403,389,365,361,376,387,375,381,401,390,400,391,386,416,414,416,423,399,380,375,365,367,369,351,351,346,339,333,332,338,348,383,387,366,382,397,398,392,362,360,342,338,339,358,389,406,425,424,393,385,415,433,414,404,393,379,379,379,379,379,379,379,383,379,379,383,389,370,357,363,387,383,376,384,379,362,376,401,390,385,391,389,416,398,394,391,390,407,405,405,427,416,424,415,412,420,424,412,390,377,377,377,394,398,388,378,368,373,347,348,350,347,348,342,337,342,342,337,342,340,342,333,333,342,342,342,347,352,354,357,354,354,363,372,381,391,412,431,443,437,404,412,414,426,483,516,503,470,279,219,244,247,251,217,206,199,197,239,360,444,418,375,367,367,358,368,344,348,348,329,335,333,312,308,307,311,318,336,320,323,323,325,320,318,329,330,321,317,327,338,337,337,344,340,340,344,340,337,338,340,340,335,353,350,356,352,358,358,346,348,353,353,349,343,346,339,335,350,330,336,335,336,338,332,332,330,326,332,329,327,328,327,323,323,335,323,329,332,335,332,327,325,334,340,359,354,353,353,348,338,346,361,359,351,340,337,339,343,343,337,330,325,321,318,314,312,313,313,312,314,318,317,315,326,319,319,324,325,323,309,320,319,311,314,313,312,307,314,313,311,309,306,309,311,311,313,311,322,331,317,319,320,322,320,320,318,322,326,333,333,328,328,328,328,333,332,332,333,344,340,332,335,339,341,345,338,333,333,339,340,328,339,339,328,332,335,325,322,323,322,318,312,312,317,316,307,300,314,323,301,305,306,300,294,302,298,288,292],[240,229,264,242,297,318,271,225,226,318,337,315,380,814,1158,1416,1376,1194,891,661,447,376,368,294,294,421,456,548,808,858,543,647,827,636,411,322,468,570,723,1102,1488,1132,686,793,824,741,1018,1216,743,497,589,634,570,733,988,635,442,344,514,642,605,448,423,517,844,1330,1428,1046,515,756,1818,2178,1740,1364,1098,688,626,801,722,872,1252,807,1154,1340,1021,536,388,434,514,435,292,394,510,469,368,334,444,314,289,331,582,855,748,547,534,517,446,364,291,227,214,257,283,277,282,321,342,413,435,340,243,203,203,186,199,230,243,287,309,300,272,308,417,370,212,216,209,226,272,329,420,361,300,458,455,421,392,282,239,272,259,302,602,524,482,1056,1506,1534,1056,728,781,890,1104,1346,1334,805,881,1010,759,904,962,903,958,890,698,949,1284,1380,1536,1672,1718,1396,830,588,641,855,834,902,1100,1278,1182,771,574,849,1050,682,767,951,1220,685,366,419,451,442,434,690,562,399,565,1026,624,633,877,633,436,383,377,368,352,250,332,938,1460,1538,1354,1012,1190,1256,1094,1122,1198,1318,1394,1092,863,780,1268,1270,1182,881,741,962,1002,856,887,734,469,784,1288,1514,1708,1328,779,578,637,955,1016,897,871,1124,1144,1330,903,641,832,1316,1052,906,749,597,611,560,406,400,424,450,483,554,547,376,336,363,469,503,483,456,774,1104,1296,1126,905,953,1352,1360,1294,1013,871,964,1478,1958,1528,1794,2048,1666,1550,1018,933,1798,2276,1714,1188,1118,1108,950,1228,1310,1324,1180,958,828,694,962,1234,1790,1206,618,1210,1594,1662,1588,1330,1460,1388,1228,929,891,761,1024,1128,1142,1050,1074,1232,1248,1148,655,480,426,396,417,435,504,463,439,485,517,510,773,1130,1048,1224,1056,1230,1728,1870,1766,1736,1924,1984,1526,1208,1156,1084,1772,1860,1858,1342,1488,1452,1244,1334,1354,1306,1146,818,401,376,404,390,514,749,840,833,646,653,946,939,682,469,406,397,404,293,297,506,1232,1480,1400,1418,1390,1316,1202,1438,1398,751,486,792,904,720,624,683,735,741,620,442,504,986,1486,1436,1256,1500,1612,1604,1434,1218,1050,651,818,1228,1356,1378,1042,484,487,493,560,610,644,562,364,302,342,285,285,362,498,641,446,314,241,289,349,736,1422,1334,868,540,314,394,439,361,448,423,368,315,339,404,538,664,1140,1672,1958,1544,697,656,1011,1168,1410,1622,1086,1304,1332,1050,1300,1230,598,509,850,863,839,775,533,600,599,916,1310,1334,1070,1234,1492,1314,1062,673,547,465,422,408,398,445,491,485,520,582,700,724,722,691,580,463,505,429,420,404,404,455,456,655,940,1332,1742,1206,964,1156,1326,1434,1476,1516,1336,1222,1538,1318,890,772,647,775,1284,1498,1454,1824,1656,1598,1786,1820,1890,1768,1304,1298,1952,1710,1356,2358,2630,2586,2608,2646,2232,1478,1392,1572,1206,651,599,507,798,1246,1160,976,1176,1180,1378,1338,1290,1272,980,1104,1430,1364,1222,1026,982,1088,1178,1260,982,830,942,1132,1002,612,484,532,894,878,811,555,510,661,771,1040,1154,1182,1094,1322,1548,898,903,906,823,834,1412,1758,1426,1598,1764,1442,1244,1186,1368,1524,1696,1736,1460,750,573,545,522,526,705,849,1166,1362,1350,1512,1544,1007,664,462,420,446,445,497,651,754,560,419,478,592,527,460,549,641,651,620,674,1118,1338,1015,661,433,373,323,484,514,382,363,438,503,468,455,431,412,417,460,530,513,379,384,494,878,1428,1732,1622,1342,1376,1818,2136,1910,698,603,521,379,364,508,567,559,508,372,590,1124,1086,1194,1136,594,384,343,337,680,752,422,422,749,919,1088,1210,1108,1058,976,964,915,868,937,850,948,959,738,632,646,862,863,941,1256,1292,998,1080,1388,1266,1122,1202,986,979,1238,1306,1316,1278,1354,1470,1246,1288,1354,1444,1382,1226,1188,1302,1412,1168,1252,1510,1272,1296,1136,1198,1176,990,1017,1206,1158,971,988,1300,1338,775,722,803,626,1004,1172,1494,1500,1080,852,809,879,1104,1046,738,951,1266,1204,1062,1190,965,1036,1228,1156,868,891,1142,1030,893,827,889,1350,1310,1224,1062,736,683,833,631,336,418,616,968,1110,1104,1136,1005,1406,1432,1384,1494,1484,1308,1274,1300,1028,1040,1036,1190,1192,1220,1116,1108,1202,1236,1042,727,711,593,395,377,373,379,480,777,843,862,691,662,662,874,1074,993,1244,1546,1438,1284,973,976,903,1068,1332,887,599,951,1292,1596,1376,1196,1186,1014,874,669,501,702,851,847,908,852,794,889,943,1132,1316,1208,1148,1526,1938,1660,1582,1510,1444,1272,992,959,595,662,1328,1710,1582,1592,1592,1116,1602,1870,1328,1374,1742,1600,1440,988,587,477,500,487,764,814,804,756,714,822,814,735,868,1276,1450,1174,985,1078,1704,1672,786,474,500,422,422,441,471,471,420,431,449,431,462,530,571,562,512,516,618,838,1286,1406,1000,1440,987,1554,1698,1714,2158,2060,1834,1694,1610,1126,611,580,706,744,663,616,534,550,565,512,550,692,1062,1386,1476,918,590,600,676,659,832,907,800,753,831,1022,1316,1448,1438,1266,1078,1036,709,518,560,554,904,1194,1028,1142,1502,1384,933,818,776,1384,1454,1266,1234,1288,1290,1222,1618,2226,2308,1614,1114,1168,1170,1190,1164,886,816,849,901,802,619,738,874,787,868,541,418,445,607,1034,1222,1108,907,459,305,427,528,438,504,553,875,1396,1594,1454,1008,741,689,733,846,881,921,1064,1500,1202,1632,1338,1268,1398,1272,1230,1416,1592,1682,1636,1422,1278,1106,1258,1216,1278,943,625,773,1030,1208,1120,1238,1450,1188,1144,1296,1444,1596,1298,1078,1194,1144,1096,1184,1066,873,817,706,682,1146,1122,1082,1216,1156,1130,954,767,832,1164,1400,1150,924,1048,1084,1028,1334,1288,999,803,819,645,512,926,1162,1078,1046,739,1058,965,630,1168,2018,1978,1228,900,1028,1316,934,554,802,832,433,287,858,1472,1422,955,717,468,302,551,1120,953,539,598,439,405,358,349,339,387,457,339,379,684,749,418,577,785,778,428,382,346,319,502,922,1190,823,925,1312,1276,824,411,314,307,618,1166,860,390,396,799,1552,1488,888,1290,1338,1474,1556,1604,1372,1202,736,615,611,360,329,539,548,532,790,872,602,503,389,794,1036,1282,1548,1456,1086,956,1348,1402,1434,1412,1428,1332,1310,1644,1444,1188,1302,1410,1542,1015,1090,1344,1342,904,801,786,1342,1618,1484,1050,583,560,648,689,812,879,955,951,969,928,730,614,595,507,459,551,635,763,890,960,975,1038,1168,1192,904,872,1144,1130,816,868,1036,1362,1844,1500,802,850,706,543,481,460,418,397,407,410,424,380,359,361,365,369,360,349,352,353,334,321,329,344,353,364,379,404,416,373,373,368,370,368,383,412,410,379,359,366,380,374,402,382,386,391,399,399,394,386,365,366,386,379,376,387,381,391,393,381,397,406,418,431,420,397,383,370,359,369,348,346,349,347,343,339,348,357,366,394,389,384,397,403,408,383,367,346,338,348,368,390,414,426,425,400,389,408,424,414,410,393,382,388,386,383,379,379,376,375,371,377,397,393,375,371,379,394,397,384,378,368,368,378,394,392,385,391,394,396,394,403,398,389,405,408,404,426,408,405,411,418,420,432,418,395,380,370,368,382,397,382,380,366,372,339,337,347,348,344,332,339,344,348,346,335,327,336,328,332,336,340,342,340,339,347,355,347,347,344,360,372,383,402,423,431,440,423,411,410,424,471,525,505,486,280,239,247,245,232,222,212,207,230,252,375,458,422,398,378,364,365,360,351,344,346,339,333,321,304,305,304,314,327,336,330,324,323,325,320,318,325,326,331,318,324,331,336,338,336,336,342,336,337,337,330,334,340,325,346,349,349,352,352,344,341,346,352,352,344,338,353,341,343,348,321,326,330,334,338,332,334,337,323,332,330,332,337,325,318,323,331,331,331,332,336,334,325,325,325,332,346,351,350,350,345,342,349,354,357,346,336,338,336,335,342,345,327,325,319,325,319,313,310,313,313,312,314,325,309,318,320,319,321,320,319,315,320,320,319,318,311,309,306,306,303,302,300,303,309,307,312,320,318,325,329,325,325,320,320,320,316,311,313,318,322,318,312,320,322,325,325,333,335,319,322,325,328,335,333,332,329,328,326,325,325,320,335,335,312,323,329,326,322,325,318,320,320,320,314,313,309,306,307,302,306,302,290,298,306,302,299,293,294,296],[223,265,270,237,271,310,235,176,207,312,311,331,495,832,969,1092,1168,1152,1118,811,453,376,387,335,283,480,491,960,1180,846,496,761,901,728,652,662,849,755,672,879,890,711,587,563,622,923,1378,1208,659,782,619,705,670,1118,1366,1076,716,644,652,656,732,524,530,696,586,844,760,572,479,592,1472,2118,1906,1268,801,701,708,722,561,549,818,1072,1242,1202,816,492,460,723,821,574,354,429,429,441,360,305,412,361,314,346,398,727,975,760,681,499,282,250,246,269,287,290,279,245,299,368,339,375,459,452,290,229,239,239,252,252,217,280,343,332,326,319,316,307,189,197,239,312,389,385,356,223,193,426,670,541,286,272,271,303,259,228,282,400,618,852,1188,1216,891,760,1214,963,612,634,1076,836,1124,809,605,688,595,558,827,783,376,548,713,1017,1562,1578,1598,1110,529,383,620,805,829,1082,1388,1454,1320,948,768,651,629,772,1066,1086,1094,829,550,499,431,462,736,1122,720,429,438,624,453,585,952,1026,858,599,378,328,344,455,859,1410,1422,1094,1214,1074,681,682,1196,1404,1254,1188,1090,1146,1268,1058,1236,1542,1358,1154,1096,1122,1332,1224,645,334,470,991,1432,1104,959,1090,1202,979,650,521,733,1088,1458,1584,948,1172,1078,865,987,1388,1302,1180,1052,788,694,608,566,913,887,526,509,520,566,539,486,426,438,464,401,424,555,738,821,872,1262,1024,1134,1338,1298,917,800,761,1086,1366,1406,2000,1880,1952,1556,1184,1112,1740,1792,1472,1342,1368,1364,1316,1242,1182,1300,1130,716,524,629,888,1520,2166,1600,1010,1244,1282,1460,1430,1366,1252,1344,1208,846,594,605,895,1098,1176,1214,1158,1054,935,915,560,396,403,422,440,440,522,555,426,399,430,388,407,477,994,1340,1104,1294,1920,1938,1624,1304,1034,968,1182,1692,1922,1160,1726,2130,2040,1740,1576,1320,1130,1048,1148,1172,802,521,328,325,348,350,479,661,716,714,698,849,1260,1344,909,537,434,457,434,300,291,520,1188,1632,1632,1400,1278,1282,974,1180,818,658,669,1050,1112,868,601,579,742,692,484,448,601,974,1040,1042,1030,1328,1798,1910,1506,1422,1356,828,959,1642,2108,2030,1620,615,496,577,559,561,522,409,332,359,328,308,418,532,570,806,634,315,243,330,528,1160,1766,1626,1298,1052,452,314,390,332,439,501,475,561,706,922,1082,980,1156,1328,1686,1666,1076,697,614,874,996,1074,852,978,901,794,1502,1866,1152,1680,2198,1312,797,673,566,576,634,847,1246,1334,1044,1488,1350,1062,955,525,480,539,562,493,411,444,482,487,470,456,527,525,467,419,545,548,562,479,411,396,407,440,475,509,593,983,1724,1012,937,1268,1412,1538,1666,1742,1482,1380,1718,1404,1266,1272,1040,915,1212,1220,1360,1726,1538,1656,2016,1964,1970,1702,1346,1460,1824,1710,2088,2958,2612,2470,2608,2730,2132,1144,1214,1310,1454,642,458,499,916,1214,1392,1390,1358,1508,1432,1232,1562,1824,1486,1276,1654,1432,1342,1558,1400,1266,1454,1300,813,659,660,623,682,692,625,764,766,856,1220,935,719,683,953,1172,949,940,886,1142,1310,1104,996,978,700,761,1184,1290,1338,1510,1420,1388,1416,1408,1238,1228,1342,1482,1228,724,616,609,565,586,584,951,1292,1250,1428,1584,1428,1152,882,600,408,450,421,420,582,642,474,421,426,566,508,524,579,623,731,681,727,1146,1278,780,492,401,288,384,556,443,379,372,394,435,503,514,461,454,509,622,531,457,412,402,441,851,1362,1616,1608,1442,1930,2554,1960,2294,975,613,417,353,362,418,522,645,644,577,677,980,1060,1332,1190,1264,932,457,262,372,427,352,374,554,656,715,686,944,1158,1162,1174,1300,1122,1078,916,751,945,1130,1100,1002,1096,1068,1410,1582,1490,1228,1058,954,924,1014,1020,980,968,907,962,1104,1038,1028,1038,1158,1276,1334,1356,1288,1276,1494,1730,1588,1184,1346,1428,1502,1400,956,882,1088,1130,1130,1236,1236,1200,1310,1610,1436,589,435,504,698,1074,931,1446,1662,1042,638,585,777,1005,1134,1090,1398,1506,1478,1170,745,721,1096,1294,1290,1208,1100,1190,997,915,746,897,1110,1234,1200,1198,1126,855,773,692,548,575,598,923,1000,907,1000,1276,1410,1278,1340,1242,1080,1154,1270,1176,1178,1028,1001,1206,1168,1220,1206,1306,1328,1384,1274,633,508,579,583,460,373,341,466,661,672,708,809,822,794,869,893,1122,1344,1418,1408,1196,1082,766,745,888,709,505,755,1078,1128,1226,1446,1668,1738,1232,946,747,591,612,852,966,684,637,555,744,1126,1006,1216,1460,1516,1582,1782,1406,1062,1096,1266,1406,1394,1378,1130,653,1246,1460,1572,1820,1730,1584,1776,1760,1570,1496,1642,1364,1180,1120,736,539,602,590,529,500,536,512,499,526,481,481,513,708,844,1088,894,1066,1816,1378,543,478,502,437,453,447,466,449,450,441,445,461,474,515,548,536,451,464,672,1050,1454,1072,707,728,750,1412,1560,1654,2020,1862,1716,1798,2128,1316,572,505,366,474,609,588,645,675,583,496,466,503,628,743,1082,653,470,537,556,691,927,928,833,796,666,824,1328,1122,852,778,738,775,738,625,872,1430,1318,1046,768,643,781,1234,1326,1286,1322,1666,1534,1522,1776,1604,1040,997,1248,1426,1330,1096,1194,1336,1396,1264,1202,1056,919,966,1162,1106,1188,2092,1784,1248,1078,684,519,626,726,837,778,696,734,490,503,907,900,654,775,843,1122,1416,1548,1362,912,982,904,708,952,919,1108,1344,1296,1190,1378,1294,1294,1414,1326,1162,1206,1266,1410,1346,1180,1158,1062,1144,1196,1188,1030,870,1024,1110,1056,1128,1206,1120,1146,1346,1518,1528,1456,1320,1216,1144,1082,1330,1008,700,889,877,686,713,843,843,1072,1240,1200,1158,1170,1190,847,998,1456,1112,988,1316,1246,1206,1432,1346,1066,1040,943,773,529,743,1011,977,924,756,723,963,767,660,1058,1128,945,974,713,789,674,698,728,841,620,519,1048,1376,1007,686,714,413,311,393,680,641,745,913,778,573,462,485,412,370,499,344,375,513,798,750,551,340,496,955,984,612,491,558,573,576,568,861,1216,932,918,691,401,283,350,462,548,513,487,586,984,1562,1062,1224,1356,1450,1636,1660,1404,1009,569,397,499,559,776,728,771,923,893,596,446,481,471,692,1100,1218,1314,1676,1414,943,1236,1348,1468,1644,1774,1682,1390,1446,1454,1204,1328,1462,1604,1186,1442,1556,1406,1110,861,630,973,1558,1638,1090,623,525,487,548,676,826,883,912,935,952,983,936,861,841,870,1002,990,968,999,1150,1136,1222,1168,937,834,902,1228,1162,1234,1490,1772,1780,1972,1312,585,499,509,454,431,432,402,375,366,368,393,382,361,348,355,353,343,332,321,309,317,332,359,356,359,369,365,377,403,376,370,372,379,386,388,395,390,367,348,358,389,389,392,398,391,389,397,399,395,386,361,380,381,388,390,376,386,386,368,376,382,391,419,410,395,386,375,363,345,355,354,355,360,351,345,346,354,357,374,404,411,399,397,399,416,406,383,354,338,352,374,387,425,428,421,410,404,410,440,432,413,397,375,385,384,367,372,385,372,382,384,382,396,383,370,369,369,386,388,386,378,359,365,378,385,386,385,386,391,396,397,390,392,380,387,411,413,405,405,420,426,420,421,426,413,402,382,366,360,372,390,380,372,384,370,354,358,352,348,344,339,329,336,342,335,325,335,327,322,326,327,333,330,330,339,351,349,342,341,357,367,373,389,402,409,415,425,435,426,409,413,471,514,503,453,298,221,240,241,225,220,215,220,199,230,340,446,439,403,376,363,347,350,366,346,338,343,340,328,320,315,308,318,334,331,328,328,323,322,317,318,320,318,336,320,322,329,333,343,334,337,338,337,336,333,330,342,331,332,340,348,350,348,348,348,341,344,339,334,337,336,356,338,341,343,328,329,332,334,337,328,329,341,324,330,332,329,332,327,319,321,327,327,325,323,322,322,318,325,332,342,340,344,348,351,349,349,350,353,357,355,355,345,331,331,324,340,333,324,327,314,305,315,300,314,312,306,307,311,299,314,319,317,314,313,312,314,317,314,313,310,303,306,309,301,300,299,302,305,301,307,316,319,319,323,319,320,314,316,318,318,318,310,307,316,320,312,314,320,320,325,325,332,332,325,320,326,328,333,331,325,325,325,326,325,328,325,333,319,320,323,319,320,320,320,320,320,320,320,320,313,307,303,299,300,302,300,294,295,293,303,301,295,295,281],[235,273,273,266,274,265,196,167,210,285,324,352,637,1058,1152,1018,1050,1488,1454,677,418,364,404,381,455,593,772,1196,1398,1210,759,600,622,714,536,532,498,437,428,759,789,537,450,476,745,1074,861,703,828,1522,1070,867,1112,1714,1932,1550,942,651,484,442,603,664,586,648,585,642,484,399,440,300,760,1574,1288,951,1152,1060,762,572,451,459,974,1520,1456,938,613,554,678,916,885,624,447,388,319,431,461,390,396,389,358,360,360,505,851,837,385,256,216,255,273,264,283,306,319,310,345,406,359,346,376,441,345,272,253,258,282,282,264,300,346,315,315,287,230,268,245,266,282,310,408,448,383,293,277,491,935,764,328,328,372,266,211,229,247,261,302,663,1268,1500,1312,951,1306,703,403,437,608,840,1070,662,557,718,679,600,993,935,1056,1005,736,895,1238,1234,1404,1124,692,658,782,853,958,1272,1462,1464,1234,1016,967,624,404,832,1180,1102,834,490,682,791,832,998,1066,746,440,350,365,368,406,662,1050,1094,939,566,344,292,425,922,1468,1498,1003,790,1226,1440,1108,755,1346,1736,1804,1368,888,1098,1202,1112,1410,1668,1560,1274,1248,1362,1416,1326,982,598,892,1218,854,429,343,475,774,1058,1176,734,490,874,1522,1426,912,808,821,713,817,1202,1350,1320,1200,816,810,775,849,1486,1190,613,579,583,565,562,587,553,462,453,434,529,883,639,444,424,799,1056,1014,1288,1406,978,860,887,896,1250,1666,1618,1742,1770,1450,1214,1322,2120,2008,1498,1634,1626,1260,1300,1007,903,1148,1220,940,733,796,982,1282,1628,1592,1280,1164,1132,1078,1132,1260,1005,1054,1274,971,602,550,850,1344,1386,1190,847,629,458,363,348,380,418,448,458,476,614,637,476,374,376,334,420,402,737,1096,1166,1584,1844,1360,892,665,806,1386,1858,2018,2120,1604,1622,1716,1300,875,889,1090,930,857,1009,1013,543,459,580,432,284,294,346,492,592,591,913,1082,1624,2018,1324,688,473,481,403,306,310,403,869,1478,1428,932,1062,1538,1296,1076,941,1288,1300,1194,852,658,736,955,1544,1318,580,496,714,875,865,843,1112,1412,1478,1558,1456,1344,1142,1042,1920,1904,1516,1210,1534,979,529,548,544,488,314,331,318,382,379,358,361,451,399,402,416,349,357,399,663,1136,1616,789,807,800,446,358,437,507,695,777,796,844,709,868,1013,589,661,869,1038,1432,1504,1040,658,1068,1498,1182,890,1120,667,652,1316,1670,1378,2146,1840,1120,1048,1188,855,518,720,1080,1528,1560,962,1380,908,750,872,510,437,583,649,565,440,431,486,462,444,409,403,393,408,534,604,522,467,452,420,393,457,504,535,650,628,611,1034,872,972,1366,1438,1368,1484,1628,1546,1342,1506,1356,1478,1282,801,951,1394,1610,1520,1412,1322,1352,1580,1848,1832,1560,1614,1508,1670,1506,2630,2950,1914,1886,2042,2150,1830,1190,2082,1372,1146,622,408,508,689,946,1178,1196,1408,1600,1438,858,816,911,1178,1656,1738,1274,1374,1382,1140,1240,1274,985,664,549,542,491,453,631,854,990,737,627,727,861,854,858,1230,1428,1040,863,692,1198,1288,1156,1058,1012,827,825,1034,1252,1456,1404,1224,1174,1094,1152,1278,1202,1100,1296,1262,797,658,742,627,532,736,1210,1056,866,1094,1362,1408,1288,1194,803,387,405,405,439,499,464,409,374,425,547,460,598,725,676,681,594,653,1110,1218,639,439,425,320,486,495,370,350,373,409,419,473,525,480,444,429,414,450,430,384,404,461,792,1318,1478,1538,1270,1522,1664,1094,1404,837,465,364,328,456,553,586,561,960,972,590,650,1092,1294,1072,1014,891,495,222,315,448,361,346,541,705,574,532,821,891,918,915,841,1002,1296,927,671,963,1124,1038,783,691,847,1288,1294,827,547,502,437,439,520,594,794,1502,1316,1152,1238,1316,1080,907,1118,1214,1350,1492,1436,1288,1448,1432,1400,1356,1270,1252,1208,1084,968,996,1032,1023,1128,1180,1202,1144,1196,1324,1314,1001,774,879,1032,728,568,650,843,807,517,725,1064,1238,1422,1316,1056,1084,1306,975,512,762,1094,1286,1290,1160,1134,1110,1136,1226,775,854,1011,1106,1296,1480,1470,1316,1154,1030,919,744,727,1022,968,976,1082,1306,1400,1322,1344,957,1028,1302,1230,1013,1004,959,1054,972,1074,1156,1168,1382,1268,1162,912,663,682,813,746,461,336,314,407,612,830,778,656,777,1122,1142,764,1080,1426,1228,1312,1484,1266,1010,1046,990,608,600,846,1018,1218,1023,1216,1592,1712,1466,981,548,541,621,706,755,737,712,606,958,965,1080,1196,1340,1352,1446,1672,1318,1158,1084,1040,1220,1204,1584,1542,1092,1422,1510,1570,1502,1504,1790,1860,1614,1520,1538,1614,1526,1300,1350,939,586,672,702,619,496,476,540,464,394,312,426,486,463,533,796,725,796,799,563,380,423,442,420,434,449,486,441,391,403,451,467,478,484,470,438,374,386,553,763,1064,841,761,814,786,905,1104,1542,1888,1812,1758,1824,1662,924,600,678,634,623,619,586,660,634,555,548,501,471,510,561,598,575,662,682,749,1058,1218,1104,989,839,617,923,1162,845,706,676,746,896,737,584,1100,1616,1538,1372,1021,527,380,529,855,1058,1426,1750,1708,1654,1628,1440,989,852,1190,1414,1074,1066,1332,1394,1256,1168,1104,1122,1160,1150,1144,996,1306,2092,1830,1230,1048,868,813,1134,1094,790,898,1026,1072,609,642,794,657,757,1120,1190,1210,1338,1488,1470,1152,1220,791,467,781,982,1116,1250,1258,1166,1156,1202,1302,1350,1180,928,1021,1058,1128,1362,1240,1032,823,909,1066,975,1182,1382,1372,1294,1084,1094,1088,1196,1122,1104,1388,1362,1280,1372,1396,1222,998,1186,1005,875,813,771,886,905,720,822,1222,1230,1272,1224,1154,897,754,1032,1056,940,1018,1194,1282,1268,1366,1282,1314,917,637,643,491,830,956,922,751,455,449,763,999,746,539,631,1138,1032,661,716,1100,1178,874,841,899,1028,1106,816,666,843,935,623,490,451,432,480,973,1214,893,579,560,692,639,563,473,430,478,484,843,1154,794,358,581,1178,1556,1236,842,510,484,820,941,733,785,533,492,784,818,502,302,384,647,569,594,752,874,1124,689,1168,1662,1510,1470,1454,1428,1344,896,855,994,1388,1664,1406,1112,1170,1021,488,443,596,596,524,1040,1374,1298,1310,1632,1504,1456,1736,2050,2128,2122,1970,1744,1470,1492,1356,1194,1252,1266,1268,1340,1378,1272,903,607,594,856,1518,1772,1424,860,560,648,632,651,699,751,778,799,889,903,877,916,897,917,1126,1108,1024,1204,1344,1394,1538,1462,1356,1360,1208,1104,1262,1660,1898,1836,1328,1218,978,611,462,447,422,414,417,413,386,362,339,366,375,351,323,341,349,337,325,296,306,340,339,363,345,353,363,358,373,370,361,369,376,388,390,392,396,401,374,360,348,370,380,384,396,385,380,390,389,381,371,375,355,361,370,367,358,378,390,393,376,375,382,413,398,389,382,377,365,359,354,349,351,351,354,351,346,345,346,368,390,409,392,381,393,413,414,406,375,356,339,362,408,406,410,414,404,396,404,434,434,412,410,367,370,390,379,383,384,383,388,379,372,381,396,379,372,379,374,381,394,387,371,365,371,382,386,384,384,385,387,391,386,397,380,382,406,413,407,411,411,412,412,418,447,435,417,386,371,372,370,386,390,380,373,365,365,350,335,335,334,347,333,335,334,334,342,330,315,330,334,317,318,317,336,352,352,344,343,342,357,355,363,383,400,402,409,438,456,442,412,398,466,506,500,459,308,220,243,235,230,226,210,221,213,283,337,422,453,404,376,364,347,338,356,351,335,340,343,337,333,324,315,318,326,321,327,331,323,318,318,315,312,315,322,317,318,327,331,331,339,340,332,343,330,330,329,348,336,331,344,353,358,365,361,350,332,350,338,343,341,344,353,339,344,341,334,332,330,332,332,337,332,334,329,330,330,336,344,340,332,327,327,323,318,318,319,321,322,330,338,344,343,338,339,345,351,350,350,351,357,353,349,339,332,335,339,346,336,324,325,314,320,310,295,309,307,306,301,303,313,317,312,313,311,313,312,311,310,303,300,299,299,301,301,300,300,301,306,307,313,318,313,314,312,310,309,316,310,310,309,316,313,312,307,311,316,313,320,318,314,320,338,325,320,322,320,320,325,333,333,333,320,323,325,319,322,323,317,307,307,312,320,320,320,318,316,318,313,309,313,307,307,305,300,298,297,294,294,292,289,289,293,298,300,300],[241,227,222,258,283,273,213,209,258,270,296,340,814,1284,922,720,667,888,728,658,518,361,398,359,523,543,591,927,1326,1308,1224,860,675,608,578,725,662,704,683,593,675,654,663,655,857,858,482,589,1246,2054,1822,982,1072,1654,1704,1178,758,513,433,509,463,708,937,1086,1406,1472,858,359,462,714,1246,1854,1036,771,1046,1104,1166,774,435,557,1260,1650,1312,1110,802,493,512,735,794,717,531,365,374,463,455,431,419,460,458,390,353,344,529,904,778,531,331,291,321,340,365,346,325,310,343,393,401,401,379,395,435,388,267,217,262,312,312,312,339,283,239,204,222,284,318,368,309,225,326,476,496,422,583,898,1292,1040,518,363,361,295,271,283,303,325,272,408,1122,2180,1676,908,606,387,290,249,393,780,743,440,503,546,733,714,1202,1064,1426,1256,939,777,790,1016,1188,1034,773,805,1058,1180,1009,979,1080,1062,1034,1104,1122,933,1030,1362,1072,1146,1130,956,739,865,1376,1506,1022,504,311,469,663,656,798,1150,1244,1388,1172,724,419,368,755,1370,1522,1090,843,979,1242,1362,1152,703,979,1918,2216,1462,1324,1306,1192,1338,1318,1324,1480,1404,1404,1522,1418,1360,1288,1110,1238,1026,515,321,408,783,780,514,828,1112,1016,1142,1428,1372,1060,786,640,520,496,772,1484,1930,1516,1376,1434,1394,1352,1636,1376,1504,1336,642,586,556,495,478,531,489,375,927,1086,566,408,434,405,532,866,1288,1334,1222,1028,1142,1068,1408,1704,1658,1810,1328,1378,1198,962,1382,1516,1470,1686,1634,1910,1754,1190,786,894,1016,749,555,621,822,1010,1344,1390,1960,2424,1848,1450,1836,1760,1380,1800,1648,917,566,532,708,934,853,556,408,375,338,315,323,366,410,403,401,502,599,434,361,416,383,379,486,683,833,781,802,945,648,612,639,683,1208,1780,2024,1984,1748,1534,1458,1332,1212,1003,759,989,860,973,1134,1108,636,551,762,669,442,299,358,579,825,968,1068,1003,1506,1704,1158,730,508,402,387,379,386,579,926,1178,872,663,713,1184,1420,1058,1226,1556,1290,989,779,907,1210,1332,1698,1422,827,847,930,1042,1298,1454,1732,1702,1632,1528,1170,1005,1324,1208,1684,1342,962,885,1144,1004,630,553,558,606,483,658,414,335,356,343,300,338,399,394,318,361,416,484,648,1100,1394,682,528,582,714,838,1052,1188,1108,962,954,780,457,525,844,641,518,628,899,1012,1294,1308,1072,1480,1228,667,874,1178,595,402,536,618,937,1248,1204,1108,1158,1438,1068,486,642,901,794,709,642,888,595,806,846,481,378,442,510,493,441,531,514,442,419,367,345,409,507,725,760,605,496,490,434,393,391,483,539,625,550,422,518,644,913,1268,1300,1260,1456,1594,1522,1500,1382,1478,1808,1464,907,1042,1552,1828,1710,1522,1142,645,705,836,897,1226,1514,1342,1410,1434,2204,2336,1840,1798,1772,1754,1586,1144,1518,1078,869,579,438,455,412,408,492,811,1114,1354,1206,907,656,634,977,1454,1268,1084,1436,1340,1114,930,840,942,639,599,551,505,434,568,872,786,478,478,502,712,1018,1094,1516,1664,1272,921,1008,1246,1326,1344,1420,1482,966,841,1036,1420,1342,1252,1112,909,634,540,756,861,788,1130,1426,1160,769,720,642,613,1100,1112,777,601,761,1176,1414,1208,898,633,368,346,367,392,399,370,376,393,435,479,420,465,549,566,650,607,669,1086,1232,861,560,359,374,546,438,370,350,366,408,437,431,490,420,406,435,362,371,417,383,415,420,613,1112,1332,1464,1012,789,803,630,656,570,429,348,280,371,793,1022,1062,1282,824,451,720,1106,1144,812,514,335,321,321,301,373,278,260,430,571,432,374,427,560,650,603,686,1072,1338,1124,1084,1042,781,702,665,474,626,1116,1004,525,512,451,427,411,333,377,905,1796,1416,1146,1168,1206,1092,755,821,1005,1318,1348,1380,1460,1548,1440,1456,1440,1460,1478,1334,1230,1292,1274,1074,1166,1398,1292,1206,832,597,737,1014,1166,1172,1354,1160,700,888,1196,1632,1082,541,719,1112,1188,1322,1234,729,655,931,947,657,658,955,1210,1248,1310,1286,1098,1100,1062,733,711,978,1122,1134,1102,1200,1194,1188,1288,835,705,1222,1436,1120,1110,1212,1058,847,1020,1194,847,1036,1024,1044,844,716,1116,1326,1108,1076,1076,1120,1274,1158,1003,750,697,681,763,838,632,430,399,452,731,1158,866,772,1078,1466,1418,990,935,818,819,1240,1482,1848,2190,1382,1116,1058,755,682,899,1098,1244,1272,1434,1688,1532,1028,536,484,802,735,739,1170,916,885,993,1064,1334,1324,1314,1450,1658,1818,1204,1144,1198,1024,822,1172,1812,1444,1428,1776,1472,1440,1098,1398,1484,1360,1482,1360,1526,1552,1498,1412,1186,708,539,570,502,506,503,480,496,405,368,359,455,505,430,437,464,484,586,447,405,363,421,499,462,421,473,467,483,496,442,421,406,400,427,444,415,407,387,434,496,572,987,1456,1368,1432,1240,1356,2064,2148,1818,1544,1738,1470,907,771,855,786,650,546,511,525,510,637,691,663,623,529,519,568,818,1116,1166,1322,1340,1256,1208,1050,912,669,1138,1300,808,616,589,775,1082,1130,697,1180,1630,1316,909,833,542,397,637,969,969,1036,940,1044,1232,1452,1394,1072,1021,1454,1622,1186,897,945,843,785,1094,1142,1094,1066,966,779,652,860,1334,1334,1080,1084,990,853,912,808,609,1232,1044,1268,948,782,1078,1160,1404,1556,1340,1124,1080,1278,1394,1054,1222,952,683,889,775,670,1212,1232,1088,1010,977,972,1234,1272,1146,1198,927,942,1320,1282,996,889,1034,893,937,1262,1200,1124,1146,1068,966,959,1118,1078,1154,1264,1130,1122,1244,1284,1160,890,982,1226,1268,1210,1106,1194,1150,755,844,1264,1164,1224,1140,1098,967,963,822,722,817,978,1322,1384,1338,1366,1332,1158,770,634,566,387,480,560,572,628,941,965,704,905,806,406,547,1426,1586,854,901,1340,1222,952,879,928,1148,1026,739,649,800,738,672,961,957,685,478,556,559,597,979,808,620,436,581,770,942,739,707,919,976,780,594,495,733,1048,1632,1396,721,512,558,744,701,743,667,358,488,932,927,392,372,447,418,539,799,1198,1096,618,1030,1672,1324,1216,1452,1332,1278,938,1124,1388,2208,2032,1616,1326,1048,912,592,679,624,529,455,767,962,905,856,1402,1444,1110,1624,2712,3178,3152,2508,1872,1350,1340,1136,792,701,955,1100,1164,1438,1450,1044,830,849,864,1330,1636,1554,1210,839,854,826,639,519,532,600,601,548,655,814,838,824,885,1116,1490,1794,1978,1870,1668,1628,1206,772,1300,1168,573,564,1094,1294,961,666,565,504,448,422,418,408,408,415,404,377,364,334,343,356,331,317,320,323,334,333,319,324,331,321,334,341,343,346,353,365,373,365,365,356,381,392,392,402,414,388,368,350,363,378,373,400,395,400,402,390,386,375,370,364,372,373,366,369,366,376,394,376,383,391,398,382,377,375,374,369,353,344,343,341,341,346,345,352,346,335,348,384,409,405,398,404,424,410,412,384,379,352,352,400,406,406,415,415,410,410,420,428,402,406,355,352,388,385,383,381,382,375,385,372,371,394,379,367,371,384,394,394,394,385,373,368,372,380,376,378,383,385,391,390,405,387,380,392,402,405,399,394,399,407,427,452,432,415,390,376,371,359,373,391,378,364,350,342,348,352,348,339,327,333,333,327,330,337,335,328,317,332,315,320,322,333,335,342,343,344,354,349,339,353,371,385,388,415,422,433,442,431,404,455,500,506,468,318,225,242,237,223,195,204,227,254,310,306,354,444,429,395,367,354,342,348,346,336,333,339,337,334,327,322,322,317,312,321,317,318,318,318,311,310,311,310,318,331,331,324,332,334,332,329,349,335,330,330,336,335,337,349,368,368,367,360,361,343,344,339,354,332,343,353,344,339,344,336,337,334,330,329,336,332,330,332,335,328,339,344,322,334,337,332,324,323,325,327,330,330,334,340,343,339,337,330,331,355,351,350,350,354,357,350,339,332,328,328,321,325,326,321,312,312,313,306,302,300,300,303,310,311,313,314,324,314,314,307,306,303,300,300,300,301,300,300,300,300,301,302,301,298,299,300,302,299,305,306,293,300,325,300,310,312,307,307,307,307,311,318,316,311,316,322,328,331,319,319,312,314,328,326,333,319,317,322,323,320,305,323,309,294,305,316,316,314,309,299,311,313,300,307,306,302,301,300,294,294,295,289,290,297,290,286,289,290,293],[228,219,220,237,303,284,239,252,280,303,317,323,496,585,659,1016,686,518,667,814,614,425,463,493,462,426,467,566,891,701,808,602,387,304,677,1080,1072,886,611,342,430,525,926,846,863,539,389,409,835,1306,1166,869,1136,1318,1186,735,440,371,577,1102,899,599,1122,1666,1850,1952,1522,817,1082,1672,1996,2354,1390,736,991,1162,986,619,436,837,1506,1510,1032,1300,956,448,424,620,691,739,592,361,355,385,385,438,554,600,709,613,353,349,416,515,873,996,706,372,372,384,388,406,399,347,345,342,354,371,373,389,429,342,206,158,250,309,319,306,287,224,208,253,298,295,286,327,344,265,265,327,415,528,987,2138,1876,1274,1066,666,444,396,339,333,353,395,342,317,518,1160,990,543,333,351,311,259,406,661,625,734,1082,683,623,672,785,995,1240,1404,1324,1196,1092,1102,1058,1008,597,499,772,1046,962,1354,1766,1670,1528,1224,1098,913,1144,1184,1214,1516,1754,1696,1208,803,645,587,462,376,370,402,719,1336,1414,1424,1474,1798,1534,915,564,824,1304,1538,1234,960,1062,1218,1550,1528,1244,695,879,1858,1698,1368,1418,1156,1206,1272,1286,1482,1580,1432,1482,1412,958,767,817,1004,1146,728,482,425,534,1164,869,697,559,694,1074,1152,1228,1094,844,759,613,477,449,481,685,1226,1512,1990,1490,1094,1300,1526,1700,1898,1200,645,547,500,457,415,457,471,884,1150,778,508,424,390,360,427,604,936,1328,1424,1416,1572,1794,1918,1466,1656,1576,1038,1504,1446,1142,1378,1482,1366,1632,1632,2214,2164,1490,981,696,577,493,573,736,974,1120,860,964,1598,1944,1656,1406,1510,1518,1928,2386,1476,645,448,620,641,525,581,453,374,396,375,354,374,419,440,432,368,366,442,410,441,495,466,661,1056,1358,1520,1220,971,1092,673,714,982,1136,1480,1810,2042,1882,1438,1236,1364,1554,1430,1060,598,1084,1092,1120,1474,1434,844,686,1266,1332,949,530,523,647,865,1290,1062,893,882,755,727,738,595,386,418,514,764,984,957,881,774,764,1210,1382,1184,1282,1222,970,706,571,588,956,1322,1486,1588,1710,1418,1112,1146,1374,1416,1532,1620,1306,933,988,1076,1300,1414,1046,1360,1518,1152,1028,1178,859,719,734,638,731,616,665,408,336,455,502,556,623,480,326,290,396,592,747,813,1542,1610,1028,817,1032,1302,1520,1946,2040,1564,1021,1148,1260,759,764,714,506,515,505,776,955,1058,991,980,1370,1044,828,1220,948,594,501,366,527,1266,1416,1144,1148,931,1042,781,521,606,656,606,619,968,1466,1342,1015,830,445,413,386,405,414,416,564,520,450,583,550,607,743,768,802,671,788,684,621,467,477,394,423,489,499,653,798,781,762,929,1290,1364,1332,1418,1584,1400,1636,1498,1540,1974,1440,823,1216,1328,1472,1552,1418,916,461,491,570,686,1108,1242,1290,1344,1478,1974,1790,1668,1682,1724,1666,1594,962,637,751,845,675,497,452,412,286,409,508,583,931,879,1054,977,1126,1394,1454,1256,1282,1598,1482,1088,1001,1013,1040,1250,1032,889,1146,905,545,667,555,597,937,583,750,1256,1262,1252,1280,1352,887,976,1452,1492,1422,1808,2232,978,990,1322,1446,1104,737,735,650,477,442,473,495,640,1130,1544,1606,1198,830,608,1007,1234,898,659,572,614,971,1420,1244,664,450,360,336,360,390,422,455,422,393,448,453,393,411,557,626,676,620,710,1212,1244,927,604,335,608,725,408,405,381,418,478,471,524,466,357,366,433,466,467,449,477,614,639,763,1023,1276,1476,1268,1026,897,653,602,476,424,395,376,488,965,1198,1270,1412,713,475,871,1104,1040,966,640,351,395,341,293,290,305,319,399,435,314,295,313,351,410,517,693,871,1017,1188,1244,1268,819,520,494,488,961,1252,928,472,426,400,400,451,372,335,917,1446,999,717,773,588,594,581,692,850,1042,1248,1342,1362,1548,1132,988,1394,1540,1434,1366,1298,1282,1200,1036,982,807,961,943,539,421,489,734,1236,1248,1064,938,939,1028,1038,1216,1242,706,661,1013,1106,1276,1198,766,865,1060,1208,1186,1060,970,1052,1108,1084,1178,981,825,807,585,853,1812,1622,1178,888,1146,1148,1096,899,640,762,1228,1528,1490,1262,1222,1009,719,989,972,927,1198,1246,1026,774,850,996,1234,1074,750,725,808,1002,1216,1210,812,447,326,451,705,791,620,596,611,540,594,625,1062,1424,1466,1236,924,710,697,1032,1280,1658,2048,1798,948,790,890,832,728,908,1164,1400,1450,1400,1516,1584,1010,621,733,977,789,1038,1596,1424,1262,1236,1264,1494,1484,1080,1206,1534,1638,1234,1320,1182,1060,667,1126,1564,953,1124,1604,1234,1418,1144,1166,1412,995,1008,1198,1280,1290,1454,1492,1188,717,792,859,544,474,521,576,464,357,335,319,388,462,467,419,408,442,602,531,438,393,451,489,517,542,559,856,1296,1102,774,697,567,436,452,437,404,391,331,357,447,830,1750,2014,1434,1312,957,1058,1802,1996,1638,1610,1996,1738,944,625,624,624,609,561,473,449,501,552,844,1454,1218,612,620,680,920,968,893,945,836,742,857,981,808,857,1472,1432,1072,911,620,715,1136,1314,791,716,965,863,898,752,477,494,1040,1636,1266,716,600,554,746,994,778,788,1005,1060,1170,1194,1030,904,960,1084,1344,1366,1082,791,695,771,648,653,963,826,1142,1250,1144,853,717,600,576,1054,1240,1546,1422,1496,1614,1646,1428,1198,797,560,565,972,1204,1082,1310,1222,885,1116,930,852,1290,1316,1172,956,855,1001,1310,1246,1170,1250,1068,1108,1288,1300,969,890,1128,940,918,1358,1324,1072,1402,1588,1368,1266,1178,1288,1372,1168,948,869,1084,1372,1164,805,1084,1320,1230,1232,1192,1160,1140,957,909,946,991,1042,1152,1268,1064,943,921,908,796,730,1078,1134,1216,1266,1246,1114,761,656,479,302,375,451,399,675,1462,1508,736,612,858,609,604,983,1020,753,796,834,843,1072,1242,1142,1168,1164,960,583,437,597,1023,1300,1158,862,690,539,439,570,997,916,693,786,688,684,764,727,803,1082,999,1120,1118,694,748,1576,2216,1880,1252,639,451,407,507,655,915,775,608,856,1246,725,396,267,301,595,1134,1372,1108,844,869,1452,1126,744,712,850,675,602,847,1274,2116,2098,1196,1044,1126,1502,1040,974,943,519,369,514,857,1230,1560,1660,1244,944,1668,3084,2988,2418,1806,1612,1152,1078,1028,971,1236,1356,1218,1306,1372,1456,1406,1346,1294,934,1058,1432,1498,1440,1306,1142,796,644,573,604,664,573,650,742,888,953,1102,1272,1572,1938,2018,2076,2008,1364,949,702,651,937,895,667,835,1122,857,653,664,479,440,412,408,404,379,386,390,390,383,372,348,348,355,327,326,315,314,330,341,335,314,298,308,325,327,338,349,352,345,373,358,370,353,390,405,391,386,393,382,365,366,397,409,393,396,397,389,405,402,390,386,372,358,370,379,366,356,368,371,372,381,381,391,389,375,369,369,370,367,350,344,336,337,339,339,344,351,339,327,329,370,413,413,402,399,421,410,406,390,393,373,354,379,404,406,416,410,401,404,402,416,391,385,372,352,373,373,376,391,381,361,381,359,379,398,381,367,364,371,378,387,387,376,379,373,357,374,371,370,375,384,386,380,387,379,370,384,389,384,383,385,391,397,430,435,432,420,398,378,368,372,373,382,370,362,354,357,347,334,333,342,334,329,335,327,330,335,339,335,324,316,317,330,323,330,338,335,333,343,341,342,343,349,360,372,390,387,419,435,433,436,417,436,500,511,471,350,233,235,226,232,232,211,226,253,276,293,332,438,456,422,373,357,347,335,362,345,331,336,336,327,322,324,323,318,326,324,323,330,322,312,309,309,310,313,326,331,330,324,330,331,330,332,343,336,330,326,327,353,367,355,366,368,362,365,361,348,339,336,338,338,344,341,350,339,344,337,337,337,335,339,322,332,328,325,341,334,335,341,321,332,329,328,330,332,331,332,332,332,338,338,338,337,332,332,325,353,349,349,351,346,361,363,339,336,325,322,324,325,324,316,314,309,305,303,301,300,299,300,303,306,306,306,318,300,299,305,306,301,300,300,300,297,301,300,300,299,298,295,294,294,293,297,300,302,306,303,309,318,317,307,307,313,309,307,307,307,309,317,318,314,313,320,326,325,319,328,311,310,319,323,332,325,314,314,316,317,307,329,311,300,297,307,312,304,300,295,302,314,307,307,305,300,295,293,293,290,289,289,299,299,293,294,294,294,294],[228,218,216,275,317,301,298,304,327,349,366,380,384,470,569,994,791,681,787,796,603,364,479,541,508,518,635,604,566,379,380,401,315,296,479,595,466,309,271,443,646,723,940,1003,1072,905,651,431,500,763,1138,1048,995,890,971,603,489,913,1326,1770,1576,937,1110,1554,1720,1830,1922,1744,1998,1858,1464,1452,1244,958,1224,1350,930,618,764,1484,1898,1676,1164,1598,1288,534,343,589,780,751,583,375,324,370,394,443,632,659,671,472,367,438,495,515,565,771,974,781,460,410,456,497,457,373,325,289,322,362,312,313,349,281,262,265,293,305,312,294,240,219,276,343,347,326,311,263,328,279,288,280,281,478,1242,2360,2122,2184,2304,2062,1422,818,616,504,467,397,272,324,447,428,315,244,299,353,310,282,402,655,1004,1266,1250,788,901,1046,1140,1044,784,810,1144,1562,1220,1086,1066,986,882,800,1046,1266,1128,1736,2150,1400,1238,1070,1018,722,1366,1522,1642,1670,1666,1200,974,817,727,931,898,592,462,534,605,1156,1484,1346,1628,1704,1154,720,956,1458,1646,1538,1034,864,922,1248,1448,1326,1038,606,765,1214,1414,1360,1032,1206,1446,1350,1370,1726,1958,1332,1086,1258,901,603,690,735,938,679,447,395,442,797,517,667,739,617,815,1248,1158,934,918,730,558,548,473,406,392,631,1188,1378,955,800,822,938,1426,1376,673,570,527,544,507,444,414,738,1028,665,566,564,461,442,429,476,514,549,713,1028,1746,1896,1748,1908,1842,1700,1116,745,1334,1626,1352,1572,1540,1296,1654,1710,1464,1308,1090,970,722,625,841,1384,1506,1332,1310,777,823,1516,2120,1782,1134,1338,1676,1380,1316,924,745,607,678,678,505,408,376,357,372,387,400,409,412,400,398,342,346,534,602,585,664,675,940,1432,1368,1532,1548,1268,844,495,598,1202,1672,1732,1866,2166,2014,1568,1660,1732,1754,1384,836,491,1054,1422,1704,1940,1826,1282,666,1082,1326,922,545,506,509,645,897,756,675,719,641,573,628,758,516,535,551,681,551,290,411,745,960,1272,1444,1172,974,756,651,505,499,731,1288,1278,1356,1644,2110,1748,1134,1226,1458,1134,1026,1116,1078,1128,1444,1396,1288,893,587,1054,1620,1660,1598,1298,604,570,576,391,493,624,657,534,483,516,513,447,523,619,757,661,944,845,904,884,1234,1410,1244,1346,1464,1562,1382,1620,1592,1248,845,1258,1188,746,1002,871,520,442,442,556,859,1128,897,854,909,1096,1006,1116,868,686,662,521,686,1426,1456,1240,1172,764,921,1021,746,706,691,653,694,1190,1914,1710,1112,944,452,441,377,373,409,415,550,763,763,778,735,777,1124,1190,796,500,761,910,913,612,516,495,427,439,541,886,1476,1622,1054,964,1346,1312,1292,1376,1534,1748,1848,1502,1744,2132,1416,980,1546,1548,1588,1290,816,719,576,896,1276,1114,1190,1312,1438,1166,1494,1788,1760,1744,1708,1718,1678,1438,895,593,714,847,618,526,500,518,439,480,495,501,658,733,935,1112,1202,1464,1558,1434,1500,1538,1756,1024,802,1032,1066,1498,1292,1288,1694,1306,797,575,510,897,952,815,1062,1248,1450,1434,1302,1146,796,1038,1382,1220,1234,1134,1178,795,772,1052,1116,1004,707,571,479,463,603,602,639,889,1362,1260,1392,1538,1092,979,1250,971,714,685,656,579,1006,1524,1246,651,430,383,328,355,426,554,587,468,439,458,459,477,554,596,580,551,505,688,1224,1212,764,552,440,980,800,444,422,441,511,490,434,415,416,410,359,405,570,527,423,507,772,888,1064,1418,1690,1626,1412,1350,991,557,547,424,430,453,401,659,757,871,1396,1382,831,816,1244,1698,1534,1256,553,335,378,355,340,302,283,323,435,409,294,279,306,285,269,293,367,495,754,1106,1224,1110,741,552,564,676,1192,1182,625,407,378,361,313,372,364,337,526,582,472,640,796,551,526,630,551,663,626,894,927,1334,1728,1278,1076,1224,1310,1728,983,789,1048,1098,976,812,642,661,746,737,774,817,985,1202,999,1080,1168,1106,1082,852,827,1001,797,593,791,980,1184,1140,1076,1260,1484,1374,1270,945,680,897,1180,1190,984,713,976,1246,873,873,1676,1432,1068,1340,1524,1300,1236,1048,852,763,962,1740,1962,1514,1144,1048,1168,1328,1192,1268,1312,1128,933,819,1022,1262,1246,664,497,634,736,919,1238,1620,1218,556,340,367,661,772,636,747,866,720,685,734,1080,1224,1076,890,906,1170,1015,896,1072,1534,1668,1312,924,649,801,1124,1013,1034,1180,1274,1262,1076,912,1474,1088,611,851,894,755,815,1192,1260,885,778,846,1082,1028,772,902,1348,1560,1724,1682,1078,760,599,609,626,547,952,1306,1010,1160,1276,1388,1422,952,911,1246,1112,1032,1188,1204,936,597,691,929,588,478,698,810,629,393,375,401,372,394,403,396,453,495,625,681,631,519,379,404,490,501,580,999,1332,1358,1108,945,792,604,482,467,509,488,388,372,443,766,1168,1316,1356,1692,1534,1490,1960,1892,1532,1488,1834,1584,1188,925,639,616,716,660,536,518,536,506,1200,2118,1484,604,606,771,1318,1144,996,842,635,502,521,615,637,890,1310,1466,1630,1300,760,1000,1538,1546,1002,716,655,793,848,538,438,632,1152,1392,1054,644,585,568,705,847,756,712,677,611,603,552,611,706,677,742,1036,1064,933,933,907,878,928,1002,1068,924,1350,1432,1288,946,990,967,944,1310,1668,1484,1150,1442,1362,1490,857,673,551,478,461,923,1278,1094,1144,1156,988,1038,980,951,1172,1444,1324,1024,1004,1262,1364,1268,1112,989,1050,1054,1268,1174,716,741,1102,1316,1250,1320,1318,1310,1538,1574,1390,1152,1268,1538,1472,1206,731,492,788,1128,1018,838,933,948,1040,991,1011,1028,1258,1354,1140,1124,1062,906,960,957,902,1011,851,634,543,739,1194,1244,1232,1308,1328,1156,900,634,354,350,434,465,433,501,854,953,594,536,857,899,625,429,735,1416,1306,727,622,1300,1408,1158,1120,1300,1136,672,617,1216,1792,1410,849,799,834,659,827,683,525,437,880,1432,1094,532,796,1022,780,854,1526,1462,1214,1138,866,897,991,1244,1068,699,691,553,667,459,943,1210,963,994,1040,964,736,456,565,966,1274,1506,1040,877,571,781,570,435,782,1232,793,462,736,1092,1720,2160,1622,2210,2428,2170,945,672,654,524,429,535,1374,2260,2216,1378,1202,1208,1458,1806,2204,2592,2424,2122,1408,919,1066,1532,2036,1700,1274,903,945,1338,1542,1538,1466,1002,1016,1418,1412,1238,1384,1592,1250,883,785,862,761,720,889,1088,1318,1454,1538,1590,1572,1560,1388,1258,1058,969,576,509,654,772,785,647,647,611,487,551,623,474,391,391,394,391,369,359,370,388,383,366,344,335,350,343,345,327,322,337,343,342,326,303,303,324,331,351,373,365,366,362,378,385,362,370,388,390,382,383,393,376,357,383,385,392,378,387,379,395,394,386,383,379,369,373,371,374,356,381,383,388,391,379,382,389,377,372,374,357,357,345,339,332,343,344,332,339,348,343,332,327,346,383,415,413,403,413,412,410,398,402,393,366,370,402,410,410,404,410,400,393,408,384,389,364,349,364,367,373,381,389,353,367,383,381,398,390,375,365,358,365,378,398,383,379,374,350,354,357,363,378,390,390,384,390,389,372,368,391,397,408,405,402,397,426,439,432,415,401,384,366,380,380,380,363,348,346,354,344,340,346,342,333,322,330,328,329,335,344,336,330,318,325,315,317,330,336,339,330,342,336,335,343,347,354,355,375,383,400,398,427,443,440,448,503,500,487,344,254,261,261,260,239,217,216,228,270,321,317,417,460,442,378,354,353,354,354,337,343,335,331,323,318,321,324,311,330,339,336,330,321,317,307,303,322,305,308,307,308,320,330,329,329,336,337,339,346,336,335,352,362,353,356,373,367,358,353,343,338,348,343,348,344,350,336,344,336,336,337,338,337,328,330,337,324,323,327,330,339,341,336,332,325,323,325,325,323,325,328,332,339,334,332,338,336,339,335,345,342,343,355,345,345,355,343,336,338,332,326,319,316,312,307,307,303,300,300,300,293,295,298,307,307,306,305,302,306,303,298,296,302,301,299,283,300,301,294,293,293,290,287,290,292,297,301,300,301,307,316,310,307,299,300,307,311,310,307,307,307,314,322,320,319,320,325,329,331,310,305,311,313,320,320,325,317,305,309,312,307,312,304,301,298,300,295,302,300,302,305,309,307,301,299,298,294,294,289,287,288,286,278,278,287,294,299,301,294],[246,247,258,295,313,345,328,325,342,338,373,396,372,433,418,488,516,533,610,899,1010,857,819,585,517,434,398,301,249,253,273,269,206,252,331,264,249,265,275,662,1090,1122,1012,831,874,1182,1012,467,614,1302,1528,976,896,1016,1096,826,705,996,1174,1292,1302,1146,1422,1346,1300,1422,1724,2160,2060,1540,1174,1280,1630,1596,1284,1444,1250,1032,1618,2108,1556,1008,1110,1626,1198,549,347,505,733,669,569,526,372,383,396,493,589,579,452,387,446,459,499,553,584,694,711,941,777,524,448,467,477,428,342,293,321,368,320,332,295,208,219,260,274,268,248,208,194,257,329,353,350,356,343,270,276,247,328,288,307,386,1032,1542,1826,2312,1934,1974,2358,2284,1854,1124,601,422,284,323,362,307,277,260,278,306,316,563,783,768,1270,1284,752,747,1062,869,640,624,727,661,1114,1338,1096,798,863,1068,1100,984,898,968,1050,1306,1510,1422,1342,1132,884,777,1276,1560,1532,1612,1660,1112,688,713,709,967,1394,1096,866,861,636,845,1013,845,1023,1102,929,1090,1434,1554,1470,1490,1398,969,998,1228,1068,979,856,673,549,566,912,991,975,1260,1228,1240,1548,1842,1476,755,844,1294,1172,805,730,814,1072,1194,789,369,297,377,395,499,827,989,1026,1248,1058,1180,1480,1003,630,548,436,347,379,433,587,583,465,524,606,471,768,943,692,563,534,598,493,408,621,975,722,495,469,489,469,469,465,560,596,566,478,684,1256,1334,960,1144,1548,1250,753,953,1618,1610,1334,1136,1060,1174,1548,1762,1522,1586,1024,832,662,613,917,1390,1244,969,797,666,798,1322,1582,1292,924,858,824,703,522,552,813,786,727,714,512,356,358,361,377,397,386,358,344,353,408,467,588,678,576,736,933,819,904,1210,1314,1250,1212,1416,1042,471,653,1178,1450,2036,2280,2066,1588,1436,1564,1588,1500,1180,683,416,747,1444,1910,1800,1644,1366,848,733,763,561,396,430,467,493,692,774,655,523,509,467,556,897,915,749,475,390,329,336,354,596,962,745,962,1004,897,828,732,665,613,800,1013,1238,1342,1546,1716,1316,1148,893,686,611,852,1102,888,827,1114,1144,893,750,714,1017,1456,1676,1148,547,341,529,600,487,720,1122,1156,776,410,385,357,393,510,761,1196,1036,955,785,794,740,990,1180,1306,1516,1320,1368,1084,921,952,900,682,751,665,800,1044,910,708,481,446,509,556,940,876,717,706,692,704,1016,1100,876,1238,1034,973,1310,1156,1452,1280,896,1320,1320,707,741,959,1048,1005,1152,1482,1362,1015,869,566,622,641,448,400,400,561,808,799,639,709,753,673,567,460,554,910,1366,1252,719,501,505,458,418,466,559,1034,1360,944,924,1138,1128,1106,1160,1256,1290,1198,1116,1284,1536,1138,1180,1414,1382,1396,1206,882,825,786,1028,1168,916,1166,1560,1656,1088,1352,1534,1584,1600,1634,1570,1490,1338,838,814,1078,1034,730,623,573,597,583,543,445,563,896,926,959,1340,1378,1330,1510,1442,1498,1834,1500,1064,1156,913,790,992,995,1196,1490,1294,1056,899,948,1400,1284,1144,1250,1126,1100,1170,1242,1088,886,905,1018,1158,1072,855,988,1000,1128,1084,1028,1074,1160,911,577,781,1090,667,633,1216,1324,713,754,1026,1084,1310,1228,821,566,591,655,666,1176,1576,1368,794,474,402,372,391,452,614,613,530,477,399,444,499,515,475,412,533,612,672,1158,1264,698,413,525,1050,727,482,517,572,518,445,416,416,429,385,363,377,421,525,445,517,720,760,940,1382,1588,1616,1582,1408,877,498,420,415,406,389,343,451,498,818,1168,760,907,1040,1086,1124,1082,854,483,367,383,362,300,264,281,316,335,318,279,262,288,288,294,290,333,530,858,1172,906,442,452,571,583,885,1174,1042,545,437,398,308,250,300,351,333,322,282,375,629,736,542,550,519,435,698,1068,1021,1162,1626,1626,1096,1016,1023,854,1460,1286,1034,960,1068,949,721,736,1526,2234,1202,985,959,1300,1066,660,642,1060,1076,1136,1168,1005,1164,1222,822,897,1140,1212,1098,1164,1290,1290,1015,999,1030,927,1054,1260,1122,898,1366,1892,1670,1016,612,644,916,1156,1556,1658,1824,1568,926,1058,991,1088,1228,1168,972,988,1188,1172,1194,1318,1262,1188,1160,1292,1048,905,894,622,402,438,751,1450,1196,804,1002,821,523,458,308,385,528,539,677,934,750,718,932,1078,1078,907,705,677,782,612,702,1044,1484,1636,1382,1096,894,1126,1290,1068,1003,816,1108,1090,947,915,1530,1376,866,710,694,857,1134,920,902,945,885,1004,1092,669,831,1340,1742,1832,1856,1594,963,678,431,473,527,555,1104,1302,1368,1282,1384,1566,1352,985,899,1122,1210,1190,1046,1346,1218,660,516,877,686,432,619,789,656,399,428,394,348,349,347,371,478,487,468,516,597,550,373,427,570,749,660,979,1184,1096,1032,955,766,546,504,560,502,447,428,420,420,442,461,493,772,925,799,1266,1658,1450,1528,1632,2062,1508,1100,871,1062,1272,1194,919,865,937,891,753,1282,1630,1030,598,557,821,1250,1230,1142,816,510,444,464,568,623,610,715,946,1382,1224,725,979,1354,1080,855,803,708,695,568,416,426,688,1612,1614,902,593,615,603,720,869,666,647,637,545,467,451,518,447,408,458,417,360,453,517,516,622,794,850,937,1146,1238,1284,1438,1514,1450,1344,1296,1318,1522,1476,1138,1324,1146,1402,1104,916,707,530,560,1026,1442,1208,998,1026,781,633,857,1256,1394,1582,1518,1278,1422,1144,877,1128,987,761,835,1030,1414,1362,777,514,662,930,1176,1246,1230,1284,1200,1174,1196,1196,1372,1538,1126,597,404,367,623,1026,1010,777,850,871,1144,788,941,919,946,1084,1262,1392,1284,985,744,775,719,683,597,611,543,955,1510,1680,1452,1322,1380,1348,1124,725,354,435,540,483,476,412,459,598,971,924,737,878,763,547,973,1832,1380,1021,664,706,879,1062,1098,1256,1214,866,781,1188,1434,949,850,1032,798,1100,1572,964,411,373,598,857,713,517,1098,1314,1046,773,1144,1454,1120,1023,919,695,479,544,956,971,780,635,694,454,513,609,823,1146,957,768,948,908,789,1204,1142,1584,943,716,491,361,368,364,650,824,456,341,639,1034,1364,1282,1428,1760,1582,869,370,510,905,1166,930,552,1106,1936,1742,571,885,1208,2268,2584,2678,2852,2814,2868,2166,1152,1172,1334,1314,1188,1282,819,645,687,1078,1528,1654,1184,938,1438,1710,1772,1394,1556,1918,1578,1314,1186,1220,1328,1442,1578,1662,1734,1610,1300,1242,1170,1090,1068,1802,1948,912,516,545,589,615,548,481,467,471,466,410,364,355,383,381,383,382,377,380,393,400,386,353,323,344,347,336,317,322,315,319,339,337,332,320,327,343,355,349,365,365,351,373,378,370,372,391,389,383,386,392,383,351,375,379,366,372,383,390,382,377,378,378,375,373,370,369,378,369,382,389,389,389,377,376,386,381,363,362,353,360,349,340,330,329,331,335,341,345,343,339,325,345,390,424,425,402,402,410,410,410,408,398,380,370,410,416,419,414,424,401,386,396,393,384,379,375,352,359,367,379,401,393,381,379,399,411,397,387,371,353,362,371,394,373,368,362,348,339,348,359,371,385,401,407,410,391,397,368,408,415,420,419,419,430,444,447,432,413,402,388,376,366,380,382,368,368,354,348,348,342,342,340,332,327,329,329,328,332,333,328,316,325,330,327,325,319,335,342,328,335,336,333,335,344,351,357,361,374,392,409,439,429,421,438,498,502,474,355,286,281,264,251,225,249,243,248,293,349,345,364,429,453,396,358,350,342,332,330,340,333,324,318,318,314,318,320,328,326,328,330,329,323,311,300,320,307,305,314,307,314,326,323,327,325,326,338,352,344,349,344,340,350,354,365,361,356,366,341,334,350,344,348,344,344,344,348,325,323,336,343,339,326,324,321,322,328,311,329,344,337,332,332,328,323,325,323,318,321,328,335,325,319,325,337,343,345,345,350,340,340,357,346,337,339,345,337,330,321,322,314,310,306,300,300,299,296,297,295,293,301,288,294,307,301,303,305,302,301,298,282,294,294,300,283,298,298,293,294,295,290,286,289,292,294,295,300,305,307,300,299,301,294,295,302,307,307,307,307,307,313,325,323,320,325,326,326,335,333,317,299,309,316,320,317,307,294,293,298,302,300,298,292,301,301,290,295,300,307,307,302,300,307,298,285,292,292,286,288,282,282,281,282,287,293,289,281,282],[278,221,263,260,287,351,356,367,328,356,386,419,484,552,620,863,1180,956,474,686,850,624,420,273,244,245,225,225,242,241,237,236,251,255,280,423,478,380,375,897,1017,1009,1234,871,589,742,798,420,561,1332,1312,1112,1410,1324,1028,961,883,658,676,805,1004,1026,1434,1268,1298,1426,1626,1584,1344,1302,1318,1488,1868,1950,1324,1580,1470,1504,2188,1764,945,637,717,800,634,432,302,361,507,626,467,484,415,395,481,532,520,461,382,407,410,248,313,478,614,641,698,799,1040,854,463,381,463,427,389,347,266,295,306,386,316,236,225,252,272,264,246,207,218,305,326,293,324,358,316,321,324,280,374,595,678,453,580,685,975,1300,1021,776,1124,1554,2096,1376,657,451,385,351,293,254,281,267,237,292,568,949,1102,836,1174,1390,1256,1426,1412,988,754,807,888,584,1134,1388,877,570,486,432,623,871,975,1050,1102,893,929,1118,1448,1468,1166,1166,1264,1406,1330,1420,1512,974,903,1412,1412,1362,1406,1080,1336,1416,1126,1088,1138,1104,899,959,1190,1624,1702,1600,1368,1456,1598,1428,1238,1003,803,849,742,631,519,854,1086,1138,932,1072,1268,1538,1722,1670,1138,836,1172,1456,1258,837,598,1084,1194,1400,1082,561,388,496,749,830,501,910,1390,1272,1242,1276,1578,1480,1142,762,479,436,492,507,481,450,410,427,526,455,401,427,582,609,561,492,410,596,979,764,486,478,443,420,436,418,375,420,527,579,513,437,523,623,538,1042,1672,1362,977,1446,1682,1476,1300,728,649,940,1528,2364,1704,1908,1450,1086,1032,1054,979,882,873,846,824,839,788,1054,1094,878,682,529,604,640,543,572,796,849,808,689,492,420,374,407,415,420,386,338,337,378,431,809,1412,1200,956,1198,937,539,576,764,871,840,835,1092,923,467,534,781,706,1136,2056,1798,1392,1488,1326,1132,974,706,487,444,508,1007,1332,1204,1372,1456,1122,875,857,753,720,835,714,651,704,688,688,777,761,539,476,949,1274,886,435,303,327,398,425,585,1152,980,948,877,891,917,930,863,589,750,1300,1378,1248,1030,881,955,1038,1080,1020,980,1274,1374,1100,938,1158,1040,930,1504,1628,1370,1306,1554,1080,673,480,573,634,708,1330,1760,1490,663,305,279,293,350,489,552,949,1142,703,397,414,627,1290,1382,1394,1070,971,1118,878,783,1298,1440,1128,897,866,794,703,821,808,572,480,747,579,716,790,684,509,473,587,1050,1296,1512,1904,1316,1240,1272,1346,1418,1248,1160,1422,1042,630,999,1176,1314,968,744,947,979,960,862,634,721,664,489,621,919,822,654,688,580,740,769,616,672,531,609,959,1132,883,587,475,469,438,405,399,340,723,877,769,762,639,650,716,841,1062,994,1226,881,679,813,904,1026,1080,978,794,956,1220,1332,1490,1550,1178,832,1076,1330,1162,1005,1364,1572,1484,1462,1422,1180,926,881,892,1804,1712,1184,755,614,592,659,672,532,448,591,1104,1396,1404,1378,1302,1494,1550,1394,1476,1558,965,648,629,563,416,479,489,522,677,772,1114,1170,1116,1482,1498,1388,1344,1086,969,938,1286,1080,1058,1013,1328,1152,1110,1054,1156,1314,1328,1272,964,891,1160,1023,601,902,753,483,861,1366,936,590,584,761,1294,1442,1458,1300,970,938,996,1208,1556,1666,1390,885,466,398,386,408,497,605,552,440,419,388,399,449,441,406,391,429,477,597,1056,1282,876,389,582,642,559,493,520,579,497,413,417,570,483,340,390,428,431,556,538,552,567,482,753,1220,1252,1494,1462,1278,847,537,398,367,375,401,383,382,418,703,814,666,637,1144,1476,1404,1124,675,507,414,349,288,246,253,278,294,301,301,267,261,271,294,312,299,306,445,859,1198,666,380,447,452,466,787,1076,751,524,612,609,511,361,354,306,265,324,394,448,674,724,494,438,497,438,822,1246,1304,1990,1870,1372,1003,1078,1240,821,734,1190,1156,1004,943,863,926,977,1952,2322,1192,892,717,1178,1004,689,819,1076,1024,959,1074,1322,1252,1200,1156,1150,1238,1316,1370,1306,1302,1160,930,1040,1198,1360,1374,1206,1102,1154,1556,1708,1538,1076,708,714,832,1150,1224,1306,1644,1428,1358,1202,960,987,1028,1036,803,868,1322,1604,1484,1198,892,1070,1128,1013,852,723,570,462,419,404,518,579,473,439,475,538,498,433,309,361,473,558,690,833,894,896,973,821,746,945,544,702,583,835,940,1030,1294,1616,1672,1218,1086,1306,1350,1038,1017,836,1456,1506,890,971,1466,1358,966,773,785,1100,1320,910,849,1200,1250,1262,1146,1076,1260,1284,1646,1766,1638,1440,1186,1046,1120,1088,774,739,1266,1532,1550,1366,1350,1404,995,784,611,664,1260,1140,955,1478,1324,633,454,787,775,433,565,712,615,405,394,473,527,426,368,418,519,522,523,593,561,446,375,450,1136,1380,973,948,971,960,1052,821,707,525,568,587,402,373,441,436,387,398,454,458,398,389,373,347,454,589,716,910,1246,865,639,716,1076,1310,1172,1082,1376,1440,1246,1218,2082,1384,680,637,879,1072,1090,1142,832,623,553,474,635,754,643,497,488,505,827,1360,1494,1490,1274,1021,971,786,672,701,811,808,742,1322,1786,1356,743,579,568,531,632,881,571,547,542,505,468,442,402,402,447,407,361,381,408,418,423,427,451,543,589,490,495,618,687,736,861,951,918,1054,1294,1198,1184,1346,1292,1268,1332,1378,1202,960,931,1072,1456,1226,1044,990,618,883,1350,1332,952,808,650,961,1268,1018,772,832,685,703,772,2526,2836,1610,739,488,518,571,694,929,1082,1088,1006,1274,1258,1200,1334,1246,703,431,332,346,555,764,786,757,688,717,1054,927,1003,858,549,713,1208,1270,1013,839,824,1148,1068,771,597,782,741,861,1562,1908,1560,1410,1374,1346,1334,1162,882,657,480,392,449,415,480,943,1532,1308,832,667,932,962,727,1184,1090,1182,1180,837,1070,1498,1398,1114,872,830,879,789,679,723,882,929,916,1470,1548,836,577,601,391,298,221,406,1094,1398,1004,878,768,888,886,662,725,822,481,435,1094,1030,867,455,304,365,369,608,1064,1434,1198,673,767,995,910,945,1296,1220,706,761,706,461,376,334,263,277,320,393,574,928,993,563,612,824,860,575,346,387,635,1086,1216,599,766,1736,1644,831,901,1128,1562,2046,3032,3516,3580,3406,2762,1906,1988,1908,1262,934,1170,968,772,862,1150,1534,1666,1466,987,1456,1522,1334,1336,1396,2282,2066,1526,1572,1572,1378,1296,1416,1472,1502,1578,1222,1346,1346,1252,1134,2646,2642,1084,662,601,550,572,561,503,492,539,425,336,321,357,367,363,382,385,387,394,385,403,379,353,332,337,336,332,325,328,324,325,320,337,337,322,333,338,339,333,350,357,368,369,373,362,358,388,380,368,380,378,387,365,375,383,372,377,380,381,383,392,370,369,369,356,360,384,374,368,387,379,372,379,368,359,369,374,359,357,359,347,332,333,330,324,331,339,346,344,343,363,360,343,388,408,419,410,401,414,412,405,402,393,384,379,410,422,424,418,420,419,404,397,406,381,410,379,361,361,367,391,407,417,417,412,409,417,401,394,376,361,371,375,385,376,372,375,373,373,374,380,380,397,405,402,405,411,405,385,402,408,424,436,432,448,450,440,424,410,394,376,394,384,388,390,373,360,350,346,344,342,342,335,328,325,324,322,327,327,323,323,323,321,317,330,335,334,338,343,336,336,330,323,330,343,343,349,355,378,388,388,419,414,415,441,483,499,473,368,273,250,251,267,253,289,281,254,250,288,307,311,379,452,417,372,344,339,353,343,336,329,325,320,312,305,308,322,333,315,326,326,331,331,320,310,307,305,310,323,315,314,325,327,331,323,318,324,333,342,344,348,352,356,354,360,356,358,366,348,337,341,344,344,344,344,343,344,337,338,343,344,348,335,318,319,318,338,337,341,343,344,338,329,330,327,328,330,325,325,331,338,338,339,340,336,334,340,346,349,355,373,345,345,338,337,325,343,325,308,307,306,306,305,300,300,293,283,284,289,285,298,284,294,299,296,295,296,294,301,299,287,303,302,295,289,294,294,294,293,290,290,301,306,298,294,293,300,295,293,294,299,298,294,299,307,307,307,304,302,305,317,325,326,325,325,325,325,319,309,307,307,307,308,313,308,302,307,309,304,298,290,288,295,299,288,292,289,292,295,301,303,290,297,307,298,297,286,280,286,282,281,282,281,285,297,299,292,287],[403,239,246,245,292,333,309,284,358,464,478,473,625,689,729,872,920,583,368,345,311,242,268,312,300,290,268,274,294,279,279,269,257,339,416,535,521,471,682,1078,1054,988,1188,1398,1208,596,382,305,380,498,492,1076,1482,1078,755,767,839,843,886,1058,1566,1210,999,1184,1390,1438,1554,1510,1638,1638,1388,1414,1288,822,663,1604,1816,1466,1192,792,502,418,504,547,530,486,349,293,354,450,334,391,532,716,736,537,473,456,425,432,391,272,243,339,585,750,827,798,992,1052,815,422,451,452,429,441,326,301,368,461,455,315,227,284,310,284,275,234,318,359,253,175,262,325,290,305,314,330,390,511,432,361,769,735,572,574,578,525,502,502,441,570,645,346,331,315,267,222,290,321,307,272,417,646,741,884,1232,1416,1482,1724,1496,1212,1110,867,832,860,1078,1052,713,496,618,669,855,1052,1284,1336,1150,803,904,936,1264,1314,1102,962,1010,1120,838,1034,1046,778,792,1312,1504,1472,948,921,1478,1634,1446,1030,1082,1204,1546,1628,1662,1702,1644,1460,1106,1003,1262,1496,1336,1102,852,757,642,600,770,1090,1244,1260,1136,1228,1388,1588,1538,1124,763,933,1268,1232,1268,884,584,596,811,1114,1264,1028,733,804,894,897,631,1076,1268,1274,1332,1598,1180,834,1372,1586,1038,639,529,479,380,355,376,454,390,403,451,374,351,536,708,510,544,930,1015,596,456,406,416,386,398,407,356,309,371,514,550,465,474,462,650,1466,1908,1820,1344,1290,1266,1530,1234,696,549,893,1522,2230,1648,1572,1500,1208,1196,1350,1320,1576,1724,865,726,769,745,692,626,572,524,543,514,486,441,447,681,785,685,569,521,467,411,430,425,403,382,375,400,369,411,1138,1932,1490,1206,1150,786,532,515,514,680,918,831,794,926,578,437,412,553,688,1046,1312,1474,1230,859,633,546,499,444,403,388,715,1366,1632,1590,1488,1362,1218,1100,1028,868,987,994,1108,742,940,1340,1394,1238,944,1030,1238,1013,810,587,362,337,406,518,811,1312,1074,1126,811,976,1298,1158,1058,1088,1246,1588,1504,1378,1224,1388,1428,1094,1272,1234,1106,1370,1620,1206,609,532,510,691,1282,1656,1454,1290,1582,1194,593,545,825,1208,1302,1594,1716,1196,453,287,302,309,354,401,521,825,852,511,362,413,680,1460,1382,1194,670,753,824,673,896,1468,1802,1488,1005,880,650,818,753,635,707,755,1058,1134,1076,1134,886,464,415,606,1180,1278,1704,1378,1294,1432,1548,1580,1406,1194,1002,1012,1052,1020,1284,1152,1204,902,631,734,820,996,813,731,813,512,481,1002,1574,1122,777,814,819,1066,797,757,1023,1003,1048,1204,1138,695,470,415,428,467,422,418,389,441,458,798,990,606,747,761,881,988,1134,1116,1028,1132,1180,1050,935,1076,943,543,594,972,1332,1368,1620,1354,927,955,1114,1312,1340,1356,1338,1340,1392,1320,938,689,747,839,1626,1424,1038,727,606,611,573,552,576,570,602,990,1046,1392,1376,976,1340,1376,1240,1476,1246,774,1072,807,723,465,393,463,450,428,546,799,856,975,1388,1582,1548,1424,1236,1290,1336,1408,1140,930,1004,1256,1194,1206,1134,1028,1050,1348,1132,616,486,693,728,534,675,586,667,1208,1092,654,554,684,1136,1268,1058,1476,1582,1504,1432,1508,1598,1842,1924,1556,1018,548,468,444,452,496,557,489,402,349,359,393,430,430,403,422,414,391,462,797,1266,874,427,474,458,509,521,574,698,686,484,432,480,432,368,408,410,407,493,543,519,463,539,777,1240,1190,1392,1378,1256,1110,808,525,421,393,357,354,320,395,565,750,955,740,926,1070,1056,788,529,436,390,336,261,242,283,279,281,279,264,261,278,292,300,300,282,306,415,588,756,505,419,409,378,417,870,1024,562,443,497,590,624,448,395,306,322,433,554,747,1038,915,521,436,507,424,534,857,988,1484,1486,1274,856,1178,1482,781,597,925,1006,905,813,745,872,839,830,841,993,817,565,778,796,803,995,1182,1011,1076,1266,1258,830,818,1264,1346,1284,1382,1444,1336,1188,1070,805,976,1284,1302,1046,784,865,916,766,1134,1646,1268,838,893,1126,1356,1406,1464,980,938,1108,952,816,828,979,1176,1002,703,988,1550,1234,895,952,1038,1017,960,848,656,518,497,514,558,594,495,468,450,463,581,674,625,750,718,479,646,879,952,858,691,914,670,645,636,601,967,797,808,957,1040,1128,1540,1620,1416,1028,894,1010,1196,1130,933,1148,1198,820,888,1264,1298,1168,686,711,936,880,669,738,1000,1108,1194,1102,1128,1328,1704,1844,1510,1440,1412,1472,1256,1824,2158,1434,1106,1380,1294,1348,1448,1532,1318,750,777,708,693,1256,1186,1110,1236,966,551,400,700,805,405,494,745,694,617,550,764,814,500,422,532,591,571,675,750,459,365,400,597,1262,1500,1186,1160,1170,1426,1290,543,465,410,482,527,405,390,477,512,419,346,394,457,383,354,391,364,434,477,466,434,353,401,460,460,474,528,579,579,739,988,833,1410,1766,938,694,875,1064,1312,1754,1732,723,554,584,504,604,665,508,417,450,422,884,1758,2038,2060,2062,2120,1848,1092,979,1300,1184,1094,1108,1312,1348,993,580,594,558,550,794,988,641,490,445,435,427,426,394,399,481,474,439,437,396,423,463,484,478,471,496,531,512,427,428,475,433,402,489,635,565,574,680,672,728,971,1110,1176,1416,1410,1358,1262,1496,1080,1044,1092,1009,1134,1328,1186,786,707,566,504,718,1098,1036,845,558,717,957,2126,2476,1578,1046,713,874,987,663,773,939,1060,1058,1198,1176,1222,1346,830,401,339,272,365,714,857,959,988,911,975,1120,931,820,871,553,738,1354,1174,1638,1334,1064,1262,990,941,1000,1042,939,877,995,1198,1122,1190,1222,1350,1330,1180,1188,1136,933,678,482,404,357,615,1186,1110,888,948,720,929,808,722,714,1200,1376,963,1130,1428,1562,960,593,590,968,874,572,569,675,816,1016,974,766,585,1060,885,463,634,686,479,456,515,560,583,507,745,918,621,667,782,837,505,644,1056,1454,974,433,334,356,572,1094,1570,1042,858,841,579,844,755,794,566,504,583,504,382,329,396,362,336,520,603,524,880,695,357,512,1142,1414,662,386,344,408,857,920,623,796,1018,1098,1338,1278,1116,931,1440,3212,3500,3146,2810,2812,2108,1580,1110,805,761,1098,971,710,1019,1452,1786,1924,1838,1284,1562,1426,1322,1406,1320,1572,1454,1432,1432,1444,1380,1340,1340,1456,1344,1414,1072,1176,1392,1418,1278,1684,1654,954,707,655,605,565,532,532,533,474,382,343,314,322,352,353,367,382,392,397,395,405,417,385,351,333,325,328,329,327,323,332,347,337,318,318,327,327,327,351,367,368,372,374,381,360,356,383,384,386,389,383,396,380,373,378,371,375,372,375,375,371,369,369,370,360,364,382,364,352,365,360,359,365,365,351,357,365,369,367,363,354,340,346,343,336,337,339,352,338,354,375,356,344,366,390,412,415,410,402,415,396,390,384,384,384,412,420,416,419,415,419,419,407,422,388,402,405,379,371,381,390,405,409,419,426,419,423,419,414,394,369,383,390,394,392,391,391,383,394,408,408,411,400,386,390,398,398,397,407,408,411,418,419,418,432,430,424,418,408,392,376,385,378,380,392,380,385,377,347,336,336,335,335,330,324,317,318,327,328,324,321,323,323,327,328,325,315,321,333,332,330,321,310,330,347,336,348,357,371,380,389,398,419,426,433,468,474,420,283,291,265,258,287,246,239,242,233,262,297,282,281,338,437,430,381,342,335,342,347,343,334,323,318,310,309,307,308,318,318,321,322,330,331,321,314,309,318,321,313,318,317,318,330,329,325,318,327,336,342,344,346,353,356,358,361,350,360,356,350,344,337,338,339,341,344,338,332,346,328,317,335,344,334,325,326,328,334,332,332,336,335,324,338,331,331,335,343,334,328,332,335,337,338,339,334,332,339,342,350,345,363,359,355,342,347,335,325,319,306,306,306,307,307,301,295,288,283,281,278,293,294,287,286,289,312,284,294,294,294,293,292,289,286,292,297,298,298,292,287,287,287,289,287,287,293,293,298,301,302,311,311,300,302,303,302,312,309,300,299,304,313,322,325,328,326,325,326,322,314,314,307,307,308,302,298,301,305,302,300,299,293,292,300,300,297,283,279,281,289,299,299,290,292,301,297,290,288,286,278,275,280,281,278,281,294,300,293,288],[372,268,251,266,346,382,537,925,949,613,536,422,459,407,273,222,219,210,286,348,382,327,267,315,307,293,266,261,297,264,260,247,293,573,678,530,452,599,940,977,977,1340,1292,1454,1862,967,331,304,325,318,294,486,723,742,692,572,588,989,1228,1550,1946,1372,1152,1614,1334,889,1234,1436,1482,1310,1512,1484,1244,824,519,935,991,913,879,505,358,354,402,500,543,543,436,324,323,350,398,549,756,944,750,606,511,425,405,406,456,378,284,258,373,670,846,743,575,547,875,708,440,393,412,492,393,316,492,1020,1264,718,343,343,347,330,327,243,308,324,253,205,262,282,259,276,267,286,287,283,262,465,887,1023,1188,1050,832,745,644,460,340,525,741,354,286,275,240,234,342,401,364,361,349,537,961,1032,1234,1376,1416,1462,1444,1426,1164,786,635,630,650,690,551,607,1074,954,1456,1376,1396,1366,1398,1098,877,979,1350,1526,1144,1194,1556,1384,1188,1448,1106,748,850,1078,1272,1080,680,718,910,1118,1084,1024,1030,1316,1686,1672,1516,1628,1646,1404,1216,970,1013,1226,1088,1108,1200,865,618,819,1034,1122,1188,1098,1354,1238,898,1072,1254,771,711,823,690,802,968,944,910,949,958,1222,1544,1198,1302,1382,929,667,805,999,988,1226,1360,1382,1030,830,1360,1586,1422,1210,771,590,412,332,414,374,268,342,421,455,472,444,558,645,542,628,712,809,608,420,400,410,448,409,368,354,361,438,451,390,392,422,542,769,1372,1828,1874,1582,1800,2312,1450,796,600,948,1522,2208,1820,1482,1424,1238,1534,1914,1636,1704,1566,695,540,503,558,493,585,720,670,566,480,439,397,380,502,497,478,441,502,492,447,412,398,419,454,505,539,515,580,914,1280,1254,1160,997,692,514,660,557,531,672,806,861,1118,923,777,662,638,760,917,1050,863,621,466,440,431,460,467,449,425,555,1050,1220,1140,1398,1590,1270,728,711,705,838,666,871,910,1328,1312,1196,1494,1356,982,822,977,1066,827,447,381,505,735,1134,1290,1328,1192,622,603,1084,1454,1332,1582,1356,1118,1480,1452,1334,1276,1324,1134,1160,1394,1009,864,1196,893,548,645,777,727,1178,1582,1356,1422,1688,1186,535,624,1001,1346,1268,1212,921,500,274,263,287,300,314,378,511,459,370,340,345,443,883,1428,1020,628,617,643,594,792,964,1046,1362,1368,1032,1302,1050,1346,925,756,1298,1426,1314,1188,893,1072,982,579,437,625,1234,1390,1284,1172,1448,1640,1570,1326,1208,1178,865,623,568,777,1136,1296,1356,1003,933,886,754,833,869,1007,724,363,508,1090,1264,1000,1028,869,1026,1302,1128,1152,1220,1312,1262,1050,902,787,552,397,406,450,477,471,431,425,433,871,1250,706,1122,995,1036,844,1013,1150,1350,1488,1544,1362,1156,839,647,816,1122,1058,1074,1230,1600,1572,1172,938,1058,1124,1318,1322,916,766,779,948,1050,1146,839,701,886,937,961,724,563,590,603,820,935,694,667,877,895,1288,1434,1018,824,831,819,1396,1236,1040,1520,918,629,569,702,733,601,529,637,966,1042,862,991,1476,1506,1174,1128,1354,1506,1654,1388,992,1004,1086,970,905,1114,1076,1172,1436,911,530,426,431,493,570,531,609,1106,1158,720,576,643,1070,1214,941,891,1282,1518,1470,1466,1542,1530,1676,1844,1656,1142,767,560,454,424,455,426,484,456,357,377,434,412,393,377,390,452,483,418,736,1212,860,484,568,558,612,604,760,1350,1350,810,505,428,405,364,385,439,461,449,445,502,565,712,783,946,1028,1414,1238,1076,1188,998,686,450,414,361,338,374,403,538,1080,1136,626,407,432,446,339,288,274,308,302,253,237,281,300,324,311,269,265,296,316,340,365,336,376,446,502,468,553,548,443,357,460,956,912,419,353,368,401,438,433,394,333,430,674,790,998,1232,1060,681,564,554,433,469,630,843,1172,1390,1298,1600,2100,1290,832,908,969,1054,1130,920,743,1072,1252,1158,1052,1048,910,916,962,774,1007,1126,856,1238,1700,1342,929,907,1013,1224,1290,1250,1134,1114,1013,872,851,851,859,847,814,672,672,760,625,621,1060,1690,1498,898,777,1210,1396,1238,1252,960,1110,1300,1136,986,815,740,933,776,555,802,1052,887,1134,1246,813,984,1220,783,554,512,569,802,833,675,589,540,438,449,699,764,776,935,684,459,570,689,759,633,760,769,555,552,492,596,858,799,688,957,1166,1416,1490,1566,1656,1306,879,838,1072,1078,963,1322,1434,1120,1092,1132,1072,1440,1048,826,791,801,804,805,856,995,1092,1164,1164,1502,2452,2094,1456,1278,1464,1326,1082,1692,1930,1350,1252,1432,1072,1010,1009,1368,1202,756,853,929,1266,1400,951,1076,1144,781,500,416,678,951,944,962,929,810,771,681,897,1086,536,452,753,695,750,915,741,458,400,459,590,912,875,894,1100,1160,1672,1162,466,354,368,403,514,541,485,480,474,368,296,302,318,323,314,466,426,370,463,455,404,430,514,552,576,521,460,436,488,488,386,346,659,667,571,618,719,912,1282,1420,1160,573,528,524,548,530,451,426,474,453,436,870,1504,1450,1704,1818,1782,1860,1388,1386,1194,811,794,913,1094,1340,1034,739,616,629,578,1018,1034,562,392,373,397,465,536,528,489,521,496,444,449,451,445,444,475,457,425,447,447,478,462,440,465,504,605,641,651,620,504,421,433,518,584,630,955,1072,763,980,1230,1400,1410,1538,1404,1256,1374,1578,1292,1010,814,900,634,847,980,817,735,698,931,1172,1282,1404,1168,830,869,1114,1074,757,808,937,1023,997,1046,1244,1456,1156,442,366,376,317,302,803,965,1078,1056,910,903,986,805,564,898,861,952,1052,753,1368,1218,1156,1210,930,979,1340,1196,1006,1028,1076,1032,1090,1212,1148,1208,1058,1060,1294,1334,1334,1052,853,626,367,372,638,910,1372,1152,667,895,1128,1001,833,1062,1100,1092,1408,1280,1200,943,1278,1206,971,1016,893,708,614,838,1100,1232,721,544,978,792,745,968,901,722,740,748,529,447,357,474,740,727,957,954,953,720,524,784,1350,1310,683,279,381,477,613,867,791,1628,1346,738,590,907,1038,628,429,380,360,406,343,365,460,581,838,778,508,787,882,510,841,1372,1398,609,419,337,332,493,585,658,830,1178,1802,1940,1596,1074,918,889,2214,2956,2978,2852,3450,2800,1354,783,794,885,1128,1132,941,1015,1304,1332,1224,1100,1204,1406,992,952,1288,1400,1372,1410,1608,1518,1376,1312,1470,1404,1188,1290,1354,1170,1198,1384,1490,1460,1224,827,654,632,608,505,469,423,425,480,466,399,339,311,329,336,333,344,366,379,377,402,425,420,379,358,341,337,334,337,335,335,327,336,329,321,321,322,320,320,336,353,347,357,357,370,362,371,380,379,389,393,396,400,389,385,381,397,385,372,375,370,367,364,361,362,349,349,360,358,364,376,370,356,356,357,351,351,353,359,362,359,355,363,343,333,325,327,335,352,336,357,382,360,344,361,384,395,410,414,395,418,421,410,389,384,389,408,422,414,415,415,410,422,402,401,400,402,412,393,376,384,386,401,412,423,431,429,423,422,417,399,381,396,397,392,413,402,386,382,392,409,392,413,407,400,397,400,398,402,391,408,411,418,417,418,416,426,440,432,412,399,386,380,378,380,386,375,377,366,346,344,339,337,330,329,328,324,323,329,330,330,328,330,330,330,330,326,319,317,321,323,323,319,306,328,348,351,341,357,369,378,388,385,401,401,401,453,438,398,352,446,373,288,298,261,207,241,295,305,309,283,281,313,419,432,375,342,332,325,338,339,322,321,312,301,320,312,299,303,315,317,321,329,327,321,315,308,305,303,307,318,318,318,320,318,321,324,327,333,339,339,344,353,356,354,349,375,356,348,352,348,338,337,336,338,346,341,326,335,325,325,328,328,326,324,326,330,327,327,330,331,331,332,332,332,335,340,343,345,343,341,345,345,343,343,338,336,326,330,349,349,355,362,357,349,337,320,331,319,309,313,307,305,301,297,290,287,292,289,287,290,278,289,287,287,298,288,290,288,292,295,292,283,282,289,293,299,301,294,287,287,288,288,287,293,297,298,300,299,300,297,285,307,307,307,295,309,310,302,302,300,304,314,320,320,319,320,323,325,333,325,310,309,304,300,302,307,304,299,294,294,294,294,299,300,298,297,299,298,293,298,301,293,288,286,286,288,281,290,282,276,274,275,275,278,290,294,293,295],[314,306,363,451,664,825,901,983,699,330,315,379,306,259,235,298,378,359,407,431,362,320,321,390,333,275,264,240,230,219,216,235,278,395,486,515,503,784,761,615,832,1148,993,861,1040,628,297,287,291,310,264,287,361,491,487,449,414,680,844,941,977,901,1138,1412,910,881,1422,1282,1030,1568,2388,1960,1744,1450,647,436,444,576,664,373,325,369,420,496,555,476,369,330,362,470,674,832,918,1038,905,835,547,374,366,381,420,425,360,246,282,574,742,612,515,448,522,939,686,447,490,544,502,417,655,1698,1736,874,397,414,367,325,316,327,309,293,258,247,272,251,228,279,298,300,311,256,247,373,376,505,725,963,1240,1224,827,591,515,540,617,385,332,328,419,803,969,636,390,436,406,588,796,719,1172,1390,1624,1498,1314,1284,1098,738,476,392,422,560,489,475,637,733,1158,1056,850,898,1154,1052,788,1152,1788,1914,1084,847,962,833,1210,1190,697,668,1068,1538,1474,1154,1172,803,679,919,1210,1306,1358,1676,1684,1510,1296,1464,1784,1522,1116,1009,1056,637,617,1206,1302,1222,1180,1292,1136,991,1026,1392,1744,1282,762,772,825,739,694,630,696,574,569,908,1250,1302,1204,1178,1330,1172,1450,1502,951,752,1038,931,684,989,1320,1342,1294,1242,1364,1288,1112,1312,1330,1100,584,338,447,374,316,359,377,377,422,419,479,933,613,593,807,911,777,465,423,441,449,390,388,428,398,409,432,431,415,405,465,523,705,1332,1772,1506,1546,1786,1528,930,686,622,844,1122,894,733,759,1016,1164,1130,672,806,683,581,528,465,477,463,524,734,763,648,511,425,386,364,423,422,423,421,451,467,458,454,428,447,464,551,672,577,577,913,1136,1050,980,990,779,550,622,443,484,481,685,1004,1394,1178,1082,1126,1010,922,1160,1392,667,460,408,421,428,429,401,414,440,447,916,1398,1560,1728,1500,1380,910,683,653,604,587,489,677,1288,1504,1504,1418,985,548,667,896,1284,1054,582,711,1076,1136,1412,1572,1418,1060,556,360,700,1576,1744,1846,1444,1302,1380,1344,1180,1064,1128,984,1158,1532,1234,659,569,856,1268,1324,1182,1010,984,955,1070,1300,1324,1296,919,590,675,919,1116,1094,579,290,273,283,300,278,300,365,632,563,373,383,420,403,1032,1696,1388,803,648,713,883,1788,1808,1036,952,1188,1288,1458,1342,1356,1196,1612,2406,1914,1238,1054,1260,1404,1406,894,485,455,930,1350,1212,1376,1702,1570,1422,1112,1200,1218,863,536,467,552,898,1220,1236,1176,1244,1092,848,876,857,930,835,934,801,1146,893,964,1362,877,752,1220,1094,1108,1172,1330,1184,1156,1132,1260,777,388,395,432,498,478,444,422,477,858,1152,728,1136,1088,1056,1060,1126,1384,1394,1318,1376,1118,1180,827,591,829,1042,1052,1192,1314,1158,1388,1400,1028,756,690,995,1188,846,685,694,631,1158,1742,1262,755,872,917,963,781,630,621,611,865,1278,1010,618,669,633,871,1246,974,956,1126,845,1112,877,1120,1076,589,465,777,1274,1204,685,521,636,1240,1406,1038,865,1388,1426,1320,1188,1388,1470,1360,1262,1098,1054,926,1003,1138,1376,1084,1168,1116,619,513,523,469,567,608,703,1172,1258,720,548,663,1120,1228,966,982,1310,1496,1266,1082,1310,1490,1298,1296,1590,1688,1224,726,485,432,454,438,481,561,514,467,601,632,455,403,416,472,613,582,395,671,1152,926,550,810,639,597,523,465,633,925,698,427,428,445,402,521,749,716,710,530,478,533,634,733,667,763,1144,991,841,1082,909,572,420,412,375,346,408,433,525,870,813,539,490,416,365,319,232,267,272,294,284,283,284,290,311,300,288,296,302,314,367,401,385,389,408,485,506,792,776,468,363,393,502,471,367,310,333,331,367,389,413,359,444,714,830,975,954,1102,876,836,622,474,590,903,1144,1274,1422,1248,1356,1296,1094,1560,1352,1366,1224,1170,949,769,1146,1262,1036,810,669,804,1160,1216,1036,1148,1312,1092,1432,1632,1302,955,872,922,1100,1296,1246,1150,940,700,853,1015,877,656,585,744,842,844,699,601,716,617,868,1110,907,714,1086,1310,1188,968,922,1198,1334,1390,1116,826,678,564,598,512,700,962,973,1230,1054,521,694,958,526,458,547,674,952,904,737,644,605,497,440,493,474,549,623,517,424,487,453,511,468,800,808,609,807,903,669,979,923,560,694,1098,1534,1384,1390,1506,1670,1450,1128,1198,1082,724,1078,1224,1172,1266,1250,1128,1490,1456,1084,1200,1192,801,678,778,1078,984,1062,1282,1442,1770,1776,1336,1116,1370,1328,1216,1554,1686,1442,1282,1328,956,975,853,858,1188,1330,1324,1164,1356,1430,1292,1324,1188,1007,549,564,711,979,1098,1021,993,880,681,446,723,1208,666,482,904,727,923,978,647,415,374,410,912,1784,1244,1018,847,713,1174,782,390,382,365,359,441,466,394,350,350,250,246,281,294,282,517,1007,648,294,337,410,586,619,525,550,612,550,444,455,458,452,444,422,441,483,480,374,419,565,576,597,410,354,402,457,497,471,432,505,569,662,728,1312,1566,1648,1636,1450,1542,1570,1508,1372,919,921,735,781,1460,1578,1288,1068,1038,1000,796,1021,860,440,407,460,468,554,655,564,483,473,437,559,609,529,467,426,425,459,457,432,450,555,567,474,494,610,783,784,704,649,468,444,561,547,525,514,1202,1570,1354,1090,1246,1466,1196,1144,1302,1350,1270,1654,1112,1080,816,897,744,787,1106,893,479,619,805,917,898,1154,987,514,764,690,632,660,721,865,949,1002,1124,1322,1438,758,374,414,385,352,372,885,1038,919,936,894,833,784,865,542,766,964,1152,1096,948,1004,985,1021,1290,1390,939,825,910,1132,1164,1308,1074,1066,969,967,1356,1354,1058,1272,1154,1236,1168,1328,1026,484,545,816,1268,1534,1114,851,819,772,987,1068,1076,1036,1244,1498,1238,945,960,1458,1444,1278,1322,1054,953,792,872,796,1060,604,447,484,543,841,792,678,827,1023,827,546,760,745,879,1026,841,983,1244,937,670,720,592,586,788,541,319,560,444,328,318,1006,1622,1476,974,719,1162,1302,1036,496,434,558,906,653,369,347,597,760,582,368,555,952,527,796,1120,1096,593,321,339,382,766,1106,1144,1005,1280,1830,1712,1500,995,1132,902,1656,2186,1922,1836,3306,3406,1780,944,618,597,880,1078,1112,1120,1212,1280,1280,1164,971,776,669,974,1292,1480,1470,1284,1516,1252,1226,1208,1448,1458,1374,1500,1458,1422,1448,1404,1620,1754,1394,1032,759,956,1015,824,606,438,382,390,412,420,379,357,348,331,316,318,347,379,396,399,420,425,397,361,335,337,337,335,330,332,321,327,329,318,318,322,320,308,316,340,347,365,365,367,360,374,385,380,391,392,378,372,375,377,355,383,385,370,367,365,361,358,358,360,341,339,349,356,356,365,362,359,353,350,347,347,350,353,367,369,348,351,344,346,325,323,330,344,349,354,384,398,382,357,360,395,427,410,412,414,414,405,391,389,395,406,422,415,416,419,402,414,401,402,415,416,419,402,384,397,390,399,409,420,423,417,422,419,404,396,385,387,396,392,406,402,383,389,387,382,398,409,405,398,397,391,397,397,399,397,397,416,413,416,417,426,432,423,413,400,385,373,373,375,378,368,359,340,365,363,344,342,340,334,329,329,328,329,330,330,325,327,330,327,323,323,320,316,321,322,330,332,326,332,344,357,348,354,363,356,364,383,395,389,389,437,422,418,439,424,408,355,336,329,289,299,309,289,282,288,306,300,381,432,379,339,332,328,329,327,322,315,299,318,315,308,299,301,308,314,322,326,322,321,318,317,310,306,310,317,318,318,320,327,330,325,332,330,332,336,350,355,355,365,361,377,368,350,348,339,337,336,336,337,344,343,332,326,324,324,324,325,325,321,318,322,321,325,324,324,323,334,332,335,344,348,351,348,345,346,332,319,325,325,332,345,328,332,336,342,349,354,353,345,335,331,318,310,313,303,306,294,285,288,280,283,287,289,300,280,283,288,287,288,287,286,287,286,290,297,288,282,282,287,287,294,295,289,281,287,286,280,285,289,293,309,310,292,307,298,301,302,297,305,298,297,304,312,307,297,295,309,317,323,338,329,319,320,320,309,310,310,304,300,308,307,300,297,294,293,292,289,292,293,294,293,283,274,275,288,295,289,281,288,289,288,289,279,272,278,274,276,283,286,283,281,285,290],[406,508,700,752,813,842,608,375,273,235,280,334,323,298,228,282,387,417,453,502,437,320,346,401,339,240,229,225,285,284,254,288,549,645,616,756,865,860,775,518,496,688,705,573,382,322,337,330,246,330,328,388,469,396,353,384,402,421,540,667,548,634,1068,1230,921,1278,1412,1158,1009,1290,1942,1738,1494,1178,727,454,377,336,327,381,458,457,492,578,558,427,370,404,482,583,546,730,1050,1184,1036,606,412,372,342,373,395,429,491,529,579,645,649,794,832,556,433,673,861,721,422,469,539,536,908,1830,1558,897,869,642,380,289,328,347,398,391,336,229,241,239,256,284,302,301,360,277,328,472,394,417,394,381,568,730,531,368,620,755,818,714,532,449,607,1068,1078,827,454,420,378,756,852,661,661,948,1184,1156,1244,1242,910,598,462,384,373,444,504,592,952,1292,1204,907,843,1040,1138,1072,941,1148,1262,1274,694,449,802,958,1136,940,721,796,1090,1578,1358,1174,1376,1362,1144,1210,1290,1404,1644,1682,1442,1328,1396,1350,1396,1094,745,634,739,617,946,1124,949,1100,1370,1370,1272,1142,1194,1460,1496,1186,1092,1015,855,767,732,937,1060,658,626,851,977,1490,1618,1282,1504,1298,1146,1104,798,827,1188,1108,796,694,871,1092,1386,1328,1076,1023,1760,1472,1266,1492,1334,965,771,428,367,370,329,358,440,625,719,682,409,660,978,936,948,666,465,405,378,376,398,440,425,465,555,589,505,426,448,411,534,1114,999,1108,1312,1030,1168,927,705,778,891,908,1003,973,922,822,643,551,413,421,513,547,455,382,406,429,488,703,753,701,716,610,528,443,391,397,399,416,426,402,511,688,540,466,500,574,719,681,929,1366,1088,772,1204,1510,980,832,533,458,582,511,544,913,930,735,1126,1292,1082,1096,1714,1862,891,444,451,458,448,414,354,368,429,387,668,1378,1670,1368,1050,1120,907,683,543,423,425,333,492,1078,1620,1328,846,682,568,764,841,913,688,578,1108,1342,1042,1160,1490,1348,891,461,389,962,1780,1996,2162,1936,1472,1350,1562,1574,998,949,972,1202,1622,1448,670,589,892,890,750,945,1196,980,708,823,773,932,1360,1018,597,499,727,772,451,294,327,271,280,311,250,267,324,322,362,519,546,462,478,1110,1482,1214,1112,799,698,949,1532,1632,1296,1274,1652,1668,1476,1142,1096,1396,1764,2160,1476,1366,1168,1170,1180,1302,1114,694,394,752,1312,1456,1406,1400,1198,984,1066,1222,874,606,467,510,835,1224,1318,1234,1068,1204,1230,1048,971,850,942,1144,952,492,407,407,669,899,750,954,1400,1296,1100,1210,1390,1072,1004,837,867,651,391,390,444,477,428,391,325,379,748,951,671,686,755,1012,1106,969,1212,1178,992,996,902,830,681,709,1366,1346,924,1172,1092,950,1288,1294,1202,1056,1102,943,869,739,720,734,697,1346,2186,1626,926,945,913,984,868,735,626,645,1120,1318,977,901,916,774,690,621,860,1090,813,474,453,484,605,750,922,1009,1184,1778,1494,694,786,815,1104,1074,960,1012,1466,1326,1086,1150,1360,1360,1290,1246,1094,1070,1054,1122,1444,1490,1240,1186,877,567,528,520,574,697,868,1240,1224,714,529,669,1110,1246,975,1038,1360,1388,995,649,993,1428,1322,1346,1238,1408,1636,1110,544,415,392,450,426,429,616,683,742,877,807,516,414,425,511,671,596,401,634,1164,912,514,582,557,615,492,475,509,503,469,441,476,495,541,694,727,655,789,711,489,474,579,679,675,784,1132,789,578,676,684,673,557,472,323,311,338,353,459,583,471,390,458,384,345,473,343,285,294,311,317,311,304,320,306,310,328,339,333,320,335,349,382,419,427,422,461,596,559,504,376,387,345,372,328,327,330,457,824,1002,894,682,561,897,1014,962,808,1050,868,837,679,521,751,1172,1228,1152,1300,1202,1068,1234,1598,1442,1358,1528,1224,1004,802,744,1130,1210,969,867,689,817,1524,1436,1084,1148,1284,996,943,1222,1122,815,914,1096,1142,1290,1318,1160,778,557,750,809,456,351,414,648,926,946,741,550,386,400,826,1312,1166,1013,1086,1300,1268,883,681,953,919,1372,1070,827,713,782,1005,667,969,1384,1036,706,542,379,361,343,422,447,500,558,712,723,659,577,526,521,490,513,518,434,394,463,456,389,396,457,498,841,993,746,803,882,838,1054,874,507,799,1256,1440,1322,1246,1350,1564,1598,1622,1532,1128,683,932,978,1148,1304,1262,1310,1440,1510,1506,1482,1346,1180,695,545,627,1138,1274,1296,1252,1658,1488,1010,867,694,868,1288,1416,1594,1334,1294,1096,825,916,821,863,1114,1334,1484,1334,1304,1290,1224,1136,1017,1012,568,593,781,1001,1036,945,833,930,705,586,965,1348,771,581,904,692,841,896,621,376,356,538,1418,2210,1582,1128,973,1450,1400,609,483,590,456,343,309,288,355,365,312,306,310,294,272,253,813,1158,529,337,407,418,678,740,558,482,586,611,567,541,527,599,561,423,505,547,507,376,387,428,418,393,346,357,418,455,427,441,442,422,478,622,546,1172,1672,1732,1754,1916,1898,1738,1752,1328,814,681,541,503,1156,1380,918,832,947,1003,969,826,557,379,386,449,429,481,641,478,441,465,508,597,521,533,658,650,525,501,548,557,637,736,677,535,553,648,732,749,735,688,572,574,655,560,518,473,1044,1174,989,902,1005,1364,1178,861,1004,1182,1112,1500,1288,1126,1021,868,568,720,1270,1266,800,570,655,742,650,950,1042,792,547,529,890,877,871,1174,1216,1206,1180,1412,1296,940,836,745,501,328,515,1068,1132,968,1194,1178,869,789,908,610,722,1130,1594,1572,1304,1092,1158,1218,1116,1152,1058,1188,1284,1038,980,935,886,836,705,777,1434,1904,1468,1548,1270,1204,1230,1250,1216,1011,979,1268,1434,1144,1056,1044,796,520,698,1108,961,891,1084,1344,1250,992,1108,1106,716,1122,1562,1378,786,729,826,869,794,509,453,411,639,977,902,683,931,1422,777,389,639,544,1026,1284,897,694,678,492,465,592,720,503,358,274,442,787,637,363,354,863,1474,1278,756,1026,1250,1264,1021,924,653,809,1388,915,358,318,336,297,302,291,556,1148,706,641,1070,1302,725,313,326,285,615,1344,1572,1278,1252,1360,1496,1314,878,1160,1318,1174,1228,1206,1436,2046,1894,1036,662,634,735,927,1136,1160,1168,1128,1032,805,477,351,371,463,761,1190,1462,1252,1005,1396,1322,1314,1340,1392,1272,1238,1466,1534,1438,1346,1418,1882,2220,1752,1510,1430,1638,1654,1166,686,491,395,366,342,365,378,356,321,296,294,299,330,384,395,396,417,421,418,374,342,334,325,324,316,313,319,323,318,311,320,303,321,321,333,342,353,376,370,360,357,359,374,381,376,369,387,380,373,381,357,357,372,367,354,355,355,352,355,356,350,343,350,360,352,360,360,353,350,344,343,344,351,345,356,357,344,339,336,329,319,313,325,341,360,360,392,418,427,378,369,406,418,422,414,404,413,421,408,404,406,404,408,416,414,401,416,410,386,388,388,391,412,397,394,394,390,403,411,426,447,435,419,419,411,398,374,374,391,391,397,400,382,387,394,387,390,394,392,391,392,400,400,385,385,390,394,412,412,405,413,417,420,417,408,392,380,372,378,384,380,375,365,356,358,352,346,342,340,333,325,324,328,328,328,326,322,322,325,326,322,322,315,317,338,323,328,332,330,335,343,357,361,359,359,363,373,385,390,383,375,391,394,419,444,502,530,433,336,336,328,316,302,294,276,294,293,283,357,423,370,334,332,321,321,331,331,316,299,299,309,309,299,300,308,315,310,305,311,317,318,318,313,306,310,318,318,317,321,330,320,309,338,333,339,348,350,349,353,367,354,353,366,352,358,361,349,339,341,343,344,338,332,326,324,324,330,339,343,328,318,318,318,318,323,324,324,324,323,331,339,343,341,345,350,348,335,330,332,322,330,335,327,327,332,340,345,345,342,333,326,326,320,314,315,299,302,292,276,283,281,281,281,281,280,287,288,284,288,292,282,286,293,293,290,295,290,286,281,281,285,289,293,292,285,282,277,289,289,294,288,309,320,289,310,300,300,298,290,290,288,288,298,305,317,312,313,305,310,320,320,320,322,319,311,310,320,305,308,307,294,288,293,289,288,286,285,282,283,288,286,286,285,288,285,282,293,292,282,283,285,282,282,277,265,276,275,275,278,286,277,274,278,278],[381,462,604,494,412,318,299,322,318,281,261,322,377,294,257,341,398,455,485,555,518,335,290,297,242,209,263,502,722,749,657,448,1046,1388,1268,1204,1306,943,877,590,325,426,628,695,498,320,312,329,269,336,313,368,499,444,343,358,417,346,422,556,686,636,879,1240,1246,1302,1056,850,798,991,1394,1560,985,600,472,343,321,390,516,533,596,539,524,557,469,438,406,434,464,614,590,662,965,1086,721,451,473,370,329,373,395,391,519,677,634,544,705,996,1086,781,514,366,597,907,722,433,528,601,1224,1588,1544,1222,1276,1050,529,327,270,238,351,330,318,260,262,269,250,211,204,280,361,277,389,565,343,428,423,427,418,303,382,423,752,1042,941,744,847,836,899,890,928,791,627,395,579,719,960,1030,737,758,1078,1098,1324,1564,1210,606,382,359,381,462,464,713,1254,1526,1410,1144,1278,1878,1286,916,904,1070,1228,1272,777,420,744,1162,1248,995,1146,1146,1068,1118,1022,1404,1530,1484,1438,1636,1614,1566,1622,1610,1382,1550,1390,1444,1306,846,403,520,628,552,659,688,583,720,919,1140,1396,1456,1384,1428,1188,1056,1296,1340,963,758,777,810,692,429,521,803,857,1026,1364,1404,1538,1302,1048,979,1108,1440,1009,1076,1380,901,586,540,882,964,784,1676,2114,1452,1268,1522,1570,1450,1268,743,383,390,451,397,639,1092,858,395,254,495,904,713,870,750,463,401,391,401,409,390,450,597,632,653,632,570,537,397,545,1132,849,748,914,986,956,869,791,769,871,769,659,592,636,576,501,466,442,473,508,446,363,369,370,405,397,475,645,584,539,590,608,461,368,391,419,426,435,532,764,811,555,448,475,502,653,756,883,1114,785,668,981,1196,1178,1054,565,441,519,653,750,798,701,797,1078,1266,1542,1728,1428,949,700,779,662,432,377,410,391,387,425,345,478,1096,1210,1222,1252,1260,939,625,559,669,563,565,857,1168,1166,694,739,972,1076,1440,1188,598,414,437,739,934,1050,885,748,782,819,696,518,1013,1726,2036,2190,1842,1028,1015,1574,1722,1046,700,709,663,1228,1242,701,819,1212,1560,1528,1594,1504,854,639,764,775,843,955,866,695,1004,1766,1808,959,391,328,299,301,272,318,678,761,575,739,1036,1252,992,715,998,865,808,1050,681,538,871,1050,1003,1146,1366,1572,1580,1230,841,1438,1694,965,957,739,1074,1374,1240,1005,1142,1410,1128,643,594,1024,1370,1514,1432,1384,1220,1140,813,803,866,677,690,883,1110,1306,1146,1034,1298,1202,992,801,895,1092,1212,740,354,403,520,841,1244,1362,1416,1308,1412,1302,1222,1122,1144,1364,996,547,510,454,489,472,433,417,418,308,335,602,817,666,477,606,1108,1296,1314,1328,1170,869,1086,979,615,502,738,1388,1340,1232,1314,979,995,1274,980,1023,1318,1506,1302,1070,922,777,756,821,1610,2446,1822,1066,968,906,1078,929,744,645,687,1200,1412,1252,1372,1240,1168,1126,983,1284,1196,685,420,498,709,667,605,1484,2758,2402,1256,904,810,1156,1056,1158,1030,645,916,1302,899,581,913,1302,1290,1376,1342,1288,1208,1162,1180,1382,1294,1250,1172,709,579,533,514,641,902,1252,1220,828,621,672,1094,1228,993,1100,1382,1220,746,496,549,1068,1214,1394,1648,1304,1274,1532,1074,495,418,360,431,481,455,612,638,557,563,574,479,431,420,437,473,486,493,659,1082,821,579,563,558,583,601,753,809,603,607,690,798,692,783,747,632,675,678,645,477,435,442,515,523,708,1304,823,570,432,352,365,502,570,506,371,295,324,400,494,572,419,351,289,355,441,333,331,397,382,359,328,296,361,350,363,366,385,361,336,342,374,407,393,390,375,412,418,470,403,382,385,402,418,367,362,356,815,1548,1636,1490,1154,858,1068,1118,913,791,1026,824,549,607,673,702,944,1038,863,1080,1015,1112,1252,1146,1036,1138,1130,997,959,889,1005,1208,1058,1068,1290,861,731,1358,1170,933,1098,1160,968,793,799,724,1062,1166,1434,1440,1670,1448,856,645,554,594,494,307,346,554,843,1124,1170,943,643,529,744,1044,1146,1228,1234,1166,1188,1196,944,853,1038,1198,1490,1222,832,718,579,479,449,575,588,515,519,408,338,353,365,354,379,405,468,553,538,513,472,476,540,507,525,523,433,367,360,470,484,452,571,819,1064,982,768,717,683,1126,990,849,702,800,1016,1092,1042,1116,1192,1262,1162,1338,1286,988,1015,1011,750,916,1148,1268,1212,1178,1428,1846,1702,1532,1500,942,611,497,651,996,1336,1470,1678,1454,1174,1086,651,903,1590,1356,1324,1302,1490,1216,856,753,778,886,1346,1670,1566,1342,1368,1290,1310,1310,1266,819,437,481,761,975,954,753,629,974,782,606,625,1142,850,728,841,754,916,883,709,343,346,492,1152,1362,1114,925,1013,1916,1570,475,1040,1902,1122,434,337,440,495,433,428,427,301,301,620,655,545,630,572,515,524,406,492,650,558,421,462,563,593,629,603,523,520,465,480,436,464,433,418,361,363,404,540,508,296,421,388,389,371,392,449,390,343,446,461,596,828,897,1007,1312,1362,854,637,538,565,686,785,782,813,783,702,736,543,416,429,407,361,324,386,435,480,486,503,498,648,737,526,522,569,544,476,464,569,615,622,626,589,558,531,577,640,688,722,748,805,764,641,516,469,528,744,686,549,612,760,1204,1302,722,581,609,518,897,1001,742,748,700,456,585,978,1132,1034,771,812,708,444,535,806,1028,735,645,826,780,742,1206,1464,1338,1278,1406,1328,1304,1176,882,543,365,587,1360,1820,1368,987,974,749,694,1013,1230,1180,1088,1230,1404,1314,1246,1450,1280,655,713,935,1084,1026,938,1017,938,661,572,617,754,1046,1326,1612,1360,1262,1226,1036,1010,1240,996,691,1126,1552,1330,1070,1050,952,866,517,703,849,814,1186,1570,1044,802,1016,732,630,694,837,846,985,822,692,759,853,835,657,639,741,691,532,411,547,683,415,305,367,398,858,1300,1034,562,455,442,463,375,607,619,518,524,796,1204,1114,651,392,428,598,591,1216,1626,1332,1296,1206,1220,1011,805,698,514,367,341,367,335,297,268,370,972,800,742,786,675,458,325,337,318,518,1216,1180,886,887,813,852,807,517,893,1260,1182,1294,1506,1522,1088,697,633,758,908,981,1050,1168,999,706,554,518,479,414,455,468,412,527,948,1204,911,667,1142,1400,1190,1328,1306,1196,1360,1654,1626,1418,1310,1524,1628,1580,1412,1510,1660,1706,1438,884,630,462,390,365,339,327,339,328,310,307,304,301,310,385,408,404,423,430,429,390,357,329,313,332,332,304,294,303,305,312,312,314,315,323,339,333,329,339,346,354,377,365,366,377,378,379,380,366,369,385,367,354,367,367,353,355,355,349,368,364,352,349,360,374,373,365,352,347,344,338,338,334,347,347,343,345,333,336,332,332,329,318,321,349,383,380,398,433,451,418,395,397,410,406,398,415,418,422,419,410,406,405,401,416,410,389,401,393,379,370,377,379,410,396,384,377,391,401,411,420,431,423,419,429,419,398,371,368,387,402,394,394,401,394,386,392,392,397,402,405,400,398,397,387,380,387,389,401,408,391,405,407,410,412,399,386,382,377,375,364,368,380,368,362,365,354,351,347,335,327,322,316,320,322,327,330,326,322,323,322,319,317,316,314,334,328,319,310,316,325,336,353,363,360,359,363,362,373,381,378,365,364,377,413,464,504,486,441,423,387,345,346,323,289,263,260,280,280,339,428,365,326,332,317,313,329,321,308,296,295,305,303,301,303,299,320,315,321,318,318,318,318,315,305,309,320,311,318,318,317,317,310,327,332,330,342,348,356,355,364,372,365,365,346,348,344,344,344,344,344,339,337,335,328,324,325,328,326,323,319,318,318,322,321,318,321,328,329,331,332,328,327,332,344,344,344,339,340,319,321,327,326,327,332,336,340,345,351,339,331,327,320,319,314,311,301,295,294,283,281,281,281,280,278,274,280,280,276,293,295,281,285,276,274,275,269,289,285,282,281,281,282,292,292,288,280,275,276,282,292,285,299,310,297,302,298,290,288,288,292,301,294,300,294,300,295,299,301,310,312,320,325,333,317,310,301,320,308,307,308,302,297,293,288,285,280,281,282,288,280,279,288,293,288,288,288,288,280,288,277,279,282,282,280,263,272,275,275,271,272,274,275,278,289],[287,274,302,333,399,380,351,330,331,328,258,296,328,290,275,273,413,529,429,418,384,247,248,249,221,273,326,502,755,937,669,342,384,736,1000,1282,1284,855,580,498,393,304,456,979,907,643,469,351,310,338,368,387,437,425,342,414,568,380,378,393,569,573,1036,1504,1342,1202,1046,697,691,1208,1908,1636,743,449,307,283,328,419,548,581,544,544,578,424,386,396,358,370,392,470,597,626,778,705,475,483,485,311,305,334,433,407,511,689,607,575,699,796,765,614,531,329,392,589,935,771,586,619,1420,1744,1202,998,1196,763,357,324,260,244,245,298,350,347,332,292,236,238,228,264,357,323,447,546,337,402,410,671,703,542,450,369,603,882,792,1054,858,769,899,573,835,1224,1232,879,869,945,1086,1108,974,957,1116,1166,1128,993,763,634,477,384,425,536,613,977,1554,1496,1372,1180,1326,1460,781,686,1016,1278,1328,1284,951,807,993,1240,1536,1610,1660,1354,1084,994,1042,1186,1260,1242,1486,1654,1648,1600,1702,1710,1418,1480,1412,1506,1350,977,539,594,921,818,484,417,441,574,785,968,1122,1290,1372,1322,1210,1266,1332,1062,579,623,691,868,760,736,904,997,960,1182,1366,1266,1058,717,572,743,1152,1578,1328,1562,1510,805,604,519,473,451,432,644,973,1210,1366,1536,1276,1242,1098,1288,1114,742,551,630,1048,1156,787,401,288,338,566,398,709,885,854,686,450,382,398,386,443,561,610,589,606,539,540,425,595,1094,912,505,797,1232,941,745,662,608,455,393,393,463,507,481,512,502,437,437,415,376,343,361,371,395,430,432,531,520,450,474,475,385,369,393,422,391,395,621,796,661,474,496,619,603,717,772,713,796,896,874,1090,1184,1250,951,582,445,519,730,742,576,438,665,894,1168,1616,1772,1542,1007,955,1150,1130,785,475,447,408,411,364,310,321,708,1066,1300,1474,1212,913,915,698,665,900,1272,1336,1204,1046,799,815,887,908,1024,948,749,723,465,624,986,1458,1058,803,521,649,705,567,571,919,1542,1994,1566,812,756,1228,1312,1108,894,684,421,559,540,645,935,1180,1660,1332,1484,1442,699,370,565,877,675,457,449,579,1298,2198,2228,1304,509,360,344,325,341,468,1164,1466,1324,1418,1738,1804,1568,1426,1020,928,825,694,624,664,676,760,1056,1438,1550,1390,940,1020,1352,1874,2276,1052,600,447,719,1232,1344,1210,1284,1424,1326,984,680,662,810,1234,1464,1290,1138,1020,981,1252,1204,822,697,533,580,904,1005,999,1160,1094,1110,991,720,953,1106,529,409,520,678,1013,1152,1180,1194,1140,1302,1438,1204,1016,1136,1064,888,789,626,491,502,467,475,412,321,261,310,606,856,715,650,704,963,1194,1264,1136,1070,865,873,841,916,824,738,999,1294,1648,1440,918,1064,1234,890,764,1046,1232,1190,1324,1322,1298,1096,1034,1416,1954,1688,1408,1172,930,1040,949,789,721,682,926,1122,1220,1268,1050,1007,1142,1032,1288,1196,741,483,594,965,1082,1072,1838,3834,3522,1680,908,1034,1326,1180,1204,1164,935,1008,1078,955,855,1208,1332,1172,1214,1246,1250,1216,1076,1158,1326,1192,1236,1208,769,879,888,785,818,1238,1248,843,635,712,1082,1222,1084,1188,1362,1130,716,497,464,706,976,1332,1686,1560,1156,1024,1412,1306,641,447,370,403,466,399,429,499,481,460,420,406,391,401,423,437,465,484,550,1008,869,655,695,568,517,561,968,1204,710,661,579,869,977,886,686,619,645,655,562,527,515,480,429,351,745,1344,899,594,484,383,343,346,467,597,648,464,437,480,415,626,488,315,278,336,301,283,431,595,484,438,396,300,340,340,359,366,410,383,336,376,411,422,430,426,366,432,358,402,486,542,449,576,611,384,343,392,556,681,755,894,1020,945,940,844,697,739,960,835,435,494,628,583,974,1212,1094,1054,971,1164,909,898,1116,1080,1180,1242,932,1034,1164,1138,894,1126,1350,811,671,998,968,1062,1030,838,702,728,814,983,1462,1266,1346,1220,1254,1224,971,774,642,604,472,473,463,512,617,1194,1290,909,802,972,897,923,1146,1182,1356,1460,1650,1168,980,1186,1166,965,1808,1900,1002,686,607,522,536,520,461,548,550,385,326,331,317,290,296,281,387,482,447,464,472,499,550,556,568,540,472,389,368,656,831,574,518,503,662,869,766,590,455,904,992,1026,831,547,569,589,558,741,805,828,1004,1212,1146,1134,1440,1326,1050,908,1002,1152,990,1058,1294,1548,1340,1094,1224,1118,1050,1188,1068,1174,1372,1540,1728,1672,1582,1736,1064,1418,1844,1490,1362,1324,1306,1210,1088,1126,1302,1021,1398,1970,1782,1502,1388,1324,1366,1482,1310,784,437,408,523,794,1232,1076,980,1104,927,617,562,921,857,730,916,969,989,878,700,371,402,731,1284,1026,836,775,748,1238,1074,418,802,1588,992,444,360,429,532,695,898,651,377,820,1472,945,425,503,610,561,544,441,401,524,555,466,463,466,477,558,587,596,569,535,520,449,447,465,425,394,366,412,604,514,375,439,370,342,368,558,746,542,323,361,466,467,429,411,380,365,455,495,550,511,534,578,524,590,703,667,567,639,483,515,516,414,365,363,380,419,512,613,617,621,741,756,569,490,497,467,374,380,536,578,498,533,518,553,512,552,563,597,698,752,807,753,674,644,603,560,604,628,518,640,974,1362,1540,913,542,610,669,842,799,740,955,1180,605,857,1038,1310,1316,947,1132,1230,716,356,704,1104,857,694,416,430,543,583,907,1138,1426,1356,1358,1380,1164,783,659,684,876,1340,1660,1484,852,769,783,904,1282,1556,1382,1216,1240,1276,1214,1380,1306,1120,909,877,1128,1282,1082,962,1098,1009,635,493,500,620,686,788,681,842,1312,1342,1054,1056,1168,877,671,678,1362,1668,1064,809,1052,888,570,577,719,855,1220,1172,606,607,756,1106,1526,901,449,876,1320,994,623,537,489,519,656,617,722,757,615,760,722,555,446,377,347,296,462,844,650,371,386,436,468,369,436,790,908,752,628,909,1306,939,561,440,462,1088,1768,1530,1614,1892,1642,1456,1502,1156,811,611,503,307,479,510,381,405,381,836,1001,710,598,634,508,480,363,376,372,808,710,489,554,655,550,461,380,414,836,1222,1194,1110,1116,998,1042,1152,1144,1007,869,883,789,534,424,390,387,487,601,585,494,398,548,1030,1220,847,519,954,1386,1196,1292,1212,1404,1886,1976,1684,1526,1380,1328,1500,1428,1356,1422,1226,864,562,376,374,414,419,367,329,320,334,334,310,329,317,314,305,364,398,415,417,420,423,393,359,345,340,339,337,327,322,334,322,312,311,316,315,323,333,331,331,347,350,366,377,362,361,371,378,375,372,363,373,381,363,349,367,364,364,355,355,352,369,368,358,358,360,356,350,343,352,338,345,338,338,332,335,333,334,343,339,332,330,343,323,341,314,345,390,395,423,433,418,422,408,399,416,442,416,424,436,436,438,419,402,406,393,410,422,397,397,397,382,371,369,369,406,412,385,382,374,385,409,406,406,404,415,419,398,390,379,371,384,401,391,392,409,389,396,384,392,392,391,391,402,398,390,387,380,385,388,382,401,384,390,394,399,405,401,390,390,395,386,362,364,380,366,360,359,366,360,351,333,323,326,326,330,327,326,340,326,316,322,321,316,310,314,317,320,317,317,319,322,325,341,349,360,361,368,365,357,365,378,380,380,373,373,399,439,452,387,354,409,392,369,348,314,304,286,263,283,294,353,433,376,319,323,316,300,320,320,307,308,309,299,297,299,304,292,314,315,318,318,315,315,318,317,307,313,329,310,318,325,318,314,314,330,332,331,326,335,361,364,364,358,350,365,344,344,356,353,346,344,344,341,337,336,330,324,318,321,323,329,321,318,314,323,323,314,313,324,332,332,331,325,318,328,336,341,343,338,330,327,328,324,330,332,339,351,354,349,351,342,338,326,315,312,303,302,300,293,287,288,282,281,282,275,275,275,278,280,278,275,285,274,276,272,276,280,294,286,278,281,281,281,283,289,288,286,274,282,280,281,277,276,289,299,301,300,295,293,288,289,295,300,277,288,307,301,304,293,307,313,316,317,323,336,320,319,319,325,310,307,308,304,297,290,285,288,281,281,280,286,283,276,283,293,292,281,290,280,280,292,272,277,277,275,274,271,280,279,270,270,270,272,274,278,290],[300,272,349,407,375,331,341,306,354,377,269,288,299,358,335,245,297,466,454,342,299,431,609,544,435,356,285,276,385,517,428,260,296,307,394,697,1002,1064,938,927,639,470,952,1542,914,934,948,616,353,363,402,344,445,723,709,473,502,375,357,307,434,744,1290,1412,1386,1334,1116,794,825,1202,1614,1068,561,449,358,310,418,550,639,656,557,558,549,311,325,333,311,309,339,401,526,623,619,491,390,396,415,372,377,455,477,463,711,865,630,555,645,645,630,628,487,357,332,361,493,858,880,897,1432,1658,1050,989,897,555,430,389,313,357,336,358,377,367,346,289,272,293,329,336,333,358,568,628,513,500,680,1316,1474,984,518,453,748,723,1016,1138,661,676,496,366,832,1514,1590,1206,896,690,806,985,895,1080,1164,1404,1132,813,703,739,554,397,457,433,494,903,843,692,995,998,1400,1446,713,527,874,1028,1056,974,832,927,954,1096,1494,1810,1600,1582,1516,1472,1224,943,733,894,1572,1626,1656,1650,1754,1808,1922,1666,1550,1448,1154,884,726,776,1024,830,479,580,562,696,966,1007,995,766,809,1184,1372,1328,1062,615,537,807,683,591,493,1092,1516,1290,909,948,1042,943,786,458,505,570,927,1042,1294,1418,902,968,1058,538,412,373,353,688,1412,1366,1210,1258,1434,1422,958,996,1392,1450,1126,1212,1098,1001,1230,694,383,382,502,640,881,1170,1560,1316,574,376,368,393,414,407,507,467,450,433,458,362,484,804,705,443,797,1218,819,653,479,431,391,337,313,414,489,460,443,397,350,361,365,370,365,357,378,405,430,416,423,397,383,419,493,402,396,396,411,344,328,637,717,573,483,553,690,784,794,782,716,738,825,1262,1410,858,949,1372,1098,756,821,799,488,465,426,490,730,969,1410,1864,1380,938,1162,946,951,1156,975,556,487,440,358,323,307,419,483,875,1516,1532,1532,1516,1334,1164,1434,1228,1208,1246,1590,1626,1007,812,945,1058,854,1010,1212,1376,1484,1606,1538,1028,698,578,634,894,993,534,543,852,1362,1206,875,900,1094,1182,1306,1312,819,484,404,397,558,731,1306,1742,1018,970,1001,618,437,492,539,564,491,470,571,1190,1954,2118,1402,924,684,534,544,749,1318,2092,2332,2046,1710,1738,1608,1614,1508,1208,1260,1094,940,1138,1108,743,753,1166,1478,1524,1566,1376,1526,1688,1758,1704,1162,628,396,662,988,1316,1512,1446,1548,1692,1160,739,601,805,1238,1286,1284,1376,1280,1542,1584,1324,928,638,533,466,533,662,787,1021,1054,1260,1340,978,837,789,473,475,504,774,1030,944,1046,1372,1326,1426,1268,767,812,996,900,1046,1038,547,439,489,469,466,433,362,358,416,691,1066,1284,1326,1106,764,764,648,625,790,805,830,897,849,786,808,577,568,672,902,890,1188,1372,1188,876,1021,1280,1244,1318,1440,1660,1440,1454,1376,1610,1560,1636,1354,943,979,991,816,749,742,1230,1398,1408,1332,1016,868,1036,1098,1140,998,889,737,724,733,681,1040,1576,2800,2484,1226,941,1276,1256,1042,1094,1154,1310,1180,1110,1122,1052,1320,1138,952,1536,1696,1428,1200,952,866,988,1072,1136,1248,1224,1430,1654,1208,1148,1284,886,633,774,1184,1294,1160,1234,1166,913,572,502,469,480,809,1004,1428,1664,1632,1302,877,1300,1344,771,486,410,408,441,373,464,599,485,461,391,395,406,460,475,456,502,465,414,930,1005,753,750,578,614,620,637,752,732,767,678,701,557,557,662,636,559,544,536,673,643,549,464,430,879,1278,949,671,595,498,498,504,528,568,640,465,496,532,428,449,420,314,282,294,333,370,402,536,506,424,368,317,315,297,334,328,355,373,388,432,421,431,457,453,426,453,421,453,493,502,488,551,566,408,356,370,388,450,364,406,933,1020,1114,950,498,547,843,874,495,446,605,585,999,1162,1270,1246,1152,1166,1072,1024,1036,1216,1290,1068,818,1086,1036,1034,776,931,1030,918,1178,1266,1070,1148,1023,978,815,1038,1118,1086,1092,1234,1168,815,844,1015,933,738,755,540,352,455,509,450,609,1246,1288,889,735,820,658,505,708,1013,1378,1250,1192,1032,1028,1152,1262,875,1336,1540,760,564,911,788,675,672,705,743,545,334,290,343,322,296,296,303,414,534,480,487,504,518,476,519,590,574,512,425,475,845,1018,634,447,362,564,750,713,523,449,681,1019,1030,640,447,403,467,847,873,703,869,1204,1076,727,950,1274,1150,990,1100,1009,908,767,852,1324,1430,1032,727,886,865,1084,1456,1414,1400,1442,1416,1428,1664,1548,1676,1246,1470,1586,1278,1224,1532,1492,1042,1180,1030,1038,807,901,1436,1214,1260,1466,1470,1558,1612,1242,698,391,379,343,561,981,1182,1098,1044,945,867,845,857,827,592,572,665,630,570,457,342,391,1048,1722,1404,1042,900,1084,1180,651,500,523,652,722,482,377,347,473,1038,1266,723,651,709,752,534,517,640,606,640,646,501,365,381,434,403,419,451,438,455,430,456,469,566,556,469,462,452,401,485,448,405,373,354,418,406,356,358,354,677,1042,693,278,292,392,439,452,424,369,403,472,449,514,579,496,372,359,443,420,390,466,462,448,498,464,381,333,310,301,396,504,585,646,684,668,648,560,497,499,467,396,396,571,655,533,483,462,537,494,465,499,479,514,653,763,750,691,552,560,542,620,746,572,713,1182,1490,1608,1280,975,1086,1188,902,890,1224,1062,1170,899,1208,1172,1166,1001,828,1140,1206,691,378,617,1032,800,578,374,470,875,956,916,1312,1550,1402,1304,1178,1158,927,1212,1318,1160,1118,1136,1176,956,813,1094,1278,1250,1214,1340,1552,1458,1334,1320,1354,1368,1360,1084,966,1021,845,741,926,1013,839,546,505,502,667,784,731,565,702,1056,1192,1174,1140,1074,1104,1106,563,690,966,695,909,1024,590,529,426,384,515,961,1104,808,645,914,1832,2320,1670,805,640,647,611,564,717,517,593,568,447,427,610,956,1094,824,742,810,698,710,633,462,514,424,412,418,528,654,639,639,797,921,904,512,502,574,634,697,619,821,1588,1380,725,1048,1594,1528,1534,1736,1554,1098,850,482,316,343,479,752,757,431,659,929,662,896,1226,1074,962,466,376,397,520,578,434,395,510,463,389,368,362,570,921,1108,1176,1198,1138,996,777,551,407,510,709,517,475,500,521,456,566,616,537,444,381,509,913,1186,875,510,789,1454,1366,1206,1262,1254,1372,1560,1484,1736,1688,1342,1444,1400,1484,1574,1246,551,367,361,353,378,370,359,375,340,325,326,321,313,301,285,289,330,373,407,407,418,417,387,363,358,350,322,316,334,334,325,312,314,318,322,321,319,314,309,325,339,350,366,362,354,363,373,368,375,384,363,367,375,354,343,367,359,351,349,354,356,358,358,354,348,346,344,350,350,363,342,336,325,332,331,324,328,334,340,344,343,331,327,343,357,325,327,369,399,415,426,437,431,418,418,419,440,421,421,450,432,428,420,401,408,410,422,424,412,410,397,390,381,373,375,415,409,393,399,376,372,404,403,404,398,401,415,404,411,411,392,388,387,390,400,416,396,398,373,387,386,383,385,384,378,378,382,380,386,372,378,389,380,383,390,397,404,402,394,388,376,368,366,368,372,362,360,360,372,365,354,342,334,332,333,336,333,322,339,330,317,315,312,316,312,311,321,322,320,321,316,319,326,347,349,351,357,365,365,359,364,377,379,365,351,375,402,423,444,449,440,376,356,374,345,323,318,301,274,328,310,390,448,395,330,312,309,303,308,312,307,285,292,293,299,298,304,301,308,305,309,311,310,315,318,318,325,323,320,312,317,324,321,312,320,338,340,338,338,348,344,358,368,361,356,370,353,350,356,354,349,343,338,337,337,337,332,319,323,330,332,319,323,323,316,325,325,318,313,321,332,332,323,332,322,325,336,338,337,331,315,307,322,332,332,337,343,353,353,363,345,336,338,323,319,315,309,305,295,288,287,285,281,282,277,275,275,270,267,271,278,271,269,267,276,281,286,280,285,283,282,288,286,281,281,282,288,282,275,279,286,286,274,277,294,300,300,299,297,293,294,294,294,294,286,297,292,293,297,301,299,300,323,325,326,331,320,316,309,304,307,307,301,298,292,288,271,288,282,282,286,298,298,288,288,290,286,283,280,271,276,288,275,283,276,275,270,270,270,265,271,276,276,281,281,282,285],[315,298,316,363,357,349,346,335,360,349,276,333,294,354,373,379,722,891,550,475,470,507,857,1044,705,438,401,333,471,869,822,700,687,396,394,420,679,845,1130,1084,1088,1212,1614,1366,644,596,1048,1162,772,495,361,400,798,1542,1382,662,408,346,341,384,499,939,1318,1330,1404,1224,1005,1018,1318,1208,1162,833,500,463,405,378,515,648,659,658,578,546,463,395,319,309,324,324,344,382,415,442,508,486,372,411,422,445,467,487,465,520,711,705,518,529,537,496,571,687,438,365,345,382,480,662,1001,1252,1412,1324,1007,1003,724,563,399,350,365,425,340,285,362,352,235,208,271,328,346,327,268,349,686,597,471,507,505,719,996,806,466,602,958,790,1512,1256,625,480,447,399,567,960,1266,1158,844,704,747,1132,891,847,1056,1052,980,852,666,678,524,373,422,464,502,1124,878,629,754,777,1268,1418,803,439,524,686,865,690,664,628,720,1050,1694,2070,2302,1944,1438,1316,916,990,890,1196,1820,1754,1688,1598,1516,1624,1682,1470,1340,1152,848,629,576,601,756,716,559,473,619,1190,1268,797,799,891,831,994,1320,1364,887,623,848,1228,866,583,874,1370,1428,1084,691,703,767,604,581,527,515,506,624,703,899,749,339,654,933,611,373,348,397,953,984,1182,1124,1124,1192,1152,1198,1114,1146,1688,1806,1482,852,1042,1468,1182,639,526,690,1028,1212,1316,1914,1594,704,409,450,423,429,491,566,542,472,441,456,412,510,736,802,645,617,448,354,360,366,366,354,343,350,427,474,440,393,360,357,352,353,357,380,377,389,429,435,428,373,297,367,394,461,422,362,345,380,357,422,700,871,743,419,437,530,547,695,788,811,833,1016,1616,1498,683,648,1198,1260,783,745,650,530,513,440,426,571,805,1150,1200,771,686,723,477,528,824,912,686,559,410,405,400,458,581,661,681,1292,1886,1882,1708,1864,1772,1548,1316,1436,1350,1538,1426,1046,1130,1188,965,1016,1168,1076,1372,1632,1510,1362,1222,783,630,705,1002,1038,535,583,634,659,1172,1250,990,1444,1718,1572,1354,715,422,383,394,436,772,1702,1986,1826,1792,1104,445,658,818,529,810,822,572,531,990,1528,2056,2260,1774,1202,1056,1274,1578,1774,1700,1980,1716,1356,1308,1308,1436,1522,1342,1226,1196,1156,1154,1388,1098,874,796,1220,1608,1620,1262,845,988,1142,1258,1464,1030,700,787,1060,1482,1208,1198,1488,1300,823,766,658,608,824,930,1160,1602,1444,1202,1046,1394,1780,1754,1042,658,827,962,753,525,743,1268,1412,1310,1332,1082,694,622,601,608,816,987,1400,1644,1450,1524,1252,695,807,1046,834,977,957,633,419,468,498,481,430,444,419,457,722,1028,1250,1438,1058,894,749,570,736,804,893,1102,1013,769,800,1012,498,351,354,610,1004,1238,1260,1118,1016,1118,1198,1224,1262,1610,1788,1358,1526,1810,1498,1328,1426,1216,996,948,979,778,742,729,1128,1214,1198,1356,1250,1023,844,1023,1162,1100,880,936,1212,1134,1032,1112,1432,1832,1704,1444,1594,1744,1314,932,1094,994,1340,1340,978,1072,1014,912,980,1030,895,980,1134,1019,1130,970,935,1088,1080,1036,1172,1476,1532,1246,1262,942,656,926,1296,1332,1164,1122,816,660,697,611,528,465,620,896,1116,1482,1488,1522,1342,771,1206,1344,838,455,410,424,443,415,466,645,533,503,430,507,507,547,522,500,535,471,446,793,1096,802,853,595,508,761,984,1144,1002,791,720,625,533,620,730,732,622,519,563,706,735,633,574,527,987,1288,855,671,663,605,568,547,588,604,563,437,389,445,424,351,303,277,292,283,305,390,347,375,431,401,352,321,281,274,276,242,271,304,339,367,402,453,419,407,505,550,495,469,473,477,571,610,617,497,407,369,351,393,369,379,663,865,1052,869,465,500,858,1008,821,655,670,694,871,999,1124,1210,1210,1196,1310,1344,1260,1372,1270,1009,979,1126,1132,922,655,639,777,1024,1308,1324,1028,724,797,1062,1172,1096,950,1000,1132,1208,1104,705,557,794,772,544,407,292,276,336,420,534,869,1122,1023,586,491,611,646,641,1636,1408,1430,1168,932,1020,983,940,1084,1052,993,911,908,900,1009,734,513,461,456,449,361,255,295,397,383,290,260,336,403,518,516,500,473,455,407,455,574,572,486,538,731,823,872,676,482,403,374,425,636,670,495,706,1132,1014,492,529,531,446,805,744,706,844,1012,921,612,531,747,849,990,1334,982,985,642,538,951,1366,1402,1406,1532,1476,1470,1430,1204,1146,1290,1160,912,1108,1290,1472,1382,1394,1354,1068,1166,1550,1554,1256,1400,1272,1230,1022,953,1304,1424,1346,1198,1136,1356,1580,1434,780,609,499,430,362,585,808,697,828,984,935,675,812,874,786,776,705,852,911,532,368,386,702,915,834,948,957,1484,1566,996,1150,1340,788,519,447,320,339,382,603,875,1186,1070,675,751,692,543,474,477,553,582,499,363,361,410,388,468,418,408,446,433,451,502,522,495,491,487,490,371,452,411,355,325,370,410,389,372,542,586,453,667,616,248,243,420,474,447,412,387,399,409,395,492,565,530,448,425,534,444,374,393,454,519,436,390,370,323,308,295,309,359,476,547,619,538,460,494,538,500,416,407,437,583,655,536,476,481,585,514,449,469,458,450,599,725,682,586,500,439,634,762,717,780,910,1188,1488,1460,1422,1432,1270,993,545,752,1186,1140,1160,1228,1280,1182,1164,1246,1192,1000,736,628,394,507,698,567,483,359,479,784,745,819,1506,1520,1390,1252,928,1046,1142,1114,1470,1310,1084,1072,1100,882,827,1228,1340,1362,1144,1200,1266,1296,1262,1220,1168,1164,1086,1021,1036,865,647,876,1264,1200,882,590,597,639,787,797,606,511,683,1144,1162,1050,1026,1062,1226,1192,791,554,483,642,1124,985,630,694,492,381,414,905,1310,1190,990,1172,1564,1676,1294,928,912,522,360,609,728,533,1162,1632,1114,473,600,953,1017,889,705,621,735,974,899,756,752,703,678,659,824,938,724,651,614,553,846,849,717,592,661,607,587,902,1080,732,386,498,940,1532,1640,1678,1688,1042,413,245,317,353,681,1198,957,501,464,831,707,1062,1594,1552,1350,926,576,381,492,736,633,448,524,514,433,551,683,814,1023,1156,960,689,519,386,354,337,387,508,704,499,478,499,569,507,529,576,556,500,443,468,758,985,791,496,581,1318,1388,1272,1360,1296,1270,1388,1476,1470,1386,1434,1226,1232,1306,1572,1236,555,379,367,427,585,601,414,360,336,384,359,307,309,379,384,318,305,346,393,422,432,422,388,361,338,328,315,320,330,345,338,329,327,321,326,305,300,302,315,323,317,362,379,371,363,362,374,380,379,389,357,369,380,371,351,355,357,358,359,356,356,356,355,349,350,342,343,339,336,323,324,326,325,328,331,321,332,339,343,334,336,327,335,339,344,327,322,364,409,418,424,430,446,439,432,439,442,434,422,446,442,420,419,419,433,414,416,410,406,389,386,396,390,393,390,388,403,409,403,377,379,396,407,401,390,398,417,407,402,399,388,392,394,397,403,400,397,401,384,382,385,387,383,378,378,378,373,373,385,368,371,372,378,383,390,394,400,397,388,376,372,378,373,365,365,360,364,370,365,360,358,346,342,336,339,335,328,325,330,326,317,317,328,326,307,311,317,323,323,323,312,319,329,343,347,348,351,359,365,363,367,375,384,368,357,384,397,441,489,514,471,354,328,360,331,325,310,317,268,315,323,413,447,405,344,315,305,297,297,303,311,297,305,300,296,297,297,303,304,311,310,311,312,320,318,318,318,311,310,309,315,320,318,314,313,318,323,332,342,350,350,344,367,374,358,365,359,353,368,366,350,338,336,337,337,337,334,321,317,318,330,332,312,308,318,318,312,312,318,325,328,332,316,318,325,325,334,338,334,325,324,325,332,332,331,336,342,342,342,349,353,349,329,330,324,306,319,299,289,288,283,280,282,280,274,275,270,267,269,276,263,277,274,282,269,271,272,278,281,280,283,283,281,281,283,286,288,285,279,279,285,289,288,290,299,300,300,300,301,299,295,293,294,295,292,286,290,310,313,311,299,301,312,317,331,326,320,317,310,307,308,300,294,293,288,288,273,280,281,277,277,277,276,283,286,276,273,285,267,276,275,275,276,272,272,282,271,269,267,271,275,272,275,277,275,278,288],[451,434,302,323,351,363,340,324,327,320,226,276,341,465,555,788,1760,1978,930,608,498,365,680,797,673,457,419,364,492,1046,1194,810,591,411,403,343,355,347,626,603,744,963,791,469,533,944,1504,1094,878,968,566,545,1013,1736,1404,653,502,456,358,432,507,806,1132,1204,1018,1106,1136,1044,1104,800,951,1292,955,470,386,495,611,654,560,553,600,586,549,515,373,339,366,340,350,348,325,309,379,381,385,592,793,705,504,498,532,496,564,536,502,548,525,508,598,477,321,372,382,376,619,911,875,923,1166,1328,1112,1152,1118,841,677,804,821,634,555,583,544,381,287,304,323,344,381,368,281,626,1006,650,325,419,408,411,458,565,559,1026,1172,1140,1376,1066,733,758,607,479,426,373,647,1070,1011,857,831,1204,1138,1048,1302,1264,874,702,574,641,595,462,522,516,590,1156,1112,755,836,902,861,1042,1026,625,589,583,513,579,515,563,1562,2574,2724,2602,2048,1088,1078,1110,639,777,1104,1512,1784,1738,1638,1554,1404,1212,1294,1378,1274,1222,1264,692,571,435,526,603,639,594,786,1236,1112,756,1084,1164,1214,1122,1136,1276,1202,1036,941,1016,890,918,1266,1482,1052,882,653,508,620,468,515,503,458,471,468,742,1262,1222,561,392,494,437,337,420,729,1236,1164,1180,998,703,753,1016,932,828,937,1614,1544,1538,1236,987,1176,1274,974,608,530,741,730,711,1160,822,628,507,501,433,449,500,503,542,508,455,509,484,517,634,606,459,364,335,299,287,329,343,351,361,361,352,368,399,373,338,330,327,339,345,377,391,372,402,398,382,328,309,384,397,455,444,367,334,340,361,446,593,738,623,509,619,831,706,643,777,1128,1098,1024,1176,863,502,444,640,965,605,537,612,598,497,391,433,477,508,738,797,616,569,429,382,593,648,908,1324,887,415,434,442,505,706,1316,785,806,877,1120,1686,1742,1442,959,1068,1456,1180,1186,1238,1138,1186,1348,1146,1466,1200,681,684,955,1158,1454,1648,1344,1116,927,805,770,521,667,696,871,1782,1706,1130,1704,1610,1344,1274,910,631,476,400,402,1122,1818,1898,1880,1832,1116,381,497,708,526,750,827,764,655,835,983,1562,2020,1848,1640,1732,1502,1230,1358,1302,1588,1542,1438,1340,1098,996,907,1021,1138,1122,1188,1392,1488,1058,762,760,1332,1344,1002,913,709,581,665,869,1258,1430,1096,995,1054,1322,1004,1100,1180,798,561,725,677,587,1098,1250,808,1340,1550,1254,978,1312,1816,2178,1772,1216,1476,1728,1278,603,907,1310,1330,1482,1666,1390,974,944,835,509,433,792,1386,1242,963,1160,1036,634,879,1298,822,733,1228,1005,435,461,523,497,368,387,480,462,709,885,1232,1450,1086,940,881,1138,1354,1052,1162,1440,1338,1038,940,891,517,416,479,670,950,1220,1218,1190,1212,1394,1378,1362,1326,1450,1478,1350,1898,1908,1023,849,751,692,1002,993,954,762,682,718,1094,1286,1482,1584,1250,912,689,1090,1210,1316,1278,1032,1262,1704,1700,1416,1348,1350,1500,1760,1810,1890,1538,1248,985,943,1122,1250,903,868,812,686,927,921,749,756,711,1014,1004,1024,1204,1224,1128,1092,1250,1390,1202,1224,1018,781,966,1214,1234,1282,1310,1072,658,711,1082,967,689,581,763,996,1376,1522,1490,1498,1194,662,1034,1354,873,420,403,426,433,448,416,507,488,572,624,671,608,571,525,522,516,455,418,675,1184,700,717,610,575,750,1180,1352,989,704,559,433,514,650,779,772,740,714,625,597,583,576,557,647,1160,1246,684,699,644,627,588,554,596,604,568,534,505,463,377,371,341,331,337,304,320,363,377,382,399,425,395,332,283,242,215,243,258,271,320,330,400,491,432,467,580,569,547,597,699,663,628,585,498,503,483,487,466,459,410,435,544,484,488,450,397,410,846,1210,1150,973,694,537,783,1060,1112,1318,1284,1288,1312,1116,1270,1300,1134,1122,1368,1512,1258,987,780,482,772,1194,1011,752,601,455,720,1092,1236,1068,897,1060,1324,1204,1014,750,477,476,325,351,304,292,282,294,368,642,937,1028,869,560,593,560,536,510,780,753,865,835,731,668,532,480,835,974,1032,1354,1124,876,655,395,294,280,272,284,293,262,343,448,443,302,323,420,455,505,520,506,479,458,457,469,542,515,434,515,611,733,759,623,564,504,415,365,448,644,731,703,771,682,409,529,572,440,471,425,630,830,974,1042,960,624,593,802,765,593,724,915,481,353,490,948,1534,1736,1774,1780,1792,1716,1692,1592,1468,1454,1248,1102,1152,1156,1172,1116,1005,991,1126,1332,1516,1572,1532,1288,1250,1490,1624,1502,1452,1278,985,857,1340,1754,1356,794,1110,1026,655,409,491,733,615,722,1074,1142,894,744,740,568,437,628,1238,1248,744,646,720,752,986,841,843,883,1090,924,801,1514,1682,990,642,424,368,602,491,456,661,1266,854,591,643,483,321,293,347,325,406,448,370,408,455,399,416,357,356,410,468,523,487,398,375,413,354,309,328,382,348,336,366,392,377,353,383,638,797,655,704,857,513,453,528,547,559,476,380,430,446,397,427,486,451,415,417,420,385,431,438,453,423,421,443,386,366,463,397,330,334,415,511,552,539,586,613,594,502,557,500,415,515,585,594,585,589,656,690,583,502,474,465,545,620,600,583,520,430,719,769,572,667,722,797,971,818,862,1294,1180,924,988,919,893,1086,1182,1200,1316,1076,835,1038,1158,782,530,785,650,639,778,817,704,556,503,708,901,1094,1430,1210,1076,1070,1028,1184,1240,1278,1352,1454,1338,978,835,752,811,1424,1356,1416,1318,1288,1346,1278,1190,1182,1206,1180,1068,1005,772,774,658,645,1016,1078,778,540,568,634,703,655,493,461,632,1100,904,804,852,1038,1136,1116,966,752,606,1182,1280,852,631,684,653,465,1042,1476,1082,977,1122,1136,949,749,545,708,922,648,399,471,426,462,1288,1956,1328,516,795,1224,973,1036,1026,926,950,932,1042,1052,694,635,736,536,739,957,614,512,639,684,639,875,949,672,514,415,394,730,1112,960,838,965,1036,1378,1542,1562,1264,647,357,365,412,510,716,911,681,491,336,714,917,1300,1558,1338,1272,1168,692,330,463,859,777,584,769,913,839,935,896,738,806,924,620,395,417,404,385,364,360,369,579,550,515,475,532,527,507,554,537,520,523,557,740,923,758,480,501,1138,1450,1336,1324,1372,1360,1412,1426,1346,1332,1378,1542,1638,1548,1822,1210,467,328,329,417,585,554,386,340,340,401,360,316,320,505,561,419,336,311,370,419,422,406,383,354,338,334,331,324,322,328,330,336,326,315,335,318,308,315,323,313,313,339,350,345,350,358,372,380,357,361,354,361,366,366,347,347,358,354,354,364,354,358,358,344,352,342,343,336,326,326,334,340,326,321,321,329,332,344,336,334,335,321,323,330,329,318,317,346,382,430,436,421,453,453,438,430,434,438,432,444,451,430,433,438,449,425,422,419,412,405,397,386,384,389,385,386,398,422,401,379,383,396,407,407,399,406,411,402,397,390,383,392,394,398,391,386,394,394,389,382,379,383,386,394,397,385,368,377,384,389,373,375,372,368,386,400,398,391,384,373,377,375,368,370,373,365,362,370,369,368,346,348,347,332,346,339,323,326,333,326,314,319,330,326,314,303,310,323,320,305,324,316,330,337,333,345,351,359,359,357,365,375,387,375,356,386,412,454,500,476,392,339,340,338,304,317,319,312,301,285,321,414,472,437,351,318,309,298,292,297,307,305,304,300,305,310,310,297,295,305,308,311,311,311,313,311,315,320,314,312,318,320,329,323,310,318,326,337,344,348,352,344,361,370,361,362,356,348,346,343,341,337,337,337,337,337,335,324,318,318,323,318,294,318,304,313,328,327,318,321,313,330,325,311,328,331,325,330,330,325,325,331,334,328,328,335,340,338,336,345,350,342,333,329,321,315,296,285,287,288,286,281,281,275,275,272,267,269,267,274,278,287,286,276,278,277,268,276,274,274,276,274,275,280,274,276,290,293,283,281,288,288,299,311,310,300,300,300,299,304,304,298,293,294,294,293,293,299,311,309,295,308,320,328,322,317,317,316,312,307,307,299,299,294,296,290,284,277,274,279,284,283,281,280,277,269,269,261,267,273,271,267,275,275,275,268,268,264,276,289,282,269,274,275,274,278,281],[419,433,297,332,360,285,296,345,348,328,294,470,658,810,1024,1194,1978,2008,1210,714,775,915,1274,1188,877,486,338,350,397,776,1246,725,365,257,227,313,345,284,299,298,484,697,503,436,718,1084,1450,887,595,896,976,788,822,1256,1068,520,708,742,445,367,364,601,956,1222,1086,987,1494,1650,1212,989,1130,1562,1308,722,462,659,666,627,562,528,562,533,520,448,371,378,369,325,328,325,303,290,312,422,521,697,948,877,569,456,525,600,673,612,513,466,492,625,729,515,279,308,378,385,605,897,807,1348,1184,780,691,802,860,813,964,1232,1072,1086,1148,958,822,514,339,467,553,683,786,671,599,1028,1578,1214,655,700,633,498,645,842,623,579,885,1152,1190,1174,1158,1098,794,633,421,477,677,880,922,877,1080,1100,895,993,1260,1148,797,801,839,811,791,817,800,658,695,1104,1206,897,872,741,517,768,1418,950,569,496,485,547,579,589,1470,2602,2284,1630,980,1122,1794,1418,976,1198,1460,1510,1678,1756,1474,1440,1440,1238,1110,1088,1148,1792,1846,1196,743,443,503,702,746,738,1032,1094,1088,908,1386,1146,1062,1198,977,1092,1268,897,654,747,1224,1350,1108,736,579,517,446,363,373,339,397,373,372,473,524,569,921,1086,613,404,373,341,361,940,1216,1202,1210,1002,984,799,915,1108,874,939,1266,1302,915,1100,1414,1550,1394,1334,1218,761,675,793,1001,1124,894,489,477,519,472,446,423,406,408,440,428,440,428,400,375,334,314,338,333,302,293,306,348,360,370,398,412,440,461,463,384,335,332,336,354,361,368,367,312,338,348,372,350,327,380,387,444,507,444,335,343,340,383,619,784,750,1009,1034,1052,836,654,1136,1442,1102,792,719,644,444,450,717,746,651,549,508,655,609,398,368,396,266,373,732,656,494,552,889,1300,1314,1656,1992,1278,561,433,420,449,505,778,750,854,1244,1698,1634,1178,741,608,689,973,1338,1544,1288,1238,1412,1338,987,1002,904,599,671,1164,1382,1608,1718,1422,1254,1010,740,660,564,568,607,1016,1888,1714,1084,1494,1476,1626,1422,1362,1220,963,835,912,1166,1350,1388,1322,1426,1006,643,648,1026,742,560,810,1122,1212,1056,1108,1290,1362,1438,1478,1864,1494,1620,1596,1474,1434,1526,1576,1342,1090,1005,675,716,928,1118,1140,1272,1498,937,576,548,510,458,478,695,875,850,881,760,800,1192,1070,969,885,1154,1394,1624,1516,868,708,1060,1106,1432,1848,1708,937,1444,1692,1124,1074,1266,1070,1114,1098,1328,1612,1646,1066,563,911,1358,1320,1260,1268,949,608,702,756,633,556,604,1028,896,822,1080,725,669,1088,1238,811,769,1204,1044,461,520,481,395,305,345,447,514,951,1078,1238,1522,1240,865,882,1454,1444,948,1017,1174,1021,769,673,526,573,798,954,1001,898,1288,1382,1282,1226,1280,1104,905,1198,1294,1152,1478,2018,1460,728,851,871,791,857,638,777,778,690,909,1352,1566,1546,1394,1007,1116,1044,1660,1992,2148,1894,1136,739,1060,1242,1156,1108,1082,884,1194,1372,1468,1328,1242,1324,1028,764,899,830,633,405,677,1464,1678,1324,1010,882,815,673,964,1166,1124,1078,1028,1224,1378,1164,1005,854,1112,1290,1328,1362,1440,1320,998,1002,1422,1360,1062,851,680,894,1130,1440,1478,1490,1522,1288,741,894,1368,920,387,377,403,412,452,419,458,465,556,636,612,581,555,526,506,454,419,427,594,1126,772,670,623,597,843,1508,1720,1072,901,711,518,474,536,683,727,742,767,671,567,543,498,501,732,1324,1062,1034,903,765,650,624,615,634,627,586,528,456,437,405,375,346,353,333,379,411,391,412,415,460,491,451,357,337,314,310,305,277,285,340,332,334,396,438,498,556,522,527,563,628,600,540,517,527,640,660,679,744,656,628,698,696,628,573,560,582,696,1130,1318,1216,1116,828,446,762,1314,1400,1448,1390,1304,1188,1006,1014,984,1310,1556,1500,1504,1408,1158,810,509,670,738,509,566,584,480,649,867,940,1036,1118,1002,1004,727,479,450,397,305,239,270,323,308,292,298,296,465,597,821,873,807,681,585,584,539,559,673,644,582,599,485,483,422,720,1268,1306,897,673,636,503,368,340,348,294,257,255,290,368,431,372,314,361,424,444,444,494,538,559,489,473,450,443,427,482,562,744,883,813,745,668,684,545,510,408,574,750,769,566,511,487,534,505,475,419,580,983,860,774,961,1042,880,639,738,622,357,669,678,383,353,521,942,1482,1590,1628,1388,1472,1584,1614,1622,1620,1450,1284,1356,1396,1382,1370,1088,991,1030,1160,1208,1328,1444,1432,1252,1362,1750,1790,1448,1454,1414,1166,1138,1362,1460,931,687,1114,751,368,341,375,583,651,668,1070,1042,757,744,799,794,565,535,950,1180,645,732,846,905,1224,646,553,831,844,906,910,877,935,811,716,452,562,881,461,429,460,530,680,692,547,414,297,280,308,290,292,383,464,546,568,504,444,383,356,384,441,522,476,428,462,435,367,316,338,367,343,309,343,399,436,445,955,1504,1252,857,920,865,535,399,431,518,514,476,528,557,535,562,595,432,383,461,463,419,509,574,533,436,394,453,498,418,337,341,326,358,352,386,461,416,484,722,718,650,518,590,492,463,514,500,564,681,734,800,739,493,526,485,505,568,556,561,600,582,490,566,629,608,627,618,573,670,729,626,1074,1086,1268,1522,1244,1222,1288,1316,1270,1612,1194,915,701,824,596,515,731,841,1076,1348,1344,1218,860,727,774,915,1334,1268,1122,1104,1202,1116,1116,1210,1282,1572,1904,1144,950,1376,888,933,1476,1146,1264,1376,1386,1320,1214,1224,1288,1300,1162,778,556,499,702,758,631,566,614,653,586,527,517,536,565,533,498,542,713,956,1128,1110,980,1086,1124,854,971,1124,1498,1278,924,722,707,583,869,1708,1532,747,368,643,843,947,602,486,646,763,515,448,402,347,1050,1444,975,935,767,578,790,874,968,1400,1180,885,694,1100,1330,822,984,1188,557,736,1038,902,615,745,1038,777,612,849,836,513,451,437,642,1094,981,916,1160,1508,1572,1520,1288,883,488,372,396,379,429,387,397,668,641,453,662,991,1202,1290,1282,1260,1028,495,325,519,874,1070,1154,1158,947,791,741,610,419,541,789,531,425,543,674,470,400,407,393,547,639,542,466,520,502,458,468,495,529,525,634,721,844,742,543,464,933,1366,1350,1460,1320,1144,1396,1396,1406,1372,1342,1426,1178,918,763,561,376,319,313,325,312,312,339,305,326,348,383,391,335,407,461,400,325,314,369,420,422,389,378,361,343,338,334,334,315,309,318,343,335,323,333,342,342,344,341,322,310,328,322,348,357,369,363,363,360,367,363,347,343,351,346,349,353,351,346,362,349,352,348,342,352,338,335,343,335,330,329,324,326,332,313,337,331,347,348,351,348,337,333,341,332,314,307,339,366,430,442,421,446,473,463,432,425,444,437,446,448,457,446,422,433,433,425,422,413,400,389,388,382,382,384,391,384,399,411,387,383,390,403,413,411,411,404,403,398,392,379,386,383,378,383,396,400,392,391,384,379,379,385,385,384,377,365,370,376,375,375,382,380,365,392,390,392,392,389,388,383,373,372,368,364,365,360,358,360,357,352,354,350,333,340,336,320,318,336,333,308,320,319,317,316,310,315,320,316,306,302,309,330,338,332,329,353,357,356,359,363,379,386,379,372,393,427,465,485,385,319,349,336,316,320,348,345,331,305,281,328,429,483,441,375,321,310,294,290,295,299,299,297,298,300,297,293,300,312,297,298,297,309,305,302,309,310,311,317,325,309,318,339,329,318,323,329,337,344,348,350,349,358,365,361,356,353,350,344,337,335,335,332,330,332,337,336,328,324,326,328,322,322,308,305,314,318,316,318,319,316,314,307,322,321,321,338,319,334,332,319,338,334,324,331,343,349,338,349,353,345,338,333,326,315,310,299,292,287,288,286,283,281,275,269,267,269,269,267,272,278,275,272,275,274,271,272,275,276,278,280,288,290,288,285,288,293,293,289,288,292,293,312,313,310,309,302,301,302,305,310,312,292,294,293,293,293,300,313,292,299,309,309,307,309,311,310,309,308,307,305,301,301,301,297,288,281,271,271,280,282,279,281,274,273,268,269,264,268,265,261,263,264,267,274,268,262,254,263,264,268,268,271,276,274,277,281],[401,423,315,326,371,390,394,496,633,629,566,780,1108,1424,1700,1684,1500,1334,1098,871,1126,1400,1424,989,505,321,352,336,276,415,678,423,312,372,360,417,364,240,278,318,419,653,689,920,1560,1640,1482,1254,886,766,856,868,948,1162,1076,704,937,936,717,443,299,426,714,1188,1066,732,1288,1304,834,985,1274,1394,1322,1174,771,767,723,639,566,518,413,332,324,313,300,326,308,310,308,313,305,307,325,459,619,669,667,656,530,449,561,586,608,646,571,488,466,550,505,367,264,279,392,486,697,1054,1332,1598,1010,667,452,542,830,667,739,1172,1102,1216,919,559,738,648,461,710,683,622,829,828,709,667,927,1184,1160,855,835,853,913,855,904,1066,1086,1142,1314,1348,1202,880,872,645,569,604,754,819,729,872,1068,963,738,898,1164,729,668,618,496,439,656,774,703,635,713,1074,912,1005,1296,880,472,444,880,745,502,510,540,576,775,740,1086,1744,1268,894,1021,1766,2070,1788,1360,1546,1766,1578,1476,1618,1604,1680,1584,1554,1120,1090,1844,2040,1832,1858,1428,891,615,612,860,1036,1028,769,943,999,876,1168,1078,918,892,1098,1011,771,1198,1350,1506,1012,729,514,377,311,292,257,245,271,355,415,412,550,672,569,489,392,294,299,310,350,679,1170,980,775,730,574,1004,1226,1136,1116,993,1216,1224,943,1000,1214,1256,1530,1364,1074,771,539,843,1282,1472,1306,1032,825,935,808,481,400,356,385,455,474,441,498,417,354,346,331,337,331,300,300,339,332,333,320,346,374,426,498,479,440,384,342,353,368,373,372,362,406,420,408,342,324,318,315,346,357,388,484,454,341,314,328,516,801,719,958,1226,1000,918,757,679,1198,1738,1532,1026,776,847,732,791,810,728,804,689,495,617,626,550,451,333,251,286,530,686,794,999,1094,1368,1578,1728,1682,943,521,392,452,460,495,594,748,1136,1636,1528,1232,887,532,807,1112,1338,1636,1560,1170,1344,1372,990,569,557,660,567,622,1324,1298,1238,1362,1242,1194,1062,791,587,532,550,522,606,1082,1356,1044,1110,1186,1124,1084,1606,1690,1252,999,881,957,1398,1290,1144,1015,743,951,1002,1128,1024,776,862,1310,1480,1024,1102,1376,1332,1202,1392,1568,978,735,802,1158,1574,1592,1470,1384,1266,1140,776,706,900,1224,1772,2018,1760,1052,501,437,591,726,701,669,658,681,726,585,728,863,910,913,626,693,1354,1906,1908,1624,1538,1350,1130,1684,2070,1814,1492,1932,1654,1032,1294,1356,726,588,677,774,911,1118,1124,770,964,1188,1162,877,633,688,472,434,445,494,825,1023,1064,776,875,950,633,720,1150,1608,1606,1136,948,749,493,491,427,415,545,743,706,780,1202,1262,1126,1290,1232,1154,1302,1560,1400,1092,985,918,750,948,894,478,740,1166,1626,1438,1015,1102,1008,984,1074,1136,1354,1550,1742,1908,2074,1494,1494,991,759,1140,1402,1514,1013,479,625,651,538,767,1023,1398,1462,1256,1228,1416,1148,1430,1804,2170,1922,1408,1212,984,1144,1310,1200,954,828,1152,1138,1280,1134,1164,1518,1114,743,880,843,731,494,948,1898,1986,2026,2082,2260,2072,1616,1448,1270,1066,1224,1378,1194,1328,1114,1036,1308,1448,1430,1378,1338,1574,1494,902,840,1288,1094,829,811,934,896,1260,1434,1436,1430,1448,1328,888,797,1356,995,440,344,391,387,383,416,527,532,483,477,451,423,414,434,458,439,453,454,566,1044,969,752,616,452,755,1262,1454,1350,1198,974,698,483,449,514,611,736,720,530,490,606,518,457,844,1470,1132,1356,1540,1696,1220,796,620,612,626,603,560,437,402,432,427,478,447,340,359,365,357,369,397,438,404,404,414,436,383,372,363,311,329,439,459,401,397,383,403,498,598,618,520,547,501,448,496,603,647,753,1028,1230,691,999,1082,1040,851,535,457,585,893,1256,1448,1338,1346,1106,582,684,966,1019,977,1264,1274,1106,910,684,733,1024,988,1118,1200,1270,1176,985,693,419,306,298,475,506,425,593,763,738,663,738,620,462,299,293,321,303,315,335,281,274,264,286,299,261,532,847,976,1028,904,776,741,693,585,492,606,688,509,459,496,747,490,494,743,655,565,612,655,628,452,373,396,292,248,242,275,349,463,386,314,296,379,445,422,498,578,615,546,498,437,399,414,591,838,904,777,902,1112,684,569,575,804,522,622,628,655,559,463,627,875,767,598,622,742,921,821,554,710,1038,1122,737,535,393,273,342,380,370,493,889,1220,1502,1146,946,833,1094,1392,1426,1404,1296,911,689,709,1216,1566,1572,1604,1566,1444,1468,1302,1190,1260,1202,1210,1284,1018,1108,1316,1426,1404,1146,1102,1238,1404,954,855,1184,577,373,314,388,434,637,766,915,1002,887,622,811,1009,479,449,832,1076,476,375,681,1096,973,474,423,439,518,587,709,860,921,830,929,717,716,658,699,1192,1058,979,680,459,346,364,390,505,623,468,302,346,531,656,625,572,502,375,338,390,388,492,497,436,566,537,407,360,332,325,300,292,382,448,468,634,1450,1476,846,493,422,386,390,417,428,405,390,382,402,363,406,358,484,429,333,478,589,652,608,624,590,422,392,457,472,385,354,296,249,307,312,338,394,336,480,759,670,561,454,577,598,539,445,389,521,723,810,883,807,637,575,477,494,536,523,484,463,431,436,544,713,759,741,713,489,482,553,572,1100,1166,1048,973,1007,1386,1312,1176,1180,1486,1354,1074,980,1124,855,517,558,684,1040,1416,1270,825,676,863,843,1148,852,790,938,1050,950,766,1013,1322,1314,1302,1390,996,1072,1128,591,694,1198,1244,1184,1302,1310,1322,1252,1074,1236,1274,1120,840,875,1092,870,553,512,387,408,517,514,512,484,515,486,486,513,528,666,802,927,1098,1030,1128,996,943,1152,1444,1302,1146,1202,949,610,723,1418,1764,1372,781,507,452,385,691,918,688,783,659,640,861,600,374,620,751,966,861,769,624,597,999,956,1096,944,465,341,813,1218,1116,1374,1486,633,602,789,1280,979,728,898,701,584,756,895,912,653,458,357,331,336,600,1064,1160,1158,1236,1244,1005,420,392,475,496,443,391,571,1142,919,345,422,730,783,445,667,1088,916,753,854,987,1142,1088,1054,861,404,371,412,406,431,594,860,564,446,961,1468,961,492,419,395,569,729,548,432,556,585,546,535,466,595,680,599,570,637,637,572,470,550,708,1023,1362,1046,1021,1368,1302,1128,1242,1510,1178,745,780,516,382,346,325,335,353,363,335,316,328,316,324,412,403,336,325,346,350,323,303,352,404,400,383,371,350,339,339,334,336,327,322,327,338,335,335,333,350,368,348,331,316,307,327,329,339,352,366,357,363,366,360,365,360,351,359,349,353,346,341,336,352,355,350,339,337,337,328,332,346,335,322,321,332,328,316,328,332,332,343,344,343,344,343,325,329,341,335,319,332,364,422,440,437,459,480,473,444,450,453,442,433,442,471,455,410,410,431,436,424,407,400,390,388,397,397,390,393,382,394,414,407,401,379,396,407,404,409,394,407,401,394,380,382,384,390,401,397,392,385,392,385,379,379,380,383,385,380,378,378,376,368,373,385,391,395,395,388,388,389,390,388,383,377,368,350,339,351,360,354,360,351,357,339,342,342,342,337,323,318,332,336,328,334,330,325,322,319,317,317,313,309,310,313,317,333,348,328,351,356,361,367,364,380,389,382,384,404,438,462,415,351,359,349,319,300,320,346,354,345,322,303,336,427,500,460,394,337,315,298,287,285,290,293,292,291,290,290,298,298,301,299,299,292,305,308,302,314,318,309,320,323,324,306,321,321,310,314,326,339,344,346,349,350,358,358,356,356,350,348,339,332,330,328,328,332,330,332,334,332,324,330,330,322,321,314,312,311,302,300,309,319,318,318,312,318,321,324,321,319,337,331,328,331,313,330,337,325,318,328,336,327,336,338,336,320,305,302,292,293,292,286,272,287,283,276,270,267,267,270,274,277,282,281,283,281,281,285,285,286,289,293,295,299,300,301,301,300,300,301,313,302,302,307,305,299,300,300,302,309,309,312,314,325,297,292,298,293,279,301,316,320,313,297,299,300,308,308,305,302,301,299,298,298,296,294,290,282,274,269,268,269,273,274,269,275,270,265,270,268,269,269,274,276,281,262,268,269,264,258,255,267,277,272,271,276,275,276,281],[394,388,303,307,465,572,426,518,849,919,946,966,1036,1410,1482,1216,903,717,753,744,961,1372,1202,590,266,240,246,194,182,213,248,252,537,673,487,503,460,235,309,303,282,358,625,947,1168,1188,1364,1190,713,515,464,521,799,1170,1324,973,1116,894,770,579,380,396,486,493,552,913,1054,664,528,843,1074,1268,1360,1256,982,786,656,544,455,407,310,282,278,297,259,283,290,301,304,298,289,289,310,422,595,564,464,464,456,460,452,442,467,586,625,498,482,479,368,359,287,281,365,457,902,1410,1754,1384,902,663,345,599,1168,1404,1228,978,1044,1428,878,639,756,521,724,1208,832,768,934,509,254,339,509,750,671,403,586,826,830,853,1272,1476,1422,1476,1344,1034,1322,1236,832,866,1074,889,1002,1148,1012,992,984,904,794,1206,1338,877,688,611,475,369,491,564,560,533,540,908,517,969,1570,1322,872,899,1060,753,634,739,749,651,818,659,527,607,741,767,1568,1918,1996,1854,1532,1706,1564,1360,1206,1488,1584,1528,1316,1312,1338,1864,2004,1788,1856,1722,1864,1746,1216,897,1102,1342,929,763,1009,1210,849,886,948,697,582,1003,1324,1446,1678,1628,1272,669,474,465,463,415,306,286,245,283,379,468,536,622,639,576,432,303,265,264,281,390,771,1224,1562,1192,979,839,1290,1188,1252,1090,1102,1372,1094,867,1004,1316,1346,1422,1348,1120,719,424,858,1258,1196,915,637,1056,1782,1366,563,477,661,845,687,532,509,595,466,368,367,352,332,314,290,283,331,375,380,375,363,341,331,310,296,321,326,346,372,377,367,384,414,480,496,399,336,334,308,321,390,435,388,381,372,380,351,342,564,855,857,882,936,904,936,571,486,1076,1764,1410,1238,1200,1092,981,966,1090,1048,767,537,426,391,399,480,627,436,273,328,451,595,1046,1462,1196,1124,1366,1486,1064,576,444,447,491,532,533,709,1100,1426,1310,949,1238,1172,744,1050,1184,1214,1400,1528,1328,921,736,866,581,551,773,1003,786,1080,945,1019,1005,948,969,976,1009,998,977,720,755,916,816,1384,1314,1234,1072,998,943,1198,1592,1362,1013,1132,962,1370,1320,1416,1240,1122,1132,1010,920,780,1004,1228,1390,1428,873,924,1352,1540,1816,1898,1494,996,740,640,866,1048,1012,1188,1340,1500,1354,1094,983,1017,1424,1842,1598,1302,1158,880,991,1102,943,833,644,534,545,546,574,766,944,912,768,610,735,1388,2008,1990,1650,1200,858,769,1108,1244,797,1070,1676,1414,792,1012,1168,656,454,498,564,541,657,765,856,1070,944,957,1186,881,857,772,628,685,667,919,1128,943,650,668,753,1005,1202,1176,1428,1482,1206,963,799,677,540,478,536,938,1296,1406,1538,1362,1192,1154,1310,1418,1338,1628,1604,1230,1048,1044,965,982,1400,1034,675,813,954,1614,1416,1082,971,985,1766,2470,2402,2038,1322,1302,1604,2312,1618,1610,1298,967,1272,1486,1562,1238,615,852,1092,532,871,1080,1042,1112,1088,1272,1268,891,562,597,882,1266,1612,1194,1056,1224,1284,891,857,1120,1302,1266,1290,1130,1168,1420,1310,1228,1278,1520,1266,532,683,1218,1680,1938,2448,3364,3416,3030,2684,2142,1554,1412,1196,1114,1196,1166,1318,1440,1412,1372,1344,1382,1584,1130,1042,1092,1434,1092,780,960,946,1094,1450,1522,1472,1438,1438,1392,932,711,1246,1072,518,357,391,361,358,410,484,465,392,362,383,400,365,362,371,372,420,455,487,931,1168,906,785,606,759,1118,1072,1208,1232,1284,1004,751,581,436,460,588,594,480,492,554,527,456,1204,1734,1674,1164,1958,2646,1594,941,588,541,560,573,480,381,372,401,410,451,447,378,346,331,310,302,376,410,338,388,442,502,562,536,484,458,451,571,510,464,555,485,416,505,613,742,735,579,479,445,593,698,650,816,1322,1302,579,970,1210,1480,1138,516,379,386,457,847,1332,1178,1556,1288,837,828,687,742,738,1068,1318,1170,1050,876,861,1018,956,877,841,948,1038,883,610,406,411,437,381,363,381,401,542,885,957,619,575,620,534,386,305,235,321,411,294,302,336,274,269,267,606,1120,1064,1042,1038,803,763,860,719,462,518,693,474,371,461,509,361,390,492,511,481,539,833,1144,655,412,364,285,247,272,270,303,291,274,302,325,337,447,477,555,585,568,530,503,449,425,411,587,735,648,644,688,842,647,623,565,507,430,447,481,598,572,432,505,1096,1440,1182,877,922,1130,912,647,820,1140,999,607,472,363,361,531,430,323,472,762,906,1288,1222,705,502,711,869,942,934,807,543,476,652,1110,1298,1422,1502,1500,1560,1500,1444,1536,1494,1450,1504,1348,1180,1206,1162,1246,1116,846,1014,1484,1648,1064,998,1094,455,316,288,386,409,728,694,700,977,811,522,824,954,453,325,388,475,357,305,489,1003,840,402,396,383,400,382,500,549,726,637,584,760,780,635,764,732,920,1324,586,705,773,446,367,832,1268,731,350,375,498,567,502,453,458,390,414,461,438,474,488,390,385,405,407,353,314,320,322,367,493,441,372,438,554,447,392,378,398,422,426,406,380,366,378,426,446,414,423,375,624,742,404,468,435,365,400,523,609,673,543,454,420,379,408,375,235,279,282,303,396,387,430,624,567,469,461,534,618,607,495,485,583,731,778,892,884,756,561,462,486,466,452,433,464,579,611,583,714,831,919,800,721,627,502,662,1110,1188,1016,1196,1232,1040,797,749,909,1110,1256,1184,1166,1254,896,386,379,531,844,1060,1058,702,639,685,927,1006,531,491,646,778,677,515,836,1328,1312,1368,1318,1208,1256,1312,943,603,857,1098,1196,1312,1310,1470,1338,1148,1194,1174,1194,1116,1192,1154,695,471,552,390,434,451,763,711,467,480,438,409,418,439,526,513,522,715,950,667,780,1076,1196,1300,1124,1042,1168,1150,1190,1704,1678,1282,868,1094,1218,702,377,844,1058,949,1124,1016,820,678,462,500,823,694,694,662,736,565,576,739,568,538,565,422,429,547,960,1130,912,795,522,627,752,1178,969,492,459,559,1084,1324,827,885,710,427,295,417,480,927,1410,1180,748,779,1118,683,584,781,1094,1080,641,344,554,1210,1126,472,361,667,953,529,686,790,837,875,854,816,1030,962,1090,1004,532,748,623,626,659,761,1036,745,501,1202,1898,1350,583,500,440,473,615,598,449,658,727,667,619,787,1184,1130,714,593,597,542,534,433,400,444,630,949,802,860,924,850,821,1034,1304,1036,535,525,487,371,350,323,339,332,444,454,314,328,328,346,377,375,395,333,356,338,307,296,351,393,379,377,366,367,346,334,322,330,339,336,329,328,332,335,323,339,369,341,337,346,324,315,339,340,346,350,349,357,355,351,365,364,360,367,349,342,361,343,343,350,346,341,337,337,337,333,331,326,318,316,319,328,324,312,315,325,330,343,346,349,355,345,329,322,345,356,345,334,356,398,430,436,433,437,455,452,450,425,456,440,433,453,456,438,420,431,438,428,423,415,405,405,407,397,389,398,388,394,409,399,401,409,391,397,404,404,390,402,403,391,383,385,385,382,391,389,386,394,386,386,380,376,372,377,380,383,385,385,385,382,377,391,386,398,380,384,386,383,376,375,373,373,372,357,356,358,360,357,354,351,346,346,342,332,340,340,328,325,330,330,325,315,317,320,319,317,316,316,317,309,310,317,318,326,333,351,351,356,365,373,371,381,395,377,386,406,434,463,390,356,428,404,357,365,338,329,353,375,331,290,310,391,497,489,412,356,330,308,293,287,290,292,292,293,296,298,298,297,296,297,298,299,314,318,313,318,323,318,323,307,323,320,329,327,327,333,338,338,344,349,350,352,356,356,356,350,348,343,337,337,337,328,324,325,332,332,326,325,324,323,322,316,311,312,312,311,304,299,308,318,318,318,318,319,322,321,325,327,319,334,337,332,340,338,335,332,330,339,339,344,354,354,338,321,320,298,295,294,294,296,272,284,287,274,267,271,269,275,282,281,281,286,285,286,297,293,290,298,301,302,301,301,299,290,288,288,301,299,325,314,310,300,290,294,299,300,301,305,308,309,307,310,305,280,293,310,309,310,312,323,323,298,301,301,300,301,292,289,289,285,286,288,285,288,285,281,279,263,269,279,279,279,264,274,273,261,263,263,269,268,265,255,273,263,263,268,267,257,259,274,282,281,276,271,275,275,281],[355,350,340,386,744,912,494,537,928,965,1004,825,814,1216,991,835,724,475,530,626,855,1202,1154,799,467,313,228,244,257,247,330,392,413,319,282,485,587,345,565,520,354,283,328,324,281,352,451,384,312,333,386,492,541,819,1306,1450,1130,883,733,520,305,286,330,361,480,668,705,501,465,491,509,774,982,971,797,697,739,546,400,322,274,279,276,298,299,300,291,298,306,335,362,343,393,487,567,559,553,491,468,503,565,556,491,523,645,633,439,331,333,285,265,305,334,399,518,833,1088,859,695,467,214,382,932,1824,1438,663,592,937,831,772,735,497,724,1076,743,498,434,348,293,401,523,869,739,451,532,834,911,1058,1554,1930,1410,1318,1344,938,1246,940,457,661,801,871,1070,1276,1050,603,583,720,822,996,857,672,544,486,465,491,496,594,574,651,612,753,484,769,1046,1005,791,1190,1502,1118,871,761,671,555,544,422,383,536,731,653,1338,1930,1860,1514,1542,1610,1490,1672,1416,1254,1430,1308,913,1026,1352,1490,1510,1700,1328,978,1626,1858,1670,1174,1030,1062,998,948,1076,1216,1013,645,724,1020,886,1134,1444,1744,1480,1488,1222,575,377,477,567,470,330,270,229,299,321,395,500,537,561,524,359,300,326,351,315,407,571,944,1202,1013,1050,1048,1010,992,1214,1110,1200,974,710,838,876,1112,1276,1450,1250,1144,952,626,524,648,1048,1114,527,881,1760,1120,728,733,1042,1302,1250,935,714,694,714,506,369,346,310,304,289,280,312,354,374,378,399,382,332,337,346,332,314,335,376,357,336,341,343,330,318,293,302,328,308,323,359,357,349,357,373,379,358,360,397,500,667,794,877,878,683,466,419,1030,1294,1032,1146,1390,1202,1098,1086,1672,1318,651,393,386,334,310,417,746,609,342,305,346,352,565,1074,1350,1204,1162,1162,704,547,756,751,774,947,1023,1264,1480,1224,855,635,744,1168,1058,1248,1368,1236,1334,1524,1480,1344,1021,1180,759,905,1490,1982,1394,1230,1068,895,814,712,875,1310,1236,1364,1242,990,1226,1496,1182,1272,1314,1328,1328,1164,1086,1198,1266,1284,893,747,1060,1404,1412,1330,1156,1104,800,517,553,651,771,1016,1440,1510,1142,1294,1376,1400,1608,1776,1434,808,737,705,725,912,1090,1308,1484,1710,1416,950,755,783,1068,1152,1208,1160,1132,1068,1106,1180,936,815,635,523,558,641,664,796,995,991,1076,796,838,1138,1668,1628,1300,956,868,794,758,735,475,523,746,951,786,646,669,666,525,465,498,505,565,498,502,864,746,933,1172,1284,1218,891,839,958,962,1156,1288,825,644,681,666,808,986,1042,645,1094,1414,1246,1064,739,522,421,508,839,1166,1226,1180,1114,1180,1186,1322,1110,1021,1348,1292,1168,1038,980,965,875,1446,1186,908,891,858,892,1134,1260,1078,1476,2844,3764,3784,3198,1512,1432,2050,1928,1518,2088,1898,1009,742,1074,1428,1410,642,1007,1500,651,1002,1007,871,893,1094,1226,1146,991,844,651,491,1144,1726,1190,1112,1100,1130,944,985,1272,1402,1322,1334,1166,1186,1316,1322,1340,1260,1454,1166,813,894,1236,1292,1262,2492,3510,3740,3604,3442,3076,1616,1044,1230,1302,1310,1438,1512,1460,1320,1472,1448,1566,1516,1056,1508,1434,1384,875,755,1164,1356,1438,1562,1558,1448,1430,1438,1444,932,714,1238,1258,645,372,393,387,374,372,433,450,445,536,724,584,511,552,655,759,834,759,612,891,1294,960,848,940,1052,1050,741,688,1066,1310,1302,1284,999,584,484,433,487,511,694,610,491,637,1324,1594,1554,1504,2060,2204,1360,747,653,698,590,499,410,380,383,456,477,456,426,373,356,350,348,337,393,365,359,422,411,434,496,464,483,491,593,678,499,364,456,508,509,543,555,605,630,658,661,633,668,641,719,809,1234,991,538,923,1470,1852,1390,505,384,341,368,623,992,1003,1518,1170,965,996,789,741,990,1364,1254,1050,1124,877,1138,1158,1266,996,703,814,964,841,496,351,373,447,398,377,350,314,391,882,1596,1352,803,909,977,580,411,321,343,449,357,317,306,263,292,268,475,800,828,828,785,534,492,691,684,521,497,516,406,384,506,421,298,388,506,536,410,376,472,495,378,348,303,266,257,266,276,281,268,302,389,458,437,427,428,513,524,524,527,529,505,477,466,484,475,497,538,619,615,521,641,630,514,439,350,471,565,500,457,558,931,1648,1252,747,535,662,811,877,1204,1386,1094,918,1132,668,521,836,555,460,781,869,962,1380,1320,934,611,566,524,583,506,415,379,386,653,971,1108,1306,1416,1392,1244,1214,1320,1364,1332,1408,1128,949,1202,1206,1152,1274,1108,1010,1168,1408,1722,935,679,545,359,334,318,367,428,608,629,611,695,536,450,841,709,450,522,414,396,374,301,471,844,681,425,378,400,405,387,487,599,675,542,400,313,422,752,976,660,691,695,506,1366,1054,462,323,486,517,408,351,318,416,500,392,392,442,392,432,475,457,425,388,334,288,321,386,358,354,347,358,418,502,462,380,328,350,404,417,406,410,407,384,368,371,440,475,436,423,440,435,406,673,1002,503,567,487,382,442,472,509,631,667,568,453,476,586,559,355,337,331,312,454,487,411,385,360,336,346,414,473,519,554,651,715,758,708,671,585,524,458,450,478,477,518,459,385,495,535,511,656,838,845,943,1202,1092,925,867,1176,891,867,1246,1174,888,865,977,926,1084,1288,1066,1216,1328,827,461,513,809,998,891,936,908,908,899,1174,1084,718,774,775,567,422,507,843,1210,1230,1266,1232,1162,1328,1550,1296,866,795,1122,836,1158,1296,1360,1248,1198,1296,1330,1152,990,858,659,437,467,583,547,694,558,636,662,525,458,447,430,451,541,583,558,591,832,912,480,569,1008,1162,1152,1208,1068,991,1000,1086,1264,1810,1466,612,837,1476,1168,974,1802,1738,1080,1048,1038,999,738,514,514,725,614,991,991,753,932,1058,769,544,658,561,443,390,472,667,635,707,762,677,621,745,725,547,372,408,562,983,1072,645,449,723,608,446,525,632,1042,1428,1224,885,902,858,437,658,1194,1640,1486,738,270,324,526,487,376,500,995,1424,1124,989,949,927,1072,1188,1244,1266,869,819,919,586,995,1072,1070,1092,1104,1064,657,361,686,1186,977,483,401,412,455,648,714,527,487,509,648,1116,1788,2158,1846,1032,694,624,589,507,502,513,523,524,644,705,645,470,456,434,486,758,1028,647,406,363,350,330,335,345,314,398,422,330,332,302,320,315,318,344,306,317,310,290,314,387,404,389,380,365,371,359,341,346,340,338,336,336,344,344,339,327,323,334,346,341,337,331,329,329,336,345,342,345,357,354,357,365,365,371,371,355,347,364,347,342,347,331,331,343,337,336,333,331,326,321,315,318,326,322,305,303,314,319,339,346,346,346,348,366,344,351,380,360,338,354,375,406,430,426,400,430,453,455,456,462,449,443,440,451,462,449,460,423,424,420,412,415,409,399,399,396,390,384,377,382,386,391,406,385,403,407,399,392,401,401,387,380,376,375,373,384,385,390,373,386,395,382,380,378,386,386,385,390,391,392,388,380,386,380,384,395,398,382,378,372,373,373,378,366,364,363,356,358,362,360,360,354,346,337,328,335,342,336,330,328,325,323,319,315,310,304,306,309,310,313,310,316,323,330,338,347,345,349,365,369,378,375,372,389,370,384,413,444,465,427,388,442,466,402,350,315,350,358,382,337,301,297,366,474,505,436,362,332,314,297,295,297,292,291,298,297,293,292,292,291,292,302,314,315,311,318,314,309,326,324,309,310,323,318,326,330,318,330,337,344,350,356,356,356,356,353,350,348,335,332,339,341,330,324,324,337,334,324,324,325,321,318,316,311,312,312,309,305,305,311,318,318,318,312,316,327,311,319,337,321,325,322,319,328,328,327,322,318,318,331,350,357,333,326,323,310,306,302,295,290,289,283,290,292,274,269,274,282,278,281,282,283,280,279,281,282,288,297,294,295,298,298,295,288,283,286,293,283,297,313,314,310,295,288,289,294,295,300,299,302,305,308,301,301,294,301,299,301,308,313,320,333,307,300,297,289,284,282,284,279,274,275,277,282,281,281,282,285,264,275,282,279,276,264,267,271,265,262,263,269,273,267,262,265,268,263,264,267,258,258,271,282,279,286,265,271,276,277],[339,343,360,403,645,705,504,596,685,566,660,613,763,1202,1102,968,807,497,463,601,769,1158,1078,950,691,343,258,267,223,230,277,500,668,642,358,365,571,489,700,621,358,296,278,233,235,248,258,237,294,311,430,525,612,766,1100,1418,1240,874,608,385,286,277,383,450,481,458,426,348,366,440,483,463,523,629,620,689,909,544,366,300,270,282,303,320,317,283,276,313,321,341,360,362,459,642,779,785,653,568,638,792,727,515,475,439,485,490,354,339,313,277,290,337,350,382,409,452,482,567,552,477,555,565,675,1228,1238,702,551,851,868,915,907,858,697,656,647,412,332,308,356,754,955,688,671,661,486,771,842,1023,1344,1714,1312,1490,1672,1474,1210,976,521,477,690,623,466,1002,940,574,463,634,695,913,1009,670,528,510,521,680,597,469,415,533,528,561,662,925,873,897,1388,1782,1384,990,634,516,422,344,358,420,475,470,567,680,798,915,1042,1456,1570,1422,1594,1738,1346,977,1296,1398,1001,942,1056,1332,1418,1344,798,853,1598,1986,1526,845,813,1228,1356,1262,1294,1009,824,833,901,1210,1322,1344,1050,1266,1304,1338,1228,733,352,437,543,424,364,321,265,332,505,547,448,428,518,425,360,313,325,355,278,449,515,807,865,603,961,1300,1019,938,1072,1136,980,565,464,457,675,955,1270,1586,1208,1019,1134,863,634,586,977,1456,737,659,1072,697,592,586,921,1310,1396,1290,1136,780,694,691,538,379,357,383,354,299,294,310,340,371,395,401,377,410,431,408,395,357,359,346,323,308,290,285,304,320,324,305,311,324,325,331,362,379,466,592,509,390,374,341,379,480,620,675,508,439,351,601,1166,1182,1072,1334,1002,1300,1626,2010,1224,637,403,371,408,404,525,707,623,531,350,341,309,304,525,1304,1194,783,1044,1034,588,668,962,896,922,1302,1498,1148,763,632,581,783,1114,1268,1518,1584,1608,1466,1512,1886,1830,1284,1142,954,943,1504,1844,1338,1088,867,593,521,620,765,1352,1376,1434,1370,980,1132,1452,1142,942,1058,962,919,860,1238,1636,1578,1410,806,568,957,1352,1198,746,513,511,490,441,705,917,802,1216,1402,1648,1614,1320,1208,1338,1520,1636,1466,1346,1450,1232,1164,1130,1322,1384,1564,1940,1366,703,545,607,882,846,1122,1076,968,1128,1344,1356,1023,888,1034,1060,861,706,702,684,988,1364,2022,1284,1002,1004,1062,1194,1326,954,653,750,929,820,509,499,601,651,610,436,537,786,667,454,444,459,466,519,612,885,592,828,1064,1448,1538,1390,1120,977,1007,1308,1278,564,458,528,714,1054,1412,1710,1176,1340,1526,1498,1230,561,434,422,408,471,628,648,955,1160,1152,1204,1430,1412,1368,1350,1316,1194,1042,1122,961,789,1222,1180,1214,1176,1128,965,951,1080,882,919,1340,1980,2048,1904,1582,1928,2268,1418,1166,1510,1276,860,474,1023,1306,1190,566,621,837,471,662,829,988,1268,1392,1134,1278,1338,1310,1048,1036,1430,1570,1356,1246,1152,1084,1018,951,1216,1388,1326,1214,1090,1184,1388,1382,1292,1015,919,879,1062,1478,1744,1276,859,1640,2140,2744,2978,3238,2498,1220,1076,1278,1404,1568,1536,1284,1178,2086,2460,1304,1028,1310,1400,1504,1250,797,478,642,1118,1408,1506,1506,1430,1346,1340,1360,1436,1034,705,1180,1348,744,370,339,390,415,427,533,578,737,1068,1250,1132,1138,1214,1252,1250,1270,1318,1208,1114,1334,1024,1023,1296,1288,1034,807,682,875,1330,1676,1780,1316,778,713,716,531,508,591,551,515,869,1288,1116,1244,1020,1344,1528,1216,775,792,810,658,634,687,581,496,453,416,430,403,389,399,383,353,420,480,430,406,470,521,483,439,417,481,552,853,902,797,613,476,445,577,707,755,689,630,601,658,620,654,688,755,692,693,583,464,672,965,1006,755,440,394,359,417,610,1080,1514,1510,1078,963,901,890,976,1100,1138,1042,1088,1262,1036,1112,1094,967,778,683,645,795,763,415,319,317,362,345,303,337,346,374,341,756,977,690,545,584,571,410,366,370,584,445,286,288,282,278,253,309,481,586,554,467,596,691,718,631,522,487,602,502,352,336,290,330,511,749,557,466,330,339,385,349,269,290,291,294,322,346,325,320,331,469,426,462,500,490,501,511,517,522,498,465,453,465,539,554,548,525,510,469,336,363,447,511,524,436,465,557,501,338,355,976,1196,885,1052,994,968,1212,1112,1242,1438,1406,1430,1514,954,858,921,574,401,619,869,1018,1152,1336,1148,647,502,445,524,492,416,380,383,503,653,905,1294,1380,1310,1108,1136,1098,927,966,1178,880,555,520,612,799,943,930,997,1030,1266,1360,1086,989,919,710,542,510,423,368,377,343,343,403,401,498,796,492,367,504,447,357,324,284,475,915,664,480,418,383,393,390,394,453,444,462,486,445,432,1088,1196,731,787,803,760,864,534,568,783,526,539,412,305,346,400,443,426,517,612,490,430,461,460,444,398,322,329,314,398,410,391,339,348,415,433,442,429,366,321,363,448,481,475,453,462,531,572,563,462,411,415,440,502,601,834,907,495,430,426,427,444,539,642,515,475,598,559,466,557,438,377,386,389,385,463,641,583,368,389,379,379,440,451,439,520,627,561,526,599,570,448,493,504,456,475,520,573,563,527,600,669,669,761,829,734,790,988,1122,1218,766,1152,721,478,514,575,798,1086,1064,819,1324,1690,1034,1218,1196,951,774,767,872,959,1040,1096,963,1005,1302,1316,1162,1170,725,511,421,471,697,963,880,896,1260,1422,1366,1308,1274,985,966,953,1084,1056,1266,1408,1428,1244,1180,1394,1438,1194,962,893,1142,963,875,867,861,984,672,391,425,462,479,443,405,526,566,600,937,1150,1300,1030,591,904,1256,1266,1460,1490,1136,1188,877,899,848,1318,1094,498,435,736,763,1084,1580,1178,901,1030,1202,1246,1150,953,865,702,656,1032,890,597,888,1520,1232,850,1046,1106,583,511,789,763,680,957,1246,1114,842,858,828,1158,1416,1296,868,749,924,747,607,781,812,683,510,849,849,850,786,1448,1434,836,593,720,810,1092,1003,513,292,405,440,747,1130,1060,979,1102,826,497,839,1166,1408,1628,1508,1532,999,773,886,670,883,1154,1324,1278,1204,1050,725,366,419,531,490,393,356,358,474,670,766,624,507,824,1454,1962,2216,2282,1954,1140,656,609,759,624,529,524,502,561,604,604,704,477,376,364,438,565,1056,791,466,429,383,312,303,318,311,322,327,314,348,259,262,280,277,301,317,311,298,292,333,410,402,392,352,383,365,363,349,336,330,338,347,332,335,349,353,351,350,316,329,352,352,344,339,330,336,349,349,351,366,345,365,375,363,364,364,358,358,358,341,341,347,334,328,338,332,332,320,325,323,318,317,318,316,313,313,310,304,312,324,339,325,332,354,360,348,357,390,372,350,348,348,384,419,416,389,418,454,446,449,466,459,458,440,447,459,438,431,430,422,407,400,404,405,386,383,382,371,379,381,381,382,401,385,387,409,409,398,392,401,403,383,365,368,376,379,379,382,390,382,389,387,387,392,380,399,391,389,392,391,392,386,380,388,390,380,386,405,383,380,375,373,368,385,368,354,356,358,362,356,354,370,360,347,340,332,330,335,332,322,317,321,321,316,316,310,308,303,303,307,305,308,316,319,324,330,343,351,357,365,376,385,381,385,401,384,412,430,446,477,438,412,468,498,419,324,330,352,349,357,329,307,299,351,471,507,451,376,325,318,307,301,299,293,291,297,296,291,292,292,292,297,298,298,298,306,315,305,315,308,317,315,314,323,306,317,324,305,323,337,338,336,339,352,358,358,350,348,344,336,332,344,328,326,330,318,335,338,326,322,321,324,321,322,318,311,310,305,305,305,310,318,318,325,315,307,322,319,324,330,332,339,331,331,327,321,321,319,319,321,326,325,321,332,326,324,307,306,301,294,284,281,283,290,289,281,280,265,285,286,287,288,289,287,295,301,297,285,274,285,288,288,289,288,293,293,289,289,293,298,295,305,309,299,295,297,294,293,299,301,304,310,312,312,308,308,309,313,309,307,316,323,333,322,305,292,286,293,296,286,280,275,275,275,276,275,280,279,279,270,271,273,270,268,268,268,268,269,263,262,267,273,277,268,262,261,264,273,254,257,255,269,282,277,286,268,272,275,272],[345,377,399,408,568,712,748,567,391,364,714,849,647,895,1418,1408,1166,974,656,805,969,933,555,670,698,317,229,279,260,236,322,729,870,936,498,252,302,491,538,365,248,251,238,228,239,224,183,281,279,295,456,537,678,922,1440,1494,661,381,332,336,440,548,547,482,521,560,497,378,362,411,435,390,483,676,641,647,605,415,327,276,272,314,341,331,289,252,275,328,292,307,328,355,449,738,946,949,828,727,683,899,792,502,449,426,452,456,398,402,370,326,332,368,354,365,367,362,367,439,532,658,1326,1158,789,709,515,451,469,532,672,1058,1272,1218,607,560,550,434,394,359,500,956,1074,690,750,781,834,519,541,1142,1680,1630,1448,1310,1432,1306,1100,1508,644,672,898,670,452,973,1194,825,471,402,691,1260,1074,846,767,744,612,601,725,819,741,621,758,841,933,1106,814,1186,1772,1230,584,521,458,365,360,408,483,478,444,452,469,502,458,700,1378,1656,1312,1466,1720,1418,1084,839,894,1222,1206,871,842,1400,1158,1098,1140,1806,2172,1760,1070,701,651,853,1106,1188,1442,994,689,841,985,1170,1130,818,868,1236,1202,1262,1334,923,515,454,519,503,443,472,467,442,633,770,551,423,463,407,394,342,364,328,309,331,744,840,705,760,1132,1420,1282,1019,1038,935,644,532,562,535,682,805,1152,1478,1422,1882,2798,1858,1278,898,729,1144,977,811,969,1162,835,551,921,1268,1178,737,929,1086,944,659,571,562,428,354,329,297,302,290,298,317,337,350,337,351,381,394,409,372,337,318,304,299,291,303,330,336,300,290,296,303,316,328,354,397,509,625,566,464,386,390,353,323,368,481,522,453,383,567,1042,1350,1180,1208,1314,1416,1214,1094,732,559,461,426,522,576,718,806,568,667,573,457,303,307,316,814,1060,1174,1612,1620,913,498,591,909,1168,1070,957,1036,799,638,832,1026,1234,1836,1896,1652,1500,1284,1284,1400,1624,1172,1136,968,739,1064,1144,1156,1008,582,719,878,1023,1096,1088,1284,1086,949,796,908,1216,972,631,548,579,668,762,919,977,1162,1128,953,824,836,1164,1210,803,539,477,540,609,905,936,1394,1860,1588,1572,1248,671,582,683,858,1488,1314,1250,1382,1340,1512,1542,1426,1188,1284,1330,822,579,485,671,620,468,529,497,654,825,980,1074,1072,1378,1654,1468,1186,702,678,868,1854,1948,2332,1676,941,885,927,1110,1336,1130,788,1184,1952,1340,738,612,566,560,576,566,606,746,781,585,449,483,572,505,735,847,661,800,976,920,980,1194,1252,980,1068,1282,819,512,428,314,723,1284,1468,1550,1252,1186,1390,1510,1358,724,604,497,434,436,462,623,904,1108,1080,1216,1500,1368,1054,1334,1464,1468,1512,1374,1021,1124,1146,1236,1230,929,1070,1284,1122,881,1256,1864,1206,1068,818,775,886,1184,1072,614,930,1174,608,595,405,863,742,623,569,553,649,837,1028,1194,1426,1562,1352,1184,1364,1250,789,796,955,1284,1626,1536,1412,1356,1212,970,783,1016,1268,1244,1024,860,893,1202,1438,1274,861,1026,1136,1012,1230,1448,940,655,1246,1458,1448,1136,1412,1238,1108,1446,1538,1654,1630,1510,1212,1730,3304,2258,1102,1058,1078,981,1018,810,470,455,834,886,1168,1444,1430,1312,1214,1238,1316,1442,1062,598,1000,1332,893,609,590,623,778,942,1108,1272,1396,1412,1396,1362,1344,1360,1346,1340,1376,1360,1356,1412,1382,1005,988,1114,1046,1144,1040,989,932,990,1558,1732,1184,802,1078,1368,1148,1074,1220,1066,664,962,1178,966,1086,784,1058,1440,1328,1048,1024,918,750,830,834,806,706,644,521,406,391,387,445,429,398,440,483,443,444,560,651,603,528,437,427,556,786,875,850,820,742,751,800,804,877,804,737,698,620,488,514,577,589,522,518,612,569,488,415,427,443,496,405,383,431,641,1186,1486,1256,976,683,562,756,844,763,1056,1226,1204,1152,905,981,1040,819,545,493,554,781,626,381,355,322,422,414,296,272,310,373,371,410,526,645,701,493,420,333,379,469,703,516,253,264,264,259,332,323,375,483,569,926,1226,1208,1098,785,479,751,1034,736,509,360,365,392,522,753,607,493,367,388,422,501,774,867,714,794,681,764,689,576,553,579,450,447,482,466,517,527,541,522,559,622,607,500,529,503,477,469,477,461,396,418,477,393,361,444,660,668,584,449,328,599,861,1176,1364,1032,777,1164,1250,1434,1622,1456,1214,1206,992,857,806,733,507,411,582,449,520,1144,1310,722,433,426,443,466,460,382,357,431,534,740,1128,1222,1272,1246,1160,991,754,867,979,695,465,527,652,738,820,511,384,466,600,655,902,1072,1062,1154,1200,1066,992,987,821,677,622,445,389,566,579,411,434,502,398,314,327,347,426,930,722,472,510,444,415,415,414,424,336,504,854,687,451,952,853,561,362,885,1234,854,901,1092,1140,674,449,383,374,390,425,430,451,595,652,466,401,435,433,392,384,326,390,346,376,395,392,395,379,399,428,471,578,452,328,350,509,646,672,552,634,634,503,372,223,336,524,498,448,415,541,700,522,388,373,365,358,568,783,428,326,404,650,515,452,419,392,425,490,442,426,585,581,504,461,411,385,456,505,496,514,472,419,409,546,598,426,397,435,447,488,542,581,598,642,654,651,683,731,662,593,459,390,718,987,878,1216,1048,940,868,678,724,904,874,918,1224,1338,664,495,510,653,702,920,1106,1136,1272,1314,751,944,1356,1040,684,1100,906,521,551,814,916,995,917,913,1142,1826,1620,1292,1340,1192,1003,1046,1096,1090,1156,1338,1326,1150,1128,1128,1088,1126,1094,1108,1388,1264,1262,1060,968,1154,788,419,415,458,481,477,516,568,858,1204,2784,2414,1248,1184,1566,1826,1418,1168,1382,1310,1372,1424,1050,1050,852,605,355,280,316,363,725,1318,1034,636,658,1222,1584,1338,894,754,767,805,869,794,764,653,588,1062,810,565,849,1024,596,761,1124,958,762,1256,1442,859,647,781,1110,2032,2426,2082,1306,1098,1248,1672,1534,1198,974,924,1184,1516,957,561,566,1166,1550,1048,456,442,453,686,855,881,752,876,769,823,843,642,489,883,937,778,1318,1476,1290,1476,1348,1804,1312,930,857,828,910,1180,1362,1220,1036,891,916,407,381,344,390,427,375,369,409,499,678,738,807,1460,2040,2266,2416,2080,1356,888,601,588,792,725,499,415,444,504,627,828,767,548,454,507,617,577,642,574,563,551,400,380,315,325,293,281,288,275,326,331,311,280,313,327,319,308,293,315,380,419,400,377,377,375,367,353,338,336,334,336,351,333,339,349,350,350,350,342,339,348,362,350,342,348,352,354,357,363,369,342,355,357,341,352,365,358,355,355,337,337,337,330,321,336,329,325,325,324,313,326,318,313,318,313,312,321,312,312,312,319,313,336,384,389,374,352,370,364,342,345,345,390,418,414,406,422,448,439,443,457,452,455,448,448,444,444,423,422,422,410,396,389,403,371,400,409,393,385,387,396,390,382,386,396,399,399,394,390,398,406,387,368,368,372,375,384,390,387,387,390,378,387,392,380,384,383,388,391,394,389,380,382,386,391,386,390,400,386,380,380,377,366,374,368,362,362,360,356,352,342,368,357,349,337,336,330,330,326,320,317,316,323,323,326,321,310,310,306,306,307,309,313,318,324,338,348,349,354,363,371,382,395,405,398,370,397,422,436,490,413,397,434,462,405,337,322,340,321,304,293,288,289,326,476,509,465,399,342,315,311,310,299,296,291,295,295,292,292,292,292,296,298,303,311,313,302,313,318,302,307,313,321,327,304,317,325,323,331,334,336,349,358,358,352,346,348,361,337,337,330,344,324,318,332,326,330,336,328,318,319,324,325,324,324,309,304,308,305,309,312,313,315,314,315,325,306,316,332,319,332,334,322,328,319,319,319,319,319,319,323,326,325,325,325,318,310,303,295,289,289,290,281,286,285,281,281,289,285,286,292,295,290,292,294,288,280,276,295,288,288,288,288,288,285,275,275,282,295,301,299,288,301,300,308,302,297,299,300,304,313,320,317,312,312,314,311,313,313,309,320,336,335,325,316,305,297,294,290,288,281,281,275,275,275,275,275,275,275,275,274,268,273,280,281,271,273,270,264,262,265,276,271,259,275,261,264,258,269,264,259,263,263,292,289,274,272,268,271],[340,407,431,401,573,907,1206,726,333,367,593,780,571,1142,1852,1318,1126,1086,993,1184,1088,574,282,598,689,292,230,303,353,348,334,543,520,474,333,215,193,232,341,466,456,256,223,248,264,234,202,242,290,320,393,586,827,1007,1028,949,307,218,213,234,552,1054,973,759,708,659,510,377,326,360,440,356,402,598,713,472,299,325,298,262,260,296,310,297,296,339,332,331,328,393,457,449,519,716,890,849,783,705,677,789,645,509,480,500,460,415,448,458,412,387,376,410,381,410,431,401,396,354,319,783,1376,1100,919,838,380,386,492,663,659,824,1138,1042,547,310,273,322,428,446,538,708,621,555,533,713,805,553,778,1498,1538,1176,1190,1468,1570,1050,1330,1700,779,865,1104,924,751,836,1036,1130,850,569,898,1358,803,832,918,1005,912,685,704,838,708,470,669,894,630,547,310,614,895,598,423,541,509,421,404,487,587,475,444,440,429,415,695,1308,1558,1306,1148,1450,1358,996,810,766,695,761,950,550,512,903,1098,1316,1512,1866,1576,942,692,684,676,739,797,1064,1406,1132,691,521,549,916,1278,1206,1302,1328,1124,1140,990,946,893,816,797,666,475,524,587,564,582,498,397,372,399,435,437,365,375,385,388,389,724,719,678,1278,1742,1704,1244,1084,1126,1160,771,624,688,832,1048,1156,1224,1202,1470,2040,2884,1858,1148,781,500,755,1226,1390,1408,1482,1006,564,850,967,728,569,833,1066,850,487,501,641,568,431,306,294,301,279,277,314,363,346,307,316,325,331,355,354,326,299,303,298,309,338,297,315,279,284,313,330,359,371,409,450,458,516,575,580,448,373,321,293,370,436,476,509,451,530,623,799,927,1132,1472,1196,736,788,794,534,495,482,521,565,852,998,870,865,614,437,335,294,296,376,810,1592,2110,2056,1732,1100,904,1118,935,603,472,734,944,1080,1220,835,912,1656,1418,1268,1114,915,740,1054,1466,1384,1310,964,686,890,889,878,1096,1110,1256,1624,1302,1158,1434,1266,764,634,621,896,1288,1108,678,772,1260,1496,1290,967,756,683,578,636,843,935,1376,1460,1114,974,1040,993,903,854,1116,1792,1802,1346,1260,940,552,505,659,929,1520,1206,1230,1520,1460,1326,1092,830,775,582,594,398,393,402,744,654,477,502,408,553,817,1028,965,1114,1746,1766,1526,1152,865,1244,1362,1720,1684,1694,1402,1038,1096,1420,1456,1182,1118,1294,1602,2126,1608,1015,618,464,468,699,993,686,536,880,762,454,503,692,524,772,995,964,1100,1204,986,733,602,851,1066,1050,925,601,498,405,495,1026,1246,1266,1562,1376,1046,1286,1134,917,842,890,843,651,544,495,542,827,1100,1126,1236,1324,1238,1070,1314,1310,1334,1226,1052,926,910,989,1038,684,763,1094,789,937,907,1394,1410,1034,953,727,553,762,1262,1068,687,808,768,448,399,411,906,873,736,880,995,1166,1586,1802,1554,1454,1360,1376,1392,907,590,510,460,677,1236,1522,1578,1608,1526,1322,913,995,1174,1300,1158,1160,968,1100,1266,1234,1118,933,1178,1021,1344,1706,1460,869,902,1156,1232,1015,979,1346,1410,1410,1602,1600,1358,1380,1664,1210,1044,1234,1206,1256,1218,981,744,735,697,599,698,1116,912,1240,1432,1362,1236,1182,1184,1286,1446,1186,596,811,1350,1308,1206,1298,1400,1402,1412,1444,1476,1430,1430,1440,1422,1396,1372,1344,1330,1326,1344,1472,1372,1302,1260,1052,926,822,1072,1200,1318,1094,808,1126,1058,962,700,861,1362,1654,1700,1538,916,653,1252,1100,1166,1350,1012,1084,1338,1196,1132,1212,1070,908,943,1002,924,842,828,642,601,590,495,427,420,405,416,464,418,509,721,688,684,683,506,495,644,741,822,864,796,746,657,647,626,549,572,597,650,592,488,471,480,464,503,585,633,593,586,547,556,565,504,420,426,461,662,991,963,871,836,569,404,435,673,1058,1278,1172,1144,1120,1086,1072,902,849,559,455,508,727,517,383,361,282,351,350,287,271,332,433,479,681,1022,656,529,443,378,405,451,423,524,613,449,354,486,609,364,383,432,554,521,761,933,1048,1146,967,771,839,1120,1023,763,479,526,522,478,475,547,507,403,476,708,1086,1262,1062,880,1144,933,789,579,517,690,803,728,563,536,539,485,444,481,591,705,813,753,573,498,525,455,390,501,557,644,524,615,431,316,357,590,779,711,498,327,297,523,867,818,607,554,728,1114,1088,1180,1236,1126,1078,1036,712,623,948,846,653,684,393,396,937,1370,975,488,405,441,535,547,405,334,343,418,581,755,861,969,896,737,689,727,697,615,480,407,531,654,572,458,345,386,400,348,389,486,513,543,569,600,747,892,913,1052,1216,1188,1142,1062,841,718,685,544,510,379,327,362,390,324,875,866,601,592,494,442,359,395,409,344,359,660,525,441,425,419,385,297,854,1084,525,790,1110,1078,828,527,516,480,442,446,439,418,524,584,472,418,435,399,332,342,359,426,310,237,291,372,459,376,328,405,439,545,488,480,443,486,668,655,530,543,463,255,245,222,305,381,365,537,812,1056,996,632,457,398,400,520,633,578,408,428,357,545,585,483,463,491,498,542,483,385,336,385,527,501,356,303,380,449,550,528,382,377,372,405,464,380,365,393,448,513,547,492,505,522,461,478,540,579,591,551,449,439,568,948,1176,1246,987,614,554,644,857,1228,1274,899,664,630,658,677,645,475,611,1046,1222,1250,1186,1019,1040,1440,1262,879,735,1048,979,672,893,1186,1244,1300,1021,900,850,1240,1316,1346,1302,1078,782,751,1186,1462,1354,1258,892,899,1032,1005,871,931,1158,1316,1358,1040,1114,1216,1106,1212,716,430,295,374,468,502,520,644,1058,1290,1852,1712,1078,991,1184,1034,1056,1146,1322,1434,1526,1550,1200,922,742,489,292,281,282,549,1334,1952,1410,609,523,1146,1566,1250,850,717,491,458,499,745,1026,965,899,855,641,368,433,492,505,620,627,541,461,980,1216,539,555,883,1550,2172,1964,1416,1644,1782,1564,2276,1772,1160,793,742,1166,1528,1011,491,383,449,858,925,486,550,588,741,957,982,837,712,584,492,552,634,734,1094,1290,991,1132,1306,1248,1434,1296,1390,1023,929,982,862,1060,1266,1116,799,535,516,835,447,347,345,364,376,361,369,384,398,449,563,801,1542,2310,2810,2798,1954,1228,908,573,497,693,764,609,486,504,446,514,590,734,588,443,437,452,458,472,502,596,497,400,499,369,329,296,276,266,265,301,413,428,325,327,344,314,307,319,356,399,422,400,378,366,373,379,361,341,333,322,332,336,344,361,359,350,344,340,365,367,350,358,359,345,343,340,348,351,373,360,349,370,361,347,351,347,355,339,346,334,331,330,321,324,335,326,313,326,330,328,318,325,319,316,302,304,315,315,314,314,327,337,355,371,399,400,360,374,383,370,366,369,397,415,406,401,418,436,428,430,438,456,459,451,436,425,430,431,422,400,405,401,391,410,379,400,396,387,372,379,394,397,390,384,379,379,379,385,384,391,400,386,370,368,376,392,390,387,384,384,385,386,384,380,380,375,376,383,388,384,378,380,392,395,404,392,401,404,389,380,378,375,365,360,363,365,360,356,348,354,352,363,357,346,342,339,334,336,326,323,322,321,323,322,328,322,317,311,310,312,310,310,310,319,335,341,343,348,354,362,366,380,387,399,404,391,404,427,438,455,370,341,402,434,398,355,346,333,302,292,273,267,280,336,447,514,487,421,372,326,317,318,300,297,291,292,291,292,292,292,293,291,296,302,308,308,302,302,300,312,308,310,306,305,309,327,321,332,344,334,337,348,353,362,348,338,356,344,344,341,332,332,326,330,326,325,332,336,330,318,318,318,324,325,332,316,302,302,302,306,306,312,312,311,312,309,316,325,327,319,328,321,314,311,314,316,316,314,312,316,318,318,323,326,320,312,305,299,292,286,285,300,282,281,277,280,286,288,290,292,292,295,297,297,297,293,288,280,282,276,275,276,281,286,286,280,275,288,300,300,301,285,300,308,308,304,304,308,307,310,314,320,314,305,305,312,314,314,314,314,314,314,314,320,319,314,312,301,288,284,282,276,275,275,275,275,275,274,273,276,275,269,273,268,268,271,270,269,265,262,263,269,273,274,262,263,265,261,262,262,263,265,270,280,286,277,275,269,279],[380,441,458,372,473,986,1258,712,335,299,485,918,1030,1438,1438,837,616,905,1290,1748,1752,949,371,371,329,186,221,291,299,281,205,221,249,248,195,242,337,248,236,418,791,562,301,220,288,333,288,320,373,262,260,546,976,999,844,889,546,298,239,233,657,1450,1780,1500,1136,760,481,339,310,377,467,389,329,447,606,434,297,299,277,255,248,283,333,342,415,596,593,493,507,626,634,513,565,796,788,623,537,539,815,830,626,529,471,436,355,350,469,427,354,355,375,408,389,369,352,347,393,395,299,462,722,687,691,587,440,425,357,361,254,364,620,724,553,205,244,334,571,520,469,630,1044,1220,1098,805,521,539,919,1152,808,913,1462,1760,1396,1094,1202,1132,667,668,752,885,1048,788,665,604,780,871,1030,1318,940,767,966,1376,1814,1504,935,729,617,456,661,664,386,393,296,346,381,410,410,536,597,466,567,795,946,601,526,466,429,660,1258,1588,1172,631,695,996,1356,1380,890,1018,1198,648,583,524,639,1168,1566,1378,1278,1372,1066,813,774,735,744,918,858,1166,1322,1246,1036,704,791,1264,1512,1458,1360,1202,1102,1086,974,1028,969,743,1094,1346,924,491,389,449,479,438,364,348,425,509,539,421,389,420,368,366,493,549,726,1008,1012,1282,1150,1254,1312,1390,1038,807,731,863,1316,1622,1782,1700,1726,1694,1570,1054,805,620,449,648,1226,1454,1158,1170,995,1008,943,756,566,645,827,695,472,399,516,641,540,450,402,310,308,289,284,325,375,352,306,289,280,299,346,371,338,296,331,315,347,340,275,292,293,309,357,397,439,453,452,397,364,503,681,705,579,439,365,374,394,378,344,506,512,420,486,686,968,1094,1306,1164,980,1364,1384,896,490,451,516,428,607,857,1044,800,785,1082,747,393,360,535,921,1314,1936,2002,1656,1438,1262,832,507,441,436,567,882,728,796,843,774,1312,1266,1416,1230,730,401,567,896,1130,1154,1002,736,827,1338,1420,1418,1220,1306,1806,1448,858,1042,1026,641,522,611,949,1356,1154,998,1042,1436,1510,1188,850,651,631,584,758,1000,1084,1350,1332,1362,1454,1406,1218,1076,1122,1292,1522,1444,1310,1426,1476,1404,1019,1364,1640,1542,1230,1250,1330,1170,1013,1019,958,821,524,541,413,387,448,933,1082,1370,1390,719,634,702,713,584,714,1282,1230,918,583,1012,1604,1496,1146,896,1024,935,1126,1474,1944,1700,1262,1394,1664,1798,1700,1372,1070,627,476,552,709,1050,885,805,1360,835,457,516,820,744,897,1186,1116,1496,1756,1038,985,830,612,870,985,658,546,474,391,666,1168,1336,1416,1610,1922,1184,1128,839,705,776,844,830,691,556,521,505,673,984,1130,1152,1258,1172,1274,1158,1334,1488,1202,1090,1100,1086,1222,1300,722,705,1066,850,1020,1000,902,595,380,425,572,889,1070,1078,822,804,1438,1298,697,620,665,744,777,926,1270,1656,1458,1450,1656,1306,1328,1548,1494,1186,799,655,634,614,979,1204,988,1382,1422,1282,1404,1348,1302,1478,1406,1224,1296,1404,1480,1592,1454,1110,1292,1136,1118,1394,1762,1722,1322,1206,1362,1246,1015,1222,1376,1528,1528,1550,1354,1174,1322,1576,1306,1100,1134,1324,1348,1176,955,806,852,716,617,1032,865,1012,1268,1262,1250,1244,1216,1202,1224,1286,1088,551,769,1308,1444,1490,1578,1534,1432,1400,1426,1442,1472,1474,1430,1368,1350,1344,1330,1390,1406,1442,1356,980,1054,1228,853,1112,1216,1066,907,844,1023,1174,1076,986,957,705,793,979,1094,1328,1036,728,882,1406,1208,1146,1166,840,978,1132,963,905,932,1262,1154,1078,1056,1030,1002,928,735,755,868,789,664,574,464,406,396,379,427,498,536,546,542,479,550,680,953,1396,1160,885,632,539,745,628,424,480,518,511,489,456,436,434,419,486,536,525,493,493,512,580,602,572,475,415,444,607,1002,1156,883,930,598,462,557,802,800,690,927,1188,1084,977,948,1004,954,706,580,527,599,434,346,321,249,318,372,316,323,341,396,512,1036,1344,737,459,443,402,420,407,338,394,742,912,833,1020,1082,1238,894,487,578,608,786,1002,1058,1174,963,708,821,1268,1294,999,720,907,943,796,771,861,623,488,467,725,833,721,609,600,613,442,374,309,455,614,811,1042,799,580,583,433,346,384,455,538,608,620,541,458,442,419,468,659,668,754,579,666,554,388,570,788,795,797,761,530,329,358,506,533,391,265,515,768,877,880,1088,1350,1210,1078,806,733,1106,1042,706,714,609,747,1100,1356,1224,622,427,412,408,536,442,304,317,379,473,475,488,473,420,420,434,427,412,420,377,378,422,448,346,309,329,356,360,345,388,543,527,509,500,450,441,470,547,566,611,782,869,913,1096,1166,1144,1192,1080,824,780,641,500,337,688,894,563,413,421,468,375,492,405,343,329,356,381,820,888,526,418,319,486,540,399,477,965,944,851,852,763,664,472,393,406,370,435,544,577,508,481,426,406,408,406,441,352,303,321,367,416,371,357,411,404,489,682,760,560,397,496,502,478,519,728,483,305,245,300,361,510,1014,1092,785,639,436,404,525,583,469,403,524,572,493,414,445,550,651,576,451,428,496,545,398,374,483,624,623,491,365,341,371,386,408,305,283,310,310,367,361,361,383,433,472,502,509,489,471,445,469,505,494,650,585,505,698,891,930,1007,1124,788,319,417,649,1021,1384,1024,752,841,865,1198,1324,1046,890,1018,1252,1009,1056,1088,1072,1428,1322,980,860,822,970,761,562,919,1160,1250,1274,1058,1036,916,664,952,1072,1118,1260,910,770,1264,1794,1814,1710,791,673,858,970,1024,1048,906,1170,1528,1286,1204,1190,1084,955,469,360,373,492,614,685,738,790,922,1050,1046,944,917,965,1178,1102,1124,1228,1328,1292,1380,1498,1318,977,779,516,308,241,610,924,1306,1664,1110,464,385,638,954,1042,959,913,507,397,361,503,1018,956,803,1026,1054,760,784,762,586,361,303,294,344,841,675,385,570,777,1328,1946,1710,1344,1912,1750,1202,1826,1668,970,620,670,897,1172,868,394,406,661,977,1238,1224,1138,927,741,983,1330,961,503,467,429,507,612,686,819,1330,1120,891,1030,963,871,963,1092,1038,700,761,1144,1670,1794,1378,1070,841,626,811,531,315,351,330,338,372,381,369,360,394,480,688,1284,1762,1816,1824,1526,1366,1274,873,471,544,665,565,430,392,400,606,821,800,550,390,426,435,455,455,387,361,316,354,387,336,322,309,299,280,284,301,322,356,319,324,372,342,314,346,391,402,396,383,368,363,383,379,369,352,341,334,330,335,346,349,347,350,348,344,364,362,350,352,336,339,336,336,345,333,343,348,343,355,365,357,357,346,369,334,336,332,323,314,309,312,324,309,317,338,319,326,319,319,318,318,321,324,315,313,306,309,330,345,360,356,390,421,389,380,393,383,357,373,412,459,460,426,416,436,442,442,434,463,452,443,451,425,420,428,414,405,398,399,403,407,399,382,397,384,358,381,394,398,397,385,379,388,397,386,382,391,394,386,378,372,374,389,378,383,385,397,387,385,380,378,377,372,375,377,380,386,386,380,383,395,407,399,412,414,398,386,377,370,365,360,360,360,358,350,342,350,360,363,358,351,348,338,342,351,334,330,325,323,317,321,317,308,316,317,317,316,309,310,310,316,338,332,332,346,353,359,368,381,390,407,417,415,419,426,462,431,350,346,413,419,366,329,309,298,305,314,278,264,277,319,435,502,501,465,392,343,323,320,298,298,292,292,292,293,287,290,290,288,295,300,305,302,307,306,306,305,308,312,310,317,321,327,320,324,336,334,336,336,338,362,353,335,348,346,343,337,338,325,317,339,329,324,332,330,328,319,318,318,322,316,319,314,304,300,299,300,306,310,309,311,319,308,319,318,318,319,316,318,319,319,319,312,307,305,312,312,318,332,338,326,314,312,305,300,293,288,285,294,289,283,275,276,285,289,293,297,309,312,307,305,307,302,285,277,264,268,276,274,275,285,294,288,279,288,294,299,308,305,310,309,307,307,307,298,302,314,314,314,308,301,308,312,314,312,314,310,320,323,328,325,320,314,314,302,290,284,279,274,275,275,276,276,276,277,264,274,276,269,268,267,265,258,259,267,268,262,262,262,268,269,270,262,264,265,262,263,262,264,269,279,285,274,269,268,277],[446,469,446,358,371,694,788,443,321,375,998,2074,1976,1920,1760,1296,936,912,1476,1912,1972,1118,371,287,275,233,232,279,299,196,164,208,225,251,252,293,377,275,300,405,616,741,490,255,348,372,353,415,357,214,265,576,1046,1098,1336,1560,1012,441,359,363,759,1664,2096,2026,1842,1272,637,354,316,310,349,336,317,373,337,303,326,306,274,259,247,235,301,379,563,799,790,692,696,782,691,457,520,741,602,626,594,525,613,727,766,585,417,381,388,404,421,370,351,333,355,353,322,344,375,446,492,428,348,337,452,570,619,662,551,542,619,576,380,294,400,708,760,270,259,301,485,554,540,755,1024,1078,1182,933,814,1266,953,716,777,1226,1618,1608,886,636,695,635,358,332,428,487,505,584,716,521,416,713,993,1250,857,741,1050,1714,1996,1328,1082,1054,1156,855,831,655,450,465,371,271,325,491,764,1262,1604,1642,1482,1098,1172,828,600,567,642,1250,1556,1358,941,466,478,708,974,833,711,877,1012,636,424,656,1100,1434,1402,919,615,790,1026,962,861,703,694,744,747,830,827,1218,1384,933,1354,1506,1324,1202,1034,1066,1282,1304,1136,1072,1028,821,1184,1556,1152,825,620,481,548,659,475,371,466,546,504,448,431,464,616,666,653,511,491,641,577,818,1404,1558,1412,1412,1268,1018,646,956,1430,1670,1760,1616,1448,1402,1224,838,630,616,802,1184,1076,1174,906,1116,1456,1494,851,662,621,551,577,533,639,703,686,592,401,350,365,338,339,326,312,325,345,347,318,289,294,355,370,357,335,336,391,364,322,335,327,294,318,333,384,412,413,433,430,354,404,578,697,737,708,552,392,387,371,355,375,459,584,555,600,711,952,1166,1338,1426,1422,1610,1560,1054,623,576,532,363,378,508,655,662,1050,1548,1240,683,366,631,1052,1028,1346,1558,1372,1152,690,465,424,534,807,691,756,792,998,1162,1312,1650,1566,1658,1528,962,546,447,739,1046,1132,1166,1066,1112,1616,1396,1056,974,1017,1354,1352,1036,1112,933,529,459,656,890,1190,1214,1170,1007,1076,1254,822,719,636,523,527,1112,1626,1312,1354,1426,1266,983,956,1218,1718,1670,885,981,1194,1054,786,1454,1938,1322,1496,1816,1460,1144,1402,1648,1262,1156,1386,1306,858,534,473,409,426,616,1178,1498,1394,1136,725,615,549,561,722,822,1168,1244,1158,809,999,1572,1588,1338,1054,963,1036,1198,1434,1418,1336,1318,1474,1704,1866,1670,1522,1218,774,488,527,622,1104,1204,1292,1624,1170,686,795,1021,941,846,957,889,1114,1154,1170,1660,1092,590,747,684,507,512,440,523,951,1224,1346,1458,1530,2010,1274,830,586,621,794,754,718,633,459,722,623,708,733,1214,1376,1420,1274,1114,1076,1382,1364,1140,1294,1390,1226,1170,1338,848,688,964,1166,1308,989,741,828,555,539,758,1252,1022,645,469,681,1438,1288,930,1090,1216,1011,966,913,1011,1644,1654,1434,1404,1426,1512,1320,1172,1300,1114,753,683,927,1188,1390,1272,1248,1162,1030,1326,1130,980,1232,1426,1390,1376,1572,1786,1546,1358,1296,1300,1170,963,1134,1622,2042,1964,1616,1562,1674,1354,1290,1416,1600,1550,1610,1584,1432,1272,1200,1278,1344,1184,1112,1118,1158,998,918,1136,822,738,828,760,1120,1272,1176,1210,1212,1048,958,821,749,638,425,688,1220,1396,1406,1534,1502,1432,1404,1406,1404,1416,1408,1430,1416,1418,1414,1418,1438,1216,869,763,756,1017,1314,801,756,927,1160,960,604,698,1048,1272,1306,1338,1030,1038,1138,1544,1632,1210,849,1186,1470,1104,1104,922,584,590,724,725,819,891,1298,1062,915,1058,1188,1244,1106,865,1009,978,922,906,854,866,792,552,393,402,373,358,394,400,452,553,521,959,1570,1328,963,626,532,526,456,414,459,559,547,462,445,450,480,448,443,454,464,474,504,508,521,549,524,478,489,528,571,829,996,677,641,510,576,673,839,895,663,999,1230,1244,1492,1306,1148,1050,1026,865,641,641,514,306,267,249,320,397,338,350,370,409,510,988,1098,677,440,412,381,350,332,295,324,552,786,987,1212,970,1340,1072,800,865,715,804,1328,1712,1654,1080,641,798,915,1048,952,770,774,800,712,594,750,965,758,537,624,807,755,520,437,427,536,605,760,1026,577,846,985,825,549,458,407,356,410,485,480,496,549,538,495,597,466,472,597,641,642,549,503,372,312,615,869,821,765,821,938,597,332,299,386,393,318,311,436,560,497,537,865,1024,915,819,916,1074,1042,879,968,970,1034,981,1060,1358,846,472,402,371,415,437,393,321,303,384,391,364,354,356,365,346,314,326,334,347,373,402,353,332,368,371,341,350,351,386,484,469,479,497,491,455,457,557,623,613,487,397,417,431,495,682,788,904,1138,1140,1142,1098,681,524,744,627,425,444,384,335,371,318,320,750,831,573,1090,1016,682,571,641,847,765,904,950,985,736,633,813,922,826,783,642,492,393,383,471,588,553,475,403,468,485,432,460,406,378,360,390,381,339,393,390,376,401,571,777,644,309,321,333,399,416,700,705,347,201,339,469,646,906,737,490,396,422,517,595,523,467,692,1008,892,529,354,421,463,644,464,336,476,488,494,444,483,584,575,510,484,481,412,427,316,522,342,261,296,296,333,373,362,366,450,483,479,464,425,479,522,480,450,455,616,633,611,1007,1278,1026,954,1112,862,558,594,675,979,1114,871,881,867,890,1248,1158,1174,1394,1005,910,966,864,1015,1362,1248,977,1240,1104,748,772,812,731,1007,1188,1208,819,813,1026,1015,878,846,921,1292,1408,1152,1196,1494,1520,1578,1448,943,780,863,1028,1112,1066,1218,1228,1210,1324,1260,1126,859,568,433,501,792,921,835,796,1036,1062,1072,1126,1190,1062,856,924,1230,1190,991,1088,1166,1162,1402,1366,1498,1116,704,446,404,708,1130,815,799,1048,758,388,501,617,629,965,1028,1021,534,621,535,820,1248,982,793,1122,1124,849,766,835,870,790,752,833,696,519,530,614,778,801,1018,1618,1530,1490,1854,1238,726,1306,1272,737,586,614,724,1048,1122,991,1124,1244,1260,1172,1204,951,675,800,1256,1606,1250,682,547,661,605,476,537,431,959,832,582,999,1120,1304,1278,1042,981,783,1356,1998,1794,1718,1566,1528,1284,913,877,631,318,370,347,372,394,388,347,354,379,364,558,1034,1216,1312,1498,1366,1202,810,591,449,532,626,541,418,433,533,743,787,642,433,336,407,360,395,386,341,295,266,275,256,287,320,324,319,293,293,305,304,282,280,293,264,316,333,362,397,396,391,379,361,355,371,370,365,361,346,335,335,339,339,333,335,350,359,354,353,358,353,374,354,354,346,336,328,320,324,333,343,342,342,340,353,361,344,327,325,337,341,338,328,303,309,306,313,318,318,325,337,324,316,321,321,316,310,308,307,325,331,338,348,360,392,430,418,387,403,404,358,369,416,448,460,442,420,416,420,420,408,437,454,448,443,428,414,430,423,420,415,397,396,415,415,406,407,399,391,401,398,397,404,397,394,387,387,378,383,382,387,385,386,380,362,373,384,398,391,386,376,380,384,378,373,373,373,375,377,373,397,383,368,397,404,400,410,412,398,391,385,372,363,356,354,360,356,354,349,351,360,363,358,360,360,344,349,357,338,328,332,328,312,317,315,306,310,313,324,313,309,309,310,308,335,333,333,347,351,359,367,381,395,406,408,417,430,415,457,395,301,308,343,334,320,333,326,309,314,312,273,262,312,382,472,485,497,505,439,355,331,322,301,298,293,292,292,290,286,286,290,297,298,299,297,298,300,305,306,306,305,308,312,310,312,318,320,324,324,335,349,350,354,360,353,348,346,344,339,336,346,348,334,338,332,324,329,332,328,318,313,324,319,301,308,306,312,305,299,293,304,307,304,307,306,310,309,303,314,310,303,319,324,325,320,314,313,321,322,313,313,320,321,318,312,311,303,295,287,287,288,288,289,290,282,280,287,279,288,294,295,293,297,301,299,297,288,277,275,281,280,275,277,281,288,288,290,289,294,293,301,308,317,319,310,298,305,282,299,311,312,314,312,317,314,312,312,316,317,314,311,327,346,316,317,317,305,296,290,284,273,268,269,276,276,276,274,281,267,273,276,270,268,269,269,269,269,270,268,262,262,262,264,267,269,268,273,261,263,262,263,264,275,289,283,276,274,275,274],[335,332,325,299,276,385,348,343,376,405,1072,2062,1736,1510,1610,1590,1284,1036,1388,1544,1526,929,488,437,280,221,235,259,241,195,209,223,219,228,247,257,254,264,385,428,406,551,471,332,368,327,243,280,298,260,318,499,841,1148,1402,1226,560,410,625,747,1023,1786,1798,1614,1276,661,523,452,385,331,312,299,285,287,250,317,358,330,294,276,279,360,486,548,667,747,772,645,574,585,546,426,366,439,470,526,448,484,521,635,706,475,389,403,414,438,384,395,384,416,414,338,309,347,362,331,391,409,385,399,408,489,666,629,451,509,590,506,421,393,328,378,379,266,276,287,389,528,601,705,755,1074,1452,1470,1344,1372,648,435,774,1408,1084,762,549,347,372,369,322,290,354,400,375,672,1098,935,692,547,626,882,971,1008,1472,2104,1664,1078,1160,1316,1240,944,988,714,380,456,464,379,406,547,938,1768,2246,2092,1404,770,966,1368,1174,789,1148,1532,1386,1102,1112,882,808,1054,1194,848,532,476,512,430,318,526,988,1372,1144,727,678,1126,1412,1318,934,653,789,828,717,599,563,687,839,890,1312,1544,1506,1306,1100,1160,1316,1294,976,808,1200,1248,1282,1446,1488,1626,1296,730,545,681,528,372,473,554,625,680,479,496,937,1011,606,479,487,639,900,1124,1366,1484,1588,1498,1384,1396,1194,1296,1348,1438,1550,1136,805,933,855,557,490,569,1004,1192,844,1128,1296,1212,1094,1009,629,513,601,664,703,659,688,482,371,332,325,353,373,377,347,332,346,328,358,399,344,304,299,371,368,353,401,469,451,417,525,664,449,326,315,349,396,379,343,372,390,352,455,582,626,715,753,601,398,395,395,364,399,419,552,652,577,504,769,1248,1518,1296,1426,1582,1376,711,597,509,459,456,521,530,574,697,1490,2094,1592,836,435,440,553,749,1048,985,973,893,528,547,522,486,785,879,888,1350,1166,1252,1640,1586,1456,1312,1174,1224,1148,829,940,1290,1342,1434,1114,1174,1464,1252,1396,1390,1256,1244,1150,1020,1372,1092,550,519,899,1036,1266,1546,1446,1011,1106,1490,974,894,932,885,959,1098,1066,943,1038,1218,1066,962,1150,977,871,797,697,1026,1288,948,774,1130,1236,1048,1306,1650,1548,1088,1236,1296,814,990,1438,1148,677,619,628,789,1138,1176,1372,1770,1548,877,732,553,492,720,1464,1740,1822,1798,1450,1010,770,1250,1306,1194,1286,1058,1340,1384,1244,1188,1358,1554,1366,1006,1064,1176,1368,1152,852,597,604,954,1386,1446,1454,1578,1232,874,1072,1134,1406,1054,891,891,902,1066,1538,1958,1466,746,517,538,451,444,432,721,1178,1310,1164,1220,1332,1416,1094,831,601,558,749,643,759,727,595,974,859,709,720,1230,1476,1454,1490,1286,1248,1336,1266,1252,1348,1498,1386,1336,1336,1023,1014,1098,1236,1468,1136,1026,1408,890,413,494,897,742,572,569,899,1234,1212,1242,1318,1190,909,848,663,673,1230,1628,1582,1476,1412,1548,1638,1502,1500,1380,990,945,1082,1098,1262,816,703,782,798,1005,816,552,638,992,1346,1362,1396,1794,1410,1284,1264,1126,987,739,772,1242,1862,2030,2114,1532,1428,1362,1386,1480,1412,1496,1360,1246,1300,1068,1134,1376,1404,1240,1220,1162,1098,1466,1188,935,716,872,937,909,1170,1102,933,810,802,592,530,540,744,885,625,592,1186,1376,1198,1326,1378,1324,1298,1300,1332,1350,1362,1418,1422,1390,1382,1450,1450,1013,643,967,1058,1102,1314,1068,808,687,805,743,724,683,671,979,1056,1003,893,797,709,938,1344,1300,1074,1304,1190,803,843,869,553,422,463,510,580,1048,1352,1002,906,1330,1670,1708,1534,1152,1026,1086,1042,944,918,1058,1136,766,502,421,384,330,351,380,545,658,561,823,1154,1058,711,524,584,595,416,346,373,494,507,504,505,473,452,443,449,458,464,472,488,478,424,445,496,504,539,685,641,666,562,467,467,464,583,781,1100,1116,689,838,1128,1226,1326,1158,905,951,1170,1130,945,979,763,322,212,236,294,365,333,338,358,404,469,558,535,405,304,300,296,303,325,313,342,390,499,982,1212,1072,962,994,1196,1154,968,1562,1918,1782,1420,920,779,1005,1021,1036,1058,788,579,585,359,348,554,1548,1112,566,440,607,583,442,386,520,815,686,662,851,623,943,1044,926,682,562,467,425,518,553,477,496,547,517,521,778,496,415,370,503,623,571,468,377,676,775,716,723,854,772,836,562,359,305,303,344,346,332,334,430,481,471,609,734,834,617,796,852,1102,1280,1007,972,976,822,904,1374,1126,598,419,383,346,379,371,276,271,365,391,388,383,332,326,324,325,325,322,337,350,339,339,408,450,427,393,448,414,336,427,491,452,424,465,437,388,499,561,564,558,446,370,349,361,381,420,492,505,571,841,1166,1190,698,598,850,597,447,401,419,360,298,387,946,976,398,516,508,525,491,1164,1036,672,1076,1304,999,705,999,1752,1021,499,683,882,847,675,602,543,594,671,579,403,455,492,400,451,412,374,353,374,364,388,439,412,370,279,306,542,730,496,394,470,565,344,447,690,600,415,559,727,753,651,467,427,497,583,473,398,554,933,1110,866,750,720,414,343,360,577,628,481,534,474,378,367,522,692,668,685,532,519,475,376,372,655,482,309,297,306,317,396,402,361,464,465,547,536,432,414,446,468,473,469,536,515,621,892,948,852,855,1246,1092,938,988,1004,993,1128,1180,1026,855,771,920,886,1594,1734,887,529,976,1198,1300,1448,1324,1370,1642,1274,1106,1138,1338,1118,1132,1194,1128,852,965,1190,1094,1148,1013,922,1272,1484,1434,1442,1876,1588,1364,1212,1076,1096,1166,891,862,954,1224,1108,1020,1400,1534,1228,867,709,723,666,770,1284,1510,1100,1582,1344,1310,1694,1630,1194,839,1140,1262,1030,1032,1048,997,1120,1244,1388,1542,965,504,408,523,664,688,802,984,1246,1023,428,573,541,462,652,999,725,759,1274,1090,842,1028,1038,1064,1190,1108,791,482,577,514,671,786,728,486,585,662,622,849,977,1094,1238,1178,1174,1114,1015,871,1222,1336,947,862,950,1048,1156,1246,1016,771,875,996,938,1160,1062,756,844,1144,1310,1406,1090,497,579,507,389,487,394,712,828,911,1182,1140,1072,944,529,332,603,1102,1310,1158,1248,1318,1252,1080,749,651,679,351,350,355,374,357,354,355,376,378,462,524,766,1148,1190,1192,1232,1032,643,437,454,574,634,512,504,574,676,834,719,470,329,320,326,299,311,323,328,309,287,275,272,278,298,311,317,291,319,312,304,311,313,299,303,327,339,376,392,391,380,369,382,349,361,364,363,359,352,356,351,336,344,350,344,356,356,354,350,353,367,352,339,345,336,333,327,324,325,326,347,355,351,343,351,364,355,333,328,337,332,331,325,306,300,304,317,313,313,309,306,303,308,312,308,313,315,313,310,319,319,321,339,335,360,422,421,398,387,376,366,367,416,439,452,446,432,430,444,431,407,405,430,434,426,416,404,415,412,403,397,389,409,411,414,407,404,417,411,403,398,403,404,406,406,399,379,383,401,382,391,385,385,386,365,365,368,383,380,370,373,380,375,373,373,378,380,378,373,376,380,372,380,389,385,407,395,395,393,391,388,375,362,351,346,352,354,349,352,364,372,370,369,367,360,360,361,352,334,330,335,328,317,311,316,310,306,305,321,313,313,316,317,316,325,333,337,345,349,357,359,377,391,409,398,412,410,412,448,388,331,324,307,303,313,323,319,315,311,294,314,318,316,375,443,456,478,505,486,401,342,317,308,300,295,291,291,287,286,288,298,293,290,292,291,296,296,307,308,303,302,310,317,310,314,317,317,324,324,339,350,331,338,352,348,346,344,343,336,337,339,332,332,329,325,325,318,322,329,313,308,322,318,301,310,306,302,309,308,288,297,308,305,307,306,308,310,311,311,314,303,316,319,319,319,316,316,313,306,305,306,312,319,319,312,302,294,289,288,287,288,288,299,301,290,287,299,279,288,294,298,301,295,288,286,289,288,281,279,281,281,282,285,285,288,293,297,300,294,297,310,304,314,320,312,296,310,292,297,305,311,314,311,300,294,309,314,312,307,320,314,320,320,304,311,314,304,298,294,288,274,268,270,276,276,276,276,276,271,276,273,268,271,274,273,259,261,264,269,264,262,262,262,263,261,269,270,267,268,263,261,257,271,292,293,279,274,279,281],[265,296,313,340,312,399,396,346,348,348,426,686,893,1098,1334,1362,1394,1448,1204,861,631,549,581,537,387,341,246,228,241,236,245,239,230,215,210,216,201,309,346,281,311,383,458,580,461,322,271,292,318,331,363,451,669,645,595,599,415,448,700,760,969,1864,1920,1380,717,453,502,440,350,325,310,312,300,270,251,287,311,299,297,292,299,483,721,790,697,613,592,479,453,466,540,499,411,390,425,433,536,640,673,680,644,513,411,406,434,473,436,360,398,421,344,325,318,293,308,291,332,337,320,319,351,471,512,413,357,315,351,360,372,498,359,325,344,301,245,242,274,274,405,512,645,1150,1518,1412,1408,1366,921,549,683,910,712,510,343,345,354,341,297,285,315,354,331,655,886,1124,1054,570,505,438,504,846,1564,1858,1040,581,979,1266,1124,996,1060,795,320,363,426,466,493,756,1132,1354,1434,1212,922,1036,1572,2100,1882,1428,1574,1216,977,1016,1364,1386,1152,1104,821,428,311,315,307,370,472,684,899,1222,871,938,1440,1666,1368,1336,1072,700,703,824,830,676,593,524,602,869,1170,1332,1438,1212,1158,1504,1482,1220,1120,935,1250,987,1216,1328,1560,1646,1630,1148,658,522,397,334,655,1514,1736,1464,694,492,691,708,466,645,838,743,766,982,1244,1302,1234,1290,1306,1208,932,689,656,991,1496,1558,1118,689,726,979,833,770,914,804,634,846,1222,1146,1100,1026,848,528,719,793,722,636,769,471,381,343,325,345,360,357,336,351,393,323,346,391,335,302,295,328,366,450,490,440,408,411,533,735,408,355,311,329,350,336,311,326,344,355,421,473,497,650,792,675,400,321,379,397,389,364,374,449,415,321,577,1318,1326,860,1082,1432,1110,635,576,640,451,472,684,634,830,772,1114,1506,1412,1094,774,716,1003,915,549,459,563,606,581,677,769,769,790,888,1226,1346,963,1216,1354,1278,1344,1054,1246,1426,1296,1310,1386,1526,1374,1312,1618,2036,1904,1382,1194,1100,1172,1244,1170,921,1254,1120,674,553,751,1056,1340,1522,1460,1078,1086,1002,803,1042,1428,1212,1090,1256,1566,1378,814,1330,1366,997,1098,960,541,743,805,1015,1092,863,947,1082,1324,1670,1588,1542,1444,1556,1580,1262,791,678,843,702,612,720,756,1070,1786,1506,1350,1132,856,569,530,427,379,965,2032,2272,2148,2094,1548,1094,741,910,1002,1298,1474,1184,1126,1080,1026,1274,1488,1504,1268,946,852,1074,1614,1180,774,885,1110,1086,1122,1482,1500,1226,990,755,896,974,1021,927,792,844,788,771,973,1330,1282,670,484,422,435,445,473,563,681,898,899,895,1318,1592,1338,1178,817,655,1018,750,544,835,739,777,747,616,532,1162,1664,1472,1216,983,1262,1198,1104,1236,1400,1412,1418,1454,1172,915,1254,1354,1326,1410,1238,1282,1372,827,604,662,814,656,533,780,1244,1534,1528,1338,1332,1100,882,668,920,985,943,1216,1428,1368,1374,1714,1684,1376,1166,989,857,821,675,647,714,539,543,643,813,816,612,587,812,1328,1312,1240,1262,1260,1038,1160,1250,1058,738,688,888,1310,1562,1874,1820,1262,1186,1362,1378,993,1232,1824,1252,1058,1356,1172,1252,1240,1282,1304,1256,1242,893,769,717,571,647,932,747,600,787,655,532,558,676,890,1184,1398,1570,1574,1021,533,1112,1382,1068,1162,1376,1404,1376,1376,1346,1324,1378,1428,1464,1460,1430,1444,1416,1017,953,1184,1126,1074,1234,1018,761,863,804,756,720,960,1062,919,896,715,601,527,498,664,1096,1426,1426,1508,1272,1005,1694,979,616,519,454,426,660,1244,1384,1096,1066,1432,1796,1680,1384,1046,875,932,957,886,961,1164,949,721,628,387,341,333,569,1018,1007,943,877,855,901,822,654,777,1144,948,631,420,386,413,412,457,521,458,418,440,471,487,496,492,484,467,457,483,496,499,502,624,578,467,442,463,431,469,619,959,1318,1338,1056,822,1028,1020,1001,1038,902,799,959,1356,1196,1092,698,386,255,249,279,338,310,292,302,323,346,338,338,366,334,321,319,325,328,319,353,408,417,578,846,1086,1162,1186,1280,1023,859,1030,1332,2216,1614,930,1100,1326,1286,1144,997,871,871,871,626,639,558,713,745,692,645,507,437,428,445,664,936,793,527,564,600,727,1026,1030,958,813,573,475,622,547,491,454,489,562,496,346,299,325,264,347,483,467,473,565,1200,1018,788,711,753,746,523,409,393,352,331,369,320,385,345,491,571,617,709,739,776,689,588,588,878,1030,952,1028,938,941,965,1308,1304,714,382,394,356,363,367,302,278,336,377,389,425,415,427,370,328,305,300,300,276,269,321,414,468,444,438,491,469,393,450,484,461,448,487,479,435,469,492,564,612,523,412,347,368,435,546,652,605,508,514,653,1056,1100,599,709,678,413,462,593,433,284,370,626,576,673,852,577,373,258,456,478,470,716,776,664,477,774,1248,683,365,366,598,750,914,981,880,665,599,582,491,366,364,385,440,420,379,329,325,343,408,439,416,384,325,320,433,689,813,854,727,630,502,452,675,912,702,705,689,459,417,487,476,418,404,428,722,1026,939,635,590,838,826,472,292,273,480,824,684,438,388,354,362,499,583,576,1009,780,497,456,567,528,382,411,441,283,294,307,330,392,399,435,394,480,494,412,371,422,547,581,499,463,475,543,390,371,435,595,1058,1046,958,1074,848,802,1250,1274,868,818,804,630,615,1200,1622,1080,703,1124,1498,1550,1602,1806,1470,1244,1230,1374,1314,1220,1200,1232,1166,1162,1072,1116,1104,950,1106,1252,1252,1320,1322,957,1078,1294,1312,1396,1512,1290,854,766,656,800,1068,940,786,1114,1512,1512,1356,1186,890,805,702,762,1488,1628,1028,859,774,1130,1590,1328,804,622,969,1214,1134,1064,1100,1338,1904,1328,1202,1372,1001,531,441,585,521,394,379,613,982,754,439,496,524,420,431,490,404,891,1472,1132,622,698,823,819,896,1406,969,716,819,842,777,938,786,405,568,506,452,599,669,903,915,871,878,989,1144,1042,1096,1214,1166,1270,1110,974,785,809,667,602,1015,1118,965,929,788,839,813,958,1218,1506,1346,986,715,394,446,671,556,680,1003,852,836,868,864,940,673,481,450,1021,1302,1098,843,704,961,1216,747,457,732,431,371,385,382,382,378,391,377,364,468,532,581,751,688,621,1048,1346,1224,799,628,625,653,599,621,637,633,719,732,426,283,311,357,329,343,339,323,319,291,285,286,282,285,303,306,278,301,301,292,295,303,337,352,329,362,400,383,404,381,373,378,361,359,361,358,343,341,353,347,327,335,360,348,353,352,371,356,350,362,347,334,336,338,336,330,328,327,345,346,347,347,343,347,355,347,343,342,330,325,318,309,306,300,303,308,318,330,318,318,312,309,300,305,312,327,319,313,313,319,332,348,341,350,400,403,409,406,418,393,386,410,434,457,446,433,447,457,440,433,393,422,443,428,410,412,410,401,416,404,391,417,409,398,390,389,409,407,398,396,398,401,403,403,400,386,380,392,386,383,391,387,389,384,374,372,377,374,385,398,382,362,360,371,385,380,375,362,368,380,372,364,372,372,386,391,383,395,405,395,380,368,352,346,351,354,350,354,363,370,372,374,374,371,371,363,354,352,346,336,328,321,317,317,310,305,296,310,317,317,317,317,316,320,328,343,349,351,354,355,375,387,412,397,400,401,417,430,369,335,339,328,320,321,327,307,312,329,314,304,314,310,313,383,409,431,486,505,454,364,314,308,299,291,290,281,281,286,286,286,278,284,291,292,291,294,306,310,302,300,307,308,312,320,321,323,324,329,334,340,337,340,350,346,343,344,344,337,337,329,318,319,319,326,332,314,309,323,311,311,311,309,309,322,318,304,303,306,307,300,305,307,306,306,306,306,308,315,331,318,314,324,319,310,314,315,310,306,307,307,313,314,312,307,306,312,309,294,287,287,288,287,280,286,290,307,297,292,294,298,302,295,286,280,289,294,289,285,288,282,288,290,293,296,297,300,307,313,289,288,307,314,320,309,309,317,308,307,307,308,311,314,305,302,307,308,312,316,307,316,320,320,320,319,304,299,293,288,277,269,268,276,276,276,269,276,276,281,279,274,268,269,276,282,253,261,265,267,269,265,262,263,262,264,267,264,274,269,270,253,250,267,288,293,281,276,277,289],[262,301,332,374,326,353,392,357,299,342,576,824,771,713,702,687,1090,1312,1334,803,585,585,560,612,639,577,321,235,253,243,288,282,252,209,182,183,273,440,427,373,367,328,480,820,784,404,309,350,309,393,352,295,453,415,342,471,424,424,560,607,663,1088,1208,808,486,399,367,331,317,311,310,297,286,275,297,304,296,301,314,329,375,550,747,788,706,579,472,408,419,470,538,484,402,437,467,543,772,821,1488,1274,749,575,496,511,552,543,469,410,463,391,333,283,301,361,373,325,301,331,334,305,347,441,435,376,318,278,332,347,401,487,450,364,375,402,355,329,263,317,370,408,437,828,1200,1300,1434,1844,1742,891,665,998,1170,681,375,342,336,326,306,281,324,316,288,322,506,1038,852,395,455,532,643,621,1186,1440,1154,722,710,687,650,808,1310,1178,490,403,503,561,475,750,1348,1038,705,874,1272,1966,2236,2380,2114,1770,1450,1108,922,1202,1370,1288,1230,982,608,415,311,315,291,471,669,984,1000,760,1015,1486,1462,1076,907,1126,1252,1034,688,635,638,609,546,563,735,678,949,1338,1338,1150,1374,1632,1488,1506,1444,1720,1642,1198,1404,1400,1142,1176,1448,1440,1528,993,914,469,716,1742,1996,1896,966,430,559,686,478,597,805,683,720,861,1202,1264,1030,1118,1228,1128,879,593,673,883,1232,1480,839,407,807,1176,1278,1358,796,585,763,1270,1404,1012,1088,1272,1232,945,1322,847,781,830,995,780,504,354,340,344,346,355,361,361,426,405,375,341,309,302,302,301,334,383,387,357,351,377,381,457,379,384,366,367,365,356,364,392,404,438,447,453,455,623,805,661,319,237,353,398,349,330,334,360,323,328,408,841,797,731,1214,2136,2020,897,525,670,604,636,505,423,1016,1204,1210,1410,1344,1356,1274,1038,945,711,710,628,450,686,915,874,864,954,1194,1132,1262,1256,1210,1744,1632,1384,1166,717,948,1036,1144,1770,1810,1554,1318,1572,2438,2080,1686,1310,1152,1250,1262,1152,1264,1236,1364,1284,1200,1044,582,783,1202,1274,1536,1564,1562,942,670,1218,1472,965,550,721,1284,1502,787,1296,1478,1118,1396,1194,916,1011,823,939,1110,1168,1500,1606,1770,1950,1610,1604,1516,1596,1602,1318,697,469,557,600,437,538,688,610,802,782,910,668,579,513,416,393,363,850,1832,1992,1604,1256,844,644,738,813,1442,1884,1660,1214,822,623,767,1066,1116,1062,756,739,1009,1072,1100,761,538,819,1290,1104,818,1126,1122,866,875,904,1066,1484,974,749,708,726,786,698,618,798,976,685,477,467,551,519,448,525,544,866,1158,1172,1830,1856,1442,1338,1090,1082,1344,1104,986,1188,986,1028,1162,752,953,1896,1982,1344,975,950,1224,1108,1082,1314,1328,1234,1074,1010,855,655,975,1132,1038,856,998,835,542,512,872,1130,926,738,711,719,1096,1400,1498,1250,1144,945,834,912,1244,1362,1228,1246,1500,1596,1490,1450,1378,1386,1322,1152,900,833,764,659,632,521,622,799,1023,828,507,462,724,1062,888,757,1156,1244,888,976,1208,1008,753,799,1254,1528,1394,1626,1476,1350,1318,1276,1140,744,1382,1860,1136,1472,1716,1214,1146,1108,1224,1182,1274,1222,739,515,659,551,771,786,711,1060,1362,1140,1007,1102,1136,1256,1438,1490,1494,1422,1006,476,1007,1446,1082,1100,1356,1454,1450,1426,1362,1340,1400,1452,1460,1500,1474,1432,1444,1250,1084,1188,1282,1146,1224,1064,750,1070,1260,1136,883,1322,1354,1064,1001,742,557,482,488,686,1188,1498,1518,1444,1332,1296,2030,1122,691,669,714,521,481,867,1152,1072,1202,1540,1490,1322,989,721,855,962,919,916,1030,1008,772,865,684,443,442,505,743,1178,1138,1138,1232,1172,1106,951,789,1013,1062,1008,957,528,418,436,489,495,476,434,429,474,473,462,436,422,440,457,490,503,503,533,550,541,473,426,422,454,446,489,588,889,1116,1238,1106,900,886,849,1070,1196,977,660,844,1170,961,721,518,339,263,259,269,311,292,261,299,290,238,291,369,404,388,381,375,357,354,337,369,439,414,463,631,879,1192,1272,1092,565,399,397,760,966,637,725,1266,1598,1854,1638,1244,980,737,758,632,656,911,1036,866,796,771,695,681,526,517,713,825,999,828,653,540,729,977,877,926,1064,832,728,759,720,564,473,470,495,457,449,556,494,359,351,401,460,520,460,882,861,533,552,813,709,418,343,409,392,306,416,393,430,637,899,786,666,851,753,634,875,798,541,747,1068,1382,1242,935,777,695,1048,1360,950,460,465,415,389,389,308,252,274,357,354,355,459,452,339,291,285,276,265,269,264,282,358,414,445,403,466,463,403,450,484,474,453,448,431,442,432,491,596,602,523,435,406,449,507,580,761,671,572,474,444,745,1264,1096,984,1010,752,441,522,397,324,410,561,447,1284,1332,658,385,356,429,481,697,997,823,708,506,1302,1460,625,340,404,465,548,596,711,828,885,807,675,509,368,351,423,451,416,375,360,372,364,323,371,438,369,328,354,386,692,954,822,462,355,559,664,499,764,813,625,443,407,522,859,841,443,293,470,888,852,542,674,913,729,419,301,322,438,542,794,806,485,446,451,325,327,378,593,1020,679,484,399,468,512,371,749,1132,419,324,339,339,357,338,364,387,455,490,415,368,399,521,521,432,426,448,477,394,412,457,659,1050,1072,1102,1198,445,455,765,935,999,805,644,510,543,859,1304,1392,1290,1090,986,1496,1824,1460,1130,975,1192,1502,1454,1212,1162,1140,1254,1306,1234,1074,1180,1382,1046,1164,1724,1694,1316,1048,1162,1128,1064,1226,1476,1194,855,952,960,1080,1080,831,613,718,1186,1370,1360,1294,891,847,832,726,1012,1098,807,677,916,1288,1412,1130,809,567,595,915,1252,1382,1432,1418,1460,1366,1284,1314,1009,692,522,585,471,435,458,493,457,309,350,456,526,442,430,427,457,798,984,739,630,686,636,435,355,854,874,844,1184,1122,885,1082,762,343,583,694,697,756,1002,1120,1036,1014,929,782,1132,1280,1610,1796,1360,1484,1009,777,695,716,639,529,743,899,739,563,918,1188,947,1126,1694,1704,1488,1522,1206,692,499,704,846,868,1072,952,830,1068,1500,1240,746,455,353,557,827,885,673,667,1314,1510,1086,742,964,579,374,384,382,399,386,401,372,378,484,512,492,509,482,505,985,1260,999,660,536,580,709,644,717,634,517,605,696,482,345,513,570,385,341,340,343,340,306,282,284,283,274,317,295,273,282,277,274,267,258,295,333,415,422,404,391,396,379,383,383,370,355,365,365,349,368,363,341,335,333,343,348,353,353,344,332,360,358,354,366,343,348,338,323,298,310,335,341,354,352,345,347,367,342,333,323,317,324,315,306,307,302,303,305,314,331,319,312,305,310,301,303,314,331,315,302,308,317,335,366,344,334,381,406,419,418,433,421,406,408,430,459,446,430,446,455,449,431,393,401,420,428,432,426,409,410,441,422,412,429,411,393,397,404,416,411,399,404,399,392,403,413,419,409,394,408,392,368,382,394,392,389,389,394,390,372,383,382,368,364,368,378,358,366,372,360,360,372,375,359,385,391,391,393,390,395,390,380,380,374,354,347,347,354,360,365,354,357,360,366,372,376,372,358,351,338,328,330,328,322,323,317,312,306,302,306,312,314,314,317,319,326,323,346,355,357,351,349,363,387,407,418,430,417,388,361,345,297,276,267,260,283,287,269,277,322,325,322,326,321,299,340,378,387,448,503,471,382,318,310,300,290,284,279,280,286,292,288,277,275,284,286,286,294,303,300,306,306,300,297,309,324,323,320,320,332,343,343,344,344,344,344,344,338,337,335,335,332,330,332,332,329,316,318,308,316,312,312,306,306,312,319,318,322,311,305,307,311,308,306,306,306,306,307,306,307,306,308,319,319,303,320,312,313,313,313,307,306,309,307,306,307,309,303,293,286,287,292,293,282,288,290,298,294,282,292,297,292,288,288,298,286,293,294,297,293,288,288,292,296,308,314,308,308,308,316,300,298,297,302,323,314,312,316,308,308,307,308,305,305,308,309,309,309,316,320,317,319,320,317,311,304,312,307,301,276,288,282,276,274,276,276,279,276,267,280,276,276,269,268,273,284,269,269,274,276,274,267,262,263,262,262,261,268,275,275,270,262,262,264,289,288,280,293,275,285],[252,267,285,325,318,332,362,350,313,292,308,340,340,343,359,464,568,1122,1666,1040,474,521,460,454,469,430,303,310,299,271,289,282,226,206,200,230,458,670,551,573,520,428,415,620,901,588,305,255,291,384,379,306,392,465,372,526,552,398,363,415,456,471,339,241,303,352,318,256,272,279,299,307,352,385,388,357,356,347,381,402,432,455,452,479,500,468,460,416,440,481,449,432,414,510,599,919,1376,1220,2232,1824,765,581,743,892,913,766,521,460,483,396,326,277,359,475,429,318,327,380,395,362,339,362,379,381,334,335,359,322,380,488,446,329,401,536,539,448,525,673,444,367,319,420,813,1142,1366,1980,1764,1068,1040,1366,1638,1468,824,393,301,317,315,289,295,280,265,237,312,508,417,290,347,762,1106,1102,1264,1180,814,814,854,672,438,688,1526,1378,807,520,468,472,411,494,916,955,943,1078,1334,2076,2232,2190,1900,1618,1090,940,1013,1130,1024,974,1186,1242,1156,709,376,319,287,395,503,833,911,532,600,879,996,1288,1406,1466,1586,1406,942,674,584,523,616,731,959,926,641,949,1370,1316,1442,1362,1812,2064,1678,1616,1490,1262,1440,1624,1156,1268,1338,1622,1736,1162,1472,668,552,1144,1454,1484,966,803,1524,1482,585,610,621,435,448,615,777,775,833,1198,1620,2020,1472,859,1284,1306,1230,1516,1298,814,963,1224,1376,1166,596,524,827,1366,1658,1132,1364,832,861,1364,1372,799,772,965,1028,891,621,342,363,361,360,375,366,351,380,384,374,330,300,293,298,303,316,359,400,379,343,341,319,323,449,514,440,367,363,346,375,391,426,529,519,502,463,603,767,596,343,323,314,305,277,274,310,334,305,328,343,483,667,962,1780,2240,1490,555,372,583,704,706,389,343,652,1208,1494,1174,1018,1134,1144,959,658,602,984,692,483,916,1094,1242,1204,1028,988,925,1210,1220,1422,1664,1382,1392,1122,747,843,907,1140,1360,1292,1406,1246,1272,1662,1714,1854,1532,1484,1432,1172,1076,1152,1230,1414,1326,1288,1222,702,784,1338,1392,1618,1572,1520,1046,711,822,892,825,419,561,1050,1328,839,960,1072,1226,1220,904,1118,1162,743,922,1524,1626,1222,1458,1422,1578,1626,1572,1406,1328,1708,1434,603,558,689,738,630,639,585,448,460,379,820,1388,1246,872,498,398,379,606,1120,942,725,619,529,537,589,553,938,1238,1300,1198,1050,821,999,1020,1212,1264,854,832,1054,1122,1108,813,547,671,1068,1013,1036,1332,1104,932,1210,1220,1048,1110,1076,997,667,685,722,637,565,631,813,747,692,788,716,514,561,898,923,934,971,1302,2840,1754,1178,1270,1300,1378,1168,1184,976,749,923,1192,1294,1146,1882,1738,1370,963,1062,1236,1288,1352,1390,1338,1236,836,589,796,1130,832,704,739,756,572,906,788,406,457,620,786,653,623,633,455,648,779,1034,1200,1174,926,745,936,1256,1438,978,1014,1850,2004,1504,1216,1272,1628,1678,1438,1362,1238,823,532,471,420,636,766,959,705,512,450,541,822,1224,1210,971,1230,1384,1284,1184,1112,893,618,1130,1542,1510,1510,1480,1422,987,825,1200,1432,1810,1792,1005,1038,1114,985,1228,1388,1188,1086,1098,1124,921,592,480,587,1176,1120,1184,2178,2008,1456,1334,1284,1268,1378,1390,1416,1400,1534,1110,488,882,1422,1156,1094,1440,1566,1548,1480,1368,1308,1368,1472,1488,1494,1366,1156,1018,854,812,1184,1396,1294,1416,1276,785,1194,1484,1314,1010,1010,854,860,842,641,715,985,1136,1108,1210,1210,1534,1390,1164,1248,1242,930,664,816,927,635,369,438,813,1068,1250,1332,1050,879,655,483,637,847,866,957,986,828,1072,1194,1212,1322,1312,944,819,1048,1138,1272,1290,1312,1324,1322,1222,1366,1254,1026,900,651,475,520,475,399,423,438,466,532,414,424,410,413,425,394,490,538,486,516,527,478,458,432,416,419,414,464,515,760,901,936,971,974,778,606,648,698,903,1126,950,741,569,461,454,349,270,246,241,301,350,348,437,332,270,296,334,344,333,327,317,303,281,296,375,452,422,448,492,545,856,1364,1158,632,520,534,748,979,868,833,1788,2188,3240,2754,1844,1160,871,846,802,715,783,942,1030,984,907,1084,1078,813,653,647,743,895,847,698,802,832,933,935,858,907,775,894,789,733,642,476,409,412,386,457,784,985,594,520,398,432,550,689,952,813,552,518,587,573,580,425,468,455,346,386,386,378,786,1062,913,788,651,479,503,832,691,493,646,905,1136,849,567,436,411,807,1372,1248,600,431,386,340,332,281,249,297,364,387,401,396,355,324,305,287,273,260,264,252,256,294,338,397,427,469,444,403,467,505,511,483,469,458,442,429,457,512,486,401,373,400,446,535,537,630,618,519,434,437,624,1170,1504,1284,1072,1174,572,422,343,410,711,922,578,786,938,724,563,797,967,497,727,1418,912,614,675,1294,963,430,404,413,480,637,535,441,514,703,850,819,716,593,499,531,521,465,445,454,515,443,359,367,441,387,368,339,435,701,854,834,589,318,447,804,420,483,855,659,365,393,540,996,1066,512,343,343,648,807,892,935,749,443,330,365,468,478,315,461,715,595,444,378,243,271,317,354,434,455,594,552,522,593,520,973,1054,400,305,339,322,312,327,355,364,426,476,409,485,540,525,498,411,415,366,332,527,717,750,907,1170,1040,846,722,445,521,627,916,1100,934,634,449,616,938,1262,1312,1054,598,567,1062,1410,1090,1208,1228,1342,1572,1484,1290,1136,1094,1126,1262,1332,1210,1332,1226,828,1124,1816,2108,1858,1450,1256,1126,1328,1188,1294,1248,1005,867,883,938,899,852,693,707,1174,1518,1368,1164,1342,1138,774,744,991,1214,923,931,1318,1504,1444,1070,962,750,640,760,1036,1252,1350,1310,1302,1094,1084,1030,695,786,932,756,592,562,518,521,539,437,391,446,405,387,392,349,502,786,720,680,734,791,646,343,352,808,848,506,612,594,590,738,602,421,552,678,691,623,590,789,884,813,848,829,1410,1456,1548,2218,1876,1664,1164,790,677,672,683,514,440,682,622,350,486,639,873,1444,1768,1306,1086,1322,1424,976,750,595,739,701,1017,964,894,1246,1444,1028,548,345,409,607,1036,927,550,571,1124,1074,784,680,910,675,398,385,352,369,338,386,375,399,514,581,565,553,482,401,515,766,938,905,660,566,693,650,735,653,518,542,574,500,518,814,839,532,379,375,346,343,335,299,288,283,289,305,280,269,281,286,275,280,262,286,317,447,430,402,383,369,375,367,364,364,352,357,351,331,339,340,335,347,347,335,340,347,350,347,353,362,365,362,344,340,357,345,327,311,317,333,336,341,322,335,343,361,341,327,327,327,328,314,303,308,299,303,313,311,309,322,321,308,308,304,307,317,321,321,314,327,331,335,370,354,329,378,415,418,422,424,415,414,418,424,436,444,437,430,438,448,443,410,419,446,440,428,419,416,419,451,432,426,422,406,399,403,415,419,409,397,404,402,398,409,413,407,405,405,411,400,376,378,398,397,378,368,368,390,371,372,373,373,362,368,370,356,368,356,360,370,373,372,364,378,382,377,385,390,388,388,393,387,377,363,354,352,357,360,363,354,360,354,350,363,363,368,363,358,348,338,336,330,323,322,320,313,307,300,297,302,304,304,317,323,330,324,347,357,355,357,353,355,383,412,428,424,385,269,264,280,223,216,238,238,245,260,243,226,289,333,338,333,327,310,306,334,350,410,474,461,388,321,311,305,292,287,280,274,277,288,291,287,291,290,284,278,284,313,292,303,306,307,313,323,325,320,315,320,334,338,340,344,344,344,343,339,337,337,332,329,325,325,323,323,325,306,318,313,309,308,308,305,310,318,318,318,318,322,321,316,299,311,307,306,307,306,306,307,306,308,315,318,316,316,312,313,310,307,312,309,307,305,299,302,305,299,294,287,288,289,293,294,283,288,301,299,299,304,305,298,294,281,275,298,289,293,294,299,299,298,297,298,310,322,312,333,322,319,310,299,305,298,305,319,317,314,308,307,300,300,306,311,325,322,316,319,322,326,323,320,320,314,308,308,296,306,300,302,288,289,299,289,274,276,274,269,276,285,274,274,276,271,268,273,276,276,276,271,271,269,268,262,262,262,263,264,267,273,275,259,262,273,284,288,288,273,279,263,274],[255,277,287,298,310,317,336,363,311,269,284,307,350,328,363,560,588,962,1460,897,403,351,265,260,223,196,223,368,578,455,255,232,183,181,231,418,506,511,728,921,661,378,386,791,1116,879,462,279,327,282,371,428,546,449,291,472,452,325,280,270,339,342,291,351,447,342,329,321,283,281,293,344,468,525,454,369,383,381,444,505,510,440,367,401,469,525,513,413,401,485,440,449,675,973,901,1108,1548,1142,1362,1130,509,538,952,1094,825,677,588,437,454,378,346,325,373,460,439,429,426,410,386,360,409,452,410,345,357,373,462,485,423,405,380,317,371,484,544,425,471,749,629,514,385,345,507,626,1044,1710,1192,1224,1140,1360,1372,1496,1336,861,483,269,268,290,286,275,321,282,260,232,231,224,250,469,795,1052,1348,928,439,467,731,905,851,829,869,757,892,803,562,414,456,854,1188,1076,1260,1282,1282,1572,1834,1824,1714,1374,1106,1126,1180,954,558,493,790,1024,1316,774,529,414,313,341,398,522,592,588,526,439,806,1424,1446,1476,1554,1172,1020,825,653,692,898,1060,1478,1622,1072,778,941,1432,1302,1430,2072,1730,1174,1106,1290,1206,1262,1316,1250,1380,1262,1560,1132,690,735,561,465,589,731,817,817,1054,1604,1330,787,787,604,436,476,445,399,411,460,749,1588,2018,1622,1430,1526,1368,896,797,1342,1372,1316,1376,1212,825,597,751,725,1324,1324,1264,1578,916,1086,1728,1626,1018,646,864,956,917,691,429,373,365,336,328,333,363,386,398,378,341,329,306,289,290,304,336,360,360,374,354,326,326,415,514,455,367,340,323,329,335,404,590,606,532,478,583,709,578,496,447,403,421,369,278,330,336,294,309,354,459,812,1604,1826,1150,476,365,333,511,719,760,486,353,518,887,1098,1198,1268,991,766,502,417,438,550,502,678,666,675,1286,1338,1052,1126,1134,1310,1324,1406,1164,888,1208,1160,1012,1007,1044,1056,1242,1416,1378,886,735,1188,1520,1728,1588,1334,1210,1298,1204,1052,1064,1260,1282,937,906,793,1158,1534,1268,1118,1302,1774,1540,822,672,586,631,453,511,861,1074,1218,1250,1108,1088,751,596,712,631,604,932,1436,1288,922,1112,1274,1240,1510,1562,1306,1494,1472,1108,1100,1010,960,784,726,673,489,493,566,400,1072,1918,1542,1100,622,544,698,957,902,700,531,543,514,550,502,379,611,1210,1470,1138,1202,1146,1172,1044,1534,1700,1162,910,993,1440,1678,1234,752,772,917,1204,1650,2032,1404,1312,1396,997,546,548,1015,988,643,615,600,507,524,788,871,662,619,894,886,600,719,1174,897,628,721,1172,2254,1334,934,1054,1260,1058,904,930,649,686,1152,973,1003,865,1288,1294,1042,950,1302,1262,1168,1422,1356,1144,926,438,748,747,818,847,577,656,1010,1005,1216,1148,525,436,376,409,449,480,419,562,845,807,1040,1354,1324,1306,1444,1570,1388,1114,669,630,1300,1578,1426,1520,1646,1876,1650,1286,1128,645,466,306,278,340,397,452,589,463,490,507,608,952,1368,1196,720,860,1468,1282,1012,906,875,671,707,1124,1518,1544,1438,1262,690,1058,1498,1640,1738,2182,1682,979,613,605,1096,1382,1130,1070,957,895,894,595,491,802,1218,1294,1416,1458,1438,1534,1688,1692,1714,1664,1622,1644,1576,1778,1276,553,733,1366,1266,987,1330,1462,1452,1452,1338,1212,1180,1180,959,760,721,772,861,910,952,1130,1260,1280,1444,1296,794,969,1236,1210,1000,852,716,685,771,593,703,1148,1380,1438,1426,1482,1802,1366,926,1001,1006,905,677,967,1144,1054,739,650,1176,1318,1138,850,592,475,472,600,862,1060,952,822,756,964,1134,1032,1056,1314,1390,1001,644,661,785,1122,1042,1040,1138,1360,1404,1422,1458,984,902,787,407,441,439,443,383,436,492,460,352,361,371,387,370,379,507,532,513,479,488,456,429,419,414,428,454,499,522,689,770,684,738,879,650,403,413,467,763,1066,687,448,417,419,417,356,288,269,295,462,435,372,441,385,325,315,327,332,346,332,293,301,310,320,339,390,421,474,448,436,592,910,1056,938,814,1240,843,737,977,852,1172,1192,1864,2098,1750,1466,1256,1228,1110,975,1162,1086,1232,1228,1040,1078,1020,915,848,716,519,503,598,850,1338,1046,745,666,532,589,776,859,677,674,658,463,305,395,431,470,701,1008,869,647,452,548,728,948,980,681,677,760,760,469,624,441,417,462,390,346,334,321,643,957,757,532,421,440,565,819,613,489,586,679,540,326,285,296,337,652,1212,1406,861,439,335,315,311,303,296,307,326,394,404,343,303,318,305,286,284,292,283,265,268,274,289,304,340,411,447,463,599,515,507,491,457,448,449,453,484,500,428,329,334,428,495,536,566,796,871,675,628,739,893,1021,1078,854,611,1084,847,455,328,390,610,650,464,512,672,696,506,704,815,436,444,625,659,651,1168,1484,807,386,444,464,561,502,462,414,428,494,524,508,618,720,757,793,700,492,409,440,608,533,398,381,393,355,434,422,354,400,522,767,662,280,258,479,400,402,736,821,594,429,452,863,1152,628,480,347,594,828,728,460,336,353,410,529,546,406,296,415,623,662,445,313,284,322,302,310,383,548,826,827,535,577,470,622,479,322,311,293,303,307,348,328,312,360,451,495,624,677,510,507,441,377,308,310,492,578,628,1013,1248,778,472,577,575,502,540,742,968,1082,1058,989,1266,1368,1234,1180,872,672,849,863,934,1054,1092,1138,1364,1460,1378,1402,1266,1214,1206,1280,1340,1378,1848,1682,1320,1312,1302,1604,1844,1316,1280,1384,1346,1166,1130,1096,991,935,969,761,746,847,746,802,1232,1318,1340,1354,1656,1404,1300,1282,1288,1282,1292,1414,1032,905,1034,1094,957,891,826,655,786,1190,1252,856,866,631,535,553,703,999,1200,761,1036,1288,910,609,575,504,547,547,572,534,367,285,522,807,619,492,525,588,515,301,363,648,575,332,422,398,381,487,377,277,373,431,439,570,672,788,770,645,729,680,1290,1638,1466,1744,1562,1208,1226,745,337,405,650,918,788,773,720,468,294,302,428,830,779,551,793,1210,1196,677,440,394,490,456,736,1003,960,966,938,653,363,258,384,448,511,391,225,349,505,601,703,932,1074,712,426,400,355,364,352,375,365,401,474,658,636,499,542,521,581,899,1302,1244,744,458,577,634,609,527,498,542,605,628,787,885,753,529,419,361,318,352,327,289,279,282,293,271,263,275,309,333,295,284,276,283,313,351,387,402,368,372,382,371,375,371,346,346,339,329,350,347,335,347,356,344,334,335,350,342,347,340,354,352,354,346,345,345,336,330,319,343,336,336,332,337,337,342,327,329,332,332,325,319,307,312,298,300,312,307,310,324,316,308,312,301,290,304,318,330,325,321,318,327,348,356,348,378,400,397,401,418,418,424,424,428,428,460,460,440,443,454,449,422,424,452,434,419,419,412,389,420,422,426,411,398,412,419,411,398,403,396,411,421,407,396,402,398,401,405,401,401,392,378,394,400,377,371,384,386,373,373,370,364,350,359,370,358,359,354,364,378,373,376,368,368,374,372,372,376,380,388,406,389,380,374,379,377,375,368,352,348,363,360,350,363,374,368,365,363,357,346,338,328,322,323,320,316,309,302,297,301,318,320,317,320,328,333,348,359,359,359,353,367,402,429,410,384,385,258,205,216,204,237,286,256,241,232,173,214,272,306,310,333,335,309,298,295,310,348,428,470,387,331,311,303,298,296,286,280,280,281,286,286,287,280,279,282,286,290,296,298,300,306,309,314,318,325,321,323,324,325,337,344,338,335,334,332,332,330,330,326,323,318,318,318,323,306,316,314,308,302,298,301,312,322,314,325,327,335,315,318,321,309,304,307,303,297,298,303,307,307,311,314,315,320,313,322,310,301,309,305,307,305,305,306,300,295,290,287,294,295,293,302,282,280,297,300,307,299,289,290,289,282,281,289,288,290,298,301,302,311,312,316,325,339,341,333,328,323,312,314,304,304,312,312,314,314,309,307,300,300,299,302,304,308,317,323,328,327,325,320,316,312,314,312,316,302,299,301,296,289,290,282,288,274,276,274,276,279,279,276,276,273,269,268,271,276,273,267,263,262,262,264,263,265,269,269,268,269,269,269,265,254,259,273,294,288,285,288,283],[273,298,309,307,289,321,317,306,254,241,249,252,239,233,278,416,444,443,591,365,214,185,198,212,196,195,240,532,805,524,252,228,209,199,228,570,599,504,702,853,655,394,453,845,1042,881,620,469,428,291,399,473,491,390,239,259,309,349,382,349,286,259,293,526,507,343,376,423,383,343,328,392,469,487,502,427,389,380,447,799,893,669,504,392,416,480,465,399,359,451,384,325,691,1194,1582,1572,1220,784,462,418,416,538,697,1010,730,653,798,524,421,361,373,503,581,549,459,482,393,399,396,504,488,489,502,411,307,321,446,478,333,246,292,214,185,198,348,381,369,543,818,766,444,339,442,664,671,888,1116,1064,1718,1688,983,1106,1324,1256,951,583,379,288,300,352,469,317,270,240,236,232,227,272,381,991,1512,623,359,432,486,943,1334,1188,852,731,747,839,848,634,797,1310,1174,1294,1576,1432,1013,1050,1598,1788,1644,1392,1444,1406,1110,662,329,320,321,538,921,527,568,772,587,388,386,375,528,553,516,484,651,1478,1792,1450,1096,1130,1164,926,1038,999,834,1332,1848,1792,1270,780,839,1512,1548,1640,2050,1638,733,816,1372,1242,726,894,1158,912,896,946,890,807,753,645,462,341,408,487,662,1009,1236,1072,1007,736,535,478,469,419,358,352,385,642,1224,1158,904,908,1032,901,648,558,823,1178,1410,1372,1120,719,688,824,1188,1526,1268,1406,1472,1204,1394,1686,1442,968,848,1030,1140,1128,890,602,462,396,373,366,333,365,394,349,312,329,332,328,286,289,303,317,328,345,379,364,330,330,387,410,356,280,293,346,369,409,497,610,624,567,542,563,609,585,516,487,523,553,466,382,347,321,315,348,303,324,755,1448,922,410,336,367,394,425,677,836,851,903,686,481,558,875,731,625,714,594,702,654,436,670,1252,1238,1296,1726,1410,1202,1350,1568,1284,1118,1300,1122,1208,1402,1188,1154,1044,838,725,942,882,673,512,451,1120,1470,1158,1062,1022,1060,1538,1202,1044,1324,1470,1296,1084,980,1010,1248,1110,849,664,1062,1998,1714,780,633,616,589,496,451,1040,1372,1578,1770,1548,1248,631,503,529,500,518,881,1148,1232,1226,1534,1556,1340,1634,1502,1360,1532,1232,1060,1738,1434,935,555,500,588,591,711,826,550,748,1968,1794,1154,913,1078,1252,1260,1332,996,528,515,555,543,546,499,673,893,1310,1278,1324,1002,1138,1162,1256,1928,2042,1272,1270,1800,1666,1356,948,783,802,1200,1866,1584,798,1060,1620,1290,558,782,955,789,549,489,478,522,582,771,772,543,574,729,733,771,1032,1218,660,571,922,1470,1660,1148,1028,1272,1388,1264,1019,615,527,561,1054,896,1036,1138,1510,1382,1136,995,857,989,1274,1430,1304,1152,853,668,1972,1690,1084,791,484,680,1178,1440,1554,1348,610,428,379,415,548,565,455,717,1180,1212,1186,1428,1264,1150,1328,1504,866,527,529,480,702,638,975,1556,1694,1668,1488,1015,576,427,361,313,297,409,575,601,476,509,724,761,652,696,753,538,527,608,1254,1176,994,1011,913,710,634,726,1124,1626,1518,1110,846,1450,1724,1610,1578,1772,1562,891,554,553,656,937,1172,1026,830,555,612,612,573,804,968,1346,1534,1584,1592,1390,1502,1636,1696,1670,1804,1678,1594,1422,951,470,629,1276,1368,877,1008,1044,924,860,719,671,833,1016,1003,958,1016,1134,1150,1152,1036,976,957,949,1188,1274,987,1023,1246,1218,1158,1232,1230,1186,901,712,568,995,1274,1210,1256,1648,1862,1450,1156,1110,1136,1224,1156,1422,1344,1182,947,722,993,1186,947,767,700,692,799,935,944,965,971,729,664,884,833,777,1282,1358,633,746,1064,1230,1036,1122,1080,980,990,950,927,1036,948,902,1126,813,404,426,454,466,336,322,389,394,424,421,390,378,372,438,500,512,512,483,459,455,444,431,428,433,453,499,616,727,630,491,592,713,460,349,444,476,549,555,531,476,382,357,374,374,285,318,393,372,316,326,355,381,375,355,314,335,373,341,315,353,353,373,437,425,485,518,469,458,480,468,576,802,814,1156,933,1000,1008,929,1062,1030,1176,1242,1330,1458,1218,1001,970,1158,1292,1140,1042,891,677,893,1046,775,555,508,551,393,412,762,1140,802,613,609,774,1018,1070,932,861,686,630,653,706,630,521,479,473,480,577,576,465,603,729,950,1096,915,867,1001,1190,713,524,511,539,474,353,320,328,334,498,675,557,447,397,405,509,847,771,554,569,586,473,469,367,418,513,626,998,1388,1110,584,394,372,331,311,294,284,294,376,403,313,253,277,285,289,294,288,274,277,292,284,274,281,303,318,396,485,609,502,475,469,415,429,446,480,459,426,495,402,365,469,582,537,515,849,1066,808,612,565,586,571,540,484,354,678,990,689,335,392,339,228,409,869,575,456,417,485,536,507,607,666,752,767,905,882,537,365,477,473,452,460,432,429,414,448,480,412,429,448,448,818,850,763,583,515,520,521,483,497,457,470,511,489,347,323,323,437,375,300,288,433,528,415,567,683,483,330,258,547,1034,632,450,330,507,484,347,342,349,401,446,460,387,404,369,397,554,664,487,343,325,318,340,393,489,608,727,760,470,568,496,655,559,383,558,792,506,298,316,338,405,365,372,483,555,514,412,396,355,332,294,306,330,443,772,1001,1192,832,651,720,717,667,390,398,763,1098,1402,1302,1014,895,885,1130,945,830,982,1018,917,1132,1270,1296,1392,1422,1390,1484,1238,1202,1316,1242,1184,1224,1456,1460,1464,1234,998,1162,1214,1144,1344,1398,1094,1032,750,716,883,904,894,960,1178,814,614,935,1112,1220,1344,1260,1124,1072,1002,874,1032,1266,1422,1086,765,810,1036,822,603,752,904,927,792,1656,2548,882,755,689,665,684,700,697,684,738,1272,1438,1046,810,628,567,641,607,789,754,687,408,331,557,480,459,505,491,353,278,297,344,605,688,514,419,379,336,233,228,269,244,314,436,343,474,579,549,547,478,783,1206,1448,2200,2098,1328,1256,800,391,473,473,556,505,616,712,495,350,432,952,1078,461,914,1218,1100,754,788,527,504,688,565,729,1054,816,538,469,326,254,268,299,338,624,731,504,327,367,511,824,1188,1216,808,454,392,355,334,367,378,359,385,464,623,559,436,515,482,476,776,1122,1156,752,424,485,602,610,613,577,667,760,808,857,636,446,397,384,529,684,551,340,292,265,277,278,294,296,281,303,337,308,297,295,300,311,308,351,386,384,369,352,355,366,364,343,343,335,332,346,341,335,339,345,348,342,337,341,341,335,342,354,345,361,358,343,351,340,333,305,333,342,339,340,336,337,342,346,337,327,317,325,324,313,313,304,294,301,302,311,309,296,310,310,307,292,314,327,330,319,313,312,319,319,327,344,348,366,395,397,430,428,422,418,426,432,450,456,449,449,456,452,434,425,424,423,419,422,419,411,417,420,443,423,411,419,422,416,416,407,394,414,422,409,400,401,401,400,394,391,402,416,385,378,377,364,364,376,378,380,380,368,360,364,365,368,366,360,356,364,373,373,375,372,368,368,366,370,380,388,397,398,387,383,369,366,368,376,370,357,348,351,352,360,361,367,357,361,358,351,349,344,328,322,321,317,314,307,304,310,308,320,322,320,324,324,331,348,355,357,363,349,375,396,417,406,384,389,344,271,252,223,243,284,261,241,213,205,204,210,232,271,321,324,310,294,270,270,279,347,435,367,327,320,323,328,310,286,295,292,284,279,278,278,279,279,286,294,295,295,294,298,300,308,317,310,325,326,331,336,353,356,348,339,334,329,328,332,332,329,324,324,318,319,317,311,309,318,316,309,304,306,312,314,325,306,330,332,337,321,318,316,308,306,306,299,301,307,307,300,311,314,319,322,320,312,313,309,300,301,300,309,313,313,307,300,287,280,293,303,299,292,282,292,293,279,290,295,294,288,283,286,288,288,289,288,289,297,300,298,319,325,329,336,336,340,340,338,326,317,310,310,322,314,319,320,302,316,311,301,300,301,304,304,309,315,321,321,320,320,321,314,314,309,307,306,301,299,293,294,296,288,281,281,276,276,276,276,274,279,282,279,276,276,271,268,269,268,271,268,269,263,267,267,264,269,269,273,273,269,275,279,267,254,268,289,298,293,282,274],[249,290,343,403,302,298,307,265,227,211,185,173,182,207,211,201,180,223,217,203,221,238,233,243,214,193,240,374,564,456,273,254,197,220,253,609,1288,1426,769,430,438,365,352,504,589,675,586,851,570,320,390,418,414,371,242,231,459,822,1013,977,520,326,424,716,590,367,379,385,326,344,405,475,486,485,440,445,430,384,496,997,1208,969,618,432,511,455,413,388,375,477,400,272,446,984,1682,1522,783,618,436,402,457,530,642,1058,832,558,512,559,686,584,670,985,906,609,376,379,347,346,360,442,398,390,455,372,286,277,293,356,317,252,287,244,203,240,255,383,656,861,1022,893,424,332,383,516,426,423,802,1318,2430,1868,606,563,785,1156,1264,1130,727,365,445,537,414,372,270,236,279,272,246,258,590,1132,947,415,514,522,513,894,1206,1272,1152,1009,803,733,868,940,1086,1348,1376,1524,1728,1740,1418,1406,1638,1544,1374,1622,1842,1782,1044,487,326,325,303,330,438,409,620,1074,1158,775,624,719,1186,860,721,577,448,790,745,443,489,927,836,676,1128,1328,1170,1534,1398,1290,1056,861,1310,1910,1808,1186,1094,930,488,473,790,1202,1002,1318,1023,938,767,685,868,735,533,449,439,406,387,457,578,974,1166,838,470,418,442,427,461,468,421,391,344,440,786,706,571,812,755,513,518,543,667,897,1000,1230,1062,876,755,921,1418,1236,1332,1414,1396,1448,1532,1488,1120,1058,1102,1156,1092,913,824,726,536,373,400,391,336,343,365,320,293,337,318,336,295,282,305,319,330,352,361,347,336,342,408,373,353,369,371,431,437,397,418,453,495,612,636,573,522,550,522,550,557,468,399,354,318,292,301,354,252,307,396,555,383,359,315,343,536,821,779,625,1176,1730,973,567,761,745,583,537,552,792,994,800,727,818,1028,1732,2210,2036,1390,816,745,890,792,610,659,848,1226,1322,1216,1172,1026,817,823,739,592,507,541,909,1096,664,615,771,600,705,1084,745,949,1342,1430,1410,1476,1400,1180,976,762,733,713,669,735,860,591,509,533,491,481,451,939,1390,1514,1732,1530,1164,619,632,882,828,828,1050,1222,1180,1208,1534,1274,1110,1380,1244,974,1094,1140,1142,1362,822,438,385,486,760,901,907,867,641,631,1402,1432,1326,1248,1174,1262,1642,1802,1100,581,522,535,545,510,548,908,1076,1444,1534,1324,1116,1180,953,753,1036,949,781,964,1342,1070,812,700,707,758,867,1430,1364,665,719,1094,930,933,1012,752,601,566,506,417,459,555,628,571,501,533,466,466,662,913,926,754,795,902,1048,1266,1166,1002,1150,1200,1302,1044,590,510,483,745,908,1108,1416,1558,1272,1120,990,950,1172,1398,1366,1244,885,708,705,1754,1598,768,530,570,1058,1412,1542,1666,1518,770,465,568,984,1450,1104,417,471,1050,1570,1154,1004,1118,893,1098,880,554,563,586,510,488,433,610,1204,1678,1448,1188,651,444,404,343,360,340,572,1032,1152,1124,995,1176,1318,948,907,901,609,611,647,1038,1260,1262,1340,932,598,625,814,1150,1408,1042,590,647,1220,1548,1404,1128,1070,940,597,550,687,842,812,1354,1188,724,427,469,463,686,836,941,1434,1448,1494,1502,1480,1440,1510,1408,1332,1210,1026,892,705,486,359,619,1268,1472,1140,988,847,772,984,1110,1052,1110,1158,1092,977,910,934,1042,1112,908,841,866,852,1066,1242,1116,1068,1492,1420,1236,1190,1454,1682,1074,741,781,1208,1406,1360,1378,1520,1510,1406,1224,1240,1394,1330,1376,1292,1300,1142,1096,966,777,881,845,717,488,633,1004,1090,1114,1152,827,717,850,843,758,900,1572,1506,580,737,1660,1660,1318,1114,1056,1338,1346,869,818,1156,1172,1148,834,587,374,444,503,464,450,828,966,689,580,559,421,402,475,517,537,511,412,400,396,475,502,495,465,431,462,492,579,664,443,287,606,598,355,415,554,563,406,317,408,474,390,415,478,488,309,318,379,315,311,347,363,370,390,397,335,349,368,343,340,368,594,955,795,583,582,612,553,595,531,609,541,637,924,955,1136,1310,1122,1244,1474,1178,934,1122,1214,1058,723,592,811,1078,1202,1202,1100,566,534,735,801,534,404,396,367,437,706,813,770,618,446,248,544,786,1080,1028,716,644,686,617,730,577,624,608,352,376,686,767,505,532,624,931,1126,943,758,756,1068,911,618,597,542,384,308,337,395,497,478,565,551,388,386,387,389,655,823,542,486,550,558,661,665,853,820,913,1082,1340,1274,791,428,377,325,309,291,291,334,350,381,303,249,280,296,290,283,267,265,290,297,281,274,269,276,281,315,358,401,426,477,470,428,458,450,486,505,479,541,470,446,489,601,745,942,1226,1050,604,409,466,537,529,487,413,341,392,816,949,472,382,361,302,426,894,604,476,583,1124,1096,727,1228,1318,686,755,828,360,325,375,458,419,391,458,459,477,445,499,432,459,472,412,393,502,557,662,886,781,525,437,463,465,477,576,429,441,430,451,348,317,348,357,337,453,568,457,544,469,389,390,385,480,973,743,461,421,381,392,553,543,505,463,664,672,443,366,295,280,385,567,531,305,280,313,331,341,425,409,437,526,463,529,533,626,568,415,916,1368,482,294,307,340,448,516,506,441,384,379,414,315,310,576,505,366,504,782,1134,998,1194,979,694,561,384,457,664,760,1254,1412,1334,1118,848,973,1322,1218,896,823,1072,1128,983,1064,1200,1234,1358,972,1194,1262,1162,1288,1348,1312,1086,1188,1494,1860,1716,1310,1016,771,788,689,789,1064,962,718,719,749,831,1160,1188,1312,1294,980,1100,1304,1050,901,865,836,885,679,683,958,1252,1372,1240,844,944,1248,1260,766,712,672,886,1120,802,1388,2414,1178,1014,818,548,537,536,485,681,1148,1382,1040,454,356,403,444,506,491,543,930,1056,594,516,590,442,458,487,517,445,356,308,609,1172,974,668,460,332,361,285,297,347,282,365,365,285,318,374,473,607,502,403,525,827,1460,1930,2150,1568,901,586,581,404,360,541,597,461,445,506,919,2526,2674,795,606,785,1070,802,812,613,326,485,599,947,1154,930,380,283,324,331,365,369,299,490,980,953,469,353,438,595,729,664,775,507,357,332,363,381,365,356,356,397,444,423,421,459,486,442,583,715,884,735,405,411,582,695,814,838,825,893,884,631,441,329,369,648,1026,1042,684,400,314,272,282,279,285,295,283,283,324,315,305,308,321,319,309,361,396,357,359,346,355,355,353,347,336,325,338,352,339,339,323,329,347,340,348,328,339,339,336,350,348,360,366,357,346,357,345,323,333,337,318,316,330,339,346,341,341,349,325,325,319,312,309,317,304,292,292,300,305,299,305,297,310,289,303,312,309,307,318,325,322,323,329,354,361,364,398,392,406,412,419,410,416,437,452,466,462,453,454,454,443,434,412,426,428,428,423,417,407,409,422,426,425,419,411,420,425,415,411,415,401,394,397,397,392,392,385,392,391,394,370,376,376,373,380,376,371,370,372,372,372,370,368,366,368,356,365,373,368,366,368,372,376,376,374,379,386,389,398,389,385,377,380,376,360,365,360,357,354,335,338,360,354,369,372,358,349,349,348,346,333,322,322,323,310,298,299,317,304,307,320,318,325,322,324,345,361,363,362,354,371,399,409,394,364,350,311,273,248,198,224,239,239,238,232,232,197,188,202,211,271,317,327,297,260,275,281,303,404,370,310,320,320,331,329,303,310,305,298,284,281,278,280,278,275,282,289,287,286,292,298,306,318,304,321,321,310,330,360,360,349,341,335,328,324,325,324,324,324,325,324,325,317,308,311,319,316,310,308,310,318,319,325,310,321,330,331,324,316,312,310,306,306,299,311,315,308,297,319,314,306,308,312,305,289,302,299,294,294,302,302,305,309,300,298,292,293,306,297,294,301,288,286,282,282,288,288,288,286,283,282,290,294,286,282,296,309,298,320,336,344,338,328,328,339,344,328,319,312,314,320,327,321,314,319,309,294,298,300,303,308,308,314,314,319,320,320,320,319,315,311,307,308,303,299,294,294,293,292,288,282,281,276,276,276,276,276,280,282,281,276,274,274,274,269,271,268,264,276,271,269,259,265,269,269,276,276,268,276,281,274,258,263,285,292,289,283,269],[270,342,383,415,285,232,230,218,222,216,208,217,218,214,201,201,211,225,222,212,214,202,196,216,221,222,214,216,385,370,265,238,213,250,348,610,1362,1562,702,397,385,371,349,405,469,553,689,1003,745,419,440,491,326,299,242,194,398,1042,1076,798,445,383,615,821,725,461,349,292,314,409,525,482,481,498,433,420,493,556,534,618,927,849,529,467,469,448,436,580,618,618,529,376,431,720,1096,1028,641,621,505,423,513,617,1218,1590,1072,583,488,640,938,836,928,907,890,531,318,322,313,408,595,749,717,692,462,324,303,327,442,444,361,260,276,265,250,235,216,413,745,858,1354,1618,765,435,623,661,465,730,1316,1806,1836,1148,428,355,564,1178,1412,1250,1050,783,610,448,608,600,343,278,271,248,228,451,884,641,321,418,631,721,774,662,896,1180,1120,977,1002,854,771,796,1001,1414,1490,1438,1580,1782,1780,1648,1316,1226,1708,1732,1682,1824,1310,654,421,339,267,248,260,386,785,1288,1224,1066,1088,1124,1360,1002,868,738,506,492,469,430,658,725,650,681,1054,1288,1232,1134,1060,1228,1308,1444,1456,1396,1262,708,839,934,420,318,442,858,1240,1274,738,559,675,1006,1136,753,578,528,502,534,657,849,915,996,935,591,305,348,341,338,487,455,438,420,357,362,379,629,799,661,491,522,568,514,560,960,712,673,1134,1262,974,1064,1086,1416,1850,1542,1352,1478,1550,1330,1032,937,1086,1100,778,584,864,1088,606,390,442,391,345,326,312,292,282,337,334,339,314,286,306,322,348,354,339,324,339,357,410,434,530,511,418,480,501,353,343,355,354,419,541,571,555,497,498,531,550,518,418,350,286,235,225,298,294,321,323,309,325,321,311,354,464,571,741,1058,1506,1526,802,757,1258,1510,1288,1008,888,996,1144,979,1200,1290,1076,1762,2058,1954,1262,904,966,805,653,514,541,919,1098,1038,1094,1130,948,899,808,593,441,414,561,915,781,616,666,877,656,976,890,758,1094,1318,1344,1408,1550,1562,1460,1426,1040,667,669,629,741,739,625,600,584,602,585,597,738,980,1188,1170,1306,1162,827,714,819,909,956,1072,1216,1082,922,1074,756,674,1140,952,532,570,648,572,507,534,739,774,660,982,978,907,724,444,449,521,669,1280,1572,1058,954,1614,1666,747,595,490,449,437,388,451,990,1216,1194,1070,940,1188,1124,969,683,577,525,592,695,828,710,717,738,720,639,619,724,621,501,529,1021,1266,1158,874,610,504,490,435,418,430,433,493,557,572,561,527,495,792,856,677,586,869,891,544,729,814,845,1474,981,965,920,587,428,437,645,934,1150,1356,1356,1252,1128,1166,1426,1246,1258,1102,1132,860,936,1050,893,576,460,480,581,825,1396,1792,1562,1290,912,750,1278,1750,1488,828,445,423,619,1192,1314,965,863,650,555,463,452,496,711,646,505,519,579,977,1434,1306,890,782,578,413,407,383,384,675,1148,1324,1428,975,1262,1394,1222,1362,1394,938,832,779,912,1204,1088,1232,713,469,687,1316,1516,1190,791,737,813,983,1250,1144,1008,1212,1003,873,600,928,1472,1460,1318,863,592,602,546,485,702,811,1136,1406,1346,1318,1284,1168,1130,1100,840,589,423,351,354,429,545,758,1058,1448,1730,1508,1368,1324,1162,1130,950,638,620,675,849,892,882,919,1166,1368,1250,1290,1322,1262,1228,1122,1178,954,1398,1406,1246,1152,1372,1384,828,593,1216,1650,1666,1692,1590,1034,895,1202,1272,1230,1296,1184,1116,1096,1112,1038,1054,918,532,669,674,591,477,552,957,1168,1268,1158,760,664,932,1110,1122,1108,1474,1104,567,863,1874,1458,1074,946,698,1062,1278,986,1102,1692,1526,1172,775,498,315,434,500,457,625,1242,1744,1362,777,666,649,527,543,586,539,429,370,324,328,402,512,606,623,609,535,453,488,488,326,298,343,308,280,306,457,540,445,348,354,421,465,477,483,420,346,379,372,295,299,340,333,355,396,396,382,394,375,337,346,317,637,948,838,797,784,1210,960,840,691,653,457,585,912,1046,1130,1260,1176,1246,1484,1384,1410,1346,1082,779,750,792,1434,1686,905,1376,1644,836,811,1008,1072,657,526,408,372,650,1160,1332,1076,659,626,2236,3960,768,1086,1216,863,888,574,509,494,500,921,895,478,499,608,574,571,660,717,912,734,511,521,589,788,785,736,706,640,395,334,311,377,588,468,557,536,328,297,398,478,799,990,655,560,745,836,725,813,1162,1130,1072,1116,1252,1362,1070,442,365,319,305,299,305,335,354,361,306,276,283,281,277,276,281,288,304,293,281,276,269,268,257,264,307,361,400,449,463,470,469,451,486,503,444,386,361,388,579,888,869,853,1048,716,513,424,437,462,454,417,368,350,343,553,949,769,409,314,302,361,451,579,752,829,1284,1210,749,995,836,719,1098,1272,602,388,374,437,453,534,542,528,583,410,526,555,556,533,467,560,552,609,709,616,580,632,583,444,381,372,370,390,477,715,744,478,386,389,373,358,433,680,656,763,806,697,609,564,560,902,744,571,719,348,334,647,779,760,898,1198,925,457,356,387,296,267,464,605,372,235,268,279,279,276,264,489,737,572,563,608,447,385,418,860,817,289,259,319,319,339,451,495,422,374,318,264,220,374,1250,1046,519,626,952,938,668,987,1088,533,354,429,805,1238,1324,1156,1194,1114,1074,987,1060,1340,1306,1056,969,1098,1166,1220,1068,1144,1160,1168,854,1206,1310,1282,1256,1116,994,933,1352,1642,1732,1470,1144,888,814,955,575,499,1000,1188,812,785,864,1164,1498,1384,1254,1244,1182,1260,1478,1332,933,557,682,976,781,505,845,1240,1034,694,698,964,1272,1298,1092,1011,828,1030,1216,1302,1058,761,1090,1011,648,457,423,459,432,583,1015,1044,616,444,462,399,321,410,446,440,705,690,551,826,937,639,631,571,509,522,368,611,787,958,930,553,265,249,342,398,588,551,505,618,509,387,362,340,383,443,395,496,670,726,1396,1436,1548,1188,1002,656,560,935,999,776,663,706,612,580,848,2302,2562,987,670,1246,1310,877,1112,967,414,404,538,833,1290,1102,447,327,460,594,571,433,308,383,945,1294,637,328,459,756,708,471,740,625,403,451,501,445,365,352,369,372,414,450,442,423,474,476,472,623,918,884,511,449,553,650,733,1034,812,789,846,793,598,382,528,973,1056,708,481,365,305,293,284,281,284,297,287,288,313,327,318,307,342,357,338,364,385,365,358,346,355,353,359,351,343,335,322,349,343,340,319,325,329,329,336,328,342,344,339,345,348,354,354,350,351,336,327,336,340,336,327,325,350,344,344,343,334,321,331,325,315,313,307,301,301,313,306,304,300,313,307,293,304,295,292,295,302,297,311,339,326,332,339,358,376,383,396,392,383,395,418,414,412,442,456,467,455,455,454,455,448,447,424,417,415,414,419,407,409,417,406,404,439,431,422,421,419,411,414,413,385,376,380,400,392,387,385,390,386,387,371,376,392,386,380,372,365,373,390,383,350,340,358,368,372,366,368,382,370,368,373,372,369,375,374,372,387,379,380,387,383,381,381,367,367,357,346,349,354,346,342,357,357,357,360,361,355,341,342,339,332,323,322,323,317,307,307,312,305,316,323,311,323,322,323,339,357,370,362,357,367,389,407,388,384,343,222,233,238,208,195,220,230,223,230,232,209,217,232,255,286,318,325,295,267,281,290,281,364,396,324,318,323,348,344,348,322,298,288,277,273,286,286,266,267,271,268,274,287,294,302,304,318,301,314,329,330,340,344,344,341,337,330,324,324,324,324,324,325,323,322,323,312,312,324,318,311,314,322,331,314,311,312,313,318,319,324,321,318,311,306,307,307,300,298,297,298,300,308,302,301,305,310,325,308,305,299,300,301,303,315,319,305,301,312,307,294,300,293,289,293,299,292,282,280,285,288,289,289,288,288,289,293,288,286,292,312,319,320,323,325,322,327,328,329,346,329,320,320,320,325,333,328,321,321,312,309,301,294,304,310,311,314,311,307,311,319,321,315,314,311,307,307,300,301,294,294,288,285,285,282,277,274,276,276,276,276,282,280,276,281,280,281,280,269,273,267,274,271,273,273,253,262,269,271,276,279,286,288,288,284,268,264,277,288,288,282,269],[228,243,252,260,237,228,219,205,194,193,208,202,199,187,198,223,226,205,184,194,206,203,221,222,207,174,168,227,309,280,223,241,211,358,605,574,559,518,277,275,314,394,383,346,409,593,937,1008,769,539,360,337,244,278,289,298,384,824,630,333,388,700,922,818,751,561,440,324,385,576,645,496,399,305,278,384,433,444,476,662,842,631,442,407,435,433,378,483,821,1062,1142,1034,555,604,1102,844,592,598,507,455,484,938,1754,1874,1296,755,713,793,913,678,772,781,820,561,387,378,370,455,894,1344,1188,1234,692,425,415,515,606,686,686,440,487,700,582,254,283,499,954,956,1368,1670,1098,805,1088,1044,535,690,1560,2032,1274,872,554,414,797,1522,1654,1496,1178,1050,864,532,429,324,289,261,269,224,206,368,557,482,471,1096,1356,1172,1284,1019,982,793,935,833,792,724,891,832,821,1246,1540,1510,1584,1824,1746,1200,574,656,1448,1526,1786,1642,1398,1116,696,436,386,303,279,356,868,1400,1222,1100,1084,1052,923,915,1040,930,646,539,554,517,722,731,692,902,1112,1202,1318,1276,1378,1576,1650,1698,1476,919,1100,1038,1188,1632,995,651,550,745,1102,1016,726,723,1228,1378,1210,766,602,570,501,517,483,650,951,1064,1146,789,304,361,324,293,436,420,425,405,422,409,558,846,670,519,538,533,530,523,618,1002,1098,888,955,1136,1170,1332,1504,1708,1562,1384,1338,1346,1234,942,875,937,1168,999,547,393,1016,1338,630,464,395,345,326,313,309,325,334,361,364,350,314,294,301,313,323,315,310,291,324,366,446,505,627,694,534,437,475,333,318,359,414,486,628,646,620,559,510,498,513,522,502,451,322,286,248,285,317,321,308,318,341,320,328,346,404,680,1410,1532,1376,891,690,1164,1796,1992,1700,1754,1250,1122,1172,1260,1544,1562,1148,1386,1798,1602,1060,1134,1468,1174,1066,739,762,1234,1272,1220,1160,1346,999,478,565,622,462,518,514,564,498,439,469,644,1286,1886,1138,684,993,1132,913,1070,1132,1015,1238,1456,858,548,574,529,478,437,462,502,673,854,727,728,799,1218,1222,1056,1086,980,964,1216,1448,1332,1052,883,848,1034,1222,1216,689,648,1190,822,369,322,369,534,866,1408,1780,1216,574,647,612,561,554,754,730,529,578,969,1448,1392,1286,1238,973,771,537,397,405,425,405,432,1011,1338,975,708,658,794,775,710,510,525,572,653,749,664,639,685,690,661,565,551,544,520,410,531,808,755,633,684,526,404,380,325,385,438,540,629,594,564,534,546,728,1050,830,645,555,712,767,630,826,728,756,1534,1126,1010,879,621,832,953,619,661,1040,1230,1262,1212,1114,1036,1108,1020,900,648,723,970,1118,1092,940,635,536,651,745,601,979,1356,1060,745,851,1250,1666,1810,1456,725,497,554,771,1154,1518,1254,765,823,1068,800,519,741,1482,1238,579,477,541,731,963,973,1028,980,633,436,413,443,439,623,868,897,891,835,1438,1692,1502,1244,896,780,861,701,720,794,733,835,618,506,970,1354,1246,1246,1162,1090,929,719,860,1015,1378,1704,1432,1472,1194,1590,1904,1548,844,497,554,703,518,449,792,672,786,915,929,606,493,486,471,416,421,509,605,741,851,785,793,1104,1312,1512,1770,1618,1208,772,675,666,666,650,659,626,857,949,845,840,1180,1436,1228,1186,1392,1184,936,915,1100,948,1140,1472,1308,1056,1204,1188,865,1072,1622,1790,1614,1328,1362,991,955,1698,1516,1168,1064,974,1254,1122,677,605,692,688,747,817,793,766,684,642,672,775,1050,1001,546,506,1140,1284,1236,1106,1152,991,839,1042,1352,1130,1138,1009,724,755,995,1108,1476,1766,1514,1374,1362,943,536,477,482,513,695,950,1252,1008,870,815,852,762,634,502,434,377,285,277,319,352,398,442,790,701,525,518,557,598,480,319,323,358,361,371,506,561,536,476,429,419,481,424,369,383,416,449,419,320,331,360,302,339,392,364,365,383,358,340,378,380,571,838,836,661,773,1136,814,691,727,505,414,608,854,954,1262,1372,1452,1122,1466,1336,1222,1134,1006,918,1092,1200,1838,2006,1418,1204,893,920,779,931,756,654,596,525,513,822,1280,1426,1168,572,577,1714,2364,1074,1060,894,817,745,601,633,545,418,478,650,705,570,633,562,557,608,758,1032,796,478,425,432,489,464,672,613,661,509,352,250,307,352,336,408,399,309,308,403,540,760,869,990,898,709,893,828,742,848,905,1162,1364,1294,1422,1296,562,373,335,309,288,273,296,311,268,263,273,282,272,272,272,282,280,302,292,281,287,277,255,244,234,262,347,384,405,479,491,467,433,415,450,497,474,497,746,932,742,513,521,775,610,509,479,437,449,449,406,342,346,373,413,638,974,607,371,383,459,592,780,766,644,676,633,507,474,437,773,842,723,504,408,457,478,454,522,482,503,572,480,457,624,691,655,625,599,518,697,891,589,360,504,650,572,444,443,467,537,510,602,536,361,298,331,347,408,566,849,793,928,1078,856,726,587,427,536,557,771,940,397,305,454,747,1028,1138,980,637,363,346,398,362,335,401,597,451,329,335,337,341,332,390,1106,1460,745,622,633,430,336,317,323,269,266,239,272,327,333,341,310,318,371,308,302,347,337,826,642,361,394,576,614,580,764,1198,957,935,1236,1492,1404,1278,1074,1152,1152,1062,1054,1088,1202,1098,1038,1028,1074,1250,1316,1174,1280,1450,1404,1362,1388,1460,1512,1036,684,692,973,1284,1174,1124,1130,1148,875,787,626,515,469,647,765,901,1034,1426,1880,1614,1292,1260,1352,1286,1210,1318,1274,1007,828,907,1184,1276,614,818,1294,943,568,1062,1146,775,1266,1386,1198,1090,1274,1340,1288,1122,1238,1104,772,565,443,452,477,401,471,620,569,440,495,634,513,360,376,351,355,375,345,461,791,858,552,469,586,847,847,634,910,1050,1094,1018,537,328,270,267,357,666,718,846,1066,928,522,501,631,626,419,426,650,1023,807,927,675,644,846,907,594,815,1448,1274,918,914,1013,615,501,640,1318,1606,971,588,825,606,428,675,792,679,684,780,721,946,1070,628,591,884,938,852,583,379,267,476,857,530,342,882,1230,819,437,649,743,558,599,593,514,411,409,455,437,448,433,440,407,441,526,534,550,728,790,505,553,547,670,577,945,829,691,724,697,689,583,526,680,768,461,401,338,305,280,269,273,279,278,280,302,307,315,320,299,402,472,390,380,386,377,352,353,352,343,355,346,343,340,335,347,345,347,333,329,342,352,337,329,329,356,352,348,352,354,350,340,345,353,351,342,351,332,325,332,337,341,337,346,318,327,337,331,328,321,304,290,301,305,303,306,303,313,298,290,303,304,301,312,313,301,300,307,316,326,341,351,360,378,390,401,386,383,416,437,420,442,442,436,440,443,444,440,437,434,414,403,414,417,420,423,429,419,409,409,404,407,419,413,403,396,401,405,401,403,380,394,386,371,387,389,387,394,372,382,397,380,377,366,362,372,364,356,354,337,346,359,366,372,372,376,372,366,360,354,357,364,350,360,375,374,369,375,381,386,377,367,368,357,344,338,334,339,346,354,361,351,348,376,378,342,342,336,330,323,328,328,317,317,316,307,298,309,311,323,311,314,321,338,360,381,375,359,367,381,407,382,349,366,273,252,239,218,251,260,242,225,212,228,203,211,219,267,304,309,308,286,287,287,287,279,356,446,386,347,339,364,370,364,345,340,331,320,286,279,278,277,290,279,278,289,300,300,306,304,310,304,308,324,335,344,332,325,326,332,330,325,324,324,324,324,324,316,317,329,309,325,314,312,312,316,311,321,316,308,318,327,322,318,318,315,314,312,307,303,303,297,291,293,297,300,310,319,320,313,305,306,307,303,305,302,299,302,307,300,295,299,298,301,294,294,294,297,288,293,289,282,282,288,289,294,296,292,293,294,281,288,293,292,308,327,319,316,320,319,329,338,320,336,327,320,320,320,322,329,332,333,331,320,308,301,301,319,316,317,316,310,317,325,319,312,311,314,308,308,307,299,297,294,294,291,284,276,274,276,274,276,276,276,276,280,288,265,276,280,271,264,276,276,267,273,276,281,265,269,274,269,282,281,273,276,276,281,276,268,268,267,288,285,276,274],[215,214,213,213,229,243,211,182,181,195,244,204,181,189,210,226,219,208,210,212,211,226,222,207,215,200,215,405,642,555,339,234,227,291,378,495,289,244,237,216,295,394,449,512,459,444,537,498,460,417,246,287,305,288,484,588,624,645,440,313,403,716,1030,911,644,516,582,467,420,477,463,378,298,213,226,263,316,376,515,709,986,844,590,736,731,486,591,767,1044,1356,1994,2084,1274,1044,1108,836,650,583,516,409,322,643,1176,1620,1412,987,860,894,922,875,922,850,748,607,421,393,338,451,1190,1926,1284,1009,884,738,699,685,697,1200,1332,910,1021,912,871,440,336,613,1076,1202,924,838,1208,1186,1250,1390,692,437,629,1062,850,1058,1082,623,413,1276,1714,1470,1274,1062,718,574,568,503,317,228,281,279,246,304,372,306,572,1172,976,935,1286,1194,1166,858,986,1138,879,650,918,1172,918,862,1128,1550,1490,1784,1478,739,518,435,509,1170,1666,1516,1624,1554,1128,613,477,453,390,309,478,905,1062,1062,1100,948,1336,1986,1562,869,803,561,460,466,852,858,498,630,950,1396,1338,895,973,1188,1484,1418,1138,731,1332,1232,1268,1770,1498,979,703,928,969,1204,941,858,1328,1208,872,591,463,525,502,422,438,587,714,844,1118,996,447,355,338,302,412,439,414,440,458,501,790,744,482,475,478,448,476,433,382,752,1146,899,1070,1348,1264,1152,1188,1448,1316,1480,1358,1036,716,576,631,806,905,662,373,267,407,470,427,400,290,249,259,266,298,345,364,361,354,338,302,281,272,286,290,337,302,338,385,374,422,429,485,514,529,515,469,415,382,435,531,527,461,560,661,611,559,518,491,514,629,566,367,258,273,313,340,336,309,321,330,360,412,549,730,1322,1610,1360,879,769,900,1098,1622,1990,1772,1744,1444,1310,1306,1160,1510,1390,990,918,934,1096,1238,1538,1706,1508,1570,1170,1000,1220,1564,1466,1194,1406,1138,676,922,1088,584,539,476,595,747,530,460,425,1164,1582,1094,765,905,1134,787,602,635,743,751,680,623,629,742,745,514,475,399,412,712,1146,1036,720,658,1274,1472,1284,1388,1380,1212,1638,1922,1516,1180,1086,886,860,1596,1608,851,842,863,417,326,364,691,1556,2148,2486,2344,1600,740,513,720,1072,1482,1970,1744,843,587,740,1296,1428,1464,1426,1402,1038,549,361,397,437,390,411,722,1064,851,638,565,542,706,568,476,601,674,694,624,577,606,578,559,532,584,644,579,455,579,753,697,654,884,854,501,420,362,265,365,480,764,726,611,820,758,576,894,1048,1190,1318,625,518,713,1204,1340,849,774,1366,1534,1328,971,678,904,1330,934,807,1258,1318,1310,1354,1220,931,1106,1400,1052,719,576,836,789,674,1086,1023,645,633,731,570,511,906,961,773,1064,1068,1144,1496,1530,968,847,1102,1412,1606,1704,1516,1028,868,1364,1190,860,1568,2020,1584,680,471,646,648,589,753,912,692,615,485,463,697,658,637,556,402,424,536,890,1354,1414,871,456,614,792,790,640,771,963,884,762,858,1324,1266,1118,1372,1466,1374,1019,703,974,1458,1642,1744,1732,1760,1736,1590,1346,982,499,428,497,605,533,481,852,738,481,584,652,549,572,723,802,841,756,826,717,731,906,758,753,859,972,1296,1548,1576,1300,742,707,675,670,659,623,541,677,705,562,749,1278,1660,1470,1218,1354,936,697,849,1058,924,1044,1308,1176,913,866,1160,1228,1306,1476,1664,1306,924,874,1086,1316,1558,1394,1208,951,773,1019,1086,807,728,911,847,1015,1128,1078,954,968,886,479,462,524,650,955,803,1448,1476,1278,1100,1108,910,643,714,1001,1534,1574,1190,1182,874,761,768,1116,1294,1260,1292,1444,1272,679,500,486,527,583,710,783,828,966,933,879,887,745,602,570,398,283,290,314,314,335,523,758,531,384,427,515,606,529,435,446,422,408,401,461,506,505,524,522,515,473,401,373,399,434,442,409,381,375,372,296,304,334,292,270,315,356,339,355,427,796,1122,808,517,767,968,788,796,691,359,328,554,616,664,1076,1356,1482,1242,1154,1152,1158,1236,1132,987,1158,1172,1262,1450,1516,1458,1554,1116,863,835,800,968,805,553,558,662,940,1154,908,577,567,637,686,883,862,629,521,559,677,744,637,543,478,583,867,594,476,451,500,572,703,859,758,556,540,423,442,619,839,601,469,596,520,353,359,388,349,299,330,325,372,487,585,571,598,891,1054,1024,1156,927,583,533,712,1294,1808,1520,1372,1530,873,409,349,329,285,233,243,244,221,269,286,291,275,270,273,281,288,292,283,295,297,282,254,254,280,327,443,437,401,433,412,388,388,401,449,550,689,756,853,597,391,391,481,730,675,502,446,435,416,451,444,379,362,322,322,358,881,892,612,442,727,1252,1092,735,501,802,719,575,962,837,742,1010,1116,813,398,483,464,408,405,322,363,427,521,555,581,550,547,522,463,398,461,526,418,323,369,535,749,600,435,633,644,434,382,359,393,332,445,415,415,624,881,928,1092,1096,807,739,686,426,626,561,359,729,641,589,822,1158,1196,831,582,471,344,343,366,352,281,288,526,534,380,329,395,427,327,474,1058,1112,664,582,626,359,239,356,439,567,604,367,232,261,297,290,371,508,360,289,421,549,416,247,303,336,289,336,415,517,695,1234,1370,1394,1416,1310,1196,1120,977,1017,1180,1034,1134,920,959,861,828,982,1168,1332,1328,1250,1480,1566,1442,1422,1368,1388,1508,1192,907,713,832,946,1062,1298,995,694,1008,1322,1364,843,724,970,1248,1208,1440,1708,1382,943,1042,1246,1288,1326,1510,1504,996,923,1100,1064,1240,1432,1178,1140,1332,1180,1018,1138,1028,1042,1242,1052,850,998,1224,1194,1238,1296,1092,737,586,469,415,428,430,403,376,416,461,459,446,516,480,415,410,365,327,316,346,381,462,517,392,368,426,1011,1300,977,786,926,1082,930,458,364,383,312,325,453,600,718,880,667,508,899,1074,793,553,635,631,803,661,540,670,983,1176,1250,785,661,924,843,712,738,926,717,504,423,698,1128,955,386,334,369,487,452,692,850,883,858,774,589,756,644,445,799,1017,907,587,358,262,301,386,477,412,608,757,664,486,465,746,580,594,591,559,472,423,431,421,441,401,380,402,448,584,607,564,727,662,515,503,509,658,698,965,1038,771,705,726,766,692,551,642,843,637,404,297,268,255,254,258,267,275,275,300,313,301,307,300,381,383,396,430,400,369,349,347,351,352,347,353,357,330,333,335,339,347,350,347,350,356,352,346,327,339,360,354,352,357,346,342,345,357,359,349,351,335,318,343,327,332,334,347,341,334,328,315,328,328,303,286,293,287,300,309,305,313,303,291,299,296,296,308,306,299,295,318,300,306,339,350,357,371,376,393,410,397,413,432,428,439,451,419,425,437,428,425,428,443,437,390,419,407,426,414,412,412,404,404,404,407,404,401,399,406,406,405,405,407,383,385,387,392,413,397,382,395,377,373,377,377,389,388,377,366,362,370,366,347,347,352,362,373,378,372,373,368,362,360,358,356,358,358,351,363,360,368,379,372,363,365,368,357,344,336,346,352,349,349,357,354,349,363,373,354,343,338,333,325,330,330,312,313,312,304,305,301,297,299,306,317,321,338,369,391,396,367,361,380,398,356,305,332,285,274,241,198,221,252,298,268,242,236,181,199,208,209,226,279,292,302,302,292,311,288,358,484,463,434,418,410,410,375,384,425,455,441,356,318,297,292,278,286,298,305,305,305,301,305,310,302,310,325,338,344,335,328,329,325,324,324,325,325,324,324,323,317,312,317,308,318,316,314,311,312,308,322,331,322,319,319,314,318,318,312,311,312,308,301,297,293,291,292,305,309,306,305,312,312,318,303,309,312,302,301,298,293,292,298,300,293,294,298,295,294,294,294,292,285,280,281,283,289,288,288,289,298,307,300,301,304,301,297,296,322,312,308,314,312,325,333,326,329,332,325,317,320,321,328,333,332,327,317,309,310,312,321,325,334,323,325,339,336,319,312,309,310,307,308,301,294,293,295,295,292,288,292,293,286,276,279,276,276,276,279,285,276,280,279,273,277,280,274,274,269,269,273,273,265,267,271,284,288,279,281,282,288,290,286,277,262,281,285,276,276],[237,213,225,241,256,265,227,183,201,234,238,171,158,194,210,215,219,216,212,206,208,237,226,218,223,208,230,480,847,1023,754,540,785,416,309,332,294,253,229,285,372,381,404,491,383,265,243,301,301,244,254,683,649,448,546,573,543,517,392,630,691,730,899,911,614,437,387,399,414,397,306,223,232,228,240,262,422,540,727,787,1096,1224,1106,1354,1342,886,881,789,1026,1464,1870,1786,1152,796,827,975,776,667,769,728,531,592,1128,1838,1444,1060,888,1034,1038,1076,1200,985,755,699,435,398,428,498,683,725,656,744,767,817,831,797,1080,1678,1630,1194,1230,1110,1422,998,434,747,1334,1416,1218,1020,1136,1350,1116,893,620,512,845,1306,957,1036,968,654,440,849,1322,1292,1282,952,486,336,756,1330,776,318,433,377,293,374,333,277,398,490,260,362,658,1268,1452,1268,1412,1356,1160,1058,1328,1452,1266,1150,1022,1294,1650,1528,894,548,484,517,402,543,850,1310,1304,1078,1252,1108,447,404,561,518,408,441,619,747,688,993,2028,2014,1350,758,772,760,557,588,1450,1322,775,679,966,1346,940,636,661,874,1072,973,655,518,1066,1506,1618,1260,1148,1050,792,1042,901,1240,1166,1042,766,634,552,492,473,471,429,363,384,386,515,645,987,1160,674,385,327,329,376,408,401,390,492,737,763,666,475,500,464,443,467,458,411,719,824,640,902,1178,1536,1300,718,809,1328,1398,952,648,521,514,583,716,688,449,279,233,267,398,387,329,296,286,278,299,375,380,357,311,305,297,286,278,286,312,303,392,605,689,766,500,414,372,400,400,501,529,481,562,646,590,584,534,422,529,653,639,580,544,440,576,745,858,587,283,311,303,282,305,327,342,335,406,547,867,1180,1472,1676,1216,772,880,562,608,1158,1224,1532,1556,1672,1764,1410,807,810,911,969,990,846,996,1356,1612,1378,1094,1132,1003,1058,824,860,1174,1228,1462,1252,963,875,919,605,465,523,958,922,578,491,546,943,1358,1146,680,1118,1458,924,791,885,1011,876,623,669,866,954,836,455,377,406,408,755,1318,1204,651,606,1190,1366,1122,1230,1212,1070,1114,1192,1022,1282,1388,1112,832,1072,1066,902,1092,1094,488,386,374,753,2136,2796,2380,1400,1224,1092,1120,1686,2142,2510,2736,2360,1172,681,616,830,1292,1516,1338,1494,1342,658,441,472,447,434,756,1550,1370,750,521,439,433,630,655,588,704,751,618,506,580,558,544,558,521,571,669,568,637,960,994,788,786,1023,842,553,464,315,370,546,740,946,744,550,780,896,614,501,547,791,808,705,767,955,1122,924,713,712,941,1096,1050,1076,1030,1022,1170,1078,1194,1366,1136,1230,1378,1208,1174,1604,1564,883,974,1138,1026,1140,1210,1228,1174,980,736,888,814,545,751,751,812,1528,1292,1146,1274,1238,1100,1254,1484,1596,1728,1600,1164,1168,802,663,710,1130,1980,1892,1494,905,777,872,680,551,656,923,876,924,494,426,719,628,583,453,380,474,546,800,1252,1236,1017,675,506,647,975,911,1021,1240,1182,998,1224,1330,1136,1172,1078,1396,1548,1350,897,974,1606,1814,1678,1482,1206,888,690,607,639,408,451,525,642,549,530,928,1066,874,829,869,990,862,811,794,864,777,804,705,647,656,673,724,681,807,1150,1454,1462,1232,775,679,661,633,602,543,419,482,562,583,891,1212,1542,1378,1078,1092,940,797,849,1056,944,969,1224,1260,1102,900,1272,1480,1294,1198,1108,1110,795,823,1418,1532,1250,1236,1372,1360,1090,1102,1476,1074,945,1116,1058,1250,1346,1194,1348,1690,1510,668,490,591,798,1924,1680,1570,1366,1310,1266,993,750,644,640,844,1460,1420,1204,1172,871,733,860,1198,1378,1284,980,1042,1120,719,581,682,545,525,669,808,1086,1206,974,886,866,810,786,637,367,305,270,281,262,258,343,411,366,317,314,305,326,348,353,357,355,365,414,495,533,534,509,486,504,506,421,382,382,382,370,346,336,315,322,302,307,298,243,243,318,358,392,410,549,1236,1152,647,473,1015,1440,1021,740,625,667,752,808,667,742,821,968,1332,1484,1850,1998,1400,1288,1188,1104,830,951,1122,1336,1480,1230,1128,1050,1090,1142,1182,1246,1202,1018,1170,633,740,1044,806,738,909,767,568,744,811,484,412,511,703,894,705,556,450,468,630,551,491,486,622,859,816,675,830,761,717,516,482,813,976,617,335,500,589,401,296,385,373,330,412,439,507,574,785,697,623,1078,1150,741,836,776,532,430,645,988,1342,1504,1284,1488,1184,546,350,326,290,245,255,254,266,272,281,270,274,289,281,278,301,300,295,322,325,323,271,276,349,403,450,427,386,386,408,446,455,485,574,717,865,1340,1078,626,479,377,418,603,593,488,429,454,404,455,437,384,358,304,300,291,544,938,975,433,462,747,747,803,581,1338,1142,661,1114,919,766,1268,1520,999,411,436,429,401,383,377,379,440,469,498,477,402,387,400,395,423,589,596,553,502,609,894,972,694,460,438,485,558,387,454,664,689,537,388,294,565,876,913,1034,1168,1146,1084,810,618,666,539,314,597,843,978,1002,929,686,581,800,518,376,374,397,412,328,263,447,580,422,250,342,418,341,430,496,501,504,452,480,339,463,711,623,815,1106,436,265,284,291,390,942,1098,530,336,394,514,458,363,408,412,363,441,629,987,1372,1472,1378,1358,1324,1270,1232,1202,1013,937,1110,814,756,812,1150,1172,1094,1570,1712,1388,1246,1168,1098,973,1088,1256,1454,1356,1250,1216,1332,1072,868,875,1070,1278,1132,858,941,1090,1318,962,1064,1268,1262,936,1014,960,623,818,1086,1240,1246,1300,1470,1362,814,907,1092,802,803,1188,1400,1388,1324,1266,1274,1184,1152,1170,1208,949,1007,1252,1224,1164,1290,1356,1204,793,547,431,448,408,452,466,378,364,424,485,524,507,489,422,470,515,368,329,339,491,619,479,342,332,464,923,1180,853,513,722,941,854,670,674,759,613,416,423,351,465,554,424,946,1106,824,616,610,523,493,560,566,502,767,1286,1290,1356,1214,992,1044,1212,1278,1096,861,669,451,424,487,744,915,707,469,569,539,424,387,434,757,1362,1278,498,587,736,398,564,632,538,374,292,340,370,484,531,516,538,627,863,680,395,526,529,493,467,446,383,349,343,335,355,363,379,410,476,544,503,532,659,624,585,489,466,569,577,736,1038,833,646,631,709,666,622,547,754,695,408,290,274,264,256,260,269,284,288,291,312,305,298,281,317,354,387,415,391,355,334,349,344,349,349,351,357,352,343,340,353,360,357,356,347,337,356,357,345,332,350,354,354,357,348,336,353,355,343,353,357,340,317,330,341,344,337,342,337,328,328,320,325,316,306,290,303,306,318,309,296,303,297,298,303,288,295,306,305,306,295,303,305,304,333,348,335,364,381,388,405,396,406,410,420,424,446,426,410,426,415,419,415,410,439,416,407,388,423,426,419,413,411,407,404,403,396,397,397,405,405,406,403,407,391,380,385,397,400,392,382,385,378,376,372,382,389,383,376,376,368,360,359,344,344,344,360,372,363,368,372,362,360,356,348,350,363,365,360,360,376,381,372,368,360,360,357,350,339,336,352,361,354,348,355,352,371,360,359,351,346,339,335,323,317,320,309,308,301,291,301,297,296,300,307,317,328,349,379,400,406,378,359,380,406,366,329,341,316,290,274,245,284,272,364,331,237,170,182,219,229,219,228,258,278,328,300,301,323,297,392,481,484,492,485,457,462,457,429,457,497,507,462,433,390,329,320,313,306,302,300,305,294,298,318,307,314,317,323,339,343,336,328,324,325,324,321,319,318,314,311,313,312,311,318,309,312,312,312,312,319,324,310,303,304,305,311,312,311,312,314,309,306,304,297,292,295,307,308,305,306,306,309,310,316,305,306,310,307,303,293,292,294,301,301,295,292,288,286,290,294,294,293,286,281,281,281,281,288,289,288,297,304,311,323,310,307,296,292,311,308,311,314,312,321,327,332,329,328,319,333,323,321,328,333,338,346,341,336,332,336,325,332,341,336,332,332,327,320,314,322,310,307,309,303,297,298,297,295,293,288,286,276,281,284,284,277,274,277,284,281,281,281,280,284,281,269,276,269,263,267,269,265,259,261,261,269,284,281,281,288,289,285,274,269,267,274,277,275,276],[255,240,244,260,267,264,232,188,189,192,184,185,197,207,208,214,211,203,214,223,201,240,245,230,235,225,359,588,673,885,697,760,977,680,418,221,243,370,416,330,368,368,372,365,269,219,219,212,215,222,208,615,957,823,590,574,457,508,815,1104,1026,1184,1128,719,400,270,265,373,484,373,279,252,260,258,272,301,368,468,599,573,761,1298,1668,1556,1530,1426,1110,1270,1148,1338,1524,1554,1228,851,985,1118,1017,1206,1334,1524,890,765,1206,1288,959,849,908,1062,1210,1094,910,828,738,647,478,507,650,703,721,717,1112,1210,1250,1448,910,843,1404,1592,1084,613,594,1164,2016,1746,845,1030,1604,1500,1542,1222,873,1438,1322,1138,742,670,857,879,789,783,644,647,782,959,1008,921,850,391,308,271,419,1086,836,349,315,422,569,399,357,355,326,217,228,277,688,1162,1242,1320,1282,1254,1340,1446,1848,1688,1614,1790,1332,1242,1562,1188,708,613,807,927,548,442,364,630,684,1036,1532,1132,688,581,590,905,986,601,376,382,362,850,1730,1544,950,1212,1578,1450,962,948,1692,2080,1374,713,674,725,528,469,557,949,998,787,631,527,592,1112,1232,606,781,866,955,1118,1172,1382,1438,1316,980,573,399,491,641,539,425,406,354,252,357,435,830,969,786,535,386,382,333,353,373,371,658,770,666,772,608,498,451,429,432,429,428,432,495,631,701,1006,1626,1798,1114,827,813,576,544,755,631,487,611,777,574,426,296,243,281,296,299,317,308,269,279,306,329,335,314,294,322,391,397,330,314,306,309,829,1498,1158,1206,864,462,384,426,475,565,508,436,504,526,468,537,515,423,496,626,620,565,483,625,1003,1218,1040,530,295,345,386,346,299,445,416,329,422,688,1046,1278,1534,1808,1302,1194,963,478,822,1320,1392,1490,1464,1442,1454,1130,778,648,1004,1001,977,981,824,1306,1450,1340,988,615,650,908,662,922,1078,1318,1526,1100,987,804,687,558,556,684,697,652,578,793,1132,1210,1220,1120,633,929,1208,980,971,1058,1080,820,489,522,871,1074,927,567,673,650,458,761,1128,1048,800,813,1046,1146,1126,1120,1530,1500,885,636,552,946,1218,1178,1058,1017,1172,1044,1009,1246,548,397,379,485,1758,2392,1526,571,723,998,1394,2428,2654,2470,1940,1310,857,767,922,1122,1558,1700,1220,1226,1318,872,677,646,580,618,807,1394,1400,1060,667,436,368,562,825,835,832,802,713,527,560,605,670,695,576,634,778,661,700,914,978,917,748,753,610,499,460,669,714,601,700,740,648,635,768,783,582,452,421,471,522,553,741,834,679,558,618,680,861,1146,1388,1410,1274,1202,1182,1046,1306,1350,948,968,1118,1158,1318,1332,792,778,1052,973,650,1032,1824,1582,1076,980,811,975,1011,852,1058,1388,954,1224,1410,1320,1256,1284,1466,1538,1368,1354,1532,1594,1528,1458,930,717,1054,1030,1318,1682,1700,1414,1222,1102,776,585,625,1004,1432,1130,503,396,429,444,572,643,674,824,955,985,1160,1102,1032,612,515,968,880,777,1300,1632,1372,1244,1352,849,867,999,799,1130,1492,1578,1318,1106,1104,1354,1338,872,556,455,369,500,555,503,517,576,542,440,494,860,1126,875,714,765,942,975,874,797,1124,1270,1017,823,735,630,673,708,612,662,943,1338,1332,917,677,616,553,503,466,419,382,501,572,691,795,853,1096,1368,1268,1034,954,970,995,1010,1052,838,904,1196,1236,1042,1148,1548,1704,1484,1184,1368,1284,1228,1528,1448,1222,1172,1732,1462,1272,1198,1344,1012,932,1144,1224,1308,1132,987,1168,1294,1314,1022,521,694,1050,1838,1744,1286,1198,1278,1080,867,1021,1018,730,635,1036,1472,1344,1064,679,482,732,1226,1626,1364,802,863,1166,831,600,851,674,470,495,562,756,825,775,871,891,825,686,473,388,362,291,261,264,304,321,338,350,320,316,314,326,327,346,383,395,402,464,550,584,550,456,393,448,532,488,504,428,385,321,325,351,311,295,323,316,240,266,293,379,556,702,920,944,1274,918,530,665,990,1424,1358,1066,534,798,1102,1005,1102,904,856,1132,1230,1332,1730,1590,1424,1538,1222,1290,1056,1148,1188,1396,1280,997,984,1021,921,927,919,1102,1030,1064,1904,957,819,938,1082,1340,1418,1084,667,675,861,946,867,661,625,662,631,545,502,519,519,509,503,523,695,985,749,767,1136,921,679,556,432,647,786,542,393,476,531,492,368,387,389,391,408,463,587,572,649,550,749,1324,1294,631,579,716,705,598,589,446,677,959,882,1282,1454,830,367,311,299,286,292,271,281,268,275,278,274,288,295,299,299,295,303,301,303,301,268,300,361,366,346,344,346,370,401,472,539,684,818,938,957,1650,1494,896,496,440,388,583,634,578,485,448,436,477,439,371,366,354,318,320,340,625,1078,592,313,341,705,929,606,730,742,808,796,772,868,941,950,739,430,378,348,383,397,458,446,411,516,529,490,386,355,394,385,419,504,654,763,777,922,1166,1078,789,543,275,317,418,362,516,841,1080,1021,663,349,641,993,862,948,1096,990,763,752,667,563,615,534,426,558,769,673,379,285,376,471,463,449,426,435,415,344,260,340,554,575,266,322,414,369,363,410,371,288,277,359,305,403,608,484,540,843,348,289,346,309,353,1190,1078,469,403,455,555,490,415,434,428,486,763,1200,1484,1522,1656,1698,1360,1214,1152,1274,1310,1144,1108,1210,800,630,987,1250,1306,1196,1126,1206,1412,1348,1466,1390,1282,1104,1256,1346,1100,1018,1076,1202,1182,1168,1192,1108,1288,1310,679,395,683,689,811,1068,1186,1104,970,1074,701,478,593,927,1244,1342,1340,1306,1366,1066,966,1086,1252,1278,1186,1220,1264,1294,1320,1234,1050,1130,1106,1118,1074,1232,1470,1512,1354,1188,1224,1100,773,508,465,713,850,702,488,422,408,383,362,342,389,473,507,512,592,483,353,314,431,519,418,343,339,414,683,854,548,397,464,437,625,871,954,1074,802,476,506,375,541,548,391,756,736,449,498,647,592,509,626,863,883,736,1086,1058,1004,1028,1204,1494,1406,1362,1224,841,543,460,545,640,647,769,916,548,507,398,361,459,502,678,1116,1232,689,474,729,424,478,458,342,289,272,371,647,833,812,1040,692,590,694,515,419,548,689,567,419,405,386,349,301,322,359,357,355,401,499,529,529,550,546,537,561,604,659,729,741,608,901,943,738,602,586,583,655,582,534,466,346,285,274,254,260,272,280,286,294,296,306,305,307,287,286,352,404,391,363,353,338,357,345,339,340,346,358,353,349,342,347,344,359,348,371,356,356,350,336,327,338,348,348,351,353,338,349,351,347,373,363,322,317,330,344,350,336,331,323,325,331,331,321,307,311,310,292,293,309,306,291,294,293,300,302,289,287,290,282,297,300,300,322,326,328,338,348,357,370,390,397,396,402,406,420,426,440,451,407,410,404,397,394,384,404,426,406,414,426,426,425,407,415,411,411,404,402,403,403,405,402,400,402,407,401,387,376,386,398,391,390,392,402,401,395,384,378,378,378,368,358,354,360,327,329,336,348,370,360,362,372,364,358,351,350,358,368,360,360,363,374,369,364,364,364,363,351,347,340,335,342,354,357,349,349,348,351,357,352,348,347,338,332,336,317,309,298,292,292,312,307,298,303,303,307,319,321,324,354,378,405,389,359,375,419,387,341,341,299,280,282,221,278,265,285,294,240,201,199,201,214,207,213,248,252,300,293,288,298,279,368,466,495,495,503,488,485,477,446,423,452,481,498,469,431,382,338,317,310,306,309,314,304,294,321,335,335,338,340,339,336,326,323,325,324,322,317,318,312,309,311,313,308,309,312,308,310,312,311,312,316,321,306,298,301,307,307,309,311,310,308,306,307,306,299,298,299,299,298,298,298,305,307,312,313,313,312,302,302,296,301,289,297,300,300,297,292,301,309,297,295,293,289,288,282,281,280,285,288,293,298,301,308,305,297,300,312,307,302,307,311,315,312,312,312,308,309,328,329,309,328,326,315,317,327,332,336,334,320,315,324,338,346,334,333,332,331,324,315,311,324,316,303,302,298,293,308,307,300,293,290,285,280,286,290,285,277,271,276,277,277,276,274,276,280,288,267,271,276,269,274,273,271,268,263,276,289,286,282,281,281,276,273,276,268,263,271,276,275,274],[232,182,197,246,258,251,232,211,201,213,222,212,197,203,208,202,192,201,244,248,211,210,207,236,299,285,390,473,613,606,678,850,944,841,449,232,278,331,431,351,339,333,380,303,234,219,234,225,210,240,225,263,479,827,758,506,398,598,1346,1382,1216,1266,979,504,310,287,302,400,576,532,543,457,332,266,289,325,336,515,936,968,848,1214,1532,1344,1100,1170,927,813,582,918,1398,1066,530,613,832,921,1138,1028,1608,2026,1312,824,726,746,708,915,1032,1021,1114,868,798,828,822,788,647,744,848,728,616,658,957,1308,1194,1138,747,837,1032,1058,872,888,786,961,1382,1394,1174,1256,1576,1506,1740,1378,1018,1812,1678,880,553,681,717,681,717,539,635,1018,921,797,878,774,506,398,357,320,284,295,255,244,394,735,1014,576,449,319,269,235,265,281,289,268,493,942,1228,1302,1338,1432,1434,1534,1784,2068,1808,1626,1278,892,1019,952,940,905,524,353,321,416,813,1440,1190,700,847,758,810,1230,1462,1224,713,369,266,332,612,1092,1266,1770,1968,1516,1330,1384,1820,2728,2470,1394,550,542,620,573,753,968,1048,924,739,621,419,449,534,407,415,513,831,753,971,1400,1262,903,625,421,347,466,922,866,474,372,361,324,306,332,492,783,930,537,356,344,285,262,317,443,808,908,681,533,539,464,422,419,405,404,471,504,574,712,822,981,1122,1264,1302,972,611,768,527,584,984,846,882,784,620,567,398,328,377,357,319,370,372,265,291,303,320,341,326,357,425,464,456,374,316,307,298,589,1468,1346,1212,1088,716,447,379,466,560,534,466,494,499,468,549,615,453,547,645,589,477,454,831,1412,1522,1078,565,331,359,472,677,561,516,422,307,460,873,1278,1212,1356,1432,1432,1242,910,654,777,1252,1848,1736,1202,1034,1218,1184,1078,912,1410,1294,959,1244,1334,1412,1228,1216,1340,970,944,1276,1062,1148,992,1260,1392,1300,1312,1276,1166,841,993,1164,1106,1056,867,1178,1466,1280,1208,1106,787,833,946,980,687,599,696,610,498,515,1005,1464,1272,935,1184,953,655,942,1294,1478,1318,1512,1198,1470,1736,1352,1738,1578,945,660,669,968,1094,1204,1256,1076,884,668,876,1174,625,394,361,379,741,749,516,561,648,622,934,1940,1674,1154,784,653,615,631,630,735,1114,1272,862,711,664,797,644,1005,831,695,673,659,1200,1522,933,466,521,678,864,1144,1278,1190,902,623,637,694,687,620,575,764,968,900,879,759,814,1088,764,494,507,628,699,1030,1050,688,545,621,639,574,618,594,541,516,473,613,688,680,703,667,653,615,645,688,733,846,899,887,757,708,1082,1378,1492,1354,1252,1274,1162,1304,1300,1001,780,979,1340,961,766,1166,1474,1276,1308,1288,683,724,1130,1478,1660,1688,1128,704,1019,1516,1484,1388,1658,1404,943,993,1240,1274,1250,957,681,751,1182,1406,1378,1410,1500,1326,829,1019,985,664,506,774,1588,1252,591,590,673,919,1010,1078,1076,1082,1050,1278,1282,1080,864,695,957,1228,825,917,1362,1396,1560,1602,1148,728,599,578,760,998,1298,1294,1196,1168,947,871,867,491,352,398,353,381,418,522,542,501,406,409,589,760,953,684,744,1108,1528,1670,1410,942,829,919,928,813,706,701,718,716,634,562,716,1226,1308,898,595,515,487,452,467,472,461,510,579,706,792,854,1118,1692,1530,1116,991,1052,1144,967,1023,840,1005,1192,1420,1362,1210,1194,1184,1222,1354,1424,1236,1332,1418,1354,1426,1864,2238,1492,1094,1150,1100,822,857,1174,1338,1362,1054,1096,1808,1748,1376,1152,819,1088,1232,1186,1476,1302,833,1018,958,716,957,917,609,559,727,1120,1432,1246,599,387,580,1200,1458,1110,779,1028,1088,945,760,846,1018,785,521,371,444,507,631,700,807,615,413,331,338,312,237,230,270,295,321,328,319,309,310,327,333,343,374,379,381,404,447,530,567,529,422,370,408,473,513,499,488,461,362,364,389,364,338,401,478,318,303,312,371,579,990,1142,993,1110,981,1096,1360,738,994,998,914,620,1158,1436,1628,1748,1110,954,1310,1446,1194,1168,1270,1324,1566,1494,1316,852,725,1116,1524,1378,1232,1422,1494,1096,1016,892,869,763,835,1030,1074,990,1072,1260,1318,1388,1158,970,868,1078,1172,757,454,454,664,704,603,666,678,622,684,479,497,849,1212,868,573,856,852,671,650,489,491,518,539,441,445,485,612,430,364,437,510,496,525,543,495,430,556,962,1024,999,699,487,417,474,551,639,528,624,849,730,1054,1468,1190,477,328,336,347,325,303,310,305,325,333,295,289,301,309,297,287,307,299,302,328,328,342,398,412,368,342,349,347,384,565,777,874,1108,1418,1448,1372,1636,1488,550,492,422,473,565,644,517,443,471,453,428,389,380,414,361,350,334,397,852,799,486,473,1290,1316,671,503,645,864,733,777,733,698,824,800,553,448,421,411,357,348,352,407,526,549,486,415,481,534,431,398,462,550,579,566,630,812,738,677,664,421,365,360,373,628,747,637,778,941,692,700,744,740,880,797,546,416,487,437,479,576,493,314,294,403,376,375,401,469,482,464,427,428,431,406,379,398,522,512,607,396,369,355,268,244,274,236,218,276,297,237,274,406,405,293,389,338,418,423,365,308,382,308,340,341,342,554,719,549,719,985,1206,1332,1464,1348,1166,1548,1704,1294,1154,1220,1204,1108,1132,1360,1436,1154,951,1056,1150,1188,1224,1100,1044,1042,1170,1550,1398,957,959,1114,1150,927,990,1378,1346,1094,1148,1132,1206,1346,872,480,677,1048,1074,1019,1009,1064,1144,1344,1594,1042,810,724,1100,1338,1440,1366,1272,1138,1150,1324,1174,1180,1268,1232,1236,1212,1304,1390,1496,1316,1152,1176,1176,1328,1438,1416,1404,1126,960,1024,971,753,482,574,1206,1260,737,475,509,509,370,322,330,353,318,381,410,425,400,420,516,556,504,340,314,348,335,324,365,330,307,365,476,846,1176,1264,1184,866,1017,750,450,525,468,479,647,509,435,594,680,510,437,644,877,1052,639,733,717,665,781,1078,1420,1238,868,832,954,927,1110,1138,1052,890,660,802,660,410,390,514,633,601,531,518,810,836,458,592,536,345,301,376,403,462,695,1368,1318,913,1230,866,522,431,431,389,417,693,756,491,416,406,350,304,313,325,312,268,368,459,469,537,568,527,467,427,540,604,643,825,625,801,881,745,636,652,700,594,476,364,318,328,285,284,264,261,269,275,277,288,302,307,314,338,325,305,329,302,297,315,350,353,365,357,345,353,363,365,345,345,335,347,344,347,348,364,344,339,348,350,346,340,338,336,343,348,343,343,342,348,370,353,322,317,327,341,346,339,336,325,330,328,328,318,310,326,323,300,304,296,312,293,293,293,292,287,286,290,277,268,286,294,289,300,305,335,328,358,344,367,387,386,393,404,419,433,425,431,449,432,428,419,403,385,377,401,397,388,417,423,431,434,413,419,404,422,409,402,404,407,407,391,391,401,396,392,394,390,394,398,394,402,404,397,389,380,378,395,390,370,356,371,350,354,337,342,357,358,364,365,365,360,362,360,358,363,366,351,354,375,376,368,360,360,357,363,363,354,350,343,334,346,352,351,349,349,351,359,366,365,352,341,333,333,317,326,320,302,305,312,305,297,307,304,305,311,317,316,321,363,396,417,403,383,400,417,370,327,307,303,239,200,203,267,240,228,238,220,198,179,171,212,217,214,241,260,298,301,290,277,271,340,431,455,448,489,485,502,493,497,454,422,443,484,465,440,393,350,318,315,339,365,352,340,326,338,352,355,349,344,352,343,332,324,318,318,317,318,318,323,324,316,306,301,309,308,310,309,306,306,312,312,309,301,294,297,300,303,307,303,301,301,307,306,305,299,300,299,299,297,297,303,306,306,307,308,307,305,300,296,287,303,299,293,298,299,293,298,299,298,294,299,294,288,288,290,283,282,288,289,298,301,301,301,300,309,320,314,314,310,308,306,300,302,310,312,317,326,327,325,317,326,310,309,317,315,315,327,331,331,340,336,333,334,327,332,333,328,320,319,316,315,312,306,300,299,288,306,297,293,298,299,296,290,288,286,286,288,298,304,276,274,269,268,274,279,290,276,271,276,283,288,280,276,268,267,274,280,281,277,276,274,280,288,285,273,269,269,271,269,276],[267,210,206,228,234,237,237,214,190,209,224,220,217,210,196,180,172,201,220,206,212,208,198,191,261,374,378,337,464,661,1007,1042,872,709,483,338,331,283,359,476,453,390,295,238,253,270,234,212,206,200,218,291,251,347,593,731,626,1084,1368,1042,1011,960,635,348,290,301,302,359,460,435,816,785,462,312,284,363,361,735,1700,1684,1170,1112,1136,1118,1026,821,655,505,547,1094,1362,971,899,987,677,814,905,1242,1908,1904,1448,966,845,780,658,669,841,894,918,718,794,858,940,851,578,617,808,752,642,493,1094,1506,1050,1090,948,1021,871,839,813,1001,1150,1390,1476,1190,1158,1324,1450,1784,2562,1946,1270,1190,1252,999,509,507,568,597,744,700,955,853,546,542,675,478,363,420,409,361,441,464,346,268,333,532,874,656,529,468,317,256,304,294,247,236,287,476,926,1036,1168,1280,1428,1490,1566,1762,1734,1390,780,749,885,683,486,385,387,352,458,451,687,1206,1274,1064,996,857,609,1172,1502,1472,1086,664,355,278,275,373,499,732,731,827,1002,969,1078,1826,2544,1474,590,626,697,753,835,858,1010,965,871,621,653,619,550,512,466,827,1090,835,608,547,562,468,426,453,444,415,771,971,618,384,365,312,295,314,326,423,418,332,287,276,266,269,300,552,1128,1360,791,392,405,384,415,447,444,435,494,584,779,920,681,792,756,464,790,918,919,1330,715,329,513,1044,1204,971,941,917,547,367,386,324,333,382,379,337,338,316,368,386,368,449,420,422,491,363,307,327,276,365,921,1302,1282,1470,1232,615,487,586,542,566,480,523,521,459,510,555,425,506,583,563,546,650,1008,1326,972,686,572,500,508,667,926,746,386,314,323,415,869,1378,1358,1340,1230,1162,1242,1374,1009,753,989,1566,1670,1368,1010,1152,965,979,1010,937,809,752,1192,1740,1668,1218,1502,1228,841,1144,1396,1256,1012,1064,1344,1170,930,839,1082,1384,1148,1308,1396,1494,1017,907,1122,1056,1114,1482,1074,903,1184,1356,1332,728,499,480,452,450,474,927,994,750,702,990,1170,1438,1608,1520,1626,1248,1050,888,1572,1928,1476,1444,1382,984,762,915,1190,1144,1462,1574,1240,684,492,948,1150,703,375,316,370,659,1096,856,879,741,434,541,759,688,653,711,750,669,642,767,760,731,913,834,659,514,462,395,823,891,903,794,479,803,1206,836,468,476,681,883,1164,1298,1286,1082,851,744,667,642,630,657,818,950,950,969,801,794,952,735,590,692,772,646,869,1368,1178,447,479,639,534,453,488,447,505,806,1228,1250,1052,775,684,708,730,808,674,471,487,528,564,514,756,1172,1414,1488,1210,1354,1162,1058,1236,1238,1152,1098,1220,1274,822,781,1268,1132,1224,1378,1164,913,877,1142,1380,1250,1138,1136,997,1122,1338,1328,1194,1328,1280,973,849,944,995,963,993,1116,1212,1366,1572,1542,1332,1342,1086,729,864,1052,852,687,679,1070,1168,1044,1128,1202,1154,872,1036,1106,951,890,997,1224,1002,957,1026,1124,1244,979,1226,1326,1001,1446,1786,1398,912,846,826,761,938,1312,1278,1124,1258,1304,868,615,380,326,348,395,414,424,530,572,543,469,447,495,530,743,681,813,979,1180,1532,1314,753,651,733,745,658,589,603,565,528,559,497,686,1128,1282,1068,749,533,529,493,516,534,539,512,623,758,834,786,969,1202,1172,1228,1174,981,1080,1023,1010,828,783,1130,1554,1584,1432,1548,1634,1274,1116,818,948,1262,1268,1270,1246,1562,1716,1546,1502,1366,1192,987,879,1188,1192,1166,1026,1336,1494,1274,1028,933,1072,1450,1470,1236,1510,1370,792,983,1013,870,1042,771,413,377,651,1230,1338,1008,482,393,605,1216,1216,1134,1168,1402,1156,1130,1001,1132,1638,1490,1246,771,526,904,1120,856,626,437,364,309,283,258,214,267,335,342,313,304,293,317,363,361,325,318,360,392,389,384,392,457,523,507,471,445,421,371,403,443,451,396,375,423,418,433,383,397,427,364,332,317,444,604,915,971,1032,1380,1356,1848,1688,654,955,1394,1228,944,1360,1438,1404,1348,943,861,1236,1562,1224,999,1021,827,1122,1340,1212,1142,1028,1132,1556,1714,1578,1422,1598,1544,1350,1130,933,887,861,1504,1796,1170,1058,998,869,818,1020,1374,990,554,494,391,412,502,680,821,761,728,695,744,727,428,515,946,1202,912,609,889,907,593,552,579,606,419,425,424,378,321,541,439,336,430,504,550,680,693,571,387,555,1324,1282,1124,806,508,444,532,633,858,1094,846,877,805,976,1334,1408,691,319,297,341,365,333,329,356,356,350,300,295,281,300,295,284,306,331,338,363,400,389,378,386,367,351,340,463,751,1028,827,808,1422,1768,1430,1318,1488,1758,1156,645,498,452,468,534,478,392,381,406,404,358,370,432,410,365,357,357,537,896,755,393,794,960,806,921,867,920,539,833,756,532,736,709,519,422,357,347,357,381,364,399,415,487,405,404,506,461,389,383,411,479,446,470,461,473,398,412,631,506,363,363,632,952,705,463,569,869,1082,957,552,471,691,505,376,414,369,340,410,414,384,282,298,346,365,652,574,462,396,354,369,386,436,444,410,543,849,616,619,469,370,279,316,418,353,461,600,349,345,347,308,419,444,338,533,933,801,434,377,255,299,378,423,363,251,316,605,897,1278,1234,1032,1136,1418,1458,1230,1044,1184,931,935,1084,990,826,932,1152,1286,1256,1174,1072,998,1116,1200,1152,1416,1058,1146,1372,1202,889,877,982,1100,976,1058,1596,1328,1017,1086,1120,1438,1592,974,660,805,1054,1236,1202,886,973,1156,1254,1254,1390,1268,1072,1180,1318,1288,1452,1718,1328,1354,1498,1016,1178,1298,1414,1512,1378,1228,1354,1538,1324,1312,1340,993,952,1154,1198,1138,847,796,803,723,610,711,1210,1208,682,459,484,572,541,348,321,321,299,281,275,314,334,393,567,739,612,532,437,497,437,330,309,289,284,305,326,530,1023,1156,1232,970,1098,1180,1188,972,829,659,658,750,489,401,566,725,603,437,515,626,735,495,666,927,869,536,772,1224,1208,1064,1005,1036,1220,1402,1584,1422,1070,600,628,537,347,436,596,631,586,404,377,451,592,408,584,753,495,342,529,794,833,702,1470,1108,654,1042,1023,779,702,502,341,326,602,938,615,410,368,315,304,313,334,340,407,477,435,441,481,520,487,481,522,550,562,565,625,641,969,1044,653,481,620,651,422,329,323,348,357,310,291,288,278,261,256,271,287,293,293,297,307,308,305,292,299,294,307,350,371,382,377,355,352,355,373,361,351,330,335,344,339,344,347,356,356,356,354,340,329,338,336,336,341,343,348,354,354,355,340,321,317,330,337,346,352,354,336,325,320,320,312,310,329,317,293,300,305,302,294,294,295,291,283,283,289,287,287,286,295,300,295,295,333,362,383,352,358,380,390,390,396,396,401,424,436,419,440,431,410,393,389,398,407,407,406,409,416,429,443,422,413,406,427,415,404,407,411,419,394,406,421,416,408,400,400,398,402,405,397,386,391,398,382,372,400,362,371,377,360,348,362,350,347,350,346,357,362,358,365,360,360,366,362,372,363,360,365,363,357,354,351,354,357,349,354,354,346,339,342,343,343,342,344,342,339,352,373,347,336,328,330,323,326,321,321,314,308,304,298,301,304,309,309,316,319,324,345,384,418,413,409,423,441,383,324,291,295,236,201,244,263,244,219,227,267,265,218,198,217,198,162,232,277,309,320,302,286,291,329,380,415,399,437,467,487,484,495,495,451,433,458,471,440,410,397,337,324,378,384,382,370,360,364,361,353,332,330,343,313,320,320,318,318,318,319,316,309,300,294,298,308,309,294,308,309,305,311,312,310,306,303,299,300,299,299,299,299,299,299,299,299,299,300,297,292,292,291,295,294,294,297,298,300,306,302,300,296,288,294,299,292,285,295,294,298,297,288,300,288,292,289,289,294,285,288,281,289,296,300,300,294,294,304,315,314,317,317,310,306,314,320,314,316,317,320,325,325,323,329,316,325,329,317,321,328,336,338,336,333,332,332,329,332,333,329,325,324,317,311,306,307,300,300,288,292,296,315,319,304,295,288,286,277,277,284,295,280,283,280,276,276,276,279,283,283,280,273,280,276,276,274,271,274,274,279,283,279,280,281,285,292,288,281,268,265,268,268,274],[242,192,190,210,235,236,222,177,162,173,180,182,205,201,183,176,207,230,226,255,232,213,218,228,393,748,717,477,547,1018,1312,1152,1005,891,422,346,287,305,507,533,559,448,292,299,276,262,222,205,186,192,218,248,244,314,330,894,1310,1472,1222,948,942,594,347,261,279,330,362,412,452,496,623,619,609,450,336,395,430,827,1576,2010,1772,1212,909,796,722,589,519,518,639,901,929,1150,1360,1122,745,821,958,1460,1578,1362,1088,919,1038,1104,907,543,743,931,862,789,767,685,860,1266,1206,710,639,635,683,651,997,987,1108,887,691,996,1164,1046,1106,1256,1132,1392,1548,952,935,1148,1228,1410,2280,2014,1312,1352,1720,1378,772,521,602,528,523,738,915,975,886,811,540,361,355,382,407,472,946,917,566,336,292,686,800,557,466,458,301,310,326,343,332,281,265,379,702,797,893,1100,1464,1600,1448,1694,1626,1160,669,731,559,455,416,478,466,437,512,477,409,597,870,1052,847,1172,2242,2586,1486,1232,1324,910,390,314,354,263,309,379,380,495,619,736,994,1007,1180,893,686,668,724,730,795,954,1234,1568,1422,770,733,733,811,691,550,960,1042,1026,765,461,367,377,330,296,399,389,596,1036,846,410,316,290,307,279,255,301,380,306,243,224,349,383,280,361,586,602,418,397,414,414,493,618,501,522,551,650,845,638,752,1240,1007,391,651,597,857,897,460,361,337,565,1058,1146,917,1028,849,554,404,392,367,404,361,362,404,473,540,522,471,502,396,345,477,350,300,389,419,439,608,932,1344,1532,949,561,730,798,466,445,415,505,512,453,412,533,950,980,648,949,1124,1346,1416,1324,760,460,440,435,550,603,610,622,403,362,330,331,432,835,1278,1298,1206,1007,1644,1982,1578,1406,975,1064,1250,1244,1266,1019,804,1156,1132,822,619,634,1152,1850,1592,1182,1716,1396,1132,1188,1376,1170,1001,1226,1272,1068,1110,906,854,1324,1062,854,1144,1360,1280,1162,1034,746,907,1152,868,1070,1318,1084,1132,656,345,393,432,454,571,640,575,668,916,1140,1220,1302,1422,977,843,955,1224,1130,1146,1346,1200,1108,1216,1096,954,1170,1342,1306,1718,1798,1394,878,641,1038,1048,469,356,389,717,1566,1732,984,761,603,528,641,673,733,741,719,711,607,656,890,825,678,608,523,385,352,415,393,579,785,892,833,926,1080,581,407,409,395,551,745,982,1116,1034,863,832,733,630,655,742,771,805,881,927,987,940,1044,1024,849,720,650,688,612,857,1544,1190,728,721,817,695,605,524,477,685,1082,1296,1170,605,487,610,572,628,775,769,960,1070,1034,938,835,1218,1194,1212,1138,781,708,673,792,1086,1156,1288,1414,1170,791,570,594,752,1140,1358,1190,1094,1009,1026,1190,1218,838,681,754,804,1120,1042,1058,1246,1482,1502,1412,1164,877,735,1056,1548,1720,1640,1456,1146,1198,1198,1354,1262,1013,1398,1716,1428,1220,934,872,1250,1370,1238,1258,1050,911,1030,1206,1232,1170,1042,913,841,1078,1246,1236,1166,1188,1438,1578,1400,1632,1746,1470,1262,1072,629,617,990,1388,1340,1238,1122,968,591,490,393,326,336,466,554,463,436,458,475,493,438,405,505,773,736,694,702,701,819,717,527,528,505,451,432,416,422,403,401,476,514,723,1088,1236,1098,849,661,704,653,589,569,480,542,686,786,780,756,963,1204,1240,1350,1242,1080,1048,1007,1024,872,706,987,1278,1170,1114,1356,1290,1214,1378,1150,1230,1208,1138,1028,1052,1278,1278,1328,1538,1400,1138,813,849,1180,1352,1288,1316,1372,1180,1176,1140,1072,1170,1194,1216,1306,1442,1146,872,959,962,1002,1302,1098,560,419,641,1158,949,963,704,519,926,1296,1366,1272,1100,933,857,995,1056,1302,1368,1168,1232,976,706,1362,1582,1202,826,519,385,310,267,225,260,381,552,567,453,356,306,401,489,431,339,318,368,421,407,400,420,409,442,457,462,445,417,392,368,364,359,382,428,584,632,607,423,357,354,370,342,353,467,747,1164,1015,1540,1404,1228,2006,1326,691,1390,1554,1316,1598,1430,1336,1436,1204,1158,1216,1074,1206,1368,1019,700,816,1260,1414,1404,1444,1318,1300,1414,1422,1666,1616,1388,1408,1300,1244,921,951,1066,868,1142,1188,1026,859,558,546,874,1136,795,527,530,464,484,613,761,893,651,565,635,855,695,671,715,836,1154,1019,668,708,775,567,498,370,360,381,408,380,334,338,480,555,473,347,350,449,547,624,507,456,455,778,894,1052,868,527,574,662,835,1510,1940,851,525,834,1040,1146,1474,1006,414,359,360,373,372,379,371,339,282,300,297,270,295,290,284,292,312,339,392,441,378,307,323,372,459,653,885,965,1170,1166,1012,1304,2004,1444,1706,1556,1986,1672,833,444,448,512,531,578,453,343,429,429,342,336,404,431,379,337,341,333,691,914,576,426,510,644,907,977,1476,738,502,515,536,597,979,1268,603,282,305,428,530,492,407,424,500,466,457,481,467,384,467,467,446,425,425,372,351,315,263,519,646,434,358,501,761,735,813,783,695,1130,1186,877,612,452,336,338,381,353,298,318,310,333,390,383,389,886,1084,656,382,262,270,305,346,415,435,480,649,969,813,683,528,331,233,406,679,545,992,1124,505,364,455,487,788,736,524,1220,1802,886,469,377,226,249,271,310,307,306,305,270,610,959,850,709,1054,1370,1462,1005,733,1266,907,843,1070,1192,1152,853,761,1034,1140,1190,973,1196,1242,1140,1108,1202,1238,1252,1252,1180,1254,1282,1146,1142,938,987,1510,1366,1078,1196,1410,1540,1504,1596,1406,896,876,972,944,686,825,1032,1384,1450,1584,1472,1184,1182,1124,1302,1930,1866,1578,1520,1336,1011,1246,1316,1406,1192,1284,1378,1162,1038,1134,1184,1068,957,961,1274,1172,822,615,493,538,684,639,567,762,536,432,473,468,391,405,359,316,303,296,275,283,331,404,414,492,521,419,455,523,547,415,339,307,292,299,293,298,423,687,756,879,996,1278,1146,1344,1456,1460,1342,1282,1186,916,677,677,725,620,514,396,510,667,586,554,803,950,770,850,816,738,587,502,739,1034,1170,1208,1268,916,527,609,470,351,394,621,652,448,265,305,366,336,284,604,902,739,477,1013,1360,1478,1108,1005,737,566,682,751,1058,1196,587,320,337,473,878,679,449,384,336,329,345,332,352,550,571,500,445,469,508,497,547,499,529,585,535,536,628,968,1076,722,344,375,444,410,365,320,344,303,290,328,334,303,275,267,280,294,287,277,287,289,286,287,277,294,303,306,319,341,359,373,369,362,353,368,372,349,323,326,332,340,344,342,347,347,356,363,350,336,342,343,333,335,342,338,345,354,359,330,331,339,344,337,344,361,341,321,328,326,323,317,312,313,303,298,300,294,291,290,287,291,292,284,282,289,288,293,293,294,301,295,302,328,339,346,366,361,379,398,396,389,386,393,410,399,406,433,434,422,422,407,414,396,391,406,422,419,420,431,431,407,396,421,416,406,396,394,403,400,419,413,409,417,405,394,394,392,389,390,380,392,391,383,368,391,382,373,364,350,350,344,330,333,344,352,360,368,351,362,362,360,358,348,356,365,364,351,349,348,348,340,351,351,349,348,347,343,344,349,348,342,339,342,336,332,332,354,336,328,326,319,325,321,316,313,305,297,297,298,300,303,311,311,314,323,326,338,370,423,423,430,431,462,419,328,276,275,267,261,230,212,226,201,211,253,210,185,211,252,227,216,239,222,255,294,292,290,298,290,327,360,374,393,393,439,488,487,502,503,449,440,486,431,413,415,380,370,397,390,373,348,335,344,335,332,329,324,331,319,318,318,318,318,316,316,314,311,304,302,304,300,299,306,299,299,304,305,310,310,305,306,305,298,299,299,299,299,299,299,299,299,298,296,295,292,284,287,290,294,294,292,298,303,306,307,306,299,290,294,299,295,280,294,288,282,300,285,295,290,285,290,297,274,280,290,292,294,294,299,304,306,308,310,309,310,317,319,310,311,309,312,312,325,310,322,322,320,322,322,316,315,326,319,320,326,338,332,331,332,333,334,337,338,338,331,326,326,319,314,311,310,303,296,292,284,286,303,303,295,289,288,282,276,276,284,294,294,295,291,284,282,283,283,282,283,280,268,269,274,276,277,280,279,276,277,283,285,288,295,288,292,285,277,264,261,267,269,271],[238,217,249,245,226,216,215,204,207,203,185,189,203,195,194,212,246,331,451,339,289,244,214,253,488,1080,1122,736,879,1400,1354,1144,1178,771,457,451,393,530,643,411,365,318,256,287,266,235,218,229,218,220,241,246,241,304,294,479,1004,1426,1116,1036,768,449,318,268,305,328,352,367,432,534,550,597,837,873,512,462,472,681,1100,1580,1544,1188,887,890,746,553,410,490,505,553,664,1142,1134,724,555,782,1568,2128,1622,1440,1566,1218,1400,1194,1098,630,588,689,644,559,563,559,607,973,847,502,402,407,504,802,1038,1284,1172,786,701,691,922,914,794,1078,1070,927,1114,840,797,945,1282,1232,989,999,948,927,983,913,819,574,648,472,431,663,678,774,1056,910,605,500,446,417,377,396,897,1114,631,350,385,462,568,628,678,926,510,375,372,320,251,369,498,615,645,560,723,1420,2434,2548,1488,1632,1502,1160,798,583,451,561,617,606,600,590,547,480,443,486,499,545,750,2168,2988,2044,1222,1106,1360,1080,506,334,316,391,462,575,477,412,369,575,733,753,915,980,731,666,752,724,775,1144,1090,1210,975,645,641,473,547,603,858,1224,1104,933,1056,766,381,278,270,256,365,450,411,531,528,345,321,356,423,357,290,308,368,395,459,415,563,633,463,360,348,366,396,408,454,477,584,762,767,718,718,951,941,807,1510,1302,1062,1008,999,486,598,483,298,362,387,384,747,1138,834,792,844,578,392,428,698,960,826,608,443,464,704,619,531,423,445,370,435,338,339,457,469,422,442,535,761,686,510,584,679,594,471,485,417,475,538,534,457,548,833,781,797,1516,1666,1706,1484,1360,1015,573,462,495,507,470,463,659,506,379,307,335,376,701,1062,1204,1250,1310,1710,1456,1170,1164,948,826,779,876,982,1146,1194,1100,908,877,998,1094,1292,1448,1216,1162,980,1102,1316,1176,1128,1094,1178,1422,1026,761,796,1005,787,940,1066,1338,1492,1396,1356,1108,777,696,889,830,601,997,1356,1176,1170,732,454,460,426,484,617,660,957,1200,1330,1212,1158,1190,1422,1036,679,787,937,853,881,1086,1248,1208,1322,1390,1204,1198,1166,1164,1354,1368,1044,702,623,957,1000,415,389,373,488,780,771,708,899,854,777,838,741,708,651,639,745,789,868,856,610,381,324,340,353,398,376,288,357,621,797,792,1120,1372,811,565,578,658,849,901,906,1042,920,726,623,610,623,797,924,777,711,776,804,844,973,1118,905,680,637,503,524,529,569,650,557,918,1082,882,774,1036,1023,800,979,1208,1162,1156,969,803,980,913,656,720,1003,1116,1310,1658,1268,939,1616,1460,1282,1088,678,400,541,770,897,952,1226,1282,1030,735,670,913,1114,1174,1268,1232,1030,1034,1010,868,883,892,830,498,485,854,1172,1174,1290,1426,1228,1100,1148,991,950,1128,1448,1710,1554,1194,1160,1130,1130,1152,1168,1184,1462,1510,1380,1146,1124,1176,1350,1354,1274,1192,1090,1086,1016,1082,1402,1356,885,935,1218,1136,1190,1110,1132,1400,1670,1698,1698,1770,1566,1406,1578,1048,550,449,844,1220,1058,789,714,461,293,318,345,451,522,478,539,453,361,413,438,468,399,365,460,776,847,568,539,667,644,523,508,473,455,404,422,419,363,353,401,474,597,819,1128,1202,1152,1108,1064,1020,1010,1034,880,676,617,692,923,894,854,1144,1316,1174,1142,1023,1048,935,966,1118,881,736,1072,1262,982,705,780,1078,1456,1262,1224,1356,1334,1272,1186,1128,1170,1206,1134,1258,1382,1282,928,968,1168,1236,1578,1708,1370,1286,1196,1128,1166,977,1056,1238,1164,1015,772,992,1206,1066,1084,1196,1046,747,656,855,986,1094,1246,1200,1102,1190,1204,1162,1216,1270,776,661,834,982,1362,1212,647,572,658,1124,1592,1468,1336,1096,697,392,271,252,238,302,386,536,625,473,324,321,393,449,490,377,355,410,462,424,415,417,379,385,377,367,405,417,435,422,390,361,393,555,709,772,672,455,483,546,464,430,446,438,750,993,885,1560,1330,802,835,672,767,1410,1362,1482,1838,1160,894,1076,1426,1460,961,615,1122,1266,825,634,918,1228,1346,1526,1484,1348,1266,1328,2172,4312,2604,1140,1324,1148,1000,788,999,1248,700,1012,932,823,854,664,762,797,937,983,751,568,477,422,563,1004,958,575,987,1202,944,578,671,791,868,1080,930,626,473,537,658,532,414,445,425,419,354,318,336,425,569,495,311,313,430,481,435,328,488,625,611,572,815,878,640,724,670,835,1078,836,704,453,399,464,788,1376,1300,567,363,317,345,364,380,372,334,298,324,290,265,266,255,268,249,246,282,318,343,329,286,338,499,695,846,995,1440,2244,2454,1732,1300,1852,1948,1682,1406,1632,1788,1344,882,1240,1228,1024,1416,1044,446,417,421,349,331,368,391,365,329,350,325,434,765,921,668,653,890,824,530,669,707,654,810,879,524,851,977,554,347,370,457,478,479,408,419,460,456,454,454,484,370,444,503,493,484,475,446,437,396,277,501,789,617,399,325,440,780,1210,1320,1186,1092,850,825,946,778,545,586,377,345,344,346,310,367,639,684,919,1136,647,436,474,313,303,316,359,390,501,626,762,947,786,606,547,293,256,435,597,517,874,586,281,285,443,568,610,436,408,1030,1188,508,467,426,298,237,348,568,827,734,409,336,430,708,705,556,748,844,698,426,515,1052,866,813,1088,1150,981,594,552,813,1136,1104,892,1090,1152,1202,1196,1162,1280,1564,1314,1252,1138,1168,1162,1013,897,1046,1294,1302,803,783,1444,1672,1612,1780,1388,1122,1130,829,724,884,1212,1506,1570,1314,1310,1168,1002,1100,1146,1536,1562,1256,1256,1278,1100,927,1026,1458,1484,1294,1490,1176,1018,915,891,793,1016,1246,1110,1128,1296,1322,482,459,613,1110,986,560,483,574,433,466,438,396,454,442,370,328,304,286,299,358,376,311,299,332,335,368,408,363,312,305,319,303,282,273,271,358,485,824,849,1132,1428,1390,1284,1346,1398,1388,1486,1314,1356,1478,1608,1506,1134,824,623,688,890,974,1011,1046,1152,1038,750,394,393,621,974,1204,1166,1170,1144,855,495,577,517,454,446,434,488,468,354,283,287,321,433,584,740,897,971,598,1130,1322,977,639,585,581,537,409,481,1002,1072,476,359,275,366,693,786,623,422,386,352,342,325,371,509,450,419,447,465,495,490,458,409,452,483,475,459,541,716,733,575,429,446,502,656,521,371,365,544,854,848,522,366,298,282,281,301,295,276,307,296,276,260,258,287,312,310,314,339,343,357,362,365,363,356,361,353,351,354,350,344,334,348,341,347,347,336,339,333,328,345,341,332,342,329,338,349,355,347,337,337,344,336,337,349,331,336,320,331,319,318,313,307,303,299,288,288,286,282,284,290,292,289,288,282,281,286,291,289,288,292,301,321,336,344,357,361,379,390,397,406,410,395,401,416,406,415,438,425,440,401,403,403,406,393,415,411,401,411,429,413,397,414,415,407,394,406,407,405,411,403,407,411,405,394,385,377,378,401,383,380,380,371,373,365,356,350,344,348,350,354,348,342,348,354,360,354,360,362,356,360,348,347,349,356,360,339,350,354,349,344,346,343,343,342,342,342,343,342,334,328,334,342,341,351,338,336,336,333,326,326,322,317,317,309,304,303,297,304,306,304,304,306,317,322,324,337,359,423,431,454,444,471,444,350,282,261,259,218,216,205,183,210,211,232,192,171,200,235,193,197,213,188,222,245,237,282,304,298,315,312,339,352,356,396,449,488,504,499,455,440,479,437,409,399,403,412,413,391,372,342,335,356,342,329,327,324,325,319,318,315,312,312,311,311,306,306,305,306,305,304,300,298,300,299,302,305,306,310,305,305,305,299,299,299,299,299,299,299,299,300,297,292,292,287,284,290,287,287,292,295,297,303,307,306,307,306,306,313,305,294,290,288,288,281,295,292,292,300,290,289,289,297,302,290,294,294,294,300,310,312,317,320,310,307,316,326,303,314,307,307,311,316,332,329,312,319,312,320,319,320,322,322,320,325,329,332,334,333,332,336,344,343,338,329,326,327,321,314,310,296,291,299,301,292,290,296,295,294,288,289,283,282,288,293,298,299,290,280,277,283,282,282,282,282,276,271,271,274,274,284,291,274,268,277,283,290,288,288,288,285,277,271,264,261,263,269,285],[272,231,246,218,202,200,189,193,209,222,243,261,224,189,214,248,494,979,1021,661,434,291,218,421,1002,1320,1015,894,923,1186,1114,1046,933,555,470,512,575,702,496,237,232,311,469,431,259,212,177,178,200,224,240,248,262,300,277,337,728,1328,1202,832,514,418,331,326,330,318,341,404,581,707,602,718,942,1078,858,704,552,521,709,848,973,875,733,688,474,381,335,600,600,709,1114,1444,1088,758,791,957,918,918,974,1296,1384,984,1054,1009,963,661,489,456,438,635,1088,590,345,379,354,454,527,563,569,861,1186,1236,1094,918,583,402,563,1180,1636,1500,979,829,1252,1316,1082,1009,1262,1108,587,589,747,736,1134,1180,959,747,572,395,430,594,689,907,975,741,731,527,415,402,337,374,517,605,565,483,412,403,681,941,763,861,599,398,347,251,251,514,727,777,683,644,905,1228,1598,1848,1774,1734,1682,1664,1340,912,716,728,894,799,720,746,651,488,508,509,467,561,465,1958,2526,1762,1094,1108,1290,856,562,380,374,539,688,674,515,390,284,325,377,388,590,892,934,805,716,602,838,1138,966,771,994,1224,982,595,602,799,1270,1318,1238,924,799,556,310,280,344,375,514,573,402,338,325,330,357,432,415,405,384,433,463,630,661,451,543,691,565,381,346,362,380,386,486,480,398,615,810,783,828,957,1288,1544,1896,837,1048,1210,689,370,352,337,334,466,572,501,530,1026,1076,670,480,482,481,480,1054,1358,1036,830,921,1776,1864,825,581,567,562,683,553,333,385,443,420,387,443,430,460,524,556,521,500,476,516,490,451,506,577,586,541,489,495,598,1344,1756,1720,1422,1060,1080,1076,689,491,502,680,854,499,637,772,515,370,439,567,886,1010,915,1007,1416,1556,1104,1086,875,859,1038,1044,815,1012,1354,1306,1136,780,522,877,1034,1088,1296,1432,1532,938,879,1166,1066,1046,955,883,1256,686,924,922,958,549,487,844,1046,1278,1620,1936,1802,1084,799,1162,1172,613,949,1794,1702,1512,1156,626,561,519,457,446,599,1050,1158,1258,1154,1212,1302,1482,1224,854,811,584,576,890,1290,1574,1516,1108,877,906,824,949,1052,1218,1248,760,449,506,920,1130,524,370,402,618,838,1230,1332,1600,1710,1460,994,813,738,785,877,957,939,861,736,575,406,378,446,506,525,516,749,1306,1660,1164,739,764,1054,962,775,617,619,715,582,511,781,871,666,559,660,699,785,857,780,808,879,860,799,856,992,781,678,691,551,468,399,401,395,372,819,1418,1306,1148,1324,1052,1044,1110,1400,1392,1328,1336,919,819,849,731,1216,1804,1130,824,895,903,767,1156,1202,1154,1316,1048,492,421,656,584,540,706,937,1088,1126,1098,1060,1060,955,1194,1188,865,891,936,847,1012,1372,1378,952,1296,1454,1330,1244,1308,1384,1320,1208,1030,814,894,793,1082,1560,1372,953,1176,1382,1344,1096,1010,1136,1286,1248,1128,877,1034,1258,1116,987,950,976,1078,1130,924,639,857,1042,1130,1084,1148,1372,1338,1260,1470,1704,1664,1500,1830,1698,1478,1594,1588,1324,1300,762,530,751,688,565,448,316,307,290,302,446,612,457,403,372,320,402,469,449,372,366,452,783,971,618,590,943,1084,1136,804,498,438,416,419,372,347,428,626,855,1058,1170,1232,1168,1144,1116,1044,1062,1146,1140,1052,1016,928,806,737,858,976,1294,1282,1140,991,792,744,661,725,1062,879,765,1126,1382,1226,699,562,968,1260,933,932,1188,1288,1306,1326,1212,1306,1256,1094,1142,1278,1262,1154,1166,1100,1200,1604,1520,1118,932,1002,1132,1296,1114,1262,1046,665,519,572,919,1224,1180,1324,1238,1050,756,722,918,680,774,1186,1338,1130,1130,1116,935,1188,1086,780,755,945,1150,1520,1360,871,613,770,1372,1420,1260,1466,1222,589,321,263,278,266,296,351,427,513,479,375,385,402,393,390,383,413,669,597,439,409,388,360,353,337,348,434,471,527,505,424,375,420,601,726,779,644,475,571,658,625,584,392,453,1152,1108,1144,1372,1132,872,739,480,1044,1586,1422,1464,1310,705,568,1015,1578,1648,1028,672,985,1158,1028,1012,972,1056,1094,1394,1186,1034,985,966,1368,2502,1882,1140,1288,1116,937,862,921,769,632,800,843,1056,935,821,1016,1158,1134,1134,896,648,587,714,708,863,711,509,912,1388,1202,652,587,885,797,926,1042,1130,734,644,771,577,418,429,362,342,437,376,376,400,490,368,360,446,478,430,328,303,433,535,574,551,807,1002,558,598,682,909,991,799,542,355,274,383,709,1130,1462,723,399,306,336,344,344,349,354,361,352,298,246,250,250,294,269,228,246,286,331,327,317,477,837,979,1302,1564,1740,1836,2678,2078,1248,1036,1882,1806,1626,1742,1966,1918,1236,1290,1334,1606,2114,1468,636,400,389,362,339,346,338,348,337,325,320,333,482,993,757,454,871,841,499,515,821,925,754,671,796,786,618,999,685,427,452,395,455,509,536,512,422,379,387,389,360,413,459,490,517,495,470,473,402,406,484,524,720,426,271,355,642,1118,1314,1210,954,665,921,1078,1122,979,950,494,316,355,427,362,428,725,1062,1066,547,368,481,542,379,331,339,391,495,695,802,845,922,766,585,531,334,311,364,495,501,796,637,363,390,441,513,478,367,381,460,532,511,499,401,272,432,857,1032,861,611,610,661,705,696,481,360,390,603,926,825,495,813,910,641,1070,1013,546,581,832,746,1018,1120,910,672,866,1019,1030,1212,1358,1670,1023,747,623,1008,1236,1340,1070,930,1210,1138,827,849,1184,1318,1442,1410,1218,1350,1474,1152,1374,1648,1396,1066,1002,1214,1370,1356,1288,1156,1386,1530,1150,1044,1108,1092,1048,966,1012,1364,1152,1286,1362,1282,1114,1116,901,811,1126,1284,1148,1150,2210,2376,542,616,1084,1222,1040,678,502,505,412,395,463,554,556,542,535,367,306,293,281,283,314,335,338,325,303,300,295,294,306,312,312,291,272,284,300,348,702,1010,1009,1174,1272,1328,1100,1188,1266,1200,1318,1254,1272,1564,1740,1516,1318,1268,1102,1172,1180,1013,1186,1136,927,615,544,523,591,779,1040,1130,1036,858,568,458,478,532,507,420,488,473,420,450,357,260,240,321,629,726,822,783,1001,767,833,802,497,695,993,850,772,528,397,836,778,552,492,367,380,464,715,796,597,522,511,453,354,320,346,346,364,403,415,421,486,518,464,418,415,458,522,516,540,595,562,636,549,541,604,468,536,947,1374,1872,1876,828,441,314,264,271,296,300,303,295,275,273,260,260,285,304,325,297,325,341,348,359,366,359,353,351,350,350,347,345,341,354,340,339,348,348,340,346,342,328,343,346,336,342,345,357,363,355,343,337,339,352,349,332,342,342,334,317,317,321,321,312,301,306,296,278,283,287,285,273,281,286,278,277,279,287,289,287,288,286,296,314,302,330,346,354,372,381,387,402,424,419,395,389,391,388,399,456,441,433,409,389,394,398,406,419,417,409,422,422,411,407,404,404,403,394,422,425,408,402,407,416,408,405,397,385,391,397,392,378,380,371,365,368,371,372,350,350,346,348,354,348,336,346,354,354,339,354,360,360,351,347,347,344,360,363,340,357,360,357,350,344,342,342,342,340,339,336,342,343,338,336,336,339,343,332,325,330,348,329,328,319,317,317,312,308,309,309,310,306,305,313,324,324,330,329,335,354,403,427,439,435,471,457,370,312,275,269,205,210,205,211,224,196,201,195,174,190,228,215,211,192,203,221,191,207,244,250,277,296,300,311,318,320,336,428,485,505,508,485,452,470,443,397,387,392,403,403,377,356,338,334,327,323,324,324,325,321,317,317,313,312,312,312,309,306,306,305,305,311,311,301,299,298,296,296,299,299,300,306,312,307,299,299,299,299,299,299,299,299,299,299,296,295,299,299,292,291,292,292,296,302,306,306,307,309,306,301,300,293,293,295,289,288,292,300,299,293,293,294,296,288,293,292,294,298,301,300,306,309,309,315,319,312,311,319,327,306,312,319,315,315,314,329,333,324,324,332,329,319,338,325,338,326,321,326,328,327,328,332,334,350,346,339,331,328,321,320,317,307,301,302,301,298,285,277,283,301,298,294,289,284,290,299,297,290,279,279,285,285,282,282,282,282,283,277,273,276,285,283,279,294,289,294,288,281,284,288,288,288,286,284,276,267,265,261,258,281],[269,239,242,230,220,206,195,196,202,204,258,273,226,216,236,390,1196,1798,1500,851,444,429,462,768,1324,1554,1298,1156,1448,1334,1038,811,547,440,377,294,468,559,271,300,361,520,575,427,257,235,247,267,270,252,264,322,290,281,307,337,488,919,1180,719,376,399,401,443,424,369,478,611,883,777,611,731,1076,955,838,999,922,807,799,570,564,552,604,496,426,371,298,822,1128,830,836,930,854,861,869,1186,738,513,937,1000,683,690,865,750,543,429,429,602,788,681,947,515,335,401,412,618,766,755,639,958,1064,1104,1344,1364,785,459,780,1364,2030,1700,749,630,1078,1346,1282,1024,1172,914,747,943,1072,904,1314,1266,1156,1184,1050,722,487,615,792,1019,776,674,725,608,429,377,355,438,496,619,760,648,477,574,844,1060,876,915,547,373,402,335,306,362,426,423,420,771,1316,1488,1522,1738,1750,1534,1626,1804,1600,1502,1354,995,1108,933,845,877,813,720,658,546,529,686,702,946,1358,1284,737,1194,1484,880,653,631,647,666,742,938,721,381,222,275,335,245,269,361,624,757,749,542,547,1070,1216,998,1112,1174,1172,735,585,914,1090,1258,1180,869,513,278,268,295,294,437,555,562,397,329,321,359,393,383,350,386,373,368,404,483,539,393,389,434,373,332,381,370,383,401,460,465,618,990,1048,529,852,1360,1598,1772,1556,1250,1300,800,440,373,362,396,372,452,494,457,416,786,1178,785,423,518,582,780,1494,1634,813,968,1954,2858,1820,836,690,733,662,791,717,317,295,332,449,454,414,393,439,604,612,566,547,526,462,367,376,480,547,584,600,508,520,945,1530,1672,1382,828,689,1046,1338,597,485,496,762,1130,758,816,1186,925,731,955,985,988,961,1014,1240,1538,1388,1406,1432,964,1042,1356,1170,1100,1560,1508,1510,1464,1084,821,933,1146,1180,877,1028,1340,1324,1268,1154,1058,987,1234,1420,1234,842,1046,1420,1018,998,1500,1350,1202,1466,1390,1872,1928,1286,1248,1642,1498,736,837,1536,1306,1090,921,580,794,810,546,446,451,957,962,1272,1198,1134,1160,1126,974,882,783,440,488,988,1344,1450,1216,884,961,996,1015,1102,1224,1416,1074,559,504,708,1196,1134,618,524,885,1280,1432,1816,2128,1968,1366,829,599,834,962,1005,918,705,538,565,719,636,541,786,1044,1198,1206,1144,1516,1824,1824,1216,664,651,749,678,574,470,481,543,491,437,535,954,803,773,805,826,760,719,866,1002,1026,940,885,860,920,740,636,541,459,404,385,426,495,498,655,1003,1176,1522,1428,1072,1454,1366,1214,1268,1178,962,814,550,492,763,1656,2046,1524,852,679,808,864,875,869,925,1190,1106,534,752,906,733,783,567,547,888,1088,1316,1214,1060,1170,1210,989,875,955,863,905,851,1006,1058,1236,1392,1202,1134,1228,1178,1196,1404,1376,1026,592,914,830,780,1110,1116,1212,1542,1782,1666,1432,1216,1158,1378,1416,1220,1016,1094,1140,893,893,1004,1118,1122,1001,832,851,875,902,1144,1072,913,1410,1684,1746,1680,1850,1672,1472,1748,1682,1570,1726,1636,1754,2114,1368,750,832,777,414,259,247,277,327,317,399,420,416,403,412,473,487,491,505,408,426,505,764,1001,715,827,1430,1618,1672,1152,592,508,471,442,372,440,680,971,1102,1136,1036,1076,1174,1154,1023,850,785,871,1076,1064,1009,1066,1019,921,779,916,985,828,686,589,514,531,523,568,1064,901,733,1244,1556,1372,907,636,1130,1458,1194,1194,1332,1506,1244,915,775,1114,1152,1026,1212,1318,1100,1032,1232,1160,1186,905,1152,1114,1048,922,1150,1232,1184,1172,827,658,734,739,595,709,891,1238,1086,757,453,400,557,639,778,1042,1134,955,1112,1408,1246,1190,1316,1188,860,921,1154,1242,1020,770,527,688,1346,1023,1008,1336,916,535,345,277,292,276,283,346,383,387,397,354,427,391,417,383,393,489,891,861,494,395,387,370,350,338,404,498,557,611,610,518,433,434,599,782,812,678,429,438,498,447,465,509,678,1052,1024,1156,1196,879,794,1046,863,1722,1672,1444,1310,1266,720,495,815,1324,1750,1554,1144,951,1182,1318,1354,962,874,987,1128,997,1040,876,739,1362,1552,696,932,1232,1240,1092,986,819,816,1256,1136,1200,1416,1005,668,965,1372,1150,1062,950,874,603,544,534,480,486,434,673,1092,1196,836,576,641,878,1030,830,732,816,884,857,553,409,432,619,1152,1294,624,464,423,515,618,534,526,471,408,383,354,438,508,447,427,766,1002,687,704,763,691,655,700,540,545,447,479,719,1102,1522,985,526,361,367,357,339,339,346,328,308,296,269,251,243,275,281,236,237,264,287,321,371,681,915,955,2198,2334,1778,1582,2434,2438,1456,679,1442,2018,1880,1538,1440,1266,1194,1218,1450,1504,1470,1023,759,542,368,372,354,375,320,339,333,335,335,402,449,813,940,621,439,739,758,702,594,576,431,386,976,894,751,1242,991,482,417,411,547,628,622,495,402,373,413,401,405,499,492,441,437,427,371,357,392,392,257,246,601,537,419,388,478,880,1090,1038,912,951,1246,1152,1092,952,871,716,356,296,401,364,382,814,1304,1082,417,296,356,413,367,436,422,464,731,877,858,855,911,669,628,479,357,303,240,311,352,712,778,472,402,424,511,613,405,394,487,549,514,456,564,850,1084,1034,691,739,1300,1058,689,576,512,367,295,388,580,958,923,530,849,1104,1023,1044,797,608,612,641,1058,1001,945,957,731,701,708,916,1172,1084,975,948,698,827,1130,1268,1246,1030,1122,1244,1260,955,770,620,830,1007,858,1074,1318,1410,1192,1256,1538,1230,932,949,1116,1146,1440,1344,1294,1160,969,920,1122,1284,1160,1178,1164,1162,1332,827,894,865,1042,1086,1052,930,913,1156,1284,1308,1248,1270,1056,622,518,680,951,898,634,625,550,424,368,366,464,515,467,614,503,343,288,275,252,294,341,322,284,292,266,265,283,282,314,312,286,274,261,265,352,797,1046,789,1088,1464,1312,1306,1330,1116,1013,1108,1394,1394,1266,1220,1017,939,1160,1130,1086,1006,725,742,1038,885,473,459,559,611,642,598,492,619,474,373,401,644,797,570,279,430,472,362,327,343,380,857,610,695,622,750,738,894,921,755,469,519,1046,1594,1598,1614,1052,455,444,779,1074,1426,1010,394,266,365,649,855,640,577,442,340,303,330,346,364,362,343,350,443,551,493,447,460,557,652,481,479,467,408,442,478,533,595,480,1080,2118,1950,1494,1400,741,403,354,305,296,296,301,307,292,288,284,276,279,292,299,312,303,341,354,355,375,383,369,365,353,350,348,340,339,335,352,348,348,346,346,342,340,354,345,343,349,349,342,351,359,354,343,332,330,344,352,352,333,337,342,324,337,321,321,308,292,288,300,294,281,294,295,296,292,289,284,273,282,292,295,292,288,289,287,301,322,318,331,361,373,386,386,389,401,408,410,406,393,386,397,388,430,437,435,426,396,393,407,401,406,414,407,431,422,414,421,425,407,392,402,411,396,413,419,409,407,405,411,400,386,386,380,376,383,373,362,376,370,372,364,366,352,339,337,342,342,342,344,346,350,360,364,350,356,347,349,349,339,358,349,357,364,360,349,342,344,340,335,335,334,333,335,336,334,332,332,328,336,338,328,333,335,342,328,319,312,316,317,312,309,310,308,303,304,305,306,305,313,326,324,333,347,380,421,452,467,468,417,324,343,303,257,215,218,211,226,234,202,199,247,205,200,248,246,228,208,193,201,153,166,189,219,274,281,299,292,296,311,310,386,474,512,518,501,473,458,437,401,378,386,393,378,362,350,338,332,325,324,323,321,319,319,315,310,307,307,305,311,306,301,299,299,300,296,291,296,296,287,288,292,293,299,304,303,298,301,300,299,300,299,298,297,300,299,299,298,307,291,285,287,287,291,294,294,296,301,307,306,313,313,309,306,298,292,295,297,290,288,292,290,294,300,294,294,294,288,286,292,294,294,297,304,310,307,307,308,312,312,317,319,326,323,327,328,323,320,323,329,334,315,336,343,332,338,331,329,346,338,321,319,325,321,327,333,332,333,338,339,334,326,326,325,316,311,308,303,301,301,290,289,298,302,302,297,297,301,302,302,302,298,296,295,294,290,283,282,282,282,283,279,282,286,284,280,276,284,271,276,273,279,281,281,285,288,290,286,280,274,264,258,265,281],[337,298,283,233,220,219,205,206,222,235,222,192,204,219,234,315,926,1252,1148,964,601,603,739,843,1005,1654,1478,1324,1344,1276,1184,906,617,349,327,259,438,653,474,398,430,607,670,448,404,472,379,362,291,264,286,279,285,310,364,304,331,493,931,850,414,473,529,550,567,589,631,819,998,745,633,1011,1232,981,1074,1312,1074,963,910,597,569,684,666,554,525,464,694,1386,1576,1086,512,572,731,903,904,1582,1422,843,1034,1222,919,420,310,299,300,334,516,726,1064,631,686,702,455,436,633,781,833,577,333,551,868,1220,1154,1023,915,783,1260,1194,1268,1232,508,339,621,1009,1003,869,974,1010,959,1246,1278,1182,1242,1154,1328,1712,1328,806,559,681,872,748,560,487,534,462,398,395,391,528,539,610,644,583,1214,1004,888,1028,1158,1154,818,714,954,1002,702,527,356,311,422,672,1170,1456,1576,1722,1542,1344,1594,1604,1612,1696,1582,1406,938,785,949,980,844,791,698,584,553,772,1054,1030,963,634,467,865,1262,978,815,789,687,514,932,1410,899,650,511,301,238,195,239,228,326,437,506,688,939,951,1114,1148,1114,982,1106,941,785,946,1144,1102,849,736,697,477,325,314,293,362,466,562,369,315,325,339,341,330,335,341,357,401,437,474,534,408,332,292,235,408,504,439,415,468,614,898,1050,1334,1256,816,1132,1356,1454,1622,1408,1052,636,370,305,332,377,427,465,571,521,458,413,503,946,867,443,875,1534,1490,1954,1744,824,772,1308,983,758,807,741,595,553,762,824,411,285,294,365,301,303,372,476,678,748,656,543,446,372,355,401,513,544,740,875,694,758,1122,1010,1000,1086,1120,946,976,1236,662,491,507,656,1072,989,1056,1436,1282,1080,979,912,925,1014,1184,1208,1012,1074,1534,1334,791,1014,1474,1270,1066,1224,1566,1674,1538,753,977,1316,1438,1076,814,881,842,1206,1478,1534,1672,1504,2508,1818,1140,1150,1538,1396,759,1270,1748,1208,901,1316,1230,1384,1438,1212,1574,1958,1636,907,523,568,742,1124,1188,816,1034,1066,709,512,508,924,946,1028,1128,1238,1152,736,572,502,460,400,426,994,1476,1494,1272,1019,1007,1322,1528,1272,1130,1192,763,550,708,1132,1528,1050,700,922,1308,1272,1110,1666,2076,1620,1222,935,975,1038,882,815,758,624,622,764,998,999,1110,1386,1446,1390,1210,1138,1412,1490,1458,1116,717,561,484,476,461,458,426,442,412,462,435,727,743,663,715,827,837,863,909,897,802,751,839,805,716,513,424,432,450,427,409,556,846,907,689,616,1136,1544,1374,1258,1372,1170,815,999,1190,1074,826,775,684,971,1282,1584,1986,1242,636,595,791,968,1076,1142,1256,872,513,537,709,1052,1184,1058,825,567,662,1036,1094,1154,1152,1054,854,661,728,1038,777,476,568,965,1166,818,569,711,1084,1212,1458,1246,1216,985,574,560,765,1032,1124,1174,1078,1216,1716,1450,1404,937,777,1076,1106,1188,1148,1166,1064,842,925,1066,1178,1094,1090,1072,1200,1236,1144,1146,1072,1088,1474,1542,1348,1590,1888,1534,1632,1650,1632,1712,1718,1642,1504,1576,1384,1132,1234,1052,433,309,300,339,381,371,441,481,455,441,466,519,598,691,631,537,608,588,670,1012,806,839,1424,1664,1626,1274,620,494,454,490,528,754,1023,1106,1074,1040,834,904,1174,1176,1034,809,737,826,971,823,870,968,1048,1070,1078,1013,742,580,564,550,533,541,733,633,1060,974,706,1102,1440,1454,1044,558,896,1364,1194,1204,1236,1128,794,515,497,935,1102,1146,1284,1336,1460,1418,1432,1017,1092,1064,1224,1015,905,963,1222,1214,1226,1332,1122,1044,1005,940,706,797,880,1030,872,509,336,377,648,1118,1136,1011,827,658,1012,1716,1802,1290,1374,1516,1266,726,893,1422,1428,952,480,884,1226,771,1260,1300,822,545,344,277,289,291,270,344,405,343,373,405,446,503,495,413,387,533,904,881,494,414,395,399,377,360,415,501,512,600,685,615,516,479,664,781,783,647,454,554,537,551,574,653,1022,1200,907,929,698,636,636,910,984,1450,1240,1296,1354,1120,619,500,572,830,1382,1372,769,447,739,1184,1228,825,830,638,544,752,1142,1250,936,1016,968,645,871,1240,1372,839,724,971,1228,1298,1204,1130,908,719,659,896,974,922,1226,1052,896,814,850,739,663,706,545,641,849,951,775,668,881,1064,943,801,711,649,813,828,516,456,775,1260,1262,1060,816,547,407,484,659,612,480,405,388,401,379,389,448,467,547,863,1100,1114,1114,1004,830,1164,1460,719,847,486,675,1021,1422,1572,1230,683,410,376,378,361,337,342,332,329,308,272,230,254,274,284,255,248,278,291,339,492,837,1134,836,1532,2556,2292,1794,1998,2526,2164,775,814,1556,1936,1538,1450,841,1282,1438,1372,1362,1036,696,799,735,419,404,365,356,284,291,313,414,482,599,671,706,830,861,482,814,954,755,647,703,466,295,328,637,824,675,490,401,359,405,477,531,495,399,376,361,399,428,404,384,399,411,404,418,372,289,354,279,244,320,401,495,700,722,700,921,1160,1086,980,1200,1158,1242,1054,578,470,441,324,342,495,446,697,1144,1028,736,369,309,368,439,633,796,652,672,807,786,808,877,836,618,614,415,356,314,272,300,297,472,957,950,491,421,588,749,482,316,500,511,459,635,965,995,803,486,402,672,944,636,433,339,459,454,539,827,965,1158,925,779,995,882,1030,1216,1044,1080,838,588,855,987,1126,1122,846,760,783,1017,1166,1112,1252,1312,1104,1010,960,948,1058,1272,1306,1272,1454,1140,829,596,661,1110,1356,1214,1172,1296,1228,1158,1428,1202,1032,1238,1666,1372,1314,1232,1050,841,713,781,1078,1266,1274,1260,1052,839,1112,885,767,1256,1662,1460,1178,1088,1202,1250,1160,1524,1432,1302,1188,777,827,968,974,755,535,697,747,422,361,364,625,463,363,403,335,270,280,286,300,311,304,284,261,250,263,288,294,269,312,311,284,277,268,283,504,1280,1310,777,919,1368,1226,1328,1252,1224,1206,1108,939,1044,1218,1248,1028,974,1078,1166,865,927,772,770,1148,845,398,383,351,406,487,540,610,684,574,487,575,780,823,587,457,565,605,450,299,312,568,1066,635,467,474,625,659,680,855,813,474,704,903,1066,1562,1642,919,462,359,409,882,1534,1296,508,371,382,450,697,824,624,407,355,354,362,373,440,442,370,342,386,555,508,480,482,471,379,457,467,388,436,569,597,533,665,546,1478,2370,1708,1836,1888,836,343,342,302,283,277,297,301,281,287,290,290,281,291,312,304,317,326,329,351,380,390,378,361,357,360,350,339,335,336,335,339,342,341,341,342,336,349,349,342,342,343,342,341,343,355,363,349,342,369,362,343,334,327,328,332,326,323,321,318,308,300,300,302,286,281,279,289,289,288,290,287,289,297,294,293,286,282,299,308,304,318,314,349,373,383,386,396,412,404,393,407,399,404,426,409,419,437,446,437,411,404,411,399,398,409,404,421,425,437,429,403,394,386,396,406,400,419,422,402,392,402,411,403,392,380,377,388,380,376,378,368,366,366,360,348,337,332,332,337,344,340,334,339,348,347,350,342,342,347,347,349,347,351,340,336,346,351,348,348,348,342,336,330,328,323,326,328,330,332,333,332,330,336,332,336,336,330,328,326,314,312,316,307,312,316,309,305,304,305,304,310,312,321,329,326,343,389,423,447,463,472,365,292,362,354,259,208,247,238,204,218,231,223,233,167,191,216,226,257,228,195,190,176,170,178,222,287,285,281,275,278,304,300,348,457,514,509,501,477,455,436,400,367,372,385,372,364,354,338,329,325,321,317,318,318,318,311,312,305,299,299,302,304,300,299,300,298,294,300,298,296,294,289,297,306,300,311,310,312,325,307,298,296,299,292,293,294,299,300,303,299,292,298,294,297,298,297,294,301,300,306,312,314,315,305,309,302,288,301,303,298,288,282,289,307,296,296,294,294,294,288,285,298,293,294,302,312,307,307,307,314,317,319,319,322,329,334,332,332,327,329,329,356,350,336,329,338,343,338,346,346,337,331,328,316,322,332,332,334,322,333,331,313,314,313,308,315,313,302,295,294,298,304,299,297,306,307,301,291,288,289,303,324,314,296,289,288,289,284,282,283,283,279,276,288,288,266,282,284,285,291,277,271,285,285,285,288,288,296,288,281,271,259,261,267,273],[460,416,363,287,279,260,260,266,238,235,223,211,215,187,220,265,337,391,529,671,681,627,595,849,985,684,597,930,1012,1072,1078,1034,720,409,337,373,569,663,535,512,368,402,472,386,576,711,584,404,247,239,288,276,317,306,278,253,322,368,640,889,562,459,639,826,889,620,557,652,780,860,894,1180,1244,1114,1496,1642,727,792,1013,753,725,949,1288,1484,1010,537,632,976,1024,869,601,872,1032,1060,1150,1252,977,1102,1320,1180,904,405,452,486,579,696,629,498,550,318,530,839,612,378,419,392,339,271,311,493,622,1009,854,482,510,577,669,488,361,297,218,263,404,982,1032,1034,979,1294,1354,1178,1158,1254,1184,1220,1396,1654,1258,951,796,721,745,547,392,385,398,386,459,478,409,539,585,625,741,1120,1522,1350,1172,1250,1460,1502,1440,1406,1322,1062,1094,1108,817,668,647,697,959,1284,1518,1636,1458,1244,1116,1100,1294,1282,1428,1870,1446,905,934,983,882,753,738,606,473,541,713,832,916,679,494,572,910,924,950,891,644,507,647,716,800,668,429,532,448,299,390,411,332,475,465,441,617,1074,1280,1156,938,727,866,1050,1034,1246,1294,863,739,688,989,832,710,452,398,354,563,558,365,330,341,372,364,375,351,324,358,395,491,391,314,339,365,321,265,550,1058,937,505,667,957,1578,1378,1322,1086,921,780,702,957,1290,1180,820,513,354,343,448,440,436,571,693,595,483,490,496,695,935,905,1148,1482,1252,1104,1024,781,686,769,899,1052,1124,1344,727,513,850,1138,907,442,306,332,260,277,426,580,761,937,739,536,344,538,524,448,491,437,719,951,698,593,650,877,1212,1014,1258,1462,1112,1542,1196,864,985,1028,1472,1540,1180,997,1015,1019,1015,969,1108,1068,801,601,532,973,1462,1130,779,661,1007,1038,773,836,1442,1516,1204,769,726,1152,1446,1216,1472,1488,1040,1432,1450,1234,1590,1266,1434,1522,1426,1410,1470,1064,644,1172,1334,932,969,1362,1530,1310,1148,1136,1360,1438,1350,1098,615,648,1054,1366,1732,1296,1136,902,521,404,520,600,641,975,1266,1516,1180,593,423,448,365,378,422,816,1280,1302,1164,945,955,1208,1544,1300,1110,1084,661,353,501,940,1440,1126,528,819,1114,1100,973,1372,1504,998,969,877,849,877,749,680,639,663,799,1015,1242,1178,1216,1302,1244,1142,797,644,791,834,673,472,422,409,363,391,415,405,370,369,413,485,472,613,882,952,844,807,698,738,782,772,782,803,678,547,473,450,438,473,498,483,618,847,1126,1096,630,656,1420,1382,1200,1374,1284,893,656,983,1426,1188,732,973,881,1152,1236,1594,1946,1186,561,624,643,706,971,1210,1112,582,473,419,597,800,901,966,991,940,534,578,781,1054,1132,1166,971,857,974,1130,781,584,762,1080,1260,1028,662,702,922,1014,1262,1112,1144,1034,747,636,1052,1396,1450,1368,1146,1412,1580,1260,1312,952,690,874,1072,1248,1136,967,899,970,1106,1262,1236,976,1018,1158,1270,1390,1366,1424,1410,1384,1528,1328,1268,1500,1466,1422,1126,1306,1754,1798,1586,1544,1736,1844,1492,969,851,733,452,347,334,323,357,393,475,533,455,434,463,519,615,808,739,710,537,560,613,894,888,798,1246,1524,1444,1238,663,440,426,592,861,1018,1046,965,861,700,651,868,1026,980,974,904,784,840,1056,1009,895,911,1044,1126,1116,1124,956,682,580,553,567,507,700,668,1068,1128,692,821,1236,1378,1082,763,1088,1274,1194,1322,1450,914,694,676,710,1086,1312,1356,1382,1254,1476,1500,1454,1242,1362,1392,1302,958,785,720,940,1208,1490,1356,1122,999,930,918,1280,1084,715,967,1012,665,447,473,573,725,1138,1486,1450,1134,764,1392,1548,1422,1482,1666,1538,877,914,1498,1554,1488,971,1262,897,893,1414,1080,614,378,262,265,280,289,282,371,429,326,345,455,495,524,495,561,744,819,860,775,473,435,376,381,394,392,343,414,521,633,670,570,518,494,724,717,713,631,537,568,552,584,608,689,988,996,980,1262,840,1062,1122,690,488,507,792,1138,1288,971,418,386,430,588,839,774,473,420,465,908,1174,895,661,562,350,351,741,1332,938,688,614,597,1130,1344,1250,966,884,1100,1122,1188,1312,990,763,677,721,1144,1070,843,836,767,951,1144,1098,1016,814,673,584,636,810,747,645,766,1013,915,702,709,634,407,446,480,421,412,1034,1284,837,684,721,589,536,644,508,413,560,618,458,401,422,433,384,453,746,1009,1102,1004,969,932,943,1015,948,638,716,460,437,945,1134,1306,1384,880,444,368,370,349,332,336,327,315,286,276,252,288,315,295,274,268,301,324,473,809,1086,1374,1230,1044,2104,2500,1978,1842,2160,2374,1432,897,1376,1312,833,1152,1160,1430,1470,1340,1368,1382,936,852,1009,799,706,454,363,342,389,618,716,668,641,579,540,639,1028,682,518,601,614,783,810,493,346,390,643,856,636,480,418,342,332,350,375,382,424,456,420,443,483,469,417,379,363,391,420,396,342,323,266,310,434,420,442,483,539,604,775,1038,1108,1272,1278,1352,1268,728,477,423,372,343,428,739,507,371,473,425,381,305,315,358,378,505,651,708,780,803,836,747,744,661,680,544,377,375,346,305,217,249,368,654,525,410,373,609,811,591,357,498,711,752,974,968,579,476,435,423,485,509,511,404,439,677,738,995,1290,1136,1126,1030,1144,1036,765,1036,1338,1222,1064,780,827,1096,1178,1274,861,831,820,1005,1164,1182,1146,1298,1268,1128,1072,1064,850,1021,1382,1418,1278,1328,1258,1136,936,808,908,924,945,897,716,708,787,791,713,717,1158,1656,1434,1054,822,840,931,786,590,844,1248,1428,1488,1362,1058,1288,1200,1232,1886,2138,1524,1092,1164,1484,1460,1924,2140,1484,1240,1144,873,970,1126,1192,1208,1112,1318,1346,683,564,564,564,481,357,282,270,280,283,254,277,289,289,263,265,266,278,296,288,260,271,277,287,281,263,289,635,1312,1052,625,558,731,1094,1260,1306,1394,1478,1428,982,1102,1148,1356,1130,963,1202,1346,1148,1110,833,1004,1510,1570,488,397,339,346,376,397,579,609,595,644,770,745,576,524,519,692,882,965,611,463,893,1174,1144,703,440,634,746,686,806,890,665,525,580,835,926,789,541,476,405,346,534,849,796,550,557,587,820,555,826,912,685,449,446,479,475,502,432,364,348,378,568,567,427,358,426,480,467,430,420,657,948,935,624,677,651,908,1324,932,787,671,509,415,355,317,289,261,282,296,287,294,295,303,288,288,310,328,339,319,315,337,375,390,393,378,372,367,356,352,344,328,326,336,341,340,343,342,346,357,351,348,349,345,343,342,340,345,349,342,355,372,361,341,334,336,338,334,328,323,312,306,299,302,303,285,292,289,289,285,291,300,294,291,277,281,282,286,294,295,311,304,313,326,328,336,350,379,386,391,404,389,375,393,386,397,425,426,426,428,431,426,409,397,398,390,399,413,398,415,429,427,416,409,400,397,400,405,398,401,411,406,392,394,397,391,401,384,362,382,372,368,366,348,354,354,358,342,330,325,332,347,350,333,324,336,342,346,347,346,342,342,339,339,339,335,336,342,343,349,349,333,336,343,334,323,322,328,341,348,347,338,332,330,330,335,335,335,341,342,342,335,320,320,325,303,313,308,305,304,304,305,304,307,317,331,333,323,336,375,409,444,456,462,368,303,346,357,285,272,268,190,192,211,228,227,225,198,201,204,256,263,203,188,192,184,174,176,191,240,259,263,271,277,284,292,328,429,519,518,514,479,469,448,391,366,366,367,364,360,348,336,329,323,317,317,315,314,312,311,310,310,315,312,299,293,296,300,299,298,298,299,305,318,309,298,301,312,303,306,314,309,316,301,299,293,293,293,292,291,297,303,312,303,298,292,295,301,300,300,300,300,300,305,311,315,312,300,305,311,302,311,307,301,288,295,302,288,298,307,296,293,298,296,285,302,293,294,299,300,306,314,308,314,316,322,326,326,327,333,336,339,336,333,336,348,333,320,321,344,348,332,346,346,346,346,350,331,336,339,334,332,322,325,332,326,324,322,325,320,314,306,296,295,293,306,304,296,309,310,306,299,295,304,313,309,303,296,296,291,288,286,282,280,282,282,276,274,282,267,272,284,282,289,285,284,285,277,271,276,280,290,283,283,277,271,273,276,281],[641,619,408,367,439,366,310,280,292,307,343,357,360,350,341,329,371,588,722,968,972,728,640,821,835,744,718,704,799,944,1264,1208,811,690,615,519,666,694,513,358,248,246,351,498,571,563,877,614,294,225,248,268,279,273,276,308,369,297,403,822,832,622,769,1060,880,556,517,460,646,957,1124,1134,951,864,1134,1044,601,984,1072,965,1084,1232,1772,1730,1028,604,447,550,669,979,952,1086,1556,1616,1334,985,706,931,1056,686,567,509,736,763,1152,1328,950,690,525,347,363,413,381,335,419,912,495,350,379,799,848,1280,1186,564,327,400,268,132,213,231,244,289,298,810,1180,1004,998,1086,1130,1204,1216,1394,1374,1144,1226,1252,852,1112,1324,962,886,861,478,415,395,386,370,366,704,682,615,731,850,1440,1676,1494,1444,1348,1004,1038,1196,1230,1052,886,1182,1186,860,828,1066,1090,1310,1548,1570,1520,1522,1344,1066,832,1122,1106,1130,1280,893,543,649,881,860,719,818,582,397,456,502,781,1086,1116,736,695,1078,1400,1564,1015,521,501,620,582,621,526,381,636,781,608,526,416,402,569,672,701,717,1052,1058,1002,743,611,813,947,969,1282,1356,1082,1232,997,1146,906,1076,933,717,578,651,533,392,359,349,406,404,448,394,368,392,389,466,402,269,300,370,421,384,540,841,686,579,1066,1412,1610,1206,832,902,1005,866,519,639,1128,1054,1140,893,491,441,474,492,492,561,689,633,501,537,495,439,630,1114,1260,1260,1552,1552,1618,1418,1001,832,838,1134,1418,1764,1112,808,1042,1134,886,519,368,282,266,355,425,624,1040,1132,684,616,538,619,546,430,502,570,652,670,581,549,688,1286,1262,727,1005,1376,1524,1820,1492,1348,1366,1402,1782,1666,1196,1060,657,555,670,678,1016,791,443,382,654,1490,1756,1376,1510,1011,709,977,1026,948,1270,1222,863,706,590,974,1250,890,945,1118,1226,1376,1132,1094,1110,740,862,1144,1278,1526,1592,1402,784,1170,1356,1672,1692,1626,1592,1526,1922,2050,1562,1182,1310,1282,738,667,774,1126,1716,1252,999,987,630,368,352,383,655,1164,1408,1488,1218,626,592,781,508,376,361,555,764,896,1234,995,802,979,1370,1264,1134,1058,576,372,498,632,1228,1282,554,755,882,1158,1046,979,892,741,603,567,501,622,849,719,647,580,601,685,714,787,882,935,885,964,927,635,554,492,378,415,503,425,399,394,394,374,396,473,517,565,607,656,847,1082,847,821,684,709,799,786,703,714,890,832,473,489,468,521,534,673,832,1152,1148,893,836,1290,1310,959,951,1146,1310,1252,1050,915,1124,1404,1250,1202,1054,1328,1192,1252,1460,823,642,745,547,544,659,888,650,523,404,379,534,480,462,626,843,1120,630,671,691,818,1220,1418,1528,1324,1072,1018,789,929,1210,1152,1134,1180,976,870,882,782,904,1021,1042,910,809,1001,1212,1448,1396,1274,1394,1400,1246,1054,1005,696,623,924,1244,1216,841,1005,923,860,958,1176,1162,729,622,907,1174,1350,1384,1382,1228,1296,1318,1370,1346,1218,1208,1256,925,1436,1920,1648,1394,1482,1592,1594,1194,684,600,608,521,423,384,388,386,408,408,381,398,475,494,511,544,618,588,587,522,545,543,869,1002,763,891,1044,927,771,531,412,520,810,984,967,852,807,862,806,739,666,543,470,433,469,604,667,606,610,774,837,1001,1134,1208,1202,1096,922,664,564,578,485,634,642,859,1158,710,630,960,1148,1094,1224,1432,1432,2024,1988,1162,772,969,998,1128,1118,1114,1284,1330,1190,1216,1378,1408,1428,1432,1488,1372,1158,1126,1142,1360,1308,1500,1412,1316,1362,1202,945,1328,1174,576,651,810,894,836,695,532,622,864,919,1258,1362,1084,1134,1072,955,1244,1474,1440,1384,1264,1508,1338,1498,1272,955,579,948,1058,680,402,234,255,280,257,272,288,324,362,312,313,412,448,461,515,803,1144,1048,1002,835,497,433,371,382,509,561,598,664,626,598,670,642,580,446,562,604,608,602,673,604,525,636,591,797,1214,1014,1428,1404,1322,1536,1488,1090,745,624,984,1378,1230,788,316,404,611,642,471,347,365,371,342,572,946,1088,780,716,844,791,450,645,700,555,536,648,1023,1096,963,804,816,816,702,669,566,702,756,913,1324,1496,1310,988,822,842,1138,1370,1384,704,494,401,486,566,652,592,525,841,1062,854,608,567,547,348,335,352,379,405,460,494,519,537,628,617,594,705,536,543,636,616,474,454,496,642,739,704,695,781,876,932,897,709,866,1174,786,569,466,375,439,652,670,1056,1410,1074,542,406,369,326,309,307,307,301,295,295,276,274,300,300,277,247,362,704,1034,1150,1194,1326,1446,1088,1360,2294,2510,1750,1744,1656,1948,1490,1014,608,720,1296,1552,1546,1242,1230,1282,1490,1252,943,971,1015,1009,664,442,485,755,922,830,706,610,613,683,689,843,904,512,391,658,658,594,613,526,346,383,459,534,534,373,322,347,372,378,410,456,435,435,462,473,571,488,368,333,353,390,412,377,330,290,400,599,555,626,531,547,423,564,758,946,1048,1164,1324,1042,714,656,438,396,368,304,555,618,457,354,379,383,384,370,312,247,423,716,830,791,795,653,386,459,632,576,372,389,404,368,343,323,252,283,289,316,375,322,437,796,952,775,816,809,648,765,589,339,350,415,411,450,464,353,316,466,642,748,1034,828,614,549,566,869,963,797,971,1124,893,753,623,958,1658,1288,1052,922,796,976,1072,1202,1394,1418,1228,975,783,921,1176,1188,966,1340,1542,1266,1238,1300,1220,1182,1124,1001,1266,1272,678,289,271,310,463,707,741,897,1082,905,834,931,1022,1156,1062,598,687,958,1146,1272,1228,1038,1046,1080,1204,1510,1622,1220,894,1050,1334,1540,1910,1810,1456,1236,1246,1114,1114,1418,1742,1654,1526,1250,1256,1184,1094,841,526,376,305,286,307,294,274,241,254,246,279,283,266,238,253,284,263,264,270,272,264,268,272,298,570,472,585,688,744,816,794,877,1310,1338,1370,1270,984,813,1230,1400,1290,1228,1450,1454,1448,1438,1282,1444,1966,2276,742,415,389,346,356,371,386,427,541,620,636,659,533,532,596,823,1300,1848,1312,629,894,1300,1001,653,619,475,638,678,612,644,727,647,528,462,465,458,535,549,485,428,896,801,540,563,583,615,614,551,572,733,974,795,618,522,515,449,389,370,349,326,423,453,333,264,355,415,440,462,454,763,1052,960,636,641,878,916,877,831,652,561,539,419,380,328,276,265,267,277,296,301,292,298,301,296,293,346,536,621,413,343,359,388,403,388,385,376,356,354,344,331,348,341,329,346,343,342,358,357,346,343,340,343,343,353,347,342,349,352,364,372,366,349,348,346,337,331,331,319,312,311,306,303,292,291,290,278,283,278,278,281,281,291,295,304,290,279,294,298,308,314,319,325,326,319,335,385,393,401,399,382,379,388,379,382,389,397,420,443,441,438,433,415,407,396,414,417,402,416,434,421,415,392,372,390,409,396,385,394,408,405,400,397,392,397,387,368,366,364,359,356,371,364,358,359,342,332,340,330,334,335,327,322,321,329,334,339,346,350,349,346,339,336,337,340,335,332,339,343,344,328,330,339,333,326,325,330,335,332,328,330,336,332,328,330,328,330,330,330,326,322,320,322,321,304,320,303,296,297,300,304,309,312,319,324,329,322,330,359,391,431,433,467,406,318,329,357,346,328,323,266,221,228,233,226,216,200,212,233,280,255,205,188,189,188,190,196,227,272,256,266,284,275,275,280,296,374,501,513,497,455,465,457,391,360,362,367,372,358,346,335,325,318,312,309,308,307,306,305,305,304,301,297,289,287,295,299,293,292,288,285,291,296,297,298,301,308,303,303,303,307,305,299,297,293,293,293,287,288,300,307,302,310,307,292,294,300,300,300,300,300,300,302,307,305,303,305,305,306,306,311,309,299,282,293,292,281,297,292,294,294,294,293,289,297,294,294,294,294,299,303,317,320,312,325,326,326,326,331,343,346,350,336,346,358,350,338,321,334,333,333,337,333,334,333,325,334,336,337,338,331,325,326,326,326,326,327,321,320,315,310,303,298,293,301,309,304,308,324,310,301,306,315,310,306,307,296,294,294,293,288,289,284,285,276,288,289,279,279,279,276,277,273,257,277,279,284,284,282,283,294,295,283,271,267,269,279,288],[720,749,452,455,642,592,462,456,496,601,847,1030,984,932,946,819,749,1018,1230,1344,1294,996,764,496,394,526,539,661,1162,1322,1472,1460,1412,1024,619,834,1048,857,540,306,161,273,846,974,468,284,575,421,253,230,236,246,249,271,329,377,351,325,413,725,1088,1100,1180,1058,534,449,608,615,696,973,1330,861,659,758,763,558,578,1126,933,472,647,1096,1484,1058,659,525,465,633,1196,1816,1610,1170,1158,1350,1348,1210,809,1106,1060,613,489,373,452,789,1142,1102,799,620,589,524,439,428,322,366,826,976,556,425,379,885,1334,1248,929,609,312,321,237,206,262,260,270,296,307,575,667,648,679,890,1206,1044,1222,1448,1420,1144,1054,1012,890,1026,1108,984,1094,1098,872,523,410,412,404,529,1246,1448,1066,785,870,1232,1482,1286,1300,1312,982,672,538,545,489,468,823,1008,836,1144,1346,1334,1576,1688,1520,1318,1384,1498,1416,1146,1242,1168,1090,977,752,583,770,1142,947,925,792,586,602,711,900,1078,1256,1448,1152,950,1244,1414,1146,606,439,572,749,604,422,364,362,691,994,814,506,339,472,840,1050,1208,1338,930,855,1126,905,660,860,866,874,1274,1312,1314,1318,1246,1176,772,754,794,923,1018,885,616,484,495,405,408,375,390,378,378,408,386,428,420,316,260,322,492,452,461,391,431,473,807,1260,1688,1490,897,696,733,704,789,1310,1664,1374,1050,941,571,478,626,674,541,491,543,488,621,666,547,443,466,680,1082,1220,1134,1154,1658,1488,813,540,609,888,1390,1426,921,1019,1196,1126,811,605,691,643,374,359,327,485,769,616,446,570,563,485,491,505,635,794,525,444,480,618,963,1004,741,907,1272,1502,1560,1400,1520,1522,1626,1336,1432,1290,867,937,607,312,354,718,788,458,413,490,1080,1962,1866,1572,1836,1766,984,1126,1146,1112,1394,1154,1064,1078,1150,1566,1374,927,730,684,932,907,1176,1588,1162,779,907,986,1278,1450,1456,836,659,688,995,1316,1086,1312,1532,1386,1622,2006,1754,1306,1492,1488,984,666,837,1310,1368,894,715,641,385,274,313,360,647,1178,1250,1262,1168,932,1410,1380,678,451,350,385,638,999,1224,1100,1146,1434,1676,1470,1248,1088,640,442,435,537,1224,1260,870,948,954,927,990,982,813,593,565,657,657,707,737,532,588,662,753,604,451,473,619,826,778,713,604,492,500,458,345,427,531,566,523,450,387,345,418,541,618,702,619,628,953,1136,858,866,772,634,628,632,561,709,1300,1362,629,494,469,473,548,846,1106,1282,999,688,1094,1298,882,777,672,782,909,1232,1456,1192,1136,1394,1476,1250,1020,922,1050,1332,1494,1128,804,781,571,520,591,523,467,441,397,487,597,691,590,488,597,670,465,734,959,777,673,884,1248,1290,1252,1088,786,1192,1490,1332,993,833,1050,1162,979,825,1050,1186,915,531,602,878,1252,1358,1286,1226,1092,1138,913,748,808,806,993,950,1118,1136,932,1122,1072,1132,1294,1258,1036,691,469,681,1026,1228,1298,1262,1126,1218,1126,1058,1130,1090,1374,1182,994,1644,1644,1344,1376,1504,1364,1276,810,604,584,498,468,408,390,379,330,429,379,385,471,550,558,608,621,489,442,523,585,463,474,894,1042,753,497,455,456,441,413,477,739,991,1036,865,700,640,518,361,359,589,861,1092,1190,1250,1186,1096,1100,1094,882,769,833,996,1156,1152,1120,1124,885,656,571,511,588,626,744,1166,771,686,610,929,1064,1238,1606,2130,2380,1688,763,661,960,1122,1090,1058,1280,1394,1178,1274,1494,1524,1550,1482,1346,1374,1510,1314,1166,1250,1346,1172,1226,1284,1198,1270,1200,836,776,848,725,555,792,1604,1606,1042,564,764,1206,1005,917,977,877,1164,958,555,614,843,1220,1078,825,897,1224,1236,1088,799,510,810,782,610,355,250,255,282,277,283,295,260,263,266,360,444,427,494,616,968,1192,854,665,555,438,560,612,469,720,916,1052,1050,864,626,610,594,414,446,750,828,679,692,823,854,838,861,776,866,1184,1023,1360,1712,1432,1268,1340,1472,1454,1144,1178,1516,1270,636,378,508,644,703,747,763,601,610,506,626,996,1312,767,624,1042,829,610,890,946,649,568,648,623,613,605,591,694,812,918,749,510,507,656,1128,1356,1414,1496,1234,893,874,1046,1064,968,672,529,577,711,622,734,725,593,841,1058,951,991,608,428,293,324,381,390,455,498,471,451,600,932,941,816,815,616,526,451,353,334,417,499,803,937,536,529,497,826,1226,1062,745,1016,1264,760,614,599,469,538,578,671,1003,1402,1310,717,421,347,320,316,309,298,292,303,311,272,238,240,254,247,286,635,1126,1306,1232,1198,1198,1246,1346,1242,1680,2514,1576,1604,1396,1158,792,729,683,1460,1902,1340,1484,971,1348,2024,1504,1438,1126,897,952,972,836,686,737,964,879,641,580,600,773,736,731,841,1024,786,456,361,494,905,981,766,366,371,673,1032,672,379,325,318,387,475,464,471,453,359,337,393,502,454,379,355,372,392,390,372,360,383,486,849,1000,1180,1112,950,701,481,675,930,930,1110,979,796,1017,1110,650,447,427,358,336,394,345,336,374,432,456,428,397,375,526,530,580,749,843,628,406,539,775,659,397,365,362,304,322,343,299,346,344,355,337,283,397,730,1100,1010,747,488,364,450,447,489,518,568,608,605,498,426,309,455,418,594,1024,612,306,314,619,1206,1268,767,542,539,672,843,997,948,1300,1214,1122,1052,1126,1288,1336,1390,1380,1466,1378,1046,957,1058,1040,1386,1174,1150,1376,1456,1606,1848,1388,887,882,835,719,620,505,347,249,241,401,854,1003,692,568,498,1032,1766,1126,1186,1116,639,486,387,525,952,1030,1058,1138,1032,1178,1260,1128,885,813,921,1250,1444,1036,1112,1250,1216,1210,1276,1250,1462,1758,1664,1536,1258,1304,1468,1374,907,465,458,404,319,294,270,278,283,268,241,241,273,285,275,290,290,246,263,263,255,252,231,267,267,312,309,469,672,595,387,391,778,1354,1262,1074,952,968,1026,1278,1270,1046,1144,1360,1378,1442,1220,1042,1284,1742,1550,687,413,411,395,387,420,439,390,434,504,797,1092,861,594,673,989,1490,1904,1620,624,543,689,462,498,785,575,614,704,879,708,522,678,736,431,283,457,600,587,538,1182,2066,1280,627,574,686,760,524,382,324,425,611,733,813,727,612,434,391,344,326,325,377,478,421,315,304,367,584,512,373,605,755,474,415,604,880,1050,998,1006,794,543,417,357,339,313,276,265,262,268,285,293,283,281,293,301,295,314,568,571,460,397,353,373,396,395,388,377,359,347,341,332,341,342,339,352,344,338,346,346,345,346,341,355,353,354,353,361,347,358,358,364,375,355,337,337,332,331,331,307,310,316,299,288,283,295,298,283,275,267,281,281,276,286,292,297,287,282,293,288,291,305,313,311,318,333,350,373,375,393,387,367,379,379,382,384,375,382,419,454,446,437,419,419,411,394,404,417,411,416,434,427,419,405,394,383,402,405,405,402,394,392,391,386,398,402,384,373,348,354,352,350,360,352,346,348,346,346,332,334,332,330,329,332,328,327,332,337,342,342,340,342,344,346,346,342,336,330,346,347,343,335,330,333,334,328,328,323,330,333,336,343,343,323,322,330,330,335,332,335,330,330,326,329,320,307,321,309,300,309,309,303,318,316,317,324,326,328,328,348,375,407,413,450,439,359,316,312,335,332,318,249,233,241,234,231,215,200,213,252,303,292,262,223,219,245,288,240,250,268,253,273,276,266,261,261,301,372,480,494,478,442,440,440,397,365,354,340,360,343,342,337,329,314,312,307,301,300,299,297,299,301,310,291,294,296,287,293,293,292,293,298,299,300,300,299,299,299,299,305,298,299,299,298,293,292,293,291,287,289,287,287,288,314,303,292,298,301,300,298,300,300,300,301,309,314,319,312,306,307,300,300,300,293,282,288,285,276,292,294,294,294,294,294,294,294,294,293,297,303,304,306,307,307,322,327,332,327,327,333,344,344,351,340,329,337,333,336,333,337,320,337,334,331,332,333,333,329,328,336,338,329,324,327,326,326,326,327,322,320,318,310,304,299,294,298,308,319,308,325,321,312,312,320,312,309,318,298,299,298,295,288,288,288,295,279,285,290,283,280,273,290,282,273,284,289,295,295,286,280,289,294,290,281,273,269,271,277,282],[672,752,498,415,648,646,436,516,678,758,1050,1376,1434,1368,1294,1286,1402,1332,1368,1252,961,842,755,486,412,572,688,869,1572,1702,1422,1344,1592,1382,966,1078,1418,1256,667,354,260,429,894,1188,675,263,260,224,210,217,222,235,277,310,386,320,273,274,477,563,818,1152,1200,691,385,521,626,659,994,1404,1300,696,521,822,771,434,512,763,593,370,425,584,850,655,487,459,313,382,985,1522,1424,1002,833,1378,1504,1280,789,1108,819,507,477,428,439,535,573,534,409,409,426,509,483,342,357,641,1300,1056,803,774,472,649,742,783,667,423,227,236,206,198,247,289,348,346,494,739,679,727,563,705,631,725,1102,1330,1278,1172,972,965,1021,894,732,819,944,1030,1288,816,487,434,369,649,1198,1568,1222,788,924,1100,1402,1334,1074,991,1142,803,595,492,513,556,594,745,1080,1250,1116,1304,1592,1690,1360,1190,1274,1484,1578,1592,1238,1042,1156,1040,896,596,901,1292,1132,991,832,608,476,742,1340,1306,1268,1466,1412,1242,1176,1562,1034,609,527,576,1090,1024,463,583,829,858,1080,866,810,773,1015,1440,1542,1372,981,792,1172,1586,1392,1090,1104,929,832,983,1078,960,996,1004,1005,952,830,929,1206,1120,1288,1110,858,802,563,396,420,713,634,375,395,357,393,466,431,367,450,487,359,346,384,454,381,399,865,1798,2218,1354,841,622,787,1208,1656,1504,1292,1188,832,631,696,726,709,564,442,475,582,653,725,649,556,524,411,701,1186,1100,893,1190,1094,933,787,633,608,1212,1042,539,731,1058,1208,1180,1078,1232,1180,502,411,404,525,444,367,398,519,698,737,591,579,502,487,378,531,673,1326,1728,1248,1030,1288,1230,1384,1512,1636,1884,1820,1288,1050,1198,1268,1208,1148,693,386,332,425,492,545,484,549,1118,1578,1536,1554,1932,1816,1304,1124,1168,1428,1218,997,1248,998,1350,1674,1400,1202,936,968,927,756,1220,1718,1434,1324,990,1164,1560,1622,1270,871,752,675,792,914,818,714,973,1224,1402,1960,1834,1284,1202,1258,1560,1338,1084,1258,1062,940,978,841,500,333,354,467,960,1150,1198,1372,1302,1328,1592,1360,673,455,379,450,818,1194,1450,1272,1238,1672,1528,1130,1536,1526,759,599,574,677,1298,1060,902,940,729,551,582,594,581,606,703,677,653,601,608,662,769,809,846,790,651,612,757,826,659,596,611,573,539,450,350,403,430,507,492,433,402,398,512,658,711,679,563,793,1096,1334,1170,865,666,590,469,407,510,708,1122,1001,758,570,498,477,556,655,896,1148,974,760,796,758,434,365,563,1024,848,902,1202,1232,1048,1142,1172,1017,948,922,1428,1542,1504,1238,1588,1700,1052,576,453,412,445,424,473,666,801,897,749,488,529,697,590,539,538,452,401,464,742,1188,1536,1266,910,850,1054,1468,1332,1126,1202,1266,1316,929,1002,1168,1216,921,791,915,1410,1168,1194,1036,780,826,612,595,821,1144,1266,983,888,1086,1196,1320,1312,1554,1550,1098,785,744,622,1096,1132,1070,1278,1026,879,1010,964,952,1132,1282,1454,1068,991,1438,1490,1512,1632,1664,1476,1276,834,584,554,528,457,371,364,416,411,448,393,449,477,488,546,542,476,449,468,555,550,419,467,822,1013,793,484,405,392,414,462,651,970,1072,1046,830,651,416,475,799,1136,1300,1282,1174,1096,1144,1244,1230,1162,1202,1288,1266,1108,969,899,869,978,1122,1032,835,569,547,580,547,859,1280,886,678,521,1026,1284,1286,1556,1598,1400,1146,563,584,984,1100,1202,1206,1456,1498,1176,1142,1296,1454,1524,1312,1034,1026,1246,1262,1192,1280,1366,1374,1314,1290,1406,1502,1266,847,897,967,858,824,1330,1736,1286,891,622,600,1038,1252,916,809,1005,1130,986,1100,655,491,486,622,778,969,1166,1102,1208,1078,847,1072,1040,700,415,316,276,260,301,323,270,241,236,273,407,394,408,515,760,1284,1312,870,551,512,503,711,957,996,1708,1588,1686,1692,1202,840,596,400,300,700,1324,1406,1190,1076,955,1134,985,863,862,843,689,1164,2310,2164,1230,1094,1412,1672,2010,1598,1290,1198,1036,558,437,581,830,957,1184,1144,889,890,661,760,1178,1354,714,506,661,708,812,1256,1404,870,749,890,674,626,623,630,841,1096,1304,1080,653,414,735,1388,1256,1028,1840,1472,1092,1096,1116,1110,865,739,669,922,1296,1214,832,816,844,970,830,845,927,542,411,348,311,381,440,454,452,455,397,573,933,1014,890,817,630,485,412,279,250,286,401,816,954,721,634,513,742,844,932,958,1142,1050,725,766,1090,1042,506,438,709,744,1190,1486,919,420,329,313,321,290,277,274,273,267,237,249,253,262,275,539,1038,1264,1278,1264,1258,1230,1212,1362,1360,1576,2586,1942,1532,1392,946,1306,1556,727,1056,1952,1968,1542,1238,1450,1614,1494,1598,1360,1010,912,1015,872,737,737,745,635,766,755,736,677,686,1170,1316,1072,938,746,521,835,1050,822,482,442,397,559,698,600,428,300,302,367,515,494,495,474,473,437,444,461,426,379,377,407,413,394,352,332,444,729,1214,1278,1252,1228,1094,755,370,503,937,981,818,608,622,1098,1214,843,594,618,472,341,323,397,384,507,830,647,327,369,453,390,266,323,537,603,558,715,974,1100,808,441,342,340,303,329,350,350,350,324,276,296,526,616,683,623,399,333,367,327,298,429,476,354,491,854,786,414,374,325,408,324,480,681,472,263,255,772,1482,1094,618,385,340,539,728,928,740,1036,1538,1324,850,1090,1220,1362,1310,1506,2132,1794,1158,991,1096,1458,1660,1418,1270,1366,1622,1786,1500,776,659,959,998,540,365,485,431,307,282,339,670,937,678,613,499,850,1082,613,761,798,680,477,359,671,868,937,1216,1472,1208,1272,1056,1200,1300,1156,1108,1480,1546,1206,1200,1056,1194,1120,1230,1432,1782,1444,1214,1368,1440,1368,1240,1072,849,1062,1260,1026,628,359,287,301,283,275,269,269,273,264,282,285,284,268,269,263,256,267,289,311,282,301,290,313,363,352,364,377,518,801,852,651,703,1070,1278,1326,1240,1106,1374,1314,1180,1138,993,1016,1208,1278,1054,612,382,407,423,447,470,474,349,395,514,877,1562,1468,968,999,1638,1622,1482,1750,1128,429,344,375,363,539,675,614,591,792,858,747,659,554,619,429,487,579,647,639,1500,1590,996,705,590,839,892,659,491,329,444,426,467,550,712,694,756,681,565,562,443,383,506,458,315,281,303,488,568,416,509,560,426,515,596,835,1216,1014,1162,923,525,370,328,301,324,320,273,257,256,275,286,278,281,285,306,297,317,474,473,413,365,339,351,377,378,380,368,356,348,344,331,331,337,331,333,330,327,340,351,349,360,348,335,354,349,351,359,369,375,358,358,364,337,318,330,319,328,328,304,303,308,304,299,294,299,283,269,269,264,281,288,283,286,283,282,283,295,300,300,301,301,307,320,335,328,333,349,361,389,384,368,388,383,372,391,381,382,403,423,454,443,413,403,385,375,385,426,434,422,411,419,421,401,400,392,398,407,402,398,398,391,391,378,377,380,372,365,350,343,343,352,354,344,337,334,337,335,329,325,323,322,325,333,333,329,335,335,333,326,330,335,342,349,351,348,346,334,342,348,332,328,330,330,330,330,322,330,339,342,342,341,343,336,332,336,342,349,341,342,336,330,333,332,325,326,329,320,312,316,319,307,318,317,317,322,317,335,329,338,368,396,413,433,451,427,354,311,346,365,316,267,287,257,223,241,232,216,217,235,245,207,260,260,212,283,317,236,230,226,213,225,267,297,283,291,307,404,491,500,468,427,415,408,383,371,351,336,338,337,337,335,335,313,310,314,302,301,306,306,299,294,292,299,299,296,300,294,285,293,298,288,283,294,297,296,300,299,300,294,298,301,296,292,293,293,293,293,297,297,305,307,292,307,303,298,299,300,300,303,306,297,301,301,301,305,301,301,307,303,295,290,289,289,286,282,281,275,282,293,294,294,294,294,294,293,292,294,296,303,311,306,300,315,321,324,331,333,333,334,338,341,346,338,334,338,339,332,336,342,328,334,337,337,339,337,331,327,326,327,331,325,316,324,327,326,326,325,320,320,319,312,313,307,298,298,301,314,313,322,326,324,326,327,314,304,315,314,310,298,295,295,291,288,293,279,269,275,276,276,289,288,282,274,284,282,284,285,288,285,280,280,284,280,276,276,262,267,274],[574,633,477,387,598,751,587,606,716,788,1134,1364,1434,1356,1214,1150,1198,1104,910,668,634,698,803,775,847,1274,1344,1376,1610,1476,1328,1446,1722,1736,1364,843,1328,1386,821,375,261,397,931,1318,698,227,237,222,208,198,212,260,302,342,374,290,294,298,373,403,550,915,1090,697,554,730,921,1046,1302,1220,979,802,794,939,954,573,412,382,413,385,384,388,485,650,634,554,707,1098,1278,902,745,796,705,996,1430,1302,1058,815,506,509,626,594,403,412,389,422,366,716,497,476,569,534,814,1088,1136,963,1006,802,498,595,746,780,795,442,202,204,218,213,237,274,320,299,324,368,536,730,781,899,878,1318,1138,1010,1328,1254,1200,1292,992,1058,1004,860,1190,1007,824,693,480,400,391,421,644,1066,1094,1023,1066,1096,1224,1086,979,1036,1138,854,689,701,1024,933,890,984,1272,1110,1294,1484,1494,1360,1236,1158,1174,1290,1510,1400,1196,1218,1130,909,749,808,1394,1472,1005,758,750,731,715,1162,1868,1126,971,984,1212,1188,1078,1268,1218,1106,701,767,1424,1226,824,798,1058,1222,1220,882,989,1078,1224,1370,1372,1116,947,982,1392,1514,1038,1224,1128,994,1001,777,765,927,932,915,1162,1182,1112,1164,1194,1068,1360,1318,1136,1172,797,482,757,1172,749,384,458,397,383,510,562,601,563,445,342,343,466,501,421,499,664,1032,1852,1936,1564,837,720,1009,1076,919,774,571,566,834,838,933,751,534,442,461,506,510,564,578,614,565,494,955,1350,1334,1270,850,879,990,852,596,568,1092,1264,792,531,873,1218,1406,1334,1254,1098,846,580,440,558,506,477,493,723,1064,1036,693,588,702,516,338,361,872,1782,2176,1770,1434,1486,1514,1476,1350,1498,1734,1698,1198,814,1036,1566,1688,1226,834,794,392,350,336,488,403,487,741,1368,1914,1786,1298,1306,1608,1268,1306,1396,1130,998,1260,1284,1476,1242,1140,1128,1015,1216,1284,1034,803,850,1180,1318,842,891,1630,1520,1062,1050,810,728,727,819,1014,1034,1448,1616,1316,1484,1600,1336,1108,1062,1590,1682,1132,1030,1134,1376,1240,1208,683,600,812,932,1012,1050,1252,1380,1160,1204,1628,1582,781,469,438,411,775,1402,1520,1072,973,1090,830,710,1336,1416,741,620,632,931,1172,932,736,564,444,465,604,764,894,804,828,1012,954,1026,1072,852,686,706,742,760,573,502,547,662,608,458,450,456,534,484,314,317,319,342,400,395,397,651,571,441,464,493,505,767,1408,1840,1500,852,536,599,615,628,738,1012,1232,1122,1208,996,600,499,614,710,889,922,1058,1126,847,660,546,453,856,1112,823,947,1236,992,719,715,791,753,932,1832,1626,1424,1272,1124,1024,975,1006,913,621,386,390,435,532,672,697,684,689,578,471,552,686,682,477,388,420,482,471,692,1044,969,1050,1036,1416,1690,1456,1564,1300,1001,983,897,968,1186,1188,1208,1082,1024,990,951,1144,1046,1144,1040,897,518,669,1094,1250,1148,754,647,714,885,1236,1486,1390,1206,855,619,793,1152,1023,1058,1250,1082,847,965,1126,1078,1026,1158,1466,1214,1062,1308,1520,1750,1884,1700,1150,760,656,532,553,521,401,379,381,405,495,542,449,400,408,493,637,661,547,452,387,517,583,629,583,655,967,896,528,430,454,484,542,834,1021,1116,947,497,356,689,1090,1252,1266,1236,1238,1260,1280,1280,1240,1204,1266,1274,1236,1338,1350,1272,1140,897,946,1072,1066,918,644,680,596,658,1064,1338,1004,694,586,933,1440,1536,1514,1328,1260,1344,805,770,959,1144,1438,1290,1212,1342,1334,1364,1512,1516,1294,902,824,1186,1282,1214,1350,1456,1418,1468,1314,1406,1534,1346,1322,1128,1312,944,807,888,1122,1252,1136,935,783,745,1054,1118,594,741,1404,938,1158,1332,1040,827,612,664,973,1256,998,808,1124,709,560,847,718,419,318,318,308,285,306,326,272,259,242,329,447,476,451,567,889,935,1064,1166,651,780,811,890,1262,1262,1428,1702,1622,1444,1280,1042,650,332,492,865,1062,1418,1246,705,806,1296,939,566,571,826,728,780,1090,1046,1068,1266,1238,1208,1290,1184,1016,840,737,929,1304,1318,1120,1134,1050,984,1080,1214,1056,1006,1084,838,547,536,857,1148,1036,1454,1516,962,854,1092,893,772,806,871,1044,1110,1358,1384,985,517,608,1216,929,857,1954,1366,899,785,990,974,818,946,1062,1046,1046,972,656,739,836,1072,1106,841,534,386,342,315,328,424,457,443,487,507,479,581,851,730,692,744,635,602,624,375,253,275,352,534,513,705,643,526,537,439,639,972,997,1015,1074,962,1464,1296,698,444,496,480,872,1406,1080,431,352,330,316,300,281,278,250,246,249,271,249,255,298,630,1158,1376,1360,1312,1284,1262,1206,1216,1434,1420,2286,2286,1566,1366,1572,2108,2636,1440,1130,1510,2172,1688,1698,1486,1354,1574,1450,1296,1254,1092,1438,1134,744,586,770,612,630,607,668,665,723,855,901,798,781,1052,568,459,683,698,916,941,529,372,532,607,463,380,336,410,495,442,466,442,423,458,470,438,386,383,399,430,441,434,383,331,381,527,522,602,912,895,576,568,561,642,724,745,446,400,457,546,651,667,907,893,490,429,382,612,540,733,821,902,683,541,455,279,230,335,430,606,762,1024,1406,1236,731,425,370,356,374,372,328,275,258,376,378,519,754,708,619,482,461,573,668,455,305,411,644,1192,1186,1030,552,450,518,475,381,322,313,326,266,219,233,354,417,476,594,426,322,339,436,616,943,1214,1302,1132,651,876,1366,1222,1092,1364,1754,1498,1260,1290,1152,1234,1376,1150,1252,1436,1428,1602,1010,695,815,1262,1220,748,540,571,465,324,296,438,558,683,611,546,534,528,462,446,372,450,503,358,407,630,719,974,1262,1410,995,764,822,1186,1292,1268,1404,1340,1224,1540,1460,1324,1662,1332,1206,1720,1758,1478,1422,1272,1108,1076,1136,908,1102,2880,2372,1696,1250,641,308,315,279,276,252,264,253,261,261,251,263,291,283,262,273,281,339,363,300,303,287,281,282,296,290,291,296,431,496,461,579,944,1226,1240,1392,1494,1500,1390,1010,879,996,1366,1414,1286,1130,618,368,359,417,433,463,471,426,532,764,684,1244,1644,1180,999,1092,1090,1626,2098,1694,723,446,344,328,404,458,420,493,626,698,742,801,434,553,662,494,497,518,589,590,443,582,646,510,667,847,735,812,507,529,487,412,467,434,421,422,481,721,644,637,795,844,760,453,290,317,450,568,502,409,454,537,536,486,658,1120,1130,1176,705,382,328,289,294,298,278,285,272,252,256,268,278,294,294,301,288,313,362,363,372,339,328,345,374,379,384,372,362,352,339,328,324,327,340,344,332,330,322,354,341,357,365,351,333,345,364,355,351,355,358,346,337,341,333,331,337,320,314,308,303,306,306,305,293,296,289,287,286,279,273,287,296,286,278,282,291,294,294,293,290,293,305,321,330,330,340,349,355,382,401,372,375,391,382,397,388,375,393,416,429,429,423,421,409,403,390,409,419,419,406,411,403,403,409,398,397,401,398,394,390,391,387,373,378,378,362,352,346,336,336,346,342,334,324,323,324,328,328,323,324,330,324,325,333,330,337,342,335,324,332,342,326,335,340,346,348,338,338,354,339,336,336,341,330,323,320,328,339,347,343,334,348,351,346,342,349,357,344,336,335,338,339,332,328,332,332,316,313,330,319,318,317,316,323,330,338,357,352,339,357,391,413,432,450,479,470,386,320,326,317,318,316,229,200,198,222,244,206,222,199,203,285,292,225,238,242,219,232,214,208,226,264,305,310,317,327,428,513,494,431,398,412,412,366,360,340,343,337,337,337,331,329,318,311,309,299,293,306,312,306,305,296,294,292,293,296,289,295,298,288,280,286,286,282,292,293,297,299,300,301,291,293,293,293,293,293,293,297,299,297,293,287,298,302,299,300,300,298,294,287,288,297,296,300,295,290,294,298,295,290,286,286,282,281,281,274,274,280,292,294,294,294,294,294,289,288,296,301,298,312,316,295,319,321,322,336,340,338,331,332,333,331,332,337,329,331,333,332,334,333,332,334,337,333,333,332,331,327,326,327,333,334,334,329,326,327,325,319,320,320,316,310,299,313,302,299,303,310,320,330,333,338,332,320,316,314,302,294,296,296,294,296,293,286,280,283,284,278,272,282,288,285,286,284,282,282,288,293,286,282,283,285,283,269,273,280,291,288],[418,491,451,365,507,743,546,501,604,773,1096,1342,1278,1178,1036,944,1068,940,807,766,871,848,689,527,572,1040,1346,1432,1356,1406,1682,1942,1980,1906,1864,784,803,917,697,471,419,337,416,447,345,243,230,214,199,214,212,245,335,308,237,275,313,311,280,392,960,1306,1302,1034,796,779,1064,1530,1626,1418,1062,963,1334,1360,1346,645,433,379,420,397,375,370,373,436,491,744,1138,1300,947,504,694,849,746,794,1146,1242,1318,1160,937,767,533,440,399,431,296,368,474,762,686,547,601,653,698,908,681,529,629,556,538,700,891,1394,1250,600,250,243,246,227,253,260,236,230,253,276,378,655,716,732,904,1208,1164,1116,1024,1052,1290,1092,610,674,696,886,1072,582,294,272,342,403,417,391,415,596,1007,1290,1146,1468,1542,1226,822,1222,1544,1236,912,958,1330,1830,1952,1506,1384,1258,1316,1664,1406,1056,1214,1252,999,1210,1428,1078,959,1230,1236,1206,1084,1308,1650,1476,1008,506,423,644,996,1098,1154,742,617,713,1064,1394,1478,1346,1394,1284,843,825,1114,1102,1062,594,529,1006,1036,962,1064,937,1112,1178,1066,1012,1274,1290,1140,806,954,1028,593,524,760,955,937,894,908,1002,961,1174,1090,886,784,1306,1666,1498,1824,1926,1194,902,932,1062,610,828,799,452,377,495,608,669,558,419,358,385,502,551,505,550,557,505,854,1560,1312,754,605,665,678,599,513,433,640,824,769,651,472,437,421,417,420,404,438,550,656,636,630,1120,1340,1252,1480,1246,1005,896,843,975,1312,1302,1218,918,541,1052,1488,1554,1338,1138,1288,1296,757,406,529,656,641,647,988,1272,1208,946,838,988,758,499,573,1050,1464,1458,1168,1260,1348,1516,1700,1216,1302,1614,1444,1174,785,698,1308,1658,1566,1458,1414,679,386,287,363,368,493,485,883,1622,1864,1418,1222,1586,1408,1256,1470,1372,1454,1410,1344,1428,1130,1178,1346,1318,1342,1410,1738,1534,1034,1013,1256,816,584,1284,1322,1108,1230,806,849,861,861,845,901,1790,1920,1332,1106,1021,996,967,883,1166,1250,1242,930,1116,1276,1036,862,631,897,1276,1009,712,922,998,1076,760,997,1238,1332,863,505,414,377,647,947,824,697,700,432,402,573,1096,930,629,605,566,998,1144,840,709,538,499,625,615,580,575,627,718,799,1136,1526,1556,1390,1190,835,623,654,614,607,696,630,509,470,500,373,542,573,361,365,422,439,545,487,550,793,510,379,388,384,411,454,784,1476,1636,884,683,1010,1210,1148,935,724,907,1076,1386,1366,709,576,833,1020,1050,710,771,1120,1296,1028,775,789,1110,1222,892,988,1310,750,686,1194,1132,698,775,1005,1003,1154,1058,1238,1238,694,669,1212,940,409,346,378,422,578,630,543,572,599,554,492,555,636,507,415,382,717,674,743,720,706,1032,1366,1796,1748,1588,1614,1044,865,969,1058,1120,969,1018,1460,1366,1024,879,1206,1244,882,1000,1116,879,664,777,965,952,854,548,331,572,932,999,875,734,935,689,488,907,1288,1228,1126,1202,1122,836,1044,1176,1230,1282,1490,1406,1312,1236,1296,1454,1738,1722,1340,763,567,594,553,643,650,564,442,416,419,497,597,549,408,394,534,693,715,487,404,479,762,844,612,365,398,854,996,607,545,594,579,718,955,1042,926,509,435,890,1266,1250,1212,1260,1284,1242,1094,979,948,1023,1078,1002,1013,1144,1268,1312,1292,1282,1272,1262,1048,1028,1038,789,724,624,808,1158,1408,1144,686,604,674,1104,1428,1436,1176,1178,1094,963,1166,1338,1274,1194,1244,1054,1064,1372,1538,1558,1096,1034,1088,1284,1522,1494,1246,1222,1344,1542,1536,1346,1602,1488,1106,1192,1062,862,911,977,843,669,680,1150,1180,1032,1100,926,1214,1092,1244,1362,1074,858,719,681,550,510,622,755,779,814,868,996,611,689,882,552,279,243,313,337,308,316,308,262,262,296,432,502,491,528,836,1152,1236,1758,1930,1001,864,1126,1240,1206,1170,1192,1096,1028,1186,1228,1054,777,388,757,1494,1128,1314,1164,984,973,1138,1170,836,479,602,697,661,756,669,968,1400,1578,1450,1350,1168,1030,1262,1400,1542,1742,1426,1050,1234,674,615,719,1070,1038,1020,865,612,783,951,1076,911,689,1160,1170,1094,1092,926,1044,1032,890,1030,1184,1230,1416,1500,1220,680,539,752,698,1050,1324,1032,743,642,691,664,779,910,1246,1136,794,591,508,587,759,979,1136,932,689,527,355,368,373,433,513,576,565,573,710,670,648,714,722,681,555,446,609,468,271,254,288,335,289,350,371,397,413,367,529,836,631,866,824,844,793,793,788,825,684,430,661,1262,1278,510,360,367,314,300,290,269,273,274,263,265,237,233,261,472,993,1412,1462,1366,1290,1172,967,1002,1418,1362,1766,2474,2182,1466,1622,1792,2756,2374,1850,1434,2056,2078,1744,1218,799,1120,1830,1454,1492,1328,1308,944,608,511,827,855,700,764,932,865,766,738,936,813,659,1044,792,489,841,1090,905,769,675,641,691,714,433,401,317,359,435,420,372,370,423,436,420,406,352,382,409,430,437,458,425,361,393,423,304,378,739,834,634,590,568,426,289,515,482,372,409,422,476,896,1094,619,708,636,455,433,576,902,839,906,752,609,510,410,312,520,630,772,854,874,880,903,735,472,372,397,366,302,298,390,475,528,437,454,448,683,711,624,512,571,713,500,363,518,821,1260,776,538,422,467,471,409,407,366,344,482,437,272,264,274,307,630,591,380,320,404,568,816,1294,1326,1040,1136,1070,1152,1168,984,936,1048,1136,1038,1032,1104,850,932,1112,1298,1054,919,1130,1292,1170,1082,1074,1134,932,791,546,530,682,720,723,1009,800,507,544,655,642,469,378,419,441,413,312,339,546,995,1236,1302,1658,1356,656,407,598,1100,1252,1142,1268,1220,1378,1616,1240,1090,1438,1358,1532,1786,1390,1190,1176,1362,1426,1692,1710,1302,990,1388,1304,1322,1338,848,374,321,296,296,265,252,260,264,251,243,250,259,260,263,270,276,299,315,300,296,330,301,301,280,301,307,304,310,393,605,931,1238,1534,1328,1440,1436,1502,1378,971,719,987,1544,1560,1296,935,426,352,303,325,321,437,420,380,435,516,623,1058,1472,1498,1134,746,996,1350,1476,1460,1154,543,215,410,565,435,399,617,654,464,344,519,626,603,614,424,360,406,420,424,400,547,793,974,666,673,719,639,589,541,396,390,400,381,336,293,284,338,354,451,454,541,828,788,525,309,413,546,583,431,476,758,730,767,700,893,973,767,517,365,324,303,316,312,330,344,289,268,264,276,285,283,287,303,299,289,312,328,359,330,321,323,342,368,370,372,378,358,344,327,329,327,329,321,332,333,338,345,335,351,355,336,335,351,347,358,355,349,347,352,349,361,337,320,318,326,328,310,312,305,300,305,294,289,278,277,284,284,281,296,303,287,287,287,294,295,293,287,286,297,313,318,322,334,342,346,358,385,404,393,372,385,396,399,397,384,385,394,414,441,422,413,391,390,381,388,411,419,405,406,406,379,362,386,390,394,380,366,378,394,387,368,372,375,364,347,332,335,338,335,334,334,327,325,322,318,317,321,322,323,322,324,324,323,318,317,332,335,334,335,340,344,348,348,350,357,343,346,348,351,334,336,338,328,320,326,330,341,352,336,355,365,357,343,346,351,351,336,330,339,336,330,330,329,325,320,316,316,329,328,321,325,335,347,354,359,366,351,355,393,404,412,440,458,492,451,338,297,326,325,313,256,222,214,202,204,251,259,220,218,238,230,212,204,230,238,225,228,246,254,259,287,298,312,391,470,495,441,389,371,393,430,360,344,346,330,331,331,330,325,318,318,318,312,305,307,312,306,305,306,304,292,287,296,294,291,292,286,283,289,287,287,286,287,293,299,289,300,300,299,299,293,293,288,292,293,292,298,292,281,285,297,296,301,300,300,300,298,300,301,293,290,299,299,289,287,289,288,282,294,293,282,281,281,279,276,277,289,297,294,294,294,293,288,288,293,308,297,314,306,297,316,314,321,336,346,344,334,337,339,334,333,329,321,322,328,332,328,331,340,329,327,333,333,327,324,324,329,340,346,336,328,326,326,326,326,320,320,320,321,313,314,306,304,308,307,316,324,322,334,346,334,320,320,316,310,307,306,299,294,295,294,291,286,289,290,288,283,280,285,288,290,286,279,277,291,299,288,282,282,282,277,276,269,284,290,298],[432,436,395,365,462,722,509,395,443,571,645,890,1110,953,679,599,821,838,722,581,433,343,309,301,390,695,1076,1332,1400,1808,1938,1980,1830,1832,1592,676,315,463,536,490,480,415,313,214,285,253,203,212,218,224,212,268,289,227,232,238,245,317,361,507,935,1120,1262,1222,1044,828,1050,1262,1126,1156,1224,1044,1272,1408,1152,612,474,441,423,477,471,399,376,369,398,585,895,789,497,423,421,694,1086,1070,945,1146,1250,1246,1262,1218,726,469,479,555,439,544,677,582,683,745,663,738,718,892,732,711,660,528,451,644,812,1026,966,488,231,219,221,216,242,258,250,317,414,369,278,487,766,969,859,735,1042,1200,963,1350,1220,769,602,714,716,1019,871,423,328,362,386,413,386,355,569,2398,4576,2614,1104,1464,1602,1340,1007,1042,1342,996,754,700,1030,1664,1688,1544,1914,1720,1562,1672,1448,1316,1370,1184,881,1084,991,729,628,808,1190,1382,1152,976,1054,1500,1310,655,513,560,854,1158,1011,799,719,892,1132,1408,1418,1006,911,1156,1308,1162,852,1162,1044,468,365,992,1108,1128,1122,880,1124,742,982,1272,1562,1716,910,566,1050,1009,540,297,508,903,1019,1052,916,1130,1208,1178,1154,1172,1002,1048,1424,1548,1864,1596,1266,1344,1036,772,704,1554,1206,555,383,497,618,623,463,359,366,413,470,488,625,613,546,525,544,604,594,555,500,501,455,341,324,526,860,772,612,395,367,394,373,368,402,435,547,589,653,709,670,753,789,1204,1468,1628,1478,1442,1434,1404,1478,1076,692,511,560,1258,1642,1244,1062,1342,1490,1456,1212,745,697,568,599,710,922,869,618,762,1086,1146,1013,905,851,943,1218,1252,1054,1064,993,1428,2156,1836,1560,1328,978,1112,1194,965,1164,1272,1470,1404,1382,924,453,275,335,395,485,517,595,803,877,762,836,1148,1316,1426,1482,1368,1476,1278,1228,1216,1152,1156,1198,1238,1092,1306,1466,1298,1152,1302,1444,1082,1021,1506,1576,1780,1546,1104,988,865,797,844,805,1320,1642,1486,1224,930,979,1016,1172,1316,1050,1260,962,649,655,616,584,600,681,688,556,441,631,1040,1066,830,1092,1244,1380,990,518,474,419,381,388,370,435,736,826,1174,1176,725,505,525,487,533,1058,1192,986,839,722,700,662,645,686,791,938,811,625,567,645,869,1056,1138,773,607,503,537,568,496,357,287,408,471,432,656,825,680,692,702,758,639,664,822,543,379,373,351,341,367,344,453,1026,1222,786,862,1148,1086,1136,935,636,617,634,1234,1444,855,728,918,1248,1310,882,710,952,1284,997,947,1210,1164,1164,773,550,905,987,810,937,948,940,1244,1018,1044,1372,1072,1194,1318,1064,763,769,561,346,309,346,354,413,519,602,575,564,620,637,540,539,432,385,424,728,816,739,477,597,902,1126,1366,1528,1302,955,723,912,1090,1080,1134,1100,1270,1418,1350,1472,1226,1390,1432,965,1152,1278,1156,845,666,532,451,593,620,633,854,760,696,590,535,562,502,768,927,829,1008,1112,1176,872,630,1023,1174,1322,1482,1482,1248,1160,1144,1094,1466,1748,1438,809,506,579,596,677,646,570,521,424,400,429,494,570,576,553,477,546,539,503,511,783,1030,1120,957,645,479,465,832,1082,662,552,548,541,791,947,925,553,459,949,1312,1376,1350,1338,1250,1013,885,877,1016,1015,1182,1206,1082,1052,1040,1048,1098,1218,1362,1258,1278,1022,999,1062,943,849,885,995,1166,1412,1262,737,714,805,1102,1412,1384,1288,1248,1136,1208,1424,1446,1132,1100,1598,1180,1072,1332,1528,1324,1152,939,1118,1284,1088,1114,1172,1192,1310,1356,1238,1304,1358,1210,999,1040,812,537,757,831,799,864,938,1190,1170,1144,961,878,1140,1186,1074,1288,1624,1364,1021,749,544,572,819,1001,957,852,967,1194,960,850,767,446,295,297,342,386,342,332,301,300,253,338,469,510,495,742,1344,1406,1504,2092,1916,1354,1028,1250,1252,1214,1170,1030,1172,1386,1422,1258,752,559,799,1754,2198,1546,1024,710,633,783,1078,1252,1138,751,510,714,658,863,1002,1272,1372,1432,1470,1444,905,1052,2040,1330,766,1232,1015,1023,1246,751,431,498,769,725,717,877,1084,1456,1222,946,822,775,1108,1092,849,630,811,1256,1352,1282,1432,1330,1106,1013,1252,998,736,700,802,1220,1552,1324,1032,838,696,850,1188,1188,1072,1170,1178,926,650,595,658,1002,1282,1186,918,1002,779,634,541,438,434,571,666,679,752,842,785,764,869,778,585,460,323,307,363,285,233,250,312,446,522,379,338,341,458,750,1016,1484,1480,838,674,631,602,620,875,960,725,907,1278,1454,681,383,366,317,296,294,277,278,249,237,243,245,246,260,317,694,1232,1432,1406,1362,1212,923,842,1188,1460,1528,1866,2836,1748,1546,1598,2172,2536,2424,1608,1450,1848,1948,1416,1108,1060,1818,1410,1432,1102,791,758,737,694,814,949,920,635,739,897,804,868,816,822,713,816,940,731,664,809,637,688,865,844,673,543,554,489,357,400,459,432,508,558,551,458,413,383,350,393,419,404,401,426,383,349,438,578,500,413,601,882,702,498,567,436,272,443,478,386,421,496,730,875,761,886,1394,866,731,643,855,1156,1048,747,800,774,533,469,421,704,810,838,818,767,826,886,849,590,377,384,395,509,657,880,780,532,415,389,574,738,590,594,495,442,455,348,328,534,717,647,503,498,420,377,361,383,429,457,870,1306,1124,451,296,258,405,750,716,489,400,617,899,1042,1478,1380,1202,1242,1322,1194,1052,921,875,999,714,384,388,612,816,1096,1196,1308,879,809,891,833,915,910,958,1108,788,649,583,594,756,852,889,1044,869,626,729,833,634,432,589,882,574,261,238,390,445,821,1166,1190,1556,1516,819,519,525,1058,1310,1030,976,649,823,1060,935,1250,1462,1236,1434,1322,1032,975,838,1246,1614,1500,1342,1216,1062,964,850,1007,1242,815,490,412,311,277,265,276,269,255,241,239,250,262,272,278,291,314,305,305,314,338,336,305,299,291,297,294,277,274,336,450,1120,1456,1860,1354,1394,1332,1322,1092,648,680,1054,1210,1322,1116,590,371,381,359,283,316,378,307,298,313,277,269,386,738,1222,1126,1328,1444,1108,1120,1336,1086,495,447,614,502,458,374,425,377,284,276,301,493,525,361,282,340,342,289,308,300,615,963,1252,893,789,818,642,783,585,453,395,375,330,284,285,281,368,456,552,622,535,406,634,745,335,460,891,754,533,419,675,827,802,664,793,651,380,439,361,364,363,397,392,396,404,342,273,251,264,277,283,301,312,311,296,325,339,385,358,328,316,329,362,367,367,368,358,370,337,337,336,330,321,329,326,327,336,351,351,349,349,357,347,345,357,349,362,356,356,347,333,327,328,313,319,314,307,304,305,300,299,295,295,286,281,281,281,284,283,279,272,280,287,293,301,291,288,296,310,325,324,332,352,337,346,358,373,377,386,367,375,401,422,426,396,387,406,426,447,422,411,406,401,398,388,390,401,398,411,411,387,374,387,376,386,382,379,380,373,368,365,358,362,373,350,335,336,340,339,350,329,333,323,317,322,313,317,328,333,329,329,324,329,310,298,323,336,330,335,336,348,379,377,380,372,348,347,354,347,333,333,333,336,343,342,342,352,361,352,361,361,347,344,351,348,341,346,335,333,330,329,329,330,325,326,329,330,332,325,326,332,347,357,357,365,379,376,369,390,402,393,421,447,462,452,387,312,332,350,302,252,230,257,231,211,222,210,190,201,205,189,187,183,296,318,257,235,266,254,253,301,315,385,475,470,443,402,375,365,389,424,361,338,339,335,329,324,324,323,320,318,312,311,308,301,294,295,301,304,301,297,293,294,292,293,293,294,296,293,292,293,299,304,303,279,298,299,291,299,299,293,294,288,287,287,287,284,281,279,284,291,294,294,300,300,300,300,301,295,289,292,299,305,294,294,287,281,293,295,288,281,281,282,285,279,275,285,292,289,294,294,294,289,288,290,304,308,316,315,317,312,316,325,339,346,346,343,346,340,338,333,328,324,319,321,324,321,322,346,327,331,331,319,331,325,320,332,324,320,321,331,332,326,326,327,321,320,320,320,324,319,304,308,302,314,321,322,325,336,346,339,325,321,316,314,309,297,291,295,295,297,296,289,294,296,289,279,283,280,283,285,283,282,284,290,294,294,285,280,280,276,271,274,281,283,297],[479,432,407,370,459,618,482,315,301,341,421,554,641,538,540,685,637,448,348,289,293,310,306,297,313,384,741,1324,1600,1766,1632,1592,1578,1282,717,407,296,310,405,507,432,325,267,219,208,239,213,218,213,196,200,219,199,198,216,247,303,468,463,754,1064,1162,1226,1420,1166,1182,1654,1314,805,679,666,704,1158,1302,1130,880,796,658,475,429,459,537,488,386,482,550,831,981,666,474,552,971,1684,1702,1162,997,1360,1566,1390,1570,1216,728,662,853,1012,1026,792,653,767,851,749,866,1060,1064,1100,796,361,303,385,463,595,922,914,460,275,255,223,247,250,319,321,357,350,268,312,477,719,845,618,753,1246,1316,1158,1238,1114,760,620,631,681,904,752,434,358,337,314,377,383,512,675,2762,4168,2390,1840,2204,1290,1398,1536,1322,1354,912,912,973,1158,1196,1112,1808,2168,1664,1650,1630,1462,1554,1450,1178,974,1094,826,872,1046,708,867,1270,1180,826,1340,1680,1642,1136,752,695,819,836,1032,1188,1114,938,1280,1362,973,587,665,1190,1536,1184,744,711,546,358,404,697,1072,1306,977,597,858,787,1082,1054,1460,1920,1478,1260,1248,958,573,388,501,649,568,864,901,1026,891,647,959,1428,1322,978,816,986,1510,1302,1456,1506,966,780,1324,1492,1064,727,523,444,540,601,451,343,352,381,406,440,526,631,572,581,539,468,534,446,345,334,284,263,311,447,569,625,512,400,392,400,398,379,443,601,650,583,585,522,459,792,847,952,1576,1780,1448,1676,1554,1190,794,750,927,805,884,984,814,774,1232,1560,1442,1286,1074,711,843,680,596,626,670,554,536,637,910,1230,1066,659,622,756,1214,1354,1104,996,1178,1820,2028,1654,1410,993,677,697,825,1060,1244,1098,1340,1144,1154,1150,760,401,389,420,435,445,472,597,564,544,641,1346,1638,1260,1098,1318,1250,1188,1314,1196,1278,786,1026,1110,904,1266,1154,1106,1412,1492,1148,1062,899,1068,1366,1976,1404,1132,979,935,952,1144,1306,1376,1382,1450,1538,1626,1362,954,739,597,628,853,872,738,572,503,544,568,608,403,419,467,647,598,769,1088,1252,1416,1610,1064,493,481,433,436,457,416,462,850,1288,1314,985,733,575,591,483,598,1246,958,781,586,489,440,606,825,921,948,893,836,804,658,514,453,461,545,477,477,499,457,410,331,297,288,294,399,519,616,874,821,962,862,757,713,805,566,403,395,363,371,408,379,369,389,446,509,506,692,896,962,1164,990,598,551,664,1292,1284,1128,1072,1154,1192,1228,1110,762,832,1066,694,719,1130,1084,1050,767,539,460,1082,1310,1298,1252,1244,1366,1296,1312,1300,1058,1144,1200,1256,737,401,379,336,313,359,408,418,528,705,713,587,539,519,507,509,466,449,486,458,442,440,396,361,440,647,1050,1226,1398,1136,1100,1226,1162,1158,1384,1428,1512,1136,1208,1226,1106,1466,1400,1044,1152,1374,1106,607,554,391,434,712,684,530,661,682,690,612,544,599,738,1052,868,756,998,1190,1224,907,901,1184,1282,1166,1256,1334,1138,1114,1064,1128,1408,1470,1180,650,572,640,662,708,625,535,452,403,419,467,511,539,552,714,523,475,495,534,739,1088,1142,935,681,531,497,479,821,1178,775,548,505,587,910,995,664,409,834,1288,1544,1512,1316,1300,1336,1130,1134,1204,1216,1146,1164,1148,1024,998,1102,1064,979,955,1210,1242,1184,1012,982,1008,1030,1005,1028,1112,1208,1406,1350,791,786,1110,1338,1370,1292,1126,1108,1252,1322,1396,1242,1186,1046,1078,924,1272,1418,1456,1186,1017,995,1186,1284,1272,1274,1270,1232,1366,1308,1142,1078,933,869,799,687,659,543,792,1026,1064,1048,1170,1266,1028,1066,1058,785,842,1028,830,868,969,1078,1172,1148,1154,929,1132,1194,988,860,1042,1023,714,581,355,300,239,281,452,484,385,315,279,246,259,388,533,594,583,744,1370,1376,1260,1512,1378,1192,1190,1294,1252,1360,1306,1284,1322,1278,1164,1013,915,675,619,995,1282,1220,736,518,767,1056,1048,1036,1158,1150,673,748,798,952,1150,1350,1218,1190,1564,1466,932,1240,1786,1038,1234,1356,1062,1142,1186,708,395,541,752,833,908,1142,1190,1080,1052,1044,1268,1350,1102,911,613,498,688,1007,1276,1456,1414,1048,755,861,875,736,843,1234,1708,1668,1456,1198,1168,1214,1164,1246,1380,1052,913,919,953,791,669,582,800,1186,1160,1078,971,1028,861,745,539,543,519,507,515,602,756,804,735,669,895,839,460,232,234,267,276,295,282,227,188,328,458,448,344,547,781,821,1010,1990,1502,793,772,724,639,722,898,952,833,824,1108,1524,922,430,329,307,310,290,297,288,255,263,244,260,251,266,256,366,889,1318,1378,1308,1236,991,923,1194,1500,1540,1434,2556,2298,1450,1432,1742,2298,2608,1434,888,1404,1974,1466,1508,1444,1224,1520,1354,977,843,854,974,716,767,858,1056,744,664,724,745,750,669,721,675,576,852,971,477,760,919,750,586,477,481,833,899,628,516,528,479,482,535,513,691,644,500,434,384,384,391,322,297,340,354,338,408,573,597,446,483,1024,874,661,716,574,378,240,252,340,468,763,907,532,825,1424,1102,530,612,945,1352,1392,1034,849,1001,833,604,822,945,808,662,975,1008,827,826,750,764,627,389,401,551,803,885,680,497,443,414,364,534,761,500,435,419,420,383,310,295,453,612,398,336,375,318,371,422,418,407,449,813,1562,1372,551,301,284,528,750,645,600,693,889,991,1044,1250,1009,1150,1404,1380,1152,1182,1034,952,1222,745,364,430,1032,1246,1028,803,752,617,663,1168,1520,918,1004,1380,1662,1092,614,528,512,487,601,852,1058,1050,1126,1172,1062,600,365,666,955,650,364,363,375,386,697,982,1136,1496,1436,861,642,545,1017,1224,758,604,464,659,1013,1130,1118,1023,932,1224,1246,1044,687,496,862,1606,1400,873,912,1032,834,757,951,1138,790,590,488,341,274,274,272,260,246,244,270,271,275,275,277,294,282,287,280,318,340,311,299,299,302,296,293,261,276,323,558,1140,1422,1360,1468,1656,1466,1572,1456,910,814,1206,1476,1414,815,405,388,384,361,328,383,407,315,295,301,257,300,373,367,544,844,1308,1320,1414,1438,1018,803,561,686,518,601,604,422,292,288,309,321,263,325,455,490,453,575,593,461,302,324,447,580,818,719,924,868,753,1208,818,479,379,313,311,283,289,309,357,514,999,1444,1212,644,491,894,544,603,1204,984,655,450,480,477,447,496,715,747,433,428,392,415,402,376,307,330,438,378,272,247,256,272,284,291,290,301,302,307,286,319,330,324,321,316,339,362,370,377,377,356,340,330,330,326,318,321,320,315,336,359,349,349,349,349,341,361,353,346,337,343,346,349,355,343,328,324,325,300,301,307,312,310,298,287,282,277,281,281,276,266,275,281,277,281,287,291,301,299,296,303,309,322,340,316,328,320,340,358,365,375,399,397,388,397,401,410,391,384,403,419,431,419,411,411,403,397,387,373,390,405,407,397,398,387,382,379,383,370,377,374,364,368,377,350,345,370,356,342,343,334,332,340,346,340,325,337,306,311,321,329,330,329,329,329,327,322,320,327,332,330,337,350,357,399,417,410,399,376,368,363,348,346,346,344,341,334,336,332,344,352,366,363,355,343,332,342,336,343,355,339,343,328,336,343,339,335,333,333,339,337,336,333,336,343,354,364,373,391,389,375,384,391,391,413,426,462,472,402,330,326,336,309,263,248,263,253,214,204,216,190,190,210,213,219,232,271,309,270,249,271,267,282,313,332,423,460,433,394,361,349,359,399,393,349,344,332,335,330,324,324,324,326,320,313,307,300,296,297,299,300,293,289,294,299,300,293,298,294,298,296,294,300,299,294,303,309,287,301,297,297,299,299,296,292,287,287,287,287,287,296,292,287,287,294,294,292,297,301,300,298,290,290,294,290,301,298,293,283,288,283,281,281,283,288,289,286,275,282,282,293,296,294,288,292,288,288,296,303,311,314,312,314,314,322,334,339,344,346,344,339,334,328,322,322,321,320,320,321,319,319,331,325,339,337,314,327,331,320,333,318,318,326,333,333,327,326,327,322,319,320,321,319,330,306,304,307,319,327,316,330,337,340,336,331,325,319,312,300,303,296,295,294,298,296,294,294,296,282,273,289,280,282,282,282,276,296,302,277,293,294,283,282,276,274,277,281,295,299],[420,454,408,380,392,474,426,229,241,259,375,376,387,343,378,407,313,274,288,313,314,272,253,286,290,267,531,1174,1696,1918,1658,1164,1042,794,421,278,260,245,233,231,303,274,202,208,206,211,209,219,227,228,227,222,233,336,351,337,416,539,489,612,851,990,1324,1578,1282,1462,1288,1244,1222,1038,655,802,1242,1374,1322,1296,1202,998,847,748,575,670,648,603,650,781,907,1122,1094,933,922,949,1216,1510,1360,1056,1008,1228,1248,1316,1098,668,631,1054,1358,915,708,845,976,966,736,929,1282,1462,1878,1424,580,416,428,399,553,799,664,350,221,220,215,230,298,377,505,494,285,266,325,378,370,487,480,735,1276,1280,1350,1328,1118,916,666,504,483,521,475,441,454,446,369,349,434,919,880,2128,3764,3156,3430,3144,1422,1480,1462,1554,1610,1418,1294,1300,1506,1564,1556,1860,1688,1552,1680,1426,1526,1394,1324,1206,1036,1082,790,826,919,925,1156,1280,1434,1232,1274,1282,1352,1402,1152,1154,1048,906,1042,1296,1418,1058,1378,1126,725,554,856,1290,1388,1130,833,737,764,473,365,489,681,1056,1080,879,672,891,968,966,1346,1440,1444,1408,1366,1174,1032,697,568,585,794,1078,1144,1076,772,579,596,874,838,748,728,633,995,1044,1354,1284,702,803,1212,1024,1082,1448,1012,473,563,652,510,346,311,351,395,459,521,530,517,508,521,560,550,321,261,281,250,277,487,639,529,435,443,422,405,408,354,418,601,606,498,477,471,474,496,793,1128,1498,1678,1306,1028,1472,1338,1015,650,551,1021,1376,1036,570,442,869,1296,1350,1090,913,877,514,567,779,591,371,415,400,486,683,1102,1262,898,666,1062,1202,1260,1372,1346,1282,1564,1952,1768,1370,1288,828,700,818,578,651,999,1136,1028,865,875,920,879,460,420,464,410,458,427,485,661,695,781,1440,1672,1302,1010,1412,1508,1600,1336,1406,1372,1048,1178,1082,1048,1308,1308,988,1340,1478,1158,1356,1366,911,1500,1980,1256,833,1009,1158,1188,1316,1514,1654,1478,1566,1490,1778,1312,1050,1138,1030,960,1100,1188,1266,1128,631,564,511,539,445,421,453,524,633,748,910,1007,1194,1566,894,442,465,459,495,515,476,467,583,905,1001,910,832,679,749,615,760,1288,790,507,422,414,536,745,879,877,859,913,932,865,610,413,408,366,381,525,583,596,659,577,432,433,311,294,439,613,640,769,907,1082,973,734,857,702,386,366,375,408,448,480,422,394,422,487,558,442,730,1318,1368,1164,904,561,672,843,1472,1508,1266,1340,1488,1372,1208,891,550,553,669,447,536,1013,1036,871,957,777,419,721,1288,1534,1490,1496,1182,847,1064,1090,1270,1456,1354,857,453,437,393,341,310,353,374,398,542,696,727,558,451,429,440,478,483,422,365,323,300,309,349,375,326,622,1202,1472,1554,1350,1182,1216,1218,1272,1450,1618,1462,1188,1178,1138,1278,1282,995,1100,1368,1436,1023,799,680,469,428,508,484,413,523,716,756,729,788,901,1224,1282,823,554,588,973,1098,800,941,1256,1102,915,1274,1336,1072,1136,1030,1012,1118,1086,742,456,554,740,740,645,637,582,495,470,481,511,529,572,592,690,532,427,475,562,631,605,514,522,439,405,497,629,878,1176,861,589,558,668,949,895,494,634,1238,1542,1698,1418,1144,1166,1212,1226,1174,1034,922,846,808,807,744,692,827,1036,1096,950,1000,1168,1001,857,1058,1052,1074,1034,1078,1170,1230,1434,1468,968,939,1416,1558,1190,854,741,1050,1228,1016,979,1122,1242,1158,1244,1288,1268,1340,1296,1056,1030,1296,1358,1226,1252,1296,1310,809,877,1092,940,960,917,847,935,717,590,550,984,1394,1226,1114,1196,1118,705,735,793,538,581,923,818,602,511,606,1110,1412,1180,1216,1388,1212,769,626,803,706,550,484,332,278,261,480,663,610,485,391,304,260,344,459,528,525,574,786,1338,1268,1218,1182,1102,1238,1530,1316,1202,1274,1096,1282,1304,1412,1744,1256,772,841,1060,1024,1234,1202,849,764,1104,1160,902,857,833,1174,882,582,964,1176,1054,1010,1084,1044,1028,751,929,1222,1048,1116,1588,1148,1032,1560,1530,896,544,657,745,1070,1028,1028,1046,1024,1382,1240,1304,1280,1124,870,574,559,591,639,873,1332,1334,1058,816,1146,1078,960,933,1220,1528,1492,1358,1376,1194,836,696,938,739,822,801,743,811,720,679,793,982,1134,987,934,866,891,722,848,953,859,929,899,606,514,626,736,618,682,849,712,418,240,236,280,293,272,242,255,306,521,619,691,549,843,1062,937,839,922,625,569,903,813,584,563,710,739,609,567,783,1410,1168,479,328,304,321,312,313,287,269,246,238,267,267,262,265,265,484,929,1266,1256,1312,1214,1136,1390,1450,1544,1414,1874,2590,2316,1556,1408,1786,2570,2310,1148,1260,2000,1862,1608,1414,1040,1112,1294,1216,954,763,995,752,749,698,905,868,622,576,674,772,781,644,729,660,689,969,631,765,798,688,534,650,728,585,485,445,430,415,428,701,604,422,399,573,612,551,435,399,344,307,278,408,408,274,354,466,437,383,404,907,1158,934,546,342,231,211,289,378,428,594,615,595,781,867,641,388,415,725,1232,1005,922,1005,727,691,930,962,1094,1038,654,707,741,565,487,533,531,530,394,580,685,590,493,497,617,571,431,348,462,848,564,386,390,404,382,312,315,477,481,339,313,301,370,419,501,540,625,669,724,1520,1376,589,336,343,315,256,386,662,839,940,1144,1136,1204,1250,1380,1478,1236,989,1054,1080,1174,1378,1017,650,702,1138,888,498,372,425,531,470,900,1558,940,1086,1286,1670,1090,758,610,477,474,515,735,974,1082,1318,1396,1312,886,445,497,706,604,437,455,477,399,471,786,1190,1394,1324,866,575,466,629,624,487,482,489,528,851,1086,1078,773,523,911,1572,1360,790,506,678,1152,1136,770,847,880,723,864,873,928,826,526,442,467,392,279,277,281,252,273,276,277,275,276,278,283,276,276,279,306,297,288,284,295,310,310,304,250,261,274,463,944,1240,1218,1432,1574,1504,1522,1430,1160,733,1078,1336,867,415,357,388,380,335,333,477,487,388,351,321,280,325,346,374,390,505,586,681,1002,1036,1068,875,633,544,516,678,733,543,331,324,399,387,405,710,691,912,622,621,588,696,506,387,419,441,380,433,577,610,407,690,688,752,733,571,453,334,281,298,301,387,785,1266,976,828,661,932,684,429,930,1136,797,471,395,444,469,572,813,918,516,405,401,439,369,296,287,360,394,321,266,255,265,272,274,269,281,293,283,276,259,274,306,318,307,303,325,352,362,376,393,377,348,339,330,321,328,333,324,328,343,343,342,346,349,342,358,361,361,368,355,352,347,331,344,346,332,321,316,300,307,310,300,302,293,288,282,286,287,279,281,272,279,278,282,287,287,297,301,304,303,296,294,313,342,328,332,333,333,340,350,370,397,399,379,397,417,403,390,383,397,419,422,417,415,407,392,387,384,379,379,379,392,396,387,396,378,379,376,373,372,372,370,368,368,356,338,354,350,335,328,323,337,334,335,327,324,340,322,325,332,330,329,333,339,336,324,326,336,335,325,317,332,369,406,418,439,442,420,406,397,375,354,365,348,349,343,336,330,338,339,336,351,355,342,333,338,339,325,348,339,321,349,343,349,357,349,338,336,345,346,333,343,338,341,348,357,369,394,378,364,372,388,388,371,390,400,439,459,425,340,307,334,316,259,246,262,243,227,240,251,227,215,210,217,229,229,239,235,230,261,258,260,251,325,407,425,416,382,335,313,303,321,370,375,339,334,328,330,326,325,324,324,318,314,308,305,304,296,297,300,304,293,289,292,299,301,294,293,292,296,296,296,285,281,287,289,296,292,312,298,297,301,296,291,287,287,287,287,287,295,296,293,288,287,287,291,294,295,298,300,294,294,295,293,281,299,289,281,285,288,288,290,285,281,288,288,285,288,275,292,304,297,294,290,289,294,294,301,309,315,308,320,314,312,325,336,338,339,336,333,329,325,319,319,319,320,320,320,328,327,316,316,322,337,339,321,324,328,324,327,333,334,334,333,328,326,328,327,325,316,319,319,324,327,316,302,315,321,318,327,334,339,337,332,330,325,320,314,312,309,302,301,297,288,285,294,295,294,282,273,283,282,283,282,288,276,293,295,282,294,301,296,294,294,288,283,284,294,303],[440,485,443,327,250,367,524,448,336,301,277,212,237,255,252,262,271,274,280,283,279,280,298,309,290,309,579,912,1334,1632,1278,768,530,427,271,213,217,221,201,205,227,199,197,208,213,206,204,221,227,225,225,228,227,348,496,484,408,448,495,546,665,1090,1772,1654,1538,1732,1570,1548,1510,1316,785,646,1122,1344,1136,864,856,1036,1106,1192,836,744,869,1074,1010,654,458,525,572,900,1244,959,1262,1882,1720,1344,924,739,791,1042,1050,1008,771,798,994,617,570,858,1056,1136,837,898,964,1016,1152,825,684,644,446,394,417,499,465,278,218,255,308,617,778,688,1074,1046,496,355,393,318,255,598,852,929,1166,1278,1362,1090,945,873,897,710,615,466,348,409,494,519,497,428,541,1056,1242,1748,2294,2884,2230,1698,1510,1262,1302,1418,1394,1426,1244,1136,1580,1938,1908,1764,1616,1626,1730,1656,1658,1574,1662,1338,1036,963,534,585,553,1023,1444,987,1018,1234,987,891,990,1192,1442,1400,998,930,1206,1312,1202,892,1060,904,714,773,1200,1342,1328,1240,1098,754,949,835,551,473,631,1112,1278,1104,1001,1098,1001,1152,1382,1414,1292,801,858,1062,1216,899,644,557,776,1096,1434,1246,963,794,592,417,390,460,442,615,1100,1326,1314,910,549,798,965,922,1372,1594,1186,578,524,571,426,341,343,389,391,430,487,478,486,510,595,612,675,426,294,325,302,395,633,700,577,463,445,417,381,338,243,330,518,543,438,453,491,489,506,741,1534,1950,1114,742,672,1202,1084,647,554,851,1460,1360,695,433,542,1388,1358,927,653,1044,1388,884,563,810,652,345,367,287,391,602,808,959,819,998,1390,1264,1140,1340,1474,1656,1712,1648,1322,895,838,962,986,1164,1074,741,539,718,818,757,1014,1376,992,627,452,462,434,452,435,637,1050,1092,1090,1182,1362,1542,1136,1372,1520,1344,1056,1234,1438,1476,1248,940,1032,1350,1362,1010,1072,1266,1418,1252,842,996,1592,1654,1278,1116,1304,1342,1210,1032,992,1056,1224,1256,990,944,1088,1330,1428,1184,1186,1356,1248,1260,1312,811,641,587,521,480,411,393,449,592,517,751,990,1486,1798,870,446,492,450,460,547,603,511,437,601,733,702,651,693,778,619,980,1168,714,494,453,497,620,745,871,855,865,917,904,629,470,436,415,308,384,579,535,554,764,609,650,667,435,577,415,473,622,582,519,575,670,937,1004,740,392,383,377,411,456,418,394,421,597,726,621,511,883,1368,1288,880,599,551,494,948,1548,1544,1426,1540,1586,1490,1050,701,537,426,423,411,576,821,1032,840,957,1034,654,799,1292,1610,1758,1406,835,431,603,803,1058,1116,989,598,412,387,369,368,291,298,506,1076,975,592,483,480,442,416,474,469,404,397,418,384,408,380,362,346,582,1260,1488,1252,1302,1348,1250,1238,1604,1570,1472,1548,1254,1160,1104,1202,1472,1220,902,1262,1498,1120,996,1208,760,444,412,395,388,493,861,872,582,866,1234,1476,1776,1394,885,512,604,980,968,635,787,1030,892,856,1224,1410,1244,1180,1142,1058,886,944,697,433,376,608,770,712,588,567,562,528,468,440,458,506,601,572,473,405,363,450,487,493,606,629,442,434,565,734,907,1166,966,584,599,722,1014,821,441,990,1478,1712,1444,1166,1170,1009,845,824,789,788,752,719,719,748,734,694,809,968,1112,1042,933,1076,1003,965,1558,1160,1038,1007,1024,1032,1200,1476,1512,979,816,1478,1716,1316,979,882,1034,1110,1068,1296,1346,1284,1484,1494,1188,1258,1410,1248,843,900,1106,1246,1326,1180,1130,1178,1042,1126,1146,1154,1260,1032,836,891,835,551,489,1062,1196,1009,927,1192,1180,845,845,722,873,759,957,944,699,569,980,1360,1362,1060,1156,1326,1056,641,552,698,597,577,370,375,343,234,392,530,518,455,430,380,367,469,511,523,495,562,1001,1438,1460,1400,1256,1216,1324,1350,1260,1128,1005,1013,919,1078,1422,1666,1216,833,1398,1844,1416,1444,1332,1156,946,1078,1064,1106,919,1350,1954,1322,831,1072,1024,978,1220,1404,1260,959,923,964,832,681,1172,1314,1013,1184,1516,1630,1432,927,1070,1001,959,987,1100,1116,1318,1252,1068,1174,1338,1292,1078,1030,1098,810,762,753,1002,1162,1005,843,915,1042,1212,1182,1040,1140,1448,1366,1448,1186,662,411,681,886,1018,775,686,776,767,716,1294,1466,1498,1184,894,789,902,600,753,1003,921,971,983,720,625,572,630,508,585,575,491,377,257,226,307,413,340,243,308,750,1030,983,671,665,1004,1016,803,799,775,541,451,607,784,894,888,658,571,507,471,476,1130,1382,609,330,309,318,315,312,295,276,235,226,253,250,244,250,252,264,472,959,1236,1322,1320,1334,1486,1478,1566,1652,1462,2010,2686,1728,1382,1716,2002,2688,1782,1688,1708,1820,1830,1372,950,788,1394,1440,1058,816,832,862,716,654,657,694,749,689,520,577,749,691,816,915,949,830,808,615,471,645,704,766,543,541,563,469,345,340,412,824,1124,883,526,447,476,576,544,386,305,360,362,361,256,234,330,439,576,532,365,662,1138,968,466,256,256,334,340,325,469,546,564,758,772,587,443,359,404,360,526,650,1007,869,755,1046,1090,711,701,786,479,344,444,376,304,428,797,658,435,675,668,453,427,668,952,838,536,383,502,899,651,393,373,383,367,376,356,310,260,310,350,454,434,380,610,921,1058,979,963,1190,1058,905,664,443,448,445,609,848,886,1096,1314,1264,1316,1444,1348,1236,819,606,965,955,1088,1168,1026,818,872,960,682,529,442,495,717,574,455,711,878,1084,1180,1152,1066,1009,718,507,521,547,650,877,1013,974,1060,1206,1060,564,383,678,716,468,436,573,488,416,487,753,1116,1132,671,397,365,398,434,420,472,624,741,904,865,664,444,426,639,1230,1584,1272,608,536,761,964,770,807,756,681,763,775,965,893,558,452,488,454,309,297,292,305,307,278,280,283,276,275,272,276,275,285,292,310,308,290,286,308,293,264,250,263,288,338,669,1238,1494,1308,1456,1510,1486,1410,1068,572,691,738,432,281,313,335,334,325,327,434,429,352,331,305,289,320,352,397,404,404,439,462,495,922,1402,845,472,351,448,637,748,647,512,452,401,318,333,849,1032,1142,638,499,501,526,617,626,474,314,312,386,325,358,332,331,384,704,785,667,516,373,271,270,280,244,319,590,629,577,549,648,751,505,635,1034,913,465,455,532,719,763,778,984,905,565,384,430,365,358,380,356,319,309,289,270,269,278,272,262,265,266,266,260,260,283,297,321,307,293,299,330,341,342,360,370,366,357,343,333,330,335,333,342,323,351,345,328,337,347,352,346,358,358,334,350,352,336,348,349,336,323,312,298,296,301,306,302,281,291,287,282,281,277,287,276,275,286,288,282,283,294,287,292,296,298,307,319,322,338,333,325,334,328,346,372,371,384,381,428,410,405,404,390,404,419,415,419,415,402,383,374,373,368,365,368,379,396,390,372,378,380,366,368,365,360,366,360,354,350,332,342,346,329,315,316,327,323,322,322,322,330,339,344,328,316,321,329,342,333,322,316,330,333,325,328,367,407,432,426,439,432,412,403,401,377,363,376,351,347,348,342,326,330,336,341,341,344,347,353,348,335,336,348,336,343,347,348,353,354,344,341,341,343,343,357,351,354,354,359,369,379,390,388,383,367,369,361,350,369,377,412,443,459,409,343,286,262,265,257,277,264,298,299,290,272,226,217,239,248,255,253,235,246,287,290,271,288,368,396,346,343,326,309,312,309,347,361,366,348,329,327,331,326,318,317,315,308,306,305,306,305,308,317,306,299,306,300,298,298,294,295,298,299,296,288,300,292,293,293,287,287,288,307,301,289,296,293,294,296,291,280,287,287,292,293,293,295,291,285,290,294,292,294,295,294,294,293,299,288,292,289,290,293,288,288,288,285,298,281,282,282,288,285,288,286,285,288,289,299,299,281,307,314,319,320,312,311,312,317,325,332,331,325,324,325,326,320,322,321,315,313,322,332,332,319,316,332,338,325,327,326,327,331,326,331,332,332,334,328,330,326,322,321,327,334,321,322,319,327,315,318,322,315,315,331,342,339,332,327,331,322,307,318,301,297,304,304,289,284,289,289,286,282,279,282,282,280,279,288,283,274,279,290,295,301,299,288,277,280,288,291,290,307],[487,484,485,351,397,681,793,547,279,243,225,199,249,268,251,265,239,244,252,243,259,280,307,313,314,272,584,711,691,710,477,382,329,266,241,237,227,213,200,196,183,189,204,214,218,209,208,215,221,221,225,214,202,301,548,558,407,411,511,983,1048,1242,2056,1598,1234,1180,1274,1306,1222,1092,735,626,1042,1214,1450,1576,1216,1144,1168,1178,739,528,704,834,886,724,626,644,620,961,1322,1150,1548,2030,1600,923,770,841,994,1128,1180,1156,874,1066,1132,979,899,1286,1384,1270,1172,1520,1528,1294,911,670,1184,1324,763,349,339,412,442,386,307,325,526,991,1156,963,994,955,476,404,473,340,305,839,1246,1136,1072,1110,1166,1228,1202,998,1216,1494,1266,890,521,324,383,444,514,491,519,838,1234,1720,1410,1086,615,741,996,1242,1742,1512,1238,1246,1330,1234,1746,1984,1790,1672,1680,1592,1630,1660,1612,1818,1992,1630,868,991,705,788,515,649,915,808,976,1064,843,622,681,943,1260,1306,1268,1380,1316,1078,888,970,1048,875,665,1118,1460,1434,1624,1496,941,1014,1340,1378,923,661,1042,1232,1138,1120,1012,896,1106,1560,1630,1412,832,394,511,794,1014,756,585,601,537,795,1328,1158,968,930,711,433,561,542,589,857,852,830,1009,750,614,695,538,918,1506,1484,1070,636,761,637,335,323,340,371,434,481,486,530,487,491,619,633,683,527,445,545,529,580,675,643,504,434,417,414,361,315,291,264,352,419,451,538,505,510,496,531,1108,1246,1060,1288,1368,1532,1310,1052,780,571,738,771,453,420,509,908,819,577,440,681,941,789,627,755,839,514,451,307,327,488,670,813,846,996,1282,1424,1378,1364,1360,1638,1454,1350,977,717,684,910,937,922,958,714,438,441,452,575,990,985,912,1326,932,521,457,380,473,848,979,1122,1394,1218,1170,1190,978,1212,1154,977,1080,1060,1080,1300,994,809,1050,1136,1212,1230,1060,1002,987,785,858,1344,1476,1398,1292,1454,1466,1500,877,530,657,907,1330,1300,799,674,1002,1278,1316,1170,1246,1348,1338,1342,1388,974,657,655,707,595,568,689,866,1272,821,869,1005,1480,1482,841,593,567,492,471,494,522,456,425,554,678,653,666,755,785,535,1030,1100,565,477,413,544,796,826,823,875,935,890,879,770,648,511,498,468,455,496,502,537,744,625,604,535,521,578,412,352,339,353,383,450,722,897,642,480,435,426,433,456,432,404,385,487,789,949,709,707,848,1142,1128,1004,890,713,611,1128,1472,1304,1254,1416,1514,1482,1412,1032,632,584,546,455,691,972,1112,1214,1526,1354,908,1142,1672,1360,1506,1084,612,501,953,1168,877,1000,1144,628,410,475,664,720,594,589,934,1182,1344,1102,633,430,402,411,461,449,401,343,335,374,466,402,379,505,1150,1986,1980,1654,1554,1524,1366,1362,1558,1468,1258,1250,1102,1096,1230,1274,1158,851,753,1136,1188,839,1036,1342,914,551,454,444,496,639,980,933,688,795,1080,1614,1698,1394,919,553,559,780,778,600,681,853,979,1048,1422,1304,1360,1238,1254,919,653,725,649,510,409,525,643,667,530,511,529,529,493,474,511,536,564,564,501,396,376,380,476,488,610,543,438,513,565,703,896,1120,1072,591,642,842,1076,745,582,1154,1588,1624,1176,1056,1158,992,798,773,758,800,780,786,788,752,733,753,836,932,1056,1100,951,955,1044,954,1280,1096,1042,1019,1023,968,1080,1354,1408,959,671,920,1364,1422,1034,927,987,963,910,984,1224,1412,1504,1486,1198,1340,1388,905,522,534,641,844,986,743,682,860,955,1112,966,1252,1202,1015,760,637,579,531,469,654,926,918,794,1110,1064,703,963,1116,1316,1212,1250,1264,1120,1064,1248,1368,1202,1268,1428,1312,990,753,695,998,754,531,364,363,364,337,343,347,373,357,426,451,628,614,647,585,484,480,777,1038,1276,1270,1106,1076,1204,1010,1290,1164,794,1070,1166,1036,1260,1246,1076,947,1172,1200,1114,1056,1002,1088,1126,1116,992,880,899,1478,1648,1184,840,1009,977,1238,1520,1376,1666,1328,757,667,686,707,763,697,856,1013,1366,2172,1682,1148,1222,1348,1182,1112,1220,1332,1124,1042,1294,1426,1582,1224,1492,1604,1452,1278,1132,929,842,828,805,780,1062,2022,1360,1058,929,1112,1134,1182,1202,1178,841,492,629,1102,988,692,1009,1136,941,1038,1484,1432,1316,1088,1030,944,735,691,760,737,755,696,602,695,654,455,480,534,597,609,519,332,265,243,287,387,407,277,278,696,935,943,700,746,1022,959,754,653,762,615,626,790,1072,1206,922,531,384,412,429,543,1094,1540,855,392,318,307,303,289,295,294,240,230,252,241,236,241,251,297,312,662,1122,1312,1298,1338,1478,1554,1540,1644,1510,1542,2390,2544,1466,1538,1628,2456,2478,1740,1036,1548,1936,971,967,737,1092,1636,1174,951,714,801,792,713,844,887,790,619,750,1062,1024,916,726,863,787,535,804,758,703,1038,744,645,479,755,920,662,427,395,418,798,1506,1598,1138,593,381,468,610,431,392,386,389,389,341,328,349,375,545,574,321,412,688,698,644,460,397,425,510,481,497,387,364,583,637,464,380,328,310,309,517,845,1064,1012,1062,948,626,393,398,412,332,289,302,307,386,578,882,631,416,480,506,483,457,615,885,956,692,447,578,850,717,491,447,427,591,675,493,412,413,387,310,411,398,426,816,1132,1164,1134,1186,1298,1086,1028,719,403,669,838,835,1064,1058,932,1244,1280,1002,1166,1162,963,653,424,654,550,608,636,566,435,549,714,586,514,546,559,675,567,472,756,1078,1188,1202,1308,1354,1312,1000,617,559,542,604,761,816,727,940,1162,1150,673,404,675,824,583,436,504,470,387,361,391,581,716,565,361,362,365,382,388,569,766,1046,1062,691,394,418,424,603,1026,1418,1364,885,555,572,1158,1328,1260,932,708,630,716,884,674,476,386,372,430,372,299,290,312,291,287,276,264,272,280,279,284,294,304,307,320,303,297,280,294,279,256,259,271,296,383,674,752,841,1196,1486,1106,844,821,625,424,376,336,295,286,283,290,292,303,327,343,315,297,288,280,314,352,361,350,303,303,379,409,384,565,551,563,630,495,415,490,528,461,466,710,587,409,283,682,678,504,568,582,471,492,634,630,690,414,302,302,307,381,366,417,501,544,634,582,449,349,279,298,291,287,308,327,505,679,552,485,710,643,354,600,919,582,451,473,700,683,647,1074,1358,886,406,418,394,434,386,346,310,313,324,284,267,274,268,257,256,273,278,267,259,267,291,323,313,293,282,305,319,324,357,371,379,357,348,354,336,345,341,340,324,336,337,336,349,351,353,353,343,355,346,352,336,331,325,321,328,328,313,304,301,300,302,293,303,293,292,282,279,285,283,271,276,283,284,284,287,294,288,298,302,309,319,321,316,334,346,342,346,339,342,379,371,400,390,407,403,403,409,406,419,434,419,423,414,398,382,375,382,374,382,372,356,384,394,383,374,362,360,366,362,362,364,373,372,346,325,336,342,332,328,325,325,328,329,324,323,312,311,327,314,318,318,317,320,321,326,327,330,330,337,352,376,410,417,414,417,421,423,406,397,386,380,381,373,363,355,351,343,334,323,333,354,344,344,338,336,336,346,355,359,359,349,349,349,348,344,346,338,345,349,353,366,373,372,374,377,383,383,381,370,357,355,361,359,360,368,388,431,467,462,407,257,216,234,252,298,312,335,339,328,321,300,294,318,300,271,227,221,203,245,258,288,300,374,398,336,292,279,311,337,340,353,361,353,335,323,321,329,329,320,315,308,304,304,305,305,305,306,297,292,294,289,292,300,289,294,300,299,300,299,281,296,289,286,287,287,287,285,296,300,285,293,293,298,297,285,285,287,287,288,288,287,288,290,287,287,294,295,294,294,294,294,294,298,294,290,288,290,286,289,288,288,283,288,288,288,289,285,288,288,288,288,288,288,288,288,290,322,322,312,326,317,315,314,322,326,325,327,333,328,331,327,326,326,318,320,319,318,329,332,322,321,337,345,350,333,327,336,337,332,328,330,334,330,331,343,321,322,319,325,330,336,327,324,327,325,332,337,322,316,330,332,334,326,332,330,325,325,309,300,301,302,300,294,293,289,282,282,284,286,283,283,278,276,285,289,289,290,296,301,295,293,285,289,291,286,291,301,301],[561,505,443,509,637,645,466,254,198,212,210,218,245,238,191,195,194,197,196,185,157,186,250,298,316,330,490,508,402,310,287,260,234,237,237,213,199,201,204,196,194,200,203,212,218,214,208,211,210,209,223,215,201,291,471,442,297,325,684,1222,1160,1158,1258,1234,1214,1266,1360,1242,1122,1098,620,565,685,1012,1246,1528,1194,1198,1218,1364,1168,653,676,697,525,436,569,716,871,1122,1216,1112,1328,1338,877,623,760,930,1084,927,1184,1304,1404,1396,1316,1316,1330,1302,1490,1306,1180,1454,1598,1886,1238,786,1052,1522,1182,503,338,400,405,408,341,510,908,1096,1424,1304,633,296,288,381,605,568,327,509,597,588,1012,1312,1406,1312,1003,1058,1364,1426,1506,1442,1098,857,742,569,459,440,644,1046,1022,1166,1288,906,609,822,885,1306,1744,1540,1448,1262,1554,1332,1588,1644,1738,1636,1550,1394,1538,1584,1536,1704,1954,1698,916,1182,1072,918,722,689,534,1019,1392,995,691,575,593,758,1256,1468,1650,1802,1502,999,987,1212,1038,675,562,988,1388,1582,1722,1496,746,1086,1238,1202,872,945,1208,935,651,937,1116,1190,1224,1438,1460,1258,797,480,512,1062,1462,1094,633,716,1120,1054,982,855,1042,1136,588,430,541,905,1060,763,523,530,576,512,671,742,468,653,998,1182,1228,1304,1426,1098,379,319,339,446,508,655,543,524,559,879,924,652,596,523,584,736,689,647,556,479,464,451,361,374,406,397,399,341,325,411,525,562,601,633,526,427,480,929,1598,1830,1616,1282,1156,1470,1030,550,543,622,529,600,554,524,524,490,455,425,469,784,1264,1178,932,852,634,410,347,495,692,863,955,971,1302,1488,1308,1434,1712,1546,1310,1274,888,582,511,643,832,883,672,486,457,397,455,653,994,895,1216,1836,1236,626,476,377,543,988,954,1110,1162,1122,1064,1180,899,819,868,918,1294,1294,1178,1021,664,685,871,1024,1416,1616,1342,1015,999,1076,1206,1272,1476,1524,1358,1366,1510,1470,822,606,633,1060,1526,1306,701,698,946,1120,1146,1108,989,1144,1378,1378,1410,1000,624,891,1200,849,809,945,1012,1442,1034,891,1104,1340,1194,814,626,546,472,492,497,499,459,405,433,689,789,827,872,770,615,1074,991,482,436,400,497,741,926,946,924,817,687,715,821,719,621,585,542,542,560,557,557,573,513,446,486,585,608,644,607,598,686,546,556,929,678,500,386,391,426,457,452,418,403,391,417,516,484,541,1068,1088,951,1110,1158,1240,1206,1110,1262,1286,1005,1200,1384,1550,1560,1574,1324,965,1082,1166,894,814,1017,1214,1758,1560,943,1056,1152,1360,1092,932,873,951,1080,1274,1082,675,587,695,684,653,870,1040,1320,1100,1134,1312,1258,1410,1382,998,470,388,402,388,413,364,290,283,333,353,412,594,863,1716,1956,1480,1388,1232,1318,1078,867,1134,1030,864,1044,1058,1158,1148,1070,963,663,817,1202,1304,1256,1164,1164,935,549,410,525,587,529,543,731,722,744,1080,1222,1114,1162,1146,1102,813,536,908,1104,996,1064,1019,1220,1502,1460,1470,1324,1156,775,591,573,473,440,454,502,589,616,561,513,534,520,539,527,491,537,520,444,440,556,498,409,455,505,539,426,363,430,496,608,678,996,1120,658,595,922,1122,650,690,1310,1670,1512,1102,1132,1162,1046,771,713,737,777,817,849,839,756,740,781,838,926,1034,1078,943,888,756,815,1015,1015,1030,979,945,849,661,950,1274,910,753,1058,1374,1412,1148,1180,1084,784,832,1136,1570,1702,1510,1388,1120,1108,1204,893,603,422,363,536,665,781,1072,933,774,846,684,778,780,1005,1100,799,604,567,556,848,1078,915,904,1280,1060,651,1130,1468,1418,1330,1344,1344,1180,1172,1310,1248,1118,1058,857,1144,1116,780,502,588,638,570,502,500,486,426,372,310,365,367,401,482,651,668,714,598,407,367,486,545,610,709,920,1104,1316,896,1112,1324,778,561,775,1306,1404,1042,1112,1262,1188,817,921,1086,1262,1358,1298,1074,1026,987,1096,1464,1404,1190,868,939,1102,1532,1670,1622,1974,1428,502,448,597,803,1036,1106,844,860,1366,2580,1946,1388,1366,1214,1282,1216,1128,1346,937,992,1358,1592,1318,1354,1556,1562,1552,1452,1220,1036,926,931,964,906,1090,1746,1520,1432,1194,1218,1612,1538,1100,1262,1188,943,937,1358,1142,1094,1100,1374,1232,1352,1422,1230,781,638,780,942,934,886,810,860,758,642,529,663,645,526,483,504,498,509,508,381,279,226,233,221,293,302,326,591,1170,1076,587,454,743,755,601,494,657,616,626,778,1090,1116,1040,851,431,412,487,639,800,1506,1108,509,325,301,298,295,294,281,261,257,257,252,255,242,232,281,277,431,935,1244,1232,1252,1350,1322,1246,1378,1382,1534,1714,2614,2102,1562,1526,1834,2412,2448,1284,1010,1372,966,791,761,793,1348,1272,1092,848,836,740,767,879,670,578,831,1032,884,793,837,688,817,792,491,552,761,506,391,446,733,900,1058,1110,799,532,447,581,923,1280,1648,1658,649,374,461,540,383,324,338,376,366,354,421,434,420,612,469,321,367,505,452,519,526,464,631,772,659,502,345,367,374,404,322,293,303,283,519,865,920,837,999,803,496,382,344,361,357,321,303,403,791,786,565,543,441,418,412,456,520,458,488,616,804,751,527,463,666,728,455,527,767,1158,1296,843,625,573,492,419,457,426,494,816,1136,1242,1334,1168,1386,1244,960,664,483,552,786,823,995,1200,1200,1460,1508,936,964,1074,882,958,717,441,325,347,371,365,371,397,455,457,507,553,555,612,585,551,551,955,1394,1456,1510,1440,1436,1356,953,633,517,609,805,689,725,962,1044,996,570,377,459,677,514,401,362,325,322,325,330,365,434,424,338,322,313,377,380,529,683,1142,1088,574,409,410,379,521,930,1310,1370,1360,747,423,854,1350,1372,990,662,566,625,634,473,445,398,350,408,402,360,330,309,278,301,367,290,255,276,304,268,322,318,283,293,285,300,313,282,260,259,264,279,286,328,527,395,515,1052,1122,637,433,368,340,316,274,260,274,262,268,280,282,274,287,305,312,307,284,299,346,356,320,288,286,291,331,365,302,248,241,343,526,602,438,293,271,312,755,1332,1005,555,373,461,452,615,894,753,571,597,664,503,547,711,590,355,321,465,374,410,514,546,562,494,397,377,359,317,297,371,426,407,443,772,833,527,489,788,481,380,755,750,488,463,569,662,844,1005,1056,848,573,491,580,600,447,367,328,307,301,293,294,280,262,253,268,266,264,264,269,265,290,322,327,313,294,295,303,315,354,350,371,345,354,346,332,345,332,322,323,336,351,342,345,342,352,351,355,359,352,346,337,339,324,318,320,326,316,306,308,296,299,305,298,293,298,289,279,281,281,283,292,295,294,286,292,296,287,299,310,314,314,311,313,331,340,333,346,354,339,349,363,402,399,404,410,389,396,397,390,417,433,427,403,399,390,387,387,369,357,365,356,359,365,353,359,368,373,362,371,382,359,354,347,348,329,342,338,329,325,317,327,329,329,322,323,317,320,322,308,322,323,310,316,322,326,332,336,342,357,375,395,399,406,414,406,406,408,408,387,383,379,375,397,398,367,351,347,344,335,335,333,346,347,348,339,343,357,336,330,341,330,348,346,349,353,346,335,357,361,357,367,371,371,373,375,378,375,375,365,349,348,357,360,367,375,384,408,440,446,429,305,209,204,244,285,289,277,286,302,325,345,351,371,329,294,255,255,211,205,243,301,332,398,398,339,319,306,320,330,374,359,352,340,324,319,326,325,326,323,317,312,305,312,306,305,306,300,296,295,293,286,287,283,302,309,300,300,299,299,289,285,285,287,287,287,287,287,288,296,291,293,293,287,281,283,287,287,287,287,287,287,287,287,287,292,287,298,296,287,287,292,293,288,293,302,298,290,285,282,281,288,289,282,280,284,288,288,288,288,288,288,290,293,296,303,309,310,310,320,315,314,322,328,329,328,332,326,331,332,331,326,327,324,313,321,331,320,329,334,332,346,346,352,357,358,340,337,340,330,328,333,332,332,332,319,331,327,325,326,325,328,330,331,326,328,330,322,314,327,339,320,319,324,332,336,336,321,312,307,304,301,295,295,296,289,288,290,291,291,288,286,280,279,283,289,289,291,295,296,290,288,288,290,289,289,291,296,297],[579,483,433,582,418,300,311,296,286,221,198,207,218,262,270,239,229,203,186,211,181,192,222,257,346,440,315,323,375,319,269,218,220,233,216,196,192,206,196,205,208,208,207,213,218,212,201,189,184,187,205,215,219,246,275,296,289,373,722,916,1112,1390,1622,1588,1364,1242,1148,1148,1504,1328,605,460,551,705,915,1220,1100,1094,1154,1166,1096,1009,1314,1188,553,415,434,532,888,1112,1032,1108,1282,1068,572,803,1138,1364,1204,1166,1098,1046,1268,1472,1298,1600,1954,1256,1210,1064,1376,1280,1522,1550,1318,1506,1252,1180,1306,949,499,327,294,391,376,414,925,1096,1050,946,612,367,366,419,590,561,377,370,452,452,857,1262,1620,1488,1162,1222,1462,1462,1318,1326,1338,1128,1186,1120,806,515,832,1470,976,711,1005,829,761,1020,1152,1678,1888,1940,2144,1930,1490,1378,1110,1164,1664,1694,1454,1418,1620,1486,1556,1220,1154,1230,1206,1278,1218,1014,929,730,477,938,1470,1280,1058,883,619,937,1268,1260,1366,1472,1380,1202,1312,1302,697,406,393,534,1172,1372,1662,995,678,987,886,564,597,953,926,824,657,1048,1340,1432,1262,1086,1104,1312,1272,877,481,811,1140,1005,649,540,790,1088,874,615,477,444,449,432,428,542,594,512,487,418,469,608,888,748,561,499,749,1026,1048,1202,1434,1007,389,282,389,692,631,573,561,626,638,727,703,629,546,451,561,658,570,567,537,545,481,425,350,361,412,383,410,421,353,394,455,495,536,510,492,494,439,473,908,1374,1072,1010,1212,1316,1082,763,565,583,639,842,952,819,568,487,480,436,454,739,1352,1098,821,975,1248,1068,553,455,599,671,953,1260,1032,817,1262,1614,1432,1262,1344,1017,625,603,462,581,766,683,522,463,501,517,601,1028,1262,1074,1376,1364,766,684,452,449,944,1286,1124,1312,1266,1102,1164,1230,1090,1090,1064,1254,1632,1562,1244,743,630,833,999,1136,1328,1412,1150,1124,1100,1078,1226,1344,1622,1262,1134,938,1098,1212,1082,852,881,1260,1340,1284,1028,868,1134,1132,1188,1156,857,1003,1440,1322,930,756,851,1354,1690,867,735,828,933,1456,1286,1046,1190,1140,910,724,676,636,595,510,517,539,539,534,567,677,590,636,942,781,672,1240,781,442,524,584,761,904,863,791,702,667,713,731,792,570,527,472,487,487,525,550,518,463,416,432,534,550,508,515,668,824,818,870,861,780,655,635,545,419,422,431,400,409,412,383,368,393,398,554,1224,1300,990,1024,1009,1210,1388,1362,1358,1150,867,1132,1422,1532,1666,1710,1682,1552,1428,1178,851,965,912,1110,1770,1390,1234,1388,1354,1322,1074,750,771,1010,1226,1260,786,586,537,489,723,980,1282,1344,1356,1254,1324,1378,1274,1312,1684,1228,597,415,392,375,394,374,396,362,319,469,834,994,997,1772,1586,915,963,998,910,915,1058,1252,1256,1228,1186,1268,1164,1134,1080,915,726,959,1296,1100,1064,1278,1338,1096,900,1140,785,624,534,430,540,692,839,1100,1128,1154,1204,1306,1506,1296,832,966,1066,995,860,1114,1516,1664,1466,1288,1256,983,797,637,490,434,388,459,521,529,722,728,574,521,509,522,514,456,520,432,419,603,679,628,658,700,633,579,544,447,391,360,468,443,861,991,815,742,1044,1188,774,766,1388,1634,1484,1076,1142,1118,1016,841,767,767,799,829,808,746,709,714,678,700,905,1058,1062,857,758,494,932,1240,1078,1056,944,763,757,621,799,1248,894,854,1152,1312,1296,1090,1064,872,535,623,933,1392,1438,1306,1220,1166,1064,1188,1220,937,604,605,673,818,819,1152,1294,1140,852,727,572,628,936,936,621,784,1118,915,1072,999,844,834,900,1068,1080,1288,1290,1254,1202,1230,1244,1042,1040,1094,990,1164,919,859,1170,1250,876,711,834,584,649,642,669,462,338,324,295,313,301,281,693,998,715,545,418,373,388,496,495,722,1382,1296,1202,1252,1252,1544,1448,965,717,872,1096,888,1122,1616,1788,1448,1182,1304,1390,1378,1556,1458,1214,1248,1354,1306,1528,1410,1406,1326,1384,1516,1532,1418,1516,1688,1370,888,766,830,1122,1306,1212,1048,1112,1272,1532,1396,1294,1136,1044,1238,1222,1222,1260,785,988,1060,1562,1372,1366,1448,1296,1208,1004,1011,1060,1284,1132,1262,1274,1500,1402,1372,1588,1476,1348,2200,2380,1290,1228,1192,1144,1160,1468,1100,735,935,996,1007,1090,1208,1140,634,528,627,976,1032,794,622,561,615,741,752,886,935,708,460,496,434,500,522,418,244,212,245,234,219,499,744,780,1028,877,558,805,722,608,547,569,862,830,714,1064,1238,876,763,807,551,487,519,650,642,1298,1342,711,336,309,285,294,319,296,281,270,258,254,254,239,235,239,245,339,636,879,879,1001,1110,1017,993,1072,1106,1520,1366,2148,2480,1858,1316,1724,1988,2198,1196,641,1032,1356,934,846,705,849,1274,1274,917,1026,771,755,592,619,965,1148,1009,802,868,778,747,747,484,444,488,592,796,509,514,962,1146,1082,1124,972,681,459,424,548,666,862,1224,920,539,422,357,248,205,278,340,339,325,443,493,503,624,441,464,434,433,488,603,695,822,808,566,503,423,360,365,303,317,325,340,415,442,491,640,684,530,586,462,368,349,345,343,381,417,472,469,501,487,411,383,415,409,439,515,486,443,444,456,517,512,499,509,667,850,689,1082,1544,1606,1964,1494,762,587,561,574,656,553,530,755,1100,1240,1450,1076,898,896,1106,1052,851,774,448,644,1102,1232,984,976,1244,1084,1182,1176,1192,1350,1012,475,306,306,324,344,386,387,447,508,579,493,497,653,675,587,508,687,1052,1228,1384,1470,1470,1490,1188,755,559,866,1086,871,881,720,480,487,423,346,320,356,312,322,304,290,308,315,314,326,309,321,308,287,321,372,365,356,386,476,409,372,409,408,383,388,611,1009,1142,1192,881,505,365,529,686,588,426,426,438,451,449,413,411,389,415,478,485,419,350,302,461,680,355,353,410,435,327,296,302,291,331,337,363,433,294,250,255,264,270,287,297,300,395,497,428,290,344,424,450,445,319,271,273,264,246,258,275,272,266,268,277,293,278,283,283,265,255,265,284,312,319,320,308,252,231,239,260,394,573,438,300,323,369,755,974,801,843,868,514,398,590,870,919,609,404,704,802,521,489,713,696,525,406,346,408,482,559,496,317,331,340,418,419,381,434,498,455,638,1054,955,694,444,811,737,395,618,907,641,395,507,677,772,524,504,527,657,631,766,607,415,364,322,327,309,317,306,307,305,280,273,268,275,286,296,297,303,307,305,296,281,278,297,309,307,348,365,336,333,346,338,324,323,322,332,345,355,333,342,335,361,342,352,352,352,343,341,337,337,330,315,329,320,318,314,296,292,296,281,275,286,275,276,284,289,292,300,295,289,283,292,292,288,295,307,321,313,307,310,328,345,342,344,361,361,361,373,391,393,397,414,420,417,406,394,417,431,422,407,388,383,387,382,368,362,386,359,343,362,362,354,362,384,374,372,366,343,347,342,346,346,356,350,342,335,323,325,328,318,313,317,318,316,309,323,316,317,315,322,327,316,325,346,354,372,385,395,398,395,397,401,401,395,408,402,399,399,386,406,428,395,363,355,351,341,336,336,339,342,344,336,344,359,343,346,355,344,357,338,333,336,338,346,363,366,361,364,363,367,367,372,369,373,381,373,355,350,355,353,347,355,373,384,411,443,465,352,258,252,269,268,294,310,340,346,351,353,348,330,326,313,319,294,278,296,350,415,457,451,395,351,344,360,372,373,362,339,328,339,330,311,330,324,324,324,325,320,313,298,305,310,305,305,302,301,305,301,295,284,279,294,295,294,293,293,291,283,280,282,287,287,287,287,287,285,289,292,294,289,287,287,287,287,287,287,279,287,287,285,287,294,283,289,297,297,299,290,282,293,286,281,281,288,289,288,288,288,288,286,281,282,282,286,288,288,288,288,298,307,307,308,309,304,317,321,319,317,320,313,313,317,321,342,333,332,328,325,327,325,318,320,327,328,336,346,326,327,340,362,354,340,327,332,334,326,327,332,336,332,334,328,325,327,334,330,326,325,327,334,334,334,328,334,321,327,339,321,308,314,330,322,315,309,314,307,309,302,296,295,294,294,295,295,295,291,288,282,282,283,282,282,285,286,286,297,299,293,291,293,294,295,295,295,298],[460,410,568,731,470,293,289,248,270,239,226,218,219,431,738,451,222,212,199,262,255,233,234,241,221,247,209,300,368,343,308,276,256,239,220,190,188,191,226,230,226,218,205,199,205,207,197,194,192,194,201,210,221,241,254,281,297,347,405,516,943,1562,1858,1076,842,1019,1130,1114,1366,1144,655,427,596,796,1224,1520,1248,1234,1436,1506,2034,1816,1636,1266,678,430,492,573,657,917,1342,1488,933,800,350,582,936,1338,1750,1504,778,569,989,1390,1260,1372,1820,944,1038,1194,1462,869,898,1110,1354,1588,1480,1588,1568,1178,543,364,342,376,388,334,459,763,980,1080,789,537,345,318,351,390,497,331,414,750,982,1058,1280,1372,1486,1656,1538,1112,913,1182,1306,1384,1686,1534,1272,716,757,890,604,719,1028,730,829,1078,1578,2176,1634,1310,1956,2172,1472,1090,1088,1456,1754,1486,1222,1520,1526,1338,1252,839,692,767,951,1208,1110,835,815,785,711,544,935,1262,1420,1194,1104,1374,1338,1178,1452,1448,981,943,1166,1002,731,721,679,929,1282,1326,1268,907,800,1092,1216,774,428,562,718,576,746,1208,1458,1362,1350,1166,868,678,937,1120,871,1274,1148,847,857,838,948,880,1044,950,505,423,444,399,487,461,516,514,469,399,557,910,992,659,516,419,745,949,817,1116,1062,727,566,452,330,550,561,474,568,701,658,634,653,505,432,365,506,548,461,475,509,547,447,365,377,441,430,364,395,481,511,485,448,449,444,461,498,506,492,400,547,847,967,1582,1616,1298,1456,1012,722,742,741,912,1212,1184,601,444,600,570,473,481,1062,1120,1068,1344,1660,1376,709,435,500,538,901,933,567,998,1496,1488,1390,1370,1262,929,635,684,444,466,538,522,527,556,785,846,828,1120,1368,1096,912,653,808,823,534,596,1148,1224,1346,1440,1244,1364,1316,940,1060,1574,1098,1382,1584,1340,1164,791,821,970,1088,927,724,661,499,451,517,783,1144,1242,1532,1396,1444,1424,1430,1494,1394,1148,1406,1652,1396,1228,1246,1372,1078,917,1156,1178,985,1023,1100,888,672,634,838,1422,1786,1090,932,908,1190,1620,1424,1272,1288,995,884,810,761,722,743,666,578,567,600,649,669,562,578,792,882,733,689,1214,661,561,615,541,665,826,800,981,1258,1566,1608,1076,845,560,610,507,479,484,508,517,493,478,473,506,577,508,459,430,493,502,461,512,508,558,532,594,671,481,428,424,407,415,422,420,437,404,427,684,1286,1416,1298,1222,867,1246,1322,1214,1308,1152,1172,1178,1116,1206,1410,1560,1588,1654,1616,1136,1009,1450,1136,1017,1140,1306,1654,1668,1616,1570,1220,997,849,858,1068,1178,797,609,677,814,861,901,1072,1180,1270,1260,1246,1388,1460,1170,1592,1306,780,524,422,378,390,393,407,334,297,594,1028,1320,1040,1250,1186,702,445,742,893,980,1248,1166,1204,1318,1076,1164,1164,1330,1446,1126,701,1050,1560,1350,1242,1532,1682,1156,1220,1632,1004,708,563,427,529,705,825,954,1021,1338,1416,1390,1476,1300,1142,792,718,841,811,1126,1440,1384,1118,1178,1036,843,774,714,619,580,458,421,469,497,642,754,703,517,468,468,498,562,459,443,641,899,762,647,811,777,684,646,571,500,394,354,521,522,922,1266,1158,1048,1162,1208,927,741,1376,1510,1376,1128,1148,1106,1021,833,741,752,756,758,703,673,689,702,693,724,915,1058,941,797,586,631,1290,1402,1230,1164,922,724,702,596,608,1204,999,874,1128,1352,1308,1060,1058,882,604,486,685,1060,1138,1110,1124,1048,1092,1308,1404,1164,1088,1156,863,1238,1166,1572,1646,1290,1168,1276,1017,649,684,975,960,1230,1460,1124,1318,1028,995,974,1022,1302,1354,1056,1060,1172,1196,1216,1096,860,646,966,888,816,630,873,1144,1330,1044,533,417,662,984,1270,1026,575,352,311,314,310,298,450,1108,1278,702,516,428,452,475,478,484,844,1124,1092,1172,1028,966,1378,1780,1348,988,1080,1176,1202,1274,1460,1192,942,1198,1492,1374,1340,1490,1454,1412,1630,1704,1554,1620,1226,1038,1260,1420,1100,773,923,1038,1220,1252,1266,1244,1178,1384,1440,1498,1280,1090,1174,1310,1322,1190,1056,847,986,1120,1156,1282,1206,1164,1010,1114,1026,1188,1266,1198,1042,988,1236,1082,1236,1216,1434,1276,1198,1130,1256,1596,1556,1252,1142,1080,1038,1016,872,835,1036,1376,1028,655,835,1042,1014,938,1156,1090,925,810,835,1120,1134,980,900,831,1036,1148,1026,1021,943,670,419,433,462,399,444,366,272,279,262,241,224,414,672,414,484,741,904,1704,1188,711,648,887,1050,999,819,798,719,459,362,552,667,495,396,555,557,1098,1504,979,409,316,293,298,312,285,264,254,242,244,251,249,241,234,250,269,358,449,399,605,732,728,704,908,1020,1200,1346,1676,2318,2588,1592,1228,771,912,1420,1160,810,1242,1172,835,937,929,846,1114,988,1044,795,763,764,847,845,968,1088,902,544,612,797,805,532,727,683,504,913,775,521,855,1136,991,982,949,841,612,436,387,396,432,655,901,697,387,294,214,240,301,328,339,325,384,451,597,511,430,525,490,512,678,771,803,927,717,358,340,362,348,309,297,319,344,397,496,758,870,649,367,453,688,763,514,492,483,569,607,507,560,461,375,414,439,435,518,519,507,557,558,512,509,522,475,449,480,594,785,1080,1192,1316,1854,1768,1910,1592,826,586,570,573,655,612,776,999,1132,1212,1268,1074,1066,1066,1340,1290,1004,1050,666,774,1288,1246,763,503,864,1232,1092,831,1062,1164,905,487,343,319,311,329,431,670,688,588,545,398,446,637,716,696,525,492,601,993,1250,1396,1372,1404,1332,990,711,675,626,638,796,661,523,457,390,337,317,324,335,327,308,295,298,310,309,299,289,277,283,279,315,347,360,373,368,320,336,350,366,405,403,370,391,857,1298,1164,861,553,342,371,336,304,321,329,360,420,411,384,389,384,417,487,468,383,317,331,677,902,561,548,475,420,332,277,291,355,508,506,404,394,283,242,252,255,257,290,321,336,476,559,340,334,400,452,441,291,258,267,268,277,269,257,259,259,265,266,260,278,275,285,272,280,296,306,308,315,320,317,285,275,295,274,256,274,336,297,373,443,418,475,636,797,1048,1032,541,438,509,782,910,569,421,860,1112,894,663,553,819,925,584,366,345,435,485,377,292,380,847,1382,1050,427,363,408,501,894,1126,1062,974,559,565,808,543,423,844,871,450,573,965,1070,479,358,325,587,742,858,719,631,553,389,358,320,316,319,335,350,307,276,277,289,293,288,294,304,289,289,278,278,269,281,301,292,309,338,345,354,374,357,336,336,333,323,328,340,333,336,340,349,347,351,349,341,343,352,341,337,332,311,329,314,303,306,298,294,299,288,287,290,273,288,295,289,294,296,294,297,296,293,294,296,311,302,311,308,308,314,320,342,344,337,355,371,379,386,390,401,400,416,429,426,417,411,404,411,419,405,398,394,379,378,368,366,370,351,348,372,376,348,342,373,377,365,362,347,347,348,334,329,336,329,322,318,311,317,328,313,310,314,312,310,310,312,312,314,320,324,327,332,346,349,367,388,392,387,386,384,390,393,393,391,395,390,388,407,402,420,457,438,406,381,357,348,344,343,344,346,355,353,339,341,343,349,343,347,369,367,361,361,360,369,377,372,369,369,367,377,381,371,357,354,361,359,353,352,350,350,355,355,355,367,387,407,462,408,308,330,367,345,389,414,437,438,451,459,467,444,427,439,423,375,384,426,469,458,439,413,413,409,414,432,412,388,350,328,333,333,346,332,317,325,325,324,331,318,315,311,307,304,306,305,300,299,297,296,292,294,280,304,308,296,292,293,291,280,275,281,287,287,287,287,287,287,287,291,294,288,281,281,287,287,287,287,268,285,283,279,283,294,285,272,275,283,284,281,283,286,289,300,298,301,292,285,280,286,288,282,282,288,292,276,281,288,288,289,292,288,288,307,304,293,323,319,320,325,320,320,322,321,317,319,328,338,326,328,326,326,320,325,314,337,339,332,314,322,343,354,354,348,338,338,328,326,326,331,339,336,328,326,328,330,330,334,332,328,331,334,332,334,332,339,331,325,321,319,313,304,325,313,309,313,314,308,304,301,302,298,297,298,294,295,291,283,283,282,282,282,282,283,278,278,288,295,295,294,295,296,295,295,295,294,299],[328,288,542,891,590,321,226,237,265,265,291,265,250,530,1052,810,279,217,223,277,244,223,260,305,229,205,197,218,222,210,228,262,301,265,214,206,217,201,219,221,233,227,212,208,216,213,212,214,209,204,201,206,233,271,284,295,359,504,592,758,908,1064,905,557,1204,1538,1450,1270,1228,1122,764,494,841,1114,1050,1260,1266,1144,1274,1460,2066,1710,1312,1268,1178,878,685,730,584,788,1452,1638,1066,661,382,503,595,708,830,646,543,979,1460,1482,1116,894,833,780,1090,1344,1378,1064,1005,1062,1076,870,885,1372,1556,1366,910,550,404,364,391,356,332,512,783,662,530,651,469,372,423,554,728,435,400,936,1162,1084,956,952,1320,1654,1506,1078,618,996,1454,1772,1596,1564,1316,716,649,595,504,877,1456,1250,1176,1438,1638,1922,1506,1326,1270,1156,1056,902,1156,1704,1664,1402,1422,1656,1454,990,898,944,1076,774,718,1224,1224,1013,723,623,777,575,742,1202,1366,2076,2302,1466,1462,1360,1442,1116,748,560,880,1190,1620,1628,1254,1096,1172,1254,1160,871,609,1034,1202,694,345,310,525,686,850,1250,1160,996,1148,965,861,752,1036,1240,1100,1376,1504,1440,1540,1666,1360,1060,1282,1124,754,529,386,324,433,335,386,523,532,630,890,1202,1011,558,343,515,977,1078,681,461,308,668,992,871,453,354,365,408,540,651,529,584,561,430,369,338,459,538,471,427,476,430,351,412,457,540,667,469,466,518,501,475,479,484,436,428,475,498,591,525,502,547,1048,1900,2060,1852,1698,1324,742,594,919,877,1001,770,458,478,722,650,535,1148,1892,1814,1404,1082,1152,1128,960,653,493,1088,1382,794,494,967,1404,1454,1300,1054,874,652,419,352,349,385,502,552,540,749,969,1040,883,854,1136,1136,1062,811,727,888,611,460,563,684,968,924,1088,1476,1254,748,879,1290,753,1208,1130,1124,1228,1044,905,677,508,550,453,435,388,395,495,689,1072,1200,1332,1714,1686,1372,1384,1352,973,596,756,1126,1172,1130,1292,1266,773,865,1202,1100,866,953,811,1106,957,697,657,1354,1760,1200,861,784,918,1216,1202,1026,950,722,887,921,800,797,753,693,663,664,590,523,455,523,651,530,556,571,890,1060,665,706,781,1000,1622,1806,1390,1448,1504,2052,1728,1017,807,871,832,622,540,555,615,665,644,548,486,519,522,478,458,463,448,561,611,516,538,568,479,526,688,443,427,389,437,448,434,428,424,509,684,1005,1454,1394,1350,1252,791,819,1040,1132,1388,1374,1406,1166,1018,1262,1278,1334,1500,1598,1702,1424,1334,1218,963,975,1042,1266,1550,1414,1214,1450,1090,799,979,830,623,581,813,1142,1240,1036,1044,1096,1011,1054,1022,1112,1230,1398,1412,1464,1426,1126,755,588,494,385,355,360,388,480,576,845,992,1272,1466,1290,927,572,392,792,1136,1126,1070,772,850,1088,1370,1262,1320,1350,1358,1170,884,1023,1428,1136,1162,1454,1472,1066,1410,1724,1390,1148,876,532,639,908,1410,1512,1284,1232,1352,1178,1166,1404,1174,719,750,766,759,1250,1470,1368,1002,1074,1060,1054,1124,1082,906,725,514,356,428,521,472,572,699,633,525,458,496,488,436,655,861,949,802,712,1004,843,650,558,494,501,389,393,599,611,908,1374,1330,1140,1130,1174,1030,752,1368,1528,1444,1144,1050,1082,1026,893,708,689,695,719,716,728,717,699,736,787,944,982,832,680,425,778,1530,1620,1250,1166,788,615,589,564,632,1086,1001,763,1064,1302,1262,1106,1192,763,499,530,899,1070,1030,1032,980,1066,1192,1300,1166,1100,1362,1400,1172,1198,869,1168,1246,971,1068,1288,1058,774,829,1148,1362,1990,1338,1170,1506,1152,750,780,1009,1260,1288,1050,1098,929,1186,1015,1058,831,703,964,1058,1064,1232,1510,1356,1384,1024,542,496,937,1248,1570,1164,574,415,359,313,366,300,370,780,1188,951,587,480,455,480,529,613,865,979,1078,1318,1330,1436,1874,1762,1009,667,935,1168,1282,1184,936,891,1198,1472,1460,1270,1398,1454,1570,1646,1696,1614,1506,1474,1240,966,1120,1112,636,546,766,479,710,923,1118,916,1172,1312,1074,1078,1154,1262,1410,1360,1168,1142,1078,765,998,1212,1292,1328,1248,1296,1364,1170,1194,1498,1498,1256,902,1104,1230,832,816,1138,1480,1340,894,920,1160,1324,1228,1230,1028,1019,852,885,776,680,1198,1738,1646,1184,892,1174,1230,1104,1176,927,1050,1038,793,803,888,782,736,880,963,794,769,822,807,570,433,340,447,412,355,402,412,304,318,260,294,317,388,365,467,517,709,756,887,824,677,654,689,994,1060,1064,653,288,565,797,620,481,625,775,705,1036,1512,1246,533,337,314,312,300,285,253,238,259,278,269,259,251,237,252,261,301,345,317,498,631,692,722,807,770,857,1290,1554,1666,2484,1514,666,546,1140,1754,1600,916,972,1456,1136,875,1200,929,930,814,878,863,902,1002,977,847,933,1038,1122,834,930,871,744,785,1108,910,621,664,918,741,542,913,972,881,835,800,722,571,403,384,391,390,540,508,329,318,281,283,328,415,423,433,401,413,532,461,422,459,455,440,412,535,509,648,606,360,326,332,287,254,323,436,407,411,563,938,847,559,383,338,558,904,1164,940,502,529,630,508,451,399,356,356,409,477,575,586,543,535,556,550,571,521,586,720,698,749,660,886,1284,1392,1516,1492,1466,1270,976,815,560,561,600,713,1038,1256,1346,1444,1260,1082,1082,937,1256,1080,922,766,929,1144,1206,1200,905,626,931,1348,1142,1020,1158,959,805,620,414,336,383,431,585,877,819,679,532,431,459,552,651,680,522,553,757,974,923,970,1026,879,849,899,776,565,589,586,829,855,747,568,414,354,320,309,325,332,318,307,294,271,266,270,270,269,287,309,343,371,370,382,385,343,348,363,414,451,443,393,308,551,776,636,500,387,354,367,393,356,328,338,341,355,371,362,367,376,395,390,372,365,315,314,567,792,701,632,451,334,341,335,292,383,652,590,367,272,251,248,247,246,298,348,334,321,392,361,277,314,348,340,280,252,255,258,258,255,245,241,238,239,256,268,252,262,281,270,280,292,298,301,306,303,303,310,270,279,335,305,265,261,237,249,361,446,434,375,398,498,688,634,537,537,523,641,536,357,566,1280,1452,920,684,612,548,741,850,497,317,321,404,463,411,540,1506,2522,1710,437,318,289,366,778,1076,1152,943,486,369,632,631,425,547,901,551,551,678,625,430,404,409,508,721,916,758,708,739,508,353,330,338,314,306,316,313,299,283,291,295,299,303,295,278,278,282,275,269,272,284,286,302,317,333,372,378,343,333,327,331,324,326,341,342,331,335,343,344,350,344,350,346,341,344,338,334,318,325,320,312,317,304,294,305,286,294,291,281,281,290,288,286,287,290,296,290,291,291,270,313,300,300,307,306,308,312,328,328,328,362,367,393,410,419,410,403,425,431,423,419,419,411,411,422,405,397,397,394,382,362,365,359,343,341,356,374,362,346,371,374,360,353,350,348,346,329,318,328,337,332,329,325,339,322,323,311,309,305,308,310,309,307,309,317,314,316,335,337,372,375,390,391,386,386,387,392,393,392,393,392,387,395,406,421,441,451,442,407,385,369,353,348,349,351,353,346,330,330,338,347,349,351,367,393,408,401,381,369,377,377,381,374,377,386,391,391,377,370,372,369,361,364,355,353,350,343,333,339,355,372,383,422,445,445,464,472,476,476,474,460,462,468,461,443,443,458,460,454,462,461,447,443,433,410,385,398,401,404,389,371,357,347,330,354,348,330,331,318,321,320,320,330,327,315,301,308,305,306,306,299,299,293,292,293,294,288,292,295,294,293,293,292,282,279,280,287,287,287,287,287,287,287,287,279,275,283,281,281,292,287,288,274,276,281,280,283,289,287,281,278,279,280,293,306,292,305,288,297,310,287,282,290,292,282,282,281,288,288,281,288,288,288,293,296,298,301,307,299,308,307,311,320,324,324,327,327,325,325,325,329,328,309,320,320,326,319,327,314,334,345,332,331,331,336,346,352,346,332,331,327,322,319,327,336,332,322,330,332,331,322,339,334,334,334,332,334,332,334,339,337,330,318,316,319,307,309,324,318,313,314,309,303,300,301,301,302,301,294,295,285,285,282,282,283,282,282,282,284,293,296,291,301,296,299,289,294,295,294,295,297],[267,260,557,959,516,416,325,290,260,266,287,264,280,350,718,901,425,230,227,274,278,322,295,299,255,203,212,229,218,199,254,272,295,235,208,207,207,219,210,212,227,236,228,229,220,216,218,215,206,201,209,223,259,301,323,361,428,496,647,855,1040,1352,928,716,1478,1572,1042,1158,1322,1056,813,697,865,1010,1040,1268,1254,990,982,1088,1184,1212,1354,1614,1704,1382,758,803,723,817,1006,1066,1150,685,343,373,400,407,385,412,544,897,1604,2032,1142,781,620,674,1104,1172,1084,1356,1382,1316,1244,821,949,1484,1328,1372,1080,916,733,416,557,735,576,537,493,402,449,662,869,632,700,958,1009,673,423,606,951,1052,805,935,1256,1304,1372,1360,1178,1598,1610,1348,1348,1470,1308,1148,1338,1180,708,1048,1314,1310,1606,1720,1556,1522,1506,1426,1172,1110,1284,1694,1708,1672,1482,1396,1602,1576,1100,627,575,708,827,880,1122,1284,1038,1144,1018,644,525,516,623,1001,1018,1538,1750,1376,1566,1510,1248,617,515,499,959,1636,1770,1588,1206,773,1096,1532,1156,633,535,1156,760,517,527,496,886,879,886,1266,944,855,933,740,951,997,847,1009,1138,1322,1374,1556,1622,1450,1202,1296,1396,1072,893,631,543,453,473,346,249,455,557,508,695,961,870,623,495,748,1116,1110,629,397,302,434,939,872,331,325,539,540,388,495,687,593,457,392,373,466,567,598,550,449,444,413,510,530,630,761,730,546,496,459,461,516,540,534,377,379,387,393,442,507,540,460,692,1158,1426,1362,1522,1406,1040,746,1048,821,758,580,597,713,749,822,1230,2248,2496,2072,1222,689,854,1136,1104,938,926,1350,1376,1196,1064,1194,1508,1366,1070,846,631,406,385,341,299,385,699,777,640,697,658,655,634,844,1050,1170,1176,1064,843,871,641,404,445,579,849,984,1080,1340,1188,866,661,497,711,1280,1254,1336,1470,1178,736,474,616,741,543,470,390,439,625,766,841,902,1152,1490,1470,1348,1162,848,539,511,644,884,930,828,821,788,787,1056,1340,1378,1204,1070,915,1192,960,702,744,1202,1500,1244,939,855,775,744,561,536,655,651,872,872,705,650,659,564,542,523,488,499,563,645,528,415,457,377,1034,1094,578,553,847,1706,2554,2110,1674,1470,1622,2122,1804,1064,959,1214,1078,959,826,741,662,720,776,586,486,565,541,502,461,472,528,681,759,583,640,716,611,509,565,492,418,387,431,436,412,408,405,507,677,959,1328,1278,1426,1220,747,393,816,896,882,1220,1246,1248,1152,1474,1388,1428,1758,1600,1542,1660,1636,1310,1023,901,885,1021,1310,1108,1230,1440,1140,647,855,780,437,394,611,1256,1704,1438,1020,1040,1098,798,706,935,1366,1380,1146,1318,1440,939,529,568,618,536,529,423,445,555,724,918,827,722,1010,1023,591,390,532,1088,1238,1144,866,619,791,1146,1116,1282,1388,1296,1358,1084,1104,1120,995,681,757,966,1292,1146,1268,1488,1546,1562,1280,805,767,971,1414,1400,1190,1172,1252,1152,1122,1310,1148,855,949,1013,818,1380,1758,1682,1444,1366,1284,1168,1250,1310,1114,844,668,594,739,786,559,469,547,667,601,533,661,724,671,778,977,1216,1094,1030,1306,891,526,507,534,524,371,396,667,792,1020,1468,1356,1152,1094,1100,1074,783,1200,1512,1564,1288,1012,1044,1023,899,719,724,740,781,818,854,884,938,1009,1002,902,838,761,443,462,1232,1356,1394,1216,1130,756,577,546,488,659,1110,1026,728,988,1278,1192,685,566,713,647,777,926,922,1122,1212,980,1104,1074,1166,1174,915,956,1182,1004,883,987,1324,1360,1064,1206,1460,1142,862,987,1152,1606,1988,1044,749,1176,1182,916,918,1015,1260,1340,1030,1062,1046,1009,982,1054,1076,1170,1012,922,1108,1908,2544,1496,1320,1224,872,633,955,1136,1110,780,417,434,390,370,352,294,315,444,741,1260,748,451,449,448,622,884,962,963,1060,1294,1488,1378,1334,1266,1064,1126,1178,1246,1310,1078,1142,1230,1540,1626,1594,1380,1354,1506,1438,1312,1340,1406,1342,1436,1520,1398,1414,1034,454,912,1364,806,618,777,998,1054,1240,1436,1056,723,901,1180,1434,1276,1202,1186,1042,1168,1344,1290,1256,1168,1244,1416,1572,1610,1400,1392,1342,1316,886,1130,1120,634,490,766,1324,1384,917,957,1140,1004,1078,1144,1032,957,888,891,781,655,1126,1604,1430,1110,1268,1396,1214,1174,932,889,1182,1234,996,838,745,499,478,736,941,729,641,499,519,525,441,383,398,396,393,528,619,435,477,480,435,388,552,612,506,439,520,658,716,686,678,734,826,978,938,805,615,766,857,539,573,728,855,876,664,797,1388,1450,689,334,285,298,318,294,243,243,274,277,258,243,250,241,258,258,276,314,325,399,625,818,658,514,514,665,1102,1488,1394,1432,1250,1454,1144,957,1192,1404,919,713,1216,1510,872,1296,1260,985,1166,1260,1034,861,917,1064,717,736,855,1086,910,854,819,546,628,776,766,671,794,1130,1056,562,618,955,930,908,803,709,586,426,333,339,475,683,789,683,539,582,643,670,703,729,562,368,462,595,390,414,430,458,429,312,508,409,395,373,343,344,287,229,245,383,491,336,396,695,1090,999,602,335,284,374,763,1050,984,621,462,878,1186,756,503,414,369,397,474,500,539,560,512,558,594,616,606,614,688,716,851,578,487,821,1222,1330,1310,1424,1406,1436,1096,738,847,1015,1116,1224,1328,1348,1390,1360,1364,1202,720,922,802,1001,952,1206,1444,1034,788,799,842,843,1110,1378,1532,1256,1050,897,690,496,357,363,399,539,593,606,687,568,477,554,643,536,480,647,902,1030,944,737,514,554,519,614,750,570,456,479,528,849,845,648,459,382,440,349,314,313,298,291,292,281,256,270,286,286,284,299,328,352,395,383,353,374,387,423,422,426,435,405,346,305,348,391,322,336,318,348,366,366,329,317,304,297,325,350,333,333,323,335,367,380,357,295,293,361,410,538,645,469,286,315,343,273,281,411,338,255,262,261,264,258,248,342,441,341,300,362,323,311,305,291,274,270,269,251,250,246,241,237,236,236,243,248,257,253,262,259,261,268,266,260,278,298,296,295,289,309,302,345,354,327,307,295,275,269,336,419,403,346,319,394,581,726,726,647,480,323,316,553,1048,1042,604,570,976,759,453,560,752,560,353,521,692,451,477,1036,2526,1906,584,285,254,263,352,686,876,620,358,328,357,535,607,365,650,647,505,362,476,704,718,695,437,598,856,641,497,474,368,316,333,282,262,304,312,323,337,299,295,291,298,317,307,307,270,282,289,283,281,283,297,309,293,311,358,363,336,329,330,330,325,328,338,333,330,335,352,343,350,343,343,342,341,343,342,334,324,309,304,316,319,306,296,306,295,294,289,288,278,281,284,289,306,306,300,299,297,296,290,303,294,302,306,296,302,310,315,340,342,373,362,388,389,431,419,399,429,443,422,420,411,403,396,396,400,405,400,392,383,368,366,362,356,354,341,342,337,336,371,352,356,356,356,352,342,334,332,332,334,336,334,333,334,324,330,321,317,308,307,300,304,309,304,323,315,322,354,354,371,380,384,376,377,383,386,390,390,393,392,391,395,403,408,430,439,440,426,412,406,381,363,353,349,357,354,339,329,336,336,332,338,357,393,421,406,381,373,373,367,361,383,378,381,393,394,381,367,370,375,369,367,361,353,351,350,345,339,337,343,357,380,394,417,417,437,431,472,473,453,425,420,430,431,422,417,412,419,422,411,437,422,407,404,394,374,378,383,384,396,392,344,342,329,332,339,336,329,318,317,317,326,332,337,319,300,305,305,305,302,299,300,295,293,293,293,293,293,293,293,293,293,294,289,281,285,287,287,287,287,287,287,284,287,287,294,287,278,278,287,287,288,287,283,280,280,281,287,287,294,306,296,288,288,284,290,299,288,287,293,285,288,281,271,270,275,280,288,271,280,288,288,289,294,296,302,300,292,292,303,317,317,317,314,324,326,325,327,327,333,332,332,318,334,334,328,322,327,320,329,348,346,343,338,340,348,352,342,328,324,324,321,320,321,330,325,307,328,330,332,319,331,334,332,334,339,336,332,340,339,332,325,328,326,320,316,301,318,319,313,311,307,306,300,301,301,301,302,295,296,273,282,290,289,283,279,283,283,289,288,295,283,299,301,294,297,296,286,291,295,294],[274,281,574,931,568,486,448,363,301,272,277,291,303,311,551,929,676,321,216,269,311,311,218,192,220,225,222,210,232,221,220,177,208,210,199,203,217,246,235,202,225,253,254,235,235,226,228,229,220,214,217,234,256,278,312,373,430,478,662,924,1184,1254,786,507,756,889,695,821,922,861,1236,1390,1070,850,1348,1810,1696,1312,903,810,1284,1610,1664,1848,1632,1318,821,908,977,1128,1230,1046,921,723,399,373,357,342,384,422,469,596,1328,1768,1224,836,686,591,965,990,758,937,1094,1244,1070,941,1016,1172,1246,1544,1300,1312,1332,853,713,800,682,701,763,579,550,718,718,583,624,777,981,907,612,705,969,926,717,1086,1370,1322,1460,1404,1230,1644,1394,824,1296,1688,1512,1280,974,1023,769,1106,1210,1202,1340,1336,1350,1334,1250,1228,1434,1462,1312,1942,1870,1714,1476,1672,1576,1294,1236,1238,1288,838,694,1318,1642,1336,864,959,1096,872,571,628,871,847,735,646,823,1270,1136,1050,1264,958,678,864,1202,1476,1504,1312,1172,909,1086,1278,945,740,799,724,417,619,639,505,899,959,961,1268,1088,1048,805,779,1072,1124,575,506,727,874,1174,1504,1296,940,893,1576,1616,866,623,748,677,537,633,604,451,567,505,368,463,626,577,591,717,614,991,863,503,516,477,509,715,608,408,399,627,570,410,489,819,658,502,477,530,631,643,607,515,401,417,532,737,680,678,684,489,377,406,416,463,470,463,502,541,637,491,443,814,947,628,511,669,1384,1820,1582,1526,1260,1188,1224,1614,1268,1126,1090,1384,1362,844,833,1324,2164,1782,1328,1344,998,724,1072,1282,1336,1302,1004,1200,1548,1406,1484,1622,1358,1238,1068,840,503,309,276,292,556,1144,1288,916,555,528,873,1050,963,1160,1254,1244,1054,777,636,494,472,464,447,575,767,1228,1350,1344,1404,1188,841,844,1012,1422,1834,1542,1192,740,522,905,919,549,357,377,567,868,649,482,619,869,1300,1438,1386,1230,728,481,456,458,554,612,509,454,580,615,656,1026,1316,1156,821,694,813,841,698,927,1490,1492,1142,1170,802,548,456,425,473,518,618,770,784,611,530,526,409,365,361,397,504,722,559,370,385,410,481,1104,1310,1076,1218,1504,1872,1910,1708,1554,1536,2218,2486,2432,1748,1224,1556,1496,1438,1142,910,670,604,618,658,654,631,643,565,654,1214,1390,1080,1100,941,1262,1272,999,705,517,448,462,449,426,412,399,396,431,515,501,594,877,1030,1116,1228,1034,684,744,729,731,827,863,1396,1404,1552,1432,1634,1750,1578,1368,1488,1610,1268,1004,1003,1092,1104,1102,1070,1500,1208,987,688,781,707,424,383,363,529,961,1142,970,961,991,793,885,966,1036,1046,1102,1334,1240,686,403,420,546,685,673,487,411,460,527,693,657,466,615,628,438,437,553,1036,1184,894,589,484,1023,1538,1094,939,787,1136,1344,1094,1028,893,578,497,684,951,1082,1086,1270,1456,1410,1158,1080,903,1154,1158,968,1214,1164,1074,1202,1204,1230,1138,1126,1100,1028,1138,1094,1520,1880,1640,1490,1484,1220,1112,1204,1204,1078,1038,893,561,529,795,829,600,557,628,630,622,618,611,547,576,624,785,1106,1230,1282,791,517,555,587,572,416,342,616,868,989,1422,1290,990,981,1062,1088,845,991,1370,1566,1478,1158,955,956,921,840,850,959,1054,1058,1005,959,926,836,653,417,461,458,378,1008,1438,1136,1060,1134,932,654,598,580,543,823,1306,984,716,1544,1676,1066,777,751,760,875,952,1068,1218,1380,1578,1284,1432,1136,961,1078,673,742,814,604,744,854,1130,1146,964,1154,1418,1428,1224,1274,1032,828,936,971,1154,1396,1376,1312,1338,1060,1116,1164,764,674,752,860,1038,981,1198,1404,1050,800,1020,1152,1166,1116,1324,1412,1032,846,1122,985,663,488,443,479,424,399,338,314,339,425,474,737,982,833,627,930,1240,1142,947,852,1272,1478,1512,1404,1404,1346,1300,1302,1250,1328,1302,1021,1368,1192,1058,1334,1584,1264,1270,1438,1152,1172,1620,1530,1326,1340,1536,1232,1300,1242,1112,1092,942,650,771,1010,1122,1262,1282,1332,1174,908,672,578,915,1194,1412,1174,1202,1404,1258,1228,1356,1270,1406,1380,1442,1644,1692,1748,1764,1582,1228,1354,1322,1017,755,543,722,970,844,840,1036,838,824,1272,1408,1332,1144,923,886,789,996,1040,809,932,1678,1836,1130,986,818,823,1210,1230,1086,1034,818,562,493,756,1072,858,841,623,508,626,589,423,406,430,472,536,717,518,558,599,549,717,711,585,524,489,603,777,800,599,467,537,824,945,845,662,677,1148,997,547,760,755,770,704,591,584,1130,1528,932,386,292,278,297,288,281,278,263,252,257,254,250,233,233,239,255,280,321,346,455,561,436,350,358,459,872,1048,889,623,1028,1366,1240,799,747,854,1268,964,810,1152,1050,1036,961,847,1230,1456,1116,883,855,991,769,688,818,910,1024,889,651,537,730,772,497,570,1064,1410,1360,1017,515,741,887,865,788,726,663,516,401,472,552,764,1048,1010,913,855,918,800,856,939,708,603,647,670,361,381,395,382,366,272,392,436,386,373,325,309,311,285,273,524,477,437,523,819,1094,866,455,384,546,847,858,639,939,965,1202,1746,1954,1550,913,480,396,434,467,475,546,594,552,597,643,655,710,683,811,1116,987,589,456,579,855,1116,958,1360,1436,1336,1130,933,976,1064,1160,1294,1460,1614,1416,1232,1094,1102,766,619,608,766,786,1116,1224,937,843,905,1002,1108,1248,1576,1260,897,996,999,826,634,596,668,413,443,416,436,527,761,564,501,583,531,666,940,1118,1124,1052,993,860,811,494,662,738,491,400,400,385,463,585,642,545,459,623,650,486,329,281,293,276,281,292,286,286,292,301,328,330,330,383,362,322,354,400,404,397,396,407,406,354,346,363,361,312,320,328,300,284,281,284,287,286,289,299,299,287,299,309,305,314,341,320,285,275,278,322,462,521,413,294,271,264,255,254,302,282,280,300,283,281,273,278,356,368,282,241,308,320,350,308,263,265,281,281,263,255,255,261,250,236,239,247,251,249,255,258,251,248,245,260,249,290,273,282,296,291,294,309,329,320,288,279,282,249,248,250,320,386,353,371,507,654,777,880,800,596,577,375,324,364,448,501,575,918,952,650,1120,1412,670,529,515,567,342,315,284,906,901,467,252,263,255,297,439,441,478,697,538,357,395,726,501,559,616,445,325,1015,1620,1028,653,535,846,754,641,463,377,340,332,330,298,283,326,342,343,419,379,320,290,299,316,313,313,297,287,275,279,281,294,300,304,299,313,353,354,335,340,340,336,342,351,351,323,329,331,355,346,349,350,343,354,352,336,338,336,325,312,298,306,289,295,305,303,294,292,289,290,292,287,278,296,305,288,300,311,296,284,303,300,292,303,315,305,305,310,314,340,362,361,371,410,434,438,446,432,435,453,434,420,409,392,394,390,394,397,394,384,383,379,373,357,362,368,360,354,343,338,360,362,347,347,354,347,338,334,329,328,323,334,335,333,327,346,324,322,326,318,312,302,305,323,316,328,326,337,358,366,369,380,375,366,371,372,372,372,380,392,395,399,407,412,407,414,424,424,424,440,402,387,369,361,355,351,344,336,330,332,332,326,346,367,403,412,393,381,374,366,363,355,366,373,376,386,386,371,366,369,366,367,363,355,347,343,343,343,340,342,355,370,377,383,409,411,405,413,438,458,454,427,401,425,433,425,407,402,385,390,402,419,413,409,401,392,385,385,382,384,384,365,348,338,334,336,326,331,327,325,318,309,326,324,321,307,317,313,306,306,300,297,300,296,292,293,293,293,293,293,293,293,292,287,281,283,287,287,288,287,287,287,287,283,281,291,287,278,274,278,285,287,291,295,292,279,280,280,287,287,292,292,284,285,288,287,286,289,288,289,292,292,283,276,270,269,277,279,269,275,284,282,288,288,294,294,294,300,297,297,300,308,326,327,324,325,319,321,324,329,328,325,324,326,329,326,327,327,324,326,328,337,346,352,352,346,351,354,345,331,322,319,320,320,321,330,339,331,346,339,334,330,332,334,334,337,340,337,336,346,339,334,322,324,321,320,321,314,314,315,312,307,308,307,306,301,302,302,298,290,291,282,283,285,272,272,282,277,282,288,289,293,286,288,293,288,276,279,297,294,296,295], ], band4: [[3206,3128,2767,2765,2888,2841,2719,2613,2576,2510,2430,2912,3098,2624,2730,3016,3280,3342,2958,2238,2078,2448,2908,3351,3408,3417,3647,3475,3819,3691,3642,3150,2831,2953,3074,3426,3283,3378,3270,2614,2549,2731,3074,3250,3090,3084,3292,3421,3039,2540,2480,2622,2898,3200,3319,3445,3421,3603,3863,3603,3352,3315,3485,3674,3846,3978,3907,4000,4048,4288,3946,2764,3138,3577,3764,3652,3566,3824,4149,4082,3776,3884,3702,2956,2919,3071,3118,3141,3232,2846,2464,2531,2546,2569,2808,2783,3296,4020,3789,3840,3939,3333,2918,2678,2256,2185,2510,2354,2141,2159,2858,3151,2758,2665,3052,3121,2459,1831,2117,2790,2343,1955,2254,2364,2126,1951,1996,1849,1695,1634,1218,1710,2500,2734,2750,2712,2276,1821,2030,2978,3409,3337,3216,3121,2358,2018,2186,2078,1861,2127,2852,3097,2646,2566,2302,2422,2962,3438,3274,3250,3405,3619,3790,3558,3265,3217,3379,3253,3476,3208,2746,2656,3240,3287,3254,2820,2621,2644,2297,2431,2500,1915,1497,1131,981,882,1175,1984,2887,2786,2273,1817,1787,1438,778,906,1151,2200,2132,2858,3560,3828,3653,3775,4020,3873,3750,3674,3846,4145,4156,3864,3886,4108,3924,3075,3140,3454,3626,3811,3408,3512,4073,3926,3790,3673,3354,3250,3332,3193,3249,3011,2979,3181,3296,3425,3375,3409,3364,3064,3168,3227,3454,3637,3592,3325,3364,3039,2739,2977,3020,2176,1938,1808,1993,2039,2922,4090,4671,3892,3110,3348,3320,3454,3686,3240,3642,4169,3430,2440,2588,2780,2929,3715,3557,3110,3184,3350,3496,4057,4371,3770,3460,3580,3872,4213,3956,3817,3737,3945,4038,4132,4312,3914,3384,2930,2986,3183,3566,3108,1968,1763,2225,2450,2103,2271,2962,3100,3152,3286,3542,3643,3228,2457,2000,2013,2428,2619,2989,3519,3572,3650,3360,2872,2526,2429,2930,3096,2898,3495,3396,2592,2292,2862,2438,2014,2536,2634,2611,2729,2814,3124,2998,3145,3131,2778,2736,2932,2805,2800,3604,3522,3566,2785,2298,2462,2248,1857,2009,2139,2534,2599,2144,1923,1718,1925,2578,2579,2224,1936,2071,2786,2552,2375,3108,2997,2496,2360,2327,2680,1981,2151,2435,2325,2547,3702,4121,3782,3993,4222,3685,3034,3000,2835,3019,3333,2922,2523,2482,2962,3752,3995,3852,3947,4112,3803,3347,3249,3506,3526,3594,3370,3426,3485,3308,3096,3519,3479,3567,3475,2634,2710,2440,2352,2708,2715,2668,2415,2056,2175,2344,2741,2994,3304,3293,2966,2824,2219,2678,3549,3208,3385,3831,3580,3028,3210,3618,3609,3786,3661,2779,1871,1582,1531,1678,2823,3007,2475,2209,2095,2564,2701,2322,2589,3104,3029,2676,3001,3354,3666,3666,3173,2846,2858,3008,3211,2997,2544,2561,2860,3664,3750,3759,3266,3045,2655,3120,3576,3042,2445,2177,2368,2590,2207,2149,2175,2814,2421,1974,1950,2613,2968,2352,2429,3111,2999,2946,3316,3248,3038,2636,2708,3304,3617,4015,3517,3414,3683,3278,2824,2934,3072,2964,2687,2159,2134,2405,2942,3038,3329,3687,3791,3291,2684,2534,2255,2184,2792,2447,1625,1932,1969,1500,1864,2143,2313,2246,2334,2023,1982,2546,2643,2752,2929,2510,2354,2620,2989,3209,3569,3291,2265,1752,1594,1498,2199,2558,2841,3506,2700,1761,1351,1668,1957,1808,1628,2172,2442,2232,3158,3719,2790,2280,2242,2150,1958,1881,1803,1986,2435,2938,2845,2141,2023,1992,2220,2486,2099,2150,2072,1956,2014,2434,2662,2388,2376,2630,2535,2504,2269,2436,2461,2673,2567,2655,2706,2608,2686,2706,3071,2466,1992,2544,2658,2258,2427,2215,2292,2523,2086,1760,1967,2658,3153,3210,3220,2918,2394,2780,3430,3847,3763,3751,3892,3748,3574,3670,3520,3076,3197,3318,3440,3234,3252,3335,3542,3312,3378,3451,3583,3490,3145,3133,3161,3110,3138,2830,2654,2592,2630,2475,2266,2262,2408,2462,2710,3056,3086,2864,2669,2698,2414,2462,2856,2808,3106,3200,3086,3194,3139,3088,3294,3592,3625,3768,3937,2687,2597,2364,2045,2232,2454,2486,2834,2409,2255,2156,1675,1505,1426,1516,1835,2230,1869,1668,2111,2119,2433,2610,2034,1828,1954,1865,2186,1790,2302,2684,2367,1857,1697,2050,2519,2401,2455,2626,2732,3032,3003,2226,2535,2558,2643,2605,2573,2543,2566,2691,2775,2862,2813,2573,2683,2404,2542,2412,2619,2433,2274,2387,2742,2840,2868,3079,2863,2292,2449,2569,2633,2800,3016,2756,2219,1958,1965,1820,1737,1722,1695,1733,1680,1754,1931,2656,3165,3297,3072,2709,2579,2473,2275,2253,2754,2640,2079,2239,2252,2390,2049,1514,1742,1920,1931,1997,1819,2033,2382,2535,2413,2148,2048,2268,1821,2154,2612,2780,2916,3244,3313,3262,3079,2990,2730,2255,2007,2796,3073,2922,2323,2673,2553,1907,1770,2352,2631,2259,2268,2667,3200,3687,3208,1797,1567,1827,1823,2012,2006,2136,2302,2314,2823,2022,1434,1662,1849,1879,2159,2824,3118,2940,2908,3134,3294,3242,2674,2570,3533,3522,2726,2812,2406,2080,1832,2160,2598,2648,2393,2188,2076,2241,2213,2767,2624,3183,3277,3241,3098,2218,1619,1469,1387,1420,1442,1488,1468,2019,2165,2308,2683,2630,1982,1622,1638,1706,1680,2004,2228,2002,1765,1830,1426,1624,1684,2288,2744,2684,2625,2630,2928,3375,3100,2250,1581,1787,1727,1534,1917,2046,1830,1782,1599,2041,2577,2427,1990,1859,2364,1977,2099,2271,2164,2327,2799,2798,2624,2120,1669,1592,1852,2237,1669,1976,3041,2840,2795,2822,2751,2459,2155,2450,2411,2044,2255,2559,2590,2459,1940,1819,1784,1554,1795,1955,1859,1700,1686,1747,1566,1888,2136,1632,1564,1713,1778,1831,2179,2400,2112,1870,1974,2358,2263,1875,1682,1425,1580,1964,1998,1832,1753,2037,2442,2305,1969,2038,2303,2052,2027,1948,1769,1881,2034,2061,2002,1973,2075,2075,2010,1956,1793,2189,2728,3211,4157,3073,2046,2291,2886,3718,3350,2166,1652,1991,2649,2646,2903,2798,2621,3667,3936,2822,2007,2146,2505,2296,2418,2890,2658,2181,1840,2142,2424,2889,3075,2105,1875,2099,2131,2230,1953,1868,2118,2329,2203,1958,1804,1706,1844,2153,2076,1917,2184,2419,2284,2253,2192,2441,2565,2364,1863,2046,1697,1980,2857,2952,2449,2028,1857,2511,3364,3697,3434,2254,2042,1542,1798,2172,2832,3204,3138,2872,2987,3505,3629,3110,3494,3837,3359,3168,2636,2644,3189,3418,3724,3332,2754,2396,2614,2579,3134,3386,3561,3432,3504,3746,3750,3683,3628,3720,3676,3573,3935,3848,2640,2406,3035,3492,2980,2855,2770,2977,3052,3276,3683,3852,3144,2097,2105,2900,3653,3653,3133,2562,2215,2664,3117,2615,1864,2429,3018,2232,1731,2216,1833,1731,1920,1601,1513,1530,1454,1511,1348,1325,1456,1397,1945,2486,2286,2121,2246,1872,1617,1844,1858,1890,2040,2150,2186,2140,1998,2438,2998,2010,1963,2260,2115,2238,1968,1736,1908,1838,1543,1573,1609,1762,1764,2260,2899,2240,1997,2795,2996,3177,3572,3548,3676,3870,3641,3540,3547,3381,3328,3430,3442,3429,3275,3228,3222,3128,3194,3109,2821,2988,3273,2573,2817,3112,2634,2370,2428,1919,1547,1672,1759,1611,1697,1762,1557,1968,2252,1897,1874,2879,3095,3298,3003,2134,1840,1957,2058,2162,1576,1546,1518,1404,1413,1473,1303,1280,1673,1797,1778,1866,1841,1856,1622,1486,1630,1469,1151,1399,1774,2193,2383,2243,2172,1913,1646,2127,3322,2734,1681,1592,1560,1553,1513,2102,2669,2587,2380,1952,1814,2247,2636,2445,1774,1554,1983,2420,2505,2344,1950,2128,1888,1496,1554,1627,1933,1954,1881,1775,1851,1756,1674,2114,1890,1540,1796,2114,2326,2819,2654,1990,1750,1943,1967,1938,1628,1310,1323,1821,2811,3079,2504,2225,2220,1996,2767,2446,1660,1572,1955,1824,1778,1664,1475,1368,1584,1721,1655,1788,2176,2076,2071,3190,2767,2584,2447,2014,1770,1788,2266,2399,1937,1876,2508,2334,1871,2230,2706,2428,1755,1688,1726,1662,1700,1688,1746,1874,1938,2280,2490,2262,2278,3261,3861,3862,4080,3444,2643,2131,2006,2361,3498,3544,3562,2737,2257,3125,3480,3118,2474,2211,2221,1893,2182,2045,1530,1793,1699,2103,2409,2209,2686,3106,3518,3462,2934,2373,1798,2635,2706,2492,2175,2736,2975,2754,3419,3738,3053,2052,1742,2566,3230,2846,1994,1784,1666,2294,2602,3106,2845,2554,2938,3146,2736,2344,2203,2127,2263,3191,2999,3864,3980,3338,3399,4043,4020,2989,2235,2419,2643,1937,2193,3000,3051,2619,2279,2351,2436,2525,2200,2380,2664,2532,2570,2420,3161,3672,3735,4012,3797,3106,3328,2990,1831,1869,2294,2410,3221,3572,3110,3197,2601,1001,1703,2300,1850,1531,1586,1416,1346,2114,2714,3299,3353,3382,3354,3287,3121,3160,3011,2856,2729,2944,3159,3161,3014,2966,2422,2503,2854,3232,3066,2766,2786,2774,3240,3746,3638,3422,3559,3745,3670,3671,3504,3595,3328,3074,3226,3141,3103,3207,3364,3818,3951,3638,3503,3448,3154,3176,3230,3410,3383,3416,3342,3215,3332,3209,2937,2958,2563,2271,2807,2958,2998,2968,2864,2719,2691,2752,2732,2676,2736,2820,2533,2612,2775,2734,2640,2398,2809,3262,3311,2929,2967,3024,2880,3038,2873,2842,3372,3164,2958,2568,2717,3550,3930,3941,3720,3393,3405,3521,3443,3254,2905,2900,3079,2986,3240,3327,3083,3022,3019,2667,2766,3387,3839,3765,3701,3752,3374,2991,2924,3122,3330,3315,3317,3452,3487,3640,3646,3538,3791,3995,3941,3384,3139,3602,3008,2588,2533,2667,2910,3012,3052,2943,2889,3177,3198,3098,2962,2657,2675,2945,2848,3028,3021,3088,3540,3672,3580,3438,3288,3144,2879,2880,3046,2665,2193,2765,3108,2461,2588,2968,3066,3083,3066,2886,2717,2865,2724,2569,2641,2556,2308,2110,1838,1628,1864,2614,3340,2937,2359,2605,3461,3002,2750,3110,3411,3206,3015,2857],[2995,2918,2827,2743,2785,2969,2900,2563,2510,2752,2929,3366,3496,3273,2836,2698,2940,3007,2878,2764,2953,3099,3129,3341,3355,3343,3486,3303,3623,3662,3539,3008,2673,3400,3814,3485,3827,4019,3864,3457,3251,3231,3342,3098,2736,3067,3586,3470,2937,2985,2845,2741,3162,3074,3217,3073,2962,3551,3748,3429,3505,3529,3517,3493,3914,4049,3834,3848,4146,4176,4027,3471,3414,3683,3936,3716,3547,3795,3651,3851,3563,3145,3051,3073,2522,2208,2090,2104,2236,2507,2867,3211,3310,3531,3851,3748,3994,4112,3696,3659,3651,3237,2588,2162,1800,2219,2763,2613,2681,2881,3343,3341,2833,2851,3042,2856,2447,1756,1814,2489,2701,2256,2137,2030,1784,2002,2199,1850,1730,2106,1820,1719,2154,2238,2295,2680,2696,2194,2145,2777,3000,2934,2692,2656,2398,2020,1844,1990,2093,2444,2650,2716,2533,2832,2441,2137,2663,3510,3729,3685,3686,3951,4002,3792,3672,3139,2910,2589,2824,2887,2557,2758,2819,2831,2941,2775,3199,3633,2427,991,923,1319,1603,1772,1758,1935,2535,2570,2185,1459,738,762,1201,1333,1151,1240,1941,2105,2422,3090,3629,3876,3908,3845,3801,3817,3420,3315,3287,3199,3083,2952,3033,3373,3626,3709,4080,4065,3943,3915,3972,4136,4197,4051,3816,4002,3760,3341,3002,2942,3165,3350,3470,3297,3139,3065,3237,3187,3120,3182,2993,2854,3185,3545,3480,3365,3475,3414,2886,3000,3249,2251,1931,2223,2240,1959,2878,3913,4272,3842,3400,3430,3123,3768,3880,3120,3686,3978,3692,2878,2592,2654,3100,3833,3903,3488,3392,3467,3116,3593,4131,4211,3842,3691,3883,3925,3706,3462,3450,3591,3297,3773,4208,3653,2673,2821,3307,3287,3295,2996,2045,1592,1922,2064,1990,2853,3431,3705,3286,3418,3613,3733,3331,2607,2182,2589,2967,2821,3188,2910,2295,2329,2910,3166,2714,2535,3060,3359,3479,3437,2819,2544,3481,4158,2977,2198,2115,1860,2404,2586,2715,3240,3232,3248,3008,2364,2045,2452,3211,3498,3574,3673,3417,2488,2116,1685,1396,1346,1456,1630,1967,2342,2402,2279,1994,2719,2833,2338,2430,2236,1952,2480,2531,2705,3014,2613,2411,2095,1728,1567,2024,2200,2001,1789,2416,3565,3845,3889,3908,3760,3350,3177,3348,3284,3072,3154,3213,2946,2796,3279,3600,3890,4100,3978,4124,3516,3417,3719,3733,3595,3593,3185,3326,3531,3075,2683,3387,3442,3370,3017,2613,2553,2731,2711,2636,2764,2243,1977,2027,1896,1758,1941,2796,3306,3493,3433,3188,2833,3358,3441,3602,3815,3950,3761,3587,3403,3499,3881,3840,3078,2146,1588,1471,1513,1727,2528,2762,2522,2132,1957,2237,2719,2718,2939,2749,2555,2340,2750,3151,3502,3377,3121,3045,2937,2868,2642,2643,3142,2765,2845,3498,3805,4007,3820,3431,3543,3783,3182,2529,2496,2356,2580,2647,2397,2224,2714,3277,2362,2120,2065,2265,2749,2454,2357,2452,2206,2876,2901,2822,2959,2276,2476,2874,3005,3138,2884,2915,2965,2766,2522,2820,3043,2588,2362,2382,2558,2797,2965,2897,3160,3640,3582,2765,1908,1945,1932,1936,2107,2108,1609,2175,2389,1879,1915,2485,2352,1677,1924,1933,1709,2334,2974,2700,2539,2728,2713,2514,2598,3295,3597,3034,2023,1698,1698,1721,2049,2536,3173,3363,2770,2545,2431,2631,2734,2221,1815,1885,2210,2482,2768,3465,3055,2279,2464,2410,2215,2192,2164,2891,3177,3308,3107,2524,2741,2267,1843,2020,2060,2084,2202,2120,2047,2241,2542,2729,2806,3022,3140,3254,3027,2973,3082,3230,3182,3270,3007,2820,2504,2275,2956,2424,1816,2550,2719,2327,2464,2171,2397,2513,2386,2358,2171,2656,2963,3250,3543,3206,3185,3243,3565,3729,3703,3809,3784,3617,3509,3488,3561,3442,3583,3621,3413,2993,3253,3365,3530,3554,3444,3566,3655,3434,3098,2685,2829,3212,3156,2800,2613,2614,2578,2367,2349,2410,2355,2326,2422,2689,2951,2988,2903,2956,2633,2625,2873,2902,2996,3103,3177,3223,3263,3515,3449,3200,3097,3462,4213,3693,2940,2692,2474,2287,2209,1849,2467,2062,2140,2270,1942,1514,1347,1580,1712,1715,1699,1964,1987,2176,2850,3675,3260,2313,1608,1731,2088,1904,1837,1892,1837,1840,1951,1965,2057,2320,2472,2463,2906,3354,2763,1896,2071,2512,2827,2655,2565,2552,2551,2626,2690,2714,2765,2597,2657,2178,2260,2374,2406,2035,1817,2468,2819,3012,3050,2788,2614,2927,3055,2944,2867,3161,3024,2477,2063,2257,2522,2375,2121,1772,1581,1495,1587,1650,1698,1745,1922,2344,2600,2649,2609,2271,2166,1945,2519,2314,1991,2481,2743,2949,2702,2283,2043,1796,1998,2308,1896,2222,2339,2406,2544,2541,2545,2631,2553,2386,2542,2231,1876,2252,2440,2800,3250,3145,2722,2195,2230,3234,3803,3438,2905,2595,2580,2836,2465,2707,2504,2595,2668,3077,3617,4167,3111,1864,1778,1927,2121,2664,2754,2431,2119,2284,2541,1676,1438,2239,2435,2243,2311,2263,2436,2491,2229,2618,3351,3576,2926,2508,3300,3104,2720,2711,2824,2722,2223,2281,2608,2950,2664,2548,2433,2215,2326,2438,2463,2877,3117,3178,3000,2406,1518,1405,1359,1415,1358,1505,1523,2056,2184,2062,2388,2353,1849,1505,1405,1781,2458,2896,2958,2564,2471,2353,1758,1512,1696,2599,2900,2799,3073,3101,3263,3727,3273,2378,2199,2371,1835,1848,2238,1843,1599,1680,2336,2977,2274,1770,1946,1871,2383,1945,1824,2006,2148,2449,2466,2403,2482,2057,1548,1807,2105,2141,1653,1930,3082,3077,2990,2896,2752,2554,2255,1961,1794,1876,1944,1999,2212,2287,2126,1888,1727,1887,2134,1970,1710,1614,1889,2070,1697,2004,2171,1621,1590,1610,1834,2191,2276,2309,2175,2000,2410,3018,2845,2233,2109,1866,1698,1642,1696,1587,1478,2093,2598,2210,2376,1976,2013,2242,2399,1877,1695,1831,1844,1572,1567,1707,1759,2236,2126,1967,2156,2520,2498,2889,3377,2944,2495,2617,3689,3899,2764,1722,1646,2168,2498,3100,3142,2918,2716,3162,3626,2853,1843,2100,2214,2098,2311,2427,2730,1980,1815,2076,2162,2210,2821,2598,2264,2154,1895,1784,1694,1840,2027,2295,2384,2106,1948,1677,1494,1927,2298,1925,1968,2558,2347,2394,1721,1985,2384,2331,2302,2213,1468,1481,2487,2989,2448,1844,1802,2803,3495,3504,3244,2557,2150,1577,1867,2392,2670,2555,2563,2419,2641,3132,3098,2685,2785,2458,1976,2143,2486,3110,3427,3395,3011,2457,2479,1975,1972,2621,3278,3698,3513,3294,3419,3637,3625,3438,3414,3684,3907,3381,3801,4197,3343,2945,3320,3218,2729,2310,2913,3396,3229,3334,3480,3725,3321,1911,1701,2742,3419,3708,3096,2481,2309,2423,3152,3124,1889,1825,2126,2041,1986,1637,1788,1881,2017,1963,2104,2084,1841,1862,1776,1768,1739,1629,1766,1938,1832,1804,1963,1784,1750,1777,1689,1590,1758,2024,1982,1601,1781,2316,2490,2048,1888,2152,2148,2084,2164,2294,2542,2280,1555,1444,1787,2494,1976,1948,2577,2380,2192,2909,3296,3471,3739,3909,3958,3886,3605,3497,3496,3426,3387,3399,3365,3309,3188,3098,3107,3067,3067,3143,2928,2913,3218,3177,3122,2620,2389,2596,2718,2621,2014,1694,2146,1887,1531,1341,1399,1449,1769,1618,1924,2481,2150,2145,2197,1714,1692,1915,2064,2067,1453,1441,1676,1504,1545,1498,1360,1396,1406,1456,1817,1893,1697,1584,1406,1516,1677,1491,1301,1648,1714,1877,2186,1993,1900,1719,1694,1825,2811,2586,2300,2192,1866,1783,1670,2104,2599,2599,2505,2182,2046,2424,2434,2081,1687,1527,2001,2260,2228,2047,1531,1491,1904,1903,1678,1454,1789,2102,1835,1788,1978,1868,1711,1874,1620,1461,1722,1960,2067,2665,2834,2100,1832,1682,1555,1684,1824,1575,1284,1775,2700,2950,2294,1862,2336,2552,2947,2598,1931,1949,2038,1993,2088,1912,1836,1947,1975,1590,1933,2329,2257,2032,2018,2410,3016,3030,2119,2055,2055,1666,1654,1739,1699,1714,2054,2163,1830,1934,2347,2071,1565,1615,1740,1605,1782,1853,1627,1771,2360,2143,2390,2592,2127,2585,3315,3430,3935,3768,3095,2498,1910,2035,2681,2688,2799,3151,3089,3283,3484,2683,2126,2435,2094,1855,2121,1995,1521,1555,1699,2271,2627,2851,2851,2931,3477,3365,3131,2214,1889,2056,1916,2117,2136,2790,3046,2957,3326,3674,3255,2164,1769,2401,2772,2678,1836,1629,1891,1861,2245,2976,2963,2677,2468,2554,2431,1942,1852,1983,2534,3009,2761,3608,4369,3396,2669,2917,2777,2574,2315,2062,2124,1601,2268,2819,2645,2557,2284,2293,2796,2700,2232,2252,2244,2173,2321,2980,3416,3193,3480,4012,3846,3231,2835,2378,2503,2800,2543,2547,3411,3837,3402,3308,2608,1598,1966,2489,2347,2098,1926,1451,974,1434,1970,2678,3140,3444,3443,3297,3160,3118,3272,3481,3329,3396,3566,3632,3119,3029,2920,2988,2895,3020,2677,2612,2965,3014,3028,3400,3626,3394,3108,3425,3639,3796,3834,3790,3560,3351,3294,3166,3187,3196,3406,3957,4031,3760,3867,3921,3817,3588,3539,3453,3206,3410,3492,3424,3464,3251,3194,3253,3061,2778,3013,3128,3056,2864,2799,2701,2954,3003,2642,2602,2849,2667,2366,2351,2367,2501,2465,2494,2785,3083,2861,2640,2842,2777,2464,2464,2735,2941,3444,2976,2668,2745,3158,3531,3485,3430,3432,3375,3520,3743,3688,3319,3009,2602,2706,2960,3519,3581,3270,3200,2968,2471,3166,3742,3935,3765,3639,3660,3263,2891,2864,2909,3173,3581,3755,3659,3654,3711,3631,3363,3803,4012,3875,3160,3211,3519,2998,2685,2908,3024,2415,2301,2409,2386,2368,2941,3163,2696,2422,2405,2497,2789,2928,3096,3212,3283,3382,3172,3264,3229,3239,3154,2676,2828,3083,2576,2115,2643,2631,2250,2675,3361,3295,3066,2919,2909,2563,2759,2944,2864,2752,2313,1718,1875,1864,1471,1430,1974,3197,2923,2638,2710,3585,3416,2610,2841,3183,2996,2921,2833],[2951,2966,3111,2912,2973,3161,3042,2619,2602,3176,3564,3609,3514,3332,2978,2879,3054,3221,3159,3105,3372,3452,3495,3654,3608,3666,3777,3782,3838,3672,3581,3373,3118,3710,3688,3158,3252,3651,3762,3447,3544,3620,3262,3211,3632,3442,3266,3508,3116,3000,3040,2843,2850,3028,3581,3427,2963,3219,3216,3263,3710,3708,3510,3231,3703,3881,3935,3861,3684,3901,4209,4112,3842,4091,4500,4300,3897,4006,3508,3841,3585,2931,2291,2787,2685,2042,2358,2497,2288,3326,3916,3516,3424,3678,3964,4040,4452,4340,3927,3440,2877,2373,2377,2420,2497,3046,3186,2701,2432,2546,2780,2791,2654,2817,3016,2921,2344,1691,1640,2091,2768,2897,2596,2056,2029,2570,2481,1981,2222,2510,2163,2051,2147,2123,2288,2548,2678,2479,2596,2797,2820,2920,2754,2452,2529,2293,1900,2009,1974,2730,3090,3173,2990,2657,2834,3250,3646,3868,3806,3762,3968,3943,3505,3394,3066,2729,2867,2705,2797,3015,3012,3068,2924,2962,2976,3439,3813,3716,1954,774,1368,2577,3016,2850,2423,2412,2170,1260,738,672,1350,2536,3318,3244,2602,2562,2954,2975,3047,3304,3785,4002,3883,3703,4018,4373,3713,3266,2774,2596,2598,2852,2957,2923,3084,3370,3176,3175,3672,3579,3871,3870,3898,3831,3649,3545,3317,3002,2889,3019,3178,3459,3580,3530,3536,2987,3131,3037,2853,2994,2856,2668,2840,3249,3454,3369,3455,3632,3565,3440,3303,2522,1678,1841,2199,2172,2337,2464,2712,2980,2673,2877,3162,3833,3727,2893,3364,3584,3286,2647,2065,2402,3140,3970,4084,3941,3583,3482,2858,3295,3726,4260,3977,3619,3729,3749,3725,3460,3197,3067,3176,3707,3592,3118,3046,3110,3200,3297,3099,2731,2417,2005,2366,2263,2209,3249,3576,3432,3254,3442,3642,3610,3149,2662,2547,2917,2795,2407,2821,2352,1858,2585,2822,2380,2105,2258,2624,3064,3422,3227,2586,2345,2899,3112,2423,2230,1790,1715,2280,2476,2634,3062,3300,3255,3110,2392,2032,2452,3334,3398,3395,3605,2835,2484,2492,1798,1489,1605,1654,1706,2116,2820,2847,2445,2042,2737,2486,2448,2453,1976,1765,1871,2333,3240,2836,2547,2472,2006,1963,1636,2135,2343,2386,2462,2711,3532,3952,4136,3883,3747,3738,3769,3871,3586,3366,3431,3418,3287,3299,3044,2998,3550,3946,3785,3660,3471,3681,3849,3772,3642,3581,3418,3506,3598,2799,2377,3357,3238,3140,2884,2598,2423,2842,3019,3140,2824,2576,2742,2331,1952,1902,2489,3087,2989,3696,3260,2735,3107,3052,2988,3302,3709,3784,3702,3672,3351,3775,3705,3419,2896,2259,1647,1507,1516,1937,2208,2059,2019,1687,1979,2714,3319,3085,3068,2576,2199,2133,2160,2152,2500,2757,2900,3097,2879,2849,2189,2364,2872,2384,3084,3484,3942,4188,3791,3328,3738,3777,3009,2612,2728,2767,2754,2807,3064,2873,3142,3011,2575,2867,2888,2631,2723,2518,2161,2059,2521,2928,3110,3079,2698,2178,2505,2835,2187,1871,2450,2655,2115,2112,2286,2809,2940,2294,2053,2118,2318,2646,3088,3094,3111,3184,3124,2840,2253,2042,2088,1857,2022,2060,2053,2617,2640,2428,2310,2532,2539,2448,2875,2557,1950,2150,3034,2931,2685,2905,3038,2553,2569,3098,2691,2520,2442,1860,1654,1683,1881,2612,3496,3291,2700,2734,2686,2646,2620,2500,1852,1707,2198,3039,2990,2993,2429,1934,2386,2270,2158,2398,2425,2985,3131,3210,3006,2375,2396,2207,2010,2281,2485,2478,2654,1878,1838,2365,3073,2753,2610,2768,3227,3354,3054,2893,3044,3208,3116,3010,2884,2817,2154,2596,2933,2432,1930,2400,2800,2611,2295,2345,2491,2337,2481,2466,2126,2401,2583,2832,2997,2802,3228,3609,3623,3663,3674,3631,3637,3574,3632,3551,3640,3613,3491,3665,3587,3243,3274,3305,3275,3359,3483,3399,3421,3104,3304,2768,2963,3242,2973,2832,2785,2864,2611,2366,2580,2656,2472,2489,2356,2599,3083,3278,3175,3371,3308,3052,3140,3285,3433,3593,3277,3156,3404,3616,3575,3483,3269,3504,4113,4276,3629,3132,2781,2296,2153,2059,2026,1909,1923,2266,2130,1714,1834,1939,1715,1692,1986,2544,2230,2546,3081,3695,3890,3074,1936,1940,2121,2072,2109,2014,2039,2174,2526,2337,2346,2571,2514,2648,2479,2596,2430,2291,1934,2082,2951,2878,2653,2579,2552,2533,2504,2479,2665,2561,2558,2274,2236,2298,2238,2122,2107,2730,2810,3238,2933,2829,3031,3495,3636,3310,3132,3137,2878,2393,2130,2415,2713,2666,2224,1753,1615,1596,1765,1834,1826,1931,1814,1561,1703,1830,1920,1863,1970,1934,2278,2454,2819,2673,2820,2932,2590,2552,2632,2497,2901,2641,2045,2014,2364,2768,2623,2648,2423,2611,2845,2735,2659,2074,1700,1483,1478,1751,2141,2292,2714,2497,2948,4018,3918,3331,3364,3078,3461,3333,2674,2610,2784,3132,3031,3347,4050,4219,3370,2422,2352,2362,2382,3075,3140,2761,2337,2354,2189,2027,2104,2584,2588,2398,2169,2194,2609,2565,2370,2410,2888,3416,2902,2715,3124,2828,2406,2291,2666,2857,2771,2556,2521,2889,2824,2320,2027,2122,2287,2245,2621,3030,2907,2834,3178,2666,1664,1448,1438,1505,1560,1800,1797,1813,1844,1867,1895,1842,1710,1469,1474,1638,2125,2480,2709,2185,2070,2197,2061,1797,1842,2319,2799,3178,2878,2459,2983,3573,3175,2313,2212,2189,1949,2166,1849,1361,1360,1610,2476,2576,1996,2327,2424,1748,1529,1673,2142,2344,2060,1971,2330,2101,1809,1698,1475,1896,2360,2468,1806,1635,2595,3155,2753,2465,2357,2166,2101,2024,1930,1798,1708,1844,1991,1986,2157,2265,2285,2656,2610,2216,2322,2112,2342,2498,2055,2114,1895,1533,1746,1973,2093,2275,2103,2287,2441,2598,2697,3045,3056,2228,1878,1787,1654,1575,1540,1635,1451,1861,2097,2178,2433,1746,1614,1856,2370,2500,2253,2114,1837,1733,1869,1731,1913,2522,2071,1841,2242,2587,2511,2472,2467,2548,2209,2340,2934,2652,2205,1763,1650,1931,2298,3124,3487,3186,2898,2591,2393,1987,1719,2152,2511,2316,2091,1962,2193,1716,1960,2402,2627,2518,2619,2605,2367,2014,1633,1700,1881,2216,2221,2238,2452,2645,2281,1632,1634,1860,2331,2553,2263,2276,2119,2336,2156,1974,2209,2220,2329,2044,1491,1747,2174,2698,2618,1869,1822,2912,3381,3287,3160,2858,2106,1931,2313,2512,2596,2535,2653,2495,2315,2298,2051,2018,2248,2354,2518,2784,3086,3285,3311,3221,3242,2770,2387,2112,1896,2792,3288,3310,3364,3304,3232,3465,3515,3296,3406,3610,3761,3354,3448,4003,3577,2763,2779,3304,3166,2904,3332,3342,3199,3350,3359,3703,3702,2496,2566,3042,3045,3382,3083,2480,2363,2537,3002,3384,2287,1794,1605,1832,2065,1806,1893,2306,2510,2604,2575,2360,1989,2257,2248,1804,1723,1623,1818,1851,1580,1563,1553,1626,1634,1754,1942,2149,2019,2042,1708,1395,2174,2836,2651,2387,2631,2880,2155,1621,1643,1794,1794,2003,1680,1776,2439,2879,2097,1668,2336,2927,3039,3273,3308,3320,3403,3659,3632,3649,3616,3515,3425,3398,3422,3391,3265,3243,3226,3096,3134,3228,3259,3366,3121,2898,2844,2800,2474,2388,2671,2741,2731,2668,2368,1931,1795,1498,1397,1428,1524,1894,2096,1995,2363,2319,1769,1839,1666,1661,1637,1728,1797,1768,1582,1640,1582,1460,1715,1796,1477,1373,1421,1552,1844,1877,1653,1405,1407,1578,1573,1460,1370,1726,2191,2088,1968,1888,1964,2000,1850,2202,3282,3503,3442,2898,1987,1534,1655,1773,1977,2530,2477,2268,1950,2405,2409,1933,1689,1579,2275,2670,2231,2134,1638,1839,3188,3185,2610,2447,2355,2166,1869,1920,2082,1860,1679,1578,1406,1383,1620,1560,2081,2105,2214,2433,2391,1838,1642,1593,1711,1644,1386,1604,2752,3105,2182,1776,1938,2399,2369,2412,2261,2072,1916,1882,1648,1774,1851,1925,1591,1543,2186,2620,2285,2020,2177,2499,3388,3234,2512,2350,1988,1650,1793,1686,1713,1893,2464,2574,2094,1946,2233,2130,1618,1510,1543,1985,1830,1854,1825,1894,2125,2375,2972,2976,2325,2228,2632,2958,3885,3597,3335,2917,1978,1969,2398,2668,3267,3793,3797,3864,3450,2296,1869,2068,1731,1883,2441,2548,1896,1581,2014,2239,2418,3067,2795,2601,2866,2357,2291,1448,1649,2331,2476,2328,2282,2509,2596,2269,2772,3332,3311,3200,2387,2521,2884,2751,1942,1948,2145,2079,2441,2727,2667,2685,2401,2045,2177,2018,2101,1882,1859,2249,2860,3759,4228,4184,3587,2832,2268,2372,2301,1994,1883,1749,2388,2680,2221,2198,2500,2477,3010,2902,2176,2455,2776,2509,2375,3222,3697,3332,3453,4074,3634,2412,1988,1899,2587,2746,2367,2436,2801,3664,3986,3619,2418,1157,1665,2439,2352,2314,2308,2123,1055,1234,1383,1937,2888,3207,3164,3008,3116,3179,3382,3814,3852,3853,3751,3644,3176,2977,2912,2754,2639,2778,2658,2656,2809,3028,3116,3274,3441,3194,2872,3420,3805,3906,3845,3719,3429,3249,3302,3342,3186,2901,3055,3982,3943,3708,3794,3926,3970,3536,3528,3784,3528,3276,3736,3698,3397,3351,3542,3341,3119,2878,2785,3075,3110,3019,2943,2941,3001,2770,2646,2680,2736,2784,2850,2719,2600,2284,2064,2205,2737,2977,2667,2664,2425,2547,2326,2487,2784,2938,3261,3055,2751,2842,3174,3099,3078,3034,3222,3265,3686,3785,3654,3522,3676,3663,3507,3422,3455,3576,3374,3250,3330,3111,3286,3664,3777,3562,3630,3520,3083,2720,2711,2969,3190,3688,3814,3550,3697,3804,3699,3558,3830,4003,3876,3259,3258,3360,2898,2778,3190,2875,2223,2178,2528,2462,2533,3061,3320,2939,2734,2558,2384,2723,2882,3162,3128,3110,2961,2757,2813,2820,3002,2974,2720,2840,2902,2478,2159,2384,2076,2212,2514,3006,2633,2208,2041,2337,2189,2196,2627,2094,1890,1681,1460,1632,2073,2213,1750,1672,2526,2460,2543,2973,3428,3387,2489,2214,2808,2906,2891,2706],[3196,3083,3143,3146,3216,2866,2554,2369,2569,3266,3559,3306,3128,2905,2755,3040,2976,3239,3340,3425,3821,4054,4165,4094,3717,3623,3662,3737,3587,3211,3534,3876,3518,3607,3258,2342,2108,3317,3885,3613,3581,3212,2552,2821,3018,2749,3021,3500,3313,2915,3068,3152,2805,2965,3444,3423,2847,2531,2872,3307,3296,3436,3354,3414,3514,3471,3727,3740,3687,4082,4205,4012,3817,3915,3884,3905,3526,3620,3930,4228,3994,3759,3603,3464,3078,2819,3362,3293,2882,3730,4332,4113,3570,3433,3841,4100,4140,4086,3384,2597,2469,2753,3188,3056,2931,2487,2585,2633,2407,2081,2261,2667,2464,2069,2216,2604,2476,2094,2359,2431,2919,3111,2921,2588,2445,2598,2375,2145,2353,2300,1942,1946,1931,2141,2422,2495,3065,3330,3285,3270,2951,2919,3054,2917,2576,2405,1958,1818,1779,2508,2821,2799,3111,3329,3714,3939,3827,3791,3651,3720,3915,3642,2714,2942,2865,2834,3190,3202,3236,3296,3483,3829,3829,3972,3702,3632,3298,2377,1075,733,1825,3086,3285,2842,2375,1630,847,780,1354,2163,3063,3653,3519,3519,3538,3329,2956,2625,2387,2708,3696,3924,3785,3364,3670,3936,3942,3373,2996,2990,2946,3063,3209,2921,2315,2204,1650,2508,3268,3344,3372,3497,3707,3431,3328,3397,3194,3075,3105,3104,3186,3288,3362,3552,3443,3304,3432,3186,2994,3078,2974,2707,2495,3243,3587,3297,3435,3589,3144,2472,2784,2398,1769,2070,2487,2461,1916,1836,2131,2577,2433,3012,3383,3290,3329,3066,2866,2961,3415,2783,1831,2403,2957,3528,3475,3986,3555,3226,3008,2994,3529,4025,3883,3884,3750,3536,3549,3340,2730,2723,3326,3493,3370,3193,2785,2661,3154,3480,3118,2955,2665,2568,3267,2828,2543,3074,3411,3187,3011,3139,3372,3431,3316,3254,3143,3031,2840,2389,2053,2454,2454,2503,2251,2124,2295,2234,2579,3285,3277,3311,3030,2187,2503,2666,2056,2151,2125,2053,2100,2042,2338,2677,2674,2543,2802,2438,2272,2780,3229,2700,2468,2967,2891,2754,2756,1930,1765,2280,1879,1750,2353,3009,3051,2259,1786,1696,1913,2360,2393,2215,1630,1626,2603,3532,2965,2438,2217,1992,1964,1910,2037,2136,2755,3179,2599,3410,3876,3705,3464,3838,3895,3905,4176,3613,3163,3398,3169,2885,2817,2442,2437,2834,3912,3933,3153,3167,3434,3523,3563,3688,3816,3755,3874,3940,3670,3670,3450,3118,3036,3096,2310,2203,2753,3017,2690,2590,3065,3162,3029,2525,2098,2819,2979,3338,3843,2973,2843,3311,3227,3247,3414,3993,3983,3559,3522,3530,3880,3647,3209,2440,1814,1548,1624,1650,1813,2082,2203,2269,1968,1898,2437,2839,2918,2800,2511,2432,2356,2115,1836,2045,2258,2304,2954,3440,3238,2641,2840,2910,2576,2817,3542,3936,4024,3451,2805,3713,3834,2857,2974,2876,2852,2579,3039,3374,3255,3098,3025,3166,3598,3560,2973,2525,2491,2564,2778,3011,3530,3953,3342,2379,1900,2241,2842,2590,2191,2449,2994,2656,1859,2047,2974,2829,2379,2330,2491,2473,2271,2855,2976,3067,3140,2894,2459,2374,2002,1968,1996,2324,2176,2215,2435,2534,2788,2132,2186,2583,2761,2995,2563,2055,2586,3179,3108,3074,3131,3205,2578,2491,2679,2127,1958,2648,2330,2002,1909,2141,2666,3130,2814,2226,2234,2418,2055,2375,2516,1876,1638,1943,2375,2566,2490,2202,2316,2321,2180,2179,2139,2060,2133,2207,1902,1880,2023,1925,1863,1930,2593,2655,2198,2065,1616,1679,2334,2931,2884,2584,2713,3255,3124,2753,2710,2806,2999,3124,2997,2853,2560,2227,2463,2542,2558,2336,2697,3188,3167,2632,2691,2855,2802,2920,2352,2210,2402,2233,2189,2249,2584,3287,3481,3435,3550,3589,3565,3540,3522,3563,3597,3671,3675,3628,3604,3410,2984,2765,3062,3308,3307,3243,2798,2852,2954,3429,3415,3494,3322,2988,2971,2836,2647,2511,2511,2521,2629,2565,2519,2625,3019,3433,3553,3621,3760,3663,3648,3287,2848,3206,3531,3330,3165,3292,3221,3496,3675,3466,3474,3914,4177,3539,2917,2668,2472,2401,2357,2266,2123,1856,2108,2192,1947,1887,1840,1743,1786,2249,2785,2301,2677,3153,2953,3199,2969,1992,1865,2262,2561,2105,1829,2033,1942,1947,2243,2591,2145,2189,2291,2008,2166,2508,2874,2641,2335,2783,2645,2349,2509,2617,2595,2603,2450,2468,2364,2331,2313,2253,2261,2096,2208,2364,2680,3207,3208,2937,3210,3461,3538,3454,3230,2811,2619,2644,2232,2184,2329,2562,2444,2089,1833,1743,1798,2110,2136,1988,2106,1771,1934,1795,1515,1615,1772,1897,2061,2258,2680,2988,2887,2946,2864,2873,2713,2546,2338,2364,2869,2663,1692,1734,2535,3120,2823,2248,2585,2772,2586,2535,1926,1502,1433,1435,1424,1613,1634,1776,2102,2761,3561,3696,3384,3627,3544,3688,3238,2759,3111,3532,3278,2857,3320,3875,3745,3244,2745,2777,2459,1932,1578,1786,2036,2459,2316,2417,2633,2148,2067,1979,2008,2096,2098,2072,2280,2357,2301,2436,2722,2452,2349,2567,2498,2286,2510,2602,2185,2066,2164,2350,2231,2253,2143,1879,2219,2493,2342,2422,2481,2159,2667,3804,3017,1771,1459,1415,1900,2367,2330,2263,2061,1732,1913,2129,2275,2167,1917,1713,1437,1518,2076,2233,1842,1945,2360,2446,2344,1969,1929,2308,2446,2370,2504,2797,3002,2879,2586,2657,2447,2062,1826,1643,1504,1589,1635,1907,2045,2470,2807,2370,1977,1851,1674,1942,2299,2255,1764,1840,1783,1699,1860,1926,2098,2265,2578,2452,1845,2139,2514,1779,1986,2026,1939,1716,1686,1753,1432,1529,2052,2265,1925,1720,2008,2221,2427,2384,2123,2115,2035,2320,2520,2363,2297,1924,1516,1709,1933,1777,2160,2552,2346,2458,2745,2525,2413,2150,1896,1929,1848,1603,1453,1245,1313,1528,1730,1732,2078,2144,1577,1770,2039,2430,2847,2629,2600,2657,2384,2255,1918,1759,1669,1399,1508,2002,2409,2598,2160,1835,2051,2174,2040,1953,2301,2281,1880,1576,1664,2878,3653,3529,3235,2996,3005,2613,2012,1885,1856,1735,1755,1868,2029,1819,1884,2409,2739,2725,2589,2588,2107,2011,1907,1676,1754,2036,1954,1998,2398,2546,2777,2197,1644,1635,1610,1939,2491,2391,1964,2045,2504,2976,2723,2487,2758,3186,2819,2385,2976,3221,3154,2691,2170,2556,3620,3786,3484,3441,3110,2319,2073,2498,2586,2356,2298,2126,2086,1689,1709,1925,2278,2737,2866,2777,2683,2788,3107,3094,3088,3188,3084,2499,2028,1899,2547,2738,2875,3493,3713,3668,3872,3774,3583,3300,3062,2987,2541,2620,3341,2865,2142,2590,3227,3483,3730,3729,3485,3311,3425,3628,3874,3882,3395,3378,3442,3132,3081,3140,2566,2467,2795,3040,3550,2874,2098,1685,1443,1380,1632,2294,2771,2667,3110,2760,2154,2085,2574,2944,2248,1643,1622,1741,1582,1588,1494,1519,1661,2026,2497,2536,2306,2097,1907,1840,1801,2474,3238,3096,2578,2909,3082,2087,1605,1588,1718,1848,1749,1856,1744,1903,2121,1815,1664,2270,2990,3136,3222,3080,3045,3228,3399,3291,3470,3481,3329,3366,3320,3311,3341,3257,3244,3324,3231,3179,3075,2966,2855,2620,2401,2332,2465,2724,2857,2832,2729,2654,2640,2699,2269,1737,1541,1426,1411,1572,1880,1965,2072,2561,2573,1600,1695,1693,1854,2057,2327,2018,1694,1902,2039,1773,1553,1879,1930,1466,1456,1463,1539,1792,1774,1758,1361,1458,1801,1816,1632,1577,1918,2255,2097,1794,1694,2142,2056,2009,2684,3620,3847,2985,2085,1849,2057,1932,2051,2035,2170,1937,1766,1767,2294,2368,2008,2050,2254,2305,1935,2162,2469,1857,2468,3834,3775,2573,2138,2520,2271,1710,1666,1768,1791,1705,1354,1391,1442,1496,1700,2649,2662,2645,3128,2586,1825,1847,1675,1699,1808,1710,2081,2895,3109,2183,1686,1808,1881,1792,1707,1726,2103,1871,1875,1962,1718,1687,1610,1143,1092,1571,2068,2066,2019,2121,2360,3020,2536,2017,2432,2089,1893,2084,2332,1979,1792,2565,2825,2338,1982,2110,1720,1454,1556,1404,1782,1812,2025,2006,1837,1742,2124,2713,3112,2851,2693,2814,3152,3549,2742,3207,3423,2477,2197,2983,3736,4169,4078,3752,3712,2908,2202,1879,1866,1852,1798,2503,3084,2479,1783,2443,2988,2551,2821,2123,2244,2655,2432,2047,1674,2137,2623,2280,2330,2336,2230,2525,2352,2697,3110,3317,3805,3577,2945,2771,2480,2003,1995,2332,2363,2118,2543,2185,2668,2636,2148,2537,2118,1792,1910,2364,2792,3526,4172,4208,3850,3321,3141,3219,2911,1997,1721,1692,1754,2016,2232,2215,2268,2380,2170,2669,2965,2338,1942,3294,3553,2509,2614,3438,3208,2791,3022,2603,1873,1815,2342,3089,3033,2879,2824,2764,3361,3750,3582,2393,871,1454,2135,2313,2495,2830,2518,1499,1178,1357,2020,2625,2780,2116,1825,2889,3318,3418,3772,3834,3791,3607,3551,3058,2790,2831,2540,2644,2899,2479,2476,2318,2725,3411,3509,3414,2829,2675,3399,3895,3993,3927,3608,3217,3267,3299,3035,2690,2568,2956,3720,3880,3840,3928,3907,3841,3653,3587,3897,3698,3110,3848,3683,3395,3439,3469,3328,3182,2922,3027,3230,3241,3117,2944,2831,2423,2490,2651,2655,2667,2753,2736,2820,2785,2425,2177,2171,2522,2699,2494,2574,2262,2431,2120,2307,2708,2931,2928,2864,2819,2996,3095,2957,3053,3046,3138,3377,3690,3473,3470,3587,3759,3980,3879,3611,3443,3508,3405,3399,3205,3007,3299,3710,3576,3244,3261,3227,3123,2985,2795,3234,3605,3909,3686,3617,3901,4004,3919,3846,3781,3847,3591,3293,3505,3272,2979,2994,3142,3107,2844,2779,3232,3305,3002,2755,2845,2474,2042,1854,2170,2689,2984,3033,2911,3144,2695,2285,2370,2296,2024,1991,2358,2428,2332,2182,2065,2376,2473,2251,2054,1788,1393,993,1010,1506,1229,1123,1674,1429,1794,2264,2234,1572,1874,2186,2139,2241,2380,2178,2139,2855,3601,3421,2445,2021,2745,2862,2776,2976],[3082,2907,3100,3168,2855,2326,2352,2482,2449,2809,3062,2957,2840,2543,2534,3028,3081,3216,3374,3595,3880,3962,4097,3980,3582,3454,3484,3731,3806,3005,3074,3688,3960,3809,3542,3246,3727,4476,4072,3719,3676,2608,2298,2587,2856,2942,2763,2758,2874,3030,3516,3428,3221,3211,3051,2834,2460,2347,2472,2585,2656,3240,3474,3186,2822,2761,3420,3861,3814,4392,4275,3158,3296,3441,3458,3472,3366,3349,3558,3838,3814,3559,3466,3382,3485,2708,2940,3499,3220,3465,3886,3949,3666,3535,3816,3560,2941,3031,2818,2861,3045,3518,3642,3212,2965,3027,3106,2910,2713,2609,2552,2470,2230,1902,1913,1964,2259,2151,2290,2602,2866,2800,2786,2806,2778,2664,2633,2548,2499,2401,1948,2003,2549,2896,2896,2599,2915,2987,2734,2728,2840,3172,3395,2942,2465,2524,2426,1995,2182,2832,3178,3375,3805,4152,3886,3266,3451,3729,3725,3382,3108,2805,2849,3286,3438,3484,3561,3592,3696,3613,3879,3792,3330,2718,1962,1565,1404,891,635,1394,2609,3118,2939,1839,980,785,1446,2796,3594,3816,3517,3598,3741,3397,3374,3636,2805,2400,2829,2775,3480,3631,3297,2612,2783,3399,3666,3076,2734,2661,2614,2859,2890,2626,1814,1487,1829,2735,2853,2787,2974,3509,3627,3165,2965,3104,3260,3294,3250,3322,3462,3396,3111,3395,3354,3232,3321,3185,3028,3226,3122,2924,2540,3256,3498,3288,3470,3317,2436,2175,2432,2060,2085,2627,2787,2421,1793,1722,2106,2656,2695,2415,2188,2206,2653,2753,2286,2257,2617,2378,1925,2762,3272,3061,2859,3563,3226,3100,3129,3046,3372,3683,3549,3672,3497,3463,3473,3099,2667,2873,3320,3409,3622,3572,3250,3664,3696,3645,3164,2863,2494,2977,3643,2957,2632,2899,3103,3449,3671,3516,3112,3317,3343,3794,3632,3187,3366,2565,1553,2166,2364,2432,2574,2409,2199,2080,2115,2500,2839,3111,2802,2482,2784,2775,2635,2913,2743,2286,2189,2113,2972,2875,1937,1619,2095,2243,2369,2886,2545,2103,2190,2493,2490,2578,2468,1861,1680,2166,1797,1702,2150,2426,2580,2177,1750,1644,1731,1850,2104,2201,1746,1777,2806,3614,3073,2293,1844,1871,2072,1907,2416,2839,2542,2604,2432,3385,3660,3210,3044,3798,3867,3649,3627,3300,2888,2766,2670,2785,2632,2610,2571,3361,4104,4196,3763,3321,2942,2880,3304,3733,3876,3826,3905,3816,3375,3760,3569,3103,3266,3140,2564,2255,2404,2612,2199,2491,3428,3476,2964,2626,2148,2671,3144,3577,3716,2974,2556,2839,3227,3484,3492,3740,3638,3374,3440,3349,3601,3410,2986,2163,1590,1497,1453,1588,2155,2131,2292,2554,2168,2155,2222,2372,2766,2573,2541,2547,2292,2135,1742,1745,1946,2231,2755,3596,3885,3504,3430,3163,2344,2845,3896,4025,3940,3031,2636,3560,3164,2854,2918,2683,2487,3020,3516,3424,2739,2210,2614,3061,3173,2635,2775,2304,2500,2828,2954,3008,2940,3220,2952,2458,2314,2255,2422,2853,3124,2783,3455,3164,2020,2097,2776,2763,2479,2419,2558,2714,2374,2933,3355,3310,3234,2320,2292,2363,2357,3204,3592,2928,1837,1665,1864,1790,2142,1830,2392,2940,3103,3065,2886,2800,3149,3287,3200,3152,2964,2519,2011,1962,2250,2656,2785,3005,2932,2618,2479,2508,2536,2432,2213,2381,2096,2271,2177,2448,2321,1816,2033,2246,1964,2083,1832,1707,1843,1787,1865,2161,2012,1706,1617,1493,1576,2409,2490,1765,1687,1682,1734,1692,1816,1750,1712,1653,2136,2750,2554,2480,3196,3256,2600,2254,2766,2752,2938,3103,2861,2783,2744,2534,2134,2534,2662,2745,3176,3513,3682,3278,3300,3421,3208,2708,2462,2392,2042,1823,1734,1862,2260,2601,2980,3251,3444,3453,3447,3483,3479,3418,3441,3582,3674,3610,3476,3309,2918,2819,3247,3418,3212,3285,3160,3264,3605,3731,3459,3084,2802,2832,3181,2938,2596,2539,2641,2750,2640,2611,2824,3045,3217,3274,3122,3484,3281,2600,2316,1885,2000,2545,3177,3429,3408,3142,2954,3422,3645,3416,3241,3497,3804,3458,2843,2521,2188,2271,2047,1954,1783,1663,1986,2294,2103,1616,1737,1861,1833,2036,2238,1990,2135,2435,2498,2702,2396,1653,1454,1601,2127,2004,1819,2151,2172,2360,2605,2376,2126,2260,1782,1842,2182,2288,2791,3464,2950,2751,2632,2480,2504,2762,2855,2691,2480,2462,2435,2264,2250,2287,2318,2087,2118,2292,2779,3141,3087,3255,3374,3601,3608,3424,3178,2620,2818,2809,2222,2058,2106,2332,2446,2166,1814,1825,2316,2767,2547,2199,2166,1974,2043,1801,1682,2079,1990,1698,1731,1979,2467,2688,2818,2862,2472,2254,2135,2078,2289,2191,2602,2645,1928,2003,3034,3395,2788,2430,2674,2755,2696,2768,1969,1483,1430,1370,1412,1504,1666,2007,1973,1806,2222,2899,3449,3263,3154,3699,3430,3337,4060,3684,2268,2048,3090,3754,3540,2742,2135,2190,2240,1843,1476,1524,1852,2116,2001,2174,2342,1873,1738,1687,1701,2195,1869,2009,2028,2104,2359,2072,2108,2288,1986,2208,2168,2005,2545,2607,1968,1787,1969,2018,1990,2004,1946,2031,2399,2505,2344,1964,1914,1807,2612,3299,2730,1910,1714,1518,2070,2927,3031,2641,1986,1636,1808,2019,2116,2065,1876,1484,1336,1399,1758,2190,2114,2038,2317,2421,2610,1821,1864,2469,2567,2798,2662,2565,2646,2495,2696,2954,2415,2035,1516,1622,1622,1776,1755,1801,2230,2372,2137,1867,1934,1908,1772,1644,1901,1861,1503,1410,1746,1899,1644,1669,2075,1992,2056,2548,2220,1957,2130,1826,2065,1575,1726,1646,1462,1553,1461,1500,1873,2122,1884,1587,1726,2048,1743,1866,1714,1544,1692,1959,1938,1925,2104,2244,2085,2087,2115,1765,1871,2210,1959,2015,2478,2764,2157,1659,1731,1476,1793,2076,1760,1425,1307,1554,1504,1601,1747,1680,1524,2056,2465,2285,2297,2135,2940,3397,2890,2303,2227,1893,1728,1548,1556,1726,1924,2194,1710,1704,2056,1857,1853,1976,2167,1936,1916,1722,1578,2380,3200,2996,2886,2869,2636,2784,2548,1885,1827,1795,1914,2260,2106,1888,2392,3042,2856,2746,2986,2856,2332,2402,2056,1757,1830,1980,2098,2536,2599,2381,2522,1981,1845,1515,1460,1632,2236,2438,2117,2227,2588,2869,2872,2717,2723,2494,2821,3248,4080,4369,3621,2842,2403,2975,3740,3563,3282,3352,3020,2351,1999,2898,3046,2850,2364,2008,1732,1582,1881,1640,1604,2600,2792,2628,2843,2761,3056,3172,3164,3104,3045,2453,1889,1974,2415,2689,3174,3698,3985,4039,4160,3871,3196,2595,2264,2238,2134,2321,2774,2596,2419,2830,3175,3361,3637,3635,3694,3777,3562,3416,3249,3462,3540,3168,3178,3041,2987,3387,2729,2735,3172,3506,3918,3506,2398,1699,1223,1121,1926,2536,2493,2097,2402,2534,2351,2535,2464,2500,2106,1622,1832,1837,1875,2062,1794,1524,1750,2130,2332,2196,2019,1912,2101,2514,2126,2040,2880,3117,2668,3040,2894,2344,1792,1881,1696,1623,1662,1787,1656,1779,2007,1870,1860,2203,2822,3045,3054,2914,3117,3278,3241,3304,3642,3562,3322,3300,3308,3307,3130,2907,2698,2518,2397,2114,1969,1843,1786,1873,1927,1837,2034,2515,2868,2827,2753,2820,2696,2449,2562,2112,1532,1361,1332,1571,1688,1810,2100,2322,2636,1996,1781,1866,2150,2179,2309,2054,1659,1730,1600,1465,1528,1659,1583,1510,1576,1564,1771,1954,1994,1747,1554,1769,1791,1871,1703,1656,1750,1802,2283,2311,2282,2374,2009,2231,2901,3061,2576,1694,1391,1515,1847,1714,1948,1936,1808,1639,1750,2088,2630,2735,2502,2498,2248,1805,1704,2944,3191,1955,2511,2977,2532,2150,2052,2104,2088,1990,1780,2072,2398,1729,1556,1503,1404,1417,1793,2312,2460,2822,3221,2475,2100,2503,2336,2080,1935,1590,1652,2005,2222,1879,1614,1866,1980,1553,1560,1805,1945,1907,1831,1985,1919,1644,1427,1306,1622,2149,2037,2004,1846,1700,1610,2344,2646,2722,3084,3024,2492,2431,2806,2157,1477,1884,2370,2149,1810,1944,1773,1730,1584,1461,1627,1982,2077,1627,1510,1760,2148,1967,2428,2743,2358,2285,3127,3340,2619,2709,2940,2423,1926,2399,2599,2952,3408,3269,2965,2448,2133,1778,1748,1885,1969,2071,2164,2536,1943,2710,3194,2583,2422,1905,2413,2690,2558,2823,2887,2964,3186,2392,2200,2247,1771,2182,2337,2897,3117,3163,3719,3523,2399,2018,2133,2030,2237,2406,2744,2359,2666,2341,2821,2470,2322,2470,1897,1556,1993,2620,2396,3729,4339,4280,3630,2879,2968,3605,3444,2454,1874,1883,1852,1808,2020,2148,2278,2154,2084,2698,2942,2338,1890,2814,3444,2889,2511,2840,2552,2338,2605,2771,2484,2316,2824,2912,3134,3276,3017,2900,3279,3726,3693,2600,1256,1597,1951,2338,2591,2476,2370,2157,1882,1838,1880,2098,2010,1755,1803,2510,2977,3375,3719,3914,3802,3704,3719,3504,3311,2941,2708,2903,2722,2653,2708,2611,2730,2983,3264,3234,2808,2807,3369,3745,3940,3915,3539,3105,3004,3302,2833,2347,2557,3085,3574,3826,4092,4047,3715,3639,3410,3327,3310,3207,3204,3595,3591,3681,3847,3797,3847,3575,3186,3542,3411,3187,2830,2604,2477,2290,2348,2535,2762,2645,2646,2874,2878,2710,2426,2264,2445,2531,2923,2915,2900,2587,2476,2282,2320,2852,3183,2997,2827,2782,3078,2800,2883,3292,3417,3359,3422,3164,2988,3378,3780,4133,4352,4092,3765,3365,3433,3343,3330,3055,2844,3184,3640,3594,3165,2967,2974,3320,3473,3177,3132,3469,3772,3894,3918,3999,4094,4001,3852,3901,3979,3609,3538,3857,3363,2978,2886,2569,2664,2777,3107,3420,3321,2709,2405,2518,1957,1589,1550,1821,2492,3010,2873,2498,2678,2658,2501,2441,1635,1041,1616,2511,2286,2184,2128,1933,2166,2251,2089,1616,1138,1089,957,1224,1766,1777,1584,1781,2122,2498,2620,2030,1275,1373,1996,2200,2176,2254,2171,2219,3154,3650,3330,2832,2588,2777,2744,2541,2898],[2970,2931,2985,2973,2561,2145,2176,2174,2121,2112,2200,2049,2119,2578,2608,2984,3443,3627,3695,3881,3993,3772,3709,3784,3603,3264,3303,3681,3782,3155,2907,3353,4070,3946,3521,3650,4277,4449,3986,3802,2945,2480,2745,2636,3011,3082,2643,2758,3141,3130,3140,2898,3042,3271,3249,2901,2448,2424,2616,2608,2844,3299,3625,3494,2834,2110,2646,3510,3859,4238,3971,2830,2871,3672,4075,3398,2701,3067,3550,3650,3522,3166,3121,3220,4028,3864,3906,3839,3588,3650,3951,4034,3951,3894,3983,3648,3207,3465,3632,3797,3487,3990,4128,3613,3496,3838,3799,3272,2907,2717,2458,1931,2124,2362,2481,2253,2193,2403,2624,2673,2661,2928,3018,3322,3677,3626,3558,3388,2972,2843,2409,2250,2699,3040,3053,3052,3099,3132,2893,2098,2539,2976,2976,2591,2658,2149,2344,2292,2060,2542,3050,3566,3773,4100,3312,2555,3168,3717,3567,3326,3317,3060,3022,3118,3300,3711,3716,3855,4206,4188,3970,2623,1511,990,677,547,505,737,1594,2696,3089,2597,1780,855,828,1959,2652,3207,3381,3226,3051,3265,3645,3451,3056,3182,2522,2500,2958,3066,3196,3134,2768,2584,2813,2888,2813,2769,2517,2107,2124,2226,2583,3264,3232,2885,3034,3353,3118,2973,3316,3536,3273,2717,2385,2817,3198,3334,3155,3133,3275,3163,3256,3360,3195,3185,3325,3424,3350,2875,2800,2845,2844,3110,3227,3358,3632,3187,2357,2488,2409,2381,2631,2581,2327,2363,2166,1894,1870,2459,2428,1865,1861,2279,2756,2763,3146,3399,2720,2256,1939,2989,3371,3117,3065,3334,3680,3552,3229,3146,3090,3218,3675,3539,2972,2898,3094,2885,2772,2862,3375,3647,3472,3418,3405,3664,3457,3521,3428,2617,2459,3175,3420,2862,2764,2691,2373,2996,3296,3054,3066,3300,3219,3550,3654,3510,3415,2598,1727,1539,1551,2449,3025,2402,1911,1926,2642,2896,3363,2848,2262,2254,2462,2740,3176,3638,3438,2633,2431,2517,3096,2962,2433,2120,1759,1483,1952,2441,2614,2586,2371,2064,1825,1924,2093,2111,1936,2080,1931,1846,2191,2361,2325,2473,2666,1885,1792,1978,1807,1736,1692,1869,2825,3517,3030,2071,1507,1665,1778,2075,3200,2793,1996,2184,2711,3205,3344,3340,3519,3752,3867,3747,2830,2806,2765,2817,2898,3338,3299,3389,3783,4172,4332,3958,3124,2525,2389,2621,2998,3510,3458,3618,3851,3732,3869,3941,3385,2923,3429,3807,3313,2755,2430,2223,2188,2883,3711,3564,2959,2733,2403,2692,3419,4048,3746,2502,2119,2821,3806,4047,3828,3770,3746,3425,3240,3306,3012,2788,2531,1727,1470,1475,1310,1511,1993,1646,2383,2867,2590,2513,2404,2365,2468,2358,2436,2307,2379,2320,1848,1599,1735,2481,3107,3366,3536,3557,3854,3606,3230,4189,4234,3897,3676,2625,2646,3230,3460,2669,2042,1981,2279,3021,3107,3256,2493,2192,2836,2522,2469,2201,2326,2214,2721,2902,2828,2437,1792,2331,2800,2906,2577,2127,2199,2143,2479,2596,2926,2436,1576,1525,1814,2271,1951,2074,2544,2654,2788,3006,3133,3383,3270,2451,2235,2258,2600,3527,3615,2802,1771,1564,1739,1543,2139,2684,3199,3388,3554,3387,3169,3377,3614,3522,3223,2787,2464,2288,2142,1919,2230,2967,3238,3248,3253,3036,2758,2568,2592,2003,1719,1957,1871,1992,1990,1826,1666,1708,2209,2340,1860,1711,1550,1678,1742,1700,1833,2194,1925,1644,1599,1400,1648,2200,2244,1641,1582,1628,1620,1715,1874,2286,2165,1767,2194,2535,2096,2500,2943,2477,2519,2536,2912,2485,2669,3159,3334,2993,3105,2717,2230,2285,2364,3137,3453,3499,3625,3474,3748,3549,3011,2772,2707,2275,2097,2081,1622,1913,1947,1951,2393,2698,2996,3197,3379,3566,3542,3421,3441,3451,3364,3355,3419,3391,3226,3167,3307,3289,3221,3333,3279,3204,3342,3513,3475,3137,3026,2746,2864,2754,2588,2557,2720,3002,2963,2879,3063,3020,2886,3132,3182,3442,3117,2500,2348,2115,2340,2624,3112,3166,2957,2613,2378,2779,3466,3449,3227,3505,3787,3563,3059,2894,2813,2499,2154,2112,2001,2091,2054,2196,2154,1719,1821,1745,1738,1850,2204,2371,2274,1929,1897,2598,2758,2048,1777,1733,2116,1904,1736,1978,2813,3177,2837,2451,2352,2394,2119,2243,2054,1572,2226,3352,3098,2762,2663,2562,2552,2667,2697,2574,2496,2757,2878,2334,2213,2232,2336,2196,2191,2440,3031,3397,3533,3452,3204,3500,3653,3488,3177,2750,2839,2423,2300,2429,2166,2281,2493,2110,1760,1938,1883,1829,2415,2525,2323,1874,1746,1607,1705,2048,1922,1658,1634,1952,2006,2112,2576,2556,2308,2483,2534,2559,2646,2088,1805,1990,2153,2258,2720,3115,2887,2886,2859,2585,2820,2464,1837,1680,1455,1462,1502,1451,1624,2437,2060,1796,1708,2226,2987,2770,2942,3494,3438,3683,3763,2749,1920,2212,2887,3521,3672,2611,1853,1748,1874,1609,1427,1655,2085,2063,1768,1740,2160,2672,2235,1761,1654,1775,1836,2252,2104,1929,2077,2197,2662,2762,2288,2236,2049,1837,2060,2147,1925,1795,1632,1711,1961,1838,1591,1944,2167,1885,2110,2210,2763,2561,2589,2523,2265,2169,1853,1515,1560,2531,2753,2069,1536,1585,1778,1974,2264,2104,1628,1418,1333,1386,1884,2570,2298,2396,2207,2127,1946,1456,1906,2853,3420,3082,2388,2302,2524,2402,2458,2269,2207,2021,1788,1594,1500,1601,1516,1673,1882,1826,1975,1805,1974,2075,2254,1676,1888,1940,1600,1511,2161,2236,1538,1423,1794,1854,1819,1861,2027,1898,1448,2132,2603,1728,1588,1758,1570,1504,1615,1555,1567,1810,1826,1922,1880,2010,1784,1435,1514,1552,1454,1449,1311,1467,2123,2487,2016,2100,2050,1720,1698,1807,2103,2346,2244,2236,2236,2531,2636,2372,2321,2108,1698,1502,1444,1411,1476,1482,1691,1911,1902,2315,2648,2828,2283,1673,3226,4173,2929,1952,1791,1709,1708,1505,1498,1586,1683,1761,1737,1766,2067,2096,2218,2154,1842,1708,1824,1793,1603,1796,2234,2630,2541,2714,2671,2865,2514,2245,1897,1744,2186,2232,2141,2257,2712,3254,2609,2880,3010,2411,2286,2596,2296,1878,1793,2025,2202,2630,2557,2370,2212,1775,1606,1490,1496,1393,2049,2510,2313,2396,2720,3055,3404,2990,3135,3082,2890,3045,3936,4188,3620,2863,2417,2687,3119,3109,3366,3416,3218,3166,2460,2812,3602,3533,2732,2266,1971,1701,2034,1715,1347,2191,2706,2850,2951,3045,3253,3326,3154,2956,2802,2879,3424,3401,3342,3600,3794,4120,4240,4030,3958,3595,2630,2192,2063,2142,2601,2755,2628,2852,2913,2980,3315,3771,3879,3593,3584,3341,2966,2762,2603,3241,3363,3008,2985,2691,2751,3307,3169,3540,3684,3249,3643,4014,3163,2093,1858,2151,2450,2376,1991,1589,1994,2292,2220,2263,1992,2098,2123,1537,1760,1915,2023,1859,2433,2132,1925,1966,1855,1571,1826,1785,2133,2985,2580,2153,2724,2910,2302,2446,2922,2929,2374,2154,1900,1903,1952,1989,2003,1835,1910,1898,2352,2328,2713,3077,3052,2956,3002,3063,3071,3188,3317,3073,2816,2664,2668,2310,2028,1979,2173,2144,1767,1511,1410,1761,2256,1879,1939,1612,1764,2274,2647,2525,2706,2858,2577,2567,2802,2194,1514,1558,1462,1736,1651,1787,2233,2326,2571,2032,1683,1924,2234,2540,2584,2017,1753,1726,1720,1582,1592,1435,1397,1554,1533,1622,1877,1938,1866,1701,1845,1846,1749,1924,1786,1604,1701,1744,2221,2504,2532,2413,2279,2567,2802,2807,2634,1696,1381,1405,1813,2056,1830,2122,2604,2526,2488,2568,2700,2846,2784,2618,1923,2077,2101,2884,3106,2112,2444,2821,2576,2480,2270,2455,2750,2499,2715,2968,2737,1676,1561,1533,1408,1513,1562,1642,1968,2806,2850,2558,2498,2185,1820,1942,1565,1550,1867,1720,1607,1549,1533,1573,1587,1404,1631,1884,1770,1685,1584,1482,1824,1828,1782,1786,1610,1913,1948,1949,1620,1655,1635,2323,3351,3529,3375,3428,3284,2478,2035,2103,1581,1553,2032,1787,1713,1927,1935,1991,1721,1467,1667,2333,2511,1795,1661,1954,2345,2359,2238,2243,2048,1957,2900,3467,2946,2607,2149,1841,1693,2078,2193,2668,2937,2684,2326,2121,2068,2065,2024,1853,1818,1473,1729,2675,2418,2766,2319,1801,1760,1716,2410,2857,2532,2622,2866,2934,3082,2336,2390,2260,2053,2158,2496,2973,2692,2484,2930,2906,1775,1658,2002,2052,2238,2081,2403,2655,2902,2767,2523,1783,1665,1783,1784,1472,1803,2374,2255,3920,4112,3617,3151,2966,3476,3649,3055,2045,1761,1842,1835,1918,2156,2292,2254,1867,2060,2315,2119,2013,2044,1954,2383,2631,2568,2644,2152,2330,2398,2386,2210,2282,2458,2823,3393,3450,3407,3113,2776,2695,3441,2862,2287,2491,2276,2292,2530,2312,2269,2441,2764,2776,2209,2017,1834,1755,1656,2362,3216,3747,3892,3914,3882,3881,3580,3342,3217,2951,2885,2923,2511,2713,2820,3249,3042,2694,2892,3227,2845,2905,3456,3608,3661,3713,3261,2454,2371,2721,2592,2613,2586,2520,3002,3347,3626,3735,3505,3652,3551,3382,2886,3203,3567,3647,3518,3752,4046,4004,3914,3846,3708,3604,3501,3182,3106,3142,3177,3188,2996,2819,2521,2391,2699,2790,2624,2473,2351,2397,2611,2751,3106,3007,2697,2510,2453,2396,2507,2821,2955,2990,2996,2786,2767,2585,2682,3349,3698,3761,3775,3105,2666,3142,3522,3836,4064,3902,3818,3672,3432,3210,3255,3159,3088,3262,3452,3497,3254,3075,3071,3130,3189,2765,2389,2975,3675,4038,3909,3789,3968,3960,3737,3812,3959,3816,3738,3617,2946,2824,2600,2386,2909,3196,3177,3001,2855,2775,2808,2629,2471,2188,2142,2143,2683,3067,2810,2278,2054,2176,2132,2474,2046,1764,2402,2945,2343,2175,2154,2002,2116,2258,2155,1520,1204,1562,1508,1502,1773,2216,1624,1750,1867,2246,2374,1809,1104,923,1832,2305,2094,2138,2209,2047,2929,2832,2920,3116,3223,3146,2912,3188,3704],[3168,3077,3134,3160,2666,2178,2264,2258,2405,1926,1973,2008,2235,2438,2360,2951,3711,4012,4120,4160,3943,3562,3640,3794,3818,3386,3284,3356,3488,3040,2704,3407,3980,3702,2995,2720,3244,3615,3566,3948,3196,3002,3208,3022,2954,3038,3060,3371,3550,3174,3016,2776,2558,2814,3440,3263,2834,2637,2807,3112,3296,3397,3422,3306,2640,1867,2586,3536,3641,3718,3532,3348,3670,3868,4107,3860,3610,3930,3885,3842,3554,3296,3373,3286,3511,3582,3692,3731,3746,3715,3812,4144,4196,4192,4249,3727,3472,4177,4380,4092,3563,3947,4632,4085,3018,3268,3870,3466,2849,2421,2356,2138,2243,2446,2321,2199,2437,2576,2731,2712,2509,3022,3322,3608,3677,3608,3592,3266,2798,2591,2652,2670,2920,3353,3241,2964,3047,3414,3077,2460,2841,3401,3023,2820,2731,2255,2564,2548,2142,2160,2763,3366,3506,4078,3436,2783,2965,3187,3216,3306,3378,3060,2830,2695,2996,2877,2422,3122,3705,3429,2160,924,553,546,551,646,915,1758,2843,3270,2887,1882,836,747,1939,2850,3064,2988,2777,2921,3078,3408,3507,3254,2512,2156,2293,2489,3222,3564,3242,2864,2438,2608,2764,2276,2456,3116,2659,2076,1905,1937,2534,3494,4000,3663,3604,3760,3448,3585,3658,3254,2590,2147,1983,2355,2724,3232,3221,3254,3397,3395,3586,3604,3234,3153,3399,3557,3376,2380,2040,2437,2820,2887,3187,3500,3683,3296,2644,3098,3179,2986,2366,2225,2637,3261,3188,3240,3144,2435,2009,1954,1782,1985,2598,2929,3217,3134,2396,1967,1713,2567,3274,3399,3140,3184,3626,3338,2676,2790,2608,2910,3343,3247,3163,2899,2728,2964,2757,2588,3100,3357,2742,2556,3231,3829,3704,3625,3384,2931,3270,3382,3060,2728,2512,2423,2460,3101,3231,3083,3455,3310,3150,3227,3472,3266,2951,2713,2127,1937,1472,2030,2354,2003,2087,2410,3143,3617,3805,2908,2078,2245,2514,2686,3372,3654,3296,2730,2866,2686,2464,2479,2596,2354,1842,1666,1620,1666,1734,2117,2439,2018,2548,1979,2278,2592,2208,2096,1990,1912,2237,2954,2752,1897,2238,2322,2474,2699,1799,1400,1729,1967,2151,2404,2402,1974,1968,2130,2141,2511,2913,1836,2022,2188,2299,2180,2382,3023,3061,3309,3802,4040,3130,2576,2531,3030,3155,3321,3527,3733,3759,4199,4815,4164,2868,2764,2917,3245,2770,2588,2160,2656,2898,3300,3929,3806,3277,2897,3269,3907,3637,3314,2577,1831,2526,3089,3074,3108,2831,2419,2365,2977,3453,3746,3464,2775,2813,3716,4124,4504,4499,4360,3947,3098,3124,3270,2877,2565,2030,1532,1439,1386,1350,1504,1645,1788,2389,2590,2358,2410,2257,2035,2736,2532,2141,2179,2667,2689,2417,1793,1886,2543,2861,3414,3623,3468,3618,3392,3544,3887,3903,3706,3733,2946,2968,3594,3301,2175,1648,1848,2435,2466,2083,3119,3241,3063,2941,2408,2326,2279,2143,1995,2357,2743,2662,2663,2314,2599,3281,3362,2810,2285,2189,2186,2737,3087,2950,2344,1888,1324,1360,2245,2098,2365,2648,2358,2054,2447,2974,2968,2956,2458,2033,2470,2703,3124,3000,2323,2441,2666,2160,2175,2662,3024,3001,2974,3705,3087,2797,3219,3481,3166,3015,2677,2380,2327,2483,2272,2350,2980,2896,2878,3256,3072,2589,2333,2648,2546,2149,1924,2174,2176,1931,1744,1583,1760,2085,2233,1874,1714,1615,1786,1892,1576,1708,2064,1801,1684,1993,1840,1376,1499,2040,1690,1539,1554,1673,1815,2420,3079,2788,2100,2240,2288,2230,2707,2931,2094,2674,3196,2909,2521,2669,2965,2842,2503,2593,2314,2468,2569,2545,2971,2880,2625,3047,3198,3144,2917,3076,3117,2679,2335,2191,2177,1710,2097,2110,2426,2472,2329,2589,2880,2954,3165,3351,3317,3310,3256,3240,3338,3370,3452,3138,2697,2535,2834,3371,3438,3298,3252,3448,3562,3518,3046,2812,2585,2476,2412,2472,2448,2373,2585,2619,2550,2774,2941,2868,2820,3140,3264,3510,3416,2836,2719,3013,2671,2100,1475,1772,1817,1878,2198,3185,3234,3226,3487,3841,3694,3154,2996,2800,2223,1930,2425,2288,2188,1879,2091,2187,1763,1570,1634,1656,2119,2338,1853,2087,2416,2733,2842,2625,2211,1994,1917,1904,1708,1766,2132,2912,3224,2670,2060,2045,2003,2008,2387,1896,1514,2232,3190,3351,3034,2878,2752,2589,2457,2502,2721,2557,3008,3307,2805,2357,2259,2373,2375,2598,2767,2979,3571,3661,3406,2905,3185,3116,3103,3138,2860,2579,2298,2851,3006,2413,2416,2332,1763,1737,2239,1818,1744,2332,2466,2086,1912,2047,1825,1882,2054,2098,1796,1465,1946,1890,1808,2078,2250,2105,2045,2432,2890,2732,2348,2042,1995,2399,2575,2770,3017,2638,2407,2298,2576,2739,1927,1660,1586,1465,1561,1529,1505,1884,2943,2598,2253,2036,2384,2408,2175,2698,2955,3138,3420,3139,2475,2105,2383,2283,2574,3360,3714,2730,1793,1825,1450,1553,1726,2062,2101,1882,1808,2226,3027,2787,2123,1991,1789,1990,2292,2092,1939,2404,2620,2554,2316,2283,2386,2072,1921,2248,2409,2356,2255,2052,1758,1746,1658,1531,2131,1859,1829,2462,2756,2896,2645,2877,3227,2824,2278,1812,1722,1671,2604,2350,1592,1376,1601,1904,2023,2277,2226,1771,1531,1369,1437,1709,2485,2441,2220,2079,2140,1854,1809,2126,2777,3187,2777,2530,2063,2253,2336,2275,2251,2183,1909,1763,1794,1848,1858,1597,1321,1650,1803,1874,1764,2119,2186,2195,1735,1617,1826,1726,1566,1905,2057,1865,1606,1877,1895,2298,1884,1847,1786,1321,1731,2078,1780,1576,1670,1660,1466,1588,1562,1668,1819,2055,1948,1684,1692,1565,1488,1714,1531,1282,1457,1528,1492,2373,2099,1641,1891,2065,1749,1428,1507,2151,2754,2190,1725,2254,2921,2946,2545,1616,1453,2041,1970,1434,1464,1655,1676,1841,1693,1825,1963,1723,1838,1626,1577,2457,3047,2500,1715,1519,1534,1632,1494,1474,1513,1527,1605,1845,1876,1735,2237,2692,2116,1700,1690,1982,2460,2234,1947,2110,2310,2048,1923,1979,2067,2298,2524,2196,2263,2060,1926,2370,2688,2756,2855,2499,2598,2411,2341,2231,2230,2139,2092,2142,2536,2524,2818,2648,2522,2083,1487,1418,1604,1507,1418,1721,2310,2509,2584,2987,3659,3649,3190,3275,3191,2635,2933,3485,3662,3238,2678,2522,2901,3360,3687,3661,3758,3732,3397,3082,3149,3329,3066,2530,2442,2386,1604,1813,1736,1407,1976,2556,2790,2920,3186,3379,3317,2865,2960,3220,3435,3771,3353,3311,3739,3719,3648,3469,3495,3560,2962,2206,2272,2558,3062,3430,3318,2828,2819,3023,3561,4018,4204,3839,3276,2994,2474,2534,2723,2610,2932,2947,3017,2923,2393,2139,2773,3426,3993,3388,2219,2840,3919,3629,2658,2192,1997,1632,1637,1597,1594,2025,2625,2644,2009,1708,1655,1935,1670,1754,1773,1786,1691,2387,2322,1841,1748,1667,1537,1520,1509,2318,3249,3454,2921,2702,2506,1955,2245,2633,2421,2780,3028,2853,2433,2565,2990,2651,2181,1958,2608,3122,2639,2676,2768,2777,2763,2734,2712,2622,2562,2310,2046,2140,2430,2743,2353,1974,1808,2186,2156,1815,1744,1470,1686,1926,1739,1959,1784,1963,2007,2225,2416,2688,2568,2279,2574,2996,2825,2260,1909,1341,1515,1413,1702,1965,2544,2836,2414,2193,2222,2177,2623,3145,2314,1965,1815,2031,1698,1226,1138,1371,1466,1520,1699,1883,1920,1613,1685,1874,1696,1647,1872,1842,1748,1680,1550,1726,2034,2053,1879,2039,2517,2242,2501,2655,1741,1247,1369,1639,1690,1872,2598,2841,3068,3018,2481,2030,2558,2988,2880,2264,1947,1487,2235,2697,2105,2143,2419,2775,2492,2701,3154,3226,2731,3178,3209,2168,1465,1601,1441,1280,1550,1636,1752,1638,2138,1938,1882,2003,1852,1660,1557,1292,1594,2165,2079,2008,1743,1776,2024,1579,1410,1693,1757,1697,1581,1470,1516,1595,1802,1887,1638,1579,1689,1769,2007,1932,2063,1807,2564,3565,3651,3453,3339,3088,1929,2046,2047,1600,1430,1773,1688,1649,1808,1898,1836,1613,1451,1553,2236,2342,1888,1732,2052,2429,2185,2160,2376,2286,2009,2320,2718,2700,2180,1707,1873,1869,2182,2113,2662,2678,2134,1954,1984,2072,2214,1854,1324,1530,1572,2042,2349,1875,2202,2033,1779,2063,2141,2569,2576,2294,2276,2100,2458,2515,2375,2518,2472,2540,2676,3270,3068,2183,1837,2006,1987,1588,1659,1999,2281,2714,2547,2532,3692,3406,2311,2021,1370,1382,1704,1932,1533,1468,1705,2842,4356,4051,3373,2908,3093,3629,3362,2832,2320,1958,1952,1588,1376,1683,2292,2371,1869,1750,1851,1636,1813,2382,2546,2123,1807,1968,2480,2004,1914,2312,2692,2779,2565,2526,2856,2846,3109,3393,3437,2966,2152,3019,2570,1712,1775,1590,1852,2399,2310,2285,2561,3049,3334,3191,2678,2417,1656,1683,2287,2864,3462,3730,3886,3652,3736,3519,3009,3074,3164,2888,2766,2844,2966,3184,3252,3386,3140,2721,3120,2706,2861,3493,3732,3708,3695,3420,2453,1869,1982,1972,2382,2620,2291,3038,3332,3452,3574,3594,3531,3315,3331,3107,3081,3482,3661,3394,3991,4045,4124,4188,4277,4156,3989,3762,3615,3811,3942,3887,3626,3462,3287,2841,2773,2764,2492,2370,2215,2220,2391,2743,2974,2924,2740,2799,2613,2530,2599,2584,2690,2680,2629,2800,2908,2963,2890,2953,3713,4100,4006,3641,2910,2344,2879,3253,3516,3905,3791,3792,3846,3542,3262,3266,3316,3266,3206,3112,3151,3130,3204,3200,3097,3008,3060,3304,3626,3758,3791,3862,3934,3694,3449,3342,3648,3738,3842,3594,3006,2583,3029,3062,2917,2962,2751,2763,2530,2205,2651,3146,2967,2889,2691,2625,2733,3122,3384,3166,2740,2048,1759,2120,2249,2498,2714,2814,2752,2442,2306,2165,2115,2156,2189,2310,2024,2000,2115,1694,1418,1214,1402,2005,1855,938,1225,1760,1517,1325,946,1492,2245,2133,2163,2196,2030,2383,2388,2533,2821,2997,3144,2943,3371,3658],[3204,3338,3191,2807,2681,2302,2368,2487,2455,2040,2090,2135,2423,2709,2747,3220,3868,4277,4132,3821,3718,3798,4189,4111,3834,3428,3319,3506,3678,3063,2706,2968,3189,3220,2835,2480,2194,2677,2931,3255,3642,3854,3868,3706,3235,2887,2988,3380,3450,3097,3016,3051,2918,3292,3682,3483,3150,2883,3205,4017,3960,3563,3841,4006,3170,2219,2946,3575,3638,4127,3582,3170,3653,3792,4091,4020,3877,3724,3698,3652,3363,3055,3130,3422,3308,2940,2772,3121,3746,3723,3789,4115,3970,4132,4333,3752,3274,3953,4453,4153,3561,3640,4256,3861,2770,3119,3604,3589,3185,2501,2620,2584,2266,2430,2360,2040,2051,2440,2521,2518,2407,2807,3341,3696,3546,2922,2778,2737,2488,2371,2756,3086,3073,3037,2643,2614,3405,3509,3011,2668,2779,3389,3254,2953,2742,2577,2503,2609,2178,1939,2635,3155,2951,3321,3243,3151,3034,2917,2875,2620,2661,2625,2551,2442,1801,1230,1243,1459,1540,1180,694,549,582,769,1201,1378,1949,2864,3298,2662,1467,643,822,2186,2896,2822,3325,3056,2252,2562,2944,3690,3746,3316,2518,2447,2754,2317,2425,2350,2222,2810,3272,3352,3141,2082,2441,3603,2420,1691,1843,1974,2315,2940,3257,3338,3877,3938,3565,3560,3178,2817,2457,2139,2079,2044,2392,3166,3429,3436,3373,3306,3685,3838,3588,3640,3516,3340,2694,1966,1889,2481,2686,2792,3203,3440,3452,2638,2257,3195,3560,2547,2099,2278,2869,3417,3128,3329,3733,2349,1930,2314,2075,1872,2167,2829,3219,3119,2654,2234,2424,2961,3376,3508,3298,3155,3204,3019,1943,2359,2405,2532,2173,2406,3318,3386,2969,3029,2570,2228,2652,2887,2743,2660,3181,3857,4018,3949,3619,3581,3902,3461,3185,3197,2790,2295,2505,3060,2982,2970,3309,3084,2800,3141,3561,3205,2594,2238,1941,1814,1637,1880,1935,2001,1904,2192,2830,3382,3354,2821,2396,2387,2532,2534,2878,3311,3563,3198,3006,2476,2237,2255,2183,2165,2153,1987,1991,1626,826,1128,1571,1941,2464,2024,2497,2845,2361,2015,2322,2318,2634,3152,2734,2125,2854,2947,2622,2347,1995,1886,1934,1935,2071,2317,2083,2105,2331,2314,2314,2068,1850,1550,2234,2425,1952,1800,2230,2665,2189,2196,3252,4170,3438,2486,2179,2502,2801,3006,3606,3908,3836,4000,4529,3442,2423,2610,2940,3483,3307,2409,2132,2631,2577,2775,3354,3727,3411,3333,3405,3562,3608,3340,2496,2226,3106,3231,3032,2721,2588,2819,3029,3233,2954,3054,3459,3442,3637,4039,3797,3949,3994,4242,3814,3342,3451,3230,3061,2343,1751,1486,1419,1311,1399,1516,1450,1409,1621,1864,1749,1816,2181,2792,3271,2747,2537,2383,2430,2172,2083,1870,2166,3086,3287,3414,3522,3393,2986,2983,3528,3256,3597,3818,3154,2510,3396,3660,2657,2392,1820,1966,2603,2226,2064,3061,3462,3043,2527,2424,2488,2508,2331,1959,2129,2394,2427,2092,2314,3121,3741,3752,2912,2218,1921,2069,2631,2876,3141,3028,2635,2456,2014,2216,2122,2296,2432,2187,1713,1970,2050,1952,2491,2612,2354,3007,3301,3566,3530,2513,2436,2525,2005,2175,2601,2482,2421,2808,3220,2734,2940,3171,3338,3023,3037,2523,2039,2408,2890,2552,2404,3033,3007,3049,3351,2656,2147,2410,2481,2450,2009,1961,2422,2003,1830,1541,1439,1742,1919,1870,1726,1510,1603,1810,1742,1467,1641,1945,1638,1665,2051,2056,1726,2133,2344,1857,1706,1911,1999,2142,2604,2980,2927,1967,1961,1857,1574,2197,2989,2359,2865,3686,3041,2655,2519,2201,1919,2066,2072,1936,2156,2624,2779,2775,2788,2437,2349,2644,2856,3032,2934,2632,2575,2213,2307,2302,1908,2035,2155,2100,2109,2308,2964,3094,2545,2612,2573,2290,2641,2764,2570,2837,3239,3263,2755,2323,1975,2364,3307,3312,3095,3097,3536,3667,3673,3099,2697,2685,2477,2442,2930,2911,2389,2318,2025,2044,2563,2802,2823,2752,2934,3072,3115,3106,2452,2518,3434,2866,2272,1445,1718,2071,2564,2380,2702,3066,3249,3364,3639,3741,3395,2915,2213,1870,1970,2201,2085,2068,2020,2150,2209,2030,1723,1550,1662,2162,2364,2097,1835,2295,2619,2135,2126,2274,2173,2168,2009,1830,2104,2364,2414,2103,2170,1837,2556,2105,1724,2265,2252,1969,1929,2720,3531,3272,2899,2616,2482,2384,2360,2475,2559,2864,3311,3065,2514,2288,2357,2498,2532,2459,2657,3311,3605,3519,3119,3297,3220,3269,3420,3208,2518,2381,3156,3084,2736,2576,2244,1704,1904,2404,2371,2301,2426,2387,2042,2082,2052,1987,2422,2670,3016,2640,1622,1733,2236,2514,2203,2157,2048,2077,2587,2920,2765,2463,2149,2190,2424,2397,2807,3173,2598,2006,1825,2399,2289,1641,1641,1484,1553,1611,1548,1816,2370,2649,2477,2518,2484,2200,2144,2187,2670,3144,2954,2769,2447,2722,3288,2960,2391,2412,3033,3471,2623,1785,2166,1775,1780,2066,2527,2504,2390,2209,2084,2312,2189,2250,2534,2115,1962,1881,2137,2643,2912,2640,2073,1626,2101,2590,2299,2223,2653,3008,2399,2196,2249,1752,1544,1461,1593,1919,1615,1714,1979,2067,2351,2536,2271,2321,2352,1897,1618,1609,2036,2247,1880,1549,1488,1504,1735,1876,1985,1953,1876,1591,1508,1635,2112,2442,2360,2099,2186,2576,2447,1975,2106,2902,3128,3145,2945,2275,2273,2430,2595,2800,2246,1679,1614,1782,2050,2109,1725,1665,2236,1953,1727,1703,1957,1804,1687,1562,1841,2252,1772,1432,1600,2021,2525,2247,2422,2476,2482,1791,1573,1791,2049,2134,1919,1643,1694,2066,1722,1661,1506,1700,1688,1603,1693,1558,1580,1990,1891,1685,1852,1758,1583,1637,1696,1573,2027,2006,2065,2041,1839,1685,1415,1434,1990,2322,2046,2243,2776,3142,3110,2851,1976,1870,2461,1904,1583,1561,1613,1722,1584,1573,1619,1522,1610,1835,1585,1614,1836,2076,2237,1866,1682,1658,1705,1681,1710,1692,1563,1677,1628,1732,1674,2088,2482,2055,2118,1737,2248,2754,2491,2017,2382,2351,1886,1504,1781,2363,2596,2523,2298,2381,1766,1874,2097,2269,2667,2877,2880,2282,2321,2219,1820,1981,1876,2295,2515,2534,2580,2683,2431,2294,1917,1431,1499,1604,1802,1955,1767,2149,2504,2529,2745,2753,2490,2646,3001,3552,3868,3451,2840,3205,3177,2488,2492,3296,3506,3498,3515,3671,3429,3189,2902,2493,2490,2708,2722,2890,2375,1690,1607,1677,1688,1851,2460,2939,3153,3363,3381,3176,2893,3316,3588,3616,3460,2486,3067,3587,3174,2921,3043,3321,3465,3166,2475,2455,3187,3632,3790,3598,3367,3016,2981,3671,3879,3407,3273,3333,3140,2644,2573,2498,2374,2928,2942,3075,2667,2303,2185,2314,3217,3805,3457,2984,3366,4062,4025,3210,2145,1731,1493,1349,1570,1836,2069,2679,2833,1908,1717,1732,2020,1904,2171,2124,1961,1801,1945,1909,1907,2301,2050,1794,1722,2181,2389,2993,3618,3110,2546,2487,2520,2722,2437,2297,2866,3129,3163,2749,2238,2822,2513,2387,2062,2833,2807,2418,2710,2845,2666,2614,2772,2659,2116,1911,1794,1920,2073,2050,2197,2558,2353,2143,2552,3021,2830,2148,1645,1548,1530,1547,1841,1918,1755,1785,2285,2833,3106,2906,2590,2954,3270,3460,2231,1602,1393,1493,1584,1671,2244,2713,2153,1978,2118,2533,2366,2372,2590,2280,2244,1870,1819,1692,1371,1499,1603,1443,1692,1838,1949,1748,1469,1804,1825,1621,1628,1824,1869,1819,1718,1663,1700,1985,2125,2103,2556,2589,1865,1975,2335,1835,1511,1695,1760,1583,1829,2602,2731,3106,3155,2322,1731,2030,2278,2534,2313,1913,1763,2199,2410,2310,2062,2185,2565,2852,3777,3897,3162,2765,2959,2492,1669,1570,1733,1664,2149,2172,1759,1821,1844,1788,1550,1743,1820,1689,1699,1577,1598,1772,2270,1861,2088,2350,2755,2476,1687,1512,2060,2147,1746,1542,1723,1909,2150,2093,1768,1354,1389,1732,1908,1931,1881,1861,2299,3031,3485,3867,3792,3592,2533,1642,1835,1798,1547,1721,2112,2066,1910,1718,1871,2023,1873,1617,1736,2156,1870,1671,1613,1963,2344,1974,1931,2469,2944,2831,2367,2145,2305,2259,2541,2817,2608,2468,2193,2169,2040,1757,1945,2180,2157,2370,2254,1493,1388,1481,1608,1552,1529,2027,2110,1988,2001,2471,2543,2050,1693,1669,2058,2187,1921,2447,2990,2951,2775,2718,2884,2333,2173,1952,2027,1919,1891,1729,1790,2181,3043,2793,2779,3640,2824,1936,1772,1503,1439,1767,2122,2567,2409,1947,3176,4254,3422,2755,2367,2491,3284,3311,2910,2592,2314,1970,1477,1281,1457,2068,2332,1991,1860,2132,1744,1523,1749,2297,2347,1755,1583,2388,2148,2229,3057,3216,3452,3199,2712,2532,2797,3060,3361,3561,3188,2801,3244,2894,2464,2380,1858,2034,2280,2464,2679,2908,3050,3041,2981,2899,2729,2158,2272,2539,2611,3153,3441,3622,3489,3379,3398,2805,2754,3098,3112,3239,3475,3464,3485,3350,3198,2679,2918,3072,2688,3103,3661,3848,4004,3985,3709,2741,1948,1869,1823,2580,3109,3036,3491,3604,3417,3398,3699,3699,3609,3581,3530,3443,3264,3133,3340,3761,3969,4100,4056,4168,4047,4135,4262,4157,3980,3747,3384,3420,3620,3670,3526,3386,3146,2968,2521,2315,2323,2287,2620,3008,2924,2666,2821,2611,2589,2798,2962,2988,2865,2597,2617,2790,3084,3044,2822,3807,3735,3540,2912,2545,2822,2940,2986,3286,3354,3151,3239,3436,3262,2996,3104,3433,3345,2931,2790,3034,3205,3099,2917,2910,2891,3009,3283,3549,3694,3698,3890,3903,3630,3044,3141,3583,3814,3773,3391,2870,2836,3211,3009,2902,2719,2668,2985,3015,2944,2977,3123,3117,2939,2655,2403,2374,2796,3292,3108,2843,2503,2471,2790,2738,2994,3162,3075,3046,3024,2719,2218,2140,2292,2320,2376,1939,1493,1577,1507,1623,1671,1577,1778,1678,1249,1421,1666,1528,1312,1383,1768,2264,2408,2403,2231,2153,2511,2658,2665,2863,2653,2973,2679,2807,3053],[2709,2939,2483,2163,2633,2484,2564,2692,2225,1929,2511,3011,3143,3121,3169,3339,3918,3902,3711,3327,3406,3758,3906,3898,3201,2818,3188,3338,3542,3219,2958,2825,2566,2617,3029,2486,1942,2125,2447,3248,3886,3688,3418,3674,3291,2768,2853,3151,3437,3283,3162,3481,3636,3804,3701,3211,2686,2476,3120,3559,3894,3602,3697,4240,4099,3255,3472,3974,4162,4163,3674,3550,3486,3532,3798,3829,4013,4208,4176,3929,3724,3640,3652,3763,3576,3182,3216,3536,3596,3569,3994,4100,3978,4071,4392,3941,3409,3985,4332,3525,2675,2544,3186,2967,2448,2519,2890,3129,2980,2081,2476,2680,1961,1956,2078,2354,2414,2898,3096,3256,2834,2632,2546,2381,2352,2626,2940,2790,2003,2013,2377,2747,2385,2090,2300,2858,3228,3212,2899,2506,2602,2889,2698,2824,2796,2701,2381,2068,2008,1801,2152,2613,2709,2541,2574,2692,2352,2064,2056,2351,3028,2809,2540,1789,854,719,757,593,509,541,589,625,1172,2161,2740,2623,2340,2152,1624,914,579,842,1300,1886,2705,3320,3555,3098,2188,2062,2094,2955,3464,3374,2888,2469,2189,1764,1336,1085,1705,2846,3628,3746,3649,2547,2530,3043,2131,1723,1898,1896,2016,2154,2207,2263,2713,3111,3431,3570,3286,3205,3013,2652,2630,2436,2302,2954,3595,3608,3384,3407,3708,3897,3396,3315,3560,3288,2954,2986,2930,2600,2416,2962,3265,3184,3311,2247,1860,2498,2270,1735,2110,2715,3084,3066,3034,3763,3713,2159,1870,2615,2544,2396,2270,2818,3382,3025,2580,2798,3306,3163,3360,3669,3410,3047,2698,2619,2421,2476,2395,2184,1866,2509,3284,3254,2444,2599,2576,2484,2857,3584,3522,3171,2763,3119,3963,4002,3858,3884,3630,3513,3466,3399,2770,2413,2422,2741,2916,3278,3584,3103,2929,3416,3638,3262,2536,1710,1713,1852,2468,2438,1965,2120,2118,1675,2094,2620,2802,2402,2394,2705,2995,2666,2439,2792,3266,3325,2871,1970,1488,1846,2348,2392,2792,2562,2321,2031,1692,1642,1656,1817,1873,1852,1757,1732,2281,2471,3057,3348,3850,3082,2260,1914,2004,2251,2244,2128,1817,1475,1599,1890,2018,2242,2070,1947,2326,2186,1809,1851,1752,1838,2489,2403,1735,1751,2462,2416,2448,1757,2529,3293,3134,2295,1825,2378,2692,2990,3758,4008,4180,3717,3360,2150,2230,2479,3055,3366,2701,2082,2631,2938,2754,2801,3177,3709,3661,3608,3386,3452,3726,3405,3118,3476,3490,3037,2924,3316,3386,3172,3816,3609,3454,3807,3812,3871,4095,3871,3721,3141,3022,3646,3723,3939,3819,3242,2344,1625,1529,1410,1317,1490,2227,2389,1719,2086,1968,1981,1710,1531,2366,3337,3263,2786,2170,2096,2470,2358,1992,1824,2423,3582,3574,3165,3472,3414,2891,2801,3152,3067,3353,3473,2626,2438,3794,3306,2684,3086,2487,2564,2784,2565,2680,3196,3405,3305,2908,2567,2542,2721,2692,2146,1938,2084,2020,1614,1858,3023,3819,3674,3176,2731,2159,2346,2131,1284,2760,3539,3538,2764,2169,2062,1999,1596,1552,1838,2168,2496,2307,1821,2080,2077,2261,2954,3389,3332,3051,2385,1895,1720,1526,1570,2225,2180,2474,2925,2526,2308,2412,2293,2768,3324,3448,2915,2228,2446,2923,2894,2745,3319,3322,3200,3124,2238,2132,2490,2162,1987,2284,2339,2418,1843,1804,1522,1476,1744,1888,2348,2153,1648,1797,1682,1523,1585,1930,2024,1590,1715,1924,2127,2119,2214,2183,1892,2126,2459,1881,1906,2374,2006,2156,1841,2131,1951,1472,2150,2788,2600,2735,2785,2692,2707,2282,2365,1959,1832,1853,2275,3019,3094,2910,2767,2674,2565,2514,2416,2438,2590,2036,1998,2866,2654,2510,2339,2013,1790,1923,2282,2386,2346,2500,2284,2393,2590,2113,1932,1978,1801,1789,2038,2230,2169,2214,2215,2106,2600,3074,3017,2938,3198,2912,3309,3554,2916,2631,2709,2413,2440,2916,2954,2522,2318,1790,2139,2306,2487,2880,2696,2977,3416,2910,2555,2088,1983,2520,2540,2488,2001,2031,2625,3235,2465,2322,3306,3544,3338,3400,3605,3539,3312,3021,2238,2253,2123,1873,1850,1771,1799,2063,2192,1940,1492,1693,1949,2309,2755,1907,1694,1691,1721,2010,2378,2746,2438,1892,2140,2773,2545,2402,2047,2008,1995,2171,1373,1334,2117,2493,2423,2370,2916,3684,3591,3039,2729,2409,2341,2395,2647,2700,2575,2908,2894,2493,2429,2300,2415,2756,2764,2670,2979,3239,3099,3177,3533,3559,3425,3312,3032,2382,2425,3400,3295,3090,2684,2046,1647,1969,2354,2330,2477,3030,3100,2873,2222,1882,1945,2162,2858,3308,3116,2398,2184,2707,2810,2398,2396,2302,1964,2178,2535,2413,2291,2379,2193,2172,2226,2452,2598,2564,2258,2194,2442,2182,1891,1609,1493,1662,1785,1897,2505,2619,2426,2533,2712,2425,1931,2272,2512,2642,2557,2072,2447,2798,3350,3284,3160,3097,3178,3542,3272,2302,2061,2480,2510,2477,2326,2320,2244,2392,2423,2144,2390,2583,2576,2536,2404,2666,2373,2398,2533,2316,2344,2228,1872,2364,2742,2352,2039,2141,2374,1956,1865,1868,1726,1629,1475,1572,1588,1558,1591,1655,1659,2039,2116,1761,1825,1921,1597,1632,1662,1797,1789,1725,1688,1447,1499,1814,1871,1931,1794,1539,1482,1700,2005,2345,2611,2364,2140,2624,3174,2684,2307,2142,3030,3062,3117,2897,2673,2724,2994,3130,2911,2388,2040,1754,1801,2246,2068,1910,1964,1702,1277,1624,1951,2356,2334,1926,1689,2026,2298,2156,1770,1616,1859,2407,2296,2388,2709,2474,1816,1272,1521,2448,2552,1930,1591,1580,1896,1664,1701,1631,1764,1686,1643,1693,1654,1839,2417,2073,1690,1872,2090,2093,1660,1598,1631,1639,1958,2090,1726,1581,1424,1323,1546,1914,2028,1754,1990,2554,3252,3126,2654,2219,2171,2664,2162,1905,1747,2043,2041,1556,1572,1896,1865,1566,1464,1636,1694,1954,2086,1646,1663,1875,1795,1866,1987,1920,1823,1891,1795,1427,1448,1810,1984,1698,2045,2496,1635,1669,1990,2166,2234,2226,1743,1651,1891,1886,2402,2942,2787,2351,1968,1224,1519,1802,2188,2353,2744,2619,1933,2264,2579,2292,1993,2030,2269,2280,2455,2410,2492,2208,1817,1552,1440,1505,1626,1937,1966,2204,2556,2580,2552,2813,2371,2344,2505,2778,3396,3570,2844,2480,3331,3486,2944,2954,3307,3316,3262,3156,2809,2409,2217,2098,2264,2295,2639,2964,3327,2941,2114,1648,1820,2142,2246,2723,3406,3530,3547,3530,3182,2633,2975,3548,3707,3436,2577,2887,3230,2851,2587,3021,3593,3454,3244,3052,2949,3278,3364,3420,3331,3311,3204,2897,3167,3365,3114,3488,3982,3661,3330,3110,3177,3155,3168,3075,3232,3082,2750,2508,2357,3100,3730,3926,3992,3828,3569,3791,3480,2448,1941,1809,1837,1978,2005,2420,2469,2502,1839,1731,2148,2332,2094,2348,2175,1971,2032,2155,2174,2282,2198,1956,2020,2135,2599,1981,2721,3398,3182,2584,2580,2774,2810,2598,2480,2564,2750,3343,2597,1882,2270,2237,2059,1903,2025,2209,2654,3166,3106,2737,2682,2449,2339,1895,1589,1510,1753,1975,1740,1948,2346,2166,2202,2742,3194,2434,1760,1681,1591,1748,1772,2083,2359,2013,1991,2530,3423,3521,3352,3252,3216,3018,2945,3012,2656,1803,1756,1978,1734,2098,2346,2040,2286,2178,2198,1971,1883,2249,2137,2054,2001,1743,1612,1700,2094,1834,1605,1846,1888,1914,1628,1606,1573,1447,1483,1718,1815,1853,1870,1919,1838,1672,1802,2236,2244,2319,2494,1908,1509,1686,1722,1782,1844,1688,1552,1814,2579,2511,2237,2073,1990,2083,2159,2498,2850,2423,2018,1875,2396,2100,2184,2106,2182,2422,3664,4277,3762,2866,2720,2649,2137,1844,1812,1756,1810,2218,1810,1581,1621,1848,1898,1886,2192,2342,2504,2374,1914,1976,1897,2136,1797,2095,2246,2564,2381,1725,1671,2004,2144,2114,1669,1753,2272,2423,2480,2078,1506,1610,1914,1913,1719,1592,1837,2844,3296,3631,3817,3742,2856,2105,1719,1630,1685,1588,1882,2459,2399,2100,1920,2036,2250,1952,1565,1738,1860,1608,1698,1781,2037,2155,1858,1854,2048,2574,3206,2797,2425,2037,2002,3270,3733,3062,2555,2459,2742,2502,1919,2027,2354,1958,2049,1848,1383,1313,1338,1376,1504,1552,1953,2044,1697,1973,2558,2120,1648,1501,1820,2187,1998,1849,2379,3205,3372,3008,2917,2686,2028,1910,1905,2070,2098,2183,1878,1847,2596,2788,2321,2569,2876,2484,2329,1964,1753,2428,2940,2480,2395,2251,2164,3296,4093,3398,3218,2771,2414,3007,2608,2116,2049,1835,1724,1636,1537,1709,1936,2048,2207,2040,2082,2092,2138,1878,2176,2868,2665,2420,2267,1772,2184,2778,2958,3237,3089,3038,3100,3440,3366,3065,3206,3272,3083,3310,3342,3204,2942,2096,2141,2382,2607,3120,3270,2941,2802,2719,2734,3043,2978,2658,2387,2706,2952,3018,3064,3068,3088,3084,3111,3213,3319,3270,3282,3362,2968,3394,3725,3124,2674,2783,2940,3078,3423,3498,3757,4060,4007,3681,3066,2147,1949,2166,3052,3499,3543,3476,3394,3264,3325,3386,3462,3580,3565,3627,3692,3120,3073,3289,3233,3762,3580,3440,3708,3522,3564,3696,3331,3332,3310,3299,3730,3949,3706,3320,3120,2777,2700,2482,2433,2416,2458,2658,2776,2949,2569,2520,2468,2645,2808,2880,2938,3033,3052,2924,2839,3099,3235,2780,3239,3031,3104,2609,2112,2613,3005,3076,3241,3122,2873,2846,3198,3305,3175,3184,3354,3198,2788,2679,2843,3146,3087,2855,2812,2877,3123,3243,3303,3792,3996,4087,3782,3604,3425,3370,3684,3939,3686,3263,2988,2885,2972,2639,2142,2331,3096,3313,2994,2845,2823,3045,3359,3560,3275,2654,2319,2568,2822,2830,2924,3034,3116,3076,3106,3341,3420,3364,3185,2966,2632,2194,2220,2172,2329,2041,1517,1601,1904,1758,1619,1493,1546,1503,1555,2143,2210,2010,1267,987,1923,2352,2391,2564,2527,2292,2318,2604,2754,3024,3178,2822,2832,2998,3077,2977],[2448,2381,2335,2373,2547,2265,2305,2484,1942,2034,3189,3575,3191,3097,3025,3068,3609,3464,3193,3292,3592,3937,4301,3869,2563,2454,3177,3196,3338,3197,2833,2566,2489,2846,3393,2751,2206,2372,2610,3017,3497,3167,2800,3395,3256,2586,2416,2927,3429,3516,3602,3366,3006,2733,2773,2563,2404,2943,3739,3074,3408,3702,3949,4155,4029,4047,4132,3641,3679,3860,3598,4017,3795,3740,3863,3934,4032,4256,4408,4192,3830,3662,3533,3507,2971,2554,2730,3204,3116,3122,3294,3696,3961,3768,3914,3904,3524,3895,3919,2915,2414,2357,2575,2702,2225,1853,1879,2414,2557,2158,2657,2556,2214,2180,2046,3043,3504,2945,2861,3535,3476,2980,2242,1776,2448,3155,3165,3001,2251,2130,2176,2281,2221,2198,2407,2587,2730,2684,2587,2386,2175,2408,2628,2546,2877,2518,2065,2025,2009,1737,2068,2432,2337,2113,2187,2170,2244,2254,2242,2491,2578,2714,2353,1075,826,1694,2231,1903,1190,626,578,710,2186,2721,2712,2074,1276,891,588,564,903,1611,2259,2735,3153,3289,3353,3184,2732,2137,1864,2163,2401,2569,2385,1883,1970,2485,2591,2412,2641,3138,3848,4252,4328,3183,2272,2435,2272,2073,2489,2239,1687,1537,1807,2365,2341,2472,2997,3529,3543,3270,3156,3197,3320,3235,2685,3041,3837,3461,3537,2755,2384,2989,2536,2284,3095,3187,3121,3604,3554,2396,2365,3072,3528,3217,3230,2456,1937,1562,1202,1825,2376,2688,2845,2807,2933,3646,3786,3269,2667,2832,2676,2667,2453,2620,3360,3228,2842,3251,3510,3285,3266,3472,3040,2957,2769,2639,3144,2998,2098,2017,2273,2859,2885,3262,3372,3214,3077,3077,2889,3174,3283,2879,2525,3203,4168,4041,3961,3797,3673,3872,3697,3211,3097,3418,3288,2960,2995,3263,3474,3294,3391,3842,3874,3636,2812,2205,2051,2217,3097,3186,2723,3323,3000,2335,2908,2685,2355,2149,2410,2519,2525,2625,2376,2270,2806,3194,3175,2534,1870,2014,2393,2429,2307,2766,2480,1945,1941,1955,2001,1999,2166,2057,1432,1763,2889,3194,3422,3396,3520,3120,2432,2367,2357,1845,2008,2523,2186,1519,1714,2253,2369,2022,1844,1829,2392,2160,1476,1815,1946,1925,2498,2247,1716,1738,2293,2088,2122,2022,2272,2369,2130,1718,1592,1938,2428,3061,3548,3984,3860,2853,2142,1978,2590,3406,3916,3284,2473,2283,2797,2731,2577,2778,3321,4001,4111,3520,2447,2828,3345,2966,3721,4204,3862,3359,2718,3049,2856,3122,3983,4215,4775,4720,3629,3443,3965,4027,3739,3140,3222,3352,3694,3946,3271,2600,1904,1542,1446,1405,1320,1658,2825,2806,2164,2814,2228,2112,1819,1777,2490,2959,2938,3143,2790,2344,2529,2644,2314,2025,2706,3714,3602,2447,2433,2897,2692,2705,2486,2342,2618,2382,2304,3326,4213,2985,2526,2897,2934,2943,3345,3228,2933,3322,3404,3485,3129,2727,2721,3183,3221,2334,2017,2017,1928,1818,2085,3129,3659,3145,3021,2734,2247,1742,1441,1838,3167,3792,4053,3539,2751,2381,2039,1693,1616,1820,2543,2460,2254,1889,1990,1837,2400,2788,2850,2974,2928,2713,2318,1882,1773,1897,2456,2096,2455,3153,2247,1575,1734,2214,2696,2827,3103,3566,3252,2735,2686,3011,2943,3007,2629,2385,1999,1572,1684,1956,1903,1999,1997,2319,2090,1909,1745,1678,1616,1758,2010,2532,2429,1810,1723,1480,1367,1487,2057,2111,1823,1881,2014,2254,2289,2367,2313,2166,2166,2004,1651,2219,2898,2424,2104,1936,2364,2311,2215,2258,1989,2305,2756,2351,2837,2710,2251,2448,2512,2149,1837,2429,3242,3140,2736,2674,2453,2146,2294,2335,1858,1710,1641,2030,2797,2903,2495,2243,2203,1781,2261,2614,2923,2764,2481,2283,2213,2202,1891,1803,1898,1986,1941,1998,2038,1820,1763,1838,1787,2181,2467,2654,2548,2786,2985,3265,3406,2917,2549,2602,2237,2203,2687,2894,2578,2438,2068,2498,2488,2601,3002,2834,3134,3311,2679,2410,2522,2220,2072,2303,2728,2371,2061,2394,2885,2416,1908,2855,3545,3507,3526,3448,3385,3228,3043,2402,2601,2289,1876,2037,1843,1800,2000,2176,2097,1786,1811,1711,1779,1892,1609,1554,1587,1604,1802,2149,2667,2654,2369,2531,3284,3017,2700,2435,2160,2094,1850,1632,1698,1815,2271,2554,2696,3105,3675,3515,3056,2707,2330,2402,2496,2687,2758,2507,2613,2740,2779,2964,2389,2269,2600,2786,2586,2705,3045,3173,3548,3626,3171,2891,2905,2684,2086,2263,3294,3305,3197,2549,1774,1511,1735,2170,2290,2557,3029,3089,3255,2482,2236,2237,2106,2774,3209,3007,2618,2042,2177,2744,2576,2374,2379,1914,1945,1996,2110,2303,2454,2169,2155,2388,2193,2357,2544,2658,2929,2865,2456,1897,1499,1491,1838,1954,2433,3034,2921,3029,3120,3021,2350,2396,2478,2189,2483,2597,2768,2854,3104,3196,2996,3012,2917,2912,3264,3438,2445,2179,2714,3026,2623,2177,1995,2014,2380,2406,2220,2245,2336,2264,2221,2545,2829,2790,2866,2355,2054,2631,2715,2384,2664,2898,2711,1917,1697,1735,1944,1950,1845,1881,1835,1667,1630,1729,2008,2041,1944,1771,1835,1748,1677,1743,1785,1507,1478,1656,1774,1704,1760,1787,1665,1745,1930,1828,1881,1964,1726,1477,1794,2175,2359,2485,2381,2276,2568,3254,2918,2931,2588,2357,2363,2497,2844,3186,3467,3414,3074,2896,2774,2548,2289,2251,1932,1766,2078,1895,1339,1474,1887,2308,2670,2228,1583,1621,1632,1975,2168,1779,1537,1687,2047,2270,2421,2339,1955,1758,1189,1189,1847,2097,2034,1738,1543,1546,1925,1764,1606,2066,2007,1652,1745,1873,1713,2070,1965,1836,1616,1900,2191,1896,1775,1857,1593,1659,1646,1584,1745,1599,1499,1557,1503,1601,1569,1559,1881,2700,3093,2951,2334,2050,2242,2159,2273,2116,2117,1830,1839,2041,2127,2106,1700,1663,2075,1646,1750,1729,1465,1491,1820,1853,1749,1666,1715,1803,1754,1513,1403,1408,1558,1738,2105,2165,2026,1779,1586,1797,2111,2178,1875,1532,1801,1986,2177,2894,2945,2552,2317,2244,1927,1942,1952,1945,1956,1874,1604,1747,2512,3094,2610,2330,2076,1887,2252,2324,2292,2536,2567,2094,1675,1510,1369,1459,1888,2229,2849,2924,2612,2494,2763,2776,2593,2764,3208,3142,3363,3261,3311,3802,3457,3133,3008,3110,3307,2979,2125,1902,2015,2200,2293,2224,2154,2308,2786,3010,3002,2382,1964,2328,2532,2406,2555,3177,3492,3226,3496,3761,3188,2990,3316,3685,3475,2921,2950,3064,3086,2873,3222,3743,3522,3204,2964,2973,3185,3217,3163,3059,3227,3311,3189,3769,4329,4165,4171,4392,4086,3982,4113,3906,3329,3023,2996,3024,3018,2909,2990,2841,3132,3560,3897,3501,2663,2534,3269,3723,3030,2304,2099,1925,1853,2117,2605,2252,1903,1693,1871,2648,2613,2002,1904,2008,2106,1942,2084,2009,2455,2305,2258,2062,1924,2170,2298,2648,3163,3065,2785,3173,2629,2321,3338,3574,3168,3240,3667,2790,2586,2634,2311,2013,1963,2236,2258,2834,3090,2567,2286,2496,2316,2093,1831,1484,1509,1876,2036,2394,2401,2166,1901,2076,3122,2994,1905,1484,1712,2172,2209,1641,1918,2467,2206,1844,1910,3092,3444,3218,2800,2291,2019,1956,2652,3153,2674,2667,2316,1791,2052,2070,2126,2084,1826,1685,1680,1704,2015,2009,1798,1933,1521,1219,1431,1997,1937,1789,1891,1913,1948,1772,1632,1515,1365,1504,1531,1515,1848,1939,1919,1932,1826,1859,1991,1995,1732,1967,2290,1836,1525,1540,1650,1865,1884,1703,1760,2004,1711,1529,1708,1885,1936,2013,2426,2693,2173,1700,1535,1578,1744,1815,2339,2327,3050,4019,3972,3688,3155,2867,2712,2037,1814,2187,2062,2244,2002,1727,1694,1496,1742,1992,2003,2214,2615,2978,2984,2433,2440,1960,1917,2068,2257,2286,2613,2547,1901,1731,1641,1825,1777,1715,1720,2072,2228,2708,2169,1572,1633,1975,2105,1729,1632,1897,2934,3598,3575,3348,2950,2386,2131,1892,1609,1453,1516,1690,2237,2164,2054,2314,1918,1765,1767,1745,2163,2382,2210,1889,1898,2211,2254,2068,1957,1824,2061,2552,3008,2651,2031,2458,3185,2965,2509,2308,2400,2745,2389,2070,2187,2003,1795,1710,1758,1451,1351,1551,1386,1522,1898,1979,1741,1523,1855,2663,2407,1578,1584,2403,2576,1893,1893,2239,2735,3138,3248,3427,2956,2245,1697,1534,1855,2076,2052,1819,1925,2039,2181,1974,2094,1906,2086,2151,2028,1827,2120,2190,1964,1922,2337,2966,3838,4073,3470,2890,2503,2286,2240,1880,1623,1564,1579,1753,2077,1999,1597,1591,2001,2472,2523,2658,2681,2568,2221,2104,2246,2565,2379,1634,1514,2129,2479,3098,3120,2757,3124,3294,3164,3024,2806,3055,3295,2941,3027,3426,3177,3012,2162,2172,2492,2564,2632,2974,3090,3032,3002,2984,3289,3198,2834,2964,2942,2922,3074,3078,3134,3086,3073,3056,3156,3432,3350,3124,3379,3022,3089,3284,3143,2814,2599,2858,3266,3124,2866,3541,3963,3938,3808,3614,2621,2192,2614,3042,3428,3457,3386,3380,3270,3084,2889,2833,3028,3229,3180,3276,3154,3488,3402,3407,3718,3573,3592,3386,2989,2996,3060,3036,3041,3275,3482,3521,3488,3105,3115,3094,2819,2820,2894,2831,2895,2914,2919,2711,3063,2933,2696,2625,2678,2742,2752,2690,2856,3089,3012,2923,2920,3208,2955,3045,3068,2973,2627,2192,2129,2595,3207,3207,3094,3016,2956,3236,3469,3381,3216,3273,3311,3093,2780,2644,2702,2931,2897,2926,3184,3355,3532,3774,3820,3935,3683,3405,3764,3848,3584,3745,3757,3759,3331,2931,3020,3229,2944,2548,2589,2921,2811,2518,2587,3108,3251,3509,3986,3435,2925,2626,2869,2895,2961,3005,2943,2978,2940,2918,3232,3120,2950,2976,2966,2633,2200,2175,2238,2258,2101,1749,1966,1967,1414,1342,1156,1312,1615,2405,2732,1953,1853,1431,1569,2408,2659,2553,2435,2502,2458,2460,2964,2975,2817,3108,3261,3377,3319,3252,3013],[2618,2369,2427,2277,2357,2266,1948,2188,2121,2619,3493,3313,2598,2603,2768,2974,3452,3397,2855,2999,3956,4233,4320,4017,2562,2447,3078,3327,3555,3362,2928,2652,2959,3648,3857,3666,3353,2884,2903,2810,2765,2432,2986,3366,3154,2796,2330,2121,2284,3075,3459,2899,2708,1974,2012,2340,3095,3416,3702,3505,3461,3660,3739,3639,3530,3699,3816,2893,2569,2778,2449,3021,3741,3991,4060,4091,4099,4276,4246,3962,3628,3444,3387,3373,3017,2829,3312,3021,2965,3150,3116,3692,4014,3499,2587,3153,3370,3724,3920,3553,3406,3287,2610,2687,2933,2315,1694,2463,2536,2198,2845,2685,2977,3232,2532,2675,3094,2674,2652,2907,3038,3276,2774,2411,3103,3036,2713,2395,1961,2468,2395,2551,3128,3152,2698,2679,2910,2626,2365,2047,1992,2093,2240,2546,2888,2863,2231,2002,1917,1780,2046,2215,2521,2752,2294,1961,2055,2184,2448,2467,2393,2444,1591,624,885,2189,3419,3160,1510,636,614,871,2468,2587,2238,1183,465,467,658,1378,2114,2587,3085,2869,2381,2734,2879,2792,2425,1755,1640,1837,1833,1997,2104,2222,2276,3352,3670,2909,2825,2994,3597,4011,4028,3451,2940,2718,1880,1772,2432,2426,1771,1719,2380,3625,3805,3280,3074,3422,3482,3444,3605,3567,3353,3549,3566,3587,3248,2773,3164,1940,1157,2261,2741,2835,3244,2906,3085,2954,3327,2546,2602,3013,3320,3055,2874,2577,2290,1916,1878,2417,2698,2601,2601,2585,2553,3045,3547,3579,3019,2393,2087,2380,2380,2479,3007,3210,3043,3173,3269,3256,3087,3247,3104,2965,3052,2735,2656,2830,2162,2211,2346,2467,2597,3375,3903,3601,3248,3283,3195,3193,3281,2941,2866,3450,3979,3523,3084,2999,3493,4090,3983,3720,4111,4427,4195,3749,3472,3059,3254,3616,3834,3881,3764,3815,3273,2473,1882,2041,2635,2791,2692,3216,2854,2701,2788,1940,2239,2377,2468,2566,2386,2329,2392,2359,2820,3273,3284,2828,2455,2222,2313,2155,1714,2235,2143,1665,1611,1881,2308,2541,2709,2371,1839,2164,2625,2489,2555,3122,3486,3285,2719,2789,2439,2242,2387,2698,1841,1553,1855,2639,3208,2391,1406,1426,1958,2000,1730,1923,2039,1720,1917,2032,1947,2316,2332,1819,1963,2302,2260,2043,1793,1852,1518,1809,2177,2253,2612,3415,3515,2768,2240,2456,2865,3539,3798,2860,2477,2518,2586,2496,2524,2740,3621,4364,4383,3404,2298,2720,2633,2696,3701,3745,3571,3741,3179,3041,3540,3808,3721,3991,4660,4404,3620,3076,3453,3814,4219,3854,3338,3525,3718,3885,3320,2779,1993,1494,1388,1415,1315,1794,2585,2460,2050,1972,2159,2236,2133,1955,1898,1924,2282,3272,3488,2956,2806,2762,2388,2135,2906,3472,3104,2096,2088,2241,2405,2950,2490,2325,2274,2662,3354,3936,3864,2762,2446,2470,2583,3072,3654,3518,3200,3401,3458,3285,2728,2790,3068,2953,2722,2624,2597,2540,2724,2416,2276,2927,3413,2853,2935,2356,1853,1496,2519,3203,3167,3637,3764,3150,2829,2767,2098,2020,2205,2419,2605,2187,2290,2241,2223,2127,2032,1969,2234,2353,2144,2005,1765,1603,1589,1399,1437,1517,1924,2468,2267,1865,1934,2421,2896,2507,2403,3249,2985,2153,2106,2297,2622,2954,2800,1957,1205,1753,2370,2226,1814,1904,1755,1617,1362,1556,1203,1123,1609,1923,2345,2570,2322,1904,1948,1766,1524,1547,2086,2347,2742,2390,1875,2149,2313,2428,2481,2564,2089,1767,1785,2574,2808,2267,1848,1588,1768,2388,2854,2676,2132,2002,2724,2136,2141,2219,2004,1859,2468,2791,2279,2364,2996,2788,2390,2448,2445,2085,2002,1824,1534,1453,1911,2458,2460,2537,2176,1862,2220,1935,2214,2733,3159,2862,2525,2444,2232,1981,1875,1864,1952,1913,1706,1817,1960,2013,1921,1801,1538,2220,2680,2408,2248,2610,2758,2653,2876,2676,2353,2262,2212,2225,2609,2687,2532,2300,2068,2059,1919,2151,2835,3231,3113,3331,2353,2515,2581,2176,1828,2075,2820,2563,1923,2083,2454,2259,1815,2669,3360,3527,3416,3077,2758,2608,2491,2352,2224,1917,2076,2590,2056,1781,1888,2196,2172,1713,1604,1594,1470,1582,1723,1776,1674,1750,1726,2031,2348,2575,2678,2874,3184,3043,2774,2503,2191,2074,1820,1867,1381,1255,1886,2415,2380,2790,3432,3356,2909,2347,2242,2647,2535,2467,2510,2492,2577,2613,2917,2998,2545,2277,2434,2681,2603,2876,3278,3500,3684,3415,3089,2854,2858,2514,1649,1486,2586,3561,3427,2477,1687,1583,1803,2076,2103,3399,3826,3371,2792,1987,2028,2666,2302,1944,2700,3049,2661,2127,2238,2242,2371,2445,2392,2336,2184,2089,2668,2963,2874,2636,2684,2499,2398,2231,2120,2518,2898,2586,1907,1575,1419,1612,1916,1996,2610,3077,2984,2966,3083,3052,2526,2678,2365,1903,2018,2374,2787,2853,2990,3013,2949,2893,2786,2395,2665,3097,2972,2543,2662,3000,2841,2547,2278,2273,2440,2421,2406,2040,2540,2671,2610,2522,2720,3297,3326,2697,2497,2876,2611,2944,3207,3144,2966,2108,1559,1640,1665,1852,2113,2336,2199,1718,1814,2154,2556,2725,2402,2003,2045,1825,1740,1737,1772,1765,1649,1702,1764,1400,1577,1922,1971,2012,2055,2231,2289,2164,1878,1815,2076,1848,1714,1823,1886,2004,1713,2523,3108,2854,2128,1697,1638,1899,2415,3061,3360,3288,2554,2006,2437,2940,2611,2275,2165,1985,2410,2543,1783,1719,1708,2196,2755,2753,1571,1477,1380,1619,1798,1844,1864,2176,2238,1851,1898,2183,1809,1905,1361,1455,1694,2153,1874,1659,1615,1601,1897,1976,2166,2788,2736,2343,2453,2279,1846,1877,1871,1673,1412,1481,1750,1828,1710,1859,1787,2586,2610,2122,1905,1690,1426,1411,1472,1682,2238,2020,1437,1691,2250,2134,1682,1557,1952,2116,1976,2013,1979,1790,1570,1665,1910,2193,1934,2001,2143,1643,1546,1428,1349,1393,1588,1676,1556,1504,1570,1720,1715,1379,1460,1793,1629,1584,1799,1557,1509,1617,1807,2154,1991,2010,2008,1878,1978,1892,2378,3241,2910,2309,2447,2327,2141,2100,1919,1941,2249,2063,2016,2448,2888,3109,2635,2636,2477,2551,2492,2101,2149,2381,2634,2244,1736,1623,1513,1963,2496,2983,3031,3197,3205,2591,2423,2287,1894,2361,3009,3109,3662,3806,3816,3872,3666,3550,3394,3196,3351,3150,2193,2308,2296,2766,3095,2415,2198,2288,2712,2978,2711,2244,2136,1957,1735,2546,3087,3655,3834,3880,3794,3817,3529,3022,3041,3682,3594,3133,3000,2940,3060,3112,3128,3267,3333,3073,2809,2801,3089,3205,2822,2908,3386,3286,3834,4500,4499,4029,3919,4119,4347,4576,4485,3880,3294,3400,3466,3068,2697,2646,2840,2731,2700,3021,3637,2858,2014,2315,2812,3630,3549,2909,2793,2484,2486,2728,2688,2593,2348,2090,2248,2835,2371,1718,1722,1732,1670,1785,1695,1564,2148,2630,2647,2084,1726,1830,1983,2091,2729,3066,2791,2540,2510,2712,3422,3020,2415,2750,3063,2640,2358,2413,2495,2028,1742,2211,1964,2393,2854,2512,2431,2517,2316,2337,2249,1845,1835,2008,2239,2664,2514,2394,2452,2451,3017,2502,1557,1260,1665,2307,2436,2122,1918,1995,2165,2165,1785,2279,2688,2683,2103,1148,1016,1158,1694,2851,3102,3365,2643,2541,2846,2332,1922,1845,2278,2719,2757,2430,1727,1769,1584,1508,1250,1323,1408,1666,1866,1918,1941,1875,1652,1495,1655,1594,1482,1919,1993,1763,1869,1881,1896,1999,1849,1722,1675,1587,1670,2062,2341,1924,1516,1587,1777,1822,1713,1600,1564,1301,1238,1370,1594,1779,1930,2021,1926,1934,1879,1615,1508,1436,1694,1649,1738,2259,3631,4052,3897,3962,4298,3360,2769,1993,1850,1918,1985,2138,2285,2425,1939,1454,1508,1667,1770,2093,2459,2604,2665,3367,3650,3215,3161,2907,2625,2752,2519,2484,1814,1968,1794,1804,1604,1565,1788,1625,1858,2250,1794,1565,1859,2232,2044,1569,1490,1914,2668,3087,3253,2971,2650,2907,2752,2288,1637,1637,1542,1691,1801,2123,2115,2226,1868,1742,1976,2621,2917,2846,3249,2801,1992,1835,1864,2474,2225,1623,1832,2189,2625,2843,2664,2588,2334,2096,2405,2524,2444,2034,1891,2441,2226,1665,1750,2267,2424,1974,1850,1731,1440,1471,1842,2272,2078,1962,2353,3341,3084,2563,3245,3184,2852,2140,1906,2161,2806,3742,3905,3846,3557,3033,2335,1976,1876,1899,1640,1643,2322,1887,2348,1924,1928,1951,1982,2079,1701,1475,1716,1720,1861,2208,3020,3188,3554,3572,2712,1904,1695,2198,2189,1614,1661,1804,1664,2017,2810,3096,1997,1381,1670,2220,2940,3189,2962,2563,2262,1982,1628,2237,2270,1673,1967,2568,2563,2724,2899,2763,3140,3436,2874,2489,3210,3494,3573,3238,3004,3466,3086,3013,2700,2280,2496,2774,2600,2676,2630,2833,2679,3161,3356,3131,2827,3116,3211,3500,3749,3727,3495,3340,3168,2942,3399,3462,3218,2896,3295,3606,3356,3070,3143,2654,2328,2475,2381,2147,2634,3573,3749,3550,3241,3210,2670,2072,2236,2548,2717,2918,3193,3104,2996,2745,2775,2845,3113,3169,2996,2989,3276,3566,3574,3771,3726,3637,3638,3088,2890,2893,2952,3098,3097,3118,3107,3003,2755,2872,3194,3237,3297,3441,3665,3483,3550,3331,3066,2899,2946,2913,2809,2757,2784,2932,2964,2705,2758,3002,2961,2505,2417,2670,2700,2911,3040,2854,2553,2405,2414,2809,3605,3650,3426,3486,3381,3514,3784,3720,3548,3550,3608,3248,2558,2482,2578,2958,3083,3092,3254,3650,3970,4104,3996,3590,3269,3432,3649,3611,3477,3375,3404,3637,3110,3043,2896,2960,2787,2381,2382,2589,2854,2735,2565,3141,3042,2972,3344,3194,3134,3000,3152,3173,3098,2902,2749,2711,2497,2361,2546,2687,2499,2677,3009,2638,2149,2576,2695,2230,2386,2332,2275,1488,1008,1231,1394,1528,1684,2496,2745,1852,1289,1694,2471,2699,2679,2867,2341,2470,2456,2921,4046,3718,3111,3061,2986,3154,3174,3085,2765],[2588,2508,2557,2446,2481,2745,2817,3100,3395,3500,3661,3573,3039,2775,2817,3040,3406,3493,2854,2438,3571,4292,4232,3939,2800,2446,2964,3027,3270,3565,3238,2632,3000,3660,3855,3980,3588,2622,2844,2656,2515,2530,3089,3418,3418,3209,2623,2305,2429,2911,2993,3149,2925,2353,2402,2654,3432,3726,3716,3604,3662,3572,3123,2838,2727,3320,3675,2945,2286,1736,1589,2558,3587,3835,3731,3396,3340,3154,3090,3107,3505,3792,3783,3550,3492,3311,3695,3684,3789,3768,3691,4209,4059,3959,2743,3016,3089,3330,3550,3229,3364,3274,2565,2797,3629,2906,2140,2615,2556,2567,2988,2872,3289,3278,2259,1966,2283,2440,2867,2547,2613,3354,3484,3067,3087,2607,2381,2243,2255,2548,2497,2854,3562,3606,3455,3419,3321,2622,2323,2446,2576,2545,2752,2797,2741,3002,2588,1851,1866,2207,2454,2049,2272,2981,2589,2051,2114,2388,2463,2443,2548,2344,1355,541,606,1019,1709,1647,874,614,864,1870,2796,3265,2935,1418,673,971,1593,2066,2760,3013,2845,2342,2117,2357,2618,2524,2195,1892,1870,1752,1696,2293,2449,2437,1981,2495,2998,2482,2144,2394,2890,3078,2856,3082,3248,3266,3002,2424,2182,2166,1936,1916,2680,3520,3894,3508,2901,3073,3241,3395,3602,3853,3310,2667,2525,2496,2319,2722,3112,1897,1205,2061,2633,2684,2898,3054,3223,2696,3085,2965,3108,3327,3416,3029,2511,2375,2294,2053,2046,2553,2775,2661,2742,2663,2523,2993,3444,3251,2743,2170,1937,2327,2272,2135,2342,2470,2467,2539,2532,2820,3156,3569,3501,3155,3529,3349,2788,2907,2678,2170,2364,2622,3024,3372,3595,3562,3232,3088,2864,2992,3451,3377,3212,3327,3770,3514,3227,3192,3570,4112,3894,3691,4289,4389,4413,4195,3846,3610,3965,3575,3487,3421,3526,3837,3476,2611,2019,2292,2380,2340,2875,3007,2720,2431,2251,2239,2583,2624,2787,2733,2329,1956,2182,2564,2579,2635,2531,2798,2711,2214,2221,2105,1967,2224,2380,1957,1618,1951,2314,2399,2794,2857,2285,2174,2337,1876,2512,3620,3488,3033,2520,3299,3193,2891,2387,2441,1945,2287,2358,2580,2903,1968,1181,1310,1556,1786,2274,2286,2573,1940,1797,2070,1692,2294,2822,2080,2045,2237,2201,2291,2342,2418,2008,2245,2098,1722,2032,2665,2847,2481,2353,2735,3050,3177,2997,2368,2409,2575,2279,2353,2496,2729,3708,4440,4148,3065,2669,3099,2912,3209,3707,3808,3377,3702,3216,2892,3701,4083,3461,2841,3133,3570,3602,3225,3601,3630,3543,3372,3519,3391,3658,3784,3190,2454,1501,1366,1284,1233,1272,1933,2354,2042,1770,1791,2108,2360,2356,1958,1974,2236,2754,3615,2867,2343,2136,2078,1871,1742,2321,2891,2762,2243,2126,1957,2300,2944,2708,2662,2426,2997,3176,3332,3248,2601,2322,1840,2064,3113,3445,3742,3615,3248,3373,2966,2618,3288,3326,2783,3132,3308,2854,2946,2809,2281,2656,2784,3162,2813,3055,2411,1745,1805,2945,2938,2144,2732,3131,2672,2388,2709,2468,2369,2100,2160,2031,2180,2558,2581,2566,2585,2655,2212,2265,2174,1803,1691,1782,1719,1928,2055,1770,1552,1561,1823,1843,1527,1638,2062,2455,2309,2598,3256,3399,2595,1777,1673,2039,2333,2349,2009,1653,2121,2543,2586,1870,2035,1949,1750,1771,1759,1296,1456,2258,2333,2469,2681,2098,1871,1963,1837,1546,1663,2052,2014,2062,2080,2130,2467,2449,2468,2443,2287,2119,1819,1659,1825,1888,1896,1832,1392,1395,2186,2294,2469,3388,2978,2641,2109,2164,2111,1897,2170,2599,2753,2367,2153,2336,2471,2293,2022,2071,2354,2294,1709,1491,1655,1942,2028,1951,2342,2603,2414,2333,2412,2237,2921,3256,2895,2695,2821,2940,2995,2412,1911,2209,2265,1897,1673,1787,2021,2083,1979,2100,2540,2264,2041,2326,2476,2302,2093,1995,2407,2468,2439,2579,2747,2811,2753,2561,2128,1858,2081,2125,2163,2407,3013,2940,3168,2208,2089,1899,1717,1656,1875,2290,2190,1990,1980,2189,2236,2142,2743,3008,2949,2708,2644,2646,2610,2694,2647,2122,2058,2137,2585,2530,2097,1995,2029,2161,1913,1733,1919,1661,1614,1999,2075,1890,2106,2003,2188,2598,2861,3033,2792,2767,2894,2899,2345,1873,2116,2256,2026,1905,1879,2034,2494,2554,2551,2697,2886,2378,2064,2756,2948,2513,2544,2348,2407,2548,2627,2690,2807,2665,2339,2233,2325,2554,2858,3182,3352,3496,3418,3343,3110,2977,2326,1444,1386,2352,3356,3187,2282,1731,1723,1881,2075,2547,3704,3980,3519,2583,1951,2237,2800,2177,1549,2268,2370,2320,2675,2494,2523,2445,2593,2486,2310,2111,2302,2946,2976,3011,2809,2943,2378,2540,1952,1872,2072,2446,2595,2343,1806,1457,1619,1892,2192,2771,2874,2867,2943,3261,3105,2736,2586,2413,2447,2186,2401,2864,2841,2954,2877,2775,2789,2611,2473,2476,2382,2789,2981,2564,2571,2706,2533,2482,2343,2143,2239,2187,2104,2742,3165,3021,2889,3152,3204,3041,2834,2967,3293,2853,3099,3500,3057,2179,1662,1578,1591,1705,2047,2087,2414,2763,2475,2198,2529,2833,2953,2474,2145,2359,2144,2161,2107,1968,1964,2155,1679,1541,1400,1594,1742,2089,2535,2251,2160,2344,2186,1893,2050,1946,1628,1762,2016,1764,1882,1676,2003,2248,2108,1905,1569,1504,1667,2116,2623,3141,3465,2792,1957,2166,2580,2429,2133,2171,2292,2798,2686,1788,1953,1882,2152,2562,2764,1739,1656,1554,1425,1709,1718,1820,2458,2221,2123,2410,2136,1881,1642,1511,1746,2002,2130,1806,1633,1634,1702,2002,2754,2967,2752,2572,2610,2900,2529,2031,1625,1647,1662,1453,1613,1906,1736,1705,1710,1840,2017,2684,2310,1752,1611,1332,1432,1655,1520,1544,1617,1558,1403,1779,2052,1968,1926,2248,2038,2187,2499,2448,2701,2500,2197,2227,2437,1885,1985,2078,1680,1835,1875,1456,1469,1885,1887,1611,1592,1638,2232,2062,1626,1450,1672,1597,1394,1437,1689,1644,1433,1870,2631,2121,2023,1738,1849,1968,1966,2473,3127,2562,2404,2899,2667,1890,1897,2115,2363,2425,2371,2615,2911,2792,2776,2712,2671,2500,2128,2031,2086,2003,1723,2043,2051,1736,1566,1787,2412,3074,3021,2890,3562,3482,2646,2161,2084,1976,2159,2127,2836,3563,3606,3580,3768,3768,3493,3499,3137,3005,2564,2210,2133,2286,3099,3319,2780,2416,2410,2700,3006,2846,2380,2556,1830,1511,3041,3694,4217,4565,4665,4388,4032,3713,3203,3203,3392,3407,3427,3227,2995,3112,3497,3436,3103,2819,2678,2641,2746,3017,3062,2801,3001,3165,3066,3407,3759,3295,2850,3090,3615,4323,4484,4135,3395,3078,2910,3054,3431,3293,2834,2621,2479,2210,2612,3432,3332,2494,2442,2674,3323,3770,3475,3307,3242,3408,3151,3262,3197,2956,2710,2287,2424,2100,1919,2448,1923,1634,1867,1699,1626,2131,2711,2522,2051,1990,2049,2033,1807,2066,2724,2761,2004,2303,3049,3452,3298,2420,2318,2944,2731,2231,2645,2838,2104,1599,1664,2189,2822,3167,3239,3232,2856,2478,2496,2311,2053,2001,1809,2107,2217,1847,2266,2698,2644,2665,2490,2131,1896,1959,1913,2016,2147,1765,1661,2342,2331,1590,1890,2128,2321,2043,1187,1252,1681,1693,2674,3668,3273,2679,2687,3083,2666,2051,2104,2978,4017,3531,2836,1947,2149,1669,1564,1325,1245,1422,1684,1824,1858,1777,1585,1459,1617,1873,1796,1698,1810,1694,1764,1740,1676,1895,1965,1884,1663,1548,1635,1780,1749,1769,1685,1726,1746,1678,1649,1637,1599,1490,1392,1293,1321,1555,1765,1948,2163,1919,1787,1785,1621,1541,1453,1399,1480,1874,2955,3870,3915,3966,3911,4497,4298,3199,2477,1956,1817,1933,1874,2025,1964,1659,1709,1912,1916,1865,2077,2137,2025,2252,3130,3199,3059,3189,2922,2968,3309,2107,1906,1915,1831,2236,2120,1627,1715,1764,1603,1819,1876,1475,1503,1995,3072,2731,1788,1780,2462,2790,2962,3310,3218,3242,3348,2890,2803,2289,2227,1857,1882,2010,2075,2046,2590,2587,1831,2098,3328,3144,2839,2995,2848,1947,1772,1911,2423,2195,1709,1867,1914,2336,2796,2612,2445,2014,2404,2456,1901,1952,2466,2857,3130,2567,1903,1811,2574,2160,2116,2121,1887,1658,1729,2144,2698,2710,2676,2842,3044,3068,2916,3437,2776,2542,2057,1817,1760,2547,3047,2802,2485,2846,3281,2813,2314,2007,1971,1791,1829,2294,2044,2495,2292,2146,2114,1754,1649,1595,1667,2360,2642,2711,2444,3012,2791,2785,2745,2151,1653,1771,2131,2098,1499,1585,1613,1843,2315,2911,2609,2084,1719,1533,1968,2491,2695,2610,2497,1885,1909,2178,2756,1968,1884,2609,2808,2507,2696,3140,3051,3273,3337,3477,3337,3812,3628,3791,3159,3362,3669,3059,2668,2562,2497,2774,2700,2451,2451,2438,2885,2918,3242,3407,3419,3009,3300,3473,3287,3472,3475,3420,3594,3551,3187,3630,3488,3204,2943,3131,3498,3277,3228,3128,2362,1991,2083,1966,1945,2698,3476,3537,2988,2819,2923,2199,1650,1969,2314,2382,2638,3109,3124,2844,2678,2823,2901,3092,3182,3277,3229,3328,3651,3821,3881,3879,3786,3127,2975,3025,3074,3177,3334,3453,3272,3244,3217,3225,3529,3596,3724,3588,3627,3836,3863,4037,3980,3905,3636,3240,3065,2931,2976,3210,3304,3138,2782,2641,2641,2501,2669,2824,2736,2657,2824,3088,2967,2603,2775,3199,3561,3805,3593,3538,3594,3540,3610,3685,3679,3751,3720,3551,3185,2603,2521,2775,2956,3319,3108,3093,3760,4001,4103,4121,3444,3305,3350,3304,3412,3452,3087,3243,3540,2779,2339,2101,2038,1722,1211,964,1431,2383,2425,2721,2829,2406,2585,3051,3349,3527,3537,3470,3393,3168,3003,2695,2643,2382,2352,2291,2457,2571,2777,2989,2660,2148,2686,2896,2056,2137,2509,2623,2338,1966,1756,2099,2217,2057,2498,2942,2401,1408,1372,2149,2429,2335,2938,2602,2574,2973,3807,4197,3704,3595,3469,3260,3453,3582,3316,2942],[3038,2961,3348,2911,2332,2621,3662,4065,4020,3933,3784,3704,3512,3165,2928,2996,3312,3363,3062,2836,3130,4084,4189,4048,3121,2608,2962,3108,3393,3846,4108,3913,3751,3861,3938,3574,2988,2630,2571,2202,2368,2884,3310,3473,3666,3378,3182,3350,2867,2461,2842,2967,2798,2786,3124,3366,3462,3459,3295,3315,3462,3360,3071,3175,3400,3416,3034,2533,2304,2072,1938,2379,2946,3455,3366,3286,3109,2535,2873,3076,3220,2940,3032,3055,3188,3639,4151,3723,4058,4073,3896,4143,3760,4057,3940,3053,2031,2374,2865,2644,2997,3326,2695,2561,2687,2321,1842,2458,2658,2502,2504,2583,2732,2617,1757,1468,1838,2015,2745,2625,2774,3216,3448,3298,3371,2890,2546,2127,1910,2493,2698,3095,3609,3753,3388,3186,3132,2405,2077,2343,2699,2827,2950,2809,2775,3060,2612,1979,2142,2456,2457,1972,2084,2499,2612,2219,2171,2415,2530,2419,2413,2415,1722,681,514,567,576,482,560,1025,2124,3043,3184,3364,3041,1801,1484,1925,2285,3002,3241,2667,2205,2292,2273,2373,2508,2200,1881,1481,1497,1491,1911,2777,2404,2381,2577,2990,3237,2235,1443,2222,2927,2956,2199,2577,3131,3500,3564,3074,2346,2121,2416,2451,2795,3283,3572,3085,3088,3304,3715,3654,3942,4164,3337,2782,2314,2102,2415,2887,2509,1262,1142,1909,2329,2765,3471,3880,3511,3171,3266,3435,3742,3916,3627,3138,2767,2047,1628,1631,1688,2050,2060,2371,2592,2551,2316,2601,3438,2844,2021,2141,2002,2874,2590,2401,2962,2686,2142,2044,2190,2591,3361,3934,3586,3338,3659,3815,3660,3083,2495,2135,2466,2968,3339,3521,3480,3409,3494,3591,3398,3373,3649,3747,3295,3194,3735,3993,3926,4095,4509,4332,3813,3638,4070,4380,4376,4215,3786,3667,3980,3498,3463,3758,3872,3859,3693,3050,1988,1692,1971,2541,2902,2814,2856,2563,2256,2702,3188,3193,3359,2846,2186,1721,1903,2331,2515,2702,2599,2952,2920,2538,2402,2513,2610,2384,2333,2404,1960,1835,2040,2215,2144,2316,2204,2103,2091,2092,2710,2919,2720,2257,2263,2657,3237,2950,2272,2420,2430,2448,2127,2059,1980,1543,1423,1528,1603,1817,2061,2288,2658,2221,1826,1738,1580,1990,2498,2307,2397,1835,2292,2568,2808,2402,2197,2050,1656,1607,2051,2242,2188,2213,2692,3138,3211,3028,2802,1966,2329,2387,2348,2602,2548,2933,3973,4300,3889,3481,3248,3278,3153,3114,3498,3755,3792,4108,3598,3261,3906,4017,3007,2318,2385,2135,2878,3397,3694,3015,2374,2622,3124,3377,3904,3861,3042,1829,1453,1320,1262,1196,1594,1736,2001,2085,1946,2164,2480,2436,2494,2466,2700,2744,3130,3342,2430,2263,1900,1760,1751,1470,1543,1886,1968,1990,1980,1988,2597,3056,2597,2483,2837,3442,3594,3726,3282,2320,1871,1791,2232,2909,3447,3760,3850,3307,3295,2933,3105,3493,3028,2917,3038,2799,2312,2546,2517,2275,2498,2953,3287,3840,3790,3173,2776,2611,3396,2480,1550,2055,2480,2420,1986,2277,2872,2801,2098,1697,1844,2420,2688,2785,2764,2430,2617,2657,2973,2441,2154,2642,2622,2112,2473,2523,1844,1682,1832,1806,1511,1395,1698,2315,2123,2118,2638,2828,2893,2488,1842,1784,1887,1854,1860,2136,2247,2376,2004,1898,1880,2210,1895,1781,2110,2283,2342,2523,3104,2653,2170,2322,1742,1583,1506,1462,1516,1807,1954,1785,2193,2223,2558,2561,2893,2669,2176,2134,2332,1926,1656,1538,1604,2074,2073,1609,1488,2194,2330,2788,3654,3405,2676,2078,1928,1669,1950,3301,3166,2433,2123,1945,2224,2086,1793,1659,1688,1741,1730,1774,1528,1732,1926,2194,1946,2484,2956,2711,1998,2304,2277,2415,3038,3196,3159,3187,3566,3697,2480,1715,2102,2701,2596,1935,1959,2054,1962,1772,1892,2015,2038,2137,2155,1987,2031,1956,1747,2045,2458,2614,2577,2754,2663,2535,2444,2129,2114,2095,2032,2578,2243,2818,3083,2944,2320,1903,1975,1955,1902,1941,1931,2210,2458,2205,2266,2248,2061,2353,2544,2236,2344,2986,3044,3016,3027,2777,1985,2385,2530,2942,2872,2379,2186,1986,2210,2115,1925,2229,2040,1869,1903,1953,1964,1970,2260,2612,2721,2729,2796,2864,2968,3339,3968,3743,2466,2271,2623,2262,2386,2598,2663,2666,2487,2012,1960,2557,2440,2758,3118,2813,2562,2668,2408,2339,2420,2501,2690,2845,2734,2461,2308,2332,2480,2874,3331,3389,3520,3435,3466,3393,3032,2033,1516,1847,2508,3364,2798,2027,1791,1935,1870,1921,2958,3923,3811,3118,2437,1998,1996,2101,1997,1902,1759,1475,2127,3060,3196,2830,2277,2451,2568,2260,1913,2498,2890,2925,2752,2584,2665,2271,1926,1412,1370,1893,2646,3024,2909,2623,2176,1858,1898,2499,3002,2880,2833,2879,3186,3087,2630,2285,2700,2873,2556,2567,2433,2807,2928,2730,2641,2751,2633,2266,2136,2235,2365,3031,2658,2425,2331,2444,2639,2209,1953,1910,1878,1921,2274,2792,3206,3343,3190,2948,3167,2850,2632,2661,2835,2822,2921,2631,2122,1798,1735,1515,1622,1960,2122,1977,2501,2277,1873,2342,2619,2655,2325,2187,2395,2029,2130,2258,1928,1697,1892,1525,1355,1493,1770,1593,1682,2074,1970,2059,2468,2664,2216,2032,1580,1505,1805,1892,1617,1653,1624,1596,1512,1328,1522,1490,1382,1435,1807,2197,2920,3529,2768,1973,2107,2395,2620,2728,2400,1895,1830,1768,1990,2010,2110,2182,2290,2542,2139,1985,1918,1844,2338,2503,2258,2343,1993,2762,2788,1829,1715,1749,2081,2116,1747,1636,1801,1989,2334,2413,2377,2714,2631,2022,1903,2210,2425,2494,2106,1597,1626,1675,1758,2282,2203,1974,1756,1694,1744,2082,2722,2201,1573,1411,1356,1388,1638,1865,1768,2229,2564,2492,2157,2094,2197,2172,2261,2568,2857,3089,2644,2941,2452,1989,1987,2293,1677,1826,2039,1920,2380,2382,1876,1691,2188,1943,1563,1543,1599,2088,1898,1536,1536,1694,1752,1650,1558,1851,2086,1771,1825,2201,1948,2141,1881,2000,2182,2361,2778,2705,2461,2438,2296,1869,1571,1669,1900,1875,2212,2316,2722,2873,2797,2763,2699,2733,2687,2158,1955,2026,2076,1708,2442,2370,1901,1616,1616,2596,3232,2338,1987,2526,2731,2723,2323,2364,2371,2344,2508,3002,3396,3504,3544,3862,3927,3461,3398,2822,2293,1912,2127,1866,2315,2745,2814,2822,2446,2453,2633,2819,3161,2449,2859,2203,1536,2259,3252,4272,4639,4644,4508,4355,4292,4353,4176,3451,3366,3294,3226,3103,3163,3510,3630,3104,2494,2501,2298,2340,2743,2856,2749,3190,3420,3222,3204,3538,3230,3140,3519,3731,3890,3934,3867,2917,2268,2374,2452,2823,2788,2292,2321,2395,2260,2341,3008,3650,2799,2372,2618,3298,3623,3551,3106,2808,3008,3020,2844,2894,3169,2564,2224,1788,1628,1638,2304,2070,1943,1923,1955,1879,2119,2832,2489,1842,1616,2076,1964,1533,1678,2112,1982,1928,2258,2813,3513,3337,2786,3060,3248,2706,2498,3071,3017,2196,1544,1858,2429,2928,3398,3228,3112,3166,2845,2590,2138,1945,2302,2254,2035,1801,1970,2630,2730,2656,2928,2806,2428,2459,2668,2282,1958,1876,1972,1881,2478,2420,1751,1578,1705,2253,1987,1791,2072,2625,2407,2827,3846,3681,3288,3254,3018,2253,1969,1949,2525,3874,3378,2701,2670,2579,2330,2598,2007,1513,1628,1752,1885,1710,1264,1447,1627,1524,1607,1890,2008,1754,1874,2336,1815,1586,1817,1721,1836,1669,1588,1774,1702,1659,1850,1771,1614,1601,1690,1635,1610,1557,1462,1564,1482,1626,1782,1686,1738,1904,1762,1718,1730,1892,1831,1533,1738,2069,2532,2877,2874,3170,3465,3816,4140,4081,3086,2257,1894,1709,1671,1896,2272,2341,2062,1918,1896,1447,1875,2588,2710,2451,2564,2768,2119,2118,2626,2613,2769,2873,2173,1924,1960,1635,1763,1584,1542,1871,1678,1647,1792,1641,1530,1691,2182,2540,2309,1647,1790,2283,2415,2862,3319,3347,3362,3331,3333,3031,2872,3007,2586,2299,2219,1838,2060,2977,2920,2208,2590,3110,2963,2656,1933,1531,1395,1726,1750,1808,1848,1882,1797,1909,1942,1938,2112,2688,2644,2332,1808,1504,2094,2746,2942,2787,2195,2334,1998,2786,2447,2046,1906,2116,2004,1826,2255,2956,3209,3364,2961,2395,2435,2525,3184,2458,2212,1982,1742,1632,1622,1567,1701,2200,2608,3039,2910,2361,1998,2014,2042,2336,2376,2252,2229,1863,1976,2127,2056,2055,2057,2071,2813,3197,3118,2588,2728,2878,2388,2286,2350,2161,2330,2131,2170,1934,1800,1695,2194,2409,2508,2152,2176,1846,1604,1781,2071,2253,2056,2222,2172,1986,2550,2411,1848,2310,2686,2956,2820,2675,2805,2744,2753,2650,3432,4196,4036,3737,3628,3276,3366,3438,3310,3076,2950,3155,3042,2393,2400,2728,2913,3066,3073,2812,3521,3813,3050,3018,2820,2821,3157,3406,3680,3897,4082,3652,3619,3218,2955,3134,3550,3618,3298,3565,3263,3078,2612,2611,2316,1959,2714,3208,2896,2525,2685,2514,2098,2114,2339,2595,2786,2833,3095,3272,2978,2814,2952,3059,3322,3467,3396,3349,3207,3383,3440,3683,3640,3405,3063,3216,3208,3290,3365,3447,3477,3408,3461,3233,3286,3638,3913,3919,3617,3644,3950,4012,3977,4128,4333,4096,3783,3676,3635,3377,3229,2945,2853,2603,2559,2512,2604,2823,2976,3044,2909,2796,3183,3130,2797,2982,3472,3796,3807,3747,3655,3582,3620,3655,3582,3649,3585,3537,3519,3230,2828,2761,2932,3144,3498,3217,3187,3819,4118,4079,3820,3096,3110,3326,3396,3295,3310,2833,2924,3216,2940,2662,2542,1996,1606,1572,1407,1252,1121,2216,2722,2532,2604,2780,2810,2960,3425,3747,3741,3172,2896,3201,3151,3084,2800,2642,2552,2541,2624,2721,2832,2593,2179,2685,2742,1933,2076,2714,2675,2858,2809,2436,2222,2037,2247,2809,2958,2562,1638,978,1743,2207,2183,2640,2478,2639,3542,4042,3948,3548,3416,3554,3416,3442,3554,2982,2565],[3094,3292,4283,3864,2730,2798,3548,3780,3723,3979,3893,3358,3558,3487,3197,3055,3326,3470,3251,3105,3045,3808,4296,4416,3649,2916,2807,3078,3500,3830,4168,4061,3978,3841,3982,3216,2369,2199,2307,2257,2106,2364,2836,2799,2958,2577,2648,3200,3083,3205,3522,3488,3415,3408,3363,3361,3494,3350,3649,3852,3605,3190,2955,3095,3552,3198,2668,2509,2382,2115,1872,2087,2540,3627,3880,4058,3918,4239,4335,3563,2532,2414,2603,3031,3352,3726,4705,4124,3713,3277,3648,4056,3953,3811,3990,3273,2265,2521,3093,2710,2675,2893,2842,2352,1766,1753,1849,2421,2529,2262,2223,2158,2188,2455,2006,1805,1590,2100,2975,3079,2912,2828,2981,3054,3068,3033,3129,2863,2608,2810,2486,2522,3030,3287,3088,3189,3448,2774,2307,2479,2708,2847,2588,2654,3209,3375,2837,2632,2597,2657,2660,2342,1991,2273,2614,2452,2591,2382,2405,2244,2181,2470,1782,833,577,563,575,830,1407,2283,3207,3480,3416,3540,3144,2774,3199,3112,3057,3001,2644,2266,2128,2269,2271,1875,1801,1790,1894,1648,1844,2431,2663,2341,2026,2281,2931,3519,3542,2653,1595,2294,3110,2786,2204,2315,2896,3288,3139,2949,2160,1809,2110,2424,3030,3056,3572,3307,3363,3610,3579,3990,4540,3799,3392,3601,3009,2756,2658,2924,2327,1261,1365,2356,3104,3382,3646,3891,3499,3056,3020,3310,3790,3854,3382,2430,2161,1782,2250,2640,2405,1915,1612,2059,2520,2617,2328,2371,2890,2337,2243,2198,2573,3155,2916,3157,3572,2931,2267,2417,2888,2996,3230,3914,3673,3663,3706,3916,3497,2949,2503,2224,2657,3327,3276,3175,3199,3246,3526,3611,3544,3516,3526,3658,3139,2780,3485,3971,3914,3835,4200,3669,3448,3340,3425,4135,4416,4216,3726,3453,3498,3627,3736,3767,3753,3891,3888,3410,2083,1758,2499,3183,3117,3052,2874,2655,2385,2567,3229,3293,3348,2958,2369,2272,2455,2443,2723,2975,2830,2658,2752,2476,1998,2151,2646,2262,2005,2443,2200,1935,1881,2001,1856,1780,2132,2349,2485,2739,2872,2055,2148,2175,2428,2578,3122,2762,2420,2439,2302,2569,2085,1714,1561,1537,1224,1371,1627,1736,1882,2053,2057,2143,2164,1962,1838,1954,2444,2858,2299,1788,2523,2607,2288,2248,2031,1687,1764,1699,1876,2017,1825,1918,2547,3166,2567,2271,1951,1937,2631,2805,2589,2529,2563,2903,3110,3452,3882,3974,3033,3287,3441,3328,3681,4007,4001,3853,3505,3261,3981,3934,2712,1937,2562,3100,3250,2963,3096,3356,3158,2879,2589,2826,3220,3309,2580,1603,1457,1376,1291,1309,1622,1817,2129,2030,1940,2989,2810,2558,2557,2728,3157,3200,3166,3130,2908,2762,2553,2365,2208,2178,2123,1998,1842,1846,1763,2129,3057,3332,3283,3513,3602,3833,3751,3529,3062,2716,2099,1825,2160,2798,3184,3376,3405,3397,3406,3145,2900,2501,2422,2807,2653,2337,1815,1938,2402,2692,2631,2507,2956,3895,3765,3397,3466,2754,2995,1943,1907,2219,3235,3383,2227,1850,2363,2721,2489,1894,2266,2529,2602,2676,2985,2998,3043,2405,2469,2177,1965,2085,1923,2476,3154,2681,1790,1686,1895,1760,1794,1845,2112,2497,2369,2487,2405,1932,1838,1900,1920,2246,2185,1792,1791,1881,2076,2205,1942,1786,2188,2246,1640,1729,1871,2009,2743,3085,3479,2583,2029,1991,1740,1696,1619,1548,1604,1930,1852,1520,2026,1881,2438,2625,2973,2476,1645,1987,2397,1918,1902,1715,1751,2152,2133,1962,1665,2099,2575,3238,3698,3260,2815,2526,2042,1756,2143,3074,2770,2481,2441,2084,1787,1875,2030,1854,1682,1515,1655,2053,1826,2216,2090,1969,1795,2414,2555,2051,1427,1600,2131,2555,2966,3199,3185,3184,2884,2597,2190,2113,2919,3213,2466,1883,1815,2071,1996,1568,1936,1709,1458,1633,1858,2160,2117,2046,2226,2085,2110,2186,2103,2246,2241,2156,2060,1902,2275,2209,2541,2811,2332,2482,2598,2611,2311,2041,1847,2083,2242,1968,1815,1982,2072,2076,2174,2159,2031,2169,2363,1955,2221,2645,2910,3327,3356,3216,2878,3230,3054,2995,3015,2698,2245,2013,2139,2261,2030,1977,2066,1887,1776,1990,2023,2026,2364,2665,2379,2048,2434,2753,3202,3432,3954,4157,2940,2168,2120,2059,2435,2949,3130,2954,2543,2183,2035,2442,2434,2363,2243,2476,2410,2578,2452,2299,2412,2529,2577,2665,2789,2633,2458,2315,2293,3001,3474,3599,3555,3415,3543,3603,3120,2338,2244,2608,3109,3207,2416,2081,1931,1798,1654,2081,3165,3932,3803,3097,2266,1305,1417,2108,1865,1834,1380,1587,2565,3335,3633,3000,2065,1933,2372,2487,2286,2843,2501,2603,2498,2623,2680,2526,2326,1901,1304,1791,3232,3407,3175,3577,3119,2603,2140,2605,2800,2755,2827,3060,3216,3044,2530,2431,3001,2773,2642,2126,1911,2564,2974,2880,2778,2710,2620,2215,1970,1918,2161,2532,2329,2341,2417,2591,2360,1802,1664,1720,1638,1735,1886,2236,2865,3031,2863,3299,3395,3042,2707,2961,2795,2148,2116,2017,1888,2187,2072,1524,1667,1938,1852,1731,2111,1986,1609,2074,2304,2136,2125,2279,2619,2279,2675,2333,1693,1616,1605,1605,1618,1710,1882,1782,1707,1931,2153,2197,1935,2504,2533,2044,1876,2080,2011,1667,1494,1670,1335,1195,1388,1069,1170,1486,1433,1691,1717,1914,2503,2687,2280,2197,2292,2626,2757,2119,1884,1833,1946,1950,2014,1750,2147,2548,2121,1978,2157,1931,1645,1837,1923,1977,2336,2300,2065,2504,2481,2201,2194,2200,2335,2265,1431,1406,1973,2298,2829,2643,2509,2417,2279,1945,1726,1883,2258,2646,2061,1599,1747,1847,2238,2554,1997,1819,1897,2003,1786,1776,1862,1686,1815,1615,1569,1497,1963,2262,2196,2732,3078,2899,2330,1873,1912,2319,2339,2169,2229,2973,2376,2248,2019,1602,1725,2094,2208,2691,2902,2805,2842,3260,2853,2182,2503,2423,1959,1540,1549,1665,1749,1859,2014,1939,1650,1635,1601,1690,1930,1757,1996,1907,1687,2008,2172,2220,2486,2958,3034,3620,3286,2483,1696,1418,2125,1898,1470,1452,1763,2198,2753,2823,2666,2750,2565,2658,2964,2339,2061,2548,2598,2205,2552,2469,2024,1866,2292,3331,3416,1939,1728,2218,2836,3211,2787,2787,2959,2991,3144,3419,3559,3193,3329,3425,3591,3960,3351,2707,2188,2377,2182,2037,2548,2365,2416,3011,2919,2744,2842,3327,3791,2634,2916,2636,1671,1666,2440,3719,4399,4420,4328,4271,4433,4625,4757,4193,3537,3457,3558,3253,3157,3486,3591,3216,2646,2293,2100,2263,2702,2920,3156,3503,3630,3354,3328,3989,4071,4207,3982,3352,3747,3979,3959,3309,2922,2909,2553,2520,2784,3187,3222,2704,2293,2120,2755,3741,3409,2806,3510,3921,3413,3115,3295,3645,3751,3487,3281,3150,3157,2404,2377,1926,1595,1445,1537,1788,1752,1623,1946,2158,2076,2047,1866,1577,1145,1555,1725,1680,1710,1793,2001,2106,2084,2653,3563,2900,2354,2901,3132,2529,2939,3322,2898,2196,1710,2013,2579,2863,2881,2286,2969,3349,3082,2636,2287,2218,2273,2533,2644,2712,2910,3109,2775,2845,2666,2675,2702,2981,2764,2343,1915,1975,2353,2377,2285,2198,2080,1687,1759,2360,2172,2430,2702,2819,2931,3388,4119,4155,4099,4388,3395,2131,2071,1755,1954,3553,3555,2841,3124,3360,3461,3034,2009,1617,1713,1847,1935,1690,1332,1578,1549,1570,1628,2123,2358,1940,1896,1757,1571,1607,1550,1552,1778,1789,1798,1780,1746,1637,1972,2010,1650,1880,1996,1642,1555,1512,1482,1450,1497,1696,1568,1403,1682,1744,1526,1610,1898,2257,2067,1793,2451,2567,2495,2309,2181,2253,2988,3531,3262,2584,2208,2252,1967,1919,1827,2081,2146,1933,1877,2037,1986,1549,1516,1895,2176,2038,2056,2206,2144,2453,2412,2690,2702,2488,1996,1531,1597,1590,1507,1439,1764,1999,1760,1829,2569,2119,1655,1870,1891,1589,1606,1539,1417,1510,1745,2466,3276,3362,3409,3469,3695,2908,2665,2818,2722,2323,1927,1842,2043,2529,2429,2885,3016,2678,2664,2471,2096,1674,1371,1295,1600,1627,1427,1780,1820,2114,1866,1769,2097,2462,2206,1640,1450,1695,2154,2140,1995,1973,2157,2247,2426,2524,2136,1659,1593,1770,1973,2183,3051,3953,3769,3216,2968,2737,2462,2539,2868,2072,1787,1688,1532,1657,1667,1869,2056,2493,2922,3326,3238,2385,1877,2108,2831,3279,2675,2358,2175,1737,1743,1880,1803,1784,1884,2543,2688,2787,2833,2408,2609,2867,2916,2824,2365,2078,2392,2068,2533,2688,2199,1941,2375,2511,2313,2421,2533,1963,2316,2320,2330,2045,1820,2110,2209,1950,1921,1864,2418,2732,2664,3012,3334,3090,2714,2417,2318,2118,3029,4152,4212,4006,3384,2942,2932,2993,3024,3586,3780,3348,3166,2662,2463,2884,2908,2946,2812,2565,3397,3808,2879,2499,2261,2512,2684,2909,3286,3740,3926,3494,3430,3188,2931,3204,3551,3097,2897,3584,3110,2658,2730,2622,2331,2589,2990,2602,2252,2526,2733,2080,2385,2568,3199,3427,3218,3098,3167,3493,3296,2974,3103,3241,3651,3596,3338,3342,3212,3426,3472,3517,3527,3427,3304,3199,3193,3454,3576,3385,3306,3274,3325,3162,3432,3750,3996,3685,3411,3601,4050,4140,4140,4465,4464,4064,4080,3846,3650,3142,2797,2534,2476,2439,2534,2610,2657,2876,3038,3067,3092,3277,3449,3492,3516,3730,3884,3817,3781,3828,3775,3773,3603,3500,3604,3609,3470,3383,3501,3472,3273,3241,3150,3253,3354,3065,3355,3850,3922,3966,3231,2845,2751,2777,3031,2897,2949,3212,3226,2945,2968,2924,2509,1610,1699,1829,1350,828,801,2182,2588,2564,2669,2242,1894,2098,3017,3066,3153,2766,2752,2822,2942,2922,2834,2776,2884,2929,2976,2915,2944,2407,2201,2840,2941,2684,2724,3096,2865,2890,2856,2301,1801,2148,2940,3111,2519,1923,1790,1324,1538,2072,2133,2452,2266,2540,3506,3516,3464,3609,3435,3666,3650,3356,3134,2856,2362],[3146,3608,4395,4155,3339,3221,3582,3806,3503,3919,4140,3615,3794,3817,3397,3332,3744,3864,3109,2916,3251,3873,4366,3995,3581,3348,3307,3139,3184,3557,4079,4132,3758,3138,3544,3365,2351,2265,2417,2327,1992,1903,2622,2474,2546,2694,3146,3262,3253,3384,3631,3837,3635,3348,3390,3318,3464,3503,3761,3890,3659,3189,3118,3324,3525,3428,3053,2764,2318,1752,1699,2216,2286,2450,2732,3298,3706,3863,3970,3043,1925,2181,2624,3120,3030,3701,4429,4356,3801,3210,3994,4005,3480,3348,3288,3228,3098,3487,3572,2810,2767,2815,2775,2235,1805,1622,1795,1979,2158,2192,2094,2059,1874,2116,2284,2339,2175,2495,2841,3077,2721,2271,2130,2552,3061,2974,2789,2588,2543,2746,2438,2018,2596,2996,2943,3108,3406,2951,2306,2524,2702,2796,2600,2420,2923,3151,2429,2293,2239,2619,2634,2114,2068,2003,2201,2370,2589,2065,2106,2216,2564,2329,1135,730,678,618,1072,1897,2325,2597,3104,3322,3517,3608,2864,3076,3119,3166,3090,2635,2602,2745,2514,2249,2037,1648,1751,1798,1919,2266,2750,2941,2534,2069,2061,2251,2512,3007,3330,3011,1736,1936,2862,2381,1958,1969,2420,2698,2587,2531,2549,2386,2266,2352,2948,2941,3150,3189,3405,3406,3307,4094,4219,2919,3094,4194,4017,3528,2946,2740,1931,1413,1776,2641,3011,2951,3317,3553,3437,3185,2756,2944,3778,3606,2951,1782,1509,1792,2374,2603,2842,2789,2288,2137,2612,2683,2797,2923,2180,2366,2692,2113,2341,2957,3016,3265,3541,3088,2634,3298,3043,2707,3052,3273,3167,3653,4070,3949,3539,3581,3300,2470,2425,3095,3231,2944,2277,2839,3279,3422,3551,3586,3354,3023,2487,2532,3107,3384,3815,3546,3332,2752,2979,3162,3240,4037,4410,4179,4024,3642,3364,3709,3604,3893,3868,3664,3718,3506,2586,2310,3074,2873,2641,3156,2942,2642,2041,1893,2685,2908,2652,2695,2770,2739,2729,2380,2174,2526,2655,2193,2844,2590,2081,2041,2341,1965,1606,1713,2302,2381,1985,2153,1869,1776,2459,2912,3102,3282,3151,2351,2216,2137,2182,2419,2550,2654,2556,2080,2243,2800,2587,2100,1511,1469,1551,1616,1700,1644,1497,1598,1696,2052,2487,2526,2297,1983,2260,2100,1570,1766,2664,2803,2070,2074,1998,1831,1876,2039,2070,2243,2004,2016,2155,2343,2047,1936,1992,2216,2366,2676,2565,2418,2394,2622,2741,3109,3865,3570,2805,3067,3400,3646,4004,4120,4108,3892,3619,3492,3803,4084,3108,2097,2692,3247,2973,2646,3024,3650,4086,3648,3142,3075,2875,2530,1786,1434,1398,1359,1347,1713,2160,1923,1767,1685,2159,2708,2458,2559,2454,2517,2796,3124,3174,3318,3504,3562,3245,3049,3195,3416,3230,2707,2080,2036,2234,2589,3096,3238,3583,3605,3486,3671,3428,3108,3021,3107,2798,2301,2799,3474,2755,2566,3275,3105,2874,2856,2589,2249,2414,2757,2735,2256,2016,2255,2338,2327,2174,1857,2313,2994,3326,2965,3157,2898,2589,2432,2195,2484,3488,3640,2755,1966,2001,2531,2589,2038,2756,3035,2724,2634,3039,3244,2877,2032,2006,2142,2430,2737,2663,3141,3098,2025,1544,1410,1513,1675,2048,1962,2270,2604,2195,1801,1989,2354,2654,2730,2670,2828,2766,1997,1826,1960,2376,2659,2062,1897,2907,2518,1633,1793,1794,1598,1753,2291,2994,2663,2146,1692,1553,1538,1554,1520,1683,1917,1636,1532,1613,1760,2721,2997,2725,2291,1886,2177,2408,1870,2194,2519,1682,1784,2337,2254,2148,2534,2898,2980,2544,2203,2465,3072,2410,1787,2107,2879,3123,2755,2522,2279,2465,2698,2813,2428,2011,2009,1606,1672,1940,2076,2024,2221,2063,1951,2090,2005,1695,1603,1942,1771,1957,2762,2845,2894,2810,2343,2031,2171,3057,2968,2212,2031,2106,2278,1974,1635,2280,1891,1771,1760,2082,2626,2626,2965,3034,2408,2486,2475,1992,2048,1842,1825,2332,2159,2017,2105,2543,2620,2504,2259,2255,2193,1987,2169,2135,2287,1987,1977,2071,2325,2557,2333,2056,1836,1757,2270,2653,2334,2780,2778,2854,3053,3151,3548,3571,3552,3299,3220,3308,2851,2004,1963,1982,2240,2197,2070,2120,1973,2084,2119,2156,2208,2444,2834,2443,2325,2788,3140,3372,3176,3282,3733,3538,2573,1989,2398,2707,2727,2988,3382,3142,2829,2060,1996,1887,2617,2732,2384,2284,2469,2392,2298,2531,2598,2311,2575,2754,2553,2296,2335,2275,3010,3474,3465,3533,3680,3887,3761,3354,3342,2774,2577,3128,2910,2263,2086,1942,1774,1881,2613,3550,4113,3666,2750,1929,1444,2050,2468,2179,1920,1251,1735,2622,2725,3008,2261,1377,1389,2653,2665,2411,2518,2338,2335,2354,2271,2050,2197,2514,2280,1636,2100,3576,3219,3620,3660,3173,2862,2944,2892,2519,2448,2733,3123,3200,3001,2580,3047,3344,3376,2867,2500,2533,2909,3217,3039,2903,2712,2703,2450,2002,1618,1878,2208,2326,2246,1908,1830,1921,1802,1875,1898,1675,1823,2096,2349,2630,3077,3203,3261,2907,2963,3012,3039,2666,1925,2002,2067,1804,2115,2002,1676,1946,1993,1748,1654,1772,1684,1488,1709,1867,1903,1920,2175,2401,2059,2396,2137,1829,2284,2422,2175,2148,2055,1783,1831,1795,1807,2542,2648,2054,1917,2404,2299,2121,2193,2123,1849,1695,1708,1488,1357,1085,1208,1587,1802,1870,2160,2152,1846,2005,2258,2091,2006,2018,2159,2206,1686,1827,1747,1639,1852,1842,1759,2318,2580,1872,1494,1554,1455,1248,1342,1469,1680,2056,2178,2203,2636,2828,2392,1996,1969,2265,2262,1506,1506,1912,2061,2494,2462,2519,2521,2735,2459,1780,2168,2832,2964,2257,1824,1685,1847,2040,1894,1823,2143,2432,2501,2111,1770,1588,1621,2069,2059,2141,1959,2006,1966,2842,3417,3101,2942,2567,2296,2176,2599,2886,2246,2118,1958,2204,2101,1775,1541,1506,1744,2045,2618,3244,3875,3905,4016,3220,2971,2898,2353,1810,1581,1598,1690,1874,2122,2061,1761,1698,1635,1668,1651,1571,1593,1779,1674,1514,1969,2430,2253,2997,3418,3814,4351,3881,3132,1914,1785,2325,1895,1757,2014,1794,1799,2274,2408,2542,2504,1966,2439,2674,2239,2620,3094,3108,2872,2728,2763,2338,2296,2518,2875,2968,2127,2631,3186,3504,3561,3252,2765,2364,2562,2836,3178,3528,3650,3577,3409,3294,4008,3897,2976,2221,1830,1447,2045,2095,2024,2643,3262,3430,3252,3444,3925,4041,3017,2967,3018,1626,1504,2088,3330,4196,4284,4179,3988,4235,4549,4849,4456,3603,3488,3571,3293,3164,3495,3792,3486,3010,2429,2222,2507,2890,3303,3903,4008,3808,3498,3225,3980,4083,3919,3718,3423,3915,3901,3785,3784,3900,3464,3426,3359,3596,3876,3437,2923,2580,2396,2590,3426,3557,2905,3206,3679,3217,3119,3673,3740,3840,3652,3766,3372,3002,2590,2242,1941,1751,1458,1405,1583,1858,2104,2046,1837,2040,2298,2153,1676,1591,1836,2048,2131,1949,1955,2017,1869,2181,2781,3266,2663,2161,2532,2513,2282,2647,2641,2361,2113,1774,1905,2700,2941,2509,2067,2332,2583,2557,2176,2532,2997,2914,2722,2836,3262,3166,2662,2255,1999,1957,2774,2871,2200,1604,1605,1698,1922,2568,2842,2841,3215,2844,2125,2375,2709,2337,3001,3515,3145,2866,3519,4414,4511,4583,4536,3521,2638,2334,1997,2030,3118,3237,2666,2518,2964,3237,2386,1595,1655,1893,1905,2044,1675,1488,1513,1512,1558,1756,2241,2153,1882,1614,1447,1652,1533,1520,1575,1670,1828,1811,1692,1643,1561,1760,1923,1652,1548,1535,1833,1862,1759,1764,1974,2513,2574,2003,1642,1770,1841,1599,1838,1809,1897,2249,2298,2305,2390,2235,1924,1737,1968,3025,3640,2710,1501,1658,2607,2267,1613,1591,1941,1741,1501,1739,2174,2209,2018,1732,1797,1997,2043,2167,2210,2166,2552,2231,1994,1996,2172,1806,1418,1570,1721,1558,1721,1929,1745,1594,1743,2381,1879,1439,1803,2006,1823,1980,2007,2090,1865,2017,2707,3352,2984,3122,3739,3442,2778,2569,2488,2643,2566,2003,2521,2604,2683,3191,3498,2800,2707,2421,1935,2080,2266,1937,1854,2580,1965,1548,1625,1637,1639,1946,2039,2023,2099,1763,1547,1515,1746,2083,2071,2046,1945,2408,1864,1489,1682,1875,1833,1996,2146,2329,2118,3437,4065,3037,2409,3013,3148,2991,2609,2264,2233,2305,1844,1642,1845,1743,2405,2364,2297,2304,2357,2388,1848,1620,1867,2603,2843,2302,2162,2027,2276,1940,1749,1932,1772,1938,2152,1918,2515,2734,2522,2743,2534,2652,2684,2113,2069,2077,1837,2313,2490,2176,2078,2050,2111,2326,2579,2735,2219,2358,2630,2071,1989,1860,1874,2093,1967,1802,2085,2641,2964,2805,2749,2834,2742,2228,2253,2543,2455,3164,3632,3594,3663,3163,3515,3046,3271,3422,3862,4071,3639,3421,3190,2874,2854,2904,3034,2964,2683,3096,3614,3328,3271,2954,2916,2699,2659,2567,3195,3385,3024,3352,3449,3157,2853,2601,2499,3104,3194,2758,2295,2494,2784,2788,2807,2499,2520,2619,2609,2327,1870,1897,2201,3395,3833,3680,3395,3187,3239,3037,2975,3099,3271,3715,3629,3212,3203,3217,3361,3326,3431,3634,3620,3460,3216,3215,3466,3706,3606,3304,3379,3250,3133,3381,3692,3779,3395,3099,3420,3862,3746,3902,4141,4292,4293,4052,3262,2877,2688,2486,2335,2164,2009,2109,2311,2653,2834,2986,3107,3298,3517,3658,3761,3827,3818,3829,3827,3835,3818,3748,3693,3349,2999,3060,3416,3059,2885,2853,2765,2751,2836,2822,2753,2662,2669,3306,3751,3903,3731,2783,2827,2648,2546,2880,2790,2678,2807,2824,2674,2566,2621,2249,1492,2048,2004,1714,1593,1673,2105,2345,2101,2064,1909,1845,1711,2517,2148,2467,2801,2791,2925,2916,2598,2140,2211,2935,3085,3206,3156,3012,2343,2226,2872,2830,2220,2238,2610,2734,2635,2372,2253,2286,3033,3295,3352,2793,2198,2164,2247,2303,2309,2436,2505,2322,2928,3370,3063,3061,3736,3713,3175,2436,2134,2076,2148,1900],[3016,3237,3725,3449,3066,3282,3772,4277,4396,4381,4114,3560,3810,4078,3629,3471,3721,3978,3858,3701,3663,3883,4265,3592,3327,3366,3266,3252,3298,3529,3758,3642,3452,2876,2988,3274,2215,2198,2257,2269,2324,2605,3306,3198,3234,3131,3088,3189,3271,3530,3704,3632,3396,3329,3223,3027,3142,3463,3765,4109,4064,3666,3548,3588,3577,3545,2743,2620,2625,2544,2402,2761,2421,1897,1781,2677,3616,3697,3535,3023,2773,2543,2512,2850,2906,3215,3328,3509,2905,3105,3935,3532,3175,3320,3087,2977,2956,3688,3699,3189,2816,2561,2440,2104,1813,1722,1654,1954,2207,2513,2364,1902,1646,1909,2361,2856,3010,2785,2967,3345,3606,3282,2290,2393,3064,2438,2510,2633,2286,1992,1814,1785,2549,3067,2841,2810,2879,2474,2319,2742,2741,2832,2766,2245,2445,3034,2836,2540,2544,3001,2983,2608,2482,2086,1919,2235,2403,2134,1931,2148,2657,1720,657,610,646,1309,2385,2678,1966,2253,2923,2952,3086,2601,2098,2605,2666,2483,2072,1507,1981,2943,2653,2398,2150,1947,2088,2474,2780,2721,2253,2018,1996,2099,2387,2388,2329,3065,3603,3423,1954,1509,1979,1962,1747,1794,1996,2358,2305,2212,2752,3236,2755,2281,2396,2743,2614,2871,3752,4105,3654,3658,3713,2809,2866,3990,4313,3648,3198,2674,1629,1508,2040,2653,2963,2500,1878,2399,3234,3360,3395,3395,3957,3592,2636,1851,1759,1837,2134,2722,2851,2834,2721,2374,2566,2741,3078,3218,2950,3237,3155,2653,2612,3120,3279,3658,3558,2851,2640,3033,2726,2309,2316,2159,2175,2821,3618,3363,3039,3527,3619,2683,2683,3305,3415,2668,2237,2430,2944,3338,3361,3447,3305,2841,2172,2082,2043,2395,3593,3533,3265,2722,2814,2888,2816,3453,4128,4100,3935,3915,3740,3824,3514,3499,3369,3482,3727,3665,3186,3138,3087,2336,1841,2622,2955,2951,2644,2238,2585,2834,2663,2977,2733,2125,2210,2175,2325,2517,2518,1974,2834,2489,2570,2308,1928,1930,1856,1767,1996,2083,2037,2445,1953,1950,2803,3295,3486,3736,3496,2484,1980,1955,2090,2501,2392,2965,2492,1996,1725,2024,2315,2249,1638,1453,1709,1645,1621,1663,1754,2138,2035,2114,2175,2888,2444,1996,1783,1460,1601,2174,2929,2579,1766,1743,1793,1924,2154,2142,1910,1892,2142,2440,2151,1709,1740,2285,2534,2551,2401,2676,2589,1923,1678,2339,2912,2870,3238,3181,2885,2965,3176,3580,4330,4028,3730,3730,3730,2707,2849,3771,3620,3019,3054,3283,2993,3018,3318,3522,3892,3951,3699,3544,2990,2243,1614,1393,1383,1388,1340,1867,3000,2875,1818,1457,2025,2143,2071,2002,2275,2460,2625,3161,3182,3387,3481,3495,3296,3159,3188,3356,3283,3076,2718,2929,3372,3253,3066,3251,3514,3520,3229,3270,3099,2688,2762,2895,2442,2533,3664,3732,2424,2462,3399,2556,2322,2821,2369,2147,2363,2597,2397,2036,2374,2722,2336,2525,3091,2675,2432,2058,2334,2784,3174,3011,2476,2358,2299,2608,3185,3542,3295,2587,1963,1921,2723,2633,2756,2867,2503,2468,2577,2819,2458,1747,1809,2089,2207,2257,2179,2335,2030,1634,1590,1818,2040,1966,1890,1918,2621,2810,2412,1837,2326,3113,3311,3221,2984,3062,2758,1892,1774,2192,2536,2674,2209,1957,3275,2362,1638,2259,2418,1920,2050,2607,2981,3263,2719,1640,1530,1443,1391,1435,1737,1945,1485,1492,1574,1652,1849,2039,2254,2236,2016,2192,2290,2155,2208,2803,1877,1769,2356,2589,2762,2798,2902,2854,2395,2285,2824,3035,2398,2210,2358,2994,2962,2651,2252,2288,2432,2159,2434,2287,1942,1996,1617,1735,2100,2434,2245,2574,2540,2176,2186,1908,1894,1848,1959,1475,1492,2007,2407,2375,2258,2427,2159,1991,2220,2062,1852,1829,2340,2692,2552,2265,2113,1830,1806,1572,2116,2908,3409,3786,3353,2259,2398,2670,1941,2199,2398,3087,3076,2231,1844,1725,1967,2767,2912,2462,2202,2200,1971,2101,2108,2086,1908,1997,2059,2543,2948,2746,2343,1851,2236,3128,3539,3218,2972,3185,3008,2499,2866,3354,3094,2799,2896,3020,3015,2811,2224,2089,1976,2259,2348,2104,1855,1960,2023,2022,2160,2094,2108,2647,2600,2746,2964,2922,2942,3067,3282,3410,3698,3204,2313,2609,2364,2163,2542,3256,3130,2898,2069,1790,2228,2965,2962,2589,2301,2100,2255,2415,2535,2265,2518,2955,2845,2484,2338,2458,2525,3109,3517,3595,3749,3863,3864,3577,3605,3464,2631,2442,3067,2955,2324,1710,1489,1914,2270,3203,3784,3853,3704,2750,2116,2409,2942,2239,1991,2268,1709,1988,2567,2096,2364,2309,2036,1806,3025,2850,2728,2722,2616,2495,2458,2052,1453,1425,1678,1780,2045,2744,2878,2953,3284,3125,2942,3044,3330,3249,2744,2618,2887,3109,3192,2880,2701,3228,3162,3122,3122,3067,2750,2835,3078,2858,2962,2815,2755,2459,1931,1918,2104,2343,2149,1855,1896,1709,1605,1858,1925,1839,1704,1776,2186,2919,3196,3071,3141,3155,2864,3039,2621,2496,2987,2645,2470,1901,1604,1727,1962,2098,2310,2041,1846,1792,1721,1584,1687,1767,1633,1580,1857,2204,2442,2168,2243,2054,1917,2411,2701,2296,2208,1948,1808,1764,1641,1599,2160,2474,2057,1672,2203,2379,2077,1902,1910,1927,1732,1765,2123,1970,1756,2026,1995,1956,2403,2633,2338,2136,2491,2918,2238,1808,1502,1549,1516,1531,1831,1765,1577,1491,1464,1638,1844,1897,1725,1838,1805,1783,1689,1308,1526,1568,1525,1577,1611,1692,1642,1600,1748,2463,2866,2239,1780,1961,1808,1811,2333,2403,2160,2135,2444,2259,2195,2765,3151,2920,2486,2169,1881,1909,1769,1600,1959,2389,2510,2693,2166,1569,1558,1700,1881,2126,2192,2034,1787,2007,2912,3283,3268,2975,2396,2110,1677,1654,2170,1949,1715,1636,2092,2420,2314,1966,1681,1853,1716,2232,3166,3726,3698,3549,2702,2391,2732,2655,1889,1689,1899,1786,1873,2035,1937,1858,1760,1580,1560,1533,1717,1655,1728,1975,1755,1965,2199,2168,3334,3653,4115,3945,3847,3947,3051,2465,2211,1992,2113,1761,1609,1880,1884,1931,2078,2228,2272,2744,2489,2799,3772,3484,3300,2993,2701,2539,2534,3295,3940,2941,1893,2558,3592,3750,3307,3274,3414,2964,2800,2952,2685,2937,3470,3592,3756,3528,3293,3626,3516,2730,2066,2208,2417,2513,1922,1943,2381,2695,3121,3154,3336,3665,3789,3110,2485,2963,1664,1510,2299,3132,3845,4062,4107,3993,4111,4372,4476,4261,3704,3737,3497,3453,3300,3474,3748,3463,3206,2962,2941,3115,2958,3492,4506,4342,3682,3352,2984,3518,3826,3764,3743,3871,3870,3714,3264,2910,2733,3103,4184,3982,3882,3662,2820,2573,2785,2569,2244,2680,2964,2674,2906,3509,3292,3560,3830,3727,3860,3698,3694,3565,3187,2762,2671,2681,2130,1560,1520,1836,2324,1898,1810,1815,1951,2050,1921,1593,1638,1760,1915,2152,2416,2049,1616,1720,1881,2119,2284,2569,2521,2764,2532,2073,1944,1846,1922,1973,1693,1785,2602,2421,2174,1833,1750,2216,2392,1905,2298,3222,3799,3638,3326,3072,2506,1597,1625,1693,1929,2373,2181,1769,1635,1778,1802,1846,2330,2689,2899,3363,3200,3044,3124,2834,2952,3508,3432,3022,2358,3039,4276,4228,4024,3812,3160,2267,2354,2487,2346,2839,3090,2396,2046,2237,2140,1907,1769,1879,1954,1785,1782,1680,1680,1652,1709,1754,1759,1754,1725,1608,1319,1724,2362,1946,1546,1628,1695,1646,1637,1703,1611,1559,1448,1599,1505,1332,1485,1918,1764,1516,1739,2235,3060,3719,3151,2520,1903,1669,1576,1763,2111,1797,2171,2360,1966,1993,1937,1935,2087,2169,3041,3327,2386,1694,1814,1992,1670,1448,1571,2001,1973,1727,1926,2099,1895,2431,2884,2380,2541,2523,2621,2427,2289,2656,2879,2624,2250,2134,1598,1472,1630,2219,2072,2226,2136,1589,1299,1590,1873,1653,1430,1714,1921,1962,2242,2037,2482,2325,2441,2673,2566,2126,2540,3028,2689,2245,2171,1692,1835,2464,2050,2662,3002,3186,3972,3759,2944,2614,2329,2015,1985,1853,2199,2322,2476,2056,2066,1859,1556,1896,2341,1946,1706,1931,1866,1688,1536,1635,2089,1952,2111,2142,1959,1471,1439,2100,2276,1806,2031,2084,2138,1635,2625,3442,2907,2018,2271,2624,2259,2048,2307,2558,2658,2647,2685,2610,1996,2410,2175,1907,1766,1648,1601,1512,1475,1819,2160,1811,1632,1843,2205,2231,2132,1930,1816,1694,1870,2015,2019,2293,2680,2799,2726,2266,2460,2231,2006,2226,2026,2045,2279,2163,2062,1743,1708,1794,2148,2619,3059,2252,1888,2552,2512,2780,2521,2017,1998,1922,2155,2572,2940,2921,2541,2599,2539,2632,2370,2451,2327,2409,2713,2498,2677,3366,3112,3542,3186,3320,3980,4139,3953,3512,3404,3420,3197,2929,2829,2919,2753,2754,3253,3504,2901,2744,3110,3332,3277,3217,3366,3638,3205,2539,3178,3286,2714,2498,2408,2608,2852,2764,2863,2963,3219,3280,2954,2535,2016,2005,2339,2131,1993,1803,1722,2330,2841,3177,3250,3146,3089,3327,3538,3277,3098,3444,3694,3440,3124,2987,3219,3492,3375,3374,3637,3782,3620,2982,2735,3044,3588,3782,3437,3606,3372,3085,2990,3075,3216,3218,3336,3617,3748,3551,3685,3595,4020,4114,3606,2784,2444,2521,2433,2295,2186,2222,2188,2082,2343,2731,2998,3255,3530,3560,3642,3758,3702,3607,3593,3484,3444,3374,3108,2753,2735,2599,2614,2536,2309,2514,2708,2568,2424,2512,2426,2495,2596,2375,2900,3432,3895,3429,2785,2744,2578,2736,2688,2598,2708,2896,3018,2676,2393,1977,1261,1504,2368,1843,1245,2111,2751,2554,2566,2552,2702,2278,2454,2435,2352,2093,2421,2891,2855,2644,2995,3046,2561,2856,3200,3054,3131,3201,3028,2417,2235,2669,2200,1638,1887,2202,2655,2631,2744,2730,2906,3187,3154,3306,2843,2480,2636,2493,2353,2321,2371,1920,2216,3181,3539,3497,3830,3819,3099,2624,2385,2501,2254,1471,1477],[2520,2507,2641,2888,3172,3687,3860,3909,3764,3369,3204,3310,3610,3649,3626,3746,3992,4072,3884,3715,3762,3707,3758,3585,3597,3854,3587,3550,3322,3333,3229,3020,3285,3083,2604,2486,2154,2192,2260,2358,2453,2707,3316,3663,3816,3617,3078,3372,3666,3952,4120,3492,2943,2984,2988,2930,3364,3504,3636,3894,3840,3883,3820,3657,3518,3326,2739,3243,3436,3420,3339,3269,2865,2285,2432,3044,2902,2874,2722,2405,2486,2175,2277,2108,2342,2289,2470,2972,2692,2951,3875,3617,3526,3562,3532,3625,3264,3439,3439,3278,2939,2644,2557,2265,1986,1984,1938,2697,2314,2113,2121,1477,1824,2316,3278,3705,3024,2667,2626,2988,4047,3929,3154,3118,3030,2475,3240,3571,2835,1960,1425,1352,1884,2708,2797,2645,2764,2768,2833,2755,2896,3212,3218,2655,2718,3341,3606,3515,2953,3228,3441,3176,2687,2361,1992,2300,2658,2382,1902,2214,2523,1793,1158,1057,1731,2649,2338,1949,1830,2321,2371,2294,2588,2592,2808,3183,2864,2219,1838,1621,1446,1784,2011,2346,2454,2362,2788,3066,3051,2756,1982,1827,2112,2124,1859,1861,2164,2864,2944,2744,2133,1682,2105,2396,1708,1815,1939,2179,2189,2132,2262,2753,2346,1876,1996,2159,2742,3738,4123,4005,3688,3288,3277,2906,2873,3067,3218,3134,2865,2110,1232,1419,1864,1924,2083,1588,1053,1959,2401,2844,3124,3525,3833,3404,2840,2451,2211,1901,2076,2565,2718,2754,2696,2918,2880,2855,2930,2839,3623,4131,3714,3179,2757,2430,3046,3836,3429,2425,2690,2824,2434,1891,1984,2279,2082,2276,3242,2820,3030,3122,3869,3759,3068,3274,3256,2623,2644,2865,3061,3203,3251,3363,3404,3106,2602,2183,1995,2233,2766,2674,2371,2192,2591,2877,2796,2828,3797,4024,3688,3540,3635,3754,3524,3375,3615,3725,3709,3876,3639,3030,3178,3206,2118,2513,3361,3326,3068,2545,2423,2812,3156,3130,2830,2353,2442,2429,2836,3095,2502,1880,2190,2176,2600,2398,1663,1894,2089,1710,1521,2115,2464,2742,2426,2265,2876,3487,3683,3733,3213,2185,1898,1913,2248,2576,2231,2375,2208,2106,1536,1792,1982,1669,1522,1495,1444,1377,1470,1614,1828,1949,2260,2381,2318,2821,2416,1816,1666,1551,1728,2402,2871,2351,1634,1835,2088,1950,2294,2114,1766,1820,1986,2168,2306,2106,2434,2470,2408,2557,2888,2688,2854,2692,2341,2691,3210,3272,3376,3292,3024,2863,2905,3239,4243,4232,3639,3619,3948,3082,2983,3738,3784,3151,2812,2806,3089,3109,3152,3145,3312,3451,3342,3500,2740,1640,1404,1383,1373,1319,1430,2569,3226,2577,1786,1994,2809,2756,2815,2688,2456,2577,3062,3152,3162,3448,3694,3586,3340,3302,3354,3429,3182,3469,3670,3450,3215,3340,3397,3054,3365,3396,2834,3006,3160,2540,2226,2395,2032,2347,3031,3175,2510,2569,2352,2106,2150,2510,2435,2430,2225,2490,2679,2243,2455,2979,2282,2606,3557,3354,2880,2674,2066,2552,3056,2574,2266,2321,2344,2503,3054,3498,3215,2756,1766,2025,3039,2436,2426,2675,2172,1848,1890,2458,2802,2918,2844,2665,2454,2087,1754,2142,2250,1776,1816,2480,2468,2278,2326,2311,2645,2706,2578,2399,2578,2931,3270,3270,3226,3451,3032,1999,1972,2557,2573,2554,2298,1978,2163,2220,2552,2929,2786,2461,2655,2902,2974,3002,2423,1569,1356,1466,1560,1527,1883,1940,1710,1627,1478,1508,1370,1550,2136,2570,1929,1969,2268,2187,1896,1819,1438,1352,1568,1931,2313,2614,2822,3753,3724,3437,3727,3575,3128,2898,2770,2910,3140,2675,1831,2188,1970,1833,2187,2276,2171,2778,2708,2399,2430,2450,2063,1885,2018,2048,2228,1948,1744,1902,1986,2121,1568,1641,2496,2577,2382,2468,2442,2371,1729,1625,1932,1911,2774,3461,3233,2798,2150,2169,2139,2149,2736,3072,2864,3146,3172,2472,2453,2634,2187,2428,2755,3152,2978,2360,2458,2364,2360,2434,2309,2371,2005,2136,2122,2621,2344,1924,2018,1888,2023,2363,2814,3083,2801,1977,2741,3396,3754,3566,3362,3799,3466,2884,3090,2720,2322,2641,2930,3152,2876,2557,2378,2106,2000,2140,2232,1992,1576,1709,2004,2330,2619,2592,2470,2422,2280,2391,2808,3017,2775,3194,3548,3333,3229,2840,2099,2404,2036,2053,2214,2938,2928,2265,1782,2140,2878,3112,3128,2865,2370,2003,2361,2668,2498,2287,2585,2820,2661,2359,2387,2441,2654,3396,3584,3676,3660,3707,3680,3452,3391,3255,2827,2757,3032,3088,2532,1728,2164,2888,2919,3509,3742,3760,3496,2534,2142,2544,2791,2077,1820,2282,2050,2032,2444,2364,2436,2548,2464,1999,2115,2464,2664,2656,2905,2690,2099,1547,1360,1293,1206,1556,2424,2880,3024,3109,2796,2612,2532,2557,3045,3313,3125,3422,2879,2888,2764,2652,2568,2466,2696,3076,3318,3063,2562,2331,2362,2356,2405,2480,2824,3123,3066,2710,2095,2037,1892,1613,1770,1762,1246,2478,2866,2008,1575,1685,1972,2474,3098,3045,2749,3263,3505,3561,2780,2722,3087,2965,2940,2440,2259,2035,1714,1883,1918,2084,2490,2382,1843,1707,1670,1707,2138,2151,2338,2944,3032,2699,2454,2093,1671,1813,2111,1980,2171,2125,2107,1948,1753,1598,1595,1670,1660,1858,2251,1961,1984,1979,1924,1926,1682,2070,1871,1592,2214,2611,2584,2444,2731,3000,3055,2577,2176,2716,1943,1583,1468,1508,1446,1515,1854,1971,1870,1523,1368,1518,1583,1873,1829,1968,1982,2116,2000,1653,1449,1359,1439,1377,1500,1759,1734,1747,2032,2631,2784,2341,1966,1971,1842,1817,2211,2249,1902,1935,2077,2227,2623,2776,2897,2594,2397,2346,2156,1884,1882,1932,1832,1875,2103,2319,1963,1474,1378,1528,1576,1760,1902,2147,2531,2172,2266,2287,2368,2332,2608,2674,2075,1857,1981,1948,1802,1605,1986,2669,2975,2709,2404,2253,1854,2664,3319,2806,2194,1843,1585,1613,2051,2230,1632,1863,2047,1758,1926,2213,2132,2166,2015,1737,1488,1456,1704,1946,1983,1962,1841,1740,1974,1973,2752,3871,4191,3892,3558,3616,3604,2939,2496,2634,2530,1560,1760,1913,1958,1975,1819,1673,1692,2141,2431,3066,3669,3482,3094,2696,2916,2871,2754,3560,4312,3284,2800,3500,4084,3978,3252,3202,3105,2575,2629,2738,2207,2918,3826,3861,3730,3187,3027,3111,3063,2604,2289,2365,2297,2316,1998,2028,2653,3053,2899,2748,3133,3695,3797,3110,2175,3206,2226,1541,1941,2453,3042,3209,3262,3316,3558,3834,4026,3782,3382,3651,3456,3532,3522,3748,3740,3495,3361,3407,3677,3705,2830,3212,3692,3583,3152,2899,2667,3238,3508,3450,3696,3841,3487,3085,2289,2021,2626,3133,3344,3762,3660,2885,2407,2302,2385,2081,1896,2282,2632,2766,2843,3106,3221,3422,3697,3732,3868,3831,3738,3682,3179,2789,2895,2454,1878,1682,1711,2188,2275,1747,1868,2329,2289,2223,2019,1735,1448,1173,1343,1677,2357,1905,1877,1813,1758,1757,1745,2292,3012,3351,3228,2817,2515,2124,1888,1899,1638,1923,2379,1929,1743,1728,2160,2745,2534,2517,2998,2893,3061,2812,2414,1967,1436,1266,1602,1809,1775,1671,1595,1587,1712,1958,1996,1896,2443,2683,2168,2707,3571,3636,3360,3143,3363,3132,2664,2659,2370,2971,3447,2809,2520,2617,2445,2095,2132,2474,2692,2917,3142,2532,2151,2290,2367,2093,1885,1994,1873,1621,1573,1507,1484,1534,1892,2614,2532,1802,1753,1745,1860,2341,3285,2768,1891,1898,1716,1659,1604,1613,1863,2369,1926,1653,1423,1483,1644,1623,1661,1570,1569,1513,2195,3480,3458,3130,2411,2009,1750,1834,2244,1897,1787,1803,1759,1823,1700,1668,2041,2157,2558,2712,2126,2163,2108,1720,1808,1797,1974,2448,2503,2653,2050,1866,1865,2508,2482,2255,2586,2688,2858,2343,1984,2476,3094,2872,2416,2460,2056,1959,2070,2263,2084,2236,2019,1426,1348,1549,1520,1388,1540,1784,1855,1419,1857,1766,2147,2388,2337,2429,2315,2477,3099,2706,1880,1678,2502,2049,1920,1826,2013,2425,2862,3458,3674,3404,2450,1990,2134,2454,2485,2101,2207,2446,2181,1749,1877,1835,1800,1657,1566,1383,1718,2135,1923,1907,1715,1733,1678,1736,2188,2181,1824,1649,1823,2561,3203,2114,1910,2636,2077,1432,1637,2313,2336,1920,2271,2468,1934,1918,2754,3028,2906,3541,3810,3527,3040,2216,1798,2102,2171,1802,1726,1677,1560,1700,2163,1845,1636,1896,2144,1826,1686,1727,1780,1819,2155,2665,2488,2408,2407,2518,2736,2170,2215,2013,2001,2175,1750,1627,2042,2116,1699,1278,1383,1459,2128,3090,3483,2821,2272,2287,2443,2812,2536,2261,2224,2633,2684,2774,2654,2428,2461,2654,2818,2536,2072,1910,1658,2194,2476,2663,3218,3628,3034,3182,3120,3198,3749,3789,3308,3460,3792,3698,3308,3200,2888,3006,2567,1978,2568,2780,2266,2104,2530,3156,3170,2987,3548,3798,4028,3608,3784,3726,3076,2841,2939,2766,2676,2889,2899,2525,2435,2658,2499,2478,1940,1925,1821,1826,2244,1969,2406,2573,2281,2895,3199,3072,3157,3428,3566,3373,3083,3541,3764,3232,2712,2931,3404,3242,2874,3089,3521,3582,3240,2699,2484,2775,3454,3812,3886,3828,3587,3453,3086,2842,3226,3775,3872,3726,3859,3708,3637,3746,3983,3921,3566,2953,2744,2735,2634,2453,2376,2715,2774,2820,2836,3010,3196,3233,3166,3189,3221,3133,3301,3068,3089,2797,2865,3098,2878,2700,2944,2864,2612,2544,2446,2510,2581,2529,2478,2514,2443,2441,2498,2399,2663,3166,3530,3109,2614,2504,2571,2677,2500,2446,2576,2319,2093,2233,1972,1421,1069,1355,2021,1600,1513,2427,2854,3044,2814,3029,3083,2455,2734,3030,2566,2234,2396,2530,2902,3293,3559,3550,3099,3129,2832,2601,3039,2740,2308,2176,2512,2790,1918,1936,2062,2245,2620,2690,2840,3165,3075,2641,2756,2896,2419,2339,2644,2581,2176,1788,2030,1954,2730,2625,3046,3564,3746,2887,1861,2150,3219,3820,3108,1613,1408],[2828,2648,2108,2358,3082,3680,3544,3460,2943,2916,2919,3331,3658,3541,3658,3738,3515,3587,3814,3582,3452,3315,3680,3891,3880,3840,3676,3303,2917,2962,3441,3785,3561,3353,2689,2076,2097,2221,2208,2137,1932,2301,3408,3650,3585,3798,3619,3814,3926,3759,3491,3158,2887,2828,2864,2949,3378,3626,3637,3639,3421,3771,3806,3343,2924,2849,3041,3470,3140,3243,3565,3519,3245,2876,3540,3639,2322,2592,2288,2021,1780,1803,2186,2144,2100,2274,2544,2462,2658,3473,4124,3595,3576,3532,3475,3761,3667,3221,2749,2930,3145,2876,2708,2429,2266,2610,2507,2396,2865,2962,2520,1877,2104,2706,3519,3563,2939,2787,3146,2992,3184,3178,2590,2913,2852,2583,3305,3152,2722,2417,1504,1236,1695,2786,3179,3075,2835,2879,2989,3134,3096,3232,3499,3296,3360,3684,3618,3648,3492,3515,3207,3038,2880,2811,2191,2079,2537,2451,2179,2329,2532,2072,2062,1779,2491,2866,2489,2396,2734,2809,2603,2734,2934,2863,3392,3340,2844,2215,2240,2093,1522,1360,1751,2282,2238,1982,2221,2100,2414,2877,2221,1777,2208,2326,1750,1721,2136,2368,2379,2459,2542,2130,1876,2425,2023,1896,2199,2235,2189,2303,2548,2817,2469,1954,1771,1916,2918,4071,3853,3351,3752,3470,3428,3254,3205,2998,3043,2792,2403,1914,1036,1215,1776,1695,1744,1930,1767,2021,1847,2012,2288,3039,3639,3319,2835,2395,2563,2302,1988,2112,2475,2526,2729,2894,2454,2314,2313,2840,3937,4120,3726,3021,3046,2898,3207,3149,2690,2102,2026,2178,2009,1586,1892,2845,2533,2205,3101,3052,2770,2844,3482,3647,3006,3019,3053,2601,2464,2496,2410,2810,3184,3353,3519,3463,2803,2501,2370,2192,1865,1707,2057,2102,2604,2876,2756,2525,2951,2808,2607,2871,3344,3746,3598,3275,3475,3333,3392,3703,3764,3031,3436,3724,3372,3044,3343,3537,3501,3306,2676,2635,2493,2294,2095,2029,2466,2293,1959,1974,2024,2222,2575,2489,2254,2163,1718,1823,2124,2163,2278,2492,2513,3030,3211,3107,3416,3694,3819,3706,2883,2032,2069,2142,2290,2105,1870,1626,1929,1985,1609,2143,2505,1805,1793,2104,2122,1946,1761,2055,2001,1842,2712,2586,2031,2620,2404,1940,1768,2166,1829,1888,1958,1900,1549,1751,2247,2263,2154,2033,2008,1925,1826,1937,2348,2057,2702,2325,1783,2138,2390,2057,1982,2612,3125,2731,2209,2566,3177,3377,3088,3018,3059,3008,3474,3688,3349,3347,3705,3565,3542,3715,3514,2877,2739,2853,3144,2883,3022,3001,2933,2765,2687,2833,2333,1672,1498,1416,1290,1347,1668,3223,3732,2887,2203,2966,3828,3419,3221,3283,3066,3077,3252,3031,3185,3544,3319,3120,3242,3306,3316,3228,3176,3514,3675,3410,2964,3429,3709,2905,3191,3207,2927,3020,3099,2451,2084,1954,1736,1985,2041,3032,3320,3292,2266,2222,2066,2157,2486,2461,2177,2539,3146,2957,2462,2801,2569,2686,3015,3007,2987,2924,2597,2830,2927,2707,2598,2567,2106,2640,3382,3494,3207,2797,2282,2818,3345,2613,2537,2751,2305,2073,1877,2764,3195,3312,3238,2686,2664,2336,1760,2193,2402,2116,1990,1849,1912,1995,1981,1998,2013,2275,2402,2585,2921,3133,3067,2961,3073,3244,3082,2272,2222,2813,2599,2369,2203,2525,2344,2508,2518,2104,2120,2457,2202,2032,2103,2130,1929,1664,1515,1722,1749,1781,2042,1910,1861,2106,1933,1898,1513,1678,2138,2452,1801,1324,1504,1384,1162,1072,1110,1307,1417,1461,1862,2522,3033,3936,3979,3566,3422,3635,3507,2971,2701,2911,2874,1882,1614,2618,2649,2413,3081,2763,2056,2514,3146,3104,2743,2723,2342,1796,1851,1939,2044,1635,1747,1861,1916,2197,1365,1455,2502,2558,2113,2124,2270,2698,2487,1806,1677,2068,2840,3360,3352,2613,2105,2299,2370,2985,3022,3028,2618,2877,2790,2447,2612,2232,2059,2405,2473,3079,2831,2472,3096,2396,1738,1620,1807,1877,2149,2351,2483,2838,2589,2402,1974,1648,2156,2788,3272,3212,3367,2465,2620,3270,3317,3310,3440,3602,3597,3548,3154,2778,2972,2833,3021,3121,2657,2337,2175,1971,1863,1869,2052,2043,1588,1665,2150,2443,2449,2422,2493,2251,2354,2510,2582,2469,2402,3262,3248,2810,2580,2680,2211,2585,3095,2441,2477,3001,2919,2352,2196,2784,3109,3341,3341,3005,2596,2309,2735,2634,1918,1730,2185,2577,2640,2322,2358,2535,2911,3598,3596,3587,3548,3529,3605,3654,3689,3383,2900,2718,2455,2392,2353,2412,3125,3475,3339,3376,2853,2818,2790,2197,2065,2575,2481,2199,2461,2532,2680,2011,1548,1951,2335,2403,2590,2430,2238,2474,2775,2641,3021,2769,2609,1994,1555,1327,1296,2104,2590,2675,2930,2489,2247,2457,3098,3533,3520,3175,3076,3338,2811,2381,2152,2348,2144,1757,2304,2843,2751,2481,1781,1530,2370,2778,2791,3132,3498,3355,2950,2401,2009,2551,2313,1753,1814,2129,1531,2107,2448,1965,1521,1626,1726,1717,2165,2513,1987,2412,3377,3753,3145,3073,2891,2806,3039,3116,3061,2235,1428,1498,1707,2297,2875,2836,1833,1609,1815,2222,2878,2802,2824,3176,3083,2767,2584,2126,1628,1609,1635,1608,2082,2367,2093,2110,1999,2061,1988,1434,1663,2314,2500,1733,1964,2067,1920,1887,1745,1745,1645,2020,2302,2507,2957,3050,3239,3200,3460,2708,1843,1837,1699,1629,1802,1760,1444,1414,1637,1782,1497,1455,1377,1442,1634,1763,1753,1654,1903,2179,1997,1772,1488,1537,1716,1898,1824,1750,1784,1620,2264,2972,3299,2984,2192,1991,2016,1719,2110,2083,1981,1793,1701,2364,2670,2625,2696,2886,2596,1740,1268,1527,1970,1983,1625,1410,1859,2077,1964,1627,1381,1426,1626,1821,1872,2465,3201,2159,1845,1762,1879,2586,3296,3139,2432,2335,2195,1958,1832,1803,2446,2969,3156,2752,3355,3398,2898,2688,2507,2186,1687,1500,1622,1578,1742,1636,1617,1853,1981,1855,2211,2411,2120,1922,1871,1656,1444,1433,1749,1891,1767,2045,1787,1687,2029,2189,2437,3188,3799,3604,3160,3603,3736,2830,2953,2758,2263,1908,1823,1693,1763,1945,1986,1764,1736,1828,2334,3319,3495,3422,2923,2713,3006,2812,2844,3646,4034,3805,3746,3993,4255,3821,2775,2833,2853,2856,3098,2851,2308,2759,3338,3584,3623,3337,3420,2809,2973,2909,2235,2120,2038,2463,2259,1954,2626,2820,2404,2471,3087,3645,3607,2905,2416,2823,1788,1142,1284,1660,1954,2040,2045,2271,3155,3964,4096,3466,3341,3475,3447,3236,3475,3874,3913,3593,3385,3465,3593,3566,2888,2898,2977,3177,2858,2607,2565,3176,3557,3342,3625,3828,3220,2952,2398,2120,2798,3379,3510,3509,3039,3058,3064,2266,2188,2060,1946,2075,2733,3155,3248,3288,3274,3114,3421,3516,3561,3815,3650,3539,2911,2592,2842,2224,1885,2091,2179,2659,2247,1884,2418,2691,2462,2062,2331,2410,1918,1600,1566,1751,2036,2137,2342,2517,2559,2474,2292,2298,2853,2853,2734,2666,2429,2141,1961,1993,2018,2367,2402,2049,1692,1948,2769,3064,2597,2619,2792,2458,2327,2262,1939,1746,1635,1429,1565,1820,1637,1544,1641,1517,1550,1914,2148,1891,1920,2189,2473,3249,3974,4121,3359,2952,3386,2958,2921,3050,2519,2874,2667,2175,1925,1909,1868,1754,1822,2402,2876,2989,3059,2685,2359,2307,2392,2129,1767,1680,1641,1753,1920,1848,1954,2044,1747,2301,2986,2377,2202,2010,1835,1739,2520,2654,1725,1644,1594,1663,1689,1645,1780,1793,1885,1652,1584,2110,1946,1592,1649,1537,1490,1497,1863,2741,2805,2822,2542,2155,1732,1658,1732,1588,1532,1735,2127,2115,1558,1664,1700,1709,1919,2101,2077,2120,1929,1904,1853,1719,2208,2830,2540,2291,1860,1642,1644,1879,1924,2256,2291,2113,2219,2086,1881,2166,2534,2651,2034,2092,1915,2047,2268,1993,1705,1650,1523,1389,1582,1694,1804,1794,1784,1964,1978,1787,1815,1802,2152,2461,2297,1989,2273,2840,2834,1935,1654,1759,2196,2079,2057,1766,2021,2762,3646,3507,3247,3028,1918,1721,2016,2564,2892,3049,2334,1960,1822,1897,1809,1723,1895,1625,1615,1616,2382,2693,2264,1888,1546,1449,1409,1693,1992,1900,1748,1667,1705,2017,2793,2497,2896,3474,2710,1768,1641,1646,1480,1399,1792,2308,2746,2585,2966,2550,2436,3572,4049,3892,2902,1632,1641,2093,2330,2098,1956,2129,2263,1894,2157,1888,1865,2145,2004,1689,1499,1565,1700,2302,2611,2810,2196,1908,1647,1918,2115,1714,1945,2267,2299,2027,1577,1560,2088,2184,1784,1637,1240,1177,1735,2599,3299,3116,2514,2112,2153,2262,1900,2234,2562,2941,2811,2711,2603,2449,2395,2460,2720,2654,2010,1627,1559,2362,2486,2663,3361,3823,2952,3020,3315,3114,3681,3761,3260,3850,3914,3208,3015,3207,3232,3054,2430,2053,2369,2586,2655,2996,3430,3602,3178,2619,3078,3325,4083,4421,4363,3647,2596,2526,2586,2374,2846,2940,2830,1858,1812,2448,2243,2618,2332,2137,1744,1776,2150,2264,2237,2047,1925,2517,2932,3262,3361,3513,3520,3387,3155,3158,3400,2933,1938,2170,2458,2047,1722,2674,3239,3263,2756,2931,3082,3072,3537,3812,3916,3738,3700,3778,3352,2980,3454,3927,4121,3705,3828,3937,3684,3569,3489,3386,3520,3317,2966,2976,3130,3231,3166,3075,3209,2879,2395,2913,3442,3378,2831,2322,2405,1918,2134,2102,2791,3042,3217,3436,3519,3415,3433,3238,2818,2629,2666,2705,2675,2533,2645,2666,2489,2330,2251,2315,2396,2656,3244,3011,2366,2668,2973,2785,1996,2032,2031,1443,1557,2113,1923,1619,1307,1143,1876,2063,1724,1772,2115,2462,2698,3174,3020,2886,3156,3187,3143,2991,2386,2108,2433,2397,2567,2800,2613,2622,2605,2695,2884,2683,2314,2135,2718,2829,2379,2547,2305,2384,2744,2775,2774,2823,2488,2316,2494,2494,2490,2410,2701,3072,2283,2070,2613,2610,2978,2543,2530,3145,2658,1729,1418,1554,2000,3154,3505,1910,1378],[3071,2844,1963,1925,3067,3952,3698,3155,3038,3334,3134,2982,3227,2946,3309,3198,3037,3479,3494,3337,3242,3505,3766,3727,3745,3728,3728,3499,3028,3071,3812,3885,3463,3352,3260,2444,2098,2193,2099,1995,2031,2662,3764,3761,3594,3536,3710,3603,3548,3293,3285,3599,3443,3277,3308,3122,2798,3118,3397,3386,3305,3485,3750,3373,2278,2070,2761,3098,2990,3020,3098,2979,2972,2784,3320,3240,2294,2090,2121,1906,1715,1970,2240,2196,2316,2365,2609,2113,2478,3274,3651,3277,3312,3132,3210,3714,3685,3210,2933,2573,2758,3255,2850,2341,2158,2507,2423,2486,3247,3704,3174,2487,2473,2752,3536,3698,3066,2906,3638,3757,3155,2736,2133,2333,2198,2484,3227,2248,2017,1961,1791,1666,2439,3130,3316,3111,2928,2930,2943,3083,3016,2976,3429,3529,3626,3606,3399,3352,3353,3315,3176,3455,3366,3066,2758,2121,2041,2476,2425,2051,2372,2050,2088,2157,2700,2976,2814,2547,2842,3078,2853,2524,2548,2150,2950,3243,2954,2514,2504,1927,1297,1175,1666,2302,2178,1655,1812,1530,2204,2588,2320,2017,2368,2512,1982,1850,2021,2205,2495,2746,2663,2907,3293,3498,2519,2231,2687,2592,2509,2447,2469,2827,2881,2315,2155,2452,3110,3253,3156,3394,3639,3487,3775,3905,3891,3506,2890,2729,2384,1818,1569,1566,2202,1985,2156,2843,2808,2451,2033,1808,1882,2263,3253,3326,2625,2142,2540,2609,2171,2385,2599,2683,3129,3197,2612,2177,2264,3071,3826,3648,3251,2804,2956,2798,2828,2761,2275,2088,2326,2043,2172,2147,2264,3186,2673,2564,2973,2957,2940,2810,2884,2801,2459,2694,2748,2286,2088,2216,2274,2576,3011,3372,3471,3535,3144,2691,2360,2105,1859,1450,1834,2445,3176,3091,2658,2047,2216,2563,2906,2889,2739,3540,3956,3276,3217,3310,3573,3626,3739,3140,3000,3128,3193,3132,3610,3675,3724,3577,2808,2917,2350,2274,2485,2563,2780,2603,2101,1924,2215,2282,2088,2173,2315,1859,2335,1821,2641,3030,2898,2811,2968,3574,3657,3208,3311,3415,3648,3648,2985,2524,2405,2230,2247,2265,2110,1883,1849,1801,1807,2010,2052,2063,2030,2149,2499,2153,1925,2131,1968,1987,2581,2469,2620,3308,2390,2211,2073,2264,1614,1768,1942,1897,1659,1558,1861,2089,1850,1859,2033,1551,1642,1563,1898,1741,2149,2160,2142,2259,2149,2291,2066,1909,2100,2199,1966,2219,2524,3079,3240,3710,3803,3166,2928,3085,2974,2817,2906,3430,3584,3560,3372,3199,3283,3395,3496,3171,2988,3154,3198,2897,2819,2884,2404,1995,1931,1765,1402,1587,2197,3068,3356,3120,2788,3256,4068,3459,3088,3215,2946,2842,2504,2565,3465,3830,3399,3305,3431,3217,3144,3136,3119,3255,3285,3193,3228,3050,2877,2335,2388,2881,3154,3238,2916,2609,2214,1707,1455,1910,2077,3272,4144,4200,3754,2963,2383,2252,2462,2578,2576,2352,2336,2305,1760,1906,2254,2233,1887,2415,2956,2756,2688,3174,3284,2868,2302,2514,2070,2778,2570,2830,2918,2832,2735,2906,3227,2877,2626,2561,2835,2977,2574,3422,3218,2691,2398,2049,2260,2304,2029,2113,2017,1729,1484,1643,1881,1724,1671,1636,1614,1958,2294,2824,3593,3738,3160,2760,2796,2856,2942,2958,2604,2482,2665,2711,2486,2589,2750,2634,2596,2626,1943,1932,1600,1443,1753,1715,1743,1508,1533,1686,1561,1832,2056,1736,1736,2305,2731,2505,1800,1862,1903,1957,1782,1445,1743,1864,1866,1845,1900,1991,2334,2449,2758,3140,3600,3702,3382,2865,2879,3488,3936,3458,3068,2710,2688,2084,2295,3248,2856,2198,2454,2035,1688,2388,2975,2883,2696,2963,3141,2728,2130,1927,2010,2213,2624,2283,2549,2852,1834,1617,2229,2246,2148,2379,2405,2668,2182,2027,2014,1870,2024,2413,2287,1954,2142,2718,2990,3077,2929,2956,2832,2862,2369,2030,2324,2472,2548,2306,2309,2810,2054,2391,2974,1879,1601,1792,1886,1969,2091,2189,2635,2637,2328,2622,2246,1699,2309,3226,3360,3427,3571,3045,2924,3097,3040,2921,2985,2995,3382,3606,2884,2330,2696,2635,3150,3615,3331,2709,2336,2055,1839,1824,1960,2078,1840,1996,2333,2367,1951,1922,2464,2787,2796,2823,2719,2603,2941,3184,3002,2482,2194,2350,2636,3308,2885,2312,2582,2635,2410,2341,2935,3054,3183,3276,3436,3277,3050,2670,2646,2600,2030,1591,2159,2605,2807,2570,2445,2547,3040,3603,3557,3453,3467,3476,3530,3570,3649,3458,2684,2809,3360,2863,2905,3371,3592,3692,3760,3389,2664,2393,2438,2264,2289,2809,2542,2422,2796,2729,2877,2293,1460,1531,1867,2112,2318,2565,2671,2785,3154,3043,3230,3051,2433,2646,2534,1902,1816,2492,2702,2703,2818,2455,2749,3071,3614,3979,3520,3344,3164,3040,2631,2331,2542,2470,2202,1907,2226,2524,2841,2945,2009,2410,3439,3511,3320,3286,3182,2997,2908,2745,3018,3646,3273,2230,2048,2362,2132,2024,2583,2401,1605,1591,1555,1597,1622,1554,1591,2189,2980,3496,3144,2576,2318,2361,2567,3050,3022,1913,1648,1868,2410,2561,3110,2663,1944,1629,1604,2479,3081,2684,2524,2855,2498,2266,2024,1425,1695,1680,1747,1796,2483,2524,1888,1770,1950,2300,1929,1427,1541,2310,2355,1787,1724,1965,2048,2012,1756,1654,1952,2208,2197,2105,2593,2455,2734,2562,2524,2145,1723,1768,1633,1626,1848,1893,1550,1493,1563,1514,1297,1465,1500,1410,1453,1533,1688,1882,2220,2167,1876,1939,1758,1876,2046,2532,2468,2244,1868,1698,2117,2599,3023,2804,2459,2322,1982,1685,2191,2374,2586,2615,2483,2200,1989,2035,2478,3195,2912,1932,1648,2006,2138,2066,1722,1585,1709,1828,1930,1840,1692,1871,1841,1832,1798,1882,2322,2424,2333,2275,2376,2836,3200,2799,2432,2792,2526,1841,2151,2471,3057,3106,3010,3252,3980,4233,3994,3391,2858,2483,1801,1609,1858,1851,1956,1780,2292,2077,1754,2013,2254,2475,2349,1879,1731,1545,1516,1730,1830,1714,1740,1894,1590,1687,2128,2170,2053,2446,3044,3111,2956,3672,3818,2979,2946,2934,2328,2284,2078,1956,1993,1963,1995,1899,1871,1925,2138,2931,2885,2428,2756,2956,2755,2760,3252,3777,3972,3876,3874,4039,4151,3484,2905,3071,3108,3086,2872,2401,2255,2298,2102,2984,3828,3957,4083,3350,3308,2987,2432,2355,2867,3709,2967,1864,2337,2249,2018,2303,3056,3675,3732,2707,2710,2346,1283,1204,1332,1649,1898,2164,2214,2161,3375,4167,4307,3804,3484,3542,3598,3330,3405,3564,3289,3008,3275,3042,2788,2635,2588,2576,2543,2607,2700,2817,2989,3204,3217,3225,3232,2874,2643,3044,3144,2763,2770,3289,3671,3522,3286,3518,3253,2363,2266,2339,2469,2290,2598,3032,3362,3354,3517,3337,3098,3065,3282,3739,3270,3108,2608,2376,2962,2645,2766,3105,2820,2570,2362,2397,2709,2578,2069,1622,1571,1812,2142,2194,1997,1955,1962,2094,2684,3181,3030,3144,2836,2756,3028,2728,2700,2965,2648,2531,2719,2410,2169,2459,2817,2916,2044,1949,2467,2547,2504,2657,2841,2636,2158,1509,1497,1952,1905,1559,1785,2211,1919,2063,2057,1835,1838,2032,2099,2000,1960,2060,2754,3820,4204,4040,3426,2988,3029,3174,3237,2973,2710,3342,3365,2555,1900,1581,1869,2474,2446,2329,2750,2661,2343,2217,2260,2178,2018,1621,1424,1751,1934,1976,1997,2025,2570,2547,1948,1851,2094,2258,2149,1819,1860,1720,2008,2376,1788,1604,1499,1514,1650,1720,1678,1818,1909,1735,1778,1844,1641,1655,1811,1411,1374,1607,1695,2332,2462,2155,1873,1748,1604,1637,1707,1597,1551,1702,2027,2071,1648,1960,2036,2143,2522,2589,2178,1858,1645,1768,1928,1607,2184,3118,3261,2371,1810,1624,1499,1703,2026,2260,2126,1961,2395,2549,2237,2242,2383,2536,1947,1742,1859,2207,1838,1460,1446,1382,1565,1465,1587,1479,1704,1879,1676,1947,2265,2014,1513,1886,2139,2306,2252,1913,1990,2228,2567,2207,1895,2047,2440,2522,2016,1895,2406,3443,3695,3306,3161,3354,2780,2345,2525,2685,2761,3242,2725,1821,1977,2042,1840,1641,1557,1547,1680,1824,2909,3123,2396,1843,1535,1472,1718,1904,2311,1849,1605,1544,1527,1427,1931,2087,1936,2601,2833,2060,1549,1638,1512,1979,2627,2784,3056,3211,3507,2720,2362,3279,3949,3984,3207,2155,1825,1957,1903,1905,1933,2024,2101,1735,2065,1964,1572,1602,1596,1673,1680,2015,2142,2551,2545,2464,2118,1888,1706,1666,1470,1539,1898,1975,2302,2086,1583,2500,2914,2217,1984,1901,1820,1788,1566,1864,2744,3507,3419,2798,2701,2517,1990,1989,2125,2805,3386,3007,2821,2984,2491,2264,2612,2595,1966,1990,1823,2045,2270,2994,3850,3605,2900,3320,3764,3527,3892,4100,3908,3768,3703,3060,3077,3378,3352,3185,2831,2445,2766,3087,3042,3583,3811,3791,3538,3352,2852,2661,3370,3838,3576,2588,2045,2558,2620,2453,2673,2208,2622,1758,1746,2098,2094,2242,2155,1809,1506,1459,1575,1647,1838,2110,2292,2143,2574,3273,3434,3638,3376,3130,3304,3041,2692,2422,1863,1995,2723,2329,2291,3060,3161,3242,3124,2844,2658,2817,3163,3373,3935,3846,3807,3641,3487,3310,3600,3892,4105,3841,3769,3894,3595,3385,3382,2995,3219,3229,2934,2775,2912,3105,3098,3082,3013,2008,1849,3030,3520,3444,3196,2736,2384,2178,2309,2546,2670,2855,3133,3363,3532,3629,3671,3299,3353,3188,3205,3168,3252,3284,3364,3220,2984,2531,2199,2286,2160,2294,2987,2856,2492,2730,2438,1849,1254,1660,1664,1199,1568,2006,2308,2176,1745,2540,2863,2643,2104,1614,1252,1742,2664,3253,3050,2797,3384,3382,3150,3049,2582,2395,2458,2362,2305,2120,2132,2398,2625,2603,2634,3134,2820,2220,2751,2706,2769,2918,2648,2764,2979,3150,3195,2492,1841,1760,2178,2497,2308,2111,2248,2844,2890,3414,3688,3727,3754,2827,2525,2548,1651,1388,1340,1327,1318,2362,3802,3266,2217],[3834,3161,2142,1931,3083,3890,3144,2022,2143,2880,2934,2469,2627,2523,3006,3085,3259,3494,3495,3426,3574,3764,3393,3247,3744,3748,3604,3670,3521,4028,4108,3658,3474,3636,3760,2916,2110,2090,2183,2292,2645,2917,3285,3606,3518,3413,3532,3485,3558,3472,3558,3597,3291,3370,3319,3366,2900,3422,3776,3419,3439,3307,3603,3572,2650,2318,2801,2952,2830,2914,2701,2880,3276,3416,3220,2957,2382,1855,1917,1802,1676,2025,2118,1851,2015,2119,2555,2239,2121,2143,2279,2468,2919,2972,3059,3730,3668,3394,3445,2690,3301,3196,2968,2731,2585,2531,2634,2908,2745,2481,2386,2842,2899,2458,2441,3140,2779,2938,3550,3738,3143,2806,2645,2341,1941,2724,3344,2244,2139,1765,1798,1908,2665,3141,3031,2828,2898,2992,3018,3164,3274,3277,3498,3488,3542,3528,3412,3218,3182,3329,3312,3500,3493,3285,2808,2344,1846,2744,2542,2260,2092,2253,2629,2996,3254,2745,1498,1518,2558,2934,2946,2286,2033,2128,2653,2736,2395,2421,2340,1885,1542,1557,2066,2347,2388,2105,2388,2312,2740,2832,2535,2078,2047,1995,1909,1917,2078,2095,1902,1847,1981,3056,3627,3608,2630,2371,2608,2607,2729,2923,2991,3273,3858,3763,3387,3375,3651,2819,1979,2302,2722,3126,3391,3440,3636,3167,2641,2482,2144,1281,1148,1544,1895,1730,2353,2881,2715,2605,2241,2006,2115,1973,2430,2868,2277,1984,2219,2187,2412,2975,3355,3494,3153,3649,3882,3229,2696,2872,3716,3503,2864,2649,2732,2587,2651,2955,2698,2177,1882,2228,2036,2210,2384,3044,2920,2797,2934,2989,2885,2964,2710,2087,2303,2548,2685,2902,3329,2644,2211,2228,2752,3374,3394,3391,3292,2784,1994,1608,1828,1841,1958,2289,2811,2757,2303,2120,2774,2909,2653,2310,2242,2420,2871,2898,2928,3353,3231,2886,2604,2590,2800,3024,2643,2732,3516,3241,3418,2845,2390,2964,3216,3187,2844,2599,2978,3049,2677,2293,2303,1996,2099,2431,2015,1923,2547,2209,2813,3143,2797,2638,2721,3195,3067,2259,2064,2140,3094,3530,3265,2940,3047,2821,2465,2119,1993,2036,1923,1760,2177,1951,1948,2352,2209,2674,2872,2017,1570,1836,2148,2104,1874,1981,2634,2535,1915,1808,1981,1791,1570,1826,2000,1733,1658,1691,1851,2173,1967,2263,2270,1593,1659,1522,1344,1344,1660,2088,2422,2460,2261,2781,2862,1972,1475,1724,2250,2220,2375,2591,3050,3776,3883,3513,3039,2899,3054,2785,2843,3588,3392,3298,3607,3816,3575,3326,3469,3297,2945,3093,3109,2678,2918,2488,2039,1972,2161,1799,1580,1987,2650,3023,3172,3147,2933,2866,3558,3608,3504,3524,2899,2308,2248,3226,3786,3794,3956,3616,3476,3352,3504,3533,3220,3204,3073,2632,2911,3125,2989,2865,3017,3348,3495,3242,2258,2297,1936,1622,1446,1934,2430,3449,4420,4707,4628,4276,3132,2310,2382,2842,2513,2010,2159,2008,1747,1831,1896,2088,2343,2761,3052,3068,3313,3943,3354,2661,2546,3011,2526,2667,2316,2065,2270,2670,2741,2846,2799,2539,2524,2708,3294,3175,2987,3356,2855,2213,2045,1831,2000,1866,1942,2342,2293,2024,2035,2006,1496,1056,1383,1409,1536,1930,2121,2622,3662,3651,3282,2812,2916,2862,2495,2557,2742,2910,2840,2654,2483,2207,2379,2102,2236,2412,1939,1659,1612,1547,1700,1760,1796,1687,1471,1686,1715,2042,1898,1673,1883,1898,2150,2158,2111,2277,1839,1960,2026,1662,2250,2055,2137,2175,2026,2039,2484,2644,2876,3264,3430,3587,3340,3042,3191,3664,3880,3804,3625,2983,2659,2352,2095,2423,2327,1875,1718,1754,2541,3136,3271,2823,2731,3184,3816,4125,3296,2813,2998,3307,3168,2367,2365,2092,1976,1892,2334,2674,2389,2580,2498,2155,2008,2000,1797,1724,1744,1987,1488,1682,2484,3117,3122,3174,3191,2823,2492,2393,1942,1525,1900,2242,2075,1859,2235,2317,1469,2347,2719,2125,2065,2373,2328,1991,2172,2677,2769,2801,2808,2742,2352,2156,2290,2609,3120,3443,3266,3050,2900,3177,3157,3071,3176,2837,3400,3276,2443,2721,3112,3100,3487,3519,3050,3171,2965,2620,1864,1793,1845,2021,2011,2095,2734,2496,2012,2215,2572,2349,2228,2436,2758,2797,3078,2802,2504,2473,2270,2183,2729,2989,2365,2075,1736,1730,2017,2086,2711,2924,3134,3416,3426,3134,2758,2436,2303,2633,2720,2369,2494,2555,2544,2717,2953,2512,2997,3517,3397,3416,3560,3547,3483,3573,3707,3652,2840,3087,3728,2916,3082,3673,3920,3730,3576,3230,3019,2877,2635,2395,2346,2306,2500,3002,3128,2875,2985,2826,2272,1931,1905,1875,1864,2093,2325,2768,3279,3270,3218,3299,3128,3096,2964,2680,2864,3310,2749,2849,3152,2954,3448,3620,3531,3403,3277,3284,3311,3295,2733,2402,2460,2312,1832,1956,2670,3306,3658,3733,3228,3127,3532,3783,3575,3163,2931,2941,2811,2436,3052,3553,3139,2534,2584,2923,2852,2411,2570,2771,1790,1643,1701,1888,2322,1883,1692,1705,2385,3212,2921,2539,2288,1554,1357,2101,2454,2050,1970,1923,2259,2309,2530,2288,1931,1699,1681,2042,2407,2548,2471,2685,2176,2135,1734,1498,1698,1707,1789,1791,2084,2175,1927,2143,2396,2174,1488,1483,1977,2659,2094,1591,1589,1771,1926,2132,1874,1744,1711,1949,2314,2259,2305,1831,1776,1702,1780,1835,1780,1717,1759,1803,1674,1605,1511,1573,1711,1536,1439,1619,1539,1521,1643,1571,1835,2084,2245,2235,1768,1938,2051,2112,2071,2434,2722,2906,2533,1842,1695,2019,2686,2671,2676,2281,2344,2837,2935,2863,2685,2308,1864,1706,1630,1580,1929,2787,2724,2546,2858,3137,2485,2464,2100,1587,1609,1466,1467,1770,1832,2040,1748,1690,1778,1551,1551,2027,2678,3229,3416,2946,2234,1926,1656,2167,2382,1885,2844,3426,3169,2921,3222,3746,4049,4013,3853,4096,4113,2910,2049,1380,2220,2287,2200,2189,2458,2314,2170,2302,2620,2817,2379,2009,1829,1731,1535,1499,1320,1399,1588,1974,2326,2245,2055,2073,2446,2306,2280,2351,2419,2706,3056,2745,2697,2646,2655,2723,2612,2420,2287,2278,2458,2023,2001,2105,2247,2498,2174,2165,2821,2996,2718,2845,3238,3887,4120,3926,3660,3779,4050,3426,2748,3006,3305,3116,2863,2364,2281,2522,2628,3441,3547,3859,4236,3476,3309,3048,2382,2338,2946,3563,2977,1878,2171,2196,2095,2261,3166,4012,3940,2901,2752,2486,1431,1397,1548,1906,1992,2326,2439,2225,3332,4461,4677,4600,4441,4283,4160,3650,3262,3018,2724,2573,2962,2835,2565,2445,2529,2557,2482,2440,2588,2990,3382,3577,3618,3412,3095,2901,3792,4113,3218,2596,2676,2941,3078,3376,3686,3453,3087,2786,2765,2741,2259,2239,2405,2863,3153,3008,3320,3416,3015,3039,3288,3587,2843,2510,2465,2718,3307,3104,2934,3065,2609,2097,2114,1901,2219,2403,1792,1694,1722,1693,2072,2164,1759,1741,1835,1733,2151,2842,3164,3858,3360,2978,3267,3654,3645,3941,4081,3860,3505,2801,2388,2132,2448,2880,2273,2307,2225,1990,2466,2912,2789,2646,2148,1646,1959,2143,2101,1762,1665,1948,2109,2244,2128,2112,2086,1802,1742,1890,1795,1912,2686,3842,3632,3270,3265,3019,3107,3154,3242,3265,2968,3010,3124,2253,1750,1781,1975,2503,2270,1401,1680,1775,1558,1759,2006,1978,1854,1507,1373,1725,1734,1792,1773,1688,2304,2374,2366,2037,1544,1762,1753,1517,1978,1980,2151,2713,2461,1739,1782,1861,1884,1790,1657,1714,1834,1964,1870,1844,1796,1980,2185,1269,1239,1801,2034,1991,1765,1665,1616,1577,1588,1704,1594,1782,1732,1741,2175,2320,2256,2468,2962,3027,2942,2644,1929,1645,1554,1679,1989,1801,2295,2880,2942,1988,1761,1809,1527,1715,1905,2115,2523,2412,2646,3101,2978,2597,2480,2473,2380,2031,1906,1775,1428,1531,1660,1422,1528,1504,1535,1527,2049,1902,1743,1968,2374,2008,1478,1605,1884,2002,1922,1845,1922,2395,2598,2303,2245,1979,2067,2330,2032,1977,2643,3433,2667,2713,3162,3649,3652,2958,3054,3344,3162,2769,1947,1697,1782,1734,1503,1498,1561,1671,1803,2327,3288,3064,2276,1941,1641,1520,1428,1566,2488,1813,1439,1601,1571,1539,2017,2170,1918,2093,2330,1941,1565,1765,1576,2161,3002,2814,2736,3328,3644,3415,3154,3282,3514,3422,3046,2436,2050,1947,1780,1981,2049,1804,1586,2080,2813,2369,2091,1993,1917,2453,2131,2416,2385,2007,2090,2133,2180,2034,1877,2096,2122,1800,1672,1889,2140,2032,1912,2591,2986,2991,2781,2374,2225,2032,1700,1624,2426,3431,3474,3093,3050,2867,2170,2053,2234,2490,3057,3030,2750,2189,2037,1840,2132,2375,2283,2308,2170,1911,2016,2820,3646,3344,3386,4002,4184,4070,3672,3650,3562,3608,3540,3311,3311,3395,3522,3354,2891,2590,2802,2828,2947,3248,3637,3728,3760,3666,3163,2928,2891,3052,3084,2384,2219,3063,3286,2737,1904,1932,2447,2105,2260,2575,2242,1747,1569,1545,1528,1432,2137,1934,2198,2356,2548,2219,2469,3140,3440,3441,3082,2661,3030,3206,2878,2559,2624,2603,3046,2924,2632,2949,3279,3557,3552,2812,2349,2264,2575,3188,3682,3163,2709,3030,3352,3275,3560,3775,3811,3775,3781,3783,3561,3486,3493,3141,3149,3186,2968,2219,1628,2360,3109,3105,2536,1269,1907,2609,3212,3459,3322,2981,2762,2890,3088,3134,2985,2940,3117,3156,3116,3305,3439,3312,3719,3660,3560,3584,3665,3604,3440,3384,3298,2798,2546,2438,2185,2272,2327,2298,2282,2413,2317,1961,1509,1785,2054,2014,2130,2287,2547,2499,2798,3219,2915,2690,2641,2180,2048,2626,2912,2910,2769,2801,3296,3541,3283,3064,2836,3031,3162,3075,2920,2854,2930,2858,2728,2644,2787,2932,2376,2103,2378,2905,3185,3241,2743,2540,3008,3010,2973,2662,2079,1992,2239,2594,2570,2222,2379,2413,2834,3697,3709,3864,3814,3079,3156,3017,2237,1741,2274,2451,2724,3604,4220,4313,3463],[3819,3418,2728,2192,2652,3243,2557,1926,2734,3325,3353,2975,2944,3173,3245,3297,3472,3471,3417,3625,3928,3747,3270,3205,3661,3541,3538,3718,3974,4347,4027,3941,4072,3842,3499,2833,2272,2285,2500,2741,3199,3139,2686,3085,3312,3293,3398,3431,3566,3397,3344,3137,3120,3701,3935,3824,3218,3582,3824,3498,3454,3693,3780,3472,3166,3241,3371,3030,2719,3491,3120,2963,3355,3464,3051,3025,2691,1969,1824,1686,1712,1881,1752,1838,1832,1973,2219,2381,2370,1988,1699,2113,2743,3024,3078,3370,3499,3827,3274,2917,3153,2949,3132,3065,2798,2498,2645,2835,2543,2086,2828,3174,3418,2757,2370,2680,2346,2290,2744,2851,2308,2574,2810,2811,2774,3233,3278,2892,2631,2184,2145,2372,2620,2830,2856,2743,2836,2790,2464,3021,3309,3572,3382,3237,3362,3526,3583,3362,3278,3321,3212,3440,3942,3908,2530,2591,2026,2269,2426,2543,2686,3304,3586,3586,3689,2752,1131,1134,2187,2886,2946,2496,2566,2514,2648,2369,1861,1970,1884,1726,1714,2075,2313,2326,2336,2609,2720,2672,2734,2886,2555,2099,2110,1896,1781,1861,2356,2069,1963,2338,2561,2796,2740,2544,2391,2490,2568,2349,2421,2556,3008,3196,3366,3355,3289,3433,3494,2784,2148,2106,2325,2844,3399,3588,3447,2984,2978,2898,2559,2066,2009,1994,1909,1974,2559,2999,2569,2329,2422,2261,1798,1427,2015,2302,2099,2199,2222,1917,2044,2159,2564,3121,2742,3820,4212,3262,2762,2455,3437,3597,2808,2734,2958,2858,2557,2708,2664,2475,1972,2064,1816,2321,2584,2989,3056,2639,2836,2642,2238,2977,2966,2203,2266,2323,2527,2493,3162,2525,1587,1700,2327,3105,3392,3509,3188,2522,1919,1351,1621,2214,2090,2658,2584,2474,2564,2396,2404,2338,2408,2052,2262,1600,2040,2358,2454,2296,1898,2148,2920,3094,2492,2733,2148,2717,3531,3496,3538,3000,2850,3160,3354,3387,3071,2609,2558,3016,3218,3043,3038,2423,2013,2333,2050,1929,1750,1753,2484,2911,2822,2660,2614,3293,3144,1801,1502,1918,2743,3377,3444,3408,3106,3033,2800,2134,1709,2092,1789,1780,2938,2492,2118,2181,1844,2149,2554,1910,1623,1947,1593,1846,2188,2459,2962,2880,2330,1775,1808,1754,1682,1870,1734,1676,1904,1922,1929,2287,1867,2179,1949,1687,1957,1806,1705,1586,1404,1814,1894,2012,2279,2450,2226,1725,1784,2137,2304,2352,2526,2432,2874,3573,3669,3584,3176,2874,3017,2661,3508,3780,3270,3151,3714,3861,3632,3517,3450,3320,3250,3226,3032,3016,3074,2425,2063,1994,1937,1812,1918,2392,2900,3089,3520,3282,2946,2281,2742,3696,3685,3398,3452,3223,3322,3635,3503,3973,4304,3992,3792,3707,3806,3681,3277,3277,3234,3055,3547,3786,3566,3417,3414,3503,3382,2896,2164,1852,1694,1788,1683,1774,1774,2086,3580,4720,4720,4200,2762,2339,2288,2437,2319,2009,2141,2269,2325,2097,2296,2786,3242,2809,3310,3027,3552,3828,3093,2229,2028,2082,1982,2310,2526,2639,3272,2780,2532,2189,2186,2433,2568,3150,3514,3044,3001,3436,3204,2433,1875,1384,1764,1597,1806,2057,2320,2342,2159,2290,1838,1534,1487,1327,1542,1944,2228,2495,3434,3470,3166,2640,3100,2851,2215,2413,2766,2712,2073,1962,2057,2120,2271,2272,2612,2722,2354,2026,1649,1487,1737,1655,1853,1866,1645,2024,2137,1996,1628,1605,1604,1461,1794,2238,2277,2135,1841,2162,2092,1715,1868,1709,2448,2522,2098,2248,2412,2513,2710,2418,2369,3442,3493,3241,3025,2735,2886,3354,3466,3254,2784,2539,2295,2074,1682,1631,2009,2414,3145,3296,3398,2996,2460,2859,3725,3958,3519,2855,2422,2643,2620,2033,2102,2059,2116,1863,2503,2817,2106,2231,2468,2480,2714,2365,1907,1803,1961,2474,2313,2026,2665,2984,3078,3318,3138,2928,2692,2354,1837,1300,1401,1973,1892,2041,2289,1807,1706,2310,2432,2194,2264,2446,2441,2232,2340,2879,3130,3019,3128,3207,2724,2216,1956,2164,2746,2911,2534,2416,2611,3151,3156,3078,3140,2993,2842,2641,2263,1786,2286,3064,3220,3205,3375,3520,3343,3666,2595,1852,1708,1891,2162,2227,1980,1967,2495,3036,3196,2543,2513,2274,2513,2707,2603,2586,2590,2289,2301,2524,2482,2564,2269,1912,1708,2445,2786,1902,2275,2874,3110,3129,2930,2854,2590,2399,2205,2495,2833,2917,2553,2379,2615,2835,3089,3089,3277,3488,3419,3348,3496,3547,3394,3595,3772,3585,2937,3146,3325,3099,3099,3371,3736,3543,3442,3259,3384,3497,3213,2732,2232,1896,1767,2035,2535,2757,2906,2802,2677,2474,2068,1953,1955,1965,2321,2718,3117,3105,3177,3588,3702,3409,3042,2896,3355,3645,3354,2978,3045,3356,3684,3651,3234,3039,3056,3209,3252,3004,2359,1835,2402,2614,1902,1823,2620,3536,3616,3550,3706,3718,3658,3356,2917,3112,2655,2690,2739,2416,2667,3016,2534,2541,2922,3032,3193,2623,2164,2469,1768,1512,1645,2576,3386,2598,2083,1978,2013,2188,2475,2611,2288,1722,1096,1494,2042,2306,2127,1934,1919,1866,1986,2000,1869,1633,1910,2109,2357,2141,2428,2545,2070,2266,1936,1643,1921,2013,2144,1809,1681,1725,1616,2098,2186,1587,1462,1532,2133,2413,2036,1755,1908,1827,1780,2290,2222,1908,1606,1452,2199,2665,2418,2100,1950,2028,2120,2130,1688,1577,2096,1885,1727,1579,1585,1678,1706,1570,1554,1706,1658,1742,1896,1705,2156,2253,2042,2244,1717,1791,2052,1829,1848,2619,3089,3044,2440,1533,1355,1568,2070,2167,2098,1876,2226,2795,3044,2684,2336,2182,1785,1882,1786,1673,1652,1905,1892,1984,2780,3049,2485,2486,2394,1793,1643,1492,1306,1356,1520,1522,1706,1956,2231,1995,1499,2009,2976,3527,3876,3061,2166,1882,2218,2410,2193,2285,2698,3061,2811,2411,2712,3341,3292,3349,3405,4050,3919,3428,2548,2181,2730,2275,2108,2272,2416,2648,3030,2918,2976,2956,2646,2149,1736,1809,1582,1222,1067,1267,2126,3417,3518,2744,2226,2464,2268,2294,2314,2484,1846,2025,2463,2624,2764,2402,2541,2317,2828,2896,2567,2467,2276,1878,2302,2462,2345,2241,2206,2479,2957,3002,2521,2734,3630,4220,4308,3853,2730,3154,3779,3492,3134,3066,3108,2968,2534,2294,2614,3010,3178,3347,2981,3326,3912,3393,2908,2431,1869,2000,2257,2392,2433,2125,2182,2359,2369,2565,3142,3691,3968,3506,2678,2457,1864,1764,1876,2203,2187,2291,2314,2235,3159,4256,4587,5072,5072,4735,4094,3377,2789,2452,2389,2574,2742,2667,2504,2434,2509,2550,2626,2598,2470,2952,3508,3758,3587,3285,3156,2906,3439,3842,3263,2864,2476,2115,2223,2820,2636,2207,2330,2900,2906,2714,1888,1588,2218,2791,3161,2955,3096,3454,3225,3261,3204,2916,2588,3073,3573,3409,3262,3378,2668,2116,1863,1895,1920,1940,1836,2188,2122,1779,1808,1761,1742,1844,1757,1758,2132,2203,2170,2876,3871,4050,3646,2923,2968,3728,3730,3564,3736,3340,2878,2508,2470,1853,2061,2558,2533,2135,2154,2354,2708,3106,2865,2669,2526,2518,2890,2565,2333,2282,2172,1909,1717,1794,1879,1985,2194,2025,1908,1803,1682,1937,2746,3675,2957,2380,2408,2258,2542,2944,3232,3517,3484,3081,2557,1854,1671,2034,2014,1695,1226,1125,1512,1798,1860,1890,1809,1299,1600,1659,1483,1793,1715,1743,1722,1442,1891,2225,2072,1788,1512,1675,1595,1933,2674,2382,1841,2347,2182,1764,2104,2535,2496,1894,1559,1906,1718,1946,2099,1957,2109,2174,1630,951,1357,2104,2390,2137,1780,1671,1602,1484,1434,1570,1678,1983,1665,1931,2386,2600,2624,2665,2924,3230,2822,2241,1811,1700,1790,1911,1936,1753,1744,2115,2264,1787,1614,1780,1559,1623,1866,2321,2799,2864,2880,2905,2940,2862,2602,2366,2232,2190,2111,1891,1968,1988,1748,1447,1503,1722,1710,1699,1843,1803,1816,2177,2382,1637,1394,1529,2180,2004,1731,1730,1671,1942,1858,2136,2522,2208,2244,2339,1660,2194,3052,2807,1782,1981,2934,3642,3482,2840,3208,3578,3259,2376,2083,1868,1568,1621,1544,1542,1572,1780,2366,3078,3062,2677,2934,2486,1904,1859,1444,1533,1918,1729,2029,2265,1709,1451,2014,2060,1527,1704,1729,1608,1597,1738,1821,1901,2718,2773,2680,3351,3661,3596,3330,3386,3174,3020,2658,2163,2277,2279,2126,2019,1981,1729,1603,2518,2888,2595,2680,2101,2156,3295,2705,2417,2589,2634,2476,2114,2238,2729,2790,2517,2497,1806,1698,1915,1600,1687,1904,1987,2563,2994,2724,2835,2238,1989,1932,1703,2267,2886,2597,2534,3210,3271,2548,2418,2304,2228,2475,2584,2620,1898,1876,1653,1925,2115,1825,1980,1795,1737,1866,2088,2968,3177,2802,2778,3720,3916,3307,3143,3330,3312,3124,3185,3263,3384,3354,2667,2172,1947,2012,2321,2558,2729,3298,3573,3356,2889,2648,2405,2100,2265,2433,2184,2396,2790,2658,2220,2105,2543,2568,2421,2657,2478,2114,1935,2253,2498,2525,1785,2048,2348,2665,2609,2490,2276,2466,3129,3340,3562,3741,2722,2996,3242,2808,2510,2522,2318,2168,2191,2545,3155,3156,3338,2924,2442,2588,2436,2709,3231,3116,2299,1996,2624,2789,2833,3217,3563,3896,3691,3671,3751,3698,3287,3038,3015,3154,2974,2801,2016,1054,1807,2763,2897,2084,881,1701,2042,2823,3504,3128,2734,2728,2822,2931,3103,2986,3308,3642,3237,2785,2846,2894,2858,3173,3269,3238,3316,3350,3373,3353,2967,2712,2742,3006,2810,2546,2337,2318,2115,2287,2844,2832,2735,2689,2730,2714,2490,2339,2689,2749,2716,3029,3119,2841,2651,2649,2501,2596,2955,3069,3022,2834,2628,3022,3205,3342,2839,2598,2928,3082,3307,3399,3529,3748,3575,3626,3460,2954,2632,2259,2033,1985,2425,3112,2995,1728,1880,2860,2896,2542,2961,2613,2317,1964,2189,2422,2308,2144,1840,2294,2945,3177,3216,3596,3673,3624,3312,2945,2896,3798,3979,4041,4357,4352,3965,3488],[3735,3389,2831,2198,2076,2431,2413,2317,3460,3897,3774,3387,3552,3448,3083,3248,3536,3536,3624,3960,4037,3775,3596,3493,3589,3473,3410,3571,3997,4177,3918,3872,3688,3281,3198,3075,3061,3160,3157,3276,3167,2995,2863,2754,2464,2587,2762,2612,3195,3326,3366,3155,3652,3572,3344,2813,2865,3526,3428,3072,3563,3742,3774,3474,3530,3520,3585,3143,3273,3681,2786,2677,2870,2226,2156,2597,2685,1975,1527,1709,1818,1801,1636,1633,1747,2050,2422,2553,2571,2110,1556,1544,1720,2201,3088,3536,3718,3608,3021,3171,2855,2511,2977,3011,2831,2942,3089,2958,2894,2666,3410,3320,3194,3095,3089,2828,2525,2225,1942,1863,1405,1828,2417,2570,3077,3153,2918,3002,2951,2885,3025,3029,2911,2888,2785,2756,3045,3430,3061,3093,3196,3421,3207,3130,3326,3414,3235,3017,3121,3387,3531,3797,4064,4129,3064,2670,2285,2088,2397,2602,2785,3230,3349,3263,2806,2270,1373,1118,1980,2741,2727,2458,2444,2481,2524,2361,1829,1853,1885,1961,1853,1489,1582,2024,2276,3210,3510,2785,2768,3156,2711,2246,2261,1864,1609,1775,2101,1966,2496,3245,3550,3078,2337,2062,2105,2415,2567,2232,2639,2532,2374,2430,2489,2861,2928,3035,3150,2838,2372,2291,2314,3152,3387,3248,3406,3607,3467,3169,2718,2449,2116,1919,2170,1981,2668,3122,2686,2233,2453,2090,1914,2083,2170,1946,1721,2317,3140,2832,2734,2231,2338,3265,3140,3309,3487,3189,2868,2667,3367,3659,3074,2712,2722,2742,2375,2616,2968,2389,2431,2771,2503,2591,2734,2664,2779,3031,3215,2965,2636,2550,2673,2300,2442,2473,2380,2025,2326,2223,1652,2032,2308,2750,3164,3731,3051,2806,2298,1734,2369,3101,3275,3596,3621,3271,3263,3454,2912,2372,2703,2536,2397,2185,2098,2140,2790,2553,1835,2038,2831,2988,1993,2373,2653,3077,3538,3601,3642,3414,2912,2789,2849,2929,3303,2540,2632,2850,3094,3063,3100,2763,2491,2602,2296,1844,1822,2117,2833,2956,2856,2497,1932,2747,2985,1837,1648,2234,3186,3527,3339,3032,3017,3472,2520,2197,1908,2055,1426,1432,2573,2752,2099,2086,2153,1974,2438,2109,2205,2308,1886,1788,1926,2657,3124,3418,3208,2534,2197,1624,1576,1480,1541,1990,2523,2404,2167,2914,2393,1794,1843,1866,1758,2128,2420,2072,1699,2033,1898,1535,1821,1550,1540,1803,2201,2895,2780,2142,2275,2508,2960,2932,2932,3100,2786,3031,3178,3183,3915,4046,3549,3500,3779,3429,3173,3334,3467,3543,3641,3443,3529,3272,2962,2923,2474,2308,2325,2204,2266,2664,3240,3417,3696,3569,2753,2221,2586,2763,2698,3444,3800,3445,3422,3483,3526,4402,4440,3915,3873,4030,4176,3950,3203,3233,3754,3703,3754,3815,3438,3372,3371,2664,2708,2525,2071,1833,1796,2157,2136,1828,1528,1174,2172,3825,4380,3273,2878,2814,2591,2246,2045,2226,2403,2299,2412,2168,2343,2968,3328,2511,3183,3352,3791,3852,2954,2101,1964,1487,1217,1675,2311,3088,3454,2534,2781,2622,3031,3031,2723,3231,3417,3057,2991,3307,3179,2004,1385,1317,1651,1692,1591,1571,2133,2272,2087,2265,2248,2098,1731,1617,1626,1967,2541,2752,3084,3056,2675,2077,3031,3523,2394,2355,2642,2319,1771,2028,2258,2202,1825,2073,2380,2475,2670,2671,1812,1561,1884,1730,2315,2305,2092,2075,2050,1716,1745,1705,1570,1543,2059,2670,1733,1497,1921,2734,2353,2176,2009,2172,2431,2243,2260,2195,2490,3119,2793,2146,1861,2843,3675,3218,2081,1908,2417,2834,3211,3332,3172,2732,2540,2536,2116,1936,2164,2868,3401,3505,2711,1976,2155,2889,3342,3510,3283,2455,2456,2759,2523,2339,2058,2068,2078,1867,2845,3156,2622,2503,2425,2569,2946,2589,2106,2147,2289,2142,2349,2364,2808,3197,3564,3576,3152,2798,2264,2275,2086,1702,1832,2082,2046,2486,2278,1720,2177,2614,2256,2174,2724,2852,2834,2878,2477,2627,2911,2787,2788,2601,2086,1643,1499,1761,2096,1923,1878,1872,2260,2738,3062,3009,2846,2759,2440,2635,2564,1907,2937,3175,2987,3245,3813,3764,3899,4018,3523,2812,2059,1831,2032,2174,2011,2308,2662,2940,3528,3705,3322,2856,3091,2735,2447,2744,2518,2577,2873,2766,2516,3062,2592,2056,2438,2988,3010,2483,2597,2929,2822,2414,2398,2290,2575,2699,2312,2399,2589,2627,2525,2473,2652,2911,3309,3411,3438,3430,3472,3438,3444,3466,3440,3629,3658,3494,3065,3334,3253,2898,3426,3282,3489,3239,3142,3231,3177,3243,3204,3238,2680,2107,1970,1968,2098,2027,1951,2446,2569,2678,2498,2509,2275,2169,2503,2998,2798,2549,3183,3561,3525,3746,3510,3142,2873,3139,2941,2091,2230,2741,3084,3110,2950,2907,2590,2951,2894,2978,3309,3353,3209,2736,2201,2335,3009,3323,3509,3639,3703,3639,3536,2540,2299,2342,2326,2535,2851,2758,2768,2783,2579,2560,2626,2871,3547,2604,1585,1560,1704,1571,2234,2998,3008,2719,2558,2796,2247,2141,2731,2971,2792,2408,1909,1847,1866,1879,1895,1947,1848,1920,2176,2135,2062,1813,2577,2445,2492,2267,2415,2500,2160,2109,2136,2116,2221,2145,2333,2130,1825,1805,1598,1657,1576,1439,1508,1607,1804,1934,1903,1769,1758,1688,1920,2035,2312,2279,2063,1861,2322,2375,2118,1841,1705,1919,2009,2659,1972,1734,2009,1990,1928,1659,1897,2068,1738,1452,1499,1579,1459,1393,1576,1676,1860,1869,1786,1757,1661,1703,1745,1601,2082,2748,2435,2237,1957,1743,1557,1546,1545,1638,1892,2088,2364,2863,3012,2158,1665,1952,2302,2181,1746,1624,1713,1804,1693,1793,2251,2624,2613,2359,2183,1489,1580,1714,1767,1527,1597,1781,1952,2166,2388,2221,2319,2868,3054,3277,3552,2894,2671,2111,2844,2764,2185,2252,2452,2542,2304,2390,2366,2467,2344,2965,3416,3802,3828,3837,3008,2850,2358,1689,1752,2080,2273,2414,3119,3467,3362,3136,2847,2430,1915,1967,1999,1483,1172,1451,2466,3409,3166,2778,2604,1975,1643,2275,2728,2149,1952,2691,2237,2282,2369,2252,2387,1881,1850,2405,2678,2463,2484,2223,2167,2493,2785,2759,2873,2811,3184,3184,2481,2685,3649,3995,4086,3570,2876,3108,3320,3266,2862,2558,2390,2434,2311,2225,2568,2624,2546,2585,2392,2541,2803,2321,2126,2338,2369,2362,2306,2341,2669,2677,2869,3034,2959,2949,2874,3521,4144,3609,2684,2403,2041,1966,2208,2522,2473,2326,2229,2282,3052,3697,4067,4949,4960,4960,3955,2364,2090,2345,2379,2609,2723,2618,2602,2637,2657,2601,2619,2497,2339,2788,3161,3330,3216,3000,2742,2533,2708,3190,3488,3572,2770,2841,2687,2348,1853,1890,2008,2429,2832,2553,1901,2160,2580,2613,3111,2906,2755,3351,3477,3164,2656,2623,2921,3410,3904,3562,3347,3664,2635,2147,1974,2185,2312,2195,2037,2056,1932,1693,1898,1934,1807,1925,2403,2485,2316,1941,1877,2851,3818,3393,2854,2345,2432,3420,3862,3862,3565,2573,2000,2018,2084,1836,1912,2136,2019,2023,2814,3010,3075,3326,3050,2923,2815,2884,3111,2598,2182,2282,2503,2352,1767,1527,1653,1691,1831,2067,2069,1947,2095,1960,2169,3251,3104,2043,1990,2501,2955,2656,2002,2354,2629,1990,1681,1786,1783,1745,1395,1033,1121,1630,1993,2126,2098,2034,1833,1660,2201,1750,1497,1638,1706,2083,1971,1553,1704,1996,1925,1783,1520,1550,1651,2243,2431,1997,1870,2096,2067,2090,2309,2665,2447,1915,2104,2589,1776,2201,2547,2268,2055,1904,1379,1273,1927,2136,2167,2411,1878,1759,1656,1629,1646,1516,1767,1854,1628,1746,1995,2468,2693,2614,2631,3263,2956,2272,1794,1558,1835,1919,1872,1782,1408,1509,1603,1572,1582,1791,1640,1915,1884,1894,2131,2370,2371,2679,3105,2674,2288,2158,2051,2037,2643,2148,1906,1957,1565,1428,1618,1527,1436,1559,1583,1555,1537,2144,2182,1544,1290,2023,2452,1956,1632,1708,1943,1899,1766,2157,2187,2242,2464,2469,1872,2708,3308,2967,2294,2375,3017,3389,2999,2750,3100,3331,2255,1868,2288,1890,1806,1909,1757,1721,1991,2265,2431,2479,2430,2429,2293,2272,1913,2043,1836,1641,1926,2114,2133,2469,2278,1881,1835,2033,1802,1842,1856,1946,1881,1923,1983,1968,2177,2070,2074,3075,3710,3693,2933,3010,3226,3344,2801,2507,2604,2219,1691,1683,1681,1530,1792,2757,2210,2217,2207,1622,1976,3023,2470,2059,2668,2943,2954,2700,2536,2852,2590,2213,2169,2034,2306,1749,1317,1834,2318,2191,2274,2441,2578,2686,2104,2486,2585,1923,2001,2665,2520,2597,3038,2876,2347,2330,1997,2033,2298,2227,2114,2248,2201,1839,2266,2081,1575,1765,1626,1848,1858,2249,2878,2979,2412,2306,2988,3666,3431,3027,3138,3024,2808,2827,3103,3464,2498,1934,1999,2152,2034,1866,1787,1990,2676,2958,2538,2241,2635,2842,2643,2603,2275,2467,2446,2322,1964,1603,1823,2432,2853,3131,2933,2249,2135,2491,2637,2392,2787,2047,1887,2763,2894,2431,2269,2161,1891,2204,2561,2705,3231,2955,3191,3230,2495,1944,2170,2376,2186,2335,3286,3454,2342,2730,2624,2198,2500,2692,3021,3374,3153,2326,1987,2095,2167,2777,3138,3573,3807,3781,3807,3666,3682,2909,2272,2821,3131,2464,2598,2482,1301,1431,2713,2910,1985,1156,1956,2413,3061,3607,3362,2845,2756,2847,2710,2986,3087,3239,3282,3140,2745,2941,3029,3050,3537,3685,3327,3187,3141,2772,3207,2788,2451,2697,2905,2785,2751,2566,2578,2346,2250,2858,2836,2665,2750,2752,2809,2475,2368,2708,2567,2710,2973,2836,2271,1552,1411,2104,2873,3249,2999,2670,2622,2970,3027,2812,3021,2790,2570,2509,2562,2943,3230,3304,3531,3611,3595,3248,3076,2901,2269,1979,2060,2466,3032,2930,2056,2435,2843,3084,3030,3186,2840,2321,1961,1675,1707,1966,1833,1827,2355,2502,3079,3143,3472,3782,3610,3347,3555,3726,3548,3707,4374,4373,4096,3544,3292],[3936,3061,2302,1947,1637,1802,2406,2661,3295,3624,3834,3951,3652,3176,3464,3868,4028,3702,3736,3917,3942,3895,3934,3926,3581,3043,3296,3727,3421,3566,3650,3496,3420,3217,3444,3299,3284,3173,3244,3339,3231,3264,3182,2640,2079,2407,3231,3306,3356,2971,2731,2641,3398,3493,3355,2954,3087,3384,2966,2178,3018,3256,3672,3718,3630,3602,3536,3099,3002,2828,2411,2861,3060,2884,2887,2513,2422,1749,1530,1667,1704,1917,2121,2001,1954,2253,2509,2543,2448,1689,1501,1020,1343,2495,3396,3615,3662,3627,3378,3232,3037,3307,3349,2697,2646,3073,3033,2980,3112,3034,3474,2986,2309,2995,3658,3444,3018,2710,2473,2753,1792,1684,2172,2429,2805,2875,2876,2732,2652,2969,3150,2955,2917,3018,3057,3134,3286,3469,3363,3325,3484,3454,3266,3230,3288,3178,3164,3286,3518,3898,4094,4137,4108,3838,3024,2980,2846,2282,2428,2963,2897,2904,3078,2952,2046,2223,1979,1512,2040,2554,2664,2542,2298,2568,2364,2060,1969,2329,2329,1978,1598,1370,1566,2150,2467,2972,3133,2617,2667,2171,1917,2079,1882,1576,1611,1832,2122,2375,2698,3093,3308,2662,2101,1448,1472,2024,2133,2001,2009,2435,2604,2862,3128,3217,3089,3049,2809,2735,2396,2205,2093,3109,3132,3137,3514,3808,3758,3693,3649,3135,2388,2166,2504,2129,2837,2924,3034,2976,2684,2573,2700,2426,2097,1661,1388,2353,3805,3350,2933,2486,2044,2900,3144,2973,3197,3139,2961,3029,3043,3161,2718,2729,2500,2843,2655,2696,2939,2416,2442,2609,2302,2426,2230,1531,2116,3527,3472,3116,2308,2462,2721,2225,2175,2274,2408,2407,2077,1647,1874,2523,2366,2979,3422,3906,3118,3209,3115,2831,3028,3264,3449,3464,3749,3414,3536,3815,3460,2187,1971,2322,2438,2373,2337,2945,3188,2976,2563,2303,3167,3495,2755,2963,3119,2597,2865,3663,3816,3348,3034,2733,2556,2551,3393,2820,3084,2616,3021,3182,3072,2991,2509,2299,2324,2000,2382,2734,2898,2655,2564,2742,2010,2469,2476,1960,1792,2234,3109,3392,3018,2874,3439,3238,2184,1897,1720,1694,1526,1538,2230,2510,2147,2330,2461,2081,2127,2204,2584,2571,2002,1643,1631,1892,2102,2837,3267,2722,2081,1659,1681,1513,1714,2106,2224,1749,2013,2470,1987,1619,2149,2358,1752,2200,2292,1679,1736,2511,2390,1737,1626,1633,2555,2867,2236,2497,2320,2064,2091,2208,2262,2098,2221,2381,2432,2850,2544,3001,4184,4240,4049,3904,3784,3676,3464,3391,3427,3529,3732,3812,3817,2550,1313,1470,2268,2733,2280,2600,2177,2713,3782,4042,4050,3652,2808,2376,2781,2886,2923,3265,3274,3277,3189,2993,3089,3714,4120,3606,3859,4267,4264,3880,3374,3488,4069,3817,3637,3845,3495,3427,3340,3381,3558,2675,1800,1673,1844,2259,2312,2333,2674,2045,2100,2756,3023,2756,3187,3354,2800,1957,1481,1832,2192,2073,2191,2471,2676,2863,2938,2742,2873,3670,3883,3276,2548,2168,2049,1505,1515,1512,2348,3233,3353,3339,3186,2707,2940,2749,2272,2238,2676,3056,2706,2701,2686,1938,1740,1822,2056,2104,2030,1853,1977,1949,2067,2152,1857,1806,1700,1444,1660,1833,2073,2280,2490,2393,2060,1731,2309,2788,2008,2019,2445,1959,1948,2280,2208,1852,1686,1567,1781,1994,2647,3062,2292,1655,1829,2054,2544,2411,2148,1835,1648,1514,1520,1705,2030,2288,2126,2382,1959,1814,2314,3408,3220,2444,2051,2297,2496,2508,2375,1988,2326,3252,2742,2045,1704,2455,3540,2996,1866,1992,3020,3488,3347,3341,3354,2974,2548,2477,2460,2091,2609,3227,3506,3287,2230,1629,2457,3119,2722,2885,2962,2442,2624,2370,2421,2343,2103,2612,2386,2332,3110,3072,2967,2981,2652,2730,2402,2085,1779,1953,2106,2454,2416,2243,2984,3447,3619,3525,3323,2840,2400,2554,2081,2186,2352,2079,2039,2248,2000,1691,2252,2556,2510,2106,2618,2833,3017,2947,2109,1731,2027,2357,2834,3095,2789,1985,1889,1634,1748,1967,1838,1671,2019,2002,2461,3150,2880,2808,2924,3045,3061,3248,3664,3140,2648,2621,3054,3422,3543,3427,3405,3305,2436,1823,1827,2026,2221,2631,2939,3065,3415,3674,3430,3272,2988,2365,2633,2820,2377,2776,2527,2600,2706,2911,2254,2395,2949,3050,3444,3870,3334,2868,2340,2480,2303,1774,2544,2674,2430,2480,2404,2460,2451,2425,2393,2402,2597,2814,2987,2853,2851,2921,2866,3343,3488,3440,3630,3704,3461,3812,3725,2795,3252,2950,3150,3442,3104,2720,2514,2567,2653,3093,3129,2253,2004,1973,2012,1801,1786,2144,2540,2542,2496,2257,2251,2364,2395,2417,2046,2451,3183,3465,2711,2685,2944,2811,2324,2049,1899,1694,1685,1772,2009,2413,2997,3175,2842,2806,2963,3523,3763,3726,3094,2597,3083,3211,2701,2491,3286,3803,3397,2534,2647,2460,2471,2335,2035,1937,2380,2728,2809,2898,3068,2832,3068,3510,3344,2207,2030,2549,2386,1872,2331,2944,3187,3084,2875,3131,3232,3064,3128,3196,3050,2774,2543,2479,2288,2008,2023,1982,1945,1983,2033,1708,2161,2445,2792,2564,2381,2513,2192,1807,1715,1531,1621,1867,1832,2133,2083,1874,1664,2224,2170,1703,1484,1565,1672,1920,1844,1547,1525,1658,1757,1750,1957,1750,1898,1964,2054,1950,1897,2420,2535,1746,1562,1562,1510,1882,1786,1660,1714,1809,1762,2095,2634,2321,1664,1344,1427,1479,1213,1247,1494,1532,1396,1540,1650,1765,1751,1763,1785,1967,2454,2202,1663,1805,2114,2116,1969,1970,1755,1747,1885,1866,2093,2445,2494,1829,1851,2670,2756,2443,1915,1597,2209,2468,2226,2422,2448,2513,2601,2122,1792,1620,1827,1842,1854,1828,2206,2437,2413,2666,2707,2381,2832,2971,2697,3372,3475,3142,2601,2275,3084,2943,2177,2368,2420,2387,2165,2579,2427,2396,2821,3319,3529,3528,3818,3498,3144,2954,2430,1791,1637,1874,2120,2137,2574,2895,2990,2955,2956,2957,2602,2209,2062,1926,1717,1869,2534,2996,2798,3164,2931,1957,1998,2530,2568,2042,2482,2414,1601,1618,2055,2370,2301,2083,2068,2873,2770,2391,2348,2014,1925,2203,2567,2099,2088,2067,2617,2915,2608,3093,3740,3748,3420,3063,2884,2745,2505,2379,2275,2307,2250,2512,2730,2713,2413,1770,1714,2348,2664,2566,3024,3334,3265,3159,3020,3044,3047,3186,3144,2710,2618,2745,2829,3134,2964,3451,4284,3638,3078,3052,2646,2436,2633,2663,2474,2304,2160,2330,3270,3781,4094,4548,4708,4961,3924,2211,2182,2589,2435,2575,2792,2728,2636,2699,2788,2686,2567,2505,2609,2575,2712,2863,2958,2728,2622,2595,2886,3653,3436,2998,3189,4308,3615,2494,2543,2884,2653,2735,3020,2369,2311,2386,2312,2357,2819,3056,2996,3231,3100,2588,2765,3395,3544,3700,3919,4125,4281,4176,3426,2573,2215,2548,2467,1867,1687,1842,1939,2396,2581,1964,1996,2036,2495,2553,2123,2045,2174,2611,2916,2414,2079,1852,1997,2510,3044,3316,3608,2454,1694,2066,2270,2292,2270,2086,2134,2561,2901,2499,2874,3024,2976,2929,2773,2850,2529,1935,1700,1792,1947,2092,2110,1619,1655,1701,1918,2071,2115,2237,2206,1878,1975,2919,2568,2018,2741,2656,2664,2624,2030,1817,1728,1647,1775,1698,1432,1272,1339,1493,1692,2100,2205,2048,1922,1732,1782,1993,2115,1892,1657,1562,1887,2144,1826,1606,1444,1816,2128,1893,1632,1586,1830,2255,2337,2280,2311,2070,1976,2003,2027,2397,2740,2756,2142,1846,2124,2637,2461,2161,1976,1886,1870,1815,1888,1643,1859,2002,1752,1854,1870,1732,1737,1609,1506,1598,1715,1559,1688,2343,2225,2056,2439,3388,3112,2614,2310,1678,1802,1997,2083,1886,1720,1808,1715,1646,1766,1976,1784,2198,2067,1796,1918,1958,1927,2673,3024,2343,2238,1985,1855,1936,2681,2034,1886,1996,1633,1750,1656,1388,1644,1697,1806,1543,1460,1897,2187,1780,2012,2472,2179,1788,1731,2047,2387,2370,2060,1959,1583,1699,1810,2084,1907,2270,2786,2677,2401,2647,2958,2999,2235,2046,2479,2690,1913,1688,2026,2150,2065,2317,2336,2307,2957,2942,2527,2250,2381,2512,2339,2563,2289,2427,2911,2252,1939,1907,1714,2469,2410,2713,2276,2452,2270,1871,2158,2688,2630,2010,1736,1766,1697,1692,2281,3177,3339,3255,2832,3062,3318,3255,3056,2757,2330,2024,1453,1692,1816,1794,2377,3036,2340,2011,1887,1839,2315,2546,1863,1869,2420,2663,3466,3138,2451,2360,2251,2455,2155,1887,1996,2075,2458,2499,2434,2357,2595,2349,2508,2564,2161,2311,2864,2686,2025,1712,2108,2464,2628,2813,2266,2145,1900,1690,1690,1650,1996,2149,1856,2191,2707,2381,1622,1600,1797,2069,1976,2245,2759,2614,2250,2336,2602,3160,3317,2871,2762,2642,2613,2618,3131,3243,2224,1897,2183,2715,2336,1697,1812,1890,2170,2349,2108,2111,3137,3808,3894,3920,3763,2668,1698,1858,1766,1609,2062,2768,2932,2885,3141,3076,2205,2717,2734,2047,2308,2431,2146,2248,2540,2555,2477,2337,1840,1992,2231,1919,2753,2872,2854,2928,2248,1801,2054,2630,2562,2767,2995,2695,1842,1681,2100,2669,2652,2390,2612,3178,2863,2053,1940,1904,2664,3056,3427,3349,2868,3667,3847,3486,3872,3356,2554,3182,3364,2950,2758,2725,2020,1685,2545,2851,2352,2011,2692,3400,3565,3189,3121,3083,3045,3089,2993,3355,3500,3480,3200,2865,2667,3014,3276,3103,3259,3508,3188,3360,3464,2893,2787,2922,3120,3167,3292,3405,3217,2974,2911,2897,2944,3062,2685,1647,1985,2452,2591,2499,2584,2733,2677,2643,2601,2512,1562,1186,1476,2484,2942,2975,2662,2791,3219,3415,3168,3042,3108,2805,2591,2422,2404,2627,2836,3386,3819,3737,3052,2824,3399,3328,2286,2070,2332,2836,3065,3264,3210,2944,3196,3152,2950,2950,2714,2587,2222,1842,2006,2260,2504,1996,2002,2067,2776,3006,3309,3670,3518,3348,3584,3782,2893,2589,3705,4184,3636,3352,3363],[3254,2562,2105,2049,2076,2196,2561,2669,2969,3666,4149,3629,3017,3382,4101,4518,4717,4144,3838,3725,3781,3798,3831,3914,3580,2717,2398,2164,1476,2229,3261,3589,3472,3585,3686,3508,3098,2990,3244,3143,2961,3032,3099,3303,2802,2603,3184,3548,3519,3384,3351,3584,3503,3494,3300,2729,2875,2362,2252,1958,2554,3184,3702,3807,3837,3638,3421,3164,2810,2425,2480,2739,3262,3631,3536,2774,2701,2724,2127,1667,1454,1731,2195,2166,2219,2473,2504,2452,1975,1486,1918,2271,1973,2850,3597,3418,3461,3619,3680,3531,3503,3672,2742,2269,2457,2697,2934,3111,3294,2902,2874,2616,2397,2873,3497,3992,4054,2896,3250,3407,2850,2775,2299,2302,2669,2764,2653,2480,2436,2852,2761,2728,3074,3156,2989,3108,3342,3393,3605,3849,3518,3052,2764,2843,3156,3287,3395,3437,3574,3807,4187,4052,3544,3044,3140,3522,3304,2762,2246,2979,2687,2358,2941,3310,2724,2477,1980,1370,1977,2801,3044,2796,2142,2423,2658,2567,2964,3161,2590,2242,1990,1719,1909,2280,2494,2308,2199,2196,2131,2048,2138,2197,2083,2221,2220,2076,2266,2563,2632,2728,2269,1570,1881,2100,2293,2222,2300,2290,2150,2014,2287,2553,2496,2990,3444,3032,2598,2278,2086,1892,2018,2678,2927,3344,3454,3739,4209,3928,3981,3617,2636,1884,1691,2077,2654,2688,2709,2819,2855,2990,2924,2633,2365,1675,1517,1863,2558,2922,2429,2000,1878,2414,2945,3193,3276,3099,3016,3312,2845,2745,2421,2653,2278,2653,2679,2917,2858,2173,1671,1934,1868,2319,2025,1848,2176,3400,3577,3006,2555,2910,2854,2700,2670,2453,2514,2380,1916,1665,2183,2604,2824,3086,3375,3780,3055,2852,3276,2872,2835,3221,3017,2752,2958,2885,3221,3540,3652,2714,1950,2199,2508,2469,2819,4014,3522,3113,3310,2698,3038,2874,2380,2900,2867,2196,2430,3566,4038,3726,3323,2929,3386,3528,3413,3021,2916,2736,2993,3023,2776,2380,2092,2774,3132,2313,2409,2523,2293,2062,2503,2858,2358,2195,2567,2575,2027,1974,2697,3386,2788,2624,3116,3020,2158,2025,1900,1689,1780,1827,2069,2219,2345,2331,1904,1942,2504,2248,2621,3056,2359,1855,1778,1702,1851,1831,2159,2166,2088,2088,1822,1642,1580,1621,1635,1552,1685,1781,1645,1664,2096,2142,1811,2605,2085,1582,1565,1879,1920,2104,2144,1929,2335,2656,2051,1952,1841,2103,2269,2367,2459,2446,2395,2596,2834,2473,2052,3304,4432,4324,4231,3989,3775,3883,3752,3443,3388,3506,3661,3746,3662,2833,1843,1864,2462,1825,1185,2779,2707,3032,3680,3818,3750,3820,3403,2844,3377,3415,3163,2897,3088,3229,3265,2668,2269,2930,3666,3649,3762,4107,4123,4028,4330,3862,4181,3762,3386,3774,3568,2764,2818,3184,3110,2789,2630,2191,1948,2222,2280,2203,3301,3397,3220,2905,2489,2708,3270,3300,2532,1896,1695,1814,1658,1619,2061,2722,3218,2878,3217,3028,2684,3332,3426,2799,2698,2309,1800,1685,1792,1763,2322,3120,3455,3902,3332,2245,2138,2312,1962,1896,2489,3143,2695,2582,2501,1730,1523,2077,2510,3039,3097,2418,2233,1820,2121,2050,2007,1980,1759,1554,2004,2084,2079,2258,2169,2017,1899,1810,1640,1988,2035,1793,1714,1769,1910,2261,2391,2354,2214,2146,2247,1735,2046,2636,2227,1710,1893,2128,2150,2182,1716,1176,1367,1509,1494,1790,2195,2519,2278,2131,2279,2075,2459,3433,2876,1797,1751,1942,2382,2418,2260,2410,2440,2202,2183,2155,2015,2235,3050,3598,3322,3010,3085,3013,2993,3327,3348,3098,2740,2589,2765,2632,2809,3152,3201,3138,2751,2458,2812,2401,1970,2198,2379,2539,2388,2016,2263,2371,2421,2670,2640,3326,3322,3189,2570,2420,2335,2557,2326,2300,2287,2187,2188,2483,2413,2373,2938,3256,3229,3140,2777,2710,2952,3065,2625,2451,2184,2275,2649,2653,1876,1920,2228,2193,2502,2139,2463,2156,2127,2131,1907,2041,2017,2054,2365,2723,2689,2332,1951,1712,1889,1765,1523,1537,1939,1802,1918,2917,3096,3167,3162,3157,3241,3172,2641,2719,2244,1549,2071,2627,2641,2821,3131,3129,2575,1778,1600,2089,2285,2467,2806,2724,2706,3098,3486,3393,2611,2058,2287,2700,2653,2358,2403,2333,2481,2382,2423,2974,3174,3121,3403,3902,3254,2746,2193,2354,1957,1947,2586,2444,2326,2610,2546,2475,2456,2495,2334,2264,2195,2439,2780,2924,2702,2600,2874,3458,3831,3737,3741,3850,3515,3564,3930,3003,2968,2877,2968,2980,2768,2251,2142,2237,1916,2085,2667,2299,2044,1979,1771,1727,1821,1869,2061,2271,2138,1566,1943,2465,2818,2789,2257,2653,2928,3105,2576,2578,2562,2330,2078,1872,1749,1655,1862,1785,1830,2360,2677,2504,2577,3250,3349,3450,3671,3939,3940,3575,3599,2635,1527,1625,2752,3764,3526,2730,2614,2447,1951,1905,1799,1695,2332,2925,3088,3034,2995,3184,3337,3585,2639,2181,2553,2680,2644,2531,2685,2955,3281,3545,3687,2926,2347,2477,2661,3029,3160,2948,2951,2601,2084,1994,2195,2285,2556,2623,2306,1663,1888,2383,2679,2659,2597,2477,1773,1841,1718,1407,1444,1603,1967,2154,2282,2040,1957,2195,2296,2344,2283,1843,2088,2272,2257,1663,1500,1675,1942,1963,2231,2251,1827,1697,2040,2091,2075,2368,2365,1822,1720,1554,1615,1517,1500,1505,1737,2008,1899,2067,2308,2010,1594,1562,1554,1569,1472,1425,1383,1361,1655,1963,2221,2289,1759,1664,1922,2417,2390,1831,1567,1518,2091,2024,1815,1910,1781,1575,1289,1313,1570,1808,1914,1765,1639,1848,1959,2103,1982,1968,2570,2776,2884,3182,2931,2984,2642,1980,1615,1736,2278,2071,1540,1778,2126,2092,2128,2405,2576,2535,2928,2849,2994,3564,3560,3292,2580,2376,3229,3253,2406,2713,2500,2596,2458,2559,2525,2486,2646,2922,2796,2363,2213,2480,2627,2779,2605,2076,2028,1837,1888,1952,2184,2228,2412,2656,2885,2927,2900,2762,2561,1925,1831,2193,2399,2568,2494,2790,2708,2503,2395,2310,2039,1804,2401,1830,1654,1705,2443,2833,2998,2526,2342,2796,2868,2436,2103,1999,1994,2126,1994,1615,1664,1691,2050,2447,2699,3293,3834,3631,2964,2920,2386,1931,1641,1657,2258,2340,2457,2808,2813,3086,2640,1691,1929,2902,3044,3044,3674,3499,3305,3152,2875,2930,3073,3107,2780,2129,2405,2733,2804,3406,3629,3597,4241,3860,3001,3199,3570,3295,2976,2856,2601,2367,2234,2319,3130,3848,4263,4450,4691,4635,3894,3342,3480,3520,2929,2885,2703,2678,2608,2631,2663,2624,2603,2596,2547,2640,2706,2567,2567,2539,3012,2862,2952,3251,2952,2577,3065,4257,3914,3032,3453,3443,2309,2357,2784,2243,2540,2517,2383,2670,2993,3310,3167,2621,2540,2951,3230,3699,3629,3754,3897,4200,4237,4244,3838,2811,2368,2511,2148,1752,1683,1566,1745,2113,2250,1933,1883,2195,2546,2321,2177,2458,2397,2326,2297,1882,1880,1686,1740,1973,2546,2988,3190,2617,2207,2567,2580,2479,2211,2167,2535,2457,2519,2477,2639,2809,2912,2894,2792,2969,2854,2147,1630,1669,1502,1708,2349,1713,1460,1430,1556,1781,1995,2409,2410,1925,2167,2557,2275,2608,2748,2084,2447,2445,2337,2054,1970,1862,1549,1330,1340,1443,1604,1764,1932,2062,2042,1946,1664,1605,1936,2165,2274,2103,1700,1492,2185,2095,1968,1998,1878,1706,1885,1914,1788,1860,2046,2221,2032,1912,2082,2249,2019,2088,2482,3188,3638,2945,1850,1834,2273,2617,2340,1879,1708,1743,1918,1898,1703,1704,2233,1918,2585,2514,1793,1678,1576,1642,1896,1960,1800,1996,3035,2486,1762,1696,2246,3023,2852,2837,2498,1659,1503,1614,1796,1824,2084,2042,2098,1996,1991,2151,1959,1939,1811,1832,2337,2367,1875,2318,2285,2589,2537,1961,1564,1797,2124,1779,1924,2016,1657,1978,1837,1526,1875,1898,1860,1569,1728,2168,2170,2110,2611,2385,1895,1798,2071,2569,2497,2836,2329,1792,1743,1970,2007,2023,1918,1744,1835,1981,2437,2767,2777,2619,2286,1941,2305,2388,1947,1759,2461,2903,2674,2951,2713,2357,3586,3749,2382,1975,1994,1923,2070,3285,3206,2588,2999,2258,1798,1640,1447,2039,2364,3107,3112,2389,2018,2285,2393,2324,1825,1503,1747,1986,1803,1920,2634,3038,2976,2895,2678,2904,3279,3113,3019,2800,2424,2283,1733,1704,1667,1786,2439,2333,1714,1763,1957,2037,2301,2554,1953,2069,2432,2367,2953,2691,2601,2950,2414,2407,2354,1837,1910,2809,2762,2501,2358,2636,2542,2170,2004,2448,2252,1954,2627,2721,1991,2181,2544,2241,2082,2374,2165,1903,1888,1734,1526,1456,1954,2023,1759,2155,2194,2164,2048,2438,2161,1764,1901,2219,2348,2082,2011,2237,2300,2309,2866,3119,2853,2849,2781,2657,2878,3228,2533,1942,2300,2871,2579,1875,2098,1890,1920,2327,1817,2205,2958,3330,3672,3631,3285,2306,1544,1786,1922,1901,2307,3000,2480,2034,2517,2865,2166,2312,2343,1893,2418,2917,2185,1930,2715,2723,2920,2593,1931,1880,2127,1919,2369,2586,2565,2555,2697,2492,2118,2579,2132,2387,2587,2432,2089,2103,2215,2306,2719,2346,2127,2396,2359,1818,2424,2200,2128,2800,3265,3355,3374,3748,3613,3398,3629,3123,2556,3166,3301,3262,2997,2939,2904,2713,2797,2886,2555,2501,3109,3182,3362,2782,2976,3269,3190,3152,3204,3728,3930,3740,3396,3196,3076,3303,3123,2582,2872,3418,3238,3333,3597,3521,3553,3803,3762,3480,3410,3306,3095,3009,2973,2872,3273,3235,3023,2479,2667,2735,2415,1874,1897,2608,2868,2765,2939,2138,1014,1508,1908,2678,2679,2241,2250,2878,3364,3306,3238,3305,3127,2844,2635,2544,2332,1763,2309,3395,3979,3673,3100,3106,3296,3130,2111,2032,2410,2757,2878,3341,3308,2974,3198,3144,2867,2732,2705,2841,2580,1999,2250,2364,2320,1646,1635,1663,2061,2635,3175,3376,3232,3287,3520,3897,3040,2616,3372,4168,3835,3388,3387],[2226,1909,1955,2066,2445,2955,3120,3041,2690,2814,3392,3248,3492,4216,4601,4897,5027,4705,4079,3649,3396,2949,3042,3741,3738,3090,2344,2115,1584,1935,2902,3508,3339,3514,3694,3693,3558,3576,3804,3529,3099,3082,3162,3698,3101,2521,2658,2814,2956,3021,3062,3349,3460,3642,3738,3330,3240,2514,2096,1863,1962,2862,3610,3730,3674,3630,3486,3264,2678,2578,2613,2609,3325,3627,3891,3402,2778,2828,2402,1617,1701,2147,2178,2341,2254,2491,2696,2254,1422,1743,2216,2398,2458,3108,3585,3615,3753,3593,3422,3311,3255,2712,2247,2374,2313,2099,2230,2880,3356,2997,2788,2911,3231,3141,3536,4481,4300,3209,3074,2906,3098,3241,3002,2723,2618,2679,2442,2405,2558,2788,2518,2626,2920,2788,2812,3062,3206,3219,3598,3752,3384,2956,2934,3247,3281,3520,3649,3674,3758,3950,3852,3364,2996,3347,3980,3830,3710,3281,2350,2754,2390,2522,3115,3500,3054,2226,1852,2061,2327,2643,2732,2457,2208,2363,2976,2787,2750,3008,2676,2332,2229,2081,2567,3090,2546,2174,2030,1919,1722,1922,1946,1855,1812,1685,1503,1573,1840,2060,2532,2481,2263,1971,1882,2190,2398,2094,2366,2160,2046,2339,2167,1988,2004,2683,3351,2474,2230,2038,1834,1948,2458,2755,2905,3264,3160,3189,3588,3537,3440,2977,1818,1498,1507,1913,2237,2065,2119,2454,2613,2548,2078,2476,2496,2024,1904,1286,1136,2548,2570,1708,1720,2217,2740,3186,3022,2994,2902,2951,2570,2289,2158,2078,2321,2514,2695,3074,3018,2230,1256,2056,2104,2358,2211,1858,1777,2744,3413,3100,2577,2652,2932,2919,3039,3480,3343,2334,2214,2474,2691,2665,2765,3054,3433,3717,3066,2517,3034,3163,3005,3156,3119,2911,2920,3043,3115,3207,3561,3286,2348,2270,2382,2420,2424,3608,3608,3310,3286,2785,2829,2906,2722,2889,2906,2621,2295,2643,3023,3198,2232,2024,2964,2856,2654,3041,3030,2727,2453,2805,2732,2161,2042,2610,2789,2281,2298,2162,2122,2285,2314,2459,2468,2540,2928,3020,2246,1735,1828,3087,3104,2501,2722,2454,1718,1844,1814,1754,2026,1947,1813,1875,1832,2035,1802,1736,2208,2239,2579,2849,2343,2012,1902,2078,2222,1793,1712,2120,2009,2021,2012,1842,1440,1375,1619,1644,1646,1894,1455,1544,1666,2032,2295,3096,2422,1832,2100,2469,2876,3130,2740,2122,2280,2619,2389,1696,1669,1926,2192,2465,2354,2074,2533,3105,2840,2066,2410,4026,4470,4495,4383,3875,3777,3904,3948,3920,3830,3899,3774,3610,3488,3388,2777,2801,3389,1859,1451,2756,1949,1063,1470,2125,3008,3633,3364,3041,3846,4201,3702,2993,3340,3254,3048,2520,2293,2799,3292,3433,3528,3638,3943,4176,4200,3591,3908,3798,3072,3583,3572,2855,3062,2928,2878,2398,2326,2029,1765,2366,2235,2191,2764,2912,2966,2710,2227,2395,2880,3128,2080,1901,1954,1754,1478,1715,1991,2580,3030,2927,3694,3939,3108,2877,2477,2606,2730,2415,2212,2004,1794,1864,1868,2434,3176,3293,3396,2907,2165,2457,2110,2073,2436,2988,2917,2842,2371,1505,1684,2360,2651,2919,2690,2457,2338,1842,1945,2155,2518,2697,2588,2088,1891,2042,2280,2322,2028,2000,1969,1763,1787,2262,2134,1819,1368,1502,1914,2380,2698,2532,2380,2614,2625,2695,2740,2356,2137,2042,1942,1789,1821,1912,1790,1606,1599,1571,1618,1483,1469,1801,2039,1995,1920,1808,1817,2273,2336,1972,1788,1813,2371,2676,2664,2770,2669,2853,2850,3020,2806,2249,3124,4128,4019,3261,2642,2271,2787,3444,3266,3117,3072,3133,3428,3194,2602,2761,3274,3403,3188,3250,2658,1817,1655,1757,2323,2735,2409,2032,2200,2281,1996,2270,2988,3186,2928,2700,1973,1812,1970,2243,2950,3084,2697,2555,2564,2732,2850,2749,2853,2596,2619,2467,2154,2288,2492,2802,3022,2600,2337,2497,2724,2886,1901,2148,2508,2791,2169,1723,1886,1981,2128,2046,2202,2454,2076,1825,1856,2657,2480,1974,1582,1614,1716,1603,1417,1586,1975,1897,1648,2661,3128,3332,3493,3399,3369,3096,2734,2824,2197,1763,2683,2410,2027,2232,2419,2002,2201,2024,2122,2446,2259,2314,2582,2740,2667,2684,3091,2828,2646,2658,2568,2834,2690,2197,2223,2087,2058,2323,2522,2955,3144,3004,3039,3145,2485,2456,1621,1398,2048,2436,2396,2336,2626,2980,2786,2448,2192,2340,2759,2444,2160,2492,3133,3271,3129,3110,2952,3280,4005,3941,3682,3741,3572,3416,3906,3152,2626,2711,2858,3013,2622,2076,2191,2137,1801,1731,1984,2120,2310,2288,1964,1583,1385,1627,1998,2084,1922,1515,1820,2280,3001,2967,2598,2621,2563,2532,2390,2323,2425,2631,3030,2675,2032,1842,2126,2004,1888,2144,2086,1957,3017,3604,3066,3215,3708,3970,4077,3814,2520,1573,1430,1987,2546,3100,3077,2710,2687,2303,2092,2502,2514,1946,2438,2873,2818,2722,2574,2723,3104,3098,2649,2753,2605,2407,2636,2928,2802,2988,3281,3715,4099,3710,2712,1897,1863,2330,2622,2475,2734,2084,1890,2146,1976,2000,2419,2700,2592,1875,1549,1963,2532,2666,2569,2487,1841,1603,1529,1409,1736,2536,3122,2783,2764,2977,2330,1948,2614,2618,2610,2415,2641,2612,2644,2125,1892,1977,1898,2181,2771,2403,1814,1689,1710,1725,1991,1893,1960,2064,1960,1721,1565,1405,1444,1474,1714,1935,1884,1801,1821,1721,1557,1584,1550,1804,2108,1993,1733,1736,2019,2034,2106,1879,1749,1597,1904,2252,2375,2194,1852,1810,1784,1331,1500,1683,1621,1692,1534,1516,1816,1762,2009,1714,1470,2076,2265,1891,1830,1913,2398,2937,2896,2604,2546,2851,2513,2138,1971,1915,2060,1860,1509,1549,1682,1842,1433,1777,2053,2184,2306,2229,2339,2733,3465,3654,3206,3103,3550,3561,3089,2924,2408,2402,2386,2374,2461,2608,2451,2248,2220,2445,2251,2302,1877,2230,1964,2577,2606,2195,2166,2421,2204,1825,1890,2680,2900,2849,2968,3120,3006,2232,1868,2280,1992,1708,2039,2522,2678,2380,2064,1982,1744,2314,2258,2492,2193,2313,2822,3241,3453,3209,2998,2683,2876,2687,2689,2452,2156,2223,2150,1999,1882,1820,2031,2495,3147,3495,3760,3458,2766,2966,3156,3017,2142,2013,2218,1650,2226,3053,2540,2345,1999,2201,2272,2901,2765,2952,3408,3326,3364,3193,3035,2899,2685,2777,2665,2064,2688,2909,2983,3566,3934,3919,3858,3759,3430,2915,2695,3498,3042,2906,2754,2313,2546,3146,3760,4291,4473,4748,4844,4559,4509,4622,4553,4220,2933,2663,2589,2654,2722,2590,2562,2709,2745,2606,2710,2745,2917,3263,3130,2987,3157,3068,2929,2872,3160,3137,3316,4074,3904,3084,3116,3096,2610,2530,2719,3061,3018,3229,3320,3475,3286,2837,2370,2187,2798,3563,3482,3880,3541,3819,4035,4034,4116,4285,3970,2967,2272,2179,1986,1766,1670,1592,1712,1968,2189,1834,1494,1935,2268,2237,2475,2632,2254,2521,2486,2113,1786,1555,2083,2151,2666,3086,2736,2491,2906,2881,2306,2369,2495,2534,2327,2177,2208,2692,2773,2943,3050,2827,2798,2891,2938,2624,2030,1944,1490,1524,2038,1597,1325,1389,1390,1399,1744,1997,1858,1639,2460,2964,2512,2299,2556,2296,2598,2337,2269,2243,1989,1547,1553,1426,1676,1613,1707,1917,1990,2001,2099,1941,1728,1816,1928,2176,2343,2228,1969,1829,2360,2273,2176,1814,1632,1519,1707,1938,2040,2109,2102,1850,1699,1565,1872,2526,2474,2230,2258,3543,4058,2976,2138,1763,1668,2204,2184,2151,2116,1918,1865,1980,1969,2138,2236,2199,3133,2855,1792,1678,1576,2062,2241,2085,1916,2314,2955,2373,2104,1947,2225,2634,2498,2427,1871,1720,1589,1603,2158,2404,2054,1613,1586,1488,1508,1892,2192,2059,1908,1881,2291,2372,1780,1775,2481,3421,2590,1424,1366,1697,1698,1672,1890,2017,2068,2508,2273,1611,1694,2014,1814,1865,2174,2083,1946,2338,2513,1841,1824,2271,2455,2733,2586,2910,2486,1883,1857,2446,2393,1863,1728,1598,1390,1613,2082,2199,2270,2219,2122,2147,2618,2548,1973,2007,2536,2723,2762,2963,2307,1935,2665,2747,2381,1761,1596,1966,2247,2541,2612,2283,2307,1978,1796,1618,1494,1831,2162,2456,2362,1866,1700,2010,2100,2104,1632,1512,2047,2612,2483,2575,2676,2723,2799,2878,2923,2952,3190,2962,2811,2722,2889,2477,1929,2090,2202,1997,1915,1761,2010,2375,2372,2315,3123,3023,2238,2132,2217,2241,2553,2373,2452,2845,2912,2661,2442,2368,2093,2304,1762,1455,1781,1983,2018,2254,2367,2429,2042,1669,2269,2832,2388,2964,3205,2629,2081,2493,2182,2076,2204,1928,1888,1831,1966,2339,2821,2484,1656,1709,1748,2591,2293,1923,2678,2832,2198,2056,2380,2739,2745,2081,2320,3218,3473,3551,3374,3053,2845,3046,2564,1920,2410,2675,2125,2279,2512,2154,2170,2071,1712,1974,2041,2719,3504,3144,3000,2822,1891,2017,2570,2472,2266,2686,2496,2313,2617,2566,2141,2095,1996,1989,2481,2898,2502,2259,2687,2711,2874,2352,2041,2533,2539,2018,1960,2471,2384,2154,2866,2754,2509,2324,1731,1856,1873,1889,2119,2770,2626,2366,2539,2540,2441,2381,1908,1755,2177,1863,2646,3674,3297,3052,3470,3623,3549,3518,3459,3616,3362,2922,3090,3049,2483,2652,3100,2768,2592,2988,2568,2734,2957,2864,3065,2797,3075,3045,3068,3161,3155,3395,3651,3488,3407,3691,3121,2821,3009,2809,3144,4005,3660,3337,3470,3506,3440,3514,3617,3685,3680,3427,3184,3030,2950,2967,3045,2896,2962,3065,3090,2845,2596,2255,2311,2208,2372,2785,3355,2732,1800,1367,1501,2147,1847,1136,1706,2685,2773,2721,2968,3142,3218,3073,2696,2491,2495,2120,2492,3544,4168,4037,3569,3736,3599,2712,2044,1729,2061,2502,2644,2708,2655,2751,2881,2846,2604,2480,2829,3136,2657,1936,1858,2100,2199,1869,1944,1980,2052,2148,2483,2818,3164,3333,3616,3972,4064,3725,3544,3807,3963,3785,3642],[2479,2412,2755,2918,3090,3194,3212,2768,2620,3007,3627,3786,4043,4251,4304,4583,4763,4737,4350,3797,3006,2250,2016,3041,3330,3276,2657,2156,1809,2013,2657,3416,3750,3930,3996,3836,3597,3597,4073,3863,3582,3585,3393,3181,2897,2906,3170,3176,2742,2744,3249,3326,3406,3814,3851,3213,2798,2173,2033,2351,2823,2841,2692,3206,3592,3675,3404,3367,2418,2636,3101,3124,3408,3923,3807,3278,2818,2696,2625,2131,2474,2976,3020,2768,1884,1848,1955,1574,1402,1918,2314,2357,2412,2871,3361,3379,3425,3329,2938,2846,2735,2151,2066,2423,2308,1956,1831,2618,3097,3374,3223,2916,2920,3386,3749,4176,4090,3565,3029,2751,2915,3325,3719,3675,3092,2282,1914,1891,1999,2044,1874,2464,3001,2902,2794,2799,2722,2567,2863,3393,3737,3472,3298,3327,3278,3506,3686,3772,4030,3951,3605,3661,3499,3518,3719,3746,3485,3435,2746,2521,2561,3150,3442,3279,3086,2734,2482,2589,2380,2329,2607,2646,2542,2543,2877,2921,3120,3487,3065,2512,2524,2391,2711,2501,2132,2420,2310,1820,1710,1621,1727,2094,2166,1684,1671,1807,1600,1518,2178,2460,2708,2411,1722,1354,1458,1954,2590,2326,2454,2351,2058,2038,2036,3304,3086,2507,2650,3083,2982,2877,3317,2998,2721,3275,3075,2830,2875,2687,2555,2440,1935,1382,837,1174,1865,2294,2584,2853,2596,2642,2134,2370,2684,2622,2456,1540,1456,2670,2696,1714,1799,2162,2423,3300,2999,2650,2790,2682,2616,2832,2746,2486,2361,2504,2899,2595,2583,2207,1614,2611,2644,2574,2590,2031,1704,2384,2898,2562,2578,3140,3186,2822,3363,3748,3529,2957,2640,2664,3385,3536,3122,2833,2873,3309,3349,3266,4043,4134,3111,2729,2643,2597,3274,3597,3429,3415,3579,3447,2542,2333,2328,2369,2277,2775,2966,3081,3178,2910,3154,3529,3529,3334,2396,2054,1938,1948,2089,2741,2641,2265,2251,2384,2742,2842,2505,2708,2623,2413,2332,2191,2283,2081,2236,2141,2067,2380,2566,2344,2229,2818,3349,3215,2640,2838,2244,1861,1807,2392,2933,3247,3190,2343,1831,1865,1860,2074,2216,2098,2119,2686,2481,2350,1992,1536,1529,1782,2007,2457,2779,2374,2593,2715,2340,1786,1704,2105,1918,1750,1892,1881,1808,2191,1947,1779,1804,1853,1592,1741,1972,2353,2918,2928,1924,1766,2207,2357,2886,3112,2752,1990,2148,2965,2955,1929,1615,1816,1900,1954,2056,2468,2981,3003,2200,1997,2577,3493,3555,3706,4040,4016,3688,3429,3912,3926,4001,3884,3746,3853,3692,3261,2888,3248,3475,2249,2335,3023,2477,1615,1019,1261,2883,3742,3575,3494,3861,4127,3985,3607,3589,3316,3052,3050,2986,3113,3188,3319,3516,3429,3895,4072,4337,3846,3409,3706,3536,3224,3181,3181,2963,3012,2844,2232,2100,1810,1921,2584,2329,1997,1822,1908,2169,2579,2393,2630,2746,2952,2273,1725,2298,2258,1743,1852,2214,2629,2673,2423,3374,3952,2913,2363,2082,2415,2676,2595,2494,2221,1863,1707,1919,2863,3588,3207,3311,2646,2590,3040,2543,2341,2721,2700,2268,2196,1850,1652,1823,2258,2734,2448,1834,2297,2154,1746,1600,1649,2034,2544,2803,2631,2150,2174,2351,2199,2136,2060,1926,1612,1846,2295,2084,1617,1388,1519,1836,2665,2784,2542,2339,2755,2836,2545,2249,2105,2278,2099,1599,1734,1946,1698,1839,1861,1744,1470,1630,1618,1573,1593,1648,1785,2050,1922,1481,1723,1987,1953,1941,1797,1874,2600,3053,3078,2585,2706,3422,3818,3384,2537,2723,3969,4308,3397,2851,3073,3091,2964,3108,3088,2851,3020,3416,3600,3097,2539,2692,3396,3451,2871,2048,1673,1503,1995,2626,2734,2611,2267,2277,2164,1911,2109,2490,2753,2402,2131,1881,2237,2454,2021,1923,1774,2015,2269,2198,2226,2619,2461,2269,2235,2987,2954,2561,2496,2260,1904,2321,2387,2645,2025,2174,2281,2220,2902,3067,2787,2334,1977,1719,1871,2260,2098,2153,2275,2527,1974,1700,1898,1856,1764,1710,1692,1733,1832,1685,1711,1927,2022,1843,2590,3487,3843,3626,3331,3360,3198,3037,3108,2553,1926,2572,2353,1909,2150,2832,2595,2722,2769,2567,2098,1957,2253,2510,2811,2785,2567,2658,2198,1940,2367,2828,2504,2053,1993,2195,1863,1767,2150,2045,2325,2623,2918,2950,2378,1862,2101,1870,1223,1380,2203,2360,2721,2861,3186,2832,2527,2148,1659,2342,2941,3141,3241,3230,2954,2945,3222,3240,3145,3585,3584,3681,3613,3669,3615,3880,3367,2601,2561,2620,2470,2245,2309,2242,2388,2405,1900,1936,2114,2320,2579,2293,2034,2038,1612,2129,2115,1907,1710,1667,2113,2503,2531,2434,2384,2382,2403,2290,2158,2352,2710,3664,3239,2985,2510,2176,2046,2239,2468,2440,2761,3367,3285,3173,3365,3737,3913,3787,3540,2447,1805,2010,2475,2496,2644,3139,3366,3067,2702,3165,3763,3255,1967,2355,2635,2557,2396,2325,2415,2618,2844,2976,3003,2603,2415,2504,2887,2953,3282,3636,3748,3720,3884,3329,2404,1956,1793,1994,2235,2607,2216,1788,1633,1596,1649,2110,2524,2307,1689,1764,2612,3055,3010,2727,2602,2464,1952,1759,1598,1956,2647,2834,2738,2739,2886,2115,2232,2976,2370,1958,2383,2656,2653,2323,2104,2106,2008,1907,2074,2641,1910,1665,1609,1615,1761,1880,1958,1938,2027,1958,2004,2085,1762,1562,1559,1757,2183,1798,1480,1617,1609,1674,1721,1577,1924,2475,2514,2253,2057,2040,1994,1931,1918,1736,1525,1881,2011,2077,2149,1856,1877,1795,1537,1538,1560,1474,1894,2477,2392,2344,2212,2137,1645,1522,2046,2054,1705,1724,1740,2221,3034,2586,1922,2673,3120,2605,2193,1735,1560,1532,1513,1472,1552,1886,1586,1483,1747,1803,1848,2001,2386,2674,2810,3911,3769,3419,3350,3916,3876,3378,2562,2292,2365,2308,2451,2499,2209,2108,2641,2702,2796,1900,1616,1567,1743,2086,2494,2412,2226,2193,2166,1855,1749,2047,2763,2861,3009,2826,2646,2502,1973,1816,1825,1817,2034,2140,2718,2329,1779,1738,1928,1851,2670,2377,2612,2658,2648,2694,2785,3260,3916,3358,2623,3020,2855,2980,2684,2408,2398,2272,2410,2762,2544,2228,2513,3320,3724,3775,3375,2789,3138,3649,3175,2238,2009,2038,1699,2083,2532,2500,2191,1752,2679,2371,2744,2847,2766,2834,2823,2811,2883,3202,2831,2421,2779,2700,2698,3262,3414,3483,3768,3983,3901,3739,3758,3807,3618,2749,2713,3234,2689,2492,2464,3250,3885,4189,4389,4329,4423,4596,4609,4264,4201,4478,3896,3056,2677,2619,2536,2414,2484,2632,2798,2952,2733,2728,2930,3283,3648,3472,3150,2968,2988,3106,3356,3272,2940,3299,3580,3450,2937,3104,3395,3362,2342,2423,2915,3060,3094,3237,3586,3237,2494,2280,2873,3262,3606,3806,3526,3551,4080,3916,3731,3952,4153,3853,3370,2741,1897,1851,2040,2022,2164,2090,1920,1967,1866,1705,1867,2201,2259,2216,2467,2423,2828,2830,2492,1974,2177,2735,2329,2320,2623,2785,3089,2958,2552,2297,2322,2493,2221,1222,1471,2454,2879,2786,3189,3399,2902,2798,2787,3045,3077,2416,2048,1732,1554,1542,2039,2103,1589,1612,1720,1971,1926,1791,2235,2974,3367,2627,2423,2465,2447,2642,2431,2220,2299,2090,1438,1307,1566,1790,1912,2190,2072,2005,1873,1897,1998,1956,1828,1915,2214,2263,2320,1951,1201,1289,1963,1771,1619,1570,1461,1679,1886,2105,1954,1959,1759,1792,1673,1714,2067,2388,2335,2017,2611,3530,3773,3186,2193,1597,2112,1956,2281,3132,2707,2244,2363,2359,2046,1901,2002,2138,2087,1839,1677,1859,1999,1759,1956,1945,1956,1971,1909,1896,1728,1845,1946,2026,2223,1720,1733,1987,2365,2597,2382,2141,1786,1407,1365,1456,1805,2260,1886,1765,1770,1963,2419,2274,1813,2326,2943,2036,856,1265,2039,1644,1613,2055,2416,1992,1969,1559,1440,1505,1569,1902,2342,2023,1811,1760,2146,2322,1841,1873,2265,2175,2069,2312,2333,1898,1658,1783,2273,2039,1788,1940,1817,1786,2006,2177,2350,2264,1963,1659,1671,1968,2078,1707,1596,1863,2246,2639,2597,2489,2218,2019,2285,2482,1956,1722,2187,2177,1790,1806,1980,2048,1769,1523,1572,1490,1401,1677,1675,1336,1477,1872,2365,2038,1963,2131,2392,2644,2827,2799,2607,2502,2791,2990,3355,3552,3206,3153,2755,2585,2757,2802,2588,2220,2042,1965,1759,1619,1882,2308,2251,2430,2336,2526,2517,2282,2095,1987,1981,1972,1967,2166,2215,2167,1864,2281,2808,2606,2003,1902,1304,1909,2441,2120,2208,2526,2763,2313,1725,1976,2644,2552,3000,3473,3355,3293,3159,2641,2406,2051,2023,2144,1986,1632,2049,2576,2432,1827,1631,1736,2199,2136,2114,3100,3594,2932,2212,2558,2954,3289,2937,2757,3244,3507,3551,3553,3474,2951,2459,2231,1779,1959,2860,3140,3234,3138,2378,2139,2299,2518,2339,1627,2135,3270,2945,2884,3055,2533,2794,3085,2531,2050,2373,2749,2780,2520,2216,2375,2062,1990,2535,2650,2898,2597,2599,2788,2828,3211,2954,2753,3047,2897,2425,1977,2270,2598,2326,2688,2327,2444,2164,1845,1880,2057,2214,2491,3031,2765,3210,2866,2969,2718,2362,1698,1603,1773,1727,2833,3973,3285,2573,2550,2860,3559,3608,3720,3697,2784,2612,2956,2994,2828,3001,2846,2213,2263,2752,2423,3009,3109,3065,3075,2709,2688,2611,2811,3287,3292,3437,3515,3568,3500,3650,3500,3717,4124,3883,3428,3076,3108,3281,3207,3228,3123,3267,3320,3686,3820,3425,3144,2811,2753,2963,2946,3238,3343,3127,2871,2776,2815,2665,2566,2136,2377,2986,3270,3066,2305,1568,1562,1703,1251,853,1745,2074,2043,2400,2967,3071,3538,3610,3099,2984,3205,3339,3570,3758,3930,4052,3432,3724,3554,2491,1911,1779,1964,2081,2264,2342,2500,2956,2549,2625,2603,2393,2364,2667,2336,1895,1827,2725,3147,2818,2423,2232,2474,2562,2325,2350,2946,3230,3481,4040,4774,4500,3899,3725,3718,3616,3802],[2562,2994,3103,2452,2378,2813,3112,3018,3401,3793,3719,3151,3371,3811,4164,4420,4582,4487,4423,3925,3226,2847,1880,1876,2481,2921,2778,2138,2015,2445,3120,3411,3508,3965,3865,3574,3461,3297,3632,3799,3604,3769,3816,3242,2943,2796,2989,3242,2512,2630,2946,3005,2753,3366,3012,2863,2420,1828,2132,2755,2991,2171,2332,3413,3819,3425,3362,3283,2228,2023,2555,3095,3728,3987,3222,2690,2707,2820,3138,2708,2854,2984,2976,2950,2442,2037,1976,1831,1734,2129,2742,2932,3032,2783,2768,2717,2874,2763,2652,2635,2408,2380,2681,2784,2448,1972,1825,2588,2519,3299,3198,2402,2275,2915,3226,3522,3543,3381,3220,2829,2679,2983,3384,3695,2314,1378,1506,1888,2568,2648,2038,2247,2796,2724,2630,2415,2458,2673,3088,3702,4108,3837,3350,3203,3422,3753,3927,3962,3951,3464,3653,4040,3627,3564,3553,3557,3373,3660,3387,2630,2564,3332,3326,3373,3141,3074,2692,2433,2232,2240,2449,2556,2466,2471,2630,2631,2641,2750,2529,2392,2051,1769,2034,1609,1743,2103,2099,1966,1625,2193,3295,3327,3066,2250,1942,1720,1417,1287,1905,2272,1765,1422,1272,1459,2110,2524,2814,2642,2589,2598,1728,1729,2478,3235,3146,3075,3228,3790,4164,3883,3450,3075,3169,3332,3062,2994,2540,1995,2324,2513,2255,1890,1162,1043,1886,2459,2570,2784,2877,2953,2348,2313,2812,3113,2809,2139,2356,2736,2788,2429,2291,2358,2701,3420,2821,2466,2707,2989,3443,3540,3328,3042,2323,2115,2476,2122,2663,2122,1910,2636,2503,2347,2570,2323,2175,2730,2944,2383,2226,2481,2337,2555,3332,3692,3208,3163,3253,2892,2889,3454,3035,2274,2585,2938,2878,2569,2797,3348,2995,2832,2934,2975,3294,3632,3776,3781,3674,3526,2779,2225,2342,2432,2459,2481,2699,2990,3373,3151,3244,3805,3876,3726,2290,1749,1859,2225,2336,2633,2755,2274,2358,2590,2767,2964,2495,2634,2670,2166,2029,2598,2720,2340,2210,2014,2353,2697,2652,2706,2404,2788,3275,2934,2862,2549,2074,1922,2025,2358,3042,3640,3481,2729,2270,2009,2090,2200,2286,2134,2190,2392,2590,2405,2058,1688,1590,1677,1804,2404,2630,2475,3191,3205,2291,1637,1534,1613,1719,1811,1934,2305,2730,3580,2663,2086,2002,2270,1923,1621,1904,2012,2259,2186,1924,2111,2014,1704,1876,2426,2308,1615,1478,2574,2949,2302,1832,1798,1948,1576,1782,2382,2328,2345,2121,2432,2759,2494,2098,2336,3254,3952,3156,2865,3707,3630,3652,3571,3453,3516,3555,2983,3362,3797,3460,3353,3471,3116,3034,3227,2639,2419,3230,3150,3586,4037,3914,3872,3697,3502,3486,3350,3265,3294,3454,3455,3426,3324,3124,3285,3745,4320,4964,4506,3753,3539,3256,2792,3364,4073,3986,4145,3076,2495,2701,2703,2707,2523,2542,2583,2275,2046,2272,2712,2510,2244,2540,2576,2178,2292,2874,2801,2409,2441,2438,2116,2235,2236,2498,2815,2543,2462,2180,1869,2088,2561,2405,2114,2088,2047,2636,3325,3398,2879,2896,2344,2001,2179,2361,2345,2744,2217,1518,1561,1711,1860,1986,2334,2688,1882,1515,2089,2195,1802,1594,1820,2195,2382,2316,2397,2401,2588,2380,2330,2154,1913,1882,1920,1963,2081,1960,1608,1609,1561,1530,2067,2159,2006,2942,3486,3088,2706,2599,2404,2186,1736,1717,2305,2319,1934,2614,2859,1899,1403,1489,1472,1461,1585,1602,1636,1864,1808,1593,1716,1976,1732,1940,1688,1714,2358,2871,3410,3406,2877,3494,3725,3939,3557,2666,3381,4308,4092,3748,3267,2440,2355,3011,3262,2674,2598,3063,3309,3109,2635,2272,2805,3017,2264,1711,1637,1753,2322,2747,2862,3071,2950,2268,2189,2196,2172,1966,2374,2629,2501,2636,2955,2571,1671,1381,1334,1715,2381,2126,2018,2230,2429,1980,1692,2415,3242,2974,2457,2220,1754,2115,2626,2537,1835,1970,2212,2329,2686,2734,2463,2421,2502,1874,1941,1764,1683,2154,2277,2129,1700,1664,1776,1832,1822,1892,2020,1722,1896,1900,1815,1784,1790,1987,2697,3732,3786,3318,3342,3638,3683,3267,2982,2795,2177,2340,2337,1904,2061,2690,2636,2815,3240,2657,1954,2044,2061,2289,2577,2562,2620,2943,2618,2066,2631,2798,2137,1845,1965,2291,1777,1891,1986,1738,1896,2278,2688,2629,2159,1904,2054,2082,1533,1631,2032,2578,3093,2855,2778,2618,2427,2094,1541,1693,2261,2775,3429,3400,3284,2932,3078,3109,2929,3365,3631,3594,3424,3465,3470,3504,3015,2292,2410,2590,2586,2679,2350,2017,2940,3364,2487,2150,2124,2028,2204,2077,2542,2798,2122,2122,1896,2081,1643,1962,2535,2008,1950,2288,2376,2347,2267,2133,2377,2919,3124,3792,3813,3685,3038,2317,2187,2430,2863,3215,3422,3191,2877,2931,2900,3436,3845,3493,3263,3149,3103,3025,2746,2369,2057,2719,3044,2701,3211,3772,4132,2861,2389,2824,2791,2554,1959,2309,2742,2854,3371,3304,2976,2403,2383,2513,2957,3318,3561,3642,3286,3349,3938,3738,3473,2938,2166,2480,2374,3120,3089,2005,1668,1746,1946,2336,2533,2040,1886,2398,3154,2744,3016,2845,2774,2525,2050,1830,1711,2446,2864,2486,2279,2065,2110,2049,2493,2510,2081,2186,2690,2735,2238,1800,1841,1919,2237,2043,2052,2424,1974,1570,1535,2082,2093,2186,2287,1982,2193,2051,2073,2236,2229,1982,1649,1820,1904,1543,1578,1608,1646,2070,2304,2045,1797,2200,2192,2014,1736,1787,1599,1634,1732,1614,1869,2200,1970,1673,1761,2026,2358,2191,1693,1475,1591,1652,2102,2836,2812,2155,1917,1909,1544,1741,2137,1939,1964,2272,1999,2046,2496,2382,2331,2846,2941,2686,2228,1561,1587,1598,1666,1550,1782,1938,1652,1813,1797,1643,2067,2727,3224,3464,3272,3491,3583,3726,3558,3415,3348,2965,2532,2530,2365,2482,2679,2204,1907,2998,3522,2963,2285,1834,1723,1744,1847,2187,2092,1718,1892,2688,2501,1814,1649,2018,2302,2676,3177,2657,2239,2266,1938,1794,1687,1711,1661,1857,2172,1860,1726,2164,2075,1866,1912,2386,3019,3019,2695,2442,2984,3464,4087,3279,2443,1919,2287,2577,2390,2420,2631,2738,2530,2728,2265,2249,2773,3262,3420,3638,3572,3160,3135,2928,2493,1926,1761,1981,2167,1841,1791,2250,1989,2001,2701,2160,2515,2868,2580,2869,2463,2199,2522,3082,2557,2648,2690,2655,2829,3329,3784,3752,3974,4156,3901,3719,3951,3373,3002,3228,2480,3187,3010,2947,3274,3629,4023,3992,3387,3216,3043,3248,3209,3145,3373,3572,3252,3100,2967,2866,2640,2641,2758,2729,2845,2933,2720,2863,3014,3430,3522,3191,2827,3106,3553,3619,3603,3466,2797,2855,2565,2861,3597,3484,3146,3100,2554,2152,2191,2163,2029,2770,3399,3370,2743,2931,3294,3274,3670,3842,3361,3717,3742,3372,4004,4128,4035,3898,3640,2968,2283,2099,2184,2198,2141,2344,2475,2358,2187,2389,2236,2348,2608,2144,2244,2611,2733,2639,2443,1995,1923,2158,2277,2530,2941,3234,2956,2701,2603,2341,2292,2204,1310,680,1630,2721,2921,3020,3384,3691,3221,2962,3002,3186,2930,2619,2213,1930,1698,1746,2358,2051,1519,1728,2257,2425,1989,2129,2991,3372,3727,2887,2479,2680,2553,2685,1981,1912,2069,1434,1399,1414,1730,1873,2009,2047,2120,1954,1669,1836,1862,2084,2004,1986,2144,2160,2115,1478,1176,1907,1932,1694,1998,1738,1606,1629,1573,1794,1925,1929,1876,1848,1475,1361,1865,2135,2048,2154,2376,2596,3638,3461,2802,2435,2796,2222,1957,2574,2725,2573,2734,2599,1889,1877,1914,1980,1832,1830,1736,1809,1770,1698,1858,1914,1925,2057,1975,1609,1643,1830,1710,1742,1810,1622,1581,2539,3282,2630,1773,1854,1827,1556,1534,1636,1800,2048,1577,1831,2253,2410,3051,2534,1565,1493,1605,1644,1528,1660,1963,1826,1602,1969,2268,1681,1467,1453,1572,1566,1427,1764,1858,1872,2243,2223,1923,2048,1807,2083,2659,2442,2107,2185,2118,1826,1771,1654,1875,1845,1772,1984,1731,1991,2300,2059,2011,2238,1961,1447,1359,1477,1671,1492,1807,2114,2404,2531,2002,1899,2122,2383,2887,2752,1932,1734,1908,1951,1658,1556,1738,1798,1615,1514,1571,1434,1472,1815,1586,1338,1482,1766,2534,2583,2535,2729,2583,2336,2296,2561,2500,2663,3133,3078,3329,3337,3050,3208,2740,2798,3204,2988,2732,2474,2080,2082,2322,2198,2481,2448,2072,2074,2459,2398,2353,2328,2266,2334,2337,2185,2065,2403,1946,1629,1669,2319,3067,3010,2404,2112,1916,2150,2271,2367,2213,2429,2767,2735,2046,2250,2525,2562,3145,3610,3675,3675,3506,3089,2346,1700,2047,2096,2080,1570,1368,1528,1996,1802,1438,1419,1572,1873,2104,2614,3649,3362,2342,2416,2541,3052,3221,3226,3295,3410,3530,3330,3388,3352,3053,2480,1912,1997,3067,3239,3124,2929,2178,1959,2254,2448,2248,2042,2551,3187,2843,2590,3041,3108,3154,3118,2675,2302,2613,3155,3452,3100,2855,3151,2534,2320,3060,2973,2862,2692,2699,3085,3660,4015,3849,3499,3139,2734,2635,2238,2419,2780,2622,2928,2767,2437,2360,2216,1966,2055,2177,2153,2508,2820,2956,2852,3085,2808,2523,2272,2206,1953,1671,2168,2701,2317,1918,1763,1946,3231,3485,3405,3109,2570,2663,3030,3266,3567,3751,2533,2278,2348,2167,2435,3077,3016,2756,2792,2685,2765,3062,3047,3200,3327,3479,3426,3250,3352,3464,3352,3693,4002,3515,2564,1955,2579,2841,3130,3151,3131,3241,2767,3063,3542,3570,3371,2901,2645,2335,2696,3676,3703,3415,3034,2834,2798,2731,2580,2568,2688,2688,2874,2814,2048,1800,1816,2035,1671,956,1409,1569,2313,3119,3330,3043,3463,3906,3807,3581,3414,2675,2504,2525,3128,3588,3361,3432,3277,2491,1872,1694,1635,1738,2126,2245,2180,2556,1924,2328,2387,2087,1960,2111,2159,1927,2361,3204,3218,3146,2244,1990,1968,2778,2822,3261,3000,3095,3538,3564,4156,4780,4113,3196,3241,2727,3184],[2966,3411,3310,2650,2934,3426,3802,4059,4234,3894,2930,2707,2795,3241,4046,4229,4508,4703,4461,4038,3636,3194,1939,1210,1765,2391,2470,2288,2110,2470,3069,3260,3397,3476,3519,3611,3722,3403,3551,3837,3947,4196,3795,3198,2978,2545,2927,3330,2999,3292,2784,3016,2829,3031,2839,3053,2842,2777,2883,2513,2569,2395,3232,4080,3907,3021,3357,3216,2387,2280,2523,2912,3685,3404,2539,2749,2463,2117,2315,2598,2438,2370,2612,2641,2527,2309,2047,2130,2286,2740,3388,3505,3432,2929,2800,2660,2557,2502,2621,2481,2407,2593,2807,2722,2576,2312,2015,2229,2137,2709,2790,2165,2313,2739,3010,3281,3239,3595,3421,3018,2698,2620,2941,2985,1880,1533,1815,2229,3002,3057,2226,2056,2318,2295,2249,2287,2520,2894,3052,3131,3579,3672,3212,3196,3565,4018,4112,4245,3824,3681,4059,4207,3868,3802,3575,3528,3663,3475,3376,2701,2213,2963,3318,3441,3249,3027,2188,1705,1939,1754,2035,2720,2337,2364,2705,2900,3013,2513,2509,2415,2203,1831,1686,1932,2076,2083,2314,2544,2139,2352,3019,2632,2485,2121,1782,1945,1535,1424,2299,2572,1837,1394,1465,1708,2228,2735,2495,2723,2581,2025,1454,1392,2384,3216,3011,2871,3265,3506,3484,3317,2642,2603,3053,3383,3220,2972,2242,2020,2656,2663,2602,2548,2218,2005,2317,2445,2621,2588,3148,3391,3062,2856,2984,3263,2667,1620,2399,2222,2510,2655,2722,2954,3087,3518,3618,3471,3370,3349,3545,3675,3667,3142,2558,2348,2998,2932,2996,2530,2584,2722,2457,2334,2586,2688,2492,3024,3274,2274,1972,1849,1780,1815,2451,2978,2625,2765,3216,2972,2554,2782,2393,2645,3139,2638,2344,2022,1980,2271,2595,2909,2784,2651,2950,3422,3616,3544,3604,3837,3293,2364,2203,2643,2379,2166,2648,2814,3522,3305,3389,3654,3631,3790,2855,2468,2370,2294,2318,2279,2159,2326,3001,3043,3259,3194,2645,2459,2476,2470,2374,2532,2569,2390,2200,2374,2886,2714,2858,3199,2575,2385,2639,2769,2548,2113,2053,2113,2315,2886,3189,2921,2710,2338,2303,2231,2302,2376,2318,2660,3081,3051,2412,2041,2060,1930,1860,1902,2303,3197,2875,2496,3053,2982,2105,1560,1556,1469,1566,1677,2114,3212,3184,3007,2254,2083,2402,2768,2103,2027,2380,2181,2442,2025,2039,1992,1743,1601,1720,1813,1772,1632,1919,2219,2132,2236,2149,1717,1789,1567,1953,2482,2261,2181,2271,2386,2570,2354,1945,2022,2875,3371,2680,2540,3099,3461,3647,3683,3525,3399,3414,3222,3485,3495,2810,3074,3438,3229,3338,3585,3355,3647,3868,3285,3519,4025,3891,3243,2795,3095,3141,3440,3521,3551,3817,3660,3684,3388,3204,3449,3808,4332,4661,4763,4692,4328,3850,3594,3943,3990,4296,4083,3343,3033,3339,3444,3091,3002,3250,3137,2769,2362,2296,2465,2446,2106,2269,2522,2523,2765,2567,1966,2032,2310,2059,1898,2025,1991,2396,2696,2590,2699,2857,2806,3042,3133,2641,2556,2280,1931,2575,3112,2941,3077,2664,2305,1789,1660,1816,1756,2031,1786,1609,1604,1918,1851,2023,2739,3172,3091,2540,2198,2410,1995,1758,2017,2230,1927,1700,2375,2718,2840,2556,2084,1819,1908,1967,1825,1824,1958,1915,1893,1863,1684,1564,1823,1801,1874,3094,3371,2427,1836,1846,2134,2186,2124,1709,2249,2250,1864,2219,1952,1695,1830,1762,1501,1512,1650,1818,2030,1948,1760,1707,1699,1795,1771,1874,1483,1892,2857,3121,4019,4453,3620,3498,3330,3730,4093,3338,3297,4027,4284,3927,3103,2598,3095,3265,3273,2878,2658,2544,2500,2610,2851,2798,2484,2409,2213,1847,1596,1606,2141,3178,3270,3037,2473,1902,1970,2226,2163,2217,3028,3461,3277,2957,3020,2659,1909,1564,1417,2368,2700,2310,2199,2170,2497,2241,2024,2536,2894,2415,2387,2039,1692,2436,3373,3283,2809,2790,2791,2330,2348,2152,1795,2424,3148,2148,1675,1722,1896,2005,2025,1782,1523,1565,1568,1789,1664,1792,2108,2125,2142,2050,2093,1841,1773,1874,2469,3418,3775,3732,3639,3541,3719,3100,2520,2512,1980,1770,1801,2004,2631,2531,2186,2876,3126,2522,2063,1865,1678,2082,2535,2655,2735,2962,2969,2609,2137,1887,1898,1805,1557,1612,1817,1801,1785,1861,1911,2100,2460,2576,2463,2231,2160,2118,1692,2025,2198,2897,3002,2787,2711,2316,1986,2116,2193,2093,2149,2606,3310,3338,3335,3251,3093,2889,2866,3407,3482,3060,3061,3241,3055,2508,2105,2034,2546,2692,2450,2514,2227,2057,2828,2588,1587,1804,2060,1693,1626,2010,2957,3628,3156,2282,1835,2202,2224,2565,2214,1667,1973,2512,2577,2470,2354,1959,2183,2629,3126,3508,3881,3742,3039,2743,2895,3082,3687,3674,3146,2579,2599,2331,2399,3296,3523,3223,3178,3285,3321,2753,2646,2440,2003,2984,3219,2523,2947,3371,3397,2422,2450,2664,1931,1940,2155,2651,2656,3002,3163,3289,3099,2555,2413,2509,3084,3380,3496,3653,3331,3615,3883,3695,3613,3543,3311,3638,3204,3762,3317,2043,1885,1828,1896,2314,2602,1803,1775,2846,3520,3253,3047,2810,2598,2430,2673,2569,2316,3035,3367,2784,1881,1702,1741,1876,2335,2647,2510,2355,2642,2509,1678,1569,1622,1903,2636,2533,2238,2277,1964,1786,2039,2795,2806,2452,2370,1812,2125,2294,1971,1797,1981,2104,1977,1869,1713,1710,1880,1871,1769,1843,1771,1513,1555,1851,1847,1705,1881,1738,1277,1290,1481,1865,2082,1907,1771,1429,1737,2183,2565,2212,1647,1376,1594,1645,1599,1937,2282,1957,1416,1362,1446,1630,2359,2057,2302,2665,2437,2733,2971,2896,2955,3074,2754,2856,2363,1836,1693,1699,1883,2109,1954,1547,1629,1845,1609,1606,2093,2458,2946,3031,2695,1936,2989,3874,3570,3325,3274,2942,2718,2612,2434,2780,2363,1829,2718,3510,3464,2947,2374,2048,1797,1824,1957,2060,1878,1896,1901,2801,3586,2902,2135,2057,2496,2883,2910,2389,1908,1865,1764,1885,1822,1827,2059,2235,2355,1964,1902,2194,2333,1928,1575,2119,2799,2922,2757,2624,3139,3233,3297,2994,2633,2258,2165,2154,2186,2181,2452,2836,2301,3072,2321,2339,2751,3060,3473,3815,3493,2939,2639,2313,2185,2080,2189,2167,1941,1967,1971,1920,1951,2523,2910,2604,2495,2211,2508,3524,2851,2331,2622,3064,2468,2282,2140,2280,2602,3254,3625,3574,3926,3867,3720,3813,3732,2995,2501,2210,2192,2874,3282,3480,3716,3950,4252,4067,3788,3349,2469,2425,2680,2922,3165,3160,3308,3474,3630,3746,3575,3620,3511,3207,3227,3108,3138,3370,3242,3459,3757,3296,3151,3913,4253,3903,3771,3841,2985,2385,2197,2701,3259,2625,2408,2898,2475,2221,2137,2248,2535,2874,3540,3628,2791,2974,3222,3329,3471,3363,3482,3625,3155,3647,4207,4110,3928,3625,3717,3287,2934,2087,1735,1809,1730,2092,2014,2107,2402,2421,2031,2033,2578,2486,2574,2556,2512,2501,2396,2242,1810,2503,3045,2978,3262,2933,2013,2746,2943,2806,2752,2329,1552,1519,2557,2632,2750,3168,3492,3769,3743,3398,3381,3275,2959,2872,2518,2030,1838,1740,1736,1454,1537,1730,2246,2304,1963,1951,2521,3220,3470,2752,2574,2800,2420,2279,1807,2159,1793,1231,1500,1727,1842,1866,1963,2171,2121,1711,1732,1996,1970,2479,2208,1886,1744,1724,1707,1407,1999,2523,2039,1862,1817,1669,1858,1383,1350,1329,1751,1804,1970,1889,1323,1349,1851,1844,1641,1938,2164,2082,2437,2724,2950,2784,2852,2641,2338,2335,2388,2735,2798,2519,1803,1778,2007,2055,2035,1949,1903,1882,1827,1664,1637,1734,1666,1726,1763,1642,1738,1771,1854,1720,1448,1569,1857,2393,2792,2291,1779,1853,1582,1604,1702,1970,1744,1709,1908,1991,2254,3029,3100,2338,1781,1209,1234,2021,2261,2233,2030,2062,1891,2079,2019,1731,1515,1485,1452,1537,1677,1988,1718,1682,1859,2044,1748,2048,1966,2308,2614,2045,1912,2231,1959,1450,1438,1653,2005,1683,1606,1769,1637,1814,2230,2110,1677,1944,2209,1565,1376,2016,2239,1694,1609,2340,2825,2654,2307,2100,2503,3007,2835,2524,1787,1643,1470,1794,1935,1870,2086,2343,2098,1778,1748,1501,1438,1510,1683,2443,2949,3142,3353,3150,2997,2652,2459,2523,2243,2684,2542,2463,3168,3117,3307,3375,3354,3262,2911,2999,3417,3461,2988,2477,2686,2922,3040,2796,2911,2490,1849,2240,3067,2744,2003,2189,2570,2802,2765,2663,2110,2081,1853,1854,1784,2081,2362,2419,2560,2331,2010,1809,1838,2056,2017,2481,2213,2228,2418,2846,2809,2777,3286,3673,3828,3815,3270,2592,2163,1788,2009,2123,2395,2070,1736,1930,1996,1762,1505,1780,1852,1780,2143,2171,2203,2250,2613,2316,1744,2364,3108,3156,3152,3032,3309,3452,3470,3489,3329,2956,2186,2117,2811,2754,2565,2423,1935,2136,2143,2019,1974,2210,2562,3016,2800,2450,2160,2218,2856,3084,3001,3090,3352,3739,3982,3439,3370,3476,3117,2843,3164,2689,2164,2321,2684,3564,4280,4331,3659,4074,3666,3240,3501,3137,2949,2894,2604,2774,3204,2768,2540,2182,1717,1911,1968,1710,1913,2181,2527,2885,3030,2685,2394,2597,2777,2091,1674,1697,1882,1853,1690,1470,1606,2505,2778,2762,2986,2954,3029,3201,3206,3441,3790,2700,2800,2757,2314,2909,3364,3138,2896,2931,3105,3244,3284,3311,3401,3425,3385,3331,3270,3337,3414,3160,3392,3761,3119,2774,2192,2381,2479,2677,3029,3274,3217,2811,2707,3085,3458,3243,2916,2762,2114,2524,3480,3596,3519,3350,2974,2786,2707,2568,2638,2727,2590,2702,2521,2545,2649,2523,2497,2092,1586,1934,2779,3392,3869,3627,2765,3149,3849,3742,3535,3404,2414,2080,2114,3124,3517,3272,3419,3181,2277,1986,1792,1520,1572,1865,2136,2179,2052,1729,1895,1630,1527,1603,1857,2238,2163,2427,3218,3596,3807,3040,2265,1903,2739,3043,3330,3482,3617,3576,3447,3451,3999,3579,3266,2888,2587,2342],[3119,3527,3411,2939,3278,3999,4371,4360,4392,4056,3628,3298,2890,3160,3886,3985,4143,4635,4152,3470,3090,2741,2298,1759,1712,2179,2360,2474,2276,2305,2592,3031,3504,3400,3648,3892,3758,3737,4040,4144,4046,4162,3773,3253,2862,2776,3124,3684,3760,3814,3118,2989,3694,3716,3506,3472,2845,2787,2680,2022,2697,2577,2852,3540,3600,3436,3543,3339,2706,2294,2307,2509,3112,3283,2952,3083,2597,1976,2497,2819,2241,2085,2065,1731,1956,2150,2124,2427,2700,3496,3650,3566,3362,3150,3031,3317,3093,2459,2239,2083,2215,2484,2691,2278,2543,2475,2320,2401,1883,1717,1676,1915,2770,2808,3107,2979,3037,3459,3489,3273,3088,2795,3012,2817,1979,1591,1751,2108,2624,2745,2316,2300,2404,2526,2691,2595,2664,2835,2808,3043,3603,3608,3238,3414,3906,4296,4168,3730,3483,3816,3862,3332,3108,3460,3351,3263,3220,2991,2932,2422,2030,2527,2712,2900,3605,3770,2898,2385,2424,1996,2872,2944,2530,2644,2802,2884,2999,2784,3039,2734,2383,1946,1713,1778,1587,1767,2147,2446,2835,2844,2229,1845,2493,2512,2314,2232,1583,1689,2359,2326,2060,1685,1622,1736,2173,2360,2234,2523,2420,2076,1959,1981,2751,3104,3216,3205,3450,3419,2666,2508,2667,2842,2879,2975,3186,3038,2522,2475,2322,2540,3152,2597,3067,3099,2692,2614,2730,2976,3420,3306,3124,3027,3064,3032,2666,1700,1406,1175,1994,2413,2762,3240,3382,3543,3760,3618,3422,3405,3453,3097,2843,2857,2854,3337,4009,3480,2345,1918,2373,3297,3108,2836,2808,3033,3160,3197,3024,2341,2238,1957,1810,2017,2766,3078,2597,2980,3549,3348,2742,2421,2701,3046,3133,2885,2386,1865,1693,1827,2318,2688,2532,2756,3360,3688,3640,3205,3398,3884,3530,2611,2192,2422,2264,1967,2058,2344,3386,2957,3234,3553,3590,3476,2569,1891,1719,1856,2022,2317,2381,2553,2813,2868,2049,2092,2435,2441,2790,2859,2272,2208,2400,2557,2418,2337,2370,2306,2307,2363,2384,2418,2409,2339,2213,2242,2304,2277,2331,2601,2534,2328,2138,2291,2523,2467,2468,2718,2898,3263,3740,3378,2196,2143,1885,2048,2118,2375,2529,3040,2665,1935,1882,1954,1731,1532,1387,1462,1473,1425,2258,3072,2966,2022,1721,1932,2170,2252,1835,1634,2004,2612,3078,2901,3018,2268,1616,1512,1907,2450,2589,2524,2478,2210,1780,2295,2686,1793,1654,1752,2154,2525,2414,2199,1984,2024,2365,2284,1815,1632,1765,1732,1485,1539,2500,3401,3648,3654,3649,3576,3483,3401,3361,3114,3185,2987,3280,3055,3062,3433,3610,3542,3183,2962,3444,3914,3464,2895,3000,3320,3142,3405,3481,3586,3628,3654,3883,3759,3448,3331,3626,4352,4341,4435,4697,4785,4464,3419,3342,3330,3378,3913,3870,3727,3539,3165,2691,3392,3728,3740,3185,2611,2050,1877,2054,2054,2130,2601,2703,2898,2461,1784,1418,1226,1294,2366,2355,1881,2050,2775,2818,2539,3072,3706,3649,3562,2742,2959,2396,1908,1793,1967,2407,3232,3194,2428,1638,1686,1757,1963,2409,2327,1870,1713,1794,1859,2218,2998,3398,3169,2622,2183,2635,2481,1638,1750,1851,1483,1612,2163,2338,2654,2508,1688,1371,1835,2016,1995,1975,1914,1820,1783,1685,1262,1095,1622,1842,2290,3123,2785,1939,1864,2192,2176,2242,2219,1654,1819,1763,1508,1670,1824,1863,1964,2055,1716,1367,1431,2033,2370,1881,1716,1693,1743,1982,2151,1794,1259,1635,3200,3410,4209,4452,3469,3234,2988,3373,4264,3703,3171,3769,4288,4077,3617,3352,3343,2814,3031,3116,2788,2328,2207,2739,3509,3376,2654,2277,2419,2376,1833,1918,3023,3737,3796,3121,1866,985,1135,1676,2155,2509,3437,3520,3474,3221,3328,2961,2901,2408,1703,2628,2980,2354,2070,1652,2292,2196,2211,2503,2713,2382,2834,2420,1974,2729,3297,3536,3268,3270,3013,2254,2199,2400,1986,2509,2834,2059,1719,1776,1748,1618,1491,1581,1861,1798,1704,2062,1813,1725,1626,2176,2418,2328,2026,1662,1569,1535,1667,2365,3198,3297,3034,2653,2568,2283,2047,2000,1728,1742,2061,2441,3022,2753,1942,2159,2011,2084,1917,1806,1819,2168,2496,2740,2880,2607,2798,2568,2265,2060,2166,2777,3103,2474,2307,1813,1659,2057,2106,2344,2509,2489,2692,2530,2351,2213,2166,2116,2514,2819,2813,3391,3261,2214,1787,1982,2170,2458,2876,3085,3317,2984,2303,2246,2579,2784,2688,2534,2230,1947,2437,2921,2989,2344,2235,2391,3117,2994,2700,2688,2268,2106,2350,2374,1521,1932,1920,1666,1807,2326,2512,3194,3053,2241,2189,2194,2162,2497,1951,2025,2570,2888,2867,2499,2526,2168,2042,2468,2805,2791,2841,2855,3090,3355,3376,3307,3546,3888,3352,2574,2263,2135,2460,2748,2717,3183,3146,3177,3181,2786,3099,2774,2431,3094,2884,2398,2987,3550,2911,1797,2249,2718,2412,1896,2592,2720,2376,2546,2771,3210,2973,2745,2640,2644,3195,2894,3067,3362,2995,3540,3611,3392,3307,3251,3674,3719,3870,4328,2960,1827,1968,1632,1610,2072,2472,2098,2395,2950,3260,3373,3240,3030,2501,2532,3540,3780,3493,3454,3248,2236,1850,1856,1679,1726,2352,3086,3277,2885,2514,1964,1416,1508,1528,1651,2629,2492,1855,1976,1966,1908,2236,2830,2930,2042,2282,2588,2295,1726,1720,2298,2202,1914,1952,1892,2110,2258,2169,2250,1937,1531,1440,1539,1929,1662,1765,1892,1995,1759,1448,1355,1733,2313,2315,2323,2128,1506,1424,1671,1894,1756,1437,1372,1538,1706,1860,1663,1892,1732,1506,1632,1793,2036,2352,1819,2238,2648,2523,2729,2797,3062,2849,2809,2285,2629,2410,1889,1683,1623,1951,2278,1815,1462,1484,1770,2034,2232,2225,1996,2297,2363,1890,1522,2461,3538,3491,3029,2971,2755,3068,3134,3018,2678,1901,2370,3254,3100,3028,2556,1800,1848,1744,1706,1638,1590,1882,2105,1931,3271,4552,3684,2585,2155,2349,2866,2676,2207,1735,1763,1873,2309,2145,2328,2262,2720,2878,2213,2018,1890,2168,1832,1498,1765,2382,2690,2823,2986,3094,2687,2359,2282,2544,2796,2177,2013,2094,2328,2570,2430,2826,3815,2495,1990,2482,3005,3613,3860,3238,2764,2819,2520,2155,2304,2567,2282,2243,2248,2141,1968,2225,2887,3050,2984,2578,1729,2047,3046,2636,1704,2071,2696,2414,1796,1712,1920,2290,3021,3565,3526,3720,3548,3372,3232,3001,2912,2909,2612,2225,2284,3398,3991,3995,3937,4263,4484,4633,3862,3043,2546,2625,3275,3510,3460,3496,3738,4095,4351,4357,4195,3960,3667,3671,3460,3460,3632,3476,3554,3816,3586,3845,4180,4383,4023,3656,3657,3051,2705,2369,2404,2876,2426,2141,2381,2020,2206,2214,2824,2979,2646,3162,3190,2529,2866,3335,3444,3579,3777,3557,3586,3686,4124,3992,3625,3416,3593,3870,3738,3039,2086,2256,2475,1672,1659,1838,2338,2373,2039,2028,2388,2307,2198,2407,2318,2342,2235,2351,2255,1716,2283,2978,2713,2602,2209,1758,2033,2354,2967,3138,2630,2380,2654,3009,2611,2615,2875,3150,3663,3760,3514,3484,3128,2677,2756,2811,2689,2364,1686,1411,1488,1757,1916,2100,2135,1896,1926,2418,2483,2806,3050,2796,2264,1941,1944,2131,2497,2361,1958,1962,2082,1942,1931,2089,2145,1743,1632,1656,1949,1737,1791,1785,1594,1583,1641,1395,1487,1960,1918,1852,1920,1792,1880,1758,1622,1516,1361,1431,1830,1958,1539,1509,1664,1730,1780,1634,2371,2680,2474,1901,2064,2576,2496,2829,2932,2670,2832,2662,2778,2558,2104,1818,1571,2076,2232,2072,1974,1902,1858,1766,1640,1626,1712,1618,1705,1722,1694,1659,1594,1709,1688,1441,1527,1683,1758,1988,1971,2153,1846,1516,1616,1801,1598,1505,1544,1879,1710,1810,2787,3083,2752,2163,1312,1710,2364,2342,2117,2349,2214,1991,1936,1758,1686,1485,1642,1537,1606,1626,1913,1861,1624,1654,1710,1832,2196,2365,2413,2531,2063,1919,2728,1967,1624,1576,2124,2159,1575,1711,2152,2270,1830,1907,2530,2374,2266,2069,1807,1990,2609,2618,1830,1427,2306,3195,2827,2818,3052,3551,3440,2822,2400,2461,2038,1557,1613,1804,2286,3243,3791,3242,2392,2169,1932,1714,2094,2735,3450,3791,3695,3228,2954,2921,2786,2676,2633,2675,3193,2911,2454,3031,3283,3438,3606,3675,3552,3129,2964,3571,3544,3018,2757,3111,3083,2922,2884,2693,2220,2083,2460,2769,2364,2258,2355,2488,2786,2891,2536,1886,1606,1734,1861,1783,1918,1759,1593,1749,2391,1996,1952,2441,2200,1955,2204,1922,2147,2729,3009,3001,3187,3382,3374,3520,3343,2187,2031,1851,1632,1937,2071,2286,2276,2084,1974,2070,2006,1757,2217,1989,2111,2014,1900,1623,1885,2398,1926,1576,2362,3285,3006,2676,2528,3216,3846,3747,3344,3137,2874,2228,2165,2542,2491,2450,2144,2113,2936,2446,2135,2240,2555,2370,2546,2144,1980,1996,1793,2448,2879,2788,2542,2775,3252,3210,2624,2640,2693,2419,2331,2710,2346,1615,1993,2519,3887,4689,4639,3775,4055,3936,3654,3833,3583,2820,2769,2689,2556,2929,2734,2383,2348,2113,1980,2322,2695,2375,1757,1709,2210,2462,1974,1908,1983,1676,1742,2018,2046,2078,2036,2018,1828,1699,1946,2249,2684,2273,2718,3211,3154,2887,2757,2857,2770,2983,3029,3073,3326,3364,3200,3104,3362,3305,3329,3146,3361,3404,3408,3415,3292,3018,2788,2531,2452,3243,3885,3529,3200,2798,3012,3174,2723,2852,2858,2843,3132,3199,2836,2820,2890,3031,2920,2430,2646,3338,3532,3492,3198,2945,2730,2431,2379,2623,2886,2803,2608,2846,2747,2063,2316,2729,2585,2555,3044,3480,3361,3317,3503,2663,2988,3746,3736,3595,3473,2991,2725,2957,3338,3266,3088,3399,3086,2163,2046,2029,1796,1833,2166,2405,2390,1892,1622,1648,1510,1523,1484,1870,2121,2039,2610,3422,3353,3260,2774,1980,2412,3122,3121,3045,3695,3920,3504,3461,2990,3294,3244,2898,2756,2379,2115],[3216,3199,3311,3439,3808,4284,4512,4471,4271,4269,4015,3227,2780,3033,3378,3562,3604,3974,3485,2873,2645,2512,2353,2008,2009,2389,2908,3184,2474,2069,2035,2152,2951,3471,3554,3798,4024,4120,4073,4042,3692,3853,3698,3344,3156,3145,2946,3604,3818,3499,3144,2923,3407,3864,3930,3817,2943,2608,2511,2921,2995,2181,2030,2667,3332,3234,3162,3046,2676,2479,2586,2316,2489,2723,2687,2494,2259,2319,3234,3475,2466,1931,2126,2472,2194,2430,2500,2523,2699,3239,3500,3405,3205,2552,2395,2977,2821,1870,1610,1516,2066,2754,2452,2085,2137,1981,2106,2231,1791,1462,1626,2020,2776,2767,2979,2853,3001,3096,3398,3371,3122,3146,3343,3174,2818,2602,2564,2707,2631,2395,2247,2456,2498,2349,2279,2363,2729,3003,3041,3263,3639,3748,3396,3321,4008,4296,3928,3661,3750,3330,3176,3274,3443,3310,3090,2932,2770,2362,2052,2400,2312,2120,1954,2357,3064,3046,2392,2253,2215,1847,2900,2602,2967,2964,2846,2622,2600,2768,2754,2367,2253,2091,1721,1539,1259,1606,2219,2740,2481,2397,2225,1909,2629,2932,2194,1415,1166,1471,1893,1913,1834,1748,1832,1942,2302,2430,2315,2219,1778,1442,1616,2041,3177,3128,3272,3192,3097,2845,1973,2222,2894,3225,3403,3486,3542,3275,3163,2964,2281,2278,2643,2585,3162,2978,2610,2874,2733,2761,3275,3193,3154,2911,3109,2888,2884,2415,1924,1903,2358,2867,3125,3292,3586,3628,3641,3549,3072,3122,3309,2618,2443,2684,2744,3425,3904,2868,1758,1738,2798,3765,2518,1887,1902,2225,2060,2144,1945,1910,2335,2158,1704,2133,2919,2967,2754,3374,3609,3214,2986,2762,3230,3326,3174,2935,2404,1956,2292,2743,2454,2464,2128,2642,3738,3872,3704,3459,3493,3540,3436,3276,3012,2864,2458,1921,1998,2159,2929,3127,3062,3171,3444,2909,2343,2048,2076,2141,2092,2192,2293,2397,2119,2212,2091,2725,2985,2504,2624,2433,1920,2061,2104,2557,2549,2117,2054,2046,2377,2640,2662,2687,2908,2971,2699,2444,2649,2714,2861,3107,2819,2495,2469,2768,2709,2409,2946,3651,3444,3209,3024,2665,1753,2019,1724,1819,1839,1927,1934,2168,2033,1741,1708,1881,2386,1751,1716,2311,2398,2273,2432,2994,2807,1757,1570,2011,2599,2327,1834,1698,2419,3111,3487,3514,3188,2185,1624,1763,1875,2529,3128,2906,2456,1985,1817,1993,2237,1918,1861,1748,1936,2515,2577,2065,1674,2054,3000,2741,2312,1907,1589,1569,1606,1575,2373,3214,3574,3647,3174,3174,3410,3270,3089,3312,3207,3041,3251,3143,3005,3275,3620,3530,3138,2999,3754,3957,3264,3458,3554,3306,3168,3249,3250,3409,3559,3630,3505,3278,3197,3222,3703,4308,4060,4392,4769,4872,4590,3935,4071,3721,3299,3791,3651,3655,3027,3160,3355,4014,4374,3882,2932,2137,2024,2336,2385,2571,2700,2698,2651,3127,3577,3307,2409,1670,1619,2591,2796,2287,1996,2473,2996,2729,2922,3645,3662,3020,2484,2899,2740,2627,2532,2015,2072,2964,3189,2569,1764,1759,1659,2076,2776,2455,2296,2221,2250,2352,2393,2791,2878,2336,2218,2457,2669,2675,1980,1842,1828,1908,2208,1928,1568,2165,2535,1970,1581,1905,2085,2316,2271,2601,2315,1818,1632,1391,1048,1183,1795,2336,2719,2185,1826,1977,2184,1833,2036,2469,2391,2030,1608,1426,1787,2461,2122,2030,2112,1606,1200,1607,2192,2432,2262,1985,1754,1706,1911,1854,1542,1421,1354,2193,2288,3350,3996,3498,3445,3194,3185,4192,4288,3914,3556,3829,4053,3917,3548,2633,2481,3077,3288,2900,2495,2774,3316,3563,3292,3210,2579,2282,2565,2438,2859,3331,3615,3768,3499,2360,1076,1163,1667,2361,3053,3404,3044,3074,3233,3098,2985,3295,2758,1974,2857,3296,2156,1923,1415,1776,1962,2319,2697,3070,2950,3016,2533,2492,2815,2494,2728,2554,2098,2204,2005,2048,2702,2859,2799,2498,2178,2053,1709,1426,1521,1678,1822,2278,2136,1899,2161,2194,1895,2019,2485,2467,2196,1778,1731,1577,1487,1453,1720,2555,2689,2230,2255,2283,2027,1715,1663,1889,1927,1633,1687,2236,2208,1810,1715,1756,1819,1700,1871,2132,2367,2329,2534,3041,2468,2485,2206,2390,2530,2753,3063,3326,3293,3003,2485,2670,2969,2435,2734,2681,2170,2294,2705,2473,2003,2126,2231,2598,2788,3001,3433,3011,1970,1820,1792,1837,2186,3067,3390,3421,3151,2544,1980,1791,1968,2109,1919,1766,1210,2042,2695,3252,2547,2157,2791,3255,3098,3069,2720,2393,2269,2636,4400,2494,2148,1935,2042,2299,2316,1842,2025,2265,2072,2391,2508,2258,2218,2287,2446,2514,2545,2566,2257,2126,1875,1763,2180,2218,2120,2754,3386,3664,3599,3393,3196,3239,3607,3491,2862,2385,2562,3105,2766,2676,2631,2770,2903,2912,2789,3163,3182,3194,3783,3751,3374,3508,3831,2607,1693,2599,2698,2227,2173,2833,2507,2435,2733,3049,3315,3139,3086,2751,2479,2789,2498,2076,2305,2855,3172,3421,3142,2997,3088,2649,2937,3808,4252,3187,1947,2092,1810,1892,1954,2050,2231,2819,2997,3183,3550,3352,3301,2656,2746,3828,4006,3763,3595,3139,2217,1715,1756,1686,1710,2341,2777,3057,2999,2403,1863,1765,1700,1622,1448,1761,1550,1447,1732,1608,1888,2477,2511,2387,2133,1987,2438,2143,1771,1706,2129,1858,1533,1823,1933,2049,1956,1903,2264,1953,1680,1814,2206,2085,2248,2656,2391,2256,1855,1965,1766,2021,2567,2348,2084,2104,1708,1358,1411,1843,1931,1403,1472,1549,1527,1990,2009,1910,1990,1765,1893,1954,2177,1914,1691,2686,2909,2842,2414,2574,2976,2990,2712,2382,2496,2391,2033,1890,1958,2236,2346,1720,1498,1704,1876,2384,2755,2841,2081,2137,2510,2318,2103,2657,3039,2711,3041,3028,2923,3688,3768,3285,2315,2181,2766,2612,2124,1804,1558,1519,2215,2281,2113,1690,1794,1867,1855,1703,2708,3806,3507,2586,1964,2171,3055,2954,2392,1850,1807,2514,2706,2523,2888,2447,2256,2326,2374,2135,1771,1830,1753,1709,1910,2090,2357,2597,2814,2976,2853,2338,2010,2264,2832,2042,2229,2592,2572,2495,2254,3022,3484,2615,2383,2803,3075,3212,3000,3049,2933,3062,2442,2315,2067,1765,1759,1906,1824,1818,1812,2259,2710,2551,2507,2077,1875,2024,2272,2125,1735,1747,2290,2204,1645,2015,2433,2238,2325,2369,2961,3400,3276,3538,3697,3383,3033,2796,2938,2724,2144,3275,3450,3435,3639,4188,4396,4384,4276,3827,2924,2573,3078,3329,3596,3706,3838,4005,4187,4188,4195,3973,3829,3937,3850,3731,3820,3958,3913,3565,3378,4074,4107,4105,4324,4052,3790,3523,3295,2496,1525,1859,2504,2732,1953,1642,1749,2276,2989,3031,2577,2612,2387,1830,2293,2912,2924,2701,3559,3904,3455,3500,3696,3325,3230,3431,3754,3951,3438,2475,2410,2697,2541,1981,1747,1970,2215,2291,2003,2038,2216,1958,2025,2360,2328,2321,2058,2220,2224,1787,1981,2491,2395,2342,2019,1594,1626,1908,2401,2258,1875,2292,2631,2775,2643,2677,2900,3024,3338,3602,3519,3218,2676,2565,2808,2853,2333,1724,1383,1475,1764,1957,1836,1919,2181,2118,2575,2881,2237,2243,2502,2193,2035,1829,1845,2420,2663,2458,2165,1995,2048,2016,1868,1796,1863,1655,1673,1701,1820,2000,1947,1703,1813,2009,1907,1723,1564,1568,1668,1826,1803,1980,1871,1935,2326,1837,1478,1888,2209,1730,1910,2344,2220,1937,1981,1869,2425,3288,3293,2467,1994,1998,2412,2932,2701,2586,2752,2730,2597,2455,2485,2243,1759,2381,2831,2304,1963,2288,2563,1951,1821,1774,1763,1650,1641,1806,1869,1643,1557,1835,1795,1532,1547,1716,1845,1844,1783,1845,1711,1683,1817,1862,1753,1720,1832,1964,1987,1892,2330,2701,2385,1364,1342,1776,2036,1984,2005,2113,1968,2054,2008,1681,1579,1571,1555,1942,1995,1662,1758,1931,1798,1638,1686,1913,2386,2994,2335,2758,2923,2408,2525,1941,1714,1746,2142,2172,1944,1899,2531,2980,2555,1981,2014,2174,2257,1481,1755,2686,2588,1901,1628,1554,1878,2895,2886,3097,3419,3239,2864,2343,2242,2414,2105,1822,1999,2644,3598,4240,4337,4076,2857,2307,2530,2808,3151,2998,2678,3026,3441,3300,2951,3009,3130,2799,2662,3086,3298,2813,2512,3024,3370,3291,3233,3508,3661,3208,2918,3395,3461,3094,3143,2961,2972,3040,2943,2508,2007,2122,2018,1818,2030,2774,2669,2158,2526,2907,2522,1998,1558,1684,1808,1738,1918,1943,1960,1783,2259,2248,2662,2744,2237,2333,2734,2989,2834,2684,2494,2476,2676,2914,2912,2617,2105,2363,2511,1728,1543,1677,1639,1775,2169,2294,2376,2434,2258,2119,2227,1849,1963,1870,1672,1829,2300,2093,1780,1694,2777,3554,3350,3231,2993,3296,3603,3491,3230,3011,2578,2259,2449,2853,2674,2142,1690,1757,2093,2160,2043,2121,2037,1792,1892,1621,1780,2041,2126,2068,2557,2344,1883,2057,2329,2078,1821,1703,1622,1843,2310,2884,2436,1937,2220,2078,3295,4144,4151,3723,3398,3364,3247,3382,2735,2435,3184,2733,2585,2800,2220,2063,2658,2646,2236,2816,3222,2626,2239,1891,1622,1525,1483,1796,2505,2480,2293,2411,2557,2391,2246,1929,1834,2020,1970,2229,2973,2298,2993,3564,3231,3002,2918,2610,2846,3242,3242,3166,3320,3242,3187,3166,3327,3193,3189,3240,3252,3240,3292,3326,3204,3142,2868,1997,2095,2847,3153,3005,2835,3299,3506,3166,2797,2662,2556,2706,3241,3710,3099,2873,3006,3266,3155,2821,2498,2937,3418,3387,3010,2829,2745,2697,2733,2961,3075,2858,2612,2896,1544,598,1671,2611,2103,1919,2499,3580,3552,3496,3565,2635,2920,3553,3682,3596,3556,3356,3344,3494,3374,2955,2686,3342,3028,2186,2035,2136,1886,1991,2340,2387,2468,2206,1660,1605,1569,1707,1792,2254,2495,2962,3153,3437,3104,2829,2149,1979,2482,2831,3141,2808,2685,2871,3630,4160,3531,3563,3492,2763,2315,2054,2398],[3602,3283,3571,3852,3982,4252,4500,4351,4371,4463,4299,3535,2597,2243,2590,3072,2993,3082,3399,3017,2554,2528,2426,2455,2502,2221,2648,2962,2293,1643,1790,2142,2780,3420,3586,3943,4300,4341,4020,3399,3182,3464,3486,3265,3196,3200,3078,3498,3501,2811,2602,2592,2879,3298,3296,3293,2780,2640,2380,2792,2460,1879,1742,2138,3124,3071,2813,3187,2837,2530,2764,2311,2056,2269,2023,1661,1862,2166,2840,3467,2545,2011,2342,2823,2630,2940,3188,2534,2177,2815,3155,2956,2755,2161,2423,2432,2168,2232,1873,1561,2092,2668,2321,1873,1785,1794,1798,2008,1978,1914,1856,2092,2577,2919,2988,3096,2888,3017,3640,3682,3487,3299,3357,3290,2928,2987,3371,3450,3695,3516,3115,2898,2518,2314,2222,2421,2777,3039,2934,2995,3252,3663,3593,3516,3852,3846,3386,3376,2956,2614,3046,3395,3349,3217,3072,2834,2741,2714,2446,2700,2584,2161,1737,2003,2845,2366,1825,1964,1811,1550,2206,2303,2589,2846,2827,2675,2739,2845,2712,2933,2699,1944,1820,1551,1617,1966,2306,2765,2499,2451,2224,1837,2375,2900,2236,1506,1247,1761,2620,2802,2428,2555,2642,2653,2468,2287,2241,1980,1664,1273,1464,2400,3066,2996,3100,2858,2858,2679,1980,1925,2667,3260,3175,3410,3255,2491,2741,3007,2358,1846,2040,2730,3037,2547,2635,3037,2958,2950,3086,3244,3044,3079,3064,2954,3022,2955,2872,2672,2578,2976,3016,3440,3145,3492,3760,3676,2902,2689,3153,2429,1855,2256,2500,2897,3480,2640,2062,2149,3117,3870,2784,2291,2248,2084,1942,2133,2179,2099,2265,2190,1638,2021,2931,2822,3146,3474,3262,3145,3178,3009,3099,3235,3047,2441,2307,2115,1874,2098,2426,2808,2620,2841,2968,3139,3815,4039,3570,3377,3388,3391,3281,3466,3181,2669,2912,2955,2910,3251,3184,2940,2694,2335,2662,2429,2233,2162,2173,2017,2122,2284,2318,2643,2610,2431,2664,2466,2331,1946,2080,1989,2105,2341,2274,2088,2041,2159,2446,2663,2666,2975,3251,3139,2888,2556,2626,2509,2569,2888,2946,2862,2912,2909,2371,2010,2517,3262,3361,2852,1927,1767,1996,2083,1783,1857,1964,1830,1686,1817,1816,1971,1922,1913,2260,1728,1723,2555,2536,2310,2680,3029,2314,1764,1757,1973,2811,2764,2192,1964,2986,3371,3709,3514,3010,2273,2320,2745,2540,2610,2704,2975,2983,2375,2088,1687,1639,1649,1719,1694,2024,2780,2707,2255,1935,2348,3427,3339,3062,2369,2321,2521,2180,2211,2829,3155,3312,3315,2552,2355,1964,1826,2053,2343,2344,2700,2953,3079,3147,3220,3750,3682,3360,3199,3696,3776,3458,3629,3356,3123,2963,2244,2348,3289,3510,3593,3082,3287,3046,2941,3573,4028,3748,4230,4901,4968,4884,4776,4652,4231,3746,3934,3545,2812,3144,3475,3664,4013,4253,3710,2941,2253,2474,3044,2522,2555,3096,3090,2855,3105,3234,3344,3090,2202,2210,2935,2906,2393,2341,2634,2938,2766,3571,4081,3617,2507,2850,3009,2170,2441,3149,2718,2326,2552,2374,2029,1613,1579,1829,2060,2260,2213,2436,2583,2734,2953,2796,2478,2657,2401,2346,2423,2365,2315,2659,2670,2730,3043,2678,1535,1309,2551,3097,2265,1983,1908,2072,2577,2695,2965,2841,2140,1867,1913,1736,1644,1598,1549,2083,1854,1916,2085,1808,1561,1710,2072,2276,1735,1425,1557,2304,3201,2614,2112,1821,1585,1811,2184,2570,2831,2525,2154,1824,1586,2197,2307,1786,1650,1507,1849,1774,2821,3802,3702,4040,3886,3460,3871,3747,3890,3354,3395,3821,4053,3484,2625,2884,3374,3363,3304,3130,3112,2920,3405,3145,3197,3167,2772,2589,2735,3250,3574,3702,3593,3321,2357,1788,1827,2081,2624,3118,2952,2700,3068,3041,2883,3218,3400,2950,2348,2689,2620,1722,1885,1606,1213,1499,2216,2530,2251,2284,2464,1969,2115,2371,2198,2111,2264,2600,2803,2344,2648,3204,3225,2923,2530,1828,1608,1711,1764,1772,2143,2004,2116,2263,2177,2244,2233,1870,2063,2411,2298,1888,1871,1945,1915,1593,1536,1647,1991,1802,1794,2254,2258,1998,1675,1682,1846,1852,1904,2168,2182,1802,1598,1569,1642,1660,1644,1616,1919,2131,2130,2241,2438,2130,2125,1765,1779,2639,2975,2652,2578,2699,2584,2699,2679,2711,2474,2407,2427,2141,2396,2670,2190,2048,2486,2821,2768,2464,2552,2900,2349,1772,1692,1801,2064,2106,3084,3642,3623,3718,3384,2231,1955,2164,2182,2002,1724,1107,1825,2244,2593,2116,1938,2462,2697,2657,2703,2729,2715,2279,2100,2845,2094,1798,2103,2483,2195,1872,1794,1836,2077,2001,2376,2186,2436,2282,2009,2198,2522,3117,2929,2214,1996,1900,1803,1816,1726,1802,1872,2110,2415,2601,2720,2856,2965,3387,3481,2718,2220,2712,3101,2122,2498,2232,2876,3031,2977,2842,3292,3531,3208,3247,3532,3841,3061,2562,1621,1318,2216,2707,2608,2854,3196,2655,2642,2736,2462,2907,3295,3208,2668,2568,2388,2120,1965,2501,2531,2614,3060,2875,3472,3769,2986,3384,3706,4200,3937,3014,2646,2229,2073,2202,2142,2504,3029,2980,3196,3576,3200,3296,2586,3049,3740,3829,3773,3321,2849,2627,2156,1825,1803,2055,2611,2737,2473,2619,2059,1960,2077,1675,1744,2017,1649,1378,1612,1701,1655,2163,2568,2637,2408,2166,2026,2654,3052,2708,1769,1515,1483,1499,1644,1795,1698,1680,1761,1942,1920,1958,2203,2290,1815,1770,2048,1957,1722,1604,2079,1680,2424,2940,2306,1978,1961,1702,1496,1546,1961,1983,1412,1253,1457,2136,2478,2327,1937,2073,1794,1621,1726,2166,2195,2148,2979,2464,2641,2088,2246,2833,2976,2678,2553,2498,2462,2279,2293,2256,2298,2170,1764,1805,2110,2359,2219,2154,2094,1736,1971,2956,3646,3692,3344,2502,2141,2308,2764,3262,3611,3255,2453,2029,2337,2855,2258,1610,1382,1577,2666,3640,2803,2069,1817,1650,1483,1728,1718,1870,2369,2824,2326,2257,2035,2552,3060,2463,1795,1892,2508,2424,2304,2136,1793,1732,2168,2476,1735,1633,1635,1717,1892,1864,2218,2370,2420,2507,2620,2449,2195,2505,2991,2909,2077,2523,3157,2793,2338,2451,2868,2836,2766,2877,2644,2423,1985,1806,2920,2855,2784,2756,2486,2132,1838,1726,1669,1616,1942,2219,2218,2264,2209,2184,2141,1827,1884,1998,1990,2381,2449,2644,2603,2602,2852,2845,2234,2286,2521,2951,3032,3107,3603,3604,3285,2779,2817,2971,2772,2102,3030,3474,3660,3595,3869,4050,4024,4296,4019,3253,2749,2944,3029,3444,3861,3936,4045,4103,4049,3956,3845,3886,3836,3804,4095,4160,4161,3908,3422,3705,4760,4528,3925,4096,4052,3928,4025,3895,2924,1570,1527,2222,2938,2231,1768,1711,2303,2868,2942,2780,2525,2267,2129,2299,2645,2227,2300,3002,3620,3453,3504,3927,3949,3905,3786,3609,3762,3006,2126,3010,3263,3048,2382,2143,2105,1971,1846,1694,1730,1858,1893,2032,2417,2622,2072,1793,1715,2554,2354,1951,2121,2260,2496,1679,1343,1918,1800,1886,1802,2033,2360,2489,2209,2248,2653,2958,3118,3400,3868,3877,3327,2775,2702,2945,2622,1957,1642,1454,1618,1882,1784,1610,1590,1887,2247,2238,2110,2258,1845,1692,1966,2044,1793,2032,2380,2243,2180,2030,1930,1987,1912,1736,1911,2114,1811,1592,1840,2037,1930,1822,2118,2552,2541,2324,2084,1742,1614,1999,2249,2093,2344,2348,2186,1983,1751,1752,1946,2045,2460,2790,2729,2787,2673,2526,2454,2945,3501,3507,2950,2173,2293,2844,2641,2632,2700,2522,2758,2761,2589,2197,1919,2372,3168,3598,2707,2235,3046,3493,2458,1855,1805,1898,1729,1782,1985,1979,1801,1737,1748,1806,1808,1862,1889,1808,1725,1686,1707,1684,1744,1645,1540,1584,1739,1870,1892,2083,1931,1842,1865,1977,1847,1419,1462,1641,1584,1630,1580,1939,2303,2327,2040,1803,1669,1710,1998,2105,1939,1734,1859,1713,1561,1730,1761,2108,2827,2673,2482,2718,2511,2362,2046,1899,1887,1844,2348,2270,1984,2335,2871,2710,2538,2349,2548,2505,1952,2263,2593,1999,1670,2018,2035,1859,2445,3071,2975,3107,2957,2667,2314,2040,1885,1925,2046,2508,3684,4188,4252,4246,4212,2919,2623,2954,3227,3472,3168,2832,2884,3197,3264,3103,3075,3189,3082,3077,2804,2684,2534,2468,2808,3019,3050,2945,3347,3595,3255,3105,3211,3316,3398,3530,3425,3250,3152,3204,2774,2016,2061,1810,1479,2242,2746,2689,2351,2409,2449,2523,2282,1515,1581,1730,1664,1968,2617,2285,1887,2205,2624,2809,2667,2375,2275,2934,3008,2206,2505,2260,2137,2085,2171,2482,2421,2248,2700,2431,1573,1562,1580,1566,1682,2159,2342,2448,2387,2116,2231,2189,1828,1697,1815,1725,1566,1852,1602,1786,1986,3039,3608,3539,3571,3584,3540,3471,3239,2912,2478,2188,2179,2024,2314,1892,1729,1682,1649,2204,2493,1953,1775,1794,1826,1599,1503,1528,1920,2663,2264,2353,2458,2224,1817,1910,2286,2630,2647,2230,2060,2087,2117,1858,1884,2050,2072,2780,3266,3476,3256,3068,2965,3015,3447,3174,3184,3094,2856,2880,2446,1672,1937,2353,2053,2362,3579,3253,2635,2655,2323,2098,1539,1662,1803,2334,3047,3045,2769,2426,2333,2463,2104,1740,1998,1692,2431,3090,2850,3218,3317,3075,3000,2871,3037,3234,3322,3374,3137,3308,3254,3338,3410,3353,3167,3094,2952,2825,2953,3067,2929,2916,3515,2979,2123,2502,2863,2895,2787,3508,4120,3915,3141,2422,2359,2217,2514,2734,2854,2512,2547,3040,2955,2957,2792,2617,2805,3185,3459,3196,2901,2837,2692,2470,2912,3080,2584,2887,2412,989,1121,2422,3173,3278,2920,2310,3161,3377,3361,3400,2607,2491,3296,3762,3752,3596,3413,3334,3272,3142,2711,2842,3614,2939,2225,2519,2718,2249,2240,2522,2566,2721,2920,2247,1886,1799,2071,2564,3141,3206,3388,3913,3765,3049,2765,2666,2247,2143,2763,3218,2866,2250,2831,3472,3189,2553,3171,3548,2692,2315,2396,2768],[3648,3666,3963,3840,4052,4292,4288,4006,4387,4208,4201,3511,2207,1892,2345,2598,2439,2398,2831,2723,2523,2407,2388,2512,2142,1899,2237,2723,2588,1874,1690,2008,2358,3131,3624,4084,3807,3515,3589,3332,3013,3175,3104,2813,3088,2928,2565,3144,3229,3034,2987,3167,3438,3414,3094,3146,2768,2420,2331,2445,2248,1392,1573,1809,2996,3560,3619,3681,3024,2739,2544,2054,2083,2234,1822,1777,2213,2115,2445,2498,2410,2187,2357,2865,2790,3060,3190,2544,2147,2711,3004,2654,2435,2138,2611,2505,2395,2320,2342,2194,2451,3178,3282,2598,2060,2082,1842,1896,1996,2193,2231,2127,2181,2462,2861,2981,2674,3175,3982,3780,3129,2995,3220,3449,3256,3080,2915,3006,3408,3285,3213,3211,2968,3091,2836,2743,2907,3077,3252,3015,3088,3483,3682,3899,3846,3058,2731,3065,3373,3356,3416,3596,3457,3389,3393,3110,3078,2884,2674,2632,2293,2338,1882,2025,2911,2457,2215,2399,2555,2301,2255,2089,2288,2673,2711,2497,2813,3272,3019,3428,2980,2293,2196,1929,2874,3573,2944,2336,2153,1982,2055,2399,2917,3076,2233,1583,1505,2329,3218,3032,2484,2466,2710,2663,2445,2101,1622,1871,1548,1314,1809,3203,3216,2871,3099,3124,2859,2563,2417,2333,2847,3292,3232,3737,2973,1996,2138,2618,2788,2521,2623,3198,3089,2860,3194,3227,2738,3206,3216,3204,2912,3120,3134,3105,3115,3084,2974,2588,2247,2912,3373,3332,3095,3664,3339,3319,2692,2376,2848,2325,1812,2027,2088,2254,2497,2319,2331,2426,2745,3360,3624,3361,2959,2740,2360,2534,2336,2376,2410,2153,1926,1894,2404,3120,3654,3300,2687,2930,2874,2853,2996,2524,2096,2196,2376,2490,2194,2294,2446,2633,2699,2885,2954,2707,3284,3664,3340,3228,3340,3081,3309,3813,3362,2932,3039,2984,2792,2897,2863,2092,2045,2301,2939,2802,2335,2116,1972,1887,1760,1997,2500,2780,2877,2821,2946,2642,2429,2028,2895,2449,2433,2354,2107,2228,2386,2536,2285,1955,2125,3429,3399,3348,3251,2601,2427,2481,2603,2910,2953,2756,3186,3200,2831,2745,2841,3008,3072,2415,1722,1930,2194,1925,1802,1839,1762,2037,1881,1788,1801,2114,2164,2041,1794,1806,1907,2022,2260,2392,2680,3104,2041,1776,1587,1803,1814,2138,2150,2251,2405,2881,3239,2956,2058,1591,2303,2632,3227,2989,2679,2894,2916,2134,1730,1750,1854,1787,1723,1941,2470,2921,2961,2541,2025,2380,3222,3276,2891,2647,2844,2976,2930,2824,2940,2858,2889,3144,2757,2545,2014,1516,1350,1361,1473,1460,1801,3045,3947,3948,3521,3428,3453,3326,3270,3398,2996,3009,2855,2470,2061,1222,2134,2907,2613,3151,3195,3508,2956,2710,3352,3805,3670,4083,4585,4653,4637,4672,4671,4472,3925,4204,3783,3372,3959,3948,3777,3807,3452,2933,2664,2510,2962,3522,3082,2900,3193,3419,3591,3392,2586,2600,3284,2986,2766,3242,3275,3075,3334,2781,2319,2620,3511,3650,2844,2271,2534,2339,1612,1834,2730,2799,3446,3314,2756,2316,2044,1669,1596,1824,2081,2392,2730,2921,2677,2833,2895,2641,3054,2643,2167,2152,2364,2513,2505,2812,3439,3386,2338,1964,2693,3431,2707,1995,1903,1949,2010,2610,3016,2900,2522,1967,1992,2272,2031,1975,1645,1976,2265,2002,2106,2010,1735,1882,1704,1748,1872,1592,1566,1476,2251,3061,2485,2078,2245,2005,2003,2639,3022,2724,2044,1765,1548,1385,2020,2176,1620,1605,1540,1746,2128,3030,3909,3946,3934,3858,3384,2362,2057,2829,2637,2646,3275,3952,3759,3282,3187,3316,3186,3397,3385,3277,2750,2774,3204,3185,3138,3295,3075,2717,2754,3222,3639,3451,2734,2435,2664,2658,1842,2026,3083,2996,2431,2711,2872,3204,3438,3751,3062,2446,2522,2118,1669,1751,1920,1390,1044,1648,2120,1954,1986,2173,2471,3143,3053,2436,2125,2635,3184,2708,2100,2093,2584,2754,2569,2555,1615,1363,1998,2382,2102,1903,1824,1726,1771,1812,2032,2152,2459,2889,2833,2808,1953,2088,2343,2310,1732,1520,1857,1913,1565,1817,2075,1865,1648,1554,1714,1710,1879,2056,2586,2803,2530,2058,2004,1670,1478,1693,1963,2331,2021,2096,2194,2178,2202,2195,2115,2237,2680,3107,2931,2813,3052,2709,2585,2609,2523,2507,2186,1996,1807,2167,2522,2654,2345,2375,3388,3420,2099,2056,2363,2312,2054,1806,2049,2156,2594,3428,3394,2714,3042,2940,1552,1728,1986,1985,1916,1875,1630,1520,1710,1826,1609,1894,2313,2708,2440,2709,2271,1836,1807,1742,2215,2238,1883,1945,2170,2138,2286,2542,2759,2387,2001,1980,2013,2315,2260,2061,2108,2818,3175,2662,2381,2270,1958,1918,1808,1860,1776,1576,1510,1618,1828,2174,2427,2302,2778,3318,2919,2634,2612,2302,1742,2322,2996,3597,3420,2901,2600,3019,3150,3032,3359,3342,3729,3186,2358,1896,1682,2434,3111,2767,2856,3057,2440,2773,2864,2440,2527,2784,2644,2184,2104,2214,2077,2186,2700,2416,2229,2808,3106,3571,4142,4240,4220,3970,3849,3550,3384,3782,3288,2496,2490,2394,2895,3332,3136,2826,2885,3139,3420,2715,3020,3552,3580,3666,3196,2752,2673,2136,1742,2007,2167,2499,2647,2526,2571,1971,2027,2062,1666,2282,2654,1934,1639,1780,2031,1952,1853,2030,1975,1861,1859,2702,3840,4161,3647,2121,1741,1877,1558,1596,1283,1251,1433,1448,1620,1841,1862,1868,1981,1741,1415,1263,1113,1258,1473,1678,1430,2374,2465,1846,1686,1556,1498,1598,1783,2051,1983,1703,1190,1145,1946,2260,2026,1779,1954,2357,2486,2420,2790,2418,2335,2675,2250,2568,2226,2212,2753,2827,2821,2830,2816,2650,2286,2237,1851,1991,1786,1587,2338,3157,3178,2437,1910,2006,1890,2454,3029,3450,3846,3140,2341,2331,2621,3130,2524,2182,2162,2252,2374,2060,2231,1731,1379,1980,3009,3693,3797,2989,2209,2051,1771,1586,1657,1681,2066,2243,2428,2403,2923,2677,2862,2817,2210,1734,1746,1995,2112,2233,1719,1558,1714,2348,2554,2018,1535,1615,1659,1512,1652,1954,2144,2342,2367,2273,2067,1935,2133,2523,2393,2403,3014,2670,1694,1876,2275,2446,2594,2624,2406,2818,2401,1822,1923,2950,2924,2765,2879,2688,2806,2664,1908,1572,1782,2155,2366,2389,2530,2412,2321,2150,1753,1926,2137,2195,1727,1827,2432,2918,3199,3100,2562,2115,2333,2634,2893,2995,3159,3510,3482,3362,3045,3031,2972,2985,2249,2828,3440,3053,2945,3376,3739,3762,3691,3015,2702,2758,2854,3126,3658,3936,3990,4047,4104,4042,3914,3895,3698,3698,3660,3847,3984,4227,4155,3707,3409,3861,4140,3769,3797,4408,4320,3741,3761,2630,2190,1913,2601,3084,2712,2096,1728,2135,2770,3533,3308,2749,2328,2427,2235,2498,2211,2231,2662,3308,3563,3514,3587,3407,3307,3492,3669,3544,2668,1642,2414,2791,2662,2586,2555,2204,1825,1794,1538,1605,1714,1688,1842,2097,2833,2712,2280,2138,2921,3161,2646,2048,2371,3120,2183,1773,2855,2477,1893,1809,1945,2615,2559,1893,2007,2236,2309,2952,3284,3415,3750,2898,2432,2822,2911,2229,1870,1908,1627,1598,1686,1660,1705,1550,1765,2422,2512,2241,1942,1698,1700,1857,1803,1722,2025,2114,2115,2149,2162,1902,1727,1874,1882,2134,2042,1767,1727,1887,1748,1721,2043,2405,2591,2865,2375,1980,1713,1543,1848,2194,2431,2294,2418,1999,1573,1415,1609,1593,1951,2996,3409,3469,3605,3537,2830,1996,2063,2519,2741,2424,2171,2226,2339,2471,2496,2123,2432,3091,2912,2187,1150,1288,2254,3052,3239,2902,2725,3462,3160,2513,1991,1606,1548,1655,1865,1962,1901,1789,1842,1791,1809,1725,1659,1554,1556,1605,1554,1492,1537,1593,1378,1319,1462,1497,1527,1569,1691,1785,1943,1844,1996,2262,2271,2141,1882,1759,1574,1520,2310,2236,1732,1664,1874,1798,1872,1931,2075,1953,1671,1626,1753,1835,1718,1448,1842,2568,3238,2481,1929,2394,2555,2270,2295,2654,2070,2535,2033,1896,2504,2732,2442,2687,3133,3287,2850,2563,2719,2645,2055,2171,2271,2364,2551,2518,2496,3017,3316,2961,2713,2425,2171,1988,2260,2330,2414,3538,4116,4325,3918,2956,2668,3152,3230,3303,3349,3231,3067,2723,2613,2753,3300,2855,2777,3117,2925,2663,2699,2931,2979,2797,2735,2713,2751,3088,3370,3265,3074,3056,3219,3635,3676,3210,2960,3053,3327,2998,2386,2228,2055,1877,2538,2605,2476,2584,2502,2546,2492,2376,2054,1874,1899,1770,2328,2359,1902,1988,2417,3033,3008,2520,2339,2247,2703,2262,1605,1779,1952,2446,2540,2149,2143,2522,2715,2790,2585,1891,2063,2625,2576,2094,2302,2359,2115,2079,2182,2302,2220,1967,1702,1794,2001,1928,1847,1993,2214,2338,2941,3351,3124,3097,3395,3624,3511,3121,3183,2977,2596,2040,1352,1945,2303,2036,2041,2519,3120,3306,2486,2166,2302,2170,1806,1487,1318,1627,2618,2908,2688,2852,2762,2180,1983,2392,2897,2965,2412,2134,1911,1705,1772,1865,2096,2601,2798,2861,3245,2966,2909,3774,4063,3471,3757,3773,3444,3497,3426,2821,2441,2481,2365,1953,1897,2957,3078,2404,1928,2249,2590,2383,2479,1975,1754,2454,2846,2413,2490,2514,2128,2116,1780,2048,1714,2207,2881,2406,2408,2984,3084,3131,3090,3122,3209,3138,3031,2764,3023,3021,2980,2932,2951,3027,2889,2532,2378,2754,3075,2794,2817,2791,2488,2343,2696,2799,2535,3329,4669,4760,4154,3086,2268,2352,2206,2600,2452,2230,2400,2900,2997,2753,2692,2486,2660,2660,2701,2941,3022,2983,2805,2639,2658,3039,2989,2911,3248,2093,1038,2026,2701,2864,3331,3447,2667,2335,2651,2976,3616,3182,2622,2971,3559,3628,3420,3236,3099,2901,2852,2887,3372,3763,2942,2187,2548,2976,3060,2877,2625,2391,2613,2763,2759,2460,1934,2488,3253,3260,3331,3351,3401,3499,2720,2366,2713,2338,2047,2393,2589,2580,2563,2755,2537,2142,1836,2644,3440,2779,2837,2424,2543],[3591,3898,3974,3895,4271,4091,4281,4167,4333,4071,4003,3650,2600,2360,2670,2442,2330,2395,2320,2641,2567,2200,1976,2154,2210,2325,2784,3263,3492,2845,2409,2684,2564,3066,3551,4175,3957,3645,3494,3641,3510,3307,2810,2657,3095,3008,2779,3252,2840,2417,2460,2998,3038,3140,3253,3132,2975,3074,2670,2513,2792,1500,1494,1793,3359,3504,3271,3469,3226,3718,3543,2425,2550,2465,1954,2098,2250,2588,3312,2544,2052,1884,2392,2896,2796,2624,2268,1876,2017,2478,2656,2656,2802,2579,2324,2305,2620,2614,2701,2813,2631,2907,3064,3482,2524,1968,2242,2427,2157,2240,2306,2098,1897,2173,2858,2877,2598,3426,3816,3528,3076,2929,3253,3480,3476,3176,2742,2634,2657,2451,2321,2951,2920,2675,2980,3204,3333,3395,3334,3119,3132,3342,3628,3572,3144,2686,3165,3442,3378,3293,3748,3830,3486,3208,3410,3330,3195,2764,2225,2185,2002,2984,2199,1894,2027,2121,2208,2940,3312,2972,2191,1610,1925,2555,2847,2585,2883,3629,3444,3672,3187,2333,2079,2107,2254,1919,1582,1845,2014,1669,1993,2222,2294,2692,2305,2082,2311,2570,2392,2337,2652,2592,2786,2780,2534,1881,922,1407,1953,2143,2553,3391,3218,3044,3394,3282,2768,2526,2474,2603,2614,2924,3118,3417,2522,1795,1726,2401,3110,2964,2858,3441,3098,2998,3086,2968,2788,2604,2482,2740,2654,2695,3091,2952,3105,3296,3099,2880,2438,2640,2906,2684,3147,3659,2922,2181,1748,1577,1789,1714,1800,1785,2064,2364,2523,2640,2623,2499,2644,3054,3194,2822,2698,2785,2355,2556,2259,2573,2146,2037,1894,1700,1836,2353,2814,2658,2852,3168,2129,2709,2404,1896,1828,2288,2542,2599,2610,2564,2346,2564,3065,3250,3466,2621,2613,3218,3495,3237,3049,2983,3206,2865,2222,2195,2344,2753,2610,2467,2567,1753,2127,2276,3187,3052,2042,1831,2048,2307,1976,2242,2547,2075,1852,2297,2396,2728,2951,2809,3114,2632,2302,2247,2427,2995,3077,3151,2832,2011,2256,3461,3549,3570,3329,3102,3270,3129,3032,3482,3199,2865,3131,3063,3248,3234,2840,2909,2946,2414,2191,2209,1922,1887,1791,1786,1627,2286,2447,2446,2281,2466,2449,2297,2000,1933,1807,2027,2396,1979,1792,2375,1920,1669,1697,1647,2032,1951,1936,2021,1932,2142,2495,2764,2060,1558,1656,2381,3286,3212,2646,2476,2499,2155,1865,1769,1926,1558,1842,2402,2583,3023,3160,2419,1668,2148,3056,3022,2662,2753,2939,2834,3047,2923,2814,2917,3370,3383,3129,2828,2059,1616,1566,1537,1472,1416,1808,3486,4165,4196,3448,3995,4101,3980,4079,3733,3168,2994,2805,2363,1910,1831,3016,3132,2707,2934,2857,2918,2930,3051,3351,3430,3551,3666,3958,3950,4144,4544,4796,4368,3465,3706,3818,3960,4420,4222,3410,3103,3226,3166,2677,3090,3082,3308,3462,3841,3934,3755,3911,3977,3353,2851,3559,3241,3242,3277,3084,3256,3670,3129,2489,2561,2776,2409,2294,2377,2147,1854,1730,1829,2148,2034,2497,3141,3155,2542,1974,1805,1689,1631,1930,2566,2867,3151,2785,2921,2831,2591,2624,2076,1720,1954,2226,1987,1842,2575,3095,2851,2553,2422,3016,2850,2154,1527,1392,1996,2456,2867,3442,3542,2988,1972,1725,1946,1893,1904,1757,2276,2412,2079,2336,2315,2024,1605,1484,2302,2240,1996,2029,1636,1570,1665,1691,2003,2055,1886,2149,2566,2434,1794,1891,1728,1436,1722,1881,1908,1730,1695,1738,1799,2488,3726,4000,3106,3069,2921,1964,1051,1005,1317,1927,2504,3355,4081,4200,3960,3642,3563,3356,3261,3062,2950,2920,2536,2688,3176,3255,3106,3320,3175,2895,2897,3283,3135,2831,2961,3164,3399,2731,2629,3118,2231,1541,2231,2907,3340,3476,3518,2595,2172,1990,1715,1657,2040,2677,2345,1533,1897,2266,2409,2114,2471,3251,3338,2965,2677,2314,2821,3452,2963,1886,1926,2828,2761,2779,2764,2158,1688,2210,2574,1919,1649,1912,1815,1688,1815,2009,2242,2808,3488,3242,2796,1909,2070,2643,2720,2086,1698,2182,2296,1745,1918,1977,1700,1584,1698,1788,2316,3002,3019,2432,2420,2676,2018,1709,1528,1710,2346,2662,2626,2164,2178,2276,2263,2266,2310,2059,1919,2558,3231,3221,3212,3122,2873,2662,2545,2194,2158,2004,1411,1562,2133,2600,3188,2337,1838,2406,2458,1694,2303,2958,2474,2296,2339,2207,2517,2996,3188,2775,1603,1574,1674,1597,2429,2436,2131,2183,2097,2078,1945,1838,1797,1924,2376,2640,2792,2138,2279,1896,1821,1788,1599,1968,2349,2150,1770,1904,2051,2138,2598,3248,2691,2030,1753,2735,2989,2570,2679,2776,2823,2573,2452,2658,2471,2006,1829,1697,1648,1649,1734,1606,1611,1805,1694,1708,1865,2165,2842,2856,2924,3110,2320,2724,3570,3847,4095,3557,2525,2578,3388,3088,3186,3530,3190,2699,3110,2931,2474,2299,2642,2928,2485,2121,2473,2304,2764,2368,2087,1810,1924,2414,2426,2093,2348,2555,2688,3139,2708,2152,1912,2163,3222,4145,4615,4620,3802,3187,3075,3494,3884,3397,2794,2462,2239,2923,3363,3150,3107,3244,3316,3776,3476,3454,3596,3332,3274,2906,2784,2698,2492,2358,2654,2728,2985,3006,2639,2207,1958,1959,1718,1734,1812,1731,1684,1768,1986,2279,1972,1938,1855,1574,1635,1866,2733,3528,3219,3023,2700,2302,2082,2072,2137,1608,1433,1589,1527,1864,2322,2116,2195,2039,1887,1832,1810,1663,1371,1570,1518,1469,1880,1840,1487,1404,1516,1554,1565,1754,1987,1304,1703,1857,1295,1203,1917,2135,1780,2114,2603,2584,3154,3040,1899,2079,2172,2204,2354,2486,2858,3016,2883,2899,2900,2763,2583,2231,1870,1930,2157,2201,2177,2698,3418,3384,2563,1933,2198,2380,3118,3432,3610,4014,3406,3146,3120,3033,2466,1437,1469,1880,2670,3518,2941,2044,1672,2237,3191,3797,3498,3398,3332,2766,2653,2337,1736,1749,1754,2217,2189,2103,2540,2858,2447,2353,2343,2064,1931,2239,2065,1874,2055,1854,1834,1857,2012,2545,2348,1741,1632,1552,1410,1608,1784,2071,2047,2138,1985,2552,2454,2593,2678,2317,2503,3047,2835,1919,1951,2202,2199,1833,2241,2352,3223,3154,2579,2884,3611,3348,2948,2855,2920,3154,2928,2025,1890,1990,1917,2134,2540,2531,2377,2383,2115,1925,2057,2445,2376,2116,2138,2718,3085,3291,2709,2078,2278,2420,2553,2901,2974,3284,3583,3340,3051,2852,2972,2894,2808,2280,2592,3481,3342,3423,3565,3844,4085,3429,1999,1899,2475,2844,3494,3962,4071,4084,4016,4164,4141,3974,3906,3972,3952,4120,4232,4264,4753,4796,4200,3322,2975,3429,3630,3880,4121,3292,2805,3448,3256,2623,2445,2940,3135,3062,2354,2189,2603,2697,3099,2876,2723,2519,2530,2172,2423,2580,2321,2353,2980,3476,3506,3770,3536,3354,3377,3260,3078,1816,1015,1888,2310,2142,2250,2440,2368,2547,2475,2072,2747,2416,2430,2544,1924,2288,2931,2853,2678,2806,2823,2448,2036,2708,3604,3032,2757,3470,2885,1976,1493,1722,2588,2346,1946,2030,1644,1312,2233,2556,3111,3209,2408,2201,2431,2448,2019,1643,1654,1432,1398,1484,1469,1520,1745,2085,2855,3158,2845,2261,1835,1718,1626,1677,1902,1896,1889,1963,1975,2068,1601,1527,1948,2083,1918,1721,1591,1736,2055,1647,1877,2136,2015,2343,2457,1966,1934,1720,1854,2053,2435,2424,1750,2086,2178,1626,1338,1710,1626,2532,3120,3479,3962,3850,3134,2118,1505,1636,2330,2388,2059,2114,2281,2216,2458,2364,2084,2888,3362,2974,2404,1114,1066,2066,2546,3266,3475,2862,2836,1944,1458,1592,1505,2010,2393,2050,1886,1789,1649,1688,1567,1537,1621,1622,1643,1788,1716,1683,1817,1692,1533,1592,1391,1737,1654,1570,1556,1632,1692,1711,1797,1986,1985,2202,2157,2104,2187,2182,1953,2209,2168,1873,1635,1642,1819,2148,2436,2276,1810,1669,2103,2492,2064,1511,1563,1798,2415,3116,3094,2952,2108,1865,2123,2492,2518,2116,2026,1608,1667,2134,2259,2187,2601,3339,3100,2907,2625,2655,2221,2299,2592,2683,2585,3018,2633,2240,2920,2980,2695,2645,2454,2274,2568,2443,2564,2584,3232,3895,4400,4020,3397,3441,3470,3242,3086,2824,2874,2562,2669,2597,2779,3029,2313,2424,3023,3084,3030,2952,2879,2919,2891,2909,2461,1999,2083,2844,3152,2878,2719,3022,3602,3288,2724,2858,2912,2885,2652,2376,2498,2078,1673,1848,1925,2172,2522,2026,2211,2592,2725,2592,2254,2028,1894,2228,1850,1675,1793,2185,2893,2385,1698,2136,2279,2074,1825,1745,1891,2011,2690,3047,2386,2135,2470,2531,2034,2575,2155,1954,2522,2885,2300,2425,2416,1843,1847,2036,2236,1835,1672,1650,1788,2164,2578,2769,2386,2408,2986,3286,3305,3226,3209,3407,3554,3325,3008,2968,2912,2597,2070,1526,1816,2206,1857,1770,2228,2282,2259,2257,2337,2633,1999,1468,1393,1469,1982,2984,3222,2956,2941,2769,2341,2159,2046,2066,2272,2545,2298,1792,1654,1714,1864,2129,2596,2724,2822,3038,2966,3108,3903,4045,4012,4284,3820,3720,3903,3516,2921,3054,3415,3157,2274,1700,2013,2209,1841,1716,2196,2389,2349,2396,2487,2340,2289,2630,2553,2608,2101,1595,1628,1798,1990,1849,1976,2543,2502,2266,3006,3242,3195,3198,3361,3206,2807,2313,2168,2654,2768,2635,2586,2396,2510,2775,2579,2464,2876,3074,2841,3017,2897,2890,3150,3406,3187,2886,3365,4048,4244,3632,2835,2342,2421,2452,2581,2277,2306,2633,2947,2997,2570,2576,2448,2924,3067,2724,2834,3220,3251,3016,3015,3142,3288,3279,3399,3274,1669,1856,2880,2384,2349,3122,3554,3392,2977,2928,3278,3654,3574,3232,3097,3509,3646,3371,3325,3100,3090,2862,3083,3316,3394,2827,2201,2530,2778,2723,2861,2661,2503,2877,2760,2692,2788,2333,2886,3444,3062,3028,2768,2949,3096,2466,2810,2406,2194,2142,2115,2430,2549,2375,2058,1895,1859,1892,2830,3862,3132,3132,2524,2111],[3452,3559,3643,3842,4168,4200,4156,4143,3969,3108,3068,3571,3207,2867,2330,2241,2414,2564,2327,2169,2451,2215,1972,2255,2414,2832,3063,2999,3639,3240,2735,3154,3098,3043,3592,4204,4256,3402,2934,3174,3197,3313,3145,3015,3130,3229,2919,2444,2436,2603,3002,2869,2534,2895,3078,3032,3382,3164,2790,2583,2819,2150,2027,2728,3625,3310,3203,3525,3050,2516,2221,2003,2125,1901,1994,2207,2268,3088,3592,2463,1749,1988,2083,2107,2273,1981,1821,2022,2098,1933,1921,2167,2398,2372,2189,2258,2158,1788,2448,3190,2503,2375,2217,3217,2666,2143,2849,3154,2666,2605,2624,2351,2341,2597,3010,2823,2636,3396,3403,3350,3317,3347,3374,3231,3249,3084,3016,3107,3099,3039,2747,2735,2636,2419,2577,2840,2799,2833,3206,3444,3401,3411,3411,3269,3313,3379,3930,3973,3345,3178,3630,3654,3291,3154,3239,3295,3374,3064,2687,2380,1887,2641,2353,1930,1904,2244,2260,2754,3485,2973,1929,1770,2002,2597,3205,3128,3493,3565,3420,2997,2266,2068,2157,2062,1690,1765,1875,2020,2372,2219,2109,1450,1526,2471,2666,2764,3013,2807,2337,2286,2662,2637,2502,2589,2587,2085,1350,1366,2176,2396,2831,3572,3395,3211,3915,3298,2667,3040,3226,2769,2711,3010,3094,2778,2163,1709,1786,2189,2835,2771,2157,2480,2417,2507,2655,2350,2398,2144,1866,2301,2681,2622,2674,2580,2990,2906,2880,2765,2471,2420,2511,2341,2346,2730,2263,1278,1187,953,1365,1587,1983,1866,2224,2401,2644,2786,2633,2564,2566,2160,2018,1952,1915,2304,2138,2270,2230,2769,2187,1602,2047,2170,1595,1944,2072,2021,2632,2475,1953,1925,1869,2104,2354,2735,2598,2267,2563,2526,2709,2842,3166,3000,3000,2569,2385,3115,3447,3173,2932,2872,2928,2540,1970,2186,2534,2925,2519,2245,2198,2254,2523,2343,3021,2642,2099,2121,2205,2608,1930,2220,2863,2155,1925,2168,2568,3145,2910,2574,2394,2402,2220,2271,2799,3240,3118,3062,3417,2779,2884,3230,3229,3329,3345,3631,3937,3704,3229,3771,3331,3112,3295,3501,3572,2902,2648,2996,2795,2265,2441,2311,1807,1600,1783,1941,1753,2258,2693,2565,2363,1803,1683,2093,1879,2031,2065,1998,2003,2096,2115,2096,1772,1729,1808,1685,1616,1592,1841,2387,2089,2018,2376,2369,1763,1706,2086,2580,2762,3002,2962,2613,2128,2526,2416,1978,1742,1801,2154,2578,2698,2942,2972,2488,1896,2196,2763,2728,2603,2727,2691,2826,3357,3257,3233,3200,3095,3031,3085,2862,2403,2103,1986,1749,1610,1707,2049,3617,4166,4163,3994,4274,4284,4085,3984,4150,4229,4100,4042,2920,2254,2397,3486,3554,3241,3206,2932,2599,2681,3020,3231,3311,3417,3591,3782,3772,3861,4008,4078,3786,3324,3313,3178,3369,3562,3186,2348,2176,3124,3376,3164,3372,3086,3388,3255,3527,4144,3780,3903,3913,3460,3451,4073,3722,3405,2891,2457,2823,3244,3275,3040,2763,2591,2645,3021,2709,2211,1730,1669,1843,2049,2290,2136,2404,2810,2593,2067,1911,1924,2291,2387,1999,2518,3129,2931,2879,2946,2667,2339,1823,1533,1685,1684,1553,1713,2327,2947,3204,3125,2492,2377,2648,2529,1843,1759,2580,3311,3559,3466,3525,3787,2767,2316,2143,1984,1929,1903,2350,2406,2134,2249,2243,2399,1843,1790,2244,2181,2216,2384,1952,1588,1718,1765,1887,1922,1954,1664,1673,1557,1550,2005,1871,1581,1819,2097,2054,1879,2046,1933,1888,2023,3017,2879,2126,1690,1675,1497,1624,2126,2807,3276,3451,3949,3725,3864,3728,3676,3501,3454,3286,2997,2848,3010,3041,2757,2824,3379,3541,3541,3520,3282,2872,2953,2998,3165,3029,3226,3671,3607,3714,2985,1801,1767,2910,3151,3221,3244,2967,2377,2142,2175,2163,2174,2695,3399,2821,2072,2135,2653,2641,2475,2850,3262,3217,3037,2782,2524,2645,3140,2958,1863,2099,3238,3174,2910,2253,2239,2089,1879,1870,1810,2310,2685,2383,2084,2297,2232,1886,2060,2744,2574,2148,2071,2264,2433,2670,2163,1739,2296,1881,1728,1912,2051,1756,1583,1726,1703,2325,2920,2591,1588,1361,1872,1687,1468,1403,1773,2772,3187,2387,2258,2588,2409,2091,2158,2242,1914,1957,2361,2653,2837,3533,3659,3385,2859,2317,1985,1748,1863,1889,2373,1900,2405,2897,2589,2125,2140,2318,2076,2307,2678,2676,2744,2225,2201,2483,2373,2647,2409,1931,1776,1755,1974,2655,2373,1770,1973,2275,2270,2257,2511,2822,3111,3455,3294,2503,2293,2162,2155,2318,1952,1871,1845,1803,1812,1788,1644,1890,1912,2156,2690,2337,1586,1898,3304,3742,3186,2798,2765,2416,1999,2154,2103,2000,2114,2229,2011,1859,1754,1612,1587,1659,1697,1475,1870,2519,2500,2518,2237,2436,2554,2200,2792,3345,3642,4240,3793,2601,2938,3262,2974,3073,3086,1945,1672,2651,2536,1728,2014,2449,2416,2315,2579,2546,2907,2810,2100,1907,1735,1920,2481,2466,2580,3005,3245,3230,2858,2103,1761,1508,1839,2822,3318,4011,4181,3212,2901,2954,3492,3749,3885,3356,2981,2488,2931,3106,3150,3652,3283,2966,3288,3364,3474,3042,2802,2819,2613,2389,2735,2999,2935,3153,2940,2579,2640,2116,1690,1887,1902,1852,1825,1853,1659,1521,1784,2519,2445,2116,2123,1719,1633,1517,1707,2154,2765,2210,2721,3410,3152,2706,2719,2847,2343,1881,1760,1832,2296,2946,2026,2192,2282,2031,1897,1918,1859,1848,1821,1647,1632,1741,1795,1487,1490,1938,1817,1517,1521,1520,1048,1382,2427,2414,1409,1983,2274,1859,2096,1975,1703,2722,2766,1774,1909,2411,2343,2140,2503,2383,2796,2929,2839,2850,2746,2486,2095,2023,2212,2178,2553,2856,2988,3149,3172,2663,2429,2127,2023,2875,3797,3419,2966,2911,3739,4154,3121,1885,1399,1766,3018,3610,3768,3479,2513,2337,3463,3574,2852,2602,3095,3362,3028,3206,2556,1631,1892,1725,1821,1878,2286,2781,2623,2250,2599,2802,2558,2436,2917,2442,2261,1898,1751,2061,2250,2268,2125,1642,1559,1705,1595,1459,1350,1504,1592,1986,2332,2169,2353,2604,2791,2258,2012,2598,3282,3672,2735,1906,2718,2653,2236,2810,2924,3240,3551,3565,3680,3739,3539,3407,3132,2846,2906,2980,2852,2876,2667,2335,2500,2901,2670,2489,2447,2740,2595,2479,3005,3305,3448,3262,3166,3165,3163,2505,2255,2830,2908,2741,3018,3086,3607,3866,2630,1551,1945,3110,3526,3211,2465,2474,3233,3658,3980,4305,4529,4769,3377,1947,1831,2287,2966,3732,4013,4176,4132,4187,4307,4035,3904,3904,3870,3698,4197,4111,4012,4324,4071,3934,3694,3246,3321,3544,4366,4590,3872,3229,3662,3658,2846,2930,3143,3038,3585,3443,2591,2384,2248,2427,2504,2606,2552,2255,1908,2105,2766,2863,2732,3047,3442,3717,3596,3499,3723,3676,3498,2999,1727,1265,1844,2251,2227,1883,1770,2130,2596,2448,2070,2687,3085,3172,2398,1533,1865,2280,2402,2407,2385,2499,2376,2340,2524,3384,3863,3712,3035,1959,1391,1435,1779,2352,2306,2621,2291,1342,1099,1844,2174,2361,2398,2341,2376,2266,2175,2025,1758,1735,1439,1457,1555,1545,1630,2158,2798,3406,3548,2927,2403,1996,1686,1924,1963,2072,1948,2050,2020,2153,2132,1708,1823,2508,2436,1853,1796,1751,1912,1968,2094,2041,1847,1616,2276,2272,1942,1786,1894,2149,2006,2200,1627,1529,1879,2306,1871,1960,2152,2470,3067,2920,3123,3649,3939,3012,2225,2136,2159,2770,2664,2328,2211,2424,2094,1879,2121,2086,2776,3482,3658,3539,2544,1808,2868,2811,2798,2920,2508,1995,1683,1501,1593,1446,2674,4370,3416,2266,1917,1731,1789,1713,1625,1744,1617,1505,1897,2025,1931,1654,1631,1565,1598,1498,1845,1760,1518,1631,1743,1598,1721,1910,1952,1814,2147,1931,1877,1946,2011,2104,2076,2185,2127,1925,1836,1795,1923,1882,1872,1979,2042,2597,2896,2215,1672,1710,1727,2309,2900,3399,3186,2267,1942,1865,2497,2198,2083,1803,1484,1669,2054,2051,2300,2844,2580,2030,2391,2204,2594,2429,2588,2967,3024,2715,2950,2598,2696,2790,2556,2146,2073,1991,2226,2687,2656,2775,3052,3079,3207,4012,4232,4051,4035,3577,2995,2497,2123,2145,2336,2737,2782,2522,2208,2330,2732,2733,2785,2779,2762,2778,2770,2663,2885,2711,2573,3049,3563,3383,3057,3068,3368,3413,3139,2472,2600,2996,2745,2655,2700,2729,2566,2220,1790,2034,2271,2592,2356,2633,3056,2808,2545,2237,1954,1892,1867,1698,1539,1502,2094,2446,2013,1670,2067,1826,1793,1864,1684,1674,1946,2803,2955,2397,2414,2203,2417,2121,2441,2326,1863,1902,2243,2238,2494,2414,2122,2249,2274,2257,1906,2224,2142,1840,1861,2954,3761,2458,2007,3325,3452,3138,3289,3215,3248,3480,3364,2884,2671,2137,2159,2427,2088,2057,1972,2048,1875,1929,2202,2509,2742,2562,2732,2073,1541,1565,1594,2012,2376,2492,2614,2408,2535,3138,2620,2039,2035,2004,1976,1865,1583,1376,1613,1819,1713,1873,2377,2560,2720,2712,3212,3692,3842,4235,4404,4101,3924,3595,3078,2478,2570,3204,3295,2084,1741,2343,2181,1748,2136,2507,2115,1537,1757,2453,2200,2374,2743,2646,2498,2033,1622,1601,2070,2249,2041,1937,2209,2849,2931,3031,2966,2940,2985,3139,2729,2148,2088,2829,3306,3040,2799,2854,2733,2732,2879,2812,3146,3514,3095,2750,3045,3120,3122,3493,3772,3253,2980,2967,3018,2775,2588,2285,2141,2373,2570,2544,2186,2222,2653,2842,2563,2232,2675,2557,3109,3168,3049,2957,2942,3037,3204,3266,3340,3605,3400,3260,3169,2778,3231,3363,3123,3058,3326,3444,3285,2918,2785,2875,3366,3707,3538,3052,3429,3626,3435,3405,3293,3184,3025,3053,3211,3295,2748,2194,2276,2401,2964,2973,2875,2854,2894,2866,2673,2664,2667,3009,3308,3166,2964,2711,2945,2573,2267,2509,1874,2166,2265,2239,2314,1905,1869,1952,1931,2055,2593,3294,3683,2813,2507,2366,2282],[3117,3310,3440,3859,3992,3494,3172,3532,3820,3115,2940,3383,3329,3096,2321,2232,2121,2437,2352,2166,2539,2607,2608,2714,3120,3531,3242,3010,3454,3642,3228,3852,3682,3311,3482,3930,3999,3459,3221,2758,2485,2168,2172,2510,2461,2691,2576,2596,3078,3384,3442,3254,3221,3811,3816,2767,2876,2768,2853,2763,2972,2588,2436,2817,3486,3758,3436,3312,3028,2405,2090,1898,2043,2302,2440,2746,2951,3489,3420,2183,1957,2634,2758,2242,1832,1756,2004,2179,2119,2154,1956,1965,2192,2343,2326,2291,2177,2153,2461,2757,2627,2192,2366,2879,2668,3129,3666,3295,2979,2965,2756,2611,2786,2800,3025,3005,3230,3425,3193,3309,3402,3499,3464,3247,3123,2953,2703,2903,3353,3134,2724,2749,2822,2679,2752,2722,2128,2125,2309,2523,2917,3386,3427,3170,3244,3580,3761,3485,3001,3059,3360,3480,3431,3284,3009,3163,3548,3394,3032,2761,2280,2209,2410,2171,1953,2241,2206,2038,3019,2743,2031,2500,2001,2429,3392,3536,3376,3175,2875,2256,2105,2309,2186,1986,1931,2182,2122,2140,2370,2426,2324,1982,1975,2241,2182,2541,2656,2632,2475,2417,2518,2540,2396,2389,2316,2226,1905,1866,2150,2212,2470,2851,2764,3128,3539,3233,3106,3711,3706,3194,3207,3142,2614,2411,2191,2060,2661,2045,2321,2214,1762,1933,2230,2487,2498,2211,1991,1929,2135,2412,2790,2730,2732,2585,2454,2116,2510,2917,2734,2147,2094,2041,1975,2612,2206,1630,1523,1470,1659,1582,1482,1858,2149,2271,2616,2812,2835,2667,2320,1882,1663,1577,1646,1750,1816,1942,1899,1946,1869,2039,2626,2658,1768,1915,2508,2590,2097,2040,2545,2119,2096,2792,2798,2724,2416,1766,2128,2806,3538,3430,3462,3209,2574,2722,3032,3241,3216,2850,2321,2237,2717,3261,2788,2913,2864,2639,2295,2067,1925,2000,1865,2493,3326,2675,2310,2232,2268,2494,2116,1754,1967,2088,2095,2287,3011,3288,2984,2657,2383,2502,2382,2336,2573,2462,2570,2961,3561,2590,2346,2973,3010,3217,3312,3476,3762,3415,3047,3351,3022,3271,3320,3297,3274,2885,3024,3122,2820,2249,2899,2352,2189,1792,2105,2281,2194,2471,2527,2195,1828,1404,1129,2014,1912,1757,2071,2093,1924,2168,2155,1897,1799,1688,1615,1561,1542,1734,1946,2425,1959,2190,2070,2076,1782,1757,2379,2497,2428,2520,2665,2729,2162,2629,2722,2497,2065,2237,1903,2123,2812,2846,2635,2556,2182,2432,2714,2511,2702,2874,2642,2701,3129,3157,3233,3265,3354,3365,2976,2893,3230,3249,2977,2713,2415,2192,2832,3942,4275,4240,4227,4239,4351,4251,4168,4180,4452,4409,4082,2893,2477,2550,2988,2670,2472,2973,3128,3072,3389,3432,3320,3495,3681,3710,3652,3753,3887,3927,3838,3686,3566,3022,2785,3327,3339,3100,2159,2087,2952,2846,2665,2791,3112,3588,2728,2253,2840,3190,3163,3263,2910,3593,4206,4028,3654,2747,2012,2390,2819,2764,2814,2837,2567,2924,2895,2362,2116,1886,2194,2053,2360,2949,2940,2887,2670,2645,2208,1894,2269,2351,2370,2315,2677,3112,3077,3217,3272,2808,2703,2024,1824,2021,2323,2479,2435,2363,3440,4196,4056,3294,2625,2569,2264,2007,2729,3398,3745,3660,3252,3450,3461,2829,2312,1956,1802,1745,1778,2077,2218,2389,2426,1896,1698,1459,1787,1915,1843,1851,2241,2194,1690,1585,1537,1610,1729,1834,1601,1499,1401,1519,1861,2066,1788,1790,2090,1830,1725,2290,2236,1955,1720,1764,1630,1645,1870,2193,2152,2324,3244,4137,4193,3969,4023,3465,2827,2798,3474,3636,3474,3227,3098,2922,2919,3183,3348,3272,3570,4028,4284,3931,3264,3088,3073,3085,3315,3190,3548,3815,3619,3269,2972,2775,2724,3687,3406,3109,2937,2567,2249,2425,2916,3150,2846,2792,2884,2307,2367,2481,2911,2719,2766,2915,3119,3130,2973,3043,2450,1945,2261,2496,2142,2234,2958,3060,2665,1978,2204,2347,1919,1471,1536,2039,2945,2454,1959,2279,2238,1745,2146,2558,2120,2073,2887,2924,2289,2144,2179,2010,2483,1946,1843,1970,1833,1708,1605,1555,1865,2155,2377,2016,1412,1354,1667,1595,1592,1492,1556,2358,2765,2533,2807,2702,2384,2118,2286,1964,1854,1726,1992,2523,2430,2629,2919,2959,2723,2818,3019,2011,2156,2149,2013,1510,2232,2598,3032,2895,2244,2380,2502,2462,2562,3289,3062,2412,2689,2557,2454,2881,2532,2384,2270,2231,2335,2226,1836,1687,1869,2496,2340,2325,2861,3382,3463,3543,3052,2625,2601,2448,2502,2542,2157,2179,2076,2008,1816,1998,1997,1950,1672,1913,2666,2633,1966,2314,2946,2699,2302,2068,2230,2029,1632,1549,1453,1467,1650,1682,1708,1912,1931,1712,2024,1865,1533,1437,1844,2107,2184,2136,2027,2045,1735,1787,2022,2304,3150,3920,4251,3764,3134,2987,2929,3387,3062,1716,1710,2348,2086,1608,2102,2521,2880,2239,2084,2736,3054,2281,2050,2067,1820,1964,1809,1681,2623,3177,3186,2994,2563,1907,1892,2070,1891,1672,2105,3387,3802,3278,2856,2570,2414,3255,3516,3598,3522,3435,3860,3750,3794,3776,3006,2622,2842,3135,3271,2655,2736,2942,2829,3029,3153,2906,3006,3033,2820,2553,2691,1879,1830,1784,1593,1779,1876,2282,2078,1665,2022,2337,2360,2603,1907,1398,1406,1674,1676,1796,2534,2292,2272,2735,3141,2996,2706,2894,2705,2121,1908,1781,2133,2446,1750,1923,2217,1893,1844,2156,2223,1979,1826,1854,2033,1946,1722,1494,1541,1720,1571,1569,1433,1259,1190,1465,2408,2356,1300,1955,2278,2062,2610,2257,2137,3073,2880,1818,1732,2388,2610,2608,3151,2872,2780,2640,2234,1946,2000,1822,1675,2258,2295,1946,2234,2431,2662,2810,2999,3029,3155,2787,2005,2617,3630,3083,2298,2598,4031,4580,3956,2518,1708,2539,3610,3249,2828,3195,2624,2095,2749,2844,2216,1869,2554,3178,2542,3095,2664,1930,1605,1593,1618,2018,2740,2901,2671,2275,2436,2530,2306,2325,3473,3482,2756,1951,1690,1813,2053,2256,2024,1661,1808,1810,1620,1373,1409,1548,1443,2126,2546,1996,1796,2249,2303,2229,2722,2900,3401,3480,2468,1708,2789,3048,2852,3195,3520,3742,3664,3785,3901,3739,3811,3784,3071,2406,2293,2565,3019,3081,2900,2691,2490,3039,2648,2624,2937,3767,3248,2791,3109,3610,3607,3304,3034,2947,2756,2351,2424,2811,2984,2872,3327,3441,3899,3739,2301,1220,1947,3837,4276,3629,2539,2769,3165,4101,4531,4211,3826,3851,2976,2001,1879,2008,2554,3549,3924,4324,4176,4046,4352,4276,3957,3744,3740,3937,4024,3495,3389,3233,2739,2816,2996,2987,3121,3316,4007,4266,3929,3435,3488,3505,3142,3019,3299,3308,3379,3540,2208,2022,2155,2084,1984,2204,2282,2181,1957,1972,2794,2820,2764,2879,3374,3607,3636,3503,3439,3393,3293,2950,2194,1828,2082,1831,1985,2311,2398,3019,3032,2358,1994,2330,2342,2076,1816,1768,2336,2362,2642,2458,2291,2267,2182,2542,2362,2265,3278,3411,1960,1204,1346,2255,2578,2566,2476,3300,2994,1869,1676,2005,2077,2130,2221,2297,2530,2686,2412,2256,2475,2195,1704,1500,1582,1704,1779,2483,3256,3492,2951,2034,2275,2240,1938,1954,2077,2027,1942,1962,2460,2820,2702,2272,2357,2762,2233,1659,1535,1581,1676,1965,2265,2172,1838,1967,2219,2057,1711,1672,2079,2173,2087,2188,1986,2170,2344,2382,1922,2119,2557,3175,3496,3115,2423,2757,3349,2883,2604,2303,2530,2958,2675,2391,2131,2336,2511,1903,1908,2267,3176,3504,3751,4011,3498,2409,2666,3196,3088,2774,2163,1946,1888,1694,1600,1427,1837,2755,2655,2120,1890,2290,2546,2027,1772,1766,1842,1956,2367,2259,1961,1816,1627,1622,1495,1460,1759,1693,1420,1664,1744,1647,1812,1940,1944,2622,2465,2116,1885,1735,1787,1769,2284,2652,2156,2157,2023,2083,1931,1946,2546,2597,2831,3352,3033,2137,1808,1737,1757,2117,2430,2846,3219,3052,2310,2349,2402,2199,1923,1560,1607,1803,2186,2215,2540,2610,1840,1806,1429,1781,2335,2818,2983,3001,2773,2256,2787,2429,2373,2482,2254,1996,1866,1901,2281,2711,2884,2579,2543,2822,2953,3303,3827,3143,3356,3511,2998,2482,2002,1740,2155,2567,2649,2324,2354,2973,2994,2840,2758,2775,2666,2724,2706,2691,2961,3161,3484,3640,3631,3100,2983,3138,3330,3289,3272,3163,3205,3025,2820,2644,3014,3425,3415,3298,2741,2920,2912,2831,2541,2336,2381,2372,2104,1881,1759,1659,1903,2071,1947,1917,2144,2127,2022,2240,2112,1910,2178,1966,2143,2140,2194,3261,3737,3145,2912,2742,2802,2373,2471,2614,2318,2206,2331,2358,2599,2574,2837,2467,2506,2059,1764,2176,2421,2225,2118,2946,3356,2397,2567,3238,2950,3063,3397,3185,3229,3268,3222,2974,2763,2147,1938,2169,2415,2639,2010,1984,2342,2083,2220,2203,2461,2486,2520,2073,1787,2055,1943,2133,2426,2237,2376,2706,3230,3585,2900,2546,2641,2305,1854,1728,1738,1555,1768,2042,1973,2000,2642,2876,2900,2832,3282,3650,3582,3561,3583,3532,3382,3011,2821,2821,2586,2307,2203,1604,1499,1781,1770,1840,2374,2938,2456,1737,1756,2188,1786,2122,2745,2698,2193,2014,1970,1895,2154,2368,2568,2191,2208,2933,2844,2577,2575,2415,2621,2592,2076,1814,2315,3065,3462,3385,3383,3352,3196,3255,2920,2653,3046,3541,3332,2872,2950,3134,3252,3276,3212,3078,3067,3199,3097,2281,2275,2248,2294,2722,2776,2480,2215,2314,2723,3032,2634,2841,2841,2338,2997,3326,3261,3069,2764,2922,3397,3435,3630,3417,2952,3087,2846,3011,3341,3481,3624,3283,2641,2586,2635,2507,2502,2979,3392,3565,3393,2993,3262,3473,3427,3284,3375,3541,3564,3437,3353,3209,2586,2201,2587,2415,2953,2962,2994,2955,2972,2940,2796,2776,2624,2669,3155,2961,2663,2448,2855,2399,2400,2470,1904,1675,1942,2248,2095,1905,1980,2004,2166,2420,2813,3131,3327,2884,2588,2642,2384],[2966,3124,3094,3250,2862,2218,2299,2815,3062,2449,2571,2895,2871,2830,2393,1774,1785,2276,2360,2559,2678,2288,2402,2920,3372,3470,3348,3157,2877,2933,3221,3550,3242,3006,2964,3152,3394,3131,2952,2497,2194,1759,2579,3097,2637,2912,3112,3316,3794,3794,3542,3955,3162,3240,3392,2624,3088,2797,2670,2698,2996,2934,2374,2586,3282,3821,3508,3286,2871,2353,2105,2003,2302,2771,2540,2490,2802,3247,2997,2113,2047,2377,2791,2825,2245,2177,2251,2153,2341,2311,2051,2224,2410,2518,2545,2301,2520,2297,2153,2049,1981,1898,2324,2401,2503,3084,3296,3181,3270,2696,2963,3064,2952,2920,3131,2889,3077,3370,3221,3123,3312,3629,3770,3688,3497,3180,2127,2258,3068,3134,3199,3598,3787,3405,3288,3063,2274,2686,2693,2624,2745,3458,3606,3287,3383,3472,3653,3532,3026,3158,3325,3707,3558,3295,2931,3094,3320,3066,3154,3199,2456,2242,2638,2402,2026,1956,2027,2172,2774,2758,2691,2511,1884,2321,3121,3112,2631,2475,2338,2164,1969,2121,2074,2184,2182,2293,2181,2267,2182,2020,2078,1818,1931,2002,1853,2836,2670,2148,1715,1987,2250,2501,2442,2248,2366,2182,1810,1742,1622,1868,1660,1899,2237,2691,2797,2924,2956,2966,3151,3234,3088,3104,2857,2238,1795,2259,2731,1979,2092,1790,1500,1782,2078,2391,2508,2250,1992,2398,2124,2495,2790,2949,3162,2800,2268,2215,2869,3318,3069,2836,2649,2520,2872,3123,2311,2156,1838,1663,1549,1466,1618,2137,2404,2392,2607,2488,2679,2475,2422,2334,1947,1774,1705,1731,1879,1930,1876,1803,2398,2963,2734,1993,1665,1750,2805,3415,2742,2652,3024,2459,2128,2737,2590,2688,2423,2141,2190,2516,3563,3605,3481,3430,3060,3247,3449,3460,3325,2625,1831,2002,2778,3885,3340,2824,2610,2364,1971,1907,2216,1952,1943,2824,3212,2623,2730,2482,2563,2520,2132,1869,2432,2778,2721,2587,2595,3122,3151,2662,2527,2667,2546,2380,2496,2663,2430,2735,2957,2407,2344,2930,3089,3233,2965,2860,3090,2520,2617,2841,2873,3449,3250,3041,3082,2875,3007,2987,2684,2481,2730,2229,2156,1722,2166,2524,2169,1947,2290,2133,1926,1843,1932,2891,2424,2037,2321,1969,1718,1975,2084,2047,1910,1632,1491,1484,1714,2003,1929,2081,2249,1997,1613,1746,1850,2030,2080,2282,2357,2577,2193,2655,2874,3209,3237,2676,2488,2875,2665,2398,2939,3115,3149,3332,3020,2867,2910,2702,2733,2862,2797,2663,2686,2655,2610,2663,3019,3060,2686,2742,2957,3018,3162,3194,3000,2998,3695,4274,4324,4307,4199,4167,4299,4262,4377,4407,4400,4557,3886,2809,2712,3008,3128,3019,3056,3090,2810,2650,3308,3410,3016,2950,3010,3203,3242,3304,3774,3875,3293,3385,3391,2841,2811,3585,3588,3313,2581,2707,2942,2620,2422,2083,2414,3678,3323,2201,2862,3436,2683,2366,2371,3330,3749,3868,4007,3252,2280,2584,2690,1841,2203,2829,2584,2219,1926,1605,1621,2079,2231,2072,2707,3333,3196,2863,2315,2322,1998,1674,2049,2111,2166,2386,2712,3009,3052,3348,3610,2969,2638,2092,2642,2979,3354,2985,2420,2124,2797,3859,3921,2770,1942,2231,2972,3179,3281,3694,3799,3227,2945,3223,2750,2027,2010,2098,1778,1607,1833,2270,2212,2336,3098,2781,2032,1653,1838,2040,1830,2092,2558,2465,2032,1723,1549,1674,1577,1581,1654,1598,1383,1457,1972,2236,1533,1808,2162,1917,1634,1809,2417,1856,1512,1899,2587,3133,3507,3626,2765,2163,3068,3648,3530,3519,3021,2373,2349,2454,2907,3520,3416,3295,3379,3086,2929,3150,3443,3605,3771,3680,3803,3864,3565,3950,3732,2999,3236,3297,3414,3757,3847,3027,3377,3145,3044,3352,3261,3041,2631,2214,2202,2201,2239,3112,2759,2284,2260,2519,2379,2398,2583,2898,3078,3117,3428,3463,3392,3401,2326,1840,1595,2361,2952,2762,2736,2923,2811,2588,2866,2950,2449,1881,1994,2516,3442,3096,2350,2517,2609,2103,2291,2719,2640,2779,3195,2854,2623,2603,2809,2692,2680,2257,2042,2049,2025,2003,1708,2023,2249,2591,2830,2345,1562,1532,1770,1689,1322,1409,1780,2056,2017,2179,2656,2576,2366,1897,2073,1904,1906,1888,2499,3021,2698,2985,3245,2609,2395,2664,3266,2576,2414,2642,2597,2102,1939,2113,2642,2553,2107,2063,2215,2474,2634,3012,2822,2932,2408,2203,2862,3169,2985,3162,2654,2439,2700,2360,2025,1875,2125,2496,2384,2592,2817,3085,3188,3129,3081,3005,2699,2574,2339,2704,2648,2534,2217,2222,2087,1963,2114,2185,2056,2124,2644,2782,2321,2166,2277,2035,1837,1617,1822,1705,1612,1637,1564,1498,1365,1287,1268,1425,1635,1731,2478,2307,1833,1565,1544,1906,2248,2012,2131,2143,1575,1645,1629,1566,2215,3167,3948,3975,3168,2979,3430,3720,2962,1763,1949,2142,1905,1952,2095,1876,2589,2318,2322,2834,2381,1847,1917,1694,1440,1476,1343,2121,2764,2634,2778,2856,2565,2330,2295,2523,2619,2076,2337,3218,3638,3950,3262,2228,2405,4065,3760,3417,3619,3660,4061,4573,4556,4420,4200,3875,4276,4293,3850,3138,2746,2831,2950,3139,3020,3051,3174,3077,2827,2465,2532,2155,2240,1705,1562,1547,2040,2439,2090,2133,2547,2096,2187,2523,1721,1511,1431,1439,1585,1847,2547,2671,2483,2729,3073,3155,3182,3213,2618,2029,1769,1857,2099,1759,1592,1912,1870,1494,1532,1816,1971,1955,1964,1976,2013,1977,2040,1744,1656,1605,1447,1444,1207,1172,1400,2107,2122,1339,1158,1610,2292,2525,2264,2285,2855,3392,3605,2768,1968,2410,2433,2428,2517,2436,2297,2001,1622,1415,1729,1757,1689,1954,1844,2100,2024,2355,2874,2814,2861,2843,2354,2159,2035,2374,3598,3818,3361,2839,3901,4488,4249,3177,2303,2988,2929,2562,2902,2835,2144,1807,2197,2678,2469,2401,2513,2176,1931,2507,2706,2100,1462,1717,2199,2296,2591,2846,2679,2473,2915,3107,2697,2063,2359,2720,2477,2092,1754,1621,1981,1938,1893,1810,1733,1721,1645,1418,1418,1580,1694,2318,2928,2453,1975,2083,2276,2504,2568,2855,2989,2678,2492,2263,2666,3247,3553,3759,3454,3303,3841,4041,4042,3749,3684,3824,3505,2778,2595,2686,2667,2900,2791,2694,2874,3220,2963,2848,3105,3265,2884,2734,3043,3571,3942,3740,3508,3395,3122,2406,2449,2842,2897,2957,3039,3241,3874,3849,3273,2321,2547,4140,4363,3626,2511,2883,3494,4332,4541,4112,3936,3726,3061,2387,1950,2001,2644,4185,4480,4688,4269,3870,4297,4608,4320,3984,3797,3926,3805,3461,3062,2587,2288,2278,2165,2525,2733,2786,3225,3912,4127,3610,2767,2814,3289,3230,3275,3288,3251,3196,2492,2518,2679,2350,2093,2230,2171,2439,2518,2187,2701,2687,2648,2736,3456,3672,3686,3851,3841,3221,3243,3296,2098,1928,2123,1724,1922,2309,3597,4043,2951,2002,2348,2721,2167,1839,1913,2632,3028,2343,2552,2377,2599,2826,2709,2882,2277,1539,2379,2019,1205,1577,2217,2605,2973,2894,2820,3575,3645,2967,2619,2079,1909,2289,2142,2176,2632,2558,2092,2256,2482,2618,2477,1903,1594,1919,2354,2924,3199,3227,2619,2535,2642,2392,2174,2100,2105,2017,1825,2104,2570,2502,2783,2577,2427,2533,1960,1713,1564,1431,1823,2272,2405,2235,2247,2327,2065,2007,1906,1967,2253,1980,2404,2498,2448,2627,2453,2334,2226,2351,2436,2494,2964,2974,2201,2523,2928,2495,2095,2104,2480,2632,2820,2699,2237,2490,1973,2002,1642,2205,2945,3259,3341,3409,3410,3173,3311,3510,2959,2432,2317,2272,1758,1716,1687,1488,1649,1944,2268,2128,2074,2627,2852,2404,2222,2181,2729,3007,2957,2812,2588,2210,1707,1489,1484,1620,1730,1620,1545,2019,2223,2393,1977,1709,1627,1932,2157,2547,2350,2213,1851,2008,2782,3013,2194,1850,1830,1982,2105,2103,2244,2473,2948,3370,2875,2408,1989,1785,2145,1947,1836,1941,2305,2432,2262,2433,2348,2255,1746,1510,1561,1956,2359,2194,2260,1978,1742,1629,1789,2391,2215,2347,2854,3024,3011,2069,1870,2341,1850,2128,2308,2308,2425,2342,2293,2607,2786,2381,2400,2250,3241,2823,3187,3540,3552,3571,3015,2611,2287,1924,2431,2714,2146,2019,2500,2839,2499,2587,2674,2814,2759,2750,2717,2857,3042,3072,3514,3229,2953,3122,3087,2926,3307,3288,2912,3063,2956,2957,3292,3437,3880,3592,3426,3421,3081,3195,3141,2914,2537,2109,1981,2119,2006,1989,1785,1686,2164,2327,2239,2060,1980,2055,2004,2291,2195,2411,2912,2441,2519,2668,2619,3305,3887,3623,3385,3508,3297,2827,2698,2488,2531,3496,3111,2373,2371,2452,2661,2044,2139,2018,1843,1899,1932,2084,2165,2629,2939,2700,2872,3025,2966,3417,2955,2600,2917,2701,2648,2952,2645,2062,1747,1941,2191,2898,2289,2045,2486,2004,1826,1964,2265,2530,2392,1630,1827,2434,2474,2568,2261,2202,2750,2964,3256,3677,3176,2726,2567,2380,2001,1903,1917,1532,2174,2706,2520,2445,2687,2932,2813,2662,3018,3537,3692,3418,2444,2539,2776,2808,2630,2646,2068,1524,1925,2132,1554,1636,2263,2613,1912,2041,1996,2104,2214,1936,1655,1738,2293,2780,2671,2314,2360,2554,2239,2063,1927,1989,2200,2431,2243,2544,2395,2081,2526,2395,2045,1701,1736,2150,3288,3738,3808,2823,2089,2637,2664,2656,3065,3441,3707,3157,2635,2523,2894,3052,2674,2845,3293,3438,2912,2419,2712,2451,2592,3267,2910,2450,2260,2601,2883,2877,2563,3120,3006,2935,3335,3191,3023,2911,2702,2842,3442,3673,3934,3695,3544,3181,2221,1713,2166,2879,3326,3123,2781,2658,2707,2819,2589,3197,3561,3400,3355,3166,2945,3150,3377,3386,3303,3480,3703,3497,3359,3273,2387,1885,1961,2368,2884,3292,3260,2787,2790,2613,2383,2621,2649,3291,4278,3465,3166,2746,2281,2169,2096,2300,1981,1797,2120,2565,2306,2031,2118,2061,2178,2405,2391,2673,3045,2911,2897,2733,2187],[2676,2799,2458,2712,3134,2699,2306,2478,2368,2105,2095,2400,2821,3244,2662,1900,1918,2094,2155,2357,2420,2023,2104,2551,2890,3383,3642,3168,2250,2155,3074,3275,2806,2964,2723,2802,3350,3603,3190,3068,2894,2789,3837,3923,2806,2750,2965,3476,3892,3940,3950,4028,2623,2415,3183,3276,3024,2766,2470,2446,3060,2799,2585,3178,3232,3256,3420,3626,2934,2239,2204,2578,2820,2494,2415,2576,2525,2679,2580,2475,2017,2134,2370,2631,2297,2110,2303,2359,2363,2209,2040,2321,2492,2368,2621,2358,2328,1930,1918,1647,1454,1876,2004,1774,2118,2578,2850,3078,3486,2911,3318,3558,3292,3075,2944,2907,3128,3263,3240,3054,3195,3434,3848,3951,3741,3751,2820,2533,2932,3135,3000,3284,3550,3607,3618,3005,2398,2856,2864,2730,2736,3739,3906,3216,3108,3206,3231,3249,3076,3540,3608,3732,3413,3149,2916,2985,3062,2822,2612,2710,2630,2429,2218,1951,1826,1815,1682,1802,2209,2756,2664,2095,1819,1953,2360,2424,2620,2850,2698,2188,2017,1858,1942,2276,2492,2601,2363,2476,2372,2104,2189,2160,2449,2017,1876,3040,2567,1782,1600,2220,2720,2956,2614,2361,2728,2544,1973,1815,1633,2056,1556,1623,2231,2544,3061,3012,2437,2312,2548,2554,2581,2546,2665,2425,2037,2210,2342,2237,2221,1827,1744,1939,1969,2126,2109,2278,2313,2742,2556,2790,3168,3480,3536,3208,2791,2990,3335,3194,2818,3384,3375,3334,3293,2824,2345,2313,2128,1953,1811,1670,1760,2354,2630,2485,2902,2588,2230,1991,2779,3525,3194,2204,1559,2014,2345,1831,1720,1714,1986,2385,2312,2001,1824,1543,2553,3211,2887,2440,2024,2019,2186,2552,3075,3018,2734,2827,2477,2322,3083,2760,2954,3353,2792,2888,3742,3821,3630,3221,2664,2453,2248,2912,2918,2285,2072,2311,2290,2110,2063,1828,1820,2411,2604,2602,3068,2845,2966,3056,2764,2702,2976,2918,2410,2464,2666,2955,2946,2485,2316,2392,2314,2227,2306,2398,2491,2932,3271,3404,3284,3109,3262,3396,3094,3025,2824,2789,2862,2557,2891,3377,2898,2813,2841,2666,3082,2965,2314,2508,2119,2053,1808,1564,1817,1931,1805,1834,1738,1464,1696,1816,2369,2812,2756,2386,1940,1627,1397,1377,1904,2155,1942,1726,1704,1576,1622,2078,2099,1876,1710,1631,1760,1890,2156,2296,1953,2184,2065,2329,2636,2906,3153,3120,2630,2191,2182,2579,2983,3076,3318,3296,3642,3958,3714,3191,2828,2853,2998,3142,3087,3186,3379,2790,2597,2677,2737,2567,2598,2810,2990,2940,2857,2836,2692,3090,4060,4340,4200,4149,4156,4188,4200,4236,4313,4352,4302,4340,3334,2511,2850,3205,3348,3128,2494,2947,2964,2752,3330,3142,2687,2552,2731,2932,3002,3203,3780,3715,2916,3365,3312,3140,3310,3376,3060,2735,2493,2675,3217,3589,2883,1994,2676,3474,3079,2171,2622,3132,2636,2249,2502,2873,3344,3752,3811,3367,2708,2762,2824,1980,2194,2858,2721,2121,1836,1604,1669,1992,2129,2128,3056,3665,3522,2796,2501,2438,2143,2122,2315,2379,2565,2578,2662,2916,3110,3442,3572,2596,2239,2089,1927,2199,2776,2684,2325,2007,2242,3159,3297,1957,1493,2551,3869,4216,3841,3503,2922,2691,3271,3322,2293,1692,1896,2106,1844,1826,2120,2231,1712,1622,2266,2690,2928,2326,1784,2008,1533,1886,2156,2376,2192,2071,1798,1874,1975,2095,2525,2299,1642,1861,2836,2965,1732,1498,1893,2167,1870,1527,1982,1710,1629,2722,3916,3824,3735,3803,2976,2100,2858,3332,3066,3168,2844,2300,2369,2587,3272,3704,3653,3407,3341,3208,3174,3116,3499,3362,3223,3173,3323,3621,3486,3849,3606,3064,3272,3298,2614,2794,3263,3193,3046,3288,3614,3154,2622,2417,2215,2234,2630,2310,1883,2224,1942,1973,2680,2709,2322,2174,2413,2928,3112,3011,3090,2819,2740,2679,1991,1602,1651,3024,3495,2886,2674,2894,3151,2995,3010,3226,2821,2114,2153,3021,3553,3281,2618,2624,2963,2721,2754,2796,2670,2248,1971,2031,2633,2809,2731,2588,2456,2302,2246,2099,2314,2720,1871,1857,1771,2657,2709,2445,1882,1525,1688,1703,1498,1849,2064,1933,1890,1946,1785,2222,2138,1903,2284,2129,1690,1603,1980,2392,2644,3334,2977,2387,2026,1820,2615,2744,2778,3178,2714,1993,2171,2468,2609,2888,2472,2420,2345,2587,2876,2862,2974,2800,2579,2748,2942,2673,2758,3061,2507,3008,3196,2663,2239,2127,2193,2063,2280,3060,3628,3671,3738,3906,3942,3740,2921,2656,2519,3284,3362,3098,2450,2509,2657,2464,2286,2249,2382,2636,2652,2627,2232,2258,2190,1964,1739,1557,1614,1616,1617,1573,1645,1566,1418,1418,1432,1370,1377,1379,1740,2107,2138,2216,2015,1931,2326,2149,1936,1772,1509,1445,1896,2054,1738,1995,2775,3096,2928,3122,3608,3732,2596,1968,1917,1938,1627,1648,2123,2070,1975,1775,1929,2266,2424,2022,1619,1777,1611,1370,1974,2740,2655,2453,2789,2775,2280,1959,1915,2112,2216,2155,2205,2616,3488,4141,3830,2841,3642,4571,3984,3926,3676,3266,3338,4200,4428,4912,5040,4684,4668,4608,4310,3646,2840,2872,3160,3097,3010,3030,3115,3295,3012,3370,3326,2813,2656,2104,1686,1954,2332,2106,1694,1757,1977,1912,2345,2092,1660,1644,1545,1466,1900,2448,2736,2808,2636,2722,2962,3022,2976,2630,2100,2269,1896,1857,1931,1780,1633,1601,1665,1578,1354,1546,1615,1742,1951,2076,2285,2143,1849,1693,1748,1590,1644,1622,1151,1247,1616,2049,1632,1180,1107,1349,2428,2619,1911,2052,2204,2692,3074,2493,1802,1963,2354,2419,2674,2824,2122,1543,1368,1432,1588,1815,1793,1961,2502,2581,2530,3237,2875,2124,2435,2934,3171,3363,3232,3162,3768,3846,2891,2147,3764,4249,3738,2277,1868,2604,2607,2163,2010,1603,1643,1935,2237,2577,2728,2956,2554,2138,2480,2649,2394,1959,1808,1802,2280,2160,1807,2592,2624,2815,2950,2762,2845,2487,2472,2465,2446,2175,1800,1704,1766,1591,1811,1866,1737,1698,1487,1345,1504,1805,1920,2467,3372,3292,2280,1997,2429,2337,2980,3383,3086,2968,3152,2719,2465,3078,3535,3529,3096,3015,3926,4139,3849,3693,3154,3262,3484,3008,2984,2900,2401,3096,2971,2938,3449,3391,3203,3121,2946,2651,2376,2458,2900,3120,3019,3045,3344,3445,3188,2408,2476,3122,2807,2543,2912,3394,4116,4176,3999,3774,3709,3945,4082,3426,2591,2867,3719,4320,4050,4112,4396,3492,2492,2205,1958,2107,2754,3710,4108,4276,3972,3836,4046,4296,4208,4207,4240,4099,3994,3531,2985,2966,2513,2381,2414,2674,2802,2567,2924,4027,4544,3794,2824,2745,3250,3398,3130,3340,3231,2606,2724,2689,2257,2213,2250,2483,2667,2886,2906,2303,2830,2775,2534,2795,3322,3791,3796,3679,3836,3290,3498,3068,1964,1733,2051,2048,2072,2518,3458,3460,2155,1728,2242,2332,2082,2438,2496,3328,3289,2213,2101,2264,2617,2843,2964,2974,2232,1787,2498,1939,1775,2243,2468,2661,3006,3116,3193,3616,3565,3058,3134,2964,2313,2258,1966,2352,3096,2746,2496,2720,2764,2818,2630,2096,1651,2048,2769,3305,3107,2623,2406,2903,2756,2515,2229,2021,2061,1919,1677,1922,2166,2272,2518,2592,2431,2662,2492,2023,1771,1790,2176,2966,2945,2497,2421,2100,2246,2630,2908,2374,2427,2293,2364,2115,2336,2503,2445,2459,2791,2658,2292,2643,3308,3362,3094,3194,2742,2376,2376,2365,2262,2342,2876,2419,2227,2454,2326,2339,2147,2752,3354,3774,3662,3263,3529,3704,3710,3471,2718,2077,1938,2303,1877,1736,1651,1648,1980,2138,1893,2021,2292,2835,2950,2304,2010,2476,2872,2957,2974,3067,2730,2028,1577,1651,1595,1599,1668,1641,1543,1747,1972,2097,1737,1620,1508,1560,2354,2653,2157,2199,2231,2408,2393,2382,2187,2001,1867,1780,1845,1779,1960,2086,2276,2426,2343,2356,2248,2306,2246,1938,1972,1968,2016,1953,1931,2030,1926,2016,1614,1649,2120,2680,2480,2448,2286,1787,1967,1962,2055,2500,2110,2331,2853,2908,3022,2736,2025,1980,1498,1507,1948,2197,2512,2762,2956,3222,2999,2295,2039,2112,3160,2622,2855,3207,3183,3596,3344,2941,2481,2231,2503,2809,2330,2567,3006,2810,2631,2620,2626,2750,2722,2938,3145,3307,2966,2791,3178,3240,3111,3173,3120,3426,3774,3364,3248,3609,3303,3530,3509,3895,3702,3372,3582,3475,3155,2944,2534,2348,2396,2238,2368,2690,2442,2015,1787,2096,2615,2305,2090,2016,2070,2714,2967,2555,2188,2978,3519,3133,2785,2652,2198,2909,3710,3552,3306,3475,3598,3193,2922,2763,2791,3374,3426,3057,2220,1964,2496,2188,1946,2009,2144,2383,2240,1850,2425,3197,3284,2642,2639,2949,3040,3146,2470,2222,2883,3056,2977,2776,2567,2292,2184,2275,2051,1955,1268,1592,2056,1916,1647,1802,2354,2552,2473,1871,2158,2569,2436,2542,2504,2658,2906,2784,3210,3261,2758,2642,2599,2474,1915,1729,1866,1637,1738,1974,2304,2215,2356,2987,2847,2371,2825,3646,3746,3382,2818,2711,2856,2690,2368,2394,1992,1736,2644,3059,1827,1835,2932,3270,1787,1553,1845,2265,2466,2099,1761,1757,1982,2423,3022,2577,2455,2388,2428,2482,2232,1888,1800,1889,1772,2154,2280,1985,1787,2090,2740,2505,1932,1887,2487,3109,3494,2500,1912,2477,2546,2611,2978,3272,3628,3342,2608,2213,2708,2657,2632,2945,3109,3263,2902,2706,2547,2058,2482,3426,2732,2670,2634,2570,2574,2447,2592,2918,2998,3364,3585,3356,3166,2958,3230,3442,3972,4096,3817,3675,3636,3398,2968,2295,1678,2323,2886,3086,3166,3053,2966,3061,2928,2940,3211,3174,3047,2910,2981,3056,2907,2835,3162,3312,3518,3397,3340,3127,2237,1829,2500,3104,3000,3188,2830,2664,2558,2221,1826,2545,3405,3916,4062,3416,3032,2364,2040,2080,1792,2208,2110,2158,2398,2953,2666,2313,2497,2344,2246,2310,2530,2740,2526,2218,2054,2397,2724],[3045,3096,2697,2698,3406,3086,2876,2676,2085,1375,1791,2508,2842,3045,2768,2330,1825,1710,1646,1922,2432,2454,2216,2575,3292,3658,3700,3026,2001,2052,3253,3511,2920,3123,3133,3584,3889,3706,3329,3459,3316,3014,3559,3605,2825,2817,2828,2943,3163,3437,3847,3774,3096,2855,3098,2979,2887,2886,2677,2365,2370,2018,2913,3390,3443,3571,3681,3737,3023,1995,1953,2557,2578,2332,2729,2534,2751,2535,2424,2385,2204,2292,2268,2400,2235,1973,2255,2601,2481,2082,2072,2311,2229,2373,2811,2627,2364,2336,2057,1621,1477,1797,1857,1627,1811,2120,2291,2542,3252,3666,3672,3581,3529,3165,2906,3193,3531,3444,3313,2799,2666,3016,3393,3946,3955,3588,3227,2739,2724,2904,2692,2692,2587,2857,2937,2537,2658,3006,2551,1953,2023,2919,3183,2589,2691,3027,3334,3852,3770,3383,3532,3510,3466,3228,3091,2967,2766,2757,3098,3339,3062,2512,2103,1812,1697,1778,1720,1923,2209,2374,2663,2604,1858,1860,2279,2352,2526,2427,2261,1868,2041,2290,2452,2175,2212,2403,2564,2642,2281,1747,1776,2336,2272,1611,1618,2556,2226,1757,2045,1965,2179,2979,2819,2346,2713,2911,2491,1876,1687,1739,1418,2015,2677,2666,3199,3013,2571,2721,2789,2093,1961,1899,2097,2600,2579,2226,2431,2801,2568,2011,2446,2578,2563,2375,2111,2003,2066,2330,2472,2666,3084,3254,3294,2980,2800,2684,2962,3134,2899,3385,3373,3334,3399,2602,1841,2001,2361,2370,2085,2127,2293,2674,2695,2234,2316,1988,1814,1880,2820,3733,3414,2068,1522,2255,2931,2044,1620,1594,1571,1877,1980,2008,1528,1392,2404,2975,2590,1890,1665,1892,1993,2222,2322,2543,2709,2304,1989,2305,2585,2584,3310,3204,2762,2733,3630,3420,3319,3882,3350,3090,2896,2513,2234,2072,1950,2320,2221,2045,1891,1933,1804,1958,2585,2786,2450,2269,2690,3301,3326,2645,2625,2342,1963,2602,3024,3096,3121,2613,2256,2277,2216,2249,2342,2446,2563,3086,3614,3536,3401,3253,3647,4071,3792,3442,3165,2922,2713,2741,2917,3144,2673,3243,3161,2490,3198,3595,3267,2532,1979,2128,2450,2205,1708,1766,1766,2391,2250,1995,1905,1679,1887,2471,3327,3267,2042,1832,1625,1455,1571,1900,2173,1992,1949,1853,1709,1902,1979,1836,1666,1791,1975,2022,1897,1946,2200,2323,2276,2268,2554,2692,2951,2983,2531,2359,2497,3155,3296,3554,3482,3782,3805,3471,3042,2774,2739,2787,2956,3163,3153,3161,3117,3140,3151,2989,3003,2976,2931,2960,3085,2955,2830,2841,2711,2989,3923,4208,4224,4175,4212,4191,4143,4034,4060,4213,4444,3997,2635,2663,3134,3197,3095,2533,2529,3130,2980,2697,3468,3725,3047,2856,2955,2976,3145,3255,3619,3367,2930,3340,3155,2888,2858,2834,2922,2699,2453,2434,2946,3250,3030,2745,3510,4017,3739,3152,2950,3120,2954,2541,2698,2896,3133,3413,3674,2640,2311,2593,2599,1782,1729,2465,2708,2220,1830,1907,2169,2059,1823,1956,3166,3576,3330,2796,2255,2083,2221,2424,2807,2905,3077,2993,3061,3210,3175,3054,2814,2297,1979,1854,1766,2002,2445,2134,2296,2135,2153,2552,3119,2029,1703,2993,3881,3991,4016,3155,2236,2879,3450,2990,2040,1857,1770,1750,1919,2186,2278,1959,1679,1732,1590,1629,1996,1983,1303,1494,1998,2044,2149,2286,2514,2985,2943,2589,2185,2458,3066,2525,1939,1882,2670,2753,2061,1659,1860,2423,2397,2034,1814,1621,1756,2719,3422,3024,2406,2551,2594,1994,2469,2966,3073,3428,3310,2525,2503,3139,3996,4165,3897,3441,3480,3310,3267,3414,3252,2652,2966,3108,3037,3520,3350,3667,3620,3536,3753,3060,2055,2616,3193,2916,2966,3868,4153,3839,2976,2088,1897,2405,3143,3261,2467,1647,1530,2430,2909,2517,2199,1910,2280,2492,2708,2452,2526,2386,2562,2662,2152,1753,2226,3145,3282,2863,2973,3378,3310,2457,2355,2661,2477,2216,2724,3640,3706,3127,2625,2572,2796,2839,3079,3201,2854,1591,1226,1656,2312,2309,1869,2068,2672,2730,2441,1840,1814,2572,2418,1917,1692,2315,2325,2289,2176,1763,2167,2416,1711,1815,1824,1826,1895,1748,1682,2231,2185,2015,2237,2240,2029,1843,1746,2142,2418,2477,1802,1567,1710,1869,2345,2588,2770,2655,1976,1945,2677,2577,2722,2561,2078,2323,1918,2211,2908,3184,3211,2958,3118,3130,2691,2239,2713,2502,2353,3461,3288,3069,2438,2281,2064,1614,1855,2986,3905,3820,3995,4001,4007,3762,2975,2565,2096,2844,3597,3402,2746,2534,3054,2574,1993,1842,2142,2404,2068,1894,1718,1859,1867,1910,1928,1653,1550,1549,1642,1583,1599,1611,1616,1575,1521,1471,1380,1342,1368,1368,1791,2425,1959,1770,2370,2382,2025,1661,1521,1442,1792,1911,1739,1683,1855,2211,2404,2711,2963,3429,2295,2270,2270,2339,1933,1586,1998,2594,2480,2172,2264,2157,2275,2040,2161,2227,1775,1781,2473,2788,2558,2635,3250,3093,2295,2179,1953,1844,2009,1870,2132,2499,2862,3064,3496,3730,3828,3988,3911,3950,3336,3161,3332,3681,3894,4271,4671,4519,4037,3884,4248,3881,2858,3108,3439,3401,3081,3285,3549,3708,3295,3536,3462,2881,2230,1918,2383,2458,2242,1876,1527,1705,2233,2114,1821,1741,1817,1700,1496,1520,2236,2978,2868,2721,2707,2709,2795,2713,2941,2705,2666,2517,2019,1934,2138,2073,1783,1565,1324,1323,1379,1590,1635,1538,1650,2256,2863,2875,2307,1975,1891,1857,2066,1708,1382,1656,2045,1910,1696,1495,1448,2264,2880,2363,2135,2486,2565,2968,2451,1709,1747,2072,2756,2696,2443,2154,1622,1584,1554,1748,1580,1770,1716,2108,2096,1736,2401,3038,2657,2540,2692,3018,3718,3466,2855,2820,2684,2228,1709,1741,3345,3840,2797,1978,1871,2086,2104,1820,1636,1894,2483,2791,3012,2958,2912,2584,2182,2258,2535,2481,2476,1930,2349,2253,2014,1919,1718,1935,2170,2759,2651,2567,3076,2797,2338,2168,2500,2336,1883,1810,1773,1465,1526,1628,1785,1801,1741,1912,1968,1725,1567,2064,2819,2717,2132,2285,2403,2394,2884,3143,3164,3242,3334,2457,2530,3230,3895,3898,3305,3085,3800,4205,3772,3271,2798,3252,3661,3347,2864,2984,2908,2865,3140,3142,3123,3133,3287,3407,3338,3103,2714,2661,2757,2731,2755,2885,3028,3004,2939,2738,2662,3061,2764,2098,2796,3841,4404,4245,3891,4059,4012,3500,3486,2876,2150,2253,3200,4094,3759,3672,3748,2663,1952,1733,1924,2108,2517,2513,2574,2896,3034,3128,3090,4100,4289,4427,4532,4168,4094,3482,3559,3314,2359,2220,2397,2547,2563,2454,2943,3749,4163,3717,3498,3317,2827,2530,2596,3096,3288,3130,3142,2837,2302,2084,1902,2577,2878,2791,2529,2386,2739,2805,2609,3005,3567,3750,3806,3924,3847,3221,3227,2677,2006,2142,2450,2247,1897,2147,2811,2850,2302,1940,2255,2129,2005,2470,2601,3212,2917,2614,2968,3029,2898,2861,3007,2989,2632,2481,2780,2533,2610,2518,2523,2734,2923,3276,3610,3831,3785,3305,3204,3477,2887,2318,2289,2946,3585,3582,3565,3461,3298,2976,2359,1488,1560,1830,2228,2764,2619,2338,2539,2791,2647,2321,2042,1974,1920,1763,1622,1684,2001,2333,2292,2258,2469,2889,2818,2180,1886,2087,3167,4124,3925,2876,2320,2287,2746,3334,3271,2460,2190,2084,1959,2484,2679,2468,2397,2344,2451,2470,2731,2754,2742,3227,3385,3075,2535,2382,2649,2544,2052,2254,2497,2008,2760,2505,2008,1928,2678,3113,3040,3387,3817,3586,3541,3663,3417,3256,3245,2274,2392,2596,2120,1714,1480,1673,2095,2349,2124,2202,2467,3197,3090,2099,2209,2878,2984,2934,3040,2902,2790,2459,1748,1906,1853,1679,1833,1793,1597,1507,1587,1526,1632,1834,1769,1339,1629,2177,2144,2093,2014,2099,2042,2344,2304,2093,1961,1836,1735,1716,1833,1824,1849,1728,1976,2020,2156,2535,2237,1997,2197,2209,1974,1832,1710,1898,2244,1906,1669,1554,2088,2769,2292,2025,2082,1857,2287,1991,1833,2062,2528,2657,2596,2972,3176,3031,2437,2154,1816,1773,1974,1850,1901,2540,3087,3185,2723,2332,2085,2327,2900,2853,3188,3538,3632,3993,3443,2764,2515,2142,2510,2855,2868,3030,3065,2898,2907,2939,3122,3026,3030,3335,3592,3637,2998,2897,3166,3335,3318,3192,3435,3714,3731,3502,3863,4075,3694,3772,3730,3827,3666,3689,3650,3510,3282,2661,2196,2470,2712,2873,3039,2451,2172,2171,2447,2282,2304,2083,1516,1171,1666,2974,3726,2978,2148,2673,3100,3403,3935,3395,2071,2942,4132,3536,3113,3448,3648,2626,1716,2181,2553,2283,2415,2308,1973,1935,1972,1771,1674,1883,2232,2056,1838,1881,2643,3090,2978,2496,2584,2575,2846,3460,2597,2080,2865,2919,2539,2352,2147,2040,2187,2409,2386,1813,1483,1982,2691,2824,1898,1981,2415,2071,2337,2547,2358,2104,2179,2548,2815,2687,2329,2238,2943,2390,2260,2497,2756,2337,1956,1990,1998,1763,1782,2052,2132,1968,2338,2873,2835,2513,2678,3178,3198,3052,3287,3454,3563,3287,2771,2515,2308,2564,2459,2573,2278,2140,2503,2719,1958,1636,2116,2577,2422,2103,2062,2018,2031,2249,2526,1863,1966,2544,2793,2083,1950,2207,2115,2076,2078,2020,1927,1694,1626,2157,3138,2903,2125,1810,1930,2439,2513,1805,2025,2653,2956,2975,3088,3216,3352,3174,2487,2409,2741,2568,2718,2749,2802,2974,2735,2695,2376,2399,2553,3240,3120,2808,2524,2378,2429,2506,2686,2808,2808,2797,3037,3464,3288,2569,3174,3882,4004,3763,3527,3483,3372,3383,3514,3088,2631,2902,2751,3150,3376,3340,3213,3447,3373,3443,3531,3000,2930,2779,2857,3019,2855,2842,3205,3303,3494,3528,3522,3090,2088,2127,3389,3248,2531,1961,1944,2208,2018,2150,2087,2994,3547,3262,3099,2664,2092,2104,2342,2092,1744,1999,1937,2207,2287,2485,2335,2702,2964,2589,2113,2134,2686,2658,2344,2374,2293,2630,3205],[3497,3294,3240,3063,3396,3409,3253,2884,2304,1697,2094,2885,2907,2895,2852,2077,1405,1560,1678,1725,2609,2837,2501,2462,2611,3171,3841,3230,2155,1821,2344,3018,3163,3504,3572,3351,2879,2530,3109,3577,3466,3484,3431,3352,3459,3166,3034,3199,3439,3304,3636,4095,3943,3632,3436,3038,3338,3539,3526,2812,2200,1953,2906,3272,3222,3581,3801,3599,2941,2003,1965,2288,2124,2298,2753,2631,2997,2474,2289,2496,2850,3034,2519,2512,2092,1856,2138,2621,2259,2127,2262,2314,2197,2239,2610,2668,2443,1922,1707,1892,1842,2116,2032,1858,1847,1732,2165,2472,3022,3742,3675,3426,3355,3134,3310,3215,3317,3445,3269,2676,2808,3018,3029,3517,3706,3498,3216,2688,2644,2676,2433,2348,2409,2512,2476,2802,2916,2801,2475,2025,2166,2852,2864,2805,2929,3061,3292,3629,3520,3659,3479,3206,3082,2942,3049,3193,3066,3429,3337,3384,2986,2737,2230,1919,1844,1965,1948,1954,1947,2099,2494,2369,1771,1943,2216,2329,2320,2347,2656,2544,2749,2977,2366,1934,1730,1934,2424,2798,2257,1782,2012,2584,2186,2130,2877,3327,2644,1999,1996,2020,2765,3060,2770,2409,2928,3166,2710,1946,1454,1357,1390,2352,3328,3095,3221,2545,2480,3161,3317,2530,2216,2297,2581,3031,2624,2100,2282,2719,2456,2121,2551,2981,2997,2440,2179,2013,2220,2714,2646,2243,2178,2762,3113,2824,2976,2173,2568,2723,3085,3306,3085,3410,3676,2568,1808,2072,2462,2470,1903,2061,2338,2472,2262,1981,2177,2128,1706,1592,2253,3404,3198,2300,2095,2313,2312,2110,1593,1435,1663,2172,2309,1894,1460,1465,1942,2167,1912,1628,1528,1801,2124,2020,1873,2674,2347,1898,2430,2849,2820,3084,3376,3041,2911,3106,3206,3097,3294,3319,2688,2428,2417,2124,2213,2469,2492,2829,2416,2279,2617,2255,2287,2548,2801,2775,2304,1847,1815,2796,3184,2433,2132,2406,3078,3123,2900,2675,2822,2500,2204,2349,2350,2424,2464,2677,2645,2419,2923,3004,3330,3333,3640,3939,3807,3333,2963,2478,2501,2980,2975,3060,2830,3225,2984,2545,3242,3657,3198,2688,2160,2019,2238,2389,1968,2343,2181,2430,2358,2314,2279,2035,1847,2155,2864,3052,1978,1880,1628,1490,1594,1794,2018,2225,2139,2114,2018,1754,2036,2185,1908,2020,1934,1959,2104,2275,2578,2769,2354,1917,2194,2432,2382,2625,2989,3520,3287,3407,3675,3867,3786,4045,3818,3450,3105,2941,2849,2675,3141,3563,3724,3725,3538,3875,3880,3693,3853,3620,3046,2916,3050,2991,2886,2846,2974,3243,4036,4209,4284,4247,4156,4149,4083,3918,3859,3960,4305,3719,3090,3568,3344,3163,3077,3190,3240,3108,2874,3039,3969,4181,3771,3696,3783,3946,3695,3549,3575,2562,2144,2455,2786,2544,1831,2059,2518,2001,2082,2267,2854,2728,2207,2675,3792,4275,3602,2922,2829,3113,3131,2303,2478,2724,2873,3593,3574,2805,2451,2373,2254,1977,1826,1998,2136,2053,1970,2152,2407,2270,1991,2507,3356,3580,2952,2164,1638,1486,1981,2648,2922,2978,3198,3486,3796,3894,3905,3598,3178,2773,1846,1652,1931,2116,2758,1832,1912,2301,2494,2534,2991,2374,1971,2828,3520,3548,3522,3295,3196,2922,2331,1580,1059,1580,1765,1847,2045,2046,1913,1904,2005,2068,2186,2041,2078,2303,1649,1378,1779,2284,2696,2506,2390,2667,3152,2901,2121,1969,2372,2238,2046,2203,3176,2768,2006,1713,1656,2240,2731,2469,1929,1927,2514,2910,2474,2271,1903,2055,2303,2457,2599,2635,2697,2877,3332,3027,3238,3614,3774,3892,3773,3812,3749,3298,3164,3211,2272,1505,1949,2397,3101,3554,3480,3519,3470,3237,2866,2448,2872,3685,3605,3132,3770,4040,3792,3538,3030,1826,1718,2415,3304,3208,2585,2115,2294,3031,2810,2421,2166,2204,3086,2534,2476,2698,3299,3133,2900,3051,2805,2171,1991,2278,2875,3211,3482,3742,3270,2483,2493,2199,2261,2505,2487,2609,2945,2855,2690,2446,2720,3094,3190,3436,3152,2179,1845,2136,2336,2195,2053,2779,3370,3082,2866,2084,1693,2033,2304,2079,2144,2774,2900,2849,2705,2319,2834,3378,2535,1810,2280,2596,1870,1431,1964,2222,1837,1851,2115,2404,2199,1826,1737,1887,2272,2051,1622,1241,1175,1827,2284,2158,2398,2337,1632,1669,2049,2164,2469,2445,2406,2096,1714,2231,2921,3227,3104,2874,3078,3023,2890,2834,2967,2550,2438,2842,2631,2569,2443,2034,1804,1719,1742,2603,3686,3632,3886,3748,3867,3758,3027,2473,2242,2884,3483,3076,2342,2314,2985,2082,1829,1830,1830,1806,1763,1793,1826,1799,1705,1908,2080,1803,1579,1528,1647,1622,1593,1603,1648,1671,1759,1596,1390,1384,1366,1347,1550,2332,2046,1944,2510,2707,2220,1863,1659,1420,1488,1524,1598,1445,1525,1715,1728,2260,2857,2856,2374,1973,2129,2320,1889,1632,1800,2200,2443,2200,2077,1926,1736,1807,2290,2371,2088,2557,2932,2829,2777,2777,2686,2185,2421,3311,2429,1658,1804,1817,2147,2547,2866,2822,3044,3416,3403,3390,3718,4077,3549,2870,3276,4016,4048,3885,3991,4159,4300,4296,4068,3674,3274,3448,3763,3842,3649,3734,3816,3461,2990,3163,3062,3027,2821,3164,3153,2451,1882,2155,1883,2105,2947,2553,1708,1827,2122,1944,1862,1892,2956,3181,2997,2932,2722,2735,2791,2851,3042,3122,3063,2415,1884,2469,2890,2042,1837,1680,1416,1362,1513,1776,2113,2164,2103,2467,2541,2407,2309,2310,2136,1920,2018,1969,1814,1845,1514,1281,1556,1535,1791,2676,2610,2316,2535,2584,2604,2562,2076,1549,2022,2666,2766,2337,1958,1874,1910,2035,1566,1628,1588,1700,1697,2039,2140,2225,2611,2240,1954,2141,2190,2750,3189,2872,2500,2309,1848,1500,1526,1498,2104,2625,2461,2298,2381,2283,1880,1753,1780,2632,3452,3592,3391,3166,2517,2127,2368,2301,2017,1977,2571,2833,2878,2296,2136,2150,1877,1766,2064,2545,2531,2552,3257,3539,2644,2143,2375,2093,1676,1639,1583,1555,1704,2014,1860,1791,1803,2110,2089,1832,1877,1948,2044,2109,2077,2113,2208,2358,2902,3120,3100,2978,3074,2945,3300,3277,3500,3932,3740,3011,3208,3197,2576,2321,2380,3252,4082,3682,2975,3027,3451,3719,3854,3401,2946,2872,2972,3260,3307,3060,2455,2487,2305,2452,2663,2764,3190,3464,3662,3525,3151,3081,3007,2804,2974,3795,4209,4018,3758,3536,3660,3432,2966,2619,2264,1482,2231,3692,3210,2766,2613,2363,2274,1865,1599,2098,2814,2649,2356,2366,2730,3345,3216,3847,3982,4284,4335,4111,4108,3716,3476,2841,2216,1980,2032,2252,2380,2375,2857,3533,3789,3806,3754,3194,2737,2885,3066,3588,3659,2695,2821,2512,1977,2292,2388,2536,2618,2604,2367,1781,1994,2866,3006,3331,3794,3589,3616,3556,3703,3437,3466,3432,3212,3063,2925,2590,1860,2463,3345,2990,2230,2180,2455,2139,1920,2297,2631,2890,2473,1634,2335,3284,3220,3124,3200,3432,3167,2648,2745,2614,2570,2665,2610,3039,3617,3963,3912,3833,3349,2811,3191,3343,3023,2517,2889,3527,3554,3673,4057,3761,3118,2191,1705,1606,1582,1463,1621,2138,2642,3169,2928,2511,2208,1974,1997,2019,1702,1735,1912,1963,1811,1851,2308,2754,3100,3321,3000,2249,2249,2699,4018,4188,4193,3283,2369,2956,3462,3437,2924,2348,2195,2095,2144,2603,2404,2189,1878,2231,2371,2713,3045,2774,3019,3409,3297,2984,2563,2276,2869,2533,2178,2601,2498,2639,3239,3158,2601,2329,2479,2488,2800,2677,2989,2849,3077,2709,2939,3193,2401,1439,1707,1727,1837,1741,1847,1789,2032,2665,3075,2955,2877,2962,2849,2752,2634,2456,2576,2719,2917,3345,3275,2756,2104,2051,2188,1843,1902,1845,1745,1815,1506,1563,1843,1788,1708,922,1309,2052,1998,1719,1679,1814,2150,2277,2115,2076,1961,1691,1721,1601,1559,1803,1829,1657,1852,1716,1986,2364,2179,1982,1973,2093,2222,1742,1723,1815,2662,2512,1898,1539,1813,2453,2270,1815,2012,1851,2187,1766,2048,2104,2654,2560,2527,3197,3085,2124,1646,1830,2089,2199,1727,2026,1866,1810,2277,3028,2498,1935,2184,2830,3068,2928,3426,3880,3489,3124,2485,2115,2236,2319,2677,2829,2833,2798,2539,2613,3115,3174,3087,3161,3549,3636,3638,3931,3708,3394,3292,3427,3355,3353,3760,3824,3687,3399,3666,3662,3374,3717,3926,3789,3838,3861,3552,3397,3386,3108,3408,3418,3060,3186,2946,2736,2363,2306,2214,1659,1791,1986,1760,2347,2459,2578,3117,2853,2410,2367,2846,3109,3017,2459,1828,2711,3920,3452,2828,3261,3385,2592,1684,1769,2452,2406,1780,1807,2049,2166,2216,1785,1547,1707,1848,1903,1850,2251,2326,2139,1986,1897,2186,2700,2981,3370,2227,2061,2731,2169,2081,1999,2086,2109,2055,2213,2326,2217,1852,2449,3891,3766,2431,2060,1908,1825,2181,2843,2532,2070,2482,2943,2557,2034,1962,2087,3091,2646,2578,2346,2281,1838,1867,2371,2521,2236,2172,2229,2313,1996,2753,2719,3050,2766,2815,2959,2909,2921,3111,3182,3255,3328,2866,2702,2322,2905,2348,2202,2446,2089,1753,2375,3011,2766,2172,2200,2250,2246,1982,1716,2160,2230,2068,2348,2969,3273,2501,1956,2735,3254,3052,3006,2456,2005,1870,1562,1969,2541,3104,2436,1727,1607,1794,2450,2604,2482,2655,2732,3122,2867,2613,2900,2593,2562,2483,2511,2767,3010,3178,3097,2884,3035,2611,2469,2408,2313,2552,2943,2889,2621,2612,2512,2605,2562,2565,2919,2855,2670,2765,2938,2676,2539,3375,3863,3559,3278,3251,3086,3134,3303,3443,2933,2539,2756,3166,3167,3256,3328,2978,2939,2940,2975,3030,3301,3330,3162,3046,3408,3272,3033,3174,3296,3286,3043,2764,2381,1732,1886,3385,2987,2436,1825,2027,1954,1764,1811,2056,3229,3838,3110,2602,2361,1866,1842,1769,2100,1854,1978,2390,2395,2422,2831,3021,3134,2944,2337,2194,3186,3868,3331,2644,2476,2408,2741,3051],[3670,3638,3344,3141,3458,3540,3343,2998,2384,2044,2756,3239,3024,3216,2995,1806,1494,1721,1718,1994,2698,2865,2543,2415,2451,2795,3329,2391,1900,2147,2138,2257,2483,2888,3050,2813,2713,3093,3428,3178,3008,3143,3250,3455,3139,2611,2279,2517,2836,2865,3141,3565,3830,3917,3918,3090,3652,4008,4067,2818,1959,2237,2770,2764,2834,3661,3772,3655,3274,2371,2626,2752,2609,2669,2814,2853,3289,2842,2361,2366,3419,3298,2333,2371,2010,1805,2137,2111,1867,2114,2342,2259,2099,1857,2009,2456,2802,2435,2198,2308,2012,2119,2303,2218,2061,2006,2398,2487,2989,3529,3252,3399,3480,3337,3392,2785,2744,2874,3196,3225,3475,3609,3631,3727,3496,3183,3011,2716,2621,2667,2453,2379,2438,2553,2569,3008,3120,2656,2498,2687,3143,3620,3672,3571,3304,3132,3152,3241,3437,3705,3648,3321,2827,2759,3253,3715,3458,2917,2087,2564,2657,2359,2166,2190,2244,2199,2081,1766,1857,2179,2117,1957,1858,1880,2303,2476,2430,2613,3023,3088,2909,2666,2567,2315,1968,1757,1889,2388,2354,2003,2085,2577,2434,2588,3124,2696,2314,1967,1967,2277,2580,2810,2823,2654,3130,3222,3119,2645,1731,1518,1891,2385,2770,2462,2408,2282,2468,2888,3520,2843,2172,2305,2459,2404,2229,2098,2241,2427,2217,2337,2257,2525,2589,2514,2157,2147,2696,2626,2779,2214,1733,1564,1984,2744,3250,3198,3254,2917,3117,3118,2852,3573,3863,2445,1719,1811,2116,2380,1648,1774,2429,2623,2257,1996,2316,2294,2050,1714,2081,3389,3321,2818,2531,2557,2542,2358,1793,1636,1972,2419,2387,1981,2092,2023,1838,1710,1911,2050,1777,2157,2879,2577,2185,2336,1877,2063,2951,2905,2460,2585,2590,2901,3143,3117,2941,2763,2878,2790,2430,2546,2627,2753,3155,2916,2511,2258,2310,2721,2841,2787,2823,2658,2585,2668,2819,2361,1788,2422,2741,2509,2125,2583,2953,2420,2330,2827,3073,2723,2352,2585,2498,2541,2586,2536,2275,2402,2662,2921,3238,3198,3309,3433,3651,3602,3283,2774,3024,2891,2875,3096,3233,3350,3272,3196,3538,3333,2484,2102,2030,2031,2050,1820,1875,2319,2038,1885,1958,1878,1938,1978,1989,2202,2089,2245,2107,1842,1656,1545,1801,1974,2109,2440,2471,2379,2126,1865,2432,3278,3155,1970,2077,2681,3109,3062,3221,3596,3316,2945,3385,3130,2507,3084,3754,4140,3851,3414,3841,3972,3984,3736,3237,3670,3830,3762,3618,3716,3795,3753,4141,3908,3790,4049,4152,4157,4153,3462,3064,3088,3183,3248,3220,3261,3540,3919,4256,4230,4187,3912,3792,4131,4073,3948,4130,4258,4093,3584,4133,4501,4018,3987,3862,3853,3909,3685,3614,3527,3721,4195,4304,4273,4264,4243,4081,4050,3520,2540,1869,1776,2020,1841,1826,1760,1892,1694,1875,2020,2844,2792,2603,3145,3917,4034,3072,1943,2451,3018,2498,2005,2259,2485,3007,3791,3698,3181,2567,2329,2226,1904,1632,1470,1609,2064,2338,2883,2640,2059,2026,2845,3498,3325,2430,1769,1855,2068,2742,2863,2007,2412,3020,3903,4374,4472,4629,3885,3305,3168,1932,1694,1933,2121,2561,2285,2155,2419,2643,2546,2630,2386,1754,1847,2404,2505,2438,3121,3272,2607,1991,1635,1472,1556,2026,2286,2110,1913,1672,1683,1920,2331,2552,2624,2988,2996,2325,2087,1970,2370,2807,2561,2328,2113,2182,2190,2071,1423,1549,1766,1787,1845,1936,1815,1969,2060,2209,2388,2177,2050,1804,2037,2485,3043,2698,2438,2137,1938,2405,3167,3266,2445,1731,2056,3232,3604,3571,3329,3363,3373,3369,3704,3642,3195,3326,3094,1393,1106,1870,2600,3661,3585,3285,3406,3200,2626,1974,1596,2691,3423,3138,3421,3842,3916,3262,2750,2281,2164,2430,2710,3089,2796,2865,2645,2526,2630,2918,2978,2698,2749,2533,2640,2906,2744,2867,2666,2754,3094,3190,2342,1805,2147,2445,3105,3444,3779,2970,2866,2911,2385,2128,2088,1826,2074,2823,2554,2742,2973,2998,2911,2841,3117,2963,2307,2243,2414,2375,2350,2518,3406,3525,2888,2698,2191,1883,2435,2408,1872,2382,3250,2955,2809,3138,2687,2685,2746,2155,1677,2492,2771,2122,2076,2184,1902,1934,2609,2701,2652,2270,2289,1948,1778,1969,2270,2156,1390,1019,1797,2101,2007,2399,2248,1923,2062,2325,2509,1935,1891,2079,2085,2215,2444,2705,2655,2425,2498,3163,3526,3228,3175,2977,3020,3353,3284,2811,2788,2942,2407,2055,2034,2071,2380,3530,3811,3838,3780,3860,3750,3172,2576,2296,2657,2683,2031,1743,2413,2756,2092,1824,1852,1859,1873,1908,1930,1910,1898,1920,1827,1714,1896,1811,1647,1679,1688,1687,1661,1617,1620,1582,1483,1395,1374,1382,1354,1346,2179,2178,2107,2764,2711,1940,1884,1902,1434,1348,1631,1940,1420,1449,1546,1994,2267,2280,2678,2696,1785,1295,1631,2125,2286,1960,1803,2020,2144,2158,2029,1760,1804,2163,2082,2291,3050,2612,2462,2581,2226,1868,1532,1754,2540,2362,1986,1947,1887,1874,2178,2425,2226,2157,2834,3019,3103,3178,3813,3288,2618,3093,3616,3749,3762,3937,3727,3583,4100,3951,3486,3227,3174,3537,3781,3709,3735,3858,3303,3273,3742,3449,2995,3007,3144,2863,2480,1741,1835,1876,2246,2451,2165,1779,1943,2020,2569,2668,2746,3504,3080,2987,3153,2508,2308,2709,3075,3072,3165,2965,2291,1607,2222,2380,1684,1687,1876,1974,1784,1642,1921,2580,2493,2024,2303,2022,2388,2449,2144,2281,2343,2104,1852,1862,1772,1455,1642,2018,1970,2114,2079,2324,2657,2324,2050,1909,1765,1544,1356,1750,2199,2195,1896,1685,2100,2200,1971,1789,1809,1592,1713,1888,2463,2532,2398,2734,2024,1767,1665,2005,2679,2557,2150,2419,2251,1594,1715,2056,1807,1578,1652,1709,1989,2696,2581,2302,2251,2342,2696,3362,3735,3063,2166,1642,1957,2386,2453,1865,1712,2295,2417,1840,1820,2152,2092,2015,2133,2197,2121,2468,2269,2922,3564,3156,2165,2086,1906,1800,1797,1372,1509,2129,2134,1691,1671,1607,1798,2013,1934,2009,2056,1904,1913,1875,1865,2151,2585,3277,2817,2831,3255,3187,3104,2988,2668,2761,3256,3523,3382,3044,2294,1994,2334,2454,2746,3216,3299,2566,2418,3027,3726,3969,3621,2944,2625,2714,2995,3050,2679,2312,2375,2345,2646,2746,2707,3154,3732,3869,3613,3270,3249,3313,3466,3042,3265,3754,3896,3901,3762,3664,3426,2663,2696,2305,1310,1311,2066,1684,1313,1586,2323,3088,3132,2552,2647,3416,3328,2931,3024,3286,3577,3272,3637,3666,4042,4344,4381,4256,3737,3220,2270,2469,2375,2251,2078,2112,2668,3541,3906,3583,3650,3854,3657,3730,3710,3816,4120,3774,3020,2872,2365,2181,2490,2620,2700,2761,2829,2675,2208,2083,2855,3239,3127,3275,3273,3549,3776,3739,3532,3499,2896,2774,2969,2674,2277,2004,2931,3594,3019,2164,2192,2457,2430,2323,2386,2820,3561,3533,2385,2765,3626,3418,3177,3504,3714,3160,3124,2839,1989,2235,2752,2898,3393,3770,3967,3715,3474,3061,2945,3016,3022,2933,2866,3310,3563,3363,3450,3493,3212,2951,1965,1768,1861,1654,1509,1638,1747,2424,3060,2583,2175,1901,1670,1780,1698,1737,1698,1754,1793,1836,2102,2460,2823,2928,2248,2544,2531,2321,2452,3428,3973,4104,3812,3570,3767,3805,3223,2414,2383,2498,2517,2503,2399,2342,1993,1804,2095,2370,2780,2959,2881,3081,3098,2834,2913,2656,3129,3006,2696,2270,2390,2469,3030,3421,2954,2750,2923,2362,2333,2784,2668,2655,2474,2701,3060,3124,2711,1502,1355,1577,1488,2018,2304,2382,2402,2484,2755,3088,3106,2568,2084,2084,2374,2374,1876,1927,2137,2430,3371,3274,2776,2354,2280,2340,1953,1793,1935,1922,1880,1815,1654,1722,1950,1824,1122,1713,1984,1791,1528,1740,2163,2261,2087,2046,1818,2057,1736,1691,1880,1860,2099,2452,2352,2213,2342,2447,2057,2065,1904,1827,1898,2568,1839,2093,2064,2193,2266,2020,1904,1926,2015,2062,1873,2386,2487,2289,1838,1985,2319,2449,2124,2189,2608,2347,2001,2038,1918,1706,1608,1632,2403,2209,1896,2540,3188,2687,2075,2060,2412,2884,3277,3711,3825,3329,2676,2385,2375,2371,2631,2819,2683,2743,2725,2517,2465,3146,3392,3027,3050,3145,3303,3432,3754,4035,3646,3567,3795,3740,3303,3194,3544,3585,3190,3327,3451,3441,3601,3537,3521,3769,3768,3230,2927,3082,2974,3475,3425,3156,3263,2711,2602,2865,2965,2974,2863,2589,2340,2524,3349,3504,3426,3118,2894,2710,2852,3251,3754,3650,2640,1764,1996,2244,1844,1931,2249,2517,2085,1614,1757,2647,2701,1625,1708,2042,2171,2482,2165,1712,1683,1844,2129,2474,2566,2093,1579,1488,1843,2308,2879,2888,2653,2327,2499,2461,2159,2114,1955,2062,1747,2120,2597,2447,2325,2383,2932,3488,2999,2848,2421,2267,2490,2722,2700,2150,2564,3702,3588,2225,1975,1735,2255,3130,2900,2921,2333,1989,2146,2233,2595,2620,2272,2506,1880,2255,2557,2995,2785,3310,2770,2509,2998,3021,2921,3132,3253,3204,2758,2675,2369,2283,2607,2290,2100,2161,1972,1992,2618,3471,3185,2083,2028,2014,2064,1981,2023,2348,2495,2530,2587,2800,2541,1886,2455,3495,3589,3715,3151,2281,2226,1831,1621,1985,2669,2899,2189,1836,1645,2091,2578,2686,2815,2216,2256,2972,2956,2962,2808,2346,2501,2536,2853,2953,3207,3300,3349,3500,3326,2810,2757,2718,2449,2451,2709,2353,2296,2716,2676,2924,2831,2543,2884,2923,2976,2966,2916,2677,2798,3305,3329,3187,3084,3065,2845,3221,3436,3414,3166,2792,2952,3632,3207,2790,3171,3053,2900,2724,2655,3175,3982,3639,3209,3007,3372,2890,2531,3210,3348,2976,2686,2194,2117,1633,1497,2257,2692,2416,2065,1981,1689,1623,1622,2221,3237,3086,3008,2377,2258,2147,1668,1483,1831,1986,2259,2641,2586,2662,2952,2696,2724,3040,2481,2844,3266,3585,3616,3081,2535,2359,2544,2558],[3898,3597,2824,2644,3055,3328,3392,3249,2949,3011,3319,3554,3582,3211,2639,2169,1944,2015,2525,3187,2986,2554,2277,2160,2417,2867,3053,2354,2430,2889,2678,2544,2580,2679,3255,3278,3006,3146,3030,2643,2808,3083,3233,2786,2322,2401,2427,2384,2230,2307,2470,2713,3050,3688,3652,3359,3598,3666,3532,2319,1709,2107,2272,2091,2530,3526,4000,3838,3295,2867,3418,3183,2676,2709,3011,3289,3409,3110,2912,2765,3149,2325,1685,1874,2152,1930,2032,2026,2138,2436,2398,2176,1762,1648,1790,2236,2574,2198,2236,2405,1954,1772,1905,2352,2494,2394,2360,2293,2458,3110,3189,3281,3530,3204,2802,2644,2858,3162,3260,3537,3636,3375,3558,4095,3583,3274,3163,2871,2667,2752,2555,2355,2531,2668,2718,3042,3383,2901,2567,2689,3318,3768,3540,3341,3855,3942,3648,3293,3000,2974,3651,3506,3274,3307,3620,3837,3288,2247,2029,2614,2906,2468,2242,3174,3109,2065,1792,1793,1958,2022,1814,1547,1535,2023,2686,2675,2463,2633,2809,2699,2046,2243,3132,2473,2494,2027,1770,2025,2332,2120,2272,2920,2534,2568,2673,1859,2060,2367,2246,2037,2150,2785,2940,2683,3022,3636,4013,3661,2393,2059,2898,2712,2438,2646,2630,2692,2836,2773,2959,2762,2332,2370,2443,2640,2354,2347,2272,2253,2386,2652,2540,2368,2454,2488,2098,2222,2631,2341,2390,1465,1221,1553,2052,3137,3263,3226,3218,3042,3159,3365,3530,3931,3771,2465,1942,1936,2494,2730,1809,1987,3548,4241,3440,2872,2945,2685,2534,2289,2388,3285,3271,2572,2480,2571,2819,2755,2104,2242,2254,2382,2300,2320,2237,2040,1774,1998,2344,2461,2446,2648,3262,2988,2381,2696,2228,2232,2822,2339,1994,2147,2661,3159,3252,3133,2790,2438,2382,2225,2432,2428,2564,2830,3295,2839,2647,2756,3044,2784,2469,2473,2505,2504,2546,2456,2646,2436,2308,2714,2950,2830,2832,2730,1906,1620,2088,2712,2934,2419,2348,2690,2676,2445,2398,2222,2422,2934,2712,2539,2552,2563,2676,2786,2830,3094,3052,2846,2469,2301,2518,2856,2880,2745,2945,3203,3427,2784,1963,2042,2313,2137,2001,2015,2278,2433,2588,2530,2314,1894,2078,1820,2131,2825,2198,1820,2271,1924,1764,1782,2170,2758,2724,2842,2774,2758,2530,2316,2482,3437,3188,2223,2255,2609,2900,3197,3556,3937,4132,4086,4360,3794,2997,3449,3893,4060,4064,3883,3786,3627,3636,3276,3386,4128,4100,4001,3957,3538,3439,3427,3952,3821,3152,3175,3464,4087,3792,2923,3307,3375,3517,3649,3727,3771,3746,4006,4272,4212,4156,3769,3479,4100,4119,4073,4172,4115,4001,3731,4187,4519,4208,3961,3697,3924,4223,3985,3919,3372,3061,3431,3828,4067,4187,4151,4123,3952,3383,2685,1682,1335,1390,1465,1645,1811,1816,2010,1888,1690,1910,2084,2366,3017,3469,3663,3197,2135,2168,2453,1940,2023,2669,2690,2865,3530,3700,3066,2388,2180,1762,1495,1419,1289,1543,1857,2248,2912,2350,1798,2078,2588,2894,2653,2502,2000,1890,2283,2928,2618,1916,2319,2797,3521,3890,3809,3598,2921,2626,2494,2190,2092,2292,2319,2500,2706,2490,2178,2122,2262,2134,1958,1859,2092,2254,2267,2048,2071,1840,1750,1660,2200,2307,1924,2133,2101,1982,2370,2358,1790,1448,1980,2305,2578,3200,3467,2880,2241,1831,2322,2311,2018,1864,1766,2007,2093,2016,1621,1544,1699,1587,1509,1764,2223,2468,2384,2312,2286,2138,2023,2414,2965,2736,2821,3108,2923,2345,2419,2636,3093,2901,1851,1422,2494,2811,3010,3188,3106,3090,3079,3112,3465,3550,3535,3602,3122,1956,2098,2460,2475,3203,3203,3232,3250,2489,2335,2623,1990,2254,2531,2132,2797,3520,3492,2713,2666,2110,2068,2346,2175,2204,2092,2507,2586,2108,2676,3204,2910,2607,2646,2099,2246,2412,2086,2145,2588,2693,2601,2702,2379,2394,3135,3338,3098,3132,3066,2863,3299,3295,2933,2138,2038,1902,2225,2800,2276,2670,2758,2542,2662,2776,2452,1683,1475,2047,2398,2696,2626,2419,2889,3160,2786,2508,2096,2206,2691,2320,1806,1882,2896,2714,2968,3210,2663,2341,1865,1798,1862,2126,2118,1548,1950,2101,1669,2168,3183,2496,2374,2192,2056,1928,1676,1816,2232,2211,1793,1676,2035,1798,1989,2508,2222,2170,2152,2381,1987,1649,2121,2381,2497,2801,2856,3173,3000,2949,2465,2783,3184,3184,3167,3001,2835,3062,3265,3030,2447,2356,2418,2317,2654,2812,2321,3203,4078,4020,3890,3897,3687,3163,2591,2364,2545,2046,1792,1910,2787,2755,1963,1782,1846,1856,1857,1880,1931,1970,2024,2050,1764,2192,2502,2187,1904,1854,1825,1864,1886,1755,1627,1580,1595,1388,1293,1276,1289,1365,2058,2298,2599,2819,2284,1943,2041,1641,1441,1350,1667,1808,1675,1600,1457,1882,2290,2452,2575,2359,2198,2022,1907,2342,2273,2470,2175,1949,2249,2324,2093,1912,2029,2317,1959,2469,3362,2628,2357,2407,1892,1711,1754,1795,2195,2388,2265,2087,1803,1971,2133,1962,2304,2547,2361,2173,2404,2757,3117,2666,2727,3251,3388,3506,3399,3496,3905,3732,3628,3508,3068,2840,2801,3009,3291,3273,3471,3715,3448,3859,3738,3139,2458,2821,2835,3051,2750,2255,2008,2292,2799,2102,1741,2082,2442,1813,2603,2376,3134,4180,3562,3226,3416,3355,3188,2807,2516,2678,3002,2553,1783,1418,1522,1519,1695,2125,2566,2391,1990,1990,2579,2897,2748,2496,2626,2568,2592,2403,1996,2254,2907,2855,2191,1808,1937,1928,2187,2788,2386,1974,1571,1699,2347,2129,1684,1650,1641,1466,1367,1595,1730,1874,1790,1492,1488,1598,1712,2037,1762,1550,1551,1626,1936,1912,2035,2600,2050,1693,1518,1714,1959,1832,1757,1990,1916,2056,2708,2828,2255,1525,1692,1455,1730,2504,2684,2524,2276,1976,2096,2653,2714,1876,1690,2324,2270,2242,2391,2001,1995,2134,1840,1766,1969,1984,1845,1897,2164,2343,2076,2768,2812,3086,3352,3389,2857,2718,2513,1845,1639,1477,1666,2302,2426,2312,1824,1603,1641,1985,2213,2233,2093,1854,1813,1793,1874,2254,2807,3254,3239,3326,3309,2580,2343,2476,2627,2736,2990,3289,3605,3308,2459,2036,2583,2811,2682,2724,2730,2342,2375,2759,3458,3654,3472,2843,2534,2789,2889,3109,3047,2611,2346,2566,2898,2844,2824,3376,3673,3581,3495,3075,3023,3306,3495,2958,2943,3720,4301,4464,4235,4007,3497,2482,2962,1740,1286,1218,1364,1542,1487,1720,2291,2912,4012,4383,3507,3701,3626,3559,3839,3783,3720,3582,3617,3759,4004,4094,4264,4228,3912,3357,2524,3262,3631,2974,2382,2352,3010,4091,4119,3449,3499,4120,4209,4026,4006,3986,3730,3310,2984,2625,2630,2702,2521,2547,2845,2794,2845,2731,2331,2096,2777,3372,2877,2725,3121,3450,3583,3326,3177,3361,2796,2840,2510,1998,1964,2182,2968,3420,2657,2149,2253,2224,2167,2182,2342,2878,3746,3916,3127,2742,3312,3260,2833,2688,2481,2932,3666,2909,1917,2141,2618,2987,3631,3914,3741,3296,3012,3132,3257,3116,3125,2718,2242,2701,3327,3055,2637,1937,1931,2449,2194,1852,1622,1543,1431,1520,1780,1996,2165,2065,2041,1747,1532,1574,1747,1707,1708,1823,1644,1925,2531,2674,2335,2130,1593,2134,2753,2906,3023,2863,3301,3787,3569,3511,3853,3724,2698,2383,2360,2504,2450,2570,2532,2388,2142,1969,1974,2025,2272,2602,2240,2565,2959,2849,3232,3201,3304,2895,2502,2402,2351,2221,2700,2858,2858,3477,3614,2823,2750,3041,2940,2732,2487,1972,2131,2720,2110,1118,1577,2042,1896,2013,2437,2128,2500,2916,3116,3277,2978,2344,2088,2075,2115,2280,2095,1798,1929,1940,2709,3264,3355,3176,2688,2243,2105,2316,2169,1925,2322,2709,1790,1660,1980,1735,1701,2036,2349,2416,1775,1622,1873,1979,2200,1996,1757,1976,1759,1974,2124,2067,2630,2995,2688,2114,2285,2253,1663,1830,2032,1896,1964,2070,1792,2286,2447,2222,1904,2188,2540,2227,1709,1814,2012,2230,2298,1771,1545,2242,2379,1936,1814,1712,1686,1973,2291,2118,1848,1538,1514,1606,1785,1985,2388,3008,3308,3242,2855,2332,2271,2807,2849,3632,3951,3796,3463,3018,2318,1950,2433,2599,2510,2564,2544,2426,2600,2967,3319,3275,3393,3247,3192,3422,3632,3676,3437,3425,3681,3836,3438,3226,3137,3195,3219,3278,3388,3444,3473,3262,2878,2990,3008,2574,2486,2596,2213,3104,3214,2921,2964,2319,2250,2819,3496,3661,3381,2522,2330,3243,3961,3770,3453,2949,2500,2899,3205,3130,4133,4104,2783,1904,1730,1730,1900,1938,1716,2108,2098,1918,2495,3019,2967,2584,2511,2745,2442,2358,2266,1992,2063,2067,2256,2798,2584,2094,1918,1858,2267,2771,3035,3155,2489,2342,2434,2232,2985,2810,1812,1863,1760,1931,2396,2149,1922,2444,2684,2432,2332,2728,2590,2478,2654,2786,2491,2156,3276,4332,3951,2842,2891,2466,2635,2925,2785,2611,2094,1897,1831,2037,3138,2871,1845,2494,1793,1638,2524,2884,3118,3476,2975,2774,3200,3162,2931,2889,3120,2884,2162,2895,2736,2891,2994,2405,2054,1866,1790,1923,2196,2688,2372,2288,2681,2254,2214,2514,2438,2563,2789,2514,2514,2537,1854,1619,1910,2436,2994,3847,3188,2641,2226,1627,1861,2676,3129,2897,2305,1855,2071,2777,2476,1938,2177,2454,2465,2862,3012,2977,2912,2638,2577,2542,3109,2632,2678,3151,3321,3134,2523,2592,2662,2437,2452,2542,2842,2796,3088,2716,2489,2922,3076,3059,2945,2864,2852,2493,2471,2668,3032,3089,3128,2998,2865,2898,2768,3052,3466,3382,3005,2608,2682,3361,3685,3477,3448,3309,3296,3166,3217,3516,3835,3724,3539,3585,3416,2630,2186,2689,2790,2533,2723,2348,1848,1427,1593,1922,2823,3019,2447,2030,1591,1606,1882,2906,3212,2111,2160,2084,2048,1796,1648,1750,1748,1866,2105,2069,2293,2568,2670,2630,3299,3204,2949,2980,2461,2585,3343,3538,2833,2445,2814,2745],[3730,2902,2004,2238,2866,3628,3551,3671,3607,3421,3476,3748,3782,3217,2874,2599,1920,1944,2398,3253,3120,2387,2104,2354,2990,3331,3176,2136,2063,2995,3018,2598,2444,2418,3136,3265,3033,3222,3339,2840,3089,3040,2900,2388,1897,2194,2344,2350,2143,2307,1885,2423,3010,3250,3219,3284,3285,3216,3042,2634,1992,1919,2329,2610,3377,4001,4193,3930,3429,3628,4244,4266,3387,2907,3189,3571,3652,2755,2409,2476,2386,1951,1960,2049,2242,2057,1819,1847,2112,2404,2532,2648,2410,2076,2003,1939,1951,2131,2220,2150,2098,2016,2225,2599,2535,2580,2688,2048,1747,2513,2662,2437,2448,2271,2384,2735,3105,3084,2720,3262,3403,3029,2966,3794,3676,3431,3351,2964,2721,2801,2562,2206,2423,2619,2637,2909,3305,2967,2850,2834,3353,3740,3296,2828,3144,3709,3662,3206,2854,3031,3533,3331,3326,3339,3274,3331,3060,2635,2874,3310,3219,2666,2424,3288,2845,1874,1720,1831,1998,2155,2046,1924,2016,2395,2719,2616,2316,2542,2386,2313,1800,2222,2536,2405,2641,2166,1858,2140,2494,1862,1923,2566,2634,2396,2680,2454,2737,2763,2341,1807,1948,2940,3509,3617,3963,4250,4285,4008,2439,2043,2477,2252,2208,2253,2709,3204,3021,2729,2422,2295,2311,2766,3023,2806,2879,2769,2523,2400,2514,3141,2939,2579,2271,2366,2166,2575,2974,2876,2808,2494,2110,1703,2072,2881,3020,3031,3152,3321,3229,2896,2399,2944,3178,2303,2310,1967,2335,2754,2087,2331,3624,3776,3438,3116,2452,2544,2593,2359,2562,3318,3177,2382,2352,2732,2856,2997,2511,2670,2357,2514,2232,2257,2398,2442,2138,2145,2487,2724,2287,2361,3349,2697,2746,3242,2575,2303,2071,1989,1836,1951,2643,3042,2979,2863,2351,2072,2099,1909,2332,1865,2061,3222,3580,3140,3096,3318,3042,2257,2304,2141,2447,2715,2844,2587,2745,2644,2898,3113,2924,3218,3925,2949,1927,2324,2692,2519,2036,1658,2456,2979,2896,2496,2389,2604,2963,2865,2626,2532,2469,2443,2386,2471,2431,2583,2716,2647,2370,2399,2619,2733,2521,2381,2515,2857,3000,2773,2245,2309,2653,2214,2024,2580,2321,2070,2469,2496,2342,1743,2106,1970,1996,2708,2342,1788,1742,1787,1859,1690,2056,3126,3343,2980,2713,3073,3124,2742,2435,2499,2322,2225,2160,2424,3134,3453,3435,3717,4038,4717,4681,4131,3816,4121,3992,3840,3851,3652,3318,3257,3524,3265,3487,4058,4058,3914,3993,3739,3705,3854,4046,4176,4156,3628,2619,3572,3035,3062,3414,3399,3637,3748,3729,3716,3623,3847,4347,4117,4189,4177,4301,4284,4120,4119,4179,4213,4000,3830,3789,3482,3317,3248,3471,4287,4174,3708,3440,2765,2606,2641,2673,3292,4087,4156,3698,2857,2741,2499,1930,1271,1343,1754,1850,1779,1649,2024,2014,1712,1763,1954,2044,2334,2237,2545,2331,1942,1764,2170,2109,1868,1992,1829,1869,2152,2463,2423,2327,1895,1453,1392,1362,1379,1569,1706,2120,2414,2080,2088,2331,2423,2386,2441,2468,2172,1853,1783,2461,2714,2181,1796,2241,3052,2994,2489,2184,2056,2444,2554,2458,2358,2664,2787,3103,3013,2169,1426,1406,1867,1887,1944,2446,3035,2788,2333,2048,1948,1638,1311,1233,1596,2192,2137,2209,2645,2902,3028,2348,1835,1583,2040,2865,2890,3044,3105,2691,2355,1854,2041,2313,2005,1651,1479,1571,1860,1820,1465,1780,2510,1914,1530,1760,2298,2272,1912,2096,2523,2425,1946,2700,3495,3123,2767,2747,2527,2250,2294,2833,3424,2751,1773,1832,2611,2493,2691,3077,2859,2864,3012,2956,3089,3447,3653,3708,3497,3121,2887,2746,3022,2972,2774,2885,2709,2495,2764,3607,3515,2813,2231,1694,1758,2654,2897,2626,2612,1877,1552,1908,1925,1910,2164,1946,2066,2020,2640,2906,2662,2687,2828,2808,2755,2675,2429,2257,2854,2219,2211,2311,2169,2445,2648,2712,2622,2400,2625,3039,3522,3496,3185,3307,3273,2908,2567,2377,2388,2541,2288,1807,2041,2494,2254,1892,2021,2687,2590,2753,2711,2294,2704,3174,2900,2543,2541,2744,2419,1936,1912,1737,2334,2822,2929,2754,2842,2588,2015,2027,2233,2041,1959,1729,1774,2396,2508,2879,2530,2003,2141,2232,2407,2117,1834,1765,1735,1794,1774,2049,2331,1748,1946,2633,2732,2618,2313,2069,2047,2502,2731,2807,2566,2841,3076,3480,3785,3423,2343,2622,3164,2985,2930,2554,2080,2293,2780,2525,2565,2256,2360,2995,3280,3251,3185,3708,4156,3973,3839,3804,3698,3245,2596,2366,2881,2669,2280,1943,2488,2432,1832,1882,1887,1833,1842,1869,1869,1911,2070,1940,1709,2468,2754,2319,1936,1678,1559,1738,1933,1774,1654,1830,1728,1484,1381,1339,1293,1507,1864,1766,1831,1834,1865,1828,1876,1877,1545,1600,2017,1914,1827,1751,1531,1895,2336,2257,1912,1697,2005,2244,2298,2542,3462,3561,2768,2025,1909,2386,2420,1973,1981,1844,1767,2165,2678,3263,2887,1967,1694,1717,1745,1849,2121,2237,2085,1959,2125,2211,1936,1699,1986,1866,1656,1879,2307,2809,2547,2186,2595,2855,3266,3500,3520,3174,3444,3650,3675,3497,3143,2991,3122,3005,2934,3172,3834,3891,3592,3838,3569,2711,2408,2796,2761,3165,3580,3576,3173,3152,3056,2308,1785,2454,3076,2119,2136,2504,3486,4396,4140,3698,3503,3486,3539,3219,2631,2222,2200,2166,1676,1405,1570,1975,2279,2614,2690,2207,2253,2287,3186,2502,2563,2398,2535,2800,2429,2335,2263,2393,3061,3250,2405,1852,1879,1897,2105,2302,1909,1631,1729,1660,1766,1793,1550,1559,1488,1439,1461,1527,1510,1540,1572,1427,1397,1528,1813,1818,1602,1481,1355,1398,1482,1892,2014,2425,2041,1575,1538,1602,1639,1619,1625,1737,2065,2929,2592,2309,1937,1482,1520,1452,1521,2144,2595,2742,2468,2166,2424,2484,1992,2054,2777,3440,2854,2150,2175,2343,2099,1892,1923,1703,1854,1960,1533,1349,1881,2314,2144,2980,3265,3178,3215,3031,2836,2895,2532,1888,1776,1523,1653,1898,2414,2369,1867,1601,1632,2121,2802,2988,2137,1766,1869,1942,2241,2700,3155,3333,3436,3516,3361,2707,2076,2317,3032,3140,3275,3054,3554,3274,2519,2067,2334,2743,2387,2194,2071,2059,2718,3010,3067,3243,3130,2764,2728,2986,2969,3162,3227,2829,2531,2588,2898,2915,3108,3748,3747,3646,3205,2664,2712,3053,3188,2820,3118,4176,4679,4735,4384,3949,2952,2784,2423,1663,1598,1841,2048,1821,1764,2146,2474,2660,3597,4312,3598,3416,3403,3427,3702,3875,3903,3779,3647,3720,3616,4029,4296,4038,3529,3141,3388,3986,4485,3994,2976,2357,3254,4063,4301,4141,3875,4307,4471,4340,4072,3876,3494,3274,3132,2943,3006,3213,3074,2663,2555,2508,2711,2822,2401,2222,2730,3466,3261,2790,3052,3463,3326,3277,3393,3763,3175,2228,1796,1641,1877,1715,1976,2420,2455,2599,2389,2231,1901,1814,2055,2314,3190,3349,3106,2714,2883,2890,2726,2535,2546,2776,3308,2915,2528,2733,2909,3230,3662,3704,3469,3165,2976,3156,3526,3588,3532,2819,2140,2397,2628,2188,1752,1605,1781,2243,2634,2144,1538,1522,1512,1699,2208,2069,1983,1910,1630,1642,1742,1593,1644,1808,1923,1861,1917,2306,2467,2809,2510,2035,1803,2439,3033,2999,2901,2938,2861,3021,3180,3010,3808,3162,2458,2711,2383,2250,2461,2386,2265,2266,1964,1830,1872,1869,2378,2543,2025,2134,3018,2972,2927,3057,3476,3332,2679,2846,2713,2569,2533,2701,2411,3362,3462,3143,3001,2977,2784,2521,2002,1456,2164,2489,1843,1632,1918,2062,1939,2201,2376,2210,2585,2879,3220,3438,2830,2130,2112,2186,1818,1671,1631,1518,1700,1998,2798,3776,3732,3012,2808,2450,1997,2314,2056,2209,2690,2615,1835,1696,1564,1419,1975,2446,2430,2556,2038,1614,1587,1549,1927,2048,2050,1925,1663,2029,1989,1907,2413,3228,2923,1968,2002,1679,1524,2119,2235,2025,2076,2015,2337,2697,2412,2559,2379,2418,2310,2428,2018,1920,2079,2104,2124,1581,1621,2167,1958,1653,1474,1576,1884,2622,2387,2285,2096,1711,1519,1510,1773,2163,2370,2490,3056,3128,2933,2604,2289,2662,2764,3472,3808,3649,3418,3222,2563,1836,2237,2526,2454,2732,2685,2417,2852,2933,2900,3058,3486,3771,3914,3731,2932,3056,3349,3094,3281,3749,3635,3422,3466,3836,3725,3339,3203,3298,3539,3465,2962,2886,3027,2690,2553,2639,2286,2599,2669,2321,2567,2332,1874,2169,2705,2641,2722,2409,2440,3354,3753,3330,3047,2548,2731,3726,3262,3251,3896,3887,2562,1853,1666,1805,1983,1866,1873,2135,2038,2575,3475,3484,2931,3106,3350,3427,2877,2499,2360,2349,2626,2837,3044,2974,2618,2325,1873,2190,2923,2858,3098,3563,3572,3292,2521,2136,2354,1729,1815,1769,1793,2223,2365,1712,1969,2799,2687,2510,2709,2586,2009,1981,2252,2218,1931,2254,3551,4074,3902,3830,3279,2590,2386,2043,2009,2169,1941,1700,1829,1757,2947,3195,2213,2412,2044,1919,2374,2689,3144,3392,3281,2793,2354,2667,2284,2307,2757,2569,2666,3227,3117,3363,3260,2349,2020,1774,1703,1738,2146,2176,2257,2598,2688,2314,2006,2018,1980,2225,2634,2450,2309,2293,1587,1661,1808,1613,1713,2687,2698,2281,1945,1724,2194,2923,2483,2343,2311,1594,1621,2063,1787,1511,1825,2337,2411,2635,3075,3433,2956,2567,2403,2867,3003,2677,2811,3240,3107,2315,2068,2238,2189,2232,2326,2404,2573,2691,2728,2677,2481,2729,2632,2520,2408,2474,2754,2613,2730,3133,3352,3266,3049,2862,2748,2739,2769,3089,3528,3370,2842,2490,2264,2906,3632,3419,3239,3071,2883,2707,2994,3183,3011,2883,3575,3755,3388,2842,2240,2501,2588,2620,2482,2094,1673,1497,1734,2308,3349,3938,3330,2553,2071,2126,1795,2196,2310,1776,1719,2334,2200,1738,2061,2447,2180,1764,2384,2372,2570,2314,2344,2383,2665,2502,2380,2623,2319,2099,2621,2971,2991,2797,2776,2656],[3139,2194,2004,2044,2317,3094,3307,3471,3219,3074,3559,3636,3322,3036,2985,2924,2040,1967,1934,2534,3106,2950,2736,3185,3253,3065,3369,2989,2833,2955,2788,2371,2440,2419,2916,3278,3599,3716,3764,3409,3585,3154,2483,2426,2269,1991,2196,2382,2401,2256,1808,2358,2843,2940,2916,2905,2965,2951,2801,2862,2600,2131,3000,3581,3772,3829,4042,4017,3630,3741,4140,3937,3420,3186,3141,3222,2924,2119,2198,2446,2269,2004,2279,2375,2121,1853,1805,2043,2382,2459,2676,2875,2834,2578,2670,2050,1797,2004,1856,1769,1917,2060,2143,2231,1968,2342,2825,2289,2393,2450,2370,2192,1933,1940,2463,3334,3769,3260,2615,2939,3097,3022,3078,3706,4119,4356,3941,3094,2828,2964,2704,2281,2564,2580,2467,2988,2714,3017,3439,3165,2921,3355,3422,2697,2982,3472,3589,2694,2252,2678,2908,3171,3460,3570,3472,3154,2957,2853,3266,3160,2254,2147,2268,2630,2576,1958,1516,1746,1984,1792,1792,1535,1566,2061,2819,2580,1541,1685,1992,1958,1721,1791,1748,2235,2577,2626,2567,2384,2194,1807,2020,2383,2431,2305,2597,2570,2436,2033,1975,1786,1779,3274,4044,4083,3925,3750,3786,3708,2148,1643,2055,2211,2418,2526,2746,2810,2833,2792,2450,2295,2614,2302,3020,3583,3919,3320,2698,2516,2928,3338,2381,2080,2110,2669,2377,2470,2863,2866,3227,3637,3032,1904,1670,2067,2529,2692,2652,2766,2875,2468,2361,3217,2712,1859,1782,1693,2265,2673,2854,2993,3682,3624,3068,3094,2720,2824,2534,2051,2426,3206,2954,1959,1906,2771,2966,2957,2586,2542,2460,2464,2026,2009,2562,2522,2202,2319,2328,2441,2524,2285,3219,2521,2880,2965,2852,2576,2358,1983,1560,1742,2454,2935,2863,2397,1965,2033,2030,1708,2000,2131,2680,3273,3432,3387,3232,3421,3422,2675,2116,1879,2024,2612,2986,2941,3025,3068,2868,2874,2589,2556,2308,1985,2183,2851,3133,2742,1648,1521,2344,3065,2868,2385,2392,2482,2483,2607,2610,2446,2377,2258,2314,2388,2289,2340,2542,2509,2396,2438,2599,2652,2562,2327,2148,2103,2502,2640,2299,2040,2311,2302,2106,2098,1847,1772,2578,3067,2458,1711,1744,1776,2201,2538,1987,1808,2091,2105,2006,2003,1699,2592,3111,2880,3040,3352,3647,3381,2602,2319,2426,2541,2435,2344,2530,3563,3722,3448,3141,3942,4133,3840,3951,3971,4084,4038,3719,3347,3618,3154,3251,2900,2711,3595,4049,3694,3610,3994,4120,4188,4405,4287,4206,3796,2899,3396,2894,3097,3344,3396,3551,3702,3560,3362,3546,3469,4344,4116,4144,4155,4207,3970,4025,4192,4200,4164,3842,3680,3584,3347,3340,3487,3428,4091,4175,3414,2934,2159,1980,2001,1786,2356,3385,3483,2620,1721,1731,1709,1633,1551,1653,1866,2152,1991,1718,1964,2241,2458,2408,1997,1713,1951,2084,1897,1764,1636,1465,1871,1923,1677,1651,1760,1919,1866,1669,1832,1760,1495,1333,1590,1694,1606,1676,1728,1992,2089,1827,1898,2210,2171,2142,2730,2673,2148,1554,1771,2402,2254,2320,2052,2349,3094,2490,1951,1816,2027,2107,2110,1971,2139,2641,2910,3165,3064,2194,1470,1651,1975,1838,1732,2209,2933,2846,2101,1731,2119,1977,1300,1162,1641,2031,2187,2119,2074,2722,2710,1912,1662,1756,2734,3293,2719,2634,2542,2373,2766,2273,1815,2048,2037,1638,1496,1650,1670,1671,1405,1526,2309,2150,1847,1532,1674,1816,1980,2561,2952,2800,2373,2564,2918,2128,2039,2062,1773,1716,1901,3000,2857,1992,2037,2442,2707,2871,2888,3106,2775,2808,3138,3029,2920,3404,3643,3636,3514,3375,3026,2942,3173,3250,3063,2316,2271,2765,3392,4007,4006,3165,2335,1943,1894,2688,3373,2970,2459,1836,1647,1820,2279,2348,2546,2342,2092,2390,2688,2282,2257,2777,3052,3041,2357,2386,2397,2718,2946,1892,1789,2105,2075,2044,2032,1898,2224,2400,2990,3178,3256,3255,3118,3162,3637,3320,2397,2070,2148,2261,2110,1858,2316,2245,2291,3000,3150,2722,1997,2106,2314,2648,3301,3204,2738,2803,2845,2896,2652,2121,1966,1576,1707,2681,3109,3149,3200,2483,2027,2109,2069,2164,2073,2474,2447,2810,3131,3664,3321,2806,2641,2723,2875,2338,2084,1621,1655,1755,1811,1799,2401,2581,2722,2836,2910,2732,2426,2221,2266,2836,2932,2585,2525,2458,2507,2952,3167,2408,1742,2130,2676,2833,2818,2194,2106,2090,2141,2053,2407,2012,2430,3277,3296,3167,3105,3266,3812,3913,3924,3663,3353,2944,2619,2567,2872,2846,2413,2026,1915,1888,1750,1802,1911,1732,1782,1844,1772,1824,1953,1604,1703,2271,2053,1812,1805,1874,1949,1898,1816,1742,1659,1587,1534,1502,1511,1479,1390,1513,1722,1796,1790,1707,1704,1597,1532,1936,1894,1817,2101,2419,2569,2259,2005,2602,2746,2451,1931,1541,1749,2235,2259,1828,2852,3721,3248,2476,1855,2014,2006,1708,1991,1407,1337,1920,2102,2458,2052,1755,2002,2126,1693,1506,2076,2386,2081,1704,1801,1641,1634,1658,1696,1788,1993,2204,2442,2413,2065,2198,2391,2651,3436,3714,3583,3174,3067,3226,3278,3335,3052,2758,2773,2811,2930,2929,3248,3151,3499,4093,3907,3294,2939,2987,3338,3253,2641,3322,3292,3587,2957,2261,1742,2100,2545,1992,2371,3584,4111,4281,3572,3342,3255,3204,3654,3717,2673,2007,2190,2062,1669,1486,1804,2267,2490,2627,2408,2271,2343,2364,2932,1991,1862,2414,2796,2601,2292,2015,1781,1914,1982,1830,1584,1588,1750,1776,1781,1646,1664,1610,1556,1616,1627,1651,1518,1548,1484,1570,1661,1668,1848,1876,1692,1664,1649,1732,1686,1593,1754,1604,1350,1400,1571,1802,1853,2003,1830,1529,1727,1983,1992,2037,1762,1738,2288,3179,2348,1705,1455,1359,1290,1514,1999,2240,2316,2545,2153,2370,2954,2934,2185,2376,3122,3061,2473,1994,1998,1932,1477,1490,1721,1662,1846,1875,1556,1495,1983,2358,2237,2422,3055,3110,2979,2988,2562,2318,2054,1740,1692,1488,1599,1766,1959,1868,1816,1782,1963,2821,3519,2830,1729,1500,1896,1942,2306,3022,3567,3560,3427,3356,3343,3015,2613,2342,2439,2429,2344,2250,2879,2996,2709,2404,2211,2072,2179,2244,1826,2330,2821,2982,2613,2853,2922,2733,2673,2759,2770,2820,2834,2770,2689,2546,2824,3096,3327,3522,3516,3304,2665,2514,2768,2940,2980,2919,3471,4561,4908,4572,3241,2537,1952,2285,2110,1936,1897,2635,3653,3421,2871,2890,2815,2656,3273,3706,3654,3550,3548,3564,3687,4008,4092,4199,3949,3197,2683,3432,3585,3759,3408,3220,3694,4356,4841,4848,3898,2706,3528,3506,3471,3718,4045,4417,4721,4660,4528,4353,3917,3589,3449,3564,3292,3054,3107,2788,2323,2128,2562,2795,2807,2618,2773,3481,3518,2977,2752,3364,3528,3242,3330,3139,2366,1842,1589,1580,1588,1594,1865,1976,2039,1878,2053,2520,2266,2208,2410,2502,3047,3294,2966,2903,2842,2800,3021,2977,2878,2726,3106,3198,2798,2596,2866,3253,3361,3539,3551,3696,3475,3450,3243,3108,3396,3304,2714,2303,1898,1709,1577,1750,2160,2618,2658,2036,1646,1652,1692,1946,2224,2040,2195,1964,1593,1731,1630,1339,1281,1429,1555,1747,2400,2415,2501,2250,2235,2687,2907,3154,3396,2359,2100,3034,2909,2542,2967,3458,3619,2733,2874,2642,1881,1876,2245,2178,2336,2451,2083,2115,2198,2181,2744,2386,2201,2862,3133,2791,2994,3103,3220,3129,3209,3062,2622,3031,2999,3150,2810,3366,3462,3272,2840,2612,2481,2403,1888,1654,2824,2649,1946,1744,1821,1898,1775,2074,2080,2242,2752,2776,3200,3082,2789,2347,1883,1830,1593,1645,1455,1514,1717,1901,2918,3684,3268,3407,3328,3063,2247,2171,2105,2615,2281,1762,1679,1611,1508,1500,1766,2040,1713,1830,1910,1733,1526,1724,1865,1936,2586,2676,2213,2379,2117,1927,2056,3284,3243,2422,2043,1642,1893,2764,2771,2290,1928,1996,2077,2330,2187,2369,2208,1836,1793,2312,2127,1804,1620,1929,2135,1518,1635,1701,1881,2390,2093,1605,2561,3510,2964,2554,2233,1772,1698,1539,1711,2078,2136,1678,2208,2742,3206,3013,2599,3098,3759,3705,3377,3237,3283,3250,2586,1771,1676,2110,2376,3107,3352,3318,3422,3188,2871,3133,3793,3727,3834,3594,3026,3103,2988,3066,3663,3990,3780,3139,2963,3458,3340,3489,3285,3174,3274,3266,3282,3123,2829,2674,2579,2751,2919,2636,2374,1899,2370,2402,2304,2786,2568,2457,2526,2733,2747,2402,2452,2925,3065,2733,2718,2841,2564,2762,2833,3033,2450,1875,1730,1874,1973,1758,1875,2082,2202,2810,2535,2692,2958,3198,3077,3190,3198,2736,2335,2791,3286,3458,3701,3216,3134,2736,2379,2452,3363,3221,3033,3537,3796,3873,3137,2558,2623,2068,2091,1956,2031,1958,1815,1963,2658,2887,2687,2644,2589,2863,2495,2314,2457,2019,1589,1749,3008,3940,3994,3484,2821,2494,2001,1913,1964,1815,1841,1795,1977,1854,2403,2976,2808,2754,2664,2653,2752,2918,2905,3213,3131,2467,2453,2569,2232,2722,3120,2880,2907,2908,2927,3491,3271,2267,1916,2059,1859,1827,2093,2022,2423,2885,2836,2067,1603,1777,1613,1954,2291,2667,2150,2021,1951,2267,2212,1697,1622,1925,2093,1794,1531,1555,1860,2152,1797,1524,1825,1702,1531,1621,1799,1778,1938,2356,2280,2514,2957,3042,2888,2987,2751,2910,2577,2496,2951,3204,2643,2196,2448,1942,1754,1914,2178,2212,2218,2287,2283,2316,2442,2796,3033,2900,2508,2611,3197,3146,3095,3459,3349,3338,3240,3007,2787,2774,2988,3261,3364,3174,2501,2186,2587,3221,3494,3309,3480,3318,2691,2353,2392,2271,2097,2342,3307,3118,2923,2493,2155,3263,3132,2708,2380,1763,1560,1579,1810,2386,3505,3862,3500,2270,1956,2249,1858,1363,1678,1693,1446,1713,1844,1771,2133,2619,2067,1649,2509,3082,2831,2483,2328,2431,2945,2558,2147,2501,2509,2944,3074,2692,2979,2924,2492,2158],[2633,2491,2404,2169,2534,2820,2890,3067,2938,2541,2448,2867,2844,2835,3197,2979,2166,1829,1635,2053,2764,3403,3442,3545,3182,2822,3501,3774,3809,3573,2928,2309,2010,2403,3195,3718,3920,3949,3484,3118,3564,3146,2358,2069,1968,1795,2236,2687,3067,2868,2676,2613,2802,2945,2871,3008,3082,3049,2985,3154,3343,2920,3008,2971,3165,3421,3482,3319,2680,1959,2303,2381,2517,2699,2796,3266,2973,2164,1877,2130,1963,1791,2056,2214,2305,2323,1885,2025,2001,2328,2471,2699,2579,2680,2612,1885,1511,1698,1771,1550,1628,1774,1901,1870,1874,2558,3011,2626,2240,2601,2873,1791,1916,2177,2707,3746,3929,3429,2956,3100,3299,3312,3132,3407,4101,4531,4200,3440,2938,3450,3240,2774,3078,2877,2675,3254,2884,2995,3743,3305,2578,3353,3418,2524,2743,3176,3439,2987,2342,2055,2095,2822,3454,3461,3123,2797,2918,2930,2916,2743,1951,2552,3154,3219,2786,2148,1742,2123,2255,1813,1831,1684,1805,2126,2604,2229,1516,1285,1441,1587,1844,1895,1695,1675,1786,2374,2410,2090,1743,2252,2212,1755,1991,2143,1889,2227,2277,1815,2031,2145,2207,3743,3708,3426,3418,3184,3205,3520,2669,2229,2385,2540,2701,2265,2288,2500,2692,2706,2504,2495,2824,2576,2820,3018,3629,3599,2620,2237,2119,2358,2148,2244,2757,3152,2819,2551,2535,2672,2808,2569,2067,1711,1611,2086,2460,2415,2345,2802,3063,2460,2216,2956,2786,2036,2066,2150,2540,2481,2565,2561,2853,3367,3153,3106,3107,2876,2513,2240,2578,3171,3421,2169,1914,3057,3238,3029,2385,2712,2889,2481,2442,2536,2535,2387,2509,2720,2220,2329,2864,2684,2602,2319,2713,2949,2574,2390,2541,2202,1810,2018,2249,2396,2326,2007,2119,2290,2171,2115,1992,2228,2739,3088,3488,3672,3393,3386,3613,3283,2622,2579,2897,2943,3131,3255,2933,2956,2730,2787,2611,2689,1734,1864,2209,2694,3060,2945,2475,2422,2790,2644,2287,2225,2364,2466,2640,2626,2466,2409,2436,2476,2442,2397,2390,2471,2612,2524,2578,2634,2624,2670,2553,2289,2087,2296,2676,2621,2498,2136,2224,2666,2432,2589,2128,2068,2620,2813,2260,1620,1606,1586,1932,2449,2191,2093,2377,2417,2545,2482,1947,2465,3178,3239,3450,2894,2756,3098,2673,2543,2490,2413,2289,2148,2154,2967,3276,3400,2846,2749,3132,3317,3828,4105,4177,4030,3632,3278,3161,2226,2138,1932,2307,3646,4135,3632,3410,3896,4007,3979,4152,4143,3937,3096,3013,3317,3217,3361,3269,3260,3331,3403,3149,3092,3174,3495,4516,4348,4188,4365,3795,3357,3950,4339,4317,4099,3443,3516,3581,3617,3595,3706,3792,4185,3923,3295,2455,1646,1659,1490,1595,2010,2403,2224,1877,1787,1810,1505,1365,1556,1645,1761,1842,1896,1769,2087,2272,2340,2253,1751,1782,2201,2080,1874,1801,1654,1823,1954,2078,1961,1927,1925,2118,2297,1791,1951,1722,1436,1457,1694,1818,1753,1520,1962,2193,2101,1890,1792,2061,1832,1672,1980,1941,1815,1577,2143,2810,2384,2709,2690,2622,2686,2287,2319,2410,2592,2201,1730,1815,1612,1749,2710,3163,2647,2314,2689,2639,2409,1948,1826,2135,2530,2721,2123,1615,2029,2166,1598,1745,2080,2269,2765,2823,2332,2494,2554,2439,2562,2459,2706,2525,2274,2294,2320,2535,2592,2052,1637,1617,1794,1806,1722,1622,1743,2042,2336,2237,2281,2315,1924,1500,1553,2173,2782,2917,2878,2930,2945,2696,2874,1643,1921,1908,1601,1670,1832,2249,2251,2474,2741,2820,2984,3107,2785,2866,3179,3016,3024,2784,2717,3260,3629,3654,3550,3206,3063,3125,3201,3309,3117,2300,2320,3378,3958,3978,3921,3486,2734,2346,2719,3572,3917,3806,2823,1931,1640,2057,2469,2118,2236,2503,2052,2122,2378,2005,2209,2864,2884,2951,2814,2438,2331,2978,2731,2082,2060,2198,2388,2236,2026,1294,2266,3178,3238,2792,2585,2776,3016,3156,3604,2907,1729,1839,1816,1745,1960,2243,2277,1930,2105,3073,3064,2099,1634,1842,2173,2429,2733,2901,2998,3348,3074,2713,2911,2620,1932,1609,1790,2340,2994,3009,2791,2217,2178,2232,2326,2744,2822,2979,2925,2386,2106,2918,3523,2751,2622,2931,2932,2425,2003,1748,2138,2451,2208,2155,2475,2453,2154,2191,2394,2429,2262,2279,2120,1917,2052,1846,2112,2051,1974,2357,2287,1902,1901,2519,2805,2952,2834,2696,2928,2706,2671,2396,2051,1756,2269,3105,3216,3072,2762,2731,3516,3580,3164,2585,2386,2387,2277,2202,2276,2209,2334,2366,1976,1797,1976,2047,1775,1657,1743,1763,1786,1737,1669,1441,1885,2698,2417,1881,1934,2230,2633,2686,2241,1891,1691,1642,1526,1511,1488,1482,1460,1560,1731,1708,1598,1528,1648,1621,1496,1681,1792,1700,2100,2911,3296,2871,2583,2767,2508,2623,2331,1691,1786,2115,1715,1083,1336,2591,3207,2921,2508,1935,1912,1734,1740,1307,1238,1664,1920,2018,2282,2349,2465,2455,1651,1585,2260,2397,2110,1932,1919,1829,1654,1587,1548,1619,1709,2069,1996,1787,2015,2271,2482,3218,3974,3762,3530,3288,2955,3009,2822,3073,3062,2686,2754,2556,2976,3447,3781,3433,3505,4013,3596,3152,3183,3481,3542,3088,2352,2791,3050,3198,2519,1965,2001,2536,2706,2334,2835,3486,3371,3283,2838,2728,2546,3015,3454,3053,2306,2564,3013,2534,2291,2496,2066,1992,2141,2563,2981,2920,2281,2509,2797,2932,3220,3295,3334,2817,2767,2019,1796,1570,1447,1656,1694,1538,1646,1819,1749,1733,1866,1702,1564,1586,1606,2184,1971,1520,1474,1879,2183,1810,1886,2148,1811,1745,1798,1933,1688,1671,1564,1476,1683,2027,2068,1918,1858,1969,1651,1479,2585,3019,2336,2132,1761,1631,2000,2612,2216,1697,1584,1400,1474,1683,2088,2456,2587,2740,2521,2918,2968,3231,2430,1729,1949,2132,2371,2640,2145,1675,1856,1642,1681,1809,1643,1506,1600,1710,1757,2131,2239,2198,2557,2599,2909,2666,2236,2756,2428,1700,1612,1515,1505,1781,1947,2283,2368,2024,2391,3491,3564,3138,2028,1491,1533,2210,2673,2989,3580,3576,3336,3343,3273,3250,2963,2180,1977,1958,2159,2238,2462,2929,3146,2856,1918,1165,1990,2194,2136,2806,2924,2702,2706,2933,2899,2546,2093,2150,2332,2656,3143,3082,2948,2941,3183,3339,3028,2720,2797,2595,2343,2481,2780,2864,3549,3961,4128,4772,4889,3986,2720,1924,2112,2510,2059,2183,2033,2998,4284,4388,4099,3428,3097,3003,2964,3375,3960,4108,3974,3876,3783,4154,4111,4245,3471,2132,2309,3542,3785,4093,3746,3462,4448,4864,4979,4547,3469,2467,2988,3072,3006,3132,3522,4325,4842,4620,4477,4208,3848,3515,3194,3768,3541,3492,3618,3278,2966,2985,3215,3206,3018,2857,3276,3645,3674,3321,2732,2968,3407,3040,2933,2402,2236,2178,2103,1985,1718,1842,1998,2059,1790,1527,2053,2378,2316,2072,2056,2636,3346,3618,3729,3816,3348,3109,3034,2942,3478,3694,3702,3284,2666,2699,2918,2990,3230,3345,3049,3718,3593,3450,3265,3023,3400,3211,2363,1808,1695,1710,1931,2101,2412,2231,1737,1568,1618,1688,1643,1914,2008,1845,1870,1729,1630,1637,1450,1137,1243,1447,1638,1780,2431,2577,2006,1650,1926,2712,3252,3292,3083,2198,2330,2503,2612,2663,2599,2919,2453,2500,2530,2209,1933,1695,2008,2574,2566,2312,2160,2203,2737,2612,2678,2238,1989,2584,2777,2874,3127,2993,2502,2459,2742,2810,2906,2855,3166,3119,3137,3160,3095,2909,2156,2149,2536,2556,1851,1820,2309,2032,1786,1598,1772,1900,1793,1851,2087,2743,2903,2427,2756,2540,2482,2426,1756,1477,1454,1470,1490,1870,2461,2412,3150,3275,3032,3648,3163,2892,2395,2214,2337,2746,2641,2348,1872,1530,1447,1471,1861,1992,1837,1838,2008,2056,1896,1903,1941,1903,2294,2485,2501,2528,2078,1831,2191,2774,2908,2519,2690,2649,2501,2732,2536,2081,1845,2098,2029,1863,1985,1899,1636,1593,1801,1991,2018,2250,2208,2023,1847,1535,1902,2230,2426,3021,3128,2342,2831,3825,3633,3152,2519,1903,1611,1489,2126,2320,1925,1496,1832,2418,2997,2625,2596,3440,3351,2540,2052,2512,2890,2861,2124,1621,2002,2276,2500,3052,3310,3522,3544,3206,3013,3179,3640,3682,3448,3477,3541,3350,3221,4060,4553,4308,3683,2814,2829,3530,3150,3649,3318,3146,3198,3234,3232,2890,2547,2598,2593,2500,2351,2315,2274,1924,2427,2872,2641,2745,2564,2064,1953,2520,2747,2684,2692,2737,2679,2858,2933,3232,2623,1925,1812,1882,1743,1701,1794,1735,1663,1703,2021,2175,2486,2859,1996,2013,2768,3165,3167,3197,3385,3228,3186,3418,3589,3536,3904,3772,3222,2947,3100,2994,3243,3254,2954,3238,3454,3605,3178,2446,2324,2455,2486,2530,2497,2058,1802,2394,2817,2883,2787,2632,2197,2431,2535,2447,2430,2553,2312,2084,2626,3093,3193,2529,2422,2137,1639,1957,2242,1814,1757,2006,2239,2514,2645,2701,3166,3096,2854,3134,3016,3099,2997,2599,2184,1709,2155,2429,2765,3362,3461,3329,2957,2897,2974,3247,3538,2786,1997,2482,2592,2450,2063,1850,2066,2395,2416,1657,1492,1803,1934,2376,1969,2473,2465,2188,1767,2126,2398,1855,1504,1744,2241,1840,1847,1548,1629,1665,1763,1759,1764,1626,1642,1873,1815,1826,1939,2298,1993,2771,3182,2890,3089,3074,2840,2542,2114,1924,2375,2746,2114,1854,1531,1519,1574,1791,2149,2278,2330,2251,2053,2066,2371,2906,3279,3207,2938,3067,3220,2709,2937,3343,3239,3186,3021,2830,2785,2853,3134,3260,3052,2972,2234,2114,2372,2907,3478,3560,3432,3134,2274,2037,2792,2510,2474,2693,3177,3227,3046,2635,2460,2763,2366,2528,2446,1594,1446,1722,1827,2209,3248,3046,2533,1952,2145,2202,1783,1749,1872,1730,1626,1685,1835,1826,1975,2536,2711,2436,2718,3454,2976,2779,2935,2489,2194,2313,2556,2501,2720,3023,3151,3406,3107,2558,2117,2073],[2386,2309,2186,2156,2298,2320,2472,2954,3194,2739,2370,2454,2280,2054,2712,3216,2754,1978,1618,2045,2967,3782,3747,3481,3020,3066,3266,3772,3982,3573,2766,2347,2205,2642,3455,3718,3558,3727,3373,2911,3051,2654,2423,2243,1936,1809,2054,2482,3018,3458,3266,2394,2352,2913,2932,2964,2834,3139,3360,3540,3598,3153,2720,2514,2640,2920,3031,2944,2592,1959,1811,2071,1859,1973,2260,2875,3272,2291,1568,2269,2351,2166,2259,2151,2558,2835,2072,1944,2438,2328,2256,2556,2461,2510,2276,1769,1301,1478,1972,2360,2378,2077,1903,2270,2275,2797,3309,2930,2326,2779,3530,2539,2518,2512,3027,3907,4172,3718,3249,3260,3366,3286,3115,3049,3350,4193,4030,3183,3341,3850,3834,3745,3743,3607,3584,3521,3068,3073,3626,3152,2303,3125,3377,2504,2720,3251,3284,2906,2540,2875,3118,3318,3299,3140,2795,2791,2954,2377,2579,3356,3233,3054,2708,2859,2840,2329,1934,1999,1920,1781,1773,1936,1992,1931,2226,2518,2232,1731,1444,1644,2111,1741,1560,1794,1855,1988,1752,1602,1710,2276,2408,2082,1899,1266,1263,1910,2171,2066,2465,2609,2671,3519,3642,3451,3378,2993,3164,3815,3428,2830,2888,2834,2626,2410,2570,2697,2381,2316,1788,1800,2434,2591,2392,2278,2675,2684,2316,2413,2671,2975,2752,2751,3120,3445,3122,2701,2664,2714,2812,2322,1788,1684,1562,2021,2454,2520,2702,3168,3260,2762,2523,2632,3030,2916,2996,2459,1895,1728,1356,2232,2800,2866,3040,3203,3049,2857,2701,2486,2780,3104,3422,2250,2106,3031,3378,3315,2776,2715,2562,2052,2522,2670,2523,2259,2474,2688,2253,2290,2499,2291,2254,2712,2676,2115,1890,1905,1958,2193,2467,2442,2128,2208,2280,2110,2314,2684,2823,2863,2619,2632,3051,3093,3632,3742,3631,3262,3505,3638,3596,3619,3542,3363,3342,3425,3019,2901,2769,2563,2490,2609,2287,2586,2691,2721,3107,3226,2900,2673,2549,2558,2224,2356,2361,2418,2544,2407,2375,2457,2386,2425,2464,2526,2507,2483,2578,2657,2697,2631,2472,2492,2460,2118,2080,2822,3102,2928,2901,2780,2706,2799,2484,2651,2127,1940,1990,2440,2450,1829,1876,2106,2055,2482,2473,1917,1922,2170,2200,2484,2517,2773,3334,3464,3240,2915,3117,2979,2450,2381,2433,2397,1968,2004,2336,2303,2494,3248,3103,2983,3128,3587,3677,3802,4053,4213,3558,3515,3326,2203,1709,1682,2277,3682,4096,3881,3629,3850,3825,3425,3140,3235,3178,2192,2448,2728,2344,2552,2795,3150,2994,3037,3129,3516,3707,3969,4351,4347,4240,4391,3991,3726,4227,4496,4347,4240,3520,3573,3680,3553,3167,3431,3847,3746,3562,3254,2168,1272,1543,1469,1628,1780,2076,2293,1942,1757,2190,2056,2072,2140,1714,1851,2268,2261,1976,2077,2511,2398,2008,1753,1706,1776,1808,1881,1821,1592,2095,2331,2290,1797,2167,2062,1885,1994,2067,2207,2020,1802,1540,1886,1989,1922,1544,2308,2362,2043,1803,1847,2236,2007,1837,1893,1728,1607,1791,2330,2674,2805,3009,2980,2778,2994,2828,2889,3563,3646,2356,1917,2503,2042,1780,2727,3010,2155,2141,2974,3078,2282,1936,2008,1882,1982,2472,2802,2134,1917,1996,2013,2067,2146,3011,3504,3365,3092,2964,2792,2872,2896,2656,2521,2209,2185,1808,2148,2728,2467,2181,2082,1830,1715,1597,1497,1736,1801,2124,2273,2044,1919,2254,2071,1833,1606,1859,2530,2664,2348,2192,2714,2439,2485,2244,2304,1713,1473,1964,2226,2271,2477,2943,2958,2856,2946,3104,2852,2641,3106,3178,2987,2990,3205,3386,3465,3474,3405,3143,3066,2912,3075,3139,2890,2601,3001,3920,4057,3706,3897,3745,3405,3328,3869,3940,3977,3897,3008,2178,1890,1914,2056,2110,2727,3284,2676,1986,2097,2175,2548,2751,2766,2740,2321,2201,2443,2429,2248,2371,2186,2210,2521,2523,2140,1598,2468,3452,3230,2800,2558,2676,2467,2490,3414,2625,1843,1795,2125,2008,2306,2494,2416,2042,2024,2778,3074,2552,1940,1801,2100,2469,2329,2573,2705,3093,3008,2631,3012,3066,2329,2008,2261,2242,2706,2664,2430,2280,2242,1935,2391,2454,2645,2919,2722,2392,2294,2468,2292,1984,2152,2688,2664,2372,2045,1927,1968,2104,2251,2353,2143,1842,1816,1892,1937,2140,2179,2018,1918,1840,1942,2040,2323,2312,2146,2284,1964,1948,2405,2806,2832,3109,2361,2521,3137,3183,2855,2470,2290,2133,2360,3063,2917,3009,3110,3437,3561,3154,2715,2271,2292,2481,2280,2207,2186,1808,2024,2130,1898,1758,2205,2291,2096,2179,2078,1852,1561,1660,1647,1868,2386,2383,2240,1982,1736,1725,2453,2739,2662,2431,2126,1745,1588,1567,1410,1401,1605,1868,1918,1687,2041,1918,1788,1735,1743,1724,1541,1444,1852,2746,2907,2689,2843,2766,2441,2261,2293,2030,1992,1954,1240,1162,1555,2614,2975,2916,3121,3028,3454,2556,1611,1395,1709,1922,1836,2592,3191,2547,2076,2088,1603,1391,2282,2303,1741,2040,2822,2741,1919,1528,1607,1582,1676,1788,1623,1144,1264,1621,2029,3420,4239,3784,3818,3827,3309,3166,3051,3077,3161,3279,3553,2987,2839,3131,3559,3674,3727,3547,3233,3606,3728,3742,3128,2808,2955,3064,3021,2640,2105,2064,2257,2335,1984,2192,2862,2752,2886,2929,2977,3034,2739,2913,3054,2732,2260,2198,1886,1715,2457,3247,2953,3079,2674,2400,2531,2281,2341,2798,2813,2930,3129,2702,2190,1908,2076,2354,2086,1478,1376,1720,1848,1605,1436,1607,1734,1768,1766,1620,1476,1415,1547,2436,2071,1511,1595,2136,2316,1692,1848,2260,1880,1601,1829,2062,1754,1648,1680,1550,1891,2388,2226,1918,2108,2376,1666,1388,2327,2940,2337,1769,1642,1677,1973,2304,2234,2546,2186,1588,1752,2216,2110,2526,2576,2330,2662,3078,3064,3090,2544,2078,1956,1771,2286,2421,1783,2018,2592,2076,2156,2010,1642,1842,2341,2363,1865,1657,1740,1934,2046,2536,2633,2477,2503,2763,2619,2274,2362,2166,1636,1770,1994,2309,2251,1848,2250,3354,3461,3416,2561,1757,2035,2853,3176,3296,3529,3463,3492,3451,3255,3376,2877,2148,2351,2259,1752,1765,2381,2923,2997,2430,1963,1516,2042,1944,2345,2930,2800,2802,3206,3104,2734,2337,1817,2261,2425,2935,3355,3272,3407,3500,3394,2950,2508,2575,2596,2393,2483,2963,3198,3000,3636,3774,4188,4596,4419,3331,2334,1839,2268,2825,2297,2288,2332,3616,4568,4520,4244,3654,3554,3774,3797,3851,4108,4368,4092,3915,3837,4156,4124,4064,2884,2254,3451,4228,3771,3714,3544,3972,4773,4984,4840,4497,3608,2886,2497,2369,2644,2576,2667,3654,4484,4587,4531,4344,3952,3698,3530,3804,3686,3630,3275,3012,3406,3780,3680,3420,3117,3492,3873,3672,3872,3782,3166,2872,3091,3195,2534,2128,2328,2120,2389,2028,1770,1757,2023,2009,1853,1878,2122,2141,2098,2046,2254,2603,2996,3299,3516,3908,3917,3458,3219,3651,4208,3916,3874,3116,2309,2756,2830,2692,2608,3024,3245,3254,3416,4008,4078,3870,3450,2668,2072,1713,1681,1713,2080,2189,2275,1656,1820,1860,2092,2007,1738,1831,1943,1882,1920,1604,1562,1776,1607,1512,1580,1637,1728,1565,1823,1940,1625,1955,2412,2565,3062,3372,2640,2468,2332,2626,3040,3122,2722,2326,2240,2426,2083,2186,2224,2087,2630,2953,2744,2464,2315,2194,2284,2665,2752,2323,2281,2288,2334,3081,3060,2955,2909,2040,2309,3263,3397,3276,3263,3244,3171,2767,2999,2678,2292,2774,2577,2283,1728,1517,1509,1678,1620,1556,1759,1784,1671,1709,2260,2820,2746,2288,2146,1978,2458,2654,1969,1824,1703,1660,1805,2187,2566,2553,2996,3292,3230,3516,3519,2939,2486,2193,2024,2368,2536,2676,2116,1671,1601,1572,1805,1843,1900,2372,2430,2235,2048,1616,1636,1744,1698,1958,2302,2410,1979,1940,2208,2200,2580,2862,3311,3472,2939,2513,2149,1940,2289,2044,2046,2036,2033,1748,1515,1504,1626,1890,1984,1963,2325,2352,1832,1628,2324,2509,2652,3044,3151,2625,2879,3784,3741,3522,3084,2556,1849,1924,2431,2365,2041,1848,1782,2008,2059,1995,2479,2687,1825,1528,1793,2459,2536,2402,2380,2518,2368,1974,2231,2658,2963,3212,3226,3023,2795,2934,3243,3011,2501,2994,3681,3407,3465,4272,4565,4264,2974,2584,2430,2911,3102,3451,3295,3183,3268,3255,3077,2774,2784,2798,2541,2366,2458,2246,1923,2501,3029,3262,2833,2471,2521,2405,2511,2911,2460,2753,3270,2984,2326,2110,2293,2901,2473,1787,1858,1904,1850,1910,1897,1808,1800,1797,1801,1903,2337,2340,2079,2598,3006,2679,2632,2651,3311,3546,3723,3827,3558,3561,3487,3607,3522,2978,3066,3094,2452,2388,2776,2562,2447,2928,2810,2176,1834,2460,3231,3244,3274,2853,2769,3176,3056,3379,3141,2910,2736,2908,2532,2365,2240,2437,2612,2498,2567,2440,2611,2996,3199,2394,1881,1865,1520,1664,1888,1824,1910,2270,2556,2676,3250,3104,2912,3408,3016,3352,2702,1824,1609,1946,2740,2977,2851,3072,3652,3563,3031,2929,2599,2753,3248,2531,2240,2765,2812,2639,2153,1772,2219,2298,1858,1901,2036,1792,1653,1561,1487,2078,2349,2024,1967,2583,2533,2116,1807,1830,2315,2226,1948,1782,1882,2002,2283,2032,1725,1820,1972,2351,2229,1896,2169,2383,1801,3019,3432,3206,3342,3224,2778,2316,2214,1699,2173,2246,2138,1870,1551,1726,2006,1993,2041,2293,2435,2360,1984,2037,2333,2906,3221,3256,2957,2916,2922,2376,2601,3154,3051,2856,2625,2699,2836,3052,3226,3163,2919,3110,2739,2514,2634,2773,3134,3481,3219,3129,2113,2679,3543,2727,2496,2542,3064,3067,3032,3241,3167,2740,2521,2780,2130,1450,1497,1559,1992,2395,2319,1782,1649,1570,1655,1704,1903,2082,1949,1693,1883,1870,1930,1783,2202,2819,2947,2917,3076,3452,3365,3067,2889,2430,1899,2046,2717,2937,3291,2928,2828,3113,2540,1981,1807,2044],[3031,2722,2362,2009,1961,1979,2238,2963,2965,2880,2788,2589,2347,1923,2757,3601,3413,2705,2246,2388,3085,3863,3693,3355,3083,3313,3531,3665,3600,3058,2473,2235,2115,2276,2944,3088,2780,2809,2515,2435,3088,2699,2328,2323,2189,1918,1700,2070,2972,3263,2832,1808,2404,3349,3145,3221,3178,3331,3162,3021,3295,2987,2790,2775,2810,2908,2984,3037,2843,2512,1907,2610,2754,2542,2265,1917,2414,2786,2424,2428,2323,2492,2499,2148,2408,2476,2322,2042,2424,2835,2770,2459,2551,2518,2145,2035,1781,1687,2324,2846,2674,2332,2526,2715,2435,2823,2958,2088,2602,2957,2790,2035,2219,2562,3396,4260,4388,3960,3464,3350,3280,3215,3063,2719,2698,3753,3376,2907,3616,4059,4021,3892,3904,3843,3273,2769,3310,3606,3570,3241,2806,2990,2994,2143,2562,3470,3680,3295,3365,3587,3545,3370,3083,3253,3210,3045,2997,2202,2599,3597,3486,2731,2492,2526,2030,2107,1685,1654,1563,1924,1844,2045,2100,1862,2304,3216,3400,2922,2356,2254,1951,1861,1763,2093,2352,2236,1866,1283,1338,2082,2119,2168,2028,1305,1461,1852,1869,2024,2197,2415,2746,3452,4056,4009,3619,3137,3312,4002,3883,3819,3774,2910,2308,2397,2326,2326,2041,1823,1628,2021,2605,2339,2317,2543,2568,2178,2342,2541,3146,3378,3108,2797,2844,3089,2921,2700,3078,2745,2610,2404,2442,2564,2388,2397,2710,2601,2208,2441,2595,2300,2342,2293,2790,2783,3068,3188,2463,1927,1541,2142,2510,2465,2695,3063,3345,3329,2834,2807,2765,2798,2677,2474,2874,3286,3551,3708,3231,2584,2285,1654,2076,2364,2846,2688,3040,2910,2395,2148,2217,2187,2512,2634,2332,1943,1982,1885,1712,2001,2083,1891,1892,2257,2315,1877,1919,2514,3085,2612,2624,2536,2800,2953,3839,3549,3231,3482,3763,3516,3427,3382,3355,3607,3523,3580,3205,2690,2308,2645,2314,2209,2414,2857,2956,2700,2776,2979,2683,2596,2835,2917,2212,2137,2230,2369,2414,2256,2581,2887,2739,3084,2754,2644,2466,2347,2497,2698,2568,2437,2365,2353,2335,2545,3071,2889,2821,2957,3028,2934,2431,2363,2556,2321,1946,1770,1668,1989,2457,2196,2382,3065,2881,2465,1822,1751,1772,1643,1630,2321,2700,2783,3097,3387,3356,3306,3384,3475,2662,2749,3172,2835,2310,2371,2658,2557,2614,2507,2399,3440,3528,3750,3486,3481,4017,4031,3501,3435,2895,1828,1863,1812,2031,3288,3859,3921,3836,4000,3500,2857,2398,2292,2493,2307,2254,2094,1906,1959,2220,2845,2645,2695,3129,3743,4347,4360,4228,4239,4251,4256,4292,4468,4457,4511,4421,4399,3528,3612,3907,3917,3805,4077,4040,3514,3539,3124,2264,1895,1782,1943,1950,1675,1906,2023,1643,1918,2590,2768,2946,2801,1980,1913,1959,2250,2378,2152,2481,2518,2121,1873,1634,1718,2153,2152,1733,1596,1888,2173,2389,2224,1993,1900,1971,1960,2082,2083,1761,2020,2045,2614,1955,1680,1573,2052,2229,2290,2253,2068,2119,2051,2248,2565,2250,1958,1966,2127,2159,2391,2601,2745,2574,2801,2962,3231,3939,3419,2792,3176,3496,2793,1564,2135,2664,2492,2544,2770,2388,1736,1749,1842,1922,1994,2416,2853,2197,1909,1946,2000,1760,2078,3097,3566,3426,3232,2631,2253,2543,2453,2093,2279,2310,1963,1990,2328,2511,2649,2591,1999,1594,1592,1449,1379,1847,1944,2116,1828,1619,1750,1811,1757,1967,1886,1699,2338,2610,2490,2409,2391,2405,2752,3065,2639,1924,2264,2483,2267,2811,2669,3064,2894,2586,2716,2827,2645,2592,2762,2744,2525,2852,3458,3597,3104,3282,3460,3506,3173,2899,2951,3043,2977,2906,3184,3310,2934,2532,3497,3715,3587,4047,4344,3850,3520,3295,2829,2133,1859,2166,2693,3240,3471,3062,3278,2479,2171,1931,2223,2779,2997,2591,2137,2045,1897,1837,2055,2653,2077,1966,2177,2468,2057,2007,2585,3145,3310,3188,2646,2423,1875,2405,3308,2442,1920,1928,1957,1954,2260,2532,2456,1920,1897,2425,2476,1990,1998,1695,1782,2412,2429,2423,2407,2648,2723,2424,2022,2155,2643,2360,2574,2159,1998,2103,2756,2688,2199,2215,2159,1998,2165,2213,2153,2570,2665,2407,2282,2087,2643,2713,2518,2279,2035,1939,1746,1965,2203,2121,1897,2511,2471,1922,2087,2003,1827,1758,1778,2289,2803,2264,1984,2137,2014,2077,2011,2496,2999,2995,3075,3184,2324,2364,2888,3042,2861,2766,2591,2873,2827,3038,2917,3333,3187,3404,3499,3409,3064,2700,2915,3162,2275,2192,2355,2083,1954,2108,2083,2111,2358,2321,2492,2519,2302,2217,1776,1639,1770,2182,2185,2223,2255,2198,1934,1523,1444,1674,2087,2392,2577,2381,1943,1626,1509,1482,2030,2147,1926,2282,2513,2471,2232,1642,1764,1731,1433,1674,1811,2458,2669,2656,2949,3087,2508,1869,2379,2302,2039,2358,1903,1636,1926,2556,2764,2919,3162,3887,4002,2889,2081,1735,1968,2909,2624,3012,3420,3038,2193,1874,1829,2019,2596,2329,1784,1665,2113,2558,2730,2180,1896,2020,2097,1861,1543,1270,1371,1438,1504,2183,3062,3527,3704,3184,3153,3307,3639,3627,3261,3108,3583,3741,3571,3584,3492,3613,4155,3656,3391,3716,3837,3794,3373,2758,2673,2824,2615,2454,2496,2243,2286,2276,2025,1986,2458,2780,2739,2932,3173,3069,2602,2665,3172,3008,2610,2448,2035,2048,2614,3147,2647,2350,2282,2386,2313,2211,2416,2437,2647,2962,2884,2382,1948,1788,1853,2204,1750,1296,1340,1607,2100,1746,1277,1484,1748,1765,1759,1594,1336,1411,1457,1920,2018,2011,2096,2253,2082,1811,1700,1742,1703,1479,1890,1920,1682,1631,1501,1417,1890,2290,2442,2193,1883,2286,1788,1460,1700,1686,1553,1434,1481,1729,2163,2189,2212,2354,1836,1801,1787,2286,2452,2286,1921,1860,2423,2634,2316,2393,2633,2188,2067,1620,1730,1767,1504,1766,2075,2489,2785,2220,1911,1968,2699,2817,2174,1588,1604,1842,2436,2570,1919,1992,2449,2603,2480,2169,2353,1972,1492,1888,2067,1983,1673,1715,1922,2784,3459,3630,3131,2468,2566,2512,3063,3667,3671,3846,3728,3509,3463,3662,3335,2917,2866,2540,1498,2121,2921,3250,2713,2309,2320,2023,1815,1547,2151,2757,2648,2837,3154,2939,2648,2518,2280,2308,2129,2819,3325,3384,3425,3373,3188,2766,2410,2270,2403,2481,2841,3090,3169,3153,3181,3598,4197,4376,3726,2551,2047,1768,2247,2666,2551,2479,2575,4038,4664,4195,4017,3980,3785,3885,4042,3653,3923,4198,4244,4112,3983,4122,3996,3687,3292,3451,4037,4208,3772,3520,3338,4124,4745,4776,4443,4761,3934,2958,2408,1818,1749,2082,2299,2615,2849,3714,3950,4026,4031,3861,3902,3995,3670,3128,2789,3134,3387,3635,3520,3000,2683,3150,3279,3082,3717,3945,3633,3119,2620,2654,2495,2305,2158,2075,1668,1805,1980,1887,2022,2123,1991,1977,2250,2302,2095,1843,2075,2431,3089,3702,3847,3172,3385,3632,3110,2996,2973,3001,3063,2298,2098,2828,2968,2844,2888,3483,3760,3291,3376,4038,4277,3926,2888,2181,1921,1626,1554,1577,1869,1917,1725,1515,1523,1558,2206,2377,1925,1688,1803,1919,2083,1705,1548,1585,1705,1611,1526,1660,1757,1666,1673,1489,1398,2126,2463,2377,2431,2819,2343,2708,2893,3255,3865,3591,2999,2400,2259,2526,2157,2097,2357,2924,3406,3479,3189,2725,2475,2556,2528,2607,2154,2048,2285,2295,2689,3060,3016,3028,2888,2453,3075,3558,3557,3427,3309,3352,3181,2989,3486,3161,2996,3185,2426,1721,1582,1426,1526,1599,1503,1635,1737,1634,1482,1378,1768,1824,1980,2459,2818,2554,2950,2890,2017,1882,1893,2337,2271,2326,2773,3356,3276,3016,2931,3163,3366,3252,3003,2490,1740,1745,1852,1888,1682,1744,1750,1720,1843,1641,2007,2504,2079,1587,1638,1292,1437,1653,1647,2415,2495,2580,2317,1866,1513,1811,2972,3312,3483,3379,3017,2744,2233,2677,2414,2010,2161,2134,2026,1915,1731,1644,1745,2299,2148,2144,3220,2763,1819,1847,2552,2697,2453,2510,3139,3273,3380,3546,3386,3570,3332,3054,2553,2356,2458,2415,2303,2248,2319,1850,1894,2336,2335,2669,2647,1891,1713,2247,2384,2360,2703,2780,2227,1771,1975,2243,2307,2375,2766,2901,2286,1937,2256,2313,2351,2712,3123,3065,3074,3422,3710,3837,2602,2490,2453,2711,2956,3226,3282,2961,3298,3061,3063,3797,3919,3355,2329,2517,2775,2398,2132,2381,2438,2171,2327,2525,2766,2899,2980,3277,2342,2364,3006,2897,2110,1750,2607,3360,2587,1852,1961,1858,1873,1904,1886,1885,1935,2078,2194,2243,2176,2143,2686,3186,3057,2236,2220,1896,2692,3209,3440,3257,3062,3512,3474,3383,3438,2665,2632,2994,2654,2408,2334,1981,2161,2282,2574,2425,1900,2277,2901,3075,3625,3377,3594,3626,3037,3198,2566,2817,3045,2829,2383,2293,2218,2261,2535,2338,2578,2666,2888,3532,3498,2910,2513,2185,1537,1831,2318,2194,2843,2652,2533,2351,2857,2831,2641,2995,3295,3663,2719,1658,1892,2646,2931,3152,2628,2663,3372,2747,2526,2440,2191,2588,3374,3135,2779,2870,2394,2065,2398,2113,2450,1975,1923,2721,2977,2316,1603,1463,1669,1810,2208,2825,2917,2781,2362,2288,2044,2035,2024,1824,1973,2349,2390,2288,2268,1836,1737,1813,2303,2884,2843,2173,2428,2337,2283,3020,3192,3145,3327,3113,2544,1898,2030,1824,1910,2962,4400,2901,1923,2042,2065,2077,2219,2259,2359,2308,2075,2105,2184,2736,3086,3082,2952,2801,2928,2803,3039,3288,2972,2618,2737,2998,3189,3284,3109,2879,2673,3064,3125,2894,2833,2621,2654,3172,3231,2902,1779,2307,2965,2630,2059,2501,2951,2993,3117,3090,2955,2364,2024,2165,1621,1473,1677,1917,2713,3208,2476,1631,1586,1563,1578,2125,2321,2077,1728,1720,1864,2040,2163,1829,1895,2254,2779,3199,3178,3152,3042,2763,2409,2289,2216,2079,2358,3106,3422,2817,2516,2598,2286,1896,1691,2345],[3004,2766,2607,2308,2807,2641,2787,3186,2414,2814,3100,2690,2588,2655,3030,3359,3185,2772,2700,2610,3057,3742,3719,3595,3449,3686,3755,3385,3219,3371,2836,2142,2477,2460,2474,2730,2717,2114,2055,2380,3155,2973,2344,2352,2297,2197,2402,2710,3035,2952,2605,2347,3088,3230,2762,2907,2931,3056,2720,2182,2084,2225,2194,2424,2824,2994,2998,2800,2654,2414,2313,3094,3272,2598,2446,2503,2791,3475,2614,2438,2304,2602,2734,2944,2496,2374,2540,1999,1874,2017,1829,2023,2788,3130,3009,2780,2172,2087,2236,2215,2354,2579,2939,3060,2736,2474,2751,2394,3075,3007,2178,1536,2004,2556,3525,4353,4095,3965,3616,3352,3260,3112,3042,2242,2044,3051,3477,3271,3294,3463,3333,3290,3259,2933,2304,2412,2928,3188,3073,3430,3187,3057,2587,1983,2652,3498,3752,3359,3411,2925,2799,2954,2924,2705,2544,2656,2735,2356,2620,3035,2502,2100,2310,2345,2423,2468,2321,2589,2819,2840,2242,1956,2169,2303,2533,2918,2670,2386,2810,2708,2148,2460,2220,2199,2236,2055,1803,1212,1481,2276,1836,1913,2054,1772,1578,1667,1790,1882,1836,2060,2194,2630,3175,3028,2568,2613,3098,3670,3392,3114,3475,3128,2776,2737,2532,2455,2100,1572,1803,2512,2622,2381,2508,2384,2676,2548,2556,2944,3994,4111,3227,2409,2508,2855,2952,2872,3177,2709,2447,2642,2756,2652,2718,3084,2998,2442,2461,2654,2303,2081,2518,2526,1957,2273,2574,2693,2734,2170,1867,2126,2739,3050,2460,2811,2807,2442,2564,2820,2586,2365,2542,3296,3774,3336,3329,3436,3042,2529,2489,1981,2384,2543,2965,2867,2658,2663,2188,1654,1686,1943,2350,2269,2271,1977,2350,2210,2026,1952,1899,1798,1624,2168,2723,2108,1881,2612,3204,2008,2050,2099,2291,2563,3464,3580,2883,3014,3516,3363,3160,3106,3248,3076,3333,3187,3381,3090,2770,2811,2426,2426,2619,2832,3100,3130,2630,2585,2452,2522,2258,1921,1931,2033,2132,2242,2331,2395,2604,2942,3163,3776,2920,2623,2532,2445,2620,2623,2453,2366,2430,2459,2244,2364,2977,2481,2710,3132,3312,2719,2158,2540,2885,2519,2048,2027,1777,1772,2486,2583,2692,3162,2342,1835,1798,2077,2144,1978,1866,2249,2493,2065,2520,3042,3632,3480,3034,3303,3141,3067,3232,2872,2505,2353,2222,1716,1534,1670,2004,3250,3325,3183,3374,3861,3932,3538,3310,3330,2524,1887,2160,1835,2218,3349,3836,3815,3735,3694,3347,2938,2343,2316,2468,1918,1757,1901,2406,2334,2187,2507,2430,2577,3306,3753,3742,3837,4152,4128,4220,4228,4200,4188,4256,4296,4376,4001,3365,3603,3974,4080,4288,4621,4316,3715,3120,2523,2333,2141,1592,1425,1606,1520,1958,2461,2495,2710,2722,2541,2665,2703,1987,1947,2052,2236,2392,2533,2705,2525,2209,2010,2012,1708,1718,1776,1634,2074,1959,1653,2164,2754,3028,2732,2396,2531,3039,2465,1690,1972,2367,2532,2270,2072,2257,2272,2335,2955,3083,3086,3084,2641,2286,2420,2156,1966,1787,1605,1866,2156,2214,2192,2339,2486,2496,3112,3292,2580,2486,2588,2863,2484,1730,1694,2064,2530,2591,2479,2254,1962,1776,1710,2321,2252,2728,2760,2247,2072,2196,1928,1712,1989,2949,3608,3451,3363,2855,2487,2526,2194,1871,1885,2105,1926,1998,2461,2536,2404,2316,2091,2058,1974,1636,1731,2366,2428,2201,1714,1603,1842,1571,1656,2376,2546,2309,3198,3350,2828,2440,2056,2217,2730,2729,2286,2294,2632,2224,2304,3007,2250,2766,2701,2426,2483,2610,2814,2749,2688,2645,2657,2609,2660,3452,3050,3262,3086,3107,3196,3377,3430,3451,3330,3236,3225,3243,2773,2287,3227,3587,3193,3486,3795,3474,2887,2789,3189,2715,2019,1805,2618,3611,3570,3007,3175,2950,2706,2677,3011,3350,3228,2790,2765,2184,1605,2469,2888,2535,2147,1955,1864,1965,1865,1825,2465,3320,3038,2735,2343,2246,1986,3247,3791,2680,1868,1947,2081,1970,1994,2432,2149,1575,2171,2267,1819,1942,2190,1640,1459,2232,2901,2863,2565,2126,1971,1986,1407,1333,1954,2484,2514,2017,1768,1976,3061,2855,2020,2146,2063,2172,2054,1928,2093,2626,2758,2240,1938,2105,2566,2627,2369,2013,1966,1972,1913,2195,2314,1884,2002,2731,2357,2096,2383,2462,2566,2255,1900,2217,2701,2197,1731,1708,1938,2464,2343,2652,3041,2906,2884,2553,2212,2432,2504,2722,2501,2442,2624,3077,2877,2843,3097,3294,3334,3306,3129,3450,3403,3397,3176,3230,2281,2238,2376,2309,2029,1842,1838,2067,2340,2490,2335,2147,2033,2319,2294,2204,2268,1975,1782,1718,1824,2148,2041,2367,2226,1659,1399,1568,1945,2429,2649,2359,1823,1642,2062,2164,2496,3073,2841,2502,1882,1636,2252,1595,1324,1645,1846,2720,2813,2576,2909,3564,3209,2330,2706,2541,2339,2831,2696,2338,1999,2452,2902,2786,3087,4103,3506,2262,1899,2056,3006,3564,3001,2654,3079,2484,1699,1889,2166,2036,1792,1966,2192,2172,1785,1922,2696,2342,1951,2092,2316,2251,1974,1759,1353,1431,1404,1486,2168,2490,3382,3155,3450,3359,3585,3826,3663,3604,3632,3676,3583,3714,3824,3421,3963,4188,3637,3521,3742,3771,3454,2706,2698,3042,2408,2828,2828,2193,1978,2216,2166,1808,2260,2386,2100,2372,2790,3086,3133,3262,3068,2940,3274,3155,2830,2501,2753,2797,2137,1745,1771,2344,2669,2648,2322,2117,2468,2776,2710,2859,3263,2868,2142,1864,1490,1179,1678,2225,2434,1954,1385,1670,1926,1759,1769,1720,1474,1413,1405,1636,1972,2208,2248,2244,1732,1653,1303,1406,1438,1425,1584,1780,1880,1746,1726,1960,2360,2434,2372,2056,1621,1726,1640,1528,1455,1524,1831,2215,2442,2624,2242,2100,2574,1914,1654,1478,1685,2843,3457,2552,1843,1753,1802,2322,2443,2228,2642,2238,1942,1638,1717,1760,1822,1663,1333,1935,2480,2146,1947,1658,2016,2668,2497,1697,1718,1830,2315,2528,2053,2178,2562,2596,2324,2163,2263,2039,1780,2180,2100,1956,2033,1978,1982,2675,3221,3202,3172,2880,2507,2599,3408,3479,3415,3561,3485,3320,3333,3464,3312,2762,2268,2393,1886,2709,3075,2648,1912,1751,2022,2028,2037,2498,2938,2657,2677,2564,2623,2519,2629,2684,2448,2433,2556,3064,3501,3614,3574,3400,3082,2573,2410,2172,2304,2678,3208,3080,2927,3421,3847,3862,4008,4284,3588,2411,2010,1679,2281,2877,2877,2677,2801,4092,4639,3893,3816,4272,3897,3905,4082,3731,4018,4212,4092,3825,3995,4173,4065,3790,3593,3886,3793,4220,3828,3703,3527,3795,4148,4388,4508,4724,3394,2201,2442,1674,1177,1423,1882,1955,1763,2932,3128,3354,3854,3893,4049,3960,3224,2728,2693,2873,3298,3897,3345,2453,2768,2524,2262,2626,3590,4026,3873,3480,2455,2155,2698,2194,2100,2326,1886,2084,2020,1825,1908,2113,2227,2083,2184,2363,2504,1930,1769,2378,3068,3683,3875,3428,3464,3581,3190,2664,2543,2674,2373,2163,2251,3112,3137,3014,3202,3596,3743,3608,3828,3914,3872,3559,2885,1850,1658,1503,1443,1496,1748,1616,1633,1673,1636,2008,2234,2135,1873,1507,1867,2104,1785,1625,1815,1664,1585,1538,1458,1449,1607,1699,1634,1125,1432,1937,2000,1912,2314,2267,2333,3288,3362,3284,3864,3640,3043,2240,2153,2411,2253,2480,2863,3256,3404,3585,3252,2156,2061,2253,2017,2430,2644,2266,2822,3072,2968,2810,2702,2844,2909,3518,3882,3530,3646,3972,3945,3305,3066,2854,2853,2927,3024,2820,2243,1970,1646,1449,1713,1494,1413,1628,1810,1898,1657,1566,1497,1731,2291,3162,3432,2978,3103,2691,1988,1866,1906,2407,2100,2463,3629,3870,3165,2684,2631,2696,3005,2993,3001,2670,1853,1779,1748,1549,1875,2273,1764,1644,1786,1532,1927,1709,1627,1603,1578,1400,1493,1675,1550,2135,2436,2199,1881,1733,1655,1925,3023,3394,3575,3231,2354,2309,2425,2603,2217,1865,1866,2072,2280,2071,1833,1802,1754,2329,1916,2170,2580,2316,2296,2708,2986,2924,2138,1972,2875,3248,3165,3359,3303,3394,3371,3227,2729,2460,2774,3110,2916,2986,2853,2014,2104,2492,2557,3185,3142,2117,1704,2070,2104,1996,2040,2026,1973,1768,1986,2503,2744,2701,2689,2370,1805,1593,1768,1909,2267,2736,2483,2182,2195,2690,2417,2272,1984,2293,2855,3087,2948,2967,3090,2730,3222,3116,3277,4318,4256,3054,2441,2689,2624,2418,2114,1959,1986,1714,2056,2652,2844,3134,3028,3302,2358,2200,2901,2912,2309,2262,3191,3450,2419,1966,1992,2040,2139,1998,2116,2186,2347,2500,2301,2136,1941,2009,2396,2768,2613,2119,2059,1967,2452,2846,2954,2583,2477,2974,3021,3088,2891,2100,2220,2374,2179,2164,1797,1365,1466,2070,2382,2283,1952,1950,2104,2567,3263,3380,3525,3685,3262,3364,3274,3272,2684,2066,2151,2447,2477,2866,2932,2636,2396,2524,2931,3165,3211,3039,2668,2326,2183,2398,2610,2000,1882,1685,2099,2154,2952,2665,2431,3241,3873,3651,2641,1684,1746,2373,2958,3065,2584,2630,2670,2421,2745,2990,2783,2507,2958,3190,3156,2968,2251,2432,3088,2391,2162,1961,2283,3011,3473,3274,2407,2032,1974,1923,2626,2918,2767,2602,2221,2554,2006,2036,2006,1500,1768,2618,2868,2534,2202,2084,2006,2341,2724,2705,2463,2432,2193,1852,2245,2837,3104,3134,2979,2432,2374,1876,1828,2275,2971,6509,5529,2124,2337,2477,2166,2330,2480,2144,2305,2294,2155,2042,2098,2561,2934,3025,2862,2857,2817,2788,3658,3717,3110,2780,2770,3200,3362,3352,2905,2570,2645,2728,2814,3023,3060,2938,2642,2698,3069,2320,1706,2470,2981,2092,1862,2526,2657,3054,2597,2285,2719,2375,1826,1668,1654,2066,1995,1954,2736,3437,3006,1830,1805,1644,1700,1996,1981,1980,1744,1669,1818,2542,2810,2340,1867,1832,2415,2869,2554,2807,2517,2310,2166,2320,2363,2130,2247,2923,3167,2647,2488,2935,2570,2367,2632,2333],[2996,2610,2934,2827,3301,3602,3419,3187,2517,2621,2916,2470,2000,2373,3131,3494,3254,2905,3521,3815,3860,3551,3428,3376,3586,3736,3467,3051,2709,2376,1918,1846,2354,2329,2585,3360,3684,2674,2389,2655,3065,2963,2342,2405,2331,2156,2273,2643,3071,2909,2414,2541,3024,2477,2054,2406,2503,2709,2865,2595,2366,2624,1887,2267,2756,2763,2525,2428,2535,2614,2312,2319,2730,2526,2902,3096,3227,3316,2343,2094,2128,2317,2428,2830,2814,2656,2374,2073,2060,2422,2290,2419,2714,3010,2845,2736,2364,2379,2614,2388,2106,2347,2943,3453,3386,2427,3008,3065,2801,2576,2274,1870,2382,2480,3012,3986,3951,3718,3515,3155,2918,2775,2862,2367,2526,3459,3629,2943,2858,3155,3171,3010,2916,2856,3075,3100,2932,2769,2848,3375,3652,3834,3350,2908,3363,3539,3405,3398,3642,2669,2545,3351,3279,2468,2143,2624,2839,2911,3194,2877,2547,2134,2224,3018,3748,2932,2890,3282,3433,3422,2636,2025,2051,2557,2886,2749,2139,1909,2529,2494,2299,2778,2375,1828,1860,1826,1807,1576,1528,1648,1699,1967,2412,2138,2223,2139,1986,1864,1749,1935,2137,1933,2368,2568,1935,1801,2183,2711,2706,3592,3989,3457,3190,2865,2507,2377,2201,2017,2161,2600,2413,2259,2494,2833,2527,2586,2691,3098,4062,4016,3152,2679,2777,2664,2495,2945,2956,2436,2484,2734,2662,2598,2742,2951,2530,1956,2106,1925,1815,2148,2510,2461,2200,2921,2844,2573,2711,2080,1959,2347,2698,2711,1782,2460,2495,2962,2784,2701,2602,2363,2694,3506,4091,3474,3218,3278,3001,2292,1625,1422,2027,2415,2374,2141,2418,2737,2379,1969,2075,2134,2182,2231,2218,2170,2221,2159,1993,1550,1458,1781,1771,2370,2806,2173,2064,2314,2764,2481,2260,2174,2321,2741,3319,3651,3115,3157,3327,3174,3175,3397,3381,2613,2581,2705,3730,3720,2965,2655,2348,2132,2668,3216,3618,3491,3073,2554,2540,2436,1989,2071,2208,2166,2318,2510,2578,2663,2405,2599,2808,3219,3292,2995,2630,2584,2580,2564,2577,2655,2835,2621,2012,2288,2706,2664,2994,3194,3165,2797,2590,2784,2847,2337,1968,2175,2150,2521,2776,2403,2740,3002,2149,1780,2089,2118,1828,1998,2175,2354,2610,2099,2054,2499,3365,2967,2325,2811,2663,2546,2808,2024,2074,2227,2119,1882,1553,1730,1973,2552,3016,3127,3471,4063,3854,3298,3184,3333,3005,2264,1753,1577,2447,3460,3753,3642,3531,3409,3068,2769,2317,2546,2368,2003,2101,2050,2625,2498,2387,2830,2880,2654,3079,3374,3399,3500,3859,3938,3928,4008,4120,3960,4009,4301,4460,4283,3775,3649,3900,3964,4333,4444,4074,3847,2644,2453,2280,1792,1452,1522,1777,1635,1870,2546,3081,3020,2800,2574,2813,2829,2395,2342,2507,2410,2187,2279,2730,2722,2179,2025,2345,1740,1458,1680,1712,1970,1809,1510,1513,1881,2086,2020,2078,2410,2470,2150,1701,2003,2328,2298,2242,2690,2710,2147,2220,2323,2534,3161,3432,3112,2279,1988,2188,2254,1815,1650,1780,1859,1832,1640,1813,1975,2332,2568,2298,2210,2087,2004,1844,1907,1938,1873,2028,2228,2200,2463,2913,2620,2146,1873,2155,2332,2474,2442,2046,2134,2301,1771,1648,2013,2955,3675,3422,3007,2548,2525,2493,2348,2353,2291,2309,2200,2740,2411,2370,2480,2181,2369,2603,2586,2299,2600,2965,2663,2130,1642,1610,1554,1394,1749,2392,3016,3083,3251,3299,3001,2444,2058,2125,2194,2395,2569,2352,2337,1554,1875,2243,1965,2364,2723,2810,2752,2888,2777,2710,2977,2697,2871,2756,2987,3608,3455,3495,3508,3207,3122,3089,3041,3340,3283,3044,2939,3143,2868,2783,3514,3547,2767,2775,2919,2837,2897,3066,3803,2656,1757,1871,2640,3317,3365,3366,3616,3565,3525,3566,3595,3181,2825,2828,2810,2599,2097,2525,2968,2880,2865,2490,2121,2028,1999,2140,2329,2793,2753,2584,2370,2395,2566,3506,3876,3072,2519,2267,2213,2076,2202,2492,2137,2067,2345,2072,2059,1903,1846,1952,1718,2017,2958,2844,2263,1537,1611,1832,2093,1919,2165,2916,2790,2281,2137,2457,2863,2714,2076,2155,2779,3069,2409,1971,1994,2315,2598,2218,2060,2099,1950,2183,2111,2007,2093,2050,2059,2124,2110,1900,2178,2460,2653,2779,2424,2839,3217,2784,2547,2255,2453,2092,2119,2399,2813,2917,2520,2588,2655,2675,3078,2972,2554,2548,2732,2500,2238,2248,2720,2844,2587,2431,2945,3208,3288,3357,3396,3587,3914,3318,2467,2219,2120,2047,2150,2351,2011,1823,2193,2155,2172,2357,2193,2051,2024,2215,2166,2129,2091,2099,2238,1884,1602,1480,1352,2300,2612,2841,2408,1893,1449,1469,2166,2601,2498,2325,2470,2819,2931,3065,2324,1886,1505,1626,1896,1538,1437,1584,1843,2302,2418,2451,3061,3501,2593,2129,2531,2474,2175,1979,2315,2532,2007,1855,2341,2598,3107,3260,2469,2017,1691,2406,3124,2909,2623,2750,2524,1621,1574,1927,1952,1883,1770,1925,2156,2486,2144,1854,1870,1765,1785,1759,2030,2095,2008,2206,1530,1460,1414,1621,1891,2161,3125,3587,3451,3143,3375,3749,3864,3737,3470,3295,3480,3829,4120,3920,4016,4308,4172,4094,4039,3554,2609,2055,2612,3198,2504,2464,2266,2095,1935,2076,2071,1919,2126,2131,1843,2116,2381,2908,3096,3395,3131,2687,3001,3234,2851,2504,2855,2397,1853,1806,1796,2358,2598,2184,1857,2531,3002,3108,2720,2699,2691,2478,2097,1619,1336,1197,1569,1744,1552,1633,1487,1642,1612,1508,1720,1749,1613,1449,1389,1602,1757,1971,2151,1844,1642,1616,1639,1546,1470,1627,1870,2207,2322,2150,2260,2476,2318,2511,2510,2588,1908,1587,1733,1759,1866,2168,2545,3080,2448,1881,1868,1912,2098,1923,1843,1478,1597,2941,3846,3104,2142,1656,1697,2009,2065,1967,2209,2204,1725,1454,1661,1821,1802,1512,1650,2153,2483,1809,1382,1502,1612,2189,2001,1686,1825,1866,1947,2052,2035,1924,1947,2036,2232,2246,2105,2535,2451,2380,2566,2279,2018,2122,2237,2627,2750,2927,3215,3270,3428,3729,3505,2901,2608,2917,3273,3229,2923,2949,2853,2386,2169,2654,2641,2864,2637,2108,2200,2477,2668,2565,2273,2523,2813,2426,2500,2045,1795,2402,2835,2815,3078,3364,3231,3077,3125,3426,3425,3411,2998,2617,2489,2201,2341,3012,3375,3039,2909,3639,4112,4063,4285,4217,3537,2740,2469,1918,1942,2326,2460,2444,2681,3230,3481,3469,3630,4079,3506,3895,4124,4057,4048,4050,3766,3641,4041,4336,4168,4116,3896,3874,3421,4144,3754,3571,3610,3853,4133,4428,4760,4601,3096,1792,2002,1828,1384,1450,1628,1854,1948,2861,3892,4172,3971,4062,4189,4050,2917,2691,3119,3297,3848,4229,3703,3313,3198,2836,2691,3011,3583,4019,3847,3663,2855,1859,2009,1847,1763,1723,1921,2338,2329,2054,2125,2310,2575,2749,2791,2608,2474,2110,2036,2440,2691,2857,3199,3227,3241,3111,3030,2401,2676,2545,2453,2908,3228,3506,3138,3035,3207,3465,3596,4009,4281,3596,3141,2813,2856,1563,1394,1490,1457,1486,1604,1637,1667,1734,1924,1961,1831,1711,1447,1526,1821,2146,1908,2003,1937,1530,1472,1549,1629,1952,2393,2126,1929,1851,1723,1719,1668,1675,2143,2270,2570,3141,2952,2834,3426,3479,3359,2684,2638,3073,2788,2809,2921,3038,3099,3007,2480,1791,1824,1531,1416,2280,2869,2740,3096,3028,2909,2727,2894,3112,3311,3503,3935,3818,3755,3798,3321,2789,2553,2046,1969,2522,2801,2625,2469,2514,1894,1730,1679,1634,1573,1687,1876,2129,1936,1978,2247,2399,2557,3312,3516,3507,3545,2943,2113,2024,2430,2205,2124,2956,3652,3808,3352,2841,2235,2442,3082,2571,2592,2851,2228,2269,1983,1621,2481,2833,1851,1633,1725,1652,2064,1592,1676,1761,1688,1608,1614,1824,1588,1702,2264,2523,2532,2058,1771,1808,2788,3132,2762,2604,2436,2604,3140,3168,2489,1880,1845,2458,2569,2181,1958,1919,2116,2076,1619,1757,2069,2413,2935,2954,2829,2759,1929,1988,2894,2519,2805,3376,3395,3137,3009,2974,2956,2907,2965,3339,3428,2998,2518,2141,1989,2097,2410,2751,2418,1846,1734,1737,1761,1739,1728,1775,2278,2350,2510,2671,2268,2195,2090,1685,1427,1500,1860,1753,1596,2114,1729,1502,1725,2235,2198,1871,1893,2435,2728,3235,3174,3018,2913,2702,3067,3272,3563,4080,4153,3296,2717,2828,2848,2651,2445,2299,2150,2241,2155,2893,2884,3167,3155,2655,2003,1764,2011,2070,2087,2176,2457,2336,2210,2177,2240,2332,2335,2453,2607,2564,2472,2219,1580,1522,1710,1814,2231,2513,1910,1545,1686,1868,2068,2097,2287,2625,2232,2060,1751,1600,2059,1855,2351,2910,3246,2697,1895,1566,1638,1612,1586,1791,1934,2052,2301,2132,2481,3110,3641,3607,3189,3167,3187,2966,2867,2685,2344,2030,2319,2474,2188,1870,1843,2132,2469,2695,2578,2578,2634,2707,2791,2995,2272,1724,1873,2121,2475,3094,3212,2490,2757,3530,3639,3308,2513,2053,1528,1710,2549,2951,2942,2788,2994,3271,3062,3530,3835,3216,3206,3018,3296,2941,2036,2652,2705,2450,2100,1898,2495,2907,3297,3608,3264,3008,2567,2210,2151,2172,2381,2521,1957,1744,1853,2209,1891,1511,1792,2570,2842,2152,1973,2019,2076,3010,3421,3160,2852,2519,2226,2117,1995,2800,3460,3454,3398,2766,2535,2023,2352,2448,4229,6060,3823,2434,2740,2891,2614,2267,2025,1752,2060,2221,2154,2149,2313,2548,2744,2943,2832,2780,2667,3075,3487,3828,3154,2501,2740,3179,3472,3818,3428,2802,2488,2590,2806,2773,2622,2653,2649,2869,3012,2292,1991,2264,2176,1771,1996,2405,2381,2301,1895,2435,2840,2417,1781,1746,2165,2495,2236,1964,1935,2712,3433,2116,1700,1592,1796,1678,1654,1618,1763,1893,2102,2683,2879,2730,2534,2315,2443,2445,1798,2311,2210,1926,2336,2713,2281,1871,2263,2866,2744,2485,2833,3196,2893,2812,2666,2142],[2432,2800,3095,2699,2997,3447,3308,3063,2612,2438,2768,2444,1865,1809,3000,3729,3493,3172,3513,3782,3363,3061,3161,3221,3400,3400,3043,2850,2787,2367,1980,2075,2432,2388,2575,3731,4287,3219,2553,2910,3062,3023,2756,2710,2614,2282,2562,3422,3993,3149,2320,2232,2174,1974,2186,2475,2512,2789,3095,2758,2320,2264,1969,2524,2906,2479,2080,1957,2208,2552,1804,1593,2374,2170,2575,2719,3221,3091,2649,2574,2512,2370,2496,2689,2597,2396,2046,2110,2122,2094,2302,2706,2626,2389,2286,2393,2220,2223,2562,2338,1894,1987,2634,3088,3042,2466,2874,3408,2744,2519,2663,1806,2002,2153,2712,3184,2917,2587,3164,3117,2776,2553,2388,2249,2589,3548,3683,3004,2870,3124,3340,3123,2927,3134,3542,3375,3112,2922,3156,3826,4343,4718,4216,3630,3207,3536,3728,3999,4211,3903,3863,3851,3632,3276,3308,3651,3373,3406,3022,3064,3124,2734,2370,2928,3344,2597,2712,3044,3116,3283,2584,1986,1861,2314,2314,2542,2266,1986,2157,2320,2282,2367,2044,1804,1986,2094,2146,1943,1407,1257,2054,2160,2198,2396,2442,2184,2244,2426,2354,2314,2559,2287,3068,3551,3396,3094,2685,2566,3234,3807,3421,3204,2987,2778,2414,2426,2251,2723,2839,2512,2482,2462,1990,1705,2013,2424,2577,3307,4059,3862,2937,2818,3063,2754,2460,2844,2654,2241,2608,2941,2811,2732,2656,2541,2231,2083,2539,2222,2074,2702,2700,2326,2518,2786,2630,3222,2702,1677,1792,2377,2774,2234,1733,1807,2290,2801,2474,2718,2633,2309,2532,3438,4078,3660,3318,3342,2997,2292,1234,1002,1454,1700,1786,2001,2510,2693,2652,2445,2300,2176,2042,1909,2062,2179,2188,2162,1870,1249,992,1529,2115,2321,2335,2315,2166,2226,2461,2414,2576,2395,2404,2793,3217,3961,3769,3826,3420,2739,2821,3226,3770,3464,2407,2313,3482,3968,3581,3024,2387,1914,2988,3447,3618,3586,3438,3032,2719,2270,1999,2135,2339,2259,2384,2543,2392,2249,2286,2630,2698,2987,3256,2894,2531,2498,2499,2645,2890,2812,2742,2241,1804,2184,2424,2802,3084,3165,3304,3128,2642,2377,2499,2287,2168,1854,1796,2285,2436,1975,2502,2654,2468,2787,2501,2044,1745,1730,2100,2011,2447,2088,1660,2324,2744,2322,2176,2534,2078,1857,2019,1561,1922,2072,2182,2107,1882,1927,2216,2464,2956,3448,3792,3921,3572,3430,3372,3305,3386,2342,1447,1426,2620,3477,3401,3275,3185,3187,2886,2642,2237,2274,2061,2019,2279,2321,2335,2142,2431,3073,3252,3172,3594,3525,3269,3930,4144,3930,3941,3946,4038,3536,3699,4324,4391,4112,3661,3449,3624,3652,3776,3812,3928,3920,2872,2503,2203,1847,1850,2195,2102,2087,2178,2980,3335,3077,2294,2143,3294,3707,3166,2523,2084,1888,1909,1797,1771,1647,1585,1860,1963,1585,1418,1923,2145,1871,1720,1616,1434,1614,1948,2035,1936,1976,2292,2353,1723,2328,3306,3049,2808,3075,2336,1998,2124,2106,2260,2620,2943,3112,2586,2315,2265,1808,1766,1866,1796,1615,1832,1685,1581,1668,2280,2584,2387,2193,2106,2165,2092,2162,2314,2288,2011,2117,2081,2090,2502,2671,2246,2043,2092,2076,2048,1970,1888,2095,2085,1726,1681,1981,2841,3472,3310,2661,2234,2264,2504,2990,3204,3018,2598,1678,1984,2019,1967,2432,2558,2911,3286,3262,2730,2442,2648,2618,2328,2072,2013,1533,1520,1963,2743,3022,2900,2706,2614,2676,2535,2338,2439,2379,2731,2938,2451,2148,2140,2360,2293,2330,2260,2337,2763,2880,3064,2609,2636,2703,2450,2524,2545,3238,3680,3176,2950,3366,3376,3200,2897,2909,3361,3088,2590,2929,3340,3384,3397,3652,3487,3034,2540,2270,2549,2922,2833,3126,2240,1957,2100,2646,3305,3453,3768,3752,3474,3758,3775,3750,3340,2907,3076,2819,2701,1891,1373,1891,2586,2733,2504,2167,1968,1990,2574,2178,1934,2523,2710,2680,2332,2541,3275,3138,2719,2600,2169,2454,2387,2486,2469,2364,2411,2363,2652,2723,2539,2874,2878,2757,2924,2802,2360,1744,1372,1325,1594,2234,2404,2713,3125,3005,2352,2348,2963,2912,2819,2616,2698,2964,3140,2503,1762,1882,2128,1982,1946,2207,2339,2135,2098,2128,2243,2354,2358,2147,2176,2044,1760,1951,2247,2269,1880,1736,2446,3074,3554,3262,2381,1966,2302,2888,3165,3294,3086,2969,2809,2647,2875,3039,2889,2734,2486,2357,2364,2328,2135,2280,2496,2433,2518,3341,3387,3576,3076,3532,3767,4120,2867,2030,2085,1943,1606,1814,2372,2264,2250,2518,2783,2714,2557,2352,2134,1942,1940,2055,2033,1947,2228,2555,2232,1436,1064,1627,2376,2743,2762,2862,2750,2438,1950,1456,1775,2442,2156,1991,2386,2509,2348,2059,1766,1753,2077,1947,1607,1670,1944,2105,2220,1981,2253,2649,2268,1711,1585,2088,2290,2154,1932,2180,2478,2044,1660,1825,2229,2896,2460,2555,2160,1736,2522,2488,2540,2923,2932,2347,1645,1614,1828,1764,1732,1654,1632,2288,2598,2113,1643,1645,2055,2350,2032,1822,1828,2282,2676,2039,1639,1688,2207,2443,2803,3210,3362,3315,3051,3295,3949,4212,3828,3716,3495,3515,3484,3813,3997,3941,3952,3908,3694,3702,3151,2744,2698,2380,2642,2721,2658,2225,2045,2106,2104,2019,1973,2448,2625,2601,2304,2375,2376,2691,3144,3153,2906,2676,2676,2520,2626,3221,2734,2533,1954,1729,2050,2135,1572,1719,2741,3028,2717,2490,2624,2721,2450,1908,2054,1618,1460,1569,1478,1447,1502,1384,1329,1299,1350,1527,1678,1715,1594,1409,1397,1498,1556,1644,1538,1774,1572,1347,1459,1597,1714,1958,2294,2413,1946,1867,1876,2149,2565,2451,2270,1934,1699,1685,1828,1847,1938,2592,3024,2567,1895,1597,1462,1590,1676,1554,1396,1687,2952,3749,3086,2249,1932,1825,2000,2065,1881,2245,2640,2138,1455,1528,1570,1491,1708,2437,2756,2400,2008,1654,1476,1577,1753,1979,2125,1948,1850,1826,1998,2209,2005,2007,2062,2470,2089,2028,2474,2273,2344,2627,2094,1805,1900,2198,2448,2729,2784,3055,3227,3394,2890,2688,2547,2089,2598,2899,3143,2807,2774,2863,2890,2666,3023,2402,2101,2360,2054,2048,2104,2269,2413,2536,2424,2442,2198,2210,1981,1962,2310,2366,2308,2668,2878,2811,2688,2739,3343,3488,3334,2916,2725,2457,2278,2733,3296,3392,3046,2979,3861,4019,4283,4424,4161,3753,3508,3414,2463,1652,1794,1749,1926,2095,2038,2241,2285,2659,3210,2633,3064,3936,4123,3911,3649,3447,3408,3666,4172,4172,4280,4046,4042,3903,4070,3764,3273,3138,3394,3570,3980,4384,4064,2675,2019,1807,2024,1432,1416,1556,2436,3154,3377,3904,4173,4092,4262,4276,4232,3182,2876,3119,3666,4049,4228,4002,3709,3663,3449,3276,3476,3446,3873,3790,3164,2533,1881,1783,1766,1627,1873,2201,2829,2940,2626,2539,2455,2591,2888,2512,2303,2027,1758,1794,2249,2327,2075,2665,3386,3448,2749,2955,2658,3160,2895,2792,3204,3480,3387,3159,2911,3039,3396,3777,4036,4117,3366,2434,1952,2159,1790,1553,1639,1665,1690,1642,1397,1352,1780,1953,1866,1976,1640,1875,1961,1697,1578,1574,1762,1604,1544,1614,1848,2310,2344,2784,2296,1969,2026,2011,1814,1589,2086,2373,1970,2056,2971,3395,3464,3560,3339,3044,2668,2933,3260,3181,2939,2708,2866,2877,2666,2243,1674,1286,1230,1257,2103,2442,2503,2811,3146,3161,2756,3097,3262,3277,3077,3145,3237,3522,3112,3020,2986,2461,1744,1703,2002,2125,2129,2512,2321,1726,1656,1925,1958,1905,1787,1745,1937,1913,2186,2399,2526,2484,3295,3317,3406,3540,3023,2045,1980,2072,1731,2168,2802,2786,2955,2765,2649,2017,2320,3052,3190,2917,3031,2745,2626,2153,1604,2046,2138,1733,2071,2313,2533,2677,1966,2174,2159,1800,1696,1901,2119,1865,1517,1785,2721,3030,2246,1696,1856,2460,2645,2261,2479,3040,2980,3154,2438,2047,1908,2021,2270,1941,1914,1958,1798,1923,1954,2104,2570,2533,2541,3024,2727,2568,2276,1810,2024,2955,3046,2960,3233,3312,2990,2457,2770,3266,3395,3141,3238,3337,2503,2354,2383,2133,1907,1905,1935,1741,1733,1947,1949,2072,1954,1844,1655,2633,2958,2775,2392,1836,1946,2070,1729,1543,1836,2089,1997,1582,1553,1549,1592,1767,2276,2466,1782,1958,2477,2419,2785,2901,2967,3086,2890,3038,3292,3631,3850,3640,3577,3051,3106,3452,3029,2622,2526,2261,2186,2339,3073,3042,3150,3030,2213,1751,1763,1961,2131,2426,2111,2045,2106,2240,2599,2917,2810,2685,2558,2453,2363,2185,2216,1504,1674,2059,2090,2106,2236,1777,1457,1666,1832,1911,1804,1814,2266,1911,1678,1375,1763,2921,2644,2328,3032,3517,3063,2622,2425,1835,1631,1735,1618,2021,2142,2419,2235,2440,2619,2828,3093,2942,2998,3310,3037,3209,2799,2165,2210,2239,2156,2182,1988,1714,1748,2066,2170,2324,2276,2224,2411,2836,3050,2498,1998,2371,2598,2536,2998,2930,2646,3206,3579,3640,3517,2820,2343,1675,1498,2173,2614,2731,3000,3494,3381,3019,3531,3758,3204,3275,3209,3218,2974,2030,1752,1920,2188,1741,1694,2487,3144,3396,3632,3518,3410,2861,2373,1974,1709,2549,2779,1854,1597,2063,2310,2242,2344,2243,2722,3104,2628,2569,1981,2025,3308,3383,2990,2780,2478,2896,2931,1842,2811,3941,3805,3853,3488,2958,2706,2563,2717,2909,2635,2049,2100,2553,2357,2461,2476,2089,1807,1883,2054,2124,2223,2424,2426,2490,2916,2731,2429,2629,3286,3185,3244,2709,2070,2219,2426,3044,3430,3394,2736,2563,2955,3174,3005,2861,2612,2335,2767,3042,2710,2345,2112,2259,2005,2406,2494,2456,2148,1982,2120,2631,2364,1809,1962,2455,2482,2181,1904,1590,2444,3574,2603,1881,1892,2056,2042,2014,1743,1842,2143,2350,2921,2597,2500,2665,2602,2968,2424,1909,2140,2090,2139,2941,3276,2993,2417,2398,2622,2382,1960,2385,2540,2745,2445,2159,2180],[2542,2721,2975,2682,3087,3643,3654,3363,2836,2409,2207,2101,2311,2187,3022,3353,3527,3368,3295,3288,2898,2858,2981,2946,3055,3244,2734,2247,2823,2787,2494,2762,3120,2936,2494,3119,3695,2460,2071,3173,3297,3022,2532,2589,2659,2615,3217,3819,3638,2749,1976,1815,2049,1804,1931,2283,2322,2381,2844,2405,1847,1918,2160,2801,3000,2578,2625,2347,2332,2622,2326,2152,2041,1802,2290,2272,2864,3385,2906,2522,2761,3227,3364,3230,2604,2214,1965,1898,2033,1957,2195,2763,2668,2204,2242,2271,1789,1961,2344,2344,2354,2709,2713,2697,3007,2569,2485,3357,3084,2422,2764,1832,2177,2352,2801,3061,2784,3033,3431,2744,1974,1849,1747,1980,2519,3482,3808,3436,3060,3103,3319,3253,3005,3089,3367,3251,2918,2990,3297,3916,4432,4785,4301,3928,3293,3838,3973,3854,3967,3979,3828,3916,4273,4188,3724,3492,3125,3030,2873,3097,2827,2676,2482,2459,2733,2551,2285,2493,2833,2499,2076,2113,1913,2312,2036,2240,2091,1717,2120,2496,2289,2281,2218,1974,2285,2655,2922,2562,1713,1672,2416,2432,2402,2744,2667,2602,2409,2495,2752,2276,2446,2216,2662,3254,3736,3860,3339,3174,3643,3872,3618,3340,2920,2783,2251,2462,2065,2829,3263,2661,2732,2696,1833,1661,2463,2527,2767,3585,4019,3661,2458,2078,2584,2875,2791,2816,2642,2470,2989,2784,2822,2767,2517,2806,2714,2526,2722,2663,2800,3579,3211,2008,2171,2769,2164,2501,2105,1704,1841,2092,2366,2053,1913,1826,2117,2385,2508,3023,2665,2186,2296,3088,3608,3505,3504,3300,2845,2332,1531,1330,1688,1709,1751,1957,2046,2055,2029,2076,2254,2288,1993,1694,2032,2531,2314,1819,1643,1549,1777,2208,2518,2198,2508,2702,2348,2445,2293,2193,2288,2128,2303,2798,3549,3863,3920,4144,3486,2906,2729,2806,3684,4094,3176,2911,4058,4172,4079,3505,2626,2359,2972,3378,3582,3707,3543,3009,2360,2060,1987,2035,2072,2083,2240,2407,2359,2398,2792,2872,2679,2700,2619,2478,2520,2499,2418,2514,2724,2633,2614,2188,2189,2497,2641,2774,2820,3027,3187,2815,2367,2266,2698,2607,2556,2211,2011,2223,2385,2493,2623,2262,2248,3028,2381,2159,2328,1917,1912,1587,1792,1909,1941,1815,1897,2120,2015,2494,2420,1775,1602,2144,2496,2450,2562,2513,2339,2348,2573,3203,4060,3799,3849,3707,3651,3506,3488,3443,2745,2138,1886,1879,2907,3306,3096,3130,3120,3232,2977,2767,2338,2020,1901,2113,2109,2147,2314,2400,2613,2938,2741,2988,3254,3322,2704,3532,3562,3584,3690,3770,4260,4336,4261,4388,4612,4123,3934,3597,3569,3769,3705,3163,3150,3189,2698,2188,2236,2135,2085,2625,1798,1972,2677,3085,3089,3053,2307,2480,3488,3752,3060,2242,1964,1770,1732,1698,2083,1841,1819,2579,2511,1763,1617,1694,1940,1995,1885,1705,1930,2105,2082,1752,1531,1292,1764,1753,1377,2191,3197,2989,2858,2853,2522,2475,2822,2747,2259,2324,2511,2847,2593,2298,2135,1850,1858,1866,1764,1619,2214,2154,1973,1996,2438,2535,2306,2073,2040,2036,2034,2100,2090,1950,2207,2288,1983,1971,2121,2147,2413,2632,2301,1813,1810,1823,1778,2193,2344,1954,2017,2149,2589,3066,3019,2455,2044,2453,2912,3087,3405,2690,2062,1449,1754,2747,2906,2729,3019,3344,3516,3330,3129,2704,2722,2609,2484,2518,2356,2048,1827,2293,3009,2948,2744,2833,2502,2502,2807,2697,2595,2123,2806,3240,2349,2046,2552,2259,1907,2203,1989,1868,2563,2628,2745,2318,2714,2591,2596,2805,2789,2940,3172,3063,3029,3550,3494,3350,3016,3184,2939,2508,2174,2409,3166,3555,3505,3695,3796,3273,2428,1977,2172,2338,1786,2557,2809,2568,2587,2950,3674,3768,3847,3904,3837,3802,3801,3785,3790,3682,3063,2488,2579,2068,1504,1911,2203,1966,2034,2021,1619,1831,2609,2158,2293,2715,2962,2820,2222,2626,2996,2425,2180,2597,2976,2876,2717,2703,2425,2720,3264,3282,3455,3339,3107,3634,3363,3289,2900,2333,2097,1661,1412,1379,1618,2017,2259,1991,2112,2480,2010,2013,2843,3106,2994,2915,2449,1947,2375,2731,2422,2456,2712,2153,2093,2624,2632,2162,2017,2219,2435,2533,2477,2192,2040,1860,1760,1900,2337,2008,2134,2091,2017,2601,3330,3322,3282,2845,2574,2785,3038,3021,3054,3274,3094,3186,3453,3023,2488,2273,1974,2109,2446,2172,1880,2099,2383,2889,2796,3392,3248,2683,2551,3096,3500,3854,2927,2356,2658,2142,1347,1499,2128,2327,2339,2509,2522,2580,2620,2774,2596,2135,1963,2156,2231,2177,2452,2609,2113,1528,1252,2010,2332,2682,2658,2433,2619,2642,2483,2364,2204,2387,1958,1787,2028,2474,2385,2105,1766,1884,2414,2277,1923,2232,2945,2458,2154,1729,1881,1876,1742,1581,1425,2004,2653,2703,2536,2347,2138,1663,1582,1798,1770,1991,2310,2714,2033,1805,2283,2530,2742,2798,2388,1815,1674,1894,1769,1696,1483,1592,1575,1950,2115,1752,1585,1926,2299,2192,1544,1502,1821,2256,2742,2600,1792,1774,2452,2820,3142,3438,3364,3161,2995,3679,3961,4124,3702,3641,3793,3772,3663,3699,3815,3736,3717,3812,3879,3710,3409,3646,3886,3253,2797,2965,2847,2519,2445,2305,1903,1973,2377,2987,2924,2703,2586,2570,2230,2907,3146,2577,2604,2551,1973,2384,2473,3081,2922,2797,2503,1648,1795,1873,1829,2368,2654,2766,2437,2239,2276,3025,2692,2503,2913,2104,1556,1636,1831,1902,1692,1390,1354,1484,1485,1459,1583,1748,1839,1709,1493,1473,1486,1307,1519,1655,1520,1604,1691,1575,1835,1990,2395,2070,1687,2024,1759,1973,2457,2269,2072,2180,1931,1585,1780,1970,2170,2565,2788,2858,2358,1887,1705,1606,1503,1440,1453,1579,1969,2341,2407,2054,1836,1798,1854,1831,2156,2605,2374,1886,1294,1420,1449,1569,1855,2289,2449,2602,2876,2397,1753,1749,2305,2569,2184,1960,1802,1759,2058,2382,2009,1721,1864,2186,2057,1937,2075,2064,2335,2082,1839,1938,2414,2485,2291,2396,2603,2591,2736,2869,2442,2352,2199,2042,2272,2733,3002,3028,2811,2825,2753,2655,3048,2768,2508,2508,1743,1684,1737,1984,2041,2510,2429,2140,2221,2327,2059,2003,2421,2857,2473,2353,2446,2376,2785,2900,3259,3538,3095,2678,2609,2498,2521,2946,3350,3363,3112,3305,4133,4263,4596,4436,3982,4003,4060,3599,2276,1458,1722,1649,1959,1817,1779,2067,2169,2168,2315,2157,2603,3615,4144,4038,3745,3605,3570,3615,3569,3067,3693,3829,3518,3552,3671,3291,2485,2257,2700,2564,2807,3738,3930,2700,2007,1615,1405,1362,1503,1802,2792,3667,3870,4212,4112,4107,4484,4245,3978,3200,2853,2832,2966,3519,3787,3393,3410,3603,3112,2862,2545,2608,3558,3574,2836,2546,2387,2199,2290,2690,2564,2219,2535,3111,2705,2099,1958,2394,2742,2341,2296,2381,2097,2112,2285,2282,2461,3106,3536,2494,2411,2508,2121,2642,2873,3050,3450,3407,3265,3341,3063,3184,3083,3437,3708,3202,2281,2048,1919,1904,1938,1851,1793,1722,1578,1460,1613,1550,1802,1957,2015,2162,2187,2499,2088,1499,1638,1864,1831,1756,1641,1767,2071,2051,1798,1849,1653,1976,2511,2658,2109,1706,2308,2413,1941,1864,2696,3334,3492,3396,3131,2522,2091,2053,2514,3070,2807,2480,2730,2637,2076,1619,1354,1254,1450,1980,2373,2189,2170,2462,3024,3083,2691,3123,3440,3191,2784,2567,2936,3326,3319,3406,3020,2084,1719,1555,1590,1801,2238,2484,1780,1574,1638,1574,1481,1835,1980,2081,2199,1797,1992,1929,2017,2105,2665,2479,2498,2872,2584,2073,1788,1682,1771,2160,2492,2460,2437,2303,2487,2438,2343,2863,3188,3043,2942,2798,2888,2326,1838,2017,2228,2361,2293,2382,2863,2988,2543,2444,2335,1925,1930,2445,2274,2436,1775,1716,2709,2917,2668,2213,2298,2465,2318,1941,2290,2899,2974,2534,1985,2007,2142,2129,2235,2108,1876,1929,2065,2292,2441,2950,2958,2944,2938,2563,2486,2407,2275,2123,2278,2975,3186,3243,3277,3006,2821,2234,2508,3142,3488,3197,2765,2539,1918,1743,2295,2476,1910,1874,2209,2258,2017,2149,2194,2071,2167,1864,1526,1862,1938,1892,2092,1940,2269,2071,1848,1671,1750,2138,2267,1884,1738,1834,1795,2032,2386,2406,1754,1757,2443,2515,2519,2709,2989,3208,3097,3236,3404,3538,4064,4219,3839,2950,2943,3264,2655,2235,2278,2187,2183,2774,3365,3212,3251,3207,2879,1919,1983,2140,2180,2578,2504,2562,2709,2687,2779,2504,1737,1914,2106,2249,2209,2086,1948,1504,1793,2189,2172,1782,1857,1953,1676,2208,2310,2375,1874,1581,1997,2329,2459,2569,3074,3552,3209,2533,2601,3441,3307,2513,2331,1693,2018,2054,1580,1525,1914,2636,2951,2711,2396,2477,2412,2818,2674,2796,2983,2908,2156,2348,2504,2271,2292,2217,2314,1886,1842,2229,1997,1861,2022,2012,2181,2388,2688,2910,2570,2418,2254,2190,2523,2986,2810,2498,2773,3104,3103,2723,2482,1880,1469,1692,1757,1970,2978,3363,3117,2668,3119,3386,2852,2342,2350,2790,3120,2692,1906,1864,2094,1619,1657,2713,3517,3287,3218,3076,2699,2652,2976,2562,2342,3250,3389,2627,2171,1841,1921,2277,2126,2125,3050,3508,3196,2343,1426,2077,3374,3477,4276,3915,2943,3419,3432,3197,3608,3838,3996,4053,3244,2674,2762,2964,3574,3760,3373,2679,2310,2179,2000,1968,2122,2110,1918,1857,1928,2106,2541,2566,2291,2341,2633,2569,2520,2963,3393,3391,3302,2721,1897,1902,2115,2443,2774,3251,2742,2835,3322,3409,2994,2811,2320,1978,3069,3792,3548,2839,2221,2525,2359,2436,2555,2408,2458,2304,2468,2744,2021,1652,1912,2247,2216,2017,1853,1839,2565,3100,2629,2177,2376,2658,2774,2553,1840,1896,2052,2208,2958,2255,2250,2366,2742,2963,2147,1887,2287,2092,2241,2701,2851,3430,3373,2644,2689,2453,2037,2356,2309,2338,2299,2260,2248],[2290,2387,2969,2918,2909,3130,3428,3189,2985,2670,2208,2220,2330,2611,3348,3463,3462,3113,2780,2699,2910,2554,2476,3094,3406,3195,2744,2480,2678,2817,3044,3354,3441,2788,1786,2331,3061,2402,2054,2302,3012,3184,2773,2613,2513,2561,2686,2711,2701,2490,1948,1571,2010,1959,1708,2218,2060,2316,2733,2381,2456,2946,3029,2973,2932,2757,2854,2609,2526,2686,2490,2500,2463,2499,2270,2298,3520,3937,3470,3098,3233,3326,3144,2911,2623,2336,1892,2024,2417,2401,2510,2641,2541,2761,2712,1963,1515,1683,1876,2264,3110,3598,2966,3052,3316,2599,2273,2398,2353,2338,3118,2002,1686,2236,2952,3298,2830,2808,3234,2671,2116,2390,2558,2741,2774,2961,3666,3444,3106,3123,3263,3272,3150,3032,2945,2902,3012,3180,3140,3528,4464,4689,4184,3730,3131,3398,3601,3731,3782,3566,3132,3053,3000,2834,2946,3198,2548,2655,3090,2856,2378,2261,1968,1753,2362,2356,2291,2642,2441,2408,1992,2233,2154,1979,1839,1880,2015,1973,2326,2723,2326,2306,2499,2294,2514,2705,3195,3195,2697,2910,3275,2882,2700,2697,2642,2509,2045,2499,2952,2427,2377,2267,2676,3361,3523,3287,3022,2730,2963,3352,2673,2998,2978,2464,2148,2392,2122,2903,3542,2822,2336,2198,1851,1729,2430,2508,2990,3259,3677,3345,2190,1879,2466,2542,2039,2324,2561,2770,3096,2391,2349,2708,3011,3252,2777,2216,2325,2507,2708,3247,2811,2244,2304,2377,2173,2046,2110,2151,2210,2321,2364,2314,2254,2250,2293,2372,2432,2524,2425,2324,2154,2386,2713,2829,2844,2567,2287,2194,1905,1968,2041,1933,1942,1936,1778,1649,1602,1517,1712,2217,2071,1862,2137,2369,2432,2363,2241,2078,2591,2933,3025,2467,2302,2566,2588,2456,2135,2242,2363,2258,2121,2300,3090,3475,3882,4001,3793,3381,2509,2579,3579,3386,2907,3641,4142,4123,3942,3743,3401,3300,3210,3174,3355,3623,3344,2795,2303,2149,1919,2111,2198,2108,2078,2030,2160,2903,3328,2721,2494,2888,3212,2921,2686,2344,2268,2491,2656,2585,2316,2366,2792,3000,2958,2965,2702,2577,2654,3018,2625,2696,2920,3074,3067,2997,2578,2307,2549,2807,2419,2312,2431,2578,1830,2155,2152,1816,1998,2136,1888,1710,1804,1651,2132,2320,2271,1873,2630,2383,2320,2791,2662,2707,2941,2487,2273,2499,2489,3570,4193,3497,3194,3293,3842,3554,2611,2558,2482,2026,2088,2238,3283,3139,3035,3251,3285,3311,3152,2629,2349,1954,1814,1965,1903,2087,2945,2797,2809,3354,3438,3410,3356,3293,2999,3538,3626,2863,2562,3138,4295,4350,4340,4448,4497,3715,3392,3681,3886,3973,3733,3328,3060,2766,2317,2476,2556,2095,2121,2800,2276,2305,2513,2474,2756,2531,2074,2045,2663,2893,2302,1645,1875,2050,1866,2026,2030,1808,2147,3118,2964,1830,1712,1355,1417,1561,1772,1815,2065,1887,1728,1797,1653,1618,1744,1546,1634,1994,2388,2075,2179,2626,2586,2433,2868,2734,2438,2097,1947,2096,2412,2501,2333,1969,1995,1874,1704,1631,1771,1955,2049,2122,2424,2548,2350,2306,2144,1731,2202,2431,2357,2480,2857,2519,1698,1598,2007,2596,3125,2984,2453,1935,1863,1975,1714,2212,2700,2607,2588,2281,2265,2392,2204,2077,2106,2755,2531,2422,2609,2517,2378,2224,2277,2542,2639,2967,3252,3500,3605,2635,2954,3261,3624,2697,2256,2415,2589,2597,2274,2583,3274,3134,2504,2631,2563,2429,2664,2698,2855,2403,2810,2632,1837,2098,2788,2533,2122,2729,2170,1578,2270,2711,2929,2673,2880,2916,2802,2875,2745,2818,3034,3641,3706,3399,3482,3507,3362,3270,2722,2370,2436,2943,3195,3349,3377,3558,3824,3044,2297,2024,2524,2182,1942,2758,2600,2343,2359,2515,3698,3786,3704,3770,3740,3817,3913,3904,3844,3848,3389,3043,2952,2423,2232,2167,1754,1719,1824,2026,1754,2358,2632,2214,2458,2894,3320,2824,2522,2862,3069,3078,3064,3365,3514,2740,2697,2800,2599,2998,3407,3312,2906,2890,2758,2924,2836,3034,2212,2164,2316,1983,1396,1129,1389,1664,2050,1664,1979,1997,2051,1912,2521,2984,3019,2889,2438,2018,2424,3193,3176,2830,2862,2425,2655,2831,2676,2098,1709,2034,2258,2267,2465,2361,2238,2124,2158,1975,2027,2139,2823,2658,2329,2500,2127,2301,3002,2512,2449,2986,3295,3146,3104,3305,3529,3372,2944,2833,2524,1915,1901,2336,2708,2606,2423,2282,2283,2070,2298,3066,2919,2394,2930,3068,3109,3474,3134,3391,3713,3121,2024,1740,1886,2193,2266,2425,2364,2277,2327,2651,2792,2656,2366,2105,1974,2239,2653,2546,1946,1249,1427,2128,2088,2295,2402,2432,2616,2473,2545,2655,2519,2467,2254,2197,2199,2122,2477,2425,1901,2127,2435,2368,2518,2702,3518,3031,2428,1697,1667,1787,1798,1619,1743,2387,2460,2198,2486,2132,1677,1591,1654,1512,1561,1605,1834,1826,1658,1741,1980,2245,2284,2213,2019,1700,2135,2048,1934,1902,1624,1526,1570,1716,1745,1534,1639,2034,1865,1664,1620,1628,1687,1556,1870,2386,2192,2076,2932,3459,3597,3606,3517,3535,3973,4036,3833,3882,3868,4005,4064,3750,3195,2955,3231,3495,3585,3605,3999,3970,3784,3641,3617,3421,3417,3289,2608,2481,2839,2831,2302,2004,2082,2647,2759,2601,3185,2836,2431,2995,2957,2437,2722,2631,2847,3021,2644,2820,2906,2802,2485,1820,2240,2576,2431,2351,2467,3088,2945,2574,1972,1908,1748,1945,2126,1698,1490,1938,2490,2271,1750,1450,1390,1490,1358,1360,1405,1664,1815,1794,1641,1636,1566,1378,1609,1377,1393,1523,1812,1567,1565,2213,2920,2356,1825,1782,1700,2114,2395,2258,1924,2077,1914,1565,1721,1881,2209,2118,2430,2674,2492,2316,1679,1453,1424,1447,1494,1458,1660,2018,2218,2098,1801,2116,2246,2021,2057,2029,1637,1604,1380,1306,1406,1453,1602,2003,2556,2847,2842,2801,2214,1813,2062,1919,1974,1904,1972,1922,2117,2216,1841,1793,1870,1947,1873,1823,1970,2120,2311,2038,2100,2486,2573,2353,2469,2874,2945,2404,2248,2601,2054,1808,1720,2094,2077,2602,2916,2893,2645,2407,2576,2837,3012,3282,3188,2498,1852,1830,1797,1850,1972,2133,2625,2565,2719,3143,2946,3288,3417,3164,2724,2751,2620,2449,2901,2927,3182,3485,2998,2492,2378,2463,2765,3086,3500,3307,3688,4087,4176,4266,4355,4347,4248,4207,4224,3521,1914,1410,1617,1659,1664,1709,1769,1925,1904,1921,2030,2065,2808,3642,3717,3724,3697,3631,3872,3829,3190,2536,2802,3055,2722,2424,2225,2213,1826,2150,2701,2751,2901,3457,3363,3077,2766,1816,1396,1641,1897,1940,2532,2932,3168,3824,3794,3882,4351,3614,2748,2727,3248,3231,2885,3420,3450,2666,2409,2967,2988,2707,2438,2531,3275,3532,2896,2902,3068,2565,2643,3190,2883,2182,1980,2968,3275,2486,2055,2305,2756,2487,2194,2425,2381,2325,2509,2642,2998,3185,3330,2529,2685,2734,2520,2829,3175,3305,3211,3061,3042,3283,3515,3617,3117,3050,3135,2325,1602,1647,1651,1721,1895,1897,1736,1618,1072,1339,1694,1663,1732,1840,2051,2353,2433,2317,1837,1649,1934,2332,2088,1669,1465,1574,1802,1765,1937,1730,1705,2250,2762,2563,1930,1721,1892,2143,2095,1783,2259,2738,2286,2098,2120,1935,1970,2081,2526,2868,2430,2444,2556,2187,1816,1689,1428,1177,1464,2113,2444,2568,2441,2099,2406,2342,2730,3203,3243,2601,2108,2445,2931,2988,3176,3306,2640,2091,2020,1957,1842,1973,2480,2281,1742,1659,1669,1571,1621,1828,1821,1685,1773,1725,1799,1704,1631,1765,2036,1931,1842,2304,2658,2161,1582,1443,1571,2294,2451,2418,2275,2401,2669,2302,2239,2579,2555,2703,2659,2676,2766,2561,2303,2318,2127,2463,2112,2282,2766,2818,2621,2236,2226,2106,2252,2733,2121,2502,1948,2273,2412,2155,2766,2886,2667,2522,2212,1452,1571,2490,2744,2140,1827,1854,1978,1890,1936,1891,1785,1685,1885,2011,2088,2644,2508,2573,2390,1636,1741,2050,2358,2467,2736,3244,3326,3672,3374,3234,2655,2480,2055,2308,3046,3360,3162,2568,1744,1798,2544,2544,2418,2392,2732,2753,2093,1967,2025,2307,2597,2244,1510,1561,1878,2010,2455,2321,2556,2058,2048,1803,1547,1667,2199,2237,1803,2219,2304,2125,1911,1719,1820,2630,3242,2814,2007,2351,3194,3408,3432,3355,3430,3482,4232,4268,3584,2723,2322,2404,2503,2807,2546,2153,2746,3139,3107,2855,2907,3029,3029,2083,2138,2272,2555,2727,2594,2531,2674,2661,2653,2334,1300,1859,2586,2646,2654,2029,1512,1645,1898,2139,2110,1923,2424,2375,1692,2402,2244,2396,1823,1814,2151,2248,2742,3334,3395,3415,3526,3263,3088,3449,2733,2121,2078,2038,2155,2108,2003,1797,1949,2318,2504,2441,2831,2730,2692,3225,2855,2924,2885,2966,2589,2120,1815,2530,3006,2934,2646,2259,1952,1933,2196,2117,2162,2125,2291,2530,2722,2641,2453,2113,2114,2098,2313,2366,2016,2447,2322,2450,3031,2645,2023,1876,1974,2343,2592,2393,2482,2502,3260,2336,2605,2788,2234,1681,1953,2872,3212,2941,2733,2604,2612,2511,2373,2725,3352,3176,2940,2850,2494,2823,3338,3256,2958,2975,2600,2488,2004,1697,1875,2062,2260,2842,3507,3754,2985,2047,1722,1839,2652,2980,3748,4176,3277,3439,3691,4124,3860,3506,3924,3882,3255,2468,2251,2910,3005,3488,3156,2590,2294,2221,1896,1654,1799,1957,1976,2094,1810,1932,2581,2442,2266,2224,2228,2331,2656,3034,3165,3372,3541,3118,2057,2554,2502,2154,2620,2909,2780,2972,3110,2822,2394,2277,2054,2054,3164,3724,3742,3150,2513,2907,2928,2662,2540,2191,2419,3012,3125,2540,1668,1653,1725,1964,2118,1817,1898,2199,2552,3125,3128,2871,3059,2858,2402,2064,1709,1783,1969,2464,2956,2231,2208,2358,2522,2249,1590,1530,1920,2138,2197,2272,2814,3630,3408,3497,3455,2674,2095,2336,2406,2221,2171,1910,1982],[2733,2967,3168,3265,3046,2537,2661,3037,3465,3263,2814,2495,2204,2587,2707,2458,2701,2495,2544,2496,2674,2541,2569,2888,2836,2875,2600,2788,3141,3118,3231,3443,3340,2468,1821,2174,2900,2948,2806,2510,2783,2946,2802,2685,2684,2702,2584,2635,2744,2647,2604,2235,2146,2198,2172,2232,2310,2751,2765,2500,2774,3330,3415,2806,2274,2292,2418,2403,2431,2645,2422,2351,2562,2769,2156,2823,4097,3977,3806,3401,3400,3395,3097,2844,2561,2084,1633,1650,1998,2305,2576,2520,2070,2395,2891,2009,1497,1468,1536,1936,2897,3022,2429,2431,2395,2305,2008,1827,2100,2320,2524,2061,2001,2122,2824,3222,2774,2798,3217,2922,2241,2457,2750,2758,2686,2827,3603,3559,3173,3233,3305,3252,3113,2820,2441,2729,3216,3328,3188,3794,4576,4544,4036,3320,3597,4095,3687,3979,3916,3624,2663,1959,2069,2349,2753,2836,2070,2391,3255,2881,2265,2026,1562,1625,2564,2124,2205,2353,2319,2266,1996,2176,2034,1792,1677,1699,2107,2780,3400,2988,2398,2189,2542,2756,2778,2634,2633,2647,3003,3646,4082,3536,2790,2274,2026,1890,2254,2360,2601,2347,1998,2119,2744,3606,3393,2729,2474,2387,2835,3017,2148,2565,2729,2208,2019,2002,2367,2837,2857,2647,2409,2294,2223,1678,1582,1953,2445,2577,3109,3043,2399,2336,2698,2857,2398,2376,2382,2792,2440,2248,2357,2574,3067,3167,2303,1874,2564,2786,2542,2609,2554,2480,2436,2404,2386,2380,2414,2312,2224,2161,2120,2069,2479,2802,2463,2309,1997,1882,2065,2324,2482,2438,2463,2585,2139,1893,1957,2182,1908,1772,1663,1663,1633,1571,1626,1719,1824,1870,2452,2542,1876,2032,2173,2310,3179,3555,3191,2037,1566,2564,3191,2486,2579,3330,3144,2346,2277,2425,2856,2057,1860,2392,2231,2267,2998,3570,3764,3632,2971,2823,3045,2808,3225,3931,3957,3928,3908,3876,3918,3880,3552,3132,3095,3228,2727,2446,2410,2226,2033,2754,2643,2119,2085,2130,2476,3208,3385,2728,2810,3649,3648,3072,2730,2606,2621,2557,2546,2382,2195,2757,3228,3581,3496,2900,2853,2902,2958,2871,3109,3050,2836,2943,3160,3112,2702,2393,2489,2278,1939,2703,2938,2622,2254,2093,2044,2357,2740,3100,2719,2046,1763,1867,2976,2586,2096,1700,2506,2393,2404,2881,2718,2712,2984,2508,2225,2511,2765,3274,3718,3404,2887,2601,3178,3273,1956,1775,2176,2475,2443,2273,3224,3166,3009,3122,3185,3196,3055,2756,2518,1959,1677,1926,2261,2340,3069,3071,3134,3284,3286,3209,3285,3500,3387,3342,3269,2510,2654,3095,4218,4396,4480,4464,4384,3961,3352,3506,3964,3944,3839,3629,3421,3030,2986,3143,2857,2501,2765,3142,2701,2703,2465,2432,2631,2195,2100,1853,1904,2022,2377,2374,2581,2545,2492,2567,2050,1923,2250,2476,2130,1446,1802,1662,1420,1490,1961,1964,1883,1589,1511,1871,2030,2004,1829,1812,1754,1902,2364,2251,2124,2057,1975,2155,2128,2140,2188,2013,1821,1774,2144,2216,1951,1749,2017,1824,1705,1676,1714,1872,1894,1825,2360,3066,2598,2197,1991,2049,2566,2668,2398,2482,2941,2698,1823,1437,1766,2607,3075,2908,2378,1923,1965,1865,1709,2314,3168,3208,2774,2693,2967,2097,1772,2360,2584,2850,1954,1687,1737,2312,3081,3053,2787,2648,2745,3407,3458,3649,3038,2473,2835,3140,3345,2395,2093,2029,1936,2362,2319,2893,3845,3211,1857,1856,2067,2313,2556,2525,2975,3104,2584,2360,2846,3029,3271,2421,2282,3271,2784,1844,2146,2819,3167,2965,2952,2985,2724,2957,2933,3041,2830,3572,3957,3880,3727,3365,3312,3276,2946,2465,2321,2712,2890,3229,3293,3299,3431,3074,2785,3050,3484,2872,2057,2083,2390,2145,2945,3626,3936,3771,3651,3706,3778,3849,3903,3861,3847,3846,3790,3951,3740,3014,2497,2279,1864,1884,2164,1978,1663,2401,3050,2850,2820,3351,3454,2484,2735,2396,2207,3166,3917,3904,3730,3160,2796,2800,2699,2917,2918,2931,2565,2332,2421,2368,2160,1978,1733,1987,2005,1656,1563,1104,1271,1597,1824,1937,2272,1680,1895,1990,2234,2880,3118,2697,2701,2709,2812,3076,2978,2356,2405,2353,2427,2492,2343,2375,2318,1795,1581,2046,2698,2663,2271,1883,1858,1750,1522,1637,1979,2249,2315,2341,2452,2774,2430,1813,2520,3142,3228,3178,3401,3217,3016,2766,2191,2082,1819,1750,1965,2358,2634,2394,2369,2031,2108,2156,2066,2843,2985,3061,3493,2968,3088,3269,3615,4585,4348,3436,2126,1653,2030,2210,2213,2248,2447,2629,2544,2592,2532,2722,2776,2316,2155,2601,2720,2442,1694,1166,1800,2311,2354,2265,2171,2403,2456,2426,2586,2687,2620,2441,2598,2690,2094,1879,2177,2115,1880,2304,2200,2221,2571,2066,2585,3043,2601,2233,1963,1638,1920,2199,2107,2381,2298,2469,2590,1987,1679,1784,1573,1531,1578,1531,1547,1588,1754,2083,1972,1879,2017,2283,2464,2244,1931,1602,1837,1820,1477,1519,1721,1990,2090,2009,2199,2093,1686,1591,1641,1631,1629,1429,1299,1788,2778,2584,2846,2729,2767,2412,3118,3757,4121,3952,3557,3351,3583,3664,3775,3708,3673,3346,3384,3415,3576,3889,4164,3815,3299,3199,3492,3698,3484,3282,2933,2645,2862,2653,2735,2666,2358,2459,2387,2670,3231,2919,2426,2547,2557,2941,2687,2213,2907,3005,2588,2423,2558,2736,2571,2301,2725,2912,2800,2333,2584,2922,2901,2742,2226,1879,1686,1716,1659,1542,1481,1979,2670,2225,1704,1566,1602,1435,1322,1348,1371,1556,1709,1798,1792,1708,1600,1430,1369,1273,1362,1990,2235,1859,1475,2006,2732,2502,1907,1660,1683,1956,2194,1854,1588,1741,1700,1493,1664,1775,1665,1615,1819,1929,2116,2139,1485,1523,1698,1579,1587,1560,2288,2591,2505,2235,1738,2018,2251,2236,2283,2013,1751,1645,1537,1488,1572,1511,1469,1809,2456,2656,2750,2581,1977,1776,2114,2491,2307,1877,1836,1660,1556,1531,1687,1804,1732,1867,2123,2154,2125,2017,2076,1908,1946,1750,1389,1794,2425,2702,2702,2236,2555,2683,1920,1704,1814,2145,2188,2764,2813,2444,2575,2312,2417,2260,2201,2387,2359,2466,2509,2188,1851,2556,2642,2049,2395,2615,2966,3426,3006,3150,2990,2602,2681,3042,2367,1712,2374,2791,3095,3530,3046,2547,2413,2658,3093,3351,3562,3663,4157,4293,4136,4224,4422,4448,4429,4384,4385,3528,1736,1399,1659,1755,1654,1631,1723,1873,1960,2090,2144,2256,3549,4060,3422,3911,4312,4240,4144,3724,3282,3112,3268,2864,2378,2501,2216,2678,2690,2648,2446,2249,2931,3475,3045,3207,3496,2293,1561,1852,2270,2330,2397,2522,3462,3836,3993,4227,4063,3576,3307,2964,2972,3087,2543,3021,2922,2181,1952,2856,3095,2770,2769,2916,3440,3968,3471,3285,3485,3301,2871,2596,2337,2548,2563,2823,3459,3586,3062,2651,2562,2557,2353,2458,2833,2889,2814,2789,2776,2591,2724,2851,3123,3395,3184,2745,2985,2985,2642,2558,2668,2856,3388,3609,3396,2674,2059,1813,1624,1587,1367,1446,1814,1884,1772,1812,1522,1909,2281,2110,1931,2061,2332,2275,2087,1841,1810,1763,1948,2272,1941,1341,928,1312,2014,2548,2331,1799,2157,2438,2166,1834,1851,1841,2320,2497,1969,1671,1983,1997,1653,1665,1801,2034,2166,2435,2527,2575,2585,2514,2348,1923,1853,1839,1607,1524,1704,2055,1808,2002,2373,1950,2003,2463,3075,3075,2699,2218,2481,3042,2864,3018,3306,2983,2275,2590,2412,2727,2809,2336,2160,2258,2111,1583,1585,1544,1645,1805,1508,1531,1969,1992,1772,1612,1512,1611,1859,1799,1710,2271,2588,1868,1534,1554,2028,2428,2081,2058,2182,2420,2322,2314,2502,2101,2172,2743,2653,2780,2718,2921,2744,2470,2154,2318,2285,2135,2697,2846,2289,2032,2451,2348,2447,2696,2501,2809,2349,2363,2346,2524,2852,2710,2758,2264,1606,1535,1680,2733,2988,2663,2179,1650,1814,2254,2303,1781,1866,1766,1841,1904,1765,2000,1933,2032,1928,1565,1569,1975,2613,2751,2874,3343,3153,3651,3532,2925,2373,2925,2469,2163,3028,3537,3260,2698,2221,2018,2545,2920,3222,2880,2900,2924,2426,1944,2090,2447,2354,2059,1388,1425,2048,2522,2734,2257,1850,1676,1839,1710,1659,2093,2667,2718,2624,2751,2725,1958,1632,1641,2060,2737,2830,2524,2130,2461,3182,3497,3610,3237,3105,3135,3492,3355,3284,2807,2571,2943,3558,3917,3310,2022,2351,2276,2204,1859,1829,2089,2501,2517,2556,2535,2576,2519,2812,2909,3266,3382,3343,3090,1900,2146,2558,2785,2835,2046,1510,1613,1788,1975,2288,2539,3011,2809,2502,2081,1715,1934,2036,2197,2037,1979,2602,3356,3343,3318,3482,3204,3083,3549,3088,2910,3030,2574,2048,2233,2327,2092,2076,1357,1391,2424,2464,2076,3142,3785,3614,3382,2734,2584,2568,1878,1792,2764,3307,2979,2232,1873,1958,1813,1875,2061,2018,1925,2106,2384,2499,2481,2366,2414,2321,1871,1888,1937,1887,2412,2208,2309,3350,2947,1946,2014,2397,2731,3270,2381,1947,2279,2998,2218,2009,2197,2097,1828,2579,3317,3274,2761,3095,2830,2831,3274,3283,3110,3607,3504,3175,3066,2811,3123,3249,2974,2755,2532,1850,2194,2355,1859,1694,2029,2287,2556,3168,3438,2578,1879,1621,1506,1880,2618,3373,3441,3066,3343,3437,3412,3550,3667,3798,3871,3583,2475,2130,2790,2429,2176,2275,2184,2289,2375,1903,1693,1784,1917,1922,2330,2248,2336,2383,2313,2272,2121,1997,2068,2410,2509,2531,3106,3216,2812,2470,2278,2286,2394,2252,2186,2785,2942,2374,1946,1770,1700,1884,1995,2953,3392,3122,2399,2574,3348,3686,3772,3479,3118,2907,3000,2592,1823,1534,1811,1857,1938,2030,2009,2537,2779,2810,3107,3029,2734,2888,2341,1814,1838,1685,1881,2245,2278,2125,2083,2105,2151,2223,2249,2009,1704,1677,2353,2681,2943,3240,3419,3068,3034,3263,2963,2396,2216,2254,2239,1954,1789,2036],[2696,2735,3189,3352,3182,2993,2940,3446,3907,3868,3683,3059,2539,2750,2878,2854,3197,2955,2866,2864,2955,3183,3002,2462,1920,2091,2780,3251,3328,3199,3074,2802,2590,2088,2274,2445,2539,2592,2544,2480,2501,2668,2744,2763,2717,2695,2711,2854,2786,2619,2809,2800,2426,2347,2661,2824,2752,2850,2728,2536,2686,3453,3662,2922,2132,1882,1866,1827,2170,2480,2944,3286,2786,2520,1948,2691,3398,3495,3415,3139,3249,3582,3543,3308,2791,2330,1700,1609,1681,2172,2680,2768,1918,1692,2153,2225,2148,2000,1670,1643,2024,2098,1893,1845,2321,2331,2426,2621,2416,2297,2443,2942,2336,1639,2613,3438,3285,3103,3362,3309,2888,2856,2724,2930,3186,3175,3510,3580,3237,3353,3397,3262,3066,2822,2874,3426,3739,3894,3606,3946,4455,4436,4030,3769,4041,4108,4062,3932,3917,3606,3257,2893,3078,3223,3284,2976,2288,2277,2842,2121,1874,2055,1842,2116,2690,2075,1725,1704,2154,2570,2706,2574,2339,1937,1772,1991,2483,3000,3393,2777,1938,1524,1994,2566,2733,2714,2707,2644,2679,3056,3917,3240,2414,1973,1588,1509,2205,2163,2084,2314,2123,2102,2662,3499,3408,3204,2715,2861,3172,3125,2158,2373,2740,2809,2693,1996,2213,2683,2614,2714,2399,2365,2394,2094,2208,2290,2227,2809,3077,2861,2404,2103,2452,3099,3165,3002,2345,2471,2448,2631,2450,2155,2592,2679,1998,1812,2260,2527,2526,2410,2215,1966,1980,2115,2096,2048,1888,1728,1709,2002,2305,2200,2987,3130,2562,2480,2042,1863,2093,2089,2300,2678,2910,3039,2331,1995,1816,2294,2138,1912,1787,1612,1642,1794,1766,2065,2175,2106,1792,1614,1746,1771,1658,2091,3313,3692,3242,2114,1646,2412,2481,2177,3098,3930,3322,2459,2758,2879,2755,1787,1523,1982,2031,1626,2056,2756,2967,3476,3646,3550,3604,3737,4124,4026,3373,3138,3790,4231,3910,3907,3997,3448,3185,3183,2746,2655,2598,2425,2409,2665,2325,2033,2546,2936,3184,2863,2878,2521,2846,3880,3444,3137,3044,2889,2674,2467,2387,2108,1853,3053,3281,3421,3410,3260,3312,2969,2552,2743,2878,2495,2596,2892,3173,3435,3150,2788,2612,2018,1825,2585,2952,2711,2465,2187,2106,2801,3370,3514,2679,2082,1727,2143,3062,2941,2482,2428,2464,2210,2411,2598,2257,2534,2754,2091,2013,2405,2928,2984,3422,3632,3241,2562,2587,2713,2312,2165,1852,2063,1772,2444,3397,3409,3382,3532,3626,3551,3046,2590,2677,2403,2467,2801,2810,2926,3275,3363,3164,2983,3104,3299,3480,3496,3272,3163,2993,2453,2736,3509,4336,4339,4372,4452,4328,3623,3393,3528,3691,4090,4205,3216,2790,2917,2634,2085,2574,3172,3716,3473,2710,2529,2208,2321,2424,2453,2520,2320,1566,1603,2156,2374,2823,2618,2314,2420,2002,1949,2269,2188,1888,1949,2426,2256,2081,2068,2013,1860,1886,2037,2002,2275,2303,2199,2217,2192,1884,1936,2110,1824,1917,2106,2198,2209,2150,2221,2007,2267,2106,1992,1980,1680,1644,1851,1836,1676,1775,2220,2286,1764,1534,1714,2526,2923,2385,2080,2470,2996,3238,2801,2193,2062,2371,2567,2066,1725,2052,2592,2784,2749,2619,2106,1775,1678,1615,2061,2866,3175,3355,3132,3242,2666,2056,2640,2600,2198,1740,1606,1827,2675,3595,3400,2629,1799,2645,3492,3595,3816,3459,3361,3150,2934,2648,1980,2120,2023,1910,2088,2116,2588,3374,2733,2312,2338,2122,2049,2116,2090,2465,3123,3002,3142,3076,3000,2518,1484,1463,2503,3066,2985,2746,2520,2908,2879,2886,2812,2568,2874,2817,3039,2900,3300,3674,3563,3432,3560,3516,3487,3449,2591,2056,2022,2355,3105,3210,3411,3528,3402,3624,4000,3958,3205,1848,2075,3090,3060,3466,3704,3791,3826,3770,3616,3616,3812,3885,3794,3726,3725,3823,3952,4047,3916,3337,2662,2408,2973,3168,2692,2170,2466,3354,3672,3414,3480,3166,2630,2815,1929,1146,2676,4144,3892,3553,2926,2631,3212,3376,3168,2653,2389,2544,2203,1873,2112,1914,1466,1570,1886,1815,1356,1625,1646,1477,1830,1910,1863,1828,1574,1756,2104,2165,2513,3132,3151,3688,3440,3484,3378,3522,3304,2732,2291,2097,2409,2755,3156,3042,2280,1705,1691,2026,2344,2282,2047,1959,1869,1782,1706,1760,2015,2182,2261,2511,2536,2330,2446,2842,3220,3316,3282,3155,2428,2398,2375,1982,1571,1029,1361,1632,1982,2114,2404,2576,2286,2436,2613,2566,3101,3084,2949,3188,2840,3272,3638,3848,4416,4460,3260,1781,1272,1723,1979,2030,2296,2288,2551,2736,2747,2648,2644,2799,2569,2256,2324,2342,2250,1604,1305,2116,2571,2830,2495,2379,2556,2447,2414,2646,2750,2520,2072,2188,2357,2184,2336,2541,2041,1454,1698,2006,1937,1774,1684,2159,2696,2752,2407,1953,1484,1707,2192,1865,1894,2574,2862,2498,1860,1701,1644,1476,1537,1685,1776,1714,1741,1810,2420,2342,2104,2492,2256,2248,2222,1673,1377,1498,1520,1484,1882,2005,2206,2059,2045,1682,1715,1751,1715,1904,1801,1690,1656,1530,1875,3190,3097,2779,3110,2639,2543,3541,3920,3874,4164,4086,3156,2776,3099,3466,3895,4200,4008,3960,3749,3817,3417,3321,3255,2656,2608,2652,3250,3426,3269,3207,3283,3736,3326,3436,3470,3012,2564,2138,2237,2554,2675,2203,2564,2562,2600,2370,2365,2864,2976,2580,2325,2322,2710,2458,2432,3034,2712,2893,3176,3391,3221,2587,2482,2721,2309,1930,1888,1672,1860,1998,1910,2370,2244,1878,1632,1570,1365,1334,1406,1384,1455,1668,1750,1862,1830,1540,1396,1116,1380,1736,2670,3176,2260,1640,2110,2195,1952,1813,1615,1560,1606,1951,1704,1567,1449,1470,1560,1571,1666,1680,1542,1434,1562,1672,1486,1600,1739,1772,1472,1378,1431,2030,2388,2294,2247,1623,1851,1844,1979,2286,2159,1744,1575,1700,1809,1732,1744,1582,1553,1892,2170,2286,2075,1636,1644,1545,2146,2150,2007,2248,2047,1746,1575,1666,1665,1635,1809,2364,2377,1933,1714,1920,2048,2050,1753,1597,1472,1618,2163,2674,2132,3105,2858,2292,2146,2272,2276,1922,2066,2129,2308,3021,2958,2261,1683,1581,2031,2636,3301,3148,2267,1811,2536,2780,2201,2421,2584,2612,2679,2586,2806,2692,2380,2280,2321,1874,1902,2846,3259,3450,3318,2868,2653,2442,2877,3287,3382,3606,4140,4417,4225,3934,4108,4477,4443,4428,4329,4052,3167,1911,1440,1664,1860,1789,1729,1717,2004,1983,2055,2216,2714,3475,3751,4156,4743,4695,4311,4049,3858,3630,3629,3805,2873,2165,2476,2203,2513,2718,2496,2252,2862,3539,3099,2852,3608,3973,2651,1998,2176,1992,2104,2396,2553,3674,4600,4452,3977,3657,3181,2602,2309,2161,3232,2997,2656,2058,1886,2154,2636,3002,2721,2700,2877,3277,4014,3776,3495,3482,3541,3305,3091,2633,2530,2663,2783,2874,3205,3562,3132,2722,2698,2242,2808,3222,3073,2636,2540,2558,2389,2379,2439,2765,3385,3300,3083,2978,2731,2442,2453,2376,2509,3011,3496,3354,2213,1843,1825,1584,1415,1457,1494,1689,1746,1772,1927,1922,2004,2182,2036,1909,1963,2380,2487,2270,1798,2060,1807,2370,2501,2081,1652,1052,1373,1931,2360,2126,2329,2523,2119,1735,1725,1716,1825,2425,2669,2226,1683,1660,1678,1776,2092,2055,1976,1767,2223,2364,2293,2278,2235,2215,2047,1860,1766,1744,2088,2170,2102,1722,2266,2590,2388,1920,2157,3151,3510,2871,2368,3194,3328,3042,3342,3418,2386,2236,2399,2482,3205,3251,2520,2218,2706,2701,2005,1953,2053,2172,2117,2148,2129,2326,2117,1709,1524,1449,1489,1598,1750,1909,2309,1814,1916,1908,1743,1454,1755,2202,2183,2114,2207,2025,2439,2234,2171,2323,2600,2741,2730,2767,3000,2667,2071,1896,2242,2492,1956,2053,1960,2013,2024,2263,2079,1924,2153,2359,2599,2659,2678,2872,3077,2933,2393,2744,1974,1764,2411,2350,2743,2810,2832,2655,1941,2310,3075,2845,1908,2170,2236,2139,2126,1963,1967,1854,2088,2453,2249,2242,2585,2623,2702,2879,2931,3109,3727,3486,2555,2457,2492,2236,2561,2872,2987,2542,2559,2544,2155,1976,2696,3333,3158,3096,3132,2587,1899,1959,2285,1970,1724,1520,1422,2576,3705,3360,2001,1635,1840,1719,2256,3118,3384,3517,2964,2591,2569,2496,1835,1687,1899,2049,1815,1920,2171,1948,2638,3183,3181,3098,3083,3175,3260,3310,3318,3565,3293,2718,2964,3930,3808,3653,2078,2152,2955,3198,2128,1938,2986,3207,2854,2579,2235,2933,3103,3282,3208,3186,3186,3496,3407,2584,2843,3205,2941,2688,2160,1880,1842,2110,2431,2428,2331,2439,2568,2836,2234,1716,1808,1808,1825,1728,1825,2448,3139,3365,3713,3535,3120,3387,3509,3272,3432,2896,2106,2022,2066,2291,2520,2190,1627,1948,2474,1981,2293,2990,2990,3310,3164,2010,1877,1929,1722,1817,1919,2300,1976,2199,2229,2432,2545,2281,2324,2043,1914,1941,2012,2232,2146,1998,2386,2649,2077,1915,2489,2272,2224,2365,2103,2952,2545,1701,1803,2387,2609,2642,2314,2456,2894,2576,1775,1813,2312,2314,2336,2937,3129,3188,3218,3498,3146,2770,3010,3176,3294,3539,3309,2964,3145,3016,3252,3702,2876,2287,2065,1942,2047,2072,1788,1730,2299,2370,2370,2358,2118,1999,1699,1405,1275,1270,1792,2351,2472,2540,3152,3438,3462,3671,3189,3317,3550,2721,1851,1924,2677,2723,2210,2147,2372,2674,2788,2307,1873,1818,1860,1916,2571,2602,2187,2271,2408,2266,1965,1738,2343,2740,2531,2314,2742,2776,2677,2857,2568,2815,2907,2032,2055,3146,3247,2289,2010,1500,1350,1754,1979,2959,3556,2549,1706,2214,2417,2718,3670,3635,3752,3630,3321,2131,1793,2162,1996,1924,2194,1964,1823,2464,3200,3022,2749,2667,2456,2963,2460,1657,1591,1808,2137,2525,2798,2770,2314,2102,1968,1676,1904,2004,1878,1654,1986,2632,2786,3106,3281,2468,1962,2531,2701,2360,1993,2014,2045,1764,1784,2044],[3300,3544,3694,3182,3298,3359,3229,3482,3627,3503,3235,2705,2671,2803,2687,2743,2999,3022,2801,2887,3078,3431,3227,2519,1934,2099,2974,3182,2927,2792,2325,2222,2543,2779,3259,2852,2384,2346,2049,1994,2168,2620,2319,1965,2116,2486,2675,2601,2377,2218,2315,2373,2154,2306,2938,3117,2755,2309,2227,2479,2495,2991,3229,2691,2416,2427,2158,1863,2238,2434,2995,3527,3525,3075,3065,3144,3216,3275,3049,2738,2934,3239,3374,3210,2836,2953,2344,2068,1743,2056,2251,2767,2191,1877,2690,3175,3033,2731,1896,1775,2047,2575,2337,2531,2612,2211,2733,2872,2793,2798,3264,3843,2941,1996,2634,3142,3344,3271,3226,3382,3444,3573,3643,3733,3559,3030,3264,3516,3212,3403,3383,3333,3019,2695,3427,4029,4058,4015,3688,3626,4069,4230,4133,3938,3994,3818,3676,3724,4008,3815,3437,3564,3509,3205,3286,3230,2438,2233,2830,2159,1952,2233,1869,1691,2243,2098,1835,2410,2602,3245,3252,2437,2042,1836,1953,1946,2532,2437,2457,2809,2223,1721,1946,2423,2622,2362,2374,2423,2456,2242,2553,1882,1535,1743,1905,2065,2218,1887,1940,2457,2482,2187,3261,3928,3575,3166,2802,2448,2912,2390,1018,1814,3104,3100,2700,2661,2567,2629,2621,2621,2218,2356,2509,2390,2405,2075,2323,3312,3252,2856,2436,2060,2297,2846,3218,2802,2329,2337,2569,2822,2282,2327,2534,2007,1904,1768,1830,2126,2130,1858,2024,2055,1771,1853,1858,1671,1753,2214,1823,2095,2281,1957,2791,2674,2466,2919,2526,2196,2260,2001,1957,2583,2850,2876,2979,2414,1728,2154,2177,1862,1705,1774,2288,2522,1905,2304,1777,1704,1640,1987,2027,1738,1708,2229,3218,3696,3194,2393,2371,2209,2084,2636,2913,3494,2886,2754,3572,3595,2698,1933,1948,2322,2272,2014,2532,2255,2191,2757,3356,3605,3832,3937,3950,3217,2268,2185,2814,3776,3997,3535,3550,3253,3138,2985,2771,2773,2736,2544,2312,2420,2384,2318,2635,2475,2439,2321,2397,2286,2578,3052,3278,3254,3031,2857,2707,2720,2488,2555,2798,3264,3194,3275,3273,3422,3481,2983,2597,2799,2811,2455,2891,2867,3425,3400,2955,2985,2897,2611,2375,2610,2479,1768,2151,2197,1783,2741,3562,2995,2415,2321,1960,2496,3046,2985,2912,2890,2898,2765,2331,2066,1857,2060,2164,1754,1831,2160,2521,2774,3219,3617,3366,3115,2903,2336,2350,2301,1942,1702,1935,3154,3851,3880,4092,4092,4148,4119,3771,3442,2867,2417,2645,2047,2065,2573,3278,3873,3419,2994,3176,3393,3518,3215,3042,3459,2899,2185,2122,3074,3699,4009,4101,4448,4440,3867,4329,3825,3730,4116,3802,3250,3026,3221,3000,2519,2480,2855,3276,3191,2774,2520,2242,3047,3210,2759,2439,2343,1782,1944,1945,1818,2049,1896,2107,2341,2198,2249,3055,2893,2876,2755,2438,2465,2941,2837,2045,1910,2136,2292,2534,2706,2500,2074,2370,2404,1964,2141,2124,2162,3001,3158,2793,2511,2375,2402,2195,2238,2079,1892,2302,2293,1889,1609,1750,2017,2161,2091,2007,1748,1934,2375,2482,2208,2118,1713,2061,3540,3774,2966,2364,2075,2105,2557,2665,2765,2736,2629,2734,2812,2665,1996,1883,2342,2151,2395,3268,3747,3958,3540,3418,2957,2646,3154,2648,1854,1727,1843,2211,2819,3572,3493,2849,2138,2824,3484,3619,3193,3018,3205,2934,3064,2963,2150,2259,2010,1989,1776,1861,2009,2331,2502,2598,2618,2379,2101,1672,1770,1896,2492,2643,1888,1704,2387,2241,1965,1798,2366,2724,2576,2442,2133,2779,2844,2838,2452,2451,2878,2733,2574,3008,3107,2907,2927,3274,3860,3796,3595,3642,3015,2290,2088,2485,2901,3211,3506,3494,3480,3686,4005,4200,3605,2460,2236,2953,3752,3777,3645,3601,3710,3755,3629,3593,3783,3821,3710,3425,3491,3671,3936,4108,4095,3824,3086,2581,2524,2834,2933,2330,2423,3049,4071,4016,3480,3417,3435,2934,1816,1122,2136,3182,3254,4005,3530,3271,3775,3773,3383,2824,2128,2186,1756,1273,1831,2039,1697,1964,2042,2325,1722,2009,2206,1543,1536,1569,1541,1722,1842,1972,2115,2111,2306,2817,3642,3862,3281,3372,3638,3530,2850,2003,1470,1636,2413,2962,2961,2966,2615,1920,1622,1542,1824,2133,2153,2040,1866,1789,1675,1478,1665,1959,2448,2674,2040,2254,3031,3238,3063,3054,3293,2961,2537,2858,2439,2425,2053,1644,1820,1360,1941,2633,2554,2511,2446,2677,2851,2710,3110,3213,3319,3119,3168,3210,3494,3842,4160,3963,3089,2286,2071,1954,1781,1823,2272,2233,2174,2476,2623,2604,2627,2624,2548,2512,2284,2117,2093,1832,1809,2377,2703,2863,2646,2455,2436,2361,2482,2645,2649,2388,1979,2439,2438,2281,2109,2404,2145,1614,1654,2020,1887,1499,1700,2305,2801,2829,2237,1998,1713,1774,1955,2127,2512,2853,2973,2738,2153,1782,1808,1980,1908,2146,1905,1976,1730,1469,1867,2080,2218,2680,2675,2359,2221,1890,1747,1626,1709,1666,2167,2449,2591,2533,2193,2113,2368,2019,1883,1968,1655,1749,1507,1465,1598,2544,2919,2504,2680,2751,3462,4092,3756,3895,4299,4640,3903,3286,3189,3520,4094,4248,4324,4141,4124,4166,3426,2889,2609,2218,2186,1953,2655,3249,3466,3652,3906,4026,3674,3551,3627,3210,2463,2219,2683,3013,2634,2363,2801,2734,2782,2873,2727,2740,2747,2471,2414,2386,2796,2640,2688,3279,2926,3146,3688,3959,3485,2471,2375,2819,2740,2666,2653,2207,2368,2704,2236,2086,2512,2232,1856,1943,1816,1511,1390,1441,1494,1582,1688,1808,1852,1666,1295,1172,1377,1537,1813,1916,1641,1736,2066,2124,1959,1550,1397,1360,1716,1940,1639,1450,1477,1776,1668,1618,1676,1507,1355,1266,1569,2036,1964,1952,2153,2138,1675,1223,1290,1792,2165,2340,2474,1706,1784,1876,1738,2155,2257,1881,1526,1761,2223,2026,1774,1516,1496,1550,1613,1642,1521,1521,1648,1620,1779,1735,2026,2236,1893,1998,1824,1684,1797,1757,2215,2622,2732,2127,1654,1875,2075,1917,1830,1614,1204,900,1017,1709,2142,2850,2920,2591,2364,2554,2441,1941,1684,2007,2754,3208,3222,1974,1465,1500,1560,2219,3010,3054,2622,2387,2061,2280,2081,2303,2111,2072,2282,2514,2610,2344,2115,2246,2393,2536,2764,2966,3310,3897,3687,2940,2718,2753,3161,3311,3293,3816,4241,4249,4181,3965,4174,4509,4252,4373,4421,3880,2413,1423,1425,1575,1794,1949,2043,2239,2583,2430,2247,2579,3388,3513,3660,4382,4585,4188,4039,3914,3478,2952,3294,3875,2942,2110,2330,3450,2851,1656,2001,2477,2982,3013,2331,2366,3110,2842,2207,2318,2436,2209,2015,2300,2634,2790,3670,4804,4461,3632,3156,2447,2428,2335,3531,3510,2623,2135,2273,2182,2481,2964,2740,2444,2391,2590,3582,3660,3429,3111,2917,2941,3194,3339,3067,2708,2589,2617,2829,3451,2701,2797,2585,2250,2701,3111,2935,2426,2456,2644,2526,2443,2584,3050,3553,3464,3062,2720,2689,2574,2350,2109,2181,2565,3460,3064,2019,1988,1960,1980,1707,1805,1798,1575,1370,1562,1841,1937,1949,1982,1895,1625,1692,1877,1935,1859,1720,1656,1734,2569,2480,1831,1752,1554,1507,1142,1616,2178,2089,2449,2069,1897,1771,1769,1991,2252,2732,2308,1581,1827,1770,2195,2731,2431,2251,1852,2070,2168,2021,1989,1903,2035,2298,1992,1859,1818,1973,2025,2013,2090,2416,2808,3161,2918,3062,3535,3680,2929,3116,3682,3166,3131,3374,2580,2524,3160,3017,2902,3443,3461,3188,2674,2762,3106,2874,2676,2957,2999,2812,3050,3153,2869,2090,1908,2204,2020,1930,1975,1884,2288,2597,2494,2330,1950,1751,1702,2098,2562,2424,1941,1906,2236,2555,2403,3001,2747,2453,2532,2469,2714,3095,2758,2221,2400,2268,2435,2275,2234,1969,2216,2024,1738,1829,1877,1876,1798,1923,1909,2325,3017,2908,3068,3071,3285,2162,2280,2879,2721,2885,2459,2053,1980,2311,2646,3480,2799,2056,2563,2286,2190,2418,2194,2089,1937,2071,2624,2540,2723,3002,2889,3153,2887,2447,2940,3363,2937,2596,2526,2279,2110,2646,2448,2506,2421,2806,2852,2287,1648,2210,3079,3133,3012,3072,2739,2412,2359,2623,2530,2025,1508,1267,2116,3234,2887,1975,1830,2119,2103,2300,3647,3604,3386,3129,2643,2654,2236,1819,2133,2877,2703,1963,1996,1974,1954,2609,3079,3455,3452,3827,3971,3863,3741,3479,3486,2935,2454,2956,3509,3548,3558,2287,1930,3042,3659,2851,2411,3152,3208,2740,2620,2567,2619,2905,2952,2732,2692,3019,3300,3321,2941,2621,2590,2521,2775,2930,2929,2471,2456,2943,2564,2117,2034,2321,2472,1780,2109,2640,1671,1752,2170,1839,2076,3000,3447,3572,3543,3349,3194,2901,2940,2946,1896,1730,1966,2071,2196,1996,1855,2075,2278,1988,2411,3162,2741,2650,3184,3075,1769,1688,1815,2112,2089,2160,2501,2481,2565,2625,2734,2737,2468,2452,2047,1936,2028,2320,1979,1728,1861,2265,2667,2436,2462,3156,2780,2003,2605,2282,2233,2043,1870,1621,2071,2483,2752,2929,2896,2735,2283,1872,2100,2585,2563,3126,3453,2836,2655,2834,3190,3160,2808,2831,3399,3372,3250,3071,2791,3029,3501,3770,3396,2474,2361,2510,2531,2272,1864,2006,1938,2338,2292,2279,1781,1525,2082,1934,1720,1621,1264,1521,2490,3238,2774,2994,3705,4029,3662,2802,3462,3804,2807,2060,1992,2589,2762,2348,2478,2999,3216,2986,2754,2109,1852,1850,1951,2661,2548,2157,2449,2292,2245,2135,2307,2967,2885,2603,2603,2672,2107,2670,2967,2799,2745,2567,1998,2292,3341,3860,3091,2344,1795,2097,2793,2557,3008,3362,2002,1935,2735,2928,3399,3514,3105,3321,3620,3033,1829,1626,2328,2083,1851,2099,1728,1612,2107,2512,2230,2206,2025,1697,2208,2315,1853,1564,1678,2193,2222,2132,2388,2410,1997,1752,1722,1770,1847,2092,2081,2138,2049,2033,2636,3142,2706,2165,2243,2220,2010,1796,1871,1571,1620,1782,2062],[2813,2984,2833,2885,3355,3401,3187,3359,3598,3275,2342,2210,2192,2481,2424,2611,2978,2921,2828,2805,3078,3637,3399,2827,2600,2392,2777,2922,2847,2735,2653,2335,2215,2433,2726,2475,2388,2434,2050,2056,2293,2523,2142,1716,1670,1990,2289,1997,1925,2395,2474,2348,2108,2346,2874,2823,2785,2259,2213,2646,2670,2636,2688,2513,2388,2762,2722,2176,2542,2980,3563,3524,3360,3376,3470,3481,3452,3360,3150,2855,3007,3409,3429,3315,2980,2723,2362,1962,1855,1718,1675,2066,1847,2136,3009,3282,2812,2823,1974,1715,1939,2898,2906,2418,1887,2138,2976,3480,3639,3597,3584,4242,3894,2670,2358,2342,2729,3234,2919,2650,3244,4267,4195,3585,3362,3435,3618,3517,3202,3439,3302,3271,3009,2640,3371,4058,3977,3940,3688,3803,4144,3881,3564,3249,3353,3021,3154,3497,3643,3440,2964,2731,2301,2111,2839,3359,2254,2089,2179,1895,1892,2325,2192,2181,2879,2653,2642,3699,3555,3462,2964,2557,1963,2209,2370,1920,2280,2392,2484,3200,3186,2596,2674,2912,2908,2585,2293,1848,1941,1880,2044,2098,2360,2584,2471,2261,1880,1663,2040,2510,2230,2019,3305,4033,3563,3083,3054,2922,3242,2779,1082,1865,3366,3240,2840,2752,2699,2345,2083,2018,2653,3216,3011,3095,3356,3143,3212,3284,3069,2687,2696,2604,2121,2219,2777,2518,2242,2786,3484,2983,2340,2460,2150,2129,2047,2066,2522,2258,1802,1970,2026,1848,1860,1880,1781,1624,2095,2318,1829,2026,2211,2093,2522,2341,2002,2441,2802,2630,2394,1854,1818,2626,2910,2917,2652,1808,1657,2110,2631,3204,2884,2870,3297,3544,2647,2644,2392,2422,2372,2391,2383,2343,2322,2363,2956,3596,3431,2633,2744,2414,2418,2654,2797,3385,3270,3293,3699,3670,2746,1628,1616,2022,2697,2954,2827,2234,2125,3173,3646,3595,3417,3487,3241,2740,2192,1958,1682,2226,3764,4143,3721,3185,3138,2985,2618,2455,2470,2390,2014,1959,2281,2275,2097,1974,2101,2302,2615,2391,2318,2401,2508,2641,2867,3134,3090,2745,2425,3133,3438,3376,3376,3266,2961,2979,3171,3422,3342,3133,2980,2828,2901,2359,2569,2495,2468,2746,2798,2813,2877,3042,2809,2479,2865,2585,1746,2238,3064,2388,1856,1828,1733,2350,3140,3078,2392,2122,2599,2291,2291,2653,2304,1958,1989,2114,2043,2154,2431,2721,3150,2983,2878,3515,3275,2451,2171,1900,1726,1841,2626,3615,3816,3747,3928,3830,3762,3930,3847,3476,3039,2893,2797,2314,2310,2574,3212,3584,3078,2692,2888,3378,3976,3369,2997,3098,2657,2271,2211,2497,3120,3775,3492,3784,4006,4059,4050,3624,3898,3682,3221,3741,3882,3334,2754,2329,2398,2475,2545,2592,2630,2481,2206,2986,3669,2775,2687,2907,2227,2324,2116,1951,2054,1860,2613,2254,2037,2014,2957,2839,2900,2815,2264,2173,2321,2122,1716,1938,2182,1977,2216,2879,2736,2007,1952,2042,2037,2649,3094,2883,3261,3041,2586,2630,2706,2348,2102,1959,1772,1892,2408,2784,2396,1737,1753,2428,2344,2114,2446,2532,2976,3017,2347,2081,2171,1715,2096,3587,3520,2849,2309,2153,2573,2957,3162,3352,3002,2556,2524,2757,2685,2273,2731,3211,2265,2344,3086,3536,3958,3877,3506,3208,3462,3482,2903,2298,1883,2079,2460,2841,3362,3482,3211,3234,3575,3420,3240,2810,2767,2824,2620,2459,2803,2342,1976,1954,1937,1671,1908,2124,2169,2305,2386,2548,2492,2432,1972,2357,2041,1967,2048,1864,2060,2540,2872,2557,2211,2567,2497,2629,3118,2533,2668,2734,2448,2352,2661,3033,2846,2646,2930,2678,2783,3018,3063,3731,3754,3542,3480,3373,2679,2259,2194,2379,2954,3396,3405,3546,3830,3795,4006,3861,3647,2623,3095,3745,3582,3514,3504,3665,3762,3732,3659,3695,3732,3776,3629,3480,3618,3882,4053,3960,3595,3426,3455,3432,3331,3717,3422,3071,3373,4251,4384,3875,3660,3617,3376,2598,1587,2001,3001,3603,4132,3945,3918,3946,3719,3378,2552,2000,2046,1626,1251,1795,2138,2389,2723,3098,3458,2345,1886,2131,1914,1488,1317,1588,2162,2101,2044,1891,1870,2198,2898,3904,3992,3449,3323,3514,3056,2094,1697,1377,1508,2409,2807,2832,2907,2521,2114,1793,1765,2017,2114,2146,1991,1897,1605,1428,1555,2105,2423,2807,2706,2429,2778,3289,3216,2884,2602,2636,2814,2521,2655,2484,2488,2373,2093,1809,1501,2214,2703,2248,2163,2369,2666,2712,2666,2861,2575,3488,3257,3097,3266,3332,3414,3442,3796,3404,2245,1741,1941,2243,2078,2440,2567,2389,2243,2381,2493,2404,2182,2351,2543,2373,2416,2359,2201,1875,2344,2604,2618,2520,2442,2365,2321,2557,2648,2553,2024,1596,1945,2315,2351,2104,1845,1640,1743,2115,2174,1673,1254,1704,2210,2540,2484,2136,2103,2280,2364,2454,2764,2750,2536,2729,2872,2442,2004,1891,2514,2215,2407,1789,1784,1392,1345,1525,2042,2624,2809,2696,2486,2282,2088,1740,1776,2079,2096,2714,2602,2492,2692,2258,2051,2193,1808,1801,2095,1775,1677,1461,1501,2025,2719,2533,1958,2152,3090,3474,3724,3715,3794,3813,4332,4096,3803,3431,3363,4083,4201,3803,4256,4437,3963,3408,2366,2264,1827,1620,2561,3068,2784,3139,3629,4140,4171,3844,3529,3392,2923,2679,3140,3559,3464,2937,2790,2779,2836,3078,3372,3197,2542,2369,2397,2567,2770,3109,3033,2811,3177,2949,2832,3444,3719,3033,2632,2617,3006,3174,2939,2625,2780,2810,2794,2728,2819,2675,1946,1873,1927,1547,1345,1445,1516,1366,1416,1610,1742,1754,1641,1479,1345,1297,1365,1477,1400,1690,1715,2200,2698,1945,1532,1399,1433,1736,1551,1360,1384,1604,1657,1609,1687,1572,1639,1677,1555,1729,1917,1719,1728,2020,1999,1561,1373,1612,1968,2536,2524,2424,1815,1685,1680,1811,2578,2624,1789,1305,1789,2327,1936,1609,1456,1540,1504,1425,1706,1603,1523,1670,1682,1881,1888,1858,1956,2166,2776,2174,1813,1779,1749,2076,2585,2830,2424,2098,2164,2344,1968,1918,1825,1926,1524,1563,1986,2524,2788,2743,2533,2386,2201,2853,2684,2379,2737,3215,3616,3283,2182,1805,1821,1802,2180,2889,3021,2570,2321,2333,2352,2286,2337,1857,1779,2065,2191,2300,2214,2325,2652,2828,2801,2857,3139,3373,3651,3396,3187,3193,3320,3383,3208,3480,4013,4083,4164,4561,4597,4344,4399,4258,4036,3747,3426,2487,1836,2060,2466,2678,2784,3063,3444,3645,4042,4040,3701,3879,3934,3992,4209,3807,3348,3597,3326,2446,1980,2357,2855,2383,1843,2010,2477,1894,1620,2082,2487,2857,2714,2261,2042,2436,2200,2316,2180,2328,2300,1757,2090,2375,2280,3311,4529,3924,2779,2724,2723,2511,2676,3662,3737,3001,2671,3035,2857,2420,2889,2723,2416,2410,2598,3210,3569,3361,2876,2587,2621,2741,2944,3146,3360,2944,2522,2618,2778,2295,2706,2889,2721,2890,3152,2844,2658,2745,2819,2744,2556,3055,3608,3774,3548,2902,2592,2717,2741,2365,2208,2211,2140,3240,2663,2127,1978,1921,1937,1849,1819,1788,1448,1550,1845,1700,1899,1874,1655,1482,1426,1504,1334,1425,1515,1577,1652,1587,1824,2137,1969,2041,1907,2015,1483,1577,2117,1913,1822,1909,1793,1807,2156,2080,2046,2215,2166,1840,2098,2103,2343,2298,2224,2061,1898,1919,2073,2431,2472,1879,1962,2740,2437,1869,1980,2076,2120,2532,3200,3179,3039,2886,2534,2764,3348,3530,3150,3528,3454,2634,2608,2969,2366,2372,3075,2807,2360,2981,3068,3146,2364,2707,2986,2866,2821,3133,2735,2402,2907,3408,3159,2059,1859,2491,2322,2377,2381,2018,2591,3167,3322,3019,2647,1904,1822,1882,2094,2057,1766,2048,2299,2035,2010,2769,2767,2536,2613,2611,2750,2966,2645,2604,2771,2595,2482,2540,2397,2177,2357,2080,2088,2432,2358,2424,1792,2149,2122,2236,2763,2920,2997,3023,2918,2253,2321,2437,2499,2600,2011,1835,1990,2912,3188,3122,2382,2050,2392,2609,3002,2911,2471,2087,1991,2144,1878,2028,2487,2482,2484,2819,2697,2799,2820,2597,2930,2968,2436,2615,2452,2471,2062,2502,2752,2620,3147,3253,2364,2038,2380,2257,2656,3397,3096,2817,2935,3009,3030,2202,1881,2094,2040,1937,1813,1821,1571,1537,2236,1991,3165,3509,3448,3239,3008,2993,2871,2631,2480,3354,3361,2342,2310,2141,1847,2148,2929,3671,4083,4346,4185,3914,3750,3583,3647,3124,3183,3682,3388,3548,3407,2466,1924,2790,3684,3084,2340,2445,2369,2561,2584,2789,2810,2705,2354,2621,2640,2653,3109,3312,2912,1970,2041,2385,2984,3773,3460,2791,2502,2530,2323,2070,1842,2256,2608,2412,2798,2862,1692,2143,2048,1901,2375,3317,3731,3705,3707,3550,3470,3041,2977,2448,1596,1805,2221,2275,2122,2016,2364,2744,2182,1787,2937,3406,2568,2994,3446,3009,2861,2652,2238,2316,2225,2535,3288,3278,3164,3278,2785,2226,2288,2160,2154,2059,1894,2178,2201,2282,2459,2024,1946,2287,2309,2997,2924,2100,2600,2354,2014,1986,2096,2024,2255,2564,2787,3088,3280,3168,2968,2477,2354,2396,2604,3054,2898,2288,2177,2620,3106,2999,2675,2893,3892,3955,3735,3409,3176,2975,3162,3328,2916,2170,2007,2795,2985,2522,2388,2448,2090,2207,2455,2406,1792,1929,2660,2570,2649,2701,2277,2309,3518,3653,3661,3528,4369,4228,3362,2797,3586,3843,2924,2312,2189,2857,2533,2388,2403,3095,3506,2963,2631,2331,1976,1736,2066,2644,2352,2204,2158,2132,2224,2629,3032,3018,2835,2450,2785,3042,3197,3096,2444,2320,1924,1925,2154,2153,2644,3201,3476,2965,2631,2631,2822,2540,2767,2828,1678,2269,3372,2706,2380,3011,2841,2911,2973,2222,1409,1587,2147,1792,1713,1716,1599,2039,2432,2075,1842,1881,1610,1585,1888,2097,2549,2049,1476,2082,1886,1796,1926,2351,2166,1937,1882,1764,1954,2076,2011,1972,1819,1953,2239,2652,2660,2126,1901,1926,1842,1860,1788,1561,1739,1823,2196],[2471,2242,2326,2829,3137,3170,3043,3029,3351,3054,1722,1629,1859,2029,2281,2778,3032,2897,2907,2908,2845,2966,2999,2552,3255,3020,3090,3152,2752,2461,2513,2415,2241,2092,2050,2119,2311,2301,2159,1995,2092,2355,2149,1766,1621,1635,1987,2291,2489,2652,2422,2499,2471,2607,2489,2443,2812,3087,3110,3009,2568,1908,2331,3097,2489,2306,2587,2933,2674,3186,3371,2857,2933,3416,3614,3639,3276,3123,3243,3422,3447,3906,3548,3230,2877,2620,2136,1741,1672,1539,1778,1937,1973,2862,2929,2884,2719,2654,2021,1792,2046,2698,2505,2063,2339,2840,3362,3342,3388,3600,2808,3216,3262,2451,2419,2161,2061,2035,1920,2019,2752,3659,3272,2208,2267,2073,2487,3329,3442,3375,3261,3262,3128,3000,3585,4047,4030,3695,3351,3239,2949,2774,2522,2489,2700,2682,2830,2801,2624,2372,2125,2081,2221,2383,2546,2694,2214,2199,2197,2133,2361,2575,2258,2053,2456,2640,2751,3094,2762,2639,3096,3012,2112,1955,2245,1870,1744,1848,2056,2608,3187,2807,3000,2860,2621,2500,2175,2102,2111,2150,2524,2822,2642,2418,2577,2404,1986,2019,2150,2464,2146,2098,3232,4365,3685,2898,3785,3694,3527,3094,1941,2154,2761,2739,2488,2670,2573,2562,2431,2113,3171,3581,3249,3483,3792,3768,3561,3472,3218,2687,2595,2640,2251,2461,2706,2396,2275,2658,3056,2701,2720,2388,2252,2457,2293,2347,2715,2512,2640,2688,2104,1896,2036,1834,1624,1659,2480,2449,1829,1741,1843,2072,2329,2318,2459,2934,2867,2431,2190,1688,1792,2531,2835,2895,2919,2702,2476,2578,2662,3633,3543,3763,3848,3647,2831,3007,3562,3684,3757,3694,3558,3244,2836,2181,2605,2858,2944,2776,3018,3168,2887,2888,3090,3087,3255,3603,3693,3684,3076,2353,2312,2855,3096,2908,2742,2524,2972,3730,4125,3763,3067,2721,2541,2831,2392,1866,1188,1527,3275,3710,3419,3175,3130,3064,2282,2418,2645,2434,2271,2315,2223,2045,2092,2220,2314,2791,2888,2413,2354,2258,2200,2266,2314,2597,2608,2205,2345,3112,3431,3052,3049,3607,3609,3154,3171,3393,3440,3008,2738,3002,2856,2734,2668,2412,2424,2653,2921,2967,2958,3124,3056,2796,2765,2494,1990,2426,3023,2381,1511,1411,1853,2637,2843,2474,2341,1866,2329,2134,2352,2423,2366,2121,1857,1934,1913,1964,2349,2497,2921,2634,2357,2806,3020,2991,2656,2061,1860,2329,3229,3696,3793,3645,3736,3523,3384,3464,3382,3340,3278,2976,2461,2094,2124,2752,2858,3095,3260,3236,3263,3228,3861,3641,3176,2812,2470,2135,2282,2652,3063,3344,3302,2686,2575,3012,3813,3740,3672,3710,3736,3724,3740,3301,2888,2543,2820,2742,2299,1906,2656,2554,2361,2800,2933,2640,3200,3110,1826,2254,2066,1822,2014,1726,1909,1829,1926,2379,2818,2484,2469,2504,2651,2453,1727,1582,1507,2043,1742,1588,2133,3007,3159,2646,2042,1821,1813,2559,3586,3786,3341,2729,2318,2385,2265,1962,2077,1921,1644,1918,2417,2825,2700,2019,1750,2665,1791,1539,1817,1892,2840,3274,2654,2409,2323,2251,2545,3625,3317,2910,2521,2587,3105,3184,3229,3233,2995,2744,2579,2667,2661,3172,3664,3717,2323,2334,3227,3601,4079,3991,3215,3094,3748,3549,2765,2097,1927,2366,2648,3196,3411,3410,3406,3755,3700,3261,3033,2455,2676,2374,2113,1742,2136,2072,1966,2302,2107,1745,2151,2483,2055,1779,1851,2185,2369,2446,2480,2666,2272,2580,2553,2134,2081,2361,2647,2295,2079,2061,2250,2769,3134,2618,2303,2712,2579,2664,2910,2817,2610,2530,2762,2675,2922,3388,3207,3523,3351,2910,2819,2752,2532,2335,2223,2494,3063,3326,3504,4030,4049,3608,3787,3987,3735,3287,3494,3725,3538,3493,3587,3752,3793,3793,3756,3664,3664,3732,3693,3675,3835,3973,4003,3869,3771,3731,3792,4092,4263,4425,4365,3902,3662,4199,4400,4008,3762,3767,3880,3266,1982,2909,4388,4572,4181,3931,3517,2864,2577,2259,2153,2282,1925,1963,2190,2050,1910,2402,2791,3146,3579,3350,2592,1942,1650,1566,1601,2036,2848,1960,1710,1918,2721,2717,3184,3886,4080,3647,3342,3284,2878,2269,2041,1856,1888,2693,2644,2540,2392,2232,2125,1870,2394,2964,2598,2163,2178,2348,1696,1571,1926,2522,3107,3068,2857,2739,2889,3194,2900,2785,2880,2380,2639,2578,2358,2213,2177,2382,2171,2150,2281,2498,2364,2103,2669,2728,2551,2620,2958,2972,3275,4220,3287,3163,3714,3499,2971,3297,4046,3895,2401,2006,2079,2468,2318,2698,3431,3145,2458,2359,2575,2559,2177,1903,2476,2806,2656,2541,2347,2497,2645,2477,2254,2281,2505,2453,2470,2646,2666,2493,1666,1410,1711,1781,1630,2002,1735,1563,2003,2076,2057,1499,1050,1709,2325,2380,2027,2167,2403,2557,2462,2273,2357,2387,2338,2302,2232,2304,1889,2038,2343,2213,2041,1828,1659,1499,1731,1833,1832,2030,2575,2521,2260,2337,2568,2193,1939,2030,1994,2310,2260,1977,2130,2365,2835,2513,1804,1745,2215,2067,2027,1784,1864,2669,2833,2421,2329,3139,3662,3575,3410,3868,4240,4063,4181,3714,3559,3652,3606,4229,3784,3330,4035,3677,3145,2994,2153,1980,1719,2327,3362,2864,2658,3072,3139,3627,3735,3336,3658,3440,2890,2777,3139,3548,3794,3374,2720,2478,2776,3173,3372,3112,2854,3217,3119,2887,2761,2997,3042,2576,2688,2523,2062,2447,2587,2083,2291,3076,2953,2681,2587,2783,2897,2787,2785,2355,1941,1892,1658,1697,1505,1352,1332,1485,1498,1322,1298,1361,1599,1789,1705,1652,1452,1347,1383,1471,1503,1851,1837,2356,1988,1747,1881,1724,1644,1464,1317,1511,1565,1616,1398,1577,1730,1752,1627,1808,1901,1753,1561,1514,1425,1576,1803,1447,1660,2254,2652,3108,3117,2677,2050,1838,1528,1642,2223,2138,1794,1481,1760,2122,2314,2104,1634,1649,1677,1631,1881,1872,1676,1516,1572,2180,1975,1774,1693,2010,1922,1507,1688,1806,1833,1960,2166,2261,2047,2219,2621,3119,2580,2220,2167,2472,2457,2207,2082,2390,2665,2584,2031,1755,1873,2938,2507,2906,3466,3099,3335,3275,2408,2162,2203,2308,2340,2248,2290,2166,2094,2364,2197,2311,2410,1974,1555,1591,1887,2154,1865,2002,1938,1837,2470,2901,3207,3493,3409,3151,3148,3318,3509,3282,3009,3736,4100,4069,4062,4561,4548,4219,4365,4061,3093,2520,2684,2872,3470,3649,3971,4145,4091,3745,3675,3886,4157,3980,3796,3842,3950,4285,4046,3675,3248,2620,2380,2207,2008,2164,2124,1842,1731,1691,1948,1909,1412,2048,2577,3153,2856,2152,1665,1788,2082,2436,2087,2227,3020,2163,1945,1975,2303,2992,3979,3428,2266,2596,3160,2983,3164,3579,3838,3763,2609,2513,2346,2067,2032,1851,2565,3340,3397,3284,3046,2653,2419,2404,2561,2551,2598,3153,3532,3395,3076,2685,2540,2567,2858,2988,3094,3054,3067,2744,2898,2967,2918,2840,3006,3528,3852,3930,3344,2609,2514,2603,2665,2614,2570,2441,2366,3067,2525,2280,2104,1946,2060,1882,1850,1923,1609,1351,1504,1755,1910,1845,1852,1848,1649,1626,1426,1385,1662,1671,1667,1553,1632,1948,2327,1832,1977,2454,2445,2584,2995,2845,2258,1859,1494,1504,1948,1622,1906,1968,2163,2592,2297,2078,2003,2209,2157,1779,2216,2590,2415,2713,2680,2303,1933,2347,2332,2015,1976,2041,2210,2450,2461,2723,2859,2490,2696,2512,2575,3155,3572,3416,3045,2312,2203,2337,2128,2098,2575,2416,2029,2207,2387,2635,2069,1685,1601,1870,1966,2132,2054,1858,2159,2994,3025,2137,1892,1774,2215,2618,2026,1992,2294,2413,2736,3676,3870,2570,1937,1520,1613,1861,1872,1924,1774,1927,2319,2355,2359,2524,2492,2488,2426,2381,2442,2988,2909,2413,2207,2715,2856,2212,1919,2197,2641,2880,2730,2807,1831,2410,2806,2609,2633,2786,2744,2518,2220,2055,2136,2267,2309,2008,2111,1958,2398,3185,2998,2538,2525,2297,1970,2647,3165,3134,2915,2257,1820,1719,1728,2078,2535,2646,2588,2826,2889,2727,2578,2994,3119,3028,2758,2533,2617,2585,2388,2632,2872,2844,3057,3220,3022,2297,1947,1725,2480,3463,2852,2378,2432,2419,2478,2130,2225,2724,1831,1730,1838,1904,1694,1785,2084,2004,2455,2720,2728,2636,2381,2435,2321,2291,2208,2645,2710,2221,2401,2415,2430,3166,3626,3611,4102,4422,4290,3893,3661,3746,3717,3560,3786,3770,3785,3709,3419,2778,1898,2413,3086,2504,1721,1680,1978,2317,2342,2513,2969,2386,1893,2384,2423,2453,2676,2646,2587,2091,2029,2485,3008,3204,2796,2791,2609,2204,2282,1802,1758,2242,2518,2562,2285,1908,1664,2168,2454,2630,3053,3684,3840,3914,3742,3572,3597,3095,2889,2707,1938,1837,2654,2393,1776,1730,2031,2523,2242,2373,3270,3629,3314,3264,3783,3541,3658,2956,2192,2220,2344,2800,3384,2977,2432,2931,2830,2213,1856,2191,2432,1953,1455,2009,2614,2674,2523,2298,2513,2567,2229,2894,3274,2652,2406,2308,2194,2600,2723,2160,2625,3132,3204,3230,3486,3477,3460,2865,3029,2974,2742,2785,2398,2106,1991,1929,2055,2281,2726,3293,3983,4200,4024,3784,3168,2672,2743,2555,2221,1749,1516,2388,2797,2601,2378,2151,1982,1970,1970,2264,2345,2652,3265,3304,3470,3304,3218,2780,3350,3269,3562,3713,3713,2976,2401,2331,2896,3001,2087,2015,2424,3121,3076,2945,2702,3113,3458,2979,2785,2879,2365,1934,2056,2292,2197,2141,2025,2081,2316,2697,2985,2921,2529,2738,3222,3185,2978,2562,1967,1824,1749,1725,1677,1702,1858,2210,2822,3161,3076,2689,2174,1781,2392,2372,1925,2455,3190,2455,2213,2535,2496,2548,2329,1699,1521,1957,2061,1841,1637,1907,1646,1684,1851,1756,1716,1708,1841,2176,2106,1827,2208,1742,1598,2031,1636,1890,2047,2159,2325,2420,2081,1981,2171,1928,1805,1648,1752,1938,2055,2249,2025,1735,1702,1694,1702,1941,1887,1810,1918,1673,1862],[2503,2233,2469,3054,3106,3151,3331,3061,3087,2517,2329,2436,2236,2198,2402,2563,2692,2501,2366,2739,2749,2730,2592,2561,3273,3518,3463,3406,3040,2481,2324,2454,2302,2088,2080,2084,2282,2438,2060,1823,2046,2248,2095,1975,1924,1830,2022,2176,2269,1866,1438,2115,2330,2353,2142,2323,2820,3353,3544,3190,2579,2166,2953,3860,2294,2143,3370,3717,3430,3471,3570,3285,3078,3428,3629,3779,3430,3162,3118,3118,3536,3770,3131,3182,3266,2715,2142,1854,1795,1796,2281,2424,2187,2732,2739,2773,2707,2482,2159,2007,2070,2048,1858,2191,2633,3726,3902,3050,2854,2546,1999,2604,2949,3609,3675,2877,2692,2403,2332,2462,2634,2102,1523,1014,1366,1712,2336,3184,3543,3403,3360,3514,3376,3264,3304,3475,3681,3393,3496,3238,2874,2740,2555,2786,3087,3242,3116,2856,2702,2899,3061,3223,3044,2824,2475,2754,3094,2855,2612,2653,2697,2501,2467,2588,2430,2590,2431,2475,2685,2927,3284,3082,2222,1809,1835,1576,1776,2230,2500,2383,2570,2283,2315,2326,2208,2250,2257,2018,1920,2137,2546,2733,2998,2905,3076,2828,2288,1953,1710,2123,2176,2220,3104,3914,3210,2729,2924,2832,2938,2806,2241,2309,2498,2387,2452,2762,2633,2389,2322,2710,3648,3572,3360,3370,3450,3515,3469,3640,3330,2681,2768,2466,2122,2167,2081,1947,2458,2163,1994,2280,3204,3069,2646,2806,2676,2812,2800,2511,2541,2209,1968,2331,2556,2177,1809,1758,2232,2365,2130,1843,1622,1988,2444,2646,3056,3428,2868,2278,1950,1561,1596,2115,2403,2508,2841,3198,3038,3119,2517,3096,3802,4112,3928,3322,2648,3186,3893,3970,3894,3393,3263,3056,2663,1848,1993,2047,2622,3018,2945,3074,3233,3377,3451,3628,3604,3707,3683,3813,3842,3840,3740,3796,3408,3353,3552,3260,2852,3083,3894,3563,2854,2352,2548,2658,2337,1857,1407,2373,3349,2910,2896,3279,3166,2510,2590,3285,2690,2430,2380,2258,2069,2260,2612,2918,3012,3017,2611,2475,2353,2240,2271,2253,2182,2209,2087,2114,2668,3378,3670,3190,2812,3416,3586,3371,3363,3328,3150,3127,3286,3526,3317,2827,2518,2551,2820,2586,2833,2723,2817,2904,2822,2779,2423,2291,2438,2675,3052,2676,2235,1703,1850,2366,2137,2037,2578,2121,2083,2424,2409,2257,2424,2282,1924,1888,2036,1735,1991,2165,2458,2156,1914,2544,3156,3109,2842,2532,2954,3104,3675,3827,3924,3890,3850,3573,3452,3362,3254,3321,3119,2557,1974,1924,1957,2784,2681,2858,3248,3310,3443,3648,3728,3576,3376,3231,2896,2495,2466,2803,2812,2591,2714,1998,2014,2620,3110,3373,3369,3648,3662,3171,3349,2874,2425,2710,3000,2939,2544,2159,2586,2472,2035,2134,2367,2552,2953,2397,1722,2099,2454,2641,2128,1817,1829,1721,1864,2459,2548,2173,2422,2283,2072,2156,1707,1561,1482,1674,1585,1520,2176,3038,3206,2925,2050,1765,1574,1887,2888,3121,2986,2872,2251,2235,2396,2042,2003,2168,1977,2072,2344,2392,2266,2023,1965,2546,1942,1658,1724,1965,3018,3509,2790,2469,2841,3016,2753,2742,2908,3063,2863,2675,2890,3238,3261,3023,2756,2588,2469,2572,3030,3819,3974,3972,2501,2330,3466,3936,4212,4200,3298,2924,3278,3367,2800,1935,1824,2432,2702,2739,2885,3299,3398,3475,3148,3216,2964,2656,2746,2194,1858,2019,1966,2125,2430,2331,2313,2150,2240,2711,2332,2136,1966,2156,2451,2708,2888,2655,2568,3066,2788,2257,2002,1679,2015,2483,2113,1838,2238,2963,3124,2664,2496,2544,2624,2912,2822,2655,2519,2556,2810,3010,2668,2893,2968,3049,3212,3156,2941,2754,2412,2502,2817,3055,3407,3528,3585,3999,3772,3509,3677,3862,3833,3571,3553,3907,3698,3581,3630,3637,3688,3839,3816,3648,3620,3692,3738,3816,3864,3908,3952,3999,4025,3903,3852,3974,4004,4153,4208,4041,4047,4347,4389,4299,4300,4228,4020,3526,2555,2953,3561,4140,4196,3742,2908,2247,2186,2369,3306,3455,2140,1675,1961,1844,1709,1946,2280,2536,2864,3019,2584,2307,1938,1593,1771,2165,2564,1766,1730,2420,2752,2708,2842,3148,3462,3083,3258,3094,2974,2323,2265,2014,2244,2280,2098,2177,2083,2312,2360,2359,2952,2730,2380,2271,2302,2273,2232,3053,3207,2751,3140,3327,3083,2998,3058,2914,2773,2985,3067,2921,2968,2777,2266,1434,1385,1859,2048,2105,2143,2308,2084,2060,2944,3430,3342,3344,3632,3458,3754,3862,3352,3550,3660,3614,3902,3883,3707,3826,2875,2323,2334,2272,2674,3475,3796,3565,2820,2357,2481,2592,2436,1938,2283,2697,2831,2622,2525,2916,3287,3231,2873,2534,2418,2389,2396,2385,2586,2176,1697,1699,1839,1712,1831,2349,2411,1869,1998,2178,2322,2026,1810,2166,2700,2654,2429,2980,3100,2405,1965,2209,2179,2051,2326,2112,1709,1710,1643,2224,2448,2208,1940,1920,1708,1547,1644,1714,1397,1947,2406,2724,2544,2110,2440,2788,2410,2135,2076,2049,2032,1837,1841,2434,2634,2659,2182,2174,2206,2069,2200,2292,2513,2786,3335,3033,3206,3545,3222,3307,3548,3707,3819,4024,4000,3028,2863,3397,3838,4492,3872,3563,3106,2519,2493,2677,2446,2069,2119,2969,3551,2728,2276,2675,2328,2229,2468,2322,3384,3582,3002,2603,2706,3162,3377,3121,2940,2554,2920,3706,3391,2899,3197,3540,3475,3486,2920,2611,2176,1766,2352,2896,2462,2499,1986,1715,2213,2978,2437,2164,2792,3250,3177,2957,2484,1935,1779,1623,1181,1276,1298,1429,1514,1671,1596,1443,1423,1325,1560,1836,1807,1820,1609,1448,1382,1526,1534,1450,1806,1944,1800,1954,1719,1793,1936,1489,1592,1888,1679,1374,1437,1525,1528,1584,1654,1642,1561,1491,1395,1686,1610,1705,1678,1498,2054,2833,3284,3162,2609,2090,1940,1980,1687,1409,1294,1438,1699,1734,1685,2041,2110,1647,1429,1670,1939,1666,1692,1572,1464,1640,1650,1585,1686,1825,1504,1447,1132,1235,1806,1841,1899,1969,2177,2630,2989,3366,3438,3366,3002,2690,2428,2449,2659,2198,1451,1995,2598,2655,2387,1890,2016,2664,2562,2957,3293,2800,2698,2656,2354,2426,2106,1733,1531,1997,2305,2101,2388,2167,1692,1981,2414,2228,1731,1876,1793,2084,2111,2242,1612,1080,1992,2720,3020,3217,3040,2878,3270,3146,3474,3055,3392,3812,3912,3917,4163,4463,4168,4048,4260,3772,3139,2330,2100,3074,4024,4119,4183,4259,4062,3617,3409,3332,3462,3724,3790,3705,4135,4372,4284,4245,3476,2313,2674,3169,2696,2231,2025,1857,1734,1605,1882,2173,1802,2540,3196,3721,3919,3094,2573,2451,2640,3151,2854,2219,2667,1887,2128,1923,2339,2992,3684,3811,3313,3221,3761,3784,3752,3893,3981,3408,2038,1907,2196,2259,2119,2078,2614,3242,3318,3298,2841,2459,2311,2398,2563,2522,2424,2841,3414,3169,2671,2799,2787,2521,2634,3278,3497,3059,2912,3189,3376,3732,3824,3603,3273,3134,3351,3186,2558,2126,2037,2307,2310,2438,2798,2623,2540,2884,2362,2160,2386,2413,2022,1766,1702,1887,1902,1632,1644,1855,1922,1732,1601,1615,1626,1595,1529,1630,1882,2041,1960,1627,1704,1913,1904,1659,2172,2340,2439,2452,2313,2522,2455,2248,1776,1647,1996,1960,1814,2021,2636,2873,2479,2403,2708,2514,2211,2154,3078,3111,2062,2135,2220,2454,2158,2114,2348,2273,1954,1635,1920,1945,1917,2277,2321,2435,2706,2222,1898,2670,3283,3462,3174,2576,2568,2025,1684,1776,2226,2230,1992,2082,2160,2233,2230,1592,1198,1804,1807,1989,1892,1357,1282,1923,1877,2299,2364,1998,2602,2625,2094,2230,2314,2353,2648,3626,3754,2383,1873,1697,1849,2046,2170,1925,1782,2393,2901,2388,1664,2107,2169,2468,2409,2462,2678,3013,2700,2139,2330,2854,3119,2577,2241,2538,2798,2689,2389,2577,1984,2177,2876,3091,2896,2666,2710,2247,1888,1967,1729,1700,1613,1644,1882,1800,2232,2778,2514,2210,2714,2644,2424,2908,2877,2631,3066,2597,1962,1869,2242,2295,2511,2957,3109,3437,3042,2758,2150,2080,2331,2831,2946,2895,2828,2387,2279,2612,2980,2972,2470,2114,2768,2477,1821,1829,2470,3394,2910,2271,2160,2094,2558,2527,2204,2576,2027,1891,1964,2170,1981,1745,1653,1527,1758,2104,2039,2301,2213,2444,2300,1771,1849,2224,2112,1637,1980,2725,2880,3306,3793,3811,3984,4188,4002,3783,3709,3759,3836,3841,3879,3837,3957,4092,4152,3532,2126,2117,2150,1882,1750,1770,2178,2348,2305,2425,2723,2792,2522,2294,1981,2271,1972,1688,2304,2401,2150,2709,3300,2887,2557,2840,2536,2147,2176,1579,1576,1708,2056,2239,2016,1846,2042,2241,2656,3270,3663,3726,3639,3694,3639,3485,3605,2804,2482,2586,2298,2185,2441,2057,2172,2201,1823,2410,2467,2812,3100,3491,3453,3637,4197,4372,3913,2884,2142,2187,2493,2517,2743,2223,1661,2003,2165,1980,1531,1730,1893,1622,1440,2374,3051,2648,1889,2476,2623,2835,2188,2630,3306,3196,2813,2249,1975,2006,1853,1263,2328,3169,3018,2893,3253,3266,3082,3149,3617,3197,2754,2700,2556,2549,2198,1944,1989,2313,2974,2702,2962,3077,3010,3068,2823,2674,2640,2611,2519,2146,1750,2019,2482,2617,2027,1884,2368,2276,2219,2939,3111,3272,3518,3404,3616,3366,3250,3418,3820,3735,3538,3654,3230,2620,2366,2116,2271,1815,1561,1924,2818,3150,3187,3420,3377,3286,2876,2206,2874,3465,3002,2296,1969,2107,2320,2434,2192,2223,2807,2806,2917,2878,2452,2806,3262,3394,3244,2977,2746,2163,1806,1789,1522,1352,1394,1606,2143,2725,2549,2458,2692,2168,2276,1983,2024,2668,2996,2850,2553,2258,2229,2136,1896,1440,1554,1855,1951,1987,1725,1628,1414,1475,1570,1600,1680,1641,1869,2180,2146,2190,2195,1741,1506,1596,1627,2299,2415,1841,1926,2194,1991,2314,2280,2109,2080,1903,1923,1975,1826,1651,1538,1618,1738,1715,1879,1941,2062,2062,1932,1888,2077],[2835,2664,2867,3111,2987,2899,3323,3427,3273,2858,3211,3358,2728,2540,2566,2267,2324,2343,2436,2845,2841,2480,2176,2821,3400,3497,3500,3714,3992,3941,3475,3344,3204,2923,2692,2717,2657,2557,2196,2285,2741,2596,2481,3044,2944,2287,2327,2726,2907,1819,1152,2082,2718,2565,2326,2481,2941,3485,3710,3633,2858,2644,2602,2446,1470,2268,3659,3799,3949,3759,3356,3260,3008,3367,3650,3441,3370,3166,3221,2922,2823,2992,2906,3149,3189,2705,2091,1807,1663,1751,1973,2055,2112,2546,2698,2423,2050,1956,2187,2451,2313,1888,1653,2047,2421,3838,3877,2477,1862,1879,2028,2505,2558,2537,2556,2657,2942,2979,2621,2247,2270,1756,1193,1059,1785,2409,2768,3451,3665,3405,3253,3691,3654,3463,3184,3004,3198,3422,3624,3575,3426,3043,2723,3225,3416,3283,3123,3164,3239,3617,3687,3570,3341,2864,2652,3370,3815,3396,2911,2754,2902,2873,2873,2648,2798,3166,2825,2589,2755,2689,2815,2918,2247,1769,1662,1718,2079,2014,2048,1966,2315,2354,2349,2525,2334,2192,1965,1779,1917,2068,2476,2377,2343,2633,2802,2510,2124,1785,2023,2273,2393,2610,2829,2843,2445,2334,2142,2340,2424,2841,2546,2324,2454,2228,1921,2264,2043,1964,2664,3630,3260,3071,3124,3008,2910,2955,2827,3037,3027,2701,2853,2402,2576,1918,2124,2287,2381,2197,2249,2389,3068,3064,2676,2963,2680,3221,2876,2130,1671,1211,1664,1914,2059,2367,2303,2468,2864,2535,2512,2265,2003,2660,3087,3206,3254,3340,2946,2555,2822,2728,2114,1770,1960,2184,3002,3623,3421,3497,3201,3261,3964,4135,3709,2933,2479,3206,4093,3939,3391,2688,2083,2141,1956,1734,2038,2361,2911,3300,3532,3341,3333,3453,3608,3696,3624,3743,3710,3823,3961,4069,4181,3871,3356,3461,3958,3817,3354,2965,3523,3587,3327,3055,3075,3228,3356,2939,2569,3151,3592,3095,3288,3208,2856,2205,2994,2552,2355,2815,2762,2465,2354,2265,2402,2556,2400,2434,2424,2508,2421,2399,2409,2460,2589,2497,2222,2382,2964,3235,3350,3145,3184,3566,3658,3884,3692,3486,3204,3297,3536,3630,3298,2835,2541,2800,3312,2574,2821,3097,3226,3054,2732,2631,2356,2433,2697,2850,2917,2777,2750,1814,1520,1487,1378,1873,2712,2588,2206,2762,3110,2676,2429,2008,2078,1837,2121,1840,1929,2217,2144,2199,2345,2649,3155,3130,2597,2270,2968,2941,3143,3445,3670,3687,3584,3361,3312,3300,3217,3377,3190,2468,1865,2212,2791,2797,2475,2459,3032,3010,2985,3374,3112,3208,3540,3649,3008,2567,2220,2431,2472,2069,2146,2078,2442,2880,2965,2915,2777,2895,3288,2889,3144,2673,2532,3289,3354,3237,3219,2814,2353,2151,1465,1548,1835,2255,2230,1657,1834,1933,2457,2813,2325,2125,2041,1792,1832,2104,1738,1698,1772,1952,2181,1828,1515,1591,1817,1853,1801,1752,1943,2112,2226,2335,1766,1790,1866,2446,2707,2156,2062,2356,2091,2281,2586,2246,2070,2339,2057,2070,2100,1893,1963,1952,1882,2128,2233,2212,2220,2210,2934,3460,2551,2753,3075,3134,2792,2531,2593,2664,2382,2376,2722,2898,2697,2331,2358,2474,2769,2654,3222,3599,3477,3938,3602,3066,3819,4257,4169,4333,3464,2888,2690,2635,2193,1823,1681,2076,2312,1972,2332,3440,3750,3289,2871,3065,2736,2735,3066,2580,2304,2511,2285,2286,2117,1763,1906,2279,2421,2430,1994,2446,2375,2734,2979,2932,2901,2547,2611,2371,2120,2234,2354,1798,1893,1972,2007,2136,2316,2716,2821,2883,2806,2513,2680,2848,2775,2797,2873,2885,2837,2818,2698,2918,2840,2797,3111,2922,3018,2692,2355,2729,3044,3249,3426,3674,3647,3554,3367,3371,3602,3717,3681,3571,3727,3791,3747,3705,3688,3665,3686,3753,3725,3657,3674,3651,3674,3826,3782,3753,3861,3938,4000,3880,3934,3951,3967,4053,3996,3967,4245,4373,4280,4339,4300,4113,3610,3708,3729,3278,3264,3935,4084,3619,3359,3206,2953,3088,3773,4061,2853,1864,2291,2151,1749,1844,2061,2334,2367,2365,2212,2475,2489,1882,2389,2388,1735,1726,2420,2747,2618,2269,2041,2199,3061,2952,2854,2774,2729,2404,2309,2359,2835,2770,2403,1974,1954,2425,2890,3019,2929,2422,2568,2602,2482,2231,2302,2596,2365,2463,3260,3622,3353,3210,3212,2907,2613,2748,3086,3167,3332,3257,2585,1768,1814,2181,2393,1988,2001,2870,3063,3449,3942,3886,3640,3638,3741,3475,3178,2642,2354,2662,2994,3393,4112,4126,3993,3985,3775,3311,3060,2823,3054,3803,3632,3536,3201,2507,2315,2480,2442,2457,2663,3047,3164,2979,2968,2954,2775,2932,3120,3184,2997,2463,2228,2303,2385,2098,2066,2142,1999,2095,2225,2591,2824,1759,1553,2243,2380,2584,2547,2454,2864,2811,2652,3005,2955,2159,1755,2042,2194,2842,2634,2409,1961,1646,1722,2139,2020,1897,2388,2341,1713,1615,1413,1317,1345,1979,2211,2746,2690,2125,2254,2519,2498,2789,2873,2357,2258,2060,2543,3393,3128,2666,2155,1949,1812,1880,2098,2124,2140,2395,3201,2963,3498,3498,3382,3440,3666,3950,4004,3896,3654,3225,3312,3926,4272,4492,3768,2762,2445,2163,1896,1912,2127,2895,3452,3361,3219,2121,2042,2560,2322,2241,2310,2720,2870,2838,2782,2543,2413,2641,3384,3287,3169,3292,3692,3975,3728,3626,3479,3166,3119,3122,2746,2030,1641,1640,2177,2876,2310,2046,1997,1867,2424,2298,1531,1872,2814,3348,3237,2763,2524,2552,2344,1806,1337,1294,1492,1592,1662,1887,1783,1615,1590,1447,1620,1684,1856,1901,1865,1877,2277,1870,1334,1456,1565,1485,1730,1777,1416,1627,1647,1371,1636,2166,1733,1381,1537,1620,1602,1649,1699,1668,1573,1394,1305,2012,1609,1622,1524,1521,2157,2707,2445,1858,1574,1474,1572,1621,1727,1404,1339,1472,1550,1785,1843,1926,1714,1451,1511,1612,1713,1508,1546,1519,1569,2003,1877,1582,2115,2256,2097,1772,1324,1441,1816,1974,2315,2374,2460,3024,3370,3195,3030,2893,2902,2770,2210,1980,2139,1898,1828,2122,2242,2327,2676,2348,1829,2361,2985,2921,2758,2670,2588,2600,2566,2533,1980,1554,1487,2021,2103,1865,1738,1558,1727,2071,2457,2230,1921,2353,2252,2640,2562,2339,1750,1521,2145,2753,3079,3037,2987,3219,3517,3288,3405,3285,3622,3818,3918,4155,4461,4474,4380,4181,4125,3687,3108,2477,1823,2631,3452,3792,3583,3457,3419,3334,3321,3171,3532,3762,3510,3486,4028,4364,4569,3662,2652,2558,2902,3165,3128,2624,1836,1690,1677,1593,1678,2322,2932,3449,3752,4037,3825,3565,3624,3348,3083,3273,3279,2425,2212,2156,1937,1662,2128,2956,3804,4139,3675,3462,3519,2975,3450,3550,3520,2740,2275,2395,2626,2657,2624,2564,2698,3387,3520,3630,3429,2874,2520,2421,2544,2523,2446,2632,3136,2644,1665,2187,2365,2597,2551,2581,2925,3121,3263,3612,3506,3662,3891,3559,2819,2502,2633,2353,1862,1938,1814,2159,2193,2520,3125,2709,2320,2325,2717,3165,3009,2766,2087,1947,1758,1881,1992,2076,2054,1953,1766,1643,1482,1529,1670,1715,1601,1736,1954,2143,1838,1606,1808,1833,1999,2336,2069,1880,1926,2432,2356,2197,1853,2151,1935,1805,1959,2059,1831,1857,2302,2643,2336,1926,1953,1867,2010,2070,3257,3157,1974,1813,2375,2857,2714,2586,2445,2139,2092,1789,1875,1635,1517,1541,2004,2233,2301,2129,2168,2576,2907,3299,3266,2953,2741,2707,1956,1709,1703,1645,1584,1790,1866,1845,2002,1608,1356,2140,2073,1848,2151,1665,1109,1729,2289,2524,2431,2544,2715,2249,2033,2310,2291,2467,2621,3155,3248,2146,1632,2124,2392,2277,2015,1814,2238,2857,2911,2976,2351,2206,1809,2179,2347,2567,2822,2735,2390,2530,2858,2449,2799,2809,2432,2323,2285,2451,2505,2591,2060,1937,2689,3282,3341,2952,2766,2180,1842,1726,1582,1566,1526,1702,1940,2206,2617,3109,2733,2423,2732,2644,2764,2676,2786,2669,2883,2535,2037,2055,2238,2181,2765,3000,2811,2802,2531,2497,1888,1907,2090,2409,2258,2692,3056,2285,2534,2912,2755,2630,2183,1846,1954,2005,1773,1775,2349,3117,2593,2116,1912,1805,2084,2278,1837,1745,2122,1917,2058,2460,2304,1891,1478,1244,1483,2074,2222,2676,2369,2500,2345,1867,1904,2038,1713,1402,2146,3183,3308,3481,3475,3775,3985,4189,3782,3590,3655,3811,3982,3997,3958,3951,3869,4037,4192,4056,2361,2054,2382,2729,2632,1961,1883,2148,2283,2517,3167,3353,2913,2808,2580,2408,2000,2510,2850,2784,2813,3005,3392,3396,3265,3085,2921,2518,2366,1993,1851,2030,1917,2024,2164,2082,2179,2079,2725,3563,3953,4002,3829,3883,3751,3572,3671,3394,2698,2289,2248,1853,1807,1654,2165,2058,2236,3018,2836,2590,2360,2797,3051,3425,4277,4152,3400,2913,2364,2222,1875,1692,1941,1963,2166,2118,2249,1991,1796,2023,1981,2107,1664,2360,2899,2253,1764,2855,2967,2384,1834,2002,2578,3443,3211,1970,1887,1870,2242,1941,2503,2954,2997,3167,3094,3083,3056,3141,3361,3077,2808,2242,2377,2720,2620,2941,3230,2918,2529,1973,2207,2744,2487,2225,2413,2557,2476,3013,3117,2392,2374,1950,1998,2106,1745,1930,2634,2379,2154,3076,3342,3410,3519,3400,3097,3328,3297,3230,3471,3398,3504,3548,2861,2128,1885,1548,1804,1366,1673,2386,3020,3081,3187,3378,3319,3175,2698,2522,3421,3190,2587,2496,2149,2066,2128,2257,2097,2366,2910,3111,3658,3546,2681,2362,2820,3363,3651,3463,2832,2128,2026,2159,2006,1391,1067,1663,2465,3001,2063,2078,2655,3263,3119,2895,2767,2557,2732,2829,2260,1621,2255,2062,1691,1326,1654,1619,1779,1746,1704,1541,1432,1759,1852,1611,1816,1707,1881,2473,2123,2368,2369,1791,1470,1523,1785,2178,2069,1675,1716,1954,1880,2077,2298,2282,2432,2259,2059,1854,1659,1778,1766,1699,1728,1671,1818,1607,1951,2199,2232,2566,2600],[3142,2369,2247,2757,2819,2805,3166,3340,3123,2848,3098,3297,2875,2693,2731,2519,2613,2696,2762,2799,2841,2529,2915,3542,3418,3295,3294,3591,3763,3972,3838,3626,3632,3639,3751,3706,3212,2708,2754,3052,3177,2827,2776,3132,2998,2987,3045,3093,3098,2050,1590,2437,2811,2431,2350,2545,2867,3569,3735,3870,3238,2840,2508,2252,2024,2822,3670,3862,4200,4029,3728,3438,3082,3733,3499,3149,3321,3423,3244,2642,2674,3343,3226,3139,2937,2693,2095,1859,2014,2261,2409,2426,2365,2247,2266,2134,1854,1986,2043,2263,2397,2366,1840,2422,2411,3104,3386,2673,2186,2066,2142,2046,1687,2041,2282,2214,2520,2483,2457,2410,2068,1265,1125,1792,2540,2900,3493,3940,3531,3380,3418,3566,3674,3399,3231,3227,3571,3692,3565,3593,3683,3378,2916,3474,3598,3623,3476,3498,3748,3968,3938,3823,3926,3752,3254,3460,3838,3474,3081,2657,2691,2908,2829,2765,2795,2789,2454,2181,2284,2069,2414,2451,1931,1858,1697,1838,2404,2041,1716,1713,1853,1967,2432,2349,2078,2263,2051,1803,1874,2151,2470,2380,2185,2473,2338,2113,2013,1986,2535,2595,2776,2823,2622,2109,2235,2439,2278,2172,2468,2382,1725,1684,2159,2507,2072,1729,1519,2255,2879,3820,3903,3272,3039,2754,2454,2820,2584,2631,2996,3160,3211,2810,2269,1685,1813,1806,1836,1876,1808,2131,2817,2689,2755,2568,2197,2504,2344,1671,945,1099,1903,2342,2679,3032,2842,2866,2964,2405,2774,2420,1907,2353,2725,3311,3389,3460,3465,2956,3592,3581,2588,1868,1571,2029,3521,3719,3928,4112,3711,3608,4011,4084,3706,3012,2464,3373,4094,4043,3682,3040,2276,2375,2430,2416,2387,2709,3054,2619,2974,3120,3483,3356,3059,2954,3294,3517,3639,3806,3565,3348,3624,3353,2950,3192,3681,3830,3312,3431,3539,3550,3830,3692,3317,3371,3897,3698,3395,3096,3515,3081,3045,2857,2425,2886,2840,1647,1893,2733,2764,2388,2265,2164,2216,2207,2265,2495,2510,2260,2062,2156,2405,2481,2561,2349,1988,2516,2895,3006,3243,3416,3441,3217,3250,3774,3692,3348,3320,3399,3480,3436,3194,3209,2798,2993,3106,2517,2580,3074,3329,3098,2900,2650,2386,2499,2870,2522,2040,1981,2475,1931,1730,1551,1604,2251,2968,3137,2763,2989,2857,2640,3124,2110,2077,2453,2566,1896,1816,2177,2214,2389,2533,2416,2953,3104,2470,2193,2856,2919,2353,2795,3514,3498,3319,3182,3182,3352,3196,3250,3463,2532,1946,2371,2547,2460,2766,3308,3527,2933,2476,2819,1983,2050,2932,3060,2942,2767,2270,2113,2480,2966,2908,2836,3095,3153,3089,2778,2949,2829,3082,2772,3429,3351,3131,3248,3375,3278,2806,2673,2121,1990,1784,2186,2375,2753,1823,1337,1662,1500,1528,1902,2033,1942,1818,1685,1708,1850,1855,1737,1582,1708,2330,2178,1655,1929,2236,2008,2101,2024,1693,1544,1842,1992,2075,2328,2277,2350,2272,1686,1842,2475,2471,2498,3034,2673,2444,2305,1964,1976,1855,1708,1986,2244,2242,2366,2106,2008,2019,1754,1902,2851,2677,2165,2150,2471,2684,2395,1768,2150,2351,2713,2755,2735,2680,2488,2609,2668,2878,2755,2758,2674,2522,3284,3980,3465,3950,4007,4235,4287,3732,2734,1855,2162,2792,2451,1889,1981,2013,1918,2333,2789,3737,4109,3806,3557,3031,2313,2122,2381,2569,2331,2292,2204,1810,1955,1998,2084,2216,2079,1710,2251,2640,2856,2686,2764,2885,2798,2699,1947,1904,2568,2732,2493,2267,1927,1933,1977,2154,2507,2675,2809,2568,2382,2720,3069,3210,2991,2406,2094,2370,2646,2790,2745,2600,2696,2937,2684,2754,2354,2666,3090,3286,3313,3509,3705,3594,3320,2985,3082,3278,3183,3272,3409,3687,3674,3606,3781,3851,3745,3726,3737,3638,3687,3762,3645,3608,3728,3649,3651,3842,3974,3940,3903,4035,3976,4023,3914,3975,4002,4137,4085,3913,4009,3629,2718,2508,3187,3752,4026,4207,4228,4212,4035,3978,3860,3731,3918,4055,4139,3522,2978,3065,2730,2421,2343,2392,2020,1844,2112,2364,2814,2763,2105,2541,3098,2486,2221,2691,3017,3009,2481,2299,2115,2568,2325,2422,2857,2696,2437,1818,1814,2946,2850,2308,1830,2025,2362,2978,2809,2297,2267,2281,2454,2566,2363,2123,2092,1896,2069,2910,3156,2710,2598,2629,2842,2764,2922,2954,2752,3043,2916,2107,1901,2920,3104,2490,1758,1927,3088,3388,3453,3817,3857,3624,3627,3850,3747,3530,2570,2264,2600,2907,3447,4015,3968,3947,3944,3945,3942,3717,3385,3482,3664,3496,3473,3569,3010,2448,2471,2614,2514,2618,2849,2901,3087,3448,3038,2792,2878,2674,2845,2717,2413,2265,2257,2157,1781,1914,2238,2276,2701,2654,2547,2471,1856,1346,1542,1926,2415,2888,3261,3241,3084,2689,2971,2786,2279,2081,2566,2881,2917,2683,2282,1788,1652,1799,1921,1572,1622,2258,2695,2378,1727,1388,1406,1462,1664,2190,2369,1947,1927,2302,2457,2227,2873,3218,2539,2502,2543,3405,4014,3516,2542,2029,1695,1830,2194,2355,2126,2177,1919,1824,2191,2736,3138,3429,3547,3640,3792,4073,4063,3937,3778,3786,3861,3827,4028,3260,2375,2273,1976,1670,1576,2082,3127,3693,3295,2312,1686,2056,2546,2411,2148,2634,3282,3039,3060,3296,2604,2230,2640,3308,2294,1646,2413,3376,3898,4018,3854,3235,2554,2016,2198,2280,1843,1732,1537,1810,1986,1747,1841,1860,1721,1900,2038,2395,2583,2276,2407,2813,2401,2099,2679,2374,1937,1908,1709,1603,1538,1678,2056,2194,1935,1656,1401,1307,1436,1651,1763,1849,1948,2059,1718,1472,1500,1454,1530,1539,1600,1648,1600,1559,1612,1911,1911,1675,1550,1534,1577,1529,1499,1543,1620,1522,1413,1330,1433,1305,1362,1448,1585,2000,2200,1827,1604,1491,1497,1531,1416,1405,1271,1261,1385,1629,1853,1695,1651,1769,1685,1451,1338,1394,1386,1591,1786,1877,1968,1861,1803,2039,2332,2433,1820,1531,1595,1751,1971,2001,2348,2502,2961,3066,2679,2598,2594,2819,2666,1891,1625,1982,1954,1954,2223,2034,2030,2397,2006,1612,2365,2751,2453,2643,2849,2634,2590,2390,2101,2262,2042,1741,2138,2215,2084,1735,1760,2139,2480,2742,2534,2462,2496,2862,3227,2664,2181,2212,2272,2453,2708,3006,2888,2877,3312,3415,3684,3582,3321,3348,3807,4220,4343,4549,4411,4304,4093,3903,3450,3095,2841,2107,2180,2903,3494,3414,3308,3287,3208,3353,3192,3586,3573,3322,3661,4244,4333,3846,2568,2007,2282,2338,2192,2600,2663,1824,1762,1755,1795,2250,3094,3616,3222,2655,3408,3937,4050,3883,3801,3698,3439,3096,2140,1864,2229,1848,1742,2443,3061,3540,3994,3372,3916,4476,3714,3438,3850,4092,3481,3361,3411,2804,2157,2344,2609,2869,3651,3671,3583,3811,3422,2920,2607,2635,2709,2690,2896,2951,1914,1905,2358,2238,2258,2454,2552,2352,2644,3216,3504,3504,3603,3527,3010,2242,2087,2190,2234,1860,1974,1560,1698,1710,2236,2886,2945,2842,2720,3394,3624,2833,2208,1761,1609,1958,1996,2074,2098,2034,1866,1741,1704,1555,1615,1732,1837,1602,1521,1653,1665,1753,1794,1740,1734,2250,2480,1918,1641,2116,2998,2554,2610,2162,1951,1899,2057,1913,1634,1810,2334,2605,2391,2143,1764,1755,1869,2204,1994,2759,3217,2310,1766,2308,2507,2008,2124,2199,1924,2256,1826,1945,2222,2005,2100,2530,2404,2175,2359,2380,2474,2818,3201,3318,2467,2179,2485,2122,1964,1876,1697,1588,1459,1639,1898,1880,2128,2074,2270,2194,1904,1931,1679,1518,2153,2647,2774,2670,2544,2158,2033,2396,2531,2411,2536,2310,2535,2787,2302,1832,2265,2468,2468,2448,1984,2286,2498,2030,2510,2555,2382,2362,2719,2872,2844,3054,2730,2279,2623,2590,2023,2194,2492,2437,2621,2675,2323,2360,2624,1902,2023,2703,3040,2801,2514,1792,1606,1639,1876,2002,1787,1760,1772,1674,1729,2154,2678,2448,2285,2130,2210,1780,1663,2078,2346,2380,2186,2013,2126,2432,2573,2924,2654,2705,2854,2662,2360,1858,1698,1791,2307,2791,2739,2336,2332,2590,2631,2513,2334,1968,1674,2149,2314,1952,1785,2012,2289,1624,1620,1492,1455,1679,1736,1465,1548,2011,1858,1882,2131,1841,1957,1614,1828,1994,1793,2032,2573,2431,2502,2277,1881,1907,1913,1825,2131,3132,3762,3298,3396,3652,3701,4052,4324,4151,3812,3732,3894,3980,3960,3828,3879,4107,4124,3985,4174,2736,2037,2510,3072,2741,1719,1494,2155,2388,2522,2657,2597,2692,2750,2971,2588,2654,3630,3505,3160,3187,2806,2824,2958,3094,3327,3209,2342,2178,2020,2106,2361,2155,2471,2459,2070,2092,2500,2556,2103,2634,3416,3562,3907,3825,3635,3274,2822,2585,2385,2092,1629,1554,1786,2293,2401,2762,2736,2314,2185,2213,2233,1990,2375,3152,3062,2025,2242,2221,1921,1482,1609,1593,1821,2285,2603,3054,2613,1772,1731,2012,2423,1946,2143,2702,2503,2431,2814,2690,2243,2003,2181,2600,3155,2894,2458,2604,2679,2494,2279,2707,3098,3022,2600,2360,2873,3076,3006,3344,3208,2833,2612,2789,3001,2807,2667,2903,2898,2475,2248,2394,2890,2518,2148,2128,2092,2206,2800,2696,2488,2710,2291,2193,3122,3274,2205,2309,2453,2836,3222,3319,3365,3668,3242,3188,3714,3242,2822,2556,2808,3090,3432,2894,2204,1879,1686,1667,1635,1948,2728,3262,3339,3362,3457,3363,3020,2653,2994,3293,2548,2027,2348,2318,2046,2014,2041,1631,1735,2294,2539,3015,2997,2541,2517,2633,3048,3660,3327,2755,2391,1962,2330,2374,1510,1504,1769,2669,3248,2001,1946,2374,2732,2596,2658,2565,2479,2511,2108,1721,1690,2396,1979,1428,1391,1629,1528,1834,2341,2153,1657,1742,1852,1825,1483,1556,1663,1680,1731,1870,1968,1854,1600,1562,1690,1835,2225,2601,2149,1743,1943,1946,1696,1830,1925,2134,2105,1860,1582,1619,1874,1976,1646,1576,1550,1853,1582,1732,2164,2227,2202,2436],[3007,2846,3053,3319,3238,3037,2989,2983,2718,2862,3053,3013,2749,2741,2813,2723,2691,2630,2542,2523,2396,3006,4121,4185,3803,3529,3484,3465,3570,3544,3256,3116,3220,3156,3040,3166,2987,2599,2941,3095,3149,3264,3098,3120,2801,3303,3696,3648,3472,2699,2423,2838,3045,2577,2341,2602,2886,3860,3807,3281,3104,2832,2846,2862,2823,3437,3662,3746,4300,4432,4293,3972,3861,3894,3313,3120,3124,3053,3115,2849,3009,3372,2834,3268,3399,2921,2479,2297,2276,2211,1915,2111,2382,2133,2049,2105,2010,1975,1795,1960,1935,2062,1714,1956,2429,2741,2439,2478,2988,2582,1921,1674,1862,3106,3223,2439,2250,2363,2815,2729,1509,1125,2013,2882,3261,2861,3009,3614,3571,3654,3559,3327,3036,3028,3101,2951,3481,3815,3539,3172,3061,3429,3586,3883,3851,3892,3928,4091,3702,2955,2873,2982,3609,3751,2911,3230,3451,3006,2778,2846,2859,3066,3073,3071,3082,2655,2123,1862,1795,1618,2053,1915,1840,1716,1782,1817,2091,1973,1661,1816,2316,2108,2665,2579,2768,2392,2046,2028,1976,2105,2238,2215,2212,2104,2019,2138,2001,2019,2455,2424,2343,2596,2554,2083,2321,2612,2248,2003,2421,1832,1693,2262,2835,2698,1902,1816,2224,2476,2291,2567,2875,2642,2667,2869,2468,2644,2688,2731,3475,3608,3489,3232,2586,2540,2398,1937,1980,1953,2117,2423,2707,2613,2834,2287,2114,2353,2298,1519,1073,1681,2252,2485,2785,3328,2634,1907,2174,2547,2754,2228,2054,2003,1981,2812,3427,3304,3517,2984,3358,3347,2747,2313,1931,2634,3597,3573,3962,4145,3541,3215,3765,3938,3842,3119,2374,3349,4131,4094,3584,3138,3008,2852,2512,1807,1109,2119,3345,2817,3162,2814,2690,2666,2846,3310,3315,3481,3750,3437,2799,2533,2640,2548,2181,2281,2567,3118,2902,3258,3491,3569,3693,3706,3397,3282,3803,3991,3993,3333,3264,3198,2822,2395,2814,3608,2785,1786,2283,2647,2601,2274,2361,2224,2272,2270,2271,2257,2117,1979,1918,2035,2143,2099,2116,2121,2257,2758,2761,2929,3020,3327,3443,3300,3286,3325,3238,3223,3278,3175,3400,3393,3321,3112,3002,3164,2934,2413,2116,2342,2624,2754,2611,2252,2454,2723,3147,2836,2191,2018,2162,2055,2133,1830,1958,2309,2110,2481,2877,2499,1926,1855,2057,1753,1770,1947,2069,1960,1783,1827,1996,2053,2373,2563,2918,2512,2302,2634,3050,2917,2580,2964,3196,3080,3012,3032,3099,3130,3045,3131,3442,2695,2117,2084,2202,2334,2911,3584,3207,2631,2176,2553,1766,1620,2271,2968,3046,2766,2434,1914,1951,2235,2364,3088,2990,3218,3631,3443,2996,2989,3189,2950,3338,3145,2669,2679,3242,3098,2104,2019,1967,1952,1881,2503,2856,2805,2188,1836,1630,1427,1520,1964,1913,2019,2215,2001,1782,1727,1852,1863,1783,1609,1876,1972,1775,1995,2295,1928,2021,1869,1332,1065,1794,2235,1984,2380,2612,2338,1930,1543,1583,2255,2989,2539,2498,2429,2699,2525,2048,1864,1684,1604,1813,2269,2636,3105,2259,1869,1746,1612,1624,2221,2568,2118,2091,2421,2651,2557,2037,2500,2463,2580,2769,2933,2831,2622,2534,2664,2878,2790,2497,2284,2078,2277,3087,3438,3967,3966,4119,4244,3777,2330,1517,2396,3231,3116,2836,2273,1816,1644,1963,2389,3457,4283,4564,4217,3455,2995,2025,1834,2026,1930,1909,1742,1912,2256,2316,1783,1771,2053,1924,2004,2390,2514,2086,2686,2684,2392,2299,1987,1851,2492,2922,2885,2452,2165,2218,2226,2173,2001,1947,2461,2500,2104,2419,3274,3205,2668,2023,1792,2320,2724,2576,2494,2602,2898,2889,2938,2509,2454,2708,2906,3349,3460,3630,3660,3682,3551,3115,3016,3033,3014,3133,3233,3523,3585,3600,3820,3860,3905,4069,3882,3726,3644,3727,3806,3687,3521,3480,3620,3696,3880,4000,3996,4124,4039,4024,3824,3785,3680,3830,3895,3915,3996,3458,2623,2510,3186,3785,4050,4111,4256,4324,4207,4100,4079,4002,4030,4025,4012,3775,3567,3541,3599,3351,3074,3090,2679,2474,2600,2850,2746,2376,1811,1846,2690,3272,2831,2687,3307,3278,2377,2234,2320,2551,2313,2385,2858,2631,2127,1541,1692,2666,2706,2358,1974,2028,2360,3140,3131,2684,1980,1783,2424,2722,2374,2205,2354,2093,1909,2347,2565,2578,2678,2544,2598,2520,2341,2182,2353,2710,2479,2439,2359,3079,3169,2508,2109,2079,2706,2852,2764,3593,3790,3774,4112,4140,3860,3441,2589,2244,2598,3062,3632,4120,4008,3908,3945,3976,3893,3784,3708,3770,3460,3340,3398,3562,3386,2677,2281,2379,2331,2384,2351,2086,2108,2599,3227,3296,2897,2456,2233,2263,2297,2228,2218,2200,1691,1719,2037,2284,2809,2763,2815,2415,1902,1670,1625,1766,2385,3157,2962,2665,3014,2441,3068,3151,2787,2614,3025,3494,3183,2736,2372,2082,2110,2138,1694,1720,1714,2064,2767,2471,1947,1743,1585,1682,1693,1531,1623,1794,1860,2552,2900,2720,2893,2677,2308,2232,2657,3212,3365,2961,2365,2310,1692,1771,1945,2152,2143,2170,2054,1641,1692,2198,2642,3068,3530,3607,3603,3675,3895,4132,3885,3752,3920,3859,3365,2428,2017,1924,1933,1952,1993,2383,2852,2916,2686,1984,1757,2123,2121,2081,2399,2986,3493,3464,2826,2768,2141,2529,2868,3038,2731,2140,1783,2365,3254,3606,3651,3465,2851,2155,1881,2070,1769,1527,1396,1760,2059,2054,1874,1710,1759,1749,2181,3018,2808,1973,1908,2033,2028,2391,2687,2048,1608,1705,1569,1607,1490,1496,1814,2280,2222,1541,1292,1524,1518,1353,1574,1821,1822,1744,1654,1542,1586,1444,1547,1460,1631,1708,1638,1600,1847,1909,1728,1760,1558,1556,1485,1411,1621,1623,1611,1469,1525,1449,1239,1272,1358,1368,1521,1952,2093,2079,1739,1616,1629,1622,1636,1444,1297,1418,1472,1584,1702,1464,1459,1550,1482,1325,1393,1564,1533,1741,2429,2597,2418,2198,2029,2112,2481,2483,2781,2169,1789,2140,2024,1960,2286,2222,2369,2325,2457,2472,2566,2644,2686,2464,2223,2302,2130,2184,2119,2141,2387,2265,2542,2672,2668,2530,2371,2636,2666,2184,1923,1874,1877,2094,2426,2800,2953,2495,2643,2358,2038,2078,2698,2965,2624,2375,2333,2886,3432,2857,2284,2526,2807,2500,2589,2658,2697,3065,3417,3495,3703,3607,3418,3791,4094,4164,4029,4136,3904,3792,3736,3614,3095,3108,2923,2277,1891,2176,3118,3406,3219,3071,3198,3379,3077,3404,3913,3730,4050,4668,4589,3873,2440,1968,2438,2460,1823,1921,2027,1958,1896,2133,2567,3052,3630,3812,2842,1960,3473,4352,4541,3948,3790,3792,3618,3228,2585,2404,2276,1802,1814,2437,3006,2824,3572,3388,3736,3904,3195,3188,3805,3975,4073,3698,3064,2709,2906,2829,2521,2805,3496,3709,3917,4188,3896,3220,2844,2781,2847,2663,2885,2989,2017,2481,2553,2470,2337,2186,2352,2492,2452,2507,2791,3283,3533,3420,2785,2086,1968,1947,1903,1656,1443,1256,1257,1376,1620,2177,3038,3361,3262,3050,3009,2232,1786,1679,1636,1954,2288,2134,1918,1697,1707,1821,1841,1692,1637,1805,1704,1691,1947,1874,1665,1781,1850,1952,2052,2071,2108,1786,1801,2688,2635,2281,2714,2679,2468,2444,2164,1691,1711,1985,2377,2030,1610,1981,2031,1762,1640,1770,2005,2231,2138,1920,1715,1864,2164,1963,2016,2005,1657,1325,1291,2117,2524,2580,2672,2911,2855,2442,2408,2653,2942,2676,2910,2937,1802,1839,2490,2330,1909,2150,1936,1688,1522,1477,1791,1981,1977,1983,2314,1968,1652,1654,1510,1776,2083,2454,2912,2778,2436,2024,2331,2767,2537,2426,2592,2640,2481,2320,2562,2831,2980,2760,2019,2167,1916,2166,2239,2470,3344,2966,2521,3277,3856,3300,2735,2764,2601,2564,2699,2511,2519,2692,3110,3261,2915,2674,2391,2477,2524,1788,1727,1802,2028,2042,2323,1928,1520,1649,2258,2719,2431,1898,1743,1540,1455,1612,2364,2753,2700,2245,1819,1659,2187,2219,1669,1665,1874,1999,2088,2302,2304,2583,3249,3448,3099,3184,2821,2099,2051,1845,2355,2900,2662,1989,2380,2481,2624,2457,2017,1841,1831,2141,2225,2084,1643,1603,2177,1841,1747,1565,1374,1555,1592,1462,1959,2536,2115,2166,2720,2709,2235,1569,1913,2324,1826,1890,2156,2158,2635,2709,2116,1709,1569,1919,2600,3238,3710,3496,3483,3698,3552,3676,4357,4448,4015,3814,3799,3740,3615,3484,3229,3487,3740,3870,3763,2676,1993,2208,2163,2289,2154,2200,2577,2514,2367,2331,2202,2188,2466,2758,2390,2649,3334,3442,3296,3130,2733,3018,2990,3378,3666,2866,1647,1930,2544,2688,2636,2448,2421,2136,1901,1988,2352,2193,1835,2074,3016,3661,3868,3762,3145,2443,2384,2550,2631,2034,2126,1884,2026,2844,2762,2195,1959,1917,1887,1879,1774,1775,1782,2061,2196,1653,1988,2090,2008,1664,1353,1537,2144,2553,2989,3516,2645,1996,1791,1938,2257,2917,2404,2176,2833,2991,2753,2405,1963,2254,2470,2466,2530,2089,2688,2524,1786,2035,2209,2519,3356,3098,1789,1499,2242,2386,2502,2813,2954,2898,2740,2480,2281,2337,1987,2020,2250,2230,2053,2248,2733,2480,2113,2032,2199,2425,2523,2644,2854,2645,2570,2755,3375,3017,2456,2767,2568,2776,3159,3130,3225,3608,3131,3197,3561,3009,2613,2708,2922,2525,3029,3224,2876,2462,2018,1698,1613,1879,2655,3197,3381,3266,3386,3375,3488,3466,3517,2921,2384,2059,2197,2592,2360,2346,2737,2204,2361,2314,2181,2609,2600,2522,3074,3382,3637,3615,3292,3300,3098,2458,2862,2475,2055,1757,1676,2544,2804,2143,1830,2159,1991,1773,2887,3297,3010,2631,2246,2144,1791,1883,1782,1456,1505,1561,1472,1837,2488,2238,1687,1808,1792,2109,1605,1456,1672,1738,1777,1985,1993,1738,1512,1516,1617,1652,2025,2392,2450,1930,1898,2004,1932,1937,2003,1988,1795,1622,1647,1731,2347,2922,2146,1641,1559,1863,1689,1620,1861,1699,1569,2045],[3225,3497,3867,3359,3309,3067,3040,3098,2840,3068,3210,2678,2556,2800,2797,2695,2614,2387,2348,2474,3176,4209,4285,4092,3961,3690,3670,3474,3247,2896,3024,3216,3145,3204,3108,2817,2665,2357,3115,3417,3391,3488,3254,3137,3188,3604,3825,3754,3532,2992,2883,3007,3370,2778,2586,2706,2898,3739,3473,3268,3531,3275,2656,2213,2769,3671,3820,3751,4272,4356,4027,3950,3617,3075,2844,2701,2863,2987,3270,3285,3153,2955,2559,3388,3538,2946,2856,2618,2129,1885,2009,2424,2540,2234,1876,1880,2042,1881,1788,1760,1563,1642,1870,2070,2200,2114,1976,2632,3629,3377,2124,1930,2272,2867,3355,2808,2167,2675,3276,2006,1136,2175,2773,3334,3696,2941,2596,2850,3594,3851,3543,2975,2386,2665,3234,3096,3263,3650,3341,2961,2802,3296,3782,3980,3811,3579,3653,3895,3288,2197,2342,2799,3430,3410,2800,2643,2707,3123,3414,3400,2996,2950,2964,3212,3227,2600,2501,1999,1560,1715,1938,2125,1886,1715,2151,2407,2199,2257,2005,1991,2800,2301,2310,2658,2602,1965,1815,1992,2058,2238,2341,2561,2372,2036,1842,1822,2208,2340,2265,2071,2029,2557,2768,2445,2024,2150,2476,2272,2674,2558,2924,2998,3374,2856,2156,1807,2012,2455,2098,1930,2040,2001,2235,3114,2990,2700,2344,2564,3269,3631,3736,3497,2925,2682,2756,2649,2358,2025,2064,2586,2712,2770,2643,2047,2170,2436,2235,1993,2064,2104,2150,1891,2238,3104,2409,1374,1282,2193,2326,1811,1786,1960,2234,2214,2856,3421,3190,3026,3005,2958,2228,1710,1580,2316,3197,3548,3916,4003,3592,3287,3400,3599,3218,2561,2684,3420,3954,3741,2916,2303,2257,2544,2799,1637,1002,1798,2710,2912,2854,2331,2171,2213,2173,2526,3112,3137,3391,3284,2858,2736,2709,2339,1881,1721,2313,3107,2987,3027,3586,3408,3042,2876,2620,3078,3354,3665,3462,3053,3596,3808,3167,2656,2941,3414,3082,2597,2567,2975,2976,2259,2258,2222,2164,2163,2032,1950,1931,1971,1964,1986,2102,2085,2148,2358,2942,2951,2806,2654,2297,2505,3082,3270,3486,3426,3186,3230,3204,3104,3188,3253,3109,2757,2902,3097,2769,2358,2273,2293,2510,2565,2562,2305,2609,2872,2830,2667,2644,2599,2162,2068,2358,1781,1566,1628,1745,2049,2280,1928,1612,1557,1610,1866,1948,2156,2060,1752,1782,1928,2110,2146,2424,2599,2758,2641,2924,3263,3382,3345,3041,3207,3137,3119,3015,3006,3184,3262,2993,2741,2898,2791,2604,2458,2087,2162,2501,3090,2791,2400,2138,2294,2110,1820,2618,3488,2941,2565,2640,2610,2425,2075,2107,2764,2272,2555,3304,3042,2602,2908,3101,3176,3400,3204,3135,3107,3475,2754,1981,1817,1904,2243,1928,2230,2980,3221,3501,3298,2423,1965,1948,2396,1846,1931,2622,2940,2633,2325,1915,1788,1890,1525,1582,1731,2086,2144,2163,1754,1775,1847,1632,1391,1904,2128,2146,2480,2317,2470,1730,1735,2225,2787,2664,2245,2173,2114,2686,2785,2121,1647,1424,1491,1545,1891,2351,3078,2658,1860,1832,2032,1892,2165,2248,2039,2589,3096,3130,3182,2786,2893,2675,2657,2620,2752,2680,2477,2646,2808,2889,2707,2448,2036,1900,1803,2669,3695,4008,3992,4006,4117,3598,2363,1952,2788,2952,3210,3306,2130,1854,2232,2188,2222,3298,4503,4807,4112,3113,2679,2037,1832,2106,2582,2466,1896,1828,2015,2226,2014,1926,2014,1834,2431,2618,2562,2318,2932,2624,2680,2452,2220,2610,2921,3008,3128,2601,1961,2211,2557,2402,2495,3060,2855,2558,2138,2354,2895,2670,2170,1775,1896,2318,2564,2482,2685,2962,3248,3206,2934,2618,2380,1960,2156,2959,3297,3827,3682,3727,3815,3477,3034,2968,3076,3240,3370,3389,3351,3564,3860,3851,4056,4272,4073,3806,3593,3620,3726,3782,3574,3475,3571,3675,3833,3984,3876,3883,3778,3837,3938,3946,3913,3916,3983,4017,4028,3895,3585,3445,3980,4077,4040,4094,4125,4128,4090,4061,3996,3947,3890,3804,3692,3548,3584,3654,3615,3614,3714,3684,3636,3609,3529,3444,2851,2025,1688,1742,2374,3022,3184,3137,3112,3022,2555,2045,1834,2216,2433,2221,2509,2110,2080,2072,2100,2072,2060,2250,2083,2165,2543,2920,2894,2749,2190,1858,2095,2214,2114,2267,1953,2004,2004,1991,2557,2790,2437,2013,1764,1996,2231,2002,2105,2324,1863,2106,2437,2770,2891,2596,2684,2923,2969,2901,2928,3683,3485,3528,3972,3868,3282,2530,2708,2799,3444,4085,4115,4212,3990,3953,4006,4071,3883,3526,3848,3725,3453,3441,3513,3588,3643,3190,2440,2273,2353,2097,2131,2236,2090,1990,1881,2266,2665,2354,2237,2248,2110,2122,2110,1818,1533,1886,2226,2504,2858,2688,2461,2312,2285,2231,2041,2093,2686,3323,3121,3073,2779,2076,2253,2612,2844,2999,3015,3034,2920,2678,2208,2222,1833,1981,2100,2249,2054,2108,2385,1987,1803,1855,1656,1716,1880,1622,2179,2472,2330,2403,3183,3121,2726,2512,2321,2626,3315,3256,2689,2447,2595,2392,1890,2204,2316,2499,2055,2040,2337,2054,1884,2238,2534,3231,3820,3602,3646,3852,4084,4163,4240,3768,3317,3240,2597,1814,1671,1928,2181,2163,2248,2721,2688,2607,2241,1881,2030,2436,2426,2410,2969,3206,3340,3530,3104,3211,2767,2950,2884,2880,3404,3404,2900,2544,2813,3427,3747,3960,3370,2558,2334,2329,2290,1972,1735,2223,2399,2243,2469,2462,2163,2244,2987,3506,2854,1928,1839,1810,2378,3032,2610,1788,1813,1881,1552,1572,1474,1500,1520,1928,2008,1550,1385,1665,1510,1346,1585,1634,1708,1839,1805,1659,1598,1444,1490,1500,1407,1494,1697,1848,2046,1870,1797,1723,1599,1515,1411,1562,1880,1904,1594,1548,1755,1714,1431,1349,1450,1662,2073,2084,2017,2542,1977,1529,1606,1572,1614,1582,1452,1528,1510,1533,1690,1425,1462,1573,1532,1487,1500,1720,1779,1731,1854,2132,2496,2280,2236,2598,2767,2490,2724,2210,1840,2138,2076,2040,2033,1891,2163,2130,2237,2237,2654,2920,2912,2641,2425,2086,2062,2200,2270,2468,2612,2485,3010,2670,2341,1923,1702,2091,2053,1768,1605,1754,1868,2010,2567,2799,3308,3259,3186,2634,2197,2107,2503,2873,2698,2344,2224,2531,3122,3018,2596,2994,3206,2725,2723,2836,3095,3677,3752,3399,3532,3505,3432,3749,3584,3970,3753,3484,3925,3770,3516,3466,3285,3256,2890,2205,1839,2263,2583,3221,3130,2890,3104,3222,3009,3405,3959,3826,3624,4000,4460,4296,3299,2487,2688,2432,2159,2037,2453,3232,3344,3329,3349,3492,3837,3339,2235,2198,3594,3893,3914,3565,3653,3782,3608,3306,2900,2839,2684,1970,1599,1814,2208,2800,3326,2851,2639,2719,2707,3266,3420,3156,3994,3720,2700,3188,3518,3338,2901,3118,3518,3925,4248,4468,4110,3281,2819,2807,2919,2985,3400,3068,2597,2553,2572,2555,2515,2414,2325,2329,2523,2664,2416,2448,2959,2940,2406,2036,1931,1912,1950,1814,1599,1572,1603,1730,1631,1672,2206,3129,3082,2481,2446,2338,2078,1907,1673,1778,2254,1994,1608,1416,1643,1644,1737,1626,1518,1663,1879,1915,1853,1982,1758,1682,1907,2317,2519,2394,2592,2438,2553,2436,2043,2010,2205,2552,3156,2924,1985,1831,2388,2382,2319,1772,1779,1872,1929,1832,1581,1845,2170,1732,1787,2147,1707,1522,1672,1555,1514,1730,1594,1450,1610,1687,2159,2796,2556,2906,2619,1937,2379,3342,3523,3023,2860,2490,1964,1628,2114,2342,2437,2653,2020,1638,1533,1517,1929,2429,1929,1804,2170,1727,1873,2349,1824,1649,1540,1927,2583,2740,2372,2056,2455,2714,1970,2442,3202,2763,2534,2240,2457,2725,2730,2212,1843,2176,2188,2366,2567,2881,2889,2802,2604,3050,3538,2898,2300,2312,2539,3134,3110,2814,2880,2890,3191,3098,2269,2174,2149,2131,1940,1700,1798,1717,1914,2264,2446,1996,1572,1948,2433,2735,2291,1698,1723,1761,1473,1534,2037,2481,2486,2562,2400,2619,2929,2422,1757,1636,1874,2095,2252,2430,2242,2367,3017,3304,3096,2910,2449,2640,2797,2052,2431,2811,2855,2646,2757,2670,2365,2045,2253,2294,2143,2354,2040,2143,1581,1892,3128,2569,2012,1774,1630,1700,1735,2119,2246,2270,1995,2205,2654,2537,1986,1556,1686,2249,2083,2083,2116,1702,2104,2492,2160,1903,1673,2170,2875,3426,3575,3328,3222,3474,3339,3253,3274,3356,3602,3427,3497,3574,3356,2905,2796,3084,3321,3485,2817,2238,2044,2221,1924,1959,2007,2398,2310,2189,2304,3043,3359,2872,3222,3562,3098,2576,2496,3023,2506,3196,3765,3783,3250,3405,3876,3416,2961,3133,3081,3081,3123,2656,2448,2567,2736,2750,3033,2825,2217,2476,3321,3890,3962,3780,2722,1933,2381,2619,3115,2642,2360,2026,2164,2655,2364,2164,2644,2696,1944,1597,1433,1507,1585,1988,2048,1880,2072,2302,2162,1816,1888,2215,2590,2698,2590,2789,2443,2690,2408,2406,2795,3405,3028,3043,3267,2802,2897,2698,2331,2361,2382,1918,2275,2719,3140,2512,1525,1607,2114,2416,2988,2879,1973,1539,2281,2823,2243,2453,3065,3317,3165,2599,2479,2460,2052,1747,1842,1652,1676,2186,2675,2641,2544,2489,2308,2369,2541,2569,2708,2388,2645,2648,2498,2172,2435,2736,2617,3043,3432,3066,3082,3518,3569,3494,3398,3151,2807,3289,3499,2827,2475,2441,2258,2237,2194,2052,2143,2419,3118,3213,3275,3636,3558,3425,3719,3648,3414,3185,2943,2417,2216,2417,2216,2133,2376,2732,3301,2636,2464,2626,2797,3183,3304,3505,3864,3820,3428,3482,3427,3028,2696,2684,3261,3276,3165,2990,2871,2465,1870,2226,2081,2188,3129,3255,2909,2673,2141,2057,2126,2040,1781,1512,1571,1588,1534,1649,2185,2050,1635,1581,1597,1980,1607,1372,1522,1656,1711,1643,1721,1807,1663,1536,1590,1547,1792,1924,1841,1873,2069,2144,2142,1968,1799,1748,1663,1783,1721,1743,2260,2705,2198,1870,1858,1743,1593,1546,1561,1644,1992,2192],[3421,4178,4065,3098,2863,2789,3175,3068,2832,2679,2544,2401,2649,2864,2841,2999,2868,2555,2686,3215,4062,4047,3847,3760,3645,3472,3283,3208,2833,2374,2552,2709,2745,2785,3354,3340,2695,2213,3065,3394,3267,3152,2878,3125,3771,3697,3846,3826,3543,3409,3264,3053,3001,2643,2830,2887,3106,3552,3698,3648,3559,3450,3277,3030,3494,3718,3596,3543,3737,3825,3657,3796,3542,2762,2142,1824,2522,2876,3140,3278,3051,2460,2445,2946,3045,2997,3013,2474,2006,1941,2232,2127,2197,2214,2187,1927,1665,1692,1726,1716,1840,1982,2175,1952,1675,1536,1816,2555,3184,3105,2460,2624,2646,2474,2557,2338,1960,2287,2782,1780,1561,2533,3138,3016,2962,2646,2432,2822,3479,3841,3662,2921,2640,2884,3236,3116,2786,3141,3200,3087,3056,3433,3860,4113,3898,3535,3599,3619,3023,2218,2454,2910,3353,3381,3076,2623,3085,3753,3943,3641,2732,2522,2468,3090,3204,2763,2913,2375,1898,2134,2476,2401,1874,1946,2754,2993,2565,2592,2292,1837,2220,2203,2036,2032,1876,1742,1889,2005,2120,2440,2645,2351,2354,2378,1936,2090,2567,2562,2439,2512,2199,2140,2360,2094,1757,2116,2343,2530,2814,2664,3051,3409,3447,2889,2357,1915,2096,2540,2109,2099,1905,1843,2513,3198,2820,2481,2522,2740,3205,3529,3537,3312,2674,2292,2561,2403,1968,2133,2499,2575,2722,2956,2626,1951,2054,2004,2183,2884,2636,2314,2126,2061,2671,3018,2574,2053,2129,2294,2029,1613,1440,2179,2634,2281,2655,3154,2585,2532,2602,2945,2482,1622,1600,2473,3450,3466,3931,3979,3701,3912,3250,2998,2338,2142,3227,3837,3462,3407,2773,2667,2349,2572,3197,2513,1853,1468,1636,2013,1777,1703,2119,2055,1918,2374,3182,2375,2546,2784,3395,3605,3619,3128,2848,2814,3162,3614,3196,3250,4091,3182,2174,2077,2411,2741,2504,2565,2850,2795,2950,3500,3364,3480,3528,3214,2675,2598,2750,3339,3583,3385,3189,2589,2095,2091,2136,1995,1914,1996,1945,1945,1993,2018,2270,2958,3444,3313,3034,2997,3030,3063,3042,2894,3028,3284,3197,3202,3093,3044,2994,2933,2997,3060,3260,3251,2710,2485,2442,2379,2576,2632,2944,2967,3005,3002,2845,2900,3218,2922,2268,1786,2258,1788,1500,1447,1682,1737,2063,1912,2020,2120,1674,1985,1817,1897,1876,1698,1955,2080,1926,2051,2139,2236,2369,2539,2932,3300,3174,2614,2290,2839,3251,3318,3229,3212,3440,3442,3024,3008,3171,3082,2972,2742,1882,2041,1896,2810,2296,1902,1838,2021,2484,2442,2814,3047,2320,2141,2450,2512,2613,2408,2245,2965,2555,2972,3552,2876,2143,2165,2544,2843,3451,3352,2947,2986,3090,2331,1978,2046,2417,2793,2342,2273,2667,3124,3686,3380,2106,1695,2044,2226,1739,1682,2485,3077,2739,2378,2608,2470,2168,1888,1570,1896,2223,2027,1927,2025,2215,2194,1993,1874,1836,1800,1809,2000,2198,1854,1481,1525,2186,2923,2621,2368,2251,2286,2655,2618,2037,1832,1519,1672,1558,1598,1802,2480,2416,1859,1961,2055,1972,2302,2075,2097,2719,3067,3141,3052,2840,3213,3272,2769,2651,2955,2865,2619,2403,2410,2592,2467,2437,2137,1880,1758,2985,4052,3743,3584,3847,3906,3685,2724,2261,2710,2675,3051,2562,1827,1865,2468,2499,1950,2591,3740,3747,3732,3087,1816,2024,2498,2347,2732,2697,2225,2040,2225,2350,2190,1973,2172,1845,2769,2858,3032,2889,2719,2733,2878,2540,2656,3142,2912,2264,2254,2423,1826,1858,2144,2428,3045,3177,2714,2569,2341,2314,2459,2323,2208,2079,2120,2192,2361,2570,3084,3037,3069,3011,2569,2203,1700,1497,1721,2867,3426,3838,3917,3751,3579,3484,3219,3096,3212,3417,3555,3418,3131,3459,3637,3476,3698,4090,4109,3829,3708,3621,3653,3706,3666,3576,3580,3718,3789,3850,3728,3650,3712,3871,3949,3936,3760,3739,3850,3916,4028,4229,4332,4289,4300,4172,4128,4049,4035,4050,4049,4035,4037,3993,3830,3692,3570,3394,3507,3514,3553,3641,3630,3570,3813,3808,3530,3197,2562,1958,1530,1649,2115,2786,3293,3328,3240,3575,3056,1811,1388,1620,2159,2144,2264,1853,1866,1886,2031,1797,2007,2451,2543,2476,2390,2484,2493,2795,2303,2193,2073,1955,2279,2485,2192,2309,2087,2093,2591,2417,1887,1604,1510,1913,2194,2269,1928,2068,1688,1768,2388,2756,2987,2920,3285,3422,3273,3164,3286,3472,3141,3081,3196,3275,2773,2377,3188,4015,4292,4153,4223,4155,3934,3807,3971,4093,4007,3717,3783,3705,3570,3561,3475,3599,3914,3803,2928,2244,2327,2283,2166,2036,2266,2354,2250,1726,1498,2199,2341,2402,2332,2152,2125,1501,1284,1962,2192,2448,3020,2888,2343,2310,2523,2576,2208,2416,2732,2911,3185,3088,2768,2182,1796,1884,2350,2802,2572,2451,2501,2624,1996,2290,2010,1971,2210,2118,2102,2154,2050,2047,2312,2166,1812,1883,2092,2128,2437,2751,2603,2574,3155,2754,2231,2585,2622,3312,3450,3042,2597,2526,2648,2293,2315,2697,2512,2145,1925,1825,1798,1788,2040,2153,2588,2976,3660,3785,3774,3764,3783,3904,4036,3872,3240,2674,2331,1803,1556,1763,2145,2567,2834,2729,2616,2663,2270,2189,2800,3018,2939,2566,2869,3090,3414,3635,3606,3676,3020,3104,3276,3206,3118,3209,3439,3472,3284,3417,3407,3508,3134,2786,2464,2306,2592,2417,2270,3052,2636,2126,2810,3046,2491,2720,3205,3454,2917,2353,1837,1581,2142,2474,1885,1736,1838,1622,1549,1707,1688,1949,2072,2074,1780,1388,1361,1431,1312,1379,1479,1527,1668,1716,1700,1521,1448,1443,1569,1627,1486,1559,1854,1968,1663,1634,1486,1415,1621,1449,1371,1658,1754,1484,1372,1643,1668,1629,1404,1334,1469,1630,1693,1539,1981,2712,2270,1721,1494,1489,1663,1745,1593,1535,1500,1534,1634,1604,1673,1694,1571,1437,1595,1846,1885,2426,2374,2370,2705,2889,2310,2155,2339,2048,1668,1713,2042,2194,2034,1964,1881,2191,2373,2139,1729,1701,2754,3361,2640,2520,2612,1975,2136,2412,2894,2450,2216,1955,1911,2212,2039,1525,1599,1770,1747,1674,1641,2091,2180,2449,3025,3112,3457,3598,2978,1993,1555,1661,2184,2798,2701,2464,2644,2770,3129,3027,2756,2774,2753,2551,2909,3670,3962,4003,3560,3212,3432,3686,3787,3430,2977,3835,3735,3559,4036,3718,3081,3116,3410,3243,2770,2228,2021,2755,2604,2847,2901,2787,3237,3407,3421,3566,3697,3489,2893,3012,3742,4173,4097,3085,2444,2718,2760,2619,3457,4051,3827,3526,3415,3506,3518,2523,2117,1957,2433,3176,3574,3593,3874,4205,3743,2895,2716,2762,2602,2184,1686,1732,1671,2734,3042,2334,2467,2620,2976,3768,3847,3885,3985,3751,2975,3510,4052,3916,3709,3686,3521,3417,3860,4427,4163,3459,2886,2860,2902,2908,3165,2808,2318,2291,2455,2593,2598,2581,2532,2473,2605,2565,2656,2653,2432,2523,2570,2490,2225,2011,2002,2068,1968,1849,1842,1817,1809,1787,1703,2285,2438,2050,2197,2657,2490,2505,2463,2067,2042,1851,1768,1759,1623,1660,1842,1739,1893,2202,2282,2173,1758,1739,1799,1804,1829,1957,2437,3085,3397,3073,2466,2244,2603,2655,2772,2805,3417,2347,2114,2918,3190,2700,2183,2042,2217,1752,1543,1578,1580,1853,1775,1427,1755,1990,1685,1464,1635,1623,1761,1956,1664,1503,1552,1477,1747,2371,2551,2706,2541,2209,2624,3210,3462,3205,2481,2420,2548,1665,1801,2071,1983,2085,1650,1410,1675,1854,2114,2311,1836,2033,2249,1724,1581,1523,1432,1396,1496,1591,2239,2598,2333,2297,2916,2704,1762,2745,3364,2954,3010,2735,2646,2335,1974,1895,2542,2654,2622,2438,2296,2697,2164,2353,2656,3419,3992,3390,2685,2702,2854,3069,3043,2778,2913,2808,2924,2920,2390,2161,2260,2633,2081,1861,1889,1811,2257,2622,2523,2329,2220,2696,2880,2536,2197,1729,1764,2226,2075,1740,1763,2009,2693,3072,2368,2835,2441,2014,1797,1716,1926,2005,2047,2416,2401,2323,2854,3227,2799,2821,2811,3146,2477,2278,2339,2601,2751,2880,2701,2259,1886,2011,2748,2521,1975,2333,2185,2295,1880,1891,2680,2269,1918,1939,1666,1693,1998,2690,2309,1927,2283,2070,2446,2158,1839,1799,1764,2252,2678,2343,1931,1463,1749,2205,2181,2353,2459,2921,3244,3566,3632,3230,3151,3231,3053,3078,3111,3068,3262,3276,3277,3654,3806,2734,2508,3016,3259,3677,2577,2307,2230,2116,1598,1671,2128,2822,2271,1649,2071,3387,3720,2917,3505,3853,3254,1886,1856,2679,2584,3128,3486,3227,2899,3294,3814,3975,3690,3151,2596,2361,2700,2525,2273,2644,3182,3265,3019,2630,2625,2824,3487,4006,4156,3929,3061,2785,3309,3609,3662,3384,3063,2293,1864,1948,1832,1820,2218,2763,1931,1636,1603,1575,1666,1737,1605,1638,2131,2409,2423,2435,2586,2754,2556,2291,2069,2470,2807,3029,3233,3282,3090,2811,2584,2806,3112,2991,2786,2368,2191,2236,2357,2571,3156,3471,3299,2686,2216,1791,2001,1735,1804,1958,2140,2139,2470,2526,2409,2730,2968,3216,2941,2577,2731,2408,2089,2152,2103,1596,1599,2184,2801,3332,3544,3219,2686,2710,2547,2337,2249,2096,2589,2676,2780,2718,2586,2697,2880,3176,3044,3050,3066,3384,3274,3320,3357,3076,2928,3066,3002,2640,2301,2051,2120,2068,2554,2761,2804,2908,3452,3485,3513,3604,3410,3319,3427,3585,3736,3492,2943,2380,2233,2094,1868,2393,2359,2818,3215,2507,2177,2249,2227,2741,3029,3339,3793,3580,3142,3292,3501,3141,2178,2419,3188,3698,3665,3582,3680,3138,2134,1924,2095,2802,3150,3238,3127,2872,2039,1908,2136,1781,1392,1543,1628,1532,1481,1582,1621,1665,1560,1553,1596,1545,1375,1225,1314,1576,1744,1769,1805,1815,1687,1578,1569,1470,1499,1627,1735,2042,2200,1924,1657,1622,1654,1723,1743,1870,1831,1825,1744,1853,1890,1947,1991,1730,1587,1630,1570,1798,1857,1924],[2917,3658,3962,3588,2678,2467,2901,3021,2719,2457,2474,2548,2628,2741,2894,3185,2641,2739,3165,3310,3400,3341,3376,3356,3398,3142,2718,2584,2367,2198,2324,2359,2216,1951,2765,2954,2561,2285,2807,3415,3361,3242,3089,3255,3693,3474,3588,3747,3519,3141,3199,3308,2921,2669,2813,2986,3104,2880,2800,2755,2918,3146,3183,3526,3726,3564,3514,3615,3652,3487,3483,3605,3429,3107,2461,2588,3286,3154,2744,2996,2917,2577,2511,2776,3184,3432,3062,2241,2008,2002,1775,1537,1656,2084,2248,1894,1660,1778,1787,1998,2259,1995,2397,2500,2153,1874,2149,2224,2222,2376,2554,2530,2096,1924,1626,1271,1758,2315,1656,1799,1967,2567,2828,2751,2709,2732,2873,3053,3432,3850,3603,2761,2730,3079,3342,3188,2872,2728,3227,3582,3420,3359,3538,4121,3965,3477,3443,3375,2663,2190,2342,2788,3260,3291,2833,2758,3077,2717,2820,3389,2750,2435,2351,2964,3406,3406,3150,2822,2714,2677,2586,2323,1888,1873,2223,2320,2292,2148,2046,1793,1924,2014,1874,1694,1714,1790,1657,1771,2053,2033,2349,1788,1847,2082,1760,2063,2831,2666,2603,3323,3299,2983,2642,2160,2157,2242,2428,2498,2631,2663,3312,3475,2995,2525,2180,2167,2279,2440,2371,2104,2188,2163,2614,2734,2476,2693,2634,2567,2832,2688,2644,2960,2600,2121,1958,1816,1762,2205,2287,2271,2505,2842,2759,2580,2588,2247,1882,2135,2762,2537,2024,2160,2378,2475,2369,2200,2291,1951,2134,1798,1604,2802,2824,2676,3144,3018,2610,2673,2424,2043,1714,1233,1501,3028,3677,3242,3540,3867,3930,4257,3116,2007,1867,1907,2315,2298,2276,3287,3417,3196,2326,2535,2783,2575,3013,2964,2316,1921,1432,1295,1954,2592,3017,3133,3254,2272,2044,2607,3519,4069,4026,3364,3399,3737,3785,3838,3132,3273,3574,2920,2185,2556,2834,2736,2592,2345,2568,2951,2647,3500,3836,4492,4541,3968,3583,3651,3435,3413,3647,3811,3906,3452,2570,2249,2509,2022,1836,2013,1998,1961,2035,2189,2504,3091,3353,3314,3362,3372,3261,3210,2919,2700,2710,3254,3454,3366,3077,2919,2929,2997,3152,3244,3060,2712,2453,2567,2308,2337,2412,2804,2955,3086,3042,2818,2853,3039,3204,2654,2300,2325,1802,1885,2107,1960,1814,1780,1937,1922,1788,2016,1917,1886,1670,1642,1609,1768,2098,1968,1792,2018,2333,2179,2232,2675,2993,3298,3164,2458,2644,3002,3182,3448,3318,3110,3258,3304,3248,3458,3193,3226,3095,2645,1873,2112,1952,2440,2105,1696,1460,1914,2923,2466,2476,2545,1542,1462,1773,2192,2931,2388,2420,3182,3288,3527,3454,2735,1959,2230,3030,3216,3159,3044,2536,2365,2542,2409,2106,2121,2593,2644,2436,2626,2885,2808,2587,2370,1954,1718,1898,2260,2752,2515,2102,2473,2352,2102,2614,2500,1758,1932,2078,1779,1808,2209,2450,2473,2451,2150,1816,1938,2322,2011,1587,1471,1728,2171,2207,2159,2433,2342,2432,2792,2622,2731,2500,2780,2236,2308,1861,1742,1706,1632,2113,2635,2177,1788,1981,1830,2052,2768,2666,2373,3069,3051,3204,3328,3056,3163,3339,3175,3394,3407,3351,2920,2764,2532,2349,2523,2696,2241,1919,2148,3275,4017,3580,3559,3498,3601,3795,2848,2724,3233,2954,2577,2473,2298,2276,2798,2520,2084,1838,2489,2785,2777,2504,1643,2718,3291,2616,2473,2350,2057,2044,2408,2081,2221,2676,2489,2289,2985,2824,2821,2933,2554,2820,2915,2578,3052,3520,3718,3068,2031,2115,1833,2159,2082,2106,2476,2292,2291,2486,2322,2229,2461,2178,2303,2251,2184,2233,2378,2527,2673,2282,1990,2072,1870,1755,1799,1771,1583,2613,3383,3941,3970,3639,3618,3689,3416,3174,3174,3531,3687,3676,3283,3510,3462,3154,3254,3790,3916,3794,3760,3566,3646,3666,3681,3549,3718,3776,3898,3771,3547,3566,3716,3674,3682,3676,3558,3579,3654,3852,3897,4099,4287,4296,4154,4015,4027,4050,4079,4107,4100,4004,3938,3886,3711,3649,3519,3421,3459,3462,3598,3658,3439,3356,3676,3717,3405,2647,2414,1846,1837,1958,1883,2298,2791,3000,3043,3510,3464,1854,1322,1279,1976,1805,1715,1461,1760,2084,2037,2153,2705,2952,2896,2724,2669,2762,2665,2266,1696,2306,2402,2457,2472,2276,2235,2415,2290,2222,2314,2552,2313,2554,2615,2456,2029,2096,1921,1785,1826,2360,2863,3063,3047,2512,2142,2576,3098,3272,3209,3334,3374,3429,3425,3387,3355,3439,3806,4170,4242,4139,4084,3866,3725,3704,3960,4068,3810,3741,3871,3748,3650,3676,3486,3580,3809,3693,3076,2374,2141,2302,2250,2127,1973,1948,1955,1751,1925,2411,2316,2300,2286,2376,2403,1692,1616,2196,2121,2101,2632,2777,2547,2443,2652,2686,2447,2409,2394,2864,3106,2999,3009,2590,2077,2092,2438,2887,2617,2419,2334,2532,2292,2470,2208,2076,2191,2575,2788,2454,2062,1957,2310,1991,1926,2335,2399,2062,2219,2531,2369,2647,2681,2077,1893,2190,2068,2652,2709,2520,2334,1871,1872,1967,2102,2265,2204,2065,1802,1529,1424,1440,1905,2298,2800,3032,3296,3380,3710,3184,2335,3168,3936,4024,3220,2059,1748,1687,1550,1574,2257,2640,2522,2075,2144,2474,2294,2456,3255,3428,3349,2923,2972,2711,2599,2900,3340,3648,3584,3506,3451,3565,3842,3769,3537,4084,4169,3728,3504,3338,3377,3309,2822,2546,2308,2558,3240,3491,2331,1528,1375,2146,2608,2845,3121,3265,3399,3225,2302,1964,1788,1958,1885,1903,1688,1445,1494,1699,2011,2458,2712,2721,2145,1412,1533,1485,1425,1384,1436,1483,1569,1678,1758,1738,1700,1622,1828,2186,2080,1785,1832,1809,1615,1583,1532,1616,1871,1556,1446,1628,1484,1315,1360,1501,1522,1531,1426,1314,1310,1268,1212,1516,2239,2526,2308,1841,1497,1641,1979,2052,1718,1560,1449,1527,1515,1459,1488,1486,1465,1501,1635,1919,2380,2318,1870,2121,2267,2110,1595,1734,2115,1888,2055,2214,2662,2379,1457,1427,1787,1952,1979,2035,1863,1694,2786,3454,2767,2884,3017,2472,2296,2341,2187,2193,2192,1900,1509,1738,1892,1862,1875,1600,1571,1660,2039,2865,2990,2601,3265,3568,3905,3818,2748,1997,1766,1911,2138,2663,2679,2678,2702,2909,3131,3343,3066,2532,2562,2923,3675,4090,4048,3825,3305,3755,3762,4055,3363,2730,3251,3750,3862,3948,3949,3388,2728,2636,3253,3335,2433,2435,2268,2513,2279,2488,2852,3354,3763,3608,3540,3230,3082,2872,2750,2793,3254,3773,4006,3178,2769,3264,3398,3544,3946,3708,3093,3037,3085,3172,3110,3031,3039,2003,1435,2069,3009,3764,4028,4156,3565,2916,2851,2862,2809,2467,1841,1730,1829,2244,2336,2088,2159,2055,2481,3484,3929,3984,4017,3702,3173,3602,4256,4438,4430,4123,3613,3337,3758,4108,4040,3714,3201,2808,2734,2946,3251,2764,2174,2083,2136,2294,2383,2528,2553,2792,2474,2113,2299,2618,2701,2506,2334,2357,2233,2002,2143,2119,2072,1918,1918,1936,1909,1867,1902,2103,2128,1887,2127,2752,2802,2912,2522,2182,1891,1771,1725,1769,1884,1842,1864,1990,2211,2351,2204,1960,1796,1810,2072,1938,2305,2298,2389,3024,3089,2544,2349,2824,3712,3230,3305,3386,3436,2054,1762,2988,3652,3060,2042,1978,2036,1647,1907,2050,1976,1727,1419,1760,1948,2146,1807,1647,1870,1520,1580,1838,2105,2374,2099,1646,1577,1884,2696,2840,2906,2574,2390,2755,2907,2777,2333,2214,2354,1905,2118,1967,1395,1334,1638,1563,1737,1895,1824,1782,1424,1430,1606,1625,1569,1457,1470,1366,1515,1903,2479,2372,1840,2077,3163,3322,2786,3407,3020,3330,3310,3110,2940,2417,1839,2239,2938,2827,2645,2667,2532,2502,2092,2515,2290,3440,4184,3643,3159,3176,2813,2906,3330,3109,3031,2819,2897,3053,2704,2554,2580,2305,1973,2270,2421,2254,2170,2677,2746,2763,2548,3207,3079,2314,2040,2050,2135,2334,2492,2219,1767,1886,2455,2642,2728,3139,2331,1684,1573,1528,1646,1658,1835,2086,2011,2043,2308,2192,2448,3169,3385,3272,2727,2299,2176,2144,2080,2493,2596,2422,2329,2523,2643,2216,1968,2312,2294,2533,2357,2124,2044,1842,1859,1800,1643,1748,2283,2670,2644,2770,2932,2826,2964,2790,2474,2214,2066,2159,2775,2786,2097,1621,1542,1573,1739,2281,2776,2902,2867,3146,3521,3071,2943,3096,3176,3071,2973,2876,3093,3487,3480,3776,4109,3575,3587,3123,2929,3231,2451,2326,2316,2048,1729,1798,2502,2962,2426,1966,2209,2618,2512,2495,3007,3469,3475,2187,2112,2665,2681,2619,2432,2155,2526,3392,3868,3841,3276,2997,2331,1993,2393,2422,2514,2999,3031,3086,2689,2331,2384,2566,3082,2895,3115,3971,3715,3770,4288,4299,3697,3291,3505,2872,2212,1674,1954,1996,1664,1455,1349,1476,1627,1846,1896,1744,1580,1970,2768,2602,2751,2923,2990,2749,2327,2610,2754,2609,2844,3066,3317,3156,2834,2446,2466,2491,2702,2909,3288,3242,2974,2767,2421,2996,3598,3250,2864,2568,2668,2169,1843,1277,1311,1879,2222,2287,2073,1853,2108,2555,2888,2893,2440,2313,2676,2556,2403,2323,2086,1672,1704,2322,3043,3591,3661,3274,3094,2732,2386,2668,2812,2232,2053,2343,2862,2718,2504,2746,2857,2557,2431,2734,2686,3019,3146,3076,2858,2791,2867,2916,2862,2842,2687,2547,2823,2857,2567,2862,3161,3575,3661,3617,3675,3548,3209,3188,3261,3403,3615,2875,2304,2168,2291,1902,1895,2731,2652,2474,2758,2586,2296,2321,2232,2723,2732,3123,3786,3218,3374,3240,3076,2552,2061,2222,2476,3423,3383,2662,3226,3104,2749,2843,2905,3200,2698,2639,2980,2566,1913,1851,1935,1644,1470,1844,1515,1468,1551,1604,1550,1532,1383,1546,1675,1421,1473,1488,1315,1443,1627,1810,1909,1888,1928,1878,1668,1579,1671,1837,1875,1959,1938,1725,1670,1687,1851,1661,1522,1641,1686,1753,1780,1863,1883,1738,1832,2206,1879,1603,1664,1638,1588,1562],[2872,3394,3753,3465,2730,2835,3758,4168,3649,3165,2730,2676,2777,2675,5093,8671,5434,2967,2980,2823,2894,2668,2688,2614,2448,2555,2503,2334,2238,2282,2267,2215,1943,1944,2311,2402,2387,2091,2617,3631,3652,3912,3873,3474,3623,3670,3695,3830,3363,2389,2349,3123,3106,2822,2788,2924,2843,2635,2481,2751,2895,2999,2924,3496,3793,3464,3492,3779,3719,3089,3151,3692,3840,3595,3053,2799,3281,3108,2692,3079,2966,2612,2905,2749,2460,2514,2688,2451,2599,2054,1647,1650,1889,2522,2896,2461,2134,2019,1729,2195,2501,1901,2425,2492,2344,1958,2111,2281,2448,2609,2751,2474,2030,1716,1598,1006,1005,1941,2223,2631,2715,2658,2507,2653,2830,2892,2840,2668,3262,3630,3041,2718,2924,3372,3488,3542,2831,2449,3602,3920,3502,3447,3172,3902,3705,3332,3347,3116,2378,2098,2113,2665,3209,2977,2546,2961,2819,2096,2287,3371,3147,2573,2373,3064,3497,3222,2795,2909,2779,2831,2697,2725,2216,1982,1916,1998,1803,2292,2345,1896,1861,1807,1688,1749,1600,1754,1477,1919,2268,2259,2099,1711,1902,1980,1597,1847,2597,2717,2712,3155,3846,3577,2953,2358,2566,2718,2712,2968,2986,2857,3241,3450,2859,2076,1947,1874,2212,2954,2725,2640,2792,2493,2479,2511,2513,2424,2343,2345,2414,2283,2313,2679,2500,2085,2091,2208,1864,1954,2361,2487,2601,2901,2668,2929,2611,2280,1649,1808,1864,1692,1550,1447,1641,2197,2472,2182,2042,2622,3054,2423,2261,2690,2495,2645,3067,2922,2746,3300,2688,1614,1446,1343,1525,3079,3619,3284,3749,3676,3685,4287,3437,2214,1985,2126,2136,2170,2177,2657,2745,2496,2249,2609,2766,2295,2537,3156,2798,2530,2237,2291,2849,2987,3497,4325,3473,2237,2173,2790,3495,3843,3752,3216,3609,3515,3597,3486,2477,2109,2153,2596,2824,2941,3057,3063,2976,2636,2832,3530,3935,4186,4459,4596,4649,4628,4488,4319,3986,3661,3522,3544,3688,3548,3277,2757,3416,2542,1886,2014,2049,2320,2410,2591,2934,2996,3308,3307,3364,3189,3257,3030,2584,2721,2868,3282,3608,3441,3123,2938,2762,2734,2798,2764,2678,2478,2608,2823,2508,2547,2939,2966,2895,3022,2658,2367,2701,2692,2590,2693,2676,3229,2376,2037,2578,2479,2051,1861,1973,2340,1965,1830,1723,1737,1852,1698,1725,2003,2272,2157,1798,2126,2599,2233,2577,3007,2863,3041,3175,3130,3294,3029,3056,3271,3184,2907,2931,3108,3241,3395,3276,3357,3262,2244,1503,2205,2192,1860,1910,1991,1656,1699,2127,2084,2400,2115,1356,1388,1654,2169,2310,2097,2236,2702,2890,3143,3602,3399,2614,2620,3351,3243,2767,2395,2438,2364,2012,2086,1848,2054,2347,2234,2022,2431,2624,2375,2408,2306,1990,1705,1564,2322,3220,2707,1747,2024,2019,1808,1851,2021,1713,2286,2590,2025,1877,2486,3006,2842,2303,1910,1477,2027,1971,1908,1743,1679,1865,2592,2912,2643,2640,2479,2573,3039,2678,2569,2456,2683,2398,2111,1772,1870,2302,2413,2566,2993,2587,2101,2498,2504,2867,2702,2933,3473,3610,3526,3640,3560,3384,3362,2927,2547,2986,3619,3687,3570,3218,2684,2642,2980,3110,2834,2586,2829,3708,4373,3618,3435,3219,3374,3663,2678,2482,2555,2368,2736,2979,2665,2762,3163,2887,2532,2182,2896,3006,2865,2286,1713,2155,2464,2598,2762,2876,2694,2385,2256,2219,2230,2240,2021,2658,3121,2837,3184,3155,2611,2969,2968,2884,2984,3168,3627,3585,2498,2143,1866,2068,2224,2263,2228,2064,2210,2232,2551,2867,2979,2241,1967,2069,2281,2497,2544,2273,2221,2216,2078,1819,1678,1826,2047,2163,1642,2077,3187,3882,3588,3185,3120,3438,3294,2983,3243,3505,3652,3627,3370,3212,3031,3008,3179,3344,3517,3584,3702,3641,3771,3695,3552,3541,3682,3824,3826,3583,3443,3605,3761,3671,3607,3516,3373,3384,3515,3691,3690,3870,4001,4029,3896,3784,3810,3907,3877,3922,3950,3991,3829,3660,3534,3589,3491,3398,3407,3406,3450,3510,3516,3464,3596,3733,3000,1990,1934,1926,2669,2599,2386,2452,2357,2494,2402,2990,3423,1860,1193,1077,1678,2085,1984,1721,1798,1916,2147,2500,2710,2894,2603,2518,2642,2359,2077,1707,1553,1774,2360,2831,2246,1979,2023,2313,2118,1819,1767,1997,2020,2581,2789,2502,2420,2653,2141,1687,2086,2125,2495,2826,2689,2669,2865,3210,3303,3495,3573,3759,3837,3688,3513,3553,3697,3711,4046,4251,4315,4289,4134,4064,4072,4094,4156,4105,3772,3683,3906,3747,3612,3587,3613,3670,3753,3548,3310,2777,2269,2226,2271,2039,1936,2020,2032,1914,2030,2234,2339,2300,2182,2513,2398,1736,1814,2033,2026,2069,2300,2764,2774,2542,2135,2373,2818,2652,2691,2921,2823,2930,2880,2812,2898,2858,2909,3079,2590,2642,2486,2372,2455,2654,2684,2348,2283,2882,2633,2543,2244,1865,2313,1980,1979,2203,2261,2060,2486,2765,2225,2588,2334,2005,2042,1960,2360,2464,2585,2783,2304,1567,1768,2098,2106,2536,2784,2492,1826,1570,1487,1605,1795,2343,2498,2815,3229,2954,3088,2577,1830,3056,3961,3506,2882,2282,1993,1717,1618,1912,2060,1935,1922,1959,2232,2119,1733,1980,2586,2598,3005,3410,2650,1904,2009,2244,2790,3322,3385,3667,3624,2915,3067,2955,3102,3852,4152,3857,3485,3258,3595,3528,2890,2415,1969,2047,2888,3146,2025,1229,1135,1946,2332,2417,2696,3029,3338,3064,2757,2869,2292,1905,2062,1814,1471,1510,1495,1575,2187,2584,2818,2756,2213,1599,1407,1755,1811,1669,1523,1483,1519,1533,1615,1730,1909,1881,2462,2472,1995,1564,1559,1433,1532,1785,1802,1860,1721,1437,1751,1956,1596,1562,1577,1590,1601,1574,1484,1467,1549,1426,1376,1647,1809,1701,1655,1439,1640,1587,1793,1719,1526,1474,1596,1850,1494,1385,1355,1353,1395,1700,1993,1991,2180,1702,1522,1626,1631,1555,1313,1540,1990,1965,2474,2407,2707,2081,1194,1155,1424,1636,1686,1890,2068,2525,3351,3241,2569,3082,2558,2039,2071,2425,2693,2553,2126,1795,1612,1593,1949,2495,2398,1787,1739,1731,2154,2991,3112,3110,3482,3565,3836,3959,3074,2254,1808,2042,2149,2489,2895,2851,2685,2998,3300,3500,3431,3326,3614,4004,3823,3761,3613,3795,3642,3789,4047,3962,3170,2889,2691,2864,3529,3422,3247,3078,2498,2685,3493,3372,2762,2821,2448,1643,1515,2649,3343,3579,3608,3388,2973,2672,2830,2983,3093,3178,3248,3642,3632,2588,2338,2596,3332,3853,3954,3441,2767,3023,3272,3346,3233,3230,3194,2854,2416,2180,3010,3868,4168,4316,3510,2840,2773,2767,2805,2798,2332,1760,1614,1738,2121,2083,1912,1779,2060,2376,3242,3737,3904,3718,3619,4062,4529,4584,4343,3937,3469,3595,3670,3952,3977,4048,3716,3212,3052,3307,3243,2365,1975,1904,1925,1831,1903,2082,2391,2522,2004,1677,1764,1919,2148,2398,2542,2415,2069,2126,2359,2321,2217,2064,1997,1992,1901,1886,2161,2260,1946,1715,2003,2699,3056,2605,2141,2139,1902,2052,2090,1810,1843,1812,1839,2121,1954,1952,2095,1982,2241,2485,2152,2070,2362,2137,2078,2450,2549,2433,2455,3075,3406,3208,3750,3808,3631,2691,2602,3643,4320,4116,3042,2110,1870,2292,3096,3163,2275,1627,1553,1708,2051,2586,2042,1741,1922,1581,1708,2061,2553,2951,2771,1914,1609,2099,2948,2931,2726,2752,2569,2640,2501,2487,2475,2425,2420,1859,1953,2482,2325,2046,2377,2048,1771,1895,1577,1429,1395,1395,1724,1876,1666,1570,1856,1825,1654,2200,2879,2577,1898,2087,2811,3166,3485,3754,3162,3155,2998,2792,2680,2497,2231,2219,2836,3130,3206,3207,2786,2586,2179,1916,1725,2558,3064,2583,2792,3101,2324,2624,2856,2811,3078,3231,3008,3105,3006,2922,2821,2449,2402,2611,2598,2472,2214,2598,2708,2995,3244,3741,3194,2304,2045,2006,1992,2151,2267,1744,1592,1721,1995,2360,3107,3389,2292,1557,1466,1582,1919,2281,2539,2113,1837,1701,1844,1776,2172,2842,3182,3174,2956,2362,2040,1859,1734,2422,2929,2824,2303,2387,2333,2079,1908,1991,2566,2662,2258,2078,1832,1780,1587,1497,1785,1714,2297,2908,3144,2843,2648,2723,2545,2774,2532,2000,1822,1982,2954,2804,2219,1794,1723,1853,1979,2250,2706,2884,2648,2224,2922,2845,2676,2872,3256,3384,3197,3107,3209,3642,3897,4220,4339,4568,4545,3157,3120,2786,2261,2041,1960,2244,2335,2469,2728,2577,2609,2503,2286,2080,2264,2195,2022,2361,3003,2853,2670,2618,2582,2805,2204,1772,2074,2864,3264,3510,3200,2502,2535,2532,2222,1950,1851,1828,1614,2111,2344,2445,2496,2693,2721,2675,3322,4209,4083,3960,4125,3926,3123,2722,2741,2511,1996,1609,1907,1841,1873,1702,1592,2028,2654,2857,2348,2057,1523,2372,2897,2749,3241,3520,2857,2665,2602,2667,2858,3046,3155,2998,2956,2722,2769,2635,2439,2344,2314,2195,3672,3683,2783,3125,2924,3106,3461,3276,2711,2495,2457,1793,1846,2243,2336,1918,1903,2040,1736,1864,2445,2701,2876,2480,2668,2732,2921,3103,2560,1929,1808,1722,2031,2541,3100,3385,3310,3166,3301,2762,2546,2789,3064,2884,2465,2496,2682,2424,2221,2710,2708,1973,2036,2665,2766,3076,3370,2939,2313,2261,2825,3141,3008,2767,2709,2291,2149,2294,2283,2764,3212,3642,3787,3660,3571,3364,3010,3151,3143,3029,2909,2373,1993,2256,2267,1914,2010,2361,2306,1819,2035,2302,2546,2191,2436,2687,2905,3454,3985,3841,3961,3819,3509,3012,2256,2035,2850,3803,3168,1803,2916,3483,3089,2880,2930,2863,2740,3076,3020,2008,1805,1866,2013,1601,1681,1821,1627,1765,1821,1703,1546,1471,1449,1395,1448,1435,1861,1627,1395,1617,1902,1787,1731,1730,1820,1920,1902,1950,1949,1872,1682,1704,1553,1558,1754,1710,1587,1521,1484,1459,1547,1666,1711,1560,1399,1692,1621,1875,1597,1626,1709,1571,1427,1203],[3791,3830,3890,3457,2867,2865,3771,4651,4376,4232,3973,3399,3362,2972,9537,15489,13248,3919,3249,2994,2735,2056,2259,1923,2176,2305,2364,2458,2336,2282,2314,2263,2144,2361,2452,2380,2265,2026,2987,4084,4243,4488,3956,3413,3650,3863,3992,4021,3196,1726,1674,3100,3312,3138,2864,2899,2813,2602,2832,3209,3124,2677,2466,3167,3750,3437,3273,3448,3538,3356,3482,3984,3984,3715,3394,3216,3303,3171,2632,2452,2518,2786,3674,2813,1714,1757,2230,2671,2878,2133,1579,1655,1826,2349,2562,2502,2678,2355,1834,1801,1976,1891,2255,2468,2699,2474,2271,2669,3284,3127,2757,2714,2364,1788,1982,1562,1298,2188,2820,2954,2995,2864,2969,2620,2659,2595,2917,2842,3145,3056,2696,2864,2834,2956,3150,3382,3206,3322,3980,4227,4013,3494,2978,3752,3663,3430,3539,2981,2392,2249,2050,2062,2346,2456,2740,3510,3277,2886,2727,3090,2858,2347,2724,3232,3272,2990,2614,3016,2808,2996,2621,2348,1965,1863,1920,1858,1539,2044,2454,2053,1843,1775,1792,1687,1644,1786,1612,2110,2262,2151,1844,1509,1680,2015,2036,2734,3274,3220,2935,3293,3927,3554,2747,2271,2555,2773,3138,3898,3418,2498,1998,2507,2448,1786,2079,2523,3020,3173,2416,2233,2607,2879,2654,2724,2613,2306,2574,2413,2761,2764,2431,2895,2468,1998,2246,1982,1732,2099,2078,2249,2997,2690,2850,3249,2688,2039,1770,1773,1670,1838,1863,1619,1744,2195,2483,2020,1984,2640,2952,2562,2619,2703,2405,2221,2439,2355,2669,3162,2702,1869,1758,1613,1740,3104,3640,3372,3655,3471,3638,4225,3812,2473,2494,2847,2684,2382,2178,2342,2358,2135,2097,2536,3029,2821,2930,3074,2731,2657,2998,3529,3428,2653,3166,3713,2460,1676,2006,2285,2325,2670,2894,2534,2448,2775,3373,2852,2002,1560,1624,2509,3230,3181,3017,3282,3418,2949,3156,4085,3806,3653,4483,4732,4664,4542,4395,4356,4180,3891,3696,3413,3215,3204,3520,3427,3363,2497,2138,2087,2084,2370,2266,2770,3081,3209,3264,3215,3184,2993,3196,3289,3338,3265,2917,2937,3199,3337,3218,3161,2834,2412,2523,2511,2316,2270,2591,2807,2652,2663,2840,2664,2802,2895,1744,1521,2338,1946,2102,2541,2392,2177,1688,1957,2785,2671,2079,1754,1914,2129,1917,1873,1773,1695,1947,2135,2120,2222,2460,2262,1998,2018,2039,1899,2246,2555,2328,2276,2680,3376,3234,2874,2964,2953,2981,2942,2884,3054,3226,3179,3082,3188,3066,2130,1802,2128,1860,1501,1729,1890,1645,1964,2264,2469,1973,1539,1715,1880,1714,1659,1777,1757,2050,2582,2262,2271,2482,2417,2070,2203,2832,2928,2876,2579,3287,3702,2998,2185,2013,2137,2210,2078,1566,1967,2131,1511,2054,2298,1651,1513,1736,2072,2343,2288,1633,1605,1800,2218,2198,2219,2609,3033,2968,2813,2066,1942,2398,2304,1783,1825,1908,2219,1927,1665,1623,1816,2000,2664,3281,2647,2712,3043,2910,3131,2873,2286,1879,2325,2470,1847,1738,2180,2509,2697,2876,3792,3104,2251,2382,2579,3030,2966,3564,4069,3742,3558,3666,3814,3520,3081,2247,2120,2819,3012,3602,4156,3536,2633,2733,2947,2887,2798,2934,3381,3982,4257,3812,3604,3428,3320,3432,2878,2163,1687,2076,2923,2720,2187,2437,3040,3300,2956,2586,2731,2644,2325,2111,1978,2116,2303,2719,3128,3299,2798,2324,2014,2142,2238,2250,2341,2808,2701,2896,3670,3558,2698,2944,2922,2344,2692,2978,3366,3521,3294,2727,1915,2208,2323,2193,2104,1922,2120,2197,2769,2700,2477,2050,1638,1881,2160,2311,2266,2152,1884,1960,2543,2152,1988,2484,2592,2339,1970,1729,2502,3537,3015,2259,2212,3009,3189,3002,3150,3141,3185,3212,3182,3124,3078,3020,3140,3361,3276,3366,3693,3697,3796,3794,3586,3608,3736,3747,3585,3450,3404,3514,3454,3360,3569,3651,3506,3463,3589,3596,3585,3821,3987,3858,3635,3564,3641,3707,3709,3919,4153,4007,3776,3573,3451,3451,3368,3288,3323,3373,3471,3529,3481,3122,3557,3508,2200,1561,1575,2367,3045,3007,2832,2263,1935,2293,2406,2355,2564,2043,1573,1509,1806,2236,2209,1954,1838,1974,2382,2900,2554,2097,2226,2055,1912,2056,2269,1948,1693,1650,1997,2543,2003,2084,2254,2267,1845,1970,2429,2111,2146,2198,2258,2220,2405,2502,2456,1820,2162,2440,2686,2585,2843,3185,3352,3208,3202,3464,3427,3606,3629,3570,3419,3375,3384,3413,3917,4113,4143,4109,4047,4119,4184,4155,4188,3985,3581,3762,3846,3856,3840,3636,3695,3636,3561,3388,3294,3186,2675,2148,2028,1947,2250,2409,2573,2789,2309,2033,2181,2215,2275,2532,2028,1619,1778,1974,2420,2898,2756,2284,2358,2258,1968,2304,2620,2677,2640,2829,2714,2841,2754,2688,2618,2754,2734,2754,2678,2964,2713,2308,2454,2842,2925,2404,2190,2311,2008,2501,2193,1988,1992,1554,1466,1300,1226,1638,2404,2763,2380,2372,2205,1878,1639,1882,2419,2868,3088,3021,2529,1914,2449,2564,2404,2633,2653,2468,2381,1881,1644,2354,2491,2539,2597,2596,2971,2927,2840,2194,1887,2636,3105,2818,2620,2721,2585,2081,1846,1960,2005,1734,2035,2337,2270,2215,1937,2216,2444,2202,2441,2707,2040,1561,1610,1959,2350,3031,3429,3920,3695,3340,3332,3286,3475,3812,3996,3780,3294,3208,3573,3080,2742,2257,1753,1333,1646,2347,2193,1496,1751,2526,2382,2238,2508,3173,3334,2248,2116,2287,2231,1957,1824,1648,1461,1494,1427,1581,2219,2744,2928,2272,2169,1771,1762,2272,2049,1895,1771,1499,1528,1381,1476,1734,1902,2096,2877,2414,1662,1466,1438,1406,1656,1817,1714,1698,1630,1772,1990,2082,1709,1570,1506,1571,1614,1678,1676,1764,1825,1683,1382,1422,1462,1472,1650,1556,1525,1829,1884,1568,1664,1548,1718,2145,1588,1556,1322,1235,1321,1816,2108,1902,2029,1971,1585,1585,1575,1598,1505,1760,2087,1802,2244,2514,2359,1671,1352,1394,1527,1679,1609,1631,1919,2788,3284,2800,2493,2697,2425,2370,2796,2985,2613,2204,1927,1979,1952,2220,2562,2870,2409,1891,1802,1567,1655,1776,2576,3517,3662,3674,3405,3372,3143,2432,1810,1752,2000,2258,2818,3109,3072,3188,3348,3541,3670,3517,3243,3805,3714,3530,3414,3718,3941,4078,4080,3816,3570,2787,1712,1826,3051,3440,3113,3044,2740,3082,3666,3480,3287,3232,2973,1904,1355,2468,3400,3720,3629,3260,2797,2623,2823,3300,3550,3572,3498,3464,2961,2049,2287,3072,3714,3458,3540,3117,2711,3266,3596,3331,3075,3118,3130,3508,3404,3050,3694,3982,3774,4019,3785,3006,2629,2587,2663,2758,2679,1886,1759,1747,2140,2049,1853,2544,2639,2287,2631,3248,3837,3913,4264,4571,4487,4460,3759,3012,2788,3517,4111,4094,4035,4324,4332,4026,3871,3945,3093,2180,1786,1713,1789,1745,1700,1722,1871,1824,1714,1634,1645,1716,1795,1863,2222,2699,2437,2166,2153,2216,2177,2170,2113,2042,1973,2096,2554,2493,1913,1881,2434,2946,2678,2180,2046,2010,1969,2408,2621,2196,1704,1682,2132,2688,2519,2241,2074,1838,2192,2334,2278,2502,2092,1764,2034,2308,2664,2470,2215,2974,3212,3033,3264,3761,3754,3242,3090,3542,3707,3900,3297,3294,2407,2514,2974,2868,2102,1599,1533,1604,1702,1668,1688,2038,1892,2004,2454,2620,2746,2656,2302,1961,1869,2147,2569,2512,2373,2522,2357,2496,2226,1949,2096,2268,2028,1848,1924,2505,2569,2299,2537,2176,1498,1431,1504,1564,1540,1519,1643,1660,1820,2042,2174,2145,1777,2271,2783,3276,3050,2797,2736,2884,3068,3062,2647,2277,2325,2623,2280,2102,2115,1756,2956,3185,2789,2586,2482,2341,1946,1827,1798,1624,1943,2072,2536,3174,3002,3392,3665,2823,2630,2745,2834,2889,2562,2526,2644,2555,2800,2700,2467,2254,2175,2619,2713,2624,2796,3099,2809,2392,2338,2092,1832,2044,2034,1676,1722,1816,1823,2084,2646,2762,2332,2332,2280,2288,2463,2524,2125,2150,2024,1803,2257,2514,2547,2858,2789,2612,2670,1936,1598,1589,1541,1678,2284,2588,2261,2203,1977,2046,1922,1748,2286,2197,2104,2082,2154,2018,1627,1542,1704,1775,2321,2724,2934,2929,2661,2564,2388,2548,2081,1566,1402,1893,2751,2895,2296,1648,1542,1777,1843,2193,2975,3095,2744,1948,2662,2452,1885,2259,3093,3460,3382,2749,2945,3548,3414,3838,3759,4236,4397,3474,3303,3476,3075,2230,2085,2609,2805,2939,2378,2164,2376,2408,2347,1982,2222,2151,2004,2534,2988,2989,2940,2589,2668,3193,2836,2116,1962,2198,2135,2358,2636,2406,2530,2531,2192,1938,1894,1663,1576,2001,2110,2337,2229,2154,2477,3073,3833,4240,4168,4107,4127,3604,2490,2578,2674,2330,1886,1676,1664,2062,2384,1804,1945,2813,3337,2946,2386,2004,1997,2733,2957,2920,3672,3931,3353,3260,3261,3018,3153,2964,2809,2634,2447,2220,2770,2720,2294,2062,2138,2210,2613,2554,2464,2979,3327,3316,3177,2808,2793,2586,2504,1974,2086,2944,2747,2074,2131,2100,1820,1870,2416,2529,2465,2843,3438,3040,3316,3625,2489,1709,1837,1976,2544,2754,3086,3344,3327,3312,3134,2706,2579,2752,3011,2742,2441,2360,2166,1881,1703,2232,2031,1617,1747,2330,2778,3107,3009,2828,2706,2370,2751,2796,2731,2723,2603,2041,1865,2308,2940,3230,3363,3519,3406,3124,2887,3082,3249,3385,3419,3488,3208,2252,2059,2312,2071,2104,2047,1995,2352,2262,2188,2248,2676,2386,2248,2824,3437,3685,4007,4012,4155,4308,4188,4006,2976,2308,3183,3286,2947,2282,3443,3570,2415,2207,2219,2072,2390,3154,3011,1925,1960,1818,1973,1588,1468,1506,1658,1844,1828,1945,2060,1841,1679,1448,1301,1211,1444,1423,1481,1544,1680,1622,1578,1773,1945,2046,2007,1846,1672,1564,1544,1528,1473,1468,1553,1657,1552,1542,1576,1533,1561,1605,1582,1516,1581,2067,1964,1648,1527,1603,1587,1601,1651,1633],[4256,3801,3641,3828,3481,3694,4147,4164,3896,3595,4057,3818,3522,3033,4792,7233,4846,3310,3267,2835,3207,2833,2530,2392,3000,2569,2484,2197,1737,1962,2446,2562,2452,2358,2241,2513,2386,2091,2752,3795,4260,4397,3820,3363,3641,3954,3996,3784,3033,2204,2158,3119,3234,3053,3012,3216,3273,3066,3002,3211,3106,2489,2256,2733,3106,3001,3105,3217,3458,3893,3753,3743,3877,3581,3106,3109,3475,3538,2119,1958,2513,2525,3616,3370,2092,1780,2024,2381,2236,1639,1791,2045,2098,2503,3250,3450,2907,2475,2155,2037,1936,2043,2272,2473,2668,3041,2929,2731,3583,3559,2561,2504,2993,2691,2136,1796,1799,2557,2968,3008,2986,2934,3011,2312,2364,2463,3178,3173,3327,2955,2684,2750,2698,2801,2930,3217,3477,3318,3550,4031,3777,3195,3041,3635,3670,3464,3500,2888,2411,2148,1971,1865,1816,1895,2625,3464,2941,2751,2752,2618,2643,2842,3248,3574,3238,3085,2998,2662,2387,2201,1732,1512,1688,1975,2199,1997,1731,2178,2262,1863,1961,1830,1782,1600,1816,1818,1758,2056,2512,2198,1808,1749,1723,2072,2837,3276,3104,3298,3714,4156,4100,3206,2411,2303,2614,3030,2954,3550,3373,2281,1842,2633,1888,1531,1997,2436,3167,2907,1854,1865,2353,2368,2401,2750,2800,2552,2519,2376,2337,2128,2104,2450,2263,1808,1553,1670,1819,2085,2112,2032,2536,2207,2320,2524,2228,2040,1966,1539,1776,2260,2425,1972,1625,1760,1885,1583,1756,2232,2507,2204,2315,2520,2088,1745,2082,1917,2719,3134,2669,2587,1927,1460,1892,3053,3583,3147,3213,3483,4165,4213,3897,2253,2846,3000,2568,2396,2312,2313,2471,2584,2372,2165,2926,3106,3215,3330,3417,3201,3144,3595,3633,3149,3494,3498,2471,1956,2014,2522,3128,3275,2894,2435,2121,1978,2901,2979,2689,2461,2081,2541,3212,3192,3085,3763,4069,4005,3851,3970,2224,2393,4089,4532,4475,4450,4356,4289,4007,3609,3649,3462,3150,3001,3210,3423,3192,2467,2289,2254,2057,1819,2232,3055,3153,3272,3060,3152,2994,2774,2702,2893,3330,3515,3265,2987,3043,3345,3327,3129,2365,2446,2707,2623,2443,2420,2448,2511,2600,2642,2658,2470,2602,2692,1613,1750,2214,1563,2188,2735,2360,2402,2200,1917,2227,2458,2425,2486,2903,2347,2159,2017,1764,1879,2213,2199,1928,1834,2521,2714,2357,2582,2281,1844,2076,2290,2120,1972,2490,3201,3252,2812,2686,2720,2701,2887,2647,2737,3082,3156,2850,2789,2699,1962,1876,1952,1603,1376,1359,1419,1337,1635,2062,2649,2512,1926,2145,2235,1513,1510,1709,1898,1980,1917,1836,1676,1635,1626,1693,2010,2141,2420,2557,2359,2820,3001,2996,2499,2383,2256,2254,1990,1637,1826,1931,1618,1787,2029,1942,1925,2085,2174,2500,2366,1874,1851,2045,2217,2272,2539,3156,3367,3248,2894,2111,1969,2005,2074,2166,2044,2010,2219,2198,1700,1475,1861,2912,3198,3381,2495,2235,2798,2778,2813,2566,2493,2411,2382,2300,1908,1804,2099,2464,2643,3016,3065,2670,2324,2146,2225,2864,3428,3460,3971,4038,3666,3378,3848,3419,2561,1998,2150,2586,3255,3761,3833,3438,2579,2807,2746,3086,2985,3078,3395,4112,4328,4057,3662,3642,3615,3235,2835,2503,2242,2536,2798,2642,2864,2908,3078,3024,2485,1817,1864,1989,1907,1929,2025,2310,2033,2229,2685,2939,3063,2585,1963,1910,2149,2277,2687,2996,2517,2352,2927,3183,2426,2846,2767,2018,2742,2989,3137,3558,3794,3436,2858,2923,1989,2025,2296,1998,2474,2536,2524,2050,1701,1777,1791,2034,2023,2053,2051,2063,1534,2033,2813,2565,2382,2667,2542,2556,2577,2088,2304,3083,2391,1747,1693,2481,2954,2941,2899,3132,3271,3222,3181,3264,3272,3044,2914,3429,3322,3242,3538,3702,3930,4050,3806,3601,3653,3586,3461,3522,3628,3640,3500,3616,3676,3561,3417,3347,3488,3506,3398,3529,3637,3516,3475,3577,3528,3467,3623,3798,3912,3819,3685,3561,3461,3396,3336,3341,3384,3427,3535,3576,3352,3013,3521,2761,1743,1693,1869,2003,2465,2958,3313,2788,1825,2066,2841,3129,2750,2223,2535,2641,2546,2556,2346,2104,2478,2700,3086,3253,2655,1842,1966,2220,2108,1974,2030,1694,1716,2009,1666,2031,1895,2679,3013,2658,2161,2663,2941,2604,2369,2569,2636,2460,2899,2865,2941,2260,2331,2656,2768,2707,3284,3896,3680,3075,2779,2574,3150,3632,3665,3504,3331,3300,3359,3435,3896,4195,4215,4192,4096,4154,4128,4011,4019,3890,3297,3120,3254,3566,3743,3742,3706,3588,3627,3527,3305,3589,3240,2320,2371,2584,2927,2551,2551,2943,2681,2263,2005,1934,2092,2220,2230,2380,2098,2319,3198,3555,2608,1776,1770,1815,2301,2654,2492,2150,2149,2754,2595,2547,2595,2508,2699,2907,2474,2460,2861,2699,2389,2604,2652,2719,2144,2127,1779,1693,1752,2172,1846,1782,1593,1267,1603,1876,1649,1600,1956,2488,2154,2083,2001,2025,1993,2088,2392,2677,2831,2924,2580,2330,3022,2916,2493,2388,2291,2189,2389,2381,2073,2156,2714,2522,2120,2131,2644,3087,3056,2474,2037,2355,2698,2317,1976,2007,2217,2547,1981,1673,1596,1893,2410,2607,2352,2486,2468,2593,2460,2200,2231,1794,1848,2010,1719,1588,2111,2635,3260,3724,3566,3838,3952,3853,3626,3555,3809,3605,3407,3486,3449,3197,2978,3028,2852,2441,2297,2689,2625,2208,2200,2543,2631,2647,3156,3625,2791,1998,1794,1612,1655,1766,1804,1736,1611,1826,1604,1655,2082,2578,2375,2374,2784,2669,2335,2114,1859,1593,1520,1433,1470,1727,2082,1802,1781,2087,2171,1952,1758,1510,1414,1451,1454,1465,1536,1601,1575,1576,1556,1562,1498,1426,1425,1365,1475,1651,1570,1680,1571,1581,1429,1478,1657,1723,1663,1736,1775,2135,2238,1892,1541,1556,1857,1907,1482,1456,1378,1365,1373,1512,1618,1726,2317,2543,1814,1608,1281,1606,1621,1677,1753,1523,1843,2119,1842,1458,1439,1366,1312,1535,1409,1534,1952,2332,2756,2769,3044,2950,2877,3265,3264,2763,2255,2231,1853,2261,2311,2436,2618,2939,2745,2054,1730,1738,1713,1614,2256,3145,3489,3611,2909,2484,2644,2314,1897,1986,1914,1939,2653,3167,2975,2928,3174,3462,3908,3646,2987,3356,3648,3514,3597,3960,4132,4020,3860,3631,3719,3105,2219,2421,3413,3727,3098,3069,3052,3258,3757,3873,3674,3489,3311,2597,1813,2443,3266,3218,2941,2888,2787,2542,2778,3441,3611,3593,3586,3574,3422,3140,2994,3155,3011,2230,2685,3304,3522,3783,3621,2994,2439,2488,2786,3110,3250,3559,3816,3745,3693,4141,3884,3072,2711,2678,2720,2634,2499,1706,1596,1610,2207,2112,2196,3250,3317,3056,2847,2714,3149,3956,4509,4732,4376,4125,3543,2695,2547,3400,4141,4049,4072,4243,4530,4305,4035,3846,2489,1960,1760,1621,1638,1609,1570,1645,1691,1708,1682,1647,1666,1691,1854,1929,2218,2335,2444,2496,2323,2162,2357,2442,2238,2008,1968,2335,3218,2939,2529,2677,3084,2902,2241,1912,1775,1959,2164,2637,2943,2692,2239,1783,1960,2648,2239,1924,1897,1991,2336,2231,2188,2287,2011,1711,1722,1852,2099,2078,2240,3059,3084,2665,3393,3464,3443,3885,3340,3331,3528,3615,3509,3975,3207,2403,2218,2244,2095,1676,1380,1533,1690,1659,1975,2220,1748,2388,2868,2735,2330,1823,1838,2065,2003,1896,2249,2234,2543,2315,2135,2597,2351,1762,1605,1613,1703,2097,2237,1892,1844,1866,1901,1709,1636,1531,1603,1615,1440,1628,1604,1632,2336,2231,2272,2128,1939,2536,2539,2820,2898,2675,2766,2657,2445,2626,2684,2552,2721,3283,2518,1851,2102,1718,2708,2721,2239,2396,2514,2565,2357,2052,2098,1666,1969,2288,2398,2928,3500,3996,4051,3445,2941,2618,2576,2369,1828,2369,2408,2637,2784,2532,2172,1669,1981,2873,2639,2170,2410,2077,2266,2671,2959,2527,1998,1776,1650,1628,1831,1677,1623,1812,2610,3377,3002,2824,2492,2449,2415,2188,1774,2756,2596,1980,2342,2589,2396,2526,2578,2690,2712,2069,1561,1756,2001,2104,2744,2652,2262,2244,2019,2321,2244,2161,2193,2282,2441,1934,2487,2813,2003,1790,1930,2200,2323,2198,2366,2357,2248,2604,2342,2654,2345,1986,2047,2358,2918,2958,2190,1945,1918,2030,2000,2177,2390,2291,2190,1990,2359,2084,2023,3042,3677,3754,3886,3239,3295,3499,3559,4314,4456,4107,4288,3979,3749,4018,3666,3178,2678,2589,2842,2898,2087,1874,2056,2240,2303,2093,1974,1838,1958,2500,3322,3432,3545,3225,3015,2921,3053,2480,2526,2554,2097,2238,2595,2602,2510,2418,2415,2449,2402,2094,2236,2547,2655,2624,2164,2155,2711,3631,4140,4236,4029,3778,4013,3465,2377,2698,2801,2253,1811,1686,1657,1656,1530,1732,2060,3129,3437,2568,2466,2264,2881,3028,2731,3065,3888,3793,3008,2769,3090,3044,3076,2563,2641,2677,2362,2220,2486,2428,2076,1967,2453,2596,2908,2969,2957,3081,3415,3400,2965,2720,2851,2766,2759,2049,1570,2193,2085,2101,1829,1975,2246,2298,2437,2589,2758,3476,4284,4176,3863,3554,2546,1746,1718,2048,2471,2623,3433,3531,3250,3085,2588,1931,1922,2432,2684,2664,2450,2082,1931,1662,2056,1906,1767,1676,1959,2584,2824,3117,2917,2599,2664,2697,2801,2954,2475,2190,2193,2282,2384,2337,2687,2986,3071,3131,3103,2355,2519,2631,2870,3286,3593,3522,2807,2172,2408,2534,2159,2055,1687,1662,1947,1759,1941,2359,3308,3264,2689,3305,3295,3349,3763,3838,3897,4216,4147,4007,3129,2770,3010,2685,2067,2101,2996,3210,3264,2954,2548,1980,2129,2869,2521,2015,1921,2077,1992,1719,1650,1475,1576,1811,1887,1863,2187,2398,1903,1775,1549,1347,1437,1582,1615,1598,1690,1748,1883,2040,2024,1852,1643,1475,1475,1530,1551,1512,1505,1445,1550,1643,1514,1582,1636,1652,1642,1648,1648,1534,1398,1762,1898,1780,1899,1727,1551,1662,1715,1497],[3867,3846,3377,3624,3579,3571,3427,3488,3442,3189,3044,2416,2355,2664,1982,2152,3168,2806,2374,2679,3646,3206,2363,2730,3013,2765,2972,2474,2390,2865,3006,2794,2850,2261,2257,2652,2717,2367,3060,3790,3913,4113,3867,3364,3607,3913,3962,3591,2583,2198,2324,2546,2758,2943,3207,3156,2695,2474,2620,2833,3292,3221,2844,2865,2665,2621,3017,3219,3472,4090,3851,2874,3052,3593,2941,2940,2922,2753,1959,2203,3062,3190,3882,3452,2432,2145,2480,2654,2276,2448,2592,2309,2819,2562,3150,3448,2666,2298,2597,2313,1736,1714,1964,2790,3398,3562,3406,2662,2764,2966,2566,1862,2754,2765,2077,2312,2598,2850,2852,2863,3065,2935,2588,2211,2238,2731,3331,3404,3794,3513,2795,2579,2641,2638,2844,3344,3463,3307,3388,3732,3340,3161,3494,3769,3616,3383,3273,2749,2745,2681,2592,2469,2460,2364,2924,3611,3108,2487,2641,2922,2894,2756,2969,3326,3021,2843,2839,2653,2575,2020,1687,1795,1847,2043,2141,1937,1843,2331,2248,2083,1939,1859,1878,1808,1843,1772,1664,2126,2374,2105,2348,2050,1585,1770,2697,2845,2649,3240,4112,4156,3804,3282,3002,2379,2085,2678,2744,2767,2975,1976,2442,2577,1715,1627,2104,2397,2722,2885,2558,1765,1749,1954,2578,2930,2787,2529,2823,2482,1627,1858,2404,2229,2336,2280,1575,1634,1697,1923,2462,2188,1797,1856,1944,2296,2364,1979,1709,1585,2092,2018,2500,2472,1932,1475,1718,1819,1663,2286,2670,2106,2646,2758,2411,2091,2022,1913,2221,2341,2476,2535,1647,1214,1668,2873,3396,3162,3217,3142,3904,4059,3458,2227,2209,2370,2469,2546,2423,2202,2276,2030,2166,2041,2392,2889,3075,3158,3781,4127,3074,2784,3543,3242,3111,3506,3562,3099,2492,2778,2998,2779,2933,2749,2272,2176,3032,3488,3276,3041,2822,3006,3186,2911,3274,3963,4025,3653,3614,3363,2062,2318,4160,4390,4343,4406,4326,4035,3732,3469,3519,3474,3295,3152,2874,2850,2843,2480,2098,2058,1832,1680,2646,3067,2906,2745,2916,3190,3094,2922,2662,2539,2931,3561,3606,3334,3084,3019,3198,3109,2523,2601,2791,2696,2579,2442,2297,2263,2409,2561,2564,2459,2507,2555,2056,2489,2874,2457,2249,2263,2403,2401,2658,2067,2013,2912,3384,3541,3517,2933,2336,2335,2589,2552,2358,2055,2055,1963,2853,3310,2579,2533,2354,2097,2009,1930,2073,2357,2852,3120,2464,2365,2404,2399,2352,2537,2490,2689,2986,3116,2864,2647,2556,1930,1892,1817,1682,1500,1193,1244,1456,1689,1902,2375,2511,1836,2021,1996,1646,1821,2315,2570,2256,1951,1860,1909,1840,1796,1843,1920,2081,2435,2004,2005,2036,2344,2414,2713,2436,1958,2107,2289,2103,2306,2379,1958,2034,2498,2688,2353,2081,2138,2501,2275,2244,2445,2654,2723,2665,2929,3038,2856,2990,2545,1985,1967,1748,2533,2566,1935,1672,1791,2031,1794,1553,1874,2132,2051,2456,2509,2788,2912,2725,2525,2407,2478,2326,1938,2067,1915,2198,2113,2757,2922,3111,2639,2342,2118,1777,1748,2436,3088,2602,3175,3735,3855,3286,3185,2624,2120,2042,2204,2974,3964,3930,3680,3711,3150,2723,2604,2938,2651,2619,2964,3526,4128,3870,3233,3970,3965,3002,2081,2046,2730,2942,2917,3182,3727,3592,2843,1944,1438,1239,1999,1933,1590,1708,2027,2137,1761,1823,2004,2128,2127,2091,2076,1810,2030,2336,2829,2979,2972,2630,2732,2706,2483,2821,2530,2452,2769,2740,3557,3683,3706,3284,2713,2791,2193,2818,2856,2196,2398,2272,2064,2073,1873,2144,2128,2092,2136,2388,2529,2413,1847,2198,2868,2780,2662,2689,2645,2811,3103,3561,3855,3647,2399,1843,1571,1784,2246,2756,3160,3171,3271,3301,3252,3186,3150,3002,3074,3410,3378,3404,3449,3628,4046,4227,4019,3710,3551,3586,3763,3696,3816,3650,3491,3609,3579,3416,3342,3372,3458,3444,3416,3349,3400,3286,3315,3558,3608,3545,3561,3640,3709,3704,3583,3441,3486,3529,3528,3522,3459,3499,3572,3647,3557,3583,3349,2547,2109,2198,1953,1801,2662,2472,2372,2036,1773,2292,2684,2933,2764,2768,3401,3322,3218,3073,2498,2259,2579,2898,2844,2946,2780,2257,1823,2119,2437,2062,2347,2010,2121,2348,2316,2632,2120,2622,2636,2326,2432,2504,2393,2313,2810,3082,2744,2642,2598,2369,2504,2444,2333,2302,2602,2755,3065,3308,2963,2729,2300,2228,3636,3629,3567,3443,3269,3272,3260,3168,3585,4308,4319,4404,4257,4086,4019,3992,4092,3780,3526,3084,2734,2888,3265,3606,3739,3652,3638,3500,3255,3694,3086,2330,2470,2458,2509,2394,2654,2792,2400,2344,3296,4888,2521,1981,3000,3136,2636,2732,3164,3122,2605,1936,1837,1920,2338,2763,2686,2186,2500,2787,2514,2438,2403,2336,2766,2832,2506,2701,2953,2998,2702,2850,2701,2430,2154,1880,1404,1649,2206,2154,1865,1997,1562,1505,2314,2499,2183,1738,1957,2266,2029,2130,2365,2696,2512,2364,2474,2717,2830,2720,2126,1806,2183,2908,2586,1828,1795,2240,2417,2109,2000,1945,2028,1919,1796,1943,2120,2934,3154,2896,2389,2425,2600,2032,1809,1877,2256,2888,2040,1620,1630,2050,2177,2034,1995,2010,1994,1822,1693,1870,2205,1725,1590,1831,2029,1899,2142,2347,2746,3036,3386,3731,3897,3939,3475,3145,3431,3461,3330,3292,2872,2779,3204,3437,3382,2784,2580,2688,2436,2489,2774,2787,2692,2953,3602,3229,2024,1935,1966,1646,1841,2153,1958,1925,1559,1986,1868,1581,1780,2417,2610,2819,2939,2689,2039,2115,1970,1520,1483,1650,1616,2057,2074,1718,1743,1855,1761,1873,1843,1426,1323,1387,1366,1302,1521,1524,1555,1616,1538,1466,1389,1313,1332,1369,1569,2093,1783,1792,1536,1498,1479,1692,1947,1832,1721,1637,1498,1614,1735,2051,1996,1642,2060,2024,1702,1614,1696,1668,1476,1434,1508,1606,1931,2296,1636,1598,1619,1907,1588,1483,1548,1546,1659,1628,1437,1454,1451,1398,1704,1957,1833,2224,2266,2504,3005,3051,3279,2861,2524,3240,2790,2390,2379,2370,1974,2377,2271,2253,1953,2358,2627,2171,1952,2002,1688,1748,2338,3029,3566,3605,2919,2735,2621,2331,2094,1932,1856,2052,2801,2928,2863,2832,3177,3233,3361,3592,3513,3577,3642,3418,3860,4335,3880,3226,3742,3986,3852,3096,3297,3880,4205,4108,3605,3232,3095,3222,3657,4072,4252,4157,3753,3706,2751,2710,3275,3294,3067,2971,2954,2803,2876,3272,3639,3405,2568,3234,4125,3864,3525,3422,2521,1852,2727,3702,4121,4082,3093,2340,1995,2044,2475,2501,2827,3405,3637,3570,3704,4124,3814,3196,2927,3009,2986,2836,2658,1891,1637,1497,1743,1757,2307,3339,3332,3138,2729,2580,2878,3304,3782,4245,3961,3596,3145,2630,2457,3053,4084,4275,4345,4276,4343,3964,3805,3331,2257,1900,1771,1592,1532,1522,1579,1661,1717,1740,1759,1726,1724,1729,2040,2305,2201,2441,2546,2344,2585,2621,2322,2466,2500,2166,1998,2858,3308,2888,2787,2988,3001,2541,2065,1963,1945,2156,2080,2098,2117,2592,2678,2004,1842,2248,2495,2535,2293,2241,2120,1639,1753,1703,1764,1815,1809,1850,1898,2176,2555,3320,3276,3331,3540,2942,3198,4139,4030,3740,3531,3480,3803,3637,2858,2491,2334,2402,2039,1682,1402,1571,1789,1867,2079,2082,1768,1925,2320,2354,1958,1806,1850,1768,1825,1685,1800,2340,2616,2399,2126,2250,2156,1853,1606,1432,1637,2431,2864,2566,1864,1793,1752,1620,1892,1820,1708,1693,1715,1766,1483,1871,2484,1849,2019,2133,2096,2492,2501,2376,2512,2669,3332,3608,2366,2429,3137,2778,2692,2798,2356,1815,2107,1863,2336,2877,2576,2444,2730,2480,2385,2575,2634,2414,2448,2581,2514,2702,2909,3078,3492,3758,3626,3053,2354,2210,1704,2069,1686,1678,2248,2327,2104,2130,2460,2951,3078,2648,2587,2373,2887,2548,2369,2320,2534,2309,1781,1612,1567,1634,1659,1902,2842,3601,2906,2528,2342,2420,2459,2483,2652,2792,2388,2218,2563,2548,1831,1914,2752,3308,3231,2778,1979,1962,2182,2049,2231,2456,2484,2048,1720,2674,2391,2164,2060,2220,2476,2375,2602,2640,2318,2014,2050,1882,1547,1600,1771,1660,1654,2040,1792,2008,2272,2512,2688,2709,2543,2399,2230,2608,2104,2554,2298,2156,2018,1841,2010,2181,2514,2846,2694,3255,3732,3740,4020,3740,3752,3594,3564,4209,4533,4312,4444,4452,4187,3824,3752,3526,2806,2602,2578,2543,2004,1743,1929,1952,2276,2847,2830,2310,1841,1600,2880,3411,3521,3349,3016,2673,2984,2889,2653,2396,1964,2060,2505,2536,2446,2443,2663,2675,2624,2736,2745,2668,3078,2863,2297,2292,3007,3926,3977,4157,3763,3425,3659,3362,2567,2588,2666,2100,1543,1443,1859,2230,2035,2363,2018,2590,2915,2651,2172,2085,2807,2900,2280,2539,2940,2963,2198,2460,3090,3321,3297,2710,2777,2968,3085,2798,2097,1913,1848,2044,2402,2750,3573,2975,2942,3381,3146,2854,2415,2396,2896,2975,2481,1576,1597,1808,1832,2119,2032,2360,2600,2289,1996,2390,2713,3230,3841,3641,3225,3260,2651,1992,2027,2004,2252,2389,2967,3229,3071,2658,2163,1955,2876,2842,2499,2496,2259,2072,2336,2468,2387,2076,2054,1880,2137,2407,2487,2833,2346,2303,2996,2908,2621,2906,2575,2116,1842,1976,2098,1779,2165,2920,3217,3172,2997,2237,2653,2994,3015,2791,2843,2460,1803,1898,2376,2486,2303,2692,2464,2049,1570,1505,2492,2789,3353,3385,2657,3238,3131,3322,3561,3625,3460,3680,3902,3541,2749,2490,2543,2503,2336,2259,2449,3088,3496,3465,3083,2535,2943,2930,2199,1866,2298,2500,1901,1814,1714,1518,1471,1462,1652,1547,1931,2144,1869,1991,1669,1389,1450,1572,1502,1652,1810,1968,1915,1848,1688,1410,1444,1525,1551,1519,1408,1401,1393,1478,1686,1663,1519,1598,1648,1958,1839,1794,1843,1638,1431,1510,1669,1880,1835,1647,1762,1671,1592,1546],[3672,3662,3528,3667,3568,3529,3716,3593,3318,2779,2282,2264,2521,2767,2656,2974,3164,2631,2163,2545,3654,3549,2507,2833,2674,2794,3397,3167,3178,2967,2918,3124,3405,3321,3146,2830,3370,3739,4047,4007,3733,3680,3652,3360,3521,3938,4065,3772,2568,2575,2411,2163,2203,2546,3130,2890,2612,3204,3253,3211,3544,3243,2600,2433,2834,3121,3203,3430,3705,4121,4017,2891,2701,3514,3067,2889,3007,3420,3017,2886,3052,3244,3363,3165,3297,3533,3736,3431,2310,2102,2193,2277,2877,2421,2667,2850,2141,2026,2559,2477,2129,1691,1664,2768,3658,3636,3389,2675,2617,3044,2676,1611,1749,2486,2729,3106,2930,2617,2405,2508,2850,2684,2524,2498,2289,2850,3475,3862,4083,3594,2880,2654,2529,2472,2617,3392,3681,3417,3171,3724,4208,4049,3727,3776,3718,3450,2990,2953,2994,3090,3454,3256,3261,3441,3713,3671,3053,2625,2964,3056,2900,3247,3339,3181,3021,2993,2723,2630,2443,1969,1928,2036,1878,2102,2211,1918,2121,2522,2476,2162,1940,1870,1866,1789,1851,1841,1825,2272,2120,2335,2415,1861,1553,1781,2215,2380,2652,3337,3758,3798,3509,2779,2605,1723,1411,1996,2698,1991,1656,1653,2476,2573,2129,2136,2577,2430,2229,2584,3282,2923,2567,3033,3064,2850,2864,2660,2557,2225,1704,2228,2380,2196,2568,2125,1644,1646,1982,2480,2613,2157,2093,2237,2216,2365,2585,2214,1643,1715,2083,2272,2536,2489,2183,1787,1845,2188,1954,1874,2077,2305,2559,2812,2854,2689,2338,2017,2316,2413,2373,2177,1598,1706,2030,3118,3387,3416,3537,3370,3705,4061,3397,2321,1947,2229,2669,2720,2486,2002,1911,1659,1686,2156,2356,3096,3588,3453,3740,3913,3366,3242,3561,3282,2897,3250,3286,2723,2485,2356,1709,2099,2708,2692,2670,2921,3830,4340,4341,4034,3552,3934,4016,3983,3911,4000,3757,3329,3589,3608,3090,2901,3717,4184,4190,4265,4304,4003,3599,3474,3500,3485,3371,3050,2556,2422,2473,2603,2690,2523,2141,2456,2952,2851,2739,2491,2812,3401,3384,3209,2943,2668,2907,3309,3317,3295,2959,2826,3134,3233,3068,2738,2459,2512,2603,2412,2298,2297,2366,2471,2348,2301,2496,2604,2525,2963,3334,2894,2204,2175,2154,1996,2460,2082,2487,3003,2947,3209,3508,3019,2568,2840,3251,2798,2364,2603,3185,2940,2584,2437,2121,1984,2051,1992,1724,1649,1857,2292,2414,2270,2231,2432,2391,2323,2195,2168,2337,2675,2732,2779,2834,2921,2706,2033,1716,1852,1917,1808,2001,2056,1838,1764,1662,2196,2525,2056,2357,2060,1976,2306,2227,2177,2280,1869,2193,2264,1716,1917,1786,1777,2253,1996,1574,1820,1905,2384,3099,2956,2453,1940,1818,2216,2316,2452,2618,1973,2104,2312,2378,2253,1833,1808,1889,2026,2319,2485,2911,2811,2624,2851,2561,1961,1921,1946,1940,1659,1868,2290,1919,1717,1907,2184,2400,1839,1643,1839,1837,1660,1650,2288,2967,2736,2385,2499,2325,2018,1802,1795,2194,2501,2910,2463,2965,3310,3232,2975,2437,2095,1854,1578,1550,2338,2430,2520,3206,3704,3566,3116,2523,2381,2301,2107,2998,4027,3544,3341,3785,3352,2249,2367,2779,2852,2842,2884,3242,3270,2908,2730,4132,4161,3219,1996,2229,2820,3021,2953,3603,3985,3224,2187,2171,2001,1870,2526,2423,1962,1558,1597,1824,1909,1993,2094,1995,1416,1788,2127,1432,1783,2998,3246,2989,2973,2629,2746,2705,2538,2711,2741,2925,3116,3343,3974,3470,3366,2687,2361,2361,2343,2808,2720,2161,1827,1707,1928,2338,2163,2164,2198,2062,2274,2798,2665,2290,1909,1758,2181,2602,2780,2812,2804,3068,3403,3964,4177,3472,2342,2032,1891,1649,1853,2599,3375,3352,3352,3116,3097,3100,3089,2987,3074,3178,3293,3385,3227,3349,3604,3752,3912,3836,3697,3940,4013,3868,3745,3632,3650,3728,3640,3360,3359,3538,3371,3342,3348,3342,3369,3287,3403,3631,3684,3614,3535,3574,3626,3607,3452,3385,3529,3622,3592,3594,3468,3420,3419,3439,3583,3413,2774,2735,3076,3094,2143,1889,2890,2882,2687,2341,1928,2304,2986,3305,3171,3106,3323,2873,3119,2913,2309,2205,2283,2813,2820,2523,2399,2166,2202,2267,2577,2316,2476,2048,1942,2232,2386,2511,2095,1821,1822,2060,2358,2277,2216,2163,2474,2415,2816,2848,3108,2845,2266,2259,2189,2341,2573,2633,2589,2265,2206,2275,1851,2106,3222,3625,3374,3128,2997,2980,3169,2890,2964,4200,4307,4428,4254,4012,3970,3940,4026,3614,3480,3356,2999,2890,2878,3065,3374,3444,3393,3159,3473,3609,2799,2396,2554,2714,2635,2612,3128,3486,2922,2742,3784,4894,2625,1824,2725,3078,3001,3440,2707,1703,1762,1931,2099,1784,1956,3033,2895,2653,2754,2712,2809,2592,2122,2630,3046,2844,2917,3192,2951,2802,2589,2631,2909,2604,2066,1665,1583,1821,1987,1697,2147,3066,2879,1986,2302,2244,1896,1262,1289,1655,1933,2448,2788,2585,2051,2684,3055,2972,2827,2387,2053,1900,2278,3485,3293,2066,1872,2801,2925,2067,2298,2279,2093,1941,1740,1747,1757,2432,2788,2199,1593,1852,2296,2255,2125,1749,1885,2360,2050,1783,1620,1858,1823,1923,2010,1736,1582,1507,1539,1880,2117,1941,1786,1512,1644,1820,1624,1985,2446,2477,3020,3426,3436,3820,3743,3563,3089,2814,2749,2563,2667,3305,3545,3438,3203,2644,2580,2404,2262,2834,3091,2840,2169,2352,2955,2274,1615,1810,1750,1865,2849,3531,2849,2010,1410,1517,1722,1587,1515,1771,2238,2534,2610,2126,2136,2557,2082,1966,2305,2314,2250,2386,1941,1521,1694,1820,1783,1788,1686,1635,1589,1457,1437,1632,1744,1584,1567,1780,1805,1541,1597,1527,1544,1556,1663,2420,2055,1565,1475,1413,1306,1421,1585,1980,2770,2592,1864,1643,1697,2049,2497,2491,2175,1870,1653,1566,1810,2053,2022,1752,1685,1758,1692,1716,1730,1756,1666,1659,1390,1356,1581,1741,2016,1718,1495,1575,1770,1653,1600,1878,2022,2249,2226,2910,3117,2634,3032,2988,2862,3327,2735,2004,2006,1803,1936,1887,1608,1910,1872,1979,2271,2334,2071,2161,2013,1947,2388,2890,3426,3500,2921,2463,2341,2360,2231,2049,1970,2052,2279,2411,2811,3084,3422,3608,3560,3605,3640,3593,2999,2646,4037,4198,2585,2111,3219,4220,4168,3399,3572,4248,4541,4539,4115,3399,3333,3177,3443,4256,4628,4541,4544,4472,3416,2755,3099,3407,3394,3259,3131,3068,3098,3132,3768,3538,2131,2953,4031,3768,3376,3195,2763,2554,2912,3653,4008,3408,2483,2191,2158,2564,2939,2737,2770,3033,3291,3312,3395,3847,3429,3273,3020,3095,3122,2934,2557,1892,1647,1688,1609,1749,2304,2639,3150,3008,2690,2764,2886,2716,2871,3491,3793,3539,3088,2867,2744,2986,4062,4299,4256,4019,3975,4047,4073,3173,2065,1905,1774,1615,1554,1569,1637,1659,1652,1690,1761,1742,1740,1760,2451,2446,1999,2853,3359,2871,2373,2553,2744,2335,2236,2396,2319,2288,2458,2692,3002,3218,2677,2105,1985,2009,2075,2164,1988,1634,1848,2693,2605,2167,2156,2264,2323,2542,2343,1923,1932,1899,2466,2125,1925,1774,1847,2059,2188,2127,2524,3460,3495,3486,2646,3189,3624,3814,3697,3364,3191,3119,3286,3165,3059,2945,2536,2400,1854,1642,1526,1655,2012,1927,1691,1758,1830,1768,1707,1997,2265,2312,2259,1693,1667,1504,1721,2253,2437,2566,2699,2662,2341,1889,1723,1533,1775,2374,2534,2482,1985,1648,1538,1548,1763,1731,1643,1782,1984,1831,1596,2230,2261,2110,2289,2047,1939,2426,2508,2188,2756,3665,4265,3960,2136,1967,2648,2275,2447,2001,1920,2053,2241,2089,1798,1841,1968,2314,2423,2239,2007,2342,2554,2867,3422,3620,2951,2733,2764,2390,2721,3195,3292,2998,2463,2140,1802,1638,1649,2046,2423,2498,2340,2238,2756,3283,3253,2521,2800,3522,3378,2143,1549,1913,2767,2706,2263,1925,1830,2057,1705,1740,2791,3496,2940,2884,2931,2586,2513,2563,2557,2531,2166,2178,2231,2086,1686,2279,2936,3174,3064,2776,2450,2256,2053,1975,1763,1932,2261,1866,1668,2305,2362,2036,1857,1867,2096,2208,2315,2513,2365,2073,1909,1873,1689,1628,1622,1555,1589,2036,2030,1775,1981,2220,2509,2796,2757,2811,2536,2527,1955,2661,2521,2248,2304,2238,2291,2674,3652,3718,3628,3776,3652,3411,3499,3327,3462,3553,3604,4148,4556,4616,4497,4441,4383,4536,4340,3914,3932,3394,2636,2641,2376,1896,1764,2070,2813,3484,3846,3196,2454,1415,2084,3064,3178,2956,2794,2809,3041,2844,2216,2003,1616,1717,2191,2363,2357,2465,2802,2752,2494,2876,2930,2451,2482,2558,2825,2088,2507,3041,3596,3855,3661,3521,3644,3750,3317,2994,2928,2089,1433,1421,2203,2110,2719,2719,1952,1838,2079,2420,2028,1813,2844,3072,2679,2563,2430,2296,2403,2382,2712,2940,2976,3079,3124,3088,3217,2940,2306,2039,2004,2366,2537,2755,2629,2197,2657,3244,2966,2599,2576,2546,2639,2917,2448,2067,2275,2080,2315,2309,2647,2580,2448,2235,1928,2177,2314,2971,3121,2673,3107,3109,2721,2390,2108,2058,1959,2207,2884,2885,2677,2118,1832,2576,2468,2166,2209,2547,2472,2488,3124,3038,2319,2181,2162,1836,1741,2048,2091,2244,2455,3086,3334,2724,2242,2451,2471,1998,1582,1601,1547,1609,2094,3178,3351,3421,3276,3043,3090,3271,2791,2092,1979,1644,1663,2302,2415,2519,2416,2453,2625,2222,1545,1944,2962,2938,2564,2775,2243,3205,3817,3837,3316,3232,3023,2939,3326,3029,2350,2532,2747,2794,2666,2642,2854,3317,3286,2897,2729,2667,2779,2522,2001,2082,2803,2755,1938,1663,1617,1620,1670,1836,1857,1470,1758,1939,2119,2100,1591,1524,1537,1684,1615,1732,1839,1856,1665,1594,1433,1351,1557,1451,1143,1283,1534,1947,1603,1710,1874,1640,1703,1722,1667,1715,1631,1694,1826,1661,1455,1582,2142,2495,2187,1876,2185,1726,1497,1567],[3786,3749,3726,3725,3609,3760,3768,3405,2874,2249,2316,2721,2776,2989,2987,2955,3097,2953,2812,2963,3698,3266,2829,3123,2596,2617,2968,3011,2658,2552,2643,3606,3838,3313,2222,2349,3642,4631,4371,3747,3401,3398,3452,3432,3660,4011,3995,3640,2669,2458,2300,1912,2025,2823,3235,2842,2762,3584,3642,3626,3539,2948,2622,2608,3212,3764,3618,3630,3620,3760,3752,3028,2721,2933,3272,3507,3605,3784,3960,3941,3790,3710,3586,3651,3848,3763,3688,3508,2420,2388,2560,2459,2729,2401,2310,2412,2103,1887,2335,2542,2202,1748,1788,2150,3248,3431,2886,2652,2768,3010,2946,2266,2278,2434,2464,3028,2941,2484,2608,2819,2774,2646,2464,2165,2073,2507,3000,3584,3538,2955,2651,2517,2269,2333,2702,3218,3460,3303,3150,3298,3972,3982,3339,3315,3043,2541,2530,2565,2727,3185,3498,3470,3640,3947,4075,3695,3171,2739,2598,2402,3103,3911,3790,3382,3341,3441,2800,2238,2070,1897,1907,1932,1428,1575,1648,1881,2592,2931,2316,1747,1755,1771,1921,1857,1927,2010,2042,2379,1988,1876,2030,1705,1589,2071,2236,2201,2199,2304,3348,3858,3277,2598,2143,1605,1377,1709,2267,2242,1940,1743,2066,3090,3030,2510,2490,2301,2295,2404,2786,2855,2995,3089,2842,2928,3032,2768,2899,2359,1836,2120,2652,2632,2822,2199,2000,2134,2350,2585,2754,2474,2490,2584,2427,1887,2213,2540,1854,1753,1874,2378,2741,2535,2206,2056,1916,2128,1837,1696,2258,2173,2119,2712,3042,2971,2497,2272,2747,2770,2476,2235,1987,2034,2360,3205,3334,3433,3446,3312,3662,3674,2958,2475,2588,3012,3153,3337,2799,1957,1666,1485,1467,2022,2302,2939,3573,3476,3461,3241,3266,3393,3303,3585,3106,2867,2998,2766,2776,2817,2538,2590,2814,2743,2999,3315,4079,4464,4636,4091,3902,4460,4507,4168,3745,3805,3698,3415,3738,3819,3775,3608,3219,3181,3908,4059,4132,3740,2972,2932,3322,3479,3238,2704,2459,2468,2416,2519,2662,2419,2343,2314,2196,2846,3378,3111,3154,3572,3440,3280,3051,3051,3042,3251,3436,3366,3177,3293,3392,3350,3291,2701,2437,2437,2675,2547,2486,2492,2396,2348,2364,2349,2468,2520,2501,2878,3098,3038,2665,2275,2118,2092,2226,2024,1832,1619,1656,2456,2799,2868,3177,2978,3017,2563,2472,2602,3297,3198,2172,1791,1976,1925,1879,1751,1508,1543,1721,2040,2154,2176,2283,2086,2172,2148,2070,2190,2253,2555,2602,2621,2806,3046,2754,2210,2228,2596,2441,1760,1672,1870,1942,1880,1612,2115,2678,2546,2381,2661,2916,2796,2155,2144,2149,1955,2495,2071,1764,1989,1994,2377,2674,2176,1690,1525,1862,2500,2366,2045,2260,2486,2056,2577,2783,2787,2991,2273,2092,1927,1936,2279,2184,1803,1689,1976,2420,2665,3060,2868,2778,2563,2194,1836,1681,1918,1877,1509,1722,1666,1598,1818,2078,2100,1981,1636,1597,1720,1773,1674,1638,1965,2283,2062,2018,2258,2246,2101,1889,1815,1978,2140,2787,3144,3338,3337,2909,2161,2166,2253,1900,1653,1572,1965,2922,2632,2736,3519,3261,2404,2754,2778,3016,2843,3216,3875,3225,3170,4026,3366,2293,2380,2533,2856,3106,3117,3061,2562,3018,3443,3616,3498,2604,2103,2425,2512,2768,3106,3392,3806,3256,2087,2022,2190,2517,2958,3331,2673,1776,1581,1647,1970,2062,1607,1278,1453,2470,2271,2202,2057,3134,3397,3188,2802,2410,2624,2909,2922,3106,3046,3188,3618,3916,4042,3968,3572,2987,2783,2540,2442,2272,2224,2374,2208,2209,2081,2101,2053,2242,2424,2402,2666,3068,2506,2200,2274,2030,2121,2322,2689,3088,3195,3319,3623,3815,3559,2724,2127,2152,1971,1722,1713,2136,3212,3436,3162,2980,3009,2998,2939,2923,3008,3090,2989,3057,3200,3366,3264,3242,3677,4000,4029,3824,3753,3926,3890,3908,3923,3937,3843,3500,3319,3277,3275,3245,3242,3370,3373,3320,3399,3500,3564,3592,3561,3562,3458,3310,3316,3348,3461,3452,3527,3613,3412,3300,3353,3470,3727,3626,3163,2392,3088,2868,2072,2178,3051,3320,3304,3190,2656,2728,3365,3238,2961,2700,2750,2395,2631,2497,2162,2072,2407,2836,2221,1687,2136,2173,2031,2026,2349,2258,1931,1766,1827,1929,1913,1891,1814,1628,1637,2095,2370,2220,2381,2770,2347,2092,3216,3168,2940,2454,2044,2066,1768,2558,2736,2530,2700,2565,2567,2543,2690,2664,2694,3060,3197,2966,3007,3145,3234,3087,3329,4208,4312,4396,4312,4232,4107,3907,3801,3530,3245,2973,2878,3281,3175,2864,2539,2806,3139,2950,3378,3187,2369,2178,2250,2322,2353,2387,2708,3198,3295,3204,3580,3270,2293,1972,2548,3444,4288,4220,3105,2052,1906,2247,2019,1565,1692,2658,2929,2754,2277,2113,2462,2391,2115,2976,2911,2691,2941,3142,2919,2906,3132,3130,3186,2742,2196,2092,1725,1681,1731,1786,2041,3560,3797,2790,2952,3002,2051,1004,912,1011,1557,2714,2942,2951,2407,2844,3040,2953,2723,2519,2315,2360,2990,3538,3790,2843,1958,1940,1980,2425,2862,2388,2088,1869,1853,1924,1600,1725,2204,2512,2729,2566,2155,1960,2012,2141,2174,2065,1857,1790,1682,1718,1752,1697,1644,1489,1631,1919,1994,2478,2484,2496,2449,1676,1517,1619,1813,2295,2468,2352,2408,3020,3426,3740,3762,3815,3293,3140,3185,2714,2677,3481,3382,3221,2902,2641,2625,2686,2718,3167,2861,2310,2069,2281,2608,2602,2076,1601,1781,2674,3751,3815,3269,2104,1638,1698,2139,1976,1282,1224,1648,1932,2248,1968,2060,2120,1963,2207,2633,2919,2911,2639,1838,1605,1583,1760,1819,1952,1620,2210,2008,1598,1505,1983,2010,1482,1376,1632,1726,1447,1533,1412,1405,1643,1790,1940,1820,1606,1381,1309,1328,1559,1812,2458,3516,3366,2519,1835,1726,1808,2217,2500,2159,1623,1563,1622,1680,1937,1895,1876,2057,1929,1503,1438,1694,1866,1772,1746,1907,2084,2131,2231,2002,1716,1826,1616,1937,2128,1845,1774,2314,2523,2191,2302,2370,2390,2742,2541,2723,2766,2974,2840,2346,1864,1986,1774,1567,1755,1882,1917,1751,2183,2458,2501,2443,2314,2545,2864,2908,2448,1858,1617,1918,2397,2449,2521,2441,2524,2603,3244,3655,3420,3585,3684,3280,3288,3220,2739,2478,2808,3851,3509,2087,1626,2240,2931,3420,3737,3919,4400,4493,4445,4153,3949,3827,3834,4139,4729,4761,4424,4276,4255,3776,2976,3038,3563,3651,3730,3363,3286,3416,3386,3903,3894,3209,3603,4153,3902,3509,3199,2905,2548,2370,3050,3847,3795,3565,3287,3071,3278,3312,2806,2705,3351,3175,3121,3078,3352,3408,3404,3138,3055,3061,2910,2480,1859,1740,1745,1807,2396,3117,2654,2301,2416,2717,3104,3251,3094,3128,3296,3389,3482,3220,3008,2972,3062,3820,4048,3783,3373,3853,4363,4188,3060,1981,1848,1766,1621,1617,1658,1721,1722,1689,1721,1802,1796,1829,1889,2194,2632,3408,3632,3362,3452,3393,2742,2453,2611,2481,2330,2391,2373,2321,2874,3086,2719,2265,2036,1727,1755,1926,2111,1970,1658,1904,2003,1641,1858,2518,2980,2437,2492,1978,1687,1764,2030,2210,1945,1902,1844,1772,2050,2414,2399,2434,3295,3039,3278,2717,3017,3138,3193,3327,3222,2976,3003,3074,3033,3119,2690,2447,2244,2100,2288,1987,1799,1996,2066,1827,1434,1604,1570,2173,3190,2742,2380,2325,1806,1669,1476,1693,2248,2478,2410,2305,2192,2181,1869,1925,1693,1901,2082,2043,1902,1649,1824,1814,1708,1997,2104,1744,1864,2263,2180,2508,3056,3238,3275,2621,1998,1953,2410,2502,2238,2679,3809,4050,3648,2367,2445,2403,1885,2056,1924,1844,1982,2219,2052,1696,1958,1670,2260,2404,2275,1700,2281,3035,3687,4221,4121,3913,3738,3219,2434,2369,2821,2977,2764,2829,2543,1976,1697,1776,2273,2818,2688,2497,2678,3101,3103,2577,2361,3071,3814,3348,2282,1904,2274,2244,2056,1703,1517,2215,2097,1577,1880,2502,2697,2768,2792,2161,1988,2601,2708,2214,1954,1928,2094,1848,1744,1958,2864,3093,2910,2708,2402,2376,2692,2407,2089,1581,1666,1810,1543,1721,1847,2120,2588,2448,2270,2104,1817,2177,2464,2728,2776,2409,2298,2070,1828,1730,1512,1631,2170,2220,1831,1692,2037,2342,2564,2968,2482,2232,1844,2104,2875,2418,2103,2269,2546,2719,2890,3585,3340,3287,3426,3454,3375,3033,2934,3153,3320,3460,3739,4093,3804,3228,3591,4220,4283,4091,3460,3618,3430,2697,2647,2289,2274,2272,2640,2984,3237,3671,3606,3088,1668,1747,2463,2525,2648,2631,2546,2722,2568,2166,1945,1748,1817,2072,2508,2814,2746,2570,2383,2357,2339,1815,1744,1559,1708,2658,2163,2114,2901,3638,3697,3834,3876,3751,3733,3299,3016,2950,2822,2044,1796,2439,2250,2351,2312,2244,2255,2106,1990,1884,1772,2696,3118,2846,2466,2589,1953,1620,2241,2815,2805,3078,3252,3098,3116,3106,2811,2373,2076,2359,2642,2648,2265,1991,2363,2456,2308,2242,1954,2133,2230,2332,2314,2283,2148,1914,2646,2465,2188,2730,2451,2469,2413,2063,2254,2240,2858,3066,2965,3019,2905,2663,2140,1996,2074,1515,1698,2974,2568,2053,2188,2565,2974,2165,1542,1690,2160,2524,3228,3925,3308,2438,2416,2207,1976,1716,2731,2678,2470,2682,2575,2488,2302,1895,2004,1727,1506,1445,1454,1525,1817,2411,3067,3032,3175,3330,3364,3311,2741,2097,1630,1619,1516,2102,2410,2488,2951,2809,2375,2009,1818,2208,2394,2778,3306,2260,2349,2651,3398,3969,4108,3839,3676,3174,2637,2938,2961,2364,2942,3211,3024,2685,2820,3129,3108,3146,2801,2712,2612,2354,2069,1966,2122,2437,2286,1755,1720,1644,1562,1585,1484,1482,1443,1463,1724,1932,1851,1701,1758,1717,1784,1765,1780,1710,1632,1547,1535,1486,1484,1557,1370,1398,2289,2387,3230,2322,2360,2620,1942,1707,1718,1616,1620,1639,1623,1741,1895,1495,1571,2654,2746,2379,2455,2429,1755,1503,1708],[3667,3812,3776,3598,3650,3936,3597,3060,2875,2729,3063,3098,2942,3296,3389,3379,3191,3233,3293,3315,3414,3086,2998,3292,3060,3226,2919,2895,2776,2667,2953,3416,3184,2418,2199,2946,3540,4434,4164,3669,3440,3421,3450,3640,3580,3808,3938,3515,2789,2257,2191,1863,1735,2564,3305,3086,3335,2916,2140,2810,3330,3028,2688,2522,2811,3000,2562,2668,2503,3173,3646,2955,2098,2719,3751,4007,3882,3963,3983,3849,3520,3350,3002,2963,2963,2727,3086,3285,2609,2744,2537,2080,2176,2188,2485,2124,1885,1860,2084,2264,2340,2189,2354,2481,2801,3167,3215,3110,2751,2947,2947,2428,2264,2321,2780,3045,3306,2964,2910,2908,2773,2607,2388,2010,1898,2271,3074,3611,2813,2248,2363,2468,2417,2663,2932,2983,3200,3304,3184,2974,3537,3639,3430,3165,2545,2083,2334,2657,2760,3023,3385,3651,4137,4382,3922,3538,3363,2783,2923,3332,3626,3351,3210,3438,4015,3975,2818,2451,1763,1884,2133,2249,1657,2317,2340,2615,2653,2268,1889,1456,1584,1688,2050,1891,1787,2056,1917,1900,2047,1841,1828,1946,2542,3002,2618,2322,2215,2303,3273,3621,2890,2548,2567,2410,2033,2106,2368,2415,2471,2303,2575,3412,2976,2597,2241,2082,2027,2023,2281,2742,3230,3203,3276,3141,2844,2820,2790,2379,2081,2811,2762,2785,2700,2286,2126,1932,1832,2053,2700,2863,2700,2457,2215,2246,2297,2248,1882,1791,2369,2900,3118,3109,3041,3252,2327,1794,1555,1694,1834,1779,2249,2823,2746,2272,2372,2242,2441,2553,2447,2078,2007,2265,2239,3065,3584,3387,2818,2742,3454,3340,3166,3210,2656,3220,3387,3812,3212,2198,1599,1575,1878,2008,2517,3172,3525,3313,3260,3774,4707,4588,3728,3283,2697,2302,2323,2647,2979,2973,3165,3171,2987,3085,4128,3980,3052,2983,3339,3637,3667,3620,3882,3692,3378,3470,3519,3481,3635,3827,3853,3780,3294,3018,3443,3503,3488,3152,2741,2800,3351,3360,3222,2841,2624,2519,2668,2812,2485,2293,2401,2289,2866,3550,3607,3392,3807,3860,3624,3575,3429,3493,3655,3861,3831,3713,3598,3497,3223,2967,2798,2542,2789,2568,2507,2567,2432,2413,2542,2488,2430,2422,2860,3156,3119,2588,2387,2502,2386,2396,2497,2487,1910,1577,1367,1477,1592,2186,2258,2654,3182,2894,2470,2434,2194,1992,2312,2304,1771,1741,1870,1661,1508,1770,1644,1883,2026,1815,2082,2450,2385,2225,2270,2294,2432,2282,2185,2313,2240,2220,2489,2743,2426,2039,2262,2790,2520,1682,1553,1634,1947,1945,1717,1929,2332,2573,2927,2995,2949,3142,2733,2399,2224,2181,2265,1930,1533,1653,2655,2877,2865,2346,1780,1710,1929,2187,1866,1853,1874,2230,2236,2835,2900,2163,2213,2392,2473,2445,2029,1961,2303,1982,1976,2067,2238,2188,2823,3253,2893,2687,2835,2578,2031,2222,1982,1656,1701,1707,1712,1872,2073,1889,1692,1732,1554,1527,1655,1721,1710,1842,2102,1863,1716,1756,1703,1740,1641,1696,2079,2099,2141,2729,3228,3153,2445,1918,1927,1954,1726,1665,1783,2415,3309,2990,2176,2722,2534,2006,2407,2916,3950,4100,4041,4222,3727,3439,3885,3498,2929,2810,2219,2333,3111,3371,2631,2856,3589,3076,2565,2633,2287,2486,2751,2311,2309,2911,3353,3548,3655,2383,2346,2842,2867,3263,3649,3053,2447,2302,2005,1779,1832,1579,1226,2171,2380,2185,2666,2834,3138,3316,3238,2919,2990,3074,3563,3411,3039,2841,3348,3913,3986,3967,3709,3334,3559,3774,3575,3007,2298,2283,2756,2598,2615,2111,1794,2218,2482,2336,1967,2199,2463,1962,2034,1998,1846,2234,2743,2832,2915,3081,2944,2997,3018,2990,2964,2551,2403,2447,2050,2026,2280,2963,3409,3207,3156,3205,2920,2883,2821,2871,3046,3097,3249,3459,3265,3097,3041,3306,3837,3969,3813,3911,3974,3695,3953,4039,4052,4189,3924,3641,3595,3611,3361,3116,3130,3268,3307,3261,3309,3409,3476,3471,3457,3395,3348,3322,3278,3250,3219,3397,3429,3277,3122,3210,3437,3610,2972,2636,2027,2081,2047,2125,2858,3540,3432,3212,3213,3009,3307,3395,2829,2686,2686,2371,2016,1870,2013,2211,2153,2352,2688,2083,1644,1921,2066,1714,1807,2013,2148,1947,1710,1709,1910,2061,1781,1703,1744,1925,2171,2622,2448,2623,3091,2497,2497,3230,2931,2255,1807,2006,2122,1606,2500,1825,1872,2640,3177,3194,3096,2990,2352,2092,2761,3054,2893,3005,3184,3038,3166,3719,4240,4182,4239,4316,4273,4100,3917,3835,3453,3162,2778,3033,3473,3480,3292,2347,2551,2929,2915,3430,2624,1382,1941,2423,2475,2529,2608,2578,2623,3234,3616,3564,3142,2658,2656,3212,3908,4177,3530,3453,3129,2910,2796,2024,1727,2123,2665,2791,2231,1621,1670,2032,2664,2856,3084,2874,3016,2943,3320,3111,3081,3085,2924,3037,2737,2445,2501,1864,1754,1668,2160,2175,3248,3990,3564,3497,3429,2386,1421,1318,1178,2178,2436,2780,2797,2667,2952,3173,3222,2915,2680,2542,2420,2281,2311,3209,2555,2289,1897,2121,3060,2777,1881,1756,1901,2176,2221,1910,1579,2053,2754,2769,2237,1711,1760,1843,1924,2185,1950,1674,1846,1742,1737,1799,1768,1549,1643,1953,2216,2420,3057,3044,2925,2460,1804,1776,1784,2027,1892,2213,2081,2076,2509,3204,3762,3929,3940,3585,3162,3487,2808,2345,3231,3176,2697,2542,2289,2905,3351,3319,2842,1832,1746,2169,2309,2510,2591,2079,1811,2322,3519,3971,3640,2535,2075,1939,2043,2470,2344,1803,1268,1196,1882,2144,2062,2231,2404,2311,2459,2536,2648,2991,3050,2062,1828,1611,1642,1871,2011,1750,1597,1590,1457,1469,1958,1787,1295,1498,1752,1763,1542,1435,1456,1551,1675,1614,1435,1560,1690,1484,1366,1261,1411,1599,2367,3328,3348,2790,2064,1762,1669,1772,2053,2069,1978,1994,1607,1633,1550,1183,942,1048,1220,1538,1767,1844,2353,2422,2176,2275,2193,2122,2283,1825,1784,1976,2031,2619,2610,1980,2031,2864,2675,2019,2163,2387,2719,3065,2646,2299,2635,3068,3272,3216,2619,2050,2080,2043,1936,1856,1689,2010,2526,2569,2520,2300,2082,2157,2547,2625,2230,1757,1677,1839,2192,2281,2345,2567,2604,2643,3201,3450,3185,3468,3706,3565,3016,2447,2021,2002,2472,3204,3024,2357,1824,1750,1792,2188,3068,3815,4228,4048,3834,3705,4342,4304,4433,4636,4728,4540,4456,4428,4244,3750,3056,2441,3156,3688,3835,3338,3138,3421,3586,4026,4052,3400,4017,4175,4007,3992,3459,2910,2481,2536,3093,3675,3870,3946,3873,3587,3367,3367,2976,3034,3604,3312,2940,2855,2887,3273,3549,3338,3197,3005,2386,2232,1970,1971,1635,1609,2236,3009,2512,2000,2480,2872,3132,3142,2906,2985,3133,3187,3200,3311,3119,3036,3005,3432,3812,3475,3071,2972,2972,3117,2426,2012,1867,1738,1698,1698,1730,1760,1809,1840,1821,1845,1873,1938,1938,2117,2289,3067,3711,3689,3648,3652,3372,2834,2374,2404,2514,2348,2177,2239,2662,2413,2136,2169,2185,2217,1981,1686,1703,1761,1862,1972,1893,1807,2318,2667,2788,2639,2492,1877,2041,2355,2294,1811,1655,2048,2109,1772,2220,2565,2283,2403,3161,3141,3022,2680,2988,2995,2938,3181,3221,3188,3064,3045,3331,3520,2798,2590,2244,1970,2286,2408,2014,2019,2543,2174,1680,1694,1947,3674,4368,3732,2917,2293,1947,1800,1831,1908,2203,2288,2205,2240,2249,1889,2176,2166,1808,1765,1876,2094,1800,2000,2833,2570,2145,2326,2620,2138,2146,2376,2092,2139,2464,3289,3245,2359,2087,2164,2250,2567,3057,2824,3729,3982,3628,2974,2974,2547,1932,1748,1888,2042,1998,2158,2107,2126,2427,1624,2086,2427,2253,1932,2610,3637,4116,4029,3231,2875,3307,3227,2443,2250,2530,2763,2521,2460,2562,2171,1783,1801,2500,3185,2548,2741,3105,3316,3098,2730,2831,3432,3670,3122,2393,2154,1971,1606,2061,1910,2326,2615,1952,1789,2041,2126,2060,2397,2485,1578,1892,2956,3124,2465,1917,1868,1986,2005,1867,2039,2564,2833,2613,2313,2081,2094,2233,2221,2045,1829,2014,1964,1741,1908,1797,2094,2390,2216,2266,1962,1685,2147,2376,3168,3157,3011,3294,2764,2280,2745,2806,2483,2127,2055,2210,2202,2722,2423,2495,2377,2061,1931,1597,2482,3009,2234,2214,2114,1831,2023,2141,2643,3050,3085,3341,3813,3796,3327,3166,3038,3284,3475,3591,3754,3554,3262,3616,3204,3362,3949,3538,3653,3356,2855,2806,2303,2658,2447,2902,3098,3270,3540,3611,3166,1846,1424,1956,2219,2436,2572,2796,2670,2397,2389,2170,2001,2163,2668,3318,3687,3317,2471,1824,1748,1671,1678,1809,1653,2055,2294,2162,2197,3077,3566,3272,3526,3935,3782,3603,3085,2706,2761,3188,2373,2066,2297,2360,2460,2540,2828,2757,2088,1880,2233,1986,2294,2078,1923,1946,1834,1685,1599,2298,3205,3095,3152,3130,2856,2899,3028,2547,2252,2387,2565,2657,2552,2210,2414,2591,2015,1749,1496,1550,2225,2851,2334,2036,2471,2063,2138,2868,2380,2461,2969,2803,2617,2376,2285,2491,2574,2700,3009,2980,2532,2412,2320,2022,1641,1643,1552,1720,2853,2743,2385,2800,3062,3196,2562,1782,1614,1629,2117,2574,3044,3000,2532,2610,2614,2438,2226,2202,2254,2627,2659,1845,1827,1827,1493,1631,1725,1571,1736,2018,1981,1847,2566,2995,2970,3123,3094,3128,2879,2031,1816,1627,1528,1618,2034,2423,2691,2801,2371,2045,1863,2089,2596,2287,2351,3487,3250,3185,3587,3747,3540,3591,3839,4013,3718,2723,2631,2501,2531,2762,3179,3260,3087,2807,2862,2965,2901,2932,2919,2554,2377,2283,2384,2103,2184,1891,1520,1583,1629,1521,1488,1442,1511,1700,1750,1826,1633,1666,1816,1823,1740,1650,1583,1527,1352,1555,1621,1585,1778,2057,1644,1345,1509,2222,2841,3220,2369,2476,2348,1511,1326,1558,1665,1485,1615,1842,1735,1819,1721,1841,2702,2525,2041,2536,2699,2178,1927,1838],[3225,3164,2652,2846,3459,3902,3632,3272,3451,3242,3266,3089,3115,3392,3508,3407,3260,3076,2803,2968,3232,3274,3230,3298,3099,2995,3266,3531,3291,2808,2751,2636,2458,2447,2578,3201,3449,3919,3908,3783,3613,3597,3688,3703,3694,4071,4200,3838,3054,2448,2436,1821,1870,2697,3242,3321,3485,2906,2756,3182,3062,2741,2725,3140,3009,2402,1786,2604,2830,3109,3727,3261,2610,3144,3776,3785,3628,3185,3040,2700,2254,2186,1888,1992,2109,1686,2699,3400,2878,2827,2828,2109,2047,2056,2088,1474,1625,1760,1804,2438,2967,2702,2436,2321,2610,3260,3517,3792,3123,2632,2588,2518,2140,2530,3166,2866,2389,2232,2459,2573,2710,2606,2659,2037,1809,2031,2602,3263,2814,2309,2402,2451,2336,2282,2482,2765,3652,3719,3360,3183,3509,3602,3376,2755,2656,2743,2320,2659,2938,3096,3400,3562,4184,4273,3550,3507,3250,2967,2855,2792,2893,2748,2844,3342,3876,3876,2946,2525,1653,2880,2785,2326,2145,2437,2547,2340,1736,1410,1557,1638,1769,1638,2004,1920,1810,2143,2242,2344,2192,1937,1924,2476,3500,3617,2984,2464,2316,2213,2618,2906,2619,2683,2998,3097,2907,2696,3038,3006,2664,2532,3107,3587,3197,2599,2229,2202,1997,1744,1689,2234,2580,2668,3044,2910,2565,2770,2526,2688,2735,3117,2574,2086,2047,2055,2311,2016,1413,1685,2309,2231,2240,1956,2366,2783,2689,2500,1846,2017,2817,2981,3349,3194,2853,2912,2645,1968,1459,1555,1648,1904,2254,2525,2102,1779,2188,2029,2415,3025,2809,2579,2645,2607,2357,3050,3640,2978,2244,2580,3322,3408,3393,2620,2322,2794,3388,3805,3393,2652,2217,2850,2866,2388,3168,3326,3265,3252,3203,4034,4708,4229,3688,3074,2349,2003,2081,2579,2943,2910,3109,3393,3088,3183,4373,4019,2348,1373,1670,2280,2240,2177,2212,2343,2842,2383,2281,3093,3608,3758,3792,3861,3479,3117,3116,2986,3056,2912,3221,3120,3439,3487,3105,2872,2828,2800,2946,3019,2720,2648,2940,2999,3431,3420,3489,3418,3507,3580,3801,3812,3798,3795,3936,4046,3825,3715,3692,3500,3055,2798,2943,2741,2710,2572,2535,2463,2208,2222,2460,2452,2398,2371,2787,3184,3212,2287,1993,1941,1760,1641,2070,2325,1421,1256,1477,1672,2290,2278,1399,1973,2723,2678,2386,2324,2411,2077,1960,2169,1733,1667,1340,1433,1704,2093,1810,1685,1843,1742,1916,2415,2835,2559,2177,2270,2269,2120,2045,2002,1963,1939,2140,2479,2566,2392,2213,2240,2097,2186,2036,1882,2086,1810,1680,1803,1870,2518,3209,2786,3129,3405,2639,2362,1977,2050,2097,1940,1406,1665,2459,2733,2729,1961,1733,2090,2463,2753,2552,1998,1944,2002,2102,2274,2277,2193,2720,2757,2469,2786,2166,2060,2292,2596,2709,2392,2053,1839,2722,3560,3172,2828,3034,2751,2030,2088,2239,2095,1701,1624,1543,1645,1763,1600,1576,1556,1537,1562,1509,1596,1696,1864,1873,1739,1715,1760,1475,1462,1669,1979,2114,1924,1896,2590,3518,3464,2236,2221,2138,1723,1686,2041,2773,3131,3086,2996,2042,2383,2116,1974,2655,3051,3883,4207,4152,3979,3520,3399,3768,3924,3542,2918,1918,2159,2679,3251,3056,3533,3740,2787,2252,2289,2396,3117,3615,3367,3040,3295,3281,3430,3546,2667,2900,3187,3001,3212,3786,4157,3598,2686,2438,1884,1442,1876,1740,2243,2132,2314,2978,3462,3574,3763,3538,3440,3515,3382,3375,3123,2680,2161,2476,3184,3701,3879,3556,3104,3687,3823,3702,2686,2310,2578,2916,2876,2798,2168,1941,2194,2128,1951,1710,1988,2042,1760,1602,1642,1725,2387,3278,3014,2765,2823,2548,2409,2667,3062,3078,2786,3397,3654,2746,2656,2855,2843,3251,3340,3217,3159,2845,2748,2768,2917,3000,2821,3053,3044,3152,3242,3078,3163,3382,3409,3448,3623,4015,3709,3842,3979,3933,4068,3940,3727,3604,3555,3444,3197,3147,3205,3265,3305,3339,3347,3294,3309,3396,3471,3413,3346,3326,3272,3190,3204,3200,3184,3210,3381,3528,3068,2169,2018,1959,1883,2014,2342,2833,3250,3133,2610,2236,2803,3020,2818,2493,2819,3152,2535,1759,1658,1970,2142,1730,1682,2294,2142,1734,1739,1649,1609,1900,2222,2258,2157,2096,2074,1916,1785,1863,1936,2016,2164,2315,2801,2570,2423,2811,2807,2674,2738,2600,2422,1938,1862,2014,1716,1824,1656,1686,2135,2558,2714,2866,2276,2254,2025,2689,2938,2963,3017,3078,3045,3120,3796,4232,4172,4164,3977,4020,4001,3848,3719,3559,3242,3161,3654,3278,3243,3688,3558,3680,3349,3321,3397,2541,1426,1632,2114,2189,2492,2821,2766,2334,2289,2736,3191,3444,3337,3614,4131,3581,3319,2636,2872,3179,3081,3195,2853,2591,2691,2176,1822,1802,1610,1513,2045,3238,3022,2930,3168,3206,3287,3128,2513,2609,2802,2558,2736,2566,2448,2123,2030,2126,1819,2116,2745,3517,3927,4208,4058,3660,3051,2288,2652,2472,2712,2324,2790,2599,2425,2917,3141,2852,2496,2205,2431,2381,2340,2280,2523,2040,2258,2154,2463,2912,2389,1912,2008,2046,2001,1462,1509,1894,2382,2481,2192,2253,1992,1970,2089,1533,1532,1757,1731,1761,1817,1730,1652,1655,1709,1998,2500,3117,3499,3549,3173,2677,1881,1749,1763,1721,2034,1721,2073,1820,1808,2096,2561,3174,3792,3950,3655,3178,3111,2220,2059,2636,2840,2614,2471,3021,3657,3408,2847,2108,1958,2402,2321,1998,2045,2187,2049,1927,2231,2942,3505,2871,1975,1759,1617,1713,1677,1973,2474,2332,1636,2166,2457,1997,1831,1845,2331,2667,2510,2580,3178,3538,2740,1918,1528,1504,1678,1843,1867,1763,1620,1373,1457,1405,1137,1280,1404,1583,1533,1534,1626,1738,1806,1514,1311,1394,1542,1539,1678,1540,1339,1676,2324,2622,3065,3050,2758,2626,2094,1510,1558,1988,2164,2642,2432,1675,1650,1106,849,930,1106,1351,1865,2076,2299,3025,3033,2442,2566,2393,2722,2369,1789,1686,1760,2545,3073,2186,2150,2649,2578,1909,1557,1760,1817,2591,2500,2164,2661,3240,3264,3244,3491,3055,2151,2292,2548,2208,1564,1353,1771,2150,2286,2162,1977,1806,1752,2281,3326,3564,2482,1744,1806,2272,2512,2331,2127,2104,2130,2819,3824,3739,3763,3940,3624,2586,1999,1859,2108,2636,2910,2876,2419,1907,1672,1397,1402,2016,2652,2807,2875,2700,2746,3705,4333,4152,4284,4656,4255,4244,4060,4017,3458,3143,2143,2641,3602,4099,4116,3960,3869,3880,4289,4014,2630,3428,3934,4176,4205,3441,3000,3145,3393,3421,3469,3745,3991,3693,3403,3073,3022,2916,2963,3132,2805,2622,2690,2718,2829,2887,3103,3618,3125,1912,1899,2018,2148,1915,1959,2111,2216,1904,2169,2976,2980,2943,2602,2001,2125,2388,2925,3323,3419,3231,2961,2915,3260,3471,3348,3451,2939,2218,2215,1966,1969,1859,1726,1744,1743,1775,1765,1851,1898,1853,1865,1915,2150,2011,2094,2134,2342,2392,2324,3032,3452,3310,2792,2007,2231,2261,2271,2404,2165,2192,2018,1958,1966,2106,2502,2194,1583,1732,2003,1977,2218,2238,2111,2494,2197,2336,2555,2427,2374,2288,2052,1938,1519,1438,1815,1615,1537,1787,1996,1753,2482,3268,3277,2967,3038,2787,2490,2876,3052,2812,3120,3171,3241,3368,3414,3054,2570,2162,1919,2194,2447,2141,2365,2353,2081,2456,2558,3267,4073,3876,3618,3098,2880,2136,1644,1938,2244,2384,2094,1869,1613,1495,1480,1932,1874,1976,1894,1612,1740,1640,1950,2522,2603,2413,2798,2679,2502,2614,2270,2104,2189,1900,2087,2117,2404,2291,2304,1945,2143,2966,2755,3024,3274,3204,2997,2864,2430,1988,2214,2508,2408,2091,1958,2233,2351,2194,1769,2382,2994,2620,1977,1946,2346,3605,3458,2692,3090,3442,2951,2217,2259,2590,2966,2554,1919,2700,2540,1964,1818,2232,2746,2630,2719,2850,3212,3595,3308,2964,3165,3200,2756,2239,1947,1592,1647,2070,2154,2527,2518,2209,2332,2313,2286,1964,2155,2824,2858,3110,3487,3077,2509,2227,1785,1760,2159,2209,2040,2007,1983,1859,1875,1981,1815,1532,1647,2006,1951,1763,1707,1693,1719,1982,2682,2602,2090,2269,1980,1756,2283,2603,2901,2620,2584,2942,2499,2374,2836,2679,2836,2534,2389,2210,1977,2471,2479,2339,2092,2015,1841,1930,2654,3244,2574,2033,2023,1761,1887,2272,2636,2814,3063,3338,3580,3713,3543,3407,2978,3200,3499,3896,4281,4091,3775,3474,3196,4037,4188,3884,3979,3849,3031,3440,3249,2482,2375,2875,2949,2967,3222,3430,3264,2093,1530,1772,2355,2732,3172,2763,2316,2124,2324,2466,2407,2976,3651,3589,3511,3187,2533,1971,2023,1995,2376,2286,1803,1962,2452,2286,2078,2654,3162,3088,3297,3688,3607,3493,3204,2867,2707,2411,2004,2056,2050,2095,2207,2429,3024,2639,1752,1619,2004,1990,1976,1930,2184,2114,1835,2012,1687,2140,2866,2896,2851,2744,2835,2877,2866,2558,2403,2482,2237,2199,2489,2578,2956,3051,2710,2002,1953,1838,1949,1964,1639,2056,2555,2338,2170,2098,2398,2557,2089,2569,2618,2217,2175,2566,2820,2842,2856,2580,2564,2390,2265,2476,2052,1598,1468,1842,2142,2302,2664,3068,2626,2498,2462,2038,1765,1867,2276,2108,2635,2964,2783,2730,2840,2831,2566,2285,2126,2399,2793,2121,1779,1801,1828,1757,1856,1847,2082,2569,2480,2532,2953,2950,3050,3082,2921,3154,3088,2137,1695,1596,1566,1776,2349,2428,2123,2401,2281,1881,2105,2408,2419,2535,2867,3195,3697,4003,3911,3407,3128,3362,3370,3352,3316,2633,2656,2534,2227,2150,2786,3298,3200,3040,3276,3134,2901,2787,2511,2043,2031,1902,1623,1990,2332,1669,1481,1665,1552,1396,1371,1389,1507,1775,1843,1861,1734,1736,1637,1510,1522,1463,1547,1470,1414,1766,1647,1641,2051,2454,1824,1447,1480,2152,2703,2186,1629,1774,1815,1770,1558,1689,1701,1433,1604,1854,2180,2069,1731,1902,2455,2752,2576,2420,2438,3146,3023,1898],[2777,2436,2046,2353,2976,3449,3417,3701,3784,3472,3156,3193,3409,3273,3097,3317,3238,2684,2584,2932,3182,3361,3442,3076,3145,3175,3190,3328,3270,3108,2916,2923,3248,3374,3063,3068,3159,3670,3828,3739,3684,3670,3754,3771,3797,4046,4275,4304,3373,2749,2466,2025,2368,2775,2822,2600,2228,1984,2267,2707,2585,2153,2330,3221,3610,3045,2054,2678,2865,2867,3570,3893,3862,3782,3383,2436,2238,1901,2250,2400,2235,2114,2271,2621,2297,1963,2945,3773,3205,2607,2541,2326,2082,2030,2322,1621,1314,1764,2152,2167,2446,2874,2801,2495,2222,1830,2764,3539,2990,2397,2505,2478,2277,2623,2858,2385,1901,1989,1978,2148,2677,2971,2680,2086,2314,2369,2512,3271,3162,2556,2585,2633,2455,2302,2435,2986,3667,3630,3173,3171,3507,3673,3458,2507,2180,2168,1916,2500,3034,3267,3300,3067,3517,3791,3349,3076,3132,3130,2618,2307,2833,2954,2718,3264,3265,3121,2577,2140,1578,1561,1695,2009,2088,2123,1752,1143,1073,1217,1687,2024,1521,1411,1547,1588,1857,1948,2074,2178,2062,1958,2291,2771,3140,2647,2123,2366,2549,1874,2065,2819,2793,2912,3430,3430,2754,2268,2890,2907,2568,2640,2971,2863,2705,2281,2291,2343,2005,1753,1527,2213,2513,2032,2137,2162,2176,2346,2546,2779,2952,3011,2273,1650,1819,2102,2117,1677,1518,1620,1725,1828,1938,1779,2379,2972,3200,2785,2078,2497,3176,3405,3498,3228,3341,3173,2711,2060,1902,2008,1724,1913,2272,2178,1812,1637,1663,1573,2526,3399,2922,2797,2942,2805,2791,3365,3349,2347,2258,3262,3482,3391,2919,2149,2584,2862,3336,4021,3924,3153,2849,3326,3249,3206,3177,3151,3571,3596,3409,3683,3625,3432,3653,3203,2540,2410,2813,3010,2886,3039,3141,3286,3083,3225,4026,4246,3153,1732,1586,2289,2454,2721,1690,2146,2784,1985,1596,2745,3407,3546,3816,3863,3548,3339,3327,2836,2924,2983,3609,3716,3461,3285,2787,2761,2983,3129,3171,2906,2830,3156,3287,3120,3237,3392,3763,3773,3592,3563,3551,3347,3307,3329,3473,3624,3637,3404,3508,3563,3305,3170,2975,2594,2589,2923,2873,2429,2387,2378,2279,2075,2280,2706,2703,2794,2932,2405,1825,1749,1876,1960,1954,1974,1675,1620,1647,1594,2313,1954,1283,2079,3111,2990,2402,2476,2899,2605,2733,3074,2586,2065,1598,1407,1543,1905,1643,1866,2428,2109,1897,2388,2779,2808,2289,2269,2142,2039,2074,1969,1782,1784,2017,2423,2969,3172,2256,2143,2099,2076,1946,2061,2271,2031,2272,2625,2370,2725,3504,3824,4208,3649,2587,2740,2077,1890,2276,2109,1544,1649,2078,2531,2277,1607,1823,2099,2858,3292,2720,2504,2730,2728,2989,3224,2967,3085,3369,3373,3395,3047,1958,1936,1760,2428,2808,2699,2526,2344,2755,3166,3020,2729,2413,2247,1923,1934,2290,2048,1897,1953,1775,1766,1642,1435,1404,1469,1652,1476,1645,2030,1822,1937,1939,1792,1711,1816,1868,1611,1676,2164,2127,2122,2135,2448,3378,3372,2553,2540,2529,2529,3166,3504,3189,2812,2780,2632,2030,2297,2212,1797,2378,2921,3008,3205,3686,3863,3638,3538,3628,3370,2852,2328,2172,2404,2888,3803,3948,3758,3769,3574,2929,2322,2413,3539,4473,4642,4141,4063,3885,3533,3031,2678,3037,3407,3125,2591,2983,3459,3732,2989,2406,1959,1786,2299,2615,2865,2964,3061,3270,3473,3547,3848,3795,3894,3471,3394,3105,2833,2358,1890,1875,2397,3464,3703,2706,2382,3218,3467,3196,2601,2592,2429,2257,2303,2391,2069,2120,2525,2318,1703,1631,1951,2430,2301,2275,2274,2256,2610,3054,3226,3168,2614,2452,2202,2044,2298,2207,2562,3322,3208,2894,2864,2780,2705,2914,3108,3187,2835,2718,2723,2710,3022,3134,2908,2764,2962,3300,3186,3046,3009,3159,3342,3387,3418,3572,3645,3799,4109,3996,3780,3672,3629,3517,3393,3385,3261,3204,3203,3229,3399,3696,3687,3382,3325,3500,3545,3414,3409,3341,3273,3253,3221,3227,3152,3548,3707,3563,2663,2261,2540,2288,1967,2167,2586,2724,2776,2664,2314,1654,2004,2409,2584,2783,3276,3389,2720,1834,1732,2178,2111,1305,1510,2730,2475,1859,2181,2690,2379,2257,2662,2291,2370,2142,2060,1865,1913,2265,2432,2247,2046,2150,2299,2281,2291,2460,2630,2756,2809,2601,2642,2279,2040,2091,1935,1688,1683,1602,1599,1748,2525,3272,1830,1994,1898,2219,2751,2879,3009,3160,3187,3728,4444,4327,4127,3989,3851,4141,4084,3904,3448,3475,3449,3615,3650,2919,2899,2971,2876,3541,3294,3406,3118,3017,2066,2007,2880,2569,2357,2449,2626,2478,2180,2223,2518,2786,2899,3300,4197,3702,3063,2454,2864,3185,2978,2942,2827,2735,2435,1995,1624,1658,1613,1732,1746,1886,1885,2512,2636,2286,2686,2379,2186,2320,2498,2359,2199,2235,2575,2327,2708,2944,2599,2814,3571,3939,3551,4227,4264,4193,3652,3064,2873,2821,2303,2392,2856,2410,2130,2654,2618,2412,2161,1763,2054,2685,2918,2855,2486,1994,1934,1881,1852,1932,1992,2396,2152,1887,1734,1577,1908,1913,1920,1738,1669,2219,2007,1714,1920,1508,1475,1596,1627,1632,1710,1669,1709,1491,1692,2476,3245,3450,3285,3427,3028,2164,1765,1651,1391,1499,1898,1794,1859,2011,1821,1803,2047,2386,2856,3541,2877,2653,2284,2408,2514,2502,2752,2785,2977,3680,3751,3106,1828,1989,2584,2522,2520,2468,2395,2745,2684,2344,2055,2111,2270,2020,1908,1615,1444,1553,1687,1732,2030,1992,1881,2397,2476,2191,2279,2279,2728,2565,2839,3066,3473,3839,2695,1699,1538,1493,1611,1817,1780,1841,1876,1641,1470,1369,1525,1506,1343,1423,1391,1477,1635,1719,1641,1591,1881,1648,1604,1917,2014,1604,1359,1617,2458,2524,2341,2188,2218,2487,2053,1543,1854,2185,2268,2221,1703,1557,1808,1535,1353,1407,1426,1678,2032,2111,2541,2718,2758,2575,2654,2723,2670,2461,2250,2265,2004,2026,2067,1876,2315,3266,2161,1535,1876,1796,1741,2477,2404,2387,3222,3442,3208,3371,3530,3515,2577,2633,2833,2593,1992,1695,1605,1690,2164,1946,1718,1754,2216,2400,3550,4104,3507,2330,1737,2039,2321,2288,2259,2167,1856,2500,3628,4042,3913,3763,3087,2429,2073,1959,2314,2432,2254,2374,2330,2145,1840,1218,1146,1816,2110,1661,1760,2114,2073,2755,3862,3754,3762,4061,4196,4082,3792,3991,3882,3464,2429,2872,3993,4545,5029,4850,4568,4693,4441,3271,2931,3683,4093,3992,3453,3253,3517,3638,3785,3915,3797,3816,3759,3584,3229,2588,2408,2330,2431,2621,2550,2562,2548,2519,2573,2624,2655,3438,3576,3293,2644,2500,3015,3199,3011,2679,1920,1911,2895,3684,3362,3165,3245,2149,1568,2241,3039,3119,2971,2758,2812,3255,3359,3355,3338,3640,2689,2322,2260,2065,1953,1835,1825,1780,1757,1747,1804,1848,1853,1840,1925,2001,2134,2170,1924,1617,1971,2029,2067,2578,3121,3006,1714,1134,1981,2464,2227,2147,2086,2054,1890,1647,1637,1991,1848,1645,1621,1768,1753,1760,1903,1733,1836,2275,2044,1824,1828,2155,2388,2132,2105,2380,1672,1322,1621,1499,1563,1586,1663,1740,2084,2822,3028,2827,2781,2364,2430,3003,3056,2980,3256,3334,3326,3195,3050,2634,2115,1943,1881,2001,2121,2466,2660,2364,2549,2832,2371,3146,3928,3340,2599,2769,3187,1841,1289,1685,2351,2182,1647,1509,1409,1562,1766,1821,1765,2034,2221,1801,1427,1493,1741,2147,2437,2890,3261,2833,2315,2481,2061,1790,2519,2449,1824,2381,3113,3002,2620,2426,2391,2521,2277,2310,2852,2798,2467,2873,2502,2181,2408,2855,2764,2112,1907,2050,2369,2294,1835,2520,3387,2933,2555,2611,2305,3398,3308,2648,3028,3498,3074,2754,2858,2755,2472,2017,1919,2862,2942,2589,2730,2450,2541,2769,2919,3327,3908,3813,2940,2455,2668,2896,2527,2316,2023,1653,1833,1848,1736,1820,1938,2371,2503,2381,2323,1865,2332,3316,3376,3648,3820,3161,2586,2419,2045,1906,2133,2355,2352,1985,1792,1742,1700,1744,1446,1359,1853,2296,1755,1527,1693,1596,1700,1924,2317,2248,2505,2481,2103,2272,3012,3282,2909,2615,2743,2655,1935,2578,2958,2539,3018,2612,2519,2411,2318,2801,2945,2032,1697,1804,1936,2195,2047,2430,2046,1564,1769,2236,2759,2771,2676,2660,2933,3196,3105,3252,3564,3420,2989,3129,3475,3853,4273,3804,3443,3843,4155,4460,4405,4034,4080,3794,2920,3356,3122,2686,2732,2677,2635,2799,2921,2826,3493,2557,2311,2511,3112,3317,3270,2705,2420,2226,2454,2708,2702,3018,3003,2317,2268,2081,2155,2379,2464,2004,2186,2496,1876,1632,2050,2009,1788,2252,3147,3654,3953,3888,3531,3473,3494,3209,2793,2286,1990,1996,2365,2811,2691,3008,3151,2411,1634,1452,1484,1743,1918,1827,2482,2644,2113,1877,1540,2250,2797,2736,2749,2708,2812,2710,2310,2114,2219,2176,1826,1926,2474,2544,2679,2844,2880,2564,2320,2018,1959,1824,1884,2094,2497,2890,2483,2028,2464,2370,1906,2298,2170,1989,2165,2563,3095,3133,2707,2570,3419,2581,2646,2964,2416,1241,1320,1717,1861,2339,3030,3090,2467,2471,2641,2476,2033,1856,2021,2267,2736,2429,2121,2727,3210,2955,2644,2387,2082,2270,2510,2436,2103,1907,2215,1899,2014,2236,2126,2376,2740,2780,2630,2856,2829,2820,2457,3187,3453,2642,2095,2126,2028,1823,2119,2222,2024,2330,2223,1856,2014,2099,2348,2930,3175,3219,3475,3342,2639,2123,2539,3244,3301,2987,2873,2653,2502,2129,1654,1641,2014,2337,2562,3164,3538,3075,2623,2364,2214,1786,2173,2424,1828,1915,2077,1703,1613,1475,1463,1381,1431,1486,1532,1586,1686,1782,1803,1809,1698,1586,1656,1568,1492,1513,1830,1909,1620,1626,2101,1916,1515,1415,1429,1780,2033,1816,1562,1426,1576,1686,1670,1858,1641,1445,1670,2359,2637,1977,1614,1596,2011,2368,2300,2379,2215,2733,2692,1965],[2592,2337,2106,2357,2690,3084,3233,3480,3462,3227,3219,3305,3140,3184,3130,3363,3671,3310,3264,3006,2978,3361,3652,3415,3332,3296,2962,2842,2968,3135,2658,3021,3495,3497,2611,2670,3090,3560,3785,3767,3674,3512,3693,3734,3548,3508,4105,4320,3754,3260,2774,2586,3027,2996,2242,1615,1600,1744,1820,2199,2722,2215,2120,3075,3640,2974,2071,2005,2026,2342,2482,2390,3506,3752,3249,2147,2271,2259,1998,2624,2723,2503,2912,3168,3034,3141,3486,3326,2946,2644,2517,2524,2066,1930,2481,2126,1766,2232,2532,2257,2219,2908,3304,3141,2433,2270,2589,2447,2037,2165,2299,2443,2622,2789,3418,3073,2317,2150,1948,2200,2788,2979,2822,2872,3105,2977,2850,3066,2995,2834,2866,3101,2924,2778,2874,2978,2974,2900,2832,3150,3551,3726,3340,2220,1854,2112,2307,2795,3094,3371,3681,3219,3106,3464,3079,2609,2566,2752,2464,2599,3284,2802,2526,3012,2900,2812,2576,2243,1946,1752,1943,2155,1958,2204,2008,1424,1588,1757,2126,2276,1883,1550,1432,1652,1870,1953,1892,1967,2109,2168,2382,2409,2224,2024,2170,2251,2114,1708,1986,2698,2774,2840,3176,3094,2313,1762,2038,2364,2349,2677,3041,2677,2032,2100,2332,2037,1910,2123,2168,2416,2248,1752,1761,1805,1983,2452,2988,2747,2170,1993,2078,1758,1930,2366,2564,2054,1880,1931,1926,2079,2040,1837,2013,2461,2996,2539,2041,2564,3095,3181,3450,3566,3499,3194,2453,1729,1984,2241,1997,2513,2856,2517,2621,2128,1660,1618,2536,3204,3305,3375,3627,3708,3624,3572,3104,2613,3095,3575,3462,3200,2471,2330,2847,2741,2454,2809,3171,2841,2374,2276,2723,2797,2429,2668,3520,3475,3197,3350,2810,2884,4053,3665,2886,2487,2522,2530,2664,2928,3187,3277,3162,3453,4082,3958,3304,2675,2381,2322,2552,2743,1741,2336,2946,2534,2262,2730,3292,3782,4026,4041,3603,3181,3521,3001,2850,3216,3696,3745,3431,2951,2821,3120,3116,3122,2949,2879,3241,3471,3467,3199,3044,3790,4252,3990,3594,3486,3450,3216,3298,3283,3050,3055,3134,2829,2920,3298,3288,3154,3077,3083,3186,3161,2678,2589,2866,2428,2118,2332,2602,2796,2730,2745,2896,2410,1820,1994,2609,2966,2842,2224,1717,2078,2032,1813,2245,2208,1750,2544,3146,2652,2276,2568,2566,2454,2576,2555,2551,2048,1410,1364,1654,1609,1588,1816,2110,2173,2100,2386,2623,2846,2536,2344,2151,2103,2344,2414,1860,1860,1910,2002,2056,2879,3156,2551,2597,2166,1687,1972,2286,2553,3243,3449,3143,3143,3619,3498,3785,3914,3507,3051,2424,2007,2145,2346,2040,1679,2271,2807,2611,1889,1701,1747,2236,3039,3144,3286,3596,3015,2858,3565,3130,3033,3160,3197,3027,2492,1722,1597,1776,2121,2203,2445,2796,2561,2519,2774,2619,2309,2670,2879,2161,1647,1863,1952,2048,2097,1929,1732,1709,1763,1624,1692,1714,1369,1669,2208,2258,2169,1941,1633,1626,1804,1954,1655,1882,2311,2090,1591,1763,2089,2577,2597,2112,1938,2040,2673,3461,3362,3261,2705,2724,2342,1984,2031,1881,2235,2843,2708,2491,2630,3081,3773,3870,3509,3459,3726,3248,2269,2101,2302,2476,2807,3354,3537,3793,4143,4260,3565,2792,4007,4608,4585,4320,4151,4217,3929,3419,3000,3129,3384,2853,2130,2895,2998,2692,2109,1690,2298,2842,3048,3225,3415,3328,3414,3461,3816,3750,3808,3583,3319,3226,3157,2950,2990,2688,2119,2206,2372,3140,2978,2473,2699,2575,2688,2533,2788,2676,2251,2282,2408,2571,2150,2139,2724,2922,1863,1653,1831,1874,2009,2203,2222,2717,3319,3342,3297,3028,2603,2388,1923,1808,2159,2274,2138,2217,2323,2358,2260,2448,2632,2800,2998,2973,2829,2854,2786,2843,3109,3134,2905,2776,3020,3167,2924,2792,2867,3262,3466,3392,3404,3345,3399,3724,3855,3684,3554,3492,3428,3474,3411,3262,3185,3312,3297,3249,3273,3621,3720,3341,3254,3385,3397,3420,3376,3274,3172,3212,3353,3295,3560,4128,4041,3164,2433,2895,3038,2428,2039,2337,3090,3002,2827,3046,3039,2634,2501,3350,4036,3392,3431,3508,2777,2013,2067,2392,1971,1418,1641,2338,2387,2036,2111,2562,2118,2170,2746,2386,2552,2146,1991,2068,2210,2372,2677,2482,2199,2580,2984,3111,2667,2138,2351,3011,2526,2209,2533,3216,3104,2437,2055,1957,1873,1812,1863,1894,2210,3210,2457,2318,2805,2819,2899,3344,3831,3740,3676,4288,4547,4183,4093,3958,3960,3950,3982,3727,3428,3255,3332,3418,3395,3186,2988,3210,3460,3759,3417,3078,2728,3020,2463,2558,2902,2730,2484,2326,2448,2517,2219,2024,2171,2290,2359,2646,3474,3660,3212,2834,2907,3030,2656,2052,2382,2305,1919,2264,1972,1814,1855,2261,2123,1541,1620,2331,2472,2356,2547,2222,2857,3063,2701,2434,1936,2332,2747,2790,3370,3227,2973,3413,3197,3311,3607,4075,3863,3703,3020,2893,2792,2418,2133,2426,2830,2410,2387,2862,2328,2388,2314,2228,2040,2210,2618,2810,2378,1819,1917,2415,1776,1656,2374,3328,2580,2354,2045,1811,1883,1640,1444,1460,1693,1926,1704,1602,1632,1515,1524,1627,1708,1619,1707,1750,1831,1974,2237,3216,3648,3376,3310,3008,2511,1756,1598,1419,1371,1488,1623,1626,1707,1883,1841,1871,1656,1797,1869,2568,2446,2452,2325,2515,2388,2020,2491,3334,3634,3840,3743,2798,2120,2653,2842,2676,2565,2735,3007,3360,3261,2828,2436,2056,1831,1788,1681,1732,1527,1423,1464,1540,1654,2088,2653,2808,2300,1981,2317,2876,3010,2899,3081,3338,3773,4068,3230,2019,1455,1488,1732,1780,1837,1814,1657,1682,1397,1438,1482,1375,1321,1412,1484,1507,1722,2093,1842,2156,2361,1796,1805,2297,1980,1440,1398,1577,1687,2031,2589,2358,2130,2437,2244,1882,2014,1711,1541,1379,1316,1693,2215,2197,1912,1772,1804,2003,2335,2168,2219,2241,1976,2156,2746,2697,2257,2576,2981,2796,2243,1867,2016,2097,2110,2713,2217,1638,1570,1635,1603,1896,2454,2980,3232,3205,3251,3873,3842,3560,3187,4001,3851,2758,2139,1987,1838,2114,2349,1944,1809,1889,2059,2221,2676,3351,3455,2474,1681,1852,2487,2620,2548,2333,2044,2134,2886,3486,3473,3379,3207,2956,2555,2213,2244,2142,1946,1899,2012,2238,2211,1438,1501,2116,1948,1657,1639,1712,2298,3034,3491,3616,3418,3531,3804,4037,4123,4024,3964,3618,2479,2593,4128,4383,4310,4608,4443,4641,4041,2876,3276,3650,3807,3494,2985,3198,3834,3527,3496,3452,3175,3186,3532,3692,3243,2698,2474,2329,2316,2282,2319,2404,2499,2446,2732,3147,3082,3618,3852,3581,3176,3274,3641,3671,3429,2932,1747,2084,3088,3419,3601,3478,3428,2910,2266,2864,3597,3234,2603,2149,2164,2755,3461,3470,3342,3119,2399,2344,2288,2187,2025,1954,1945,1994,2153,1958,1966,1922,1866,1878,1909,1968,1919,1879,1533,1532,1912,2330,2791,2773,2446,2396,1427,1726,2589,2878,2677,2162,2097,1990,1864,1776,1992,2300,1859,1530,1574,1639,1678,1747,1518,1481,1823,2338,2436,2104,1666,1858,2012,2042,2303,2526,2076,1642,1632,1666,1775,1705,1641,1782,2225,3073,3063,2836,2819,2789,2784,2876,3069,3362,3410,3119,2754,2380,2162,2148,2091,2240,1919,2092,2460,2755,2734,2297,2072,2222,2209,2822,3120,2586,2500,3256,3453,2350,1979,1764,2155,2264,1857,1640,1749,1848,1895,2015,1944,1967,2058,1844,1482,1836,2199,2155,2170,2898,3106,2652,2098,2178,2017,2040,2405,2570,2273,2924,3090,2780,2632,2843,2543,2229,2369,2384,2754,2849,2755,2967,2473,2209,2008,2782,3067,2275,1860,2055,2624,2885,2299,2446,3176,3234,3208,3105,2602,2911,3421,3318,3332,3529,3273,3089,2568,1817,1735,2222,2873,3839,3573,3091,3239,3305,3143,2864,2832,3223,3560,3129,2556,2662,2902,3050,2468,2544,2453,2288,2360,1958,1792,2094,2387,2189,1980,2312,2498,2392,2863,3658,3867,3613,3720,3780,3166,2358,1866,1836,2048,2362,2566,2238,2176,1780,1640,1721,1610,1842,2468,2254,1742,2134,2416,1892,2040,1779,2180,2362,2544,2612,2563,2640,2842,2906,2503,2809,2523,2510,2077,2943,3330,3134,3283,2556,2383,2862,2476,2959,3352,2437,1637,1833,1865,1803,1633,1813,1816,1691,1713,2388,2485,1952,2383,2448,2945,3040,3115,3267,3675,3284,2968,3130,2922,2412,3076,3805,3913,4236,4083,4143,4315,4060,4083,3513,3054,3178,3133,2720,2132,2298,2831,3043,3012,2750,3183,2778,2845,3218,3710,3946,3393,3010,2932,2750,2689,2924,3028,2831,2126,1171,1016,1569,2099,2497,2492,2030,1891,1954,1510,1084,1593,2051,2059,2534,2958,3350,3422,3436,3653,3575,3527,3381,2850,2124,2066,2428,2753,2758,2433,2787,3037,2566,2039,1983,1762,1958,2467,2006,2266,2402,2227,1754,1685,2317,2462,2466,2686,2790,2790,2448,2127,2261,2326,2312,2066,1717,1785,2037,2298,2714,3038,3174,2612,2451,2396,1697,1574,1804,2495,2676,2591,2508,2254,2422,2445,2501,2344,2291,2502,2737,2733,2879,3252,3328,3107,1992,2175,2416,1956,1384,1753,2112,2165,2853,3410,3056,2468,2535,2592,2514,2417,2050,2254,2688,2535,2048,2253,3097,3708,3112,2701,2474,1878,2148,2281,2703,2728,2736,2598,2050,1914,2108,2066,2352,2854,2787,2554,2518,2246,2464,2679,3278,3113,2552,2469,2372,2125,1952,1834,2315,2406,2181,1858,1611,1650,1860,1919,2197,2498,2948,3028,2385,2117,2099,2420,2456,2337,2320,2675,2542,2441,2542,2064,1723,1702,1662,2442,3752,3181,2978,3074,2790,2427,1912,1864,1906,1517,1680,1814,1540,1528,1483,1538,1443,1463,1588,1640,1641,1650,1489,1649,2012,1866,1605,1581,1438,1440,1782,1836,1977,1600,1488,1644,1523,1527,1545,1434,1522,1732,1450,1458,1482,1467,1381,1470,1670,1499,1573,1857,2299,2146,1648,1509,1362,1572,1615,1713,1792,1753,1769,1750,1644],[2481,2333,2391,2476,2576,2647,2713,3121,3352,3146,3423,3663,3571,3471,3444,3709,3917,3384,3129,2910,2984,3168,3392,3629,3350,3155,2901,2871,2983,3271,2901,3327,3773,3708,3124,3463,3914,3874,4096,3945,3703,3675,3684,3290,3139,3151,3730,4078,3997,3672,3019,2861,3485,3530,3152,2530,2357,2449,2501,2634,2663,2599,2675,3183,3365,2439,1766,2008,2024,2272,2191,1790,2939,2990,2758,2752,2631,2212,2108,2662,3175,3422,3539,3303,3138,2839,2697,2501,2823,2692,2809,2546,2041,1896,1931,2344,2809,2446,2408,2518,2536,2966,3096,3431,3066,2480,2065,2162,2330,2559,2564,2696,2872,2863,2942,2643,2331,2260,2295,2798,2911,2856,2874,2823,2939,2776,2749,2951,3252,3407,3544,3616,3263,2976,2755,2604,2764,2900,2957,3269,3448,3377,2821,1947,1647,1849,2021,2778,3220,3439,3702,3548,3463,3417,2746,2175,1869,2459,2490,2562,2834,2186,2485,3124,2967,2917,2800,2370,1931,1667,1818,1951,1691,1764,1707,1523,2107,2083,1662,1911,2116,1641,1661,2010,1801,1907,1776,2021,2278,2301,2241,2132,2098,2197,2166,2017,2093,1902,2114,1991,1999,2003,2519,2729,2592,2578,2380,2162,2461,2855,2966,3117,3313,3289,2347,1774,2282,2350,2536,2518,2164,1762,1763,1939,2139,3041,3780,2943,1993,1952,2502,2213,2216,2250,2164,1992,2047,2321,2137,1820,1939,1932,1860,1806,2019,2058,1818,1991,2544,2832,3056,3204,2919,2263,1788,1825,2156,2333,2475,2744,2616,2293,2296,2049,1707,1789,2122,2946,4000,3908,3753,3576,3560,3560,3159,3200,3717,3797,3537,3062,2323,2025,2076,2225,2030,2091,2243,2230,2178,2179,2535,2729,2591,3067,3141,2506,2580,3099,3471,3694,4376,4121,2938,2342,2374,2625,2583,2800,3124,3206,3188,3099,3143,3140,2756,2651,2611,2288,2447,2396,2265,2791,3014,2662,2520,2930,3441,3672,3731,3833,3463,3275,3440,3042,2756,3205,3747,3875,3540,2997,3198,3354,3638,3682,3584,3492,3485,3538,3593,3546,3816,4135,3989,3891,3632,3465,3392,3392,3411,3478,3199,2807,2642,2207,2489,3267,3331,3134,3156,3399,3429,2931,2367,2568,2708,2249,2191,2629,2714,2634,2701,2620,2852,2655,2380,2443,2478,1875,2315,2009,1554,1769,1783,1556,1853,2275,1971,2297,2799,2765,2457,2740,2580,2488,2035,1986,2635,2474,2024,1776,1728,1686,1755,1931,2363,2138,2150,2264,2434,2609,2508,2211,2024,2153,2779,2978,2109,1942,1721,1729,1920,2756,3271,3060,2799,2126,1471,1729,2249,2370,2961,3166,3187,3160,3671,3572,3541,3695,3620,2639,2122,2301,2216,2053,1954,1769,2498,2962,2591,1941,1731,1976,2300,2138,1889,2451,2766,2740,2216,1864,1749,2053,2666,2840,2013,1882,1838,1707,2037,2275,2290,2331,2567,2697,2285,2850,2812,2402,2791,3109,2416,1792,2038,2158,1729,1669,1876,1837,2226,1859,1482,1821,1793,1599,1709,2248,2585,2526,2119,1975,1888,1700,1845,1721,1641,1930,1987,1675,1798,2020,2296,2152,1961,1862,1846,2453,3396,3683,3553,2791,2412,2075,1892,1983,2155,3023,4004,3891,3453,3250,3397,3723,3738,3391,3344,3775,3316,2283,1668,1737,1811,2052,3203,3647,3735,4259,4519,4277,3743,4227,4434,4467,4588,4689,4470,4056,3809,3342,3350,3087,2924,2905,3379,2748,2216,1768,1671,2636,3191,3372,3707,3941,3862,3548,3871,3914,3645,4156,3320,2477,2779,2773,2546,2326,1980,2124,3043,3068,2841,2753,2840,2676,2497,2456,2584,2997,2984,2517,2562,3218,3068,2391,2224,2708,2498,2020,2136,2297,1880,1642,1671,2064,2820,3257,3362,3485,3077,2390,1916,1738,1852,2592,2885,2248,1984,2013,2009,1692,2049,2423,2812,3117,2799,2624,2932,3233,3254,3310,3231,3064,2946,3067,3206,3152,3244,3387,3431,3350,3278,3304,3388,3509,3610,3665,3744,3473,3425,3229,3256,3168,3172,3221,3343,3361,3322,3225,3363,3442,3249,3203,3282,3327,3382,3360,3239,3162,3288,3352,3404,3842,3928,3774,3479,2722,2819,2643,2483,2123,2342,2980,2739,2908,3356,3118,2699,3073,4484,5330,4597,3371,3119,2498,2158,2247,2463,2076,1255,1382,1801,1775,1929,2118,2768,2481,2801,3131,2922,2965,2633,2358,2620,2844,2277,2108,2545,2583,3042,3223,3489,2865,2286,2144,2492,2133,1707,2251,2978,2531,2005,1984,2007,2170,2509,2504,2404,2501,2927,2955,2950,3300,3455,3493,4108,4369,3752,3518,3748,4308,3983,3923,3897,3695,3672,3760,3518,3243,3184,3256,3238,3089,3595,3400,2884,3305,3514,3429,2741,2872,3076,2631,2442,2359,2247,2250,2397,2068,2073,1968,1886,2005,2187,2248,2326,2704,2987,3009,2864,2653,2678,2641,1895,2284,2124,2189,2634,2369,2303,2409,2636,2580,1925,1936,2358,2663,2714,2542,2815,3662,3519,2944,2713,2836,3065,2620,2754,3442,3150,3017,3207,2921,3298,3516,3492,3554,3229,2480,2520,2698,2508,2315,2410,2719,2563,2878,3154,2835,2668,2844,2526,2114,2075,2276,2456,2486,2189,1901,1952,1771,1951,2103,2106,2564,2615,2065,1978,2094,1937,1613,1588,1623,1527,1724,1768,1519,1649,1937,1899,1942,1839,1974,2219,1944,2273,2846,3371,3272,3595,3606,2930,1924,1836,1613,1362,1404,1368,1537,1816,1882,1944,1749,1744,1708,1588,1619,2081,2332,2244,2166,2079,1925,2223,3199,3997,3554,3253,3240,2286,2620,2857,2886,2828,2851,3031,3451,3738,3311,2720,2634,2270,1733,1660,1548,1759,1648,1535,1577,1569,1808,2372,1923,1933,1689,1683,2249,2973,2971,2787,3033,3813,4156,4057,3205,1846,1394,1545,1508,1396,1724,1894,1593,1538,1430,1539,1450,1350,1432,1454,1477,1505,1769,2243,2098,2406,2146,1937,2070,2294,2243,1870,1542,1569,1812,2246,2953,2597,2376,2832,2433,2014,1738,1554,1423,1594,1954,1771,2010,2129,2224,2589,2111,1875,1857,2062,2228,2294,2053,2008,2800,3079,2711,3054,3178,2633,2131,1964,2374,2117,2327,2321,2166,2081,1792,1858,1809,1995,2491,2836,2833,3141,3231,3586,3735,3405,3386,4292,4321,2890,2031,2153,2054,2219,1776,1545,1680,1759,2009,2575,2878,3095,2731,2046,1913,2116,2584,2632,3000,2669,2324,2484,2902,3015,3159,3384,3438,3229,2661,2285,2314,2102,1940,1817,1740,2058,2275,1693,1621,1942,1833,1753,1669,2071,2956,3084,3503,3775,3197,3215,3134,3839,4437,4217,4081,3833,2737,2213,3659,3951,3992,4111,3805,3984,3681,3332,3062,2292,2154,2288,2595,2929,3583,3674,3465,3513,3735,4057,4208,4059,3867,3630,3103,2745,2787,2767,2485,2487,2691,3035,3459,3586,3730,3867,4247,4267,3807,3728,3672,3917,3434,2541,2002,2509,2662,2707,3377,3674,3764,3211,2553,3166,3562,2966,2365,2094,2092,2476,3260,3375,3378,3095,2620,2335,2298,2230,2057,2056,2171,2421,2446,2277,2233,2088,1933,1936,1942,1858,1858,1750,1627,1777,1914,2143,2254,2060,1763,1839,1718,2201,2733,2975,2456,1942,1843,2061,2048,1809,1918,2236,1966,1693,1627,1551,1896,1676,1381,1701,2073,2445,3025,2615,1583,1581,1883,2160,2376,1964,1553,1471,1636,1738,1849,1687,1542,1736,2481,3089,3227,2886,2907,3034,2714,2784,3100,3276,3131,2485,2055,2031,2373,2289,2233,2234,2011,2310,2610,2545,2459,2214,1970,2148,2316,2048,2368,2651,3182,3874,3156,2685,2684,2037,1878,1980,1912,1618,1600,1811,2191,2354,2546,2064,1806,1577,1527,2390,2878,2308,2554,3044,2784,2837,2544,2214,1919,2154,2484,2499,2937,3164,2644,2312,2416,2479,2661,3417,3496,2666,2740,2906,2696,2740,2194,1684,1799,2652,3016,2457,2143,2394,2643,2783,2160,2403,3467,3721,3408,3492,3316,3215,3572,3692,3530,3564,3117,3163,2656,1937,2645,3648,3897,4176,3681,3161,3215,3580,3897,3598,3276,3661,3602,3378,2775,2974,2945,3052,3168,3192,2609,2061,1835,1826,1974,1952,1612,1867,2029,2543,2750,2634,2467,3160,3629,3330,3440,3592,3083,2430,2094,1641,1898,2182,2039,1984,1960,1631,1684,1772,2028,2161,2100,1864,2032,2137,2225,2180,2381,1859,2349,2577,2302,2525,2802,2768,2977,3185,2131,2284,2311,2188,1966,2717,3066,3009,3095,2477,2175,2784,2440,2596,2395,2692,1566,1586,1925,1604,1583,1848,2209,2343,1587,1546,1625,1663,2009,2103,2998,3310,3306,3485,3643,3079,2492,2473,2011,1355,2160,3250,3670,3519,3276,3408,3636,3576,3664,3558,2800,2340,2795,2626,1875,2045,2713,2941,2611,2383,2397,2453,2977,3506,3937,3959,3139,2922,3297,3217,2775,2821,3076,2911,2496,1433,1206,1791,2214,2551,2711,2746,2246,1831,1570,1484,1742,1973,2299,2958,2856,2622,2442,2786,3633,3523,3241,2861,2606,2656,2978,3089,3038,3063,3038,3248,3480,2880,1835,1529,1622,1919,2833,2787,2616,2724,2480,1950,2207,2189,1847,2065,2523,2634,2471,2021,2126,2439,2440,2696,2789,2183,1767,1924,2622,2691,2740,2871,2346,2243,2587,2051,1823,1954,2480,2635,2396,2431,2474,2621,2612,2534,2546,2603,2584,2530,1393,2428,3532,2900,1961,1676,1714,2071,2155,2102,2420,2556,2096,3249,3528,2624,2175,2179,2060,2208,2430,2558,3096,3074,2171,1909,2453,3158,3516,2874,2652,2155,1915,2315,2278,2372,2701,2954,2737,2207,1694,2033,2053,2118,2665,2684,2674,2385,2202,2366,2993,3509,2998,2254,2131,2247,2543,2479,1989,2317,2188,1888,1702,1561,1799,1950,1753,1677,2257,2994,2474,1783,1720,2027,1985,1674,1936,2530,2876,2533,2610,2823,2057,1970,1803,1963,2274,2798,2602,2461,2522,2631,2853,2426,1752,1775,1570,1767,1744,1492,1541,1610,1700,1700,1737,1650,1527,1534,1464,1485,1602,1693,1649,1485,1577,1573,1538,1758,1631,1616,1548,1534,1512,1444,1518,1537,1433,1958,2061,1526,1392,1416,1332,1318,1465,1737,1955,1819,1702,1481,1359,1524,1491,1412,1444,1462,1687,1628,1699,1838,1805,1717],[2373,2420,2461,2642,2769,2624,2787,3212,3157,3052,3281,3725,4007,3826,3586,4038,4272,3745,3375,3522,3681,3699,3405,3241,3190,3271,3255,3315,3497,3249,2917,3571,4037,4123,4220,4047,3839,3818,3946,3925,3648,3614,3308,3076,2977,3046,3200,3427,3692,3576,3144,3175,3465,3327,3262,2634,2358,2859,3415,3122,2250,2159,2803,3198,3223,2540,1961,1772,1919,2622,2652,2486,2238,1860,2508,3526,3715,3187,2836,2742,3238,3400,3294,2998,2325,2028,2530,2666,2460,2442,2431,2185,2499,3031,2730,2396,2512,1874,2182,2579,2711,2698,3144,3842,3890,2739,2154,2348,2457,2333,2445,2414,2487,2618,2963,2859,2597,2546,2490,2453,2399,2452,2663,2485,2565,3021,3210,2669,3409,3653,3232,3145,3431,3204,2496,2450,2966,3218,3450,3740,3357,3147,2442,1753,1582,1583,1942,2819,3331,3407,3552,4003,3526,3250,2862,2132,1715,2407,2626,2589,2364,1891,2773,3849,3845,3526,2797,2350,2122,1910,1442,1347,1516,1982,1576,1294,1799,1927,1728,1635,1648,1524,1531,1896,1886,1981,1819,2047,2291,2445,2520,2399,2352,2367,2106,2209,2605,2139,2188,2157,1690,1958,2702,2331,2566,3031,2424,2199,2646,2777,2797,2773,3042,3228,2568,2019,2025,2227,2197,2229,2186,2226,2123,2242,2383,3164,3898,2444,1830,2513,2756,2452,2122,2030,2282,2345,2553,2849,2386,1586,1623,1876,2062,2355,2811,2654,2054,1641,2031,2545,2687,2502,2589,2017,1660,2061,1906,1774,2147,2402,2454,2371,2013,1397,1688,1941,2040,2482,3716,3842,3206,3272,3709,3724,3340,2995,3121,3394,3351,2864,1938,1710,1612,1832,2095,2234,2246,2154,2459,2567,2769,2624,2388,3200,3008,2492,2599,3364,3874,3910,4172,3977,2915,2047,2611,2990,2524,2895,3215,3153,3155,3221,3471,3785,3333,3044,2978,2564,2350,2875,3701,3630,3173,3144,3064,2865,2951,2963,3073,3077,3018,3025,3000,2744,2722,3216,3726,3826,3516,3293,3549,3447,3500,3522,3276,3143,3516,3919,3898,3663,3462,3337,3270,3490,3075,3384,3404,3274,3396,3598,3226,2801,2630,2561,2733,2782,2780,2604,2875,2958,2944,2723,2576,2642,2455,2309,2544,2910,2690,2812,2779,2513,2778,2688,2556,2614,2475,1867,1914,1732,1485,1813,1897,1464,1677,2221,1949,2019,2305,2346,2897,3036,2591,2586,2141,1977,2463,2586,2368,1823,2100,2133,1953,2316,3259,3016,2702,2264,2074,2620,2819,2658,2150,2463,3310,3389,2714,2194,1700,2147,2666,2898,2847,2261,2022,1810,1417,1535,1997,1835,3159,3293,2874,2958,2994,2651,2667,3134,3142,2648,2364,2208,2000,1846,2048,1989,2365,2421,2008,1772,1808,1925,2034,1957,1899,1716,2059,2937,2466,2082,1590,1412,1778,1864,1730,2015,2347,2415,2355,2051,2225,2403,2788,2445,1955,2589,2880,2556,2588,3090,3017,2600,2192,2178,1770,1667,1744,1814,2239,1783,1556,1752,2050,1884,1682,1903,2072,2197,1918,2216,2030,1824,1838,1693,1581,1955,1831,1680,1988,2215,2167,1921,1975,1871,2227,2782,3059,3631,3221,2801,2822,2230,1543,1850,2514,3376,3908,4040,3996,3648,2962,2899,2994,2923,2873,2416,1914,1753,1526,1767,1822,2691,3582,3222,3554,3997,4116,3863,3701,4047,4287,4057,4217,4561,4401,3991,3931,3776,3761,3527,3716,3742,3306,2691,2580,2080,2297,2825,2695,3244,3632,3637,3232,3306,3454,3161,3444,3763,2818,2665,3178,2632,2328,1876,1820,2335,3099,3375,3158,3760,3562,2932,2976,2920,2807,3165,3819,3248,2800,3137,2909,2245,2338,2551,2025,1677,2176,2598,2180,2101,2034,2324,2800,2909,3376,3720,3683,2789,1960,1880,2172,2929,2996,2498,2404,2610,2542,1835,2114,2549,2856,2998,2693,2139,2274,2819,2989,3089,3315,3337,3016,2989,3227,3461,3584,3483,3369,3299,3351,3465,3435,3400,3338,3382,3541,3560,3542,3408,3419,3304,3352,3372,3072,2976,3099,3061,3108,3204,3076,3051,3220,3290,3370,3413,3351,3238,3357,3499,3580,3796,4008,3977,3849,3334,2762,2778,2974,2464,2338,3010,3104,3059,3085,2441,2187,2840,4148,4937,4372,2573,1912,1897,2137,2209,2548,2490,1620,1299,1394,1732,1851,2179,3309,3499,3383,3423,2964,2468,2237,2007,2427,2687,2244,2430,3044,2551,2670,2886,2920,2674,2495,2007,1810,1876,1930,2527,2622,2063,2217,2211,2364,2122,2180,2413,2989,3289,3211,3072,3062,3022,2836,3164,3532,3561,3110,2664,2915,3378,3559,3948,3918,3701,3759,3828,3386,3064,2949,3200,3449,3535,3830,3452,3061,3333,3432,2861,2388,2520,2357,1974,2136,2162,1855,1977,2264,2140,2159,2255,2122,2154,2338,2503,2412,2317,2580,2675,2422,2413,2741,3097,2299,2205,2512,2770,2567,2502,2392,2213,2104,2092,1599,1665,2244,2370,2714,2546,2874,3409,3110,2995,3149,3382,3215,2389,2639,3106,2629,2187,2569,2610,2874,2770,2596,2967,2984,2607,2700,2938,2358,2571,2664,2864,2471,2789,3028,2879,2683,2597,2508,2541,2076,2166,2335,2503,2793,2132,1790,2187,2372,2138,2322,2661,2305,2159,2500,2386,2149,1795,1595,1533,1746,2077,1880,1586,1728,1938,1924,1838,1553,1996,2579,2061,2307,2902,2847,2835,3496,3104,2160,1948,2114,1902,1571,1581,1586,1620,1696,1697,1927,1677,1556,1679,1680,1729,2199,2524,2252,1863,1773,2430,3333,3348,3510,2961,3370,2796,2164,2482,2564,2658,2633,2676,3065,3752,3327,2872,2307,2426,2579,2157,1843,1760,1886,2136,2317,2366,2140,2139,2543,1893,1596,1577,1794,2004,2753,3115,2980,3493,4123,4099,3693,2482,1512,1547,1568,1363,1311,1720,1864,1851,1686,1487,1461,1365,1338,1477,1620,1599,1478,1710,1666,1647,1925,2232,2430,1990,1981,2513,2219,1615,1568,1867,1635,2163,2268,2358,2460,2173,1756,1463,1570,1532,2078,2447,1997,1768,1953,1926,2259,2149,1810,1693,2365,2487,2155,2154,2010,2230,2923,3495,3499,2833,2236,1895,1899,1904,1708,1667,1656,1685,2111,2460,2699,2580,2704,2482,2585,2885,3322,3144,3098,3432,3332,3334,3938,4328,2899,1984,2047,1863,1596,1690,1668,1732,2283,3007,3165,3066,2938,2806,2920,2351,2013,2169,2662,3331,3196,2639,2805,3131,2953,2787,2930,3044,2443,1906,2466,2526,2352,2090,1921,1661,1882,2251,1912,1798,2513,2956,2645,2479,3310,3958,3697,3872,4014,3703,3430,3529,4108,4400,4413,4424,3973,3321,2451,3461,4224,4532,4151,3395,3392,3331,2866,2512,1875,2264,2478,3063,3726,4168,3933,3634,4207,4626,4594,4558,4399,4187,3902,3459,3262,3225,3408,3536,3330,3043,3482,3663,3618,3727,3679,4384,4864,4808,4285,3791,3630,3191,2513,2356,2836,2446,2724,3132,2605,3140,2814,2310,2855,3207,2712,2186,2264,2173,2264,2803,3188,3351,3037,2609,2370,2304,2115,2042,1813,1895,2258,2454,2382,2424,2353,2197,2040,1977,1888,1876,1824,1818,1668,1628,1839,1918,1698,1699,1664,1658,1710,1963,2314,1987,1942,1881,2231,2084,1774,1735,1996,1769,1847,1966,1875,1808,1497,1776,2155,1792,2224,3344,2890,1652,1820,1883,2266,2632,2204,1619,1632,2005,1911,1798,1742,1985,2004,2302,2998,3551,3240,3254,3084,2857,2922,2754,2596,2351,1979,1859,1946,2236,2197,2362,2264,2085,2225,2306,2265,2347,2243,2000,2908,3150,2271,2210,3106,3548,3650,2770,2792,2516,2207,2368,2524,2003,1472,1424,1609,1798,2062,2359,1894,1500,1455,1530,1936,2116,1990,2321,2521,2569,2723,2603,2495,2168,2175,2557,2776,3154,3387,2805,2342,2261,1860,2029,3130,3486,2432,2548,2824,2632,2414,1936,1870,2025,2420,2743,2653,2463,2466,2586,2853,2283,2277,3164,3537,3333,3331,3414,3740,3783,3672,3632,3876,3457,3795,3420,2877,3185,3149,3145,3834,3523,3218,3381,3530,3804,3751,4006,3886,3475,3254,2829,2837,2986,3253,3408,2668,2049,1734,1758,1722,1667,1695,1654,2162,2575,2668,2831,2530,2003,2338,2310,2204,2598,2374,2079,1863,1710,1599,1831,2122,1918,1882,1791,1626,1637,2298,2836,2180,1898,2067,1814,1445,1311,1685,1772,1802,1986,2087,2378,2349,2155,2334,2778,2945,2349,1901,1838,2192,2588,2778,2931,3173,3074,2598,1888,1926,1654,1940,2031,2116,1545,1610,1587,1351,1535,1559,2056,2677,1901,1776,1888,2206,1848,1730,2790,3472,3457,3708,3550,2749,2377,2257,2134,2385,2853,3108,3267,2615,2204,2373,2779,2889,2976,3352,3009,2179,2279,2430,2088,1972,2483,2769,2473,2056,2013,2382,2983,3449,3472,2965,2511,2088,2288,2909,2985,2730,2874,2724,2518,2086,1891,2296,2525,2654,2896,2915,2292,2662,2291,2086,2001,1837,2023,2578,2763,2823,2663,2755,2900,3091,3056,2808,2778,3107,3264,3397,3252,3246,3282,3216,3276,2679,1649,1358,1498,1849,2361,2421,2159,2459,2529,2754,2986,2555,1988,2111,2619,2438,2402,2047,2370,2162,2294,2632,2900,2516,1843,2188,2952,2618,2363,2262,1813,1682,2039,1395,1901,2566,2876,2866,2469,2348,2652,2587,2314,2192,2688,2579,2470,2387,1977,2387,3072,2859,2962,2624,2025,2263,2131,2078,2515,2792,2209,2786,3157,2684,2147,2046,1926,1852,1819,2232,2850,2328,1504,1648,2189,2280,2502,2121,2381,2396,2470,2315,2078,2223,2454,2330,2348,2177,1873,1876,1725,1747,2420,2579,2626,2656,2378,2300,2754,3090,2451,2126,2199,2079,2625,2515,2243,1931,1679,1953,2109,2263,2322,2438,2250,1784,2308,2496,2056,1736,1587,1947,1969,2172,2852,3328,3212,2910,2635,2466,2586,2291,1706,1884,1940,2198,2221,1997,2041,2166,2408,2448,1961,1786,1419,1707,1798,1583,1575,1677,1833,1874,1669,1499,1584,1460,1400,1479,1588,1718,1624,1593,1520,1555,1614,1708,1811,1646,1492,1600,1684,1527,1874,1844,1804,2881,2578,1671,1592,1631,1534,1647,1537,1703,1972,1595,1473,1390,1355,1531,1913,1989,1925,1709,1687,1616,1598,1793,1906,1719],[2590,2975,2879,2702,2873,2784,3287,3348,2923,2986,3461,4128,4589,4548,4468,4564,4220,3080,2456,2711,3412,3741,3122,2857,3096,3139,3027,3162,3074,2997,3425,3876,3724,3715,3968,3875,3764,3727,3760,3748,3378,3131,3099,3019,2747,2908,2940,3021,3494,3727,3610,3594,3514,3571,2753,2088,2154,2675,2912,2842,2586,2113,2322,2273,2851,2408,2165,1822,2074,2709,3104,3168,2544,2557,2853,3159,3486,3285,2990,2836,3264,3397,3288,3144,2386,2091,2427,2306,2154,2400,2449,2571,2699,3419,3164,2831,2631,1803,1885,2436,2866,3056,3437,3942,3473,2720,2448,2024,2208,2243,2431,2518,2431,2556,2968,3216,3297,3310,2955,2421,2442,2457,2889,3040,3033,3408,3481,2875,3118,3016,2513,2677,3177,3206,2271,2201,2913,3107,3597,3792,3363,3199,2793,2081,1894,2067,2491,3007,3455,3401,3313,4249,3643,2953,2351,1720,1689,2293,2174,2002,1975,1969,3131,3994,3407,2736,2322,2202,2198,1638,944,967,1615,2239,2089,1571,1359,2414,2845,1790,1218,1682,2011,1878,1644,1820,1841,1902,2217,2621,2652,2451,2040,2173,2169,2519,2842,2653,2413,2189,1861,2253,2659,2645,2791,2821,2397,2421,2314,2247,2313,2015,1722,1968,2199,1756,1480,1575,1689,1814,2149,3242,2112,2025,2518,2840,3088,2293,1813,2004,2360,2281,1827,1763,2083,2465,2625,2992,2311,1680,1694,1780,2061,2552,2657,2394,1994,1930,2123,2266,2343,2163,2397,1938,1902,2092,1677,2119,2718,2703,2693,2604,1808,1090,1774,1930,1663,1782,2490,3330,3407,3359,3629,3743,3299,2836,2787,2912,3221,2697,1875,1662,1693,1655,1837,1769,1714,2162,2629,2712,2907,2302,2237,3063,3150,3236,3259,4062,3880,3703,3798,3631,2741,2150,2345,2683,2758,2902,3144,3294,3516,3752,3545,3332,3413,3559,3166,2340,2298,3249,4080,3966,3574,3485,3333,2919,2877,2939,2786,2722,2971,3300,3190,2878,2690,3212,3443,3174,3197,3111,3249,3326,3163,2940,3096,3414,3680,4041,4064,3825,3451,3360,3316,3231,2855,3106,3284,3203,3132,3038,2834,2701,2584,2916,3248,2406,2177,2264,2917,2819,2643,2628,2786,2556,2276,2552,2624,2742,2725,3030,2669,2412,2440,2319,2340,2587,2533,2078,1886,1865,1619,1672,1878,1541,1954,2693,2853,2289,1937,2394,2950,2780,2717,2759,2433,2372,1981,2210,2048,1801,2247,2315,2136,2081,2108,2510,2787,2099,2029,2675,2908,3199,2670,2805,3671,3927,3191,2130,1836,2287,2541,2585,2390,1475,1686,1783,1635,1772,2147,2104,3030,2643,2280,2658,2512,2455,2756,3104,2990,2272,2110,1953,1775,2118,2696,2689,2051,1777,1814,1688,1646,1679,1646,1962,2021,1825,2272,3202,2250,1677,1822,1651,1484,1705,1712,2020,2604,2793,2643,2605,2563,2820,3185,2286,1767,2410,3095,2995,2946,3455,3486,2818,2152,2527,2004,1722,1678,1551,1728,1913,1805,2080,2491,2068,1872,1828,1385,1573,1514,1883,1809,1729,1697,1678,2038,2310,2015,2095,1771,1861,2155,1602,1747,2231,2559,2955,3239,3191,2521,2463,2642,1807,1443,1700,2758,3319,3365,3672,3612,3402,2797,2576,2821,2932,2542,1946,1799,1499,1520,1718,1920,2537,2620,2773,3293,3167,3322,3662,3523,3522,3820,3536,3597,4211,3958,3776,4189,4263,4020,3714,3567,3583,3297,3132,2602,2127,2718,2603,2598,3322,3248,3237,3155,3275,3415,3173,3293,3239,2556,2596,2486,2455,2439,2341,2287,2972,3276,3259,3552,4025,3614,3315,3057,2911,3043,3631,4242,3345,2310,2359,2554,2490,2944,2896,2561,2197,2180,2065,1767,2019,2048,2530,2587,2410,3293,4051,3992,2879,2008,1827,2043,2574,2516,2630,2811,2990,2614,2242,2456,2757,3077,3130,2767,2167,1938,2392,2862,2822,3116,3166,2805,2813,3200,3584,3649,3475,3355,3314,3454,3528,3360,3318,3344,3329,3172,3330,3393,3372,3440,3333,3418,3348,3022,2761,2765,2698,2764,2940,2583,2581,3118,3296,3285,3572,3637,3558,3500,3595,3807,3880,4154,4158,4040,3863,3403,3846,3914,2674,2370,3065,3396,3286,2996,1995,1813,2567,3450,3960,2830,1822,1529,1477,1533,1791,2396,2401,2210,1805,1632,1725,1830,1716,1942,2349,2568,2797,2397,2075,2062,1934,2305,2669,3019,3312,3363,2424,2318,2123,2077,2416,2625,2219,1960,2325,2299,2277,1900,1784,2277,2253,2714,2230,1918,2463,3268,3163,2732,2987,3265,2772,2336,2864,3211,3363,3253,3133,3134,2841,3475,4055,3922,3820,3828,3451,3074,2755,2784,2942,3636,3765,3401,2897,2851,3549,3165,2186,2390,2226,1653,1819,2238,2099,2302,2420,2271,2512,2945,2712,2285,2413,2506,2609,2524,2394,2531,2840,2688,2535,3018,2808,1729,1348,2185,2348,2164,2720,2271,1862,1749,2029,1763,1859,2433,2458,2744,2548,2597,2973,2951,3084,2859,2492,2373,2081,2404,2945,2735,2083,1843,1766,1699,1897,2245,2425,2298,2415,2396,2641,2035,2221,2415,2708,2666,2462,2419,2503,2467,2408,2821,3012,2183,1771,1855,2069,2544,2406,2143,2039,2260,2591,2575,2367,2511,2868,3405,3094,2417,2034,1837,1698,1686,1716,1632,1491,1509,2031,2436,2342,1803,1935,1875,1853,2465,2939,3023,3218,3206,2473,1941,1782,1781,2220,2653,2099,1701,1573,1599,1687,1742,1670,1587,1705,1881,1750,2013,2381,2320,2100,2198,3419,3485,2938,2464,1923,2626,2662,2310,2277,2409,2571,2391,2541,3446,3720,2577,2521,2294,2511,2359,2036,2160,2063,2515,3336,3363,3001,2393,1964,2235,2024,1971,2051,1977,2152,2918,3260,3082,2850,2860,3256,2978,2084,1491,1710,1772,1555,1489,1651,1719,1821,1840,1712,1365,1434,1397,1549,2131,1963,1816,1994,1687,1405,1603,2203,2353,1806,2092,2358,1902,1758,2003,1746,1515,1909,2379,2787,2555,2220,1775,1344,1400,1737,2688,2589,2289,1763,1539,2070,2474,2184,1808,2026,3011,2813,2071,2024,1896,2207,3084,3476,3299,2610,2544,2654,2072,1716,1748,1762,1620,1193,1570,2443,3011,3040,3095,2766,2535,2569,2784,2875,3041,3024,3083,3375,3805,4289,3265,2255,2587,2107,1470,2002,2147,1919,2450,2819,2755,2833,2651,3124,3242,2664,1954,1904,2719,3396,3632,3430,2963,3088,2819,2435,2783,3410,3241,2119,2574,3121,2822,2431,2151,1797,2012,2219,2229,2532,3378,3689,3593,3754,3927,3992,4002,4048,4153,4252,3960,3893,4096,4018,3884,4244,4293,3816,2750,3076,3994,4420,4524,3516,2708,3142,2808,2329,2640,3842,4135,4103,4066,4184,3880,3601,4121,4443,4211,4256,4025,3802,3559,3394,3428,3547,3751,3761,3515,3311,3471,3468,3770,4245,3892,4288,4492,4620,4545,4203,4192,3472,2663,2217,1880,1691,2551,3133,2128,2480,2983,2750,2619,2523,2180,1925,1901,1543,1659,2320,2832,3221,2972,2850,2334,2237,1940,1982,1964,1755,1952,2454,2569,2398,2407,2359,2131,2098,2046,2050,1880,1623,1528,1446,1537,1798,1810,1782,1789,1982,2002,2038,2072,1992,1919,2171,2355,2048,1821,1872,2027,1796,1719,1816,2037,1887,1670,1720,2122,2142,2596,2569,2884,2718,2519,2191,2259,2336,2169,1888,1923,2141,1821,1625,1710,2227,2292,2811,3761,3484,2895,2853,2908,2820,2689,2431,2137,2077,2130,2293,2439,2545,2470,2568,2408,2053,2058,2113,2019,2118,2187,2280,3150,3855,3273,2319,2740,3742,3714,3215,3124,2900,3186,2668,2469,1809,1423,1493,1569,1478,1599,1804,1714,1751,1798,1590,1701,1807,1733,1754,2295,2607,2932,2812,2458,2268,2324,2603,2840,2980,3317,2838,2584,2568,2259,2095,2725,3088,2357,2365,2780,2773,2199,1874,2019,2288,2479,2616,2824,2343,2411,2788,2721,2164,1791,2383,3184,3292,3355,3508,3783,4059,3820,3961,4051,3798,4005,3817,3394,3396,2515,1980,2946,3572,3587,3727,3772,3936,3514,3340,3100,2922,2831,2835,2872,3066,3880,3220,2342,2174,1740,1984,1925,1664,1616,1983,2360,2788,2472,1907,1970,1711,1782,1856,2042,1715,1748,1786,1738,1656,1542,1881,2119,2045,1785,1862,1834,1803,2875,2881,2213,2024,2063,1667,1306,1361,1502,1901,2261,1641,1704,2169,2141,1835,1997,2331,2813,2975,2479,1954,2220,2703,2688,3095,3283,3292,2631,1852,1732,1749,1980,1933,1652,1544,1700,1650,1706,1893,1703,1902,2077,2155,1920,1764,2131,1838,1873,3017,3671,3661,3752,3153,2175,2193,2380,2767,2976,2412,2533,3127,2888,2421,2662,2710,2510,2445,2963,3050,2844,2532,2530,2296,2235,2325,2198,1951,1992,2382,2741,2974,3516,2127,1542,2038,1990,2610,3228,2973,2645,2736,2586,2341,2407,2383,2525,2429,2492,2888,3344,2372,2407,2547,2443,2368,1992,1785,2064,2303,2596,2371,2416,2718,3353,3086,2894,2997,3249,3445,3494,3173,3030,2807,2751,2918,2477,1705,1377,1537,2129,2322,2154,1855,1968,2295,2745,3037,3022,2219,2052,2424,2710,3386,2757,2509,2633,2231,1978,2273,2037,1648,1902,2666,2999,2689,2013,1720,2120,2392,2004,2274,3008,3200,2688,2647,2454,2642,2578,2197,2266,2965,2865,3200,3305,3082,3033,3098,2856,3077,3188,2665,2461,2128,2176,2561,2641,2494,2929,3032,3174,3029,2499,2474,2378,1691,1707,2329,2344,2046,2172,2308,2758,2568,2278,2558,2741,2465,2146,2120,2204,2120,2415,2499,2305,2187,2230,2014,2105,2525,2263,2040,2247,2298,2163,2600,2814,2183,2381,2604,2146,2054,2251,2494,2180,2262,2724,2544,2344,2442,2674,2335,1979,2610,2616,1984,1657,1703,1844,2396,3062,3458,3416,3168,3032,2312,2057,2780,2094,1747,2271,2721,2856,2589,1990,2016,2343,2076,1818,1842,1591,1639,1712,1768,1693,1680,1686,1631,1577,1489,1615,1674,1441,1486,1412,1410,1528,1361,1411,1466,1443,1553,1777,1959,1688,1633,1638,1565,2056,2803,2365,2387,2797,2172,1612,2009,2167,1649,1604,1550,1475,1537,1484,1571,1467,1359,1615,1864,2078,2031,1923,1924,1720,1469,1658,1633,1532],[2756,3128,3348,2902,2954,2792,2967,2922,3067,3494,3920,4400,4403,4327,4345,3891,3441,2115,1627,1745,2842,3163,2647,3008,2980,2498,2431,2384,2100,2247,2752,3431,3374,3422,3500,3818,3947,3837,3458,3184,3183,3091,3263,2965,2386,2676,3048,3374,3850,4069,3661,3461,2876,2965,3288,3117,2843,2546,2134,2624,3054,2709,2956,2956,3116,2494,2237,1830,1894,2095,2894,3528,3072,2468,2086,2261,2956,2830,2472,2451,3174,3652,3469,3110,2546,2393,2448,2182,2340,2521,2518,2508,2208,2905,2953,2339,2024,1882,1938,2647,3052,2285,2082,2953,3017,2922,2183,1920,2321,2409,2521,2710,2532,2369,2886,3558,3598,3426,2968,2396,2353,2419,2780,3050,2956,3128,3289,2915,2880,2897,2498,2654,2955,3303,2602,2471,3088,3492,3601,3615,3315,3319,3074,2293,2461,2723,2762,3127,3197,3224,3310,3154,3356,3035,2326,1929,2096,2266,1888,1986,2059,2085,2784,2697,2258,2141,2175,2004,2010,1732,1358,1383,1658,2012,2365,2149,1891,2975,2957,2294,1622,1872,2076,1672,1548,1804,1995,1945,2022,2368,2259,2189,2827,2585,2442,2472,2567,2665,2731,2216,1930,2169,2213,2292,2792,2812,2591,2504,2102,2271,2490,2152,1975,2069,1909,1576,1530,1579,1780,2231,3012,3631,2935,2568,2264,1983,2164,2142,1982,2193,2263,2142,2425,2131,2114,2349,2174,2306,1842,1586,1739,1787,2015,2533,2554,2211,2073,2552,2175,2542,2488,2156,2518,2401,2303,2322,2184,2710,2824,2375,2822,3116,2186,1712,2171,2114,1624,2143,2106,2170,2912,3366,3520,3329,3186,3416,3023,3024,3279,2325,1731,1709,1760,1737,1755,1787,1925,2604,2847,2917,2535,1945,2787,3318,3232,3683,4051,3794,3410,3597,3786,3389,2302,2279,2271,2797,3131,3030,3110,3347,3683,3790,3404,3200,3536,3381,2193,1525,2525,3652,3860,3820,3630,3308,3347,3197,3144,3064,2858,2840,3153,3441,3414,3082,2609,2977,3388,3352,3544,3337,3249,3174,2965,3032,3400,3344,3218,3505,3704,3558,3332,3370,3334,3042,2814,2683,2714,2819,2742,2368,2064,2475,2460,3042,3197,2711,2087,2268,2746,2711,2733,2707,2809,2582,2552,2745,2714,2351,2217,2320,2322,2344,2224,2029,2210,2494,2574,2510,2148,1980,1689,2107,1770,1619,2011,2694,2545,1975,2182,2813,3128,2922,2720,3010,2562,2275,1918,2104,1902,1738,2206,2578,2309,2425,2612,2548,1974,1791,2237,2473,2638,2962,2962,3503,3825,3829,2900,1962,1993,1905,1853,2246,2442,1396,1992,1635,1968,2042,2094,2491,3168,3083,3112,3477,3152,2608,2237,2857,2828,1991,2045,2139,1960,1969,2419,2364,1721,1721,1762,1817,2113,1933,1907,2026,1732,1405,1890,2440,1881,1942,2180,2004,1539,1625,1765,1837,2360,2402,2237,2566,2736,2686,2975,2653,2191,2696,3123,2978,3225,3696,3857,2434,1957,2403,2013,1987,1880,1504,1708,1951,2072,2676,2752,2776,2432,2132,1715,1553,1643,1687,1672,1616,1730,2030,2215,2199,2323,2285,1713,2265,2808,2046,2433,2722,2676,3098,3282,2587,2026,2060,2042,1665,1719,2182,3238,3418,3420,3777,3738,3281,3029,3106,3065,2770,2461,2468,2460,1725,1810,1782,1934,1929,1766,2176,2342,2285,2828,2850,2633,3248,3610,3199,3362,3874,3652,3739,4252,4419,4492,4131,3451,3228,2810,2089,1871,2769,2934,2504,2652,3059,3331,3281,3004,3315,3698,3204,3206,3333,3028,2667,2440,2215,2402,2408,2933,3421,2980,3007,3440,4313,4183,3281,2732,2664,2996,3713,3959,2953,2024,2302,2696,3188,3508,2976,2813,2377,2142,1935,1813,1902,1806,2200,2608,2389,2518,3553,3504,2381,2122,2112,1823,2597,2619,2655,2455,2602,2476,2395,2577,2736,2920,3163,3660,2619,1937,2023,2344,2656,2968,2997,2893,2973,3206,3404,3278,3183,3277,3231,3204,3249,3205,3232,3147,2930,2895,3183,3416,3562,3654,3638,3537,3209,3149,3235,3001,2885,3112,3134,2741,2675,3094,3253,3506,3781,3736,3962,3742,3591,4096,4131,4124,4090,3771,3540,3852,4046,3129,2185,2246,2457,3010,2878,2407,1960,2244,2511,2784,2828,2647,2439,1846,1795,1214,1622,2426,1970,1932,1940,1822,1676,1578,1591,2430,3008,2831,2613,2447,2139,2257,2171,2298,2355,2802,3137,2836,2518,2601,2322,2115,2511,3007,2453,1976,2279,2460,2298,2201,1926,1973,2118,2454,2267,1782,2126,2962,3234,2842,3430,3161,2811,2177,2451,3389,3764,3498,3264,3067,2931,3388,3997,4073,3987,3905,3349,2917,2892,3234,2978,3608,3616,2953,2874,3401,3562,2807,2524,2647,2177,1857,2415,2522,2342,2496,2646,2621,2829,3210,2710,2542,2972,2844,2988,2990,2821,2684,2948,2807,2534,2648,1859,1087,1343,1910,1903,2059,2062,2327,2055,2171,2460,1958,2058,2519,2435,2537,2624,2852,2644,1759,1618,1951,1618,1624,2026,2950,3339,3499,2754,1726,1718,1759,1627,2003,2455,2234,2214,2214,2374,2100,1986,2396,2266,1926,2000,1885,1897,2256,2483,2438,2462,2332,1564,1730,2259,2719,3001,2532,1835,1944,2969,3354,2882,3237,3251,3304,3613,3373,2755,2261,1703,1448,1384,1574,1692,1724,2565,2783,2312,2071,2021,1707,2094,2701,2831,3076,3216,2841,2365,2102,1619,1828,1981,2812,2799,2020,1593,1771,1752,1568,1716,1836,2159,2531,2424,2098,2306,2486,2193,2520,3653,3633,2442,1421,1346,1571,1840,2266,2496,2422,2413,2540,3001,3891,3632,2846,2483,2579,2608,2380,2810,2843,2291,2469,3002,2932,2451,2349,1894,2016,2498,2930,2785,2603,3095,3464,2745,2120,1902,2456,2575,2548,2134,1628,1852,1819,1453,1455,1331,1754,1891,1816,1545,1305,1400,1420,1451,1886,2069,2181,2070,1691,1469,1684,1843,2000,1697,1921,2070,2254,2326,2334,1796,1606,2062,2643,2801,2454,2438,2006,1435,1417,1609,2081,1882,1600,1433,1341,1742,2050,2215,2026,1835,2878,2741,2244,1830,1942,2279,3062,3398,2807,2361,2501,2026,1587,1536,1588,1706,1604,1198,1520,2407,2802,2947,3088,2757,2413,2564,2566,2609,3038,3430,3396,3513,3898,3570,2896,3102,3963,3291,2335,2801,2418,1597,2040,2606,3331,3476,3112,3408,3484,3232,2304,2312,3364,3665,4026,4176,3396,2802,2592,2677,3355,4040,4444,3483,2949,3190,3225,2741,2397,2351,2588,3140,3094,2900,3244,3708,3859,3958,3935,3858,3823,3775,4104,4484,4436,4338,4392,4122,4048,4300,4424,4060,3056,2910,3464,3876,4320,3842,3328,3792,3462,2810,3216,3926,4251,4111,3869,3573,3243,3255,3786,4155,3791,3840,3663,3614,3443,3450,3513,3684,3680,3457,3418,3426,3416,3571,3891,4255,3934,4006,3796,4184,4276,4066,4227,3550,2754,2512,2215,2029,2778,3476,3274,3553,4200,3307,2154,1569,1502,1429,1268,1107,1752,2543,2861,3191,2843,2613,2358,2119,1821,1853,1896,1878,2048,2202,2193,2157,2492,2482,2200,2070,2221,2120,1670,1509,1566,1500,1904,2365,2360,1970,2172,2397,2448,2170,2068,1820,1788,1937,2188,2484,2472,2525,2591,2050,1615,1535,2049,2330,2008,1764,1730,2258,2276,2119,2611,2674,2695,2639,2344,2153,2164,2159,1811,2112,1792,1618,1795,2162,2049,2422,3168,3023,2646,2683,2974,2981,2856,2731,2355,2469,2734,2567,2452,2652,2729,2709,2525,2332,2132,2105,2004,1824,1888,2012,2786,3598,3442,2779,3021,3962,3558,2711,3464,3985,3632,2175,1974,1817,1649,1494,1397,1445,1705,1902,1651,1511,1675,1960,2013,2062,1860,2049,2526,2753,2898,2487,1998,2098,2416,2764,2996,2749,3060,2835,2774,2975,2862,2452,2141,2195,2339,2297,2445,2492,2392,2534,2361,2478,2404,2888,3178,2740,2424,2622,2612,2116,1845,2000,2450,2762,2998,3330,3581,3924,3551,3552,3618,3607,3730,3812,3858,3580,2928,2431,2916,3681,4100,3972,4092,3968,3274,2433,2152,1919,1688,2301,2380,2013,2627,2177,2437,2564,2315,2194,2666,2643,2412,2309,2305,2559,2305,2029,2148,1829,1865,2277,2220,1760,1784,1743,1689,1418,1612,2601,2476,2155,1976,2178,1878,1942,2301,2291,2128,2095,2161,1959,1906,1918,1958,2389,2353,1801,2005,2342,2656,2119,2053,2409,2718,3054,3017,2680,2815,3145,2930,3666,3574,3393,2350,1575,1645,1594,1330,1405,1406,1393,1818,2186,2087,2470,2131,2193,2096,2085,1528,1238,1836,2480,3208,3614,3798,3671,3586,3074,2592,2583,2886,3108,2835,2321,2394,3073,3770,3461,2998,2416,2021,2219,2807,3205,3115,2590,2567,2315,2047,2155,2489,2858,2656,2798,2884,2761,3051,2236,1954,2492,2938,3343,3391,2931,2812,2690,2614,2355,2410,2325,2430,2436,2477,2820,3184,2440,2207,2669,2792,2514,2308,1857,2358,2476,2358,2049,2026,2836,3522,3463,3018,2854,3031,3083,3562,3182,2743,2589,2880,2808,2719,2045,1852,2280,2301,2454,2481,1743,1694,2196,3031,3741,3725,2898,2199,2267,2920,3554,2884,2236,2564,2624,2354,2076,2060,1921,1794,2271,2498,2376,2141,2131,2695,3172,3503,3392,3038,2603,1786,2279,3139,3406,2984,2711,3023,3274,3398,3429,3163,3095,3472,3123,2476,3203,3917,3618,3097,2853,2824,2932,2918,2679,2791,2931,3204,3582,3316,3104,2512,1829,1645,2494,3189,3086,2684,2605,2448,1919,2455,2721,2290,2141,2163,2094,1828,2147,2436,3033,2908,2343,2436,2549,2344,2371,1950,1824,2082,2342,2042,2005,1808,2107,2646,2728,2443,2226,2350,2596,2442,2891,3106,2267,1618,1846,2176,1971,1754,2146,2459,2289,2236,2341,2050,2568,3227,3518,3075,2424,2116,2057,1854,1796,1945,2148,2621,3127,2906,2280,1977,1923,2346,2015,1617,1573,1638,1882,1788,1742,1798,1759,1546,1405,1481,1642,1511,1451,1426,1552,1535,1465,1409,1249,1422,1528,1549,1647,1741,1895,1958,1965,1721,2061,3111,3198,2525,2457,2454,1969,1820,2005,1932,1682,1618,1525,1554,1762,1883,1629,1348,1333,1679,1662,1354,1544,1940,1881,1753,1580,1736,1795,1646],[3515,3480,3702,3427,3541,3499,3212,2769,3028,3506,3582,3865,4062,3525,3232,2749,2714,2540,2267,2207,2820,3611,3609,3131,2814,2501,2592,2417,2062,2024,2661,3261,3347,3405,3540,3738,3675,3740,3538,3282,3403,3344,3574,2977,2552,2607,2975,3618,4188,4099,3549,3128,2501,2643,3128,3509,3156,2754,2696,3084,2923,2713,3341,3271,2709,2380,2220,2028,1943,2274,2460,3018,2938,2384,2394,2921,3061,2801,2345,2206,2525,2719,2755,2468,2611,2553,2410,2579,2356,2610,2701,2509,2175,2802,2725,1725,1574,1973,2041,2027,2345,1742,1421,2844,3172,3292,2784,2370,2274,2455,2614,2535,2464,2184,2652,3270,3260,3169,2632,2326,2034,2346,2766,3042,3119,3197,3309,2904,2736,2974,2735,2836,2898,3286,3327,3315,3834,3870,3828,3873,3409,3248,3234,2918,2916,3008,3002,3134,2577,2960,3484,3815,3968,3348,2737,2332,1964,1919,1953,2002,1836,1721,2076,1972,1934,1972,1810,1771,2136,1831,1543,1454,1560,1640,2098,2568,2431,2556,2127,2139,1883,1695,1696,1612,1598,1812,1973,2081,1983,2253,2007,1759,2951,3126,2533,2247,2397,2679,2513,2046,1931,1784,1874,2369,3253,3277,3166,2587,2088,2370,2463,2433,2519,2204,1980,1926,2201,1905,1958,2564,3673,3117,3394,3526,2214,1987,2623,2209,2030,1896,2177,2425,2685,2453,2316,2290,1954,1682,1571,1637,1765,1615,1781,2110,2435,2854,2765,2696,2045,2173,2142,2028,2276,2170,2579,3098,2544,2171,2145,1798,2127,2438,2231,2080,2447,2186,1597,1671,1649,1736,2389,2765,3217,3051,3341,3588,3286,3488,3034,2018,1677,1649,1776,1813,1719,1813,2121,3081,3004,2979,2511,2387,3163,3557,3333,3637,4200,3830,3262,3206,3503,3497,2531,2400,2654,3007,3359,3370,3116,2862,2835,2952,2835,3090,3764,3250,1614,1237,2626,3397,3990,4050,3642,3470,3332,3109,3135,3111,3067,3197,3586,3592,3461,3087,2930,3274,3635,3800,3841,3530,3319,3394,3395,3436,3385,3265,3140,3105,3200,3062,2896,3044,3138,3046,2796,2435,2371,2591,2688,2420,2071,2403,2376,2821,2904,2531,2189,2501,2601,2586,2809,2661,2724,2934,2884,2697,2328,2096,1936,1903,1951,1983,1865,1929,2260,2066,2010,1981,2255,2309,2181,2060,1723,1708,1844,2412,2467,2153,2713,3261,3029,2629,2499,2737,2451,2084,1992,2284,2123,1692,2313,2940,2812,2996,2194,1819,1471,1764,1796,1897,2778,2987,2720,3044,3406,3396,2660,2388,2106,1836,1765,1967,2172,1559,2054,1791,2217,2334,1802,2164,3317,3395,3257,3683,3428,3258,2601,2955,3242,2969,2663,2794,2821,2287,2320,2207,1762,1641,1659,1936,1901,1736,2040,1851,1547,1437,1942,2274,2741,2916,1914,1716,1614,1955,2288,1702,2248,2534,2424,2429,2367,2545,2933,2567,2690,3041,3017,3019,3285,3521,3117,2191,2037,1990,1749,1745,1794,1826,1948,1818,2039,2348,2561,3814,3323,2881,2176,1505,1604,1644,1624,1718,1917,2101,2421,2437,2776,2643,1999,1861,2655,2302,2535,3118,3146,3414,3238,2317,1967,2030,1938,1852,1844,2841,3488,3553,3549,3826,3996,3871,3643,3420,3199,2231,1933,2562,2465,1813,1767,1691,1682,1896,1959,2130,1897,2219,2375,2025,2164,2701,3588,3163,3046,3495,3626,3872,4101,4378,4289,3937,3763,3328,2675,1770,2100,3400,3129,2586,2517,2933,3366,3218,3022,3273,3231,3004,3284,3506,3394,2535,2166,2076,2201,2380,3416,3255,2212,2229,2243,2753,3094,2545,2574,2776,3119,3502,3257,2398,2071,2197,2741,3206,3555,3160,2386,1870,2179,1986,1914,2394,2296,2202,2698,2557,2136,2658,2631,1994,1869,2021,1899,2460,2635,2128,2100,2531,2201,2124,2199,2536,2937,3171,3404,2763,2442,2167,2088,2482,2834,3039,3167,3220,3200,3087,2902,3243,3263,3119,2958,3046,3091,3153,2961,2763,2850,3176,3488,3709,3768,3868,3638,3304,3333,3419,3299,3252,3382,3343,3118,3133,3329,3362,3792,3715,3717,3702,3407,3829,4059,3616,3550,3794,3466,3090,3376,3118,2256,1991,2008,2288,2651,2191,1923,2083,2437,2475,2332,2364,3118,3632,2898,2828,1798,1281,2040,2147,1865,1959,1675,1476,1562,2287,3421,3542,2941,2672,2938,2889,2351,1987,1974,1476,1627,2622,2961,2900,2746,2421,2167,2634,2763,2343,2039,1823,2501,2615,2663,2472,2282,2193,2167,2087,1733,1928,2557,3016,3331,3477,2820,3040,2744,2607,2899,3151,3232,3320,3270,3004,2791,3661,3677,3565,3762,3666,3357,3554,3718,3642,3837,3506,2966,3129,3480,3059,2381,2556,2543,1949,1752,2184,2897,3056,2735,2899,2890,2866,3042,2889,2778,3285,3212,3254,3172,2857,2774,2968,2875,2710,2444,1929,1815,1829,2135,2524,2700,2846,2768,2116,2181,2203,2357,2828,2690,2757,2575,2520,2986,2272,1210,1051,1670,1782,1865,1841,2460,3344,3326,2414,1808,1859,1874,1671,1736,2164,2215,2265,2147,2499,2491,2454,2364,1837,2067,2270,1841,1505,1919,1845,1761,1960,2294,1655,1811,2476,2313,2418,2430,2243,2341,3222,3614,3487,3643,3065,2788,3584,3843,3393,2702,1828,1618,1560,1598,1632,1886,2266,2120,1837,2028,2265,2363,2656,2820,2414,2386,2374,2413,2396,2220,1793,1822,1731,2740,3441,2776,1863,1650,1561,1649,2133,2515,2438,3354,3239,2246,2270,2397,2079,2084,2670,2579,1587,1415,1576,1573,1666,2636,3201,3065,2823,2750,3473,3808,3484,3210,2899,2829,2630,3008,3018,2382,2033,1895,1708,1919,2497,2393,2115,2325,2953,3060,3041,3340,3273,2668,2221,1866,2180,2679,2832,3193,2622,1818,1977,1648,1745,1939,1567,1705,1838,1784,1564,1453,1452,1439,1858,2461,2405,2007,2118,2270,2110,1696,1666,1936,1878,1732,1991,2412,2391,2177,1627,1448,1786,2128,2142,2231,2340,1932,1348,1214,1398,1476,1502,1496,1391,1356,1287,1389,1745,1644,1469,2216,2580,2481,2225,1801,1791,2622,2737,2012,1855,1970,1551,1494,1753,1703,1628,1752,1758,1948,2231,2543,2756,2675,2663,2842,3105,2980,2662,3074,3332,3449,3648,3658,3304,2981,3165,4181,4278,3263,3242,2733,2020,2532,2709,3505,3496,3562,3491,3347,3555,3167,3253,4085,4043,4185,4390,3873,3012,3292,3803,4122,4288,4405,4373,4101,3764,3488,2789,2320,2391,2521,3004,2743,2372,2403,2920,3537,3862,3948,3824,3624,3636,4245,4385,4401,4436,4466,4333,4206,4200,4059,3862,3349,2532,2633,3536,4061,4331,4632,4360,3499,3103,3454,3891,4240,4404,4228,3873,3507,3253,3627,3857,3447,3414,3530,3498,3418,3385,3366,3609,3843,3924,3818,3707,3738,3803,3870,3884,3853,3679,3630,3903,3801,3883,4081,3399,2524,3049,3697,3552,3240,3447,3763,3707,3942,3348,1872,1324,1510,1749,1335,1034,1944,2745,2944,3171,3074,2894,2103,1583,1755,1821,1855,1884,1863,1838,2083,2665,2989,2755,2358,2220,2289,2032,1631,1668,1710,1998,2285,2225,2108,2183,2322,2177,2175,2006,1946,1772,1918,1938,2451,3203,3122,3012,2802,2494,1880,1725,1809,2272,2279,2315,2098,2238,2079,2085,2160,2385,2796,2810,2057,1771,1587,1683,1561,1750,1637,1652,1855,1959,1998,2384,2972,3111,3229,3182,2994,2938,2953,2694,2543,3129,3382,2853,2631,2835,2493,2453,2494,2364,2296,2268,2428,2177,1888,1800,2455,3063,3183,3414,4176,4037,2651,2113,2799,2897,2804,2030,1761,2016,2027,1569,1410,1408,1805,2407,1975,1693,2083,2439,2083,1973,2426,2570,2544,3047,3209,2180,1711,1821,1988,2347,2741,2419,2599,2811,2824,2840,2545,2193,2030,2347,2592,2273,2512,2570,2768,2702,2432,2431,2891,3130,2965,2689,2089,2290,2656,2300,2374,2384,2199,2190,2575,3251,3376,3304,3437,3569,3536,3572,3583,3840,3941,3426,3373,3227,3544,4058,4120,3920,3994,3873,3215,2349,1863,1536,1785,2294,1996,1728,1838,1684,1727,1766,1757,2133,2916,3213,3184,2472,2334,2373,2076,1848,2049,2015,1881,2070,2146,1903,1656,1654,1808,1942,2380,3022,2729,2181,2168,2039,1765,1800,1916,2101,2190,2530,2842,2344,2229,2434,2209,2257,2744,2424,2087,2055,2366,2301,2229,2639,2913,3134,2698,2489,2841,3176,3006,3139,3027,2872,2097,1418,1318,1361,1544,1528,1295,1302,1782,2376,1737,2002,2116,1918,1781,1701,1355,1419,2003,2921,3809,3583,3420,3168,3327,3251,2485,2431,3060,3297,3344,3231,2946,2829,3647,3734,2994,2411,2147,2684,2853,2898,2766,2461,2091,2149,2542,2728,2818,2876,2442,2648,2496,2586,3013,3029,2681,3169,3488,3547,3419,2605,2736,2621,2331,2285,2271,2178,2218,2353,2552,2718,2540,2331,2233,2087,2602,3165,2644,2013,2731,2743,2873,2602,2388,3010,3427,3087,2657,2840,2981,2995,3841,3333,2735,2785,3239,3496,3072,2514,2166,1836,1847,2210,2131,1540,1628,2630,3344,3271,3232,2836,2872,3078,3208,3264,2336,1884,2403,2788,2625,2266,2198,2194,2042,2279,1967,1636,1739,2331,3142,3341,3595,3329,2588,1930,1668,2125,3147,3616,3076,2501,2363,2974,3692,3393,2278,1991,2489,2242,2245,3225,4041,4064,3308,3141,3316,3166,2833,2966,2831,2363,2775,3065,2688,2525,2370,1935,2022,2479,2920,3277,2696,2567,2266,1645,2292,2500,2287,2085,1709,2100,1936,1879,2556,2845,2674,2385,2358,2290,2364,3047,2622,2499,2668,2494,2267,1924,1730,2231,2798,2953,2865,2696,2527,2731,2321,2241,2624,1843,2244,2353,2029,2084,2014,1679,2191,2775,2864,2686,2501,2765,3592,3773,3554,2620,1765,1857,1897,1828,2047,2393,2705,2959,2627,1952,1775,1740,1829,1724,1575,1617,1866,1908,1874,1792,1634,1553,1560,1534,1636,1712,1532,1442,1444,1470,1466,1648,1654,1664,1651,2039,1948,1566,1675,2021,2930,3339,2459,2510,3288,3393,2758,2271,2383,2071,1982,2128,2059,1715,1491,1532,1622,1772,1815,1581,1364,1369,1483,1222,1240,1814,2280,2198,2032,1720,1609,1645,1573],[3894,3691,3903,3782,4221,3790,2790,2640,2853,2844,2579,2689,3104,2483,2333,2310,2392,2490,2449,2579,3032,3759,3692,3128,2958,2695,2967,2519,2255,1941,2803,3392,3516,3522,3420,3273,3034,3238,3658,3645,3420,3027,3430,3113,2346,2380,2592,3052,3033,2456,2929,3235,2655,2814,2985,3469,3370,3041,2950,3319,3187,2872,3372,2958,2458,2677,2774,2702,2046,2188,2474,2965,2610,2720,3372,3852,3464,2732,2266,2285,2438,2525,2728,2554,3018,2382,2778,2898,2349,2508,2407,2114,2208,2813,2598,1753,1372,1642,1854,2244,3047,2878,2807,3495,3404,3252,2924,2555,2522,2441,2705,2576,2832,2678,2807,2603,2746,2588,2276,2238,2056,2435,2819,2940,3075,2962,3411,3072,2806,2876,2752,2765,2756,2818,3373,3757,3792,4128,4472,4013,3475,3457,3434,3695,3166,2996,3168,3376,3326,3646,4113,4293,3833,3022,2956,3001,2020,1885,2233,2081,1981,1863,2272,2286,1811,1824,1698,1961,2579,2160,1743,1545,2023,2002,2184,2424,2094,1984,1918,1784,1510,1470,1689,1955,1915,2198,2836,3129,2278,1951,1844,1809,1959,1930,1888,1970,2592,2708,2308,2072,2076,1930,1888,2467,2767,3043,3269,2720,2329,2392,2252,2258,2036,1780,2194,2272,3195,2851,2534,2395,2391,1906,2700,3760,3002,2310,2508,1960,2452,2178,2462,2194,2316,2376,2385,2061,1722,1836,1566,1731,1953,1577,1626,1852,2282,2921,3366,3396,2795,2345,2144,1967,2063,2404,2951,2702,2042,2036,2024,1738,1590,1687,1816,2127,2402,2331,2250,2100,1764,1991,2402,2511,2778,3298,3543,3562,3485,3286,2453,1872,1803,1694,1728,1801,1749,1759,2287,2711,3083,3133,3088,3021,2943,2854,2670,3277,4208,4153,3306,3014,3515,3765,3022,2834,3099,3396,3542,3381,3073,2842,2752,2600,2238,2601,3261,2661,1992,2568,3178,3472,4045,3929,3709,3738,3475,3197,3084,3026,3537,3850,3935,3795,3428,3418,3400,3226,3294,3495,3449,3333,3494,3303,3237,3051,3017,3266,3354,3292,3364,3152,3040,3355,3289,3253,3280,3120,3104,2952,3121,2691,2248,2468,2428,2509,2848,2654,2308,2525,2707,2473,2488,2543,2460,2576,2556,2147,1651,1970,2239,1992,1793,1719,1755,2057,2192,1806,1736,1667,2186,2635,2690,2360,2009,1746,1551,1810,1736,1833,2700,3032,2702,2593,2452,2491,2498,2205,2153,2592,2597,1939,1896,2562,3261,3146,2259,1690,2011,2062,2071,2225,2436,2729,3042,2867,2802,2880,2209,2082,2158,2033,1906,1944,2143,2159,2022,1829,1993,1983,1711,2097,2976,2920,3477,3532,3304,3226,3000,3359,3710,3790,3558,3626,3593,3230,3504,3604,2403,2235,2302,2199,1735,1654,1852,2009,1909,1609,1909,1985,2262,2443,2308,2358,2227,2320,2368,1718,1976,2031,1813,2072,2140,2568,3292,2578,2906,2875,2833,3176,3406,3059,2727,2492,2128,2116,1774,1554,1641,1709,2121,2183,2403,2320,2966,3536,2625,2312,1980,1265,1445,1555,1757,2103,2128,1963,2145,2401,2429,2665,2479,2536,2693,2438,2833,3051,3440,3742,3430,2917,2020,1786,1862,1630,2358,3384,3531,3569,3626,4193,4400,4292,3473,2888,2483,1655,1584,2009,1963,1657,1860,2120,1879,1962,1864,2141,2658,2291,2053,2201,2864,3020,3540,3335,2854,2927,3398,3849,3891,4038,3685,3732,3809,4024,3364,2678,3648,4059,2822,1986,2197,2589,2633,2832,2864,2910,2805,3276,3419,3331,3194,2236,1408,1746,2280,2817,3168,3057,1988,1612,1496,2620,2924,2812,3043,2990,2781,3055,2806,2440,2304,2135,2545,2453,2897,2596,1706,1674,2589,2575,2288,2499,2391,2585,3275,3179,2249,2186,3030,2867,1988,2141,2445,2667,2472,1651,1672,2172,2160,2592,2468,2406,3146,3509,3322,2811,2715,2364,1949,1905,2172,2588,3019,3117,3135,2962,2969,3069,3075,3034,2990,2954,2987,3064,2931,2728,2930,3396,3388,3459,3497,3659,3617,3467,3647,3772,3514,3218,3176,3392,3392,3193,3211,3370,3798,3870,3870,2975,2240,2912,3507,3516,3924,3917,3033,2174,2355,2993,2708,2140,1886,2533,3631,3065,2153,2113,2280,2387,2358,2612,3178,3458,3422,3406,2811,1788,2070,2486,2346,2077,1638,1825,2414,2944,3533,3204,2566,2503,2468,2815,2126,1749,1750,1040,1456,2684,3255,2968,2857,2696,2446,2280,1908,1993,2037,2282,2530,2039,1764,2037,2328,2499,2585,2621,2353,1975,2305,2563,2729,2640,2542,2728,2618,2399,2439,3028,3326,3420,3230,2918,2777,2994,2543,2609,3332,2567,1839,2895,3698,3814,3996,3860,3429,3618,2420,2413,2249,2294,2136,1480,1943,2862,3428,3117,2419,2564,2476,2310,2678,2990,2920,2908,3265,3393,3171,2748,2530,2784,2943,2607,2453,2467,2475,2475,2583,2702,2442,2573,2766,2591,2447,2521,3175,3388,2729,2660,2683,3096,3283,2556,1720,1533,2017,2073,1798,1715,2181,2790,2547,2204,2218,2361,2085,1729,1852,2085,2199,2225,2611,2830,2240,2291,1976,2071,2547,1883,1523,1495,1794,1700,1644,1991,2426,1914,1877,2437,1752,1698,2148,2359,2695,3262,3340,2931,2919,2799,2428,2721,3253,3076,2328,1953,1761,1730,1554,1548,1838,1701,1594,1866,2180,2684,3056,2784,2674,2082,2105,2128,2427,2265,1975,2135,2094,2031,2788,3527,3151,2185,1530,1309,1754,2645,3283,3053,3836,3382,2828,2909,2896,2736,2453,2165,1991,1623,1584,1532,1512,1515,2276,3029,3271,2832,2451,3232,3685,3472,3057,2568,2264,2833,3040,2036,1796,1920,1735,1607,2489,2535,1994,1934,1879,2577,2796,3104,3440,3216,2844,2623,2368,2578,2829,2721,2643,2799,2750,2751,2087,2155,1866,1571,1466,1696,1780,1559,1422,1415,1783,2498,2492,2092,2100,2531,2417,1957,1396,1482,2276,2255,1846,2066,2106,1994,2018,1907,1545,1701,2495,2534,2151,1855,1440,1249,1441,1708,1576,1478,1436,1433,1578,1552,1661,1939,1654,1590,2053,2691,3203,2974,2103,1976,2520,1972,1682,1582,1708,1555,1516,1775,1730,1577,1546,1684,1897,2234,2507,2517,2668,3081,3219,3261,3072,2735,2931,3334,3473,3471,2967,2487,2575,2534,2953,2924,2432,2316,2421,2203,2236,2137,2169,2557,3294,3411,3419,3790,3746,3783,3990,3937,4191,4240,3857,3515,4034,4408,4256,4184,4176,4423,4360,4112,3696,2722,2066,1922,2168,2375,2280,2217,2321,2733,3326,3672,3638,3608,3650,3819,4240,4301,4184,4244,4344,4167,4104,4201,3972,3907,3374,2034,2034,3322,4074,4763,5015,4356,3475,2988,2996,3479,4152,3956,3418,3472,3812,3427,3599,3867,3602,3410,3344,3281,3262,3094,3092,3326,3497,3801,3675,3791,3933,3852,3688,3873,3998,3825,3817,3848,3857,4015,4213,3584,2978,3607,4252,4517,4220,4103,3937,3882,3984,2885,1538,1537,2126,2670,1571,963,1898,2349,2751,3200,3238,3135,2162,1734,2007,1827,1787,1850,1794,1848,2116,2518,3033,2575,2083,2098,2092,1837,1655,1838,1836,1988,1771,1858,2143,2161,1946,1917,2019,1932,1716,1648,1692,2177,3248,3250,2637,2337,2344,2615,1966,1872,2133,2663,2813,2314,2066,2032,1980,2164,1892,2167,2576,2468,1759,1771,2047,2165,1783,1525,1804,2083,1930,1879,1958,2143,2432,3008,3652,3156,2434,2539,2715,2394,2308,2796,3275,3159,3035,2765,2238,2256,2365,2288,2224,2280,2363,1928,1515,1728,2271,2564,3241,3551,4057,3237,2491,2085,1880,1675,2001,1956,1605,1858,1868,1531,1386,1446,1761,2220,1946,1824,2509,2480,2226,2597,3020,2667,2736,3365,3099,1840,1718,1691,2288,2619,2570,2164,2431,2654,2619,2623,2138,2611,3270,3505,3118,2587,2762,3013,3153,2996,3119,3168,3022,2523,2468,2875,2651,2596,2778,2699,2786,3221,3278,2665,2894,3603,3438,3275,3542,3552,3648,3673,3666,3604,3647,3364,3519,3603,3576,3763,3748,3610,3648,3942,3540,3190,2762,2213,2432,2422,2455,2222,1753,1804,1755,1492,1570,2398,3112,2741,2809,2768,2789,2589,2214,1975,1890,1643,1716,2301,2706,2246,1905,2122,2422,2368,2662,2779,2790,2307,2088,1983,1803,1718,1888,2069,2462,2612,2733,2577,2322,2374,2340,2079,2148,2170,2140,2169,2524,3019,2921,2545,2708,2568,2347,2872,3145,2996,2736,2621,2678,2358,1849,1531,1650,2013,2113,1684,1528,1449,1877,1981,1537,1592,1707,1627,1632,1545,1530,2142,2646,2991,3276,3108,3066,2974,2872,2901,2258,2229,3167,3574,3846,3119,2610,2602,3112,3559,2754,2254,2385,3182,3298,2402,2354,2711,2885,2845,2806,2928,2773,2677,2558,2500,2395,2665,2837,2473,2598,3156,3094,3229,3015,2810,3083,2574,2230,2244,2146,2084,2173,2209,2294,2361,2338,2562,1914,1630,2441,3024,2602,2334,2479,2358,2418,2675,2858,3005,3229,2684,2542,2945,2880,2982,3173,2884,2630,2664,3002,3009,2504,2153,1960,2076,1827,1873,1750,1709,2083,2875,3099,3164,2835,2686,3603,3850,3563,2702,1836,2019,2395,2818,2734,2569,2238,2279,2303,2494,2245,1873,1863,2327,3201,3210,3172,2923,2571,2491,2589,2504,2840,3182,2814,2155,2019,2752,3414,3287,2503,2077,1777,2104,2945,3912,4386,3988,3481,3539,3222,2594,2277,2745,2394,2236,2199,2508,2623,2198,1830,1857,2219,2041,2342,3208,2950,2498,2799,2379,2490,2288,2007,1486,1779,2386,2020,2172,2488,2101,2415,2165,2128,2532,2501,2930,3508,3394,2770,2362,2369,2351,1920,1978,2469,3031,3292,3248,2557,2265,1862,1869,2053,2125,2608,2766,2631,2160,2165,2001,1948,1990,2294,2242,2215,2752,3676,3817,3654,2823,1968,1675,1888,2101,2216,2177,2244,2455,2290,1832,1628,1660,1578,1628,1797,1872,1990,1951,1727,1455,1435,1646,1849,1655,1608,1613,1544,1467,1444,1471,1736,2059,1861,2096,2035,2503,2269,1694,1475,2438,3116,3430,3045,2231,2497,2868,2324,2139,2027,1818,1715,1996,2211,1880,1543,1627,1684,1657,1560,1490,1699,1657,1675,1523,2054,2133,2251,1957,1880,1910,1974,1996,1669],[3570,4058,3839,3496,3940,3108,2437,2774,2719,2767,2409,2582,2794,2353,2078,1989,2002,2276,2452,2286,2580,3558,3736,3554,3421,2368,1929,1914,2085,2214,2840,3199,3560,3830,3521,3152,3046,3288,3516,3741,3450,3375,3449,3667,2562,2239,2586,2569,2300,2369,2821,2988,2324,2808,2814,2897,3585,3285,3094,3259,3077,2990,3221,3039,2931,3243,3279,2962,2419,1778,2576,2999,2808,2910,3176,3189,2771,2413,2321,2260,2440,2456,2592,3024,3024,2431,2975,2764,2388,2529,2479,2140,2382,2881,2371,1558,1296,1593,1677,2303,3066,2931,3191,3588,3294,2978,2411,2242,2828,2163,2535,2832,3467,3342,3119,2553,2336,2106,2107,2265,2242,2417,2799,2954,2785,2576,3303,3236,2764,2566,2307,2199,2237,2468,3405,3934,3753,3860,4441,4244,3797,3652,3647,3839,3265,2875,3050,3351,3573,3728,3984,3959,3452,2787,2644,2120,1982,2338,2478,2079,1569,1841,2669,2645,1952,1826,1864,2123,2436,2195,1739,1653,2299,2097,1878,2197,2193,1874,1696,1543,1440,1571,1746,1814,2097,3197,3948,3482,2480,2045,1921,1811,1555,1713,1961,1978,2517,2565,2299,2238,2261,1969,1654,1615,1712,2351,2755,2373,2035,2248,2249,2494,2100,1741,2070,2475,2779,2764,2837,2711,2916,2619,2164,3472,3257,2350,2722,2401,2196,2186,2145,2040,2313,2438,2569,2493,2262,2191,1669,1718,2165,1698,1840,2186,2067,2018,2912,3495,3243,3009,2686,2041,1519,1747,2126,1898,1989,2142,1812,1913,2172,2051,1787,1837,2091,2382,2761,2082,2088,1936,2044,2371,2571,2885,3253,3461,3441,3082,1992,1677,1637,1677,1664,1711,1846,1627,1410,2120,2964,2980,3209,3169,2662,2293,2280,2666,3835,4209,3649,3371,3797,3653,3361,3529,3421,3282,3242,3137,3027,3055,3113,2609,2098,2186,2883,2804,2680,3448,3720,3850,3941,3785,4004,4100,4037,3650,3484,3339,3615,3856,3741,3529,3559,3854,3983,3885,3663,3247,3063,3132,3296,3146,3222,2850,2987,3018,2882,3085,3259,2904,2854,3045,2994,3190,3144,2961,2968,2968,2986,2459,2130,2274,1851,1669,2687,2900,2167,2431,2611,2459,2293,2473,2512,2596,2462,1896,1846,2343,2441,2153,1866,1842,2122,2382,2109,1778,1669,1824,2358,2474,2114,1822,1903,1781,1716,1714,1789,2287,2756,2601,2328,2534,2723,2566,2352,2357,2433,2596,2710,3036,2485,2301,2442,2346,2217,1819,2332,2198,1811,2041,2344,2862,3076,2639,2617,2502,2265,2263,2144,2220,2336,2216,1879,2127,2597,2183,1772,1868,1694,2420,2561,2933,3408,3397,3572,3607,3739,3827,3664,3740,3763,3839,3741,3531,3187,3589,3597,3035,2681,2589,2024,1685,2197,2782,2556,1852,1730,1660,1464,1574,2607,3092,2859,2226,1728,1653,1725,1534,1863,2273,2154,2511,3342,3187,2754,2550,3019,3585,3332,2864,3011,2807,2546,2776,1899,1595,1523,1696,1943,1973,2517,2351,2336,2684,2657,2391,2137,1289,1343,1437,1599,2153,2276,2164,2025,2102,2169,2219,2124,2113,2032,2495,3067,3086,3765,3081,3024,2786,2233,1960,1728,2243,3617,4039,3837,3893,3958,4221,4461,4484,3916,2996,1925,1487,1776,2280,2295,1812,1890,2072,2072,2121,1867,1694,2424,2142,2018,2360,3109,3216,3117,3437,2987,2185,3103,3915,3809,3499,3041,3203,3449,3645,3292,3342,3862,3413,2322,1705,2116,2231,2313,2404,2369,2413,2854,3210,2477,2566,3312,2666,1542,1392,1801,3250,3134,2758,2014,1954,1942,2529,3244,3703,3598,3100,2302,2114,2074,2698,2488,2186,2077,2074,2428,2258,1887,1979,2544,2642,1967,1853,1998,2867,3444,3051,2149,1966,2886,3118,2492,2314,2769,2897,2475,2029,1765,2146,2365,2840,3374,3027,3016,2934,2832,2854,2812,2440,2266,1778,1903,2420,2719,2884,2912,2842,2868,2921,3002,3016,2950,2893,2958,2962,2864,2911,3298,3620,3394,3260,3431,3432,3439,3438,3509,3532,3406,3226,3140,3310,3409,3220,3161,3327,3363,3319,3188,2314,1908,2636,3231,3824,4276,3518,2897,2187,2517,3215,2564,1995,1754,2282,3461,3650,2684,2363,2418,2394,2656,3265,3588,3737,3276,3055,2856,2204,2321,2875,2821,2482,1750,2069,2824,2620,2846,2438,1911,2146,2371,2534,2131,2158,2183,1373,1264,2138,2898,2862,2938,2680,2221,1743,1476,1787,2105,2431,2424,1767,1899,2490,2666,2942,2968,2807,2623,1921,2258,2791,2615,2252,2337,2473,2499,2530,2547,3251,3841,3719,3231,2434,2375,2452,2040,2406,3021,2228,2529,3509,3848,3812,3986,3008,2894,3487,2646,2418,1967,2214,2185,1935,2433,3209,3146,2200,2304,2624,2648,2607,2795,2851,2600,2777,3251,3418,3260,2827,2342,2370,2438,2200,2125,2468,2429,2282,2444,2533,2216,2496,3174,3378,3465,3366,3530,3558,3000,2829,3107,2940,2968,2996,2205,2073,2577,2172,1804,1640,2024,2236,2113,2614,2271,1949,2113,1752,1679,1784,1793,2033,2226,2459,2569,2440,2337,2326,2832,2427,1770,1761,2023,1698,1444,1875,2407,2599,2548,2773,2231,1967,2177,2244,2669,2923,2864,2702,2687,2907,2710,2601,3186,2951,1999,1957,1780,1942,1705,1516,1737,1904,1710,1625,2070,2916,3044,2833,2290,1624,1823,1967,2104,2276,2279,2928,3232,2431,2702,2987,2566,2129,1596,1609,2342,3092,3126,2679,2806,3365,3651,3421,3327,3521,3376,2463,2230,1987,1660,1838,1813,1929,2022,2188,2700,2674,2408,2628,2912,3152,2608,2088,1996,2786,2440,1781,1668,1862,1881,2216,2456,2129,2227,1983,1571,2109,3176,3438,3322,2995,2765,2724,2597,2598,3182,3131,2140,2579,2591,2810,2237,1778,1518,1252,1244,1606,1810,1718,1503,1454,1851,2308,2171,1607,1705,2266,2459,2447,2056,1946,2314,2172,1836,1789,1737,1770,1952,2024,1617,1642,2010,1922,1512,1063,1105,1263,1401,1493,1497,1553,2174,2266,2143,2283,2522,1988,1692,1989,2448,2873,2886,2864,2569,2033,2209,1930,1713,1527,1600,1750,1749,1849,1865,1533,1558,1619,1795,2422,2270,2336,2918,3367,3221,3155,3352,3264,3240,3488,3631,3762,2799,2205,2475,2503,2447,2395,2779,2462,2029,1981,1915,1835,2043,2743,3126,3292,3404,3382,3716,3882,4008,4048,4221,4109,3880,4090,4416,4356,4094,3242,2854,4156,4408,4292,3625,2630,1989,1980,2303,2657,2657,2363,2250,2529,2884,3439,3657,3860,3974,4091,4069,4229,4401,4328,4284,4091,3889,3883,3876,3835,3488,2257,2261,3046,3598,4356,4791,4397,3595,2942,2819,3263,3638,3242,3110,3251,3902,3718,3840,4429,4432,4036,3494,3144,3274,2940,3075,3295,3292,3372,3396,3526,3680,3804,3768,3828,3848,3741,3618,3907,4111,4195,4321,4050,3784,3879,4219,4379,4284,4313,4048,3791,3753,2587,1761,2003,1863,1466,1181,983,1402,1497,2386,3312,3379,3368,2763,2527,2287,2002,1776,1736,1738,1910,2030,1954,2230,2120,2072,2176,2030,1779,1695,1940,1823,1576,1702,1970,2226,2083,1948,1918,1730,1599,1511,1376,1638,2574,2862,2513,2079,1816,2407,2891,2348,2285,2566,2872,2687,2271,1953,2065,2277,2301,2004,2121,2354,1930,1730,1799,1738,1911,1988,1822,1892,1906,1919,1798,1654,1911,2132,2585,3219,3061,2723,2831,2634,2229,2047,2545,3150,3162,2906,2556,2253,2163,2191,2258,2266,2234,2088,1790,1744,1986,2080,2121,2896,3322,3659,2950,2320,1838,1776,1991,2416,2111,1735,1858,1467,1510,1738,1887,1742,2098,2167,1906,1958,2156,2492,3145,3041,2046,2545,3100,2555,1744,1853,2004,2542,2479,2240,2147,2664,2673,1997,1973,1730,2907,3728,3531,2874,2521,2652,3012,3223,3205,3116,2951,2334,2022,2327,2885,3064,2736,2846,2851,2929,3630,3738,2914,3125,3968,3936,3755,4109,3783,3718,3492,3153,3165,2601,2711,3769,3896,3529,3448,3563,3453,2811,2867,3640,3764,2916,2800,2627,2666,2857,2284,1802,1732,1864,2126,2111,2437,2758,2190,2007,2121,2222,2410,2554,2326,1953,1687,1686,2141,2552,2001,1710,1902,2407,2571,2663,2372,2237,2119,2087,1953,1662,2022,2348,2019,2194,1902,2416,2270,1799,2135,2351,1893,1651,1823,2307,2175,2261,2750,3045,2536,2045,2222,2821,3654,3626,2976,2734,2931,2934,2903,2470,1970,2604,2755,3034,2360,2028,2176,2315,2445,2792,2998,2553,1919,1898,1927,2048,3011,2741,2676,2839,2312,2311,2735,2714,2951,2809,2945,3458,3653,3764,2967,2943,2599,2586,2709,2320,2049,2173,2763,2989,2824,2909,3038,3098,2573,2985,2918,2754,2733,2662,2635,2705,2755,2630,2573,2853,2943,2901,2899,3338,3662,3245,2677,2306,2260,2263,2148,2259,2406,2491,2425,2222,2433,1978,1972,2152,2385,2602,2375,2103,2507,2934,3467,3316,2879,2822,2956,3005,2883,2828,3052,3091,3241,2964,2563,2729,2734,2363,2104,1937,2042,2057,1892,1970,1629,2079,2803,3038,2723,2024,2630,3773,3927,3829,2923,2262,2567,2897,2819,2540,2279,1852,2036,2562,2378,2169,2695,2626,2805,2988,3061,2852,2952,2983,3077,3198,2875,2653,2839,2493,1881,2224,3146,3206,2984,2372,1840,2534,3138,3545,4149,4208,4077,3747,3396,2526,1936,2290,2307,1763,1589,1039,1881,2678,2590,2267,1818,1785,2486,3446,3699,2965,1917,2415,2374,2365,2281,2078,2257,2640,2421,2059,2595,2664,2555,2847,1889,1747,2392,2415,2296,2684,2731,2762,2622,2116,2105,1495,1593,2370,3560,3433,3318,2562,1756,1435,1515,1665,2357,3024,2775,2603,2138,2294,2053,1828,1936,1779,1880,1738,2055,3037,3498,3357,2813,2528,1922,1859,2247,2261,1980,2147,2471,2408,2093,1768,1649,1626,1715,2008,2003,1821,1477,1388,1447,1833,1796,1943,1886,1693,1713,1590,1482,1481,1635,1880,2060,2320,2149,2291,2013,1632,1548,1602,2524,2798,2713,2701,2130,2240,2447,2339,2254,1947,2325,2129,1894,1884,1765,1696,1862,2003,1704,1510,1862,2230,1824,1688,1497,1709,1958,2127,2374,2869,2453,1979,2277,2412],[2973,3482,3274,3399,3683,3133,2636,2733,2856,3286,2980,3141,2924,2340,2054,2171,2167,2175,2291,2137,2647,3802,3738,3718,3399,2423,1936,2071,2395,2486,2787,3328,3582,3862,3718,3572,3780,3715,3474,3588,3621,3451,3754,3633,2836,2789,2988,3127,3117,3316,3248,2853,2212,2382,1748,2250,3452,3471,3167,3159,3178,3367,3508,3415,3008,3089,3240,3230,2762,2208,2438,2608,2662,2820,2969,2272,2087,2354,2556,2175,2169,2293,2264,2407,2596,2830,3132,2888,2464,2534,2570,2225,2113,2607,2458,1979,1827,1631,1734,2010,2174,2161,2185,2454,2555,2670,2358,2409,2732,2976,2526,2541,3083,3100,3011,2503,2046,1944,2061,2254,2271,2350,2223,2525,2464,2958,3414,3483,3054,2715,2282,1959,1995,2333,3083,3239,3487,3751,4200,4429,4160,3913,3914,3941,3564,3220,3120,3151,3253,3452,3742,3701,3373,2479,2072,1882,2031,2139,2032,1840,1688,1791,1964,2185,1848,1570,1484,1782,1878,1687,1498,1599,2148,2463,2831,3242,2906,2003,1429,1458,1545,1773,2027,1847,2307,3263,3816,3702,3153,2379,1760,1611,1484,1707,1968,2174,2392,2312,2165,2383,2530,2028,1635,1475,1487,1791,2235,2167,1986,2177,2216,2574,2220,2125,2277,2942,3185,2608,2569,3297,3771,2990,2156,3141,3130,2614,2888,2946,2126,2062,2396,2778,3352,3163,3050,3402,2798,1954,1906,2027,1571,1447,1933,2248,1982,1877,2076,2438,2730,2806,2251,2138,1727,1498,1774,1922,2217,1761,1260,1509,1836,1921,1947,2007,2018,2503,3083,2708,2537,1729,1628,1877,2002,2289,2677,3008,3254,2623,1638,1526,1582,1735,1794,1789,1800,1714,1644,2242,2675,2565,2876,2753,2580,2371,2647,2438,3434,4256,4375,3653,3238,3037,3168,3505,3091,2767,2916,2877,2587,2554,2916,2382,1980,2459,3204,3344,3440,3366,3548,3792,3858,3918,3779,4000,4276,3970,3896,3641,3631,3718,3773,3890,3754,3628,3764,4108,4212,3934,3450,3178,3054,3072,2999,3047,3273,3072,2844,3059,3283,3153,3278,3361,3343,3482,3400,3214,3205,3266,3150,2912,2792,2534,1828,1736,2327,2185,2073,2499,2603,2773,2598,2576,2706,2668,2438,2266,2402,2426,2368,2229,2040,2092,2246,2049,1837,1841,2024,2051,1932,1882,1650,1650,1670,1757,2072,2026,2218,2685,2746,2450,2347,2679,2822,2440,2382,2414,2610,2575,2496,3046,3107,2723,2386,2131,1805,1779,1747,1779,1866,2283,3226,3482,2508,2311,2600,2308,2274,2378,2163,2230,2721,2589,1981,2060,2663,2143,2031,2029,1980,2857,3022,3235,3112,2670,2732,3631,3948,3908,3396,2973,3240,3514,3454,3494,3310,3139,3553,3238,2809,2974,2274,2006,2670,2633,1991,2513,1926,1544,1390,1874,2670,2806,2480,1975,1567,1532,1672,1885,2397,2542,2210,2684,3195,2945,2544,2676,3165,3344,2820,2498,2886,2708,2598,2129,1542,1612,1814,1773,1832,2204,2894,3118,2664,2540,2752,2288,1938,1499,1531,1676,1824,2274,2349,2392,2010,1963,2447,2336,2152,2270,2105,2357,2666,2656,3008,2480,2302,1957,1809,1967,2060,3082,3959,3978,4026,4124,4240,3963,4201,4288,3316,2113,1654,1533,1664,1584,1383,1347,1662,1996,2047,1615,1521,1583,2164,2388,1978,1942,2455,2701,2765,2974,2732,2584,3344,4011,3775,2897,2644,3172,3674,3552,3051,3344,3660,2809,1948,1067,1278,2165,2480,2479,2708,2613,2865,2880,2374,2972,3584,3178,2457,2115,2329,3394,4068,3880,3359,2961,2442,2401,3294,3660,3465,3073,2695,2685,2449,2007,1960,1948,2098,2141,1931,1693,1956,2179,2229,2456,1958,2070,2220,2526,2498,2423,1948,1830,2364,3029,2618,2083,2457,2719,2589,2623,2111,2220,2465,3126,3824,3881,3299,2763,2723,2939,3121,2707,2222,1944,1857,2591,3317,3539,3295,3063,3175,3168,2978,2920,2894,2962,3024,2958,2958,3171,3017,3363,3418,3330,3542,3631,3477,3271,3251,3215,3316,3296,3191,3262,3330,3403,3349,3366,3385,3041,2412,2061,2824,3796,3646,3956,3908,3750,3283,2399,2855,2754,2128,1904,1769,1834,2338,3203,2906,2878,2912,3408,3289,3054,3012,3583,3454,2749,2666,2474,2319,2586,2685,2886,2138,2091,2758,2990,2922,2820,2788,2512,2231,2259,2402,2722,2416,1840,1085,1615,1841,2224,2155,1692,1423,1445,1423,1612,2044,2497,2930,2555,2432,2509,2540,2833,2346,2035,2105,1934,1974,2249,2256,2103,2533,2819,2490,2423,2504,2568,3460,3682,2987,2241,2140,2239,1916,2122,3099,3383,3543,3429,3376,3909,4184,2854,2895,3426,2712,2024,2009,2189,2344,2530,2707,3219,3194,2780,3322,3592,3458,2895,2417,2831,3326,3100,3198,3495,3374,3016,2330,2296,2626,2596,2536,2525,2248,2306,2466,2526,2462,2824,3460,3869,3937,3768,3906,3979,3602,3548,3310,3022,3310,3110,2526,2169,2209,2217,2442,2192,2110,2288,2480,2315,1815,1742,1840,2028,2398,2457,2336,2360,2052,2224,2417,2450,2818,2708,2740,2485,1843,1678,1881,1864,1776,1642,2032,2554,2863,3105,2806,2596,2328,2169,2566,2968,3146,2645,2644,3110,3370,3393,3250,3020,2410,2025,2124,2366,2189,1699,1586,1748,1528,1626,2139,2534,2740,2868,2069,1625,1587,1959,2107,2178,2610,3501,3640,3298,2946,2066,1878,1783,1638,1765,2198,2511,2320,1861,1989,2670,2818,2800,3375,4108,3807,3039,2497,2114,1846,1973,2201,2197,2064,2210,2604,3012,2695,2774,2728,2540,2351,2820,2854,2532,2190,2178,1969,1691,2016,2007,1751,2370,2710,2230,2292,2844,3601,3814,3392,2919,2597,2441,2878,3288,3339,3630,3304,3183,2592,2097,1945,1868,1542,1245,1430,1681,1773,1700,1626,1838,1980,1920,2327,1980,1792,1930,2546,3285,2800,1979,2530,2981,2298,1697,1740,2076,2217,2287,1854,1357,1076,1345,1443,1164,1269,1282,1340,1422,1612,1478,1915,2096,2134,2200,2171,1714,1764,2053,1935,1750,2120,2553,2370,2103,2346,2276,1724,1483,1678,2011,2008,1922,1663,1543,1890,2180,1995,2083,1816,1893,2571,2898,2706,3010,3616,3804,3750,3695,3623,4000,3344,2973,2974,2441,2642,3317,3539,2745,1997,1914,1956,2194,2409,3232,3137,3272,3237,3216,3686,3704,3802,4108,4184,4049,4108,4376,4268,4006,3029,1986,2889,4420,4804,4803,4463,3259,2288,2173,2350,2514,2548,2290,2295,2298,2547,3072,3754,4151,4130,4073,4023,4244,4312,4091,4017,3903,3764,3925,3619,3096,2728,2445,2836,3123,3273,3597,3796,3660,3276,2684,2558,2907,3001,2910,2966,2998,3646,4148,4316,4537,4676,4565,3718,3040,3208,3042,3162,3466,3334,3237,3356,3316,3311,3409,3650,3769,3736,3875,3750,3890,4267,4408,4300,4130,4061,3950,4193,4231,3859,3872,3904,3817,3537,2915,2621,2263,1519,1479,1412,1095,1179,1221,1963,3232,3391,3449,2988,2251,2142,2192,1987,1825,1714,1703,1766,1820,1802,1963,2736,2757,2770,2372,1984,1868,1828,1776,1804,1852,1989,1939,1940,1748,1247,1621,1706,1732,1708,2130,2597,2002,1667,1659,2182,2460,2744,2710,2250,2116,2136,2218,1951,2459,2346,1968,1776,2026,1887,1488,1793,2066,1629,1587,1958,1953,1730,1499,1335,1404,1669,2004,2331,2645,3098,3206,2932,2724,2451,2272,2181,2865,3091,2969,2648,2296,2063,2335,2666,2631,2408,2182,2189,2163,2147,2230,2032,2004,2524,2605,2764,2649,1902,1560,1784,2367,2639,2275,2130,1903,1442,1532,2127,2001,1999,2311,2181,2216,2270,2132,2552,2749,2140,2023,2492,2684,2326,2239,1970,2110,2194,2107,2309,2604,3002,2916,1782,1892,2294,3147,3483,2971,2324,2317,2633,2669,2753,3178,3045,2902,2352,1994,2397,2868,3054,2446,2563,2879,2992,3178,3108,2820,3041,3499,3850,3705,4307,4111,3896,3408,3286,2684,1670,2374,3882,4027,3738,3774,3880,3444,3027,3153,3497,3306,2764,2604,2180,2499,2908,2424,2064,1622,1984,2350,2569,2141,2137,2231,1836,1901,2247,2540,2598,2499,2222,1917,1625,1761,2137,1687,1467,1658,2121,2297,2177,1972,1852,1822,1985,1680,1818,2558,2514,1860,1638,1802,2261,1946,1748,2270,2336,1801,1892,2490,2785,2290,2316,2293,2425,2504,2460,2627,3141,3759,3300,2618,2810,3333,2997,2933,2577,2309,2668,2954,3178,2425,2294,2734,2557,2660,3012,3305,2886,2026,2390,2335,2413,2900,2392,2361,2642,2213,2314,2801,2841,3439,3450,3718,3655,3536,3580,3260,3143,2712,2658,2587,1931,1736,2119,2209,2706,2689,2325,2712,2643,2733,2962,2950,3032,2988,2713,2702,2614,2593,2443,2632,2832,2532,2008,2392,3465,3435,2989,2755,2487,2513,2520,2453,2634,3046,3284,2923,2427,2092,1957,1937,2109,2459,2569,2259,2024,2505,2990,3342,3450,3172,2998,3364,3334,3142,3066,2864,3068,3565,2887,2468,2664,2847,2314,1977,1798,1981,1976,1831,2160,1709,1780,2770,2729,2168,2221,2539,2977,3373,2851,2196,2239,2562,2562,2280,2233,2314,1874,1746,2373,2188,2338,2121,2306,3168,3208,2937,2273,2776,3392,2994,3008,3233,3043,2853,3226,2979,3371,3569,3437,2789,2486,2478,3521,3707,3420,3748,3851,3963,3444,2474,1795,1732,2116,1881,1866,1700,1288,1799,2159,2045,2078,1917,1955,2496,3639,3398,2316,1874,2248,2056,2049,1840,1867,2394,2613,2473,2536,2958,2564,2875,2779,2101,1733,2308,2862,2732,2494,2488,2485,2364,1668,1723,1693,2043,2657,3491,3412,3450,2654,1596,1524,1616,1645,1948,1985,1666,1715,1986,1800,1588,1828,2226,1994,2130,2093,1702,2786,3480,2854,1888,2104,2326,2016,1819,1945,2048,2297,2270,2069,1939,1636,1592,1577,1842,1896,1738,1730,1582,1626,1556,1833,1824,1731,1647,1860,2461,2381,2029,1683,1597,1896,1770,2097,1936,2049,1852,1618,1753,1930,2491,3086,3306,3228,2629,2176,2469,2744,2103,1764,2116,2426,2254,1808,1697,2071,2392,2460,1616,1820,2359,2080,1771,1976,1787,1720,2370,2257,2034,2712,2325,1303,1782,2557],[2627,2545,2496,3338,3328,3494,2931,2656,3118,3436,3374,3262,2791,2214,2242,2449,1708,1499,1911,2325,3023,3997,4002,3732,2945,2980,3117,2972,3455,3319,3045,3454,3687,3557,3631,3830,3717,3722,3724,3536,3389,3581,3783,3259,2353,2367,2910,3483,3718,3549,3549,3162,2868,2945,2554,2548,3100,3266,3564,3873,3763,3422,3492,3585,3550,3239,3219,3312,2950,2888,2842,2510,2286,2669,3018,2412,2039,2171,2576,2384,2625,2217,1986,2292,2606,2662,2678,2446,2279,2533,2496,2259,1990,2314,2437,2102,1850,1809,2011,1985,2115,2320,1938,2265,2319,2600,2505,2712,2416,2654,2188,2399,2624,2773,2800,2429,2092,2071,2282,2547,2542,2935,2669,2355,2678,2856,2824,2843,2656,2565,2389,1982,1857,2060,2389,2266,3297,3651,3602,4144,4320,4208,4101,3654,3218,3161,3187,3243,3401,3527,3672,3957,3682,2488,1978,1775,1600,1425,1506,1887,1890,1853,1749,1629,1535,1526,1532,1616,1548,1519,1503,1557,1777,2058,2775,3275,2950,2200,1672,1566,1773,2089,2475,2600,2699,2779,2971,2993,2586,2437,1893,1792,1815,1887,1986,2180,2556,2496,2374,2863,2910,2099,1702,1457,2129,2320,2832,2494,2412,2417,2366,2732,2778,2707,2575,2463,2483,2381,2896,3771,3854,3000,2723,2937,2813,2385,2940,3222,2630,2485,2598,3420,3825,3332,3125,2701,1901,1772,2151,1969,1587,1535,1676,1890,2194,2326,1901,2027,2005,1730,1855,2254,2453,1920,1528,1909,2242,2013,2043,1927,1616,1776,1925,1804,2004,2984,3492,3154,2753,2273,2035,1955,2091,2122,2286,2665,2922,2413,1707,1549,1653,2104,2331,2179,1957,2041,2597,2625,2124,2048,2266,2209,2456,2308,2455,2673,3130,3703,3994,3334,2666,2313,2543,3207,3385,3007,2871,2664,2419,2164,1997,1813,1824,2708,3312,3487,3367,2855,2757,2775,3299,3474,3327,3692,3892,3764,3458,3516,3753,3793,3916,3709,2954,3017,3372,3850,4272,4068,3814,3671,3328,2866,2814,3134,3254,3038,3012,3308,3437,3259,3450,3520,3594,3675,3619,3594,3584,3547,3437,3275,3132,2880,2881,2972,3012,2801,3028,3028,2853,2730,2547,2583,2608,2388,2388,2391,2281,2108,1944,2200,2332,2308,2016,1708,1802,2040,2055,1796,1911,1846,1782,1714,1589,1600,1748,2056,2402,2312,2401,2573,2097,2227,2440,2285,2358,2248,1886,1941,1921,1964,2266,2586,2933,2542,2072,2091,1512,1732,2605,3204,3419,2808,2177,2135,2054,2014,2062,2215,2308,2448,2611,2623,2675,2699,2373,1725,1739,1788,2125,2929,3507,3209,2786,2249,1926,2854,3291,3580,3112,2706,3050,3039,2680,2666,2887,3105,3121,3327,2691,2459,2115,2162,2176,2055,1864,2627,2301,1868,1755,2224,2815,2598,2293,2255,1870,1597,1708,1819,1844,2101,2214,2387,2729,2788,2673,2857,2900,2655,2264,1923,2057,1832,1814,1729,1768,2096,1896,1524,1755,2457,3418,3438,2700,2274,2243,2019,1629,1582,1587,1741,2158,2119,2081,2316,1886,1822,2340,1942,2063,1946,1776,2059,2111,1852,2286,2509,1888,1870,2250,2391,2991,3722,3787,3569,3858,4050,4101,4244,4429,3587,2077,1708,1693,1600,1650,1432,1584,1437,1554,1852,1737,1380,1336,1475,1856,2058,2049,2260,2010,2222,2437,2450,2039,2204,2884,3617,3386,2127,2176,3266,3912,3993,3121,3174,3929,3455,2281,1400,1064,1722,2116,2624,3055,2862,3016,3222,2577,3117,3466,3043,2813,2402,2286,3277,4329,4501,4188,3784,3481,3368,3826,3653,4026,3536,2945,2644,1750,1494,2069,2411,2238,1724,1641,2057,2381,2310,1958,2675,3099,2651,2562,2349,1909,1861,1956,1813,2217,3217,2917,2104,2254,2446,2759,2770,2110,2282,3029,3309,3276,3504,3285,2740,2797,2812,3137,3007,2710,2530,2282,2886,3772,4016,3514,3063,3096,2984,2997,2972,3135,3089,2888,2874,2978,3086,3001,3121,3200,3410,3503,3386,3238,3260,3123,3039,3052,3094,3146,3226,3243,3387,3404,3030,2624,2340,2150,2620,3392,3380,3407,3791,3972,3631,2411,2330,2663,2259,1953,1870,1772,1658,2036,2623,3230,3469,3537,3062,3140,2978,2585,3134,3056,2920,3314,2972,2731,2798,2698,2851,2497,2206,2285,2810,2843,2874,2784,2115,1416,2072,2823,2888,2322,1693,1352,1548,1573,1589,1622,1512,1433,1474,1570,1862,2210,2583,3116,2874,2452,2503,2208,2122,1685,1331,1481,1790,1706,2170,2419,2083,2471,2657,2093,2030,2428,2619,3333,3649,3135,2610,2360,2249,2039,1823,3009,4103,4128,2929,3098,4100,4572,3327,3134,3366,2478,2396,2219,2402,2104,2164,2504,3384,3356,3650,3787,3407,2695,2469,2656,3061,3392,2920,3224,3256,3520,3112,2633,2694,3156,2989,2979,3198,3139,2848,2755,2701,2142,1991,3094,3505,3496,3515,3436,3508,3344,3273,3230,3356,3482,3247,2974,2621,2565,2691,3099,2621,1730,2109,2497,1851,1516,1577,1842,2416,3073,3165,2770,2694,2488,2498,2197,2496,2764,2420,2524,2430,1887,1655,1731,2109,2424,2191,2051,1981,3132,3615,3228,3066,2491,2234,2381,2528,2820,2696,3219,3506,3435,3294,3146,3134,2648,2280,1951,2033,2294,1785,1555,1969,1910,1960,2195,2285,2365,2279,1814,1605,1551,1872,2247,2168,2997,3525,3588,3414,2247,1641,1700,1724,1732,1633,1757,1996,1864,2082,2533,2406,2011,1809,2011,2696,2485,2398,2049,1900,1792,1791,2219,2375,2123,2101,2125,2746,2636,2372,2700,2718,2370,2169,2283,2277,2052,2222,2238,1877,2152,1948,2119,2305,2435,2234,2349,3126,3737,3748,3276,2845,2354,2253,3275,3991,3626,3222,3692,3566,2662,1995,1796,1858,1635,1686,1987,1916,1837,1742,1577,2089,2239,1918,2395,2429,1960,1912,2432,3064,2387,1991,3296,3327,2366,2306,2544,2847,2601,2106,1825,1332,913,1180,1417,1205,1266,1423,1624,1621,1540,1789,2308,2580,2276,1880,1876,2176,2303,1898,1900,1779,1810,2178,2318,2432,2384,2275,1947,1765,1793,1873,1743,1749,1736,1939,2314,2675,2231,1686,1838,1768,2016,2402,2511,2952,3418,3678,3793,3845,3723,4041,3582,2833,2635,2795,3343,3684,3500,3155,2598,2154,2418,2793,2852,3239,2982,2994,3098,3064,3186,3360,3603,3782,3736,3653,4049,4257,4167,3496,2279,2695,4065,4819,4908,4937,4197,2728,2183,2097,2269,2605,2593,1895,1910,2116,2291,2410,3096,3883,3902,3654,3754,4018,3745,3560,3479,3373,3364,3337,2885,2739,2877,3275,3366,3251,3261,3300,2857,2136,2163,2192,2393,2886,2931,2673,2514,2447,3462,4793,4792,4775,5037,4842,4084,3528,3219,3103,3187,3465,3378,3256,3262,3219,3281,3382,3645,3787,3883,3973,3389,2961,3527,4197,4407,4290,4204,4079,4380,4597,4113,3859,4123,4449,3994,3628,3159,2292,1635,1710,1563,1158,1186,1226,1640,3088,3261,3663,3338,2342,1643,1714,2115,2228,2154,1801,1610,1655,1652,2425,2839,2817,3596,3290,2736,2284,1870,1725,1632,1781,2004,1893,1974,1713,1422,2371,2085,2042,1852,1843,1997,1991,1927,2045,1963,1901,2720,2330,1738,1332,1524,1869,2437,2354,1980,1868,1836,1887,1888,1532,1777,2015,1625,1502,1678,1605,1527,1481,1475,1725,2025,2592,2902,2800,2861,3051,2652,2201,2410,2470,2287,2489,2713,2598,2374,2153,2265,2768,2824,2677,2436,2109,1991,2427,2707,2371,2129,1983,2312,2287,1900,1821,1863,2091,2447,2679,2303,2300,2428,2176,2059,2136,2129,2014,2145,2147,2293,2733,3142,2364,2894,2625,2234,2345,2298,2157,2381,2257,1934,2143,2027,2021,2388,2635,2448,2169,2778,3365,3574,3648,3572,2889,2219,2323,2618,2512,2441,2653,2556,2621,2332,1869,2386,2990,3113,2949,3060,3016,2730,2729,2852,2862,3118,3430,3443,3407,3826,3897,3746,3569,3137,2823,3088,3023,3724,3923,4046,4276,3991,3584,3130,2897,2579,2290,2498,2169,1543,2009,2632,2846,2490,2015,2399,2371,2135,1989,2414,2382,2071,2387,2518,2584,2727,3028,2426,1803,1645,2348,2457,2165,2022,2179,2670,2739,2065,1714,1977,2036,1960,1960,2222,2298,2076,2064,1962,2097,1951,1763,1838,2161,2007,1983,2261,3161,3121,2547,2214,2389,2271,2331,2670,2705,3091,3584,3640,3128,3004,3340,3044,2789,2967,2797,2303,2488,3088,2777,2215,2902,3042,1874,1963,2336,2340,2056,2415,2193,2208,2185,2076,2372,2146,2337,2564,2241,2529,3077,3194,3604,3572,3709,3462,2911,2612,2232,2268,2131,1676,1909,2297,2658,2467,2270,2349,2520,2770,2857,2716,2802,3073,3183,2695,2635,2468,2700,2598,2404,2580,2391,2193,2977,3626,3709,3708,3330,2688,2702,2898,3003,2996,3355,3488,2786,1693,1618,2198,2438,2763,2908,2680,2431,2183,2711,2968,2900,3109,3206,3276,3224,3265,3440,3205,3199,3348,3118,2107,1725,1958,2481,2046,1871,2088,2633,2350,1828,2088,2079,2005,2163,1992,2085,2405,2140,2127,1795,1184,1421,2136,2637,3078,3010,2260,2596,2384,1836,2225,2713,2814,2323,2875,3328,3543,3241,2841,3165,3046,2602,2585,3442,3426,3254,3803,4012,3886,3582,3242,2934,2918,3065,3415,3152,3183,3562,4057,3329,2433,1931,1565,1865,2144,1831,1800,1836,1801,2145,2027,1864,1946,2078,2314,2665,2901,2710,2249,2111,2131,1989,1830,1626,1730,1659,2098,2641,2265,1920,2009,2803,2937,2594,2448,2774,2996,3189,3265,2961,2396,1991,1715,1677,1884,2316,3020,3606,3830,3605,2750,2114,1729,1867,2014,1933,1786,1628,1721,1704,1558,1913,1979,2070,2318,2293,2231,2225,3162,3592,2647,1578,1593,2278,2266,1995,2416,2500,1998,2041,1990,1876,1650,1842,1861,1725,1563,1515,1632,1670,1641,1524,1507,1589,1753,1639,1921,2549,2227,2537,2227,1705,1855,1829,1629,1519,1859,1930,1698,1739,2002,1982,2331,2820,2980,2640,2225,1969,1849,1622,1655,2296,2755,2398,2063,1775,1770,2060,2221,1973,1936,2047,2013,1742,1785,1732,2122,2803,2900,2340,2815,2801,1691,1625,2382],[2546,2546,2535,3231,3774,3372,2782,2940,3619,3858,3686,3419,2669,2190,2282,2036,1483,1733,2136,2653,3469,3782,3803,3783,3294,3294,3486,3486,3892,3884,3145,3194,3622,3377,3542,3859,3907,3913,3996,3586,2974,3039,3064,2833,2309,2679,2919,3276,3455,3243,3406,3100,2756,2751,2490,2206,2613,2798,3182,3661,3366,2633,3099,3328,3195,3071,3366,3393,2778,2764,2544,2374,2978,3326,3020,3076,2583,2780,2822,2593,2057,1338,1521,2142,2432,2313,2329,1864,1951,2152,2310,2461,2254,2208,2535,2803,2535,2206,2004,2075,2263,2304,2185,2374,2467,2567,2586,2802,2687,2346,2109,2406,2546,2455,2389,2566,2323,2344,2423,2536,2608,2819,2270,1919,2216,2221,2136,2001,2011,2526,2374,2048,2003,2072,2050,2271,3039,3146,3000,3584,4296,4103,3746,3563,3065,3155,3272,3394,3548,3341,3259,3409,3018,2417,2020,1946,2147,1856,1600,1807,2092,2202,2044,1478,1356,1468,1453,1540,1576,1736,1800,1744,1760,1896,2215,2493,2296,1926,1468,1858,2122,1935,2169,2495,2612,2289,2270,2379,2397,2714,2072,1828,1887,1790,1663,1946,2247,2223,2554,3421,3166,2190,2066,2343,3043,3011,2868,2702,2654,2524,2735,2856,2494,2665,2695,2251,2080,2711,3488,3864,2850,2907,3294,3526,3176,2721,2909,2934,2724,2809,2977,2756,2326,2307,2621,2641,1942,1859,2040,1946,1960,1764,1874,1787,1938,2180,2469,2203,1732,1475,1749,2082,2669,2877,2208,1934,2092,1995,2377,2468,2088,1880,1656,1822,2336,2596,2988,3470,3031,2823,2878,2642,2229,2379,2288,2806,3178,2522,1914,1694,1802,2138,2307,2323,2194,1978,2238,2463,2046,2129,2230,2337,2418,2512,2530,2494,2767,3130,3632,3683,3807,3453,3184,3273,3442,3167,3076,2898,2555,2218,2043,1462,1246,2084,2900,3274,2625,2701,1727,1942,2840,3198,3338,3780,4185,3846,3228,2888,2887,3307,3702,3715,2664,1922,2835,3356,3537,3631,3714,3879,3532,2928,2913,3270,3349,2937,2855,3321,3120,2678,2681,2959,3543,3714,3764,3727,3609,3473,3763,3853,3889,3197,2973,3298,3071,2689,2622,2514,2692,2681,2602,2632,2416,2188,2308,2305,2040,2070,2010,1926,2151,2155,1788,1899,2178,1968,1719,1543,1932,1803,1767,1813,1843,1632,1519,1852,2239,2180,2236,2496,2219,2014,2026,2192,2225,1909,1670,1992,1990,1744,1808,2256,2766,2460,1930,2108,1678,1731,2162,2912,2823,2467,2780,2556,2125,1941,2018,2434,2625,2580,2436,2199,2446,2934,2574,1841,1823,2001,2185,3070,3311,2956,3013,2409,2602,3374,3417,3664,3692,3472,3316,2879,2935,2996,3052,3934,3674,3436,2723,2106,2060,1882,1657,1562,1557,1998,2464,2580,2156,1950,2613,2263,2110,2313,1698,1618,2042,1739,1500,1776,2074,2178,2348,2597,2720,2535,2758,2321,1937,1948,1932,1707,1755,1689,1758,1871,1826,1666,1851,2147,3194,3039,2260,2126,2370,2392,2120,1777,1666,1975,2175,2209,2467,2452,1907,1963,2608,2280,2875,2353,2059,2207,2248,1997,1917,1959,1886,2204,2237,2095,2890,3354,3492,3742,3787,3775,3952,4228,3964,2544,1676,2080,1908,1958,1922,1930,1770,1601,1541,1685,1522,1310,1570,1670,1780,1730,2637,2780,1888,1613,1881,2288,1920,1660,1836,2510,2636,1861,2256,3310,3502,4107,3418,3140,4040,3716,2652,2153,1797,1580,1946,2435,2539,3105,3397,3029,2836,3190,3015,2382,2134,2114,2401,3050,3750,4328,4209,4276,4484,4271,3539,2835,3252,3259,2835,2284,1805,1923,2200,2785,2996,2301,2053,2640,2595,2663,2056,2878,3321,2835,2864,2602,1879,1838,2027,2135,2733,3573,3355,2613,2530,2684,2680,2125,1854,2555,3112,2608,2314,3078,3204,2480,2530,2656,3376,3306,2872,2928,2676,2798,3728,4252,3664,3395,3330,3207,3216,3010,2976,2746,2614,2758,2980,3199,3186,3110,2958,3254,3306,3326,3298,3298,3116,3093,3153,3190,3162,3153,3240,3312,2764,2143,1938,2098,2398,3924,3790,3397,3908,4140,3764,2567,2883,4383,3384,2149,1977,1822,1910,1992,2032,2739,3387,3598,2896,1931,2387,2767,2768,2686,2979,3344,3277,3145,3260,2769,2691,2875,3259,2932,2441,2601,2962,3134,2802,2122,1758,2338,2653,2814,2734,1975,1536,1454,1441,1455,1469,1437,1490,1837,2532,2602,2346,2278,2288,2164,2102,1827,1663,1594,1462,1363,1647,2147,2348,2596,2947,2102,2032,2144,2232,2685,2720,2796,3109,3261,3163,2995,2405,2237,2167,1997,3248,4128,4227,3796,4003,4327,4387,3932,3840,3332,2680,3034,3359,3463,2370,1973,2692,3642,3125,2789,2849,2488,2504,2848,2665,2588,3040,3260,3696,3496,3270,2952,2782,3160,3729,3416,3074,3060,3087,3049,2997,2809,2369,2293,3111,3610,3648,3287,3172,3126,2756,2623,2645,2945,3266,3470,3104,2774,2691,2426,2393,1755,1340,1774,1852,1683,1640,1654,2295,2508,2652,3039,2787,2944,3120,2963,2519,2781,2793,2319,2393,2325,1916,1716,1777,1786,2344,2736,2257,2159,3072,3350,3410,3355,2613,2775,2536,2305,2549,2872,3208,3322,2995,2520,2678,2690,2625,2805,2251,1939,2205,1992,1959,2588,2589,2197,2235,2413,2406,2101,1815,1672,1595,1809,2613,2998,3738,3821,3318,2441,1677,1735,1896,1803,1653,1472,1546,1734,2111,2533,2147,1786,1721,1674,1886,2105,2002,1605,1246,1431,1739,1765,2141,2402,2260,2104,2019,2160,2382,2240,2602,3210,2837,2099,2011,2100,1870,2088,1817,1788,1903,1833,1852,1889,2288,2159,2059,2728,3209,3054,2595,2046,1693,1905,3052,3786,3928,3018,2918,2564,1998,1906,1716,1677,1521,1508,1742,1857,1825,1866,2165,2675,2149,1847,2541,2469,2203,2729,2885,3304,3228,3338,3624,2839,2432,2909,3031,2950,2562,2187,2266,1792,1316,1299,1516,1487,1807,2144,2032,1546,1470,1668,1888,2129,2148,1957,1954,2284,2188,2025,2245,2408,2212,2277,2490,2448,2262,1832,1848,2368,2252,2158,1878,2178,2240,2065,2179,2411,2304,1839,1548,1495,1594,2032,2591,2867,3278,3824,4157,4134,4002,4040,3247,2562,2887,3392,3749,3613,3356,3255,2985,2539,2733,2901,3297,3653,3570,3278,2673,2487,3072,3438,3417,3284,3398,3526,3874,3979,4100,3637,3353,3711,4251,4860,4775,4135,2355,1496,1431,1870,2399,2537,1898,1388,1492,1765,1899,1957,2388,3044,2937,3017,3719,4048,3842,3730,3573,3215,2712,2479,2729,3210,3709,3974,3552,3732,3607,3562,3076,2082,1860,2116,2351,2509,2541,2489,2498,2562,3370,4661,4960,5092,5176,4732,4317,3852,3443,3307,3480,3740,3514,3354,3053,3162,3527,3735,3738,3645,3793,3697,2753,2105,2547,3750,4544,4407,4345,4192,4325,4517,4070,4001,4576,4576,4159,3882,3557,3063,2503,2056,1760,1323,1263,1437,1715,3109,3277,3376,3396,2457,1857,2586,2413,1778,2470,2273,2253,1786,1878,2797,2968,3206,3410,3355,3458,2765,1535,1647,1903,2130,2025,1799,1563,1637,1633,1908,1816,2049,2061,1795,1914,2019,2010,1599,1672,2306,2270,1821,1865,1448,1441,2093,2651,2399,1874,1829,1991,2202,1848,1614,1788,1568,1371,1533,1469,1549,1794,1671,2083,2438,2178,2512,2155,2093,2465,3104,2679,2074,2368,2735,2855,3052,2864,2423,2256,2277,2274,2812,2741,2958,2381,1812,2108,2460,2289,2412,2630,2551,2721,2692,2203,1880,2198,2344,2380,2578,2441,2636,2656,2661,2647,2325,2075,1525,1253,1646,2442,2875,2930,2387,2596,2621,2212,2066,2196,2050,1840,1707,1753,1859,1875,2019,2239,2292,2076,1974,3075,3872,3831,3647,3333,2836,2317,2533,3252,3419,3376,2466,2232,2886,2850,2352,2482,2781,2876,2906,2717,2516,2414,2317,2592,2950,3121,3210,3267,3127,3233,3704,4035,3731,3103,3159,4074,4211,4295,4412,4136,3527,3556,3107,1948,1982,2029,1863,2588,2433,1653,1570,2001,2360,2274,2282,2470,2304,2320,2654,2492,2149,2933,3460,2049,1914,2602,3024,2338,1909,1894,2460,2867,2885,2364,2126,2536,2600,2018,1962,2501,2168,1992,2233,2569,2384,1864,1935,2124,2114,2106,1958,1718,1899,1697,1913,2351,3183,3073,2599,2447,2378,2356,2558,2531,2600,2769,3222,3728,3592,3274,3131,2669,2445,2708,2470,2098,2290,2601,2686,2097,2341,2670,2029,2633,2558,2140,2106,2216,2175,2055,2166,2514,2389,1600,1880,2088,1791,2357,2611,3160,3442,3334,3549,3334,2721,2220,1681,1795,1730,1689,1849,1983,2460,2055,1983,2437,2586,2360,2164,2144,2570,2843,3197,3038,2698,2526,2663,2262,1969,2737,2961,2610,3290,3527,3682,3544,3129,3120,3392,3387,3217,2740,2587,2984,2644,1739,1875,2348,2578,2997,2810,2246,2244,2037,2536,2620,2550,2873,3152,3220,3055,3232,3467,3232,3249,3611,3034,2200,1672,2024,2562,2160,1747,1733,2057,2189,1863,1776,2008,1879,1820,1512,1912,2251,1963,1829,1557,1470,1869,2312,2689,2819,2735,2064,2438,2433,2575,2718,2648,2665,2797,2942,3081,3441,3592,3591,3630,3040,2975,2976,2758,2219,3052,3781,3704,3217,2786,2946,3537,3275,3132,3234,2610,3498,3882,3455,2667,1787,1626,1634,1948,2105,1786,1655,1860,2019,2303,1881,1867,2478,2149,1968,2464,2555,2379,2101,2023,1921,1749,1863,1620,1784,1783,1801,2570,2286,2215,2753,3167,3345,3017,2567,2618,2911,3242,2770,2110,2135,2204,2094,1885,1613,1977,2809,3072,2896,2400,2121,2064,1934,2328,2172,1724,1686,2047,2241,1883,1981,2407,2302,2122,2271,2234,2530,2785,3110,3496,2812,2178,1852,1946,1981,2165,3206,2928,2190,2126,1810,1849,1857,1819,1687,1481,1600,1780,1676,1598,1516,1475,1490,1672,1707,1661,2298,2365,1810,2624,2779,2310,2566,2765,2343,2019,2542,2845,2407,1770,1825,1623,1685,2205,2343,2301,2086,1793,1803,1643,2160,3072,3082,3473,3040,2381,1982,1656,1646,1860,1682,1736,1886,1772,1632,2056,2764,2719,3041,2674,2990,2908,2370,2456,2604],[3284,3229,2841,3278,3821,3686,3396,3344,3753,3885,3660,3507,2767,1959,1992,1886,1532,2117,2393,2544,3343,3846,3661,3577,3493,3561,3486,3183,3324,3243,3191,3471,3617,3623,3858,4008,3768,3720,3913,3471,2877,2818,2979,3023,2967,3308,3372,3139,3063,2801,2481,2434,2088,1625,2121,2249,2199,2696,2432,3126,3188,3134,3438,3186,2888,2874,3153,2855,2619,3021,2335,2029,2103,2608,2909,3189,2867,2967,2857,2385,1739,1566,2012,2170,2224,2175,2129,1975,1697,1872,2310,2398,2345,2172,2515,3044,2913,2569,1869,2055,2243,2049,2243,2266,2434,2544,2627,2696,2890,2708,2215,2411,2812,2499,2358,2458,2533,2457,2391,2474,2441,2173,1760,1632,1804,2047,2088,2174,2378,2681,2182,1856,2031,2131,2182,2501,2884,2986,2946,3248,3985,3774,3542,3532,3325,3376,3559,3488,3519,3661,3846,3648,2962,2207,1911,2005,2763,2334,1965,1896,1870,2324,2011,1909,2306,1859,1933,2209,1944,1835,1741,1787,1779,1672,2003,2026,2017,2062,2139,2787,2711,2259,2343,2375,2544,2011,2168,2703,2697,2203,2264,2095,1702,1663,1731,1730,1808,2039,2603,2685,2474,2428,2708,2833,2983,2929,2404,2178,2175,2103,2130,2473,2569,2792,2829,2292,2382,3500,4002,3793,2709,2388,3096,3582,2780,2248,2475,2474,2662,2933,2765,1963,1756,2073,2474,2326,1780,1731,1972,2061,2168,1863,2197,1938,2152,2021,2120,2164,2215,1894,1558,1692,1991,2114,1789,1690,1930,2585,2522,2211,2202,1847,1715,1912,2198,2233,2686,3263,3029,2774,2844,3053,2934,2674,2045,2528,2795,2447,2205,1739,1724,1909,2131,2247,2145,2082,2163,2429,2404,2265,2235,2336,2315,2514,2649,2790,2792,2724,3032,3189,3455,3894,3678,3103,2943,3088,3261,3230,3100,2536,2096,1383,1569,2167,1706,2611,2229,1876,1184,2035,2958,3351,3495,3762,4129,3685,2940,2153,2629,2840,3254,3762,3725,2682,2723,3278,3440,3724,3906,3876,3386,3074,3033,3209,3328,2452,2035,2984,3269,2911,2577,2667,3287,3538,3674,3560,3305,2863,3003,3332,3493,2652,2155,2423,2563,2316,1664,1712,2547,2508,2608,2674,2465,2240,2146,2268,2154,1951,1947,2023,2087,2302,2338,2532,2192,2049,1923,1957,2026,2171,2162,2038,2035,1831,1866,1844,1699,2015,2190,2034,2326,2483,2334,2149,2294,2199,2007,2146,2005,1800,2213,2549,2673,2359,1701,2199,1845,1598,1996,3286,3267,2414,2274,2388,2361,1928,2030,2491,2320,2676,2310,1917,2504,2731,2343,2064,2027,1951,2597,3476,2765,2243,2396,2510,3328,3858,3902,3663,3542,3573,3128,2804,3285,3421,3351,3532,3173,2833,3194,3258,3304,2710,1942,1774,1902,2234,2566,2781,2743,2066,2715,2148,1879,2215,1940,1486,1730,1719,1783,1986,2179,2430,2955,2788,2762,2568,2598,2221,1934,2175,2035,1749,1550,1722,1826,1674,1768,1747,2049,1844,2018,2165,2007,2277,2729,2875,2519,1896,1955,2357,2503,2679,2714,2450,1728,1654,2221,2688,2733,1967,1802,2212,2344,1892,1533,1583,1827,1856,1537,1918,2162,2586,3208,3371,3134,3294,3699,3941,2921,1820,1504,2135,1907,1811,1739,1632,1629,1637,1616,1752,1708,1656,1761,1842,1736,1737,2047,1967,1738,1722,1625,1748,1883,1880,1543,1550,1885,2138,2957,3802,4026,4618,3828,3435,4049,3598,2889,2468,2273,1710,2109,2337,2575,3053,3198,2787,2692,2514,2166,1932,2189,2666,2291,2260,2652,3136,3763,4221,4336,4046,3317,2197,1855,2353,3121,3139,2238,2047,2186,2571,2799,2395,2868,3142,3138,2928,2645,2596,2326,2749,3193,2844,1815,1722,1855,2189,3121,3653,3673,3643,3487,3343,3107,2294,1880,2574,2543,2023,2092,2900,2891,2358,2265,2345,3083,3338,2912,2417,2254,2583,2971,3706,3916,3522,2977,2777,2607,2452,2121,1864,2154,2204,2372,3242,3751,3344,2751,2675,2857,3061,3231,3230,3095,2988,3057,3187,3286,3237,3403,3492,2570,2271,2203,2301,2962,3917,3616,3789,4094,3837,2820,2661,4779,6424,3583,2119,1978,1665,2381,2634,1922,2125,2645,2784,2426,2116,2409,2464,2979,3017,3559,3652,2923,3299,3567,3118,2696,2929,3611,3429,2737,2752,3206,3119,2522,2287,2635,2832,2879,2887,2652,2232,1705,1496,1429,1422,1377,1407,1582,2176,2720,2624,2154,2213,2143,1976,1905,1619,1428,1719,2325,2723,2932,2818,2724,2248,2381,2083,1771,1787,1765,2127,2834,3024,2927,3340,3433,2809,2233,2101,2232,2228,3287,4176,4212,4108,4012,4040,4296,3919,3153,3304,3000,2906,3487,3573,2822,2288,2626,2979,2511,2169,2530,2780,3121,2647,2344,2768,2975,3558,3984,3943,3317,2607,2401,3187,3919,3689,3453,2854,2541,2399,2548,2769,2744,2855,3223,3817,4015,3070,2346,2524,2968,2870,2884,2971,3221,3032,2973,3098,2554,1851,1704,1420,1303,1370,1396,1507,1666,1748,2460,2765,2845,2966,3130,3266,3409,3087,2557,2728,2598,2357,2700,2828,2600,2197,2149,2333,2818,2612,2108,2306,2482,2721,3263,3417,2976,2890,2400,2501,2305,2520,2829,2929,3106,3068,3279,2957,2954,2713,1895,1631,2129,2374,2192,2351,2122,1995,2203,2425,2612,2519,2305,2016,1754,1792,2712,3463,3892,3363,2327,2071,2366,2099,1644,1936,2043,1632,1692,1944,2285,2315,1826,1443,1567,1759,1843,1950,1900,1546,1378,1538,1644,2050,1921,1941,2280,2271,2116,2081,2206,2023,2376,2966,3051,2548,2771,2513,2273,2755,2263,1778,1804,1775,1722,1770,1893,1979,2084,2200,2279,2457,2997,2404,1982,1768,2339,3340,3401,2343,1791,1604,1462,1743,2055,1841,2054,1620,1512,1779,1841,1824,1805,1753,1748,1877,2318,2083,2533,2742,2702,2766,3064,3460,3364,2631,2298,2658,2691,2220,2142,2182,2411,1905,1563,1890,2553,2088,2108,2157,1666,1417,1548,1483,1713,2121,2495,2045,2132,2439,2046,1887,1855,2262,2332,2272,2158,1887,1622,1620,2263,2698,2532,2391,2057,2202,2115,2067,2246,2143,1852,1682,1539,1731,1857,1915,2553,3049,3817,4570,4346,4156,4273,3697,3017,3224,3383,3549,3529,3009,2958,3065,3052,2830,2905,3004,3410,3960,4067,3580,2822,2688,3471,3594,3351,3429,3580,3794,3802,3725,3926,3853,3926,3925,4045,4701,4528,3649,1766,1347,1348,1512,1748,1517,1244,1192,1209,1189,1458,1972,2364,2797,2690,2910,3781,4215,3972,3916,4137,3220,2052,2359,3122,3786,4156,4062,3732,3770,3651,3746,3587,2949,2314,2220,2454,2665,2710,2586,2546,2469,2630,3850,4841,5089,5149,5149,4721,3895,3422,3333,3683,3885,3653,3304,3340,3494,3797,3787,3684,3549,3729,3366,2212,1998,2929,4144,4609,4717,4656,4311,4200,4228,3903,4037,4522,4311,3672,3460,3371,3175,3098,2785,2400,2001,1985,2152,2119,2908,3377,3599,3537,2576,2335,2805,2566,2886,2797,2503,2207,1898,2449,2814,3153,3354,3219,3261,3544,3200,1902,1947,2260,2253,2036,1234,928,1542,1523,1449,1736,2070,1967,1672,1602,1863,1874,1603,2254,2225,1938,2364,2291,1843,2068,2136,2071,2372,2053,1909,1719,2043,1926,2216,2246,1868,2075,2371,1855,1638,1871,2018,2371,2580,2128,2367,2088,1903,2363,2899,3287,2708,2576,3344,3591,3441,2932,2626,2390,2651,2036,2624,2828,2449,2201,2523,2938,2480,2093,2689,3105,2851,2569,2489,2261,1954,1923,1749,2060,2374,2202,2249,2203,2091,1983,1716,1779,1563,1631,1564,1799,2492,2835,2643,2439,2123,1610,1677,2043,2046,1605,1607,1604,1643,1847,2204,2269,2451,2512,2584,3155,3439,3228,3050,3141,2951,2470,2777,3408,3527,3564,2844,2448,3079,3198,2584,2384,2563,2917,2810,2099,2405,2776,2462,2534,3072,3065,3013,3152,3242,3420,3813,4005,3875,3952,3964,4300,4691,4839,4211,3790,3566,3028,2058,1471,2410,2233,2519,2614,2382,2134,2003,1968,1989,1945,1743,1824,1983,2254,2599,2062,1907,2520,2460,1914,1919,2189,2188,1809,1835,2141,2285,2728,2968,2965,2633,2414,2519,2213,2171,2600,2294,2084,2258,2564,2490,2142,2120,1853,2244,2767,2131,1870,1985,2260,1836,2129,2971,2860,2779,2607,2234,2210,2576,2482,2520,2778,3081,3033,3500,3361,2697,2214,2685,3101,2127,1640,1826,1842,2524,2916,2316,2326,2790,3436,3027,2421,2511,2452,2348,2191,2530,2537,2107,1593,1502,1716,2202,2325,2476,3100,3397,3270,3406,3416,3205,2879,2667,2541,2325,2082,1773,1716,1984,2103,2135,2687,2688,1949,2216,2015,2477,2758,2968,2854,2467,2197,2133,1996,1711,2523,3264,3140,3252,3449,3342,3171,3278,3113,3120,2924,2677,2329,2215,2755,2965,2712,2343,2237,2183,2562,2686,2213,2341,2075,2283,2768,2805,2945,3161,3313,3160,3296,3334,3278,3230,3464,3132,2352,1655,1771,2131,1891,1699,1741,1714,2029,1709,1879,2077,1779,1668,1274,1796,2160,1944,1875,1622,1856,2460,2752,2984,2551,2264,2220,2215,2540,2664,2212,2338,2613,2698,2359,2111,2574,3101,3174,3007,2774,3067,2972,2808,2425,3153,4078,3482,2878,3205,3210,3649,3217,3049,3032,2974,3894,3673,2841,2117,1684,1760,2028,2237,2189,1705,1598,2055,2603,2547,2240,2447,2453,1863,1842,2012,2201,2370,2132,1834,1524,1811,2010,1520,2374,2334,1898,2442,2678,2906,3331,3343,3212,3062,2688,2895,3220,3134,2281,1649,1602,1813,1891,1880,1795,2093,2491,2364,1891,1540,1498,1359,1746,2498,2176,1557,1503,1773,1867,1935,2580,2737,2094,1891,1926,1957,2287,2641,3168,3365,2932,2589,2226,1988,1908,2522,3075,2709,2832,2156,1724,1816,1777,1603,1614,1749,1943,1982,1887,1824,1428,1560,1604,1527,1656,1777,2470,2220,1647,2087,2713,2973,3120,3121,2769,2431,2958,3200,2412,1824,1582,1489,1723,2367,2579,2455,2584,2649,2356,2251,3110,3332,3294,3718,3163,2577,2216,1935,1953,1919,1681,1902,2273,2212,1650,1967,2279,2138,2019,1894,2053,2007,2298,2923,2762],[3642,3538,3200,3128,3019,2831,3098,3292,3160,3144,3133,2901,2413,2401,2328,2093,2193,2525,2343,2298,2695,2625,2692,2874,2801,2713,2806,2384,2496,2408,2631,3063,3486,3627,3688,3792,3575,3469,3354,2973,3111,3160,3227,3306,3554,3640,3344,2888,2468,2309,2424,2422,1942,1858,2324,2434,2396,2522,2048,2602,3054,3252,3139,2853,2802,2955,3044,3077,2934,2990,2281,1767,1561,2018,2805,3039,2862,2898,2803,2495,2310,2584,2347,2146,2697,2534,2342,1871,1619,1992,2274,2239,2083,1995,2194,2652,2448,2364,1782,2010,2355,2436,2376,2280,2228,2213,2362,2496,2886,2261,1832,2173,2802,2767,2774,2679,2564,2319,2310,2388,2265,2215,2253,2614,2708,2631,2396,1989,1911,2337,2231,1918,1943,2404,2549,2612,2891,3178,3335,3329,3964,3974,3586,3586,3550,3576,3378,3016,3175,3657,4255,4164,3339,2905,2756,1944,2165,2215,2171,1721,1802,2188,1703,2080,2380,1916,2150,2276,2605,2350,1613,1515,1623,1786,2407,2316,2194,2154,1964,2201,2216,2371,2591,2363,2251,2075,2066,2685,2373,1988,2540,2195,1760,2100,2022,1567,1726,2304,2740,2797,2990,3050,2850,2699,2825,2820,2698,2398,2060,1925,1546,2442,2968,2728,2382,2028,2568,2759,3078,3318,2478,2068,2690,3118,3156,2644,2800,2634,2514,2851,2452,2187,2330,2584,2844,2490,1976,1826,2092,1730,1917,2041,2316,2331,2160,1710,1733,2247,2600,2490,1877,1807,2190,2300,1924,1798,1766,2158,2536,2556,2128,1798,1890,2057,1990,2187,2733,2889,3372,2668,2536,2780,2607,2310,2272,2664,2589,2247,2359,1927,1846,1918,2050,2223,2118,2176,2257,2512,2443,2454,2875,2746,2476,2372,2602,3532,3293,2887,2843,2754,2940,3383,3185,2807,2830,3317,3606,3684,3908,3002,2690,2145,2293,2271,1716,2191,2277,1747,1765,2402,2751,3151,3128,3232,3409,3366,3121,2871,3172,3349,3505,3471,3580,3383,3295,3462,3474,3432,3616,3328,2764,2668,2823,2572,2655,2293,2330,3218,3594,3206,2475,2562,2664,3182,3520,3353,2844,2041,2178,2566,2514,2381,2360,2269,2630,2486,2315,2070,2051,1955,2472,2670,2524,1936,1680,1925,2229,2322,2370,2260,2471,2840,2359,2246,1940,2084,2300,2325,2326,2788,2698,1935,2253,2087,2050,2462,1842,1833,2392,1984,1802,1637,1755,2120,2104,1880,1968,1958,1722,2054,2600,2625,2331,1989,1432,1546,1628,1500,1842,2822,2989,2390,1899,1851,1959,1998,2259,2672,2341,2311,1824,1974,3078,3162,2599,2225,2172,2291,2736,3001,2578,2652,2775,3181,3790,3715,3437,3255,3137,3087,2780,3184,3736,3197,3492,3204,2965,2984,3414,3789,3757,2897,2015,2073,2176,2240,2032,2144,2358,1770,1886,1914,1998,2438,2111,1501,1565,1951,2349,2334,2508,2668,2932,2987,3184,3154,2803,2272,2245,2087,1794,2033,1844,1845,2160,2205,1867,2331,2366,2062,1882,2254,2469,2187,2316,2830,2321,2067,2233,2071,2553,2447,2226,2230,1888,1600,2004,2636,2392,1888,2064,2036,2149,1820,1677,1569,1560,1444,1664,2182,2242,2576,3338,3287,2806,2919,3206,3105,1968,1748,1562,1875,1880,1602,1470,1532,1534,1516,1597,1815,1784,1544,1698,1587,1716,2353,2068,1638,1708,1742,1794,1575,1711,2036,1437,1499,2008,2674,3418,3450,3774,4053,3322,3409,3726,3628,3364,3492,3558,2648,2154,2132,2286,2565,2780,2875,2839,2249,2003,2495,3266,3628,3072,2900,2916,2551,2811,3526,3959,3983,3874,3226,2496,1995,2438,2902,2355,2324,2166,2615,2844,2437,3010,3198,3194,3159,3142,2517,2262,2583,3066,2952,2526,2335,2266,2221,2798,3212,3254,3292,3344,3485,3269,2416,2246,2513,2412,2148,2004,2110,2229,2242,2394,2576,2610,2668,2504,2007,1837,2260,2212,2950,3487,2796,1935,1945,2126,2137,1877,1569,1844,1565,1696,2702,3572,3029,2297,2335,2442,2657,3128,3448,3068,2732,2637,2871,3376,3746,3794,3983,3724,3321,3359,3669,3646,3114,3215,3883,3540,2591,2349,3682,5235,4136,2217,1827,1687,2257,4492,4197,2078,1679,1648,1493,2021,2260,2088,2428,3168,3333,3544,3199,2846,3516,4177,3419,2695,2893,3526,3671,3131,2701,2486,2723,2510,2821,2878,2831,3146,2802,2062,1803,1548,1454,1418,1388,1463,1513,1362,1511,2016,2360,2060,2091,2202,2081,2365,2234,1872,2568,2696,2822,3134,2784,2658,2416,2338,2146,1787,1836,1718,2329,3056,3230,2997,2863,3352,3064,2402,2193,2182,2307,3211,3974,4199,4112,3934,3853,3616,3483,2419,3095,3001,2811,3187,3416,2906,2300,2525,2888,2789,2661,3034,3066,2563,2359,2578,3117,3104,3264,3654,3536,2884,2563,2546,3448,3871,3703,3595,2885,2574,2472,2438,2666,2793,2794,2815,3232,3596,3044,2602,2653,3044,3144,3108,3238,3156,3005,3182,3051,2266,1838,1900,1866,1618,1616,1578,1578,1632,1618,2265,2721,2744,3160,3550,3462,3506,3086,2612,2896,2380,2696,3748,3653,3624,3363,2881,2751,2781,2164,1795,2060,2267,2366,2459,2890,2901,2778,2763,2969,2427,2366,2725,2785,3073,3021,2781,2346,2092,1812,1529,1703,1764,1943,2187,2144,1836,1828,1934,2355,2542,2357,2657,3444,3182,2418,3009,3603,2924,1939,1662,1908,2536,2187,1474,1776,1841,1673,1876,2127,1920,1905,1844,1896,1964,1798,1808,2075,2136,1776,1600,1556,1670,2044,1712,1610,1918,2074,1760,1597,1797,2326,2732,2608,2952,2877,3465,3208,3029,3276,3019,2372,2182,2364,2021,1773,1881,2055,1856,1864,1556,2120,2451,2289,1947,1578,1824,2194,1992,1590,1440,1840,1958,2474,2329,2166,2063,1593,1558,1764,1815,1773,1610,1770,2135,2071,2189,2374,2278,2352,2355,2378,2929,3566,3565,2903,2196,2521,2447,1830,2230,2251,2124,1905,2098,2242,2498,2315,2157,1947,1470,1692,1932,1619,1978,2366,2431,1987,2614,2810,2332,1918,2048,2388,2303,2078,1713,1715,1764,2426,2620,2552,2542,2243,1840,2074,2476,2366,2248,2111,1764,1714,1955,2228,2084,1838,2524,3672,4320,4493,4488,4384,3847,2958,2666,3319,3414,3351,2812,2343,2392,2653,2983,3226,3421,3325,3433,3688,3514,3429,3335,3457,3814,3544,3550,3758,3645,3705,3713,3605,3529,3539,3939,3342,3056,3835,3732,3023,2002,1602,1389,1198,1098,1086,1148,1077,1077,1039,1208,1948,2436,2700,2522,2875,3749,4344,4259,4002,3873,2749,1886,2499,3144,4058,4216,3897,3550,3315,3282,3618,3741,3206,2561,2489,3094,3404,3376,3254,2923,2667,2548,3353,4540,4920,4895,5147,4848,3913,3583,3517,3742,3461,3306,3255,3646,3769,3598,3375,3551,3780,3714,3551,3254,3310,3559,4368,4524,4569,4500,4311,4220,4038,3897,4070,4399,4367,3872,3663,3146,2874,2977,2643,2856,2763,2489,2331,2238,2749,3308,3450,3609,3152,2108,1991,2501,2486,2156,2377,2218,1930,2155,2766,3250,3378,3227,3284,3384,2820,2093,2174,2253,2136,1731,1111,1163,1519,1654,1504,1538,1684,1694,1677,1860,2596,2075,1965,2294,2009,2287,2858,2250,1879,2176,1834,1791,2502,1824,1582,1576,1776,2002,2185,2441,2424,2602,2713,2056,1541,1688,1593,1688,1947,2097,2863,3005,2019,2088,2479,3310,3282,2873,3396,3481,3203,2840,2954,2830,2964,2307,2602,3001,2335,1914,2366,2499,2223,2089,2038,2291,1974,1999,2275,1843,1499,1412,1597,1987,2035,1886,1957,1736,1504,1420,1721,1881,1477,1548,1576,1461,2085,2652,2552,2293,2014,1938,1814,1934,2020,1766,1664,1577,1591,1666,1929,2376,2739,2683,2563,2153,2072,2201,2447,3060,2945,2640,2828,3103,3408,3692,2956,2332,3065,3172,2406,2228,2830,3234,3167,2876,2783,2754,2396,2384,2752,3076,3240,3181,3513,3564,3494,3469,3805,4207,4048,4156,4355,4355,3581,2721,2141,1811,1740,1938,2513,2409,2645,2316,2420,2194,2334,2276,2116,1984,1640,1652,1818,1895,2170,1956,2183,1967,1908,2274,2199,2442,2567,2024,2179,2628,2593,2564,2983,4128,3370,2431,2238,1822,1700,1864,1725,2064,2358,2234,2374,2129,1961,2241,2645,2228,2214,1954,1902,2094,1938,2556,3008,2912,3017,2788,2216,2107,1991,2244,3543,3840,2999,2751,3451,3581,3372,3128,3084,2846,1805,1490,1654,1938,2988,3359,2368,1837,2045,2696,2844,2758,3079,2688,2203,2414,2585,2204,1887,1486,1460,1612,2199,2792,2685,2879,2821,3165,3537,3427,3381,3385,3333,3155,3112,2546,1681,1383,1984,2689,2567,2723,2547,1718,2247,1994,1923,2286,2933,2730,2237,2122,2378,2699,1820,1845,2729,2635,2669,3510,3467,3162,3052,2756,2173,1639,1800,2492,2707,2749,2810,2586,2363,2346,2425,2409,2442,2422,2623,2565,2752,3152,2812,2630,2708,3128,2950,3073,3061,3119,3305,3474,2865,1932,1681,2018,2586,2394,2386,2602,2369,2424,2374,2318,2221,2089,1600,1469,2132,2375,2105,1754,1195,2026,2643,3043,3278,2824,2698,2702,2380,2623,2663,2428,2521,2314,2278,2105,2129,2371,2423,2521,2579,2762,2791,2470,2408,2334,2867,3284,3513,3709,3714,2880,3050,2966,2968,2750,2565,2901,3012,2259,1703,1584,1707,2097,2290,2207,2287,2496,2824,2790,2560,2463,2597,2420,2213,2007,1629,1778,1930,2180,2017,2120,2942,2626,1875,2121,2460,2426,2526,2930,2830,3503,3470,2971,2610,2894,2333,2387,2654,2010,1623,1892,2199,2126,1937,1890,2178,1995,1763,1602,1570,1660,1499,1602,2081,2093,1914,1952,2308,1868,1719,2214,2241,1770,2049,1856,1600,1763,2337,2878,2751,2445,2575,2176,2408,1996,2314,3024,2656,2590,2180,1889,1762,1646,1760,1948,1871,1853,1839,1676,1882,1586,1990,1838,1510,1762,1998,2468,2420,1942,2098,2958,3306,3338,3130,2238,2553,2730,2895,2418,1824,1466,1586,2120,2540,2875,2911,2990,2906,2430,2824,3416,3432,3544,3255,2626,2262,2136,2153,2197,2204,1974,1742,2054,1961,1732,2050,2042,1779,1918,2030,1766,1944,2476,3030,2979],[3652,3511,3396,3087,2315,1455,1787,2028,2427,2596,2750,2924,2973,2884,2556,2364,2473,2498,2222,2222,2634,2209,2535,2501,2473,2301,2324,2356,2303,2488,2979,3480,3440,3369,3360,3642,3275,2912,2565,2516,3108,3494,3552,3336,3253,3050,2877,2600,2247,2096,2233,2214,1837,2074,1887,1732,2217,2203,2289,2273,2167,2830,3233,2921,2654,2811,2930,2651,2395,1996,1888,1864,1995,2542,3020,3235,3053,2996,3210,2632,2598,2873,2619,2677,3052,2758,2129,1684,2033,2324,2350,2457,2427,2194,2019,2142,1877,1964,1921,2135,2115,2254,2410,2086,1963,1767,1863,2132,2576,1581,1304,1833,2206,2741,3085,2720,2352,2345,2379,2273,2317,2400,2188,2894,3243,2976,2689,2244,2049,2110,2280,2115,2009,2237,2402,2686,2799,2924,3627,3711,3797,3865,3651,3620,3645,3488,2954,2428,2632,3341,3979,3672,2665,3516,3577,2666,2554,2355,1869,2204,3277,3297,2351,2285,2177,1953,1930,2114,2763,2323,1829,1736,1695,1852,2054,1914,2068,1836,1638,1687,2327,2741,2569,2458,2734,2900,2311,2325,2405,2146,2083,2242,2042,2133,2204,1879,1618,2287,2609,2937,3753,3543,2566,2445,2644,2500,2464,2212,2167,1859,1543,2421,3198,2954,2295,2015,1902,1680,2164,3222,3311,3354,3474,3631,3829,3377,3142,2844,2713,2877,2406,2320,2465,2152,1978,2299,2470,2100,1772,1642,1774,1736,2182,2450,2272,2053,2156,2382,2252,1881,2010,2478,2685,2588,2735,2425,2186,2082,1947,1846,1853,2048,2114,2058,1861,2092,2591,2679,3322,2884,2625,2665,2542,2674,2978,3075,2815,2635,2828,2674,2265,2094,1992,2016,2158,2512,2801,2849,2592,2837,3066,2799,2488,2743,3065,3299,3271,3232,3165,3121,3044,2989,2658,2350,2770,3426,3692,4015,3861,3274,3363,2689,2469,2873,2944,2617,2577,2315,2065,2656,3106,3111,2676,2394,2653,3205,3441,3351,3111,3166,3555,3581,3311,3095,3673,3961,3862,3337,3045,2804,2765,2611,2298,2118,2332,2730,2842,2888,3305,3518,2741,2708,2430,2978,3313,3242,2601,1580,1513,1924,2105,2429,2746,2203,2170,2294,2678,2308,1902,2280,2521,2631,2542,2050,1951,1853,2297,2508,2593,2710,2880,2952,2383,1977,1809,1957,2098,2310,2806,2879,2477,1961,1957,1817,1930,2154,1967,1823,2082,1932,1504,1746,2234,2241,1855,1567,1678,2068,2321,2580,2707,2592,2011,1750,1837,1696,1496,1571,2114,2779,2361,2194,2238,2376,2610,2084,1797,1735,1758,1942,1911,2558,3250,3069,2338,1875,2138,2502,2355,2459,2611,2921,3278,3526,3781,3877,3507,3187,2896,2749,2655,3131,3652,3415,3553,3362,3473,3406,3049,3286,3232,2382,1803,1900,2040,2085,2057,1815,1848,1795,1639,1731,2049,2153,2080,1828,1691,1982,2440,2374,2538,2897,2944,2792,3306,3446,2757,1932,1730,1543,1816,2138,1797,1604,1874,2037,2265,2754,2468,2302,2441,2567,2642,2447,1861,2140,1976,2669,2724,2239,2316,1836,1926,2238,1814,1590,1840,2242,2263,2109,2331,2003,2098,2360,1947,1609,1610,1372,1411,1759,1907,2301,3417,3543,3190,3108,2852,2741,2080,1777,1796,1607,1554,1647,1747,1914,1848,1778,1515,1707,1731,1774,1847,1462,1536,2013,1737,1453,1670,1903,1810,1395,1651,1898,1506,1777,2276,2935,3076,2343,2474,3208,3548,3687,3638,4073,3854,4049,4061,4009,3183,2459,2314,2595,2732,2980,3224,2874,2681,3105,3659,3618,3498,3528,3129,2630,2521,2798,3120,3364,3576,3625,3064,1935,2478,2647,2412,2514,2443,2777,2664,2529,2585,2664,3193,3270,2964,2162,2375,2625,2529,2464,2622,2719,2479,2187,2207,2073,1947,1980,2147,2690,2645,2586,2328,2385,2408,2265,2136,2270,2546,2733,2717,2842,2409,2434,2386,2272,2132,2345,2724,3018,3150,2422,1786,1809,2039,2172,2294,2162,2084,1718,1696,2351,3009,2678,2510,2785,2464,2247,3102,3891,3448,3132,2744,2686,3565,4178,4061,3997,4070,3869,3891,4316,4187,3586,3597,4155,3460,2309,3288,4822,4272,2619,2069,1713,2070,4628,6056,4748,3602,2044,1821,1301,1795,2075,2479,3462,3598,3444,3544,3406,3240,3596,4003,2961,2401,2822,3387,3562,2744,2224,2405,2423,2328,2728,2870,3114,3852,3601,2535,1592,1490,1408,1444,1453,1669,1520,963,860,1722,1994,1461,1789,2088,1691,2214,2556,2496,2706,2647,2974,3049,2817,2995,3033,2875,2581,1900,2109,2796,3270,3344,3216,2945,2509,2931,3231,2915,2738,2510,2743,3344,3250,3780,4036,3961,4059,4153,3653,2732,3212,3285,3119,3293,3422,3104,2413,2641,3218,3559,3371,3494,3079,2786,2910,2966,3221,3527,3445,3272,3125,2670,2731,2987,3639,3772,3739,3674,3239,2749,2412,2546,2768,2795,2825,2909,3044,3053,3031,3122,3215,3129,2995,3155,3473,3383,3488,3530,2719,2079,2132,1802,1930,2234,2249,1764,1802,1912,1794,2034,2226,2071,2316,3152,3362,3426,3162,2953,2932,2415,2806,3518,3578,3699,3737,3430,2772,2475,2008,1973,2136,2426,2083,2123,2315,2215,2380,2466,2440,2357,2333,2643,2912,2945,2306,1773,1559,1334,1450,1555,1604,1575,1918,2495,2414,1928,1776,1873,2226,2455,2338,2767,3177,3151,3105,3416,2962,1724,1634,1799,1854,1816,1540,1500,2038,2030,1628,1767,1794,1571,1627,1920,2091,1760,1530,1570,2313,2431,1928,1660,1534,1699,1735,1684,1750,1822,1844,1659,1487,1904,2490,2835,2909,3073,2737,2784,3299,3448,3196,3218,2750,2326,2581,2453,2280,2178,2141,3748,3002,1751,1437,1691,2288,1825,1648,1604,1430,1415,1855,1747,2155,2125,1956,1657,1788,1527,1248,1507,1796,1853,1816,1681,2191,2415,2612,2436,2715,2480,2321,2271,2326,2925,3430,3377,3064,2696,2774,2431,1713,2403,2951,2579,2254,2320,2469,2879,2818,2448,2093,1625,1709,2018,1774,2396,2381,2383,2280,2654,2421,1947,2285,2825,2674,2402,2088,1869,2178,2222,2736,2758,2498,2733,2792,2587,2922,3054,2514,2624,2338,2076,2118,2733,3010,2194,1641,1841,2911,3885,4140,3914,3306,3092,2692,2481,2680,3063,3134,2301,1949,1964,2092,2557,3293,3863,3517,3162,3107,3338,3384,3565,3842,3950,4043,4065,3795,3804,3839,3637,3526,3375,3617,3958,3198,2598,2639,2861,2856,2370,1921,1609,1203,978,1001,1127,1074,1019,1100,1139,1636,2240,2623,2695,3327,4420,4852,4331,3640,3494,2656,2496,3400,4052,4444,4530,4048,3265,3008,3127,3592,3883,3535,2910,2822,3199,3433,3354,3074,2578,2475,2633,3254,4319,4936,4776,4847,4672,4039,3897,3695,3835,3386,3099,3368,3824,3762,3275,3123,3405,3729,3570,3564,3560,3697,3777,4008,4192,4296,4357,4416,4296,3993,4145,4264,4388,4300,3905,3610,3185,2927,3076,2932,3028,3210,3050,2800,2504,2597,3154,3262,3630,3283,2176,2955,4440,3242,2069,2079,2213,1996,2153,2816,3142,3353,3486,3363,3308,2608,2165,2179,2081,1903,1590,1752,1801,1698,1828,1568,1441,1593,1789,1770,2584,2856,2259,1957,2116,2357,2783,2908,2275,2655,2625,2164,1991,2213,1596,1517,1497,1603,1682,1782,2120,2344,2387,2425,2074,1834,1656,1499,1748,1949,2194,3554,3213,2030,2226,2679,3038,2435,2708,3274,3118,2608,2618,2911,3091,3200,3096,2949,2749,2208,1982,1992,1867,1829,1837,1517,1733,1434,1718,2337,1818,1202,1273,1812,2526,2570,2039,1909,1749,1906,1749,2020,2116,1627,1482,1605,1566,1712,1853,1801,1882,2250,2154,1962,2021,1868,1690,1668,1626,1698,1869,2165,2755,3207,3340,2975,1806,1717,1764,2078,2776,2921,2731,2804,3000,3287,3400,2654,1914,2869,2906,2353,2220,2777,3098,3018,2890,2883,3006,2733,2451,2426,2457,2917,3340,3521,3263,3228,3484,3946,4002,3817,3760,3844,3963,3588,2320,1824,2052,2210,2570,2568,2664,2669,2465,2132,2064,2297,2003,1952,2181,2249,2378,2161,2128,2139,2406,2806,2282,1775,1909,2219,2482,2677,2160,2385,2723,3110,2775,2929,3738,2926,2426,2182,1799,1655,1620,1671,1908,2396,2299,2224,2251,1929,2175,2110,2020,2429,2162,2076,2305,2397,2857,3140,3072,2992,2910,2271,2490,2550,2987,4154,4553,3860,3385,3162,3209,3479,3484,3568,3220,2281,1876,1780,1795,2263,2294,1865,2179,2770,2954,2736,2654,2723,2299,1989,2141,2202,1966,1593,1268,1283,1476,1952,2278,2238,2734,2856,3173,3405,3450,3610,2832,2021,2513,3248,2713,1884,1557,1933,2334,2065,2397,2071,1674,1994,1955,1662,1819,2873,3273,2128,1877,2453,2757,2064,2327,3303,3365,3189,3388,3433,3086,2884,2972,2257,1235,1476,2857,2480,2066,2334,2667,2475,2250,2208,2121,2032,2088,2662,2968,2840,2981,3003,2881,2645,2722,2274,2131,2262,2475,3153,3442,2676,1788,1973,2281,2037,2449,2746,2686,2097,2239,2404,2512,2708,2422,2080,1929,2249,2545,2424,2061,1900,1977,2418,3038,3194,2977,2876,2802,3041,3253,3029,2289,1854,1757,2029,1802,1873,2224,2644,2736,2519,2499,2394,2533,2027,1795,2336,2452,3055,3642,3869,3288,3297,3009,2641,2385,2222,2763,2421,1674,1704,1586,1526,1832,1904,1635,1985,2819,3462,3065,2574,2393,2538,2553,2377,2260,2236,2038,1720,2232,2399,2251,2233,2260,2307,2576,2943,2793,2651,2958,2352,3278,3541,3279,3263,3508,2628,2361,2666,2509,2156,2114,2315,2397,2285,2483,2202,1657,1496,1596,1632,1761,1566,1489,1726,2445,2441,2138,2769,1904,1513,1453,1670,1631,1613,1680,1830,2123,2539,2750,2614,2489,2016,1767,2196,1860,1843,2476,2448,2144,1919,1931,2018,1883,2258,2374,1826,1667,1748,1787,1976,1878,1990,1815,1693,1659,1958,2901,2997,2308,1950,2390,3024,3485,2836,2501,2541,2352,2447,2299,1802,1595,1758,2099,2613,3375,3255,3110,2612,2563,3382,3487,3442,3576,3272,2728,2293,2128,1759,2091,2707,2739,1975,2197,1828,1639,2102,2247,1921,2155,2270,2034,2333,2800,3621,3681],[3421,3352,3145,2910,2187,1653,2046,1857,1882,2415,3162,3308,3253,3226,3056,2972,2783,2876,2811,2850,2924,2534,2294,2414,2542,2385,2400,2546,2501,2575,3076,3760,3172,3584,3917,3871,2847,2570,2779,3352,3970,4353,3971,3337,3465,2910,2753,2370,2162,2510,2325,1948,1914,2060,2012,2117,1934,1895,2245,2383,2442,2792,2041,2043,2408,2764,3024,2676,2094,1917,2329,2318,2438,2965,3250,3288,2971,3257,3706,3308,3000,3164,3151,2953,3040,3064,2379,2176,2770,2495,2552,2565,2290,1952,1775,1853,1982,2093,2319,2540,2147,1835,2155,1766,1888,1748,1737,2418,2441,2085,1836,1874,2010,2801,3728,3373,2602,2426,2474,2387,2333,2287,2526,3252,3439,3043,2823,2702,2302,2147,2280,2240,2420,2486,2511,2544,2644,2883,3356,3548,3629,3702,3798,3785,3660,3130,2248,2077,2859,3316,3694,3050,2646,2986,2800,2176,1960,2077,2018,2941,3807,3664,2978,2370,1926,1744,2363,2429,2081,1844,2330,2490,1905,1747,1733,1654,1719,1669,1754,1798,2270,2778,2518,2018,2331,2806,2535,2052,1843,1744,2338,2922,2439,1914,2170,1829,1638,2294,2623,2858,3504,3629,3024,2491,2548,2287,1764,2257,2698,2134,1712,2061,2674,2612,2459,2134,1684,1771,2658,3494,3584,3587,3794,4052,3902,3144,2361,1706,1926,2427,2341,2442,2351,1803,1610,1840,1772,1892,1595,1558,1588,1825,2260,2474,2713,2497,1831,1610,1955,2114,2155,2749,2930,3063,2999,2631,2320,1925,1754,1911,2281,2454,2358,1982,1926,2137,2291,2532,2912,2956,2867,2689,2636,2354,2488,2902,2623,2473,2959,2452,1942,2139,2118,1959,2044,2647,3554,3251,2641,2724,2626,2662,2707,3081,3689,3804,3770,3505,3136,3024,3046,3001,2347,2269,2804,3040,3233,3609,2950,3447,3257,2493,2509,2535,2584,2452,2599,2311,2424,2763,3221,2883,2493,2280,1942,2134,3210,3751,3156,2911,3287,3450,3403,3625,3602,3729,3790,3538,2872,2805,2908,2447,2235,2169,2696,3417,3484,2761,3053,3304,2842,2712,2520,2854,3279,3550,2930,1605,1188,1379,1850,2310,2566,2233,2062,1809,2076,1981,1624,2066,2289,2525,2715,2684,2470,2202,2330,2191,2370,2675,2886,2913,2374,1954,2110,1833,1488,2085,3107,2953,2399,1913,1716,1749,2294,2288,2275,2200,1951,1944,1852,2114,2336,2502,2188,2054,2156,2566,2693,2198,2191,2420,1981,1645,1765,1755,1570,1553,2090,2343,1746,2305,3008,2972,2372,1788,1432,1434,1812,2346,2688,3035,2300,2019,2079,2137,2437,2708,2294,2062,2317,2655,3109,3495,3619,3791,3500,2995,2634,2683,2812,3062,3274,3072,2953,3015,3082,2706,2131,2285,2496,2244,1986,2394,2897,2768,2481,2166,2032,1993,1944,1781,1701,1750,1625,1568,1569,1728,1910,1807,2174,2812,3017,2758,2800,2730,2354,2062,2436,2314,2119,2121,1823,1722,1808,1484,1726,2438,2178,1968,2040,2041,2009,2696,2150,1827,1616,2260,2480,2541,2562,2079,2060,2247,1907,1925,1868,2036,1911,2135,2505,2159,2232,2242,1845,1893,2211,2454,2179,1902,1877,2265,3112,3688,3408,2897,2405,2688,2200,1657,1575,1400,1521,2030,2074,2077,1420,1457,1573,1677,1538,1505,1702,1637,1626,1830,1837,1656,1779,1970,1693,1509,1508,1572,1722,1886,2040,2746,3375,2809,2667,3274,3417,2576,2590,3293,3753,3482,3782,4169,4204,3834,3150,2807,2780,3095,3427,3264,2730,3109,3043,3427,3437,3264,2686,2569,2938,2611,2363,2698,3132,3298,2843,2567,3222,3035,2392,2176,2214,2513,2555,2460,2450,2425,3288,3676,3595,2641,2486,2500,2358,2574,2646,2530,2356,2013,1970,1761,1809,1835,2086,2430,2127,2163,1906,1958,2177,2156,2352,2559,2458,3057,3309,3356,2807,2632,2518,2597,2653,2698,2885,3596,3676,2513,1842,1910,1945,2294,2263,2366,2216,1743,1607,2255,2951,2664,2518,2623,2368,2558,2902,3185,3604,3631,3116,3083,4030,4421,4165,4019,4035,3860,3717,3940,4247,4388,4164,4225,2788,2872,4600,4621,2866,2224,2105,2166,4094,6453,5116,5661,5324,3205,2318,1744,1870,2445,3381,3628,3357,3216,3420,3473,3537,3640,3233,2756,2548,3029,3560,3565,3017,2787,2691,2683,2862,3277,3464,3937,4223,3723,3045,1879,1575,1577,1586,1753,1967,1828,1349,1166,1567,1584,1763,2240,2203,1910,3007,3141,2579,2491,2844,3283,3330,3372,3398,3217,3156,2897,2434,2833,3231,3198,3340,3480,3374,2872,3084,3560,3710,3740,3342,3396,3419,2779,3498,4021,3873,3840,3918,3242,2843,3150,3343,3172,3183,3132,3031,2513,3149,3422,3450,3387,3703,3738,3333,2850,2501,2489,2923,2925,2707,2633,2759,2912,3297,3617,3659,3604,3619,3654,3144,2555,2705,2894,2806,2813,3000,3178,3040,3010,3400,4069,3793,3137,3361,3513,3402,3548,3401,2030,1488,1942,1772,1696,1925,1895,1833,2066,2104,1958,1758,1858,2027,1943,2499,3008,3288,3405,3249,2796,2345,2532,2940,3264,3653,3547,3480,2785,2845,2676,2552,2215,2174,2294,2564,2361,2181,2115,2009,2116,2099,1653,1761,2189,2170,1835,1705,1688,1656,1719,1708,1482,1570,1910,1953,1777,1876,2013,2110,2020,2448,2831,3184,3296,2958,2971,3697,3322,2032,1775,1696,1757,1595,1403,1489,2105,2336,1843,1383,1619,1866,2110,2450,2484,2085,1295,1225,2017,2230,1870,1636,1584,1628,1721,2068,2158,1990,1996,2250,1734,1714,2771,2864,2742,2544,2236,2322,3018,3842,3377,2665,1842,1751,2128,2548,2390,2157,1830,2592,2150,1583,1392,2320,2525,1897,2171,1660,1357,1427,1921,1799,2035,2160,2041,1790,1541,1429,1401,1444,1625,1820,1666,1459,2027,2503,2823,2906,2581,1914,1708,1904,2105,2381,2612,3144,3353,3292,2790,2727,2289,2967,3342,2717,2434,2258,2192,2680,2553,2296,2142,1606,1604,1884,2216,2261,1796,1762,2057,2358,2254,2105,2385,2474,2115,2196,2252,2248,2647,2600,2719,2876,2789,2908,3021,3067,2820,2641,2552,2775,2777,2247,2083,3151,3657,2582,1665,1732,2276,2963,3784,3438,3002,2799,2565,2468,2546,2746,2573,2159,2284,2388,2059,1984,2578,3636,3666,3028,2979,3688,3782,3742,3792,3734,3974,3958,3603,3834,4070,3861,3466,3226,3672,3585,3374,3209,2485,1958,2013,1771,1631,1628,1290,1048,1094,1210,1137,1082,1133,1329,1765,2246,2724,2985,3462,4672,5049,4649,4165,3227,2717,2786,3318,4038,4669,4872,4237,3606,3431,3275,3351,3474,3243,3144,3132,2912,2677,2445,2364,2343,2469,3221,3913,4107,4403,4162,4364,4300,4107,3927,3732,3629,3370,3145,3375,3802,3646,3232,3277,3349,3331,3406,3316,3232,3340,3585,3938,4219,4428,4489,4566,4653,4280,4132,4314,4264,4176,3935,3676,3442,3018,2862,3098,3421,3619,3692,3664,2928,2472,2678,3094,3639,3754,2529,2312,2856,2676,2325,1957,1825,2026,2134,2722,2835,3116,3274,3421,3589,2771,2075,2045,1832,1461,1416,1659,1602,1784,2034,1759,1522,1697,1846,1721,2301,2662,2036,2026,2618,2355,2353,2721,2521,3233,3057,2523,2083,1635,1447,1603,1760,1735,1667,1710,1780,2184,2564,2539,2527,2229,2104,1835,2004,2052,2402,3553,3404,3018,2885,2800,2334,1968,2542,2763,2897,2809,3119,3185,3262,3349,3199,3017,2504,2180,2393,2020,1894,2028,1895,1563,1607,1638,1873,1903,1573,1582,1514,1785,2287,2283,1910,1817,1676,1817,1974,1984,2001,1837,1864,1914,1854,1864,1977,1987,2142,2552,2723,2680,2368,1729,1476,1689,1677,1702,1915,2529,2968,3293,3562,3222,1865,1803,1845,2017,2732,2957,3056,3249,2788,2379,2254,2144,2155,2747,2867,2640,2581,2535,2452,2590,2706,2991,3132,2757,2284,2437,2252,2622,3464,3688,3365,3001,3288,3530,3234,3270,3098,3008,2806,2640,1886,2095,2339,2353,2571,2395,2570,2952,2893,2585,2457,1946,1830,2413,2357,2222,2565,2243,2317,2410,2588,2570,2392,2163,2288,2877,2600,2822,1947,1978,2262,2603,2082,2243,2565,2277,2031,1969,1749,1453,1523,1996,2294,2900,2797,2365,1887,1815,1922,1674,2000,2382,2510,2675,2996,2994,3031,3261,2834,2426,2720,2810,2734,3181,3663,4194,4372,4500,4444,4424,3895,3330,3376,3190,2947,2693,2295,2217,2153,2012,1942,2157,2646,2541,2470,2319,2183,2272,2338,2338,2008,1958,1909,1232,1330,1710,1455,1539,1673,2030,2499,2510,2736,3077,3311,3586,2978,1602,1920,3117,2751,2178,1784,1712,1874,1892,2485,2548,2691,2633,2040,1601,1464,1951,2377,1465,1549,1994,2331,2690,3110,3686,3510,2916,3060,3459,3509,3798,4177,3495,1945,1625,2076,2137,2004,2297,3057,2648,2095,2276,2025,2090,2436,2608,2644,2655,2450,2608,3124,2780,2387,2227,2099,2010,1993,2733,2796,2286,2026,2192,2123,1809,2284,2216,1868,2186,2296,1916,2422,1977,1591,2074,2312,2926,3005,2744,2133,2062,2098,2067,2610,2999,3023,3310,3297,3130,2698,2489,2257,1481,1531,2153,2077,1703,2289,3052,3046,3219,3024,2530,2566,2094,1568,1605,2109,2864,3186,3362,3397,2988,2465,2464,2165,2389,2417,1716,1816,2060,1696,1428,1606,1770,1776,1959,2499,2841,2852,2460,1926,1969,2413,1853,1899,2009,2175,1787,2083,2563,2317,1894,1893,2034,2410,2810,2270,2027,2325,1823,2735,3232,3323,3662,3329,2633,2046,2170,2215,2059,2286,2637,2851,3001,3112,2599,1738,1446,1471,1500,1612,1522,1446,1186,2066,1898,1740,2031,2001,1775,1474,1393,1582,1740,1756,2038,2342,2330,2302,2481,2121,1598,1688,1720,1636,1712,1940,1978,1932,1848,2025,2263,1962,2459,2525,2267,1882,1669,1716,1720,1679,1714,1748,1713,1556,1593,2238,2802,2818,2445,2232,2670,2833,2435,2576,2677,2829,2872,2264,1873,1918,2124,2522,2244,3209,3651,3249,2597,3163,4046,3996,3742,3721,3461,3274,2740,2382,1942,2326,3344,3746,2996,2612,2482,1915,1685,1683,1724,1821,1813,1808,2039,2470,3409,3576],[2728,3284,3533,3640,2336,1955,2188,1742,1461,2056,2525,2361,2193,2530,2773,3262,3088,3372,3631,3540,3262,3055,2951,3082,2923,2414,2254,2546,2491,2514,3016,3258,3151,3330,3710,3572,2762,2690,3487,3974,3849,3745,2852,2676,3007,2977,2995,2763,2261,2452,2164,1808,2109,1907,1930,2243,2153,2210,1931,2299,2393,2476,1504,1199,1790,2631,2965,2852,2955,3098,2964,2573,2991,3695,3050,2530,2609,3122,3486,3504,3145,3074,2778,2368,2940,3488,2930,2942,2997,2705,2576,2567,2442,2112,1983,2272,2095,1919,2378,2263,2136,1780,2246,2010,2037,1741,1688,2398,2504,2624,2452,2127,2150,2987,3872,3530,2989,2634,2611,2474,2344,2732,3398,3529,3166,2796,2855,3046,2875,2530,2288,2267,2347,2429,2401,2522,2596,2836,3163,3575,3806,3671,3496,3719,3540,2553,1825,1723,2020,2918,3746,3094,2706,2461,1818,1612,1631,2115,2930,3271,3460,3062,2591,2372,2458,2410,2626,2524,1823,1645,2223,2125,1720,1786,1742,1571,1731,2113,2312,2360,2631,2894,2732,2754,2842,2842,2515,2034,2194,2309,2791,2751,2360,1943,1793,1664,1699,2116,2864,3428,3552,3567,3319,2499,2435,2314,1765,1819,2155,1945,1710,1803,1919,2188,2449,1973,2125,3135,3797,4097,4007,3282,3176,3770,3752,3395,2750,1737,1932,2181,2593,2171,2009,1626,1649,1576,1803,1926,1767,1649,1693,1867,2243,2193,2092,2648,1773,1179,1554,1836,2026,2266,2865,3283,3217,2756,2216,1898,1618,2237,2701,2875,2888,2977,2806,2387,2370,2813,2805,2851,2797,2542,2735,2527,2265,2713,2664,2548,2724,1813,1253,1802,2232,2188,2351,3410,3804,2791,2805,2639,2292,2533,2547,2919,3761,3855,3713,3505,3121,3090,3133,2764,2552,2325,2790,3448,3499,3103,2664,2935,2572,2590,2764,2730,2955,2784,2763,2612,2675,3275,2853,2115,2167,2090,1477,1569,3190,4121,4002,3474,3286,3175,3099,3529,3365,3006,3185,3506,2956,2599,2812,2475,2696,2825,3438,3457,3710,2604,2496,2828,2658,2600,2563,2805,3478,3918,3459,2359,2296,2314,2203,2065,2214,2261,2171,1612,1642,2070,2173,2031,2138,2467,2453,2486,2260,2386,2413,2350,2514,2653,2620,2373,2107,2415,2864,2102,2177,2996,3134,2720,2319,1945,1708,1798,2332,2581,2599,2402,2172,2039,2136,2375,2433,2890,2423,2351,2452,2485,2189,1708,2034,2687,2696,2202,2270,2490,2064,1772,2228,2579,2124,2577,3318,2730,2093,1961,1548,1471,1873,2551,2939,2536,1910,1820,2089,2577,2519,2705,2921,2377,2001,1979,2413,2776,3164,3235,2940,2378,2731,2980,3003,2786,2531,2748,2799,2685,2144,2095,2033,2198,2811,2731,2286,3060,3601,2780,2133,2256,2106,1590,1966,1917,1757,1792,1590,1582,1887,2186,2120,2052,2087,2513,2779,2239,2030,2040,1996,1905,2578,2706,2546,2002,1754,1674,1687,1672,1815,2002,1738,1675,1659,1738,1794,2209,2333,2260,1953,1693,1786,2113,2500,2370,2195,2061,1892,2111,2066,2113,2177,2200,1963,1907,2075,1826,1781,1925,2125,2114,1882,2285,2118,2116,2532,2933,2667,2115,1875,1773,1615,1691,1860,1550,1400,1924,2482,2934,2565,2028,1922,1896,1452,1607,1968,1992,1828,1740,1895,1896,1921,1928,2007,1917,1495,1467,1625,1575,1692,2430,2633,2300,2458,3096,2533,1715,2836,3428,3715,3517,3530,4144,4476,4333,4024,3841,2835,2635,3517,4007,3673,3295,3135,3586,3873,3564,2777,2705,3504,3140,2617,2625,2739,2444,2388,3011,3515,3563,2898,2014,1876,2291,2579,2844,3016,3094,3305,3774,3776,2899,2497,2713,2739,2801,2819,2727,2360,2041,2150,2181,2150,2110,2541,2491,2204,2346,2106,1747,2160,2592,2668,2311,2044,2542,3144,3655,3057,2504,2163,1993,2380,2695,2713,3232,4017,3388,2307,2315,2705,3053,2499,2063,2033,2177,2496,2985,3003,2391,2321,2220,2002,2040,1837,2043,3493,4030,3757,3994,4421,4345,4166,4020,4033,3826,3517,3676,4347,4615,4272,3382,2524,2775,3617,3195,2818,2973,2375,2344,3837,4513,5179,5788,5248,5168,3108,1907,1702,2050,2353,2106,2559,3073,3317,3298,3353,3259,2797,3238,3495,3795,4056,3814,3796,3752,3085,3075,3382,3707,3880,3983,3526,3354,3073,2151,1701,1900,2026,2100,1914,1837,1717,1608,1591,2223,2461,2252,2195,2034,2766,2808,2408,2501,2688,3334,3687,3752,3438,3396,3471,3185,3234,3413,3287,3262,3184,3598,3951,3824,4048,4218,4084,3730,3360,3382,3304,2689,3100,3732,3613,3471,3617,3694,3118,2719,3212,3255,2878,2989,3160,2874,3176,3076,2884,3139,3647,3496,2712,2424,2706,3241,3385,2212,1862,2430,2698,3019,3587,3627,3500,3420,3436,3665,3553,3050,2827,2842,2781,2810,3074,3233,3085,3000,3276,3684,3641,3609,3729,3593,3400,3188,2888,2194,1857,2239,2053,1509,1487,1747,2082,2408,2409,2198,2207,1972,2062,2091,2544,2718,2958,3282,3237,2972,2344,2237,2745,2978,3067,3155,3304,3109,3151,3260,2796,2622,2722,2501,2174,1763,1769,1442,1662,2157,2081,1701,1570,1712,1588,1434,1538,1794,1856,2018,1896,1753,1786,2034,2413,2100,2340,2217,2076,2175,2619,2937,3176,3167,2712,2756,3460,3262,2601,1835,1695,1632,1766,1640,1516,1665,1844,1791,1726,1936,2358,2740,2796,2539,2004,1105,1240,1937,1860,1663,1575,1525,1747,2220,2482,2283,2087,2141,2260,2019,1526,1940,2094,2176,2406,2459,2286,2408,2962,2427,1625,1259,1289,1561,2259,2416,2106,2094,2049,1815,1659,1864,2383,2580,2978,2724,1755,1567,1687,1796,1769,1966,2448,2710,2208,1395,1341,1527,1567,1677,1798,1724,1665,1997,2326,2568,2457,1887,1459,1512,1619,1672,1936,2207,2545,2592,2499,2630,2754,2635,2916,2969,2541,2517,2841,3267,2989,2395,2230,2114,1749,1603,1841,2339,1914,1571,1905,2113,2083,2236,2085,1957,2008,1998,2166,2354,2361,2534,2677,2651,3057,3097,2690,2756,2452,1742,2437,2845,2868,2793,2054,1408,2031,2699,2304,1639,1869,2385,2714,3240,3098,2884,2544,2503,2530,2485,2447,2442,2396,2863,2660,2035,2062,2797,3618,3563,3028,3181,3903,4022,3822,3740,3654,3637,3673,3346,3583,3992,3386,2990,3580,4048,4019,4121,3726,2519,1328,1392,1324,1269,1482,1282,1146,1325,1549,1389,1159,1172,1286,1715,2338,2807,3018,3311,4215,4452,4322,4325,3442,2489,2474,3354,3995,4552,4695,4145,3669,3686,3740,3493,3454,3180,3153,3137,2795,2510,2282,2334,2467,2681,3791,4214,3603,3391,4024,4282,4107,3822,3430,3142,2980,2931,3073,3031,3185,3184,3341,3429,3445,3387,3364,3283,3199,3216,3491,3807,4073,4144,4285,4368,4408,4251,4084,4105,4144,4073,3839,3555,3365,3254,3117,2963,3084,3470,3771,3596,2397,2584,2699,2797,3346,3822,2845,2418,3467,2585,2281,2102,1982,1935,1556,2251,2590,2789,3039,3372,3444,2547,1988,1940,1577,1340,1251,1314,1333,1462,1830,1553,1493,1675,1876,1721,1978,2443,2070,2499,3013,2215,2348,2867,2557,2598,2316,2095,2119,1896,1865,1951,1830,1765,1686,1493,1476,1751,1887,1932,2123,2218,2306,2057,2232,2083,2199,3111,3441,3411,3082,2827,2338,1981,2204,2173,2564,3200,3419,3251,3426,3582,3521,3363,2758,2531,2609,2184,1978,1969,1646,1519,1661,1696,1795,1693,1732,2229,1552,1588,2289,2072,2009,1844,1681,1833,1755,1633,1619,1778,2415,2033,1921,2131,2660,2821,2942,2692,2808,2584,1890,1421,1128,1508,1663,2013,1885,2698,3146,3421,3408,3233,2124,1764,1825,1863,2219,2422,3062,3424,2484,2374,2307,2215,2406,2478,2737,2828,2698,2054,1645,2266,2385,2499,2261,1907,2144,2164,2218,2221,3044,3821,3894,3664,3752,3295,2813,3072,2348,1696,1587,1870,1937,2143,2405,2569,2548,2445,2613,2785,2579,2112,1945,1963,2272,2439,2028,1685,1448,2006,2474,2462,2247,1724,1955,2126,2157,2568,2471,2443,2342,2357,2383,2477,2410,2451,2152,2112,1996,2391,1919,1798,1758,2368,2366,2720,3041,2624,1932,1890,1981,1625,2026,2565,2899,2999,2955,2746,2802,2966,2868,2803,3025,2734,2812,3262,3209,3216,3774,4441,4604,4463,4243,4122,4058,3355,2801,2696,2915,3222,2744,2631,2655,2752,2744,2584,2469,2196,2285,2592,2940,2901,2095,1840,2065,1488,1924,2336,1861,1873,1671,1974,2248,2242,2491,3030,3208,3309,3241,2012,1490,2645,2878,2105,1982,2229,2285,2115,2364,2832,3362,3295,2498,1774,1708,2036,2148,1864,1992,2101,2149,2202,2728,3414,3163,2964,3303,3630,3432,3609,3818,3725,2877,2270,1976,2161,2724,3181,3087,2175,1883,2089,2230,2241,2365,2316,2015,2425,2297,2169,2925,3134,2766,2484,2237,2255,2347,2712,2796,2469,2604,2750,2579,2445,2423,2270,2171,2504,2559,2199,2885,2249,1950,2020,2014,2745,2539,2060,1686,2077,2487,2054,2508,3310,3551,3561,3075,2185,1829,2066,2625,1701,1450,2360,2476,2273,2901,2989,2828,2955,2877,2996,2775,2568,1857,1550,1662,2463,2808,2896,3364,3066,2852,3074,2815,2442,1728,1569,1621,1770,1871,1885,2148,2134,1878,1919,1875,1916,2430,2090,1709,2045,2213,1749,2000,2587,2740,2375,2451,3013,2611,1758,1715,1976,2665,2844,2314,2169,2593,2966,3338,3120,3300,3637,3374,3045,1859,1872,2175,2436,3218,3297,2725,2525,2446,2230,1958,1802,1804,1997,2259,1788,1748,1288,1357,1749,1858,1577,1545,1812,1882,1655,1751,1499,1637,2077,2709,2073,1998,2492,1958,1646,1720,1864,1985,1905,1990,2102,1910,1722,1958,2437,2355,2775,2930,2314,1714,1624,1606,1601,1621,1698,1792,1710,1614,1570,1461,2114,2314,2232,1946,2420,3266,3430,3501,3208,3297,3101,1897,2041,2056,1932,2165,2340,3373,3842,3373,3252,3537,4279,4360,4048,3674,3732,3533,2934,2443,2354,2886,3173,2706,2121,2750,3025,2415,1983,2138,2254,1901,1620,1917,1893,2495,3161,3271],[2532,3340,3669,3812,3240,2788,2514,2081,1935,1963,1745,1992,2342,2549,2674,3347,3265,3329,3662,3162,3240,3880,3952,3967,3566,2685,2468,2557,2441,2473,3007,2916,2831,3103,3186,3221,3174,3071,3220,3042,2265,2330,2024,2637,2990,2908,2728,2684,2297,2305,2010,1747,2217,2028,1876,2046,2084,2360,2130,2332,2055,2230,1744,1613,2076,2149,2202,1971,2497,2879,2783,2832,2820,2540,2030,2622,2610,2536,2978,2657,2390,2686,2680,2472,2691,3328,2946,3122,2757,2995,2940,2910,2667,2179,2088,2314,2448,2453,2873,2588,2408,2085,2554,2425,2091,1814,2288,2657,2327,2194,2534,2632,2427,3110,3899,3418,3005,3172,2998,2915,3230,3598,3762,3450,2756,2719,2861,3130,2909,2553,2204,2049,1830,1894,2071,2272,2513,2696,2965,3340,3650,3804,3635,3673,3648,2476,1783,1730,2195,3647,4300,3251,2397,2290,1980,2056,1760,1878,2757,2673,2731,2496,1859,1917,2231,2189,2288,2339,2033,1820,2008,1968,1732,1748,1914,2021,2039,2192,2269,2337,2832,3198,3116,3210,2732,2263,2127,2061,2574,2641,2520,2539,2727,2481,1952,1938,1938,2195,2196,2593,2854,2494,2524,2626,2718,3111,3274,3320,3024,2148,2120,1936,1991,2118,1756,1741,2854,3504,3852,3581,3416,2997,2477,3103,3518,3165,3739,3484,3119,2437,2190,2129,1942,1915,1878,1691,1909,1891,1684,1585,1546,1529,2107,2077,1746,2005,1814,1915,2111,2056,1858,2147,3032,3261,2955,2390,1836,2093,2317,2602,2575,3099,3381,2743,2444,2381,2296,2705,2868,2821,2681,2533,2809,2640,2495,2737,2087,2097,2642,2115,1472,1516,1764,2167,2316,2787,3067,2592,2808,2610,2448,2806,2800,2796,3476,3814,3659,3552,3378,3303,3365,2724,2874,2565,2967,3541,3379,2604,1851,1434,1770,2408,3140,3608,3196,2799,2877,2801,2766,2974,2271,1647,1500,1811,2044,2349,3453,3971,4015,3768,3442,3215,3310,3693,3474,2699,2533,3350,3384,2997,3055,3123,3183,2917,3063,3258,3618,2963,2877,3233,3300,3204,3150,3011,2684,3093,3079,2807,2966,3043,2326,1755,1754,1681,1885,1824,1790,2161,2299,1838,2210,2158,2371,2518,2524,2734,2758,2729,2397,2153,2176,2218,2397,3154,3492,2832,2850,3012,2464,2193,2003,1941,2142,1943,1487,1681,2257,2276,2488,2252,2216,2282,2511,2832,2352,1818,1974,2132,1936,1899,2546,2942,2916,2776,2431,2402,2033,2121,2614,3188,3201,2972,3133,2641,2523,1974,1505,1384,2203,2769,2796,2291,1675,1458,2024,2756,2912,2972,3432,2930,2062,1974,1954,2128,2490,2781,2876,2633,2881,3122,2832,2397,2634,3124,2937,2569,1524,1346,1778,2235,2997,2978,2351,2743,3316,2913,1982,1999,1985,1755,1870,2166,2564,2382,1971,1881,2556,2754,2199,1978,2218,2283,2580,2534,2054,2141,2352,1974,1728,2035,2294,1968,1692,1568,1578,1568,1794,2108,1968,1748,1664,1729,1642,1741,2017,2620,2779,2020,1646,2045,2532,2167,2119,2197,2562,2791,2372,1855,1802,1826,1781,1892,1923,1789,1932,1765,1588,1566,1772,2035,1964,1805,2005,2054,1930,2050,1780,1828,1747,2002,2649,2336,1772,1816,2404,2301,2346,2314,2139,2006,1830,2148,2333,2192,1848,1896,2014,2189,1967,1893,2340,2119,1528,1607,1624,1473,1842,3022,2909,2212,2555,3163,2435,1893,2777,3430,3750,3710,3882,4161,4200,4347,4488,4113,3384,2705,3360,4048,3847,3453,3306,3174,3066,3045,3300,3551,3602,3396,2980,2607,2601,2390,2400,2965,3538,3841,3528,2801,2611,2935,2480,2688,3330,3244,2907,2813,2986,2866,2669,2813,2906,2686,3053,3430,2413,1967,2464,2685,2344,2380,2601,2577,2600,2800,2756,2518,2596,2812,2599,2109,2384,2596,2718,3050,2811,2379,2083,1958,2213,2353,2918,3207,3870,3860,3514,3476,3329,3211,2912,2269,2113,2994,3897,3832,2969,2409,2414,2549,2204,1988,1618,2209,3580,4132,4112,4181,4252,4180,4000,3952,4220,4177,3567,3460,4240,4345,3428,2700,2578,2271,2262,2690,3536,3575,3308,2622,2424,3528,5560,5183,7057,6348,3196,2170,1776,1601,2082,2286,2116,2714,3095,3295,3115,2741,2880,3407,3935,4460,4372,4119,3952,3906,2688,2307,3166,3660,3802,3576,3397,3498,3576,3239,2900,2714,2193,2011,1802,1963,1891,1565,2098,2601,2205,2176,2410,2365,2566,2294,1972,2195,2762,3447,3717,3554,3020,3063,3166,3095,2964,2735,2659,2491,2612,3609,4029,3964,3754,3868,3897,3675,3405,3441,3496,3203,3553,3841,3566,3579,3742,3826,3178,2393,2966,3086,2692,3032,3106,2478,2357,2697,2942,3111,3105,2646,2681,3142,3659,3983,3946,2528,1889,2285,2691,3322,3624,3404,3376,3438,3353,3521,3682,3487,2991,2763,2711,2704,3037,3270,3176,3216,3222,3285,3432,3683,3752,3471,3111,3055,2887,2866,2932,2768,2208,1849,2210,2519,2434,2479,2521,2113,1915,1706,1697,2118,2976,3232,3239,3221,3069,3123,2314,2159,2513,2478,2472,2690,2833,2950,3099,2952,2641,2985,3505,3062,1819,1350,1592,1537,1785,2161,1999,1620,1474,1479,1603,1650,1645,1619,1687,1968,2023,1888,1938,2253,3178,3178,2540,2179,2291,2648,2796,2375,2610,2994,3010,2998,2958,2288,2112,1706,1474,1656,1835,1597,1538,1762,1578,1488,1641,1432,2154,2369,2009,2209,1948,1183,1450,1890,1550,1637,1578,1671,1998,2486,2538,2097,2034,2018,1956,2147,1925,1621,1894,2438,2615,2293,2242,2168,2186,2066,1567,1270,1285,1469,1924,2147,2176,2243,2238,1933,1850,1824,2104,2812,2517,1756,1713,1823,1782,2075,2403,2401,2282,2282,2097,1720,1621,1428,1566,1837,1852,1938,1958,1898,2109,2339,2272,2106,1675,1691,1768,1829,1878,1722,1593,1685,1900,2025,2061,2119,2146,2222,2138,2363,3204,3292,2679,2062,1946,2061,1933,1621,1815,1914,1754,1918,2128,1999,1809,1742,1861,2458,2510,2430,2342,2453,2401,2425,2664,3012,3396,3316,2984,3151,2522,1848,2487,2737,2306,2026,1786,1582,1959,2083,2424,2391,2534,2919,2975,2966,2857,2806,2954,2872,2768,2469,2313,2247,2422,3109,2873,2488,2884,3345,3542,2998,2814,3957,4411,4163,4077,3960,3780,3688,3518,3492,4164,4521,3880,3817,4463,4523,4427,4444,4152,3082,1428,1235,1550,1788,1780,1804,2134,2778,3050,2243,1323,1138,1421,2272,3416,4136,4232,4364,4380,4215,3992,3993,3951,2743,2093,3566,4272,4220,4164,3924,3841,4026,4244,4038,3798,3699,3548,3188,2858,2678,2498,2456,2500,2830,4168,4385,3618,3031,3704,4244,4152,3345,2298,2023,1969,2453,3022,3081,3173,3197,3333,3374,3394,3334,3270,3185,3154,3239,3307,3382,3753,4029,4292,4401,4265,4188,4301,4201,3926,3565,3278,2896,2942,3248,3417,3239,3052,3160,3484,3596,2742,2901,3143,3006,3105,3448,3032,2408,2734,2433,2380,2169,2181,1747,1742,2132,2132,2232,2404,2476,2570,2166,1939,1665,1622,1554,1432,1608,1797,1753,1947,2148,1919,1763,1787,1542,1842,2597,2832,3053,2624,1912,2553,2854,2309,2064,1859,1814,2058,1989,1989,2123,1866,2136,1788,1675,1657,1650,1506,1819,2053,2213,2225,2009,2192,2110,1895,2867,3407,3199,3122,3186,3045,3382,3449,2754,2661,3076,3112,3060,3067,3087,3317,2955,3093,3212,2785,2230,1920,2028,2102,1667,1671,1594,1626,1519,1821,2303,1707,1491,2030,2143,1964,1572,1622,2022,1810,1433,1435,1563,2351,1864,1827,2191,2743,2925,3146,3188,3318,2950,2338,2217,1633,1847,2320,2996,2908,2893,2535,2920,3406,3226,2344,1636,1698,1786,1954,2132,2688,3105,2566,2545,2622,2622,2311,2106,2427,2571,2355,1965,2284,2557,1636,1731,2167,2518,2592,2259,2302,2251,2666,3604,4054,3773,3874,3298,2509,2335,1670,1657,2013,2055,2370,2552,2535,2934,2857,2735,2712,2622,2254,2005,2325,2332,2162,2237,2591,2116,1738,2066,2046,1976,1665,1446,1691,1678,1714,1911,2442,3367,3748,3022,2578,2350,2937,3558,2654,1991,2178,2309,2114,1868,2122,2775,2392,2807,3330,3069,2320,1782,1894,1708,2398,2723,2702,2643,2449,2203,2491,2834,2746,2828,3110,2874,3007,3040,2820,2743,3002,3760,4144,4093,4124,4300,4236,3451,2632,2950,3854,3661,2629,3118,3382,2807,2588,2841,2688,2665,3165,3140,3016,2721,2222,2374,2490,2039,2242,2350,1952,1950,1875,1840,2078,2212,2339,3229,3338,3200,3240,2510,1182,1936,2828,2473,2635,2924,2688,2575,2520,2436,3225,3462,2938,2393,2544,2608,2666,2310,2370,2103,1753,2677,3497,3510,3244,3074,3206,3031,3228,3667,3826,3539,3074,2989,2842,2540,2999,3248,3018,1951,2119,2270,2470,2143,1803,1716,1577,2002,2274,2179,2584,2806,2286,2106,2316,2524,2972,2911,2878,2927,3023,3070,3232,3243,2765,2409,2534,2519,2808,2722,2996,2511,1932,1500,1646,2209,1931,1557,1754,2397,2711,2843,3375,3924,3727,3752,3416,1947,1616,1791,1943,1531,1400,2076,2298,2511,2916,2878,3201,3638,2978,2828,2574,2542,2230,1785,1593,1839,2323,2622,2954,2956,2330,2164,2351,2159,1716,1771,1834,1743,1760,1694,1954,2489,2157,1836,1615,1567,1832,2050,1930,1978,2172,1853,2216,3166,3203,3238,3272,3554,3134,2128,1715,2066,2753,2700,2579,2929,3455,3360,3259,3706,3702,3274,2496,2532,2316,2762,2799,2839,3397,3124,2503,2259,2154,2259,2428,2208,2416,2980,2811,1895,2028,1915,2313,2923,2408,1603,1650,1958,1959,1534,1456,1550,1801,2026,2903,2184,1990,2371,2144,1831,1795,1990,2042,1938,2132,2248,1980,1725,1773,2356,2512,2735,2613,1944,1710,1614,1503,1438,1526,1624,1831,1773,1875,1779,1682,1885,2204,2939,2541,2268,3076,3569,3653,3071,2766,2305,1875,1924,1959,1979,2436,2953,3306,3521,3362,3448,3570,4408,4002,3595,4061,3806,3430,3230,2858,2757,2932,2715,2354,2085,2242,2134,2256,2018,2545,2690,2410,2060,2018,2057,2558,2899,2990],[3095,3422,3333,3292,3397,3300,2947,2379,2730,3197,2774,2299,2586,2847,2952,3154,3143,3410,3559,3063,3212,3947,4037,4021,3697,2497,2468,2486,2421,2481,2746,2538,2971,3522,3008,2707,2823,2608,2556,2535,2373,2334,2570,2967,2994,2291,1864,2159,2570,2547,2139,2003,2259,2293,1977,1649,1617,2015,2085,2236,2414,2420,2040,2166,2341,2258,2086,1850,2005,2352,2696,2530,2288,2188,2802,3440,2781,2423,2233,1557,1725,2360,2402,2365,2398,2526,2334,2801,3023,2923,2812,2818,2604,2341,2547,2829,2613,2727,2784,2641,2252,2240,2387,2171,1714,1673,2505,2814,2433,2037,2472,2630,3083,3296,3727,3470,3128,3317,3178,3447,3934,3771,3594,3198,3235,3220,3128,2773,2369,2076,2084,1980,1786,1910,2119,2282,2495,2618,2986,3226,3400,3586,3554,3610,3566,2601,1803,2019,2959,3870,3698,2928,2211,1727,2092,2014,1603,1573,1827,2103,2327,2167,1695,1582,2142,2707,2118,2031,2212,2241,2447,2436,1876,1602,1779,2313,2489,2114,2144,2008,2250,3190,3389,3111,3111,2519,1764,1950,2699,2579,2580,3121,3365,2866,2157,1879,1995,2553,2630,2129,2020,1591,1881,2149,2254,2987,3659,3607,2624,1765,2425,1971,2002,1974,1863,2053,2806,3198,3034,2184,2351,3020,2813,3046,3440,3222,3442,3288,2554,2076,2237,2468,2653,2767,2142,1705,1919,1609,1511,1505,1654,1603,2110,1912,1725,1618,1804,2405,2417,2083,1920,2425,2922,2585,2446,2081,1950,2200,2055,2484,2644,2689,2370,1842,1976,2136,2030,2392,3101,3143,3088,2836,2852,2719,2881,2604,1763,1803,1969,2077,1648,1716,1743,1961,2186,2288,2262,2341,2352,2298,2438,3108,3721,2789,2690,2989,3584,3731,3521,3255,3247,3400,3473,3173,3319,3510,2905,2147,1747,1335,1011,1433,2480,3445,2856,2542,3033,3328,3274,2832,2911,2401,1745,1941,2519,2392,2634,3154,3685,3915,3544,3063,3162,3539,3413,2811,2513,3145,3365,3096,2498,2750,3438,2900,2636,3206,3051,2556,3053,3242,2779,3203,3728,3221,2310,2217,2287,2654,2770,2849,2273,1719,1769,2048,2221,2447,2843,2472,2157,2193,2054,1570,2231,2874,2654,2444,2709,2712,2444,2125,2109,2213,2492,3085,3256,3138,2365,1926,2010,1945,1901,2511,2555,1504,1146,1447,2029,2085,2272,2310,2172,2098,2171,2519,2350,1873,1931,1979,1773,1869,1960,1726,2098,2962,2655,2313,2189,2607,3507,3532,3270,3339,2823,2619,2587,2473,1852,1701,2425,2789,2774,2194,1477,1380,1946,2501,2751,2487,2928,2657,2376,2307,2037,2068,2190,2492,2512,2488,2731,2575,2136,2453,2947,3001,2810,2169,1615,1631,1573,1919,2558,2286,1929,2565,3283,2242,1664,1822,2298,2241,2117,2559,2939,2473,1786,1998,2384,2387,2391,2057,2159,2264,2777,2769,2066,1968,2354,2271,2000,1875,1780,1818,1663,1658,1700,1669,1902,2068,2002,1892,1968,1822,1814,2015,2127,2825,2934,2367,2119,2396,2723,2579,2360,2357,2584,2887,2499,1888,1970,1960,1789,1915,2130,2170,2232,2082,1647,1667,1515,1676,2031,2041,1830,1690,2111,2568,1925,1942,2193,2194,2220,2244,1742,1403,1578,1669,1821,1526,1519,1567,2011,1697,1588,1687,1757,2076,2354,2121,1823,1968,2059,1815,1620,1793,1885,1686,1748,2836,2972,2751,3195,3502,3131,2641,2479,3259,3842,3804,4037,4225,3964,3901,3937,3082,3006,3544,4124,4064,3440,3239,3376,2844,2243,2713,3348,3647,3367,3099,2697,2499,2807,3011,3335,3648,3666,3814,3785,3354,2977,3289,3151,3255,3462,3394,3421,3207,2978,2865,2785,3038,3120,3044,3241,3076,2461,2294,2908,2792,2237,2229,2376,2602,2765,3001,3194,3060,2156,2125,2027,1723,2187,2403,1909,2169,2773,2512,2355,2121,2303,1892,2311,3041,3396,3571,3881,3878,3160,2894,3175,2747,2251,3017,3682,3659,2793,2519,2567,2653,2243,1929,1771,2271,3318,4100,3882,3672,3496,3204,3338,3675,3925,3738,3327,3352,3751,3550,2619,2349,2111,2050,2481,2920,3225,3522,3605,2867,2217,2390,2928,5166,6200,3747,2822,2423,2126,2070,2584,2901,2018,2064,2828,3217,2625,2184,2618,3207,3917,4477,3994,3807,3832,2973,1901,1724,2293,3155,3442,3461,3603,3402,3594,3364,2896,2476,1972,1898,2043,2280,2113,2072,2300,2179,2585,3085,2811,2530,2608,2692,2555,2588,2865,2952,3445,3065,2177,2065,2125,2029,2121,2235,2286,2163,2458,3463,3873,3818,3772,3877,3868,3607,3451,3573,3569,3444,3640,4060,3834,3819,3850,3786,3274,2494,3023,3411,3123,3244,2979,1971,1974,3274,3743,3585,3860,3868,3813,3625,3336,3558,3617,3062,2669,2665,3405,3799,3613,3349,3361,3346,3300,3301,3361,3406,3244,2898,2662,2711,3010,3404,3598,3548,3492,3574,3592,3526,3618,3743,3720,3315,3053,3181,3096,2700,2097,2008,2832,2820,2441,2296,2065,1802,1610,1543,1656,2219,3194,3683,3110,3131,3449,3516,2797,2484,1953,1709,2349,2696,2648,2868,3012,2503,2721,3166,3458,2743,1420,1277,1618,1746,1986,2278,2193,1815,1516,1441,1668,1607,1582,1388,1561,1956,1814,2035,1770,1959,2933,3106,2567,2245,2424,2957,3052,2087,2404,3074,3165,2881,2321,1654,1641,1761,1597,1541,1511,1732,1810,1628,1509,1435,1681,1556,1648,1592,1518,2082,2347,1887,1766,1789,1656,1676,1632,2192,2585,2500,2351,1962,2023,2198,1927,1929,1925,1442,1670,2393,2379,2293,2001,2076,2446,2318,1666,1328,1538,1659,1788,1917,1982,1947,1968,1740,1714,1835,1967,2025,1859,1804,1680,1535,1884,2397,2657,2288,1597,1619,2161,2334,1826,1392,1670,1959,1974,1895,1712,1959,1963,1798,1920,1911,1762,1808,1954,1997,2121,1918,1500,1546,1669,1701,1883,1921,2003,1790,1740,2028,2603,2856,2635,2099,1814,1812,1994,1812,1860,2031,1992,1988,2020,1824,1640,1575,1983,2373,2629,2730,2790,2711,2700,2676,2786,3210,3422,3033,2883,2780,2452,2098,2193,2286,1904,2054,2437,2318,2277,2350,2600,2620,2486,2577,2821,2953,2953,3079,3024,2875,3287,3150,2820,2719,3021,3529,3383,2961,3182,3402,3547,3164,2410,3558,4384,4183,4163,3959,3780,3704,3776,4508,5116,5073,4729,4563,4656,4616,4313,4147,4148,3565,2218,2488,3264,3558,3332,3065,2979,3276,3444,2696,1724,1554,2546,3849,4655,4821,4377,4399,4588,4383,4177,4157,4153,3254,2369,3627,3805,3961,3795,3811,3794,4101,4352,4059,3771,4021,3885,3292,3523,4074,3400,2674,2635,3206,4163,4559,4060,3281,3427,4079,4155,3608,3262,3341,3060,3206,3153,3186,3229,3243,3383,3529,3537,3340,3260,3108,3113,3237,3232,3332,3570,3917,4209,4358,4385,4312,4357,4217,3705,3317,3147,2602,2676,3144,3461,3444,3335,3249,3378,3373,3329,3490,3370,3492,3377,3372,3063,2468,2171,2266,2140,2009,2072,2097,2199,2220,2054,2150,2052,2025,2057,2042,1971,1892,1628,1574,1675,2055,2379,2024,2242,2856,2307,1855,1935,1812,2330,2858,2939,2653,1812,2110,2258,2432,2564,2064,1868,1776,1694,1629,1981,2193,2004,1921,1787,2204,2361,1886,1558,1564,1516,1803,2200,1981,2785,2394,2428,3412,3969,4079,3806,3365,3320,3853,3520,2886,2785,2863,2767,3140,3387,3599,3476,3098,3518,3536,2654,1862,1620,2153,2501,1798,1801,1526,1480,1591,1647,1818,1924,1561,1531,1701,1620,1547,1715,1996,1730,1530,1707,1629,1660,1586,2093,2371,2359,2453,2588,2941,2711,2453,2712,2851,2543,2775,2973,3186,3382,3043,2338,2532,3166,3152,2458,1698,1959,2209,1941,1624,1915,3020,3496,3188,2902,2619,2209,1975,2200,2203,2447,2052,2533,2419,1837,2086,2814,3067,2786,2626,2674,2941,3165,3430,3511,3163,3349,3038,2631,2270,2005,2285,2311,2130,2552,2630,2630,3090,2745,2897,2728,2518,2420,2558,2520,2467,1979,2067,2637,2302,1995,1705,1539,1611,1630,1566,1478,1528,1906,2003,2083,2802,3363,3240,2653,2874,3440,3164,3353,2511,2205,2718,2520,1790,2608,2966,2554,2987,3087,3155,2717,2031,1975,2308,2964,2713,2263,2214,2149,2079,2662,3167,2680,2348,2456,2951,2793,2723,2520,2391,2382,3084,3641,3003,2754,3682,3831,3360,3489,4006,4384,4110,3317,3685,3798,3066,2774,2861,2734,3165,3818,3464,2739,2233,2115,2367,2119,1970,2414,2248,2131,2141,1703,1844,2224,2423,2747,2955,2251,1357,1873,2401,1664,2099,3132,2786,2348,2597,2756,2516,2231,2218,2720,3123,2789,2797,3088,3005,3087,2810,2853,2911,2608,3008,3496,3304,3282,3361,3611,2996,3449,3695,3438,3138,2806,2655,2871,3130,3074,2792,2819,2154,2864,2653,2358,2171,1958,1954,2004,2114,2138,2216,2624,2900,2346,2462,2490,2656,2688,2739,2754,2449,2657,3083,3204,3078,2792,2186,2609,2127,2608,3032,3033,2551,2074,1636,1459,2008,2172,1794,2134,2576,2381,3097,3842,3854,3272,3396,3262,2146,1478,1619,1919,1801,1853,2466,2260,2155,2503,2741,3163,2971,2636,2328,1841,2069,2402,2069,1672,1614,2221,2568,2656,2512,2158,1834,1595,1827,1786,1808,2122,1982,1731,1738,2126,2647,2379,1929,1768,1736,1765,1978,2413,2526,2490,2324,2255,3124,3461,3566,3329,3277,2836,2114,1871,2344,2874,3030,2913,3232,3680,3606,3513,3827,3708,3264,2958,3110,3370,3588,3141,2911,3191,3123,2944,2703,2359,2187,2569,2569,2483,2295,1968,2271,2705,3087,3615,2929,1986,1614,1707,1732,1775,1588,1599,1985,1977,1903,2376,2424,2317,2305,2225,2010,1895,1890,1749,1703,1908,2104,2079,1878,1829,2019,1943,2022,2055,1895,1730,1653,1586,1648,1678,1655,1817,1814,2088,2113,1995,2187,2597,3183,2416,2244,2937,3710,2976,2561,2569,2064,1546,1282,1636,2487,3396,3376,2831,2843,2629,3138,3448,4188,3735,3528,3696,3571,3318,3153,3009,2589,2439,2452,2636,1995,1683,1883,1865,1755,2479,2761,2379,2361,2634,2436,2589,2811,3002],[3563,3605,3270,3129,3054,3088,2898,1703,1694,2459,2452,1959,2178,2469,2654,2777,2897,3342,3422,3260,3068,3262,3422,3267,3002,2476,2380,2373,2417,2492,2692,2710,2862,2845,2416,2091,2333,2083,2310,2384,2979,2862,2366,2443,2405,2035,1888,2141,2519,2110,1892,2230,2008,1593,1700,1982,1846,1848,2062,2097,2466,2513,2350,2593,2372,2270,2138,1676,1504,2000,2512,2214,2287,2766,2988,2383,1948,2280,2298,1719,1969,2420,2334,2198,2378,2097,1976,2685,3176,3005,2610,2777,2827,2602,3066,3435,2311,2331,2879,2534,2053,2176,2219,1877,1596,1925,2724,2649,2442,2231,2146,2316,3172,3295,3086,2961,3193,3194,3044,3270,3553,3650,3870,3695,3611,3341,3174,2666,2177,1865,1757,1544,1588,2051,2454,2507,2584,2467,2987,3329,3698,3717,3444,3500,3479,2739,2178,2227,2400,2688,3034,2863,2364,1753,1838,1856,1655,1621,2118,2399,2108,1713,1794,1666,1892,3201,2944,2535,2398,2083,1996,2192,2071,1932,1996,2311,2531,2249,2176,2013,1825,3063,3093,2817,3151,2889,2178,2466,3046,3112,3402,3642,3545,3379,2801,1984,1939,2603,2852,2391,1741,1464,1812,1958,2045,2432,2842,3054,2282,1976,2542,2195,1853,2038,2078,2396,2842,2879,2764,2391,2397,2718,2423,2842,2876,2552,2429,2747,2187,1816,2308,2834,2943,2354,1788,1730,1594,1476,1942,1920,2317,2016,1751,1581,1576,1590,1664,1975,1831,1826,2131,2320,2150,1807,2143,2105,2009,1932,1998,2418,2468,2302,2060,1972,2064,2083,1964,2697,3117,3481,3796,3326,2780,2746,2998,2787,2047,1815,1704,1943,1888,2012,2404,2215,2519,2977,2711,2430,2319,2367,2425,2806,3096,2603,2862,3073,3127,3370,3184,3066,3372,3718,3877,3625,3359,3415,2890,2260,2342,2384,1428,1004,1298,2060,2079,2301,2718,2852,2667,2246,2636,2671,2270,2419,2735,1990,1275,2015,3227,3718,3754,3324,3241,3665,3696,3226,2401,2798,3293,2745,2210,2796,3195,2839,2662,2727,1948,1498,2372,3073,2531,2988,3464,2801,1778,1643,2099,2745,2958,2502,2324,1941,1984,2512,2458,2796,2892,2677,2548,2364,1855,1659,2331,3041,3016,2754,2662,2556,2980,2580,2354,2756,2621,2445,2784,3187,2843,2095,1860,2062,1878,2369,2657,1712,1506,1583,1989,1810,1594,1896,1910,1756,2042,2285,2207,2280,2177,2105,1726,1571,1561,1917,2169,2391,2498,2476,2375,2997,3994,3237,3320,3111,2594,2518,2370,2627,2370,2413,2630,2718,2531,1928,1759,2078,2435,2732,2663,2341,2458,2314,2477,2567,2577,2456,2207,2162,2332,2388,2396,2129,2248,3128,3056,2821,2746,1919,1535,1883,1800,1754,2124,2205,1944,1764,2262,2017,2192,2098,1960,1747,1973,2443,2822,2745,2031,1995,1965,2049,2143,2310,1824,1928,2415,2112,1964,2105,1898,1841,1891,2180,1815,1728,1625,1542,1600,1920,2282,2033,1812,2108,2232,2036,2292,2276,2104,2379,2695,2631,2556,2894,3107,2511,2157,2103,2072,2603,2546,2173,1978,1757,1519,1615,2218,2829,2700,2031,1637,1660,1572,1442,1805,2452,2115,1700,2232,2624,2266,1881,2210,2207,1751,1690,1591,1329,1393,1673,1543,1607,1434,1412,1910,1656,1804,1711,1796,1888,1767,1638,1626,1677,1681,1791,1826,1749,1919,1849,1968,2205,2378,2250,2348,2911,2866,2247,3084,3784,3864,4018,3864,3207,3628,4168,3737,2728,2785,3920,4640,4506,3873,3375,3685,2575,2104,3166,3562,3715,3313,2924,2769,2841,2978,2783,3117,3444,3448,3466,3532,2896,2770,3122,3353,3628,3605,3510,3211,2915,2924,2872,2805,3071,3146,3137,3187,2978,2553,2562,2856,2530,2096,2301,2601,2728,2774,2856,2938,2919,2118,1849,1909,1753,2293,2628,2412,2405,2708,2432,2278,2198,2375,2135,2048,2797,3366,3570,3839,3662,3030,2742,2932,2519,2065,2491,2894,2915,2619,2398,2357,2177,1849,1852,2118,2437,3273,4343,4028,3199,3073,2973,3206,3122,2940,2930,3132,3109,3032,2612,2358,2259,1989,2023,2522,3087,2936,3121,3115,3074,3134,2411,2387,3515,3124,2540,3306,2874,2265,2564,3023,2779,1840,1623,2230,2708,2229,2007,2609,2953,3429,3610,3249,3092,3382,2799,2026,1758,1755,2324,3210,3544,3768,3707,3520,2590,2644,2831,2260,2164,2521,2649,2333,2229,2111,2131,2562,2758,2236,2252,2373,2451,3051,3299,3015,2765,2828,2205,1636,2078,2417,2308,2557,2806,2980,3031,3200,3582,3859,3983,4049,4059,3928,3608,3604,4017,3780,3249,3376,4188,3986,3794,3818,3762,3440,3030,3266,3381,3270,3433,2878,2147,2182,3321,3830,3619,3762,3823,3571,3021,2791,3457,3895,3906,3740,3640,3814,3694,3492,3350,3363,3341,3334,3187,3079,3163,3352,3160,2839,2845,3157,3329,3730,3702,3572,3396,3355,3383,3442,3710,3813,3114,2638,3006,3128,2750,2059,2125,2340,2280,2666,2961,2203,1514,1575,1670,1712,2307,3206,3444,2733,2697,2855,2929,2698,2664,2170,1856,2207,2392,2351,2122,2138,2264,2577,2972,2688,2039,1481,1652,2051,1918,1640,1932,2258,1678,1504,1444,1688,1560,1414,1339,1593,1931,1757,1663,1561,1753,2362,2617,2499,2192,2178,2577,2690,2089,2327,2864,2803,2383,1865,1489,1452,1614,1828,1883,1606,1987,1994,1709,1792,1546,1460,1529,1576,1677,2096,2491,2864,2314,2242,2119,1813,1876,1903,2381,2851,2453,1935,1756,2302,2555,2103,2379,2237,1728,1721,2282,2227,2305,2111,2389,2448,2051,1989,1707,1835,1959,2082,2036,2026,1908,1898,1815,1813,1938,2006,1804,1753,1842,1686,1460,1794,1768,1989,1665,1443,1516,1915,1942,1547,1424,1832,2014,1954,1785,1551,1726,1849,1745,1882,1643,1730,1797,1974,2266,2231,1900,1675,1730,1715,1545,1561,1706,1926,1645,1517,1896,2186,2477,2574,2388,1935,1635,1853,1959,2248,2417,2156,2198,2014,1942,2014,1904,2020,2522,2817,2538,2468,2736,2827,2905,3010,3174,3162,2776,2858,3169,2940,2463,2492,2700,2297,2424,2859,2841,3043,3118,2708,2446,2472,2492,2567,2676,2913,2907,2645,2590,3208,3529,3252,2931,3353,3639,3417,2962,3487,4252,4116,3476,2310,3035,4163,4167,4269,4112,3951,3427,3137,4081,5067,5240,5020,4702,4579,4327,4115,4183,4183,3760,3493,3893,4271,4023,3682,3505,3130,3019,3008,2730,2898,3093,3748,4421,4608,4492,4185,4380,4588,4442,4377,4166,3881,2878,2813,3750,4177,4401,4237,4221,3952,3751,3985,3973,3597,3560,3488,3237,4344,4971,4285,3746,3474,3793,4457,4690,3949,3037,3332,3508,3529,3931,4041,3833,3282,3286,3618,3674,3536,3418,3053,3093,3660,3339,3254,3194,3122,3222,3282,3452,3452,3521,3817,4060,4219,4385,4474,4384,3963,3602,3385,3005,2930,3242,3427,3443,3436,3540,3640,3432,3348,3464,3358,3686,3628,3487,3473,3124,2668,2237,1890,1764,1779,1952,2050,2082,2024,2029,2060,2159,2200,2071,1821,1654,1486,1636,1627,1628,1656,1597,2131,2930,2559,2039,2522,2675,3090,3228,2614,1835,1835,2458,2654,2691,2697,2425,2106,1629,1676,1330,1562,1764,1611,1697,1680,2294,2684,1823,1622,1458,1481,1829,2136,1915,2610,2507,3139,3691,4147,4396,4041,3185,2518,2547,2115,2269,2635,2900,2998,3226,3535,3696,3654,3716,3795,3342,2410,1799,1620,1960,2113,1626,1929,1839,1610,1500,1501,1901,1957,1640,1640,1817,1710,1647,1741,2099,1803,1757,1852,1807,1663,1643,2149,2065,1765,1708,2164,2658,1963,1856,2220,2316,2649,2894,2898,3152,3515,3297,2614,2365,2642,2916,2601,2104,2735,2956,2082,1643,1853,2957,3698,3381,3021,2643,2452,2077,2049,2115,2817,2894,3058,2907,2419,2399,2934,3021,2840,2752,2837,2995,3172,3232,3110,3146,3694,3943,3529,2827,2412,2168,2171,2378,2584,2161,2352,2569,2143,2578,2420,2474,2514,2668,2728,2429,2120,2392,2585,2788,2316,1596,1483,1598,1499,1483,1696,1983,2083,1918,2051,2570,2713,2785,2763,3630,3648,3007,3414,3099,2210,2406,2130,2108,2710,2299,2411,2690,2774,2951,2886,2535,2390,2814,3273,2713,2087,2100,2269,2365,2698,2924,2232,1989,1948,2470,2623,2414,2105,1906,2008,2513,3129,3020,2944,3480,3219,3296,3681,4020,4040,4027,3648,3792,3908,3461,3349,3514,3443,3362,3421,3649,3099,2518,2273,2353,2256,2377,2438,1960,1704,1589,1393,2103,2686,3354,3090,1858,900,512,1075,2313,2510,2370,2956,2603,1882,2382,2720,2450,2363,2019,2226,2918,3276,3429,3396,3215,2956,2508,3120,3472,2779,2420,2607,2760,2922,3190,3077,3172,3649,3462,3262,3329,3449,2799,2409,2452,2452,2171,2062,2143,2351,1967,1819,1928,2009,2020,2017,1753,1874,2311,2326,2922,2810,2579,2608,2910,2810,2901,2798,2279,2558,3030,3124,3263,3622,2489,2111,1900,2322,2601,2396,2153,2105,1740,962,1344,1830,1880,3038,2983,2329,2512,3164,3161,2768,2788,2896,2521,1997,1857,1892,1936,2508,2779,2004,2334,2844,2596,2401,2135,2004,1768,1840,2443,2266,1699,1747,2608,2426,2317,2570,2571,2198,1665,1640,1966,1862,1842,2529,2686,2451,2563,2351,2337,2200,1926,1955,1880,2048,2317,2389,2326,2693,2696,2563,2811,3376,3124,2451,2115,1928,1654,1938,2800,3122,2588,2576,3321,3461,3160,3206,3615,3284,2726,2926,3200,3273,3347,3248,2750,2988,2988,3204,2630,2458,2046,2600,2961,2501,2051,1969,2427,2676,2812,2964,2103,1662,1561,1250,1470,1772,1664,1720,1964,1843,1758,1988,2209,2599,2540,2316,2159,1986,1932,1818,1707,1859,2085,2152,1885,1776,1900,1653,1767,1900,1860,1667,1754,1754,1892,1953,1841,1760,1807,2129,2343,2514,3062,2788,2508,2259,2287,2536,2381,2214,2656,3094,2666,2118,1932,1862,2286,2896,2630,2217,2374,2657,3418,3588,3416,3190,3356,3458,3610,3409,3000,2741,2467,2350,2341,2114,1793,1866,1938,1691,1787,2495,2603,2126,2691,2789,2448,2515,2521,2941],[3262,3242,3212,3378,3111,3086,2729,2020,1594,1623,1734,1869,1927,1928,2202,2236,2429,3275,3492,3395,2841,3049,2892,2586,2443,2558,2666,2405,2373,2510,2447,2342,2870,2607,2319,2062,2031,2110,2540,2712,2942,3050,2644,2225,2187,2249,2034,2054,1989,1747,1401,1214,1383,1157,943,1572,2026,2225,2457,2234,2374,2394,2291,2431,2556,1932,1715,1864,2110,2598,2544,2207,2933,2829,1997,1753,2303,3018,2953,2301,2242,2206,2148,2331,2376,2402,2785,3153,2943,2695,2342,2766,2730,2566,2746,2655,2017,2535,3046,2871,2411,2157,2181,1876,1776,2563,2776,2585,2150,2029,1915,2106,2853,3206,3210,3176,3368,3380,3115,2453,2841,3581,3851,3765,3515,3333,2945,2391,2111,2053,1754,1442,1748,2277,2548,2377,2298,2410,2843,3364,3906,3809,3400,3614,3375,2601,2186,2058,2360,3074,3393,3536,2886,1967,1531,1695,1692,1660,2035,2092,1886,2092,1980,1912,1933,3001,3241,2851,2657,2711,2462,2303,2277,2204,2182,2142,2366,2236,1822,1829,1781,2269,2668,2760,2851,3185,3220,3154,3000,2941,3303,3481,3188,3252,3145,2354,1954,2334,2486,2193,1663,1446,1645,2409,2764,2840,2701,2587,2265,1920,2145,2151,2100,2272,2178,2547,2930,2934,3134,3189,2435,2217,2189,2340,2566,2020,1696,2002,1865,1670,1654,2074,2384,1804,1575,1794,1663,1671,2106,2066,1864,1797,1657,1706,1726,1592,1577,1786,2048,2156,2192,1834,1712,1681,1842,1711,1550,1631,1998,2478,2269,1934,2034,1585,1600,1838,1860,2813,3296,3355,3438,3000,2327,2247,2632,2698,2713,2377,2181,2347,2683,2564,2287,2020,2442,2690,2373,2600,2828,2442,2476,2710,2564,2776,2916,2819,3133,3185,2831,2731,2177,2203,2820,3386,3636,3558,2643,2059,2318,2482,2030,1331,1229,1328,1321,2119,2394,2228,1918,1692,1832,2229,2404,2765,2963,2051,1415,2271,2988,3060,3686,4014,3704,3924,3739,3264,2729,3117,3394,2602,2375,2921,2973,2887,2530,2407,1565,1789,2139,3029,2408,2039,2866,2479,1871,1856,2074,3005,3249,2583,2910,2625,2204,2315,2802,2818,2587,2382,2184,2183,2190,2285,2547,2577,2258,2636,2707,2613,2853,2899,2835,3254,3348,2766,2503,2756,2699,2277,2173,2821,2668,2823,2670,2145,1674,1510,1712,1684,1611,1791,1702,1467,1560,1925,2188,2336,2269,2468,2294,1694,1611,1949,1994,1790,1901,1711,2228,3152,3044,2661,3753,2834,2347,2366,2475,2505,2614,2531,2216,2008,1887,1813,1818,2187,2166,2626,2215,2025,2602,2689,2928,3481,3210,2741,2268,1944,2169,2472,2452,2185,2565,2830,2663,2733,2592,2051,2055,2287,1765,1670,2215,2803,2474,1885,2458,2745,3001,2624,1794,1674,1787,2170,2526,2752,2036,2105,1945,1940,2435,2492,1846,1859,2022,1947,2488,2288,1826,1920,2078,2236,1850,1666,1504,1630,1712,1986,2029,1700,1782,1994,1931,2255,2442,2170,2423,2209,2273,2177,2001,2511,2670,2049,1973,1959,1711,2207,2286,2059,1909,1689,1637,1572,1881,2199,2097,1930,2154,2724,2365,1733,1936,2301,1913,1779,1931,2244,2083,2064,2446,2315,1835,1558,1568,1500,1573,1676,1476,1510,1388,1565,1670,1842,2145,1901,1758,1598,1755,1665,1730,1865,1625,2041,2019,1572,1593,1709,1838,1763,1766,1894,1812,2171,2640,2857,2984,3486,3916,3811,3205,2575,3476,4357,4092,3851,3489,4161,4332,4409,3882,3378,3005,1974,2842,4082,3937,3638,3135,2742,2913,3207,2363,1885,2043,2202,2657,3205,3420,2904,2917,3227,3464,3449,3376,3230,3026,3010,2937,2995,2915,3054,3093,2972,3115,2973,2763,2800,2850,2983,2933,3019,2922,2872,2844,2801,2794,3250,2611,1783,1761,1739,2342,2568,2665,2465,2461,2273,2470,2360,2329,2579,2521,2778,3309,3749,3828,3480,2895,2153,2415,2445,2498,3078,3164,2976,2686,2321,2089,1841,1619,1886,2730,3284,3803,4426,4060,3363,2982,3229,3185,2571,2350,2555,3089,2919,2447,2199,2316,2229,2062,2109,2257,2519,2315,2712,3018,3204,3665,3330,2653,2012,1719,2652,3505,3125,2167,1758,2221,2301,1971,1755,1879,2585,2410,2025,2087,2060,2588,2813,2920,3042,3970,4189,3162,2036,1706,2190,2999,3260,3447,3809,3150,2333,2361,2639,2376,2260,2592,2843,2287,1788,1941,2099,1925,2036,1918,2215,2381,2901,2985,2752,2657,2951,3348,3094,2588,2929,3013,2497,2855,3105,3182,3020,3419,3794,3835,3876,3852,3830,3755,3125,2916,4083,3799,3325,3696,3948,3935,3819,3776,3861,3516,3293,3519,3294,2642,2918,3127,3126,2984,3600,4017,3524,3418,3802,3713,3304,3322,3625,3751,4144,4047,3854,3640,3519,3431,3236,3211,3250,3234,3220,3169,3220,3377,3344,3254,2927,2675,3082,3429,3555,3681,3538,3300,3443,3576,3497,3871,3223,2435,2799,3044,2161,1957,2269,2442,2255,2792,3365,2485,1805,1857,1902,1621,1729,2716,2529,2441,2561,2908,2830,2449,2613,2766,2689,2326,2216,2531,2300,1923,2106,2204,2198,1949,1928,2082,2282,2243,1904,1661,1672,1962,1754,1486,1504,1661,1548,1482,1586,1758,1987,1908,1627,1784,1718,2092,3056,2990,2786,2886,2696,2403,1979,2109,2547,2366,1975,1794,1890,1694,1744,1968,2148,2052,1775,1395,1536,1721,1654,1769,2059,1979,2062,2215,2160,2641,1996,1977,1815,1628,1708,1665,1814,1881,1819,1946,2086,2649,2239,1885,2771,3009,2207,1632,1976,2201,2567,2695,2640,2376,2273,2424,1947,2066,2564,2667,2366,2597,2696,2060,1727,1937,2113,2043,1842,1801,1699,1601,1360,1547,1532,1534,1448,1682,2048,2098,2110,2095,2135,2084,1982,1998,1728,1627,1659,2078,2255,2289,2029,1979,1858,1760,2037,1653,1452,1852,1748,1625,1630,1629,1871,1970,1615,1557,1742,2055,2448,2374,1785,1582,1519,1952,2118,2287,2564,2439,2017,1801,1959,1824,1710,2047,2640,2644,2574,2544,2482,2191,2380,2597,2808,3001,2995,3340,3496,3261,3015,2833,2796,2379,2541,2496,2397,2477,2397,2674,3317,3331,2828,2618,2437,2697,2676,2641,2436,3056,3649,3595,3420,3389,3623,3860,3679,4144,4605,4277,3840,2633,2502,3233,3607,3909,4176,3962,2939,2927,4480,5284,5208,5084,5001,4804,4298,4116,4184,4089,3902,3780,4036,4048,3819,3369,3055,2792,2937,2818,2695,3211,3614,4025,4074,4196,4257,4245,4521,4565,4203,4164,4048,3387,2382,3407,4027,4175,4398,4388,4120,3890,3963,4123,3641,2569,2909,3128,3340,4636,5136,4876,4536,4332,4244,4332,4284,3617,2811,2910,3705,4036,4048,4091,4048,3408,3316,3847,4245,4182,3307,3171,3177,3583,3543,3519,3364,3219,3143,3178,3463,3489,3581,3859,3914,4083,4156,4080,4256,3953,3608,3518,3457,3354,3287,3457,3592,3608,3722,3594,3251,3319,3428,3571,3718,3683,3552,3460,3159,2879,2353,1704,1669,1688,1999,2287,1961,1991,2123,2087,2219,2089,1963,2130,2126,1964,1718,1712,1912,1999,1691,1798,2281,2285,2690,2813,2500,2631,2814,2266,1807,1930,2515,2589,2368,2396,2513,2197,1917,1764,1657,1715,1503,1601,1901,2096,2725,2910,1869,1486,1412,1590,2099,2200,2064,2155,2857,3539,3690,4058,4352,4123,3298,2226,1811,1603,2124,2513,2841,3031,3216,3386,3386,3422,3462,3365,3184,2414,1511,1558,1527,1734,1972,2358,2323,1867,1537,1400,1492,1623,1771,2360,2426,1841,1454,1642,2037,1898,1912,2147,2024,1671,1826,2287,2052,1782,1553,1942,2061,1734,2037,2224,2057,2183,2342,2570,2917,3065,2823,2411,2333,2421,3012,2809,2187,2753,3189,2808,2452,2132,2368,3361,3455,3076,2850,2754,2475,2952,3220,3205,3298,2847,2448,2568,2544,2731,2756,2784,2872,3046,3244,3353,2955,3312,3890,4086,4009,3354,2895,2655,2244,2394,2894,2654,2184,2507,2677,2746,3033,2602,2277,2277,2488,2812,2718,2555,2345,2024,2334,2057,1735,1753,1685,1479,1757,2209,2343,2140,2259,2432,2850,3117,2425,3364,3750,3463,2842,2699,2227,1951,2063,1785,2082,2126,1835,2450,2618,2647,2688,2798,2719,2249,2414,2785,2371,2070,2346,2735,2280,2112,2460,2292,2018,2056,2396,2397,2498,2300,1835,1981,2302,2897,3300,3209,3503,3263,2977,3317,3748,4080,4344,3846,3670,3539,3377,3460,3617,2880,2697,3335,3854,3552,3234,2972,2811,2858,2599,2082,1576,1242,1582,1602,2074,2809,2836,2387,1511,878,770,937,2041,3033,2723,2633,2980,2098,2366,2477,2483,2203,2024,2151,2806,3282,3012,3077,2944,3104,2857,3209,3159,2512,2200,2334,2572,2897,2887,2642,2911,3296,3509,3422,3189,3332,3416,2608,1849,1872,1667,1666,2225,2296,1891,1842,2231,2503,2068,1850,1574,1635,2385,2580,2633,2284,1864,2299,3168,3230,3112,2891,2820,2757,2807,2964,2974,3386,2819,2111,1800,1980,2252,2374,2508,2290,2392,1317,1154,1841,2368,3130,2638,2393,2588,2640,2514,2417,2369,2317,2676,2891,2565,2125,2577,3039,2699,2298,2835,3069,2680,2046,1726,1814,1918,2104,2718,2297,1657,1678,2196,2205,2177,2385,2470,1869,1446,1525,1843,2124,2278,2608,3085,3023,3107,2697,2403,1853,1881,2449,2517,2696,2856,2276,1989,2141,2473,2648,2446,2739,2306,1561,1533,1771,1673,2108,2807,2986,2765,2884,3504,3486,3273,3275,3253,2733,2711,3050,2835,2562,3039,3270,2932,3138,3147,2998,2865,3256,2752,2502,2751,2579,2219,2009,1940,1882,2000,2077,1855,1663,1592,1849,1911,1833,1839,2057,2316,1994,1753,1798,2000,2164,2101,2154,2113,2442,2684,2436,1814,1764,2218,2199,2024,2066,1845,1513,1739,1706,1646,1550,1853,2108,2280,2495,2286,1685,1668,1797,2416,3211,2578,2023,2471,2342,2374,2458,2488,2639,2804,3259,3077,2607,2302,1975,1887,2208,2508,2700,2886,2968,2855,3172,3228,2973,3150,3598,3815,3401,2955,2895,2485,2065,2220,1992,1769,2153,2249,2055,2422,3094,2973,2355,3242,3492,2877,2588,2433,3000],[2642,2687,2792,3305,3625,3232,2482,2211,1841,1600,2058,2612,2564,2527,2206,2159,2298,3407,3451,3431,3042,3088,2855,2801,2802,2437,2485,2303,2418,2478,2097,1868,2084,1997,2225,2580,2658,2832,2810,2373,3159,3499,2778,2333,2351,2707,2610,2722,2236,2149,1860,1351,1556,1468,1094,1273,1826,2522,3104,2835,2799,2646,2676,2698,2554,2258,2182,2400,2636,2984,2922,2400,3066,3010,2457,2714,3121,3208,2652,2219,2250,2239,2238,2306,1986,1970,2413,2542,2249,2019,2108,2956,3044,2806,2333,2056,2733,2944,2712,2700,2663,2382,2445,2041,1918,2665,2756,2579,2698,3168,3303,3184,3118,3552,4006,3525,3615,3916,3474,2730,3320,3373,3367,3565,3574,3504,3124,2502,2047,2169,1773,1541,1772,1863,1879,1938,2081,2297,2647,3116,3818,4073,3550,3384,3118,2492,2166,2100,2471,3427,3698,3376,3038,2765,2026,1679,1533,1926,1653,1675,1663,1649,1910,2185,1700,1621,2510,2875,2933,3219,2890,2718,2282,1822,1864,2073,2348,2020,1824,2182,1842,1507,2258,2563,2739,3326,3319,2607,2296,2919,3320,3517,3249,2905,3018,2667,2022,2125,2287,1741,1623,1697,1509,2039,2588,2544,2699,2395,1942,1886,1854,1844,1964,2155,1818,2696,2813,2654,2930,3087,2632,1957,1442,1595,1814,1660,1761,2109,1892,1656,1471,1793,1892,1841,1743,1875,1773,1679,2026,1886,1942,2261,1840,1677,1742,1539,1512,1663,1794,1960,1844,1758,1843,1787,1623,1594,1952,2073,1914,2407,2094,1781,1974,1917,1885,1729,2188,3371,3611,3162,2727,2402,2269,2541,2579,2729,3117,2940,3006,3225,3121,2711,2226,2181,2806,2610,2105,2821,2937,2517,2820,3098,3184,3140,2724,2566,3052,3174,2950,2676,2418,1820,1578,3150,3842,3165,2230,1518,1452,2133,2320,1978,1706,1056,1615,2739,2751,2262,1722,1646,1704,1482,1920,2866,3065,2489,2278,2800,3044,2775,3000,3569,3833,3729,3218,3069,2688,2418,2511,2049,2338,3319,3486,3284,2722,2075,1477,1643,2278,3110,2047,1654,2397,2268,2770,2718,2686,3427,3262,2518,2548,2571,2170,2051,2420,2197,2051,2036,1622,1893,2351,2364,2598,2717,2764,2934,2730,2504,2540,2618,2435,2674,2836,2935,2880,2832,2924,2724,2718,3166,3093,3038,2708,2279,1772,1447,1612,1872,1797,1952,1832,1847,2066,2223,2042,2256,2269,2797,2884,2060,2194,2135,1841,1858,2308,1685,2464,3165,2762,2822,3444,3166,2626,2710,2652,2707,2689,2114,1852,1892,1716,1727,1724,1824,1736,1771,1716,2049,2796,3190,3239,3292,3704,3160,2584,2019,2201,2487,2435,2297,2415,2281,2338,2792,2444,1874,2036,2421,1673,1860,2470,2785,2796,2480,2856,3151,3146,2287,1802,1919,1655,1918,2546,2703,2228,2070,1823,2144,2727,2574,2092,2141,2084,2625,2586,1746,1779,1679,1720,1747,2194,2086,1980,1848,1510,1750,1860,1620,1540,1564,1825,2702,2810,2205,2778,2611,1976,1905,1900,1938,2271,2069,2065,2110,1818,1610,1943,1953,2093,1803,1558,1578,1652,1865,2180,2358,2966,3378,2366,1753,2039,2009,1906,2008,2050,2144,2221,2531,2481,2231,2194,1908,1682,1533,1686,1554,1443,1520,1677,1874,1858,2077,2383,1827,1608,1621,1698,1707,1969,2222,2126,2313,1968,1548,1662,1598,1540,1575,1809,1923,1769,2404,2448,2343,2068,2741,3342,3517,3095,3308,4396,4413,4232,4176,4100,4264,4132,4137,3476,3226,2632,2369,3652,4149,3694,3283,2209,1974,3196,3017,1958,1572,1652,1740,2099,2673,3072,3327,3596,3533,3225,2827,3184,3104,2996,3205,3108,3141,3174,3216,3132,3084,3052,2850,3292,3239,3233,3155,3003,3110,2976,2809,2767,2808,2966,3270,2967,2190,2254,2215,2332,2275,2555,2620,2524,2387,2556,2429,2446,2557,2390,2564,3037,3407,3610,3582,3377,2456,2483,2489,2768,3456,3529,3318,3090,2510,1984,1695,1546,2281,3629,4080,4420,4620,4332,3828,3387,3491,3356,2849,2754,2943,3179,2630,2240,2231,2213,2143,2111,2190,2209,2083,2383,3069,2663,2452,3149,3521,3466,2799,2440,2866,3554,3436,2207,1268,1381,2027,2152,2286,2609,2990,2632,2214,1908,1885,2193,2655,2962,3646,4459,4584,4387,3691,3264,3444,3750,3227,3254,3741,3178,2362,2534,2757,2618,2579,2429,2720,2140,1826,1882,2002,1820,1911,1991,2301,2359,2382,2263,2020,2243,2762,3336,3775,3469,2910,2974,2765,3094,3019,2988,3294,3526,3585,3725,3760,3748,3631,3549,2821,2790,3438,3261,3562,3751,3782,4028,3837,3665,3507,3304,3879,4037,3952,3706,3904,4000,4116,4176,4360,4344,3850,3649,3990,4188,4060,3797,3705,3505,3586,3572,3537,3428,3376,3354,3207,3154,3209,3230,3243,3185,3228,3198,3154,3287,2619,1924,2057,2743,3338,3584,3637,3488,3469,3348,3343,3362,2789,2038,2235,2360,1940,2034,2420,3028,2922,2445,2728,2735,2090,2132,2127,2022,1585,1826,1741,1741,2257,2762,2626,2417,2362,2780,2824,2204,2425,2418,1819,1640,1953,1992,1572,1483,1705,1931,1962,2226,1849,1492,1603,1688,1824,1685,1780,1682,1500,1760,2219,2106,1937,1948,1742,1768,1646,1897,2555,2834,2954,3000,2623,2392,2047,2135,2221,2068,1775,1923,2425,2257,2035,2482,2927,2236,1475,1492,1597,2136,2520,2263,2264,2189,2297,2160,1886,2045,2092,2238,2204,2106,1957,1824,1742,2068,2238,2258,2288,2402,2279,1963,2507,3274,2733,1866,1603,1999,2715,2895,2562,2280,2311,2566,1939,2074,2830,3312,3286,3588,3493,2420,1747,1808,1764,1625,1828,1603,1504,1358,1306,1499,1417,1420,1444,1632,1980,2164,2492,2436,2083,1924,1972,2087,1726,1593,1724,1826,2036,2224,1925,1922,2070,1605,1807,1720,2062,2036,1737,1561,1513,1437,1730,1832,1593,1655,1631,1772,2235,2407,2426,2224,2258,2338,2042,2100,2342,2125,1815,1844,1823,1632,1916,2150,2384,2435,2656,2418,1902,1644,1997,2663,3034,3299,3117,3282,3352,3726,3540,3138,2765,2367,2136,1920,2137,2591,2555,2762,3515,3813,3206,2142,2269,2359,2733,3323,3037,2962,3338,3653,3582,3326,3767,4221,4067,3924,4363,3881,3749,2952,2056,2375,2805,3188,4079,4008,3460,4229,4859,5071,5063,4955,5132,4908,4327,3892,3531,2994,2281,2408,3617,3828,3979,4001,3352,2835,2807,2873,2743,2878,3815,4208,4136,4304,4244,4280,3993,3834,3743,3426,2930,2170,2520,3683,4008,4295,4632,4332,3889,3796,4080,4195,3239,1888,1727,2346,3426,4447,4820,4448,4033,4539,4496,4183,3890,3207,2705,2376,3518,4212,4091,3991,3851,3551,3488,3951,4393,4275,3392,3828,3619,3576,3802,3715,3426,3340,3183,3131,3394,3480,3471,3532,3797,3898,3842,3871,3951,4104,3980,3908,4134,3914,3745,3894,3316,3345,3399,3653,3400,3306,3405,3818,3941,3693,3459,3391,3115,2820,2585,2018,1755,1820,1958,1877,1770,2249,2323,2187,2201,2094,2057,2013,2024,1858,1423,1461,1853,2048,1727,1809,1748,2095,2818,2878,2446,2342,2334,2006,1969,1686,1990,1995,2165,2168,2208,2156,1896,2157,2785,2481,1813,1984,2175,2219,2223,2564,2077,1709,1889,1915,1873,1943,2043,2262,2996,3554,3752,4005,4351,4356,3140,2126,1905,1942,2394,2664,2940,2810,2750,3034,3001,2931,2746,2438,2635,2131,1604,1577,1652,2192,2304,2106,2134,1963,1724,1512,1679,1776,1671,2793,2910,2029,1799,1977,2068,1943,1967,2121,2034,1675,1794,2438,2198,1916,1578,1730,1968,2021,2518,2851,2724,2518,2416,2281,2260,2589,2392,2515,2602,2874,3453,3190,2655,2843,3103,2524,1810,1810,2335,3267,3523,3392,3263,3548,4037,4384,3991,3246,2828,2478,2370,2625,2933,3200,3043,2939,3273,3452,3331,2790,2710,3154,3252,3309,3352,3154,3134,2925,2558,2765,3276,2561,2784,3204,3016,3017,2916,2655,2543,2424,2439,2169,2402,2558,2059,1812,1509,1574,2014,2314,2280,1890,2024,2152,2642,3073,3187,2658,3141,2908,2751,3129,3286,3564,2813,1916,1783,2228,2006,2230,2127,1920,1922,2337,2546,2514,2421,2446,2426,2234,2481,2517,2575,2799,2964,2746,2398,2774,2599,2827,2979,2779,2534,2360,2478,3378,3278,3172,3146,2784,2424,2134,2590,2626,2303,3320,4327,4691,4131,3120,3472,3016,3485,3496,3107,2736,3150,3732,3530,3235,3418,3589,3417,3073,2388,1649,1204,867,1480,1844,2258,2968,2850,2539,2190,1782,1722,2216,2764,3327,3042,2321,2388,2094,2272,2674,2973,2986,3175,3316,2853,2425,2192,2514,2148,2494,2879,3210,2946,2191,2053,2377,2800,2663,1640,2156,2902,3045,2960,3228,3377,3244,3508,2724,2378,2530,2339,2331,2086,2031,1977,2027,2241,2788,2291,2026,1937,1906,2548,3134,2792,2276,2312,2591,3537,3544,3139,2770,3017,2652,2858,3394,3146,3060,3187,2809,2285,2088,2207,2338,2289,1634,2261,2164,1995,2186,2999,3129,2653,2778,3029,2721,2295,2359,2199,1898,2722,3274,2586,2652,3182,2966,2779,2862,2908,2746,2632,2074,1503,1649,2067,2496,3083,2884,1894,1501,1668,2046,2203,2441,2130,1808,1503,1651,2091,2656,2656,2554,3010,2620,2595,2700,2363,1986,1825,2287,2635,3030,2532,2306,2697,2498,2769,3087,2885,2679,2311,1666,1366,1556,2137,2836,2591,2840,3237,3269,3486,3427,3237,3129,2932,2940,3548,3443,3007,2524,3208,3146,2915,2592,2552,2153,2171,2151,2040,2370,2647,2474,2182,2330,2482,2052,1838,2126,1856,1813,1827,2214,2182,1824,2004,2118,1783,1732,1820,1800,1819,1631,1775,2282,2991,3154,2899,2529,1958,1816,2379,2260,2151,1960,1792,1536,1594,1692,1700,1712,1964,2221,2166,2326,2346,1738,2030,1904,2287,2511,1556,1823,2081,1624,2193,2442,2307,3100,3421,3432,3131,2570,2364,1929,2095,2792,3042,2786,2641,2820,3219,3344,3130,3165,3205,3828,3518,2901,2511,2674,3038,2644,2408,2322,2502,2878,2984,3355,3444,3349,2990,2545,2854,3046,3022,2855,2778,2831],[2720,3069,3112,3500,3732,3404,2751,2618,2260,1845,2522,3232,3039,2834,1908,2461,2994,3495,3255,3255,3221,2989,2952,2954,2941,2440,2438,2408,2444,2481,2135,2081,2254,2059,2199,2606,2715,2999,2659,1789,2813,2749,2433,2417,3112,3542,3439,3444,2814,2634,2391,1764,1955,1979,1626,1572,1904,2920,3510,3389,2854,3019,3312,2910,3037,2944,2847,3146,3240,3265,3297,2849,3155,2658,2448,2668,2416,2206,2187,2077,2287,2387,2183,2209,2023,1806,2070,2248,2262,1932,2216,2951,2815,2540,2194,2482,2972,2905,3109,2764,2875,2586,2336,1845,1648,2159,2552,2856,3189,3271,4383,4069,2679,3021,3629,3122,3501,3423,2822,2548,2732,2968,3285,3807,3974,3769,3682,3172,2367,2140,1853,1536,1670,1747,1785,2017,2207,2292,2519,3084,3787,4205,4272,3917,3476,2677,2217,2236,2437,3129,3477,2820,3155,3401,3050,2351,1425,1859,1957,2151,1957,1853,2069,2373,2021,1811,2752,3195,2731,2848,2769,2865,2427,2074,2377,2366,1977,1840,2354,2948,2420,1960,2332,3083,3493,3507,3069,2165,2447,3330,3574,3494,3089,2292,2313,2552,2210,1895,2008,1630,1697,2080,2223,2439,2626,2176,2129,1908,1731,1675,1918,2303,2138,2446,1909,2691,2881,2656,2382,2497,2935,2276,1461,1505,1633,2166,2016,2121,1891,1588,1626,1549,1711,1835,1875,1909,1550,1566,1852,1746,2003,1810,1631,1784,2354,1947,1668,1511,1390,1597,1873,1898,1750,1430,1442,2008,2589,2691,2291,2746,2439,2381,2754,2987,3110,2795,3065,3585,3218,2767,2717,2938,2545,2246,2280,2954,3397,3420,3174,2905,2618,2469,2388,2601,3187,3046,2763,2946,2603,2429,2829,2785,2680,3034,3068,2897,2896,2719,2654,2648,3471,3298,2942,3669,3940,2987,1871,1040,858,1567,2390,2696,2427,1942,2399,2482,2421,2075,1792,1886,1822,1438,2030,2788,3630,3572,3053,2820,2890,2885,2831,2855,3111,3097,2631,2184,2026,2456,2256,1807,2493,3442,3672,3611,2919,1825,1654,1870,2248,2617,2349,2707,3453,3045,3496,3250,3378,3389,2834,2452,2831,3294,2807,2235,2174,1868,1823,2096,2289,2834,2500,2340,2679,2687,2370,2172,2197,2194,2396,2611,2247,2576,2233,3112,3405,3499,3432,3432,3013,2701,2865,2926,2728,2256,1741,1550,1911,2031,1763,2098,2350,2020,1792,1582,1579,2204,2304,2136,2534,2299,2889,2777,1970,1780,1983,2014,2875,3315,3627,3841,3707,3128,2822,3065,2985,2690,2286,1975,1594,1531,1508,1597,1806,1865,1704,1668,1687,1713,2098,2839,3128,3315,2939,2754,2655,2003,2183,2464,2761,3028,2540,2395,2680,3113,2439,1858,2180,2548,2452,2708,2777,3091,2900,2290,2308,2887,2753,1859,1743,1722,1792,2364,2736,2591,2209,2146,2111,2265,2731,2775,2195,2363,2189,2598,2586,2123,2339,2041,1653,1823,2177,2090,2019,1790,1555,1727,1719,1578,1462,1590,2014,2088,2035,1983,2305,2410,2199,1988,1947,1871,2233,1995,2009,1990,1509,1408,1713,2006,2024,2018,1992,1620,1578,2020,2654,2814,3272,2978,1805,1699,2183,2256,2017,1876,2024,2126,2501,2854,2226,2289,2397,2342,2431,2124,1972,1644,1428,1885,2103,1779,1898,1888,2007,1697,1632,1766,1847,1935,2171,2377,2257,2036,1769,1839,2410,1646,1403,1515,2270,2686,2286,2337,2352,1970,2123,2157,2486,3231,3483,4018,4440,4160,4184,3918,3593,3580,3908,3975,3500,3369,2957,2787,2922,3193,3130,2818,2297,2462,3576,2902,1962,1588,1762,2010,2114,2349,2911,3230,3538,3408,3350,3360,3394,3349,3333,3361,3153,3018,3333,3270,3306,3251,2996,2428,3023,3286,3140,3232,3296,3271,3041,2951,3094,3222,3350,3227,3106,3174,3198,2999,2675,2066,2135,2302,2434,2376,2122,2219,2511,2432,2285,2420,2431,2763,3558,3897,3747,3170,3011,2716,2821,3641,3541,3508,3441,2728,1990,1840,2242,2842,3404,4254,4597,4323,4164,3872,3522,3625,3278,3142,3011,3189,2906,2413,2217,2105,2067,2022,2062,2065,2136,2258,2204,2105,2022,1953,2744,3389,3357,2845,3011,3366,3475,2868,1958,1374,972,1563,2135,2485,2666,2702,2519,2205,1948,2072,2471,2865,2997,3202,3955,4427,4575,4452,3225,3539,4104,3092,2779,3117,2806,2708,2934,3113,2698,2932,2877,2327,1867,1820,1932,2505,2314,1913,2035,2337,2531,2587,2781,2360,2367,2645,2465,2929,3219,2685,3261,3355,3199,3074,2793,2551,2800,3098,3526,3511,3619,3518,3286,2791,2120,2805,3141,3205,3220,3498,4140,3991,3812,3864,3825,4051,4248,4247,4217,4140,3939,4100,4240,4168,4120,3950,3794,3890,3870,3814,3775,3737,3420,3564,3583,3493,3360,3254,3222,3133,3108,3199,3243,3263,3340,3289,3024,2522,2623,2328,1841,1992,2483,2908,3368,3411,3216,3076,3076,3419,3326,2302,1637,2032,2207,1963,2150,3175,3133,2150,1886,2384,2652,2282,2256,2279,2236,1808,1711,1787,1854,2083,2364,2245,1711,1695,2512,2734,2798,2762,2035,1627,1720,1953,1845,1500,1546,1704,1832,1683,1832,1606,1554,1732,2332,2478,2229,1918,1561,1773,2317,2490,2200,1664,1709,1893,1731,1518,1814,2309,2454,2640,2626,2424,2925,2423,2380,2115,1907,1874,1894,2418,2490,2452,3059,3064,2220,2115,2146,2007,2338,2305,2058,1709,1804,1843,1706,1576,1818,2330,2346,2092,2184,2272,2406,2060,2117,1883,1913,1882,2123,2445,2525,2689,3230,3481,2431,1478,1738,2816,3223,2902,2421,2014,2536,2349,2131,2469,2766,2792,3146,3405,2668,1899,1765,1489,1484,1717,1631,1951,1706,1631,1915,1818,1593,1577,1649,1847,1879,1923,2067,1742,2037,2088,1967,1675,1507,1660,1713,1775,1814,1663,1826,2091,1538,1650,1897,2463,2093,1732,1652,1552,1510,1553,1605,1633,1749,1626,1830,2163,2365,2947,2820,2608,2074,1780,2186,2357,2143,1776,1672,1647,2118,2304,2156,2094,2235,2186,1936,1936,2170,2546,3116,2967,3340,3439,3200,3234,3453,3743,3396,2259,1660,2009,2432,3083,3729,2975,2315,2785,3435,3382,2655,2551,2863,3543,3780,3492,3375,3322,3609,3787,3571,3905,3985,3584,3539,4184,3882,3623,3167,2442,2499,2497,2708,3772,4245,4260,4661,5079,4824,4759,4853,4913,4688,4255,3499,2680,2003,1576,1830,3183,3802,3903,4252,3790,3195,3140,3753,3449,3012,3869,4101,4404,4464,4386,4489,3942,3511,3768,3292,2155,1957,2973,3431,3486,3717,4155,4164,3848,3686,3861,3904,2765,1752,1475,1863,3108,4185,4597,4125,4041,4419,4283,3849,4185,3873,2950,2215,2394,3127,3935,4188,4168,3926,3426,3754,4006,4040,3576,3413,3424,3644,3688,3460,3355,3407,3393,3261,3310,3219,3154,3609,3760,3661,3727,3780,3791,4019,4063,3991,4064,3868,3863,3692,2652,2471,2711,3720,3914,3563,3405,3598,3820,3688,3526,3782,3572,2993,2729,1920,1822,2022,1921,1527,2097,2395,2185,2296,2251,2145,2344,2341,2178,1907,1726,1729,1863,1820,1727,1715,1630,1697,2098,2830,2757,2526,2281,1990,1734,1598,1810,1654,2133,2033,2061,2096,1965,2423,2198,2141,2054,2068,2104,2437,2150,1830,1761,2005,2060,1829,1729,1969,2118,2033,2430,2762,2917,2988,3383,3709,2764,2113,2550,3034,2867,2822,2745,2049,1994,2397,2446,2247,2308,1933,1974,1855,1831,1936,2132,2433,2355,1942,2046,2054,1834,1876,1869,1996,1933,2737,2882,2271,2001,2100,2050,2116,2300,2567,2454,1925,1931,2111,2006,2073,1894,1791,1853,2011,2286,2884,3099,2786,3145,3662,3063,2955,2292,2179,2498,3030,3370,3408,3306,3341,3160,2981,3072,3240,3530,3320,3416,3475,3614,4080,4256,3911,3396,2876,2691,2790,2340,2618,3028,3285,3231,3055,2996,3166,3028,2789,3025,2710,2059,2114,2265,2984,3243,2708,2386,2841,3096,2737,2971,2964,2666,2625,2511,2464,2755,2405,1980,1983,2261,2341,2459,2286,1793,1813,2025,2210,2488,2281,2413,2366,2534,2985,2986,2508,2828,2619,2892,3064,3090,3360,2866,2265,2342,2648,2128,2455,2889,2469,2426,2743,2455,2452,2354,1902,2177,2793,3039,2526,2807,3200,2749,1926,2327,2813,2718,3057,3253,3105,2918,2968,3140,3906,3873,3807,3008,2351,2058,1930,2401,2577,2613,3220,4396,4993,4461,3155,3341,3659,4041,3736,3400,3454,3605,3425,3082,3074,3132,3602,3415,2641,2029,1781,1532,1669,2392,2637,2648,2600,2691,2740,2724,2771,2834,2820,2564,2839,3348,2827,2398,2386,2264,2495,2965,2797,3248,4028,3009,2362,2071,2231,2477,3076,2751,2809,2828,2479,2834,3022,3165,2578,1420,1776,2404,3150,3331,3486,3251,3383,3160,2361,2136,2058,1964,1694,1323,1692,1698,1965,1921,2196,2437,2390,2244,2365,2719,2736,2462,2652,2902,2314,3308,3762,3269,3029,2887,2897,3407,3694,3654,3442,2855,2165,2013,2405,2621,2767,2359,1663,1715,2476,2858,2842,3066,3334,3143,3017,2765,2151,1936,1986,2128,2279,2526,2452,2175,2664,3079,3212,3218,3321,3110,2283,2373,2376,1604,1485,2233,2679,2812,2612,2280,2103,1937,2093,2476,2470,1810,1795,1816,2239,2808,2928,2851,2459,2199,1814,2014,2390,2030,1819,1766,2257,2546,2377,1870,2401,3195,2374,2285,2854,2383,2122,2060,1657,1682,1499,1698,2490,2668,2814,3183,3347,3738,3774,3211,2939,2930,2897,3401,3491,3243,3417,3020,2651,2455,2482,2281,2195,2205,2213,2976,3306,3205,3110,2534,2382,2314,1798,1665,2033,2148,1938,1798,1956,1966,1745,1707,1893,1960,1980,1888,1996,2111,2321,2396,2622,2989,2938,2532,2005,2297,2600,2868,2496,2278,1998,2063,1791,1631,1610,1558,1607,1636,1783,1875,1619,1526,1752,2747,2411,1764,1567,1784,2284,2325,2198,2242,2207,2031,2618,3099,3317,2641,2186,2258,2198,2181,2564,2618,2379,2082,2304,2856,2720,3103,3609,3561,3206,2947,2914,2846,3046,3584,3603,3256,3074,2153,2146,2973,3849,3639,2831,2126,2379,2776,2567,2385,2226,2418,2625],[3024,3303,3351,2996,2669,2541,2420,3157,2584,1853,2653,2874,2899,2481,1425,2350,3108,2890,2712,2924,3234,2780,2964,2921,2724,2429,2377,2392,2357,2438,2172,2170,2555,2590,2344,2679,2696,2728,2465,1713,2090,2556,2840,2580,2881,3020,3109,3189,2918,3134,2906,1636,1842,1972,1507,1367,1862,2980,3358,3499,2839,3160,3647,2874,2917,3030,2751,2586,2644,3060,3038,2761,2446,2248,2260,2083,1760,1757,2084,2393,2137,2062,2004,2251,2304,2381,2668,2731,2141,1671,1986,2198,2222,2505,2042,2103,2137,2260,2546,2676,2659,2681,2318,1876,1979,2747,3235,3474,3316,3228,4555,4503,3108,2686,2546,2481,3141,2986,2908,3012,3078,3239,3174,3591,3793,4048,3462,2539,2117,2330,2352,1863,1679,1819,1805,2113,2306,2336,2608,2941,3209,3798,4103,4028,3803,3107,2557,2540,2663,2698,2408,2136,3108,3607,3629,2968,1957,1984,2754,2922,2553,2473,1969,1925,2531,2840,3245,3416,2652,2102,2404,2785,2294,1921,1905,1969,2214,2066,2089,2286,2060,2352,2360,3163,3088,3066,2633,2429,2610,2802,3157,3162,2576,2238,1938,2003,1915,1772,1933,1743,1624,1903,2431,2736,2246,1900,2011,1734,1634,1620,2214,2399,1806,1855,1823,2088,2264,2197,1953,2140,2553,2168,1874,1780,1774,2699,3045,2781,2069,1737,1575,1480,1745,1818,1960,1951,1958,1742,1852,1558,1693,1827,1795,2103,2123,1633,1403,1329,1328,1674,2104,1669,1625,1541,2336,2464,2614,2758,2806,2725,2290,2434,2855,2810,2587,3042,3294,3416,3350,3050,2853,3347,2872,2261,2358,2731,3351,3220,2351,2376,2445,2424,2242,2284,2509,2836,3464,3317,2707,2678,2855,2706,2710,2864,2946,3046,3053,2470,2035,2098,2724,3311,3649,3802,3486,2752,2094,1512,1102,1396,2632,3164,2909,2362,2205,2239,1980,2018,2131,2370,2065,1749,2447,2839,3903,3620,2886,2840,2935,2828,2714,2603,2576,2520,2388,2169,1793,1962,1936,2175,2825,3274,3364,3506,2834,1622,1120,1497,1870,2048,2657,2639,2927,3065,3437,3234,2667,2530,2347,2611,3487,3688,3049,2749,2680,2120,1712,2155,2632,2930,2591,2103,2193,2308,2085,1660,1672,2129,2225,2192,2303,2787,2280,2843,3592,3676,3139,2709,2518,2700,2668,2808,3030,2913,2297,2029,2127,2100,2024,2026,1855,1706,1612,1555,1872,1949,1888,1729,1728,2275,3343,2995,2121,1793,1887,2600,3242,3513,3918,3593,2400,2291,3045,3086,2565,1830,1819,1908,1730,1542,1434,1662,2070,2048,2020,2224,1624,1972,2565,3252,3436,3318,2729,2977,2413,1795,2072,2691,3768,4216,3238,2333,2315,2474,2458,2155,2275,2486,2832,2981,2740,2756,2392,2009,2070,2424,2217,1837,1944,2154,2372,2809,2906,2365,1990,1952,1909,1854,2314,2785,2267,2681,2732,2034,2456,2686,2624,2209,2298,2407,1849,1699,1860,1867,1723,1682,1964,1766,1495,1575,2114,2746,2458,1788,1736,2142,2521,1716,1608,1646,1938,2083,1964,1826,1559,1546,1960,2168,1882,1943,1795,1455,1582,1719,1989,2200,2494,2200,1988,2244,2664,3054,2658,2029,1766,1792,2161,1891,1910,2504,2019,1719,2082,2255,2244,1859,1794,2393,2348,1864,1672,1758,2040,1779,1809,1949,1906,2106,1944,1794,2138,1865,1578,1859,2474,1570,1455,1703,2601,3304,2854,2461,1902,1557,1588,1953,2613,3102,3838,4264,3895,3321,3132,2884,3021,3395,3796,3850,3339,2899,2652,2732,2645,2894,3117,2790,2478,1922,2176,2342,2341,2214,1834,2101,2324,2346,2343,2751,3005,3363,3436,3309,3344,3506,3498,3707,3569,3290,3436,3281,3299,3345,3316,2741,2680,2949,2619,2608,2585,2443,2350,2147,2494,2865,3308,3747,3520,2940,2843,2866,2482,2120,2194,2266,2288,2319,2374,2729,2834,2477,2336,1957,2061,2530,3200,3267,2807,2546,2632,2765,2932,3606,3164,3664,3477,2509,2192,2584,2790,2421,2680,3563,3882,3528,3437,2974,2735,3351,3118,2705,2778,2854,2540,2272,2050,1994,2051,2140,2162,2111,2154,2304,1990,1792,1971,1922,2266,2912,2808,2657,2876,2831,2906,2373,1876,1849,1427,1637,2397,2597,2362,2394,2354,2081,1939,1967,2568,3418,3288,2518,3094,3897,4089,3864,2589,2507,2908,2351,2532,3034,3187,3419,3043,3419,3325,3033,2835,2072,1853,1815,1829,2110,2088,2077,2181,2283,2314,2253,2668,2519,2162,2673,2818,2942,2940,2796,3276,3344,2841,2854,2537,2125,2562,3044,3142,2488,2626,2933,2498,2119,1910,2459,3112,3113,3088,3292,4079,4152,4056,4060,3953,3981,4161,4240,4271,4090,3862,4047,4094,4112,4045,3972,3774,3757,3615,3718,3802,3894,3912,3666,3554,3592,3404,3241,3177,3152,3219,3317,3323,3322,3283,3174,2723,2027,2044,2248,2010,1944,2041,2262,2713,3024,3128,2622,2677,2866,2321,1718,1845,2197,2432,2383,1818,2470,2118,1901,2121,2281,2507,2751,2511,2410,2138,1900,1935,1607,1890,2458,2203,1914,2103,2243,2553,2621,2544,2245,1912,1829,1897,1856,1671,1560,1502,1582,1696,1491,1519,1745,1568,1553,2180,2767,2952,2551,2279,2590,2589,2092,2081,1557,1618,1959,1973,1808,1596,1945,2274,2326,2432,2080,2620,2280,2212,1868,1894,1875,1698,1930,1929,1865,1810,1648,1780,2120,2422,2241,1938,1766,1724,1591,1656,1721,1909,1990,2067,2229,1882,1604,2127,2123,1974,1639,1472,1487,1504,1798,2413,2714,2767,2790,3163,3508,2644,1836,1516,2315,2780,2986,2632,2369,2484,2547,2562,2368,2193,2279,2728,3342,3362,2380,1711,1467,1494,1563,1575,1500,1450,1723,2208,1790,1613,1722,1719,1564,1581,1481,1761,1672,1786,1959,1876,1757,1909,2052,1949,1803,1785,1905,1743,1663,1419,1669,1951,1889,1799,1722,1597,1814,1826,1615,1611,1663,1963,2002,1603,1835,2163,2334,2728,2603,2014,2103,2504,2468,1995,1880,1676,1911,2480,2643,2294,2180,2139,2091,2120,2554,2786,3027,3420,3156,3198,3596,3393,3059,3185,3692,3376,2298,1876,2162,2608,3250,3974,3574,2658,2821,3363,3594,3370,3188,3406,3860,4124,4256,4027,3934,4324,4524,4516,4376,4039,3756,3602,3831,3802,3709,3666,3356,3025,2746,2879,3796,4231,4351,4497,4776,4688,4648,4596,4540,4676,4472,3454,2380,2114,1926,1759,2817,3648,3605,3543,3233,2893,3228,4015,3684,3426,3876,4108,4326,4347,4375,4653,4252,3750,3775,2985,1665,2282,3352,3562,3354,3516,3704,4025,3803,3615,3703,3573,2401,1496,1617,1914,2460,3221,4525,4633,4432,4062,3981,3905,4271,4464,3698,2900,2675,2963,3742,4368,4344,3993,3252,3285,3305,3518,3472,3263,3426,3682,3651,3587,3431,3427,3608,3428,3252,3146,3155,3433,3630,3630,3642,3729,3770,3805,3874,3860,3979,3771,3403,3432,2826,2665,2973,3792,4139,3962,3758,3498,3454,3482,3485,3942,3782,3053,2604,1913,1970,1757,1281,1723,2364,2443,2680,2525,2032,1802,2347,2041,2117,2305,2369,2479,2426,2285,2148,2047,2069,1932,2093,2752,2497,2388,2317,2801,2312,1534,1448,1894,2265,2293,2426,2048,1842,2381,1880,2320,2259,2015,2057,2253,2145,1865,1700,1936,2139,2170,1879,1669,1548,1442,1739,2167,1933,1918,2208,2467,2377,2200,2456,2744,2588,2242,2138,2104,2285,2438,2807,2487,2416,2243,1773,1868,2257,2459,2297,2351,2463,1963,1910,1921,1805,1699,1668,1823,1869,2109,2313,2172,1975,2418,2771,2428,2554,2819,2138,1754,1909,1753,1994,2101,1888,1920,1924,2470,2834,3408,3254,3143,3738,4037,3738,3530,3149,2502,2556,3255,3364,3393,3692,3705,3086,3044,3381,3553,3654,3399,3397,3582,3850,3952,3438,3171,3482,3360,2923,2678,2598,2736,2996,2866,2766,2822,2499,2471,2709,2942,2684,2416,2216,2546,2400,2546,2696,2579,2698,2808,2806,2966,3139,3029,2728,2601,2278,2346,2413,2272,2337,2861,2661,2530,2325,1854,1816,1926,1764,1874,2305,2844,3120,2845,2404,2398,2357,2306,2921,3218,2805,2513,2757,3340,2617,2090,2475,2485,3032,3398,3371,2745,2541,2442,2195,2464,2501,1876,2042,2737,3010,2602,2539,2778,2425,1859,2066,2490,2713,2911,2750,2912,3087,3244,3729,3750,3942,2941,2115,2369,2249,2054,2481,2762,2683,3144,4579,4903,5028,4070,3419,3660,3942,3886,3905,3785,3390,3120,3051,3194,3243,3125,2544,2209,2331,2662,2609,2534,2866,3177,2805,2614,2916,3051,2949,3145,3016,2723,2564,2710,3401,3271,2691,2691,2711,2718,3228,3398,3564,3813,2886,2322,2232,2339,3122,3085,2503,2958,2638,2175,2351,2731,2987,2602,2285,2812,2736,3127,3488,3152,2944,2962,2776,2331,1827,1864,1581,1328,1811,2197,1946,1883,1694,1763,2092,2184,2008,2148,3017,3188,2783,2565,2231,2136,3300,3385,2763,2836,3073,3558,3762,3641,3526,3061,2418,2054,2591,3206,3608,3620,3046,2368,2021,2313,2624,2414,2284,2827,3291,3144,2386,1914,2294,2122,2332,2809,2326,1643,2038,2568,2764,3312,3494,3312,3264,2780,2644,2490,1792,1500,2115,2657,2609,2356,2292,2598,2242,1804,2162,2088,1701,1738,2352,2611,2630,2629,2485,2448,2139,1749,1764,2189,1767,1605,1601,1602,1790,1709,1722,2318,2745,2292,2065,2040,1814,2055,2160,1998,2021,1798,1728,1792,2313,2432,2769,3648,4157,3458,2864,2579,3442,3631,3607,3594,3859,3715,3311,2984,2733,2542,2295,2438,2377,2610,3161,3270,3015,3066,2823,1983,1509,1747,2166,2503,2663,2987,2592,1866,1902,1852,1895,2009,2082,2179,2294,3000,3287,2821,2926,3187,2973,2648,2517,2015,2363,2675,2507,2199,2182,1965,1670,1704,1674,1602,1722,1706,1613,1780,1973,1781,1785,1880,2439,2397,1918,1983,2565,2651,2750,2688,2317,2350,2460,2242,2587,3309,2721,2173,2686,2745,2372,2496,2969,3404,2648,2281,2757,2447,3186,3630,3385,3018,2943,3318,3323,3034,3203,3574,3599,3486,2479,2706,2620,3064,3431,2622,2340,3159,3006,2753,2377,1826,1917,2581],[2144,2631,2766,2697,2693,2314,2445,2953,2313,1980,2093,2164,2363,2451,2347,2845,2850,2031,1873,2657,3038,2364,2675,2980,2808,2437,2341,2410,2366,2408,2471,2274,2281,2938,2510,2595,2325,2462,2294,1807,1906,2568,3040,2670,2335,2888,3180,3020,2777,3016,2793,1809,1881,2222,2022,1994,2159,2002,2032,2758,3420,3693,3502,3163,2943,3137,2706,2249,2678,2922,3119,3135,2779,2486,2295,2175,2142,2237,2360,2467,2071,1959,2025,1991,2482,2833,3078,2933,2332,1641,1571,1753,2438,2769,2361,1902,1859,1941,2297,2633,2641,2424,2315,2038,2166,2557,2783,3259,3316,3272,4080,4503,4035,2915,2281,2543,2707,3113,3207,3002,3091,2720,2888,3159,3573,4092,3141,2690,2906,2958,2788,2161,1676,1849,1924,2273,2424,2337,2480,2614,2404,2806,3590,3386,3119,3257,2735,2629,3222,2224,1904,1933,2898,3366,3275,3116,2898,2217,2154,2232,2270,2903,2445,2191,2964,3077,3275,3330,3032,2623,2967,2964,2513,2342,2006,1717,2160,2023,1587,1656,1621,1754,1841,2466,2677,2755,2589,2651,2547,2327,2951,3418,2709,2109,1749,1683,1276,1534,1836,1942,1758,1541,2198,2675,2236,2121,1850,1554,1605,1698,2172,2092,1748,1912,1958,1953,1879,1672,1656,1669,1731,1874,1904,1837,1898,2539,2801,2511,2121,1886,1939,2264,2039,2095,2211,2011,2015,1786,2071,1875,1958,2099,2033,1844,1600,1474,1544,1690,1819,1922,1909,1588,1646,1931,2446,2263,2101,2197,2199,2191,1945,1798,2059,2235,2189,2849,2916,3052,3098,2851,2807,3300,3135,2421,2262,2518,2786,2778,2422,2404,2520,2460,2640,2853,2688,2641,2774,2519,2472,3108,3584,2972,2610,2765,2377,2806,2640,2204,2130,1714,1589,2055,2420,3003,3104,2335,2412,2323,1904,2192,2845,3440,2884,2338,2618,2610,2453,2373,2222,2521,2358,2012,2597,3164,3816,2895,2149,2544,2476,2215,2596,2830,2592,2702,2939,3309,2932,2443,2247,2602,3002,2558,2350,2884,2419,1747,1427,1729,2070,1972,2877,3132,2856,2924,3028,3086,2962,2643,2576,3025,3485,3396,3119,2586,2858,2579,2480,2566,2573,2502,2291,2053,1973,2187,2032,1708,1913,2631,2693,2943,2930,2556,2502,2936,3613,3541,2530,2077,2222,2684,2753,3080,3299,3134,2548,2312,2291,2420,2296,1837,1494,1584,1469,1569,2283,2289,1813,1548,1484,1851,2308,2371,2184,2031,2069,2498,3111,3199,3497,3296,2662,2735,2978,2622,1894,1557,1755,2052,1993,1784,1930,2089,2113,2234,2260,2680,1707,1595,2182,2512,3084,2895,2766,2908,2324,2030,2296,3052,4351,3808,2973,2115,2209,2295,2297,2198,2152,2118,2307,2470,2542,2293,1957,2127,2128,1964,2147,1729,1745,1969,2229,2753,2932,2642,2833,2646,2674,2683,3076,3206,2941,3269,3443,2976,2846,2768,2347,2208,2744,2985,2521,2114,2030,1975,2142,1893,2060,1882,1576,1491,2259,3305,2855,2088,1823,2284,2505,2064,2111,2704,2959,2341,2007,1925,1672,1570,1726,1908,1699,1794,1611,1876,1794,1605,1767,1865,2001,2182,2108,1846,2150,2586,2265,1714,1643,1816,1700,1913,2590,2569,1818,1566,1699,1862,2137,2117,2062,2392,2089,1829,1492,1759,2004,1920,2018,1974,1887,2076,1809,1604,1654,1487,1528,1629,1584,1330,1650,1882,2338,2312,2446,2618,1813,1533,1498,2001,2361,3181,4061,4120,3828,3164,2940,3173,3605,3606,3391,3261,2864,2555,2508,2414,2717,3094,3182,3072,3002,2343,1574,1748,2987,3338,2280,2098,2382,2798,2834,2761,3195,3680,3836,3716,3497,3539,3740,3925,3908,3858,3481,3383,3192,3241,3317,2984,2824,3011,2909,2619,2398,2514,2319,2141,2329,2430,3090,3728,3405,2830,2953,2828,2337,2175,2114,2219,2276,2490,2525,2673,2758,2352,2341,2143,2124,2552,3083,2718,2316,2412,2841,3136,2988,3283,3112,3627,3467,2602,2602,3218,2813,2247,2432,3141,4071,3580,3182,2669,2520,3077,3063,2852,2919,2669,2721,2732,2224,2109,2304,2365,2128,2105,2176,2194,1856,1813,1969,1813,1789,2327,2887,3042,3084,2821,2452,2337,2196,2414,2053,1772,2408,2868,2609,2316,2194,2032,2224,2492,3310,3790,3251,3127,3641,3815,3703,3406,2624,2458,2552,2024,2198,2863,2972,3498,3240,3083,3863,3427,2231,1744,1709,1843,1805,1673,1914,2341,2494,2207,2177,2277,2432,2246,1909,2393,2670,2596,2754,2884,2511,2321,2111,2500,2275,2379,2702,2908,2406,1917,2361,2901,2303,1834,2170,2741,3248,3686,3937,3794,3949,4168,4108,4188,4289,4140,4173,4228,4292,4144,3818,4047,4094,4047,3928,3807,3706,3818,3820,3852,3869,3982,3870,3515,3430,3536,3404,3275,3183,3190,3211,3265,3161,3052,3116,3230,3194,2881,2286,2248,2154,2259,2304,2204,2318,2689,2457,2214,2469,2811,2806,2534,2046,2041,2500,2352,1609,1651,1825,2430,2037,1714,2500,2815,2143,1852,1584,1719,2136,1903,1824,1974,1736,1688,2112,2402,2326,2177,1813,1653,2213,2250,2178,1877,1551,1567,1583,1502,1513,1509,1599,1702,1580,1551,2293,3175,2869,2630,2575,2730,2548,1743,1775,1705,1621,1968,2415,2147,1639,1992,2373,2144,2265,1892,1809,2008,2192,1861,2035,2237,2072,1829,1853,2078,1731,1442,1734,1719,2051,2071,1854,1529,1648,2099,2366,2284,2123,1993,2057,2486,2457,2686,2497,2269,1763,1424,1437,1527,1780,2105,2624,2908,2745,2612,2886,3099,2995,2265,1561,1958,2557,2702,2414,2258,2332,2428,2649,2407,2259,2018,2287,3153,3134,2266,1889,1653,1497,1575,1538,1668,2173,1987,1825,1884,1807,1965,1809,1874,1833,1801,2032,1858,1792,1929,1915,1800,2232,2229,1925,1754,1875,1750,1894,1802,1480,1817,2079,1762,2249,2442,1814,1743,1788,1803,2352,2570,2763,2519,1667,1584,2287,2687,2885,2285,2060,2165,2154,1937,1575,1693,1695,1728,2232,2577,2178,1794,1791,2293,2154,2708,2855,3325,3176,2713,2934,3450,3397,3023,3145,3496,3231,2696,2012,1889,2325,2889,3383,3408,3235,3152,3128,3171,3009,2690,2740,3531,4277,3842,3440,4047,4340,4532,4676,4605,4333,3958,3975,4004,3550,3609,3719,3527,3480,3039,3627,4613,4721,4515,4472,4596,4746,4612,4227,4595,4604,4633,4100,2691,2310,2167,1737,2246,2855,3198,3181,2775,2613,2878,3658,3750,3767,4006,4004,4240,4416,4419,4471,4128,3989,3948,2866,1818,2969,3608,3992,3617,3660,3950,4256,3888,3453,3551,3383,2164,1616,1835,2283,2402,2944,4081,4470,4481,4276,3960,3816,4140,4291,4039,3278,3024,3385,3739,4240,3961,3491,3223,3163,3207,3361,3323,3253,3299,3365,3480,3585,3551,3475,3426,3497,3305,3255,3340,3339,3427,3585,3667,3619,3587,3683,3782,3809,3949,3894,3542,3506,3372,3285,3228,3550,3930,3863,3788,3658,3598,3741,3677,3948,3738,3063,2236,1928,2084,1725,1896,2557,2425,2834,3209,2353,1628,1789,2215,1839,2048,2321,2537,2924,2823,2303,2311,2562,2358,2486,2586,2744,2251,1991,2509,3378,2872,1763,1573,1974,2412,2320,1893,1628,1731,2027,1705,2323,2670,2187,1985,1786,1836,1958,1714,1849,1908,1652,1409,1355,1457,1584,1967,2093,1566,1649,2041,2088,2094,2402,2712,2416,1874,1709,1843,2134,2387,2631,2413,1746,2203,2419,2005,2062,2663,2625,2519,2290,1882,1633,1548,1750,1704,1722,1799,1670,1651,1715,1574,1713,1953,2101,2351,2185,2514,2797,1961,1230,1449,1748,1714,1687,1678,1796,2055,3152,3726,3683,3664,3339,3809,4256,3890,3733,3820,3704,3166,3461,3564,3409,3422,3475,3247,3247,3536,3767,3695,3481,3434,3339,3686,3839,3154,3081,3813,3865,3618,3243,3274,3178,2949,2617,2256,2368,2363,2376,2787,2905,2409,2316,2670,2837,2610,2641,2626,2699,2381,2293,2164,2294,2841,2745,2570,2631,2692,2612,2156,2329,2833,2909,2555,2047,1597,1538,1852,2526,2188,2051,2037,2386,2752,2569,2241,2300,2099,1882,2392,2830,2179,1842,2056,2474,2158,2161,2130,2388,3205,3422,2965,2388,2711,2858,2595,2809,2666,2499,2386,2573,2985,3055,2751,2577,2717,2715,2182,1855,2199,2509,2746,3289,3160,3123,3103,3355,3380,2604,2468,2790,2320,1838,1938,2244,2739,3531,4558,4948,4750,3812,3608,3968,3762,3808,3817,3635,3460,3317,3054,3122,3299,2777,2503,2536,2574,3020,2965,2544,3241,3398,2989,3064,3442,3370,3207,2923,2755,3153,3030,3050,3581,3265,2835,3135,3212,3187,3440,3227,3135,3067,2230,1947,2219,2634,3095,2230,2391,3122,2894,2976,2262,2885,3107,2958,3230,3293,2889,3262,3087,2780,2975,2659,2372,2408,2733,2109,1561,1536,1967,2231,2298,2317,2121,2104,2333,2231,1934,1886,3190,3359,3124,2885,2485,3039,3694,2741,2141,2857,3462,3819,3782,3931,3580,2893,2862,2516,2684,3341,4040,3795,3059,2810,2745,2574,2185,1796,2410,2674,3345,3448,2823,3074,3605,3124,2683,2641,1936,1669,2192,2812,2952,3359,3586,3419,3396,3134,2823,2347,1937,1696,1759,2343,2433,2351,2386,2431,2142,2123,2355,2105,1708,1980,2399,2188,2186,2272,2016,2120,1780,1752,1524,1696,1545,1517,1600,1704,1948,2000,2187,2346,2248,2267,2115,2114,2749,2946,2563,2249,2378,2588,2306,1830,1727,1959,2449,2915,3416,3161,3260,3085,4106,3774,2788,3211,3958,4164,4377,3620,2763,2487,2180,2205,2032,2012,2567,2768,2910,3271,3135,2258,1598,1669,1990,2635,2780,3275,2610,1901,1805,1924,2028,2061,2045,2214,2539,2995,3090,2590,2873,2921,2480,2584,2438,2398,2799,2920,2713,2202,2286,2205,1910,1977,1976,1788,2115,1981,1813,1890,2456,2298,2068,2099,2153,2496,2603,2552,2793,2790,2661,2588,2661,2799,3164,3223,3482,3813,3074,2488,3066,3052,2582,2641,3453,3669,2876,2334,2850,3108,3251,3013,2929,2752,2695,3204,3299,2961,2883,3372,3728,3497,2801,3236,3643,3541,3487,3002,3273,3552,2695,2393,2199,2546,2277,2437],[2415,2425,2532,2424,2403,2187,2612,2722,1961,1848,1947,2110,2266,2565,3131,3135,2555,1810,1774,2340,2613,2472,2719,2911,2719,2416,2311,2387,2482,2487,2652,2744,2796,3182,2880,2604,2408,2549,2242,1746,1746,1872,2379,2766,2662,2967,3320,2997,2742,3057,2464,2003,2078,2260,2438,2706,2486,1836,1701,2153,2986,3435,3299,3461,2918,2726,2679,2251,2010,2387,3134,3418,3089,2778,2461,2104,2357,2410,2361,2447,2318,2132,2043,1974,2109,2624,3034,2731,2236,1566,1618,1790,2308,2446,2430,2122,1964,2116,2184,2203,2326,2422,2436,2100,2631,2610,2678,2762,2880,2755,3444,4104,4216,3182,2746,3122,2910,3012,3130,2915,2881,2552,3162,3307,3724,3757,3145,2775,2666,2755,2812,2436,1709,1831,2017,2450,2687,2744,3142,3177,2440,2259,2912,2811,2831,3051,2705,2684,3073,3044,2837,2137,2286,2806,3160,3484,3400,2707,2047,1569,1752,1993,2294,3110,3410,3195,3145,3278,3211,3029,2821,2774,3129,3343,2690,1735,1772,1846,1665,1695,2018,2093,1786,2209,2740,3015,3289,3331,3174,3244,3620,3576,2633,1747,2177,2233,1675,1847,1926,1913,1799,1470,1646,1606,1487,1923,1787,1627,1923,1775,1694,1636,1664,1928,2266,2567,2228,1714,2000,1755,1767,1876,1479,1472,2139,2237,1758,1735,1837,1712,1870,1853,2034,2453,2070,1605,1671,1831,1826,1875,1910,1749,1623,1501,1376,1614,1914,1673,1487,1819,2048,2062,2004,2085,2464,2542,2377,2380,1968,1857,1891,1944,2204,2376,2820,3210,3090,3138,2951,2745,2820,2878,2521,1625,1558,2114,2266,2484,2347,2198,2438,2625,2698,2851,2814,2745,2852,2707,2692,2967,3345,2720,3007,3164,2787,2702,2292,2031,1917,1306,1147,1506,1650,2513,2447,2119,2346,2286,2238,2438,2684,2872,2458,2316,2336,2579,2451,2366,2225,2355,2787,2643,2691,3083,3320,2600,2242,2558,2082,1799,2547,3073,2950,2884,3062,3396,3066,2360,2206,2285,2604,2602,2507,2764,2125,2095,1990,2138,2366,1782,2566,3020,2490,2588,2416,2172,2098,2124,2423,2738,3154,2798,2862,2207,1685,1499,2524,2841,2585,2448,2089,1909,1918,2166,2120,2390,2365,2988,2969,2889,2924,2655,2956,3531,4000,3681,2612,2519,2753,2847,2615,2745,2792,2266,2474,2431,2187,2470,2192,1792,1950,2006,1476,1549,2307,2548,1828,1930,2314,2391,2790,2613,2085,2219,2298,2665,2888,3098,3187,2920,2596,2710,2468,2048,1789,1577,1653,2259,2702,2510,2792,2731,2307,2342,2327,2536,2641,2647,2341,2335,2636,2851,3105,3189,2290,2049,2474,2667,3430,2733,2020,2329,2446,2044,2091,2176,1954,1969,2015,2070,2466,2899,2742,2442,1877,2139,2319,2083,1902,1876,2321,2648,2792,2591,3016,3297,3684,3492,3083,2989,2974,3271,3648,3504,3398,3132,2239,2003,2697,2896,2887,2506,2404,2632,2502,2230,2844,2719,1859,1994,3271,3402,2267,2315,2406,2459,2452,2279,2553,2954,2561,1975,1972,2006,1690,1808,2202,2570,2004,1826,2088,2164,1953,1646,1997,2260,2018,1953,1664,1722,1694,1841,1932,1599,1705,2026,1988,2291,2566,2546,2286,1920,1632,1608,1612,1886,2076,2609,2555,1835,1648,2106,2303,2242,2532,2393,1802,1630,1694,1691,1673,1448,1559,1545,1477,1530,1723,1965,1898,1646,1855,1897,1794,1999,1686,1714,2219,2726,3296,3786,3651,3352,3495,3614,3654,3283,3274,3348,2959,2452,2352,2388,2843,3244,3144,3477,4207,3445,1953,2437,3819,4058,3285,2497,2343,2626,2818,3033,3442,3709,3702,3641,3566,3448,3579,3636,3696,3610,3350,3139,3020,3124,3160,3085,3107,3309,3304,2989,2745,2977,3028,3212,3262,3473,3748,3915,3837,3758,3525,2989,2588,2332,2234,2614,2686,2548,2367,2521,2647,2504,2489,2500,2541,2779,2737,2373,2200,2708,3650,4076,4063,4035,3834,3137,2746,2583,2934,3576,3466,2945,2442,2996,3356,3005,2957,2590,2177,2352,2733,3112,3019,2269,2092,2101,1890,2104,2396,2437,2282,2253,2288,2216,1948,2072,2217,1812,1777,2842,3297,3171,3145,3299,3204,2651,2757,3352,3354,2864,2692,2742,2351,1997,1986,1970,2207,2952,3493,3948,3770,4089,4533,4216,3790,3548,2842,2241,2200,2214,1976,2325,1973,2900,3493,3145,3056,2432,1772,1815,1772,1642,1598,1729,1807,1938,2185,2023,2048,2174,1911,1640,1877,2237,2005,2017,2685,3065,2322,2552,2374,2600,2156,2662,3007,2434,2400,3066,3576,3465,2584,2330,3276,3860,3575,3637,4016,3985,3795,3985,4101,4141,4120,4057,4320,4328,4139,4155,4028,4091,3979,3836,3928,3810,3813,3872,3960,4039,4014,3994,4008,3709,3451,3531,3469,3376,3212,3133,3099,3064,3000,3015,3142,3219,3316,3248,2389,2438,2356,2224,2223,1981,2150,2373,2472,2598,2348,2520,2886,2921,2308,2087,2684,2343,1944,1699,1702,1720,1519,1688,2338,2402,1923,1507,1615,1709,1915,2314,1845,1926,2212,1976,1987,2353,2604,2589,2194,2115,2921,2533,2011,1736,1710,1565,1421,1414,1736,1969,1593,1652,1804,2154,3044,3340,2185,2117,2211,2379,2050,1409,1423,1719,2160,2574,2392,1788,1714,1864,1998,2262,2304,2042,1785,1607,1896,2028,1947,1965,1826,1898,2004,2190,1715,1534,1733,1617,1530,1906,2076,1676,1093,1459,2591,2355,2018,1782,2036,2966,3604,3069,2236,2178,2019,1661,1506,1881,2126,2016,2129,2113,2243,2535,2892,3088,3365,2706,1878,2019,2156,2099,2026,2250,2358,2324,2584,2446,2424,2209,2102,2555,2232,1941,1872,1696,1548,1600,1601,1995,2525,2132,1586,1621,1797,1973,1838,1737,1662,1893,1910,1656,1546,1921,1938,1940,2088,2264,1966,2051,1970,1652,1764,1952,2024,1919,1720,1765,2235,2459,2090,1974,1940,2316,2820,2612,2291,2447,2580,2701,2543,2420,2260,1826,1846,1883,1634,1599,1708,1793,1851,1693,1754,1908,1563,1545,1946,2127,2534,3047,2998,3285,3166,3305,3717,3869,3598,3145,2876,2789,2587,2522,2154,2224,2462,2551,2845,3160,3238,3173,2674,2555,2724,2779,2621,3299,4525,4113,3491,4101,4365,4644,4840,4748,4540,4062,3957,4364,3816,3635,3554,3145,3697,3841,4288,4688,4864,4792,4596,4776,4764,4355,4312,4884,4516,4480,4344,3320,2530,2164,2166,2254,2437,3076,3066,2792,3072,3740,4212,4124,3855,3985,4094,4151,4258,4543,4399,3897,4236,4095,2842,2234,3217,3775,3884,3686,3686,4038,4356,4121,3566,3731,3249,1836,1772,2421,2834,2733,2963,3330,3906,4164,4299,4060,3588,3883,4288,4356,3366,2479,3207,3386,3639,3460,3278,3206,3125,3243,3370,3270,3270,3364,3442,3253,3458,3765,3638,3550,3539,3346,3386,3461,3428,3473,3426,3565,3596,3625,3665,3694,3576,3861,3848,3659,3539,3397,3294,3206,3260,3527,3926,4086,3940,3676,3733,3629,4020,3928,3032,2069,1991,2066,2233,2565,2661,3070,3626,3079,2292,1301,1332,1531,1480,2120,2479,2456,2832,2790,2034,1984,2565,2392,2217,2545,2546,2107,1928,2266,2710,2308,1540,1551,2251,3068,2888,1903,1649,1883,1781,1781,2264,1962,1536,1671,1632,1633,1766,1542,1537,1518,1253,1429,1572,1490,1578,1988,2014,2089,2054,1803,1908,2186,2045,2533,2841,2141,1847,1936,2035,2207,2492,2104,1929,2346,2405,2284,2083,2433,2259,2465,2359,2142,1998,1757,1696,1732,1732,1985,2177,2000,2106,1650,1547,1803,1740,2285,2252,2095,2180,1812,1378,1443,1748,1824,1830,1812,1843,2444,3247,3298,3514,3680,3410,3651,4288,4201,3764,3246,3941,3360,3371,3458,2921,2699,3309,3541,3450,3730,4207,4132,3758,3535,3504,4013,3872,3285,3454,3875,3789,3746,3676,3626,3371,2928,2344,2050,2493,2572,2708,3166,3212,2890,2265,2366,2645,2890,2722,2518,2656,1906,2100,2069,2292,2592,2396,2511,2975,3096,2561,2395,2697,2766,2365,2346,1698,1415,1596,1887,2024,2004,2484,2524,2398,2534,2580,2202,2149,2433,2161,2241,2266,2065,2097,1836,2442,3139,2998,2588,2524,3229,3065,2858,2525,2379,2286,2688,2674,2824,2688,2374,2632,3411,3880,3532,2504,2165,2398,2293,2290,3160,3008,3149,3680,3628,3204,2743,2661,2645,2615,2353,2314,2511,2939,2425,2697,2994,2802,3562,4259,4227,3996,4084,4053,3770,3549,3610,3663,3780,3784,3488,3436,3209,2600,2437,2274,2305,2859,3100,2571,3091,3339,3293,3360,3781,3529,3377,2951,2886,3352,3608,3440,2970,2767,2961,3030,3220,3199,2949,2518,2344,2500,2178,1789,2020,2470,2812,1886,2536,2950,3129,3275,2893,3093,3438,3230,3104,3204,3176,3263,2489,2210,2341,2329,2257,1940,1986,1797,1597,1429,1715,2248,2780,2783,2626,2412,2531,2547,2542,2024,1926,2090,2463,2564,2619,3146,3131,2608,2697,3279,3647,3858,4007,4041,3864,3272,2996,2535,2458,2930,3499,3661,3292,3116,3094,2888,2683,2325,2105,2188,2784,2909,2875,3406,4052,3918,2889,2058,2058,2624,2470,3106,3404,3620,3641,3282,2930,3019,2986,2218,2032,2266,1978,2351,2504,2618,2312,2213,2350,2311,2106,1821,1565,1640,1974,1902,2053,2210,1919,1990,1613,1521,1678,1845,1681,1584,2092,2977,2955,2407,2574,2330,2471,2774,2150,2236,3176,3585,2896,2326,2605,2436,1905,1838,1706,1744,2322,2577,2800,3538,3411,3360,3272,2371,2198,3268,4102,4275,4667,3902,2832,2482,2425,2349,2105,1993,2214,2478,2625,2633,2832,2470,1745,1933,2439,2391,2179,2107,1891,1883,1980,2145,2121,2038,2118,2248,2315,2534,2832,3065,3045,2666,2683,2608,1967,2579,3089,3551,3762,3156,3182,2504,1735,2286,2452,2145,2202,2097,1904,2438,2965,2569,2535,2470,2530,2604,2625,2607,2814,3135,3133,2913,3145,3706,4151,3613,3074,3346,3137,2490,3038,3018,2800,3208,3328,2985,2541,2291,2621,2746,2463,2330,2474,2373,2545,2777,3134,3160,3140,3372,3687,3697,3288,3205,3304,3551,3400,3028,3094,3087,2551,2010,1935,2375,2696,2568],[2844,2339,2413,2397,2217,1719,1879,1993,1781,1865,2098,2219,2012,2029,2647,2023,1738,1633,2396,2920,2959,3213,2791,2478,2730,2580,2504,2409,2523,2565,2774,2878,2556,2957,2898,2727,2757,2780,2270,1738,1705,1776,2199,2596,2751,2923,3334,2586,2349,1995,1698,2199,2335,2577,3078,3037,2686,2234,2270,2453,2932,3161,3369,3693,3072,2655,2880,2484,1825,1934,2973,3194,2769,2768,2294,1935,2283,2293,2452,2475,2259,2042,1876,1752,2101,2691,2874,2377,1947,1654,1699,1815,1950,2245,2371,2054,1814,2148,2247,2344,2676,2667,2496,2438,2582,2469,2496,2425,2289,2017,2259,3279,3459,2973,3150,3116,2885,2851,3100,2822,2728,3071,3393,3619,3684,3116,2597,2380,2484,2295,2390,2503,1985,1685,2073,2447,2547,2687,3007,3404,2856,2447,3076,3131,3152,2520,2007,2304,2525,2977,3076,3034,3242,3297,3473,3769,3593,3252,3178,2220,2376,2296,3184,3598,3359,3249,3134,3127,3182,2993,2886,2749,2617,2707,2084,1586,1805,2019,1755,1896,2164,1852,1829,2119,2186,2755,3729,3410,2699,2711,2722,2846,2394,2215,2608,2188,1793,2009,1864,1909,1933,1713,1686,1609,1623,1582,1589,1561,1858,1843,1549,1592,1793,1858,2020,2132,1837,1588,1835,1685,1698,1655,1499,1730,2134,1858,1550,1726,1818,1467,1569,1766,2279,2624,2439,1987,2201,2267,1721,1752,2110,1966,1744,1601,1642,2443,1860,1502,1581,1926,2147,2185,1903,1825,2222,2004,2073,2244,1970,1837,2049,2332,2334,2753,3438,3267,2996,3427,3596,3265,3030,2702,2116,1052,1009,1686,2062,2206,2269,2329,2501,2589,2693,2731,2777,2824,2846,3007,3300,2973,2840,2626,2994,2950,2556,2508,2564,1975,1681,1233,1358,1046,2016,3260,2977,2597,2608,2447,2259,2019,1799,1947,2172,2380,2490,2457,2414,2436,2401,2509,2840,3031,2540,2363,2872,2679,2199,2089,1688,2172,2298,2532,2645,1849,1949,2757,2613,1795,1941,2337,2490,3100,3423,2865,2378,2381,2251,2904,2611,1757,2484,2648,2159,2490,2586,2567,2463,2082,2615,2832,2253,2315,2432,2252,2069,2182,2563,2729,3088,3070,2570,1963,2054,2398,2352,2446,2136,2347,2033,2061,2419,2584,3383,3598,3662,3486,3086,2843,3063,2708,2204,2331,2151,1997,2587,2603,2109,2117,2269,1942,2117,2644,2259,2241,2843,2509,1969,2540,2920,3006,3311,2975,2676,2807,2901,2503,2263,2825,3310,2955,2519,2813,2551,1868,1905,1998,1924,1865,2212,2205,2938,3387,2545,2211,2145,1891,2789,3110,2476,2351,2275,2447,2899,2996,2248,2091,2265,1719,2280,2171,1637,1794,1533,1571,2180,2308,1993,1860,2087,2172,2235,2696,2483,2007,1796,2193,2313,2232,2377,2525,2868,3131,3341,2998,2817,3014,3520,3419,2844,3006,3151,3077,3529,3471,3294,3184,2812,2477,2836,2441,2358,2385,2230,2584,2508,1948,2644,2802,2521,2746,3550,2799,2187,2414,2831,2858,2574,2360,2381,2206,2160,2242,2267,2287,1879,1796,2683,2729,2162,1818,1664,2102,2438,1989,1781,1655,1631,1521,1576,1767,1722,1667,1988,1867,1989,2469,2584,2408,2454,3094,2911,1825,1552,1614,1683,1657,1864,2142,2290,2301,2239,2445,2643,2449,2626,2291,1956,1685,1896,1834,1682,1705,1688,1477,1472,1595,2015,2148,1919,1919,1737,1572,1585,2234,2447,1913,2454,2677,2641,3222,3173,2699,3180,3279,3318,3229,3323,3329,2886,2416,2334,2640,3067,3119,3038,3850,4541,3454,2420,3437,4073,4082,4015,3294,2639,2574,3041,3530,3443,3624,3680,3698,3664,3437,3396,3492,3514,3339,3245,3128,3118,3161,3347,3350,3317,3309,3175,3011,3151,3343,3350,3377,3429,3486,3574,3718,3811,3679,3384,3040,2793,2588,2548,2580,2568,2374,2266,2450,2597,2647,2506,2235,2380,2670,2213,2319,2224,3076,3852,4255,4312,4372,3663,2708,2799,2485,2614,3198,3476,2917,2457,2665,2544,2678,2914,2480,1969,2530,2972,3045,2974,2039,1553,1803,1835,1835,1834,1875,2157,2258,2269,2250,2121,2028,2198,2081,2028,3128,3464,3298,3227,3469,3581,3353,3479,3694,3344,2895,2480,2287,2371,2198,2049,2097,2556,2764,2954,3620,3630,3679,3881,3928,3618,2912,2654,2347,1908,2219,1987,2001,1931,2310,3156,3165,2345,1751,1561,1825,1491,1246,1434,1844,2254,2260,2230,2454,2719,2630,2069,1712,1952,1855,1860,2353,2733,2956,2216,2496,2752,3282,3030,2987,2757,2499,3019,3399,3484,3379,3057,2887,3024,3625,3925,3707,3782,3935,3592,3229,3768,4180,4187,4076,4388,4428,4224,3950,3921,4059,4095,4018,3814,3952,4062,3894,3871,4027,4064,3971,3947,3354,3263,3488,3486,3327,3205,3073,3018,3294,3519,3583,3365,3129,2779,2232,2166,2285,2171,1897,1826,2093,2068,1829,2112,2501,2137,2248,2415,2998,2920,2666,3300,3317,2684,2158,1750,1658,1868,1969,1827,2041,2031,1785,1824,1486,1833,2223,2123,2189,2165,2158,2457,2873,3242,3076,2548,2282,2284,2014,1774,1709,1768,1470,1258,1539,2287,2448,1756,1776,1599,2135,3097,2501,1748,1958,2124,1933,1747,1709,1699,2045,2511,2718,2676,1819,2017,2246,2182,2552,2222,1638,1792,2103,2489,2446,2099,1901,1666,1945,2146,2401,2404,2485,2177,2020,2117,2041,1941,1865,1604,1647,2129,2074,2230,1648,1885,2563,2769,2262,1907,1866,1767,1727,1824,2455,2255,1996,1453,1807,2452,2597,2953,3293,3599,3040,2292,1985,2092,2378,2388,2282,2177,2311,2501,2589,2622,2377,2082,1749,1769,2111,2045,1948,1727,1911,1811,1587,1781,1591,1458,1693,1768,1615,1569,1530,1860,1987,1545,1502,1487,1839,2021,2121,2036,1879,1770,1893,1820,1670,1526,1857,2082,1849,1641,1634,1912,1872,1879,2302,2558,2518,2757,2773,2399,2089,2384,2620,2713,2186,1622,1782,1846,1942,1708,1487,1627,1780,1779,1595,1614,1793,1678,1777,2359,1975,2068,3088,3574,3264,3298,3429,3566,4090,3842,3091,2509,2104,1923,2405,2658,2457,2326,2404,3108,3589,3156,2931,2479,2674,3146,3375,3089,3603,4546,4651,4155,3906,4095,4364,4793,4728,4256,4006,4461,4550,4093,3872,3630,3206,3354,3930,4428,4607,4796,4865,4805,4485,4062,4119,4356,4515,4271,3980,3773,3327,2273,1690,2264,2518,2564,2980,3104,3206,3715,4272,4120,3903,4047,4212,4328,4356,4308,4306,4243,3992,4152,3936,2655,2695,3428,3671,3794,3757,3669,4008,4184,4110,3384,3431,2845,1913,1939,2454,2785,2845,2784,2948,3469,3764,4059,3876,3643,3594,3949,4164,3537,2840,3297,3695,3596,3323,3375,3531,3484,3371,3252,3218,3166,3371,3460,3548,3824,3982,3897,3926,3793,3626,3630,3575,3719,3830,3463,3500,3663,3737,3688,3694,3561,3526,3648,3862,3869,3603,3396,3387,3428,3610,4156,4401,4268,3830,3707,3663,3790,3952,3098,2249,2104,2139,2557,2273,2883,3762,3743,2685,2085,1314,1179,1343,1417,1983,2266,2394,2546,2575,1960,1977,2418,2432,2349,2544,2505,2120,1908,1975,2019,1709,1489,1575,2040,2925,2922,2059,1618,1902,1837,1667,1814,1686,1526,1714,1669,1659,1606,1385,1410,1497,1504,1534,1736,1928,1841,1841,1909,2503,2064,2211,2459,2078,2111,2578,2542,2409,2412,2492,2396,2591,2568,2232,2328,2247,2317,2341,2352,2284,1801,1901,2037,1969,1903,1801,1760,1807,1936,2475,2760,2109,1449,1710,2134,1956,1810,2189,2071,1908,2177,1856,1580,1315,1675,2061,2095,1956,2146,2861,3056,3067,3174,3334,3792,4096,4221,4184,4060,3882,4141,3364,2933,2601,2057,2520,3511,3442,3249,3652,3938,4006,3864,3552,3319,3828,3796,3353,3632,3937,3636,3513,3647,3428,2793,2663,2310,2640,3044,2899,2977,3028,3364,2930,2083,2106,2468,2896,2933,2859,3207,2669,2722,2964,2778,2583,2967,2900,2963,3194,3138,3168,3083,2770,2743,2858,2665,2332,1899,1654,1852,2521,2833,2921,2871,2739,3163,3043,2665,2636,2412,2117,2298,2533,2382,1914,2196,2706,3184,3222,2220,2770,3124,3082,3059,2395,2532,2587,2616,2978,3140,3072,3060,3515,3708,3519,2655,2049,2167,2722,3162,3306,2834,2884,3032,3030,2996,2485,2312,2254,2078,1756,2036,2941,3153,2717,3165,2787,2163,2510,3005,3654,3820,3426,3483,3508,3438,3265,3310,3651,3743,3542,3406,3060,2579,2367,2244,2345,2955,3641,3527,3487,3681,3308,3406,3770,3860,3536,3100,3404,2814,2998,2852,1785,2081,2790,2998,2789,2568,2320,1980,2025,2290,2129,1830,2097,2108,2496,2445,2504,2418,2865,2868,2829,2923,3117,3320,3394,3204,2861,2611,1997,2090,2366,2546,2215,1931,2115,2115,1841,1650,1812,2208,2701,2554,2472,2112,1950,2615,2679,1675,1501,1881,1947,2367,2922,3242,2994,3171,3451,3595,3770,3962,4042,3903,3839,3487,3016,2565,1992,1951,2729,3449,3185,2729,2630,2693,2778,2697,2235,1876,2102,2222,2449,2620,3487,3689,2998,2071,2897,3382,2528,2777,3296,3462,3540,3228,2789,2659,2985,2586,2244,2698,2830,2829,2680,2620,2664,2746,2700,2197,1801,1715,1833,1930,2461,2603,2640,2419,1802,1664,1563,1423,1682,1875,1804,1959,2428,3287,3342,3087,2976,2237,2114,2679,2223,2723,3696,4021,3112,1885,2334,2355,1899,1820,1606,2009,2953,3293,2811,3164,3244,2778,2080,2401,3459,4164,4476,4152,3870,3270,3209,2852,2797,2603,2179,1990,2056,2164,2106,2286,3172,2891,2326,2415,2092,1753,1812,1769,1707,1914,2076,2020,1969,1668,1816,1964,2219,2868,3057,3146,2979,2572,2798,2500,2351,2787,2966,3624,3929,4149,3848,2768,2069,2649,2621,2572,2400,2084,2165,2496,2207,1958,2687,2730,2813,2723,2744,2958,3414,3852,3783,3425,3112,3376,3917,3558,2699,3308,3420,2911,3076,2939,3020,3481,3206,3154,3213,2962,2799,2467,2146,2255,2609,2969,3119,3038,3061,3034,3227,3549,3745,3180,2471,2740,2893,3247,3326,3045,2499,2377,2651,2752,2314,1693,1824,2433],[2740,1613,2144,2692,2413,2126,1877,1778,2048,2110,2090,2472,2930,2896,3176,2297,1976,2037,2851,3012,3249,3254,2122,2286,3076,2544,2478,2420,2554,2647,2925,2559,2154,2330,2365,2598,2786,2662,2128,1829,1776,1781,1864,2010,2497,3002,3107,2445,2251,1715,1514,2236,2309,2674,3188,3005,2389,2015,2218,2596,2790,2932,2684,2258,2272,2768,3022,2742,2408,2141,2974,3098,3027,3203,2722,2248,2498,2670,2394,2387,2448,1991,1863,1620,2239,2651,2486,1991,1919,2049,2186,2226,2318,2364,2347,2198,2207,2416,2530,2570,2728,2533,2203,2241,2198,2210,2224,2155,1882,1846,2357,2647,2146,2286,3152,2921,2719,2609,2795,2875,3155,3462,3749,3896,3050,1708,2366,2494,2116,1870,2395,2156,1735,1622,1927,2205,2415,2448,2703,3205,2133,2412,3306,3232,3359,2882,2746,2943,2612,2589,2968,3128,3433,3318,3189,3378,3355,3424,3563,3005,2961,3137,3536,3502,3328,3315,3305,3227,3238,3087,3250,2765,2314,2435,2249,1952,2170,2158,1875,1903,1759,1609,1803,1842,2128,3240,3542,2929,2662,2585,2264,2566,2724,2457,2301,1742,1544,1650,1738,1918,1982,1760,1788,1876,1660,1443,1425,1487,1721,1747,1552,1651,1849,1840,1714,1976,1931,1800,1793,1425,1482,1655,1583,1890,1832,1604,1765,1710,1688,1375,1673,1909,2543,2679,2217,1873,1926,1947,1712,1657,2017,1970,1713,1478,2098,2600,1804,1586,1764,1812,1992,1895,1491,1541,1843,1449,2212,2252,1964,1815,1948,2256,2182,2348,2953,2969,2657,2856,2548,2415,2647,2473,2146,1236,1021,1621,1992,2060,2253,2542,2646,2318,2282,2557,2698,2756,2902,3123,3450,3327,2821,2236,2249,2395,2274,2519,2206,1665,2147,2762,2112,1602,2933,3362,3060,2620,2378,2362,2338,2218,2248,2172,2438,2266,2388,2685,2712,2437,1953,1934,2526,2909,2685,2518,2809,2134,1812,1859,1951,2046,2190,2388,2730,2300,1532,1927,1926,1440,2087,2684,2646,2750,2846,2347,2320,2464,2626,2956,2668,1830,1532,1804,2084,2377,2576,3298,3784,2773,2546,2482,1931,1946,2116,2249,2567,2659,2162,1958,3594,3438,2985,1863,2111,2522,2427,2237,2401,2678,2454,2478,2002,2015,3075,2568,2138,2614,3141,3454,3716,3245,2552,1948,1285,1469,2093,2617,2428,2063,2237,2160,2216,2407,1830,2407,3405,3054,2492,2554,2900,2847,2820,2805,2709,3165,3239,2923,2994,3030,3152,3024,3068,2779,2348,1962,2048,2334,2356,1748,1754,2584,3420,3592,3038,2758,2160,1664,2288,2459,2543,2017,1895,2351,2922,2756,2530,2522,2962,3198,3019,2297,1772,1701,1443,2085,2355,2365,2378,2395,2678,2648,2402,2397,2200,2019,1951,1899,1910,1864,2000,2508,2845,3218,3388,3153,2913,3274,3607,3741,3841,3533,2877,2894,3233,3584,3359,3480,3376,3335,2768,2633,2619,2275,1985,2477,2940,2218,2426,2592,2701,3055,3207,2547,2492,2569,2785,2813,2603,2569,2485,2178,2338,2169,2508,2404,2089,1829,2099,2096,2188,1896,1851,2534,2784,1894,1876,1611,1715,1728,1490,1474,1549,1617,1922,2120,2423,2479,2376,1738,1737,2414,2454,1707,1758,1949,1871,1754,1886,2014,2129,2501,2862,2545,2429,2430,2120,1958,2453,2208,2400,2503,2125,1926,1636,1615,1902,1974,2118,1957,1835,2113,1788,1487,1450,1641,1976,2137,2374,2072,2176,2481,2259,2049,2526,2751,3042,3146,3318,3410,3029,2539,2624,2984,3066,2729,2668,3304,3551,2983,3012,3731,4025,4163,4251,3873,3454,3196,2945,3218,3244,3526,3760,3874,3742,3529,3618,3768,3451,3139,3115,3226,3372,3198,3355,2789,2988,2957,2935,3061,3248,3360,3357,3283,3249,3408,3440,3439,3560,3651,3394,2973,2750,2806,2719,2600,2424,2199,2241,2364,2410,2467,2343,2275,2276,2095,1990,2114,2416,3451,4038,4108,4186,4273,3702,2848,2775,2547,2868,2790,3063,3033,3160,3082,2933,2890,2658,2395,2474,3052,3163,2854,2478,1815,2008,2618,2417,2049,1858,2021,2415,2485,2292,2185,1923,1603,2192,2388,2824,3415,3427,3353,3420,3402,3603,3581,3107,3037,3210,2938,2292,2063,2264,2066,2025,2604,3164,2746,2988,3440,3104,3137,2946,3210,3486,3133,3249,2544,2130,2391,2258,2043,2204,2421,2666,2564,1787,1790,1642,1914,1742,1764,2072,2359,2486,2569,2555,2850,3498,3221,2403,1959,2186,2423,2349,2149,2221,2826,3120,3531,3714,3963,3824,3276,2735,3055,3166,3163,3486,3110,3008,2425,2496,3416,4077,4150,3840,3763,3194,2507,3439,3806,3563,3754,4020,4328,3868,3736,3951,4060,4200,3702,3212,3792,3968,3797,3808,3897,3894,3273,3614,3841,3194,3097,3435,3255,2927,2662,2724,3493,3753,3658,3394,3321,2492,1858,2116,2153,2137,2279,2636,2766,2169,1705,1667,1759,2018,2009,2331,2973,3103,2953,3115,3255,3030,2228,1578,1766,2214,2274,1952,2408,2477,2223,1818,1543,1688,2253,2574,2324,2212,2829,2871,2975,3062,2836,2557,2159,1858,1756,2018,1969,1420,1196,1227,1426,2282,2928,2369,1969,1789,2238,2604,2089,2258,2590,2173,1650,1758,1664,1655,2203,2684,2484,2713,2433,2510,2398,2132,2599,2267,1269,1859,2678,3296,3016,2674,2047,1682,1785,1879,2016,2523,2889,2498,2168,2520,2665,2010,2201,1935,1698,1647,1897,1809,1588,1996,2068,1740,1745,2130,2302,2054,2312,2453,2795,2534,2495,1597,1647,2221,2370,2349,2568,3209,3128,2856,2369,2477,2376,2031,1824,2136,2570,2496,2513,2720,2564,2084,1635,1951,2709,2744,2713,2027,2103,1866,1608,1780,1921,1834,1635,1612,1568,1626,1692,2183,2361,1927,1681,1477,1809,2212,2004,1656,1575,1636,1571,1637,1601,1599,2249,2030,1631,1602,1639,2207,2219,1816,2360,2712,2400,2814,2879,2240,2022,2263,2577,2855,2316,1750,1729,1712,1637,1854,1693,1393,1514,1504,1612,1679,1611,1532,1641,2372,2255,1810,2569,3411,3489,3448,3249,3363,3759,3952,2790,1848,1790,1981,2298,2389,2540,2508,2355,2806,3072,2481,2351,2307,2630,3085,3473,3398,3216,3674,4420,3782,3006,3616,4038,4331,4315,4034,4048,4564,4632,4312,4039,3962,3764,3748,4264,4471,4487,4216,3971,3794,3391,3208,3805,4006,4045,4196,3768,3339,3371,3061,2845,3039,2664,2400,2993,3665,4005,4016,4136,4034,3969,4440,4605,4472,4283,4329,4261,4453,4121,3768,3337,2385,2787,3940,3940,3858,4149,3916,4074,4117,3913,2920,2707,2989,2710,3116,3633,3517,3198,2763,2674,2972,4016,4411,4376,4366,4232,4152,4209,4212,4082,4153,4228,3827,3547,3828,4079,3872,3650,3370,3325,3195,3376,3480,3538,3860,3957,3708,3801,3962,3818,3746,3652,3738,3714,3549,3479,3684,3893,3926,3904,3762,3570,3772,3992,4200,3861,3465,3495,3553,3778,4175,4239,4228,4016,3912,3950,3873,3959,3367,2501,2120,2370,2386,2284,3494,3775,2778,2260,1946,1634,1611,1635,1642,2044,2040,2280,2416,2511,2184,2153,2340,2224,2227,2287,2166,2051,2189,1877,1771,1687,2236,2392,2400,2470,2458,2067,1732,1756,1694,1607,1582,1788,1773,1672,1590,1360,1303,1372,1467,1487,1439,1345,1572,1707,1584,1503,1662,2281,2119,2808,2372,1967,2401,2435,2418,2333,2683,3175,3152,3109,2719,2131,1916,2004,2055,1944,1908,1719,1468,1572,1957,2103,1677,1803,1926,1941,2169,2321,2898,2254,1410,1736,2249,1948,1448,1678,1835,2314,2688,2370,1958,1570,1894,2248,1894,1797,2508,3029,3071,3119,3194,3317,3555,3984,4155,4112,4112,3864,3727,3120,2513,2148,1801,2396,3339,3051,2931,3073,3187,3382,3430,3509,3627,3796,3664,3468,3739,3861,3420,2985,3572,3418,2562,2271,2343,2667,3143,2957,2337,2300,2670,2620,2217,2429,2846,3006,3134,3242,3432,3209,3241,3496,3308,3207,3050,2651,2798,3305,3015,2745,2659,2335,2584,2865,3538,3274,2613,2228,2374,2908,2893,2551,2325,2608,3466,3648,3144,3012,2695,2650,2698,2337,2257,2144,2275,2529,2082,2364,2353,3056,3090,3405,3405,2664,2364,2421,2486,2728,2854,3019,3105,2957,3056,3143,2346,2067,2290,2565,2980,3047,2605,2741,2968,2728,2423,2311,2230,1921,1730,1727,1965,2217,2142,2234,2662,2132,1882,2190,2967,3273,3232,3544,3958,3421,3177,3105,3344,3459,3519,3585,3330,3190,3076,2851,3085,3218,3442,3510,3630,3580,3394,3210,3362,3345,3354,2949,2924,3572,3296,3043,3071,2546,2530,2709,2332,1822,1823,1884,1942,1923,2034,1989,1956,2306,2115,2365,2287,1893,2013,2356,2367,3069,3119,3037,3338,3113,2144,1829,2036,2082,1792,1874,2160,1970,2210,2339,1781,1858,2065,1828,1648,1726,2064,2375,2494,2517,2987,3072,2444,2273,2297,2381,2666,3240,3571,3293,3590,3688,3618,3746,3923,3928,3893,3781,3457,3030,2551,2177,1721,2038,2851,2264,2343,2718,2276,1718,2425,2942,2292,2040,2354,1965,2041,2899,3138,2470,2609,3328,3328,2520,2683,3229,3087,3344,3299,3317,3354,3297,2824,2275,2732,3062,2603,2258,2428,2797,3086,2689,2140,1784,1874,1994,2087,2353,2409,2855,2861,2159,1726,1537,1419,1624,1834,1994,2360,2851,3477,3278,3108,3000,2338,1988,2360,2303,2797,3847,3914,3145,2024,2241,2405,2049,1714,1711,2769,3383,3436,3256,2962,2874,3287,3514,3579,3846,3941,3789,3166,2437,2416,2953,3111,3010,2534,1605,1249,1744,2092,2093,2570,2940,2778,2668,2645,2198,2150,2350,2107,1924,2183,2060,1798,1782,1818,1874,1980,2464,2891,3028,3108,2712,2575,2764,2657,2744,2541,2905,3652,3774,3442,2654,2100,1959,2072,2194,2238,1833,1851,2105,1826,1741,1992,2801,2896,2897,3052,3299,3773,4263,4272,3939,3123,2141,2545,3164,3163,2733,3897,3604,3235,3408,3110,2910,3342,3496,3305,3406,3120,2643,2032,1979,2487,2821,3273,2957,2943,3129,3160,3262,3387,3654,3123,2572,2744,2880,3239,3327,3055,2547,2430,2714,2898,2541,1907,1787,2422],[3030,2128,2459,2879,2707,2382,1974,2328,2380,2188,2030,2601,3505,3391,3438,3614,2722,2019,2603,2796,2931,2906,2364,2687,3076,2312,2426,2541,2413,2458,2652,1971,1440,1666,2116,2862,2787,2448,2387,2232,2343,1865,1500,1644,2339,2658,2484,2391,2337,2157,2014,1972,1809,2251,2402,2608,2375,2289,2282,2312,2364,2448,2192,1759,1895,2533,2630,3130,3101,2313,2531,2804,3013,3106,2874,2695,2731,2814,2891,2658,2442,1934,1763,1553,1875,2435,2310,2166,2308,2409,2120,1929,2081,2193,2522,2582,3098,3351,2844,2302,2336,2280,2167,2060,2020,1982,1849,1824,1537,1823,2536,2785,2223,2284,3262,2970,2204,2320,2857,3040,3187,3573,3908,3752,2654,1511,2467,2865,2158,2309,2498,1993,1487,1641,2075,2498,2607,2403,2678,3085,1804,2411,3762,3855,3357,3068,3185,3308,3008,2985,3100,3033,3408,3320,3147,3204,3006,3158,3312,3372,3344,3300,3365,3415,3204,3194,3277,3343,3366,3134,2912,2352,2204,2500,2498,2562,2479,2202,2092,1927,1856,1854,1918,1933,2194,2824,2641,2706,2836,2324,2167,2376,2119,1799,1630,1566,1520,1532,1687,1918,2012,1776,1693,1649,1505,1548,1519,1536,1750,1632,1393,1601,1787,1763,1813,1983,1692,2039,2408,1845,1728,1816,1993,2095,1704,1667,1789,1769,1814,1793,2155,2530,2668,2092,1643,1553,1588,1711,1786,1793,2331,2016,1713,1580,2001,2220,1708,1415,1439,1593,1810,1490,1366,1531,2070,2115,2481,2357,2099,1784,1791,2165,2248,2390,2526,2347,2481,2640,2425,2622,2851,2656,2359,1530,928,1352,1816,1906,2094,2291,2325,2028,1856,1911,2092,2291,2529,2888,3165,3140,2473,2146,2709,2243,2109,2265,2195,2164,3064,3465,2921,2820,3063,2757,2489,2542,2662,2554,2558,2398,2271,2460,2393,2200,2625,2771,2402,1991,1606,1543,2084,2945,2940,2857,2685,1958,2331,2194,2038,1990,2200,2343,2691,2644,2163,2279,1610,1181,2409,2731,2480,2429,3029,3091,2160,1793,2440,2735,2542,2066,1571,1870,1963,2306,1926,2570,3110,2293,1989,2109,2099,2254,2249,2078,2590,2938,2341,1954,3582,3440,2786,1912,2053,2429,2121,1851,2239,2802,3199,3288,2443,1968,2013,1846,1688,2099,2832,3104,3209,3259,2607,1674,1243,1432,2209,2689,2110,2136,2766,2617,2394,2192,1509,1961,3361,3266,2188,2031,2893,2901,2796,2731,2754,3208,3271,3234,2974,2875,2906,2634,2388,1629,1743,2120,2271,2223,2082,1792,1576,2322,2802,2669,2814,2645,2684,2240,2280,2439,2922,2712,2423,2766,2440,2414,2689,2314,2520,3261,3050,2298,2077,1935,1957,2384,2244,2223,2372,2568,2648,2454,2525,2644,2479,2276,2041,1750,1766,1806,1813,2286,2224,2348,2733,2922,3319,3912,3950,4156,3870,2651,2476,3098,3329,3391,3458,3564,3500,3099,2974,3453,3001,2247,1940,2314,2596,2412,2079,2362,2402,2437,2435,2461,2294,2168,2333,2319,2732,2732,2735,2626,2238,1766,1816,2157,2128,1686,1668,2221,2417,1838,2111,2943,2835,2041,1807,1717,1858,1781,1559,1559,1733,1950,1993,2371,2388,1933,1707,1448,1565,2088,2002,1743,1755,1897,1784,1710,1763,1881,1904,2246,2266,1938,1695,1758,1512,1763,2103,2221,2663,2865,2951,2594,1863,1967,2216,1806,1616,1727,1739,2223,1920,1663,1618,1357,1853,2689,2785,2414,2540,2439,1989,2077,1947,2372,2449,2772,3714,3708,3162,2724,3008,3187,2880,2517,3059,3511,3171,3120,3645,3870,4107,4276,4211,3820,3484,3453,2656,2877,3117,3593,3958,4140,4005,3764,3853,3976,3725,3287,3342,3619,3338,3269,3097,2154,2553,2414,2660,3187,3338,3404,3409,3308,3351,3400,3319,3406,3265,2864,2449,2413,2702,2726,2445,2546,2470,2292,2373,2426,1999,2164,2100,1982,2119,2008,1967,1990,2500,3471,3941,4284,4336,4421,4168,3707,2867,2598,2809,2910,3144,3127,3203,3219,3126,3132,2997,3058,2976,3023,2921,2795,2468,2103,2501,2830,2652,2556,2592,2962,3539,3793,3163,2639,2284,2002,2161,2709,3371,3440,3227,3275,3450,3181,3067,2655,2141,2317,2700,2513,2243,2106,2188,2105,2331,3254,3841,3631,3373,3552,3306,2851,2564,2883,3275,3784,3392,2585,2308,2011,1799,1897,2298,2394,2070,2034,1647,1682,2051,1970,1966,2242,2863,2923,2446,2603,2773,2768,3459,3221,2589,2078,2118,2408,2178,2340,2774,3499,4195,3785,3602,3861,3666,3461,3112,3041,2699,2274,2209,2280,2596,2215,2335,3307,4200,3915,3127,3063,3208,2962,3466,3537,3554,3350,3332,3652,3665,3605,3822,3804,3837,3651,3651,3703,3466,3284,3649,3893,4028,3719,3896,3908,3360,3175,3321,3079,2233,1849,2246,3025,3363,2894,2750,3340,3082,2342,2020,1889,2104,2610,2994,2644,2037,1668,1726,1695,1934,1917,2530,3067,3096,3093,3109,3234,3165,2026,1625,2415,2767,2564,2531,2852,2825,2150,1802,1910,1794,2264,2404,2362,2272,2823,2814,2887,2644,2142,1961,2127,2004,1568,1447,1422,1296,1462,1491,1496,1930,2446,2145,2069,2527,2934,2590,2266,2714,2476,1881,1726,1834,1810,1777,2166,2820,2945,2971,2940,2832,2766,2758,2865,2492,1920,2114,2798,3175,3175,3042,2293,2004,2007,1954,2204,2546,2666,2513,1975,2224,2161,1830,1906,1810,1585,1500,1604,1554,1623,1856,1818,1782,1835,1931,2038,2526,2503,2221,2337,2292,2623,2221,1746,1829,1948,1747,1840,2757,3057,2824,2366,1961,1837,1905,2046,2290,2449,2446,2435,2601,2683,2389,2033,2493,3153,2717,3007,2956,2814,2465,2142,2318,2475,1876,1519,1520,1738,1786,1639,1843,1942,1972,1704,1634,1942,2039,1871,1601,1622,1548,1692,1860,1895,1865,2171,2093,1895,1972,2199,2759,2644,2307,2687,2802,2407,2684,2903,2432,2431,2546,2676,2687,2406,1954,1796,1629,1892,2414,1995,1592,1499,1299,1381,1454,1603,1641,1813,2416,2399,1833,1935,2656,2844,3261,3436,2934,3306,4132,3310,2072,1787,2182,2168,2163,2767,2768,2035,2071,1992,1655,2134,2179,2624,3271,3522,3515,3122,3292,3738,3605,3022,3344,4013,4038,3858,3720,3918,4495,4737,4661,4416,3815,3215,3398,3442,3284,3427,3289,3262,3123,3204,3344,3455,3633,3730,3576,3341,3123,3163,3050,3052,2981,2747,2521,2898,3930,4685,4462,4294,4267,4329,4437,4560,4584,4620,4531,4467,4356,3969,2878,2135,2175,2553,3343,3685,4023,4191,3959,4047,4051,3871,3040,2683,3248,4019,4288,4495,4545,3664,2796,2441,3024,4184,4185,4006,3816,3728,3762,4074,4321,4002,3664,3638,3880,4332,4272,4151,3959,3889,3583,3356,3265,3282,3230,3145,3420,3666,3457,3703,3854,3597,3655,3640,3653,3540,3431,3452,3641,3980,4228,4363,4404,3959,4035,4255,4436,3996,3507,3661,3905,4196,4327,4129,4239,4104,4201,4065,3689,3638,2726,2311,2611,2352,2454,3086,3446,2997,2720,2427,2210,2178,1893,1798,1770,1661,1794,2138,2299,2142,1796,2073,2260,2149,2163,2214,2088,2062,2097,2077,2104,1969,2913,2959,2216,2044,2086,1997,1969,1583,1419,1585,1772,2048,1697,1435,1550,1371,1300,1379,1328,1269,1355,1516,1504,1492,1613,1684,1840,1983,1960,2156,1887,2175,2425,2317,2126,1957,2479,3509,3554,3638,3212,2022,1694,2309,2090,1592,1563,1497,1382,1566,2010,2232,1894,1861,1764,2188,2908,3035,3162,2348,1373,1649,2250,2003,1599,1842,2036,2601,2508,2339,1715,1357,1830,2282,2246,2569,2864,2718,2946,3419,3399,3165,3357,3914,3896,3424,3483,3452,2946,2666,2732,2579,2396,2580,2366,2392,2642,2666,2834,3174,3400,3645,3796,3604,3296,3429,3674,3669,3223,2956,3698,3739,2795,2564,2933,3474,3806,3009,2144,2185,2461,2368,2271,2451,2702,3110,3276,3310,3439,3670,3726,3559,3057,2162,1778,2011,2260,2844,2968,2406,2053,2248,2663,2703,2874,3022,2818,2342,2389,2539,2513,1909,2530,2659,3012,2996,3020,2734,2485,2770,2762,2578,2394,2077,2233,2049,1882,1992,2271,2951,3032,2888,3011,2604,2164,2146,2326,2968,2830,2801,2856,2767,2749,2475,2092,2376,2286,2023,2753,3217,2345,2598,2809,2732,2652,2858,2615,1901,1644,1929,2089,2483,2236,2141,2656,1937,2315,2501,3319,3171,2824,3334,4016,4046,3316,2915,3406,3429,3291,3449,3297,3406,3327,3068,2923,3144,3227,3011,2950,2905,2871,2749,2806,2437,2248,2497,2813,3170,3359,3435,3632,3184,2734,2509,2115,1722,1754,1929,2031,1681,1812,1914,2087,2548,2239,1936,2010,1906,1962,2126,2034,2799,3084,2968,2701,2347,1750,1474,1709,2114,1936,1515,1685,2285,2922,2542,1911,2195,2241,2202,1917,2094,2382,2724,2879,2972,3175,3363,2932,2928,2688,2470,2221,2805,3439,3513,3708,3747,3572,3488,3753,3916,3993,3805,3542,3212,2503,2079,1726,1945,2006,1292,1663,2178,1631,1212,2154,3289,2418,1646,2259,1831,2114,3029,3700,3073,2913,3254,3398,2812,2418,2713,2717,2708,2455,2653,3297,3357,3243,3285,3450,3163,2644,2655,2752,2768,2497,1891,1825,1820,1735,2461,2315,1931,2015,2723,3098,2491,1708,1461,1731,2394,2863,3039,2570,3125,3254,2507,2250,2537,2126,2054,3023,2676,2314,3439,3706,3033,2578,2788,2850,2208,1644,1707,2237,2797,3142,3212,3117,2744,3177,3776,3658,3548,3535,3104,2632,2345,2792,3067,2789,2979,2875,1757,1788,2767,2662,2284,2214,2203,2766,2889,2382,1770,1845,2366,2203,2047,2304,2299,2175,1887,1901,1769,1970,2408,2710,2966,2937,2813,2865,2970,2788,2823,2596,2758,2898,2487,1859,1538,1869,2031,1788,1823,1951,1825,1815,1942,1816,2099,2437,2802,3309,3293,3506,3802,3946,4277,4018,3542,3077,2405,2895,3349,3031,2734,3765,3993,3587,3392,3340,3062,3145,3472,3315,3008,2916,2687,1937,2033,2435,2678,2952,3000,3388,3458,3108,3306,3377,3495,3367,3388,3353,3313,3434,3458,3199,2850,2721,2713,2711,2697,2668,2681,2486],[3356,2846,2382,2481,2427,2209,1995,2416,2307,2131,2133,2437,2998,3343,3507,3596,2707,1576,2398,2925,2486,2190,2311,2987,2710,2200,2166,2123,2253,2322,2502,2392,2432,2374,2493,3067,2845,1947,2315,2375,2132,2147,2574,2468,2127,2055,2165,2169,1992,1812,1759,1801,1949,2192,2147,2323,2730,2689,2151,1842,1974,2342,2447,1973,2400,2394,2158,2802,2644,1847,1716,2020,2530,2830,2877,3034,2850,2646,2353,2256,2447,1835,1828,1695,2056,2291,2102,2113,1980,2048,1758,1625,1776,2227,2576,2854,3240,3057,2452,2222,2084,1814,1918,1936,1786,2098,2216,1710,1704,2249,2510,2819,2413,2092,2520,2547,2354,2934,3325,2906,3050,3254,3291,3409,2578,2086,2578,2876,2512,2059,2243,2407,1983,2088,2289,2584,2555,2367,2901,3263,2244,2396,3056,2780,2604,2786,2884,2888,2830,2509,2633,2629,3073,3336,3661,3560,3228,3151,3266,3350,3370,3133,3220,3330,3181,3305,3294,3182,3051,2962,2798,2518,2376,2265,2293,2777,2792,2539,2500,1935,1838,1875,1654,1818,1998,1868,1699,2348,3032,2701,2300,1970,1680,1773,1668,1565,1453,1465,1423,1650,1969,1917,1738,1537,1532,1690,1655,1647,1766,1453,1603,2046,1864,1659,1659,1719,1726,2214,2536,2143,1772,1784,1902,1848,1944,2083,2120,2243,2504,2487,2220,2878,3104,2687,1946,1742,1874,2146,2398,1994,1998,1882,1883,1719,1966,2293,1752,1506,1474,1682,2070,1672,1882,1713,1899,2463,2305,2010,2371,2329,2099,2270,2203,2618,2618,2418,2470,2452,2623,2829,2932,2573,2336,2005,981,1205,1738,1905,2036,2241,2282,2170,2297,2014,1615,1799,2271,2288,2279,2391,2024,2358,2844,2529,2301,1917,2121,3012,3544,3298,2807,2342,2249,2286,2518,2809,2167,2358,2282,2138,2353,2512,2350,2532,2866,2547,2076,2161,1910,1593,2165,3116,2715,2797,3045,2454,2754,2533,2313,2239,2190,2153,2144,2431,2343,2253,1623,1515,2597,2758,2394,2268,2636,2735,1816,1730,2346,2183,2035,1860,1757,2008,2322,2542,2317,2054,1952,1785,1879,1957,1801,1731,2191,2478,2988,3433,3066,2237,2526,2966,3218,2736,2002,1927,1522,1530,1918,2244,2342,2477,2486,1926,1684,1870,1758,1825,2161,2495,2954,3230,2795,2187,2283,1718,1959,2497,2131,2283,3093,3064,2379,2048,1993,2233,3140,3541,2994,2910,2811,2467,2436,2601,3080,3653,3825,3296,2547,2673,2947,2244,1733,1564,1770,2011,2056,1959,2042,2008,1421,1483,2101,2362,2793,2391,2154,1740,2190,2531,2849,3028,2937,2742,2332,2522,2644,1923,2080,2722,2666,2283,2514,2300,2259,2163,2126,2209,2140,2344,2442,2156,2684,3406,3072,2386,2093,2010,2004,1896,1880,1902,2153,2407,2529,3049,3536,3494,3624,3386,2557,2219,2934,2984,3120,3292,2856,3041,3438,3019,3159,3319,2573,2162,2499,2658,2733,2565,1893,2233,2469,2155,1863,1763,1654,1818,1920,2048,2105,1806,2434,2487,2032,2097,2274,2626,2360,1969,2068,2241,2528,2009,2222,2877,2856,3006,2686,2257,2050,1936,1771,1928,2344,1931,1776,1701,1608,1700,1756,1522,1662,1831,1660,1535,1610,1664,1440,1577,1481,1531,1896,2340,2004,1762,1603,1548,1549,1704,1830,2125,2484,2876,2513,2407,1970,2014,2083,1654,1532,1802,2182,2107,1646,1769,2111,1897,2976,3753,3338,3142,3216,3416,3032,3022,2286,2351,2827,2929,3860,3540,3250,2757,2930,2963,2402,2333,3350,3698,3369,3742,3867,3978,4231,4376,4244,3008,2284,2952,3414,3732,3795,3796,3672,3936,4029,3947,3884,3984,3679,3320,3195,3320,3115,3365,2903,2040,2203,2173,2162,2575,2722,3028,3098,3254,3430,3510,3500,3218,2562,2112,2266,2415,2448,2451,2210,2400,2406,2222,2396,2305,2126,2097,2057,2213,2302,2174,2203,2362,2894,3606,3959,4388,4452,4463,4507,4372,3684,3291,3176,3238,3379,3411,3276,3395,3402,3440,3500,3325,3051,3181,3002,2795,2862,2657,2595,2812,2702,2566,2944,3696,4040,4030,3702,3287,2833,2185,1984,2563,2820,2828,3041,2997,3019,2643,2696,2598,2295,2448,2566,2410,2160,2009,2260,2633,2902,3353,3691,3647,3515,3652,3338,3459,3248,2600,3016,3365,2380,2220,2602,1915,1499,1756,2476,2329,1694,1766,1629,1708,2051,1681,1504,2030,2937,3211,3118,3212,3426,3121,3242,2893,2596,2328,2364,2777,3097,3275,3378,3493,4017,4276,3980,3743,3477,3356,3327,3210,2922,2646,2478,2365,2492,2845,3155,3315,3785,3493,3076,3120,2971,2589,3118,3865,4068,4040,3825,3749,3347,3069,3753,3873,3876,3706,3463,3400,3108,3156,3636,3935,4036,4012,3896,3845,3721,3242,3297,3221,2226,2115,2568,2713,2654,2335,2486,3196,3355,2519,1888,1657,2039,2413,2355,1869,1566,2131,2285,1799,1795,2526,3293,3065,3050,3328,3156,3193,3188,2379,2296,2721,2686,2734,3044,2957,2639,2063,2024,2116,2286,2721,2400,2179,2415,2539,2298,2364,2035,1621,1855,1917,1892,1761,1474,1606,1455,1445,1485,1553,1752,1886,1979,2575,2846,2800,2632,1925,1939,2009,1580,1593,1534,1748,2342,2316,2640,3146,3122,2822,2734,2840,2818,2578,2350,2152,1983,2654,3019,3296,3283,2573,2019,1841,1700,2168,2623,2711,2542,2350,1946,1520,1530,2093,2102,1439,1339,1476,1642,1562,1610,1668,1798,2047,1914,1631,1916,1808,1964,2165,2016,2154,2208,2127,1890,1904,1684,1661,1996,2899,3050,2399,1910,2030,2334,2482,2417,2379,2288,2402,2547,2930,3007,2943,3191,3174,2700,3158,3823,3681,2746,2072,2134,2321,1794,1567,1546,1730,1732,1814,1960,1818,1712,1727,1764,1839,1966,1902,1632,1532,1654,1860,1781,1632,1466,1674,1722,1840,2069,1976,2166,2360,2585,2750,2940,2568,2568,2771,2540,2501,2710,2657,2381,2358,2245,2096,1832,1810,1550,1767,1695,1454,1374,1368,1413,1682,1958,1814,2054,2509,2074,1857,2207,1879,2490,3206,2746,2927,3854,3805,2780,2138,2386,2142,2841,3152,2868,2354,2201,2031,2421,2684,2932,3140,2862,3025,3531,3790,4112,3760,3610,3442,3651,4253,3939,3637,3697,4083,4645,4704,4720,4631,3941,3132,2483,1617,1717,2021,2238,3143,3494,3063,3034,3107,3248,3300,3476,3507,3094,2827,2693,2650,2774,2736,2497,2467,3173,4196,4307,4059,4013,4319,4306,4571,4696,4664,4631,4363,3917,3615,2764,2085,2577,2429,3054,3736,4199,4500,4464,4387,4245,3706,3128,3172,3834,4808,4632,4736,4345,3255,2908,2786,3724,4090,3804,3547,3327,3196,3315,3784,4052,3914,3685,3374,3936,4532,4516,4286,4175,4211,3892,3466,3186,3164,3163,3171,3264,3487,3562,3718,3408,3119,3309,3372,3580,3620,3399,3518,3847,4091,4196,4589,4568,3926,4144,4446,4112,3408,3500,4245,4380,4131,4084,4300,4463,4311,4409,4086,3760,3493,2843,2886,2521,2331,3168,3569,2777,2728,3062,2514,1952,2086,2038,1935,1655,1649,2013,2008,1796,1827,1842,2144,1848,1929,2151,2266,2342,2366,2520,2604,2310,2391,2740,2574,2135,1735,1627,1817,2206,1676,1587,1637,1654,1485,1296,1559,1860,1583,1324,1483,1669,1590,1474,1553,1677,1900,1790,1773,1850,1639,1308,1374,1896,2267,2483,2681,2194,1907,2508,3670,3897,4063,3438,2137,1715,2089,2072,1594,1571,1472,1438,1533,1730,1935,1982,1869,1689,1709,1827,2310,2762,2557,1757,1634,1820,2157,1857,2098,2128,2374,2331,1948,1603,1460,2002,2980,3137,2955,2461,2119,2824,3352,3212,2990,3492,3780,3529,3268,3420,3780,3808,3494,3186,3352,3386,3123,1960,1969,2812,3145,3156,3439,3742,4016,4042,3558,3260,3688,3989,3625,2911,2829,3442,3869,3484,3145,3393,3691,3486,2980,2662,2074,1991,2899,2732,2433,2786,3200,3316,3208,3328,3543,3452,3321,2724,1868,1882,2044,2105,2390,2627,2156,1776,2201,2553,2217,1929,2142,1998,1765,2288,2479,2742,2776,2786,2415,2323,2353,2034,1927,2195,2212,2418,2542,2260,1997,2167,2263,2000,1879,1886,1935,1920,2135,2370,2150,1928,1994,2715,2852,2582,2496,2700,2574,2418,2196,2096,2388,2154,2047,2939,3309,2130,2147,2243,2209,2763,3228,2645,2025,2116,1969,2237,3156,3283,3297,3504,2842,3088,3145,3386,3262,2578,2268,2796,3513,3413,3594,4062,3962,3494,3370,2574,2908,3123,3253,3286,3582,3597,3261,3306,2742,2450,2634,2836,2592,2556,2680,2720,3262,3620,3611,3500,3076,2824,2912,2963,2135,2087,1836,1997,1844,1700,1651,1844,1953,1548,1363,2125,2380,1924,1885,2111,2524,2880,2461,1982,1775,1314,1339,1657,1855,2010,2034,2252,2899,3544,2557,2006,2512,2638,3188,2977,2008,2177,2884,2915,3039,2987,3123,3010,3131,2566,1852,1758,2651,3580,3826,3781,3698,3222,2805,3438,3542,3437,3497,3110,2871,2335,1947,1960,2610,2666,1977,1954,2179,1972,1501,2114,2789,2408,1852,2094,2194,2191,3111,4112,3830,3087,2888,3104,2668,2208,2013,1935,2454,2336,2177,2985,3521,3449,3194,2973,2661,2631,2676,2966,2653,1744,1947,2873,2494,1952,2491,2356,2045,2266,2634,2994,3199,2251,1768,2514,3084,2707,2358,2865,3220,2655,2147,2217,2437,2250,2092,2655,2576,2920,2889,2938,2978,2939,3050,2812,2468,2121,1606,1360,1720,2070,2493,2932,2717,2976,3443,3558,3638,3343,2965,2562,2723,3337,2983,2226,3160,3374,2580,2994,3278,2570,2304,1950,2000,2876,3306,2665,2207,2326,2479,2009,1801,2178,2416,2357,2006,2020,2569,2832,2587,2746,3016,2974,3039,3196,3544,3542,3296,3084,3054,2866,2055,1594,2099,2383,2138,1989,2032,1875,1745,1893,1887,1983,2211,2576,3050,3572,3691,3682,3886,3754,3736,3664,3375,3436,3436,3330,2690,2354,2812,3422,3648,3526,3137,3021,2901,3146,2938,2775,2450,2842,3179,2440,2380,2759,2861,3038,3094,3529,3750,3172,3074,3373,3352,3345,3438,3147,3073,3342,3453,3254,3140,3056,2787,2944,3108,2555,2181,1960],[2345,1671,1620,2060,2270,2383,2565,2588,2489,2474,2288,2208,2293,2463,2985,3275,2900,2119,2497,3133,2460,2023,2294,2791,2292,2075,2128,2495,2631,2351,2777,2850,2834,2700,2615,2928,2495,2235,2613,2723,2530,3164,4134,3512,2185,1968,2131,2206,1876,1823,1965,2213,2498,2438,2227,2334,2665,2589,2214,2198,2251,2611,3022,2239,2281,2392,2072,2032,1880,1684,1655,1863,2709,3042,2853,2675,2586,2420,2180,2288,2055,1707,1956,1761,1869,2280,2399,2170,1831,1887,1961,1973,2206,2388,2566,2745,2965,2811,2430,2369,2203,2152,2019,2070,2436,2269,2115,1520,1757,2866,3255,3199,2967,2980,3031,2376,2437,3264,3601,2743,1898,1921,1960,2807,2942,2609,2471,2719,2930,2525,2563,2523,2094,2025,2588,2894,2624,2315,2680,2801,2085,1986,2404,2189,2422,3160,3124,2706,2866,2796,2455,2288,2735,3228,3518,3609,3489,3240,3187,3219,3283,3187,3275,3250,3350,3388,3339,3076,2833,2851,2896,2501,2173,2762,2841,2845,2372,2195,2753,2114,1854,1627,1665,2020,1819,1773,1962,2074,2463,2028,1679,1664,1590,1424,1359,1547,1561,1471,1480,1698,2007,2071,1876,1536,1729,1549,1570,1560,1611,1432,1978,2338,2010,1730,1848,2086,1983,2088,2003,1774,1656,1808,2191,2025,2286,2365,2077,1966,2386,2642,2279,2525,2578,3228,2433,2052,2211,2698,2880,2272,1838,1890,2216,2071,2398,2973,2148,1737,1700,1586,1663,2008,2270,1785,1519,1843,1909,1912,2287,2414,2192,2376,2239,2547,2482,2685,3022,3016,2746,2997,3205,2667,2565,2543,1162,1133,1829,2049,2116,2241,2724,2800,2612,2053,1193,1643,2144,2059,2338,2143,2071,2852,2595,2499,2523,2252,2116,2470,2839,3049,2786,2393,2356,2597,2958,2661,2435,1536,1368,1843,2293,2475,2545,2539,2642,2467,2390,2259,1820,1671,2685,2769,2366,2787,3169,3155,3055,2920,2557,2467,2445,2375,2026,1938,1560,1454,1149,987,1113,1513,2315,2710,2629,2322,1713,1920,2339,1715,1548,1650,2177,2540,2791,2900,2667,2575,2343,1753,1943,1897,2139,2292,2994,3222,2754,2292,2330,2230,2062,2152,2715,2421,1695,1473,1550,1616,1755,2126,1943,2126,2267,1759,1748,2099,1931,1714,1787,2470,2922,3109,2756,2966,3321,2484,2160,2317,2517,2865,2774,2672,2544,2433,2336,2150,2134,2787,2908,2720,2512,2479,2454,2943,3727,3960,3967,3373,2783,2907,3195,2489,2191,1982,1907,1960,1596,1265,1699,2102,1704,1407,1754,2159,2025,2022,2017,1697,2311,2833,3090,3071,2767,2896,2786,3046,2639,1942,2074,2553,2310,2425,2624,2477,2204,2038,2063,2148,2072,2159,2309,2454,3165,3653,3205,2357,2055,2140,2182,2122,2232,2577,2750,2763,2851,3176,3100,2979,3068,2529,2439,2797,3165,2918,3121,3467,3211,3183,3284,3275,3385,3416,2688,2367,2727,2584,2754,2423,1958,2109,2260,2316,1937,1576,1516,1564,2111,2396,1907,1683,2103,1868,1611,1697,2197,2729,2237,2018,1706,1799,2160,1916,1642,1890,2539,3161,3378,2976,2159,2042,1857,2221,2646,1753,1936,1708,1650,1904,1832,1387,1794,2023,1688,1448,1673,1896,1706,1617,1694,1972,2035,2265,2253,1917,1640,1527,1686,1722,1519,1624,1955,2371,1814,1694,1662,1755,1759,1766,1469,1638,2095,2133,1874,1699,2469,2852,3726,3848,3591,3242,3515,3658,3604,3640,2809,2805,3033,3128,3794,3614,3161,2529,2382,2098,1858,2601,3616,3571,3794,4298,4056,4106,4200,4216,4082,2353,1709,2414,2946,3085,3593,3920,3830,3812,4065,4033,4034,3898,3718,3672,3560,3628,3564,3338,2783,2562,2621,1977,2059,2458,2624,2583,2563,3117,3410,3427,3531,2910,2053,1954,2296,2597,2347,2308,2295,2114,2300,2149,2344,2589,2326,2087,2216,2235,2257,2263,2380,2502,3226,3708,3808,4156,4332,4459,4369,4111,3860,3454,3321,3395,3291,3174,3320,3348,3287,3261,3110,2956,2994,3251,3287,3338,3350,3014,3097,3288,3162,3102,3364,3974,4473,4108,3459,3248,2912,2241,1955,1974,2015,2198,2574,2700,2668,2562,2945,2921,2570,2501,2600,2565,2268,2037,2556,3191,2889,2613,2853,3363,3472,3476,3364,3786,4136,3960,3689,3042,2458,2337,2460,2047,1796,1882,2309,1908,1381,1897,2054,1999,2056,1617,1579,2441,2958,3129,3289,3253,3319,3087,2532,2111,2180,2540,3054,3038,1983,2102,3130,3053,3528,4324,3837,3548,3530,3335,3138,3235,2957,2519,2447,2258,2758,3581,3835,3277,3332,3667,3464,3056,2890,2186,2569,3620,3933,3947,3996,4051,3595,3765,4025,4262,4165,3572,3105,3241,3277,3226,3405,3725,3830,3915,3785,3666,3518,3009,3164,2850,2518,2608,2644,2309,2101,2576,3046,3110,3300,3163,2298,1757,1838,1950,1759,1506,1680,2633,2803,1901,1768,2530,3135,2754,2699,3169,2865,2423,2343,2539,2564,2648,2503,2463,2823,2229,1793,1670,2279,2430,2319,2823,2423,1985,2275,2075,1829,2104,1721,1384,1802,1963,2177,1825,1461,1569,1526,1751,2060,1744,1579,1650,1749,2191,2017,2224,2716,2394,2050,1817,1481,1340,1448,2318,2678,2201,2438,2679,2661,2387,2485,2536,1935,1746,2177,2394,1778,1793,2393,2854,3144,2822,2160,2153,2115,3024,3091,2675,2692,2664,2017,1551,1533,2518,2750,1963,1874,1852,1919,1977,1863,1883,1996,2231,1986,1655,1553,1799,2063,1772,1687,1821,2198,2623,2254,2142,1890,1782,1864,2575,2707,2143,2044,2041,2513,2743,2639,2365,2076,2331,2517,2856,3211,3347,3760,3883,3287,3076,3680,3906,3082,2180,2229,1879,1687,1581,1591,1707,1816,1901,1990,1897,1587,1788,1826,1786,1922,1918,1706,1721,2059,1716,1344,1317,1349,1454,1657,1652,1522,1597,1947,2199,2367,2589,3044,2990,2799,2618,2609,2600,2209,2065,1835,1936,1991,2015,2198,1839,2070,2487,1886,1372,1270,1450,1503,1576,1652,1536,1701,2130,2149,1814,1853,1981,2164,2102,1955,2510,3256,3549,3234,2537,2478,1550,2254,2661,2688,2930,2917,2587,2557,2990,3355,3179,2845,3403,3571,3982,4364,4112,4157,3895,3896,4051,3808,3449,3401,3781,4289,3973,4042,4763,4244,3637,3008,1786,1382,1475,1835,2905,3838,3382,3127,3202,3432,3683,4047,3620,3037,2672,2612,2486,2258,2141,2160,1823,1919,3185,4229,4312,4356,4728,4597,4716,4730,4554,4472,4286,3789,3594,3060,3034,3244,2330,3403,4416,4399,4516,4381,4252,4389,3852,3664,4345,4286,4300,4404,4483,3725,3033,2834,2745,2999,3266,3427,3493,3500,3525,3681,3806,3935,3732,3496,3328,4249,4865,4697,4335,4253,4299,4260,4063,3309,3248,3255,3251,3195,3251,3360,3352,3117,2853,2922,3142,3276,3458,3360,3547,4065,4244,4140,4599,4644,4251,4185,4256,3960,3529,3845,4525,4485,4268,4164,4567,4407,3988,4055,4080,3814,3270,2979,2677,2494,2953,3411,2982,2574,2484,2252,2226,2104,2152,1954,1831,1443,1417,1931,2033,1688,1986,1938,2122,1718,1849,2104,2018,1931,2223,2802,2901,2542,2451,2458,2448,2115,1771,1574,1615,1680,1754,1675,1524,1657,1596,1288,1473,1552,1523,1468,1674,1744,1592,1432,1479,1925,1940,1738,1846,2205,2238,1622,1487,2248,2791,2237,1649,1603,1641,2152,2758,3457,4093,3400,1989,1898,2437,2504,2108,1679,1476,1572,1555,1462,1548,1781,1680,1522,1446,1651,1971,2038,2054,1679,1635,1597,2238,1995,2293,2480,2611,2355,1779,1814,1786,2167,2940,3153,3067,2524,2365,2699,2895,2844,3212,3871,3913,3753,4081,4072,3986,4072,3491,3323,3732,3802,3471,2489,2144,2922,3718,4252,4126,3971,3957,3675,3406,3526,3790,4020,3575,2855,2855,3458,3916,3710,3217,3117,3487,3353,2872,2468,2212,2167,2785,2841,2746,2967,3131,3106,3042,3204,3284,3420,3220,2536,2430,2388,2012,2327,2391,2217,2063,2026,2199,2043,2198,2128,1861,1706,1952,2176,2435,2593,2523,2601,2264,2056,2008,1628,2436,2331,2322,2476,2093,2073,2120,1898,1951,2127,1975,1970,2259,2544,2312,1898,1734,1781,1941,2069,1919,2337,2543,2226,1995,2083,1979,1989,2156,2126,2179,2232,2401,2039,2074,2359,2027,2279,2695,2178,1987,2094,1996,2190,2585,2669,2734,3232,2878,2463,2262,2863,2921,1804,1433,2007,2629,2866,3472,3779,3973,3886,3830,3537,2939,2558,2902,3064,3028,3155,3270,3087,2087,2573,2842,3209,3394,3029,3024,3313,3300,2908,2852,3222,3379,3201,2773,2879,2718,2424,1935,1852,1762,1656,1569,1557,1628,1767,2007,2808,2586,2277,2053,2020,2285,2329,1941,1554,1244,1355,1662,2189,2325,2634,2933,2722,2926,3054,2431,2284,2910,3421,3573,2938,2092,1999,2706,2976,3250,2996,2655,2898,2672,2387,2456,2465,2985,3724,3929,3956,3854,3443,2949,3083,2933,3572,3208,2586,2874,2542,2136,2353,3117,3353,2703,2375,2009,2461,2024,2778,3107,2803,2418,2740,3051,2584,2834,3713,3693,3343,3105,2844,2484,2357,1937,1839,2310,2412,2521,3086,3759,3654,3096,3032,3141,3144,2871,3082,2212,1823,2497,3308,3421,3031,2666,2350,1958,2972,3015,2784,2785,2120,1857,2753,3034,2396,2325,2941,3183,3204,2646,1422,1893,2699,2556,2907,3569,3366,2867,3375,3616,3596,3466,3144,2999,2458,1931,1654,1637,1600,1856,2878,2811,2507,2623,3409,3916,3548,2764,2458,3255,3442,2292,1864,3168,3698,3209,3230,3205,2624,2302,2246,1987,2160,3067,2526,2105,2092,2395,2394,2201,2586,2646,2312,2211,2525,2685,2740,2371,2479,2570,2296,2738,2895,3168,3494,3383,3110,3302,3056,1971,1614,2582,2559,2237,2066,1887,1699,1749,1577,1526,2347,3197,3431,3104,3449,3673,3330,3386,3553,3585,3471,3243,3066,3370,3124,2548,2508,2702,3161,3265,3159,2797,2414,2381,3056,2757,2524,2603,3463,3947,3050,2600,2945,2833,3119,3554,3633,3860,3673,3678,3423,3141,3143,3173,2756,2659,3080,3039,2645,3118,3317,2944,2874,3167,3049,2307,1569],[2156,1756,1585,1925,2268,2496,2757,2855,2721,2426,2180,2234,2388,2432,2996,3257,2814,2045,2002,2634,1992,1802,2366,2322,2274,2190,2170,2881,2718,2410,3208,3631,3142,2862,2792,3033,2615,2415,2844,3094,3124,3703,4345,3733,2574,2109,1922,2020,1780,1570,1622,2257,2607,2299,2210,2171,2211,2553,2547,2202,2214,2523,3150,2780,2099,1800,1816,1907,1853,2048,2122,2495,3117,2994,2686,2656,2634,2442,2300,2027,1682,1671,1811,1765,1828,2245,2331,1998,2024,2194,2288,2306,2427,2468,2557,2494,2742,2946,2593,2586,2904,2755,2224,2501,2976,2207,1778,1724,2310,3047,3351,3366,3356,3759,3605,2806,3104,3196,3190,2685,2086,1685,1873,2766,2884,2373,2332,2834,3252,3228,3095,2450,2167,2108,2700,3017,2573,1723,1246,1516,1838,2091,2471,2070,1990,2659,3010,2552,2500,2676,2066,2065,2766,3113,3441,3569,3572,3285,3072,3338,3504,3440,3288,3312,3448,3429,3404,3162,2928,2811,2680,2414,2496,3470,3179,2421,1764,2507,3100,2392,1972,2117,2442,2693,1986,2107,2347,1919,1725,1528,1794,1618,1519,1796,2018,2271,2215,1638,1561,1643,1792,1968,2010,1788,1910,1620,1457,1454,1445,1448,1658,1687,1730,1806,1717,2339,2301,2220,1903,2061,2084,2150,2244,2316,2692,2744,2468,2116,2088,2196,2476,2523,2411,2312,2231,2070,2217,2288,2185,2385,2488,1947,2320,2678,3053,3097,2182,1610,1720,1859,2305,2552,2156,1499,1344,1860,1891,1816,1976,2356,2402,2697,2644,2502,2478,2754,3410,3659,3325,3475,3396,3065,2799,2388,1548,1451,2024,2153,2231,2298,2504,2647,2509,2380,1790,2082,2061,1729,1905,2076,1951,2288,2393,2375,2556,2495,2596,2541,2380,2519,2471,2618,3029,3294,3378,3249,2686,1395,1515,2378,2666,3149,3293,2971,2579,2596,2902,2295,1628,1980,2946,2656,2720,3244,3156,3263,3286,3206,3360,3227,2163,2478,2578,2226,2139,1670,1672,1964,1628,1533,2525,3360,3496,2381,1994,2036,2083,1692,1473,2098,2918,3256,3271,2577,2264,2398,2222,2169,2668,2485,2474,2462,2330,2201,1790,1539,1816,2386,2379,2384,1780,1461,1927,1858,1989,1884,1979,2321,2249,1933,1660,1837,2068,2569,2554,1888,1971,1996,2017,2611,2539,2873,3072,2370,1654,1680,1853,2073,2011,2320,2215,2346,2446,2361,2148,2710,3387,3311,3234,3238,3098,3609,3441,3130,2768,2562,2336,2986,3438,3415,2887,1959,2243,2649,1991,1465,1815,2164,1550,1350,1474,1826,1625,1666,1803,1762,2108,2762,3268,3044,2765,2897,2438,2756,2676,2490,2275,2298,2125,2353,2608,2336,1873,1957,1955,1977,2009,2073,2166,2324,2921,3364,3398,2670,2153,1948,2162,2297,2513,2852,2915,3056,3166,3286,3156,3148,2788,2895,3187,3248,3100,2999,2998,2867,2675,3023,3293,3660,4002,3706,2930,2651,3150,2920,2156,1892,1790,1893,2140,2322,2194,1876,1536,1759,2007,2034,1986,2253,2490,2075,1428,1436,1768,1992,1866,2107,1714,1567,1743,1661,1783,2272,2808,3181,3353,2769,2054,1891,1734,1604,1692,1697,1854,1949,2164,2231,1828,1591,1750,1921,1869,1836,1949,1867,1677,1677,2150,2787,2530,2329,2523,2387,1817,1758,1798,1947,1760,1647,1694,1826,1489,1316,1821,1770,1423,1387,1383,1543,1628,1553,1639,1913,2548,3045,3312,3525,3534,3232,3514,3694,3498,3100,2670,2977,3183,3476,3638,3648,3012,2686,2610,2209,2423,3056,3486,3725,4180,4240,4099,4219,4263,4291,3868,2566,2212,2038,2238,3121,3663,4557,4624,4656,4588,4508,4364,4081,3974,4147,3893,3452,3377,3233,2906,2805,2355,1754,2525,2822,2776,2854,2962,3454,3356,3165,3542,2640,1725,1903,2376,2763,2743,2800,2715,2514,2458,2328,2326,2474,2218,2148,2415,2634,2266,2043,2470,2591,3651,3921,3768,4080,4377,4419,4310,4082,3775,3197,2912,3197,3227,3285,3311,3218,3260,3120,3030,2915,2889,3019,3297,3475,3518,3469,3485,3706,3880,3674,3578,3985,4338,4068,3705,3248,2646,2186,2370,1753,1707,1841,2135,2888,3198,3204,3106,2979,2750,2508,2440,2472,2332,2156,2896,3567,2820,2187,2543,3337,3585,3951,4228,4288,4356,4140,3567,2866,2938,2534,2143,1652,1724,2034,1974,1543,1400,1566,1779,2364,2746,2080,2467,3134,2853,2595,2556,2864,3011,2400,1831,1815,2019,2460,3269,3343,2138,2887,3356,2861,3432,4189,3761,3429,3552,3406,3264,3219,2631,1748,2005,2491,3206,3973,4208,4071,3794,3990,3558,2670,2366,2525,3038,3651,3838,3926,3936,3906,3814,3737,3936,4173,3953,3624,3569,3429,3275,3149,3216,3692,3872,3905,3803,3023,3036,2714,2398,2168,2056,2347,2771,2522,2284,2643,3628,3512,3381,3465,2861,2270,1947,2241,2316,1822,1673,2250,2707,2000,1760,1925,1846,1917,2305,2543,2144,1771,2174,2664,2384,2100,1893,2139,2640,2498,1972,2292,2793,2923,2656,3038,2874,2498,2159,1852,2215,2353,1750,1444,1472,1573,1958,1807,2031,2200,2169,2348,2473,2099,1451,1331,1586,1831,1790,1907,2461,2549,2019,1785,1720,1711,1760,2093,2468,2410,2715,2686,2176,2082,2452,2308,1720,1442,1813,2042,1906,2284,2389,2457,2618,2139,2109,2473,2828,3492,3232,2699,3018,2847,2371,1957,1528,1923,1959,1724,1822,1909,1709,1970,1889,1895,2066,2084,2185,2225,1780,1899,2032,2152,1830,1652,1886,2503,2285,2081,1914,1785,1778,2155,2304,2447,2447,2031,2318,2788,2639,2455,2456,2588,2521,2569,2953,3530,3926,3497,2835,2951,3188,3721,3608,3353,2699,1887,1622,1542,1683,1968,2191,2105,2032,2136,1677,1728,1816,1722,1874,2010,2037,2722,2570,1553,1279,1337,1470,1460,1626,1780,1416,1555,2100,2263,2134,2210,2346,2496,2834,3182,3383,2930,1997,1873,1958,2163,2163,2403,2728,2345,2583,2864,2180,1527,1268,1461,1769,1966,1749,1512,1671,2200,2492,1925,1671,1829,1776,1577,1578,2054,2648,2848,3709,3440,3002,2371,2786,3041,2879,3113,3117,2625,2920,3182,3231,3010,3107,3573,3824,4140,4433,4552,4657,4321,3480,3361,3900,3733,3098,2875,2814,3198,3118,4211,3940,3962,3961,2705,1818,1694,2488,3506,4223,3798,3334,3562,3544,3587,4284,4153,3206,2657,2363,1938,1595,1388,1474,1378,1311,2312,3818,4297,4272,4362,4486,4598,4377,3833,3858,4308,3834,3218,2938,3345,3138,2566,3772,4659,4431,4180,4269,4386,4473,3803,4016,4476,4465,4513,4797,4136,3659,3307,2786,2761,2930,2857,3243,3614,3828,3671,3784,3896,3982,3666,3394,3472,4336,4821,4544,4259,4155,4227,4272,4269,3664,3291,3183,3197,3177,3216,3256,3306,3240,2974,3090,3237,3393,3421,3395,3770,4152,4064,4168,4585,4644,4689,4548,4216,4112,4172,4456,4673,4532,4187,4160,4471,4355,3988,3933,3853,3362,2774,2584,2561,3364,3354,3360,2778,2221,1918,1998,2100,1921,1707,1912,1910,1752,1713,1753,1987,2069,2084,1942,2174,1868,1823,2182,1981,1632,2172,3083,3027,2536,2329,2296,2288,2057,1801,1487,1379,1591,1825,1829,1508,1526,1501,1376,1520,1692,1672,1541,1353,1259,1291,1290,1555,2036,1958,1610,2031,3042,2958,2180,1977,2541,3395,2648,1896,1754,1836,1822,1815,2521,3553,3331,1962,1930,2135,2515,2304,1914,1782,1741,1856,1659,1666,1889,1613,1375,1492,1838,2072,1775,1602,1760,1944,1776,1960,1854,1704,1998,2271,1842,1441,1783,1867,2106,2171,2360,3052,3340,3328,3104,3294,3740,3850,3963,3898,3526,3915,4059,3320,2990,3248,3311,3133,2697,2542,2395,2337,3005,3979,4752,4496,3970,3276,3064,3351,3726,3983,3968,3819,3750,3709,3966,3875,3457,2861,2746,3172,3354,2998,2474,2588,2573,2529,2840,2864,2967,3200,3162,3162,3343,3482,3386,2999,2696,3018,2761,2408,2701,2957,2918,2649,2308,2010,1824,2508,3006,2862,2670,2250,2211,2866,2866,2714,2853,2985,2619,1835,1908,2556,2349,2451,2821,2723,2631,2416,1863,2175,3112,2684,1879,1835,2706,2405,1730,1703,1783,1781,1842,1776,2129,2439,2104,1834,2122,2185,2468,2106,2014,2230,2060,1913,1824,1785,2005,2121,2172,2262,2359,2320,2497,2139,2155,2124,2137,2325,2796,2526,2050,2083,2469,2369,1761,1525,1576,2577,3044,3595,3769,3862,3617,3545,3216,2083,1736,2299,2552,2103,2168,2692,2731,2583,2890,2972,3233,3276,2974,3024,3471,3406,2810,2731,3050,3204,3284,3161,3530,3664,2856,2155,2208,2303,2233,1828,1852,2212,2603,2540,2652,2698,2372,2010,1838,1990,2080,1889,1400,1046,1652,2344,2533,2273,2132,2137,2028,2287,2397,2533,2501,2568,3243,3454,3320,2966,2654,2705,2678,3226,2947,2167,2231,2225,2603,3144,3326,3736,3846,4156,4204,3906,3768,3293,2877,3292,4407,4141,3915,3620,2770,2313,2430,2786,2715,2325,2107,2171,2739,3119,3605,3270,2541,2265,2950,3494,3310,3616,3750,3451,3350,2931,2302,2319,2659,2358,1845,1935,2342,2123,2263,3306,3517,3458,3518,3864,3694,3021,2724,2756,2986,3028,2958,3386,3174,2867,3021,2351,2340,2245,2485,2331,2305,1910,1957,2513,2939,3161,3022,3093,3298,2320,1660,2404,3196,2899,3138,3573,3306,3536,4004,3652,3515,3342,3051,2739,1819,1756,1697,1780,1740,2135,2856,2677,2433,2845,3330,3541,3443,3291,3531,3657,3298,2453,2658,3348,3631,3471,3528,3383,2994,2508,2470,2666,2344,2458,2144,2134,2200,2663,2562,2523,2740,2133,1702,2161,2894,1998,2107,1968,2190,2156,2051,2511,2741,2902,2999,2673,2554,2702,2632,2315,2090,2823,2509,2266,2096,1902,1748,1761,1918,2455,2924,3521,3577,2833,3261,2922,2849,3114,3436,3552,3393,3184,2874,2556,2438,2670,2520,2867,3589,3669,3072,2508,2510,2718,3174,3167,3107,3539,4099,3726,2741,2551,2924,3334,3342,3915,3435,3601,3645,3438,3160,2860,2820,3031,2764,2554,2787,3096,2850,2512,2856,2735,2315,2524,2662,2077,1287],[2054,2178,2202,2214,2529,2496,2269,2409,2481,2152,2204,2175,2591,2558,3015,3317,2580,1937,2087,2688,1865,1374,2141,2331,2244,2270,2165,2928,2906,2235,2974,3488,3160,2800,2896,3279,3278,2950,2779,2890,2762,3141,3291,3177,2505,2066,1952,1847,1820,2082,2685,3020,2670,2237,2161,1776,1665,2158,2733,2593,2560,2669,2833,2952,2555,2145,2308,2283,2199,2482,2126,2518,2859,2833,2331,2390,2620,2310,2030,2065,2014,1678,1854,2027,2121,2263,2278,2293,2202,2133,2438,2544,2470,2452,2217,1921,2199,2411,2109,2610,2556,2420,2840,2712,2587,2258,1935,2255,2722,2943,3120,3178,3479,3479,3012,3209,3410,3018,2867,2514,2318,2459,2618,2741,2648,1930,2416,3050,3118,3045,2810,2628,2613,2352,2495,2699,2474,1973,1621,1941,2317,2474,2605,2108,1793,2077,2349,2055,2062,2129,1854,2162,2919,3067,3273,3393,3503,3424,3256,3488,3732,3516,3241,3334,3413,3374,3218,2939,2854,2689,2218,2350,2203,2849,3178,2557,2038,2388,2755,2586,2578,2392,2056,1964,1749,2621,2442,2071,1843,1783,1998,2076,2299,2652,2701,2934,2763,1850,1572,1577,1621,1695,1841,1990,1746,1561,1584,1398,1385,1831,1678,1555,2315,2372,2153,2608,2477,2092,2212,2239,1764,1897,2167,2295,2626,2872,2874,2387,2197,2232,2684,3335,3073,2834,2665,2235,2158,1775,2056,2287,1913,1742,1974,2048,2344,2657,2314,1819,2024,2450,2578,2352,2092,2008,1860,1835,1562,1655,1854,1925,2258,2880,2916,2545,2497,2802,3312,3808,3985,4092,3649,3138,2649,2473,2193,2063,2284,2241,2338,2520,2484,2285,2050,2620,2475,2334,2056,2184,2565,2316,2181,2548,2284,2379,2585,2548,2825,2835,2448,2232,2575,2775,2773,3168,3270,3141,1952,1135,2020,2558,2705,3604,4063,3504,2526,2400,2790,2410,2060,2769,3168,2990,2800,2778,1947,2149,3243,3308,3193,2678,2385,2889,2797,2491,2188,1668,1945,2287,1880,2076,2922,3474,3138,2227,2095,2262,2270,2167,2004,2268,2900,3169,2808,1601,1771,1853,2154,2469,3477,2951,2082,1953,1793,1709,1563,1583,1579,1829,2116,2415,1848,1868,2100,1906,1680,1616,1995,2396,2459,2071,1920,2187,2042,2738,2915,2259,1854,1558,1854,2219,2251,2600,3345,3083,1686,1441,1787,1830,2115,2275,2477,2841,2557,2370,2094,2464,3219,3218,3448,3205,3106,3311,2557,2600,2344,2452,2325,2709,3049,3253,3056,2217,2222,2507,2020,1650,1484,1964,1900,1770,1944,2070,1745,1613,1638,1614,1836,2387,2907,2762,2600,2341,2464,2899,2740,2317,2154,2192,2199,2494,2513,2228,1717,1824,1932,1970,2001,1974,2048,1972,2478,3177,3252,2828,2076,1916,2146,2068,1784,2094,2371,2516,2730,3120,2956,2631,2852,3240,3007,2553,2187,2884,2405,2607,2698,3012,3427,3672,3942,3560,2869,2671,2957,2998,2430,2098,2076,1946,1717,1931,2263,2365,1873,1914,1887,1650,1732,1940,2348,2668,2264,2491,2127,1698,1715,2072,1902,1758,1808,2065,3017,3475,3485,3015,2636,1699,1725,1856,1765,1594,1499,1605,1535,1557,1722,1903,2200,2492,1928,1646,1776,2088,1986,1616,1572,1746,2137,2499,2284,1980,2441,2967,2110,1868,2091,2504,2522,2035,1905,2053,1666,1678,1832,1630,1793,2007,1744,1930,2041,1770,2062,2457,2773,2853,2928,3476,3636,3252,3585,3819,3166,2654,2567,2840,2957,2739,2732,3263,3138,3002,2873,2447,2714,3128,3284,4014,3929,4074,4123,3785,4123,4320,3406,2611,2210,2285,3334,4030,4244,4814,4456,4514,4676,4992,4960,4735,4580,4509,4200,3651,2743,2727,3206,3138,2329,2083,2596,2723,2720,2832,2939,3510,3111,2328,2519,2392,1956,2175,2752,2727,2981,3140,3007,2935,2765,2570,2620,2543,2374,2253,2461,2670,2339,2355,2891,3253,3748,4052,3861,3869,4332,4480,4376,4047,3551,2975,2641,2965,3106,3145,3273,3405,3374,3298,3220,3128,3017,2829,3343,3355,3415,3440,3361,3469,3495,3435,3523,3780,3759,3670,4112,3768,2976,2641,3159,2579,2104,1918,2270,2939,3523,3547,3332,3254,3106,2978,3096,2799,2529,2503,2618,2865,2833,2475,2694,3257,3762,4389,4640,4481,4236,3811,3078,3205,2910,2353,1983,1516,1693,2217,1978,1640,1875,1932,2284,2946,3010,2285,2361,2768,2393,2044,1863,1776,1768,1795,1754,1689,1746,2187,2923,3608,2784,3183,3262,3274,3295,2825,2895,3506,3672,3731,3643,3196,2752,2576,2931,3098,3149,3690,4115,4297,4141,3470,2728,2801,2931,3045,3160,3194,3329,3816,3872,3475,3628,3590,3631,3647,3007,2965,3432,3449,3359,3155,3223,3488,3448,3505,3506,3051,2711,2165,1788,1351,1365,2676,3594,3299,2786,2551,3519,3720,3595,3488,3294,2850,2524,2720,2438,1935,1697,1506,1655,1839,1833,1653,1551,1706,2078,2287,1883,1406,1838,2626,2529,2443,2097,2700,2881,2639,2830,2943,2939,2763,2565,2769,2774,2574,2024,2207,2453,2071,1527,1471,1514,1952,2045,1784,2626,3032,2570,2453,2485,2310,1998,1865,2016,2125,1880,1844,1887,2189,2105,1666,1831,2121,1866,1705,2398,2758,3001,2542,1961,2281,2691,2260,1726,1570,1615,1871,2250,2581,2215,1903,1944,1783,2046,2279,2495,3011,2877,2513,2414,1923,2411,1819,1259,1470,1423,1545,1505,1586,1524,1754,1924,1751,1968,2393,2391,2325,1803,1870,1987,2266,1905,1743,1648,2236,2307,1868,1781,1869,1992,2156,2072,2343,2397,2352,2120,2724,2878,2839,2878,2730,2421,2206,2448,3154,3333,2743,2700,2710,2994,3615,3437,2692,1843,1558,1589,1539,1543,1731,2104,2277,1858,1635,1565,1597,1772,1867,1959,2026,2055,2088,1636,1453,1328,1384,1434,1406,1452,1541,1423,1387,1868,2237,2196,2382,2308,2426,2852,3220,2944,2544,2309,1891,2026,2167,2442,2697,2404,2047,2317,2837,2059,1393,1471,1871,2267,2227,1866,1678,2026,2681,2656,1888,1744,1758,1590,1414,1487,1591,2233,2143,3267,4037,3689,3131,3018,2959,2915,2940,3178,3009,3154,2999,3195,3375,3603,3812,4228,4432,4397,4449,4441,4125,3638,3738,4003,4156,3474,3369,3519,3699,3022,3251,3876,4705,4205,2983,2533,2713,3216,4333,4496,3708,3306,3453,3594,3148,3515,4410,3685,2814,2517,2238,1599,1679,1479,1440,1254,1347,2432,3729,4317,4311,4351,4317,3919,3408,4012,4584,4208,3840,3530,3045,2531,2479,3352,3969,4073,4108,4313,4433,4136,3615,3758,3728,4151,4643,4740,4140,3605,3050,2564,2697,2908,2791,3807,3925,3694,3464,3686,3881,3937,3868,3663,3761,4109,3991,3672,3962,4042,4067,4245,4144,3927,3383,3056,3098,3151,3144,3161,3269,3244,3255,3506,3532,3718,3665,3620,3825,3860,3882,4024,3884,4157,4621,4453,4237,4448,4652,4720,4767,4577,4308,4450,4400,4226,4212,4031,3518,2767,2099,2409,3251,3407,3176,3345,2791,2132,1833,1727,2138,2105,2085,2199,2191,2040,1713,1802,2096,2232,2249,2264,2204,1927,1764,1836,1833,1802,2186,3024,2724,2364,2452,2329,2126,2025,2010,1772,1641,1562,1738,2044,1447,1433,1580,1357,1420,1494,1498,1561,1405,1270,1325,1406,1751,2327,2252,1875,2776,3730,3388,2283,2019,2353,2748,2610,2162,1899,1992,1760,1420,1902,2281,2774,2299,1904,1878,2006,1792,1919,1905,1958,2177,1925,1626,1880,1772,1611,1721,1675,1949,1686,1559,1837,2452,2496,2110,1812,1451,1549,1809,1531,1449,1760,1617,2126,2221,2420,3012,3465,3391,2950,3166,3868,3970,3939,3838,3144,3462,3768,2967,2961,3232,3044,2742,2282,2551,2764,2682,3841,4411,4352,4009,3464,2687,2784,3206,3540,4021,4084,3841,3861,3964,3276,2849,2977,2341,2543,3060,3129,3082,2989,3089,3016,2851,2889,3027,3154,3161,3309,3381,3452,3467,3164,2710,3188,3676,3028,2858,3376,3785,3475,2746,2234,1709,1642,2956,4062,3833,3760,3647,3061,2732,2901,2875,2777,3881,3738,3067,3213,3051,2684,2804,3316,3444,3024,2619,2437,2944,4300,3949,2593,2443,2330,2127,2251,2213,1882,1713,1869,2149,2399,2388,2250,2025,2434,2500,2585,2069,1813,1842,1853,1894,1823,1684,1772,2036,2200,2117,2663,2620,2474,2178,2192,2314,2397,2547,2776,2821,2333,2484,2394,2356,2443,2649,2389,2447,3194,3840,3830,3782,3496,3406,2633,1547,1455,2338,3119,2563,2252,2645,3190,3414,3220,3310,3370,2916,2938,2946,3396,3392,3699,3809,3620,3361,3419,3442,3321,3491,3248,2331,2048,2499,2393,2192,2243,2693,2424,1985,1832,2108,2459,2413,2189,2422,2308,1958,1715,1709,2145,2234,1949,1983,2177,2185,2001,1924,2282,2547,2395,2495,3044,3470,3435,3365,3164,2320,1604,2587,2402,1755,1847,2014,2888,3576,3254,3127,3436,4156,4154,3442,3361,3458,3306,3940,4287,4149,4136,3706,3458,3398,3457,3387,2779,2629,3037,3141,2728,3259,3582,3229,2623,2368,2814,3411,3472,3998,3796,3408,3415,2449,1509,1757,2832,2977,2053,2410,2666,2188,2858,3274,3234,3634,3795,3648,3682,3538,3344,3251,3443,3021,2476,2997,2797,2253,2998,2755,1943,1986,2409,2352,2428,2182,1863,2516,3252,3304,3061,2758,2657,2125,2160,3025,3117,2735,2876,3420,3874,4049,4034,3697,3228,2930,2697,2171,1820,1649,2315,2766,2467,2553,2639,2323,2241,2744,2973,3298,3804,3598,3517,3542,3198,3050,2942,3270,3505,3215,3410,3323,3173,2730,2233,2306,2296,2253,2216,2078,1754,1981,1881,1855,1960,1895,1584,1864,2342,2151,2598,2314,2191,2229,2061,2594,2766,2107,2265,2130,2451,2688,2800,3448,3490,3099,2575,2204,2022,2056,1930,1819,2434,3220,2975,2909,2856,2249,2718,2539,2858,2993,3196,3395,3379,2984,2283,1761,1951,2150,1922,2480,3184,3188,2713,2808,2918,3052,3278,3232,3177,3414,3934,3817,3421,3010,3343,3917,3774,3521,3081,3233,3391,3188,3072,2790,2585,3237,3016,2688,2992,3247,3094,2958,3050,2525,2249,2316,2091,1854,1752],[2789,2757,2578,2619,2569,2190,1892,2063,2534,2825,2304,1722,2004,2383,3121,3152,2323,1778,2328,3007,2596,2134,2143,1694,1689,2222,2181,2303,2314,2127,2699,3379,3489,3248,3031,3296,3305,2908,2512,2911,2918,2792,2458,2576,2250,1943,2043,1826,2121,2639,3452,3664,3003,2436,2030,1807,1843,1865,2305,2336,2436,2533,2496,2756,2796,2636,2901,2562,2742,2662,2620,2323,2511,2727,2366,2404,2523,2309,2252,2338,2295,2142,2234,2223,2437,2388,2721,2587,1918,1813,2176,2489,2448,1957,1745,1688,1959,1868,1725,2511,2234,2492,3288,2885,2651,2702,2502,2644,2592,2436,2535,2879,3960,3795,3128,3229,3382,3391,3085,2724,2806,2678,2459,2632,2954,2902,3400,3414,3152,3062,2922,2901,3063,2894,2526,2349,2358,2049,2027,2887,2930,2495,2756,2980,2492,2391,2555,2396,2145,1934,2165,2786,3068,3116,2951,3140,3454,3696,3671,3706,3686,3303,3100,3178,3232,3276,3182,2974,2823,2729,2466,2648,2830,3124,3347,3320,3145,2961,2849,2662,2815,2343,2107,1708,1685,2165,2146,2275,2281,2161,2476,3182,3334,3161,2833,2835,2592,2300,2221,2456,2265,1869,1809,1953,1698,1542,1662,1760,1826,2106,1662,1852,3220,3155,2532,2077,1824,1872,2143,1776,1433,1880,2078,2101,2225,2564,3017,2908,2453,2155,1977,2297,2482,2881,3116,2437,2084,2048,2068,1571,1588,2048,1875,1473,1455,1826,2160,2438,2412,2491,2446,2208,1886,2020,1990,1781,1542,1659,1790,1819,2037,2460,2942,2736,1892,1928,2475,3092,3698,4090,3912,3355,2996,2878,2603,2344,2135,2134,2222,2391,2757,2159,2014,2480,2386,2344,2654,2995,2950,2449,1994,2238,2700,2636,2358,2542,2602,2712,2337,2629,2885,2702,2679,2499,2940,2803,1358,1435,2310,2391,2820,3517,3805,2844,2044,2211,2519,2278,2554,3270,3189,3037,2272,2125,2020,2199,3248,3270,3031,2761,2590,2646,2555,2271,1908,1583,1918,2210,1880,2100,2552,2917,2712,2403,2486,2598,2597,3006,2894,2763,2952,2734,2590,2185,2332,2087,1910,1717,2448,2264,2182,2759,2483,2047,1715,2134,2187,2044,1939,1831,1435,1365,1892,2098,1658,1506,1714,2410,2464,2259,2456,2344,2260,2952,2899,2026,1381,1551,2020,2035,1736,1835,2532,2714,2054,1668,1938,2029,2076,2296,3036,3220,2994,2555,2294,2615,2556,2489,3373,2824,3212,3450,2518,2270,2665,2864,2460,2418,2543,2490,2626,2540,1722,1793,1566,1437,1456,1819,2273,1987,1959,2091,1657,1454,1442,1527,1564,1666,1890,2084,1904,2011,2602,2545,2329,2237,2126,2099,2214,2106,1939,1559,1437,1761,1891,2019,2018,1945,2005,1934,1955,2385,2850,2789,2220,2478,2386,2253,1812,2457,2679,2428,2576,2975,3178,3124,3050,2947,2864,2677,2373,2933,2552,2724,2548,2541,3250,3521,3600,3297,2766,2601,2841,2956,2858,2435,2351,1955,2117,2310,2433,2646,2358,1991,1744,1487,1484,1657,1851,2446,2570,2358,2039,1968,2057,2076,2012,1896,1786,2073,2852,3305,2987,2420,1992,1797,1876,1766,1817,1710,1555,1678,1580,1430,1664,1709,2180,2613,1886,1655,1723,1989,2308,2050,1668,1644,2201,2916,2934,2383,2160,2320,2015,2129,2110,1941,1950,1735,2050,2113,1649,1571,1597,1506,1835,1768,1598,2326,2671,2447,2438,2656,2551,2124,2248,3264,3553,3463,3977,3482,2520,2766,2857,2735,2621,2210,1937,2387,3104,2851,2532,2741,2658,2949,3332,4172,4232,4256,4143,3469,3585,3770,3100,2595,2750,3247,3769,4367,4330,4140,3950,3757,3610,3853,4388,4629,4372,4099,3885,3529,2105,2523,3084,2517,2194,2476,2746,2858,2792,2934,3278,3175,2468,2180,2842,3132,3051,2841,2833,2909,2864,2800,2819,2708,2500,2645,2955,3616,3310,3183,3356,2919,2634,2877,3298,3575,4052,4497,4144,3754,3754,3808,3880,3772,3163,2914,2964,3077,3034,3081,3364,3660,3768,3559,3611,3458,3068,3061,3394,3449,3307,3342,3419,3432,3276,3271,3496,3595,3547,3052,3897,4243,3898,3680,3862,3827,3410,3242,3130,3166,3551,3536,2691,2471,3008,3533,3604,3436,3377,3752,3749,3247,2856,2786,2692,2698,2920,3243,3437,3544,3715,3093,2743,3239,2587,1957,1708,1530,1722,1848,1789,1753,2215,2134,2199,2861,2613,1981,1780,1932,1896,1748,1585,1553,1721,1786,1636,1596,1751,2139,2614,3185,3106,2890,2671,3107,2690,1886,2896,4033,3941,3926,3813,3424,3044,2908,3078,3281,3106,3646,4184,4139,3760,2890,2866,2852,2248,2194,2719,2773,2561,3046,3454,3393,3530,3505,3658,3451,2618,2653,3248,3300,3128,3353,3174,2932,3209,3575,3386,3195,2724,2156,1842,1807,2196,3118,3924,3826,3364,2854,3230,3730,3366,2928,3284,3349,2962,2661,2483,2108,1767,1709,1591,1683,1742,1516,1398,1489,1837,2223,2221,2096,2110,2830,2855,2805,2258,2319,2398,2249,2558,2545,2585,2817,2646,2702,2418,1924,1410,1997,2497,2020,1621,2368,2308,2294,2186,2003,3076,3287,2661,2319,2171,2414,2620,2432,2928,2602,1682,1614,2046,2618,2302,1659,1900,2301,1860,2077,2578,2648,2514,2008,1902,2366,2751,2191,1494,1693,2015,2191,2438,2711,2195,1565,1704,1759,2290,2501,2394,2668,2347,2467,2540,1945,2153,1396,1396,1762,1582,1447,1491,1748,1882,1734,1773,1616,1975,2012,2211,2508,1847,1694,2151,2337,2401,2196,1652,1637,1698,1713,1878,1770,1572,1851,1793,2311,2949,2764,2266,2730,2989,2786,2589,2325,2237,2136,2270,2543,3032,2950,2734,2603,2832,3073,2530,1677,1251,1458,1715,1561,1530,1653,1824,2000,1815,1579,1613,1790,1874,1882,1911,1931,2003,1838,1670,1621,1455,1361,1431,1389,1379,1470,1499,1543,2010,2184,2282,2373,2270,2690,2623,2569,2306,2508,2553,2307,2458,2265,2229,2241,1750,1625,2009,2403,1572,1274,1985,2154,1910,1743,1791,2169,2540,2425,1942,1710,2040,2315,2312,1868,1603,1760,2325,2391,3340,4168,3956,3676,3616,3454,3738,2994,2610,2562,3400,3099,2810,3210,3462,3742,4332,4508,4432,4352,3994,3673,3615,4090,4456,4476,3992,3232,2788,2552,2260,2481,3686,4523,3928,3084,3018,3251,3742,4061,3355,2955,3228,3338,3615,3460,3454,3927,3930,3378,2660,2667,2061,1837,1589,1510,1542,1448,1591,2575,3517,4112,4002,3969,3952,4327,4613,4772,4220,3897,3254,2684,2457,2359,2758,3352,3573,3284,2654,2875,2975,3422,3591,3321,3840,4327,4254,4264,3663,2619,2412,2476,2537,3128,3993,4002,3880,3666,3762,3950,4023,4120,3991,3706,3716,3753,3503,4002,4168,4111,4094,3995,3958,3607,3196,3089,3073,3055,3119,3175,3252,3355,3360,3427,4001,4037,3889,3732,3473,3755,3704,2767,2698,3898,4187,4527,4825,4632,4655,4635,4496,4524,4661,4545,4362,4039,3685,3279,2626,2134,2856,3569,3469,3294,3256,2427,1883,1735,1820,2597,2265,2010,2126,2108,1934,1787,1936,2160,2530,2482,2100,2136,2008,1927,1790,1951,2148,2200,2700,2434,2483,2505,2353,2250,2597,2768,2254,1901,1612,1630,1744,1509,1532,1726,1526,1304,1289,1623,1858,1682,1380,1365,1492,1808,2150,1881,1572,2574,3256,3024,2207,2049,1930,1743,2088,2136,1756,1662,1562,1742,1868,1669,2718,2894,2236,2244,2202,2423,2920,2633,2314,2208,1893,1751,1690,1580,1908,1788,1470,1550,1605,1685,1788,2208,2548,2324,2236,1986,1798,2067,2048,1759,1600,2150,2867,3017,3034,3150,3110,3043,3065,3351,3646,3913,3984,3705,2524,3006,3792,3439,3292,3489,3254,2872,2674,3081,3388,3359,4009,4014,3595,3168,2626,2242,2543,3071,3210,3591,4101,4220,3873,3912,2912,2622,2571,2276,2741,3232,3242,3054,3090,3311,3156,3160,2963,3262,3256,3295,3482,3401,3154,2916,2850,2741,2649,2734,2482,2607,3370,3664,3075,2472,2280,2040,2168,3197,3928,3426,2990,3178,2920,2507,2981,2979,3044,3805,4090,3841,3692,3519,3121,3285,3935,3448,2598,2316,2554,2819,4016,3664,2595,2557,2354,2217,2510,2479,2100,2029,1978,2332,2522,2645,2808,2698,2798,2468,2046,2122,2051,1811,1718,1871,1970,1842,1753,1887,1753,1649,2534,2929,2734,2336,2397,2534,2424,2462,2633,2909,2832,2766,2242,2177,2592,3068,3178,3008,3471,3848,3743,3476,3785,3983,2497,1630,1496,2395,3123,3175,3388,3631,3620,3107,2706,3220,3394,2975,2947,3032,3256,3216,3564,3585,3484,3615,3838,3853,3386,3094,3449,2787,1996,2330,2341,2576,2369,2346,2271,1917,1708,1895,2141,2157,2160,2463,1905,1582,1899,1896,2020,1744,1722,1931,2058,2104,2018,2250,2792,2595,3071,3221,3278,3659,3728,3728,3480,2445,2059,2302,1992,1932,1940,2023,2786,3187,2995,2872,3254,3974,4244,3348,3140,3759,4056,4057,3914,4002,4101,4000,3935,3649,3508,3571,2998,2753,3528,3415,3086,3587,3283,2695,2294,2437,2806,3276,3589,3562,3325,3085,3127,2423,1495,1614,2555,2901,2642,3057,2706,2393,2996,3061,3329,3914,4127,3894,3796,3707,3377,3228,2910,2676,2684,3155,2785,2483,3238,3178,2420,2039,2192,2382,2382,2128,1992,2583,3120,3243,3044,2740,2556,2122,2312,2655,2438,2390,2686,2932,3399,3479,3802,3459,2962,2843,2180,1686,2008,1845,2410,3043,2790,2686,2893,2495,2348,2573,2597,2895,3499,2603,2702,3511,3124,2850,3259,3461,3373,3116,3256,3348,3183,2840,2543,2204,1970,1924,1984,1714,1462,1606,1646,1744,1592,1578,1770,2111,2575,2922,3104,2749,2454,2258,2511,3706,3418,1932,1928,2046,2690,3242,3388,4015,3949,3391,3073,2359,1992,2173,2215,2192,2719,3040,2736,2546,2502,2208,2523,2252,2228,2784,3064,3211,2988,2389,2517,2070,1977,2025,1748,2232,2924,3194,3266,2980,2734,2940,3222,2984,3009,3275,3846,4021,3604,3093,3326,3720,3845,3688,3555,3410,3355,3123,3233,3073,2945,3381,2861,2861,3392,3249,2752,2941,3050,2438,2147,2229,2227,2432,2617],[2366,2042,2434,2979,2797,2561,2203,1824,2447,2835,2266,1583,1632,2486,3139,2900,2375,2509,2856,3067,3122,2773,2473,2373,2110,2612,2983,3116,2975,2520,2896,3522,3570,3398,3020,3071,3049,2857,2330,3040,3334,2425,1694,2172,2272,2295,2309,1827,2404,2923,3564,3797,2831,1848,1477,1761,1775,1974,2553,2387,2396,2521,2698,2674,2854,2886,2585,2824,3073,3147,2666,2001,2260,2318,2349,2298,2132,2077,2415,2438,2279,2470,2552,2675,2820,2523,2710,3034,2381,1990,2324,2810,2344,1580,1577,2039,2602,2109,1819,2514,2688,2918,3252,2792,2692,3153,3153,2935,2701,2070,2072,2657,3636,3300,2407,2474,3052,3361,3208,2966,3099,2798,2934,3104,3054,3108,3372,2827,2602,3229,3348,3098,3176,2978,2744,2428,2264,2236,2319,3039,3581,2809,2353,2564,2542,2855,3594,3568,2413,1925,2300,3211,3162,3142,2978,2908,3263,3540,3564,3687,3470,3036,2895,3027,3156,3199,3109,2989,2856,2755,2765,2957,3492,3838,3793,3438,3000,2596,2556,2577,2240,1904,2174,2076,1992,1937,2269,2548,2730,3176,3544,3635,3776,3386,2740,2785,2963,2872,2979,3183,2951,2562,2275,2316,1810,1750,1648,1514,1699,1970,1996,2583,3172,2792,2271,1922,2016,2222,2357,2266,2125,2160,1970,2018,1715,2414,3033,2874,2468,2132,1907,1927,1837,1898,2267,2286,2116,2215,1862,1051,1274,1956,1880,1505,1315,1186,1705,2430,2283,2364,2498,2392,2233,1935,1930,2149,1757,1521,2015,2314,2035,2300,3231,3351,2238,2132,2057,2854,3689,3973,3659,3350,3396,3072,2950,2625,2119,2130,2094,2269,2357,2195,2229,2003,1951,2097,3055,3764,3453,3019,2670,2574,2689,2415,2322,2481,2463,2430,2450,2822,2576,2544,2546,2013,2272,2356,1964,2178,2464,2626,2244,2409,2495,1989,1852,2021,2098,2100,2211,2752,2873,2833,2491,2410,2151,2358,2799,3097,3040,2395,2289,2213,2045,1991,1461,1548,2360,2172,1593,1488,1885,2156,2184,2164,2535,3046,3038,3407,3243,3395,2640,1925,2191,2883,2962,2851,2296,1858,1732,1480,1782,2087,2005,1571,1325,1854,2393,2352,1810,1521,1486,1604,1978,2158,2046,2115,2019,2412,2248,2220,2462,1992,2192,3129,3181,2052,1328,1534,1967,1671,1603,1416,1586,2107,2198,1992,2272,2179,1892,2577,3023,2877,2579,2557,2934,2152,1557,1828,2591,2284,2403,2820,2517,2119,2695,2614,2163,2707,2725,2796,2794,2788,2301,1811,1439,1403,1678,1982,1960,1700,1804,1833,1727,1492,1650,1711,2026,2233,2210,2165,1834,1744,2181,2174,2128,2580,2277,2018,1892,1473,1632,1668,1574,1803,2024,2053,2065,2043,2039,1952,2092,2614,2729,2886,2584,2279,2291,2529,2573,2586,2382,2401,2479,2503,3009,3238,2918,2746,2776,2711,2866,3010,3091,2986,2287,2415,3098,3076,3030,3059,2841,2926,3102,3156,3200,2696,2324,2275,2712,3008,2659,2128,2252,2419,1969,1751,1798,2019,1521,1802,2152,1901,2054,2821,2703,2096,2032,1993,1755,1945,2155,2441,2034,1928,1990,1942,1754,1634,1967,2098,1648,1798,1769,2065,2165,2119,2061,2051,1669,1700,1624,1821,2256,2054,1776,1790,2225,2446,2476,2463,2091,1745,1580,1810,1696,1831,2187,1974,2201,1927,1468,1497,1687,1670,1624,1505,1366,1727,2433,2910,3098,2999,2103,1908,2206,2895,3299,3925,4157,2833,2461,2573,2566,2798,2608,2235,1964,1922,2519,2291,2391,2722,2953,3060,3459,3943,4124,4355,4243,3716,3842,3031,2395,2933,3081,2904,3642,4252,4118,3977,3940,3597,3056,2882,3366,3654,3505,3454,3300,3488,3178,2756,2242,1915,2178,2186,2811,3276,2544,2721,3162,2633,2205,2524,2945,2798,3349,3281,3212,3069,2645,2446,2607,2633,2722,2686,2866,3481,3298,4063,4285,4026,3551,2949,2787,3004,3584,4250,4065,3264,3132,3497,3606,3450,2973,2931,3185,3188,3052,3094,3417,3917,4016,3773,3803,3513,3128,3244,3342,3255,3110,3285,3567,3559,3275,3230,3146,3171,3580,3470,3957,4287,3938,3728,3963,4112,3997,3772,3738,3849,3927,3564,2446,2144,2884,3288,2529,2902,3798,4254,4165,3860,3880,3714,3084,3386,3666,3375,2765,2477,2651,2111,2490,2689,2219,2017,1561,1508,1678,1622,1606,1769,2461,2425,2307,2811,2441,1735,1753,1930,2039,2020,1734,1811,2248,1824,1745,1917,1992,2222,2462,2980,2890,2456,3089,3598,3353,2694,3349,4035,4026,3899,3916,3840,3244,2750,3273,3362,3257,4007,4257,3827,2679,1952,2578,2454,1832,1979,2530,2460,2021,2302,3044,3466,3312,3218,3508,3587,3431,3069,2975,2690,2714,2988,2743,2886,3400,3299,3132,2916,2562,2452,2095,2146,2307,2501,2977,2992,3266,3294,3315,3771,3304,2707,3341,3516,3229,2791,2274,2106,1789,1654,1577,1570,1716,2028,2017,1599,1612,1831,1901,2327,2435,2817,3191,3090,2521,2016,1722,2002,2581,2627,2466,2307,1917,1844,1771,1681,1621,2104,2495,2274,2045,2165,1878,1651,1700,1708,2054,2419,2291,2316,1941,2485,2452,2170,2472,2144,1651,1566,2046,2484,2489,2203,1796,1857,1763,1967,2214,2436,2137,1819,2161,2416,2339,1992,1747,2125,2454,2330,2286,2668,2579,2112,2498,2842,2818,2448,1936,2105,1957,2310,2756,2951,2213,1489,1660,1880,1700,1655,1742,1864,1892,1640,1772,1798,2185,1671,2027,2420,1960,1506,1997,2298,2285,2088,1780,1783,2017,1894,1900,1882,1885,2318,2217,2573,3219,2919,2366,2349,2410,2378,2368,2244,2266,2022,2040,2075,2800,2828,2291,2181,2397,2356,1937,1714,1627,2212,2172,1789,1766,1792,1869,1897,1870,1808,1745,1589,1547,1873,1813,1727,1999,2042,1873,1791,2007,1698,1439,1362,1376,1434,1357,1503,2014,2297,2890,2438,2512,2495,2313,2248,2250,3022,3084,2213,1606,1552,1761,1987,1656,1699,2216,2019,1572,1528,1981,2085,1733,1468,1565,2082,2504,1952,1605,1863,2337,2527,2537,2323,2001,2236,2436,2380,3067,4055,4124,4300,4547,4605,4341,3738,3248,2965,2886,2726,2885,3349,3417,3771,4283,4391,4431,4283,4089,3763,3959,4363,4484,4311,4123,3775,2729,1907,2429,3251,4091,4627,4516,3574,3322,3458,3763,3750,2638,2113,3200,3928,3997,3757,3518,3363,3764,3718,3041,2810,2526,1824,1533,1979,2512,2405,1920,2146,2503,3425,3774,3872,3975,4175,4147,4108,3614,3327,2999,2505,3002,3124,2890,3111,3199,3076,2921,2201,2351,3322,3703,3536,3852,4239,3934,3774,3270,2660,2522,2603,2619,3430,4084,4113,4013,3749,3685,3867,4079,4272,4143,3498,3355,3651,3415,3813,4216,4204,3936,3704,3803,3649,3217,3136,3190,3177,3140,3151,3248,3277,3156,3277,3772,3914,3870,3694,3490,3765,3883,3211,2551,3496,4156,4436,4547,4619,4496,4520,4657,4711,4756,4533,4267,3738,3366,2939,2411,2335,3076,3623,3564,3536,3451,2670,2141,2498,2547,2821,2170,1848,1838,1653,1765,1623,1765,2110,2352,2008,1753,1983,1875,2001,1889,1693,1668,2079,2540,2596,2622,2725,2482,2122,2444,2763,2247,1879,1886,1644,1533,1453,1501,1817,1644,1412,1464,1598,1969,2036,1570,1589,1644,1629,1849,1683,1436,1737,2065,2027,1670,1701,1844,1485,1550,1455,1903,1860,1523,1943,2046,2058,3197,3169,2018,2060,2622,2969,2925,2301,1932,1666,1798,1959,1790,1722,1901,1722,1622,1509,1495,1533,1403,1720,2286,2577,3050,2697,2635,2543,2448,2121,2034,2696,3044,3462,3330,3349,3337,3196,3416,3671,4081,4169,4073,3562,3193,3624,3791,3558,3639,3897,3808,3445,2977,2661,3353,3216,3163,3167,2907,2692,2342,2293,2740,3222,3265,3284,3659,3901,4024,3328,2352,2451,2390,2501,2909,3106,3553,3527,3477,3528,3298,3307,3342,3422,3507,3595,3364,3175,3098,3030,3197,3029,2201,2192,2407,2206,2769,2966,2687,2429,2384,2392,2517,2973,3450,2908,2476,2997,2929,2712,2976,3325,3449,3039,3620,4069,3870,3697,3251,3322,3787,2797,2128,2045,2132,2474,2878,2332,1783,1817,1693,1731,2111,2219,2261,2046,1714,1938,2072,2253,2257,2390,2830,2786,2768,2661,2207,2116,2065,1831,1995,1872,1889,2038,2486,2205,2541,2999,2480,2105,2509,2268,2427,2587,2896,2775,2676,2568,2534,2292,2405,2419,2802,3518,3854,3664,3294,2893,3575,3227,2452,1998,1809,2177,2644,2622,2590,3105,3517,3088,3395,3415,3554,3334,2775,2548,2666,2646,2808,2753,2617,3130,3726,4039,3668,3128,3095,2938,2894,3165,3082,2708,2495,2554,2535,2273,2172,2135,1773,1797,1800,2281,2559,2161,1973,2068,2298,1992,1481,1630,1852,1933,2238,2844,2858,2483,3086,2993,3222,3449,3627,3883,3481,2910,2216,1837,1725,1825,2114,3027,3427,2888,2722,3098,3313,3557,3772,3375,3489,3720,3927,4007,4105,4136,4035,4104,3573,3396,3818,3887,3580,3303,3104,2732,3251,3744,3414,2920,3054,2858,2857,3096,3418,3507,3285,3181,3044,2800,2452,2459,2406,2726,3078,2994,2389,2791,3125,3050,3354,3797,3891,3710,3503,3572,3250,3096,2222,2744,3130,3192,2879,2798,2935,2879,2547,2076,2010,2188,2354,2874,2781,3030,3156,3214,2972,2854,2750,2543,2454,2404,2405,2090,2520,2411,2593,2814,3031,2920,2916,2491,1817,1882,2214,1919,1688,1963,2260,2945,3204,2468,2397,2283,2070,2095,2896,3263,3459,3798,3461,3250,3559,2963,2885,2682,2830,2916,2846,2571,2184,1791,1670,1736,1842,1744,1536,1600,1726,1893,1642,1838,1954,2021,2273,2321,2548,2984,3266,2937,2878,3970,3727,2338,2386,2980,3322,3240,2967,3072,3183,3323,2833,2363,2520,2330,2205,2128,2454,2339,2192,2128,2089,2305,2631,2250,1761,2169,2624,2751,2265,2055,2003,1829,2445,2470,2161,2521,2502,2494,2520,2587,2973,3137,3470,3287,2914,3119,3343,3107,3006,3256,3172,3228,3140,3096,3379,3589,3454,3200,3248,3340,3441,3655,3539,3626,3662,3005,2571,2877,2963,2724,2482,2335,2450,2867,3029],[2863,2636,2893,3183,3138,3110,2490,2300,2755,3096,2754,1992,1896,2775,3343,3262,2610,2599,2730,2942,3086,2611,2348,2414,2294,2943,3218,2948,3111,2800,2644,2813,2824,2921,3041,3155,3029,2790,2732,3109,3096,2225,1736,2116,2236,2248,1835,2010,2400,2696,2993,3228,2523,1669,1682,1888,1885,2233,2662,2376,2172,2342,2859,2641,2878,2789,2787,3007,2972,2934,2204,1824,2107,2087,1983,1761,1615,1891,2183,2381,2596,2603,3007,3343,3279,2943,2686,2971,2447,2509,2922,3023,2320,1749,2166,3012,3197,2623,2389,2913,3455,2955,2888,3042,2751,3162,2902,2886,2898,2633,2564,3023,3323,2480,2034,2070,1917,2420,2768,2867,2778,2618,3105,2837,2447,2808,2852,2167,1954,2335,3051,3167,3186,2735,2966,2770,2398,2171,2281,3142,3667,2751,1799,2011,2271,2522,3054,2590,2531,2433,2669,3301,3244,3150,2968,2767,3054,3364,3518,3530,3208,2955,3038,3166,3169,3121,3009,2898,2844,2821,2855,3095,3350,3574,4056,3278,2428,2047,2244,2744,2398,2336,2286,1964,2025,2456,2570,2702,3423,3557,3610,3591,3580,3458,3073,2688,3130,3384,3200,3037,3024,2846,2354,2564,2056,1813,1780,1771,2114,2499,2376,2809,3366,3376,2968,2267,2163,2092,2098,2058,1907,1862,1810,1796,1918,2587,2728,2090,2162,2380,2222,2069,1811,1518,1497,1704,2010,1983,1720,1360,1463,1756,1619,1788,1703,1608,2178,2452,2194,2101,2335,2465,2376,2086,1892,1918,1434,1653,2218,2231,2062,2828,3504,3709,3142,2256,2091,2907,3231,3041,2622,2731,3218,2911,2674,2807,2498,2266,2036,2319,2296,2697,2491,1596,1782,2526,3121,2603,2700,2740,2578,2866,2512,2168,2154,2222,2174,2077,2548,3096,2841,3003,2132,2175,2554,2585,2409,2442,2473,2807,2596,1982,1828,2142,2021,2170,2031,1792,1919,2072,2322,2706,2664,2357,2223,2509,2459,2945,3353,2646,2048,2178,2098,2233,1906,1997,2673,2613,2108,2109,2172,2074,2126,1795,2070,2376,2598,2797,2990,3260,2548,1779,2141,2319,2328,2415,1917,2023,2264,1886,1775,1753,1718,1506,1378,2107,2875,2468,1792,1581,1529,1780,1709,1643,2369,2522,2193,2164,2234,2079,1674,1365,1788,2556,2446,1720,1306,1679,2421,1784,1619,1460,1413,1669,1964,2054,2501,2622,2199,2656,2488,2004,2050,2374,2570,1832,1422,1677,2277,2150,1995,2620,2712,2034,2876,2718,1918,2735,2631,3041,3127,3148,3010,2382,1657,1548,1853,2148,1901,2218,1845,1877,2033,1802,1741,2238,3267,3076,2232,1812,1618,1655,2026,1740,1909,2260,2149,2201,1631,1262,1379,1480,1599,1834,1854,2041,2266,2096,1917,1930,2408,2230,2347,2791,2608,2291,2130,2185,2376,2187,2216,2374,2466,2613,3238,3243,2879,2990,2789,2522,2547,3012,3388,3214,2944,3093,3306,2641,2273,2602,3086,3384,3514,3405,3209,2950,2545,2334,2816,3146,2196,1920,2436,2588,2496,2104,1576,1801,1695,1719,2264,2709,3133,3278,2618,1980,1858,1998,1840,1720,2070,2319,1981,1815,1858,1958,1845,1635,1731,1934,1722,1724,2006,2354,2107,2055,2332,2432,2169,1721,1409,1725,2019,1784,1774,2111,2414,2293,2217,2320,2002,1548,1524,1555,1452,1808,2359,2296,2123,1911,1498,1479,1406,1760,1831,1780,1758,1599,2164,2846,3386,4112,2712,2343,2613,3252,3833,4060,3348,2286,2006,2080,2515,3013,2262,2247,2231,2017,2417,1909,2013,2511,3111,3181,3284,3614,3696,4156,3892,2907,3552,2876,2462,2498,2209,2138,3282,4155,4035,3697,3514,3415,3454,3382,3577,3351,2655,2523,2626,3154,3100,2721,2106,2239,2254,1867,2544,2973,2116,2447,2731,2221,2128,2956,3107,3145,3610,3430,2751,2603,2544,1937,2326,2645,2676,2623,3042,3278,3698,4243,4227,4208,3706,2692,2241,2779,3398,3687,3682,3063,3145,3791,3952,3531,3045,3027,3162,3062,3082,3226,3328,3630,3750,3557,3627,3466,3322,3185,3124,3157,3123,3271,3554,3405,3429,3488,3384,3329,3491,3417,3560,3804,3623,3782,4169,4155,4135,4372,4297,4336,4339,3151,2117,2025,2634,2631,2700,3585,3808,3915,3816,3708,3693,3505,3760,4144,4432,4516,3518,2711,2503,2260,2288,2182,2424,2526,1792,1648,1550,1854,1677,1485,2271,2510,2260,2355,2190,1896,1838,1998,2210,2411,2657,2697,2555,1897,1898,1825,1852,2105,2350,3100,3272,3088,4148,4357,4124,3998,3882,4093,3962,3607,3658,3793,3211,2874,3074,3303,3943,4389,3746,2711,1992,1870,2434,2470,2175,2141,2430,2510,2046,2168,2733,3129,3395,3350,3363,3225,3462,3032,2613,2055,1923,2155,2258,2771,2766,2690,2897,2678,2674,2395,1890,1791,2052,2265,2337,2536,3252,3438,3156,3558,3764,3729,3732,3548,2814,2185,2015,2324,2285,2017,1960,1892,1724,2359,2385,1602,1388,1692,1792,2196,2045,2293,2792,2464,1918,1629,1360,1747,2421,2467,2106,1743,1709,1501,1550,1988,2214,2391,2562,2504,2083,1655,1576,1350,1678,1510,1572,1635,1926,2526,2191,2170,2186,2048,2228,2491,2195,1593,1686,2066,2279,1977,1512,1607,1690,1486,1606,2103,2084,1742,2002,1970,1964,2014,2136,2593,2264,2356,2566,2711,2626,2400,2489,2485,2426,2142,1606,1643,1772,1953,2366,2712,2575,2262,2034,2084,2101,2036,2244,1690,1498,1668,1560,1530,1781,1481,1748,2087,1887,1509,1876,2424,2231,1708,1663,1767,1868,1878,2180,2365,2680,2850,2420,2676,2964,2524,2151,1964,1934,2236,2371,2116,1975,1766,1827,2097,2517,2452,2266,2383,2332,2053,1836,1767,1756,2081,1845,1741,1863,1866,1742,1649,1547,1606,1627,1566,1781,2080,1776,1476,1893,2145,2014,1996,2022,1691,1445,1491,1633,1469,1514,1709,2405,2697,2728,2341,2236,1818,2161,2519,2920,3526,3440,2395,1797,1821,1970,2148,2076,2244,2320,1802,1540,1416,1406,1656,1914,1859,1732,1694,1747,1721,1754,1753,1824,2292,2731,3042,3129,2805,2469,2562,3557,4408,4237,4070,4484,4776,4397,4033,3906,3629,3239,3019,3156,3659,3706,4093,4288,4420,4760,4620,4389,4255,4452,4456,4476,4379,4167,4123,3137,2031,3193,4407,4390,4718,4059,3355,3450,3499,3695,4108,3429,2225,2761,3908,4173,3694,3285,3059,3259,3226,3276,3603,3343,2823,2686,3082,3447,3331,2714,2545,2755,3081,3751,3969,4029,4159,4072,3666,3321,3031,2579,2888,3758,3730,3544,3504,3414,3304,3228,3058,3161,3231,3443,3624,3554,3795,4062,4269,3876,3725,3636,3636,3671,3867,3910,3912,3742,3692,3601,3683,3714,3903,3933,3977,3759,3466,3154,3360,3824,4059,3794,3470,3636,3484,3297,3485,3326,3175,3146,3159,3190,3252,3405,3510,3429,3471,3688,3638,3444,3718,3908,3525,3395,3485,3859,4132,4388,4479,4099,4311,4492,4815,4683,4312,3933,3509,3022,2385,2599,2863,3249,3805,3634,3547,3361,2797,2939,3175,3051,2667,2139,2048,1852,2006,2243,1960,2292,2054,1821,1825,1964,1854,1704,1833,1676,1485,1700,2045,2178,2415,2588,2643,1949,1596,1846,2363,2094,2107,2123,1786,1699,1471,1456,1844,1815,1539,1568,1593,2022,2288,2131,1920,1806,2524,2906,2069,1435,1424,1599,1679,1520,1634,2007,1765,1880,1415,2021,2141,1799,1972,2113,2317,2942,2764,2010,2220,2486,2636,2325,2046,1692,1551,1704,1858,2000,1902,1912,1876,1656,1379,1700,1522,1250,1622,1970,2360,2584,2086,1875,1837,2066,1928,2114,3312,3194,3463,3750,3939,4004,3581,3763,4013,4096,4026,3845,3686,4092,4220,3919,3542,3526,3713,3681,3329,2607,2455,2813,2652,2889,2894,2687,2679,2735,3020,3441,3663,3573,3628,3429,3230,3838,3227,2365,2449,2274,2487,2663,3372,4220,3868,3686,3487,3359,3262,3480,3514,3362,3251,3187,3294,3356,3153,3065,2690,2120,2101,2302,2686,2634,2669,2966,2843,2624,2692,2946,2836,2586,2678,2952,3824,3494,2806,2989,3879,3814,3215,3428,3607,3562,3693,3232,3216,3616,3541,2778,2266,2289,2446,2336,2182,2071,2109,1856,1766,2015,1880,2134,1918,1707,1575,1800,2402,2428,2315,2590,2585,2576,2492,2391,2320,2195,1794,1664,1799,1971,2231,2510,2320,2160,2197,2281,2450,2474,2304,1946,2086,2491,2639,2483,2708,2518,2113,2221,2265,2846,3575,3651,3373,3461,3215,3242,2644,2526,2590,2031,1570,1760,1779,2046,2747,3384,2987,3010,3254,3516,3386,3030,2745,2805,2974,3260,3361,3216,3085,2972,3399,3439,2745,2238,2828,3265,3189,3006,3060,2943,2643,2490,2234,1974,1881,1763,1654,1622,1990,2358,2137,1860,1777,1857,1748,1394,1690,1750,1870,2535,2533,2410,2511,2765,2481,2732,2980,2901,3098,3205,2874,2116,2231,2339,1721,1632,2618,2866,2764,2602,2830,3331,3278,3228,3041,3551,3853,4058,4168,4132,4156,3904,3981,3947,4081,4061,3687,3873,3714,3399,2899,2990,3185,3046,2597,2533,2503,2400,2547,3074,3341,3334,3472,3177,3216,3250,2958,2422,2451,3226,3135,2746,2893,2985,3044,3243,3615,3437,3210,2895,3513,3578,3450,3233,3513,3506,3165,2876,2896,2532,2383,2327,2078,2020,1788,1974,2373,2789,3074,2768,2444,2118,2128,2272,2280,2414,2468,2416,2353,2454,2268,2181,2460,2429,2347,2340,1938,1777,2030,2092,1681,1523,1675,2031,2304,2604,2147,1900,1965,1986,1996,3000,3558,3614,3636,3457,3272,3384,3060,2800,2522,2910,2973,2393,1936,1845,1785,1688,2006,2140,1834,1582,1493,1554,2002,1851,1975,1914,1738,1898,1840,1971,2710,3245,2412,2562,3195,3315,2761,3042,3462,3536,3384,3105,2353,2112,2646,2428,2818,2500,2243,2114,1854,1770,1666,1929,2025,1732,1907,2713,2812,1939,1807,2151,2067,1786,1999,1928,2321,2856,2351,2180,2445,2162,2419,2305,2567,2955,3212,3342,3344,3330,3375,3418,2932,2556,2764,3285,3432,2893,3014,3054,2986,3068,3051,3132,3329,3449,3647,3737,3663,3560,3027,2577,2648,2634,3227,3185,2658,2702,2886,3150],[2822,2878,2875,2999,3212,3115,2900,2957,3002,3219,3271,2999,2659,2495,2768,3201,2862,2654,2884,3156,3105,2937,2916,2999,2786,2522,2786,3129,3115,2677,2329,2647,2758,2857,3068,2911,2723,2555,2481,2697,2773,2539,2164,2364,2325,2367,2351,2340,2585,2746,2730,3227,3003,2059,1912,1953,1945,1944,1748,2095,2039,1998,2665,2801,2844,2823,2778,2389,2601,3056,2282,1989,2015,1742,2001,2208,2060,2250,2414,2376,2626,3394,3589,3288,2883,2928,2645,3384,2885,3395,3547,3250,2603,2306,2809,3137,3004,2838,2975,3431,3791,3300,3221,3280,3261,3132,2490,2909,3375,3355,3187,3120,2664,1989,1939,1663,1787,2031,2493,2411,2456,2737,2903,2811,2659,2685,2362,2044,1925,2448,3147,2812,3029,2743,2744,2611,2639,2496,2801,3636,3726,2776,1949,1692,1944,2408,2898,2821,2605,1897,2057,2862,3204,2977,3046,2933,3092,3272,3408,3324,3183,3119,3130,3145,3238,3217,3099,3017,2985,2961,2895,3038,2934,3153,3838,3543,2765,2722,2713,2435,2028,2198,2424,1988,2371,3168,2793,2927,3494,3238,3673,3717,3579,3545,3141,2575,2921,3470,3354,3106,3088,2876,2257,2580,2510,2097,2035,2474,2858,2495,1859,2370,3023,2909,2480,2070,1959,1781,1873,1752,1642,1780,2072,2503,2709,2737,2773,2568,2714,2083,1875,1929,1776,1789,1630,1646,1833,1596,1509,1533,1535,1499,1689,2062,2408,2404,2588,2228,1888,1862,2200,2155,1961,1748,1267,1311,1225,2005,2316,2065,2269,3363,3727,3650,3784,3160,2468,2840,2939,2651,2291,2650,3188,3075,3133,3054,2712,2349,2411,2941,3094,2763,2041,1937,2637,3111,2865,2440,2354,2240,1867,2003,2308,2470,2222,2233,2013,1944,2868,3738,3451,3038,2233,2565,2997,2645,2207,2207,2564,2829,2757,2319,2047,2689,2281,2266,2144,1985,2011,1995,2241,2510,2500,2190,2161,2345,2411,2702,2802,2185,1926,1865,2199,2152,2130,2339,2554,2551,2330,2173,2114,2480,2521,2092,1814,1967,2589,2692,2713,2785,2443,2176,2201,2082,2206,2438,1817,2122,2558,2267,1931,2012,2145,2095,1910,2391,3003,2453,1756,1814,1976,2171,1756,1515,2182,2576,2499,2496,2381,2139,2013,2094,2446,2358,2209,2054,1672,1697,2303,2155,1667,1476,1526,1837,2192,2329,2633,2912,2802,2690,2311,1752,2011,2229,2128,2125,2039,1998,1895,1856,1962,2061,1509,1624,2725,2492,1964,2798,2600,2585,2797,2920,3197,2744,1827,1699,1883,2815,2034,1966,2074,2049,1744,1684,1687,2291,2843,2535,2034,1566,1998,2324,2249,2042,1837,1841,2301,2347,1904,1552,1465,1509,1643,1958,1884,2079,2226,2193,2128,2049,2470,2664,2663,2757,2692,2777,2600,2492,2256,1908,1914,2125,2322,2664,3505,3539,3000,3083,3298,3054,2851,3116,3102,2916,3143,3178,3208,2802,2788,2688,3087,3140,3162,3054,2989,3308,3207,2633,2306,2544,1805,1876,1985,1807,2250,2372,2422,2997,2906,2318,2205,2729,2980,2314,2121,1738,1517,1764,1918,1679,1789,1894,1851,1797,1799,1841,1696,1639,1574,1945,1750,1838,2029,2123,2308,2361,2436,2713,2602,1927,1410,2283,2508,2070,1688,1899,2282,1829,1732,2078,1794,1668,1452,1483,1421,1597,2149,2456,2442,2208,1851,1527,1572,2312,2233,1860,1926,2083,2579,2625,3010,4078,3245,3083,3031,3394,3868,3296,2335,1843,1843,1968,1952,2393,2140,2566,2335,1903,2395,2002,1863,2557,3005,2756,3074,3414,3419,3862,3484,2534,3071,2543,2338,2080,1977,2216,2941,3400,3471,3194,3431,3319,3452,3692,3874,3928,3462,2210,1856,2357,3239,3208,2136,2003,1901,1529,1650,2049,1765,2082,1926,1768,1981,2887,3652,3848,3883,3501,2688,2898,2306,1890,2449,2642,2885,3030,3347,3732,4045,4164,4151,4151,3891,2993,2442,3116,3683,3774,3827,3795,3551,3108,3082,3354,3091,3091,2970,2968,3118,3396,3416,3237,3061,2852,3074,3294,3233,3066,3160,3323,3212,3217,3410,3104,3365,3419,3223,3018,2839,2474,2642,3263,3588,3880,3901,4013,4016,4334,4092,4219,3757,2360,1726,1852,2617,3362,3695,3791,3629,3804,3618,3560,3812,3926,4321,4383,4676,4409,3459,3377,3201,2796,2200,1951,2178,2409,1815,1471,1553,1622,1336,1519,2080,1970,1495,1494,2049,2270,2178,2312,2413,2444,2873,2630,2349,1938,1754,1575,1675,2040,2222,2853,3574,3572,3907,4144,3982,4140,3962,3851,3579,3384,3618,3438,3184,2856,2922,3683,3682,3247,2592,2217,2146,2229,2370,2474,2623,2436,2601,2257,2154,2410,2531,2510,3095,3182,2910,2745,3053,2680,2119,1709,1861,2563,2834,2603,2347,2625,2974,2909,2474,2213,2026,2102,2048,2001,2468,3188,3244,3000,2730,2989,3487,3581,3458,3227,2743,2386,2640,3101,2703,2083,1976,1716,1580,2307,2702,2201,1880,2229,2403,2272,2071,2078,2128,1893,1657,1393,1292,1621,2241,2206,1909,1964,1899,1677,1894,2220,2474,2431,2367,2368,2036,1409,1460,1559,1959,2310,2703,2266,2010,1977,1754,1631,1859,2129,2217,2062,1921,1784,1580,1694,2009,1769,1500,1685,1741,1460,1424,1695,1711,1577,1782,1793,2110,2034,2459,2771,2142,2037,2039,1863,1782,2085,2565,2285,2088,2031,1799,1637,1602,2133,2059,1992,2291,2328,2093,1996,2156,2359,2532,1823,1456,1735,1697,1736,1679,1786,1889,1788,1768,1618,1403,1674,1851,1560,1776,2013,2287,2462,2633,2522,2636,2503,2297,2577,2653,2276,2260,2200,1808,1918,1982,1879,1919,2207,2476,2391,2198,1850,1466,1875,1903,1818,1700,2092,1800,1531,1723,1854,1856,1680,1473,1498,1525,1714,1939,2054,1977,1860,1692,1591,2105,2331,2156,1934,1763,1646,1664,1682,1622,1366,1455,1587,2496,2820,2259,1720,1586,1951,2711,3396,3243,2907,3225,2442,1921,2292,2326,2128,1932,1925,1969,1699,1290,1016,1620,2040,1959,2036,1958,1718,1723,1822,2040,2198,2424,2805,3149,3515,3855,3444,2666,2761,3593,4240,4180,3844,4295,4825,4197,3601,3838,3711,3471,3239,3206,3885,4064,4276,4421,4640,4941,4937,4690,4613,4826,4660,4573,4645,3974,3217,2952,2271,2972,3980,4361,4060,3185,2878,3207,3463,3625,4018,4108,2631,2307,3261,3514,3188,3177,3087,2915,2977,3603,4091,3772,3664,3497,3492,3532,3226,2844,2784,2978,3409,3859,3941,3987,4176,4148,3631,3433,2664,2510,3702,4062,3978,3617,3473,3383,3165,3086,3364,3596,3314,3231,3203,3222,3416,3817,4189,4609,4703,4668,4529,4100,3730,3735,3982,3849,3722,4050,3991,3617,3723,4060,4320,4198,3772,3341,3239,3571,3961,3673,3606,3573,3470,3630,3939,3554,3277,3218,3176,3328,3574,3805,3710,3288,3305,3537,3682,3538,3489,3408,3311,3673,4109,4266,4325,4622,4595,4420,4428,4252,4508,4452,4274,3639,3159,2458,2572,3449,3464,3363,3913,3704,3566,3110,2715,3099,3287,3117,2514,1923,1811,1748,2298,2569,2442,2271,1895,1719,2189,1891,1544,1576,1538,1513,1628,1922,1947,1848,1873,2143,2203,1828,1908,1911,1700,1717,1963,1807,1737,1797,1562,1765,2454,2039,1619,1698,2026,2140,2132,2130,1884,2106,3438,3592,2109,1416,1563,1711,1553,1518,1750,2006,1988,2101,1666,2254,2737,2500,2496,2340,2042,1965,2283,2289,2452,2241,2247,1959,2122,1754,1538,1489,1552,1711,1913,2365,1893,1551,1347,1800,1904,1800,1807,1616,1994,2043,1561,1553,1627,1774,2111,2699,3674,3334,3403,3971,4210,3968,3560,3684,3811,3735,3742,3639,3434,4026,3982,3947,3824,3680,3865,3576,2848,2568,2924,3194,3342,3296,2849,2569,2635,2830,3614,3819,3783,3593,3551,3153,3044,3372,3017,2276,2063,2351,2876,3006,3740,4296,3718,3310,3326,3461,3592,3707,3328,3152,3410,3673,3681,3598,3133,3018,2406,2018,2053,2371,2785,2486,2585,2904,2713,2811,3775,4316,3603,3229,3160,3325,3740,3321,2799,3261,3964,3576,3442,3117,2988,3104,3566,3349,3053,3332,3661,3655,3266,3306,3068,2416,2553,2447,2238,2009,1570,1707,2029,2115,2204,1904,1483,1731,2089,2210,2375,2223,2412,2506,2521,2661,2648,1995,1688,1745,1869,2198,2325,2221,2117,1920,1788,1765,2175,2105,2102,1682,2067,2501,2675,2894,2957,2387,1807,1824,2037,3062,3776,3225,3153,3340,3054,3008,2552,2154,2294,2178,1884,1796,1613,1575,2499,3164,3311,3218,3421,3429,3487,3505,3431,3284,3163,3620,3860,3655,3118,2916,3131,2932,1982,1711,2336,2962,3134,3145,3295,2829,2469,2170,1985,1818,1782,1947,1408,1308,1635,1774,1894,1998,1701,1553,1702,1753,1737,1537,1713,2581,2270,2174,2918,3060,2746,2493,2353,2420,3205,3105,3166,2809,2558,2783,2230,1729,2207,2842,2775,2223,2722,3493,3609,3506,3585,3829,3930,4051,4091,4002,4046,4024,4027,4472,4261,3366,3387,4012,4120,4072,3243,2378,2564,2654,2104,2293,2751,2235,2188,2618,3181,3329,3641,3596,3471,3022,2470,2584,2797,2877,3002,3089,2647,3060,3449,3605,3694,3297,2822,2980,3702,3873,3363,3852,4479,3814,2841,2975,3301,2744,2900,3084,2580,1933,1692,1736,1742,2255,2463,2430,2181,1803,2178,2841,2887,2576,2362,2536,3340,3133,2243,1757,1950,2061,2002,1803,1607,2187,2138,1849,1530,1622,1698,1878,1770,1847,2147,2306,2541,2348,2271,3238,3355,3293,3139,3305,3407,3587,3426,2818,2684,2702,2269,1974,2194,2464,2312,2057,2265,2081,1677,1632,1499,1525,1829,1896,1959,1959,1952,1848,2039,1985,2530,2862,1957,1731,2311,2745,2780,2841,2743,2931,3115,2734,2351,2648,2886,2524,2677,1969,1957,2202,1851,1573,1692,2090,1951,1779,1885,2436,2359,1998,1807,1980,1849,2037,2164,2269,2500,2158,2201,2762,2510,2236,2955,2563,2039,2287,3219,3470,3432,3407,3396,3624,3286,2655,2470,3018,3554,3381,3043,2705,2624,2795,2717,2862,3287,3497,3663,3408,3222,3310,3074,2658,2912,3050,3212,3052,2900,2728,2612,2968],[2463,2625,2592,2678,2895,3148,3360,2924,2319,2704,3422,3540,2908,2332,2752,2415,2390,2531,2841,3129,3146,3259,3319,3273,2639,2107,2210,2248,2164,1937,2131,2142,1721,2348,2931,2883,3142,3033,2632,2625,2642,2354,1923,2202,2259,2144,1920,1944,2431,2775,3142,3398,3091,2293,2314,1809,1466,1880,1650,1930,1866,2008,2496,2785,2763,2644,2524,2214,2236,3045,2058,2006,2178,1896,2389,2438,2416,2491,2423,2377,2814,3571,2957,3096,2765,2863,2853,3654,3426,3484,3065,3008,3154,2923,3213,3022,2899,2998,3387,3448,3495,3224,3228,3384,3411,2977,2912,3480,3515,3451,3426,2872,2215,2038,2067,1706,1697,1743,2160,2252,2586,2690,2641,2481,2488,2500,2254,2144,2027,2586,2981,2906,3006,3065,2896,2888,3140,3217,3466,3752,3686,2736,1892,1393,1425,2136,2430,2157,1860,1708,1816,2712,3334,3127,3053,2978,3203,3405,3318,3187,3230,3218,3167,3241,3416,3335,3252,3257,3174,3131,3095,3156,2895,3207,3541,3660,3205,2562,2347,1999,1770,2190,2401,2126,2459,3195,3166,3123,3286,3485,3444,3465,3636,3200,2556,2553,3134,3419,3260,2953,2710,2452,2033,2456,2724,2281,2195,2859,2966,2706,2427,2505,2356,2609,2276,2179,1863,1692,1804,1873,1918,2135,2358,2512,2714,2900,3250,3353,2874,1853,1737,1801,1992,2057,1796,2094,2108,1544,1566,1674,1815,1469,1735,2091,2392,2856,2652,1810,1825,1860,1739,1698,1683,1966,1637,1710,1532,2237,2018,1951,2763,3499,3870,4027,3874,3251,2662,2536,2407,2029,2397,2829,3082,3240,3350,2812,2024,1918,2589,3138,3514,3140,1800,1915,2587,2724,2670,2795,3146,2918,2281,1979,2732,3122,2373,2578,2656,2403,3019,3698,3894,4026,3300,2894,2706,2482,2256,2518,2968,3067,3037,2256,1345,1942,2192,2333,2422,2450,2226,2132,2405,2446,2438,2442,2053,1968,2220,2658,2547,1868,1840,1605,1571,1826,2018,2135,2147,1842,1893,1690,1776,2293,2668,2812,2173,2147,2625,2978,3104,2923,2980,2847,2146,1767,1678,1783,1835,2515,2532,2250,2061,2456,2940,2745,2647,3120,2554,2032,1953,1943,1948,2030,1888,1708,2020,2601,2821,2496,2172,2363,2424,2684,2802,2153,1726,2054,1930,1929,2454,2026,1494,1809,2084,2231,2276,2387,2643,2697,2475,1869,1903,1984,2524,2442,2254,2404,2176,1997,2013,1922,1948,2541,2148,1756,2544,2490,2126,2907,3179,2762,2743,3258,3770,3045,1577,1508,1737,2664,2137,2482,2950,2290,1802,1913,1955,2071,1848,1684,1891,2381,2836,2743,1936,2107,2380,2568,2906,3133,2786,1882,1842,1817,1898,2448,2422,1943,1899,2504,2584,2207,2244,2532,2751,2774,2664,2942,2899,3043,2209,1675,1687,1809,2106,2303,2707,2746,2640,3023,3574,3522,3312,3267,3078,2864,3000,3130,3078,2915,3039,2921,2836,2868,2836,3005,3416,3685,3492,2311,1434,1830,2100,2052,2032,1977,2214,2584,2728,2800,2745,2428,1970,1844,2193,1897,1776,1550,1470,1767,1960,1921,1760,1732,1784,1646,1630,1702,1744,1697,2276,2391,1866,1859,1813,2022,2522,2409,1910,2147,2160,1908,1960,2527,2168,1788,1563,1725,2046,1976,1856,1692,1495,1677,1486,1500,1544,1939,2865,2573,2360,2313,1904,1745,2411,2901,2048,1660,1748,2398,2980,3000,3560,3868,3221,3558,3495,3195,3248,2609,1887,1692,2070,1860,1722,2386,3076,3044,1958,1874,2195,2151,2630,3229,3406,2851,3094,3240,3196,2880,2310,2746,2894,2341,2054,1768,1760,1871,2393,2165,2256,2624,3598,3774,3807,4139,4324,4245,3296,2332,2110,2435,2923,3150,2566,1921,2153,2051,1799,2031,2298,2187,1940,1990,2185,2742,3103,3340,3550,3342,2878,2874,2447,2644,2899,3017,3376,3374,3432,3820,4108,4184,4242,4415,4139,3395,2690,3436,4050,4056,4084,4100,3946,3397,3160,3275,3076,3188,3020,2807,2924,3082,3002,2833,2798,3087,3288,3124,3032,3150,3204,3065,2640,2360,2837,3053,3232,3112,2396,2019,2226,2292,2624,3266,3552,3806,3748,3778,3830,4105,3872,3363,3130,3151,2928,3167,3664,3606,3494,3619,3663,3760,3688,3935,4264,4365,4220,4210,4447,3739,2987,3409,3394,3220,2530,1934,1833,1880,1971,1593,1505,1460,1316,1716,1976,1439,1247,1597,2276,2077,2067,2712,2424,2445,2693,2534,2316,2069,2116,1700,1838,2127,2076,2496,3420,3248,3530,4031,3992,4011,4017,3790,3442,3459,3802,3585,3566,3193,3282,2911,2203,2215,2487,2514,2220,2160,2310,2429,2587,2741,3216,2496,2365,2483,2626,2609,2746,2653,2370,2210,2142,2075,2377,2492,2278,1850,1908,1908,2315,2522,3008,2849,2378,2452,2686,2669,2508,2131,2329,2680,2229,1997,2182,2426,3234,3616,3510,3234,2620,2137,2381,2961,2478,1973,1607,1387,1606,2174,2659,2471,2214,2402,2391,2210,2234,2031,2019,1647,1619,1625,1428,1581,2391,2392,1905,1743,2113,2523,2654,2763,3087,2466,2228,2226,2300,1780,1982,2398,2376,2782,2900,2492,2075,1415,1681,1641,1598,1635,1729,1461,1754,1980,1748,1635,1935,2040,1621,1560,1806,1866,1638,2002,1742,2316,2576,2150,2176,2143,2489,2702,2604,2408,2142,1869,1953,2326,2710,2381,2346,2148,1892,1870,2148,2232,1874,1865,2044,2489,2407,2017,1952,2243,2150,1622,1562,1866,2160,2512,2390,1984,1816,1815,1636,1723,1634,2043,1770,1521,1689,1986,2433,2580,2320,2062,2476,2557,2558,2419,2764,2563,2659,2620,2045,1592,1748,2100,2296,2358,2131,1780,1724,1649,1636,2143,1946,1709,1713,2500,2376,2008,2596,2724,2089,1865,2188,2034,2059,2295,2276,2191,1921,2098,1732,1622,2024,2014,2002,2081,1938,1795,1664,1493,1266,1290,1510,1757,2325,2541,2001,1418,1804,2531,3208,3413,2807,3029,3118,2289,2052,2876,2840,2216,1930,1908,1864,1703,1576,1616,2388,2365,1821,2126,2779,2677,1888,1694,1850,2401,3243,2912,3177,3663,4028,3565,2589,2753,3443,3902,4220,4368,4472,4388,3496,3121,3562,3873,3386,3291,3351,3929,4112,4324,4379,4526,4704,4675,4660,4522,4887,4692,4463,4423,3414,2367,2241,1950,2286,3427,3875,3373,3105,2888,2979,3625,3732,4018,4527,3529,2634,2824,3128,2988,2987,2978,2863,3149,3813,4109,4003,3803,3625,3441,3099,2839,2630,2596,2776,3076,3470,3579,3443,3773,4016,3838,3318,2481,3300,4038,3996,3863,3647,3591,3432,3432,3276,3494,3503,3396,3267,3138,3117,3187,3357,4045,4871,5087,4951,4772,4415,3994,3902,3936,3826,3759,3934,3854,3813,3861,3958,4121,4200,4272,4052,4028,4082,4144,3784,3940,3814,3688,3996,3793,3241,3274,3242,3212,3300,3485,3696,3467,3132,3303,3580,3642,3432,3355,3511,3618,3916,4297,4352,4428,4652,4586,4575,4284,4018,4050,3970,3646,3222,2658,2712,3613,3933,3639,3352,3852,3806,3466,2868,2618,2955,3024,3033,2706,1994,1970,1867,2214,2359,2666,2054,1815,2043,2288,1973,1777,1586,1453,1654,1694,1610,1542,1668,1701,1895,2015,1891,1723,1555,1677,1850,1790,2114,2293,1977,1558,1922,2522,1802,1703,1886,1872,2008,2055,1809,1688,1904,2468,2636,1897,1792,2040,2088,1878,1902,2125,2192,2003,2108,1919,2184,3018,2978,2674,2109,1752,2014,2484,2274,2263,2624,2626,1999,1710,1543,1363,1644,1816,1831,2276,2465,1661,1342,1255,1377,2004,2204,1822,1522,1838,2082,1769,1615,1632,1759,2009,2570,3385,2940,2751,3484,3862,3440,3344,3584,3472,3698,3651,3540,3176,3740,3770,3739,3739,3570,3219,2785,2595,2620,3068,3342,3348,3004,2767,2621,2693,2810,3325,3530,3427,3356,3426,3330,3108,2843,2514,2339,2487,2778,3210,3492,3816,4011,3630,3231,3263,3418,3441,3465,3238,3451,3373,3405,3499,3275,2971,2826,2175,1930,1833,1954,2604,2546,2687,3059,3137,3308,3963,4124,3502,3283,3266,3209,3255,3232,2937,3009,3273,3361,3315,2996,3146,3332,3510,3171,3293,3726,4006,3898,3673,4101,4205,3671,3144,2308,1910,1753,1475,1824,2271,2247,2458,2050,1549,1798,2198,2437,2653,2288,2588,2806,2741,3016,2756,1984,1870,1898,1898,2288,2420,2136,2311,2054,1902,1973,2113,2041,1726,1816,2480,2789,2521,2751,2838,2342,2074,2049,2607,3096,3293,3110,2890,2126,2056,2599,2313,2148,2552,2542,2370,2187,1865,1522,2238,2839,2706,2653,3005,3304,3441,3296,2877,2690,3163,3807,3270,2665,2836,2806,2463,2276,1946,1908,2355,2888,3293,2999,2924,2665,2414,2588,2584,2070,2237,2298,1720,1682,1857,1804,1814,2075,2096,2064,1991,1996,1712,1539,1895,2623,2514,2734,3429,2924,2637,2236,1976,1861,2314,2665,3009,2749,2785,3121,2563,1826,2293,2998,2351,2163,2622,2814,3530,3742,3870,3664,3563,3780,4002,3946,3985,4188,4240,4300,3746,2692,3315,3854,3907,3935,3557,2576,2620,2904,2396,2840,3439,2688,2613,2808,3109,3470,3826,3729,3598,2972,2375,2212,2632,3011,2857,2873,3059,3420,3527,3901,3964,3528,2766,2953,3636,3675,3110,3164,3737,3627,2952,2986,2831,2958,3531,3527,2780,1800,1692,1578,1607,1853,2005,2315,2404,2621,3085,3732,3865,3118,3096,3217,3137,2722,2197,2026,2005,1990,1787,1768,1913,2476,1945,1648,1744,1786,1925,2094,1874,1928,1938,2025,2288,2374,2536,2979,2818,3042,3085,3405,3442,3415,3153,2718,2445,2302,2137,2150,2487,2337,1936,2000,2397,2204,1852,1582,1561,1655,1660,1648,1685,1985,2111,2099,2395,2222,2729,2569,2171,1829,1996,2405,2822,3046,2774,2448,2524,2654,2718,2954,3041,2548,2249,2106,2454,2406,1998,1843,1920,2287,2007,2308,2407,2342,2190,2260,2331,2202,2081,2199,1939,1894,1857,1895,2398,3118,2295,2242,2822,2578,2046,2302,3303,3662,3659,3396,3272,3551,3509,2742,2214,2336,3232,3510,3109,2754,2944,2973,2658,2725,2989,3151,3190,3063,3272,3296,2629,2332,2855,3339,2974,2702,2862,2831,2634,2618],[2719,2696,2464,2357,2639,2964,2943,2670,2565,2854,2994,3132,2499,2317,2556,2109,1837,1970,2611,3226,3262,3385,3351,3260,2368,2271,2137,1876,1982,1796,1969,1980,1419,1967,2758,2807,2977,3142,2732,2441,2557,2684,2204,2132,2257,2222,2106,2186,2337,2676,2889,2705,2596,2395,3085,2107,1525,2039,1890,1686,1705,2036,2565,2580,2850,3187,3139,2492,1904,2443,2024,2059,2210,2430,2584,2249,2399,2468,2446,3218,3144,2597,2056,2520,3045,2994,2811,3618,3925,3421,2996,3112,2976,2561,3001,2900,2771,2835,3045,3187,3429,3215,3154,3180,2876,2577,3175,3335,3197,3232,3556,2901,2325,2426,2209,1721,1697,1838,1919,2012,2600,2877,2820,2186,1839,2174,2316,2598,2483,2473,2981,3256,3164,3187,2953,3084,3267,3353,3354,3646,3860,2818,2256,1892,1558,1729,1657,1561,1951,2171,2127,3141,3240,2946,2777,2726,3092,3269,3394,3453,3306,3197,3106,3235,3429,3332,3360,3379,3243,3317,3493,3474,3099,3225,3393,3518,3394,2700,2329,2193,2054,2471,2164,2077,2201,2912,3284,3346,3461,3817,3862,3535,3708,3365,2438,2446,2820,3016,3051,2727,1958,1520,1717,1957,2428,2620,2168,2736,2744,2644,2895,2902,2996,2856,2258,1901,1823,1917,1947,1982,1925,1874,2269,2587,2619,3023,3152,2942,2135,1736,1975,2045,2200,2065,1853,2114,1806,1587,2133,2227,2046,1906,1963,1958,1938,2654,2589,1896,2025,2002,1609,1475,1720,2347,1988,1720,1925,2316,2000,2204,2945,3210,3574,4067,3587,3189,2968,2312,2102,1969,2443,2763,3083,3263,3372,2907,1614,1425,2709,2887,2752,2728,1598,2254,2854,2668,2611,2931,3406,3528,3127,2732,2888,2762,2251,2536,2982,2831,2558,2817,3571,4099,4196,3699,2818,2346,2209,2647,3462,3251,3007,3019,2294,2053,2459,2653,2330,2313,2280,2272,2282,2214,2096,2031,1792,1781,1692,2104,2145,2097,2502,2348,2042,2211,1993,1621,1774,1895,2406,1889,1830,2380,2666,2469,2052,2026,2329,2513,2810,3276,3021,2510,2016,1996,1804,1388,1681,1953,2069,2243,2078,2184,2759,3100,3482,3764,2711,1754,1851,1779,1749,1839,1835,2036,2481,2676,2669,2626,2429,2698,2399,2632,2679,2280,2104,2160,2158,2238,1955,1571,1530,1997,2125,1699,1893,1893,1649,2069,2316,1730,1874,2276,2194,2250,2770,2556,2187,2015,2009,1789,1688,2179,2592,2642,3050,2841,2522,3008,3473,3356,3289,3516,4064,3390,2047,2080,2674,2512,2383,2964,2789,2019,1976,2050,2326,2708,2299,1810,2457,2814,2546,2256,1795,2242,3132,3488,3263,2812,2561,1847,2068,2078,2025,2347,2523,2280,2019,2395,2692,2386,2399,2874,2851,2855,2909,3024,3257,3285,2609,2124,2002,2155,2346,2252,2238,2339,2429,2940,3522,3383,3132,3213,3429,3017,2644,2774,3052,2784,2732,2741,2654,2437,2609,2838,3049,3413,3348,2473,1962,1867,2005,2023,2209,2399,2438,2887,2691,2127,2281,2280,2355,1904,1688,1697,1645,1664,1845,1971,1913,2033,1889,1941,1801,1725,1796,2036,2011,1988,2973,2810,1984,1769,2061,2511,2476,2420,2070,1848,1948,2014,2519,2359,1737,1685,1742,1523,1569,1709,2060,1707,1556,1439,1587,1771,1780,2094,2318,1869,1857,1918,1793,1829,2405,2817,2493,1802,1785,2707,3150,3334,3681,3429,3307,3459,3244,3262,2708,2008,1949,2110,2184,1991,1971,2679,3447,2619,1485,1670,2154,2895,3588,3727,3363,2899,3201,3296,2852,2701,2438,2911,2766,2102,1876,1621,1591,1620,2438,2887,2768,2990,3716,4145,4120,4156,4377,3795,2261,1938,2117,2301,2622,3278,3163,2202,2438,2477,1897,2240,3030,2801,2071,2192,2656,3088,3231,3099,2798,2256,2419,2602,2681,2731,2579,2945,3088,2957,3122,3557,3947,4063,4197,4409,4408,3979,3603,4102,4333,4239,4332,4209,4108,3784,3968,3471,3247,3166,2995,2910,2953,2909,2642,2490,2955,3276,3278,3052,3083,3285,3166,3067,2461,1922,2109,2533,3009,2788,1845,1710,2247,2545,2994,3518,3497,3572,3825,3562,3505,3698,3521,3063,3331,3960,3440,3383,3286,3127,3243,3586,3709,3655,3485,3661,4096,4227,4131,4227,4284,3203,2835,2951,3132,3162,2480,1776,1917,2007,1958,1797,1815,1764,1588,1756,1724,1421,1874,2035,1942,1713,2138,2591,2382,2780,2931,2640,2603,2481,2456,2050,2078,2131,1947,2303,3323,3209,3229,3802,3762,3619,3742,3588,3394,3199,3597,3819,3589,3060,2754,2276,1861,2214,2690,2628,2195,2258,2252,2358,2507,2908,3151,2507,2076,2351,2717,2422,2352,2571,2040,1613,1719,1786,2090,2662,2482,2060,1817,1895,2445,2896,3017,2841,2646,2753,2909,2792,2558,1805,1938,2069,2246,2799,2772,2341,2722,3436,3852,3614,2591,2159,1982,1975,1808,1928,1709,1591,1722,2199,2735,2590,2172,2121,2426,2789,2270,1944,2161,2042,1870,1765,1723,1712,1785,2185,2068,1847,2799,3227,3415,3560,3539,2696,2531,2430,2404,2074,2312,2329,1527,1791,2732,2822,2211,1555,2191,2124,1613,1457,1541,1520,1676,1746,1742,1675,1980,1836,1542,1534,1600,1689,1937,2333,2289,2707,2976,2453,1811,1935,2319,2392,2833,2525,2156,1901,2343,2784,2498,2262,2431,2431,2309,2092,2158,2045,1946,2086,2254,2263,2151,2081,2036,2125,2013,1790,2019,1960,2001,2728,2632,1500,1343,1689,1584,1622,1695,1791,1408,1596,2081,2264,2479,2477,2137,2333,2968,2651,2553,2560,3241,2953,2591,2731,2319,1936,2264,2270,2081,2084,2276,2127,2060,2086,2044,2123,1808,1591,1638,2190,2604,2558,3046,3627,3153,3311,3698,2609,1888,2000,1971,1889,2192,2372,1809,1541,1741,1990,1892,2037,1954,1892,1699,1477,1361,1552,1680,1863,2159,2103,1930,2033,2429,2798,3283,3212,2899,2879,2623,2235,2066,2444,2701,2192,2031,1918,2027,1870,1788,1908,2028,2075,1950,1937,2497,2318,1638,2030,1785,1847,2709,2495,3440,4064,3519,2435,2411,3071,3782,3671,3763,4553,4441,3608,2734,2691,2972,3105,2403,3132,3281,2979,3763,4518,4154,3994,4171,4299,4288,4556,4732,4476,4124,4392,3461,2199,1928,2164,2699,3474,3544,3562,2991,2834,3184,3636,3800,3842,4181,3694,2445,2201,3016,3297,3111,2942,2974,3011,3241,3528,3614,3738,3791,3523,2889,2498,2498,2346,2425,2633,3069,3263,3403,3669,3264,3480,2959,2756,3828,4356,4167,3938,3751,3864,3819,3685,3427,3804,3698,3499,3414,3352,3594,3536,3205,3744,4751,5095,4712,4500,4296,4052,3824,3625,3684,4017,3957,3707,4005,4184,4093,4345,4339,4308,4178,3846,3885,4068,4128,4484,4483,4292,4232,3687,3422,3422,3304,3461,3584,3706,3858,3605,3227,3431,3664,3606,3411,3507,3825,3983,4123,4313,4367,4478,4478,4523,4588,4192,3956,3820,3565,3269,2699,2539,3422,3955,3947,3552,3361,3651,3950,3670,3155,3085,3165,3111,3068,2513,1446,1584,1711,1995,2202,2409,2204,2279,2493,2263,2287,2388,1665,1692,2222,1753,1505,1527,1526,1560,1613,1950,1928,1728,1676,2054,2167,1897,1988,1957,1908,1677,1678,2019,1990,1718,1670,1639,1781,1881,1725,1664,1666,1550,1932,1954,1745,2170,2520,2235,1974,1822,1802,2007,2271,1824,2093,3285,3208,2860,2433,2170,2375,2749,2617,2531,2984,3087,2132,1607,1546,1512,1954,2039,2325,2777,2160,1510,1501,1355,1449,2047,2147,1903,1465,1593,1872,1832,1780,1662,1698,1590,1998,3207,3120,2754,3188,2938,2814,2916,3146,3250,3394,3486,3729,3748,3696,3496,3264,3062,2958,2292,2003,2577,2858,3119,3287,3065,2719,2575,2464,2577,2853,2997,3074,3341,3276,3328,3294,3079,2692,2366,2245,2590,2815,3211,3439,3438,3249,2984,2961,3075,3371,3444,3372,3097,3293,2772,2638,2755,2656,2880,2742,2192,2130,2343,2527,2664,2799,2919,3138,2501,2647,3287,3428,3281,3307,3327,3161,3039,3045,2866,2786,2851,2951,3061,3109,3238,3342,3476,3486,3565,3737,3957,3595,3607,3763,3796,3695,2940,1914,1571,1661,1667,1942,2207,2477,2812,1962,1795,2192,2408,2554,2425,2134,2360,2309,2552,2920,2567,2295,2417,2423,2229,2496,2566,2487,2730,2430,2185,2263,2627,2502,1900,1621,2285,2972,2724,2728,2598,2134,2343,2419,2907,3053,3000,2950,2630,2417,2598,2859,2142,1860,1859,1728,2065,2064,1929,2216,2736,3059,2798,2662,3250,3327,3273,3419,2867,2945,3221,3199,3026,2988,3169,2646,2126,2135,2051,1880,2156,2741,2520,2060,2734,3362,3300,3454,3055,2271,2286,2800,3134,2759,2011,1860,2091,2061,1860,2042,2192,2048,1875,1718,1933,2433,2569,2784,3063,2518,2893,2435,2169,1934,2605,2441,2052,2225,2745,3094,2478,1547,1471,2182,2376,2345,2641,2800,3419,3926,4083,4015,3915,3807,3783,3707,3915,4185,4084,3915,3518,2935,2445,2714,3154,3448,3448,2530,2479,2532,1784,1863,2746,3260,3017,2781,2895,3305,3688,3494,3277,3150,2791,2545,3055,2821,2632,2339,2510,2999,3220,3311,3078,2457,2203,2780,3252,3316,3084,2595,2318,2809,2835,2880,2723,3296,3435,2951,2208,1656,1563,1570,1454,1483,1852,2259,2502,2558,2828,3374,3819,3861,4018,3718,2679,1787,1700,2055,2183,1947,2421,2234,2174,2046,1658,1758,2332,2412,2053,1946,2117,2382,1830,1812,1776,1841,2120,2555,3029,2901,2895,3167,3144,3002,2451,2203,2259,1927,2474,2445,2225,1857,1508,2077,2696,2486,1857,1661,1738,1583,1660,1934,2008,2106,2049,2060,1969,2205,2411,2199,2037,1571,1719,2210,2896,3186,2790,2332,2655,3162,2868,2822,2656,2241,2064,2294,2314,2216,2194,2079,1965,2115,2241,2751,2834,2689,2885,2819,2524,2090,2029,2030,2366,3366,3067,3075,2977,2920,2214,2440,2669,2754,2646,2847,3407,3587,3975,3610,3435,3688,3817,2753,2135,2668,3417,3583,3614,3373,3021,2880,2801,2585,2533,2520,2198,2587,3274,3426,2937,2953,3528,3382,2720,2767,3005,3328,3279,2758],[2675,2385,2438,2164,2468,2669,2271,2113,2122,2585,2541,2464,2302,2232,2424,2286,1940,1875,2302,2657,2791,3032,2912,2877,2493,2289,2196,2017,2238,2138,2145,2663,2649,2590,2766,2609,2727,3044,2712,2796,3319,2796,1811,1912,2496,2546,2251,2553,2656,2705,2541,2457,2330,2280,2396,1802,1499,1829,1879,1638,1869,2436,2495,2353,2836,2343,2357,1963,2070,2481,2271,2203,2513,2797,2484,2271,2908,2689,2618,3143,3097,2473,2046,2143,2520,2639,2750,3263,3807,3993,3705,3187,2719,2253,2625,2603,2526,2670,2972,3366,3584,3464,3040,2449,2226,2642,3252,3151,2783,2865,3072,3088,2854,2719,2250,1971,1854,1928,2523,2285,2054,2830,2753,2356,1816,1857,2402,2714,2377,2226,2823,3160,3008,3006,2776,2621,2624,2522,2438,2675,3209,2823,2432,2577,2240,1767,1508,1561,2085,2378,2357,3241,3050,2818,2745,2778,2947,3153,3349,3175,3161,3322,3162,3216,3269,3182,3276,3271,3244,3409,3550,3608,3342,3195,3312,3144,2854,2851,2396,2208,2072,2312,2029,1824,1929,2473,3187,3482,3422,3586,3643,2608,3041,3716,3307,3053,2758,2796,2901,2610,1752,1485,1861,1945,2554,3008,2414,2429,3095,2837,2424,2775,3419,3088,2190,1781,2182,2886,3160,2290,1879,1652,2172,2510,2665,3049,3010,2833,2093,1839,2250,2615,2866,2743,2496,2379,2235,2402,2489,2481,1973,1585,1486,1415,1605,2082,2275,2031,1665,1835,1898,1692,2036,1864,1664,1865,2242,2871,3330,3548,3650,3441,3430,3494,3570,3628,3208,2733,2477,2226,2092,2064,2348,2831,3422,3111,1900,1951,2709,2833,2539,1919,1697,2464,2832,2700,2570,2876,3197,3646,3283,2987,2788,2684,2655,2690,2897,2680,2259,2091,2509,3295,4000,3926,3054,2312,1946,2148,2964,3054,2504,2664,3011,2867,2903,2612,1886,2357,2796,2467,2381,2343,2138,1641,1360,1566,1411,1260,1632,1946,2588,2776,2622,1973,1616,1571,1530,1939,2313,2477,2609,2820,3097,2910,2342,2119,2290,2574,3160,3469,2524,2403,2109,2135,2148,2020,2068,1833,1890,1997,1822,1603,1851,2976,3903,3829,2685,1744,1799,2097,2084,2113,2285,2152,1947,1843,2099,2710,3240,3217,2696,2575,2746,2872,2977,2720,2500,2048,1471,1313,1616,1664,1657,1381,1640,1617,972,1998,2912,2152,2125,2174,2182,2321,2671,2579,2434,1916,2185,2007,2163,2758,2736,2974,3155,2510,2667,2718,3275,3218,3301,3504,3781,3082,2004,2458,3007,2381,2031,2588,2397,1913,1899,1985,1800,1988,2316,2234,2350,2034,1965,1988,1606,1786,2898,3618,3350,2428,1896,1937,1981,1946,2020,2270,2538,2330,1884,2077,2624,2781,2768,2965,2930,2767,2927,3138,3260,2957,2297,2041,2291,2643,2505,2085,2123,2200,2375,2732,3006,2922,2939,3226,3388,2906,2558,3000,3063,2806,2864,3168,2889,2457,2887,3016,3146,3262,3388,3150,2559,2165,1905,1899,2271,2531,2922,3373,3133,2096,1863,2087,2276,1964,1926,1910,1608,1721,1960,1817,1764,2043,1839,1795,1644,1840,2170,2690,2183,2235,2792,2093,1950,2276,2322,2519,2353,2146,2179,1896,1790,1632,2250,2462,1625,1686,1981,1513,1539,1714,1699,1655,1524,1425,1609,1864,1996,1990,1740,1675,1919,1699,1786,1705,2274,3086,2932,2211,2236,2834,2953,2820,2724,3093,3617,3466,3352,2755,1947,1667,1723,1961,1600,1575,1821,1979,2035,1783,1482,1810,2494,3265,3454,3437,2917,2575,2754,3089,3032,2583,2608,3241,2776,1929,1870,2037,2019,1714,1914,2988,3938,3950,3894,3852,3650,3741,3993,3431,2296,2120,2066,1868,2022,2035,2398,2307,2943,3373,2518,2504,2902,3232,2259,2423,3001,3250,3238,3021,2776,2400,2061,1939,2502,2735,2558,2562,3131,2901,2990,3292,3551,3758,4018,3904,3937,4001,4157,4346,4389,4388,4444,3708,3727,3874,3952,3749,3551,3334,3299,3288,3184,2988,2856,2648,2716,2598,2690,2781,2868,3165,3173,3069,2544,1954,1841,1932,2164,1972,1654,1892,2221,2695,3168,3542,3569,3585,3506,3319,3341,3554,3665,3476,3345,3032,2540,3062,3520,3638,3515,3587,3552,3454,3362,3460,3916,4165,4112,3908,3620,2897,2806,2920,2900,2408,1578,1415,1850,1998,2251,1873,1716,1899,1838,1923,1737,1531,1536,1481,1459,1921,2811,2882,2701,3119,3050,2589,2235,2446,2525,2330,2083,1784,1632,2057,3022,3229,3012,3538,4020,3824,3283,2767,3073,3481,3624,3361,2617,2262,2382,2311,2128,2038,2206,2442,2389,2214,1893,2257,2718,3098,2693,2501,2789,2934,2919,2219,2096,2433,2110,1874,1942,2018,2066,2497,2492,2046,1746,2203,3227,3333,2912,3115,3305,3244,2604,1908,1874,1611,1660,1947,2780,3317,2745,1945,1882,2854,3771,3919,3076,2409,2169,1819,1506,1749,1851,1786,1904,2273,2460,2162,2229,2305,2456,2237,1943,1886,1910,2032,1810,1599,1758,1670,1736,2015,2287,2621,3100,3197,3586,3216,2790,2354,2185,2135,2423,2271,2138,1978,1155,1081,2003,2093,1919,1819,2453,2124,1587,1536,1688,1877,1741,1633,1936,2139,2199,1591,1556,1571,1504,1570,1812,1907,2036,2490,2802,2161,1521,1619,1704,1577,2236,2469,2459,2480,2365,2489,2552,2577,2752,3094,3077,2727,2542,1989,1757,1825,2262,1889,1714,1749,1958,2084,1936,1865,1961,1770,1506,1841,2286,2294,1814,1726,1722,1763,1972,2076,1827,2070,2646,2465,2475,2497,1981,2670,3349,2755,2585,2240,2450,2496,2396,2658,2684,2408,2172,1883,1986,2641,3164,2927,2893,3249,3299,2810,2064,1540,1485,1791,2264,2498,2486,2852,3056,3586,4468,3706,2305,1660,1560,2001,2944,2239,1675,1632,1999,1975,1798,1792,1827,1938,1896,1756,1696,1629,1594,1752,1857,2029,2014,2227,2077,2723,3022,3097,2641,1908,1818,2160,2260,2431,2229,1957,2016,1690,1744,1843,1637,1781,2332,2579,2158,1605,1813,2072,1762,2125,2064,2104,2202,2113,3116,3394,2634,2476,2818,3387,3671,2733,3240,4200,3898,2708,2470,2518,2802,2909,3200,3937,3437,2789,3736,4632,4360,3880,4124,4184,3443,3861,4172,4307,4320,4332,3631,2247,2016,2532,3017,3392,3076,2886,2637,2931,3436,3546,3671,3727,3829,3857,3263,2500,2742,3142,2857,2829,3165,3022,2938,3362,3565,3708,3640,3260,2807,2625,2887,2663,2570,2700,3098,3162,3303,3438,3152,2927,2964,3452,4155,4495,4312,3891,3842,3977,3921,3758,3684,3885,3749,3954,4268,3863,3851,4019,3574,3231,3986,4860,4387,4298,4095,4099,3980,3684,3715,4073,4141,3938,4229,4475,4520,4596,4668,4235,3883,3377,3584,4152,4355,4480,4440,4499,4383,3767,3777,3765,3386,3553,4003,3741,3718,3628,3476,3759,4005,3789,3387,3497,3880,3969,4142,4480,4577,4700,4492,4519,4428,4124,4028,3870,3318,2688,2355,3201,3682,3570,3826,3570,3229,3600,3934,3585,3319,3274,2728,2085,2107,2039,1596,2178,1926,1693,2184,2213,1832,2033,2323,2287,2446,2119,1651,1559,1760,1660,1634,1788,1820,1715,1573,1718,2003,2138,2016,2191,2399,2058,1741,1374,1732,2229,2064,2207,2345,1690,1290,1514,1810,1917,2055,1820,1478,1333,1706,1802,1609,2219,2612,2277,2099,2133,2196,2568,2784,1911,1672,2366,2251,2065,1747,2315,3081,3048,3106,3011,2813,2823,2202,2103,2178,1771,1735,1851,1619,1572,1490,1382,1567,1571,1758,2348,2392,1898,1567,1519,1628,1714,1736,1670,1664,1697,1931,2508,3121,3228,2853,2610,2468,2331,2543,2796,2595,3251,4017,4086,3736,3353,2773,2633,3064,2361,2184,2852,3249,3144,3123,2983,2830,2405,2311,2741,3039,3217,3086,3042,2954,2921,3028,2930,2776,2475,1968,2137,2686,2780,2787,2728,2721,2780,2951,3153,3610,3550,3312,2952,2902,2600,2421,2404,2710,2844,2643,2523,2432,2491,2708,2631,2638,2741,2719,2501,2912,3257,3292,3084,3030,3182,3206,2937,2974,3218,3160,3091,2734,2910,3294,3461,3880,3883,3575,3559,3611,3806,3966,3697,3252,2858,2581,2024,1780,1869,1769,1803,2030,2344,2471,2267,2306,2328,2541,2701,2471,1900,1752,1848,2091,2788,2756,2698,2770,3110,3006,2518,2508,2675,2801,2668,2554,2347,2214,2343,2453,1945,1626,2235,3217,3155,2416,1959,2246,2486,2619,2756,2700,2632,2415,1868,1506,2083,2613,2067,2279,2366,2067,2270,2132,2507,2751,2894,3487,3413,3592,3423,3206,3432,3553,3062,3017,2736,2355,2147,2182,2464,2033,2132,2071,1945,1852,2288,2609,2429,2418,2920,3454,3596,3269,3143,3199,3045,3619,3784,2930,2361,1896,2027,2051,1757,2116,1901,1526,1759,1797,1860,1963,2017,2072,2462,2678,3430,3225,2421,2048,2289,2068,1867,1910,2523,2689,2323,1915,1645,2241,2734,2282,2829,3181,3518,4212,4351,4231,4033,3991,3849,3822,3926,4112,3945,4084,3529,3001,2834,3056,3721,4043,3464,2176,1983,2024,2216,2142,2502,3396,3471,2946,2419,2493,2657,3220,3504,3044,2761,2801,2508,2484,2460,2581,2452,2894,3575,3397,3072,2692,2424,2609,2816,2952,2758,2194,1894,2432,2526,2671,2921,3418,3436,2835,2353,1914,1824,2158,2117,1880,1929,2164,2443,2605,2574,2556,2687,2676,2708,3604,3284,2132,1816,2122,1863,1800,2486,2315,1873,1639,1602,1677,2120,2569,2385,2416,2657,2559,2054,2049,1887,1530,1637,2242,3233,3681,3352,3043,2652,2248,2363,2213,2150,1864,2551,2585,2181,1820,1894,2591,2999,2732,1931,1852,1603,1597,1836,2233,2744,2835,2475,2375,2483,2532,2104,1736,1857,1933,1637,1954,2812,2930,2419,2129,2973,3480,2849,2456,2949,2807,2542,2151,1725,1904,2154,2144,2061,2082,2386,2337,2523,3334,3176,2389,2132,1976,1973,2442,3032,3377,3266,3440,3154,2238,1799,1803,2315,3013,2443,2474,3094,3662,4046,3370,3143,3629,3852,3231,2754,3212,3727,3793,3970,3618,2863,2691,2821,2631,2476,1736,1763,2476,3245,3604,3263,3162,3162,2584,2387,2756,3105,3851,3785,3029],[2348,2419,2562,2134,2170,2954,2581,2278,2411,2737,2439,2520,2469,2179,2231,2285,2401,2587,3027,2596,2415,2579,2473,2487,2480,2414,2322,2426,2544,2488,2532,2862,2545,2286,2471,2590,2602,2756,2739,3045,3345,2791,2057,2122,2509,2481,2476,2957,2949,3040,2601,1844,2113,2366,1920,1463,1536,1950,1763,1722,1996,2159,2220,2252,2329,2407,2308,2137,2310,2217,1932,2082,2711,2743,2536,2732,3659,3006,2665,2937,3344,3013,2448,2753,3008,2988,3184,3485,3651,3764,3281,2849,3164,2777,2322,2247,2347,2321,2491,3074,3305,3220,2642,2086,2409,3189,3373,3117,2984,3205,3022,3151,3570,3096,2508,2511,2415,2308,2963,2642,1973,2747,2671,2613,2526,2369,2438,2293,2328,2741,3006,2546,2685,2567,2453,2063,2065,1906,1804,1740,2621,2806,1929,2677,2789,1808,1355,1334,1960,2841,3297,3497,3166,2879,2946,3030,2864,2892,2983,2688,3101,3451,3268,3185,3203,3155,3159,3131,3219,3414,3463,3506,3483,3385,3016,2666,2686,1933,1785,1923,1964,2288,2474,2235,2040,2380,2608,2834,2784,2871,2522,1537,1708,3008,3364,3195,2833,2200,1849,1846,2122,2444,2665,2368,2430,2940,2842,2227,2759,2835,2288,2567,3460,3429,2001,1885,2311,3082,3072,2317,1735,1628,2161,2308,2500,2720,2776,2558,2215,2302,2269,2498,2408,2709,3024,2647,2200,2075,2160,2282,1857,1483,1521,1487,1676,2204,2614,2131,1766,2160,2151,1920,2239,1764,1384,1588,2417,3451,3938,3909,3514,3542,3728,3516,3791,3623,3338,3566,3076,2318,1999,1565,1593,1807,2024,2387,2177,2825,2975,2929,2637,1974,2123,2600,2706,2629,2824,3131,3452,3573,3040,2335,1958,2097,2381,2711,2711,2425,2223,2117,2946,3209,3095,3164,2470,1994,1832,1744,1917,2393,2562,2884,3052,2946,3500,3640,3062,3500,3670,3281,3152,2671,2483,2203,1826,2088,1781,782,1256,2295,2868,2618,2621,2098,2286,2169,1822,2040,2714,3293,3160,2951,2814,2401,2135,2575,2911,2492,3167,3299,2947,3242,2920,2430,2360,2495,2469,1676,1892,1758,1446,1574,1717,2051,2106,2178,2393,2017,1779,2330,2934,3129,3168,2132,1699,1832,1855,2182,2808,2810,2410,2260,2446,2429,2252,2709,2790,1962,1422,1265,1667,1611,1509,1425,1437,1443,1193,1757,2769,2301,2049,2016,2429,2289,2157,2094,2139,2502,2734,2655,2956,3076,3410,3852,3602,2855,2753,2850,3350,3333,3370,3155,3300,2889,2235,2511,2946,2402,1682,2292,2808,2768,2578,2315,1789,2011,2523,3174,2834,1793,2026,2073,1562,1494,2014,2847,2991,2939,2568,2031,1721,2022,2010,1680,1891,2257,2487,2362,2291,2531,2874,3048,3033,2821,2536,2681,3165,2800,1899,1797,2225,2351,2157,1764,1784,2198,2430,2303,2422,2723,2891,2975,2984,2851,2967,3040,2920,2902,2791,3212,2608,2555,2579,2845,3019,3162,3486,3099,2741,2630,2195,2339,2587,2552,3011,3588,3204,2216,1788,1565,1556,1792,1860,1768,1573,2008,2351,1742,1980,2261,1858,1619,1663,1430,1516,2238,2198,2373,2321,1871,2362,2564,2376,2035,1823,1776,1857,2230,2122,1547,1887,2263,1886,1649,1689,1708,1826,1675,1826,2114,1722,1676,2041,2102,1889,1965,1923,1619,2010,1679,1479,1466,1990,2454,2204,2159,2441,2743,2918,2813,2668,3493,3793,3675,3333,2603,2665,2309,2139,2010,1534,1653,1716,1592,1680,1410,1602,1847,2017,2111,2130,2797,2886,2259,1981,2257,2384,2140,1989,2551,2384,1612,2009,2568,2525,2034,1764,2612,3452,3857,3649,2917,3030,3627,4117,3395,2877,2974,2374,1859,1606,1602,2417,2895,3195,3152,2814,2709,2556,3024,2710,2624,2933,3165,3119,3005,3038,3010,2815,2358,2345,2889,3024,2347,2775,3081,3264,3533,3486,3714,3759,3552,3817,4100,3772,3762,4285,3933,4200,3224,3456,3574,3121,3318,3416,3363,3504,3475,3264,3094,2882,2469,2286,2456,2697,2991,3088,3088,3039,2812,2487,2239,2231,2115,2037,1844,2018,2157,2048,2049,2654,3363,3610,3709,3631,3450,3334,3437,3522,3369,3227,2673,2329,2967,3918,4179,3847,3439,3409,3545,3330,3137,3263,3462,3692,3607,3052,2780,2733,2815,2539,2118,1870,1676,2058,2103,1826,1494,1374,1578,1858,2054,1895,1769,1725,1906,1938,1998,2554,2702,2858,2851,2541,2436,2332,2576,2552,2128,1992,1888,1766,1941,2597,2820,2977,3388,3306,2409,1693,2065,2963,3340,2931,2100,1740,2079,2049,1997,2105,1855,2010,2193,2434,2342,2443,2877,3195,3134,2484,2807,3251,3077,3364,2988,1988,1720,2237,2141,1614,1520,1875,2291,2096,1849,2079,2578,3672,3190,3002,3269,3587,3681,2754,1834,2009,1976,1759,1996,2476,2618,2082,1864,1801,2348,3300,3704,2966,2097,2127,2074,1802,1992,2098,1919,1708,1922,1937,1795,2238,2499,2004,1724,1979,1883,1686,1612,1456,1409,1635,1657,2082,1844,2185,2814,3041,3097,3096,2901,2631,2360,2432,2510,2284,2222,2180,2095,1636,1648,1693,1684,1792,2170,2422,2070,1725,1493,1527,1851,1960,1673,2018,2575,2702,1925,1835,2196,2029,2025,2093,1892,1870,2317,2332,2008,1750,1678,1541,1810,2169,2127,2460,2545,2210,2353,2652,2822,2873,3078,2994,2524,1932,1811,1729,1513,1827,1778,1526,1689,1876,1797,1857,1786,1744,2047,2094,1701,2342,2711,2258,2030,1847,1853,1853,2010,2276,2542,2730,2622,2338,2229,2204,2924,3262,3312,2540,2031,2589,2503,2501,2712,2666,2370,2153,2096,2219,3025,3422,3554,3794,4011,3891,3074,2160,1515,1187,1652,2148,2155,2133,2028,1920,2731,3811,3746,2725,1811,1589,1959,2670,1760,1627,1623,2014,1886,1766,1623,1655,1776,1886,1966,1992,1777,1599,1502,1549,1790,1802,2124,2422,2699,2674,2751,2568,1859,1928,2041,1735,2189,2020,1742,1783,1713,1728,1859,1626,1547,1656,1649,1644,1479,1716,1745,1727,2159,2220,2846,2741,2258,2380,2799,3338,3327,3199,3627,3482,3452,3874,4064,3370,2067,2092,2679,2823,2583,3132,4094,3961,3175,3630,4335,4619,4436,4114,3542,2964,3138,3429,3928,4270,4070,3764,2496,2371,2806,3106,3276,3432,2941,2622,3174,3731,3945,4100,4031,4137,4149,3997,2899,2611,3022,3293,3536,4009,3591,2857,2857,3030,3383,3316,2820,2994,3227,3521,3573,3181,3483,3505,3184,2925,2402,2121,2722,3553,4049,4315,4506,4300,4048,4063,4256,4046,3928,3904,4045,4277,4591,4652,4276,4220,4020,3827,3363,3421,4135,4484,4456,4212,4155,4064,3962,3837,3957,4050,3948,3950,4169,4388,4447,4588,4395,4100,3860,4045,4311,4387,4540,4479,4416,4245,3723,3444,3495,3420,3605,3770,3565,3538,3672,3638,3630,3950,3771,3363,3399,3891,4155,4164,4400,4608,4607,4479,4356,4163,4002,3789,3583,2791,2429,3032,3383,3176,3204,3521,3459,3366,3504,3814,3730,3321,2846,2140,1605,1719,1791,1716,2440,1941,1714,2332,2030,1741,1851,1753,2045,2598,2012,1947,1703,1581,1772,1699,1800,1980,1818,1656,1584,1896,2604,2651,2380,2376,2048,1924,1600,1914,2550,2248,1899,2055,1893,1714,1471,1676,1764,1837,1715,1870,1755,1686,1610,1687,2464,2977,2250,1780,1820,2199,2564,2499,1401,1013,1419,1569,1662,1317,2198,3318,2745,2872,2919,2545,2579,2066,1982,2238,1952,1600,1885,1953,1723,1565,1424,1549,1412,1468,2217,2053,1734,1899,1669,1842,1937,1581,1667,1794,1874,2691,2908,3449,3651,3480,3407,2751,2484,2708,3167,2994,3310,4074,3990,3648,3459,2967,3164,2998,2270,2158,2932,3318,3086,2947,2916,2884,2907,3057,3132,3164,3063,3041,3056,2810,2748,2763,2612,2422,2303,1848,1934,2386,2416,2552,2812,3098,3145,3031,2972,2971,2886,2783,2786,2600,2398,2280,2383,2761,2781,2417,2600,2697,3227,3579,3211,2766,2844,2826,2861,2932,2997,3086,3017,2830,2897,3051,3105,3465,3544,3323,2966,2604,2802,3297,3721,4206,3972,3620,3715,3752,3726,3780,3185,2568,2820,2381,1438,2288,2474,1996,1913,1949,2582,2385,1824,2355,2903,2779,2523,2521,2571,2443,2053,2063,2570,2502,2695,2658,2504,2567,2551,2307,2492,2641,2603,2179,2065,2253,2380,2458,2028,2180,2048,2819,2899,2225,2046,2475,2721,2597,2467,2522,2364,2824,2522,2221,2644,2222,2120,2433,2023,2194,2546,2171,2208,2353,3001,3847,3628,3517,3263,2699,2691,2716,2260,2400,2806,2907,2937,2317,2403,1937,2275,2118,1995,2127,2357,2533,2952,3210,3217,3044,3158,3084,3173,2933,2586,2776,2933,2617,2483,2286,2569,2116,1901,2544,2320,1542,1628,1638,1728,1605,1753,1868,2061,2625,3205,3204,2474,1772,1626,1788,1872,1846,2366,2303,2220,2050,1948,2342,2579,2859,2911,2812,3328,3934,4084,4209,4153,4141,4063,3848,3494,3523,3582,3307,2645,3160,3820,3673,3950,3970,3009,2471,1969,1870,2577,2490,2709,3319,3354,2732,2229,2070,2281,3441,3355,2684,2830,2480,2533,3298,2774,2658,2942,3419,3697,3625,3260,3039,2818,2418,2282,2652,2652,1760,1742,2258,2531,2907,3186,3548,3418,2583,2155,1835,2499,2757,2503,2045,1668,1716,2153,2386,2417,2303,2151,1932,1945,2856,3050,2829,2099,1777,1509,2315,2664,2248,1943,1813,1769,1808,1970,2098,2081,2115,2456,2107,2242,2719,2532,2056,2126,2346,2402,3054,2909,2542,2539,2363,2603,1981,1914,2069,2598,2845,2591,2213,2261,2964,3233,2529,1792,1529,1612,1876,2023,2510,3312,3123,2409,2371,2606,1903,1826,1978,1974,2340,1937,2108,2564,2440,2153,2074,2684,3341,3046,2632,3162,2846,2768,2386,1855,2065,1974,2034,2233,2143,2363,2504,2256,2504,2358,1798,2055,1997,1818,2528,2979,3231,2833,3108,3275,2372,2062,1926,2417,2527,2197,2359,2799,2939,3159,3178,3264,3661,3928,3779,3387,3520,3794,3749,3582,3388,2789,2780,2827,2872,2164,1460,2360,3157,3414,3576,3305,3150,2673,2112,2148,2788,3495,3818,3696,3128],[2178,2257,2721,2287,2520,3016,2840,2573,2863,2932,2602,2774,2250,1899,2158,2157,2619,3107,3277,2667,2358,2426,2478,2466,2252,2108,2039,2193,2308,2401,2544,2796,2719,2312,2436,2753,2654,2692,2880,2895,2840,2705,2187,2166,2238,2677,3085,3256,2977,3212,3046,2523,2652,2618,2199,1530,1739,2275,1844,2127,2314,2323,2534,2283,2146,2408,2412,2374,2198,1932,1692,1868,2464,2640,2818,2858,3142,3041,2765,2798,3226,2980,2699,2951,3116,3366,3178,3059,3243,3264,2866,2967,3242,2545,1983,2028,1913,1942,2239,2735,2908,3111,2778,3007,3379,3482,3322,3075,3167,3510,3286,3335,3466,3021,2807,2676,2113,2247,2709,2568,2425,2586,2335,2361,2522,2512,2684,2616,2746,2986,2552,2482,2740,2499,2601,2730,2490,2261,2179,2069,2820,2742,1823,2517,2714,1862,1504,1748,2145,2597,3116,3452,3203,3095,3134,3050,2934,2898,3110,3119,3428,3396,3109,3118,3293,3204,3156,3254,3360,3460,3497,3494,3408,3410,3023,2744,2780,2185,1725,1793,1762,2111,2679,2518,1980,2366,2458,2478,2720,3166,2524,1765,2044,2824,3099,3100,2230,1486,1925,2404,2601,2633,2735,2206,2008,2553,2956,2404,2187,2285,2280,2676,2949,2964,2659,2846,2877,3150,3228,2824,2092,1875,2388,2542,2154,2291,2120,2033,2599,2843,2451,2283,2194,2303,2840,2526,1864,1855,2070,2128,1904,1747,1825,1670,1797,2171,2564,2261,2104,2457,2281,2177,2186,2071,1846,1477,2639,3618,3658,3639,3745,3669,3652,3707,3749,3443,3406,3912,3695,2845,2214,1705,1533,1658,1809,1901,2437,2845,2916,2923,2619,2645,3211,3017,2642,2702,3140,3215,3755,3760,3128,2430,2120,1876,1688,2200,2770,2708,2439,2119,2867,3407,3404,2447,2164,1995,1931,1848,1844,2279,2876,2852,2657,2550,3492,4007,3726,4026,4018,3823,2940,2264,2566,2759,2471,2476,2305,1731,1928,3107,3542,3384,3074,2657,2595,2543,2389,2573,3052,3343,3205,2801,2476,2131,2159,2836,2732,2198,2856,3256,3185,3215,2858,2440,2247,1916,1999,1710,2094,1741,1271,1743,1861,1616,1382,1412,1686,1825,1672,2272,2946,3057,3084,2432,2363,1903,2100,2654,2632,2452,2026,1605,1728,1677,1668,2136,2645,2021,1612,1545,1836,1958,1858,2121,2208,1880,2294,2869,2908,1966,1595,1983,2271,1621,1535,1566,1764,2563,2849,2668,3081,3249,3413,3371,3356,2624,2402,2880,3006,3349,3620,3561,3597,2879,2270,2088,2566,2052,1556,2055,2722,2792,2547,2031,1505,2003,2630,2834,2686,2026,1980,2044,1919,1967,2377,2555,2667,3162,3372,2489,1712,1986,1835,1431,1906,3094,3536,3010,2500,2176,2426,2885,2930,3019,2996,2952,2976,2714,2369,2053,2185,2256,2346,1993,1566,1743,1832,2008,2190,2277,2388,2373,2419,2624,2751,2831,2944,2872,2769,2997,2518,2309,2677,3430,3319,2997,3065,2691,2766,3101,3044,3099,2752,2456,2675,3343,2961,1967,1810,1741,2094,2139,1676,1578,1774,1981,2272,1828,1980,2202,1952,1782,1814,1416,1460,2193,1938,2027,2054,2172,2450,2448,2525,2438,2374,2135,1954,2642,2736,2002,1586,1694,2002,1958,2060,1943,1845,1654,1884,2099,2094,1950,1898,2003,1664,1744,2013,1631,1734,1570,1396,1440,1692,1613,1874,2788,2925,2818,2955,2962,3417,4101,3767,3913,3275,2257,2047,1831,1856,1705,1798,2309,2497,2223,2216,1864,1691,1599,1545,1544,1546,2000,2303,2038,1753,1607,1614,1625,1670,1918,1910,1614,1828,1869,2208,2242,1929,1826,2372,3382,3355,2854,3389,3440,3582,3275,2843,2697,2196,1818,1760,1863,2104,2405,3010,2973,2674,2470,2152,2522,2306,2325,2865,3230,3200,2926,2921,2904,3223,3157,2834,3332,3784,3579,3516,3460,3522,3482,3554,3925,3760,3532,4034,4421,3606,3331,4004,4333,4188,3653,3440,2862,2580,2869,3078,3276,3426,3334,3366,3274,3094,2714,2451,2599,2736,2957,3087,2872,2867,2629,2684,2966,2649,2454,2432,2261,2407,2202,1981,2042,2644,3352,3432,3522,3522,3481,3418,3499,3378,3406,3383,3528,3915,4441,4531,4388,4135,3437,2880,3125,3320,2894,2630,2361,2930,3109,2620,2421,2504,2604,2590,2607,2918,2010,1836,1736,1629,1499,1520,1611,1725,1737,1976,2309,2584,2858,2586,1803,2165,2363,2706,2425,2022,2155,2441,2535,2132,1869,1996,2084,2050,2018,2280,2446,3274,2824,2233,1887,1986,2510,2866,2746,2050,1675,2414,2866,2308,2084,2232,1857,2172,2541,2633,2685,2768,2430,2230,2428,2154,2713,2978,2895,3287,3019,2571,2227,2420,2083,1804,2258,2246,2079,1896,2170,2620,2623,3666,3352,3462,4004,3919,3789,3110,2323,2400,2408,2092,2193,2602,2515,1832,1947,2190,2171,2757,2729,2164,1737,1908,2197,2085,1907,2172,2352,2033,2220,2272,2030,2084,2208,1996,1682,1565,1734,1671,1531,1542,1400,1516,1964,2410,1858,1776,2225,2539,2512,2720,3416,3218,2543,2377,1891,1590,1812,1770,1772,1862,1918,1628,1708,1998,2281,2205,1843,1778,1909,1814,1803,1865,1907,2086,2103,2624,2770,2896,3145,2950,2547,1722,1511,1704,1904,1664,1636,1638,1476,1790,2161,1866,1515,1776,2204,2340,2618,2664,2767,2420,2204,2211,1881,1890,2230,2107,1815,1595,1511,1642,1768,1699,1634,1723,1722,1718,2038,2491,2871,3062,2876,2720,2370,1996,2014,1870,1607,2013,2339,2636,2554,2454,2248,2462,2712,2834,2724,1933,1912,2649,2818,2610,2309,2021,2217,2486,2512,2438,3134,3563,3631,3925,4040,4148,3830,2498,1810,1464,2022,2204,2120,2320,2220,2390,2964,3286,3221,2265,1510,1606,1647,1902,1827,1545,1690,1897,1953,1766,1558,1580,1598,1812,1994,1839,1850,1682,1571,1692,1629,1721,1869,1880,2022,2193,2297,2361,1784,1974,1835,1526,1682,1561,1371,1634,1763,1645,1655,1653,1458,1566,1930,1971,1765,2040,1756,1781,2056,2285,2792,2803,2437,2343,2805,3588,3491,3676,3962,3494,3746,3885,3973,3088,1953,2021,2867,3418,2633,2797,4038,4081,3346,3476,4168,4474,4559,4083,3553,3450,3198,2656,3115,4134,4145,3996,3311,3034,3197,3579,3608,3543,3300,2858,2975,3598,4193,4312,4031,3504,3123,3176,2633,2692,3054,2890,2752,3728,3698,2789,2858,2714,2588,2590,2597,2494,2429,2596,2661,2679,3086,3124,2810,2395,2301,3044,3631,4100,4140,4244,4427,4349,4276,4336,4432,4220,4120,4148,4400,4356,4327,4372,4295,4493,4108,3959,3907,3566,3795,4284,4523,4616,4608,4404,4243,4038,3904,4094,3884,3528,3645,4208,4528,4500,4391,4273,4435,4344,4327,4548,4283,4256,4139,4184,3835,3332,3243,3387,3630,3882,4050,4035,4047,3724,3608,3876,3569,3318,3510,4008,4193,4143,4203,4488,4620,4355,4149,3994,3658,3339,2829,2414,3231,3736,3139,2758,3077,3195,3222,3470,3387,3549,3815,3627,2602,2022,1973,2019,1590,1439,2193,2379,2326,2446,2178,2304,1908,1830,2033,2344,2294,2459,2275,2211,2090,1632,1532,1684,1976,1803,1507,2069,2310,2164,2040,2008,1985,1939,1907,1988,2138,2026,1664,1748,2254,2029,1470,1615,1832,1388,1448,1854,1851,1780,1682,1946,2676,3263,2501,2054,2091,2288,2263,2231,1928,1924,2107,2242,2089,1472,1770,2691,2431,2802,2880,2368,2208,1958,1781,1686,1709,1670,1803,1998,1672,1615,1480,1754,1593,1656,2358,2235,1898,1735,1812,2160,2174,2074,2070,1823,2071,2943,3416,3470,3584,3759,3359,2721,2459,2576,2751,2942,3581,4386,4085,3687,3596,3642,3946,3773,2899,2365,2792,3152,3012,3039,3012,2749,2426,2750,2743,2592,2574,2953,3045,2942,2697,2546,2412,2177,2079,1872,1930,2198,2475,2799,2999,3418,3373,2910,2780,2940,2890,2800,2930,3166,2786,2321,2128,2302,2377,2480,3122,3225,3410,3499,3349,3331,3327,3094,3100,3208,3128,3009,3087,2913,2626,2705,2996,3292,3308,2996,3033,3118,2792,2676,3525,4292,4117,3484,3692,3592,3606,3924,3398,2544,2502,2724,2430,3234,2912,2478,2200,1912,2156,1931,1920,2615,3282,3460,2862,2604,3276,3415,2912,2882,2536,2372,2193,2082,1894,2696,2821,2321,2542,2378,2131,1410,2025,2396,2573,3155,2763,2486,2427,2746,2585,2212,2410,2810,2674,2469,2419,2182,2344,3582,3902,3603,2834,2082,2203,2021,1697,2050,2585,2664,2729,3075,3661,3846,3325,3050,3123,2484,2415,3017,2545,2696,3168,3211,2646,2286,2226,2074,2714,2756,2621,2222,1848,2653,3498,3055,3052,2796,3514,3288,2817,2587,2332,1970,2199,2599,2755,3108,2840,1891,1913,2273,1753,1584,1909,1674,1421,1351,1545,1642,1665,1868,2087,2328,2318,1794,1699,1991,1840,1829,2308,2304,2076,2156,2495,2276,2454,2864,2456,2102,2175,2932,3473,3824,3793,4016,3979,2994,2076,2314,2815,2490,2555,3407,3474,2763,2995,3300,2643,2719,2127,1899,2392,2486,2631,2810,2258,1723,1654,1868,2686,3444,2608,2418,3057,2842,2705,2912,2781,2460,2974,3256,3414,3687,3441,3264,3464,3351,3197,3138,2797,2287,2407,2944,2878,2754,3062,3572,3436,2761,2087,2031,2614,2806,2629,2299,2008,1878,2482,2654,2425,2137,2299,2128,2205,2459,2228,2504,2564,2172,2118,2524,2766,2474,1921,1775,1712,1954,2293,1930,1605,1617,1650,1519,2014,2591,2378,2039,2362,2434,2068,2442,2317,2474,3000,2708,2191,1642,2004,2717,2720,2617,2893,2732,2958,3432,3431,2315,1908,1907,1888,2021,2226,2853,2784,2100,1727,1866,1861,1650,2404,2468,2052,2304,2331,2416,2310,2541,2668,2362,2536,2630,2525,2691,2348,2279,2486,2024,1962,2154,1933,2067,2304,2067,2237,3003,2708,2447,2250,1826,2065,2191,1973,2326,2700,2887,2604,2881,3284,2630,2246,2226,2710,2169,2344,1851,2294,2642,3138,3604,3629,3661,3784,3745,3735,3851,3688,3450,3220,3141,2824,2851,3431,3738,2887,2658,3327,3395,3285,3358,3353,3304,2789,2454,2405,3074,3586,3394,3205,2920],[2431,2464,2832,2828,2900,2623,2373,2401,2749,3082,2802,2466,2177,2000,2373,2392,2941,3186,3063,2521,1994,2238,2819,2924,1988,1907,2332,2169,1850,1985,2360,2509,2508,2299,2443,2820,2956,3061,2972,3229,3013,2751,2529,2578,2359,2561,2909,2945,2486,2629,3069,3117,3164,2686,2449,1750,2025,2174,1836,1929,1814,2031,2356,2141,2348,2416,2264,2144,1750,1909,1938,2069,2588,2285,2117,2029,2047,2474,2297,2099,3027,3110,3067,3163,2857,3097,3198,3330,3264,3182,3051,3108,3077,2726,2600,2633,1777,2140,2325,2621,2543,2910,3411,3604,3530,3557,3409,3155,2759,2935,2635,2943,3220,2917,2785,2401,2345,2518,2643,2776,2784,2652,2435,2320,2518,2212,2459,2503,2815,2539,2178,2558,2830,2868,2999,2843,2443,2020,2025,2246,3241,2840,2713,3041,2741,1795,1561,1796,2027,2074,2524,3261,3166,3540,3482,3151,3064,3051,3190,3318,3493,3322,3038,3095,3293,3313,3205,3354,3399,3420,3429,3481,3394,3426,3343,3045,3050,2906,2543,2266,2244,2080,2777,2841,2511,2923,2899,2939,3223,3332,2598,2227,2760,3040,3174,2978,1793,2023,2502,2668,2792,2574,2282,2276,2747,3212,3186,2830,2225,2262,2276,2846,3021,2579,2637,3001,3008,3052,3322,2959,2123,1637,1885,2645,2497,2508,2071,2459,3163,3242,2898,2720,2493,2201,2281,2348,2229,1841,1549,2046,1965,2010,1921,1600,1521,1665,1997,1895,1932,2469,2469,2489,2394,2159,1875,2149,3269,3753,3799,3694,3710,3626,3548,3461,3496,3472,3054,3518,4047,3588,2634,1796,1783,1757,1957,2531,2799,2759,2828,2940,2984,3099,3874,3442,2901,2963,3581,3569,3781,3862,3522,2809,2091,1787,1610,2006,2379,2426,2580,2469,2964,3655,3249,2409,2367,2459,2315,2202,2048,1981,2439,2895,2569,2496,3497,3981,4087,3951,3969,3520,2236,1706,2165,2251,2064,2093,2224,2183,1876,2742,3440,3509,3001,2634,2876,2942,2482,2646,3113,3232,2899,2076,1992,2103,2625,2886,2235,2413,3526,3455,3018,2755,2400,2412,2162,1961,2118,2009,2144,1996,1661,1896,2094,2116,2304,2125,1817,1820,1951,2558,2531,2564,2838,2571,2470,2381,2388,2598,2549,2188,1926,1800,1789,1824,1673,1341,1930,1918,1904,2386,2744,2293,1751,2199,2601,2349,2563,2622,2270,1932,1760,2016,2320,1787,1418,1546,1585,2328,3375,3244,3544,3673,2687,2740,2849,2566,2675,2741,2658,3133,3606,3633,3718,2824,2210,1510,1774,1536,1552,1925,2149,2113,1956,1883,1725,1808,2140,2057,2001,1878,1788,2116,2088,2316,2850,2796,2756,2911,2596,1911,1736,1991,1857,1710,2812,3670,3761,3740,3740,2910,2220,2459,2762,2750,3082,2733,1978,1757,2089,2056,2035,2138,2541,2142,1936,2041,1830,1999,2176,2237,2003,1929,2016,2610,2945,2695,2754,2665,2535,2721,2662,2341,2732,3390,3263,2429,2438,2426,2618,3095,3205,3114,2409,2224,2673,3246,2863,1879,1937,1939,2431,2074,2060,2143,2206,2282,2656,2405,2176,2281,1909,1565,1838,1726,1691,2104,1960,1813,1735,2047,2136,1989,2611,3228,3323,2780,2209,2966,3333,2915,2316,1896,1736,1885,2133,1833,1540,1954,2249,2017,2207,1824,1711,2006,1903,1579,1654,1786,1674,1501,1495,1481,1618,1780,2758,3321,2476,2071,2635,3209,3837,4006,3663,3515,2468,1699,1605,1366,1448,1573,2168,3174,3334,3006,2684,2313,1697,1404,1512,1563,1631,1794,2171,2023,1759,1527,2206,1763,1521,1447,1692,1937,2028,2024,2070,2149,1960,1943,2329,3069,2951,2441,2408,2818,2513,1967,2242,2446,1896,1874,2095,2198,1833,1651,1986,2201,3132,2858,2182,2824,3187,2938,3140,2790,2750,2655,2701,2664,3140,3196,3219,3346,3697,3717,3407,3327,3697,3643,3635,3771,3970,4070,4077,4150,4034,3742,3814,3944,3811,3907,4079,3128,2340,3052,3174,3102,3183,3218,3339,3231,3074,2670,2364,2535,2522,2436,2430,2509,2780,2906,2991,2768,2351,2359,2521,2613,2590,2323,2194,2334,2837,3328,3396,3591,3672,3605,3594,3549,3341,3322,3420,3725,4096,4289,4329,4181,3902,3131,2225,2314,2918,2952,2928,2705,2921,2930,2678,2617,2524,2347,2866,2874,2802,1923,1740,1746,1866,1799,1693,1703,1644,1655,1883,2136,2607,2873,2519,1901,2202,2400,2416,2058,1956,2104,2311,2408,2224,2097,1849,1933,1879,1907,2188,2295,2566,1866,1725,1810,2027,2349,2223,2042,1826,2169,3085,3409,2447,2111,2204,1888,2242,2734,2711,2535,2564,2279,1965,1913,1767,2278,2615,2713,3074,2224,2538,2925,2770,2000,2061,2609,2592,2304,1705,2075,2675,2632,3163,3359,3416,3561,3607,3339,2874,2333,2081,2475,2409,2036,2181,2249,1890,1914,2103,1886,1969,1959,1833,1832,1673,1873,2152,2392,2645,2990,2751,2293,2030,1812,1583,1585,1688,1592,1597,1699,1800,1663,1532,1535,1628,1903,2185,1916,1818,2109,2354,2387,2370,2975,2911,2530,2522,1735,1467,1905,2028,2298,2089,1627,1535,1682,1972,2426,2625,2298,2271,2116,1910,2034,2143,2289,2113,1777,2411,2894,2950,3250,2964,2562,2071,1524,1545,1577,1533,1690,1735,1926,2496,2431,2010,2004,1781,1790,2155,2552,2620,2474,1961,1778,1739,1714,2003,2034,2110,2160,1574,1833,1784,2010,1860,1617,1616,1723,1632,1752,2086,2420,2569,2690,2443,2127,2187,2009,2349,2046,1925,2029,2302,2413,2328,2235,2468,2706,2697,2453,2330,2350,2491,2354,2007,1629,1594,1943,2294,2442,2770,3449,3671,3606,3785,3738,3720,3363,2503,2122,1897,1884,2100,2579,2556,2209,2167,2385,2954,3039,2050,1531,1439,1594,1750,1731,1750,1935,1989,1919,1570,1616,1558,1728,2215,2189,1988,1928,1750,1946,1983,1883,2046,1881,1708,1604,1772,1693,1624,1629,1738,1683,1674,1765,1745,1653,1809,1827,1676,1809,1817,1713,1698,2092,1859,1697,2043,2144,2017,2179,2620,3003,2861,2288,2521,2796,3444,3710,3551,3790,3232,2657,3260,3913,3100,2370,2483,2866,3611,3415,3705,4140,3232,2932,3295,3883,4319,4279,3994,3886,3909,3660,3120,3143,3790,4243,4223,3523,3164,3479,4042,3987,3472,3205,2919,2969,3353,3574,3696,3578,2430,1932,1950,2192,2479,2924,2849,2287,2617,2865,2222,2156,2077,2406,2775,3138,2545,2410,2612,2928,2956,2574,2600,3017,3110,3480,3854,3661,3918,3835,4039,4180,4232,4276,4320,4316,4168,4218,4159,4292,3777,3524,3981,4207,4384,4132,4249,4352,4020,3565,3515,4135,4604,4732,4732,4320,4269,3982,3631,3801,3735,3801,4412,4499,4307,4332,4255,4435,4472,4539,4396,4067,3973,3835,3992,3508,2955,3092,3628,4108,4185,4505,4599,4201,3923,4039,4057,3516,3374,3792,4334,4608,4564,4341,4340,4518,4311,4096,3805,3416,3029,2569,3162,3689,3264,2831,2728,3042,3335,3407,3539,3689,3562,3474,3017,2429,2291,2001,1909,1584,1450,2470,2763,2525,2534,2354,2347,2518,2345,2113,2311,2570,2797,2641,2380,2214,1918,1798,2021,2003,1588,1657,2020,1899,1803,1964,1998,1683,1717,2074,1943,2001,2140,1890,2022,2289,1930,1555,1381,1926,1716,1449,1488,1357,1495,1760,2259,2668,3132,2884,2577,2614,2374,2206,2244,2255,2210,2220,2352,2373,2101,2094,2482,2212,2037,2102,1884,1704,1802,1897,1728,1729,1787,1720,1886,1604,1611,1591,1889,1939,2239,2686,2642,2331,2084,2016,1854,2017,2699,2297,1662,1930,2269,2767,3052,3360,3694,3563,3040,2785,2710,2749,3050,3642,4308,4068,3792,3701,3510,3861,4132,3688,3094,2933,3217,3019,2998,2761,2953,2920,2603,2371,2181,2541,3218,2780,2428,2546,2291,1816,1731,1931,2004,2473,3154,2785,2751,2897,3002,2918,2964,3312,3440,2875,2342,2451,2608,2294,2220,2124,2045,1916,2086,2769,3272,3300,3300,3330,3235,3220,3149,3150,3252,3234,3135,3124,2966,2447,2346,2656,2917,3065,2829,2937,2713,2191,2079,2999,4011,3885,3648,3992,3573,2782,3050,3544,3394,3542,3460,2877,3006,2754,2658,2825,2291,1808,2112,2630,2834,3199,3786,3408,3297,3529,3415,3118,3104,2618,2304,2240,2081,1990,2789,2719,2088,2284,2211,1954,1783,2615,2401,3077,3743,3261,2510,2357,2606,2334,2322,2518,3003,2342,2435,2612,2439,3098,3834,3963,3731,2719,1978,2002,1862,2126,2657,2754,2752,2638,3221,3793,3720,3409,3126,3210,2895,2811,3174,3155,3248,3064,2906,2296,2266,2217,1834,1897,2354,2401,1610,1636,2139,2640,2822,3100,2953,3622,3813,3215,2798,2606,2232,2140,2358,2519,2620,2229,1925,1868,2002,1559,1521,1804,1513,1255,1384,1582,1512,1627,1719,1655,1817,2070,2279,2436,1892,1567,1572,1878,2329,2420,2707,3002,2750,2891,2731,2285,1970,1903,2201,2516,2957,3416,3733,3449,2723,1688,2061,2757,2242,2212,2755,2415,1832,2132,2340,3016,3574,2629,1992,2250,2768,2465,2174,1722,1694,1857,1708,2362,2453,1716,1785,2294,2429,2385,2604,2767,2484,2900,3577,3775,3665,3564,3684,3928,3921,3485,2878,3018,2912,2911,3238,3221,3544,3671,3830,3397,3104,2814,2788,2915,2979,2710,2710,2772,2499,3056,3358,2679,2378,2457,2239,1959,2104,2193,2395,2270,2304,2543,2451,2479,2135,1946,1854,2549,2405,1960,1721,1570,1601,1736,1789,1948,2139,1946,1753,2163,2166,2189,2439,2289,2468,2238,1864,2058,2082,2407,3164,2775,2567,2879,2969,3256,3444,3330,2359,1967,1710,1750,1771,1706,2330,2740,2269,1540,1638,1773,2110,2628,2078,1844,1956,2096,2469,2299,2498,2762,2578,2577,2466,2664,3165,2735,2771,2496,2234,2492,2060,1720,1787,2024,2353,2729,2979,2820,3279,3017,2560,2761,2900,2589,2421,2523,2570,2349,2556,2635,2119,1744,2038,2489,2377,2548,2275,2592,3039,2921,2820,3060,3225,3493,3410,3817,4029,3608,3184,3073,2888,2613,3044,3883,4087,3989,4051,3986,3515,3340,3271,3362,3480,3387,3029,2810,3043,3279,3253,3045,2934],[3075,2496,2335,2459,2265,1997,2122,2681,2649,2929,2634,2531,2597,2372,2377,2512,2954,3128,2894,2139,1708,2103,2654,3748,2498,2182,2368,2239,2603,2736,2446,2417,2428,2163,2194,2658,2827,3110,2971,3359,2714,2830,3077,2867,2585,2286,2387,2613,2339,2439,2448,2812,3276,2919,2886,1989,1660,2282,2114,1621,1709,2211,2561,2248,2396,2321,2195,1857,1561,1613,2103,2774,3038,2072,1424,1648,1773,1867,1598,2098,3364,3727,3220,3181,3175,2960,3076,3260,3254,3418,3264,3191,2972,2845,2874,2736,1836,2123,2599,2414,2215,2509,3124,3208,3144,3275,3544,3603,2730,2719,2489,2496,2777,3096,2815,2802,3184,2986,2736,2974,3414,3160,2974,2641,2522,2338,1870,1954,2602,2405,2329,2592,2691,3030,3128,2403,2002,1703,1799,2274,3503,3363,3711,3991,2837,1787,1816,1946,2048,2445,2689,3210,3176,3348,3458,3233,3004,3071,3348,3426,3437,3309,3110,3096,3168,3274,3167,3286,3189,3209,3207,3291,3366,3520,3533,3168,3002,3313,2972,2530,2652,1922,2136,2712,2555,2888,3021,2710,2950,3110,2529,2357,3013,2918,2727,2719,2391,2322,2188,2610,2379,2023,2510,2755,3034,3658,3438,3118,2441,2136,2410,2919,2963,2761,3010,2759,2640,2533,2590,2606,2000,1370,1689,2634,3053,2655,2495,2799,2917,2744,2641,2903,2885,2645,2523,2417,1900,1808,1560,2496,2499,2331,1863,1475,1531,1834,2202,2124,1908,2534,2474,2738,3141,2887,2677,3029,3212,3465,3619,3497,3501,3507,3517,3507,3376,3717,3183,3827,4341,4283,3418,2214,2061,2231,2493,2809,2632,2708,2772,3029,3298,3591,4148,3403,2799,2926,3718,4104,4036,4005,3548,2788,2553,2381,2226,2445,2392,2460,3032,2849,2775,3072,2680,2350,2328,2509,2661,3008,2158,1918,2001,2388,2409,2195,2411,3297,4027,4026,3758,3198,3272,2882,2430,1923,1922,2072,2070,1732,1553,1656,2020,2496,2659,2991,3189,3239,2352,1948,2304,2713,2226,2121,2129,2444,3076,2956,2743,3069,3690,3485,3310,3195,2337,2234,1996,1869,1793,1694,2350,2987,2675,2239,2115,2393,2556,1938,1810,1765,2070,2586,2868,2766,2711,2336,1820,1849,1858,2066,1998,2332,1896,1920,1865,1809,1726,1788,2228,2357,1891,2148,2734,2090,1538,2416,2808,2865,2862,2787,2448,2133,2212,2210,1915,1583,1551,1802,2225,2554,3115,3718,4001,3782,3517,3697,3252,2861,3038,3030,2522,2873,3154,3349,3222,2991,2210,1465,1658,2048,2375,2609,2301,1932,1801,1692,1494,1628,2075,2172,2391,2048,1977,2298,1991,2087,2633,2881,2765,2628,2116,1840,1766,1799,1932,2341,3015,3451,3680,3717,3498,2857,2264,2402,2321,2316,2736,2174,1794,1654,1606,1816,1722,1571,1976,1961,1948,1993,1998,1954,1976,1933,1699,1932,2098,2830,3529,3351,3030,2689,2448,2374,2541,1946,2269,2483,2619,2344,2425,2203,2171,2730,2887,2755,2477,2254,2425,2909,2604,1848,1805,1787,1856,2165,2809,2929,2753,2663,2640,2640,2522,2518,2049,1795,1878,1791,1794,1648,1521,1649,1649,1955,2122,1888,2308,2753,3399,3354,2480,3100,3242,2402,2053,1977,1768,1789,1991,1748,1592,2210,2292,1665,1667,1615,1992,2752,2172,1565,1745,2183,2101,2031,2042,1647,2115,2463,3250,3406,2464,2597,3161,3432,3670,3641,3545,2920,1650,1636,1887,2090,1706,1694,2438,2865,2552,2474,2592,2381,2094,2290,2885,2402,2218,1903,2166,2321,1860,1941,2430,1994,1729,1515,1677,2005,2222,2120,1879,1822,1907,2373,2598,2776,2399,2167,2126,2277,2132,1784,1869,2003,1844,1985,2317,2207,2257,2142,1951,1800,2436,2610,2489,3009,3133,2809,3310,2930,2720,2498,2636,2596,2513,3244,3535,3337,3418,3460,3264,3137,3610,3843,3949,3835,4058,4152,4284,4311,4211,3715,3108,3526,4039,4287,4264,2933,2251,2857,2989,3145,3248,3001,2966,2800,2512,2275,2392,2596,2784,2933,2467,2736,2829,2802,2603,2341,2048,2181,2767,2979,2742,2691,2281,2279,2946,3365,3503,3676,3658,3552,3552,3428,3350,3436,3440,3561,3920,4016,3899,3630,3492,3059,2186,2264,2887,3278,3252,2857,2879,2873,3509,3604,2877,2351,2637,2620,2728,2542,2153,1986,2097,1880,1923,1919,2092,1879,1682,1781,1811,1871,1794,1769,1807,1789,1810,1995,2018,1964,1748,2053,2224,2137,1941,1996,1925,1746,2126,2203,2309,2013,1594,1743,2115,2261,2339,2385,2308,2259,2546,3010,2178,1869,2177,1968,1814,1967,1954,2340,2637,2666,2187,1675,1795,1960,1730,2360,2875,2287,2164,2649,2358,1566,1980,2458,2723,2323,2029,2697,3580,3638,2879,2764,2910,2818,2814,2249,2289,2454,2685,3083,2504,1947,2435,2368,1883,1708,1799,1738,1654,1715,1772,1764,1668,2228,2524,2939,2844,3000,2531,2086,2058,1637,1578,1756,1994,1801,1767,1361,1628,1710,1808,2160,2276,1880,1796,1974,2194,2153,2128,2485,2600,2638,3051,2573,2384,2025,1651,2106,2619,2455,1880,1592,1664,1793,1761,2376,2548,2244,2216,1994,2194,2332,2000,1814,1570,1459,1573,1851,2642,3210,2876,2589,2636,1862,1462,1565,1551,1625,1888,1962,2017,2005,1936,1861,1735,1815,2120,2197,2434,2432,1947,1792,1762,1661,1732,1894,1948,1982,1522,1577,1479,2388,2408,1769,1598,1697,1760,1707,1810,2209,2103,2055,2155,2387,2277,1860,1972,1803,1876,1865,1943,2060,1975,2250,2504,2730,3000,2718,2386,2352,2330,2009,1848,1755,1793,1953,2046,2003,2600,3362,3807,3790,3559,3387,3409,3390,3011,2451,2033,2213,2830,3023,2578,2200,1946,1787,2479,2802,2457,1882,1489,1555,1851,2170,2192,1997,1976,2052,1657,1674,1616,1592,1719,1688,1854,2011,1923,1945,1977,2119,2331,1885,2004,1769,1556,1404,1348,1521,1532,1486,1592,1802,1820,1708,1890,1800,1701,1717,1576,1650,1458,1471,1531,1724,2289,2710,3059,3328,3308,3353,2854,2656,2985,3422,3806,3630,3563,3979,3477,2764,2868,3009,2741,2698,2766,2732,2768,3506,4183,3918,2503,2263,3247,3924,4110,4299,4112,3658,4096,4756,4428,4015,4311,4668,4720,3594,2510,2731,3152,2791,2481,2888,3138,2892,2765,3206,3181,2613,2092,1804,1836,2030,2130,2769,2928,2204,2122,2156,2320,3139,3484,3693,4008,3995,3760,3759,3905,4020,3706,2938,3248,3620,3531,3582,3647,3764,3709,3662,3893,3907,4112,4376,4232,3861,4211,4334,3994,4612,4384,3795,3698,3970,4311,4431,4464,4219,3970,3579,3341,3972,4264,4419,4772,4520,4300,3959,3723,3976,4340,4720,4848,4478,4267,4440,4456,4568,4705,4673,3914,3382,3412,3732,3688,3326,3012,3074,3398,3872,3972,4440,4629,4119,4005,4443,4328,3782,3586,3761,4368,4893,4768,4271,4131,4280,4176,3837,3385,2922,2488,2899,3518,3178,2789,2754,2818,3130,3209,3501,3605,3453,3262,2910,2406,2157,1973,1927,2048,1785,1488,2397,2056,2106,2675,2385,2563,2734,2260,2024,2258,2800,3294,3064,2956,2297,2122,1842,2032,1678,1689,1834,1765,1765,1986,2474,2332,1698,1503,1793,1865,2139,1980,2163,2686,2491,1974,1458,1542,1958,1802,1499,1516,1465,1514,1906,1899,2033,2458,2445,2325,2322,2329,2297,1782,1673,1865,2397,2590,2548,2213,2370,1997,1971,2213,2250,2189,2090,2293,2374,2013,2216,2311,2239,2255,1886,1655,1550,1583,1820,2390,2743,2513,1829,1793,1914,1986,2138,2040,1703,1710,2011,2778,3373,3406,3493,3836,3749,3653,3431,2964,2700,2698,3745,4011,4027,4068,3772,3430,3479,3441,3517,3262,3216,3474,2959,2363,2099,2379,2439,2032,2305,2362,2769,3169,2788,2658,2602,2282,1609,1885,2193,2149,2500,3101,2862,2665,2719,2404,2303,2853,3570,3410,2636,2355,2354,2308,2338,2424,2386,2187,2118,2381,2818,2990,2989,2806,3010,3050,3139,2997,3062,3300,3393,3317,3353,3220,2788,2564,2774,2717,2889,2792,3269,3340,2587,2257,2795,3764,4268,4417,4572,3960,2751,2717,2896,3229,3883,3626,3040,2641,2411,2648,2868,2258,2019,2714,3032,3154,3271,3748,3525,3387,3274,2911,3075,3432,3030,2720,2678,2170,2408,3382,2642,1926,2006,2193,1810,2132,2447,2756,3288,3342,3319,2309,1947,1967,2026,2181,2232,2923,2791,2640,3002,3169,2864,2758,2666,2824,2580,2518,2304,2381,2344,2438,2803,3061,3049,3464,3685,3428,3545,3732,3646,3139,3375,3355,2885,2966,2590,2156,2343,2810,2448,1955,1738,1831,1962,1461,1724,2148,2467,2925,2719,2670,3076,3498,3205,2507,2065,1865,1996,1987,1971,2124,1918,2098,1947,1723,1497,1541,1556,1595,1865,1975,1958,1489,1973,2018,1678,1925,1857,2164,2396,2001,1703,1688,1743,2029,2680,2987,2773,2698,2855,2885,2415,2177,2122,1876,1997,2402,2835,2940,2458,2381,1732,1835,2326,2445,2579,2586,2170,2055,2253,2376,3360,3725,2905,2301,2069,2777,2482,2005,1846,2498,2810,1978,1946,1875,1399,1486,1778,1899,1908,1676,2024,2304,2448,2956,3356,3383,3229,3448,3798,3904,3330,2849,3269,2858,2831,3183,3355,3603,3791,3782,3327,3201,3141,3050,3059,3079,2873,2360,2297,2677,3044,3038,2634,3002,2802,2070,2026,2297,2561,2921,2666,2718,2700,3130,2458,2035,1816,1939,2808,2729,1996,1654,1572,1560,1743,1952,2053,2136,2209,2140,2262,2103,2274,2593,2593,2284,1709,1858,2137,2295,2618,2874,2076,1940,2608,2706,2441,2916,2494,1803,1776,1584,1651,1721,1967,2396,2261,1903,1517,1554,1835,2232,2222,1907,2259,2376,2666,3125,2774,2778,2900,2932,2886,2766,3185,3407,3108,2800,2603,2936,2813,1996,1658,1725,1847,2160,2617,2565,2543,2830,2855,3048,3262,3004,2733,2651,2284,2214,2352,2205,2040,1896,1830,2157,2313,2563,2809,2678,2598,2598,2010,1657,2229,2864,3648,3421,3587,3925,3519,3008,2823,2599,2944,3921,4405,4152,3879,4074,4086,3940,3750,3563,3682,3726,3824,3798,3298,2813,2769,3006,2788,2758],[3189,2598,2488,2552,2380,2188,2386,2433,2304,2142,2132,2589,2774,2611,2388,2393,2458,2324,2421,2209,2103,2076,2715,3408,2578,2497,2578,2580,2559,2249,2186,2425,2342,2288,2139,2298,2535,2741,2773,3178,3062,3288,3388,3232,2823,2064,2077,2364,2186,2269,2489,2865,2922,2683,2797,2230,1858,2535,2492,2248,2382,2358,2392,2309,2766,3079,2640,1933,1811,1829,2213,2561,2752,2519,1689,1427,1874,2127,1666,1866,2874,3924,3770,3521,3587,3184,3317,3382,2910,3320,3278,3388,3311,2324,1959,2071,1799,2074,2194,1725,1848,2294,2666,3204,3316,3173,3438,3152,3410,2954,2294,2059,2137,2319,2180,2631,3208,3243,2645,3219,3826,3366,2928,2739,2576,2394,2100,2177,2410,2382,2371,2429,2490,3039,2923,2301,1744,2354,2527,2859,3611,3431,3286,3270,2822,2580,2715,2814,2548,2377,2425,3032,3097,3039,2963,3061,3141,3166,3319,3319,3276,3146,3011,3219,3312,3407,3399,3277,3269,3306,3200,2972,3120,3456,3564,3320,2895,2841,2401,2990,3481,2608,2355,2583,2276,2604,2744,2161,2589,3182,2544,2196,2714,2512,2654,2956,2470,1935,1946,2056,2121,2589,2946,3134,3253,3518,3491,3175,2796,2155,2592,3190,3167,3089,2721,2707,3108,2864,2722,2373,2072,1752,1975,2734,3210,2979,3026,2975,3065,2995,2785,3089,3010,2766,2942,2535,2120,1902,1432,2156,2746,2635,1878,1340,1376,1809,2196,2447,2310,2460,2552,2427,3041,3133,2835,2955,3073,3321,3458,3431,3539,3396,3606,3904,3487,3610,3519,4131,4340,4385,3895,2852,2215,2353,2630,2704,2643,2971,3059,2963,2989,3573,4083,3772,3372,3391,3755,3536,3031,3216,2839,2618,2585,2884,2536,2455,2206,2062,2708,2360,1744,1837,2236,2281,1928,2491,2857,2510,1885,2388,2469,2507,2668,2317,2069,2688,3181,3430,3400,3072,3615,3416,2580,1953,2118,2100,1977,1834,1842,1745,1539,1502,1715,2388,3087,3098,2824,2295,1919,2031,2115,2370,2250,2684,3051,2707,2435,2402,3206,3516,3604,2828,2235,2336,1958,1622,1605,1501,1993,2603,2235,1854,2272,2846,2647,1727,1611,1830,1919,2368,3041,3066,3087,2890,2428,2226,2155,2300,2383,2840,2020,1746,1813,1836,2396,2908,2863,2771,2036,2048,1854,1542,1662,2422,2404,2730,3088,3068,2999,2931,2790,2196,1920,1861,1743,1988,2166,1855,2373,3264,3771,3431,3046,3302,3501,3265,2699,3108,2301,2791,2757,2811,3092,3135,2416,1708,1813,2211,2530,2549,1982,1802,1720,1664,1748,1874,2398,2511,2790,2428,2492,2360,1651,1693,2435,2687,2806,2801,1925,1937,1828,1886,2553,3178,3280,3428,3618,3477,3016,2560,2381,2510,2448,2705,2494,2001,1814,1805,1703,1737,1596,1406,1704,2289,1953,1746,1780,2088,1951,1827,1743,2026,2266,2993,3655,3573,3055,2731,2341,2468,2640,1952,2180,2568,2730,2471,2456,2327,2305,2665,2765,2826,2895,2590,2165,2332,2043,1643,1766,1757,1531,1874,2269,2326,2573,2608,2485,2322,1866,2187,1985,1707,1845,1935,1987,1759,1620,1803,1890,1697,1513,1376,1746,2378,3811,4308,3249,2445,2059,1693,1642,1864,1955,1918,1955,1768,1836,2045,1756,1832,1924,2260,2979,3012,2199,1780,2083,2500,2316,2226,1972,2035,2475,2729,2803,2821,2492,2665,3084,3137,3053,3211,3414,2374,1490,1563,2062,2579,1969,1652,1748,1814,1601,1706,2272,2918,2996,2910,2723,2756,2432,2199,1924,1704,1616,1948,1998,1954,1860,1764,1861,2149,2211,2190,1880,1647,2091,2735,2715,2394,1814,1632,1832,1811,1942,2102,1864,1590,1893,1883,1934,2088,1947,2010,1925,1678,1685,1869,2414,2740,2844,2868,2946,3067,2755,2210,2709,2587,2327,3031,3167,2990,2794,3064,3039,3341,3609,3620,3895,4132,4263,4319,4448,4409,4108,3186,2091,2265,3270,3688,3715,3554,3209,2980,3052,3249,3216,2840,2643,2530,2613,2688,2618,2603,2732,2708,2296,2480,2480,2480,2376,2054,1908,2525,3470,2885,2336,2366,2321,2493,3141,3495,3660,3593,3473,3464,3381,3230,3043,3175,3377,3465,3416,3316,3073,2931,3207,3217,2742,2867,3285,3549,3153,2307,2386,2454,3398,3575,2679,2203,2120,2397,2688,2923,2266,1658,1722,1675,1894,1668,2447,2029,1635,1722,1782,1619,1577,1704,1743,1707,1926,2284,1972,1958,1749,1729,1870,1775,1985,2199,2056,1842,1964,2306,2389,2038,1741,1924,2376,2475,2744,2977,2708,2272,1996,2060,1940,2094,2438,2438,1866,1886,1833,2184,2287,2729,2452,1856,2062,2212,2127,2674,3145,2742,2531,2071,1524,1572,1904,2414,2838,2564,2679,3417,4085,3244,1838,1895,2448,2482,2173,1531,1769,2158,2464,2485,2015,1617,2160,2370,1866,1864,2112,1716,1749,2004,2160,2088,2589,3053,2619,2555,2777,2861,2562,2661,2653,2052,1789,1902,2040,2198,2151,1385,1673,2442,2654,2585,2245,1763,1781,2160,2137,1771,1595,2398,2596,3176,3299,2668,2354,2212,1934,2476,3674,3374,2248,1683,1711,1645,1484,1862,2042,2055,2026,2188,2455,2300,2058,2029,1614,1542,1744,1930,2564,3065,2869,2942,3040,2212,1601,1665,1922,2248,2398,1731,1904,1938,1678,1568,2186,2148,2085,2151,2042,1752,1492,1881,1953,2100,1982,2287,1817,1742,1684,1596,1502,2182,2349,2001,1751,1696,1759,1849,1647,1768,2118,1918,1669,1750,1839,1739,1779,1776,1653,1686,1849,1902,1961,1786,1919,2352,2689,2485,2197,1961,1997,1791,1638,1909,2221,2243,2626,2012,2323,2917,3555,3832,3586,3463,3554,3565,3323,2651,2134,2724,3305,3330,2958,2238,2007,1894,1942,2296,2836,2392,1670,1948,2275,2071,2130,1995,1771,1783,1635,1613,1566,1545,1627,1693,1853,2075,1988,2061,2161,2186,2237,2109,1872,1843,1529,1600,1571,1432,1474,1528,1647,1497,1404,1591,1713,1762,1758,1627,1482,1488,1526,1603,1732,1849,2062,2718,3856,3940,3749,3342,3177,3885,4025,4209,4165,3752,4129,4430,3991,4026,3482,2650,2655,2380,2127,2001,1992,2820,3839,4158,3119,2286,2781,3554,3687,4248,4265,3338,3850,4516,4500,4265,4203,4231,4333,3835,2907,2055,1854,1665,1733,2442,3231,2695,2448,3175,2877,2305,2508,2389,2238,1968,1720,2286,2575,2737,2525,2509,3464,4269,4389,4323,4288,4155,3938,3920,3991,4061,3720,2994,3221,3329,3532,3669,3895,3919,3730,3743,3808,3770,4169,4136,3957,3827,4009,4344,4176,4283,4160,4195,4272,4357,4400,4516,4564,4276,4161,3799,3112,3504,3664,3924,4404,4540,4529,4384,4339,4418,4809,5008,4952,4522,4432,4521,4542,4452,4677,4646,3927,3395,3641,3882,3422,3230,3252,3436,3356,3580,3891,4345,4478,4157,4140,4515,4448,4040,3790,3745,4560,4768,4499,4026,3978,4156,3772,3386,3048,2402,2757,3481,3248,2915,2744,2740,2802,2967,3105,3440,3528,3420,3320,3112,2757,2193,2264,1961,1963,2002,1796,2557,2665,2686,2592,2431,2610,2422,2253,2199,2428,2687,3038,3112,3688,3109,2165,1754,1679,1698,1873,1844,2055,1940,1904,2192,2327,1749,1469,1859,2399,2639,2575,2629,2518,2437,1998,1374,1547,1802,1724,1548,1776,1890,2020,2179,1767,1888,2001,2007,1990,1830,2361,2686,1449,1511,1785,2375,2442,2171,2230,2428,1918,2075,2421,2307,2770,2723,2700,2634,2737,2912,2641,2411,2161,1924,1974,2267,2487,2778,2866,2793,2437,1661,1919,2446,2910,2985,2808,2113,1731,1930,2786,4082,4264,4051,3995,3650,3693,3614,3317,3157,3011,3479,3560,3898,4276,3914,3626,3564,3131,3391,3043,2941,2576,1991,1649,1794,2099,2192,2442,2641,2540,2808,2898,2847,2697,2519,2535,2149,2261,2641,2523,2708,2863,2623,2809,3097,3078,2830,2700,3216,3327,3299,3256,3184,3228,3309,3257,3029,2832,2839,2749,3049,3098,3159,2979,2994,3062,3209,3159,3315,3565,3675,3749,3685,3608,3450,2986,2625,2614,2915,3068,3387,3272,2684,2473,3295,4085,4008,4083,4375,4292,3219,2479,1918,2687,3160,3426,3103,2461,2421,2723,2452,1648,1687,2278,2640,2969,3161,3476,2945,2817,2898,2491,2682,3303,3110,3002,2878,2603,2438,2779,2353,1746,1688,1589,1562,2175,2568,2957,3104,3129,3226,2286,1773,1349,1801,2021,2112,2313,2710,2362,2294,2387,2142,2007,2027,2486,2543,2216,2424,2425,1851,1826,2510,3194,3232,3518,3473,2897,3392,3542,3092,3055,3171,3378,2951,2754,2407,2087,2389,2481,2073,2043,2351,1952,1596,1537,1899,2526,2816,2922,2506,2648,2716,2757,2874,2790,2213,1869,2355,2187,1818,1858,1963,1988,1971,1656,1480,1735,2059,2134,2050,2330,1992,1589,2393,2789,2074,1578,1544,2125,2765,2505,2145,1997,1870,2254,2730,2545,2403,2608,2895,2773,2186,1918,1893,1868,2075,2169,2493,2934,2603,2333,2078,1649,2227,3144,3397,2832,2362,2570,2272,2322,3117,2923,2767,2966,2472,2477,2712,2425,2142,2845,2753,2008,1802,1796,1442,1532,1793,1738,1806,2100,2137,2325,2557,2884,3097,2832,2568,2909,3475,3808,3328,2812,3228,2973,3082,3242,3341,3381,3528,3409,3363,3383,3210,3194,3265,3153,3119,2781,2225,2728,2943,2806,2949,3433,3330,2297,2248,2639,2904,3184,3174,3032,2209,2601,2300,1814,1604,1708,1896,1972,1750,1559,1470,1599,1721,1837,2071,2310,2169,2093,2141,1856,1814,1816,2016,2177,1847,1860,1844,2411,2191,2315,1990,2054,2172,1808,1611,1669,1462,1509,1779,2020,1808,2092,2637,2336,2212,2077,1716,1538,1786,1970,1705,2030,2563,2136,2459,2931,2604,2241,2685,3248,3421,3318,3395,3310,3002,2491,2361,2153,1809,2437,2338,1975,1902,2042,2229,2501,2664,2646,2834,2920,3078,3155,2853,3061,2699,2238,1920,2305,2235,2335,2465,2387,2696,3050,3123,2799,2464,2060,1678,1547,2072,2675,3256,3421,3548,3708,3393,2508,2601,3626,4101,4369,4351,4027,3651,4057,4276,4173,4034,3869,3851,3816,3825,3895,3654,2979,2700,2495,2543,2797],[2504,2362,2370,2518,2411,2112,1836,1353,1579,1807,2102,2498,2499,2342,2446,2234,1837,2058,2664,2553,2486,2107,2557,2727,2692,2834,2809,2819,2364,2338,2230,2442,2519,2555,2337,2111,2227,2272,2233,2689,3321,2973,2087,2199,2679,2183,2802,2620,2040,1935,2452,2478,2142,2066,2343,2280,2063,2141,2115,2439,2342,2294,2470,2141,2482,3021,2784,2195,2024,2081,2124,2336,2043,1550,1465,1603,1956,2243,2180,2403,2865,3687,3880,3809,3472,2769,3332,3500,3001,3214,3500,3711,3360,2425,1527,1474,1738,2425,2744,1827,1529,2247,2580,3044,3344,2777,2460,2785,3238,2756,2154,2149,2546,2261,2105,2934,3129,3062,2381,3254,3626,2463,2329,2520,2498,2508,2359,2129,2138,2228,2298,2301,2396,3056,2708,2569,2573,3142,3006,3150,3694,3428,2721,1869,1549,2328,3050,3507,3198,2023,2136,3041,3166,2894,2780,2973,3288,3211,3181,3275,3255,3143,3240,3406,3466,3408,3296,3295,3341,3420,3323,3083,3250,3354,3349,2923,2308,2354,2340,3141,3912,3405,2710,2341,2151,2820,3398,2568,2242,2499,2102,2132,2348,2781,3418,3646,2831,1866,1463,1467,2499,3052,2792,2931,3284,3560,3666,3283,3031,2437,2321,2865,3572,3621,2676,2573,2841,2908,2778,2441,2248,2354,2520,2812,2947,3091,3043,3023,3248,3226,3178,3463,3113,2393,2358,2403,2574,2043,1526,1705,2250,2291,1654,1369,1232,1720,1974,2128,2128,2141,2472,2193,2321,2372,2756,3267,3178,3215,3339,3349,3360,3343,3724,3941,3869,3942,3940,4034,4231,4037,3632,3283,2722,2510,2500,2584,3276,3437,3094,2578,2338,3213,3982,3749,3536,3494,3495,3011,2228,2211,2674,2943,2884,2830,2258,1870,1948,2326,2303,1848,1536,1879,2209,1903,1826,2067,2320,1675,1197,2009,2700,2822,3062,3041,2878,3438,3018,2585,2624,2966,3304,3283,2523,2034,2202,2261,2032,1594,1822,2066,2048,1664,1202,1359,1858,2270,2677,2221,1736,1770,2078,2452,2646,2630,2566,2504,2564,2255,2070,2408,2780,2465,2359,2906,3378,2819,2136,1935,2087,1802,1684,1676,1898,2789,2786,1908,1406,1439,1818,2545,3318,3520,3480,3297,2648,2151,2337,2338,2742,2632,2170,2031,1984,2024,2078,2309,2435,2215,1824,1718,1648,1434,1854,2586,2718,2701,2655,2701,2840,2740,2713,2274,2164,2229,2186,1978,1790,2167,2918,3510,3806,3430,3129,3304,3516,3239,2190,2509,2360,2786,2978,2960,3164,2666,1842,1426,1672,1625,1986,1993,1954,1907,1969,1876,1664,1611,1984,2410,2685,2622,2843,2608,2156,2324,2761,2678,2972,2574,1632,1666,2158,2845,3377,3409,3466,3500,3129,3257,2977,2867,2549,2242,2548,2646,2510,2097,1946,2071,1843,1800,1668,1621,1970,2821,2298,1911,1908,2075,2026,1997,1926,1804,2164,3112,3585,3454,3051,3219,2666,2721,2648,2315,2246,2297,2524,2308,2246,2577,2602,2574,2708,2569,2232,2104,2087,2419,2204,2403,2494,2263,2079,1873,1972,2122,2540,2775,2785,2758,1954,2030,2017,1735,1786,1876,1798,1899,1938,1945,2122,1805,1642,1512,1673,2324,3242,3842,2973,1873,1602,1682,1870,2129,1942,1909,2014,1629,1926,1625,1522,1685,1823,2342,2817,2427,2010,1783,2059,2296,2427,1956,1698,2087,2427,2603,2225,2181,2806,3140,3196,3043,2756,3443,3264,2057,1562,1460,1918,1997,1828,1734,1694,1773,1738,1703,2179,3278,3240,2840,2555,2327,1929,2071,1740,1511,1397,1377,1587,1699,1666,1918,1910,1887,1473,1653,2046,1842,1964,2480,2753,2231,1662,1629,1607,1282,1914,2165,1824,1468,1882,1793,1702,1886,1665,1487,1526,1824,2072,1913,2223,3109,2877,2303,2345,2375,2436,2854,3354,2972,2680,2229,2047,2253,2463,2888,3385,3727,3748,3641,3762,4070,4291,4475,4375,3839,3421,3429,2374,1874,2208,2251,2625,3339,2880,2732,3124,3163,2934,2207,2364,2662,2879,2836,2728,2628,2629,2541,2377,2204,2235,2618,2298,1793,1794,2792,3332,2720,2082,1628,1721,2428,3326,3588,3620,3575,3555,3394,3200,3024,2918,3341,3542,3581,3428,3186,2912,2886,3250,3330,3107,2889,2770,2869,2868,2989,2866,2608,2857,2441,2064,1877,1721,2091,2656,2910,2197,1941,1867,1610,1747,1598,2724,2233,1489,1481,1570,1697,1742,1807,2157,2746,2874,2807,2542,2398,2372,2039,1932,2011,1930,1940,2220,1979,1881,2250,2228,1954,1924,2121,2251,2215,2519,2845,2637,2160,1847,1747,1810,2372,2678,2802,1932,1659,1678,1752,1889,1979,1870,1819,2153,2778,3044,2933,2540,2360,2526,2020,1476,1506,1582,1900,2095,2345,2956,3437,3462,3056,2226,2308,2356,2447,2271,1634,1750,2514,2721,2456,2148,1924,2100,2543,2316,2125,2157,1777,1696,2471,2852,2778,2962,2900,2295,2314,2604,2626,2420,2670,2274,2007,1555,1710,2057,2380,2479,2254,2323,3072,3565,2930,2248,2614,1998,1814,1981,1685,1630,2491,3154,3099,2525,2375,2374,2031,1836,2148,3060,3086,2117,1453,1519,1474,1473,1600,1666,1371,1712,2441,2465,2557,2850,2976,2166,1666,1533,1631,2219,2542,2381,2862,3187,2580,2129,2332,2800,3165,3040,1839,1598,1550,1750,2082,2429,2126,2110,2147,1770,1547,1760,1866,1832,2121,2181,2156,1810,1981,1880,1541,1755,2238,2180,1650,1866,1938,1781,1783,1610,1733,2151,2057,1808,1843,1776,1691,1850,1815,1676,1696,1732,1862,1810,1537,2050,2598,2384,1905,1672,1758,1885,1746,1676,1904,2004,2427,2698,2036,2152,2489,3122,3710,3781,3603,3646,3649,3372,2852,2157,2451,3084,3393,3298,2603,2187,1892,1766,2439,2930,2269,2067,2336,2729,2148,2905,2657,1778,1569,1620,1669,1554,1489,1496,1619,2049,2374,2192,2442,2195,2013,2017,1999,1946,1935,1693,1807,2046,1961,1611,1570,1588,1620,1576,1626,1638,1958,1831,1726,1569,1765,2423,2069,1687,1900,2143,2779,3672,3970,4256,4256,4232,4367,4251,4344,4509,4417,4378,4116,3625,4025,3830,3548,3671,2779,1936,1746,1803,2216,3403,4108,3260,2471,2775,3942,4171,4504,4097,3063,3672,4220,4037,3912,3772,3859,3916,3600,2665,1702,1548,1640,1694,1898,2342,2098,2322,3146,2962,2612,2921,2419,1954,1948,1852,2183,2186,2518,2352,3067,3884,4208,4391,4427,4260,4078,3864,3948,4063,4169,3678,3355,3390,3318,3354,3708,4050,3850,3950,3978,3996,3992,4112,4068,3886,3640,3758,4112,4236,4108,4272,4664,4515,4372,4609,4535,4665,4661,4081,3627,3261,3227,3384,3535,3693,4099,4500,4323,4724,4763,4776,4759,4836,4728,4385,4391,4543,4483,4568,4675,4411,3895,3776,3883,3723,3516,3572,3992,4081,3972,3924,3972,3972,4034,4376,4487,4231,3869,3796,3934,4332,4477,4244,3932,3961,3996,3488,2938,2382,2588,3492,3313,2923,2832,2596,2620,2828,2779,2946,3394,3444,3376,3293,2801,2110,1892,2262,1924,1714,1948,1925,2141,2692,2815,2210,2203,2448,2357,2332,2211,1919,2098,2356,2916,3260,2798,2105,1971,1903,1749,1792,2039,2316,2464,2234,1847,1935,1934,1986,2220,2484,2721,2518,2183,2351,2231,1772,1401,1550,1644,1826,1614,1658,2521,3162,2574,1667,1605,2062,2453,2113,1957,2636,2444,1330,1248,1522,2084,2105,1719,2232,2636,2177,2281,2596,2485,2814,2645,2631,2935,3111,2846,2254,2042,2188,2062,2248,2642,2423,2529,2718,2551,2329,2279,3097,3529,3412,3496,4086,3415,2406,2862,3498,3754,4014,4372,4090,3572,3593,3784,3558,3355,2898,2329,2552,3480,4124,3760,3554,3889,3754,3829,3326,2771,2330,2197,2242,2483,2831,2953,2954,2909,2906,2934,2928,2806,2510,2275,2286,2339,2386,2363,2259,2302,2406,2535,2478,2477,2458,2599,2568,2540,2622,2668,2842,3077,3115,3099,3211,3251,3086,3262,3227,3374,3535,3558,3529,3338,3274,3350,3299,3291,3486,3754,3874,3783,3854,3486,3205,2379,2309,2712,2972,3296,3482,2884,2706,3812,4164,3867,3875,3970,4244,3602,2415,2573,2810,2764,2522,2233,2441,2154,2232,2383,1700,1311,1744,1858,2543,3150,3363,3031,2520,2548,2700,2742,3296,3056,2942,3068,3039,2062,1803,1970,2264,2277,1647,1811,2500,2556,3318,4484,4168,3378,2902,1952,1438,1857,2166,2172,2105,2084,1908,2023,2282,1953,1954,2426,2208,2524,2198,2099,1960,1684,1673,2244,3173,3296,3747,3543,2876,3250,3338,3220,2910,3005,3250,3143,3055,2577,2166,2235,2454,2292,2135,2404,2112,1807,1857,2453,3142,3745,3573,3107,2692,2273,2497,3274,3288,2591,2248,2652,2426,2047,1782,1462,1672,1876,1608,1427,2016,2923,2732,2481,2281,1796,2036,2309,2106,1710,1607,1739,2386,3000,2957,2893,2632,2029,2010,2292,1999,1839,2260,3296,3331,2253,1942,2303,2402,2205,2018,1968,2408,2342,2620,2330,1862,2390,2787,2799,2700,2573,2450,1906,1802,2354,2484,2679,3387,2542,1836,2889,2517,2241,3106,3010,2160,1759,1651,1523,1766,1982,1932,2155,2788,2448,2007,2166,2543,2527,2302,2135,2975,3397,3150,2602,2366,2958,2986,3083,3082,3175,3548,3360,2699,2942,3208,3073,3517,3602,3330,3049,3062,2633,2626,2720,2680,2621,2744,3287,3354,3738,3508,3133,3053,3168,2819,2054,1864,1803,1702,1775,1954,2095,1907,1737,1578,1537,1787,1831,1930,2320,2284,2071,2234,2093,1858,1789,1742,1937,1957,1862,1924,1925,2151,2061,2396,2459,2176,1675,1440,1643,1528,1577,1807,1916,2132,2208,2460,2451,1949,1793,1986,1814,1628,2035,2162,1651,1934,2878,2636,2634,2458,2348,2494,2369,2807,3508,3429,3240,2849,2530,2186,2037,1772,2366,2954,2780,2438,2050,1876,2064,2388,2442,2314,2722,2441,2722,2922,3040,2954,2796,2656,2523,2445,2268,2325,2276,2463,3037,2834,2763,2623,2590,1950,1578,1586,1838,2183,2293,2194,2599,3405,3550,3154,3514,4030,4012,4135,4119,4128,3832,4028,4167,4080,4248,4157,3849,3640,3827,3876,3705,3145,2719,2707,2905,3116],[3191,2592,2326,2409,2089,2033,1873,1421,1490,1802,2226,2696,2548,2341,2103,2228,2029,2032,2067,2477,2900,3076,2630,2138,2791,3029,2720,2916,2441,2856,2574,2540,2591,2572,2644,2510,2707,2918,2394,2599,3275,3085,2131,2221,2551,2270,2128,2194,2276,2076,2055,2284,2380,2113,2271,2533,2498,2329,2118,1833,1736,2048,2427,2344,2359,2885,3188,2416,2161,2285,2102,2642,1926,1349,1896,1716,1528,1989,2322,2510,2916,3293,3285,3422,3178,2768,3054,3062,2465,2624,2976,2900,2392,1723,1237,1324,1771,2554,3110,2094,2139,2553,2618,3032,3450,3339,2742,2832,3108,2662,2220,2382,2461,2021,2503,3450,3547,3115,2586,3038,2968,2439,2479,2402,2241,2257,2194,1852,1691,2066,2432,2385,2535,2697,2483,2807,3120,3156,2680,2517,3067,3105,2700,1641,1575,2489,2843,3539,3086,1917,1793,2446,2814,3002,3109,3078,3249,3063,3031,3309,3445,3454,3563,3416,3176,3089,3037,3152,3340,3496,3401,3270,3150,3109,3007,2361,2156,2367,2307,2849,3664,3419,2514,2008,2017,2990,3560,3143,2247,1813,1771,1984,2742,3492,3813,3671,2777,1587,1396,1865,2612,2831,2622,2852,3227,3583,3741,3498,3375,2922,2338,2357,3261,3528,3096,2766,2599,2829,2888,2598,2745,2954,2987,2630,2469,2578,2268,2879,3120,3330,3243,3189,2767,2191,2079,2568,2416,1902,1878,1924,1958,2188,2198,1871,1490,1669,2083,2118,1708,1919,2075,1794,1820,2170,3016,3166,3344,3162,3102,3477,3398,3387,3309,3339,3719,4030,4134,4003,3934,3725,3772,3880,3576,2867,2548,2816,3558,3548,3228,2841,2770,3665,4086,3952,3611,3307,3116,2440,2084,2562,2954,3213,3109,2667,1977,1345,1771,2150,2270,2295,2096,2039,1997,1797,1914,2014,2268,1960,1383,1822,2659,3023,3431,3341,3221,2721,2449,2722,2471,2230,2191,2409,2337,2136,2003,1835,1561,1084,1713,2092,2024,1952,1544,1514,2156,2386,1978,1680,1584,1667,2137,2713,2600,2120,2391,2357,3167,3731,2764,1810,1931,2176,2191,2641,3356,3083,2281,2664,2658,1829,1470,1618,1783,2553,2552,1693,1417,1732,2078,2751,3367,3335,3132,2968,2416,2434,2190,2310,2933,2931,2452,2275,1925,2008,2148,2289,1966,1989,2426,1883,1555,1457,1644,2501,2709,2440,2322,2741,2756,2607,2705,2397,2325,2343,1974,1939,2148,2222,2470,3175,3815,3596,3406,3560,3358,2413,2612,3223,3024,2850,2790,3117,2908,2231,1569,1333,1725,1713,1901,1811,1707,1910,2150,1996,1507,1519,1697,2106,2437,2265,2352,2384,2330,2902,3164,2885,2797,2620,2402,2316,2701,3404,3809,3805,3533,3322,3054,2897,2987,2889,2524,2699,3076,2886,2688,2326,2355,2258,1994,1895,2004,2318,2214,2295,2259,1963,2131,2077,1864,1808,1627,1642,2293,3186,3491,3708,3414,3284,3002,2743,2633,2512,2258,2119,2252,2229,2278,2685,2822,2730,2655,2296,1882,1876,2140,2541,2646,2712,2600,2825,3030,2799,3027,2973,2785,2801,2753,2186,1746,1960,1960,1587,1649,1770,1650,1880,2045,1906,2078,1826,1864,1740,1897,2375,2963,2972,2401,2241,1779,1632,1971,2156,1931,1924,1662,1438,1768,1534,1466,1659,1693,2035,2136,2145,1993,1843,1779,1966,1881,1612,1725,1700,2146,2463,2147,2523,2805,3049,3179,2774,2707,3415,2646,1837,1473,1388,1522,1530,1453,1722,1754,1860,2174,2085,2386,2898,3327,2905,2732,2524,2502,1806,1361,1469,1557,1599,1600,1599,1570,1464,1632,1541,1567,1782,1642,1583,1910,2524,2701,1963,1564,1437,1395,1283,2012,2338,2809,2854,2498,1753,1485,1869,1860,1901,2099,2095,1979,2084,2322,2575,2454,2709,2453,2171,2518,2823,3383,3081,3064,2484,2065,2059,2755,3342,3596,3597,3726,3601,3480,3994,4212,4312,4321,3807,4208,4063,2634,2110,2044,2010,2124,2379,2363,2515,2920,3206,2930,2166,2276,2276,2561,2696,2721,2679,2700,2667,2410,2270,2397,2636,2257,1876,1980,2695,3239,3204,2363,2036,1848,2127,3149,3495,3666,3620,3677,3472,3007,3161,3425,3609,3623,3539,3372,3197,3134,3177,3160,2932,2500,1989,1885,1974,2158,2526,2521,2645,2935,2452,2047,1644,1548,2303,2577,2307,1933,1998,2211,1693,1932,1854,2491,2299,1627,1706,1543,1512,1626,1967,2930,3282,3165,3165,3044,2732,2111,1862,2318,2322,2082,2292,2389,1882,1763,2186,2192,1941,1992,2699,2666,1977,2132,2534,2227,1819,1871,1725,1760,2116,2541,2191,1788,1610,1578,2121,1911,1414,1714,1966,2455,2570,2449,2478,2367,2265,2362,1885,1514,1670,1891,1994,1774,1974,2615,2889,2722,2672,2612,2729,2041,2230,2477,2215,2192,2027,2213,2499,2656,2614,2487,2714,2674,2144,2040,1857,1753,2367,2849,3023,2886,2393,1956,2181,2265,2144,1663,2173,1934,2145,1677,1565,1705,1910,2422,2565,2549,2868,3631,3721,2910,2805,2043,2270,2010,1653,1588,1643,2236,2578,2524,2741,2489,1611,1549,1543,1627,1634,1643,1819,1932,1992,2099,2028,1636,1305,1734,2509,2664,2916,2819,2665,2122,1584,1300,1389,1793,1759,1709,2240,2558,2463,2288,2565,2856,2811,2563,1809,1469,1438,1742,2156,2132,1919,2077,2347,1954,2113,2252,1778,1944,2096,2136,2081,1814,1713,1619,1458,1659,2105,2002,1581,1871,1808,1757,1932,2027,2158,2097,1960,2101,2195,2014,2041,2073,1902,1700,1767,1904,2318,2289,2071,2294,2259,1765,1508,1791,1923,2067,2077,2114,1891,1999,3166,3094,2475,2363,2495,2651,3188,3465,3348,3463,3553,3477,3301,2691,2346,2746,3280,3414,2937,2141,1732,2368,2973,2331,2193,2841,2435,2502,2347,3361,2797,1898,1643,1690,1668,1254,1432,1646,1816,2438,2214,1870,1975,1722,1768,2257,2308,2001,2029,1944,1982,2156,1890,1496,1500,1512,1456,1681,1722,1676,1947,1936,1880,1747,1676,2346,2268,1671,1896,2680,3241,3401,3980,4541,4376,4209,4199,4140,4299,4416,4201,3752,3465,3278,3750,3496,3220,3051,2297,1771,1744,1732,1893,2713,3264,2821,2460,3179,3952,4258,4743,4089,3373,3961,4178,4038,4080,3939,3716,3774,3239,1997,1503,1316,1351,1497,1665,1833,1641,1702,2685,3372,2711,2183,1636,2009,3087,2898,2458,2830,3088,2921,3435,3974,4083,3863,4200,4301,4095,3892,3863,4050,3892,3470,3311,3507,3660,3529,3530,3896,3884,4168,4167,4063,4388,4628,4400,4096,3892,3792,4083,4477,4296,4039,4380,4409,4340,4653,4652,4653,4671,4086,3806,3825,3585,3356,3504,3912,4013,4414,4367,4645,4375,4473,4696,4669,4462,4256,4285,4583,4720,4744,4893,4672,3960,4154,4205,4068,3856,3957,4316,4563,4432,3823,3347,3272,3563,4109,4536,4379,4005,4116,4300,4444,4472,4299,4177,4093,3639,2946,2545,2521,3186,3172,3008,2801,2353,2336,2679,2863,2832,2937,3250,3325,3275,3293,2832,2159,2131,2049,1650,1606,1828,1956,1694,1710,2096,2171,2165,2098,2118,2183,2041,1770,1997,1850,2206,2819,2569,1729,1815,2008,1768,1717,1683,1715,2133,2315,2624,2365,1998,2226,2341,2259,2222,2019,1780,1509,1462,1515,1569,1607,1909,2200,1904,1819,2568,2811,2279,1528,1648,2323,3079,2648,2461,2919,2392,1930,2041,1883,2083,2029,1914,2964,3388,3316,3494,3946,3500,3242,2685,2580,2823,2645,2365,2172,2215,2199,1978,2354,2829,2868,2697,2642,2598,2673,2592,3139,3548,3332,3526,4016,3733,3099,3086,3742,3792,3912,4140,3859,3450,3688,4013,3807,3464,2840,2258,2679,3376,3641,3642,3466,3631,3651,3526,3306,3112,2969,2920,2957,2890,2824,2754,2546,2556,2473,2303,2114,1963,1857,1853,1897,1874,1817,1817,1844,1853,1887,1819,1763,1836,1925,1881,1786,1862,1925,1895,1908,2017,2131,2192,2253,2381,2382,2570,2858,2975,3090,3029,2868,3011,3285,3322,3193,3167,3032,3005,3306,3385,3385,3348,3548,3155,2609,2434,2706,3264,3115,2130,2258,3709,3971,3663,3424,3872,3857,3393,3231,2958,2478,2522,1853,2171,2508,2174,2093,2334,1986,1542,1649,1544,1784,2221,2643,2272,1868,2079,2548,2680,2608,2365,2865,3087,2390,1751,1827,1981,2524,2721,2347,2309,2378,1820,3206,4591,4123,3149,2666,1775,1616,2221,2608,2439,1982,2070,2129,2188,2576,2523,2651,2876,2405,2044,2072,2093,1619,1688,1810,1996,2653,2968,3733,3772,2814,2902,3265,3398,3168,3185,3203,3156,3000,2422,2503,2080,2282,1973,2257,2641,2355,2149,2203,2409,2824,3471,3483,3416,2671,2329,2976,3975,3354,2786,2385,2379,2415,2002,1554,1394,1783,2129,2309,2114,2570,2706,2464,2337,2037,1898,2190,2203,1935,1829,1924,1817,2342,2406,3197,3538,3419,2318,2148,2440,2575,2151,2347,4078,3948,2417,2311,2633,2401,2078,2025,1803,1754,1697,2299,2369,1885,1892,2173,2442,2178,1709,1494,1831,1970,2170,2182,2743,3033,2160,1758,2038,1860,2099,2900,3244,2494,2173,2574,2587,2104,2258,2380,2309,2379,2210,1884,1969,2487,2728,2370,2402,3197,3227,2857,2740,2373,2544,3086,3367,3405,3342,3372,2950,2624,2711,2849,3503,3939,3715,3507,3390,3242,2689,2314,2269,2266,2356,2441,3059,3559,3738,3552,3165,3110,2797,2371,2062,1820,1637,1739,1968,2295,2476,2030,1804,1795,1720,1814,2058,2343,2182,1954,2030,1858,1651,1888,1844,1912,1919,1777,1995,1912,1643,1854,2228,2571,2738,2231,1720,1773,1692,2009,2114,2720,2486,2396,2318,2151,2251,1976,1875,2090,1692,1676,2055,2069,1573,1963,2712,2631,2733,2740,2517,2451,2502,2519,3103,3062,2548,2301,2164,1716,1899,2191,2747,2204,2155,2407,1834,1816,2394,2132,2395,2343,2072,1930,1784,1716,2590,2848,2843,2719,2333,2138,2125,1965,2129,2786,3045,2677,2945,2694,2591,2109,1532,1702,1775,1794,1910,1914,2556,3496,3699,3738,3801,3913,4040,4086,4011,3963,3903,4000,3942,3737,3979,3841,3678,3615,3771,3903,3687,3355,3142,3250,3220,3263],[2822,2706,2792,2627,1866,1725,1972,1820,1644,1778,2176,2411,2658,2790,2642,3105,2950,2396,2335,2468,2818,3211,3136,3251,2889,2923,2832,3211,3364,3454,2707,2496,2601,2523,2706,2951,3140,2889,2532,2854,3257,3154,2375,2055,2393,2769,2710,3262,3112,2117,1716,2222,2370,2217,2634,2619,2413,2050,1869,1736,1804,2176,2410,2310,2060,2121,2483,2255,2286,2524,2242,1936,1650,1988,1930,1554,1736,2209,2605,2511,2300,2564,2802,3265,3352,2948,2778,2800,2576,2612,2506,2136,2171,2373,2426,1964,2135,2503,3010,2720,3511,3207,2656,2885,2987,3059,3010,3043,2885,2735,2557,2680,2046,1653,2364,3085,3417,3071,2666,2724,2786,3044,3044,2931,2461,1954,2347,2243,2017,2653,2876,2662,2705,2509,2332,2578,2756,2767,2600,3096,3699,2783,2584,1853,1657,2472,2875,3441,2916,1895,2004,2256,2366,2609,2935,2806,2994,2976,3031,3310,3374,3294,3163,3065,3144,3064,2845,3001,3292,3430,3316,3111,2684,2823,2807,2150,2158,2387,2270,2708,3242,2778,1937,1888,2077,2555,3274,3398,2647,2007,2090,2813,3458,3530,3388,3012,2514,1834,2161,2220,2433,2568,2818,3537,3652,3361,3486,3505,3439,2834,2521,2058,2766,3347,3485,2919,2631,2732,2881,2854,3045,3216,2522,2032,2744,2498,1992,2809,3253,3584,3588,3384,3266,2833,2697,3086,2741,2084,2245,2363,1774,1672,2004,1904,1704,1750,2126,2060,1916,2148,2072,1842,2070,2693,3244,3096,3262,3111,3130,3522,3194,2897,2901,3262,3682,3754,3864,3785,3620,3465,4092,4273,4148,3321,2722,3137,3638,3423,2854,1839,2648,3798,4014,3905,3539,3511,3251,2691,2714,2725,2574,2915,3405,3348,2100,1405,1893,1771,1696,1503,1842,2059,2283,2053,1832,2053,2718,3055,2746,2202,2258,2269,2932,3372,3641,3155,2918,2879,2581,2002,1571,1522,1749,1858,1875,1787,1603,1753,2179,2651,2836,2272,1903,2200,2671,2310,1905,1960,1987,1894,2061,2764,2326,1712,2059,2691,3149,3081,2371,1674,1783,1804,1679,1756,1962,1847,1870,2439,2480,1743,1433,1847,2283,2358,2098,1727,1557,1680,1961,2362,3142,3227,2758,2499,2604,2663,2393,2367,2588,2931,2337,1958,2045,2930,3068,2768,2712,2883,3133,2776,2178,1759,1888,2916,2821,2414,2202,2403,2014,2373,2806,2375,2064,2094,2121,2254,2605,2511,1871,2617,3550,3544,3463,3732,3230,2580,3399,3542,2939,2665,2619,2310,2122,2250,1893,1691,1852,1812,2428,2731,2434,1863,1966,2033,1410,1411,1694,2177,2642,2299,1829,1681,1747,2219,2851,3022,2580,2282,2533,2657,3000,3383,3748,4012,3293,2548,2886,3011,3020,3265,3204,3117,2958,2705,2471,2140,2047,2328,1993,2191,2104,2221,2107,2076,1942,2024,2257,1943,1853,1874,1869,1757,2251,3261,3449,3549,3449,2992,2674,2342,2138,2138,1948,2009,2252,2363,2476,2555,2182,2148,2345,2442,2154,1876,2308,2731,2782,2714,2534,2714,3134,3458,3617,3354,2721,2531,2243,1883,1702,1887,1809,1561,1476,1686,1816,2113,2062,1846,1747,2078,2168,2001,2068,2025,2138,2126,2154,2243,1936,1885,1935,1971,1915,1946,1731,1503,1505,1511,1686,1888,2046,2556,2446,2059,1708,2054,1843,1600,1547,1655,1702,1577,1701,2028,2262,2766,2834,3152,2868,2137,2291,2407,2062,1691,1723,1900,1604,1438,1246,1615,1425,2291,2540,2019,2363,2588,3052,3166,2496,2942,3724,1976,1780,2393,2561,2144,1553,1564,1604,1579,1751,1613,1560,1766,1629,1560,1820,2083,2100,1713,1574,1660,1498,1375,1666,2065,2461,2543,2326,1665,1562,1777,1678,2170,2082,2017,1742,1745,2293,2508,2808,3184,2610,2591,2347,2162,2381,2322,2215,1693,1546,1923,2808,2943,2589,2943,3518,4005,3915,3934,4212,4293,4356,4151,4301,3332,2431,2262,2108,2218,2187,2138,2041,2153,3119,3190,3210,2843,2358,2026,2426,2737,2895,2890,2802,2779,2541,2623,2614,2387,2057,2013,2403,2485,2820,2988,2693,2758,2621,2746,3266,3409,3560,3472,3575,3621,3431,3532,3594,3544,3429,3388,3344,3159,3035,2873,2677,2776,2136,1645,1518,1641,1967,2171,2058,2365,2397,1988,2117,1643,1751,2919,3107,2449,1852,1860,2067,2166,2322,2032,2092,1863,1780,1939,1642,1540,1780,1987,2764,3167,2705,2629,2800,2383,1863,1880,2241,1866,1605,1817,1853,1745,1763,2087,2146,1908,1968,2448,2262,1882,1973,2123,1903,1857,2555,2050,1899,1926,2565,2290,2026,1743,2128,2626,1654,1278,1810,2139,2488,2097,1959,1982,2116,2287,2398,1897,1801,2075,2132,1931,1802,2100,2219,2155,2035,2510,2808,2467,1886,2211,2490,2485,2521,2344,2717,2700,2702,2550,2719,2667,2431,2222,1791,1389,1768,1973,1854,1929,2215,2141,1814,1991,2226,2018,1802,2085,2284,2085,1565,1909,2304,2470,2428,2315,2409,2373,2588,3432,2659,2029,2243,2366,1854,1660,1591,1510,1772,2237,2595,2654,2668,1784,1452,1532,1794,1771,1841,2080,1801,1880,2426,2486,2039,1962,2430,2621,2762,2985,2697,2641,2232,1573,1365,1469,1596,1531,1825,2557,2486,2177,2197,2324,2404,1995,1841,1780,1511,1394,1635,1827,1748,1816,2374,2680,2004,2109,2238,2235,2439,2357,2380,2238,1660,1472,1508,1547,1874,1810,1614,1571,1687,1876,1884,1930,2075,1923,1625,1576,1716,1719,1915,2050,1986,2056,1897,1852,2133,2311,2116,1925,1702,1433,1617,1773,1877,1837,1871,1919,2316,2265,2647,3474,3442,2683,2425,2798,2526,2993,3459,3333,3477,3562,3552,3272,2879,2425,2387,3019,3450,3251,2602,2374,3150,2894,1855,2223,2756,2689,2111,2400,3331,2988,2288,1754,2110,1854,1332,1983,2020,1886,1928,1604,1560,1710,1765,1919,2438,2668,1894,2116,2026,2058,1960,1837,1583,1534,1486,1812,2369,2076,1824,2268,2416,2063,1899,1882,2303,2083,2070,2259,3032,3705,3593,3726,4168,4145,4056,4093,4004,3829,4156,3661,3282,3134,3267,3199,2629,2518,2179,1574,1684,1886,1809,2836,3274,2984,2790,2561,3107,4168,4803,4847,4547,4426,4804,4744,4462,3767,3122,2530,2620,2216,1506,1227,1218,1322,1470,1606,1521,1417,1504,2011,2331,2752,2024,1967,2733,3032,2455,2503,3482,3364,3089,3456,4036,4239,3639,3524,4016,4036,3935,4140,4112,3713,3452,3463,3748,4048,4058,3945,4081,4111,4212,4138,4212,4728,4949,4428,4080,3839,3852,4195,4495,4399,3968,4027,4137,4400,4532,4522,4613,4771,4684,4416,4228,3867,3626,3783,3785,3739,4200,4464,4722,4568,4459,4464,4437,4568,4674,4709,4776,4644,4896,4828,4571,4407,4320,4107,3895,3889,4103,4194,4491,4346,3686,2911,2842,3418,3850,4324,4264,4239,4224,4357,4576,4381,4070,3637,3460,3267,2569,2429,2976,3097,2910,2935,2754,2403,2489,2832,2920,3166,3347,3421,3378,3251,3298,2921,2966,2854,2166,1881,2022,2008,1926,1648,1712,2289,2418,2380,2292,2387,2256,1819,1828,2016,1818,1840,2294,2600,2140,2054,2186,2036,2249,2148,1885,1871,2331,3332,2762,1720,1612,1686,1918,2072,2167,2016,1689,1374,1336,1462,1684,2102,2369,2008,2220,2404,1855,1947,1605,2488,3392,3506,2846,2705,2977,2540,2362,2643,2675,2643,2123,2241,3460,3761,4119,4049,4115,3907,3624,3121,2766,2389,1926,2107,2445,2996,3124,3182,3329,3371,3356,3227,3480,3369,3254,3189,3054,3050,3233,3480,3243,2983,2973,2700,3111,3272,3385,3510,3423,3319,3673,4042,3833,3727,3617,3045,3130,3341,3256,3177,3005,2996,3066,3052,2851,2626,2431,2222,2076,1991,1914,1893,1850,1841,1775,1744,1797,1948,2075,2085,2126,2183,2231,2331,2416,2372,2315,2363,2530,2485,2381,2278,2304,2334,2182,2062,2118,2098,1862,1877,1935,1840,1793,1934,1961,1927,2125,2128,2100,2382,2746,2951,3027,3041,2916,2742,2952,2984,3016,3097,3342,3492,3150,2588,2706,3149,2855,2286,2571,3462,3596,3472,4001,4299,3702,3201,2663,2256,2206,2272,1837,2049,2187,2235,1804,1932,2302,2265,2206,2299,1970,1953,1932,1785,2081,2231,2024,1960,2106,2742,3436,3007,1992,2281,2891,2302,2264,2397,2523,2680,2658,1919,2942,4212,3499,2904,2745,1875,1916,2766,2671,2191,2014,2298,2328,2062,2247,2418,2920,2917,2721,2546,2447,2216,1780,1826,1909,2150,2552,2842,3163,2787,2425,2800,2958,3029,3177,3087,3155,3085,2662,2214,2645,2846,2612,1748,2092,2532,2342,2213,2286,2225,2620,3602,3284,2664,1898,1990,3237,3421,2612,2319,1807,1798,2283,1936,1605,1714,2168,2439,2909,2665,2258,1903,1780,1645,1586,1514,1791,2140,2285,2015,2282,2225,2608,2991,2950,3265,3292,2272,1811,2073,2584,2423,2487,3773,3886,2411,2326,2205,2000,2128,2223,2227,1952,1510,1931,2099,1691,1662,2005,2618,2358,2196,1780,1699,1898,1839,2391,2834,2272,1957,2038,2280,2186,2014,2781,3203,2836,2631,3039,2879,2138,1959,2299,2719,3229,3062,2699,2149,2097,2967,2828,2912,3244,2486,2171,2675,2737,2739,2962,3558,3777,3504,3049,2791,2978,3183,3557,4012,3919,3823,3937,3969,3488,2791,2600,2869,2710,2629,2645,3264,3670,3581,3275,3199,2999,2568,2176,1542,1614,1932,1644,2002,2142,1901,1624,1730,1628,1690,1874,1897,1756,1639,2104,2003,1547,1278,1593,1835,1907,1817,1791,1834,1632,1824,2252,2145,2376,2853,2490,2119,2167,1710,1650,1674,2096,2029,1948,1809,1750,2271,2369,2623,2004,1620,1651,2044,2478,2440,2721,2964,2706,2557,3194,3417,3404,3222,2397,2655,2404,1791,2077,1881,1700,2270,2744,2362,1975,2199,2466,1903,2447,3030,2351,2232,2609,2348,1972,2030,2872,3352,3183,3178,3000,2941,2787,2858,2540,2438,2952,2933,2888,3302,3007,2845,2646,2050,1816,1656,1690,1698,1824,2133,2913,3096,3031,3567,3942,3828,3902,4111,4110,4045,3931,3854,3706,3790,3681,3674,3733,3906,4035,3807,3461,3199,3088,3129,3040],[2318,2665,2469,2119,1978,1974,1986,1938,1842,1919,1924,2104,2534,2642,2230,2223,2446,2770,2553,1653,1818,1980,2478,3057,2346,2117,2718,3271,3483,3312,2735,2614,2547,1961,2084,2808,2763,2307,2177,2657,2840,3113,2745,2243,2866,3288,3103,3110,2673,2222,2396,2579,2771,2666,2666,2230,2114,2088,1905,1694,1686,2166,2656,2619,2398,2297,2499,2636,2750,3061,2496,1392,1279,1787,1824,1827,2001,2360,2391,1990,1688,2115,2476,2997,3244,3215,2435,1877,1943,2127,2323,2104,2246,2229,2609,2823,3277,3353,3411,3849,4187,3337,2424,2271,2394,2597,2797,2875,2895,2957,2818,2640,2263,2257,2503,2735,2930,2662,2208,1917,2231,3033,3340,2993,2675,2460,2542,2309,2626,2603,2545,3042,2980,2428,2211,2661,2388,2303,2488,2897,3548,3110,2477,1752,1712,2011,2140,2364,2086,1972,2515,2149,1933,2268,2664,2787,2851,2765,3088,3461,3409,3254,3134,3040,2976,2786,2677,2737,2851,2959,3293,3257,2641,2653,2634,2038,2119,2515,2649,2968,2856,2667,2149,1975,2216,2056,2293,2447,2336,2334,2355,2482,2942,3295,3073,2973,2843,2765,2667,2346,2438,2828,3109,3446,3035,2812,3463,3562,3327,2473,2631,2147,2381,3097,3437,2832,2490,2687,2869,3042,3248,3089,2345,2851,3244,2469,2540,3278,3396,3532,3647,3529,3710,3661,3374,3286,2544,1989,1979,2353,1824,1735,1989,2040,1920,1764,1754,1998,2482,2693,2316,1841,2282,3011,3129,3037,3196,3291,3331,3353,3063,2575,2720,3264,3511,3397,3609,3638,3530,3438,3860,4288,4352,3816,3252,3381,3737,3501,2846,1903,2998,3905,3984,3762,3441,3530,3278,2901,2975,2867,2664,2984,3220,2895,2404,2072,2090,1942,1530,999,1437,1822,1917,2109,2291,2360,2357,2189,2596,1957,1576,1858,2474,2978,3157,3549,3372,2352,2001,1744,1510,1806,1903,1942,1889,2071,1848,2286,2907,2909,2197,1955,1899,1845,2192,2073,2067,2522,2621,2021,1812,2267,2068,1855,2459,3362,3370,2894,2319,1869,1650,1932,1953,1858,1728,1620,1754,1891,1876,1813,1813,1656,1932,2272,1836,1911,1750,1902,1893,1983,2651,2880,2497,2242,2398,2565,2506,2437,2562,2830,2215,1819,2256,3239,3142,2849,3076,3112,3374,3029,1872,1744,2054,2985,2917,2757,2446,2055,1675,1951,2369,2342,1987,2197,2558,2597,2525,2492,2013,2083,2491,3040,3365,3752,3533,3371,3605,2959,2240,2466,2763,2555,1777,1753,1774,1727,1739,1963,2733,2932,2352,2110,2779,2533,1662,1796,1854,2055,2658,2420,2110,1922,1865,1715,1960,2676,2406,1874,2413,3097,3397,3532,3821,3452,2410,2140,2701,3016,3435,3799,3416,3072,2489,2014,2307,2359,2313,2293,2186,2389,1992,1856,2114,2201,1891,2095,2214,2259,2142,1829,1946,1887,2408,3260,3423,3466,3194,2568,2424,1885,1459,1616,1935,1889,1778,2455,2687,2030,1738,1690,1738,2129,2232,2325,2568,2611,2353,2716,2691,2482,2691,3181,3252,2576,2317,2400,2198,1490,1543,1943,1651,1483,1451,1686,1837,2082,1993,1810,1751,2060,2131,2257,1826,1602,1678,1713,1947,1754,2465,2656,2543,2522,2097,1923,2040,1971,1520,1609,2200,2842,2561,2365,2050,1507,1549,2038,1959,1775,1619,1439,1537,1512,1647,1629,1831,2296,2575,2852,2997,2401,1897,1771,1875,1804,2000,1992,1489,1489,1953,1982,1559,1957,1924,1672,2044,2426,2492,2524,2287,2042,2348,1904,1765,2564,2140,2187,1885,1744,1899,1975,2080,2257,2183,1955,1527,1429,1632,1559,1666,1737,1594,1570,1662,1578,1449,1831,1926,1443,1600,1556,1884,1595,1551,1913,1735,1848,1824,1661,1859,1677,1856,2651,2435,2355,2118,1566,1977,1873,1847,1859,1720,1987,2877,3606,3051,2821,3459,4160,4351,4263,4200,3962,3919,3804,3748,3133,2631,2212,2319,2513,2496,2646,2514,2997,3918,3232,2823,2777,2299,2353,2728,2741,2747,2833,2890,2749,2547,2722,2620,2361,2042,2642,2942,2596,2787,2728,2579,3065,3196,3020,3111,3487,3426,3341,3571,3772,3794,3681,3535,3493,3359,3110,2877,2574,2126,1960,2419,2595,2233,1774,1473,1560,1952,2203,2311,2469,1780,2141,2755,2000,1700,1968,2114,2013,1615,1451,2002,2791,2601,1849,2037,1800,1758,1888,1841,1929,2266,1852,2342,2547,1455,1941,2608,2218,1887,1361,1504,1520,1492,1828,1949,1768,1921,2075,2152,1938,1878,2203,2264,1932,1976,1715,1692,2345,3189,2852,2415,2138,2327,2432,2154,2164,2019,1981,1743,1860,2013,1934,2147,2092,2052,1843,1956,2286,2442,2200,1887,1502,1486,1747,2159,2315,2137,2055,2575,2920,2679,2629,2291,2163,2112,1721,2047,2305,2303,2494,2586,2791,3067,2647,2644,2811,2156,1452,1510,1556,1488,1402,1611,1793,1852,2207,2499,2492,2260,2214,2542,1951,1556,1896,2174,2347,2258,1929,1888,1842,1839,2007,1824,2118,2764,2641,2116,1945,2026,2040,2381,1860,2188,2305,1948,1420,1411,1619,2095,2214,2104,1963,1759,1536,2021,2425,2390,2318,2474,2430,2513,2374,2130,2317,2028,1483,1826,2025,2028,2314,2452,2375,2209,2148,2104,2125,2131,1961,1931,1928,1419,1388,1486,1382,1613,2076,2212,2113,1957,2003,2352,2763,2631,2113,2426,2338,1886,1595,1614,1723,1806,1665,1642,1828,1896,1914,1853,1792,1772,1620,1497,1507,1655,1796,1717,1603,1656,1852,1579,1814,2148,1895,1924,1829,1583,1784,2747,3340,2901,2036,1721,1900,2363,2596,3106,3607,3592,3044,2341,2592,2172,2958,3344,3429,3488,3450,3453,2812,2523,2740,2643,2874,3392,3435,3165,2623,2789,2315,2067,2346,2331,2447,2026,2293,3361,3494,2718,2177,2122,1751,1838,2202,1982,1693,1461,1481,1569,1628,1966,2208,2458,3045,2338,2020,1947,1896,1927,1968,1761,1656,1643,1886,2109,2199,2164,2831,2981,2513,2121,1900,2257,2314,2555,2785,2792,3326,3789,3789,4029,4188,4030,3978,4012,3825,3819,3505,3226,3073,3500,3487,2751,2499,2334,1564,1467,1672,2083,3598,4231,3324,2688,2740,3040,3835,4704,4756,4721,4893,4937,4937,4496,2807,1822,1505,1470,1403,1209,1057,1338,1653,1635,1602,1412,1453,2240,2702,2280,2152,2370,2952,3039,2597,2007,2705,3506,3417,3196,3349,3353,3315,3134,3264,3760,3969,3982,4273,4240,3692,3273,3522,4049,4253,4139,4138,4402,4259,4199,4287,4233,4629,4805,4219,4128,4313,4444,4300,4262,4497,4448,4243,4133,4375,4644,4680,4628,4852,4500,3919,4200,4200,4244,4100,3912,3682,3616,3925,4441,4501,4520,4464,4364,4363,4672,4973,4824,4852,4949,4676,4544,4484,4213,3860,3658,3637,4014,4070,4196,4025,3526,2870,2881,3609,4125,4200,3916,3703,3729,4124,4566,4265,3953,3653,3179,2666,2344,2887,3232,2887,2685,2789,3090,3139,3047,3182,3232,3591,3514,3279,3278,3141,3073,3396,3813,3427,2465,1974,2180,2089,1773,1939,1964,2355,2449,2532,2344,2064,1911,1794,1831,1857,1924,1900,1683,2159,1804,1853,2115,1954,2522,2476,1972,1711,2287,2940,2328,1845,1757,2338,2409,2466,2584,2499,1943,1418,1478,1836,1977,1901,1951,1726,2013,2501,2578,2661,2365,2630,3111,3150,3053,3144,3109,2675,2373,2745,2958,3275,3023,3418,4002,3847,4363,4256,4200,4327,4365,3975,3300,2667,2313,1980,2104,3012,3123,3317,3345,3209,3287,3446,3494,3370,3461,3559,3561,3364,3403,3427,2975,2716,2939,2832,2740,2858,3037,3163,3130,3132,3485,3479,3482,3398,3236,3081,3049,2918,2813,2607,2386,2286,2176,2018,1889,1811,1764,1807,1881,1958,2096,2170,2204,2375,2621,2917,3233,3372,3371,3065,2997,3437,3550,3482,3288,3240,3408,3628,3554,3361,3367,3450,3342,3218,3208,3377,3366,3211,3163,3179,2988,2756,2607,2382,2131,2069,1902,1853,1842,1876,1982,2101,2187,2357,2558,2828,2891,2774,2714,2646,2702,2915,2957,3043,3022,3016,2876,2619,2665,3162,3607,3728,4006,3923,3521,2962,1937,2254,2935,2336,1957,2164,2315,2133,2281,2644,2730,2553,2511,2344,2040,2587,2061,1793,2124,2487,2177,1891,1953,2377,3044,3138,2274,2374,2588,2185,2197,2430,2770,2911,3143,3096,3536,4100,3952,3685,3043,1873,2031,2610,2508,1915,1653,2222,2451,2077,1848,2045,2281,2557,3231,2774,1838,1856,2141,2560,2440,2431,2840,2898,2379,2179,2898,3360,3123,2833,2904,2676,3162,2579,2529,2802,2659,2857,2633,2177,2292,2398,2205,1967,2286,1870,1857,1879,1897,2365,2135,2521,3137,2543,1983,2319,2070,1640,1989,2153,1881,2127,1886,1984,2385,1982,1496,1609,1499,1460,1571,1650,1855,1898,2172,2303,2786,3215,3347,3492,2852,2698,2863,2163,1714,1749,2122,2259,3063,3859,3962,3205,2554,1916,1666,1935,2165,1889,1621,1830,2310,2263,1873,1705,2198,2908,2583,2451,1975,1520,1709,1754,2056,2294,2157,2832,2543,2069,2064,2165,2921,3140,2883,2968,3278,3123,2160,1823,2193,2499,3032,3087,2965,2366,2745,3228,3225,3160,3187,2776,2089,2082,2051,2087,2543,2957,3172,2823,2378,2667,2723,3017,3710,3943,3793,3847,3827,3762,3010,2597,2608,3221,3006,3106,3264,3572,3522,3304,3064,3083,2934,2540,2088,1585,1457,1765,1562,1712,1722,1571,1559,1673,1656,1888,2115,1894,1569,1606,1995,1825,1458,1224,1867,2088,1665,1673,2072,2011,2170,2764,2759,2048,1696,2621,3370,3234,2834,2216,1804,1477,1458,1634,2079,2050,1809,1808,1789,2533,2018,1966,2307,2361,2547,3064,3110,2785,2656,2879,3450,3416,3527,3217,2555,2501,2386,2874,2809,2186,1869,2521,3354,2689,2364,2227,2282,2325,2677,2498,2545,2373,2090,2256,2543,2603,2720,2728,2776,3029,2764,3142,3506,3799,3448,2385,2662,3068,2910,3067,2929,2756,2744,2556,2155,1653,1786,1629,2182,2470,2655,2523,2556,3350,3909,3708,3791,4256,4204,4046,3876,3571,3637,3869,3956,3926,3646,3494,3807,3883,3610,3259,3244,3301,2968],[2077,2372,2138,2427,2730,2491,2210,2221,2139,2071,1918,2402,2563,2465,2242,2075,2148,2777,2728,1669,1653,1652,2258,2743,2691,3117,3430,3398,3303,3144,2790,2752,2311,1788,2031,2354,2085,2104,1852,2160,2482,2558,2302,2255,2696,3082,2973,2996,2525,2373,2584,2489,2060,1969,2144,1964,1954,2121,1912,1744,1720,1799,2328,2555,2529,2294,2078,2447,2896,3337,3045,2324,1958,1820,1682,1907,2110,2652,2468,2099,1905,1937,2057,2584,2958,2956,2258,1782,2019,1926,2380,2312,2340,2412,2622,3334,3544,3509,3488,3567,3538,2732,2115,2076,2616,2728,2900,3044,3165,3295,2966,2690,2641,2602,2365,2083,2325,2372,1960,1749,2210,2920,3226,2926,2731,2509,2471,2743,2946,2539,2398,2894,2736,2214,1866,2189,1846,1748,2324,2821,2949,3022,2822,2018,1587,1784,1666,1803,1919,1786,2240,2056,1854,2223,2610,2864,2876,2779,3110,3518,3727,3507,2786,2377,2145,2081,2048,1865,1971,2299,2311,2025,1942,2367,2326,1803,1867,2374,2745,3019,2666,2666,2266,2194,1981,1637,1576,1755,2210,2337,2214,2304,2612,3309,3326,3149,3325,3254,2843,2393,2423,2437,2559,2891,3054,3296,3819,3527,2967,2799,2790,2358,2114,2596,3045,2601,2271,2279,2436,2754,2916,2992,3109,3211,3111,2521,2902,3361,3486,3709,3629,3506,3674,3618,3808,3752,2886,2237,2230,2193,1731,1797,2293,2301,2077,1793,2060,2416,2350,2686,2485,2278,2808,3394,3438,3342,3388,3636,3550,3317,2814,2478,2349,2540,2903,3012,3355,3685,3836,3641,3855,4432,4504,4010,3586,3631,3740,3814,3631,3375,3046,3550,3896,3826,3785,3564,3118,2961,3156,3228,2896,2884,2728,2641,2210,1685,1809,1947,1346,1354,1777,1713,1666,1875,2245,2728,2580,2304,2216,2609,2347,1706,2099,2673,2714,2813,2599,1759,1398,1426,2128,2640,2476,2192,2066,1879,1515,1880,2688,2665,1867,1953,1683,1944,2474,2135,2284,2762,2584,1734,2169,2645,2278,2712,2844,3172,3460,3032,2224,1843,1678,2238,2078,1882,1969,1816,1659,1722,1899,1991,2002,1871,1936,2025,1838,1970,1833,1791,1717,1876,2402,3020,2811,1858,1532,1584,1845,2494,3218,3054,2296,2150,2452,2807,3122,3272,3165,2938,3139,2380,2088,2298,2746,2766,2287,2500,2735,2454,2373,2567,2833,2579,2099,1867,1867,2085,2107,1941,2331,2525,2736,2763,2776,3324,3216,3117,3500,3245,2732,2809,2694,2279,1668,1476,1579,1785,1976,2291,2714,2603,1459,1741,3352,3208,2446,2331,2398,2048,2561,2779,2235,1944,2076,2078,1835,1991,1883,1994,3143,3682,3628,3682,3830,3473,2777,2724,3032,3318,3904,3598,2942,2811,2536,2099,2645,2790,2557,2521,2388,2039,1694,1617,1959,2220,2310,2331,2132,2535,2172,1874,1701,1780,1958,2198,2640,3283,2924,1996,1982,1445,1474,1542,2324,1947,1473,2008,2312,1922,1793,1644,1639,1742,1936,2253,2457,2376,1989,2301,2116,1920,2392,2922,2977,2933,2482,2320,2518,1780,1788,1892,1542,1501,1686,1864,2172,2150,1748,1743,2050,1864,1720,1954,1642,1569,1680,1908,1879,1783,2286,2586,3118,3012,2306,2031,2018,1767,1487,1809,2842,3087,2474,1853,1553,1519,1822,1935,2208,2376,1999,1669,1735,1807,2155,1619,1405,1892,2352,2707,2924,2801,2388,1954,2148,1791,1616,1594,1426,1710,2054,2367,2764,2533,1948,1748,1766,1816,1784,1821,1778,1694,2458,2170,1589,1782,2025,2154,1905,1432,1504,1764,1833,2255,2446,1762,1609,1381,1517,1567,1988,1898,1553,1679,1871,1777,1676,2079,2354,1807,1604,1717,1860,1625,1708,1922,1968,2019,1967,1816,1612,1483,1842,2754,2818,2476,2145,1881,2238,2115,2287,2393,2063,1834,2446,3416,3553,2770,3388,4219,4674,4319,3365,3038,3616,4112,3892,3310,3022,2499,2762,3056,3016,3189,3377,4025,4436,3885,3372,2864,2431,2714,2894,2685,2809,2894,2966,2655,2489,2697,2558,2291,2364,2813,2767,2473,2740,2891,3018,3264,3444,3331,3287,3530,3598,3624,3660,3716,3723,3704,3515,3238,2918,2393,1970,1786,1750,1766,2588,2934,2180,1527,1412,1640,2700,3167,2642,2242,1688,1987,2536,2187,1943,1713,1600,1564,1490,1775,1852,2080,2128,1694,1984,1851,1746,1759,1764,1930,1950,1350,2214,3155,2243,2420,2324,2041,1454,1211,1627,1802,1587,1695,1902,2014,1896,1865,2138,2138,1985,2019,2306,2091,2416,2125,2130,2263,2563,2966,2714,2040,2376,2500,2209,2185,1871,2160,2330,2615,2380,1797,1630,1869,1985,2152,2359,2445,2486,1948,1746,1585,1518,1781,1947,2194,2094,2029,2636,2730,2730,3002,2758,1968,1739,1489,1595,1787,2352,2720,2656,2812,2895,2849,3096,3109,2264,1615,1658,1714,1662,1397,1528,2008,2185,2343,2662,2677,2066,2095,2640,2075,1722,1770,2054,2168,1873,1577,1535,1977,2119,2018,1988,2060,2523,2398,2061,2074,2797,2830,2569,1873,1841,2507,2082,1295,1490,1895,2040,1852,2099,2212,2696,2447,2302,2437,2429,2149,1780,1792,2004,1925,1669,1461,1355,1171,1964,2176,2211,2657,2797,2459,2486,2447,2276,2160,2049,1950,1697,1993,1576,1511,1786,1690,1867,2063,1811,1664,1777,1992,2048,2242,2450,2097,2318,2266,2068,1798,1703,1574,1516,1618,1763,1957,1953,1775,1598,1555,1560,1897,1799,1559,1628,1611,1676,1554,1558,1736,1887,2481,2284,1970,2028,1881,1915,2562,3484,3804,3076,2104,2002,2370,2216,2010,2670,2912,3250,3011,2050,2009,2242,2709,3015,3254,3400,3285,3110,2892,3041,3298,3090,2866,3189,3391,3260,2467,2123,1809,1910,2237,2608,2630,1899,2513,3408,3375,2484,2157,2322,2166,2066,1871,1700,1599,1516,1433,1624,1731,1742,1787,2439,2519,2122,1643,1622,1770,1910,1906,1909,1895,1910,2017,2513,2996,2735,2937,2714,2216,2036,1986,2584,2454,2098,2514,2790,3387,3895,4004,4090,4227,4189,4025,4050,3964,3618,3572,3521,3292,3595,3964,3376,2464,2058,1826,1850,2155,2805,3709,4244,3495,2642,2824,3074,3460,4199,4533,4517,4817,5046,4893,4346,2604,1591,1554,1436,1295,1151,1162,1962,3025,3220,2598,1438,1415,2625,3383,3493,3226,3022,2986,2402,1746,2251,3210,3472,3692,3480,3527,3376,3325,3409,3388,3632,3991,4045,4036,3738,3563,3718,3952,4152,4341,4340,4247,4356,4296,4421,4428,4080,4187,4555,4371,4311,4496,4379,4067,3925,4352,4423,4271,4413,4631,4764,4687,4587,4727,4364,4243,4163,4217,4155,4112,4052,3824,3548,3732,3986,4252,4632,4539,4480,4463,4608,4785,4720,4643,4600,4589,4413,4340,4025,3541,3711,3520,3637,3819,3828,3853,3692,3152,3018,3642,4108,4096,3909,3616,3649,3672,4096,4140,3931,3473,2740,2346,2796,3288,3217,2839,2630,2741,3041,2980,2976,3080,3387,3203,3038,3011,3066,3005,2721,2960,3820,3640,2491,1888,2081,2021,1665,1963,2474,2245,2436,2675,2188,1932,1760,1924,1764,1715,1755,1804,1538,1449,1494,1610,1827,1947,1954,1763,1656,1783,2061,2134,2023,2167,2301,2111,2048,2285,2564,2625,1990,1526,1593,1930,2126,1731,1700,1698,1882,2841,3239,3343,3240,3010,3204,3226,3068,3065,3476,3182,2918,3461,3540,3384,3559,4056,4140,3962,4100,4090,4005,4308,4244,3815,3570,3271,2791,2267,2474,3111,3145,3183,3160,3136,3333,3536,3476,3371,3497,3573,3725,3619,3486,3452,3340,3394,3515,3338,3217,3188,3205,3261,3056,2651,2622,2740,2862,2691,2580,2505,2364,2187,2049,1917,1770,1708,1702,1844,2048,2320,2568,2808,3044,3107,3084,2883,3002,3389,3448,3684,3798,3940,3996,3838,3808,3855,3652,3495,3481,3618,3686,3630,3654,3496,3661,3693,3617,3663,3642,3569,3620,3720,3754,3725,3889,4014,3842,3758,3780,3436,2852,2604,2331,2110,1996,1788,1758,1820,1868,2093,2201,2363,2576,2532,2382,2467,2558,2846,2922,2855,2812,2336,2134,2695,3129,3259,3835,3594,3340,2750,2220,2705,2909,1986,1881,2010,1840,1951,2206,2634,3178,2765,2358,2395,2532,2880,2647,2058,2236,2500,2555,2242,2009,2177,2911,3396,2729,2924,2758,2372,2490,2786,3017,3161,3325,3594,3628,3631,3924,3769,2732,1974,1924,1849,1976,1763,1936,2166,2030,1858,1606,1722,2051,2430,2899,2401,2150,2240,2352,2822,2508,2382,2664,2569,2370,2491,3167,3163,2742,2863,2959,2851,2999,2744,3127,2979,2446,2445,2486,2308,2488,2409,1858,2238,2532,1946,1649,1616,1957,2480,2541,2642,2931,2817,2344,2669,2092,1841,2094,2282,2410,2010,1868,1932,1956,1641,1421,1593,1593,1455,1425,1775,1898,2212,2265,2466,2872,3367,3270,2656,2025,2147,2508,1863,1772,1904,2844,3045,2949,3428,3329,3159,2495,1839,1871,1877,2233,2480,1882,2593,2832,2624,3106,2401,2736,3383,2770,2355,2030,1658,1994,2120,2510,2635,2480,3166,2938,2522,2479,2233,2257,2206,2238,2654,3238,3312,2493,2580,2406,2070,2548,2763,3029,2779,2717,2611,2819,3231,2775,2071,1935,2665,2586,2294,2146,2418,2657,2172,2008,2297,2455,2937,3458,3499,3373,3460,3527,3317,2137,2031,2014,2496,3082,3672,3902,3516,3296,3200,2763,2525,2487,2316,2089,1576,1462,1473,1541,1722,1700,1579,1661,1792,1866,2011,1873,1779,1748,1520,1472,1882,1839,1969,2272,2084,1750,1740,1914,2009,2791,2581,1865,1654,1794,2765,3043,2974,2588,2330,2203,2016,2169,2266,2275,1792,2048,1735,1694,2005,2400,2842,2954,2809,3300,3703,3558,3164,2980,2998,3361,3362,3354,3261,2976,2839,2996,3499,3295,3122,2670,2718,3088,2465,1844,1687,1883,2071,2388,2464,2378,2343,2222,2238,2916,2879,2791,2623,2604,2822,3182,3450,3574,3542,2950,2400,2717,2720,2290,2272,2488,2441,2282,2507,2912,2693,2247,1859,2088,2171,2187,2407,2166,2940,3697,4060,3934,4203,4163,4057,3812,3583,3674,3815,3894,3956,3638,3416,3610,3706,3776,3544,3205,3073,2968],[2220,2236,2393,2790,2787,2649,2455,2552,2432,2325,2415,2352,2407,2558,2329,1895,2148,2555,2342,1794,1722,1699,1872,2313,2780,3105,3182,2806,3041,3454,2872,2721,2091,1990,2314,2127,2024,2286,2428,2576,2771,2675,2365,2352,2491,2520,2387,2247,2231,2137,2142,2271,1989,1852,1913,2016,2092,1887,1735,1789,2146,1736,1779,1825,2496,2473,1969,1967,2578,3207,3244,2746,2249,1798,1359,1429,2156,2954,3266,2555,2068,2082,1928,2221,2625,2762,2570,2222,2104,1882,2398,3028,2831,2788,2884,3152,3204,3160,3008,2920,2965,2512,2460,2434,2449,2554,2809,3184,3440,3489,3194,2836,2720,2655,2370,2075,2235,1822,2060,2397,2852,3189,3294,3467,3288,2620,2486,2643,2640,2621,2443,2590,2612,2196,1990,2359,1941,1885,2705,3203,3606,3849,3586,3110,3065,2623,2498,2367,2416,2100,2143,2442,2283,2195,2488,2822,3042,2971,3174,3338,3520,3428,3113,2621,2050,1842,1952,1841,1861,1866,1638,1785,1870,1907,1938,1846,1643,1762,2186,2476,2315,2463,2629,2124,1670,1820,1968,2179,2367,2151,2287,2334,2316,3341,3816,3542,3284,3398,3161,2321,2433,2616,3204,3241,3362,3221,3251,3055,3008,3321,3022,2397,2192,2232,2831,2712,2195,2243,2525,2743,2976,3307,3405,3111,2949,3018,3341,3547,3636,3661,3617,3573,3522,3633,3654,3964,3890,3597,3062,2536,2323,2555,3282,2334,2025,1987,2071,2504,2764,3143,3569,3593,3670,3782,3687,3671,3736,3979,3550,3223,2542,2402,2415,2453,2706,3150,3414,3684,3727,3659,4059,4357,4356,3890,3632,3659,3863,3898,3793,3652,2842,3110,3797,3777,3729,3406,2946,2945,2909,3184,3252,3107,2759,2747,2210,1428,1695,1990,1766,1973,1968,1784,1973,1974,1975,2356,2436,2485,2532,3286,3686,2985,2426,2833,2608,2610,2599,2643,2102,1864,2380,2543,2471,2350,2433,2443,1946,2161,2933,3000,2072,1793,1519,1980,2284,2066,2577,3011,2409,1864,2692,3023,2417,3273,2305,2374,2863,2631,2554,2189,1908,1819,1696,1968,2062,1780,1665,1665,1767,1848,1826,1714,1741,1738,1826,1904,2078,2048,2028,2138,2304,2714,2264,1852,2168,2162,2891,2859,2917,2658,2483,2868,2692,2405,2767,2756,2751,2804,3298,2578,2494,2863,3467,2523,1690,2294,2793,2690,2581,2320,2719,2796,2542,1838,1625,1875,1865,1941,2960,3711,3702,3186,2944,3101,2818,2199,2387,2892,2718,2853,2873,2108,1722,1636,1505,1602,1970,2339,2521,2454,1829,1665,2411,2769,2510,2727,2830,2456,2611,2687,2206,1812,2327,2671,2160,1639,1848,1935,2718,3538,3928,3925,3723,3507,3284,3196,3308,3635,3682,3111,2832,2685,2600,2442,2876,2902,2657,2438,2116,1874,1627,1898,2202,2532,2918,2410,2139,2151,1932,1884,1935,1808,1511,1482,2007,3116,2845,1803,1754,1592,1658,1642,2329,2070,1595,1927,1997,1926,2032,1677,1703,1706,1707,1914,2369,2436,2187,2211,1947,1650,1946,2386,2762,2840,2297,2250,2289,1688,1899,1777,1468,1710,1866,1838,2066,1880,1661,1880,2245,1808,1703,1608,1637,1809,1659,1705,1824,1981,2428,2835,3005,2789,2157,1684,1775,1612,1683,1781,2348,2451,1978,1727,1734,1626,1597,1459,1866,2101,2072,2033,2338,2178,2101,1757,1525,1656,1760,1878,2065,2247,2092,1946,2070,1681,1599,1712,2015,2262,2225,2426,2479,2499,2165,1998,1758,1857,2489,1926,1485,1882,2360,2006,1754,1583,1617,1792,1932,1771,1861,1791,1397,1913,2226,1856,1738,1518,1483,1443,1614,1691,2044,2270,1768,1697,1862,2033,2119,1598,1488,1793,1580,1561,1952,2277,2053,1832,1904,2016,1493,1528,2139,2315,2683,2907,2176,1660,1958,2311,2465,2548,2483,1748,1936,2590,3200,3529,3637,4464,5020,4229,2852,2175,2811,3331,3231,3031,3208,2966,3352,3565,3639,3682,3908,3991,3827,3461,3404,3449,3132,3130,2996,2664,2770,2801,2955,2759,2613,2568,2314,2226,2389,2199,2222,2596,3033,3257,3190,3171,3138,3206,3384,3458,3625,3697,3591,3662,3591,3374,3149,2664,2182,1834,1723,1780,1755,1893,2792,3270,2478,1973,1661,1531,2362,3012,2808,2044,1560,2046,2433,2193,1925,1522,1395,1398,1499,1881,1997,1741,1588,1529,1995,1865,1481,1905,2437,2046,1525,1367,1755,2428,2364,2222,1593,1961,1914,1723,1656,1568,1728,1970,1930,1954,1669,1794,1977,2350,1964,1963,2163,2495,2756,2484,2265,1824,1681,2230,2340,2273,2670,2210,2198,1715,1525,1768,2042,2277,1990,1719,1804,1950,2104,2500,2358,2453,2411,2001,2025,2067,1990,2142,2119,2359,2231,2110,2499,2601,2271,2762,2931,2197,1944,1581,1503,1857,3039,3106,2406,2337,2492,2721,2861,3082,2758,2541,1919,1720,1786,1737,1994,2326,2258,2344,2511,2272,2210,2678,3077,2780,2575,2166,2011,2115,1937,1577,1622,1871,2057,2503,2048,1467,2124,2043,1975,2075,2768,2686,2514,2292,2010,2190,1743,1330,1530,2143,2164,1567,2215,2451,3089,2811,2409,2351,2292,2078,1882,2027,2085,1841,1686,1814,1731,1547,2228,2587,2177,2460,2754,2669,2677,2499,2329,2243,2392,2142,1628,1785,1748,1469,1992,2308,2211,2100,1832,1565,1603,1837,1892,2178,2259,2094,1946,2018,2031,1934,1733,1635,1754,1794,1910,1874,1611,1815,1653,1462,2005,3100,2499,1660,1511,1461,1498,1474,1603,1840,2327,2632,1996,1851,1828,1891,2316,3047,3870,3373,2095,2019,2521,2512,2219,1975,2620,2862,3232,2348,1737,1882,1974,2507,3031,3261,3576,3629,3608,3604,3625,3603,3593,2956,2927,3186,2662,1950,1707,1808,2009,1810,2054,2327,1882,3009,3260,2483,2106,1972,2087,1881,1685,1637,1515,1730,2022,1638,1731,1883,1648,1560,2097,1782,1526,1536,1675,1859,1904,1787,1875,1848,1855,1963,2258,2574,2802,2811,2044,1807,2110,2019,1931,1703,1714,2170,2575,3416,3740,3870,4144,4363,4216,3854,3934,3895,3364,3526,4080,3898,3953,3757,3706,3307,2354,2141,1973,2592,3419,3885,4125,3713,2943,2872,3504,3993,3174,3835,4428,4773,4958,4588,4049,3168,2072,1681,1408,1362,1339,1739,2170,3428,3897,3012,1971,1564,2431,3686,3791,3164,2439,2071,2144,2735,3392,3515,3591,3975,3931,3792,3641,3632,3721,3660,3702,3897,3930,3667,3364,3537,3880,3842,4063,4429,4497,4395,4335,4094,4120,4045,4037,4287,4345,4509,4805,4820,4600,4311,4271,4419,4320,4375,4311,4182,4520,4809,4772,4940,4464,4425,4323,4020,3955,4215,4348,4046,3601,3713,3779,4058,4404,4314,4479,4563,4629,4672,4572,4080,4008,4402,4288,4123,3959,3824,3792,3484,3447,3372,3554,3892,3986,3355,2824,3369,3980,4109,4124,3736,3852,3726,3852,3907,3451,2735,2359,2956,3388,3170,3088,2872,2778,2867,3102,3238,3150,3020,3426,3484,3179,2980,3012,3012,2688,2586,3359,3157,2197,1900,2105,2151,1718,2263,2740,2025,2173,2321,1997,2435,1988,1920,1642,1530,1663,1716,1479,1446,1731,1670,1686,1649,1500,1472,1368,1873,1774,2009,2104,2305,2522,2205,1707,1763,2350,2630,2282,2050,1785,1727,1701,1711,1932,1732,1826,2794,3453,3609,3362,3563,4079,3571,2876,3082,3785,3619,3482,3508,3332,3403,3492,3253,3320,3550,3372,3006,2789,3219,3522,3479,3472,3520,3162,2855,3199,3595,3608,3431,3409,3570,3720,3759,3671,3629,3628,3839,4113,3816,3543,3476,3437,3397,3405,3381,3300,3183,2883,2698,2314,1895,1858,1965,2009,2009,1998,1948,1946,1947,2026,2269,2371,2557,2980,3340,3530,3676,3715,3755,3711,3561,3086,2347,2302,2358,2542,3671,4320,4428,4328,4172,3920,3718,3552,3265,3207,3730,3515,3319,3717,3258,3751,4196,4289,4180,3855,3816,4028,3920,3838,3969,3826,3375,3421,3650,3917,4004,3907,3677,3653,3565,3185,2915,2598,2068,2025,1879,1769,1865,1932,2152,2123,2181,2219,2285,2358,2469,2496,2369,2320,2529,2758,2972,3325,3116,2798,2172,2264,2469,2039,1980,2237,1731,1714,1831,1760,2352,3122,3053,2372,2592,2056,1975,2040,1973,2178,2599,2655,2368,2216,1650,2098,3165,3552,3610,2930,2539,2945,3043,3117,3305,3470,3619,2791,2431,3361,3000,2114,2264,2121,1744,1803,1844,1896,1873,1646,1844,1875,1874,2413,2488,2474,2229,2831,3266,2757,2437,2328,2364,2778,2736,2836,2625,3046,2902,2644,2778,2937,2947,2895,3109,3150,2345,1813,2004,2143,1847,2113,2075,1870,2614,2484,2019,1567,1423,1878,2031,2215,3152,3385,3321,2665,2208,1611,1720,2047,2102,2254,2294,2054,1749,1743,1643,1953,2020,1954,1676,1588,1605,1695,2036,2052,2030,2413,2799,2701,2349,1876,2236,2353,1830,1758,2065,3235,3345,2821,2808,2520,2372,2543,2245,2181,2144,2150,2080,1825,2657,2980,3022,3536,3030,3007,3439,2881,2264,2248,2159,2233,2133,1936,2186,2409,2623,2423,2230,2258,2307,2132,1943,1975,2332,3234,3266,3175,3063,2512,2069,2173,2519,2813,2720,2805,2972,3285,3730,2842,2584,2741,2986,3009,2677,2281,2216,2307,2433,2856,2796,2428,2824,3205,3040,3056,3260,3602,3365,2270,1925,1897,1951,2451,2977,3177,2889,2990,3042,2231,1968,1918,1837,1659,1685,1521,1458,1638,1707,1759,1838,1916,1925,2040,1966,1706,1643,1544,1150,1431,1984,1920,1884,1876,1957,1853,1672,1722,2110,2742,2059,1889,1671,2458,3286,2997,2365,1800,1832,1776,1820,2204,2733,2764,2410,2147,1880,1808,1977,2511,2942,2814,2762,3076,3137,3260,2879,2754,2831,3409,3561,3121,2467,2410,2978,3540,3670,3415,3518,3392,3250,2787,2349,2214,1966,2303,2887,3130,2867,2408,2200,2270,2129,2352,2546,2680,1766,1836,2536,2778,2967,3217,2644,2337,2576,2788,2398,1940,1914,2072,2046,2021,2581,3028,3252,3307,2700,2075,1938,2197,2717,2410,3378,3908,4149,4102,4176,4328,4161,3834,3608,3572,3706,3740,3775,3777,3708,3504,3320,3460,3647,3646,3283,2574],[2294,2035,2272,2497,2454,2308,2256,2392,2430,2655,2745,2468,2329,2378,2268,2061,2039,2025,1948,1860,1748,2036,2032,1931,2223,2313,2666,2275,2466,3375,2908,2601,2391,2137,2122,2254,2302,2332,2501,2541,2541,2585,2552,2608,2413,2117,2134,2174,2360,1976,1964,2117,2103,2076,1935,2073,1965,1671,1813,1924,2123,1785,1407,1697,2436,2680,2515,2321,2706,3023,3254,2662,2193,1559,1314,1621,2320,3075,3603,3009,2700,2785,2066,1793,2347,2566,2426,2055,1869,1569,2226,2899,2623,2358,2642,3156,2742,2369,2272,2519,2966,2699,2569,2343,2360,2494,2710,3120,3303,3377,3188,2805,2811,2862,2907,2536,2442,1880,2409,2610,2594,2510,2778,3344,3129,2533,2722,2790,2676,2330,2235,2610,2717,2426,2112,1825,1537,2250,3156,3243,3704,3942,3758,3377,3759,3695,3605,3339,3378,3122,2806,2766,2702,2366,2502,3065,3342,3326,3408,3414,3099,2987,2806,2394,2193,2115,2229,2079,1850,1841,2101,2340,2264,1969,2101,2082,1663,1437,1821,2104,1730,1448,1663,1583,1966,2336,2337,2240,2279,2218,2300,2187,2623,3642,3957,3670,3259,3263,3107,2288,2831,3407,3893,3602,3627,2827,2420,2831,3240,3442,3099,2441,2392,1992,2562,2812,2508,2669,2811,3057,3275,3430,3352,3166,3145,3146,3208,3369,3761,3941,3730,3484,3375,3566,3624,3870,3818,3287,2658,2566,2745,3181,3676,2886,2481,2291,1942,2633,3219,3378,3604,3772,4024,3924,3851,3805,3748,3925,3680,3018,2378,2375,2578,2694,2983,3440,3737,3857,3889,4107,4321,4150,3903,3626,3715,3846,3973,3814,3854,3924,3549,3649,3666,3482,3603,3153,3066,3068,2874,3048,3374,3480,3063,2834,2700,2441,2313,2113,2465,2325,2486,2233,2367,1983,1652,1705,1742,2067,2434,3027,3293,2185,1666,2568,2751,2464,2531,2957,2648,2231,2250,2137,2145,2058,2249,2563,1906,2469,3210,2490,2156,1846,1710,1959,1988,1923,2644,3195,1900,1232,2397,2542,2020,2631,2428,2024,1918,1931,2082,2164,1960,1791,1764,1877,1821,1936,1559,1469,1665,1716,1734,1648,1628,1619,2126,3045,2799,1997,2145,2069,2304,3105,2961,3129,3188,3012,3332,3077,2740,2492,2314,2222,2306,2269,2458,2779,2684,2741,3208,3075,2445,2632,2784,2175,1958,1991,2358,2151,1866,2122,2658,2740,2728,2066,1566,1826,2170,2631,3276,3490,3294,3749,4087,3908,2809,1910,2197,2855,2690,2865,2830,2468,2522,2091,1681,1835,2138,2534,2854,2935,2590,1896,1972,2541,2931,2675,2321,2589,2820,2809,2420,2272,2247,2702,2498,1947,2134,2092,2059,2748,3769,4177,3681,3339,3376,3485,4056,4093,3308,2788,2521,2400,2171,2131,2381,2609,2646,2592,2612,2266,2248,2257,2191,2641,2902,2242,1769,1789,1751,2000,2266,1976,2024,1913,2364,3338,2578,1980,1946,1731,1764,2036,2412,2155,1892,1937,1715,2015,2408,1988,1793,1716,1712,1931,2464,2614,2348,2116,1924,1864,1816,2045,2052,1592,1727,2128,1777,1573,1937,1688,1516,1654,1694,1598,1590,1532,1759,1880,1751,1541,1774,1505,1704,1964,1726,1925,2176,2244,3003,2961,2311,2203,1665,1533,1518,1625,1642,1558,1470,1416,1399,1546,1773,1671,1784,1801,1606,1788,2006,2106,2244,1924,1807,1842,1854,1888,1802,1851,1627,1668,1640,1758,1897,2036,1874,1812,2225,2468,2864,2853,2498,2584,2070,2285,2385,2423,2500,1791,1361,1472,1596,1654,1581,1548,1708,1661,1739,1948,2212,1846,1692,2334,2683,2575,2046,1649,1684,1404,1283,1417,2266,2767,1677,1594,1881,2107,1725,1206,1488,1870,2014,2024,2124,2292,1754,1458,1604,1644,1581,1998,2249,2366,2576,2157,1852,1967,2182,2220,2305,2554,2580,2033,1921,2477,3239,3706,3774,4383,4676,4320,3731,2438,2764,3153,3276,3097,3714,3758,3818,4082,4196,4140,3796,3255,2770,2603,3282,3683,3265,3326,3228,2938,2714,2647,2713,2577,2546,2554,2489,2634,2950,2375,2155,2652,2923,3050,3133,3206,3121,3026,3199,3320,3388,3642,3662,3570,3320,3187,2986,2263,1815,1725,1769,1831,1864,2030,2811,3385,3362,2868,2142,1492,2093,2863,3023,2220,1656,2034,2052,1809,1632,1434,1506,1812,1698,1797,1903,1626,1769,1759,1829,1782,1451,1910,2484,1826,1930,2073,1918,2395,2437,1604,1471,2692,2732,1929,1552,1306,1846,2482,2132,1847,1910,1955,2176,2406,2002,2152,2629,2640,2577,2693,2181,1607,1563,1958,2619,3133,2743,1858,1671,1361,1265,1515,1924,2249,2261,2024,2270,2017,2013,2247,1991,1978,2194,2576,2589,2347,2398,2213,2323,3066,2913,2565,2815,2692,2017,2311,2226,1998,1919,1720,2105,2570,2569,2047,1664,1826,2360,2316,2028,2894,2994,2177,1738,1779,1875,1729,1798,2016,2060,2381,2490,2315,2819,3154,3284,3203,2800,2250,1929,2140,2256,1718,1528,1859,2734,2930,2321,1663,2208,2355,2476,2517,2309,2109,2652,2798,2450,1949,1584,1405,1534,1714,1654,1455,1971,2149,2558,2291,2115,2201,1759,1738,1943,1632,1414,1431,1732,1749,1907,1858,2117,2241,1758,1946,2519,2632,2807,2621,2332,2051,2350,2416,1870,1769,1836,1610,2018,2448,2454,2364,2138,1852,1854,1780,1685,2104,2004,1763,1823,2111,1915,1743,1879,1924,1952,1909,1917,1937,1654,1817,1796,1665,2549,3420,2876,1942,1484,1407,1471,1547,1660,1787,1893,1919,1815,2044,2470,2294,2128,2789,3674,3111,1850,1946,2133,2138,2283,1958,2402,2957,2746,1746,1953,2142,1770,2242,2986,3357,3408,3530,3646,3662,3459,3348,3498,3125,2785,2735,2431,2040,2109,2450,2598,2363,2060,1885,2007,3231,3242,2055,1819,2170,2154,1672,1460,1478,1550,1878,2057,2504,2433,2025,1627,1769,1814,1832,1806,1711,1816,1904,1964,1915,1734,1544,1660,1832,1952,2087,2331,2366,1920,1932,2188,1989,1868,1814,1794,2343,2235,3000,3805,4072,4277,4299,4464,4424,4084,3803,3281,3495,4007,3873,4009,3762,3749,3609,2675,2169,2105,2072,2314,2753,3449,4049,3344,3019,4042,4585,3508,3933,4573,4643,4781,4436,4189,3805,2394,1990,1482,1381,1419,1792,2090,2731,3431,3594,3332,2602,2824,3594,3355,2829,2511,2361,2996,3704,3421,3393,3747,3793,3777,3646,3339,3285,3439,3609,3691,3892,4101,3780,3610,3792,3858,3868,3880,4000,4092,3968,4147,4150,4256,4268,4388,4151,4184,4167,4453,4793,4893,4733,4568,4621,4320,4263,4253,3891,4040,4229,4376,4661,4380,4337,4362,4116,4112,4175,4147,4124,3809,3510,3675,3731,4042,4306,4431,4511,4452,4435,4545,4437,4497,4677,4420,4108,4152,4026,3927,3618,3441,3364,3666,4082,3951,3351,3052,3388,3922,3940,3935,4040,4040,3862,3886,3549,2819,2346,2707,3312,3054,2896,3068,3107,2956,3242,3320,3020,2703,2690,2978,3009,2814,2798,2801,2909,2729,2623,2900,2648,2368,2446,2468,2200,1834,2109,2333,2086,1951,1876,2069,2576,2115,1684,1581,1655,1850,1848,1381,1567,1861,1724,1918,1843,1584,1546,1726,2244,1682,1726,2034,2403,2596,2534,2215,2134,2568,2940,2599,2521,2267,2136,1724,1774,1999,1905,1772,2169,2883,3266,3265,3510,3743,3699,3100,3044,3255,3370,3325,3150,2834,2392,2110,2004,2291,3175,3078,2576,2374,2434,2564,3104,3444,3231,3053,3120,3333,3510,3260,3151,3562,3720,3720,3907,4156,4057,3654,3517,3468,3310,3140,2998,2821,2677,2574,2420,2197,2038,1810,1736,1773,1844,1896,2015,2221,2358,2558,2770,3083,3403,3694,4047,3897,3507,3736,3646,3516,3572,3374,3173,3242,3178,2670,2057,2461,2975,2788,3207,3438,3561,4164,4297,3859,3571,3176,2784,2670,3480,2913,2810,3395,3327,3819,4062,4240,4227,3781,3844,4312,4080,3882,3957,3615,2742,2666,2931,3625,3705,3779,3898,3851,4058,4163,4239,3958,3664,3536,3024,2712,2197,1952,1884,1826,1907,1912,2037,2262,2409,2342,2531,2813,2835,2564,2950,2688,2284,2286,2430,2402,2060,1850,1822,2013,1852,1762,1695,1568,1769,2302,2700,2534,2110,1636,1763,1929,1937,2149,2501,1990,2496,2192,1243,1456,2480,3604,3618,2682,2628,3033,3283,3420,3457,3686,3750,3251,2963,2767,2269,1862,1839,1820,1552,1493,1712,2016,2001,2003,2399,2304,1919,3038,3152,2646,2541,3100,3239,2360,1868,2065,2274,2755,2471,2586,2519,2532,2677,2599,2841,3018,2977,3040,3007,2574,1719,1612,2375,2922,2088,1742,1541,1736,1803,1706,1735,1470,1859,2280,1963,1722,2485,2471,2679,2283,1806,1611,1954,2311,2040,1689,1703,1582,1498,1775,2029,2428,2071,1919,1749,1534,1490,1542,1531,1500,1953,2630,2864,2644,1893,1990,2835,2967,2282,2027,2662,3210,3299,3399,3310,2556,2200,2474,2623,2553,2432,2217,2055,2348,2820,3101,3438,3504,3176,3071,3006,2642,1978,2890,2744,2169,1771,1814,2005,2199,2288,2171,2178,2552,2874,2314,2243,2055,2442,3335,3617,3219,2767,2915,3285,3119,2692,2316,2058,2003,2301,3038,3665,2823,2368,2705,2606,2566,2448,2135,1993,1762,2028,3042,2892,2325,2680,2656,2943,3010,2886,2663,2402,2391,2546,2520,2487,2149,1711,2520,2759,2610,2742,2188,1817,1723,1673,1998,2307,1952,1600,1561,1611,1785,2006,1967,1967,2208,2210,1958,1755,1238,1035,1731,2000,1929,2025,1793,1857,1994,1960,2239,2808,2736,2212,2063,2028,2877,3381,3068,2355,1743,1644,1692,1686,2105,2645,2863,2941,2809,2639,2300,2203,2528,2813,2584,2712,3085,2971,3396,3466,3041,2384,2818,3076,2852,2313,1995,2784,3574,3501,3318,3285,3291,3123,2378,2491,2922,2890,3198,3298,2708,2117,2307,1955,1799,1916,1920,2176,2430,1900,2051,2851,2977,3067,2978,2621,3094,3097,2788,2722,2341,2158,2175,2272,2549,2874,2979,3045,2940,2842,2623,2133,2282,2395,2695,3219,3745,4002,4016,3882,3760,3853,3875,3582,3570,3662,3476,3610,3683,3237,3123,3167,3064,3430,3660,3427,3262],[2335,2285,2306,2522,2339,2176,2444,2412,2274,2833,2669,2583,2314,1962,1583,1907,1922,1780,1985,1837,1860,2535,2686,2160,2478,1856,2483,2640,2675,3151,2503,2444,2491,2335,2400,2541,2624,2618,2710,2683,2647,2815,2769,2923,2524,2031,1993,1974,1883,1963,2252,2206,2163,2287,2051,1882,1969,1823,1765,2029,2482,2140,1348,1743,2309,2591,2658,2789,2906,2840,2601,1975,1991,1935,1953,2177,2393,2800,3311,3021,2836,2455,1958,1805,2330,2860,2320,1817,1792,1539,1765,1808,1594,2058,2727,3300,2568,2181,2348,2791,2878,2632,2363,2250,2452,2416,2662,3040,3232,3320,3399,3241,2812,2845,3040,2612,2566,2192,2240,2562,2258,2053,2666,3038,2840,2867,2752,2842,3027,2730,2797,2963,2922,2528,1920,1848,1999,2449,3240,3283,3722,3928,3518,3400,3812,3764,3646,3742,3860,3769,3344,2962,2763,2249,2353,3335,3438,3426,3376,3107,2885,2740,2369,2256,2318,2572,2833,2714,2223,2046,2194,2929,3356,2572,2302,2341,1844,1727,2075,1720,1229,1301,1776,2120,2410,2536,2513,2513,2527,2498,2426,2276,2646,3362,3739,3786,3206,3049,2741,2482,3242,3682,3609,3686,3658,3180,3178,3243,3340,3439,3379,2940,2742,2232,2199,2364,2463,2523,2801,3021,2989,3015,3052,3307,3241,3287,3317,3254,3459,3930,3796,3450,3302,3464,3673,3348,3060,2652,2212,2063,2065,2432,3024,3388,3282,3103,2898,2789,2688,2721,2931,3651,3956,3893,3876,3601,3452,3704,3697,3162,2851,2890,2941,3060,3321,3535,3728,3924,4120,4228,3974,3669,3530,3494,3566,3637,3771,3601,3684,4032,3916,3672,3533,3603,3266,2709,2967,3079,2908,2975,3441,3378,3102,3294,3029,2843,2702,2644,2341,2418,2968,2810,2470,1691,1284,1200,1448,1583,1351,2078,3019,2085,1321,2235,2763,2322,2352,2657,2291,2103,2519,2586,1943,1808,2328,2968,2715,2822,3419,3100,1688,1145,1593,1793,1801,1620,1845,2436,1787,1805,3172,2496,2121,2264,2448,2280,1996,2226,2429,2137,1843,2475,2632,2324,1671,1759,1604,1646,1531,1654,1756,1765,1902,1868,2475,2357,1927,1707,2006,2003,2808,3680,3681,3499,3318,3020,2909,3242,3252,2979,2110,1853,2058,2696,2735,2458,2349,2438,2500,2242,2043,2062,1751,2015,2399,1869,2089,2017,1600,1907,2080,2070,2046,1798,1629,1519,1893,2695,2886,2563,2702,3661,3653,3197,2807,2524,2977,3123,2369,2194,2676,3064,2749,2385,2209,2513,2810,2923,3382,3421,2740,2503,2455,2596,2891,2796,2613,2663,2998,3153,2878,2363,1978,2394,2078,1947,2254,2255,2122,2148,2819,3745,3510,3202,3531,4124,4668,4026,3122,2211,2112,2726,2524,2138,1939,2216,2186,2353,2047,1720,1992,1805,1819,1951,2263,2080,1803,2044,2318,2701,2654,2114,2003,2100,2720,3160,2420,2224,2121,1862,1946,2223,2342,2137,2284,1622,1648,2381,3048,2336,1644,1722,1960,2248,2476,2575,2454,2231,2160,1983,1869,1837,1657,1518,1814,1938,1602,1670,1726,1974,2657,1959,1904,1752,1498,1590,2061,1961,1565,1427,1579,1713,1807,1841,2134,2465,2443,2642,3120,2790,2215,1864,1448,1340,1416,1512,1550,1562,1377,1521,1818,1962,2130,2422,2170,2208,1726,1759,2288,2204,1658,1649,1843,1935,2311,2523,2073,1788,1478,1632,1519,1554,1953,2120,2039,2264,2341,2316,2693,2671,2249,2296,2219,2305,2401,2266,1655,1434,1671,1542,1429,1514,1701,1592,1542,1726,1512,1588,2055,2186,2209,2428,2583,2786,2323,1961,2047,1691,1462,1539,1933,1894,1343,1463,1793,2079,2006,1852,1562,1951,2549,2646,2300,1820,1686,2104,1987,1549,1594,2673,3207,3078,2754,1991,1849,2066,1952,1889,1988,2254,2354,2025,2150,2254,2618,3440,3776,4204,4164,3992,3973,3005,3277,3618,3497,3305,3835,3867,3476,3789,4107,4156,3750,3017,2279,2906,3728,3839,3337,3093,3055,2971,2778,2566,2587,2665,2579,2647,2796,2920,3012,2842,2786,3023,3069,3074,3056,3190,3271,3122,3187,3123,3076,3257,3256,3194,3161,3165,3165,3085,2765,2511,2335,2069,1917,1967,2651,3474,3562,3353,2967,2295,2250,2713,2976,2349,1833,2007,2282,2130,1624,1906,2750,2437,1736,1656,1625,1694,2231,2162,1732,2008,1882,1880,1911,1720,1895,2181,2455,2896,2377,1662,1949,2655,2329,1749,1649,1587,1992,2209,2398,1925,2043,2737,2811,2345,2135,2219,2257,2162,2550,2592,1565,1641,1692,2152,3208,3467,3192,2308,1309,1078,1305,1565,1740,1949,2236,2389,2771,1807,1599,1746,1653,1864,2438,2998,2719,2697,2907,2108,2136,2957,2792,2413,2356,2233,2044,2541,2018,1978,2273,1910,2239,2194,1829,1698,1681,1698,1650,1570,1587,2100,2041,1872,2072,2172,2059,1890,1676,1873,1970,2121,2340,2108,2690,3082,3400,3598,3187,2450,1786,1709,2018,1666,1675,2054,2829,2905,2470,1608,1923,2662,2564,2517,2467,2208,2371,2381,2170,2186,2100,1880,1678,1377,1369,1515,1883,2232,2270,2410,2589,2320,2001,1887,1810,1640,1155,1554,2065,2080,2125,1833,2086,2644,1996,1642,2281,2498,2815,2369,2233,2012,2198,2489,2144,1825,1650,1530,2099,2512,2719,2479,2296,2100,1881,1830,1917,2208,2314,2007,1839,1735,1770,1904,2078,1992,1826,1795,2290,2254,1888,1875,2041,2028,2258,2523,2338,1965,1657,1455,1502,1581,1680,2024,2149,1963,1998,2371,2329,1950,2231,2700,3497,3026,2150,1559,1467,1700,1505,1254,1613,2049,1974,1892,2032,1904,1698,1879,2392,3105,2898,3204,3554,3671,3661,3440,3362,3262,2846,2453,2177,2225,3020,3035,3307,3231,2735,2468,2508,3431,3571,2811,2356,2188,1970,1834,1725,1640,1600,1527,2006,2618,2386,2060,2143,1926,1621,1805,1899,1966,2445,2017,1725,1654,1682,1967,2099,1842,1722,1735,1985,2104,2002,2064,2110,2076,2158,1865,1851,2264,2281,3034,3708,4040,4344,4200,4468,4603,3988,3566,3088,3230,3818,3646,3662,3631,3663,3418,2785,2371,2141,1986,1688,2092,3481,3925,2731,2640,3943,4496,4212,4516,4529,4270,4560,4311,3748,3064,2434,2171,1522,1243,1257,1543,2014,2429,3130,3837,3408,2511,2433,2644,2964,3177,3107,3061,3274,3582,3250,3118,3652,3625,3710,3627,3340,3270,3481,3772,3796,3894,3896,3654,3841,4113,4123,4163,4089,3734,3860,3925,4608,4885,4985,4857,4798,4475,4363,4379,4363,4165,4604,4813,4616,4600,4453,4384,4184,3731,3559,3514,3705,4067,4156,4253,4334,4338,4146,3970,4012,4058,4053,4086,4124,3645,3869,4453,4557,4496,4365,4326,4347,4400,4293,4508,4340,4116,4072,4115,4082,3712,3413,3417,3652,4042,3958,3430,3404,3441,3758,3822,3974,4050,4024,3963,3775,3042,2492,2831,3121,2997,2667,2696,2907,3220,3371,3504,3154,2756,2686,2784,2800,2851,2667,2557,2434,2735,2767,2736,2834,2708,2530,2540,2541,2234,1875,2351,2088,1851,1826,1786,1905,2343,2323,1885,1795,1721,1853,1880,1664,1834,1662,1672,2207,2129,1748,2246,2383,2252,2184,2187,2291,2789,3115,2696,2029,2331,2636,2609,2275,2038,2084,2968,3128,2613,2397,2300,2178,2154,2368,2697,2928,3053,3232,3325,3074,2843,2823,2962,3000,2880,2805,2684,2341,2040,2236,2671,2796,2524,2332,2336,2824,3342,3160,2734,2755,2996,3204,3097,3076,3299,3354,3439,3679,3841,3796,3319,2808,2541,2441,2317,2227,2149,1979,1902,1790,1741,1747,1941,2164,2288,2380,2481,2648,2998,3671,4058,4317,4101,3884,3680,3453,3486,3226,3018,3128,2729,2351,2797,3165,3386,3894,3652,3012,2207,2428,3078,3050,2924,2822,2831,3552,4165,3946,3597,3044,2480,2629,3205,3206,3475,3802,4030,4120,4047,4195,4151,4124,4276,4340,3825,3696,3812,3395,2574,2383,2831,3453,3453,3772,3785,4047,4183,4132,4196,4201,4034,3940,3916,3850,3671,3245,2654,2297,2024,1860,1864,1971,2151,2282,2510,2667,2848,2711,2946,2696,2215,2161,2230,1952,1709,1975,1988,1990,1844,1885,1659,1590,1576,1863,2270,2272,1848,1721,2130,2835,2827,2867,2404,2509,2898,2546,1987,1703,2028,2924,2787,2413,2629,2979,3586,3573,3496,3913,3934,3799,2962,2094,2102,1866,1680,1745,1521,1531,1581,1896,1886,2264,2563,2553,2106,3130,3471,2632,2617,2545,2385,2292,2256,2012,2268,2763,2872,2836,2764,2599,2714,2701,2553,3000,3272,3100,2997,2135,1787,1727,1860,2604,2217,1541,1380,1502,1587,1835,1777,1628,1881,1547,1876,2360,2257,2185,2157,1805,1755,1959,2054,1923,1661,1780,1843,1619,1740,1672,1700,1838,1769,1783,1735,1478,1336,1590,1663,1909,2166,2637,3174,2394,1897,2354,2680,2645,2467,2598,2896,3111,3134,3550,3850,2781,2216,1965,1781,1989,2447,2802,3082,2468,2093,2569,3089,3108,2452,2932,2884,2952,2945,3426,2984,2254,1825,1689,1702,2062,1968,2165,3217,3737,3803,2670,2219,2002,2429,3102,3082,2766,2541,2897,3523,2857,2504,2721,2663,2241,2481,2843,3109,2861,2852,3145,2975,2720,2207,1919,2392,2427,2153,2802,2752,2388,2679,2542,2316,1968,1816,1725,1893,2325,2630,2532,2916,2797,2121,2746,2777,2526,2644,2343,1775,1655,1781,2213,2251,1915,1618,1565,1714,1871,2054,2010,1984,2348,2149,1410,1227,1105,1635,2260,2531,2102,2048,1999,2185,2051,1932,2211,2662,2730,2886,2931,2579,2736,2835,2814,2403,2115,1980,1882,1964,2209,2247,2339,2785,3219,3213,2577,2547,2118,2356,2459,2797,3541,3955,4018,3406,2516,2470,2756,2634,2762,2692,2360,2454,2932,3074,2905,2683,2723,2585,2194,2349,2690,2956,3360,3297,2613,1980,2051,2104,2163,1893,1802,2076,2555,2622,2749,2995,2718,2685,3165,3073,3150,3027,2653,2918,2952,2480,2197,2539,2958,3016,2743,2296,1899,2020,2819,2699,2626,2583,2722,3211,3465,3408,3574,3491,3279,3408,3698,3604,3587,3561,3520,3553,3365,2881,3103,3375,3216,3365,3530,3382,3432],[1744,1676,1995,2262,2295,2611,2698,2490,2523,2873,2594,2444,2497,1993,1797,2265,2411,2377,2381,2232,2139,2414,2632,2233,2254,2060,2400,2632,2729,2762,2855,2997,2708,2654,2900,2820,2697,2684,2813,3043,3106,3154,2896,2973,2524,1785,1964,2423,2316,2308,2715,2770,2722,2569,2118,1917,2109,2023,1826,1988,2722,2676,1887,2121,2386,2467,2712,2876,2668,2758,2692,2205,2332,2501,2497,2370,1702,1779,2728,3055,2510,1763,1953,2181,2454,3208,2563,1757,2007,2170,2248,1896,1110,2010,2820,3426,3040,2492,2634,2910,2588,2030,1899,2377,2597,2347,2414,2750,2928,3190,3834,3760,3116,2902,2621,2243,2028,1957,2523,2720,2198,2221,2778,2999,3120,3182,2962,3038,3096,3052,2968,2878,2778,2375,1852,1993,2078,2670,3211,3461,3838,3871,3312,3486,3930,3883,3765,3749,3814,3775,3548,3392,3140,2663,2810,3213,3232,3281,3145,2839,2821,2664,2664,2066,1976,2810,2924,2533,2083,2299,2713,3056,3189,2849,2500,2503,1981,1357,1374,1227,1492,1923,2290,2463,2484,2369,2374,2536,2588,2584,2618,2565,2566,2829,3225,3283,2733,3023,2949,2959,2840,2680,2970,3509,3813,4086,3802,3707,3795,3505,3523,3149,3090,2930,2282,2248,2590,2705,2920,2879,2974,3044,2861,3394,3905,3839,3803,3581,3525,3802,3862,3708,3418,3416,3218,2290,2105,1995,2162,2359,2302,2121,2700,2929,2910,3316,3305,2863,2724,2643,2282,2602,3354,3616,3531,3540,3697,3791,3573,3217,3084,3260,3304,3496,3570,3553,3638,3973,4119,4220,3862,3575,3436,3609,3731,3730,4006,3936,3727,3962,3983,3803,3791,3836,2956,2722,3052,3097,2878,3002,3356,2980,2785,3145,3452,3218,3009,2796,2525,2592,3033,3210,2529,2021,1968,1725,1997,2462,1807,1489,2819,2709,2460,2964,2842,2265,1789,1800,1893,2040,2148,2276,1668,1963,2706,2979,3310,3294,3291,2911,2002,1808,2424,2455,2125,1417,1419,1790,2114,2437,2788,2495,2248,2113,2541,2564,2285,2788,2588,1847,1816,2566,2177,1760,1591,1827,1846,1786,1568,1660,1778,1995,2286,2226,2535,1598,1542,1708,1958,2216,3056,3647,3514,3284,3046,2958,3044,3309,3221,3060,2320,1953,2065,2976,2767,2147,1986,1772,1738,1758,1808,1431,1860,2098,2270,2149,2115,2086,1722,1578,1613,1727,1787,1362,1418,1545,1906,3164,3310,2584,2959,3746,3523,3317,3594,3621,3236,2457,2292,1777,2054,2548,2314,2576,2832,2701,2093,1964,2850,2847,2078,2229,2440,2458,2186,2193,2579,2874,3078,2959,2862,2013,1838,2088,1924,1959,2315,2537,2298,2119,2408,2765,3020,3031,3816,4360,4364,3872,3444,2534,2250,3189,3378,2511,1700,1921,1599,1953,1772,1537,1619,1635,1701,1737,2123,2331,1868,2127,3122,2654,2244,2280,1962,1882,1989,2008,1890,1977,1981,1880,1807,1885,2144,2237,2297,1834,1822,2107,2494,2212,2058,2024,2181,2427,1864,2154,2432,2392,2382,2208,2090,1940,1676,1635,1589,1523,1614,1800,1549,1928,2405,1816,1670,1975,1784,1814,1934,1671,1647,1824,1991,2096,1961,1611,1870,2043,2260,2846,2998,2862,2430,1863,1719,1704,1487,1586,2078,1918,1632,1808,2438,2191,2236,2345,2260,2263,1979,1822,2159,2122,1534,1648,1774,1963,2554,2777,2022,1666,1750,1774,1520,1445,1691,1764,1855,1811,2041,2415,2454,1811,1524,2288,2119,2040,2334,2268,1801,1736,1834,1487,1402,1843,2040,1730,2123,1888,1432,1465,1701,1866,2285,2524,2788,3189,2690,2018,1964,2358,2280,1929,1940,1686,1563,1610,1688,1763,1786,1779,1792,2243,2873,3137,2571,1681,1577,1742,1939,1959,2130,2878,3145,3078,2947,2383,2435,2157,1837,1978,2200,2104,2239,2538,2549,2487,3206,4042,3836,3544,3204,3011,2817,2688,3191,3492,3708,3676,3712,4041,4124,3949,4007,4204,3333,2687,2946,3626,3474,3514,3588,3451,3139,2741,2789,2764,2787,2808,2679,2751,2899,2974,2988,2876,3074,3264,3106,2953,3150,3174,3028,3264,3206,3031,3120,3097,3028,3254,3328,3292,3382,3283,3216,3186,2902,2267,1862,1922,2696,3304,3473,3579,3451,3027,2242,2031,2619,2911,3083,3014,2212,2164,1979,2023,2382,2055,1648,1578,1672,1881,2387,2388,1996,2321,2051,1857,2232,2681,2288,2459,2733,2540,2076,1937,2024,2390,2012,1865,1952,1778,1528,1863,2547,2247,2112,2540,2453,2130,2179,2211,2220,2400,2719,2508,1526,1505,1848,2177,2292,2061,2622,2384,1442,1454,1572,1776,1924,1665,2038,2969,3068,2010,1986,2304,2260,2176,2689,3231,2746,2674,2576,1819,2312,2980,2775,2418,2205,2086,2397,2944,2355,2168,2322,1980,2297,1979,1562,1942,2062,1848,1614,1637,1716,1513,1552,1870,2197,2028,1606,1512,1650,1764,1719,1642,2558,2690,2600,3060,3278,3234,3022,2353,1562,1565,2255,2278,2502,2734,2816,2635,2225,1444,1697,2275,2445,2677,2714,2088,1864,1711,1468,1449,1311,1397,1544,1494,1462,1448,1833,2048,2061,2288,2338,1873,2257,1956,1999,2222,1988,2216,2500,2263,1868,1755,1784,1832,1534,1565,2286,2577,2595,2287,2257,2191,2224,2383,2197,1729,1520,1692,2361,2596,2718,2565,2624,2066,2232,2492,2070,2398,2438,2002,1923,2053,2498,2382,2088,1760,1820,1960,2490,2309,1864,1940,2208,2311,2222,1963,1654,1927,1852,1459,1672,1622,1577,1665,1842,1859,1864,2427,2614,2355,2744,3041,3628,3098,2280,1687,1813,2008,1738,1531,1764,1843,2269,2471,2316,2337,2486,2259,1957,2718,2514,2591,3127,3513,3387,3164,2690,2521,2810,2610,2258,2949,3908,3657,3963,4040,3750,3328,3024,2801,3186,3385,3110,2473,2299,2118,2179,2014,1742,1559,1657,1790,1971,1896,1776,1621,1648,2087,2305,2980,3498,2569,1968,1880,2018,2775,2832,2001,1674,1762,1954,2055,1924,1972,2020,2057,2036,2253,2381,2157,2234,2845,3685,4040,4164,3783,4082,4375,4151,3804,3416,3509,3790,3632,3528,3739,3786,3487,3178,2547,2127,2057,1629,2457,3353,3536,2754,2462,3028,3350,3562,4336,4312,4076,4368,3942,2512,1840,2242,2323,1682,1285,1202,1722,2684,2650,2679,3526,3340,2661,2270,2817,3593,3952,3394,3305,3350,3454,3507,3021,3322,3452,3857,3934,3688,3657,3719,3838,3992,4064,3764,3544,3929,4300,4331,4307,4336,3956,3958,4130,4615,4836,4780,4723,4603,4499,4620,4752,4697,4111,4320,4637,4664,4648,4540,4452,4264,4127,4038,3857,3952,4111,4322,4244,4293,4276,4100,3951,3813,3851,3880,4053,4204,4002,3809,4365,4529,4512,4419,4435,4423,4540,4107,4075,4228,4047,3802,4015,4236,4030,3716,3605,3619,3984,4200,4002,3782,3597,3858,4224,4104,3960,4024,3871,3185,2365,2600,3505,3082,2976,2864,2648,2776,3147,3486,3312,2768,2697,2810,2801,3008,3178,2900,2456,2471,2720,2730,2776,2833,2790,2613,2401,2440,2338,1724,2424,2248,2009,1723,1642,1712,1865,1997,2439,2713,2108,1900,1968,1765,1741,1366,1278,2012,2184,1892,2520,2932,2813,2800,2444,2512,3182,3274,2467,2279,2460,2636,2200,1884,1782,1948,2866,3520,3149,2824,3074,3350,3168,2850,2832,3281,3585,3535,3362,2985,2793,2874,2979,2918,2823,2958,3327,2908,2343,2353,2466,2468,2257,2217,2352,2561,2698,2633,2640,2905,3094,3206,2940,3104,3096,2864,2775,2679,2455,2241,2092,1996,1899,1830,1904,1968,1880,1954,2198,2496,2853,3124,3335,3296,3171,3135,3163,3288,3558,3869,3615,3312,3007,2835,2557,2722,2992,2941,2974,2853,2664,2656,2921,3216,3432,3547,3559,3486,2795,2761,3127,3218,3260,3086,3060,3717,4039,3624,3163,2774,2858,3418,3661,3652,3718,4031,4371,4079,3926,4227,4262,4384,4004,3927,3650,3643,3719,3395,2765,2491,3099,2832,2398,3626,3816,4216,4488,4152,4084,3859,3459,3528,3581,3739,3959,3930,3654,3263,2976,2610,2163,1959,1851,1964,2132,2244,2341,2746,3008,2630,2199,2330,2597,2230,1748,2083,2167,2020,2079,2002,1787,1908,1914,1848,1847,1867,1807,2072,2403,3100,3223,3144,2622,2566,2790,2784,2665,2417,2303,2608,2430,2618,2651,3050,3393,3190,3061,3061,2767,2543,1971,1815,1908,1801,1961,1838,1693,1741,1833,1902,2028,2863,3173,2744,2407,3196,3142,2353,2790,2658,2108,2415,2397,1957,2003,2376,3073,3162,2810,2706,2945,3285,2917,2887,3204,3021,2968,2014,1701,1826,1797,1711,1603,1456,1389,1502,1841,1878,1912,1756,1781,1633,2402,3310,3205,2924,2415,1842,1677,1918,1952,1781,1629,1736,1750,1894,1956,1889,1963,1870,1784,1716,1574,1463,1692,1854,1506,1927,2058,1916,2340,1842,1538,2056,2361,1931,2050,2486,2474,2531,2565,3474,3543,2839,2384,1875,1782,2424,2339,2472,2941,2588,2653,2710,3176,3450,2998,3177,2418,2428,2824,3344,3648,2632,1859,2042,1908,2354,1975,1712,3096,3551,3394,2674,2323,1905,1974,2336,2540,2722,2308,2328,3142,2254,2298,3516,3572,3006,3056,2547,2786,2688,1859,2046,3282,3946,3051,2059,2730,2658,2270,1996,1896,1892,2028,1946,1858,1868,1632,1644,1924,2310,2217,2510,2958,2644,2567,2817,2855,2608,2579,2430,1750,1621,1763,2074,1848,1631,1657,1599,1882,1958,1994,1924,1910,2000,1559,1446,1636,1665,2159,2275,2347,2106,1625,1924,2108,1863,2042,2237,2358,2532,2555,2521,1985,2369,3090,2608,2385,2533,2796,3075,2845,2629,2325,2280,2530,3162,2898,2467,2470,1854,2307,2340,2648,3064,3132,3200,2979,2612,2658,2258,2028,1961,1767,1818,2312,2705,2757,2564,2299,2364,2709,2953,2956,2810,3053,3277,3413,2510,2367,2456,2801,2558,2011,1891,1967,2130,2801,3420,2862,2790,3088,3378,2876,2706,2465,2204,2452,2852,2654,1971,2039,2281,2272,2119,1892,1781,1766,2183,2463,2800,2690,2426,2728,2841,2851,3105,3327,3226,3404,3466,3485,3482,3409,3274,3417,3223,2974,3279,3259,3254,3459,3394,3421,3252],[1713,1761,2122,2460,2420,2543,2477,2678,2501,2399,2601,2589,2526,2292,2213,2400,2671,2658,2481,2398,2205,2412,2423,2506,2514,2205,2311,2828,3276,3372,3451,3250,2648,2599,3086,2884,2662,2562,2698,2706,2738,2790,2567,2825,2738,2092,2122,2437,2601,2534,2620,3152,3073,2665,2233,2040,1952,1668,1539,1921,2692,2746,2432,2472,2456,2485,2192,2242,2525,2721,2771,2955,3061,2510,2150,2019,1591,1780,2436,3100,2825,2085,2048,2548,2564,2778,2521,1870,2337,2788,2809,2403,1846,2433,2347,2596,2464,2148,2580,3427,3284,2997,3374,3153,2428,2284,2248,2496,2933,3265,3638,3326,2861,2684,2499,2454,2397,2630,2956,2643,1960,2119,2657,2943,3377,3007,2998,3177,3022,2933,2924,2933,2567,2547,2580,2786,2867,3310,3198,3497,3872,3579,3203,3749,4140,3984,3728,3656,3743,3691,3513,3559,3483,3282,2942,2647,2768,3372,2934,2385,2673,3055,3309,2482,1903,2484,2664,2670,2807,3123,3399,2832,2595,2872,2599,2085,1323,864,1358,1812,2264,2484,2547,2690,2611,2368,2440,2635,2578,2452,2655,2597,2595,3174,3433,3231,2835,2830,2829,2780,2686,2621,2867,3400,3575,3740,3227,3592,3906,3756,3860,3513,3105,3032,2407,2163,2771,3298,3227,3131,3234,3269,3249,3605,3937,3930,3510,2902,2812,3097,3435,3665,3527,3301,2428,1884,1866,1973,2260,2486,2566,2115,2231,2743,2760,3101,2988,2824,2787,2544,1888,2207,3190,3310,3138,3330,3758,3759,3586,3685,3580,3483,3566,3812,3697,3605,3647,3757,3898,3974,3863,3479,3241,3873,4091,3953,4197,3773,3289,3287,3750,4125,4214,3742,2907,3042,3406,3318,3190,3236,3039,2953,2809,3041,3159,3206,3343,3299,2920,2878,3105,2930,2118,2002,2056,2220,2604,3577,3406,2308,2639,3153,3087,3033,3506,3251,2332,2081,1992,1919,1792,1688,1696,2160,2874,3189,3466,3442,2967,2374,2051,2465,3011,2567,2119,1590,1844,2003,1985,2119,2238,2419,2131,2047,2563,2843,2647,2909,2495,1583,1661,2169,2352,2447,2404,2514,2651,2469,1896,2246,2279,2241,2078,1984,2087,1743,1499,1630,2072,2407,3198,3725,3500,3207,2912,2905,3290,3141,2735,2231,2283,2275,2380,2635,2246,1879,1838,1478,1536,2216,2076,1570,1910,2031,2593,2799,2411,2121,1888,1593,1614,1726,1528,1017,1290,1699,2165,2989,3413,3119,3293,3772,3765,3840,3884,3419,3153,2868,2921,2268,2246,1840,1907,2798,3046,2565,2237,1927,2051,2181,1727,1675,2419,2640,2047,2340,2714,2890,2861,2779,2801,2193,1649,1808,1882,1894,2709,2951,2477,2382,2428,2503,2513,2632,3363,3808,3609,3219,3090,2791,2563,3086,2978,1842,1579,1759,1770,1963,1823,1633,1603,1633,1605,1799,2008,1860,1730,2389,3025,2230,2098,2755,3060,2827,2300,1812,1588,1611,1730,1740,1790,2230,2135,1823,1811,1715,1780,1930,2132,2633,2666,1984,1969,2239,1676,1794,2374,2440,2361,2159,2164,2176,1943,1673,1535,1578,1761,1641,1481,1703,1824,1871,1648,1764,1774,1758,1799,1563,1535,1891,2287,2416,2164,1901,2178,2228,2137,2732,2604,2284,2248,1768,1769,2095,2078,2702,2944,2495,2389,1910,1866,1701,1606,1808,1873,1876,1906,1919,2155,2203,1908,1844,1894,2157,2270,2455,1982,1712,1757,1560,1396,1531,1914,1865,1894,1903,2298,2645,2574,1718,1565,1805,1809,2357,2754,2290,1780,1723,1653,1596,1637,1972,1755,2040,2301,1785,1522,1660,1698,1650,2069,2250,2292,2421,2379,1735,1765,2143,2070,1891,1953,1996,2026,1826,1708,1687,1620,1818,1932,2148,2836,3069,2267,1671,1870,2013,2150,2268,2619,2740,2924,2064,2217,2176,2110,2057,2135,2280,2237,1913,2200,2575,2823,3328,3985,3730,3133,3064,2624,2235,2325,2668,2844,2978,3683,3799,4084,4014,4158,4112,4171,4078,3772,3608,3663,3387,2907,2831,3108,3433,3320,3072,3043,3112,3053,2907,2857,2949,3031,3024,2854,2687,2743,2877,3099,3061,3231,3209,3098,3295,3078,3061,3249,3176,3152,3418,3398,3382,3320,3263,3311,3121,3152,2664,1974,2102,2922,3329,3719,3751,3443,3297,2806,2560,2965,3311,3088,2739,2048,2302,2905,2756,2093,1940,2340,2117,2105,2566,3061,2576,2589,2746,1901,1826,2634,2780,2502,2398,2642,2723,2237,2098,2030,2465,2155,2092,2308,2113,1414,1502,1910,2271,2514,2586,2273,2030,2111,2359,2686,2297,2210,2126,1763,1815,2138,2160,1531,1205,1553,1920,2009,2419,1937,1960,1790,1661,1643,1730,2253,2302,2256,2200,1894,1899,2523,2846,2699,2710,2190,1774,1864,2857,3100,2656,2580,2565,2764,2836,2460,2579,2007,1741,1972,1768,1869,2218,1863,1753,1671,1878,2133,1553,1794,2239,2122,1709,1686,1590,2256,2161,1780,1786,2570,2442,2037,2791,3374,3301,2976,2195,1778,1747,1969,2178,2557,2806,2985,3335,2733,1778,1522,1669,2540,2532,2135,1718,1624,1549,1579,1559,1634,1921,2188,2504,2321,1754,2069,1761,1868,1871,1954,2051,2413,2419,2492,2494,2330,2202,2065,1649,1358,1561,1701,1511,1649,1685,2076,2380,2565,2856,2667,2332,2472,2371,2146,1804,1962,2524,2433,2491,2234,2197,2655,2391,2352,2182,1910,2041,1702,1980,1964,2023,2313,2239,2065,1804,1834,1988,2143,1958,1652,2176,2613,2211,1685,1498,1544,1660,1776,1779,1940,1782,1701,1726,1630,1704,1704,1751,2720,2702,2854,3132,3383,2968,1947,1812,2098,2554,2498,1850,2023,1997,2563,2691,2609,2845,2976,2876,2740,2902,2568,2483,3295,3408,2507,2159,1831,2722,3526,3118,2635,3506,4120,4137,4233,4201,3859,3693,3654,2849,2822,3119,3100,2618,3206,3451,2956,2438,2020,1881,1826,1956,2122,2020,1798,1844,2222,2766,3284,3676,3768,3402,3026,2618,2470,3008,3097,2230,2060,2121,2024,1969,1648,1732,1932,2073,1968,2124,2125,2048,2275,2510,3408,4139,3863,3416,3962,4375,4274,3871,3282,3263,3527,3553,3720,3913,3698,3781,3872,3709,3208,2174,1661,2025,2074,2490,3400,3885,3750,3266,3146,3808,4168,4124,4277,4052,2451,1583,1990,2282,2004,1510,1647,2326,3278,3333,3220,3326,2661,2261,2590,3244,3885,3739,3255,3413,3735,4108,4048,3395,3381,3480,3977,4092,3867,3740,3740,3918,4084,4180,3898,3772,3861,4260,4428,4337,4244,4062,3990,4122,4461,4620,4696,4752,4532,4387,4392,4475,4584,4154,4257,4376,4404,4318,4291,4335,4333,4280,4231,4364,4408,4286,4584,4365,4363,4264,4113,3868,3893,3953,3813,3823,4101,4113,3286,4128,4441,4441,4341,4207,4244,4317,4049,4037,4078,3749,3664,3760,4169,4248,3695,3590,3672,4026,4244,4372,4501,4317,4196,4164,4240,4046,3893,3415,2518,2376,3273,3517,3094,3017,2878,2687,2648,2833,2962,2810,2728,2789,3063,2952,3134,3293,3134,2577,2652,2737,2608,2906,2919,2874,2823,2769,3128,2824,2129,2409,1954,1710,1554,1363,1427,1821,2221,3076,3396,2390,2046,2079,1858,1684,1998,2186,2137,2159,2134,2736,3769,3854,2989,2426,3098,3663,3312,2789,2906,2933,2977,2438,2141,2522,2813,3216,3677,3650,3439,3448,3404,3372,3433,3370,3481,3404,3092,2908,2883,2735,2766,2923,2842,2844,2726,2930,2745,2472,2468,2691,2750,2728,2858,2958,2934,2913,2767,2652,2696,2625,2536,2385,2262,2050,1926,1866,1832,1867,1983,2098,2185,2266,2242,2419,2555,2790,3088,3427,3578,3505,3172,2761,2673,2821,2965,2961,2993,3220,3319,3195,3093,2986,2631,2462,2975,3128,2968,3078,2925,2828,2835,2868,3006,3277,3075,3263,3440,3242,3333,3335,3351,3423,3205,2957,3254,3277,3239,3205,3151,3579,4200,4129,3770,3845,3783,3779,4017,3827,4053,4128,4129,3402,2988,3012,3500,3653,3341,3016,2882,3208,2754,2635,3499,3972,3963,3758,3248,3822,3884,2907,2788,3609,3579,3653,3736,3736,3583,3481,3269,3203,2798,2484,2116,1895,1848,1971,2201,2460,2703,2549,2610,2934,2323,2372,2657,2115,1818,2129,2004,1975,2294,2279,2260,1845,1836,1972,2242,2361,2614,2673,2861,2831,2558,2825,3062,2900,2706,2499,2285,2358,2626,2617,2724,2510,1965,1730,1592,1521,1567,1549,1736,1550,1736,1819,2171,1888,1560,2283,2185,1996,2724,2924,2415,2276,2850,2801,2702,3124,2641,2295,2533,2268,2566,2534,1841,2113,2483,2282,2547,2955,3028,2653,3072,3089,2632,2554,2185,1863,2221,2365,1790,1642,1541,1487,1472,1780,2020,2438,2377,2198,2100,2545,2622,3007,3635,3199,2558,2221,2276,2073,1654,1640,1789,2700,2535,2090,2586,2262,1544,1528,1673,1494,1616,1787,1859,2070,1888,1632,1568,1742,1987,1972,2154,2333,1932,2362,2559,2240,2444,2556,3016,3078,2665,2526,2166,1887,2540,2415,2232,2587,3200,3017,2880,3239,3030,2843,2607,2204,2699,2688,2889,3581,2850,1920,2092,1956,2346,2415,1932,2388,2318,2600,2596,1897,1765,1753,1861,1871,2067,2051,2379,2713,2712,2552,2740,2635,2627,2620,2464,2770,2183,1417,1589,2852,3397,2895,2031,2256,1886,2120,2008,1457,1422,1764,2196,2495,2449,1888,1632,1764,1885,2061,2680,2490,2183,2536,2809,2573,2294,2409,2674,2184,1737,1703,1763,1666,1721,1749,1710,1588,1622,1966,2078,1803,1183,1262,1543,1690,1959,2225,2068,1916,1707,1693,1950,1863,1948,2802,3000,2642,2247,1954,1538,1235,2253,2701,2159,2420,2610,2784,2933,2826,3011,2801,2774,2832,2986,2456,2494,2545,2106,2221,2170,2313,2599,2248,2577,3122,3263,3194,2133,1715,1879,2197,2602,2949,2908,2511,2232,2080,2110,2441,2954,2785,2942,3023,3190,3084,3075,2950,2999,3152,2895,2627,2007,2029,1951,2787,3233,2698,2710,2998,3440,3348,2830,2265,1793,1619,2226,2400,1940,1800,1675,1727,1793,1828,1778,1714,1759,1986,2239,2032,1711,1882,2197,2675,2954,3155,3064,3139,3184,3260,3338,3197,3127,3310,3121,2672,2922,2800,3285,3588,3564,3706,3665],[1929,2207,2938,3009,3145,2909,2814,2612,2027,1917,1968,1847,1992,1918,2062,2503,2437,2230,2276,2275,1931,2346,2742,2513,2115,1953,2112,2908,3438,3504,3294,3141,3021,3185,3486,3153,2844,2865,2963,2651,2655,2728,2728,3255,3083,2938,2767,2761,2646,2619,2741,2803,2677,2579,2287,2065,1657,1529,1778,2174,2602,2468,2177,2187,2322,2260,1688,1796,2393,2603,2810,2968,3033,2519,1753,1540,1876,2183,2802,3160,3058,2230,1803,2137,1949,1840,1917,2031,2474,2703,2786,2344,1900,2000,2102,2087,2070,2356,3077,3780,3705,3242,2709,2044,2192,2173,2361,2598,3028,3306,3172,2836,2774,2724,2726,2800,2724,2929,2932,2890,2520,2880,3056,3064,3086,3115,3198,3131,2736,2884,3434,3493,2893,2813,2976,3021,3283,2988,2924,3505,3818,3331,3286,3864,3919,3761,3632,3557,3577,3451,3391,3486,3453,3278,3145,2753,2750,2950,2503,2251,2873,3609,3625,3398,2706,2640,2652,2699,2566,2673,3162,2915,2956,2907,2253,1318,1089,1503,2098,2455,2576,2662,2749,2689,2476,2387,2441,2619,2685,2520,2706,2946,3040,3536,3583,3277,3156,2932,2507,2617,2736,2561,2830,3349,3209,3577,3709,3659,3560,2841,2828,3175,2736,2812,2722,2309,2386,3066,3263,3394,3413,3495,3717,3750,3930,3759,2796,2075,1946,2050,2374,2622,2802,3200,2678,2294,2352,2160,1910,2082,2427,2548,2622,2886,2817,2643,2151,2491,2529,2412,2358,2572,2863,3093,3228,3674,4152,3877,3442,3414,3817,3708,3790,3946,3916,3750,3561,3452,3420,3481,3636,3459,3247,4047,4140,3883,3782,3418,3406,3330,3743,4168,4305,3795,3056,3254,3379,3251,3341,3159,3046,3201,3175,3139,3117,3030,3046,2841,2699,2895,2593,2518,2348,1891,1875,1930,2169,2373,2654,2698,2779,3296,3085,2791,3340,4116,3765,2507,2046,1997,1803,1562,1718,1935,2225,3111,3521,3419,2878,2324,1596,2248,2708,2347,2182,2148,2090,1909,1990,2221,2276,2307,1989,2384,2501,2684,3013,2796,2680,2269,1892,2029,2416,1901,1792,2469,2322,1929,1802,2669,2677,2553,2601,2824,2866,2364,1874,2323,2390,2516,3366,3580,3299,3288,3021,2552,2575,2329,1827,1919,2194,1931,2003,2140,2107,2202,2200,1981,2585,3041,2220,1576,1379,1752,2533,2913,2779,2046,1848,1698,1593,1449,1404,1437,1446,1732,2193,2459,2790,3212,3494,3628,3728,3884,3548,2989,3053,3127,3206,2935,2469,2102,2008,2473,2655,2204,2304,1933,1841,2042,2202,2067,2510,2728,2030,2059,2279,2353,2145,2278,2763,2734,2453,2520,2596,2676,2942,2594,2485,2523,2332,2603,2259,2007,2326,2866,2874,2515,2666,2098,2109,2624,2232,1136,1193,1503,1514,1677,1844,1719,1687,1672,1489,1744,1779,1933,1987,2098,2138,1942,1786,1806,2603,3517,3218,2507,2100,1638,1714,1838,1924,2266,2117,1734,1738,1763,1858,2167,2310,2592,2409,1907,2028,2204,1962,1862,2449,2393,2054,2102,2258,2159,2107,2048,1835,1739,1899,1499,1517,1593,1804,1990,1678,1615,1694,1498,1665,1508,1530,1775,1995,2183,2291,2523,2456,2544,2251,2260,2195,2019,2294,1826,1896,2337,2293,2776,2778,2655,2744,2552,2352,1865,1588,1739,1651,1730,1842,2283,1972,1502,1877,1930,1891,2194,2207,2077,1692,1274,1727,1962,1895,1564,1549,1374,1636,2100,2585,2543,2164,2065,2051,1792,2310,2945,2523,2075,1797,1524,1663,1722,1974,2113,1731,1700,1571,1402,1857,2474,1990,1554,1710,1826,1688,1866,2338,2532,2596,2382,1891,1859,2038,2325,2089,1586,1550,1578,1392,1695,1532,1786,2257,2310,2085,1791,2077,3016,3332,2809,2578,2836,2766,2036,1924,2029,1831,1581,1710,2093,1710,1713,2390,2419,2909,3739,3320,3093,2989,2746,2332,2163,2469,3022,3484,3507,3182,3283,4144,3889,3839,3915,4034,4058,4156,3897,3303,2854,2768,2575,2990,3157,3122,3211,3094,3056,2950,2910,2990,3078,3042,2723,2254,2273,2526,2841,3108,3065,3074,3245,3265,2990,3010,3205,3218,3183,3175,3334,3317,3263,3210,3276,3217,3230,3342,2734,2032,2407,3166,3525,3772,3759,3430,3210,2758,2786,3046,2878,2437,2133,2050,2693,2980,2419,2104,2213,2542,2149,1630,2357,3284,2601,2281,2387,2192,2289,2752,2869,2544,2013,2432,2780,2563,2481,2868,2468,2410,2821,2957,2474,1741,1704,2034,2221,2683,2514,2126,1797,2116,2284,2347,1900,1788,1935,2330,2474,2212,2196,2164,2288,2053,2235,2857,3440,2698,2123,1714,1608,1381,1472,2286,2697,2421,2036,1622,1600,2071,2465,2542,2666,2354,1917,1924,2308,2279,2397,2664,3035,3328,2952,2469,2455,2161,1587,1518,1836,1930,1687,1516,1647,1505,1767,2304,1591,1937,2188,1991,1220,1482,1786,2017,1780,1591,1866,1971,1552,1801,2590,3344,3377,2902,2039,1965,1885,1954,1903,2083,2300,2275,2700,2168,1652,1390,1800,2068,1841,1707,1943,1898,1571,1609,1591,1604,1739,2128,2840,2315,1853,1801,1845,1810,1671,1843,1933,2132,2437,2494,2331,2144,1707,1765,1712,1532,1621,1723,1679,1776,1715,1931,2076,2306,2585,2350,2123,2398,2056,1593,1687,2608,2599,2220,2265,2164,2004,2182,2447,2286,1946,1742,1823,1886,2223,2148,2278,2382,2281,2131,1989,2065,2125,2304,2458,2325,2766,3107,2086,1581,1601,1740,1602,1735,2135,2145,1734,1715,1714,1584,1954,2262,2436,3161,2835,2709,3009,3638,2964,1834,1680,1899,2646,2494,1605,1776,1843,2746,2810,2656,2949,3216,3316,3544,3765,3331,2494,2393,2542,1987,2099,2988,4009,4070,3631,3173,3430,4060,4312,4352,4212,3783,3721,3604,3640,3124,3010,2991,3208,3658,3839,3374,2236,1754,1695,1742,1764,1878,1863,1800,1929,2688,3207,3755,3877,3752,3703,3581,3138,2866,2942,3294,3119,2322,1955,2050,1843,1741,1802,1836,1997,1926,1917,1970,2250,2481,2725,3173,3774,3675,3597,4364,4384,3808,3599,3360,3640,3917,3751,3893,3906,3719,3985,4175,4219,3574,2459,1835,1835,2251,3144,4017,4645,4675,3886,3121,3520,4013,4037,3952,3682,2621,2089,2291,2418,2178,2049,2540,3438,3475,3353,3315,2841,2355,2415,2576,3010,3646,3741,3705,3800,4196,4536,4344,3824,3795,4119,4520,4375,4167,3896,3732,3890,3977,4045,3918,3861,3935,4155,4519,4376,4038,4244,4156,4003,4225,4248,4328,4569,4396,4492,4275,4347,4424,4276,4176,4168,4164,4220,4353,4339,4360,4049,4063,4079,4083,4438,4720,4736,4500,4368,4177,3870,3834,3841,3807,3852,3985,3836,3404,4031,4273,4085,3960,3971,4024,4026,3984,4105,4116,3857,3808,3786,4014,4083,3862,3939,3851,4019,4284,4544,4364,4272,4182,3978,4073,3417,3142,2469,2461,3187,3550,3353,3203,2967,2779,2666,2666,2917,2968,2904,2894,2884,2979,3064,3142,3299,3323,3020,2921,3123,3176,3266,3118,2871,2802,2691,2776,2600,2321,2284,1914,1869,1881,1387,1273,1991,2240,2974,2938,2282,2307,2085,1857,1976,2646,2852,2391,2078,2156,2792,3791,3819,2906,2625,3178,3539,3596,3580,3272,2948,2957,3222,3204,3181,3198,3270,3248,3161,3101,3144,3220,3265,3397,3296,3075,2989,2906,2879,2820,2769,3018,3144,3174,3181,3253,3395,3264,2967,2881,2939,3012,2963,2862,2636,2431,2353,2248,2103,2004,1944,1885,1872,1908,1939,2042,2176,2370,2543,2600,2580,2554,2576,2524,2518,2557,2775,3153,3243,3247,3443,3054,2660,2768,2880,2712,2712,3208,3583,4003,3902,3620,3444,2828,2634,2932,3023,2971,3255,2922,3115,2987,2950,3472,3877,3841,3533,3011,3226,3653,3537,3167,3156,2922,3077,2929,2945,3251,3504,3697,3851,3662,3520,3769,3798,3347,3118,4161,4266,4193,4057,3898,3561,3132,3055,3742,3951,3839,3688,3588,3383,2720,3074,3285,3493,3459,3278,3176,3415,3561,3027,2722,3196,3049,2877,2864,3084,3411,3431,3537,3463,3350,3269,3089,2657,2145,2014,1845,1913,2175,2437,2962,3182,3001,2850,2752,2105,1926,2332,2002,2035,2664,3023,3282,2563,2025,1778,1903,2041,1878,2366,2819,2267,2548,3042,2878,2742,2661,2423,2138,2569,2514,2408,2474,2223,1688,1597,1636,1534,1349,1394,1515,1767,1853,1716,1651,1254,1202,1579,1651,1844,2237,2244,2093,1994,2438,2447,2680,2665,2381,2734,2554,2091,2577,2678,1966,1765,1788,1758,2265,2711,2236,1841,2485,2388,2416,2698,2333,2162,2652,2399,1582,1526,1829,1727,1782,1902,1782,1973,1974,1790,2086,2149,2095,2609,2603,2571,2323,2177,2805,2510,2177,1889,1509,2275,2523,2563,2912,2069,1592,1577,1738,1476,1570,1675,2330,2556,1885,1571,1687,1791,2360,2976,2876,2078,1852,2575,3029,2973,2920,2862,2583,2387,2343,2645,2602,2264,2458,2640,2954,2873,3311,2722,2932,3216,2952,3019,2944,2937,3185,2849,2674,2659,2678,1918,1930,1743,1927,2075,2125,1834,1399,2178,2418,1840,2074,2055,1565,1775,2190,2535,2779,2452,3255,2935,1628,1533,2063,2148,2072,2290,1925,1895,1976,2077,2109,2177,2646,2725,2356,2565,2500,2318,2141,2029,2376,2609,2598,2166,1825,1863,2192,2511,2410,1865,1611,2224,2643,1978,2161,2780,3030,2951,2154,1819,1746,1589,1746,1720,1526,1440,1502,1779,1950,1886,1605,1680,1641,1841,2426,2418,1694,1356,1876,2214,1908,1771,2436,3731,4053,3278,2203,1780,1395,1696,2303,2277,2149,2479,2675,2699,2706,2820,3131,3150,3063,2856,2647,2484,2396,2661,2809,2553,2284,2234,2283,2459,2597,3071,3885,4292,2797,1937,2092,2492,2679,2667,2464,1818,1769,1695,1876,2292,3217,3263,2972,2774,2964,2768,2734,2687,2775,2717,3062,2845,2084,2385,2372,2241,2298,2204,2044,2084,2674,3143,3174,2942,1916,1827,2189,2055,1726,2376,2218,1893,1894,2126,1986,1752,1690,1894,2200,2402,1871,1806,2024,2634,2667,2676,3037,3174,3122,3111,3176,3200,3028,3110,3156,2779,3024,3203,3582,3552,3597,3759,3738],[2775,3453,3423,2930,2968,2605,2478,2579,2221,2171,2238,1637,1696,1673,1819,2191,2142,2017,1983,2040,2081,2544,2922,2646,2569,2495,2106,2801,3386,3587,3437,3271,3469,3505,3721,3429,2879,2765,2812,2956,2972,2783,2875,3640,3166,3084,2802,2670,2706,2661,2193,1786,1971,2128,2187,2163,2008,2162,2078,2363,2410,2208,2112,2247,2533,2418,1926,1914,2424,2654,2521,2735,2905,2780,2194,1671,1625,2208,3020,3141,2757,2129,1732,2172,2151,1974,2061,2086,2349,2226,2437,2305,1882,1810,2289,2769,2632,2526,2422,2741,2813,2188,1778,1536,1959,2338,2553,2774,2895,3012,2924,2721,3060,2767,2686,2667,2657,2651,2755,2846,2752,2536,3152,3352,2917,3097,3197,2557,2086,2404,3216,3197,2713,2470,2706,2980,3042,2830,2989,3586,3565,3107,3573,3713,3740,3690,3581,3583,3526,3506,3629,3530,3395,3397,3083,2918,3417,2731,1816,1735,2587,3491,3532,3506,3505,3294,2975,2684,2536,2664,3073,3138,2880,1893,1381,1421,1950,2349,2531,2486,2388,2470,2385,2140,2231,2346,2439,2558,2503,2569,2717,3103,3401,3516,3526,3154,3122,3111,2700,2411,2256,2577,3173,3692,3898,3943,3880,3840,3737,3261,3150,3194,2322,2184,2425,2369,2041,2466,2932,3178,2956,2918,2964,2666,2633,2718,2302,2037,2195,2187,2289,2369,2255,2512,2917,3017,3020,2917,2734,2551,2647,2667,2880,3147,2997,2277,2041,2091,1984,2485,3172,3421,3239,3204,3312,3796,3804,3499,2901,2812,3075,3112,3417,3572,3527,3677,3499,3380,3329,2738,2626,2887,3299,3983,3850,3774,3108,3151,3550,3443,3837,4124,4200,3683,3199,3360,3338,3365,3254,3108,3328,3374,3341,3474,3392,3104,2852,2547,2512,1958,1726,2003,2446,2478,2186,1615,1476,1738,2421,3120,3052,2856,2555,2541,2285,3073,2897,2625,2199,1942,1845,1361,1301,1654,2426,3642,2928,3046,2400,2082,1745,2181,3210,2727,2164,2378,2404,2147,2026,2169,2396,2767,3027,3404,2946,3016,3010,2435,2823,2937,2182,2306,2537,1725,2154,2734,1879,2068,2019,2987,3166,2987,3007,3095,3473,3545,3023,3059,2709,2893,3616,3484,3234,3287,3035,2536,2125,1792,1620,2045,2414,1571,1486,2226,2800,2680,2448,2380,2437,2676,2302,1800,1795,2211,2689,2977,3089,2052,1665,1647,1559,1176,1426,1573,1526,1711,1693,1598,2018,2929,3501,3581,3579,3516,3410,3465,3691,3894,3930,3231,2585,2608,2850,2414,2310,2183,1914,1733,1981,1969,2141,2212,2492,2247,1909,2061,2186,1938,1708,2265,2374,2709,3275,3197,3139,2647,2322,2398,2535,2011,2014,2432,2589,2341,1755,2137,2419,2230,1975,1796,1839,2057,1499,960,1099,1260,1424,1454,1743,2109,2155,1728,1538,1507,1634,1859,1886,1887,1830,2032,2066,1876,2194,3327,3167,2318,2241,1941,1773,1785,1980,2203,2337,2263,2010,2149,1947,2523,2872,2918,2364,2031,1982,2690,2753,2353,2545,2328,1741,1968,2338,2187,1975,2155,2076,1946,1858,1618,1567,1515,1627,1807,1604,1636,1583,1600,1877,1967,1775,1680,1798,2041,2450,3106,2966,2358,2116,2031,2048,2091,2274,1793,2544,2807,2734,2664,2602,2585,2617,2481,2130,1687,1562,1715,1783,1836,2164,2000,1655,1609,1685,2013,2195,1970,1692,1612,1621,1557,1818,2155,2351,1747,1725,1470,1587,1902,2283,1959,1433,1769,2142,2351,2842,2497,1843,1776,1847,2075,2047,2205,3043,2811,1842,1684,1664,1654,2282,2755,1885,1734,2156,1892,1650,2107,2867,3185,2857,2165,1778,1941,1968,2205,2015,1678,1424,1352,1431,1440,1591,2411,2603,1973,1898,1714,1611,2283,2723,2962,2768,3079,2564,1746,1843,2148,2174,1840,2098,2254,1815,2187,2863,2973,3040,3107,2507,2766,2844,2467,2387,2259,2711,3300,3338,3039,2922,3109,3784,3985,3957,3914,3908,4108,4071,3750,3133,2704,2884,2880,2842,3073,3230,3273,3089,3019,3063,3094,3113,3162,2781,2069,1968,2248,2682,3265,3506,3383,3196,3194,3210,3166,3266,3218,3144,3150,3241,3349,3231,3183,3251,3375,3323,3352,3374,2779,2218,2698,3422,4000,4029,3506,2966,2700,2551,2787,3004,2962,2864,2643,2360,2353,2080,1633,1614,1728,1682,1782,1538,1796,2507,2874,2330,2226,2611,2796,2811,2902,2708,2055,2790,3161,3204,3029,2809,2197,2644,3179,2865,2330,2272,2773,2803,2424,2699,2222,2281,2364,2327,2248,2239,2017,1962,2263,2624,2536,2388,2241,2543,2446,1857,1993,3220,3638,2907,2262,1908,1618,1536,1855,2647,2910,2471,2079,1874,1656,1822,2200,2292,2586,2409,2016,1906,1890,1846,2270,2840,3155,3533,2787,2619,2399,2041,1347,1424,1731,1735,1825,1505,1435,1542,1866,1858,1762,2419,2527,1981,1234,1658,2421,2348,1886,1597,1748,1256,1311,1875,2206,2722,2911,2666,2392,2315,2200,2040,1561,1754,2310,2468,2145,1811,1739,1577,1953,2013,1973,2010,1849,1721,2219,2451,2143,1758,1446,1497,2018,1896,1857,1722,1894,1760,1507,1499,1582,1696,2003,2327,2298,1896,1601,2685,2541,1699,1614,1636,1626,1461,1553,1687,1592,1916,2352,2269,1861,1855,1723,1472,1745,2246,1660,1235,1888,2451,2122,1926,2239,2394,2181,1815,2706,2510,2222,2345,2528,2719,2769,2545,2455,2774,2566,2345,2408,2323,2836,2954,2154,1707,1626,1771,1930,1913,1946,2135,1778,1567,1553,1647,2545,2810,3076,3253,3018,2663,3208,3687,2834,2195,1828,1742,2199,1925,1556,1794,1942,2619,2697,2702,3045,3134,3304,3464,3578,3540,2412,1758,1460,2035,3133,3931,4145,3863,3815,3609,3544,3702,4236,4416,4104,3640,3854,3867,3956,3185,2744,3029,3620,3710,3693,3178,2030,1815,1824,1946,1785,1871,1811,1809,2030,2458,3120,3714,3595,3363,3471,3327,2994,2844,3133,3426,3074,2432,2120,2149,2110,2129,1996,1760,1866,1736,1793,1882,2096,2358,2585,2761,3066,3411,3887,4707,4544,3767,3480,3420,3662,3641,3582,3673,3317,3348,3698,4042,4208,3896,3131,2172,2288,2933,3961,4124,4343,4632,4243,4219,4324,4062,3674,3176,2751,2531,2901,2795,2481,2441,2604,2596,2457,2385,2419,2275,2432,2943,3021,2894,3305,3784,3784,3652,3948,4348,4633,4242,3738,3716,4185,4473,4445,4609,4299,4200,4478,4181,3995,3936,3928,3979,4049,4451,4311,4200,4573,4455,4320,4231,4367,4332,4363,4216,4452,4407,4310,4183,4071,4001,4043,3983,3925,4233,4385,4573,4140,4185,4002,4043,4256,4453,4501,4361,4081,3765,3741,3695,3695,3769,3769,3825,3321,3751,4025,4016,3902,3871,4088,4088,3986,3754,3848,3947,3871,3835,3786,3880,4015,4201,4107,4092,4209,4240,4444,4217,4067,4060,4046,3565,2923,2334,2321,3209,3439,3119,3041,2956,2784,2757,2697,2842,3051,3496,3458,3199,3256,3308,3278,3316,3193,2927,3059,3150,3327,3197,3141,3185,2938,2899,2811,2893,2590,2127,1969,1853,2072,2040,1530,1337,1887,2570,2884,2806,2480,2323,2133,1795,1914,2604,2877,2431,1945,2135,2951,3371,3231,3098,3212,3306,3232,3078,2620,2413,2373,2400,2909,2800,2630,2650,2736,2820,2740,2937,3219,3103,3008,3064,2955,3123,3385,3271,3135,2817,2767,3046,3153,3197,2938,2928,3051,2886,2634,2388,2202,2127,2066,2042,1983,1960,1967,1995,2064,2135,2165,2117,2221,2337,2330,2510,2570,2601,2576,2502,2463,2446,2497,2440,2364,2178,2531,3330,3145,3572,4031,3794,2843,2939,3458,3686,3789,4004,4236,4441,4472,3884,3253,3117,2988,2944,3163,3409,3567,3195,3362,3279,3383,3928,4304,4544,3974,3178,3409,3677,3597,3061,2810,2668,2635,2324,2341,2596,2795,3139,3613,3036,3493,3755,3642,3513,3514,3942,4120,3941,3833,3775,3702,3640,3630,3965,4020,3905,4044,3891,3981,3660,3136,3061,2945,2729,3078,3332,3286,3550,3485,2924,2868,2908,2741,2525,2653,2808,2876,2804,2806,3175,3330,3354,3111,2920,2648,2202,1934,1861,1959,2409,2900,3262,3063,2643,2336,2519,2789,2677,2624,3053,3023,2640,2575,2266,1711,1726,1766,1631,1944,2374,2810,3519,3127,3129,2809,2702,2203,2002,2185,2282,2111,2007,2148,1684,1647,1730,1515,1498,1670,1709,2066,2428,2422,2082,1915,1697,1532,1656,1952,2996,3207,2137,1674,1785,1857,2062,1979,2113,2553,2757,2728,2644,2470,2051,1879,1785,1740,1752,2207,1864,2291,2603,2118,2566,2757,1942,1837,2323,2014,1753,1693,1786,1852,1774,2126,2077,1649,1766,1825,1449,1571,1805,2036,2378,2271,2044,2114,2525,2976,3459,2989,2114,2263,2544,2822,2720,2239,1937,1618,1614,1643,1582,2010,2655,2510,1874,1819,2179,1829,2714,3391,3078,2241,2243,2575,2985,2944,2732,2673,2431,2529,3213,3157,2648,2652,2801,2951,3164,2998,3078,2696,3137,3326,2939,3144,3219,2883,2664,2544,2580,2543,2629,2229,2200,1828,1807,1949,1769,1727,1798,2048,1986,1820,2116,2382,1760,1886,2421,3090,3248,3115,3385,2878,1853,2410,2337,2346,2320,2512,2589,2454,2296,2444,2566,2101,2290,2410,2365,3119,3076,2365,2351,2142,1858,2522,2678,2209,1831,1801,2060,2046,1822,1857,1738,2171,2458,1990,2701,3335,3491,3414,2811,2343,1739,1492,1907,1599,1697,1766,1600,1635,1565,1839,1986,1857,2304,2151,1882,1834,1234,1294,2072,2298,2022,1966,2410,2459,3123,3011,2194,1707,1927,2579,2679,2757,2161,2549,2588,2599,2683,3255,3189,3003,2797,2497,2625,2745,2656,2780,2897,2625,2440,1797,1428,2741,2956,2905,3206,3051,2020,1768,2302,2247,1842,2202,2310,2394,2121,2154,2282,2179,3045,3266,2560,2735,2921,2808,2725,2669,2237,2297,2828,3075,2440,2288,2453,2185,1964,1939,2050,2326,2674,2586,2463,2830,2504,2341,2352,2336,2499,3015,3172,2899,2452,2195,2074,1948,1832,2017,2697,2651,2076,1925,1992,2234,1899,2046,3056,3561,3197,3051,3297,3384,3020,3087,3200,3210,3459,3510,3561,3425,3330,3526,3487],[3164,3675,3364,2871,2665,2689,2889,3040,2699,2601,2409,2046,1965,1977,1912,1997,2116,2246,1981,1858,1996,2365,2755,2854,2922,2783,2577,2743,3309,3580,3609,3428,3580,3658,3394,3133,2959,2732,2666,2618,2331,2497,2355,2918,2985,2807,2459,2076,2566,2877,1749,1391,1584,2078,2086,2266,2181,2098,2248,2189,1938,1641,1782,2359,2309,1780,1824,2289,2258,1936,1412,2307,2853,2877,2666,1990,1675,2319,2670,2315,1803,1970,1672,2309,2210,2105,1995,2062,1632,1207,1983,2512,2208,1825,2008,2634,2470,2454,2242,2145,2422,2192,1886,1591,2175,2786,2777,2733,2707,2851,2995,3123,3208,3006,2874,2755,2599,2556,2298,2442,2611,2653,3332,3041,2612,2270,2598,1788,1749,2461,3139,2889,2300,2139,2344,2687,2947,3030,3228,3585,3465,3240,3250,3211,3391,3602,3547,3451,3281,3539,3875,3709,3553,3510,3150,3255,3472,3285,2522,2300,2360,2896,3194,3111,3474,3580,3356,2799,2389,2668,2847,2426,2079,1618,1777,2266,2436,2417,2459,2432,2367,2502,2344,2197,2286,2424,2314,2519,2436,2673,3248,3344,3062,3282,3505,3350,2878,2625,2632,2308,1775,2382,2930,3134,3566,3968,3904,3661,3584,3309,3405,3184,2544,2183,2258,2459,2134,2279,2929,3320,2987,2329,2093,2048,2204,2293,2366,2278,2468,2677,2768,2911,2632,2590,3240,3636,3614,3575,3540,3464,3342,2938,2890,3065,3029,2339,2121,2255,2361,2645,3121,3728,2975,2368,3000,3638,3472,2862,2531,2828,3332,3609,3730,3479,3032,3455,3344,3499,3647,3134,2543,2407,3316,3817,3616,3500,2834,2973,3860,3876,3848,4137,4132,3385,3383,3321,3240,3292,3124,3110,3396,3532,3566,3561,3491,3160,2754,2316,2064,1505,1532,1945,2502,2856,2724,2126,1605,1483,2242,3311,3738,3420,2821,3142,2780,2423,1998,2225,2206,1629,1426,1375,1587,2103,3444,3098,1667,1848,1849,1786,1845,2757,3738,3068,2013,2127,2493,2201,1794,1964,2409,3684,3994,3362,2282,2475,2524,2199,2188,2115,1566,2111,2268,1976,2504,3062,2223,1997,2407,3167,3131,2705,2820,3160,3218,3105,3028,3030,3172,2963,3422,3538,3356,3190,2881,2580,2309,2077,2008,2250,2640,1770,1365,1882,2399,2081,1986,2148,1920,1946,2045,2108,2197,2563,2300,3149,3400,2362,1651,1505,1726,1630,1748,1815,1909,2099,2020,1943,2295,2735,3266,3721,3477,3122,3516,3896,3983,4131,3498,2574,2244,1875,2316,2170,1861,1776,1538,1745,1913,1782,2245,2498,1974,1663,1704,2047,2214,1866,1666,2100,1964,2366,2976,3307,3277,2533,2070,2437,2342,1735,1681,1801,2420,2221,1902,1649,1910,2745,2531,1670,1564,1572,1375,1344,1301,1194,1110,1380,1817,2059,2041,1722,1699,1837,2008,1879,1798,1712,1684,1823,1930,2293,1974,2322,2248,1810,1674,1618,1632,1871,1926,1727,2118,2294,1938,2075,1929,2639,3260,3055,2155,1878,1906,2386,2671,2611,2690,2500,1766,1786,2212,2097,1996,2129,1968,1819,1855,1865,1860,1695,1632,1732,1749,1664,1590,1505,2156,2116,1818,1631,1720,1935,2452,3270,3009,2556,2405,2203,2388,2206,1714,1721,2625,2907,3031,3032,2846,2805,2779,2434,2011,1642,1621,2138,2160,2511,2670,2226,2111,1771,1425,1758,2214,2070,1601,1570,1839,2201,2127,1963,2164,2013,1651,1649,1920,2022,1918,1576,1410,1641,2326,2675,2543,1902,1653,1688,2090,2242,1867,2375,2912,2140,1536,1735,2094,1967,1929,2100,1738,1416,1705,1754,2040,2653,2932,3152,2806,2449,2110,1834,1688,1869,1931,1884,1578,1391,1560,1511,1904,2711,2416,2395,2148,2001,2013,2153,2887,3323,2987,2600,2189,1785,1908,2185,3011,2413,2257,2278,2172,2776,3341,3350,2718,2380,2377,2457,2287,2140,2304,2787,2864,3131,2836,2642,2564,2935,3294,3354,3776,3871,3632,4018,3963,3738,3204,2889,3222,3034,2597,2950,3367,3252,3146,3230,3284,3210,3122,2955,2185,1645,1909,2742,3452,3704,3773,3666,3399,3376,3377,3294,3144,2949,2910,3183,3296,3312,3305,3360,3377,3352,3233,3263,3296,2965,2576,3056,3618,4017,3854,3191,2722,2696,3042,3354,3583,3395,2774,2583,2619,2432,1674,1591,1546,1667,1938,2044,1648,1482,2496,3012,2010,1836,2824,3378,3276,3019,2779,2103,2610,2922,2683,2167,1896,2099,2462,2844,2724,2285,2293,2751,2806,2269,2345,2576,2853,2685,2353,2319,2389,2112,1868,2570,2764,2249,2119,2118,2289,2153,1908,2347,2808,3022,3267,2534,1972,1634,1694,1996,2178,2373,2502,2451,2302,1963,1798,2179,2455,2266,2165,2194,1795,1965,2088,2048,2060,2116,3242,3294,3020,3021,2548,1637,1470,1586,1624,2156,1736,1586,1704,1888,1858,2253,2721,2363,1660,1584,2163,2322,1760,1450,1566,1910,1642,1706,1736,1433,1952,2658,2607,2608,2570,2520,2353,1841,1902,1974,2343,2197,2164,1993,1784,1754,1686,1732,1754,1562,1942,3053,2534,2082,1719,1534,1485,1516,1843,1854,1897,1995,1660,1527,1504,1576,1532,1844,2008,1832,1664,1760,2584,2640,2094,1743,1674,1529,1390,1776,1916,1869,1802,2269,2094,1800,1732,1528,1704,2272,2376,1708,1478,2061,2268,2076,2140,1717,1710,1748,1882,2618,2408,1926,1742,1837,2082,2570,2580,2492,3293,3407,2730,2633,2490,2986,3146,2620,1815,1458,1757,1954,1924,2008,1998,1729,1610,1665,1988,2834,3094,2811,2624,2495,2586,2818,2571,1939,2146,2128,1799,1892,1714,1683,2055,2250,2675,2626,2514,3020,3174,3352,3560,3418,3344,2589,1954,2093,2947,3683,3886,3300,3406,3699,3508,3689,3338,4007,4416,4204,4012,3926,3920,3808,3211,2583,2996,3460,3658,3671,3536,3262,2735,3177,3541,3270,2450,1914,1848,1814,2142,3310,3791,3317,3281,3621,3183,2893,2730,2951,3074,2762,2398,2096,2118,2128,2072,1898,1716,2005,1792,1745,1888,2013,2192,2150,2220,2647,2786,3300,4252,4258,3861,3581,3481,3418,3444,3508,3582,3351,3295,3641,3973,3984,3917,3714,2445,2341,2602,3733,3732,3853,4332,4465,4464,4092,3366,2446,2091,2700,3050,3133,2972,3001,3197,3012,2931,2875,2663,2384,2542,3308,3638,3387,3387,3858,3666,3210,3098,3411,3564,3659,3715,3582,3574,3659,3981,4091,4460,4436,4520,4639,4243,4073,4148,4120,3897,4023,4376,4256,4224,4388,4538,4572,4360,4516,4588,4380,4218,4244,4409,4336,4156,3968,3764,3586,3891,3849,3833,4025,4292,4112,3982,3881,3869,3982,4067,4139,4244,3803,3482,3444,3438,3585,3726,3825,3848,3717,3895,3924,3936,3855,3808,3961,3862,3829,3688,3637,3762,3809,3650,3597,3647,3868,4274,4359,4272,4289,4184,4385,4308,4127,4025,3802,3348,2614,2070,2641,3393,3176,2918,2761,2613,2619,2679,2801,3404,3916,3797,3073,3012,3131,2999,3117,3260,2942,2702,2789,3010,3221,3247,3066,2788,3031,3425,3270,3010,2797,2215,2027,1960,2031,2046,2172,2158,1938,2509,2833,2813,2547,2362,2272,2170,2333,2548,2523,2326,2373,2719,3089,2986,2805,2865,2872,2635,2603,2643,2630,2712,2645,2706,2750,2635,2664,2465,2502,2715,2733,2997,3274,3050,2701,2508,2591,2875,2978,2942,2752,2479,2317,2342,2276,2200,2136,2079,2024,1882,1893,1875,1914,1992,2104,2188,2279,2382,2400,2348,2315,2376,2400,2308,2365,2436,2435,2372,2556,2690,2683,2714,2778,2850,2899,2988,2776,2580,3208,3360,2292,2956,3694,3587,2662,2789,3681,4268,3754,3583,4263,4231,4171,3936,3448,3382,3332,3242,3697,3520,2713,2540,3103,3419,3596,4094,4337,4400,3861,3552,3503,3614,3636,3322,2812,2448,2342,2411,2348,2633,2868,3024,3650,3264,3807,3706,3682,3791,3763,3869,4037,3869,3718,3741,3811,3963,3671,3498,3782,3636,3806,3713,3908,3726,3277,3200,2812,2358,2676,3342,3369,3497,3359,2942,2382,2664,2994,2878,2763,2575,2566,2308,2013,2742,3197,2980,2833,2954,3174,2824,2417,2062,1924,1886,2072,2324,2584,2640,2885,2823,2875,3176,2840,3090,3179,2800,2645,2386,2077,2116,2103,1788,1936,2698,2832,2827,2434,2778,2662,2319,2210,2043,1941,2078,1909,1752,1958,1791,2056,2228,1719,1788,1811,1669,1956,2590,3108,3552,3537,2836,2220,1960,1942,2840,3119,2260,1834,2178,2426,2214,2220,2331,2633,3329,3205,2570,2655,2346,2143,1978,1868,2040,1976,2025,2846,2799,2262,2622,2796,2576,2180,1868,1738,1848,1986,1769,1635,1838,2411,2361,2042,2260,2066,1411,1459,1438,1504,1520,1540,2083,2128,2185,2751,3189,2906,2460,2240,1860,2279,2731,2768,2416,1991,1709,1662,1777,1964,1852,1954,1686,1772,1810,1885,3040,3667,2968,2541,2814,2887,3093,3072,2653,2670,2362,2602,3408,2834,2222,2231,2734,2875,2874,3050,3029,2843,3467,3567,3251,3228,3139,2583,2575,2781,2967,2792,2574,2222,1818,1635,1744,1986,1861,1763,1771,2111,2050,2314,2319,2573,2312,1828,2215,2887,3282,3116,2802,3046,2350,2587,2166,1916,1910,2162,2290,1898,1766,2526,2532,2028,2188,2208,2292,3078,2586,2398,2555,2126,1793,2757,2639,1815,1700,1697,1913,2112,1985,2029,1894,2874,2974,2676,3024,3361,3292,2991,2502,2076,1704,1803,2018,1809,1838,1792,1632,1600,1520,1744,1796,1918,2214,1910,1538,1441,1377,1858,2000,2360,2042,2247,2588,2093,2314,2480,2010,1774,2491,2858,2492,2348,2290,2548,2564,2185,2419,2968,2874,2641,2751,2995,3006,2978,3164,2990,2864,2421,1943,1358,1459,2872,2819,2240,2316,2504,2244,2115,2242,2179,2688,2674,2129,2555,2490,2119,2133,2015,2553,3111,3131,2702,2331,2335,2752,2576,2198,2632,3097,3285,2767,2302,2363,2476,2202,1921,2036,2230,2222,2268,2252,2750,2721,2711,3009,3167,3649,3859,3639,3525,3307,3068,2734,2125,1696,1887,2438,2708,2286,2123,2182,2054,1888,1931,2461,2922,2845,2850,3432,3605,3096,3051,3376,3510,3462,3428,3406,3377,3430,3365,3032],[2588,2809,3010,2710,2625,2735,3244,3437,3160,3010,2465,2009,1793,1932,1933,1841,2153,2651,3100,2802,2339,2564,3009,2936,3088,3132,3219,3142,3264,3382,3479,3422,3395,3382,3141,2746,2425,2299,2225,2451,2238,2673,2255,2086,2676,2687,2446,2271,2518,2614,2002,1817,1912,2916,2701,2799,2577,2499,2356,1870,1722,1641,1837,2368,2282,1649,1719,1860,1657,1431,1144,1482,2017,2712,3030,2569,2269,3043,2667,2229,2111,2219,1788,1870,2083,2562,2512,2377,1710,1242,2141,2526,2368,2239,2185,2312,2181,2182,2293,2656,2792,2588,2406,1983,1831,2696,3153,3085,2844,3130,3378,3703,3857,3584,3127,2885,3099,3022,2593,2496,2135,1619,1895,2059,1911,1830,2271,1950,1823,2470,2736,2353,2117,2067,2125,2525,2961,3355,3626,4003,3625,3240,2944,2885,3354,3673,3606,3435,3281,3559,3691,3767,3666,3484,3200,3563,3563,3449,3132,3216,2835,2737,3079,3116,3424,3295,3297,3341,2851,2498,2093,1578,1767,2074,2325,2504,2441,2403,2457,2524,2403,2379,2379,2392,2483,2614,2529,2634,2779,3010,3056,2978,3416,3687,3180,3396,2602,2140,2345,2656,2813,3010,2805,2566,3426,3948,2940,2444,3036,2518,2399,2753,3084,2532,2654,3344,2843,2267,2696,3201,2928,2508,2448,2324,2186,2326,2460,2530,2549,2655,2857,2909,2636,2680,3352,3531,3633,3637,3801,3738,3700,3419,3397,3239,3162,2952,2519,2244,2352,2389,2780,3706,2906,2048,2386,2951,3283,2944,2811,3255,3587,3814,3941,3646,2929,3327,3545,3512,3523,3281,2978,2907,3398,3640,3599,3687,3242,3491,4185,4108,4120,4273,3883,3322,3194,3098,3175,3265,3357,3560,3536,3492,3518,3491,3602,3154,2687,2281,2293,2114,1968,2197,2435,2817,3040,2568,2230,1897,2162,2676,3438,3073,2829,3250,3068,2487,2344,2678,2758,1815,1325,1590,1881,1892,2823,2171,1841,2365,2204,2042,2477,2899,3283,2633,2040,1736,1957,1861,1676,1736,2186,3075,3494,2840,2215,2343,2175,2294,2121,2136,1552,1943,2202,1974,2065,2708,2632,2171,2820,3173,2563,2614,2512,2429,2249,1786,1840,2236,2698,2523,3061,3459,3195,2964,2654,2957,2908,2509,2680,2919,2959,2014,1389,1504,1815,1840,1887,1868,1996,2171,1877,1786,1865,1928,2018,3250,3450,2555,1899,1960,2062,1772,1602,1744,2152,2732,3209,3122,2853,2574,3159,3727,3575,3628,3826,3874,3890,3929,3329,2179,1811,2078,2213,2120,1900,1810,1832,2066,2047,1819,2242,2538,2019,1724,1787,1982,2040,1821,1754,1720,1862,2045,2569,3293,3372,3035,2248,2178,1902,2042,1832,1686,1848,2330,2002,1534,1859,2492,2158,1517,1367,1324,1458,1483,1396,1476,1340,1524,1732,1905,1663,1607,2203,2838,2571,1928,1854,1481,1708,1848,2061,2246,1679,1685,1937,1791,1638,1490,1632,2283,2290,1895,1988,1808,1587,1769,1794,2517,3001,2789,2380,2184,2066,1991,2343,2345,2320,2057,1793,1708,1903,1865,2116,2208,1826,1881,1820,1653,1760,1891,1861,1731,1687,1686,1780,1465,1695,1898,1787,1655,1741,1776,2441,3065,2668,2951,2791,2886,2877,2945,2270,1661,1995,2686,3182,3154,2824,2407,2444,2277,1798,1648,1772,2236,2177,2592,2387,1836,1968,1948,1831,1972,2319,2194,1868,1708,1576,1766,1955,1937,1842,1671,1727,1787,1787,1801,1721,2175,1765,1827,2737,2596,2185,2302,2275,2239,2613,2078,1713,2159,2076,1853,1662,1743,2003,1779,1438,1605,1575,1536,1670,1717,2099,2374,2713,2980,2486,1979,1567,1248,1350,1567,1689,1946,1682,1489,1609,1778,1772,2187,2049,2548,2361,2293,2301,2437,2894,3204,2773,2198,2251,1919,2138,2246,2492,1971,1750,1785,2242,2764,3284,3254,2569,2457,2676,2268,2087,2034,2388,2988,3177,2902,2575,2501,2588,2877,2987,3119,3550,3598,3361,3597,3460,3205,2780,2732,3376,3714,3672,3522,3178,2811,2973,3160,3295,3379,3195,2388,1719,1677,2030,3077,3829,3823,3806,3682,3501,3406,3142,2939,2903,2797,2686,2984,3336,3312,3370,3499,3493,3369,3180,3292,3227,3062,2978,3399,3694,3518,3218,2806,2558,2923,3434,3618,3601,3307,2625,2429,1996,2097,1589,1457,1554,1995,2272,2476,2199,1414,1755,2341,1555,1672,2563,2585,2853,2562,2549,2402,2425,2382,2202,2059,2069,2259,2348,2329,2668,2382,1914,1898,2143,2194,2463,2833,2506,2071,2298,2374,2299,2071,1962,2614,2752,2588,2431,2159,2092,2286,2513,2917,2930,2972,2917,1900,1729,1532,1633,1985,1901,2053,2022,2143,2987,2815,2201,2455,1926,1637,1856,1962,1870,2214,2084,1896,1474,1598,2745,3232,3008,3018,2646,1792,1649,1997,1749,2171,1857,1585,1696,1831,1622,1933,2585,2443,1859,1924,2132,1885,1700,1539,1384,1575,1678,1687,1701,1316,1484,2279,2510,2602,2702,2741,2463,2394,2377,1777,2018,2322,2181,2059,1804,1415,1504,1452,1641,1820,1871,2376,1625,1502,1560,1441,1700,1730,1504,1442,1425,1508,1339,1449,1555,1732,1538,1750,1903,1858,1809,1949,2289,2397,2227,2216,2072,1732,1505,1987,2429,1969,1569,1785,1730,1901,2073,1978,2146,2245,2092,2046,2149,2192,1943,2031,2568,2097,1642,1699,2128,2098,1767,1564,1394,1533,1730,2119,2275,2257,2706,2820,2877,2733,2787,3185,3453,3172,2066,1436,1670,1802,1717,1690,1827,1817,1854,2085,2404,2758,2998,2822,2347,2363,2294,1915,1600,1701,2022,2221,2185,2323,2079,1809,1804,1752,2002,2093,2384,2951,3184,3189,3221,3044,2959,3009,2928,3263,3640,3947,3963,3427,3716,3703,3492,3277,3168,3610,4058,4099,3809,3471,3304,3451,3297,3001,3367,3449,3652,3508,3560,3912,3497,3920,3986,3520,2762,1907,1466,1593,2272,3593,3504,3325,3550,3498,3083,2866,2635,2539,2478,2578,2801,2458,2252,2398,2112,2054,1876,1984,1900,1798,1699,1780,2066,2109,2173,2200,2099,2412,3200,3618,3667,3676,3711,3648,3630,3488,3350,3109,3377,3807,3938,3815,3995,4057,3167,2818,3052,3920,3935,3805,4094,4273,4252,3828,2756,2183,3194,3846,3517,2984,2878,3176,3328,3296,3282,3219,3211,3288,3437,3628,3538,3549,3400,3342,3190,2997,2934,2958,2779,3006,3494,3526,3723,3541,3741,3813,3951,4140,4452,4592,4197,3999,3930,3759,3776,4028,4227,4037,3951,4184,4419,4518,4396,4496,4437,4243,4196,4127,4308,4185,4015,3845,3241,3073,3747,3709,3484,3686,3947,3889,3827,3727,3732,3823,3783,3779,3951,3803,3558,3409,3473,3575,3607,3815,3726,3540,3850,3714,3736,3896,3785,3673,3736,3837,3872,3564,3571,3629,3445,3451,3540,3762,4093,4168,4127,4151,4152,4208,4336,4121,3688,3251,2756,2174,2342,2972,3289,3041,2672,2600,2558,2556,2695,2746,3330,3699,3352,3214,3358,3076,3041,3098,3151,3002,2888,3060,3129,3139,3131,3108,3179,3256,3403,3327,3090,2644,2192,2023,2047,2197,2345,2469,2488,2356,2493,2723,2724,2586,2621,2604,2565,2479,2440,2416,2355,2557,2697,2684,2696,2688,2686,2689,2653,2705,2663,2754,2687,2654,2785,2658,2520,2460,2335,2403,2627,2574,2516,2613,2486,2314,2209,2190,2158,2059,1940,1927,1930,1929,1935,1884,1796,1759,1736,1792,1904,2042,2103,2293,2405,2376,2346,2365,2410,2396,2373,2428,2474,2397,2164,2437,2651,2336,2612,3107,3429,3647,3647,3707,3664,3702,3466,2768,3372,3626,3013,2425,2911,3571,3802,3882,3781,3635,3801,3836,3929,4188,4268,4064,3742,3253,3277,3030,3203,3522,2801,2278,2437,2700,2943,3333,4037,4020,3734,3613,3727,3572,3434,3203,3196,3085,2613,2374,2681,2431,2794,3209,3243,3540,3464,3661,3957,4058,3836,3613,3494,3723,4029,3741,3891,4012,3956,3464,3087,3217,3287,3415,3520,3736,3814,3519,3218,2933,2825,2496,2956,3006,3163,3055,2387,1554,1939,2969,3229,2896,2862,2508,1906,1699,2180,2621,2376,2297,3038,3371,3263,3185,2951,2609,2294,1941,1928,1937,2132,2593,2855,2900,2783,2511,2683,3287,3418,2828,2778,2551,1975,1831,1816,2405,2885,2546,2269,2013,2354,2336,2178,2378,2254,2121,1990,2011,1786,1740,2403,2885,2591,2687,2542,1887,2101,2412,2742,2667,2953,3023,2545,1889,1664,1910,2553,2441,2023,2007,2424,2855,2459,2088,1808,2752,3017,2759,2401,2741,2776,2366,2392,2584,2386,2090,2021,2232,1975,2110,2633,2579,2789,2924,2710,2203,2092,2136,1642,1680,2073,2474,2400,2298,2841,2244,1824,1788,1729,1650,1583,1512,1547,1580,1943,2103,2558,2155,2287,2220,1872,2226,2939,2902,2712,2426,1871,1544,1832,2211,1883,2045,1740,1775,1819,2116,3073,3688,3005,2510,2812,2986,3293,3132,2706,2796,2343,2413,2676,2473,2155,2368,2757,3019,3088,3190,3251,3174,3298,3185,3649,3716,3299,2637,2779,2918,3155,2864,2706,2646,2069,1645,1670,1924,2050,2359,1971,1859,1947,1969,1750,2394,2614,2450,3215,3343,3249,3111,2771,2819,2318,2270,2289,1926,1573,1662,2068,2048,2076,2016,2055,2442,2150,2158,2878,3168,2776,2218,2191,1898,2061,3072,3013,1888,1720,1916,2002,1838,2067,2080,1922,2778,3021,2814,2674,2497,2286,2007,1746,1453,1476,1692,1772,1888,1848,1954,1818,1699,1617,1612,1840,2263,2128,1917,1775,1931,1924,1893,1909,1856,1823,2511,3056,2906,2938,2621,1875,2048,2655,2214,2352,2083,2097,2303,2466,2623,2818,2741,2872,2807,3072,2937,2769,3052,3153,2721,2536,2497,2434,2176,2077,2416,2364,2001,1981,2313,2958,2885,2173,2044,3131,2864,2327,2611,2780,2180,1892,2544,3007,3229,3105,2642,3129,3333,3178,3091,2940,2977,3076,3016,2989,2929,2563,2059,1874,1952,1974,2061,2115,2628,3090,3055,2835,3074,3382,3494,3759,3818,3744,3949,3575,3935,4573,3781,2478,2222,2693,2522,1978,1883,2236,2461,2195,2081,2337,3021,3069,2834,3387,3640,3340,3204,3310,3470,3495,3521,3316,3331,3393,3312,3043],[2657,2765,2574,2451,2529,2467,3230,3626,3256,2631,2080,2041,1946,1953,2012,1903,2091,2451,3054,3017,2512,2510,2997,2907,2875,2740,2847,2736,2568,3067,3384,3418,3273,2932,2874,2519,2279,2661,2662,2808,2757,2828,2678,2716,3177,2783,2674,2673,2777,2236,1817,2117,2639,3154,3352,3047,2396,2171,2104,1803,1836,1709,1756,2164,2272,2024,1772,1339,1719,1910,1648,1531,1615,2640,3486,3384,3366,3732,3350,2840,2154,1798,2086,2029,1930,2535,2778,2433,2197,2351,2801,2310,2392,2698,3086,2906,2291,1903,2054,2619,2934,2880,2604,1917,1542,2552,3018,3121,2894,3240,3625,3662,3466,3273,2972,3076,3430,2873,2223,2253,2086,2176,2041,1805,2072,2392,2642,2499,2248,2406,2414,2123,2194,2361,2376,2890,3298,3721,3696,3735,3390,3198,3247,3319,3538,3570,3530,3506,3601,3569,3588,3726,3532,3122,3301,3520,3680,3551,3410,3596,3082,3100,3040,2426,2389,2721,2941,2878,2174,1513,1388,1864,2436,2473,2495,2763,2631,2499,2558,2523,2402,2425,2416,2367,2426,2615,2856,2819,2920,2990,3034,3185,3295,3601,3440,3237,2719,2472,2411,2741,2671,2526,2938,3122,3494,2854,2279,1781,2210,2231,1945,2496,3086,2878,3211,3926,3588,2503,2191,3012,2917,2569,2564,2530,2489,2450,2460,2497,2498,2710,2803,2563,2481,2828,3349,3559,3707,3723,4027,4104,3773,3528,3535,3404,3530,3650,3420,2741,2304,2007,2060,2482,2529,2657,2502,2841,3515,3526,3436,3835,4097,4396,4264,3835,3098,3115,3364,3186,3308,3577,3492,3268,3454,3440,3364,3488,3523,3300,3966,4241,4090,3970,3469,3107,2971,3107,3370,3374,3469,3569,3508,3443,3392,3366,3366,3074,2879,2943,2894,2601,2588,2598,2587,3160,2943,2225,2213,2263,2456,2693,2648,2291,2508,2656,2509,2295,2302,2221,2235,1820,1538,1842,1483,1530,2451,2369,2286,2835,2540,2426,2104,1851,2194,2001,1879,1643,1831,1999,1890,1817,1669,1772,2448,2640,2821,3276,2623,2541,2238,2024,1753,1777,2511,3124,2612,2797,3345,3087,3104,2813,2056,2128,2139,1997,1608,1408,1455,1900,2038,2148,2928,3276,3051,2978,2558,2343,2765,2871,3053,3331,3113,2151,1392,1469,1774,1775,1920,2016,1971,2017,2068,2214,2136,1517,1411,2347,2576,2011,1682,1894,2229,1875,1601,1615,2286,3287,3654,3474,2764,2386,3204,3820,3830,3725,3535,3664,3838,3755,3548,2488,2071,2535,2237,2019,1877,1821,2130,2047,1904,2223,2424,2493,2355,2042,1876,2087,2047,1815,2114,2296,2208,2072,2478,2834,2587,2706,2260,2365,2417,2886,2175,1712,1629,2032,2062,1917,2211,2226,2020,2016,1767,1624,1501,1498,1513,1494,1590,1711,1703,1678,1552,1587,2477,3251,2950,2419,2166,1824,2489,2801,2577,2050,1782,2031,2177,2027,1983,1654,1937,2047,1942,1804,1771,1581,1608,1888,2159,2328,2484,2361,2097,2065,1958,2155,2414,2087,1799,1999,2265,2075,1936,2015,2121,1857,1634,1900,1594,1476,1460,1713,1950,1951,1962,1741,1565,1492,1592,1666,1588,1874,2051,2111,2821,2637,2477,2754,2740,2631,2940,3418,2987,2201,2254,2745,3103,3002,2191,1717,1846,1835,1699,1738,1716,2047,2366,2386,1848,1779,1924,2045,2204,2190,1917,1859,1998,1848,1698,1713,1781,1941,1946,1748,1579,1701,1769,1574,1831,2317,1845,1533,1827,1907,1996,2603,2837,2701,2600,1904,1694,2052,1997,1801,1600,1814,2420,2154,1563,1569,1782,1842,1951,1862,1897,1865,1817,2062,1938,1903,1787,1427,1550,1776,1823,1942,1730,1548,1549,1740,1572,1769,2227,2250,2315,2327,2095,1996,2170,2589,2245,1899,2499,2267,1942,2425,2351,2182,2142,1958,2134,2272,2402,2632,2556,2332,2614,2271,2074,2393,2857,3138,3190,2995,2767,2624,2592,2698,2850,3094,3334,3248,3289,3143,2744,3090,2939,2995,3786,4060,3900,3683,3112,2693,2879,3240,3234,3062,2746,2010,1772,2020,2696,3630,3860,3853,3817,3794,3458,3370,3217,2562,1936,2451,2776,2889,3168,3225,3328,3416,3531,3439,3242,3292,3156,3018,3284,3478,3286,2888,2846,2974,2894,2955,3332,3511,3582,3580,2968,2541,1832,1654,1817,1609,1742,2048,1817,2324,2844,1711,1351,2093,2403,2238,1957,2079,2447,2424,2544,2634,2461,1989,1909,2236,2532,2210,1961,1608,2019,2070,1770,1665,2062,2526,2763,2669,2375,2258,2210,2169,2259,2039,1970,2134,2236,2124,1900,1847,1786,1952,2728,3474,3328,3193,3131,2562,1808,1706,1774,1653,1766,2197,2217,1684,1688,1787,1984,2571,1740,1351,1556,1832,2030,2172,2024,2060,1684,1669,2334,2589,2430,2518,2622,1820,1897,2315,1886,2093,2265,1857,1572,1690,1731,1983,2167,1947,2210,2474,2090,1660,1577,1537,1528,1536,1574,1677,2008,1843,1698,2154,2562,2586,2743,2841,2616,2300,2094,1968,2190,2204,2051,2171,2047,1526,1474,1418,1671,1676,1664,1969,1709,1437,1488,1478,1885,2108,1598,1544,1460,1528,1419,1462,1485,1827,1743,1707,1911,1830,1745,1854,1808,1714,1958,1978,2004,1740,1707,1614,1833,1614,1484,1679,1737,1878,2285,2318,2554,2061,1538,1654,1840,1837,1814,2060,2214,2033,1742,1610,1915,1931,1718,1559,1360,1447,1617,1772,2043,2797,2966,2762,2775,2703,2885,3051,3017,3014,2476,1566,1476,1864,1656,1671,1783,1830,1952,2011,1943,1929,2222,2447,2348,2371,2533,2380,1997,2051,2192,2460,2530,2558,2424,2173,1986,2058,2619,2686,2619,2997,3296,3183,3190,2800,2474,3031,3593,3370,3449,3770,3709,3664,3642,3538,3373,3243,3444,3541,3848,3984,3289,3113,3289,3251,3116,3310,3319,3353,3560,3522,3483,3599,3571,3326,3054,3022,2806,2354,1974,1944,2556,3451,3545,3480,3486,3416,3297,2883,2352,2031,2015,2423,2788,2909,2469,2412,2168,2122,2038,1913,1844,1789,1712,1732,1972,2257,2355,2307,2254,2221,2223,2363,2940,3540,3719,3719,3508,3193,2945,2801,3109,3708,3950,3767,3982,4411,4277,3973,4216,4381,4228,4151,4220,4030,3986,3555,2666,3041,3630,3894,3960,3596,3435,3481,3466,3373,3144,3255,3354,3504,3647,3502,3306,3198,3132,2972,3069,3145,3028,2863,2535,2485,3438,3737,3861,3750,3793,3777,3696,3902,4465,4521,4079,3872,3639,3602,3909,4313,4347,4135,3903,4056,4320,4336,3980,4083,4257,4200,4337,4155,4068,3941,3686,3694,3429,3563,3783,3564,3529,3828,3773,3649,3750,3524,3479,3552,3624,3709,3902,3688,3393,3160,3244,3499,3529,3551,3168,3167,3662,3542,3529,3494,3549,3464,3447,3593,3688,3479,3444,3276,2995,3163,3484,3885,4082,3959,3796,3780,3816,3926,3823,3593,3270,2721,2125,2226,2687,3166,3042,2708,2436,2320,2390,2526,2496,2474,2930,3295,3253,3196,3160,2879,3269,3282,2952,3110,3187,3297,3154,2752,2413,2507,2686,2533,2618,2911,2465,1891,1794,1971,2309,2470,2417,2619,2900,2922,2954,2944,3000,3009,2906,2663,2634,2641,2758,2651,2601,2706,2668,2557,2510,2449,2502,2597,2622,2450,2361,2382,2335,2216,2111,2073,2100,2162,2136,2134,2002,1697,1607,2047,2374,2480,2219,1863,1736,1757,1790,1815,1787,1716,1704,1771,1876,2087,2360,2459,2366,2225,2237,2245,2097,2093,2314,2467,2589,2730,2736,2669,2734,2768,2646,2668,2997,3297,3566,3688,3761,3789,3703,3706,3710,3934,3240,2398,3655,3672,2950,2784,2912,3611,4046,3581,3564,3281,3630,4140,3742,3172,3740,3907,3403,3436,3594,2939,2799,2984,3076,3263,2847,2508,2933,2979,3863,3911,3740,3858,3736,3565,3452,3275,3407,3275,3134,2610,2767,2570,2548,2857,3143,3405,3416,3628,3915,3972,3862,3684,3528,3537,3717,3595,3956,4005,3924,3510,3162,3441,3731,3704,3536,3506,3548,3219,2829,2942,2908,2651,2688,2701,3189,3216,2502,1571,1526,2261,2891,3122,3171,2653,2222,1951,2170,2272,1869,1647,2247,2996,3331,3339,3460,3105,2952,2798,2501,2055,1908,1986,2256,2555,2756,2699,2595,2921,3378,3415,3312,3020,2332,2142,1920,2243,2272,2201,2062,1958,2226,2100,2469,2146,2054,1801,1551,1879,1745,1623,1936,2007,2126,2861,2713,1944,2159,2404,2551,2323,2597,2360,1844,1628,1688,1898,2380,2231,1788,2046,2513,2894,3042,2618,2402,3041,2458,1917,2171,2852,3029,2720,2232,2010,2480,2313,2057,1912,1952,2552,2933,3050,3278,3397,3400,2906,2792,2822,1903,1841,1987,1925,1674,2198,2567,2004,1810,2065,2040,1960,1910,1524,1750,1802,1994,2175,2547,2317,2354,2226,1938,2086,2536,2770,2915,2611,2148,1781,1714,1854,2411,2275,2143,2444,2245,2162,3028,3893,3348,2643,2995,3378,2921,2641,2565,2733,2957,3124,3050,2911,2788,2709,2770,2767,2938,2956,2940,2938,3041,2918,3101,3465,3090,2652,2614,2662,2858,2706,3002,2548,1946,1839,1747,2093,2699,3143,2242,1856,2165,1947,1638,2179,2440,2305,2865,3063,2865,2719,2122,2425,1964,2148,2631,2326,1808,1964,2271,2105,1979,2160,2878,3088,2588,2210,2684,2953,2669,2313,2030,1860,2382,3122,3294,2301,1906,1831,1826,1911,2021,2035,2112,2359,2319,2060,1890,1775,1713,1730,1864,1809,1865,1778,1788,1770,1772,1720,1774,1889,1761,1633,2321,2880,2400,2291,2652,2647,1933,1713,2016,2241,2539,2990,3212,3239,3188,2774,2178,1928,1836,2058,2372,2104,1748,2072,2344,2807,2746,2599,2691,2701,2743,2973,3076,3159,3332,2817,2399,2662,2756,2478,2385,2293,2021,1898,2017,2404,3121,3334,2896,2364,2350,2768,2862,2735,2350,1193,1344,2846,3131,3571,3451,2757,2997,3210,3133,3272,3239,3073,2894,2652,3072,3286,2684,2077,1875,1998,1985,1861,2298,3140,3344,2896,2830,3042,2966,2967,3376,3416,3484,4129,3226,3482,4504,4660,3297,2626,2593,2248,1970,2276,3085,3002,2202,1998,2061,2478,3067,3328,3607,3629,3389,3150,3228,3481,3425,3319,3172,3260,3144,3364,3022],[2801,2355,2244,2713,2390,1946,2696,3176,2829,2337,2087,2089,1994,1762,1678,1842,2426,2524,2483,2381,2165,2425,2597,2666,2357,1866,2282,2504,2216,2944,3382,3396,3373,2905,3066,3023,3023,3437,3394,3118,3009,2877,3040,3175,3276,2932,2845,2825,2801,2520,2112,2670,3292,3175,3106,2856,2482,2229,2454,2288,2260,2262,1951,2153,2312,2212,1718,1562,2187,2292,1714,1617,1351,2061,3238,3693,3974,3905,3462,2458,1711,1929,2590,2512,2074,2611,2977,2530,2073,1919,1855,1853,2697,3839,4340,3605,2499,1953,2037,2405,2956,3053,2421,2535,2659,2740,2675,2996,2967,2927,3353,3537,3197,2843,3189,3457,3381,2588,2149,2454,2553,2012,1635,2397,2898,2732,2436,2301,2453,2901,2625,2257,2997,3422,3320,3426,3749,4003,3890,3490,3041,3171,3400,3322,3344,3480,3482,3495,3585,3606,3732,3785,3529,3130,3318,3672,3863,3520,3626,3713,3611,3770,3730,3785,3400,2897,2742,2355,1664,1637,2086,2421,2492,2463,2575,2852,2443,2274,2401,2325,2325,2368,2333,2430,2481,2940,3448,3090,2956,3140,3544,3474,3294,3568,3939,3601,2968,2498,2325,2816,2726,2544,2579,2813,2727,2047,2008,1972,2098,2217,1761,1714,2445,3010,2545,2765,3492,2888,1989,2529,2888,2308,1993,2140,2196,2220,2208,1909,1827,2219,2298,2496,2411,2240,2507,2872,3119,3471,3728,3772,3570,3286,3152,3310,3736,3853,3670,3221,2786,2343,1833,1528,1952,2536,2788,3301,3563,3863,3862,4091,4061,4074,4108,3969,3484,2787,2437,2619,3039,3493,3549,3353,3442,3044,3406,3448,3130,2255,3179,4212,4197,3676,3354,3353,2917,2727,3023,3277,3482,3444,3476,3475,3448,3464,3254,2808,2786,3153,2841,2822,3071,3045,2974,3157,2851,2690,2541,2022,1983,2395,2156,2237,2391,2361,2075,1989,2287,2129,1860,1728,1670,2099,1789,1712,2566,2636,2206,2614,2073,1882,1639,1887,2059,2199,2318,2116,2150,2396,2200,1907,1731,1608,1839,2105,2254,2442,2439,2709,2209,1820,1691,1544,2416,3466,3421,3283,3465,2989,2467,1968,1896,1700,2104,1951,1776,1719,1648,1637,1336,1864,2777,3096,3234,3217,2979,2645,2867,2744,2831,3185,3023,2556,2045,1942,1968,1719,2003,2195,1715,1782,2099,2039,2288,2026,1632,1798,1807,1573,1630,2198,2383,1869,1694,2033,2353,3121,3540,3413,3328,3625,3884,4081,3924,3708,3571,3686,3750,3417,3536,2790,2401,2829,2548,2062,1770,2141,2446,1838,1779,2723,2392,2548,2759,2422,1993,1848,2005,1993,2021,2509,2792,2559,2617,2711,2349,2446,2895,2662,2565,2668,2329,2168,2002,2257,2334,1996,2252,1976,1791,1895,1850,1829,1531,1544,1640,1694,1790,1764,1490,1605,1690,1938,2778,3073,3239,3249,2858,2328,2312,2611,2624,2471,2160,2011,1914,1915,2102,1870,2310,1859,1990,1981,1697,1549,1694,2322,2382,1803,1655,1551,1622,1770,2020,2828,2734,2029,1743,2230,2570,2599,2798,2452,1969,1557,1595,1447,1471,1510,1464,1594,1904,2080,1988,1805,1620,1556,1665,1562,1523,1964,2228,2430,2593,2137,2181,2213,1956,2280,2989,3265,3186,2919,2908,2646,2888,2440,1824,1491,1471,1386,1481,1674,1942,2006,1787,2009,1687,1698,1920,2136,2159,2106,1699,1807,1880,1902,1940,1597,1931,2405,2492,2223,1980,1723,1787,1728,2166,2097,1683,1635,1782,2208,2823,3068,2746,2337,2099,1688,1890,2148,1847,1846,1760,1449,1564,1713,1685,1631,1726,1893,2056,1949,1789,1883,1828,1754,1688,1842,1996,1924,1993,2058,1839,2017,1708,1554,1568,1760,1855,2308,2202,1911,2376,2278,1977,1843,1476,1748,1830,2020,2569,2007,1658,1926,1826,1903,2156,2046,1990,1722,1643,1970,2237,2049,2310,2489,2605,2797,2844,2631,2728,3108,2844,2714,2965,2714,2314,2643,2646,2455,2944,3374,3193,3165,3245,3185,3727,3950,3751,3617,3300,3007,2696,3023,3056,2849,2333,1946,2202,2600,3186,3845,3985,3872,3572,3471,3386,3440,3522,2491,1809,2510,2756,2784,2977,3252,3516,3377,3442,3477,3406,3270,3407,3348,3347,3394,3044,2832,3343,3433,3122,2872,3233,3454,3575,3537,3077,2908,2354,1836,1814,1748,1838,1553,1509,1483,1813,1989,1866,2212,2644,2044,1604,2006,2260,2124,1897,1878,1757,1754,2057,2156,2181,2214,1886,1655,1834,1797,1759,1764,1744,2000,2536,2764,2569,2525,2209,1945,2140,2000,1992,1902,1714,1836,1894,1826,1649,1837,2248,3301,3030,2830,3009,2931,1961,1770,1875,1672,1648,1860,1954,1564,1646,1626,2316,2454,1905,1751,1793,1839,1821,2027,2334,2349,1782,1626,1844,1810,1907,1914,2587,2291,1984,1956,1815,2392,2953,2342,1527,1349,1689,1829,1699,1605,1743,2274,2378,1866,1458,1613,1601,1569,1507,1626,2261,2218,2294,2196,2364,2596,2740,2676,2787,2442,1859,2125,2151,1602,1537,1786,1915,1626,1545,1513,1644,1590,1518,1931,1950,1729,1778,1763,2067,2183,1915,1736,1691,1699,1731,1795,1758,1812,1832,1841,1870,1714,1685,1701,1643,1672,1759,1821,1789,1710,1853,1613,1446,1346,1250,1409,1661,1612,2140,2182,2417,2068,1547,1781,1942,1841,1926,2076,2068,1955,1742,1724,2280,2388,1960,2017,1714,1643,1601,1447,1861,2609,2828,2916,3030,2865,2919,2941,2787,2954,2545,1643,1626,1691,1580,1667,1654,1812,1931,1740,1594,1682,1877,2166,2230,2409,2687,2171,1706,1913,2331,2389,2291,2513,2901,3086,3133,3016,2980,2714,2336,2509,2941,3125,3187,2842,2780,3420,3394,2451,3181,3315,3656,3561,3541,3494,3436,3531,3769,3715,3762,3703,2954,2987,3171,3105,3327,3521,3593,3407,3356,3447,3537,3482,3408,3364,3352,3274,3379,3355,3318,3329,3239,3168,3509,3850,3516,3353,3388,2996,2142,2030,2381,2664,2526,3198,2844,2083,1826,1789,1709,1791,1869,1894,1802,1931,2746,3398,3198,2829,2644,2392,2218,2103,2247,2655,3099,3596,3656,3564,3333,3086,3450,3738,3907,3727,3754,4012,4054,4323,4688,4428,4456,4396,4316,3904,3554,2826,2609,2966,3123,3974,4384,4065,3830,3459,3287,3232,3051,3283,3399,3670,3719,3687,3710,3310,2967,3005,3204,3124,3010,2965,2661,2314,3541,3938,3661,3716,3804,3594,3485,3798,4401,4420,4135,3820,3671,3752,4178,4417,4400,4253,3893,3829,4151,4184,3940,3841,4021,4152,4196,4136,3986,3843,3698,3719,3598,3613,3718,3637,3738,3897,3808,3754,3786,3546,3547,3602,3582,3613,3749,3650,3442,3144,3093,3322,3448,3293,2877,3159,3354,3253,3277,3266,3231,3080,3002,3109,3132,3013,2834,2363,2015,2102,2509,2625,2467,2345,2391,2421,2259,2183,2170,2127,1996,1753,1634,2013,2127,1957,1718,1674,1634,1625,1577,1569,1668,1923,1975,1814,1714,1729,1830,1747,1724,1739,1769,1987,1919,1770,1787,1810,1628,1564,1643,1746,1719,1774,1579,1451,1513,1621,1722,1756,1909,2241,2358,2352,2469,2460,2429,2360,2241,2147,2124,2132,2074,2074,2178,2107,1973,1960,1960,1967,1892,1836,1778,1815,1863,1824,1761,1710,1735,1791,2012,2366,2413,2666,2649,2003,2202,2661,2942,3155,2666,1895,1685,1697,1722,1728,1801,1970,2147,2341,2438,2411,2469,2430,2396,2346,2346,2523,2645,2723,2885,3042,3206,3485,3153,3042,3441,3699,3475,2682,2916,3705,3759,3870,3746,3571,3487,3638,3362,2960,2663,2608,3484,3769,3769,3920,3851,4269,3827,2698,3107,3466,4203,4376,3844,3131,3432,3738,3414,3154,3155,3241,3370,3291,3485,3756,3135,3227,3704,3942,4407,4527,4360,4229,3996,3680,3499,3269,3319,3321,3396,2915,2889,2690,2616,2670,2935,3154,3176,3629,3955,4021,3884,3671,3574,3403,3404,3566,3781,3740,3754,3386,3060,3464,4047,3849,3583,3429,3365,2807,2575,2878,2811,2713,2492,2698,2932,3175,3032,2094,2078,1979,2591,3035,2931,2531,2389,2181,1948,1981,1798,1572,1740,2268,2789,3333,3372,3087,3132,3492,3508,2747,2144,2055,1880,1996,2250,2578,2774,2840,2834,3209,3129,3275,3187,3020,2365,1910,2131,2424,2042,1909,1891,2210,1968,2013,1923,1881,1848,1805,1748,1704,1836,2046,2432,2792,2444,2115,2217,2185,2432,2664,2490,1823,1667,1769,1661,1416,1490,1727,1689,1846,2165,2372,2753,2928,3134,3046,2375,2311,2845,2665,2274,2452,2554,2209,2796,2476,2347,2221,2500,2924,3027,2677,2269,2523,2750,2337,2714,2517,1785,2002,1975,1615,1727,2093,1854,1626,1837,2047,2190,2224,1871,1676,2011,2166,2354,2233,2152,2370,2130,1893,1876,2066,2566,2744,2632,2601,2687,2683,2164,2359,2216,1954,2212,2356,2413,2314,2895,3660,3651,3626,3824,3379,2130,1673,1720,2697,3406,3096,2792,3017,3043,2375,2551,2682,3078,3305,2962,2813,2980,3328,3387,3130,2314,2250,2396,2382,2742,2578,2632,2450,1957,1782,1730,2073,2649,2536,2318,2620,2541,1833,1834,2339,2305,2500,2329,2374,2083,2047,2257,2564,2003,1621,1771,1702,1624,1844,2028,2286,2853,3100,3536,3206,2872,2907,3134,3053,2343,1836,1859,1966,2589,3108,3144,2479,2207,2263,2154,2085,2037,1993,1975,2024,1967,1987,1929,1905,1813,1903,1864,1852,1782,1782,1771,1647,1713,1850,2013,1920,1771,2177,2724,2656,2107,2258,2381,1982,1699,1743,1886,2487,3138,3308,3261,3293,3155,2938,2386,1847,1839,1947,2477,2116,1897,2580,2451,2666,2695,2412,1939,1950,2199,2830,2996,3218,3320,2757,2386,2125,1991,2206,2117,1873,2180,2339,2242,2407,3044,3504,3437,3096,2832,2813,2739,2401,1611,975,1630,2735,3175,3502,3123,2463,2375,2665,2893,3018,3190,3059,3063,2977,3347,2987,2142,1856,1787,1936,1985,2054,2602,3062,2857,2577,2299,2486,2541,2314,2941,3377,3456,3947,3391,2756,3498,3606,2675,2374,1908,1814,2149,2827,2622,3182,2610,2104,1987,2215,2999,3695,3847,3708,3305,3141,3471,3762,3735,3417,3238,3124,2713,2576,2612],[2244,2041,2302,2779,2154,2064,2542,2439,2489,2463,2300,1964,1682,1506,1456,1874,2270,2405,2509,2480,2701,2633,2008,2155,2420,1832,2426,3140,3007,2897,3248,3461,3438,3083,3008,3095,3090,3471,3417,2904,3078,3077,3145,3155,2973,2745,2899,2829,2788,3256,3238,3146,3293,3239,3210,3056,2868,2454,2410,2244,2264,2522,2484,2268,2036,2012,2176,2189,2443,2075,1700,1912,1812,2079,3029,3925,3991,3327,2819,2199,1526,1907,2626,2311,2474,2802,2768,2432,2003,1928,1635,1612,2592,3930,4224,3596,2679,1959,2054,2545,3359,3374,2554,2677,3407,3219,3006,3185,2854,2699,2994,2918,2271,1913,3156,3067,3028,2752,2272,2629,2798,2332,2496,3055,3097,2391,1995,2187,3152,3037,2733,3185,4094,4128,3724,3708,4002,4340,4256,3426,2586,3063,3274,3320,3376,3542,3565,3574,3629,3606,3569,3680,3218,2493,3066,3794,3874,3274,3582,3606,3760,4034,4220,4464,4056,2940,2187,1801,1676,2280,2448,2401,2367,2437,2576,2580,2441,2450,2503,2363,2338,2432,2436,2547,2604,2540,2701,3022,2858,3487,3762,3344,3334,3370,3693,3676,2874,2125,2186,2345,2336,2364,2319,2471,2430,2115,2060,2201,2278,2040,1739,1528,2045,3072,2398,2069,2552,2897,2242,2344,2768,2393,1838,1993,2057,1930,1816,1659,1597,1576,1810,2476,2338,1892,1769,1842,2095,2248,2276,2557,2718,2801,2945,3121,3484,3576,3454,3006,3141,3226,2564,1898,1682,1753,2376,3112,3420,3799,3870,3908,3752,3849,3919,3970,4008,3417,2944,3019,3137,3271,2952,2531,2887,3052,3521,2985,2280,2169,3073,4331,4201,3486,3296,3549,3332,2655,2764,3340,3409,3461,3508,3432,3508,3507,2951,2545,2200,2652,2909,3291,2979,2644,2955,3212,3329,3527,3317,2577,2156,1872,1856,2388,2558,2099,1554,1646,2120,2220,1925,1870,1953,2052,2179,2213,2349,2353,2194,2049,1731,1728,2194,2564,2420,2407,2580,2261,2272,2385,1998,1795,1863,1832,1876,2005,1864,1932,2152,2448,2374,1984,1953,2271,2175,2081,2078,2149,2221,2056,2450,2211,1981,1898,2065,1981,2128,2043,1622,1571,1620,1842,2526,3144,3327,3295,3194,2972,2886,2763,3002,3206,3021,2787,2524,2146,2105,1675,1953,1792,1251,1659,1851,1786,2026,1810,1736,2274,2460,2031,1745,2200,2155,1885,1755,2500,3277,3641,3771,3472,3428,3717,3926,4100,3748,3584,3572,3517,3448,3408,3522,2880,2347,2307,2159,1918,2029,2686,2646,2045,2239,2709,2207,2618,2618,2155,2056,1972,2046,2032,1928,2365,2700,2567,2721,3153,2742,2003,2076,2158,2862,3145,2676,2558,2150,1918,1918,1917,1953,1650,1565,1764,1677,1946,2061,1870,1849,1894,1726,1633,1533,1731,1626,1687,2518,2862,3311,2938,2194,1843,1650,1716,2026,2534,2250,2226,2096,2275,2071,1963,2020,1797,1792,1746,1725,1649,1547,1709,1681,1624,1583,1747,1704,1890,1979,2172,2410,2200,1946,2234,2631,3140,3530,2457,1873,1834,1654,1388,1440,1432,1450,1664,1920,1986,2038,2127,1900,1607,1648,1512,1483,1638,1974,2126,1887,1797,1926,1566,1696,2732,2712,2831,3104,3210,3034,2480,2329,1930,1710,1471,1418,1543,1733,1703,1920,2032,1863,1582,1645,1700,1628,1743,2098,2243,2081,1879,1660,1749,1672,1522,2420,3023,2520,1831,1811,1660,1768,2330,2586,1850,1648,1866,1727,2359,3052,2848,2407,1946,1978,2012,1971,1807,1766,1901,1795,1609,1631,1731,1773,1798,1838,1948,2020,1790,1549,2040,2257,1758,1697,1619,1713,1704,2106,2610,2585,2236,1854,1804,1662,1588,1866,2468,2614,2399,2362,2008,1774,1938,1556,1603,1869,2192,2032,1642,1796,1732,1488,1621,2055,1748,1810,1759,1864,2195,2522,2547,2685,2644,2524,2588,2643,2483,2762,3211,2889,2911,2996,2369,2240,2854,2614,2435,2805,3298,3882,4027,3553,2911,3222,3710,3518,3262,3269,3263,2942,2874,3053,2895,2594,2612,2699,2921,3464,3917,4183,4045,3750,3549,3531,3542,3759,3094,2300,2734,2721,2727,2985,3277,3510,3314,3302,3291,3264,3399,3348,2983,3078,3539,3418,3269,3242,3210,2840,2839,3162,3233,3232,3238,3206,3012,2378,1779,1629,1544,1715,1727,2170,1516,1422,1804,2112,2432,2408,2079,1870,1586,1843,2025,1628,1546,1657,1935,2396,2019,1600,1882,1962,1748,1481,1601,1999,2126,1726,1709,2125,2698,2546,2731,2394,2187,2322,2127,2097,1848,1614,1793,1743,1786,1798,1810,2396,2764,2621,2696,3033,2467,1337,1494,1837,1817,2113,1974,1837,1867,1651,1927,3066,2631,1969,1645,1738,1697,1579,1720,1513,1844,1804,1813,1684,1628,1776,1741,2315,2436,2019,1625,1525,2281,2470,1844,1628,1708,1730,1469,1396,1611,1610,1979,2486,2114,1816,1773,1454,1678,1569,1238,1404,1766,1980,1765,2237,2530,2288,2530,3009,2375,1792,2209,2170,1729,1564,1518,1590,1740,1730,1630,1942,1992,1813,1899,1853,1897,1810,1757,2208,1821,1733,1738,1797,1769,1716,2029,2169,1885,1786,1793,1722,1544,1648,1655,1704,1721,1736,2196,1994,1762,1658,1548,1520,1526,1639,1666,1836,1603,1914,1866,2196,2041,1582,1645,1628,1709,2000,2010,1742,1792,1698,1648,2187,2519,2292,2242,2157,1841,1312,1303,1733,2331,3012,2962,3022,2922,2968,2998,2968,2686,1982,1495,1543,1559,1616,1777,1887,1904,1732,1536,1512,1781,1848,2228,2347,2301,1804,1250,1381,1934,2335,2051,2129,2723,2965,2586,3255,3388,3060,2846,2585,2446,2457,2636,2903,2720,3138,3673,3394,3274,3664,3475,3930,3542,3018,3480,3929,3987,3665,3727,3710,3419,2872,2955,3063,2878,2612,3120,3620,3641,3400,3111,3382,3410,3435,3434,3506,3705,3720,3859,3781,3746,3692,3406,3541,3829,3603,3195,2916,2886,2292,2462,2806,2696,2526,3340,3461,2551,2048,1906,1860,1961,1936,1823,1812,2710,3530,3697,3376,3184,2946,2569,2436,2284,2185,2025,2137,2506,3264,3573,3691,3564,3962,4133,4000,3697,3597,3871,4200,4344,4320,4374,4415,4443,4328,3860,3596,2733,2631,2990,3012,3508,4177,3963,3736,3771,3541,3288,3284,3406,3528,3620,3582,3548,3637,3675,3387,3072,3562,3606,3714,3650,3610,3443,3664,3649,3553,3724,3665,3470,3354,3798,4476,4570,4452,4020,4039,4151,4244,4420,4395,4100,3671,3624,3947,4024,3916,3769,3798,3971,4019,3948,3927,3907,3750,3681,3687,3760,3860,3768,3763,3883,3872,3742,3507,3399,3516,3574,3407,3308,3442,3487,3318,3162,3074,2943,2831,2499,2219,2297,2354,2322,2244,2145,2104,2151,2172,2091,2032,1948,1964,1829,1782,1704,1589,1626,1724,1738,1709,1694,1672,1730,1664,1577,1533,1567,1716,1688,1604,1564,1665,1691,1621,1613,1649,1732,1720,1626,1613,1701,1749,1701,1638,1626,1712,1710,1670,1682,1691,1704,1734,1758,1684,1654,1688,1636,1607,1629,1689,1645,1559,1571,1720,1763,1817,1805,1866,1848,1766,1663,1714,1817,1778,1708,1701,1709,1755,1803,1676,1610,1744,1761,1696,1658,1607,1712,1730,1670,1652,1615,1620,1622,1688,1698,1898,2608,2894,3160,3055,2145,2334,2925,3027,3031,2581,1829,1689,1691,1888,2142,2366,2581,2553,2590,2641,2646,2718,2873,3029,2953,3009,3211,3306,3500,3422,3174,3474,3976,3108,2733,3111,3581,3409,3109,3444,3526,3617,3936,3648,3090,2978,3330,3073,2479,2218,2801,3731,4038,4073,4108,4296,4249,3552,3002,3329,4168,4548,4428,4085,3853,3748,3876,4034,3474,3706,3790,3584,3544,3968,3648,3239,3617,3867,4001,4751,5264,5002,4500,4101,3670,3604,3508,3386,3258,3159,3198,3099,2802,2768,2768,2913,3329,3515,3530,3850,3813,3548,3623,3598,3527,3586,3745,3803,3627,3115,2662,2750,3339,3925,3463,3612,3708,3307,2136,1988,2580,3190,2784,2094,2338,2600,2829,2864,2820,2587,1816,2054,2343,2304,2144,2178,2018,1904,2056,1661,1885,2464,2464,2155,2674,3145,3266,3074,3199,3670,3295,2862,2693,2236,1889,1915,1980,2248,2736,2912,2868,2975,3197,3414,3486,3152,2692,2728,2585,2362,2097,2234,2793,2336,2088,1861,1697,1567,1703,1963,2452,2927,3418,3040,2392,2352,2462,2324,2373,2566,2467,2235,1977,1560,1569,1503,1567,1838,2332,2554,2612,2654,2305,2398,2976,3001,2544,2497,2840,2774,2352,2182,2461,2956,2524,2547,2505,2631,2887,2946,2852,2963,2877,2735,2700,2840,2556,2980,2414,1944,2342,2286,1800,1626,1616,1466,1781,2552,2589,3086,3151,2988,2699,2036,1839,1795,1736,2091,2184,1635,1646,1894,2284,2437,2391,2625,2292,2769,2741,2352,2307,1925,1885,1900,1848,2210,2401,3166,3570,3591,3801,3891,2474,1654,1684,1738,2668,3120,2286,1766,2095,2220,2056,2842,2877,3031,3173,2574,2529,3119,3149,3384,3404,2190,2169,2522,2320,2376,2348,2592,2602,2076,1786,1673,1885,2104,1947,2185,2710,2750,2205,2060,2421,2264,2442,2061,1746,1647,2128,2710,2381,1659,1463,1533,1732,1919,2120,2214,2706,2979,3072,3304,3163,3103,3178,3117,2841,2319,2159,2421,2048,2059,2225,2249,1969,2031,2198,2094,1879,1978,2260,2102,2379,2206,2275,1992,1819,1652,1661,1608,1719,1974,2122,2003,1637,1865,2169,2030,1694,1551,2008,2438,2347,1929,2376,2731,2365,2170,2003,2122,2770,3112,3211,3260,3218,3110,2725,2156,1866,1979,2549,2953,2262,2548,3142,2703,3064,3125,3060,2973,2406,2413,2622,2591,2876,2603,1780,1698,2005,1986,2337,2147,2129,2508,2707,2732,2839,3204,3422,3294,3068,3008,2921,3152,2921,2143,1511,1644,2419,3156,3410,3103,2655,2398,2632,2853,2769,3009,3192,3374,2790,3131,2733,2255,2104,1808,1773,1776,2040,2478,2546,2346,2591,2518,2556,2518,2610,3294,3513,3649,3983,3798,3374,3083,2520,2424,2082,1892,1996,2404,2676,2579,2994,2690,2285,2122,2256,2812,3372,3510,3546,3088,3110,3648,3858,3824,3537,3450,3213,2932,2967,3272],[2034,1815,2002,2326,1929,2128,2457,2130,2532,2424,2138,1636,1721,1736,1909,2246,2204,2117,2262,2463,2834,2469,2042,2273,2903,2484,2627,2972,3342,3270,3281,3373,3624,3560,3145,2916,2867,2877,2554,2953,3154,2766,2957,3171,3064,2958,3018,3150,3262,3597,3720,3367,3200,3325,3367,3321,2869,2404,2359,2166,2210,2469,2298,1698,1214,1622,2204,2277,2588,1951,1880,1942,2162,2434,2679,3244,3809,3305,2269,1989,1708,1694,2485,2146,2217,2499,2666,2633,2596,2164,1778,1732,2009,2918,3413,3231,3008,2525,2751,3100,3694,3940,3439,2964,2997,3055,3097,2887,2375,2224,2460,1931,1261,1610,2686,2435,2377,2371,2324,2714,2889,2839,2596,2586,2633,1907,2094,2182,2734,2699,2762,3348,4148,4228,4073,4100,4276,4733,4553,3843,3020,3420,3317,3334,3515,3571,3621,3695,3718,3572,3540,3607,3481,2546,3149,3842,3727,3418,3145,2693,3418,4003,4003,3869,2993,1764,1971,1989,2255,2526,2402,2391,2385,2476,2533,2598,2501,2230,2290,2403,2526,2742,2798,2979,3054,2864,3432,3552,2797,3373,3558,3102,3329,3580,3591,3360,3109,2591,2437,2122,1864,2089,2531,2520,2425,2279,2104,2172,2366,2458,2169,2026,2184,2831,2635,2326,2994,3017,2456,2263,2448,2855,2194,2060,2196,2053,1849,1941,1996,1742,1881,2104,2054,1897,1784,1770,1948,2023,2043,2033,2254,2530,2932,3045,3131,3275,3179,3111,3313,3190,2890,2418,1889,1866,2418,2324,2475,3532,3862,3818,3676,3499,3504,3753,4188,3853,3863,3763,3031,2255,2044,2670,3011,3282,3585,2993,2806,3220,3548,4228,3710,3004,3090,3198,3166,2974,3116,3138,3218,3528,3596,3274,3020,2977,2153,2607,2352,2396,3062,3551,2851,2395,2739,2956,3216,3440,3362,3191,2770,1828,1960,2221,2294,1923,1493,1549,1830,2042,1867,1723,1806,1792,2065,2625,2204,2009,2330,2205,1878,2230,2656,2511,2030,1953,2038,2106,2334,2282,1786,1910,2504,2372,2397,1937,1779,1860,1888,2486,2698,2083,2454,2851,2230,2025,2081,2042,1917,1847,2540,2626,2042,2043,2243,2353,2691,2288,1823,1654,1637,1548,2279,3168,3378,3340,3132,3017,3067,3002,3233,2603,2709,2620,1841,1603,1708,1779,2454,2344,1592,1798,2209,1906,1634,1447,1610,2025,2302,2187,2155,1808,1699,1731,1789,2815,3717,3952,3798,3325,3432,3444,3635,3918,3247,3248,3474,3273,3230,3465,3741,3528,2971,2745,2284,1855,2162,2885,2718,2675,2810,2742,2650,2749,2385,2063,1977,2055,2090,2253,2260,2374,2466,2654,2709,3144,2657,2062,2006,1942,2408,2685,2113,1848,2061,1780,1720,1795,1935,1809,1827,1939,1909,1847,2063,2446,2516,1957,1854,1544,2042,1976,1607,1430,1499,2043,2746,2503,1907,1606,1768,1658,1527,1589,1812,2153,2088,1996,1736,1592,1694,1728,1655,1703,1956,1869,1714,2003,1825,1665,1563,1516,1558,1866,1713,2034,2646,2342,1974,2144,2460,3162,3262,2367,1849,1799,1618,1535,1676,1715,1670,1816,1874,1864,1875,1942,2048,1883,1896,1778,1682,1756,1800,1810,1722,1736,1899,1876,2887,3394,2381,2770,2885,2819,2762,2395,1941,1727,1704,1514,1577,1597,1535,1770,1965,2371,2005,1734,1701,1631,1490,1489,1739,2215,2666,2426,1843,1592,1610,1619,1731,2265,2028,1696,1794,2053,2106,2390,2348,1553,1757,1773,1513,2001,2216,2613,2326,1662,1849,2545,2678,1948,1636,1663,1536,1655,1840,1569,1527,1711,1801,1663,1624,1527,1650,2530,2819,2008,1848,1507,1533,1606,1737,2241,2474,2653,2684,2395,1765,1400,1478,1859,2415,1918,1921,2268,1903,1829,1528,1547,1842,2049,2003,2023,2492,1999,1560,1481,1669,1481,1851,2887,3155,2932,3013,3044,2696,2556,2425,2764,2786,2579,2665,2775,2785,2888,3004,2794,2984,3086,2767,2933,3232,3748,4053,3989,4060,3565,2973,3232,3417,3153,3021,2931,2540,2331,2823,3016,3168,3220,3093,3233,3509,3753,4183,4108,3540,3381,3647,3532,3488,2882,2553,2742,2800,2743,3010,3133,3159,3336,3352,3124,3176,3300,3272,3145,3207,3553,3629,3428,3144,2867,2719,2776,2873,2842,2876,3027,2741,2259,2285,1972,1698,1591,1605,1830,2216,1756,1606,1843,1963,2408,2307,1733,1542,1523,1947,2009,1367,1550,2002,2280,2418,2285,1908,1818,2471,2409,1588,1970,2288,2048,1870,1540,1737,2424,2575,2441,2175,2145,2172,2096,2026,1783,1757,1786,1888,2040,1994,1930,2198,2234,2264,2557,2856,2290,1575,1801,2439,2270,2180,2348,2294,2023,1632,2514,3338,2708,2092,2105,2242,1986,2242,2373,1412,1766,1686,1487,1535,1603,1792,1832,1857,1779,1636,1570,1542,1515,1626,1892,2122,2097,1639,1482,1516,1546,1564,1954,2272,1919,1919,1591,1884,2032,1859,1410,1605,1970,2148,2285,2443,2157,1759,2204,2525,2159,1852,2046,1918,1747,1647,1525,1618,1726,1652,1726,1910,2178,2580,2169,1750,1910,2109,2239,2388,1786,1568,1721,1858,1666,1632,2072,2396,1974,1747,1692,1646,1523,1708,1626,1672,1675,1550,1597,1650,1669,1754,1781,1696,1729,1928,2101,1786,1625,1685,1696,1760,1584,1568,1770,1798,1921,2143,1929,1736,2002,1907,2088,2523,2622,2422,2209,2362,2309,1622,1312,1390,1885,2649,2946,3056,3034,2962,2630,2360,1956,1601,1618,2102,2033,1981,2230,1973,2051,1864,1670,1644,1773,1893,1832,1821,1699,1195,1344,1694,2326,3140,3010,2646,2967,3022,3146,3574,3503,3239,3491,3706,3532,3277,3006,2401,2507,2600,2898,3098,3620,3670,3539,3938,3443,2734,3409,3789,3679,4320,4429,3906,3508,3155,2994,3309,3090,2414,2499,2941,3444,3560,3758,3928,3840,3849,3768,3813,3897,3891,3861,3819,3890,3671,3255,3449,3629,3311,2982,2498,2352,2110,2160,2631,2713,2536,3222,3641,3428,3001,2070,1718,1815,1936,1977,2145,2869,3086,3053,3190,3161,2755,2391,2511,2576,2460,2241,2114,2080,2103,2512,2916,3413,3759,3826,3849,3746,3531,3623,3949,4049,4046,4211,4300,4227,4012,3469,3094,2705,2774,3175,3083,3268,4049,3875,3619,3746,3721,3417,3320,3483,3628,3627,3549,3558,3505,3720,3818,3458,3824,3904,4051,4094,3908,3386,3184,3227,3673,3798,3625,3564,3595,3806,4104,4421,4608,4212,3995,4028,4244,4473,4288,4007,4059,4135,4108,4002,3704,3605,3565,3732,3805,3788,3972,4081,3797,3642,3518,3472,3653,3552,3339,3505,3544,3529,3596,3454,3208,3064,2815,2623,2664,2564,2368,2188,2002,1867,1854,1834,1909,1960,1877,1814,1831,1891,1937,1918,1870,1915,1982,2000,2076,1989,1822,1898,2059,1910,1879,1931,2036,2114,1948,1857,1797,1833,1749,1758,1854,1907,2079,2080,1951,1921,2143,2120,1847,1902,2041,2060,2164,2049,1958,2071,2070,1832,1748,1839,1740,1672,1626,1631,1631,1687,1814,1809,1824,1739,1721,1798,1875,1855,1777,1981,2110,1991,1986,2159,2137,2107,2197,2226,2241,2231,2151,2158,2322,2413,2464,2449,2267,2244,2138,1830,1658,1722,1670,1650,1663,1610,1609,1603,1685,1590,1600,1663,1868,2415,2655,2937,3034,2497,2382,2800,2789,2602,2396,2073,2136,2461,2768,2921,2933,3098,3164,3120,3170,3248,3219,3138,3147,3375,3576,3613,3879,3914,3532,3222,3560,3560,3062,2879,3312,3624,3329,3382,3550,3718,3811,3697,2951,2838,2956,2831,2901,2715,3019,3296,3043,3092,2902,2954,3131,3168,3130,2973,3033,3857,4332,4040,3467,3010,2519,2878,3108,3467,3963,3573,3540,3528,3632,3610,3574,3906,3928,4163,4720,4984,5090,4500,3906,3697,3735,3850,3720,3133,2875,3385,3608,3264,3211,3271,2679,3140,3619,3594,3693,3342,2965,3119,3294,3228,3362,3614,3360,3273,2708,2365,2585,2881,3056,2841,2832,2680,2076,1776,1746,2069,2922,2464,1956,1938,2113,2093,2501,2370,1657,1294,1463,1739,1876,1871,1676,1741,1891,1998,1778,2104,2088,2158,1832,2003,2617,3028,2928,2883,3484,3742,3431,3162,2799,2497,2127,1979,1901,2069,2314,2713,2956,3059,3183,3167,3191,3244,3087,2820,2576,2158,2851,3191,2544,1890,1867,1867,1621,1576,2182,2612,2712,3195,2849,2101,2132,1979,2155,2293,2325,2453,2647,2348,1390,1459,1676,2104,2288,2714,2980,2743,2712,2758,2762,2902,2875,2745,2472,2364,2521,3249,3029,2914,2876,2745,2438,2325,2678,2925,2938,2902,2731,2120,2226,2766,2988,3060,3141,2599,2161,2171,2384,2143,1667,1627,1644,2049,2886,3276,3674,3492,3150,2600,2258,2088,1885,1749,1812,2247,2090,1838,1887,2116,1885,1760,2042,1766,1785,1993,2272,2339,1972,1844,2441,2529,2757,2650,3463,3518,3627,3563,2850,1904,1915,2056,1884,2082,1976,1691,1758,1757,1770,2085,2687,2670,2767,2965,2639,3039,3518,3223,2922,2407,2001,1954,1863,1730,2083,2939,3183,2819,2356,2052,1970,1897,2220,1926,2063,2215,2489,2589,2660,2183,1950,1943,1857,1879,2180,2842,3021,2553,1809,2014,1860,1853,2134,2462,2426,2413,2380,2405,2338,2284,2311,2264,2197,2058,2102,2022,1970,2097,2341,2454,2060,1817,2287,2531,2624,2251,2662,2566,2533,2670,2250,2293,1948,1579,1426,1464,1502,1711,2114,2270,2166,1609,1858,1727,1472,1537,1619,2337,2752,2347,2129,2325,2593,2298,2339,2204,2657,2813,2900,2919,3060,3114,2792,2347,1853,1828,2453,2929,2844,2524,2419,2798,2409,2691,3118,3444,3614,3288,3228,3074,2859,2741,2462,2236,2142,2332,2170,2417,2353,2201,2412,2718,2905,2620,2235,2887,3591,3319,3329,2928,3545,3737,3375,2784,2247,2562,2791,2401,2181,2065,1914,2387,2818,2677,2899,3122,3672,4048,3715,2553,2405,2627,1822,1505,1493,2132,2150,2221,2154,2197,2343,2482,2588,3165,3432,3414,3408,3024,3016,3256,2294,2094,2220,1907,2151,2444,2433,2374,2450,2763,2867,2407,1883,2228,2384,2842,3160,3066,3046,3190,3421,3747,3705,3331,3213,3088,3057,2916,3354],[2097,1568,1588,2132,2410,2575,2677,2495,2750,2134,1880,1891,1918,1899,2179,2446,2625,2734,2535,2128,2656,2445,2743,2972,2691,2186,2193,2457,2971,3298,3243,3153,3395,3308,2968,2801,2899,2955,2944,3326,3366,2877,2943,2796,2802,2899,2686,2675,2687,3077,3572,3334,3250,3464,3473,3427,2861,2406,2305,2122,2013,2029,2045,1840,1607,2087,2436,2401,2196,2697,2348,1891,2072,2213,2292,2430,3561,3715,2692,2443,2120,1283,1862,2317,2590,2796,3023,3359,3360,2614,2150,2436,2574,2698,3018,3392,2985,2654,2511,2595,3394,4123,3762,2961,2428,2493,2620,2448,1552,1697,2320,2172,2178,2564,2655,2136,2203,2128,1842,2680,2933,3168,3035,2771,2140,1641,1770,1816,2134,2622,2541,3044,3842,4144,4288,4231,4284,4595,4696,3934,3165,3342,3348,3364,3414,3514,3799,3769,3607,3380,3592,3771,3843,3416,3626,3658,3374,3479,2984,2809,3660,3362,2497,1930,1887,1950,2462,2534,2598,2492,2472,2566,2669,2600,2472,2668,2630,2500,2623,2772,2825,2906,3138,3154,3215,3506,3901,4002,3888,3825,3639,3625,3802,3869,3286,2827,2407,2410,2311,1894,1361,1736,2397,2427,2286,2149,2217,2249,2258,3000,2557,2203,2045,2260,2036,2083,2866,2557,2172,2139,2032,2784,2654,2351,2293,2087,1974,2092,2147,2119,2114,2092,2096,2480,2432,2382,2580,2674,2481,2429,2658,2435,2176,2541,3066,3036,2833,3427,3406,2690,2739,2209,1630,1886,2879,2496,2442,3408,3813,3783,3618,3500,3641,3327,3730,3579,3825,3548,2728,2197,2234,2752,3198,3234,3288,3104,3215,3259,2938,2573,2428,2721,3021,3119,2867,2796,2731,2773,3347,3749,3750,3381,3137,2773,2062,2641,2734,2658,2922,3193,2749,2250,2532,3083,3340,2577,2510,2911,2792,2150,1825,1576,2102,2421,2028,1604,1666,1932,1773,1758,2155,2136,2600,3006,2261,1871,1791,1802,1945,2757,3533,3172,2023,1769,1642,2016,2449,2319,1996,2192,2445,2469,2176,1620,1727,1880,2256,3082,2972,1830,1690,2366,2230,2051,2096,2519,2895,2526,2895,3217,2297,1859,1810,1841,2485,2397,2307,2185,2267,2143,2546,3196,3476,3459,3200,3155,3049,3255,3351,2408,2529,2592,2036,1729,1989,1997,2126,2590,2686,3227,2977,1884,1708,1573,1716,2107,2342,2244,2240,1803,1548,1533,1932,3045,3404,3759,3608,3432,3432,3308,3436,3683,3386,3516,3598,3254,3297,3457,3520,3074,2865,2864,1897,1725,2359,3134,3219,3106,3075,2970,3076,3004,2584,2431,2249,2536,2153,1997,2379,2566,2708,2916,2865,2732,2597,2526,2037,1948,1617,1787,1625,2248,2508,2100,1858,1580,1865,1968,1780,2016,2103,1844,1741,1800,2157,1767,1823,1795,2630,2568,2048,1613,1547,1841,1988,2088,1890,1808,2098,1765,1646,1467,1673,2105,2077,1850,1503,1494,1660,1650,1693,1729,1996,1937,2032,2296,2094,1661,1527,1588,1655,1604,1936,2813,3002,2134,1847,1935,2294,2492,2351,1930,1701,1671,1656,1826,1891,1817,1816,1856,1977,1854,1700,1734,1773,1882,2042,1964,1955,1857,1642,1514,1544,1685,1660,1804,2963,2691,2654,3045,2962,3073,2668,2338,1947,1588,1843,1619,1668,1524,1620,2058,2319,2700,2943,2765,2081,1532,1594,1554,1467,1815,2293,2381,2347,2143,2101,1954,1615,1609,2095,2243,1851,1945,1934,2365,2007,1734,1727,1526,1422,1562,1731,2400,2270,1616,1612,2446,3342,2610,1850,1550,1453,1597,1765,1558,1691,1633,1674,1899,1722,1552,1791,2055,1939,2134,1956,1545,1832,1971,1815,2101,2255,2131,2540,2865,2152,1702,1732,1791,2066,1515,2270,2343,1780,1619,1510,1697,1901,2007,2350,2438,2664,2018,1481,1343,1569,1734,2065,2798,2969,2755,3073,3428,2811,2396,2497,2998,2797,2807,2829,2584,2852,3239,3311,3110,3326,3244,2862,3145,3099,3669,3726,3617,3750,3558,3180,3219,3306,3235,3104,3115,3033,2586,2337,2687,2966,3106,3126,3510,3738,3941,4018,3585,3028,3416,3664,3219,3031,2719,2763,2910,2973,2864,2875,2962,3068,3112,3075,2843,3007,3294,3420,3332,3538,3337,3223,3006,2976,3095,3156,3113,2934,2677,2872,3045,2303,2041,2229,2112,1714,1686,1726,1681,1891,1677,1509,1688,1845,2411,2543,2150,1838,1893,2656,2377,1753,2019,2313,2486,2799,2677,2121,1677,1866,1698,1666,2037,2036,1831,2032,1870,1770,2309,2603,2555,2280,2066,2058,2123,2161,2120,1926,1811,1993,2044,1982,2047,2164,2127,1809,2194,2878,2963,2419,2043,2470,2423,2357,2446,2451,2210,1819,2604,2925,2375,2014,2241,2145,2198,2573,2258,1685,1942,1722,1757,2145,2003,1795,1830,1853,1703,1588,1446,1466,1688,2092,2686,2818,2034,1476,1580,1454,1459,1922,2504,2201,1714,1741,2518,2909,2199,2126,1996,2182,2239,2377,2736,2300,2175,2245,2518,2430,2069,1864,1888,1807,1759,1739,1793,1841,1758,1660,1627,1727,2331,3060,2374,1952,1844,1637,1419,1552,1638,1508,1896,2305,2017,1836,1886,2153,2016,1750,1567,1577,1676,1690,1476,1505,1708,1590,1523,1660,1567,1440,1484,1577,1714,1751,1997,2097,1808,1540,1561,1553,1477,1676,1935,1891,1760,2330,2203,1772,1723,1896,2077,2350,2585,2286,2375,2373,1852,1482,1414,1560,1715,1928,2670,2906,2469,1949,1708,1726,1580,1589,1809,2774,2806,2730,2690,2222,2423,2125,1541,1437,1706,1841,1548,1427,1266,1467,1863,1924,2200,2972,3142,3085,3096,3020,3276,3569,3841,3926,4184,4185,4067,4047,3769,3252,3018,2542,2311,2654,3483,3727,3695,3818,3521,2953,3366,3724,3805,4225,4388,4179,3961,3513,3127,3354,3270,2852,3018,3347,3706,3714,3811,3895,4023,4119,4067,3872,3839,3884,3649,3522,3927,3686,3317,3521,3549,3428,3306,2650,2354,2170,2366,3248,3385,3096,3698,3780,3670,3354,2613,1897,1723,1880,2083,2305,2698,2797,2957,3309,3126,2516,2551,3162,2855,2846,2651,2309,2298,2224,2085,2202,2469,2841,3485,3686,3709,3372,3483,3915,3941,3978,4061,4232,4132,3480,2576,2199,2199,3021,3270,3138,3326,3681,3706,3554,3443,3432,3105,2850,3265,3720,3694,3493,2557,2108,2886,3638,3823,4052,3921,3286,3017,2596,2886,3726,3616,3770,3614,3735,3912,3903,3718,3931,4245,4242,4124,3980,4038,4244,4304,4119,3976,4131,4354,4089,3933,3798,3537,3437,3608,3826,3775,3709,3906,3842,3696,3548,3405,3243,2960,3090,3204,2965,2808,2686,2444,2247,2126,2031,1866,1842,1808,1777,1820,1932,2133,2299,2298,2331,2373,2540,2653,2742,2722,2604,2606,2699,2673,2625,2707,2746,2570,2238,2495,2872,2524,2853,3107,2728,2578,2721,2550,2031,1944,2124,2620,2768,2517,2754,2789,2756,2874,3393,3432,3431,3669,3154,2682,2755,2941,3061,2973,2858,2663,2703,2552,2163,2151,1969,1529,1389,1558,2134,2617,2267,1669,1940,2184,2620,2454,2093,2491,2752,2726,2524,2884,3075,3256,3348,3116,3044,3087,3220,3310,3450,3374,3347,3571,3532,3111,2696,2369,2179,2284,2387,2369,2286,2104,2136,2127,1941,1851,1770,1782,1991,2302,2525,2733,2916,2656,2359,2668,2823,2782,2732,2654,2735,2661,2717,2884,3011,3183,3197,3253,3460,3525,3602,3576,3528,3680,3701,3915,4156,3785,3368,3305,3406,3380,3399,3453,3689,3609,3329,2714,2806,3552,3731,3661,3166,3503,3830,3769,3595,3435,3483,3210,2673,2518,2835,2723,2218,2080,2304,2502,3064,3919,4108,3286,2178,2406,2338,2466,2802,2910,2790,2633,3208,3983,4264,3832,3713,3551,3773,3893,4039,4041,4428,4406,4453,4813,4641,4143,3872,3609,3315,3759,3928,3371,3327,3580,3494,3564,3432,3232,2834,2621,2684,3006,2920,2879,3089,2962,2536,2384,2256,1988,1988,1981,2128,2078,1921,1667,1441,1650,1891,1665,2285,2003,1749,1586,1826,1716,1981,2053,1522,1510,2022,1755,1796,2042,1823,2396,2503,2220,2273,1970,1874,1938,1685,1808,2244,2657,2876,3151,3118,3358,3455,3242,2901,2801,2686,2388,2150,1925,1952,2022,2435,2875,3134,2919,3002,2850,2659,2544,2262,2291,2428,2416,2041,1736,2124,2267,2047,2751,3219,3019,3544,4058,3442,2897,2367,1977,2214,2187,2392,2699,2637,2237,1418,1083,1434,1889,2156,2543,2780,2446,2648,2919,2893,2092,2319,2498,2094,1917,2755,3582,3344,3228,2874,2443,2296,2399,2556,2806,2741,2658,2512,2133,2468,2798,2523,2504,2932,3177,2208,1495,2828,3455,2492,1870,1647,2198,3001,3352,3152,3340,3376,2810,2500,2294,2286,2036,1787,2247,2895,2162,2366,2157,1750,1799,2105,2105,1805,1903,2164,2257,1929,2147,2812,2854,2661,2816,3264,3441,2995,2250,2183,1972,1793,2081,2184,2066,1767,1786,1814,1842,1899,2179,2388,2052,2436,3100,3222,3143,3335,3275,3076,2569,1954,1677,1380,1611,2768,3348,3051,2769,2187,1731,1930,1795,2026,2249,2205,1995,2118,2471,2654,2078,1801,2164,2300,2263,2658,2944,2759,2476,1991,2117,2131,2139,2122,2046,1920,1901,1905,1797,1700,1917,2214,2087,2242,2662,3328,3405,2935,2838,2944,2834,2220,2201,3003,2708,2585,2350,3357,2613,2486,2780,2795,2727,2192,1652,1493,1593,1880,1804,2086,2199,2161,1963,1802,1575,1788,1822,1644,2225,2631,2469,2690,2381,1815,1787,2288,2624,2620,2727,2906,2791,2773,2814,2677,2241,1716,2026,2549,2466,2342,2563,2150,2005,1811,1907,2249,2805,3012,2911,3012,2767,2600,2933,2600,2479,2980,3371,2756,2453,2800,2930,2743,2810,2809,2343,1901,3002,3782,3676,3692,3458,3514,3635,3647,3533,3253,3075,2878,2238,1657,1652,1685,2290,2654,2835,2988,2894,3155,3725,3457,2419,2308,2337,1874,1505,1472,1871,2126,2340,2188,2441,2540,2419,2510,2541,2844,3228,3005,2721,2601,2214,1664,1753,1959,2003,2346,2530,2431,2381,2659,2923,2569,2385,2321,2652,2407,2724,3162,2990,2920,2656,2564,3185,3343,3017,2967,2984,3060,3031,3106],[2159,1839,1930,2731,3324,3163,2677,2620,2818,2530,2582,2472,2161,2474,2717,2576,3019,3056,2696,1904,2133,2453,2620,2819,2467,2397,2277,2135,2587,3089,3072,2801,2875,2851,3089,3008,3116,3417,3489,3519,3561,3165,2745,2587,2554,2513,2645,2280,2533,3111,3294,2819,3010,3334,3328,3216,2752,2186,2072,2295,2287,2034,2188,2549,2285,2447,2310,1926,2086,2734,2610,2532,2248,1998,2205,2341,3516,3133,2890,2925,2466,1729,1794,2868,3586,3576,3560,3550,3334,2742,2349,2945,3023,2601,2667,2762,2463,2225,2096,2257,2867,3183,3095,2945,2407,2415,2335,2440,2316,2728,2786,2478,2436,2599,2482,2253,2555,2876,2842,3560,3320,3277,2894,2483,2016,1928,1892,1735,2226,2723,2645,2632,2437,3228,4093,4151,4408,4432,4518,3627,3152,3360,3407,3470,3437,3633,3859,3804,3535,3318,3643,3658,3564,3679,3380,3228,3327,3475,3517,3692,3491,2126,1732,2121,2407,2547,2469,2417,2411,2413,2476,2497,2497,2438,2554,2675,2534,2508,2421,2813,3217,3140,2823,2491,2647,3182,3912,4220,4067,3970,3682,3680,3881,3924,2974,2874,2618,2207,2167,2056,1510,1281,1891,2062,1629,1847,2154,2457,2392,2200,2066,2230,1933,1799,2054,2422,2423,1983,1853,2009,1922,2405,2885,2567,2334,2282,2272,2345,2405,2621,2753,2664,2399,2919,3452,3503,3483,3072,2776,2768,2732,2073,1479,1693,2138,2338,2406,2899,3030,2239,2438,2228,1870,2079,3091,3279,2964,3254,3708,3646,3698,3684,3853,3347,3683,3338,3383,3373,2774,2454,2461,2691,2989,2818,2576,2592,2441,2594,2547,2292,2234,2687,3062,2986,2731,2461,1836,2077,2630,3131,3438,3355,3335,3076,2132,2077,2496,2470,2318,2307,2246,2024,2304,3150,3495,2217,2127,2746,2822,2392,1842,1637,1992,2279,2108,1833,1883,2391,2469,2398,2555,2150,2217,2338,1809,1304,1540,1960,2044,2438,2557,2456,1692,1801,1787,2541,3006,2099,1767,1902,2030,2060,1759,1713,2064,2137,2359,3264,2756,1792,1891,2489,2437,2197,2122,2699,3022,2519,3162,3164,2351,2296,2049,1972,2049,2129,2180,2575,3238,3197,3111,3262,3252,3168,3209,3207,2801,3153,3254,2931,3133,2959,2131,1688,1854,1838,1831,2429,2944,3405,3616,2364,1605,1378,1444,2755,3419,2517,1866,1606,1598,1662,2073,3184,3060,3133,3408,3195,2761,2735,3055,3339,3509,3451,3441,3406,3408,3442,3435,3109,2906,2224,1647,2011,2592,2995,2866,2775,3065,2918,3012,2821,2273,2611,2854,2535,1881,1962,2479,2663,2658,2788,2811,2195,2068,2216,1953,1954,1697,1969,1991,2454,2674,2424,1783,1526,1652,1588,1520,1546,1670,1958,1708,1825,1993,2103,2143,2265,2214,1998,1903,1667,1685,1729,1771,1705,1648,1872,1886,1581,1526,1439,1881,2123,1837,1663,1492,1381,1619,2153,1894,1641,1670,1727,2065,2248,1881,1600,1506,1606,1839,1844,2222,2408,2228,2075,1945,1958,2149,2282,2165,1863,2010,1782,1570,1825,1965,1888,1893,1685,2012,1922,1696,1647,1976,2088,1644,2003,2156,1916,1704,1483,1531,1735,1725,2073,2309,2321,3155,3110,2839,2457,1814,2191,2225,2330,1909,1709,2073,1847,1945,2410,2586,2676,3300,3570,2817,2341,2085,1744,1895,2205,2692,3298,2995,2400,2083,1891,1423,1410,1915,2514,2514,2343,2012,2635,2477,2226,1793,1467,1495,1570,1564,1810,1947,1778,1942,1926,2520,2484,2266,1868,1540,1653,1614,1750,1844,1628,1627,1600,1571,1801,2066,1847,1516,1824,1903,1867,1862,1700,1938,2067,1990,2435,3118,3140,2215,2208,2202,1879,1871,1489,1976,2165,1687,1547,1587,1822,2061,1974,2204,2091,1970,1896,1678,1968,2290,2338,2642,2884,2876,2947,3208,3605,3410,3016,2472,2679,2699,2976,2840,2529,2901,3504,3461,2984,3416,3625,2824,2955,3015,3346,3416,3115,2908,3110,3240,3145,3429,3278,3190,3211,3350,2842,2114,2712,2799,3076,3526,3673,3671,3543,3372,3122,3020,3704,3638,3038,2888,2896,2744,2779,2809,2914,2938,3030,3080,2867,2824,2967,3051,3318,3130,2830,3098,3138,2987,2960,3031,3154,3352,3493,3282,2979,3097,3449,2977,2632,2378,1946,1691,1634,1579,1740,2128,1993,1812,1779,1932,1965,2471,2467,1920,2194,2909,2831,2144,1858,2146,2377,2548,2454,2275,1638,1394,1525,1659,1841,1874,2366,2989,2481,2241,2525,2632,2468,2141,1942,2105,2377,2289,2286,2030,1917,2302,2403,2302,2200,2014,1945,1643,2165,2956,3106,2394,1892,2029,2353,2626,2506,2495,2296,1968,2557,2476,2631,2448,2404,1865,1793,1943,2161,2416,2485,1892,1860,2272,2488,2155,1872,1914,1664,1554,1514,1802,1978,2003,2371,2430,1885,1838,1793,1504,1547,1987,2239,2163,2189,2730,3415,2623,2763,3165,2712,2806,2108,1867,1924,1932,2367,2724,2495,2173,1824,1921,1987,1857,1791,1810,1718,1685,1714,1841,1893,1668,2300,2338,1937,1880,1786,1627,1558,1846,1842,1574,1969,2661,2153,1680,1608,2233,2333,2024,1660,1393,1520,1722,1390,1582,1814,1732,1686,1933,1700,1375,1542,1598,1590,1605,1756,1959,1765,1602,1502,1583,1666,1826,1837,1733,1541,2172,2243,1730,1786,1968,2258,3007,2867,2057,2315,2102,1744,1605,1676,1886,1831,1890,2342,2387,2123,2121,2037,1823,1697,1861,1982,2747,2692,2498,2185,1939,2122,1913,1669,1964,2230,1847,1566,1688,1504,1810,2272,2522,2369,2427,2512,2921,3464,3970,3797,3525,3902,3959,4121,4140,4104,4137,3931,3660,3541,3286,2964,3168,3641,3641,3610,3708,3605,3650,3496,3570,3768,3996,4084,4208,4121,3702,3256,3398,3485,3580,3691,3839,3960,4006,4005,4188,4200,4052,3864,3692,3726,3853,3759,3606,3851,3755,3773,3659,3566,3873,3925,3450,3109,3013,3249,3427,3530,3927,3755,3295,3297,2894,2400,2147,1985,2017,2507,3397,3700,3385,3089,2838,2399,2324,2883,3551,3552,3505,3355,3011,2729,2360,2197,2120,2012,2076,2569,3125,3486,3422,3528,3752,3871,3935,3882,3739,3570,2806,1989,2170,2631,3377,3421,3310,3588,3838,3808,3616,3420,3356,3037,2940,3431,4124,3875,3582,1878,1038,1206,2083,2661,3594,3679,2295,1664,1401,2126,3448,3785,3706,3539,3614,3728,3722,3641,3733,3785,3979,4036,3824,3749,3640,3960,4034,3996,4094,4146,3833,3681,3664,3514,3413,3495,3766,3561,3495,3679,3806,3803,3618,3220,2710,2341,2371,2290,2098,1995,1939,1857,1786,1780,1813,1883,1997,2139,2307,2544,2809,3122,3253,3171,3074,3181,3610,3688,3672,3493,3254,3394,3584,3689,3642,3404,3176,2824,2386,2596,3310,3137,3360,3352,3312,3267,3160,2518,2238,2675,3182,3631,3386,2874,3076,3060,2966,3155,3706,4069,4295,4113,3328,2958,3030,3038,3197,3350,3521,3535,3405,3144,3272,3267,3212,3244,2646,2220,2902,3177,2289,1803,2137,2000,2141,2052,2101,2336,2432,2481,2455,2694,2856,2790,2753,2800,2880,2889,3044,3250,3424,3454,3595,3774,3894,3626,3046,2692,2578,2700,2813,2712,2471,2596,2767,2830,2759,2718,2386,2195,2471,2802,2689,2483,2574,2591,2322,2373,2551,2600,2752,2621,2707,2961,3283,3312,3061,3130,3521,3559,3718,3774,3747,3853,3729,3432,3734,4133,3994,3819,3415,3270,3252,3551,3694,3757,3450,3417,3542,3068,3476,3982,3749,3697,3705,3764,3558,3521,3694,3802,3393,3893,3608,3578,4025,3641,2769,2548,2811,2980,3254,4254,4136,3111,2861,3574,3603,3464,3326,2852,2575,2610,2934,3760,3897,3460,4013,3905,3617,3304,3360,3458,3416,3718,4750,5529,5244,4243,3826,3632,3410,3425,3237,3236,3199,3430,3737,3908,3749,3138,2468,2247,2176,3019,2857,1929,1760,2216,2184,1832,1883,1643,1495,1442,1683,1922,1832,1704,1746,1988,1970,1807,2095,1891,1458,1529,1983,1905,1742,1763,1556,1571,1795,1526,2049,2182,2411,2630,2394,2167,2057,1751,1778,2106,2268,2274,2783,2764,2480,2982,3493,3904,3819,3530,3256,2988,2922,3022,2912,2426,1951,1942,1860,2174,2605,2778,3066,2823,2564,2409,2595,2757,2627,2597,2266,2488,2666,2699,2204,2474,3167,3321,3550,4035,3482,2980,3250,2919,3161,3109,3199,3199,2976,2310,1417,1248,1564,1743,1790,2423,2564,2329,2430,2533,2678,2820,2958,2906,2710,2680,3329,3597,3228,3029,2610,2186,1997,2427,2632,2634,2831,2459,2289,2278,2665,2608,1934,1670,2429,3160,1983,1411,3107,3433,1848,1570,1937,2262,2793,2819,2204,2680,3371,2575,2091,2125,2408,1712,1579,1806,2138,1641,1666,1826,1816,1799,2044,2164,1671,1856,2414,2622,1963,2066,2372,2529,2725,2612,2180,2365,2582,2524,2915,2232,1625,1729,2176,2063,1742,1591,1670,1735,1960,2116,1931,2126,2409,2341,2698,2695,2352,2824,2888,2867,2414,1882,1572,1741,2409,2693,2509,2060,1757,1734,1687,1733,1767,1998,1944,2080,2307,2248,2250,1842,1955,2383,2203,2085,2100,1985,2042,1896,1837,1870,1764,1762,1763,1937,2381,2751,2553,2073,2186,2618,2850,2436,2590,2930,3074,3088,3129,3046,2575,2080,2263,2860,3454,3222,2639,2546,3039,2531,2222,2791,3410,3145,2340,1442,1387,1620,1931,1669,2140,2290,2158,2393,2090,1842,2036,1751,1708,1808,2055,2449,2751,2522,1981,1866,2245,2667,2540,2417,2591,2876,2702,2431,2744,2685,2398,2530,2260,2432,2310,2202,2306,2369,2377,2192,2003,1897,2335,2577,2651,2796,3008,3134,2305,1679,1802,2041,2117,2049,2151,2328,2699,2776,2534,2042,2068,3329,3579,3397,3278,3056,3044,3233,3414,3513,3505,3490,3282,2082,1833,1940,1975,2546,3022,2952,3000,3176,3132,3240,3099,2774,2446,1993,2060,1812,1669,1690,2265,2244,2251,2753,2580,1973,2043,2271,3397,3376,3024,3028,2229,1815,2148,2202,2174,2547,2730,2670,2540,2326,2563,2423,2116,2309,2645,2731,2420,2204,2437,2564,2417,2315,2684,3156,3097,2879,3052,3210,3109,2871,2983],[1897,2721,2962,2846,3009,2475,2366,2600,2598,2459,2601,2465,2319,2589,2687,2402,2633,2604,2267,1817,2134,2876,3311,2995,2338,2054,1872,2054,2530,2661,2401,2186,2684,3131,3166,3130,3153,3372,3588,3576,3438,3055,2592,2391,2361,2439,2592,2183,2632,3310,3150,2669,2769,2994,2863,2589,2750,2424,2570,2751,2732,2409,2668,2796,2432,2846,2621,1919,2015,2134,2322,2604,2518,1918,2088,2153,2256,2233,2814,3118,3200,2438,1914,3018,3724,3533,2954,2678,2730,3208,2699,3114,2405,1725,2044,2430,2540,2440,2540,2623,2844,2687,3238,3204,2531,2366,2341,2600,2711,3099,3234,2586,2216,2497,2708,2476,2136,2767,3565,3864,3835,3505,2835,2236,1968,2054,1972,1944,2321,2951,2762,2602,2261,2684,3751,3948,4012,4367,4180,3414,3421,3443,3452,3504,3548,3702,3732,3639,3429,3239,3396,3517,3666,3780,3704,3724,3762,3762,3536,3104,2664,1670,2010,2358,2232,2438,2586,2619,2588,2497,2540,2530,2408,2470,2464,2521,2365,2335,2459,2989,2977,2833,2503,1891,2349,2890,3343,3738,3603,3860,3858,3856,3998,4019,3474,3543,3394,2833,2975,2835,1799,1500,1780,1716,1365,1713,2164,2596,2601,2299,2343,2384,2276,2445,2944,2499,2210,2054,2030,2211,2230,2113,2688,2836,2534,2532,2429,2373,2603,3181,3206,3075,2696,2221,2445,3332,3503,2679,2174,2247,2290,2220,1948,1644,1731,1782,2027,1604,2270,2660,3078,3005,2299,1890,2448,3275,3074,2888,3514,3529,3574,3863,4159,3982,4161,3609,3276,3443,2898,2329,2294,2495,2349,3022,2664,2735,2380,2680,2797,2491,2298,2415,3006,3482,3199,2588,1672,2145,2874,2523,2684,3118,3042,2676,1786,1670,2270,2513,2503,2510,2210,2266,2547,3311,3242,2278,2214,2351,2179,2017,2048,2527,2884,2181,2092,2557,2244,2397,2889,2563,2611,2240,1878,1878,1685,1824,1938,1736,1821,2027,2210,1765,1865,1819,2148,2890,2286,1439,1672,1915,1712,1486,1660,1811,1792,1710,1856,2236,2136,2178,2323,2390,2828,3392,3406,3272,3210,2801,2468,2501,2604,2780,2339,1920,1554,1588,1991,2670,3254,3254,3120,3199,3056,2964,3134,3185,3150,3238,3041,3073,3413,3112,2303,2168,2390,2818,2890,2943,2867,3285,3889,2854,1864,1674,1654,2545,3249,2363,1779,1672,1750,2015,2119,2430,2775,3002,3171,3002,2478,2423,2590,2831,3459,3374,3506,3523,3458,3466,3416,3284,2718,1879,1726,1944,2261,2459,2269,2445,3001,2943,3156,2890,2358,2486,2490,2128,1581,1911,2646,2579,2408,1981,1732,1541,1902,2051,1962,1961,1725,1835,2104,2103,2355,2297,1872,1951,1886,1814,1792,1854,1966,1759,1591,1905,2140,2283,2457,2499,1929,1505,1418,1457,1636,1497,1686,1762,1569,1497,1456,1498,1578,1625,2030,2004,1789,2149,1728,1550,1788,2227,1833,1797,1640,1683,2188,2172,1722,1568,1704,2131,2457,2308,2081,1954,1933,1979,1992,1864,1959,2284,2007,1710,1788,1585,1424,1531,1842,1830,1648,1932,2022,1944,1917,1785,2168,2104,1809,2204,2091,2010,1913,1904,1830,1835,1909,1951,1797,2507,3295,3674,3552,2928,2636,2962,2907,3376,2303,1630,2026,2122,1877,1925,2093,2291,2986,3019,2562,2458,1938,1570,2613,2764,3228,3766,3307,2327,2146,2251,1638,1659,2364,2841,2798,2751,2118,2229,2746,2976,2621,1864,1499,1483,1573,1776,1860,1793,2199,2226,2062,1850,1952,1895,1626,1517,1627,1618,1590,1928,2072,1655,1881,2013,2026,1760,1487,1476,1591,1887,2006,2226,2442,1932,2002,2762,3452,3050,2168,2086,2352,2214,1803,2008,2855,2733,1841,1628,1741,1970,1971,1660,1716,1976,1965,2246,2392,2374,2709,2855,3053,3157,3053,3000,3492,3764,3674,2656,1914,2101,2305,2985,3284,2569,2685,3153,3343,3362,3495,3293,3165,3361,3531,3650,3404,3117,2931,3055,3249,2874,2932,3149,3272,3519,3485,2426,2068,2770,2820,2712,3066,3500,3520,3364,3410,3438,3283,3416,3194,2597,2526,2692,2640,2663,2842,2845,2888,3222,3160,3029,3172,3206,3111,3171,2974,2828,3137,3362,3322,3326,3431,3749,3773,3693,3400,2944,2895,3296,2954,2395,2019,1671,1639,1600,1525,1688,1998,2496,2253,1988,1912,1631,1866,2138,2207,2102,2291,2702,2010,1898,2556,2640,2218,2625,2739,1903,1574,1693,1946,2073,2060,2554,2731,2295,2399,2042,1860,1960,1874,1792,2142,2584,2418,2192,2343,2529,2281,2111,1976,1958,2059,2033,1864,2354,2470,2812,3137,2657,2360,2041,1707,2036,2574,2364,2065,2397,2687,3022,2761,2335,1596,1174,1142,1448,2446,2943,2084,1680,1465,2618,2478,1691,1614,1591,1704,1713,1925,2121,2004,1873,1757,1896,1896,1870,1749,1752,2419,2578,2764,2299,2296,2426,2422,3156,3132,2558,2549,2078,1721,1614,1888,2149,2488,2240,1880,1753,1807,1879,1830,1958,2039,1524,1606,1803,2105,2125,1627,1806,1788,1921,2019,1765,1764,1977,2170,1713,1668,1824,1716,1671,1526,1488,1686,1920,2114,1822,1542,1886,2148,1454,1753,1852,1970,1669,1625,1730,1400,1656,1844,1637,1488,1402,1576,1533,1518,1607,1776,1666,1782,1859,1986,1757,1770,1768,1752,1914,1941,2872,3125,2227,2165,2210,2055,1941,1923,2031,2068,2071,1934,1988,2096,2647,2850,2580,2412,2375,2167,2123,2674,2687,2164,1715,1782,1686,1605,1844,1954,1939,1681,1729,1910,1715,1879,2743,2850,2260,1716,1783,2545,3667,4141,4070,3998,3790,3300,3616,3903,3959,3770,3442,3418,3334,3220,3130,3328,3484,3560,3461,3693,3814,3794,3724,3754,3840,3930,3979,4156,4101,3990,3549,3172,3406,3576,3791,3950,3767,3724,3824,4140,4201,4024,3885,4007,3806,3850,4053,3838,3529,3522,3692,3676,3675,3973,3978,3586,3387,3422,3234,3184,3207,3816,3611,3273,3199,3044,3010,2874,2732,2684,2880,3374,3674,3797,3278,2636,2376,2739,3177,3161,3139,3576,3850,3630,3547,3317,2557,2197,2430,2393,2137,2260,2569,2750,3156,3520,3418,3327,3792,3769,2741,1782,2340,3074,3585,3902,3687,3528,3895,3994,3839,3908,3759,3488,3321,3602,3639,3781,3688,3230,1710,858,906,881,1162,2534,3462,1932,1357,2051,1930,2942,3777,3696,3726,3689,3594,3642,3539,3552,3914,4219,4144,3968,3719,3209,3550,3896,3857,3939,3970,3833,3770,3775,3723,3628,3551,3689,3669,3618,3407,3106,2791,2454,2290,2156,2032,2000,1917,1897,1820,1869,1891,2060,2248,2474,2674,2858,3044,3205,3295,3304,3362,3359,3276,3418,3480,3696,3724,3736,3347,3138,3481,3796,3786,3243,2924,2639,2421,2429,2929,3480,3574,3581,3617,3684,3422,2756,2565,3538,4113,4078,4023,3444,2814,2942,3150,2890,2797,3084,3341,3480,3509,3459,3208,3240,3316,3460,3858,3958,3872,3782,3811,3757,3416,3360,3704,3265,2551,2391,2375,1896,1660,1741,1704,1814,1986,2156,2274,2482,2426,2193,2229,2367,2601,2702,2707,2734,2798,2720,2631,2850,2987,2886,2973,3227,3190,3076,2835,2722,2798,2801,2778,2787,2910,2924,2953,2917,2880,2851,2612,2542,2865,2493,2239,2018,2017,1904,1706,1824,2078,2490,2438,2492,3046,3341,3366,3022,3365,3492,3474,3506,3652,3618,3583,3501,3352,3849,3915,3768,3805,3450,3067,2986,3715,3632,3591,3339,3249,3220,3417,3846,3399,3006,3472,3325,3292,2954,2965,3341,3221,3400,4084,3994,3531,3525,3724,3670,3537,3216,3029,3460,4361,3828,2796,3733,4787,4908,4613,4288,4013,3728,3748,3641,3996,3814,2921,3101,2883,3068,3620,3316,3011,3255,3471,3659,4164,3742,2369,2940,3371,3294,3269,2957,2853,3224,3538,3916,3817,3121,2701,2626,2727,2119,2213,2251,1961,2406,2527,1943,1566,1588,1895,1872,1621,1657,1860,2129,1946,1744,1633,1807,1580,1729,1785,1582,1635,1887,1969,1827,1587,1610,1802,1657,1512,1590,1870,2307,2174,1896,1836,2010,1974,1695,2326,2844,2651,2632,2017,2331,2630,2984,3382,3406,3542,3526,2995,2976,3387,3426,3168,2678,2298,1958,1891,1944,2242,2752,3047,2746,2317,2491,2607,2730,2755,2342,2686,2965,2890,2358,2260,2908,2849,2961,3399,3253,3244,3930,3052,3001,3480,3440,3295,3317,2390,1495,1641,2362,2482,2281,2876,2578,2543,2030,1908,2325,2666,2072,2215,2810,3231,3726,3364,2562,2171,2094,2250,2345,2240,2562,2354,2461,2166,1974,1879,1926,2019,1756,1497,2206,2655,2072,2077,2617,2442,1285,1265,1978,2052,2483,2901,2454,2622,3436,3063,2900,2901,2612,2049,2127,2480,2231,1753,1946,2049,1940,1680,1554,1544,1648,1720,1882,1826,1618,1870,2250,2631,3216,2600,1846,2578,2856,2403,2412,2136,2193,1961,1748,1820,1830,1805,1859,1890,2233,2259,2566,2940,2237,1921,2200,2017,2056,2792,3016,2786,2283,1980,1744,1972,2019,1910,1756,1677,2106,2002,1798,1796,1974,2400,2236,2286,2555,2198,2024,1838,2004,2142,2030,1989,1921,2019,2736,2850,2510,2270,1960,1958,1985,2680,2745,2966,2591,2071,2224,2314,2289,2146,2180,2171,2263,2088,2259,2717,2473,2497,2512,2578,3307,3078,2266,2459,2939,2573,2144,2447,2813,2475,2032,1507,1576,1711,1530,1902,2656,2548,2257,2395,2250,1978,2050,1614,1677,1652,1866,2530,2521,2242,1951,1787,2200,2407,2003,1841,2242,2511,2480,2275,2236,2807,2608,2792,2850,3064,2615,2407,2885,2817,2618,2403,2330,1954,2116,2293,2705,2898,3045,3073,2396,1892,1825,1858,2038,1895,1892,2025,2731,2845,2535,2033,1810,2832,3499,3334,2798,2207,2533,3065,3398,3316,3172,3419,2677,1941,2034,2375,2138,2233,2836,2821,2971,3132,2951,2785,2497,2958,2922,2788,2430,2057,1807,1715,1808,1859,2136,2619,2765,1823,1857,2414,3466,3237,3066,3186,2555,1883,2136,2569,2508,2491,1718,2624,2510,2332,2504,1903,1826,2462,2808,2769,2426,2025,2085,2185,2685,2986,3105,2921,2694,2567,2869,3157,3360,3406,3204],[1825,3361,3771,3007,2730,2602,2648,2701,2358,1958,2282,2366,2206,2031,2067,2341,2404,2135,2142,2003,2273,3265,3566,3200,2585,1851,2122,2824,2843,2605,2509,2114,2534,3006,3123,3145,2967,3067,3198,3132,2999,2834,2524,2470,2607,2964,3210,2734,2910,3369,3241,3321,3129,2590,2557,2193,2770,2511,2705,2837,2810,2532,2612,2341,1860,2156,2171,2296,2181,2009,2100,2244,2457,2242,2375,2479,2574,2730,3098,3163,3051,2656,2127,2354,2458,2453,2597,2578,2764,3532,3379,3086,2295,1982,2166,2351,2394,2695,3144,2944,3212,3254,3297,2985,2534,2375,2482,2647,2821,3183,3020,2343,2165,2397,2828,2750,2170,2413,3275,3594,3836,3686,2994,2087,1694,2087,2419,2380,2823,3035,2728,2730,2950,2799,3104,3642,4041,4251,3852,3225,3518,3602,3565,3540,3508,3499,3485,3453,3591,3785,3850,3952,4017,3935,3921,3975,3821,3764,3682,2629,1702,1848,2277,2476,2609,2601,2836,3155,2879,2668,2769,2601,2587,2546,2305,2340,2506,2923,3055,2871,2425,1960,2666,3151,3392,3000,2436,2484,2512,2835,3074,3370,3652,3652,3618,3417,2946,2861,3370,3216,1990,1455,2114,2546,2197,2053,2436,2831,2764,2757,2577,2225,2282,2558,2296,1802,1979,2347,2208,2161,2472,2156,2332,3016,2770,2714,2465,2265,2618,3308,3399,3327,3151,2772,3044,3639,3628,3025,2094,1708,1760,2222,2124,1536,1561,1566,2165,2411,2485,2907,3741,3819,2840,2110,2531,2887,2665,2301,3020,3198,3298,3813,4014,3959,4261,4046,3429,3002,2620,2203,1988,2293,2242,2954,3021,3042,2952,3293,3031,2419,1992,2133,3088,3952,3941,3573,2778,2923,3522,3280,3045,3131,2775,2128,1811,1746,1916,2163,2426,2623,2375,2485,2719,3065,2625,1729,1643,2162,2306,2142,2197,2282,2177,1632,2368,2638,2155,1905,2176,2355,2496,2219,1788,1966,2285,2492,2121,1699,2084,2618,2181,1887,2066,1715,1729,1981,1783,1278,1334,1550,1600,1729,1829,1861,1378,1330,1653,1718,1578,2230,2844,2299,3016,3773,3762,3521,3103,2579,2181,2318,2778,2441,1871,1834,1837,1890,2081,2220,2036,2330,2729,3028,3009,3088,3316,3372,3113,2840,3033,3365,3519,3151,2552,2691,2899,3112,3053,3052,2915,3376,3703,2912,2187,1722,1747,2452,2795,2023,1700,1636,1543,1666,2009,2171,2247,2588,2965,2954,2877,3227,2719,3060,3178,3142,3387,3484,3506,3594,3296,2522,1875,1741,1539,1620,1948,2231,2031,2341,2436,2731,3084,3095,2939,2296,2086,2206,1972,2355,2495,2138,2291,1985,1709,1673,1985,2186,2322,2355,2049,2016,2193,2273,2307,1977,1744,2066,2180,1919,1860,1848,1848,1887,1709,1500,1631,1787,2055,2221,1967,1593,1477,1530,1637,1750,2015,2289,1897,1521,1454,1486,1537,1763,2310,2096,2122,2901,2511,1837,1921,1907,1681,1744,1652,1594,2082,3136,2987,2115,1986,2361,2554,2579,2154,2215,2045,1864,1830,1643,2002,2204,1858,1702,1689,1726,1716,1724,1904,1680,1793,2065,1958,1951,1780,1658,1794,1602,1779,1826,1884,1647,1793,1936,2075,2074,2100,1982,1904,2255,2696,3422,3614,3410,3538,3321,3016,3418,2482,1735,1951,1805,1609,1553,1660,1925,2556,2012,1934,2001,1781,1941,2322,2344,3056,3550,2987,2223,2094,2082,1830,2368,3088,2938,2464,2252,1841,1880,2730,3378,2837,1998,1819,1677,2036,2233,1997,2124,2439,2610,2527,2173,2235,2166,1711,1678,1838,1700,1895,1947,1931,1611,1702,1815,1791,1527,1503,1729,1824,1808,2229,2701,2348,1731,2006,2689,2910,2499,2160,2054,2536,2452,1834,1937,2404,2437,2170,2197,2590,2303,2154,1825,1687,1854,1857,2349,2806,2811,2974,2831,2923,2951,3072,2896,2908,2930,2912,2480,2262,2257,2407,3466,3407,3011,3311,3470,3323,3451,3494,3097,2949,2949,3316,3610,3285,2706,2929,2997,3295,2842,2887,3352,3414,3554,3105,2403,2457,2646,2514,2309,2505,2730,3059,3251,3341,3281,2912,2988,2621,1962,2209,2574,2663,2911,3229,2801,2858,3144,2987,2810,3184,3203,3193,3354,3340,3341,3540,3676,3703,3701,3648,4013,3991,3549,3042,2818,3038,3419,3187,2507,1986,1810,1770,1467,1595,1648,1625,2263,1875,2138,2105,1667,1751,2667,3360,2365,1722,2492,2322,2185,2555,2686,3042,3462,3338,2357,1792,1870,2008,2074,2247,2447,2764,2909,2056,1669,1994,2064,1786,1937,2334,2253,2133,2235,2395,2529,2048,1724,1558,1655,1828,1954,2231,2375,2180,2828,3210,3145,3007,2262,1546,1730,2132,1866,1613,1707,1969,2087,1930,1879,1758,1541,1037,1156,1709,2072,1812,1510,1496,2743,2691,2286,2097,2020,2120,2099,2004,2126,2316,2197,2089,2307,2368,2046,1913,1751,1973,2365,2534,2437,2423,2243,2556,2630,2433,2182,1892,1848,1650,1467,1766,2054,2105,1964,1891,1963,1923,1957,1960,2232,2030,1642,1729,1771,2030,1996,1576,1567,1760,2029,2083,1753,1844,2198,2470,1817,1615,1676,2079,2264,1694,1510,1574,1651,1872,1886,2061,2114,1722,1399,1565,1686,1712,1335,1339,1598,1526,1681,1813,1849,1597,1410,1482,1432,1430,1632,1686,1556,1571,1842,2042,1722,1654,1644,1815,1883,2151,2522,1988,1924,2134,2013,1866,2198,2260,1865,1928,2023,1671,1511,1635,2415,2586,2663,2874,3003,2468,2047,2250,2759,2730,2603,2598,2094,1602,1938,2047,2232,1875,1867,1805,1658,2443,2967,2449,1952,1791,2183,2800,3675,3580,3742,3706,3620,3281,3451,3739,3803,3382,2621,2778,2985,2887,2884,3054,3127,3218,3427,3609,3850,3979,4111,4144,4068,4013,3905,3987,4080,4256,3678,3030,3155,3496,4124,4156,3816,3610,3757,4113,4067,4188,4048,4065,3863,3725,3906,3725,3399,3373,3564,3552,3670,3824,3794,3578,3572,3381,3250,3398,3366,3574,3415,3255,3135,3047,3051,3008,3043,2955,3010,3319,3710,3799,3297,2907,2627,2741,3019,3027,3293,3295,3475,3454,3770,3831,3362,2964,3111,3025,2632,2239,2150,2075,2357,2770,2530,1991,2342,2931,1796,1576,2853,3454,3808,4071,3730,3417,3548,3509,3683,4019,3580,3208,3269,3740,3847,3607,3303,2943,2595,2135,1416,1038,992,2020,3230,1924,1467,3070,3332,3716,4040,3883,3807,3570,3417,3651,3627,3770,4068,4265,4145,3683,3669,3198,3461,3916,3748,3574,3653,3776,3764,3771,3750,3700,3642,3519,3228,2849,2570,2394,2271,2165,2036,1952,1887,1872,1993,2098,2298,2504,2799,2930,3046,3205,3255,3256,3366,3403,3431,3354,3424,3485,3507,3824,3859,3871,3972,4078,3826,3860,4221,4144,3745,3537,3582,3318,3300,3519,4004,4184,4202,4047,3880,3626,2857,2524,3399,4197,4051,4012,3871,3219,2846,2934,3140,2862,2784,2987,2984,2965,3133,3836,3771,3745,3719,3442,3714,3897,4039,4112,4049,3995,3601,3264,3156,3124,2632,2225,1774,1606,1560,1621,1699,1774,2041,2303,2409,2199,2094,2286,2153,2250,3189,2939,2762,2495,2337,2416,2417,2401,2333,2639,3045,3009,2674,2664,2594,2754,2779,2762,2788,2814,2785,2845,2906,2888,2894,2923,2797,2428,2775,2369,2389,2068,1841,1973,2176,2373,2659,2732,2287,2350,2597,2730,3309,3247,3795,3763,3713,3624,3673,3711,3549,3320,3195,3658,3630,3518,3748,3719,3418,3654,3454,3204,3252,3253,3192,3074,3064,3124,2974,3316,3428,3143,3006,2871,3137,3371,3174,3311,3485,2943,2490,2834,2819,2486,3056,2446,2390,3563,4486,4002,2923,3484,4522,4539,4283,3932,3704,3840,4180,4288,4621,4363,3253,2798,2656,2940,3384,3320,2951,3433,3628,3563,3431,2905,2574,3674,4310,3802,3687,3582,3503,3918,4000,3659,2987,2411,1884,1840,1869,2093,1797,1686,2004,2163,1825,1630,1631,1777,1709,1556,1581,1573,1704,1893,1784,1729,1650,1555,1461,1761,1815,1688,1749,1965,2056,1746,1623,1772,2379,2155,1488,1360,1830,1951,1671,1931,2216,2343,2119,2358,2153,2731,2497,2407,2031,1686,2199,2504,2164,2404,3104,3229,3304,3075,3297,3670,3525,3226,2908,2518,2191,1917,1833,2002,2282,2036,2378,3112,2879,2893,2601,2649,2792,2955,2979,2432,1999,2176,1955,2306,2622,2770,3416,3416,2808,3155,3347,3051,3281,3031,2144,1762,2004,2678,2689,2419,3000,2727,2724,2720,2330,2984,2955,2395,2496,2823,3182,3096,2800,2887,2297,2090,2743,3168,3171,2985,2454,2228,2090,2008,1719,1738,1887,2056,2148,2591,2797,2602,2648,2811,2313,1662,1886,1945,1693,1935,2663,2750,2702,3095,3018,3082,3150,2667,2176,2308,2866,2662,1967,1977,1957,1914,1854,1681,1599,1772,1737,1629,1503,1685,2215,2222,1956,2831,2663,2212,2241,2210,2056,1995,2027,1870,1625,1795,2020,1845,1803,2096,2301,2424,2341,2853,3017,2291,2116,2267,2210,2381,2655,2776,2155,1890,1740,1699,1858,1922,1873,1762,1799,2119,2017,1788,1875,2276,2659,2345,2379,2259,1987,2072,2254,2348,2286,2044,2098,2046,2031,2762,3228,2731,2543,2500,2321,2302,2828,2883,2972,2295,2030,2067,1776,1718,2052,2275,2329,2528,2156,2680,3273,3365,3774,3277,3485,3627,2807,2341,2917,3208,2868,2675,2789,2307,2159,1937,1905,1721,1564,1582,2576,3205,2581,2315,2231,2503,2204,2027,1781,2345,2165,1886,2234,2398,2432,2193,1817,1974,2114,1846,2192,2492,2298,2193,2201,2088,2598,2343,2367,2619,2473,2558,3089,3432,3006,2760,2631,2552,2567,2879,2894,3012,3163,2974,2822,2832,2982,2653,1975,1980,2186,2169,2218,2626,2858,2642,2199,2212,3060,3519,3283,2558,1737,2332,2598,2711,2441,2169,2711,2331,1843,1733,2205,2309,2293,2859,3051,3279,2989,3118,2720,2381,2776,3158,3179,2820,2438,2135,1832,1918,1834,2056,2203,2796,2214,1926,2374,2476,2010,1956,2578,3142,2733,1996,2187,2401,2834,2036,2271,2557,2594,2626,2340,2110,2461,2561,2509,2458,2246,2102,2163,3250,3295,2857,2390,2343,2465,2749,2954,3088,3300,3562],[2708,3298,3349,3037,2662,2448,2082,1872,1965,2088,2088,2201,2127,1850,1810,2073,2239,2032,2106,2138,2400,2810,2612,2598,2878,2750,2788,2668,1970,1870,2120,2066,2106,2563,3251,3249,2993,3044,2971,2764,2581,2557,2445,2755,3256,3942,4198,3832,3941,3823,3276,3196,3084,2866,3090,2564,2087,2122,2801,2781,2641,2620,2888,2775,1760,1776,2143,2527,2187,2201,2171,2590,2972,2889,2743,2868,2881,2832,3086,3030,2851,2779,2213,1840,1860,2381,2678,2896,3404,3836,3718,3104,2413,2119,2078,2503,2436,2424,2823,2647,3057,3145,3106,3072,3002,2999,2759,2513,2657,2986,2352,2107,2231,2301,3056,3160,2797,2865,3046,3294,3654,3688,3532,2810,2318,2943,3398,2614,2258,2412,2916,3010,2980,3088,3098,3610,4324,4208,3480,3436,3608,3585,3662,3610,3530,3518,3596,3597,3740,3951,3974,4079,4078,4020,3802,3820,3584,3470,2924,1812,1787,2380,2502,2619,2683,2417,2762,2878,2620,2496,2537,2446,2531,2519,2700,2827,2998,3282,2757,2020,2664,2835,3297,3470,3000,1875,1480,1599,1706,2154,2523,2698,2776,2709,2944,2438,2182,2275,2800,3162,2647,1788,1752,2176,2286,2319,2810,3699,3720,3121,2720,2556,2482,2035,1736,1903,2154,2290,2242,2874,3365,2728,2100,2745,3110,2609,2042,1829,2207,2938,3348,3316,3208,2814,2810,3299,3694,3312,1798,1831,1919,1753,2025,1737,1549,1475,2232,2744,2020,2169,3580,3782,2786,2312,2998,2866,2504,2091,2536,2924,3010,3204,3342,3770,4254,3939,3181,2098,1937,1873,1570,1460,2198,2448,2651,2739,3050,3379,2840,2518,2200,2119,2908,3448,3657,3758,3570,3663,4229,4160,3674,3359,2691,2224,1809,1801,1820,1702,1882,1968,2280,2626,2951,2852,2322,1860,1880,2587,3223,2746,1972,1869,1849,1615,2156,2202,2003,1676,2110,2786,2448,1983,1924,1863,2577,2397,1730,1811,2316,2429,1738,1858,1852,1597,1619,1602,1452,1395,1294,1267,1526,2078,2015,1708,1384,1406,1696,1871,1612,2162,2810,1967,2953,3094,2988,2701,2364,2420,2440,2631,2905,2831,2493,2121,2195,2230,1793,1778,1943,1847,2049,2335,2537,2917,3045,2742,2824,3108,3060,3104,3040,2679,2391,2412,2778,3082,3139,3070,2804,2808,2814,2010,2231,1973,1827,2395,2099,1699,1644,1422,1588,1516,1460,1541,1807,2610,2976,2808,2264,2830,2699,2801,2667,2497,3064,3423,3576,3463,2546,1708,1579,1585,1705,1616,1706,2020,2066,2147,2271,2915,2980,2894,2697,2094,2103,2407,2405,1987,1646,1931,2276,2402,2530,2218,2104,2188,2402,2454,1974,1854,2244,2598,2185,1814,1882,2056,1957,1982,2527,2233,1887,2167,1822,1526,1599,1611,1745,1806,1853,1743,1549,1548,1491,1621,2358,2561,1901,1384,1494,1566,1500,1691,1804,2273,2490,2325,1952,1715,1899,1972,1774,1663,1560,1636,2318,3575,3298,2717,2024,2598,2692,2003,1765,2045,2210,1820,1730,1708,2131,2076,1806,1904,1887,1727,1742,1892,1888,1813,1784,1918,1985,1770,1780,1759,1616,1687,2154,2226,2134,1911,2000,1816,1772,1948,1825,1628,2022,2231,2304,2128,2063,2569,3371,3315,2894,2987,2422,1914,2096,1765,1720,1487,1588,1636,1812,1789,1590,1671,2363,2791,2022,1831,2398,2456,2094,1795,1874,1941,2568,2861,3095,2989,2600,2544,2276,2307,3043,3088,1998,1835,2091,1745,2122,2083,1979,2554,3101,3087,2568,2030,2150,1856,1959,1841,1875,2169,1990,1697,1731,1531,1295,1465,1585,1465,1716,2226,2380,1834,1807,2255,2164,1994,2238,2348,2286,2060,1836,2271,3073,2415,2189,1687,1596,2273,2386,2100,1968,2178,2264,1966,1644,1625,2120,2611,2850,3167,2995,2698,2675,2932,3122,2578,1962,2054,2383,2476,2948,2855,2889,3330,3153,3604,3869,3695,3312,3231,3474,3444,2895,2873,3205,3429,3487,2773,3104,3427,3119,3025,3649,4070,3950,3626,3199,2889,2763,2850,2534,2268,2398,2365,2732,2999,3431,3331,2958,3044,2599,1990,2229,2557,2762,2868,2890,2795,2800,2911,2998,2966,3266,3480,3463,3419,3526,3604,3586,3513,3570,3692,3748,3741,3465,3149,2966,3067,3366,3504,2985,2020,2079,2104,2057,1766,1615,1631,1783,2320,2208,2114,1996,1489,1648,2614,3050,2052,1490,1881,1965,1749,1738,2688,3172,3066,2907,2094,1731,1704,1938,2216,2456,2364,2707,2286,1645,1786,2030,2287,2278,2243,2422,2389,2071,2140,2225,2037,1726,1605,1704,1726,1794,1872,2359,2604,2410,2360,1967,2876,3484,2750,1885,2120,2009,1692,1660,1740,1779,1771,1907,2032,2158,2201,1352,1307,1563,1653,1696,1874,1996,2117,2247,1955,1515,1470,1892,2067,2238,2386,2421,2215,2354,2832,2840,2385,2148,1862,1898,2456,3033,2990,2244,2127,2123,2023,2004,2164,1837,1988,2039,1660,1806,1989,2014,2028,1908,1913,1988,2258,2164,1995,1601,1729,1611,1461,1954,2045,2116,2252,1874,2431,2292,1715,1587,2106,2430,1627,1341,1412,1707,2104,1796,1890,1945,1981,1924,1872,2226,1956,1503,1466,1592,1575,1464,1447,1552,1743,2038,2265,2292,2110,2018,1688,1448,1338,1444,1532,1664,1694,1724,2106,2337,1828,1864,1779,1560,1395,1720,1772,1774,1750,2178,2244,1948,2294,2142,1742,2244,2946,2600,1764,1838,2579,2802,2683,2646,2916,2920,2621,2507,3138,3151,2836,2342,2171,1869,2094,2429,2302,1858,1758,1417,1209,1901,2572,2801,2287,2018,2442,2886,2610,1935,2555,3345,3617,3610,3628,3716,3849,3572,2922,2663,2873,2954,3013,3068,3064,3122,3110,3220,3415,3529,3704,3685,3662,3887,3813,3876,3946,4094,3674,3460,3447,3655,4064,4052,3979,3790,3872,3916,3640,3752,3751,3860,3781,3804,3714,3316,3167,3392,3561,3552,3663,3582,3526,3531,3741,3422,3306,3372,3565,3846,3573,3400,3212,2895,2895,2872,2769,2886,3106,3498,3799,3638,3104,2689,2381,2380,2755,3329,3670,3099,3485,3308,3259,3441,3332,3165,2863,2864,3000,2656,2399,2140,2274,2051,1843,1691,1898,1866,1423,2110,3063,3594,3802,4018,3815,3318,3272,3052,3316,3540,3377,3176,2949,3163,3326,3187,3040,3056,3540,3430,2996,2337,1831,2724,3404,2099,1405,2112,2421,2988,3606,3597,3584,3504,3519,3776,4153,4164,4078,4184,4016,3460,3440,3632,3697,3552,3251,2558,2561,3136,3404,3322,3189,3039,2814,2542,2319,2220,2144,2046,1928,1876,1882,1946,2094,2388,2630,2612,2930,3322,3436,3504,3532,3489,3340,3279,3407,3384,3431,3537,3708,3940,4137,3868,3687,4205,4572,4632,4571,4547,4388,4264,3672,3732,4083,4288,4456,4368,4094,4152,4364,4142,3418,2802,2382,2976,4153,4477,3915,3817,3706,3162,2931,3002,2953,2862,3040,3132,3108,2952,2920,3709,3874,4111,4004,3763,3974,4023,3891,3757,3817,3808,3592,3706,3632,3255,2964,2967,2185,1670,1542,1652,1825,1866,1958,2225,2409,1928,1808,2113,2241,2574,3030,2894,2787,2263,1790,2115,2493,2184,1885,2307,3032,2745,2392,2467,2734,2734,2743,2639,2712,2808,2809,2897,3008,2968,2870,2897,2917,2447,2674,2416,2608,2396,2219,2845,2965,3020,3174,3023,2174,2084,2632,3077,3389,3369,3814,3835,3687,3575,3631,3659,3609,3352,2699,3352,3735,3658,3583,3276,3106,3328,3297,3074,3255,3304,3164,3062,2918,3008,2795,3216,3260,3001,2922,3063,3386,3560,3197,2779,2661,2596,2776,2820,2664,2724,2852,2286,2343,3044,3714,3794,3580,4239,4603,4476,4197,3768,3525,3337,3382,3816,4264,4125,3871,3632,3586,3891,3993,4137,3886,4128,4188,3710,3608,3410,3769,4374,4515,4166,4208,4240,4270,4451,4287,3423,2360,1969,1801,1967,2894,2956,2251,1997,1759,1831,1901,1870,1953,2275,1641,1666,1726,2114,2231,1744,1588,1610,1452,1428,1584,1749,1843,1996,1857,1951,2398,2150,1894,1764,2034,1806,1455,1537,1985,2156,1907,2295,2802,2828,2299,2909,2417,2390,2119,2021,2083,1810,1873,2111,2047,2552,2526,2393,2586,2766,3153,3670,3872,3848,3403,3027,2765,2468,2080,1908,1567,1542,2493,2996,3020,3118,3085,2695,2871,3134,2917,2576,1802,2056,2078,2895,3163,2786,3087,2814,2348,2422,2598,3064,3820,3462,2699,2221,2471,2720,2653,2421,3086,2998,2558,2244,2935,3474,2901,2756,2939,2878,3076,2447,3108,3426,2887,2858,3326,3731,4095,3608,2877,2507,2293,2126,1980,2055,2280,2127,2464,2762,2554,2393,2679,2988,2942,2925,2888,2496,2245,1959,2090,2183,2295,2348,2416,2487,2563,2403,1819,2083,2668,2109,2187,2120,1753,1688,1887,1918,1836,1681,1638,1615,1684,1942,1923,1755,1764,2877,2805,2586,2374,2124,1826,2084,2019,1687,1923,2083,2100,1974,2001,1966,2074,2308,2206,2265,2218,2056,1954,1864,1829,1583,1770,2204,1922,1759,1783,1992,2020,2066,2026,1926,2024,2246,2060,1833,1965,2333,2185,1860,2132,2394,2316,2579,2843,2694,2252,1919,1920,1924,2245,2509,2802,2768,2507,2656,2830,2900,2427,2946,3311,2471,2197,2331,2801,3494,3484,3119,3064,2312,2601,3531,3229,3686,3666,3006,2861,2919,2791,2784,2863,2943,2852,2626,2557,2382,2531,1898,1506,1716,2081,2123,2246,1820,1793,2252,1879,2160,2066,2109,1946,2364,2035,1945,2274,2338,2368,2579,2040,2114,2021,2521,2486,2167,2198,2061,2103,2329,2414,2069,2474,2887,2207,2965,3413,2946,2653,2552,2542,2822,3422,3951,3499,3044,3355,3124,2768,2903,3506,3421,2432,2256,2776,2975,2911,2620,2652,2881,2604,2596,3089,3257,2937,2675,2407,2801,2848,2990,2696,2374,2203,2045,1845,1928,2584,2452,2116,2728,3000,3166,3245,3248,3252,3113,3175,3301,2939,2619,2875,2902,2788,2933,1984,1999,2030,2135,2177,2420,2520,2270,2133,2100,2021,2557,2823,2257,2076,2123,2809,2894,2518,2832,3198,2876,2045,1910,2448,2510,2725,2542,2185,2212,2700,2845,2353,2206,2250,2412,2631,3052,3168,2951,3196,3655],[2886,2995,3344,3150,2740,2692,2576,2423,2228,2310,2121,2171,2033,1883,2062,2465,2432,2014,2236,2833,2942,3249,3257,3005,3034,2883,2590,2023,1729,1841,2094,2112,1652,2134,3415,3178,2663,2407,2436,2376,2288,2236,2199,2374,2907,3487,3748,3694,3382,3043,3097,2939,3320,3212,3147,2965,2833,2966,2981,2699,2500,2359,2344,2612,2107,1735,2077,2973,2829,2447,2008,2553,3371,3134,2625,2379,2754,2938,3111,3045,2953,3109,2720,1852,1622,2127,2096,2331,3019,3277,3777,3257,2305,2061,2023,2301,2500,2031,2265,2757,2858,2651,2790,3055,3187,3151,2551,2286,2633,2771,2419,2334,2503,2637,2879,2749,2568,2710,2884,3144,3394,3573,3727,3645,3466,3654,3593,3011,2509,2252,2286,2436,2971,3599,3751,3890,3908,3636,3439,3472,3469,3568,3635,3582,3475,3384,3491,3616,3696,3760,3698,3881,3993,3964,3786,3603,3553,3738,3164,2387,2460,2680,2828,2823,2787,2399,2820,2987,2598,2221,2201,2361,2486,2758,3052,3090,3161,3583,3294,2486,3181,3522,3321,3190,2367,1859,1628,1578,2358,2801,2567,2096,2032,2518,2459,1969,2376,2667,2579,2402,2666,2234,1523,1964,2551,2551,2454,3193,3554,3108,3099,2797,2612,2352,1952,1778,2085,2199,2546,3431,3796,3376,2382,2287,3308,2562,1688,1491,1682,2424,2913,2980,3071,2374,2443,3260,3370,2707,1876,2208,1908,1655,2173,1795,1347,1538,1956,2321,1998,2387,3630,3503,2325,2320,2908,2734,2316,2053,2354,2711,2712,2502,2586,3485,3552,3376,2947,2006,1637,1682,1593,1674,2353,2935,3275,3366,3506,3460,3028,2387,1757,1771,2285,2796,2856,2976,3548,4120,4257,3853,3671,3293,2778,2659,2206,1852,1784,1601,1625,1998,2201,2464,2988,2886,2424,2200,2182,2176,3130,3091,2031,1917,1919,1632,1569,1749,1815,1549,1914,2448,2060,2155,2288,2080,2663,2851,2415,1900,1907,1914,1804,1792,1538,1553,1515,1759,1622,1577,1439,1226,1493,2126,2689,2132,1523,1783,1883,1833,1606,1552,1843,1848,2823,2746,2302,1902,1765,1869,2236,2907,2987,2832,2497,2125,1977,1896,1838,1642,1772,1994,2068,1932,2032,2397,2557,2403,2202,2180,1865,1989,2056,2038,2328,2276,2498,2821,2710,2531,2412,2592,2612,1560,2261,2608,2458,2581,1948,1874,1768,1688,2133,2151,2145,1840,1788,2454,2862,2768,2298,3045,3084,2511,2457,2853,3164,3060,2898,2352,1739,1772,2008,1436,1787,1815,1772,1812,1922,2000,2540,3084,3022,2654,2330,1853,1833,1803,1899,1808,1807,2489,2813,3084,3136,2429,2038,2131,2162,1928,1846,2060,2488,2765,2588,2323,2479,2352,1977,2000,2038,1983,1960,2089,1725,1682,1735,1552,1623,1673,1823,1839,1632,1385,1336,1903,2443,2132,1506,1478,1624,1780,1572,1809,1969,2393,2494,2260,1886,1539,1594,1827,1841,1809,1661,1738,2487,3418,3134,2634,2498,2789,2121,1622,1603,1461,1737,1893,2049,2084,2089,1837,2007,2118,1739,1515,1788,1777,1624,1598,1789,2012,2258,1887,1808,2072,2098,1857,2238,2482,2230,2314,2284,1666,2044,2476,1664,1540,2233,2288,2012,1891,2132,2989,3679,3243,2492,2729,2039,1964,2523,2060,1875,1467,1638,1658,1548,1588,1498,1728,2624,2977,2018,1730,1691,1882,1818,1755,1666,1660,2008,2401,2709,2553,2788,2851,2627,2985,2647,1878,1529,1888,2105,1941,2025,1903,1701,2058,2964,2959,2200,1855,1600,1773,2218,1725,1759,2158,1921,1724,1648,1504,1451,1393,1365,1501,1885,2349,2198,2053,1828,2096,2485,2575,2471,2286,2121,1874,2072,2251,2272,2620,2836,2116,1656,1826,1902,1669,1491,1777,2044,1941,2027,2570,3165,2942,3276,3472,2620,2323,2851,3160,2642,2075,1705,2097,2396,2260,2878,2688,3306,3321,2849,2982,3651,3767,3438,3205,3308,3460,3300,3327,3565,3397,3463,3250,3261,3457,3095,2957,3373,3850,3824,3055,3320,2996,2889,3263,2944,2577,2352,2491,2791,3033,3310,3474,3510,3395,2865,2352,2292,2480,2770,2845,2885,3186,2858,2782,3089,3191,3394,3527,3643,3461,3073,3227,3340,3326,3414,3583,3686,3552,3134,2880,3052,3194,3320,3229,2415,2064,2389,1959,2133,1837,1534,1507,1699,2378,2372,1623,1307,1196,1476,2107,1914,1785,1971,1758,1959,1911,1731,2307,2026,1466,1686,1972,2265,2063,1865,2096,2592,2354,1955,1775,2028,2251,2410,2345,2345,2642,2699,2265,2072,2227,2272,1979,1845,1707,1825,1697,1478,1828,2363,2777,2357,2152,2132,2710,2703,2193,2092,2424,2332,2108,1952,1895,1883,1776,1761,1759,1952,1739,1601,1840,1865,1884,1748,1795,1877,1889,1729,1417,1432,1621,1686,1716,1803,2016,2306,2030,1853,2597,2846,2479,2433,2076,1773,2137,2942,3353,2690,2592,2070,1713,1727,2052,2071,2167,1978,1810,2182,2463,2073,1907,1844,1551,1715,2083,2309,2288,2242,2326,2214,2499,2644,2374,2557,2453,2439,2925,2588,1802,1798,1970,1609,1276,1396,1710,1792,2331,2138,2161,1943,2056,1792,1669,1824,1664,1633,1676,1656,1507,1611,1686,1541,1731,2042,2204,2215,2131,2326,2146,1632,1575,1589,1457,1554,1710,1986,1696,1676,2030,2352,2087,1582,1454,1664,1876,1920,1803,1875,1926,2341,2911,2566,2142,2762,3475,2912,1958,2600,3641,3620,3280,3199,3386,3191,3340,3454,3470,3411,3105,2998,2962,2536,2167,1956,1766,1665,1527,1682,2199,3025,3353,3415,3066,2742,2486,2898,2855,1958,1582,2254,3332,3592,3628,3688,3850,3762,3422,3185,3133,2968,2752,2602,2687,2797,2711,2968,3220,3219,3316,3383,3541,3784,4005,4188,4094,4024,3941,3908,3569,3419,3671,3697,3676,3630,3791,3738,3628,3781,3740,3376,3407,3795,3794,3603,3619,3827,3542,3521,3603,3460,3586,3894,3860,3474,3404,3177,3382,4101,3807,3515,3288,2962,2786,2917,2848,3030,3371,3826,4043,3666,3166,3065,2863,2801,3132,3777,3385,3301,3574,3515,3462,3339,3184,3081,2698,2670,3293,3220,2954,2510,2369,2323,2058,1882,1970,1656,1658,1952,2424,3330,3817,4101,3842,3395,3184,2979,3122,3144,3298,3216,2737,2721,2966,3154,3414,3692,3926,4042,3915,3689,3286,3442,3351,2201,1292,1115,1614,2773,3263,3131,3303,3504,3731,3921,4257,4268,4039,3869,3900,3725,3525,3256,3129,2895,2828,2353,2447,2728,2787,2553,2338,2243,2242,2266,2201,2052,1918,1891,1921,1989,2271,2634,2946,3097,3139,2908,3080,3442,3586,3707,3684,3747,3613,3615,3778,3797,3784,3898,3961,3931,3840,3579,3768,4764,4952,4936,4815,4379,4079,3746,3317,3408,3761,4141,4436,4104,3692,4132,4005,3487,2847,2215,2801,3486,3993,4318,3882,3683,3638,3117,2969,3140,3248,2907,2879,3055,3375,3558,3459,3417,3254,3493,3729,4156,4319,3917,3778,3696,3791,3632,3507,3705,3807,3552,3401,3216,2562,1910,1627,1754,1937,1938,2101,2138,2189,2022,1803,1931,2809,3262,2850,2518,2577,2139,1952,2191,2372,2427,2058,2123,2818,2446,2084,2545,2998,3200,2908,2576,2701,2596,2674,2723,2791,2807,2734,2721,2768,2259,2246,2175,2184,2101,1951,2442,2654,2983,3041,2916,2263,2531,3283,3377,3515,3842,3919,3884,3757,3552,3427,3495,3625,3569,3216,3509,3587,3253,3019,2984,2945,3249,3028,2501,3167,3185,3103,2951,2931,3275,3132,2989,2895,2609,2762,2978,3176,3362,3327,2955,3286,3392,3269,3355,3348,3199,2670,2199,2769,2973,2325,2641,3233,4316,4427,4352,3892,3519,3356,3088,3032,3395,3887,3853,3512,3506,3771,3873,3761,4361,4632,4224,4357,4378,3774,3632,4200,4532,4347,4388,4533,4504,4428,4492,4095,3397,3099,2309,1774,2132,3038,2884,2206,1968,1615,2042,1998,1949,1832,1791,1721,2033,2285,2578,2489,1976,1660,1671,1381,1475,1503,1437,1547,1812,1709,1986,2127,1886,1778,1681,1689,1724,1511,1552,1856,1889,1703,2321,2937,2518,1896,2099,2153,2060,1655,1499,1581,1666,1791,1976,2536,2267,1762,2033,2614,2508,2823,3417,3806,3903,3777,3439,3040,2864,2621,2182,1505,1738,2001,2381,2718,2842,2972,2965,3116,3121,2797,2517,1878,2147,2154,3096,3189,3066,3096,2830,2499,2420,2542,3218,3983,3795,3366,3027,3427,3200,2598,2506,2927,2977,2867,3292,3852,3467,2923,2774,2056,2101,2984,2835,2990,3053,3081,2944,2511,2907,3604,3353,3040,3067,2255,2285,2989,2844,1784,1370,2182,2435,2297,2523,2544,2575,2469,2706,3116,3139,3177,2461,2046,2131,2096,1924,1861,1709,1886,1959,1772,1842,2381,1722,1669,1763,1556,1624,1946,1910,1616,1570,1599,1718,1612,1913,2452,3131,3591,4156,3762,3178,2931,2357,2137,2216,2007,1941,2161,1827,2023,1924,2329,2358,2078,2129,1933,1843,1857,1836,1759,1751,1963,1641,2191,2396,2055,1797,2013,2172,2055,1948,1877,1904,1954,1800,1741,1860,2102,2447,2013,1691,2047,2780,2954,2596,2313,2157,2046,2164,1999,2401,2950,2536,2530,2462,2190,2370,2174,2223,2262,2437,2347,2302,3098,2620,3298,2966,2590,2922,2754,2455,3220,3086,2914,3438,3599,3284,2722,2868,2520,2667,2538,2624,2346,2117,2463,2532,2346,2187,2369,2635,2786,2336,2103,1747,2149,2390,2068,2021,1964,1759,1876,2058,1884,2083,2518,2490,2435,2557,2681,2666,2325,2753,2686,2530,2231,2002,2259,2812,2931,2348,2365,2360,2634,3494,3292,2712,2287,2087,2324,3458,4233,3857,3287,2940,3155,2997,2575,2452,2984,2958,2510,2420,2358,2744,2736,1945,2003,2535,2554,2448,2331,2632,2831,2674,2774,3112,3095,3013,2854,2404,2262,2425,2640,2635,2664,2060,2097,2259,2631,3044,2862,2888,3623,3936,3757,3300,2797,2830,3044,2951,3245,3124,2202,1989,2150,1957,2243,2603,2220,2511,2722,2414,1850,2275,2510,2398,2262,2191,2374,2536,2576,2876,3274,3184,2766,2505,2278,2834,2965,3060,2782,2646,3010,3019,2803,2665,2608,2685,3102,3396,3481,3024,3065,3274],[2652,2677,2675,2679,2766,2721,2657,2667,2544,2365,2369,2253,1896,1705,1912,2557,2408,1926,2368,2845,2831,2852,2740,2587,2377,2439,2566,2449,2368,2258,2113,1635,1823,2352,3002,2654,2206,1952,1986,1968,1978,2079,2122,2228,2430,2518,2720,2743,2356,2545,2984,2915,2743,2569,2889,3116,3141,3078,2898,2809,2510,2664,2346,2588,2228,1797,2232,2710,2698,2456,2242,2758,3210,2651,2249,2051,2912,3188,3125,2764,2600,2909,3078,2314,1724,1853,1897,2230,2414,2240,2665,2227,1781,2135,2460,2634,2702,2085,1819,2436,2789,2705,2972,2876,3142,3262,2502,2074,2282,2091,2320,2666,2653,2308,2186,2150,2282,3134,3503,3372,2929,3421,3680,3723,3671,3362,3312,3482,3076,2350,2241,2879,3693,4092,4192,3962,3480,3172,3370,3420,3464,3618,3606,3482,3184,3208,3486,3754,3750,3660,3638,3532,3198,3007,3398,3817,3926,3980,3526,2841,2956,3221,2985,2274,2516,2811,2757,3042,3018,2545,2409,2621,2940,3362,3120,2839,3151,3408,3581,3407,3342,3359,3428,3438,3238,2957,2111,2007,3227,3369,2840,2469,2100,2820,2623,2175,2242,2792,2570,1927,1997,1851,2015,2955,3463,3090,2492,2939,3052,3076,3138,3023,2966,2940,2608,2130,2482,2978,2854,3261,3759,3813,2980,2154,2978,3100,2076,1542,1604,1882,2442,2989,3238,2777,2678,3069,3143,2568,2154,2164,1794,1642,2026,1932,1608,1738,2158,2613,2644,2521,3176,3455,2438,2553,2690,1985,1762,1953,2256,2633,2908,3051,2920,2564,2171,2626,2667,1985,1786,2064,2078,2490,3519,3588,3464,3031,2834,3052,3057,2267,1504,1736,2287,2342,2070,2551,3261,3500,3518,3481,3580,3052,2382,2375,2308,2024,2001,1934,2055,2222,2099,2040,2751,3418,3440,2819,2900,2995,3693,3353,2503,2010,1607,1641,1722,1521,1527,1969,1969,2150,1770,2314,2858,2697,2690,2526,2564,2368,1908,2050,2044,2102,1837,1980,1600,1380,1807,2081,1702,1511,1758,2576,3176,2215,1444,1574,1726,1615,1529,1723,1880,2094,2632,2680,2444,2176,2036,2194,2460,2856,3054,2652,2476,2664,1786,1534,1650,1600,1626,1938,2138,1920,1838,2142,2618,2799,2063,1720,1654,1464,1391,1737,2158,2394,2852,3057,2524,1835,1776,2309,2447,1915,2143,2296,2531,2605,2117,1857,1806,2015,2522,2618,2802,2126,1907,1710,2098,2194,2530,2946,2972,2883,2713,2967,2896,2386,1908,1784,1886,2532,2194,1678,1733,1737,1954,1813,1945,2558,2811,2759,2612,2451,2162,1895,1775,1443,1484,1718,2319,2874,2580,2465,2778,2395,2164,2310,2083,1771,2110,2708,3038,3046,2843,2478,2380,2373,2456,2184,1716,1853,1859,1853,1764,1810,1960,1908,1896,1904,1798,1646,1761,1769,1661,1777,1685,1859,1666,1705,1712,1703,1431,2366,2813,2171,2133,2067,1714,1503,1893,2078,1926,1901,2154,2159,1934,2103,2663,2696,2872,3287,2429,1675,1598,1458,1541,1571,1886,2142,1790,1596,1750,1800,1730,1968,1878,1771,1666,1489,1699,1808,1986,1949,1779,2130,2411,2407,2654,2610,2668,2836,2757,2213,2934,3382,2223,2329,2680,2231,2147,2168,2181,2143,2644,2843,2133,2490,2419,2256,2251,1784,2440,2658,2308,1781,1748,1540,1549,2009,2386,2325,2081,2084,1933,1771,1824,1984,1895,1863,1856,2296,2316,1803,2326,2403,2656,2607,1745,1601,1598,1683,1693,1687,1755,1687,1673,1977,2290,2212,1832,1822,1577,1637,1992,2028,1808,1651,1683,1706,1782,1942,1811,1564,1726,2228,2268,2463,2203,2469,2323,2102,2401,2740,2448,2433,2592,2328,2384,2117,2066,2306,2783,2861,2332,1859,1700,1603,1460,1680,1659,1746,1995,2014,2234,2430,2650,2670,2136,1791,2663,3062,2091,1708,1627,1997,2441,2399,2642,2755,3273,3232,2774,2885,3506,3651,3431,3076,2751,2718,3089,3019,3188,3330,3462,3755,3864,3709,3360,2978,2670,2872,3492,2855,3440,3221,3021,3082,2778,2517,2346,2374,2710,2963,2909,3463,3773,3638,3255,2757,2600,2842,2918,3068,3312,3475,3467,3327,3306,3318,3355,3407,3522,2959,2166,2321,2788,3121,3212,3369,3566,3156,2780,2758,3090,3233,3332,3122,2318,2359,2076,1974,2292,1961,1703,1393,1604,1981,2160,1747,1418,1440,1436,1886,1917,2192,2352,1991,1930,1853,1903,2072,1738,1673,1481,2140,2453,2269,1831,2358,2463,1933,1938,2565,2641,2262,2065,1655,2004,2288,2488,2235,2568,2575,2308,2189,2290,2115,1949,1875,1687,2148,2429,2402,1991,2013,2303,2302,2033,2106,2410,2278,2022,2000,1931,1952,2195,1759,1565,1564,1916,1599,1748,1926,1939,1984,1936,1859,1685,1546,1356,1272,1383,1465,1309,1535,1544,1794,2458,2132,1742,2500,2868,2385,2919,2718,1732,1623,2204,2762,2808,2399,1944,1908,2096,2065,1994,1894,1684,1752,2221,2556,1883,1795,1945,1843,1850,2013,2332,2569,2462,2214,2279,2512,2171,2156,1846,1624,2028,2623,2636,1876,1842,1965,1635,1515,1698,2031,1703,1847,1860,1830,1639,1725,1530,1576,1670,1544,1534,1533,1631,1555,1664,1811,1743,2443,2668,1874,1685,2024,2000,1707,1708,1782,1551,1486,1676,2026,2490,1837,1518,1997,2648,2471,1880,1477,1815,2419,2317,2216,2106,1903,1986,2305,2492,2413,2602,2679,2008,1521,2313,3140,2798,2688,3191,3487,3322,3319,3513,3456,3366,3474,3570,3153,2661,2557,2215,1532,1394,1792,2570,2648,3062,3204,2204,1830,2392,2809,3073,3209,3263,2852,2202,3269,3593,3652,3653,3757,3893,3712,3558,3310,2887,2683,2681,2768,2700,2765,3131,3485,3482,3366,3460,3728,3872,4231,4500,4352,4049,3981,3996,3609,3376,3573,3462,3563,3564,3705,4036,4065,3912,3760,3676,3775,3872,4124,4092,3563,3255,3389,3602,3667,3418,3569,4093,3954,3532,3552,3631,3650,3877,3611,3451,3242,3165,2878,2783,2920,3166,3288,3327,3500,3623,3226,3254,3250,3104,3124,3442,3117,3034,3051,3212,3450,3459,3401,3427,3298,3267,3581,3348,3359,2693,2293,2388,2331,2215,2140,1978,2098,1788,1966,2676,3580,4120,3871,3539,2875,2656,2933,3025,3066,2923,2789,2765,2920,3178,3583,3816,3870,4199,4145,3905,3485,3140,2744,1842,1239,1038,1690,3089,3124,3034,3292,3757,4024,3974,4002,4034,3906,3816,3580,3076,2945,2624,2542,2688,2835,2570,2375,2321,2284,2285,2326,2310,2184,1998,1886,1869,1969,2162,2525,2854,3242,3351,3071,3174,3455,3332,3520,3785,3683,3630,3752,3962,3859,3751,3814,3849,3794,3770,3791,3564,3605,3895,3905,4657,4804,4880,4756,4519,4039,3492,3195,3105,3317,3796,4352,4583,4294,4227,3519,2721,2277,2625,3638,3764,3735,4079,3938,3528,3385,3233,3386,3476,3564,2966,2865,3139,3299,3706,3882,3469,3184,3333,3764,4363,4363,3447,3786,3782,4040,4156,3898,3736,3851,3592,3282,3210,2710,2485,1949,1842,1785,2030,2290,2136,2072,2276,1944,2016,2802,2668,2083,2049,2504,2437,2463,2200,2077,2364,2001,2192,2630,2401,2447,3029,3658,3708,3124,2454,2601,2625,2501,2496,2610,2555,2413,2481,2542,2356,2280,2183,2116,2036,2176,2752,3085,3165,3251,3122,2501,3210,3843,3671,3895,3972,3892,3730,3372,3278,3372,3503,3730,3768,3421,3532,3660,3270,2995,3052,2976,2878,2230,2658,3530,3694,3608,3318,3311,3597,3815,3886,2950,2004,2713,3237,3376,3362,3604,2706,2453,2504,2857,3256,3526,3702,2993,2414,3274,3164,2561,3555,3960,4351,4155,4078,3471,3078,2994,2814,2683,2868,3304,3681,3505,3658,3848,3044,2663,3709,4307,4047,4034,4284,4083,3835,4017,4396,4187,4395,4547,4588,4500,4074,3470,3142,3012,2406,1981,2680,3097,2785,2280,1887,1613,1698,1870,2030,1838,1722,1739,2090,2441,2356,2285,2031,1636,1630,1410,1498,1511,1450,1404,1467,1567,1734,1774,1941,1792,1715,1993,1921,1964,1677,1434,1519,1743,1934,1864,1694,1815,1867,1778,1859,1649,1621,1589,1895,2039,1668,2433,2749,1913,2115,2770,2580,2529,3093,3632,3576,3372,3431,3345,3157,2827,2677,1942,1881,1966,1927,1990,2347,2810,2872,2866,3132,3189,3165,3028,2372,2009,2388,2265,2355,2735,2637,1991,1631,2886,3475,3728,4069,4238,4435,4077,3196,3011,3159,2983,2942,3550,3782,3312,3168,3011,2899,2050,2134,3002,3694,3720,3549,3825,3160,2467,2792,3083,2773,2739,2588,2197,2536,2686,2775,2216,1947,2570,2412,2257,2324,2250,2490,2602,2974,3112,3034,3205,2802,2651,2708,2141,1914,1666,1750,1926,1780,1853,1681,1693,2031,2788,2402,1593,1752,1833,1762,1860,2004,2272,1999,2125,2800,3818,4487,4587,4577,4139,3738,3584,2769,2974,2429,2031,1883,2048,2103,2087,1937,2352,2343,2113,2230,2225,2106,1850,1993,2147,2996,3435,3255,3211,2751,2295,2234,2320,2271,2120,2192,2111,2147,2312,1917,2175,2194,2568,2784,2326,1960,1898,2489,2810,2315,2225,2110,2164,2488,2362,3194,3211,1899,2106,2474,2199,2175,2290,2474,2746,2471,2175,2258,3274,2529,3030,2372,2415,2433,2129,2597,3467,3540,3156,2912,2965,3022,3371,3386,2937,2975,2490,2260,2012,2535,2850,2173,2147,2472,2879,2622,2234,2066,1917,1848,1731,2463,3053,2428,1797,1688,1667,1711,1548,1688,2251,2426,2429,2536,2652,2536,2612,2426,2476,2713,2514,2482,2832,3449,3401,3000,2540,2519,2666,3160,3230,2998,2323,1903,2328,2931,3605,3522,3361,3149,2920,2776,2532,2392,2752,2913,2571,2104,2099,2564,2578,1854,1584,1886,2387,2522,2207,2187,2579,2708,2887,3203,3183,3011,2723,2418,2978,3153,3032,2792,2591,2392,2756,2494,2408,2703,2397,2314,3133,3904,3669,3128,3172,3306,2808,2551,3270,3352,2792,2494,2408,2022,2169,2364,2231,2319,2143,2306,2121,2189,2098,2242,2424,2437,2146,2160,3107,3342,3264,3140,2833,2993,2450,2774,3050,3616,3518,2906,2587,2462,2498,2767,3320,3028,3341,3304,3164,2999,2983,3062],[2776,2627,2512,2713,2646,2565,2622,2565,2310,2257,2122,1788,1521,1468,1082,1758,2287,2014,2289,2452,2442,2404,2353,2054,1976,2296,2626,2717,2574,2274,1781,1611,2173,2579,2557,2327,2190,2024,1951,1991,2130,2088,2132,2079,1945,1725,2146,2385,2414,2937,3481,3212,2442,2302,2792,3025,3146,3123,2928,2817,2630,2793,2346,2054,2381,2420,2342,2453,2492,2532,2526,2329,2051,1784,1923,2344,3116,3130,2889,2553,2604,2957,3168,2853,2074,1841,2389,2932,2808,2584,2591,2136,1773,2154,2649,2843,2873,2576,2295,2573,2859,2821,2834,2496,3105,3643,2785,1969,2031,2165,2487,2684,2568,2643,2737,2481,2635,3409,3682,3760,3367,3583,3654,3654,3564,3370,3721,3519,3064,2417,3094,3660,3961,4045,4168,4106,3897,3528,3382,3520,3575,3592,3660,3439,3099,3276,3417,3672,3711,3727,3437,2751,2314,2365,3023,3793,3628,3659,3750,3739,3858,4057,3132,2094,2646,3227,2922,2856,3270,3150,2867,3019,3056,2866,2215,2349,3083,3443,3850,3718,3294,3563,3852,3595,3474,3212,2417,1980,2520,3101,2808,2683,3154,3716,3306,2744,2593,2756,2613,2140,1644,1755,1936,2788,3373,3037,2762,3244,3162,2942,2913,3051,2968,2761,2768,2720,2908,2912,2437,2877,3296,3350,3242,2490,2342,3035,2992,2541,2208,2292,2654,2676,2919,2941,2654,2784,2896,2403,1932,1730,1707,1665,2199,1851,1512,2118,2600,2282,2017,1756,2482,3432,3454,3309,2801,1948,2232,2459,2088,2722,3506,3131,3105,2385,2135,2671,2437,2124,2408,2308,1460,1823,3251,3230,3593,3461,2978,2577,2642,2441,2264,2254,2389,2167,1891,2325,2812,2678,2796,2907,3373,3120,2303,2358,2479,2090,2010,2203,3360,3795,3392,2597,2410,2981,2822,3121,3946,3871,3389,3072,3101,2902,2284,2181,2078,1627,2037,2282,1874,2091,2424,2959,3156,3143,2666,2157,2217,2149,1836,2093,2043,1914,2083,2284,1766,1624,2236,2470,2222,1840,1954,2378,2325,1682,1151,1504,1689,1753,1792,2050,2266,2347,2430,2259,2383,2587,2611,2850,2756,2711,2668,2341,2780,2691,1825,1475,1529,1967,2177,1874,1755,1900,1655,1916,2566,2741,2028,1375,1437,1404,1108,1229,1882,2336,2652,2683,2415,2234,2040,2172,1831,1676,1777,1729,1985,2068,1868,1652,1614,1696,2194,1874,2369,2586,2532,2219,1734,1763,2185,2126,1968,2345,2618,2973,2389,1757,1635,1873,2232,2234,1727,2129,2177,2024,2287,1815,2243,3217,3156,3006,2669,2876,2082,1590,1604,1424,1462,1896,2382,2333,1718,1886,1984,2347,2564,2813,2403,1928,1915,2417,2959,2955,2753,2635,2474,2287,2523,2231,1736,1761,2122,2175,2032,1835,1839,2182,2461,2349,1880,1595,1826,1858,1834,1607,1615,1777,1651,1550,1498,1670,1856,1979,2160,2319,2665,2039,1769,1700,2267,2190,1960,2046,2424,2324,1832,2163,2841,2768,3214,3194,2222,1799,1597,1527,1583,1579,1968,1884,1639,1747,1639,1583,1651,2134,2018,1834,1591,1438,1516,1620,1764,1833,1712,2079,2492,2643,3195,2895,2364,2946,3142,2800,3038,3144,2804,2906,2589,2301,2386,2326,2590,2355,2659,2665,2015,2198,2522,2494,2141,2013,2326,2636,2267,1664,1659,1631,1865,1995,2513,2382,2094,2117,2026,1649,1833,2029,2081,2137,1736,1930,2314,2490,2741,2118,2120,1713,1337,1880,1975,1464,1445,1521,1837,1775,1553,1639,1606,1528,1566,1575,1683,1380,1655,1938,1547,1385,1508,1698,1825,2033,1889,1757,1856,2449,2483,2007,1999,2469,2447,2098,2059,2430,2608,2993,2343,2022,2082,2194,2018,1791,2298,2604,2286,1892,1654,1700,2018,2297,1938,1904,2170,1994,2024,2015,1860,1949,1996,1808,2393,2891,2135,1815,1723,1860,2209,2072,2243,2447,2974,3085,2348,2419,3125,3139,3184,2943,2545,2599,2712,2676,2643,2808,3249,3742,3871,3707,3372,2689,2397,2707,3645,3691,3654,3251,2877,2769,2788,2653,2610,2640,2739,3030,3285,3785,3590,3510,3395,3069,2802,2916,3029,3298,3521,3283,3381,3190,3190,3310,3232,3318,2896,1986,1637,1619,1871,2498,2674,2507,3029,2135,2013,2698,3119,3206,2953,2943,2728,2623,2424,2788,2607,2093,1846,1466,1476,1602,2230,2195,1705,1389,1439,1878,2241,2328,1982,1846,1969,1942,2174,2171,1698,1848,1713,1630,1648,1707,1869,2281,2248,2099,2026,2659,2767,2392,2553,2315,2144,1831,2107,2344,2403,2285,2229,2155,2134,1781,1730,1887,2070,2490,2839,2414,1861,2071,2443,2342,2058,2119,2167,1930,1635,1814,1450,1609,2811,2200,1754,1807,1711,1565,1581,1721,2134,2093,2016,1852,1521,1464,1337,1164,1287,1606,1780,2048,1874,1832,1970,1755,1682,2023,2796,2898,3384,3273,2062,1866,2004,2232,2457,2224,1980,2078,2195,1808,1458,1474,1739,1663,1842,1910,1674,2094,2700,2587,2333,2260,2416,2601,2177,1808,1760,1764,1705,2022,1797,1588,1840,1931,1795,1553,1674,2089,1965,1305,1375,1523,1547,1556,1443,1465,1308,1264,1333,1648,1753,1287,1432,1626,1769,1769,1682,1970,2138,2859,2850,1934,1630,1771,1787,1596,1487,1472,1595,1736,1925,2562,3065,2363,1767,1884,2152,2340,1916,1635,2128,2844,2629,2730,2491,2153,2002,2299,2907,2521,2127,2122,2030,1541,1589,2181,1982,1851,2743,3250,3450,3371,3385,3468,3439,3506,3577,3485,3116,2679,1985,1349,2014,2723,3266,2566,2765,2428,1121,1753,3318,3462,3370,3207,3220,3736,3618,3441,3484,3846,4093,4082,4080,3997,3654,3295,3043,2857,2669,2689,2907,2801,2824,3076,3108,3281,3464,3722,4235,4524,4601,4485,4276,4235,4125,3859,3714,3381,3420,3841,3784,3715,4112,3927,3579,3692,3839,3816,4016,3768,3513,3360,3321,3568,3673,3580,3476,3677,3724,3735,3585,3738,4157,4016,3575,3544,3453,3242,3305,3222,3107,3223,3065,2885,2879,2942,3420,3198,3222,3515,3517,3122,2899,2833,2835,2958,3112,3460,3666,3886,3474,3362,3375,3283,3370,3750,3420,2912,2724,2665,2482,2063,1997,2087,2010,2103,2407,2699,3220,3573,3420,2974,2996,3331,3205,3244,3018,3007,2802,2629,3060,3551,3558,3616,3943,3856,3619,3244,2867,2188,1381,1308,1641,2613,3216,2813,3059,3566,3829,3802,3805,3807,3518,3330,3216,2904,2523,2483,2429,2409,2371,2237,2099,2130,2212,2243,2205,2024,1823,1797,1869,2019,2192,2158,2549,3257,3495,3422,3008,2508,2678,3032,3463,3930,3786,3429,3183,3352,3592,3581,3542,3554,3474,3347,3487,3443,3311,3596,3595,3377,3797,3955,4428,4568,4447,4105,3651,3553,3032,2975,3482,4396,4803,4345,3621,2942,2319,2612,3471,3852,3710,3600,4169,4156,3564,3132,3421,3878,3737,3429,3106,3161,3443,3348,3488,3848,3628,3362,3459,3483,3717,3993,3483,3873,3978,3965,4168,4271,3951,3745,3364,3281,3576,2775,2551,2105,1917,1733,2006,2278,2103,1936,2050,2013,2459,3040,2265,1885,2084,2661,3047,2970,2237,2332,2675,2120,2071,2735,2813,3042,3189,3761,3559,3288,2286,1928,2259,2390,2468,2501,2492,2597,2694,2635,2577,2620,2723,2431,2166,2193,2303,2401,2489,2439,2308,2336,2868,3287,3569,3332,3226,3605,3648,3378,3506,3603,3659,3918,3920,3620,3275,3450,3340,3175,3227,2973,3017,2829,3637,4037,3870,3584,3346,3463,3718,3587,3693,3175,2688,3108,2648,2951,3500,3646,2998,2786,2776,2764,2774,2964,3100,2792,2570,3544,3191,2310,3074,4165,4256,3726,3748,3609,3095,2829,2733,2601,2666,2827,2984,2840,3066,3471,2983,3312,3861,4052,4179,3881,3907,3917,3886,3709,4224,4238,4509,4737,4639,4433,3747,3139,2928,3012,2728,2171,2633,2380,2002,2266,1851,1533,1516,1784,1939,2172,2308,1958,2094,2239,2567,2447,2190,1767,1649,1712,1555,1441,1385,1409,1511,1575,1498,1672,2014,1881,1883,1962,1765,1934,1802,1805,1968,1800,1505,1457,1505,1893,2079,1442,1577,1549,1532,1680,2071,1876,1755,2517,2858,2452,2452,2532,2226,2578,2676,2657,2651,2923,3032,3344,3387,3088,2776,2473,2413,2363,2004,1869,1847,2161,2591,2752,2724,3068,3258,3352,2849,2318,2041,1840,2232,2362,2621,2027,2779,3658,3342,3535,4168,4440,4308,3359,2286,2075,2596,2912,2575,2788,3400,3107,2654,2674,2879,2611,2841,3228,3599,3629,3808,4152,3006,2554,2684,2451,2670,3065,2568,2366,2635,2561,2459,2502,2938,2950,2173,1913,1868,2447,2648,2548,2524,2660,2709,2712,2806,2864,2544,2410,2114,1664,1786,1851,1652,1859,1871,1596,2386,3409,2564,1815,1941,1783,2094,2445,2822,3377,2653,2422,3795,4542,4213,4247,4663,4098,3763,4193,3717,2830,2364,2032,1947,2312,2501,2150,2034,2491,2512,2291,2271,2031,2215,2047,1896,1886,2735,3009,2929,2633,2177,2398,2780,2801,2864,2773,2900,2798,2649,2619,2236,2153,1947,2198,2482,2230,1714,1654,1954,2430,2181,2363,2497,2697,2552,2618,2986,3207,2741,2578,2767,2729,2764,2991,2771,2784,3030,3218,2770,2523,2268,2959,2602,1985,2086,2666,3151,3335,2980,2238,2028,2159,1815,2480,2876,2886,2859,2718,2771,2717,2908,2907,2147,2050,2381,2510,2383,2677,2702,2668,2841,2590,2814,2909,2148,1825,1888,1580,1403,1971,2333,2233,2539,2510,2680,2954,3128,2952,2735,2928,2655,2498,2812,3108,2906,2965,2894,2911,3095,2810,2796,2938,2702,2438,2478,2589,2917,3252,3199,3222,2922,2668,2612,2783,2785,2796,2827,2404,2249,2630,2484,2089,1597,1655,1992,2590,2790,2363,1901,1969,2522,2828,3047,3418,3488,2743,2780,2905,2685,2491,2452,2343,2635,3476,3128,2397,2308,2456,2271,2262,2989,3300,2885,3155,3300,2404,2321,2888,3138,2984,2699,2596,2068,1966,2126,2416,1947,2217,2345,2119,2002,1967,2304,2597,2483,2316,2349,3227,3476,3350,3305,2622,2910,2975,2846,2997,3221,3348,3098,2497,2022,2258,2161,2986,3483,3538,2644,2554,2823,3001,3186],[2663,2606,2646,2608,2421,2520,2742,2618,2587,2464,2254,2169,1671,1653,1446,1759,2239,2288,2442,2639,2302,1952,2104,2292,2621,2634,2928,3111,2601,2187,2194,2107,2055,1970,2066,2492,2340,2115,2109,2006,2099,2024,2150,2003,1432,1222,2076,2642,2713,3050,3557,3419,2938,2715,2820,2849,3068,3040,2461,2399,2943,3056,2458,2399,2941,2731,2296,2463,2332,2710,2524,2214,1928,1792,1852,2216,2866,2998,2664,2449,2468,2753,3088,3243,2580,1818,1841,2962,3493,3223,2579,2061,1924,2226,2676,2752,2562,2783,2687,2600,2684,2740,2333,2502,3155,3612,2823,1988,1996,2318,2815,2938,2763,2929,2850,2415,2483,3244,3767,3937,3670,3603,3625,3647,3771,3588,3637,3228,2978,2569,3306,3837,3937,3918,4079,4264,4375,3903,3326,3621,3719,3732,3726,3492,3338,3552,3685,3672,3232,2566,2119,2055,2397,2607,2844,3418,3536,3859,4015,4056,4055,4042,2909,1997,2612,3207,3160,2754,2734,3001,3086,3056,3002,2658,2192,2235,2907,3698,4115,4023,3746,3859,3882,3669,3686,3264,1863,1162,1740,2375,2105,2040,3010,3776,3286,2934,2796,2879,2492,1950,1741,1981,1790,2247,2851,3176,3321,3154,3022,2937,2868,2975,2951,2905,2790,2399,2614,2438,2214,2078,2219,2459,2563,2465,2015,2562,3441,3395,3161,2952,2382,1804,2990,3808,2974,2661,3195,3047,2569,2113,1939,2010,2862,2066,1473,2786,2885,2293,2274,2148,2493,3045,2887,2940,3134,2442,2350,2824,2387,2609,3300,2788,2683,2775,2921,3226,2945,2418,2499,2040,1658,2192,2739,2965,2852,2902,2775,2547,2654,2681,2484,2121,2268,1914,1702,2066,2836,2778,2387,2840,2780,2438,2416,2376,2420,1909,1991,2485,3732,4113,3624,2800,2482,2353,2237,3264,4244,3891,2989,2854,3196,3520,3220,2353,1924,1854,2269,2714,2368,2327,2652,2826,3473,3473,2337,1944,2288,2366,2147,2287,2044,1986,2284,2248,1826,1776,1920,1892,2220,1693,1764,1965,1992,1630,1507,1695,1736,1910,2099,2585,3077,2929,2490,2042,2493,2730,2620,3140,2521,1897,1782,2065,2945,3083,2200,1635,1697,2099,2446,1798,1888,2367,1941,2120,2386,2233,1618,1247,1544,1705,1561,1600,1975,2181,2117,2226,2558,2807,2663,2198,1525,1509,1701,1729,1634,1653,1611,1822,1771,1773,2380,2411,2438,2620,2897,2195,1742,1983,1624,1809,1824,2345,2330,2031,1896,1744,1627,1998,2151,1771,1794,2067,1807,1916,1964,1712,2084,2535,2275,2290,2434,2253,1533,1283,1441,1422,1506,1648,1742,1795,2276,2397,2084,2448,2369,2370,2439,2453,2157,1934,2450,2697,2689,2450,2279,2312,2466,2302,1900,1797,1961,2069,1765,1481,1644,2076,2250,2178,1769,1614,1913,1633,1683,1691,1678,1622,1719,1759,1534,1857,2097,1979,2280,2532,2464,1738,1859,1969,1879,1961,2072,1844,1978,2039,2032,2342,2562,1886,2544,2337,1875,1923,1748,1642,1815,1995,2076,1684,1599,1584,1614,1613,1765,2249,2158,1882,1831,1735,1654,1620,1817,1941,2079,2839,2964,2786,3041,3054,3000,3333,3177,2955,3105,3206,3140,2623,2208,2310,2396,2618,3332,2774,2436,2141,1953,2061,2591,3073,2843,2275,2429,2217,1559,1418,1694,1764,1914,1765,1758,1875,1974,2009,1791,1570,1746,2149,2492,2172,1691,1886,2267,2972,2961,2199,1783,1685,1816,2240,2641,2006,1873,1684,1760,1815,1634,1469,1410,1437,1393,1531,1480,1349,1644,1616,1597,1456,1652,1843,1921,1741,1642,1764,1836,2339,2450,1923,1928,2326,2371,2018,2129,1941,2186,3045,2612,2222,1852,2069,2432,2172,2347,2812,2569,1653,1722,1699,1750,1737,1839,1851,1930,1925,1919,2039,1910,1532,1717,1870,2299,2786,2388,1882,1605,1718,1930,2153,2153,2408,3138,3098,2543,2178,2798,2985,3121,2988,2655,2527,2323,2177,2257,2459,2969,3354,3278,3525,3672,3132,3548,4001,4152,4296,4245,4004,3518,2966,2852,3013,2991,3009,2995,3094,3429,3730,3183,3072,3294,3029,2584,2447,2509,2520,3283,3119,3201,3074,3172,3371,3178,2997,2212,1509,1473,1466,1497,2056,2652,2425,2801,2460,2680,2967,3087,3099,2877,2665,2848,2898,2952,3374,3193,2517,2434,1848,1567,1444,1991,1980,1730,1759,1852,2094,2424,2623,2288,1992,1829,2006,2385,2137,2151,2137,1865,1586,1466,1474,2169,2965,2647,2163,1820,2452,2730,2645,2622,2445,2263,1806,1683,2158,2342,2169,2429,2150,2045,1503,1754,1903,2703,3271,3454,2736,2270,2667,2771,2394,2120,2089,2413,2175,1932,2134,1653,1897,3143,2822,1904,1869,2187,2134,2096,2038,2182,1970,1824,1773,1470,1353,1241,1439,1776,1734,1931,2188,1848,1618,1403,1419,1545,1555,2008,2759,2994,2829,2398,1967,1772,2163,2613,2537,2079,2048,1898,2048,1849,1776,1809,1905,1985,1884,1860,2258,2443,1810,1819,2082,2415,2522,1990,1701,1833,1749,2010,2656,2300,1648,1455,1352,1444,1515,1706,1930,2029,1465,1245,1284,1611,1554,1386,1482,1512,1554,1648,1603,1461,1255,1622,1877,1798,1515,1709,1764,2071,2884,2510,1684,1459,1430,1686,1497,1333,1543,1922,2293,2663,2990,3146,2837,2315,1940,1692,1875,1636,1946,2461,2889,2922,2932,2973,2886,2666,2729,2698,2381,2033,1837,2105,1691,2004,2353,1947,1908,2200,2729,3354,3552,3716,3753,3588,3353,3287,3602,3842,2854,2150,2876,3791,3691,3850,3356,3196,2920,2186,2972,3945,3715,3708,3792,3561,3772,3685,3329,3231,3625,4167,4231,4100,4016,3742,3472,3130,3103,3274,3583,3440,2674,2645,2900,3188,3674,3759,3769,4175,4422,4620,4320,4095,4123,4211,3915,3676,3418,3350,3640,3764,3793,4304,4125,3692,3660,3743,3675,3897,3381,3415,3460,3342,3360,3541,3624,3728,4047,3818,3776,3531,3862,3917,4006,3619,3442,3282,3009,3210,3299,3199,3113,2808,2686,2855,3131,3641,3393,3255,3578,3661,3308,2910,2843,2857,3040,3140,3620,3458,3653,3550,3307,3609,3699,3698,3758,3328,2573,2305,2308,1989,2049,2303,2381,2238,2219,2210,2298,2747,3042,3221,3428,3522,3562,3253,3416,3340,3066,2729,2528,3028,3397,3317,3432,3572,3507,3372,2827,2833,2746,2544,2417,2799,3123,2950,2882,3326,3709,3792,3734,3603,3361,3016,2807,2678,2533,2480,2325,2232,2238,2265,2402,2562,2500,2298,2071,1892,1806,1981,2165,2192,2501,2941,2628,2513,3024,3466,3254,3002,2860,3111,3062,3507,3862,3479,3209,2820,2797,3183,3451,3306,3174,3203,3217,3184,3438,3328,3537,3672,3399,3095,2911,3064,3227,3609,3618,2971,3261,3155,3354,3794,4379,4583,3786,3054,2363,2510,3629,3956,3625,3467,3549,4228,4141,3630,3200,3200,3706,3772,3669,3849,3973,3656,3376,3628,3928,3859,3477,3138,2951,3729,3994,3786,3759,3687,3487,3630,3942,3892,3661,3027,2705,3259,3146,2574,2630,2460,2078,2120,2285,2153,1974,2509,2571,2370,2671,2210,2428,2715,2858,2730,2919,2590,2642,3123,2322,2050,3010,3440,3435,2978,3504,3132,2623,2233,2184,2364,2601,2732,2275,2054,2501,2664,2944,2952,2853,2897,2811,2959,2518,2213,2554,2850,3070,2966,2909,3176,3392,3920,3515,2758,2878,3327,3243,3378,3443,3683,4061,4042,3342,2741,3403,3458,3504,3419,3376,3592,3848,4018,3867,3550,3506,3608,3710,3757,3387,3454,3479,3663,3430,2894,3167,3726,3475,3023,2986,2895,2836,2670,2753,3150,3051,2713,3246,3062,2310,2488,3842,4131,3691,3920,3871,3500,3045,2775,2767,2879,2842,2811,2623,2986,3111,2621,3161,3694,3421,3651,3631,3474,3431,3858,3730,4107,4278,4436,4572,4523,4421,3941,3276,3060,3054,2902,2314,2208,1843,1519,1488,1494,1567,1557,1520,1630,2086,1955,1693,2151,2244,2084,2297,2118,1627,1486,1570,1564,1759,2142,2104,1726,1500,1737,1833,2231,2243,1799,1522,1549,1659,1834,1937,2116,1845,1428,1415,1498,1730,1889,1816,1664,1596,1595,2020,2114,1750,1791,2233,2774,2733,2791,2743,2755,2247,1795,2244,2540,2711,2614,2758,3003,2856,2648,2701,2841,2850,2501,2081,1882,1842,1887,2374,2686,2839,2960,3271,3334,2977,2679,2311,2743,2857,3043,2528,3032,3333,3063,3104,3381,3608,3833,3471,2979,2698,2975,2768,2299,1923,2570,2662,2216,2421,2480,2498,3265,3417,3211,2999,3084,3082,2381,2678,2605,2267,2599,2684,2019,1957,2532,2877,2831,2542,2293,2289,1953,1900,1744,2354,2600,2474,2524,2656,2600,2469,2824,2084,1824,2368,1803,1897,1952,2079,1858,1997,2274,1763,2042,2193,1922,2216,2806,2569,2585,2331,2415,2912,2730,2753,3768,4292,3146,2482,3625,3840,4188,4100,3506,2173,2002,2392,2109,2017,2254,1962,1860,2028,2062,1874,1857,2025,2064,2016,2141,2226,2952,3682,3400,2523,1994,2511,2734,2988,3240,3133,3205,3309,3188,2518,2384,2357,1974,1732,1797,1989,1886,1715,2441,2963,2940,3155,3095,3249,3020,2878,2617,2579,2780,3134,3250,3183,3062,2776,2257,2668,3062,2729,2677,1809,1875,2965,3012,2607,2603,2991,2689,2499,2880,2432,2191,2078,2333,3376,3041,2172,2618,3582,3826,3197,2641,2350,1958,2283,2253,2238,2931,3242,3012,2841,2911,2877,2442,2087,1559,1531,1564,1613,1710,2319,2387,2302,2507,2295,2034,2386,2852,2756,2923,3019,2551,2609,3030,3101,3162,3030,3042,3316,3432,3376,3063,2372,2384,2197,2462,2279,2843,2801,2578,2655,2643,2425,2465,2917,2872,2786,2984,2512,2306,2715,3018,3061,2043,2215,2432,2691,3100,2505,1924,1947,2230,1700,2270,3071,3488,2902,2934,2733,2693,2608,2588,2162,2115,3002,2828,2420,1926,2104,2237,1987,2869,3094,2714,3117,3124,2721,2797,2912,2865,2419,1924,2552,2735,2244,2080,2287,1916,2334,2239,1555,1541,1555,2035,3019,2488,2214,2134,3034,3646,3444,3394,2873,2356,2468,2627,2557,3176,3189,2986,2841,2095,2652,1898,1759,2959,2865,2199,2477,2742,2921,3100],[2687,2141,1738,1683,1682,1955,2342,2799,2986,2411,2304,2215,1924,2081,2274,2299,2221,2425,2736,2838,2644,1819,2142,2786,3300,2735,2943,3188,2721,2634,2743,2162,2182,2057,1772,2214,2411,2251,2127,1867,1870,1826,2016,2079,1848,1790,2269,2835,2985,2994,3213,3210,2837,2664,2742,2597,2565,2610,2170,2169,2630,2908,3046,3155,3095,2953,2488,2621,2460,2524,2336,2060,1982,1939,2053,2190,2494,2740,2494,2237,2379,2853,3068,3392,3085,2361,1832,2792,3664,3497,2785,2110,2065,2283,2401,2522,2173,2580,2595,2422,2514,2639,2507,2478,2509,2555,2348,2319,2081,2018,2298,2893,2587,2452,2709,2571,2686,3099,3513,3626,2839,2791,3172,3195,3421,3563,3808,3541,3310,3295,3085,3522,3971,3946,4101,4296,4300,3731,3403,3660,3805,3731,3776,3607,3458,3631,3617,3135,2372,2084,2457,2552,2598,2661,3018,3296,3751,4196,4176,4235,3951,3811,3137,2250,2525,2631,2955,3185,3090,3029,2889,2887,2533,2221,2314,2268,2737,3583,3971,4031,3824,3463,3253,3321,3286,3074,2230,1419,1583,1752,1803,2017,2263,3217,2866,2743,2744,2646,2030,2191,2380,2424,2394,2531,2855,3130,3507,3584,3330,3254,3347,3091,2907,2769,2109,1757,2240,2710,2350,1854,2286,2645,2479,2337,2142,2029,2907,3055,2645,2414,1984,1809,3047,4210,3277,2160,2895,3242,3173,2563,1943,2081,2314,1742,1621,2669,2729,2251,2404,2442,2453,2720,2762,3216,3208,2294,1760,1997,1933,2032,2265,2101,2420,2843,2795,2812,2489,2207,2268,1846,1883,2678,2752,2485,1992,2074,2470,2458,2649,2310,2148,2248,2227,1947,1915,1969,2722,3165,2810,2823,2553,2300,2294,1984,2227,1807,2003,2361,3140,3809,2807,2180,2830,2544,2028,2766,3498,2886,2048,2309,3120,3753,3816,2595,2053,2260,2309,2457,2490,2310,2366,2149,2221,2207,1705,1558,1791,2227,2578,2364,2078,2088,2045,1880,1766,1771,1780,1906,2025,1448,1526,2395,2601,2048,2091,2120,1719,1687,1815,2301,3104,3138,2168,2153,2224,2120,2142,2840,2814,2301,2248,2368,2737,2891,1788,1598,2046,2063,2424,2102,2160,2271,1905,1921,2042,1815,1585,1476,1883,2393,2393,1898,2163,2138,2201,2625,2763,2970,2933,1965,1528,1761,1887,2075,1736,1547,1533,1715,1844,1561,1371,2395,2634,2126,2444,1955,1990,2348,2177,2907,2276,2253,2081,1933,2184,1941,1558,1672,1707,1894,2115,1756,1505,1615,1529,1661,1807,2141,1721,1582,1547,1302,1382,1474,1819,2342,2389,2229,2250,2335,2840,2921,2432,2168,1968,2237,2330,2194,2230,2103,1908,2534,2828,2638,2228,1949,2131,2470,2302,1893,1998,2010,1700,1702,2060,1883,1727,1884,1891,1876,1848,1654,1548,1621,1744,1704,1704,1772,1782,1793,1898,2098,2211,2770,2279,1796,1786,2094,1959,1910,2128,1769,1655,1803,1938,2012,1873,1242,1332,1556,1858,2080,1800,1597,1887,2268,1918,1591,1659,2014,2027,1787,1699,1703,1670,1987,2118,1989,1613,1498,1757,1958,2302,2850,2976,2917,2897,3095,3133,3133,3155,3394,3305,3273,3104,2508,2333,2506,2501,3132,3301,3119,2510,2073,2206,2330,2450,2668,2775,2576,2718,2274,1683,1451,1754,2222,2010,1575,1747,2261,2345,2289,2047,1765,1844,2423,2371,1804,1670,1712,1919,2329,2030,1740,1741,1702,1893,1978,2497,2238,1902,1742,1814,1606,1685,1653,1410,1417,1483,1621,1657,1510,1586,1662,1586,1454,1502,1672,2009,1781,1546,1590,1670,1855,1937,1814,1949,1985,1847,1581,2052,1826,1838,2154,2156,2264,1875,1754,2138,2395,2864,2859,1987,1470,1682,1747,1525,1693,1925,1823,1886,1703,1568,1943,1879,1640,1573,2247,2729,2801,2359,1779,1794,1916,2060,2715,2751,3124,3212,2967,2788,2227,2808,2997,2820,2576,2401,2524,2352,2068,2301,2504,2975,3207,3479,4132,3997,3746,4209,4340,4357,4453,4208,4131,3970,3015,2554,2629,2975,3134,3185,3211,3500,3598,2786,2571,3164,3056,2779,2283,2336,2724,3147,3098,3171,3260,3366,3301,2843,2482,2195,1682,1338,1349,1616,2458,2951,2976,2828,2814,3066,3076,2955,2971,2839,2664,2900,3096,3242,3387,3531,3194,2592,1792,1692,1487,1667,1676,1913,2535,2617,2788,2713,2890,2678,2138,1886,2108,2283,2016,2147,2225,1954,1942,2018,1744,2202,2952,2890,2163,2352,2592,2248,2145,2179,2089,2031,1698,1259,2085,2496,2141,2447,2433,2196,1797,1829,2163,2980,3233,3110,2692,2709,3289,3482,3083,2776,2846,2780,2320,2289,2339,1855,2179,3109,2946,1870,1721,2901,3350,2944,2438,2009,2003,1847,1914,1643,1177,1201,1599,1935,1737,1551,1549,1732,1735,1821,1690,1560,1438,1460,1965,2169,1994,1941,2129,2248,2201,2142,2066,1892,1821,1735,1989,1947,1846,2000,2334,2318,2212,2330,2458,2350,1673,1666,2194,2323,2377,1958,2062,2199,1913,2330,2709,2116,1663,1432,1531,1718,1804,1976,2029,1974,1821,1513,1317,1467,1381,1332,1577,1546,1371,1815,2090,1578,1274,1276,1498,1605,1915,2204,1725,1929,2460,1996,1701,1430,1335,1680,1477,1478,1686,2109,2657,3045,3002,2983,2901,2596,2325,1719,1695,1516,1710,1873,2317,2698,2845,2813,2749,2720,2602,2554,2566,2103,1890,1794,1999,2392,2344,2132,2141,2035,2499,3381,3605,3728,3841,3614,3447,3093,3129,3674,3411,3384,4125,4377,4116,4193,4017,3834,3648,3498,3436,3472,3121,3395,3755,3476,3559,3635,3505,3407,3504,3925,4064,3991,3990,3838,3753,3445,3326,3609,3643,2949,2534,2679,2919,3750,4141,3871,3791,3901,4126,4332,4112,3864,3958,4141,3928,3748,3805,3677,3540,3917,4132,4545,4546,4027,3527,3738,3895,3812,3691,3475,3610,3498,3159,3238,3389,3602,3828,3854,4108,4036,4080,4161,4152,3899,3460,3097,2866,2919,2971,2980,2968,2781,2678,2854,3341,3785,3588,3528,3623,3475,3060,3074,3583,3545,3505,3251,3326,3421,3575,3475,3243,3620,3827,3318,2770,2238,2459,3052,2797,2031,2178,2419,2666,2491,2309,2139,2109,2304,2423,2810,2988,2890,2798,2775,3059,3393,3362,2881,2658,2771,2815,2923,3357,3124,3443,3442,3022,2991,3108,3103,3256,3585,3508,3278,3404,3658,3400,3270,3218,3344,3039,2798,2512,2372,2299,2297,2340,2435,2556,2632,2589,2329,1898,1726,1744,2007,2407,2655,2649,2903,3200,3208,3000,2657,2666,3094,2938,3030,3039,2980,3001,3144,3299,3209,3122,2965,2801,3008,3327,3275,3042,3301,3522,3328,3334,3399,3671,4133,4157,3708,2965,2409,2826,4190,4252,3093,3076,3498,3551,3750,4011,3883,3210,2398,2333,3550,4357,4056,3549,3304,3275,3908,4336,4124,3819,3594,3771,3962,3994,4264,4299,3814,3838,3914,4056,4100,3847,3265,2984,3697,4103,3813,3630,3641,3379,3271,3416,3520,3862,3752,2937,2711,3305,3296,3376,3060,2124,1973,2346,2262,2184,2925,2953,2120,1837,1941,2212,2788,2775,2154,2625,3062,2855,2509,1891,2006,2906,2943,3206,3108,2726,2241,2437,2962,2872,2305,2707,3112,2604,2326,2623,2834,3191,3240,3254,3409,3494,3799,2783,1843,2818,3266,3312,3143,3119,3480,2937,3166,3372,2969,3216,3618,3427,3307,3428,3696,3981,3816,3734,3916,4016,3736,3647,3619,4030,4220,4045,3609,3302,3401,3420,3543,3712,3692,3573,3287,3092,3242,3241,3566,3871,3620,2808,2529,3117,2467,2279,2512,2710,2498,2428,3303,3714,3295,2463,2315,2899,2805,3136,3836,3938,3730,3353,3019,3074,3196,2923,2785,3103,3260,2830,2547,2855,3009,2822,2687,2639,2577,2887,3742,3924,3976,4127,4193,4345,4356,4269,3610,2964,3152,3056,2778,2545,2322,1687,1455,1514,1495,1502,1513,1382,1845,2331,1851,1627,2420,2579,2474,3318,2664,1621,1532,1547,1643,1998,2653,2763,1990,1535,2232,1907,1968,1910,1681,1776,1677,1542,1660,1665,2082,1722,1394,1443,1565,1819,1879,1766,1605,1836,2308,2597,2452,1941,1733,2222,2647,2636,2663,2213,2266,1904,1887,2181,2552,2743,2430,2352,2252,2312,2463,2778,2865,2873,2552,2508,2310,2047,1840,1823,2032,2455,2814,2957,3055,3242,3242,3090,3078,3175,2972,2902,3100,3313,3262,3119,3208,3659,3950,4064,3706,3067,2575,2568,2325,2413,2452,2099,2341,2854,2689,2813,3262,3534,3256,2470,2315,2201,2220,2420,2150,1786,1986,2147,2020,2115,2253,2679,2822,2667,2266,1915,2111,2112,1669,1891,2142,2319,2345,2480,2534,2417,2459,1815,2095,2407,2368,2430,2231,2522,2645,2757,2593,2263,2552,2734,2674,3062,3318,3249,2893,2445,2697,3228,3287,2967,2935,4012,3304,3020,3996,3914,3570,2907,2275,1771,2092,2547,2186,1863,1836,1899,1930,2061,2340,1953,1918,2678,2890,2719,2569,2256,2894,3813,3588,3043,2809,2843,2941,3284,3402,3359,3333,3494,3326,2425,2359,2498,1941,1698,1893,2136,2098,1858,2662,2656,2710,3221,3260,3166,3222,2820,2146,2062,2066,2818,3033,2545,2388,2157,2031,2652,2500,2046,1994,1915,2739,3495,3171,2416,2786,2697,1787,1853,2583,3186,2905,2369,3084,3693,2875,2386,3445,3594,2864,2194,1911,1556,1981,2339,2091,2435,2659,2645,2805,2740,2669,2640,2374,2209,2187,1797,1808,1830,1713,2071,2430,2445,2453,2530,1971,1890,2733,2775,3196,2752,2610,3029,3401,3307,3093,3111,3539,3538,3340,3198,2874,2019,2333,2403,2852,2833,2711,2473,2386,2512,2476,2163,2331,2875,2535,2680,3016,2164,1831,2316,2480,2533,2072,2237,2151,2149,2661,2578,2271,2328,1886,1233,2122,3169,2990,2991,3176,2712,2544,2801,3160,3053,2728,2807,2632,2820,2498,2556,2649,2678,2959,2957,3184,3638,3890,3548,2874,2875,2753,2337,2109,2940,3023,2422,2153,2122,2157,2744,2840,1782,1691,1967,3152,3805,3142,2463,2643,3061,3040,3061,2865,2290,1826,2078,2323,2803,2474,2054,2317,2791,2705,2763,2046,2130,2900,2620,2395,2333,2688,3207,2941],[2254,1774,1587,1928,2122,2281,2071,2143,2554,2143,2160,2203,2298,2374,2187,2077,2012,2177,2078,2079,2051,1477,2172,2731,2750,2719,2522,2077,2113,2637,2535,2248,2732,2916,2226,2118,2474,2668,2352,1924,1740,1721,1911,1884,1831,1963,2249,2700,2737,2409,2486,2751,2621,2951,2778,2428,2050,1830,1843,1936,2245,2423,2758,2569,2243,2508,2116,2115,2115,2198,2194,1964,1743,1959,2502,2624,2468,2383,2294,2017,2130,2822,3099,3560,3355,2762,1881,1963,2887,2796,2310,2211,2338,2415,2547,2589,2282,2722,2722,2052,2262,2931,3095,2962,2404,2287,2424,2680,2300,2298,2514,2840,2584,2376,2808,3019,2899,2692,2144,2827,2593,2488,2764,2707,2923,3183,3642,3650,3670,3604,3266,3540,3936,3914,3995,4111,4135,3561,3552,3702,3799,3763,3828,3793,3705,3642,3168,2342,2081,2371,2856,2840,2696,2663,2858,2986,3814,4267,4119,4099,3948,3803,3538,2554,2586,2744,3287,3632,2949,2345,2910,3375,2756,2242,2324,2264,2536,3019,3597,3630,3254,2753,2845,2889,2322,2535,2562,2095,2316,2083,1893,2294,2106,2574,2401,2013,2264,2784,2790,3016,2688,2254,2149,2213,2692,2766,3349,4015,3731,3173,3241,2928,2464,2124,1870,2097,3086,3772,2984,1950,2354,3182,2968,2395,2244,1920,2430,3088,2471,1907,1909,1785,2277,2962,2744,2316,2540,2832,2896,2688,2044,2091,2132,1936,1808,1856,2040,2791,3400,2624,2204,2467,2720,2662,2416,2125,1695,1561,1546,1571,2014,2097,1759,1498,1635,1858,1927,1928,2056,2086,2145,3196,3212,2045,1754,1853,1929,2065,2500,2125,2326,2544,2100,2029,1874,2041,2986,3473,2990,2386,2450,2609,2222,2008,2552,2134,1815,1549,2110,2617,1956,2025,2768,2469,2134,2321,2788,2601,2157,2402,3329,3522,3513,2955,2504,2996,2956,2281,2130,2105,2798,2432,2030,1857,1361,1557,1726,2277,2540,2098,2018,2094,2159,1984,2172,1968,2310,2642,2300,1664,1980,2988,2684,2156,2665,2711,1881,1708,1590,2598,3211,3083,2243,2186,1919,1906,1985,1924,1926,2597,2995,2525,2359,2276,1863,1639,1838,1648,1902,2050,1854,1681,1500,1383,1614,1772,2170,2126,2298,2600,2105,1797,2091,2121,2143,2281,2364,2478,2486,1619,1500,1591,1808,1877,1550,1353,1367,1462,1576,1526,1352,1948,2182,1638,1714,2030,2081,2315,2416,2603,2004,1778,1829,1702,2008,2238,2081,2013,1980,1929,1902,1472,1464,1456,1573,1676,1749,1732,1469,1412,1268,1158,1330,1337,1913,2841,2897,2832,2943,2841,2391,2076,1973,1901,1930,1871,1704,1578,1697,1765,2198,2988,3233,3193,2876,2345,2046,2427,2468,1687,2044,2358,1854,1563,1674,1710,1748,1682,1422,1658,1819,1682,1670,1666,1552,1754,1764,1841,2523,1900,2004,1901,2379,2895,2664,2444,1771,1592,1836,1887,1936,1454,1459,1598,1848,1877,1639,1664,1642,1648,1739,1762,1780,1735,2050,2159,1617,1675,1743,2426,2278,1802,1645,1753,1920,2181,2347,2336,2282,1850,1867,1690,1812,2422,2994,2854,2578,2514,2609,2706,2878,2664,3291,3527,2755,2602,2416,2367,2996,3606,3354,2934,2242,2118,2422,2416,2296,1969,2004,2208,2740,2456,1876,1749,1903,2144,2181,2163,2651,3220,2688,2452,2724,2375,1785,1904,1677,1897,1979,1660,1576,1593,1540,1731,1721,1627,1903,1994,2067,1698,1540,1827,1692,1339,1671,1832,1707,1678,1490,1393,1414,1591,1420,1666,1530,1659,1681,1720,2072,1838,1438,1589,1449,1450,1598,1618,1562,1703,1814,1611,1874,1923,2028,2110,1747,1866,1852,2275,2812,3196,3076,2520,1843,1558,1510,1507,1361,1577,1642,1524,1648,1802,1619,1575,1626,1799,1854,2604,3113,2967,2578,2055,2003,2051,1874,2376,2554,2917,2980,2963,2997,2950,2830,2728,2662,2423,2548,2686,2424,2179,2366,2640,3242,3387,3476,3672,3564,3715,4133,4086,4003,3941,3780,4018,3616,2633,2597,2958,3174,3131,3130,3115,3206,3097,2586,2448,3007,3469,3616,2966,2787,2972,3012,3116,3230,3307,3330,2987,2298,2155,2273,2151,1870,1902,2436,2906,2978,2869,2724,2908,3098,2996,2928,2969,3022,3028,3183,3161,3191,3453,3294,3497,3005,2197,1650,1526,1704,1455,2154,2774,2791,3242,3084,2558,2167,1933,2172,2408,2365,2622,2841,1962,1437,1766,2085,1577,1556,2203,2470,1925,2138,2170,1807,1970,2116,2004,1942,1953,1892,3086,3062,2298,2050,2099,2130,1998,1722,1960,2474,2759,2706,2668,2842,2313,2768,3248,3084,2980,2366,2026,2368,2408,1916,2307,2734,2500,1848,1926,2902,3496,2966,2332,2027,2162,1976,1825,1812,1679,1710,1572,1710,1925,1848,1597,1796,2061,2081,2304,2204,1834,1570,1483,1686,1865,1719,1857,2167,2157,1902,1648,1686,1742,1634,1679,1869,1897,1868,2009,2149,2272,2370,2706,2586,1787,1514,1810,1881,1825,1880,2238,2314,2338,2608,2417,1680,1565,1560,1958,2166,1936,1936,2049,2178,2264,2010,1721,1583,1415,1473,1802,1794,1465,1476,1969,1570,1454,1604,1547,1852,2568,2200,1751,1803,1815,1715,2126,1598,1543,1694,1516,1710,1861,1674,2002,2678,2801,3067,2995,2931,2591,1938,1806,1784,1758,1859,2251,2643,2569,2106,2158,2495,2380,2054,2046,1835,1989,2604,2842,2535,2197,2132,2121,1742,2217,3474,3637,3576,3616,3598,3530,3226,3177,3510,3772,3955,4200,4200,4052,4212,4226,4111,3911,3796,3521,3194,2199,2584,3482,3509,3618,3654,3768,3834,3682,3811,3923,3684,3828,4005,3984,3703,3471,3570,3453,3086,2800,3021,3624,4123,4123,3982,4068,4228,4440,4177,3906,3813,3901,4092,3995,3789,3661,3630,3648,4352,4544,4588,4340,4213,4050,4142,3964,3994,4018,3519,3603,3510,3465,3338,3537,3893,3841,3852,4039,3916,4027,4097,4131,3924,3283,3029,2995,3056,3040,2763,2688,2732,2887,3025,3141,3354,3651,4256,4140,3362,2697,2888,3320,3298,3413,3362,3156,3282,3760,3711,3167,3361,3256,2600,2213,2192,2614,3010,2942,2392,2547,3029,2965,2820,2631,2454,2352,2302,2143,2185,2471,2731,2653,2482,2563,2731,2881,2829,2455,2183,2060,2351,3128,2829,2976,3531,3117,2813,3302,3596,3696,3708,3529,3278,3184,3238,3176,3218,3152,2849,2497,2220,2088,2148,2302,2523,2684,2690,2571,2329,2025,1826,1798,2054,2442,2696,2661,2690,3050,3309,3109,2818,2690,2448,2374,2336,2328,2413,2492,2454,2419,2545,2645,2585,2551,2541,2533,2644,2658,2410,2510,3166,3418,3408,3549,3462,3521,3924,4371,4059,3452,2845,3165,4268,4504,3885,3597,3681,3553,3687,3772,3333,2460,2167,2982,3759,4222,3985,3558,3415,3149,3631,4348,4588,4455,4081,4111,4091,3994,4168,4385,4363,4216,4112,4247,4131,3956,3807,3617,3754,3728,3750,3701,3535,3371,3597,3692,3416,3721,3772,3222,3140,3538,3548,3694,3392,2071,1999,2775,2430,2565,2783,2577,1941,1768,1938,1953,2612,2590,1857,2335,2504,2159,1704,1963,2398,2899,2898,3249,2998,2631,2304,2379,2968,2874,2756,3392,3315,3119,2980,2500,2778,2831,2949,3173,2789,2617,3476,2903,1666,2113,2532,3033,3436,3294,3508,2779,3128,3571,3473,3415,3325,3493,3480,3514,3627,3670,3155,3769,4356,4093,3574,3524,3813,3804,3709,3812,3037,2699,3204,3254,3327,3619,3642,3586,3343,2805,2611,2996,3593,3585,3178,2750,2669,2873,2471,2634,2359,2524,2636,2845,3783,3879,3439,2635,2196,2192,2192,3109,3816,3950,3940,3808,3706,3631,3595,3304,3056,3012,2874,2612,2997,2998,2750,2662,1698,1120,1432,2369,3704,3536,3143,3812,3782,4372,4476,4315,3016,2742,2901,2103,1827,2235,1928,1627,1743,1639,1545,1482,1586,1581,2022,2140,2006,1671,2069,2674,2864,2902,2380,1960,1716,1839,2023,1974,1934,2723,2232,1525,1838,2160,1954,1663,1768,1841,1689,1510,1414,1741,2331,2050,1670,1510,1608,1848,1929,1854,1528,1619,2142,2331,2604,2109,1665,2018,1910,2270,2180,1807,2149,2254,2052,1997,2531,2922,3096,2830,2303,2418,2588,2733,2819,2888,2739,2653,2626,2497,2216,1948,1816,1852,2242,2844,2924,3186,3224,3203,3099,3028,2831,2730,2792,2814,3076,2924,2706,3103,3426,3586,3657,3230,3044,2956,2684,2592,2197,2455,3340,3772,3294,3373,2842,2884,2354,1848,2252,2410,2233,2260,2257,2190,2553,2745,3084,2907,2653,2933,3160,2953,2552,2343,2978,2723,1808,1654,1706,2167,2702,2903,2890,2375,1892,2055,2254,2278,2446,2415,2664,2826,2674,2459,2188,2495,3010,3262,3198,3038,2744,3278,3260,2446,2833,3686,3400,2500,2002,3308,3826,3840,3562,2932,2400,1952,1842,1772,1560,1919,2042,1731,1478,1762,1791,1819,2176,2193,2363,2797,2876,2775,2362,2257,2903,3219,3416,3325,3486,3366,3430,3320,3355,3561,3520,3553,3260,2532,2235,2404,2221,2467,2686,2354,2084,2092,2321,2163,2546,3500,3740,3484,3306,2945,2258,2454,2198,2832,2406,2089,2713,2293,1936,2703,2894,2601,2580,3222,3850,3999,3538,2543,2640,2661,2690,3086,3164,3730,3582,2996,2938,2472,2275,2433,3098,2724,2296,2039,1877,1910,2248,1804,1724,2049,2286,2492,2473,2592,2310,2562,2503,2379,2294,1688,2024,2069,2078,2437,2294,2270,2590,2807,2077,2091,2562,2880,2873,2557,2509,3005,3645,3703,3269,3345,3636,3636,3450,3198,2554,2055,2320,2589,2623,2750,2798,2607,2518,2476,2420,2154,2731,2967,2200,2602,2840,2269,2095,1844,1971,2460,2402,2159,2093,2147,2521,2739,2362,2345,2144,1848,2522,3196,2862,2737,2556,1823,1932,3066,3152,3370,3451,2720,2259,2542,2750,3038,3354,3796,3461,3273,3221,3298,3651,3492,2990,2986,2931,2529,2518,2608,2332,2495,2496,2029,2132,2800,3018,2451,2695,2597,2990,2754,3142,2968,2702,2292,2292,2551,2376,2097,2015,1770,1754,2179,2258,1854,1890,2619,2617,2097,2308,2985,3051,3125,2681,2171,2656,3053,2664],[1537,1490,1853,2541,2668,2286,2298,2221,1918,1940,2137,2300,2512,2208,1862,2002,2201,1987,1516,1592,1229,1196,1969,2337,2039,2070,1925,1761,2048,2265,2477,2305,2625,3260,3312,2401,2893,2977,2410,2093,1826,2063,2272,2423,3006,2491,2108,2535,2184,1718,2027,1994,1897,2575,3040,2834,2421,2364,2304,2122,2182,1749,2240,2623,2400,2723,2664,2492,2263,2227,2243,1783,1765,2171,2580,2608,1898,2042,2182,1747,2091,2958,3152,3510,3457,2842,2219,2084,2397,2154,1985,2342,2331,1990,2102,2451,2599,2684,2405,2556,3297,3755,3241,3309,3094,3382,3374,3157,2476,2683,3265,3154,2930,2632,2665,2743,2976,3486,2873,2997,2922,2763,2929,3248,2987,3039,3465,3580,3685,3586,3650,3793,3882,3860,3857,4033,4116,3632,3384,3531,3708,3869,3961,3766,3055,2573,2221,2297,2520,2513,2856,2807,2741,2789,2846,2795,3188,3853,4078,3986,4012,3753,3358,2723,3200,3340,3134,3248,2539,2034,2596,3112,2667,2003,2046,2307,2557,2569,2630,2321,1968,1803,2438,2452,1908,2521,3067,2844,2354,1930,1782,2216,1951,2371,2063,1369,1718,2526,2740,2510,2089,2077,1992,1980,2544,3265,3827,4149,4245,3499,2702,2360,2258,1958,1844,2745,4128,4549,4023,2883,2375,1798,1967,2272,2227,1922,2130,2924,3062,2263,2177,1948,1949,2258,2158,2175,2431,2489,2732,2677,2412,2513,2138,1727,2128,2150,1603,2692,3417,2417,2241,2627,2259,1831,2017,2141,2221,2242,2178,2125,2189,1803,1733,1626,1697,1822,1983,2263,2120,1870,1933,2456,2701,2261,1865,2046,2298,2438,2391,2242,2510,2188,1842,1905,1786,2066,2778,3178,2797,2112,2322,2431,2207,2121,2730,2866,2066,1443,1686,1869,1946,1881,2083,2109,1685,1645,2319,2881,2789,2907,3374,3342,3089,2443,2622,3549,3366,2624,2807,2622,3038,3078,3322,2624,1765,2108,2286,2120,2068,2287,2427,2302,2324,2121,2373,2447,2678,3095,2844,2287,2853,3113,1959,1908,2665,2398,1726,1626,1989,2806,3329,3436,3069,2524,2374,2652,2443,1890,1608,2599,2919,2509,2114,2320,2171,1830,2281,2267,1955,1903,2115,2525,1988,1794,2002,2069,2236,1786,1571,2064,1745,1774,2299,2332,1998,1794,1809,1761,1947,1396,1626,1570,1204,1280,1476,1527,1856,1887,1477,1526,1932,2451,2348,1766,2096,2764,2436,2150,2115,1985,1729,2021,2079,1730,2018,1960,2326,2304,2049,1699,1728,1845,1722,1750,2106,2358,2545,2020,1512,1382,1518,1333,1331,1298,2059,3087,2963,2569,2491,2242,1722,1692,2021,2064,1865,1970,2249,1875,1875,1987,2447,2923,3210,3054,2757,2244,2021,2000,2055,1654,1763,1936,1887,1831,1747,1748,1853,1665,1465,1728,1814,1553,1623,1563,1507,1659,1863,2089,2458,1870,2009,2398,3292,3093,2355,2393,1718,1683,1712,1836,2002,1913,1921,1816,1812,1814,1623,1625,1681,1599,1958,2295,2250,1913,2160,1913,1757,1693,1720,2055,2249,1832,1577,1832,1636,1637,2042,2195,2880,2608,2248,1848,1627,1897,2475,2876,3042,2867,2441,2660,3263,2498,3200,2618,2172,2764,3017,3096,3454,3544,3371,3051,2425,2624,2799,2578,2308,2298,2026,1664,1958,2259,1883,1870,2400,2585,2615,2964,3359,3624,3109,2439,2384,1914,1560,1507,1560,1933,2019,1666,1417,1465,1682,2195,2005,2007,2216,2242,2233,1846,1686,1940,1671,1539,1587,1519,1750,1833,1608,1505,1656,1588,1461,1609,1570,1637,1723,1874,2183,1677,1724,1782,1480,1510,1594,1898,1720,1607,1771,1596,1882,2347,2604,2536,1771,1749,1922,2332,2599,2436,2231,2096,1927,1809,1620,1503,1479,1532,1751,1654,1447,1655,1549,1576,1574,1577,1899,2259,2410,2366,2298,2204,2419,2370,2236,2519,2443,2619,2770,2763,3168,3240,2785,2643,2614,2611,2770,2498,2584,2548,2505,2931,3444,3727,3462,3059,2976,2973,3467,3687,3626,3614,3385,3442,3286,2897,3451,4039,3880,3404,3035,3012,3096,2868,2851,3053,3136,3222,3459,2773,2520,2868,3157,3442,3252,2610,2907,2758,2201,2126,2245,2379,2626,2754,2978,2865,2832,2780,2700,2924,3057,2994,2964,2934,2945,2954,2999,3009,3238,3284,3044,3303,3414,3006,2141,2074,1754,1356,2566,2692,2661,3253,2824,2174,1837,1735,2025,2153,2473,2938,3042,1501,1694,2025,1904,1512,1331,1969,2073,1665,2031,2137,1877,2092,2147,2184,2143,2055,2424,3399,2988,2377,2141,1725,1940,2197,1901,1969,2198,2445,2561,2691,2792,2600,2977,2853,2963,2647,2030,1857,2464,2780,1742,1554,1912,2060,1659,1695,2024,2950,2800,2054,1797,2156,2094,1678,1808,1844,1603,1681,1880,1938,2047,1913,1946,2031,1943,2398,2819,2347,1506,1517,2254,2466,2198,2034,1977,1857,1656,1650,1781,1722,1632,1744,1810,1770,1532,1562,1710,2255,2481,2654,2230,1672,1600,1768,1796,2039,2408,2448,2426,2331,2015,2198,1666,1672,1939,2540,2530,2192,2338,2502,2417,2392,2448,1801,1434,1475,1495,1881,1920,1631,1490,1382,1402,1466,1538,1484,1744,2045,1657,1769,1720,1767,1762,1600,1543,1817,1659,1417,1662,1742,1561,1655,1861,2503,2994,3097,3044,3083,2487,2106,1914,1535,1628,1987,2542,2744,2082,1728,2474,2155,2079,2113,1886,2507,3549,3631,3365,2695,2343,2319,1835,2232,3190,3406,3576,3480,3462,3428,3375,3438,3631,3737,3870,3909,4008,4276,4229,4232,3973,3495,3473,3540,3608,2921,2730,3482,3584,3770,3614,3848,3975,3912,4069,4025,3549,3680,3938,3880,3702,3542,3394,3242,3389,3194,3501,3870,3707,3669,3997,4264,4124,4072,4053,3767,3768,3996,4065,3873,3463,3272,3365,3745,4431,4572,4387,4207,4080,4112,4244,4232,4045,3915,3628,3758,3835,3699,3388,3586,3797,3602,3913,4005,3872,3991,4118,3935,3459,2857,2719,3106,3249,3218,3112,2994,3072,3178,3275,3206,3416,3936,4213,4078,3182,2669,2770,2900,3269,3672,3621,3460,3400,3709,3765,3233,3145,2822,2492,2435,2836,2943,3097,2978,2853,2923,3127,3089,3264,3178,3197,2831,2734,2589,2343,2194,2170,2253,2315,2237,2213,2465,2482,2300,2243,2065,2269,2613,2529,2473,2849,2408,2359,3082,3277,3425,3630,3610,3404,3117,2879,2658,2441,2241,2189,2320,2543,2741,2832,2822,2731,2537,2306,2032,1826,1765,1867,2367,2807,2821,2632,2873,3394,3504,3189,2817,2283,2315,2344,2215,2080,2236,2260,2421,2443,2236,2292,2167,2258,2400,2512,2604,2477,2245,2176,2297,2824,2994,2987,3221,3519,3514,3598,4144,4240,3993,3821,3904,3893,4201,4276,4070,3758,3575,3582,3409,2744,2171,2744,3495,3575,3769,3788,3527,3560,3364,3178,3585,4368,4705,4228,4336,4232,3960,4123,4231,4275,4353,4233,3969,3805,3972,4005,3861,3930,3483,3627,3824,3556,3076,3098,3448,3237,3327,3248,3163,3537,3154,2930,3643,3807,2881,2705,3020,2364,2541,2784,2482,2194,2112,1982,2294,2657,2052,2040,2259,2047,1787,1850,2285,2811,3270,3628,3283,2733,2972,2845,2791,2601,2721,2827,3255,3193,3272,2866,2363,2664,3099,2943,2413,2240,2268,3121,3277,2588,2041,2777,3396,2945,2912,3488,3497,3474,3431,3371,3036,3084,3528,3440,3645,3623,3431,3016,3423,4086,3867,3550,3753,3748,3430,3675,3894,2979,2686,2999,3121,3227,3603,3329,3101,3274,3045,2766,2907,3028,3276,2961,2968,3017,2977,2983,3261,2754,2828,2658,3063,3945,3838,3848,2723,2552,2765,2988,3304,3506,3824,3958,3955,4132,4196,4109,3797,3473,3383,3365,3288,3561,2444,2131,2503,2135,1590,1484,2555,4006,3702,3443,4035,3919,4483,4344,3745,2635,2625,3020,2328,1759,2095,2214,2664,2353,1680,1616,1599,1564,1543,1617,1615,1561,1677,2452,2629,2199,1907,1739,1842,1503,1934,3123,2939,1944,2361,2162,1563,1707,1919,1606,1494,1689,1713,2048,1961,1484,1700,1885,2103,1753,1439,1481,1663,1986,2026,1913,1969,2143,2699,3274,2491,1786,1848,2403,2371,1793,1727,2311,2270,2027,2199,2513,2574,2719,2518,2464,2719,2725,2378,2409,2702,2921,2990,2733,2765,2730,2490,2023,1826,1788,2015,2472,2824,3008,3002,2974,3017,2996,2835,2711,2542,2978,2798,2780,2954,2923,2447,2691,3042,3084,3131,3382,3311,2942,3177,4004,4131,3739,2884,2354,2220,1792,1744,2276,2186,1807,2017,2497,2953,3212,2976,3388,3681,3564,3074,2563,2396,2375,2434,2818,2911,2502,1865,2226,2573,2837,2898,3139,2328,1992,2317,2142,2353,2453,2225,2669,2718,2584,2410,2403,2424,2491,2389,2678,2790,2594,3175,2998,2088,1937,2386,2402,1990,1908,2331,2721,2602,2237,2187,2264,1775,2094,2305,1671,2140,2261,2027,1898,1816,1687,1688,1832,1906,2446,3077,3232,2931,2700,2697,2835,2720,3056,3285,3107,3248,3493,3430,3384,3485,3609,3529,3379,2808,2125,2127,2577,3125,3157,2812,2374,2426,2680,2645,3082,3906,4037,3919,3339,2813,2193,2313,2373,3345,2854,2293,2666,2085,1463,2508,3453,3616,3758,3952,3892,3956,3472,2810,2640,2797,3135,2897,3364,3785,3552,3069,2554,2124,2159,2055,1816,2075,2160,2114,2013,2387,2337,1714,1996,2202,2445,2468,2231,1975,2426,2899,2764,2531,2153,1684,1517,1748,2293,2382,1975,2536,2760,2729,2111,2270,2530,2736,2507,2463,2570,2792,3340,3564,3254,3541,3594,3670,3574,2911,2615,2069,1870,2048,2371,2744,3050,2997,2682,2632,2446,2567,3210,2885,2451,2591,2669,2469,1958,1759,2431,2879,2885,2545,2453,2305,2276,2364,2216,2110,2060,2134,2337,2467,2600,2600,2459,2154,2664,2610,2746,2707,3120,3033,2830,2642,2764,2943,3220,3591,2954,3100,2866,3009,3263,3459,2989,2289,2234,2153,1990,2070,1950,2115,2162,2069,2114,2150,2315,2686,3178,3095,2486,2791,3265,2742,2113,1498,1909,2312,2493,2781,2604,2159,2028,2093,2199,2101,2137,2463,2742,3097,3289,3264,3086,3308,3066,2639,2861,3020,3186],[1648,1911,1974,2092,2388,2071,2077,1770,1547,2104,2258,2136,2277,1867,1594,1687,2177,2221,2011,1879,1158,1157,1880,2089,2078,1803,1769,2664,3190,2620,2419,2257,2385,2802,3104,2092,2409,2543,2279,1957,1837,2336,2800,3061,3175,2363,2274,2612,2260,1916,1801,1620,1599,2227,2974,3007,2751,2387,2385,2698,2338,1792,2422,2862,2608,2741,2900,2901,2382,1916,1959,1744,1943,2043,2570,2518,1977,2054,2395,2292,2374,2467,2567,2932,3256,2828,2252,2553,2568,2104,1778,2171,2382,2110,2147,2268,2556,2390,1764,1900,2746,3059,2833,3110,3243,3278,3397,2956,2281,2689,3215,3123,2995,2469,1976,2184,3082,3639,3284,3014,3163,3078,3018,3362,3174,3098,3375,3377,3454,3472,3754,3835,3635,3685,3682,3819,3881,3404,3287,3542,3740,3860,3718,2882,2425,2674,2640,2640,2642,2644,2876,3018,2856,2657,2779,2749,2776,3296,3719,3774,3826,3611,3008,2745,2805,2364,2698,3143,2421,2031,2168,2293,2308,1886,1828,2058,2143,2142,1985,1863,1418,1078,1366,1261,1703,2690,3017,2586,1975,1812,2018,2380,1766,1690,1749,1455,1706,2323,2054,1421,1352,1780,1888,1947,2803,4176,4100,3666,4101,3593,2104,1727,2224,1902,1734,3038,4235,4364,4307,3703,2554,1993,2193,2395,2288,2003,2015,2244,3023,2758,2452,1879,2018,2266,2002,2220,2336,2396,2718,2667,2835,2922,2084,1826,2384,2500,1768,2095,2336,2642,2541,2360,2198,2244,2076,1764,1907,2562,3273,3146,2438,1939,1866,1887,2124,2138,2310,2476,2088,1713,1920,2251,2531,2562,2367,2339,2647,2590,2430,1972,1941,2111,1780,1888,1816,1792,1802,2445,2492,2304,2294,2548,2554,2806,2916,2312,1870,1839,1876,2122,2758,2635,2332,1781,1737,1901,2664,3529,3242,3076,3473,3399,3341,3088,2812,3162,3173,2625,2878,2965,3146,3292,2940,2159,1966,2232,1782,1598,1844,2646,3184,2521,2269,2127,2399,2646,2624,2796,2758,2705,3427,2965,1992,1991,2397,2274,1530,1594,2453,3252,3550,3543,3200,2632,2448,2898,2898,2387,2269,2540,2768,2306,1779,2159,2106,2250,3073,2814,2342,1945,2214,2736,1918,1884,2852,2535,1982,1890,2079,2187,2186,2781,2808,2137,1815,1833,1780,1600,1554,1368,1664,1563,1093,1109,1432,1682,1901,1925,1630,1731,2164,2886,3116,2246,1901,2230,2377,2063,2151,2277,1616,1837,2219,1954,1784,1706,2120,2009,1836,1583,1559,1932,2083,2225,2618,2812,2943,2178,1651,1470,1644,1558,1553,1492,2218,3018,2890,2755,2621,2525,2498,2154,1984,1738,1586,1886,2088,1941,2048,2530,2630,2729,3065,2841,2473,1763,1889,1658,1365,1667,1826,1585,2014,1929,1666,1926,1982,1808,1618,1570,1586,1432,1421,1674,1829,1727,1639,1903,2048,1852,1765,2159,2845,2232,1966,2286,1896,1818,1487,1854,2076,1943,1987,1896,1822,2045,1739,1687,1510,1599,1997,2501,2302,2103,1950,1797,2036,1831,1565,1618,1601,1506,1472,1545,1672,1813,1637,2225,3022,2967,2339,1940,1665,1601,2081,2463,2778,2372,2525,3531,3348,2821,2854,2075,2243,3340,3817,3613,3356,3404,3415,3243,2767,2949,3010,3200,2409,2410,2312,2176,2571,2598,2151,2184,2610,3093,2975,3204,3127,2749,2046,1909,1720,1476,1590,1706,1774,1700,1646,1701,1567,1534,1589,1854,1918,2025,2154,2095,1954,1662,1611,1707,1731,1826,1543,1461,1848,1809,1742,1778,1783,1510,1355,1472,1623,1570,1682,1942,2408,1634,1452,1433,1693,1732,1671,1998,1858,1722,1749,1718,1943,2272,2604,2357,1756,1712,2009,1725,1500,1466,1742,1838,1686,1488,1409,1530,1736,1922,2292,1914,1638,1865,1788,1756,1677,1921,2364,2186,2457,2347,2326,2840,3321,3196,3136,3195,3292,3377,2849,2497,2876,3060,2920,2764,2662,2610,2754,2699,2829,2861,2666,2886,3474,4000,3875,3195,3230,2712,3053,3419,3531,3372,3074,3195,3517,3512,3560,3676,3654,3018,2859,2822,3064,2894,2719,2770,2842,2692,2456,1983,1972,2520,3122,3277,2360,2167,3154,3090,2855,2494,2248,2231,2336,2586,2712,2482,2534,2707,2664,2514,2809,2840,2666,2408,2508,2842,2905,3105,3188,2854,2967,3188,3107,3410,3061,3018,2600,2205,2658,2489,2947,3197,2576,2509,2126,1852,1934,2187,2810,2838,2686,1874,2356,2609,2212,2108,2037,1954,1762,1758,2131,2070,1811,2282,2391,2425,2050,1847,2255,2877,2685,2609,2602,2154,2154,2279,2244,2287,1939,2072,2729,2900,2442,2661,2923,2807,2814,2685,2691,2609,2850,2996,1730,1819,2287,2242,1981,2215,2577,2984,2887,2700,2470,2267,2098,1837,1644,1867,1492,1564,1677,1719,1763,1878,1902,1650,1653,2047,2413,2197,1764,1785,2364,2407,2037,1853,1874,1859,1770,1647,1605,1842,1998,2168,1569,1559,1789,1735,2132,2164,1882,1803,1771,1825,2008,1842,1811,2321,2769,2519,2439,2060,2250,2368,2059,2007,2209,2519,2502,2344,2680,2824,2735,2365,2226,1659,1465,1437,1501,1796,2031,2015,1623,1361,1356,1408,1580,1579,1486,1501,1632,1690,1681,1575,1528,1554,1651,1629,1470,1574,1890,1607,1990,1670,1782,2276,2497,2940,3282,3190,2577,2232,1900,1762,1652,1527,2062,2722,2200,2185,2314,1981,2252,2072,1857,2961,3671,3203,3774,3333,2587,2754,2603,2470,3078,3396,3520,3392,3209,3419,3716,3753,3666,3716,3958,4133,4070,4156,4057,3912,3658,3624,3718,3461,3450,3562,3521,3640,3544,3596,3715,3838,3883,3876,3978,3952,3488,3421,3731,3541,3517,3618,3463,3582,3751,3664,3566,3820,3838,3738,3754,3806,3893,3902,3798,3628,3768,3907,3730,3572,3132,2808,3209,3902,4325,4477,4353,4179,4121,4025,4128,4257,4236,3781,3579,3638,3708,3800,3666,3580,3551,3615,3840,3852,3895,3875,4045,3738,3086,2844,2924,3219,3217,3164,3361,3398,3352,3298,3327,3298,3316,3716,3764,3605,3189,3019,3057,3167,3516,3670,3791,3639,3648,3860,4065,3647,3247,2831,2299,2953,3343,2964,3140,3342,3539,3388,3229,3178,3054,3242,3551,3256,3199,3166,3062,2627,2215,2100,2135,2117,2150,2208,2288,2198,2025,1983,2072,2228,2393,2376,2331,2359,2433,2751,2923,3124,3154,2901,2625,2342,2219,2301,2458,2657,2874,2972,2888,2717,2519,2386,2220,2031,1846,1815,1943,2371,3040,3385,3002,2653,2921,3416,3444,3083,2681,2451,2210,2657,2599,1814,1481,1831,1955,1643,1493,1341,1444,1472,1838,2150,2316,2566,2373,2029,1948,2212,2504,2697,3041,3342,3731,3559,3663,3996,4239,4311,4416,4421,3861,3620,4100,4361,4048,3760,3282,2700,2174,2551,3498,3499,3860,4015,3961,3919,3688,3175,3011,3175,3541,4460,4019,4207,4184,3962,4188,4452,4516,4467,4243,3662,3237,3648,3964,3915,3796,3059,3141,3603,3449,2553,2744,3407,3342,3646,3520,3604,3854,3754,3854,3957,4104,3665,3103,2630,2127,2227,2607,2867,2809,2402,2139,2795,3202,2653,2409,2172,2173,1941,2024,2379,2736,3076,3208,3209,2864,2852,2731,2569,2380,2733,3056,3238,3240,3074,2352,1950,2644,3459,3178,2365,2223,2187,2392,3071,3131,2765,3222,2856,1816,2309,3318,3518,3527,3387,3362,3205,3549,3642,3277,3385,3510,3646,3594,3693,3684,3615,3756,3587,3662,3685,3854,3728,3002,2667,3062,3471,3259,3206,3060,2698,3141,2757,2415,3109,3381,3422,3094,3204,3458,3522,3139,2624,2518,2728,2544,2912,3641,3666,3044,2314,2608,3171,3118,2473,2213,2851,3563,3869,4109,4132,4079,3959,3930,4064,4232,4196,3961,2979,2425,2756,3103,2979,2822,3190,3812,3547,3433,3827,4276,4372,4284,3307,2743,2567,2635,2262,1959,2310,2410,2113,2223,1849,1764,1717,1639,1673,1589,1623,2168,2654,2358,1719,1682,1958,1837,1554,1320,1910,2646,2309,2073,2106,1608,1493,1679,1641,1891,1806,1726,1622,2054,2153,1704,1668,1564,1715,1720,1583,1688,1982,2128,2035,2203,2421,3008,2675,2736,2428,1829,2004,2261,2084,1907,1711,1871,1625,1534,2381,1880,2079,2162,1947,1848,2391,2592,2108,2387,2800,2974,3151,2895,2907,2994,2891,2608,2225,1926,1791,1906,2238,2581,2669,2689,2907,3085,3085,3016,2832,2956,2898,2753,2853,2652,2143,2790,3176,2842,3188,3440,3094,2517,2844,3646,3984,4117,3753,2778,1939,1974,2675,3294,2577,1653,1764,2895,3458,3311,3034,3168,3365,3104,2742,2426,1945,2081,2746,2844,2699,2774,3041,3348,2922,2072,2604,3138,2542,2409,2619,2308,2620,2647,2352,2531,2724,2642,2137,2222,2236,1907,1969,2684,3000,2631,2426,2022,1804,1963,2096,2240,2039,1948,2170,2236,2262,2042,2237,2503,2002,2038,1970,2156,2248,2059,2181,2170,2214,2149,2042,1942,1775,2081,2894,3601,3116,2928,2647,2620,2464,2916,3052,3149,3624,3768,3677,3494,3458,3436,3177,3154,2917,2405,1979,2348,2644,2964,3044,2701,2752,3111,3350,3430,3719,3848,3908,3345,2544,2318,2479,3022,2975,2214,1929,2199,2213,1886,2994,3816,3701,3730,3702,3486,3949,3283,2678,2730,3191,3056,2976,4131,3630,3226,2474,2078,1915,2055,1882,1301,1653,2153,2078,2049,2295,1983,1992,2242,2358,2454,2533,2082,1777,2464,2851,2610,2407,2165,1825,1543,1700,2342,2521,2476,2810,2832,2587,2430,2908,2974,2430,2319,2479,2490,2621,2833,3385,3531,3393,3504,3575,2698,2325,2632,2457,2126,1909,2196,2568,3081,3920,3553,2960,2495,2734,3121,3382,3333,2612,2038,2281,2756,2647,2912,3073,2943,2348,1910,1470,1391,1599,1688,1898,2358,2578,2166,2371,2440,2491,2486,2742,3205,2666,2991,2888,3085,3389,3211,3023,3222,2953,3399,3566,3244,3111,3140,3218,3133,2878,2431,2192,2400,2091,1865,2316,2272,1980,2082,2840,2796,2329,2091,2140,2840,2970,2643,3119,3112,2588,2293,2003,1808,2161,2504,2833,2613,2414,2651,2474,1968,2025,2162,2408,2461,2830,2929,2988,3146,3072,3265,3448,3426,3420,2977],[1779,2357,2552,2750,2898,2523,2437,2342,2378,2880,2575,1707,1792,1603,1354,1245,1920,2636,2382,1868,1299,1483,1915,1969,2394,2031,1970,2644,2986,2686,2350,2324,2267,2400,2199,1761,1900,2225,2166,1950,2019,2477,2787,3249,2707,2342,2352,2355,2397,1823,1555,1903,1915,2004,2721,2939,2596,1867,2293,2557,2351,2209,2340,2336,2353,2359,2376,2384,2078,1873,1777,1982,2282,2309,2676,2611,2079,2107,2764,2903,2736,2763,2911,2779,2827,2735,2335,2598,2524,2314,2022,1969,2127,2136,1958,2097,2574,2302,1904,2115,2699,2309,2778,3099,3077,3043,2968,2874,2701,2842,3052,3041,3330,2647,2500,2626,2951,3538,3393,2964,3457,3594,3483,3588,3703,3641,3497,2806,3126,3639,3782,3707,3639,3731,3639,3701,3593,3320,3500,3696,3764,3357,2766,2250,2717,3027,2800,2674,2764,2796,2866,3066,2780,2632,2872,2707,2653,2962,3221,3380,3626,3433,2525,1873,1492,1431,2315,3090,2836,2820,2451,1925,2215,2426,2398,2022,1888,2063,2134,2249,1770,1189,1445,1366,1793,2155,2360,1986,1438,1217,1639,1632,1102,1232,1619,1653,1959,2241,2147,1663,1735,1916,2244,1959,2299,3659,4062,3695,3824,3484,2340,1904,2107,1973,2491,3508,3850,3802,3762,3526,2691,2024,2078,2316,2151,2044,2271,1955,2806,3075,2624,2298,2306,2423,2566,2374,2047,2403,2938,2844,2585,2547,1975,1605,2383,2585,2743,3045,2706,2469,2388,1907,1695,1997,1862,1929,2019,2829,2876,2541,2223,1930,1659,2094,2537,2270,2011,2047,1940,1652,2195,2533,2260,2327,2306,2100,2122,2208,2205,2055,2050,2049,2395,2626,2035,1545,1651,2412,2723,2740,2787,2362,1788,2436,3322,2761,2319,2201,1905,2356,3306,3366,2571,1947,2329,2495,3089,4014,3219,2755,3463,3414,3120,2901,2586,2632,2714,2540,2627,2980,3260,2971,2436,2343,2431,2721,1945,1691,1833,3204,3376,2511,2266,2414,2885,2923,2697,2578,2445,2428,2715,2100,2148,2265,2411,2706,2378,1815,2684,3729,3437,3144,2644,2274,2432,2461,3117,2965,2373,2678,3061,2259,1774,2232,2280,2423,3208,3061,2689,2200,2091,2191,1589,1959,3140,2524,1721,1687,1556,1753,1795,2013,2192,1874,1823,2040,1968,1906,1868,1735,1867,1619,1419,1438,1560,1678,1757,1975,1644,1615,2120,2923,2744,1810,1979,2654,2495,2092,1739,1693,1683,1691,2192,2430,2207,2062,1775,1781,2431,2397,1621,1450,1809,2196,2332,2310,2331,1860,1602,1415,1469,1393,1887,2201,2395,2854,2981,3161,2985,3074,2737,2157,2217,2164,1946,2198,2150,1967,2486,3217,3145,2568,2567,2189,1878,1738,2143,1915,1463,1773,2066,1740,1981,2023,1989,2189,2105,1333,1586,1627,1505,1507,1522,1822,2093,1758,1470,1665,1916,1910,1887,2065,2420,2109,1983,2003,1538,1595,1549,1809,2186,1970,1729,1955,1817,2031,2228,2351,1774,1672,1837,1995,1990,2146,1776,1718,2182,2027,1599,1746,1557,1480,1530,1478,2012,2236,2157,2663,3059,2535,1981,1893,1861,2038,2229,2225,2701,2336,2941,3926,3386,2811,2430,2277,2906,3754,3852,3586,2811,3245,3515,3213,2649,2497,2470,2821,2698,2526,2239,2376,2490,2344,1794,2144,2664,2899,2805,3339,2711,2031,1771,1546,1421,1451,1529,1737,1990,1559,1465,1571,1635,1785,1703,1647,1829,1896,1869,2019,1817,1788,2120,1713,1633,1743,1688,1500,1489,1822,1757,1593,1741,1607,1283,1392,1817,1790,1594,1692,1925,1749,1557,1803,1993,1649,1432,1496,1539,1873,2182,1837,1725,1767,2345,1977,1785,2012,2282,2185,1942,1913,1904,1991,1872,1619,1733,2123,2053,1547,1450,1643,1983,2160,2155,2117,1801,1854,2449,2333,2501,2625,2622,2691,3002,3209,3129,3098,3607,3598,2983,2325,2504,2382,2703,2933,2629,2342,2642,2997,3021,3175,3130,3059,3248,3110,3166,3153,3132,2329,2503,3115,3129,2752,2483,2858,3352,3494,3427,3265,2867,2018,2230,2460,2535,2629,2391,2201,2141,2076,2045,2007,1837,1915,2279,2433,1904,2511,3081,2996,3191,3096,2548,2269,2226,2280,2324,2332,2488,2858,2639,2264,2518,2647,2590,2370,2438,2609,2851,3174,2962,2646,2913,3101,3151,3164,3215,3230,3227,2858,2757,2802,3019,2828,3039,3742,3053,2432,2360,2389,2524,2759,2403,1879,2496,2788,2439,2308,1760,1563,1632,1974,2523,2562,2287,2615,2719,2177,1627,1675,2201,2610,2421,2208,2260,2041,2030,2038,2310,2363,2006,2142,2368,2352,2132,2614,2879,2609,2164,2122,2257,2405,2587,2252,1723,1680,1794,2147,2046,1931,2522,2744,2580,2921,2868,2492,2388,2198,2010,2140,1848,1600,1747,2021,2030,1966,2008,2005,2003,2005,2169,2070,2310,1793,1543,1901,1964,1757,1801,1852,1758,1752,1776,2128,2540,3341,2345,1841,1942,1781,1924,1824,1409,1227,1561,1971,1977,1371,1698,2226,2903,2951,2330,1850,1991,2156,2159,1947,2163,2932,2944,2154,2467,2200,2039,2005,1814,1511,1283,1356,1617,2303,2964,2142,1404,1454,1412,1385,1407,1632,1620,1568,1487,1537,1586,1555,1628,1813,1673,1479,1516,1794,1742,1630,1938,1631,1858,1572,1588,2552,3282,2957,2322,2198,2007,1948,1783,1820,1813,2260,2437,2503,2177,2172,2404,1863,1616,2510,2957,3632,4003,3741,3196,2956,2430,2913,3440,3441,3414,3138,3069,3437,3814,4039,3732,3641,4062,4266,4164,4096,4014,3837,3592,3712,3782,3407,3448,3349,3339,3518,3362,3374,3482,3642,3840,3872,3779,3700,3384,3217,3485,3154,3352,3676,3482,3429,3566,3558,3452,3495,3514,3772,3647,3210,3360,3510,3367,3436,3687,3906,3484,3338,3375,3059,3296,3925,4030,4071,4101,4221,4258,4228,4080,3913,4124,3646,3359,3427,3392,3618,3660,3474,3669,3626,3479,3709,3859,3714,3894,3743,3278,3086,2944,3043,3121,3110,3338,3397,3274,3466,3370,3069,3043,3328,3422,3431,3358,3074,3164,3686,3895,3619,3790,3750,3609,3794,3939,3755,3465,2754,2174,2988,3208,2786,3082,3082,3328,3517,3384,3406,3297,3262,3495,3692,3624,3392,3471,3388,3285,2813,2266,2046,2049,2090,2119,2046,2042,2071,2131,2219,2215,2080,2071,2298,2410,2547,2671,2512,2385,2372,2519,2492,2447,2668,2820,2951,3011,2907,2637,2473,2284,2083,1955,1833,1814,2113,2698,3234,3395,2957,2575,2711,2833,3076,3062,2413,2215,2387,2574,2564,1997,1363,1472,1700,1602,852,1201,1147,1050,1262,1838,2029,1851,1904,1987,2036,2292,2512,2204,2402,3148,3274,3627,3672,3582,3460,3661,4080,4405,4308,4019,4092,4200,4212,3918,3378,2776,2149,2452,3420,3925,3740,3885,4068,4212,4408,4092,3218,3003,3143,3210,4220,4091,4025,4201,4318,4366,4501,4596,4508,4320,3653,3011,3414,3806,3999,3769,3080,2964,3177,3581,3409,3317,3716,3943,4229,4269,4208,4134,4075,4060,4047,4073,3840,3223,2481,2252,2576,2712,2724,2542,2442,2290,2673,3110,2755,2336,2191,2204,2075,2229,2561,2662,2743,2523,3084,2877,2526,2296,2339,2293,2664,3024,3177,3020,2632,2571,2061,2098,2597,2200,2307,2621,2030,1853,2898,3356,2792,2584,2087,1841,2663,3710,3498,3553,3632,3731,3430,3322,3418,3185,2820,3229,3672,3642,3714,3371,3316,3470,2787,2709,3317,3790,3687,2986,2764,3303,3585,3184,3152,3542,3160,3277,2651,2288,3055,3528,3327,3108,3212,3278,3038,2689,2325,2313,2636,2478,2697,3073,3214,2526,2372,2934,3154,2546,2197,2322,2474,3028,2889,3499,3793,3769,3850,3881,3874,4018,4065,3609,3242,3099,2846,2734,2604,2720,3095,3659,3414,3501,3829,4108,4259,4492,4161,3272,2997,3184,2533,2248,2202,2097,1727,1826,1650,1638,1579,1704,1937,1829,1640,1933,1589,973,1058,1563,1901,2142,1772,1865,2143,2153,2124,2259,1867,1358,1332,1329,1585,1825,1635,1564,1553,1691,2032,2100,2042,1833,1633,1771,1678,1885,2537,2657,2187,2081,2061,2327,2025,1859,1783,1465,1577,2034,2201,2450,2138,1731,1672,1585,2370,2444,2633,2836,2608,2162,2384,2747,2735,2523,2825,3025,3223,2885,2888,3076,3128,2964,2679,2403,2054,1776,1764,2001,2358,2591,2576,2786,2963,2978,2910,2950,2864,2461,2832,3227,2444,2962,3478,3458,3317,2875,2443,2385,2844,3560,4000,4245,4000,2845,2275,2923,3020,2866,2485,1838,2056,3183,3379,3106,2898,2655,2629,2743,2584,2410,2287,2525,3050,3119,2597,2767,3295,3725,3320,2756,2677,2345,2314,1969,2294,2029,2520,2165,2139,2366,2457,2731,2547,2176,1891,1809,2308,2916,3037,2427,1847,1795,2085,2347,2258,2134,1973,2001,2162,2445,2261,1992,1873,2050,1976,1866,2017,2555,2247,2071,2103,2294,2498,2046,1992,1826,1439,1582,2086,3206,3275,2823,2419,2472,2682,2746,2920,3815,4051,3814,3471,3441,3493,3215,2923,2774,2799,2172,1681,1904,2315,2731,3031,3357,3187,3080,3304,3543,3461,3220,3145,3116,2764,2248,2779,3313,2490,2043,2656,3078,2602,2148,2643,3008,3115,3209,3520,3970,3880,3235,2583,2598,3305,3340,3949,3706,3141,3497,2434,2056,2136,2064,1642,1311,1930,2353,2272,2237,2344,1895,2201,2405,2456,2679,2624,2294,2104,2483,2644,2313,2466,2215,1762,1808,2191,2499,2761,3089,3241,3256,3065,2941,2793,2237,1873,2374,2539,2375,2573,2774,2850,2788,2873,3124,2754,1761,1812,2440,2818,2604,2589,2564,2379,2519,3475,3453,2495,2464,2683,2565,2813,2977,2303,2360,3625,3980,3674,2736,2413,2471,1829,1606,1984,2029,1840,2150,2099,2315,2414,2236,2986,2916,2664,2642,3059,2899,2900,3033,2862,3164,3238,3269,3418,3008,2401,2577,3121,3194,3208,3207,3207,3061,2674,2742,2752,2309,1858,2009,2021,2518,3387,3648,3836,3418,2607,1947,1958,2258,2342,2888,2534,2786,3018,2912,2369,1950,2028,1967,1967,2205,2500,2697,2147,1887,2010,2462,2708,2492,2828,3030,3090,2709,2634,3090,3151,3360,3394,3366],[2110,2631,3038,3282,2978,2654,2802,2510,2678,3052,2776,2040,2342,2070,1531,1524,2021,2592,2561,1975,2016,2244,2360,2410,2344,1863,1775,2418,3065,3176,2780,2417,2287,2264,2030,2047,2234,2359,2126,1868,1722,2515,2709,2374,2055,2265,2167,2144,2011,1747,2247,2532,2427,2279,2511,2596,2731,2151,1855,2170,2519,2649,2423,2037,2286,2495,2492,2203,1832,2039,2124,2508,2775,2720,2683,2750,2371,2356,2975,3088,2944,2502,2849,2539,2450,2634,2552,2589,2350,2248,2206,2187,2269,2164,1868,2075,2213,1869,1591,2033,2791,3072,3252,3084,3191,3319,3121,3124,2790,2763,2647,2709,3298,3124,2834,2290,2742,3681,3440,3173,3272,2977,3693,3979,3828,3495,2944,2311,2996,3515,3561,3529,3580,3703,3650,3583,3367,3472,3549,3388,2968,2270,2471,2966,3140,2901,2648,2680,2833,2857,2620,2673,2663,2766,2641,2624,2886,3046,3056,2971,3288,3341,2666,1875,1602,1719,2050,2060,1838,2481,2956,2385,2430,2546,2447,2424,2338,2197,2336,2405,2071,2008,2770,2880,2587,2012,1888,1897,1286,764,1056,1072,1162,1465,1583,1570,1698,1980,2249,1975,1797,1737,2430,2625,1852,2132,3230,3794,3613,3077,2965,2471,2061,2306,3095,3470,3339,3124,2812,2919,2552,1892,1898,2218,2092,2131,2288,2024,2403,3012,3083,2597,2207,2260,2272,1856,1896,2333,2813,1949,1641,1781,2078,2636,2989,2422,2578,2965,2454,2250,2680,2186,1996,1862,1948,2761,2879,3332,2693,2216,2293,1670,1644,2025,2048,1930,2048,2373,2385,2196,2898,2752,2014,1712,1752,1896,2159,2272,2106,2645,3250,3042,3382,2883,2266,1691,1678,2511,2834,2875,3000,2360,1608,1944,2996,3321,2699,2049,1761,2321,3378,3086,2113,2082,2720,2634,2776,3970,3559,3341,3011,2996,3182,2905,2656,2590,2556,2429,2264,2585,2980,3212,2788,2726,2601,2833,2558,1825,2082,3042,2742,2280,1866,2134,3010,2490,2037,1847,2090,2687,2929,2358,2083,2188,2330,2686,2523,1930,2652,3069,3090,2878,2596,2353,2377,2952,3642,3493,2780,2886,2874,2143,1987,2176,1837,1944,2525,2770,2996,2531,2300,2393,1882,2114,2630,2157,1746,1439,1212,1637,1654,1634,1889,1851,2175,2548,2546,2876,2696,2069,1910,1348,1324,1546,1704,1938,1746,1610,1438,1432,1592,1845,1850,1874,2802,3040,2871,2558,1728,1611,1672,1609,1769,1779,1772,1721,1748,2084,2529,2612,1982,1653,1639,1832,2222,2174,1720,1269,1202,1511,1699,1348,1682,2276,2524,2551,2930,3045,2902,2886,2375,2176,2292,2407,2344,2219,1854,2148,3167,3271,2509,2114,2292,2229,2210,1979,2294,2131,1780,2064,1918,1554,1963,1924,2015,2321,2263,1380,1514,1622,1682,1843,2022,2263,1974,1486,1546,1643,1722,1763,1973,2077,2168,1965,1840,1627,1656,1710,1609,1796,2015,1737,2023,1970,1869,1969,2234,2143,1794,1599,1615,1609,1905,2142,1882,1865,1709,1918,1969,1552,1435,1615,1913,2545,2799,2927,2764,2483,2873,2764,2406,2158,2445,2437,2222,3020,3122,2687,3343,3696,3366,2836,2392,2986,3882,3953,3474,2766,2136,2819,3190,2601,2148,2134,2543,2916,2589,2410,2343,2417,2326,2221,1859,1893,2112,2228,2586,2664,2120,1919,1631,1341,1505,1671,2011,1848,1991,1663,1384,1582,2242,2387,1793,1752,2378,2462,1874,1699,2040,2676,3172,2888,2299,1719,1619,1423,1498,1775,1608,1516,1900,1383,1275,1554,2041,1673,1430,1560,1708,1925,1755,1731,1826,1477,1450,1709,1669,2074,2396,1850,1467,1520,1997,1769,1747,2020,2103,1940,1853,1803,1743,1726,1468,1353,1695,2311,2175,1707,1729,1931,2231,2713,2908,2272,1764,1786,2280,2160,2050,2611,2828,2830,2941,3124,3111,3183,3508,3396,3154,2766,2493,1825,2199,2836,2986,2786,2829,3056,3376,3414,3012,2775,2853,3001,3298,3373,2786,2269,2802,3294,2878,2496,2698,2775,2556,2853,3065,3166,3194,2456,1884,2304,2730,2583,2471,2496,2109,1879,1926,2130,1957,2011,2106,2260,2458,2888,2849,2689,2810,3231,3371,2813,2576,2732,2397,2235,2450,2812,2572,2362,2271,2344,2480,2343,2226,2369,2710,3012,2764,2662,2641,2805,3272,3286,3321,3299,3189,2301,1728,2398,2756,2499,2946,3426,3603,3451,3372,2855,2590,2308,1715,1784,2858,3123,2663,1941,1578,1748,2044,2408,2972,2768,2625,2418,2250,1885,1670,1847,2198,2406,2317,2285,2310,2265,2072,1912,2163,2263,2260,2571,2796,2256,2062,2828,2777,2028,1559,1551,1762,1930,1944,1661,1804,1751,1660,1935,1859,1735,2044,2095,2072,2452,2540,2062,2018,1789,1586,1938,2044,1757,1775,2021,2177,2309,2925,3342,2278,1899,2037,1798,1722,1612,1696,1908,1843,1728,1887,1743,1793,1925,1880,1809,2216,2852,2242,1661,1572,1770,1912,1647,1532,1681,2083,2227,1854,1288,1753,2221,2387,2298,2030,2106,2121,1843,2111,2132,2487,2659,2927,2945,3182,2279,1890,1879,1807,1659,1370,1407,1829,2886,3283,1950,1534,1578,1538,1431,1641,1639,1626,1691,1823,1770,1650,1770,1666,1533,1490,1516,1686,1694,1584,1758,1639,1924,2112,1515,1326,2034,3298,3232,2270,1912,1834,2083,2216,2114,1875,2361,2755,2602,2374,2523,2678,2080,1830,2243,2599,3396,3566,3613,3617,3322,3016,3129,3354,3368,3450,3194,3176,3303,3658,4068,3972,3759,4132,4417,4380,4192,3973,3870,3481,3310,3404,3282,3389,3232,3160,3492,3548,3715,3677,3563,3759,3874,3759,3702,3532,3540,3796,3818,3742,3754,3750,3834,3852,3631,3172,2701,2764,3226,3320,2790,2690,3066,3227,3330,3561,3768,3419,3283,3428,3209,3156,3372,3670,3717,3453,3728,3785,3862,4052,3842,3838,3632,3295,3203,3295,3356,3134,3084,3239,3214,3298,3724,3973,4005,3972,3606,3274,3071,3049,3088,3056,3007,2938,3317,3532,3359,3099,2960,2934,3133,3385,3449,3100,2863,3082,3769,3610,3419,3439,3851,3711,3538,3495,3421,3465,2977,2125,2765,2893,2897,2708,2984,3338,3472,3565,3303,3142,3360,3407,3342,3422,3247,3121,2910,3137,3208,2710,2469,2264,2021,1911,1955,1942,1980,2424,2709,2830,2655,2107,2035,2343,2365,2419,2571,2737,2898,3133,2938,2576,2754,2642,2530,2602,2592,2371,2149,1924,1801,1813,2029,2656,3394,3717,3361,2706,2360,2776,2604,2192,2386,2359,2220,2092,2225,2472,2327,1888,1448,1548,1736,2071,1625,2151,2268,2310,2405,2590,2569,2558,2721,2670,2635,2750,2344,1952,1990,2752,3031,3276,3538,3646,3508,3444,3780,4212,4404,4301,4167,4152,3907,3514,2855,2179,2468,3286,3904,4029,3940,3970,4259,4555,4759,4588,3593,2985,3150,3288,4125,4444,4108,4094,4208,4337,4440,4661,4556,4276,3796,3551,3372,3304,3903,3861,3094,2966,3188,3676,3741,3753,3951,4459,4344,4030,3747,3708,3539,3616,3934,3699,3053,2956,2518,2310,2779,2470,2456,2508,2625,2596,2633,2603,2333,2343,2449,2258,2158,2458,2938,2462,2153,2321,2703,2304,1815,1747,2237,2632,2612,2655,2854,2284,1894,2481,2448,2148,2449,1855,2155,2460,2137,1865,2415,2850,2617,2505,2313,2471,3116,4085,3737,3688,3835,3595,3192,3210,2966,2608,3093,3550,3687,3697,3685,3292,2509,2482,1666,1790,3107,3724,3555,2750,2590,3372,3596,3514,3583,3814,3809,3684,3337,2950,2822,2921,2830,2810,3008,2657,2616,2492,2206,2126,2541,2507,2381,2342,2556,2292,2401,2814,2298,1868,2443,3122,3243,3146,2633,2508,3216,3392,3275,3252,3189,3500,3417,2786,3059,2835,2212,2242,2435,3423,3486,3618,3216,3010,3342,3698,3794,4144,3812,3298,3427,3198,2078,1592,1678,1740,1719,1575,1587,1804,2210,2405,1823,1808,1822,1887,1560,1196,1152,1692,2086,2060,1931,2226,2521,1931,1410,1898,1630,1478,1356,1190,1446,1569,1495,1497,1597,1620,1830,2053,2259,2079,1710,1686,1471,1538,2128,2597,2247,2154,2071,2412,2367,1979,1989,2244,2585,2872,2686,2610,2225,1720,1542,1540,2571,3274,3203,3433,2952,2209,2510,2771,2504,2334,2452,3083,2788,2410,2813,3057,3198,3065,2816,2774,2637,2248,1869,1779,1824,2156,2512,2736,2797,2809,3076,3382,3110,2774,3489,4092,2927,2976,3473,3749,3209,2641,2171,2245,3065,3838,4124,4037,3107,2203,2597,2795,2291,2305,2209,2377,2966,3242,3211,3083,2749,2481,2354,2584,2310,2626,2128,1842,2344,2632,2987,2966,2830,3228,3445,3130,2230,2185,2215,2438,2637,2166,2430,1971,1692,2063,2296,2309,2070,1844,1797,1903,2887,3576,2984,2290,2023,1976,2013,1990,1889,1892,2056,2274,2462,3051,2452,2475,2278,2008,1694,1848,1813,1834,2056,2002,1996,1820,1785,1519,1994,1793,1701,1722,1823,2354,2384,2014,2028,2327,2523,2302,2526,3529,3861,3981,3720,3418,3528,3430,3025,2750,2403,2007,1631,1667,2035,2621,3029,3140,2923,2798,2807,2942,2744,2740,2976,3308,3309,2602,2695,2742,2390,2756,3603,3404,2280,2178,2900,2987,2797,2784,2779,3034,2773,2687,2544,2962,3160,3030,3570,2944,2809,2908,2375,2424,2380,2215,1857,1538,2166,2425,2354,2366,2249,2261,2326,2421,2508,2611,2916,2786,2175,2576,2630,2514,2729,2378,2274,2710,2877,2733,3300,3705,3521,3383,3234,2894,2452,1843,2134,2564,2477,2338,2513,2697,2480,2213,2406,2590,2198,1734,1808,2165,2193,2435,2681,2784,2519,2293,2645,2314,1715,2308,2895,2844,2610,2362,2168,2476,3696,4027,3961,2692,1975,2082,1951,1976,2664,3168,3105,2936,2262,2395,2295,2386,3116,2698,2423,2724,2885,3184,3678,3320,2437,2856,3019,3261,3027,2204,2182,2678,3567,3476,3099,3354,3356,2384,2159,2723,2297,1600,1687,2060,2114,3234,4120,3784,3400,3360,2930,2191,2073,2508,2888,2823,2059,2531,3151,3551,2910,2298,2272,2003,1900,2236,2622,2548,2077,2214,2297,2591,2742,2735,2955,3214,3383,3062,3289,3113,2663,2896,3221,3527],[1707,2079,2910,3105,2443,2103,2488,2486,2819,3015,2508,2158,2078,2056,1908,2000,2341,2480,2565,2148,2004,1815,2004,2544,1990,1238,1696,2939,3562,3350,2951,2773,2380,2145,2200,2365,2101,1756,1689,1910,2025,2180,2207,2479,3203,2718,2338,2313,2281,2645,3068,3208,3029,2946,2471,2338,2924,2879,2366,2335,2417,2511,2693,2365,2486,2484,2359,2375,2033,1995,2424,2692,2919,3141,3022,2988,2742,2482,2829,3096,3221,3394,2997,2062,1925,2194,2593,2670,2438,2511,2555,2871,3240,3000,2652,1989,1816,1885,2384,2836,3046,3344,3275,3068,3416,3247,3242,3155,2886,2911,2685,2216,2827,3459,3062,2828,3324,3603,3406,3405,2995,2246,3116,3378,3299,3203,2671,1928,2500,3338,3574,3461,3439,3519,3542,3334,3376,3516,2996,2401,2359,2298,2548,2864,2850,2583,2442,2617,2918,2878,2669,2797,2907,2956,2994,2943,2799,2841,2762,2667,2779,2956,3195,2868,2780,2368,2352,1632,1486,2272,3062,2897,2607,2521,2599,2647,2360,2204,2513,2285,2066,2843,3220,2907,2348,1965,1903,1959,1628,1132,1174,1027,1428,1459,1449,1653,1688,1870,1864,1841,1987,2071,3249,3994,2953,1775,2078,3294,3793,2732,2122,1582,2232,2884,3363,3437,3219,2580,2101,2436,2415,1881,2045,1851,1529,1921,2344,2402,2106,2461,3055,2758,2220,1913,1741,1901,2110,2148,2198,1759,2096,2053,1782,2189,2322,1823,1857,2048,2143,2338,2450,2084,2036,1990,2190,3103,3317,3118,2301,2279,2653,2076,2424,2359,1914,2213,2289,2693,2553,2287,2362,2206,1860,1607,1824,1983,1731,1829,2010,2720,3284,3270,3199,2746,2071,1671,1767,1748,1621,2043,2745,2644,2297,2333,3231,3442,2282,1828,1885,2395,2952,2709,2216,2224,2574,2105,2000,3254,3204,3156,2353,2270,2811,2754,2750,2899,2912,2783,2105,2073,2568,3212,3394,3241,2845,2319,2077,1851,2092,2545,2640,2359,2035,2422,3317,2974,2176,1709,2379,3024,2598,2250,2200,2069,2404,2932,2872,2963,3153,3407,3506,3343,3242,2989,2887,3133,3503,3466,2964,2963,2418,1817,1716,1639,2113,1981,2079,2987,3079,2282,2485,2656,2376,2496,2116,1850,2093,2500,2176,1837,1577,1492,1844,1951,2004,2056,2086,2505,2388,1885,1719,1426,1086,1455,1570,1777,1618,1340,1390,1607,1656,1644,2132,2572,2220,2473,3050,2648,1670,1710,1729,1830,2033,2121,1998,1722,2065,2027,2626,2796,2244,2085,1741,1698,1850,1918,1608,1340,1322,1838,2053,1498,1665,1738,1903,2065,2173,2330,2584,2792,2770,2561,2413,2337,2780,2640,2382,2510,3095,2974,2611,2388,2285,2121,1877,1824,1959,1842,1698,1558,1748,1716,1747,1612,1534,1897,2133,1870,1641,1541,1698,1773,1736,1998,1714,1374,1475,1572,1476,1593,1748,1999,1994,1829,1702,1563,1657,1913,1986,2249,1814,1295,2064,1746,1883,1935,1763,1939,1833,1687,1736,1718,1955,1868,1837,1936,1531,1699,1948,1842,1915,2386,2689,3309,4001,3890,3206,2774,3407,3291,2623,2147,2144,2250,2797,3763,3278,2484,2741,2922,3065,3010,2327,2357,3333,3278,2592,1903,1962,2277,2596,2464,2376,2576,2875,3175,2909,2647,2436,2020,2220,2306,2136,2087,1925,1931,2153,1961,1776,1847,1542,1562,1648,1542,1795,1693,2047,1983,1792,1958,2415,2591,1831,1771,2321,2317,1762,1792,2807,3294,3517,3145,2592,2365,2028,1647,1456,1442,1416,1442,1851,1549,1954,1808,1644,1449,1344,1577,2352,2733,2133,1823,1926,1558,1687,1974,1804,2352,2363,1986,1535,1628,2090,1892,1854,2011,2044,1971,2471,2245,1702,1456,1578,1341,1610,2251,2093,1641,1472,1509,1907,2507,2679,2340,2086,2226,2439,2500,2301,2670,3050,2972,3232,3488,3320,3208,3217,3294,3078,2796,2612,2444,2036,2478,3410,3392,2868,2873,3021,3114,2764,2516,2945,3155,3219,3270,3172,3204,3342,3270,3055,2711,2757,3289,3191,2868,2730,2785,3051,3008,2555,2840,2983,2448,2376,2735,2697,2057,1963,2027,1948,2154,2603,2566,2477,2585,2944,2921,2535,3400,3531,2956,3109,3107,2604,2271,2282,2384,2380,2233,1975,2021,2147,2191,2255,2382,2632,2830,2834,2500,2398,2752,3064,2868,2740,2879,2609,1243,834,1926,2564,2414,1967,2318,3129,3874,3842,3037,2790,2620,2049,1989,2785,2902,3123,2502,1958,1827,2352,3088,3304,2970,2784,2514,1947,1584,1772,1868,1969,2299,2423,2212,2374,2527,2193,2093,2230,2218,2419,2785,2686,2031,1908,2150,2244,1680,1541,1614,1665,1577,1529,1636,1826,2015,2266,2296,1800,1962,1759,1556,1765,1712,1824,1853,2118,1968,1621,1925,2094,1836,1743,1961,2132,2198,2299,3554,2924,1971,1693,1533,1613,1757,1805,1726,1643,1780,1697,1712,1810,1961,1926,1995,1930,1966,1854,1709,1745,1658,1532,1550,1809,1991,2029,2302,2468,2017,2086,2083,1893,1895,1833,2295,2440,2007,2291,2301,2710,3293,3349,3200,2740,1996,1874,1902,1762,1567,1427,1721,1775,2675,3201,2017,1821,1688,1607,1614,1604,1711,1626,1485,1671,1907,1704,1750,1852,1524,1543,1529,1586,1709,2094,1910,1588,1749,1842,1856,1922,2143,3083,2658,1711,1499,1797,2260,2274,1937,2002,2435,2590,2753,2878,2979,2876,2378,2139,2369,2922,3407,3031,2844,3323,3412,3155,3240,3520,3544,3406,3238,3090,3249,3675,3923,4090,4248,4380,4391,4239,4059,3894,3686,3446,3150,3131,3204,3146,3002,2878,3115,3521,3695,3618,3471,3441,3764,3895,3809,3651,3748,3861,3881,3783,3776,3890,3962,3901,3803,3299,2756,2702,2856,2780,2678,2549,2894,3128,3281,3508,3302,3043,3189,3392,3392,3284,3236,3513,3485,3016,3070,2815,2554,2710,3133,3758,3581,2966,2901,3243,2934,2813,2919,3091,3127,3160,3569,3957,3916,3670,3619,3469,3177,2830,3121,3189,3185,3168,3442,3304,3217,3219,3170,3212,3073,3265,3295,3045,2873,2972,3281,3372,3527,3460,3608,3738,3582,3328,3291,3360,3241,2481,2780,2821,2963,2895,3078,3319,3552,3595,3247,3098,3308,3566,3470,3207,3151,3295,3227,3212,3206,2905,2636,2327,2082,2099,2099,2024,2498,2943,3049,3110,3173,2662,2246,2565,2980,3007,3160,3282,3164,3354,3217,2684,2812,2630,2604,2389,2029,1913,1872,1856,1966,2430,3178,3806,3770,3244,2467,2271,2691,2710,2436,2388,2505,2387,2253,2083,2107,2054,1464,1654,1923,1896,2076,1865,2119,2385,2190,2343,2501,3267,4596,4704,4688,4607,4444,3670,2573,2101,1909,2284,2824,3172,3452,3895,3789,3674,3886,3434,3994,4301,4264,4051,3608,2851,2062,2405,3532,4117,3960,3839,3986,4185,4477,4657,4686,4474,3644,3316,3529,3218,3554,4449,4261,4107,4298,4456,4405,4448,4464,4274,4296,4030,3305,3033,3727,3805,2978,3053,3604,4027,3827,3371,3818,4149,4402,3905,3086,3355,3687,3837,3974,3311,2080,2178,2103,2325,2286,2045,2148,2311,2508,2534,2764,2619,2214,2508,2612,2361,2181,2420,2696,2179,1935,1974,2173,1882,1676,1768,2210,2686,2545,2507,2364,1626,2013,2619,2337,2311,2999,2318,1785,1979,1882,1641,1912,2640,2869,2440,2128,2130,3080,3977,4025,3746,3544,3318,3166,3377,3388,3602,3850,3723,3596,3752,3781,3375,2600,2983,3098,3398,3897,3790,3249,2724,3112,3626,3494,3077,3074,3421,3619,3417,3393,3156,2834,2897,2574,2255,2825,2299,2262,1981,2491,2400,2386,2768,2502,1913,2017,1642,1672,2105,1945,1823,2185,3212,3288,2807,2513,2430,2614,2532,2351,2386,3291,4460,3969,3128,3397,3044,2379,2485,2750,3088,3271,3317,2893,2530,2936,3253,3470,4037,3452,2999,3262,2744,2095,1955,2113,1921,1830,1848,1664,2102,2425,2301,1587,1631,1940,1828,1771,1885,1880,2022,1985,2119,2087,1936,2178,2036,1753,1723,1542,1368,1237,1367,1448,1376,1352,1618,1719,1728,2066,1988,2436,2472,1918,1764,1625,1535,1770,2017,2149,2048,1990,2283,1995,2238,2580,3056,3121,2979,2735,2336,1895,1721,1482,1523,2619,3265,3222,3036,2371,1659,2183,2378,1976,2615,2775,2825,2322,2102,2432,2821,3050,3013,2768,2786,2854,2720,2397,2075,1851,1769,1981,2420,2622,2604,3020,3526,3409,3194,3316,3466,2601,1945,2577,3398,3090,2580,2114,2450,3376,3906,3521,2730,2329,2238,2581,2622,2685,2801,2408,2758,3451,3267,3055,3167,3316,3063,2387,2646,2635,2764,2551,2446,2513,3039,3334,3002,2808,2753,3085,2846,2171,2403,2056,2146,2071,1837,1990,1938,2153,2500,2129,1721,1647,1875,1777,2084,3073,3581,3086,2390,2074,1985,1863,1758,1944,1974,2854,3304,3242,3278,2739,2496,2210,1803,1503,1594,1595,1754,1964,1824,1924,1559,1895,2103,2305,2241,2199,2062,1907,1837,1780,1821,2261,2195,2176,2206,2680,3008,3535,4018,3752,3095,2944,2909,2700,2205,1953,2014,1647,1742,2286,3219,3493,2821,3078,2964,2486,2652,3020,3432,3440,3366,3704,3279,3377,2853,2567,2710,3106,3062,2758,2475,3141,3342,2927,3066,2763,2484,2364,2375,2348,2500,2359,2414,2787,2683,2503,2191,2194,2265,2132,2349,2069,1999,2239,2342,2642,2952,2932,2697,2432,2588,2718,2523,2643,2349,1742,2238,1955,2230,2496,2752,3055,3145,2951,3090,3595,3542,3162,3206,2586,2531,2061,1977,2493,2299,2401,2541,2484,2643,2604,2587,2586,2239,2099,1858,2319,2874,2386,2174,2187,2188,2286,2322,2315,2193,1707,2185,2895,2929,2475,2171,2420,2427,2888,3559,3299,2589,2239,1901,1787,2237,2952,3205,3205,3135,2753,2771,2652,2362,2188,2005,2463,3472,3674,3675,3588,2872,2088,2632,3029,3081,2676,2524,2739,3230,4069,4038,3419,3665,2978,2262,2318,2648,1972,1625,1801,1779,2159,3008,3353,3265,3140,3054,2768,2623,2223,2939,3392,2394,2118,2695,3163,3025,2163,2056,2371,2519,2164,2203,2831,3050,2871,2679,2554,2705,2503,2529,3016,3417,3475,3159,3064,2663,2532,2757,3365,3573],[1628,2022,3151,3029,2341,2087,2414,2737,3000,2869,2270,2134,2169,2207,2503,2791,3532,2897,2655,2410,2054,1681,2069,2536,2216,1348,1815,2998,3131,3095,3242,3270,2503,1954,2162,2519,2267,2003,1832,1948,1870,1882,2016,2237,2375,1915,2344,2450,2277,2682,3284,3373,3142,3311,3278,2907,2932,3019,3042,2678,1970,1781,1920,2209,2436,2034,2198,2443,2402,2438,2620,2521,2732,3228,3315,3231,3236,3179,3120,3088,3031,2798,2329,2101,1972,2231,2834,2953,2728,2971,3122,3182,3536,3620,3610,2513,1767,2349,3128,3068,2930,2980,2855,3002,3355,3093,3031,3070,3198,3066,2810,2217,2494,3209,3375,3704,3659,3670,3137,3217,2780,2247,2721,2624,2854,3408,2815,1928,2428,3386,3875,3715,3602,3456,3597,3531,3575,2836,2088,2159,2574,2587,2533,2832,2811,2624,2593,2685,2908,2899,2952,2940,2975,2999,3032,2757,2434,2734,3248,3035,2186,2138,2667,2739,3044,3311,3072,2108,1647,2075,2524,2695,3034,3028,2688,1934,1719,2106,2719,2699,2720,3028,2514,2286,2500,2326,1968,1930,1780,1265,1262,1268,1445,1476,1693,1748,1704,1733,1427,1731,2200,2457,3347,3916,3798,2521,1751,2032,2929,2415,1844,2567,3615,3716,3482,3099,2850,2209,2030,2059,2140,2055,2192,1785,1891,2170,2252,2615,2310,2042,2721,2921,2186,1885,2266,2398,2229,2230,2135,1825,1826,1831,1516,1612,1763,1914,1962,1818,1886,1936,2092,2192,2210,2075,2686,3377,3239,3277,2407,1884,2260,2195,1960,1981,1981,2088,2010,2012,1885,1982,1896,1873,2161,2055,2030,2211,1965,1863,1976,2295,2109,2278,2850,3043,2419,1715,1612,1561,1903,2406,2934,2684,2610,2767,3774,3194,2007,1755,2099,2170,1898,1906,2010,2191,2441,2588,2247,2700,2780,3345,2744,2075,2488,2338,2460,2930,2596,2450,2940,2831,2809,3226,3433,3546,3399,2644,2264,2188,1970,2711,3094,2959,2813,3389,3784,3194,2220,2452,3353,3309,2609,2669,2378,2022,2791,3543,3251,3356,3089,3696,3805,3421,3241,3194,3002,2475,2863,3330,2897,2714,2539,2002,2199,2241,2691,2397,2308,2885,2436,2336,2765,2679,2624,3079,2524,2373,2771,2986,2388,1757,1644,1649,1889,1921,1718,1832,1930,1637,1429,1600,1694,1759,1662,1602,1651,1870,1421,1247,1644,1823,1843,1887,2450,2475,1892,2252,2922,2264,1634,1878,1912,1792,1997,1922,2010,2179,2138,1900,2513,2502,2266,2062,1661,1588,1665,1736,1591,1483,1434,1691,1650,1457,1454,1738,1518,1792,2046,2085,2246,2814,2946,2842,2728,2635,3028,2820,2944,2915,2459,2124,2226,2631,2359,1901,1998,2130,1698,1594,1502,1490,1598,1773,1676,1821,1748,1690,1810,1763,1862,1704,1459,1577,1862,2235,1908,1552,1515,1432,1580,1828,2040,1863,1772,1924,1728,1598,1825,2304,2180,2388,1943,1449,1808,1674,1656,1653,1765,1929,1764,1582,1617,1883,1884,1624,1692,1561,1688,1725,1593,1517,1695,2447,3007,3287,4015,4184,3899,3754,3584,3042,2656,2113,2424,3110,3217,3533,3414,2416,1729,2030,3056,3308,2500,2125,2591,3334,2864,2271,2532,2885,2945,2845,2611,2644,2871,3078,2727,2065,1804,2005,2167,1948,2032,2231,2077,1920,1835,1620,1433,1715,2024,2084,1896,1782,1647,1540,1700,1843,2428,2381,1966,2662,2262,1700,1608,1865,1750,2419,2998,3096,2888,2685,2843,2833,2301,1848,1404,1569,1518,1442,1776,1960,2510,2093,1514,1458,1348,1529,2404,2669,2184,2056,2276,1820,1964,1931,1439,1654,1680,1688,1748,1891,2164,1810,1590,1824,2252,2043,1913,2014,1796,1804,2003,2095,2435,2724,2144,1848,1606,1498,2136,2854,2761,2686,2701,2782,2986,3046,2836,2863,3427,3607,3747,3662,3320,3014,3010,3414,2957,2417,2556,2588,2438,2810,3293,3011,2774,2563,2931,3216,2944,3049,3388,3352,3294,3231,3333,3383,3238,3104,3083,2523,2043,2132,2884,2722,2435,2679,3149,3329,3232,3263,2879,2511,2236,2123,2422,2216,2046,2098,2210,2435,2565,2529,2556,2860,3371,3051,2470,3167,3441,3271,3280,2612,2069,2021,2193,2392,2543,2476,2205,1982,2164,2083,2098,2258,2484,2721,2876,2522,2243,2602,2834,2577,2582,2524,2232,1151,1231,2077,2297,1954,1649,1756,2346,3264,3486,3016,2789,2713,2261,1962,2263,2543,2946,2387,1377,1062,2055,2916,2868,2695,2658,2421,1722,1435,1661,1743,1854,2420,2332,2365,2512,2262,2011,2084,2143,2209,2424,2635,2154,1615,1471,1526,1964,1807,1605,1500,1449,1523,1570,1886,2024,1798,2346,2466,2386,2038,1450,1381,1724,1871,1936,2341,2818,2432,1970,1709,1872,1875,1688,1687,1836,1768,1409,2173,2292,1820,1609,1643,1800,1791,1871,1670,1638,1571,1698,1802,1689,1584,1794,2054,2019,1881,1807,1675,1608,1464,1482,1700,1613,1789,1979,2504,2751,2540,2680,2943,2576,2247,2221,2299,2559,2791,2984,3006,3021,3387,3542,3172,3165,3319,2950,2391,2547,1844,1491,2101,1724,2249,2275,1590,1538,1462,1418,1381,1362,1593,1472,1367,1604,1685,1764,1666,1642,1554,1633,1672,1528,1547,1642,1715,1760,1489,1713,2017,2115,1887,1816,1720,1672,1645,1811,1981,2178,2307,2215,1974,2232,2957,3485,3372,2921,2119,1866,2340,2998,3765,3200,2510,2920,3229,2886,3613,3548,3597,3298,3061,3143,3596,3908,3843,4003,4311,4351,4234,4251,4178,4136,3748,3226,3041,3109,3082,2896,2853,2898,3081,3256,3471,3521,3471,3342,3492,3674,3686,3768,3649,3724,3883,3741,3823,3892,3773,3521,3582,3439,2884,2575,2480,2362,2269,2420,2769,2834,3150,3521,3498,3272,3243,3552,3611,3620,3363,3515,3150,2753,2850,2380,1886,2019,2650,3698,3592,2792,2420,2599,2519,2608,2902,3062,2975,3072,3654,4070,3562,3254,3606,3527,3193,2945,3029,3294,3492,3581,3333,3083,3454,3558,3503,3567,3383,3450,3416,3199,3065,3138,3350,3470,3629,3786,3691,3707,3918,3438,3448,3485,3307,2475,2788,3460,3792,3333,3110,3239,3304,3460,3248,3110,3374,3319,3155,3108,3326,3628,3606,3676,3632,3128,2775,2348,2116,2166,2081,2081,2844,2951,2988,3053,3150,2899,2315,2422,2976,2845,2965,3194,3216,3272,2900,2460,2797,2552,2036,1576,1534,1778,1893,1960,2570,3445,3779,3636,3077,2511,2546,2531,2126,2214,2461,2402,2211,1900,1937,1920,2228,1830,899,1722,2533,2518,2323,1745,1967,2445,2285,2325,2261,3166,4383,4548,4661,4668,4597,3762,2971,2425,2044,2017,2446,3082,3207,3701,3841,3769,3817,3350,3530,4052,4024,3576,2968,2283,2341,3316,4043,3937,3639,3472,3696,4023,4178,4540,4567,4395,4227,4063,3786,3206,3352,4312,4384,4348,4584,4645,4432,4441,4572,4537,4432,4004,3653,3862,4047,3826,3371,3513,4037,4157,4011,3720,3690,3764,4312,4128,3717,3886,4015,4100,3852,2887,1842,1858,2062,1978,1955,2009,1989,2111,1947,2056,2327,2322,2458,2983,2473,2307,2272,2218,2079,2162,2300,2119,1883,1777,1950,2564,2491,2126,2162,2667,2104,1446,1932,2414,2068,2301,3175,2739,1860,2147,2269,2110,2342,2443,2585,1970,1886,2168,3332,4198,4296,3993,3378,2919,2838,3403,3427,3720,3869,3719,3682,3785,3841,3864,3670,3572,3521,3706,3794,3506,3227,3544,3241,3248,3330,2929,2809,3460,3662,3385,3430,3175,3022,3209,2642,2835,3220,2546,2499,2856,3201,2928,2598,2622,2070,2055,2260,1926,1941,2480,2518,2410,2199,2790,2742,2544,2366,2766,3323,2940,2956,3435,3662,4120,4107,3817,3848,3938,3635,3593,3691,3277,3120,3295,2889,2508,3183,3576,3852,4145,3472,2656,3046,2912,2071,1799,2078,2003,2170,2000,1686,2032,2195,2262,2020,1915,2250,1925,1793,2004,2352,2684,2651,2575,2175,2026,1954,2164,2187,1862,1705,1568,1605,1595,1455,1626,1926,1708,1839,2266,2619,2517,3052,2906,2409,2018,1658,1668,1754,1663,1635,1646,1606,1572,1451,2072,2966,3113,2952,2706,2945,2422,1791,1687,1187,1498,2054,2744,2656,2414,2388,2421,2611,2434,2326,2884,2902,2400,2231,1915,1572,1771,2065,2463,2613,2613,2747,2846,2901,2808,2424,1947,1777,1859,2197,2675,2757,3151,3420,3375,3104,2564,1869,1621,2285,2294,2302,2448,2433,3376,3706,3254,2428,2241,2292,2149,2133,2257,2541,2360,1865,2168,2809,2602,2638,3063,3479,3300,2997,2968,2798,2379,2495,2706,3103,3467,3514,3172,2995,2972,2754,2697,2802,2437,2057,1887,1769,1692,1776,1751,1699,1754,1774,1629,1670,1692,1694,2027,2542,2767,2419,2078,2047,2147,1943,1889,1854,1797,3076,3174,2934,2828,2843,2623,2336,1995,1622,1562,1436,1399,1829,1833,1653,1772,2355,2365,2039,1742,1814,2072,1770,1722,1873,2110,2011,1924,2010,2611,3188,3009,2690,2844,2719,2632,2776,2197,2020,2273,2030,1832,1823,1978,2240,3166,3548,3364,3642,3297,2739,3209,3680,3839,3663,3278,3494,3286,3298,3084,2774,2381,2416,2820,2924,2688,2780,3188,3415,2763,2630,2568,2557,2475,2442,2424,2289,2367,2460,2430,2302,2286,2278,2283,2147,2148,2040,2125,2243,2667,3395,3695,3675,3482,3253,3134,3112,3040,2907,2104,1958,2464,2181,2188,2546,3311,3406,3202,3330,3252,2872,2812,3012,2851,2863,3165,2646,2430,2515,2636,3030,2844,2469,2507,2648,2741,2533,2238,1914,1820,2498,3103,3234,2548,1517,1256,1880,2128,2242,2692,2286,2491,2667,2382,2048,1951,2217,2461,2320,2284,2316,2289,2692,2379,2190,2610,3589,3664,3378,3341,3273,2796,2532,2192,1805,1694,2367,3480,3614,3329,2692,2481,2256,2756,2976,2988,3082,3162,3286,3231,3645,3639,3463,3497,2158,1903,2351,2483,1899,1648,2051,2032,2081,2451,2695,3090,3356,2796,2435,2589,2254,2402,2906,3098,3024,2924,2898,2395,2175,2352,2461,2880,2663,2928,3330,3566,3481,2978,2822,2818,2647,2836,2903,2778,2812,2662,2295,2868,3191,3386,3554,3481],[2040,2176,2483,2155,2142,2243,2355,2589,2730,2637,2436,2551,2685,2510,3024,3196,3861,3710,3068,2938,2732,1792,1875,2458,2766,2967,3054,3112,2878,2777,3130,2974,2101,1882,2289,2473,2321,2454,2148,1939,2360,2677,2366,2099,2554,2432,2888,2705,2539,2900,2998,2957,2835,3181,3764,3395,3132,3129,3366,3045,2341,2147,2039,2116,2042,2020,2390,2613,2732,2554,2710,2587,2841,3454,3201,2534,2358,2309,2468,2858,2834,2495,2720,2841,2362,1987,1987,2458,3105,3252,3251,3237,3338,3605,4083,3460,2602,2855,3185,3044,2551,2380,2308,2491,2795,2930,3011,3168,3177,2987,3156,3043,2844,2843,3131,3239,3248,3702,3405,3149,2646,2523,3018,3172,3261,3450,2905,2478,3292,3761,3759,3702,3624,3748,3863,3334,2613,2296,2509,2744,2780,2600,2722,3088,2869,2509,2708,2724,2755,2946,2945,2823,2872,2854,2835,2761,2741,2779,3562,3598,2507,1967,1949,2108,2810,3142,3089,2754,1892,1729,1768,2085,3056,2752,1828,1554,2077,2528,2675,2857,2972,2419,1793,1900,2052,2280,2655,2742,1787,1471,1459,1554,1577,1709,2098,2057,1844,1641,1094,1515,1802,1938,2604,3295,3793,3993,2368,1305,1842,1920,1708,2197,3084,3205,2728,2705,3024,2414,2126,2053,2054,2065,1970,1733,1719,1371,1359,2322,2444,2019,1889,1896,1890,2272,2292,2370,2295,1936,1931,2056,2074,1882,1569,1474,1552,1749,1742,1762,2010,2442,2432,2627,2699,2254,3101,3772,3506,3616,3050,2074,2221,2279,2186,2442,2206,1726,1941,2154,2175,2256,2170,2354,2622,2243,2163,2094,1842,1783,2190,2324,2125,2092,2544,3214,2958,2268,2073,2426,3040,2860,3077,3666,3550,3632,3477,2615,1909,1598,1833,1865,1893,1824,1874,1956,2391,2974,2932,2652,2708,3416,2747,2167,2565,2232,2035,2486,2021,2119,3256,3394,3182,3320,3330,3615,3753,3498,3340,3108,3062,3419,3074,3300,3501,3849,4063,2985,2119,2671,3123,3028,2111,2259,2137,2475,3514,3975,3752,3143,2827,3264,3284,2863,2586,2481,2844,2955,3187,3218,3104,3060,2828,2689,2990,2867,2973,2795,2492,2511,2161,2578,2064,2458,3334,2917,2416,2431,2706,2675,2041,1850,1867,1738,1821,2059,2207,2222,1835,1339,1233,1659,1973,2198,2448,2086,1892,2072,1974,1742,1958,2112,2076,1976,2555,1980,1652,1996,2143,1797,1679,2193,2405,1685,1768,2089,2375,2335,2007,1965,1982,2027,2518,2639,2285,1793,1618,1608,1655,1625,1252,1214,1270,1250,1847,2118,1676,1610,1933,2191,2463,2876,2942,2917,2779,2873,2430,2419,2690,2791,2324,1979,2324,2195,1929,1969,2043,1670,1560,1871,1717,1571,1548,1586,1888,2290,1908,1753,1817,1787,2133,2012,1795,1611,1958,2212,1780,1614,1848,1955,1722,2012,2402,1947,1668,1770,1742,1622,1897,2102,2084,1719,1728,2123,2359,2059,1572,1575,1579,1541,1665,1668,1991,2098,1655,1699,1633,1534,1580,1594,1590,1544,1567,1863,2364,3222,3927,3928,3187,3166,3508,3150,2697,2556,2934,2857,2522,2713,2863,2158,1459,1796,2932,3532,3007,3050,3596,3919,3665,3146,3056,3040,2581,2445,2308,2475,2629,2492,2467,2280,2017,1893,1820,1835,2087,2257,2203,2299,2183,1705,1585,1635,2434,2569,2034,1880,1724,1550,1486,1617,2094,2701,2601,2535,1913,1438,1463,1729,1543,1727,2229,2318,2224,2161,2112,2346,1801,1610,1529,1593,1721,1720,1722,1757,2014,2095,1803,1643,1504,1445,1831,1924,2078,2052,2216,1798,1904,1905,1406,1562,2175,2164,1789,1598,1558,1466,1656,1864,2078,1669,1802,2230,2122,1853,2056,2451,2253,2670,2262,2556,2237,1840,2093,2480,2527,2584,2735,2898,3047,3200,3384,3100,3668,3826,3912,3747,3294,3102,3245,3483,3030,2343,2273,2319,2685,2908,2952,2946,2763,2562,2712,2683,2949,3332,3262,3076,3238,3232,3295,3065,2989,3033,2850,2091,1828,2079,2584,2157,1904,2455,3081,3465,3564,3278,2798,2120,1782,1583,1766,2271,2422,2488,2544,2202,2322,2701,2853,3124,3245,3082,2623,3062,3169,2909,2767,1971,1646,1846,2254,2655,3082,2767,2610,2310,2565,2490,2186,2029,2137,2459,2376,1864,1757,2071,2287,2105,2374,2495,2105,1860,2150,2248,2190,1317,1190,2136,2370,2320,2830,3066,2480,2176,1964,2002,1962,2382,2770,2228,1645,1904,2580,2535,2591,2911,2889,2198,1907,1821,1749,1779,1787,1963,2172,2655,2608,2032,1981,2401,2558,2333,2230,1925,1564,1442,1444,1853,2358,2222,1824,1590,1583,1579,1472,1730,1866,1437,1758,1872,2237,1732,1432,1600,1598,1763,2201,2446,2452,1915,1560,1704,2140,2109,1856,1756,1565,1620,1784,1827,1794,1655,1754,1880,1780,1634,1757,1735,1834,1931,2026,1900,1714,1664,1668,1865,2046,2214,2224,1898,1461,1514,1660,1634,1497,1499,1695,2084,2570,2853,3065,3130,2854,2856,2725,2139,2656,3851,3974,3271,2782,2897,3188,3156,3450,3564,2896,2790,3251,2330,1659,1380,1846,2669,2196,1686,1531,1498,1477,1386,1266,1308,1335,1336,1593,1885,1995,1644,1649,1895,1918,1781,1664,1526,1386,1909,1951,1660,2125,2226,2030,1834,1764,1747,1713,1941,1909,2002,2373,2525,2369,1920,2610,3505,3545,2980,2834,2215,2024,2326,2467,3344,3637,3131,2568,2907,3190,3372,2998,3139,3111,2998,2990,3231,3477,3748,3880,4151,4192,3988,4069,4118,4136,3916,3511,3487,3571,3260,2973,2993,3259,3560,3416,3540,3606,3574,3584,3529,3427,3461,3703,3657,3720,3755,3738,3905,3919,3623,3349,3196,3002,2706,2911,3233,2908,2492,2666,2557,2578,2974,3474,3353,3384,3337,3751,4019,3902,3631,3686,3109,2529,2500,2392,2619,3586,3768,3657,3482,2792,2323,2466,2632,2727,2882,3053,2949,2896,3509,3839,3315,3112,3347,3423,3175,3038,3140,3457,3646,3765,3652,3638,3653,3515,3529,3461,3514,3504,3429,3305,3324,3494,3473,3131,3185,3638,3819,3694,3687,3389,3567,3671,3306,2713,3294,4141,4265,3843,3260,3005,3208,3492,3327,3329,3418,3411,3518,3708,4006,4084,3929,3818,3637,3140,2955,2290,1957,2082,2091,2164,2792,3039,3028,3104,3033,2798,2248,2133,2511,2964,3167,3238,3277,3065,2330,1875,1863,1652,1499,1636,1798,1884,2014,2330,3162,3564,3519,2849,2271,2522,2688,2446,2155,2200,2379,2359,2471,2464,2486,2093,2411,2003,1238,1733,2025,1309,1182,1133,1295,2338,2570,2524,2604,2928,3052,3061,2997,3020,3116,2888,2766,2518,2147,2183,2353,2830,3088,3304,3542,3904,3978,3894,3872,3993,3715,3170,2376,2372,3144,3870,4025,3769,3952,3641,3376,3574,3672,4036,4504,4665,4561,4264,3615,3281,3775,4505,4662,4309,4183,4300,4320,4439,4529,4389,4150,4031,4120,4307,4160,4277,4229,4093,4035,4128,4062,3999,3905,3725,3938,4031,3962,3763,3861,3919,3768,2677,1708,1875,2150,1897,1838,1912,2032,1989,1812,2055,1920,1839,2332,2815,2428,2281,2270,2259,2337,2408,2524,2627,1993,1800,2275,3053,2766,2070,1943,2332,1633,955,1268,1810,1795,2173,3029,3056,2734,3396,2799,2518,2379,2220,2226,1776,1645,2232,3628,4517,4420,4028,3141,1983,2104,3369,3404,3531,3816,3811,3486,3391,3640,3806,3807,3420,3571,3528,3487,3529,3608,3167,2062,2525,3375,3420,3292,3497,3219,2873,3385,3377,3189,3297,2895,2844,2787,2777,2623,2360,2530,2573,2525,2565,1946,2252,2171,2116,2036,2377,2584,3002,2811,2789,2688,2581,2889,3409,4101,3947,3565,3705,2933,2930,2767,2614,2945,3318,3282,3496,3465,2918,3211,3369,2946,2875,4119,4385,4153,3858,3500,2916,2584,2508,1994,1541,1738,1942,2132,1912,1938,1910,2160,2226,1865,2146,2588,2196,2027,2566,2674,2645,2620,2553,1865,1933,1804,2155,1865,1490,1561,1421,1323,1340,1609,1942,1896,1573,1885,2420,2234,1950,2643,2806,2545,1892,1583,1850,1794,1686,1772,1938,1615,1322,1569,2880,3342,3162,2752,2831,3463,2666,2151,2309,1965,1537,1792,2817,2794,2790,2987,2881,3032,2663,2248,2565,2512,1942,1752,1678,1387,1717,1830,1939,2287,2658,3095,3248,3184,3273,3110,2742,2116,1844,1814,2053,2503,3041,3310,3289,3298,2981,2426,2702,2923,2632,2761,2663,2383,2751,2850,2153,1708,2291,2664,2675,2808,2909,2467,2270,1922,1674,2010,2483,2169,2462,2835,3233,3480,3350,2708,2266,2813,3177,3448,3392,3486,3462,3334,3282,3053,2745,2561,2820,2546,1923,2039,2082,1758,1569,1460,1565,1553,1707,1770,1746,1900,1870,1914,1974,1912,1882,2119,2523,2334,2314,2164,2288,2995,2901,2329,2805,3262,2670,2258,2279,1808,1542,1347,1573,2040,2066,1890,2105,2343,2176,2072,1962,1961,1851,1646,1731,2423,2814,2176,1751,2080,2504,2596,2410,2263,2498,2460,2610,2602,2198,1960,2569,2156,1917,2200,2249,2059,2669,2983,3110,3653,3772,3492,3726,3798,4027,3996,3564,3403,3211,3207,3242,2537,2022,2210,2588,2944,3386,3649,3769,3772,3339,3524,3121,2690,2430,2256,2163,2261,2284,2258,2329,2325,2228,2145,2157,2138,2136,2210,2220,2305,2874,3355,3379,3514,3585,3438,3271,3166,3376,3441,2801,2800,2943,2765,2619,3047,3419,3140,3320,3361,3230,2823,2990,2335,2538,3388,3358,3016,2562,2425,2877,3025,2764,2577,2558,2654,2732,2803,2553,2017,1715,2365,3272,3486,3211,1897,1063,1605,1909,1981,2067,2577,2974,2745,2392,1982,1647,2130,2608,2475,2473,2133,2139,3176,3024,2492,2991,3609,3315,2643,2831,3165,3073,2836,2156,1759,1622,2465,2851,3093,2724,2607,2953,2165,2431,2977,2833,2884,2983,3117,3276,3575,3333,2986,2993,2322,2149,2321,2354,1926,1701,1817,2058,2335,2325,2038,2986,3427,2741,2346,2206,2128,2088,2331,2657,2522,2651,2753,2580,2190,2092,2370,2753,2483,2343,2369,2950,3416,3319,3129,2997,2927,3142,3253,2424,2489,2920,2876,2766,3154,3703,3680,3615],[2500,2896,2586,2155,2210,2213,2226,2410,2622,2420,2122,2250,2377,2339,2718,2710,3141,3269,2831,2770,2554,2046,2144,2533,2530,2635,2925,2649,2443,2513,2744,2296,1995,2562,3003,2930,2720,2486,2213,2214,2666,2897,3024,2595,2698,2974,3034,2754,2845,2929,2862,2980,2720,2863,3131,3031,3328,3473,3142,3006,3186,2831,2123,2060,2294,2502,2421,2102,2527,2908,3016,2697,3216,3625,2669,1888,1908,1765,1978,2623,2685,2577,2764,2683,2285,2149,2260,2872,3784,3465,3466,3833,3393,3393,3741,3371,2879,2980,2938,2827,2287,2136,2064,1962,2546,3123,2963,2924,2783,2540,3020,2999,2819,2985,3066,2897,3123,3660,3577,3236,3010,3137,3523,3471,3437,3438,3299,3333,3552,3761,3685,3701,3767,3624,3132,2560,2283,2564,2685,2795,2779,2828,2968,3000,2656,2477,2797,2753,3154,3283,2849,2994,2836,2690,2712,3019,3199,2479,2878,3815,3120,2127,2140,2330,2504,2553,2620,2662,2013,1655,1499,1761,2654,2295,1906,2055,2581,2889,2710,2686,2714,2410,2008,1868,1579,1793,2800,3095,2533,1812,1838,1994,1886,2146,2198,2093,1956,2314,1700,1577,1907,1835,2266,2951,3762,4315,2953,2333,2998,2446,1872,1842,2438,2455,2193,2879,2934,2509,2343,2299,2073,1813,1844,1786,1734,1833,2071,2321,2157,1932,1832,2061,2091,2402,2279,2023,1829,1587,1688,1927,2069,1684,1644,1529,1499,1481,1545,1764,2228,2345,2098,2574,2885,2632,3379,3677,4003,3653,2901,2320,2552,2396,2340,2349,1967,1624,1713,1766,2032,2619,2944,2517,2769,2752,2341,2416,2138,2011,2500,2559,2242,2214,2858,3342,2740,2187,2208,2872,2995,2939,3544,3854,3562,3376,3205,2491,1678,1698,1577,1891,2040,2457,2888,2806,2972,3029,2876,2687,2812,3353,2548,2244,2576,2398,2358,2475,2294,2491,3340,3708,3670,3308,2776,3350,3706,3749,3823,3435,3221,3436,3529,3662,3702,3889,4035,3304,2762,2850,2553,2363,1947,2101,2157,3132,3426,3219,3309,3341,3309,3132,2588,2512,2482,2761,3132,2962,3288,3344,3437,3052,2909,3272,3248,3098,3081,2999,2442,2143,2623,3384,2614,2685,3389,2343,1663,1784,2072,2558,2270,2272,2078,1720,1780,1927,2388,2280,2060,1486,1134,1509,1827,2374,2851,2487,2200,2004,2200,1717,1936,2261,2134,1953,1993,1703,1738,2114,2142,2173,2495,2366,1994,1673,1793,2763,2642,2093,1968,2240,2504,2502,2569,2807,2347,1718,1548,1586,2088,1678,1408,1397,1399,1346,1688,1827,1738,1597,2274,2747,2526,2494,2403,2533,2836,2798,2565,3076,3154,3017,2322,1637,1566,1550,1864,1903,1814,1467,1686,1979,2009,1580,1555,1870,2178,2365,2522,2155,1716,1742,1823,1793,1778,1705,1862,1682,1590,1639,1954,2244,1758,1743,1829,1743,1561,1580,1853,1866,1839,2143,2244,1746,1586,1687,1792,2036,1715,1533,1628,1674,1916,1897,2148,1944,1602,1840,1761,1591,1506,1508,1522,1729,1618,1718,1688,2580,3605,2972,2304,2986,3462,3064,2600,2403,2518,2436,2341,2257,2466,2377,1562,1629,2908,3365,3288,3653,3592,3404,2932,2873,2764,2137,2417,2570,2104,2354,2371,2133,2415,2548,2142,1644,1674,1985,2263,2092,1920,2139,2251,1988,1882,1780,2071,2001,1708,1573,1635,1769,1838,1691,1782,2505,2640,2109,1949,1722,1564,1616,1476,1448,1629,1791,2120,2018,1594,1662,1622,1760,1648,1391,1712,1781,1478,1707,2002,1991,1655,1598,1453,1510,1710,1600,1908,1724,1686,1711,1754,1858,1570,1716,2062,1697,1549,1659,1863,1856,1714,1606,1704,1625,2132,2792,2249,1862,2376,3122,2044,2251,2239,2060,1961,1986,1951,1918,1948,2286,2668,2990,3189,3331,3222,3063,3562,3929,4026,3879,3555,3227,3068,3150,2696,2002,1800,1872,2544,3053,3288,2762,2561,3146,3176,2928,3060,3244,3216,3010,3188,3243,3184,3093,2965,3028,2622,2060,2030,2374,2270,1883,2100,2651,2944,3429,3737,3516,2685,2249,1998,1707,1749,2314,2729,2789,2526,1903,1856,2576,2791,2950,3167,2989,2852,2987,2292,2141,2165,1703,1716,2114,2430,2553,2898,2830,2732,2690,2836,2873,2605,2292,2092,2042,1858,1664,1576,1715,1925,2124,2267,2462,2192,2162,2330,2366,1871,911,1346,2599,2686,2192,2215,2356,2064,1731,2042,2142,1632,1891,2454,2235,1876,2476,2964,2713,2878,3243,3182,2114,1945,1775,1670,1794,1864,1835,1816,1831,1852,2122,2588,3047,2842,2122,2054,1798,1596,1477,1601,1941,2128,2385,2391,1975,1482,1490,1554,1811,1724,1666,1914,1950,2002,1808,1760,1799,1650,1862,2176,2269,2174,1914,2170,2464,2536,2420,2348,2053,1491,1960,2286,2050,1742,1769,1992,1773,1656,1713,2102,2472,2159,1697,1823,1937,2272,2165,1911,1843,1756,1959,1968,1593,1444,1672,1821,1692,1545,1502,1852,2608,2871,2683,2998,3414,3053,2841,2630,2610,3305,4262,3958,2499,1919,1970,2585,2395,2084,2503,2476,2971,2609,1890,1702,1733,2548,2780,1955,1711,1465,1861,2030,1902,1604,1665,1818,1687,1488,1577,1698,1589,1577,1972,2372,2165,1739,1516,1697,2337,2390,2285,2219,2077,2171,2276,2127,2084,2154,2680,2282,2435,3042,2523,2255,2161,2393,2851,2656,2302,2332,2064,2467,2494,2218,3068,3687,3284,2405,2902,3318,2980,2766,2787,2940,3112,2945,2835,2958,3517,3920,4189,4060,3683,3823,3894,3705,3652,3741,3701,3606,3233,2945,2930,3226,3625,3480,3368,3461,3616,3660,3606,3507,3526,3622,3565,3492,3736,3917,4048,4080,3792,3327,2984,2715,2401,2588,3226,3276,2800,2577,2397,2828,2888,3442,3405,3263,3397,3630,4025,4132,3971,3907,3460,2664,2423,2410,2866,3906,4220,3767,3458,3168,2883,2709,2868,2957,3103,3273,2896,2502,3040,3565,3232,3120,3144,3043,3187,3558,3850,3938,3565,3605,3719,3908,3391,3287,3383,3520,3597,3708,3538,3272,3269,3164,3209,3240,3208,3130,3387,3581,3328,3182,3566,3899,3184,2877,3876,4427,4471,4156,3725,3160,3261,3475,3528,3355,3261,3507,3618,4188,4824,4603,4207,4345,3587,3325,3175,2542,2025,2312,2254,2132,2781,3228,3106,3020,3020,2778,2162,2143,2152,2542,2886,3006,3178,2864,2151,1556,1317,1505,1727,1836,1910,2013,2276,2754,3055,3067,2722,2319,2824,2918,2534,2411,2212,2316,2492,2416,2263,2250,2472,2294,2387,2995,2452,1749,1588,1242,1290,1410,1340,2153,2699,2526,2666,2978,2993,2944,2869,2834,2813,2686,2466,2272,2016,2167,2359,2489,2809,3024,3528,4072,4287,4099,3904,3670,2944,2483,2524,3178,3629,4228,4344,4296,4284,3780,3294,3098,3121,3256,3726,3943,4113,4192,3535,3526,3974,4164,4297,4144,3961,3768,3702,4065,3961,3972,3925,4097,4184,4219,3966,3984,3975,3714,3568,3797,3825,3819,3901,3708,3449,3642,3447,3395,3745,3827,3663,2618,1761,1866,2135,2013,1813,2050,2331,2214,2001,1898,1849,1696,1912,2464,2643,2566,2309,2510,3032,3130,2938,2662,2171,2580,3349,3841,3454,2721,2199,2184,2114,1482,1385,2186,2685,2822,2975,2752,2308,2272,1780,2083,2231,2270,2208,2208,2122,2154,3212,4184,3882,3541,3032,2823,3171,3760,3663,3714,3818,3491,2652,2670,3514,3830,3602,3244,3504,3565,3469,3538,3572,3306,3039,3189,3526,3509,3566,3443,3082,2880,3396,3548,3453,2928,2573,2823,2959,2813,2623,2489,2679,2439,2588,2545,1813,1967,2077,1924,2216,2656,2877,3257,3292,2888,2504,2630,2833,2781,2996,3064,3123,3350,3369,2880,2049,1768,1918,1960,1926,2131,2797,3738,3739,3211,3740,3642,3785,4152,4082,3889,3871,2796,1763,1706,1602,1676,1992,1964,1857,2168,2263,2042,2293,2554,2231,2148,2453,2194,2088,2642,2679,2482,2712,2752,2337,2235,2162,2347,1942,1438,1412,1432,1472,1393,1766,1920,1603,1562,1748,1759,1547,1670,1982,2225,2219,1664,1866,1998,1882,2004,2222,2268,2226,1994,2430,3182,3165,3112,2664,2866,2981,2298,1958,1784,1620,1522,2209,3040,3119,3006,2442,2374,2884,2700,2286,2154,2156,1980,2062,1918,2137,2336,2223,2058,1820,1882,2670,3305,3149,3353,3353,3286,2802,2251,1921,1720,1919,2555,3022,3044,2839,2841,2954,3123,2634,2630,2815,2424,2487,3012,2846,1931,1568,1994,2541,3208,3511,3197,2557,2146,1638,1710,1551,2117,2246,2058,2045,2793,3507,3235,2780,2777,2864,2998,3552,3560,3281,3432,3418,3303,3255,2858,2653,2765,2409,2178,2065,1864,1736,1516,1602,1574,1518,1746,1823,1853,1791,1737,1725,1687,1581,1824,2323,2636,2341,2066,2083,2360,2864,2700,2630,3156,3311,2742,2114,1896,1574,1398,1548,1774,1854,2023,1879,2086,2442,2202,2018,2078,2285,2065,2110,2020,2557,3001,2791,2246,2419,2485,2056,1750,1827,1864,2367,2460,2091,2122,2116,2878,2730,2155,2136,2039,2108,2501,2281,2784,3804,3562,3570,3948,3979,4140,4017,3432,3099,3032,3078,2806,2473,2742,2952,3104,3174,3480,3790,3852,3549,3506,3308,3149,3099,2608,2228,2246,2261,2309,2427,2304,2111,2100,2209,2209,2147,2106,2154,2206,2268,2514,2754,3037,3310,3393,3167,3138,3260,3495,3385,3386,3410,3393,3495,3397,3312,3329,3167,3088,2811,3120,3117,2746,2508,3200,3348,3114,2827,2362,2150,2617,2858,2656,2635,2630,2476,2552,2698,2724,2714,2736,3039,3044,2894,2928,2120,1642,1776,1772,1892,1996,2768,2978,2834,2931,2319,2093,2654,2740,2830,2814,2114,2154,2293,2269,2521,2806,2806,2313,2247,2809,2912,3129,3298,3035,2223,2201,2590,2620,3112,2691,2974,2887,2093,2808,3270,2620,2500,2820,3207,3250,3219,3183,3096,2983,2563,2220,2206,2178,2050,1807,1897,2043,2241,2220,1668,2062,2433,2539,2597,2277,2020,1815,1906,2166,2535,2956,2687,2554,2147,2445,2900,2912,2560,2517,2572,2802,3166,2910,2662,3157,2613,2959,3543,2596,2599,2818,2475,2225,2448,3162,3671,3500],[2491,2977,2840,2496,2472,2536,2336,2337,2465,2086,1515,1879,2405,2364,2490,2318,2406,2642,2489,2462,2763,2930,2852,2820,2094,2154,2821,2186,1821,1979,2352,2342,2598,2887,2676,2708,2577,2160,2092,2193,2367,2632,3157,3150,3028,2850,2744,2743,2793,2867,3002,3367,3122,3142,3144,2887,3287,3538,3016,2710,2631,2115,1749,1921,2365,2641,2438,1956,2104,3063,3509,3500,3806,3407,2402,2232,2470,2131,2072,2373,2046,2240,2132,2352,2460,2219,1975,2382,3183,3481,3577,3682,3566,3349,3244,2850,2658,2808,2874,3093,3029,2491,1971,1920,2751,3326,2865,2828,3003,2871,3054,3243,3224,3494,3615,3388,3278,3726,3861,3436,2868,3076,3383,3066,3076,3326,3413,3529,3686,3814,3819,3628,3266,2603,2328,2553,2619,2749,2810,2808,2628,2620,2358,2573,2567,2750,2845,2750,3444,3825,3267,2862,2556,2625,2718,3310,2565,2103,2171,2619,2919,2849,2690,2833,2508,2344,2363,2355,2360,1736,1638,2149,2302,2032,2056,2115,2496,2821,2551,2135,2297,2766,2563,1880,1870,2001,1976,2127,2203,1851,2039,2152,1854,1604,1577,1966,1870,2356,2211,1940,2239,2059,2523,3235,3492,3790,3594,3174,3274,2768,2049,1754,1645,1717,1868,2048,1981,2010,2128,2309,1971,1780,1804,2204,2308,2605,2463,2076,1899,1957,1999,1969,2003,2273,2266,2030,1819,1714,1815,1641,1486,1542,1703,1289,1348,1646,1620,1648,1889,1904,2138,2481,2484,2407,3316,3729,3515,2882,1978,1924,2140,1892,2037,1619,1657,1749,1602,1773,2263,3141,3663,3216,2413,1911,2285,2890,2354,1593,2023,2359,2163,2719,3199,3194,2442,2160,2152,2282,2619,3074,3311,3634,3375,2491,2303,2136,1947,1741,1597,2018,2193,2619,2974,2555,2807,3118,3050,2919,2753,2534,2049,2166,2357,2791,2715,2732,2806,2730,3216,3795,3496,2834,2688,2907,3516,3796,3989,3370,2723,2951,3504,3476,3074,3432,3862,3576,2957,3100,2897,2491,2316,2244,2170,3105,3396,3071,3565,3818,3596,3166,2347,2962,2841,3393,3150,3350,3418,3515,3680,3104,3228,3494,3034,3022,3156,3164,2994,3068,3471,4042,3887,3562,3517,2989,2495,2034,1533,2160,2333,2324,2213,2114,1970,1902,2217,2342,2358,1772,1346,1637,1693,2051,2604,2597,2362,2007,1793,1629,1831,2754,3243,2296,1597,1620,1763,2333,2661,2566,3023,2258,2109,1901,1969,2678,2939,2757,2564,2203,2149,2405,2212,2382,2258,1888,1808,2078,2215,1675,1589,1664,1472,1626,1708,1618,1659,1700,2685,2781,2320,2207,2187,2062,2140,2408,2822,3205,2806,2104,1610,1520,1427,1660,2226,1731,1366,1481,1798,1905,1747,1515,1913,2681,2707,1998,1877,1636,1487,1621,1679,1503,1607,1930,1889,1610,1661,1740,1930,2371,1998,1922,1765,1712,1579,1593,1934,2057,1852,1786,1758,1663,1419,1480,1749,2059,1718,1641,1860,1732,1687,1872,2133,1794,1710,1830,1640,1531,1597,2033,2294,2170,2039,1736,1399,1832,2149,1904,2367,3173,3417,3201,2743,2042,1923,2578,3211,3195,3268,2633,2285,2420,2733,3055,3247,3059,2849,2727,2227,2244,2211,1777,1943,2245,1982,2006,1994,2049,2496,2609,2391,1908,1975,2142,2210,1928,1810,1544,1848,2367,2245,2090,2107,1833,1609,1603,1522,1780,1813,1640,1772,1946,1903,1951,2018,1962,1795,1615,1565,1476,1594,1832,2003,1959,1662,1780,1769,1783,1692,1747,2037,2178,2063,1886,1641,1511,1396,1488,1455,1970,2110,1528,1444,1794,1913,1667,1512,1903,1543,1415,1463,1716,1795,1975,2225,2310,2186,1816,1707,1582,2113,2543,1950,2097,2240,2352,2276,2083,1897,1826,1942,2010,2027,1928,1967,2301,2730,3145,3130,3346,3256,2679,2696,3384,3616,3544,3140,2943,2998,2678,1893,1547,1628,1630,2108,2942,2971,2656,3088,3472,3131,2574,2762,2866,2902,3044,3294,3084,3060,3045,2813,2480,2256,2188,2343,2258,1951,2135,2637,2929,3194,3544,3741,3813,3352,2921,2476,1947,1774,1911,2527,2967,2486,2176,2138,2579,2510,2653,3097,2996,2985,3175,2480,1717,2234,2438,2930,3207,2454,2422,2573,2499,2614,2906,3105,2996,2717,2498,2199,1938,1778,1869,1701,1562,1975,2121,2418,2721,2512,2170,1988,2207,1927,1577,1979,2265,2524,1876,1676,2491,2469,2093,2162,1954,1242,1403,1904,2514,2612,2797,2709,2876,2888,3156,2649,1899,1871,1864,1776,1745,1676,1540,1610,1575,1592,2003,2601,2640,2010,1815,2020,1914,1715,1509,1708,1989,1859,2444,2658,1988,1594,1578,1727,1946,1975,2080,1997,1922,1691,1541,1638,1792,1832,2556,2553,2506,2331,2414,2442,2139,2053,1974,2476,3145,2198,2350,2471,2423,1870,1861,1853,1593,1535,2061,2831,2769,2146,1697,2115,2039,2953,2985,2780,2346,2094,1703,1721,1691,1496,1561,1652,1584,1621,1532,1688,2211,3030,2673,2841,3146,3077,3024,2930,3312,3419,3601,3428,2374,1864,1947,2564,2911,2569,2832,3055,3194,2431,1645,2013,2534,3062,2709,1801,1748,2315,2408,2110,2176,1809,2095,2292,1917,1714,1682,1609,1892,2216,2801,2955,2245,1747,1590,2009,2005,2137,2043,1499,1532,2031,2060,2124,2153,2436,2767,2681,2667,2744,2412,2193,1897,1537,1548,1674,1734,2143,2555,2798,2612,2415,2980,3425,3001,2389,3066,3494,3000,2810,2802,2850,3197,3176,3021,3001,3518,4120,4279,3919,3622,3640,3619,3488,3329,3471,3632,3628,3285,3197,3292,3361,3432,3384,3504,3559,3609,3582,3264,3408,3532,3428,3518,3535,3723,3828,3944,3995,3853,3615,3455,3265,2814,2689,2964,3074,2762,2392,2478,2851,2905,3319,3356,3513,3745,3463,3697,4219,4197,4121,4190,3373,2585,2260,2319,3209,4080,4083,3457,2976,3100,3221,3387,3350,3132,2683,2541,2657,3315,3500,2983,2893,2894,2877,3350,3646,3776,3763,3389,3520,3682,3453,3254,3355,3519,3595,3521,3754,3897,3670,3253,2938,3075,3292,3356,3164,3163,3231,3460,3771,3870,3802,3090,3100,3587,4236,4385,3750,4231,3819,3483,3451,3496,3423,3238,3274,3835,4732,5127,5048,4406,3969,3681,3720,3695,3332,3055,2936,2438,2061,2311,2854,3000,2999,2916,2334,2039,2176,2152,2105,2201,2469,2586,2033,1359,1356,1682,1790,1792,1969,2336,2421,2569,2752,2751,2619,2479,2854,2635,2344,2386,2352,2176,2084,2196,2389,2275,2056,2093,2061,2042,2248,1828,1518,1271,1265,1403,1530,1430,2131,2961,2820,2930,3220,3139,3185,3168,3043,2964,2664,2077,1886,1857,1970,2121,1824,2139,2778,3420,3847,4015,3926,3510,3066,2453,2245,3470,4068,4081,4209,4165,4289,4264,4084,3608,3071,3479,3794,3691,3655,3846,4007,3926,4292,4472,3835,3672,4021,4037,3826,3871,3825,3333,3807,3987,4145,4131,4160,4069,3609,3142,3220,3406,3587,3708,3927,3938,3727,3497,4015,3882,3626,3854,3665,3304,2643,1817,1981,2316,2018,2039,2090,2178,2118,1637,1674,1792,1707,2165,2617,2595,2720,2740,3134,3300,3284,3017,2518,2438,3409,3843,3583,3542,3503,2941,2590,2505,2073,2206,2767,2639,2330,2196,2240,2001,1840,1948,2010,2382,2832,2727,3293,3515,3017,3212,3475,3286,3350,3229,3264,3688,3992,4009,3928,3837,3566,2923,2612,3238,3382,3531,3409,3388,3453,3400,3398,3369,3614,3979,4058,4058,3707,3311,3278,3055,2175,2730,3309,2953,2354,2611,2987,2476,2315,2450,2702,2499,2207,2700,2721,2149,2576,2610,2248,2540,2906,3171,3143,2810,2337,2279,2793,3324,3354,2988,2811,3077,3261,3427,3184,3086,3030,2689,2411,2351,2148,2989,3646,3385,2959,3728,3218,2408,3062,3674,3593,3523,2817,1955,1694,1949,2482,2511,1802,1841,2145,1866,1814,2011,1870,1954,2213,2360,2239,1902,2212,2749,2668,3169,3083,2623,2296,2093,2129,2170,1689,1476,1382,1405,1412,1490,1664,1588,1623,1674,1587,1533,1530,1615,1804,1682,1657,2211,1871,1797,1856,1730,2010,2611,2492,2335,2445,2833,3144,2609,2588,1985,1852,1739,1654,1687,1718,2113,2712,2939,2608,2015,2291,2675,2598,2253,2376,2376,1836,2551,2922,2965,3249,3056,1940,1310,1736,2657,3024,3071,3473,3384,3281,3050,2868,2456,1982,1751,1817,2223,2646,2652,2461,2714,2871,2752,2496,2459,2329,2810,3163,2835,2425,2386,1955,2259,3451,3189,2619,2448,2005,1551,1642,1897,2392,2390,2166,2166,2521,2846,2774,2743,2991,3133,3048,3076,2944,3076,3423,3281,3366,3341,3134,2851,2290,2122,1924,1822,1823,1643,1550,1670,1636,1688,1806,1795,1814,1827,1755,1782,1721,2010,2072,2019,2013,1844,1660,1632,1925,2288,2426,2875,2625,2429,2470,1852,1833,1807,1704,2531,2514,1754,1741,1580,1798,2101,2032,1930,1948,2281,2388,2876,3155,2950,2695,2511,2577,2770,2479,2523,1835,1924,2481,3233,2778,2459,2141,1878,2541,2475,1865,2061,1931,1674,2080,2046,2532,2822,2684,2901,3195,3536,3971,3759,3060,2933,3047,2694,2647,3250,3608,3806,3654,3241,3680,3796,3694,3630,3437,3255,3573,3822,3437,2673,2408,2344,2296,2322,2164,2087,2138,2168,2122,2115,2156,2210,2268,2311,2385,2478,2906,3103,3167,2953,2840,3262,3439,3207,3166,3104,3064,3204,3183,3158,3333,2895,2811,3497,3328,2965,3020,3139,3134,3410,3347,2863,2558,2382,2678,2864,2933,2693,2385,2199,2345,2526,2639,3017,3308,3130,2381,2607,2582,2288,2059,1886,2071,2213,2343,3032,3254,2921,3155,2752,2753,2845,2956,3141,2951,2363,2176,2068,2611,2925,2681,2566,2440,2721,2752,2803,3135,3071,3062,2613,2474,2678,3107,3253,3021,3035,2778,2874,3082,3062,2170,1886,2922,3140,2818,2887,2813,2857,2868,2381,2261,2331,2231,2493,2271,2329,2035,2292,2509,2098,1848,1786,2197,2420,2239,1973,1667,2016,2164,2724,3187,2779,2714,2668,2549,2890,3086,2860,2776,2739,2845,2631,2053,2011,2284,1925,2343,2898,2784,2741,2301,2039,2051,1992,2337,2889,3209],[2102,2735,2880,2899,2853,3241,2864,2123,1841,1688,1868,2478,2385,2351,2596,2444,2840,3105,2687,2730,3262,3500,3476,3109,2263,2314,2579,2050,1739,2049,2238,2328,2592,2664,2282,2191,2179,2144,2178,2278,2234,2686,2980,2636,2221,2396,2655,2645,2433,2686,3008,3475,3495,3145,3038,2749,3099,3320,2897,2631,2320,2381,2268,2212,2711,2554,2036,1719,1897,2713,2796,2963,3418,2709,1996,2025,2336,2172,2022,2245,2095,1884,2004,2763,2818,2373,2598,2694,2817,3705,3671,3619,3624,2993,2984,3021,2916,2937,3072,3387,3496,2943,2347,2473,3440,3607,3346,3275,3053,3362,3363,3713,3858,3715,3544,3464,3570,3637,3685,3187,2635,2730,3016,2942,3217,3550,3404,3483,3701,3738,3592,3120,2713,2504,2919,2832,2783,2843,2696,2702,2722,2764,2818,2831,2701,2846,2935,2740,2946,3371,2900,2948,3053,2656,2734,3625,3034,2086,2028,2586,3196,3327,2683,2501,2564,2496,2775,2545,2049,1649,1606,1815,1762,1736,2061,2374,2648,2961,2676,2109,2330,3075,2921,2422,2572,2268,1809,1841,1975,2062,2120,2051,1673,1416,1462,2189,2156,2172,2338,2197,2029,1895,2182,2889,3330,3527,3406,2504,2610,3007,2361,1783,1692,1845,1638,1492,1813,1885,1958,2325,2110,2129,1968,2492,2878,2819,2344,2253,2320,2191,2132,1932,1864,2211,2521,2324,1819,1702,1764,1621,1504,1710,1806,1280,875,1099,1606,1842,1788,2078,2524,2420,2534,2851,3648,3709,2640,1875,1595,1869,1993,1691,2014,1993,2264,2008,1835,1863,2629,3322,3761,3355,2172,1897,2842,3285,2554,1856,2078,2110,1641,1605,2499,2501,2175,2097,2118,2163,2294,2706,3171,3193,2654,1993,1784,1929,2453,2161,1900,2103,1809,2021,2639,2159,2501,2835,3088,2934,2604,2364,2278,2526,2667,2806,2952,2894,2642,2778,3228,3518,3228,3237,3205,3051,3498,3757,3949,3234,2269,2579,3151,3139,2620,3000,3187,3352,3064,2665,2532,2437,2039,1989,2189,2730,3044,2923,3408,3732,3724,3215,2818,3395,3440,3730,3370,3352,3394,3188,3316,3310,3483,3753,3249,3123,3175,3045,3197,3540,3806,4050,4139,3627,2966,3176,3146,2402,1975,2336,2144,1763,2153,2134,1887,2335,2931,3278,3295,2744,1868,1624,1805,2579,2715,2812,2610,2086,1632,1612,1948,2995,3296,2157,1766,1750,1832,2221,2474,2236,2498,1891,1728,2204,2367,2244,2387,2800,3427,2907,2360,2031,1895,1929,1857,1759,1838,2084,1799,1556,1913,2060,1922,2204,1540,1441,1439,1544,2535,2745,2460,2402,2498,2329,2431,2900,3240,3174,2576,1812,1647,1503,1480,1496,1500,1295,972,954,1519,1881,1696,1736,2047,2675,2395,1659,1672,1448,1440,1540,1444,1449,1750,1904,1795,1800,1727,1723,1760,1808,1780,2010,2033,1669,1648,1765,1952,1984,1887,2025,1827,1686,1714,1525,1354,2160,2010,2277,2290,1945,1753,1921,1960,1772,1948,2186,2211,1775,1657,2099,2567,2006,1881,1672,1675,2005,1930,1904,1925,2331,2807,2562,2631,1982,1875,2655,3280,3659,3670,2807,2196,1956,2166,3188,3150,2808,2922,2303,2048,2223,2367,1902,1798,2172,2180,2026,1783,1709,2040,2620,2367,2092,2272,2439,2219,1926,1702,1458,1896,2605,2446,2153,2169,1796,1688,1859,1772,2415,2301,1811,1541,1655,1701,1818,2365,2286,1749,1668,1770,1793,1656,1769,1857,1773,1588,1512,1577,1882,2046,2112,1822,2006,2085,1709,1263,1459,1651,1592,1534,1886,1938,1577,2046,3010,2377,1609,1653,2266,1820,1615,1902,2338,2286,2308,2259,2252,2150,1503,1732,2222,2643,2448,2476,2120,2100,2451,2476,2242,2428,2501,2287,2030,1942,2218,2353,2597,2830,3120,3174,3310,3514,2748,2733,3480,3250,3023,2611,2661,2940,2620,1956,1896,2174,1963,1850,2620,3391,3486,3327,3196,2731,2305,2576,2653,2553,2634,2896,3085,3076,2840,2480,2221,2258,2343,2576,2376,2191,2540,2798,3070,3397,3532,3547,3350,3257,3388,3184,2666,2210,1723,2280,3233,3271,2920,2990,2768,2373,2202,2471,2791,2733,2984,3073,3016,3684,3625,3943,3615,2897,2742,2758,2624,2507,2646,3029,3083,2907,2399,2037,1828,1798,2041,1837,1482,1732,2103,2537,2699,2866,2765,2391,2441,2492,2647,2586,2461,2322,1137,1262,2133,2348,2231,1904,1686,1488,1771,2018,2694,2937,2886,2818,2852,2673,2646,2185,2032,2619,2397,2045,1797,1604,1615,1551,1503,1941,1740,1713,1753,1632,1914,2146,1960,2056,1670,1678,1832,1654,2071,1903,1608,1578,1571,1711,1794,2004,1878,1864,1944,1628,1593,1605,2192,2511,3121,2978,2552,2671,3210,2837,1677,1421,1503,1776,1965,1721,1838,2024,2071,1879,1718,1643,1614,1650,2564,3118,2414,2011,2019,2677,2456,2637,2721,2585,2681,2558,2533,2235,1482,1438,1513,1540,1708,1779,1433,1690,2091,2647,2454,2858,3019,3292,3979,3641,3578,3227,2723,2523,2326,2208,1920,2370,3018,3259,3365,3113,2853,2828,2607,2855,3109,3554,2824,1900,1742,2508,2158,1735,1938,2014,2082,2219,1989,1685,1646,1774,1908,2670,2956,2921,2163,1764,1692,1706,1590,1745,1562,1285,1463,1749,1418,1915,2027,1769,2168,2937,3152,2840,2746,2493,1807,1542,1655,2015,1683,2050,2321,2426,2282,2327,2491,2828,2843,2801,3212,3154,2929,3105,3121,2975,3122,3182,3133,3043,3274,3903,4275,3826,3230,3342,3416,3582,3597,3586,3581,3521,3326,3277,3241,3384,3415,3392,3559,3538,3432,3636,3400,3312,3545,3488,3572,3894,4006,3938,3832,3769,3716,3550,3694,3619,2898,2878,2677,2606,2556,2293,2501,2953,3065,3318,3828,4295,3984,3664,3560,4084,4144,4132,4457,3730,2553,2099,2029,2742,3841,3945,3446,2924,2810,2980,3624,3719,3382,2714,2526,2988,3655,3638,3019,2714,2642,2854,3480,3559,3297,3260,3249,3340,3261,3022,3355,3750,3648,3237,3070,3482,3971,3596,3188,3025,3084,3128,3220,3145,3155,3098,3416,3792,3890,3843,2790,3113,3539,4028,3728,3664,4499,4395,3713,3306,3249,3211,3188,3292,3365,4200,5052,5088,4471,3890,3660,3671,3803,3449,3210,3055,2491,2122,2220,2228,2300,2316,2208,2146,2298,2274,2009,2008,1962,1710,1578,1490,1547,1629,1831,1942,2202,2374,2595,2691,2900,2912,2698,2369,2486,2654,2319,2606,2475,2287,2249,1986,1771,2205,2627,2411,2228,2454,2834,2553,1457,1266,1163,1139,1339,1126,1268,2077,2921,3024,2907,3036,3197,3388,3398,3084,2717,2320,2019,1863,1941,1982,1871,1673,1862,2522,3188,3042,3297,3483,3027,2518,2207,2972,4062,4281,4280,4108,3918,4096,4209,4144,3746,3560,3936,4200,4276,4404,4388,4240,4098,4267,4251,3862,3459,3640,4295,3978,3995,3310,3155,3608,3727,3670,3894,3893,3709,3532,3848,3942,3665,3520,3740,3893,4056,3707,3587,3990,3929,3676,3584,3586,3326,3002,2353,2170,2362,2023,2049,1851,2107,2104,1771,1764,1743,1728,2116,2610,2055,2200,2547,3195,3021,2851,2641,2924,3124,3523,3696,3680,3915,3869,3530,2968,2064,2266,3272,3541,3210,2805,2077,1930,1829,2045,2444,2334,2994,3574,3353,2944,2879,2432,2385,2696,3031,3261,3233,3514,3829,3864,3921,3610,3530,3659,3086,2090,2723,2654,3153,3519,3407,3449,3413,3418,3463,3515,3784,4047,4163,4018,3592,3166,2942,2578,3191,3310,2400,2207,2852,2736,2205,2233,2227,2534,2324,2610,2589,2350,2201,2402,2315,2026,2395,2437,2969,3033,2688,2361,2451,2834,3039,3061,2773,2932,3149,3487,4096,4037,4077,3870,3695,3892,3692,3312,3296,3186,3087,2847,2664,2504,2271,2370,3137,3340,3121,2636,2075,1975,2692,3736,3266,2100,1913,1993,1711,2015,1919,1843,2424,2844,2375,1976,1649,2534,2688,2226,2406,2797,2429,1879,1785,2353,3022,2263,1613,1355,1345,1354,1295,1538,1621,1626,1738,1729,1560,1528,1740,1667,1522,1652,2072,1810,1543,1616,2500,3229,2662,2106,2003,2049,2751,2744,2343,2306,1826,1713,1607,1555,1861,1812,1756,2142,2434,2293,2135,2517,2692,2624,2072,2106,1996,2084,2923,3262,3141,3676,3968,2677,1863,2512,2925,2932,2874,2822,3135,3274,3220,3308,3064,2556,2122,1798,1793,1964,2310,2488,2652,2778,2930,2790,2555,2709,2955,3056,2868,2820,2776,2530,3242,3630,2784,2224,2358,2652,2243,1842,1950,2002,1769,1645,2084,2337,2813,3010,3051,3086,3097,2795,2334,1992,2583,2921,2856,2708,2994,2943,2388,2164,2168,1857,1757,1706,1578,1484,1511,1676,1710,1651,1564,1422,1565,1699,1842,1693,1778,1709,1540,1558,1534,1351,1682,1917,2108,2199,2530,2340,2240,2525,2121,2042,2002,1920,2220,2032,1910,1723,1539,1534,1746,2238,2196,2170,2491,2624,3041,2872,2593,2473,2026,1857,2032,2030,2737,2414,2448,2965,2841,2346,2496,2336,1932,1838,1560,1656,1877,1918,2243,2468,2732,2844,2271,2621,3233,3160,3420,3814,3671,3040,2687,3046,2965,3112,3231,3260,3537,3689,3672,3936,3805,3883,3948,3385,3328,3813,3961,4007,3544,2754,2406,2287,2271,2301,2246,2188,2196,2503,2413,2314,2302,2424,2403,2196,2061,2522,2928,3266,3150,2922,3223,3500,3371,2850,2509,2376,2736,3174,3436,3526,3162,3276,3477,3056,2852,2886,2164,2203,3207,3205,2842,2338,2770,3094,2995,2813,2585,2343,2447,2884,2956,2688,3011,3720,3543,2954,2831,2648,2459,2152,2071,1974,1745,2191,3053,3394,3083,3205,2788,2670,2364,2398,2644,2345,2150,2298,2531,3025,2894,2668,2664,2983,2945,2349,2779,2515,2534,2954,2689,2720,3021,2989,2978,2873,2722,2720,3149,3137,2875,2120,2230,2783,2419,2633,3040,3073,3124,2433,1924,2433,2797,2230,2359,2417,2237,1948,2502,3208,2788,1728,1724,2269,2158,1958,2274,1948,2624,2820,2370,2340,2724,2818,2688,2709,2975,3078,3452,3086,2774,2934,2734,2373,2528,2485,1882,1921,2625,3086,2748,2467,2188,2296,2235,2185,2159,2455],[2463,2765,2724,2876,2774,2967,2652,2169,2092,1790,2166,2733,2681,2676,2700,2697,3132,2958,2852,2801,3106,3704,3986,3532,3098,2699,2480,2501,2354,2612,2624,2665,2624,2683,1847,1275,1609,1953,2144,2003,1860,2176,2631,2436,2118,2444,2280,2111,2195,2555,2776,3220,3165,2784,2897,3173,3472,3277,2889,2595,2511,2942,2917,3253,3241,2451,1918,1797,2040,2678,2676,2383,3036,2797,1853,1482,1783,1971,2128,2220,2257,2317,2514,2512,2193,2166,2664,2618,2741,3307,3916,3760,3430,2870,3041,3551,3293,3054,3145,3251,3351,3272,3210,3397,3557,3225,3662,3754,3169,3116,3317,3498,3559,3614,3818,3736,3576,3291,3287,3037,2752,2588,2709,2822,3099,3449,3538,3510,3642,3717,3440,3269,3072,2932,2884,2729,2778,2700,2600,2814,2977,2901,2697,2780,2597,2500,2641,2696,2866,3123,3163,3531,3507,2882,2828,3409,3445,2824,2497,2994,2362,2148,2208,1996,2335,2673,2752,2385,1799,1609,1587,1583,1760,1936,2315,2732,3109,3560,3604,2830,2741,3589,3495,2991,2502,2039,1820,1901,2278,2134,2062,2054,1868,2197,2321,2499,2139,1684,1855,1879,1742,1722,1479,1986,2755,3300,3143,2142,2272,2673,2163,1872,1857,1857,1738,1798,1880,1951,2264,2262,1750,1653,1835,2419,2878,2751,2351,2392,2477,2172,1977,2059,1937,1936,2061,1718,1553,1573,1526,1573,1620,1710,1660,1321,1422,1280,1565,1873,1947,2120,2335,2561,2831,2644,3178,3489,2359,1763,1553,1911,2106,1800,1729,2055,2574,2269,2072,2037,2340,2699,2728,2203,1818,1967,2767,2908,2211,1921,2188,2103,1739,1638,2052,2188,2237,2208,2106,2169,2189,2193,2363,2734,2241,1873,1961,3083,3620,2829,2215,1875,1669,2224,2631,2234,2181,2226,2475,2853,2679,2328,2190,2388,2669,2750,2743,2493,2535,3231,3592,3503,3586,3751,3616,3281,3345,3505,3639,3407,2853,2958,3076,3100,2170,2384,2633,2768,2607,2539,2890,2700,2175,2196,2584,2547,2964,2940,2922,3563,3724,3233,3089,3487,3405,3241,3240,3454,3357,2832,2041,1979,2425,2865,2862,3145,2971,2782,2910,3061,3251,3706,4145,3666,3051,3321,3263,2691,2458,2566,2345,1978,2030,1789,1808,2356,2923,2984,3078,2963,2115,1547,2170,2865,2570,2869,2856,2105,1830,1708,1913,3307,3583,2794,2123,1930,2700,2490,2167,2063,2219,1827,1563,2192,2198,2270,2338,2620,3232,3300,2742,1793,1650,1843,1798,1557,1455,1458,1392,1447,1881,2121,2252,2104,1511,1569,1599,1456,1890,1969,1778,2134,2884,3211,2721,3167,3212,3006,2366,1600,1571,1616,1593,1348,1233,1215,1157,1186,1559,1574,1456,1622,1519,2194,2144,2052,1818,1478,1396,1359,1649,1998,1869,1790,1684,1665,1767,1769,1737,1558,1421,1821,1814,1576,1684,1721,1877,1944,2123,2184,2036,1906,1978,1812,1931,2684,2735,2722,2820,2465,2200,2044,1740,1648,1701,2176,2057,2107,1997,1837,1990,2222,2158,1741,2088,2598,2807,2618,2058,2399,3072,2768,2534,2226,2428,2977,3103,2874,2898,2645,2174,2243,2410,3336,3322,3185,2961,2363,2066,2453,2542,2248,2245,2113,2124,2019,1629,1542,1849,2427,1900,2119,2286,2336,2255,1841,1561,1600,1883,2305,2116,1732,1989,2172,2120,2119,2671,3083,2669,2081,1843,1669,1332,1665,2269,2530,2609,1964,2022,1854,1706,1676,1759,1870,1743,1761,1944,2340,2416,1926,1676,1711,1684,1775,1538,1712,1832,1570,1475,1418,1511,1565,1969,2263,1631,1385,1710,1896,2254,2470,2644,2574,2230,2251,1881,1914,2295,1920,1910,2097,2796,2956,2168,1802,1749,1930,2452,2658,2953,2518,2279,2274,2153,2141,2120,2672,2976,3008,3087,3327,3388,3120,3287,3540,3307,3359,3056,3040,3023,3464,3071,3163,3726,2941,2115,3054,3951,4124,3763,3068,2631,3112,3721,3496,3152,2873,2864,3224,3152,2719,2374,2202,2287,2852,2812,2749,2865,2824,2923,3208,3384,3693,3699,3540,3419,3271,3538,3704,3405,2561,2342,3002,3250,2905,2919,3248,3407,3320,3312,3481,3176,2920,2448,3237,3872,4057,4153,3851,3384,2996,2909,2697,2143,1824,2268,2765,2975,2562,1841,1588,1949,2116,1737,1559,1742,2054,2430,2684,2798,3234,3436,2954,2797,2726,2496,2677,2324,1408,1631,2135,2064,2209,1841,1571,1963,2348,2184,2377,2929,3054,2852,2774,2907,2791,2082,2169,2998,2448,1978,1833,2155,2241,1626,1639,2050,1584,1453,1749,1759,2132,2197,2019,2158,1780,1596,1361,1287,1322,1471,1763,1857,2485,2808,2160,1983,1812,2002,1882,1691,1587,2154,2887,2995,2487,2025,2019,2186,2790,2842,1766,1604,1603,1643,1571,1607,1731,1779,1791,1749,1649,1781,1869,2076,3078,3404,3094,2292,1702,1815,2230,2046,1789,2020,2399,2743,2988,2139,1788,1497,1491,1432,1550,1575,1538,2297,3220,3262,2740,3025,3142,3239,4044,3836,3401,2666,2466,2585,2494,3009,3047,2635,2731,3018,2988,2719,2493,2830,3440,3698,2733,3018,2832,2019,1729,1936,1840,1911,1967,1738,1638,2034,2088,1835,2016,2102,1699,2015,1888,2171,2329,2007,2097,2019,1815,2026,1538,1279,1437,1543,1466,1472,1445,1589,1997,2647,2835,2620,2707,2353,1768,1794,2235,2353,1812,2020,2416,2266,2071,2416,2614,2751,2729,2816,2902,2766,3176,3341,3152,3029,2995,3062,3161,3227,3328,3792,4460,4132,3406,3471,3502,3740,3764,3649,3547,3413,3298,3299,3286,3451,3483,3321,3316,3462,3337,3641,3418,3363,3593,3676,3804,3906,3872,3903,3894,3937,3780,3946,4124,3670,3344,3521,3138,2556,2343,2576,2932,3223,3319,3283,4372,4796,4057,3760,3406,3730,3916,3915,4327,3936,2632,1961,1946,2413,3639,4050,3805,3495,3061,3133,3592,3677,3552,2908,2508,2864,3305,3426,3125,2925,2856,3134,3505,3616,3422,3288,3231,3167,3103,3083,3339,3542,3295,3116,3011,3342,3907,3552,3183,2977,3049,3141,3158,3262,3396,3360,3554,3653,3791,3499,3124,3659,3862,4000,3638,3960,4820,4801,4026,3330,3337,3273,3362,3507,3447,3969,4733,5004,4867,4640,4040,3581,3739,3860,3347,2779,2353,2178,2577,2525,2419,2436,2533,2795,3012,2874,2491,2096,1669,1352,1410,1542,1559,1588,1908,2457,2566,2092,2001,2497,2890,2979,2803,2359,2698,2409,2437,2144,2264,2094,1753,1725,1548,1525,2002,2251,2092,2496,2577,2302,1335,1422,1554,1153,1576,1456,1422,2294,2933,2868,2760,2886,3083,3012,3065,2612,2288,2420,2222,1854,1894,1978,1924,1924,1932,2270,2803,2496,2871,2947,2512,2127,2817,3873,4198,4125,4068,4277,4000,3937,4113,4100,3693,3676,4038,4240,4384,4429,4565,4352,4186,4327,4110,3918,3653,3603,4605,4349,4122,3740,3690,4015,3899,3537,3272,3303,3297,3507,4026,4251,4188,3870,4113,4156,4031,3554,3359,3725,4058,3867,3608,3753,3473,3385,3400,3040,2610,2025,1911,1744,1757,1735,1862,2070,1891,1658,1926,2420,1573,1583,2148,2357,2413,2662,3068,3662,3981,3867,3509,3680,4056,4068,3859,3632,2708,2952,3398,3798,3577,2841,2336,2128,1937,2184,2912,2907,3563,3275,2440,1876,1843,1615,1553,2365,2877,2718,2962,3523,3521,3862,4177,4073,3938,3642,3212,2984,3311,2758,2872,3472,3522,3550,3518,3440,3553,3428,3571,3636,3948,4042,3812,3434,3292,3255,3444,3206,2387,2250,2732,3032,2817,2475,2794,2862,2210,3074,3264,2937,2596,2000,1998,1639,2096,2276,2407,2662,2887,2495,2443,2643,2956,3130,2886,2978,3043,3045,3353,3939,3836,3543,3422,3444,3462,3365,3177,3187,3296,3124,3086,2714,1803,1466,2495,3107,3077,2508,1893,1841,2113,2429,2500,2182,1681,1619,1908,2471,2654,3098,2917,2847,2526,1889,1630,1954,2018,1802,1886,2396,1931,1757,1843,2021,2517,2192,1670,1426,1475,1411,1392,1416,1434,1509,1563,1645,1577,1439,1771,1716,1870,1970,2040,1951,1974,2291,3022,3021,2257,2170,2382,2496,2403,2291,2653,2365,1948,2029,1787,2102,2674,1995,1967,2047,2137,2083,2313,2641,2470,2447,2214,2018,1875,1888,2433,2977,3172,3839,4112,3519,3131,3008,2711,2605,2357,2232,2751,3274,3496,3477,3327,3013,2728,2269,1916,1793,1813,2254,2614,2646,3027,3421,3029,2791,2783,2790,2674,2644,2234,3233,3594,3098,2976,2862,3060,2722,1889,1882,1812,1632,1508,1476,2083,2684,3143,3254,3207,3099,2945,2934,2639,2365,2785,2488,3061,2574,2927,2433,2086,2101,1993,1901,1754,1604,1686,1674,1795,1779,1706,1671,1680,1736,1795,1750,1645,1616,1554,1662,1870,1729,1689,1471,1589,1573,1904,2093,2217,2287,2024,2156,2500,2134,1725,1853,2379,1996,1965,1734,1639,1626,2148,2873,2662,2576,2785,2843,2607,2239,2336,2249,1638,1472,1479,1985,2751,2552,2323,2466,2248,2026,1902,1965,2147,2131,1782,1944,1827,2249,2468,2724,2411,1726,1832,2884,3542,3551,4113,3915,4024,3918,3826,3743,3232,2796,2508,2285,2857,3616,3575,3488,3603,3909,3790,3487,3616,3615,3637,3667,3398,3010,2840,2531,2439,2421,2281,2254,2262,2431,2366,2336,2264,2258,2270,2232,2200,2366,2647,3154,3284,2806,2840,3357,3224,2860,2655,2624,2654,2909,3277,3329,2990,2721,2835,3228,3330,2876,2292,2263,2756,2602,2662,2452,2640,2676,2380,2717,2741,2556,2817,2752,2604,2448,2664,3386,3619,3278,2807,2327,2142,2093,2048,1814,2229,2467,2850,2773,2764,3016,3099,2764,2107,2062,2441,2422,2497,2654,2595,2663,2379,2341,2393,2593,2578,2577,2784,2515,2631,2581,2211,2486,2854,2719,2933,2872,2594,2901,3124,2830,2697,2627,2894,2692,2252,2598,2885,3138,2915,1781,1662,2316,2232,1946,2396,2777,2612,2253,2279,2981,2338,1794,1829,2181,2496,2459,2223,1840,2514,2812,2404,2252,2428,2670,2674,3153,3638,3487,3759,3301,3001,2710,2314,2186,2461,2217,1719,1597,1812,2104,1960,2521,2542,2472,2198,2213,2205,2227],[2880,2619,2438,2449,2396,2396,2308,2681,2876,2372,2087,2409,2878,3097,2819,2577,3106,2921,2729,2998,3248,3466,3565,3614,3420,2916,2880,3028,2555,2318,3186,3806,3562,2965,1752,1067,1337,1976,2122,1831,1938,1909,2100,2430,2604,2300,2046,1980,2225,2402,2642,3067,3071,2966,3011,3227,3116,3251,2742,2435,2519,2492,2937,3155,2680,2113,1942,1945,1946,2371,2382,1866,2564,2746,1874,1476,1992,2287,2365,2425,2440,2276,1970,1885,2070,2464,2623,2459,2393,2409,3492,3696,3563,3365,3543,3758,3502,3309,3296,3497,3289,3311,3461,3636,3581,3482,3782,3718,3164,3117,3466,3397,3106,3074,3449,3609,3428,3303,3560,3218,2823,2619,2693,2777,2789,3191,3625,3356,3623,3596,3350,3442,3254,3152,2742,2687,2758,2764,2721,2700,2733,2711,2586,2733,2491,2468,2558,2600,2825,3099,3646,3978,3738,3350,3120,3104,3274,3393,2988,2290,1922,1788,2028,1961,2178,2805,2920,2221,1806,1765,1705,1626,1982,2278,2446,2468,3318,3937,3454,2555,2880,3124,2595,2394,1977,1694,1859,1906,1789,1909,2398,2579,2455,2929,2932,2360,1843,1591,1413,1467,1638,1991,2102,2256,2197,2722,3085,2898,2855,2395,2055,2192,2574,2433,1942,1763,1654,1713,2276,2303,1958,1732,1900,2354,2745,2929,2808,2450,2313,2153,2144,2195,1918,1787,1926,1926,1704,1500,1506,1673,1664,1776,1522,1112,1154,1430,1735,2117,2300,2243,2614,3317,3374,2905,3073,3118,1795,1542,1828,2069,2288,2598,1794,1453,1687,1848,2042,2005,1846,1967,1682,1534,1766,2354,2554,2688,2205,2580,2847,2275,1768,1980,2230,2122,2282,2322,2176,2180,2260,2154,2092,2518,2615,2262,1987,2812,3547,3186,2254,1941,2534,2502,2380,2924,2578,2135,2354,2950,3341,3122,2265,2313,2718,2918,2980,2893,2933,3636,3796,3548,3658,3585,3462,3598,3639,3462,3274,3081,3185,3276,2997,3296,2632,2643,3001,3460,3794,3649,3332,3010,2938,2670,2592,2135,2194,2370,2685,3427,3378,2677,2519,2691,2928,3140,3216,2850,3133,2940,1860,2101,2393,1732,2098,2884,2845,2692,2878,3054,3244,3654,4112,3682,3454,3871,3476,2599,2141,2062,1746,1592,1877,1847,1848,2169,2238,2112,2048,2355,2678,2467,2426,2359,2110,2483,2636,2437,2232,1995,1711,2854,2739,2223,2082,1996,2497,2787,2385,2144,2348,2132,1561,1601,1452,1891,2430,2832,3015,3240,2522,1698,1756,2031,2024,1628,1354,1190,1168,1462,1870,1890,1934,1764,1478,1542,1477,1435,1586,1544,1545,2018,2958,3194,2538,3106,3040,3294,2372,1542,1451,1622,1578,1337,1185,1178,1487,1967,1938,1501,1354,1479,1218,1447,1794,1721,1569,1661,1501,1321,1581,2066,1977,1981,1575,1848,2352,2296,1932,1542,1513,1462,1306,1613,1831,2032,2088,1838,1999,1875,1948,1997,2033,1853,1912,2382,2314,2388,2865,3077,2508,1946,1801,1909,1789,1897,1774,1697,1759,1788,1736,1814,2054,2071,2243,2689,2178,2189,2486,2696,2886,3183,3398,3319,2778,2633,2566,1852,1949,1931,2182,2556,2575,2971,2928,3119,3033,2663,2574,2566,2207,2395,2264,1978,2250,1901,1696,1882,2041,2343,2103,1941,2137,2106,1756,1800,1648,1650,1862,1831,1689,1495,1702,2040,2230,2174,2554,2867,2266,1863,2128,2097,2098,2712,2407,3029,3075,2239,2243,2092,1874,1739,1954,2388,2394,2207,2308,2152,2407,2269,2041,1972,2264,2759,2566,2026,1593,1606,1506,1452,1665,1603,2176,2004,1758,2157,2654,2741,2908,3288,2896,2583,2558,2023,1604,1996,2263,2514,2126,1800,2114,2070,1656,1526,1856,2620,3338,3328,3190,2653,2526,3099,2754,2209,2109,2858,3607,3466,3231,3321,2956,3106,3250,3127,3410,3493,3133,3130,2668,2721,3143,3579,3902,3307,3005,3491,4040,4288,3220,2721,3308,3868,4001,3861,3658,3317,3155,3200,2998,2752,2386,2327,2624,3463,3416,3214,3175,3148,3210,3150,3397,4058,3970,3713,3638,3283,3487,3770,3430,2958,3052,3060,3052,3116,2718,3006,3898,3885,3830,3594,2847,2855,2613,3391,3726,3582,3508,3285,3381,3347,2908,1963,1584,1724,1762,2291,2862,2718,2033,1698,1760,1648,1456,1613,2000,2110,2481,2938,2908,3524,4143,3693,3182,3160,2764,2264,2186,2059,2254,2290,1920,2260,2128,2282,2814,3007,2436,2149,2744,3104,2622,2709,3011,2387,1876,2108,2424,1954,1867,2159,2932,2523,1653,1625,1512,1376,1609,1706,1990,2880,2657,2286,2187,1891,1496,1126,1172,1582,1865,1664,2304,3603,3363,2447,1990,1902,1930,1914,1688,2004,2952,3236,2963,2695,2084,1573,1867,2205,2585,1966,1705,1596,1622,1577,1665,1780,1728,1670,1628,1668,1731,1789,1912,2611,3450,3582,2465,1710,1657,1669,1626,1562,1602,1734,2402,2393,2104,2022,1762,1785,1912,1846,1556,1638,2514,3033,2750,2807,3068,2640,3201,3654,3373,2903,2403,2543,2540,2647,3060,3207,3207,3106,2916,2437,2462,2406,2827,3528,3638,2730,2775,2780,2175,2052,1786,1478,1498,1439,1627,1643,1716,1872,2122,2299,1920,1951,2227,1966,1780,1957,2180,2320,1898,1697,1808,1497,1524,1359,1418,1585,1355,1345,1935,2279,1742,1378,2018,2425,2158,2100,2270,2344,1862,1450,1728,1960,1628,1721,2076,2231,2405,2293,2348,2922,3150,2966,2940,2985,3008,2923,2985,3248,3273,3153,3539,4339,4428,4018,4053,4091,3836,3342,3134,3276,3364,3472,3428,3360,3440,3427,3338,3298,3292,3428,3432,3583,3958,4031,4036,3959,3884,3797,3692,3983,4220,3926,3808,3946,3802,3890,3708,3422,2913,2705,3088,3128,3348,3686,3808,4544,4677,3981,3416,3504,3698,3746,3815,4099,4040,2774,2013,1944,2278,3407,3998,3798,3532,3464,3566,3685,3690,3660,3444,3243,3139,3074,3040,3222,3318,3287,3387,3549,3527,3269,3184,3294,3296,3288,3155,3277,3386,3139,3013,2897,3111,3515,3459,3176,3041,3054,3134,3185,3284,3566,3731,3460,3510,3396,3099,3763,4036,4037,4233,4439,4732,5036,4965,4470,3855,4122,3717,3550,3429,3435,3702,3892,4363,4750,4475,4068,3728,3370,3194,2968,2492,2194,2342,2808,2879,2900,2921,2875,2851,2864,2695,2013,1478,1415,1525,1602,1754,1786,1772,1946,2414,2597,2136,1990,2376,2629,2907,2653,2223,2868,2435,2072,1687,1631,1625,1450,1642,1716,1381,1806,2602,2115,2012,1891,2210,1747,1938,1641,978,1147,1142,1180,2062,2530,2390,2489,2780,2831,2624,2302,2014,2092,2258,2093,1750,1842,2126,2211,2113,2029,2548,2758,2744,2351,2143,2197,2922,3861,3971,4008,4157,3737,3770,3468,3430,3863,3938,3427,3670,4064,4100,4239,4376,4356,4068,4070,3984,3956,4051,3131,2603,4082,4708,4480,4376,4307,4379,4227,3816,3419,3305,3417,3836,4099,4371,4144,3919,4143,4188,3725,3333,3492,3968,3901,4139,4189,3906,3399,3540,3524,3385,2900,2178,1923,1840,1764,1863,2026,2046,1854,1747,1816,1840,1682,1697,1687,1824,2167,2482,3016,3536,4152,3838,3868,2975,3399,4072,4116,3570,3291,2809,2598,2928,2665,2410,2268,2112,2355,2670,2675,2624,3164,3183,2679,2208,2024,1580,1639,2280,2541,2788,3242,2973,2931,3509,3637,3876,3962,3715,3608,3584,3693,3518,3559,3594,3624,3672,3519,3450,3629,3110,3355,3616,3747,3840,3762,3762,3776,3584,3383,3210,2712,2166,2222,2492,2840,3086,3134,2436,2245,3204,3191,2878,2293,2086,2419,1973,2310,2570,2421,2818,2601,2166,2258,2374,2865,2614,2718,2987,2911,2655,2902,3016,3164,3040,2802,2830,2663,2304,2513,2408,2684,2718,2846,2599,1895,1572,2244,3104,3159,2540,2190,1836,1732,1858,1872,1802,1471,1592,1741,2342,2844,2377,2219,2542,2136,1902,2125,1953,1579,1583,1857,2402,1632,1524,1761,1708,1707,1853,1720,1404,1395,1582,1602,1543,1500,1531,1492,1620,1516,1578,1820,1910,1952,1918,1695,1748,2041,2049,2150,2283,2095,2059,2055,2238,2292,2610,2999,2455,2076,2092,2130,2446,2727,2150,2579,2275,2302,2271,2223,2186,2222,2248,2239,2360,2358,2298,2646,2733,2851,3557,3872,3841,3274,2792,2207,2083,2534,2636,2779,3349,3868,3654,3540,3318,3087,2817,2431,2030,1814,1835,2061,2442,2916,3222,3198,2944,2754,2580,2482,2674,2233,2510,2583,2739,3152,3516,3581,3320,2465,1848,1478,1250,1710,2376,2675,2921,3130,3272,3392,3207,2428,2562,2656,2707,3026,3400,3316,2967,2545,2137,2225,2136,1936,1878,1875,1660,1678,1764,1906,1903,1878,1836,1698,1687,1952,2262,2085,1802,1626,1922,2014,1657,1527,1454,1753,1754,1828,2049,2169,2148,1806,1799,2079,1946,2426,1865,2065,1935,1587,1478,1638,1556,2104,2867,2699,2910,2862,2780,2066,1804,1814,1956,1693,1731,1704,1712,1966,2171,2314,2242,2481,2672,2036,2366,2966,2576,2437,2602,1975,1831,2157,2545,2030,1246,1439,1959,2451,3371,3924,3858,4211,4183,3818,3514,3119,2495,2199,2139,2677,3452,3315,3432,3706,3570,3463,3419,3093,3120,3240,3193,2999,2930,2835,2586,2557,2256,2366,2379,2241,2191,2345,2270,2201,2220,2298,2298,2240,2273,2329,2558,2555,2090,2261,2697,3075,3153,3142,3226,3089,2917,2993,3189,2590,2474,3377,3942,3320,2407,2452,2288,2475,2432,2407,2491,2656,2430,2655,3088,2823,2524,2514,2618,2484,2407,2638,3052,3395,3438,2824,2108,2093,2480,2624,2383,2325,2314,2468,2299,2604,3111,3072,2790,2603,2425,2584,2745,3153,3090,2719,2529,2207,2069,1854,1823,2368,2792,2685,2202,2208,2596,2648,2592,2786,3124,3201,2998,2604,2536,2576,2192,2358,3056,2932,2341,2478,2934,3486,3341,2585,2045,2569,2902,2253,2019,2342,2729,2912,2894,2144,2438,2193,2101,1772,2041,2473,2839,2603,2230,2144,2381,2899,2688,2184,2298,2172,3398,3796,3579,3540,3215,2839,2713,2853,3040,2729,2298,1807,1758,1806,1956,2198,2253,2379,2476,2309,2215,2329,2994],[3019,2670,2625,2557,2583,2720,2817,3349,3574,2721,1879,1878,2334,2818,2603,2432,3005,2954,3020,3139,2958,2729,2975,3719,3614,2978,3200,2896,2441,1783,2696,3282,3066,2373,1486,1390,1714,1886,1908,1985,1905,1801,1917,2280,2115,2249,2084,1841,2213,2326,2652,2957,3039,3171,3028,2801,2475,3078,2833,2964,2876,2647,2846,2698,2398,2060,1753,1747,2091,2220,1712,1378,1712,2276,2198,2764,3325,3108,2828,2598,2365,2223,2494,2495,2169,1852,2101,2414,2368,2218,2783,3705,3995,3531,3647,3794,3538,3130,3078,3485,3176,3189,3443,3449,3277,3465,3616,3251,3046,3087,3550,3658,3237,3038,3297,3429,3417,3607,3629,3364,3037,2740,2770,2713,2752,2702,2603,2498,3085,3315,3129,3328,3075,2645,2729,2872,2845,2742,2584,2697,2801,2691,2579,2514,2487,2534,2493,2603,2741,3005,3474,3840,3691,3751,3275,2915,3015,3340,3182,2143,1694,1685,2030,2534,2708,2755,2990,2028,2139,2146,1992,1786,1748,1922,2115,2458,3211,3515,2843,2136,2183,2004,1662,1755,1839,1723,1852,1796,1635,2003,2438,2625,2553,2699,2823,2497,1892,1449,1397,1504,1603,2129,2490,2546,2075,1956,2307,2695,2478,1873,1860,2276,2788,2246,1907,1640,1720,2085,2281,2175,2585,2877,2233,2313,2808,2842,2834,2799,2698,2000,2236,2013,1802,1968,1901,1664,1542,1506,1480,1710,1570,1652,1358,1193,1053,1805,1909,2180,2903,2907,3028,3486,2978,2762,3221,2868,1574,1782,2568,2438,2410,2852,2015,1121,1646,2207,2590,2031,1698,1896,1936,1990,2429,2764,2604,2745,2445,2242,2428,2380,2353,2723,2316,2188,2208,2264,2100,2109,2307,2317,2308,2446,2687,2304,1872,2372,2953,2796,1831,1658,1905,1630,1852,2996,2973,2419,2588,2799,3139,3326,2282,2281,2364,2953,3474,3416,3066,3488,3812,3737,3741,3785,3781,3928,3848,3378,2696,2323,2866,3012,2270,2729,3084,3021,3290,3572,3992,4097,3704,3222,3064,2678,2755,2097,2199,2574,2407,2845,3100,2532,2552,2886,3191,3030,3087,2972,3549,3040,2209,2315,2502,2049,2133,2736,3038,2709,2514,2680,2665,2633,3006,2625,2754,3452,3582,3077,2302,1935,1939,2186,2441,2043,1958,2188,2400,1763,1434,2686,3561,2979,2280,2188,2177,2243,2113,2434,2731,2525,2351,2260,1791,1737,2476,2377,1896,2104,2269,2573,2316,1853,1536,1540,1431,1914,2416,2240,2253,2547,2060,1903,1809,1769,1710,1556,1441,1270,1107,1418,1734,1988,1714,1557,1366,1249,1487,1624,1433,1628,1648,1668,2496,3019,3175,3064,2712,2850,2609,1868,1528,1529,1376,1263,1275,1301,1730,1958,1705,1527,1453,1335,1128,1267,1550,1528,1497,1566,1582,1449,1249,1707,1865,1955,1873,2492,2562,2232,1978,1838,1763,1307,1547,1811,1844,2102,2080,1754,1723,1841,1735,1690,1817,1895,2165,2011,1705,1833,2338,2829,2125,1988,2174,2011,1588,1682,1690,1587,1470,1587,1644,1520,1587,1574,1970,2579,1967,1561,2295,2246,2445,3265,3608,3761,3078,2325,2166,2010,1959,2025,2474,2090,1967,2583,3177,3648,3407,3232,3134,3091,2470,2142,2024,1942,2228,2537,2406,2492,2294,2166,2158,1859,2172,2018,1698,2010,2117,1726,2030,2094,1674,1553,1560,1588,1781,2010,2266,2150,2104,2372,2601,2208,2376,2449,2230,2545,1996,1708,1921,2100,2291,2219,2132,2502,2613,2262,2273,2554,2621,2243,1968,1998,2449,2859,2353,1942,1636,1893,1726,1514,1889,1978,2386,2531,2722,2781,2562,2161,2368,3295,2614,2174,1817,1599,1587,2118,1862,1845,1641,1476,1609,1626,1427,1418,1830,2520,3551,3710,3628,3649,3550,3619,3246,2918,3111,3710,4072,3860,3687,3540,2308,2824,2902,2813,3360,3410,3485,3587,2961,2280,2492,3087,3489,3404,3182,3104,3141,3142,2497,2669,3574,3986,3971,3815,3754,3298,3144,2967,2805,2696,2435,2451,2923,3372,3560,3550,3374,3419,3183,3348,3566,3877,3796,3598,3486,2865,3193,3577,3243,3023,3119,3227,3253,3239,2867,3164,4056,3663,3564,3435,3096,3286,3529,3537,2889,2578,2555,2095,2666,3165,2866,1868,1525,1608,1575,2007,2871,3049,2654,2386,1948,1659,1449,1623,1868,2010,2626,3357,3440,3521,3772,3542,3281,3593,3724,2784,2160,2193,2519,2811,2303,2562,2758,2570,2455,2897,2951,2665,3090,3572,2897,3374,3250,2091,2667,3038,2791,2015,1641,2095,2678,2472,1845,1533,1596,1891,1789,1872,2250,3185,2949,2343,2205,2079,1678,1395,1866,2099,1738,1740,2536,3453,2884,2168,2100,2004,1631,1475,1686,2225,2775,2885,2536,2401,1642,1443,2123,2593,2680,2171,1799,1620,1621,1656,1750,1700,1584,1542,1755,1860,1661,1526,1520,1604,2359,2833,2019,1708,2059,1914,1658,1576,1561,1743,2277,2329,2627,2321,1923,1913,2098,1967,1507,1538,1858,2131,2678,2911,3103,2808,3189,3104,2658,2525,2591,2742,2939,3108,3307,3449,3567,3500,2806,2101,2466,2620,2690,3216,3496,3156,3044,2920,2599,2322,1887,1565,1377,1536,1671,1637,1561,1519,1871,1765,1881,2500,2441,1964,1797,1834,2170,2138,1884,1742,1442,1517,1722,1601,1704,1711,1353,1470,2082,2239,1474,1067,1199,1808,2219,2585,2403,2165,1919,1639,1688,1677,1487,1461,1510,1877,2336,2353,2807,3691,3884,3124,2777,3097,3065,3193,3182,3371,3237,3175,3308,3929,4361,4376,4220,3884,3580,3363,3271,3392,3426,3676,3641,3337,3262,3540,3663,3452,3281,3287,3436,4061,4295,4052,4094,4040,3981,3912,3782,4129,4176,3838,3602,3864,4053,4071,4128,4086,3420,3202,3270,3126,3288,3297,3577,4220,4400,3758,3425,3609,3609,3707,3845,4052,4197,3200,2418,2267,2573,3341,3898,3757,3271,3255,3651,3760,3697,3441,3223,3337,3294,2977,2852,3294,3515,3516,3454,3217,3174,3326,3139,3269,3449,3358,3325,3549,3499,2983,2943,3022,3044,3451,3561,3177,3197,3233,3205,3221,3476,3714,3567,3259,3659,2813,2941,3921,3930,3996,4316,4871,4985,4924,4918,4661,3996,3947,3602,3463,3307,3408,3571,3471,3895,4409,4213,3938,3472,3021,2595,2359,2229,2141,2323,2555,2691,2652,2618,2524,2543,2627,1969,1475,1506,1619,1581,1643,1866,1975,1931,1848,1970,2079,2067,2119,2073,2112,2283,2189,2130,2575,2557,2553,2116,1438,1352,1256,1330,1337,1429,2482,2774,2231,2142,2214,2412,2544,2153,1420,1206,1488,1705,1426,2142,2215,1903,1907,2351,2479,2075,1720,1841,2210,2535,2344,2028,1991,2209,2337,2222,2203,2554,2482,2378,2065,1932,2784,4038,4445,4189,3934,3697,3359,3340,3208,3237,3522,3535,3518,3953,4108,4153,4208,4292,4200,3928,3928,3770,3826,4253,3566,2517,3395,4490,4393,4366,4313,4413,4319,4370,4080,3797,4027,4123,4201,4287,4044,3938,4051,4105,3844,3505,3344,3934,4099,4220,4140,3443,3131,3146,2853,2673,2342,2060,1919,1832,1937,1843,1976,1743,1745,2079,2159,2266,2104,1829,1873,2057,2059,2039,2885,3255,3702,3196,3725,3020,3428,4059,3888,3630,3586,3018,2394,2341,2664,2834,2403,1972,2461,2984,2348,2455,2900,2906,2540,2493,2130,1601,1692,2258,2553,3199,3698,3498,3421,3161,2995,3807,4266,3886,3258,2967,3496,3763,3770,3742,4029,3836,3354,3500,3454,2819,3204,3683,3581,3664,3564,3558,3683,2970,2877,2905,2701,1906,2126,2963,3466,3393,2910,2221,2611,3318,2510,2315,2010,2611,2621,2358,2385,2563,2871,3298,2789,2347,2573,2922,3120,1965,2405,2700,2603,2534,3178,3185,2932,2827,2569,2363,2109,1729,2330,1991,2522,2629,2927,3096,2278,1815,2139,2990,3273,3023,2788,2375,1780,1644,1911,1684,1405,1611,1666,1964,2450,2270,2152,2265,1561,1588,1935,1898,1900,1669,2135,2354,1746,1461,1469,1397,1437,1755,1833,1670,1792,2049,1483,1473,1477,1726,1678,1547,1501,1643,1786,1918,1859,1819,1573,1922,1636,1730,1970,1866,1664,1588,1755,1769,1760,2176,2362,2118,2220,2196,2218,2227,2561,2363,2270,2382,2230,1811,1794,1967,1918,1880,2226,2276,2124,2111,2743,2784,2638,2761,2822,2791,2823,2850,2717,2968,3177,2910,2986,4075,4116,3646,3748,3614,3260,3311,3195,2665,2269,2003,1736,1959,2498,2659,2911,3299,3122,2906,3143,3342,2740,2136,2404,3031,3175,3378,3163,3231,2904,2332,1801,2110,2972,3061,2851,2945,3154,3328,3541,3297,2591,2653,3022,2881,3385,3630,2790,2136,1909,1968,2142,2194,1858,1732,1749,1621,1638,1860,2101,2127,1934,1780,1627,1607,2299,2897,2424,2187,1909,1942,2003,1779,2235,2072,1799,1954,2256,2199,1858,2371,2318,1681,2249,2010,2943,2140,1932,1949,1774,1722,1652,1660,2066,2610,2611,2496,1969,2564,2497,2317,2181,2255,1890,1909,1921,1765,1835,2182,2382,2290,1824,2436,2103,2588,3121,3008,3023,2831,2223,2221,2352,2291,2380,2341,2345,2077,2598,3937,3978,3696,3950,3652,2952,2598,2456,2635,3254,3200,3235,3418,3474,3640,3891,3559,3384,3145,2992,3233,3359,3318,3213,3036,2460,2611,2799,2790,2731,2429,2191,2229,2243,2204,2292,2276,2273,2260,2252,2298,2201,2207,2280,2317,2419,2469,2709,2756,3138,3441,3322,3406,3476,3366,3041,3176,3476,3662,2589,1816,1958,2047,2089,2032,2070,2435,2389,2392,2961,3094,2578,2379,2555,2859,2596,2362,2465,2861,3053,3055,2933,2249,2314,2692,2802,2626,2114,2240,2403,2475,2740,2876,2906,2964,2735,2666,2697,2851,3358,3205,2835,2783,2363,1924,1879,2524,3033,2981,2743,1747,1830,2235,2701,2585,2544,2674,2746,2997,2711,2465,2447,2031,2401,2900,2989,2940,2740,2800,3219,3316,3043,2351,2254,2088,1670,1713,1712,2509,2987,2812,2282,2319,2611,2301,2092,2404,2989,3146,2846,2605,2383,2742,2957,2898,2442,2244,1916,2680,3386,3217,3103,2817,2191,2427,3372,3873,3037,2514,1743,1838,2131,2040,2392,2362,2361,2527,2410,2241,2668,3231],[3269,3212,3130,2518,2490,3037,3052,3329,3476,2751,1929,1969,1993,2219,2036,2420,2623,2441,2957,3166,2663,2855,3776,3674,3785,3606,3437,2938,2506,1805,2248,2940,2815,2064,1754,1808,2047,2112,2166,2440,1797,1954,2269,2366,2198,2531,2091,1873,2679,2841,2784,2720,2811,3006,2733,2665,2815,2924,2610,2898,2910,2534,2393,2426,2614,2956,2492,2161,2345,1703,1722,2083,2818,3009,3030,3334,2956,2264,1930,2219,2428,2338,2370,2475,2017,1511,1722,2114,2348,2270,2553,3354,3961,3659,3618,3716,3459,3083,3002,3311,3288,3225,3254,3300,3665,3810,3053,2585,2906,3396,3872,3835,3627,3683,3686,3051,2986,3518,3593,3540,3189,2828,2676,2547,2421,2011,2242,2516,2915,2908,2733,3005,3185,3042,2935,2821,2806,2808,2737,2894,2868,2786,2552,2353,2335,2482,2768,2809,2687,2749,2888,3755,3750,3156,2441,2368,3009,3393,3049,2264,1956,2119,2060,1997,1569,1389,2230,2068,2547,2754,2894,2225,1863,2196,2728,3178,3342,3250,2647,2294,2171,2019,2356,1999,1839,1652,1782,1731,1631,1871,1981,1988,2066,2230,2520,2100,1620,1220,1400,1521,1584,1959,1958,1746,1846,1817,1830,2134,2420,1816,1646,1669,2234,2166,1977,1687,1621,2121,2948,3101,2934,2759,2192,2382,2618,2845,2986,2790,2383,1758,1885,1944,2190,2489,2071,1642,1578,1640,1533,1824,1642,1778,1661,1550,1383,1665,1658,1824,2226,2277,2406,2774,2468,2673,2994,2754,2160,2532,2886,2957,2640,2225,2055,2023,2640,3142,3018,2209,1713,1896,1942,2074,2676,2798,2662,2649,2326,1815,2087,2238,2376,2590,2030,1990,2135,2199,2139,2094,2104,2192,2056,2031,2376,2164,1738,2218,3046,2288,1617,1473,1796,1668,1394,1978,2511,2775,3169,3378,3356,3018,2522,2374,2417,2742,2888,2719,2997,3682,3616,3724,3803,3908,3929,3892,3738,3297,3023,2553,2686,3054,2938,3156,3060,2700,3436,3497,3564,3851,3903,3378,2791,2943,2481,2078,2475,1981,1933,2526,2819,2839,2920,2944,2751,2895,2879,2614,2850,3107,2938,2397,1946,1536,1593,2291,3415,2735,2022,2208,2083,2223,2440,2238,2754,3630,3946,3876,3205,2358,2547,3207,2880,2029,2000,2524,2708,1968,2136,2877,3078,2569,2414,2630,2732,2568,2401,2669,2696,2973,3112,2834,2568,2285,2452,2336,2269,2928,3174,3043,2822,2151,1640,1655,1910,2351,2944,2865,2332,2127,2221,2334,1777,1726,1668,1598,1394,1278,1250,1373,1366,1544,1594,1461,1399,1357,1424,1434,1419,1644,1724,2023,2521,2983,2920,2665,2361,2647,3148,2516,1600,1528,1435,1394,1490,1348,1463,1359,1225,1389,1528,1560,1471,1434,1543,1784,1852,1606,1399,1349,1402,1561,1655,1586,1688,1885,1768,1805,1910,2476,2562,1741,1849,1926,2100,2048,1925,1892,1853,1678,1524,1613,1698,1951,1958,1863,1834,1741,1911,2247,2070,2481,2710,2216,1983,1780,1709,2029,1758,1582,1663,1715,1658,1584,1764,1875,1610,1769,2134,2009,2380,3177,3416,3770,3430,2475,2169,2127,2367,2857,2829,2220,1961,2391,2910,2901,2732,3250,3165,2654,1816,1542,1732,1765,2260,2974,3010,2446,1794,1742,1826,1991,2586,2130,1633,1876,2084,1786,2447,2497,1966,1759,1546,1450,1448,1821,1886,2163,2128,2431,2646,2160,1996,1835,1996,2145,1698,1749,1741,1932,2371,2786,2432,2510,2530,2038,2344,3023,2722,2078,2331,2132,2114,2463,2071,1959,1994,2008,1628,1641,2188,2448,2608,2741,2666,2537,2198,2075,2533,2389,1926,1944,1594,1480,1586,1771,1870,1796,1406,1654,2510,2178,1692,1695,1688,2445,2764,2664,2962,3430,3572,3594,3388,3362,3550,3705,3941,3602,3334,2973,2284,2796,2722,2630,3466,4169,4296,3950,3074,2050,2142,2722,2774,2909,2975,3255,2938,2625,2754,3016,2964,3709,3996,3769,3356,3041,2979,3017,2920,2722,2736,2899,3078,3225,3480,3401,3288,3582,3322,3685,3609,3518,3557,3789,3440,3033,3503,3673,3347,3186,2974,2930,3054,3034,2940,3665,4176,3817,3741,3647,3730,4019,3896,3208,2446,2509,2832,1958,1535,2292,2336,2122,2118,2032,1716,2118,3168,2966,2632,2742,2424,2174,1707,1663,1604,2342,3330,3529,3460,3594,3572,3361,3358,3613,3825,3263,2578,2441,2466,2466,2300,2995,3095,2307,2042,2471,2573,3120,3216,3527,3975,4276,3697,3085,3528,3924,3762,3303,2844,2451,2532,2598,1886,1787,1956,2192,1973,2164,1962,2542,2439,1836,1788,1940,1965,1842,2421,1853,1558,2300,2203,1972,1738,1557,1728,1722,1518,1399,1523,1829,2422,2366,2119,1785,1399,1739,2322,2711,2405,2004,1721,1484,1764,1762,1565,1513,1549,1552,1660,1572,1619,1522,1573,1523,2100,2479,1904,2148,2617,2059,1713,1672,1701,1874,2410,2778,2865,2107,1604,1771,1914,1886,1658,1607,1438,1658,2431,2617,3206,3386,3221,3146,3094,3106,3220,3374,3393,3461,3624,3613,3688,3497,2496,2013,2266,2379,2533,3305,3867,3893,3476,3188,2974,2720,2170,1877,2217,2129,1656,1645,1571,1634,1788,1934,2330,2531,1959,1869,1858,1848,1625,1775,1896,1753,1562,1655,1651,1787,2040,1840,1477,1831,1954,1762,1660,1705,1513,1653,2203,2707,2530,2301,2054,1998,1880,1927,1500,1444,1476,1665,2248,2585,3352,3970,3890,3096,3164,3560,3420,3277,3329,3519,3351,3463,3373,3651,4135,4352,3865,3133,3171,3356,3209,3129,3195,3641,3790,3472,3304,3585,3801,3549,3058,2907,3249,3984,4300,4145,4244,4184,4064,3973,3876,3982,3914,3671,3789,4011,4019,4054,4111,4095,3427,3260,3232,3059,3248,3017,3305,3848,3782,3597,3628,3648,3653,3646,3670,3906,4230,4169,3282,2797,2946,3329,3748,3816,3308,3177,3639,3785,3735,3475,3039,2777,3066,2990,3056,3539,3851,3882,3674,3307,3259,3405,3240,3431,3864,3624,3638,3895,3773,3238,3140,3178,3012,3217,3363,2938,2823,3188,3187,3328,3692,3763,3567,3493,3374,2796,3121,3717,3956,3782,4012,4760,4717,4703,4864,4848,4124,3539,3431,3431,3378,3329,3234,3342,3932,4209,4003,3442,2873,2619,2362,2262,2165,2370,2754,2856,2790,2669,2510,2346,1812,1428,1457,1619,1704,1736,1817,1799,1864,1944,1863,1807,1918,1960,1910,1930,2256,2626,2486,2161,2138,2535,2559,2023,1828,1598,1578,1536,1431,1252,1685,2420,2320,2109,2227,2640,3085,2890,2341,1934,1372,1332,1058,1245,2053,1998,1670,1298,1752,2192,2149,2252,2059,2067,2480,2339,2295,2168,2231,2153,2094,2082,2116,2109,1985,1936,2546,3842,4693,4545,4062,4053,3812,3570,3355,3208,3304,3422,3469,3752,3990,3890,4164,4313,4293,4232,3691,3558,3658,3854,3943,3356,2522,2977,4049,4085,4125,4195,4340,4207,4516,4456,4212,4324,4431,4383,4207,4112,4086,3893,3846,3905,3507,3361,4120,4628,4400,4201,3602,3061,2818,2551,2382,2211,1932,1761,1742,2130,2142,2271,2189,2196,2567,2600,2611,2295,2082,2260,2243,1905,2773,3266,2910,2730,2845,3141,2956,3455,3852,3615,3543,3429,2640,2174,2684,2833,2832,2745,2824,3086,2601,2569,3028,2867,2786,2696,2737,1866,1570,2011,2634,2831,3508,3586,3221,2920,2823,2911,3459,3742,3695,3066,2554,3693,4086,3853,4056,4099,3875,3818,3614,3482,3500,3465,3562,3572,3658,3537,3470,3675,2834,3107,3248,2895,2469,2855,3515,3165,2909,2620,2175,3109,3244,2990,2635,2338,2843,2478,2178,2208,2017,2268,2792,2711,2583,2653,3081,2891,2073,2556,2242,2287,2731,2756,2795,2957,2842,2775,2508,1866,1566,1892,1929,2404,2862,3488,3033,2115,1840,2003,2555,2872,2934,2545,2551,1925,1453,1459,1405,1402,1504,1520,1596,2098,2291,1868,2076,1675,1605,1624,1692,2215,1974,2073,1968,1731,1577,1525,1568,1670,1683,1606,1530,1477,1389,1315,1437,1511,1530,1478,1454,1418,1434,1846,2542,2422,1921,1989,2390,2207,2216,2111,2002,1837,1663,1569,1826,1844,1993,2249,2645,2449,2289,2054,2187,2684,2257,1967,2175,1899,1692,2027,2177,1562,1142,1422,1614,1877,1902,2864,2636,2061,2230,2166,2004,2555,3063,3851,3903,3591,3296,3386,4085,3391,2994,3436,3348,3096,3505,3476,3262,2825,2326,1877,1729,1841,2208,2496,3043,3630,3550,3298,3507,3044,2432,2885,3105,2979,3336,2670,2136,2856,2832,2196,2556,3130,3096,2901,3018,3189,3207,3531,2818,2458,2263,2856,3187,3023,2736,2153,1748,1779,1789,1810,1951,1914,1911,1676,1694,1774,1909,2140,2170,1978,1812,1721,1812,1943,1949,1793,1905,2110,2210,1989,2427,3162,2613,1884,1848,1939,1999,1968,2512,2251,1418,1971,1999,2342,2060,1992,1883,2097,2736,2339,1566,1624,1941,2565,2270,1999,2474,2908,2856,2670,2319,1943,1998,1847,1816,1809,2089,2240,2569,2103,2406,2577,3156,3051,2985,2957,2470,2460,2409,2754,2783,3001,2845,3039,3096,3969,4311,3851,3840,3714,3047,2507,2315,2293,3152,3580,2955,2916,3205,3041,2919,3117,3138,3260,3282,3464,3638,3657,3072,2482,2564,2520,2789,2743,2866,2909,2685,2512,2584,2566,2465,2459,2426,2286,2262,2242,2290,2232,2338,2603,2677,2797,2714,2521,2771,3209,3427,3362,3230,3133,3166,3252,3077,3276,3462,2841,2773,2822,1992,1737,1700,1880,2008,1931,2515,2578,2396,2548,2770,2757,2552,2518,2248,2256,2718,3012,3286,3519,2606,2313,2382,2422,2480,2332,2392,2401,2483,2642,2800,2896,2769,2811,2735,2729,2897,3466,3366,2950,2874,2399,1736,2072,2855,2810,2885,2640,2499,2819,2766,2623,2028,2069,2270,2441,2893,2775,2624,2918,2452,2599,2435,2252,2729,2142,2242,2437,2762,2932,2224,2018,1949,1609,1838,1677,2219,3146,3082,2552,2946,3052,2684,2501,2532,2713,2165,1885,2078,2546,3000,2787,2350,2456,2385,2045,2536,3179,3098,3169,3002,2510,2647,3028,3415,2972,2564,1970,2038,2153,1721,1941,2436,2353,2147,2027,2144,2402,2488],[3480,3629,3273,2831,2388,2697,3197,3372,3332,3105,2576,2122,1624,1652,2048,2641,2647,2390,3075,2952,1919,2288,3313,3140,3218,3311,3377,3185,2411,2031,2032,2044,2279,1972,2126,2366,2610,2566,2468,2619,2325,2083,2009,1800,1919,2190,2479,2468,2553,2511,2266,2158,2424,2487,2590,2822,2813,2678,2567,2468,2467,2175,2757,3394,3226,3201,2647,2558,1867,1772,2846,3527,3076,2196,2371,2003,1459,1537,1699,2410,2410,2099,1929,2189,2070,1544,1400,1815,2570,2924,2888,2668,3125,3887,3278,3181,3386,3273,3141,3190,3218,3349,3373,3460,3965,3220,2684,2874,2972,3267,3470,3468,3669,3830,3628,3029,2790,3387,3411,3054,2576,2519,2159,1621,1910,2194,2685,2843,3240,3426,2985,2921,3298,3120,3015,2711,2676,2529,2439,2648,2765,2767,2538,2350,2519,2934,3071,2764,2676,2640,2416,3304,3310,2057,1715,1784,2514,3161,2900,2143,2214,2447,2067,1241,1035,1801,2248,2254,2377,2967,3386,2864,2387,2805,3311,3527,3449,3514,2885,2556,2286,2019,2345,1831,1975,2191,2054,1935,1887,1833,1729,1636,1835,1765,1722,1700,1653,1560,1722,1905,1924,2054,1920,1764,2106,2112,2053,1961,2264,1986,1741,1563,1542,1733,1842,1668,1693,2444,3264,2871,2143,1776,1546,2431,2640,2922,2908,2345,1882,1842,2172,2630,2753,2729,2299,1886,1758,1831,1754,2092,1771,1753,2042,1687,1340,1188,1300,2146,2306,1870,1557,2344,2503,2440,2812,2634,2398,2685,2187,2007,2387,2351,2292,2115,2655,3074,2552,1990,1874,1827,1747,2263,2670,2832,2818,2373,1929,1684,2405,2171,2168,2364,1962,1692,2058,2428,2535,2469,2339,2481,2285,1890,1698,1750,1573,1858,2342,1808,1620,1726,2049,1898,1323,1911,2546,3152,3360,3840,3433,2495,2375,2600,2684,2723,2894,2820,3080,3424,3355,3808,3774,3980,4140,3905,3869,3800,4039,3974,3676,3695,3728,3209,2334,2633,3847,3950,3430,3208,3066,2690,2088,2451,2518,2599,2691,2100,2626,3251,3352,3552,2906,2915,2862,3028,3021,2733,2713,2878,2840,2446,2130,1745,1719,1880,2256,1899,1996,2620,2442,2157,2250,2566,3338,3969,4057,3492,3006,2322,2344,2540,2787,2243,1754,2332,2375,2453,2612,2208,2436,2710,3217,2790,3206,3275,3306,3372,3261,3415,3261,2661,2015,2026,2203,2119,2568,3417,3273,2894,2997,2655,1957,1666,1903,2083,1866,2145,2188,1744,1886,2100,2115,1969,1626,1366,1415,1365,1473,1741,1753,1797,1576,1191,1376,1477,1233,1117,1449,1677,1788,2113,2460,2729,2558,2322,2362,2486,2200,1880,1486,1548,1527,1593,1727,1650,1522,1456,1504,1473,1614,1774,1617,1498,1566,1920,1955,2041,1669,1524,1525,1477,1728,1632,1491,1615,1768,1756,1605,2008,2372,2149,1832,1938,2061,2010,1972,1955,1829,1855,1831,1688,1658,1782,1974,1867,1766,1904,2146,2082,1860,2321,2663,2642,2627,2564,2166,2620,2688,1766,1642,1647,1667,1766,1848,1736,1751,2108,1971,2048,2632,2884,3227,3770,3720,3097,2735,2504,2659,2925,2923,2395,2064,2569,2757,2833,3427,2972,2416,2357,1791,1599,1763,1717,2272,3504,3854,2863,1903,1633,1622,1973,2181,2029,1665,1808,1769,1736,2246,2567,2066,1938,2036,1794,1449,1720,1671,1968,2061,2168,2197,1870,2188,2201,1869,1827,2176,2110,2001,2269,2556,2564,2488,2535,2481,2202,2200,2558,2313,2050,2201,2211,2389,2021,1775,1470,1765,2017,2023,2329,2458,2378,2185,1930,2166,2588,2834,3416,3507,2236,1690,2013,1977,1846,1942,2060,1969,1554,1601,1625,1986,2188,1803,1778,1973,2154,1832,1661,1939,2380,3108,3443,3386,3558,3774,3747,3686,3226,2919,2812,2565,2589,2622,2801,3566,4213,4304,3956,3372,2468,2242,2214,1923,2059,2757,3268,3168,2877,3060,2630,1912,2777,3687,3208,2868,2983,3016,3065,2999,3097,3222,3176,2975,3027,3404,3254,3306,3576,3776,3799,3384,3575,3824,3504,3285,3526,3552,3444,3311,3099,2823,2646,2469,2710,3370,3820,3841,3725,3761,3825,3911,4211,3949,2867,2002,2808,3507,2819,1770,1810,1817,1927,2437,2566,2005,2742,3488,2874,2662,2697,2750,2612,2215,2054,1992,2844,3705,3606,3539,3739,3584,3565,3580,3796,3473,2936,2890,2789,2595,2112,2198,2868,2833,2666,2223,2019,2398,3253,3028,2926,3836,4301,3894,3532,3748,4058,4015,3942,3894,3598,3294,2626,2054,2198,2070,1885,2127,2325,1922,1693,1838,1714,1681,1675,2018,2039,1926,1502,2049,2419,2030,1981,1864,1636,1774,1842,1778,1508,1633,1982,2264,2150,2065,1494,1359,1577,1881,2098,2032,2156,1969,1460,1779,1798,1456,1508,1491,1423,1571,1706,1568,1420,1332,1692,2736,2832,2479,2007,2296,2321,2205,1931,1988,2226,2750,3207,2933,1965,1635,1826,1958,1787,1477,1600,1874,2011,2463,2402,2307,2341,2332,2547,3156,3394,3574,3780,3567,3492,3593,3509,3351,3074,2657,2247,2148,2363,2846,3675,3705,3976,3940,3418,3375,3384,2656,2247,2509,2297,1876,1677,1687,1929,1722,1636,2110,2366,1699,1966,2251,1889,1430,1550,1644,1474,1692,2066,1923,1728,1836,1828,1760,2079,1892,1808,1815,1970,1956,1737,2202,2519,2170,2067,1960,2271,2250,1840,1452,1548,1700,2100,2369,2830,3648,3935,3551,3040,3625,3735,3742,3609,3538,3575,3480,3463,3339,3422,3929,4342,3739,2999,3151,3309,3162,3207,3421,3575,3651,3404,3222,3504,3619,3359,3398,3077,2590,3319,4069,4167,4244,4271,4040,3700,3604,3674,3623,3498,3541,3708,3694,3638,3747,3724,3100,2945,3020,2921,2984,3132,3522,3577,3198,3308,3708,3870,3887,3706,3598,3676,3939,4229,3673,3054,3189,3330,3444,3564,3098,3156,3608,3785,3809,3631,2718,2590,3134,3199,3300,3594,3834,3937,3794,3474,3282,3325,3227,3399,3670,3845,3847,3708,3430,3118,2963,3013,2803,2998,3386,2963,2582,3110,3449,3447,3610,3862,3678,3091,2770,2818,3183,3566,3802,3964,3938,4231,4477,4635,4592,4630,4307,3582,3423,3530,3320,3173,3283,3847,4026,4019,3552,2923,2629,2460,2271,2152,2339,2729,2897,2741,2737,2490,2031,1659,1509,1633,1693,1763,1991,2425,2796,2353,1674,1848,1801,1888,1924,2034,1970,2326,3010,3312,3294,2958,2294,2069,1833,1837,1737,1640,1686,1615,1469,1385,1816,1820,1930,2243,2073,2105,2525,2720,3000,2618,1654,1881,1788,1745,2150,2131,1818,1693,1918,1959,2210,2430,2472,2334,2410,2427,2264,2207,2208,2038,2060,2048,2024,2001,1914,2330,3357,3816,3738,3845,3587,3990,4038,3768,3538,3449,3355,3377,3495,4125,4041,3973,4175,4219,4208,4264,4060,4029,3998,4041,3785,3199,2832,3024,3296,3838,4027,3961,4071,4175,4474,4428,3960,3927,4464,4648,4303,4187,4046,3872,3972,3917,3666,3805,4256,4432,4164,3868,3406,3353,3074,2628,2131,2168,1875,1966,1975,2135,2068,2752,2836,2449,2326,2353,2819,2663,2279,2556,2557,1987,3518,3395,3052,3130,3156,2938,2935,3033,3299,3438,3494,3233,2308,2188,2571,2707,3276,3605,3505,3253,2591,2252,2770,2973,2685,2762,2244,1558,1493,2259,2735,2785,3244,3143,2360,2304,2639,2980,3343,3352,3478,3332,3186,4042,4408,4040,3582,2767,3141,3972,3532,3684,3453,3111,3203,3225,3399,3550,3521,3817,3775,3686,3082,2953,3159,3283,3286,2871,2814,2315,2193,3276,2813,2824,2542,2598,2894,2237,1928,1964,1968,1869,2008,2002,2318,2481,2746,2203,2082,2464,2112,2420,3173,2946,2562,2590,2773,2798,2632,2137,1745,1953,2443,2668,2889,3031,2398,1786,1747,2179,2124,1843,2797,2855,2214,1997,1738,1693,1654,1476,1639,2064,1973,2182,2567,2489,2615,2193,1767,1730,1594,1524,1837,1828,1658,1766,1731,1487,1416,1570,1493,1443,1616,1818,1750,1510,1503,1552,1505,1507,1393,1460,1750,2054,2287,2352,1960,2243,2540,2625,2564,2104,1587,1810,1937,2088,2119,1850,2245,2391,2457,1947,1945,1982,2154,2248,1959,1837,1676,1553,1518,1631,1731,1588,1537,1921,1941,1818,1630,1886,1784,1463,1940,2035,1952,2053,2454,3614,3906,3513,3286,3711,3942,3120,2618,2937,3073,3094,3449,3150,3299,3263,2642,2120,1872,1726,1722,2047,2666,3384,3738,3450,3237,2861,2193,2818,2753,2420,2679,2107,1687,2083,2144,1973,2415,2802,2929,2905,3088,3060,3091,3385,2691,2734,2544,2608,2680,2435,2709,2411,2221,2153,2071,1883,1974,1958,1748,1720,1981,1978,1850,1850,1854,1894,1902,1882,1958,1785,1649,1554,1626,1749,1727,1863,2486,3011,3149,2131,1764,1723,1957,1760,1892,2101,2969,3035,2106,1891,1837,1784,1587,1897,2414,1995,1541,1599,1888,2551,2427,1939,1969,2512,2671,2522,2437,2186,2038,1880,1971,1990,2202,2438,2521,2411,2810,3283,3057,2610,2713,2577,2205,2608,2985,3458,2801,2300,2459,3077,3706,4312,4296,4075,3813,3399,3045,2767,2384,2683,3270,2953,2981,3222,2888,2359,2471,3017,3455,3442,3321,3548,3384,3017,2170,2259,2553,2480,2678,2843,2908,2866,2754,2723,2862,2798,2497,2375,2355,2076,2105,2190,2199,2222,2386,2963,3480,3387,3156,2887,3282,3229,2978,3050,2915,3044,3116,3124,3062,3209,3386,3448,3451,2688,1532,1586,1589,1674,1917,2437,2598,2390,2500,2728,2845,2720,2486,2815,2680,2713,3009,3234,3315,3120,2945,2499,2006,2259,2525,2524,2644,2601,2702,2755,2811,2858,2622,2938,2746,2973,3288,3486,3548,3178,2910,2344,2030,2558,2607,2496,2756,2316,2326,2533,2691,2325,2144,2813,2878,2482,2736,2550,2741,2631,2204,2272,2047,2022,1856,1775,2170,1939,1868,1969,1985,1985,1764,1625,1909,1850,1929,2667,3018,3035,3482,3354,2746,2753,2950,2623,1807,2020,2079,2515,2821,2470,2222,2504,2744,2490,2457,3007,3071,3123,3082,2833,2788,2721,2405,2291,2583,2735,3107,2440,1403,2215,2696,2375,2126,1935,2384,2247,2538],[3695,3728,3165,3100,2163,2485,3570,3913,3614,3391,3227,2345,1740,2055,2376,2770,2741,2429,2641,2445,2335,3040,3022,2954,3024,3193,3443,3142,2205,2069,1914,2094,2266,1826,2333,2612,2614,2874,3066,2980,2484,1893,1698,1788,2325,2275,2543,2384,2123,1999,1796,2111,2446,2614,2972,2857,2450,2711,2537,2286,2406,2272,3000,3190,2874,2590,2288,2524,2468,3030,3792,3480,2764,1908,1767,1283,1716,2260,2153,2217,1892,1787,1628,1846,2065,1422,1366,1679,2361,2806,2282,2025,2541,3322,3272,3273,3397,3151,2999,3232,3299,3394,3288,3439,3630,3456,3075,3315,2932,2811,3229,3580,3885,3784,3573,3489,3095,3455,3473,2805,2442,2376,2178,2181,2676,2835,2898,2915,2928,3018,2928,2900,3288,3548,3047,2727,2728,2358,2312,2408,2589,2695,2597,2613,2811,2840,2642,2222,2741,2832,2636,2836,2316,1995,2026,1955,2023,2431,2684,2172,2066,1744,1796,1480,1517,1989,2060,1954,2186,3011,3949,3861,3206,3370,3666,3552,3252,2783,2168,2566,2358,1941,1897,1905,2310,2641,2040,1956,2289,1869,1850,1868,2082,2148,2078,2098,2091,2059,2158,2209,2266,2366,2222,1934,2276,2300,2305,2286,2172,2272,2015,1911,2067,1904,1711,1745,1746,1817,2054,1549,1632,1726,1712,2585,2896,3144,3195,2301,1528,1683,1710,2194,2358,1974,1826,2019,1906,1817,2025,2686,2336,1897,2062,1796,1292,1389,1650,2172,2289,1952,1792,2373,2518,2279,2563,2427,1886,1866,1727,1979,2286,2383,2048,2423,3056,2579,2263,2383,2424,2283,2210,2504,2654,2728,2545,2546,2155,2570,2857,2223,2300,2465,2060,1914,2075,2406,3168,3122,2688,2872,2974,2536,2104,1730,1499,1959,2181,1930,1880,1656,1690,1758,1862,2612,2861,3121,3363,3874,3388,2020,1730,2264,2488,2565,2633,2668,3231,3652,3664,3736,3771,4054,4308,4233,3916,3846,3964,3821,3754,3741,3804,3229,1979,3105,3942,3870,2866,1997,2073,1963,1828,2566,3480,3808,3278,2177,2697,3461,3864,3683,3040,3278,3284,3322,3560,3130,2924,2933,3082,3057,2149,1916,2313,2450,2570,1904,2078,2615,2159,1598,1672,2547,3356,3031,3100,2450,2545,2358,2055,1959,2402,2085,1688,1836,1911,2353,2532,2539,2790,2842,3588,3194,3388,3982,4383,4284,3917,3528,3134,2286,2062,2385,2646,3104,2744,3272,3720,2974,2731,2456,2131,1637,1469,2031,1764,1814,1709,1403,1724,1965,1810,1544,1378,1276,1404,1476,1575,1735,1888,1775,1568,1214,1456,1674,1418,1147,1103,1424,1918,1887,1788,1892,1874,2129,2160,2081,1969,1588,1416,1598,1498,1556,1846,1975,1832,1471,1357,1434,1472,1360,1382,1525,1599,1865,2281,1888,1285,1385,1443,1500,1588,1541,1672,1591,1534,1593,1550,1726,1927,1869,1950,2127,2103,1837,1594,2161,2474,2240,1845,1660,1533,1660,1858,1826,1844,2098,2161,1805,1830,2185,2469,2536,2619,2602,2043,2277,2226,1697,1589,1592,1484,1676,2434,2331,2464,2387,1902,1888,2811,3325,3710,3707,3399,3005,2798,2450,2308,2791,3020,2288,2219,2773,2894,3128,3299,2690,2035,1807,1838,2215,2388,1908,2098,3218,3606,3072,2338,1744,1838,1861,1888,1691,1676,1704,1457,1475,1544,2036,1703,1886,1866,1797,1967,1865,1842,2030,1894,2020,2099,2201,2137,1846,1698,2172,2747,2138,1898,2258,2064,2118,2448,2381,2226,2181,2318,2541,2370,2547,2379,2468,2475,2278,1926,1527,1882,2404,2574,2278,1975,2201,2509,2096,2452,2610,3333,3845,3075,2001,1802,1839,1753,1777,1700,1672,1250,1005,1700,1675,1452,1860,1851,1546,1567,1590,1501,1550,1662,1735,2732,2896,3100,3371,3415,3370,3108,2983,3023,3143,3145,2984,3356,3297,2901,3448,3830,4024,3896,3211,2475,1960,1992,2035,1996,2286,2457,2909,3094,2282,1869,2539,2984,2770,2998,3316,3276,2956,3024,3422,3312,3374,3184,3045,3480,3087,3088,3364,3594,3685,3776,4074,3907,3449,3312,3205,3323,2919,2553,2705,2944,2372,2314,3196,3558,3623,3797,3707,3755,3851,3930,3928,3985,3256,2078,2413,2908,2323,1654,1871,2290,2136,2359,2458,1891,2404,3208,3197,2797,2570,2417,2273,2470,2570,2630,3405,3871,3597,3442,3391,3259,3632,3790,3847,3182,2639,2778,2921,2750,2334,2696,2284,2042,2029,1976,1913,2674,3044,2382,2635,3586,3871,3688,3275,3729,3894,3746,3874,3839,3469,3118,2370,2244,2366,1832,1492,2120,2908,2458,1964,2082,1688,1564,1762,2018,2107,1645,1786,2429,2135,1772,1747,1808,1842,1755,1760,1949,1693,1786,2036,2140,2117,1832,1647,1637,1525,1570,1648,1744,1974,1835,1671,1881,1738,1583,1460,1192,1497,2054,1872,1555,1481,1504,2141,2770,2352,2599,1923,2059,2710,2341,1989,1989,2385,3106,3101,2646,1826,1663,1654,2161,2025,1619,1619,1968,2195,2092,1554,1132,1339,1959,2157,2406,2890,3608,3772,3676,3683,3566,3074,2489,2326,2490,2400,2206,2291,2428,3094,3182,3867,3990,3832,4049,4027,3188,2200,2067,1831,1562,1503,1822,1850,1549,1603,2026,2034,1858,2663,2764,1975,1680,1706,1539,1621,2155,2938,2514,1921,1778,2040,1933,1803,2001,1967,1729,1894,1841,1897,2482,2611,2053,1791,1584,1935,1958,1603,1386,1635,2326,2732,2669,3141,3396,3163,3374,3671,3918,3891,3858,3686,3488,3371,3232,3333,3472,3448,3670,4120,3807,3805,3828,3740,3671,3927,3938,3463,3188,3217,3306,3531,3475,3331,3609,3355,2568,2856,3822,4155,4188,4199,4093,3841,3534,3421,3338,3073,3010,3112,2956,2883,2888,2885,2828,2843,2798,2756,2799,3062,3392,3132,2954,3244,3671,3683,3709,3609,3481,3372,3594,3974,3595,3045,3076,3382,3551,3583,2790,3124,3563,3772,3849,3330,2598,2864,3249,3485,3630,3771,3805,3699,3561,3364,3325,3356,3265,3366,3447,3534,3669,3414,2853,2378,2222,2353,2541,2946,3190,3038,2776,3193,3697,3450,3376,3393,2850,2378,3073,3243,2985,3210,3387,3748,3828,3774,4052,4383,4372,4199,4485,4080,3566,3265,3208,3693,3875,4107,4064,3702,3019,2674,2575,2263,2175,2425,2778,2722,2664,2654,2534,2038,1671,1629,1694,1758,2012,2657,3298,3311,3537,3164,1944,1583,1664,1933,2008,1896,2068,2753,3104,3296,3458,3405,2654,1969,1701,1825,1572,1432,1386,1265,1205,1427,1821,1737,1911,2300,2107,2144,2743,2213,2671,3072,2501,2384,2512,2332,2230,2021,1767,2202,2810,2298,2284,2529,2662,2407,2308,2384,2358,2421,2236,1957,2352,2189,2048,1887,2209,3038,3584,3508,3470,3606,4124,4320,4111,4284,4252,4019,3728,3421,3342,4212,4176,4103,4209,4219,4060,3841,4074,4196,4084,4123,3985,3705,3730,3438,2700,3420,3964,3937,4176,4345,4472,4540,4099,3361,3746,4248,4320,4175,4060,3984,4062,3946,3870,3981,4042,3782,3666,3792,3562,3666,3522,2834,2064,2084,2072,1909,1902,2096,2248,2149,2045,2168,2238,2473,2958,2911,2443,2546,2030,2491,3569,3565,3082,3341,3592,3081,2959,2998,2876,2899,2758,2858,2664,2423,2777,2902,2879,3211,3388,3261,3084,3021,3019,3044,2206,2375,1887,1471,1776,2501,2648,2631,3100,3073,2612,2523,2699,3110,3193,3216,3458,3265,3507,4157,4243,3724,2998,2242,2315,2740,2871,3354,3216,3293,3232,3211,3376,3564,3648,3843,3886,3432,3270,3247,3220,2721,2415,2376,2232,2086,2648,3332,2693,2452,2965,3504,3010,2190,2186,2171,2208,2029,2254,2269,2421,2293,2254,2325,2609,2592,2556,2873,2843,2545,2072,2330,3112,3088,2603,2664,2462,2232,2370,2410,2502,2669,2376,2040,1978,2336,2236,2187,3040,2743,2007,1986,2034,1882,1774,1665,1559,2023,1989,1917,2128,2337,2241,2275,2343,2120,1787,1692,1649,1483,1377,1529,1532,1557,1636,1649,1620,1576,1852,2058,1722,1498,1489,1477,1427,1483,2116,2254,2666,2629,1919,2151,2110,1782,2032,2441,2499,1986,1620,1766,1804,2412,2096,2149,2499,2663,2564,2391,2552,2689,2706,2435,2050,2167,2084,1516,2028,2360,1918,2161,2392,2769,2556,1851,1889,2312,2262,2289,2675,2207,1894,1954,2078,2329,2479,2541,2753,3109,3282,3471,3305,3421,3824,3978,2831,2848,3376,3272,2773,2432,2261,2039,1835,1781,1971,2510,3066,3244,3347,2854,2404,2831,2490,2290,2276,1713,1606,1857,1758,1822,2662,2421,2641,2890,3060,2908,2943,2832,2818,3514,3564,2898,2562,2641,2675,2631,2445,2201,1950,1835,1920,1816,1748,1732,1812,1867,1860,1934,1838,1722,1864,1843,1843,1882,1625,1514,1688,1693,1789,2135,2333,2751,2522,2275,2086,1743,1729,1582,2018,2481,2946,2909,2202,1975,2105,1803,1851,1641,1709,1453,1584,1470,1778,2183,2159,1840,1678,2210,2574,2112,1882,2315,2237,1940,1799,2613,3033,3007,2643,2481,3019,2916,2487,2054,2150,2591,2446,3387,3320,2801,2422,2265,2455,3206,3895,3860,3812,3584,2939,2743,3403,3567,3408,3472,3259,3103,2750,2405,2343,2695,3248,3414,3187,3225,3134,2917,2768,2247,2069,2474,2707,2624,2630,2844,2734,2474,2546,2705,2939,2965,2457,2395,2432,2379,2399,2294,2148,2174,2454,3240,3727,3456,3374,3270,3326,3184,2686,2934,3190,3122,2989,3141,3220,3230,3276,3431,3396,2909,1908,1461,1526,2156,2839,3149,3164,2861,2786,2990,2632,2609,2777,2932,3031,3016,3594,3807,3516,3373,3220,2663,2204,2472,2988,3024,3001,2709,2835,2896,2845,2955,2972,2645,2480,2958,3272,3182,3204,2839,3077,2599,2177,2555,2851,3458,3344,2439,1869,2195,2376,1985,2243,2579,2144,1690,2076,1870,2237,2478,1967,1587,1518,1881,2159,2282,2657,2248,1815,2165,2272,2203,2119,1852,1640,2125,2458,2696,3200,3277,3303,3272,2768,2839,2918,2998,2343,2017,1890,2200,2530,2742,2779,2622,2698,2494,2246,2543,2612,2598,2557,2415,2809,3041,2689,2511,2668,3123,3633,2874,2182,2610,2750,2469,2530,2481,2753,2413,2304],[3484,3742,3110,2810,2282,2753,3543,3339,2524,2823,3040,2509,2399,2618,2526,2621,2953,2491,2452,2619,2786,2796,2974,3104,2862,2783,3255,3410,2193,2032,1895,1819,1866,1972,2621,2477,2645,3430,3465,3287,2648,2229,2222,2084,2096,2237,2593,2355,2073,1925,2039,2557,2720,2683,2776,2533,2273,2841,2476,2216,2232,2819,2885,2410,2499,2486,2127,1885,2137,2746,3164,2642,2309,1739,1649,1236,1838,1926,1587,1593,1569,1604,1622,1654,2027,1760,1552,1601,1818,2075,1865,2141,2237,2425,2989,3155,3198,2948,2941,3298,3350,3389,3173,3417,2939,2948,3238,3212,2835,2889,3319,3571,3670,3239,3516,3457,3407,3571,3345,3276,2978,2687,2468,2427,2633,2617,2797,3039,2822,2745,2700,2473,2919,3530,2972,2657,2471,2192,2328,2518,2736,2742,2455,2196,2204,2228,2523,1994,2260,3021,3240,2818,2678,2630,2558,2510,2546,3206,2986,2425,1496,1067,1817,1872,1584,1525,1621,2078,3054,4018,4547,4613,4189,3813,3703,2896,2595,2313,2153,2460,2499,2055,1989,2357,2370,2631,2121,2034,2114,2051,2173,2208,2322,2242,2048,2075,2116,2087,1985,1931,2143,2097,2581,2595,2656,2216,1980,2029,2157,2253,2294,2311,2288,2032,1922,1848,1883,1738,1694,1771,2234,1960,1778,2390,2803,3210,3417,2407,1216,1466,1454,1702,1740,1627,1860,2059,1902,1770,1861,2065,2212,2425,2025,1651,1484,1796,2052,2103,2382,2433,2492,2667,2855,3005,2554,2021,1673,2049,2388,2196,2340,1731,1439,2060,2135,2279,2946,2814,2462,2769,2159,2140,2578,2298,2164,2581,2587,2678,2518,2181,2360,2498,2071,2270,2497,3362,3768,2519,2061,2235,2884,3055,2908,2559,1993,1890,1927,2079,2024,1846,2012,2359,2643,2769,2751,3056,3370,3597,2822,1694,1926,2164,2145,2292,2645,2381,3072,3392,3535,3399,3270,3611,4004,3853,3560,3881,3605,2716,3008,3459,3754,3255,2707,3244,3494,3340,2609,2048,1881,2130,2557,3082,3393,4099,3794,2588,2651,3077,3725,4007,3514,3243,3399,3310,3591,3349,3477,3217,3238,3364,2559,2432,2724,2943,2751,2686,2961,2816,2295,1814,2161,2681,2813,1787,2385,2544,2532,2441,2053,2093,2316,1952,1902,2055,2136,2381,2843,2789,2705,2894,3550,3117,3349,4488,4840,4485,4264,3881,3633,3242,3251,2712,3090,3516,3128,3531,3710,3306,2663,2197,1952,1677,1549,1923,2011,1867,1716,1744,1858,1843,1827,1648,1472,1454,1604,1355,1440,1432,1827,1708,1548,1397,1726,1643,1340,1363,1356,1781,1931,1554,1486,1630,1437,1349,1375,1619,1703,1417,1395,1568,1462,1643,2260,2388,2013,1513,1405,1458,1260,1181,1233,1565,1493,1504,1852,1670,1393,1412,1431,1741,1740,1967,1726,1441,1521,1881,1780,1767,1890,2132,2908,3155,2486,1687,1732,2942,2864,1773,1635,1782,1672,1589,1636,1906,2057,2219,2094,1771,1852,2363,2248,2208,2569,2930,2554,2146,2066,1823,1619,1773,1888,1824,2401,2215,2319,1756,1659,1992,2635,3297,3609,3436,3177,3020,2610,2161,1948,2512,3399,2680,1905,2245,2809,3017,2833,2457,1981,1926,1705,2020,2527,2314,2093,2218,2475,2207,1882,1917,1896,1883,1780,1577,1651,1777,1699,1537,1381,1416,1544,1971,1909,1967,2438,2267,2057,2145,1997,1811,1736,1954,2187,2199,2086,2069,2094,1853,1806,2238,2275,1954,2140,1985,1665,1732,2164,2310,2137,2276,2011,1951,2053,2049,1990,1932,1837,2397,2686,2644,2567,2437,2630,2490,2150,1869,2488,2811,2160,1772,1653,1590,1801,1805,1557,1310,1344,1505,1992,1855,1671,1798,1580,1428,1424,1562,1502,1343,1525,1788,1787,2054,2286,2092,1910,2052,2453,3007,3592,3873,3661,3410,3414,3475,2974,2708,2745,2905,2951,2702,2203,2028,2808,2548,2235,2064,2098,2917,3326,3296,2995,3044,2923,2799,2981,3313,3389,3055,3054,3306,3051,3155,3667,3733,3504,2967,2819,3098,3596,3990,4085,3956,3682,3732,3210,3108,3231,2886,2779,3107,3040,2178,2205,3296,3494,3639,3531,3572,3617,3503,3865,3682,3530,3775,3220,2407,2306,2062,2060,2351,3145,2685,1739,1741,1714,2297,2943,3225,2895,2523,2237,1771,1781,2119,2778,3604,3493,3358,3376,3231,3282,3684,3853,3620,3173,2667,2185,2400,3100,2609,2676,1851,1679,1737,1781,1646,2445,3076,2850,2844,2552,2817,3407,3065,3647,3707,3630,3585,3458,3699,2830,1917,1987,2004,1942,1647,2019,2675,2544,2887,2504,1668,1745,2015,2049,2029,1713,2136,2511,2076,1870,1681,1661,1822,1701,2000,2219,1769,1567,1727,1873,1759,1707,1923,2085,2034,1694,1693,1737,1632,1716,1997,2008,1906,1764,1359,1389,2127,2509,2115,1686,1571,1619,2027,2164,1973,2544,2535,2417,2102,1674,1880,2306,2657,2896,2466,2169,2156,1919,1629,1603,1945,2160,1978,2046,2380,2622,2078,1437,1551,2076,2769,2950,2930,3448,3726,3689,3683,3611,3372,2844,2622,2610,2742,2724,2781,2371,2584,3416,4304,4074,4051,4036,3846,3102,2307,2511,1842,2245,2185,1872,1510,1787,2048,1920,1748,2388,2799,2070,1855,1959,1840,2131,2282,1997,2675,2273,2046,2078,1955,1772,1864,2224,2141,2464,3031,2962,2762,2870,2835,2586,2018,1512,1744,1794,1545,1547,1770,2760,3243,3015,3161,3031,3031,3499,3884,3993,3991,3905,3653,3550,3408,3126,3269,3405,3493,3716,4124,3949,3983,3902,3301,2746,2992,3451,3507,3688,3907,3724,3604,3406,3339,3564,3377,2746,2859,3654,4110,4107,4099,4284,4156,3581,3327,3305,3349,3477,3382,3053,3146,3175,2939,2918,2889,2788,2776,2791,2953,3088,3010,3062,3306,3421,3154,3133,3291,3317,3217,3390,3684,3741,3419,3259,3785,4129,3699,2707,3040,3693,3799,3864,3425,3099,3226,3426,3575,3671,3624,3624,3366,3183,3183,3211,3363,3489,3338,3287,3560,3514,2974,2666,2410,1799,1737,2103,2503,3009,3131,2590,2614,3416,3356,2734,2194,2061,2805,3178,3276,3165,3204,3387,3691,3738,3631,3703,4084,4336,3861,4263,3940,3143,2656,3097,4025,4205,4083,3840,3391,3086,2670,2362,2188,2462,2780,2704,2642,2461,2161,1955,1771,1788,1837,1760,2020,2458,3207,4141,3838,3800,3520,2791,2048,1788,1803,1996,1997,2320,2996,3120,3326,3387,3308,2680,2101,2330,2210,1698,1507,1523,1567,1408,1596,1830,1889,2079,2229,2031,2541,2480,1726,2005,3083,3386,2851,2508,2178,1950,2285,3238,3470,3016,2305,2135,2437,2189,2050,2383,2598,2742,2708,1989,1762,2311,2214,1986,2198,3339,3961,3948,3642,3572,3869,4345,4276,4200,4681,4720,4460,4310,3586,3761,4305,4249,4221,4271,4145,3708,3290,3769,4086,4049,4024,3774,3974,4074,3721,2602,3056,4048,4111,4397,4500,4387,4351,4123,3291,3214,3686,4108,4196,4073,4061,4220,4236,4197,4332,4564,4330,4091,4177,3875,3768,3322,2695,2401,2287,1946,1768,1907,2090,2237,1941,1875,1988,2239,2288,2607,2590,2433,2406,2352,3075,3837,4005,3513,3597,3202,2930,3087,3167,3200,3178,2989,2937,2496,2424,2188,1648,1777,2188,2668,2999,3013,2767,2780,2436,2066,2172,1835,1433,1920,2922,3227,3497,3595,3532,3563,3037,2980,3344,3203,3055,3361,3273,3499,3994,4020,3610,3213,2677,2169,1871,2621,3055,3145,3061,3108,3328,3528,3624,3694,3918,3731,2925,3104,2928,3101,2961,2440,2065,1980,2104,2873,3301,2846,2706,2840,2757,2249,2227,2146,2159,2391,2348,2373,2431,2523,2500,2420,2520,2693,2856,3205,2963,2677,2582,2419,2574,3152,2974,2418,2730,3157,2696,2119,2077,2232,2567,2822,2680,2330,2021,2054,2216,2210,1978,2039,2531,2699,2264,2320,2327,2132,2292,2238,1935,1909,1975,1784,1970,1951,1847,2272,1790,1541,1625,1570,1627,1626,1710,1688,1549,1525,1476,1531,1588,1560,1802,1534,1375,1393,1614,2553,2531,2556,2574,2706,2974,2687,2104,1944,2045,1826,1575,1543,1758,1659,2433,2634,2622,2567,2622,2737,2815,3198,3168,2802,2513,2215,1968,2297,2502,2862,2576,2154,2369,2756,3183,2979,2147,2326,2533,2400,3183,2802,1908,1923,2379,2308,2199,2298,2076,1860,2075,2381,2618,3047,3824,3948,3725,2907,2750,3010,3206,2919,2784,2695,2427,2179,1875,1782,1833,2325,2898,3388,3219,3139,3143,2599,2211,2227,1715,1650,1990,1929,1658,2136,1965,2106,2503,2955,2976,2919,2941,3124,3473,3460,2877,2975,3030,2592,2379,2343,2016,1841,2021,1877,1770,1822,1820,1837,1895,1959,1998,1898,1814,1865,1830,1801,1682,1566,1620,1749,1805,1795,2360,2635,3233,3116,3103,2555,2663,2963,2476,2661,2978,2695,2617,2127,2032,2283,1939,1628,1548,1620,1587,1780,1815,1952,2260,2292,1685,1636,1676,1843,1878,2066,2922,2889,2114,1873,2679,3259,3385,2634,2409,2896,2766,2917,2337,2641,3061,2392,2733,2636,2469,2790,2737,2925,3708,3940,3637,3472,3453,3259,2654,3593,3820,3597,3657,3765,3684,3034,2564,2734,3185,3190,2821,2672,3129,2928,2285,1898,2282,2725,2785,2938,2808,2768,2974,2642,2396,2666,2749,2701,2512,2486,2810,3030,2845,2659,2575,2280,2258,2375,3134,3508,3342,3423,3370,3110,2916,2778,2931,3081,3043,3040,2996,2976,3118,3273,3296,3152,3020,2314,1886,1998,2812,3241,3353,3772,3254,2615,2945,2597,2895,3131,3001,2885,3037,3284,3101,3208,3610,3829,3812,3354,2810,3948,3726,3509,3463,3293,3190,3296,3197,3106,2980,2985,3406,3337,2931,2743,2957,3296,3111,2553,2555,3073,3072,2961,2785,2061,1906,2190,2221,2683,2647,1852,1680,1728,1726,1757,1815,1670,1448,1569,2200,2426,2317,3001,2797,1954,2269,2599,2836,2887,2356,2095,2736,3152,3155,3331,3262,2912,2532,2181,2476,2474,2709,2394,1870,1911,2247,2470,2819,2604,2711,2708,2794,2379,2140,2591,2754,2293,2155,2796,3596,3729,2811,2745,3220,3272,2338,2252,2752,2927,2654,2786,2956,2645,2159,1889],[2725,2765,2751,2451,2314,2782,3361,3143,2867,3252,2436,1812,1901,2086,2171,2510,2733,2002,2044,2656,2787,2619,2876,3001,3055,3082,3283,3442,2570,2020,1919,2177,2243,2176,2355,2379,2563,2832,2479,2508,2427,2314,2234,2128,1678,2019,2514,2523,2445,2227,2322,2545,2464,2221,2138,2370,2679,2598,2577,2681,2843,3319,3307,2778,2486,2403,2562,2146,2364,2962,2930,2588,2525,2362,1794,1426,1908,2000,1722,1521,1516,1658,2118,1790,1771,2112,1820,1509,1577,2025,2302,2545,2274,2084,2690,3256,3199,3240,3299,3355,3448,3465,3342,3325,2851,2939,3255,3016,3134,3161,3207,3176,3312,2258,2580,2983,3274,3569,2949,3176,3481,2930,2713,2510,2645,2750,2940,2954,2702,2894,2854,2647,2851,3351,3204,2599,2412,2636,2854,2744,2315,2036,1882,1725,1776,2067,2569,2391,2482,3457,3928,3692,3199,2909,3024,3195,3257,3647,3371,3160,2548,1771,1685,1772,1597,1663,2004,2341,3141,4045,4522,4384,3654,3242,3219,3140,3182,2686,2192,2519,3024,2330,2223,2466,2366,2313,2362,2398,2288,2212,2059,1843,1750,1609,1613,1897,2042,2028,2293,2179,2281,2253,2412,3130,3033,2285,2105,2167,2053,2192,2469,2061,2014,2183,2054,2069,2121,1691,1569,2126,2288,1939,1964,2414,2503,2813,2955,2386,1632,1814,1885,2050,1997,1840,1909,2009,2011,1933,1846,1967,2042,2337,2058,1641,1958,1877,1698,1926,2386,2390,2549,2908,3298,3629,3007,1980,1922,1916,2324,2647,2410,1523,1564,2064,2566,3211,3469,3222,2847,2531,2240,2742,2611,1940,2082,2290,2424,2597,2530,2197,2083,1995,1943,2411,2542,3300,3500,2147,1760,2042,2304,2229,2656,3090,2651,1994,1688,1815,1782,1804,1992,2474,2576,2398,2184,2565,2844,3185,2449,2100,2152,2466,1990,2020,2352,2362,2943,3252,3333,2988,2653,3085,3132,3140,3737,4073,3081,2809,2988,2879,3028,3090,2968,2635,3065,3389,2599,1671,1969,2796,3292,3293,3096,3234,2788,2393,2522,3009,3846,4075,3684,3243,3238,3520,3934,3811,3906,2799,2518,2807,3053,2989,3044,3054,2792,3277,3530,3211,3255,3436,3334,2997,2919,2441,3032,3087,2335,2287,2294,2243,2603,2418,2099,2125,2217,2652,2766,2863,2854,3461,3786,3299,3913,4442,4795,4621,4256,3586,3805,3414,2966,3304,3625,3373,3343,3739,3695,3409,2435,2470,2332,2844,2658,2462,2148,1944,1902,2099,2187,1898,1656,1769,1667,1732,1464,1333,1627,1737,2172,1975,1827,1802,1571,1287,1190,1578,1544,1465,1310,1362,1448,1370,1338,1294,1132,1268,1620,1582,1391,1441,1284,1626,2358,2397,2237,1894,1714,1522,1289,1266,1266,1368,1411,1513,1362,1372,1550,1611,1400,1609,1923,2214,1560,1430,2076,2131,1787,1823,1538,1788,2929,3398,3076,1854,2275,3375,2770,1916,1793,1964,2049,1856,1814,1935,2046,1802,1708,1697,1914,2297,2133,2113,2436,3002,2563,1878,1918,1854,1740,1895,1801,1618,1902,2380,2138,1693,1679,2114,2534,2763,3089,3054,3374,3640,2662,2099,1854,1899,2823,3217,2402,2076,2690,2684,2464,2454,2477,2420,1658,1649,1886,2400,2168,1775,1900,1674,1632,1932,2098,2160,2163,2420,2164,2294,1903,1611,1476,1642,1687,1852,1918,2056,2232,1847,2013,2536,2185,1661,1519,1816,1776,1930,2132,2261,2217,2072,2174,2454,2540,1721,1627,1619,1737,2125,2238,2170,1949,2089,1788,1521,1726,1974,2174,2132,2064,2559,2802,3165,3044,2787,2935,2761,2232,1947,2036,2030,1960,2272,2010,1879,2110,2160,1917,1736,1858,1747,1985,1876,1519,1879,1802,1451,1642,1626,1129,1252,1654,1905,1802,2310,2284,1642,1494,1533,2277,2569,2737,2790,3121,2922,2296,3103,3310,2519,2055,2169,2461,2373,2714,2719,3370,2818,2621,2579,2564,2700,2966,3118,3106,2932,2734,2791,2908,3437,3681,3215,3124,3117,3124,3493,4103,3993,3442,3307,3333,3571,4007,3737,3024,3362,3422,3531,3474,3576,3465,3208,3186,3377,3326,2922,2774,3463,3463,3304,2966,3210,3230,3098,3594,3733,3670,4029,3394,2563,2561,2187,1969,1787,2817,3112,1960,1635,2449,2761,2677,3117,3085,2646,2110,1791,1617,1575,2280,3050,3218,3264,3090,2874,3159,3727,3686,3437,3189,2338,2159,2013,2697,2329,2175,2035,2135,2171,1869,1649,2316,3067,2889,2786,2185,2710,3297,3161,3563,3705,3561,3628,3732,3523,2542,1645,1660,1726,2242,1801,1982,2241,2878,3109,2400,1765,1775,1959,2433,2432,1914,2093,2518,2464,1812,1579,1630,1655,1802,1804,2219,2280,1733,1743,1683,2050,2087,2149,2187,2126,1493,1697,1750,1532,1302,1478,1784,1919,1606,1483,2064,2844,2814,2777,1785,1764,1543,1874,2081,1970,2698,3252,2977,2331,2018,2214,2166,2404,2627,2159,1922,1884,1755,1621,1439,1526,1837,1986,2433,2792,2989,2076,1654,2198,2330,2792,2985,2813,3031,3295,3614,3663,3514,3329,2709,2665,2696,2900,2750,2713,2724,2723,3436,4175,4236,3990,3661,3736,3222,2517,2517,2036,2583,2750,2193,1919,1982,2393,2490,2218,2487,2367,1924,1891,2092,1819,1995,1871,1673,1799,2016,2143,1787,1801,1997,2034,2279,2434,3242,3572,2762,2426,2740,2699,2386,1530,1213,1660,2072,2101,2096,1975,2843,2821,2202,2555,2842,3304,3654,3904,4030,4062,3968,3806,3754,3583,3428,3592,3555,3494,3625,3848,3790,3715,3330,2463,2075,2023,2236,3088,3967,4085,4069,3837,3710,3361,3041,2880,2585,2325,2812,3890,4232,4142,4183,4080,3692,3586,3559,3431,3392,3570,3389,3183,3062,2852,2751,2807,3006,3011,3060,2984,3029,3200,3239,3374,3356,3265,3233,3183,3267,3286,3298,3210,3696,3786,3736,3745,3698,3444,3025,3371,3882,3924,3851,3854,3682,3121,3422,3499,3458,3484,3514,3244,3007,3153,3352,3504,3418,3183,3051,3052,2968,2602,2288,1936,1710,1924,2030,2292,3020,3288,2764,2336,2764,2618,2203,2655,2849,3016,3117,3107,3270,3506,3499,3647,3798,3759,3770,4026,4409,4188,4175,3951,3453,3373,3603,3678,3725,3520,3398,3425,3146,2534,2214,2420,2631,2688,2547,2468,2097,1769,1737,1734,1877,2139,2270,2513,2447,3010,3779,3691,3828,3874,3407,2670,2138,1729,1922,2032,2224,2866,3188,3421,3354,3019,2470,1939,2141,2401,2330,1932,1662,1507,1422,1569,1448,1584,1860,2004,2150,2301,1918,1640,1634,2228,3079,3187,2575,1856,2066,2652,2962,3208,2706,2100,2056,2333,2064,2320,3473,3438,2651,2809,2024,1853,2058,2026,2158,3249,4485,4959,4624,4255,4157,4188,4364,4351,3885,3891,3895,4112,3994,3385,3715,4188,3948,3974,3895,3491,3430,3257,3755,4085,4168,3887,3264,3491,3738,3220,2236,2444,3514,3911,4395,4583,4431,4263,4256,3554,3328,3528,3646,3896,3782,3557,3792,4181,4357,4252,4408,4656,4688,4419,4071,3510,2954,2654,2321,2353,2198,2049,2044,2632,2192,2044,2078,1913,2001,2126,2455,2194,2040,2095,2765,3481,3684,3801,3306,3178,3007,2791,3608,3603,3365,3437,3252,2860,2747,2545,1783,1287,1374,1510,2199,2884,3153,2641,2707,2224,1764,1814,1775,1567,1802,2689,2547,3186,3576,3579,3807,3029,2543,2451,2343,2975,3333,3077,3620,4169,4011,3572,3416,2855,2327,1915,2520,2656,2648,2962,3045,3111,3507,3847,3972,4092,3760,2929,2793,2546,2667,2667,2385,2200,2087,2042,2179,2206,2242,2294,2151,1637,1694,2427,2917,3174,3204,2532,2010,2509,2777,2788,2453,2207,2239,2512,2533,2640,2731,2897,2796,2657,3074,2696,1781,2181,3372,3514,2810,2273,2105,2216,2238,2251,2016,1577,1813,2113,1866,1809,2205,2962,3382,3198,2896,2758,2240,1925,2165,1923,1819,1968,1765,1853,2082,2200,2128,1634,1444,1664,1724,1610,1687,1785,1749,1550,1641,1685,1883,2061,1716,1640,1436,1498,1594,1669,1720,2235,2579,2836,3207,3119,2374,2064,1713,1920,1724,1593,2004,2026,2003,2646,2931,3012,2753,2619,2784,2736,2679,2620,2460,2143,2501,2054,2372,3002,2928,2519,2328,2595,2854,3362,3230,2598,2544,2749,2544,3018,2576,1932,2338,2510,2254,2353,2326,2058,1943,2172,2447,2042,2476,3094,3017,2727,2545,2165,2287,2728,2669,2843,3041,3043,2658,2295,1989,1769,1781,2150,2850,3342,3432,3305,3001,2289,2109,2052,2552,3172,2577,2183,2292,2213,1840,1927,2464,2742,2894,3056,3258,3024,3199,2902,2619,2448,2413,2750,2931,2645,2360,2222,2059,1979,1930,2099,2104,2165,2148,1886,1761,1968,2223,2793,2916,2060,1718,1860,1879,2517,2428,2818,3569,4247,4260,3695,3320,3740,3937,3849,3538,3852,3754,3459,2635,2309,2471,2025,1686,1644,1650,1645,1616,1851,2260,2558,2757,1893,1595,1002,1430,1898,2222,2743,2866,2219,2013,2684,3017,3428,3486,2725,2600,3063,3381,2564,2706,3030,2454,1982,1763,2088,2519,2533,3393,4329,4152,3869,3724,3936,4063,3393,3395,3597,3806,3829,3720,3717,2889,2623,3222,3262,2844,2829,2844,3209,3360,2765,2386,2908,3017,2879,2852,2730,2792,2848,2669,2523,2754,2662,2403,2499,2657,2898,3275,3188,3141,2897,2500,2525,2774,3073,3216,3353,2933,2507,2974,3160,2944,2906,3016,3052,3169,3110,3232,2941,3066,3230,3140,2671,2491,2593,2539,2898,3276,3485,3718,3040,2453,2987,3122,3307,3309,3023,2641,2645,2472,2172,2569,3263,3868,3934,3356,3312,3883,3507,3436,3484,3108,3188,3606,3592,3914,3842,3153,2635,2664,2732,2944,3519,3321,3064,2776,2603,2915,2928,3110,3260,2686,2194,1790,1927,2966,3377,2420,1584,1718,1803,1735,1913,1752,1701,2036,2309,2364,2057,2438,2380,1702,2088,2678,2950,3045,3081,3120,3089,3138,3236,3297,3152,2713,2098,2224,2797,2673,2344,2109,2288,2768,2746,2894,3020,3292,3448,2989,3007,2685,2176,2824,3045,2363,2126,2647,3300,3510,2653,2489,3063,2938,2338,2308,2578,2736,2714,2530,2261,2462,2266,1915],[2173,2138,2609,2935,3011,3174,3244,3486,3479,2934,2123,1689,1807,1531,1864,2631,2332,1825,2060,2652,2685,2547,2751,2987,3021,3163,3173,3173,2864,2357,2131,2219,2496,2668,2925,2950,3120,3208,2408,2388,2576,2113,2115,2216,2062,2721,2950,2626,2602,2513,2589,2659,2612,2462,2508,2781,2744,2087,2477,3015,2902,3207,3294,2613,2193,1967,2610,2426,2328,2642,2777,2500,2497,2137,1339,1586,2087,2062,1749,1682,1880,1998,1984,1620,1691,2245,1939,1644,1741,2034,2836,3076,2397,2742,3341,3564,3288,3393,3337,3347,3293,3044,3094,3430,3383,3467,3353,2972,3199,3206,3411,3426,3480,2570,2247,2655,3230,3355,2922,3316,3798,3363,2915,2557,2645,3009,3288,3112,2916,2964,3317,3278,2932,2844,2790,2584,3024,3066,2736,2275,2051,2414,2633,2353,2022,2255,2687,3031,3441,3800,3479,3255,3418,3427,3323,2984,2765,2769,2854,3154,3335,2720,1770,1504,1539,1748,2415,2240,2564,3322,3684,3087,2497,2564,2868,3312,3204,2676,2048,1353,1660,2282,2190,2332,2464,2369,2197,1950,1753,1703,1669,1646,1804,1872,1792,1839,1952,1701,1787,2067,2255,2038,1678,2208,2490,1952,1578,1855,2010,2342,2472,1978,1826,1740,1791,1981,2076,2075,2275,2545,2262,1884,1958,2352,2196,2007,1980,2125,1942,1980,2089,1933,1714,1710,1810,1853,2055,2198,2060,1842,1958,1785,1619,1482,1411,1532,1510,1696,2128,2335,2567,2867,3141,3239,2751,2056,2266,1670,1828,2390,2065,1967,1981,2329,3419,3700,3286,3110,2620,2216,2437,2799,2686,2338,2226,2428,2589,2432,2171,1973,2065,2279,1981,1996,2556,3218,3317,2474,1959,2145,2183,1881,2243,2380,2365,2174,2107,1949,1917,1876,1835,1715,1776,1645,1776,2011,1829,2446,1974,1810,2110,2725,2196,2441,2828,2756,2824,3295,3884,3710,2930,3253,3378,3584,3761,3067,2275,2577,2507,2630,2879,3010,3234,3414,3528,3500,3372,2054,2112,2505,2976,3262,2876,2505,2387,2313,2415,2828,3704,3846,3550,3391,3453,3929,4023,4083,3729,2529,2565,3446,3350,3035,3509,3157,3343,3820,3783,3208,3696,4333,3402,2783,3075,2969,3046,3332,2866,2716,2545,2556,3006,2700,2070,2000,2396,2503,2454,2924,3264,3709,3278,3018,3603,3761,3975,4200,3968,3504,3507,3012,2871,3177,3242,3081,3326,3768,3647,3457,2464,2348,2500,2805,2857,2373,1841,2155,2294,2402,2624,2390,2007,2275,1963,1853,1671,1477,1669,1610,1942,1936,1827,2037,1615,1396,1274,1461,1595,1382,1412,1346,1273,1383,1761,2084,1797,1553,1790,1664,1488,1373,1471,1789,2094,1757,1747,1577,1665,1748,1482,1242,1430,1464,1658,1807,1518,1763,1587,1829,1946,1673,1917,1857,1393,1529,1766,1730,1949,1984,1743,1334,1715,2976,2938,1722,2895,3504,2542,1612,1731,2491,2316,1852,1847,1788,2021,1749,1837,1788,1713,1886,2378,2432,2135,2526,2352,2007,2243,2136,1875,1882,1683,1963,2427,2268,2206,1931,1486,2108,2626,2902,3139,2495,3134,3828,3212,2224,1799,1763,1998,2532,2762,2712,2712,2490,2232,2102,2603,2421,1926,1908,1726,2047,1904,1860,1927,1568,1725,1936,1703,1895,2266,2376,2150,2072,1629,1686,1830,1850,1932,2160,2047,1951,1954,1477,1896,2377,2490,2164,2062,2121,1734,1585,1750,1869,2009,2381,2418,2359,2286,1992,1703,1658,1642,2309,2545,2269,2221,2054,1648,1512,1820,2078,2156,2285,2730,2902,2795,2521,2485,2871,3264,2811,2541,2464,2083,1743,2010,2593,2190,2051,2309,2470,2462,2345,1955,1587,1516,1774,1984,1931,1956,1672,1692,1506,1091,1132,1671,1722,1650,2310,2580,2135,2265,2135,2543,2410,2577,2357,2463,2247,2115,2717,2591,2088,2418,2736,2888,3069,3107,2849,3251,3220,3030,2889,2493,2053,1736,1881,2149,2354,2489,2513,2723,3155,3243,3088,3072,3273,3176,3010,3407,3362,2952,2988,3094,3129,3830,3189,2338,2509,2889,3087,3325,3306,3306,3311,3340,3398,3405,3340,3233,3201,3233,3131,3117,3166,3176,2966,3043,3413,3600,3394,2652,2759,2658,2232,2041,1922,2939,2928,1883,2321,3276,3041,2664,2811,2958,2527,2206,2155,1693,1521,1771,2540,3081,3060,2829,2637,2975,3509,3435,3558,2818,1132,1735,1907,2021,1763,1806,1994,2066,2059,1788,1757,2392,2946,2864,2814,2307,2635,3187,3363,3574,3676,3560,3494,3580,3448,2489,1810,1764,1745,2091,2004,1983,1795,2091,2470,2098,1573,1731,2510,2978,2603,2222,2277,2503,2224,1453,1703,1809,1726,1700,1763,2756,2854,1749,1818,1857,2663,2106,1888,2025,1813,1599,1606,1469,1496,1457,1499,1701,1713,1423,2054,2507,3033,2654,2419,1726,1816,1695,1726,1704,1862,2603,2754,2476,2807,2540,2624,1996,2066,2470,2118,2088,2497,2159,1534,1694,1904,1631,1361,2180,2688,2198,1224,1067,1977,2459,2690,2820,2543,2213,2709,3508,3567,3085,2744,2451,2513,2574,2391,2385,2570,2721,2810,3073,3673,3989,3918,3701,3629,3440,2875,2268,2363,2508,2052,2148,2276,2066,2668,2759,2487,2273,2359,2190,2247,1915,1712,1887,1930,1994,2188,2708,2940,2308,2473,2323,2418,2160,2024,2968,2623,1544,1861,2159,2376,1997,1472,1386,1466,1788,1934,1780,1811,2557,2347,2052,2353,2778,3238,3608,3986,4103,4024,3805,3556,3539,3519,3443,3760,3754,3531,3463,3598,3677,3762,3448,2700,2847,2827,2696,3240,4052,4224,4005,3951,4006,3585,2879,2352,2231,2576,3279,3912,4056,4027,4037,3939,3848,3828,3782,3541,3145,3032,3007,2833,2841,2851,2926,3248,3647,3738,3693,3533,3611,3481,3338,3460,3631,3752,3540,3317,3356,3356,3108,2894,3318,3610,3871,3682,3287,3231,3400,3827,3808,3308,3277,3674,3625,3527,3584,3611,3043,2730,3300,3401,3037,3156,3330,3314,3239,3143,2951,2942,3075,3018,2602,1991,1823,2066,2255,2590,3019,2893,2474,2353,2095,1895,2609,3677,3631,3286,3275,3097,3232,3674,3698,3503,3563,3841,3894,3850,4272,4596,4349,3912,3664,3896,3813,3610,3499,3192,3198,3027,2437,2247,2445,2580,2576,2450,2230,1962,1733,1710,1794,2019,2455,2828,2740,2533,2609,3329,3748,3882,4052,4049,3459,2688,2382,1853,1955,2061,1965,2520,3062,3270,3206,2775,2137,1953,2050,2076,2347,2153,1664,1436,1299,1369,1373,1482,1511,1638,1777,1775,1802,1558,1771,1896,2030,2342,1858,1441,2065,2533,2625,2901,2571,2066,1941,1991,2094,2429,3584,3420,2345,2571,2232,2004,1996,1999,2746,3239,3542,4772,4845,4700,4484,4320,4320,4441,3816,3327,3274,3357,3292,3006,3295,3972,3694,3819,3708,3537,3708,3768,4104,4289,4260,3911,3581,3652,3684,3484,2972,2522,3659,4333,4600,4644,4488,4215,3847,3497,3687,3819,3427,3317,3262,3209,3356,3794,4358,4195,4343,4741,4813,4529,4434,4027,3247,2350,1941,2251,2274,2007,1881,2376,2082,2372,2242,2119,1984,2069,2080,1786,2093,2362,3484,3697,3859,3481,3393,3184,2944,2834,3133,2890,2858,3050,2840,2873,2822,2641,2070,1785,1849,1805,2585,3131,3317,3621,3421,2452,2024,2142,2252,2034,2050,3018,3007,3146,3239,3071,3658,3480,2807,2451,2410,3348,3855,3662,3861,4292,4063,3694,3225,2721,2348,2159,2724,2710,2403,2446,2303,2582,3564,3873,3862,4074,3854,3273,2610,2213,2473,2877,2789,2158,2125,2126,2138,2265,2172,1881,1969,1874,1958,2714,3687,3980,3791,2660,1976,2732,2657,2922,2668,2407,2403,2491,2702,2984,2916,3356,3344,2749,3116,2358,1485,2457,3863,4116,2943,2124,2061,2082,1991,2074,1999,1439,1608,1764,1892,2391,2857,3242,3224,2720,2319,2179,1980,1837,1757,1809,1873,1880,1713,2012,2833,2420,2259,1760,1544,1748,1857,1995,1982,1952,2145,2124,2006,1723,1678,1714,1475,1414,1391,1928,2505,1977,1649,2392,2947,2738,2822,2754,2669,2363,1596,2116,2564,2221,2209,2273,2398,2376,2046,2492,2677,2709,2289,1902,1562,1809,2177,2010,1981,2131,2353,2626,3045,3106,3036,3076,3167,3335,2720,2415,2501,2916,2710,2642,2332,2255,2332,2171,2182,2084,2107,1874,2165,2133,2103,1881,2449,2832,2767,2973,2299,1795,2224,2157,1848,2294,2925,3531,3306,2917,2681,2290,1823,1748,2011,2668,3163,3175,2953,2499,2461,2487,2736,2722,2392,2485,2813,2597,1760,1717,2084,2789,3025,3006,2897,2595,2432,2264,2272,2239,2589,3072,3308,3340,2943,2413,2304,2425,2573,2943,2856,2924,2654,1926,1849,1884,2243,3644,4121,2866,1823,1816,1833,2280,3045,3178,3781,4510,4260,3839,3616,3338,3375,3838,4020,4568,4197,3929,3959,3578,3125,2376,1742,1635,1752,1854,1685,1837,1886,1916,1958,1715,1366,1146,1652,1784,2476,3340,2625,2388,3173,3791,3326,3195,3506,2414,2029,2729,3439,3084,2963,2971,2362,1973,1913,1944,1739,2182,2988,3619,3618,3483,3500,3340,3054,2775,3078,3618,3983,3647,3619,3352,2573,2979,3342,3044,2766,2886,3060,3293,3266,2902,2989,3051,2887,2930,2959,2682,2652,2669,2638,2554,2602,2669,2789,2821,2552,2673,3034,2774,2630,2679,2765,2909,2880,2965,3100,2832,2113,2191,2662,2796,2888,2756,2743,2877,3068,3123,2756,2617,3042,3219,3208,3094,2971,3082,3213,3515,3732,3526,3420,2834,2934,3166,3209,3108,3195,2897,2291,2228,2200,2126,2548,3086,3393,3264,3047,3343,3498,3439,3451,3354,3203,3389,3515,3230,3244,3785,2987,2218,2230,2558,2868,3367,3262,2607,2707,2445,2509,2575,3129,3252,2892,2223,2020,2335,2937,2900,2181,1865,1760,1559,1555,1920,1919,2073,2347,2100,2082,1751,1864,2050,1798,1574,2133,2867,3082,3103,3099,3023,2957,2862,3113,2912,2465,2097,2266,2746,2827,2749,2514,2771,2923,2669,2888,2983,3105,3334,3129,3199,2965,2463,2467,2495,2264,2044,2556,2798,2552,2979,3074,2864,2596,2298,2322,2823,3221,3286,2472,2247,2907,2368,2057],[1636,2113,2714,3179,3098,3349,3571,3819,3349,2778,2568,2449,2356,2000,2282,2565,2180,1987,2388,3022,2735,2900,3074,3016,2975,3177,3370,3484,2950,2447,2491,2690,2734,2838,2973,2814,2890,2890,2450,2500,2640,2560,2475,2305,2337,2812,3054,2967,3069,3306,2930,2958,2698,2474,2462,2683,2372,1992,2518,3098,3233,3073,2768,2137,2019,2113,2521,2666,2471,2655,2769,2548,2647,2434,2106,2320,2036,2150,2253,2169,1891,1688,1657,1713,1748,2054,2078,1946,1968,1993,2712,3168,3078,3859,3898,3416,3234,3134,3025,3073,3129,3263,3584,3817,3574,3427,3333,3278,3023,3071,3213,3217,3592,3589,3472,3662,3597,2967,2373,2546,3886,3798,2736,2306,2723,3204,3584,3703,3204,3081,3515,3381,2954,2922,2840,2895,2981,2814,2352,2048,2322,2712,3220,3165,2563,2534,2830,2901,3128,3608,3714,3841,3240,3182,2886,2543,2874,2796,2212,2446,3316,3204,1959,1601,2054,2236,2720,2613,2565,2518,2464,2130,2267,2298,2623,2965,2918,2241,2133,2024,2674,2662,2183,2221,2276,2100,1813,1754,1648,1593,1588,1736,1918,1826,1770,1877,1948,1852,1905,1747,1663,1860,2250,2372,2369,1565,1060,1475,1938,1905,2206,1989,1666,1493,1670,1803,1774,1786,1888,2081,2341,2390,2372,2381,2233,2020,2047,1995,1997,2367,2303,2055,2236,2220,2062,2553,2853,2878,2625,2004,1788,1770,1678,1279,1120,1287,1363,1644,1926,2276,2066,2238,2394,2642,2346,2165,2228,1759,1754,1898,2177,2626,2266,2517,2963,2974,2918,2727,2301,2575,2546,2416,2503,2320,2093,2181,2124,2013,1876,1968,2142,1999,1907,1828,2366,2888,2624,2197,1980,2007,2151,1859,1794,1780,2248,2819,2814,2373,2160,1876,1625,1514,1509,1355,1417,1542,1838,1836,1890,1755,1740,1954,2119,2403,2630,2532,2566,2769,3284,3431,3356,3547,3726,3514,3156,2480,2448,2687,2699,2909,3136,2967,2756,2342,2322,2335,2358,1837,1970,1881,2526,3230,2829,2753,3037,2824,2461,2628,3248,3541,3123,2916,2994,3660,4046,4157,3548,3050,3342,3814,3950,4173,3670,2561,2854,3685,3902,3131,3362,3984,3043,2364,2630,2501,2346,3218,3291,2943,2951,3354,3703,2766,1802,1860,2358,2337,2030,2377,2688,2954,2622,2620,2828,2414,2376,2442,2592,2711,2466,2486,2734,2741,2368,2048,2181,2714,2773,3052,2322,2227,2864,2986,3064,2934,2592,3179,3354,3108,2889,2591,2068,2430,2337,2009,1413,1398,1676,1485,1737,1708,1433,1686,1768,1454,1378,1611,1815,1520,1599,1715,1532,1722,1706,1704,1710,1700,1656,1858,1656,1249,1291,1806,1830,1394,1354,1416,1377,1500,1435,1444,2038,1801,2174,1907,1408,1592,1684,2155,2270,1813,1828,1866,1552,1666,1820,2085,2209,2073,2115,1741,1937,3009,2186,1713,3212,3675,2756,2207,2856,2759,2050,1646,1919,1528,1996,2289,2167,1926,1846,1887,2238,2308,2221,2710,2313,2185,2275,1831,2113,2376,1926,2080,2064,1625,1609,1593,1876,2335,2213,2294,2177,2340,3076,3444,3160,2430,1900,1773,1831,2209,2762,2990,2334,1781,1780,1622,2168,2304,2336,2343,2181,1814,1539,1660,1896,1759,2088,2061,1722,1730,1910,1927,1700,1611,1538,1583,1774,1757,2134,2338,1808,1529,1666,1476,1914,2497,2972,2635,2376,2135,1777,1568,1767,2103,2360,2552,2654,2293,2238,2152,1858,1816,1620,1682,1991,2128,2016,2402,2144,1749,1870,2385,2889,3072,2851,2868,2685,2568,2720,2652,2452,2019,2334,2060,1761,1760,1957,2361,2268,2195,2412,2729,2858,2348,1737,1527,1516,1770,1933,1709,1604,2231,2001,1736,1658,1590,1938,1879,1722,2118,2358,2104,2411,2487,2554,2478,2265,2500,2824,3094,3356,3100,2686,2298,3234,3491,3530,3628,2687,2319,2275,2813,3416,2632,1968,1836,1740,1714,1842,2238,2282,1914,2396,2445,2822,3729,3828,3572,3141,3094,3517,3316,2580,2886,2990,2899,3482,3221,2802,2992,3233,3218,3196,2961,3085,3249,3238,3400,3374,3209,3083,2975,3098,3118,3002,2876,2810,2773,3068,3272,3256,2802,2840,2941,2507,2495,2510,2708,3378,3301,3031,3262,2943,2350,2872,2791,2290,1875,2132,2249,2034,1948,2330,2806,3134,2977,2881,2976,3226,3345,3332,3598,2474,1348,1616,1380,1995,2322,1912,1823,1937,2316,2276,2084,2589,2957,2994,3164,2976,3275,3724,3894,3740,3559,3576,3338,3530,3664,2132,1737,1692,1745,1638,1946,2430,2463,2075,1858,1762,1675,1944,2652,2320,1691,2002,2343,2508,1879,1892,2461,2116,1809,1977,1860,2060,2039,1462,1837,1842,2170,1705,1665,1792,1632,1700,1588,1470,1622,1394,1554,1842,1729,1750,2565,2675,2648,2774,2574,1968,1727,1665,1592,1395,1575,1910,2073,2187,2663,2398,2351,1782,1375,1650,1827,1710,2162,2508,1916,1664,1803,1448,1384,2080,2390,1902,1378,862,1086,2012,2768,2785,2270,1836,2258,2930,2955,2664,2555,2711,2966,2675,2092,1954,2293,2902,3074,2980,3315,4042,4327,3911,3189,2666,2652,2846,3216,2884,1975,2161,2335,2454,3277,2928,2326,2382,2161,1957,2588,2433,1789,1802,2033,2461,3066,3318,2641,1917,2543,2709,2308,1995,2038,2618,2315,2416,2522,2006,2135,1828,1415,1606,1884,1614,1677,1953,1961,2365,2460,2242,2277,2612,3045,3478,3913,3992,3948,3751,3418,3356,3318,3275,3417,3444,3462,3654,3670,3339,3443,3774,3776,3906,4042,3724,3840,4156,4453,4552,4484,4428,4067,3118,2580,3056,3492,3645,3861,3964,3889,3930,3955,4042,3908,3776,3640,3316,2964,2920,2843,2896,2976,3112,3672,4079,4156,3917,3677,3813,3920,3840,3710,3873,3975,3698,3518,3508,3287,2876,2845,3151,3500,3754,3648,3694,3693,3470,3907,3605,3073,3188,3168,3282,3488,3679,3894,3288,2865,3222,3471,3208,3020,3218,3294,3212,3184,2979,2853,2686,2692,2265,1759,1717,1792,2118,2769,2787,2580,2060,2152,2276,2798,3262,3586,3495,3061,3244,3494,3270,3131,3186,3177,3406,3718,3893,3948,4061,4315,4284,3957,3845,3614,3067,3203,2946,2673,2634,2345,2279,2576,2666,2603,2428,2029,1803,1700,1672,1898,2213,2668,2872,2728,2570,2739,3106,3493,3771,4014,4084,4112,3768,2988,2046,1928,2057,2041,2030,2018,2246,2401,2322,2096,1950,1991,2055,2147,1968,1879,1723,1704,1544,1571,1521,1510,1418,1664,1656,1631,1910,1735,2021,1844,1685,1970,2066,1676,1962,2329,2352,2009,1725,1719,1675,2045,2198,2109,2351,2049,1902,2011,1990,1919,1882,2242,2657,2578,2675,4163,4660,4738,4623,4632,4540,4597,4132,3406,3156,3199,3110,2950,3084,3972,4176,4085,4087,4042,4046,4046,4074,3937,3686,3644,3912,3995,3978,3936,3748,3354,4283,4736,4731,4600,4407,4263,4156,3962,3974,4109,3624,3395,3305,3291,3428,3673,3964,4112,4416,4657,4632,4536,4564,4308,3520,2621,2040,1952,2238,1991,2187,2242,2019,2171,2280,2333,2320,2663,2464,2179,2350,2893,3824,4075,4028,3390,3316,3067,2833,2876,2529,1841,2076,2109,2320,2589,2504,2264,1840,1968,2084,1930,2330,2599,2855,3396,3307,2600,2963,3029,2998,2245,2641,3564,3762,3843,3308,2896,3339,3384,3141,3274,3142,3205,3640,3610,3890,4177,3851,3650,3171,2526,2183,2507,3648,3814,3723,3211,2394,2641,2636,2283,3039,3820,3530,2850,2162,2024,2600,3123,3028,2422,2504,2468,2208,2135,1976,1713,2012,2706,2471,2429,3316,3664,3678,2639,1850,2706,2758,2854,2706,2089,2188,2521,2731,2807,2673,3226,3746,2973,3155,2764,2635,3427,4148,4105,3386,2884,2546,2677,3084,2901,2596,2026,1872,1931,1902,2457,3334,3652,3632,3087,2346,2117,2296,2281,2247,2579,2512,2017,1738,1995,2745,2155,1728,1537,1570,1961,2189,2065,2250,2181,2071,2056,1784,1453,1678,2125,1876,1570,1399,1924,2809,2411,1769,2158,2978,2736,2590,2569,2597,2372,1828,1955,2242,1997,1968,2079,2070,2075,1722,1735,2424,2471,1904,1667,1584,1526,1679,1592,1743,2261,2380,2588,3090,3203,3463,3428,3207,2947,2025,2018,2242,2409,3003,2946,2294,1991,1966,2294,2292,2276,2311,2142,2103,1938,2413,2433,2456,3047,2994,2752,1908,1753,1978,2013,1750,2212,2609,3137,3262,3117,3163,2823,2267,1835,1805,2040,2568,2928,2908,2478,2578,2442,2282,2105,1977,2188,2166,1897,1870,1948,2194,2719,2692,2507,2364,2427,2684,3219,3253,2723,3068,3782,3892,3762,2973,2583,2233,2645,3068,3350,3158,3216,2957,2159,2198,1973,1874,2819,4034,3362,2222,2102,2002,1932,2720,3394,3679,3807,4055,3557,3034,2962,3526,4385,4847,4773,4064,3731,3653,3216,2619,2444,2031,1909,1700,1870,2104,2430,2205,1930,2089,1982,1713,1804,1711,1574,1908,2639,2359,2250,3145,3288,3002,3032,2978,2119,2048,2654,2952,3241,3064,2709,2425,2569,2724,2564,2139,1747,2314,2801,2697,2684,2636,2546,2667,2973,3651,3846,3580,3437,3489,3074,2921,3234,2710,2631,3076,3196,2973,2678,2578,2684,3038,2622,2866,3046,2980,2728,2826,2950,2832,2775,2939,2974,2964,2842,2619,2689,2707,2576,2759,2864,2798,2880,2968,3096,2988,2454,2105,2366,2596,2921,2951,2305,2583,3105,3174,3198,2920,2707,2857,3122,3150,2971,2816,3303,3540,3803,3736,3482,3473,3476,3166,2964,3107,3050,3587,2963,2334,2378,2497,2409,2542,2844,3007,2812,2399,2356,2796,3000,3130,3208,3366,3238,3223,3207,3495,3754,2987,2938,3115,2785,2334,2036,2266,3001,3688,2940,2420,2639,3183,3182,2910,2752,3296,3598,3197,2845,2812,2182,1614,1461,1522,1892,2338,2249,2320,2262,1851,1601,1819,2209,2137,1820,2498,2864,2668,3052,3010,2520,2118,2171,2452,2340,2314,2373,2783,3728,3632,3317,3019,2694,2502,2823,2592,2551,3099,3408,3165,3110,3008,2475,2131,2153,2417,2011,2274,2565,2790,2880,2787,2717,2620,2677,2932,3760,4001,4136,3453,3045,2906,2568,2309],[1765,2592,2980,2984,2980,3263,3617,3673,3588,3042,2596,2669,2710,2776,2499,2325,2486,2514,2753,3221,3186,3293,3151,2880,2905,2807,2812,2797,2620,2825,2942,3035,2977,2797,2832,2598,2653,2490,2260,2522,2945,2708,2188,2284,2442,3018,3608,3215,2889,3339,2951,2500,2286,1972,1919,1974,1790,2160,2268,2044,2723,2706,2720,2567,2737,2583,2644,2721,2593,2702,2711,2607,2600,3062,3110,2336,1477,2107,2425,2062,1778,1673,1642,1625,1423,1540,1698,1982,2174,2207,2828,3603,3728,3640,3016,2967,3452,3406,3164,3084,3179,3493,3764,3706,3167,3217,3531,3370,3143,3128,2953,3247,4004,4117,4152,3754,3172,2805,2872,2783,3495,3604,2897,3017,3497,3783,4013,4069,3865,3177,2790,3383,3271,3120,3090,2895,2760,3189,3019,2383,2567,3121,3500,3765,3342,2964,3176,3484,3307,3518,3554,2835,2862,3331,3234,2954,2833,2864,2414,1733,2595,3416,2722,2408,2245,2481,3118,3333,2858,2748,3018,2903,2973,2388,2236,2598,2465,2190,2106,2488,2547,2308,2243,2270,2698,2778,1972,1725,1714,1737,1806,1869,1968,1824,1803,1924,1996,2145,2056,1614,1577,2473,3076,2767,2340,1335,869,1259,1794,1983,1910,1741,1704,1627,1564,1599,1561,1344,1396,1652,1995,2016,2041,1898,1837,1751,1765,1891,2045,2673,3332,3306,3242,2988,2131,2717,3364,3251,2973,2482,1912,1826,1916,1617,1420,1428,1716,1678,1858,2243,2406,1945,1831,2103,2240,2322,2036,1789,1817,1992,2286,2380,1901,2140,2497,2445,2413,2356,2799,3341,3131,2504,2687,2532,2318,1931,1891,2051,1786,1773,2177,2043,1794,1809,1954,1788,1614,1523,1300,1645,2050,2285,2061,2294,2591,2684,2698,2989,3226,2510,1541,1651,1721,1653,2348,2713,2100,1822,1842,1691,1678,1874,1901,1903,1998,2145,2569,2245,2303,3051,3421,3711,3732,3379,2831,2453,2530,2522,2636,3119,3006,2445,1981,1545,1340,1447,1665,2018,2187,2330,2800,2724,2566,2482,2754,3165,3076,2989,3186,3265,2784,2519,3065,3104,3224,4060,3720,3616,3751,3989,4363,4525,3404,2350,2628,3483,3707,3188,3312,3345,2417,2186,2476,1959,2216,3189,3161,2545,2160,2545,3158,2705,2045,2112,2546,2366,1980,1836,1929,2053,2218,2511,2403,2001,1835,1797,2123,2232,2228,2329,2668,2595,2307,2007,1762,2320,2530,2656,2665,2913,3355,3529,3811,3974,3161,2829,3523,3629,3207,2563,1898,1979,2542,2337,1535,1870,2099,1636,1636,1645,1559,1556,1513,1253,1268,1647,1444,1207,2084,2483,1981,2122,1749,1649,1821,1746,1554,2053,1761,1378,1346,1470,1450,1427,1400,1520,1461,1488,1275,1481,1921,1591,1876,1828,1474,1476,1484,1619,1768,1682,1752,2003,1759,1769,1991,2317,2197,2021,1976,1811,2052,2499,2404,2335,2696,3116,2522,2744,2948,1906,1728,1876,2121,1856,2201,2320,2140,2279,2276,2208,2159,1986,2077,2583,2413,2366,2119,1823,2370,2477,2006,2028,1913,2176,1620,1787,2292,2519,2032,2629,3023,3273,3553,3586,3204,2388,1992,2042,2010,2079,2276,2586,2155,1577,1617,1743,1970,1967,1937,2490,2929,2119,1851,1899,1908,1841,2219,2202,1968,1641,1830,2280,2023,1694,1784,1865,2099,2013,2457,2469,2126,1651,1402,1406,1619,2191,2381,2129,2006,2101,2286,1823,1743,1937,1845,1828,2365,2099,1808,1849,2047,2067,1854,1662,1907,1861,1272,1657,1775,1575,1639,2474,2675,2724,2923,2874,2787,2779,2950,2574,2190,1513,1560,1444,1685,2011,2456,2786,2426,2010,2461,2615,2714,2531,2411,1982,1661,1783,1534,1484,1935,2591,2195,1699,1667,1744,1786,1778,1953,2306,2052,1999,2169,2018,2305,2464,2121,1853,2355,3570,3710,3042,2423,2244,2918,3144,3493,2785,1989,2567,2773,2924,3084,2767,2809,2683,2100,1978,2175,2408,2478,2337,2482,2585,3312,4015,3778,3369,3155,3688,3977,3803,3330,3186,2900,3308,3397,3097,2886,3019,3341,3332,3355,2981,2885,3076,3195,3399,3376,3364,3199,3121,3075,2994,2900,2695,2519,2518,3033,3256,3083,2488,2835,2819,2703,2678,2759,3089,3188,3479,3677,3619,2906,2330,3286,2950,1918,1677,2104,2608,2490,2604,2960,2792,2815,2962,2933,3327,3568,3413,3185,2946,2556,2170,1295,1270,2449,2122,1305,1526,1654,2574,3386,3075,2842,2932,3099,3452,3870,4075,3983,3929,3735,3452,3452,3328,3562,3489,2053,1549,1690,1726,1467,1857,2954,3232,2344,1599,1774,2062,2032,2153,1622,1424,1722,1990,1970,1665,1903,2045,1864,2094,2663,2636,2753,2304,1564,1680,1735,1617,1605,1660,1685,1879,1779,1859,1870,1619,1454,1869,2043,1884,1785,2596,2909,2933,3266,3055,2648,2185,1986,1843,1682,1669,1498,1743,2264,2382,2029,2308,2546,2164,1686,1607,1651,2087,1878,1612,1525,1754,1670,1614,1889,1954,1736,1605,1556,1485,2148,2425,2137,1962,1849,1909,2164,2307,2600,3064,3684,3460,2631,2232,2129,2949,3475,3416,3160,2960,3686,4166,3588,2585,2218,2590,2819,2633,2271,2198,2579,2828,2531,2897,2711,2485,2325,2170,2178,2840,2862,2077,1742,2074,2855,3204,3488,3166,2301,2613,2789,2621,3057,3238,2954,2810,2922,2670,2282,2411,2355,1694,2344,2654,2046,1538,2094,2432,2592,2667,2399,2392,2768,3077,3503,3740,3857,3842,3640,3383,3261,3274,3292,3304,3362,3427,3677,3676,3226,3133,3507,4007,4276,4080,3708,3906,4157,4187,4320,4387,4420,4364,4026,3812,4322,3864,3730,3818,3862,3955,3946,3955,3981,3900,3828,3629,3407,3088,3027,3020,3037,3100,3389,3829,4145,3962,3508,3449,3784,4125,4301,4153,3678,3821,4026,3758,3698,3321,2798,2940,3242,3540,3699,3653,3794,3806,3515,3650,3502,3322,3367,3020,2911,3156,3826,4177,3728,3416,3300,3340,3144,3299,3692,3638,3499,3507,3035,2131,1936,2373,2540,2353,1887,1354,1450,2107,2349,2621,2287,2434,3090,3418,3462,3498,3223,3008,3282,3536,3407,3207,3123,3215,3388,3598,3800,3838,3906,3916,4048,4082,3704,3494,2956,2676,2654,2635,2359,2378,2595,2609,2496,2234,1920,1663,1732,1864,2260,2786,2865,2899,2866,2963,3105,3095,3178,3355,3903,4176,4052,3889,3513,2965,2159,2048,2019,1948,2002,1847,1776,1900,2167,2223,2324,2236,1931,1932,1907,1878,1873,1798,1775,1799,1799,1587,1498,1697,1433,1714,2084,2118,1780,1663,1806,1898,1847,1811,1891,2039,2039,1713,1693,2063,1885,2234,2464,2548,2225,1823,1803,1836,1849,1860,2025,2313,2083,2364,2538,3110,3886,4095,4360,4564,4340,4276,4072,3337,3305,3391,3266,3037,3185,3900,4131,4059,3984,3852,3837,3862,3850,3818,3692,3466,3306,3137,3110,3189,3110,3517,4300,4733,4716,4524,4420,4393,4317,4080,3956,4127,4095,3890,3598,3493,3603,3493,3391,3719,4284,4553,4749,4616,4380,3465,2849,2335,1835,1760,1967,2111,2676,2584,2015,1825,2011,2120,2097,2179,2084,2232,2436,2534,2968,3282,3414,3664,3185,2786,2819,2935,2463,1800,2146,1959,1875,2003,1930,2026,2073,2292,2523,2437,2178,2013,2280,2945,2556,2402,3345,3611,3443,2791,3308,3948,3894,3704,3777,3704,4030,3842,3176,3355,3935,2914,2378,2341,3437,4200,3694,3382,3083,2828,2293,2187,3793,4233,4112,3509,2575,2302,2035,2297,3292,3749,3091,2327,2031,2241,2785,3121,3056,2951,2844,2773,2343,2189,2115,1721,2105,2961,2694,2335,2779,3437,3515,2569,1914,2407,2586,3107,2896,2441,2731,2965,2857,2636,2545,3069,3715,2983,3105,3207,3085,3207,3537,3605,3398,3203,2934,3261,3522,3104,2891,2854,2575,2285,1995,2446,3372,3384,2862,2669,2711,2446,2303,1880,2046,2417,2233,1728,1713,1818,1912,1720,1693,1521,1510,1832,2537,2931,2790,2170,2126,2147,1951,1622,1860,2306,2045,1624,1407,1763,2442,2011,1783,2009,2776,3142,2920,2745,2670,2797,2239,1917,2267,1901,1842,1756,1769,1804,1749,1795,2040,2084,1750,1748,1714,1583,1727,1550,1731,2226,2327,2473,2798,2911,3467,3668,3039,2291,2120,2250,2147,2251,2000,2085,2296,2226,1798,1889,2139,2498,2132,1975,2078,2134,2319,1780,1929,2633,2909,2513,1961,1749,1829,2401,2556,2618,2520,2360,2310,2745,3271,2972,2678,2314,1931,1738,1881,2335,2754,2899,2778,2700,2786,2397,2049,2000,2105,2057,2143,2070,2122,2149,2132,2375,2966,3534,3720,3760,3510,3243,3132,3629,3918,3750,2923,2226,1852,2014,2454,3014,3013,2978,3034,2850,2446,2018,1732,2470,3086,2287,2337,2830,2277,2027,2415,3025,3387,3388,3291,2975,2945,2655,3543,4477,4533,4103,3820,3873,3792,3061,2291,2400,1744,1605,1939,1730,2480,3227,3138,2737,2776,2509,2498,2643,2274,2294,2358,2672,2697,2667,2967,2876,2939,2786,2498,2662,3054,3068,2799,3628,3365,3204,3006,2364,2557,2959,3209,2511,2058,2242,2632,2765,2255,2376,2885,3582,3732,3543,3552,3530,3232,2845,3116,3044,2583,2789,2997,2596,2374,2185,2534,3317,3500,3151,3621,3586,3309,3222,2908,2884,2834,2843,2897,3002,2745,2481,2418,2596,2769,3011,2954,2854,2923,2921,2955,2946,3028,3003,2557,2309,2353,2814,2975,2662,3063,3216,3095,2892,2675,2699,2590,2692,3157,3204,3282,3394,3480,3689,3820,3439,3184,3273,2841,2337,2892,3072,3501,2676,2813,2924,2807,2658,2533,2449,2310,2410,2542,2552,2238,2579,2873,3019,2758,2643,3018,3233,3561,3492,3493,4297,4209,3017,2054,1842,2531,3652,4318,3376,2841,2858,3190,3034,2690,2681,2998,3449,3320,2743,2620,1800,1594,1603,1737,1683,1706,1682,1921,2003,1597,1565,1837,1931,2130,2480,2920,2916,3006,2867,2418,1999,1620,1628,1752,1725,2003,2673,3166,3547,3536,3182,2704,2340,2687,2947,2547,2108,2440,3159,2968,2945,2981,2610,2219,2043,2310,2040,2291,2416,2449,2519,2619,2676,2795,2413,2374,3681,4292,4464,3881,2999,2440,2371,2032],[2208,3082,3163,3208,3050,3189,3229,3224,3282,2700,2368,2468,2360,2595,2019,2017,2178,2546,2633,2731,2953,2977,2625,2517,2942,3091,3050,2585,2814,3374,3408,3362,3395,3088,2968,2821,2709,2359,2278,2316,2789,2471,2067,2195,2535,3222,3773,2950,2545,3075,2876,2547,2637,2251,1975,2286,2555,3055,2728,2433,3240,3106,2980,2875,2850,2695,2555,2450,2580,2742,2689,2930,2655,2864,2459,1561,1456,1982,2325,2114,1656,1765,1973,2149,1585,1427,1523,2004,2462,2241,2249,2717,3116,2966,2832,3210,3536,3551,3332,3299,3250,3219,3428,3442,3108,3438,3641,3574,3593,3710,3527,3716,4285,4389,4167,3230,2855,3111,2924,2610,3287,3616,3288,3499,4026,3967,4062,4009,3610,2873,2888,3560,3591,3097,2530,2442,2928,3605,3613,3060,3107,3422,3670,4078,3452,3077,3360,2945,2300,2664,2789,2721,3084,3465,3732,3593,3531,3020,2798,2382,3123,3296,2944,2902,2521,2778,3106,2621,2286,2969,3438,3185,2866,2309,2141,2556,2686,2879,2438,2482,2532,2441,2336,2138,2593,3049,2281,1707,1607,1633,2009,1933,1836,2078,2101,1903,1996,2153,1787,1495,1878,3022,2790,2460,2392,1813,1311,1483,2233,2474,2254,1946,1499,1705,1680,1683,1698,1476,1663,1947,1806,1617,1763,1703,1799,1931,1649,1843,2177,2788,3391,3252,3084,3018,2353,2526,2693,2597,2897,2802,2308,1861,1852,1944,1610,1613,2024,2315,2070,2105,2330,2055,1914,2176,2538,2482,2280,2013,1802,1846,1918,2210,2176,2191,2320,2298,2423,3045,3373,3453,3494,2543,2412,2053,1914,1843,1915,1994,1687,1559,1822,2000,1838,1780,1775,1637,1814,1846,1299,1870,2292,2426,2269,2210,2396,2689,2669,2799,3304,3168,2852,2192,1816,1880,2812,3286,2808,2324,2066,1837,1866,2015,1802,1620,1654,1969,2360,2083,2296,3120,3530,3536,2911,2401,2293,2183,2298,2601,2710,3265,2925,2620,2286,1755,1536,1438,1844,2435,2364,2588,2640,2230,2498,2280,2230,2712,3151,3487,3626,3454,2994,2945,3422,3334,3023,3386,2862,2870,3130,3376,3980,4288,3626,2752,2475,2999,3394,3189,2744,2536,2360,2281,2257,1613,2248,2855,2697,2293,1874,1994,2636,3073,2522,2217,2579,2426,2092,1975,2103,1909,2002,2397,2251,1879,1820,2054,2330,2330,2600,2712,2920,2744,2474,2282,2090,2342,2347,2319,2864,3199,3374,3429,3992,4117,2877,1932,2690,3379,2752,2124,2165,2396,2678,2444,2264,2194,2044,1837,1641,1704,1558,1499,1363,1159,1287,1368,1299,1495,2031,2330,2028,1884,1740,1710,1536,1442,1507,1722,1547,1484,1618,1501,1260,1415,1476,1568,1537,1399,1440,1771,1513,1356,1804,1840,1566,1380,1384,1438,1372,1376,1437,1634,1886,2215,2744,2831,2351,2050,1903,1896,1769,2055,2584,2489,2395,2953,2552,2739,2917,2196,1856,2110,2241,2374,2348,2010,1686,1793,1865,2405,2261,1955,1960,2398,2554,2084,1978,2358,2422,2185,1930,2243,2395,2733,1911,2308,2557,2229,1988,2895,3507,3676,3770,3124,1876,1341,1648,2078,1973,2164,2385,2562,2168,1869,2049,2056,1810,1838,1750,1924,2565,2168,1855,1512,1650,1613,1858,2126,2067,1865,1757,1679,1490,1564,1764,2084,1975,1969,2480,2684,2665,1996,1629,1649,1797,2167,2518,2453,2129,2386,2657,2107,1715,1616,1620,1741,2158,2294,1795,1670,1854,2094,2031,2017,2010,1926,1566,1479,1544,1508,1582,2051,2445,2843,3094,3005,2947,2774,2939,2452,2060,1925,1774,2026,2309,2379,2764,2785,2079,1991,2430,2000,2729,3206,3128,2534,1873,1553,1545,1546,1626,1802,1902,1529,1444,1487,1541,1541,1856,2165,1874,1769,1944,2137,2028,2036,2188,1867,2137,2920,2426,2156,2239,2024,2145,2429,2842,2702,2380,2632,2786,2951,2840,3116,3598,3576,2964,2499,2609,2521,2635,2946,2942,3161,3865,3876,3186,3237,3393,3650,3770,4052,4299,4041,3720,3510,3205,3098,3216,2717,2837,3273,3433,2880,2599,2966,3392,3451,3391,3360,3266,3166,3104,3175,3031,2837,2571,2426,2535,3113,2890,2801,2899,2743,2840,2801,2999,3451,3340,3619,3499,3520,3413,2879,3378,3739,2851,1972,2143,2802,2975,2874,2498,2367,2328,2845,2856,3371,3757,3314,2610,1990,1948,2396,2072,2098,2460,1841,1550,1698,1482,2255,2867,2937,3119,3044,2945,3311,3718,3672,3588,3584,3453,3188,3348,3574,3729,3383,2497,1793,1487,1534,1431,1836,2626,2185,2254,2330,2138,1850,1868,1908,1719,2046,2230,2210,2032,1661,1601,1599,1681,2266,2657,2729,3088,2470,1876,1686,1632,1687,1713,1501,1628,2036,1752,1903,1850,1670,1670,2077,1973,1836,1959,2539,2850,3153,3060,2897,2840,2452,2297,1902,1880,1836,1654,1802,2211,2113,2074,2490,2548,2375,2380,1864,1633,1657,1908,1879,1646,1601,1587,1531,1602,1694,1484,1716,2548,1976,1975,1919,2698,2743,2298,1788,1843,2363,2968,3631,3536,2631,2353,2753,2991,3093,3356,3329,2872,2529,3089,3448,2821,2257,2282,2634,2557,1717,1661,1806,2210,2814,2841,2761,2799,2792,2391,2184,2504,2972,2486,2152,2264,2534,3459,3398,3514,3216,2608,2633,2698,2821,3426,3942,3306,2664,2308,2410,2568,2896,2658,2657,2754,2746,2524,2319,2336,2536,2802,2673,2775,2889,2784,3076,3525,3345,3542,3765,3642,3428,3262,3196,3300,3339,3294,3182,3300,3388,3222,3029,3200,3560,3588,3316,3174,3492,4068,4196,4232,4280,4196,4247,4127,4127,4100,3723,3672,3752,3876,3963,3861,3816,4002,3912,3792,3627,3430,3298,3265,3255,3240,3529,3874,3916,4156,4112,3858,4050,3937,3883,3698,3483,3282,3583,4112,4152,4049,3619,3066,3295,3406,3486,3594,3661,3742,3674,3504,3570,3594,3441,3303,3210,3085,3030,3699,3740,3520,3414,3277,3073,2986,3638,4112,3995,3586,3061,2492,2230,2423,2685,3101,3213,2857,2348,2297,2615,2505,2587,2696,2952,3108,3083,3231,3219,2900,2898,3476,3493,3395,3330,3122,3174,3254,3263,3375,3359,3453,3421,3683,3797,3628,3208,2890,2655,2420,2218,2365,2689,2776,2488,2083,1781,1674,1704,2000,2385,2746,2763,2631,2928,3330,3436,3176,2954,3264,3573,3894,4091,3902,3359,2827,2357,2031,1947,1864,1943,1942,1781,1766,1775,2067,2138,2101,1896,1516,1807,2018,2026,2080,1809,1741,1875,1930,1795,1895,1638,1400,1890,2518,2273,1780,1871,1915,1781,1721,1701,1527,1726,2071,2206,2209,2217,1938,2199,2504,2533,2146,1974,1913,1874,1769,1916,2109,2441,2119,2089,2445,2601,2624,2761,3007,2995,3151,3895,4196,3793,3994,4039,3749,3405,3724,4180,4196,4180,3964,3768,3839,3926,3994,4236,3983,3508,3618,3330,2668,2865,3296,3479,3951,4467,4640,4488,4256,4157,4053,3967,4064,4139,4093,4055,3874,3798,3691,3493,3355,3377,3864,4149,4284,4301,4100,3801,3466,2935,2390,1925,1966,2341,2645,2666,2534,2570,2236,1965,1954,2179,2234,2376,3009,3050,2908,2519,2732,2964,2766,2910,2739,2624,2438,2208,2220,2175,1942,2439,2819,2416,1974,1955,1952,2010,1986,1876,1936,2709,2198,2197,3240,3808,3713,3441,3505,3641,3064,2766,3333,3514,4063,3615,2768,3111,3372,2776,2301,2238,3445,3996,3298,2732,2518,2912,2361,2451,4041,4244,3551,3173,2720,2587,2353,2425,3384,3637,2692,1920,1958,2325,3091,3298,3074,3050,2976,2938,2640,2451,2329,1937,1960,2719,2677,2261,2150,2417,2156,1719,2193,2691,2784,2990,3067,3022,3089,2645,2470,2312,2300,2490,2957,2599,2670,2741,2851,3205,3283,3272,3660,3516,2968,3633,3238,2819,2909,2954,2829,2244,2046,2908,3488,3328,2784,2976,3076,2408,1924,2142,2513,2729,2085,1385,1830,2106,1749,1602,1824,1910,1879,1753,1838,2474,2767,2239,2179,2148,1895,1597,1710,1946,1538,1400,1282,1476,1997,1754,1689,1965,2445,2872,2958,2296,2341,3087,2519,2385,2815,1906,1982,1824,1890,2088,2076,1686,1732,1926,1677,1571,1612,1671,1942,2274,2536,2662,2098,2696,2934,2899,3167,3065,2574,2391,2338,2121,1843,2036,1870,1840,1775,1827,1721,1719,2343,2620,2110,2051,2178,2135,1928,1798,2471,2370,2702,2299,2060,2124,2069,1982,2405,2536,1988,1901,2156,2746,3124,3044,2845,2623,2285,1987,1742,1838,2186,2640,2854,3002,2758,2431,2270,1985,2090,2050,2060,2043,1936,2159,2535,2978,3683,4073,3850,3607,3132,3247,3384,3696,3772,3483,3021,2495,2070,1828,1882,2366,2624,2607,3033,3309,2747,2149,1766,2410,2884,2523,2605,2540,1906,1760,1800,2135,2786,3152,2792,2778,2760,2235,2703,3313,3260,3209,3087,3292,3686,3254,2958,2587,2144,1931,1940,1742,2666,3248,2671,2409,2666,3217,3603,3193,3018,2840,2753,3445,3282,3072,2846,2721,3022,3153,2990,3363,3604,3171,2519,3427,3554,3650,3543,2750,2150,2369,3356,3401,2311,2378,3042,3334,2556,3129,3956,4176,3574,3103,3243,3680,3370,2775,2989,3150,2765,2800,2839,2243,2199,2490,2417,2974,3685,3724,4109,3942,3443,3070,2742,2950,2833,2866,2731,2839,2479,2447,2770,3032,2851,2669,2719,2954,3085,2965,2809,2853,2788,3047,2715,2343,2254,2513,2584,2728,2779,2600,2779,2694,2696,2953,2766,2415,2655,2958,3107,2961,3105,3536,3506,3086,2933,3227,3300,2939,2760,2909,2850,2664,3052,3229,3232,2677,2130,2064,2188,2302,2383,2541,2229,2720,3189,2973,2874,2820,2693,2880,2822,2753,3253,3541,3438,2995,2260,2497,2728,3371,3539,3093,3082,3250,3253,2757,2072,2009,2581,3787,3349,2510,1969,1509,1601,1942,1913,1515,1788,2158,1918,1676,1456,1565,1553,1489,1715,2113,2253,2504,2566,2035,2008,2310,1960,1504,1633,1747,2004,3160,3684,3167,2879,2493,2094,2009,2158,2330,2170,1741,2163,2820,2396,3233,3198,2970,2414,2172,2393,2122,2107,2291,2082,2171,2458,2722,2991,2856,2884,3494,3871,3558,3436,3001,2417,2326,1987],[1993,2520,2962,3304,3201,2968,3102,3228,2931,2613,2624,2459,2179,2801,2355,2165,2231,2647,2501,2385,2558,2475,2123,2367,3079,3036,2731,2448,2754,2954,3341,3583,3169,2762,2666,2577,2642,2467,2613,2238,2548,2457,2055,2083,2556,3281,3761,3466,3287,3227,2646,2323,2614,2634,2118,2625,3295,3216,2802,3155,3557,3569,3306,2958,3050,2874,2765,2631,2757,2880,2954,3288,2838,2354,1882,1693,1899,2263,2608,2345,1875,2197,2240,2481,1938,1791,1931,2216,2403,2214,2292,2728,2954,3281,3782,3484,2957,3397,3495,3262,3318,3396,3218,2946,2984,3292,3650,3707,3610,3829,4013,4048,4196,4211,4167,3640,3090,3408,3289,3229,3630,3663,3487,3507,4096,4145,4172,4039,3781,3498,3486,3175,2753,2388,2252,2558,2979,3208,3376,3643,3710,3438,3598,4333,3804,3176,3260,2668,2014,1937,1982,2039,2263,2666,2986,2773,3531,3441,3133,2974,3584,3847,3282,2756,2472,2391,2541,2060,2205,3164,3506,3509,2862,2314,2356,2070,2352,2626,2336,2298,2373,2488,2451,1985,2193,2745,2276,1555,1284,1766,2088,1720,1716,1925,2011,1989,1687,2137,1716,1564,1833,2579,2264,2543,2687,2231,1731,1828,2304,2198,2024,1883,1707,1642,1698,1659,1735,1860,1889,1970,1849,1572,1648,1777,2050,2314,1782,1652,2047,2427,2413,2239,2524,2770,2229,1747,1709,2178,2767,2685,2533,2047,1732,1876,1849,1801,1887,2119,2142,2314,2122,2101,2160,2728,3248,3206,3082,3164,2222,1603,2014,2356,2096,1832,2174,2449,2854,3296,3069,2762,2655,2518,2507,2014,1648,1723,1634,1554,1621,1912,1806,1986,1874,1730,1585,1818,2494,2487,2155,2469,2321,2201,1996,1710,1944,2533,2413,2378,2719,2977,3340,3078,2228,2508,3183,2908,2790,2626,2220,1938,2331,2391,1965,1756,1741,2134,2270,2226,2544,2685,2829,2658,2242,2701,2761,2590,2464,2327,2237,2729,2388,2059,2009,1919,1864,1760,2081,2412,2085,1802,2047,1946,2001,2058,2031,2557,3153,3265,3418,3920,3830,3540,3551,3752,2884,2727,2177,2232,2667,2775,3097,3214,3466,3493,3042,2644,3142,3278,2653,2293,2842,3263,2579,1803,1985,2343,2597,2280,2047,1845,2121,2335,1830,1792,2415,2429,2152,2184,2303,2250,2388,2739,2597,2181,2271,2596,2884,2900,2972,2885,2523,2376,2857,2943,2584,2645,2611,2330,3012,3313,3570,4005,4272,4318,4071,3397,3072,3121,2751,2033,2347,2782,2626,2344,2216,2142,2379,2933,2144,1532,1598,1677,1528,1362,1474,1431,1490,1564,1760,2033,1939,1919,2427,2373,2098,1954,1888,1816,1480,1352,1509,1355,1213,1306,1572,1626,1745,1662,1626,1557,1218,1543,1965,1948,1875,1667,1496,1521,1249,1283,1396,1709,2143,2278,2340,2136,1898,2045,2070,1783,1339,1695,2300,2663,3029,3025,2551,2251,2439,2255,1810,1796,1837,2102,2172,2323,1998,2058,1840,2020,2241,2215,2330,2362,2265,2049,2246,2602,2352,2461,2331,2450,2312,2304,1764,1684,1634,1787,1761,2225,3223,3363,3161,3076,1835,1515,1662,2059,2323,2231,2578,2733,2100,1728,1875,2161,2282,2632,2343,1959,2325,2685,2154,1682,1785,1947,2079,2272,2504,2247,1829,1639,1686,1681,1984,2040,1852,1979,2223,2662,2891,2524,2078,1791,1961,2363,3598,3074,2393,2556,2514,2167,1953,1870,1894,2176,2747,2508,1844,1846,1823,2013,2055,1852,1826,1900,2004,1923,1686,1598,1631,1909,2399,2679,2805,2909,2676,2337,2247,2106,1827,1822,2153,2753,2866,2512,2094,2797,2007,2250,2417,2360,2701,2744,2322,1857,1584,1361,1351,1690,2089,1644,1729,1709,1777,1372,1639,1947,1909,1844,1859,1641,1761,1924,1747,1745,1860,1345,1548,2094,1844,2116,1923,1856,2230,2144,2242,2395,2274,2262,2670,2921,2808,3225,3796,3697,2972,2677,2995,2973,2932,2987,3217,3546,3752,3247,2943,3391,3740,3531,3710,4029,4059,3978,3347,2957,2951,2793,2958,2529,2530,3118,2813,2280,2424,3177,3560,3390,3377,3332,3284,3205,3054,3006,2981,3020,2621,2246,2296,2647,2724,2935,3123,3037,2876,2813,3396,3405,3428,3541,3481,3487,3142,2683,3316,4062,3870,2702,2139,2754,3135,2464,2160,2410,2640,2668,2711,3284,3781,3142,2330,2026,2070,2569,2847,2872,2518,2351,2199,2121,2109,2412,2708,2948,3205,3090,2700,2854,3006,3406,3565,3452,3475,3285,3293,3441,3610,3204,2326,1815,1592,1715,1831,1738,1858,1837,2552,3073,2436,1966,1969,1765,1829,2102,2221,2404,2186,1807,1694,1714,1864,2460,2658,2535,2253,2053,2100,1844,1607,1633,1570,1333,1527,1865,1871,2018,1975,1776,1573,1484,1661,1764,1822,2149,2333,2776,2781,2974,2586,2647,2740,2568,2095,1747,1748,1768,1982,2352,2276,2593,2402,2280,2358,1851,1570,1850,2441,2374,1942,1874,1599,1395,1550,1644,1751,2072,2736,1857,2289,2030,1895,2355,2381,2244,2224,2450,2857,3133,3073,2703,2597,2676,2801,2638,2922,3239,3110,3073,3063,2733,2189,2192,2237,2700,2621,2280,2920,2447,2314,2677,2880,3054,3190,3009,2620,2442,2358,2600,2490,2029,2492,2603,3098,3307,3041,2589,2154,1736,1974,2312,2601,3083,2865,2228,2019,2327,2788,2624,2536,3099,2956,2663,2641,2563,2463,2687,2731,2666,3085,2729,2316,2879,3577,3681,3721,3841,3714,3453,3333,3148,3239,3293,3212,3129,3173,3307,3507,3477,3450,3463,3481,3536,3061,2995,3871,4157,4196,4175,4067,4107,4144,3952,3731,3614,3532,3603,3840,3853,3838,3894,3962,3930,3818,3705,3624,3627,3499,3328,3234,3407,4063,4128,4212,4325,4188,4064,3767,3825,3701,3532,3573,3793,4050,4189,3958,3576,3327,3476,3505,3520,3584,3639,3682,3663,3432,3339,3315,3327,3461,3680,3453,3144,3550,3244,3223,3103,3097,3021,3075,3249,3239,3269,2952,2685,2258,2030,2469,2956,2846,2937,3107,2951,2941,2667,2531,2951,3539,3746,3325,3099,3249,3074,2933,3284,3771,3692,3378,3202,3263,3348,3033,2784,2869,2978,3009,3105,3393,3320,3021,2712,2744,2588,2181,2368,2654,2634,2399,1949,1633,1675,1925,2439,2758,2783,2653,2655,2924,3329,3834,3926,3602,3550,3795,3596,3159,3196,2932,2536,2231,2049,1970,1868,1755,1671,1630,1566,1465,1390,1476,1388,1339,1269,1207,1489,1605,1835,2127,1875,1765,1753,1691,1783,1823,1626,1709,1841,2027,1929,1930,1948,1761,1630,1678,1771,1748,1695,1947,2055,2573,2475,2833,2962,2521,2270,2002,1866,1860,1823,1832,1820,1982,2236,2180,1837,2001,2479,2470,2246,2112,2504,3416,4240,4276,4195,3993,3927,3861,3908,4213,4168,4030,4197,4087,3792,3737,3920,4046,4080,3697,3675,3764,3229,2557,3030,3820,3705,3805,4140,4484,4391,4207,4247,4310,4323,4469,4490,4237,3827,3632,3809,3753,3550,3240,3155,3337,3417,3520,3617,3588,3746,3588,3342,2560,1982,2106,2224,2286,2545,2657,2342,2212,1819,1831,2030,2153,2563,3125,3060,2220,1890,2573,2214,2624,2668,2621,2261,1884,1703,1856,2103,1782,2057,2787,2446,1951,1840,1604,1709,1605,2057,2498,2708,2197,2275,3021,3334,3241,3220,3384,3362,3189,3002,2749,3123,3903,3540,2643,2919,2946,2807,2620,2396,3444,3937,3341,2369,2204,3117,2540,2954,3863,3630,3373,3222,3263,3760,3400,2721,3299,3449,2475,2001,2600,2712,3174,3339,3085,3022,3044,3011,2858,2774,2586,2319,2156,2631,2532,2110,1736,1735,1725,1647,2034,2599,2962,3175,2965,2519,2822,2519,2597,1966,1801,1808,1946,2091,2091,2050,2172,2567,3071,3012,2961,3049,3343,3249,2557,2634,3137,3131,3128,2724,2110,2465,2766,3056,2714,3122,3084,2342,1694,2091,2414,2923,2462,1582,1998,2025,1804,2285,2709,2500,2366,2048,1858,1815,2011,1956,1768,1863,1677,1457,1541,1697,1494,1453,1507,1587,1826,1733,1542,1669,2070,2635,2709,2151,1980,2680,2903,2942,2844,1993,1764,1880,2279,2286,1725,1343,1704,1983,1579,1430,2015,1828,2181,2585,2711,2665,2023,2023,2495,2900,2665,2149,2136,2533,2229,2042,1922,2213,1696,1828,1884,1836,1982,2107,2410,2746,2073,2064,2474,2708,2579,2461,2721,2814,2734,2271,2186,2475,2460,2249,2812,2512,2380,2659,3016,2670,2665,2832,2933,2916,2768,2409,1997,1810,1791,2130,2584,2792,2561,2248,2031,1955,1918,1950,2116,1966,1895,2485,2534,2985,3496,3776,3706,3563,3002,2823,3605,3951,3491,3220,3123,3063,2807,2204,1972,1968,2335,2176,2899,3041,2436,1973,1623,2017,2421,2286,1998,1548,1533,1597,1855,2126,2457,3038,3026,2882,2845,2293,1981,2045,2728,3410,2853,3046,3319,2897,3431,3188,2304,1940,1920,2153,2899,3484,2961,2460,2240,2670,3200,3185,2701,2046,2430,2889,2964,2932,3031,2977,3544,3647,3378,3533,3347,2340,2375,2908,3064,3514,3978,3487,2170,1909,2705,3097,2321,2705,3155,3024,3041,3990,4510,4038,3419,3238,3504,3772,3274,3100,3188,3329,2723,3032,2580,2237,2922,2707,2476,2840,3182,3783,4040,3836,3847,3950,3422,3124,3073,3099,2868,2705,2517,2621,2739,2775,2707,2741,2762,2762,2779,2755,2586,2606,2811,2850,2517,2421,2310,2204,2239,2465,2565,2579,2601,2822,2929,2999,2607,2474,2564,2896,3003,2887,3130,3300,2905,2920,2929,3009,3288,2930,2480,2624,2420,2743,2910,2944,3328,2790,1825,1801,2588,2685,2602,2522,2413,2758,3085,2915,2808,2546,2318,2717,2327,2340,3071,2831,2518,2806,3184,3249,3210,3373,3087,2786,3062,3195,3193,2634,1601,1742,2189,2919,2677,2495,2135,1714,1634,2034,2068,1792,2207,2784,2387,1787,2104,2141,1603,1418,1493,1755,2125,2616,2703,2224,2098,2374,2261,1689,1545,1645,2349,2542,2416,2618,2510,2040,2111,2110,1825,1863,2028,1694,2142,2723,2169,2966,3075,2991,2445,2062,2163,1854,2040,2524,1929,2023,2567,2479,2272,2223,2429,2604,2495,2192,2445,2552,2354,2576,2697],[1906,2554,2811,2878,2910,2662,2881,3160,2932,3195,2810,2766,2983,3220,3064,2587,2248,2049,2002,2392,2708,2475,1833,1908,2566,2790,2477,2455,2608,2652,3015,3419,2998,2542,2699,2560,2842,3118,3200,3140,3008,2955,2847,2696,2873,3432,3973,4165,3918,3431,2642,2022,1999,2307,2500,2996,3494,3249,3275,3522,3328,3407,3179,2364,3144,3458,3670,3414,2945,3292,3494,3308,2986,2574,2314,2303,2123,2568,2674,2636,2712,2744,2345,2172,2216,2648,2921,2579,2203,2304,2455,2654,2929,3271,3955,3850,3366,3506,3686,3311,3261,3558,3372,3007,3039,3127,3230,3176,3386,3769,4144,4241,4241,4080,4143,4188,3747,3473,3570,3949,3798,3538,3289,3296,3909,4027,3936,3677,3282,3062,2890,2639,2424,2319,2308,2480,2518,2552,2921,3750,4016,3441,3024,3899,4212,3320,2718,2781,2592,2488,2366,2198,2055,2024,2535,2165,2942,3184,3371,3050,2743,3073,3270,2391,1666,1708,2087,1886,2630,3343,3471,3573,3075,2574,2220,1875,2092,2176,2042,2212,2458,2192,2008,1989,2260,2380,1762,1309,1422,2052,2111,1815,2009,1989,2121,2075,1583,1830,1532,1714,1962,2137,2718,3231,2551,1935,1831,1925,1889,1767,1992,2030,1829,1547,1782,1929,1918,1935,1565,1351,1714,1664,1461,1541,1870,2242,1808,1710,2077,2177,2110,2122,2442,2542,2110,2086,2273,2242,2450,2239,1917,1824,1748,1733,1732,1760,1748,1603,1882,1916,1845,2006,2405,3018,3365,3172,2884,3028,2222,1909,2308,2352,2020,1876,2119,2763,3033,3123,2736,2187,1893,2247,2568,1981,1625,1679,1798,2217,2392,2642,1906,2137,2325,1814,1654,2185,2845,2569,2596,2576,1868,1705,1524,1496,1616,1995,2253,2557,2783,3064,3387,3008,2538,2831,2795,2826,3056,2374,2094,2384,2539,2289,1789,1728,2200,2709,2571,2766,3250,3220,3103,2645,2445,2753,2458,2341,2398,2343,2246,2220,2054,2309,2485,2190,1963,1912,1955,1823,1731,1852,1959,2051,2200,2167,2668,2995,2584,2207,2450,3796,4014,3000,2323,2754,2908,3066,2243,2541,3372,3210,2791,2477,3264,3674,2699,2894,3210,3660,3552,3332,3464,3480,2901,2612,2297,2784,3166,2156,2139,1810,1620,1467,1636,2341,2812,2543,2345,2341,2354,2388,2586,2878,2890,3087,3175,3031,3079,2831,2799,2762,2534,2481,2698,3043,3001,3298,3817,3570,3387,3225,3479,4164,4315,4089,4042,3983,3326,2875,3210,3069,2668,2393,2253,1968,1977,2098,2512,2690,2113,1845,1934,1756,1592,1487,1592,1532,1515,1477,1462,1566,1942,2256,2402,2252,2337,2446,2319,2225,1874,1449,1563,1282,1205,1318,1462,1584,1644,1525,1454,1281,1439,2154,2191,2029,2119,2254,1832,1403,1273,1445,1581,1822,2001,2194,2496,2207,2089,2030,1758,1619,1661,1605,1921,2427,2994,2688,2666,3145,3098,2670,1970,1753,2287,2444,2232,2360,2313,1929,1785,1802,1920,2353,2490,1986,2023,2536,2316,2275,2144,2452,2643,2279,2159,2043,1743,1412,1470,1830,1572,1902,2544,2009,1972,2954,2382,1888,1950,2163,1975,1743,2247,2359,1934,1921,1870,2370,3083,2951,2570,2179,2675,3021,2254,1840,2201,2499,2690,2160,2188,1766,1851,1914,1828,1643,2094,2269,2039,1768,1911,2598,2894,2833,2331,1791,1901,2411,3663,2990,2226,2186,2315,2554,2774,2839,3121,3284,3131,2400,2216,2435,1979,2019,2264,2098,1875,1789,1996,2152,2262,2139,1974,1920,2088,2354,2489,2665,2186,2084,2206,2349,2196,1980,2798,3143,2828,2013,1494,2246,1942,1771,1991,2327,2302,2260,2180,1792,1730,1586,1428,1749,1762,1683,1648,1849,1924,1681,1598,1826,1834,2049,1908,1489,1629,1447,1722,2116,1848,1319,1409,1714,1989,2209,2160,2432,2282,1875,1983,2045,2039,2075,2558,2833,2868,3319,3515,3499,3162,2941,3437,3351,2939,3479,3838,3670,3284,3170,2755,2810,3190,3293,3552,3813,3710,3674,3332,3055,2975,2656,2680,2553,2438,2520,2604,2922,3196,3629,3650,3511,3438,3307,3213,3099,3046,3110,2964,3061,2750,2353,2345,2416,2554,2712,2712,2934,2946,2928,3226,3283,3344,3254,3315,3537,3227,3185,3681,3984,3704,2609,1859,2576,2531,1956,1858,2038,2304,2641,2701,2952,3458,2742,2142,2397,2629,2832,3015,2968,2868,2929,3031,3238,3194,2931,2697,2749,2908,2932,2665,2832,2965,3312,3146,2967,3142,3294,3396,3425,3616,3232,1864,1596,1692,1782,2106,1935,1551,1912,2544,3010,2568,2008,2160,2072,1970,1807,1781,2100,2386,2015,1866,1822,1764,2209,2768,3009,2584,2081,2010,1840,1502,1284,1217,1474,2104,2254,2324,2776,2976,2592,1950,1610,1647,1808,1603,1840,2157,2331,2614,2742,2651,3049,3252,3307,2885,2231,1759,1903,2276,2574,2014,2208,2381,2249,2240,2020,1531,1465,2182,2477,2152,2099,1746,1436,1521,1783,1805,2095,2137,1985,2343,2013,2139,2446,2042,2183,2316,2624,2698,2629,2298,2273,2488,2182,2244,2338,2542,2654,3210,3527,3582,3042,2496,2693,2854,2778,2298,2685,3317,2823,2436,2485,2453,3025,3445,3034,2886,2459,2275,2681,2699,2900,3338,3110,2942,2897,2678,2362,2449,2026,1943,1917,2104,2291,2272,1945,1713,2449,3131,2553,2609,2902,2416,2676,3084,2483,2125,2469,2688,2769,2943,2584,2382,3119,3770,3834,3814,3818,3764,3575,3284,3255,3251,3204,3308,3401,3312,3151,3162,3532,3610,3542,3560,3563,3525,3380,3642,3861,4080,4094,3996,4018,3937,3692,3795,3805,3743,3854,3983,3995,4095,4189,4001,3915,3934,3912,3748,3644,3565,3603,3724,3973,4140,4276,4279,4126,4111,4038,3901,3977,4010,4027,4126,4249,4216,4177,3848,3353,3371,3384,3406,3515,3560,3594,3602,3522,3252,3075,3121,3342,3548,3873,4012,3891,3572,3197,2903,2717,2924,3008,2567,2254,3162,3659,3308,3055,2440,2168,2489,3105,2997,2931,3172,3247,2831,2469,3088,3750,4406,4612,4018,3676,3692,3875,3389,2976,3233,3350,3225,3150,3431,3520,3167,2808,2932,3073,3190,3233,3208,3096,2844,2575,2439,2288,2515,2622,2293,2049,1821,1698,1892,2177,2718,2802,2473,2517,2731,3082,3309,3507,4108,4319,4013,4062,3896,3282,2670,2594,2534,2200,2063,1910,1750,1759,1572,1641,1725,1648,1567,1423,1360,1419,1561,1419,1362,1639,1650,1852,2008,1914,1882,1897,1824,1750,1806,1858,1952,1954,1883,1855,1835,1674,1545,1476,1605,1924,1970,1714,1781,2349,2713,2475,2232,1891,1880,2019,2012,1792,1862,1763,1882,1852,1998,2092,2062,1716,1921,2684,2312,2148,1978,2333,3155,4026,4167,4176,3859,3783,4167,4461,4373,4064,3730,3848,4108,3935,3893,3994,4050,3880,3583,3390,3300,3197,2946,3372,4169,4227,4156,4024,4289,4304,4513,4532,4500,4647,4767,4648,4209,3701,3409,3510,3338,3112,3100,3231,3266,3138,3057,3127,3526,3631,3422,3046,2063,1661,1872,2167,2041,2339,2604,2535,2312,1749,1642,1801,2454,2957,2910,2669,2184,2307,2761,2191,2598,2653,2292,2056,1724,1583,2049,2402,2132,1931,2598,2552,2496,1952,1688,1869,1938,2552,3159,2846,2287,2499,3053,3353,3155,3336,3608,2946,1882,2367,2779,3137,3840,3749,2920,2807,3518,3284,2679,2422,3548,4099,3933,2882,2662,2902,1983,2478,3297,3237,3588,3664,3068,3527,3529,3039,3506,3140,2270,2344,2924,2556,2646,3054,3016,2990,2976,3105,3056,2945,2634,2254,2622,2995,2890,2203,1600,1691,2134,2242,2418,2524,2820,3207,2742,2546,3163,2883,2124,1771,1942,2106,2266,2298,1791,1953,2446,2743,2456,2490,2592,2613,2076,2055,2431,2967,3436,3472,3293,2879,2054,1934,2030,2625,2392,2407,2706,2439,1802,1714,2130,2458,2662,1779,2196,2104,1683,1921,2509,2410,2398,2923,2792,1735,1556,1526,1468,1640,1570,1614,1570,1405,1385,1561,1758,1788,1690,1528,1650,1880,2208,2476,2729,2828,2148,2542,2842,2767,3022,2758,2054,2040,2408,2144,1820,1592,1862,1942,1573,1398,2020,2019,2611,2780,2651,2396,1962,2009,1930,2079,2514,2107,1937,2121,2294,2471,2524,2456,1736,1802,1780,1277,2042,2579,2122,2286,1892,1881,2555,2766,2177,2185,2974,3306,2573,1862,2004,2448,2447,2663,3062,3129,3244,3271,3200,2544,2420,2773,2898,2989,2972,2765,2551,2143,1763,1580,1823,2077,2089,2028,2144,2397,2585,2625,2185,1981,2286,2718,2752,2875,3185,3571,3654,3106,2442,2131,2911,4004,3586,3089,3360,3576,3562,2766,2197,1858,1900,2366,3123,2740,1867,1643,1852,2393,2108,2177,1806,1630,1666,1604,1622,1989,2135,2522,2855,2909,2578,2213,2270,2297,3128,3104,2616,3022,2862,2202,2894,3162,2480,2285,2210,2503,2753,3045,2881,3078,2828,2844,3392,3515,2855,2765,2684,2436,2812,2853,3274,3361,3615,3608,3605,3270,2328,1925,2297,2445,2642,2910,3034,2880,2202,2004,2519,2361,2227,3284,3597,2597,3132,4288,4384,3783,3508,3527,3595,3397,3286,3432,3394,3666,2784,2884,2476,2529,2969,2586,2796,3213,3450,3841,3915,3810,3732,3482,3320,3238,2954,2856,2908,2864,2903,2954,2980,2983,2945,2930,2708,2688,2663,2644,2573,2753,3167,2937,2775,2802,2264,2153,2243,2358,2518,2647,2774,3019,3001,3072,3097,2773,2540,2718,2808,2954,3011,2717,2485,3038,3141,2987,2912,2411,2292,2464,2592,2903,2714,2975,2880,2326,1696,1858,2487,2479,2739,2677,2780,2981,2820,2561,2264,2276,2155,2119,2410,2706,2880,2175,2317,3028,3294,3425,3596,3829,3451,2668,3160,3071,3407,2676,1999,2156,2375,2813,2938,2378,1769,1630,1629,2017,2254,2116,1932,2828,3198,2392,1918,1643,1484,1530,1643,1951,2466,2811,2799,2562,2502,2320,2340,1763,1396,2033,2965,2465,1896,2518,2785,2327,2480,1923,1553,1858,2287,1979,2734,2834,2188,2787,3295,2946,2301,1707,1574,1531,1769,2250,2106,2246,2387,2247,2115,2291,2272,2028,1926,1843,1863,1903,2027,2612,3134],[2271,2331,2189,2557,2990,2823,2942,3151,2812,2753,2586,2854,2976,2984,3052,2656,2236,1865,1944,2490,2767,2901,2524,1978,2705,3064,2643,2786,3089,3227,3320,3393,2971,3066,3251,3164,3162,3309,3432,3634,3466,3489,3707,3608,3567,3798,3926,3974,3622,3415,2601,2064,2028,2202,2561,3102,3343,3421,3618,3499,3249,3361,3082,2508,3220,3847,4114,3640,3203,3304,3558,3396,2892,2572,2757,3178,3272,3077,2480,2923,3055,2903,2693,2260,2470,2887,2908,2673,2430,2409,2542,2635,2614,2775,3566,3896,3962,4051,3812,3413,3519,3684,3793,3663,3693,3848,3731,3372,3499,3736,4128,4388,4336,4305,4336,4422,4177,3347,3193,3721,3605,3300,3205,3277,3483,3514,3530,3275,2838,2570,2736,2865,2742,2620,2285,2026,2039,1973,2201,3098,3783,3409,2791,3394,3948,3152,2222,2049,2476,2899,2612,2596,2399,2284,2484,2696,3252,3464,3593,3396,2622,2177,1706,1660,1793,2298,2404,2162,2519,3167,3498,3480,3152,2706,2404,2192,2121,2194,2171,1747,2164,2310,2676,3485,3761,3079,2165,1713,1588,2007,2082,1827,1857,1804,2030,2225,1985,2121,2167,2109,2231,2316,2663,2565,2013,2050,1983,1722,1478,2205,2527,1934,1582,1678,1878,1881,2134,2358,1530,1449,2127,2001,2021,1746,2047,1881,1610,1878,2374,2371,1874,2091,2589,2879,2511,2070,1671,1627,1865,1734,1677,1697,1768,1758,1757,1945,1738,1587,1812,1598,1741,2199,2513,2670,2790,2733,2526,2476,2215,1773,2093,2457,2568,1838,1987,2767,2666,2434,1932,1617,1876,2441,2661,2242,1987,1858,2102,2424,2427,2335,2231,2585,2493,1912,1961,2345,2437,2465,2429,2423,1874,1788,1540,1531,1919,1746,1979,2531,2721,3002,2957,2436,2686,3044,2719,2293,2767,2138,2019,2497,2663,2155,1619,1600,2094,2753,2889,3132,2890,2858,3339,3076,2684,2518,2612,2761,3024,3007,2453,2180,2402,2903,2103,1678,1888,2254,2398,2036,2086,2509,2022,1788,1809,1990,2958,2707,2146,2462,2655,3805,3602,2310,1923,2823,3950,4206,3169,2560,3042,3069,3082,2944,3601,3770,2899,2874,3273,2965,2821,3278,3379,3360,3098,2941,2878,3177,3120,2245,2282,2409,2212,2242,2327,2646,3019,2813,2854,2620,2592,2543,2850,3582,3889,4114,3685,3185,3028,2790,2584,2281,2019,2080,2566,3031,3044,3763,4241,4017,3958,3692,3481,3902,4073,3751,3458,3481,3217,3133,3312,3448,2612,2756,2742,2168,2177,2388,2214,2173,2542,2349,1924,1888,1780,1737,1681,1387,1613,1924,1893,1881,2160,2434,2325,1886,1817,2317,2352,2189,1887,1507,1424,1283,1283,1339,1396,1509,1582,1637,1430,1453,1779,1788,1919,2188,2404,2746,2666,2092,1810,1687,1537,1502,1646,1880,2181,1764,2597,2269,1901,1931,1884,1819,1731,1753,2047,2332,3111,3504,2712,2416,1807,2109,2729,2558,2149,2591,2918,2476,2129,1940,1881,1922,2039,1940,1918,2301,2206,2194,1819,1935,2327,2280,2155,2140,2246,1785,1578,1628,1849,1656,1707,1859,1810,2381,2421,2149,2067,2203,2340,2122,1970,1836,1714,1861,1809,2240,3057,3042,2836,2512,2749,2655,2230,2121,2475,2240,2381,1780,1917,1953,1909,1636,1516,1786,2322,2596,2459,2237,1689,2350,3002,2792,2333,2087,2319,2648,3201,3099,2675,2965,3466,3593,3480,3255,3261,3261,2866,2260,2676,3038,2663,2340,2263,2101,1793,1771,1915,1974,2624,2291,2123,1886,1861,1705,1879,2056,1963,2131,2398,2526,2391,1852,2055,2842,2439,1664,2146,2714,2388,1887,1852,2190,2152,2049,2126,1919,1836,1917,1562,1339,1478,1621,1807,1784,2131,2094,1569,1654,1644,2273,2118,1485,1310,1678,1915,2021,1678,1373,1666,2005,2158,2104,2215,2496,2116,1894,2450,2375,2023,1998,2102,2045,2302,3137,3638,3671,3043,3238,3538,3466,3188,3605,3681,3345,3043,2707,2566,2710,2792,2934,3164,3616,3732,3754,3078,2922,3309,3137,3033,3264,3168,2623,2688,3145,3252,3489,3516,3438,3388,3311,3229,3037,3106,3156,3090,3128,3043,2788,2612,2569,2636,2786,2571,2758,2545,2840,3207,3532,3559,3331,3659,4020,3461,3464,3503,3660,2906,1768,1687,2341,2007,1698,1633,1473,1714,2351,2396,2484,2972,2186,2326,2458,2543,2969,3119,2719,2556,2706,2952,3133,3082,2934,2580,2449,2674,2871,3073,3224,3143,3138,3067,2579,2195,2832,3375,3429,3470,2657,1681,1766,1799,2096,2556,1909,1798,2525,2648,2643,2555,2287,2030,2263,2130,1699,1744,2137,2411,2076,1796,1654,2013,2555,2562,2880,2609,2016,1847,1559,1378,1639,1578,1824,2100,1906,2395,3093,3062,2370,1872,1719,1752,1864,1527,1570,1951,2425,2806,2828,2912,2956,3112,3234,2898,2626,2568,2546,2150,1822,1820,1877,2097,2144,2291,1981,1569,1525,1359,1459,1825,2407,2708,2070,1961,1928,1310,1278,1817,2325,2534,2187,2257,2310,2236,2611,2618,2658,2620,2454,2133,2148,1960,1905,1945,2332,2548,2272,3283,3394,3213,3057,2415,2052,2777,2645,2348,2656,2662,1947,1800,1945,2255,2940,2692,2109,2474,2254,2183,2547,2827,3172,3090,2845,2604,2374,2414,2489,2747,2480,2281,1923,1738,2274,2400,1912,1814,2568,3108,2675,2578,2400,2420,2852,3012,2391,2179,2586,2739,2851,2998,2638,2545,3212,3757,3917,3806,3675,3581,3337,3195,3397,3374,3199,3242,3268,3381,3159,2830,3584,3840,3670,3725,3763,3796,3808,3633,3609,3827,4072,4187,4100,4067,3948,3978,3911,3874,4129,4176,3945,3991,4144,4156,4094,4026,3957,3692,3538,3553,4025,4178,4250,4070,4036,4188,4219,4199,4127,4052,4051,4127,4140,4197,4420,4362,4088,3653,3563,3442,3193,3329,3486,3538,3584,3500,3342,3017,2976,3054,3178,3272,3500,4064,3830,3154,2946,2565,2365,2601,2288,1673,2012,3487,3454,3129,2775,2880,2855,2524,2788,3099,3189,3355,3947,3437,2938,3539,4408,4700,4640,4085,4035,4168,4110,3316,2479,2915,3353,3379,3310,3588,3658,3587,3164,2979,3219,3460,3312,3112,2862,2634,2431,2354,2623,2659,2217,1888,1713,1715,2028,2368,2516,2667,2607,2642,2855,3232,3630,3698,3762,4256,4288,3863,4001,3925,3329,2645,2220,2108,1972,1855,1834,1811,1604,1389,1571,1622,1482,1466,1551,1450,1501,1685,1623,1512,1638,1659,1815,1719,1622,1644,1899,2022,2047,2020,1897,1913,1926,2025,1876,1994,1816,1660,1489,1633,1785,1719,1632,1819,2332,2475,1917,1617,1570,1657,1869,1935,1836,1708,1777,1825,2034,2186,1936,1763,1707,1650,2226,2029,1945,1673,2309,3018,3718,4277,4257,4092,4055,4351,4596,3946,3414,3405,3736,4308,4377,4252,4189,4112,3791,3508,3691,3864,3936,3835,3960,4317,4441,4140,3781,4026,4323,4644,4489,4200,4308,4336,4138,3781,3371,3100,3155,3074,3017,3182,3361,3225,3104,2965,3196,3906,3736,3443,3276,2354,1712,2142,2138,1905,2177,2242,2339,1969,2025,2416,2530,2812,2733,2564,2433,1960,2315,2840,2410,2060,2282,2593,2557,2542,2418,2051,2482,3175,2876,2635,2477,2667,1991,1716,2088,2141,2692,3467,3128,2548,2623,2959,3401,3053,3181,3440,3242,2470,2625,2742,2686,3010,3475,2876,2022,2556,2690,3044,3016,3806,4156,4133,3403,3195,2725,2156,2675,2847,2320,2602,2950,2446,2784,3121,3244,3223,2750,2473,3188,3486,2876,2647,3030,2962,2741,2974,3308,3343,3019,2568,2156,2647,3127,3060,2464,1859,2121,2588,2520,2906,2329,2851,3496,2999,2687,3375,2890,1876,1808,1914,1787,1842,2109,1887,2075,2398,2214,1879,2594,2803,2166,1765,2095,2427,2461,2633,3002,2776,2602,2233,2016,1928,2150,1995,2373,2702,2359,1834,1614,1632,1992,2664,2050,2106,2034,1775,1968,2686,2395,1830,2408,2702,2221,1847,1613,1632,1741,1668,1698,1723,1483,1444,1603,1748,2018,1761,1578,1992,2008,1833,1805,2182,2644,2288,2427,2407,2255,2676,2570,1748,1784,2024,2307,2490,2320,2055,2286,2163,1784,1954,2220,2518,2317,2113,2084,1882,2014,1879,2353,2854,2698,2093,1786,2095,2498,2637,2413,1788,1754,1664,1611,2559,2711,2017,1796,2380,2744,2658,2342,1996,2602,3465,3075,2249,1885,2100,2573,2679,2619,2599,2832,3078,3114,2999,2767,2776,3021,2996,3072,3483,3178,2745,2173,1603,1549,1709,1852,2107,2415,2730,2968,2643,2248,1930,2053,2752,3086,3360,3646,3356,3408,3432,2691,2084,1804,1972,3021,3430,3343,3848,3965,3615,2828,2180,1840,1654,2319,2932,2320,1713,1779,2244,2940,2542,1996,1514,1530,1672,1479,1531,1942,2443,2536,2648,2734,2808,2653,2895,3056,2922,2566,2872,3121,3021,2364,2274,2834,2622,2401,2130,2443,2534,2459,2556,3198,3576,3552,3513,3061,2766,2843,2389,2617,3520,3208,3399,2697,3020,3176,2512,2036,2127,1966,2064,2618,2213,1970,2583,3094,2689,2404,2100,2210,2583,3321,2998,2564,3219,3427,3706,3841,3899,3641,3620,3105,3221,3158,3500,3821,2994,2648,2718,3141,3354,3105,3054,2941,3226,3252,3573,3874,3649,3487,3650,3123,2513,2701,2690,2882,2927,3017,2699,2610,2595,2541,2691,2751,2696,2789,2965,3039,2980,2965,3121,2780,2320,2255,2236,2310,2659,2929,2916,2916,2939,2934,3104,3072,2925,2815,2352,2844,2745,2535,2815,3052,3024,3055,2907,2530,2459,2668,3061,3455,3466,3451,3047,2602,2746,3020,2793,2629,2604,2491,2692,2844,2747,2260,1681,2024,2170,2231,2908,2833,2513,2191,2562,2969,2920,3228,3378,3597,3286,2608,3201,3162,4043,3370,2721,2879,2828,2876,2721,1905,1399,1780,2056,2265,2465,2847,2592,2906,2907,2105,1613,1505,1397,1433,1716,2434,2754,2681,2692,2792,3018,3018,2487,1778,1433,1824,2834,2461,1432,1913,3000,2707,2512,1915,1586,1690,2126,2171,2443,2325,1830,1803,1764,1804,1956,1669,1476,1411,1644,1793,1863,2218,2959,2855,2246,2355,2537,2104,2004,2049,2169,2360,2371,2955,3431],[1643,1642,1665,2071,2795,2588,2873,2871,3013,2823,2267,2344,2786,3295,3320,2484,2249,2208,1926,2392,2779,3011,2873,2805,3496,3234,2626,3209,3438,3334,3200,3153,3262,3335,3410,3371,3357,3334,3252,3396,3444,3466,3752,3868,3649,3539,3307,3462,3299,3242,2828,2245,2191,2443,2982,3459,3241,3293,3545,3404,3382,3476,3168,3039,3218,3608,3378,3092,3495,3493,3624,3895,3317,2683,3748,3951,3920,3580,2827,3247,3382,3363,3128,2839,2942,2953,2878,3022,2762,2542,2889,2900,2443,2763,3406,3736,3961,4120,3834,3571,3885,4001,3940,3575,3880,3925,3454,3549,3835,3848,4100,4580,4688,4604,4419,4428,4424,3587,3110,3209,3235,3355,3439,2767,2642,3265,3471,3209,2956,2840,2885,2984,2484,1985,1743,1711,1848,1776,1680,2345,3464,3633,3128,3072,2888,2769,2534,2259,2336,2653,2963,3191,3147,2787,2270,2565,3140,3372,3670,3739,2840,1643,1988,2203,2257,2454,2535,2456,2481,2899,3175,3096,2823,2595,2415,2199,2434,2855,2474,1841,2321,2853,3530,4255,4603,3637,2533,2101,1893,1916,2209,1811,1743,1713,1730,1883,1900,2021,2047,2270,2688,2579,2414,1763,2048,2171,1745,1770,1721,2090,1889,1581,1700,1747,1874,2023,2168,2216,2112,2369,3019,3337,2512,2022,2561,2413,2352,2746,3208,3033,2691,2797,3166,3312,2886,2290,1996,1804,1702,1665,1562,1593,1790,1599,1732,1775,1847,1759,1571,1713,2212,2208,1976,1978,2170,2176,1977,2050,1973,1842,2163,2019,2054,1682,2016,2376,2122,1981,1850,2148,2789,2874,3011,2796,2157,1916,1836,1922,1973,2424,2422,2556,2553,1999,2044,2164,1898,1944,1920,2576,2342,2152,2014,1704,2092,1893,1675,2125,2481,2818,3188,2601,2774,2900,2588,2258,2323,2025,2129,2056,2061,1919,1515,1564,1664,2279,3204,3461,3120,3075,3094,2576,2541,2547,2707,3219,3538,3647,3019,2622,2544,2514,2079,1976,1722,1917,2365,2483,2416,2397,1843,1653,1604,1963,2808,2678,3008,3354,2727,2988,2555,2066,2098,2266,2836,3505,3168,1802,1852,1914,2217,2774,3298,3685,2955,3128,3638,2208,1350,1428,1890,3209,2946,1792,1963,1863,2398,2413,3013,3599,2990,2612,2714,2583,2657,2818,3090,3277,3212,2917,3211,3637,3915,3927,3388,2907,2557,2195,2024,1737,1699,1906,2395,2799,2775,3461,3689,3382,4194,4455,3758,3759,3706,3647,3169,3149,3256,3521,3500,3352,3320,3604,3509,3060,2544,2465,2641,2590,2666,2640,2280,1974,2238,2377,1772,1401,1794,2326,2447,2584,2699,3092,2718,2607,2432,2570,2453,2323,1745,1532,1395,1502,1742,1571,1329,1403,1447,1688,1494,2139,2778,2664,2455,2539,2765,2918,2871,2845,2744,2588,2309,2252,2219,1773,1872,1901,2189,2086,2187,2231,2187,2047,1766,1620,1566,1896,2778,3172,2369,2180,2106,2476,2884,2938,2860,3219,3099,2413,2147,1968,2147,2075,2122,1816,1832,1884,2169,2241,1764,1665,1925,2138,2485,2459,2127,1536,1604,1498,1817,1666,2046,1983,1767,2177,2305,2015,1640,1782,2056,2166,2138,1808,1595,1568,1863,2349,2800,3011,2835,2786,2638,2256,2337,2082,1966,1897,1827,1543,1884,2357,2200,1816,1808,2221,2580,2149,2183,1863,1344,1368,2425,2414,2222,2337,2402,2554,2831,2867,2916,3151,3696,3757,3657,2845,3175,2924,2065,1722,2849,3780,3244,2259,2055,2098,1950,1782,1809,1853,2158,2038,2013,2053,2084,1756,1536,1617,1642,1923,2597,2366,2603,2853,2534,2459,1802,1451,2199,2665,2577,2396,1936,1938,2059,2175,1870,1664,1945,2074,1653,1374,1433,1737,1909,1512,1570,1705,1698,1513,1513,1591,1683,1758,1665,1762,1982,1886,1469,1569,1803,2124,2331,2145,2403,2153,1958,2640,2710,2202,2066,2071,2281,2194,2521,3152,3384,3474,2573,2975,3330,3559,3467,3388,3322,3079,2692,2413,2370,2543,2383,2612,2514,3292,3662,3532,2978,2563,2623,3118,3378,3381,3305,2899,2612,2531,3190,3532,3623,3618,3453,3349,3298,3108,2990,3230,3405,3242,3209,3183,3008,2698,2696,2676,2446,2642,2468,2539,3000,3215,3307,3668,4249,3980,3391,3142,3296,3054,2048,1615,2107,2042,1638,1671,1751,1605,1569,1929,1876,2197,2876,2950,2810,2038,2340,2995,2744,2312,2128,2187,2232,2340,2319,2440,2381,2304,2515,2785,3101,3309,3387,3363,3462,3017,2046,2080,3148,3410,3740,2890,1875,1739,1729,1844,2139,1784,1749,2272,2834,2218,1945,2417,2008,1961,2072,1790,1710,1966,1981,1780,1718,2014,2542,2872,2132,2317,2302,2400,2295,1701,1473,2145,2139,1741,1665,1916,2069,2125,2335,2131,2055,2024,2065,1958,1872,1631,1965,2744,2815,2652,2846,2755,2903,3028,2912,3121,3453,2905,2480,2323,2177,1814,1601,2174,2502,1755,1732,2024,1629,1272,1752,2464,2170,1917,1843,1712,1324,1189,1797,2365,2491,2439,2654,2349,2424,2601,2476,2445,2552,2497,2411,2110,1989,2382,2325,2368,2674,2660,2761,2660,2472,2722,2370,1966,2489,2863,2785,2896,2906,1710,1796,2258,2660,2876,2210,1897,2004,1957,2470,3057,3002,2889,2705,2566,2186,2381,2460,2127,2457,2591,2501,1922,2126,2835,2437,1942,2066,2189,2749,2918,2880,2498,2983,2889,2524,2360,2422,2551,2566,2798,2770,2817,3138,3514,3863,3842,3654,3575,3462,3299,3260,3439,3448,3462,3486,3361,3505,3630,3586,3568,3912,3737,3760,3835,3838,3873,3760,3814,4026,4233,4344,4377,4360,3904,3695,3859,4110,4189,4156,4108,4168,4220,4080,4177,3936,3864,3640,3558,3505,3819,3903,3995,3875,3955,4249,4276,4336,4316,4100,4049,3990,3927,4256,4447,4339,4054,3780,3638,3260,3065,3192,3359,3487,3416,3281,3195,2961,2933,2898,2717,2649,3009,3768,3548,2966,2997,2724,2584,2510,1678,2133,3083,3423,3287,3194,2557,2706,2955,2490,2761,3484,3608,3596,4256,3982,3575,3775,4320,4381,4035,3859,3919,3692,3388,2974,2750,3611,3630,3494,3526,3658,3601,3507,3328,3188,3460,3552,3253,3082,2758,2286,2235,2501,2543,2062,1766,1780,1956,2398,2790,2714,2655,2933,3200,3154,3060,3465,3743,3698,3665,3805,3710,3517,3618,3544,2944,2408,2045,1869,1775,1764,1841,1582,1426,1575,1532,1389,1405,1628,1888,1562,1593,1806,1714,1552,1516,1803,1785,1521,1590,1620,1472,1544,1674,1733,1866,1932,1904,1966,1813,2050,2049,1608,1438,1716,1731,1583,1682,2073,2196,2050,1758,1839,1605,1712,2060,2043,1781,1758,1867,1935,2384,2072,1723,1790,1992,1716,1836,2067,1662,1411,2003,2419,3107,3964,4228,4187,3961,4046,4237,3540,3181,3361,4012,4428,4409,4236,3945,3749,3506,3296,3462,3670,4029,4025,3847,4006,4257,4140,3905,4006,4187,4051,3551,3270,3618,3708,3582,3490,3229,3137,3204,3195,3074,3321,3636,3652,3662,3419,3406,4144,3995,3587,3173,2442,2376,2604,2298,2332,2230,2238,2388,2320,2544,2376,2720,3252,2432,2219,2180,1968,1886,2195,2311,2168,2529,3374,3624,3573,3262,2891,3116,3157,2841,2418,2311,2459,2016,1911,1950,1688,2253,3124,3032,2522,2535,2673,3276,3200,3077,3217,3428,2778,2231,2604,2508,2590,3062,2114,1597,2187,2564,3724,3666,3586,3893,3798,3442,3046,1937,2048,2615,2294,2035,2930,2872,2504,2408,2824,2937,2905,2503,2367,2837,3146,2843,2548,2817,3006,2880,3262,3096,2734,2344,2052,1981,2720,3792,3385,2431,2050,2460,2521,2352,2467,1958,2203,2898,2917,2631,2671,2260,1776,1612,1516,1453,1563,1549,1787,2209,2430,2353,2455,2601,2285,1941,1918,2120,2598,3161,2918,2075,2164,2420,2282,1988,1827,1743,1888,2590,3217,2770,2188,1926,1646,1631,2409,2909,2781,2354,2094,2309,2507,2246,1817,2301,3203,2476,1783,1640,1682,1683,1687,1549,1529,1482,1608,1681,1742,1933,1614,1500,1904,1917,1659,1696,1881,2089,2078,1826,1447,1592,2364,3172,2351,1801,1616,2420,2609,2234,2006,2600,2386,2045,2248,2159,2368,2231,2382,2067,2042,2043,2189,2374,2024,2302,2222,2070,2287,2264,2327,2652,1886,1883,1866,1776,2372,2972,1871,1776,2618,2418,1981,2127,2522,2416,2188,2201,1850,1835,2199,2453,2979,2598,2138,2365,2688,2841,3211,3383,3110,2862,2823,2811,2911,2730,2357,2103,2152,2197,2026,1866,1923,2190,2699,3121,3098,3124,2543,2173,2445,2746,3285,3703,3509,3382,3350,3084,2762,2320,2427,2919,3027,3227,3292,3251,3006,2259,2096,2323,1958,2348,2640,2191,1593,1617,2491,3519,3017,1945,1464,1901,2145,1919,2238,2421,2581,2448,3019,2570,2601,2616,2865,2989,2508,2916,3728,3725,2876,1968,2046,2733,2083,1891,2159,2375,2310,1985,2229,3262,3630,3230,3075,2729,2845,2866,2880,3196,3106,2868,2940,2810,3227,2741,2379,2636,2656,2303,2387,2343,1859,2247,3089,3664,3452,2451,1985,2759,3495,3574,2762,2918,3642,2993,3694,3782,3780,3770,3633,3354,3311,2829,3000,3065,2574,2653,2907,2956,2769,2809,3266,3345,3173,2949,2937,3703,3833,3458,3536,3306,2976,2854,2674,3121,3042,2867,2433,2623,2640,2629,2583,2576,2699,2784,2735,2799,2788,3098,2995,2784,2544,2330,2194,2316,2555,2889,2989,3000,2828,2434,2764,3128,3084,2879,2585,2807,2611,2432,2728,2719,2408,2557,2544,2220,2082,2519,3197,3149,3166,3177,3110,2625,2908,3204,2889,2690,2461,2879,2677,2458,2697,2304,1968,2454,2314,2292,2252,2288,2559,2609,2746,3032,2800,2834,2500,2690,2756,2878,3260,3331,3527,3254,3057,3024,3098,2942,2225,1618,1782,2321,2360,2159,2088,2163,2085,2081,2018,1963,1793,1783,1604,1587,1896,2219,2535,2533,2733,3432,3928,3859,2929,2133,1810,1743,2302,2314,2358,2956,3046,2798,2458,1961,1784,1683,2396,2753,2398,2492,2068,1622,1286,1511,1842,1816,1824,1763,1686,2041,2105,1888,2287,2404,1960,2225,2577,2001,2046,2318,2719,2906,2875,3058,3430],[1863,2291,2508,2669,2409,2291,2401,2707,3371,2931,1979,1850,2178,2191,2633,2413,2263,1649,1620,2269,2780,2969,3062,3142,2952,2355,1826,2851,2807,2450,2411,2779,3265,3340,3319,3307,3294,3247,3249,3294,3181,3115,3601,3784,3773,3598,3216,3286,3184,2814,2522,2339,2425,3017,3650,4013,3674,3197,3219,3391,3466,3224,2964,3050,3174,3318,3083,2740,3117,3132,3365,4079,4042,3387,3993,3790,3630,3266,2431,2448,3451,4140,3481,2796,2975,3034,3054,2995,2579,2572,3709,3791,2874,3020,3332,3515,3991,4075,3720,3497,3676,4088,3777,3285,3664,3784,3696,3741,3821,3804,3882,4523,4827,4776,4516,4568,4512,4333,3584,3006,2981,3882,3952,3036,2757,3172,3629,3695,3094,2713,2513,2807,2304,2114,1943,1811,1881,1870,1826,2121,2578,2774,3132,3012,1959,2456,2724,2463,2503,2721,2656,2756,3125,2836,2457,2699,3217,3334,3480,3250,2587,1989,2778,3206,3028,2583,2245,2543,2713,2575,2569,2675,2740,2380,2217,2167,2563,2785,1824,1630,2040,2076,2938,3586,3821,2799,2486,2096,2008,1897,1769,1887,1956,1715,1653,1800,2090,2126,2232,2126,2175,2013,1500,1458,1968,1961,1693,1767,1888,1815,1946,2972,2806,2521,2270,2254,2283,2624,2518,2139,2419,2565,1940,2105,2533,2155,2033,2384,2677,2562,2670,2867,2686,2400,2103,1857,1843,1761,1747,1781,1677,1733,1826,1559,1946,1814,1787,1831,1807,1803,1913,1896,1870,2130,2472,2245,1718,1544,2042,2654,2712,2446,1991,1809,2098,1892,1670,1978,2614,3344,3628,3247,3185,2553,1986,2562,2447,1798,2094,2336,1956,2145,2181,2212,2493,2634,2402,2324,2332,2686,2352,1903,2055,2308,2320,1983,2070,2635,2653,2496,2536,2796,3387,3057,2409,2349,1858,1782,2217,1802,1753,1694,1536,1612,1655,2178,3364,3821,4073,4071,3319,2738,2934,2980,3051,3153,3084,3075,2280,2248,2562,2097,1958,1891,2042,2194,2188,2037,1746,1786,1773,1642,1738,2479,2993,2290,2468,2314,1738,1851,1797,1653,1443,1382,1904,2488,2314,1780,1727,1791,1924,1718,2040,2683,2861,3586,3526,2132,1375,1439,1596,3327,2890,1952,1667,1648,2504,2880,3086,3462,3144,2567,3088,2662,2259,2687,2730,2652,2546,2518,2939,3299,3447,3714,3598,2882,2175,1996,1980,1830,2070,2194,2450,2655,2822,3459,3451,3189,4056,3978,3702,3611,3255,3645,3270,3193,3405,3474,3303,3075,3394,3933,3948,3781,3295,2614,2379,2229,2280,3073,3274,2302,2546,2322,1525,1637,2067,2713,2929,3142,3093,3450,3176,3099,3262,2895,2728,2634,2428,2082,1592,1535,1693,1617,1688,1763,1583,1753,1611,2216,2854,3046,2821,2625,2746,2931,2913,2769,2814,2639,2599,2920,2812,2511,2719,2851,2791,2930,2680,2269,2300,2162,2225,1895,1628,1830,2281,2648,2578,2223,2446,2469,2558,3087,3260,3256,2862,3122,2524,2091,2037,1652,1548,1634,1674,1645,1743,2067,2248,2152,2343,2636,3189,3180,2396,1455,1509,1717,1711,1749,1925,1805,1835,2228,2237,2118,1802,2010,1911,2154,1999,1835,1665,1714,1872,2112,2501,2578,2159,2105,2227,2224,1950,1924,1824,1785,1671,1600,2042,2193,2221,2251,2181,2462,2718,2212,2070,2012,2193,2012,2559,2767,2747,2666,2601,2666,2774,3017,3245,3173,3463,3508,3799,3156,2920,2335,1694,1844,3195,4104,3316,2002,2099,1996,2195,1949,1793,2067,2050,1814,1717,1811,1939,1887,1877,2055,1961,1882,2345,2038,2333,3328,2880,1805,1658,1842,1760,1743,2139,2471,2212,1735,1897,2601,2199,1741,2330,2614,2036,1877,1937,1811,1739,1538,1537,1605,1716,1536,1619,1860,1813,1787,1930,1854,1595,1575,1612,1756,2029,2609,2659,2318,2439,2231,2449,2956,2452,1968,2143,2435,2801,2485,3039,2972,2485,2304,2069,2572,3322,3642,3597,3565,3438,3242,3003,2932,2847,2371,1875,2272,2647,3449,3116,2662,3017,2540,2293,2732,2829,2911,2830,2726,2701,2328,3001,2923,2657,2632,2733,2978,3208,3115,2924,3354,3367,3200,3261,3106,2865,2818,2729,2565,2580,2959,3151,3187,3257,3304,3316,3839,3933,3262,2997,2930,3171,2776,2137,2460,2514,1795,1648,1836,1840,1628,1639,1900,1774,1984,2461,2883,2544,2193,2856,3046,2631,2514,1937,1807,1805,2120,2450,2624,2755,2623,2495,2707,2994,3272,3462,3361,3402,3274,2920,2178,2622,3216,3538,3170,2088,1548,1602,1758,1879,1739,1991,2099,2342,2109,1924,2234,2156,2115,2316,2075,1778,2026,2085,2160,2110,2371,2122,2019,1722,1974,2015,2022,2113,1754,1682,2009,2093,1757,1530,1537,1506,1544,2150,2232,1939,1967,2058,1876,1693,1803,2133,2365,2624,2789,2855,2689,2871,2928,3509,4165,3850,2855,2382,2598,2581,2047,1743,2115,2062,1881,1751,2008,1942,1795,1981,1928,1567,1386,1376,1651,1809,1742,1931,2576,2855,3063,3170,2899,2582,2497,2365,2387,2489,2518,2906,2707,2463,2745,2636,2325,2851,3155,2688,2359,2438,2668,2503,2170,2268,2611,2956,3228,2818,2747,3072,2890,2899,2801,2447,2458,2153,1717,2145,2387,2625,2390,2155,2154,1844,1958,2215,2013,2081,2626,2415,1706,1942,1864,1649,1889,2137,1636,2188,3061,2869,2762,3363,2507,2030,2442,2708,2674,2666,2578,2579,3159,3676,3813,3843,3775,3526,3385,3394,3378,3291,3298,3316,3482,3445,3717,3692,3827,3907,3978,4036,3825,3674,3740,3895,3814,3701,3896,4104,4163,4083,4112,4066,3858,3995,4154,4158,4155,4320,4377,4332,4336,4130,4072,3872,3748,3594,3557,3726,4012,4020,3964,3893,4083,4322,4373,4398,4289,4188,4212,4217,4171,4353,4488,4388,4115,3855,3361,2962,3117,3361,3243,3180,3049,2968,2988,2972,2912,2675,2322,2189,2770,3447,3122,2761,2986,3289,2834,2204,2662,3507,3530,3217,3336,3082,2564,2712,2932,2536,2963,3640,3442,3791,4049,4180,4027,3732,3951,4051,3751,3466,3388,3269,3337,3664,3674,4128,4002,3603,3519,3630,3581,3521,3495,3495,3464,3356,3198,2841,2309,2205,2425,2210,1937,1789,1835,2149,2483,2578,2679,2958,3322,3494,3465,3156,2792,3082,3818,4116,3531,3025,2983,3186,2996,2659,2204,1876,1677,1835,1837,1844,1734,1516,1578,1732,1606,1556,1576,1555,1652,1516,1499,1548,1383,1439,1475,1592,1678,1533,1399,1390,1362,1521,1462,1404,1607,2009,2205,2209,1959,1994,2009,1713,1639,1768,1674,1590,1910,2137,2287,2083,2004,1986,1789,2105,2082,1821,1737,1975,2058,1906,2138,1787,1896,1717,1833,1881,1739,1612,1520,1551,1778,2091,2337,3120,3866,3906,3329,3459,3665,3628,3628,3775,3946,3782,3781,3919,3704,3672,3902,3875,3751,3803,3904,3846,3540,3507,3825,4128,4320,4365,4079,3550,3314,3483,3584,3529,3459,3551,3421,3433,3459,3374,3232,3284,3809,4284,4444,4128,3961,4284,3949,3617,3497,2865,2347,2116,2039,2125,2110,2088,1875,2110,1914,1663,2039,2696,2202,2063,2145,2092,2066,2136,2412,2620,2802,3582,3928,3802,3341,3120,3041,3059,3072,2710,2480,2218,1786,1667,1848,1688,2023,2779,2808,2374,2173,2342,3183,3500,3153,3210,3450,2965,2416,2841,2155,2296,2195,2297,2761,2611,3039,4001,3505,3010,3396,3452,3221,3053,2182,2382,2997,2677,2928,2984,2546,2866,3386,3011,2612,2665,2169,1836,1835,2092,2172,2414,2755,3141,3293,3086,2670,2214,1901,2017,1920,2487,3905,3382,2842,2458,2698,2880,2688,2238,1773,1911,2710,3244,2874,2096,1928,1938,1707,1540,1529,1899,1755,1637,2015,2140,2105,2010,1805,1955,1974,1758,1747,2524,3011,2480,2565,3099,2845,2667,1995,1510,1722,2424,2604,3378,3407,2580,1763,1666,1707,2057,2136,2342,2334,2017,2338,2164,1869,1825,2386,2620,1896,1526,1443,1508,1512,1444,1348,1359,1582,2181,2094,1777,1711,1793,1711,1782,1884,1759,1836,1808,1738,1722,1641,1741,2094,2320,2842,2195,1712,1765,2313,2353,1858,2046,2954,2780,2108,1945,2307,2389,2000,2062,2047,2200,2686,2755,2183,2209,2507,2400,2868,2746,2342,2431,2652,2316,2489,2507,1862,2498,2666,1524,1667,2200,2386,2398,1909,2316,2283,2003,1874,1746,2041,2712,2840,2706,2144,1814,2160,2330,2436,2567,2875,2865,2604,2350,2315,2230,2064,1869,1936,2222,2198,2126,1885,1851,1844,2445,3103,3448,3441,2887,2510,2399,2524,3100,3759,3737,3384,3319,3549,3577,3175,3184,2944,2978,2815,2279,2506,3017,2446,2377,2692,2292,2354,2800,2480,1736,1879,2980,3109,2318,1982,1872,2150,2425,2690,3172,2884,2153,1936,2983,2911,2303,2237,2268,2090,2410,2830,2814,2728,2454,1873,2047,2849,2262,1892,2019,2291,2545,2302,2565,3262,3326,2952,2664,2919,3245,2374,2330,2932,2373,2443,2851,3089,2795,2512,3166,3008,2698,2407,2471,2073,2160,3072,3015,3028,3341,2627,2099,2689,3210,2932,2620,3347,3211,3494,4124,4092,3624,3671,3278,3262,3430,2879,2440,2489,2416,2806,3193,3144,2884,3154,3231,3010,2971,2958,2987,3430,3742,3783,3841,3992,3869,3278,3054,2985,3071,2900,2857,2878,2808,2686,2696,2857,2807,2668,2520,2831,2757,2962,2893,2742,2577,2309,2149,2261,2276,2489,2850,2907,2552,2503,2713,2540,2443,2238,2062,2122,2203,2112,2263,2026,1901,2067,1833,2061,2400,2775,3021,2849,3173,3417,3041,2420,2568,2755,2331,2391,2287,2677,2306,2349,2844,2587,2700,2680,2600,2361,1729,1768,2174,2695,2711,2801,3007,2796,2790,3260,3790,3960,3770,3737,3759,3698,3215,2752,3107,3089,2287,1697,1652,1581,1655,1601,1581,1664,1622,1519,1715,2220,2396,2376,2127,1930,1893,2126,2438,2306,2241,2624,3274,3542,3090,2587,2536,2481,1931,2033,2416,2962,2886,2827,2635,2260,2024,1910,2044,1896,2180,2446,2062,1891,1847,1869,1829,1719,1837,1908,1886,2197,2359,1726,1693,2102,2050,2059,1879,1680,2044,2593,2968,3217,3160,3064,3333],[2537,3073,3078,2966,2366,1947,2239,2609,2923,2519,2060,2027,1889,2012,2304,2657,2378,1890,2072,2277,2546,2802,2801,2262,1780,1920,1824,2632,2467,2460,2730,3133,3395,3421,3384,3291,3253,3328,3362,3267,3066,3215,3752,3729,3849,3586,2858,2642,2676,2508,2577,2501,2348,2798,3230,3773,3396,2893,2958,3208,3130,2854,2675,2762,3204,3553,3356,2919,3133,2875,3182,3850,4322,4387,4013,3579,3620,3109,2366,2680,3544,3913,3532,2544,2432,2435,2502,2203,2314,2506,3142,3140,2776,2997,2734,2682,3498,3921,3592,2901,2840,3548,3599,3459,3735,3902,3972,3881,3825,3701,3946,4303,4760,4715,4419,4387,4308,4424,3892,3059,3286,4080,4082,3807,3396,3707,4275,4054,2942,2513,2470,2317,2194,2147,2003,1916,1821,1825,1971,1916,1766,2432,2997,2834,1822,2292,2780,2726,3044,3002,2266,2226,2662,2899,3125,3060,3150,3097,3206,2994,2599,2547,2712,3011,3417,3311,2399,2367,2618,2654,2602,2516,2615,2258,2320,2163,2100,2052,1642,2365,2563,2004,2124,1849,1905,1830,1983,1775,1656,1681,1802,2187,2008,1747,1832,1917,2139,2100,2093,1964,1824,1940,1491,1323,1648,1820,2094,2179,1536,1531,2356,3981,3144,2842,2154,1777,2424,3057,2324,1523,1602,1651,1552,1665,2189,2036,1952,2301,2436,2393,2318,2212,2029,1826,1744,1816,1717,1761,2056,1925,1619,1770,1702,1691,2066,1999,1628,1710,1934,2256,2412,1884,1790,2014,2376,2248,2170,1850,2164,2337,2380,2743,2490,1714,1483,1455,1841,2331,3044,3171,3382,3381,3333,2653,2387,2908,2644,2044,2095,1792,1636,1787,1953,2454,2911,2664,2111,2094,2342,2410,2094,1720,1924,2105,2135,1810,2713,3120,2998,2712,2363,3250,3870,3663,3585,2819,1812,1953,2191,2014,1889,1608,1619,1676,1574,1908,2543,3040,3572,3549,3123,2995,2713,2802,2762,2940,3087,2937,2522,2785,2598,1872,1973,1884,1766,2424,2632,1952,1697,1677,1757,1609,1428,2490,3320,3174,2751,1791,1514,1570,1510,1556,2077,1653,1808,2047,2070,2217,2154,1911,1668,1654,2002,2120,3166,3938,3497,2040,1196,1086,1777,3528,2867,1726,1772,1780,2141,2317,2282,2270,2424,2381,2830,2620,2433,2575,2786,2715,2640,2524,2884,3520,3824,3847,3919,3580,2686,1991,2076,2039,2029,2093,2466,2764,2828,3264,3064,2757,3723,3601,3631,3180,3140,3504,3515,3347,3299,3343,3218,3299,3596,3970,3906,3936,3641,2887,2219,1997,2120,2676,3110,2819,2574,2115,1548,1741,1926,2633,2932,3206,3497,3680,3584,3735,3415,2655,2478,2617,2779,2648,2433,2251,2164,1872,2030,2351,2260,1904,1687,1833,2328,2711,2680,2342,2181,2584,2802,2284,2305,2135,2380,2822,3011,3015,2668,2535,3095,3584,3287,2366,2055,2128,2142,1685,1634,1997,2215,2367,2225,2069,2451,2259,2040,2677,3316,3803,3661,3782,2784,2373,2348,1765,1472,1721,1866,1720,1665,1949,2406,2522,2106,2104,2751,3250,2655,1749,1688,1739,1710,1876,1848,1779,1791,2176,2368,2150,2289,2312,1869,1643,1572,1730,1794,1553,1345,1553,1994,2192,2046,2523,2840,2847,2220,1728,1601,1835,1812,1902,2348,2186,2265,2095,1793,2335,3010,3322,3535,3671,3399,2787,2498,2735,3079,3003,2492,2758,2900,3104,3131,3231,2940,3012,3140,2567,2684,3128,2871,2884,3828,4349,3586,2242,2261,2518,2391,2000,1854,2144,2219,1893,1663,1629,1622,1636,2030,2314,2642,2952,3167,2191,2354,2915,2144,1647,1830,2038,1955,1873,1764,2075,2470,2468,2092,2196,1930,1982,2884,2811,2272,2621,2609,1929,1606,1570,1668,1574,1438,1707,1792,1748,1990,2056,1846,2237,1798,1492,1536,1675,1986,2391,2325,1972,2347,2996,2846,2508,2586,2464,2155,2216,2543,2538,2872,3041,2316,1728,1933,2985,3846,3883,3872,3692,3344,3100,2994,2942,2988,2636,2358,2502,3062,3218,2488,2545,2894,2301,2683,2357,2266,2347,2750,3072,3084,3001,2912,2157,1754,2029,2144,2292,2873,2840,2933,3307,3052,2705,2840,2946,2880,2777,2903,3018,2976,3286,3588,3497,3480,3239,3166,3582,3602,3308,3134,2927,2769,2689,2928,3339,2785,1607,1459,1578,1751,1617,1963,2156,2095,1857,1792,2354,2592,2778,2920,2741,2722,2790,2260,2155,2188,2415,2674,2902,3009,3038,3015,3041,3219,3353,3270,3322,3476,3547,2985,2415,2076,2293,2604,2625,2042,1405,1514,2056,1910,2004,2292,2447,2626,3012,2715,2096,1898,1977,2241,2180,2216,2416,2705,2893,2752,2337,1746,1604,1506,1709,1868,1769,1655,1525,1580,1650,1666,1797,1720,1525,1570,1570,1947,2236,2106,1928,2052,1822,1567,1664,1838,1471,2195,2152,2285,2676,2714,3088,3938,4016,3271,2563,2286,2483,2574,2240,1954,1948,1842,1786,2085,2382,1939,1963,2076,1784,1748,1696,1648,1812,1928,1853,2192,2735,2888,2986,3266,3132,2842,2679,2262,2195,1864,1562,2420,2722,2451,2330,1976,2363,3475,3863,3292,2340,1838,2230,2293,2032,2508,3138,3154,3407,3155,3090,2602,2235,2558,2483,2135,2576,2415,1749,1685,1679,1949,1837,1808,1505,1259,1321,1561,1664,1906,2298,2015,1474,1417,1287,1562,2029,1931,1501,1904,2559,2214,2702,2855,1766,1654,1971,2532,3210,3168,2590,2756,3189,3407,3550,3484,3417,3326,3203,3218,3426,3392,3337,3219,3251,3291,3517,3580,3625,3692,3802,3919,3876,3784,3873,3772,3603,3819,3982,4104,3957,3973,3824,4026,4152,4005,4079,4152,4187,4233,4296,4252,4247,3995,3881,3847,3785,3882,4040,4328,4496,4316,4276,4189,4128,4111,4296,4289,4127,4187,4271,4352,4256,4170,4264,4221,3884,3764,3177,2906,3077,3304,3354,3036,2878,2918,2946,2940,2802,2545,2320,2243,2555,2961,2957,3176,3294,3883,2920,2552,3111,3288,3227,3356,3685,3211,2843,3119,3178,3057,3234,3382,3451,3631,3792,3978,3698,3421,3561,3451,3339,2785,2492,3192,3791,4284,3902,3798,3987,3620,3609,3842,3772,3582,3610,3606,3328,3199,2831,2363,2285,2343,2014,1692,1709,1959,2496,2776,2718,2678,3139,3514,3356,3248,3256,2972,2531,2527,3331,3450,2686,2366,2156,1969,1840,1825,1859,1821,1791,1835,1749,1759,1617,1462,1481,1720,1649,1570,1408,1478,1340,1412,1316,1620,1579,1506,1476,1424,1528,1544,1493,1478,1562,1798,1572,1332,1837,2091,2018,2234,2223,1938,1875,1897,1912,1840,1816,1802,1979,1902,1871,1804,2056,2211,2130,2088,1881,1751,1679,1930,1809,1540,1671,1726,1621,1553,1673,1732,1799,1739,1579,1521,1509,1578,1741,2482,3210,3613,3485,3127,3228,3692,3862,3839,3818,3397,3215,3890,3997,3936,4067,4125,4140,4036,3968,3675,3417,3460,3397,3713,4248,4315,4139,3573,3373,3486,3522,3362,3299,3527,3684,3609,3781,3728,3408,3262,3701,4312,4547,4439,4467,4400,4057,3830,3803,3250,2379,1966,2003,2138,2026,1841,1807,2060,1848,2078,2093,2244,2374,2243,2186,2148,2119,2272,2785,3266,3109,3332,3651,3691,3321,3016,3111,3072,2733,2360,2093,1670,1672,2005,2047,1919,2009,2972,3051,2310,1967,2178,2857,3282,3256,3266,3397,3076,2820,2642,2361,3116,2662,2724,3481,3283,3284,3493,3153,2791,3056,2884,2625,2980,2906,2570,2301,2274,2864,2687,2019,2901,4128,3774,2850,2602,2263,1874,2048,2542,2631,2632,2640,2954,3277,2991,2532,2514,2689,2346,1918,2243,3759,3683,2808,2420,2607,2687,2799,2492,1580,1601,2215,3154,3139,2298,2321,2384,2106,1588,1563,2138,1948,1522,1527,1493,1928,2064,1698,1810,1646,1535,1742,2342,3361,2881,3190,3644,2822,2766,2130,1776,2192,2229,1968,2990,3825,2814,1671,1710,1949,1688,1787,2546,2544,2055,2175,1675,1603,1490,1829,1848,1534,1466,1600,1593,1418,1390,1370,1454,1526,1831,1721,1622,1617,1990,1995,1950,1980,1975,1719,1634,1923,1887,1521,1494,1908,1940,1830,1804,2036,2202,2083,2024,1971,2588,3299,3016,2275,1738,2342,2370,2164,2141,2363,2674,2786,2339,1895,2401,2935,2459,2712,2532,2342,2612,2678,2548,2535,2586,2084,2276,2019,1335,1681,2314,2431,2234,1705,1844,1893,1956,1979,2137,2842,3516,3200,2714,2056,1742,1908,2354,2312,2047,2231,2359,2251,2050,1922,2004,2091,2143,2505,2482,2178,2289,2294,1990,1800,1857,2434,3076,3459,3328,2965,2868,2993,3181,3790,3861,3372,3422,3794,3731,3462,2736,2169,2623,2494,2097,2402,2576,2287,2283,2319,2340,2796,3150,2475,1748,1944,2494,2392,2148,1694,1751,1809,2254,2933,2962,2691,2220,2254,3094,3066,2439,2311,2243,2527,2758,2388,2046,1855,1759,1795,2298,2788,2546,2202,2014,2600,3022,2441,2583,2897,3034,3218,2987,3133,2820,2054,2188,2712,2798,3032,3366,3063,2486,2360,2964,2536,2258,2232,2118,1969,2613,3676,3168,2643,2744,2310,2155,2686,3012,2242,3039,3139,3078,3724,4072,3961,3762,3602,3419,3393,3362,2881,2222,2299,2338,2808,3173,3210,3176,3185,2811,2765,3012,3051,2998,2899,3094,3974,4132,4081,4104,3698,2908,2888,3016,2916,2750,2543,2531,2573,2678,2835,2688,2623,2764,2853,2818,3018,2990,2828,3056,2802,2210,2269,2228,2319,2640,2636,3076,3243,2332,1973,1731,1850,2093,1861,2018,1974,3238,2980,2445,1973,1954,2679,3098,2946,2418,2355,2894,2867,2312,2128,2188,2103,1875,2086,2194,2340,2553,2624,2258,2091,2453,2500,2553,2317,1681,1651,2188,2645,2577,2702,2988,3139,3956,4644,4588,3980,3572,3626,3362,3652,3273,3251,3458,3000,2389,1803,1467,1456,1588,1639,1567,1641,1686,1630,1938,2512,2643,2468,2270,1945,1713,1875,1820,1836,2073,2310,2692,3254,3090,2643,2934,2814,1767,1665,2110,2683,2811,3044,3233,2651,2229,2107,2030,1960,2132,2380,2536,2304,1947,1822,1773,1998,2593,2275,2196,2071,2447,2240,1820,2350,2249,2415,2176,1619,1952,2464,2809,3017,2986,3149,3329],[2543,2916,3046,3076,2898,2438,2873,3072,3140,2784,2491,2274,1832,1546,1787,2546,2204,1847,2049,2150,2314,2698,2796,1937,1950,1835,1441,2047,2730,3169,3230,3254,3410,3421,3264,3285,3250,3240,3328,3450,3510,3505,3604,3631,3759,3497,2643,2101,2182,2186,2459,2483,2735,3525,4200,4140,3507,2997,2956,2993,2590,2363,2371,2239,3116,3500,3212,3076,3396,3065,2923,3659,4192,3958,3640,3412,3343,3075,2809,3465,3651,3421,3007,2160,1814,1863,1933,1817,2049,2316,2408,2179,1937,1907,1998,2037,2589,3218,2990,2309,2091,2753,3552,3706,3827,4240,4058,3812,3886,3706,3774,4024,4616,4667,4445,4065,3707,3693,3437,3203,3596,3619,3700,3303,2988,3814,4357,3897,2688,2561,2598,2397,2468,2202,2043,2033,2126,2356,2371,1947,1927,2917,3341,3255,2820,2717,3078,3176,3210,2866,2085,1811,2313,2898,3200,3250,2833,2551,2813,2657,2496,2416,2382,2613,3073,3743,3754,3193,2432,2459,2502,2540,2143,1914,2404,2379,2285,2034,2094,2784,2347,2411,1632,1608,2179,2337,2449,1992,1601,1655,1962,2324,1938,1823,1666,1676,1940,2025,1802,1997,2286,2072,1517,1404,1693,2195,2498,2058,1500,1809,1909,2720,2818,2279,1930,1905,2348,2510,1640,1019,1455,1692,1613,1606,1858,1960,2221,2766,2740,2390,2206,2208,2142,2199,2519,2152,1337,1555,2362,2050,1741,1801,1790,1705,2080,2183,1808,1769,1890,2013,1712,1700,1668,1680,1917,2218,2000,1822,2020,2280,2270,2490,2500,1609,1496,1805,2009,2151,2534,2777,3294,3495,3549,3151,2456,2125,2148,2211,2679,1971,1726,1974,2061,2096,2348,2091,1925,1937,1766,1961,2104,1872,1681,1425,1456,1854,3060,2932,2964,3100,3152,3982,4113,3585,3372,2745,1908,1939,2019,2384,1936,1699,1509,1414,1490,1716,1735,2240,3296,3071,2500,2499,2497,2921,2850,3173,3514,3145,2925,3146,2494,1951,2453,2532,1936,2190,2312,1816,1965,1771,1965,2021,1356,1885,2669,2586,2300,1676,1532,1543,1597,1807,2765,1880,1467,1610,1865,2202,2143,1782,1523,1673,1832,1771,3216,4045,3607,2065,1402,1539,2224,3542,2900,1606,1650,1359,2093,2451,2214,1934,1919,2049,2329,2698,2588,2352,2520,2759,2534,2534,3316,3706,3858,3467,3557,3681,2918,2303,2393,2250,2154,2562,3089,3119,2978,3004,2754,2917,3218,3177,3116,2941,3406,3672,3443,3022,2859,3043,3335,3835,3817,3648,3164,3363,2553,2023,2092,2497,2740,2609,2618,2591,2250,2163,1770,1624,1826,2632,3073,3263,3608,3573,3642,4072,3313,2596,2865,3168,3274,3199,2998,2653,2797,2656,2462,2919,2907,2502,2126,1960,2092,1954,2150,1920,1797,2214,2526,2522,2544,2657,2690,2709,2953,2774,1932,1961,2438,3208,3262,2510,2151,2164,1752,1529,1899,1913,1984,2240,1985,1919,2708,2448,2566,2994,3762,4018,3891,3542,2809,2745,2512,1838,1462,1482,1641,1779,2012,2100,2149,2098,1960,2650,3204,3019,2235,2008,1991,1688,1559,1955,2069,1494,1405,1748,1843,1680,1835,1841,1766,1696,1535,1590,1719,1368,1688,2214,2734,2681,2264,2766,2852,2566,1742,1563,1852,2115,2556,2612,2700,2580,2784,2171,1680,2330,3067,3133,3451,3415,3040,2786,2237,2206,2750,3055,2175,2765,3282,3170,2584,2789,3107,3494,3172,2397,3266,3921,3971,3908,4332,4264,3686,2554,2146,2020,1782,1909,2000,1876,1897,1835,1937,2005,1799,1693,1853,2514,2648,2863,2879,2635,2959,2597,2047,2103,1908,1989,1794,1782,1720,1607,2121,2142,1636,1786,1885,2281,3166,2426,2332,2897,2989,2242,1693,1455,1513,1493,1666,1866,1796,1546,2004,2103,1731,1952,1655,1461,1344,1820,2455,2283,2370,2698,2709,2967,2777,2180,2492,2640,2169,2185,2334,1979,1930,2110,1683,1490,2365,3829,4177,4002,3513,3141,3339,2863,2713,2964,3162,3527,3152,2994,2900,2221,2069,2887,2907,2366,2625,2256,2083,2531,3355,3493,3527,3398,2964,2526,2476,2388,2475,2210,2729,3059,3078,3116,2691,2316,2614,3067,2973,2766,2762,2899,3104,3419,3436,3435,3415,3117,2752,3050,3354,3875,4444,3774,2407,2257,3167,3499,2609,1519,1427,1723,2325,2256,2716,3345,3053,2111,1563,1966,2517,2778,2588,2595,2666,2415,2392,2544,2470,2415,2809,2947,2955,3034,3149,3177,3328,3296,3297,3507,3768,3363,2966,2786,1839,1704,1918,1974,2109,1597,1804,2369,2219,2004,2039,2477,3023,3514,3166,2358,2179,1752,1787,1737,2440,2950,2943,2774,2608,2400,2000,1810,1689,1831,1815,1590,1820,1770,1509,1434,1437,1680,1874,1637,1290,1370,1795,2033,2099,2280,2151,1678,1824,1665,1579,1648,2988,2545,2248,2466,2184,2343,3022,2989,2574,2701,2756,2794,2497,2143,1896,2053,1986,1881,2134,2029,1886,2102,1999,1509,1642,2264,2008,2008,1773,1766,2443,2654,2485,2647,2924,2956,2832,2646,2279,2209,1813,1371,2041,2645,2691,2492,2110,2564,3477,3619,3286,2544,1760,2151,2166,2090,2762,3400,3433,3347,3172,2611,2262,2656,2787,2421,2261,2403,2486,2016,1847,2702,2155,1332,1413,1633,1581,1696,1760,1632,1526,1714,1819,1774,1547,1480,1642,2049,1912,1560,1764,2161,2641,2825,2105,1693,1769,1676,1881,2831,3027,2688,3068,3352,3430,3398,3292,3300,3296,3155,3152,3454,3460,3392,3221,3209,3427,3543,3523,3597,3660,3675,3827,3816,3784,3670,3532,3768,4058,4058,4072,4004,4045,3939,3978,4156,3993,3882,4128,4140,4108,4199,4201,4236,4111,4113,4189,4148,4196,4252,4240,4445,4296,4049,4036,3983,3875,4138,4324,4155,4156,4276,4276,4228,4082,3926,4042,3983,4070,3365,2991,2933,3239,3481,3178,2887,2895,2917,2843,2799,2655,2520,2280,2484,3077,3486,3581,3586,3994,2909,2143,2718,3273,3425,3564,3984,3907,3391,3622,3726,3563,3419,3220,3359,3659,3523,2797,2513,2801,2972,2866,2801,2366,2676,3260,3478,3874,3582,3377,3515,3519,3829,3782,3610,3360,3508,3464,3229,2866,2418,2207,2084,1865,1743,2015,2544,2940,2866,2709,2730,3076,3063,3169,2744,2576,2542,2336,2103,2035,2368,2299,2024,1895,1788,1693,1774,1897,1868,1819,1748,1579,1725,1864,1713,1554,1327,1148,920,800,742,1182,1448,1465,1803,2191,2009,1722,1727,1477,1367,1526,1646,1500,1678,1613,1414,1548,2012,1835,1609,1842,1876,1934,2132,2077,1954,1928,1972,1918,1851,1831,1848,1929,2106,2083,1929,1861,1899,2130,2148,1897,1703,1620,1688,1723,1613,1617,1614,1664,2032,2066,1848,1515,1514,1585,1617,1786,2425,3419,3741,3290,3118,3244,3595,3775,4156,3915,3419,3553,3647,3618,3836,3776,3630,3752,3654,3388,3507,3507,3106,3155,3676,4123,4067,3506,3423,3614,3745,3819,3874,4321,4200,3541,3730,3686,3422,3210,3587,4365,4508,4520,4403,4228,4100,4117,3937,3523,2929,2425,2097,2099,1967,1706,1808,1788,1945,2358,2023,2145,2676,2336,1859,2162,2457,2457,2914,3021,2723,3270,3562,3462,3075,3029,2888,2471,2140,1789,1747,1604,1659,2462,2232,2226,2041,2711,3275,2494,1816,2029,2791,3448,3387,3181,3386,3497,3366,2501,2539,3539,3178,2501,3176,3486,3361,3050,3142,2881,2633,2326,2341,2612,2790,2409,2133,2539,2867,2791,2625,2752,3738,3996,2917,2669,2601,2347,2185,2036,2360,2621,2577,2613,3088,3064,2323,2700,2654,2514,1997,1892,2652,2783,2222,2230,2901,2819,2052,2250,2031,2152,2664,3436,2984,2107,2142,2325,2138,1738,1777,1992,2085,1754,1822,1704,1841,1962,1835,1770,1764,1793,1887,2101,2339,2007,2021,2153,2297,2280,2698,2482,2326,2145,2056,2724,3309,2658,1891,1921,2144,2149,2455,2789,2623,2391,2368,1744,1588,1556,1658,1579,1483,1489,1598,1598,1430,1496,1590,1502,1437,1475,1463,1519,1452,1914,2308,1907,1886,2266,1949,1835,2273,1971,1420,1333,1710,1729,1603,1578,2260,2566,1819,1896,2304,2774,2935,2256,2119,1958,2203,2614,2519,2073,2388,2891,2603,1891,2123,2523,3101,3046,2543,2048,2084,2684,3096,2954,2711,2518,2127,2027,1770,1587,1741,2073,1940,1963,1857,1772,1674,1773,1996,1967,2313,2683,2711,2846,2357,1881,2149,2644,2248,2022,2076,2111,1938,1619,1492,1813,2179,2619,2433,1967,1914,2000,2331,2389,2048,1844,1884,2238,3017,3415,3376,3376,3540,4034,4313,4152,3625,3838,4401,3934,3330,2617,2468,3039,2513,2318,2657,2407,2082,2032,2091,2480,2901,3008,2345,1891,2426,2933,2458,2093,1603,1553,1712,2088,2389,2508,2655,2661,2654,3076,3098,2508,2251,1982,2270,2149,2240,1913,1647,1772,2164,2210,1901,1771,1509,1664,2257,2270,1871,1918,2093,1996,1974,2170,2452,2181,2214,2852,3333,3144,2722,3025,2954,2568,2254,2459,2230,2304,2077,1858,1984,2702,3377,3119,2530,2270,2656,3122,3049,2672,2830,3140,2820,3802,3867,3641,3695,3664,3576,3337,2974,3034,2544,2333,2690,2544,2665,2911,3005,3040,2862,2787,3090,3097,3012,2852,2634,2567,3465,3833,3564,3233,2952,2666,2998,3277,3330,3316,2963,2833,2994,2740,2678,2613,2712,2798,2663,2759,2950,2974,3167,3211,2779,2430,2320,2392,2474,2873,2986,3227,2885,2272,2236,1908,1508,1715,1891,1999,1860,2899,2519,2041,1896,1997,2613,2908,2476,2091,2351,2584,2098,1625,1806,1991,2001,1823,2117,2004,2063,2576,2195,1515,1677,2364,2206,2406,2488,2447,2263,2578,2999,3061,2795,2872,3350,3984,4284,3882,2997,2996,2655,2299,3184,3533,3413,3022,2476,2133,1694,1258,1359,1521,1791,1544,1734,2068,1575,1843,2230,1920,1652,1840,1724,1600,1467,1356,1722,2190,2257,2464,3286,2861,2357,2839,2526,1544,1505,2314,3074,2723,2861,3244,3157,2810,2610,2260,2186,2208,2489,2711,2227,1699,1892,1894,1898,2166,1822,2219,2476,2754,2520,2170,2653,2601,2723,2326,1814,1906,2198,2819,2974,3037,3216,3116],[1760,1935,2789,3065,3162,2954,3164,3426,3093,2540,2316,2066,2051,1768,2012,2611,2307,1960,2086,2273,2395,2666,2762,2343,2519,2226,1403,1807,3068,3375,3110,3052,3044,3190,3132,3262,3165,3088,3309,3681,3759,3565,3587,3713,3476,3188,2763,2325,2253,2369,2910,3008,3370,4420,5412,5380,4357,3394,3386,3317,2755,2541,2654,3161,3783,3439,3310,3582,3448,2856,2888,3698,3852,3675,3445,3132,3112,3022,2588,3587,3548,2997,2216,1587,1454,1476,1484,1633,1854,2000,2025,1751,1653,1661,1814,1811,2017,2651,2557,2089,2142,2829,3760,3927,3948,4459,4105,4011,3854,4164,4197,4224,4480,4385,3748,2807,2291,2374,2647,3028,3253,3016,3435,3508,3437,3992,4296,3640,2444,2309,3038,3198,2899,2440,1910,2116,2280,2401,2552,2708,2628,3085,3285,3262,3488,3445,3307,3129,2845,2767,2285,1816,2250,2934,3122,3257,2891,2597,2610,2351,2331,2374,2226,2297,2746,3079,3639,3740,3027,2386,2404,2535,1830,1747,2311,2314,2551,2375,2322,2488,1958,1991,1502,2025,2361,2451,2634,2012,1575,2032,2276,2336,2115,2567,2200,2059,2140,2025,1760,1829,2036,1832,1617,1759,1960,2534,2403,2149,2262,2802,2048,2106,2585,2271,2293,2501,2281,1916,1658,1355,1256,1612,1983,1856,1933,2363,2678,2624,2138,1858,1824,1631,1871,2030,2365,1765,1070,1558,2448,2156,1854,1813,1666,1706,1949,1937,1806,1726,1706,1924,1937,1805,1675,1506,1547,1961,1985,1783,1783,1839,2260,2760,2665,2127,1696,2062,1969,1614,1973,2812,3289,3239,3397,3282,2708,2099,2129,1901,2176,1873,1604,2106,2150,2019,2035,1882,1903,1902,1902,1990,2141,1983,1672,1668,1724,2642,2676,2422,2834,2941,3160,3885,4109,3508,3032,2556,1719,1666,1733,1718,1696,1855,1788,1744,1742,1903,1979,2496,3528,3231,2622,2271,2430,2285,2551,3197,3871,3522,2621,2332,1952,1894,2561,3034,2386,2234,1700,1587,1770,1787,1958,2424,2400,2275,1907,1638,1856,1748,1717,1578,1615,1585,1641,1676,1780,1797,1814,1723,1664,1555,1528,1895,1748,2080,3353,3839,3234,1933,1241,1099,1902,3385,2937,1745,1796,1799,2994,3660,3384,2445,2181,2061,2221,2533,2382,2187,2212,2360,2374,2677,3309,3686,3701,3449,3638,3796,3381,2817,2567,2501,2489,2809,3128,3157,3021,2438,2300,2556,2497,2119,2198,2840,3304,3134,2942,3422,3040,2917,3475,4309,4379,4152,3404,3046,2666,2497,2455,2770,3065,2683,2680,2564,2277,2115,1650,1813,1968,2485,3007,3073,3149,3305,3651,3511,2781,3303,3752,3570,3392,3304,3037,2944,2974,3046,3176,3265,3347,3106,2421,1990,1512,1824,2218,1912,1681,1619,1763,2120,2672,3200,2840,2147,1875,2105,2005,2532,2742,3036,3315,2813,2683,2706,1753,1437,1873,2083,2192,2311,2186,2414,2524,2207,2490,2922,3447,3683,3243,3097,3552,3295,2350,1872,1405,1588,1566,1549,2278,2839,2611,2567,2808,2808,2952,2589,2094,2150,1770,1779,1613,1625,1589,1933,2205,2286,2317,1976,1606,1694,2056,2276,1880,1780,2077,2394,2959,3043,3190,3274,3168,3138,3030,2285,1780,2144,2213,2354,2951,2742,2717,2318,2675,2532,2274,2478,2348,2318,2662,2378,2697,3089,2566,2469,2618,2951,2895,3394,3674,3274,2645,2727,3094,3482,3285,3116,3814,4200,4177,4123,4300,4188,3744,2779,1958,1625,1776,1963,1932,1609,1553,1745,2043,1523,1431,2035,2724,2823,2515,2271,2142,2615,2778,2164,2326,2549,2358,2592,2098,1797,1853,1422,1915,2320,2064,2333,2374,2657,3141,2600,2014,2045,2460,2405,1744,1393,1464,1675,1804,2060,2242,1735,1666,1697,1984,2688,2620,1917,1474,1659,2070,2244,2786,3033,2621,2716,2302,2296,3031,3342,2718,2408,2532,2352,1984,1676,1465,1573,2742,4018,3971,3606,3233,3088,3039,2943,3021,3254,3774,3925,3542,3501,3144,2448,2222,2710,2208,2199,2693,2535,2266,3177,3784,3835,3911,3720,2934,2667,3067,2729,2613,2551,3062,3473,3464,3056,2554,2485,2832,2974,2836,2854,2691,2807,3163,3418,3391,3392,3129,2769,2708,2972,3128,3901,4559,4424,3442,3111,3130,3031,1971,1355,1350,2249,3078,2939,3138,3725,3373,2121,1975,1975,2671,2578,2467,2654,2645,2501,2391,2420,2375,2590,3010,3000,3032,2964,3065,3161,3239,3219,3396,3477,3585,3504,4581,4716,2392,1660,1645,1797,2322,2106,2184,2888,2243,1762,2231,2752,2684,2644,2787,2565,1951,1583,2008,1875,2275,2499,2666,2150,1966,2088,2052,1902,1729,1860,1801,1504,1798,1688,1445,1630,1750,1566,1605,1866,1550,1314,1714,1866,2033,2364,2152,1708,2139,1906,1960,2386,2907,2712,2389,2166,2173,2339,2481,2594,2906,2813,2702,3018,2706,2157,2143,2381,2314,2270,2046,1653,1569,1772,1684,1287,1866,2554,2196,1909,1594,1601,2079,2314,2301,2193,2495,2683,2374,2126,1901,2029,2350,2063,1988,1948,2498,3289,3172,3049,3168,2573,2413,2657,2562,2602,1975,2042,2586,3072,3219,3017,3049,3023,2927,3504,3250,2836,2601,2785,2480,2085,2755,3863,3318,2331,2280,2144,1821,1794,1608,1434,1482,1631,1556,1673,1737,1827,1803,1775,1852,1758,1509,1763,2464,2115,1729,1772,1780,1635,1671,2208,2410,2739,3275,3521,3582,3291,3073,3142,3181,3148,3130,3273,3228,3207,3078,3151,3390,3397,3443,3598,3708,3784,3819,3692,3501,3384,3620,4071,4281,4297,4313,4383,4440,4497,4264,4303,4065,3863,4169,4094,4187,4244,4199,4272,4142,4111,4384,4445,4296,4219,4126,4275,4228,4108,3851,3842,3864,4068,4200,4037,3915,4112,4308,4331,4031,3993,4208,4452,4096,3413,3031,2851,2954,3188,3228,3106,3018,2917,2951,2916,2750,2664,2446,2732,3270,3430,3641,3906,3172,1926,1876,2742,3531,3572,3393,3253,3292,3321,3338,3291,3429,3479,3521,3794,3663,3120,1936,1998,2663,2767,2728,2533,2237,2901,3428,3482,3792,3682,3374,3332,3566,3773,3710,3493,3229,3308,3248,2796,2311,2207,2104,1895,1944,2269,2812,2876,2805,2614,2678,2840,3122,2921,2573,2415,2394,2294,2042,1960,1805,1892,1727,1686,1721,1824,1979,2041,1926,1792,1838,1859,1902,1903,1634,1546,1388,722,665,824,971,1094,1345,1668,1733,1816,2115,2274,2040,1936,1456,1369,1694,1709,1583,1609,1485,1359,1698,2096,1738,1755,1811,1642,2024,2189,1950,2050,2169,1937,1823,1869,1865,2024,2280,2284,2246,2047,1954,1917,2495,2729,2145,1804,1652,1804,2152,1996,1722,1677,1627,2062,2039,2010,1698,1644,1673,1649,1642,1905,2958,3848,3782,3582,3396,3860,3962,3792,3773,3929,3982,3904,3804,3790,3483,3197,3459,3597,3190,2974,2813,2736,2711,3054,3951,3859,3396,3421,3782,4307,4452,4200,4276,4026,3510,3372,3292,3461,3500,3748,3996,3845,3851,4147,4188,4071,3898,3165,3204,3019,2464,2069,1982,1929,1853,2250,2360,2408,2586,2176,2376,2658,2454,2173,2710,2577,2603,2656,2301,2840,3242,3060,2666,2385,2787,2434,2426,2397,1876,1984,1889,1758,2164,2224,2272,2164,2665,3156,2579,2065,2222,2866,3755,3581,3276,3146,2578,2491,2533,2765,3665,3753,3186,3540,3419,3361,2723,2869,2491,2730,2434,2207,2216,2665,2636,2219,3169,3298,2976,2814,2697,3624,3495,2786,2769,2422,2118,1879,1938,2220,2328,2752,2851,2990,2782,2525,2925,2636,2703,2385,2174,2470,2231,2080,2238,2501,2320,2442,2754,2839,2747,2785,3239,2401,1723,1899,2056,1951,1910,1915,1733,2105,2261,2123,1816,1735,1814,1824,1717,1801,2023,2118,1986,1681,1562,1547,1624,2573,2779,3033,3166,2741,2481,2055,1742,2002,2096,1898,1842,2204,2451,2344,2404,2443,2490,2255,2016,1812,1839,1837,1620,1470,1571,1548,1473,1476,1444,1577,1460,1469,1485,1525,1710,1519,1722,2009,1870,1709,1805,1853,2116,2370,1793,1381,1483,1852,1963,1982,2040,2674,2392,1932,2166,2510,2727,2663,2187,1960,1661,1868,2396,2049,1722,1959,2288,2078,1264,2188,3054,3238,3176,2491,2026,2140,2541,3008,2741,2518,2269,1826,1704,1915,1874,1791,2125,2010,1981,1936,1794,1924,2098,1885,1677,2060,2175,2578,2696,2150,2203,2591,2534,2153,2025,2212,2101,1667,1507,1505,1667,2108,2757,1759,1299,1890,1982,2263,2680,2544,2139,1835,1893,2258,2876,3576,3583,3561,3937,4200,4120,3806,4090,4371,3932,3933,3683,3031,2536,2235,2341,1740,1683,2136,2238,2254,2425,3198,3742,2767,2332,2601,2819,2081,1730,1843,2220,2378,2798,3418,3035,2931,3310,2754,2590,2997,2610,2086,1804,2106,2402,2230,1697,1619,1897,2153,1977,1745,1872,1609,1551,1614,1615,1461,1390,1256,1356,1558,1594,1691,1996,2498,2834,2825,2386,2068,2482,2966,3165,2944,2446,2569,2640,1997,2058,2408,2436,2846,3240,2564,2006,3132,3541,2766,2523,3168,2927,3550,4164,3724,3405,3354,3306,3295,3093,3205,2990,2742,3009,3237,2930,2470,2574,2864,2940,2816,2813,3270,3245,2889,2806,2840,2499,2752,2864,2898,2851,2589,2504,2696,3034,3483,3250,2987,3152,3177,2953,2942,2958,2802,2631,2483,2522,2569,2841,3216,3273,3242,2998,2753,2710,2930,3140,3220,3130,2774,2340,2438,2648,2485,2605,2684,2314,2119,2265,2072,1893,2218,2393,2343,2381,2271,1808,2023,2382,1878,1744,2218,2477,2319,1790,2021,2158,2119,2357,2042,1778,2104,2539,2118,2353,2287,2552,2466,2678,3096,3122,2961,2934,3251,3763,3862,2993,2356,2988,3195,3124,3306,3824,3915,3462,2705,2166,1781,1243,1460,1690,1672,1905,2624,2442,1958,1978,1603,1343,1803,1985,1956,2112,1813,1741,1855,2317,2416,2380,3122,2776,2423,2730,2352,1908,1969,2457,3413,2591,2812,3281,3222,2967,2622,1913,2170,2686,2712,2642,2529,2464,2458,2084,1923,1685,1699,2191,2656,2808,2678,2868,2897,3209,3331,2720,2137,2149,2293,2584,2988,3266,3341,3243],[1131,1635,2736,3034,3107,3404,3270,3089,3097,2807,2101,2032,2303,2116,1902,1917,2196,2028,2081,2370,2317,2016,2710,3028,3022,3153,2676,3041,3733,3527,2803,2450,2705,3012,2741,2911,3165,3176,3351,3575,3503,3304,3386,3422,2884,2827,2699,2654,2745,3109,3562,3607,3781,4213,4452,4280,3916,3343,3506,3544,2911,2759,2993,3340,3698,3326,3282,3905,4100,3958,4050,4078,3481,3000,2497,2742,2857,2964,3129,3374,3017,2301,1714,1443,1303,1343,1499,1553,1708,1905,1725,1614,1666,1689,1869,1935,2082,2543,2872,3349,3921,4373,4433,4441,4281,4304,4437,4309,4309,4729,4542,4444,4469,4440,4100,3254,2250,1793,1944,2574,3064,3094,3162,3082,2966,3496,4104,3743,2583,2206,3006,2906,2450,2178,2072,2278,2229,2149,2208,2381,2689,3321,3580,3522,3680,3709,3010,2529,2311,3001,2859,2043,1792,2537,3209,3125,2721,2642,2507,2334,2321,2300,2236,2297,2511,2586,2742,3304,3617,3008,2352,2224,1871,2013,2256,2143,2468,2766,2288,2015,2004,1717,1843,2452,2276,2266,2447,2092,2069,2130,1795,1725,1849,1959,2110,2323,2281,2058,1824,1722,1792,1820,1870,1895,2061,2264,2183,2319,2557,2719,2344,2128,2366,2464,2645,2523,1780,1696,2711,2112,1637,1719,1802,1744,1852,2142,2459,2424,1671,1853,2138,1885,1874,1909,2039,1824,1370,1809,2149,2025,2120,2095,1804,1843,1792,1668,1711,1868,1808,1780,1877,1867,1592,1505,1648,1717,1729,1832,1807,1524,2091,3137,2778,2278,2003,2204,1936,1568,1719,2348,2823,2566,2984,3272,3050,2142,1999,1900,1784,1652,1542,1912,2155,2177,2077,1691,1631,1608,1665,1561,1594,1442,1651,2009,1919,2370,2780,2903,2832,2797,3006,3166,3129,3334,3225,2327,1593,1648,1739,1461,1779,2358,2364,2610,2784,2357,1932,2026,2734,2544,2625,2319,1775,2367,3350,3531,3676,3187,2447,2101,1699,1527,1640,2074,2013,1886,1612,1548,1983,1801,1494,1703,1598,1737,1897,1725,1603,1697,1758,1528,1761,2051,1960,1839,2068,2139,1835,1690,1626,1769,1655,1831,1886,2290,2836,2835,2569,1803,1322,1385,2199,3488,2556,1486,1257,1587,3036,3257,2414,2069,2140,2110,2332,2329,2196,2231,2423,2511,2520,2705,3083,3529,3370,3085,3553,3872,3587,3300,3421,3494,2965,3211,3647,3703,3101,2615,2249,1691,1441,1346,1364,1651,1843,1840,2402,3981,3664,3539,3550,3770,4095,4207,3990,3591,2964,2350,2504,2494,2656,2413,2730,2670,2120,1740,1986,2354,2375,2529,2762,2677,2789,3065,3709,3617,3596,4096,4273,4015,3887,3720,3682,3671,3505,3474,3296,3201,2901,2208,2001,1412,904,1547,1887,1769,1734,1562,1453,1578,2113,2648,2740,1841,1498,2468,3118,3192,3000,2799,3181,3687,4093,3407,2078,1585,2195,2653,2437,2338,2102,2224,2286,2507,2721,2839,3121,3291,2976,3069,3541,3481,2495,2089,1748,2003,1867,1497,1874,2509,2846,2922,2954,2534,2148,1991,2120,1835,1649,1848,1757,1712,1699,2609,2870,2676,2508,2159,1732,1676,2005,2403,2364,2275,2769,3423,2756,2277,2810,3309,2950,2701,2655,2416,2458,2359,2431,2521,2600,2647,2723,2439,2267,2622,2762,2188,1844,2237,2661,2800,2999,3006,2583,2492,2685,3006,3266,3424,3476,3419,3095,2929,3320,3579,2760,2965,3359,3519,3739,3650,3719,3742,3259,2443,1830,1903,2211,2347,2169,1788,1772,1913,1861,1404,1643,2875,3609,3077,2358,1852,1907,1823,2085,2278,2619,3147,2989,2874,2187,1797,1788,1746,2623,3023,2436,2404,2736,2653,2895,2841,2021,1600,1712,1736,1517,1541,1720,2004,1841,2112,2272,1708,1462,1690,1630,2338,2840,2341,1695,1706,2311,2325,2720,2553,2770,3210,2396,2250,3111,3559,2916,2163,2130,1991,1704,1526,1779,1861,2259,3172,3254,2485,2500,2384,2512,3188,3240,3186,3569,3593,3166,3023,3378,2971,2767,2447,1768,2060,2544,2366,2976,3562,3217,3571,3465,3500,2591,2463,2744,2619,2698,2768,2978,3274,3453,3376,3192,2986,2984,3030,2963,2868,2899,3001,3327,3377,3387,3286,3128,2808,2673,2907,3303,4144,4676,4604,4208,4042,3638,2590,1709,1431,1944,2908,3161,3329,3637,4071,3447,1960,2130,2829,3511,3309,3125,3343,3205,2751,2618,2599,2583,2666,2541,2544,2392,2348,2772,3132,3118,3082,3283,3431,3239,3169,3549,3648,2648,1728,1466,1615,2097,2187,1891,1913,2118,2668,2975,2873,2298,2108,2312,2426,1903,1630,2116,2123,2042,2368,2109,1725,2069,2189,2215,1952,1729,1773,1714,1670,1727,1720,1927,1898,1710,1677,1856,1995,1667,1685,2124,2031,2059,2383,2104,1890,2078,1777,2025,2330,2088,2142,2039,2203,2304,2088,2214,2998,3257,2921,2980,3305,3009,2544,2508,2618,2424,2281,1770,1673,1875,2061,1752,1404,1467,1824,1828,1703,1609,1539,1706,2337,2383,2281,2942,2424,1896,1682,1859,2199,2216,1937,1726,1531,1886,2878,3223,2600,1720,1138,1224,2420,2815,2498,1906,2292,2670,2392,2842,3183,3021,2876,3318,3650,3614,3312,2762,2788,2262,2141,3062,3672,3587,3212,2676,2035,1775,1600,1508,1381,1640,1979,1665,1574,1769,1852,1679,1550,1596,1533,1517,1763,1941,1795,1694,1714,1655,1678,1906,2095,2492,3252,3449,3384,3444,3284,3090,3234,3274,3120,3112,3202,3203,3240,3274,3341,3538,3653,3563,3532,3769,3912,3808,3694,3693,3718,4109,4248,4131,4235,4341,4206,4495,4868,4780,4351,4237,4229,4229,4172,4272,4352,4304,4228,4208,4189,4220,4449,4389,4066,4068,4259,4353,4529,4454,4173,4046,3919,3994,3902,3758,3864,3937,4277,4197,4288,4393,4124,3476,3140,3085,3105,3097,3263,3241,3105,3044,2933,2987,2939,2828,2745,2770,2901,3184,3595,3714,2767,1597,1142,1418,2142,2734,3067,3406,3230,3271,3506,3210,2949,3152,3420,3752,4168,3834,3381,2629,2517,2836,2999,2851,2657,3086,4085,4068,3663,4020,4030,3537,3616,3591,3605,3631,3645,3472,3060,2597,2254,2156,2018,1794,2002,2581,3265,3357,2776,2285,2177,2379,2619,2756,2526,2150,2093,1987,1973,1766,1808,1776,1823,1735,1837,1823,1891,1911,1814,1860,2243,2251,1959,2084,1966,1680,1584,1461,968,1232,1622,1653,1712,1776,1960,1858,1930,2117,2190,2404,2009,1670,1742,2023,2137,2232,2099,1665,1552,2178,2405,1830,1701,1607,1747,1932,1910,1526,1533,1688,1815,1925,1928,1977,2544,3221,3211,3042,2453,2023,2038,2098,1871,1721,1665,1747,1916,1856,1674,1786,1803,1681,2459,2817,2620,2152,1696,1631,1675,1685,2028,2808,3103,3530,3997,3573,3392,3427,3417,3597,4067,4244,4232,4216,4024,3732,3713,4006,4064,3263,3017,3008,2965,2932,3071,3532,3625,3388,3623,4328,4500,4452,4143,3919,3701,3369,3349,3541,3556,3471,3583,3539,3446,3561,4126,4256,4224,3937,3396,3149,3038,2558,1982,1990,2165,2171,2337,2370,2602,2448,2029,2046,2326,2332,2249,2768,3051,3331,2721,2173,2774,2573,2489,2354,2247,2701,2922,3096,3013,2302,2112,2457,2705,2563,2193,2077,2360,2940,2524,2210,2406,2648,3111,3516,3588,3454,2774,2016,2532,2954,2586,3190,4232,3665,3037,3292,3024,2328,2751,2802,2524,2197,2451,2789,2712,2484,1810,2448,2884,2988,3200,3491,3369,3029,2546,2491,2743,2600,2229,2138,1909,1827,2625,3059,2582,2601,3046,2955,2628,3008,3094,2874,2728,2128,2207,1863,2166,2557,2919,2925,2878,2375,2563,2548,1662,1839,2040,1867,1882,2344,2733,2298,1901,2015,1866,1793,1770,1866,1962,1996,2142,2415,2472,2165,1813,1638,1556,1541,2357,2276,2755,3834,3775,3329,2242,1736,1636,1738,1540,1525,1642,1887,1836,1764,1958,2154,2174,1927,1820,1949,1758,1998,1980,1597,1590,1541,1503,1506,1478,1471,1599,1646,1977,2269,1923,1818,1500,1622,1732,1515,1405,1449,1706,1664,1510,1647,1926,2194,2670,2545,2186,1744,1864,2243,2159,2168,2301,2204,1856,1793,2139,2261,1696,1617,1894,2092,1715,1947,3153,3124,2828,2576,2103,2125,2055,2276,3098,3019,2566,1998,1802,2544,2498,2195,1944,1813,1560,1794,2222,2381,2658,2457,2114,1847,1917,2245,2689,2307,1654,1751,2086,2021,1934,2395,2512,1792,1512,1577,1667,1568,1963,2635,2189,2128,2505,2449,2222,2396,2680,2447,2087,1917,1845,2054,2981,3541,3470,3605,3777,3741,3705,3680,3641,3681,3989,3576,2920,2898,2935,2541,2101,2723,2969,2451,2020,2299,3321,3472,2721,2941,3145,2662,2090,1994,2336,3058,2866,3107,3582,3171,3162,3660,3342,3041,2830,2488,1979,1846,1838,1986,1987,1710,1627,1803,1753,1932,2104,2128,2134,1623,1577,1569,1413,1435,1677,1884,1824,2039,2332,2315,2358,2181,2439,2198,2095,1743,2224,2958,2958,2220,2121,2381,2347,2952,3056,2412,2053,2901,2662,2665,3816,3195,2226,3222,3150,2904,3974,3962,3563,3095,3107,3255,3298,3283,3065,2641,3011,3132,3177,2950,2418,2365,2554,2732,2619,2602,2993,3042,2706,3013,2822,2402,2756,2964,3313,3618,3220,2472,2423,2688,3084,2839,2739,2809,2878,3053,3186,2984,2841,2753,2655,2732,2533,2695,2846,3009,3343,2888,2710,2680,2763,3069,3132,2951,2403,2053,2641,2994,2929,2853,2580,2380,2360,2478,2072,1787,2266,2679,2787,2722,2554,1880,1823,2417,1854,2120,2685,3049,2922,1925,1821,2011,1618,1958,2428,2708,2999,2723,2503,2398,2382,2309,2161,2501,2631,2809,3087,3362,3548,3641,2755,2148,1954,2938,3959,4052,3811,3880,3813,3105,2457,2047,1955,1745,1613,1746,1557,1799,2746,2640,2373,2286,2005,2522,3029,2687,2288,1877,1969,2098,1990,2251,2177,2366,3040,2976,2786,2642,2302,2438,2523,2766,3247,2784,3001,3366,3278,2995,2484,1990,1959,2398,2654,2656,2531,2273,2294,2068,2076,2378,2656,2949,3157,2920,3112,3033,2449,3098,3294,3029,2341,2192,1839,1991,2990,3461,3585,3473],[1430,1764,2679,2895,3041,3166,3331,3194,3186,3162,2519,2194,1951,1749,1632,1658,2040,2403,2496,2695,2785,2736,3301,3266,2976,3482,3408,3716,3942,3541,2126,1571,2570,3133,2883,3174,3352,3022,2814,2935,3195,3103,3006,3020,2716,2811,2702,2842,3163,3972,4384,4199,4152,3676,3123,3167,3471,3303,3282,3371,3543,3404,3297,3342,3239,3052,3349,3553,3398,4027,4313,4173,3833,3144,2436,2833,2714,2685,3128,3213,2542,1646,1527,1661,1560,1636,1593,1645,1758,1773,1716,1849,2173,2426,2740,2946,2868,2908,3438,4255,4431,4439,4280,4244,4156,4271,4507,4386,4651,4803,4476,4475,4340,4289,3560,2383,1844,1838,1740,2193,2814,2729,2706,2912,2752,3321,4125,4194,3375,2500,2676,2272,1954,2070,2083,2130,2238,2264,1986,1572,1792,2931,2966,2894,3243,3321,2700,2517,3174,3269,2821,2518,2252,2187,2874,2874,2436,2408,2510,2520,2439,2221,2310,2452,2492,2503,2562,2706,3104,3406,2952,2198,2095,2267,2142,2359,3286,2958,2519,2410,1788,1490,2220,2515,2132,2498,2460,2520,2798,2613,1988,1869,2183,2155,2086,2520,2720,2369,2085,2477,2232,2267,2800,2346,1854,2024,2118,2249,2311,2463,2358,2066,2762,2697,2680,2165,1541,1797,2691,1636,1565,1968,2274,2176,1642,1597,2133,2315,1738,2215,1892,1559,1505,2106,2476,2258,1845,1613,1520,1766,2292,2255,2124,1827,1670,1838,1804,1824,1760,1688,1848,1881,1671,1639,1790,1814,1788,1692,1820,2254,2175,2404,2120,1779,1659,1726,1642,1544,1406,1647,2092,1970,2388,2957,3165,2023,1732,1840,1802,2117,2098,1996,2121,2171,1711,1584,1766,1896,1601,1477,1396,1242,1489,1796,1794,2058,2424,2855,2766,2808,3025,2691,2790,2985,2789,2072,1523,1742,2063,1899,2048,2328,2543,2851,3206,2251,1680,1478,1710,2064,2511,2126,1707,2530,3508,3166,2458,1947,2099,1747,1621,1521,1818,2598,2442,1931,1594,1464,1466,1503,1494,1589,1424,1537,1749,1537,1442,1886,1858,1685,1820,2130,2300,2209,2326,2399,2209,1892,1902,1859,1529,2234,2096,1822,2500,2658,2552,1762,1356,1183,2565,3935,3041,2051,1715,2008,2743,2474,1906,2108,1994,2302,2602,2250,2076,2214,2530,2698,2721,2773,2824,3256,3311,2653,3099,3360,3233,3329,3341,3953,3251,3342,3583,3029,2723,2635,1999,1468,1238,1174,1140,1277,1263,1396,1904,3105,3816,3679,3237,3120,3407,3688,3422,3320,3000,2479,2623,2382,2546,2667,2784,2474,1924,1638,1828,2244,2412,2608,2325,2153,2900,3400,3397,3177,3552,4038,4327,4040,3792,3924,4197,4108,3703,3494,3242,2436,2256,1962,1797,1221,1037,1581,1793,1678,1740,1835,1488,1516,1840,1857,2168,2328,2676,3466,3808,3460,3160,3050,2830,2060,1686,2075,2287,1840,2214,2465,2279,2103,1775,1814,2370,3074,3172,2920,2800,3176,2944,2719,2608,3073,2957,2743,2238,2091,1983,1676,1465,2002,2405,2086,1930,1842,1559,1950,1836,1548,1528,1969,2171,1829,1666,1802,2203,2428,2141,2026,1998,1609,1743,2138,2587,2337,2578,2769,1936,1659,2556,2868,2632,3013,2654,2454,2536,2673,2785,2291,1993,2013,2558,2929,2458,2369,2593,2568,2269,2734,2944,3907,3567,2967,2698,2702,2825,2705,2800,2962,3184,3364,3370,3233,3238,3060,2277,2778,3264,3163,3162,3195,3118,2884,2742,2187,1934,2337,2632,2809,2661,2077,1901,1991,1926,1801,1739,2035,2934,2940,2463,1947,1601,1513,1391,2018,2544,2548,2636,2697,2058,1684,2070,2668,2830,2734,2487,2293,2689,2613,2659,2366,1806,1442,1410,1551,1487,1739,2512,2477,2126,1948,1998,1852,1732,1648,1417,1575,1775,1919,1800,1876,1774,1585,2191,2313,2354,2260,2204,2170,2164,2749,3001,2226,1892,1868,1924,1563,1787,2222,2175,2490,2428,1930,2003,1947,2232,3089,3598,3731,3572,3233,3166,3334,3322,2547,2396,2077,1833,2466,2744,2532,3428,3544,3608,3420,3332,3804,3012,2718,2810,2769,2717,2640,2820,3165,3496,3449,3355,3039,2920,2865,2802,2794,3001,3443,3671,3718,3532,3017,2974,2850,3056,3042,3408,3993,4527,4248,3780,3923,4083,3373,2184,1615,2082,2626,2884,2877,3296,3710,2977,1799,2269,3128,3476,3687,3460,3352,3090,3130,2973,2927,2884,2823,2488,2270,2022,2361,3086,3319,3176,3168,3185,3068,3050,3171,3487,2995,2664,2222,2110,2179,2110,2122,2678,3076,3198,3394,3386,2918,2326,2314,2199,2299,2464,2163,2164,2018,2184,2667,2048,2028,2470,2652,2656,2275,1913,1706,1644,1685,1884,1654,1508,1388,1539,2062,2184,1801,2038,2404,2443,2165,2366,2548,2084,1708,1610,1404,1437,1732,2160,2728,2278,2210,2338,2158,2618,3304,3262,2664,2818,3173,3107,3344,2818,1795,1795,1992,1702,2261,2288,1791,1639,1663,1453,1569,1908,2068,1958,1621,1867,2532,2229,1763,2175,2054,1877,1814,2088,2310,1896,1584,1831,2055,2255,2751,2974,2706,2452,1504,1212,1951,1908,1886,2079,2137,2388,2522,3024,3332,3066,2666,3270,3742,3002,2049,2169,2098,1712,2134,2973,3001,3208,2787,2294,1969,2291,2500,2126,1561,1831,2193,2026,1612,1604,1603,1495,1554,1589,1736,2032,1959,1730,1795,1926,1749,1659,1918,2112,2398,3222,3651,3574,3440,3430,3242,3142,3186,3104,3090,3125,3198,3260,3342,3473,3522,3597,3671,3562,3426,3676,3762,3796,3958,3916,3962,4152,4120,4253,4504,4460,4230,4819,4908,4901,4567,4264,4212,4199,4248,4251,4220,4221,4149,3964,4049,4255,4292,4220,4027,4228,4429,4384,4315,4277,4357,4336,4138,4027,3804,3969,3752,3551,4116,4383,4208,4083,3629,3250,3342,3298,3488,3340,3431,3321,3420,3188,2984,3065,3076,2935,2893,2953,2932,2822,2545,1655,1000,1084,1188,1310,1562,1718,2191,2501,2412,2972,3630,3312,3135,3144,3360,3460,3676,3870,3784,3617,3221,3016,3015,3121,3281,3664,4085,3862,3650,3797,4062,3896,3646,3666,3725,3601,3647,3386,2587,2173,2087,1927,1899,2264,2943,3252,2962,3105,2834,2298,2229,2225,2136,2012,1897,1763,1804,1843,1907,1788,1716,1822,1631,1689,1863,1998,2125,1941,2022,2544,3011,2372,1962,2135,1993,1785,1644,1457,1097,1235,1593,1494,1516,1493,1782,1938,2526,2658,2404,2076,1811,1636,1621,1894,2050,2104,1916,1711,1879,2390,1928,1567,1534,1381,1719,2063,1920,1571,1435,1390,1490,1782,1946,2062,2680,3146,3369,3406,2874,2130,2138,2040,1769,1968,2250,2335,2439,1737,1681,1894,1881,2276,3091,3184,3073,2700,2028,1642,1651,1810,2019,1882,2247,3090,3762,3552,3090,3274,3583,3860,4303,4081,3860,3840,3803,3760,3702,4005,4220,3560,2920,2828,3067,3078,3181,3520,3615,3625,3995,4659,4442,4407,4099,3843,3828,3624,3534,3670,3492,3145,3341,3388,3167,3361,4111,4272,4082,3862,3507,3188,3038,2517,2016,2186,2459,2172,2001,2262,2416,2241,1963,1790,1857,1953,1843,2170,3040,3771,2973,2047,1997,2147,2387,2388,2583,2788,2683,3076,2973,2436,2818,3420,3489,3140,2665,2449,2654,3015,1817,1552,1990,2343,2573,3240,3687,3090,2126,1912,2724,2961,2375,2910,3960,4211,3291,3245,2663,2456,3143,2908,2661,3047,2856,2946,2378,2596,2618,2716,3144,3116,2563,2436,2752,2828,2162,2022,2501,2668,2306,2184,2114,2248,3218,3220,2865,3270,3178,2546,2778,3541,3467,2541,2455,2295,2159,1598,2535,2887,2602,2802,2813,2166,1996,1846,1764,2186,1540,1962,2530,2689,2768,2230,1714,1478,1590,1786,1798,1840,1980,2230,2509,2544,2153,1826,1692,1504,1324,1364,1857,1989,2718,3494,3422,3061,2165,1682,1867,1640,1465,1491,1533,1981,2118,1872,1725,1939,1998,1953,2055,1620,1595,2123,2040,1603,1611,1670,1549,1461,1496,1666,1797,1769,2008,2052,2383,2276,1291,1230,1762,1650,1396,1438,1566,1618,1632,1618,1908,2410,2618,2171,1693,1814,1869,1926,1897,2095,2612,2820,2464,2446,2402,2608,2208,2002,1948,1918,1537,2180,3016,2768,2442,2014,1962,2370,2397,2513,3176,2934,2612,2070,2075,2438,2433,2496,2422,2248,1453,1692,2186,2408,2579,2066,1780,1782,1729,1575,1664,1854,1790,1802,1871,1786,1981,2227,2011,1722,1687,1881,2304,2336,2477,2795,2761,2662,2853,2508,1981,2239,2844,2434,2396,2127,1909,1832,2248,2900,3355,3513,3609,3768,3648,3549,3604,3904,3537,2577,2163,2950,3009,2127,2487,3459,2756,2150,1753,2053,2502,1556,1763,2450,2323,2126,2376,2592,3250,3116,2530,2907,2807,2763,3155,3540,3627,3056,2698,2654,2535,2182,1758,1626,1951,2026,1845,1720,1766,1732,2010,2105,1881,1417,1344,1367,1317,1692,2295,2118,2220,2612,2529,2729,2130,1794,1894,1752,1653,1752,1969,2198,2648,2452,2364,3057,2979,3304,3505,3306,2753,2989,3065,3482,3861,2620,2309,3160,2743,3544,3752,3396,3272,2847,3193,3626,3378,2527,2309,2942,3140,3152,3121,2886,2774,2625,2583,2512,2590,2862,2718,2630,2783,2920,2261,2194,2878,3022,3405,3826,3373,2598,2751,2821,2980,2853,2624,2750,2738,2950,3316,3242,3095,2925,2778,2389,2521,2674,2828,2984,3197,2912,2717,2972,2965,2918,3088,3134,2857,2408,2199,2330,2502,2082,1915,2448,2852,2636,1955,1534,1831,2559,2297,2276,2169,1894,1830,1910,1865,2101,2603,3169,2788,1603,2143,2513,2409,2402,2596,3011,3006,2466,2331,2341,2347,2424,2234,2534,2194,2746,3202,3833,3674,3407,3122,2764,2265,2624,3377,3724,3841,3829,3448,2812,2391,2240,2180,1978,1739,1794,2010,2432,2736,2373,2317,2008,2265,2640,2778,2858,2324,2032,2514,2492,2079,1995,2011,2454,2858,2775,2552,1989,2338,2525,2423,2862,2974,3066,3131,3030,3132,2915,2470,2330,2416,2674,2476,2452,2522,2024,1887,1865,2071,2787,3454,3730,3253,2595,2307,2456,2510,3118,3183,3095,2289,2263,2291,3023,3387,3031,3283,3410],[2008,2439,2854,2865,3172,3152,3112,3206,3105,3206,2624,2210,1879,1980,2173,2055,2364,2843,2634,2509,2823,3064,3250,2907,3115,3614,3511,3342,3333,3064,2700,2600,2976,3378,3432,3410,3207,2643,2302,2564,3165,3715,3572,3553,3440,3525,3486,3601,4185,4517,4357,4030,3508,2621,2416,3141,3553,3826,4125,4124,4024,3762,3577,3487,3516,3348,3273,3087,2532,2830,3420,3271,2836,2999,3305,3508,3227,2430,2253,2630,2632,2497,2614,2617,2077,1879,1904,2157,2353,2719,2979,3202,3794,3570,3774,3768,3863,4240,4344,4059,3970,4136,3890,3639,4060,4345,4464,4699,4729,4643,4476,4252,4002,3813,3319,2635,2262,2273,2024,2076,2325,2225,2239,3279,3471,3954,4142,4168,3686,3007,2350,1920,2041,2674,2736,2348,2627,2283,1808,1629,1763,2753,2958,3119,3307,3404,3116,2971,2927,2819,2648,2232,1928,1953,2499,2603,2500,2535,2592,2631,2452,2204,2115,2235,2303,2359,2509,2498,2665,2885,3263,2508,2226,2196,2366,2652,3055,3217,3073,2676,2296,2402,2829,2767,2602,2715,2706,2895,2773,2048,1920,2231,2590,2545,1910,2222,2766,2306,1835,2165,2120,1908,2178,2191,2075,1871,2073,2763,2728,2170,1753,1550,2281,2488,2743,2144,1854,2327,2554,1648,1585,2190,2203,1922,1910,1861,2227,2145,2143,2092,1544,1753,1826,1977,2409,2425,1745,1613,1447,1559,2370,1958,1528,1595,1786,1843,1587,1364,1553,1794,1897,1765,1862,2009,2284,1854,1553,1591,1825,2036,2040,1954,1655,1396,1510,1643,1446,1593,1881,1536,1910,2478,2984,2910,2648,1938,1692,1742,1925,2618,2747,2873,2849,2552,2010,2054,1782,2011,2036,2008,1656,1361,1746,1809,1855,2167,1871,1949,2468,2720,2859,2872,2880,2640,2557,2360,2110,2202,2328,2377,2643,2369,2453,2388,2275,2342,1919,1533,1520,1737,2090,2124,2014,2821,3110,2263,1681,1505,2026,1963,1599,1659,2439,2664,2051,1734,1588,1618,1438,1638,1576,1960,1716,1658,1623,1622,1717,1701,1716,1710,1656,1734,1983,2325,2210,1654,1826,2167,1971,1656,1849,2563,2414,1913,2303,2574,2953,2476,1914,1748,2742,3994,3521,1875,1208,1729,2543,2392,2020,2043,1878,2296,2685,2039,1812,2142,2664,3062,2902,2846,3074,3220,3065,2115,2644,2909,2946,3278,3695,3830,3053,3379,3327,2127,1984,2314,1976,1579,992,1043,1191,1234,1286,1947,2080,2696,3793,3312,2681,2867,3252,3244,3102,3096,2780,2440,2448,2150,2512,2850,2915,2601,2030,1895,2224,2071,1984,2568,2589,2513,2999,3310,3504,3841,3746,3781,4080,4071,4116,4241,4392,4143,3649,3417,3339,1966,2071,2230,1985,1663,1325,1309,1562,1413,1316,1798,1680,1647,1557,1606,2185,2654,3039,3655,3995,3938,3729,3395,2821,1959,1770,1943,2054,2126,2188,2375,2201,1832,1694,1838,2534,3293,3245,2491,2280,3559,3372,2777,2306,2987,2910,2911,2763,2181,2130,2314,1889,2163,1986,1934,1631,1882,1892,1760,1926,1781,1876,2631,2447,1721,1516,1946,2386,2067,1890,1877,2120,1811,1827,2296,2232,1940,2457,2802,2173,1834,2291,2720,3118,3139,2610,2483,2635,3074,3221,2590,2081,2119,2568,2646,2310,2081,1995,2603,2708,2912,2852,3676,3292,2732,3087,3352,2932,2431,2667,2868,2563,2918,3186,3240,2752,2198,2431,3161,3030,2564,2526,3140,2998,2377,2245,2105,1866,2437,2664,2764,2719,2432,2167,1952,1817,2164,2434,2329,2625,2371,2624,2243,1771,2076,1864,2424,2822,1984,2175,2430,2103,2265,2814,3541,3230,2811,2858,2813,2864,2657,2386,1881,1402,1438,1459,1472,1573,2394,2979,2832,2475,2382,2162,1879,1915,1654,1673,1925,1714,1469,1487,1708,1622,1505,1737,2180,2070,1965,2774,2759,1612,2193,3196,2628,1874,1962,1714,1427,1577,1974,2381,2297,1774,1906,2044,2386,2441,3086,3868,3853,3477,3494,3839,3829,3217,2530,2402,2691,3030,3409,3044,3088,3768,4014,3957,3393,3500,3493,2357,1973,2385,2603,2393,2499,2697,2930,3454,3492,3257,2898,3003,2921,2734,2634,2774,2796,2924,3599,3369,2830,2802,2952,3300,2958,2788,3493,3991,3638,3531,3515,3675,3653,3190,3182,3574,3881,3637,3370,2963,3111,2363,1779,2533,2658,2884,3463,3248,3348,2785,3304,3176,3130,3182,3166,3261,2754,2251,2883,3506,3352,3118,3223,3144,3097,3056,2998,3241,3340,3188,2751,2623,2747,2563,3045,3704,3522,3404,3326,3264,2828,2436,2514,2110,2106,2352,2281,2268,2176,2762,3559,2906,2668,3252,3616,3321,2544,1877,1612,1619,2399,2665,1710,1547,1935,2343,2375,2307,2307,2250,2431,2319,2435,2518,2447,2161,1963,1491,1317,1574,1868,2406,2599,2432,2265,2461,2590,2908,3399,3293,2425,2156,2576,2962,3418,2678,1608,1210,1308,1503,1916,1861,1598,1832,1855,1550,1720,1760,1909,1808,1366,1868,2194,1938,2049,2800,2622,2263,2021,2008,1948,1586,1624,1852,2415,3196,3223,2608,2729,2828,1805,1199,1301,1418,1927,2469,2429,2570,2539,2584,2822,2622,2623,3172,3506,2163,1382,1742,2043,1696,2025,2944,2979,2563,2322,1972,1753,2037,2555,2490,2445,2335,2554,2359,1679,1381,1832,1974,1661,1457,1719,1892,1773,1664,1780,1913,1798,1936,2133,2450,3047,3677,3786,3654,3443,3362,3111,3129,3221,3166,3110,3152,3212,3129,3203,3362,3631,3769,3768,3775,3563,3570,3697,4028,4179,4179,4255,4461,4326,4507,4815,4906,5116,5197,4827,4632,4595,4461,4275,4276,4248,4108,4068,3939,4013,3994,4011,3971,4038,4067,4263,4455,4471,4416,4082,4247,4541,4477,4372,4200,4228,4337,3846,3618,4132,4257,4028,3909,3665,3781,3937,3665,3532,3220,3341,3405,3398,3121,3000,3023,3011,2957,3193,3529,3478,2449,1287,1037,1250,1396,1418,1494,1503,1558,1754,1992,2171,2654,3348,3436,3341,3301,3348,3244,3362,3583,3789,3840,3431,3054,3098,3202,3449,3659,3491,3503,3797,3674,3769,3757,3688,3773,3704,3550,3360,2600,2087,2060,1932,1990,2415,2988,3186,2848,2340,2449,2397,1997,1879,1863,1824,1832,1847,1837,1901,1964,1618,1248,1624,1975,1785,2055,1980,2241,2463,3228,3176,3427,3104,2306,2305,2410,2085,1782,1705,1696,1267,1045,1392,1376,1331,1357,1832,1924,2250,1927,1549,1557,1681,1576,1603,1747,1882,2062,1844,1737,1728,1850,1793,1610,1494,1473,1479,1530,1350,1313,1491,1357,1349,1500,1852,2276,2612,2919,3251,3505,2900,2100,2184,2573,2664,2356,2598,2652,2636,1996,1878,1764,1755,2100,2480,2533,2348,2557,2700,1771,1670,1945,1976,2009,2254,2720,3049,3050,3147,3315,3552,4019,4256,3813,3785,3945,3762,3419,3445,3895,4199,3828,3050,2604,2699,3019,3751,4020,3641,3632,3690,4169,4304,4309,4205,4109,3975,3713,3434,3270,3053,2975,3203,3504,3166,3295,4052,4219,4111,3853,3630,3688,3272,3091,3098,2541,2290,1988,1801,2088,2101,2200,2249,1919,1870,1994,1871,2036,2612,2882,2308,1917,2027,2182,2541,2453,2446,2280,2347,3122,3155,2973,3266,3511,3156,3140,2818,2922,2587,3090,2472,1615,1422,1614,1985,2709,2953,2471,2066,2328,2599,2949,2607,2938,4077,4485,3969,2974,2261,2880,3537,3382,2812,2652,2568,2230,2032,2597,3670,3372,3350,3132,2299,2520,2848,2610,1915,1766,1801,1886,1819,1835,1879,2658,3213,2576,2732,3632,3216,2701,3093,3716,3071,2095,2509,2264,1588,1625,2640,3064,2786,2667,2256,1748,1602,1766,2231,2454,2278,3154,2723,2267,2148,1907,1788,1585,1499,1754,1781,1807,2070,2250,2539,2253,1491,1290,1584,1666,1365,1341,1900,2375,2474,2874,3339,3176,2378,1809,2299,2105,1843,1801,2189,2817,3033,2324,1721,2037,1895,2060,2070,1481,1486,1978,2032,1712,1635,1775,1552,1372,1503,1553,1649,1524,1691,1815,2735,3064,2109,1780,2079,1978,1610,1532,1782,1920,1562,1463,1476,2051,2322,2013,2251,2649,2344,1942,1613,1381,1909,2898,2688,2189,2334,2714,2128,1815,1636,1633,2001,2757,2834,2570,2500,1896,1954,2259,2312,2354,2377,2159,2280,1903,1896,2251,2807,2979,2770,2524,1925,1943,1733,1843,1915,1709,1779,2050,1992,1748,1844,1911,1942,1832,1582,1727,1950,2468,2798,2519,2496,2520,2711,3125,3092,2789,2466,2163,2174,2003,1791,2436,2629,1923,2051,2322,2217,1969,1834,2033,2594,3042,3031,3428,3592,3786,3936,3770,3190,2520,2316,2663,2655,1969,2706,3188,2495,2081,2268,2654,2656,1876,1688,1878,2068,2253,2606,3154,3243,3221,3443,3363,2878,3012,3150,2986,3209,2849,2587,2889,2853,2051,1509,1627,1876,2042,1988,1703,1642,1495,1835,2420,2327,1644,1736,2178,1423,1832,2665,2157,2448,2692,2625,2822,2131,2082,2107,1758,1834,2276,2371,2297,2533,2402,2176,2590,2719,2678,3057,3147,2996,3200,3618,3942,3529,2868,2676,2548,2996,3728,2918,2787,3009,3002,3417,3876,3035,2420,3207,3274,2940,3159,3143,2828,3154,3065,2834,2435,2651,2922,2729,2910,3001,2673,2329,2604,2488,2614,3081,3377,2749,2540,2596,2659,2632,2203,2221,2516,2702,2979,3171,3316,3284,2954,2601,2539,2753,2810,2786,2699,3001,3146,2801,2994,2718,2877,3077,2622,2289,1910,1723,2189,2644,1843,1447,2543,3418,3025,2423,1641,1581,2666,2731,2488,2001,1636,1715,1958,1873,1715,2577,2944,2637,1598,2262,2265,2532,2608,2298,2526,2723,2392,2396,2266,2077,2192,2431,2595,1972,2762,3176,3808,3473,2907,3160,3382,2727,2753,3316,3772,3403,3225,2967,3073,2740,2790,2363,1950,1995,2169,2565,3039,2906,2426,2275,1919,2191,2502,2537,2452,2313,2444,2707,2610,2393,2374,2458,2459,2519,2457,2264,2323,3152,2872,2370,2564,2907,3142,3084,3135,3205,2838,2773,2764,2435,2142,2197,2301,2831,2642,2256,2016,1995,2315,2271,2556,2511,2230,2070,2553,2668,3174,2929,2665,2419,2741,2846,3000,2402,1883,2433,3340],[2909,2789,2734,2647,2889,2872,2907,2746,2950,3250,2620,2041,1964,2470,2457,2286,2479,2569,2491,2508,2579,2555,2416,2899,3638,3804,3598,3270,3083,3098,3364,3376,3133,3141,3352,3099,3031,2846,2956,3408,3825,4516,4804,4471,4336,4581,4345,4295,4605,4007,3666,3613,3225,2938,3392,3855,4201,4337,3981,3505,3341,3453,3432,3373,3439,3294,3166,2895,2744,2877,2863,2294,1901,2495,3339,3770,3216,2583,2368,2661,3081,3522,3576,2752,2440,2436,2601,3110,3583,4070,4213,4107,4120,3853,4184,4118,4275,4652,4659,4223,4104,4273,3581,3309,4086,4284,4243,4058,4288,4376,4296,3648,3639,3380,3239,3142,3027,2894,2536,2730,2710,3121,2823,3338,3247,3808,3683,3521,2978,2522,2641,2436,2353,2423,2714,2676,2907,2281,1937,1854,2419,2930,3241,3229,3494,3627,3173,2855,2947,2684,2361,2255,2533,2951,2597,2297,2309,2415,2592,2512,2268,2168,2152,2161,2292,2298,2408,2541,2508,2339,2679,2986,2509,2178,2228,2113,2892,3410,3319,3615,3724,3558,3528,3229,2876,2731,2807,3240,2932,1935,1894,2073,2233,2384,2457,1901,1887,1717,1708,1603,1770,1708,1794,2034,1919,1871,2098,2265,2142,1868,1448,1052,1535,2366,2360,2053,1948,2142,2018,1740,1782,1960,1608,1374,1635,2051,2055,2296,2356,1822,1737,2159,2564,2319,2126,2511,2041,1811,1660,1980,1954,2122,1793,1833,2105,2036,1840,1737,1691,1824,1995,1764,1829,1902,1699,1554,1742,1758,1593,1583,1917,2216,2111,1416,1286,1421,1440,1532,2128,2224,2486,2900,3042,2359,1525,1768,1903,1963,2007,2094,2625,2987,2640,2214,2309,1921,1929,2324,2455,2720,1693,1490,2096,2036,2083,2342,1946,1850,2152,2632,2973,2566,2042,2018,2258,2399,2577,2400,2202,2308,2532,2425,2308,2089,1686,1510,1449,1492,1550,1620,1908,2016,1972,2072,2253,2483,2078,1908,2331,2304,1933,1940,2197,1801,1583,1566,1593,1557,1488,1515,1537,1940,2059,1853,1810,1865,1668,1635,1647,1436,1437,1604,1748,1744,1504,1359,1308,1359,1504,1822,1963,2222,2596,2836,2886,2780,2810,2721,2179,2076,2316,3292,3488,2097,1727,2154,3130,2689,2032,1960,1674,1664,2041,1755,1415,1858,2484,2326,2310,3341,3814,3852,3256,2908,3139,3105,3412,3667,3941,3391,2548,2569,2269,1660,1787,2695,2792,1766,964,1071,1267,1332,1427,2019,2213,2424,2574,2280,2495,2698,3188,3132,3203,3169,2902,2618,2231,2051,2508,2819,2643,2361,1985,2074,2207,2019,2265,2789,2449,2027,2363,3061,3204,2867,2839,3448,3991,3819,3963,4048,4164,4124,3741,3435,3089,2170,2166,2395,2191,1975,1583,1289,1328,1274,1332,1528,1614,1710,1738,2145,2092,1946,2508,3233,3526,3862,3596,3293,2619,2148,1865,1711,1572,1835,2482,2671,2151,1804,1725,1697,2393,3292,3141,2560,2986,3790,3781,2893,2721,2874,2758,3184,2906,1994,2254,2500,2444,2388,2370,2009,1628,1697,1871,1854,2036,1845,1919,2336,1987,1483,1390,1534,1708,2159,2369,2057,1863,1947,2156,1878,1720,2029,2292,2743,2562,2186,2278,2521,2669,2711,2539,2582,2735,2874,2666,2447,2214,2470,2899,2834,2354,2481,2470,2553,2864,3050,2889,3166,3133,2930,3372,3410,2056,1762,2265,3041,2924,2822,2995,3117,2592,2580,3166,2754,2191,2046,1948,2489,2687,2445,2291,1942,1464,1645,1896,2083,2500,2557,2309,1823,2186,2141,2585,2897,2492,2148,2265,1944,1871,2298,2432,2874,2619,1663,1844,1929,1816,2341,3331,3677,3330,2978,2328,2196,2607,2405,1851,1975,1494,1655,1776,1531,1736,2558,2854,2332,1892,2358,2328,1877,1848,1907,2255,2500,1996,1578,1512,1899,1988,1678,1891,2365,2218,1793,2523,2363,1516,1683,2233,3039,2291,1863,1685,1505,1520,1895,2824,2811,1682,1679,2024,3110,2668,3352,3917,3683,3038,3407,4002,3773,3098,2739,2836,3460,3752,3505,2915,3496,3870,3972,3720,3309,3484,2917,1950,1828,1906,1993,2241,2886,2736,2678,3464,3914,3347,3177,3288,2859,2652,2819,3112,3044,3150,3516,2965,2685,2444,2797,2796,2464,2421,3139,3466,3366,3665,3805,4060,3972,3885,3841,4012,4308,4159,4125,3571,2990,2266,2272,2692,2752,2873,3000,3005,3488,3074,3431,3462,3307,3437,3570,3560,3204,3008,3581,3510,3162,3097,3076,2891,2946,2997,2866,3001,3305,3308,2997,2688,2657,2736,3262,3017,2325,2698,2986,2897,2811,2430,2393,2435,2200,2171,2379,2747,2799,2850,3108,2643,3075,3740,3228,2968,2761,2129,2105,2780,3142,2664,1974,1803,2021,2341,2542,2838,2691,2539,2478,2696,2818,2868,2608,1925,2114,1802,1685,2314,2199,1962,1839,1683,1637,2178,2756,2865,3072,3158,2962,2127,2065,2632,2895,2052,1659,1479,1550,1448,1783,2103,1986,1959,1738,1930,2289,1698,1332,1091,1184,1362,1791,2045,2426,2571,2209,2048,1908,1940,2133,2288,2619,2192,2330,2900,2648,2286,2719,2986,2321,1418,1685,2620,2923,3006,3124,3221,2798,2314,2308,2354,2309,2824,2850,1830,1631,1770,2333,1854,2255,2752,2719,2359,2232,1648,1083,1528,1937,2357,3012,2602,2491,1901,1867,2020,2226,2442,1952,1944,2310,2049,1876,1659,1598,1745,1840,2004,2207,3073,3604,3738,3750,3651,3517,3490,3341,3333,3482,3145,3144,3310,3360,3059,3285,3564,3760,3828,3834,3692,3692,3840,3797,3816,3984,4495,4695,4813,4695,4776,4983,5071,5052,5016,4759,4613,4693,4581,4383,4331,4247,4108,3933,3759,3842,3957,3886,3782,3870,4052,4243,4012,4040,4220,4218,4243,4352,4483,4320,4036,4136,4381,4049,3739,3993,3826,3896,4083,4095,4477,4452,4151,3418,3020,3141,3297,3155,3223,3341,2906,2790,3074,3639,3931,3213,1951,1337,1371,1506,1569,1562,1593,1644,1704,1762,2055,2451,2714,3255,3650,3698,3518,3324,3299,3516,3611,3594,3630,3560,3497,3474,3222,3310,3328,3226,3267,3509,3776,3999,4011,3982,3740,3436,3213,2555,2086,2055,2023,2051,2526,2889,2830,2535,2229,1947,1829,1963,1958,2019,2151,2127,2009,1729,1435,1489,1623,1573,1839,2380,2399,2118,2417,1923,1880,2137,3073,2426,2675,2850,2520,2633,2315,2065,1864,1741,1789,1394,1211,1609,1735,1712,1669,1837,1856,1958,1948,1853,2072,2243,1740,1741,1897,1873,1692,1545,1424,1361,1397,1490,1569,1667,1491,1405,1437,1293,1450,1530,1299,1565,1688,1930,2182,2515,2720,2902,3271,2686,2134,2364,2753,2524,2037,2050,2544,2353,1996,2020,1908,1935,2329,2166,1928,1688,2151,2945,2287,1650,1729,1968,2208,2214,2496,2776,3060,3195,3388,3790,4063,4123,4140,4364,4527,4220,3817,3736,4026,4260,4245,3864,2843,2437,2821,3648,4204,3827,3776,3599,3531,3939,4236,4320,4292,3901,3481,3220,2996,2938,3129,3396,3560,3300,3464,3970,4139,3956,3396,3437,3598,3225,3383,3040,2294,2137,2056,1893,2002,2000,1926,2052,1959,1920,1762,1985,2208,2467,2114,1722,2010,2593,2714,2574,2518,2818,2478,2435,3168,3312,3220,3187,3297,3260,2714,2229,2110,2073,2662,3055,2830,2176,1619,1465,1981,2230,2178,2081,2386,2679,2955,2808,2447,3039,4377,4241,2898,1741,2342,4116,3809,3008,2461,2530,2046,2121,2673,3735,3875,3250,2403,1596,2252,2371,2050,1714,1516,1780,1907,1581,1438,1423,1756,1975,1996,2646,3204,2629,2374,2712,3432,2872,2030,2380,2433,1877,1695,2136,2445,2149,2264,1669,1387,1454,1964,2216,2533,2656,3082,2597,1907,1743,1622,1511,1469,1326,1613,1759,2012,2376,2409,2331,2068,1720,1614,1827,1592,1561,1665,2065,2287,2384,2486,2669,2546,2338,2187,2410,2664,2513,2542,2683,2861,3391,2792,1842,2236,1893,1879,2004,1599,1452,1656,1621,1485,1733,1919,1712,1519,1541,1285,1362,1407,1629,1689,2272,2785,2312,1794,1823,1787,1455,1628,2021,2006,1532,1549,1510,1650,2213,2492,2732,3001,2863,2186,1858,1540,1437,2152,2403,2035,1961,1948,1858,1715,1750,1949,2156,2895,3329,2488,2094,2313,2515,2231,2095,2250,2207,2381,2507,2109,2176,2547,2895,2698,2624,2097,2031,1824,1708,1666,1532,1571,1779,2064,1940,1942,2055,1890,1720,1676,1742,1749,1931,3028,3608,3272,2977,2490,2397,3066,3278,2476,1877,1489,1963,2471,2382,2669,2294,1816,1858,2231,2620,2542,1997,1906,1970,2542,2879,3067,3373,3901,3939,3492,2998,2734,2519,2389,2481,2952,3421,2916,2840,2512,2310,2745,2452,1918,1754,1521,1862,1966,2767,3596,3395,3242,3228,3240,2948,3187,3026,2820,3204,3118,2639,2262,2308,1607,1885,2270,2028,2244,2176,1899,1679,1773,1870,1861,1931,1804,2030,2658,1648,1670,2712,2177,2007,1940,1935,2023,1887,1852,1860,1802,2192,2419,2822,2608,2904,2910,2179,2468,2495,2396,2517,2688,3179,3577,3972,4136,3647,3472,3005,2905,3266,3066,2713,2961,3499,3503,3601,3598,2368,2634,3100,3284,3075,3263,3284,3154,3330,3235,2838,2514,2435,2361,2457,2777,2880,2979,2910,2409,2078,2600,2912,3045,2503,2084,2114,2404,2431,2127,2097,2075,2334,2730,2845,3124,3189,3095,2718,2600,2796,2956,3041,2814,2821,2815,2629,2874,2749,2977,2756,2438,2700,2798,2777,3098,3197,2315,1903,2299,2654,2552,2639,2213,2069,2441,2623,2690,2247,1860,1958,2240,2284,2078,2399,3053,2654,1807,2489,2932,3335,3206,2496,2640,2677,2044,1898,1959,2041,1922,2662,2661,2445,2971,3553,3688,3420,3103,3131,3549,3155,3417,3409,3187,2531,2446,2821,3393,3238,2957,2823,2686,2486,2340,2609,2657,2706,3100,3054,2247,2246,2414,2481,2568,2391,2474,2922,2972,2873,2598,2517,2450,2475,2404,2055,2681,3500,3079,2555,2494,2596,2576,2888,3056,3326,3266,3073,2955,2187,2188,2565,2468,2767,2869,2640,2024,1765,1886,2081,2696,2525,2587,2749,2818,2897,2622,2385,2440,2971,3382,2741,2486,2010,2408,3029,3453],[3201,2978,2941,2840,2939,3195,3137,2789,3155,3294,2615,2119,2249,2522,2330,2091,2018,2424,2777,2614,2623,2226,2258,3308,3548,3352,3411,3405,3598,3806,3485,3078,2985,3037,3142,2799,3059,3207,3356,3615,3698,4127,4489,4355,4176,4064,4177,4276,4332,3980,3761,3754,3616,3854,3959,3915,4083,3869,3740,3518,2968,3151,3239,3583,3459,3358,3537,3174,3059,3188,2962,2443,2125,2451,3168,3682,2806,2573,2490,2842,3292,3551,3890,3875,3717,3584,3658,3890,3907,3928,4123,4302,4328,4395,4195,4305,4624,4652,4568,4342,4167,3777,2570,2707,3191,3383,3772,3761,4061,4108,3907,3392,3189,2674,2657,2900,2807,2711,3134,3459,2976,3473,3504,3438,3354,3494,2997,2682,2522,2777,2921,2182,1971,1633,2070,2314,2168,2245,2286,2173,2662,3183,3291,3254,3394,3560,3560,3271,3361,3117,3033,2823,3076,2879,2282,2078,2077,2282,2444,2278,2143,2227,2389,2336,2529,2520,2551,2389,2287,2249,2386,2689,2602,2588,2440,2392,3001,3067,3448,4136,4608,4221,3495,2784,2624,2826,2753,2811,2807,2395,1731,1541,1545,2060,2626,1912,1585,1797,1860,1801,1865,1712,1844,2397,2468,2155,2014,1919,2367,2272,2192,1886,1892,1984,1844,1839,2003,2217,2128,1921,1612,1527,1567,1544,1659,1888,1958,2255,2032,1768,1866,2143,2218,2027,1898,2171,1820,1700,1730,2146,2052,1937,1860,2064,2168,2237,2546,2903,2100,1651,1904,1909,1817,1731,1697,1876,1960,1714,1629,2400,2264,2099,2045,1439,1319,1644,1668,1643,2069,2951,3608,3114,3093,2995,2444,2739,2657,2176,2477,1846,2281,2546,2316,2057,1687,1191,1806,2798,2859,2645,1510,1418,1672,2382,2407,2057,1925,2042,2292,2724,2529,2125,2035,2092,2428,2667,2482,2866,2344,2329,2545,2605,2496,1992,1731,1698,1474,1432,1571,1605,1892,1845,2028,1813,2589,3156,2518,1991,2010,2301,2494,2130,2025,1758,1749,1488,1628,1932,1764,1772,1903,1549,1610,2146,2438,2151,1681,1660,1794,1579,1437,1465,1625,1655,1519,1569,2152,2295,1622,1844,2252,2846,3006,3453,3076,2888,2596,2263,2099,2143,2198,2906,3834,3112,2800,2676,3264,2512,1629,1489,1571,1648,1972,2142,1763,1892,2244,2134,2905,3029,3254,4013,3670,3355,3376,3040,3091,3907,4112,3067,2163,1718,1517,1424,1603,2660,2642,1366,870,1073,1138,1130,1122,1251,1807,2387,2098,2452,2840,2871,3088,3050,2750,2735,2620,2442,2259,2183,2520,2714,2532,2066,1715,1696,1896,2106,2468,2603,2284,2006,2281,2759,2288,1924,2259,3120,3361,3212,3607,3629,3514,3730,3526,3232,2952,2330,1743,2005,2336,2394,1536,1299,1390,1494,1466,1528,1785,1938,2258,2736,2692,2398,2555,3274,3233,3155,3225,2846,2184,1852,1558,1458,1516,1735,2092,2061,1737,1583,1670,1680,1681,2599,2796,2840,3007,3175,3482,2985,2502,2771,3230,2894,2226,1794,2329,1990,2137,2745,2852,2148,1886,2309,2379,1994,2003,1585,1721,2136,1999,1625,1595,1667,2002,2536,2289,2125,2357,2788,2780,1874,1911,2258,2157,2382,2442,2139,2339,2476,2676,2635,2811,2863,2730,2379,2141,2038,2274,2785,2790,2875,2619,2518,2330,2456,2699,2602,2591,2424,3086,3610,3840,3500,2036,1929,2897,3342,3119,2835,2746,2662,2835,3295,3344,2964,2213,1824,1599,1705,2369,2344,2001,1981,1920,2200,2578,2621,2819,2402,2446,2159,2379,2083,2513,2603,2349,2024,1885,2239,2384,2125,2236,2633,2472,1916,2036,1954,1808,1843,2462,3033,3455,3150,2075,1792,2387,2396,2035,2353,1663,2301,2067,1485,2145,3028,3062,2304,1655,1826,1875,1797,1776,2205,2452,2398,1896,1757,1765,1912,1956,1735,1804,2128,1913,1460,1740,1655,1503,1709,2068,2383,2004,1855,1780,1655,1746,1791,2649,2890,2018,1525,2201,2797,2968,3515,3794,3867,3820,4136,4144,3812,3059,2616,2406,2557,2865,2734,3209,3774,3695,3603,2967,2759,3370,3188,2631,2391,1970,1852,2600,3082,2753,2830,3588,3865,3248,3110,3162,2989,2820,2942,3308,2912,3022,3349,2866,2569,2542,2751,2643,2455,2730,3096,3632,3755,3817,3960,4289,4330,4137,3872,4042,4084,4100,4132,3865,3695,3294,2782,3265,3446,3694,3181,2788,3073,2877,3206,3369,3021,3276,3533,3142,3285,3460,3838,3605,3325,3131,3031,2949,2861,2966,3021,3017,3072,3076,3077,3091,3151,2880,2447,2007,1625,1892,2231,2755,2921,2750,3170,3111,2375,2548,2994,2963,2629,2308,2379,2347,3176,3475,2923,3251,2968,2484,2846,3512,3220,2819,2502,2286,2166,2392,2586,2445,2401,2634,2586,2487,2499,2464,2203,1693,1772,1792,2113,2366,2149,1879,1506,1493,1566,2007,2610,2913,3318,2921,2744,2254,2215,2571,2350,2148,2224,1947,1755,1637,1977,1733,2113,2500,2131,1832,2071,1406,1104,1235,1484,1507,1618,1915,2103,2089,1807,1642,1688,1669,2153,2922,3340,3098,2427,1909,1946,2242,2966,3119,2718,2053,1620,2372,2953,3128,2978,2485,1909,1844,2076,2267,2110,2137,1933,1712,1723,2611,2777,2192,2151,2461,2431,1863,1884,1510,1014,1456,2121,2623,3428,2325,1392,1436,1962,2255,2331,2599,2314,2353,2655,2347,2098,1781,1748,1854,1974,2139,2913,3665,3842,3740,3603,3462,3461,3633,3476,3351,3314,3271,3459,3494,3408,3395,3630,3872,3838,3811,3825,3676,3624,3737,3905,4030,4089,4545,4737,4853,4972,5088,5062,4981,4935,4892,4727,4532,4539,4335,4431,4364,4253,4081,3961,3826,3852,4021,3849,3554,3645,4063,4364,4200,4214,4051,4027,4120,4277,4342,4212,4027,3961,4187,4220,3561,3629,3515,3885,4228,4256,4280,4271,4108,3481,3084,2961,2961,2988,3399,3573,3156,2904,3547,4026,3472,2232,2146,2392,2041,1635,1554,1749,2134,2075,1917,2005,1919,2168,2925,3462,3760,3964,3733,3320,3232,3520,3759,3594,3337,3540,3840,3630,3393,3285,3277,3443,3631,3730,3930,4239,4287,4094,3308,2773,2402,2031,2097,2090,2220,2521,2603,2333,2074,1918,1869,1932,2074,2127,2041,2088,2172,1914,1636,1377,1327,1759,2150,2030,2322,2308,2047,2329,2221,1824,1856,1764,1971,2701,3643,3095,2415,2541,2198,2122,1751,1679,2053,1819,1229,1355,1473,1366,1346,1593,1793,1698,1733,1914,1969,1924,1794,1861,1994,1920,1672,1584,1521,1397,1407,1475,1654,1728,1731,1741,1691,1527,1865,1730,1645,2110,2245,2053,2034,2248,2442,2409,2328,2022,1989,2325,2375,1994,1794,1937,2122,1911,1842,1989,1895,2097,2330,2090,2065,1750,1943,2142,1741,1594,1731,2073,2462,2709,2758,2728,3249,3365,3739,4142,4096,4342,4459,4407,4362,4440,4339,4009,4147,4387,4508,4429,3553,3145,3277,3536,3885,3817,4002,3995,3641,3838,4052,4095,4095,3863,3662,3414,2996,2998,3351,3586,3510,3381,3387,3641,3950,3674,3142,3494,3492,3370,3230,2723,2414,2098,1930,1908,1854,1788,1904,2343,1912,1741,1599,1726,1692,2276,2268,2065,2382,2309,2357,2542,3135,3892,3282,2564,2880,3598,3684,3255,3286,3627,3065,2597,2403,2216,2520,2822,3184,3111,2744,2127,1766,2274,2169,1889,1803,1823,2167,2316,1982,2311,3103,2953,2365,1841,2013,3647,2840,2752,2647,2404,2132,2313,2873,3722,3958,3229,1703,1765,2733,2397,1855,1838,1700,1712,1638,1451,1547,1535,1416,1794,2052,1953,2305,2370,2296,2497,3118,3206,2328,2095,2219,1971,1783,2201,2352,2271,2500,1893,1582,1697,1863,2198,2573,2521,2226,1902,1592,1606,1622,1596,1563,1277,1408,1624,2085,2217,2364,2136,1993,2016,1506,1404,1428,1738,1953,1982,1701,1790,2029,2188,2583,2932,2744,2637,2836,2531,2313,2360,2053,2611,2242,1761,1688,1736,1871,1982,1914,1604,1885,2055,1727,2014,1808,1570,1542,1594,1434,1497,1632,1512,1476,2032,2216,1811,1556,1477,1514,1467,1842,2084,1857,1845,1731,1501,1771,2670,3247,2562,2244,2693,2158,2576,2501,2059,1998,1784,1560,1687,1820,1975,1877,2024,1995,1807,2343,2259,1962,2151,2797,2552,2292,2393,2545,2573,2706,2373,2097,2686,2601,2257,2408,2189,1879,1868,1821,1888,1749,1545,1642,1863,2293,2265,2067,2067,1995,1670,1682,1545,1671,2370,3124,3350,3338,3105,2735,2777,2880,2930,2346,1947,1836,2353,2674,2834,2575,2097,2260,2157,2048,2307,2476,2398,2066,1917,1944,2622,2993,3018,3199,3371,2899,2541,2604,2477,1948,2059,3223,3178,2912,2566,2235,2051,2199,2319,2267,2002,1367,1754,2734,3165,3164,2961,2927,2807,2855,2613,2714,3019,2885,3087,3138,2567,2533,2664,1768,2082,2490,2825,2931,2300,1697,1755,2248,2071,1862,2233,2289,1963,2027,1997,1737,1599,1571,1769,1939,2144,2473,2716,2974,2824,2310,2470,2043,2237,2703,3284,3429,2965,2711,2414,2320,2369,2934,3073,3198,3611,3492,3520,3434,3295,3442,3218,2698,2790,3152,3683,3767,3233,2822,2406,3033,3174,3108,2836,3040,3032,3077,3286,3312,3776,3587,2674,2428,2162,1988,2776,3044,3103,2402,2285,2497,2907,3224,2797,2486,2759,2509,2398,2002,1703,1701,1865,2350,2585,2834,2818,2608,2498,2648,2636,2850,3052,2880,2943,2722,2578,2523,2591,2795,2467,2651,3410,3658,3614,3496,3405,2981,2478,2358,1902,2288,3065,3088,2866,2520,2089,1905,2011,2232,2489,2597,2488,2808,2720,2649,2186,1954,2541,2852,2822,2916,2931,3146,2761,2037,1836,2092,2115,1713,1850,2663,3163,3205,3095,2911,2818,3138,3449,3882,3717,3590,3491,2658,2032,2452,2705,3372,3584,3121,3185,3510,2586,2040,2459,2142,2523,3100,3528,2979,2514,2458,2600,2611,2345,2511,2887,2750,2523,2380,2358,2368,2375,2222,2432,3540,3774,3091,2188,2187,2177,2381,2907,3019,3294,2968,2665,2639,2488,2895,3188,2763,2702,2921,2722,1891,2000,2316,2755,2582,2503,2898,2788,2684,2743,2449,2265,2866,3841,3510,2879,2409,2365,2903,3254,3440],[2958,2910,2996,3046,3386,4005,3724,3378,3410,2967,2349,2633,3118,2789,2002,1518,1431,2200,2545,2379,2282,2092,2663,3415,3142,2788,3012,3186,3308,3444,3185,2863,2806,2668,2946,3176,3588,3596,3499,3253,3120,3860,4030,4020,3682,3471,3817,3852,3938,3239,3118,3793,3879,4024,4100,3804,3814,3494,3796,3968,3552,3198,3262,3718,3733,3436,3438,3484,3388,3674,3520,2980,3090,3237,2940,3269,3038,2662,2795,3574,4034,4164,4140,4071,4212,4189,4140,4388,4308,4062,4304,4283,4488,4552,4340,4395,4415,4255,4371,4561,4393,3794,2786,2857,3182,3337,3767,3642,3440,3982,4280,3520,2596,2236,2700,2943,2391,2343,2736,2800,3138,3326,2846,3044,3217,3090,2930,2533,2364,2567,2366,1737,1420,1371,1943,1935,2123,2343,2437,2962,3496,3652,3464,3355,3260,3441,3640,3422,3450,3482,3352,2844,2624,2178,2044,2076,2043,2115,2029,2153,2271,2350,2208,2447,2509,2514,2379,2215,2278,2276,2311,2345,2290,2453,2228,2258,2966,3343,3658,3610,3200,2690,2416,2251,2474,2975,3298,2762,3121,2951,1974,1520,1526,2166,2884,2547,1980,1864,1946,2055,2043,2016,2350,2941,2713,2225,1898,1653,2290,2786,2988,2876,2417,2021,2076,2292,2812,2916,2524,1867,1626,1933,2037,1777,1712,1711,1765,1720,1790,2009,1619,1693,1513,1787,1864,2041,1940,1699,1940,2334,2002,1797,1912,1920,1892,2525,2866,3082,2294,1737,1901,2050,1902,1742,1783,1780,2071,1930,1518,2217,2508,1876,1698,1737,1616,1471,1390,1632,2164,2792,3162,2685,3206,3139,2852,3286,3206,2623,2331,1907,2203,2304,2179,1852,1572,1249,1526,2461,2954,2243,1562,1903,2457,2671,2245,1886,1746,1477,1912,2372,2203,1950,2466,3022,3047,2635,2546,2734,2243,2354,2415,2472,2448,1744,1764,1717,1610,1824,1910,1709,1659,1681,1972,1979,2342,2952,3040,2552,1916,2282,2453,2318,2311,2189,1836,1453,1544,1923,2278,3128,3341,2024,1665,2077,2486,2454,2138,1776,1988,1886,1594,1507,1586,1679,1730,1753,2322,2311,1732,1703,2104,2599,3510,3815,3292,3074,2648,2163,2266,2547,2705,3076,4146,3644,3047,2696,2763,2308,1827,1950,2306,2046,2122,2312,1817,1879,1938,2259,2958,3122,2835,3628,3868,3791,3705,2965,2712,2546,2875,3016,2012,1779,1738,1670,1562,1982,2188,1668,1082,1093,1050,1026,1172,1232,1511,1853,1966,2404,3162,2979,2840,2968,2724,2596,2430,2279,2148,2160,2430,2401,2068,1780,1726,1584,1809,2431,2708,2137,1851,1695,1942,2348,2314,1931,1780,2505,2592,2534,2792,2944,3182,3464,3400,3165,2702,2060,1828,2134,2408,2655,2036,1932,1839,1509,1340,1652,2069,2270,2608,2900,2887,2955,3128,3366,2730,2673,3344,2925,1870,1540,1616,1584,1668,1914,2091,1789,1680,1701,1590,1685,1621,1773,2050,2453,2292,2198,2514,2278,2000,2585,2802,2040,1612,1644,1851,1760,1992,2510,2425,2094,2036,2285,2083,1895,2146,1772,1686,2097,2446,2085,2221,2263,2258,2290,1741,1923,2734,3109,2524,2069,2046,1808,1946,2248,2182,2037,2224,2575,2685,2566,2978,2642,2266,2152,2447,2297,2290,2549,2690,2745,2646,2487,2524,2899,2618,2453,2808,2597,3196,3326,3562,3575,2289,2486,3616,3162,2436,2570,2981,2899,3212,3377,3541,3398,2620,2442,2359,1981,2364,2566,2247,2430,2536,2399,2590,3201,3078,2488,2391,2199,2030,2260,2498,2295,1981,1755,1683,2120,2316,2308,2114,2156,2121,2069,2190,1913,1812,1909,2073,2442,2736,2515,1952,1831,2272,2856,2430,1901,1621,1747,2028,2392,2858,3120,2723,3041,2111,1609,1636,1811,1919,2122,1941,1837,1686,1848,1817,1935,2922,2438,1895,2272,2249,1595,1312,1408,1523,1809,2108,1853,1670,1668,1513,1590,1795,1385,1832,2524,2029,1851,2281,2883,3828,3586,3106,3474,3394,3839,3974,3812,3312,2620,2106,1944,1804,2155,3440,3710,3345,3139,2658,2655,3034,3342,2871,2214,2163,2207,2865,3306,3204,3287,3586,3316,2791,3095,3006,2933,2890,2705,3116,2830,2792,3057,2662,2501,3119,3366,2686,2623,3238,3549,3762,3641,3529,3447,3706,4016,3886,3769,3917,3941,4042,4207,3960,3890,3881,3143,3629,3819,3980,3112,2344,1949,1787,2708,3428,3156,3206,2986,2641,2713,3438,3914,3796,3584,3187,2957,3028,2975,2978,3053,3010,2792,2790,3018,3385,4232,3907,2897,2464,2293,1996,2229,2988,3110,3119,3388,3216,2677,2881,2940,2535,2086,1962,1965,2350,3334,3116,2807,3480,2870,2484,2842,3515,3089,2911,2428,1958,2041,2029,1791,1880,2251,2470,2200,1832,2288,2386,1958,1752,2065,2010,2000,2159,2602,2286,1641,1560,1566,2068,2696,2852,3167,2924,2316,2050,2076,2120,2071,2696,2590,2008,2105,1744,1889,1759,1865,2511,2110,1281,1500,1543,1544,1655,1807,1787,1728,1828,1839,1788,1421,1649,1671,1642,1923,2573,3090,2919,1994,1713,1727,1788,2235,2676,2309,2225,1755,2110,2930,2817,2497,2370,2202,2224,2385,2463,2179,2212,2080,1690,2017,3283,3142,2501,2297,2358,2070,1951,2146,1924,1901,1955,2174,1964,1917,1716,1648,1734,2006,1890,1832,2006,1840,2077,3008,3334,2895,2497,2128,1981,2236,2844,3437,3833,3925,3705,3559,3408,3373,3339,3496,3419,3400,3267,3225,3320,3558,3520,3485,3884,3824,3659,3782,3896,3871,4005,4168,4090,4267,4544,4639,4756,4956,5024,4979,4941,4924,4892,4531,4364,4603,4551,4512,4409,4265,4041,3923,3920,3862,3730,3480,3258,3763,4189,4187,4367,4568,4120,3993,4236,4320,4299,4120,3884,3979,4028,4352,3530,3355,3626,4165,4208,4081,4037,4051,3948,3611,3098,2830,2951,2827,3023,3360,3293,3144,3395,2958,2442,2789,2985,2658,2378,1856,2066,2905,3491,3506,3084,2646,2332,2177,2526,3085,3569,3686,3506,3270,3167,3509,3542,3531,3624,3735,3675,3495,3507,3395,3484,3912,4015,3947,4188,4389,4168,3688,2806,2333,2078,2128,2106,2173,2397,2367,2117,1931,1933,1958,1972,2066,2163,2115,2154,2092,1714,1721,1769,2044,2698,2814,2730,2119,2098,2118,2286,2729,2176,1779,1846,1762,2118,2656,2646,2374,2458,2515,2194,1851,1711,1731,2484,2290,1360,1386,1622,1719,1747,1748,1829,1746,1824,1821,1583,1592,1908,2277,2498,2358,2118,1790,1462,1419,1742,1641,1530,1640,1843,1739,1704,1406,1630,1607,1504,1780,1854,1797,1927,1820,1869,1845,1863,1945,2024,1995,2206,2566,2149,1793,2052,2029,1914,1715,1828,2277,1873,2159,2399,1871,1715,1694,1591,1635,1646,2072,2696,2863,2786,2717,3339,2993,3660,4189,4184,4262,4439,4408,4271,4363,4340,4282,4265,4276,4262,4479,4217,4082,4113,3710,3515,3632,3939,4148,3902,3792,3703,3763,3993,3987,3796,3508,3262,3471,3896,3875,3642,3475,3355,3440,3807,3649,3559,3914,3955,3986,3493,2685,2096,1749,1912,2083,1729,1689,1681,2119,1906,1692,1654,1720,1552,1786,1924,2302,2348,1919,2346,2978,3482,3956,3608,2871,3100,3685,3708,3190,2924,3244,3382,3262,3158,2813,2624,2525,2912,3195,3372,2952,2408,2367,2154,1859,1656,1798,1904,1795,1648,2055,2765,2569,2060,2056,2210,2840,2776,2503,2384,2379,2312,2432,2619,3142,3274,2944,1397,2089,2646,2051,1687,1650,1555,1483,1342,1430,1640,1376,1695,2047,1551,1367,1507,1734,2251,2375,2688,3099,2766,2369,2186,2076,1867,2193,2240,2472,2164,1764,1830,1965,2074,2161,2218,2557,2348,1735,1272,1511,1586,1388,1372,1708,1714,1652,1928,1885,1943,2366,2834,2487,1699,1250,1456,1600,1741,1794,1673,1958,2168,2566,3392,3352,2952,2548,2600,2515,2272,1910,1561,1770,1738,1702,1510,1679,1958,1851,1975,1941,2349,2510,1806,1731,2100,2200,1812,1694,1592,1526,1583,1333,1448,1942,1749,1537,1498,1482,1598,1601,1738,1785,1758,1737,1450,1627,2358,2869,2934,2040,2286,2336,2106,2780,2437,1827,1921,1775,1648,1843,2185,2260,2219,2236,2014,1717,2587,2123,2278,2994,3111,3153,2886,2758,3090,3068,2995,2454,2305,2837,2815,2580,2299,1809,1616,1684,1864,1936,1646,1577,1683,2089,2536,2514,2228,2135,2122,1774,1676,1731,1849,2205,2753,2865,3104,3051,2568,2075,2035,2475,2478,2603,2862,2828,2695,2639,2640,2292,2247,2068,1921,1885,2320,2584,2500,2235,1902,1994,2460,3021,3200,3183,2515,2027,2430,2765,2170,1827,2418,2543,2118,1825,1964,2141,2098,2501,2171,2250,2003,2078,2976,3197,3060,3237,3471,3084,2504,1776,1979,2639,2586,2964,2924,2730,2840,2674,2072,2341,3068,3419,2890,1973,1875,2255,2492,1875,1563,2074,2592,2198,1773,1656,1768,1975,2530,3200,3480,3483,3331,3326,3480,3216,2137,2181,2501,2644,2326,2454,2776,2540,1774,2037,2148,2495,2857,2703,2175,3010,3437,3666,3618,3403,3593,3608,3024,2761,2590,3263,3278,2576,2230,2324,2647,2896,2729,2617,2754,2938,3078,2943,3220,4245,3806,3385,2990,2349,2182,3082,3326,3042,2434,2364,2951,3338,3328,3177,3396,3464,2522,2464,2114,1795,1881,2176,2578,2758,2801,2735,2556,2486,2664,2595,2698,2541,2454,2576,2364,2345,2587,2613,2558,2639,3063,3658,3708,3601,3463,3416,2927,2406,2427,2149,2488,3112,3104,2909,2626,2046,1692,2033,2079,2763,2718,2455,2758,2973,2596,1901,1749,1984,2213,2449,2414,2695,2652,2349,2654,2440,2216,1896,1571,2073,3130,3377,3272,3196,2921,2720,3117,3404,3771,3738,3552,3640,2974,2617,2697,2611,2962,3343,3044,2644,2732,1963,2060,2674,2786,2524,2369,3253,3292,2575,2756,2834,2310,2369,2562,2657,2526,2359,2346,2393,2392,2434,2318,2823,3528,3361,2776,1361,1868,2486,2770,2954,2832,2518,2222,2262,2353,2396,2832,3186,2877,2358,2176,2310,2018,2041,2244,2385,2326,2580,2722,2721,2903,2607,2368,2494,2764,3233,2910,2198,1919,2330,2580,3013,3322],[2565,2623,2623,2957,3652,4080,4109,3926,3738,2908,2204,3215,3480,2587,1981,2215,2598,2796,2490,2436,2322,2522,2771,2852,2780,2734,2779,2651,2644,2717,2657,2602,2486,2408,2671,3217,3925,4227,4020,3482,3425,3725,3974,3895,3161,2820,2942,3027,3561,3284,2809,3298,3942,3912,4260,3973,3329,3205,3834,3833,3710,3473,3291,3606,3955,3659,3292,3103,3281,3659,3729,3099,2910,2841,2776,3260,3674,3703,3881,4257,4332,4553,4508,4400,4196,4248,4124,4393,4249,4021,4073,3940,4041,4469,4597,3840,3675,3691,3735,4521,4593,4135,3916,4019,3852,3582,3320,2699,2459,2908,2857,2226,2073,2733,3185,3185,2835,2964,2439,2050,2950,2979,2470,2934,3200,3001,3197,2766,2247,2175,2127,1957,1808,2156,2234,2135,2306,1845,2099,3142,3736,3735,3632,3451,3041,3082,3378,3198,3248,3168,2533,2578,3087,2755,2286,2110,2248,2067,2088,2139,2301,2310,2288,2557,2575,2508,2354,2220,2240,2277,2200,2163,2426,2373,1992,2224,2851,3145,3205,2871,2279,2330,2571,2629,2768,3431,3947,3739,3576,3419,2997,2408,2057,2409,3131,3068,2249,1669,1742,1830,1819,2361,2752,2867,2458,2191,2110,1697,1748,2543,3141,2879,2198,1929,2533,2508,2812,2602,1939,1525,1699,2188,2592,2612,2161,1886,1924,1700,1962,2279,2041,1668,1478,1803,1776,1903,2032,1975,2186,2323,1870,1729,1754,1654,1612,2376,2646,2566,1917,1765,1943,1860,1754,1730,1782,1814,2247,1945,1620,1808,2070,1918,1915,1824,1533,1378,1408,2154,2842,2440,1901,1831,2323,2059,2611,3196,2894,2438,2047,2233,2341,2260,2106,1829,1794,2149,2376,2839,2879,2317,1919,2254,2313,1977,1935,1766,1715,1572,1444,1991,2456,2500,2595,2873,2917,2639,2653,2293,2014,2257,2246,2375,2088,1703,2095,2118,1987,2689,2680,2096,2039,2131,2204,2494,2675,2701,3052,2569,2304,2886,2917,3343,3306,2631,1898,1600,1635,1785,2262,3394,3610,2703,1770,1876,2070,2330,2354,1679,1671,2332,2360,1882,1855,1750,1683,1899,2202,1789,1703,1605,1703,2468,3405,3717,3659,3625,3372,3208,2514,2777,3423,3297,3868,3010,2367,2798,2655,2264,2020,1614,1717,1881,2195,2349,1974,1828,1945,2230,2175,2670,3119,3544,3861,3838,3533,3111,2675,2010,1984,2715,2106,2063,1940,1742,1851,2205,2481,2238,1448,1364,1341,1361,1288,1350,1395,1481,1685,2436,3164,2942,3077,2982,2701,2575,2238,1822,1569,1892,2134,1930,1705,1876,2041,1759,2096,3035,2833,2356,1889,1764,2116,2876,2383,2135,1836,2254,2543,2411,2317,2484,2989,3253,3097,2972,2494,1792,1839,2016,2134,2365,2376,2585,2532,2095,1802,2094,2243,2397,2677,2757,2796,2987,3123,3331,3011,2888,3146,2787,1910,1489,1464,1584,1758,2019,2237,1917,2052,2052,2010,1572,1425,1626,1767,1648,1557,1612,1772,1881,2003,1988,2014,1660,1556,1537,1829,2070,2136,2027,2059,2231,2680,2656,1832,1850,1876,1782,1807,2272,3019,2841,2383,2229,2270,2050,1475,1576,2155,2316,1897,2485,2563,1883,1546,1738,1816,2028,2454,2501,1984,2404,3194,2905,2329,2619,2642,2024,1990,2458,2635,2502,2265,2318,2557,2618,2172,2030,2301,2624,2479,2845,3190,3013,2670,3205,3376,3333,3372,3023,3300,3257,2830,3059,3451,2686,1921,2155,2526,2460,2534,2493,2576,3074,2780,2291,2608,2731,2437,2589,2844,2319,2121,2577,2355,1850,1565,1690,1659,1894,2066,1934,1765,2061,2293,2335,2471,2326,1985,2125,2564,2124,1963,1682,2090,1930,1688,1922,1726,1650,1725,1852,2469,2832,3095,2909,2232,2293,1931,1456,1497,1564,1522,1507,1620,1803,1824,1709,1784,1743,2562,2067,1749,2273,2283,1563,1135,1239,1655,1901,1534,1453,1773,1810,1851,1879,1672,1391,1866,2544,2097,2281,2903,3340,3585,3536,2950,3120,2640,2749,3147,3559,2972,2516,2395,2074,1960,2841,3642,3219,3072,3298,3277,2740,2658,2856,2663,2249,2707,3029,3229,3464,3517,2929,2795,2819,2779,2947,2905,2686,2384,2044,2921,3209,2935,2762,2569,2783,3480,3540,3436,3360,3422,3498,3624,3610,3238,2920,3105,3439,3585,3681,4112,4069,3880,3891,3225,2578,3123,3271,3750,4040,3801,3122,2095,1384,1537,2451,2862,2946,3273,3198,2743,2889,3737,4000,3769,3494,2957,2584,2990,3016,2939,2918,2915,2907,3233,3408,3566,4000,3874,3566,3509,3223,2647,2664,3143,3283,3463,3611,3159,2773,2343,1829,1820,2097,2264,2184,2511,3141,2771,2814,2878,2502,2295,2359,2589,2347,2039,1790,2225,2589,1935,1839,1804,2126,2178,2421,2402,2740,2553,1809,1870,2283,2070,1647,1916,2308,2042,1805,1588,1873,2459,2779,3270,3395,2911,2386,2023,1958,1792,2054,2818,2742,2636,2767,2322,2513,2481,2069,2007,1592,1517,2002,2222,1969,1606,1583,1474,1650,1747,1798,1442,1349,1610,1842,1720,1853,2513,3094,2487,1552,1733,1534,1606,1981,2697,2214,2338,2364,2193,2665,2544,2178,2100,1960,2132,2541,2706,2258,2127,2131,1823,2313,3153,3193,2609,2395,2271,2348,2730,2698,2555,2418,2373,2212,1548,1338,1965,2038,1705,1720,1738,2038,1936,2029,3106,3821,3952,3508,3266,2673,2415,2967,3452,3702,3876,3752,3582,3302,3270,3387,3476,3523,3506,3406,3309,3256,3243,3657,3794,3670,3874,3886,4113,4236,4265,4284,4236,4309,4241,4283,4459,4507,4642,4753,4689,4715,4820,4895,5001,4530,4543,4767,4719,4558,4375,4212,4005,3871,3874,3624,3506,3402,3469,4094,4468,4344,4216,4248,4189,4387,4488,4524,4387,4201,3897,4053,4269,4416,3959,3886,3897,4124,4069,3848,3920,4036,3838,3488,2934,2977,3178,3044,2933,3001,3118,2713,1952,1858,2575,3156,2948,2990,2932,2752,3255,3760,4052,4213,3803,3348,3045,2612,2468,2798,3518,3290,3155,3198,3449,3699,3737,4006,4422,4305,3776,3639,3730,3526,3593,3918,3705,3868,4229,4038,3605,3034,2482,2161,2127,2078,2070,2172,2076,1926,1879,2000,2067,1946,1788,1764,1768,2125,2476,2030,1662,1886,1853,1964,2675,2756,2556,2150,2268,2307,2497,2766,2640,2209,1732,1721,1618,1915,1949,2143,2924,2354,1779,1580,1637,1528,2197,2138,1289,1389,1466,1438,1454,1560,1904,2020,2137,2003,1657,1597,1891,2773,3002,2387,2260,2070,1677,1583,1966,1736,1563,2000,1910,1758,1684,1438,1481,1384,1425,1632,1310,1614,1709,1524,1565,1747,1890,2033,2025,1917,2384,2640,2293,2178,2221,2063,1976,1725,1896,2181,1697,1727,1882,1679,1624,1685,1698,1803,1982,2046,2719,2848,2897,2923,3620,3939,3873,3896,4040,4144,4159,4124,4217,4220,4095,4227,4100,4147,4219,4230,4053,4187,4232,3816,3467,3513,4035,4255,4116,3912,3811,3875,3981,3642,3227,3155,3296,3622,3903,3805,3740,3549,3532,3442,3591,3687,3828,4005,4096,4145,3802,2945,2286,1775,1932,2081,1887,1648,1773,2310,2225,1919,1791,1669,1612,1799,2044,2303,2480,2798,3397,3450,3059,3387,3678,3404,3427,3495,3322,3018,2940,2985,3261,3510,3472,3163,2801,2911,3144,3275,3187,3096,2940,2740,2791,2744,2069,2099,2115,2345,2119,1843,2585,2369,2224,2985,2962,2420,2366,2215,2193,2084,2132,2206,2160,2219,2442,2497,1568,2145,2616,1981,1610,1616,1580,1453,1390,1582,1627,1586,2478,1858,1451,1896,1824,1689,1779,2026,2553,2530,2178,2032,1840,2051,1948,1875,1980,2632,2273,1725,1962,2055,2210,2380,1939,2325,2502,1981,1570,1586,1558,1363,1579,2314,2288,1764,1761,1706,2209,2744,2712,2079,1777,1304,1268,1162,1409,1797,1825,1980,2035,2513,3286,3342,2988,2501,2402,1974,1887,2075,1873,1635,1830,1898,1752,1659,2050,1978,1976,2004,2086,2008,1663,1696,2268,2340,1922,1793,1676,1430,1538,1605,1485,1577,1889,1707,1517,1488,1559,1643,1759,1704,1594,1622,1783,2532,2973,2390,2579,2220,2137,2169,2043,2115,2090,1919,1915,1749,1749,1978,2836,2708,2449,2620,2493,2018,2443,2338,2524,2835,2575,2721,2608,2746,3090,2912,2671,2120,2182,2600,2666,2412,2055,1810,1669,1697,2280,2693,2015,1928,2118,1996,1995,1960,2164,2150,1786,1658,1577,1848,2024,1834,1943,2328,2575,2474,1785,1529,2228,2530,2534,3139,3062,2849,2843,2575,2747,3010,2258,1797,1826,1902,1968,2199,2746,2672,2314,2030,1945,2348,2894,2874,2369,2065,2483,2908,2558,2026,2064,2194,1998,1958,2156,2655,2108,2312,2244,2156,2293,2347,2867,3311,3238,3323,3366,2761,2119,1698,1862,2315,3003,2814,2186,2656,2824,2490,2371,2434,2797,2823,2271,1753,1638,1817,1874,1895,2302,2965,2780,2254,2126,2451,2798,3169,3710,3817,3548,3430,3171,3028,3224,3305,2522,2265,2788,2823,2191,2096,2596,2228,1407,1673,2075,2309,2409,2134,2267,3208,3695,3677,3555,3363,3447,3543,2892,2711,2665,3021,2463,2421,2164,1723,2109,2698,2929,2824,2844,3118,2829,2497,3031,3549,3458,3541,3233,2770,3069,3439,2980,2494,2513,3096,3660,3448,3236,2943,3494,3021,2499,2687,2728,2496,2388,2668,2853,2758,2755,2762,2655,2503,2654,2658,2543,2373,2436,2463,2287,2462,2841,2808,2939,2819,3320,3638,3755,3509,3515,3491,3292,3018,2661,2474,2710,2980,2883,2764,2431,2104,2549,2183,2034,2722,2271,1919,2487,2886,2692,1902,1723,1667,1711,2410,2552,2598,2258,2133,2589,2550,2009,1549,1492,2100,2843,2960,3166,3110,3036,3260,2878,3119,3531,3188,3279,3515,3110,3097,2986,2919,2986,3484,2787,2154,2476,2221,2297,3381,3796,2809,2630,3323,2916,2527,2782,2600,2556,2490,2286,2283,2313,2294,2344,2380,2376,2403,2541,3032,3254,3160,2599,1573,1848,2344,3000,3297,2955,2685,2784,2932,2402,2105,2326,2727,2951,2521,2338,2410,2119,2061,1973,1766,1921,2359,2503,2611,2519,2346,2597,3088,2648,2584,2541,2042,2086,2248,2258,3083,3462],[2423,2522,2573,2817,3200,3500,3838,3938,3979,2806,2367,3342,3597,3093,2864,3191,3262,2545,2280,2064,2017,2732,2784,2810,2790,2679,2654,2572,2595,2618,2542,2389,2315,2342,2318,2734,3742,4003,3867,4083,4341,3759,3735,3580,3067,2977,3475,4100,4400,4025,3249,3097,3607,3790,3626,3393,3269,3604,4152,4167,4090,3805,3596,3614,3675,3525,3648,2986,3226,3513,3315,2928,3006,3017,2933,3333,4083,4168,4197,4365,4484,4509,4432,4375,4465,4552,4484,4285,3908,3784,4041,4314,4176,3941,4073,3791,4101,4183,4216,4528,4093,3946,4152,4112,4035,3638,2499,2014,2555,2708,2709,2755,3123,3482,3691,3689,3353,3343,2867,2220,2744,3465,3311,3074,3477,3210,3231,3003,2645,2840,2714,2199,1760,1900,2340,2765,2712,2039,2533,3040,3682,3516,3061,2578,2408,2667,3044,3031,2490,2284,2236,2259,2828,3227,3162,2801,2331,2142,2415,2383,2443,2143,2158,2608,2600,2514,2300,2237,2285,2268,2288,2286,2387,2375,2577,2576,2799,3353,3073,2690,2622,3050,3160,3128,2814,3020,2950,3273,3049,3337,3545,2950,2301,2340,2629,2787,2090,1680,1707,2014,1782,2092,2510,2519,2047,1939,2024,1661,1802,2746,2894,2756,2193,1961,2370,2510,2590,2332,1650,1360,1504,1907,2665,2911,2302,1750,1826,2052,2284,2307,2518,2144,2216,2212,2001,2325,2749,2744,2014,1713,1675,1644,1534,1504,1780,2269,2424,2134,1759,1672,1770,1663,1609,1626,1790,1827,1805,1659,1534,1896,2167,2191,2354,2314,1657,1676,1845,2295,1930,1672,1707,1620,1617,1738,2422,2653,2412,1996,1713,2124,1969,2085,2416,2073,1630,2060,2042,1819,1628,1877,1902,1886,1912,1866,2222,1793,1676,1874,1979,2171,2277,2459,2734,2862,2839,2998,2754,2491,2388,2076,1600,1696,1753,1767,2186,2415,2482,2828,2622,2139,2052,1952,2222,2686,2855,2512,2692,2278,2567,2843,3146,3845,3863,3216,2342,1903,1807,1883,2082,2254,2663,2561,2368,2367,1626,1987,2408,1637,1664,2632,2930,2165,1966,2207,2510,2367,2275,2078,1606,1489,2191,3219,3496,3502,3397,3436,2801,2885,2336,2395,2964,3473,3754,2789,1907,2245,2335,1896,1686,1862,1951,1895,1746,1619,1301,1532,1996,1872,1801,2598,3474,3405,3650,3508,3332,3442,3108,2396,2554,2966,2829,2774,2294,1638,1848,2236,2609,2930,2405,1726,1422,1337,1302,1379,1337,1395,1752,2476,2758,2751,2379,2316,2916,2596,2408,1881,1874,2177,2466,2073,1836,2117,2017,2005,2439,2829,2520,2919,2423,2556,2701,3184,2247,2058,2181,2412,2806,2599,2302,2198,2741,2880,2565,2566,2303,1933,1872,1988,2057,2068,2258,2684,2918,2797,2348,2436,2476,2644,2758,2619,2677,2864,3001,3124,3066,2448,2173,2530,2719,2250,1711,1718,1918,2156,1950,1693,1841,1804,1886,1835,1476,1667,1908,1887,1916,2082,2213,2075,2121,2030,1881,1519,1569,1768,1749,2098,2278,2055,2517,2386,2536,2519,2323,2197,1930,1718,2219,2819,3001,2647,2047,1991,2224,2116,2120,1947,2314,2188,2056,2360,1974,1688,1674,1587,1810,2149,2515,2847,2176,2306,3104,3086,2584,2509,2367,2113,2152,1947,1807,2085,2095,2370,2274,2546,2166,1694,1760,1807,2375,3374,3747,3373,3372,3806,3432,4185,3840,3227,3250,3362,2972,2797,2712,2089,1514,1959,2833,2600,2146,2362,2569,2995,2928,2754,2770,2232,2402,2854,2902,2484,2354,2849,2470,2002,1923,1998,1833,1742,1848,1780,1688,1714,1831,2444,2806,2862,2610,2580,2171,1664,2039,2271,2490,1997,1780,1774,1602,1552,1471,1599,1646,2147,2863,2844,2351,1722,1415,1410,1671,1675,1418,1686,1630,1764,1890,1866,2380,2260,1996,1609,1439,1765,1928,1992,1890,1616,1640,1717,1621,1749,1658,1548,1612,1644,1510,1655,1981,2311,2405,2394,3341,4240,3906,3763,3272,2500,1984,1764,2057,2363,2708,3357,2978,2417,2609,2554,2986,3272,3316,3396,3156,2832,2678,2576,2264,2348,2877,3229,3255,3175,3157,2227,2106,2513,2644,2521,2577,2786,2746,2591,2866,3147,3002,2674,3064,2952,3519,3421,3365,3353,3309,3336,3452,3452,3298,3276,3107,3151,3494,3575,3793,3205,2964,3105,2673,2630,3042,3183,3507,3747,3792,3561,2744,2091,2106,2684,2069,2165,2604,3238,3520,3735,3939,3726,3441,3039,2720,2401,2420,2522,2676,2839,3177,3550,4083,3889,3430,3535,3691,3906,4082,3881,3582,2799,2792,3068,3295,3103,2677,2245,2036,2295,2452,2420,2744,2287,1934,2092,2449,2609,2087,1909,1968,2002,2034,1968,1676,1841,2365,2787,2698,2306,2087,2670,2436,2600,2460,2688,2328,1709,1977,2057,1826,1605,1747,1917,2310,1870,1845,2658,3274,3042,3178,3530,3310,2909,2351,1823,1692,2204,2162,1836,2192,3019,2901,2545,2364,2812,2678,1795,2088,3029,2874,2030,1802,1654,1535,1255,1428,1708,1766,1764,1911,1996,1597,1630,1960,2481,2183,1864,1738,1573,1522,2505,3008,2206,2178,2243,2396,3141,3165,2336,2070,2413,2891,3040,2739,2732,3083,2716,2539,3277,3710,3182,2940,3186,2998,3134,3248,3266,3267,3265,3470,2784,1709,1425,1578,1644,1635,1560,1650,1926,2056,2484,3659,3883,3774,3664,3483,3310,3204,3205,3419,3625,3818,3671,3523,3282,3105,3366,3570,3586,3535,3258,3271,3350,3472,3869,4006,3767,3848,3905,4165,4070,4162,4517,4428,4175,4252,4387,4532,4527,4477,4417,4332,4395,4573,4704,4809,4736,4615,4648,4721,4540,4397,4166,3956,3748,3732,3609,3348,3521,3874,4156,4499,4596,4572,4386,4263,4479,4572,4576,4396,4300,3894,3772,4004,4330,4460,4340,4187,4112,4052,3925,3897,3871,3827,3893,3851,3756,3353,2983,2814,2807,2545,1745,1635,2497,3038,3012,3032,3504,3532,3326,3498,3885,4111,4094,3686,3497,3596,3360,2896,3281,3767,3626,3418,3230,3648,3725,3564,3606,3887,3853,3828,4014,3940,3691,3928,4082,3971,3934,3958,3617,2961,2312,2009,2009,2069,2094,2108,1969,1947,1988,1991,2030,1879,1677,1654,1564,1581,1939,2033,1729,1686,1635,1761,1691,2078,2225,1996,2336,2496,1972,2325,2472,1794,1725,2041,1921,1107,1538,1912,2592,3251,2644,1920,1593,1522,1757,2235,2030,1031,1283,1536,1581,1588,1677,1981,1858,1891,1940,1604,1614,1999,2357,2109,1952,1899,1873,2009,1731,1713,1686,1666,2515,2428,1569,1496,1697,1876,1466,1600,1616,1315,1406,1573,1700,1749,1718,1593,1820,1926,1978,2231,1978,1826,2383,2325,1891,1756,1569,1942,2059,1940,1719,1570,1835,1812,1774,2151,2335,2304,2028,2237,2314,2831,2916,3374,3809,3361,3354,3363,3716,3820,3980,4002,3712,3759,4243,4188,4251,4386,4236,4176,4291,4177,3817,3704,3718,3904,4223,4203,3969,3955,4063,4185,4064,3604,3265,3393,3791,4035,3857,3847,3762,3606,3532,3650,3841,4112,4175,4142,4144,3952,3105,2368,1849,1886,2005,1927,2032,2126,2614,2769,2219,1765,1701,1874,2167,2405,2352,2467,2710,2701,3046,3050,3430,3785,3601,3392,3404,3210,2857,3082,3041,2679,2332,2876,3332,3382,3376,3370,3161,3023,3150,2921,2843,2881,3339,2708,2770,2876,3174,3291,2773,2802,2272,1966,2788,2887,2279,2290,2069,1825,1754,1708,1831,1853,2108,2501,2273,1770,2093,2232,1766,1642,1560,1505,1457,1450,1533,1553,1570,2170,1711,1807,2186,1880,1818,1876,2143,3089,3046,2058,1611,1517,1876,1823,1740,1887,2098,1973,1746,1855,1885,1998,2166,2015,2357,2696,2341,2098,1906,1515,1290,1460,2260,2500,1651,1548,1673,2195,1889,1432,1303,1209,1288,1662,1511,1433,1878,1854,1929,1909,2309,2841,3272,2901,2524,2279,1859,2160,2966,2686,1599,1743,1983,2137,1911,2202,2119,1692,1653,1634,1627,1755,1777,1745,1745,1768,1908,1844,1576,1649,1746,1556,1690,2051,1840,1692,1693,1679,1816,1704,1621,1639,1991,2276,2559,2605,2229,2456,2195,2013,2114,1934,1759,1754,1680,1694,1618,1827,2410,3099,2991,2275,2141,2797,2652,2017,2025,2415,2523,2586,2994,2933,2498,2498,2611,2828,2522,2189,2426,2396,2053,2126,2076,1727,1606,2358,2988,2400,2210,2104,1918,2312,2479,2557,2167,1688,1629,1514,1650,1572,1517,1555,2127,2863,3009,2369,2036,2463,2504,2698,3108,2796,2566,2504,2172,2623,3643,3154,2120,1898,2068,1692,1923,2759,3054,2807,2320,1976,1861,2180,2741,2750,2556,2573,2751,2828,2235,1872,1880,1938,1720,2178,2708,2460,2476,2227,1884,2193,2301,2222,2735,3091,2872,2729,2880,2086,2317,2424,2555,2755,2124,1709,2399,2796,2648,2954,2996,2771,2193,1859,1558,1491,1729,1780,2053,2226,2475,2596,2486,2986,3220,3357,3463,3329,3659,3628,3730,3361,3050,3215,3250,3084,2933,2697,2223,2276,2413,2865,2374,2393,2666,2620,2418,2196,2208,2985,3592,3580,3469,3451,3438,3294,3615,3051,3098,3442,3128,2931,2931,2437,1907,1896,2568,2940,2843,3103,3232,2586,2689,2909,3166,3341,3334,3047,2567,2556,2529,2279,2484,3106,3320,3529,3270,3181,2776,3294,3128,2924,3045,3160,3013,2808,2779,2872,2885,2808,2625,2461,2553,2613,2595,2554,2423,2401,2400,2224,2513,2729,2597,2742,2867,3316,3472,3420,3274,3372,3317,3299,3341,2980,2461,2334,2483,2461,2828,3052,2845,2662,2118,2265,3050,2968,2478,2680,2775,2742,1813,1599,1711,1553,2008,1982,1969,1999,2042,1738,1474,1404,1477,1516,1810,1908,2103,2879,3030,2987,3100,2829,2784,2364,1897,2401,2647,2208,2725,2879,2722,2895,3174,2642,2266,2842,2831,2920,3879,3723,2351,2046,2150,2310,2552,2316,2384,2652,2460,2191,2226,2306,2338,2402,2401,2383,2464,2623,2851,2709,2972,2697,2396,2439,2206,2679,3165,3001,2732,2440,2749,2207,2311,2232,2489,2889,2522,2132,2014,1973,2074,1933,2039,2338,2347,2178,2188,2010,2192,2963,3001,2458,2287,1968,1953,2591,2388,2431,3116,3774],[2401,2475,2670,2987,3323,3311,3551,3587,3539,2292,2134,3163,3783,3371,3021,3248,2841,2563,3186,2867,2539,2665,2796,2809,2759,2602,2420,2402,2491,2519,2475,2380,2424,2301,2213,2733,3956,3880,3890,4410,3930,3563,3674,3515,3296,3415,3839,4249,4113,3859,2950,2564,3042,3853,3741,3352,3166,3845,4421,4384,4138,3843,3813,3715,3682,3374,3763,3050,2845,3513,3312,3153,3299,2932,2785,3185,4099,4178,4050,3940,4424,4437,4553,4548,4418,4561,4541,4441,4244,3963,4041,3773,3560,2803,3187,4027,4388,4487,4695,4400,3425,3292,3940,4125,3916,3626,3164,2628,2979,2820,3188,3418,3539,3670,3470,3181,2975,3131,3317,2990,2371,3064,3414,3227,3272,3682,3772,3650,3381,3262,3120,2938,2724,2460,2740,2732,3041,2812,2356,2385,2809,2761,2568,2811,2911,2732,2851,2560,2042,2381,2256,2603,2509,3061,3390,3018,2280,1983,2215,2850,2931,2089,2062,2663,2645,2573,2364,2206,2549,2392,2229,2316,2447,2620,3006,2523,2660,3518,2825,2529,3082,3115,3185,3124,2968,2873,2744,2551,2312,2562,3106,2707,2474,2601,2374,2138,1744,1725,1833,2286,2132,2046,2702,3053,2555,1984,1634,1534,1938,2319,2458,2875,2214,1879,2002,2169,2344,1917,1634,1521,1702,2299,2880,2950,2014,1393,1530,1804,1898,2123,2288,2367,2234,2004,2079,2490,2541,1929,1720,1852,1820,1825,1691,1581,1870,2406,2364,1983,2374,1803,1656,1686,1925,1641,1828,1816,1953,1920,1636,1719,2004,1752,1882,2228,2027,1911,1833,1660,1437,1779,1646,1772,2501,3144,3221,3067,2989,2364,1713,2084,1909,1853,2541,2552,1849,1453,1401,1246,1290,1588,1870,1841,1772,1742,2279,2008,1980,2387,2363,2030,2110,2531,3018,2869,2735,3010,2582,2556,2591,1787,1330,1541,1833,1673,1761,1897,1946,2155,2254,2157,2002,1856,1996,2197,2131,1953,1921,1880,1992,2277,2879,2983,3156,3265,2890,2226,2074,2524,2659,2367,2533,2458,2679,2696,1902,1996,2359,1820,1783,2173,2287,1759,2269,2666,2883,2352,2659,2567,1605,1908,3278,3913,3814,3398,2895,2527,1817,1865,2282,2405,2944,3586,3536,3016,1893,1726,1505,1634,1689,1667,1689,1884,1418,1043,1094,1503,1709,1654,1890,2448,2884,2576,2630,2464,3075,3399,3281,2829,2712,2710,2995,3450,3021,2188,2033,1610,2206,2510,2478,1679,1209,1135,1173,1224,1304,1591,1992,2400,2761,2596,2364,2766,2962,2418,2246,2147,2190,2434,2531,2181,2116,2229,2095,2104,2218,2315,2557,2635,3006,3021,2990,2997,2020,1838,2418,2778,2932,2554,2376,2065,2188,2108,2100,2155,1908,1642,1593,1686,1885,2070,2267,2541,2658,2693,2644,2632,2511,2698,2706,2601,2567,2657,2712,2425,2261,2014,2054,2855,3296,2940,2237,2113,2238,2154,1852,1895,1961,1760,1455,1409,1749,2189,2061,1967,1828,2148,2301,1987,1974,2028,1761,1682,2009,2230,1768,2003,2315,2557,2722,2511,2630,2801,2525,2203,1865,1930,2430,2800,2688,1952,1892,1813,1910,2027,2443,2558,2452,2312,2214,1768,1676,1758,1671,1615,1676,1728,2149,2712,2430,2293,2750,2697,2537,2453,2444,2641,2552,1939,1744,2076,2308,2472,1956,2457,2346,2069,1889,1511,2239,3374,3942,3666,3991,4244,4137,4505,4141,3328,3195,3088,2861,2738,2541,2206,1701,1741,2543,2455,2116,2087,1749,2225,2479,2371,2079,2466,3069,2852,2529,2226,2045,2241,2058,1729,1749,2226,2219,1943,1875,1664,1486,1433,1792,2657,2770,2925,2774,1975,1819,1774,2044,2525,2328,2053,1939,1757,1702,1648,1238,1559,1887,2317,2980,3255,2500,1554,1384,1472,1798,1716,1504,1825,1516,1572,1732,2133,2326,1996,1640,1499,1380,1358,1613,1901,1758,1855,1981,2107,1908,1880,1572,1346,1427,1414,1461,1620,2075,2685,2473,1973,2578,3321,4006,4048,3362,2322,1831,1634,1612,1871,2670,3194,3065,3056,2771,2127,2683,3259,3078,2657,2329,2650,3084,2829,2475,2923,3000,3095,2909,2680,2921,2564,2184,2433,2576,2471,2478,2922,3277,2721,2598,3022,3386,3317,3500,3304,3406,3340,3310,3320,3302,3278,3376,3437,3432,3514,3361,3608,3496,3538,3508,3143,2612,2599,2986,3500,3842,3615,3190,3307,3643,3436,3251,3045,2309,1700,1694,2021,2175,2975,3674,3675,3563,3560,3519,3250,3208,2756,2483,2286,2483,2873,3244,3758,4101,3679,3281,3647,3746,4116,4189,3898,3847,3261,2566,2307,2076,1799,1817,1988,2050,2211,2213,2280,2920,2355,1796,1950,2443,2066,1846,1883,1797,1983,2065,1904,1806,2249,2004,2256,2600,2368,2044,2275,2293,2063,2164,2564,2146,1894,2087,1957,1811,1944,2156,2510,2993,2401,2497,3222,3630,3027,2496,3298,3411,3327,2780,2293,1884,2388,1835,1503,2421,3012,2934,2677,2535,2956,3007,2463,2900,3274,2280,1872,2093,2082,1619,1186,1711,2322,2467,2126,1929,1891,1869,1790,1747,1747,1698,1997,2104,2099,1825,2302,3422,2953,1947,1649,2346,3165,3357,2469,2021,2335,2899,3056,2861,2726,2971,3421,3139,3168,2941,3042,3794,4189,3794,3521,3343,3430,3528,3422,3537,3112,2029,1597,1445,1550,1768,1644,1610,2056,2317,2669,3547,3320,3028,3313,2964,3218,3216,3001,3353,3437,3565,3607,3410,3343,3141,3274,3381,3503,3535,3420,3560,3558,3710,3748,3993,3916,4112,4241,4210,4428,4705,4808,4852,4688,4649,4439,4544,4697,4560,4343,4231,4297,4440,4644,4684,4558,4483,4592,4496,4320,4384,4234,4185,3871,3725,3641,3208,3150,3528,3875,4197,4408,4584,4504,4452,4415,4497,4453,4291,3958,3650,3471,3332,3682,4006,4157,4244,4053,4064,3905,3817,3438,3652,4084,4141,4037,3724,3065,2864,2731,1839,1598,2504,3379,3589,3104,3262,3453,3261,3044,3174,3560,3927,3846,3518,3390,3409,3449,3439,3751,3766,3715,3337,3448,3569,3647,3885,3773,3508,3282,3542,3863,4190,4116,4389,4340,4168,3749,3511,3084,2288,1998,2060,2048,1994,1902,1882,1996,1966,1753,1734,1900,1792,1642,1615,1475,1554,1652,1619,1562,1512,1583,1655,1592,2150,2292,2258,2789,2323,1947,2224,1895,1518,1627,1834,1951,1641,1627,1896,2366,2820,2624,1961,1764,1870,2216,2646,2098,1069,1428,1694,1635,1527,1527,1861,1908,1820,1749,1649,2352,2674,2265,2164,1985,1621,1896,2322,1930,1537,1488,1730,2342,2126,1424,1435,1753,2042,1608,1591,1511,1413,1422,1504,1471,1750,1907,1853,1926,1875,2026,1999,1528,1416,1749,2005,1730,1538,1937,2111,1918,1873,1779,1532,1730,1578,1735,2269,2675,2337,1926,1785,2048,2611,2641,2569,2625,2888,3058,3197,3863,4220,4168,3956,3722,4002,4184,4168,4363,4385,4236,4161,4420,4144,3582,3820,3477,3514,3946,4098,4071,4003,3996,4390,4533,4144,3791,3930,4124,3924,3897,3963,3840,3640,3908,4112,4091,4457,4344,3795,3570,3481,3150,2521,1949,2021,2031,2008,2131,2022,2028,2147,1918,1581,1710,2207,2449,2456,2613,2724,2576,2335,2456,2785,3332,3172,2583,2999,3120,2669,2724,2677,2811,2912,3276,3662,3798,3532,3241,3370,3209,3210,3427,3139,2968,2523,3067,3265,2807,2945,3371,3079,2370,2513,2604,2010,2275,2377,2180,2048,1816,1737,1808,1720,1853,2188,2053,1689,1729,1793,2143,1905,1569,1594,1515,1516,1441,1384,1324,1588,1642,1704,1930,1932,1903,2097,1705,1915,2099,3331,3140,2060,1516,1646,1805,1799,1705,1664,2003,2091,1812,1732,1870,1878,1822,2227,2363,2220,2242,2120,1604,1722,1974,1499,2125,2678,1627,1476,2019,2523,1687,1114,1230,1111,1315,2018,1884,1402,1785,1780,1856,1814,2059,2524,3276,3156,2692,2452,2090,2070,2828,2627,1908,2214,2373,2562,2181,2002,1869,1863,1808,1638,1830,2280,2052,1815,1744,1886,2265,2049,1631,1562,1711,1552,1510,1767,1687,1622,1745,1725,1773,1377,1694,1879,2032,1956,1957,2113,2094,2192,2524,2397,2059,1946,1612,1579,1794,1659,1753,2055,2775,3035,2720,2125,1746,2282,2975,2940,2583,2918,3039,3030,3011,3034,2243,1830,2294,2765,2437,2212,2305,1991,1849,2188,2126,1945,1990,2271,2347,1882,1968,2136,2413,2604,2236,1944,1775,2041,1736,1531,1676,1836,1753,1963,2608,3343,3594,3175,2978,2724,2416,2797,2763,2510,2162,1960,1802,2333,3464,3740,2624,2230,2284,1732,1779,2357,3105,3207,2792,2372,2032,1850,2097,2381,2679,2740,2973,2946,2321,1892,1710,1670,1704,2320,2762,2530,2330,1969,1832,2230,2122,1829,2397,2644,2303,2785,3379,2780,2780,2511,2285,2322,2041,1913,2083,2282,2260,2232,1929,1833,1643,1640,1580,1655,1614,1803,2175,2084,1947,2107,2545,3213,2881,2717,2950,2916,3152,3190,3248,2851,2471,2809,2904,2764,2696,2643,2084,2290,2691,3256,3419,2867,2366,2532,2544,2146,2337,2869,3112,2889,2658,2792,3045,2972,2951,2735,2677,3049,3105,3095,3016,2701,2423,2410,2953,3160,2976,2987,3064,2811,2683,2908,3035,3054,3161,2821,2264,2038,2140,2696,3360,3335,3208,3401,3293,2993,2612,2662,2734,2902,2963,3053,2828,2718,2619,2729,2962,2770,2574,2464,2603,2646,2591,2501,2323,2453,2302,2030,2602,2697,2817,2767,2953,3254,3377,3190,3176,3142,2988,2781,3063,3038,2618,2408,2544,2372,2728,2967,2689,2440,2261,2462,2743,2724,2161,2512,2907,2641,2023,2315,2743,2476,2354,2222,1732,1845,1874,1108,1124,1049,1206,1366,1571,1626,2130,3044,3182,3052,3094,2902,2146,1715,1731,2536,3034,2834,2690,2598,2678,3087,3562,3353,2947,3070,2778,2908,3690,3288,2103,1942,2051,2380,2411,2473,2681,2621,2379,2236,2270,2349,2387,2431,2430,2354,2429,2784,2976,2976,2973,2636,2658,2640,2478,2422,2368,2651,2487,2276,2315,2345,2187,1704,1852,2401,2414,2256,2010,1702,1840,1692,1890,2158,2426,2056,1994,2384,2832,2854,2635,2638,2243,1415,1923,2690,2484,2872,3064,3610],[2219,2445,2636,2785,3082,3298,3592,3424,3271,2177,2090,3122,3483,3027,2953,3175,2556,2602,3263,3470,3238,2745,3094,3149,2727,2578,2541,2458,2549,2529,2614,2530,2614,2843,2917,2958,3885,4086,3854,3864,3436,3268,3525,3369,3432,3811,4124,3854,3340,3570,2889,2321,2536,3371,3118,2529,2846,3547,4311,4356,3684,3276,3675,3587,3732,3529,3544,3100,2768,2883,3331,3592,2978,3133,3772,4008,4284,4324,3921,3573,4121,4313,4367,4359,4300,4439,4499,4688,4375,4027,3596,3047,2438,2187,3277,4144,4005,3769,4036,3891,3145,2727,3608,3918,3746,2726,2684,2854,3318,3454,3781,3772,3562,3341,2987,2799,2568,2755,3241,3494,2798,2768,3210,3653,3405,2995,3124,3533,3204,2685,2476,3090,3328,2893,2410,2424,2958,2843,2382,2520,2780,2533,2384,2423,2042,2612,3040,2626,2462,2436,2233,2432,2437,2185,2319,2222,1786,1857,2294,2509,2496,2088,2063,2493,2361,2352,2360,2389,2415,2270,2199,2374,2507,2598,2695,2115,3052,3753,2476,2802,3394,3567,3628,3164,2898,2886,2957,2709,2415,2809,3308,2507,2544,2814,2496,2255,2173,1931,1732,2253,2508,2577,3032,3374,3509,3020,1920,1603,2563,2511,2606,3128,2524,1841,1517,1370,1632,2065,2143,1986,2369,2842,3116,2851,1896,1434,1552,1477,1504,1566,1628,1749,1588,1670,2114,2310,2170,1780,1682,1763,1938,1949,1772,2081,2468,2809,2693,2982,3248,2047,1698,2032,1949,1575,1736,1931,1870,1844,1802,1756,1814,1522,1622,1945,2229,2280,1833,1617,1934,2001,1968,2676,3472,3738,3437,3175,3016,2072,2454,2798,2719,2764,3308,3309,2246,1792,1760,1320,1332,1628,1914,1925,1581,1587,2154,2224,2155,2853,2770,1861,1612,1897,2532,2378,2667,3028,2521,1985,1911,1530,1373,1614,1710,1608,1718,1754,1654,2078,2330,2308,2039,1885,1766,1673,1845,1984,2091,2142,1900,2366,2567,1957,2045,3075,2763,2578,2474,2624,2666,2200,2532,3179,2580,1851,1620,2090,2707,2351,2640,2458,2048,1769,2175,2602,2312,1884,2146,2411,2050,2182,3380,4295,4420,3643,2666,2022,1550,1754,2406,2512,2547,2732,2344,2286,1888,1599,1714,1778,1826,2196,2318,2270,1782,1387,1418,1519,1706,1636,1766,2119,1981,1844,1627,1754,2468,2966,2967,2819,2732,2657,2689,3031,2936,2578,2047,1409,1822,2197,1986,1397,1210,1295,1552,1710,1826,1866,1876,2390,2456,2060,1996,2345,2652,2340,2358,2522,2248,2303,2595,2293,1723,2002,2206,1620,1636,1828,2264,2138,3053,3429,3163,2856,2106,2135,2585,2656,2656,2471,2334,2007,1914,1833,1764,1768,1710,1643,1532,1519,1743,1963,2180,2399,2581,2625,2756,2563,2447,2730,2746,2568,2436,2703,2842,2104,1526,2074,2700,2675,2266,1940,2020,2302,2318,2040,1756,1671,1778,1972,1638,1722,2670,2771,2222,2347,2387,1960,2136,2214,1772,1716,1737,1780,1638,1691,1704,1845,1866,2063,2370,2862,2685,2003,1990,1889,1897,2465,1991,2695,2769,1808,1857,2064,2042,2039,2259,2520,2271,2328,2526,2189,1750,1573,1594,1563,1882,2014,2148,2584,2615,2729,2792,2647,2566,2235,2085,2143,2302,2166,2094,2180,2050,1843,1557,2269,2390,2103,2160,1572,1950,3132,4078,4016,4144,4376,4404,4180,3936,3606,3365,3228,2790,2611,2901,2158,1599,1905,2294,2514,2536,1999,1439,1621,2314,2524,2618,3311,3154,2547,2646,2520,2067,1822,1958,1858,1918,2207,2058,1859,2092,1942,1765,1873,2054,2600,2624,2673,2461,2079,2299,2250,2623,2708,2248,2300,1910,1730,1698,1711,1456,1747,1881,2064,2547,2838,2298,1535,1717,1830,1846,1725,1552,1505,1471,1691,1900,1981,1784,1606,1594,1602,1544,1644,1797,1567,1841,1827,1808,1936,1702,1614,1606,1436,1461,1851,1732,1541,1990,1880,1782,1904,1776,2068,3476,3705,3183,2227,1756,1990,2088,2407,2731,1868,2128,2889,2310,2485,2995,2845,2360,1880,1754,2215,2788,2734,2532,3014,3167,3197,3287,3230,3016,2703,2416,2535,2584,2533,2612,2987,2933,2474,2532,2832,3160,2783,2987,3441,3354,3167,3077,3050,3090,3360,3676,3619,3260,2623,3033,3650,3460,3311,3349,3190,2884,2770,2976,3526,3570,3060,2598,2954,3432,3516,3561,3312,2298,1618,2146,2497,2352,3028,3673,3465,3118,3369,3683,3413,3371,3449,3011,2308,2441,2916,3276,3659,3518,3187,3028,3404,3598,3908,4017,3929,3672,3068,2414,1923,1815,1969,2156,2164,2020,2105,2199,2362,2900,2472,1866,2229,2585,2364,2110,1929,1829,1966,2068,1913,2049,2358,2242,2089,2338,2226,1683,1810,2049,2097,2360,2531,2394,2562,2337,2031,1799,1707,1684,1978,2165,1852,2322,3292,3605,3443,3411,3748,3393,3298,2795,2208,2176,2359,2054,2241,2465,2439,2840,3165,2900,2721,2931,2566,2670,2122,1747,1866,1942,2141,1901,1703,2308,2899,2985,2053,1720,1683,2102,2084,1726,1847,1602,1565,2036,2536,2410,2408,3205,2819,2139,1940,2443,2659,2232,2017,2004,2148,2567,2967,2956,2734,2636,2921,2460,2897,3485,3928,3964,3898,3824,3820,3550,3485,3471,3278,3474,3356,2443,1775,1740,1781,1719,1659,1827,2042,2387,2773,3094,3062,2739,2666,2578,3371,3551,3473,3342,3463,3834,3683,3370,3255,3278,3287,3210,3418,3476,3275,3559,3647,3708,3671,4037,4164,4296,4369,4221,4455,4957,4865,4940,4659,4459,4275,4544,4680,4535,4371,4332,4439,4584,4796,4828,4692,4516,4308,4067,4292,4323,4174,4248,3973,3790,3715,3330,3195,3443,3284,3505,4111,4499,4529,4540,4408,4264,4320,4344,3709,3308,3595,3772,3951,4165,4108,4096,3470,3261,3193,3316,3369,3491,3669,3598,3581,3450,2988,2741,1915,1582,2446,2978,3601,3723,3329,3167,3099,2912,2974,3016,3144,3469,3902,4081,3773,3530,3669,3829,3861,3906,3969,3752,3483,3584,4112,4360,4141,3828,3614,3615,3510,4144,4524,4472,4437,4128,3437,2896,2255,1930,2076,2097,2049,1932,1965,2110,1946,1550,1507,1956,2225,1764,1560,1523,1505,1595,1661,1577,1530,1462,1467,1533,1583,1830,1913,2198,2430,1816,1709,1578,1577,1733,1660,1753,2395,2198,1470,1632,1896,2504,2855,2096,1700,1816,2144,2713,2220,1087,1155,1455,1410,1340,1378,1818,2030,1643,1569,2079,3149,2684,1818,1744,1621,1496,1530,1632,1703,1811,1888,1848,1766,1630,1545,1814,2095,1678,1506,1408,1356,1324,1462,1598,1541,1879,2092,2108,2146,2030,1898,2246,1993,1767,1639,1622,1194,1098,1785,1798,1659,1615,1716,1705,1755,1676,2085,2595,2670,2389,2017,1761,1868,2307,2338,1956,2062,3090,3271,3598,4232,4428,4354,4143,4098,4276,4380,4496,4395,3980,3820,3880,4472,4385,4159,3963,3152,3044,3708,3882,3793,4083,4081,4444,4501,4340,4215,4364,4423,3723,3426,3772,3849,3812,4013,4233,4029,4240,4093,3263,2643,2774,3064,2388,2013,2303,2257,2114,2091,2050,1824,1982,1870,1824,1953,2171,2468,2698,2845,3096,2623,2274,2669,2562,2934,2622,2906,3436,3553,3679,3588,2525,2769,3166,2978,3204,3438,3532,3381,3418,3349,3249,3508,3473,3067,2601,3200,3448,2763,2780,2945,2469,2584,3124,3042,2110,1874,1878,1796,1733,1879,2206,2303,1965,1562,1460,1420,1416,1718,1652,1914,1692,1625,1539,1483,1500,1428,1365,1399,1542,1667,1732,1968,1940,2208,2120,1664,1886,2241,3474,3301,1970,1631,1795,1725,1825,1597,1551,1921,1814,1791,1863,2062,1788,1625,1875,1798,1847,2368,2204,1443,1858,2511,1972,1772,1778,1396,1792,2724,3398,2493,1188,1269,1262,1292,1722,1485,1284,1749,1959,2353,2714,2729,2998,3564,3175,2568,2666,2434,2001,2113,2281,2557,2630,2457,2169,1898,1736,1848,1959,1753,1683,1564,1765,1830,1845,1766,1638,1824,1915,1832,2070,2223,1802,1450,1625,1535,1606,1738,1793,1668,1502,1708,1899,1833,1785,1786,1839,1770,2048,2470,2378,2266,2265,1810,1731,1819,1921,2053,2233,2653,2657,2687,2698,2106,2068,2637,2908,2547,2920,3227,3332,3320,3345,2752,2062,2375,2744,2187,2122,2064,2005,2208,2232,2611,2470,2251,2018,1601,1800,2226,2232,1898,1952,2001,1841,2207,2679,1890,1651,2318,2707,2429,2876,3472,2765,2227,2614,2659,2378,1932,2222,2257,2438,2431,2109,2087,2348,3144,3874,2788,2134,1928,1846,1911,2696,3463,3616,3288,2876,2419,2043,1802,2048,2533,2706,2773,3117,2756,1988,1685,1945,2264,3160,3792,3174,2404,1936,2089,2186,2130,2234,2402,2267,2697,3120,2973,2833,2567,2293,2509,2836,2425,2431,2103,2212,1620,1544,1740,1984,1865,1594,1500,1672,2008,1945,2093,2125,2142,2248,2899,2846,2338,2496,3212,3688,3523,2900,2459,2003,2078,2495,2165,2324,2165,2272,2110,2349,2545,3371,3660,2750,1958,2233,2535,2206,2585,2775,2855,2952,2943,3082,2971,3021,2927,2775,2568,2851,3205,3030,2972,2768,2765,2908,3110,3172,3007,2814,2763,2829,2852,2851,2629,2598,2662,2481,2253,2235,2518,3128,3514,3387,3228,3309,3330,2768,2257,2329,2045,2260,2561,2697,2696,2648,2446,2278,2237,2412,2494,2436,2588,2631,2573,2447,2352,2449,2562,2468,2812,2751,2710,2735,2662,2656,2521,2523,2525,2447,2382,2144,2305,2602,2941,3064,2945,2720,2942,3045,2779,2544,2272,2544,2048,2454,2699,3131,3142,2999,2877,2922,3212,3046,2663,2474,2374,2014,1406,1143,1162,1088,1278,1383,1628,1758,2431,3307,3272,3218,3104,2988,2569,2153,2254,3388,3870,4013,3745,2958,2909,3582,3562,3316,3127,3198,2673,2281,2824,2696,2360,2394,2360,2242,2510,2935,2963,2819,2735,2425,2381,2447,2604,2610,2544,2518,2599,2822,2950,3173,3018,2522,2476,2698,2454,2423,2429,2696,2530,2336,2455,2674,1919,1498,1783,1920,2006,2056,2049,1574,1860,1980,2196,2436,2457,1974,2005,2900,3253,2928,3227,3435,3088,2282,2598,2566,2792,3124,3133,3472],[3041,3253,3039,2960,3116,2911,3131,3262,3286,2820,2541,2676,2844,2727,2886,2761,2414,2751,3064,3130,2746,2751,3152,3157,2609,2373,2517,2673,2771,2569,2697,2657,2653,3022,3329,2956,3537,4040,3776,3342,2854,2716,3145,3141,3185,3275,3889,3852,3450,3719,3385,2677,2404,2850,3271,3173,2842,3629,4384,3942,3283,3030,3312,3237,3196,3043,3135,3464,3452,3151,3102,3171,2625,3435,3782,3953,4196,4164,3719,3499,4062,4181,4073,3844,3714,4000,4433,4600,4268,3588,2879,2534,2143,2171,2774,3332,3042,3259,3889,3752,3596,3287,2843,2512,3055,2553,2763,3294,3653,3766,3837,3709,3491,3287,2877,2616,2502,2394,2889,3249,2846,2094,2449,3420,3793,3065,2654,3128,2993,2801,2314,2406,2229,2307,2287,2205,2586,2650,2793,3387,3917,3484,2553,2138,2246,2841,2726,2308,2463,2469,2512,2207,2185,2220,2236,2186,1738,1751,2160,2138,2221,2071,1942,2122,2110,2529,2675,2480,2510,2544,2391,2284,2433,2589,2378,1690,2511,2603,2109,3443,3930,3807,3779,3550,3277,3152,3074,3277,3478,3404,3057,2789,2619,2272,2196,2299,2599,2404,1950,2362,2785,2975,3072,3204,2974,2552,1850,1860,2362,2486,2555,2478,1985,1596,1711,1588,1521,2427,2126,2175,2360,2539,2775,2486,1831,1474,1455,1539,1756,1500,1630,1560,1454,1584,2122,2044,1908,1753,1537,1601,1926,2072,1929,2588,2501,2165,2165,2648,2655,2409,1969,1744,1680,1573,1787,1956,1890,1789,1768,1750,1672,1600,1661,1791,2355,2586,2191,1878,1819,1990,2871,3682,3692,3691,3631,2908,2445,1874,2470,2911,3148,3239,3414,3295,2293,2026,1773,1361,1353,1489,1793,1989,1852,1932,2322,2175,1725,2119,2138,1582,1548,2363,2931,2447,2692,2839,2573,2183,2020,1968,1811,1549,1403,1375,1355,1425,1767,2112,2066,2267,2154,2017,1816,1900,2307,2510,2995,2887,2207,2331,2060,2490,2766,3152,2906,2583,2563,2280,2337,2609,3125,3250,2054,1626,1951,2321,2558,2692,2943,2166,1733,1787,1940,2219,2076,1693,1973,2480,2259,1918,2758,3558,3930,3567,2639,2028,1741,1577,1828,1932,1917,1582,1489,2047,1736,1599,2043,1929,1914,1954,1691,1847,1742,1654,1735,1759,1794,1623,1719,1718,1644,1661,1459,1832,2561,2981,3039,2721,2710,2609,2656,2737,2587,1637,1382,1453,1600,1812,1651,1357,1253,1460,2065,1911,1796,1656,1723,2329,2041,1954,1779,2076,2422,2076,2325,2556,2323,2069,2341,1979,1641,2147,2053,2084,2564,2468,2175,2175,3143,3769,3483,2683,2404,2104,2096,2383,2426,2365,2492,2374,2182,1959,1797,1616,1678,1727,1656,1723,1827,1986,2119,2213,2296,2455,2578,2602,2702,2743,2720,2699,2903,3167,3105,2352,2021,2896,3443,2574,1653,1792,2327,2387,2193,1934,1682,1824,2026,2174,1974,2164,2349,2293,1925,2421,2787,2172,2340,2822,2235,1562,1758,1610,1522,1877,1836,1825,1689,2181,2592,2600,2264,2182,1793,1428,2392,3674,3008,2951,2684,1861,1781,1929,2092,2149,2100,2276,2066,1936,2330,2622,1851,1550,1771,1733,2189,2203,2240,2304,2182,2360,2687,2533,2509,2341,2148,1979,2172,2439,2496,1981,1771,1982,1839,1794,1976,1875,1828,1500,1591,2377,3418,3609,3666,4046,4207,3782,3493,3706,3494,3422,3130,2654,2248,1703,2096,2290,2185,2252,2264,2004,1992,2544,3164,3152,3124,3463,3458,2657,2698,2654,2238,2135,2016,1731,2067,2542,2034,1987,2476,2240,1859,1929,1771,2137,2242,2598,2797,2834,2663,2397,2276,2620,2770,2418,1908,1903,2116,2156,1905,2163,2316,2331,2344,2388,2444,2153,2414,2312,2098,1879,1933,1813,1494,1484,1524,1428,1458,1515,1516,1510,1507,1811,1779,1802,2088,1622,1494,1974,1901,1715,2054,2135,1953,2549,1942,1813,1697,1525,2168,2497,1800,1708,2307,2509,2408,1989,1917,2633,2891,2721,2339,1754,2467,2574,2237,2858,3949,4015,3091,2075,1631,1797,2223,2425,2542,3203,3163,3167,3340,3168,2775,2435,2501,2712,2680,2565,2659,3182,3278,2992,2343,2785,2951,2351,2753,3298,3332,3164,2813,2402,2681,3242,3707,3540,3241,3014,3116,3407,3116,2845,3105,3128,3196,3101,2960,3225,2964,2579,2519,3015,3518,3638,3620,3068,2058,1801,2547,2872,2808,2800,3413,3288,3295,3710,3785,3117,2586,2855,2819,2224,2230,2852,2955,3145,3199,3017,2976,3204,3498,3782,3898,3759,3109,2245,1857,1854,1974,2262,2499,2382,2212,2232,2232,2442,2862,2520,1983,2108,2348,2431,2002,1830,1732,1837,2000,1749,2365,2469,2365,2182,2226,1998,1833,2021,2115,2304,2188,2798,2906,2616,2198,2006,1816,1746,1929,1826,1399,1644,2558,3453,3676,3509,3332,3361,3391,3095,2814,2171,1934,2264,2558,2930,2922,2762,3136,2998,2923,3462,3018,2277,2464,2488,2569,2415,2026,2101,2225,2426,2800,2999,2999,2191,2345,2213,1842,1934,2019,2091,2097,2013,2062,2181,2454,2405,2223,3002,2540,2311,2337,2241,2007,1723,1900,1906,1925,2746,3007,2929,2425,2229,2722,3818,4041,3739,3632,3548,3482,3479,3489,3641,3591,3430,3458,3384,2895,2349,2238,1957,1814,1899,2030,2221,2570,2484,2929,3204,2708,2398,3086,3671,3639,3391,3287,3615,3882,3749,3555,3435,3440,3308,3156,3259,3602,3374,3481,3803,3968,3774,3611,3797,4048,3961,4145,4388,4640,4732,5024,4912,4561,4131,4485,4636,4633,4615,4640,4704,4776,4865,4764,4815,4769,4685,4617,4797,4577,4274,4156,3994,3724,3539,3515,3725,3706,3322,3326,4093,4174,4304,4428,4363,4155,4209,4337,3742,3410,3853,4207,4180,4072,3874,3616,3085,2855,2835,3044,3294,3349,3339,3143,2993,3021,3052,2786,2473,2968,3384,3373,3562,3496,3166,3050,2924,2956,3119,2897,3448,4248,4469,4486,4276,4092,4050,4187,4167,3996,4140,4100,3768,3950,4368,4407,4255,4024,3819,3759,3525,3884,4179,3973,4080,3804,3259,2335,1925,2055,2022,2043,1997,1956,1991,1865,1654,1737,1755,1935,2064,1652,1412,1232,1395,1493,1606,1590,1465,1472,1520,1531,1568,1616,1533,1462,1559,1776,1649,1570,1635,1606,1837,2041,2646,2575,2076,2382,2275,2388,2719,2679,1901,1562,1878,2531,2400,1287,1065,1591,1646,1674,1775,1915,1914,1576,1920,2435,2687,1844,1502,1737,1941,2200,2145,1643,1542,1692,2071,1714,1657,1584,1508,1579,1698,1552,1427,1417,1517,1505,1343,1305,1315,1693,1764,1707,1825,1779,1726,2182,2191,1765,1528,1487,1097,1211,1672,1502,1674,1738,1649,1763,2023,1920,2228,2589,2045,1910,2163,2155,2061,2018,1913,1686,1908,2800,3128,3759,4232,4341,4320,4253,4094,4169,4260,4261,4067,3508,3678,4283,4615,4532,4488,4266,3322,2763,3419,3472,3285,4097,4396,4680,4576,4352,4351,4512,4640,3920,3171,3572,3965,4179,4264,4277,4048,4073,4035,3586,2750,2667,2963,2636,2197,2273,2330,2047,1992,2050,1783,2050,2301,2316,2179,2049,2281,2641,2824,2876,2760,3023,3091,2644,3141,2732,3163,3742,3780,3834,3772,2812,2581,2996,2802,2536,2744,3312,3174,3251,3374,3309,3355,3356,2980,2644,3340,3753,3249,2624,2522,2220,2292,2054,2372,2235,2356,2505,2288,2360,2589,2227,2010,1771,1120,1324,1499,1466,1618,1599,1848,1844,1654,1543,1549,1727,1583,1389,1429,1577,1581,1694,1982,1884,2032,1710,1372,1587,1945,2980,3270,2234,1924,1934,1909,1935,1424,1403,1832,1907,1506,1767,2010,1699,1767,2112,2140,2101,2735,2591,1859,1887,1920,1482,1534,1624,1344,1637,2455,2951,2411,1792,1955,1418,1526,1733,1350,1444,1959,2279,3145,3846,3670,3494,3252,2447,2173,2692,2884,2632,2850,3095,2950,2315,1813,1707,1849,1793,1575,1506,1651,1622,1522,1638,1543,1527,1710,1643,1681,1754,1870,2058,1803,1628,1662,1720,1595,1577,1653,1938,1719,1403,1653,2139,2182,2049,1902,1750,1793,2293,2548,2545,2453,2600,2502,2170,2102,2266,2080,1927,2094,2091,2755,3370,2822,2321,2214,2316,2347,2459,2457,2460,2326,2507,2923,2626,2652,2872,2601,2254,2286,2342,2468,2295,2490,2165,1738,1587,1641,1981,1945,2182,2205,2547,2986,2220,2577,2490,1983,2333,3077,3386,2992,2944,2909,1986,1800,2145,2232,2444,2026,1654,1932,2120,1956,2085,2127,1998,2235,2994,2648,2432,2194,2188,2609,3519,3592,3341,3377,3249,2777,2511,2014,1863,1953,2370,2617,2685,2763,2397,2085,2336,2909,3628,4061,3068,2351,2021,1866,1703,1795,2312,2215,1724,2661,3121,2829,2888,2636,2431,2820,3078,2785,2642,2470,2510,1841,1702,1975,1962,1825,1985,1814,1721,2064,1665,1904,2421,2445,2435,2898,2837,2365,2363,3078,3801,3340,2696,2333,2093,2339,2364,2115,2055,1951,2229,2276,1978,2045,2842,3490,3220,2145,2189,2567,2666,3110,2796,2585,3089,3121,2811,3232,3526,3292,3209,3017,3051,3239,2871,3018,3067,2956,2687,2679,2845,2783,2707,2733,2709,2687,2710,2286,2496,2513,2281,2255,2417,2563,2629,3103,3240,2999,2822,2574,2218,2125,2953,2212,1944,2823,3104,2807,2736,2335,1911,2265,2724,2566,2357,2451,2574,2596,2410,2453,2450,2329,2229,2750,3091,3073,2797,2617,2552,2315,2452,2364,2168,2114,2185,2355,2501,3075,3356,3074,3046,3221,3076,3003,2958,2195,2324,2198,2670,2985,3086,3149,3374,3140,2529,2352,2557,2423,2366,2829,1991,1111,1259,1121,1290,1618,1836,2147,2023,2385,3152,3190,3298,3225,3093,2933,2731,3161,3680,3723,3730,3755,3328,3177,3519,3597,3537,3449,3405,2841,2389,2590,2651,2503,2314,2165,2304,2955,2902,2776,3045,2967,2263,2470,2874,3123,2852,2582,2476,2367,2395,2443,2846,2636,2475,2388,2696,2644,2876,2532,2700,2702,2210,2247,2173,1811,1839,2047,2100,2138,1974,1997,1867,1750,1903,1860,1753,1691,1549,1963,2779,2722,3077,3728,3699,3535,3098,3120,3039,3185,3316,3519,3650],[3666,3420,2793,2451,2352,2210,2553,3130,3129,2761,2673,2672,2801,2899,3012,2625,2496,2569,2392,2543,2852,2947,2843,2342,2208,2313,2541,2872,2900,2718,2662,2689,2790,2837,2790,2857,3292,4115,4041,2900,2371,2359,2586,2755,2629,3381,3820,3691,3743,3666,3050,2688,2751,3132,3609,3624,3798,4052,4072,3715,3156,3059,3251,3093,3085,3211,3217,3367,3571,3157,2264,2620,2814,3212,3442,3453,3708,3827,3206,3145,3500,3539,3374,2857,2798,2920,3522,3619,3799,3088,2421,2523,2957,2552,2253,2689,2774,3250,3739,3405,3453,3188,2220,1865,2672,3098,3006,3017,3161,3209,3283,3594,3553,3430,2873,2513,2470,2272,2790,3035,2792,2298,2370,3061,3485,3056,2621,2977,2909,2902,2620,2000,1722,1943,2188,2087,2152,2331,2624,3785,4685,4244,3082,2448,2593,2724,2315,2243,2437,2530,2755,2464,1880,1698,2061,2369,1849,1642,2376,2484,2160,1792,1975,2231,2756,3293,2884,2427,2809,3104,2824,2389,2199,2454,2260,1889,2655,2345,1971,3027,3814,3691,3543,3905,3648,3308,2911,3337,3786,3294,2632,3013,2938,2586,2388,2041,2332,2487,2132,1922,2763,3353,3260,3171,2400,1742,1722,2065,2377,2280,2058,1703,1774,1519,1660,1918,2330,2348,1831,1696,2064,2518,2567,2349,1837,1515,1484,1837,1906,1606,1624,1629,1478,1638,1809,1913,1930,1587,1632,1725,1846,2109,2454,2502,1960,1881,2430,2040,1998,2641,2353,1714,1720,2097,2415,2004,1901,1811,1782,1828,1802,1681,1775,2122,2375,2631,2877,2459,2247,2623,3231,3431,3275,2901,2630,2780,2844,2491,2432,2439,2533,2220,2032,1834,2061,1982,1644,1535,1390,1283,1819,2133,1935,1869,2046,1794,1368,1475,1682,1654,1888,2131,2752,2664,2300,2276,2330,2386,2342,1993,2049,1637,1692,1628,1486,1762,2023,1543,1738,2501,2508,1990,1637,1865,2592,3119,3448,2607,1964,1975,1884,2679,3322,3066,2239,2090,2055,2130,2872,3508,3651,2583,1694,1626,2397,2367,2698,3357,2762,1812,1755,1795,2474,3598,2588,1663,2018,2775,1990,1515,1942,2568,3326,3477,2976,2216,1635,1141,1260,1595,1656,1677,1692,2051,1801,1804,1931,1744,1904,2106,2292,2279,1757,1619,1688,1849,1726,1717,1680,1636,1832,1749,1648,1985,2776,3298,3553,3234,2675,2590,2719,2785,2337,1639,1439,1408,1384,1209,1214,1258,1193,1352,1472,1565,1511,1465,1500,1670,1978,2451,2200,1731,1936,1688,2099,2242,2093,1653,1748,1569,1632,2510,2494,2582,2861,2777,2555,2190,2696,3520,3024,2149,2092,1892,1352,2038,2458,2197,2177,2163,2047,1936,1699,1414,1556,1654,1542,1686,1897,2059,2101,2069,2156,2276,2309,2469,2633,2683,2687,2874,3134,2842,2976,2281,2356,2954,3034,2555,2043,2006,2314,2233,2574,2331,1792,1892,2344,2225,1992,2415,2321,1720,1663,2148,2460,2329,2800,3041,2198,1684,1702,1566,1840,2130,2269,2028,1728,2174,2640,2448,2135,2611,1874,1879,3065,2929,1967,2096,2192,1859,1659,1569,1701,1994,2071,1878,2026,1726,1912,2360,2211,1959,1892,2083,2061,1789,2098,1782,1847,2169,2235,2081,2600,2467,2025,2183,2426,2340,1975,1517,1511,1725,1691,1917,2104,2156,2470,2054,1614,1801,2977,3692,3874,4164,4164,4103,4121,3670,3212,2871,2818,2281,1867,2028,2227,2302,2706,2735,2350,2145,2614,2978,3076,2698,2479,2823,3606,3155,3133,2919,2268,2143,2048,2197,2591,2715,2169,2012,2642,1986,1797,2297,2456,2455,2737,3138,3184,2640,2609,2526,1985,2008,2026,2097,1753,1860,2218,2131,2002,2752,3179,2629,2564,2818,2956,2662,2084,2000,1833,1671,2076,2321,1957,1588,1470,1347,1582,1772,1576,1506,1357,1471,1485,2020,2401,2040,1541,1691,2002,1934,1948,2084,1796,2187,1859,1755,1621,1613,2009,2314,2093,2004,2040,1648,1627,1535,1608,2207,2460,2216,1850,2315,3096,2751,2548,3425,4081,4124,3829,2863,2130,2508,2313,2138,2646,3250,2937,2839,3109,3086,2622,2302,2779,2906,2811,2415,2723,3089,2986,2500,2422,3096,3090,2786,3062,3326,3438,3310,2856,2499,3066,3677,3734,3277,3439,3617,3378,3226,3219,2985,2965,3011,3482,3465,3144,2907,2598,2555,2940,3243,3208,3239,3334,3098,2380,2009,2319,2889,2899,2415,3176,3206,3322,3774,3704,2862,2052,1840,1913,2219,2571,3077,2952,3042,3187,3103,3128,3222,3353,3477,3327,2643,1875,1696,2020,2325,2537,2807,2785,2448,2232,2172,2204,2342,2675,2570,1982,1852,1914,1852,1924,1760,1844,1966,2106,2039,2099,2146,2202,2657,2166,1644,1896,1853,2217,2548,2447,3099,3249,2849,2431,2090,1939,2002,2015,1709,1627,2370,3101,3312,3338,3202,3161,3320,3559,2852,2615,2603,1884,2310,2850,2878,2745,2769,3087,2714,2898,3672,3318,2852,2986,2777,2374,2463,2248,1826,2358,3044,3420,3333,3500,2957,2824,2522,1769,1684,2309,2162,2339,2427,2060,1947,1970,1738,1660,2450,2494,2401,2150,2531,2666,1855,1743,1871,1583,2250,2691,2451,2638,3098,4002,4533,4177,3674,3545,3572,3472,3386,3362,3454,3472,3418,3268,2873,2741,2882,2376,1961,2113,2279,2464,2588,2862,2598,3256,3018,2997,2699,3312,3708,3518,3302,3305,3448,3643,3729,3665,3628,3535,3321,3339,3392,3429,3471,3950,4417,4352,3861,3576,3905,4232,4012,4188,4344,4362,4928,5148,5023,4540,4143,4209,4328,4383,4481,4720,4841,4904,5004,4916,4915,5048,4836,4716,4867,4759,4431,4141,3902,3582,3460,3522,3439,3686,3805,3843,4128,4006,4108,4219,4201,4101,3924,4083,3896,3513,3703,4041,3981,3736,3469,3200,3244,3194,2996,3074,3153,3119,3079,2873,2922,2901,2907,2474,3009,3663,3554,3485,3586,3449,3298,3233,3112,3517,3961,3552,3748,4086,3962,3992,4129,4168,4254,4407,4332,4167,4151,4011,4028,3940,4195,4438,4459,4112,3827,3939,3963,4030,4046,3789,3717,3212,2436,1888,2055,2102,2034,1981,1851,1842,1848,1598,1839,2232,1826,1328,1274,1678,1648,1504,1539,1601,1615,1531,1572,1830,1957,1528,1545,1572,1773,1671,1578,1888,1946,1792,1527,1729,1953,1789,2265,2338,1960,2192,2460,1898,1859,2862,2121,1626,1677,2083,2422,1633,1298,1845,1852,1889,1949,2024,2135,1876,2250,2417,2131,2105,2215,2361,2311,2024,1698,1707,1609,1684,2305,1646,1489,1575,1718,1785,1584,1335,1409,1432,1472,1438,1229,1585,1526,1565,1460,1517,1505,1729,1987,2007,2094,1893,1567,1544,1470,1548,1739,1726,1731,1564,1539,1577,1920,1948,2028,2356,1848,1578,1776,1859,1764,1727,1582,1562,2604,3533,3768,4257,4276,4192,4086,3877,3874,4298,4605,4325,4123,4060,4433,4688,4482,4383,4504,4281,3667,2931,3193,3484,3852,4224,4600,4816,4777,4368,4407,4701,4700,3992,2988,3132,3918,4459,4507,4371,4147,3876,3571,3138,2804,2741,3203,3348,2735,2282,2874,2431,2025,1968,1954,2427,3315,3118,2121,1818,1937,2552,2859,2928,3081,3662,3418,3103,3366,2513,2119,3113,3009,2886,3842,3371,2271,2610,2615,2520,2751,2830,2854,3266,3199,3272,3428,3348,2791,2642,3476,3570,2745,2306,2607,2912,2596,2358,2919,2799,2691,3012,2941,2662,2528,2147,2127,2032,1344,1794,2008,1981,2054,1865,1892,1875,1757,1577,1646,1773,1448,1396,1369,1548,1527,1825,2136,2013,1924,1623,1621,1895,1930,2778,3330,2353,1749,1637,1802,2027,1655,1358,1615,1630,1692,2245,2063,1858,1982,2162,2162,2105,2398,1936,1614,1743,1864,1645,1735,1924,1654,1547,1806,1964,1670,1803,2043,1743,2016,2169,1946,1937,2430,3029,3351,3483,3540,2779,2257,1943,1920,2723,3121,3028,2889,2639,2370,2074,1780,1775,2037,1944,1605,1678,1716,1528,1476,1570,1501,1521,1754,1733,1594,1664,1732,1772,1606,1610,1832,1802,1731,1683,1756,1968,2046,1654,1647,2243,2224,2150,1953,1849,2081,2130,2847,2788,2408,2788,3217,2997,2590,2395,2126,2123,2271,2562,2931,3304,2686,2371,2371,2546,2383,2160,2067,1914,2055,2454,2855,3017,2706,3266,3270,2603,2395,2320,2156,1886,1700,1556,1182,1234,1534,1728,1972,2737,2658,2687,3018,2263,1910,1798,1975,2186,2194,2033,1928,1894,2391,2054,1915,1953,2291,2522,2291,1953,2183,2447,2151,2315,2135,1960,2280,3031,2966,2562,2396,2659,3055,3009,2873,3269,3739,3494,3020,2919,2552,2144,1873,1885,2139,2515,2648,2596,2686,2976,3344,3414,3513,2787,2621,2404,1935,1770,2359,3178,2543,1606,1988,2790,3295,3428,3239,3173,3100,3059,2992,3007,2883,2388,2072,2226,2474,2269,2265,2118,1709,1500,1434,1412,1793,2150,2284,2077,2275,2792,2922,3093,3016,2964,2818,2385,2199,2184,2097,2094,2147,2336,2387,2302,2417,2249,2102,2616,3179,3465,2458,2053,2181,2358,2990,2974,2495,2669,2324,1747,2684,3371,3278,3007,3076,3212,3011,2922,3297,3373,3130,2769,2644,2630,2676,2692,2710,2780,2786,2701,2338,2314,2597,2573,2636,2771,2663,2802,3235,3173,2836,2446,2327,2004,2266,2661,2517,2735,3226,3001,2789,2978,2601,2369,2710,2944,2622,2420,2468,2534,2467,2441,2408,2448,2065,2212,2956,3204,3420,2690,2367,2522,2342,2304,2250,2088,2086,2237,2399,2547,2800,2646,2280,2691,2842,2612,2729,2812,2232,2104,2334,2757,3016,3183,3348,3458,3362,2964,2373,2350,2366,2576,2759,2026,1566,1527,1275,1405,1819,2320,2353,1937,2437,2937,3016,3042,3191,3123,2830,2949,3294,3418,3472,3308,3066,3053,3327,3489,3488,3481,3407,3565,3167,2879,3021,2894,2712,3008,3122,2770,3137,2721,2607,2874,2636,2023,2246,2674,2761,2555,2207,1835,1866,2389,2783,3196,3007,3267,3355,3064,2577,2552,2652,2896,2524,2116,2618,2326,2308,2252,2099,2306,2267,2255,2111,1834,1940,2171,2001,1844,1881,1808,2190,3074,3508,3942,3862,3637,3740,3917,3839,3711,3597,3508,3261,3134],[3181,3051,1910,1268,2057,2577,2753,3193,3118,3197,3122,2802,2754,3415,3277,2742,2512,2446,2353,2723,3142,2844,2578,2279,2280,2314,2429,2693,2721,2686,2680,2808,2853,2496,2850,3725,4122,4480,4313,2927,2359,2303,2685,3040,3210,3604,3558,3547,3809,3918,3752,3508,3423,3221,2974,3391,3897,3608,3580,3683,3334,3272,3164,2805,2608,2645,3001,3427,3054,2165,2222,3040,3152,2958,2910,2971,3508,3593,3287,2917,2241,2633,2774,2958,2846,2817,3205,3048,3077,3086,2783,3089,3995,3567,2711,3090,3188,3720,4040,3466,2799,2922,2524,1983,3030,3617,2473,2069,3051,3044,2951,3349,3361,3260,2876,2577,2444,2375,2676,2786,2433,2238,2669,2654,2397,2040,2016,2455,2293,2331,2630,2244,2036,2178,2020,1694,1722,1930,2285,3244,3825,3499,2530,1936,2355,2271,1851,1846,2013,2557,2900,2643,2148,1692,2099,2752,2400,2121,2578,2447,2125,1803,1656,2116,3034,3327,2574,1908,2242,3077,2962,2387,1742,1841,1986,1714,1773,2045,2415,2862,3494,3480,3396,3726,3472,3118,2920,2787,3326,3295,3017,2882,2579,3077,2781,2276,1776,2186,2314,1983,2603,3297,3291,3009,2136,1845,2032,1929,1797,2142,2070,1651,1875,1816,1544,2080,2847,2585,1971,1747,2319,2913,2566,2070,1703,1585,1569,1923,1844,1793,1801,1609,1802,2043,1810,2071,2247,1706,1548,1521,1577,2197,2671,2363,1849,2022,2231,2049,2244,2361,1966,1526,1832,2538,2658,1934,1765,1880,1848,1981,2264,2116,2009,2064,2333,2746,2995,2778,2798,2871,2741,2809,2491,2097,2199,2712,2679,2526,2792,2808,2563,1491,1348,1373,2198,2160,1984,1992,1589,1508,2172,2361,2106,2008,1957,1581,1431,1549,1885,1861,1970,1920,2441,2546,2261,2414,2332,2438,2332,2060,2497,2218,2258,2047,1480,1853,1845,1335,1647,2121,2236,2117,1693,1707,2525,3362,3338,2446,1751,1677,2210,2729,3043,2791,2368,2378,1885,2214,3297,3334,3196,2355,1974,1645,1566,1811,2535,2916,2198,1858,1887,2305,3264,3312,2172,2346,3156,2555,1569,1516,1572,2049,3084,3249,2942,2342,2055,1953,1577,1648,1674,1770,1608,1537,1475,1540,1908,1868,1909,2010,2252,2183,1914,1923,1786,1872,1683,1629,1610,1646,1896,1833,1633,1737,2330,2872,3195,2870,2570,2782,2867,2880,2474,1938,1449,1228,1219,1128,1362,1247,1030,1131,1339,1652,1609,1944,2310,1895,1827,2369,2534,2044,2077,1729,2004,2205,1808,1533,1702,1803,1874,2178,2492,2545,2988,3222,3330,2590,2471,2721,2569,2310,2173,1701,1215,2024,2923,2861,2683,2453,2408,2284,1897,1739,1529,1431,931,1014,1575,1894,2085,2088,2149,2233,2331,2458,2517,2616,2808,3095,3216,3232,2930,2222,2114,2231,2193,2006,2075,1920,2106,2244,2878,2183,1769,1711,2041,1991,1773,2158,2011,1676,1742,1931,2303,2580,2724,2721,2330,2061,1805,1648,1851,1970,1921,1837,1885,2398,2665,2417,2566,2302,1740,2294,2771,2060,1752,1525,1377,1542,1810,1993,1542,1786,1759,1581,1793,1671,1721,2365,2480,2362,2361,2360,2229,2222,2414,1830,1683,2033,2241,2437,2730,2479,2105,2288,2586,2187,1830,1781,1483,1632,1782,1651,2030,2169,2989,2602,1737,2020,2669,2988,3707,4145,3826,3783,3738,3353,2847,2447,2203,1952,1893,2063,2164,2047,2156,2317,2127,1790,2202,2701,2807,2694,2986,3340,3354,2643,2536,2986,2600,2170,2171,2789,2800,1994,2313,2157,2046,1785,1950,2446,2655,2832,2688,2823,3066,2810,2818,2709,2320,2016,1752,1808,1635,1604,2126,2190,1902,2316,2713,2700,2762,2601,2517,2192,1700,1592,1667,1675,1912,2228,2228,2324,2053,1703,2038,1929,1872,1939,1562,1388,1508,2423,3461,2612,1621,1495,1740,1859,1657,1770,1949,2269,2182,1643,1431,1666,1736,1582,1730,1847,1772,1547,1857,1576,2270,2237,2209,2447,2063,2151,2680,2544,2698,3119,3906,3882,3707,3119,2924,3183,2627,2327,3051,3668,3253,2876,2788,2806,2519,2245,3022,2933,2720,2463,2794,3078,2514,2088,2857,3493,3439,3111,3188,3527,3407,3322,3176,3345,3798,3992,3887,3811,3782,3820,3461,2907,3297,3065,2972,3216,3338,3312,3083,2808,2610,2541,2993,3373,3238,2886,3067,3067,2240,2323,2743,3231,3186,2863,3261,3492,3400,3685,3726,2975,2250,1900,1795,2105,2713,3105,3227,3223,3143,3160,3271,3314,3148,2784,2499,2166,1970,2151,2588,2882,2788,2712,2545,2307,2205,2215,2344,2617,2622,2304,1945,1761,1787,1913,2308,2136,2372,2343,2173,2171,1946,1933,2052,2146,1713,1925,2126,2021,2686,2833,2591,2965,3064,2719,2722,2459,2148,2070,1931,2028,2241,2708,2147,2366,3131,3350,3428,3676,3543,2639,1900,2343,1869,1890,2316,2259,2547,2644,2797,2891,3261,3451,3096,3133,3256,2708,2026,2212,2121,1949,2766,3453,3414,3447,3466,2950,2420,2282,2480,2576,2505,2077,2047,2472,2035,1783,1981,2326,2156,2562,3252,2961,2136,2586,2774,2326,1745,1862,1623,1807,2303,2955,3654,3981,4317,4445,4183,3819,3673,3443,3417,3650,3199,3150,3217,3238,2972,2148,2116,2448,2131,2299,2338,2501,2655,3152,3266,2925,3200,3099,2980,2898,3463,3764,3522,3363,3427,3295,3489,3815,3865,3807,3607,3434,3435,3610,3571,3814,4256,4247,4175,4179,4160,4276,4361,4232,3986,4188,4452,4672,4684,4596,4452,4348,3915,3937,4309,4704,4700,4799,4839,5111,5236,5196,5184,4938,4807,4850,4800,4632,4046,3847,3662,3924,4141,4397,4449,4416,4209,3919,4020,4093,4023,3876,4101,3925,3988,4085,3733,3814,3902,3826,3562,3188,3127,3361,3470,3316,3316,3244,3229,3061,2851,3010,2684,1933,2455,3494,3662,3404,3243,3440,3395,3374,3281,3320,3902,4749,4662,4308,4249,4247,4055,3962,4280,4684,4733,4776,4776,4493,4299,4221,3945,4200,4319,4159,4063,4086,4107,4085,4401,4335,3938,3374,2585,1939,2009,2120,2015,2040,1918,1778,1806,1637,1782,2128,2200,1749,1360,1486,1754,1674,1625,1726,1720,1657,1455,1573,1943,2144,1525,1315,1620,1671,1494,1560,1703,1895,2098,1924,1880,2030,2148,2328,2011,2376,2552,1905,1569,1577,2785,2653,1953,2132,2237,2614,2072,1744,2012,2072,1941,2171,2023,1869,1932,2218,2062,2023,2221,1763,1620,1709,1503,1455,1621,1593,1672,1886,1617,1394,1474,1522,1716,1677,1417,1466,1577,1875,1444,1410,1771,1490,1461,1648,1698,1616,1698,1881,1997,2071,1770,1534,1840,1650,1717,2184,2165,1797,1603,1537,1873,2397,1981,2063,2268,2011,2060,2122,2071,1765,1491,1420,1392,2222,3361,3817,4221,4260,3763,3352,3400,4039,4374,4685,4620,4382,4445,4741,4664,4235,4323,4312,3925,4201,3879,3673,3527,3725,4240,4543,4589,4428,4309,4653,4673,4584,3850,3239,3374,3925,4408,4437,4356,3923,3195,2964,3363,3285,2850,3391,3726,3283,2418,2621,2387,1936,1908,2092,2447,3285,3233,2197,2050,2183,2632,2864,3243,3539,3662,3471,2898,3252,3220,2798,2792,2490,2790,3312,3019,2242,2147,2326,2720,3058,3033,2924,3009,3156,3331,3694,3688,2741,2394,3194,3494,2999,3156,3598,3611,2579,2256,2916,3132,3018,3040,3030,2519,2191,2169,2123,2183,1874,1780,1759,1910,1843,1766,1865,1858,1601,1321,1339,1402,1445,1487,1455,1484,1489,1774,1911,1822,2020,1989,1999,1988,1501,1587,2681,2222,1807,1852,1976,2014,1831,1534,1329,1381,2121,2724,1911,1951,1772,1548,1577,1914,1679,1452,1520,1455,1419,1589,1727,1844,1797,1815,1503,1552,1522,1498,1589,1551,1738,2130,2068,2175,2576,3074,3507,3576,3141,2514,2210,2089,2192,2397,2575,2619,2187,1884,2003,2080,1922,1804,1781,1765,1620,1592,1741,1677,1581,1717,1649,1547,1665,1682,1692,1686,1710,1782,1807,1839,1890,1829,1714,1660,1755,1814,1901,1894,1838,1670,1849,1931,1885,1961,2244,2043,2092,2101,2170,2279,2325,2299,2389,2078,1831,2155,2077,2141,2284,2503,2507,2408,2371,2284,2341,2397,2393,2170,2233,2196,2795,2919,2331,2392,2358,2046,1966,2155,1906,1793,1980,1983,1299,1568,2193,2027,2078,2309,2261,2379,2274,1942,1773,1963,2082,2216,1789,1712,1772,1541,1867,1755,1700,1985,1855,1831,2176,1787,2246,2744,2114,2345,2055,2167,2268,2631,2466,1955,2057,2476,2520,2585,2693,3464,3815,3609,3230,2934,2876,2642,2255,1991,1855,2001,2207,2275,2530,3035,3320,3140,3032,2623,3277,3400,2884,2468,2868,3516,3316,2877,2494,3106,3721,3554,3151,2974,2924,3205,3498,3485,3371,3364,2886,2637,2734,2138,2018,1375,1148,1296,1717,1790,2054,2210,1998,1839,2217,2898,2893,2921,2865,2439,2648,2408,2250,2039,2079,2578,2918,3156,2952,2096,2131,2104,2075,2758,3107,3819,2882,2262,1921,1500,1693,2170,2486,2574,2238,2524,3177,3410,3350,3331,3616,3595,2919,2942,3232,3251,3145,2779,2704,2700,2514,2452,2401,2019,1974,2285,2254,2288,2773,2945,2990,3009,2829,2453,2653,2776,2640,2493,2332,1830,2034,2620,2900,3151,3377,3019,2995,3033,2562,2084,2245,3068,2697,2451,2521,2543,2447,2366,2215,2009,1816,2224,2897,2885,2921,2460,2425,2379,2286,2207,2123,2088,2083,2169,2427,2631,2692,1991,2308,2899,2477,2239,2533,2525,2155,2167,2768,3194,3308,3333,3378,3377,3396,3097,2535,2276,2257,2438,2676,2272,2091,2186,1935,1877,2210,2580,2262,1988,2933,3186,3231,3099,3159,3124,3002,3174,3152,3110,3353,3217,2950,2742,3085,3139,3223,3471,3519,3501,3330,3104,2851,2746,2954,3130,3108,3055,3096,3034,3157,2974,2971,2687,2521,2349,2051,2367,2467,1882,1909,2666,2664,2777,3196,3665,3873,3559,3137,2943,2823,3143,2936,2521,2504,2488,2476,2335,2407,2302,2115,2361,2164,1948,2458,2953,3140,3022,2842,2631,2835,3334,3463,3670,3748,3669,3768,3715,3803,3936,3457,3137,3061,2801],[3018,3072,2222,1449,2144,2674,3061,3349,3184,3405,2674,2007,1964,3081,3541,2955,2627,2563,2498,2639,3016,2979,2946,2801,2876,2514,2042,2198,2438,2560,2687,2763,2648,2683,3650,4460,4508,4268,3951,3105,2656,2334,2695,3414,3885,3838,3558,3773,3956,4156,3890,3547,3594,2689,2486,3665,3648,3134,3738,4020,3404,3226,3134,3259,3459,3570,3584,3165,2504,2712,3392,3978,3694,2963,2896,2874,3266,3639,3733,3311,2577,3027,3110,2878,2591,3211,3506,3216,2987,2973,3143,3065,3507,3416,2414,2787,3072,3594,3709,3529,2863,2887,2768,2124,2698,3511,2468,2080,2775,2855,2909,3253,3300,3256,3078,2876,2622,2342,2288,2386,2408,2078,1972,2042,1764,1732,1727,1990,1909,2016,2273,2231,2048,1806,1542,1422,1760,2248,2524,3028,2987,2542,1895,1603,1793,1512,1645,2275,2418,2499,2879,2097,1666,2142,2554,2989,3229,3560,2924,2307,2591,2320,2170,2365,2685,2864,2566,2844,3031,3189,2932,2192,1766,1953,1973,1612,1603,2064,2766,2930,3632,3820,3570,3501,3094,2894,2554,2669,3319,3684,3968,3499,2553,2883,2603,2123,1920,2346,2626,2369,2668,2880,2811,2525,2470,2410,2198,2098,2039,2853,2407,1758,1803,1716,1898,2664,3060,2920,2480,2473,2584,2787,2292,1745,1703,1903,2678,3206,2298,2060,2647,2287,1968,1848,1692,1676,1858,1760,1306,1469,1469,1917,2028,2270,2414,2040,1970,2304,2391,1749,1586,1782,1909,2374,2450,2010,1574,1771,1830,1763,1933,2283,2411,2024,1973,2653,2944,2939,3030,2885,2764,2745,2335,2131,2680,2902,2526,2684,3071,2855,2468,1583,1511,1759,1975,1975,2031,1810,1530,1938,2480,2475,2439,2020,2258,1916,1486,1566,2245,2165,1599,1916,2796,2818,2294,2038,2055,2287,2426,2315,2617,2448,2264,1827,1530,1874,1766,1529,1839,2067,2115,1989,1638,1557,2112,2564,2922,2586,1748,1694,2176,2781,2732,2489,2690,2601,2279,2497,2750,2570,2554,2207,1635,1284,1532,1646,1692,1875,2272,2092,1701,1729,2029,2007,2053,2406,2535,1947,1465,1573,1899,2067,2747,2721,2810,2810,2878,2733,2141,1642,1620,1841,1784,1770,1716,1572,1787,2143,1954,1785,1998,2626,2189,2176,2327,2072,1750,1706,2039,2640,2684,2691,2254,1651,2072,2449,3124,3500,3626,3486,3172,3093,2600,2200,1722,1323,1206,1189,1246,1152,1021,1143,1299,1279,1263,1780,2172,1780,1678,2022,2276,2313,2150,2330,2238,1799,1521,1494,1622,1785,1815,1814,2272,2316,2511,2666,3067,2639,2286,2124,2373,2920,2790,2042,1583,2104,2663,2385,2218,2249,2469,2359,2014,1705,1337,1175,972,1057,1385,1609,1882,1815,1992,2225,2327,2360,2469,2668,2832,2858,2921,3095,2824,2188,2021,1810,1939,1914,1916,2001,2221,2740,2395,1693,1662,1583,1839,2145,2270,1860,1792,1933,1794,2084,2648,2614,2485,2385,2362,2615,2609,2183,1769,1715,1628,2062,2410,2395,2194,2498,2476,2133,1985,2327,2171,1917,1714,1778,1434,1711,1991,2076,2010,1791,1575,1740,1780,1791,1976,2490,3152,3321,2733,2523,2408,2688,2482,1919,2188,2898,2720,2800,2669,2424,2404,2631,2854,2425,2427,2148,1623,1970,2002,1755,2004,2132,2792,2731,1902,2097,2385,2656,3186,3310,3020,2677,2326,2214,2230,2124,1909,1816,1564,1717,2161,1765,1960,2428,2104,2098,2366,2592,2659,2791,3074,3216,2954,2667,2466,3020,2680,2316,2200,2211,2054,2036,2604,2270,1881,1896,2078,2526,3128,3112,2524,2566,2783,2641,2624,2742,2858,2687,2094,1772,1664,2076,2858,2759,2104,1801,2156,2456,3024,2434,1882,1752,1615,1676,1955,1741,1765,1786,2228,2371,2540,2193,2066,1652,1772,1842,1644,1600,1622,2347,3506,1953,1427,1378,1490,1970,1582,1457,1594,1820,2002,1874,1447,1424,1574,1431,1615,1710,1804,1516,1857,1863,2135,1772,1837,2117,1789,1677,1734,1919,2331,2906,3398,3232,3030,2621,2793,2781,2587,2720,3062,3514,3144,2889,2693,2092,1947,2441,2985,2843,2792,2622,2680,3060,2706,2533,3376,3561,3259,3164,3190,3396,3343,3366,3514,3666,3728,3639,3725,3658,3660,3891,3572,3206,3292,3216,3062,3352,3443,3371,3263,2799,2153,2290,3196,3404,3400,3208,3124,2555,2352,3157,3638,3562,3389,3123,3034,3414,3753,3896,3461,2937,2774,2585,2099,1964,2558,3068,3288,3216,2973,3084,3327,2998,2338,2042,1994,2054,2280,2557,2791,2723,2474,2519,2525,2322,2171,2286,2700,2808,2103,1737,1726,1883,2222,2532,2880,2358,2006,2340,2406,2325,1954,1864,1985,2195,1882,1853,2079,2007,2160,2215,2046,2590,3007,3021,3130,2917,2254,1985,2438,2708,2492,2575,2216,2536,3304,3418,3444,3808,3372,2419,1598,2331,2076,1696,1703,2008,2229,2097,2290,2565,3009,3300,3149,3112,3155,3423,3132,2675,3040,3001,3139,3104,2828,3055,2970,2727,2707,2851,3137,2827,2068,2002,2235,2252,1798,1656,2250,2451,2390,3145,3226,2697,2332,2576,2706,2577,1783,1542,1879,2222,2827,3431,3601,3739,4012,4301,4463,4331,3906,3570,3540,3465,3109,3015,3096,2925,2204,1710,1910,2020,2016,2822,2802,2933,2732,2741,2539,2509,2961,3163,3030,3208,3684,3703,3566,3324,3401,3193,3428,3751,3883,3781,3598,3551,3703,3867,3863,3949,4078,4119,4240,4255,4364,4276,4081,4195,4082,4200,4489,4335,4305,4549,4667,4695,3990,3871,4208,4704,4792,4852,5004,5296,5354,5271,5235,5104,4993,4959,4880,4736,4074,3904,3873,4303,4531,4631,4604,4551,4051,3502,3881,3673,3701,3393,3911,4140,4049,3990,3664,3608,3682,3740,3500,3237,3109,3230,3460,3561,3602,3474,3510,3186,3115,3474,2280,1778,3072,3629,3713,3435,3146,3417,3541,3347,3448,3448,3746,4433,4781,4680,4693,4937,4620,4127,4660,5017,4984,4941,4792,4618,4563,4476,4352,4289,4248,4296,4164,4209,4272,4128,4244,4191,3726,2867,2152,2032,2120,1957,2030,2000,1712,1911,1808,1886,2394,2333,2193,1897,1787,1673,1755,1648,1551,1483,1511,1609,1514,1565,1466,1514,1490,1494,1590,1461,1480,1665,1762,1956,2211,2076,1937,1926,1930,1826,2212,3217,3146,2640,2546,2827,3661,3372,2554,2740,2658,2868,2209,1895,1976,1872,2020,2899,2668,2113,1970,1675,1581,1768,1900,2374,1764,1887,1656,1482,1374,1403,1546,1579,1478,1505,1410,1328,1888,2000,1593,1388,1418,1630,1427,1449,1643,1782,1764,1764,1707,1561,1518,1632,1779,1888,1832,1604,1626,1550,1604,1898,1786,1587,1679,1549,1611,1854,1632,1839,2327,2303,2520,2387,1888,1682,1732,1728,1489,1702,3072,3902,3898,4038,3702,3519,3841,4372,4544,4500,4416,4267,4240,4229,4256,4428,3979,3681,4058,4528,4464,4140,3583,3374,3950,4486,4439,4244,4369,4620,4470,3912,3445,3562,3740,3746,3994,4100,4039,3663,2868,3018,3728,3405,2898,2995,3408,3465,2762,2509,2532,2220,1921,1982,2341,2677,2705,2374,2416,2142,2192,2600,3116,3408,3272,2821,2387,2808,3447,3542,2526,2518,2251,2073,1952,1836,1787,1890,2326,2653,2920,3157,3316,3416,3626,3697,3299,2349,2163,2712,3211,3206,3388,3522,2790,1886,2380,2703,3023,3435,3030,2282,2031,2008,1808,1713,1710,1671,1476,1554,1589,1471,1517,1488,1574,1632,1483,1328,1574,1710,1781,1690,1531,1434,1597,1730,1514,1706,2285,1924,1598,1561,2004,2524,1910,1705,1714,1590,1687,1782,1689,1527,1834,1928,2786,2840,2674,1944,1548,1592,1632,1464,1608,1562,1354,1405,1626,1849,1670,1683,2016,1737,1699,1576,1450,1616,1370,1421,2348,2478,2398,2454,2376,2888,2944,2587,2386,1911,2180,2360,1832,2101,2348,1979,2221,2418,1988,1830,1748,1588,1687,1864,1698,1780,1816,1693,1786,1714,1650,1641,1732,1736,1664,1635,1653,1758,1716,1667,1681,1630,1632,1705,1568,1438,1544,1669,2061,2131,2424,2458,2526,2644,2388,2057,1864,1804,1996,1811,1870,1947,1740,2025,2324,2035,1717,1787,2065,1943,1955,2177,2153,2186,1965,2163,2095,1970,1837,1961,2017,2096,2308,2336,1941,1935,2288,2119,2173,2480,2515,1729,1504,1829,1814,1851,2188,2552,2681,2664,2831,3260,3639,3159,3097,2041,1655,1863,2082,2046,1815,1943,2039,1807,2301,2670,1958,2640,2876,2520,2504,1982,2060,2373,2722,2844,2380,2146,2236,2651,3186,3178,3730,4059,3869,3319,2951,2896,2810,2734,2498,2013,1880,1909,1999,2336,2836,3075,3104,2983,3043,3407,3550,3397,3020,3510,3986,3321,3190,2679,3151,3466,3252,3017,2865,2629,2979,3804,3415,2772,2898,3008,2665,2448,2504,2020,1759,1745,2238,3152,3111,2669,1980,1613,2164,2756,2489,2640,2935,2608,2884,2607,2236,2143,1986,2191,2788,3054,2778,2958,2042,2018,2258,2495,3232,3758,4252,3640,2953,2547,2227,1791,1970,2374,2476,2774,3386,3436,3337,2979,3094,3378,3326,2877,2745,2966,3142,3167,2828,2493,2338,2172,2342,2369,1388,1416,2308,2655,2924,3094,3106,2861,2662,2376,1641,1890,2212,2280,2447,2433,2008,1652,1618,1701,2663,3384,3130,3221,3432,2483,1288,1829,2924,2669,2338,2424,2544,2307,2029,1846,1996,2160,1996,2680,2819,3187,2678,2345,2314,2353,2296,2213,2227,2331,2932,3042,2812,2707,2297,2766,2953,2305,2290,2802,2868,2557,2656,3152,3242,3470,3164,3139,3392,3450,3408,2720,2248,2227,2496,2785,2278,2225,2266,2218,2263,2223,2170,2106,2294,3140,3244,3142,3260,3225,3059,3064,3337,3154,3116,3124,3168,2956,2508,2986,3056,3054,3364,3472,3339,3340,3153,2817,2418,2611,3024,3270,2857,2756,3065,3320,3331,3460,3308,2821,2329,2580,2598,2456,2003,2238,2701,2121,2410,3260,3406,3294,3145,3086,2975,2635,2962,2923,2236,2133,2228,2025,2109,2443,2250,2226,2292,2084,1943,2269,2835,2844,2976,3234,3317,3408,3619,3497,3542,3868,3765,3715,3242,3518,3824,3702,3396,3054,2762],[3094,3042,2422,1531,2278,2980,3076,3552,3795,3676,2607,1977,2045,2863,3379,3029,2671,2532,2589,2908,3311,3386,3538,3388,3415,2568,1931,2236,2526,2769,2852,2888,2759,2746,3449,3957,3393,3210,3038,2845,2997,2458,2177,2784,3323,3361,3339,3361,3664,4121,3942,3714,3728,3225,3049,3351,3150,2769,3222,3682,3429,3393,3729,3796,4059,3727,3369,2749,2707,3211,3372,3828,3929,3194,2798,3164,2864,3733,4232,3180,2843,3725,3188,2154,2554,3162,3586,4039,3386,2709,3197,3018,2385,2489,2473,2340,2553,2764,3112,3397,3110,3017,2656,1891,2372,2947,2056,1642,2404,2740,2980,3428,3614,3391,3207,3185,2876,2657,3108,3798,3442,2374,1806,2077,2005,1959,2130,2093,2105,2076,1952,2048,1832,1755,1672,1447,2249,2910,2508,2319,2214,2032,1823,2075,2156,1599,1670,2361,2374,1916,2249,1759,1683,2975,2990,2484,3386,3741,2442,2112,2939,2852,2684,2362,2138,2342,2498,2909,2614,2636,2774,2134,1574,1514,1770,1659,1846,1943,2390,2719,3505,3724,3755,3558,3092,2806,2554,3141,3550,3520,3172,3638,3008,2821,2499,2301,2119,2418,2604,2348,2428,2585,2340,2050,2610,2354,2009,2129,2468,2623,2040,1543,1405,1536,2295,2951,3250,3151,2750,2514,2847,2643,1838,1426,1472,2301,3363,3053,1976,2398,3117,2355,2062,1936,1784,1815,1726,1604,1430,1554,1560,1807,2160,2459,2453,2050,1741,1951,2131,1559,1736,2021,1998,1922,2060,2004,1673,1666,1715,1814,1824,1883,1941,1934,1729,2352,3199,3363,3044,2678,2637,2670,2316,2465,3011,2732,2414,2368,2499,2514,2160,1531,1508,1539,1424,1525,1770,1530,1560,1900,2439,2999,2957,3014,3141,2258,1492,1500,1860,1857,1721,2059,2374,2601,2229,1848,1684,1906,1907,1832,1949,2180,2031,1670,2070,2702,2000,1836,2084,1970,1998,1865,1620,1590,2216,2276,2445,2523,2074,1851,1803,2275,2060,1994,2513,2452,2249,2459,2458,2440,2251,2046,1910,1626,1645,1586,1572,1648,1677,1779,1691,1776,2109,2199,2105,1938,1693,1475,1612,1614,1954,2133,2512,2635,2985,3021,2887,2781,2441,2035,2014,2088,2046,1871,1789,1696,1625,1962,1886,1782,1870,2149,1851,1716,1925,1993,1722,1643,1934,2724,2885,2851,2433,1654,2066,2497,3028,3378,3314,3326,3285,3399,2452,2375,1903,1453,1165,1124,1222,1250,1164,1173,1253,1121,1229,1413,1657,1586,1764,1842,2042,1963,2109,2735,2222,1661,1420,1322,1559,1783,1837,2040,1966,2010,2027,1946,2316,2209,2022,1971,2083,2414,2328,2175,2167,2116,1865,1672,1839,1990,2044,1981,1775,1468,1186,1149,1257,1298,1311,1291,1391,1331,1683,2094,2281,2302,2409,2546,2643,2631,2669,2574,2193,1560,1914,1760,1763,1770,1924,1873,2011,2422,2062,1656,1619,1871,2069,2429,2179,1950,1976,2042,1870,2091,2558,2416,2164,1958,1917,2854,3254,2206,1749,1616,1580,1863,1873,1809,1878,2157,2268,2071,1998,2516,2348,1897,1556,1897,1592,1740,1565,1708,1983,1771,1807,2008,2280,2608,2548,2513,2535,2765,2452,2484,2508,2808,2643,2182,2857,3541,3487,3667,2965,2730,2913,3061,3252,2675,2315,1996,1770,2112,2383,2050,1891,2130,2362,2298,2254,2438,2568,2524,2308,2862,2586,1996,1776,1785,1862,1747,1903,1944,1787,1696,1865,1715,2018,2383,2349,2386,2482,2563,2837,2784,2698,2934,2985,2810,2540,3260,2587,2132,1937,1825,1688,2066,2404,1741,1696,1939,2020,2243,2611,2632,2556,2846,2843,2886,3089,2967,2847,2654,2552,2032,1976,2055,2625,2668,2244,1831,1774,2082,2220,1984,1744,1647,1595,1615,1815,2001,1974,1632,1902,1747,1893,1856,1745,1485,1448,1593,1735,1492,1501,1536,1963,1910,1715,1517,1475,1649,1455,1437,1731,1631,1668,1758,1567,1632,1706,1542,1536,1449,1529,1450,1589,1782,1902,1926,1974,1705,1620,1857,2315,2399,2163,2665,3124,2807,2315,2088,2181,2027,2016,2837,3388,2762,2415,2938,2557,2203,2144,2515,3028,3086,2940,2711,2743,2946,2911,2879,3386,3347,3190,3028,2749,2707,2867,3355,3498,3406,3558,3602,3641,3122,3525,3580,3229,3088,3482,3480,3551,3866,3773,3520,3133,3240,3085,2711,3232,3362,3351,3550,3508,2539,2426,3253,3476,3266,3516,3194,2633,3243,3604,3552,3281,3208,3328,3238,2843,2804,3176,3296,3306,3107,2862,2755,2479,2019,1852,1898,2020,2079,2325,2348,2244,2170,2215,2307,2260,2374,2567,2812,2872,2146,1604,1619,1837,1995,2320,2813,2996,2450,2255,2766,2907,2531,1897,2053,1742,1788,1990,1877,2143,2055,1952,2154,2032,2193,2425,2985,3060,2880,2722,2204,2700,2494,2561,2813,2604,3072,3177,3383,3365,3427,3151,2551,1678,1527,1660,1407,1320,1606,1655,1560,1728,2366,2800,3015,3285,3333,3101,2972,2943,3020,3323,3206,3073,2875,2925,2768,1961,2017,2412,3001,3300,3267,2471,2088,2103,1829,1766,1782,2064,2094,2077,1605,2007,1990,2204,2807,2684,2457,2148,1887,2436,3079,3265,3222,3231,3395,3793,4188,4557,4608,4235,3982,3789,3582,3494,3311,3144,2541,2098,1994,2181,2287,2356,3075,3028,3082,2818,2131,1802,2343,3009,3243,3222,3364,3666,3812,3864,3609,3475,3384,3498,3577,3649,3669,3750,3875,3980,4188,4027,3968,4031,4119,4160,4174,4331,4373,4245,4287,4285,4353,4585,4481,4301,4451,4772,5037,4581,4576,4372,4454,4761,4916,5193,5514,5585,5429,5124,4692,4821,4894,4959,4808,4035,3721,4026,4360,4470,4587,4485,4263,4020,3927,4073,3805,3701,3608,3864,4020,4043,4026,3826,3494,3482,3755,3692,3521,3310,3295,3376,3577,3450,3401,3504,3071,3211,3029,2034,2813,3448,3450,3403,3165,3001,3514,3608,3440,3724,3746,3842,4187,4519,4603,4563,4889,5009,4843,4940,5177,5333,4783,4516,4552,4417,4111,4140,4200,4272,4272,4200,4195,4187,3834,3718,3985,3272,2319,2184,2256,2092,2023,2070,1913,2020,2017,1919,2252,2607,2526,2228,2121,1967,1677,1588,1577,1612,1599,1595,1534,1520,1499,1507,1449,1563,1633,1387,1556,1653,1694,1901,2005,1989,1828,1774,2195,1833,1381,2201,2577,2197,2511,3018,3152,3630,3260,2897,3191,3021,2903,2257,2193,2509,2183,1834,2446,2895,2586,2121,1935,1775,1903,2360,2648,2352,2614,2264,1851,1562,1242,1613,1633,1430,1480,1699,1541,1559,1683,1427,1172,1610,1824,1575,1532,1776,1938,1700,2104,1811,1513,1377,1661,1994,2017,2011,1783,1554,1561,1764,1851,1698,1615,1718,1505,1461,1648,1823,1847,2173,2242,1975,1554,1503,1566,1676,2184,1924,1828,2949,3418,3899,4084,3892,3962,4101,4225,4135,3904,4227,4183,4172,3974,3994,4372,3942,3564,3942,4487,4439,4330,3994,3235,3431,4516,4716,4701,4802,4664,4376,3783,3250,3450,3606,3583,3901,3900,4017,3894,3239,3273,3271,3059,3093,3479,3837,3949,3309,2532,2177,1954,1851,2013,2209,2433,2533,2576,2911,2461,2271,2338,2566,2604,2188,2011,2105,2575,3543,3285,2552,2503,2137,2000,1816,1759,1867,2201,2621,2610,2667,3154,3692,3538,3744,3766,2698,2149,1973,2206,2520,2708,3077,3388,2591,2323,2910,2531,2988,3349,2666,2070,2050,1837,1604,1531,1627,1554,1492,1924,1935,1660,1720,1700,1438,1341,1591,1415,1355,1526,1838,1806,1625,1446,1511,1616,1554,1595,1635,1797,1859,1812,2256,2294,1782,1498,1474,1757,2190,2189,1693,1549,1810,2039,2724,2851,2601,2052,1434,1516,1688,1756,1944,1691,1793,1850,1654,1644,1582,1615,1744,1883,1892,1740,1436,1378,1522,1885,3020,3076,2541,2526,2019,2215,2840,2718,2250,1757,1940,2498,2435,2649,2565,2495,2768,2890,3007,2569,1878,1569,1588,1670,1723,1901,1764,1764,1801,1628,1610,1648,1682,1897,1710,1487,1818,1958,1530,1536,1661,1554,1591,1595,1758,1771,1938,2018,2461,2601,2603,2652,2855,2813,2429,1941,1711,1834,2265,1909,1802,1853,1856,1926,1788,1612,1528,1662,1862,1802,2064,2245,2457,2106,2332,2262,2205,2241,1901,2004,2231,2078,2045,2353,1974,2000,2181,2288,2353,2234,2202,1833,1760,1950,2078,2653,3495,3843,4002,3635,3593,3895,4252,4249,3574,2241,1890,2511,2783,2454,2023,1927,1902,2633,3356,3124,2298,2913,2905,2366,2151,1781,2030,2519,2639,2718,2920,3012,2552,2765,3082,3559,3763,3831,3585,3211,3194,3128,2865,2999,2734,2208,1925,1905,1901,2070,2502,2991,3212,3213,3416,3543,3490,3402,3231,3478,3620,2877,2733,2872,3311,3554,3301,2741,2180,1922,2446,3364,3183,2116,2511,3131,3109,2917,2775,2319,2685,3111,3244,3173,3341,2600,1543,1644,2151,2913,2369,2693,2860,2697,3130,3081,2689,2596,2694,2723,2622,2857,2818,3432,2265,1965,2530,3227,3616,3648,3769,3804,3640,3319,2963,2409,2336,2758,2388,2443,3045,3175,2873,2689,3187,3314,3263,3194,2845,2836,2841,2726,2706,2393,2396,2486,2712,2766,2401,2580,2985,3039,2942,2872,3062,2767,2821,2814,2240,2266,2478,2376,2328,2587,2261,1735,1705,1714,2733,3327,3308,3254,3213,2615,1955,2459,2780,2431,2225,2178,2093,1859,1983,2277,2429,1832,1679,2548,3197,3000,2451,2359,2225,2405,2631,2491,2376,2410,2880,3080,2862,2338,2764,3471,3379,3068,3122,3274,2997,2911,2876,3205,3527,3274,2625,2638,3161,3350,3454,2823,2189,2391,2596,2756,2029,2154,2267,2214,2042,1928,1973,2292,2633,3116,3186,3210,3482,3311,3149,3064,3327,3306,3156,2973,3017,2764,2744,2818,2896,3072,3377,3278,3230,3295,3072,2672,2281,2745,2842,2878,3024,2866,2920,3065,3289,3284,2867,2337,2288,2788,2380,2036,1887,2052,2360,2257,2521,2844,2727,2602,2956,3074,2877,2473,2598,2834,2544,2201,2055,2228,2659,2730,2855,2879,2503,2288,1871,1586,2725,3033,3235,3295,3318,3557,3805,3485,3422,3825,3520,3098,2279,2805,3182,3211,3116,3018,2642],[3016,3146,2536,1841,2575,3143,3165,3503,4080,4081,3418,3137,3176,3362,2830,2639,2648,2514,2513,2920,3232,3173,3024,3241,3266,2467,2050,2455,2756,2844,2556,2855,2530,2356,2989,2844,2439,2388,2030,2039,2374,2444,2585,2536,2780,3156,3440,3259,3851,4165,4221,3956,3883,4259,3846,2980,2666,2670,2818,3283,3574,3459,3815,3939,3681,3193,3186,3155,3142,3304,3413,3594,3640,3542,3002,3332,2974,3628,4328,3441,2753,3120,2636,2160,2349,2428,2814,2576,2613,3298,3177,2629,1746,1799,2552,2908,3000,3207,3570,3393,3274,3096,2754,2292,2714,2769,2046,1858,2160,2556,2932,3425,3631,3083,2620,2666,3095,3542,3586,3239,2286,2176,2039,2117,2187,2102,2042,1927,2152,2294,2225,2215,2160,2108,2030,1788,2193,2636,2208,1952,2236,1777,1290,2114,2324,1929,1924,2182,2079,1627,1619,1668,1470,1941,2139,1942,3040,3331,2317,2563,3185,3261,2770,1877,1685,1964,2365,2850,2601,2304,2564,2093,1310,1164,1572,1635,1930,1800,2068,2686,3097,3251,3727,3824,3476,2778,2996,3638,3794,3343,3182,3589,3518,3277,2843,2453,2039,2297,2789,2522,2901,2947,2100,2087,2525,1706,1790,2134,2237,2270,2002,1693,1571,1983,2810,3151,3364,3284,3174,3223,3302,2433,1748,1562,1529,2366,3010,2294,1920,2337,2564,2410,2316,1982,1747,1811,1656,1703,1783,1668,1540,1792,2271,2166,2048,2190,1947,1798,1664,1559,1900,2004,1870,1548,1608,2004,1880,1620,1608,1889,1969,1829,1705,1892,1898,1914,2617,3230,2994,2452,2719,2664,2409,2093,2032,1981,1719,1697,1997,2123,1738,1417,1496,1705,1788,1791,1875,1712,1886,1895,2398,3087,3106,3090,2950,2085,1372,1495,1812,2142,2691,2509,2012,1770,2099,2134,1905,1684,1647,1883,1905,1854,2154,2262,2702,3898,3559,2373,2049,2172,2446,2238,1800,1790,1921,1873,1886,2336,2064,2033,1964,1882,1631,1520,1710,1831,1902,1841,1872,2055,1946,2072,2121,1909,1632,1566,1504,1487,1536,1534,1530,1671,1866,1948,1824,1636,1810,1631,1439,1501,1819,1831,2186,2746,2916,2563,2416,2587,2393,2102,1952,1918,1858,2003,2444,2018,1684,1909,1955,1764,1616,1607,1628,1560,1655,1883,1636,1551,1663,1825,1963,2046,1818,1604,2226,2585,2598,3144,3231,2867,3199,2696,1852,1920,1777,1591,1448,1241,1178,1391,1261,1191,1186,1268,1499,1450,1559,1951,2397,1905,1770,1735,2258,2431,1852,1675,1571,1547,1627,1721,1889,2093,1769,1917,2234,2149,2391,2425,1975,1558,1384,1381,1770,2635,2037,1803,1570,1411,1725,2150,2166,1960,1743,1456,1238,1309,1349,1254,1284,1258,1192,1142,1406,1801,2081,2106,2252,2504,2735,2737,2602,1792,1425,1440,1782,1723,1963,1934,1764,1707,1741,1832,1828,1750,1955,2468,2526,2546,2351,1872,1728,1946,2230,2140,2212,2143,1541,1698,2676,3510,2720,1915,2079,1770,1758,1801,1885,1891,2084,2421,2258,1863,1849,1917,1936,1779,2092,2070,1798,1529,1343,1538,1656,1723,1664,1758,1841,2087,2347,2542,2352,2491,2200,2009,2208,2019,2026,2144,2544,3255,3701,4004,2823,2722,2597,2350,2260,2023,1871,1917,1835,1884,2301,2193,1935,2190,2595,2428,2591,2353,2280,2322,2029,2364,2200,1696,1939,2083,1854,1659,2022,1908,2216,2176,2026,1910,1728,2083,2395,2395,2329,2243,2511,2637,2947,2911,2559,2630,2754,2652,1971,1639,1855,2110,1646,1840,2155,1654,1591,2049,1915,1992,2069,1931,2534,3121,3311,3606,3163,2515,2501,2470,2331,1901,2565,2540,2226,1975,2116,1829,1630,1729,1752,1810,1752,1420,1506,1641,1570,1865,2075,2076,1654,1569,1686,2044,1996,1655,1714,1845,1736,1448,1419,1300,1903,2260,1864,1584,1658,1823,1660,1552,2058,1932,1709,1538,1650,1746,1627,1582,1459,1571,1734,1411,1362,1795,2299,2144,2379,1983,1742,2154,3312,2963,2502,2225,2300,2474,2223,1938,2110,1980,2166,2881,3020,2177,2828,3166,2195,1906,1895,2118,2740,3055,2756,2563,2593,2495,2634,2679,3178,3211,2938,2989,3288,2834,2327,2644,3294,3570,3836,3889,3215,2691,3420,3326,2911,2769,2976,3127,3406,3772,3934,3355,2805,3245,3139,2997,2992,3262,3440,3746,3694,2829,2376,2564,2553,2939,3354,3257,2980,3389,3512,3465,3593,3451,3298,3386,3371,3435,3451,3209,3122,2800,2441,2049,1750,1757,2020,2200,2310,2499,2504,2174,2042,2053,2132,2157,2232,2366,2328,2032,1765,1591,1777,2022,1976,1874,2244,2964,3220,2968,3066,3041,2909,2693,2127,2301,2099,1981,2128,1999,1984,1930,2025,2118,2125,2182,2110,2491,3066,3275,3150,3005,3232,2943,2990,3033,3007,3359,3371,3666,3517,3396,3138,2679,1751,1594,1589,1365,1452,1700,1736,1575,1625,2507,3480,2963,2513,2768,2755,3282,3659,3380,3024,2665,2028,2555,2920,2470,1804,2511,2589,3077,3533,3666,2822,1995,1741,1693,1885,1917,2014,2158,2919,1782,2071,2290,2183,3250,3351,2665,2523,2770,3471,3422,3040,2945,3041,3194,3566,4012,4304,4559,4415,4202,4093,3979,3650,3497,3046,2177,2367,2362,2509,2801,3103,3564,3378,2885,2260,2034,2322,2865,3418,3702,3580,3583,3908,3905,3891,3737,3790,3850,3609,3539,3671,3737,3849,4073,4255,4280,4072,3939,3891,4053,4185,4308,4432,4424,4405,4312,4185,4299,4600,4397,4370,4712,5060,5152,5128,5197,4852,4595,4645,4892,5208,5413,5437,5273,5053,4168,4409,4748,4751,4596,4319,4066,4049,4188,4292,4305,4200,4082,4013,4072,4268,4086,3896,3936,4105,3929,3729,3772,3552,3338,3687,3862,3826,3550,3161,3332,3487,3442,3132,2983,3115,3038,2865,2509,2785,3330,3219,3388,3439,3187,3017,3232,3341,3770,4155,4232,4249,4439,4752,4796,4834,4483,4750,5140,4760,4632,4820,4880,4660,4384,4176,3991,4067,4058,4181,4350,4213,4144,4236,3890,3849,3674,2556,2002,2153,2068,2084,2152,2058,2150,2200,1804,2225,2541,2572,2338,1880,1653,1771,1709,1558,1674,1746,1776,1776,1465,1539,1577,1520,1676,2019,2086,1729,2020,1695,1605,2612,2715,2536,2150,2136,2624,2092,1494,1761,1874,1675,2181,3200,3329,3639,3710,3334,3509,3340,2856,2687,2796,2955,2799,1682,1660,2208,1995,1333,1729,1630,2160,2911,2830,2654,3052,2486,1674,1616,1610,1827,1630,1426,1764,2018,1832,1550,1395,1396,1388,1692,2037,2280,2252,2236,1754,1672,2476,2104,1676,1552,1964,2331,2139,1936,1780,1550,1647,1969,1767,1638,1709,1954,1621,1482,1820,1941,1828,1860,2297,2386,1781,1639,1563,1951,2859,2168,2271,3262,3951,4301,4060,3893,4219,4284,4156,3867,3771,4010,4050,4245,4007,3884,3894,4000,4179,4497,4684,4627,4608,4366,3430,2900,4087,4776,4804,4667,4582,4508,4392,4014,3770,3542,3519,3960,4013,4320,4082,3315,3420,3482,3510,3704,4027,4180,4251,3759,2773,2126,2311,2742,2401,2152,2215,2470,2723,3039,2855,2589,2245,2035,2071,2032,1857,1953,2328,2995,2967,3021,2625,2769,2496,1697,1606,1981,2176,2486,2989,3082,3105,3284,3353,3517,3209,2330,2093,1935,1779,1996,2112,2615,3284,3462,3455,3282,3187,3453,3532,2809,2201,2028,1808,1610,1683,1723,1668,1787,2066,1958,1787,1955,1923,1704,1621,1448,1315,1354,1387,1451,1721,2289,2496,2568,2130,2294,2235,2271,2169,1797,1560,1498,1733,1965,1809,2323,2243,2310,2233,1634,1769,1968,2210,2354,2481,2685,2039,1290,1488,1786,1860,1755,1705,2057,1671,1371,1475,1586,1747,2046,2037,2060,2302,2007,1923,2530,3038,3266,2721,2295,2420,2130,2200,2618,2322,1918,1719,1778,2338,2780,2987,3089,3204,3308,3292,3393,2764,1922,1672,1633,1646,1796,1927,1797,1779,1638,1497,1445,1641,1854,2022,1882,1802,2114,2087,1685,1649,1743,1757,1706,1605,1715,1843,1975,2086,2460,2581,2471,2758,2666,2559,2530,2303,2243,2096,2036,1866,1830,1879,1838,1730,1635,1403,1459,1656,1790,1679,1618,1977,2317,2058,2202,2002,2287,2447,1932,1793,2134,2242,1927,1892,1811,2091,2035,2001,2098,1887,1730,1637,1866,2341,2700,3034,3573,3623,3869,3675,3859,4136,4223,4332,3632,2280,1973,2308,2262,2950,2966,1816,2158,2953,2950,2756,1982,2250,2492,2586,2324,1863,2318,2552,2241,2386,3371,3651,2592,2406,3002,3559,3510,3366,3472,3520,3449,3128,3044,3032,2770,2526,2197,1953,1897,1854,2054,2604,3011,3186,3287,3251,3341,3387,3487,3551,3279,3239,3278,3326,3256,2824,2544,2565,1981,1988,2406,2963,3310,3017,3240,3682,3540,3686,3682,3353,3286,3262,3111,3067,3151,2062,1619,1967,2314,2859,2778,2565,2458,2555,2962,3484,3053,2797,2945,2947,2626,2696,3024,3414,2401,1841,2688,3514,3249,3134,2801,2778,3768,3869,3579,3140,2878,2752,2486,2264,2188,2618,2820,2930,3508,3572,3544,3610,3304,3552,3306,2915,2731,2796,3018,3019,2966,3107,3276,3310,3145,2652,2592,2985,3410,3254,3286,3441,3073,2599,2700,2558,2486,2707,2402,2336,2150,1980,2803,2894,2818,2676,2402,2640,2956,2906,2587,2285,2306,2369,2615,2368,2449,2441,1854,1353,1472,2114,2657,2367,2249,2348,2314,2406,2523,2580,2488,2484,2658,2627,2489,2226,2227,2664,3370,3670,3423,3001,2834,2306,2382,3204,3507,2807,2155,2342,2921,3279,3249,2766,2088,2615,2962,2733,1896,1965,2071,1862,1844,1917,1941,1990,2579,3238,3165,3372,3529,3310,3145,3032,3264,3308,2776,2905,3422,3287,3030,2751,3157,3348,3293,3351,3241,3210,3057,2369,2299,2832,2612,2618,2915,2733,2625,2345,2372,2480,2224,2021,2314,2510,2489,2769,2635,2317,2299,2479,2510,2437,2558,2495,3279,3256,2834,2226,2332,2978,2630,1800,1913,2497,2924,3059,3265,2852,2328,2188,1919,1813,2360,2548,2324,2111,2489,2841,2814,3232,3854,3715,3000,2296,2241,2517,2731,2962,2939,2617,2622],[3188,3334,3538,3311,3583,3764,3500,3554,3920,3736,3144,3435,3411,3259,3032,2940,2811,2433,2498,2978,3240,2879,2280,2591,2996,2896,2066,1997,2664,2713,2472,2847,2547,2446,2281,1917,1903,1985,1906,1660,1615,2103,2424,2372,2223,2871,3385,3790,4283,4303,3978,3338,3624,4248,3649,2980,3051,3453,3319,3345,3458,3285,3373,3455,3089,2974,3246,3249,3273,3188,3486,3509,3562,3427,2932,2520,2701,3360,3519,2657,2171,2545,2468,2283,2079,2242,2162,2101,2833,3501,3117,2534,1850,2056,3101,3596,3495,3538,3720,3538,3708,3338,2841,2474,2933,2932,2630,2359,1961,2446,3082,3163,2888,2234,1942,3373,3719,2787,2143,1869,2049,2412,2323,2207,2155,2285,2113,1956,2125,2235,2176,2154,2250,1932,1743,1774,1942,2289,1915,1122,1601,1830,1508,2077,2370,2711,2368,1863,1768,2035,2179,1858,1825,2330,2582,1910,2955,3821,3222,2939,2367,2147,1935,1718,1912,2145,2453,2920,2735,2413,2449,2301,2170,1984,2230,2138,1698,1528,2138,2759,2886,3020,3066,3342,3187,1881,2634,3508,3264,2554,2909,3287,3282,3027,2801,2909,2486,2206,2906,2945,2985,3001,2676,2652,2584,2072,2124,2310,2294,2267,1726,1445,1742,2395,2800,3119,3179,3245,3492,3621,2858,1881,1642,1561,1735,2263,2172,1724,1671,1935,2303,2525,2651,2126,1712,1643,1549,1659,1702,1697,1912,1771,1566,1819,1925,2217,2298,2149,1783,1611,1636,1616,1615,1692,2022,1767,1795,1881,1952,2280,2204,1824,1772,1875,1786,1598,1713,2251,2626,2517,2645,2689,2586,1850,1967,1790,1630,1873,2167,2396,2003,1608,1603,1599,1694,2511,2169,1701,1681,1700,2336,2955,2934,2664,2677,2430,1962,2179,2043,2320,2739,2271,1721,1604,1927,2156,2281,1882,1704,1744,1911,2003,2457,2531,2667,3682,3607,2258,1873,2191,2397,2049,1704,1748,1697,1728,1707,2183,2043,2221,2468,2353,1935,1534,1525,1608,1666,1614,1715,2219,2006,2079,2026,1846,1399,1452,1571,1621,1572,1515,1615,1791,1820,2014,1885,1539,1866,1744,1430,1867,1931,1614,2131,2545,2163,1814,1967,2272,1855,1447,1267,1759,1722,1877,1867,1516,1562,1713,1659,1477,1440,1600,1781,1837,1759,1809,1784,1769,1619,1668,1842,1781,1511,1917,2946,2611,2455,2934,2982,3051,2994,1935,1879,2133,1957,1725,1763,1384,1402,1718,1383,1265,1146,1662,1530,1449,1811,2426,2225,1625,1852,2513,2341,2047,1971,1992,1833,1953,1641,1461,1857,1881,1686,2088,2100,1902,2509,2416,1745,1480,1423,1363,1707,2755,2452,2052,1802,1521,1848,2177,2189,1949,1687,1439,1457,1493,1440,1276,1477,1561,1335,1160,1258,1677,2026,2006,1873,2307,2665,2628,2255,2088,1954,1603,1537,1909,2105,1688,1637,1561,1492,1547,1766,1745,1808,2186,2498,2199,2247,1900,1664,1939,2344,2399,2568,2173,1966,1804,2416,2316,1688,1817,1772,1837,1932,2070,2352,1982,2149,2714,2292,1649,1876,1766,1470,1726,2084,2053,1909,1559,1619,1737,1830,1904,1865,1995,2206,2347,2480,2522,2493,2746,2335,1803,1896,1752,1600,1603,1912,2699,3146,3361,2314,2304,2066,1958,2180,2253,2315,2540,2304,2009,2292,2010,1886,2643,2690,2280,2851,2262,2116,2460,2001,1875,1967,1738,1899,2041,1917,1982,2095,1816,1837,2023,2120,1936,1913,2260,2341,2468,2637,2299,2255,2490,3109,2816,2161,2385,2683,2375,1865,1527,1994,2337,1745,2033,1797,1675,1788,2066,1825,1656,1802,2009,2291,2950,3574,3270,2413,2068,2150,2024,1918,2007,2481,2815,2286,1731,1666,1796,1976,1813,1657,1667,1694,1693,1792,1836,2002,2641,3003,2784,2610,2245,1896,2026,1892,1908,2226,1948,1683,1639,1563,1675,2023,1907,1716,1682,1570,1561,1521,1405,1623,1714,1736,1670,1737,1858,1648,1584,1481,1626,1868,1342,1467,2078,1922,1524,1936,1703,1953,2736,2526,2324,2875,2979,2864,2680,2281,1890,1897,2076,2609,3210,2335,1786,2646,2585,1813,1793,2128,2093,2136,2818,2741,2775,2157,2023,2504,2753,2965,2951,2465,2675,3161,2678,2348,2439,3254,3473,3572,3639,3000,2838,3397,3041,2213,2047,2771,3262,3229,3464,3975,2987,2535,2854,3009,3222,3144,3129,3172,3709,3869,3325,2265,1734,1913,2734,2966,2874,2998,3273,3230,3320,3290,2599,2787,3507,3522,3435,3085,2655,2347,2024,1870,1890,1861,1938,2191,2327,2425,2446,2404,2311,2181,2440,2648,2977,2487,1824,1729,1694,1693,1670,1826,2010,1917,1939,2266,2764,2437,2179,2668,2340,2734,3013,2359,2127,1913,1986,2321,2018,1948,2331,2259,2283,2260,2273,2530,3105,3661,3870,3520,3496,3411,3289,2879,2989,3018,3383,3940,3316,2619,2842,2935,2182,1609,1590,1550,1688,1626,1787,1815,1687,2074,2454,3033,2640,1904,1913,2396,2831,2900,3300,3398,2698,2462,2630,2492,1928,2033,2911,2998,3185,3429,3050,2032,1417,1757,1789,1849,1737,1621,1415,2210,2536,3018,3175,2654,2733,3320,3077,2802,3264,3632,3299,2915,2859,3014,3194,3480,3817,4070,4245,4351,4211,4108,4024,3660,3389,2348,1939,2199,2306,2326,2770,3335,3463,3445,3090,2530,2697,3200,3238,3553,3928,3819,3701,3771,3789,3948,3790,3576,3563,3619,3905,4017,3948,3970,4070,4132,4084,4085,4006,3849,3895,4069,4342,4504,4488,4389,4166,4082,4167,4467,4419,4757,4892,4735,5018,5420,5393,5162,4820,4688,4833,5004,5241,5091,4981,5066,4275,4176,4677,4552,4300,4256,4028,4038,4064,4260,4248,4122,3992,4013,3905,4064,4146,3984,4028,4119,3823,3782,3854,3935,3773,3774,3968,3782,3428,3197,3259,3354,3454,3238,3052,3260,3008,2368,3189,3271,3000,3108,3421,3470,3233,3330,3436,3558,4187,4673,4576,4339,4055,4681,4857,4929,4371,4415,4767,4600,4244,4344,4688,4676,4553,4412,4290,4335,4051,4074,4212,4059,4144,4329,4120,3746,2872,2079,2093,2085,2013,2208,2282,2298,2285,1862,1813,2264,2570,2467,1715,1625,1687,1959,1917,2370,2396,1887,1798,1704,1434,1599,1623,1944,2544,2172,2022,2161,2279,2007,1740,2252,2563,2986,2643,2090,2010,1812,1686,1715,1947,1936,2818,3521,3505,3731,3786,3340,3342,3352,2610,1980,2198,2393,2221,1651,1930,1804,1665,1799,2491,2093,2419,3155,3134,3350,3022,1995,1567,1669,1982,2129,2025,1768,2053,2107,1980,1722,1691,1730,1708,1599,2041,2225,2243,2013,1587,1739,2002,2333,2395,1970,2093,2363,2172,1991,1855,1818,1808,1877,1727,1614,1969,2160,1856,1759,1764,1695,1775,1775,2517,2508,1966,1686,1673,1771,1988,1612,2188,3188,3773,4063,3805,3787,4256,4273,4048,3723,3841,3706,3815,4276,4191,4108,3941,3834,4179,4260,4284,4613,4544,4070,3432,3009,3392,4071,4497,4572,4423,4722,4962,4384,3552,3400,3359,3861,3972,4228,3890,3247,3197,3727,3835,3608,3740,3859,3903,3850,3398,2670,2698,2973,2115,1794,2131,2209,2430,2874,2968,2561,2266,1925,1747,1744,1858,2078,2353,2346,2954,3123,2532,2303,1914,1743,1708,2121,2490,2778,3343,3226,3114,3137,3541,3075,2369,2170,2069,1877,1760,1806,1969,2700,2852,3500,3225,3067,3026,2917,3039,2858,2375,2273,2469,2357,2513,2141,1937,1818,1849,1920,1766,1960,1828,1664,1860,1732,1579,1591,1627,1686,2287,3177,3776,3755,2607,2340,2460,2446,1844,1471,1505,1523,1922,2478,1806,1904,1663,2001,1889,1606,1447,1429,1753,2229,2643,2610,2032,1718,1503,1435,1333,1555,1764,1838,1439,1267,1652,2047,2186,2543,2323,2541,3057,2852,3037,3713,3845,3428,2601,2056,2144,1886,1699,1904,1787,1831,1950,1992,1941,2556,3051,3016,2819,3159,3438,3245,2464,1747,1731,1731,1748,1742,1750,1708,1584,1594,1720,1773,1832,2046,1986,2070,2198,2374,2349,1899,1630,2060,2195,1853,1648,1730,1915,2125,2258,2361,2341,2654,2749,2507,2641,2624,2351,2186,2023,2036,1959,1770,1992,2004,1874,1569,1492,1592,1929,2052,1862,2031,2762,2568,2172,2343,2301,2316,2200,1995,1940,2170,2305,2032,1743,2144,2590,2225,1859,1984,2007,1738,1797,2490,2524,2408,2712,3348,3656,4055,4058,4120,4260,4288,4356,3847,2408,1895,1627,1725,2846,3129,2819,2863,3040,2444,1584,1670,1830,2009,2391,2183,1986,2380,2807,2648,2496,2634,2623,2342,2369,2813,3256,3369,3404,3662,3816,3808,3559,3494,3120,2858,2646,2344,2180,2297,1993,1894,2018,2387,2913,2938,2576,2708,2927,3391,3565,3387,3319,3476,3485,2836,2204,2341,2779,2972,3188,3129,2980,3405,3863,4152,3818,3519,3805,3542,3349,3443,3279,3001,3386,3363,2518,2511,3033,3092,2992,2842,2497,2175,2300,2543,2998,2736,2490,2809,2789,2520,2230,2719,3233,2500,1865,2635,3217,2545,2677,2415,3268,3819,3978,4004,3672,2995,2508,2499,2744,2563,2560,2929,3398,3658,3826,3542,3568,3449,3600,3509,3485,3262,3164,3243,3096,2778,2785,2918,3067,3078,2841,3078,3484,3455,3187,3122,3521,3079,2137,2352,2402,2481,2621,2068,2180,2487,2614,2371,2055,2731,3194,2734,2796,3411,3387,3448,3001,2667,2834,2896,2602,2401,1917,1737,1967,2008,1952,1866,2139,2605,2414,2342,2416,2756,2911,2709,2614,2852,2863,2653,2675,2543,2523,2837,3128,3002,2625,2126,1804,2398,3245,3430,2822,2178,2280,2848,3264,3239,2663,2101,2447,2870,2546,1913,1909,1897,1669,1640,1918,2066,2030,2626,3177,3075,3362,3530,3248,3093,3181,3418,3146,2281,2402,2950,2902,2728,2893,3182,3020,3043,3253,3342,3200,2862,2076,1861,2242,2591,2850,2523,2556,2520,2331,1967,1844,1913,1891,1908,1884,2447,3405,2992,2058,2376,2824,2793,2735,2676,2962,3650,3569,3099,2362,2218,2613,2426,2094,2216,2684,2632,2573,2586,2221,1892,1919,1926,1942,1920,1983,2191,2130,2336,2403,2521,3331,3661,3920,3646,3200,3116,3067,2835,2997,2941,2624,2734],[2872,3177,3837,3749,3592,3782,3829,3916,3616,3133,3124,3435,3189,3144,3372,3282,3056,2776,2884,3241,3100,2645,1904,1941,2626,3197,2330,1770,2014,1949,2229,2475,2198,1820,1664,1890,2120,2314,2303,1944,2070,2627,2758,2172,1958,2535,2861,3377,3926,4221,3846,3011,3431,3708,3218,3515,3463,3560,3204,2896,2922,2896,2843,2655,2644,2753,2918,3218,3479,3473,3488,3532,3464,2908,2462,2347,2828,3097,2956,2502,2220,2486,2438,2138,2226,2298,1986,1726,1986,2747,2980,2578,2094,2080,2476,3263,3277,3653,3752,3500,3714,3416,2454,2249,2960,3030,2780,2019,1411,2132,2911,2430,2177,1548,1571,2654,2420,1787,1744,1759,2090,2314,2376,2039,2256,2315,2238,2255,2220,2161,2072,2270,2402,2046,1848,1907,2060,2253,2062,1795,2086,2071,2025,2250,2228,2364,2121,1875,1847,2081,2498,2356,2331,2374,2449,2144,2580,3168,2591,2170,2029,2209,2111,1899,2091,2309,2300,2788,2532,2468,2414,2432,2542,2511,2802,2442,1685,1799,2454,2789,2906,2322,2412,3031,2677,1773,2290,2996,2698,2204,2504,3073,3066,2661,2645,2823,2686,2264,2452,2666,2983,3099,3310,3054,2959,2641,1994,2214,2013,1806,1854,1336,2006,2177,2194,2955,3182,2872,2988,3154,2365,1763,1799,2152,2081,1995,1777,1797,2387,2386,2609,2564,2542,2238,1963,1647,1542,1620,1637,1836,2110,2282,1776,1828,1835,1899,2346,2769,2432,1713,1665,1789,1877,2061,2258,2088,1828,1588,1590,2086,2110,1866,1870,1772,1782,1929,1920,1719,1696,1710,2242,2454,2433,1959,1950,1789,2041,2784,2562,2656,2587,2024,1784,1531,1622,2238,2030,1833,1644,1938,2353,2047,2100,2647,3155,3066,2181,2330,2416,2540,2531,2239,1787,1714,1814,2114,2014,1673,1645,1484,1846,2206,3282,3392,3045,3242,3059,2179,1749,2056,2142,1875,1497,1382,2061,2337,1752,1797,2075,2608,2780,2590,2018,1580,1680,1621,1807,1676,1572,1953,1724,1868,1860,2081,2158,1975,1769,1643,1578,1584,1577,1787,1560,1794,1866,1515,1755,1876,1891,2215,1976,1644,1828,1933,1626,1493,1735,1854,1366,1147,1154,1551,1691,1675,1903,1995,1849,1746,1898,1893,1708,1610,1786,1756,1784,1824,2260,2315,1958,1853,1994,1948,1610,1763,2413,2530,2540,2997,3298,2907,2040,1766,1926,2306,2446,1859,2016,1851,1958,1985,1924,1927,1821,1955,1693,1507,1527,1770,2142,2257,2413,2664,2151,2092,1918,1891,2305,2630,2410,2084,2234,2042,1657,1857,1932,2171,2547,1843,1532,1422,1316,1405,1758,2254,2221,2294,2082,1663,1851,1924,1794,1719,1714,1729,1655,1576,1437,1239,1267,1315,1253,1237,1267,1493,1896,1780,1437,1511,2104,2094,1813,1793,1883,1731,1524,1697,1659,1546,1819,1694,1834,1917,1728,1781,1984,2113,2078,2018,2056,1946,1808,1937,1931,1815,2427,2151,2071,1972,2143,1567,1581,1848,1848,1973,1935,2162,2597,2083,2014,1903,1844,1677,1596,1561,1530,1588,1625,1779,1832,1858,2051,1535,1601,1581,1781,2181,2276,2055,2153,2346,2546,2323,2028,1986,1815,1699,1824,1902,1760,1786,2152,2255,2120,2545,2863,2919,3298,3131,2810,2409,2393,2152,1837,1841,2540,3060,2902,2914,2857,2398,2438,2741,2608,2254,2230,2110,1901,2092,2185,2287,2371,2079,1624,1694,2097,2308,2157,2263,2187,2087,2486,2578,2602,2541,2540,2025,1554,2328,3196,2978,1986,1687,2084,1909,1688,2195,2064,1849,2154,1987,2057,2126,1756,1760,1680,2183,2999,3232,2426,2114,1992,2085,2114,2187,2378,2449,2142,1918,1677,1746,1677,1490,1389,1550,1709,1929,2022,1908,2244,2955,2894,2761,3006,2787,2280,2036,1729,1710,2025,1716,1636,1758,1762,2289,2536,2110,1858,1808,1522,1859,1807,1566,1380,1384,1654,1715,1904,2020,1947,1990,1612,1600,1534,1455,1454,1948,1623,1431,1528,1535,1731,1889,1613,1560,2159,2446,1914,2176,2122,2145,1838,1726,2832,3242,2271,2007,2076,2073,1809,2013,2596,2206,1888,2733,2787,2490,2070,2188,2492,2702,2842,2602,2342,2733,2417,2241,2788,2455,2832,2783,3060,3241,3029,3332,3465,3005,2519,1873,2520,3216,3261,3363,3826,3233,2542,2675,3095,3158,3209,2700,2556,3593,4029,4039,2786,1789,1704,2029,2692,3238,3230,3333,3195,2709,2629,2541,2800,3452,3457,3321,2706,2166,2070,2037,2046,2060,2054,2087,2148,2099,2232,2232,2108,2188,2437,3040,3090,2376,1665,1593,1650,1677,1693,1594,1805,1986,1901,2121,2296,2615,2588,2631,2685,2165,2114,2154,2079,1973,1716,1673,2023,1609,2468,2620,2820,3162,2898,2700,2811,2730,3099,3657,3519,3716,3438,2599,2220,3090,2839,2808,3282,2323,1528,1976,2303,1947,1719,1457,1684,1699,1782,1714,1610,1797,2654,2964,2711,2209,1788,1656,1704,2086,1832,2364,3477,3132,2677,2021,1806,1549,2209,3073,3044,3026,3205,2769,2050,1430,1534,1494,1554,1749,1548,1181,1666,2618,3419,3537,2756,2444,3327,2732,2612,2656,3020,3101,2945,2996,3112,3265,3463,3713,4016,4175,4508,4360,4096,3968,3754,2829,1864,1744,2321,2514,2536,3028,3330,3309,3462,3273,2583,2674,3461,3348,3459,3710,3594,3678,3796,3730,3784,3533,3000,3339,3905,4014,4186,4283,4276,4272,4196,4029,4069,4164,4120,4022,4055,4409,4477,4449,4373,4244,4140,3995,4375,4828,5112,4977,4648,4531,4561,5124,5208,4775,4771,4747,4775,4703,4496,4640,4752,4587,4611,4571,4306,4168,4124,3892,3873,4067,4248,4408,4127,3925,3986,3882,3827,4014,4180,4328,4314,4303,3978,4003,4488,4389,3936,3936,3935,3745,3549,3250,3076,3209,3019,3001,3231,2397,2016,3312,3210,2814,2955,3292,3480,3540,3847,4140,4168,4459,4805,4528,4460,4496,4648,4564,4753,4728,4364,4476,4960,4916,4560,4588,4660,4572,4528,4757,4620,4296,4240,3859,3764,4052,4143,3984,3522,2381,2107,2038,1863,2000,2214,2329,2263,2157,1908,1914,2019,2251,2072,1807,2613,2359,2145,2386,3061,2830,1966,1613,1578,1512,2070,3256,3549,2651,1764,1636,2063,2167,2031,1822,1605,1814,2668,2730,1851,1765,1788,1961,2070,2537,2614,2905,3462,3762,4048,3894,3420,3295,2973,2574,1802,1642,1922,1750,1818,1952,1677,1720,1968,2602,2578,2455,2320,2350,2815,2237,1994,2490,2208,2158,2407,2402,1990,1699,1832,1842,1848,1857,1781,1935,1676,1759,1873,1782,1516,1597,1942,1984,2286,2510,2219,2187,2279,2029,2032,1921,2019,1885,1638,1683,1756,1910,2142,2071,1870,1937,1892,2004,2094,2564,2570,2220,2216,2014,1659,1621,1630,1908,2733,3395,3482,3242,3564,4228,4196,3740,3432,3717,3835,4077,4432,4212,4092,4124,4057,3939,3654,3956,4416,4555,4215,3494,2806,2375,2494,3596,4236,4136,4788,5035,4383,3435,3418,3615,3930,4000,4212,3903,3204,3162,3688,3699,3508,3538,3688,3565,3382,3498,2974,2447,2209,2045,2170,2081,2125,2189,2358,2833,2302,1806,1664,1785,1684,1653,2040,2167,2162,2968,2656,1933,1710,1639,1581,1742,1959,2167,2676,2589,2496,2897,3508,3580,2620,2109,2026,2143,1891,1699,1749,2171,2426,2508,2518,2323,2427,2425,2514,2987,2730,2281,2665,3198,3431,3717,3408,3334,3034,2468,2092,2150,2632,2283,1695,1947,2172,2061,1588,1698,2066,2988,3231,3285,3000,2242,2214,2844,2555,1687,1581,1589,1620,1796,2491,1784,1445,1755,2135,2031,1716,1553,1576,1886,2866,3287,2876,1994,1922,1710,1468,1513,1607,1656,1556,1303,1453,1916,1878,1925,2288,2272,2774,3060,3060,3348,3658,3683,3204,2216,1820,1990,1711,1521,1618,1830,1904,2282,2048,1773,2526,3120,3021,2945,3212,2925,2254,1797,1726,1865,1886,1822,1705,1601,1496,1468,1915,2866,2872,2074,2060,2148,2106,2140,2497,2520,1909,1831,2166,2020,2018,2229,2247,2520,2536,2425,2370,2373,2787,2926,3277,2896,2866,2662,2337,2390,2375,2352,2056,1952,2522,2244,1870,1919,1899,2166,2360,2328,2389,2925,3176,2581,2248,2088,2200,2036,1930,1839,1911,1963,2100,2208,2464,2743,2355,2020,2345,2366,1944,2233,2441,1978,1805,2206,3296,4133,4300,4309,4260,4162,4051,4006,3717,2438,1968,1708,1787,2353,3108,3489,2964,2648,2309,1841,1932,2006,2100,1692,1748,1715,1970,2561,2677,2004,1335,1480,1970,2443,3068,3270,3139,3663,3605,3638,3649,3566,3603,3497,2961,2576,2602,2795,3094,2578,2090,1908,1869,2263,2535,2784,2831,2830,3189,3421,3437,3476,3572,3270,2561,2674,2899,3041,3272,3284,2996,2956,3208,3740,4208,3584,3253,3398,3274,3150,2929,2762,2598,3134,3373,3231,3183,3059,3024,2906,2408,2176,2272,2557,2409,2269,2328,2600,2852,2903,2720,2483,3153,3638,2718,2078,2766,3055,2432,2300,2887,3681,4099,4091,3973,3641,3488,3470,3194,2849,3097,3441,3516,3304,2836,3231,3284,3426,3544,3463,3544,3582,3100,2910,2621,2524,2541,2591,3228,3604,3675,3596,3509,3410,3250,3200,3394,3445,2570,2149,2422,2796,2671,1998,1883,2351,2978,3034,2224,2053,2839,3484,3073,2966,3608,3839,3880,3591,3136,3250,2902,2562,2131,1848,2310,2574,2474,1978,1606,1884,2649,2482,2495,2656,2802,2653,2612,2614,2658,2742,2532,2972,2899,2577,2161,2344,2451,2129,1760,1907,2661,3134,3111,3052,2542,2105,2691,3130,3019,2164,1776,1934,2458,2327,1948,1983,2136,1979,1888,2032,2088,2027,2621,3127,3206,3250,3428,3421,3320,3373,3598,3309,2436,2425,2602,3001,3112,2873,3089,2835,2678,2761,2835,3087,2762,2086,2152,2172,2102,2257,2266,2559,2736,2226,1878,1864,1826,1964,2126,1928,2108,2863,2579,2520,3125,3011,2634,2865,2556,2878,3307,3426,3609,2950,2371,2183,2214,2731,2874,3165,2993,2721,2568,2501,2044,1809,1962,2065,2314,2394,2714,2910,2813,2809,2930,3217,3295,3607,3669,3275,3361,3298,2590,2688,2664,2492,2834],[2382,2789,3260,3252,3514,3603,3546,3904,3410,3331,3425,3515,3210,3274,3454,3137,3043,2942,3094,2880,2644,2450,2229,2083,2078,2461,2392,2318,2172,1885,2037,2327,2266,1879,1976,2448,2540,2586,2745,2540,2785,2980,2635,1957,1940,2232,2655,3531,4084,4112,3753,3021,3372,3359,3155,3351,3248,3227,3141,3063,2728,2697,2676,2551,2696,3090,3208,3264,3428,3602,3191,3399,3527,3068,2579,1862,2681,3154,3217,2969,2811,2809,2836,2311,1876,1685,1724,1558,1763,2590,2521,2597,2610,2278,1957,2821,3188,3477,3326,2915,3104,3293,2656,2774,3187,3184,2862,2309,1895,2126,2548,2164,1864,1638,1622,2154,2757,2868,2714,2207,2091,2046,1726,1476,2029,2360,2414,2413,2467,2674,2504,2379,2756,2571,1975,1921,2142,1954,1984,2514,2508,2285,1845,1699,2257,2226,1920,1983,1952,2043,2614,2656,2086,1753,1544,2097,2561,2884,2294,1532,1867,2017,1841,1926,1968,2336,2351,2400,2379,2319,2320,2319,2455,2558,2270,1798,1752,2343,2674,2768,2558,1886,2400,2742,2581,2021,1772,2181,2443,2221,2570,2876,2679,1975,2310,3107,2786,2587,2370,2301,2457,2809,3043,3087,3173,2589,1897,1948,2165,1956,1588,1737,2511,2267,2285,2492,2498,2520,2758,2389,2021,1643,1531,1741,1522,1624,1848,2157,2364,2462,2345,2391,2522,1874,1686,1501,1584,1559,1631,1774,2016,2646,2504,2156,2017,2050,2537,3313,2966,1849,1748,1679,1823,1997,2120,2490,2244,1492,1306,1649,1947,1928,1625,1580,1885,1868,2108,1735,1560,1536,1542,1730,2071,1865,1680,1712,1817,2237,1906,2227,2410,2012,1857,1704,1654,1603,1693,2006,2042,2128,2020,1697,2697,3204,3520,3134,2200,1985,2145,2252,2159,2186,2288,1834,1941,1921,1842,2078,1610,1699,2393,2799,3891,4213,3686,3495,3172,2206,2102,2144,1745,1993,1933,2005,2434,2328,2018,1840,2007,2222,2221,2220,1723,1532,1186,1281,1644,1568,1719,2083,1905,1845,1933,2188,2255,2187,1777,1541,1547,1571,1957,1947,1786,2145,2106,1641,1438,1677,2004,2061,2094,1893,1547,1547,1707,1430,1582,1578,1527,1640,1744,2125,2084,1652,1972,1759,1853,1990,2383,2500,1826,2115,2732,2714,2389,1991,2117,2149,1899,1736,2068,2193,1706,1689,1797,2391,2518,2508,2256,2004,1838,1804,1972,2242,2236,1813,1886,2169,2305,2247,2302,2311,2230,2104,1936,1856,1856,2253,3044,3444,3274,2778,2053,1895,1738,2204,2366,2568,3067,2736,2335,2016,1832,1755,1754,2030,2124,1808,1896,1738,1664,1757,2066,2537,2532,2481,2030,1910,1967,1888,2021,2199,2095,1713,1606,1717,1543,1360,1237,1092,1053,1063,1079,1246,1491,1241,1400,1468,1577,1531,1532,1462,1440,1641,1619,1533,1504,1724,1847,2086,1791,1742,1832,1698,1722,1844,1766,1710,2036,2092,2367,2053,1780,1398,1440,1517,1448,1887,2181,1895,1915,1917,1751,1918,2316,2558,2962,2249,1790,1448,1457,1495,1725,2036,1952,1824,1598,1759,1620,1933,1931,1709,1708,1680,1825,2202,1974,1903,1939,2115,2430,1786,1708,1853,1836,2183,1993,1899,1566,1531,1753,1915,1891,2851,3261,2707,3024,2743,2284,2076,2098,1993,1517,1882,2757,3072,3257,3405,3067,2602,2365,2944,3164,2192,1853,1846,1954,2122,2101,1953,2258,2219,1590,1660,2024,2022,2151,2099,2198,2185,2394,2333,2630,2525,2318,2040,2022,3085,3278,2831,2217,2043,2151,1851,1820,2116,2237,1997,2115,2084,2376,2495,2074,1966,1960,1659,2091,2787,2374,2745,2333,2144,2192,1840,2025,2285,2204,1996,1620,1525,1526,1391,1498,1698,1907,1941,1863,1807,2042,2472,2584,2123,2135,2154,1761,1720,1830,1662,1739,2159,2228,1924,2250,2712,2835,2526,2502,2178,1639,2192,2211,1651,1381,1513,1681,1681,1896,1774,1855,2057,1555,1635,1430,1524,1527,1559,1453,1432,1426,1502,1793,1939,1715,1523,1582,1947,1607,1520,2003,2065,1912,1970,2799,2985,2614,2753,2624,1893,1652,1674,1686,1742,1815,2422,2514,1967,1904,2257,2535,2791,2591,1998,2303,2767,2104,2363,2624,2161,2019,2414,3045,2922,2645,3138,3001,2599,2529,2440,2813,2964,3129,3042,3423,3297,2746,2919,3341,3307,3495,2874,2997,3859,3628,3516,3017,2348,2189,1981,2231,2722,2835,3297,3793,3165,2663,2946,3091,3419,3550,3363,2557,2176,2119,2015,2040,2126,2090,2097,2159,2020,2039,2179,2417,2366,2355,2447,2351,2079,1820,1714,1728,1804,1797,1721,1834,1964,1860,1973,2253,2663,2566,2113,1895,1758,1628,1665,1948,2045,1885,1637,1935,2065,2609,2557,3234,3321,2364,2548,3110,3291,3019,2819,2707,2811,2607,1902,2083,2690,2587,2492,2193,1551,1624,2182,2019,1764,1643,1423,1331,1416,1636,1598,1738,1973,3002,3705,2946,2031,2128,1841,1499,1757,1787,2567,2865,2474,1906,1471,1500,1675,2124,2564,2915,2971,2945,2490,1884,1602,1298,1311,1441,1670,1642,1361,1496,2121,2746,2942,2490,2209,2628,1975,2474,2425,2281,2667,3012,3017,3124,3328,3472,3634,3906,4156,4330,4352,4140,3797,2846,2334,2336,2272,2554,2820,3152,3329,3391,3301,3284,3320,3078,3203,3421,3482,3585,3484,3337,3663,4016,3809,3602,3703,3262,3621,3916,3939,4164,4352,4251,4104,4059,4089,4120,4105,4329,4367,4271,4436,4507,4488,4353,4234,4065,3916,4056,4248,4485,4562,4593,4279,3895,4660,4915,4775,4688,4529,4288,4079,4109,4093,4198,4539,4612,4331,4283,3948,3939,3794,3629,3977,4308,4441,4173,3938,3882,3891,3572,3862,4201,4476,4488,4429,4140,4199,4389,4140,3943,3927,3916,3938,3791,3398,3071,3209,3044,3089,2998,1905,2643,3522,3189,3009,2834,3127,3586,3951,4188,4661,4693,4600,4606,4409,4248,4324,4308,4309,4799,4849,4633,4692,4960,4984,4916,4636,4284,4282,4396,4539,4451,4148,3897,3745,3702,3755,3898,3423,2435,1985,2099,1975,2056,2066,2188,2228,2164,2048,1874,2048,2254,2476,2042,2774,3775,3267,2347,2232,2492,2566,2481,1802,1682,1691,2121,3777,4274,3053,2066,2018,2037,2096,2204,2201,1977,2132,2843,3113,2378,2299,2066,2353,2208,2275,2384,2684,3705,4253,4210,3801,3337,3604,3173,2212,1576,1511,1664,1564,1506,1566,1682,1815,2377,3054,2877,2524,1821,1569,1491,1544,1787,2181,2136,2172,2229,2204,1891,1770,1737,1706,1744,1505,1647,1894,1879,1810,1809,1819,1801,1682,1685,1637,1561,2135,2493,2349,2394,1936,1992,1893,1908,1675,1171,1073,1417,1870,2013,1788,1749,2108,2237,2060,2072,2228,2087,2007,2287,2332,1975,1586,1603,1633,2353,3147,3050,2863,3617,4097,3716,3310,3315,3697,3930,4197,4285,3662,3753,4059,4321,4532,4300,4288,4447,4602,4604,4104,3050,2144,2375,3673,4252,4208,4850,5155,4559,3950,3971,4011,4014,4048,4141,3960,3418,3457,3665,3892,3916,3617,3688,3693,3544,3626,2856,1903,1832,2080,2198,1932,2042,2120,2134,2189,1928,1742,1771,1922,1769,1604,1839,1823,1832,2182,1755,1691,1583,1559,1583,1885,2180,2013,1739,1734,2118,2595,3307,3330,2476,2297,2220,2076,1866,1692,1692,1814,1675,1635,2021,2414,2578,2609,2787,3310,3293,3283,3259,3133,3714,4052,4000,3814,3539,3218,1928,1913,2988,2709,2155,1957,2206,2493,2231,1964,2668,3287,2836,2475,2352,2223,2207,2480,2348,1731,1746,1485,1534,1898,2590,2056,1884,2776,2769,2128,2043,1885,1722,2157,3506,3929,3021,1928,1794,1673,1450,1531,1509,1373,1295,1071,1373,2003,1736,1968,2254,2108,2612,3243,3580,3830,3718,3317,2491,1795,1807,2309,1746,1537,1961,1981,1784,1979,1837,1937,2390,2645,2678,2934,3165,2504,1804,1943,2128,1870,1758,1754,1776,1642,1552,1594,2086,3143,2765,1873,1837,1803,2013,1978,2511,3130,2598,2160,2081,1907,2554,2766,2220,2770,2562,2621,2485,2549,2558,2733,3123,2806,2499,2170,1956,2059,2257,2400,2359,2810,3500,3071,2733,2204,2288,2574,2459,2438,2145,2510,3138,2744,2342,2171,2085,2010,1965,1822,1913,2104,2393,2822,3104,2776,2334,2110,2181,2008,1943,2124,2193,2077,1836,1885,2602,3152,3227,3288,3027,2734,2728,2699,2769,2270,2167,2335,2283,2164,2429,2726,2554,2653,2877,2310,2116,2542,2989,2133,1643,1722,1764,2087,2489,1981,947,1051,1707,2284,2901,3371,3311,3785,3294,2989,3358,3328,3245,3217,2986,2579,2690,2653,2975,3028,2496,2186,1940,1884,2077,2622,3081,3295,3427,3299,3472,3522,3378,3086,2633,2738,2910,3121,3107,3199,3363,3207,3398,3594,3903,4057,3562,2995,2907,2089,1715,2141,2928,3501,3396,3068,2779,2413,1883,1973,2078,2191,2536,2423,2377,2468,2900,3018,2575,2719,3032,3052,3545,3773,2920,2391,2865,3044,2375,2016,2414,3349,3958,3848,3728,4010,3869,3859,3874,3389,3179,3397,3663,3134,2578,2375,2624,3066,3401,3363,3052,3189,2931,2961,3110,3113,3142,3130,3442,3664,3517,3308,3397,3471,3541,3601,3843,3772,3000,2835,2657,2422,2355,2411,2726,3025,3560,3320,2386,2643,3067,3496,2548,2612,3064,2915,3007,3079,2987,3024,3095,2702,1897,1980,2173,2319,2635,2343,1660,1570,2056,2459,2642,3007,3030,2303,2439,2662,2411,2419,2103,2465,2689,2878,2635,2370,2097,1736,1988,2612,3091,3068,2725,2815,2249,1867,2671,2834,2575,2146,1915,2090,2244,2129,1925,1914,1927,1798,2048,2046,2099,2170,2482,3017,3270,3422,3472,3409,3254,3203,3466,3209,2452,2853,2791,3178,3269,3092,3068,2399,2203,2226,2313,3067,2962,2576,2655,2600,2104,2069,1978,2104,2335,2078,2074,2111,1844,1998,2122,1898,2395,2978,3018,3052,3228,2994,2576,2626,2468,2444,2513,2810,3553,3200,2534,2569,3197,3240,3354,3797,3870,3883,3985,3472,2433,1767,1952,2224,2342,2624,2962,2972,2888,3204,3372,3265,3073,3052,3122,3275,3228,3103,2512,2586,2750,2712,2751],[2842,2785,2808,3197,3504,3504,3480,3921,3482,3096,2999,3226,3397,3189,2802,3054,3411,2802,3226,3272,2958,2918,3190,3018,2801,2875,3072,2824,1903,1587,1936,2380,2711,2463,2502,2722,2471,2602,2638,2663,3116,3153,2418,1831,1762,1870,2806,3352,3724,3743,3532,3183,3083,3087,3166,3077,2917,3266,3422,3430,3358,3274,3195,3261,3104,3251,2977,2766,3078,2902,2211,2636,3071,2689,3246,2570,2228,2688,3308,2829,2593,2822,3064,2344,1490,1587,1901,2327,2647,2540,2492,3130,2781,1992,1850,2467,2930,3116,2897,2172,2359,2766,2733,2915,2702,3088,3023,2989,2281,1930,2033,1948,1928,2459,2467,1951,2770,3330,2932,2636,2288,1532,1102,1481,2098,2947,3178,2718,2532,3313,3554,2666,2485,2393,1787,1681,1946,2057,2294,2718,2444,2431,2002,1547,2177,2145,2041,2239,2345,2224,2412,2266,1854,1814,1834,2458,2671,2729,2647,2243,2626,2634,2071,1838,1675,1786,1899,2265,2238,2090,2232,2170,2196,2288,1862,1366,1676,2411,2529,2828,2492,2790,2812,2230,2200,1909,1685,2283,2664,3155,3685,2713,2279,1744,2644,3639,3662,3076,2670,2402,2301,2487,2715,3339,3483,2802,2149,2193,2991,2319,1555,2456,2669,2458,2393,2017,2351,2619,2505,2047,2115,1654,1761,1728,1631,1580,1604,1910,1983,1852,1766,2054,1794,1600,1406,1332,1468,1552,1652,1519,1558,1763,1904,1994,1885,2040,2299,2635,2446,1989,1851,1998,2087,2017,2339,2755,2242,1337,1494,1621,1785,1651,1620,1997,2031,1857,1831,1701,1556,1507,1489,1388,1642,1725,1487,1382,1434,1488,1588,1616,1458,1511,1622,1726,1744,1708,1953,2337,2853,2754,1916,2468,3025,2557,2680,2665,2597,2484,1910,1714,1579,2144,2543,2242,2432,1734,1627,1842,1640,2005,2264,2692,3609,3880,3573,2906,1947,1688,2072,1952,1849,2164,2206,2337,2154,2097,2039,1731,1950,2375,2144,2119,1812,1618,1351,1854,2192,2060,1738,1724,2076,2014,1945,1977,2231,2431,2138,1801,1865,1535,1855,1606,1450,1642,1686,1666,1842,2028,1689,1830,2128,1704,1393,1574,1744,1587,1696,1876,1951,2062,2206,2246,2203,1928,1898,1899,2052,1919,2323,2866,2380,2875,3551,3119,2837,2061,2040,1941,2065,1572,1845,2033,1647,1703,2144,2331,2353,2104,1712,1780,1657,1579,1846,1806,1863,1693,1732,2186,2175,1963,2062,2183,2051,1858,1584,1671,1752,2535,3043,3262,3507,2628,1854,1771,1621,2185,2413,2190,2874,2792,1973,1621,1914,2089,2103,2187,2097,2296,2374,1865,1670,1890,2276,2918,2491,2258,1933,2087,2154,2186,2356,2513,2250,1625,1420,1461,1429,1430,1412,1053,991,929,890,923,1040,998,1063,1067,1167,1480,1717,1560,1638,1720,1561,1771,1722,1803,2076,2028,1823,2035,2290,2514,2383,1952,1788,1709,1950,1882,1983,1964,1866,1482,1720,1770,1644,2138,2270,2186,2123,1892,1839,2177,2282,2485,2636,2039,1834,1635,1434,1433,1625,1909,2012,1850,1750,1663,1672,1635,1524,1896,2040,1992,1982,1912,1722,1899,1970,2359,2807,2366,2212,1839,1804,1902,1528,1340,1552,1559,1894,1983,1805,3310,3540,2282,2100,1774,1737,2079,2003,1946,1759,1863,2481,2888,3356,3295,2968,2625,2387,2905,3183,2436,1916,1847,1891,1969,1984,1743,2322,2310,1735,1670,1953,2208,2610,2215,2378,2280,2066,2227,2590,2243,2069,2163,2360,3062,3300,2989,2240,2267,2535,2161,2148,2448,2054,1939,1895,1677,1519,1641,1815,1800,1891,1546,1710,1830,2060,2580,2320,2019,2252,1776,1642,2060,2390,2114,1898,2066,1871,1533,1565,1706,1852,1874,1812,2020,2131,2447,2416,2059,1590,1645,1609,1632,1903,1933,1785,1887,1876,2272,2536,2723,2609,2600,2957,2427,2042,2515,2090,1429,1515,1888,1974,1707,1793,1631,1548,1756,1615,1582,1697,1907,1675,1431,1334,1435,1455,1267,1660,1932,1860,2116,2046,2193,2040,2038,2311,1968,1488,1537,1908,2333,2796,2674,2585,1810,1466,1391,1451,1703,1902,2060,2228,2002,1982,2126,2767,2837,2116,1547,1958,2149,1883,2036,2122,1944,2029,2636,2962,2602,2570,2243,2303,1964,2189,2359,2404,2764,3007,2757,2303,2142,2392,2873,3142,3349,3735,3538,3620,3460,2484,2330,2212,1875,1888,2178,2840,3075,2928,3225,3554,3249,3146,3320,3227,3465,3496,3239,2872,2624,2143,2007,2225,2267,2114,2130,2303,2143,2185,2477,2509,1924,1648,1843,2171,2195,1947,1761,1826,2061,1918,1755,1814,1911,1874,1858,1793,1886,2025,1740,1539,1579,1525,1701,1962,1837,1702,1750,1831,1937,2130,1984,2514,3063,1823,1732,2510,3085,2504,1881,2175,2442,2245,2140,2246,2437,2845,2848,2008,1571,2160,2230,1708,1628,1506,1549,1523,1658,1571,1592,1647,1795,2754,3427,2680,2067,1866,1749,1487,1842,2060,2494,2723,2408,1937,1636,1642,1823,2566,2757,3089,2986,2901,2581,2037,1943,1804,1778,1831,1896,1955,1957,1968,1884,1860,2491,3018,2332,1929,2214,2790,2655,2458,2818,3094,3156,3283,3231,3228,3400,3686,4128,4264,4321,4052,3209,2095,2026,2444,2354,2809,3210,3168,3282,3509,3403,3351,3324,3464,3551,3595,3650,3641,3429,3337,3551,3795,3894,3701,3520,3651,3907,3851,3898,4091,4133,4071,3938,4006,4045,3879,3898,3809,3861,4144,4287,4527,4451,4068,4012,3962,3994,4096,3951,3828,4057,4441,4516,4188,4540,4884,4892,4620,4291,4094,3995,3864,3781,3951,4308,4407,4307,3941,3660,3938,3948,3942,4173,4383,4384,4187,3956,3872,4040,3764,4059,4195,4327,4399,4371,4336,4336,4123,3829,3876,3915,4056,4153,3894,3527,3237,3171,3018,3029,2412,2293,3553,3535,3238,3281,3207,3519,3828,4177,4300,4553,4688,4677,4348,4236,4249,4094,4340,4200,4681,4966,4933,4746,4616,4067,4280,4545,4248,4383,4572,4536,4348,4034,3625,3618,3482,3542,3566,2921,2188,2141,2014,2113,2362,2394,2243,1983,2085,1842,1957,2403,2411,2424,2316,3218,3964,3482,2661,2517,2307,2380,2338,1769,1562,1786,1877,3153,3397,2761,2354,2072,1972,1998,1898,2349,2166,1824,2209,2880,2811,2927,2680,2305,1989,2297,2611,3001,3994,4160,4144,3931,3472,3802,3096,1958,2062,2056,1841,1671,1541,1669,1700,1652,2003,2453,2585,2198,1807,1720,1839,1730,1535,1572,1655,1669,1886,2370,2066,1958,1871,1993,1746,1812,1664,1586,1506,1626,1823,2076,2091,1798,1578,1510,1482,2268,2356,1819,1569,1681,1755,1743,1763,1449,1093,1204,1414,1561,1676,1979,1938,2075,2477,2020,1804,2070,1913,1875,2046,2392,2242,1647,1692,2073,2178,2811,3470,3186,2999,3131,3264,3241,3518,4028,4090,3926,3638,3308,3300,3375,3824,4236,4370,4532,4672,4663,4732,4515,3314,2152,2578,4001,4584,4616,4864,4978,4583,4307,4228,4104,4028,4153,4008,3825,3296,3028,3394,3833,3846,3647,3775,3786,3730,3762,2974,2223,2016,1794,1916,1866,1992,2046,2214,2068,2115,2268,2258,1891,1743,1754,1566,1534,1894,1792,1753,1756,1694,1668,1763,1944,2121,2057,1874,1881,2097,2403,2801,2745,2458,2432,2425,2061,2009,2037,1912,1966,1978,2040,2383,2481,2362,2227,2416,3044,3663,3626,3293,3225,3839,4057,3934,3517,3492,3461,2206,2407,2742,2474,1892,1751,2174,2308,2187,2285,2950,3296,2801,2071,1784,2093,2250,2537,2734,2416,2618,2483,2623,2689,2618,2115,1621,2310,2621,2310,2222,1931,1660,1835,2578,2732,2114,1678,1559,1493,1464,1438,1526,1350,1548,1479,1864,2633,2784,2377,2390,2382,2809,3417,3326,3237,3308,2913,1894,1167,1741,2687,1993,1756,1876,1887,1962,1924,1968,1962,1930,1918,2185,2532,2768,2423,2104,2136,1957,1649,1586,1666,1616,1686,1594,1874,2935,3151,2053,1678,1780,1714,2095,2111,2632,2987,2140,1965,2257,2005,2091,2154,2017,2536,2224,2294,2471,2688,2508,2460,2800,2610,1932,1779,1789,1861,2410,2358,2959,3451,3285,3197,2996,2776,3110,2846,2392,2124,2184,2297,2654,2791,2540,2522,2252,2065,2027,1807,1969,2644,2706,2985,3078,2463,2380,2034,2165,1785,1557,1569,2170,2527,2208,2106,1887,1560,1668,2243,1995,2355,2248,1824,1881,1924,2309,2901,2980,2449,2696,3249,2832,2357,2562,2712,2463,2909,3397,2491,1865,1954,1765,1956,2388,1886,1169,1609,1970,2181,2776,3019,3616,3754,2388,2314,3201,3417,3012,2709,2691,2538,2634,2903,2863,2954,2956,2824,2364,2036,1966,2056,2438,3190,3442,3484,3597,3338,2964,2888,2984,3328,3253,3163,3020,3021,3683,3418,3352,3002,3829,4305,3820,3115,2828,2373,2190,2561,3066,2865,2812,2317,1973,2050,1509,2454,2326,2147,2497,2292,2310,2846,3152,2973,2705,2890,2646,2699,3183,3670,3294,3082,2673,2475,2699,2589,2241,2369,2915,2902,2570,3275,3858,3936,3817,3226,2165,2230,2811,2990,2754,2724,2797,2767,3016,3178,2957,3397,3554,3371,3453,3443,3279,3108,2921,2975,3141,3212,3401,3582,3996,3990,3738,3387,2696,2730,2821,2941,3269,3454,3135,2705,2673,2575,2336,2473,2877,2985,2222,2403,2518,2063,2010,2042,2226,2941,3286,2521,1693,1897,1964,2502,2699,2645,1904,1608,2213,2603,2480,2818,3028,2148,2568,3016,2685,2479,2442,2391,2924,3322,2827,2067,1809,2231,2999,3162,2975,2626,2090,1944,1892,1743,2130,2119,2056,1962,1936,2119,2038,1856,1930,1894,1544,1794,2074,2410,2387,2351,2810,3008,3186,3316,3008,2778,2711,2909,2973,3001,2953,3096,2639,2619,2786,3022,2728,2229,2588,2657,2763,3583,3154,2558,2496,2543,2543,2525,2338,2213,2127,2020,1876,1998,1908,1769,1815,2003,2880,3090,3007,2971,3047,3157,3104,2580,2249,2451,2166,2446,3508,3558,3294,3458,3742,3541,3648,4116,4256,4192,3812,3349,2724,2297,2057,2280,2539,2745,3065,3202,2976,2854,3002,3107,2734,2499,2793,3621,2990,2666,2610,2733,2872,3146,3356],[3075,3001,2697,3232,3309,3297,3022,3364,3372,3205,3211,3436,3572,3009,2735,3087,3594,3062,3840,3902,3259,3128,3226,3318,3618,3777,3459,3146,2391,1840,1902,2532,3068,3082,3204,2829,2209,2449,2977,2987,2995,2988,2753,1799,1587,1910,2933,2986,3459,3588,3543,3167,2418,2486,3168,3407,2872,3627,3263,3367,3627,3611,3472,3594,3139,2763,2553,2280,2394,2716,2150,2008,2382,2183,3183,2622,1996,2264,2623,2118,1990,2098,2510,2698,1907,1851,1993,2229,2023,2148,2411,3040,3463,2932,2692,3104,2993,2620,2456,1989,2303,2181,2267,1790,1903,2692,3094,2855,2335,2104,2448,2354,2047,2679,2815,2225,2400,2378,1971,1844,2069,1814,1727,2003,2460,2919,3248,2931,2135,2490,3363,2761,2221,2040,1816,1879,2056,2257,2592,2754,2468,2517,2763,2486,2045,1680,2106,2226,2524,2263,2227,2141,2268,2050,2304,2912,3100,3171,3091,2833,3007,3277,2580,2272,2072,1850,1680,2119,2504,2331,2142,2405,2760,2258,2094,2024,2105,2366,2375,2957,3421,3806,3276,2209,2091,1983,1638,1954,1988,2415,3185,2279,2041,2042,2750,3355,3460,3628,3300,2139,2619,3156,3283,3078,2613,2299,2009,2263,2752,2087,2349,3068,2718,3010,2866,2406,2713,2540,2234,2221,1810,1624,1601,1390,1729,1896,1710,2153,2330,2163,2207,2093,1556,1599,1433,1374,1440,1554,1666,1465,1525,1828,1918,1534,1508,1727,2386,2368,2158,2286,2048,1816,1881,2235,2396,2548,2085,1593,1620,1728,1653,1726,1901,2372,2208,2098,1938,1773,1692,1850,1731,1547,2067,1665,1477,1902,1824,1653,1660,1607,1526,1457,1434,1499,1725,1897,2085,2260,2366,2399,1925,2982,3245,2611,2429,2336,2259,2364,2009,1934,2123,2623,2424,2710,2669,1918,1520,1557,1625,1914,1953,1843,2518,3436,3401,2964,2032,1675,1399,1555,1674,1995,2349,2201,1676,1914,1830,1676,1775,2023,1920,2052,1870,1923,1891,2625,3012,2502,2055,1803,2113,2099,2411,2071,2178,3023,2647,2097,1714,1408,1316,1599,2186,1955,1603,1657,1747,1595,1598,1781,1938,1600,1429,1609,1650,1582,1870,2532,2352,2292,2273,1843,1903,1919,1787,1814,1850,1684,2102,2917,2699,2555,3143,2390,2381,1988,2332,2238,2007,1749,2111,2002,1842,2035,2084,1982,2415,2747,2051,1743,1606,1543,1785,2101,2248,1826,1688,1824,1815,1376,1207,1407,1681,1491,1068,1228,1631,2334,2742,2884,3027,2554,2477,2509,2260,2437,2828,2451,2645,2636,2505,2089,1639,1884,2331,2260,1708,1688,1949,2002,1905,1831,2100,2629,2237,2131,2342,2506,2337,2246,2327,2453,2352,1894,1463,1122,1232,1267,1270,1334,1058,905,880,928,982,1034,1175,1198,1242,1441,1516,1519,1689,1521,1364,2286,2222,1783,2270,2377,2304,2500,2957,3333,2627,2175,1940,1941,1854,1710,1675,2185,2121,1712,1809,1865,1857,2032,1895,1598,1627,1876,2155,2258,1808,1902,1869,1785,1958,1765,1632,1831,1730,1770,2209,1886,2472,2977,2372,1587,1464,1965,2515,2431,2202,2094,1653,1494,1556,2323,3006,3106,2999,2185,1738,1906,1604,1350,1532,1930,2500,1947,1964,2473,2029,1722,1671,1843,1735,1653,1703,1934,2618,2824,3006,2944,3504,3482,3283,2572,2416,3003,3016,2677,2213,1880,1849,2123,2357,2292,2791,2081,1729,1707,1744,2145,2032,2367,2541,2111,2022,2186,2452,2131,2103,2473,2570,3120,3615,2663,2243,2778,2991,2690,2610,2703,2084,1761,1582,1462,1483,1721,2268,2058,1611,1601,1917,1960,1614,1949,2459,2217,2273,1841,1536,1743,1814,1665,2185,2394,2061,1799,1656,1724,1667,1671,1688,2010,1948,2014,1700,1709,1816,1823,1615,1646,2112,2245,2036,2173,2442,2889,2518,2602,2216,2420,2667,2577,2373,2058,1830,1686,1887,1928,1567,1498,1507,1323,1754,2024,1937,1653,2058,2240,1820,1836,1384,1416,1561,1319,1655,2100,2366,2386,2208,2326,2364,2288,2315,2232,1872,1488,1547,2029,2807,2486,2020,1720,1594,1596,1499,1928,2256,2280,2597,2062,2090,2028,2372,2049,1714,1566,1597,1758,1610,1668,2066,1989,2156,2820,2798,1829,1847,2009,1907,1850,2534,2909,2816,2641,2485,2622,2544,1907,1979,2615,2702,3151,3660,3687,3731,3480,3051,2574,1790,1636,1908,2632,3606,3212,3334,3306,3240,3254,3334,3295,3466,3602,3386,3153,3039,3068,2459,2324,2744,2490,2303,2565,2799,2430,2306,2734,2605,1783,1870,2231,2384,2206,2062,1884,1742,1870,1772,1581,1610,1607,1484,1514,1527,1665,1917,1703,1780,1676,1597,1901,2062,1783,1754,1962,2092,2192,2003,1686,2018,2589,1699,1746,2403,2651,2260,1815,1889,1888,1998,2166,1961,2410,2785,2723,2178,2144,2375,1868,1681,1538,1250,1223,1604,1823,1783,2172,1955,1591,1826,2260,1979,2042,1818,1976,1650,1968,2291,2584,3207,3208,2632,1898,1580,1774,2813,2873,2954,3040,3176,2950,2661,2341,2136,2294,2575,2468,2288,2316,2390,1890,1413,2135,2719,2409,2189,2377,2855,2755,2481,2473,2808,3091,3201,2955,3094,3287,3684,4047,4247,4291,3593,2575,2080,2298,2518,2423,3160,3329,3182,3278,3626,3613,3391,3448,3598,3642,3676,3490,3683,3618,3536,3578,3641,3703,3521,3363,3686,4049,4018,4027,3874,3890,4059,4090,3901,3729,3627,3639,3037,3405,4143,4320,4549,4465,4161,4065,3924,4063,4276,3957,3851,4209,4409,4440,4140,4264,4560,4693,4542,4260,4126,3970,3864,3993,4017,4188,4211,4168,3803,3450,3308,3224,3459,3935,4336,4156,3985,3979,4019,4161,4003,4040,3904,3935,4188,4127,4067,4020,4107,4111,4244,4171,4132,4047,3604,3387,3386,3119,2852,2735,2279,2762,3474,3338,3254,3296,3355,3521,3749,4018,4276,4440,4616,4716,4408,4231,4364,4288,4738,4560,4856,5053,4721,4598,4596,4198,4327,4608,4588,4651,4271,3913,3985,4228,4151,3779,3528,3422,3117,2403,2115,2046,1986,2203,2475,2647,2451,2083,2009,1896,2438,2737,2335,2373,2535,3028,3350,2625,2417,2814,2762,2330,2146,1752,1710,1556,1452,2035,2246,2150,2133,2064,1973,2058,1862,2541,2776,2746,2796,2669,2230,2313,2375,1957,1967,2618,2821,3060,3916,3796,3682,3859,3453,3300,2481,1687,1977,2289,1992,1493,1465,1483,1545,1679,1841,2023,1874,1758,1923,1897,1704,1545,1501,1467,1443,1655,2001,2121,2027,2025,2077,2055,2414,2488,1821,1412,1724,2083,1930,2497,2542,1858,1549,1549,1504,2259,2508,1922,1545,1593,1725,1900,1762,1635,1461,1519,1505,1305,1470,1849,2100,2652,2866,2219,1692,1722,1923,2048,1842,2103,2097,1937,2633,2338,2116,3035,3552,3469,2829,2654,3207,3697,3816,4309,4078,3660,3405,3484,3453,3359,3121,3155,3888,4551,4673,4783,4842,4628,3806,2350,2940,4330,4421,4227,4604,4731,4547,4206,4227,4155,4140,4121,3484,3291,3003,2807,3188,3299,3186,3132,3182,3298,3130,2915,2708,2876,2208,2041,2169,2030,2054,1913,2181,2358,2073,2115,2271,2004,1797,1788,1570,1407,1582,2127,2050,1698,1614,1691,2160,2335,2226,2558,2346,2062,1737,2268,2518,2338,2392,2426,2335,2056,2109,2210,2154,2344,2275,2278,2313,2291,2237,2203,2441,2943,3687,3824,3244,3143,3599,3714,3871,3933,4089,3764,2496,2727,2776,2463,2000,2073,2477,2603,2526,2459,3123,3361,2956,2015,2197,2567,2814,2677,2503,2806,3285,3279,2995,2799,2755,2659,1809,2036,1983,1972,1759,1713,1814,1503,1583,1792,1641,1624,1586,1745,1570,1519,1606,1587,2149,2338,2885,3204,2962,2447,2293,2629,3124,3275,3051,3284,3554,2746,1871,1309,1805,2349,1958,2271,2765,2534,1886,1737,1785,1810,1754,1825,2181,2392,2396,2243,2051,1932,1766,1620,1634,1656,1588,1715,1671,1686,2684,3196,2224,1694,1816,2075,2178,2301,2344,2149,1859,1868,2133,2161,2448,2561,2361,2309,1981,2447,3132,2865,2424,2380,2181,2497,2197,2050,2141,2345,2811,2852,3372,3213,2806,3122,3060,2899,2720,2197,2146,2086,2521,2382,2125,2039,1837,2342,2652,2423,2187,1742,2152,3111,2674,3096,2976,2527,2526,2368,2338,1855,1403,1624,2264,2170,2323,2328,1680,1401,1545,1815,1722,1734,1732,1683,1618,1724,1707,1998,2750,2522,2662,2707,2309,1995,2313,2735,2798,2648,2219,1825,1704,1867,1708,1832,2110,1970,1844,2652,2441,2036,2361,2617,3407,3395,2303,2335,2975,2588,2444,2374,2222,2246,2579,2754,2928,3098,2983,2826,2723,2522,2217,2055,1926,2236,2656,3285,3608,3594,3283,3215,3704,3824,3510,3504,3484,3264,3739,3737,3917,3730,4049,4242,3585,2755,2211,2330,2234,2152,2416,2271,2176,1838,1964,2609,1800,2064,2361,2078,2090,2304,2562,2864,2462,2319,2770,3204,2700,2831,3203,3908,3747,2648,2366,3240,3079,2901,2806,2945,3262,3028,2992,3537,3897,3951,3362,2450,1739,1282,1864,2469,2522,2967,3034,2320,2429,2595,2394,3184,3610,3388,3266,3131,2712,2082,2158,2867,3455,3530,3694,3854,3693,3198,2736,2688,2606,2578,2957,3317,3515,3338,2734,2358,2446,2588,2127,2080,2327,2315,2255,2461,2336,1813,1641,1747,1780,2645,2940,2242,1759,1871,2462,2736,2666,2874,2626,2119,2440,2563,2407,2591,2775,1912,2648,3155,2811,2776,2663,2701,2933,2757,2105,1689,1840,2108,2348,2467,2256,2303,2584,2570,2280,2379,2532,2558,2510,2084,1990,2013,1831,2026,2082,1802,1572,1420,2171,3217,3119,2810,2886,2844,2957,3106,2951,2722,2762,2837,2508,2509,3028,2937,2265,2196,2822,3082,3127,3377,3496,3295,3262,3272,2805,2413,2341,2478,2844,2916,2733,2565,2446,2408,1804,2017,2073,1912,1845,2440,2986,2958,2764,2498,2564,2785,2983,2490,2257,2636,2232,2698,3702,4091,3949,3772,3817,3761,3738,3656,4015,4676,4161,3509,2484,2248,2070,2406,3090,2814,2784,2894,2654,2440,2824,3125,2818,2743,2969,3219,2806,2785,2767,2915,3250,3569,3607],[3287,3083,2934,3228,3093,2786,2763,3117,3480,3393,3055,3376,3410,3044,2910,2856,2984,3087,3486,3450,3373,3124,2728,2801,3076,3477,2820,3173,3288,2773,2662,3161,3422,3391,3431,3212,2689,2678,2949,2598,2554,2641,2280,1700,1522,2216,3108,3454,3850,3646,3576,3332,2281,1960,2876,3728,3604,2971,2118,2857,3327,3139,2885,3252,3475,2952,2604,2213,1867,2210,2386,1785,2216,2177,2031,2603,2666,2575,2643,2400,2070,2188,2024,2261,1844,1661,1717,1748,1580,1607,1902,2588,2940,3018,3592,3752,3580,3171,2610,2237,2245,1992,2245,2003,2230,2807,3296,3511,2871,1990,2374,2729,2092,2374,2423,2409,2040,1673,1713,2070,2268,2013,1914,2183,2425,2598,2708,2399,2341,2125,2066,1771,2050,2306,2425,2486,2416,2337,2732,3088,2698,2761,3178,2896,2236,1706,2094,1914,1328,1510,2154,2507,2595,2263,2404,2249,3374,3543,3350,2379,2098,2533,2200,1843,2188,2205,1841,2389,2740,2019,1909,2486,2626,2285,2164,2271,2211,2389,2654,3220,3798,3913,3365,2663,2286,2369,2090,2092,1863,1714,2261,2508,2422,2388,3032,3198,3363,3342,2930,2633,3253,3540,3575,3237,2830,2309,1909,1953,2353,2517,3038,2807,2817,3287,2398,2225,2511,2531,2182,1726,1361,1441,1730,1815,2124,2754,2060,1943,2362,2554,2822,2303,1905,1762,1778,1795,1676,1799,1736,1466,1500,1674,1934,1577,1658,1753,2188,2019,2051,2547,2718,2271,1990,2196,2018,2395,2258,1771,2143,1966,2064,1914,1864,2491,2757,1909,1476,1603,1776,1909,2121,2003,2484,1935,1328,1610,1729,1742,1737,1495,1455,1516,1425,1410,1745,1897,1802,1752,1870,1920,2294,2966,3157,2727,2442,2331,1835,1859,1832,1721,2182,2541,2200,2656,2646,2094,1599,1587,1612,1613,1786,1471,1844,2548,2345,2552,2452,1853,1564,1707,2118,2237,2205,2189,1514,1578,1582,1841,1685,1976,2467,2211,2335,2632,2024,2449,2799,2496,2610,2646,2695,2799,2818,2009,2182,2778,2342,1969,1694,1505,1404,1872,2751,2285,1697,2041,1787,1671,1694,1876,1616,1389,1694,1580,1412,1593,2178,3020,2834,2802,2264,1850,1948,1716,1625,1598,1603,1543,1754,2211,2212,2186,2410,1554,1819,2020,2898,2777,1910,1756,1860,1959,2041,2308,2821,2786,2807,2698,2204,1714,1743,1668,1688,2205,2086,1649,1560,1333,1112,1064,980,1020,1324,1189,866,1033,1746,2266,2332,2489,2786,2988,2559,2608,2647,2977,2734,2119,2098,2278,2465,1907,1268,1580,2227,1969,1522,1594,1986,2379,2006,1810,1772,1746,1883,2273,2561,2427,2104,2002,2144,2387,2363,1953,1630,1235,1150,1153,1262,1225,986,963,990,981,972,1115,1494,1546,1087,1098,1296,1501,1428,1468,1392,1744,2008,2313,2524,2198,2414,2736,3016,2919,2156,2081,2116,1785,1573,1650,1862,2137,2008,1864,2022,2240,1890,1687,1886,1700,1672,2004,2194,2202,2094,1947,1748,1938,1935,2036,1884,1933,1852,1880,2270,2121,2241,2657,2250,1621,1539,1677,2174,2540,2370,2350,2025,1791,1595,1941,2657,2874,2823,2122,1689,1752,1606,1767,1626,1775,2175,2232,2333,2113,1881,1755,1676,2020,2025,1975,1844,2192,3251,3344,3319,3307,3604,3647,2602,2032,2228,2220,1949,1758,1542,1656,1672,2060,2380,2313,2438,2136,2070,1990,1760,2014,2210,2427,2380,2640,2898,2812,2508,2391,2320,2542,2358,3035,3660,2889,2665,3098,2802,2667,2814,2398,2159,2051,2083,1686,1777,2093,2255,1762,1625,1841,1830,2020,1755,2054,2734,2858,2431,2017,1899,1705,1570,1796,2036,1844,1760,1781,1975,1806,1727,1840,2031,2124,1926,1747,1849,1955,1837,1895,1919,1818,1894,1739,1944,2334,2464,2601,2539,2524,2500,2770,2722,2705,2662,1998,1782,1653,1973,1616,1355,1640,1787,1870,1819,1801,1900,2000,2293,1941,2022,2452,2354,1918,1694,1530,1616,1860,1946,1948,1892,1829,1853,1785,1666,1830,1922,1797,1748,2187,2609,2386,2356,1921,1638,1780,1785,2098,2137,1749,1874,1847,1639,1876,2210,1702,1533,1550,1435,1510,1444,1860,2442,1951,2025,2591,2271,1580,1857,2281,1971,1908,2323,2487,2580,2264,2257,2500,2254,1685,1631,2066,2391,2634,2807,2918,3234,3185,2808,2841,2530,2160,2366,2942,2963,2998,3435,3438,3391,3410,3386,3355,3543,3640,3363,3413,3435,3141,2712,2807,3186,3183,3016,3273,3097,2482,2275,2566,2565,1773,1782,2007,2089,1890,1892,1864,1710,1687,1643,1472,1419,1578,1748,1833,2070,2169,1886,1589,1657,1642,1781,1869,1902,1982,2014,1896,1763,2148,1688,1699,1980,2126,1702,2456,2703,2586,2277,1747,1660,1453,1468,1598,1412,1838,2457,2281,2624,2792,2370,1896,1704,1403,1160,1274,1782,1786,1880,2337,1609,1497,1744,1766,1802,1858,1859,2061,1899,1644,1884,2378,3071,3362,2791,2172,2089,2414,2955,2666,2642,2847,2712,3220,3276,2633,2394,2381,3001,2235,1659,1599,1770,1617,1290,1792,2412,2530,2534,2286,2677,2784,2024,2064,2435,2919,3044,2989,3168,3328,3673,3959,4260,4323,3359,2302,2635,2894,3283,3366,3676,3642,3183,2994,3472,3662,3542,3496,3496,3508,3693,3517,3675,3585,3542,3604,3663,3672,3609,3657,3981,4187,4048,3972,3718,3745,4016,4157,4157,4036,3968,3838,3096,3165,4034,4281,4483,4507,4156,4183,4236,4267,4251,4160,4028,4152,4256,4139,4052,4276,4247,4384,4396,4175,3979,3906,4040,3968,4140,4157,3884,4048,4108,3539,3372,3691,3803,3575,4116,4128,4029,3993,3946,3958,3880,3864,3630,3707,3861,3727,3926,4036,3871,3981,4107,4024,3814,3631,3340,3207,3178,3104,3034,2677,2552,3228,3305,3377,3228,3296,3063,2973,3287,3776,4152,4359,4616,4732,4808,4599,4600,4688,4488,4844,5053,5096,4897,4760,4897,4705,4424,4580,4712,4737,4296,4136,4376,4644,4764,4431,3824,3243,2620,2139,2066,1958,2143,2103,2226,2455,2382,2513,2601,2740,2954,2656,2180,2355,2719,2722,2876,2665,2254,1932,1858,1960,2126,1757,1549,1455,1400,1742,2054,1855,1658,1892,1929,2229,2800,3292,3206,3165,3312,2764,1951,2150,2567,2252,2226,2617,2470,2883,3753,3824,3476,3561,3424,2710,1998,1493,1463,1709,1790,1463,1470,1669,1738,2015,2001,2121,1708,1665,2092,1952,1738,1698,1614,1583,1720,1910,2059,2337,2546,2648,2170,1864,2138,1788,1605,1414,1558,1768,1842,2579,2376,2078,2053,1735,1519,1971,2442,2222,1926,1630,1735,1874,1774,1763,1564,1346,1281,1375,1536,1616,1748,2066,2503,2507,2137,1871,1678,1642,1704,2046,2137,2629,2852,2053,2126,2291,2367,3172,3104,2389,3420,3886,3688,4105,3916,3479,3510,3615,3662,3658,3066,2877,3310,3812,4664,4936,4830,4603,4037,2878,3060,3388,2951,3429,4283,4498,4708,4399,4372,4200,4078,3554,2844,2679,2640,2645,2907,2973,3043,3122,3021,3214,2908,2396,2709,3264,2766,2487,2504,2615,2308,2030,2616,2947,2644,2159,2052,2012,1844,1815,1616,1653,1704,1947,1912,1758,1713,2027,2442,2099,2186,2664,2136,1793,1650,2184,2138,2213,2537,2692,2710,2267,2493,2742,2439,2339,2364,2536,2567,2713,2624,2374,2589,2989,3544,3685,3032,2829,3306,3799,3816,3829,4010,3575,2734,3000,2843,2557,2546,2168,2352,2836,3010,2902,3362,3297,3181,1838,2155,2897,2940,2749,2766,3031,3340,3054,2447,2770,2626,2466,1569,1658,1959,1821,1508,1462,1538,1543,1758,1693,1756,1574,1452,1712,1424,1606,1611,1712,2002,2449,3099,3159,3084,2990,2744,2773,3127,3068,2945,3128,2931,2036,1887,1981,2104,2009,1681,1717,2199,2581,1705,1646,1676,1734,1898,2037,2238,2347,2165,1999,1836,1755,1680,1914,1754,1545,1579,1596,1649,1633,1782,1721,1594,1548,1710,2016,2177,2750,2856,2864,2383,2004,2202,2229,2564,2517,2623,3182,2928,2856,3156,2426,2126,2440,2442,2484,2656,2187,2018,2498,2564,2390,2995,3094,3366,3440,3420,3300,2555,2064,1646,1505,2316,2240,1880,1886,2035,2511,2274,1874,1649,1559,2006,2521,2540,3278,3042,2524,2518,2437,2010,1598,1426,1475,1849,1731,2226,2054,1670,1542,1453,1599,2022,2009,1936,1844,1694,1538,1488,1760,2402,2067,1971,1826,2058,2807,3363,3365,3070,2400,1521,1537,1535,1526,1445,1653,1794,1894,2214,3119,3238,2486,2179,2211,2773,3099,2519,2036,2874,2494,2460,2359,1976,1822,2037,2216,2534,3029,3041,2861,2742,3025,3008,2592,2147,1968,2053,2426,2924,3654,3917,3679,3891,4023,3780,3804,3876,2698,2017,2696,3388,3032,3143,3486,3228,2162,1579,1906,1745,1315,1353,1604,1672,1815,2502,3082,2308,2019,2459,2362,2461,2585,2470,2542,2372,2437,2411,2820,3103,3344,3532,3819,3518,2342,2364,3321,2398,2357,2820,2670,3138,3682,3702,3060,2896,3633,3142,2124,1600,1220,1464,2124,2790,2887,2949,2450,2302,1967,2054,2833,3129,2944,2815,2811,2188,1627,2161,2874,3299,3076,2876,2780,2276,2431,2874,3188,3075,2986,3072,3113,3066,2654,2620,2841,2604,2335,2381,2316,2247,2652,2532,2061,1948,1576,1666,1937,1792,1843,2408,2900,2142,1796,2306,2595,2431,2626,2576,2178,2564,2775,2513,2850,2493,2107,2668,2877,2958,2958,2597,2438,2424,2438,1644,2134,2320,2517,2882,2837,2670,2853,3432,3233,2934,3252,3331,3022,2958,2522,2652,3066,2774,2648,2292,1926,1643,1864,2822,3387,3452,3315,3264,3160,2954,2998,3194,3061,2984,2877,2898,3167,3296,2915,2740,2851,2617,2774,3218,3481,3339,3199,3283,3011,2620,2940,3082,2630,2421,2276,2305,2551,2691,2872,2402,2413,2402,2083,2149,2988,3321,3153,2887,2681,2448,2580,2958,2866,2274,2634,2558,3076,3738,3890,3793,3704,3703,3936,3848,3701,4188,4688,4341,3517,2080,1834,2098,2575,2876,2497,2698,2921,2806,2583,2840,3196,3193,3369,3278,2622,2590,2904,3015,3275,3480,3772,3438],[3086,2955,3190,3084,2778,2873,3107,3317,3515,3441,3248,3109,3375,3318,3027,2777,2661,2666,2631,3095,3431,3025,2431,2461,2754,3172,2994,3363,3393,3221,3454,3584,3631,3714,3733,3752,3029,2383,2330,1990,2255,2639,2470,1852,1772,2268,2968,3716,4067,3752,3726,4005,2942,2314,2763,3393,3481,2723,1783,1859,2113,1998,2116,2770,3100,2397,2130,1937,1921,1877,2182,2061,2421,2280,1835,1974,2122,2125,2082,2230,2510,3389,2168,1814,1964,1748,1568,1702,2111,2256,2337,2766,2773,2861,3297,3808,3855,3552,2791,2387,2025,1964,2139,2315,2919,3484,3489,3642,3244,2125,1806,2126,2290,2210,2244,2078,1899,1952,2278,2477,2270,2084,1980,2124,2004,2272,2059,1951,2397,2426,2002,1933,2222,2561,2795,2574,2602,2343,2193,2596,2735,2712,3017,2841,2319,1784,1943,2228,2027,2266,3200,3140,2323,2045,1772,1856,2453,2777,2901,2315,2709,2976,2643,2461,2393,2194,2136,2579,2401,1793,1958,2410,2315,2014,1935,1985,2217,2625,2700,2950,2779,2811,2676,2500,2223,2091,2044,2679,2194,1798,2412,3198,2634,2114,2381,2916,3117,2499,2460,2994,3752,4012,3751,3630,3181,2742,2485,2316,2407,2416,2890,2892,3461,3776,2744,2336,2603,2438,1905,1719,1550,1654,1899,1796,2081,2809,2398,1937,2084,2587,2652,2209,1821,1777,1919,1901,1999,2039,1692,1585,1709,1780,1549,1576,1874,2046,2037,2231,2654,2623,2543,2161,2126,1910,1736,1728,2041,2359,2289,1950,1852,1761,1790,2303,2441,1439,1128,1405,1667,1712,1771,1895,2088,1926,1558,1588,1709,1820,1906,1744,1674,1677,1349,1439,1845,1896,1624,1529,1519,1596,1992,2120,2242,2446,2608,2220,1698,1663,1730,1566,1640,1881,1771,1686,1849,1731,1430,1625,1626,1668,1767,1676,2137,1876,1448,1737,1829,1789,1949,1968,1883,1977,1767,1710,1594,1757,1997,2299,2031,2069,2283,2319,2989,2966,2136,2281,2563,2878,2945,2949,2603,2916,2407,1917,2258,2088,1768,1823,1729,1505,1395,1554,1808,1608,1638,2428,2133,1805,1737,1835,1538,1523,1937,2008,1592,1810,2724,2702,2834,2802,2424,2166,1804,1677,1566,1466,1626,1590,1650,1763,1741,1709,1365,1250,2009,2199,2519,2323,1693,1366,1728,2207,2019,2388,2612,2598,2339,2213,2313,1998,2024,1913,1744,1905,1853,1370,1161,965,929,1001,1267,1260,1252,1164,1158,1340,1787,2109,2209,2128,1973,2177,2156,2378,2681,3242,2536,1769,1934,2390,2375,1916,1440,1471,1967,1896,1967,2091,2140,2084,1613,1559,1532,1529,1809,2166,2207,1944,1840,1823,1871,1994,1847,1788,1826,1471,1076,1160,1390,1157,989,1136,1161,1077,1072,1104,1244,1395,1200,1124,1334,1368,1493,1662,1606,1808,2060,2214,2077,1583,2044,2594,2956,2423,2093,2135,2399,2210,1766,1797,1924,2007,1948,1698,1767,2047,2327,2491,2643,2359,2283,2030,1853,2127,2055,1742,1791,1838,1720,1805,1766,1799,1995,1964,1964,1934,2149,2668,2558,2041,1591,1753,2114,2508,2020,1993,2303,2259,2005,1848,1918,2384,2566,2080,1815,1593,1682,2014,1855,1624,1982,2433,2548,2164,2155,1866,1450,1687,1715,1684,1943,2140,2436,2466,2264,2223,2846,2878,1978,1862,1923,1735,1931,1717,1430,1575,1526,2047,2341,1831,1849,2209,2668,2439,1979,2303,1975,2197,2554,2769,2432,2641,2599,2546,2346,2210,2091,2551,3272,2973,2217,2341,2533,2458,2089,1909,2447,2308,2137,1820,1480,1713,1787,1401,1659,2079,1632,1863,2034,1925,2686,2893,2331,2031,1815,1779,1973,2034,1693,1646,1699,1936,2220,1879,2165,2060,1924,1814,1800,1782,1893,1986,1905,1883,1997,1960,2065,1707,2222,2500,2339,2592,2835,2666,2534,2724,2346,2574,2270,2062,1588,1531,1781,1449,1654,2066,1977,1908,1871,1646,1546,2058,2455,2296,2135,2386,2136,1799,2033,1824,1621,1630,1522,1751,1808,1621,1663,1699,1575,1934,2236,1889,2050,2497,2634,2611,2259,1883,1617,1853,1821,1841,1706,1762,1890,1657,1566,1776,1843,1577,1499,1475,1513,1568,1589,1902,2199,1553,1452,1944,1773,2017,2820,2916,2210,1881,2338,2502,2272,1763,1962,2131,1821,2018,2121,2087,2165,2261,2241,2405,2634,2568,2146,2391,2587,2333,2198,2186,2509,3470,3729,3434,3356,3405,3462,3450,3508,3654,3678,3637,3509,3187,2942,3035,3276,3219,3157,3140,2808,2413,2246,2232,2501,2052,1864,1842,2032,2074,1864,1641,1497,1403,1445,1516,1609,1719,1897,1986,2055,2078,1778,1555,1472,1558,1703,1664,1705,1869,2048,1882,2007,2525,2236,2301,2182,1743,1772,2179,2014,2254,2542,1897,1578,1614,1740,1279,1271,1487,1713,1762,2530,2801,2248,1863,1814,1698,1516,1659,2017,1726,1757,2053,1754,1811,2030,1881,1787,2101,2330,2574,2504,2498,2548,2889,3007,3061,2584,2451,2831,2813,2711,2727,2879,2709,2601,3375,3594,3039,2583,2194,2374,1963,1335,1300,1732,1794,1446,1714,2235,2558,2467,2381,2539,2701,1868,1990,2592,3032,3022,3222,3384,3444,3607,3802,3908,4085,3584,2943,3164,2889,3089,3237,3240,3512,3403,3161,3560,3723,3769,3482,3492,3530,3585,3761,3768,3598,3641,3651,3710,3798,3840,3947,4090,4026,3838,3754,3622,3658,4028,3863,3906,4014,3917,4007,3739,3290,3860,4309,4665,4869,4665,4508,4382,3958,4030,4094,3936,4167,4272,4155,4084,4189,4385,4278,3935,3750,3618,3670,3907,4048,3794,3390,3427,3862,4051,3906,3929,3874,4261,3623,3848,4220,3880,3819,4018,3996,3948,3753,3765,3881,3665,3925,4357,4212,3390,3671,4019,3638,3399,3555,3423,3218,3129,2664,2081,2554,3308,3453,3522,3355,3110,3089,2907,2930,3386,4153,4428,4394,4583,4660,4717,4841,4925,4821,4673,4705,4882,4940,4852,5048,5029,4644,4199,4543,4703,4796,4794,4615,4467,4628,4809,4705,4052,3047,2238,2091,1902,1947,2115,1972,1858,1799,1933,2429,2912,2924,2746,2788,2371,2191,2300,1884,2740,3061,2996,2511,2392,2674,2777,2331,1629,1603,1682,1803,1969,1569,1637,2242,3142,3622,3634,3604,3233,2975,3240,2767,1939,1921,2668,2854,2811,2953,2906,3405,3792,4016,3431,3018,3054,2664,2089,1616,1277,1395,1485,1417,1577,1646,1901,3038,3040,1955,1450,1532,1637,1582,1692,1680,1595,1545,1796,1954,2014,2490,2681,2860,2425,2118,2167,1991,1985,1743,1735,2069,2033,2415,2051,2070,2125,2053,1583,1695,1929,1793,1896,1714,1732,1700,1676,1696,1656,1405,1239,1453,1635,1549,1631,2069,2081,2017,1951,1841,1615,1743,1750,1954,1926,2179,2319,2151,1999,2092,1823,2544,3576,3406,4154,4131,3637,3805,3951,3639,3853,4096,4080,3980,3305,3637,4048,4254,4760,4949,4805,4685,4436,3408,2835,3294,3736,4124,4196,4344,4441,4215,4343,4211,3486,2850,2677,2629,2911,3373,3347,3082,3067,3132,2984,3248,3320,3145,3337,3685,3295,2732,2845,2911,2303,2417,2977,3109,3284,2420,2082,1964,1882,1687,1745,1840,1810,2006,2063,1813,1732,2115,2326,2258,2370,2633,2142,1861,1781,2166,2483,2766,2999,2999,3151,2425,2896,3204,2809,2392,2369,2351,2542,2679,2450,2477,2978,3209,3404,3474,3495,3114,3232,3582,3755,3836,3911,3021,2175,2453,2768,2894,2623,2460,2609,2500,2592,2657,2837,2765,2865,1743,1876,2645,2710,2616,2591,2823,3407,2897,2743,3106,2645,2019,1686,2141,2310,1925,1544,1410,1520,1782,1931,2016,2095,1852,1650,1859,1746,2070,2114,2038,2222,2250,2386,2758,3052,2939,2778,2668,3040,3031,2822,2945,2476,1897,2232,2486,2280,2100,1809,1757,2328,2553,1789,1530,1631,1698,1773,1879,2088,2086,1980,1987,1803,1896,1830,1892,1694,1854,1854,1721,1852,1778,1577,1549,1493,1541,1868,2518,3141,3608,3243,3046,2762,2699,2498,2229,2452,2068,2354,3182,3198,2509,2562,2198,2231,2344,2332,2357,2721,2399,1873,2529,2726,2394,3125,3109,3366,3045,3193,2700,2259,1960,1554,1408,1794,2054,2271,2636,2420,2302,1991,1740,1734,1712,1653,1721,2534,3418,3109,2753,2963,2500,2002,2334,1828,1633,1857,1801,2041,1873,1626,1703,1732,1830,2259,2318,2363,2005,1939,1658,1695,1806,2165,2248,2303,2032,2505,3105,3111,3309,3293,2942,1971,1655,1689,1534,1479,2272,2680,2438,2241,2385,2388,2286,2592,2185,2584,3371,3491,3063,3127,2887,2405,2091,1982,1978,2117,1902,2163,2808,2727,2803,2457,2832,3329,3141,2754,2430,2104,2016,2204,3002,3472,3462,3702,3694,3409,3763,3729,2647,1823,1925,2046,1748,1830,2567,3220,1823,1456,1472,1585,1228,1147,1765,2145,2386,2945,3068,2696,2241,2570,2553,2610,2581,2343,2560,2314,2233,2381,2684,3121,3520,3445,2823,2640,2271,2542,3460,3222,2666,2415,2387,2787,3312,3000,2502,3108,3603,3465,3371,2817,1837,1450,2471,3445,3333,2979,3031,2747,2102,2206,2632,3098,3059,2880,2864,2194,2177,2408,2895,3090,2773,2730,2876,2978,3231,3394,3373,3120,3200,3401,3402,3052,2677,2776,2775,2181,2290,2681,2273,2056,2326,2145,2007,1733,1760,1765,2096,2034,1652,2179,2922,2525,1603,1675,2012,1932,2052,2446,2928,3055,2863,2722,2917,2454,2417,2662,2590,2441,1899,1904,1963,2052,2242,2624,3295,3053,2994,3013,3389,3445,3198,3199,2863,3071,2919,3057,2911,3316,3207,3409,3163,3029,3150,2590,1946,1876,2559,2725,3019,3207,2753,2692,2920,2792,2701,2784,2935,2532,2262,3188,3714,3144,2712,2352,3118,3124,2689,2766,3077,3360,3137,3186,2820,2043,3011,3326,3002,2519,2708,2504,2566,2832,2689,2633,2687,2241,1856,2152,2800,3276,3537,3726,3605,3190,3178,3388,3230,3301,3271,2414,2730,3548,3567,3716,3818,3497,3750,4065,4096,4224,4067,3537,3187,2573,2365,2335,2523,2647,2340,2512,2874,2925,2909,2776,3466,3398,3204,3083,2525,2769,3210,3248,3491,3658,3615,3243],[3764,3505,3286,3172,2940,2809,3051,3387,3518,3785,3482,3127,3377,3232,2957,2577,2653,2878,3066,3374,3119,2773,2700,2522,3087,3122,3089,3430,3188,3018,3391,3453,3558,3686,3531,3820,3476,2811,2276,2065,2239,2666,2252,1648,1954,2584,3371,3814,4183,3928,3728,4062,2949,2711,2490,2857,3072,2798,2199,1547,1756,2005,1794,2092,2514,2048,1732,1664,1634,1671,1750,2017,2239,1975,1984,2454,2247,1874,1776,1976,2420,2938,2237,1789,1696,1640,1613,1748,1900,1755,2067,2756,2907,2955,2902,3374,3692,3772,3394,2779,2176,1996,2314,2879,3122,3059,3406,3594,3456,2712,1844,1583,1716,1687,1852,2160,2166,2348,2569,2200,2197,2165,1903,1958,1902,2151,1992,1973,2254,2399,2019,1904,2087,2582,3278,2933,2549,2120,1670,2050,2581,2367,2547,2851,2283,1674,1756,2426,2612,2474,2736,2626,2148,2275,1725,1865,1943,2410,2620,2494,2993,3209,2957,2973,3101,2910,2616,2397,2063,1913,2430,2549,2220,2052,2070,2213,2555,2808,2709,2950,2547,2117,1969,2039,2098,1896,2100,2404,2609,2104,2053,2526,2430,1869,2014,2769,2636,2486,3056,3458,3837,4097,4175,3993,3726,3252,2712,2459,2500,2681,2854,2929,3530,3676,2577,2371,3034,2374,1984,1880,1609,1734,2037,2308,1870,2117,2340,1910,1908,2322,2292,1979,2043,2083,1875,1723,2054,2461,2210,2037,2111,1853,1540,1565,1815,1877,1782,1970,2274,2432,2468,2608,2223,2009,1723,1454,1837,2034,1721,1709,1958,2050,1747,1890,1641,1317,1488,1599,1574,1581,1737,1835,1831,1882,1841,1866,1956,1851,2070,2050,1842,1670,1376,1504,1747,1581,1469,1472,1436,1678,1553,1464,1566,1609,1958,2196,1873,1732,1552,1927,2279,1861,1654,1656,1522,1495,1565,1677,1854,2120,1903,1779,2128,1787,1579,1820,1726,1917,2270,1977,1790,2268,1768,1466,1486,1798,2522,2492,2176,2053,1787,2074,2442,2712,3015,2566,3082,3146,2786,2227,2226,2416,2145,2018,1936,2168,1683,1707,1709,1480,1287,1315,1352,1950,2323,2090,1971,2242,2182,2062,1602,1493,1636,1992,1722,1869,2868,2343,2074,2127,2033,1827,1501,1546,1556,1434,1390,1543,1786,1712,1509,1602,1564,1803,2421,2400,1860,1904,2008,1895,1932,2082,2138,2064,1555,1781,1785,2098,2040,1725,1802,1714,1553,1632,1525,1118,965,926,889,814,1025,1178,1085,1118,1414,1532,1736,2197,2418,2073,1510,1382,1456,1732,2393,2720,2294,1937,2106,2270,2389,2459,1623,1202,1574,1628,1970,1995,1986,2014,1742,1374,1388,1600,1599,2093,2177,1936,1970,1955,1801,1830,1996,2025,1638,1321,1213,1232,1413,1440,1083,1192,1382,1367,1196,1097,1177,1377,1230,1093,1236,1359,1516,1514,1825,2275,2615,2268,1710,1506,2307,2823,2851,2543,2575,2677,2850,3160,2800,1917,1676,1861,1836,1550,1911,2422,2851,3006,2678,2466,2439,2161,1881,2263,2316,1900,1802,1802,1976,1724,1693,1744,2130,2255,1925,1649,1908,2150,2326,2117,1577,1586,1876,2040,1931,2285,2468,2276,2316,1966,1668,1770,1848,1879,2189,2364,1924,1793,1880,1662,1677,2150,2320,2212,2226,1841,2046,2353,2209,2325,3068,2181,1639,1768,1993,1846,2130,2337,2004,1847,1953,1995,2210,1801,1489,1409,1491,2055,2067,1495,1654,2035,2282,2288,1958,2088,1929,2195,2700,2993,2525,3000,3050,2557,2333,2081,2240,2828,3193,2929,2054,2031,2103,2497,2264,2061,2153,1675,1843,2057,1665,1527,1611,1473,1848,1891,1614,2056,2821,2768,3168,3133,2379,1778,1758,2321,2426,1998,1628,1832,1666,1854,1895,2429,2648,1932,1964,2063,2048,2563,2728,2686,2521,2045,1952,1894,1829,1916,2344,2536,2569,2600,2787,2706,2525,2245,1950,2384,1841,1565,1554,2043,1852,1413,1961,2441,1930,1623,1807,1692,1553,1943,2441,2435,1795,1954,1897,1698,1855,1720,1509,1428,1527,1864,1838,1618,1428,1492,1698,1768,1868,1866,1958,2094,2161,2259,2286,2328,1824,1881,2008,1679,1595,1968,1794,1497,1773,1987,2086,1663,1731,1659,1710,1655,1516,1649,1996,1898,1702,1510,1664,2408,2321,2395,2499,2025,2247,2598,2461,2127,2313,2420,1804,1925,2341,2002,1537,1996,2434,2353,2142,2575,2397,2030,2416,2886,2988,2844,3214,3799,3740,3450,3421,3455,3471,3490,3572,3521,3498,3395,3466,3509,3394,3353,3263,3091,2841,2656,2611,2685,2281,2072,2236,2009,1936,1780,1676,1671,1559,1640,1725,1656,1652,1965,1910,1811,2000,2117,2077,2066,1841,1577,1505,1558,1458,1482,1734,1890,2148,2125,2636,3009,2559,2048,1952,2210,2195,1682,1826,1946,1693,1367,1790,2482,2367,1681,1330,1450,1530,1941,2488,2460,2042,1891,1605,1673,1465,2141,2511,1866,1836,1876,1817,1859,1960,1856,2002,2502,2475,2614,2651,2783,2792,3066,2939,2686,2857,2890,2735,2657,2830,2909,3033,2875,2944,3443,3452,2943,2399,2483,2803,2570,1796,1710,2040,1792,1694,2303,2548,2835,2676,2584,2474,2346,1848,1866,2758,3218,3138,3084,3066,3298,3551,3692,3707,3745,3657,3551,3503,3110,2915,2630,2143,3279,3887,3476,3714,3794,3814,3713,3672,3616,3569,3737,3737,3736,3685,3698,3790,3817,3906,4033,4119,3846,3692,3790,3959,3719,3756,3893,3921,4145,4245,4108,4168,4331,4589,4821,4868,4836,4678,4484,4324,4124,4208,4068,3994,4273,4292,4460,4325,4111,4456,4140,3665,3825,3989,3901,3995,3840,2907,2623,3247,3994,4212,4034,4018,4319,4539,3791,3492,3598,3491,3573,3798,3965,3839,3526,3573,3619,3720,3924,4248,4023,3618,3471,3132,2762,2880,3008,2902,2752,2413,2129,2624,3607,3594,3487,3479,3196,3288,3367,3162,3162,3384,3972,4476,4396,4154,4119,4400,4807,4951,4883,4660,4318,4481,4760,4928,5071,4759,4533,4275,4619,4735,4570,4611,4642,4448,4384,4480,4399,3681,2496,2030,1977,1939,2143,1888,1654,1847,1560,1548,2151,2543,2389,2424,2586,2425,3045,2959,2699,2820,2431,2867,2790,2800,2690,2232,2491,2040,2008,1895,2039,2008,1927,2030,2398,3045,3321,3185,3538,3373,2641,2976,3138,2818,2916,3593,3319,2758,2823,3345,3719,3912,4255,3985,3427,3216,2830,1833,1459,1419,1529,1345,1329,1478,1490,1832,2790,2658,1608,1350,1426,1456,1520,1638,1722,1744,1682,1710,1809,1830,2116,2550,2609,2414,2380,2689,2837,2586,2577,2586,2619,1965,2097,2585,2457,2571,2630,1610,1515,1568,1564,1500,1533,1515,1605,1289,1408,1776,1621,1677,1888,1693,1476,1788,2216,1949,2071,1709,1698,1737,1670,1825,2128,2544,2884,2812,2678,1908,1650,1554,2138,3484,3926,4295,4556,4140,4080,4113,3845,4276,4465,3965,3465,3494,4419,4843,4879,4992,4860,4696,4816,4716,3919,3220,3895,4080,4199,3961,4035,4215,4495,4612,4356,3512,2967,2935,2862,3310,3621,3230,3073,2945,2876,2730,3250,3843,4062,3994,3869,3558,3287,3261,3319,2619,2864,3332,3554,3426,2236,1916,1937,1809,1721,1807,1735,1826,2063,1781,1505,1389,1849,1864,1939,2292,2734,2573,2363,2222,2280,2274,2574,2929,2890,3129,3105,3322,3204,2986,2764,2642,2380,2216,2242,2230,2751,3262,3383,3586,3043,2910,2973,3204,3387,3517,3660,3361,2473,2139,2056,2601,3029,2791,2641,2340,1732,1917,2163,1823,1888,2130,2093,2474,2841,2670,2567,2339,2439,2804,2465,2261,2627,2769,2631,2332,1777,2011,2332,2008,1592,1682,1689,1678,2249,2678,2868,2482,3209,3155,1869,2014,2365,2530,2001,1601,1918,2404,2313,2587,3062,3428,3099,2973,3244,2852,2507,2855,2997,2643,2504,2026,1824,2001,2010,1677,1729,1937,1710,1660,1651,1917,2141,2101,1917,1814,1737,1721,1889,1813,1753,1605,1772,2193,2032,1685,1493,1794,1831,2010,2806,3273,3700,3072,2263,2044,2498,2569,2311,2163,1559,1921,2275,2270,2569,2663,2630,2194,1694,1866,2113,2277,2264,2434,2833,3115,2889,3461,2884,2387,2621,2719,2911,2588,1972,2104,2076,2236,2195,2192,2501,1826,1634,1954,1887,1818,1757,1694,1886,2426,2784,2978,3329,3561,3153,2662,3561,2380,1911,2020,2273,2212,1701,1588,1753,1731,1618,2142,2181,2273,1909,2466,2093,1586,1706,1962,2222,2260,2728,3388,2706,2735,3569,3386,3183,2134,1654,1757,1689,1643,2291,2481,1737,1604,1814,2055,2263,2020,1969,2640,3318,3493,3155,2938,2522,1970,2189,2546,2205,2106,1925,2407,2951,3366,3167,2521,2551,2974,3318,3669,3367,2630,2236,2054,2056,2260,2670,3363,3333,3164,3437,2974,2047,1707,1744,1806,1709,1848,2483,3065,1822,1732,1787,1680,1824,2603,3304,3386,3397,3363,3045,2762,2628,2670,2377,1981,2400,2727,2706,2150,2165,2702,2973,2989,2885,2277,1735,1881,2103,2687,2845,2740,2884,3076,2689,2754,3119,2786,2874,3514,3505,3640,3981,4180,3488,2770,2850,3250,3287,2548,2417,2536,2744,2866,2686,3348,3248,2800,2833,2614,2720,2912,3194,3215,3095,2952,2718,2927,3295,3421,3281,3020,3266,3286,2674,2554,2275,2048,1863,1743,2052,1959,1887,2082,2000,1903,2067,1797,2114,2241,2344,2038,1725,2132,2830,2598,1558,1583,1879,2149,2427,3605,3980,3104,2512,2664,2607,2389,2809,2899,2843,2097,1538,1693,2202,2592,2878,3031,3238,3604,3660,3650,3809,3350,2887,3271,3192,2906,2609,2897,3441,3838,3913,4095,3884,3557,3015,2501,2101,2194,2608,2743,3074,3234,3029,2877,2443,2243,2496,2604,2492,2316,2447,3278,2921,2763,2830,2445,2696,2385,2052,2166,2557,2796,2625,2921,2442,2008,2686,3252,3407,3028,3110,3018,2807,2424,2212,2620,2567,2252,2482,2588,2662,3151,3084,3363,3753,4043,3851,3470,3059,3359,3108,1896,2425,3360,3397,3533,3508,2567,2567,3592,3652,3618,3522,3307,3226,3035,2963,2435,2433,2522,2285,2300,2662,2991,3161,3066,3308,3020,2885,2998,2686,2934,3109,3234,3285,3411,3675,3283],[3627,3203,3127,3296,3254,3087,3129,3351,3378,3396,3165,3222,3206,3098,2962,2789,3017,3134,3199,3065,3188,3054,3063,2785,2889,2657,2413,2811,3106,3430,3462,3537,3583,3594,3581,3522,3731,3500,2799,2265,2180,2440,2062,1583,2060,2781,3532,3616,3670,3628,3428,3461,2999,2595,2215,2557,3347,3260,2698,1800,1847,2017,1655,1784,2068,1771,1695,1830,1978,1748,1558,1752,1725,1661,1488,1922,2123,2097,1852,2241,2840,2987,2459,1970,1843,2059,2301,1932,1765,1374,2021,2313,2831,3218,3117,3161,3591,4086,4117,3489,2321,2006,2150,2416,2576,1720,2354,2491,2874,2995,2091,1630,2325,2401,1983,2068,2192,2889,3091,2037,1830,2116,1993,2226,2441,2402,2142,1916,2066,1998,1948,2247,2398,2812,3144,2668,2056,1863,1643,2309,3121,2105,1665,2518,2024,1542,1880,2454,2764,2835,2504,2139,2230,2308,2122,2001,1956,2336,2468,2677,2972,2967,3116,2938,2818,2640,2574,2053,1886,2360,2674,2729,2436,2262,2626,2359,2358,2766,2956,2914,2877,2955,2675,2375,2116,2080,1813,2426,3729,2252,2200,2797,2767,1997,2389,2265,2045,2692,3356,3921,4097,4208,4300,4204,3695,3326,3288,2284,2375,2657,2294,2312,2986,3292,2763,2918,3419,2646,2498,2179,2343,2149,2061,2608,2098,2260,2789,2512,2146,2345,2067,1910,2050,2156,1827,1687,1925,1961,2030,2420,2142,1551,1534,1750,1995,1910,2020,1996,2122,2633,2178,2075,2177,2447,2061,1536,1836,2140,1745,1509,1675,1802,1466,1680,1631,1741,1838,1637,1527,1245,1369,1870,1871,1807,1935,2048,1902,1801,1741,1744,1784,1618,1594,1892,1946,1526,1460,1378,1446,1533,1318,1719,1702,1903,2129,2163,1975,2003,1807,2007,2409,1952,1827,1925,1558,1625,1713,1604,1836,1939,1818,1804,1728,1486,1713,2257,1714,1609,2065,1603,1695,1999,1921,1948,1940,1875,1770,1695,1957,2018,1978,1924,1803,2246,2524,1964,2354,2372,2310,2191,2325,2453,2004,1693,2041,3312,2352,1815,1721,1820,1573,1710,2000,2056,1833,1634,1961,2643,2691,2431,1656,1425,1509,1702,1550,1692,2446,2511,2207,1912,1856,1936,1937,1704,1522,1468,1511,1584,1909,1856,1530,1642,1838,1976,2445,2294,1665,2008,1918,1698,1526,1932,2128,1743,2354,3252,2985,2430,1758,1626,1615,1873,1905,1689,1305,947,861,889,944,952,846,865,845,937,1297,1633,1565,1856,1813,1554,1624,1580,1413,1540,1783,2046,2136,1926,1830,1943,2348,2443,1770,1408,1435,1554,1669,1529,1854,2035,1442,1122,1410,1898,2226,2622,2374,2260,1990,1824,1583,1858,2436,2302,1544,1147,1179,1093,1311,1361,1010,1050,1223,1390,1366,1302,1382,1338,1151,1143,1207,1374,1742,2025,2435,2438,1882,1773,1855,2030,2039,2172,2579,2717,2879,2659,2619,3271,3286,2241,1644,1574,1471,1727,2254,2394,2866,3169,2624,2752,2823,2475,2128,2354,2353,2293,2135,2054,1914,1757,1659,1533,1708,1915,2086,1655,1533,1536,2092,1946,1912,2227,2230,2188,2326,2466,2301,2222,2373,2048,1828,1678,1922,1991,2986,2967,2145,2308,2499,2094,1864,2121,2292,2477,2446,2201,2763,2965,2186,2132,2275,1970,1627,1618,1849,1780,1962,2100,2092,2070,2543,2828,2008,1499,1432,1394,1544,2085,1983,1330,1488,1985,2293,2096,1793,1681,2205,2180,2265,2807,2769,2974,2859,2095,1852,1974,2196,2619,2498,2149,1748,1978,1677,2119,2690,2607,1862,1510,2030,2073,1922,1639,1684,1720,1897,1680,1729,2194,2377,2731,3285,2912,1947,1757,2137,2622,2966,2668,2150,1929,1824,1930,1944,2669,2546,1809,1649,1863,2039,2465,2214,2938,2679,2168,2228,2198,1992,2130,2230,2238,2559,2591,2817,2440,2194,2182,2326,2215,1896,1541,1626,1958,1982,2112,1960,2026,1936,2070,1900,1554,1658,1649,1829,1938,1672,1572,1622,1630,1632,1446,1725,1641,1563,1737,1710,1542,1477,1639,1758,1881,2036,1777,1609,1604,1569,1780,1987,2042,1801,1718,1776,2060,2182,2377,2037,1637,1918,2232,2044,1715,1749,1677,1514,1547,1509,1499,2202,2413,1898,1659,1882,2290,1922,2555,2305,2054,2350,2145,2411,2424,2342,2251,1918,1880,1925,2045,2342,3290,2974,2243,2064,2644,2962,2643,3125,3951,4295,4176,3869,3468,3795,3552,3387,3449,3387,3415,3522,3388,3226,3243,3388,3391,3237,2998,3016,3111,2846,2709,2568,2483,2049,2010,2243,2065,1826,1593,1515,1713,1893,2091,2165,1948,1759,1990,2002,1860,1976,2116,2078,2032,2042,1940,1625,1557,1612,1870,1939,1694,2060,2243,2133,1943,1896,1774,1780,2481,2944,1798,1989,2119,1730,2010,2775,3078,2902,2396,1844,1715,1871,2185,2336,2044,1712,2078,2366,2283,2016,2967,2812,2098,1982,1851,1733,1678,1904,2020,2034,2231,2018,1985,2361,2555,2674,2590,2391,2623,3252,3306,2852,2683,2998,2663,3118,3201,3116,3295,3287,2952,2474,2449,2858,2744,1961,2091,2438,2135,2317,2509,2504,2633,2442,2358,2430,2529,2246,2284,2833,3077,3051,2939,3062,3151,3422,3484,3194,3197,3575,3838,3864,3588,3572,3510,2603,3481,4026,3670,3768,3626,3630,3707,3643,3563,3617,3495,3573,3912,3902,3985,3828,3858,3895,3958,3905,3773,3897,4006,4042,3825,3734,4068,4056,4188,4542,4500,4556,4820,4964,5004,4833,4821,4981,4840,4557,4556,4420,4196,4160,4144,4249,4912,4732,4449,4296,4123,4385,4441,4324,4275,4013,3283,2677,2916,3508,3837,4112,3308,3023,3879,4156,3624,3233,3408,3476,3341,3219,3239,3176,3071,2630,2557,2712,2588,2613,2623,2415,2055,1705,2024,2366,1888,1426,1681,1958,2493,3244,3469,3365,3339,3165,3255,3620,3741,3660,3502,3453,3923,3925,4079,3904,3628,4199,4808,4852,4852,4644,4167,4184,4632,4884,4952,4800,4663,4664,4828,5024,4818,4720,4761,4632,4455,4328,3911,2897,2075,1951,1977,2287,2577,2050,1699,1623,1265,1592,2217,2407,2688,2104,1732,1940,2845,2734,2708,2513,1975,2148,2548,2991,2576,2024,2520,2621,2766,2416,2312,2484,2497,2240,1976,2182,2977,3388,3716,3745,3483,3610,3745,3761,3632,3793,3133,2966,3615,3808,3773,3924,4019,4128,3968,3740,2529,1670,1418,1463,1320,1490,1864,1832,1771,1693,1823,1719,1629,1456,1482,1499,1719,1741,1873,2113,1876,1775,1883,1602,1769,1801,2214,2563,2569,2580,2642,2769,2701,2663,2274,1925,2429,2429,2557,2758,2314,1922,1821,1980,1980,1896,1750,1736,1822,1564,1686,1944,1837,1775,1698,1565,1657,1975,2182,2332,2813,2828,2697,2410,2054,2353,2894,3249,3020,2467,2114,2102,1836,1760,1923,2828,3393,3698,4301,4384,4287,4153,4048,4284,4362,3826,3261,3664,4584,4952,5051,5067,4902,4711,4767,4636,4248,3452,3904,3698,3989,3635,3782,4189,4357,4500,4284,3572,2993,3057,3206,3407,3488,3172,3164,2985,2749,2623,2941,3567,3814,3649,3776,3572,3228,3177,3481,3037,3215,3709,3806,2946,2211,1952,1879,1981,1833,1704,1796,2189,2533,2201,1792,1667,1647,1653,1952,2570,2846,2675,2491,2336,2237,2188,2375,2180,2411,2719,2897,2937,3054,3101,3024,3089,2868,2628,2342,2217,3077,3370,3459,3521,3195,3068,3174,3327,3460,3353,3280,2791,2261,2574,2723,2233,2699,2729,2568,2352,1537,1636,2030,1903,1966,2002,2076,1896,2308,2382,2561,2774,3011,3451,3162,2214,2167,2513,2664,2344,1695,2354,2802,2574,2120,1847,1667,1735,2330,2989,2635,2158,3271,3519,2282,2482,2191,1879,1483,1381,1800,2154,2181,2421,2922,3173,2886,2890,3197,2768,2611,2882,3084,3142,2885,1994,1869,2087,2031,1889,2118,2027,1733,1785,1647,1834,2042,1947,2024,1994,1747,1886,2112,1948,1674,1716,1720,1946,1943,2016,1743,1924,1836,2219,2790,3096,3763,3396,2284,1981,2273,2514,2553,2085,2127,2558,2466,2745,2519,2031,2117,1844,1660,1813,1886,2107,2545,2713,2622,3038,3119,2721,2108,2257,2710,2939,3172,2685,2590,2690,2474,2706,2666,2210,2184,1693,1550,1647,1587,1888,2173,1904,1973,2435,2355,2830,3464,3552,3367,2994,2861,2301,2001,2136,2847,2901,2102,1675,1880,1950,1653,1845,2219,2247,1970,2226,1904,2044,2187,1832,2027,1952,2508,2899,2742,2834,2888,2408,2779,2398,1664,1821,2033,1874,1844,1704,1597,2018,2430,2963,3039,2431,2440,2722,2392,2239,2367,2461,2766,2736,2564,2574,2111,2022,2366,2864,2989,3316,3287,2818,2614,2865,3227,3474,3560,3506,3168,2568,2147,1971,2066,2403,2627,2922,3183,3056,2325,1750,1688,1660,1660,2006,1955,2361,2163,1693,1395,1097,1771,3392,3342,2812,2701,2920,3065,2467,2441,2175,2050,2007,2242,2518,2500,2243,2076,2136,2226,2153,1977,1771,1757,1758,2086,2191,2553,2634,3049,3884,4021,3913,3387,3174,3117,3355,3542,3725,4165,4561,4232,3583,2985,3131,2987,2302,2471,2555,2121,2302,2498,3141,2949,2675,2719,2522,2579,2919,2940,2693,2468,2200,2397,2811,3188,3001,2769,2577,2499,2213,1797,1959,2103,2209,2053,1906,2254,2110,2200,2084,1841,1862,1965,1754,1749,2212,2541,2231,2025,2308,2863,3220,2802,2514,3090,3265,3375,4197,3745,2698,2642,2697,2335,2485,2820,2854,2846,2208,2010,2116,2568,2812,2631,2845,3520,3808,3519,3571,3639,3146,3128,3342,3032,3243,2914,3078,3496,3558,3644,3723,3802,3479,2644,2689,2659,2563,2845,3074,2980,3108,2943,2562,2346,2647,2930,2845,2609,2635,2768,2942,2387,2480,2849,3197,3067,2524,2313,2030,1941,2507,2774,2919,2326,2851,3327,3480,3488,3232,2893,2853,2727,2135,2231,2537,2396,2088,2598,2972,3109,3342,2997,3360,3684,3902,4046,3548,2914,2679,2430,1925,2638,3441,3292,3410,3352,2776,3218,3740,3368,2997,2908,2807,2644,2764,2964,2309,2430,2618,2284,2330,2542,2818,2991,2978,2973,2830,2829,2985,2799,2866,2724,2938,2953,3220,3161,3186],[3298,3085,3084,2910,2800,2956,3008,3075,3118,3038,3062,3065,3144,3255,3276,3188,2984,2971,3286,3174,2799,2758,2851,3023,3205,2585,2043,2674,2878,3653,3707,3670,3680,3686,3891,3791,3762,3827,3587,2997,2556,2476,2300,1746,2333,3088,3328,3170,3173,3361,3110,2997,3086,2976,2244,2180,3222,3152,3084,2552,2314,2433,2049,2078,1990,1821,2003,2219,2104,1992,2411,1991,1623,1853,2105,2252,2116,2009,2095,2824,3598,3586,2966,2487,2333,2391,2894,2019,1736,1178,1842,2567,3342,3770,3688,3400,3554,3795,3576,2873,1809,1860,1926,2613,2932,2034,2037,1843,2320,3213,2780,2153,2384,2226,2050,2501,2220,2705,3181,2214,1770,1904,1963,2231,2418,2426,2106,1904,1988,2146,2477,2544,2430,2283,1888,1548,1562,2072,1672,2220,3840,3051,1608,2902,2745,1975,2254,2445,2836,3342,2800,1741,1725,2139,2298,1866,1986,2160,2314,2986,2801,2810,2877,2363,2271,2352,2356,2020,2192,2542,2292,2897,2824,2555,2821,2125,2054,2533,2722,2583,2866,3100,3020,2871,2315,2186,2229,2534,3089,2092,2396,2844,2403,1988,2570,2647,2311,2479,2930,3529,4288,4544,4427,3806,3407,3078,3112,2798,2325,2026,2088,2408,2855,2868,2963,3222,3334,3533,3650,3400,3414,3047,2350,1715,1383,1892,2266,2482,2605,2702,2331,2204,2135,1870,1416,1541,1848,1806,1945,2366,2490,2213,2158,1811,1925,1919,1838,2508,2580,2316,2215,1895,1602,1832,1601,1266,1793,1847,1742,1376,1386,1782,1620,1719,1944,1805,1520,1455,1331,972,995,1567,1874,1953,1842,1864,1917,1862,1732,1736,1766,1748,1646,1977,2193,1549,1455,1394,1441,1271,1655,1969,1920,2184,2188,1814,2012,2689,2404,2017,2034,1663,1786,2003,1768,1677,1602,1703,1788,1647,1758,1955,1834,1803,1912,2238,2044,1860,1792,1935,2335,2402,2403,2235,2242,2115,1598,1654,1780,1737,1752,1613,1953,2624,2588,2031,1745,1678,2076,2232,1990,1865,1678,1585,2098,3351,2785,1972,2076,1918,1792,2198,2396,2208,1791,1946,1670,2021,3123,2468,1479,1251,1388,1461,1523,2271,3190,3065,2113,1837,1969,1943,2124,1835,1562,1775,1838,1678,1892,1874,1525,1689,2034,1993,2066,1890,1654,1683,1542,1576,1466,1472,1721,1906,2736,3459,3377,2841,2064,1771,1653,1754,1534,1479,1272,963,888,964,1017,927,810,834,744,854,1263,1761,1579,1940,1874,1663,1869,1672,1352,1460,1470,1605,1802,1699,1464,1565,1681,1990,1948,1756,1428,1299,1266,1278,1365,1356,1211,1328,1598,2362,2994,3066,2651,2534,2254,1887,1708,1982,2364,2012,1332,952,922,954,1009,1167,993,945,911,1115,1322,1269,1156,1101,1320,1376,1225,1415,2108,2483,2644,2207,1888,2046,2148,1977,1774,2093,2592,2614,2480,2520,2379,2428,2198,1907,1734,1571,1526,1985,2858,3251,3374,3584,3327,3382,3162,2575,2511,2224,1978,2586,2656,2292,1930,1731,1516,1504,1589,1746,1751,1644,1617,1699,2314,2418,2170,1869,1812,2501,2932,2986,2668,2236,2188,1919,1947,2248,2172,2063,2586,2154,1732,2315,2690,2249,1854,2250,2468,2348,2468,2685,2583,2469,2096,1907,1958,2101,2002,1816,1680,1702,1869,1827,1750,1802,2280,2477,1830,1541,1642,1435,1597,1917,1807,1630,2092,2298,1892,1551,1915,1942,1766,1946,2137,2575,2722,2632,2556,2295,2266,2105,2019,2062,1982,1940,1856,1760,1564,1667,1905,1865,1641,1974,2258,2612,2474,2109,2004,1941,2074,1928,1999,1979,1782,2598,2780,2622,2132,2179,2124,2210,2689,2646,2307,1808,1498,1581,1896,1987,2023,2331,1942,1988,2124,1801,1628,1858,1791,1847,2032,2097,2197,2179,1843,1752,2121,2621,3278,2576,1852,2194,2194,1913,1870,1608,1494,1827,2092,1865,1578,1922,2125,2431,1796,1444,1539,1463,1548,1699,1672,1559,1556,1600,1542,1511,1664,1521,1535,1475,1529,1397,1579,1940,1980,2248,2089,1554,1622,1720,2288,2282,1664,1496,1638,1824,1943,1975,1969,1902,1603,1802,2154,2447,1758,1791,1639,1531,1466,1516,1572,1765,2084,2071,1802,1620,1995,2200,1786,2176,1715,1615,2067,2154,2231,2186,1968,2144,2180,1744,1644,1834,2640,2919,3049,3154,3042,3316,3474,3384,3618,3869,4232,4505,4460,3895,3674,3560,3450,3383,3256,3309,3442,3341,3041,2931,2962,2940,3194,3068,3156,3270,2938,2805,2649,2578,2233,2046,2147,1944,1753,1854,1584,1727,1864,1982,2012,1896,1816,2031,2099,1901,1975,2166,1956,2115,2125,1950,1566,1625,1903,1807,1972,2059,1948,2114,2104,1854,1914,1888,1892,2048,1950,1793,2056,2431,2534,3098,3198,2983,2844,2141,1641,2069,2990,3238,2433,1971,1855,2127,2464,2610,2379,2604,2342,1903,1952,1689,1713,1836,2431,2525,2513,2109,2025,2250,2613,2988,2988,2641,2474,2889,3090,2997,2566,2490,2558,2186,2626,3001,3265,3422,3295,2705,2379,1999,2310,2292,2160,2429,2565,2508,2144,1969,2198,2269,2124,2067,2400,2523,2001,2314,2562,2887,1752,1797,2740,3187,2996,2831,2691,2702,3407,3962,4035,4220,4291,4035,3630,3662,4038,4084,4112,4096,3939,3827,3776,3649,3698,3409,3730,4105,4090,3878,3753,4006,3958,3879,3757,3844,4104,4163,4046,4024,4079,4419,4430,4408,4500,4592,4616,4773,4928,4660,4093,4236,4749,4840,4456,3639,3605,4025,4352,4376,4112,4408,4523,4376,4029,3955,4472,4452,4395,4467,4228,3335,2823,2915,3422,3719,3811,2854,2728,3528,3492,3254,3050,3145,3217,3430,3112,3135,3072,2705,2700,3013,3242,3120,2954,2910,2966,3045,2850,2911,2778,2493,2100,2470,3167,3199,3231,3392,3140,3008,2852,2812,3460,3527,3652,3740,3610,3774,3530,3514,3397,3562,4348,4752,4820,4732,4596,4500,4187,3985,4219,4688,4840,4507,4373,4664,4795,4719,4651,4612,4560,4453,4232,3176,2229,2062,1938,2164,2852,3239,2941,2546,2244,1887,2108,2537,2164,2164,1816,1637,1931,2480,2499,2146,1844,1636,1573,1950,2432,2510,2590,2619,1923,2234,2968,2872,2810,2706,2345,2403,2405,3117,3300,3474,3496,2729,2388,3009,3709,3730,3653,3651,3765,3699,3195,3442,3829,3927,4078,3958,3862,2586,1788,1588,1491,1383,1884,2490,2346,1854,1680,1600,2050,2198,2326,2104,1614,1763,1904,2066,2014,1879,2107,1912,1506,1639,1578,1785,2520,3190,2930,2137,1597,1473,1690,1748,2154,2487,2314,2632,3072,2588,1946,1931,2212,2165,2221,2369,2574,2310,1750,1548,1814,1832,1717,1606,1553,1809,2138,2223,2021,2399,2812,2753,3022,3147,3088,3160,2920,2496,1918,1679,1760,1802,2003,2007,2050,2543,2880,3566,4404,4489,4120,3978,4052,4332,4239,3724,4012,4680,4932,5081,5140,5064,4748,4643,4595,4530,3746,3487,3487,3640,3414,3658,3630,3574,4131,3951,3266,3021,3296,3715,3608,3597,3593,3360,2920,2731,2764,2851,3085,3143,3131,3563,3687,3430,3212,3317,3529,3802,3898,3747,3120,2622,2170,1916,2093,2035,1914,1937,2313,2208,1764,1741,2145,2521,2365,2305,2575,2564,2465,2313,2202,2156,1991,1808,1617,2023,2626,2821,2678,2713,2888,2904,3104,3130,3150,2907,2722,3275,3443,3338,3322,3321,3396,3437,3588,3639,3204,3111,2303,2309,2352,2266,1908,2377,2707,2447,2167,2009,2019,2178,2468,2800,2495,1903,2092,2439,2500,2666,2949,3950,4728,3937,2400,1939,2209,2592,2164,2309,2460,2679,2764,2700,2510,2280,1886,2310,2784,2034,1896,2626,2890,2720,2588,2118,1731,2128,2180,1898,1902,2316,2945,3110,2824,2530,2614,3007,2565,2457,2459,2509,2810,2758,2111,1957,2110,2121,2008,2044,1864,1775,2046,1865,1852,1960,1664,2026,2092,1697,1769,2076,1883,1574,1548,1515,1516,1550,1716,1908,2038,2075,2504,2527,2574,3365,3586,3187,2834,2517,2444,2461,2074,2483,2752,3099,3462,2562,1882,2047,2122,1980,1944,2284,2465,2332,2041,2124,2366,2373,2514,2647,2762,3145,3428,3248,2602,2683,2695,2606,2836,2687,2238,2062,1908,1745,1563,1452,1665,2294,2326,2131,2742,2862,2986,3415,3458,3041,3088,3140,2604,2054,2046,2761,3244,2692,1744,1793,2050,1816,1902,2301,2526,2431,1990,1931,2248,1954,1848,2173,2166,2133,2449,3088,2802,2398,2001,2592,2758,1885,1641,1866,1955,1811,1722,1995,2416,2774,2918,2851,2707,2842,2797,2297,2134,2058,2249,3021,2864,2205,2005,2040,2318,2855,2998,3152,3480,3522,3330,3174,2708,2820,2924,3121,3432,3486,3452,2864,2232,2048,1929,2171,2798,3082,3252,2938,2260,1973,1963,2129,2277,2155,2431,2326,1796,1830,1617,1512,2785,2749,2076,2252,2468,2051,2551,2780,2104,2056,2315,2909,3089,2739,2404,1795,1653,1924,1858,1637,1644,1752,1993,2393,2823,3356,3436,3581,3726,3942,3940,3333,3239,3184,3334,3635,3808,4078,4283,3955,3212,2674,2670,2863,2932,3109,2874,2054,1914,2155,2485,2864,3131,2667,2062,1868,1853,1908,1996,1880,1840,2071,2126,2358,2468,2404,2265,2442,2362,2004,2309,2432,2733,3230,3185,2749,2191,2364,2358,1950,1920,1932,1608,1782,2222,2410,2652,2911,3372,3493,3310,3215,2840,3399,3526,3326,3614,3178,2405,2813,2949,2436,2903,3027,3138,2806,2724,2555,2280,2592,3010,2832,3108,2996,3371,3365,3628,3775,3229,3166,3342,3347,3356,3273,3363,3488,3453,3330,3442,3526,3526,3209,3050,3131,3262,3122,2798,2969,3046,2619,2334,2887,3354,2957,2822,2900,2768,2587,2301,2198,2276,2696,3222,2713,2348,2344,2128,1947,1919,2417,2913,2286,2894,3559,3636,3587,3251,2996,3011,2923,2286,2175,2085,2150,1543,2154,2998,3339,3365,3149,3271,3165,3232,3714,3834,3599,3270,2912,2392,2777,3677,3961,3772,3465,3507,3761,3604,3105,2577,2567,2666,2642,2678,2850,2265,2309,2630,2483,2495,2627,2662,2705,2734,2690,2686,2739,2866,2801,2468,2369,2828,2962,2962,2993,3066],[2855,2822,3076,2821,2535,2563,2539,2718,3144,3450,3073,2790,3077,3262,3364,3361,3220,3143,3298,3219,3145,3131,2994,2932,3061,2888,2230,2908,2924,3407,3840,3702,3462,3421,3829,4109,4052,4024,3649,3104,2812,2968,3055,2555,2853,3416,3277,3019,3094,3273,3040,2966,3182,3234,1920,1808,2714,2995,3108,2777,2297,2387,2552,2436,2242,2272,2205,1962,1909,1963,2473,2375,1918,2021,2590,2459,2002,1919,2330,3264,3836,3794,3342,2644,2686,2153,2419,2066,1775,1605,2381,3235,3699,4082,4021,3498,2897,2322,2446,2275,1688,2344,2138,2579,2306,1892,2077,1952,2326,2899,2764,2817,2444,2309,1957,2274,2212,2430,2781,2305,1821,1864,1911,1980,2274,2329,2241,2220,2119,2048,2212,2381,2325,1722,1607,1549,1772,2164,1659,1848,3565,3209,1560,2571,2728,2078,2279,2618,2653,2766,2207,1469,1761,2150,2144,1913,2011,2029,3021,3124,2861,2961,2740,2357,2304,2354,2019,1786,2010,2262,2233,2953,2907,2354,2029,1868,2640,3276,3030,2677,2362,2347,1922,2420,2645,2510,2188,2315,2326,2195,2448,2818,2533,2167,2711,3043,2690,2746,2895,2994,3428,3742,3558,2918,3181,3304,3389,3408,2894,2315,2100,2138,2386,2831,3232,3455,3307,3711,3651,2971,3019,3242,2811,1942,1544,1866,1938,1892,2215,2723,2316,1924,1819,1440,1427,1602,1721,2013,2226,2203,2361,2385,2163,1784,1874,1888,1754,2214,1938,1583,1938,1952,1704,1622,1484,1376,1698,1625,1823,1626,1616,2042,1876,1571,1754,1809,1468,1328,1527,1555,1559,1767,1625,1752,1815,1812,1853,1855,1920,2009,1986,1857,1578,1614,1547,1496,1649,1558,1495,1409,1622,1681,1619,2038,2220,2049,2679,2793,2105,1921,2082,1598,1855,2061,1656,1677,1736,1540,1571,1860,1965,2109,2238,2102,2169,2208,2160,2365,2037,2141,2497,2426,1954,1662,1999,2306,1576,1641,1627,1474,1444,1614,1864,2376,2539,1984,1544,1640,1920,1929,1831,1443,1434,1529,1918,2599,2385,2412,2385,1761,1941,2658,2764,2148,1924,2154,2094,2146,2710,2261,1665,1749,1775,1450,1673,2293,2777,3210,2212,1888,2288,2300,2239,1909,1822,2089,2067,1835,1737,1742,1616,1467,2005,1958,1847,1769,1830,1986,1943,1902,1746,1825,2232,2637,2979,2679,2858,2486,2241,1772,1778,1490,1219,1282,1195,1021,968,976,976,863,1002,1087,783,781,1088,1390,1670,2417,2360,1785,1673,1564,1736,1583,1412,1605,1661,1545,1320,1285,1378,1614,1757,1803,1632,1305,1324,1436,1133,1136,1327,1493,1859,2464,3046,3329,2986,2917,2723,2298,2038,2017,1908,1519,1198,892,865,846,758,989,957,808,853,1058,1149,1107,1303,1520,1470,1387,1197,1400,1974,2554,2522,2231,2230,2082,2312,2056,2081,2158,2349,2411,2009,2117,2348,1994,1531,1690,1776,1631,1656,1922,2569,3155,3418,3236,2863,2998,2864,2568,3120,2964,2792,2935,2343,1832,1779,1665,1449,1589,1567,1632,1576,1764,1770,1720,2018,2026,1824,1468,1763,2555,2880,3134,2500,1931,1772,1813,2498,2823,2172,1851,1781,1623,1691,1937,2542,2108,1973,1930,2031,2080,2063,2131,1975,2104,2828,3384,3363,3095,2253,1792,1542,1851,1744,2114,2024,1884,1778,1633,1628,1771,1799,1423,1857,2004,1817,1668,1912,1859,1684,1388,1659,2099,2170,1905,1955,2457,2771,2481,2610,2363,2413,2308,1895,2191,2366,2139,1913,1716,1777,1648,1605,1861,1828,2293,2480,2578,2500,2380,2268,2137,2330,2178,2100,2388,1863,1793,1848,2393,2636,2549,2144,2031,2116,2344,2421,1973,1623,1881,2170,2393,2619,2473,2110,2092,1838,1638,1832,2024,1896,1636,1633,1692,1670,1494,1366,1580,1904,2483,3050,2909,2348,1901,1691,1527,1382,1254,1383,1685,2091,1851,1990,2526,2586,2263,1587,1415,1428,1490,1529,1527,1538,1600,1577,1440,1422,1608,1430,1390,1516,1731,1920,1782,1890,2223,2148,2207,1928,1997,2139,2137,2766,2353,1687,1537,1574,1733,1896,1952,1848,1605,1985,2399,2687,2274,1794,1904,1858,1792,1815,1631,1537,2129,2130,2063,1885,1815,2157,2075,2324,2213,1806,1802,2272,2477,2020,1691,1881,2536,2426,2014,1960,2003,2409,2613,3225,3864,3706,3556,3177,3393,3703,3978,4251,4475,4415,4164,3991,3493,3257,3404,3292,3390,3329,3183,2977,2644,2893,3170,3510,3153,2992,3164,2865,2563,2600,2785,2734,2547,2348,2194,2292,2390,1775,1690,1817,1841,1946,1992,1840,1884,2153,2128,1846,1689,1851,2166,1837,1691,1681,1953,1811,1647,2310,2371,1890,1975,2080,1857,1739,1864,2292,1856,1840,1990,2221,2580,2822,3011,3099,3021,2723,1938,1594,1624,2604,3284,2397,2037,1882,1659,1896,2430,2196,2093,2050,2215,2206,1553,1710,1952,2233,2251,2237,1768,1716,2076,2480,2808,2857,2515,2634,3538,3915,3263,2602,2459,2308,2248,2208,2633,3123,3261,2655,2191,2236,2074,2341,1896,2098,2610,2784,2220,1679,1474,1659,2009,1971,1288,1854,2024,2173,2706,2592,2325,1996,1599,2284,3301,3043,2778,3112,3217,3577,4000,4099,4620,4644,4186,3793,3928,4216,4140,4048,3960,3857,3905,4006,3953,3942,3782,3890,4062,4084,3957,4017,4105,4108,4051,3959,4091,4143,4102,4072,4140,4156,4421,4321,4026,4100,4541,4712,4452,4400,4257,3738,3473,3917,4760,4447,3023,3219,4156,4719,4852,4364,4181,4285,4336,4272,4004,4355,4504,4653,4540,4228,3460,2807,2845,3471,3928,3676,3154,3199,3429,3270,3255,3012,3023,3185,3260,3134,3028,2798,2964,3451,3694,3710,3473,3852,4037,3916,3677,3422,3363,3382,3216,3242,3384,3409,3241,3331,3728,3558,3228,3096,3163,3229,3271,3569,3798,3694,3638,3474,3301,3422,3813,4420,4599,4840,4704,4620,4644,4401,3905,4188,4779,4459,3936,4264,4723,4737,4652,4255,4435,4448,4346,3666,2412,2023,1969,2014,2728,3605,3418,3349,3124,2874,2355,2054,2265,2313,2310,2055,1796,1840,1992,1972,2029,1865,1635,1570,1776,2092,2125,2527,2664,2071,2131,3271,3571,3083,2531,2432,2666,3414,3834,3299,3464,3734,3561,3182,3049,3334,3373,3351,3361,3109,2974,3296,3677,3876,4039,3886,3836,3768,2634,1706,1576,1447,1373,2056,2607,2325,1608,1737,2074,3348,3610,3445,2670,1905,2096,2489,2510,1706,1688,2194,1946,1752,2029,1860,1951,2740,3213,2821,2244,1939,1589,1454,1851,2763,2731,2911,2870,3106,2664,2009,1880,2054,2292,2306,2203,2359,2020,1669,1432,1612,1815,1726,1693,1619,1717,1892,2170,2345,2360,2665,3005,3278,3295,2587,2193,1876,2120,2459,2216,1983,2019,2032,2104,2142,2667,2851,3051,4235,4557,4160,3854,3935,4317,4336,3990,3936,3969,4665,4905,5041,4993,4840,4739,4665,4592,3979,3331,3572,3829,3515,3498,3329,3937,4257,3802,3186,3139,3586,4273,4160,3861,3803,3500,2940,2843,2879,2853,3052,3202,3215,3288,3877,4222,3603,3033,3396,3755,3774,3692,3198,2812,2439,1885,2218,2541,2310,2124,2235,1902,1862,2045,2200,2533,2100,1838,1658,1877,2169,1946,1726,2018,2428,2141,1690,2215,2834,2901,2654,2436,2479,2965,3255,3237,3196,3344,3248,3217,3217,3203,3203,3236,3449,3404,3459,3430,3459,3084,2425,2470,1883,1874,2139,2229,2345,2094,2136,2025,2014,2365,2716,3135,2856,2651,3177,2695,2561,3038,3356,4029,4261,3840,2454,1719,1875,2488,2121,2341,2521,2721,2896,2674,2657,2744,2200,2143,2586,2111,2348,2589,2585,2747,2719,2358,1908,2057,2052,1959,2110,2391,2519,2635,2281,1945,2393,2448,2375,2112,2044,2163,2490,2588,2245,2030,2157,2198,1954,2001,2355,2221,2237,2192,1935,1665,1536,1759,1994,1935,1901,1608,1599,1551,1776,1734,1434,1202,1743,2097,2331,2874,2774,2322,1973,2641,3163,3476,3186,2791,2497,2085,2163,2791,3343,3876,3687,2599,1862,2014,2142,1857,2070,2902,2413,1941,2220,2462,1964,1557,2099,2955,3253,3406,3528,3298,2688,2908,2906,2459,2430,2202,1856,1808,1768,1722,1854,1802,1815,2040,2100,2426,3109,3312,3337,3610,3458,2955,3082,3289,2874,2667,2642,2621,3073,2718,1947,1952,2026,1932,2095,2248,2443,2456,2031,2225,2214,1825,2035,1924,1999,2130,2462,2788,2617,2184,2092,2545,2354,2042,1664,1705,1907,1731,1672,2434,2930,3124,3077,2855,2733,2570,2248,2029,2432,2214,2143,2655,2677,2441,2336,2725,3164,3147,3207,3517,3540,3839,4070,3502,3058,2543,2104,2211,2376,2470,2673,2777,2573,2343,2160,1969,1992,2461,2923,3199,3046,2903,2909,2787,2823,3039,2625,2208,1914,1782,2005,1771,2751,2292,1919,2357,2316,2219,2953,2598,2077,2066,1968,2736,3317,3065,2432,1874,1717,1961,1877,1749,1750,1614,1913,2754,3597,3493,3283,3087,3340,3484,3586,3312,3188,3312,3466,3752,4006,3913,3384,2765,2843,2794,2512,2715,2784,3051,2652,2235,2105,2022,2031,2398,2487,2169,1895,1719,1662,2104,2093,1957,1961,1988,2027,2174,2668,3021,3337,3842,3219,2234,2806,3328,3455,3786,3741,3410,2788,2612,2485,2079,2333,2106,2084,2333,2873,2934,3445,3383,3710,3604,3134,2734,2708,2957,3001,2955,3309,3344,3161,3333,3245,2946,2697,2142,2230,2644,2522,2261,2354,2546,3244,3117,3251,2908,3281,3413,3406,3704,3278,2808,3028,3183,3143,3598,3599,3663,3542,3588,3661,3492,3366,2921,3054,3327,3387,3295,3046,3110,2928,2675,2750,3441,3370,3241,3213,2936,2774,2790,2268,2135,2415,2820,3066,2789,2569,2007,1658,1726,2040,2587,2490,2086,2685,3656,3705,3339,3049,3204,3152,3118,2410,2304,2574,2231,2096,2635,3007,3384,3481,3134,3108,2265,2749,2975,3074,3444,3701,3621,3242,2984,3361,3940,3698,3537,3588,3444,2928,2763,2811,2981,3079,3032,2920,2743,2166,2325,2855,2813,2720,2696,2746,2492,2347,2587,2813,2973,2996,2867,2596,2425,2614,2780,2777,2698,2896],[2540,2634,2810,2701,2492,2364,2454,2719,2839,3253,2912,2595,2778,3133,3030,2879,3108,3207,3148,3504,3558,3363,3292,3248,3416,3486,2598,2752,2919,3111,3610,3769,3898,4244,4292,4189,4112,4091,3484,3095,3060,3220,3194,3121,3276,3289,2872,2719,2962,3221,3076,3208,3362,3573,2423,1999,2563,3046,3226,2797,2242,2312,2396,2254,2439,2642,2112,2154,2144,2025,2309,2303,2048,1961,2579,2679,2336,2305,2488,3536,3443,2807,2316,2038,2390,2291,2491,2250,1824,1865,2293,2852,3232,3763,3768,3572,2743,1969,1966,2208,1814,2154,2623,2670,1862,1596,1831,2056,2075,1909,1938,2266,2158,2234,1912,1756,1729,1601,1678,1611,1737,1824,1781,2185,2620,2554,2411,2158,1902,1643,2107,2543,2000,1393,1647,1800,1946,1708,1709,1500,2061,2094,1723,1791,1918,2019,2496,3060,2746,2166,2198,2160,2600,2453,2254,1907,1948,2274,2988,3100,3135,2988,2566,2011,2138,2263,1906,2113,2599,2964,2831,2854,2545,2807,3057,3014,3392,3329,2820,2383,2106,2371,1958,2302,2702,2974,2950,2773,2565,2511,2800,3054,2569,2298,2656,2512,2935,3097,2668,2502,2359,1975,1964,2621,3345,3308,2908,3044,3466,3464,2744,2392,2352,2576,2240,2736,3095,3445,3423,3104,3062,3019,2841,2734,2259,2111,2564,2248,1863,1997,1691,1554,1671,1733,1641,1782,2009,1989,1729,1778,1575,1663,1826,1966,1961,1810,1617,1728,1768,1992,2142,1984,1992,2137,2005,1593,1528,1788,2087,1898,1631,1691,1660,1578,1410,1648,1599,1475,1614,1582,1817,1960,1614,1582,1506,1449,1731,1851,1955,2002,1965,1904,1780,1782,1733,1695,1649,1553,1459,1401,1551,1516,1689,2104,1957,1853,2722,2281,1782,1692,1988,2040,2044,1561,1323,1684,1986,2028,1808,1918,2134,2360,2622,2298,2151,1942,1670,1862,2013,2267,2407,2030,1420,1497,1641,1756,1490,1520,1728,1577,1653,1892,1755,1786,2216,1986,1642,1580,1879,1899,1677,1496,1500,1587,1872,1880,1890,2404,1967,1484,1864,2620,2463,1646,1738,2317,3106,2555,2092,2151,1791,1602,1499,1521,1554,1682,2209,2889,2243,1719,2180,2445,1947,1674,1973,1995,2042,1926,1521,1448,1562,1542,2176,1931,1931,1964,1908,1977,2014,2153,2436,2536,2611,2853,2746,2373,2778,2531,2258,1979,1857,1538,1230,1312,1234,1071,1067,1145,1286,1014,1187,1260,915,832,1065,1263,1799,2323,1804,1435,1597,1775,1939,1519,1617,1827,1721,1498,1420,1598,1578,1259,1384,1980,1963,1448,1376,1436,1189,1213,1420,1781,2126,2342,2778,3006,2828,2938,2614,2262,2049,1818,1453,1283,1344,996,864,777,694,786,835,826,1005,1123,1065,1057,1321,1538,1465,1330,1273,1294,1576,2100,2279,2634,2482,2280,2688,2591,2343,2396,1994,2135,1993,2096,2105,1631,1513,1593,1543,1799,1981,2448,2707,2822,3062,2875,2490,2107,2251,2640,2786,3040,3068,2666,2154,1820,1848,1844,1674,1549,1571,1645,1569,1686,1947,2170,2026,1747,1684,1764,1920,2198,2555,2740,2302,2025,1691,1886,2588,2430,1726,1794,1660,1865,1981,1760,2324,2448,2261,1987,2197,2624,2315,1962,2005,2218,2514,2792,3006,2818,1894,1703,1892,1696,1449,2347,2270,1415,1492,1442,1465,1637,1703,1474,1675,1752,1699,1489,1515,1699,1981,1879,1824,2026,2054,2490,2778,2551,3068,3157,2742,2489,2480,2331,2423,2592,2556,2370,2028,1723,1751,1708,2132,2690,2478,2693,2612,2464,2402,2298,2170,2267,2493,1881,1661,1674,1376,1472,1750,1834,1746,1829,2037,2065,1854,1844,2246,1988,1647,2160,2344,2379,3022,2740,2114,1814,1693,1679,1628,1663,1561,1735,1936,1627,1410,1532,1414,1848,2308,2284,2325,2374,2072,1672,1538,1456,1336,1459,1460,1665,2198,2376,2366,2245,2199,2035,1622,1582,1555,1497,1451,1710,1613,1914,1816,1342,1355,1677,1636,1383,1606,2098,2258,2153,2271,2415,1964,1664,1785,2470,2697,2813,2906,2123,1497,1455,1493,1545,2244,1928,1782,1719,2271,2580,2658,2019,1670,1712,1628,1780,1837,1520,1813,2165,2060,2236,2443,2258,2119,2143,2337,2164,1981,1997,2206,2358,2087,1941,2242,2731,2897,2317,2168,2141,2730,3212,3198,3250,3176,3404,3083,3320,3663,3915,4095,4403,4239,4112,4193,3177,2364,2924,3570,3658,3238,3106,2994,2509,2708,3130,3298,3095,3089,3321,3209,2526,1858,1902,2280,2519,2536,2097,2099,2101,1787,1697,1824,1848,1876,1904,1886,1935,2310,2037,1650,2122,2484,2100,1533,1536,1930,2192,1877,1907,2276,2167,1936,2096,2114,1859,1914,2642,2700,1803,1597,1801,2365,2668,2492,2241,2652,2867,2346,1644,1688,1558,2479,3706,3688,2427,1895,1961,2102,2284,2231,2328,2260,2312,2107,1503,1558,1583,1478,1704,1784,1597,1542,1602,1774,1793,1857,2294,3020,3676,3996,3639,3234,2457,1908,2178,2280,2467,2706,3160,2470,2313,2110,2487,2448,2110,2172,2618,2758,2835,2547,1783,1710,2062,2114,1401,1741,1972,2344,2861,2801,2386,2277,2663,3365,3587,3348,3127,3577,3800,3633,3956,4349,4792,4780,4399,4067,4092,4151,4057,3929,3848,3850,4063,4052,4108,4132,4165,4072,4049,3984,3894,3982,4111,4142,4208,4112,4180,4208,4283,4325,4340,4155,4215,4094,4084,4340,4471,4495,3771,3326,3723,3743,2941,3339,4484,4500,3811,4017,4636,4931,4827,4476,4164,4043,4337,4284,3955,4452,4336,4517,4324,3816,3088,2668,2378,2677,3373,3505,3692,3808,3476,3122,3117,2952,2940,3081,3475,3584,3086,2885,3295,3450,3482,3481,3406,3338,3488,3760,3691,3602,3521,3248,3175,3366,3703,3770,3391,3453,3727,3793,3816,3640,3482,3091,3077,3528,3741,3619,3576,3384,3716,4014,4265,4388,4418,4616,4676,4716,4596,4344,4212,4620,4867,4483,4082,4388,4307,4784,4404,3882,4239,4207,3771,2730,2066,2040,1980,2415,3700,4257,3686,3602,3375,3134,2576,2478,2187,2311,2762,2654,2503,2128,1929,1944,2847,2156,1652,1566,1836,2312,2328,2720,3022,2689,3062,3641,3588,3130,2591,2416,3086,3613,3735,3536,3634,3919,3891,3644,3399,3178,2570,2477,2957,3032,2705,3021,3528,3728,3665,3618,3773,3559,2477,1675,1658,1661,1439,2182,2853,2090,1995,2684,3138,3449,2611,2220,2489,2866,3676,3215,2786,2177,2042,2180,1845,1867,2231,1948,2007,2643,2594,2524,2314,2079,1534,1520,2092,2843,3024,2955,2760,2832,2213,1823,2030,2062,2088,2145,1885,1778,1970,1716,1624,1725,1939,2067,2025,1748,1519,1623,2147,2417,2466,2922,3011,2535,2141,1755,1753,1737,2218,2958,2416,1968,1960,1830,1818,2033,2647,3567,3762,4121,4264,3962,3573,3263,2853,2790,3339,3633,2854,3706,4536,4828,4759,4787,4890,4760,4489,4148,3493,3240,3659,3884,3549,3395,4056,4324,4100,3774,3638,4071,4452,4475,4184,3682,3277,2951,2850,2890,3067,3167,3906,3907,3516,3725,4099,3823,3145,3349,3465,3698,3862,3592,2832,2500,2250,2258,2107,1996,2060,2145,2194,2308,2262,2184,2126,1760,1681,1614,1617,1942,2019,1831,2101,2505,2057,1902,2339,2866,2867,2612,2419,2473,3045,3406,3357,3230,3194,3006,3041,3262,3304,3322,3307,3307,3365,3420,3155,3230,2545,2602,2415,1931,2446,2671,2217,2064,2065,2329,1719,1791,2602,2853,2925,2857,2507,2359,2385,2740,2891,2859,3028,3006,2601,1901,2033,2244,2602,2337,2317,2654,2790,2875,2599,2541,2362,2151,2255,2698,2878,2835,2612,2192,2062,2142,1975,1732,1653,1776,1986,2442,2888,2401,2260,1994,1901,1907,1683,1722,1797,1872,1938,2061,2298,2402,2479,2256,2282,2097,2047,2349,2118,2182,2216,1716,1448,1515,1570,1766,1952,2187,1586,1354,1202,1523,1511,1074,1261,2176,2466,2734,2987,2035,1735,1748,2394,2937,3272,3269,2849,2397,2482,2988,3532,3930,3830,2762,1908,1745,1904,1965,1721,1932,2027,1498,1854,2280,1912,1638,1523,1621,2285,3078,2777,3044,3329,3557,3732,3305,2401,2242,2486,1822,1733,1785,1883,2266,1791,1907,1879,2024,2898,3299,3328,3514,3561,3379,3004,3004,3261,3146,3350,2796,2297,2530,2780,2316,1842,1820,1865,1883,1823,1832,1724,1764,1925,1738,2008,1948,1898,2190,2587,2851,2798,2844,2789,3256,3036,2137,2679,2596,1874,1792,1873,2058,2669,2912,3029,2626,2314,2623,2374,2023,1927,2410,2743,2455,2535,2956,3089,3209,3305,3329,3373,3425,3610,3467,3397,3543,2775,2589,2297,1755,1447,1692,1877,2183,2657,2773,2908,2709,2334,2073,1941,2139,2479,2908,3098,3346,3201,3124,3142,2646,2171,2150,1676,1942,2209,3406,2753,2182,2207,1687,1776,2520,2146,1954,1930,1575,1694,2500,2586,1964,1786,1693,1622,1656,1730,1614,1613,2018,3029,3591,3514,2840,2710,3194,3296,3251,3130,3140,3209,3335,3400,3298,2882,2613,2539,2776,2570,2185,2618,2834,2866,2690,2492,2481,2331,2411,2512,2641,2589,2356,1909,1971,2263,1793,1901,2272,2303,1939,1820,2862,3068,3021,3501,2850,2347,2754,3287,3141,3030,3199,3132,2776,2402,2099,2222,2491,2037,1995,1847,2098,2407,2991,2574,2623,3000,2613,2290,2734,3023,3150,3285,3679,3436,3354,3286,3077,3053,2840,2620,2508,2423,2019,2002,1996,2397,3133,3158,3260,3509,3507,3504,3437,3444,3517,3116,3134,3640,3539,3504,3554,3780,3792,3624,3460,3276,3078,2934,3144,3182,2963,2951,2658,2083,1978,2525,3493,3626,3294,3339,3261,2853,2976,3312,3088,2950,2842,2991,2814,2524,2119,1925,1833,2064,2031,1699,2054,2304,2230,3034,3507,3196,2865,3177,3398,3488,2952,2715,2558,2265,2414,3090,3666,3763,3498,3231,2743,1645,2976,2843,2490,2060,2122,2664,2901,2919,3328,3854,3790,3799,3688,3727,3318,3352,3538,3516,3620,3458,2995,2447,1965,2326,3028,3134,2933,3143,3348,2801,2801,3348,3221,3119,2944,2755,2777,2580,2333,2524,2719,2598,3191],[2790,2808,2739,2619,2587,2455,2662,2828,2575,2731,2838,2231,2299,2777,2874,3008,3324,3362,3177,3412,3417,3104,3078,3330,3406,3454,2822,2590,2924,3128,3063,3418,4129,4015,3727,3791,3659,3771,3750,3607,3307,3099,3027,2998,3233,3189,2867,2904,2878,3098,3298,3415,3223,3626,3054,2322,2485,2974,3542,3147,2264,2248,2387,2364,2314,2109,1699,2173,1901,1904,1938,2141,1962,1682,2078,2123,2010,2530,2424,2449,2048,1875,1930,1890,1922,2136,2365,2449,2514,2636,2756,2983,3245,3436,3592,3582,2928,2145,1896,2032,1870,1687,2120,2173,1882,1787,1841,1696,1653,1829,2254,2503,2819,2576,1878,1590,1787,2060,1697,1548,1921,1999,1820,1936,2632,2997,2461,2087,2489,2567,2130,1854,1624,1693,2583,2297,2716,2047,1831,1580,1602,1715,1842,1641,1594,2044,2010,2283,2303,2212,2332,2060,2072,2061,1939,1816,2273,2810,3139,3111,2867,2734,2812,2329,2116,2116,1844,2163,2735,2900,3108,2506,2381,3252,3396,3525,3189,2823,2828,2235,2407,2781,2741,2814,2608,2350,2438,2617,2958,2853,2854,2866,3127,2394,2427,2131,2521,2625,2099,1751,1765,1621,1736,2776,3511,2863,2920,3256,3382,3419,3257,2570,2455,2016,1572,1713,2079,2819,3401,3674,3168,2886,2321,2331,2488,2501,2351,2084,2013,1843,1656,1458,1725,2021,1707,2055,1947,1743,1493,1393,1605,1793,1861,1934,1882,1661,1569,1824,1782,1692,1766,1710,1923,2096,2221,1779,1550,1614,1822,1809,1759,1670,1544,1705,1695,1760,1567,1586,1621,1469,1497,1581,1550,1565,1411,1320,1481,1689,1822,1831,1821,1892,1886,1863,1954,2012,2000,2062,1726,1453,1587,1676,1927,1931,1705,1608,2152,2038,1770,1548,1842,2189,1712,1056,1251,1505,1673,1701,1488,1455,1675,1888,2143,2231,2112,1641,1638,1615,1622,2003,1949,1787,1516,1578,1556,1580,1613,2156,2350,2040,2043,1779,1579,1588,2035,2004,1882,1877,2207,1942,1478,1521,1724,1731,1789,1635,1565,2060,2182,1751,1894,2194,1977,1715,1632,2381,3103,2260,1711,1908,1677,1504,1529,2047,1840,1762,2458,2801,2482,2114,1803,1613,1345,1470,1770,2016,2412,1882,1508,1630,1886,1791,2010,1850,1770,1892,1708,1807,2177,2197,2414,2613,2677,2541,2604,2844,2754,2369,2294,1995,1692,1688,1642,1555,1243,1182,1111,1129,1141,1091,1144,1041,992,1064,1147,1202,1721,2054,1766,1513,1600,1610,1551,1664,1827,1789,1688,1631,1908,2058,1581,1599,1751,1975,1889,1499,1237,1306,1273,1487,2062,2153,2023,2109,2420,2575,2266,2204,1825,1646,2008,1801,1415,1240,1062,864,761,727,720,817,901,991,1185,1489,1456,1309,1335,1383,1429,1384,1475,1498,1449,1449,1781,2310,2349,2117,1946,2146,1959,2111,1905,1650,1730,1903,1687,1534,1876,1968,2122,2353,2138,2636,2564,2185,2340,2582,2408,2344,2698,2856,2906,3170,2742,2202,2419,2321,1930,2110,2007,1812,1891,2060,1903,1925,2125,1939,2032,1872,1830,1837,2083,2068,2166,2223,2102,1804,1648,1721,2116,1930,1733,1782,1470,1876,1962,1688,1761,2301,2559,2117,2162,2556,2093,1559,1689,1880,1783,1682,1421,1477,1879,2125,2078,1781,1618,2154,2048,2091,1924,1346,1409,1761,1820,1530,2055,2809,2387,1642,1618,2070,2373,2215,2278,3111,3323,2978,3191,3217,3187,3117,2972,2997,2554,2343,2978,2664,2695,2546,2249,1947,1533,1967,2388,2354,2625,2725,2403,2410,2424,1940,1700,2510,2619,1974,1917,1519,1287,1602,1797,1576,1688,2124,2281,2286,1657,1613,2218,1876,1991,2154,2476,2666,2893,2656,1963,1578,1629,1627,1704,1904,1485,1732,2048,1748,1559,1487,1454,2143,2462,2141,2178,2102,1964,1859,1600,1515,1413,1381,1488,1684,1825,2191,2327,1840,1930,2013,1783,1678,1732,1776,1959,1559,2023,2483,1843,1386,1408,1494,1608,1387,1580,1614,1798,1870,1766,1812,1711,1555,1655,1803,2101,2658,2531,1685,1378,1557,1541,1676,2128,2070,2014,1772,1964,2513,2885,2352,1697,1527,1683,1985,1808,1676,2126,2106,1998,1973,1821,1537,1691,1950,2034,2122,2014,2012,2178,2387,2148,2051,2293,2219,2291,2304,2241,2133,2372,2894,3138,2569,2555,3260,3570,3583,3663,3834,3907,4123,4264,3952,3195,2475,1858,1999,2788,3244,3264,3183,3046,2987,2958,2950,2962,3109,3354,3473,3274,2564,1614,1831,2131,2507,2722,2279,2036,1989,1824,1766,1783,1840,1780,1726,1810,1806,2014,1987,2164,2699,2532,1908,1481,1756,2535,2826,2245,1889,1814,1764,1909,2310,2362,2302,2083,2309,2207,1914,1772,2240,2316,2258,2161,2123,1981,2311,1952,1783,1698,1563,2002,2963,3072,2347,2114,1720,1626,1569,2142,3125,3073,2463,1731,1506,1613,1523,1655,1883,1922,1742,1616,1366,1353,1644,1931,2359,3000,3514,3348,3081,3266,2707,2144,2568,2854,3225,3499,3914,3331,2886,2604,2357,2264,2585,2711,2653,2696,3082,2752,2490,2187,2322,2374,2261,2524,2855,3230,2647,2125,2232,2129,3309,3472,3530,3233,3305,3553,3440,3509,3833,4256,4828,4841,4619,4461,4029,4030,4084,4084,3927,3840,4120,4085,4049,4050,4132,4144,4046,3938,3916,4132,4284,4201,4155,4132,4268,4265,4143,4288,4415,4215,4283,4272,4365,4572,4218,4305,3438,2995,3329,3528,2785,3147,3959,4498,4196,3871,4456,4676,4851,4872,4407,3861,4181,4189,4262,4477,4140,4096,4004,3187,2753,2364,2084,2467,2339,2318,2820,3286,3084,2890,3066,3032,2955,3018,3392,3574,2953,3048,3447,3430,3510,3408,3429,3311,3522,3669,3652,3806,3422,3096,3530,3940,4140,3957,3376,2823,2754,3292,4000,3794,3131,3065,3338,3443,3626,3598,3385,3708,4309,4398,4362,4387,4406,4407,4672,4872,4619,4408,4533,4480,4468,4533,4161,4049,3984,4308,3883,3703,4116,4169,3139,2181,2056,1841,2077,2623,3706,4262,3914,3695,3564,3076,2445,2381,2155,1856,2185,3018,3459,2562,2120,1782,1960,1776,1689,1692,1715,1835,2092,2576,2689,2412,3034,3394,3119,2729,2271,1965,3165,3579,3674,3714,3750,3957,3812,3665,3440,3364,2478,2284,2805,3210,2927,2575,3052,3489,3451,3707,3583,3402,2455,1821,1868,1584,1416,2303,2987,2636,2885,3312,3670,3721,3297,3332,3441,3596,3886,2351,2537,2776,2292,1879,1525,1349,1578,1943,2960,2954,2555,2554,1902,1884,1583,1499,2289,2627,2629,2610,2533,2377,2142,2232,2094,2103,2466,2779,2527,1899,1777,1865,1957,1919,1822,1765,1805,1546,1464,1628,1826,2299,2206,2182,2005,1633,1897,2062,1796,1936,2391,2915,2235,2070,1842,1620,1760,2370,3032,3389,3730,4079,4002,3767,3167,2546,2514,2454,2644,3031,2273,2561,4036,4728,4643,4740,4791,4627,4416,4256,3829,3606,4157,4368,3457,3207,3965,4207,4369,4449,4384,4449,4448,4395,4070,3664,3374,2913,2754,2910,3361,3827,3925,3397,3286,3748,3913,4124,3694,3261,3330,3758,4086,4240,3316,3107,2998,2556,2089,1956,1956,1945,1974,1986,2032,2176,2102,1822,1724,1627,1863,2429,2660,2599,2678,2785,2519,2478,2742,2797,3234,3408,2965,2900,3182,3376,3437,3340,3007,2887,3277,3312,3423,3444,3247,3270,3414,3487,3298,2750,2494,2886,2475,2211,2389,2403,1895,1609,1945,2117,1798,2079,2823,2876,2787,2792,2332,2188,2271,2172,1887,1966,1831,1733,1614,1695,2353,2788,3140,2696,2275,2434,2685,2752,2177,2183,2054,2287,2368,2522,2718,3077,2657,1787,1840,2087,1909,1660,1681,2025,1887,2442,2852,2755,2685,2586,2282,1617,1527,1724,1753,1838,2194,2189,2393,2406,2377,1810,1822,2165,2312,2652,2576,2152,1997,1865,1663,1685,1697,1693,1791,1993,1743,1341,1214,1426,1598,1409,1425,2132,2730,2371,2294,1917,1743,1822,2800,2783,2738,3211,2698,2488,3266,3589,3676,3526,3557,3012,2444,1936,1897,1842,1622,1651,1624,1793,2263,1952,1842,1792,1581,1636,1776,1970,1886,2153,2894,3492,3356,3252,3044,2450,2456,1693,1573,1661,1952,2142,1604,1540,1496,2062,3152,3500,3354,3585,3649,3383,2843,2771,2920,2754,2922,2730,2200,2148,2420,2154,1991,1694,1696,1843,1943,1680,1845,2432,2341,1980,2131,2059,2049,2336,2873,2851,2656,3062,3507,3436,3105,2831,3472,3386,2247,1810,2084,2676,2692,2177,2423,2383,2392,2829,2376,2171,2080,2833,3511,3265,3137,3106,3250,3698,3554,3416,3506,3667,3120,2514,2621,2515,2219,2254,2258,2083,1518,1553,1597,1459,1919,2391,2878,3208,3317,2921,2455,2015,1888,2095,2531,2959,3205,3320,3363,2835,2455,2040,1767,2094,2435,3417,3522,2634,2269,2053,2198,3066,2620,2124,1946,1644,1493,1802,1894,1693,1643,1722,1650,1642,1620,1592,1769,2075,2546,2512,2643,2458,2774,2786,2579,2622,2670,2532,2462,2612,2513,2532,2777,3108,2999,2746,2527,2850,3216,3300,3221,2654,2067,1856,1853,2093,2522,2680,2691,2729,2509,2746,2569,2026,2299,2436,2258,2164,2404,3388,2996,2715,3161,3194,2995,3301,3125,2171,1991,2030,1951,2023,1388,1308,1431,1349,1145,1058,1170,1559,1943,2429,2592,2656,3009,2602,2004,2611,2976,3273,3445,3805,3538,3174,2928,2674,2474,2742,3204,2768,2324,2118,2106,2372,2813,3286,3149,3197,3309,3083,3133,3204,3472,3718,3422,3172,3330,3469,3392,3480,3542,3439,3395,3312,3122,3064,2998,2863,3196,3248,3206,2534,1565,1683,2625,3462,3652,3374,3173,3253,3123,3199,3468,3273,3045,3222,3187,2617,2151,2314,2360,2390,2433,2106,1980,2311,2745,2630,2376,2958,2934,2098,2322,3097,3172,3184,3248,3040,2665,2655,3270,3687,3824,3140,3204,2309,2046,3285,3200,2425,1569,1720,2066,2440,3107,3482,3591,3957,3843,3405,3436,3362,3492,3582,3165,2934,3155,3052,2710,1993,2209,3295,3733,3544,3425,3437,3426,3423,3320,3427,3460,2996,2897,2648,2434,2471,2735,2755,3072,3703],[3146,3255,3086,2590,2327,1868,2510,2943,2764,2374,2506,2586,2623,3071,3522,3580,3259,3391,3099,3151,3130,2998,3100,3312,3284,3260,2868,2534,2933,3122,2877,3183,3009,2684,3138,3210,3138,3357,3410,3333,3190,3081,3057,3107,3052,3017,3322,3347,3252,3348,3484,3181,2968,3621,3190,2084,1916,2850,3710,3172,2332,2107,2324,2473,2132,2098,2373,1942,1681,1792,1700,1958,1907,1653,1626,1714,1929,2697,2220,1507,1769,2042,2437,2198,1870,2034,1908,2147,2599,2053,2362,2798,3231,3486,2968,2302,2066,1734,1654,1986,2241,2243,2552,1984,1620,1681,1982,2217,1880,1912,2625,2665,2132,1743,1676,1732,2830,3081,2067,2189,1968,1708,1624,1726,2232,2526,2192,2254,3276,3348,2356,2094,2060,2285,3190,2618,2824,2314,2042,2097,1786,1238,1398,1605,1576,1946,1422,1694,2020,1851,1559,1329,1632,2298,2420,2535,2835,2721,2656,2452,2835,3099,2397,2130,2036,2017,1749,2153,3131,3595,3285,2306,2261,2193,2541,2749,2752,3067,2964,2602,2285,2347,2752,3361,3038,2342,2581,2631,2633,3035,3157,3311,3010,2667,2769,2555,2742,3032,2584,2088,2130,2098,1676,2446,3183,2706,3323,3573,3384,3089,3075,2991,2709,2308,2219,2374,2334,2996,3350,3558,3300,2834,1970,2169,2342,2252,2100,2283,2420,2023,1761,1504,1534,1778,1969,2430,2656,2514,1850,1574,1937,2154,2484,2245,1838,1555,1668,2239,2320,1821,2055,2153,1970,1976,1889,1884,1888,1502,1603,1847,1747,1648,1750,1796,1944,1777,1709,1665,1544,1464,1644,1788,1734,1481,1338,1575,1603,1648,1659,1603,1590,1758,1923,1968,1980,1842,1963,2110,1692,1493,1713,1926,1958,1736,1576,1869,2188,2236,1866,1500,1677,1963,1728,1441,970,1023,1354,1467,1575,1529,1408,1638,2244,2464,2131,1734,2154,1945,1748,1792,1855,1689,1641,1615,1698,1781,2077,2730,2354,1742,1550,1433,1541,1560,1504,1630,2047,2351,2171,1649,1520,1778,1636,1468,1464,1469,1470,1515,1898,2001,1821,1779,1704,1496,1398,1991,2535,2111,1937,1987,2170,1814,1391,2054,2127,1836,1824,1917,2356,2348,1763,1565,1632,1469,1539,1979,2317,2047,1698,2238,2229,1880,2042,1846,1988,2480,1722,2001,2637,1957,1755,2132,2702,2338,1942,2122,2105,2115,2588,2226,1885,1680,1886,1681,1271,1163,1171,1112,989,980,1026,1195,1256,1166,1074,1081,1559,1816,1656,1519,1507,1484,1919,2095,1750,1548,1780,2150,2251,1845,1493,2244,2330,1860,1663,1394,1219,1259,1331,1868,2407,2248,2003,2157,2260,2453,2052,2163,1808,1511,1924,2050,1670,1154,985,969,805,777,797,859,1025,1123,1058,1195,1528,1416,1110,1635,2213,1841,1478,1390,1528,1694,1917,2356,1836,1655,1729,1621,1360,1487,1715,1582,1672,1750,1566,1744,2242,2193,2295,2219,2038,1973,1929,1796,2053,2294,2245,2591,2742,3076,3110,2873,2174,1875,2119,2474,2080,1666,1976,2068,1770,1532,1838,2666,2452,1969,1895,1635,1672,1743,2336,2131,1573,1903,2082,1864,1617,1342,1754,2311,2265,1995,1774,1790,1938,2138,2107,2233,2143,1708,1597,1876,1716,1436,1572,1995,1965,1652,1645,1917,2340,2649,2730,2387,1969,1946,1979,2548,1959,1721,1799,1767,1722,1696,2335,2872,2677,2257,2005,2712,3002,2974,2014,2603,2485,2165,2354,2584,2746,2442,2127,2452,2400,2744,3143,3002,2718,2304,2376,1897,1792,2236,2430,2558,2155,1836,2086,2566,2345,1531,1824,2625,2712,2525,2510,2222,2150,2231,2143,1855,1864,2347,2230,2211,1776,2116,2968,2708,2752,2641,2397,2328,2365,2135,1598,1425,1389,1814,2013,1963,1534,1540,1852,1801,1562,1482,1747,2375,2447,2103,2186,2344,2406,2182,1836,1553,1459,1380,1598,1566,1505,2076,2043,1797,1930,1810,1691,1869,1594,1784,1802,1609,2302,2294,1506,1637,1674,1518,1467,1539,1797,1876,1798,1658,1498,1765,1769,1418,1396,1750,2154,2370,1775,1451,1459,1633,1586,1943,1960,2470,2353,1547,1750,2502,2780,2324,1914,1672,1850,2226,1693,1781,2498,2901,2341,1619,1504,1683,1534,1474,1609,1871,1882,1616,1874,1902,1671,1660,1715,1713,1812,2153,2852,2686,2199,2880,2727,2304,2911,3609,3725,3609,3659,3994,4112,4040,3820,2966,2416,2231,2227,2047,1919,2437,3162,3184,2988,3054,3066,2908,2848,3333,3431,3238,2956,2459,2118,2396,2573,3006,3213,2544,2054,1923,1747,1754,1719,1910,1823,1741,1816,1682,1816,2357,2798,3095,2959,2248,1587,1888,2770,2833,2287,1857,1734,1770,2063,2355,2382,2388,2153,1799,1928,1848,1908,2634,2410,2740,2520,2347,2179,2160,2149,1862,1506,1415,1544,1904,2081,2629,2422,2270,2913,2220,2395,3306,3276,2416,1884,2253,2112,1597,1762,2002,2066,1590,1479,1436,1412,1830,2238,2163,2307,2907,3013,3102,3308,3172,3061,3398,3582,3930,3872,3692,3735,3242,3074,2721,2631,3245,2669,2388,2466,2603,2831,2774,2260,2110,2576,2940,3079,3299,3304,2123,1781,1508,2200,3475,3840,3695,3376,3363,3461,3391,3629,3860,4067,4659,4848,4723,4632,4046,4046,4099,4121,3990,4031,4029,3838,3697,3839,4048,4070,3958,3841,3729,3958,4151,4221,4025,3872,4047,4152,4160,4344,4256,4093,4080,4213,4248,4471,4012,4056,3305,3134,3339,3508,3182,2917,3480,4460,4499,4200,4176,4260,4892,5155,5156,4528,3949,3874,4337,4460,4064,3870,3540,2980,2922,2449,2923,3168,3490,3408,2812,2722,2517,2832,3257,3257,3220,3276,3194,3067,2911,3320,3438,3399,3420,3476,3511,3374,3406,3537,3597,3419,2973,3349,4028,4256,3915,3735,3499,2963,2507,2939,3828,3981,3462,3333,3428,3261,3065,3065,3548,4344,4572,4599,4511,4497,4459,4388,4644,4839,4684,4571,4691,4256,3827,3794,3725,3360,3497,4025,4090,3964,4048,3741,2465,2005,1892,1940,2254,2353,2539,3474,4079,4153,3703,2642,1954,2204,2330,2115,1829,2180,2566,2432,1957,1830,1937,1869,1866,1836,1675,1952,2317,2418,2307,2160,2125,2861,2855,2554,2010,1699,2253,3198,3929,3714,3636,3619,3083,3149,3407,3460,2957,2720,2951,3183,2927,2556,2828,2858,2657,3303,3650,3784,2509,1886,1763,1521,1490,2360,2830,2401,2680,3063,3115,3452,3410,3288,3322,3208,2987,2247,1966,2038,1954,1998,1800,1390,1378,1992,2920,2546,2584,2370,2176,1854,1594,1649,2246,2413,2333,2423,2502,2416,2280,2360,2320,2319,2525,2940,2642,1852,1600,1809,1930,1852,1672,1806,2100,1626,1447,1351,1153,1311,1646,1844,2004,1918,2177,2304,1803,2026,2362,2307,2028,2512,2405,1924,1887,2382,2474,1996,2366,3576,3828,3727,3255,2625,2577,2092,2012,2406,2457,2879,4151,4876,4952,4892,4875,4720,4371,4283,4284,3701,3955,4240,3825,3992,4428,4487,4487,4444,4371,4376,4316,4240,4184,3915,3472,3300,3203,3317,4280,4416,3447,3230,3845,4127,3836,3890,3971,3260,3156,3422,3729,3919,3817,3760,3516,2878,1990,1974,1859,1769,2001,1975,2104,2119,1975,1716,1714,1502,1493,1626,2216,2556,2653,2604,2232,2564,2902,2630,3215,3731,3621,3344,3262,3245,3311,3208,3045,3333,3594,3529,3485,3330,3111,3193,3312,3392,3332,2583,2321,2337,1940,2215,2389,2088,1772,1658,2343,2298,1907,2436,2896,2678,2664,2172,1807,2156,1831,1315,1444,1577,1553,1980,1949,1832,2131,2714,3211,2967,2611,2910,3140,3010,2231,1964,1719,1873,2089,2596,2943,2938,2367,1674,2242,2902,2391,1728,1997,2856,2623,2621,2652,2587,2525,2678,2136,1633,1644,1735,1760,1860,1826,2022,2588,2394,1953,1740,2286,2548,2309,2298,2049,1756,2054,1942,1750,1788,1793,1886,1747,1828,1918,1498,1346,1386,1578,1666,2098,2049,2190,2031,2007,2104,2169,2844,3354,2557,2413,3261,3156,3074,3675,3476,3122,3018,2897,2786,2488,2270,2286,2316,1994,1692,1953,2147,2384,2245,2199,2101,1981,1824,1588,1559,1714,1892,2471,3086,3206,3162,2998,2258,2004,1592,1510,1702,1578,1459,1475,1438,1476,1926,2790,3494,3427,3705,3667,3339,2655,2281,2553,2736,2459,2063,2064,2708,2493,1711,1530,1488,1732,1791,1875,1558,1668,2321,2258,2058,2135,2020,2054,2504,3062,2690,2466,2888,3231,3260,3442,3510,3375,2944,2303,1874,1918,2262,2153,2012,2149,2433,2712,2484,2330,2318,2143,2895,3662,3593,3500,3521,3527,3650,3874,3548,3193,3458,2766,2418,2409,2227,2762,2712,2064,2067,1626,1647,1742,1554,1580,1709,2118,2808,3189,3364,3362,3008,2389,2004,1899,2062,2487,3242,3218,3146,3237,2857,2736,2732,2791,3384,3384,2554,2698,2458,2501,3005,2368,1936,1951,1785,1532,1698,1817,1742,1713,1766,1803,1742,1533,1652,1706,2323,2929,3078,3160,3248,3274,2900,2811,3152,2980,2304,2779,2879,2886,2744,3221,3509,3587,3572,3105,2613,2595,2878,2652,2243,1957,1780,1641,1972,2556,2497,2325,2608,3055,3269,2644,2150,2180,2055,2055,2013,2183,3204,2889,2180,3008,3414,2909,2954,2768,2156,1780,1620,1799,2098,1594,1300,1191,1160,1170,1316,1446,1583,1753,2258,2990,3133,2801,2541,2419,2821,2313,2426,2687,3300,3651,3208,2799,2537,2000,1962,2728,2504,2108,2248,2305,2425,2995,3196,2945,2885,2724,2477,2502,2963,3628,3739,3584,2900,3006,3394,3583,3636,3457,3410,3327,3140,3252,3341,3144,3025,3213,3260,2534,2281,2120,2088,2405,2678,2874,2972,2809,3052,3203,3462,3389,3096,3085,3409,3094,2315,2124,2310,2225,2243,2270,2303,2487,2518,2598,2435,2222,2488,2454,2060,2734,3082,2623,3088,3549,3575,3127,3119,3504,3739,3862,3139,3260,2396,2493,3395,3250,2723,2225,2689,2889,3056,3343,3204,3017,3321,3243,2906,2987,3339,3558,3596,3506,3472,3482,3511,3299,2633,2266,3054,3519,3574,3630,3426,3161,3001,3264,3842,3814,3099,3074,2759,2634,2590,2627,2574,2705,3155],[3376,3183,3086,2808,2569,2173,2602,3162,3153,3019,3189,3420,3619,3683,3628,3561,3616,3607,3154,3101,3261,3371,3442,3247,3076,3221,2863,2802,2976,2884,2829,3330,2334,2274,2861,2900,2831,2917,2998,2957,2974,3140,3144,3140,3237,3319,3536,3443,3282,3307,3636,3207,2766,3361,3322,2297,1791,2452,2811,2659,2119,1740,1684,2171,2237,2321,2545,2229,2048,1737,1703,2185,1903,1565,1802,2236,2710,3009,2306,1637,1288,1451,2199,1852,1094,1592,2126,1916,2292,2220,2321,2328,3201,3686,2320,1556,1620,1671,1961,2130,2474,2729,2755,2334,2178,2115,2172,2411,2199,1970,2304,2481,2026,1552,1896,2431,3309,3364,2474,2269,1736,1580,1661,1853,1919,1918,1754,1795,2537,2682,2774,2446,1974,2040,2895,3015,3108,2964,2796,2508,2118,2177,2062,1495,1323,1595,1896,2559,2265,1676,1887,1934,1919,2370,2563,2644,2486,2441,3101,2939,3151,3018,1999,2105,2256,2232,2237,2546,2907,3083,2599,2171,2679,2821,2929,2521,2554,2972,3001,2733,2283,2091,2240,3209,3558,2824,3091,2985,2654,2898,3141,3705,3592,3386,3046,2480,2731,3083,2737,2143,1761,1888,1454,1856,2156,2633,3389,3608,3473,2987,2951,3282,3286,3398,3750,3532,3606,3676,3737,3735,3354,2604,2132,2294,2283,2164,2019,2285,2215,2263,1932,1645,1559,1818,1802,2439,2977,2422,1699,1949,2286,2208,2258,2053,2360,1876,1843,2293,2060,1853,2364,2416,1866,1775,1665,1737,1873,1757,1720,1733,1699,2216,2877,2475,1819,1886,1911,1614,1475,1442,1604,1588,1733,1642,1642,1670,1721,1853,1880,1559,1345,1545,1647,1718,1933,1951,1952,1945,1844,1955,1823,1816,1902,1718,1758,2119,2260,1919,1483,1492,1647,1624,1709,1595,1419,1277,1570,1948,1776,1489,1380,1793,2640,2426,1875,1833,2066,2202,1997,1790,1765,1532,1415,1422,1544,1861,2177,2041,1689,1532,1489,1427,1462,1671,1644,1483,1985,2487,2276,1750,1678,1787,1528,1347,1454,1474,1511,1519,1835,1910,1675,1856,1899,1459,1489,2292,2574,1928,1518,1922,2486,1968,1738,1866,1854,2065,1869,1505,1738,2012,1948,1861,1731,1752,2036,2092,1762,1696,2101,2834,2643,1919,1571,1657,1997,2133,2065,2447,2602,2086,1944,2182,2269,1981,1818,1740,2113,2575,2724,2610,1731,1465,1886,1799,1345,1188,1255,1216,1093,920,1188,2049,2095,1473,997,1149,1237,1205,1686,1979,1599,1701,1937,1718,1562,1352,1682,1819,1565,1485,1472,1742,2076,1698,1330,1301,1432,1405,1535,2187,2402,2238,1785,2019,2073,2037,1856,2129,1810,1681,2219,2467,2070,1305,1049,1114,957,903,937,1005,1116,981,869,1160,1635,1488,1091,1395,2046,1981,1637,1292,1251,1636,1852,1843,1445,1620,1646,1367,1401,1679,1860,1776,1733,1598,1848,1834,1818,1745,1583,1771,1808,1893,2143,2018,2206,2497,2366,2373,2909,3339,3039,2205,1986,2048,1863,2005,1721,1580,1906,1673,1260,1458,1928,2415,2227,2496,2568,1781,1444,1618,2083,2166,1809,1976,1916,1763,1443,1470,1910,2576,2246,1727,1686,1790,2156,2545,2198,2100,1923,1776,2182,2192,1874,1465,1940,2576,2143,1714,2491,2792,2518,2372,2389,1953,1927,1682,2023,2250,1628,1752,1961,2175,2042,1775,2631,3216,3349,2901,2543,3053,3586,3790,2757,2172,1795,2122,2327,2335,2803,2699,2728,2626,2508,2641,2855,2655,1948,1757,2355,2171,2117,2038,2273,2792,2229,1812,2452,2646,2180,1305,2145,2631,2683,2666,2375,2280,2402,2148,2340,2244,1935,1892,2061,2282,2834,2731,2758,3261,3536,3111,2334,2302,2175,1891,1445,1411,1467,1807,1797,1764,1611,1616,1813,1776,1637,1614,2087,2812,2736,2215,2080,1904,2321,2670,2187,1776,1732,1689,1898,1839,1681,1801,1730,1828,1781,1846,1781,1844,1589,1515,1433,1456,1829,1797,1402,1731,1757,1953,1600,1625,1941,2156,2085,1737,1722,1979,1758,1330,1529,1980,2131,1989,1511,1551,1604,1499,1564,1867,2160,2701,2656,2075,2317,2680,2640,2341,2177,2137,2302,2079,1737,1836,2533,2770,2267,1627,1542,1703,1830,1912,1844,1721,1748,1468,1449,1466,1508,1751,1545,1614,1777,2593,3369,2742,2154,2728,2644,2541,3033,3329,3586,3642,3603,3960,4284,3959,3009,2423,2371,2623,3163,3195,2737,2485,2761,3142,3073,3155,3184,3005,3010,3476,3505,3340,3074,2462,2351,2338,2357,3017,3064,2471,2199,2070,2017,2005,1749,1902,1836,1637,1589,1813,2358,2797,2802,2691,2696,2654,2199,1977,2642,2776,2509,2139,1912,1925,2049,2189,2374,2396,2320,2140,2380,1831,2149,2415,2588,3108,2996,2844,2403,2280,2091,1533,1549,1555,1649,2111,2459,2866,2059,1880,2544,2393,2533,2835,2896,2504,2385,2303,1925,1546,1725,1754,1933,1969,1760,1510,1780,2311,2326,2060,2060,2327,2720,3267,3362,2970,2993,3319,3849,3837,3120,3312,3441,2685,3023,3230,3285,2989,1879,2209,2434,2315,2451,2533,2427,2441,2746,3089,3073,3151,3020,1877,2043,2074,3107,3296,3682,3813,3310,3251,3618,3542,3626,3854,3958,4484,4544,4386,4340,3908,3964,4064,3876,3674,3827,3903,3718,3665,3758,3947,4071,3957,3838,3586,3737,3964,3985,3980,4052,4188,4180,4118,4167,4085,3983,3966,4364,4719,4495,4236,4027,3336,3300,3530,3775,4320,4572,4616,4611,4703,4407,3993,3974,4673,5044,5106,4751,3975,3782,3886,3852,4093,4035,3265,3000,2334,3040,3861,3702,3702,3819,3580,3248,3234,3021,2950,3272,3345,3200,2811,2844,3328,3491,3572,3427,3471,3624,3677,3753,3625,3596,3573,3161,2956,3254,3831,3793,3564,3920,3828,3208,2868,3072,3473,3871,3688,3653,3514,3277,3254,3731,4272,4400,4407,4440,4455,4598,4528,4408,4583,4772,4822,4552,4620,4524,4038,3670,3753,3798,3871,4025,4084,4090,3601,2739,2070,1968,1900,2175,2383,2022,1801,2372,3175,3393,2952,2021,1812,1930,1884,2088,2044,2071,2603,2707,2285,2031,1844,1679,1809,1899,1742,1807,2395,2414,2376,2267,2177,2661,2700,2415,2218,2021,2090,2347,3454,3461,3338,3372,3443,3458,3549,3400,3261,3323,3234,3144,2844,2398,2124,2169,2114,3020,3589,3697,2502,1744,1640,1459,1357,1974,2426,1815,2120,2376,2396,2493,2601,2306,1938,1964,2136,2100,1931,1873,2008,2187,1859,1504,1397,1627,2103,2381,2270,2199,2098,1525,1521,2027,2024,1731,1843,2235,2580,2549,1734,2089,2569,2664,2698,2756,2336,1853,1686,1946,1900,1662,1532,2077,2134,1751,1427,1367,1840,2365,2339,2401,2555,2322,2062,1840,1826,2242,2877,2468,2149,2172,1893,1695,1747,1933,1934,1900,2277,2609,3076,3496,3124,2791,2510,2181,2170,2561,2601,2910,4015,4642,4800,4865,4904,4627,4397,4447,4453,3942,4012,3956,3738,4197,4462,4311,4073,4151,4327,4103,3914,4136,4288,3754,3397,3861,3968,3484,3446,3469,3421,3550,4008,4156,3989,3731,3588,3363,3163,2993,3241,3269,3346,3548,3388,2840,2753,2302,1752,1933,2016,1882,1820,1935,1948,1918,1717,1343,1287,1251,2318,2692,2885,2508,1914,2023,2312,2795,3479,3866,3665,3382,3341,3311,3393,3271,3127,3332,3266,3247,3443,3596,3483,3418,3281,3281,3094,2583,2457,1931,1976,2351,2270,2393,2057,1891,2469,2498,2092,2540,2912,2810,2571,1958,1913,2041,1707,1539,1437,1393,1824,2211,1864,1899,2647,2908,3119,2813,2495,2810,3333,3252,2260,1802,1762,1698,1884,2199,2258,2309,2179,1765,1947,2023,1954,1762,2120,2588,2841,2790,2551,2533,2369,2530,2024,2163,1998,1831,1819,1817,1994,2449,2563,2425,2170,2203,2780,2700,2196,2026,1805,1664,1968,1838,1657,1803,1865,2072,2262,2633,2561,1742,1472,1390,1738,2024,2218,1848,1644,1698,1914,1871,2052,2793,3325,3083,3053,3654,3414,3405,3836,3090,2457,2280,2078,2229,2420,2537,2861,3064,2412,1827,1665,1896,1995,2092,1816,2054,2091,1801,1672,1688,1737,1842,1913,2298,2906,2555,2221,1886,1921,1621,1622,1750,1531,1601,1748,1570,1647,1964,2335,3299,3541,3727,3671,3502,3064,2521,2584,2834,2732,2215,2171,2751,2249,1566,1457,1683,1961,1888,1754,1298,1224,1615,1624,1694,1682,2001,2365,2909,3151,2908,3076,3118,2943,3007,3232,3234,2871,2414,1980,2009,1996,1907,2232,2326,2012,2048,2323,1969,2002,2386,2470,3176,3569,3335,3249,3573,3527,4014,3893,3168,2697,2437,2367,2248,2044,2598,2846,2288,1824,1678,1723,1865,2005,2229,2028,1627,1706,2112,2647,3155,3494,3519,3407,2733,2245,1994,1909,2160,2436,3021,3362,3318,3262,3209,3262,3343,2675,2569,2946,2458,2434,3139,3135,2114,1722,1740,1890,1884,1695,1760,1940,1955,1914,1738,1686,1816,1975,2934,3849,3868,3332,3109,3146,3031,2929,3341,3387,2636,2591,2562,2600,2221,2707,3224,3471,4018,3794,3230,2558,2666,2879,2379,1884,2167,2703,2922,2469,1937,1892,2392,3230,3286,2336,2534,2512,2436,2060,1725,1781,2523,2626,2411,3147,3072,2598,3208,3296,2162,1743,1743,1791,1970,1814,1418,1243,1238,1262,1540,1922,2071,1998,1881,2503,2976,2499,2608,2658,2443,2027,2432,2762,2986,3369,3199,2307,2189,2315,2110,2364,2331,2349,2453,2729,2829,2878,2773,2763,2623,2773,2695,2715,3182,3329,3349,3391,2899,2888,3193,3541,3561,3588,3474,3278,3176,3626,3681,3550,3034,2911,2986,2211,1826,1986,1953,1972,2460,2889,2985,2590,2932,3299,3577,3406,3364,3623,3566,2933,2409,2434,2385,2233,2280,2468,2562,2456,2293,2266,2113,1956,1985,2076,2296,2771,2820,2965,3585,3498,2981,3110,3496,3626,3906,3859,3481,3328,2891,3064,3210,3063,3082,2957,3060,2984,2930,2960,2824,2411,2434,2931,3006,2874,3425,3928,3721,3603,3593,3562,3486,3142,2698,2267,2655,3007,2626,2509,2282,2257,2318,2513,2710,2862,2814,2996,3213,3166,2664,2342,2368,2489,2645],[3550,3259,3096,3040,2656,2446,3052,3329,3296,3239,3144,3249,3760,3920,3648,3766,3801,3441,3278,3277,3392,3482,3428,3187,3044,3116,2975,3028,2995,2913,3078,3186,2652,2767,3142,3045,2800,2839,3030,2986,3033,3352,3460,3425,3459,3676,3850,3521,3260,3371,3588,3652,3341,3423,3763,2906,1846,1728,1836,2106,2216,1730,1234,1732,2040,1958,1874,2274,2312,1818,2458,2208,1880,1794,2088,2810,3330,3131,2432,1517,1407,1924,2042,1478,1000,2080,2612,2164,2262,2551,2614,2074,2131,2369,1735,1741,1751,1913,1328,1165,1958,2519,2717,2665,2374,2812,2788,1929,2021,1895,1937,2069,1818,1765,1903,2360,2288,2038,1943,1934,1762,1674,1783,2012,2035,2147,2298,2199,2446,2424,2288,1978,1908,2119,2732,3248,3532,3563,3096,2309,2686,2940,2518,1241,1065,1532,1954,2511,2364,2003,2161,2010,1406,1628,2168,2349,1670,1886,2808,2419,2876,2424,2018,2077,2094,2446,3194,3705,3806,3215,2752,2691,2701,2942,2840,2396,2115,1903,2220,2486,2180,2211,2376,3094,2963,2259,3089,3132,2669,2787,2888,3318,3852,3426,2500,2105,2562,2498,2059,1742,1659,1908,1209,1013,1593,2639,3055,3310,3421,2860,3252,3585,3880,3840,3322,3687,4092,3790,3901,3686,2886,2326,2170,1992,2336,2398,1826,1803,1887,1981,2250,2282,1880,1663,1440,1830,2586,2237,1430,1550,2078,1978,2371,2162,2062,1896,1733,1681,2122,2108,1961,1998,1731,1825,1920,1599,1323,1542,1761,1643,1686,2476,3056,2164,1838,2323,1947,1605,1538,1526,1522,1766,1672,1612,1756,1790,1556,1678,1678,1361,1492,1456,1346,1720,1958,1803,2016,1947,2024,1944,1814,1816,1839,1836,1746,2004,2011,1675,1476,1585,1773,1738,1584,1516,1690,1639,1848,2081,1675,1419,1220,1738,2370,2087,1737,1722,1894,1862,1621,1653,1640,1522,1444,1494,1399,1548,1810,1691,1968,1960,1782,1542,1246,1250,1360,1599,2094,2354,2670,2136,1644,1559,1688,1637,1430,1547,1914,1757,1837,2155,1856,1814,2210,1724,1469,2122,2396,1677,1268,1478,1677,1684,1797,1521,1644,2409,2119,1710,2027,2115,2064,1975,1926,2094,2208,1795,1311,1664,2388,2353,2101,1735,1650,1605,1818,1782,2066,2490,2045,1797,2065,2209,2073,1641,1671,1798,2519,2798,2652,2509,1959,1709,1694,1603,1404,1295,1335,1324,1152,997,1596,2406,2021,1801,1289,1123,1183,1209,2126,2553,1740,1626,1475,1376,1515,1336,1714,1646,1537,1625,1479,1413,1508,1315,1212,1410,1552,1599,1854,2343,2363,2200,1584,1643,1851,1758,1656,1588,1512,1887,2220,2416,2298,1677,1430,1378,1101,1069,1107,1277,1196,1004,1282,1504,1699,1549,1358,1146,1148,1533,1484,1237,1250,1529,1578,1377,1444,1754,1725,1445,2077,2133,1835,1603,1734,1707,1612,1739,1772,1777,1748,1666,1474,2009,2459,3106,2874,2901,2508,2208,2657,2683,2468,2167,1932,1542,1610,1692,1727,1928,2336,1631,1459,2192,2565,2364,2521,2832,2416,1715,1671,1562,1644,1790,1782,1935,1773,1535,1577,1550,1553,1725,1865,1663,1748,1968,2104,2329,2076,2193,1832,1778,2973,3120,2303,1475,1948,2579,1664,1446,2187,2190,2230,1966,1906,1619,1801,1778,2322,2272,1667,1779,2460,3098,2808,1936,2643,2956,2253,2103,2856,3051,3209,3281,3085,3098,2919,2432,2382,2723,3015,2963,2701,2698,2163,2062,2309,2072,1824,2340,2766,2498,2201,1993,2612,2292,1847,1711,2115,2498,1836,1371,1927,2591,2792,2430,2040,2243,2307,2189,1824,1841,2002,2237,2778,2886,2929,2777,2986,3123,3561,3351,2800,2010,2164,2424,1783,1750,1885,1866,1760,1638,1654,1782,1952,1939,1976,2069,2341,2731,2580,2357,1875,1591,2192,2611,2148,1691,1822,1891,1890,1713,1785,2022,1674,1239,1697,1770,1667,1707,1426,1343,1386,1462,1708,1687,1442,1697,2194,2173,1656,1670,2401,2695,2099,1694,1746,1668,1534,1480,1864,1882,1798,1547,1614,1740,1704,1627,1562,1644,1832,2396,2477,2236,2083,2293,2774,2814,2368,2286,2245,2294,1991,1813,2519,2114,1676,1608,1822,2106,2156,2165,1692,1426,1565,1489,1429,1393,1686,2222,1733,1790,2203,2942,3389,2624,1972,2087,2524,2853,2864,3407,3798,3704,3457,3425,3890,3527,2854,2541,2149,3052,3962,3628,3362,3167,2824,3166,3263,3238,3220,3098,3186,3159,3238,3398,3400,2923,2518,2562,2952,3060,2728,2351,2302,2127,2368,2226,1857,1761,1634,1544,1746,2322,2986,3027,2647,2633,2735,2766,2691,2381,2508,2709,2825,2521,2142,2011,1913,1960,2349,2313,2344,2221,2173,1697,2264,2490,2514,2910,3060,2508,1750,1864,1712,1600,2326,2259,2137,2421,2745,2621,1915,1811,2362,2603,2624,2526,2586,2345,2020,1702,1787,1608,1893,1917,1892,1632,1606,1603,1779,1937,1694,1672,1904,2231,2763,3646,3586,2953,2878,3234,3739,3463,2818,2912,2956,2651,3173,3473,4052,3804,3064,2956,2299,1622,1671,2157,2688,2950,2866,3264,3436,3620,3418,2110,1864,3030,3529,3295,3486,3769,3353,3081,3441,3370,3059,3650,3926,4296,4404,4319,4332,3989,3833,3860,3626,3606,3798,3834,3820,3662,3580,3984,4152,3968,3860,3668,3585,3762,3984,4069,4131,4560,4528,4219,4189,4141,4213,4364,4167,4382,4516,4529,4496,4005,3540,3675,4253,4764,4824,4708,4574,4704,4584,3895,3419,4051,4543,4703,4603,4018,3617,3581,3837,3983,3819,2966,2379,2785,3803,3974,3532,3198,3385,3770,3553,3536,3473,3472,3427,3448,3410,3145,3454,3662,3658,3640,3547,3565,3623,3861,3949,3690,3619,3603,3410,3250,3228,3510,3609,3670,3895,3862,3381,3106,3097,3368,3642,3517,3652,3696,3611,4016,4381,4320,4233,4256,4383,4382,4543,4571,4512,4596,4740,4617,4488,4540,4368,4094,3905,3888,4056,4201,3750,3493,3773,2902,2069,1933,1926,2051,2470,2570,2295,1842,1637,1949,2218,2086,1927,1957,1807,1673,2415,2359,1890,2361,2524,1993,2189,2305,1899,1595,1898,1763,1469,2363,2602,2701,2977,2964,2821,2381,2201,2488,2364,1942,1798,2907,3077,2893,3444,3709,3259,3263,3332,3222,3178,2888,2868,2764,2374,1924,2012,2006,2533,3480,3698,2588,1630,1483,1321,1374,1640,2551,2637,2683,2874,3081,2601,2595,1978,1116,1072,1449,1837,2029,2261,2304,1895,1493,1794,1838,1926,2365,2827,2570,2215,1865,1520,1891,2354,1891,1483,1741,2159,2729,2190,1774,2060,2079,2259,2330,1942,1707,1910,1782,2008,1757,1535,1402,1932,2089,1970,1716,1598,2210,2519,2248,2376,2395,1976,1774,1527,1870,2657,2938,2664,2342,1826,1597,1610,1649,1898,2270,3175,3355,2359,2038,2044,2352,2707,2386,2084,2275,2705,2621,2563,3159,3869,4469,4541,4448,4306,4417,4527,4445,3963,3679,3836,3728,3985,3864,3701,3813,3958,3752,3230,3203,3776,4027,3499,3253,3581,3725,3552,3282,3466,3649,3685,3918,4003,3700,3754,3861,3745,3172,2603,2874,3028,2946,2879,3061,2938,3451,2681,1963,1956,1887,1786,1721,1846,1782,1805,1625,1206,1247,1798,2575,2786,2819,2182,1762,2086,2669,3156,3874,3983,3665,3242,3239,3554,3499,3544,3474,3508,3257,2852,3459,4310,4124,3651,3500,3480,2787,2692,3226,2599,2083,1926,2013,2115,1860,1812,2397,2585,2195,2593,2984,2413,2341,2409,2519,2229,2086,1887,1749,1997,2198,2305,1942,2249,2864,2088,2400,2094,1843,2117,2699,2742,2135,1696,1650,1792,1932,2038,2145,3057,2632,2013,1805,1962,1997,1837,1994,2401,2858,2648,2215,2282,2197,2302,2225,2410,2183,1915,1898,1894,2263,2682,2497,2261,2335,2697,3099,2610,2183,1912,2085,2072,1926,1733,1598,1737,2019,2567,3531,4014,2993,2222,1833,1272,1619,1990,1743,1629,1650,1569,1537,1646,1982,2505,3498,4006,3587,3896,3587,3486,3747,2568,1702,1911,2111,2552,2835,2565,2743,2642,1891,1566,1636,2379,2193,2054,1924,1804,1909,1775,2029,2098,1983,1680,1536,1923,1855,1994,2158,2320,2491,1855,1549,1704,1691,1828,1948,1680,1927,2188,2395,3207,3677,3885,3868,3956,3859,3483,3226,3067,2811,1661,2019,2106,1599,1445,1322,1469,1762,1870,1805,1476,1378,1752,1622,1500,1903,2607,2532,2378,2133,2750,3671,3252,2415,2534,2958,2929,2528,2740,1793,1708,2108,2081,1914,2236,2238,2083,2269,2048,1965,2257,2348,2587,3073,3211,3274,3459,3451,3952,3488,2679,2129,1611,1633,1666,1908,2407,2412,2021,1779,1786,1789,1930,2370,2535,2153,1614,1690,2081,2355,2881,3174,2958,3182,3446,3240,2685,2186,1939,1928,2043,2409,2724,3386,3398,3291,3386,3023,3246,3212,2620,2490,3538,3399,2021,1721,1726,1817,1857,2063,2130,1979,1980,2057,1665,1947,2160,2294,3265,3680,3585,3275,2519,2231,2447,2797,3609,3736,2972,2898,3177,2873,2436,2468,2933,3758,4003,4094,3602,2318,3006,3154,2833,3082,3172,3117,2922,2154,1766,1830,2298,3366,2940,2147,2333,2422,2513,2208,2181,2117,2436,2718,2571,2863,2707,2507,2770,2567,2453,2445,2238,1930,1887,1755,1346,1233,1184,1207,1391,1584,1833,1680,1397,2121,2642,2268,2140,2033,1907,2351,3099,3312,3155,3051,3037,2431,2525,2251,2235,2249,1881,1832,2200,2542,2721,2809,2610,2789,3033,2987,2928,3248,3410,3139,3129,3185,3033,3064,3152,3056,2963,2924,2736,3219,3572,3988,3945,3338,2836,2867,3078,3044,2640,2236,2167,2527,2488,2907,2800,2508,2940,3079,3198,3573,3685,3310,3238,3250,2770,2230,1856,2121,2530,2514,2101,1996,2180,2472,2688,2538,2141,2076,2864,3116,2662,3533,3696,2978,2391,3128,3532,3554,3676,3230,2817,2729,2785,3000,2839,2685,2879,2857,2430,2119,2082,2112,2264,2336,2400,2732,2988,2889,3521,3857,3566,3427,3298,3403,3377,2567,2030,2083,2670,3008,2219,2343,2400,2489,2626,2463,2473,2635,3016,3085,3197,2998,2473,2324,2229,2464,2709],[3286,3276,3199,2909,2719,2683,2889,3309,3549,3464,3328,3263,3549,3852,3641,3740,3485,3139,3200,2989,3195,3300,3130,2841,2590,2777,2957,2767,2864,2865,2746,2821,2964,3211,3090,3033,3077,3297,3417,3082,2964,3263,3489,3391,3354,3571,3632,3428,3506,3560,3475,3603,3426,3265,3676,3504,2192,1813,2284,2179,2092,2289,2037,1955,1875,1995,1769,2236,2025,2144,3046,2646,2078,1986,1848,2525,3328,2840,2206,1456,1362,1658,1742,1521,1155,1343,1834,2154,2142,2146,2397,2181,1923,2489,2073,2110,2525,2644,2140,1858,2266,2514,2846,2610,1849,2311,2546,1834,1793,1981,2119,1850,1717,1875,2029,2112,1812,1685,1879,1955,1919,1889,1995,2087,2556,2602,2618,3073,2549,2211,2093,1963,1919,2181,2482,2977,3301,3748,3265,2530,2383,2167,2018,2119,2191,1991,1882,1921,2021,1896,2067,1916,1190,1659,2260,2390,2371,2392,2852,2979,2873,2333,1970,2176,2308,2643,3662,3953,4074,4028,3840,3392,2928,3031,2711,2026,1648,1562,1908,2477,2123,2436,2920,2986,2497,2400,2769,3139,2938,3118,3216,3064,2776,2597,2035,2279,2314,2314,1817,1664,1975,2020,1581,1283,2059,2490,2348,2379,3088,3197,3618,3703,4001,3605,2821,2695,3291,3845,3902,2996,2026,2080,2434,2464,2248,2161,1852,1666,1803,2247,3090,3260,2271,1463,1548,1758,2127,1885,1271,1258,1805,2201,2789,2224,1793,1765,1594,1802,2415,2247,1886,2021,1937,1726,1841,1601,1556,1720,1723,2114,2136,2226,2502,2087,2370,2277,1764,1510,1409,1535,1620,1823,1715,1590,1741,1677,1379,1518,1566,1695,2205,1903,1768,2028,2094,1942,1920,1911,1830,1626,1760,1831,1856,1763,1775,1882,1771,1820,1772,1863,1866,1776,1446,1424,1594,1497,1685,1815,1714,1534,1478,1439,1747,1644,1452,1553,1766,1660,1832,2195,1888,1596,1556,1508,1611,1517,1466,1652,1987,2034,1810,1438,1214,1256,1601,1672,2015,1923,2080,1782,1502,1480,1787,1888,1757,2048,2222,1999,1710,1716,1584,1605,1976,1789,1940,1967,2433,2115,1421,1405,1346,1286,1598,1671,1722,2809,2559,1787,1609,1875,2247,2296,2209,2317,2331,1645,1097,1956,2202,1772,1827,1637,1457,1626,1715,1808,1898,1992,1839,2039,2541,2523,1984,1791,2366,2899,3076,2677,2588,2674,2447,2043,1990,2014,1490,1493,1355,1276,1083,1304,1969,1918,1289,1110,1087,1121,1135,1317,1930,2004,1681,1647,1505,1661,1771,1628,1568,1666,1806,1832,1635,1693,2082,2030,1704,1514,1833,1840,1857,1950,2199,2180,1597,1555,1854,1870,1677,1592,1848,2059,1989,2344,2298,1976,1446,1234,1165,1291,1383,1406,1358,1290,1548,1702,1850,1473,1307,1155,1209,1370,1188,1152,1290,1476,1554,1581,1758,1844,1727,1659,2042,2410,2314,1799,2424,2464,1622,1732,2309,2591,1951,1461,1622,1932,2264,3416,3486,2705,1997,2112,2318,2111,1964,1998,2066,1859,1544,1583,1826,2039,2456,2322,2163,2595,2611,2657,2501,1820,1809,1936,1850,1663,1648,1648,1605,1659,1679,1708,1865,1738,1437,1423,1485,1648,2015,1694,1836,2071,2326,2314,1862,1874,2596,2855,2269,1603,1986,2831,2082,2004,2264,2007,1869,1710,1628,1835,2053,2040,2388,2270,1760,1714,1985,2621,3169,2570,2532,2938,2458,2573,2888,2842,2983,2741,2534,3011,2783,2016,2288,2657,2591,2491,2339,2680,2370,2369,2590,2242,2443,3153,3189,2690,2362,2321,2282,1911,1566,1478,1549,1702,1647,1774,2238,2767,2806,2499,2235,2585,2770,2287,1737,2023,2688,3051,2818,2727,2767,2373,2443,2355,2964,2768,2281,1772,1796,2190,2009,1807,1816,1996,1835,1674,1517,1686,1915,2014,2454,2544,2170,2088,2284,2360,2100,1797,1848,2566,2465,1957,2286,1785,1763,1553,1655,1830,1499,1214,1626,1783,1601,1581,1453,1514,1457,1511,1698,1553,1410,1919,2740,2531,1654,1872,2864,2808,2339,2091,1873,1522,1704,1901,1795,1701,1675,1500,1733,1960,1768,1936,1992,1788,1546,1509,1565,1763,1587,1639,2104,2274,1947,1826,2313,2394,1801,1951,2192,1969,1619,1593,1848,1754,1694,1625,1447,1443,1496,1495,1649,1499,1533,2027,1787,1692,2246,2836,3119,2722,2110,2060,2644,2852,2419,2965,3466,3375,3308,3198,3391,3554,3105,2325,2541,3839,4204,3395,3339,3428,3276,3005,3172,3342,3399,3261,3130,3086,3260,3242,3238,3363,3166,2774,2916,2672,2540,2806,2686,2271,2126,1930,1737,1499,1450,1721,2357,3374,3729,3280,2974,2856,2769,2543,2609,2675,2433,2390,2614,2676,2611,2100,1831,1714,1770,1929,2246,2246,1878,1945,2489,2342,2230,2263,2671,2404,1882,1752,1709,2159,3317,3071,2834,3107,3089,3021,2831,2514,2391,2320,2687,2410,2391,2437,1892,1616,1881,1851,1977,2616,2725,1989,1554,1640,1688,1638,2014,1830,1980,2678,2734,3278,3110,2709,2997,3575,3688,3342,3239,3050,3375,3200,3331,3263,3940,3885,3519,3552,3196,2173,1856,2248,2884,3069,2683,3393,3785,3739,2855,1722,2753,3546,3471,3462,3551,3773,3746,3374,2886,2880,2769,3730,4219,4343,4376,4304,4272,3924,3753,3809,3697,3663,3691,3713,3875,3605,3541,3816,3986,3898,3863,3790,3647,3837,4144,4356,4268,4515,4457,4387,4524,4573,4508,4523,4168,4005,4196,4321,4433,3951,3649,3789,4352,4755,4840,4718,4767,4639,4569,3934,3122,3395,4154,4542,4664,3938,3377,3706,3676,3325,2985,2481,2956,4050,4384,4013,3582,3408,3684,3997,3651,3536,3527,3409,3428,3476,3672,3724,3567,3575,3683,3628,3531,3497,3720,4019,3974,3769,3767,3580,3604,3653,3472,3308,3370,3585,3695,3607,3395,3240,3046,3370,3532,3527,3696,3763,3793,4089,4212,4025,4006,4163,4352,4459,4460,4530,4514,4660,4716,4572,4559,4508,4236,4084,3996,4024,3848,3926,3841,3252,2907,2225,1979,1886,1986,2644,3365,3153,2839,2137,1935,1754,1663,1665,1902,1946,1914,2388,2921,2645,2402,2361,2219,2008,2674,3198,2751,1842,1594,1776,1990,2669,2698,2127,2108,2541,2581,2282,2137,1958,1975,1690,2248,2786,1982,1967,2916,3310,3349,3393,3478,3198,2916,2609,2491,2497,2381,2141,1927,1686,2434,3814,3649,2523,1791,1763,1674,1547,1762,2812,3132,2705,2803,3203,3286,3173,2491,2172,1788,1806,2248,2020,2040,2084,1946,1672,2048,1976,1926,2193,2333,2264,2144,1813,1826,1781,1732,1832,2096,2042,2178,2555,2097,1955,1774,1477,1864,2146,1908,1676,1691,1755,2226,2235,1791,1348,1716,2004,2009,1932,1767,2282,2332,1879,1765,1794,1686,1656,1665,1847,2280,2666,2812,2716,2049,1663,1824,2104,2893,3287,3640,3220,2375,1838,1711,1809,1839,1663,1802,2047,2658,2790,2429,2282,2529,3769,4164,4212,4444,4668,4603,4465,4054,3695,4189,4273,4152,3942,3872,3951,3753,3146,2755,2806,3195,3426,3322,2931,2877,3051,3312,3432,3539,3679,3726,3619,3521,3475,3681,3825,3816,3382,2528,2989,3353,2810,3127,3458,3065,2763,2271,1955,1795,1873,1968,1835,1919,2141,2274,1754,1348,1826,2487,2523,2405,2241,1862,1937,2811,3144,3002,3737,3802,3487,3185,3315,3700,3688,3542,3752,3868,3281,2987,3145,3400,3750,4081,3704,3033,2169,2094,2294,1998,1691,1780,1897,1999,1862,1562,2009,2500,2128,2576,3258,3024,2539,2564,2548,2238,2182,1955,1958,2231,2576,2590,2332,2070,2196,1887,2010,1878,1653,2200,2629,2435,2377,2055,1913,2156,2259,2547,2115,2818,2810,2470,2563,2537,2322,2065,2141,2750,2895,2405,2228,1967,1694,2174,2185,2315,2534,2392,2114,2112,2359,2448,2434,2377,2243,2144,2098,2033,2298,2222,2192,2250,2016,1697,1602,1578,1786,2342,3357,3426,2551,2656,2153,1115,1485,2160,2009,1600,1599,1550,1656,1774,1928,2261,2551,3476,3592,3750,3657,3843,4157,3631,3018,3128,3105,3548,3264,2599,1998,1785,1696,1616,1990,2669,2496,2046,1841,2129,2286,2242,2699,2030,1886,1571,1582,2288,1937,2276,3019,3112,2446,1921,1771,1547,1689,1572,1675,1519,1920,2217,2476,3139,3404,3194,3256,3185,3237,2857,2689,2831,2876,1832,1972,1879,1625,1704,1628,1567,1713,1784,1759,1667,1818,2222,1750,1842,2293,2378,2089,1852,1481,1886,2798,2735,2019,2243,2465,2802,2988,3068,2089,1776,2402,2334,1934,2171,2667,2516,2388,2017,2022,1915,2170,2710,2610,2932,3322,3317,3362,3475,3232,2452,1959,1790,1590,1614,2036,2491,2586,2653,2416,2112,1905,1893,2330,2277,1804,1595,1758,2133,2589,3046,3055,2777,3005,3366,3560,3558,3183,2646,2196,1930,1844,1968,2346,2692,3040,3328,3330,3311,3075,2621,2769,3584,2887,1902,1788,1792,1895,2368,2758,2754,2388,2267,2178,2023,2587,3033,3176,3804,3457,2658,2473,2162,2060,2127,2381,2999,3389,3185,3356,3428,3133,3065,3071,3092,3785,3861,3863,3575,3083,3141,3103,2900,2979,2950,2752,2647,2224,2076,2014,2256,2792,2185,2023,2351,2438,2364,2153,2255,2464,2461,2340,2487,2708,2629,2827,2676,2573,3320,3031,2256,1884,2008,1607,1539,1626,1460,1157,1132,1229,1475,1421,1218,1658,1932,1872,2067,2165,2227,2713,3211,2954,3019,3301,3301,3061,2575,2501,2879,2898,2476,1984,2424,2833,2641,2974,2874,2885,3028,2307,2602,3294,2880,2405,2670,2928,2969,2928,2561,2489,2701,2367,2247,3198,3492,3760,3862,3286,2823,2752,3140,3562,3098,2873,2866,2363,1964,2334,2152,2061,2698,3045,3054,3327,3321,2988,3087,3409,3003,2313,2084,2405,2578,2183,2087,2622,2713,2513,2786,3125,2626,2249,3301,3831,3576,3794,3637,2820,2281,2598,2829,3103,3110,2325,1845,1873,2126,2131,1951,1997,2276,2149,1754,1609,1583,1761,2225,2303,2310,2408,2619,2887,3363,3499,3286,3073,3052,3402,3275,2194,1782,1870,2255,2865,2618,2677,2874,2841,2763,2543,2587,2734,2888,2899,2767,2488,2438,2753,2364,2444,2400],[2865,2917,3182,2998,3042,2934,3064,3638,3687,3575,3639,3764,3626,3465,3233,3123,2986,2980,3105,2898,2874,2946,2894,2881,2810,3044,3039,2813,3096,3042,2656,2645,2839,3270,3318,3275,3288,3101,2959,2403,2114,2483,3184,3522,3418,3378,3304,3527,3601,3533,3467,3580,3630,3359,3266,3677,3054,2373,2657,2418,1947,2116,2208,2899,2276,2131,1962,1929,1705,2056,2489,2310,2141,1986,1809,1946,1956,1943,1533,1375,1434,1455,1728,1894,1725,1903,2270,2092,1660,1524,1919,2307,2305,2419,2244,2359,3278,3329,3188,3342,3050,2719,2938,2335,1621,1708,1838,1833,1604,2046,2086,1657,1592,1750,2288,2310,1755,1823,2076,2394,3096,2441,2266,2436,3038,2833,2599,2667,2050,1788,1805,1469,1853,2463,2790,3056,2996,3404,2918,2419,2056,1641,1924,2851,2908,2356,2154,2042,2142,1847,1863,2148,1436,1854,2310,2336,2548,2712,2856,2832,2720,2254,2128,2368,2800,3181,3594,3953,4057,3931,3692,3264,2570,2453,2571,2263,1816,1910,2390,2789,2147,2150,2626,2599,2369,2780,3207,3276,3254,3339,2730,1990,1646,1980,2168,2263,1992,2540,2094,1607,1842,2392,2255,1958,2390,2626,2138,1926,2842,3337,3562,3710,3387,2842,2762,3138,3682,3593,3419,2543,1810,2427,2866,2872,2164,1808,1829,2081,2452,2950,3385,3592,3124,2046,1754,1700,1992,2177,1984,1663,1736,1941,1826,1866,1973,1719,1483,1521,1766,2014,1786,1754,1750,1759,2095,2250,1882,1405,1470,2422,2674,2078,2488,2788,2646,2131,1903,1611,1534,1591,1628,1630,1561,1523,1873,2050,1604,1519,1669,2207,2313,2388,2205,1891,1955,1898,1694,1925,1712,1424,1711,1896,1786,1700,1724,1714,1798,1876,1950,2061,2005,1919,1801,1770,1762,1651,1680,1788,2014,1642,1534,1440,1373,1206,1399,1909,2066,2077,2334,2513,1886,1624,1498,1402,1663,1543,1531,1760,1690,1550,1396,1306,1318,1428,1595,1359,1433,1625,1560,1978,1901,1509,1648,1603,1609,1740,1776,1748,1569,1703,1916,1671,1614,1803,2109,2070,2142,1969,1860,2162,1804,1827,1840,1652,1796,2762,3106,2279,1840,2072,2104,2055,2343,2964,3284,2483,1702,1899,1784,1598,1741,1740,1549,1667,1727,1808,1807,1781,1641,1856,2053,1857,1560,1782,2636,3484,3432,2938,2475,2178,2131,2286,2388,2258,1627,1737,1389,1174,1076,1404,1555,1168,1020,1069,1040,1193,1311,1357,1542,1527,1802,1902,1769,1691,1627,1533,1632,1931,2077,2076,1694,1555,1891,2176,1824,1694,1684,1622,1717,1938,2436,2500,2072,1948,2354,2299,1760,2091,2575,2230,2060,2276,2042,1718,1410,1361,1397,1546,1582,1337,1256,1408,1542,1375,1118,1154,1418,1384,1300,1343,1282,1181,1272,1531,1762,1660,1869,1808,1797,2112,2197,2153,2200,2154,2849,2894,2129,2185,2714,3011,2512,2034,2110,2213,2293,2901,3130,2695,2031,1862,2126,1998,1758,1681,1758,1836,1567,1910,2349,2319,2580,2418,1694,1725,2106,2444,2248,1809,2091,1991,1529,1583,1790,1583,1509,1523,1548,1652,1758,1812,1835,1632,1648,1973,2009,1701,1795,1806,2049,1952,1759,1700,1735,1918,2137,1972,2288,3167,2574,2568,2330,2095,1654,1907,1704,1600,2122,1938,1678,1918,2078,2204,2332,2170,2531,2336,2136,2092,2086,2393,2585,2750,2791,2205,2224,2260,2057,2019,2215,2276,2422,2460,1873,1931,2260,2255,2142,1955,2598,2999,2745,2208,1884,2130,2309,2072,1690,1514,1708,1774,1898,2169,2448,2590,2410,2524,2458,2730,2821,2297,2250,2754,3498,3633,3240,3017,2818,2170,2124,2050,2056,2001,1858,1663,1671,2075,2370,1903,1869,2009,1780,1637,1585,1543,1579,2041,2679,2266,1814,1896,2080,2094,2250,2294,2509,2756,2599,2395,2311,1731,1558,1668,1751,1735,1607,1719,2215,2390,1770,1445,1773,1807,1412,1430,1697,1685,1577,2306,3107,2618,1644,1835,2740,2518,2666,2370,1955,1661,1804,2017,1989,2259,2178,1743,1497,1557,1806,2116,2177,1811,1729,1419,1566,1721,1572,1709,1916,1939,1904,1838,1982,1890,1703,1763,2004,1925,1674,1812,2088,1823,1454,1434,1526,1426,1420,1575,1656,1460,1484,1714,1848,1934,2292,2236,2076,2036,1783,2137,2697,2857,2302,2491,3206,3087,3276,3117,2980,3330,3144,3029,3500,3880,3852,3193,3327,3437,3550,3232,3017,3312,3505,3332,3172,3184,3186,3027,3002,3332,3412,3252,2994,2631,2886,3081,2677,2363,2088,1637,1333,1476,1880,2556,3248,3539,3404,3193,3010,2921,2722,2427,2530,2585,2360,2287,2468,2696,2554,1994,1665,1683,1876,1969,2189,2241,2016,2205,2172,1824,1908,1832,2176,2548,2523,2047,1614,2254,3082,3055,3184,3303,3105,3210,3138,2698,2125,2456,2647,2142,2007,2238,2294,2069,1932,1747,1902,2653,2940,2395,1893,1743,1864,2114,2070,1953,2119,2727,2714,2509,2339,2413,2750,3282,3098,3275,3670,3413,3260,2928,3153,3494,3999,3902,3422,3360,3009,2237,2828,2651,2833,3134,2873,3442,3588,3404,2740,2752,3416,3414,3451,3650,3576,3601,3797,3356,3128,2877,3362,4112,4279,4344,4124,4123,4284,4011,3779,3854,3763,3675,3637,3658,3790,3682,3720,3762,3808,3762,3708,3692,3728,4018,4180,4283,4180,4384,4161,4334,4469,4461,4323,4342,4396,4049,4142,4256,4094,3835,3450,3252,3771,4371,4542,4474,4456,4355,4552,4352,3266,2949,4018,4527,4631,3596,3124,3320,3053,2712,2657,3142,3952,4524,4496,3920,3482,3706,3993,3838,3536,3436,3356,3269,3294,3270,3366,3394,3256,3403,3526,3580,3573,3387,3630,3757,3804,3894,3861,3603,3569,3637,3439,3327,3398,3360,3319,3415,3418,3161,3089,3337,3440,3527,3611,3697,3962,4263,4124,4140,4128,4365,4396,4476,4544,4647,4599,4631,4691,4456,4067,4232,4227,4051,3938,4120,3946,3768,4046,3448,2367,1983,1931,1921,2425,3327,3968,3494,3452,3068,2336,1799,1704,1735,1608,1575,1823,2321,2800,2954,2956,2844,2566,2314,2476,2688,2721,2403,2169,2364,2450,2333,2200,2352,2362,2345,2362,2164,2376,2300,2104,2085,2378,2432,2002,1934,2512,2584,2648,2819,3257,3351,2802,2154,2232,2380,2038,1981,2480,2194,2404,3399,2874,1897,2016,1968,1713,1928,2049,2446,2470,2162,2714,3431,3706,3554,2742,2802,2444,1597,1809,2178,2046,2144,2079,1816,1857,1685,1820,2496,2688,2209,1824,1759,1765,1450,1687,2292,2096,1593,1738,1985,2194,2090,1598,1618,2080,2200,1990,1656,1586,1694,2230,2631,2146,1571,2126,2533,2061,1894,1770,1915,1532,1290,1554,1512,1378,1461,1725,1793,1976,2686,2755,2646,2056,1801,2007,2102,2744,2454,2032,2083,1812,1546,1504,1577,1710,1561,1664,1853,2018,1956,2074,2108,2420,3091,3754,4308,4436,4745,4648,4168,3726,3373,3702,4056,3983,3649,3538,3498,3458,3217,2880,2961,3275,3024,2996,3104,3041,3435,3396,3311,3396,3640,3672,3428,3408,3378,3676,3692,3746,3492,2796,2873,3275,3158,3750,3694,3178,3075,2520,2047,2059,2105,1882,1686,1975,2031,1952,1530,1844,2574,2729,2407,2306,2522,2322,2514,3466,3480,3074,3481,3586,3304,3418,3584,3638,3538,3416,3460,3520,3242,3218,2775,2554,2813,3347,3549,2700,2278,2013,1801,1803,1699,1689,1947,2219,2181,1852,1760,2374,2159,2200,2397,2152,2196,2524,2221,2031,2222,1880,1879,2203,2252,2110,2078,1643,1602,1620,1875,2016,1753,1896,2156,2367,2323,2276,2328,2565,2447,2573,2108,2720,2877,2463,2335,1942,2395,2596,2408,2988,2651,2249,2305,2250,2610,2569,2296,2568,2890,2798,2069,1826,2240,2395,2383,2220,1994,1904,2071,2222,2361,2248,2252,2197,1972,1643,1566,1941,2567,2875,3316,2967,2777,3062,2618,2158,2346,2280,2385,1943,1962,1590,1659,1873,1912,1669,1628,2170,2822,3240,3648,4200,4268,4028,4080,3706,3495,3666,3078,2796,2004,1664,1749,1685,1891,2254,2510,2232,2172,2451,2402,2298,2295,1934,1756,1616,1794,1987,1495,1772,2718,2808,1666,2070,1872,1516,1704,1632,1795,1717,1910,2244,2340,2491,2491,2532,2435,2097,2945,2757,2806,2973,2907,2365,2253,2220,2237,2242,2476,2054,1947,1668,1828,1927,1933,2185,2285,2552,2120,1575,1688,1642,1354,1396,1991,2239,2104,2389,2392,2524,2923,3098,2261,2031,2439,2422,2610,2709,2940,2584,2248,2144,1767,1614,1740,1895,2225,3017,3431,3419,3334,3267,3492,3186,2180,1927,1723,1756,2259,3218,3555,3326,2755,2385,2410,1924,2160,1954,1769,1894,1888,1920,2385,3084,3195,2798,2532,2896,3381,3385,3452,3559,3272,2705,2229,1961,1947,1998,2392,2774,2976,3021,3297,3254,3203,3155,2657,2414,2310,2210,2518,2665,2839,2678,2295,2336,2499,2656,3442,3879,3969,3894,3724,2942,2424,2140,2063,2066,2091,2393,2788,3150,3491,3225,3415,3605,3583,3373,3729,3564,3462,3660,3300,3002,2946,2890,2853,2718,2920,2974,2391,2446,2374,2175,2156,1852,2089,2492,2470,2358,1984,1766,1947,2069,1963,2562,2701,2579,2896,2750,3087,3417,3022,2338,1910,1997,1446,1680,1540,1361,1171,1318,1730,1827,1718,1522,1407,1600,2007,2078,2264,1923,2259,2975,3229,3342,3482,3356,2896,2689,2706,2581,2828,2752,2192,2308,2642,2842,2973,2590,2531,2485,2243,2980,3295,2734,2311,2542,2626,2580,2567,2433,2424,2471,2248,2072,2517,2741,2977,3551,3430,2810,2336,2424,3039,3408,3594,3566,2906,2130,2042,2036,2032,2498,2536,2593,2821,3182,2937,3098,3300,2796,2246,2237,2406,2396,2136,2234,2935,2734,2241,2500,3193,2767,2160,2562,3389,3818,3865,3841,3251,2393,2369,2272,2635,2404,1796,1664,1578,1640,1678,1596,1583,1684,1626,1521,1509,1582,1847,2343,2410,2655,2791,2694,2816,2949,2978,2874,2971,3422,3361,2697,1765,1597,1774,2173,2979,2928,2700,2770,2823,2834,2779,2762,2801,2756,2859,2564,2313,2465,2923,2545,2239,2184],[2894,3111,3331,2967,3200,3017,3277,3376,3401,3444,3584,3617,3330,3175,2968,2864,2697,2930,2895,2965,3023,3077,2952,3116,3283,3107,2881,2770,2858,2751,2613,2535,2854,3283,3450,3038,2702,2478,2024,1880,1969,1914,2436,3255,3377,3332,3212,3262,3363,3602,3385,3366,3311,3286,3363,3817,3804,2652,1998,1895,1969,2142,2836,3506,2618,2379,2120,1823,2071,2923,3056,2624,2735,2331,2292,2293,2049,1958,1387,1339,1147,1309,1908,2242,2311,2170,2075,1850,1540,1663,2298,2623,2375,2181,2229,2585,3432,3329,3275,3915,3212,2244,2482,2335,1889,1949,2069,2132,2014,1931,1906,2091,2113,1807,1855,1919,1898,2066,1776,2532,3406,2840,2547,2105,2363,2343,2387,2250,1792,1918,2223,2248,2605,2713,2806,2811,2763,2799,2374,2467,2313,1780,1942,2238,2335,2765,2750,2102,2087,2143,2632,2408,1794,1781,2042,2214,2082,2242,2823,2925,2720,2107,2192,2237,2365,2578,2798,3146,3565,3672,3501,3154,2634,2865,2783,2869,2425,2298,2505,2636,2089,2239,2879,2500,1992,2592,2977,2770,2742,2907,2262,2087,1973,2105,2024,1976,2313,2501,2204,1840,1723,1853,2112,2159,1975,1913,1906,2294,2866,3171,3377,3264,2601,2499,3032,3726,4321,4002,3096,2625,2396,3046,3086,2811,2284,2178,2452,2410,2534,3090,3255,3453,3238,2464,2248,2128,2440,2215,1712,1572,1597,1657,1802,1887,1812,1700,1569,1487,1412,1753,1772,1760,1776,1667,2344,3056,2491,1509,1828,2793,2978,2452,2442,2469,1884,1900,2249,1985,1915,2123,1793,1701,1493,1403,1599,1819,1499,1499,1843,2200,2144,2199,2098,1995,2302,2198,1809,1846,1673,1832,1892,1820,1533,1461,1440,1556,1721,1823,1947,1896,1967,2031,1952,2040,1917,1769,1720,2108,2302,2091,1731,1563,1599,1452,1511,1910,2166,2508,2147,1922,1553,1468,1570,1830,1709,1501,1530,1516,1493,1412,1357,1388,1310,1423,1562,1500,1483,1475,1509,1946,2118,1720,1566,1626,1626,1568,1862,1653,1656,1683,1792,1695,1720,1656,1736,1729,1669,1788,2129,2731,1966,2720,2420,1963,1889,2143,2728,2475,1804,1985,1995,1613,1606,2387,3322,2564,1895,1781,1725,1531,1692,1790,1887,1810,1651,1719,1814,1844,1753,1737,1699,1870,1762,1690,2518,3219,3022,2738,2280,2199,1997,2405,2339,1991,1726,1637,1284,1115,1189,1222,1221,1188,1022,1012,1078,1172,1306,1252,1399,1702,1935,2099,1929,1636,1490,1437,1755,2252,2490,2008,1681,1583,1993,2021,1702,1732,1505,1470,1564,1708,2241,2429,2136,1829,1990,1960,2192,2419,2805,2485,2155,2055,1820,1537,1588,1775,1703,1692,1716,1393,1057,1181,1245,1135,1314,1345,1366,1380,1346,1600,1519,1328,1516,1632,1747,1631,1593,1599,1878,2404,2719,2593,2222,2318,2633,2540,2887,2627,2719,2588,2344,2199,2416,2468,2701,2879,2355,2332,2712,2436,1943,1710,1548,1559,1764,1660,2319,2595,2172,1838,2084,2425,1720,1280,1758,2124,2113,2043,2433,1981,1569,1983,2033,1650,1636,1626,1671,1736,1612,1803,2078,2059,2142,2261,2097,1952,1926,1939,1980,1886,1934,1859,1852,1860,2005,1967,2723,2818,2466,1993,1722,1751,1421,1494,1433,1565,1792,1707,1625,1856,2089,2153,2479,2431,1940,2010,2497,2496,2729,2797,2843,2834,2833,2232,2153,2025,1934,1854,1750,2000,2308,2522,2107,1662,1642,1693,2027,2133,2442,2695,2065,1603,1721,1921,2112,2300,2064,1774,1810,1643,2036,2298,2288,2528,2643,2734,2553,2346,2032,2309,2522,2604,3318,3527,3637,3559,3111,2424,1926,1694,1621,1802,1925,2049,2090,2483,3226,2894,1932,1774,1561,1562,1638,1472,1583,2298,2432,2022,1852,1824,1883,1983,2307,2591,2558,2578,2183,1975,1985,1840,1549,1487,1492,1604,1723,1922,2303,2250,1731,1470,1768,2015,1800,1666,1768,1867,2302,3072,2262,1809,1637,1853,2125,1691,1863,1952,1925,1789,1642,1581,1867,2007,1903,1790,1297,1359,1738,1692,1852,1876,1672,1552,1581,1616,1717,1644,1636,1918,1796,1550,1759,1948,1942,1635,1649,1680,1529,1774,2195,2211,1722,1547,1553,1418,1616,1667,1448,1594,1776,1918,2014,2026,2148,1771,1651,2026,2272,2495,2163,2585,2533,2751,2889,2631,2798,2458,2523,3111,3570,3911,4074,3652,2888,2676,3115,3368,3520,3472,3023,3026,3591,3684,3297,3146,2857,2700,2861,3107,2741,2577,2597,2677,3023,3169,2875,2178,1816,1410,1607,2138,2867,3473,3673,3312,3123,3159,2941,2741,2613,2516,2598,2570,2496,2622,2766,2969,2607,2021,1764,1831,1797,1785,2041,2263,2156,1900,1675,1663,1682,1923,2278,2433,2520,1983,1484,1719,2286,3027,3416,3437,3181,2875,2121,2023,1682,2031,2555,2034,1923,2384,2667,2458,1827,1684,1821,2665,2996,2630,2223,2308,2461,2679,2106,1770,2059,2304,2105,1733,1942,2360,2566,3018,2842,3142,3406,3274,2875,2647,2676,3015,2955,2696,3097,3315,2508,2062,2710,2731,2664,2556,2860,3541,2957,2314,2802,3154,3266,3226,3383,3182,2697,2962,3691,3529,3379,3330,3964,4465,4595,4452,3902,3849,4256,4050,3905,3971,3949,3871,3768,3844,3653,3506,3752,3818,3675,3562,3630,3737,3825,3915,4062,4132,4268,4520,4373,4486,4377,4035,4168,4484,4737,4186,4367,4732,4704,4237,3404,3313,3881,4529,4451,4238,4253,4275,4440,4490,3550,2965,3826,3991,3838,2910,2533,2454,2197,2347,3073,3862,4247,4407,3951,3691,3474,3837,4104,3752,3491,3451,3226,3041,3088,3056,3184,3353,3269,3281,3407,3490,3551,3416,3692,3794,3836,4056,3957,3658,3526,3392,3427,3416,3294,3229,3354,3421,3377,3206,3069,3199,3460,3481,3385,3316,3564,4124,4189,4010,4052,4545,4692,4603,4676,4816,4780,4540,4233,3759,3449,3917,4063,4123,4169,4144,3821,3753,3847,2987,2065,1897,1833,2190,3006,3818,4062,3848,3676,3029,2138,1792,1760,1714,1585,1694,1975,2255,2624,2744,2529,2459,2877,2353,2395,3018,3078,2655,2442,2155,1875,1727,1875,1786,1843,2208,2093,1762,2108,2059,1872,2098,2139,2253,2040,2308,3042,2925,2775,2723,3105,3284,2747,2235,2145,2246,2075,2084,2482,2590,2624,2721,2534,2351,2900,3039,2700,2609,2194,2102,2173,2254,2680,3567,3584,3199,2751,2697,2502,1753,1626,1609,1970,2257,2025,2017,1802,1609,1599,1525,1876,2250,1831,1535,1464,1519,1888,2699,2902,2075,1810,1963,2155,2191,1952,2046,2352,2222,1859,1942,1876,1926,2417,2259,2115,1782,2055,1903,1536,1753,1836,1576,1300,1660,2037,1766,1360,1547,1796,1650,1566,1779,1878,1771,1620,1665,1937,1843,1809,1598,1509,1545,1476,1496,1419,1528,1634,1790,1808,1852,1912,1920,2097,2250,2184,2363,2953,3679,4259,4550,4484,4038,4141,4112,3460,3757,3916,3539,3360,3250,3595,3606,3471,3683,3837,3332,3045,3103,3483,3626,3435,3572,3618,3644,3373,2890,2810,2611,3198,3312,3266,3286,3009,3160,3442,3745,4225,3790,3528,3727,3055,2340,2138,2068,1823,1894,2415,1984,1787,1806,1902,2348,2570,2589,2606,3294,3212,3062,3383,3318,3170,3304,3144,3287,3509,3527,3585,3486,3477,3082,2978,3050,3636,2994,2458,2778,3296,3250,2575,2359,2223,1869,1700,1662,2200,3041,2127,1911,1979,1963,2409,2149,1848,1969,2180,2501,2640,2607,2852,2751,2082,2011,2040,1824,1809,1839,1944,1922,1699,1877,2056,1814,2070,2180,2342,2306,2458,2662,2754,2567,2392,2073,2256,2496,2035,2016,2182,2754,3094,2700,2374,1994,2127,2476,2515,2270,2097,2539,3001,3141,3088,2248,1919,2198,1994,1803,1881,1804,1654,1840,2175,2039,2054,2227,1688,1624,1642,1417,2025,3205,3527,3357,3013,2974,3289,3022,3142,3298,2667,2567,2142,1831,1637,1703,2403,2427,1843,1601,1936,2966,3648,4121,4266,4096,3973,4057,3479,3417,3195,2344,1766,1556,1598,1735,1687,1839,1979,2368,1991,1781,1626,1915,2022,2092,1804,1792,1740,1718,2201,1881,1906,2732,2457,1852,2060,1612,1466,1495,1533,1730,1653,1574,1769,2055,2421,2647,3634,3030,2603,3226,2647,2812,3139,2887,2625,2352,2810,3003,2300,2244,2065,1937,1581,1739,1799,1852,2025,2325,2497,2130,1522,1540,1460,1430,1745,1964,1825,1831,2277,2536,2557,2831,3072,2578,2504,2544,2580,2863,2944,2895,2649,2642,2352,1696,1638,1777,1943,2472,3240,3565,3468,3211,3416,3652,3153,2226,1914,1838,1941,2280,2829,3128,2997,2627,2643,2627,2767,2316,1874,1948,2072,2052,2368,2635,2575,2866,2598,2048,2353,2688,2800,3052,3517,3595,3451,3027,2630,2208,1967,1903,1931,2209,2463,2918,3089,3197,3175,3229,3153,2943,2731,2907,2858,2565,2212,2410,2405,2213,2532,3377,3962,4009,3914,3697,2919,2312,2168,2086,2031,2204,2642,2657,2597,2497,2710,3327,3204,3274,3252,3003,2835,3426,3460,2675,2909,2640,2897,2263,1890,2129,2344,2256,2864,2652,2037,1922,1913,2403,2499,2384,2540,3072,2277,1988,2143,2491,2987,3174,3234,3044,2820,2629,2480,2513,2315,1957,1854,1584,1702,1714,1334,1114,1509,1748,1265,1057,1115,1321,1566,2389,2494,2326,1328,1404,2454,2865,3044,3044,2696,2583,2654,2103,2156,2633,2610,2261,1924,2495,3042,2708,2272,2368,2493,2541,2918,2900,3039,2781,2365,2376,2509,2134,1948,2302,2266,2254,2322,2227,1995,2102,2518,2508,2100,1819,1841,2740,3298,3568,3588,3305,2876,2728,2630,2264,1969,2121,2215,2798,3252,2811,2518,2633,2381,1941,2019,2293,2460,2422,2005,2035,1998,2181,2313,2987,3168,2612,2374,3007,3431,3365,3703,3500,2751,2607,2069,2136,1786,1627,1635,1577,1544,1581,1576,1522,1495,1425,1478,1553,1572,1768,2336,2446,2737,2833,2723,2669,2667,2632,2698,3344,3427,2203,1648,1464,1457,1626,1980,2737,2598,2462,2860,2962,3017,3021,3040,2918,2919,2745,2369,2193,2288,2710,2502,2317,2537],[3168,3229,3327,2904,3017,3153,2873,2787,3097,3186,3373,3352,3272,3213,2924,2940,2946,3019,2966,2906,2850,3110,3177,3353,3233,2686,2625,2623,2736,2646,2676,2718,2647,2583,2806,2375,2180,2232,1945,1904,1720,1718,2115,2930,2899,3156,3348,3421,3459,3500,3544,3495,3242,3341,3596,3724,3760,3184,2388,1968,1928,2158,2652,2373,2249,2472,2180,1825,2059,2986,3537,3225,2853,2404,2469,2566,2149,2091,1884,1648,1462,1575,2233,2720,2406,1907,1996,2113,1765,1543,1897,2138,2154,2309,2624,3175,3579,3532,3287,3165,2246,1794,1712,1919,2200,2262,2303,2106,1662,1476,1837,1875,1560,1655,1864,1714,1980,2173,1806,1996,2954,2746,1917,1905,2154,2253,2121,1759,1763,2159,2780,2764,2623,2503,2567,2534,2252,2019,2024,2321,2167,1680,1568,1744,1739,2558,2163,1573,1734,1765,1858,1830,1672,1513,1506,1768,1990,2249,2733,2522,2203,2080,2160,2265,2152,2086,2154,2274,2736,3207,3254,3449,3428,2905,2509,2579,2558,2054,1938,1923,1511,2373,3452,2714,1938,2391,2878,3234,2953,2345,2063,1970,2150,2187,1720,1881,2131,1837,1898,1785,1854,2060,2286,2128,1951,2141,2519,2332,2028,2234,2696,2578,2458,2577,3032,4041,4294,4636,3482,2707,3188,3582,3624,3520,3062,3185,3168,2419,1977,2612,3188,3478,3082,2620,2402,2279,2629,2358,1648,1422,1470,1824,1831,1974,1790,1672,1563,1650,1779,1886,2179,2117,1613,1482,1824,2771,2499,2109,2685,2933,3031,3082,2352,1598,1557,2105,2445,2047,2088,2811,2388,1747,1448,1776,1752,1618,1594,1582,1825,1834,1984,2313,2292,2000,2124,1725,1790,1795,1512,1685,1653,1554,1486,1497,1362,1361,1627,1892,1957,1715,2038,2078,1862,1792,1812,1880,1963,2188,2316,2336,2088,1827,1732,1313,1480,1786,1685,1817,1645,1492,1432,1454,1864,2056,1582,1323,1468,1462,1473,1511,1382,1311,1517,1549,1457,1518,1270,1266,1467,1432,1449,1523,1498,1771,1578,1609,1839,1644,1505,1565,1623,1727,1942,2182,2491,2207,1983,1925,2287,3298,2607,3155,3083,2185,1917,1797,1926,1944,1720,1970,1749,1625,1666,1967,2503,2010,1698,1757,1676,1705,1737,1533,1891,1758,1576,1523,1869,1831,1992,1929,1753,1772,1821,1769,2414,3073,2668,2315,2600,2733,2411,2399,2204,1870,1937,1699,1288,1265,1281,1388,1851,1574,1262,1103,1149,1009,1088,1135,1276,1406,1481,1562,1616,1732,1878,1865,1832,2421,2924,2338,1969,1819,1946,1918,1726,1783,1691,1439,1502,1604,2117,2376,2028,2177,2690,2808,2518,2290,2393,2561,2480,2129,1787,1506,1660,1832,1710,1641,1697,1462,1187,1183,1308,1600,1607,1145,1129,1264,1600,1843,1830,1585,1942,2166,2055,1891,1676,2066,2446,2170,2266,2646,2098,2559,2658,2028,2424,3112,3319,2482,1628,1464,1815,1895,2359,2110,1547,1328,2071,2335,1993,2047,1754,1518,1621,1795,2537,2320,1621,1442,1947,2622,1933,1660,1825,1833,2405,3056,2710,1716,1774,2402,2194,1729,1656,1744,1974,1953,1811,1979,2014,2124,2120,2128,2069,2020,1992,2131,2330,2122,2032,1775,1851,1945,2136,2062,2402,2192,2080,1910,1893,1829,1552,1444,1686,1982,1948,1763,1798,1966,1886,1894,2411,2574,2131,2380,2856,3364,3595,3158,2827,2813,2938,2663,2191,2330,2809,2165,1555,1968,2248,2735,2328,1793,1720,2084,2732,2895,2451,2390,1901,1737,1989,1959,1931,2115,2208,2344,1773,1760,1779,2056,2074,2259,2380,2510,2424,2049,2428,2868,2508,2154,2890,3497,3573,3260,2978,2858,2221,1785,2571,3077,2614,2297,2327,2141,2880,2796,1647,1521,1479,1795,1747,1455,1858,2370,2162,1961,1932,2049,1887,1887,2274,2267,2185,2274,1748,1393,1588,1623,1451,1460,1400,1570,1716,1991,1992,1886,1919,1677,1688,1824,1855,1867,2114,2053,2196,3196,2366,1605,1564,1627,1613,1511,1647,1845,1799,1676,1759,1599,1687,1572,1541,1561,1915,2267,1946,1801,1808,1660,1592,1543,1625,1664,1592,1783,2031,2060,1655,1498,1532,1764,1871,1768,2049,2226,1815,1578,1885,2098,1792,1325,1613,1858,1763,1617,1584,1943,2110,1865,1739,1802,1794,1537,1852,2138,1950,1846,1834,1954,1980,2002,1732,1775,2107,2359,2842,3130,3130,3565,4061,3890,2880,2655,3342,3616,3502,3565,3486,3558,3826,3646,3353,3156,2874,2779,3006,3263,2940,2867,2766,2610,2859,2907,2799,2372,1977,1720,2245,3355,3926,3899,3702,3295,3077,3168,3094,2908,2635,2622,2566,2530,2526,2785,3124,2943,2221,1855,1974,2062,2008,2059,1898,2188,2259,2064,1794,1694,1809,1724,1938,2082,1963,1643,1815,2087,2622,3486,3391,3094,2755,2079,1577,1804,2079,2319,2404,1982,1839,2121,2851,2799,2092,1985,1844,2446,2784,2691,2473,2551,2988,2689,1904,1960,2121,1946,1878,1988,2314,2503,2072,1890,2741,2787,2921,3165,2787,2539,2314,2501,2366,2859,3012,2799,2708,2844,2995,2921,3035,2961,3459,3325,2031,2190,2974,3076,3360,3413,3447,2941,2304,2718,3564,3920,3891,4111,4484,4701,4699,4444,3949,3680,4308,4169,3920,3850,3948,4002,3940,3918,3661,3459,3660,3896,3670,3723,3939,3857,3869,4119,4131,3935,4176,4572,4632,4553,4392,3936,4169,4569,4508,4211,4301,4408,4592,4071,3564,3418,3693,4351,4416,4300,4473,4459,4555,4463,3426,3207,3443,2955,2776,2343,1956,2023,2529,3319,3961,4155,4523,4140,3591,3481,3536,3617,3631,3553,3589,3664,3407,2980,3083,3137,3292,3475,3409,3241,3325,3407,3453,3548,3774,3861,3806,4051,3942,3752,3699,3350,3391,3253,3128,3149,3294,3383,3240,3053,2995,3154,3436,3421,3338,3155,3143,3473,3935,4119,4365,4679,4767,4787,4796,4680,4761,4176,3493,3256,3463,3783,4026,4144,4079,4086,3760,3414,3044,2290,1924,1836,2004,2590,3316,4001,4223,4208,3695,2620,2073,1946,1522,1523,1807,2014,2625,2562,2314,2554,2460,3163,3698,2820,2366,3019,3127,2734,2232,1762,1842,2073,2196,1907,1992,2403,2145,1928,2159,2149,2155,2298,2119,2044,1832,2830,3085,2720,2314,2284,3138,3079,2492,2207,2018,2274,2455,2648,2258,2994,3248,3018,3808,3260,3362,3387,2708,2071,1948,2070,2047,1966,2436,3253,3680,3312,2912,2780,2563,2097,1724,1776,2339,2464,2196,2214,1660,1616,1506,1665,2503,2642,2342,2026,1738,1798,1896,2111,2980,2928,2554,2432,2186,2029,1776,1981,2066,2096,1703,1792,1985,1881,2201,2182,2290,2365,2412,1659,1383,1737,1896,1719,2019,2419,2531,2377,1790,1841,1889,1713,1710,1855,1787,1453,1428,1540,1655,1604,1483,1409,1403,1438,1396,1431,1491,1559,1644,1917,2025,1938,1991,2078,2228,2800,2472,2135,2533,3000,3547,4271,4440,4227,4308,4139,3610,3679,3758,3793,3454,3397,3708,3882,3983,4100,4073,3802,3372,3268,3649,3681,3564,3617,3687,3801,3264,2576,2521,2143,2548,3064,3120,2842,2580,2973,3457,3497,3576,3795,4012,3877,3694,3271,2542,2160,2148,2477,2578,2169,2048,2053,1759,1917,2069,2410,2441,3293,3360,3172,3463,3219,3120,3311,3043,2979,3189,3395,3500,3362,3462,3182,2813,2887,3538,2887,2909,3650,3741,3045,2191,2687,2325,1953,1819,1839,1968,1907,1748,1800,1771,1998,2320,2120,1800,1801,2509,2822,2554,3028,3269,2207,1842,1880,1510,1469,1614,1828,2076,1873,1604,1836,2018,1750,2070,2287,2279,1896,1914,2359,2394,2169,2017,2065,1899,2160,2186,2693,2788,2739,2944,2895,2272,1637,1775,2314,2564,2232,2107,2450,2684,2436,2040,1882,1948,2128,2170,2032,1850,1742,1618,1815,2334,1963,2170,2200,1711,1670,1667,1503,1852,2501,2875,2915,2522,2585,3220,3131,3241,3106,2572,2898,2524,1793,1651,2343,2985,2525,1997,2031,2647,3507,3971,3880,3658,3682,3509,3575,3572,3304,2888,2293,1937,1790,1676,1722,1828,2026,1864,2214,1946,1782,1639,1720,1847,1824,1655,1604,1622,1591,1671,1593,1885,2147,2063,2221,2310,1805,1448,1493,1451,1552,1583,1520,1574,2037,2584,3038,3606,3031,2655,2955,2729,2585,2596,2436,2343,2065,2148,2182,1982,1940,1892,1747,1689,1849,1992,2148,2274,2313,2080,1924,1310,1426,1450,1892,2155,1985,1936,1837,2047,2832,3035,2893,2867,2942,2954,2622,2330,2161,2199,2664,2431,2317,2292,2052,2070,2141,2450,2939,3306,3318,3542,3127,3322,3565,2587,1884,1890,1938,2128,2176,2676,3162,3072,2307,2344,2461,2962,2163,1910,1992,1985,1947,2294,2642,2700,2717,2354,2316,1955,1839,1939,2229,2397,3049,3562,3615,3406,3056,2675,2388,2032,1837,1918,2045,2474,2994,3339,3304,3482,3209,3095,2981,2599,2350,1990,2298,2183,2321,2388,2722,3583,3654,3454,3488,3051,2263,1996,1980,2055,2214,2442,2502,2308,2021,1918,1798,2014,2195,2531,3420,3640,3604,3439,3252,3272,2321,2382,1936,1698,1538,1612,2031,2250,1848,1720,1671,1987,2710,2347,2433,2975,3228,2495,2661,2588,2523,2478,2656,2949,2833,2901,2795,2104,1886,2163,1899,1776,1667,1651,1523,1184,1113,1658,1654,1630,1880,1584,1715,1576,2229,2355,1766,1399,1421,1557,2121,2711,2490,2563,2471,2276,2446,2858,2598,2545,2809,2784,2945,2797,2547,2308,2502,2592,2531,2543,2526,2524,2680,2454,2256,2516,2254,2500,2679,2291,2260,2330,2410,2263,2244,2291,2339,2150,2032,2320,2528,2607,3068,3359,3383,3230,3124,3112,2999,2528,2313,2439,3083,3076,2485,2036,2383,2918,3020,3293,3452,3106,3250,2966,2564,2683,2860,2648,2840,3023,2582,2611,3361,3012,2533,3448,3406,2985,3083,2349,1807,1490,1437,1506,1538,1538,1583,1643,1552,1497,1437,1441,1482,1601,2033,2486,2452,2599,2783,2554,2419,2332,2565,3130,3575,2910,1881,1810,1722,1696,1698,1896,2537,2736,2588,2828,3189,3204,3141,3286,3248,3110,2501,2203,2077,2244,2884,2873,2127,2160],[3304,3154,3130,2939,3033,3311,3416,3505,3275,3015,3270,3184,3370,3131,2769,2750,2823,3105,3328,3174,3059,3099,2839,2861,2828,2644,2498,2413,2548,2752,2903,2920,2172,1928,2215,2307,2398,2075,1599,1719,1619,1788,1747,1896,2772,3347,3409,3384,3714,3912,3747,3642,3312,3359,3704,3561,3419,3373,2556,2181,2482,3042,2898,2320,2567,2479,2088,2433,2045,2231,3221,2954,2740,2695,2372,2132,2309,2563,2241,1867,1876,1779,2056,2416,2532,2283,2010,1995,1913,1947,1956,1699,1728,2175,2785,2905,3198,3663,3355,2820,2122,1893,1618,1776,1926,2497,2704,2176,1756,1477,1584,1606,1420,1660,2055,1598,1881,1830,1741,1899,2657,2818,2088,1785,2145,2438,2088,1697,1733,2314,2677,2274,1971,2109,2315,2206,2036,1779,1750,1797,1672,1743,1797,1946,1678,1786,1831,1733,1864,1926,1995,2075,1898,1959,2356,2762,2423,2420,2312,2059,2036,2176,2356,2308,2110,2050,2061,2179,2368,2612,2880,2990,3332,3474,2482,1856,2064,1992,2202,2071,1458,1823,2565,2821,2351,2112,2438,3163,2898,2177,2290,2438,2311,2099,1887,1946,2032,2066,2396,2112,1897,2034,2428,2359,2210,2774,3060,2352,1748,2255,2836,2579,2368,1995,1975,3138,2937,3672,2981,2385,3155,3483,3683,3261,3145,3278,3029,2156,2141,2613,2924,3328,3251,2655,1979,2133,2962,2631,1526,1379,1639,1992,1703,1799,1709,1763,1802,1843,1719,1703,2097,1896,1616,1651,1573,1771,1520,1910,2766,2888,3032,2441,1687,1441,1532,2093,2248,1582,1766,2671,2050,1427,1542,2041,1888,1590,1565,1556,1905,2515,2457,2203,2343,1766,1955,1771,1687,1623,1580,1720,1616,1388,1442,1497,1426,1546,1885,1974,1672,1654,2624,2478,2025,1820,1623,1758,1925,1809,1910,2052,2036,1796,1788,1687,1604,1815,1800,1634,1701,1556,1358,1347,1283,1206,1258,1418,1475,1402,1567,1598,1592,2014,2322,1856,1415,1475,1474,1533,1436,1315,1164,1412,1351,1459,1499,1521,1399,1413,1527,1676,1760,1597,1692,1735,2008,1963,2128,2192,2886,3608,2841,3095,3163,2138,1845,1615,1608,1794,1730,1462,1653,1881,1630,2148,2164,1753,1631,1610,1739,2295,2321,1606,1736,1635,1596,1612,1622,1481,1813,1906,1693,1743,1829,1915,1848,2177,2282,1931,2427,2149,2431,2296,2293,2539,2205,1627,1459,1592,1756,1381,1896,1381,1178,1325,1290,1009,1029,1156,1295,1603,1874,1813,1714,2186,2474,2526,2268,2178,2629,2554,2083,1721,1804,1955,1824,1659,1569,1461,1670,1910,2276,2380,2432,2846,2705,2318,2702,2744,2275,2786,2643,1907,1533,1297,1592,1810,1710,1678,1701,1454,1360,1515,1840,1828,1292,949,1244,1418,2030,1694,1729,1466,1461,1785,2590,2789,2344,3154,3319,2044,1710,2229,2214,3020,3186,2921,3320,3808,3330,2630,2061,1713,1972,1742,2146,1889,1650,1011,1128,2035,2198,1918,1887,1637,1551,1656,1603,1607,1718,1673,2003,1955,1686,2128,1865,1687,2374,3013,2474,1618,1954,2360,2069,1749,1617,1686,2309,2700,2159,1905,1722,1542,1668,1894,2015,2201,1590,1847,2122,1786,1731,1571,1515,1830,2190,1866,1696,1781,1735,1814,2032,2271,1873,1609,1995,2225,2002,1688,1954,2327,2247,2188,2368,2293,2080,2435,2852,3221,2891,2617,2625,2869,2878,2554,2444,2776,2846,2231,1635,1771,2045,2478,2307,2037,1776,2209,2955,2887,2608,2474,2170,2323,2266,2184,2072,1633,1825,2276,1975,1736,1680,1819,1753,1818,2343,2790,2432,2371,2654,2523,2003,1814,2540,3313,3365,3082,2710,2757,2258,1885,2450,2876,2941,2484,2388,1679,1964,1760,1517,1447,1469,1691,1523,1577,2326,2445,2241,1975,2036,2024,1978,2105,2072,1900,2003,1797,1509,1621,1878,1840,1478,1411,1458,1466,1674,1753,1853,2026,2041,2115,1876,1544,1543,1632,2054,1792,1836,2480,2481,1992,1570,1477,1648,1758,1939,2086,1986,1859,2153,1857,1723,1541,1590,1619,2127,1892,1596,1760,1930,2800,3743,1830,1977,1800,1595,1708,2006,2192,1843,1839,1935,1938,1973,1812,2055,2686,1937,1446,1460,1763,1670,1337,1686,1903,1661,1548,1641,2061,2394,1866,1470,1917,2137,2024,1751,1593,1483,1509,1632,1874,1996,1869,1811,1847,1686,2385,3436,3588,3115,3396,3627,3686,3320,3264,3648,3537,3859,3841,3753,4021,4213,3348,3045,3186,3123,3095,3300,3441,3453,3185,2832,2812,2836,2456,2816,3419,3239,2946,3420,3872,3725,3527,3410,3317,3184,3199,3274,3567,3172,2724,2587,2579,2836,3286,3262,2448,2075,2209,2049,2079,2130,2166,1767,1982,2260,1872,1556,1582,1775,1740,1846,2244,2107,1914,2306,2094,2691,3054,2920,3001,2548,1693,1475,1846,2502,2723,2353,1990,2187,2168,2813,3046,2527,2364,2176,2164,2276,2314,2286,2598,3160,2850,2147,2376,2580,2675,2475,2614,2751,2525,1837,1615,2029,2185,2677,3045,2386,2467,2646,2497,2138,2403,2152,2047,2734,3099,2897,3248,3431,3335,3328,2223,1685,2921,2729,2731,3163,3417,3548,3529,3362,2918,2954,3720,3808,4264,4585,4527,4532,4372,4245,4009,4389,4168,3776,3682,3651,3739,3928,3838,3703,3652,3741,3724,3605,3826,4078,4056,3928,4046,4072,4046,4156,4350,4640,4761,4508,3927,4050,4345,4275,4215,4039,4049,4320,4105,3693,3155,3239,3905,4396,4532,4632,4576,4365,3479,2667,2608,2344,2534,2756,2509,2647,3111,3588,4109,4466,4405,4212,3978,3721,3471,3375,3241,3426,3662,3617,3705,3630,3342,3262,3283,3341,3480,3474,3370,3430,3553,3550,3685,3719,4003,4084,3964,3566,3780,3917,3754,3483,3240,3354,3376,3440,3466,3237,3023,3167,3150,3181,3219,3270,3194,3146,3206,3554,3920,4257,4616,4852,4797,4428,4235,4215,3211,2294,2855,3425,3692,3960,3980,3925,3860,3537,2956,2360,1934,1843,1917,2474,3060,3396,3938,4344,4184,3942,3098,1918,1696,1588,1772,1956,2312,2998,2593,2136,2209,2487,3400,3818,3121,3078,3482,3154,2747,2036,1970,2064,2075,2051,2370,2450,2176,2350,2221,2203,2613,2960,2810,2332,1863,1917,2575,2701,2176,1505,2013,2746,2432,1868,1570,1729,2454,2777,2648,2277,2721,2828,2976,3187,2845,3086,3183,2632,1763,1950,2090,2441,2510,2532,3190,3904,3539,3182,3309,3012,2633,2462,2353,2454,2219,2132,2551,2103,1629,1493,2050,2776,2768,2342,2279,2515,2493,2335,1883,2514,2972,2592,2155,1641,1309,1399,1544,1525,1569,1854,1998,2040,1867,1836,1929,2288,2588,2351,2115,1883,1834,1880,1793,2030,2621,2656,2538,1958,1560,1704,1642,1676,1947,1787,1635,1514,1528,1660,1498,1538,1493,1322,1431,1527,1604,1591,1630,1892,2269,2474,2270,2297,2558,2957,3668,3019,2103,2293,2774,3524,4307,4376,4254,4399,4328,4057,3814,3198,3768,3971,4002,3950,4101,4184,4183,4185,4137,3720,3616,3957,4081,4005,4071,3986,3835,3500,2665,2608,2574,2755,3127,3165,3046,2791,2698,3260,3381,3336,3427,3384,3107,3677,3863,3522,2732,2194,2438,2279,1928,2145,2256,1979,2027,2212,2537,2166,2437,2882,3129,3330,3164,3119,3477,3190,3120,3344,3427,3388,3383,3311,3362,2868,3185,3248,2641,3277,3891,3719,2361,1950,2652,2552,2364,2142,1986,1742,1619,2154,2743,2498,2599,2880,2493,2020,2107,2736,2790,2630,2599,2416,1922,1889,1753,1519,1663,1674,1952,1975,1776,1823,1901,2227,2330,2401,2322,2269,2113,2433,2425,2159,2222,2370,2385,2473,2676,2713,3055,2780,2531,2571,2825,2510,1728,1737,2044,1968,1957,2186,2146,1981,1856,1804,1950,2351,2528,2646,2302,1671,1677,1697,1820,2261,2170,2141,1953,2169,2169,2062,2229,2381,2312,2419,2407,2294,2462,2483,2688,2425,2242,2761,3453,2955,1897,1892,2723,2652,2041,2037,2125,2536,3420,3870,3596,3539,3595,3372,3338,3327,3050,2473,2145,2126,2311,1830,1534,2061,2198,2018,2053,1793,1716,1668,1614,1547,1628,1837,1588,1706,2031,1885,1631,1684,1547,1500,1686,2133,1923,1562,1498,1482,1468,1561,1610,1859,2409,2472,3197,3068,2231,2224,2721,2785,2719,2532,2326,2236,2234,1855,1755,1669,2055,2414,2272,2111,2280,2321,2339,2279,2167,2057,2222,1833,1735,1494,1532,1704,1984,2568,2487,2304,2840,3235,2835,3054,2922,2867,2270,1875,1675,1892,2361,2448,2486,2164,2006,2265,2463,3032,3460,3610,3436,3294,2643,2784,3131,2750,2365,2017,2413,2919,2849,2930,3117,2834,2136,2514,2763,2555,2282,2137,2197,2635,1866,1909,2070,2334,2685,2561,2234,1936,1733,1622,1625,2021,2568,2858,3106,3167,3365,3337,3176,2766,2486,2153,1936,1820,2088,2359,2871,3263,3273,3326,3014,3118,2901,2677,2589,2519,2922,2612,2303,2668,3018,3122,3270,3343,3185,2532,2366,2271,2156,2326,2656,2540,2204,2111,2041,1894,1695,2046,3288,3741,3655,3361,3008,3161,2686,1887,1703,1793,1698,2032,2946,3147,2691,1930,1469,1711,2130,2325,2312,2896,3134,2944,2985,2905,2324,2141,2512,2740,2504,2748,3066,2918,2632,2335,2025,2181,2089,1724,1597,1409,1469,1880,1503,1692,2071,2286,2063,1642,1764,1795,1554,1783,2176,2140,2531,2811,1817,2088,2417,2667,2961,2986,3090,3040,2875,2932,2580,2388,2647,2348,2416,2436,2476,2554,2437,2606,2587,2577,2452,2214,2289,2602,2442,2398,2498,2897,3046,2659,2661,2798,3028,2688,2783,3240,2853,2347,2633,3138,3305,3084,3278,3386,3518,3385,3208,2981,2846,2697,2428,2482,2895,3448,3550,3308,3240,3361,3984,3194,2508,3073,3298,3016,3249,3406,3005,2699,3040,2891,2320,2669,2784,2645,2762,2565,1953,1483,1389,1392,1404,1442,1490,1567,1483,1460,1472,1460,1505,1797,2337,2600,2513,2667,2767,2321,2243,2334,3112,4039,3572,2756,2327,2074,1960,1968,1887,1892,2287,2591,2214,2185,3204,3230,2921,2919,3052,2827,2446,2410,2347,2352,2831,3306,2646,2220],[2934,2880,3006,3052,2997,3180,3386,3581,3495,3293,3298,3095,2964,2971,2924,2530,2718,3442,3398,3450,3464,3155,2844,3351,3542,2911,2513,2397,2500,2654,3151,2855,1896,1702,1757,2471,2662,2313,2073,1903,1880,2344,2409,2643,3203,3495,3507,3452,3801,3760,3408,3353,3487,3387,3348,3440,3564,3362,2358,2215,2774,2880,2661,2864,3211,2823,2562,2667,2024,1851,2304,2525,2842,3205,2764,2245,2445,2399,2089,1703,1692,1535,1568,1673,2441,2091,1555,1682,1815,2012,2088,1729,1668,1608,2043,2503,3116,3129,2691,2523,2075,1639,1585,1570,1915,2812,2493,1538,1611,1411,1378,1558,1808,1837,1849,1570,1805,1852,1857,2123,2592,2767,2336,1491,1720,2255,2128,1947,1920,2322,2411,2103,1798,1920,2204,1921,1937,1830,1768,1802,1874,2026,2141,2158,1979,2048,2239,2286,2330,2431,2358,2279,2155,2058,2205,2430,2288,2028,1696,2174,2591,2531,2496,2415,2217,2205,2361,2283,2024,2173,2247,2403,2201,2132,2255,2226,2024,1628,1892,2265,1802,2062,2740,2938,2437,2217,2662,3078,2501,2409,2942,2561,1945,2156,1628,1516,1749,2079,2788,2735,2000,1843,2116,2093,2372,3261,3256,2306,1924,2733,3038,2644,1973,1487,1526,1926,1782,2244,2410,2479,2828,3209,3480,3129,3562,3177,2795,2448,2641,2636,2929,3318,3031,2568,2304,2389,3112,2771,1726,1595,1695,1853,1958,1836,1649,1768,1892,1787,1711,1741,1722,1539,1593,2110,1851,1410,1261,1482,2281,2697,2404,1698,1676,1512,1396,1559,1556,1455,1744,2189,2158,1732,1551,1838,1694,1641,1807,1745,1768,2376,2364,1797,1926,1933,2264,2471,1765,1375,1512,1833,1720,1407,1652,1644,1409,1575,1870,1883,1542,1977,2888,2385,1945,1714,1450,1624,1662,1594,1808,1815,1847,1770,1886,2024,1908,1831,1720,1488,1456,1441,1313,1264,1222,1254,1207,1279,1387,1449,1769,1668,1490,1910,2200,1619,1443,1622,1658,1636,1504,1403,1503,1412,1416,1861,1843,1556,1637,1530,1590,1938,2082,1599,1496,1458,1517,1642,1991,2101,2962,3762,3229,3417,3029,1931,1851,1870,1789,1641,1594,1614,2340,2481,1954,1930,2069,2116,1654,1625,2138,2510,2484,2091,1713,1619,1610,1539,1496,1469,1701,1822,1692,1786,1880,2302,2304,2237,1817,1713,2126,2411,2360,2092,2983,3319,2630,1797,1678,1589,1496,1406,1578,1144,1136,1434,1333,1248,1377,1574,2156,2818,2812,2557,2884,3068,2685,2246,1952,2034,2331,2498,2434,2109,2162,2288,2166,1756,1540,1485,1533,1765,1992,1870,2308,2658,2260,1831,1775,2169,2130,2531,2120,1529,1420,1343,1498,1816,1766,1742,1743,1549,1532,1520,2014,1886,1116,1165,1506,1417,1645,1570,1457,1368,1408,1637,2579,3196,3322,3555,3651,2989,2322,2922,2909,3078,2834,3312,3859,3405,2822,2697,2249,2124,2064,2332,2341,2275,2070,1778,1499,2100,2354,2057,1972,1639,1735,1743,1675,2010,2120,1813,1771,1563,1993,2378,1930,1908,2374,2823,2182,1733,1948,1962,2059,1758,1606,1923,2259,2534,2278,1677,1513,1498,1822,1769,1793,1740,1428,1806,2220,2110,1741,1737,1782,1787,1909,1671,1924,1814,1489,1792,2814,3050,2114,1879,2047,2132,1780,1458,1920,2130,2093,2017,2130,2114,2286,2473,2459,2352,2248,2041,2342,2581,2404,2011,2072,2630,2912,2653,1886,1635,1886,2241,2374,2239,1764,1924,2178,2147,2496,2224,2261,2502,2679,2426,1834,1660,1667,1928,2204,2024,1770,1765,1717,1847,2468,2330,2158,3002,3375,2523,1902,2171,2118,2137,3176,3558,2956,2463,2001,1580,1616,1907,2265,1874,1835,1897,1985,1907,1794,1534,1594,1763,1494,1873,2564,2433,2272,1979,1954,1881,2032,2053,1836,1841,1745,1645,1560,1694,1715,1903,1720,1562,1360,1489,1590,1377,1760,2236,2655,2486,1890,1727,1646,1557,1407,1404,1683,1773,1992,1819,1495,1804,1874,1659,1885,1930,2086,1641,1736,1881,2002,2172,1962,2024,2025,1495,1536,1947,2389,2899,3334,2011,2042,1726,1636,1659,1821,2076,1976,1908,1655,1635,1977,2021,1611,1887,1644,1585,1667,1830,2051,2164,1801,1589,1559,1521,1572,2318,3066,2476,1725,1770,2226,2298,1760,1430,1425,1580,1783,1964,1852,2056,1946,1634,1441,2054,3344,3195,3103,3441,3400,3118,3052,3444,3727,3309,3732,3796,3770,3735,4300,3916,3239,3430,3781,3583,3506,3311,3184,2858,3022,3068,2921,3067,3581,3920,3719,3631,3769,3411,3053,3109,3210,3327,3259,3194,3139,3565,3537,2944,2657,2918,3269,3364,3138,2611,2135,1948,1917,1863,2226,2677,2016,1797,2222,2018,1733,1688,1717,1891,2291,2132,1896,1922,1988,2118,2524,2487,2104,2488,2321,1548,1422,2001,2745,2811,2499,2251,2537,2018,2207,2453,2391,2234,1958,2171,2420,2407,2744,2909,2820,2674,2830,3249,2658,2664,2329,2194,2436,2226,1940,1839,1726,1990,2338,2425,2106,2711,3029,2707,2401,1930,1705,2152,2688,2762,3002,3532,3599,3340,2769,2332,2423,2897,2760,2895,3279,3405,3585,3898,3771,3295,3272,3994,4156,4183,4439,4375,4282,4389,4461,4139,4284,4488,4383,4156,3906,3623,3714,3720,3818,3844,3825,3826,3697,3729,3984,4131,4001,3905,4081,4217,4168,4093,4364,4752,4660,4080,3758,4124,4552,4416,4296,4605,4592,3763,3631,2902,2996,3217,3221,3870,4732,4956,4018,2980,2630,2063,2249,2861,3154,3646,3912,3941,4247,4592,4504,3981,3654,3759,3610,3425,3405,3230,3361,3694,3520,3588,3584,3491,3391,3290,3430,3499,3491,3610,3632,3526,3527,3752,3806,3983,4152,3836,3504,3515,3733,4083,3816,3588,3616,3398,3440,3461,3285,3135,3113,3087,3054,3055,3129,3158,3091,3028,3053,3354,3711,4092,4600,4792,4411,4363,4138,3054,2642,3223,3522,3707,3916,3962,3730,3419,3138,2450,2044,1901,1896,2268,2633,3476,3596,3695,4383,4004,3563,3208,2208,1936,1713,1759,1807,2075,2114,1992,1843,1771,2349,3234,3617,3375,3645,3373,2900,2366,1866,1822,1945,1889,1671,1876,1862,1889,2262,1790,1815,2536,2854,2832,2142,1945,2286,2466,2475,1963,1756,2105,2286,2236,2002,1962,2061,2037,2178,2471,2332,2347,2546,3139,2934,2546,2700,2920,3064,2855,2342,2430,2967,3009,2800,3120,3824,3729,3044,3237,2879,2729,2689,2513,2387,1873,1907,2264,2117,1716,2014,3031,3462,2894,2294,2231,2227,1610,1991,1747,1911,2754,2200,1615,1634,1605,1568,1685,1519,1835,2492,2424,2259,1816,1812,1612,1892,2142,1938,1954,2003,1723,1656,1814,1852,2371,2308,1873,1710,1664,1700,1455,1459,1716,1952,1948,1602,1438,1528,1444,1534,1586,1442,1544,1716,1730,1550,1526,2110,2964,3362,3387,3334,3285,3572,3707,3203,2806,2954,3315,4167,4552,4284,4252,4540,4444,3960,3970,3331,3183,3444,3874,4036,3945,4018,4093,4183,4328,4241,4136,4109,4156,4277,4276,4112,3852,3671,3159,2958,3140,3426,3541,3298,3428,3299,2890,3536,3479,3390,3618,3520,3263,3508,3914,3926,3239,2360,2290,2292,2329,2931,2712,2486,2303,2146,2067,2070,2180,2339,2619,2981,2989,3154,3294,3228,3363,3383,3583,3574,3403,3494,3629,3276,2823,2640,2842,3228,3351,3517,2265,2299,2490,2913,2985,2252,1652,1629,1686,2386,3056,2728,2942,2643,2402,1841,2021,2293,2438,2736,2386,1832,1933,2246,2092,1834,2038,2000,2643,2294,2041,1909,1835,2408,2787,2309,2051,2259,2351,2598,2588,2413,2388,2504,2724,2953,3000,2586,2480,2386,2140,2060,2235,2168,1852,1709,1793,1748,1915,2023,2127,2292,2414,2176,2338,2785,2540,2276,2284,2018,1826,1971,1914,2000,1911,1842,2178,2438,2699,3117,3009,3002,3145,3447,3500,3564,2815,1768,1929,1951,2045,2714,2835,2489,2059,1724,1770,1842,1850,1870,1565,1652,2890,3501,3480,3659,3584,3422,3150,2764,2491,2121,2649,2438,2288,1864,1768,1668,1699,2283,2316,1828,1768,1787,1665,1585,1904,1894,1637,1830,1716,1518,1418,1523,1743,1900,2145,2328,1793,1650,1991,1959,1526,1610,1771,2332,2645,2588,2700,2321,1875,2040,2719,3163,3190,2870,2520,2596,2577,1764,1409,1463,1923,2698,2887,2514,2768,2474,2038,2269,1923,1814,2151,2150,1828,1541,1393,1540,2019,2513,2564,2656,2727,3294,2974,2580,2132,2306,2129,1650,1677,2192,2336,2402,2380,2118,2056,2128,2897,3342,3842,3853,3287,2789,2454,2555,3065,3172,2478,2116,2878,2767,2943,2967,2910,2529,2033,2111,1911,1699,2260,2665,2712,2717,2198,1965,1680,2056,2250,2105,1782,1910,2329,2354,2326,2653,2362,2133,1907,2118,2300,2791,3190,3232,3211,2910,2551,2242,1961,1818,1888,2105,2614,2978,3207,3185,3272,3480,3450,3392,3261,2822,2178,2298,2721,2962,2899,2874,3156,3038,3135,3160,2953,2710,2845,2765,2580,2512,2620,2485,1902,2278,3189,3516,3538,3233,2883,3156,2843,2046,1516,1430,1535,1966,2832,3212,3096,1960,1355,1579,1780,1694,1777,2303,2758,2890,2828,2879,2736,2438,1986,1928,2028,2132,2167,2755,3211,2927,2919,3020,2598,2220,1719,1710,1814,1743,1465,1557,1781,1724,1614,1511,1682,1889,2021,2404,2609,2610,3150,2900,1968,2066,2542,2941,3081,2908,2823,2420,1956,1980,1763,1772,2754,2879,2360,2357,2493,2470,2447,2450,2430,2541,2292,1776,1777,2103,2037,2160,2220,2700,3000,2674,2823,3130,3318,3278,3327,3392,2995,2394,2709,2769,2319,2801,3584,3671,3437,3209,3287,3353,2901,2611,2596,2896,3160,3144,3076,3209,3670,4034,4084,3387,2520,2284,2901,3183,3451,3684,3500,2735,2451,2442,2451,2614,2868,2844,3104,2964,2187,1523,1385,1272,1306,1295,1272,1303,1301,1324,1423,1516,1570,1955,2644,2841,2790,2801,2599,2210,2563,3000,3284,3582,3029,2576,2266,1970,1881,1974,1847,1820,2048,2323,2065,1966,2945,3116,2609,2454,2836,2621,2237,2483,2627,2571,2723,3210,3103,2585],[2700,2739,2880,2976,2857,3037,3259,3494,3571,3385,3165,3007,2966,3141,3257,2918,3338,3882,3453,3497,3728,3472,3318,3519,3296,2647,2429,2431,2471,2727,3078,2608,1831,1531,1921,2605,2758,2681,2287,2064,2486,3024,3018,3085,3190,3384,3740,3705,3574,3370,3425,3572,3492,3479,3558,3585,3660,3481,2950,2711,2827,2766,2899,3038,2929,2965,2974,2719,2104,1606,1832,2530,3205,3526,3052,2372,1984,2004,2135,1646,1584,1625,1808,2088,2438,1980,1971,2116,2058,2160,2489,1915,1610,1324,1477,1985,2436,2197,1851,1785,1852,2004,1895,2053,2545,2973,2509,1398,1759,1697,1833,1834,1979,2076,1974,1882,1687,1664,1970,2339,1980,2109,1973,1690,1826,1890,1873,1920,2001,2110,1923,1845,2122,2336,2715,2536,2345,2228,1891,1940,2084,2004,2077,2093,2152,2255,2182,2590,2520,2122,2001,2049,1872,1698,1902,2283,2177,1725,1793,2378,2953,2866,2608,2547,2431,2399,2570,2276,2119,1927,1751,1950,1814,1880,2213,2321,2160,1686,2123,2093,1475,1786,2354,2495,2498,2724,3244,3087,2313,2656,3428,3349,2766,2220,1754,1817,1715,1785,2312,2284,1870,1871,1949,2042,2778,3063,2261,2130,2038,2382,3439,2902,1843,1616,1897,1998,1839,2054,2301,2327,2316,2663,2773,2468,3067,3240,2802,2702,3222,3140,3140,3449,2764,2203,2881,2768,2513,2496,2404,1681,1583,1967,2258,2248,2237,2039,1821,1756,2248,1866,1395,1515,1981,2451,1994,1599,1586,1809,1870,1992,2381,1791,1550,1497,1533,1671,1722,1774,1789,1893,1880,1433,1511,1687,1618,1569,1688,1896,1857,2365,2069,1691,1791,1974,2252,2084,1492,1431,1545,1564,1552,1636,1801,1618,1378,1646,1867,2068,1803,1770,1816,1748,1680,1482,1361,1701,1666,1472,1552,1742,1694,1811,1908,1908,1983,1955,1842,1741,1695,1577,1460,1414,1373,1356,1430,1396,1400,1289,1276,1478,1448,1641,1532,1282,1366,1661,1792,1816,1582,1581,1469,1230,1506,1770,1522,1366,1620,1574,1566,1661,1607,1703,1843,1767,1711,1665,1764,1848,2845,3906,3439,3701,2900,1664,1595,1975,1748,1473,1596,1741,1920,1905,2088,2273,2233,2473,2246,2101,2143,2298,2691,2340,1728,1674,1772,1777,1436,1420,1650,1794,1647,1650,1931,2073,1991,1657,1441,1746,2402,2857,2282,2248,3086,3115,2679,2012,1791,1676,1409,1260,1152,1023,1222,1588,1798,1991,2229,2609,2913,2651,2258,2247,2795,3493,3109,1875,1475,1922,2160,2475,2596,2044,2272,2531,1977,1804,1586,1548,1469,1541,1567,1566,2115,2438,1975,1452,1460,1949,2042,2249,1759,1527,1515,1379,1461,1706,1657,1666,1777,1494,1686,1464,1577,1632,1294,1313,1356,1165,1444,1567,1306,1205,1264,1607,2255,2928,3759,3552,3484,3664,3065,2919,3163,2695,2457,3583,3764,3331,3168,2431,2230,1685,1697,2316,2565,2331,2162,2285,1900,2182,2515,1824,1878,1574,1515,1834,1912,1981,1872,1636,1582,1559,1744,1807,1892,2128,2106,2501,1892,1908,2002,1863,2055,1858,1642,1789,2075,2325,2002,1576,1678,1321,1360,1633,1686,1474,1492,1853,2430,2361,1943,2046,1939,1709,1918,2170,2471,2077,1584,1598,2143,2031,1488,1701,1843,1967,1809,1667,2238,2409,2636,2295,2105,1980,2249,2378,2408,2510,2354,2448,2648,2435,2342,1705,1450,1863,2750,2514,1925,1560,1904,2333,2527,2108,1477,1643,1946,2520,2877,2157,2880,2741,2479,2043,1867,2044,1886,1808,1904,2129,2058,1704,1644,1830,2098,2014,1715,2297,3336,3097,2355,2299,1893,1993,2938,3162,2967,2443,2403,2173,2377,2263,2096,1611,1490,1875,2026,1922,1831,1813,1708,1808,1891,2166,2502,2604,2416,2046,1830,1771,2027,2050,1718,1674,1509,1525,1515,1548,1404,1666,1705,1520,1147,1192,1365,1473,1624,1642,2098,2354,1853,1825,1693,1683,1554,1446,1496,1537,1970,1943,1747,1956,1849,1582,1641,1797,1887,1791,1919,1990,2416,2732,2534,2549,2339,2014,2051,1986,1809,2054,2432,2166,1887,1749,1577,1401,1560,1698,1709,1992,1902,1729,1911,2078,1610,1745,1828,2219,2317,1803,2381,2751,1722,1509,1844,2133,2053,2964,3441,2792,2108,1991,2603,2611,2015,1819,1782,2024,1726,1533,1622,2205,2240,2177,1978,2088,2622,2884,2750,2751,3481,3482,3164,3288,3776,3672,3977,4568,4432,4058,3972,4091,3979,4101,4461,3990,3596,3417,3271,3194,3101,2898,2736,3151,3925,3873,3565,3880,3723,3053,2740,2953,3353,3555,3356,3111,3032,3256,3680,3628,3262,3222,3414,3328,3210,3109,2689,2234,2365,2209,2080,2175,1887,1720,2136,2254,1995,1865,1614,1617,2072,2437,2101,1699,1820,1869,2082,2231,2028,2039,1813,1433,1368,1408,1733,2734,2603,2537,2497,1783,1511,1899,2216,2211,2426,2636,2809,2755,2744,2242,2459,2697,3204,3349,2379,2261,2285,1863,1802,1991,2178,2456,2179,2114,2197,1923,1869,2138,2902,3384,3104,2595,2589,2706,2492,2416,2958,3553,3583,2457,1887,2655,2888,2846,3172,3506,3583,3674,3720,3887,3751,3938,4189,4048,4097,4177,4097,3998,3993,4213,4167,3906,3970,4124,4301,4567,4314,3925,3880,3862,3970,3936,3739,3666,3817,3896,3962,4276,4111,3915,4169,4389,4152,3792,3759,4187,4451,4140,3710,3905,4416,4764,4841,4840,4708,3619,2918,2734,3017,2833,2991,4130,5140,4821,3573,2802,2053,2248,3267,3460,3595,4352,4384,4138,4287,4287,3840,3324,3206,3521,3682,3353,3421,3391,3428,3641,3510,3491,3548,3498,3465,3356,3422,3521,3460,3542,3580,3385,3364,3548,3716,3906,3870,3798,3698,3397,3544,3938,3948,3828,3607,3542,3439,3495,3339,3242,3176,3100,3106,3009,3019,3151,3053,3050,2951,3105,3274,3733,4273,4476,4609,4545,4351,3992,3724,3392,3396,3520,3675,3754,3507,3239,2652,2092,1881,1832,2182,2652,3150,3650,3266,3374,3996,3236,2883,3266,2658,1979,1735,1713,1723,1747,1808,1774,1632,1770,1872,2314,3002,3285,3483,2603,2172,2160,1904,1828,1860,1761,1751,1691,1876,2544,1727,1579,2675,3040,2710,2497,2189,2156,2278,2300,2108,2108,1994,1847,2041,2067,1887,2307,2489,2309,2215,2062,1869,1795,2009,2770,2869,2548,2641,2820,3250,2738,2271,2470,2988,3432,3509,3254,3145,3231,2997,2731,2343,2167,2281,2416,2281,2029,1911,1888,1708,1775,2114,2375,2626,2768,2366,1983,1842,1889,2195,1828,1582,2285,2384,2098,2687,2521,2247,2229,1948,2067,2061,2123,1893,1570,1636,1615,1928,2097,1888,2042,1817,1687,1861,1964,1728,1814,1678,1517,1681,1704,1591,1470,1650,1943,2132,1656,1410,1312,1394,1460,1671,1929,1738,1554,1701,1879,1775,1824,2419,2761,2862,3335,3620,3325,2897,2849,2940,3510,3483,3119,3479,4019,4342,4464,4507,4174,3972,4094,3847,3275,3319,3640,3579,3812,4136,4004,4224,4360,4284,4134,4156,4127,4038,4064,4003,3794,3852,3509,2736,2787,3208,3533,3243,3206,2844,2691,3561,3815,3837,4167,4360,3795,3211,3636,3565,3096,2711,2653,2740,3200,3626,3345,3003,2540,2393,2304,2132,2248,2554,2644,2584,2590,3142,2827,2867,3100,2665,2783,3052,3262,3384,3517,3552,3203,2888,2976,2893,3044,3376,2461,2388,2539,2413,2208,1837,1424,1623,1920,2459,2417,2190,1925,1863,2159,1774,1961,2626,2769,2577,2329,1855,2306,2852,2620,2098,2116,2155,2520,2316,2183,1980,1874,2131,2199,2036,2298,2225,2121,2112,2061,1961,1959,2102,2206,2114,2072,2105,2036,1949,2046,2241,1993,1918,1888,1764,1932,1873,1772,1952,2245,2308,2082,1985,2381,2579,2083,2132,2847,2490,1955,1863,1704,1581,1527,1597,1983,2632,3353,3880,3786,4015,3860,3226,2469,1951,1424,1152,1592,2089,2707,2931,2066,2009,2168,1880,1478,1447,1631,1950,1725,1875,2933,3123,2852,2908,2767,2646,2596,2278,2063,1792,2109,1974,1665,2198,2589,2132,2053,2380,2267,1902,1626,1554,1978,1987,2387,2116,1796,1751,1504,1458,1528,1786,1883,1674,2229,2858,2728,2622,3087,2938,2164,1919,2054,2250,2136,2017,1916,1922,1923,2262,2419,2592,2833,2701,2321,2532,2523,1814,1460,1561,2069,2556,2819,2618,3072,2890,2028,2132,2153,2173,2257,1963,1624,1529,1429,1754,1968,1870,2693,2388,2626,3261,2818,2086,1992,2248,2170,1727,1565,1907,2156,2051,1813,1820,2188,2568,3356,3859,3948,3464,2955,2670,2505,2490,3078,3066,2170,2198,2443,2295,2592,2418,2247,2370,2175,1903,1857,2371,2604,2518,1997,2037,2601,2043,1529,1652,1793,1762,1731,2133,2623,2658,2955,3008,2766,2680,1947,1690,1658,2378,2927,3087,3066,3110,3049,2957,2678,2371,2032,1918,1758,1996,2129,2593,3019,3333,3627,3539,3509,2864,2651,3341,3081,2543,2461,2685,3009,2970,3038,3309,3014,2623,2691,2774,2806,2640,2900,3384,2044,2319,3185,3206,3329,3348,3081,2801,2788,2473,1836,1572,1787,1581,1842,1947,2409,2410,1987,2172,2569,2361,1942,2185,2216,2392,2513,2873,3075,2296,1857,1775,1931,2017,1803,1931,2259,2608,3068,3096,3020,2663,1796,1655,1614,1745,1770,1751,1689,1805,1863,1780,2094,2440,2551,2851,2968,3177,3105,2496,2555,2608,3039,3274,2886,2681,2844,2244,1680,1745,1857,1837,2481,2746,2394,2370,2470,2566,2530,2458,2498,2509,2389,1725,1259,1416,1626,2127,2349,2524,2657,2588,2604,2908,3046,2989,3063,2995,2840,2387,2409,1881,1520,2417,3568,3796,3189,3147,3551,3877,3371,2923,2929,3203,3397,3372,3607,4001,4220,4038,3683,3552,3130,2247,2343,3205,3501,3449,2639,2623,2757,2839,2540,2745,3174,3154,3240,3133,2829,2164,1505,1246,1282,1229,1222,1242,1290,1404,1524,1572,1605,1818,2592,3165,3196,3021,2719,2485,2974,2836,2530,2282,2083,2118,1959,1900,1857,1944,1892,1783,1962,2486,2492,2570,3056,3030,2481,2128,2185,2148,2164,2623,3025,2894,2927,3175,3316,2994],[2718,2440,2613,3038,3097,3348,3385,3336,3223,3133,3238,3228,3093,3019,3227,3406,3682,3649,3608,3427,3509,3422,3167,2841,2556,2544,2525,2421,2595,3035,2907,2308,1977,1681,2249,2143,2333,2251,1814,1605,2052,2984,3304,3207,3096,3240,3662,3865,3530,3417,3438,3665,3586,3593,3830,3991,3970,3825,3476,3127,2891,2833,2548,2088,2408,3222,3082,2511,2083,1740,1941,2592,2920,2916,2854,2820,2184,2122,2299,2095,2092,2414,2194,2055,2254,2475,2679,2160,2055,2205,2646,1852,1476,1652,1686,1884,2235,2227,2204,2239,2428,2470,2008,2955,3260,2848,2511,2146,2182,2017,1975,2179,2268,1995,2161,2292,1864,1729,2047,2089,1404,1602,1892,1788,1649,1592,1853,2248,2273,2152,1982,2079,2620,2458,2530,2371,2037,1996,2009,1957,1641,1853,2354,2281,2460,2322,2448,2708,2788,2458,2082,2083,1936,1675,1643,2123,2229,2037,2216,2446,2667,2720,2785,2619,2517,2736,2596,2306,2026,1603,1588,1801,1840,1931,2182,2338,2013,1953,1977,1671,1564,1573,1975,2334,2600,3276,3640,3186,2743,3133,3560,3433,3010,2887,2899,2664,2019,1926,2377,2394,2277,2734,2939,2116,2623,3086,2568,2809,2557,2501,3050,2685,2238,2265,2602,2478,2215,2265,2293,1872,2042,2584,2380,1797,1946,2610,2467,2160,2348,2084,2170,2623,2016,1643,2296,2944,2618,2964,2802,1835,1609,1988,2341,2512,3309,2913,1958,2046,2695,1797,1412,1709,2288,2476,2114,1804,1714,2187,2256,1977,2178,1950,1774,1845,1779,1737,1660,1602,1597,1663,1736,1490,1478,1761,1864,1776,1604,1642,1845,1962,1724,1582,1710,1756,1867,1816,1517,1548,1650,1735,1830,1634,1526,1409,1604,1866,2024,1870,1482,1519,1740,1708,1543,1467,1472,1648,1664,1543,1870,1883,1786,2045,2225,2035,1887,1834,1794,1858,1901,1689,1631,1521,1390,1323,1411,1365,1301,1214,1424,1824,1462,1482,1325,1044,1004,1421,1708,1744,1605,1621,1524,1635,1678,1584,1451,1353,1378,1450,1633,1545,1482,1703,1768,1871,1877,1670,1389,1389,2040,2846,2915,3481,2470,1639,1840,2003,1808,1620,1558,1577,1447,1692,2079,2071,2256,2388,2260,2114,1822,1942,2177,1942,1799,1742,1719,1697,1524,1586,1857,2030,1957,1723,1844,2021,2018,1776,1362,1513,2526,2868,2167,2071,2138,2770,3184,2356,1794,1802,1614,1260,1178,1365,1374,1675,1976,2046,2221,2480,2468,1764,1453,1733,2330,3233,3204,2152,1833,1931,1737,2207,2687,2532,2895,2447,1730,1659,1693,1538,1316,1321,1252,1232,1518,1813,1754,1366,1722,1723,2077,2047,1744,1706,1315,1287,1450,1700,1576,1451,1448,1584,1779,1504,1352,1335,1371,1324,1136,1170,1244,1168,1232,1317,1649,1848,2064,2887,3532,3167,2648,2831,2586,1975,2335,2812,3372,3584,2978,2599,2400,1816,1676,1288,1442,1860,2382,2398,2161,2249,2019,2137,2150,1771,2354,1968,1569,2117,2167,1923,1860,1795,1647,1757,1604,1859,2487,2371,1997,1906,1621,1946,1966,1864,1976,2420,2398,1954,1554,1307,1456,1729,1794,1616,1950,2126,1703,1534,1407,1401,1650,1786,1620,1559,1641,2261,2060,2056,2150,2223,1892,1649,1878,1532,1296,1785,2116,2085,1852,1641,2082,2460,2667,2522,1990,1646,1635,1830,2437,2541,2348,2457,3024,2623,2347,2038,1530,1401,1603,2035,2144,1749,1825,1734,1651,1420,1235,1504,1844,2422,2932,2731,3038,2414,2280,2153,2400,2398,2061,1636,1651,1772,2026,2084,1786,1807,1664,1838,1971,1699,1981,2042,1709,1853,2326,3096,3064,2291,2249,2126,3256,3653,2970,2076,1668,1506,1501,1726,2163,2360,2014,2426,2168,1951,1637,1666,2153,2484,2491,2200,1825,1674,1611,1587,1610,1742,1553,1441,1572,1572,1655,1544,1394,1372,1239,1301,1594,1506,1559,1541,1550,1665,1945,1784,1440,1494,1534,1692,1678,1832,2165,1746,1679,1653,1575,1768,1969,1848,2073,2244,1983,2133,2289,2391,2135,2362,2619,2614,2414,2010,1652,1755,2120,2036,1924,1792,1600,1586,1633,1465,1703,1972,2155,1816,1745,1766,1707,1748,1658,1969,1883,1469,1753,1908,1439,1571,2518,2709,2418,3044,3162,2643,2074,2192,2687,2312,1781,1899,1822,2069,1825,1838,2249,2486,2937,3016,2542,2221,1949,1901,2135,2217,3249,4011,3728,3166,3476,4021,4384,4518,4459,4344,4136,3955,4040,4480,4312,4007,4057,3647,3076,2871,3194,3143,2633,2909,3728,3653,3776,3959,3520,2968,2764,2928,3113,3099,3088,2843,2780,3007,3476,3902,3709,3193,3191,3185,3048,3029,3053,2651,2564,2359,1947,1926,1789,1692,2016,2497,2498,2215,1688,1777,2172,2547,2238,1994,2020,1719,1528,1865,2182,1891,1815,1583,1594,1845,2135,2901,2593,2452,2138,1743,1840,2292,2193,2082,2328,2668,2813,2685,2830,2501,2873,2928,2701,2666,2830,3011,2655,1846,1688,2193,2293,2473,2076,2237,2199,1669,1596,1764,2364,3168,3442,3352,2783,2367,2234,2331,3047,3377,3497,2713,2988,3628,3382,3097,3347,3526,3321,3580,3529,3487,3760,4144,4265,4151,4070,3964,3754,3696,3802,3939,4064,4026,4071,3911,3989,4141,4039,3915,3780,3938,4099,3886,3563,3484,3826,4094,3973,4247,4380,4208,4228,4480,4276,3815,3550,3752,4062,3873,3486,3603,4116,4460,4840,4545,4208,3204,2557,2953,3517,3567,3348,3819,4605,4037,2872,2136,2585,3154,3654,3824,4003,4483,4452,4183,4261,4084,3376,3108,3106,3248,3388,3240,3428,3598,3630,3565,3476,3559,3511,3385,3360,3359,3343,3505,3388,3394,3479,3420,3376,3508,3592,3797,3818,3636,3626,3587,3666,3970,3872,3689,3528,3624,3572,3528,3420,3371,3252,3084,3044,2965,2999,3106,3189,3190,3019,3066,3111,3464,3703,3672,3926,4176,4219,4188,3885,3234,3349,3403,3530,3366,3199,2794,2209,1942,1821,2077,2683,3156,3591,3476,2600,2588,3204,2858,2916,3392,2966,2247,1814,1774,1737,1642,1683,1504,1541,1743,1730,1875,2168,2440,2798,3031,2710,2135,1947,1647,1535,1876,2173,2173,2003,2187,1552,1867,2786,3184,2934,2263,2214,2317,2162,1780,1874,2667,2381,1743,1725,1741,1819,2106,2389,2499,2182,1602,1209,1301,1766,2437,2504,2764,2864,3063,3105,2791,2802,2531,2612,3164,3075,2908,2355,2088,2247,2110,2147,1997,2136,2116,2222,2223,2250,2286,1888,2178,2285,1814,2050,2422,2253,1960,1863,1765,1756,1692,1606,2032,2171,2287,3079,2786,2319,2569,2466,2154,2277,2199,1735,1689,1586,1660,2150,1964,1521,1344,1332,1619,1946,2050,1861,1649,1393,1366,1565,1761,1798,1548,1503,1581,1870,1421,1416,1606,1587,1629,1979,2252,1962,1620,2039,2579,2288,2399,2798,2337,2708,2843,2746,2884,2972,3181,3652,3804,3355,3624,3749,3957,4356,4504,4479,4628,4508,4199,3972,3654,3588,3515,3005,3316,4094,3873,4154,4286,4271,4234,4236,4265,3958,3903,4039,4039,4121,3761,2841,2625,2722,2956,2624,2522,2745,2773,3316,4039,4167,4247,4364,3859,3310,3294,3084,3051,3039,3589,3654,3781,3575,3203,2968,2675,2847,2391,1960,2235,2407,2789,2647,2291,2756,2842,2893,2577,2158,2116,2556,3344,3377,3351,3406,3377,2943,2727,2667,3178,3130,2444,2270,2274,2286,2246,2348,2070,2004,2205,2532,2324,2122,1840,1782,1906,2092,2475,2958,3017,2648,2221,2015,2439,2476,2106,1784,1815,1812,1885,2014,2137,1999,2049,2178,1930,1895,2036,2322,2233,2316,2547,2286,2042,2396,2533,2209,2386,2729,2705,2422,2357,2509,2268,2344,2146,2168,2135,1899,1769,1776,2002,1870,1929,2150,2452,2413,2420,2308,2546,2287,2132,2089,1521,1375,1681,1594,1640,2416,2846,3104,3083,2681,1827,1212,1197,1293,1384,1451,1659,2066,2332,2136,2278,2477,2230,2179,1897,1531,1574,1932,1960,2500,3087,2792,2082,1979,2065,2372,2467,2047,2019,2003,2604,2507,2060,2405,2156,2066,2499,2469,2451,2288,1973,2230,2278,2127,2485,2274,1937,1622,1525,1627,1746,2081,1781,2306,3150,3215,3039,3194,3369,3181,2662,1976,1897,1813,1582,1457,1980,2627,3200,3561,3054,2627,2521,2708,2471,2185,2171,1738,1459,1610,2325,2820,2481,2915,3672,3221,2186,1882,2335,2475,2365,2035,1657,1534,1587,2955,2536,1886,2468,2233,2476,2733,2293,2217,2327,2553,2216,1889,1759,2652,2709,2367,2075,2247,2917,3406,3593,3602,3551,3155,2591,2430,2355,2156,2335,2543,2057,2294,2652,2641,2875,2548,1848,2258,2003,2083,2230,2588,2770,2381,1779,2364,3077,2756,1942,1556,1672,1665,1647,2030,2193,2484,2647,2136,2093,2210,1857,1581,1891,2558,3221,3292,2765,2942,3144,3144,3049,2833,2856,2518,2269,2072,1853,1865,1849,2282,2514,2962,2818,2284,3028,3570,3517,2986,2551,2491,2778,2855,2873,2990,2790,2475,2790,3038,2517,2899,3684,3970,2268,2346,3240,3131,3226,3401,3305,3287,3401,2841,1847,1962,1944,1565,1816,1976,2869,3164,2467,2129,2078,1723,1819,2416,2162,1900,1843,2040,2055,1650,1896,2208,2617,2519,1935,1816,1957,2153,3015,3636,3473,2539,1879,2072,2120,2069,2041,1976,1865,1637,1707,2090,1960,2204,2634,2984,3215,3517,3451,3087,2741,2587,2989,3121,2756,2698,2806,2052,1831,2340,2336,2044,2120,2211,2242,2330,2492,2664,2566,2388,2221,2165,2621,2036,1321,1179,1682,2246,2311,2657,3284,3008,2650,2721,2757,2898,2884,2852,2930,2405,1644,1587,1856,1935,2750,3330,2340,2698,2846,3101,3298,3332,3211,3243,3497,4004,4152,4139,4062,3676,3581,3614,3376,2924,2103,2641,3375,3638,2741,2618,3016,3168,3175,3174,3105,3065,3123,3204,3277,2852,2058,1493,1337,1250,1180,1223,1377,1545,1573,1579,1519,1597,2046,3219,3573,3423,3064,3152,3441,2537,1602,1476,1577,1656,1669,1729,1838,1830,1891,1757,1812,2496,2889,2872,3067,3089,2689,2421,2330,2275,2556,2669,2768,2724,2835,3084,3316,3266],[2853,3005,3119,3400,3527,3662,3319,3083,2967,3174,3363,3183,3029,2864,2883,2997,3006,3120,3403,3446,3426,3342,3067,2742,2830,2653,2475,2596,2852,3375,2994,2156,1991,2162,2168,1966,2119,1990,1675,1269,1641,2644,3261,3233,3250,3273,3436,3351,3451,3393,3306,3420,3413,3460,3672,3938,4065,4002,3560,2978,2997,2868,2732,2460,2475,2718,2339,2124,2112,2162,2266,2558,2395,2168,2416,2990,2711,2536,2450,2262,2300,2194,1840,1526,1753,2011,1832,1555,1602,2049,2436,1886,1801,2325,2411,2295,2293,2499,2582,2408,2108,2172,2452,3277,2626,1860,1749,1827,1826,1753,1598,1748,1808,1855,2246,2221,2199,1804,1938,2046,2045,2220,2163,1955,1736,1992,2502,2414,1904,1932,2196,2159,2127,2148,2114,1559,1230,1401,1853,2084,2265,2819,2821,2598,2625,1893,2438,2710,2846,2756,2333,2010,1878,1690,1593,2046,2209,2033,2432,2875,2704,2908,3057,3121,3217,3027,2760,2495,2009,1652,2074,2506,2463,1986,2579,3097,2801,2834,2765,2473,2260,1975,2112,2432,2757,3354,3687,3514,3394,3393,3347,3067,3162,3444,3318,2360,1360,1743,2578,2834,2487,2972,3421,2192,2253,2646,2823,3510,3324,2856,2530,2375,2670,3076,3204,2732,2467,2172,1890,2018,2598,2620,2320,1637,1565,2203,2324,1916,1760,1990,2064,2380,1884,2063,3074,3740,3422,2897,2291,1956,1646,1757,1743,1803,2568,2994,2408,1989,1930,1771,2065,2026,2058,2552,2349,1989,1996,2193,2144,2061,1921,1844,1845,2362,2237,1912,1817,1971,2373,2138,1910,1637,1738,1849,1621,1538,1353,1377,1647,1751,1519,1388,1537,1486,1520,1701,1667,1806,1706,1661,1542,1659,1873,1777,1606,1631,1774,1683,1419,1516,1675,1462,1446,1484,1526,1746,2071,2384,2486,2235,2343,2176,2076,1804,1588,1478,1678,1740,1770,1756,1726,1632,1496,1448,1433,1365,1309,1316,1858,2695,1907,1686,1592,1031,1121,1367,1579,1742,1715,1750,1564,1582,1655,1599,1463,1305,1355,1536,1611,1450,1562,1821,1682,1703,1809,2186,1630,2170,2991,2772,3207,3576,2291,1515,1751,1945,1718,1543,1570,1700,1548,1778,1800,2280,2458,2147,1895,1681,1454,1605,1760,2040,1928,1848,1749,1566,1581,1574,1791,1826,1664,1431,1709,2103,2143,1960,1642,1757,2828,3427,3130,2699,2095,2590,3109,2290,1668,1613,1627,1693,1599,1965,1870,2107,1489,1417,1930,2470,2831,2185,1568,1731,1873,2413,3146,2512,2333,1925,1667,2413,2337,2499,3461,2857,1805,1651,1913,1687,1272,1210,1188,1137,1302,1444,1433,1418,1736,1678,2038,1843,1892,1597,1184,1344,1240,1637,1192,1214,1566,1834,1520,1218,1285,1508,1502,1209,1136,1167,1354,1490,1497,1353,2195,2920,2621,2475,2783,2807,2364,2115,2346,2130,2087,2971,3584,3610,2967,2275,1552,1838,1923,1405,1317,1749,2142,2425,2589,2998,2678,2013,2191,2309,2514,2231,1875,1991,2322,1894,1608,1720,1751,1767,1729,2307,2517,2512,2320,1758,1440,1489,1693,1790,1697,1775,1992,2155,1818,1364,1171,1478,1637,1603,1610,1634,1529,1435,1461,1633,1646,1615,1593,1575,1681,2085,1691,1792,2288,2277,1776,1531,1632,1906,2370,2464,2492,2621,2467,1778,2131,2912,3040,2715,2087,1696,1734,1802,2156,2209,2457,2314,2884,2208,1945,2121,1628,1318,1278,1674,1718,1765,2168,1765,1736,1677,1703,1836,1693,1811,2351,2956,2595,1712,1937,2735,3189,2941,2645,1494,1709,1631,1697,2064,1983,1770,1629,1916,2132,1826,1559,1687,1697,2035,2896,3002,1973,1645,1543,1401,2329,2947,2437,1760,1675,1926,2481,2372,2373,2307,2269,2484,2023,1977,2028,1828,1643,1894,2263,2266,1967,1750,1523,1359,1595,1778,1632,1622,1600,1533,1591,1607,1537,1435,1529,1639,1563,1547,1856,1604,1427,1795,2329,2066,1594,1441,1594,2352,1956,1994,1956,1650,1686,1675,1567,1954,2203,1948,2306,2575,2568,2477,1975,1727,1511,1735,2192,2465,2133,1865,1683,1679,1717,1556,1750,1663,1909,1757,1335,1320,1771,1749,1620,1613,1742,1676,1865,1974,1521,1432,1350,1333,1708,1622,1466,1666,2116,2283,2198,2463,2592,2131,1741,2107,2293,2040,2254,1910,1449,1803,2212,2302,2282,2178,2154,2309,2178,1846,1905,2269,2634,2770,3054,3685,3163,3053,3451,3595,3946,3919,3698,3849,3886,3825,4034,4317,4020,4121,4250,3886,3365,3017,3017,3091,2933,3020,3588,3761,3891,3686,3103,2934,2951,2928,2796,2719,2630,2495,2468,2618,3165,3627,3282,2942,2897,2939,2887,2894,2958,2868,2442,1981,1828,1801,1985,2019,1893,2327,2154,1895,1852,1994,2405,2911,3125,2787,1997,1621,1823,2135,2106,1680,1805,2182,2563,2652,2406,2589,2536,2144,1857,1841,2147,2662,2272,2532,2670,2705,2737,2481,2392,2653,2953,2736,2396,2741,3385,3250,2642,1999,2040,2405,2308,2059,2194,2343,2058,1691,1527,1504,1723,2287,3023,3162,2663,2464,2323,2813,3274,3453,3520,3370,3475,3799,3755,3441,3365,3471,2875,3161,2940,2823,3560,4096,4256,4070,3742,3717,3738,3711,3697,3795,3939,4168,4328,3753,3616,3737,3819,3961,3952,4037,4061,3938,3610,3548,3757,4083,4199,4094,4405,4469,4307,4408,4157,3572,3417,3403,3596,3637,3621,3595,3967,4295,4603,4311,3950,3716,3785,3849,4276,4534,3913,3549,3586,3062,2126,2382,3199,3349,3406,3791,4101,4220,4270,4280,4377,4144,3375,3130,3186,3244,3139,3153,3313,3554,3654,3550,3540,3430,3133,3108,3285,3338,3270,3291,3351,3436,3595,3607,3530,3558,3549,3527,3366,3416,3593,3509,3477,3772,3725,3475,3532,3770,3705,3617,3544,3465,3343,3153,2953,2865,3044,3294,3372,3186,3038,3089,3161,3424,3619,3709,3996,4020,4035,3916,3814,3438,3575,3422,3237,3051,2675,2156,1909,1823,2057,2612,3261,3431,2908,2387,1962,1856,2445,2921,3083,3221,3344,2684,1822,1622,1665,1482,1602,1589,1616,1680,1663,1665,1899,1956,2271,2722,2427,2079,1986,1698,1328,1289,1703,1919,2312,2194,1812,2365,2842,3042,2241,1755,2087,2102,2010,2047,2984,3398,2921,2186,1851,1798,2057,2282,2274,2135,1973,1855,1754,1695,1860,2041,2120,2526,2601,2929,2904,2729,3042,2841,2541,2664,2439,2510,1977,1593,1485,1931,2110,1808,1748,1734,2003,2166,2040,2113,2135,2460,2414,1985,1801,1817,1932,1780,1624,1693,1685,1725,1883,2484,2483,2224,2298,2409,2421,2558,2490,2213,2160,1982,1782,1790,1581,1684,1765,1542,1549,1410,1502,1676,1770,1860,1881,1762,1674,1531,1628,2015,1877,1646,1608,1674,1830,1710,1702,1621,1490,1689,1730,1653,1760,2041,2796,3343,3415,3771,4014,3092,2981,3023,3136,3608,4015,3957,4284,4228,3796,4013,4288,4521,4609,4552,4403,4511,4656,4421,4030,3487,3015,3021,2609,2738,3485,3414,3864,4184,4192,4141,4080,4104,4209,4060,4046,4334,4332,4177,3418,2728,2741,2921,2697,2763,3355,3330,3090,3702,4094,3961,4138,3746,3262,3221,3149,3204,3497,3829,3780,3616,3205,3206,3093,2795,3184,2595,2458,2859,2608,2293,2117,1918,1981,2442,2557,2189,2182,2114,2796,3463,3450,3337,3206,2958,2536,2409,2577,2790,2442,2044,2007,2073,2077,2169,2514,2537,2330,2288,2289,2286,2166,2037,2135,2137,2299,2696,2756,2830,2382,1868,1833,1951,1970,1676,1683,1713,1669,1684,2331,3094,2664,2512,2884,2165,1943,2128,2474,2220,2227,2389,1957,1898,2468,2646,2065,2378,2654,2347,2181,2029,2309,2512,2475,2025,1682,1691,1713,1607,1687,2131,1850,1930,2106,1953,2043,2314,2149,2445,2482,2580,2532,2138,1876,1772,1683,1565,2190,2403,2287,2293,2101,1396,1209,1514,1594,1636,1589,1546,1688,2046,2257,2674,2591,2370,2659,2554,1812,1519,1731,2221,2703,2382,2229,2413,2382,2324,2422,2141,1992,1859,2057,2417,1833,1748,1786,1495,1736,2086,2213,2729,2552,2484,2497,1904,1731,2003,2105,1915,1833,1615,1736,2163,2600,2486,3156,3277,3029,2966,3224,3225,3154,2586,2099,2070,1996,2121,1788,2019,2436,2766,3216,2617,2241,2676,2986,2896,2222,1857,1664,1582,1517,2055,2265,2105,3051,3262,2326,1656,1944,2766,2466,2132,1923,2069,1864,1851,2199,1997,1495,1675,2466,2851,2588,2189,2512,2963,3249,2614,1748,1974,2680,2277,2749,3559,4042,3855,3582,3531,3450,3463,3260,2564,2457,2514,1956,1887,2346,2564,2615,2576,2463,2874,2832,2424,2430,2114,2215,2430,2474,3076,3078,2799,3086,3655,3038,1980,1611,1605,1476,1514,1918,1969,2005,1908,1595,1989,2590,2163,1594,1898,2071,2645,3134,2462,2786,3114,3248,2918,2862,3031,2925,2900,2679,2490,2145,1894,1759,1712,1884,1498,2006,2397,2453,2749,3091,2979,2721,2467,2420,2526,2561,2765,2846,3034,3144,2794,3042,3292,3108,2481,2589,2920,2765,3028,3163,3531,3707,3740,3007,1759,1639,1591,1693,2121,2373,2357,2287,2277,2193,1649,1644,1798,2342,2583,2718,2139,1605,1571,1508,1471,2224,3266,2689,2220,2168,2075,2307,3137,3383,3528,3133,2761,3155,3329,3046,2844,2309,1880,1960,2640,3191,2988,2554,2607,2754,2857,3080,3264,3132,2799,2609,2799,2808,2884,3082,2664,2325,2098,2171,2057,1766,1570,1881,2186,2649,2505,2615,2744,2602,2165,2137,2396,1939,1407,1311,1815,2330,2793,3144,3311,3015,2942,2955,2942,2665,2691,2857,3160,2708,1864,1982,1834,1623,1887,2000,1488,1887,2144,2813,3230,3183,2984,3394,4200,4409,4023,3860,3959,3928,4074,4104,3868,3505,2762,2383,3016,3517,2753,2313,2545,3007,3330,3497,3283,3198,3274,3187,3216,3272,2897,2088,1504,1302,1250,1373,1491,1582,1556,1532,1614,1609,1934,3128,3517,3273,2928,2715,2426,1699,1481,1563,1508,1506,1459,1571,1721,1842,2003,1918,1807,2262,2773,2930,3340,3317,3068,2882,2807,2789,2846,2450,2082,2201,2557,2880,3176,3174],[2974,3522,3749,3715,3680,3487,3106,2926,2967,3420,3238,2957,2944,2709,2788,2879,2809,2733,3286,3545,3234,3129,3029,3063,3326,2920,2648,2857,3116,2639,2469,2277,2084,2290,2249,2244,2144,1855,1754,1594,1906,2337,2730,2924,2984,3097,3528,3415,3115,3246,3738,3699,3414,3460,3529,3684,3823,3973,3329,2862,2840,2463,2390,2276,2148,2446,2232,1943,2280,2614,2572,2342,2193,1945,2194,2640,2343,2644,2765,2081,1902,1771,1520,1515,1841,1698,1652,1611,1767,2196,2308,1860,1988,2990,2812,2433,2172,2390,2931,2636,1874,1656,2232,2790,2234,1907,1970,1961,1772,1810,1572,1496,1633,1993,2357,2244,2034,1426,2034,2177,1910,2155,2384,2326,1826,1985,2314,2072,1702,1871,2013,1952,1946,2322,2412,1931,1433,1599,2145,2050,2388,2604,2520,2691,2377,2644,3220,3316,3075,2526,2182,2071,1787,2181,2500,2557,2132,1995,2728,3109,3061,3041,3046,3262,3328,3225,3033,2436,1885,1613,2612,2969,2887,2773,2913,3165,3090,2634,2151,2363,2695,2454,2438,2645,3175,3650,3616,3260,3257,3077,3131,3269,3152,3131,2819,1897,1921,2532,2545,2618,2454,2675,3118,2754,2396,2073,2568,3301,3350,2732,2430,2388,2418,2635,2932,2608,2526,2106,1816,2315,2236,2309,2150,1447,1628,2490,2457,2453,2502,2946,2434,2203,2578,3242,3803,4072,3872,3131,2171,1735,1636,1900,2470,2223,1864,2457,2909,2630,2404,2844,2951,2363,2060,2305,2090,1978,1782,1749,1846,2001,1888,1841,1776,2194,2720,2332,2062,2416,2644,2276,1987,1883,1773,1584,1576,1611,1485,1565,1918,1880,1581,1419,1476,1371,1313,1592,1688,1720,1561,1528,1409,1638,2009,1988,1734,1542,1746,1673,1462,1656,1908,1676,1563,1541,1435,2094,2778,2812,2382,2055,2448,2319,1753,1457,1558,1413,1450,1446,1582,1620,1592,1548,1528,1528,1542,1582,1623,1619,1787,2492,1945,1774,1386,1040,1282,1241,1398,1725,1599,1627,1526,1398,1565,1880,1954,1253,1174,1832,1968,1561,1920,2289,2184,2654,2341,2479,2496,3241,3614,2683,3229,3288,1898,1515,1653,1995,2019,1681,1742,1570,1520,1547,1712,1945,2061,1958,1728,1443,1636,1760,1608,1553,1670,1789,1920,1688,1548,1500,1730,1785,1506,1501,1560,1769,1744,1786,1832,2204,3104,3541,3228,2619,2114,2649,2962,2178,1815,1777,1821,2148,1922,2081,1900,2053,1559,1244,1744,2350,2589,2186,2077,2815,2722,2302,3029,2322,1960,1794,2085,2315,2292,2632,2862,2318,1572,1660,2354,1876,1396,1387,1266,1092,1341,1444,1407,1488,1415,1694,1858,1671,1804,1500,1302,1536,1571,1276,1007,959,1218,1329,1121,1039,1194,1289,1230,1335,1311,1117,1345,1786,1513,1426,1793,2333,2273,2113,2774,3580,3436,2834,2604,2288,2602,2997,2887,3746,3483,1788,1281,1831,2022,1867,1607,1644,2018,1995,2025,2862,2388,1810,2230,2596,2229,1876,1684,1812,2121,1843,1884,1686,1673,1493,1940,2508,2712,2588,2359,2216,1894,1505,1676,1650,1610,1693,1634,1773,1928,1605,1689,1640,1803,1761,1617,1660,1400,1422,1678,2065,1914,1742,2029,1721,1793,1994,2064,2030,1970,1681,1541,1632,1601,1889,2447,2662,2579,2509,2181,2098,2514,3056,2976,2618,2267,1721,1888,1853,1798,2276,2770,2497,2523,1837,1749,2003,1898,1629,1535,1666,1779,1963,2354,1909,1598,1861,2424,2545,1927,1582,1738,2666,3174,2719,2576,2721,2574,2900,2895,1720,1657,1647,1636,1827,1970,1942,1883,2115,1976,1867,1588,1536,1462,1896,2600,2946,2258,1848,1948,1774,1738,2136,2288,2114,2106,2806,3416,2761,1967,1881,2240,2087,2064,2108,1975,1798,1523,1547,1846,2304,2532,2024,1578,1449,1383,1573,1796,1779,1693,1593,1528,1672,1720,1523,1722,1901,1592,1642,1780,1492,1337,1860,2428,2014,1688,1857,2446,2830,2386,2786,2426,1813,2097,2364,1900,1798,2110,2154,2456,2419,2840,2526,2144,1833,1364,1052,1072,1528,1810,1698,1412,1581,1774,1744,1910,1648,1627,1346,1133,1338,1593,1629,1659,1652,1764,2024,2338,2098,1620,1611,1455,1534,1462,1528,1546,1700,2238,2590,2565,2807,2776,2447,1895,2358,2791,2491,2273,1863,1513,1495,1671,1866,1990,1691,1782,2331,2098,1806,1704,2133,2836,2823,2998,3405,3152,3325,3263,2890,3195,3089,2952,3597,3663,3898,4060,4177,4226,4021,3898,3938,3780,3306,2789,2989,3100,2778,3348,3742,3869,3834,3494,3281,3112,2915,2771,2751,2684,2685,2436,2241,2504,2906,2780,2620,2640,2723,2699,2657,2683,2501,2191,2321,2390,2159,2675,2328,2022,2398,2210,2431,2530,2720,3118,3458,3454,2822,1972,2090,2488,2558,2153,1772,1752,2467,3071,2625,2337,2611,2444,1894,1953,2210,2344,2426,2418,2776,2937,2807,2580,2296,2243,2339,2237,2352,2728,3319,3208,2900,2569,2367,2383,2276,2254,2206,1979,1806,1737,1519,1645,1930,1902,2136,2927,2946,2555,2278,2392,2712,2998,3263,3341,2877,2290,2833,3443,3728,3704,3481,2864,3052,2944,2989,3655,4144,4323,4094,3577,3550,3697,3883,3995,3805,3660,4120,4385,3837,3500,3543,3732,3852,3789,3685,3620,3649,3522,3539,3902,4200,4383,4187,4288,4545,4480,4210,4041,3664,3522,3362,3630,3781,3928,3679,3858,4229,4320,4100,3539,3629,4308,4432,4459,4336,3640,3197,2611,2293,2288,2933,3654,3759,3460,3356,3344,3512,3769,4060,4011,3986,3400,3037,3074,3111,3147,3096,3179,3476,3654,3683,3654,3332,3195,3040,3234,3248,2853,3107,3386,3470,3323,3206,3530,3549,3384,3488,3339,3413,3588,3733,3764,3991,3826,3498,3619,3815,3753,3679,3611,3580,3430,3266,3100,2939,3019,3159,3125,3066,3163,3310,3526,3818,3874,3896,4254,4014,4036,4037,3939,3940,3907,3521,3097,2636,2105,1905,1794,1922,2365,3077,3350,3021,1979,1551,1528,1686,2145,2791,3112,3154,3175,2343,1770,1482,1598,1548,1720,1808,1658,1614,1570,1699,1810,1757,1834,1970,2074,2036,2098,1958,1620,1449,1559,1730,2083,1893,2392,3144,2943,2489,1828,2042,2226,2188,2092,2810,3774,3948,3046,2079,1815,1595,1731,2079,2414,2374,2270,1902,1633,1727,1868,1775,2141,2415,2260,2488,2568,2484,3031,3168,2916,2261,2242,2439,2193,1814,1532,2008,2121,1829,1826,1701,1907,2328,2188,2139,2271,2349,2264,2396,1969,1415,1626,1698,1866,2267,1770,1813,1991,2501,2674,2259,1803,1968,2061,2181,2350,2285,2199,1857,1494,1683,1656,1790,1626,1629,1600,1535,1617,1744,1620,1602,1845,1742,1610,1613,1569,1570,1643,1637,1646,1861,2002,1780,1903,1974,1662,1717,1536,1587,1997,2193,3022,3474,3674,4055,4219,3731,3177,3077,3672,3770,3958,3704,3608,3842,3776,4164,4639,4700,4652,4495,4139,4199,4612,4372,3813,3510,2842,2467,2234,2499,2858,2908,3396,3808,3940,3748,3469,3714,4388,4285,4120,4409,4432,4403,4153,3154,2690,3017,3266,3428,3610,3422,2956,3140,3363,3753,3913,3431,3156,3351,3808,3925,3917,3890,3675,3149,2833,2862,2868,2846,2798,2762,2858,3060,2770,2127,1960,1861,1876,2076,2359,2586,2335,2204,3143,3496,3322,3150,2769,2373,2103,2040,2307,2167,1993,2127,2199,2353,2234,2169,2284,2155,2063,2126,2054,2125,2503,2900,2665,2332,2006,1944,1759,1648,1526,1602,1899,2700,2812,2160,1744,1672,1634,1767,2854,3497,2563,2215,2866,2302,1914,1817,1810,1909,1944,1971,1968,2257,2390,2347,2235,2652,2280,1873,1976,2012,2323,2654,2474,1942,1892,1735,1624,1678,1923,1967,1936,2086,2399,2231,2198,2380,2566,2274,2243,2542,2720,2113,1750,1737,1671,1554,2154,2546,2215,2229,2228,1680,1591,1746,1632,1506,1388,1316,1362,1984,2512,2352,2316,2382,2452,2520,1920,1641,1666,1873,2053,2168,2466,2248,2019,2240,2062,1848,1682,1471,1638,1869,1923,2226,1999,1589,1738,2242,2060,2103,2276,2176,1973,2066,2050,1816,1902,1672,2153,1687,1750,2567,2798,3319,3794,3388,2809,2851,2944,2940,3095,2688,2491,2214,2022,2447,2103,1916,2157,2619,2696,1964,2208,3109,3293,2797,2116,1987,1930,1773,1406,1751,2008,2116,2765,2536,2029,2404,3030,3347,2798,2273,2128,2475,2542,2780,2782,2406,1591,1371,2155,2715,2853,2985,3083,3253,3270,3119,2407,2635,2458,2040,2690,3650,4283,4063,3636,3227,3183,3384,3153,2887,2602,2373,2258,2316,2658,2667,2569,2879,2619,2949,2668,2186,2724,2690,2408,2221,2527,3175,3362,3067,3078,3408,2152,1400,1764,1885,1826,1763,1830,1814,1636,1454,1728,2210,2342,2126,2004,2462,2324,2148,2705,2301,2137,3107,3467,2957,2851,2659,2525,2798,2889,2866,2788,2751,2424,2160,1724,1571,1781,1798,1786,1896,2070,2280,2568,2680,2878,2666,2460,2452,2481,2783,2940,2995,3046,2995,3207,3226,3022,3240,3145,3063,3052,3415,3516,3549,3082,2095,1718,2150,2468,2450,2323,1995,2049,2657,3002,2513,2288,2405,2654,3074,3085,2556,2249,2087,1616,1407,2258,2846,2104,2006,1600,1593,2385,3151,3154,3461,3729,3563,3746,3948,3930,3859,3465,3044,2754,3385,3710,3459,3068,2609,2500,2711,2766,3064,3127,2813,2683,2799,2193,2990,2938,2535,2641,2498,2006,1868,2305,2106,1932,2323,2656,2370,2243,2677,2732,2198,1909,1922,2244,2263,1977,2297,2989,3508,3216,3155,3144,3177,3110,3084,2525,2494,2667,2433,2277,2119,2290,1768,2150,2405,2524,2500,2088,1817,2620,3261,3292,3480,3942,4168,3860,3425,3519,4002,4099,4152,4056,3646,3165,3203,3464,3453,2958,2340,2119,2041,2208,2558,2968,2927,3052,3139,3280,3300,3464,3318,2310,1533,1588,1454,1456,1505,1542,1567,1566,1604,1660,2204,2530,2526,3073,2858,1976,1561,1540,1579,1604,1469,1424,1402,1470,1576,1712,1901,1974,1822,2098,2802,3306,3563,3363,3080,3249,3544,3462,3287,2678,2083,2118,2317,2611,3174,3276],[3125,3299,3420,3436,3146,3166,3349,3132,3027,3076,2842,2811,2874,2702,2644,2824,2980,2945,3306,3428,3135,2823,2956,3107,3362,3005,2878,2866,3234,2706,2712,2696,2105,2032,1751,1938,2266,1975,1720,1345,1607,2198,2345,2533,2796,3132,3088,2336,2024,2642,3243,3552,3482,3540,3565,3632,3701,3801,3934,3639,2844,2428,2587,2842,2435,2241,2273,2164,2009,2535,2951,2512,2657,2355,1989,2493,2798,2912,3232,2836,2275,1672,1199,1360,1619,1803,2192,1991,2149,2298,1650,1680,2351,3260,3009,2521,2545,2608,2534,2272,2105,1613,1515,1856,2917,3472,2626,1867,1660,1470,1654,1648,1807,2203,2238,2040,1495,1389,2161,2090,1917,2151,2115,1994,1827,1615,1610,1615,1534,1863,2349,2488,2175,2241,2756,2957,2241,2150,2537,2054,2531,2663,2701,2529,2434,2980,3168,3317,3408,3112,2858,2623,2201,2558,2546,2300,2028,2181,2458,2785,2887,2741,2867,3106,2973,3199,3364,3079,2580,2416,3057,2786,2509,2210,2325,2757,2687,2389,2029,2030,2285,2295,2821,3198,3539,3815,3331,3020,3251,3262,3241,3201,3021,2939,2554,2053,2036,2371,1677,1733,2298,3070,3531,3458,2790,2117,2383,2567,2865,2590,2316,2082,1879,1836,2221,2567,2604,1853,1911,2534,2277,2478,1707,1405,1529,1868,2251,2639,2912,3134,2460,2167,2988,3778,4056,3747,3685,3515,2512,1749,1777,1901,2144,1929,2145,2627,2902,2535,2542,3350,3001,2548,2503,2051,1782,1970,1769,1647,1749,1766,1645,1941,1909,2144,2558,2302,1904,2085,2211,1835,1905,1896,1588,1694,1874,1657,1452,1681,2188,2052,1590,1480,1506,1393,1412,1661,2118,1853,1771,1996,1634,1573,1831,1928,1521,1548,1566,1537,1575,1588,2083,2333,1941,1593,1787,2323,2858,2722,2345,2065,2035,2092,1980,1743,1597,1639,1528,1460,1548,1532,1371,1261,1331,1435,1513,1610,1611,1693,1794,1887,1807,1701,1388,1203,1215,1248,1286,1490,1471,1646,1861,1740,1461,2056,2062,1010,1246,1794,1767,1674,1953,1599,1790,2645,2215,2755,2707,3287,3537,2920,3177,2695,1603,1571,1711,1848,1846,1504,1570,1496,1452,1407,1501,1649,1809,1956,2024,1821,2472,2011,1568,1692,1636,1722,1744,1794,1883,1792,2248,2213,1608,1676,1436,1901,1926,2078,1909,1995,2374,2771,3060,2716,2390,2722,2771,2236,2249,2363,2361,2343,2402,2224,1694,1694,1516,1118,1372,1989,2171,2214,2307,2441,2238,2306,2535,2095,2080,2268,2364,2327,2402,2345,1895,1542,1437,1434,1991,1880,1398,1405,1312,1194,1268,1328,1412,1459,1404,1355,1321,1333,1672,1762,1433,1724,1439,1072,1142,1064,1046,1112,1000,1068,1166,1159,1259,1585,1365,1178,1245,1531,1851,2015,1805,2162,2331,2499,3516,4274,4020,3593,3285,2707,2620,2885,3305,3774,3173,2154,1676,1544,1710,1501,1681,1845,2280,2090,2161,2109,1599,1690,2490,2762,1983,2058,2752,2760,2305,1974,1670,1638,1726,1675,1945,2279,2570,2437,2063,1863,1619,1710,1886,1744,1744,2036,1984,1903,1719,1562,1591,1714,2075,1831,1767,1639,1355,1702,1836,1989,1843,1854,2069,1900,2128,2726,2902,2921,2815,1902,1585,1936,1818,1872,2339,2464,2113,1978,2095,2374,2553,2979,2938,2656,2273,1966,1743,1779,1824,2853,2973,2750,2242,1705,1715,2000,1898,1678,1688,2290,2747,2358,2166,1841,1505,1724,2544,2676,2222,2018,1749,1918,2565,2713,2637,2074,1776,2142,2377,1834,1615,1571,1521,1521,1715,2067,2064,2336,2091,1866,1402,1442,1777,2042,2460,2829,2534,2396,2872,2836,2366,2104,2239,2293,1851,2028,2570,2123,1508,1529,1754,2081,2366,2041,1717,1570,1567,1682,1890,2254,2503,1803,1428,1643,1550,1639,1840,1605,1537,1840,1860,2383,2251,1775,1699,1489,1277,1251,1212,1338,1470,1789,1678,1433,1588,2194,2021,1951,2636,3300,2467,1805,2127,2358,1905,1720,1692,2000,2537,2321,2741,2855,2758,2822,1996,1089,1071,1582,1685,1756,1533,1570,1710,1786,1832,1708,1510,1407,1343,1598,1601,1288,1483,1982,1795,2094,2151,1805,1715,1645,1489,1654,1693,1784,1898,2059,2521,2864,2924,2989,2613,2220,2030,2647,2549,1967,1816,1760,1670,1630,1684,1687,1907,1726,2108,2044,1834,1869,1786,2081,1956,2330,3107,3289,3353,3399,3052,3154,2690,2897,3395,3878,3877,3961,3841,3918,3818,3575,3851,3997,3975,3577,3053,3127,3239,2660,2742,3217,3742,3908,3564,3261,3040,2785,2596,2597,2586,2641,2581,2278,2201,2457,2566,2556,2608,2684,2744,2700,2793,2979,2622,2438,2584,2857,2967,2366,2336,2840,2691,2405,2659,3201,3307,3470,3234,2242,2177,2469,2857,3439,2789,1902,2068,2876,3137,2806,2403,2060,2157,2400,2566,2163,1713,1806,2149,2626,2872,2570,2338,2200,2143,2117,1966,2234,2699,3249,3006,2624,2599,2263,1935,2000,2502,2764,2125,1801,1696,1636,2056,2228,2046,2112,2485,2195,1873,2412,2992,2953,2984,3120,2906,2200,1913,2021,2983,3676,3719,3764,3629,3238,3001,3717,4309,4303,4187,4084,3798,3771,3883,4049,4007,3821,3777,4245,4409,3879,3642,3630,3659,3717,3572,3470,3772,4023,3981,4275,4732,4730,4384,4048,4085,4304,4336,4155,4128,4063,3817,3821,3855,3745,3849,3825,3973,4385,4427,3737,2958,2973,3627,4196,4316,3903,3066,2351,1968,2319,2921,3365,3863,3851,3535,3295,3196,3177,3226,3491,3319,3409,3239,2896,2901,2993,3074,3049,3119,3347,3620,3675,3430,3269,3420,3106,3025,3127,3188,3418,3406,3419,3343,3286,3308,3042,3139,3470,3413,3529,3630,3939,3872,3860,3926,3680,3676,3872,3762,3529,3615,3631,3487,3420,3363,3167,3143,3253,3239,3184,3312,3469,3816,3992,3973,3846,3759,3798,4222,4222,3948,3902,3866,3463,2688,2144,1942,1852,1950,2452,2763,3243,3061,2420,1963,1715,1679,1841,1838,2436,2786,3123,2813,2236,1739,1520,1962,1930,2055,2080,1671,1560,1758,1875,1671,1855,2011,1676,1536,1738,1961,1942,1826,1732,1705,1952,2102,2088,3055,3153,2474,1991,1891,2228,2298,2511,2398,2684,3107,2730,2383,2065,1597,1461,1619,1976,2388,2439,2386,1951,1564,1656,1924,2005,2076,2251,2248,2225,2095,2320,3006,3052,2520,1623,1475,2027,2508,2162,1642,1774,1961,2077,1796,1717,2040,2491,2742,2554,2271,2314,2220,2353,2364,1849,1682,1925,1892,1788,1710,1895,2319,2309,2242,2330,2064,1736,1741,1972,1985,1973,2073,1810,1708,1698,1743,1602,1581,1628,1557,1570,1708,1647,1549,1536,1566,1762,1594,1512,1455,1644,1699,1678,1938,2093,1614,1934,2615,2442,2076,2636,2718,2653,2663,2320,2743,3205,3431,3617,3815,3710,3293,2915,3800,3795,3430,3389,3450,3769,4180,4601,4587,4556,4687,4643,4334,3844,4311,4396,3602,3588,3511,2860,2266,2220,2468,2854,3096,3119,3239,3099,3344,4020,4345,4184,4156,4344,4495,4298,4156,3628,3017,3410,4037,4091,3793,3384,2798,2929,3145,4006,4077,3495,3266,3725,4217,4053,3603,3378,3265,3029,3037,2728,2778,3059,2601,2490,2912,3076,2613,2169,2076,1969,2257,2207,2331,2420,2275,2265,2753,3019,3108,2754,2085,2017,1968,1829,2116,1882,2108,2063,2164,2465,2283,1943,1861,1891,2123,2363,2272,2072,2345,2364,1968,1787,1676,1686,1743,1661,1758,1820,2006,2624,2733,2224,1656,1666,1578,1814,2301,2604,2581,2214,2500,2288,1903,1973,1842,1867,1909,1996,2204,2270,2109,2155,2549,2416,2122,2127,1896,1984,2567,2759,2087,1665,1900,1857,2002,1851,1789,1975,2408,2920,2944,2557,2164,2331,2720,2217,2137,2448,2778,2238,2143,2008,1669,1504,2196,2864,2310,2118,2172,1958,1918,1845,1418,1274,1322,1396,1334,1925,2776,2678,2432,2289,2501,2835,2146,1841,1727,1975,2077,2373,2812,2192,1754,1871,1670,1787,2120,1750,1577,1725,1885,2158,2194,1889,2018,2508,2368,1890,1893,1951,2522,2655,2553,1937,1959,1809,1984,1631,1699,2116,2390,2928,3483,3035,2192,1960,2281,2029,2146,2137,2231,2278,2261,2372,2454,2655,2858,3069,2929,2491,2854,3620,3566,2841,2052,1811,1631,1458,1354,1739,2003,2025,2641,2369,2357,2489,2906,3500,3221,2329,1923,2208,2661,3033,2970,2597,2209,2070,2452,2652,2908,3120,2666,2395,2239,2669,3154,3376,2939,2544,2799,3578,3969,3941,3508,3317,3142,3123,2938,2976,2875,2883,2930,2547,2598,2546,2935,3329,3076,2877,2658,2376,2635,2226,2035,1955,2055,3009,3155,2747,3262,3312,2026,1480,1870,2059,2173,2236,2094,2049,1940,1676,2331,2307,2164,1725,2115,3205,2949,2907,2856,2737,2498,2835,3451,3287,2768,2397,2025,2456,2599,2675,2889,3154,3247,3142,2325,1852,2035,1903,1746,1718,1693,1722,1887,1996,2396,2806,2784,2778,2613,2437,2336,2297,2291,2427,2630,2795,2933,3196,3100,3108,3085,3110,3105,3220,3068,2776,2731,2911,2749,2865,2720,2466,2318,2762,3316,3286,3201,3300,3430,3599,3496,3045,2735,2326,1710,1336,2028,2137,1631,1693,1715,1779,2585,3356,3161,3277,3625,3759,3952,3805,3566,3649,3919,3759,3728,3693,3309,2812,2197,2013,2353,2739,2541,2732,2922,2572,2554,2485,2668,3100,2786,2708,2491,2246,2398,2568,2767,2677,2203,2442,2432,2375,2218,2386,2303,1801,1726,2249,2907,2898,2497,2933,3596,3312,3176,3618,3848,3728,3496,3217,2404,2258,2563,2059,2010,2336,2789,2508,2322,2316,2631,3173,2918,2342,2462,3030,3365,3650,3936,3570,3288,3312,3563,3811,4004,3955,3798,3338,2370,2533,3483,2784,2268,2531,2460,2054,1970,2208,2162,2560,2989,3138,3160,3310,3600,3397,2237,2095,2380,1774,1503,1534,1456,1518,1587,1542,1783,2206,1958,1967,2692,2589,2211,1616,1484,1488,1448,1400,1381,1411,1470,1555,1653,1775,1836,1783,1997,2395,2751,3379,3497,3142,3326,3605,3698,3603,3097,2746,2253,2072,2549,3285,3681],[3198,3162,3294,3261,2861,2998,3011,2563,2603,2814,2834,2731,2632,2842,2761,2768,3020,3054,2945,3110,3089,2966,3098,2861,2887,2867,3009,3045,3052,2356,2025,2103,1850,1659,1736,2065,2303,2055,2016,1553,1310,2005,2452,2298,2589,3361,2921,1773,1616,1805,2273,3522,3726,3518,3510,3802,3750,3605,4041,3874,3395,2973,3000,2929,2374,1968,1960,1786,1833,2147,2476,2545,3073,3121,2358,2357,2822,3398,3635,3479,2636,1895,1618,1930,2167,2174,2153,2010,2431,2154,1531,1956,2897,3166,2874,2466,2663,2793,2306,1903,1904,1883,1804,2813,4701,3630,2698,2023,2044,2056,2128,1849,1899,2291,2120,1713,1398,1480,2041,2219,2232,2138,2020,1801,1617,1657,1791,1914,1907,1919,2251,2391,2577,2794,2883,2673,2144,1786,1760,1857,2445,2752,2664,2517,2812,3083,3197,3183,3379,3209,2329,2114,1982,2305,2614,2061,1668,1715,2031,2530,2667,2731,2767,2391,2488,2985,2962,3009,2809,2768,2781,2684,2435,2212,2741,3041,2558,2495,2498,2479,2445,2471,2997,3241,3287,3235,3072,3364,3753,3465,3252,2917,2785,2845,3001,2844,2306,2383,1856,1562,2223,2867,2940,2926,2479,2151,2541,2645,2618,2700,2380,1880,1653,2197,2673,2510,2273,2022,2020,2158,1999,2231,1708,1573,1656,1632,2116,2454,2351,2850,3267,3241,3592,3767,3811,3559,3584,3388,2540,1934,1903,1803,1710,1992,2417,2580,2482,2471,2959,3177,2927,2731,2749,2275,2542,2575,2163,1802,1572,1528,1899,2172,1605,1770,1936,2178,1914,2276,2418,1797,1949,2019,1494,1860,2136,1693,1509,1569,1794,1877,1643,1542,1568,1546,1574,1698,1791,1908,2011,1964,2068,2335,2321,2100,1512,1360,1518,1682,1530,1483,2253,2837,2460,1919,1770,1978,2486,2438,2200,1858,1638,1797,1836,1625,1684,1742,1604,1443,1540,1826,1604,1281,1191,1322,1538,1464,1476,1617,1660,1749,1775,1745,1907,1831,1694,1476,1411,1567,1560,1780,1915,1830,1592,1647,1395,1028,1583,1799,1647,2182,2096,1606,1711,1979,2386,2572,2336,2866,2636,2842,2753,2242,2032,1823,2182,2071,1764,1621,1678,1492,1348,1805,1959,1794,1859,1789,1630,1510,2421,2166,1736,1882,1711,1577,1488,1669,1922,2015,2403,2417,1968,1866,1508,2000,1773,1581,1613,1887,2592,3039,3018,2753,2493,2391,2496,2299,2497,2319,1916,1753,2282,2222,1694,1522,1296,1132,1226,1544,1748,1746,1461,1449,1606,1935,1989,1845,1987,2153,2309,2437,2220,1982,1937,1575,1582,1555,2579,2343,1403,1333,1296,1079,1073,1260,1353,1332,1273,1261,1404,1206,1155,1429,1614,1555,1511,1495,1276,1216,1042,1028,1048,1179,1108,1050,1125,1304,1232,1173,1334,2275,3381,3094,2172,2833,2846,3018,4121,4632,4300,3553,3540,3396,3272,3396,3349,2665,1947,1955,1656,1313,1924,1788,2156,2094,2306,2753,3100,2626,2250,2630,2972,2470,2204,2469,3019,2535,2536,2298,1806,1763,2167,2208,1920,1918,2169,2561,2273,2212,2063,2379,2108,2107,2230,2186,2214,2070,1576,1658,1670,1664,1764,1535,1979,1904,1618,2004,1946,1644,1619,1875,1876,1708,2132,2854,3452,3554,3177,1947,1340,1595,1882,1879,2266,2036,1594,1636,2170,2696,2552,2743,2840,2646,1918,1699,1754,1801,2105,3027,2764,1852,1696,1750,1854,2026,1552,1470,1836,2470,2619,2134,1776,1509,1400,1710,2203,2374,2364,2436,2105,1583,1648,2033,2311,2293,2020,1840,1669,1593,1730,1639,1557,1677,1659,1958,1966,1794,1849,1693,1718,1805,1754,2020,2018,1852,1882,2325,2921,2581,2040,1624,1698,1793,1542,1382,1450,1559,1538,1412,1581,1958,2260,1793,1548,1575,1464,1598,1990,2276,1844,1433,1556,1434,1410,1765,1700,1444,1416,1613,1605,2103,2099,1914,1671,1360,1361,1448,1623,1654,1818,1985,1770,1690,1918,2505,2058,1735,2609,2500,1655,1568,1774,1956,1787,1718,1454,1642,1880,2106,2758,2876,2978,3431,3130,1691,1333,1648,1982,1962,1693,1648,1812,1692,1615,1524,1440,1476,1637,1908,2030,1241,1606,2316,1770,1882,1853,1762,1697,1558,1607,1669,1722,2266,2523,2335,2280,2132,2364,2432,2238,1937,2146,2400,2072,1603,1565,1916,1830,1660,1630,1676,1692,2264,2261,2126,2030,1969,1855,1811,2144,2753,2980,3234,3059,3097,3041,3124,2784,3261,3562,3592,3684,3594,3517,3597,3362,3328,3740,3927,3826,3538,3238,3185,3444,3262,2814,2813,3206,3432,3372,3154,3010,2810,2439,2380,2502,2690,2666,2377,2262,2364,2502,2591,2690,2819,2829,2622,2856,2796,2116,2492,2896,2610,2244,1930,1944,2244,2404,2286,2342,2663,3084,3133,2577,2068,2386,2544,2720,2918,2269,1690,2108,2641,2752,2380,2207,2212,2248,2491,2742,2631,2513,2515,2309,2410,2416,2131,2327,2433,2522,2505,2286,2109,2578,3041,2756,2699,2966,2549,2006,2284,2697,3165,2742,1923,1726,2126,1994,1810,1842,2103,2367,2038,2053,2763,3429,3452,3605,3351,3060,2623,2404,2876,3754,3919,3848,3972,4069,3759,3522,4172,4319,4368,4037,3918,3769,3687,4039,4062,3764,3728,3719,3847,4064,3776,3776,3774,3829,3863,3772,3805,4276,4524,4111,4172,4749,4504,4139,4123,4158,3993,4027,4296,4049,4018,3937,4095,4162,4083,4119,4252,4344,4412,4144,3460,2990,2855,3082,3959,4108,3271,2098,2030,2927,3598,3221,2949,3825,3820,3168,3179,3173,3005,3025,3004,2881,3296,3284,2938,2995,3099,3135,3117,3196,3283,3428,3500,3394,3162,3045,3060,3218,3359,3710,3701,3459,3588,3443,3361,3294,2918,3068,3373,3726,3771,3873,3838,3481,3694,4164,3887,3544,3466,3782,3747,3594,3492,3433,3425,3505,3311,3130,3332,3558,3535,3507,3446,3550,3854,3839,3537,3406,3747,4199,4095,3890,3875,3557,2856,2181,2050,1806,1929,2384,3045,2925,3220,2980,2009,1677,1652,1730,1849,1845,2177,2680,3084,2785,2486,1963,1588,1731,1688,1778,1641,1574,1570,1634,1556,1473,1737,2075,1655,1499,1806,1826,1832,1739,1627,1700,1695,1741,2236,2981,2526,2082,1958,2208,2784,2769,2559,2200,2348,2351,2153,2544,1992,1602,1673,1708,2029,2053,1835,1870,1922,1936,2015,1914,1954,2480,2543,2116,2211,2008,1934,2416,2630,2265,1931,1556,1766,2096,1820,1488,1892,2211,1667,1692,1946,2454,3053,3032,2567,2308,2142,2178,2490,2888,2542,1861,1745,1650,1704,2048,2281,2619,2376,1926,2301,2318,1841,1807,1728,1777,2251,2261,1912,1717,1503,1464,1449,1577,1686,1676,1710,1827,1657,1729,1891,1776,1679,1881,1804,1748,1643,1659,1804,1980,2315,2259,2813,2642,1864,2380,3328,3694,3334,3040,3111,2951,2815,2703,2337,2938,3078,2608,2995,3414,3153,2988,3011,3130,3703,4251,4288,4299,4596,4731,4687,4572,4027,4172,4331,3885,3658,3474,3108,2491,2145,2642,2933,2782,2434,2755,3006,3516,4094,4105,3707,3678,4196,4541,4435,4416,4196,3830,3882,3805,3718,3816,3696,3310,3074,3212,3980,4328,4123,3780,3904,4200,4264,3727,3076,2977,3210,3156,2775,2832,2726,2249,2445,2928,2968,2990,3034,2833,2449,2231,1981,2210,2478,2392,2259,2441,2688,2719,2034,1491,1498,1570,1898,2070,1967,2117,1881,1908,2102,1989,1858,1866,2110,2671,2407,2330,2024,1872,1660,1539,1630,1684,1713,1731,1583,1687,1984,2034,1895,1917,1829,1644,1493,1571,1609,1566,1888,2170,1947,1993,2127,2229,2496,1962,1810,1885,2442,2183,1993,1937,2264,2463,1933,2002,1980,1826,2392,3076,2918,1973,1646,1975,2284,2357,2002,1741,1864,2446,2983,3041,3083,2486,2325,2632,2352,1939,2247,2453,2707,3119,2665,1902,1667,2382,2964,2428,2073,2052,2056,2032,1919,1389,1211,1550,1842,1626,1849,2465,2459,2756,2781,2352,2200,2008,1943,1975,2087,1986,1914,2010,1853,1722,1933,1736,1813,1799,1730,1744,1920,1949,2004,1964,2083,2338,2547,2424,2009,1714,1928,2552,2303,2136,2169,2243,1996,1868,1688,1656,1552,1655,1875,2096,2121,2092,1782,1952,1767,1932,1753,1771,2218,2391,2342,2719,2957,2733,2978,3038,3019,2987,3233,3647,3420,2288,1565,1567,1642,1771,2143,2380,2336,2382,2389,2404,2292,2536,2416,2879,3249,2585,2192,2485,2811,2733,2563,2378,2525,2412,2189,2636,2652,2353,2283,2140,2410,3182,3400,2690,2467,3349,3699,3657,3341,3294,3439,3274,3209,3282,3204,2683,2396,2670,2476,2411,2262,3028,3481,2686,2332,2636,2530,2189,1799,2116,2403,2580,3277,2621,2393,3183,3251,2353,1790,1894,1964,2007,2213,2332,2391,2316,2211,2774,2828,2792,2139,2239,2974,3011,2934,2449,2231,2403,2532,2778,2943,2464,2232,2299,2328,2210,2224,2569,2685,2785,3131,2922,2321,2598,2709,2486,2207,1941,1798,1729,1684,1740,1786,2056,2216,2283,2526,2416,2325,2422,2545,2386,2419,2514,2415,2412,2446,2512,2431,2321,2339,2457,2675,2733,2778,2643,2724,2750,2954,2928,2886,3090,3144,3016,2951,2945,3063,3116,3218,3140,2658,2216,1592,1804,1984,1563,1270,1449,1999,2646,3251,3075,3256,3498,3754,3636,3435,3417,3683,4064,3951,3816,3731,3294,2511,1971,2327,2273,2721,2521,2556,2930,2765,2708,2579,2609,2727,2664,2458,2243,2445,2688,2735,2442,2414,2510,2474,2336,2352,2285,2258,2166,2020,2062,2358,2563,2696,2788,3182,3450,2796,2796,3406,3714,3675,3237,2756,1919,2083,2185,1904,2128,2210,2676,2429,1942,2265,2681,2799,2871,2525,2173,2817,3248,3630,3780,3181,3198,3615,3400,3151,3581,3792,3435,2663,1687,1757,2325,2344,2279,2883,2994,2398,2324,2314,2313,2699,3096,3188,3109,3110,3060,2452,2249,2477,2478,2353,2452,2155,1732,1560,1533,1651,1662,1692,1720,1919,2186,2017,2273,1839,1498,1495,1477,1469,1495,1504,1529,1587,1665,1798,1816,1815,1979,2110,2050,2585,2864,2655,2945,3348,3473,3282,2770,2570,2260,1873,2400,3242,3654],[3141,2914,3067,3311,3113,2885,2589,2617,2784,2886,2825,2444,2458,2819,2750,2472,2518,2661,2795,2966,2980,3154,3035,2922,2785,2873,3120,3118,2900,2190,1865,1891,1952,1936,2243,2311,1844,1825,2393,2121,1631,2229,3063,2454,2590,3244,3082,2110,1841,1566,2446,4057,4140,3569,3493,3458,3142,3348,3896,3847,3706,2955,2678,2498,2092,1850,1637,1947,2468,2425,2313,2367,2717,2745,2182,2072,1948,2268,2911,3453,3516,2556,2092,2261,1845,1835,2434,2366,3040,2203,1731,1996,2566,3201,3008,2566,2450,2393,2060,1848,1943,2379,2424,2577,3072,2590,2090,1999,2165,2081,1987,1892,1826,1847,1696,1695,1938,2304,2502,2353,1911,1766,1750,1825,1965,1944,1962,2275,2164,1713,1723,1973,3260,2885,2539,2093,1835,1643,1616,1760,2036,2105,2032,2494,2990,3074,3285,3051,3378,3006,2698,2219,1654,1963,2165,1762,1805,1903,2111,2390,2636,2813,2752,2186,2087,2457,2624,2600,2673,2706,2556,2954,2659,2436,2990,2946,2148,2087,2360,2698,2781,2569,2916,3273,3246,3442,3517,3353,3449,2992,2786,2939,2965,2896,2886,3055,2275,2178,2954,2692,2449,2196,2358,2651,2356,2222,2796,3042,2597,2334,2018,1591,1530,2198,2316,1922,1834,2218,2363,2132,2163,2205,1911,1880,1844,2191,3076,2996,2458,3019,3145,3376,3842,4061,4117,3781,3305,2880,2499,2343,2242,2281,2160,2354,2645,2902,2812,3001,3219,2762,2963,3096,2761,2676,3312,3008,2323,1657,1520,1516,2049,1768,1455,2017,2094,2031,1763,2169,2518,2066,2083,2103,1940,1971,2223,1711,1931,1795,1763,1999,1883,1612,1771,1813,1841,1766,1831,1842,1889,2432,2566,2943,2419,2359,1707,1368,2068,2124,1702,1746,2330,2712,2208,1694,1911,1932,1842,2032,2224,1963,1763,1734,1633,1604,1545,1589,1655,1459,1404,1490,1559,1383,1228,1501,1644,1439,1365,1395,1568,1561,1420,1509,1871,1913,1902,1880,1928,1842,1708,1753,1889,1930,1699,1462,1160,1351,1606,1766,1545,1780,1951,2208,2270,1932,2301,2678,2823,2509,1861,2633,2487,2019,2199,1905,1873,1756,1646,1571,1626,1688,1769,2032,1745,1766,1924,1643,1607,2065,2338,1961,1753,1765,1734,1705,1753,1949,1773,1604,1874,2194,1951,1502,1642,1805,1393,1183,1160,1874,2953,2657,2734,2772,2230,2104,1942,2093,2526,2346,1804,1643,1847,1977,1681,1322,1234,1186,1267,1393,1432,1499,1305,1356,1613,1665,1760,2361,2218,1824,2193,2551,2601,2122,1848,1882,1954,1976,2511,2123,1486,1320,1261,1167,1041,1141,1258,1195,1201,1603,1636,1343,1299,1449,1667,1751,1861,1646,1530,1268,1028,1262,1235,1195,1139,1049,1266,1347,1268,1175,1708,3040,3843,3972,2989,2661,2866,3075,3935,4116,3584,3462,3302,3177,3409,2867,2216,1948,1668,1736,1517,1682,2261,2421,2492,2208,2353,3107,3745,3275,2829,2831,2599,1870,2433,2774,2603,2273,2334,2219,1814,1836,2438,2288,2129,2019,2436,3382,2997,2664,2454,2127,1837,1980,1966,1613,1903,2082,1886,2186,1809,1809,1700,1333,1819,2060,1854,2276,2148,1813,2062,2275,2048,1555,1815,2135,2387,2485,2298,1663,1319,1602,1638,1510,1758,1660,1600,2016,2317,2435,2657,2719,3091,2533,1817,1748,1811,1497,1605,2327,2407,1958,1752,2110,2239,1851,1720,1794,1766,2092,2196,1885,1849,1674,1679,2126,2151,1841,1952,2688,2784,2114,1882,1829,1996,2200,1800,1462,1515,1758,1982,1771,1818,2248,2231,2145,1930,1541,1494,1705,2196,2195,1745,1662,1532,1870,2241,2263,2158,1655,1608,1453,1478,1730,1745,1501,1460,1443,1529,1373,1441,1683,1927,1799,1695,1411,1405,1383,1490,1673,1599,1601,1577,1432,1505,1727,1655,1659,1677,1560,1476,1825,2173,2121,1656,1437,1480,1980,2657,1949,1692,2065,2390,2142,2026,2447,2315,2322,2671,1735,1439,1676,1862,1735,1750,1960,1777,1901,2269,2468,2614,2569,2474,2665,2527,1242,1638,1616,1658,1865,1897,2206,2180,1816,1624,1468,1398,1421,1556,1818,2173,1725,2166,2845,2371,2041,1889,1703,1561,1575,1909,1665,1771,2634,2743,2695,2294,1917,1955,2207,2135,2111,2169,2042,1987,1704,1551,1912,1928,1927,1744,1613,1521,1938,2317,2024,1630,1754,1910,2322,2879,3020,3143,3307,3205,3009,2473,2185,2280,2643,2745,3114,3658,3746,3421,3122,3012,3365,3406,3598,3601,3514,3452,3251,3307,3355,3310,3505,3167,2839,2785,2861,2745,2656,2441,2396,2543,2685,2540,2322,2104,2150,2484,2689,2990,2981,2913,2685,3021,2856,2879,3519,3255,2398,2077,1787,1583,1882,2297,2319,2225,2363,2758,2363,1757,1794,1965,2147,2398,2062,1472,1653,2404,2531,2486,2543,2687,2166,1945,2321,3073,2842,2684,2896,2468,1854,1824,1996,2524,2853,2824,2614,2366,1944,2131,2240,2229,2796,2965,2887,2553,2510,2597,2490,2016,1867,2323,2589,2147,1806,1858,2326,2576,2497,2878,3228,3592,3880,3841,3367,3353,3420,3416,3566,3908,4173,4221,4320,4296,4189,4070,4155,4275,4015,3536,3794,3854,3587,3926,3994,3659,3782,3658,3350,4009,3863,3830,4096,4256,4300,3957,3982,4320,4362,4271,4023,4365,4079,3772,3817,4109,4048,4028,3948,3007,3219,4085,4308,4384,4283,4100,4208,3871,3736,3517,3161,3039,3259,3586,3639,3141,2252,2319,3476,4243,4476,4008,3360,3650,3548,2677,2895,3317,3103,2958,2978,2949,3027,3109,3253,3045,3097,3184,3257,3521,3285,3307,3388,3482,3266,3172,3709,3884,3838,4042,3881,3529,3687,3362,3239,3363,3255,3184,3122,3077,3497,3919,3570,3624,3665,3688,4009,3892,3593,3751,3683,3242,3081,3106,3313,3452,3266,3195,3493,3674,3606,3451,3576,3540,3677,3783,3662,3463,3584,4011,3901,3702,3705,3030,2250,1944,1919,1946,2380,2768,2944,2591,2632,2850,2266,1453,1505,1566,1748,2025,2087,2260,2662,2802,2494,1959,1580,1384,1431,1527,1620,1622,1497,1638,1599,1384,1536,1938,1780,1583,1691,1650,1817,1550,1188,1479,1650,1696,1591,1759,1843,2211,2468,2626,2808,2649,2632,2812,2501,1974,2488,2566,1843,1770,1783,1547,1472,1530,1589,1759,1932,2372,2487,1766,1700,2355,2710,2321,2678,2415,1646,2242,2324,2082,2258,1534,1593,1829,1949,1996,2213,2114,1464,1691,2100,2627,2754,2235,2105,2247,2124,2040,2387,2587,2325,2091,1750,1581,1722,1966,2254,2668,2317,1746,2185,1849,1839,1862,1684,1822,2047,1902,1703,1520,1479,1486,1443,1659,1781,1677,1454,1487,1996,2161,2272,2060,1815,1941,1984,1898,1563,1583,2013,2025,1871,2090,2629,2326,1857,2548,3016,3240,3365,3154,2916,2686,2453,1984,1783,2736,2977,2686,2995,3256,3385,3236,2709,2643,3347,3824,3785,4035,4573,4781,4688,4440,4320,4301,4232,4078,3541,2905,3066,2601,2159,2918,3260,2542,2078,2712,2677,2773,3287,3395,3194,3386,3961,4448,4417,4415,4155,4015,3905,3795,3965,4112,3881,3523,3220,3470,3791,3997,4039,3770,3728,4188,4496,4095,3302,2914,2978,2799,2576,2662,2541,2282,2412,2676,2807,3174,3593,3249,2785,2029,1830,2125,2273,2232,2209,2332,2510,2056,1543,1522,1395,2294,2557,2463,2338,2121,1880,1880,2072,1874,1840,2117,2330,2729,2381,1987,1769,1677,1701,1759,1898,1783,1508,1535,1614,1758,1843,1979,1886,1888,1814,1699,1918,1968,1684,1779,1990,1818,1789,1885,2018,2203,1892,1710,1880,1919,2613,2399,2056,1930,2405,2734,2154,2360,2291,2410,2669,3006,2928,2108,1758,1892,2411,2624,2084,1642,1682,2012,2689,2873,3195,2636,2347,2966,3101,2237,1847,2625,3457,3492,2898,2483,2138,2654,3107,2482,2144,2100,2085,2035,1969,1526,1389,1868,2092,1776,1919,2721,3111,3339,2750,2007,1791,1651,1819,2266,2444,2166,1808,1735,1764,1778,1901,1869,1555,1426,1651,1887,1865,2168,2522,2374,2228,2471,2462,2636,2243,1819,2022,2053,1706,1708,1918,1804,1853,1799,1614,1595,1642,1682,1709,1819,1940,1998,1736,1927,1919,1764,1655,1636,1972,2276,2327,2410,2635,2718,2936,3027,3248,3285,3228,3504,3530,2597,1563,1582,1785,1813,1980,2105,2180,2212,2033,2075,2397,2050,1800,2852,3688,3166,2491,2456,2499,2514,2378,2588,2721,2380,2442,2662,2449,2253,2064,1939,2466,2837,2805,2689,3064,3777,3795,3396,3167,3471,3561,3396,3231,3028,2652,2298,2381,3166,2877,2739,2567,3020,3104,2288,1945,2147,2355,2652,2458,2374,2603,3054,3339,2811,2986,3493,3171,2696,2152,1921,2128,2304,2404,2676,2553,2579,2793,2841,3416,3905,3586,2911,2662,2932,2797,2068,2126,2552,2892,2080,1815,1973,2526,2417,2170,2067,1863,2147,2356,2502,2473,2354,2142,2535,2868,2968,2988,2650,2257,2084,2003,1873,1846,1778,1673,1826,1730,1913,2061,2038,2005,2398,2588,2644,2603,2431,2494,2558,2438,2383,2359,2512,2424,2365,2285,2266,2220,2302,2498,2594,2544,2509,2448,2477,2486,2334,2392,2329,2292,2735,2662,2428,1977,2139,2328,1865,1496,1618,2055,2685,3154,3049,3085,3277,3316,3042,3153,3522,3794,4048,4180,4136,3865,3537,2777,2199,2565,2697,3109,2749,2622,3098,3262,3242,3024,2734,2869,3109,3206,3317,3000,2715,2591,2626,2912,3124,3208,3361,3353,3063,2915,3027,2922,2530,2375,2438,2696,3142,3235,3196,2928,3022,3383,3400,3116,2314,2192,2300,2167,1714,1681,2018,2288,2376,2192,2013,2249,2709,2508,2873,3134,2519,2386,2823,3398,3530,2644,2700,3276,3131,3229,3507,3798,3661,3228,2310,1878,2044,2309,2180,2734,3156,2942,2588,2403,2321,2757,3137,2576,2612,2524,2365,2450,2846,2648,2669,3006,3208,2911,2378,2198,2061,1726,1698,1626,1645,2013,1883,1581,1681,1556,1431,1449,1577,1677,1646,1625,1576,1627,1695,1848,1889,1804,1815,1999,2059,2036,2122,2498,2899,3344,3188,2852,2398,2418,2392,1974,2094,2855,3189],[3130,3142,3220,3297,3199,2800,2457,2482,2585,2730,2567,2441,2710,2741,2552,2602,2611,2751,3044,2930,2792,2865,2971,2950,2717,2719,2902,2971,3017,2079,1820,1710,1924,2224,2000,1863,1838,2019,2216,2030,1975,2524,3043,2390,2432,2902,2844,2115,1931,1706,2634,4344,4320,3984,3809,3155,2756,3046,3570,3566,3150,2888,2770,2706,2591,2202,2025,2669,3133,2483,2460,2302,2586,2761,2054,1882,1828,1993,2224,2551,2976,3047,2776,2051,1394,1756,2396,1863,3022,3492,2721,2008,2480,3025,2910,2894,2986,2635,2336,2546,2752,3002,2898,2513,2331,2104,1922,1761,1541,1699,1891,1784,1753,1795,1715,1848,2078,2114,2186,2001,1725,1913,2345,2481,2292,2262,2138,2470,2734,2081,1608,1567,2164,2171,2236,1823,1678,1781,1786,1597,1562,1745,1916,2186,2655,2650,3042,3364,3646,2983,2883,2648,1961,1985,1980,2072,2346,2401,2708,2491,2547,2581,2571,2442,2487,2700,2725,2219,2347,2402,2151,2520,2530,2712,2795,2240,2326,2635,2478,2635,3002,3027,3118,3208,3610,3736,3484,3264,3673,2977,2558,2643,2840,3010,3085,2968,2151,2243,3040,2636,2542,2208,2204,2720,2520,2186,2603,2878,2416,1944,2011,1585,1286,1542,1171,1222,2036,2309,2497,2473,2891,2719,2355,2269,2502,3777,4224,3077,2540,3044,3145,3133,3474,3983,4164,3697,3150,2600,2418,2441,2473,2474,2297,2786,3034,3184,3433,3552,3000,2668,3122,3294,3166,3294,3197,2357,1996,1499,1572,1561,1752,1711,1540,1720,1926,1760,1662,1969,1954,1764,1824,1657,1565,1746,1935,1890,1860,1723,2055,2209,1743,1770,1788,1837,1807,1894,2306,1872,1645,2253,2348,2303,1833,2250,2164,2071,2344,2068,1974,2251,2127,2592,2095,1670,1698,1716,1923,2543,2756,2418,2054,1641,1437,1383,1504,1644,1774,1486,1388,1271,1376,1393,1497,1767,1588,1421,1275,1426,1469,1334,1340,1410,1550,1715,1794,1753,1725,1820,1815,1782,1734,1704,1498,1533,1511,1449,1402,1406,1405,1473,1932,2496,2177,1763,2326,2563,2830,2436,2335,2430,2304,2069,1909,1619,1454,1510,1542,1599,1756,1854,1873,1936,1465,1655,1900,1681,1518,1561,1648,1799,1750,1690,1900,2119,1861,1921,1731,1641,1724,1920,1892,1785,1935,1643,1007,918,1018,1423,2484,2443,2420,2341,2097,2096,2128,2623,2990,2645,2034,1744,2120,2099,1590,1306,1225,1232,1339,1491,1510,1447,1505,1654,1704,1649,1897,2878,2459,1703,2327,3033,3077,2300,1777,1875,2088,2168,2006,1681,1534,1572,1620,1397,1194,977,1071,1222,1346,1771,1583,1358,1281,1325,1826,1867,1586,1562,1594,1198,1142,1378,1238,1161,1150,1142,1221,1337,1456,1354,1907,2930,3168,3888,4003,2988,2235,2312,2958,3232,3441,3586,2879,1929,2048,2091,1870,2108,1691,1447,1534,1915,2289,2742,2522,2322,2759,3351,3724,3009,2539,2758,2074,1901,2388,3018,2892,2485,1886,1575,1570,2011,2358,2291,2428,2549,3028,3681,3265,2765,2280,2039,1956,1715,1671,1948,2057,2072,1938,1988,1837,1938,1868,1528,1470,1610,1821,1952,1597,1381,1764,2165,1643,1733,2148,1873,1587,1762,1722,1443,1279,1348,1388,1520,1826,1654,1725,2296,1811,1549,1976,2356,2679,2288,1896,1780,1698,1819,2132,2358,2339,2362,1740,2266,2397,1729,1677,1718,1502,1643,1590,1466,1849,1745,1647,1767,1825,2056,2066,2397,2665,2187,2076,1781,1902,1942,1538,1570,1770,1759,1925,2081,2260,2730,2597,2041,1905,1735,1604,1864,1829,1822,1770,1447,1484,2313,2398,1712,1453,1387,1376,1371,1430,1542,1512,1523,1442,1412,1871,2059,1941,1772,1517,1608,1538,1418,1492,1465,1561,1516,2005,2016,1966,2232,1737,1477,1454,1751,1803,1624,1888,2105,1942,1958,1632,1396,1559,2038,2842,2247,2112,2754,3020,2633,2558,2792,2357,2530,2577,1647,1402,1714,1681,1509,1671,2217,2246,2473,2966,2790,2523,2365,2181,2242,1559,1040,1605,1798,1506,1524,1853,2274,2114,1661,1680,1822,1636,1527,1611,1708,1863,2376,2250,2675,2916,2531,2374,2286,1926,1982,2476,2123,1554,2174,2867,3240,2482,1917,2108,2324,2188,2283,2210,1880,1744,1764,1667,1609,1629,1661,1599,1490,1666,2133,2176,1674,1532,1737,2510,3087,3466,3442,3256,2940,3342,3042,2622,2306,1766,1843,2119,2884,3194,2974,3204,2865,2900,3097,3108,3319,3497,3377,3160,3270,3222,3298,3471,3693,3352,3010,2938,2916,2824,2617,2588,2512,2490,2523,2404,2376,2210,2380,2652,2790,2906,2979,3161,3009,2908,3093,3662,3553,2828,2188,1903,1674,1820,2485,2956,2554,2221,2132,1964,1788,1748,1692,1675,1826,2234,1674,1416,1817,2326,2523,2547,2420,2109,2036,2184,2535,2555,2002,2261,2415,2299,1727,1688,1830,2360,2612,2330,2125,2121,1788,1797,2186,2414,3166,3440,3701,2885,2033,2054,1779,1769,2033,2359,2640,2114,1613,1627,2039,2512,2985,3436,3723,3862,3882,3631,3205,3189,3470,3650,3842,4094,4296,4324,4283,3993,3616,3884,4131,4472,3594,3066,3725,3863,3578,3835,3938,3720,3849,3924,3752,4197,4167,4227,4508,4350,4484,4372,4050,4332,4532,4649,4606,4703,4632,4200,3981,4305,4365,4174,3752,2852,3015,3949,4256,4227,3713,3547,3682,2921,2563,2647,2813,2764,2834,2845,2411,2243,2403,3285,4042,4452,4408,4260,4100,4241,3650,2626,2808,3476,3240,3012,3058,3054,3133,3324,3748,3308,3087,3190,3308,3710,3620,3488,3444,3334,2982,2789,3305,3782,4208,4104,3447,3354,3530,3361,3187,3256,3310,3416,3414,3278,3775,3952,3588,3776,3532,3174,3581,3469,2832,2446,2389,2282,2150,2231,2954,3239,3111,3276,3495,3680,3505,3403,3554,3542,3680,3765,3605,3609,3759,3838,3704,3265,2801,2191,1966,1834,2023,2305,2422,2342,2095,1815,1869,2310,2305,1604,1528,1730,2004,1898,1635,1616,2071,2181,1770,1553,1538,1444,1503,1627,1700,1644,1617,1721,1512,1455,1576,1736,1818,1689,1686,1531,1781,1500,1029,1290,1710,1720,1689,1626,1738,2242,2306,2446,2808,2722,3150,3131,2185,2171,2596,2286,1976,1888,1820,1594,1468,1548,1589,1689,1791,2044,1998,1502,1560,1705,2519,2388,2343,2033,1870,2851,2268,1726,2046,1724,2018,1970,2018,1889,2121,2002,1841,1835,1886,2331,2119,1829,1843,1958,2060,1841,2055,2340,2886,2564,1792,1557,1465,1532,1809,2094,2203,1980,1819,1362,1608,1632,1753,1836,1782,1912,1737,1554,1412,1722,1872,2088,1931,2069,1779,1618,2037,2249,2298,1975,1829,2177,2071,2160,1918,1685,1899,2105,2271,2490,2754,2742,2408,2526,2920,3077,3024,2597,2357,2319,2175,1980,2306,2922,3021,2812,2835,3038,3041,3028,2778,2700,3241,4141,4152,4440,4074,4020,4152,4151,4308,4268,4094,4188,3848,3140,2799,2453,2267,2836,3266,2877,2304,2341,2548,2775,2965,3098,3297,3492,3972,4420,4488,4448,4240,3982,3841,3792,3979,4067,3933,3486,3137,2976,2853,3440,3883,3924,3790,4195,4583,4331,3498,3108,3252,2998,2808,2774,2667,2701,2824,2902,2939,3228,3327,3212,2912,2114,1998,2139,2014,2058,2188,2250,2030,1708,1705,1659,2172,3188,3400,3064,2331,1966,1698,1666,2105,2010,2121,2334,2170,1992,1830,1795,1801,1773,1782,1693,1676,1712,1464,1404,1519,1675,1624,2014,1968,2008,2059,1887,1886,1738,1769,2042,2502,2308,1931,2193,2238,2104,1907,1891,1928,2047,2556,2836,2512,2041,2783,2918,2313,2422,2110,2462,2729,2956,2917,2089,1708,2180,2466,2282,1851,1533,1511,1872,2985,3233,3630,3249,3001,3095,2801,2382,2204,2900,3470,3475,3001,2724,2540,2808,3267,2596,2018,2050,2099,2093,2089,1854,1522,1524,1472,1354,1736,3204,3666,3377,2507,2033,1949,1910,2223,2574,2512,2394,1929,1843,1678,1955,1833,2148,2008,1660,1868,2170,2199,2141,2387,2840,3002,3022,2792,2797,2666,2779,2744,2288,1892,1754,1724,2034,2000,1706,1698,1788,1710,1532,1751,2201,2698,2325,1641,1642,1795,1946,1887,1750,1762,1653,1810,2264,2952,2980,2932,3184,3384,3482,3363,3238,3479,3117,2241,2588,2886,1980,1619,1777,2135,2520,2141,2412,2934,2696,3029,3598,3830,3396,2654,2305,2120,2385,2703,2890,2853,2761,2646,2519,2493,2295,2192,2618,2988,2678,2836,2658,2519,2886,3190,3297,3619,3912,3739,3363,3043,2532,2194,2192,2842,3399,3098,2736,2332,1982,2158,2636,2595,2640,3119,3457,3371,2933,2266,2032,2237,2721,3239,3027,2781,2561,2373,2390,1933,1929,1868,2152,2492,2884,2751,2379,2423,3160,3411,2798,2383,3069,3186,2195,1915,2614,2637,1367,1346,1814,1945,1599,1588,1748,1645,1986,2798,3088,2535,2028,2231,2099,2100,2312,2371,2348,2264,2152,2141,2304,2492,2218,2156,2056,1907,1909,1694,1577,1597,1624,1767,1972,1945,1997,2292,2403,2526,2622,2669,2622,2675,2614,2482,2530,2499,2373,2414,2375,2271,2218,2260,2557,2464,2264,2224,2282,2269,2271,2216,2177,2220,2326,2216,2094,2194,2084,2100,2976,3294,3265,3243,3485,3404,3199,3427,3673,3727,4042,4349,4240,3898,3476,3001,2722,2479,2486,2699,2492,2423,2590,2511,2302,2052,1983,2356,2299,2034,1762,1746,1815,1778,1719,1779,2100,2351,2236,2169,2352,2554,2674,2883,2955,3001,2995,3083,3120,3062,2999,2965,3220,2987,2579,2447,2449,2333,2261,1856,1533,1701,2244,2639,2640,2458,2640,2812,3040,2795,3173,3438,3146,2400,2460,2689,2586,2504,2725,2945,2989,3112,3184,3615,3688,3525,3013,2341,2699,2687,2223,2598,2750,2523,2418,2744,2692,3055,2731,2403,2379,2066,1986,2305,2508,2862,2939,2740,2977,2932,2706,2876,2380,1833,1715,1645,1617,1700,1540,1453,1455,1412,1472,1508,1568,1668,1648,1610,1582,1653,1747,1836,1804,1646,1599,1823,2052,2120,2168,2774,3589,3423,3256,3100,3056,2540,2260,2190,2077,2512,2955],[3207,3223,3164,3139,3074,2846,2724,2629,2741,3034,2631,2687,2839,2789,2576,2450,2517,2850,2928,2657,2388,2614,3032,2971,2867,3149,2844,2917,2865,1963,1807,1864,1931,1804,1554,1824,2386,2484,2245,2147,2182,2718,2993,2296,2162,2590,2460,2342,2678,2156,2692,3769,3536,3762,3610,3218,3134,3436,3071,2755,2934,3151,2880,2833,3009,2800,2690,3228,3145,2135,2668,2545,2557,2986,2621,2518,2478,2353,2358,2266,2369,2569,2667,1935,1921,2302,2061,1813,2834,3460,3000,1964,1636,2510,3168,3307,3487,2695,2429,2413,2612,2684,2515,2501,2337,1907,1916,1795,1526,1707,1643,1640,1859,2004,2045,2001,1954,2171,2574,2157,1710,1989,2591,2552,2266,2381,1760,1898,2272,2050,1903,1877,2137,2691,2605,1981,1931,2043,1874,1715,1750,1722,1798,2075,2386,2412,2765,2920,2994,2853,2910,2988,2223,1852,1816,1913,1916,2438,2532,2125,2225,2453,2578,2565,2532,2675,2093,1779,2838,2869,2510,2263,3000,2824,2298,2319,2725,2824,2546,2662,3057,3339,3096,2885,3340,3561,3217,3438,3560,2810,2491,2458,2535,2778,2829,2730,3161,3333,2857,1990,2067,2207,2462,2812,2641,2233,2165,2158,2080,2056,2448,1806,1296,1049,1166,1880,2421,2478,2599,2561,3047,3607,3243,2555,3016,4321,4221,3100,2535,2765,2986,2986,2888,3351,4097,3957,3505,3009,2318,2243,2333,2170,2369,3317,3511,3360,3583,3670,3016,2901,3572,3660,4024,3674,2360,1884,1905,1688,2023,1835,1771,2132,1943,1627,1786,1671,1609,1940,1918,1815,1729,1748,1801,1765,2090,2410,2183,1954,2268,2110,2012,2091,1676,2111,1901,1818,1775,1752,2149,2387,2625,2740,2657,3141,2804,2871,2249,1862,2334,2275,1791,2185,2048,1943,1681,1813,2379,2562,2975,2589,1825,1628,1652,1369,1812,1943,1743,1428,1345,1366,1497,1466,1456,1593,1476,1373,1228,1239,1267,1188,1260,1285,1303,1423,1604,1848,1987,1815,1703,1765,1764,1760,1610,1648,1647,1559,1427,1348,1467,1416,1385,1560,1695,1719,2398,2461,2518,2703,2265,2022,2267,1869,1728,1845,1684,1780,1991,2032,2106,1738,1637,2042,1954,1994,2050,1842,1711,1550,1550,1837,1782,1621,1644,1502,1603,1775,1647,1683,1570,1764,1782,1622,1964,1726,1106,1100,1393,1478,1994,2301,1957,1751,2336,2679,2523,2476,2264,1882,1505,1671,2546,1889,1421,1279,1271,1272,1199,1614,1991,1610,1892,2117,1715,1899,1870,2120,2037,2030,2712,3300,3174,2554,1998,1947,2024,1741,1478,1324,1547,1624,1868,1938,1317,849,932,1137,1271,1411,1438,1548,1626,1958,1764,1643,1691,2308,1982,1527,1372,1251,1166,1083,1076,1238,1472,1466,1499,1549,1990,2518,2604,3257,3752,3803,3243,2351,2292,2546,2664,2850,2310,1793,2037,2235,2164,2113,1646,1580,1916,2075,2517,2855,2294,2086,1801,2529,3553,2634,2325,2426,1803,1961,2477,2803,2996,2533,1885,1771,1764,2126,2321,2518,2500,2832,3507,3912,3564,2910,2432,2223,1964,1787,2013,2348,2397,2189,1889,1792,1918,1764,1550,1522,1736,1881,1880,1661,1405,1459,1877,2063,1876,2107,1910,1881,1759,1670,1787,1620,1513,1374,1403,1660,2008,1534,1405,1443,1359,1420,1520,1663,1845,1821,1564,1678,1908,2112,2502,2043,2257,2580,2067,2342,2165,1655,1652,1494,1437,1531,1534,1405,1472,1463,1556,1876,1716,2078,2083,2254,2072,2032,2225,2168,2514,2197,1825,1816,1775,1832,1782,2245,2720,2504,1881,1615,1832,1857,1537,1526,1322,1540,1570,1757,1565,1875,1980,1587,1484,1631,1591,1550,1466,1300,1212,1370,1512,1773,2078,2172,2030,1772,1606,1814,1805,1984,2082,1597,1799,1554,1886,2154,2188,1791,1342,1443,1541,1673,1654,1838,2526,2510,1770,1695,1693,1541,1949,1994,2595,2577,2526,3046,2930,2479,2618,2331,2066,2350,2089,1469,1155,1589,1560,1531,1866,2389,2411,2377,2537,2347,2524,2415,2247,2304,1814,1302,1644,1654,1560,1904,1858,1714,1533,1579,1620,1736,1915,1841,1874,1907,1923,2310,2216,2480,2764,2341,2678,3006,2702,2655,2213,1735,1499,2099,3362,3206,2197,2038,2423,2732,2821,2403,2016,1692,1544,1400,1362,1443,1482,1404,1455,1701,1916,2018,1951,1975,2048,2114,2536,2287,3019,3628,3362,3160,3400,3378,3327,2861,2583,2545,2076,2554,2954,2732,2946,2918,2889,2966,3188,3320,3493,3477,3241,3283,3249,3371,3708,3751,3416,3164,2999,2981,2987,2702,2491,2558,2661,2640,2455,2564,2489,2644,2786,2957,3087,3097,2874,2796,2798,3005,3232,2678,2270,1891,1685,2004,2310,2655,2918,2809,2427,1882,1654,1803,2000,2004,1842,1717,1781,1499,1973,2092,2183,1955,1801,1907,1821,2031,2258,2416,2288,2031,1832,2252,2347,1866,1665,1799,1903,1682,1395,1701,1788,1544,1793,2128,1930,2901,3754,3909,2954,2025,1721,1853,2568,2511,2076,1930,1473,1545,1752,2001,2803,3568,3893,4082,3928,3547,3253,3119,3183,3421,3785,4035,4103,4114,4188,4095,2955,2241,3138,3898,4090,4004,3937,4257,4256,4208,4328,4140,4028,4022,4211,4280,4397,4569,4677,4616,4396,4632,4705,4276,4530,4945,4916,4875,4904,5001,4908,4504,4333,4351,4409,4080,3507,3830,4019,4168,4296,3655,3250,2965,2589,2348,2290,2282,2081,1963,1735,1567,2765,3493,4126,4199,4415,4323,4222,4252,4285,3672,2911,3144,3376,3256,3274,3190,3335,3952,3952,3794,3592,3227,3117,3396,3648,3691,3580,3481,3419,3254,2955,3036,3652,4132,3986,3564,3618,3843,3673,3365,3347,3413,3594,3672,3604,3749,3965,3897,3693,3460,3244,3153,3151,2568,1998,1936,1845,1905,1958,2109,2768,3052,3451,3641,3688,3462,3362,3537,3623,3806,3901,3678,3785,3832,3567,3172,2495,2047,1866,1820,1932,2202,2274,1988,1728,1693,1514,1523,1743,1881,1594,1461,1768,1818,1563,1506,1619,1960,1780,1790,2021,1759,1498,1548,1485,1448,1483,1576,1524,1390,1485,1560,1549,1679,1631,1309,1439,1774,1843,1619,1570,1715,1615,1665,1642,1902,2520,2490,2312,2754,2502,2608,2606,2214,2656,3008,2734,2289,1860,1837,1774,1560,1523,1603,1667,1824,1560,1566,1522,1504,1447,1550,1736,1849,1737,1982,2436,2049,1810,2078,2440,2280,1799,2208,2452,2206,1976,1801,2132,2977,2599,1945,1835,1453,1693,2062,1914,1709,2188,2911,2387,1570,1595,1751,1487,1586,1600,1766,1960,1641,1454,1789,1774,1752,1656,1667,2105,1658,1496,1427,1921,1774,1816,1955,2024,1932,2255,2392,2279,2312,2146,1834,1975,1924,2091,1954,1663,1681,1953,2283,2539,2751,2746,2636,2746,2623,2480,2342,2097,2241,2363,1969,1858,2159,2221,2275,2548,2856,2495,1749,1958,2634,3374,3179,3331,3426,4035,3750,3204,3441,3912,4123,3879,3718,3938,3808,3532,2885,2696,2480,2353,2583,2709,2492,2340,2406,2705,2995,3099,3108,3105,3684,4342,4608,4497,4228,3936,3585,3586,3946,4052,4095,3496,2993,3091,2529,3305,3709,3564,3538,3979,4396,4308,3640,3012,3235,3216,3460,3304,2968,2974,3539,3449,3568,3772,3505,3394,2943,1997,1988,1981,1990,2164,2131,2459,2217,2153,2137,1911,2710,3791,3929,3242,2000,1793,1587,1600,1911,1950,1880,1803,1670,1699,1713,1801,1791,1931,1981,1740,1760,2089,1689,1480,1710,1600,1625,1867,1923,2230,2202,1791,1623,1711,2281,2157,2249,2270,1912,2207,2279,2082,2154,2122,1747,1659,2345,3099,3034,2653,3423,3447,2731,2291,1929,2444,2720,2840,2854,2111,1577,2020,2250,2041,2073,1918,1842,2150,3143,3611,3782,3648,3457,2844,2463,3052,3156,3399,3337,3293,3364,3043,3000,3301,3415,2866,2225,1931,1989,2214,2361,2137,1465,1361,1554,1893,2412,3396,3580,3203,2806,2475,2407,2686,2872,2349,2579,2813,2157,1991,1847,2380,2112,1848,1862,1867,2130,1969,2144,2269,3418,3384,2929,2596,2489,2728,3156,3420,3009,2281,1983,1776,1498,1671,1717,1755,1826,2487,2386,1722,1855,2554,2951,2272,1609,1444,1722,2279,2141,2072,2094,1798,1840,2421,3055,2998,2900,3205,3447,3395,3439,3397,3344,3229,2991,3371,3533,2526,1837,1742,1983,2608,2862,2456,2245,2360,3084,3343,3398,3274,2917,2420,1990,2283,2894,2912,2822,2665,2565,2522,2481,2379,2506,2908,3190,2912,2925,2875,2569,2318,2609,3145,3598,3790,3775,3487,2943,2321,2185,2138,2636,2958,2857,2413,1801,1754,2237,2752,2990,2980,3504,3500,3410,3340,2632,2012,1732,2080,2964,3311,3130,2513,2456,3271,2869,2129,1928,2605,2344,1885,2301,2384,1999,2027,2339,2362,2265,3377,3782,2536,1906,2496,2608,1795,1764,2168,1926,1558,1415,2191,2573,2465,2596,2672,2228,2093,2605,2425,2039,2072,2392,2421,2382,2552,2164,2002,2289,2425,2370,2438,2811,2650,2470,2318,1930,1735,1654,1527,1475,1591,1597,1627,1759,1808,1832,1975,2156,2198,2304,2460,2403,2305,2306,2129,2006,2150,2481,2522,2310,2210,2357,2450,2424,2368,2113,1900,2104,2438,2403,2351,2592,2720,2564,2885,3030,3050,2983,2923,2829,2946,3046,3107,3096,3084,3045,3012,2822,2464,2135,1923,1809,1793,1830,1776,1624,1570,1497,1536,1597,1581,1563,1465,1509,1589,1647,1628,1537,1565,1670,1681,1521,1488,1553,1615,1476,1560,1742,1727,1950,2217,2342,2654,2958,2897,2966,3053,2783,2232,2334,2640,2681,2626,2155,1747,1917,2605,3109,3221,2540,2570,2788,2602,2896,3344,3065,2853,2851,2521,2092,2120,2487,2821,2722,2395,2695,3017,3270,3475,3415,3016,2431,2334,2587,2734,2910,2269,2007,2423,2509,2742,2830,2581,3255,3218,2337,2088,2062,2369,2638,2039,2246,2668,3177,3050,3279,3172,3003,2343,1807,1737,1493,1553,1643,1763,1644,1550,1641,1557,1528,1525,1524,1569,1662,1710,1690,1617,1508,1510,1734,1922,2203,2610,3306,4031,3660,3220,3375,3573,2910,2374,2408,2458,2461,3024],[3285,3271,3083,2951,2934,3065,3068,2787,3309,3407,2834,2808,3159,3083,2728,2580,2756,2780,2577,2481,2386,2733,3204,3162,3185,3142,2809,3110,2611,1829,1968,2271,2192,1696,1368,1592,2866,3418,3027,2421,1706,2222,2832,2430,2166,2342,2462,2769,2803,2091,2844,3017,3012,3253,3222,3240,3270,3588,3420,2865,2985,3140,2634,2856,3322,3220,2777,2820,2890,2429,2238,2103,2055,2242,2511,2613,2388,2164,2091,1997,1982,1866,1820,1600,1825,1841,1673,1879,2205,2994,3498,2174,1278,1998,2751,2590,2259,2334,2756,2580,2353,2084,1890,2164,2266,2154,2060,1798,1374,1330,1820,1905,2050,2163,2042,1836,2056,2372,1930,1065,1293,2110,2098,1830,2155,2066,1188,1341,1461,1628,2222,2544,2386,2518,2644,2305,1969,2128,1848,2076,1998,1652,1632,1952,2402,2699,2985,3002,2665,2696,2699,2763,2345,2358,2160,1626,1621,2462,2390,2113,2261,2532,2699,2477,2548,2834,2165,2386,2823,2758,2710,2841,3448,2545,1830,2437,2718,2412,2365,2298,2509,2962,2876,2954,3342,3586,3278,3440,3131,2519,2464,2614,2498,2610,2247,2146,3032,3727,2995,2266,1983,1936,2054,2496,2430,2229,2025,1829,2159,2194,2367,1841,1176,1476,2192,2383,2533,2732,2501,2370,2735,3221,3327,2717,2698,3516,3275,3087,2565,2861,3064,2950,2746,2979,3635,3349,3364,3802,3125,2596,2622,2558,3024,3798,3660,3248,3328,3392,2913,2953,3591,3266,2820,2586,1852,1731,1935,1902,2013,1969,2009,2395,2137,1645,1779,1814,2020,1865,1717,1865,1673,1664,1738,1817,2057,2298,2107,1913,1959,1987,1882,1951,1914,1899,1864,1686,1497,1569,2220,2950,3226,3283,3106,2677,2541,3627,2768,2092,2031,1608,1432,1797,2180,2193,1876,2463,2746,2309,2650,2375,2226,1741,1559,1597,1703,1830,1680,1399,1289,1410,1456,1320,1337,1477,1374,1275,1334,1339,1253,1264,1268,1257,1376,1305,1479,1576,1520,1493,1709,1787,1791,1807,1764,1768,1763,1849,1793,1648,1704,1513,1299,1720,2183,2316,2454,2049,2009,2730,2142,1601,1801,1604,1870,2314,2245,2058,2467,2100,1962,1925,2074,2145,1819,1742,1954,1845,1726,1553,1535,1837,1807,1510,1462,1544,1572,1501,1855,2065,1651,1890,1866,2093,2114,1718,1341,1046,1172,1370,1620,2110,1924,1697,2279,2319,2149,1897,1594,1824,1934,2204,2430,1815,1510,1415,1385,1252,1007,1479,2111,1664,1723,1953,1835,2359,1793,1695,1648,1807,2288,2741,2565,2322,2522,2550,2152,1775,1383,1442,1810,1539,1601,1591,1113,880,867,963,1414,1596,1532,1555,1742,1561,1352,1675,1896,1698,1676,1915,1670,1331,1048,971,1050,1243,1628,1701,1488,1619,2092,2267,2128,2468,3200,3781,3396,2468,1909,2116,2204,2599,2098,1995,2017,2024,2146,1910,1825,1996,2233,2541,2900,2806,2762,2226,1434,1908,2338,1914,2186,2062,1688,1903,1862,1891,2353,2426,2343,2104,2195,2337,2566,2677,2656,2984,3181,3574,3574,2849,3193,2613,1946,1930,2574,2419,2425,2191,1896,1754,1717,1753,1732,1660,1826,1642,1900,1688,1680,1523,1746,1826,1908,1927,1779,1788,1737,2191,2675,1926,2011,1884,1622,2460,2597,1710,1407,1492,1487,1512,1578,1512,1678,1688,1516,1817,2465,2177,2095,2187,2569,2553,2298,2414,2339,2181,1878,1640,1521,1488,1542,1439,1385,1537,1785,2135,1861,1916,2136,1881,1841,2046,1882,2001,1728,1654,1860,1933,2003,2379,2677,2614,2622,2500,1954,1591,1937,1906,1404,1309,1461,1608,1884,1946,1739,1722,1570,1466,1472,1710,1518,1400,1396,1444,1418,1753,1848,1920,2050,1977,2166,2119,1763,2446,2652,2735,2990,2012,1680,1715,1804,1929,1980,1822,1847,1888,1744,1823,1822,1929,2301,2096,1866,1667,1559,1651,1531,1892,2764,2570,2258,2444,2248,2228,2247,2433,2359,1739,1491,1351,1432,1423,1323,1375,1536,2055,2549,2281,2010,1927,2430,2402,2340,1958,1173,1115,1613,1413,1086,1616,1893,1670,1484,1459,1554,1638,1881,1764,1871,1916,1687,1620,1737,2214,2598,2192,2178,1856,1970,2296,2076,1590,1528,2530,3636,3514,2763,2463,2609,2858,2680,2235,2004,1777,1497,1296,1467,1605,1594,1405,1464,1970,1955,1939,1892,2183,2487,2399,2171,2423,3150,3222,3165,3414,3647,3628,3599,3240,3460,3639,2968,2453,2416,3096,3352,3040,3010,3016,2986,3223,3386,3410,3110,3018,3062,3222,3572,3702,3426,2998,2940,2928,2645,2512,2655,2806,2923,2890,2763,3018,3133,2836,2909,3156,3120,2998,2903,2723,2576,2564,2867,2661,2824,2449,2371,2360,2176,2198,2422,2798,2568,1979,1778,1975,2150,2152,1852,1748,1697,1554,2042,2419,2524,2141,2011,1875,1838,2312,2323,2334,2196,2352,2480,2967,2930,2508,2508,2380,1950,1942,2202,2208,2178,2398,2366,1948,1642,2301,3284,3793,3308,2822,2589,2624,2755,2331,1836,1301,1298,1795,2026,2275,2978,3686,4100,4028,3741,3551,3298,3219,3127,3468,4096,4384,4268,4026,3564,2842,1836,1463,2430,3738,4219,4395,4284,4227,4229,4081,4307,4278,4328,4488,4516,4423,4596,4485,4344,4588,4565,4570,4599,4419,4595,4807,4892,4919,4964,5049,4848,4335,4092,4111,4408,4469,4228,4256,3707,3791,4308,3472,2758,2444,2132,1878,1653,1863,2185,2232,2106,2124,2877,4007,4780,4797,4729,4496,4389,4285,3872,3126,2730,2555,2853,3240,3244,3088,3298,3758,3808,3817,3895,3591,3322,3581,3640,3666,3661,3407,3551,3608,3530,3761,3736,3769,3956,4030,4081,4006,3648,3452,3542,3528,3806,3839,3950,3814,3717,3565,3242,3243,3266,3216,2754,2175,2276,2016,1902,1904,1874,1848,2329,2878,3272,3481,3527,3248,3295,3528,3524,3772,4004,3845,3632,3486,3119,2448,2066,1919,1766,1842,1960,2095,2170,2121,2436,2093,1626,1630,1776,1633,1335,1403,1670,1552,1396,1393,1458,1970,1764,1957,2182,1825,1679,1688,1578,1477,1519,1449,1440,1448,1428,1453,1593,1787,1560,1217,1572,2098,2236,1732,1534,1648,1652,1641,1631,2269,2643,2591,2420,2325,2102,1915,1875,1998,2571,2846,2280,1791,1540,1694,1960,1681,1511,1887,1952,1660,1555,1802,1676,1549,1636,1735,2018,1952,1921,1943,1578,1521,1653,1731,2033,1869,1774,2457,2517,1991,1829,1884,2439,2873,2390,2301,2007,1679,1940,1907,1858,1835,1848,1961,2010,1902,1778,2009,1700,1551,1657,1521,1570,1571,1664,1774,1497,1573,1598,1579,1686,1531,1461,1794,2082,1944,1945,1919,1663,1760,2071,2286,2589,2257,2300,2235,1952,2018,2097,1959,1749,1884,2225,2410,2496,2399,2234,2462,2626,2005,1843,2120,2150,2192,2193,1710,1663,1822,1965,2235,2446,2422,1864,1587,1591,1844,2106,2428,2574,2822,3579,3726,3522,3894,4208,4253,4252,3781,3630,3593,3419,3332,3361,2730,2222,2423,2800,2972,2811,2929,2656,2775,3119,2929,2956,3763,4355,4451,4400,4153,3632,3413,3602,3828,4035,4038,3228,2138,2031,2103,2807,3279,3288,3132,3309,3550,3639,3317,2633,2931,3052,3303,3552,3322,2872,3111,3606,3881,3971,3813,3170,2281,1957,2010,1952,1835,1954,2046,2216,2292,2166,2036,2326,3129,3749,3499,2691,1803,1627,1932,2049,1950,1842,1742,1641,1809,1893,1962,2088,1998,1852,1721,1725,1815,2239,1903,1562,1646,1596,1827,2165,2077,2077,2096,1621,1303,1562,2258,1983,1734,1886,1797,2032,2032,1802,1800,1782,1448,1280,2018,2980,3266,3137,3890,3828,3153,2545,2319,2434,2685,3204,3160,2866,2292,2484,2784,2438,2854,2722,2648,2958,3269,3558,3743,3738,3484,3174,2917,3009,3200,3422,3220,3513,3902,3474,3042,3112,3119,3044,2721,2156,2125,2468,2819,2658,2302,2510,3100,3628,3938,3885,3377,2949,2268,2357,2532,2621,2779,2658,2899,2952,2478,2051,1949,2247,2248,1786,1810,1896,2542,1729,1981,3151,4090,3420,2610,2863,2911,2822,3040,3041,2163,1828,1722,1700,1538,1626,1691,1626,1916,3082,2712,1908,2071,2386,2553,2099,1708,1503,1875,2321,2405,2596,2404,1804,1631,2073,2664,2768,2673,3081,3417,3552,3374,2850,2749,3045,3119,3260,3491,2823,2321,2364,1963,2194,2958,2619,2575,2640,2739,2957,3028,2899,2545,2278,1993,1861,2238,2478,2469,2533,2553,2530,2591,2626,2755,3198,3288,3008,2797,2723,2635,2332,2732,3251,3520,3607,3587,3680,3227,2449,2336,2552,2737,2737,2678,2448,1782,1700,2509,2737,2859,2966,3205,2984,2845,3041,2614,2067,2110,2003,2612,2963,2844,2939,2140,2617,2901,2226,2315,2350,2161,2268,2533,2299,1966,1964,2260,2352,2489,3309,3252,2496,2578,2851,2419,1965,1893,2162,2412,1969,2120,3210,3196,2676,2697,2417,2250,2654,2807,2846,2797,2294,1991,2746,2865,3034,2580,2602,3147,3138,2723,2695,2667,2596,2774,2597,2580,2725,2259,2304,2240,1898,1772,1788,1679,1598,1655,1587,1515,1574,1629,1578,1616,1739,1714,1721,1792,1851,1902,1930,2138,2192,2058,2083,2196,2142,1869,1642,1653,2018,2235,2128,2034,1966,2030,2078,2020,2020,1904,1852,1808,1839,1721,1652,1698,1756,1762,1719,1578,1567,1649,1740,1748,1642,1653,1664,1791,1936,1939,1909,1864,1936,2139,2206,2059,1858,1963,2062,2081,2040,2078,1942,1763,1749,1848,1780,1739,1804,1641,1583,1556,1487,1530,1615,1720,2078,2318,2517,2731,2736,2763,2570,2385,2264,2223,2210,2552,3097,3078,3201,2739,2400,2590,2830,3061,3087,2945,3329,3394,2410,1991,2061,1907,2282,2076,2370,2994,3023,3284,3587,3212,2686,2238,1715,1726,1643,1886,2201,2699,3500,3721,3032,2446,2253,2840,3278,2427,2172,2307,2376,2075,2010,2393,2717,3208,3428,3499,3592,3372,2614,1950,1957,1770,1760,2037,2329,2189,2150,2056,1684,1487,1460,1465,1587,1698,1642,1554,1450,1421,1450,1655,1795,2144,2764,3455,3852,3874,3561,3375,3436,3388,2566,2422,2630,2284,2244],[3152,3241,3459,3206,2887,2866,2953,3176,3370,3276,2990,2749,3126,3109,2624,2713,2938,2822,2414,2600,2776,2920,3030,3013,2874,2647,2788,3277,2827,1995,2219,2571,2355,1769,1434,1762,3207,3762,3627,2802,1892,1934,2271,2555,2574,2475,2785,2744,2603,1983,2533,2858,3325,3596,3389,3334,3210,3598,3847,2967,2696,2707,2341,2755,3340,3141,2789,3116,3183,2576,2100,2391,2762,2367,2208,2158,1868,2104,2088,1750,1609,1458,1829,1941,1920,1853,1750,1842,2084,2885,3127,2130,1845,1907,1902,1786,1880,2218,2438,2294,1865,1744,1806,2020,1967,1987,2027,1774,1670,2296,2224,2008,1879,1694,1638,1816,2075,2296,2322,1526,2040,2504,2002,1930,2365,1791,1394,1653,1709,1753,1844,2065,2303,2335,2229,2250,1777,1796,1905,2310,2185,1730,1632,1590,1965,3033,3481,3466,3008,2773,3273,3463,3093,3042,2648,1923,1808,2355,2328,2069,2414,2698,2763,2597,2692,2669,2659,2930,3044,2977,2777,2874,2971,2613,2299,2823,2973,2788,2153,1950,2480,2905,3228,3416,3717,3650,3383,3155,3017,2798,2903,3185,2928,2679,2565,2079,2176,2664,2864,2712,2452,2298,2632,2757,2267,2653,2398,2162,2511,2321,1876,1430,1527,2344,2770,2603,2819,2777,2602,2363,2993,3159,3483,3329,3245,3097,3377,3193,2866,3113,3130,3017,2979,3078,3483,3185,3341,3610,2779,2603,2983,3304,3621,3760,3570,3317,3207,3446,3332,3369,3340,2706,2178,1889,1860,1744,1597,1557,2213,3134,2936,2736,2227,2055,2561,2546,1978,1531,1767,1867,1507,1360,1520,1670,1784,2324,2326,2092,1727,1938,1664,1519,1657,1731,1990,1822,1874,1903,1798,2561,2944,2742,2317,1706,2171,3120,2641,2086,1687,1574,1581,1743,2011,1814,1842,2452,3068,2994,2715,2473,2467,1718,1395,1438,1476,1506,1409,1337,1310,1448,1382,1367,1334,1381,1310,1280,1448,1525,1372,1315,1347,1460,1636,1531,1634,1570,1804,1810,1678,1553,1518,1598,1675,1793,1928,1949,1815,1850,1776,1856,1773,1992,2084,2201,2243,1924,2414,3070,2363,1622,1754,1987,2243,2637,2455,2586,2636,2071,1831,2044,2094,1902,1771,2055,2145,1958,1880,1747,1758,1897,1765,1499,1465,1563,1598,1620,1956,2309,2117,1919,1882,2156,1901,1723,1435,1082,1142,1408,1843,2130,1826,1710,1873,1587,1811,1856,1847,1977,1862,1709,1640,1479,1345,1262,1118,1063,985,1253,1813,1503,1317,1599,1758,1995,1599,1308,1742,2086,2137,2244,1923,2198,2757,2431,2229,1829,1513,1611,1908,1736,1366,1154,979,979,912,1101,1273,1342,1477,1672,1672,1286,1281,1739,1941,1776,1881,1807,1890,2190,1461,1131,1029,1194,1511,1382,1495,2151,2359,2428,2564,2438,2709,2734,2863,3305,2170,1754,2025,2460,2409,2208,1873,1825,1672,1577,2329,2647,2763,3189,3343,2701,1968,1703,1670,1826,1832,2003,2402,2171,1843,2127,2072,1728,1761,2209,2509,1990,2000,2076,2614,2822,2756,3028,3276,3201,3228,3166,3582,3373,2445,1970,1744,2139,2688,2303,1803,1633,1616,1643,1985,1999,1818,1391,1755,1790,1820,1583,1696,1709,1706,1812,1711,1993,2055,2596,2640,2245,2287,2157,2218,3411,3217,1921,1395,1665,1932,1557,1534,1481,1771,1641,1722,2432,3086,2730,2518,2732,2506,2434,2663,2592,1945,1822,1549,1535,1519,1579,1543,1443,1413,1957,2471,2124,1748,1935,2084,1772,1896,1843,1615,2215,2205,1863,1834,2207,2831,3351,3397,3311,2655,2348,2325,1894,2150,2052,1622,1587,1701,1628,1717,1549,1896,2113,1874,1634,1483,1892,1727,1373,1456,1722,1576,1558,1650,1885,2430,2475,2339,1875,1713,2704,2999,3100,3252,2753,2184,1934,1983,2159,2084,1981,2022,1992,1739,1860,1877,2000,1781,1923,1884,1611,1794,2057,1787,1611,1961,1895,1704,1829,2304,2980,2193,1919,1763,1554,1479,1501,1625,1500,1568,1541,1385,2403,2860,2207,1921,2123,2336,2249,2211,1831,1116,851,994,1029,987,1189,1605,1631,1595,1626,2002,2002,1848,1545,1414,1594,1500,1582,1583,1994,2482,2389,1996,1808,1853,2122,2121,1698,1882,2487,3123,3452,3254,2773,2362,2844,2859,2685,2405,2037,1558,1609,1774,1502,1419,1538,1821,2328,2092,2002,1983,1909,2201,2385,2293,2393,2648,2590,2731,3156,3360,3388,3460,3494,3382,3530,3404,2870,2943,3386,3244,3174,3272,2883,2923,3098,3196,3186,3030,2908,2900,3010,3327,3701,3482,2878,2806,2814,2573,2518,2814,2941,2916,2977,2899,3068,3210,3077,3018,3110,2940,2653,2708,2484,2297,2454,3052,3409,3473,3074,2800,2208,1827,1996,2118,2551,2652,2231,1945,2003,2100,1935,1708,1615,2021,2025,1654,2008,2620,3107,3099,2047,1930,2563,2664,2292,2263,2604,2630,2787,3012,2667,2645,2638,2656,2873,2902,2226,2664,3594,3205,2049,1593,1848,2900,3854,3672,3097,2761,2522,2070,1839,1743,1734,1896,2703,3041,2574,2508,3008,3730,3764,3708,3352,3131,3228,3241,3374,3880,4153,3962,3208,2937,3028,2249,1640,2431,3630,4388,4451,4195,3739,3366,3058,3475,4037,4332,4425,4168,4275,4701,4452,4111,4516,4552,4703,4773,4797,4749,4675,4823,4802,4731,4848,4755,4495,4220,4167,4220,4336,4276,4004,3616,3481,3567,2946,2343,2095,1815,1728,1930,2466,2613,2384,2083,2037,2302,3509,4476,4523,4011,3973,3984,3838,3584,3447,3153,2473,3098,3221,3140,3186,3631,3859,3942,4140,4172,4003,3559,3479,3406,3460,3698,3584,3564,3662,3561,3607,3698,3720,3807,3865,3706,3398,3374,3531,3430,3692,3842,3918,4020,3666,3340,2835,2579,3143,3384,2918,2081,1905,2003,1949,1889,1852,1870,1734,1979,2651,3049,3255,3405,3150,3135,3406,3754,3820,3825,3435,3111,3033,2548,2045,1806,1723,1941,1830,1837,2025,2130,2208,2417,1839,1657,1853,1891,1695,1572,1542,1753,1544,1406,1419,1376,1644,1535,1760,1836,1910,1864,1634,1359,1101,1338,1365,1400,1467,1445,1747,1914,2046,1713,1386,1595,2011,2099,1692,1634,1533,1430,1349,1860,2939,2684,2474,2489,2472,2354,2049,1987,2079,1986,1893,1715,1621,1672,1866,2194,2042,1907,2164,1982,1856,2142,2077,1816,1814,2077,1868,2082,1842,1697,1571,1615,1775,1720,1622,1813,2109,2116,2359,1961,1600,1445,1605,2549,2810,2649,3128,2686,2170,1932,1790,2107,1974,1810,1740,1916,2447,2072,1785,1520,1643,1865,1609,1570,1644,1766,1501,1325,1579,1464,1772,1749,1718,1715,1827,1692,1713,1989,1910,1530,1479,1593,2106,2397,1803,1823,1901,1699,1779,1928,1881,1698,1937,2009,1954,1918,1632,2095,2850,3020,2029,1772,2062,1804,2103,2335,1720,1622,1885,2596,2618,2127,1854,1536,1447,1433,1476,1735,2010,2281,3144,3592,3452,4034,4245,4263,4116,4142,3536,3565,3886,3552,3515,3471,3007,2603,2872,3210,3430,3101,2686,2341,2395,3065,3472,3851,4229,4285,4107,4179,4192,3520,3187,3348,3560,3912,4157,3622,2768,2540,2598,2656,2969,3006,2803,2769,2691,2520,2404,2690,2712,2858,3097,3522,3396,2727,3062,3763,3767,3858,3516,2478,2071,2089,2069,1998,1833,1954,2088,1971,1821,1785,1761,2256,2619,2523,2351,1857,1851,1780,1804,1886,1828,1843,1840,1850,1999,1974,1822,1885,1903,1684,1696,1903,1816,1903,1765,1576,1608,1683,2011,2553,2159,1663,1897,1761,1435,1739,2023,1696,1417,1669,2047,2113,2111,2071,1739,1596,1658,1388,1944,2865,2929,2617,3779,4453,3587,2896,2597,2497,2867,3270,3064,3276,3051,2847,2953,3052,2812,2879,3740,3768,3413,3510,3484,3250,2900,3145,2673,2877,3252,3260,3067,3225,3481,3462,3326,3044,3071,3506,3559,3175,3059,3273,3551,3648,3630,3795,3896,3867,4145,3870,3008,2508,1938,2200,2018,2285,2573,2873,2863,2831,2568,2204,2225,2321,2615,2214,2120,1801,1780,1683,2669,3583,3694,3395,3176,3156,2666,2648,2278,2187,1831,1788,1538,1698,1636,1824,2127,2192,2233,2265,1957,1965,2046,1825,1927,1986,1575,1369,1718,2461,2668,2512,2330,1995,1497,1680,2438,2792,2746,2868,2830,3074,3010,2802,2529,2869,2778,2532,2819,2318,1936,2357,2121,1930,2350,2670,2974,2610,2543,2721,2861,2973,2447,1947,1924,1949,2122,2545,2530,2344,2051,2229,2387,2653,3030,3079,2823,2608,2750,2707,2624,2505,3041,3528,3598,3719,3702,3768,3569,3021,2620,2735,3130,2384,2047,2542,2043,1694,2806,2737,2838,2946,2755,2579,2621,2625,2258,2040,2176,2003,2170,2108,2113,2455,1951,2403,2498,2130,2027,1782,2218,2578,2303,1924,1855,1769,1946,2370,2777,3299,3211,2556,2489,2169,1127,1309,1808,1913,1941,2646,3150,3540,3340,3031,2778,2327,2323,2324,2201,2558,2868,2303,2209,2988,3120,2920,2823,3351,3750,3386,2938,3031,3112,2779,2797,2831,2464,2426,2394,2485,2439,2406,2354,2368,2420,2382,2554,2526,2412,2155,1929,1799,1797,1688,1538,1606,1609,1489,1441,1548,1593,1511,1448,1550,1683,1559,1524,1499,1489,1546,1528,1526,1571,1599,1570,1517,1505,1572,1593,1607,1567,1521,1585,1689,1716,1665,1695,1831,2011,2221,2438,2358,2135,2304,2746,2961,2999,2833,2755,2762,2863,3000,3198,3163,2736,2390,2610,2543,2515,2569,2537,2381,2353,2264,1940,1764,1786,1780,1616,1635,1672,1717,1776,1672,1683,1555,1474,1688,1804,2096,2426,2649,2736,2818,2919,2788,3040,3116,3104,3188,3000,2588,2332,2754,3314,3189,2623,2909,3004,2084,1865,1992,2201,2615,2188,2559,3266,3400,3507,3292,2454,1908,1643,1942,1769,1758,2121,2500,2883,3053,2844,2428,2182,2182,2516,2789,2424,2430,2850,2534,2212,2292,2435,2945,3500,3774,3574,3436,3349,3172,2244,2426,2366,2195,2605,2741,2189,1734,1632,1475,1405,1449,1429,1577,1667,1598,1545,1484,1502,1532,1617,1682,1990,2668,3216,3436,3681,3663,3421,3262,2990,1884,2344,2556,2141,1953],[3227,3288,3341,3061,3017,3075,3007,2902,2810,3021,2997,2832,2962,2952,2624,2577,2690,2663,2498,2585,2759,2867,2986,2925,2632,2612,2862,3146,2680,2133,2205,2366,2008,1786,1562,2585,3274,3064,3060,2534,1645,1811,2396,3156,2986,2577,2802,2732,2220,1631,2520,3183,3632,3686,3508,3033,2632,3472,3435,2642,2562,2729,2845,3118,3305,3031,2818,3066,2602,1753,1864,2298,2376,2328,2264,1930,1592,1806,1922,1564,1604,2082,2442,2226,1791,1637,1734,2208,2664,3142,3100,1889,1749,1658,1761,2057,2305,1904,1662,1841,1680,1763,1826,1744,1620,1713,2001,1942,2072,2090,1861,1783,1651,1676,1755,1678,1602,2030,2405,1931,2420,2135,2256,2221,1954,1804,1849,1824,1998,1968,1655,1771,1892,1768,1898,2197,2566,2219,2254,2624,2292,1778,1541,1433,1543,2463,2984,3140,3086,2886,3090,3046,2729,2400,2072,1785,2072,2493,2132,2001,2600,2908,2860,2829,2879,2846,2820,2877,3031,2937,2906,2587,2346,2791,2909,3019,3151,3595,3382,3037,2784,3029,3420,3472,3603,3513,3188,2966,2799,2616,2920,3046,3019,2976,2655,2199,2181,2519,2864,2730,2841,2335,2640,2397,2202,2643,2545,2498,2842,2166,1506,2026,2452,2488,2462,2626,3160,2898,3210,3044,3498,3720,3376,3474,3444,3288,3492,3175,2714,2742,3360,3294,3190,2844,2956,3304,3752,3385,2944,3215,3801,4323,4094,3779,3752,4152,3452,3264,3389,3142,2480,1879,1654,1697,1786,1700,2004,2328,3305,4612,3284,2129,1709,2219,3306,3174,2107,1404,1602,1550,1438,1494,1576,1676,1822,2063,1858,1794,1650,1647,1870,1867,1566,1701,1817,1703,2306,2255,1606,1914,2018,1786,1571,1541,2338,2619,2447,2397,1941,1758,1546,1686,1771,1736,1656,2253,3143,3028,2258,1997,1864,1566,1265,1454,1441,1267,1538,1462,1598,1660,1446,1346,1322,1390,1504,1454,1410,1431,1396,1410,1472,1609,1715,2239,1856,1621,1934,1734,1406,1338,1453,1425,1474,1761,1952,1877,1958,2030,1962,1946,1922,1849,1758,1996,2325,2548,2896,3111,2634,1819,1584,1970,2200,2710,2924,2585,2215,2058,2072,2062,1801,1819,1978,1916,1747,1740,1838,1843,1910,1791,1771,1788,1627,1645,1611,1764,1810,1853,2076,1788,1789,2039,1938,1708,1409,1182,1269,1482,1762,1834,1789,1648,1694,1720,1670,2155,2033,1526,1440,1456,1466,1293,1222,1151,1251,1288,1140,1449,1772,1493,1554,1839,1814,1432,1425,1838,1673,1678,1662,1742,2258,2823,2690,2452,2206,2007,1791,1594,1763,1682,1295,1050,1002,949,773,959,954,1183,1461,1642,1420,1330,1589,2052,2063,1616,1669,1681,2098,2172,1563,1326,1236,1331,1419,1484,2071,2551,2312,2352,2765,2744,2329,2157,2703,3787,2986,2160,1859,1947,2208,1935,1677,1937,1992,1922,2842,3043,3086,2939,3039,2729,2352,1755,1548,1573,1605,1985,2293,2212,2337,2430,3098,2888,2364,2864,3024,2576,2172,1936,2307,2586,2727,3054,3041,2015,2757,3858,4100,3913,2856,1881,1273,1489,2103,2180,2179,1800,1505,1685,2139,2048,1900,1541,1450,1728,1648,1349,1487,1646,1870,1943,1636,1935,2296,2442,2214,2331,2266,1957,2424,3325,2821,1554,1304,2024,2340,1611,1837,2019,2857,2663,2372,2850,2946,2548,2580,2781,2558,2496,2524,2500,2080,1864,1706,1597,1642,1562,1440,1558,1514,1748,1974,1748,1600,1810,2120,2283,2404,2186,1908,2326,2422,2048,1854,1989,2535,3347,3261,3095,2963,3042,2644,2154,2236,1955,1622,1960,1848,1837,2022,1820,2065,2122,1726,1595,1540,1715,1520,1412,1569,1719,1674,1649,1697,1923,2380,2201,1760,1529,1798,2604,2762,2761,3066,2862,2500,2251,2402,2784,2395,1826,1660,1803,1657,1714,1902,1824,1617,1659,1534,1605,1831,2138,2057,1733,2474,2274,1814,1597,1968,2717,2416,2359,2283,1902,1556,1508,1800,1556,1687,2077,2144,2170,2261,2295,2054,2033,2288,2281,2062,1885,1795,1578,1223,867,1221,1223,1263,1541,1566,1504,1413,1663,1929,1760,1641,1744,1785,1911,2124,1991,2091,2061,2204,2330,2086,2160,1834,1585,2030,2402,3063,3122,2734,1958,2071,2746,2876,2448,2110,1858,1649,1872,1698,1774,1594,1570,2087,2424,1960,1723,1564,1542,1620,1904,2548,2601,2380,2567,2525,2641,2806,2587,3132,3698,3726,3586,3342,3196,3186,3271,3394,3387,3253,2951,3009,2950,3020,2955,2908,2938,2942,2988,3196,3477,3658,3306,3076,3013,2796,2533,2714,2793,2774,2733,2669,2705,2974,3172,2937,3001,2923,2548,2602,2552,2720,3129,3372,3453,3254,2848,2541,2194,1926,2059,2040,2412,2673,2215,1841,1849,1927,1742,1532,1606,2066,1936,1741,1805,2075,2867,3265,2182,2215,2684,2876,2757,2764,2953,2687,2481,2699,2883,3108,2731,3162,3155,2939,3016,3128,3727,3327,2358,1991,1794,2723,3750,3704,3184,2924,2125,1708,1783,2073,2403,2712,3331,3326,2753,2667,3120,3873,3751,3388,3128,3140,3264,3686,3588,3399,3848,3774,2547,2459,3427,3312,2708,3406,3805,4080,4353,4357,3951,3373,3264,3608,3953,4113,4256,4068,4276,4505,4368,4496,4523,4515,4840,5004,4795,4603,4619,4836,4761,4548,4652,4792,4615,4227,4359,4307,4123,3915,3442,2974,2592,2028,1822,1918,2073,1804,1758,2168,2115,1991,2275,2562,2497,2474,2727,3486,4046,3520,3598,3474,3435,3366,3509,3436,3131,3182,2993,3087,3466,3774,3879,3897,4092,4124,4212,3958,3505,3396,3494,3492,3371,3315,3416,3425,3576,3969,4144,3898,3449,3294,3149,3226,3356,3624,3978,3613,3491,3649,3194,2690,2533,2791,3382,2596,1779,1626,1687,1901,1995,1932,1840,1741,1637,1712,2300,2988,2909,3159,3172,3086,3331,3738,3723,3573,3271,2774,2278,1910,1785,1839,2126,1976,1468,1660,1898,1894,2155,1852,1632,1699,1610,1780,1610,1630,1625,2202,1698,1526,1462,1479,1717,1583,1540,1520,1639,1814,1541,1325,1400,1355,1392,1459,1454,1710,1939,2121,2352,2182,1704,1443,1713,1823,1634,1616,1699,1202,1325,2620,3219,2712,2422,2591,2551,2526,2350,2149,1798,1635,1638,1739,1729,1748,1819,2025,2073,2225,2438,2191,1990,1973,1946,2241,2398,2192,2025,2017,1672,1542,1707,1957,1926,1711,1534,1842,2625,2138,1826,1584,1645,1660,1681,2013,2505,2643,2376,2314,2106,1759,2185,2186,1865,1782,1710,1638,2012,1763,1465,1523,1907,1829,1723,1603,1558,1936,2050,1787,1545,1426,1809,1751,1586,1700,1627,1460,1500,1594,1960,1844,1460,1794,2247,1829,1495,1697,1578,1449,1614,1987,2060,1730,2083,1714,1470,1694,2228,2554,3090,3385,2430,1871,2261,2350,2523,2644,2155,1746,2029,2795,2788,2143,1626,1513,1407,1347,1434,1611,1764,1776,2281,3104,3683,4052,4079,4052,3783,3716,3094,3248,3697,3312,3203,3359,3199,2754,2842,2950,3133,2944,2540,2177,2337,3077,3814,4372,4313,4180,3982,4074,4137,3594,3216,3215,3563,4056,4463,3993,3396,3544,3460,3133,3286,3548,3552,3218,2643,2403,2313,2335,2288,2341,2443,2852,2744,2419,2971,3378,3307,3431,2927,2167,2036,2137,2061,1958,1945,2016,2310,2624,2127,1982,1737,1929,2159,2194,1895,1817,1968,1854,1672,1621,1647,1861,2079,1952,1874,1927,1785,1708,1721,1711,1579,1615,1744,1689,1650,1582,1591,1734,1783,2038,1695,1550,2174,1954,1564,1606,1739,1672,1459,2054,2430,2020,2196,2224,1837,1644,2077,2229,2503,2693,2450,2586,3738,4612,3893,2780,2488,2942,3715,3182,2732,2858,2920,2941,3174,3441,3397,3300,3338,3448,3632,3451,3031,2645,2442,2869,2700,2988,3552,3320,3110,3340,3362,3196,3328,2996,3444,3739,3708,3134,3086,3494,3776,3745,3649,3892,3725,3461,3759,3661,3059,2442,1918,1986,1917,2467,2960,2776,2577,2788,2657,2415,2181,2121,2322,2317,2260,1974,1746,2397,3649,3708,3726,3664,3292,2792,1822,1889,1870,2421,2224,1728,1857,1932,1641,1683,2425,3033,2496,1946,2102,2087,2321,1881,1757,1892,1687,1538,2002,2439,2057,1908,1971,1466,968,1252,2049,2784,2999,2692,2354,3032,3421,2832,2398,2308,1744,1388,1836,1708,1714,2024,1703,2176,2109,2188,2276,2206,2753,2988,3037,3559,3220,2086,1939,2209,2380,2590,2535,2088,2192,2502,2381,2319,2401,2784,2852,2432,2393,2284,2365,2519,3272,3864,3730,3820,4046,3949,3795,3692,3114,2993,3138,2138,1754,2286,2932,2455,1993,2332,2325,2176,2301,2728,2876,2734,2084,1824,1865,2212,2151,1766,1622,1625,1695,2039,1913,1636,1837,2151,2647,2510,2252,2180,1948,1724,2081,2676,3062,3242,2934,2437,2164,1538,1089,1582,1764,1833,2046,2632,2997,3084,3033,2763,2350,2234,1974,1816,1787,1830,2296,2094,2657,3307,3396,3068,3089,3601,3482,3197,3249,3186,2997,2944,3639,3128,2268,2534,2767,2580,2359,2561,2573,2598,2604,2569,2971,3234,3063,2976,3044,2857,2794,3032,3013,2720,2624,2736,2814,2579,2265,2294,2382,2501,2351,2186,2101,2137,2048,1868,1893,2046,2188,2086,2072,2077,2143,2248,2171,2155,2265,2494,2653,2542,2398,2523,2844,3072,3123,3194,3139,2810,2614,2950,3166,3203,3362,3604,3365,3162,3370,3448,3480,3505,3226,2452,2638,2489,2522,2661,3007,3188,3117,3088,2712,2563,1962,1866,2009,1990,1996,1951,1895,1938,2032,2007,1924,1738,1675,1578,1597,1895,2148,2706,3017,3248,3327,3270,3254,3101,3043,2858,2521,2470,3023,3062,2053,2221,2222,1918,2020,1946,2053,2405,2077,2178,3122,3606,3694,3050,2171,1832,2106,2725,2358,2166,2174,2465,2890,2708,2409,2449,2093,2112,2144,2885,3160,3104,2769,2734,2750,2364,2830,3154,3075,3820,3803,3444,3123,3042,2396,2654,2940,2845,2775,2835,2306,1657,1464,1435,1390,1461,1448,1593,1531,1514,1530,1556,1595,1580,1589,1709,2083,2700,3006,3056,3587,3874,3297,2928,2042,1648,2316,2282,2162,2505],[3299,3122,2674,2589,3033,3221,3182,2942,2821,2916,2802,2770,2821,2896,2802,2531,2444,2345,2493,2399,2408,2735,3003,2774,2575,2575,2807,2924,2199,2136,2308,2508,2562,2442,2504,2732,2936,2999,2800,2473,1741,2182,2835,2919,2457,2465,2613,2667,1947,2022,2801,3344,3801,3631,3573,3197,2857,3632,3426,2638,2357,2669,3045,3122,2957,2509,2120,2370,2195,1743,1973,2286,2908,2813,2151,1590,1552,2055,1994,1676,1843,2146,2022,1924,1526,1699,2007,1993,2438,2518,2580,2230,1998,1680,1693,2178,2314,1947,2189,2157,1834,1728,1900,1848,1779,1787,1881,2077,2116,1797,1649,1521,1475,1698,1818,1906,1693,2493,2327,2200,1957,1608,2144,2410,1943,2030,2460,2799,2901,2388,2039,1982,2329,2284,2059,2245,2353,2164,2237,2365,2168,2169,2073,2352,2214,2477,2893,3370,3421,3133,2398,1961,2061,1904,1750,1645,2225,2636,2125,2071,2507,2888,2888,2797,2753,2767,2743,2863,2945,2893,2939,2792,2932,3023,2802,2963,3118,3594,3908,3473,2961,2800,2365,2811,3653,3197,2927,3165,2974,2893,3078,3088,3162,3126,2602,2354,2285,2225,2264,2262,2659,2045,2404,2358,2107,2421,2485,2578,2706,1898,1949,2718,2720,2436,2563,2689,3203,3168,3185,3176,3528,3347,3296,3588,3458,3445,3155,2635,2420,2457,3052,3196,3119,2797,2893,3484,3980,3793,3649,3462,3884,4129,3882,3666,3640,3732,3002,2735,2732,2631,1998,1770,2026,2026,1870,1819,2066,2409,2559,3410,2321,1700,1531,2333,2546,2038,1649,1378,1677,1861,1748,1634,1721,1877,2198,2006,1714,1669,1475,1470,1704,1869,1785,1526,1677,1605,1808,2152,1967,1923,1684,1593,1814,1941,2232,2354,2385,2475,1918,1761,2006,2089,1781,1682,1624,1853,2375,2199,1604,1331,1618,1690,1395,1619,1390,1356,1472,1520,1654,1640,1399,1274,1280,1584,1903,1979,1692,1600,1470,1474,1376,1373,1629,2298,1818,1344,1312,1299,1355,1316,1488,1635,1598,1710,1772,1885,1798,1956,2065,2016,1952,1762,1866,1895,2007,2330,2352,2473,2449,1871,1566,1717,1714,1677,1650,1649,1707,1873,1798,1596,1635,1669,1866,1731,1526,1591,1633,1569,1567,1537,1813,2074,1659,1564,1763,1893,1870,1832,1858,1783,1954,2039,1681,1679,1651,1452,1544,1510,1405,1418,1498,1791,1827,1659,1611,2299,2111,1557,1422,1363,1229,1185,1170,1102,1239,1257,1265,1528,1462,1494,1710,1823,1621,1428,2271,2739,1986,1976,1886,2040,2839,3379,2919,2278,2078,1989,1831,1797,1531,1375,1367,1322,1184,903,730,826,907,1168,1400,1254,1234,1717,1852,2058,1984,1626,1493,1704,1960,1653,1403,1540,1648,1769,1971,2093,2242,1956,1749,2121,2691,2429,2213,2020,2054,2366,2557,2426,2155,2142,1960,1671,1699,1748,1688,1766,2377,2719,2561,2193,2343,3040,2974,1980,1998,1866,1631,1844,2482,2986,2945,2977,3666,3585,2575,1984,2398,3109,2944,2291,2736,2778,3063,3006,2431,2096,3311,4073,3342,2860,2450,1907,1470,1476,1772,2043,2137,1687,1593,2070,2232,2033,1678,1404,1766,2065,1684,1167,1382,1577,1743,1685,1678,1669,2329,2326,2152,2275,2117,2008,2524,3077,2569,1574,1486,1816,1597,1572,2011,2019,2488,2619,2547,2266,2044,2481,2558,2579,2762,2249,1825,2179,2519,2026,1771,2002,2295,2009,1801,1980,1794,1741,1909,1741,1442,1840,2729,2735,2126,1902,1804,2100,2504,2142,1967,2249,2691,3182,3597,2689,2267,1897,2008,2181,2243,1947,1779,2455,2539,2337,1892,1887,1796,2042,2018,1843,1898,1788,1580,1626,1888,2302,2058,1583,2052,2248,1892,1648,1559,1745,2164,2370,1982,1926,2110,2344,2320,2120,2404,2384,1774,1549,1871,1785,1681,1741,1692,1616,1653,1587,1529,1615,1688,2256,2578,2333,2875,2555,1920,1825,1995,1841,2145,2391,1794,1873,1801,1781,1737,1708,1808,2008,2010,1626,1902,2153,2133,2247,1913,1695,1772,1835,1837,1906,1689,1382,1463,1436,1454,1434,1701,1873,1366,1523,1794,1996,1821,1903,1982,1738,1968,1842,1921,1952,1829,1727,1632,1815,1794,2055,2714,3111,3249,2555,2535,2349,2461,2910,2433,1859,1698,1546,1641,2131,1986,1835,1865,1774,2070,1947,1712,1665,1582,1593,1494,1514,1920,2380,2039,2422,2665,2910,3119,2785,3226,3834,4002,3739,3520,3475,3450,3432,3466,3357,3098,3251,3384,3123,2836,2885,2920,2964,2998,2937,3089,3601,3930,3797,3665,3388,3152,3012,3075,3031,2928,2986,3055,2790,2880,3235,2996,2990,2976,2767,2551,2845,3200,3255,3269,3273,3055,2588,2199,2057,1818,1783,1833,2032,2148,2066,1936,1813,1782,1699,1586,1703,1652,1784,2141,2137,2249,2717,2906,2509,2590,2900,3314,3257,3155,3144,3099,3043,2720,2927,3376,3393,3499,3121,2997,3172,2985,2915,2669,2369,2540,2283,2498,3032,3208,3410,3518,2928,2308,1986,2109,2554,2907,2905,2665,2833,3119,3441,3707,3641,3206,3244,3482,3862,4209,4084,3729,3861,4028,3247,3098,3991,3798,3466,3938,3963,4091,4428,4841,4753,4296,4007,4145,4236,4120,4240,3902,4240,4541,4524,4505,4452,4421,4596,4852,4795,4675,4487,4616,4416,4086,4556,4625,4276,4125,4244,3852,3371,3292,2670,1858,2126,2401,2491,2564,2491,2292,1745,1586,1623,1992,2692,2801,2459,2791,2540,2488,3466,3827,3562,3364,3217,3244,3305,3254,3312,3255,3303,3537,3654,3652,3715,3681,3884,4180,4324,4301,3674,3330,3271,3160,3107,3191,3334,3780,4045,4372,4345,3866,3605,3428,3348,3416,3584,3617,3751,3865,3719,3587,3201,2698,2819,3211,2922,1843,1667,1882,1814,1970,2061,1943,1813,1683,1649,1591,1911,2878,3162,3135,3167,3078,3238,3563,3410,3041,2607,2108,1924,1827,1859,2230,2315,1655,1475,1664,1617,1815,2255,1870,1504,1563,1832,2055,1665,1700,1777,2131,1853,1715,1502,1554,1902,2161,2138,2084,2029,2054,1710,1422,1404,1385,1340,1392,1532,1542,1499,1716,2124,2430,1765,1342,1508,1464,1215,1523,1987,1661,2039,2621,2763,2983,3331,3000,2305,2404,2060,1794,2017,1937,1668,1510,1493,1514,1694,1946,1835,2147,3075,2963,1850,1765,1896,2392,2265,1869,2215,2107,1601,1423,1469,1781,1959,1878,2018,2210,2023,1747,1549,1509,1813,2014,1910,1840,2134,2179,1802,1863,1853,1782,2156,1772,1974,1996,1906,1809,1579,1612,1605,1916,2135,2088,2183,1795,1719,2100,2215,2032,1728,1890,2177,1963,1762,2018,1595,1498,1589,1778,1870,1855,1971,2138,2504,2052,1868,1958,1690,1605,1603,1849,2072,1954,2172,1870,1638,2490,3131,2768,2483,2939,3050,2266,2473,2473,1906,2416,2635,2766,3273,3399,3376,2933,2022,1597,1663,1404,1469,1526,1709,1599,1498,2337,3109,3574,3768,3895,3707,3447,3240,3307,3525,3463,3408,3320,3282,2811,2602,2808,2887,2580,2617,2579,2680,2989,3561,4184,4163,4141,4078,4152,4039,3993,3762,3522,3426,3823,4312,3876,3628,3972,3470,3388,3632,3748,3506,3096,2624,2330,2382,2658,2808,2720,2401,2209,2197,2356,2734,2945,3094,2974,2580,2222,2095,2147,2001,1842,1923,1948,2464,2837,2044,1815,1720,1748,1927,1976,1964,1935,1760,1548,1553,1627,1826,1955,2186,1923,1756,1748,1702,1661,1763,1695,1486,1698,1973,1906,1664,1577,1577,1582,1590,1660,1712,1792,2346,2388,2030,1728,1792,2158,2048,2259,2591,2478,2570,2325,1824,1704,2448,3079,3361,3117,2700,3219,4007,4284,3717,2711,2731,3210,3617,2823,2357,2701,2911,2968,2994,3211,3564,3627,3253,3285,3519,3355,2774,2512,2553,2654,2653,2939,3039,2720,2671,2724,2951,2711,2801,3577,4296,4106,3781,3377,3009,3053,3707,4112,4083,4219,4328,3969,3939,3902,3759,2876,1985,1968,2217,2772,2945,2799,2996,2908,2619,3094,2886,2461,2788,2513,2080,2046,2370,3326,3726,3584,3528,3577,3301,2924,2200,1882,2093,2571,2119,1832,2111,2129,1901,1761,1836,2298,2023,1696,2067,2493,2403,1914,2142,2276,2054,1661,1869,2216,1802,1626,1636,1630,1484,1420,1756,2600,2802,2414,2226,2608,2564,1944,1855,1729,1710,1735,1779,1860,1797,1924,2008,2051,1718,1841,2561,3106,3256,3208,3207,3163,3087,2306,2143,2354,2503,2656,2511,2186,2386,2831,2843,2749,2391,2525,2962,2810,2569,2513,2439,2854,3196,3046,2937,2997,3432,3850,3864,4272,4340,3830,3179,2403,2247,2142,2713,2176,1614,1959,2023,2195,2644,3238,3265,2889,2134,1908,2032,2264,1937,1612,1510,1341,1356,1535,1815,1918,2097,2503,2892,2568,2645,2631,2474,2357,2319,2614,2730,2962,2808,2744,1906,1172,1359,1678,1833,1854,1674,2180,2623,2437,2367,2210,2468,2481,1775,1126,1182,1263,1682,1823,2421,3222,3652,3515,3307,3352,3629,3622,3217,2701,2930,2950,3195,2431,1718,2155,2678,2426,2280,2739,2983,2807,2278,2050,1953,2220,2759,2812,2796,2806,2954,2972,2856,2940,3134,3144,3174,3169,3411,3330,3491,3708,3649,3319,3029,2976,2867,2619,2510,2526,2790,2863,2979,2951,2625,2662,2669,2780,2901,2858,2956,3065,3043,3267,3213,2962,2742,2839,2835,2919,3104,3106,2963,2668,2717,3030,3163,3508,3630,3448,3393,2928,2824,2424,2812,2737,2639,2817,3187,3142,3128,3122,3032,2919,2505,2333,2632,2838,2858,2634,2562,2594,2537,2542,2395,2061,2002,1760,1775,1577,1620,1660,2008,2558,2938,3182,3017,2778,2967,3143,2773,2340,2944,3015,2438,2746,2862,2445,2358,2337,1811,1595,1598,1821,2940,3638,3443,2587,2280,1757,2212,2939,2587,2134,2238,2699,2823,2466,2302,2542,2301,2177,2315,3147,3429,3431,3270,3239,2550,2130,2929,3206,2955,3472,3763,3614,3488,3426,2855,2608,3000,3018,2829,3187,2675,1724,1527,1535,1516,1543,1564,1481,1454,1502,1550,1600,1655,1678,1648,1687,1907,2334,2597,2857,3393,3438,2586,2552,2264,1787,2026,1970,2256,3209],[3182,3067,2741,2690,2951,3063,2930,2962,2893,2839,2877,2812,2821,2656,2543,2230,2087,1988,1946,2053,2266,2453,2386,2398,2473,2517,2518,2509,2481,2705,2352,2147,2876,2730,2154,2382,3194,3234,3117,2397,1666,1925,2553,2645,2346,2197,2115,2230,2012,2347,3248,3408,3647,3913,3429,3636,3830,4049,3304,2484,2318,2472,2833,2902,2688,2634,2624,2314,2228,2289,2430,2564,2866,2336,1936,2163,2370,2504,2620,2241,1834,1837,1771,1901,1806,1926,2469,2548,2819,2226,1583,1664,1882,1835,1891,1971,1947,2086,2384,2138,2402,2240,1889,1772,1662,1479,1637,1974,2060,1910,1695,1673,1553,2429,2902,2586,2148,2435,2417,2483,2269,1824,2128,2504,2015,2128,3031,2852,2956,2573,2244,2468,2698,2045,1716,1620,1892,2458,2273,2120,2382,2877,3174,3434,2893,2573,3073,3487,3406,2943,2129,1946,2200,1986,2076,2019,2639,2896,2413,2734,2742,2783,2957,2965,3051,3008,2950,2907,2913,2832,2751,3031,3495,2686,2232,2225,2184,2719,3536,3815,3666,3228,2924,3209,3338,2996,3176,3397,3332,3221,3143,2972,2776,2443,2302,2320,2285,2226,2018,2181,2378,2278,2253,2310,2136,2139,1936,1967,2087,2061,2593,2746,2836,2719,2592,2284,2434,2823,2706,2642,2578,2729,3333,3234,2909,2763,2441,2479,2888,2818,2855,3059,3286,3396,3064,3171,3573,3761,3854,3664,3587,3670,3614,3646,3492,3073,2762,2300,2321,2608,2164,2379,2261,1795,1741,1977,1694,1826,1744,1736,1613,1802,1578,1647,1599,1469,1446,1615,1694,2215,1984,1817,1854,2060,2332,2093,1963,1969,1697,1636,1562,1589,1804,1441,1542,1706,1678,1995,2176,2010,1598,1736,2171,2066,1760,1849,2070,1981,1713,1871,1765,2203,2048,1815,1891,1730,1548,1665,1686,1539,1878,1644,1405,1421,1492,1504,1410,1408,1468,1405,1410,1635,1316,1328,1536,1914,1692,1949,2172,1762,1444,1412,1360,1526,1555,1382,1375,1557,1660,1620,2114,2048,1721,1778,1886,1796,1735,1912,1831,1910,1964,1704,1738,1843,1933,1932,1708,1807,2040,2116,2082,1943,1850,1542,1510,1787,1884,1670,1371,1306,1438,1418,1558,1607,1583,1634,1668,1599,1632,1718,1718,1769,1614,1666,1967,1947,1990,2022,1946,1688,1784,1957,1681,1741,1876,1566,1451,1321,1292,1516,2236,2522,2240,2016,2211,2456,1932,1737,1564,1711,1416,1364,1291,1410,1375,1146,1234,1399,1456,1554,1704,1665,1553,1799,2040,1854,1841,2136,2109,2426,2820,2956,2549,1853,1589,1603,1952,2082,2190,1597,1340,1422,1288,829,711,741,746,920,1234,1355,1610,2106,2078,1950,1803,1778,2028,1914,1795,1573,1340,1612,1862,2022,2005,1597,1703,1415,1497,2041,2313,1811,1754,1760,1731,1757,2104,2385,2047,1658,1547,1658,1817,1754,1715,1659,1908,2072,2107,2059,2250,2819,3215,2328,2186,2434,2044,2154,3196,3229,2546,2492,3006,2801,1683,1525,1788,2315,2734,2241,2482,2431,3041,2702,2169,2852,4093,3494,2362,2246,2115,2241,1897,1431,1432,1703,1732,1613,1902,1927,1578,1577,1356,1151,1936,2302,1959,1627,1550,1505,1410,1361,1428,1557,2100,1987,1762,2023,2050,2264,3120,3543,2858,1893,1839,2085,1997,1836,1868,1871,1917,2245,2476,2231,2632,3172,2855,2699,2584,2463,2657,2730,2264,1908,2039,2292,2647,2686,2270,2058,1942,1587,1611,1636,1516,1778,2042,1992,2155,2185,1972,2065,2405,1973,2457,3050,3580,3211,3318,2608,2041,1889,2210,2325,2382,2039,1849,2301,2128,2641,2392,1990,2111,2045,1882,2126,2431,2238,1832,1613,2100,2612,2103,1636,2654,2397,1651,1679,1848,1748,2360,2436,1679,1623,1871,2194,2417,2624,2331,1715,1493,1931,2162,1901,1721,1504,1573,2113,1892,1604,1368,1870,2146,2189,2404,2369,1854,1564,1769,2386,2460,1923,2066,2067,2018,2272,1824,1938,1773,1730,1859,2038,1852,1665,1704,1947,2269,2429,2182,2049,1910,2013,1860,1631,1739,1818,1670,1516,1478,1389,1826,2137,1800,1600,1686,1576,1454,1614,1350,1387,1785,1739,1727,1846,1896,1826,1597,1592,1735,1851,2023,2543,2737,2701,2759,2509,2899,2797,1970,1972,2121,1849,1943,3088,2868,2001,1737,1769,1750,1691,1908,2154,1887,1733,1704,2087,2317,2810,2842,2955,2646,2457,2998,3599,3813,3952,4176,3882,3687,3647,3218,2707,3009,2929,3001,3363,3681,3616,3111,2950,3043,2919,2854,2828,2989,3219,3729,3841,3603,3408,3275,3240,3282,3133,3143,3318,3603,3386,3153,3285,3066,3132,3088,2708,2736,3190,3269,3212,3127,3077,2834,2183,1785,1904,1594,1596,1755,1792,1672,1818,2005,1960,2055,1703,1649,1924,1969,2105,2208,2263,2604,2895,2840,2688,2300,2483,3243,3264,3328,3276,3054,3020,2750,2654,3132,3300,3254,3160,3210,3143,2754,2709,3058,3204,3244,3274,3230,3611,3882,3956,3714,3518,3250,2707,2321,2724,3201,3205,3096,3188,3242,3326,3472,3482,3366,3592,3895,3886,3763,4284,4288,4070,4231,4048,4124,4429,4018,3920,4244,4194,4451,4775,4796,4916,4785,4407,4522,4352,4285,4596,4254,4616,4636,4338,4255,4299,4188,4063,4488,4516,4220,3892,4025,4056,3794,3950,4095,4049,3950,3681,3022,2644,2795,2414,2069,2489,2972,2844,2789,2448,1844,1125,1209,2036,2532,2861,2823,2812,3974,3427,2301,2625,3363,3435,3333,3269,3388,3217,3208,3435,3366,3654,3874,3768,3713,4083,4013,3860,4180,4295,4301,3846,3229,3055,3098,3065,3042,3145,3715,4055,4152,4221,3660,3457,3500,3559,3608,3697,3804,3659,3381,3150,2728,2589,2426,2381,2288,1918,1701,2008,2115,1888,1943,2060,2015,2023,1780,1659,1642,1864,2706,3181,3181,3060,2968,3065,2980,2664,2344,2066,1888,1785,1880,1995,2116,2086,1758,1606,1670,1664,1977,2150,1766,1489,1434,1605,1669,1525,1508,1805,2282,2330,1953,1617,1667,2127,2647,2401,2608,2549,2100,1731,1621,1511,1376,1402,1505,1585,1699,1679,1573,1800,2172,1606,1470,1553,1594,1287,1758,1904,1972,2521,2388,2191,2333,2483,2353,2250,2477,2194,2161,2359,2140,1782,1700,1648,1644,1715,1782,1800,2265,2997,3648,2430,1823,1972,2249,1942,1766,2123,2170,1650,1512,1448,1332,2256,2296,1932,1648,1687,1957,1826,1560,1800,2065,1853,1577,1541,1722,1791,1849,1631,2002,2045,2226,2480,2467,2599,2231,1837,1972,1685,1857,1648,1827,1737,1527,1769,1953,1719,1751,1968,1991,1899,1594,1395,1736,1516,1871,2051,1722,1574,1921,2288,2297,2047,1862,2095,1961,1584,1602,1771,1713,2013,2125,2493,2234,2029,2913,2996,2226,1746,2121,2698,2540,2451,2203,2252,3229,3196,3117,3259,3448,3897,3619,2712,1975,2181,1510,1591,1603,1584,1554,1493,1685,1966,2588,3322,3760,3836,3843,3897,3526,3781,4161,4200,3208,3217,3184,2972,2939,2632,2601,2823,2744,2905,2667,3064,3882,3750,3426,3425,3499,3561,3709,3532,3436,3427,3653,3916,3624,3635,3883,3456,3453,3701,3747,3608,3323,2946,2410,2336,2825,3111,3064,3045,2745,2368,2370,2577,2479,2522,2465,2397,2238,2143,2170,2088,1858,1750,2216,2876,2408,1985,1879,1707,1722,1852,2026,2003,1840,1635,1672,1848,1946,1940,1994,1936,1958,1836,1688,1686,1752,1748,1616,1454,1512,1802,2123,1748,1761,1536,1484,1702,1889,1787,1883,2566,3129,3272,2564,2321,2519,2288,1981,2430,3177,3107,2697,2185,1985,2745,3452,3772,3816,3781,3749,4024,4011,3468,3044,3204,3442,3539,3029,2786,3054,2973,2637,2575,2973,3574,3676,3270,3161,2886,2608,2512,2655,2866,2852,2628,2764,2692,2452,2487,2482,2507,2315,2841,3797,4203,4251,4112,3674,3042,3228,3752,4100,4025,3817,4028,4038,4200,4083,3758,3053,2231,1592,2185,3161,3067,3184,3206,3184,2541,3031,2806,2664,3307,3122,2535,2562,3218,3248,2680,2354,2547,3049,3278,2972,2239,2174,2333,2017,1807,1780,1722,1695,1645,1851,1972,2019,1855,1611,1963,2631,2414,1857,1808,1997,2059,1614,1672,1796,1700,1426,1557,2205,2029,1613,1559,2066,2343,2446,2533,2412,1772,1450,1680,1630,1738,2240,2446,2310,1834,1814,2086,2117,2024,2078,2529,3611,3317,3218,3011,2667,2864,2676,2381,2344,2442,2438,2320,2259,2685,2890,2849,3008,2945,2918,2989,2902,2664,2423,2802,3084,2496,2310,2119,1697,2663,3702,3891,4298,4420,3864,2765,2409,2512,2416,2500,1932,1908,2376,2468,2958,2974,3510,3618,3209,2568,2360,2431,2306,1709,1512,1576,1638,1564,1776,2649,2429,2285,2727,2458,1644,1625,2108,2529,2661,2736,2412,1869,2314,3000,2784,1762,1469,1697,1719,2151,2276,2012,1970,2048,2078,2280,2405,2889,2752,2392,1474,1037,1081,1339,1669,1936,2674,3864,3366,3128,3470,3818,3597,3016,2767,2958,2328,2044,1865,1506,2072,1964,1629,2122,2610,3281,3251,2524,2237,2055,2752,3306,3276,3381,3275,3144,2510,2265,2282,2521,2426,2510,2800,3047,3010,2882,2910,2984,2750,2665,2665,2450,2284,2279,2415,2576,2729,2897,2996,2932,2932,2951,2955,2920,2844,3054,3087,3136,3340,3177,2770,2419,2563,2841,3428,3657,3398,3462,3006,2836,2954,3135,3141,2585,2460,2627,2664,2797,2911,3022,2856,2573,2844,2988,2997,3311,3131,3144,2600,2209,2425,2611,2445,2413,2508,2881,3143,3003,2679,2394,2352,2256,2142,2101,2039,1866,1616,1622,1682,1887,2256,2755,2657,2768,3088,3020,2374,2901,3055,2742,2809,3204,3087,2573,2242,1787,1864,2129,1842,2525,3195,2749,2628,2691,2315,2403,2608,2701,2684,2661,2735,2612,2079,1895,2393,2473,2221,2612,3040,3202,3405,3521,3304,2908,2555,2546,2886,2944,3311,3625,3741,3713,3897,4042,3728,3770,3904,3719,3731,2846,1780,1581,1613,1577,1527,1475,1436,1445,1496,1553,1649,1856,1871,1749,1666,1730,2127,2401,2671,3052,2720,1647,1948,2539,2135,1895,2001,2502,3067],[2895,2855,2885,2675,2963,3142,2876,2879,2612,2919,3083,2820,2587,2360,2107,2096,2275,2112,2075,2238,2304,2306,2321,2255,2254,2438,2331,2206,2910,3398,2496,1934,2386,2138,1700,2162,3294,3281,3051,1912,1387,1497,1947,2135,2067,1917,1811,2077,2285,2311,2923,3371,3539,3840,3641,3792,3757,3664,3021,2547,2470,2450,2668,2920,2691,3051,3321,2920,2890,3024,2990,2517,2543,2373,2212,2698,3041,2699,2465,2364,1886,1911,2729,2472,1951,1879,2178,2810,3022,2140,1720,1992,2146,2217,1972,1741,2171,2403,2330,2374,2632,2131,1574,1735,1864,1787,1935,1990,2018,1998,1758,1814,1589,2147,2740,2486,2304,2316,2403,2486,2354,1817,1771,1957,1732,1937,2923,2979,3106,2866,2593,2542,2313,2195,1873,1104,1370,2007,2366,2266,2548,3164,3377,3330,2531,2312,2487,2079,2209,2422,2244,2480,2216,1963,2230,2690,2586,2447,2641,2822,2602,2691,2995,3093,3251,3222,3197,3071,3084,3000,2819,2868,2989,2324,1829,1781,1592,1917,2436,2695,3199,3221,3406,3216,3139,3109,3378,3406,3031,3074,3244,2794,2393,1954,1785,2201,2702,2534,2266,2151,2026,2090,2331,2162,1957,1684,1267,1197,1446,2315,2592,2408,2619,2833,2239,2136,2680,2516,2319,2710,2633,2212,2459,2514,2363,2480,2545,2817,2398,2174,2720,3220,3770,4180,3603,2804,2917,3475,3687,3485,3206,3372,3513,3387,3066,2756,2313,2190,2163,2052,2175,2276,2123,1967,2054,2020,1755,1779,2409,2525,2265,2193,1667,1578,1853,1753,1917,1710,1740,2204,2563,2586,2337,2060,2072,2231,2165,1953,1825,1631,1507,1533,1672,1719,1675,1642,1515,1728,2073,1663,1500,1700,1950,1626,1568,1835,1918,1824,1652,1612,1621,1883,1808,1703,1912,2164,1664,1553,1528,1524,1499,1476,1460,1600,1540,1365,1513,1562,1592,1550,1599,1943,1568,1532,1541,1684,1560,2070,2625,1994,1449,1365,1393,1628,1654,1426,1603,1805,1671,1565,1908,2110,1967,1976,2151,2259,2104,1880,1614,2104,1601,1426,1496,1669,1516,1725,1792,1784,1816,1826,1906,2046,2056,1797,1761,2193,2081,1621,1398,1461,1648,1708,1726,1709,1686,1732,1742,1442,1476,1616,1426,1652,1676,1624,1768,1737,1827,1861,1656,1573,1701,1875,1816,1784,1893,1941,1623,1454,1658,2039,2864,2931,2331,2252,2375,2287,1926,1779,1848,1707,1395,1404,1505,1651,1467,1143,1150,1333,1419,1447,1588,1954,1910,1694,1744,2083,1647,1976,2613,2792,2624,2093,1971,1782,1581,1501,1854,2018,2174,1673,1468,1490,1173,875,730,789,856,985,1173,1212,1454,1841,1975,2048,2019,1893,2185,2398,2336,1958,1499,1888,1983,1878,1579,1742,1668,1659,1695,1925,1811,1550,1666,1627,1499,1708,1948,2244,1898,1507,1499,1748,2130,2114,2059,2049,1783,1847,2043,1930,2648,3309,3393,2469,2646,3617,3918,3170,2901,2727,2282,2272,3430,3080,1690,2121,2210,1805,1913,1843,1857,2058,2530,2751,2690,3142,4014,2940,1983,2280,2556,2192,1604,1259,1330,1363,1396,1439,1739,1626,1271,1304,1552,1860,2078,2100,1809,1716,1509,1358,1337,1503,1627,1669,1780,1484,1536,1582,1716,2002,2654,2808,2541,2032,1807,1732,1782,1791,1857,1879,1992,2569,2898,2694,2757,3087,3233,3074,2740,2759,2978,2676,2144,2031,2207,2553,2626,2869,2293,2126,2290,1647,1649,1774,1550,1661,1609,1570,2089,2521,2085,2058,1815,2099,2740,2766,2711,3007,2922,2459,2209,2113,1985,2403,2864,1892,1442,1565,1510,2211,2084,2276,2434,2101,2095,2314,2644,2720,2393,2155,2207,1969,2237,1725,1918,1922,1685,2146,2324,1929,2140,2168,1976,2058,2265,2287,2374,2286,2251,1855,1555,1644,1665,1830,1777,1429,1772,2447,2098,1823,1627,2275,2544,1802,1697,1781,1537,1664,1746,1775,1831,1986,2018,1851,1656,1942,1986,1914,1737,1786,1968,2212,2223,1554,1144,1860,2239,2502,2404,2578,2680,2497,1997,1564,1528,1722,1762,1660,1465,1502,1927,1723,1588,1589,1695,1449,1469,1639,1427,1418,1678,1743,1664,1954,2143,1706,1532,1729,1827,1696,1686,2092,2646,2798,2281,2235,2404,1904,1770,2226,2445,2071,1997,2405,2228,1947,1650,1583,1673,1601,1606,1788,1623,1581,1614,1881,2081,2427,2602,2622,2344,1943,1958,2734,3460,3943,4136,3912,3664,3274,2402,2046,2285,2318,2566,2886,3469,3689,3647,3041,3143,2949,2862,2776,3011,3181,3433,3604,3403,3225,3090,3035,3041,2971,3173,3373,3606,3617,3605,3544,3363,3350,3256,2912,2854,3229,3183,3084,2866,2783,2568,1942,1868,1769,1514,1621,1777,1682,1666,1777,1848,1935,2095,2206,2291,2144,1622,1303,1560,2140,2623,2907,2834,2622,2222,2122,2879,3230,2956,2499,2083,1961,2023,2363,2656,2439,2534,2820,3056,2988,3307,3472,3457,3515,3606,3689,3642,3641,3504,3374,3362,3416,3440,3387,3328,3421,3653,3452,3399,3227,3083,2993,3047,3222,3420,3718,4121,3979,3488,4444,4552,4500,4272,4328,4465,4252,4140,4517,4749,4526,4639,4720,4748,4872,4551,4580,4670,4408,4480,4723,4661,4788,4764,4604,4733,4665,4232,4139,4027,3498,3281,3393,3614,3740,3754,3790,3769,3510,3139,2899,2567,2404,2751,3063,2787,2215,2449,2643,2652,2209,1493,1049,1700,2680,2459,2594,2824,3002,3794,3311,2481,2553,3095,3405,3377,3543,3853,3666,3420,3491,3466,3434,3429,3853,3952,4050,4167,4113,4229,4364,4352,4068,3602,3055,3008,3070,3167,3483,3592,3938,4020,4097,3919,3870,3985,3830,3679,3748,3709,2952,2060,1663,1640,1769,1783,1854,1913,1979,2024,2101,2111,1992,1969,2029,2106,2081,2010,1820,1776,2230,2845,3119,3038,2855,2745,2712,2458,2077,1950,1797,1911,2062,2114,1836,1681,1692,1545,1486,1573,1554,1725,1674,1550,1503,1398,1530,1681,1819,1831,2316,2902,2901,2743,2449,2084,2462,2820,2624,2199,2109,2098,1949,1785,1575,1460,1496,1475,1485,1698,1752,1501,1475,1743,1712,1541,1741,1647,1564,1848,1772,2144,2414,2258,2221,2290,2507,2712,2671,2736,3017,3506,3652,3131,2268,1820,1718,1799,1726,1649,1519,1752,2041,2872,2310,1920,2083,2164,2051,1953,2130,2231,1901,1851,1527,1635,2357,2113,1542,1675,2034,1989,1983,1827,1981,2416,2323,1919,1555,1538,1804,1728,1688,1980,2357,2499,2061,2214,2318,1870,1931,2342,2148,1874,1636,1555,1412,1508,1852,1892,1773,2191,2173,1870,1839,1466,1434,1793,2011,2285,2394,1987,1972,2283,2080,2086,1934,2029,1904,1737,1459,1514,2074,1935,1873,2090,2589,2036,1272,1805,1924,1536,1556,1790,2524,2665,2968,3501,3859,4339,3908,2907,2673,3304,3827,3393,2820,2203,2122,1613,1427,1430,1472,1444,1433,1323,1813,2596,3033,3446,3796,3849,3964,3793,3919,4080,4040,3404,3190,3331,3140,2975,2643,2742,3175,3132,2907,2495,2875,3610,3055,2502,2905,3143,3199,3207,3233,3430,3396,3371,3595,3240,3364,3741,3641,3628,3796,3875,3838,3716,3421,2579,2547,3275,3181,3082,3187,3281,2820,2452,2134,2446,2756,2181,2223,2299,2259,2156,2174,1747,1884,2940,3335,2820,2468,1930,1742,1846,1937,2085,1877,1651,1461,1711,2056,2198,2072,1958,1754,1625,1635,1621,1541,1575,1483,1492,1595,1727,1424,1425,1594,1727,1683,1575,1681,2080,2270,2426,3020,3186,2820,2578,2765,2955,2666,2177,2291,3020,3344,3143,2652,2594,3269,3577,3704,3715,3824,3837,3943,3807,3474,3073,2861,3105,3255,2946,2735,2785,2831,2552,2956,3129,3514,3745,3658,3103,2629,3068,3753,3539,3286,2852,2812,3549,3444,2722,2427,2303,2148,2119,3187,4165,4188,4059,4082,3732,3321,3451,3630,3657,3493,3212,3520,3790,4027,3959,3648,3338,2269,1479,2687,3410,3298,3288,3133,2897,2861,3122,2976,2955,3094,3020,2723,3338,3519,2888,2316,2558,3042,3156,3099,2279,2240,2648,2315,2489,2453,1913,1824,1577,1590,2050,2142,2024,1896,2069,2589,2931,2720,2280,1753,1561,1627,1575,1940,1544,1465,1833,2035,2162,2371,2151,1630,1679,2028,2498,2264,2233,1961,1397,1830,2226,2500,2954,2934,2608,2163,1656,1523,1849,1976,1942,1949,2894,3318,3620,2763,2207,2533,2636,2379,2382,2597,2168,1998,2410,2825,2823,2889,2908,2854,2925,2696,2375,2401,2487,2689,2779,2809,2955,2401,2002,2741,3337,3759,3774,3640,3749,3374,3323,3276,2808,2573,2657,2566,2294,2062,2693,3362,3333,3465,3236,2460,2473,2341,2281,1730,1668,1659,1828,1668,1791,2480,2402,2520,2876,2254,1665,1574,1756,1825,2331,2838,2357,1910,2228,2831,2745,2403,2136,1870,2078,2430,2413,2002,2239,2747,2584,2414,3059,3375,3000,2331,1269,1148,1656,1809,2387,2438,2978,3947,3352,3043,2867,2997,3012,2712,2835,2823,2256,2310,2198,1822,1781,1595,1665,2263,2956,3897,3772,3442,3482,3416,3522,3304,3284,3560,3480,3559,3074,2857,2933,3032,2656,2719,3367,3666,2947,2531,2799,3150,2702,2380,2059,1922,1771,2066,2374,2426,2470,2557,2853,2996,2707,2522,2707,2864,2592,2658,2802,2801,2920,2934,2753,2781,3107,3427,3827,3765,3603,3523,3199,3199,3332,3169,2906,2503,2143,2325,2962,3120,2851,2840,2842,2726,2994,3155,3122,3178,3055,2792,2301,2142,2510,2668,2644,2551,2522,3026,3308,3366,3068,2498,2165,2291,2392,2426,2575,2497,2297,2003,1772,1652,1726,1790,2135,2486,2933,2877,2374,2698,3047,2759,2509,2795,3259,2956,2677,2415,2583,2861,2718,2842,2987,2755,2934,2869,2670,2482,2646,2746,2911,2758,2813,2443,2130,2271,2360,2420,2570,2775,2868,2956,3250,3617,3493,3366,2996,2440,2833,3277,3758,3982,4100,4076,4123,4320,4311,4284,4276,3902,3792,3042,2179,1661,1591,1566,1485,1493,1486,1478,1502,1531,1637,1910,1742,1720,1618,2040,2362,2453,2569,2928,2699,1810,2072,2611,2633,2109,2254,2770,3084],[2663,2802,2601,1950,2371,2531,2722,2853,2902,3216,3112,2563,2138,2034,1982,2082,2292,2369,2334,2293,2376,2248,2296,2055,2077,2364,2388,2434,2832,2562,1766,1766,2238,2272,1958,1994,3110,3406,3422,2799,2029,1878,2001,2015,2082,2075,2301,2814,2987,2269,2511,3020,2975,2995,3002,3137,3141,3116,2872,2676,2286,2451,2658,2706,2615,3160,3883,4392,4268,4221,3704,3029,2880,2564,2065,2451,2875,2067,1474,1826,1676,1942,2353,1917,1760,2037,2155,2447,2262,1687,2001,2118,2561,2884,2166,1891,2410,2928,2800,2274,2028,2051,2012,2324,2280,1921,2210,2176,2007,2070,1932,1788,1717,2153,2322,2358,2584,2116,1842,1853,1803,1651,2072,2129,2014,2001,2354,2956,3348,3134,2585,2746,2443,2234,2319,1771,2248,2590,2244,2040,2327,2723,2416,2146,2386,2511,1958,1571,1848,2373,3348,2973,2150,1793,1911,2106,1813,1935,2354,2317,2248,2714,3104,3253,3366,3220,3269,3331,3248,3060,2846,2678,2699,2319,1712,1754,1934,1932,1864,1558,1722,2370,2986,3096,3063,3171,3300,3151,2868,2828,3196,2667,2247,2029,2265,2815,2823,2670,2222,1996,2295,2396,2452,1851,1860,1602,1120,1291,1967,2323,2357,2532,2609,2486,2056,2009,2294,2427,2320,2834,2623,1885,2473,2471,2431,2502,3353,3174,1867,1814,2231,3291,3840,4165,4184,3219,2779,3282,3391,3171,3032,3231,3403,3039,2776,2348,1996,2178,1952,2204,2884,2597,2069,1758,1563,1715,2375,2950,3449,3312,2929,2990,2502,1904,2302,1995,1734,1366,1983,2896,3587,3573,2609,2385,2312,2070,2028,1623,1848,1902,1604,1483,1788,1920,1604,1360,1544,2055,2173,1641,2160,1979,1928,1567,1453,1620,1728,1657,1522,1502,1544,1593,1712,2268,2014,2014,1771,1626,1579,1396,1442,1547,1455,1552,1555,1416,1603,1596,1352,1479,1454,1525,1410,1552,1672,1622,1485,1666,1753,1611,1604,1743,1780,1583,1511,1421,1532,1868,1781,1542,1976,2191,1918,1876,1835,2000,1936,1808,1796,2155,1598,1522,1568,1481,1405,1802,2002,1868,1943,2192,2057,1984,1883,1948,1851,1880,1794,1821,1838,1641,1631,1753,1703,1859,1734,1891,1600,1410,1522,1528,1494,1683,1731,1849,1814,1629,1518,1585,1576,1538,1606,1750,1889,1708,1582,1666,1409,1497,1771,1756,2094,2218,2092,2766,2426,2163,1970,1702,1843,1762,1562,1450,1456,1494,1416,1042,1066,1225,1282,1766,1998,2098,1619,1297,1490,1765,1650,2033,2608,2713,2389,2008,2113,2020,1750,1602,1400,1272,1399,1345,1571,1522,1114,907,831,1018,1047,1017,987,975,1306,1639,1987,2054,1769,1613,1660,1891,2287,2178,1813,1710,1786,1548,1443,2162,2091,2147,2106,2072,2060,1635,1636,1691,1833,2050,1776,1842,1715,1651,1632,2020,2184,2146,2746,2690,1816,1832,1977,1863,2441,2441,3273,3416,3166,3843,4496,4224,3438,2499,2412,2749,3884,3873,3024,2452,2144,1925,1708,1644,1742,2244,2248,2430,2986,3249,3372,2642,2288,1999,2149,1904,1681,1695,1560,1554,1394,1399,1831,1904,1750,1638,1536,2009,2219,2076,1780,1730,1576,1465,1427,1460,1730,1771,1520,1333,1396,1869,1826,1978,2198,2228,2316,2008,1520,1646,2110,2138,2330,2208,2282,2611,2840,2723,2880,3119,3066,2733,2594,2688,2536,2149,2093,1775,1991,2508,2489,2521,2254,2300,2514,1909,1538,1545,1498,1560,1494,1431,1874,2583,2171,2005,2060,2518,2894,2912,2809,2679,2553,2409,2568,2602,2144,2641,2788,1867,1232,1318,1556,2169,2154,1853,1774,1698,1929,2500,2834,2741,2696,2745,2480,1858,2048,1812,1777,1968,2024,2389,2458,2224,1750,1722,1860,1966,2148,2253,2343,2041,2116,1905,1448,1598,1500,1791,2194,1963,1828,1754,2148,2384,2777,3132,2579,1724,1668,1634,1562,1682,1651,1529,1758,1981,1672,1646,1592,1544,1948,2102,2031,2028,2224,2209,1864,1029,1256,1666,1838,2471,2384,2447,2718,2451,1888,1746,1686,1778,1808,1652,1748,1760,2000,1854,1654,1615,1710,1793,1953,2229,1786,1553,2075,2101,2041,2100,1998,1621,1461,1775,1823,1859,1948,1598,1868,2325,2271,2510,2292,1773,1652,1825,2052,1830,1692,1713,1866,2182,2060,2206,1694,1265,1442,1500,1635,1648,1610,1591,2048,2098,1717,2008,2233,1867,1672,2096,2619,3416,3783,3708,3515,3059,2608,2275,1899,1806,2031,2438,2905,3374,3780,3269,3419,3278,3143,2918,3182,3452,3360,3512,3371,3124,2880,2436,2448,2629,2977,3164,3270,3403,3685,3883,3742,3308,3024,3037,3049,3288,3189,3122,2861,2651,2328,2040,2062,1914,1742,1732,1651,1757,1924,1942,1858,1989,2366,2834,2844,2479,1803,1202,1560,2372,2600,2684,2570,2657,2568,2521,2917,2796,2175,1748,1677,1684,1642,2055,2584,2305,2315,2562,2953,3039,3261,3286,3281,3368,3484,3461,3390,3303,3417,3466,3367,3339,3414,3472,3767,3791,3558,3413,3328,3208,3152,3008,3060,3329,3548,4068,4332,3759,3396,4288,4588,4564,3983,4110,4552,4472,4465,4512,4559,4407,4408,3664,3886,4480,4519,4651,4584,4636,4696,4636,4492,4548,4660,4693,4316,3978,3924,3925,3548,3190,3328,3748,3881,3880,4082,3956,3233,2901,2420,2149,2136,2214,2490,2972,2700,1913,1712,1902,2564,2482,1920,1213,1892,2710,2626,2400,2469,2874,3162,2875,2533,2377,2566,3020,3248,3456,3863,4184,3852,3491,3620,3505,3256,3597,4041,3994,3801,4063,4275,4318,4380,4184,4028,3520,3294,3431,3758,4004,4004,3986,3951,3919,4184,4207,4355,4151,3762,3770,3596,2075,1163,1117,1382,1604,1695,1803,1963,2066,2039,1993,1991,1854,1725,1821,2010,1951,1974,1844,2066,2747,3066,3015,2845,2732,2474,2158,1951,1904,1901,1986,2098,2156,2074,1730,1635,1567,1460,1443,1500,1487,1725,1806,1637,1542,1576,1780,1892,1796,2164,2968,3139,3148,3248,2872,2602,2777,2678,2476,1886,1938,2188,1910,1576,1570,1588,1603,1526,1546,1570,1508,1405,1355,1561,1636,1477,1694,1658,1402,1384,1571,1839,2297,2470,2622,2796,2940,3056,2857,2887,3088,2810,3416,3812,2977,1976,1695,1782,1911,1742,1395,1713,2193,2298,2168,1841,1746,2164,1988,2232,2470,2588,2410,2655,2442,2534,2191,1642,1511,1968,2342,2081,2120,1742,1736,1990,2190,1946,1405,1504,1745,1620,1524,1867,2756,2821,2393,3098,3562,2416,1991,2054,1997,1807,1641,1554,1658,1667,1665,1843,1891,2190,1966,1918,2042,1794,1792,2298,2697,2348,2020,2014,2373,2463,2370,2557,2447,2274,2338,1984,1682,1686,2077,2010,1913,2284,2217,1700,1147,1831,2234,1710,1688,1627,1958,2161,3007,4019,4057,4127,3938,3115,3119,3386,3480,3022,2791,2344,1604,1314,1492,2271,2150,1362,1443,1629,2116,1818,2409,3275,3468,4012,4272,3911,3759,4057,4093,3340,2907,3196,3131,2887,2957,3039,3178,2765,2423,2707,3064,3264,2918,2620,3222,3486,3462,3450,3591,3724,3444,3220,3301,3206,3373,3733,3704,3682,3918,3970,3846,3586,3443,3166,3344,3293,2879,2862,3011,2998,2919,2664,2169,2450,2894,2252,2216,2521,2225,2284,2355,2198,2761,3366,3208,2768,2370,1880,1910,2054,1969,2107,1758,1628,1687,1980,2041,2592,2920,2264,1701,1739,1782,1688,1582,1744,1647,1642,1732,2055,1707,1430,1585,1692,2114,2264,1927,2489,3363,3751,3750,3831,3737,4004,4149,3727,3020,2042,1516,2467,3483,3511,3330,3354,3587,3653,3841,4006,3886,3680,3739,3957,3563,2686,2545,3226,3178,2750,2420,2591,2568,2207,2790,3268,3440,3918,4052,3404,2845,3532,3852,3682,3304,2950,2887,3436,3606,3000,2330,2236,2121,2286,3417,3869,4040,4036,4027,3790,3565,3655,3671,3780,3597,3597,3740,3779,4144,3950,3631,3264,1930,2062,3020,3186,3330,3166,2894,2785,2947,3123,2885,2664,2752,3042,3227,3522,3214,3111,2812,2415,1992,2436,2879,2998,3042,2201,2299,3050,2604,2556,2243,1789,1934,2088,2048,2193,2252,2762,3244,2770,2231,2206,1662,1719,1780,1755,1847,1664,1874,2740,2854,2366,2325,2163,1676,1683,1691,2171,1975,2452,2607,1807,1818,2382,2901,2836,2390,2172,2120,1660,1474,1488,1704,1517,1489,2137,2840,2952,2353,2100,2177,2406,2285,2496,2555,2237,2129,2482,2819,2855,2686,2822,2916,2734,2559,2204,2308,2383,2518,2917,3426,3662,3370,2856,2696,2473,2909,3536,3651,3574,3580,3419,3100,2274,2006,2281,2723,2492,2287,2854,3354,2986,3146,3284,2939,2930,2603,2510,2163,1984,1926,2168,2061,2062,2959,2989,2755,2708,1907,2140,2283,2011,1708,1773,2191,2417,2690,2776,2788,2888,2808,2411,2298,2034,1885,2110,2142,2360,2494,2620,2442,2810,2980,2733,2065,1544,1289,1704,1965,2864,3406,3790,3875,3470,2938,2370,2403,2366,2293,2754,2744,2226,2441,2436,1596,1210,1626,1895,2329,3076,3736,3934,3967,3587,3041,3073,3033,3260,3416,3384,3588,3480,3470,2723,1851,2067,2588,2884,2740,2008,2421,2696,2846,3066,2708,2126,1534,1374,1892,2192,2426,2344,2529,2701,2928,2862,2279,2334,2485,2148,1683,1724,2180,2557,2580,2411,2448,2832,3055,3131,3272,3106,2979,3062,3376,3517,3286,3032,2736,2624,2824,3249,3157,3056,3132,3024,3149,3115,3230,3122,2867,2758,2732,2546,2440,2758,3033,2770,2574,2646,2689,2667,2798,3030,2708,2292,2447,2890,3196,3354,3054,2800,2579,2304,2115,1832,1764,1704,1862,2264,2379,2108,2374,2842,2563,2392,3401,3658,2920,3194,3428,3265,3193,3017,2862,2518,2423,2658,2444,2750,2514,2767,2885,3028,2577,3272,3066,2824,2468,1778,2059,2766,2878,2908,3062,3399,3709,3340,2796,2398,2391,2919,3758,4132,4074,4301,4271,4364,4281,4018,3808,4024,3884,3792,3255,2188,1609,1570,1505,1450,1440,1438,1478,1540,1501,1557,1602,1502,1504,1711,2495,2878,2757,2349,2197,2483,2341,2666,3068,2763,2489,2545,2732,3078],[2437,2966,2731,2154,2177,1940,2287,2956,2961,3066,3089,2588,2264,2205,2374,2514,2388,2403,2154,2088,2247,2176,2187,2114,2233,2295,2248,2743,2813,1612,1519,1711,2156,2525,2564,2833,3137,3319,3261,2600,2045,2321,2111,1779,1837,1981,2810,3594,4105,3868,3504,3304,3360,3029,2756,2989,3196,2785,2459,2309,2150,2265,2354,2401,2461,3100,4039,4544,4400,3863,3061,2863,2553,1939,1860,2402,2830,2072,1612,1453,1397,1715,1844,1684,2073,2491,2299,2053,1936,2078,2426,2087,2791,3393,2396,1967,2686,3056,2879,2429,2249,2495,2465,2537,2313,2167,2330,2074,1943,1968,2082,2127,1849,1806,2135,2838,2653,1828,1401,1703,1873,1988,2579,3114,3315,2714,2467,2752,2739,2462,2280,3130,2687,2337,2021,1802,2355,2746,2367,2120,2234,2469,2845,3068,2966,2403,1772,1918,2199,2517,3593,3349,2310,1873,2034,2212,1954,1778,2010,2021,2228,2978,3143,3297,3361,3065,3196,3580,3413,2966,2901,2983,2644,2610,2062,1806,2112,1816,1372,1352,1631,2178,3073,3381,3117,3316,3382,3144,2413,2165,2641,2450,2987,3094,2950,2942,2433,2142,2155,2467,3054,2619,2300,1797,1821,1824,1532,1757,2285,2360,2711,2756,2317,2232,2064,2524,2707,1970,1754,2545,2553,1980,2772,2999,2959,3144,3836,3644,2256,1726,1902,2906,3334,3775,4141,3752,3167,3260,3239,2964,3106,3139,2742,2210,1858,2077,2573,2612,2619,3018,3215,3232,2493,1881,1968,2091,2344,3045,3575,2979,2884,2732,2195,1752,1866,1896,1694,1497,2036,3056,3097,1990,1895,2636,2736,2008,1918,1721,1950,1676,1239,1689,1988,1743,1558,1874,2460,2293,2047,1956,2183,2030,1715,1613,1484,1477,1631,1493,1491,1738,1923,1932,1904,2302,2210,2064,1864,1649,1510,1458,1522,1528,1410,1470,1534,1434,1512,1702,1374,1287,1326,1595,1693,1712,1710,1547,1605,1489,1506,1670,1721,2084,1928,1596,1613,1513,1290,1607,1862,2050,2237,1794,1506,1613,1786,1868,2054,2113,2171,2025,1679,1615,1816,1967,1651,1577,1594,1644,1644,2028,2273,2069,1972,1966,1776,1882,1818,1924,2139,1734,1542,1734,1703,1910,1771,1672,1444,1424,1485,1719,1748,1563,1641,1597,1748,1880,1385,1512,1693,1724,1677,1849,1950,1638,1372,1368,1403,1583,1556,1448,2170,1995,2026,2735,2370,2472,2174,1718,1697,1686,1411,1277,1344,1384,1554,1410,1217,1082,975,1476,1808,1754,1427,1407,1482,1692,1772,2143,2391,2484,2118,1876,2055,1830,1618,1564,1297,1228,1265,1333,1443,1149,966,950,998,1055,965,891,878,1098,1207,1186,1498,1602,1478,1531,1687,1684,1729,1753,1776,1913,1901,1796,2116,2721,2651,2373,2179,2135,2030,1602,1419,1721,2008,2120,1992,2515,2426,2150,2363,2641,2688,2539,2549,2676,2076,2543,2138,2009,2701,2563,3059,3343,2676,3009,4139,4421,3684,2723,3146,3863,3797,3793,3692,3166,2576,1988,1651,1429,1853,2395,2222,1925,1862,2323,2474,2108,2212,2061,1959,1580,1800,2011,1807,1834,1622,1867,1749,1813,1725,1758,1748,2014,2176,1879,1610,1778,1707,1620,1645,1676,2518,2568,1631,1458,1596,1618,1527,1763,1620,1557,1999,1780,1804,2129,2490,2609,2569,2557,2728,2701,2752,2719,2740,2979,2979,2712,2692,2480,1919,1931,2033,1896,2083,2173,1866,1858,1774,1796,2050,1713,1476,1638,1665,1549,1583,1556,1727,2337,2010,1906,2212,2474,2884,3134,3012,2858,2666,2313,2645,2576,2321,2468,2357,1916,1391,1468,1799,1857,1653,1407,1538,1639,1726,2670,2847,2457,2416,2584,2371,2071,1984,1758,1682,1924,1947,2044,1997,2448,1894,1514,1487,1586,1598,2009,2353,1983,1720,1583,1425,1558,1417,1829,2029,2050,1798,1574,1709,2008,2423,2242,1554,1533,1964,1840,1744,1818,2144,1909,1708,1876,1802,1614,1716,1728,1872,2105,2391,2241,2478,2110,1597,1327,1173,974,1436,2396,2965,3098,2973,2768,2213,2159,2009,1830,1859,1602,1734,1855,1912,1900,1902,1737,1663,1539,1703,2113,1726,1480,1882,1707,1992,1838,1726,1700,1532,1651,1877,1857,1920,1454,1444,2066,2438,2643,2570,1978,1526,1453,1437,1610,1849,1738,2375,2572,2227,2104,1673,1378,1648,1895,1969,2589,2600,1960,1948,1719,1654,1800,1859,1831,2002,1752,2542,3348,3538,3628,3471,3010,2498,2186,2023,1836,2097,2656,3226,3293,3362,3098,3138,3056,3068,3254,3388,3498,3466,3462,3337,3164,2741,2390,2336,2590,2770,2832,3003,3123,3417,3872,3874,3386,3085,3140,3196,3391,3217,3094,2939,2520,2116,2076,2155,2274,2418,2188,1733,1586,1801,2134,2406,2238,2258,2680,2919,2875,2326,1490,1741,2664,2605,2646,2520,2675,2728,2674,2787,2600,2007,1629,1613,1552,1519,1720,2298,2397,2129,2185,2615,2976,3225,3363,3424,3431,3428,3508,3580,3298,3383,3342,3358,3506,3652,3549,3709,3624,3372,3366,3348,3338,3104,2928,3081,3528,3875,4256,4196,3902,3683,3750,3770,3955,3894,4010,4524,4541,4456,4371,4218,4141,3112,2037,2008,2911,4082,4672,4660,4668,4660,4505,4209,4296,4252,4132,3469,3409,3691,3701,3646,3572,3682,4008,4112,4001,3925,3405,2855,2361,1871,2338,2496,2534,2921,2880,2045,1630,1460,1932,2791,2206,1696,1611,2210,2767,3201,2563,2521,2790,3217,3552,2952,2331,2321,2583,3051,3131,3218,3898,3646,3011,3088,3176,3019,3130,3680,4061,3834,4183,4449,4395,4424,4373,4321,3875,3168,3765,4365,4054,3698,3696,4026,3953,4302,4265,4284,4341,3975,3809,3123,1821,1230,1308,1540,1722,1698,1718,1859,1968,2020,2031,2065,1855,1698,1919,2172,2140,2024,1981,2348,2853,3150,2983,2700,2376,2110,1998,1814,1813,2046,2651,2675,1990,1737,1641,1589,1498,1417,1452,1427,1438,2218,2144,1675,1536,1570,1816,1895,1612,2104,2973,2820,2931,3262,3475,3312,3160,2978,2336,1824,2063,1874,1649,1555,1631,1816,1602,1505,1521,1456,1391,1416,1392,1461,1473,1426,1593,1584,1458,1401,1399,1499,2230,2651,2972,3155,3174,3153,2915,2894,2851,2632,3178,3584,3498,2398,1832,1827,1958,2059,2088,2409,2539,2328,1944,1783,1946,2374,2059,2328,2636,2742,2300,2541,2902,2570,2008,2046,2565,2004,1875,2130,2261,1889,1627,1726,2120,1924,1508,1596,1841,1823,1722,2373,2859,3096,2877,3243,3773,2864,1921,1510,1544,1465,1341,1644,1982,1984,1636,1775,2121,1854,1801,1916,1779,1726,1813,2342,2584,2132,1924,1946,1827,2066,2434,2302,2459,2725,3408,3211,2425,1682,1855,1994,1903,2277,2031,1793,1581,1920,2113,1733,1615,2054,2393,2032,2209,3118,4072,3973,3119,2499,3198,3395,3262,3051,3272,2990,2059,1454,1455,1549,1450,1373,1483,1555,1703,1651,2202,3425,3913,4307,4386,4066,3901,4168,4139,3705,3307,3369,2945,2693,2645,2565,2884,2764,2568,3168,3292,2663,2299,2366,3085,3341,3597,3718,3533,3564,3284,2938,2907,2958,3046,3338,3282,3229,3703,3636,3218,3095,3190,3153,3130,3020,2993,2897,2742,2708,2783,2729,2618,2764,2764,2203,2080,2343,2387,2764,2650,2650,2719,2683,2696,1874,1823,2086,2127,2046,1929,2049,1793,1742,1864,2033,2328,3030,3251,2245,1799,1764,1598,1539,1652,1986,1859,1697,1985,2490,1979,1541,1642,1914,2637,2721,2467,2984,3587,3784,4019,4321,4139,4004,4049,3485,2669,2244,1822,2244,3296,3475,3908,3722,3506,3484,3608,3605,3666,3711,3591,3510,3059,2939,2832,3261,3238,3462,3440,3504,3205,2718,2943,3312,3631,3828,3924,3566,3090,3878,4074,3741,3205,3271,3305,3480,3709,3482,3022,2591,2113,2325,3002,3517,3650,3727,3694,3584,3637,3606,3640,3720,3538,3655,3572,3527,3880,4209,3682,2945,1928,2668,3339,3206,3133,2921,2786,2915,2850,2820,2653,2688,3055,3276,3658,3586,2946,2770,2533,2187,1954,1783,2288,3165,2655,2084,2763,3117,2653,2345,1951,1851,2116,2163,2163,2599,2843,3068,3262,3203,2822,2276,2281,2654,2529,2439,2431,1982,2282,3587,3584,2578,1668,1506,1395,1465,1530,2062,2271,2814,2734,2043,1707,1942,2552,2555,2424,2441,2684,2166,1646,1659,1970,1834,1587,1799,2375,2214,1981,2098,2096,2405,2274,2139,2271,2467,2459,2437,2471,2441,2447,2743,2776,2540,2555,2309,1897,2019,2613,3228,3575,3643,3385,2994,2269,2072,2810,3093,2938,3251,3639,3409,2732,2302,2062,1951,1775,2072,2420,2511,2676,2766,2877,2899,2502,2630,2668,2577,3053,3311,2885,2743,2411,2547,3064,2959,3231,2633,1686,1651,1978,1930,1799,1821,2025,2273,2689,2812,2525,2357,2458,2196,2316,2576,2314,1765,1867,1746,1826,2046,1869,1932,2292,2430,2249,1833,1634,2086,2426,2976,3504,3773,3768,3414,2954,2332,1845,1206,1490,1886,1836,2241,2536,2508,1538,940,1682,2275,2539,3133,3630,3787,3897,3281,2490,2140,2173,2644,2787,3022,3086,3122,3430,2865,2034,2315,2359,2465,2751,2315,2020,1996,1938,2414,2165,1785,1503,1846,1799,1868,2174,2263,2548,2447,2423,2601,2216,1569,1714,1728,1736,1865,2001,2177,2265,2112,2298,2595,2617,2740,2995,2393,2129,2078,2049,2383,2808,2588,2442,2864,2732,3183,3270,3301,3270,3263,3303,3286,3240,3127,3077,3253,3276,2902,2833,3122,3283,2959,2423,2319,2243,2411,2729,2864,2873,2666,2601,2725,2943,3398,3352,3353,2984,2807,2723,2624,2318,1904,1650,1714,1809,1808,2166,2425,2431,3184,3827,3392,3015,3605,3750,3693,3282,2468,2040,2292,2271,2335,2590,3097,2881,2901,2854,2695,2678,3059,2939,2510,2260,2126,2591,3087,3122,2947,3288,3652,3720,3083,2408,2344,2556,2868,3663,4119,3935,4037,4083,4132,4005,3828,3576,3338,3463,3951,3520,2403,1602,1512,1491,1444,1413,1416,1474,1563,1529,1536,1549,1703,2058,2384,2690,2810,2928,2178,1579,2373,2561,2792,3078,2842,2491,2376,2413,2618],[2472,2907,3045,2623,2470,2262,2602,3285,3349,3363,3188,2934,2752,2489,2810,2725,2248,2139,2155,2210,2271,2283,2264,2230,2272,2603,2836,3135,3154,1572,1430,1468,1566,1687,2444,3260,3363,3353,3292,2871,2510,2698,2242,2535,3393,3631,3273,2700,3354,4220,3978,3691,3330,2709,2615,2980,2956,1898,1711,1918,2216,1938,1891,2200,2331,2543,2700,3096,3196,2980,2555,2573,2270,1982,2476,2464,2413,2082,1825,1942,2025,2070,2058,2051,2627,2808,2059,2028,2264,2369,2281,1875,2589,3387,2581,2147,2562,2771,2245,2250,2581,2930,2696,2742,2341,2432,2158,1989,2808,2797,2119,2136,2150,1765,2018,2442,1969,1659,1636,1829,1985,2318,2835,3132,3322,2631,1852,1896,2230,1735,2184,2889,3024,2609,2149,1831,2019,2207,1995,1823,1996,2243,2844,2649,2310,2148,2172,1914,2153,2532,3060,2984,2359,2197,2377,2776,2260,1982,2197,2385,2578,3143,3289,3476,3356,2988,3394,3780,3708,3425,2865,2271,1703,1975,1698,1981,1807,1453,1322,1534,1772,2181,3107,3385,2851,3111,3083,2648,2121,2524,2674,2415,2562,2519,2425,2587,2340,2648,3383,3173,3024,2889,2452,1961,1837,1899,1908,2231,2584,2700,2815,2449,1969,1975,2022,2429,2398,1843,1853,2377,2486,2367,2876,2951,2562,2795,3112,3231,2618,2083,2327,2523,3100,3440,3816,3871,3359,3118,3094,2946,2962,2437,1722,1454,2042,2662,3098,2880,2906,2895,2711,3425,3474,1928,1722,2410,2381,2381,2915,2600,2627,2242,1820,1904,2062,2046,2024,1823,1892,2297,2013,1847,2326,2512,2232,1845,1599,1323,1563,1339,1177,1771,1756,1664,1765,2243,2746,2397,2402,2370,2284,2087,1749,1607,1490,1398,1519,1562,1566,1929,2627,2693,1980,1693,2076,1969,1670,1488,1399,1460,1326,1262,1428,1603,1582,1497,1546,2049,2562,1957,1395,1489,1412,1548,1892,1506,1431,1419,1405,1603,1575,1763,1678,1594,1688,1453,1320,1582,1833,2254,2088,1485,1748,2035,2303,2388,2613,2354,2047,1959,1803,1931,1991,2104,1679,1372,1353,1440,1514,1591,2034,2002,1976,1874,1894,1977,1986,1995,1932,1773,1749,1853,1881,1933,1854,1672,1638,1503,1395,1638,1628,1563,1628,1641,2042,1827,1409,1694,1852,1852,1932,1921,1890,1798,1414,1542,1790,1645,1386,1311,2664,2449,1896,1784,1795,1852,1765,1606,1403,1228,1358,1355,1275,1324,1372,1318,1476,1366,1167,1571,2038,1722,1478,1806,1897,2027,1781,1652,1908,2075,2112,2150,2324,1782,1322,1278,1284,1387,1486,1360,1125,939,956,911,984,1039,1029,912,939,1118,1169,1140,1145,1162,1290,1439,1725,1569,1543,1842,1743,1724,2113,2320,2690,3088,2370,1741,1803,2127,1895,1692,1621,2117,2103,1761,1998,2297,2087,2806,3314,2896,2630,2794,2403,2283,2029,2740,2786,2229,2850,3388,3297,3316,2554,2242,2849,3846,3438,2995,3484,3789,3399,3552,3508,2641,2207,2340,2274,1912,2270,2072,2116,1794,1430,1699,1821,2009,2454,2736,2177,1455,1685,2262,2474,2453,2021,2194,2385,2617,2322,1892,1768,1903,1896,1570,1490,1767,1936,1853,2007,2121,2911,2951,2264,1892,1797,1717,1489,1531,1675,1953,2392,2187,2432,2693,2218,2391,2555,2790,2477,2134,2403,2523,2696,3362,3442,3174,2360,2535,2138,1779,1746,2009,2253,2043,1571,1666,1908,1840,2096,1849,1634,1537,1650,1583,1748,1866,2076,2214,1760,1785,2126,2003,2348,2702,2477,2320,2421,2244,2506,2388,2354,2299,2346,2251,1632,1615,2076,1741,1609,1526,1826,1961,2014,2331,2160,2223,2330,2094,1821,2232,2105,1807,1884,1954,2004,1674,1499,2129,1958,1475,1503,1447,1536,2110,1832,1589,1523,1615,1471,1377,1660,1694,1604,1947,1978,1786,1509,1497,1869,1814,1582,1806,1852,1876,1749,1837,2002,1698,1549,2142,2297,1877,1964,2069,2205,2307,2069,2081,2166,1788,1474,1268,931,855,1278,1658,2362,3199,3163,3046,3122,2387,2036,2103,2267,1954,1688,1823,1767,1920,1768,1453,1539,1893,2136,1689,1555,1545,1648,1886,2438,2536,2076,1843,1714,1614,2189,2137,1704,1547,1637,1820,2316,2411,2042,1752,1754,1984,1533,1881,2025,1964,1967,2022,1996,2041,2083,1839,1825,1748,1802,2329,2005,1554,1883,2209,2250,1545,1447,2217,2344,2105,2908,3372,3372,3527,3650,3143,2372,2082,2199,2631,2979,2931,2973,2972,2930,3221,3336,3086,3212,3449,3226,3379,3372,3168,3066,3008,3012,2757,2555,2732,2752,2810,3033,3072,3084,3587,3757,3594,3162,2840,3283,3680,3320,2977,2841,2501,2274,2234,2301,2777,2906,2517,2215,2193,2166,2546,2844,2548,2194,2254,2352,2470,2676,2186,2083,2318,2175,2173,2076,1933,1910,1975,2268,2531,2534,1970,1585,1510,1424,1476,1582,1619,1604,1668,2125,2783,3189,3269,3259,3330,3353,3443,3624,3162,3333,3609,3292,3473,3840,3506,3351,3227,3062,3128,3273,3344,3140,3141,3447,3764,4141,4200,3804,3702,3926,3747,3325,3468,4050,4029,4300,4432,4372,3770,3581,3132,1648,1177,1187,1639,3074,4355,4373,4362,4275,4143,3912,3876,3740,3520,3522,3739,3952,3908,3738,3757,4148,4209,4012,3783,3862,3408,2984,1836,1746,2391,2491,2984,3372,2600,1710,1568,1644,1799,1643,1284,1444,2024,2326,2641,3013,2606,2397,2819,3464,3978,3552,2253,2217,2215,2350,2007,2027,2470,2332,1900,2268,2908,2984,3054,3373,4111,4304,4466,4584,4564,4487,4429,4353,3886,3335,3641,4006,3720,3551,3738,4241,4341,4249,4043,4117,4339,4232,3927,3217,2240,1502,1268,1434,1660,1730,1721,1886,2093,2244,2304,2304,2078,2086,2348,2056,1707,2073,2629,2801,2953,2911,2480,2115,1867,1788,1793,1917,2272,3016,3791,3549,2240,1778,1634,1804,1921,1710,1489,1452,1526,1834,1776,1740,2051,1895,2228,2498,2312,2183,2583,2513,2730,3051,2928,2872,3293,3165,2251,1700,1851,1489,1514,1564,1950,2283,1855,1531,1449,1355,1328,1357,1242,1322,1550,1542,1597,1677,1617,1491,1823,2291,2885,3283,3228,2974,2877,2931,2984,2876,2517,2147,2379,2688,3242,2802,2023,1758,1992,1987,2125,2737,2475,2524,2647,2566,2721,2574,2322,2438,2756,2790,2191,2153,2421,2191,1954,1981,2512,2364,2321,2166,1954,1621,1471,2040,2455,2088,1760,1748,2214,2299,1870,1911,2211,2768,2396,2447,2479,2083,1557,1332,1478,1516,1426,1698,2019,1952,1565,1606,1949,1978,1894,1815,1822,2060,1964,1886,2071,2388,2315,1976,1524,1748,1784,1678,1927,2925,3977,4002,2972,1547,1678,1697,1726,2242,1946,1977,1866,1870,1937,1722,1712,2408,2762,2302,1909,2265,3440,2888,2143,2040,2722,3071,3197,3226,3638,3740,2639,1592,1526,1344,1494,1560,1529,1594,1544,1621,2612,3675,4143,4342,4330,4263,4127,4183,4264,4245,3839,3651,2979,2514,1925,1870,2868,3196,2639,2635,2790,2448,2174,2357,2902,2950,3212,3360,3205,3263,3266,2908,2841,2918,2942,3234,2949,2840,3291,3310,3162,2996,2931,2978,3001,2987,3239,3182,3139,3079,2880,2975,3000,2822,2458,2298,2288,2385,2869,3082,2675,2769,2676,2710,2353,1497,1674,1990,2099,1940,2020,1896,1694,1812,1767,1752,2040,2756,3053,1938,2126,2242,1811,1549,1705,1997,1852,1625,2389,3062,2147,1900,2084,2418,2792,3289,3110,3153,3420,3676,4140,4144,3785,3752,3829,3400,2920,2497,1905,2135,3168,3595,3960,3916,3594,3543,3591,3516,3500,3388,3153,3119,2596,2822,2906,3029,3281,3623,3870,3752,3273,2856,2896,3207,3680,3031,3266,3362,3537,3973,4002,3770,3497,3577,3666,3827,3797,3450,3001,2260,2490,2990,3142,2999,3043,3097,2837,2605,2741,2984,3348,3349,2896,2990,3117,3381,3790,4028,3448,2875,2403,2812,3255,3060,2897,2814,2876,3082,2922,2797,2972,3081,3239,3515,3522,2908,2742,2424,1406,1527,2199,2037,2269,2341,1919,2846,3527,3498,2889,2141,1996,2183,2576,2624,2277,2380,2950,2480,2331,2769,3037,2776,2956,3051,2840,2841,2486,1815,2391,3617,3616,3195,1845,1605,1520,1418,1399,1604,1842,2023,2018,1746,1391,1772,2346,2621,2912,3002,2864,2054,1785,2097,2362,2556,1874,1313,2111,2192,1700,2115,2103,2294,2426,2229,2356,2534,2527,2504,2526,2734,2867,2596,2517,2612,2377,2253,2077,2574,3088,3451,3621,3505,3337,2699,1891,2273,3141,3252,3285,3509,3322,2890,2888,2678,1912,1764,1806,1969,1853,1945,2125,2148,2253,2368,2158,1917,1802,2129,3333,3943,3514,2944,2491,2443,2624,2643,2712,2351,1743,1886,1719,1847,2334,2443,2083,2268,2891,3025,2791,2954,2884,2746,2053,1960,2446,1968,1793,2126,2373,1925,1596,1626,2049,2359,2388,1901,1932,2632,2942,3106,3254,3382,3296,3296,3210,2765,2176,1632,1537,1938,2088,2510,3046,3496,3163,2535,2642,2797,2624,2854,3168,3065,3532,3415,2261,1410,1318,2099,2700,2576,2337,2602,2597,2449,2473,2613,2071,2009,2382,2255,1766,1479,1937,2214,2092,2054,1637,1895,1854,1906,1864,2307,2440,2380,2034,1964,1818,1675,1748,1720,1840,1648,1964,1714,1601,1792,2575,2596,2539,2530,2016,1731,1772,1677,1713,2403,3096,2700,2443,2678,2260,2546,3194,3263,3225,3438,3517,3378,3215,3222,3484,3654,3303,2998,3449,3365,3159,3132,3011,2849,2579,2531,2821,3303,3535,3522,3404,2865,2518,2873,3228,3352,3451,3528,3395,3183,3009,2590,2150,1922,1693,1589,1984,2126,2199,3226,3548,3270,3309,3520,3983,4012,3129,2769,2914,2830,2531,2355,2424,2681,2806,2670,2502,2656,2797,2945,2296,1825,1786,2630,3283,3262,2992,2867,3185,3384,3310,2988,2540,2264,2391,2492,3475,4208,3961,3783,3818,3572,3583,3596,3410,3141,3519,4065,3579,2789,1985,1593,1489,1438,1414,1413,1451,1499,1497,1563,1709,2308,2922,2973,2751,2908,3144,2441,2180,2620,2639,2662,2801,2710,2740,2923,2996,2898],[2654,2805,3021,2829,2632,2599,2975,3217,3277,3134,2598,2307,2229,2210,2471,2366,2212,2171,2349,2656,2765,2854,2747,2490,2540,2745,2792,2958,3454,2268,1617,1484,1208,1298,2296,3279,3124,2732,2819,2495,2288,2792,3196,3882,4160,4163,3611,2757,3083,3702,3759,3465,3190,3186,2262,2272,2060,1222,1106,1763,2227,2015,2618,3260,2593,2139,1697,2497,2573,2141,2344,2459,2519,2562,2525,2216,2208,2239,2214,2486,2445,2326,1886,1769,2225,2471,2747,2827,2624,2692,2692,2293,2539,2603,2366,2975,2836,2737,2167,1843,2201,2701,3200,2845,1980,1996,1941,2828,3604,3577,3000,2133,2196,2119,2043,1759,1671,1737,1610,1432,1382,2244,2874,2765,2763,2207,1617,1858,2591,2563,2460,2824,2823,2641,2511,2040,2234,2837,2426,2091,1985,1936,2160,2076,2156,2322,2145,1818,2089,2507,2839,3269,3066,2258,2095,2854,3104,2428,2266,2679,2620,2860,3271,3510,3300,3238,3397,3554,3709,3399,2641,2186,2040,1703,1586,1850,1925,2050,1888,2030,2168,2195,1895,1975,2358,2869,2626,2145,2049,2205,2330,2137,2298,2898,3105,3007,1917,2433,3061,2823,2663,2944,2452,1755,1537,1758,1927,2025,2279,2397,2226,2164,2100,2169,2622,2352,2081,2127,2200,2162,2438,2566,2522,2275,2026,2451,3332,3360,3189,2688,3098,3212,3105,3064,3214,3736,3769,3154,2996,3329,2827,1958,1425,1764,2700,3155,3334,2646,2243,2707,2937,3506,3938,2293,1456,1894,2679,2355,2816,2437,1865,1697,1672,1936,2065,2161,1890,1999,2300,2176,1936,2197,2282,2123,1815,1698,1533,1554,1700,2048,1991,2258,1831,1888,2064,2524,2632,2338,2496,2357,2266,2405,2005,1427,1403,1608,1772,1825,1560,1943,2540,2422,1874,1504,1451,1613,1717,1592,1572,1474,1428,1355,1504,1467,1517,1566,1626,1780,1905,1826,1623,1383,1415,1712,2140,1596,1377,1533,1663,1776,1830,1805,1738,1824,1782,1760,1742,1919,2414,2191,1742,1768,1957,2193,2118,2257,2801,2371,1841,1981,1747,1918,1759,1632,1489,1317,1395,1430,1440,1472,1635,1972,1991,1590,1683,1670,1777,1991,1862,1721,1799,1874,1817,1968,2060,2011,1884,1695,1694,1825,1573,1713,2154,1930,1665,1459,1470,2062,2150,1634,1654,1646,1306,1218,1282,1447,1406,1393,1313,1297,1924,1857,1634,1677,1685,1720,1864,1739,1378,1318,1485,1414,1228,1399,1403,1280,1450,1359,1292,1812,1981,1614,1968,2103,1874,1759,1710,2052,1921,1909,1978,2125,2012,1506,1277,1470,1647,1642,1396,1145,1057,1004,916,975,1067,1064,1118,1147,1001,1003,1102,1112,1261,1494,1477,1547,1738,1450,1608,1817,1437,1386,1858,2198,2170,2065,1653,1443,1815,2073,1982,1780,1882,2031,1844,1552,1678,1745,1762,2649,3385,3194,2909,2771,2221,2108,2588,3803,3853,2401,1954,2326,2518,2996,2378,1891,2126,2909,3105,3073,3395,3914,3605,3359,3476,2565,2170,2790,2802,1551,1580,1858,1722,1705,1501,1426,1565,1771,1969,2250,2085,2083,2038,2169,2657,3080,2686,2148,2208,2984,2930,1993,1698,1789,1787,1739,1572,1606,1766,2176,2115,2237,2945,2586,1937,1875,2031,2032,1792,1743,1768,2030,2103,2734,2649,2232,1805,2242,2585,2465,2134,1727,1945,2494,2712,3134,3053,2734,1685,1786,2116,1795,1900,2429,2282,1878,1660,1404,1476,1484,2244,2343,1786,1528,1594,1511,1607,1693,1695,1807,1625,1558,1964,1820,1800,1941,2392,2530,2586,2613,2709,2365,1955,1860,2075,2170,1466,1571,2115,2105,2048,1826,1838,1853,2187,2244,2192,2373,2300,1933,2023,2546,2122,1647,1672,1720,1816,1531,1402,1678,1804,1780,1598,1600,1810,2340,1556,1457,1479,1760,1779,2093,2249,1738,1727,2099,2115,2002,1870,1700,1786,1722,2192,2449,1935,1817,1728,1561,1695,1858,2001,2001,1804,1902,2159,2364,2179,2216,2147,1879,1748,2008,1934,1560,1330,1330,1431,1609,1877,2307,2629,2568,2610,2275,2265,2150,2249,2116,1740,1598,1339,1691,1992,2008,1826,2403,2415,1856,1528,1926,2289,1969,2219,2646,1976,2105,2343,1864,2038,2033,1606,1515,1541,1703,2165,2075,1726,1777,1880,1720,1643,2029,1726,2020,2019,1840,1818,2143,2369,2114,1895,1614,1692,2023,2157,1525,1781,2173,1914,1711,1666,2117,2242,2232,2723,2918,2813,3226,3172,2686,2381,2142,2208,2844,2968,2586,2481,2533,2599,2897,2925,3373,3565,3302,2986,3110,3034,2672,2631,2886,3009,2830,2770,2872,2903,2917,2980,3039,3019,3126,3426,3594,3408,3248,3647,3950,3680,2831,2312,2454,2474,2497,2642,2740,2589,2623,2752,2435,2402,2785,2809,2721,2316,2143,2165,2662,2998,2160,1760,1626,1573,1543,1520,1446,1395,1772,2460,2768,2770,2597,1795,1528,1453,1487,1458,1367,1445,1497,1779,2542,3237,3422,3373,3397,3363,3251,3422,2971,3098,3851,3520,3454,3815,3360,2884,2818,2888,3219,3386,3420,3451,3580,3870,3804,3758,3789,3546,3661,4287,4319,4099,4081,4144,4098,4313,4465,3161,1938,2139,1654,1020,949,983,1210,2400,3895,4128,3921,3864,4052,3930,3728,3692,3771,4018,4249,4304,3885,3885,4496,4793,4572,3838,3843,3928,3199,2557,1670,1954,2450,2082,2619,2655,1977,1668,1875,2216,2206,1782,1390,1799,2275,2242,2359,2622,2375,2069,2534,2815,3221,3675,2709,2233,2108,1907,1338,1181,1589,1718,1391,1714,2646,2955,2854,3097,3904,4212,4122,4425,4664,4544,4573,4128,3475,3808,3719,3500,3424,3769,3915,4100,4031,3649,3347,3510,4043,4133,3371,2886,2780,2301,1780,1398,1628,1743,1709,1885,2160,2340,2397,2328,2041,1951,2042,1537,1235,1897,3011,3088,2623,2116,1883,1875,1867,1919,2237,2794,3264,3652,3764,3253,2402,2002,1707,2156,2553,1963,1502,1499,1417,1625,2158,2139,2198,2023,2514,2740,2556,2157,2296,2383,2539,2596,2386,2495,2888,2674,1918,1767,1591,1574,1576,1475,1681,1963,1965,1765,1442,1513,1387,1461,1308,1432,1448,1490,1526,1517,1515,1572,1908,2366,2797,3030,2524,2221,1983,2286,2653,2845,2553,2128,1935,1862,2373,2624,2054,1852,2188,1861,2254,3023,2577,2882,3427,3606,3610,2893,2679,2376,1647,1657,1913,2120,2397,2122,1879,1755,2356,2759,2442,2287,2101,1665,1462,1815,2061,2070,2349,2243,2441,2454,2247,2132,2383,2372,2155,2065,2134,2215,1913,1602,1960,1819,1562,1513,1665,1691,1561,1782,2023,2024,2100,2073,2203,2635,2061,1719,2014,2327,2257,1979,1765,1664,1523,1530,1518,2626,3729,3309,1937,1495,1996,1964,2316,1947,1778,2000,1896,1799,1988,2039,1830,2438,2523,2303,2165,2308,2647,1897,2034,2669,3111,3410,3223,3262,3449,3657,3141,1891,1594,1489,1561,1600,1505,1419,1497,1598,2302,3606,4057,4207,4527,4399,4115,4292,4365,3840,3619,3818,3052,2172,1994,2042,2614,3051,2664,2787,3330,3284,3232,3222,3476,3574,3594,3484,3220,3259,3320,3119,3371,3309,3207,3436,3348,3068,3265,3450,3277,3233,3130,3083,2993,2993,3276,3254,3153,3111,3000,3010,3094,2846,2683,2856,2887,2796,2945,2975,2697,3040,2636,2811,2226,1710,1828,1990,1979,1923,1918,1700,1798,2115,2123,1859,2124,3141,3099,1893,1868,2521,2393,1771,1872,2342,2150,1759,2560,3410,2779,2524,3118,2944,3032,3518,2955,2848,3351,3784,4035,3884,3383,3241,3265,3134,3134,3022,2807,2996,3557,3819,3740,3547,3690,4100,3918,3498,3430,3430,3150,2862,2841,2910,2776,2524,2654,3076,3186,3311,3151,2456,2312,2901,3304,2701,3052,3246,3609,3912,3902,3956,4144,4007,3916,3871,3321,3011,2610,1850,2987,3871,3637,3027,2892,3008,2635,2443,2791,2665,3063,3247,2739,2303,2513,2984,3477,3649,3292,3055,2743,2676,3140,3150,3275,2954,3042,3217,3062,2984,2985,3296,3362,3212,3099,2751,3207,2620,1555,1086,1373,2375,2718,1741,1772,2919,3530,3554,2576,1792,1759,2216,3028,2984,2473,2780,3043,2213,1968,1780,2157,2744,2928,2906,2735,2365,2024,1647,2530,3188,2899,2614,1811,1616,1602,1555,1371,1481,1761,1633,1773,1566,1629,2097,2191,2105,2566,2541,2069,1831,1726,1487,2080,2663,1997,1315,1909,2257,2417,2434,2041,2269,2648,2577,2424,2315,2421,2421,2631,2840,3003,2575,2590,2577,2358,2517,3137,3808,3760,3441,3431,3764,3507,2328,2430,2887,3295,2941,3119,3145,2906,2817,3389,3284,2398,2329,1975,1590,1698,2128,2085,1960,1932,1778,1717,1814,1842,2025,2702,2833,2723,2841,2988,1997,2115,2244,2379,2387,2166,2093,1864,2017,2451,2565,2162,2480,3227,3538,3119,3250,2974,2752,2408,2453,2392,2014,2061,2587,2288,1589,1632,1582,1951,1925,1814,1975,2157,2647,3088,3286,3211,3261,3204,2981,2962,2854,3041,2641,2166,2186,2403,2658,2873,3527,4254,4008,3343,3021,2480,2226,2493,2551,3255,3352,2334,1686,1623,1786,2081,2451,2253,2596,2872,3165,3351,2878,2512,2449,2518,2216,1690,1533,2301,2504,2490,2427,2414,2193,2024,1771,2057,2537,2370,2303,2010,1616,1702,2046,2169,1850,1865,1400,1974,1956,1794,1962,2572,2461,2303,2233,1768,1703,1774,1992,1911,2655,3365,3311,2889,2412,2013,2484,3194,3230,3226,3477,3432,3407,3571,3550,3372,3359,2951,2574,2973,3094,3086,3015,2805,2783,2736,2389,2399,2465,2905,3245,3340,3340,3012,2859,2821,2895,3373,3790,3812,3671,3414,3000,2871,2702,2242,1707,1854,1928,1869,2724,3031,2868,3019,3212,3473,3723,3548,3205,2750,2414,1972,2138,2460,2892,3213,2574,1843,1889,2213,2504,2015,1678,1843,2526,2852,2729,2230,2326,2719,3002,3164,3100,2659,2326,2313,2093,2496,3593,3783,3487,3255,3242,3420,3303,3018,2853,3041,3513,3542,2955,2028,1626,1447,1466,1498,1463,1462,1521,1606,1727,2170,2832,2797,2913,2699,2822,3252,2658,2278,2380,2474,2755,2719,2147,2551,2930,3309,3133],[2886,3248,3400,3094,2792,2950,3117,3204,2934,2446,1989,1862,1897,1959,2081,2120,2109,2222,2690,3106,3083,3312,2944,2422,2489,2595,2934,3038,3527,2796,2199,2499,2183,2108,2399,2788,2626,2021,2291,2621,3333,4003,4433,4340,3773,3661,3755,3595,3772,3864,3560,2851,2680,3239,2691,2135,2089,1731,1808,2345,2486,2516,3483,3951,2700,1886,2186,2294,2398,2278,2377,2674,3199,3039,2116,1621,1803,1976,1942,2302,2415,2411,1890,2169,2094,2113,3238,3597,2758,2437,2755,2731,2504,1798,2160,2706,2630,2240,2260,1998,1809,2087,2829,2764,2260,2295,2499,3893,3933,3603,3123,2292,2175,2320,2287,2149,2007,1742,1654,1707,1763,2849,2762,2868,2946,2620,2151,1892,2386,2920,2842,2694,2258,1545,1794,1894,2413,2728,2410,2562,2045,1947,2019,2470,2451,1990,2067,2210,2464,3168,3194,3393,3108,1625,1556,2221,2648,2245,2548,2836,2668,3055,3351,3482,3256,3097,3151,3573,3462,3017,2316,2248,2310,1780,1732,1942,2192,2588,2020,1990,1954,2076,1918,2193,3199,3255,2965,2457,2054,2395,2298,2076,2415,2807,3034,2934,2575,2733,2324,2675,2806,2920,2400,1778,2039,2314,2216,2248,2150,1863,1706,1654,1661,2377,3009,2834,2280,2272,2348,1890,2121,2220,1773,1997,1765,1717,2332,3105,3332,2879,2790,2932,3134,3289,2953,2923,3398,3020,2823,3686,3278,2053,2069,2555,2595,2459,2598,2664,2808,2895,3266,3719,3182,2009,1580,1706,2229,1831,1662,1601,1392,1655,1927,2132,2192,2040,2062,2827,2866,2581,2152,2341,2596,2103,1958,1902,1826,1961,1898,2449,2244,1805,1682,1901,1978,2154,2155,2064,2116,2129,1962,2503,2243,1647,1853,1727,1682,1547,1593,1867,1842,1724,1694,1460,1402,1587,1745,1570,1709,1424,1400,1420,1311,1350,1619,1638,1439,1555,1465,1466,1538,1433,1555,1572,1641,1746,1894,2116,1847,1677,1988,2025,2101,2666,2452,2146,1930,2228,3119,2951,2432,2170,2092,1997,1880,2413,2966,2384,1817,1901,1681,1900,2366,1955,1547,1387,1438,1617,1621,1614,1779,2046,2032,1685,1845,1627,1602,1841,1903,1823,1925,1939,1995,2029,2034,2055,1986,1926,1887,2018,1740,1813,2092,2030,1696,1641,1622,1573,1706,1650,1585,1612,1402,1421,1354,1212,1138,1433,1504,1460,1710,1932,1642,1510,1559,1911,2104,1809,1572,1543,1479,1404,1309,1556,1589,1221,1135,1100,1130,1717,1640,1704,2119,2010,1995,2008,1898,2266,2350,2153,1948,1746,1441,1566,1448,1571,1507,1460,1259,1149,1130,1036,1012,1054,1080,1081,1219,1094,1071,1019,1086,1427,1506,1654,1615,1535,1536,1350,1438,1493,1381,1301,1690,1908,2101,1837,1616,1510,1710,1866,2046,1967,2084,2519,2321,1775,1751,1916,2226,2889,3372,3296,3113,2419,1610,1744,2371,3532,3929,2864,1948,2141,2452,2242,2164,2077,2317,2630,2988,3487,4024,4208,3630,3011,3194,3012,3228,3397,3166,2066,2334,2231,1672,1773,1803,2037,2531,2370,1900,1763,2106,2163,2281,2211,2573,2771,2379,2274,2775,3260,2719,1841,1658,1466,1671,1862,1659,1676,1834,2011,1834,2035,2552,2160,1583,1999,2425,1948,1931,1817,1904,1948,2286,2994,2446,1720,1546,1864,2040,1786,1739,1478,1769,2692,2942,2803,2508,1934,1642,1962,1995,1705,2071,2536,2362,2106,1774,1487,1576,1490,1924,2116,1736,1702,1772,1748,1762,1482,1467,1627,1802,1574,1473,1500,1520,1832,2314,2508,2476,2488,2539,2387,1936,1724,1794,2295,1827,1668,1966,2190,2016,1665,1645,1685,2022,2377,2386,2229,2354,2008,2520,2706,2321,1775,1514,1415,1515,1724,1872,1736,1922,2210,1701,1774,1836,2133,1882,1798,1516,1591,1852,1884,1798,1554,1526,1456,1628,1836,1813,1767,1611,1660,2119,2292,1992,2042,1888,1783,1902,1721,1991,2226,1921,2304,2436,2644,2524,2239,2247,1938,1639,1955,2101,1933,2238,1624,1506,1527,1665,2100,2060,1784,1674,1855,1969,1767,1750,1768,1624,1539,1477,2066,2438,2192,1986,2282,2115,1548,1486,2067,2324,2400,2104,1955,1893,2121,2449,2580,2122,1842,1752,1698,1896,2238,2351,2035,1625,1880,2158,1617,1735,1785,1589,2134,2316,1970,1798,1922,2197,2215,1918,1566,1725,2445,2648,1947,1773,2448,2597,2016,2030,1910,1888,2027,2192,2459,2713,3015,2592,2148,1890,2147,2818,2946,2835,2748,2503,2320,2436,2473,3375,4231,4018,3447,3359,3282,2832,2438,2400,2700,2933,3056,2919,2854,3022,3050,2966,2967,2976,2949,2893,3182,3526,3533,3432,3642,3754,2973,2435,2455,2602,2890,2814,2445,2392,2728,2923,2651,2459,2790,3054,2977,2278,2162,2319,2725,3033,2244,1524,1491,1494,1484,1514,1479,1394,1523,2230,3161,3160,2785,1926,1572,1448,1407,1445,1454,1495,1409,1652,2431,2906,3125,2984,3168,3270,3016,2888,2964,3440,3877,4071,3898,3772,3295,3120,3179,2834,2841,3167,3584,3720,3560,3771,3855,3428,3303,3632,4157,4668,4500,4540,4207,4086,4123,4263,4395,2979,1483,1050,1078,1022,1122,1256,1643,2624,3776,3871,3552,4006,4228,4006,4041,4144,4404,4452,4342,4336,4404,4260,4504,4704,4448,3608,3597,3650,3197,2563,1788,1964,2170,1460,1900,1886,1511,2104,2585,2534,2039,2063,2242,2523,2625,2148,2534,2830,2726,2868,3266,2966,2807,3294,2972,2484,2121,2008,2093,2186,1639,1502,1498,1852,2750,2862,2740,2766,3627,4271,4210,4396,4527,4544,4677,4396,3973,4091,3519,3728,3520,3982,4191,4219,3826,3232,3470,4040,4085,3585,2556,2160,2336,2482,2453,1816,1652,1679,1655,1816,2082,2257,2230,2119,1955,1938,1949,1910,1975,2354,2520,2141,1864,1764,1727,1819,1969,2298,3143,4038,4288,3269,2675,2248,2206,1823,1690,2253,2301,1832,1701,1672,1670,1874,2534,2455,2755,2284,2258,2624,2252,2045,1769,1616,2250,2798,2765,2498,2534,2372,2115,1996,1660,1582,1462,1440,1426,1061,1336,1779,1768,1839,1413,1576,1389,1346,1482,1439,1422,1524,1735,1858,1821,1694,1906,2651,2094,1984,1958,2178,2908,3611,3758,3222,2746,2620,2489,2564,2382,2266,2199,2081,2532,2762,2578,2994,3384,3841,3416,2734,2557,2067,1553,1852,1960,1860,2322,2166,1794,2190,2597,2540,2485,2447,2247,1745,1548,1579,1643,1824,2075,2138,2146,2254,2328,2265,2294,2172,2035,2196,2282,2022,2282,2122,1901,1712,1791,1857,1914,1710,1927,2532,2385,1834,1945,1975,2269,2734,2165,1972,1972,2150,2059,1839,1797,1524,1545,1688,2084,2806,2954,2502,1835,1756,2188,2204,2260,2174,2069,1942,1832,1902,2482,2456,1813,1996,2106,2309,2565,2515,2486,2338,2818,3241,3044,2729,2620,3105,3416,3593,3602,2238,1552,1520,1549,1510,1497,1817,1996,1578,2213,3698,4119,4059,4560,4431,4099,3899,3658,3395,3684,4280,3870,2798,2686,2745,2646,2349,2915,3762,3872,3846,4039,3934,3823,3669,3361,3150,3123,3277,3349,3528,3738,3770,3884,3771,3461,3162,3501,3698,3332,3276,3282,3218,3131,3162,3189,3063,2980,3226,3106,3094,3248,3210,2956,2966,3230,3370,3115,3000,2893,2666,2169,2353,1931,1620,1768,1956,1942,1986,1834,1734,2160,2480,2512,2311,2919,3552,3218,2490,2517,3193,3054,2394,2326,2269,2035,1878,2764,3817,3283,3371,3472,2604,2577,3020,3021,3268,3544,3768,3964,3692,3528,3598,3216,2912,2899,3139,3103,3233,3636,3783,3902,3992,4200,4376,3979,3649,3852,4156,3963,3532,3321,3330,3279,3030,2999,3083,2975,3098,3047,2456,2396,3006,3593,3372,3377,3553,3581,3752,3892,3978,4101,3960,3540,2910,2951,3010,2431,2459,3375,3702,3631,3260,3082,3285,2763,2753,3364,3870,3761,3587,3025,2433,2302,2416,2985,3494,3284,3113,2840,2841,3067,3057,3450,3084,2497,2677,3081,3230,3465,3518,2727,2269,2734,3240,2943,2939,2728,1856,1426,2222,2130,1920,2984,3176,2775,3096,2376,2410,2189,2348,2955,2566,2566,3149,2808,2324,2458,2040,2163,2855,2820,2517,2362,2000,1971,1622,1675,2124,2163,1850,1658,1572,1453,1415,1394,1444,1692,1738,1871,1660,1813,2283,2043,2033,2250,2060,1894,1894,1832,1500,1757,1782,1521,1499,1865,2162,2776,2540,2270,2695,2890,2503,2249,2327,2461,2678,2823,2897,3055,2841,2631,2744,2667,2778,3182,2908,2800,3044,3112,3374,3251,2563,2843,3079,3321,3286,3220,3053,2966,3112,3320,3316,3045,2564,2019,1714,2085,2020,1692,1813,1654,1415,1458,1426,1495,1804,2308,2336,2196,2934,3146,2076,2216,2577,2578,2569,2669,2452,2326,2452,2888,2830,1936,1912,2340,2952,3328,3087,2902,3044,3117,3343,3494,2812,2687,3064,2199,1748,1711,2113,2361,1346,1781,2611,2363,2647,3197,3393,3348,3276,3105,2730,2797,2906,2988,2640,2719,3303,3719,3372,2407,1900,2328,3144,3256,2858,2290,1707,1845,2117,2523,2624,2135,1725,1862,1842,1823,2172,2232,2282,2280,2625,3263,3270,3184,3000,2463,2205,2069,2008,2743,2684,2503,2677,2873,2301,2122,2045,2104,2280,2157,1982,2048,1684,1908,2177,1860,1566,1692,1548,1935,2042,2160,2524,2492,1870,1878,2288,2160,2063,1908,2409,2852,3373,3203,3406,3249,2773,2543,2857,3250,3240,3265,3399,3435,3566,3522,3389,3190,3247,2935,2455,2577,2786,2985,3128,2889,2801,2396,1654,2105,2441,2422,2323,2812,3208,2927,2742,2640,2702,2917,3306,3474,3605,3593,3372,3193,2852,2692,2210,1935,1929,1722,1823,2039,2501,2867,3366,3566,3675,3614,3218,2801,2580,2059,2146,2691,2657,3023,2765,1907,2019,2167,1980,1813,1960,2442,2497,2709,2545,2030,2211,2511,2986,2954,2955,2251,2329,2500,2037,2027,2980,3450,3211,3014,3060,3212,3196,2899,3002,2919,3151,3275,2993,2321,1874,1758,1758,1628,1553,1498,1515,1599,1770,2199,2631,2404,2677,2565,2493,2800,2562,2319,2486,2780,2741,2403,2012,2469,2721,3166,2778],[3378,3746,3393,3176,2945,3190,3217,2957,2171,1826,1824,1842,1955,2086,2150,2170,2322,2429,2836,3198,3297,3284,2946,2569,2219,2384,2806,3066,3651,3481,2922,2867,2406,2047,1938,2414,3174,3253,3260,3541,3876,4101,4352,4111,3475,3081,2759,3138,4004,3855,3201,2325,2009,2524,2322,2252,2508,2555,2803,2631,2608,2492,3131,3536,2442,1701,2377,2141,2394,2542,2396,2836,3114,2631,1866,1964,1910,1882,1682,1971,2450,2399,1826,2312,2736,2685,2954,3239,2341,1733,2550,3094,2235,1740,2038,2352,1997,1777,1948,2052,2326,2313,1891,2192,2475,2587,3141,3935,3607,3439,2635,2240,2310,2244,2379,2308,2083,1729,1637,1836,2107,2816,2743,3242,2857,2510,2112,1850,1872,2195,2481,2325,2119,1743,2150,2093,2423,2319,2578,2791,2432,2065,2283,2867,2604,2123,2329,1937,2427,3153,3003,2675,2103,1582,1621,1897,2124,2053,2461,2757,2688,2826,3204,3193,2907,2887,2998,3010,2908,2467,2124,2075,1788,1748,2298,1965,1945,2574,2383,2069,1764,1799,2065,2574,3319,3316,3266,2857,2599,2409,2401,2065,1956,2031,2617,2880,2735,2618,2419,2490,2915,3111,2957,2957,2985,2688,2349,2110,1809,1807,1709,1500,1557,2111,2767,2975,2475,1822,1797,2156,2460,2502,2242,2486,2001,2510,2978,2669,2550,2453,2810,2989,3393,3453,2781,2480,2749,2831,2385,2480,2230,2198,2512,2257,2150,2292,3060,3897,3965,3344,3419,3841,3146,2031,2144,2647,2779,2352,1854,1859,1775,2039,2312,2397,2244,2334,2574,3025,2901,2408,2061,2171,2053,1804,1851,1946,1963,2089,2045,2358,2150,1742,1685,1870,1934,1886,2133,2146,1912,2565,2291,2625,2825,2057,1801,1641,1721,1680,1670,1547,1487,1564,1563,1543,1505,1426,1506,1242,1427,1619,1700,1466,1314,1385,1742,1897,1380,1642,1372,1435,1458,1440,1626,1791,1746,1686,1808,2188,2103,1826,1741,1935,2352,2911,2569,2370,1961,2400,3063,2856,2740,2677,2278,1966,2083,2382,2865,2143,1837,1854,1658,1715,2397,2031,1537,1391,1570,1737,1655,1968,2225,2092,2003,1831,1786,1781,2033,1776,1591,1546,1537,1614,1785,1893,2150,1966,1969,2074,1990,2013,2041,2026,2013,2056,1864,1767,1730,1727,1688,1527,1477,1567,1478,1270,1163,1118,1253,1492,1528,1422,1587,1695,1402,1325,1442,1555,1791,1882,1897,1811,1517,1275,1239,1598,1789,1574,1536,1454,1219,1459,1337,1761,1860,1990,2037,1782,1760,1862,2030,2085,2018,1735,1437,1383,1540,1387,1168,1363,1328,1202,1088,1007,1021,1058,1013,1049,1268,1095,941,863,959,1214,1187,1295,1388,1523,1500,1314,1324,1358,1827,1509,1725,1602,1768,1802,1671,1929,2163,2150,2436,1926,2156,2669,2321,2050,2270,2382,2768,3021,2906,2465,2374,1970,1609,1692,1766,2315,2496,2029,1755,2924,3161,2104,2051,2319,3055,3763,3416,3326,3580,3239,3109,2725,2753,3196,3386,3012,2573,2027,2296,2068,1630,1883,1876,2943,3582,3219,2369,1741,1926,2429,2832,2944,3022,2275,1656,1901,2243,2386,2343,1928,1937,1874,1620,1541,1707,1659,1815,2159,2286,2031,2131,1837,1929,2284,2489,2257,2180,2206,2082,2030,2828,2955,2317,1779,1592,1767,1764,1604,1937,1980,1834,2304,2354,2022,1985,1910,1786,1874,2000,1931,1829,2090,2685,2676,1814,1522,1511,1606,1946,1865,1842,2115,1858,1893,1900,1557,1493,1481,1690,1429,1424,1629,1657,1675,1898,2106,2436,2498,2137,2031,1836,1751,1894,2211,1863,1713,1792,1954,1809,1614,1534,1750,2136,2543,2453,2547,2598,2677,2963,2767,2437,2005,1634,1555,1820,2263,2757,1823,1563,1856,2009,2449,1984,1779,1864,1888,1760,1918,1765,1479,1473,1481,1334,1262,1499,1878,1876,1786,1534,1435,1668,1700,1606,1759,2078,1953,1717,1422,1559,1863,2076,2622,2314,2473,2723,2256,2121,1924,1727,1587,1652,1965,2398,1694,1527,1492,1565,1596,1408,1265,1534,1923,1965,1751,1951,1938,1668,1829,2226,2629,2429,1996,1815,2128,2138,1708,1723,2264,2312,2842,2430,1902,2296,2111,2653,2986,2124,1620,1672,2072,2275,2243,2066,1880,1874,2221,2382,2316,2575,2180,1648,1786,2099,2139,1909,1963,1858,1837,1520,1525,1756,2054,2025,2040,1861,2287,2643,2156,2420,1973,1917,2187,2045,2159,2563,2682,2619,2198,2176,3141,3513,3193,3051,2910,2439,2266,2431,2385,3520,4169,4019,3419,3141,3387,3140,2423,2110,2589,2995,3050,2928,2930,3109,3028,2950,2915,2855,2943,3092,3089,3146,3099,3030,3538,3397,2974,2906,2771,2736,2707,2427,2512,2791,2816,2834,3108,2935,3000,3243,3076,2574,2270,2288,2500,2798,2316,1572,1559,1656,1655,1489,1354,1368,1306,1639,3043,3543,2819,2325,2366,2355,2361,2337,1848,1857,1517,1857,2610,2893,2622,2619,2956,3033,3088,2887,2909,3770,3950,4285,4164,3649,3609,3682,3597,2744,2331,2890,3677,3917,3638,3369,3481,3296,3060,3489,4044,4253,4376,4229,3734,3654,3725,3973,4384,4037,2890,1824,1337,1434,2157,2309,2646,2986,3544,3472,3864,4540,4228,3784,3728,3786,4092,3574,2873,3171,4288,4281,4274,4101,3513,3210,3325,3375,3123,2811,1847,1349,1386,1606,2313,2596,2447,2069,2360,2314,1856,2102,2489,2680,2667,2573,2831,3012,3146,3028,3212,3418,3359,3207,3274,2890,1988,1854,2272,3221,2958,2241,1688,2370,3078,3084,3020,2978,3356,4078,4644,4517,4352,4248,4424,4760,4761,4532,3485,3509,3354,3607,4116,4328,4046,3596,3871,4276,3863,2974,2440,2065,2275,2296,2475,2231,1868,1704,1703,1851,2088,2206,2162,2188,2158,2290,2203,2208,2083,1914,1730,1687,1751,1817,2068,2333,2385,2381,2813,3443,3531,2690,2310,2090,2510,2486,2166,2483,2386,2185,2188,2255,2544,2864,2292,2163,2990,2412,2288,2458,1874,1513,1435,1843,2498,2555,2335,2361,2093,1939,2023,1929,1745,1797,1853,1898,1922,1145,1425,1855,1743,1488,1394,1664,1585,1437,1448,1437,1559,1627,1663,1990,2321,1803,1643,1917,1743,1720,2155,2511,3022,3508,3462,3018,2499,2599,2809,2723,2656,2259,2149,2056,1918,1858,2391,2458,2490,3344,3206,2793,2578,2540,2429,2348,2020,1874,2231,2615,2401,2428,2555,2345,2129,2178,1930,1747,1800,1843,1731,1715,1949,2250,2164,2168,2270,2170,2336,2100,1926,2163,2605,2227,2766,3409,2331,1845,2040,1982,2045,1826,1801,2092,2021,1561,1748,1866,1966,2158,2160,2044,1797,1971,1968,1630,1532,1572,1760,2100,2642,2526,2609,2623,2157,2287,2654,2138,1837,2157,2187,2111,1920,2121,2887,2509,2154,2238,2535,2456,2679,2554,2102,2373,3061,3685,3806,2857,2418,2845,3453,3458,3327,2186,1400,1430,1545,1507,1484,1881,2082,1882,2498,3668,3999,3991,4275,4300,4300,3846,3276,3519,4058,4403,4189,3083,2844,2968,2467,2547,3537,3898,3816,3918,3817,3498,3546,3584,3416,3274,3283,3196,3327,3698,3852,3816,3676,3706,3748,3587,3784,3838,3508,3298,3182,3232,3270,3266,3339,3159,3206,3472,3460,3315,3307,3598,3320,3194,3218,3067,2975,2745,2777,2542,2154,1753,1469,1366,1531,1712,1781,1984,1830,2150,2422,2697,2957,3249,3686,3718,3248,2718,2844,3227,3165,2788,2623,2539,2368,2543,3239,4026,4083,4039,3306,2376,2567,3429,3785,4332,4333,4092,4272,3776,3893,4244,3342,2686,2706,2574,2574,2976,3504,3802,4160,4358,4594,4467,4187,4024,3941,4052,4233,4101,3860,3907,3842,3606,3479,3231,2812,2642,2636,2592,2723,3334,4138,4240,4145,3774,3138,3129,3352,3470,3439,3629,3085,2611,3123,3022,2440,3056,3752,3507,3585,3465,3226,2667,2507,3091,3876,4251,3968,3789,3518,3179,2968,2919,3112,3310,2937,2705,2796,3174,3241,2932,2901,2663,2450,2611,2620,3000,3844,3731,2610,2118,2924,3439,2937,2774,2893,2908,2739,1964,1507,2600,3596,2889,2423,2612,1996,2480,2702,2657,2864,2636,2646,3216,2988,2742,2286,2064,2358,3099,2808,2270,2203,2402,2981,2584,1963,1878,1839,1652,1422,1478,1408,1420,1462,1452,1756,1737,1595,1325,1760,2151,1951,1876,1708,1799,2020,2137,2270,1942,1909,1803,1817,1921,1882,2130,2481,2446,2807,2885,2721,2415,2302,2309,2335,2684,2989,3087,3016,2660,2577,2729,2263,2730,2894,2377,2209,2138,2521,3029,3158,2721,2305,2213,2260,2364,2579,2560,2723,3035,3031,2670,2301,2164,2019,1914,2100,1595,1689,2151,2069,1746,1844,1431,1850,2335,2610,2748,2757,2840,2593,2614,2856,2411,1935,2293,2954,3304,3288,2995,3089,2552,1895,1741,2046,2373,2415,2379,2553,2862,3240,3598,3695,3391,3421,3097,2417,2112,1890,1911,1560,1459,2588,3140,2765,2463,3230,3220,3067,2899,2467,2304,2655,2867,2667,2688,3271,3694,3754,3175,2120,1650,1559,1825,2166,2253,2064,1693,1878,2163,1924,1974,2025,1759,1901,1975,2035,1938,2006,1951,2455,3482,3573,3272,3328,3147,3018,3118,2507,2707,3249,3022,2576,2620,2504,1937,1951,2130,2062,2236,2004,1705,2053,2014,2237,1986,1567,1566,1724,1629,1809,2060,2149,2514,2346,1747,2032,2275,2114,1865,2225,2812,3167,3532,3928,4046,3417,2482,2390,2895,3189,3248,3045,3187,3309,3421,3261,3331,3293,3315,3052,2600,2661,2686,2815,2984,3011,2697,1712,1099,1396,2126,2320,2106,2322,2512,2527,2578,2486,2789,2734,2865,3172,3451,3582,3673,3587,3171,2977,2452,1974,1960,1877,1747,1753,1751,2155,2734,3111,3113,2764,2485,2357,2337,2187,2208,2629,2467,2271,2100,1957,2467,2210,1992,1755,1983,2279,2291,2679,2489,2356,2630,2972,3041,2950,3187,2645,2621,2832,2403,1887,2315,3291,3510,3220,3020,3178,3120,3060,3184,3040,3133,3215,3096,2834,2700,2568,2622,2141,1879,1670,1570,1620,1693,1904,2353,2476,2432,2022,2148,2263,1988,2091,2191,2213,2490,2504,2204,2414,3052,2941,2412],[3692,3761,3543,3183,3155,3371,3321,3055,2676,2364,2142,1930,1892,1941,2036,2056,2145,2161,2756,2862,2802,2836,2733,2685,2639,2858,3073,3173,3565,3651,2724,1933,1677,2243,3050,3809,4268,4213,3688,3641,3965,4119,4178,4086,3535,2544,2176,3201,3818,3638,2885,2115,2228,2345,2459,2931,3067,2750,2346,1671,2194,2481,2599,2452,1980,1969,2438,2958,2999,2535,2421,2997,3271,2728,2693,3043,2298,1780,1512,1718,2381,2214,1700,2414,3120,2631,2353,2568,1938,1666,2768,3433,2674,2111,1979,2027,1832,1825,1918,2167,2416,2644,2160,2178,2188,2039,2378,3079,2837,2546,2152,2060,1723,1543,2017,2424,2300,1863,1792,2033,2026,2008,2380,3420,3396,2739,2455,2115,1635,2258,2053,2196,2314,1909,1996,2087,2449,2493,2476,2852,2958,2791,2840,2862,2533,1886,2124,1520,1869,2359,1938,1530,1690,1938,1960,2365,2457,1917,2031,2128,2234,2567,2986,2996,2408,2190,2193,2119,2155,2127,2418,2568,2531,2697,2723,1989,1857,2005,1913,1886,1758,1744,1522,2064,3030,3229,3050,2734,2994,2474,2809,2169,1938,2116,2546,2924,2365,2114,2168,2556,2893,3086,2954,3112,2665,2047,1948,1798,1776,1878,1870,1935,1876,2117,2537,2283,2172,1727,1842,2442,2454,2126,2039,2524,2585,2382,2230,2445,2533,2501,3024,2796,3399,3493,2978,2522,2504,2559,2326,2166,2349,2529,2500,2182,2546,3250,3806,3853,3935,3798,3404,3464,3458,2867,2440,2429,2627,2600,2476,2370,2497,2471,2204,2852,2776,2503,2540,2619,2376,2081,1847,1565,1487,1772,1941,2159,1945,2453,2522,2121,1584,1520,1463,1702,2056,1787,1809,2278,2325,2788,2048,2293,3060,2428,1754,1569,1553,1695,1758,1585,1573,1428,1302,1556,1525,1505,1435,1237,1070,1297,1609,1558,1471,1612,2264,2007,1686,1717,1442,1344,1409,1465,1870,1857,1604,1637,1488,1788,2103,2097,2114,2381,2500,1982,1694,1873,1708,2154,2270,1881,2401,2984,2285,1776,2007,2751,3003,2216,2233,2045,1755,1614,1444,1658,1764,1584,1578,1869,1861,2172,2032,2395,1904,1697,2011,2344,2109,1803,2050,1590,1522,1644,1713,1666,1921,2087,2178,2205,2017,1973,2114,2066,2046,2020,2024,1989,1820,1763,1571,1518,1509,1513,1497,1304,1118,1146,1235,1437,1735,1569,1466,1389,1476,1357,1310,1350,1626,1745,1837,1891,1606,1277,1453,1728,1951,2193,2081,1626,1207,1109,1245,1610,1732,1756,1703,1620,1621,1440,1378,1524,1714,1693,1240,1428,1889,1352,960,1296,1476,1277,1164,1171,1208,1121,1118,1098,1360,1311,1011,946,1088,1132,994,804,1066,1467,1416,1415,1346,1334,1566,1424,1360,1389,2077,2435,1849,2021,2133,1845,1945,1770,2118,2522,1986,2224,2686,2069,2072,2693,2511,2044,1945,1671,1974,2221,2092,2020,2273,1881,1714,2834,2604,1902,2442,3056,3521,3674,3310,3160,2885,2699,2632,2579,2765,3439,3149,2107,1726,1871,2092,1615,1596,1857,2861,3186,3078,3340,2900,2308,2376,2864,3032,2977,2401,1581,1346,1557,1702,1804,1708,1586,1702,1576,1514,1586,1519,1533,1859,2341,2991,1995,1777,1631,2285,2525,2468,2448,2264,2493,2144,2351,3215,2813,2540,1864,1421,1771,1669,1775,2149,2480,1879,2012,2406,2191,2084,2079,1649,1603,1902,2139,1974,2129,2370,2388,1936,1526,1447,1763,2018,1740,1577,1869,1856,1829,1558,1449,1434,1628,2003,1996,1777,1848,1656,1565,1811,2245,2626,2383,2154,2176,2128,1757,1892,2103,2285,2206,1953,2013,1948,2128,1953,1894,2060,2487,2842,2918,2706,2968,3003,2654,2222,1653,1620,1789,2323,2527,2249,1719,1618,1487,1452,1899,1958,1829,1865,1644,1665,1731,1600,1615,1777,1507,1250,1311,1542,1871,2144,1820,1540,1644,1780,1779,1620,2103,2751,2164,1541,1377,1559,1736,2311,3017,2629,1989,1741,1858,1710,2014,2144,1803,1795,1987,1686,1528,1550,1559,1552,1525,1616,1764,1615,1772,1935,1931,2064,1757,1677,1794,2284,2498,2460,2194,1788,1902,2092,1817,2056,2703,2768,2781,2294,2040,2364,2453,3019,2842,2107,1620,1980,2526,2141,1696,1705,1678,1659,2003,2381,2570,2578,2385,1990,1506,1704,1908,1938,2154,1737,1881,1818,2098,2164,1843,1779,1751,1782,1987,1949,2434,2685,2517,2313,2345,2025,2143,2819,3172,2898,2551,3154,3960,3751,3088,2688,3133,3239,2517,2610,3184,3841,4156,4018,3141,2413,2450,2355,2013,2192,2838,3031,3037,3245,3261,3122,3039,2964,2886,2878,2930,3079,3054,2945,3137,3451,3774,3426,3009,3100,2897,2476,2436,2676,2864,2889,2567,2544,3109,3142,3156,3220,3037,2776,2443,2287,2386,2399,2215,1644,1452,1510,1671,1791,2026,2323,2333,2389,3138,3480,3315,3602,4145,3783,3498,2942,1881,2020,2210,3275,3824,3686,3253,3104,3052,2916,3051,3151,3020,3882,4016,4120,4069,3826,3751,3706,3439,2578,2025,2532,3085,3298,3551,3475,3510,3360,3304,3342,3417,3875,4306,4080,3540,3267,3519,4143,4516,4332,4265,3516,2480,2603,2725,2737,2771,3105,3122,3053,3819,4728,4461,3762,3287,3256,3174,2988,2449,2556,3397,3573,3408,3135,3230,3527,3573,3474,3262,3050,2354,1388,1646,2866,3186,2796,2345,1900,1871,2319,2483,2204,2237,2500,2467,2829,3027,2873,3049,3256,3339,3752,4112,3674,3430,3443,2521,1888,2036,2702,3553,3616,2977,2924,3074,3145,3114,3151,3075,3596,4445,4134,4014,4341,4247,4620,4388,4175,4089,3760,3385,3680,3955,3949,4365,4209,4185,3804,3306,2710,2423,2217,2361,2469,2482,2428,1980,1750,1785,1974,2098,2132,2278,2461,2447,2453,2219,1974,1824,1749,1736,1751,1896,2416,2785,2576,2546,2437,2402,2404,2269,2380,2410,2710,3698,3312,2722,2463,2474,2144,2150,2322,2736,2624,1989,2021,2251,1965,2042,2007,1836,1749,1832,2041,2402,2586,2922,2859,2311,2033,1815,1588,1829,2270,2192,1748,1717,1484,1672,2090,1700,1456,1456,1688,1671,1334,1400,1600,1788,1896,1938,2260,2497,2014,1713,1758,1975,2136,2275,2523,2617,2668,2566,2595,2369,2713,2843,2723,2668,2393,2048,1942,2266,2186,1874,1720,1659,2570,2865,3253,3116,2641,2568,3274,3141,2497,2467,2574,2018,1897,2332,2581,2148,2375,2096,1971,1941,2540,2213,1879,1911,1979,1855,1854,2143,2075,2111,1842,1970,1951,2165,2128,2685,3665,2768,1722,1882,1775,1872,1840,1659,1548,1554,1468,1867,1842,1913,2322,2304,1917,1937,2214,1902,1314,1640,1750,1736,1924,2059,2380,2620,2931,2437,2368,2730,2144,1686,1909,2123,1975,1994,2093,2710,2641,2375,2481,2735,2901,2890,2723,2810,3432,3836,4158,4220,3150,2723,2941,3083,2955,2706,1982,1373,1362,1437,1437,1498,1606,1965,1794,2240,3411,3980,3980,3973,4112,4384,4292,4111,4018,4160,4243,4233,3449,2957,2895,3094,3704,3830,3795,3996,3943,3533,3101,3212,3326,3155,3160,3282,3132,3252,3598,3601,3415,3369,3632,3750,3639,3413,3300,3437,3341,3141,3241,3375,3408,3416,3392,3522,3514,3476,3451,3287,3308,3154,3218,3142,2939,2899,2798,2899,3101,2476,1596,1591,1559,1773,1870,1935,2039,2042,2554,2900,2767,2811,2900,3005,3149,3050,2796,2603,2333,2654,2643,2625,3281,3350,3365,3817,4080,4208,4176,3727,3038,2809,3397,3868,4471,4299,4083,4276,4132,4030,3637,2731,2611,2676,2404,2586,3034,3504,3820,4223,4483,4632,4671,4611,4226,3889,3891,4070,3909,3605,3460,3337,3496,3584,3238,2595,2343,2212,2251,2410,3253,4296,4228,3964,3551,2643,2671,2925,2985,3002,3286,3409,3438,3332,2896,2509,3124,3609,3597,3527,3541,3596,3161,3258,3656,4215,4294,4094,4132,4137,4208,4177,3454,2958,2743,2334,2492,2786,3342,3292,2930,2656,2368,2549,2710,2385,2701,3751,4096,3512,2462,2566,3002,3323,3055,2899,2984,2275,1858,2396,3372,3065,1768,2219,2508,2685,3145,3169,2714,2599,2754,3216,3444,2993,3453,2600,2154,2086,2481,3408,3007,2108,2425,3141,3086,2382,1668,1765,1595,1381,1438,1420,1561,1553,1600,1778,1594,1450,1327,1537,1939,1964,1716,1676,1730,1826,2415,2556,2453,2458,2614,2596,2641,2800,2103,2072,2413,2946,2784,2659,2775,2433,2360,2439,2737,3066,3105,2910,2348,2501,2502,2340,3012,2497,2006,2078,1932,2588,3273,3111,2598,2104,1749,1559,2102,2155,2058,2292,1957,2099,2320,2332,2545,2199,2116,2141,1625,1995,2438,2820,2277,2154,1875,2422,2849,2768,2653,2906,2534,2202,3248,3295,2552,2273,2513,3059,3994,4259,3307,2845,2388,2075,2208,2410,2496,2183,1667,1722,2016,2697,3129,3087,3019,3208,3092,3010,2710,2200,1840,1602,2128,3184,3259,2733,2658,3019,2569,2070,1911,1754,2008,2697,3063,3018,3017,3236,3504,3325,2829,2147,2070,1996,2110,2334,2198,2050,1882,2101,2346,2348,2135,1812,1679,1814,1801,1671,1727,2083,2242,2575,3113,3437,3356,3343,3451,3648,3369,2572,3110,3662,3398,2632,2200,2047,1922,2022,1822,2051,2349,1926,1656,1864,2048,1809,1637,1772,1883,1604,1113,1708,2744,2855,3306,3028,1990,2060,2425,2438,2655,2963,3141,3522,4079,4628,4021,2818,2071,2507,2723,2953,2991,2744,2944,3281,3309,3172,3349,3420,3247,3174,3076,3028,2810,2730,2774,3091,2866,2157,1820,1732,1620,1470,1781,2343,2696,2687,2825,2807,2752,2766,2822,3011,3249,3462,3682,3804,3736,3367,2602,2161,2222,2300,2163,1923,1721,1641,1788,2178,2544,2555,2492,2717,3116,2818,2233,2105,2401,2265,1644,1893,2279,2324,2439,2257,2308,2685,2910,3002,2500,2850,3222,3250,3038,3165,3240,2770,2401,2519,2644,2097,1961,2810,3311,3198,3012,3220,3129,3106,3109,3062,3121,3133,2968,2944,3252,3109,3171,2569,2448,2162,1742,1620,1562,1672,1908,2510,2872,2415,2392,2189,1730,2093,2336,2370,2475,2407,2161,2609,2939,2343,1851],[3901,3665,3594,3420,3156,3520,3505,3327,3440,3307,2670,2106,2070,1965,1923,1987,2015,2139,2353,2506,2654,2653,2589,2845,3099,3194,3274,3283,3419,3797,2868,1847,2148,3259,3808,3880,3949,3663,3449,3505,3586,3663,3729,3707,3584,3205,3262,3108,2861,2890,1931,1512,1941,2187,2664,2695,2589,2081,2132,2154,2051,2024,2078,1816,1872,2065,2337,2762,2383,2490,2514,2360,2869,2502,3247,3250,2298,1721,1433,1739,2522,2292,1792,2679,3060,2111,2074,2173,1847,1843,2557,2862,2396,2107,2337,2201,1847,2131,2269,2316,2465,2881,2741,2396,2217,2114,2228,2637,2902,2869,2622,2138,1388,1737,2392,2772,2350,2034,2036,1976,1786,1872,2441,3017,3138,2743,2154,2077,1515,1927,1748,2199,2313,1502,1093,1538,2069,1751,1698,2197,2454,2261,2699,2607,2368,2053,2303,1683,1807,2051,1649,1662,2331,2543,2116,2238,2298,2047,2216,1804,1966,2891,3143,3095,2490,1973,1786,1658,1667,1812,2322,2454,2564,2706,2569,2845,2431,1640,1552,1859,1921,1907,2210,2920,3020,3130,3036,3420,3580,2850,2556,2342,2766,2808,2591,2545,2427,2352,2010,2663,2538,2753,2862,2632,2389,2201,2025,1675,1670,1692,1686,2054,2229,2076,2057,1813,2123,2043,1853,2181,2236,1804,1587,1973,2456,2511,3201,3354,2824,2611,3031,2401,2868,3289,3089,3031,2510,1924,2375,2497,2502,2512,2184,2332,3348,3672,3592,3681,3864,3672,3404,3488,3718,3094,2070,1691,2048,2251,2135,2855,2790,2314,2018,2623,2580,2081,2165,2097,1804,1767,1505,1551,1901,2085,1976,1954,1981,2130,2198,1881,1659,1682,1477,1781,2103,1637,1706,2113,2221,2179,1936,2289,2589,2243,1826,1579,1643,2185,2031,1636,1414,1365,1329,1391,1353,1427,1763,1653,1232,1387,1524,1497,1496,1698,2631,2337,1862,1490,1450,1365,1494,1683,1987,2098,1848,2158,1892,1876,1844,2428,2276,2429,2481,1947,1977,2080,1945,2182,2253,2170,2662,2878,1798,1675,1924,2233,2217,2216,2470,2049,1649,1567,1666,1752,1809,1554,1619,2166,2383,2231,2402,2365,1741,1937,2407,2317,1893,1986,2148,1481,1470,1650,1677,1575,2133,2422,2239,2119,1872,1939,1972,1943,2088,2037,1941,1876,1837,1868,1827,1826,1710,1565,1545,1419,1184,1318,1381,1550,2413,2053,1799,1516,1520,1372,1172,1370,1555,1632,1743,1516,1326,1475,1677,1594,2081,2075,1568,1336,1158,1137,1186,1521,2015,1857,1630,1905,1715,1772,1781,1872,1839,1776,1655,2055,2135,1146,642,1017,1363,1369,1774,1591,1686,1469,1267,1207,1335,1209,1122,1267,1273,1165,994,883,1333,1627,1480,1394,1228,1278,1470,1643,1626,1672,2260,2784,2176,2066,1770,1737,1605,1531,1580,1999,1794,2405,2491,1929,2125,2100,1915,2003,1820,1747,2018,2055,2078,2049,2024,1861,1846,2023,2050,2483,3245,3310,3030,3421,3263,2970,2904,2968,2972,2987,2930,2863,2253,1874,2171,2067,2059,1737,1772,2613,3705,3654,3417,3276,3208,3021,2520,2121,2237,1992,1459,1395,1418,1543,1559,1529,1549,1735,1765,1531,1582,1612,1526,1971,2519,2339,2478,1862,1587,2219,2745,2574,2319,2415,2386,2120,1906,2723,3535,2692,2503,1965,1607,1682,1760,2114,2144,1958,1760,1945,1905,2135,2150,1700,1441,1593,2017,2376,2431,2475,2280,1930,1854,1766,1960,2079,1882,1616,1551,1569,1592,1736,1930,1989,1874,1667,1845,1914,1974,1874,1634,1515,1856,2690,2091,1617,1741,1923,1852,1695,2002,2063,1926,2119,1948,2022,1846,1880,2072,2000,2016,2323,2802,2617,2313,2583,2910,2976,2880,1663,1480,1754,2104,2236,2082,2082,1650,1386,1405,1577,1716,1793,1715,1830,1829,1634,1644,1836,1603,1347,1464,1674,1740,2021,2163,1544,1493,1672,1650,1794,1754,2216,2474,2142,1648,1439,1412,1815,3142,3607,2954,1958,2089,2166,1667,1814,1848,2282,2780,2504,2046,1821,1720,1531,1490,1665,1875,1989,1596,1565,1787,1972,1869,1830,1683,1653,1876,1951,2402,2174,1767,1699,2012,2027,2162,2533,2408,2838,2675,2100,2456,2600,2452,2302,2458,1801,1930,2393,1947,1809,2093,2040,1825,1850,1901,2166,2730,2870,2242,1722,1611,1796,1766,1768,1606,1694,1851,2123,2147,1660,1554,1670,1916,1858,1717,2371,2831,2944,2762,2329,1925,2387,3140,3399,3078,2888,3500,3692,3205,2697,2566,2455,2920,2780,2598,3241,3437,3564,3897,3410,2585,2457,2127,2197,2724,3097,3134,3122,3204,3214,3122,3011,2974,2922,2991,2986,2972,3022,3255,3692,3848,3876,3680,3319,3093,2499,2338,2844,3054,2978,3169,2712,2533,2721,2841,3019,3207,3189,3015,2597,2213,2400,2678,2740,2008,1874,2441,3134,3287,3559,3927,3821,3429,3204,3394,3783,3705,3779,3395,3640,3164,1999,1996,2806,3680,3946,3428,3251,3347,3231,3232,3040,2541,2795,3200,3086,3493,3629,3496,3299,3134,3112,2952,2711,2834,2962,2966,3370,3692,3350,3173,3308,3312,3358,3803,4109,4157,4209,4042,3839,4114,4020,3992,4115,3673,3414,2836,2680,2353,1896,2399,2652,2818,3381,4492,4021,3042,2853,2912,3015,2983,2673,2866,3124,3209,3254,3087,3318,3647,3631,3702,3539,3230,3094,2003,2101,3105,3121,2849,2280,1619,1592,2035,1909,1559,1877,2242,2322,2466,2754,2850,3219,3808,3880,3930,4233,3985,3143,3273,2889,2189,2032,2258,3373,3990,3629,3191,3183,3329,3249,3052,3037,3311,4227,4160,3955,4284,3859,4171,4228,3999,4030,3973,3825,4099,4093,3697,4274,4397,4385,3774,3099,2522,2517,2510,2358,2436,2425,2620,2167,1830,1866,2010,2012,2209,2308,2198,1993,1814,1733,1748,1723,1765,1960,2085,2401,2903,2853,2194,2308,2475,2470,2445,2185,2272,2677,2618,2623,2474,2806,2381,2314,1836,1815,2208,2622,2243,1857,2291,2417,2193,2396,2122,1448,1370,1207,1577,2056,2590,2928,2691,2338,2208,1887,2172,2854,2366,2051,1708,1492,1489,1654,1893,1600,1511,1517,1620,1738,1512,1477,1425,1562,1645,1691,2046,2084,1813,1811,1910,2332,2816,2805,2299,2019,2454,2689,2444,2097,2436,2930,3054,2963,2634,1978,2092,2951,2796,2051,1733,1349,1900,2742,3024,2697,2727,3087,3574,3371,2616,2596,2585,2080,2203,2205,2051,1658,1998,2274,2361,2227,2170,1949,1682,1653,1854,1640,1573,1639,1741,1924,1911,1834,1829,1942,1936,2044,2947,3030,1804,1753,1733,2030,1781,1511,1588,1677,1816,1814,1654,1792,2174,2194,2114,2292,2298,2104,1918,1726,1481,1498,1568,2167,2745,2624,2446,2197,2368,2029,2042,2002,1869,2362,2048,2112,2330,2289,1854,1767,1923,2247,2885,2502,2261,2431,3363,3979,4188,4003,3211,2663,2452,2773,3637,3938,3043,2072,1555,1446,1388,1621,1508,1660,1734,2164,3205,3907,3968,3929,3826,4297,4252,3941,3704,3968,4127,4292,3718,2919,2866,3639,3996,3539,3623,4019,3919,3505,3074,3042,3097,3026,3085,3341,3203,3177,3294,3302,3472,3463,3309,3834,3598,3435,3653,3573,3318,3038,3012,3153,3211,3277,3421,3440,3424,3614,3371,3049,2868,2971,3061,3256,3433,3284,3068,3222,3175,2101,1678,2032,1998,2009,2092,2109,2360,2783,2743,2454,2609,2957,3038,3343,3598,3670,3580,3327,3300,3064,2686,2586,3316,3733,3817,4005,4062,4080,4047,3861,3433,3018,3295,3564,4066,4025,4100,4176,3781,3416,3211,3048,2942,2805,2617,2764,3076,3760,3917,4028,4384,4604,4697,4621,4244,3665,2976,3126,2840,2435,2662,3286,3653,3595,3131,3008,3002,2744,2652,2685,3143,3730,3862,3762,3303,2722,2609,2753,2741,2800,3195,3682,3728,3265,2712,2566,2940,3205,3043,3166,3566,3663,3597,3709,4082,4573,4355,3842,3925,4145,4113,3682,2874,2414,2316,2266,2351,2773,3510,3211,2479,2164,2069,2515,2499,2289,2958,3608,3563,3000,2431,2158,2212,2587,2865,2591,2190,1336,1773,2624,2664,2265,2138,2696,3118,3662,3840,3504,2977,2782,3061,3411,3227,2908,2722,2338,2188,1875,1769,2432,2391,2195,2497,2687,3010,2640,1713,1814,1884,1544,1395,1626,1865,1634,1477,1802,1877,1501,1671,2244,2568,2586,2642,2393,1656,1767,2452,2268,2332,2375,2867,3063,2756,3058,2259,1858,2359,2910,2580,2547,2787,2701,2580,2655,2887,3085,3015,2874,2509,2546,2498,2546,3113,2631,2204,1918,2030,2959,3363,3231,2527,1631,1497,1583,2018,1906,1960,2056,1946,1992,2274,2264,2236,2341,1988,1580,1495,1824,2198,2837,2294,1798,2474,3099,2838,2446,2380,2899,3059,2827,3399,3247,2796,2928,2924,2985,3461,3514,3132,3255,3200,3094,3094,2780,2490,2541,2104,1508,1394,1865,2401,2509,2481,2474,2553,2667,2624,2253,1943,2036,2833,3399,3398,2904,2845,2658,2214,1712,1677,1992,2121,2462,2541,2710,3013,2866,2630,2347,2366,2213,1860,1965,2357,2435,2199,2094,1816,2238,2853,2686,2047,1623,1540,1642,1621,1483,1639,2439,2895,2399,1933,2994,3558,3432,3495,3442,3270,3107,3383,3725,3566,2818,2115,2292,2853,2336,2005,2177,2404,1873,1676,2114,2273,1853,1629,2018,2491,1948,1449,2207,3140,3123,3233,2238,1557,1639,2368,3112,3436,3159,3150,3177,3274,4201,3356,2534,2576,2990,2914,3045,3064,3055,3126,3177,3059,3016,3321,3416,3219,3322,3394,3220,2924,2920,2957,3112,3069,2856,2490,2197,1902,1527,1883,2350,2743,2785,2962,3095,2917,2798,2880,2937,2968,3234,3427,3610,3610,3588,3018,2453,2714,2999,2983,2674,2232,1885,1700,1734,1877,2354,2791,3072,3277,3475,2583,2074,2432,1924,1607,2432,2696,2563,2512,2509,2384,2802,2990,2794,2809,2902,2965,3029,3168,3347,2939,1801,1188,1486,2577,2408,1995,2127,2674,3146,3081,3196,3232,3033,2958,3087,3147,3076,2807,2729,2964,3212,3205,2809,2734,2448,2099,1801,1550,1434,1554,2363,3256,3142,2765,2645,2082,2012,2558,2458,2323,2383,2156,2150,2401,2395,1893],[3871,3714,3458,3106,3044,3379,3382,3462,3751,3329,2814,2890,2762,2204,1921,1857,1904,1904,2005,2230,2396,2634,2828,3128,3162,3122,2867,3132,3081,3606,3420,2744,2956,3640,3626,3282,3320,3387,3510,3461,3564,3620,3510,3454,3520,3768,3828,3119,2985,2822,1852,1444,1452,1811,2518,2586,1959,1903,2504,2436,2042,1888,1834,1782,1960,1835,2223,2787,2545,2534,2504,2476,3207,3231,3648,3228,2083,1821,1777,2254,2381,1981,1792,2030,2028,1517,1390,1644,2112,2416,3042,3124,2264,2008,2178,1886,2062,2707,2500,2300,2642,3040,3251,3045,2830,2763,2746,2725,2436,2139,2305,1709,1694,2163,2545,2668,2507,2297,2304,2045,1698,1964,2409,2885,2366,2017,1903,2589,2533,2135,1959,2370,2622,1772,1198,1891,2186,1356,1438,1721,1896,2017,2787,2293,2172,2391,2433,2180,2497,2845,2496,2831,3248,2835,2421,2458,2489,2357,2455,1696,1895,2932,3500,3506,2813,1898,1676,1439,1617,2047,2593,2464,2810,2724,1975,1969,2040,1902,2050,1966,1808,1930,2344,3032,3297,3286,3394,3540,3217,2895,2857,2897,3176,3086,2661,2325,2938,2991,2609,2610,2702,2869,2824,3066,2866,1999,1722,1838,1790,1646,1886,2170,2122,1799,1898,2500,2599,2262,2083,2261,2345,2398,2259,2012,2392,2855,2939,3167,3021,3012,2611,2416,2684,2547,2396,2918,2972,2383,2645,2618,2402,2401,2386,3123,3758,3366,3702,4332,4030,3612,3449,3388,3176,2198,1876,1616,2142,2322,2546,2823,2518,2093,2004,1924,1678,1808,1968,1861,1871,1897,2028,1926,1803,1776,1748,1798,2272,2432,1963,1949,2026,2060,1720,2024,2192,1865,1637,1960,1824,1687,1926,2315,2370,1854,1819,1909,1867,2322,1919,1333,1340,1551,1441,1191,1290,1549,1653,1550,1375,1647,1919,1721,1538,1720,1981,2006,1732,1483,1460,1340,1588,1919,1816,2185,2429,2686,2316,2093,2103,2347,2225,2508,2502,2042,2022,2435,2274,2381,2415,3002,3116,2372,1606,1744,2036,2156,2140,2271,2322,1905,1735,1990,2354,1898,1832,1624,1762,2247,2493,2378,2390,2088,1854,2177,2441,2016,1657,1670,1497,1318,1476,1611,1531,1841,2520,2063,1641,1739,1694,1682,1953,1921,2089,1963,1964,2074,2106,1820,1710,1793,1705,1714,1728,1583,1394,1384,1290,1498,2732,2969,2354,1462,1275,1290,1346,1382,1369,1788,2038,1441,1454,1637,1523,1596,1908,1834,1565,1474,1414,1429,1564,1859,2128,1771,1710,1833,1716,1919,2010,1857,1786,1997,1476,1572,1963,1489,999,1311,1359,1688,2094,1693,1807,1742,1246,1127,1335,1436,1551,1671,1521,1500,1763,1637,1708,1698,1648,1405,1462,1622,1670,2055,2213,2321,2448,2553,2304,2305,1907,1664,1642,1580,1390,1576,1765,2087,1988,2109,2031,1663,1659,1754,2002,1966,1904,1828,1884,2230,2237,1662,1695,2002,2213,3068,3487,2579,2975,3343,2642,2556,3046,2900,2621,2387,2388,2299,1806,1902,2442,1853,1901,2163,2287,3430,3619,3349,3216,3219,3433,3150,2144,1643,1852,1420,1272,1495,1548,1531,1490,1481,1719,2187,2117,1531,1450,1488,1638,2665,2564,1814,1800,1728,1771,2013,2246,2552,2360,2102,1904,1793,1792,3034,2955,2402,2249,1926,1686,1516,1948,2144,1947,2204,2292,2361,2291,2365,2168,1932,2000,1909,2182,2714,2525,2379,2280,1935,1989,2002,1902,2110,1870,1741,1855,1864,1861,1854,2697,3152,2369,1663,1676,1926,2460,1956,1838,1640,1909,2460,1863,1443,1528,1659,1692,1675,2003,2054,1760,1698,1726,1741,1673,1655,1736,1736,1747,2091,2405,2585,2706,2865,2968,3447,3163,1988,1525,1798,1968,2322,2230,1799,1519,1325,1395,1406,1518,1944,1650,1596,1550,1594,1559,1539,1447,1519,1664,1863,1959,1970,1959,1450,1588,1606,1448,1617,2042,2542,2314,2013,1820,1299,1185,1773,3022,3016,2944,1990,2067,2026,1672,1641,1870,2766,3206,2670,2172,1717,1740,1448,1888,2654,2263,1725,1544,1675,2076,2058,1885,1724,1275,1656,2004,1968,1981,1780,1722,1862,1768,1797,1986,2048,1872,2151,2090,1798,2176,2396,2312,2434,2920,2250,1956,2110,1922,2183,2436,1929,2030,2128,1622,1512,2150,2301,2090,1914,1453,2003,2193,1639,1459,1642,1918,1937,2270,2188,1708,1732,1882,1926,2360,2771,2976,2923,2564,2084,2062,2337,2540,2942,2496,2253,3181,3156,2534,2364,2527,2276,2185,1774,1660,2488,3103,2927,3308,3548,2897,2620,2404,2540,2888,3056,3144,3160,3012,2858,2884,3044,2979,3006,2933,2935,2919,2963,3420,3897,3853,3783,3541,3255,2729,2385,2648,3093,3063,3145,3248,2711,2604,2734,2734,2852,3055,3130,3021,2664,2153,2341,2640,2797,2420,2853,3847,4195,4035,4015,4152,4200,4208,3653,3304,3566,3682,3759,3372,3421,3270,2833,2978,3265,3210,2999,2998,3597,3508,3635,3930,3295,2316,2815,3232,3198,3588,3727,3459,3356,3297,3039,3160,3112,2920,2929,2984,3430,3540,3040,2897,3050,3199,3247,3407,3609,4108,3989,3769,3437,3574,3460,3760,3815,3419,3022,2294,2314,1576,1480,1801,2314,2902,3601,4449,4107,3554,3475,3340,3276,3232,3169,3172,3150,3120,3088,3174,3168,3208,3335,3334,3251,3392,3392,2067,1869,3027,2842,2841,2024,1661,1639,1788,1555,1408,1598,2036,2299,2147,2271,3015,3719,4052,3962,3941,4038,4144,3303,3040,3099,2728,2278,2342,3267,3884,3528,3464,3284,3312,3219,3138,3175,3506,4082,4284,4142,4219,4355,4380,4452,4416,4056,3816,4063,4600,4331,4062,4188,4207,3864,3474,2867,2333,2481,2411,2339,2557,2473,2770,2492,1991,1955,1865,1912,2112,2058,1839,1773,1846,1762,1716,2060,2498,2796,2608,2464,2529,2507,2192,2332,2514,2343,2355,2082,1922,2251,2026,1661,2030,2366,2188,2167,1997,1835,2025,2264,1883,2038,2457,2156,1763,1693,1861,1428,1067,791,1474,2586,2796,2523,2821,2918,2474,2125,2313,3042,1994,1945,1872,1686,1611,1659,1716,1601,1422,1411,1570,1757,1650,1546,1756,1704,1652,1657,1624,1755,1900,2023,2108,2300,2362,2677,1671,1300,1572,1772,1717,1989,2188,2598,3027,3417,2986,2208,2119,2192,2227,2336,2085,1671,2125,2486,2256,2119,2588,2820,2552,2185,2382,3374,3032,2300,2752,2557,1976,1808,2142,2373,2243,2054,1833,1849,1744,1679,1826,1803,1609,1460,1664,1754,1600,1459,1654,1792,1738,1878,2108,2398,1708,1836,1847,1794,1559,1464,1586,1672,1520,1403,1670,1753,1985,2224,2387,2670,2540,2225,1885,1658,1538,1659,1620,1942,2438,2255,1944,2490,2750,1907,2033,2132,1846,2642,2613,2202,2112,1968,1723,1577,1804,2053,2342,2059,2282,2351,2933,3516,3882,3398,2458,2223,2258,2761,3716,3763,3522,2838,1757,1416,1446,1573,1508,1991,2235,2221,3178,3802,4011,4020,3687,3930,3830,3371,3033,3650,4040,4120,3840,3086,2844,3331,3420,3051,3216,3704,3658,3426,3152,3064,3263,3089,3083,3343,3378,3579,3626,3558,3632,3445,3412,3837,3837,4007,3972,3361,2988,2866,2778,2905,3144,3316,3528,3474,3560,3662,3247,3012,3067,3088,3100,3300,3340,3182,3160,3442,3256,2500,2318,2187,2137,2227,2144,2130,2844,3375,3320,3383,3176,2699,2957,3547,3794,3761,3450,2831,2424,2535,2512,2433,3009,3470,3754,3962,4004,3969,3945,3607,3461,3314,3451,3914,4153,4264,4437,4141,3426,3167,3123,2989,3154,3117,3022,2967,3400,4085,4224,4060,4164,4452,4476,4384,4059,3371,2426,2354,2504,2346,2656,3716,4340,4249,3920,3795,3804,3694,3463,3294,3100,3291,4012,3992,3471,3141,2810,2706,2710,2831,3464,3698,3224,2462,2245,2813,2989,2592,2122,2740,3342,3495,3565,3662,3960,4387,4231,3629,3178,2965,2776,2545,2391,2435,2752,2874,2751,3119,3794,3670,3186,2736,2446,2585,2382,2285,3162,3317,2932,2757,2569,2182,2192,2850,2985,2576,2403,2047,2896,2474,2376,3056,3042,2993,3549,3833,3786,3281,3027,3083,2828,2722,2840,2995,2180,2356,2428,2149,1832,2011,2163,2025,2200,2222,2370,2194,2004,1760,2028,1831,1642,2008,2186,1822,1644,1969,1969,1958,2557,2955,3031,3085,2812,2241,1716,1898,2106,2013,2070,1840,2089,2040,2751,2907,2555,1819,1820,2411,2821,2688,2708,2907,2902,2977,2944,3152,3124,2734,2734,2531,2780,2695,2851,2566,2150,1983,2054,3106,3438,3334,2750,2530,2328,2264,2381,1997,1784,2030,2362,2195,1871,1560,1595,2126,2078,1494,1241,1672,1870,2209,1885,1586,2116,2544,2462,1962,2413,3411,3986,3783,3898,3704,3020,2986,3096,3085,3184,3177,3444,3650,3056,2830,2666,2635,2054,2735,3164,2430,1964,1907,2125,2366,2418,2136,1812,1671,1824,2296,2219,2189,2604,2991,2784,2627,2526,2382,2286,1844,1666,2019,1886,2208,1987,2209,3078,3573,2854,2003,2450,2580,2209,2584,2536,2194,2057,1941,1247,1782,3323,2994,2505,2251,1965,1886,1666,1507,2158,3204,3081,3049,2838,3484,3848,3491,3259,3015,2801,2791,2974,3432,3328,2718,2082,2066,2282,2060,1929,2038,2086,1814,1740,1920,1990,1929,1935,2630,3112,3054,2997,2999,3151,3133,3166,2639,2015,1825,2203,2570,2871,3172,3544,3304,2710,3270,3118,2665,2871,3187,3297,3356,3233,3152,3267,3087,3040,3204,3473,3093,2976,3200,3350,3166,3040,3112,3141,3132,3194,3142,2646,2447,2576,2322,2166,2186,2518,2787,2973,2974,2945,2808,2735,2924,2888,3058,3239,3293,3341,3275,3090,2496,2878,3610,3559,3315,3066,2622,2070,1825,1704,1699,2012,2370,3006,3493,3244,2751,2313,1743,2098,2635,2700,2647,2132,2208,2395,2802,2642,2901,3056,2856,3075,3419,3329,3070,3010,2486,1893,1983,2933,2888,2621,2322,2722,3297,3330,3221,3296,3134,2902,2996,3182,3373,2854,2436,2624,2890,2850,2851,2510,2332,2725,2537,1771,1552,1508,2003,3084,2971,2364,2640,2158,2090,2899,2865,2491,2351,2186,1711,2236,2950,2732],[3791,3615,3676,3509,3306,3390,3305,3583,3583,3358,3100,3234,2888,2687,2409,2043,1837,1637,1599,1718,1770,2108,2546,2922,3038,3219,2849,2724,2596,2853,3034,3097,3237,3519,3575,3608,3753,3859,3665,3479,3396,3473,3662,3702,3671,3880,3930,3694,3080,2428,2063,2616,2731,2082,2208,2142,1995,2213,2321,2207,2159,2075,1966,1892,2061,1891,2403,2854,2619,2769,2686,2605,2831,2514,2788,3030,2264,2121,2405,2812,2099,1761,1829,1621,1460,1620,1622,1980,2778,2980,3194,3266,2732,2174,1763,1844,2121,2602,2322,1988,2269,2946,3509,3487,3362,2762,2590,2238,1957,1998,2072,1793,1944,2321,2500,2500,2423,2238,2087,1854,2054,2131,2213,2780,2053,1741,2323,3025,3057,2847,2389,2431,2432,1816,1619,1816,2225,1430,1900,1906,1883,2690,2720,2257,2273,2321,2216,2009,2649,3300,2822,2962,2924,2331,2334,2508,2278,2382,2589,2090,1966,2720,3484,3729,3372,2118,1960,1609,1761,2089,2228,2125,2599,2493,1811,1614,1774,1870,1741,1710,1755,2046,1853,2641,3528,3550,3554,3419,2994,2974,3295,3146,2813,2928,2609,2531,3196,2714,2448,2313,2654,2815,3010,3445,2886,1416,1431,1780,1765,1866,1965,2173,1934,1793,1979,2688,2863,2104,2003,2175,2415,2686,2611,2352,2594,3537,3442,3284,3364,2907,2263,2321,2400,2272,2543,3190,3392,3426,3278,3212,3068,2986,3203,3603,3860,4195,4820,4920,4319,3520,3211,2918,2401,1670,1447,1544,1808,2474,3142,2801,2391,1901,1749,1794,1695,1909,2301,2282,1863,2084,2795,3143,2468,1733,1705,1736,2036,2548,2391,2121,2062,2358,2075,2175,2291,1932,1693,1687,1594,1753,2105,2249,1937,1871,1981,1887,1737,1961,1883,1547,1392,1429,1434,1322,1394,1688,1536,1460,1628,1758,1901,1880,1739,1875,1850,1814,1704,1521,1357,1243,1460,1858,1610,1656,2226,2707,2520,2250,2283,2435,2636,2687,2551,2067,1935,2921,2931,2992,2466,2540,2323,1918,1670,1812,2076,1830,1840,2033,2040,1920,1650,1857,2191,2155,1859,1634,1845,2350,2463,2365,2258,2210,2021,2557,2776,1787,1483,1396,1520,1570,1674,1686,1852,2464,2640,1705,1575,1655,1693,2226,2345,2018,2007,1806,1743,2056,2036,1587,1472,1673,1711,1777,1751,1620,1652,1515,1457,1708,2496,2666,1833,1229,1153,1135,1273,1328,1424,1678,1769,1407,1388,1390,1727,1775,1722,1881,1761,1677,1449,1326,1531,1811,2131,1872,1566,1865,1775,1789,2227,1977,2034,2377,1400,1570,2034,1735,1301,1461,1217,1467,1565,1455,1863,1800,1169,1017,1318,1629,1387,1379,1427,1633,1827,1700,1769,1735,1524,1370,1710,2011,2109,2450,2699,2682,2652,2415,2288,2058,1800,1688,1769,1656,1580,1746,1871,2299,2117,2082,2067,1643,1673,1792,2025,2624,2598,2117,1890,1981,2263,2040,1948,2168,2813,3169,3057,2461,2838,2893,2811,3262,3279,3094,3252,2646,2578,2379,1682,1396,1745,1786,2204,2622,3465,3570,2880,2735,2872,3206,3241,2707,1935,2081,1782,1500,1417,1484,1587,1572,1570,1620,1799,2101,1836,1649,1800,1700,1607,2294,1799,1376,1610,1577,1782,1829,1736,2345,2667,2424,2054,2025,2027,3349,3044,2679,2269,1677,1411,1245,1527,1888,1983,2525,2681,2857,2774,2236,2187,2770,2462,1644,1577,1827,1853,1929,2225,1902,1652,1746,2338,2510,1857,1639,1343,1611,1847,1885,2455,2554,2559,2053,2160,2193,2042,1744,1663,1638,2365,2086,1068,1256,1628,1840,1736,1647,1996,2073,1948,1763,1724,1777,1844,1777,2032,2185,1992,2349,2518,2863,2907,2459,2658,2523,2172,2513,2377,1779,1934,2283,2076,1810,1771,1445,1483,1379,1508,2115,1932,1562,1550,1635,1506,1526,1731,1547,1475,1591,2041,2151,2230,1745,1678,1595,1467,1678,2144,2350,1884,1947,2212,1746,1445,1403,2008,2341,2427,2201,1865,1978,1975,1981,2614,2906,2584,2521,2154,1753,1757,1452,2154,2766,1953,1453,1680,1652,1867,2208,1792,1469,1412,2442,2361,2155,1761,1735,1721,1755,1799,1881,2144,2061,1787,1653,1632,1529,1849,1930,2008,2314,2774,2522,2099,1952,1773,1852,1918,2092,2511,2337,1711,1537,1957,1733,1652,1538,1315,1836,2269,2084,1608,1845,2384,2187,2697,3241,2493,2092,1947,2446,2996,2979,2988,2795,2397,2003,2499,2474,1944,2155,1829,1674,2444,2539,2349,2480,2350,2355,1948,1953,1785,2337,2667,2867,3019,3286,2990,2666,2563,2624,2805,3011,3189,3107,3039,2823,2709,2787,2887,3098,3062,3006,2996,3030,3345,3626,3798,3794,3348,2545,2310,2920,3249,3388,3270,3265,3023,2530,2652,2929,2833,2875,2900,3056,3138,2863,2206,2206,2316,2395,2414,3054,3862,4001,3719,3524,3672,4169,4372,3938,3486,3298,3362,3581,3615,3638,3531,3099,3207,3725,3161,2896,4208,4294,3785,3735,3813,3275,2836,3140,3378,3350,3615,3795,3553,3195,3395,3230,3271,3260,3132,3078,2944,3111,3180,3048,3032,3125,3208,3138,3264,3645,4064,3690,3431,3291,3509,3510,3500,3365,3460,2865,2702,2812,1720,1824,2301,2636,2818,3671,4548,4320,3856,3764,3516,3197,3266,3281,3109,3133,3123,3111,3173,3172,3139,3224,3242,3194,3304,2868,1427,1516,2799,2165,2801,2521,2054,1941,1866,1652,1627,1814,2090,2262,2298,2565,3199,3629,3872,3831,3360,3673,4277,3726,3307,3404,3208,2903,2702,3138,3761,3496,3420,3358,3507,3443,3066,3196,3737,3816,3982,4144,4144,4100,4233,4497,4631,4220,4095,4027,4584,4685,4186,3787,3675,3309,3010,2598,2420,2445,2298,2414,2457,2340,2429,2554,2402,2168,2036,2040,1971,1807,1731,1808,1832,1507,1870,2450,2279,2482,2868,2446,2029,2539,2793,2414,2162,1890,2371,1843,1780,1922,2054,1977,2072,2315,2348,2425,2431,1664,1533,2154,2357,2807,2310,1973,1721,1819,2050,1590,1200,1305,1687,2320,2028,1973,2995,3221,2582,2490,2351,2077,1660,1909,2176,2395,2290,2215,2114,1763,1633,1443,1546,1678,1484,1825,2073,1759,1652,1703,1866,2079,1823,1887,2414,2567,2453,2461,2043,1830,2071,2267,2345,2499,2683,2711,2639,2657,2404,2177,2127,1907,2128,1854,1803,2028,2249,2486,2255,2049,2450,2602,2820,2796,2579,3221,3135,2470,3064,3431,2646,2210,2618,2568,2270,2134,2156,2051,1876,2148,2209,1818,1925,2049,1743,1614,1662,1754,2209,2151,1687,1913,1790,2015,1789,1938,1968,1807,1743,1888,2024,1854,1597,1524,2163,2210,2270,2307,2116,2489,2740,2626,2508,2059,1858,1986,1869,1834,2200,2077,1742,2184,2619,1995,1991,1969,1730,1996,2024,1875,1832,1998,1867,1696,1831,1917,2031,2138,2068,2050,2494,2923,2931,2656,2883,3261,2762,2765,3183,3406,3229,3105,2216,1512,1522,1569,1531,1738,2233,3011,3840,3890,3840,4019,3941,4100,4090,3739,3294,3426,3848,3938,3682,3163,2847,3082,3067,2929,3163,3691,3404,2998,2790,2827,3102,3065,3243,3366,3520,3715,3804,3725,3602,3552,3596,3652,3769,3997,3935,3400,3134,2974,2841,3023,3208,3399,3515,3436,3371,3408,3367,3301,3200,3077,3199,3326,3360,3376,3458,3359,3081,2997,3100,2681,2222,2139,2192,2402,3064,3437,3581,3332,2288,1967,2745,3328,3645,3472,3056,2622,2519,2823,2832,2808,3338,3595,3750,3972,4260,4037,3919,3632,3521,3291,3575,4244,4380,4555,4525,4212,3709,3533,3143,2944,3209,3417,3251,3121,3566,4125,4513,4321,4108,4419,4551,4500,4152,3370,2791,2844,2900,2792,3008,3782,4521,4236,3942,3792,3804,3432,3341,3201,3030,3306,4071,4320,3967,3448,3218,3407,3420,3346,3419,3312,2763,2368,2654,3371,3165,2496,2428,2916,3439,3500,3621,3664,3674,3955,4132,3836,3073,2443,2625,2854,2617,2594,3176,3619,3692,3583,3495,3700,3962,3724,3088,2579,2435,2663,3106,3085,2786,2812,3455,2887,2403,2484,2566,2579,2765,2787,3099,2952,3153,3496,3354,3443,3686,3377,3321,3250,3372,3222,3176,3231,3366,2710,1976,2058,2343,2480,2351,2604,2414,2467,2533,2437,2274,2376,2400,1675,1457,1450,1557,2060,2316,1880,1483,1786,1648,2407,3351,2700,2452,2497,2079,2004,2076,2086,1851,1936,2280,1974,1671,1679,1871,1841,1804,1528,1546,2195,2848,2947,2889,2996,2940,2785,2630,2968,2828,2591,2488,2509,2944,2728,2366,1980,2012,2381,2319,3183,3525,3787,3573,4109,3480,2487,1881,1620,1695,1792,2219,2220,2081,1570,1414,1642,1800,1666,1300,1399,1754,2282,2427,2225,2115,2463,2425,1836,2353,3003,3309,3444,3736,3607,2788,2655,2911,3012,3219,3178,3376,3443,2586,2497,2186,2249,1900,2380,2497,2787,3017,2790,2518,2299,2222,1999,1552,1600,1637,1969,1742,1767,2060,2060,2100,2389,2447,2396,2384,2325,2193,2414,1865,1954,2013,2589,3905,4865,3780,2243,2236,2457,2358,2591,2313,2105,1941,1920,1302,2091,3299,3110,2894,2944,2659,2433,2431,2117,2209,3122,2895,2835,3038,3481,3659,3397,3674,3355,2665,2305,2941,2916,2112,1857,2084,2173,1779,1652,1876,2226,2340,2234,1974,1599,1654,2119,2248,2886,3085,3386,3760,3464,3338,3306,3240,3030,2536,2310,2841,3355,3651,3903,3895,3772,3517,2894,2722,2054,2323,3432,3686,3377,3109,3199,3411,3240,3111,3143,3610,3131,2675,2992,3322,3228,3182,3196,3138,3063,3205,2955,2455,2244,2234,2166,2034,2061,2397,2944,3242,2995,2943,3094,2696,2856,2834,2782,2864,3010,3005,3003,3184,2687,2773,3372,3171,3271,3078,2934,2733,2431,2059,1885,1656,1660,1902,2580,3130,3188,2620,2358,2562,2265,2325,2054,2373,2172,2083,2488,3017,3144,2503,2176,2679,3098,3122,2911,3245,3406,3056,2962,3112,3131,2568,2334,2899,3420,3471,3239,3185,3394,3155,3129,3433,3481,2866,2535,2567,2463,2189,2186,2615,2994,3101,3092,2010,1625,1553,1693,2311,2201,2004,2081,2024,2708,3750,3540,2926,2307,2425,1952,2502,3187,3121],[3548,3459,3683,3558,3537,3706,3677,3529,3341,3359,3254,3207,3304,3282,2952,2976,3244,2557,1954,1729,1592,2239,3006,2976,3078,3284,2958,2583,2575,2603,2730,3282,3596,3606,3579,3623,3738,3837,3660,3417,3310,3535,3842,3723,3597,3723,3520,3387,2593,2128,1823,2570,2790,2235,2204,2382,2382,2160,2258,2276,1949,2046,2201,1952,2017,2001,2746,3194,2654,2688,2685,2563,2452,1749,1894,2184,1860,1609,1645,2106,1992,1730,1953,1726,1497,1890,1484,1295,2382,2895,3128,2989,2535,2117,1904,1729,1569,1689,1965,2031,1643,2035,2790,3164,3366,2663,2720,2281,2165,1884,2106,1991,2000,2338,2301,2375,2092,1909,2055,1955,1993,2303,2710,2845,2198,1725,1898,2426,2577,2277,2110,2008,1881,2003,1897,1338,2254,1960,1726,1765,2038,2578,2574,2461,2311,2350,1879,1749,2354,2357,2192,2038,2041,2258,2425,2465,2402,2312,2304,2091,1969,2690,3353,3673,3487,2772,2168,1597,1781,2224,2286,1918,1801,2076,2250,1745,1710,1819,1323,1692,1516,2176,2354,2933,3592,3618,3630,3444,2976,2731,2910,2820,2776,2792,2297,2385,2966,2567,2326,2567,2544,2834,3414,3178,3016,1885,1664,1841,1875,2007,1811,1997,1896,1957,2229,2492,2523,1779,1542,1678,2008,2141,2425,2429,2570,3354,3540,3355,2919,2159,2209,2532,2556,2580,2987,3364,3352,3630,3841,3485,3128,3494,3443,3314,4284,4849,4908,4832,4449,3740,2833,2321,2062,1653,1632,1937,2039,2541,2776,2176,2392,2019,1880,1835,1642,2113,2580,2599,2380,2447,2983,2740,2398,2076,1799,2030,2206,2271,2464,1879,1793,2009,2214,2534,2422,2037,1578,1287,1606,2061,2484,2305,1986,2080,1829,1449,1367,1973,2154,1698,1384,1418,1398,1524,1743,1768,1738,1584,1548,1591,1874,1945,1576,1717,2008,2057,1848,1591,1567,1434,1603,1852,1716,1720,2088,2514,2448,2519,2667,2594,2814,3486,3119,2420,2648,3483,3507,2854,1940,1731,1804,1815,1896,2182,2247,1970,2235,2343,2279,2124,2056,1844,1913,2099,1765,1536,1953,2598,2724,2442,2246,2254,2142,2731,3072,2300,1572,1537,1587,1664,1501,1226,1578,2066,2075,2226,2149,2035,2229,2707,2529,2104,1992,1860,1724,1858,1891,1431,1101,1310,1340,1330,1602,1572,1391,1376,1466,1527,1644,1580,1343,1201,1131,1180,1107,1208,1415,1444,1355,1435,1388,1308,1546,1488,1554,1736,1625,1744,1455,1371,1429,1666,1983,1865,1810,2067,1950,1884,1923,1481,1570,1946,1828,2095,1830,1388,1321,1411,1301,1217,1208,1516,1810,1328,1268,1193,1081,1606,1449,1369,1710,1633,1544,1471,1507,1602,1484,1512,1819,1735,1876,2173,2618,2531,2100,2359,2478,1864,1635,1497,1535,1844,1832,1701,1909,2071,1700,1713,1990,1953,2178,2012,1864,2669,2769,2007,1633,2095,1846,1713,2024,2433,2579,2232,2402,2652,3020,3496,3461,3582,3386,3094,3130,3145,2970,2066,1666,1616,1630,1850,2199,3123,4080,3446,2244,2344,2746,3132,3089,2855,2352,2452,1938,1519,1401,1626,1874,1949,1605,1558,1765,1970,1726,1623,1902,1782,1500,1497,1422,1493,1535,1557,1658,1455,1600,1819,2204,2408,2251,1990,2018,2814,2894,2719,2270,1628,1526,1597,1551,1837,2262,2657,2596,2799,2601,2611,3010,2989,2347,1604,1562,1608,1794,2227,2314,2066,1511,1971,3186,2989,2272,1746,1273,1332,1583,1830,2032,2136,2447,1996,2008,2168,1945,1684,1537,1777,2532,2244,1371,1430,1787,2224,1946,1776,2125,2080,1926,1828,1824,1823,1809,2014,2688,3034,2258,2368,2416,2396,2115,2163,2298,1914,2200,2966,2378,1583,2039,2270,2416,2247,2056,1628,1563,1396,1627,1925,1741,1424,1668,1752,1442,1312,1479,1340,1422,1603,1927,2097,2396,2143,1714,1530,1497,1420,1720,2121,1942,1750,2144,2084,1549,1301,1936,2455,2453,2256,1924,2006,2014,2139,2540,2274,2039,1880,1957,1742,1795,1755,1982,1930,1283,1496,2128,1891,2153,2332,2115,1745,1693,2021,2041,2099,2055,1817,1673,1675,1720,2270,2814,2141,1821,1829,1878,1666,1856,1941,1766,1926,2274,2066,1853,1938,1721,1575,1820,2186,2621,2155,1607,1782,2154,2263,1757,1119,1470,1526,1626,2272,2084,2030,2148,1989,2138,2367,2165,2175,2710,3325,3229,3122,3038,2788,2404,1926,2238,2508,1947,1941,1942,1942,2424,2724,2980,3322,2756,2232,2040,2214,2445,2684,2762,2886,2579,2579,2836,2957,2758,2899,2977,3037,3308,3120,3031,2850,2767,2791,2865,3030,3146,3196,3110,3174,3086,3031,3499,3573,3218,2153,2418,3319,3548,3529,3469,3353,2984,2533,2644,2921,2968,3072,2949,3000,2890,2736,2393,2183,2206,2218,2457,3062,3685,4046,3803,3487,3526,3798,3884,3764,3119,2641,2911,3149,3594,4168,4197,4168,4344,4404,2973,3353,4456,4392,3794,3669,3725,3629,3462,3160,3157,3137,3362,3299,3125,3215,3388,3453,3418,3407,3579,3532,3132,3023,3248,3107,3038,3123,3068,3082,3149,3372,3420,3291,3200,3401,3500,3439,3529,3499,3431,2511,3640,3551,2244,2479,2916,2784,3163,4185,4616,4246,4117,4117,3759,3404,3272,3322,3124,3067,3099,3043,2987,3055,3271,3454,3447,3255,2975,1864,965,1653,2338,2253,2822,2973,2731,2285,1934,1786,2028,2068,2208,2276,2642,3117,3260,3297,3670,3790,3162,3255,3908,4113,3864,3519,3259,3339,3229,3474,3585,3692,3592,3627,3740,3692,3206,3149,3271,3315,3782,4160,4046,3607,3805,3892,4151,4255,4319,4003,4050,4200,3331,2734,2988,3154,3041,2867,2772,2663,2679,2602,2476,2319,2308,2359,2233,2073,1902,1801,1701,1694,1959,2131,1685,1499,2168,2258,1952,2045,2696,3078,2510,2503,2112,1915,1748,1600,2000,1981,1935,2109,2237,2054,2062,2148,1979,1996,1837,1605,1809,2182,2039,2489,2206,1980,1747,1954,1896,1309,1738,2368,1954,1743,1216,1660,1723,1723,2327,2924,2500,1715,1753,1941,1994,2241,2527,3444,3234,2181,1612,1448,1517,1587,1469,1863,2096,1632,1599,1788,1907,1996,1693,2028,2642,2820,2986,2997,3144,3118,3256,3273,3120,3106,2910,2648,2300,2019,2037,2248,2104,2164,2000,1357,1554,2002,2385,2579,2080,1819,3088,3364,2684,2510,2157,2441,2464,2139,2604,2801,2395,2116,1875,1848,1708,1356,1499,1510,1532,1835,1850,1764,1987,2144,1877,1673,1723,2046,2433,2008,2072,1975,1970,1970,1843,2015,1804,1600,1822,2427,2312,1806,1629,1986,1876,1818,2222,2242,1943,2245,2489,2788,2806,2310,2558,2337,1852,2007,2289,2047,1848,2224,2546,2194,1950,1797,1708,1588,1606,1784,1960,2175,1931,1749,1850,1901,2042,2158,2200,2284,2407,2245,2382,2939,3416,2989,2818,2531,2758,3344,3500,3835,3225,1842,1576,1681,1744,1653,2333,3463,4143,4131,4107,3874,3918,4344,4296,3823,3223,3072,3532,3890,3488,3176,3065,3628,3950,3723,3862,3991,3387,2887,2878,3016,3261,2996,3332,3566,3496,3476,3568,3584,3646,3768,3806,3748,3583,3635,3614,3181,3074,2917,3012,3093,3220,3518,3397,3225,3232,3178,3249,3415,3597,3626,3278,3243,3406,3226,3101,3052,2986,3040,3031,2922,2696,2513,2410,2618,3100,3097,2849,2805,2562,2944,3054,3168,3242,3223,3230,3266,3307,3329,3065,2917,3291,3438,3498,3745,4031,3798,3703,3618,3498,3496,3769,4070,4123,4199,4332,4003,3989,3853,3559,3565,3444,3574,3659,3657,4061,4452,4616,4504,4292,4383,4183,3567,3088,2827,2833,3259,3567,3477,3379,3596,4019,3889,3676,3715,3708,3270,3127,3027,3139,3509,3889,4199,3740,3247,3392,3374,3386,3696,3436,3498,3570,2777,2636,3166,2995,2458,2710,3042,3575,3615,3629,3652,3658,3843,3646,3463,3509,3672,3919,3796,3269,2817,3200,3237,3336,3650,3696,4013,4199,3951,3375,2773,2678,3164,3404,3238,2850,3090,3981,3843,3152,2863,2708,2402,2512,2823,2872,3028,3161,3162,3287,3791,3388,3164,3492,3422,3200,2578,2896,3541,3356,2512,2230,2540,3088,2918,3043,3472,3453,3396,3112,3065,3175,3351,2836,1767,1283,1396,1588,2106,2568,1964,1860,2326,1973,2187,2746,2407,2020,2017,2139,2026,2313,2430,2207,2701,2419,1802,1810,1826,1842,2009,1716,1349,1416,1646,1946,2372,2720,2604,2722,2888,2867,2931,2827,2829,2707,2740,2854,2580,2133,1842,2271,2532,2436,2887,3438,3892,3960,3937,3253,2368,1874,1720,1804,1843,2335,2298,2049,1520,1570,1520,1326,1394,1395,1548,1925,2010,2255,2169,2165,2555,2274,2249,2326,2181,2084,2162,2274,2207,2376,2522,2541,2390,2251,2264,2520,2451,2334,2503,2060,1879,1943,1874,2231,3176,3243,3138,2995,2812,2341,2445,2534,2311,1986,1907,1776,1751,1714,1682,1772,2055,2321,2352,2449,2522,2336,2194,2045,1792,2023,2675,3640,4661,3820,2240,2493,2559,2237,2141,2043,1912,1816,1929,1801,1899,2331,2810,3353,3600,3422,2988,3215,2987,2064,2497,2436,2099,2391,2840,2690,2409,2939,3184,2858,2504,3057,2640,1404,1286,1969,2028,1692,1632,1801,2443,2928,2498,2006,2148,2511,2918,2624,2750,2796,2657,2586,3055,3463,3427,3228,2905,2531,2474,2390,2252,2589,3292,3255,3122,3388,3018,2337,1768,1778,2814,3796,3479,3188,3094,3186,3011,2801,3069,3329,3262,3100,3229,3396,3294,3218,3071,2932,2917,2955,2696,2767,2512,2252,2253,2223,2287,2218,2401,2867,2746,2933,3249,2742,2686,2873,2937,3094,3067,2753,2884,3318,3186,2756,3029,2761,2587,2676,2800,3062,3173,3056,2518,2026,1807,1660,1685,1907,2257,2648,3087,2880,2684,2540,2321,2380,1910,1606,1906,2522,2736,2514,2430,2702,2683,2837,3045,3322,3486,3242,2940,2799,3031,2501,2060,2695,3405,3673,3475,3356,3545,3542,3431,3277,3016,2662,2430,2315,2257,1968,1986,2428,3209,3329,3197,2955,2286,1726,1703,1998,2203,2056,1824,1844,2148,3159,3182,3109,2489,2420,2585,3182,3355,3160],[3511,3602,3889,3982,3827,3984,4102,3805,3643,3588,3262,3160,3257,3307,3167,3481,3510,2810,2460,2080,2014,2409,2902,3010,3131,3187,3042,2801,2674,2441,2512,2850,3293,3508,3702,3805,3836,3770,3587,3387,3253,3406,3662,3553,3630,3687,2974,2711,2154,1723,1708,1820,2120,2384,2162,2150,2424,2264,2122,1665,1514,1962,2008,2023,2474,2482,2889,2889,2941,3354,3140,2764,2386,1903,1643,1942,2081,2406,1992,1979,1989,1843,2079,1703,1700,2002,2354,2335,2543,2609,2733,2317,2029,2050,2295,2126,1882,1918,2482,2222,1469,1765,2150,2896,3113,3043,3104,2831,2200,1824,2225,2099,2000,2333,2398,2287,1820,1871,2126,2163,2144,2159,2443,3041,3319,2561,1876,2403,2287,1553,1793,1726,2125,2151,1507,1610,2366,2135,1886,1783,2015,2272,2242,2076,2026,2029,1707,2008,2437,1927,1927,1881,1868,2307,2289,2023,2050,1723,1689,1670,2142,2686,2974,3313,3012,2728,2221,1906,1959,1900,2400,2591,2631,2480,2273,1966,1732,1856,1888,1665,1344,1912,2449,2685,2878,2878,2906,3123,3635,3030,2677,2609,2692,2500,2327,2510,2850,2854,2986,3079,2798,3063,3210,3027,2429,1808,1663,1647,1864,1874,1652,1676,1702,1964,2489,2372,2147,1733,1508,1947,1932,1785,2079,2108,2482,3296,3474,2971,2269,1970,2356,2188,2068,2446,3044,3181,3127,3398,3882,3533,3052,3117,2643,2443,3323,4549,4672,4617,4112,3282,2608,2180,1952,1830,1687,2046,2710,2823,2099,1623,2014,1932,2215,1758,1671,2732,2677,1952,1926,2666,3046,2022,2039,2711,2366,2259,2261,2033,1622,1394,1760,1899,2030,2542,2593,2283,1422,1274,1625,2036,2114,2441,2275,1805,1615,1544,1612,1816,2017,1604,1288,1390,1504,2049,2161,1886,1919,1703,1720,2027,2354,2025,1453,1846,2263,1956,2064,1848,1679,1604,1779,1650,1416,1715,2196,2444,2364,2440,2418,2479,2688,3637,3161,2665,2954,3374,3265,2374,1577,1815,1974,1945,2185,2285,2113,2178,2281,2555,2413,2089,1947,1949,2098,1867,2054,2512,2293,2407,2836,2509,2320,2214,2350,2273,2313,2135,1727,1603,1632,1677,1570,1445,1386,1789,1813,2339,2429,2145,2220,2359,2145,1850,1687,2019,2180,1897,1764,1457,1491,1145,871,927,1224,1229,1265,1434,1375,1293,1380,1403,1411,1468,1426,1377,1368,1654,1782,1497,1318,1423,1373,1279,1483,1486,1745,1794,1525,1840,1500,1254,1297,1441,1562,1411,1387,1793,1924,1726,1598,1437,1563,1747,1721,1725,1785,1595,1401,1515,1492,1286,1633,1899,1813,1591,1450,1253,1176,1670,1893,2036,1924,1739,1498,1199,1213,1441,1318,1553,1634,1703,1323,1134,2197,2601,2178,2600,2473,1919,2151,1886,1570,1873,1945,1868,1741,1538,1565,1748,1852,1760,1782,1591,1816,2682,2724,2061,1717,1967,2023,2040,1958,2194,2051,2117,2482,2352,2689,3518,3638,3577,3288,2936,3003,3118,2732,2012,2016,1995,1666,2333,3575,3604,3387,2856,2424,2690,2536,2707,2459,2277,2245,2156,1976,1592,1497,1825,1988,1982,1643,1546,1694,1714,1687,1612,1593,1527,1481,1394,1543,1545,1456,1461,1476,1626,1893,1811,1786,2030,2068,1775,1740,2192,2687,2902,2475,1581,1578,2049,1822,2193,2498,2344,2475,2536,2403,2473,2410,2396,2549,1844,1672,1871,2003,2485,2728,2234,1584,2077,2990,2765,2003,1750,1942,1948,1678,1595,1847,2120,2482,2425,2354,2228,1942,1803,1887,2185,2274,2584,1931,1899,2062,2280,1913,1831,2180,1997,1810,1899,1852,1720,1578,1736,2251,2723,2082,1737,2062,1770,1651,2127,2193,2054,2178,2413,2264,1717,2034,2008,2252,2003,2166,2048,1800,1523,1677,1972,1867,1676,1582,1568,1376,1237,1467,1494,1592,1691,1764,2047,2633,2646,2048,1747,1650,1666,1898,2013,1842,1587,1635,1614,1562,1499,1789,2037,2299,2346,1960,1840,1736,1645,1727,1654,1883,1805,1808,1692,1905,1843,1795,1803,1375,1769,2146,1780,1826,1675,2063,1780,1411,1417,1621,1914,1969,2008,2318,1940,1747,1930,1803,1832,1706,1785,1891,1876,1887,2121,2183,1797,1867,1637,1769,1726,1785,1598,1706,1802,2542,2348,1792,1775,2049,2691,2360,1424,1895,1623,1577,1771,1786,1916,2222,2051,1658,1654,1789,2264,2908,3084,3245,3063,2866,2852,2636,1930,1647,1964,2230,2216,2173,2566,2870,3100,3548,3555,2908,1857,1982,2000,2381,2655,2777,2435,1807,1890,2489,3261,3260,3183,3297,3281,3306,3182,3020,2890,2863,2689,2634,2925,3205,3226,3242,3407,3139,3204,3254,3152,2637,2297,2886,3351,3216,3022,2965,3140,2839,2490,2499,2435,2584,2803,2811,2915,2852,2845,2627,2260,2209,2360,3068,3563,3798,3837,3532,3472,3511,3426,3585,3421,2586,2716,3211,3064,3465,4157,4489,4463,4496,4517,3462,4144,4661,4026,3404,3406,3522,3506,3150,2791,2576,2700,2758,2785,2820,3123,3109,3266,3387,3371,3563,3325,3305,3725,3840,3189,3038,3361,3550,3155,3008,2999,2940,2929,3029,3140,3153,3342,3605,3216,3123,2471,3750,4045,3370,3475,3476,3437,3994,4344,4365,4453,3843,3337,3377,3479,3318,3431,3326,3009,3029,3089,2902,3001,3174,3365,3343,3121,2359,1162,814,1455,2034,2791,3039,3067,2844,2653,2686,2490,2131,1834,2072,2544,3153,3580,3399,3265,3628,3751,3509,3316,3211,3550,4157,3982,3370,3385,3364,3483,3488,3698,3655,3701,3720,3488,3288,3177,3142,3236,3804,4163,3942,3162,2915,3442,4008,4099,4062,3488,3055,3510,2906,2430,2944,3317,3400,3254,2978,2633,2459,2229,2160,2166,2121,1937,1900,1812,1906,1992,2156,2386,2701,2587,1976,1861,2010,1779,1807,2282,2911,3566,3143,2600,2149,1867,1692,1564,1850,2411,2254,1963,1892,1688,1613,1553,1658,1918,2454,2460,2312,1935,2106,2397,2182,1877,2098,2287,2166,2014,2526,2790,2052,1886,1930,1749,1646,1947,2649,3109,2425,1752,1838,1847,1975,1986,2311,3631,3739,2587,1886,1762,1833,2064,2048,1986,2182,1693,1638,2028,2234,2253,2045,2788,3123,3068,3183,2671,2142,2409,3030,3075,2943,3164,2999,2318,1848,2183,2286,2115,1883,1943,1726,1337,1475,2198,3065,2767,2508,1941,3096,3459,2722,2014,1887,2261,2116,2069,2251,2539,2806,2305,1674,1770,1879,1523,1587,1822,1814,1951,2077,2080,2085,2291,2733,2620,2048,1692,2343,2532,2226,1816,1807,2003,2569,2499,1896,1630,1713,1918,1993,1651,1510,1826,1791,1589,2010,2344,2524,2773,2737,2437,2260,2231,3375,2712,1815,1983,1848,1880,2443,2657,2315,1952,1789,1620,1606,1603,1760,1783,2074,2034,1931,1790,1784,1931,2006,2092,2060,1973,1923,2101,2821,3182,3150,2989,3031,2875,3007,3272,3530,4040,3816,2341,1533,1626,1707,1481,1764,3094,4097,4392,4445,3898,3731,3786,3672,3398,2845,2575,2658,3226,3394,3273,3285,3884,4428,4232,3603,3377,3246,2916,3137,3415,3663,3300,3568,3485,3315,3250,3317,3450,3649,3739,3614,3385,3152,3265,3292,3121,3283,3506,3324,3056,3065,3464,3621,3350,3104,3020,3094,3233,3341,3382,3315,3284,3382,3316,3139,2967,3043,3100,3043,3018,2819,2474,2274,2732,2892,3051,3179,3454,3606,3277,2658,2469,2618,2929,2917,3184,3542,3341,3009,2895,3239,3088,3195,3793,3884,3515,3296,3486,3811,4013,4139,4140,3920,4018,4144,4061,4157,4010,3769,3737,3780,4050,4145,3972,4243,4260,3992,4337,4428,4211,3649,3394,3122,2696,2811,3244,3527,3501,3441,3184,3387,3378,3447,3724,3806,3768,3753,3608,3570,3530,3259,3886,3717,3488,3441,3523,3508,3321,3622,3661,2993,2474,2222,2518,2509,2791,3139,2988,3060,3313,3463,3549,3497,3585,3627,3588,3728,4111,4029,3751,3373,2640,2532,2932,3009,3260,3687,4062,4124,4027,3675,3171,3251,3807,3933,3824,2977,3475,3753,3910,3706,3610,3704,3275,2945,2677,2389,2376,2490,2625,3511,3835,3447,3664,3824,3593,3154,2739,2829,2871,2530,2461,2710,3130,3490,3204,3066,3418,3465,3284,3211,3382,3510,3381,2934,1898,1385,1532,1744,2085,2665,2596,2447,2296,1932,1910,2161,2165,2137,2381,2476,2222,2756,2746,2689,2835,2347,1994,2020,1714,1648,1887,1882,1675,1860,1938,1883,2247,2307,2260,3122,3604,3452,3020,2752,2783,2864,2462,2170,2107,1894,2191,2493,2287,2498,2790,2941,2817,3037,3278,2769,2132,1793,1838,1725,1864,2166,2415,1838,1376,1508,1214,1305,1647,1560,1993,2105,1455,1609,1700,1642,1721,1700,1966,2018,1903,1720,1695,1820,1954,2282,2281,2211,2081,2532,2495,2420,2071,1815,1717,1599,1824,2084,2066,2596,2822,3145,2623,2272,2532,2052,1836,1958,1903,1837,1849,1870,1962,1648,1565,1531,1892,2410,2543,2438,2481,2359,2023,1892,1487,1384,2332,3648,3841,2719,1469,1850,2457,2199,2023,2164,2074,1953,2123,2264,1736,1910,2524,3189,3688,3396,3167,3384,3105,1962,1760,1964,2183,2332,1964,2199,2365,2664,2717,2418,2556,3116,3223,2360,2140,2420,2136,2124,2013,1656,2292,2530,2129,1917,2529,2378,2108,2437,2853,2759,2521,2292,2751,2922,2951,2899,2998,2777,2287,1937,1921,1960,2306,2743,3341,3604,3030,2388,2082,1866,2238,3696,3562,3285,3338,3351,2798,2609,3188,3574,3576,3416,3360,3331,3260,3332,3057,2917,2997,2998,2696,2571,2316,2059,1982,2040,2124,2045,1938,2319,2467,3031,3310,2695,2613,2866,2962,3084,2893,2628,2841,3233,3420,2974,2895,2742,2370,2710,3233,3501,3676,3724,3281,2790,2272,1988,1831,1667,1606,1757,2072,2426,2679,2858,2753,2302,1769,1470,1735,2431,2490,2731,2641,2573,2675,3195,2934,2831,2993,3097,2850,2717,3123,3364,2964,2825,3222,3540,3489,3646,3607,3512,3130,2610,2348,2226,2273,2312,2490,2576,2581,2680,3038,3232,2971,3020,2796,2216,1942,2153,2233,1790,1724,1671,1633,2142,2477,2827,2588,2323,2370,2910,3087,2944],[3648,3717,3724,3818,3981,4144,4030,3230,3054,3582,3341,3459,3551,3543,3450,3875,3432,2965,2469,2259,2376,2236,2302,2895,3328,3269,3276,3056,2574,2380,2386,2533,2946,3387,3650,3675,3674,3707,3737,3676,3439,3431,3598,3497,3650,3886,3235,2330,2048,2278,2305,2061,2260,2621,2624,2209,2357,2297,2206,2029,2015,2162,2162,2171,2100,2570,3342,3129,2973,3122,3305,2699,2363,2378,2040,3011,3024,2218,2130,2401,2017,1642,1960,1790,2408,2388,2617,3027,3354,2621,2215,1779,1936,2602,3123,3442,2568,2249,2851,2191,1849,1948,1738,2087,2678,2876,2857,2541,1784,1707,2387,2378,1981,2254,2642,2590,1954,2038,1893,2067,2442,1798,1374,2253,3132,2727,1982,2600,2568,2054,2294,2149,2645,2787,2012,1730,2250,2976,2713,1909,2079,1953,2005,1996,1886,1858,1771,1744,2097,2013,2089,2012,1926,1975,1920,1952,2011,1926,1778,1723,2507,2434,2128,2380,2276,1983,1679,2075,2089,1246,1296,1525,2643,2745,2002,2055,2128,2070,2204,1932,1628,1996,2570,2240,2448,2392,1880,2315,3240,2793,2310,2274,2216,2046,2037,2676,2962,2823,2907,2750,2512,2553,2953,2857,2346,2054,1638,1510,2034,2048,1648,1856,1903,1977,2570,2231,2358,2283,1760,1936,1782,1572,1888,2237,2836,3138,3032,2566,2197,2404,2524,2202,2318,2872,3334,3438,3320,3297,3403,3312,2866,1912,1669,1902,2359,3693,4384,4292,3748,3405,3056,2346,1861,2292,2501,2495,2575,2662,2122,2002,2054,1837,1769,1646,1906,2514,3095,3007,3778,3396,2408,2199,2096,2492,2032,1750,1764,1755,1642,1759,1981,1833,1911,2210,2346,1996,1406,1492,1637,1798,1921,2293,1905,1481,1603,1804,1896,1840,1825,1361,1499,1800,1788,2142,2214,2135,2095,1891,1930,2443,2268,1743,1529,1646,2004,1856,2176,2123,1618,1359,1641,1860,2451,2886,2639,2457,2136,2394,2338,2039,2377,3212,3331,2943,2918,2976,2968,2314,1621,1918,2051,2231,2182,2179,2197,2315,2293,2193,2289,2404,1974,1791,1948,1583,2165,3151,2685,2598,2785,2721,2613,2536,2272,1743,1694,1736,1554,1616,1794,1906,1952,1875,1550,1661,1930,2099,2190,2062,2302,2410,1865,1635,1782,1998,1595,1534,1643,1512,1522,1093,1123,1897,1884,1300,1816,1542,1434,1376,1316,1315,1305,1256,1295,1401,1523,1857,1954,1638,1452,1348,1243,1313,1318,1566,1938,1885,1707,1766,1377,1109,1154,1274,1339,1355,1520,1783,1604,1484,1505,1565,1564,1735,1811,1720,1831,1830,1448,1527,1650,1575,1785,1797,1464,1346,1310,1103,1087,1208,1793,2062,1661,1649,1352,1208,1580,1626,1431,1409,1305,1627,1442,1636,2754,2774,2144,2063,1815,1942,2207,1867,1575,1853,2252,2223,1938,1672,1558,1577,1578,1742,1958,2078,2396,2777,2752,2244,2344,2251,2481,2140,1562,1781,1863,1816,1776,1513,2007,3151,3397,3372,3234,2921,2786,2921,2602,2590,3146,2671,1682,2950,4095,3664,2939,2522,2685,2457,2418,2592,2038,1723,1908,2153,1968,1584,1456,1561,1746,1578,1700,2038,1917,1645,1515,1648,1802,1818,1735,1339,1488,1619,1327,1311,1642,2787,2539,2099,2128,1942,1716,1776,1636,2218,2997,2845,2286,1678,1969,2619,2052,1973,1757,1863,2382,2559,2154,2055,2360,2819,2756,1813,1645,2421,2197,2174,2557,2330,1720,1837,2260,2125,1940,1867,1744,1956,1730,1666,1832,1980,1908,2105,2360,1854,1607,1558,2147,2539,2290,2405,2124,2092,2280,2427,2026,1860,2048,1968,1808,1740,1638,1877,1808,1675,1684,2243,2074,1957,2159,1882,1798,2190,2257,1885,1828,1974,2388,1831,1396,1423,1712,1572,1602,2108,2252,1979,1683,1765,1782,1661,1422,1616,2171,2141,1683,1530,1587,1652,1704,1926,2756,2877,2033,1628,1659,2136,2625,2204,2084,2306,1871,1577,1748,1607,1636,1780,2086,2152,1979,2217,1628,1387,1914,1962,1578,1676,1758,1827,2072,1854,1832,2058,1876,1829,2026,2053,1641,1270,1448,1478,1349,1330,1387,1395,1562,2430,2924,2247,2002,1846,1694,1742,1760,1864,2072,2190,2072,2363,2909,2216,2083,1788,1689,1538,1704,1864,1616,1459,2182,2350,1903,1907,1850,1945,2015,1538,1528,2075,1995,1576,1467,1471,1724,1751,1380,1403,1769,2244,2589,2800,2966,2077,2075,2332,2116,1731,1738,1926,2366,2242,2224,2469,2662,2908,3398,2862,2280,1794,1738,1618,1705,1913,1966,2025,1858,2164,3184,3581,3458,3255,3275,3262,3210,3129,3031,2901,2695,2611,2485,2663,3063,3229,3172,3325,3237,3212,3110,2678,2226,2490,3099,3450,3228,3203,3328,3686,3286,2611,2511,2592,2643,2646,2634,2689,2701,2867,2764,2429,2160,2306,3261,3647,3826,3880,3871,3781,3439,3376,3518,3021,2789,3360,3724,3419,3728,3815,3917,3657,3840,4264,4351,4700,4488,3585,3099,3110,3212,3429,2995,3051,2876,2809,2779,2699,2653,2800,2889,3140,3238,3225,3585,3317,3628,4151,4323,4028,3553,3487,3361,3026,2994,3107,2908,2632,2668,2661,2811,3178,3244,3134,2778,2770,3442,3720,3993,3916,3354,3413,3542,3417,3531,3897,3448,3244,3396,3376,3265,3225,3234,3040,3042,3188,3072,3188,3082,3146,3078,2470,1282,927,1549,2409,2920,3040,2889,2961,2998,3009,3184,3076,2596,2030,1946,2426,3076,3481,3580,3580,3720,4019,3753,3359,3305,3674,4173,4384,3664,3376,3275,3340,3508,3646,3566,3309,3209,3417,3628,3362,3312,3625,4267,4560,4184,3478,3037,3333,3898,3785,3251,2842,2396,2454,2688,2753,2998,2876,2664,2475,2360,2271,2155,2060,1980,1896,1924,1907,2036,2085,2249,1921,2423,2666,2818,2855,2375,1842,1627,1630,1869,2271,2266,2581,2437,2347,2236,1887,1834,1755,1839,2214,2170,1778,1613,1602,1525,1675,2164,2122,2228,2356,2303,2007,2128,2414,2338,2186,2706,2455,2198,2376,2287,2589,1776,1559,2674,2215,1152,1591,2326,2540,2474,2332,1974,2030,2020,1990,2768,3340,3252,2647,2134,2241,2540,2897,3230,2795,2272,2099,1766,1786,2576,2976,2692,2863,2912,3287,3570,2827,2163,2140,2258,2693,2968,3068,2919,2269,1896,2127,2409,2239,1729,1720,1671,1494,1596,2547,3487,2661,2432,2026,2410,3001,2896,2431,2542,2590,2216,2072,2292,2204,2134,2106,1703,1931,2435,2381,2811,2872,2120,2045,2148,2366,2381,2453,2872,2810,2003,2159,2452,2045,1913,1962,1881,2069,2416,2096,2201,2202,2006,1722,1876,2088,2142,2326,2356,2264,2110,2236,2842,3235,2596,1993,1798,2221,2776,2175,2111,2297,1960,2144,2452,2129,1769,1590,1650,1614,1592,1562,1478,1449,1721,1866,1932,1888,1715,1656,1832,1918,1908,2367,2528,2988,3053,2741,2446,2468,2962,3242,2932,2511,2570,3178,3770,2988,1664,1621,1519,1536,1993,3078,3978,4432,4241,3627,3731,3374,3084,2866,2460,2165,2409,3264,3561,3460,3220,3111,3807,3902,2541,2419,3134,3684,3889,3874,3648,3376,3439,3522,3464,3305,3299,3361,3602,3671,3580,3182,2486,2891,3146,3209,3773,4008,3558,3233,3291,3306,3436,3144,2812,3140,3174,3195,3283,3382,3326,3337,3467,3477,3300,2915,3023,3131,3232,3254,2522,2142,2349,2633,2674,2906,3339,3539,3630,3448,3064,2946,2924,2916,2957,3205,3575,3533,3211,2822,2566,2357,2915,3570,2951,2587,2885,3691,4211,4236,4232,3872,3697,3748,3913,4058,3992,3852,3742,3913,3978,4221,4216,4127,4380,3880,2736,3476,3858,3053,2978,3256,2942,2687,2800,2980,3060,3153,3167,2840,2840,2566,2561,3044,3471,3564,3083,2921,3356,3211,2610,2919,3144,3606,3508,3296,3486,3520,3848,3561,2875,2822,2118,2247,2381,3084,3270,3050,3156,3304,3394,3374,3316,3628,4091,3670,3389,3685,4007,3876,3647,2849,2308,2220,2392,3001,3736,3937,3687,3736,4046,3786,3654,3985,4139,4069,3548,3315,3450,3737,3730,3835,3957,3772,3714,3232,2574,2444,2546,2580,3528,3957,3946,4176,4220,3720,3065,3053,3185,2780,2360,2468,2710,3352,3327,3282,3017,2927,2942,3054,3302,3389,3466,3426,2398,1516,1946,2433,2150,1939,2024,1918,1931,1989,1873,1807,2360,2470,2344,2601,2359,1772,2374,2845,2938,2873,2601,2624,2485,1924,1978,2213,2523,2000,1756,1822,2020,2900,3018,3002,3344,3370,3332,3172,3228,2932,2802,2269,2250,2385,2129,2259,2454,2304,2440,2822,2444,1837,2343,2684,2706,2039,1648,1751,1594,1707,1925,1975,1327,1125,1532,1833,1692,1552,1477,2091,2115,1648,1742,1757,1686,1684,1490,1614,1824,1528,1648,1806,1709,1839,2320,2518,1977,1687,2647,3229,3038,2377,1794,1769,2116,2294,2367,2504,2504,1873,2961,3072,2338,1980,1655,1431,1522,1602,1417,1258,1750,2048,1793,1677,1832,2374,2676,2859,2844,2752,2322,1834,1722,1832,2198,3213,3588,2658,1958,1847,2340,2597,1998,1674,1894,2110,2106,2220,2427,1841,2524,2928,3168,3534,3646,3420,2953,2651,2254,1801,1814,1971,1964,1931,2272,2706,2662,2173,1492,1717,2924,3681,3219,2911,2711,2192,2744,3047,2192,2258,2129,1815,2070,2768,2291,1964,2955,3205,2576,2602,2576,2473,2426,2043,2104,2654,3011,2426,1856,1589,1585,1735,2232,2632,2710,2809,2329,1801,1926,1967,3132,3707,3554,3461,3442,3098,2912,3122,3155,3185,3200,3311,3199,3238,3474,3205,2976,2951,3029,2720,2260,1963,1841,1878,1908,2212,2308,2055,2172,2591,3298,3352,2790,2495,2373,2371,2478,2525,2612,2712,3111,3520,3404,2983,2832,2493,2790,3610,3758,3850,4055,4056,3598,2789,2444,2235,1952,1897,1687,1659,1660,1796,2007,2276,2388,2210,2282,2520,3210,2929,2564,2461,2713,3081,3371,3046,2614,2696,2729,2820,3383,3310,3421,3104,2834,3130,3208,2942,3128,3034,2783,2545,2286,2257,2686,3077,3133,3122,3083,3162,3248,3096,2946,3007,2976,2802,2570,2454,2751,2657,2357,2182,2150,2167,2309,2735,2824,2746,2332,2115,2620,3011,2910],[3528,3632,3692,3908,4056,4070,3407,1808,1877,2937,3318,3566,3707,3628,3724,3738,3369,3415,3276,2870,2586,2332,2376,2817,3145,3092,3195,3203,2588,2342,2364,2471,2913,3473,3733,3723,3618,3737,3723,3564,3551,3574,3629,3402,3444,3232,2360,1822,1813,2332,2180,1808,2106,2177,2470,2105,2128,2202,2327,2325,2200,2245,2304,2141,2186,3186,3895,3683,2784,3332,3098,2542,3012,3740,3714,4245,3385,2186,2917,3150,2085,1518,1505,2100,2771,2998,2974,2371,2318,2294,1643,1435,2294,2825,2942,3082,2689,1963,1798,2171,2603,2445,1688,1670,2420,2776,2235,1783,1716,1505,1996,2125,2371,2403,2261,2136,1955,2302,2524,2563,2387,1956,1428,1761,2596,2718,2276,2508,2352,2211,2501,2206,2131,2093,1744,1832,2514,2855,2168,1820,2198,2043,1981,1867,1543,1788,2043,2175,1971,1898,2123,2086,2234,2000,1964,1675,1505,1686,1830,2307,2954,2427,1943,1765,1493,1285,1468,1865,1575,1217,1402,1796,2621,2684,2438,2523,2696,2844,2292,2018,2349,2603,3031,2278,2091,1959,2023,2369,3177,3209,2739,2532,2406,2186,2130,2788,2640,2223,2662,2603,2141,1850,2282,2297,2257,2447,2133,2155,2433,2190,2041,2479,2197,1944,2238,2365,2797,2533,1817,1596,1704,1758,2141,2585,3042,2776,2618,2440,2449,2745,2934,2908,3222,3445,3222,3052,3062,3042,2784,2963,2384,2130,2186,1914,1865,2597,3710,3964,3736,3624,3039,2404,2335,2536,2490,2311,2107,2065,1782,1815,2055,1875,1649,1964,2212,2280,3023,3482,3586,2877,2285,2536,2400,1902,1497,1591,1834,1829,1877,1949,1825,2061,2301,1878,2243,1925,1490,1609,1654,1646,1829,1881,1407,1343,1557,2113,1977,1817,1662,1603,1595,1872,2010,1882,2157,2529,2590,2303,2249,2386,1750,1276,1356,1466,1432,1582,2138,2131,1767,1609,1877,2229,3306,3273,2752,2454,2255,2508,2157,1839,2305,3131,3319,2962,2827,2762,2712,2235,1848,2012,2237,2171,1680,1906,2262,2443,2454,2280,2404,2475,1781,1936,2286,1888,1907,1940,2300,2659,2776,2583,2387,2388,1866,1532,1489,1486,1631,1781,1589,1529,1804,1899,1662,1775,2036,2202,2126,1687,2066,2299,1584,1454,1645,1862,1520,1507,1464,1403,1582,1597,1802,2171,2048,1733,2493,1443,1178,1368,1440,1235,1097,1157,1148,1221,1428,1655,1722,1676,1600,1476,1402,1341,1215,1416,1712,1509,1401,1534,1328,1160,1132,1142,1188,1363,1638,1593,1489,1591,1554,1524,1514,1664,1939,2174,2322,2198,1694,1921,1993,1666,1408,1262,1261,1448,1344,1069,1168,1603,1735,1624,1512,1914,1924,1786,2065,1592,1340,1366,1550,1998,1881,2101,3007,2943,2444,2308,2097,2033,2075,1824,1729,2276,2789,2644,2257,1750,1481,1396,1627,1579,2235,2574,2630,2733,2139,2029,2332,2517,2687,2055,1534,1697,1666,1595,1592,1371,1530,2070,2375,2854,2788,2130,2061,2721,2951,2564,2070,1571,1786,2824,2688,2423,2332,2374,2380,2260,2540,2286,1808,1837,1925,1714,1670,1553,1438,1805,1800,1543,1687,1969,1872,1542,1461,1578,1759,1880,1715,1454,1899,1861,1418,1434,1936,2819,2959,2768,2490,2097,1747,2065,2020,2438,2536,2035,1598,1635,2349,2251,1757,1791,1857,2068,1997,2383,2348,2666,2496,2731,2361,1897,2019,2252,2465,2646,2473,2071,1571,1599,1761,1825,1961,1836,1525,1849,1865,1908,1822,1638,1599,1957,1869,1569,1657,1714,2305,2460,2511,2527,2076,1793,2212,2330,2016,2079,2236,2146,1981,1867,1686,2019,1996,1749,1642,2148,2160,2118,2531,2330,1750,2487,3024,2213,1710,1700,1734,1508,1478,1726,1925,1886,2000,2188,2348,2312,1924,1939,1730,1527,1560,2148,2837,2396,1798,1703,1556,1743,1993,1545,2288,2403,1700,1479,1579,2043,2695,2401,2236,2436,2188,2010,1848,1526,1688,1700,1539,1334,1550,2218,1969,1575,1947,2155,1682,1662,1904,2009,2144,2104,1997,1981,2486,2000,1669,1942,1662,1303,1356,1359,1374,1356,1329,1260,1272,1672,2209,2254,2366,1817,1384,1641,1925,2082,2290,2338,2048,2136,2237,2035,1904,1959,1680,1490,1723,1874,1680,1564,1634,1634,1626,1756,2218,2063,1779,1541,1437,2122,2197,1744,1680,1419,1471,1584,1333,1207,1630,2029,2424,2513,1962,1520,1611,2008,1842,1771,2096,1811,1761,1958,2024,1922,2370,2544,2460,2291,2115,1987,2137,1986,1408,1494,1698,2154,2103,2092,3285,3727,3359,3087,3121,3231,3310,3228,3169,3145,2998,2957,2840,2670,2896,3208,3320,3181,3166,3068,2597,2169,2347,2739,3329,3450,3267,3248,3371,3749,3439,2868,2806,2898,2742,2574,2647,2868,2793,2845,2719,2530,2128,2186,2897,3551,3763,3735,4013,3760,3284,3363,3152,2644,2822,3090,3814,4063,4284,3919,3375,3127,3499,4161,4275,3885,3695,3143,2758,2916,3146,3150,2908,3051,2988,2892,2937,2905,2809,2839,2949,3197,3365,3293,3579,3575,3687,4064,4321,4404,4344,3701,3043,3070,3136,3076,2756,2515,2757,2768,2813,3324,3339,3422,2930,2467,3033,3176,3404,3587,2967,2997,3052,3150,3248,3329,3215,3283,3348,3377,3287,3049,3124,3111,3187,3354,3477,3476,3358,3249,2792,1626,834,1241,2391,2877,2985,3210,3305,3539,3805,3459,3731,3407,2866,2758,2442,2456,3364,3838,3443,3438,3508,3720,3715,3836,3995,4331,4243,4382,4108,3633,3334,3329,3529,3621,3373,3131,3179,3217,3396,3319,3389,3876,4392,4449,3741,3204,3150,3265,3753,3774,3150,2667,2438,2178,2562,2620,2427,2297,2178,2099,2013,1903,1762,1749,1724,1713,1626,1709,2096,2214,2156,2270,2278,1817,2070,2371,1886,1569,1421,1653,1894,1837,1788,1645,1615,2234,2596,2412,2170,1951,1877,2098,1713,1729,1738,1987,1564,1845,2427,2166,1878,1968,1938,1932,1961,2149,2229,2050,2159,2100,2104,2110,2082,2286,1655,1681,2771,2373,1525,1681,2279,2547,2824,2825,2525,2421,2090,2718,3242,2723,2408,2150,2105,2588,2806,2906,2768,2675,2950,3036,2692,2686,2798,2728,2866,2629,2585,2743,3121,3279,2520,2239,2083,2231,2350,2441,2287,1936,1861,2192,2476,2261,1802,1693,1366,1390,1679,2295,2955,2321,2071,2098,2244,2906,3188,2701,2586,2621,2486,1677,2131,2228,2631,2873,2314,2239,2654,2610,2625,2621,1928,1896,1823,1951,2227,2401,2088,2235,2675,3223,2776,1925,1888,1863,1843,2148,2799,2801,2552,2235,2005,2106,2170,2243,2381,2566,2880,3032,2406,2045,2397,2828,2118,1879,2026,2652,2452,1976,2032,2277,2469,2348,1905,1710,1817,1742,1776,1668,1520,1465,1497,1497,1585,1748,1905,1960,1787,1874,2146,1967,2097,2921,3024,2651,2291,1774,1498,2098,3134,3318,3186,2727,2770,2977,3104,2525,1948,1899,1746,1796,2079,2714,3321,3708,3772,3471,3501,2961,2506,2449,2424,2419,2743,3396,3585,3503,3176,2784,3561,4097,2535,2122,2676,3736,4101,4177,3912,3569,3431,3549,3487,3405,3165,3399,3648,3708,3648,3493,2875,3210,3307,3187,3433,3453,3274,3172,3430,2784,2990,2787,2803,3293,3307,3388,3309,3204,3161,3226,3497,3349,3094,2883,3134,2902,2835,2999,2306,2092,2562,3241,3265,2975,3216,3430,3552,3580,3287,2591,2872,3480,3533,3488,3175,2855,2803,2669,2554,2248,2689,2872,2417,2578,3110,3729,4112,4094,3860,3923,3958,3707,3869,3936,3642,3671,3851,3686,3982,4123,4051,4036,4233,3584,2349,2604,2715,2286,2386,2680,2519,2286,2609,3128,2996,2780,2646,2483,2807,2765,2763,3066,2853,2907,2711,2401,2796,2789,2811,2843,2731,3207,3027,2695,2942,3090,3592,3022,2644,2664,1868,1957,2428,2967,3165,3319,3437,3437,3563,3628,3576,3808,4124,3569,3571,3806,3739,3772,3720,3404,3285,3330,3501,3749,4121,4192,3870,4006,4468,4052,3704,3738,4071,4145,3754,3359,3467,3943,4005,3925,4047,3813,3739,3637,3201,2856,2926,2902,3540,4042,3993,4252,4247,3410,2585,2512,3085,2898,2339,2466,3085,3554,3398,3205,3090,2972,2952,2895,3262,3431,3427,3557,2665,1934,2188,2166,1794,1789,1659,1561,1714,1972,2259,2073,1864,1857,1656,1971,2018,1628,1697,2102,2836,3563,3415,3160,2823,2114,1777,2395,2980,2498,1896,1879,2206,3024,2961,2415,2876,3007,3209,3358,3422,3091,2913,2215,2185,2204,1874,1939,2178,2247,2432,2565,2237,1556,1655,1783,2741,1945,1343,1582,1792,1954,1991,1857,1405,1206,1886,2794,1958,1627,1430,1648,2017,2042,2523,2895,2454,2085,1853,1578,1868,1793,1810,1711,1672,1949,2814,2621,2067,2040,2858,3292,2632,2160,2399,2347,2479,2461,2841,2624,1867,1900,3052,3519,3042,2273,1582,1485,1605,1434,1339,1596,2063,2167,1825,1871,2165,2445,2883,3371,3709,3737,2675,2025,2052,2620,3053,3327,2990,2042,2079,2702,2667,2331,2147,2293,2325,2525,2301,2360,2663,2499,2907,3257,3338,3466,3562,3161,2611,2341,2375,2178,1891,1630,1765,1954,2237,2767,3084,2512,1685,1868,2752,3100,2518,2518,2026,1776,1864,1785,1824,1968,1966,2036,2425,2945,2774,2451,2921,2552,2075,2338,2612,2618,2677,1812,1154,2318,3618,3107,1958,1609,1728,1616,1892,2285,2689,2925,2407,2243,2479,2504,3131,3717,3232,2634,2994,3261,3231,3249,3175,3117,3231,3360,3297,3278,3377,3277,3023,2919,2899,2569,2208,1801,1745,1857,2081,2301,2530,2401,2266,2493,2965,2976,2521,2184,2243,2395,2448,2534,2747,2893,3142,3464,3741,3273,2840,2723,2897,3485,3760,3863,3942,4205,3279,2934,2672,2424,2326,2119,2006,1968,1861,1721,1585,1646,1743,2059,2272,2567,2980,2876,2792,2813,2570,2643,3223,3145,2875,3002,3003,3013,3211,2951,2903,2910,2631,2566,2557,2438,2435,2372,2316,2320,2431,2570,2810,2831,2630,2462,2308,2346,2353,2366,2533,2605,2584,2623,2709,2611,2732,2499,2613,2341,2498,2667,2771,2706,2668,2680,2408,2169,2547,2509,2493],[3370,3414,3565,3418,3495,3895,2940,1444,1679,2558,3282,3330,3521,3878,3818,3415,3428,4043,4192,3544,2801,2393,2241,2351,2717,2954,3208,2884,2240,1974,2006,2342,2836,3432,3770,3885,3700,3805,3706,3538,3675,3908,3691,3214,3168,2642,1975,1863,1917,2359,2288,2081,2238,2148,1943,1960,2153,2236,2398,2464,2403,2259,2264,2222,2518,3742,4164,3939,3487,3340,2806,2455,3217,4316,4688,4600,3201,2438,2964,3010,1926,1861,1809,2670,3122,3294,3116,2403,2565,2631,2456,2986,2933,2503,2091,2236,1864,1718,1704,2125,2763,2697,2208,1939,2087,2539,1960,1460,1887,1762,1754,2102,2665,2567,2329,1887,1770,2315,2787,2049,1644,2010,2292,2618,2177,2364,2280,2004,1918,1761,1803,1996,2290,2132,1656,1972,2269,1847,1764,1565,1871,2044,1969,1929,1840,1995,2355,2362,1849,1853,1864,1885,2103,2010,1859,1683,1599,1904,2072,2465,2315,1828,1599,1974,2144,1841,1766,1937,1566,1671,1852,1869,2149,2180,2687,2687,2320,2921,2525,2263,2611,3130,3452,3166,2342,2088,2446,2423,2636,2929,2451,2720,2359,1978,2104,2395,1857,2608,2989,2332,1986,2029,1946,1624,1920,2295,2445,2442,2240,2015,2731,2986,2349,1954,1898,2163,2333,2345,2001,2164,2374,2478,2746,2824,2943,2614,2360,2351,2446,2979,3362,3334,3631,3649,3317,2976,2612,2717,2364,2527,2917,3096,2859,2325,2120,2967,3727,3815,3899,3574,3429,3030,2766,2589,2460,2040,1628,1583,1708,1903,1819,1862,2218,2886,3154,3040,2405,2544,2496,1728,2110,2453,2193,2071,1875,1696,1923,1616,1782,1720,1696,1767,1674,1861,2965,2751,2083,2031,1588,1569,1782,1660,1527,1375,1466,1696,1411,1598,1697,1664,1729,2138,2014,1928,2215,2399,2583,2337,2159,1885,1510,1360,1360,1386,1546,1965,2142,2175,2176,1999,1710,2266,3299,3184,2688,2477,2656,2763,2718,2611,2564,3284,3386,3116,2950,2858,2642,2293,1930,1947,1952,1743,1798,2079,2113,1927,2030,2248,2056,2113,1495,1943,2512,2332,1934,1576,1729,2321,2739,2351,2439,2883,1835,1470,1405,1462,1583,1658,1467,1391,1720,1865,1489,1521,2243,2707,2163,1502,1814,1698,1354,1484,1567,1556,1406,1431,1458,1479,1721,1869,2059,1981,1777,1968,2080,1303,1135,1118,1145,1125,981,993,1009,1203,1304,1429,1483,1495,1422,1414,1418,1352,1372,1320,1386,1430,1316,1499,1427,1167,1138,1084,1134,1460,1541,1584,1765,1719,1548,1490,1575,1854,2085,1966,1686,1930,1659,1919,1811,1621,1563,1554,2060,2077,1469,1142,1359,1471,1318,1454,1350,1404,2391,2391,2203,1979,1516,1518,1917,2226,1856,2202,3100,3213,2439,1932,1754,1898,1980,2090,2281,2510,2561,2420,2233,2164,1963,1823,1731,1669,2220,1947,2165,2194,2138,2218,2171,2574,2358,1547,1456,1639,1626,1701,1624,1463,1507,1434,1907,2587,2586,2297,2341,3401,3277,2256,1484,1684,2216,2363,2052,2358,2595,2339,2366,2703,2935,1975,1594,1855,2062,1799,1620,1431,1531,1929,1812,1580,1470,1625,1481,1306,1408,1389,1418,1637,1563,1597,2262,1958,1447,1481,1858,2270,2734,2828,2433,2285,2225,2438,2046,1979,1975,1610,1385,1660,2113,1870,1698,1713,1980,1870,1860,2605,3012,2363,2352,2884,2538,2503,2327,2197,2768,2741,2333,1982,1541,1430,1534,1770,1749,1627,1556,1881,2222,2377,2230,1690,1823,2530,2145,1675,1526,1886,2295,1851,1766,2238,2102,1866,2370,2438,2033,2684,2731,2369,2090,2045,1847,2040,1912,1756,2052,2724,2802,2201,2178,2266,1670,2142,3206,2537,1508,1513,1532,1573,1663,1883,2383,2508,2444,2238,2142,2244,1846,1610,1565,1699,1908,2265,2337,2255,2102,1548,1435,1510,2120,2132,2609,2157,1647,1481,1377,2087,2742,2667,2367,1631,1652,2069,1698,1310,1364,1396,1424,1376,1444,1964,2296,1823,1814,2047,1726,1859,2415,2663,2542,2217,1810,1843,2569,2047,1504,1764,1527,1383,1422,1418,1474,1479,1422,1398,1229,1321,1566,1793,1907,1767,1793,1980,1996,1976,1747,1865,2266,2586,2166,2038,2020,1987,1950,1781,1576,1663,1893,1718,1798,1756,1726,1812,2108,1851,1867,1776,1684,2128,2064,1581,1656,1536,1477,1426,1328,1368,1940,1947,2200,2129,1956,1855,1655,1858,1761,2052,2187,1721,1580,1498,1568,1767,1872,1679,1867,2006,2140,2032,2061,2110,1782,1854,1642,2244,1949,1743,2425,3163,3294,3150,3167,3208,3182,3132,3077,3100,2732,2535,2512,2658,2984,3088,2924,2927,3105,2647,2066,2282,2692,2655,2985,3106,3355,3355,3198,3196,3498,3574,3248,3168,3016,2710,2899,2866,2776,2541,2510,2702,2283,2104,2480,3407,4012,3782,3695,3305,3044,3141,2683,2240,2668,2856,3567,3853,4000,4133,4080,3895,3558,3817,3826,3146,2990,2723,2371,2525,2872,2688,2531,2669,2823,2980,3039,3149,3212,3315,3009,3163,3164,3264,3647,3274,3054,3630,4305,4553,4600,4226,3605,3730,3418,3218,2862,2850,2988,2827,2757,3256,3270,3450,3054,1709,2598,2995,3096,3242,2884,2984,3033,3273,3317,3108,3087,3420,3527,3249,3130,3087,3174,3143,3104,3471,3872,3671,3282,2328,1324,903,1028,2011,2800,2931,3139,3692,3861,3892,3929,3882,4245,3804,3256,3131,2974,2939,3485,3489,3047,2842,2856,3294,3570,3767,4200,4452,4352,4420,4124,3474,3242,3130,3248,3442,3217,3154,3111,2974,3039,3155,3470,3470,3506,3837,3791,3486,3419,3384,3539,3327,2896,2458,2208,2101,2103,1989,1986,1974,1884,1839,1834,1746,1880,1731,1739,1839,1765,1788,2013,2012,2406,3072,2490,1725,1651,1744,1658,1648,1453,1571,2024,1905,1709,1732,1698,1931,2314,1937,1648,1959,2062,2260,1932,2110,2466,2378,2104,2166,2087,1776,1498,1530,1602,1613,1937,2128,2190,1686,1739,1893,1861,1767,1859,2078,1722,1760,2174,2293,2246,1985,2293,2584,2574,2161,2348,2377,2316,2718,2474,2276,2100,1863,1969,2105,2194,2491,2163,2019,2094,2652,3178,3217,2574,2468,3035,3001,2661,2743,2920,3134,2783,2074,1892,1962,1767,1661,1772,1773,1806,2108,2090,2083,1749,1669,1460,1425,1539,1677,1816,1779,1871,2116,2322,2867,2710,1786,1928,2025,2160,2153,2557,3233,3212,2684,2586,2632,2521,2242,2071,2225,2058,3306,2480,2122,2492,2285,1968,2497,3022,2867,2405,1902,1692,1579,1663,2478,3383,3426,2722,2003,1825,2029,2025,2085,2204,2652,2880,2963,2515,2215,2504,2967,2709,2508,2985,3541,3124,2500,2351,2396,2182,1906,1803,1614,1520,1440,1543,1526,1450,1583,1688,1537,1539,1641,1760,1882,1794,2098,2517,2138,2090,2480,2249,1951,1700,1488,1664,1980,3018,3400,3206,2709,2842,2658,2341,2566,2876,2646,2326,1738,1690,2289,2774,2971,3272,3786,3645,2584,2134,2388,2945,3186,2875,3196,3567,3520,3046,2670,3551,4320,3000,2171,2437,3506,4156,4097,3968,3836,3463,3319,3090,3193,3038,3241,3418,3509,3381,3386,3342,3480,3334,3296,3436,3460,3263,3181,3360,3230,3518,3286,3229,3322,3296,3408,3403,3537,3795,3577,3522,3320,2876,2975,3085,2698,2019,1860,1830,2194,2766,3256,3499,3427,3372,3494,3540,3203,2829,2365,2983,3718,3898,3719,3318,3144,2820,2668,3294,3507,3352,3009,2778,2908,3032,3350,3655,3738,3813,3980,3824,3661,3834,3557,3485,3688,3902,3682,3717,4004,4057,3924,4100,3752,3248,3151,2552,2685,2899,2797,2611,3320,4144,4011,3556,3410,2878,2411,2498,2307,2645,2580,2375,2440,2520,2297,2521,2448,2788,2813,2583,2821,2896,2591,2379,2589,3376,2357,2519,2485,1722,1874,2398,2744,3062,3594,3605,3435,3708,4015,3839,3683,3747,3981,4128,4007,3772,3908,4013,4024,4181,4119,4206,3914,3947,3919,4070,4050,4026,3642,2972,2970,3467,3260,2967,3010,3132,3720,3544,3630,3826,3662,3600,3454,3101,3022,3085,2797,2868,3227,3213,3228,3239,2783,2507,3018,2855,2547,2682,3017,3206,3266,3152,3119,3272,3165,2920,3155,3371,3432,3487,3629,3166,2404,1814,1482,1622,1794,1663,1612,1644,1849,2177,2144,1570,1659,1758,1870,1655,1740,2293,2091,2136,2526,2505,2425,2818,2568,2249,2476,2295,2260,2673,2957,2542,2700,3080,2773,3232,3378,3176,3248,3227,3020,2624,2061,2102,2244,2037,1808,1999,2382,2591,2241,2117,1579,1880,2470,2840,2177,1571,1578,1887,2087,1972,2295,2062,1615,2035,2146,1649,2086,2270,2286,2271,2319,2918,3024,2348,2378,2399,1995,1985,1900,1959,2081,2092,2083,2219,2285,2440,2519,2674,2757,2552,2611,2819,2249,1825,2059,2353,2055,1944,2171,2685,2677,2180,1881,1706,1497,1493,1909,2253,2393,2358,2198,1770,1721,2048,2447,3122,3654,4123,4295,3306,2618,2545,2802,2442,1829,2351,2570,2470,2797,2522,2241,2456,2768,2698,2684,2240,2426,2662,2901,3151,3191,3197,3139,2911,2617,2640,2237,2195,1940,1782,1482,2309,2503,2530,3206,3216,2728,2404,2288,2825,2842,2454,2679,1942,1556,1605,1707,1781,1709,2234,2806,2691,3055,3166,2733,2368,1694,1664,2137,2959,3829,3872,2938,2151,2824,3853,3308,2270,1803,1661,1658,1530,2100,2062,2290,2576,2702,2795,2893,3124,3683,3500,3075,3118,3085,3159,3394,3547,3431,3375,3475,3441,3274,3376,3297,3043,2830,2743,2648,2659,2256,1854,1863,2074,1857,1722,2042,2367,2532,2566,2360,2170,2314,2480,2407,2471,2595,2664,2896,2879,3065,3624,3448,2864,2775,3096,2996,3000,2995,2896,2935,2304,2003,2014,2220,2242,2148,2177,2221,2293,2082,1968,1751,1721,1594,1598,1751,1826,2002,2235,2374,2460,2390,2479,2532,2584,2491,2530,2532,2464,2397,2310,2255,2184,2298,2442,2447,2482,2482,2440,2421,2414,2376,2276,2192,2124,2046,1987,2026,2135,2093,1985,1996,2107,2135,2126,2188,2166,2148,2118,2116,2105,2013,1910,1928,1989,1995,1924,1771,2202,2041,1980],[3555,3558,3664,3031,2883,3282,2130,1227,1603,1970,2758,2943,2978,3603,3654,3541,3636,3917,3826,3581,3002,2271,2151,2310,2534,2809,2846,2560,2309,2126,2216,2434,2691,3252,3739,3964,4062,4064,3791,3817,3859,3738,3514,3269,2955,2067,1719,2192,2787,2922,2236,2446,2366,2084,1789,1988,2275,2351,2436,2596,2845,2644,2315,2301,3179,3860,4104,4029,3757,3044,2621,2395,2719,3847,4256,4265,3142,2083,2001,2167,1952,2286,2461,3399,3769,3401,3241,2762,2523,2600,2826,3262,2890,2530,1911,1756,2319,2796,2139,1906,2104,1676,1621,1914,1663,1907,2072,1612,1694,1692,1579,1943,2135,2191,2107,1836,1679,2160,2431,1769,1527,1907,2297,2520,1872,1717,1742,1696,1810,1764,1726,2208,2737,2153,2057,1981,1664,1707,1669,1621,1786,1831,2092,2243,1893,2026,2565,2776,2036,1904,1787,1832,1834,2097,1714,1790,2707,2762,2320,2271,1663,1675,1988,2434,2398,1985,1622,1739,1705,1870,2155,2296,2229,2101,2316,2186,2092,2866,2705,2801,2986,3338,3746,3959,2907,2023,2295,2063,2222,2829,2438,2634,2356,2030,2307,2066,1619,2238,2051,1654,2118,2512,2309,2034,2381,2535,2714,2605,2185,2642,2833,2195,2027,2382,2098,1759,2491,2969,2446,2938,2776,2665,2778,2797,2833,2896,3160,2874,2519,3028,3548,3630,3862,3918,3282,2569,2394,2752,2753,3142,3864,3532,2862,2518,2449,2684,3548,3423,3382,2979,2940,3120,2973,2564,2228,1858,1769,1909,2421,2965,2252,2298,2521,2616,1909,2017,2027,2045,1939,1602,1639,1711,1717,1785,1889,1620,2004,1670,1616,1677,1816,1865,1738,1538,2257,2327,1687,1481,1441,1515,1960,1708,1701,1456,1533,1632,1546,1446,1631,2022,2304,2170,1859,2159,2045,1869,1919,2209,2040,1541,1375,1413,1365,1502,1714,1965,2231,2098,2129,2136,2020,2609,2833,2456,2220,2274,2452,2510,3008,3053,2651,3184,2765,2780,2911,2831,2307,1720,1656,1841,1679,1604,1649,1646,1657,1537,1596,2075,2448,2048,1640,2264,2555,2469,2153,1653,1783,2498,2798,2653,3101,2754,1936,1555,1465,1460,1656,1605,1541,1505,1469,1489,1592,1854,2144,2649,1942,1548,2037,1890,1616,1516,1518,1561,1523,1561,1616,1963,2011,1590,1712,2219,2333,2007,1743,1497,1303,1107,1145,1216,1034,1076,1149,1124,1189,1200,1238,1321,1301,1254,1261,1264,1357,1338,1368,1466,1283,1493,1593,1383,1120,1035,1167,1543,1601,1636,1860,1848,1758,1508,1960,2013,2581,2194,1784,1596,1525,1817,1601,1629,1711,1740,2033,1644,1149,1207,1544,1401,1262,1384,1662,1877,2332,1949,1775,1969,2251,2237,1902,1862,1532,1615,2425,2652,2223,1926,1918,1834,1903,2220,2248,2101,2083,2149,2106,2272,2585,2428,1777,2213,2230,1770,1852,1730,1796,1946,2431,2680,1910,1431,1380,1570,1510,1773,1735,1474,1435,1388,1567,1765,2352,2633,2571,3420,3412,2542,1858,2584,2786,2674,2508,2693,2702,2369,2875,3603,3647,2673,1935,2164,2262,1853,1686,1569,1597,1637,1616,1694,1651,2123,2111,1598,1444,1344,1587,1755,1500,1343,1455,1538,1455,1707,2034,2163,3019,2622,2282,2105,1889,2032,1841,1765,1832,1607,1284,1587,1872,1621,2044,1948,2109,2293,2535,2857,2414,1950,2673,2933,2513,2574,2731,2664,2547,1946,1937,2069,1864,1571,1548,1873,1976,1775,1717,2163,2364,2247,2014,1710,1593,1892,2213,1802,1370,1368,1787,1436,1277,2110,2566,2081,2340,2182,2407,2834,2468,2263,2077,1961,1921,1864,1820,2113,2634,3293,3241,2358,2192,2056,1695,1882,1951,1559,1507,1449,1364,1494,1482,1648,2769,2708,2084,1749,1627,1798,1625,1764,2133,2553,2699,2282,2026,2247,1934,1426,1494,1565,2091,2385,2285,2109,1830,1527,1455,1998,2627,3016,2798,1944,2065,2294,1820,1366,1467,1528,1482,1464,1419,1952,2296,1930,1585,1860,1972,2068,2790,2902,2569,2282,1942,1877,2150,2053,2055,2168,1676,1528,1500,1365,1527,1522,1434,1419,1098,1221,1651,1570,1521,1837,1953,2485,2272,1692,1410,1417,2194,2476,1980,1696,1793,1923,2060,1975,1686,1833,2150,1930,1515,1624,1810,1759,1877,2109,2212,2124,1924,1796,1729,1460,1710,1984,1961,1616,1455,1535,1702,1799,2176,2280,2017,1715,1663,1684,1633,2019,2392,2041,2103,1724,1381,1591,1592,1622,1642,1555,1993,2076,2353,2141,2586,2454,2001,2534,2221,1899,2518,3122,2993,3087,3095,3121,2974,3013,3019,3030,2519,2318,2220,2229,2690,3026,2814,2784,2796,2242,2287,2644,2663,2531,2508,3034,3480,3724,3642,3334,3426,3592,3459,3448,3463,3105,3072,2829,2831,2696,2968,3227,2579,2058,2318,2957,3920,3742,3275,3021,3002,2699,2381,2575,3182,3153,3660,4028,3838,4040,4147,3817,3193,3115,3189,3096,2687,2424,2316,2429,2554,2442,2536,2741,2873,2863,3011,3285,3450,3566,3447,3112,2786,3120,3206,2883,2720,2817,3711,4498,4460,4508,4184,4229,3904,3371,2959,2959,2977,2739,2728,3135,3074,2895,3077,1625,2855,3163,2951,2834,2857,3098,3132,3194,3184,3087,3178,3327,3269,2976,2983,3083,3182,3155,3019,3134,3382,3071,2145,1196,821,999,1821,2753,2922,2971,3311,3759,4050,3861,3834,4248,4428,4127,3549,3217,3349,3149,3305,3233,2482,2241,2625,3298,3430,3365,3720,4219,4540,4506,4050,3277,3110,3030,3006,3241,3188,3250,3106,3084,3309,3470,3728,3748,3675,3765,3805,3420,3189,2872,2597,2330,2109,2021,1948,1965,1971,1894,1965,2049,2190,2187,2045,1913,1913,1753,1833,2009,1794,1757,1940,2080,2460,2749,2457,1914,1606,1635,1782,1681,1534,1727,1953,1951,1887,1694,1714,1658,1799,1643,1674,1834,1861,2328,2455,2240,2409,2236,1817,1577,1599,1437,1451,1647,1633,1426,1686,2001,2056,1754,1826,1875,1677,1249,1418,2049,1897,1538,1721,2131,2353,2489,2544,2473,2512,2564,2547,2166,2563,2722,2348,2543,2068,1968,2193,2076,2165,2553,2332,2022,1934,2008,2641,2757,2522,2525,3006,3287,2887,2669,2806,2789,2529,1957,1642,1753,1758,1661,1428,1375,1687,1655,1762,1911,1764,1731,1654,1760,1764,1429,1427,1524,1623,2072,2376,2243,1576,1769,2409,2262,2759,3062,2972,3150,3030,2774,2931,2588,2111,2109,1713,1708,1654,2237,1823,2087,2198,1923,2136,2032,2072,2035,2033,2029,1879,1558,1532,2636,3384,2754,2330,2357,2283,2001,1933,1994,2233,2715,2725,2644,2124,2536,2864,2635,2754,2734,2621,2595,2318,1991,2258,2132,1908,1748,1973,1698,1593,1670,1611,1575,1507,1607,1627,1482,1654,1559,1651,1774,1431,1697,2327,2108,2012,1904,1598,1477,1598,2148,2350,2182,2906,3135,2792,2353,2155,2147,2161,2476,3260,3616,3332,1929,1696,2160,2269,2777,3472,3807,3916,3082,2437,2523,2743,2988,2644,3086,3565,3624,3030,2429,3117,3930,3217,2279,2535,3392,4060,3980,3873,4064,3782,3507,3181,3247,3085,3081,3095,3073,3208,3227,3220,3465,3595,3498,3414,3480,3363,3382,3499,3635,3870,3752,3539,3419,3480,3510,3400,3287,3776,3422,3190,2950,3044,3040,2906,2644,2452,2295,1935,2216,2696,3309,3553,3530,3436,3710,3658,3361,3486,3667,3850,4036,4025,3886,3543,3232,3131,3369,3802,4082,4009,3977,3558,3390,3527,3355,2942,2755,3356,3661,3255,3451,3834,3354,3782,3981,3817,3767,3767,3876,3915,3721,3911,4000,4046,3927,2610,2808,3107,2981,2541,3291,4195,4162,3698,2819,2044,1951,1984,2416,2854,2637,2511,2058,2050,2346,2394,2599,3252,3606,3309,2700,2986,2862,2640,2865,3143,2451,2840,2699,2270,2416,2454,2467,2917,3605,3375,3299,3429,3682,3758,3395,3124,3531,3515,3540,3816,3952,3906,3718,3836,3957,4149,3837,3698,3628,3607,3386,3059,2773,2707,2784,2736,2646,2819,2830,3038,3496,2921,2852,2995,3070,3041,2783,2589,3002,3575,3389,2985,3166,2784,2412,2433,2520,2714,3589,3436,3094,2732,2155,2182,2418,2752,2720,3073,3275,2967,3257,3460,3354,3404,3458,2767,1801,1351,1293,1542,1730,1689,1602,1642,1787,1850,1771,1755,1754,2002,2218,1741,2124,2653,2043,1792,1691,1723,2188,2801,2542,2443,2111,1647,1859,2758,3432,2597,2406,3306,3195,3310,3173,3047,3356,3247,2732,2108,2051,2353,2362,2145,2315,2288,2513,2735,2081,1768,1683,2302,3060,3284,2629,1881,1665,1697,1823,2018,2613,2467,1963,2006,1973,1893,2041,2244,2344,2238,2261,2460,2278,2287,2610,2577,2453,1940,1613,1885,1999,2115,2070,1709,2391,3285,3125,2708,2501,2674,3104,2414,1674,1580,1844,1866,1852,1815,1806,2115,2076,2083,1877,1712,1575,1745,2420,2362,2028,2213,2156,1657,1679,1731,1992,2954,3649,4065,4028,4012,3556,3162,2785,1857,1009,1377,2184,2402,2436,2662,2639,2887,3383,3532,3055,2286,2235,2509,2734,2890,2869,2761,2375,2089,1840,2042,1859,1707,1564,1792,1296,2069,3324,3603,3960,3398,2722,2441,2379,2503,2619,2665,2279,1748,1364,1465,2003,2398,2360,2788,3339,3410,2891,2888,2458,2273,1887,2002,2374,2700,3372,3747,3050,2116,2675,3562,2855,2430,2474,1945,1522,1323,1802,2217,2097,2046,2307,2459,2590,2995,3965,3891,3383,2915,2944,3313,3675,3837,3741,3613,3739,3433,2850,3343,3343,3048,2935,2838,2807,2745,2414,1964,1692,1499,1296,1544,2118,2229,2488,2651,2476,2304,2411,2592,2573,2525,2562,2609,2799,3020,3112,3358,3204,2599,2321,2706,3000,3264,3450,2929,2384,1990,1637,1749,1755,1775,1879,1997,2040,2129,2280,2166,1973,2005,1938,1749,1615,1597,1659,1598,1674,1732,1737,1928,2067,2041,2104,2362,2241,2087,2026,1969,1950,2032,2254,2377,2475,2377,2331,2344,2316,2182,1924,1860,1926,1878,1926,1954,1831,1803,1785,1826,1843,1763,1711,1744,1764,1798,1821,1820,1790,1678,1744,1853,1851,1888,1842,1855,1856,2104,2130,2084],[3361,3331,3620,3155,2822,2819,2160,2226,2810,2696,2677,2657,2685,3661,3832,3853,4204,3726,3348,3315,3275,2520,2172,2264,2142,2309,2259,2301,2366,2375,2530,2247,2222,2619,3241,3677,3943,3687,3328,3597,3742,3386,3228,3234,2744,2231,2198,2446,2686,2836,2282,2475,2774,2254,1810,2229,2307,2310,2493,2902,2954,2798,2402,2501,3594,4070,3971,3796,3640,3516,2812,2302,2008,2123,2138,2493,2258,1805,1676,1785,2431,3261,3250,3653,3508,2811,3042,3044,2895,2753,3440,3039,2530,2785,2313,1913,2853,3239,2294,1974,1796,1334,1228,1490,1618,1930,2062,1903,1865,1877,2152,2123,1869,1952,2314,2196,1626,1930,1707,1344,1684,2046,2196,2291,2070,1872,1764,1766,1956,1571,1678,2441,2201,1862,2172,2179,2047,2047,1803,2039,2272,2413,2702,2429,1631,1606,1817,1891,1536,1723,1745,1563,1899,2165,1808,1754,2355,2598,2674,2315,1879,2206,2512,2182,2009,1769,1716,1998,1939,1816,1830,2062,2178,2512,2360,2040,2160,2818,3022,3062,2879,3029,3596,3283,2138,2055,2122,2350,3293,3262,2780,2820,2577,2417,2488,2109,1815,1811,1785,1675,2411,2741,2436,2018,2134,2728,2712,2473,2492,2810,2419,1667,1959,2430,2000,1672,2808,3050,2711,3059,3082,2868,2854,2874,2761,2957,3188,2558,2470,3090,3444,3570,3946,4082,2986,2268,2599,2641,2662,3229,3573,3294,2965,2585,2620,3041,3208,3147,2854,2482,2764,3321,3221,2312,1695,1848,2485,2539,2980,3340,3151,3152,2849,2548,2156,1881,1842,1724,1810,1758,1630,1830,1694,1483,1600,1866,2238,1777,1570,1610,1902,2205,1832,1433,1545,1678,1779,1572,1554,1539,1815,1852,1803,1539,1573,1708,1787,1783,1737,1875,1960,1848,2064,2253,2227,1981,1985,2253,2501,2325,1612,1466,1390,1645,2050,2532,2045,1821,2253,2259,2216,2565,2386,2125,2134,2297,2645,2193,2204,2239,2622,2833,2902,3400,3281,3056,2523,2149,2135,2126,1938,1793,1839,1726,1527,1518,1359,1479,1934,2023,2380,2887,2644,2180,2154,1964,2548,2609,2517,2503,2901,2183,1829,1611,1487,1619,1600,1490,1529,1376,1417,1541,2005,2111,1798,1752,1545,1676,1757,1568,1472,1475,1482,1443,1645,1853,1698,2375,2462,2010,2287,3046,3198,2751,2405,2015,1608,1284,1310,1226,1070,1037,1035,963,1093,1191,1132,1179,1257,1220,1278,1297,1321,1341,1339,1350,1460,1797,1922,1697,1316,1217,1325,1486,1522,1695,1650,1612,1792,1670,1969,1599,2039,1718,1805,1666,1466,1607,1539,1487,1754,1890,1806,1479,1271,1306,1281,1248,1351,1439,1846,2339,2244,1706,1714,1835,2349,2605,1732,1439,1381,1437,1890,2292,2021,1762,1936,1848,1941,2335,1854,1956,2164,2080,1862,2461,3090,2595,2032,2240,2364,2230,2008,1759,2316,2641,2713,2921,1859,1447,1658,1892,1687,1622,1626,1427,1443,1603,1644,1672,1900,2042,1842,2297,3013,3012,3270,3439,2956,2647,2774,2777,2603,2750,3355,3752,3948,3564,2743,2697,2750,2138,2010,2178,1815,1650,1551,1609,1818,2412,2165,1803,1526,1460,1842,1815,1525,1428,1688,2019,1604,1840,2485,2639,2900,2685,2298,1954,1807,1803,1715,1536,1639,1792,1796,2568,2440,2032,2386,2156,2270,2608,2445,2148,2166,2531,2579,2735,2907,2732,2502,1967,1986,2031,2110,2087,1976,1655,1440,1560,1816,1735,1677,2230,2085,1626,1593,1696,1605,1658,1907,1784,1380,1296,1760,2306,2336,2088,2512,2676,2768,2283,2104,2039,1888,2015,2132,1960,1792,1870,2242,2530,2426,2578,2832,2418,2445,2165,1727,1694,1621,1690,1716,1491,1504,1446,1443,1403,1819,1819,1654,1395,1383,1425,1532,2057,2687,3000,2941,1991,1801,1775,1635,1588,1673,2016,1890,1723,1852,2146,2063,1478,1710,2022,2350,3052,2911,2255,2450,2298,1889,1538,1529,1574,1642,1649,1760,1845,1919,1779,1498,2027,2370,2275,2540,2350,2104,1946,1660,1774,2226,2091,2003,2013,1682,1597,1570,1354,1427,1537,1528,1441,1314,1345,1569,1571,1715,2453,2358,2413,2239,1487,1328,1694,1859,1964,1810,1669,1741,2175,2134,2063,1743,1904,1996,1799,1504,1715,2084,2035,2085,2577,2547,2086,1744,2172,1870,1403,1728,2149,1926,1476,1453,1689,1793,1854,2227,2459,1782,1608,1678,1648,1552,1747,1970,2222,2179,1992,1848,1536,1757,1975,1845,1713,1990,2023,1793,2072,2908,3006,2853,2758,2482,2380,2258,2548,2741,3375,3497,3150,3023,2994,2964,2920,2747,2688,2342,2125,2493,2835,2833,2678,2270,2397,2792,2742,2720,2519,2166,2396,3143,3937,4074,3913,3530,3166,3288,3296,3359,3288,2861,3059,3399,3237,3278,3514,2934,2114,2232,2478,3331,3660,3317,3265,3116,2994,3240,3610,3467,3159,3548,3692,3166,3329,3299,3339,3204,3118,3108,2921,2510,2316,2350,2681,2742,2598,2611,2754,2928,2998,3078,3595,3574,3624,3312,2945,2864,2985,3122,2931,2744,2543,2750,3439,3784,4003,4264,4133,3654,3120,2880,2899,2758,2618,2692,3065,3008,2984,2851,1493,2916,3431,3110,2850,2962,3140,3150,3178,3189,3150,3095,3075,3068,2985,3100,3055,3190,3356,3144,2901,2388,1388,867,894,1057,1734,2620,2931,2950,3007,3517,3759,4024,4046,4030,4251,4503,4318,3936,3291,3097,3321,3506,3444,2623,2355,2874,3134,3075,3097,3334,3825,4244,4189,3874,3274,3089,3089,3006,3119,3174,3098,3096,3277,3473,3648,3942,3607,3388,3150,2800,2396,2192,2133,2083,2024,1992,1969,1926,1932,1920,2048,2044,2366,2555,2253,2177,2437,2600,2206,1955,1975,1902,2206,2111,2194,2109,2344,2241,1840,1619,1663,1741,1679,1594,1704,1660,1539,1512,1571,1626,1902,2344,1948,1834,1963,2348,2523,2018,1953,2208,1791,1862,1927,1780,2020,1688,1672,1750,1791,1833,1952,1947,1886,1990,2080,1847,1625,1940,2075,2044,1765,1799,1878,2600,3328,3097,2813,2656,2620,2374,2062,2478,2500,2647,3029,2412,1830,1822,2138,2406,2668,2669,2477,2218,2072,2389,2009,1972,2758,3048,3159,2953,2983,3072,2679,2169,1789,1640,1826,1684,1710,1477,1490,1625,1569,1904,1899,1825,1825,1973,2558,2322,2254,1876,1462,1777,2157,2065,1900,2230,2711,2916,2944,3200,3206,2609,2183,1896,1905,2121,1890,1896,2224,1892,1851,1786,1564,1655,1980,1826,1780,2110,1987,2281,1897,1838,1713,1462,1473,1673,2394,2750,2424,2190,2030,2018,1801,1638,1597,2305,2519,2364,2622,2278,2553,2986,2407,2043,2231,2358,2279,2243,1822,2168,2213,1981,1919,2042,1836,1847,1788,1616,1758,1834,1722,1576,1555,1785,1765,1522,1872,1702,1770,2014,1950,2202,1686,1416,1331,1384,2286,2418,2304,2576,2372,1988,1875,1855,1951,2148,2274,2953,3377,3702,2596,1694,1801,2155,2883,3370,3519,3802,3269,2729,2517,2665,2700,2270,3030,3670,3736,2942,2085,2416,3438,3391,2813,2950,3071,3666,3865,3898,4049,3585,3392,3394,3312,3172,3117,3001,3072,3288,3176,3184,3544,3798,3591,3440,3437,3372,3375,3175,3386,3617,3321,3279,3373,3574,3703,3563,3231,3382,2867,2878,3139,3370,3035,2496,2453,2717,2573,2162,2467,3098,3404,3372,3531,3749,3651,3861,4081,4036,4058,3958,4049,3928,4080,4081,4099,3978,4236,4243,4012,3997,4199,3948,3833,3959,3274,2548,2367,3028,3782,3399,3505,3898,3794,4112,4296,4080,3694,3254,3168,3602,3692,3860,3950,4129,4036,2974,2865,3166,3141,2696,2812,3781,4211,3470,2028,1712,1797,1791,2574,2614,2266,2313,1779,1882,2384,2202,2342,2624,2755,2825,2415,2264,1876,1749,2511,2814,2785,3218,3164,3074,3316,3046,2874,2996,3440,3132,3144,3050,2886,2766,2553,2498,2336,2321,2767,3375,3340,2972,3400,4058,3625,3707,3693,3278,3541,3772,3367,2752,2359,2918,3145,2867,2576,2466,2736,3234,3120,2520,2324,2230,2203,2461,2546,2433,2965,3862,3838,3094,2711,2625,2665,2784,3069,3308,3707,3840,3670,3244,2890,3124,3289,3084,2517,2584,2999,3047,3230,3364,3348,3348,3281,2283,1678,1794,1788,1781,1685,1484,1600,1728,1592,1686,2058,2226,1831,2068,1982,1680,1800,1658,1610,1692,1572,1364,1785,2234,2213,2463,2525,2498,2814,3388,3651,3218,2830,2345,2356,2557,2374,2646,2746,2545,2674,2620,2591,2554,2342,2482,2546,2314,2344,2274,1956,1827,2238,2410,2888,3548,3182,2610,2451,2350,2147,2498,2908,2318,1790,1927,2148,1960,1506,1903,2017,2208,2270,2508,2542,2720,2899,2656,2072,1696,1993,2212,1942,2101,1966,1877,2873,3796,3454,2769,2632,3038,3349,2640,2042,1862,1690,1895,2390,2036,1870,2028,1947,1832,1733,1692,1576,1922,1981,1371,1237,1474,1876,2183,2378,1672,1687,2258,3064,3542,3548,4107,3741,2731,2404,1998,1599,1610,1838,1999,2204,2748,2787,2812,3244,3321,2734,1888,1625,1823,1700,1676,2045,2086,1659,1673,1566,1778,1852,1824,2337,2862,2088,1646,2784,3574,3446,3492,3159,2686,2230,2002,2313,2294,2127,1947,1640,1958,2972,3171,2997,3220,3200,3009,2457,2908,2721,2268,1720,1948,2400,2495,2799,3129,2324,1932,2392,2852,2407,2535,3232,2595,1858,1739,1980,2186,1739,1916,2442,2770,3159,3694,4036,3797,3432,2940,2983,3282,3648,3891,3981,3869,3882,3298,2591,3173,3300,3103,2874,2803,2684,2655,2372,1836,1476,1088,1005,1518,2315,2127,2197,2587,2689,2685,2461,2541,2644,2699,2814,2770,2809,3090,3282,3476,2802,2420,2457,2685,3204,3666,3805,3352,2614,2234,1672,1696,1765,1808,1791,2020,2010,1940,2374,2472,2192,2217,2130,1938,1884,1838,1762,1722,1745,1622,1646,1624,1595,1622,1695,1591,1550,1697,1677,1665,1646,1758,1788,1758,1703,1765,1826,1831,1741,1655,1656,1710,1744,1832,1878,1775,1774,1816,1865,1939,1915,1829,1879,2091,2186,2158,2236,2337,2309,2243,2215,2208,2333,2320,2301,2352,2449,2352,2156,2264],[3375,3209,3453,3318,3377,3108,2711,2855,3028,2843,2768,2827,3132,4005,4136,4132,4510,4175,3929,3729,3645,3070,2502,2198,1648,1843,2145,2497,2202,2276,2251,2091,2014,2051,2348,3035,3194,2564,2701,3665,3777,3218,2934,2457,2075,1914,2174,1898,2010,2241,1951,2039,2446,1960,2029,2618,2447,2444,2686,2841,2875,2828,2526,3040,3819,3747,3765,3609,3853,3896,2634,2067,2114,2142,2069,1659,1613,1629,1744,1958,2921,4425,4399,4328,3885,3174,3334,3357,3445,3142,3200,2776,2607,2608,2341,1994,2732,3024,2455,1977,1495,1262,1351,1383,1626,1765,1678,1788,2167,2315,2053,1776,1842,1873,1830,1697,1688,2073,1926,1652,1658,1914,2229,2234,2290,2056,1770,1726,1565,1612,1849,2236,1992,1786,1758,2084,2470,2464,2340,2258,2030,2251,2187,1922,1598,1761,1642,1924,1749,1745,2124,2310,2042,1754,1662,1852,2561,2307,2330,2322,2257,2054,2151,2430,2107,1763,1984,2243,2178,1983,2351,2685,2622,2855,2512,2293,2235,2268,2654,2972,2864,2906,3010,2521,2394,3078,3033,3739,3834,2977,2666,2687,2653,2834,2614,2092,1878,1741,1875,1885,2239,2597,2533,2477,2554,2271,1921,1786,2316,3112,2780,1835,2340,2187,1970,2332,2759,2419,2789,3292,3310,3220,2974,2756,2749,2826,3166,2933,2901,3422,3647,3591,3840,3283,2169,2038,2580,2499,2123,2347,2919,3065,3043,3057,2977,2861,3125,3659,3208,2629,2966,3110,2584,2208,2218,2862,2514,2442,2714,2862,3249,3521,3234,2481,1716,1726,1716,1574,2067,2376,2046,2194,1848,1758,1672,1725,2009,2178,2194,2150,2131,1811,1606,1571,1749,2015,2196,1942,1901,1810,1798,2002,1887,1774,2052,1972,1960,2203,1718,1668,1967,1828,1799,1935,2250,2335,2425,2312,2774,3020,1992,1468,1560,1602,1715,2383,2164,2472,2617,1761,1502,2058,2093,1988,2319,2356,2525,2090,1721,1581,2419,2622,2764,3063,3243,3010,2570,2398,2185,2287,2178,1896,1937,1647,1543,1465,1574,1605,1457,1766,2079,1998,2249,2233,2358,2211,2426,1901,1937,2426,2484,1724,1392,1526,1542,1416,1357,1469,1437,1297,1335,1418,1955,2247,2155,1756,1635,1778,1706,1565,1508,1538,1696,1715,1661,2025,1920,2080,1808,1683,2496,2998,2810,2580,2579,2217,1907,1558,1713,1439,1144,972,901,925,1035,1115,1062,1200,1406,1350,1419,1441,1267,1188,1210,1257,1278,1398,1555,1581,1577,1429,1499,1844,1931,1904,1723,1518,1491,1771,1597,1661,1948,1818,1743,1685,1513,1550,1549,1529,2104,2179,1785,1542,1315,1218,1185,1205,1397,1577,1776,2132,2375,1879,1734,1759,2174,2156,1574,1502,1614,1979,2752,2938,2367,2045,1831,1929,1697,2025,1785,2062,2473,2572,2365,2503,2486,2096,2015,2376,2706,2425,2092,2592,2858,2958,2880,2614,1846,1534,1693,2095,2267,1932,1487,1386,1791,1698,1691,1845,1773,1695,1691,1691,2184,3184,3918,3896,3260,2491,2724,2493,2985,3461,3666,3653,3645,3528,3105,3083,3201,2751,2505,2523,1939,2054,1978,1777,1619,1823,1993,1953,1462,1343,1648,1789,1617,1500,1577,1561,1555,2081,2285,1913,1916,2082,1908,1788,1926,1945,1675,1594,1877,2173,2375,2688,2278,1871,2028,1993,2331,2496,2189,2264,2779,3013,2894,2900,3288,3018,2693,2150,2102,2129,1733,1643,1751,1603,1477,1566,1917,1816,1825,2157,2090,2019,1882,1787,1745,1658,1665,1961,2144,1827,1981,2523,2465,2593,2896,2985,2873,2225,1974,2031,1804,1712,2001,2060,1942,2129,2059,1901,2099,1890,2061,2117,2182,2179,1981,1572,1489,1534,1564,1457,1379,1436,1425,1338,1304,1416,1642,1641,1488,1339,1306,1737,2167,2522,3244,3066,1937,1558,1786,1969,2141,2124,2116,2318,2178,2276,2160,1602,1833,2038,2536,2971,2942,2565,2178,2082,2130,1575,1431,1586,1816,2142,2264,1707,1813,1725,1475,1474,1703,1949,1935,1856,1920,1759,1573,1950,2900,2296,1899,1737,1532,1485,1440,1390,1476,1616,1544,1504,1498,1421,1465,1552,1801,2271,1682,1348,1739,1787,1717,1659,1566,1851,1806,1680,2178,2380,2233,2016,1929,1922,1840,1673,1730,2062,2364,2214,2449,2728,2259,2029,1892,1776,1675,1693,1775,1745,1604,1579,1656,1802,1861,1768,1753,1911,1578,1888,2090,1776,1544,1625,1876,1922,2005,2681,2667,2186,2210,1866,1800,1781,2290,2426,1950,2119,2625,2597,2829,2546,2359,2497,2083,1937,2011,2944,3683,3593,3332,3063,2875,2791,2708,2658,2471,2571,2784,2928,2557,2243,2187,2551,2776,2718,2753,2566,2225,2384,3119,3915,3761,3607,3543,3339,3054,2879,3120,3290,3098,2993,3161,3458,3153,3344,3088,2242,2122,2247,3055,3629,3717,3724,3240,3192,3835,3836,3386,3264,3120,3365,2891,2937,3126,3242,3219,3319,3581,3318,2658,2358,2539,2939,3054,2887,2713,2712,2920,2894,3157,3482,3312,3075,2889,3043,2932,2907,3135,2983,2728,2622,2728,3007,3011,3158,3497,3400,3100,2979,2871,2784,2638,2601,2732,2954,2856,3108,1860,1659,2940,3406,3002,2707,3042,3124,3168,3292,3438,3348,3373,3329,3306,3435,3554,3119,3112,3149,2297,1417,1005,1003,1572,2258,2590,2944,3053,3057,2939,2924,3494,4080,4429,4396,4115,4381,4459,4498,4416,3540,3221,3736,3960,3597,2918,2664,2930,2974,2979,3005,2993,2991,3304,3611,3334,3075,3066,3155,3067,3121,3219,3217,3328,3339,3258,2964,2872,2645,2322,2207,2131,2013,1972,1931,1890,1956,1956,1997,2158,2402,2229,2339,2088,2245,2641,2536,2411,2382,2759,2597,2110,1896,2051,2030,1699,1883,1976,1914,1591,1629,1580,1588,1787,1851,1833,1577,1441,1658,1849,1728,1961,2232,2548,2087,1838,1881,1833,1586,1509,2142,2364,1648,2247,2578,1740,1999,1777,1589,1903,2074,1821,1802,2026,2108,2066,2174,2122,2018,2058,2602,2828,2136,1754,1883,2819,3609,3620,3269,2604,2579,2118,2196,2314,2898,3059,3055,2584,1763,1714,2070,2338,2821,2857,2656,2645,2818,2894,2180,2442,3481,3205,2776,2852,2750,2624,2567,2340,2646,2120,1881,2018,1837,1559,1502,1563,1760,1836,1776,2252,2502,2541,2542,2541,3067,2421,1802,2032,2135,1753,1888,2184,2458,2929,2662,2424,2360,1937,2178,2526,2859,2388,2209,2481,2465,2026,1722,1754,1890,2019,2447,2447,1836,1913,2156,2070,1700,1758,1750,1621,1691,1949,2485,2432,2158,1936,1824,2237,1920,1561,1725,1916,2433,3032,3132,2994,2902,2781,2209,2008,2229,2127,1884,1894,1838,2198,2024,1528,1675,1737,1810,1744,1482,1412,1614,1568,1507,1422,1442,1310,1241,1665,2019,1952,1976,1777,1770,2033,1637,1514,1647,1567,1852,1855,1844,1920,1929,2080,2370,1936,1944,2146,2021,2610,3235,3504,3025,2084,1561,2093,3009,3325,3453,3407,2939,3397,3077,2899,2553,2590,3346,3790,3728,2932,1902,2003,3021,3388,3406,3167,3041,3396,3679,3955,3853,3530,3616,3605,3481,3628,3515,3215,3082,3147,2973,3175,3479,3718,3425,3225,3164,3264,3460,3483,3565,3437,2958,2929,2728,2814,3481,3616,3670,3632,3262,3033,3037,3174,2780,2087,2704,2535,2220,2220,2648,3074,3232,3122,3340,3485,3535,3989,3913,3906,3914,3990,4101,4095,4023,3958,4176,4039,4057,4082,3912,3968,3824,3641,3761,4007,3587,3296,3350,3476,3662,3462,3373,3641,3805,3751,3775,3539,3372,3168,3107,3601,3701,3418,3131,3352,3492,2999,2587,2884,3088,3322,2964,3407,3437,2814,1714,1506,1439,1550,2183,2210,1876,1855,1904,2246,2438,1989,1833,1771,1721,1989,2011,1939,1834,1749,2384,2910,2939,3254,3132,3009,3417,3869,3828,3326,3393,3149,3051,2839,2563,2445,2661,2832,2617,2486,2763,3480,3450,3320,3853,4573,4605,4375,3858,3397,3401,3233,2918,2924,2822,3183,3186,3002,2728,2646,2728,2513,2285,2153,2175,2152,2250,2558,2813,2644,2838,3457,3373,2662,2421,2490,2611,3139,3856,4093,3854,3254,3738,3666,3824,4060,3957,3544,3043,3152,3200,2847,2564,2687,2968,2989,3095,2361,1865,1822,2291,2329,2053,1655,1639,1660,1677,1874,2393,2664,1765,1852,1403,1489,1675,1755,1617,1572,1578,1395,1494,1751,2049,2832,3042,3122,3596,3772,3414,3105,2595,2068,2097,2694,2910,2334,2172,2564,2916,3067,2815,2437,2113,2008,1823,1960,2214,2257,1803,2141,2944,2951,3236,3616,3175,2869,2665,2557,2549,2503,2457,2154,1907,1900,1786,1504,1557,2339,1937,1835,2017,2154,2780,2786,2497,2164,1699,1870,2244,2072,2016,2472,2262,2707,2954,3394,3313,2823,2922,3470,3530,3015,2851,2779,2360,2067,2231,1839,1700,1857,1961,1743,1607,1631,1841,2062,1695,1444,1295,1293,1542,1817,2397,1907,1781,2248,2763,2735,2841,3266,2520,2282,2127,2100,2302,1906,1697,2281,2664,2544,2473,2411,2351,2353,2335,1707,1505,1825,1714,1502,2082,2512,2498,2431,2040,2046,2145,2117,2667,3345,3042,2464,3130,3207,2480,3417,3669,2657,1631,1823,2292,1959,2154,2613,2512,2436,2930,2668,2595,2971,3362,3589,3197,2886,2374,1739,1649,1698,1996,2304,2245,2436,2526,2148,2336,2566,2495,1957,2297,2357,1657,1852,2171,2416,1976,2345,2475,2631,2625,3177,3457,3845,3774,3000,2489,2868,3714,3868,3978,3941,3839,2897,2221,2920,3257,3196,2978,2637,2678,2965,2541,1788,1368,951,842,1395,2175,2197,2107,2219,2500,2770,2717,2662,2762,2918,2744,2626,2457,2701,2691,3183,3098,2655,2108,2112,2917,3657,3600,3053,2128,2205,2118,2090,1965,2136,2166,2138,1930,2013,2460,2756,2763,2380,2064,2315,2211,1979,1929,2054,2063,2136,2158,2003,1937,1973,1853,1793,1905,1839,1689,1710,1720,1769,1728,1685,1760,1869,1877,1865,1858,2016,1996,2011,2186,2249,2294,2436,2456,2436,2414,2474,2623,2721,2813,2897,2865,2865,3007,3304,3330,3324,3129,2973,2995,2843,2925,2878,2819,2635,2335,2256],[3366,3673,3527,3390,3520,3341,3285,3306,2844,2259,2626,3067,3410,3854,4041,4151,4202,4388,4476,4267,4190,4042,3062,2103,1487,1445,1614,2037,1978,2137,2170,1929,1924,1783,1670,2068,2040,2161,2530,3160,3133,2653,2432,2171,2148,2200,1894,1881,2334,2328,1859,2077,2979,2348,2351,2565,2420,2881,3189,2683,2336,2444,2669,3373,3710,3470,3341,3021,3294,3567,2658,1888,2044,2269,2338,2125,2000,2269,2862,3476,3422,3974,4440,4268,4280,4401,4024,3581,3637,3392,2634,2451,2454,2214,2138,1859,2524,3016,2513,1991,1881,1535,1377,1577,1503,1577,1840,1690,1937,2205,1675,1729,1754,1820,1736,1721,2640,3165,2670,2029,1843,2324,2602,2260,2320,2269,1979,1709,1420,1596,1992,2192,2465,2417,2258,2319,2332,2133,2136,1983,1769,1752,2066,1968,1905,2006,1942,1898,1661,1705,2324,2790,2617,2456,2068,2358,2745,2279,2295,2780,2654,1863,2056,2399,1785,1985,2641,2669,2491,1830,2546,2818,2885,2916,2518,2110,1824,1856,2681,3254,3091,2697,2230,2081,1957,2675,3484,4123,3155,2586,2731,2651,2618,2397,2184,1813,1779,1946,2320,2212,1958,2268,2420,2366,2159,1771,1869,2055,2172,2543,2523,2301,2843,2220,1655,2183,2252,2053,2530,2928,3210,3343,3127,2731,2782,2926,3116,3497,3874,3941,4020,4025,3336,2091,1972,2630,2781,2370,2081,1897,2276,2046,2588,2814,3138,3321,3387,4031,3803,3256,2746,2452,2041,2243,2546,2579,2266,2439,2326,1913,2150,2784,2578,1926,1941,1622,1418,1772,2045,2583,2821,2340,1677,1746,1584,1394,1932,2374,2500,2587,2382,1963,1959,1700,2115,2525,2548,2364,2327,2135,2154,2259,2138,1982,2285,2249,2043,2437,1792,1605,1583,1729,1789,1765,1919,1879,1894,2243,2262,1840,1736,2107,1809,1553,2080,2091,1991,2269,2114,1895,1836,1918,1813,1984,2188,2027,2050,1730,1262,1613,2348,2415,2282,2709,2976,2588,1909,1874,1978,2040,2299,2033,1779,1724,1462,1365,1749,1700,1460,1713,2082,1748,2178,2226,2554,2447,1976,1631,1799,1874,1562,1339,1393,1518,1530,1437,1396,1614,1594,1663,1550,1484,1834,1930,1735,1545,1490,1709,1618,1515,1544,1658,1841,1740,1579,1797,2039,2297,1824,1792,2436,2585,3011,2844,2514,2404,1992,1773,1900,1686,1301,1099,1090,1101,1250,1351,1205,1423,1692,1540,1438,1268,1028,1036,1195,1085,1153,1414,1389,1459,1611,1644,1577,2127,2056,1929,2073,1547,1486,1688,1608,1678,1710,1511,1437,1514,1400,1460,1532,1674,1989,1888,1571,1453,1353,1310,1350,1367,1425,1402,1488,1967,2895,2404,1612,1570,2146,2391,2086,1998,2642,3907,4576,4080,3020,2784,2675,2856,2140,1987,1964,2293,2601,2511,2127,1840,2177,2332,2697,2536,3124,2483,2267,2614,2784,2960,2864,2210,1671,1541,1561,1836,1921,1606,1522,1599,1666,1512,1592,1832,1954,2045,2104,2182,3008,3880,4243,4268,4030,3386,2958,2388,3238,3772,3727,3725,3663,3460,3119,3017,3460,3613,2789,2154,1675,1958,2490,2230,1794,1792,2192,1973,1331,1373,1626,1593,1688,1439,1451,1576,1520,1840,2048,2142,1994,1671,1722,1499,1759,2049,1677,1525,1720,2207,2403,2242,2545,2396,2136,2340,2331,1814,1882,2050,2580,2724,2418,2385,2318,2007,2482,2490,2056,1887,1462,1417,1586,1525,1556,1452,1909,1820,1947,2099,2047,1951,1859,1785,1613,1561,1626,1855,1980,1933,1897,1894,2243,3030,3162,3042,2811,2356,2064,1985,1867,1877,2227,2278,1996,2139,2036,2129,2393,2059,1802,1826,1749,2018,2209,1443,1238,1562,1612,1547,1527,1554,1476,1441,1240,1045,1390,1700,1459,1208,1176,1305,1377,1639,2599,2867,1929,1740,2033,1930,1852,2175,2477,2250,2232,2585,2180,1786,1747,2019,2310,2488,2571,2331,1944,2132,2148,2125,2489,2276,2010,2955,2680,2249,2213,1953,1921,1749,1673,1768,1715,2148,2364,2117,1646,1698,2192,2013,1820,1515,1317,1346,1355,1325,1595,1905,1426,1439,1501,1773,1577,1547,1735,1695,1341,1310,1543,1395,1309,1641,1417,1464,1745,2082,2364,2026,2124,2132,1908,1987,1922,1730,1791,2302,2286,1913,1908,1942,1725,1985,2036,1799,2036,2286,1986,1467,1531,1795,1983,2032,1978,1729,1785,1914,1830,2448,2722,2031,1692,1747,1460,1498,1628,1685,1890,2297,2072,1737,1717,1650,1994,2468,2320,2118,2157,1707,1930,1719,1869,2364,2707,2386,1741,1813,2974,3871,3710,3097,2834,2818,2726,2767,2857,2872,2780,2592,2241,2261,2510,2583,2752,2875,2748,2421,2181,2557,3190,3872,3722,3725,3749,3509,3024,2709,2793,3066,3205,3218,3238,3611,3429,3274,2980,2513,2138,2128,2847,3561,3873,3853,3670,3638,3700,3549,3539,3551,3226,3043,2966,3023,3128,3132,3138,3356,3482,3183,2763,2689,2854,3044,3289,3146,2755,2845,2798,2604,2797,2963,2911,2942,3120,3249,2949,2956,3301,3248,2834,2584,2714,2821,2876,3011,3132,3141,2981,2997,2898,2756,2674,2680,3011,3096,3166,2567,2010,2588,3066,3373,2916,2833,3042,3038,3226,3420,4065,3898,3620,3483,3145,2936,2752,2446,2482,1905,1107,770,1210,2105,2770,3112,3133,3342,3294,3121,3182,3244,3195,3479,4267,4451,4219,4090,3576,3631,4050,3641,2930,2934,3030,2833,2457,2407,2504,2625,2711,2764,2945,3493,3407,3144,3210,3111,3188,3277,3034,3168,3338,3189,3066,2877,2573,2288,2156,2094,1974,1854,1780,1831,1940,2110,2453,2626,2828,2831,2928,3011,2791,2514,2232,2047,2149,2520,2203,1779,2205,2458,2855,2722,2254,1748,1730,1946,2222,1878,1758,1898,1710,1750,1938,1681,1758,1608,1992,2613,2212,1969,2353,2444,2277,1721,1759,1975,2026,1745,1873,2352,2643,1925,1862,1903,1788,1891,1613,1592,1860,1760,1639,1730,1825,2008,1725,1696,1858,1781,1650,2511,2512,1761,1786,2108,2475,2399,2696,2642,2164,2285,1907,1840,2474,3109,3006,3085,2680,1935,1628,1575,2143,3172,3330,3144,3002,3140,3144,2415,2453,3182,3339,3078,2980,2640,2495,2470,2163,2473,2149,2045,2319,2031,1690,1505,1526,1616,1755,1787,2445,2468,2841,2322,2633,2852,2319,1839,1929,2039,1981,1991,2397,3051,3135,2458,2293,2295,2239,2336,2505,2316,2285,2742,2955,2980,2918,2195,1588,1729,2633,3220,3041,2658,3357,3124,2690,2387,2171,2054,1831,1725,2082,2575,2201,2263,2205,2143,2129,1858,1835,1809,1834,2377,2810,3141,3145,2819,2341,2553,2535,2270,1917,1918,2007,1948,1837,1381,1025,1136,1256,1583,1642,1651,1561,1544,1470,1550,1581,1425,1256,1618,2056,1868,1904,1936,1531,1623,1509,1517,1610,1870,1926,1690,1569,1570,1650,1892,2227,3128,2229,1928,2133,1998,1991,2533,3106,3307,2648,1885,1914,2199,2545,3012,2608,2561,3938,4060,3687,3726,3872,3981,3934,3683,3165,2319,2302,3072,3234,3196,3436,3615,3620,3775,4132,4114,3776,3682,3618,3606,3828,3419,2946,2831,3083,3286,3523,3560,3463,2987,2729,2867,3167,3186,3306,3615,3342,2833,2884,2640,2840,3448,3498,3497,3610,3626,3396,3084,2855,2687,2293,2624,2354,2152,2360,2710,2902,2930,3010,3097,2717,2857,3451,3321,3899,3863,3952,4101,4100,4003,3915,4082,4007,3967,4025,4012,4038,3462,3392,3684,4184,4177,3936,3263,2566,2369,2663,2824,2967,3033,3419,3691,3830,4164,3896,3653,3930,4165,3510,2968,2933,3222,2696,2251,2832,3110,3366,2646,2830,3034,2459,1672,1417,1353,1350,1560,1737,1638,1563,1809,1902,1716,1774,1764,1755,1754,1686,1660,1750,1810,2007,2467,3098,3277,4074,4015,3265,3209,3118,2940,3074,3181,3156,3206,2978,2577,2883,2870,2820,2690,2593,2977,3604,3735,4026,4255,4159,4131,4107,4019,3770,3883,3774,2918,2626,2984,3348,3501,3220,2713,2654,2453,1752,1806,1749,2211,2626,2674,2781,2620,2685,2800,3251,3127,2750,2580,2337,2489,3373,4124,4070,3545,3175,3945,4086,4060,4085,3941,3864,3758,3896,3897,3209,2191,2502,2564,2308,1932,2020,1612,1607,1933,2240,2185,1930,2121,2408,2408,2269,2105,1949,1575,1793,1662,2243,3277,3067,2300,1992,1658,1387,1408,1736,1976,3163,3306,3253,3261,2791,2402,2222,2066,1882,1870,2458,2714,2603,2850,3266,3155,3055,2730,2361,2222,1888,1738,2023,2526,2570,2136,2416,2400,2752,3152,3068,2735,2770,2789,2695,2752,2459,2285,2233,2270,2497,2374,1644,1604,2290,1970,1543,1475,1866,2973,3631,3454,2820,2445,2468,2511,2474,2165,2317,2245,2354,2298,2499,2421,2721,3673,3882,3601,3019,2445,2812,3177,2898,2348,1894,1799,2010,2230,2264,1914,1560,2183,2405,2169,2012,1583,1724,1604,1671,1938,1904,1713,1934,2438,2126,1731,2244,2393,2611,1850,2058,2322,2378,2324,2633,2744,2701,2671,2469,2272,2483,2455,1874,1907,2483,2581,2096,2658,3127,2625,2061,1975,2146,2180,2148,2454,2564,3169,3396,3574,2867,2772,3548,3688,3210,2363,2137,2429,2836,3040,2894,2551,2443,2690,1854,2137,2874,3263,3445,2906,2408,2280,1863,1704,1664,1747,1765,1761,2211,2407,1764,1868,2531,2503,1619,1486,1697,1203,1764,2448,2527,2093,2408,2474,2640,2779,3090,3249,3785,4030,3133,2355,2722,3726,3833,3883,3811,3645,2768,2696,2958,3161,3326,3072,2736,2881,3030,2800,2079,1588,1339,1356,1632,2048,2266,2256,2214,2401,2755,2711,2634,2797,2981,2689,2569,2230,1989,2126,3068,3584,3153,2403,2454,2930,3353,2881,2200,1863,2023,2299,2702,2576,2527,2754,2591,2456,2326,2464,2703,2832,2360,2174,2407,2245,2456,2493,2198,1974,2212,2523,2303,2249,2514,2543,2609,2555,2416,2405,2571,2420,2298,2382,2494,2585,2649,2491,2602,2751,2979,2644,2448,2698,2818,2866,2986,2878,2722,2671,2674,2730,2731,2599,2678,2598,2447,2669,3339,3265,3018,2668,2610,2679,2732,2818,2761,2688,2871,2706,2490],[3495,3661,3662,3663,4034,3610,3396,3694,3326,2284,2293,2914,3529,4023,4308,4291,4383,4515,4463,4508,4400,4384,3455,2259,1545,1474,1582,1964,1959,1990,1980,1912,1892,1499,1441,1608,1755,2043,2577,2762,2775,2470,2436,2188,2018,2096,2003,2046,2124,2182,2103,2489,3232,2732,2182,1919,2625,3329,2895,2156,2157,1849,1971,2341,2954,2836,2872,3405,3905,3579,2552,1915,1712,2188,2852,2204,2144,2629,3130,3529,3492,3639,4325,4196,4376,4376,3165,2446,2598,2578,2235,2434,2308,2047,2036,2065,2353,2451,2126,1929,1776,1751,1884,1778,1596,2302,2179,1519,1425,1582,1944,1997,2249,2209,1956,2378,3022,3016,2878,2676,3185,3264,2825,2380,2800,2699,2501,2101,1976,2393,2632,2655,3038,3485,3261,2705,2160,2002,2230,2345,2092,1859,2396,2575,2192,1944,1821,1707,1551,1859,2381,2774,2854,2807,2632,2734,2633,2307,2979,3574,2940,2302,2388,2352,1569,2226,3038,2665,2634,2203,2514,2720,2984,3168,2555,1800,1575,1732,2901,2949,2819,2301,1963,2116,2071,2278,3125,3687,3751,3819,3255,2829,2492,2128,1771,1367,1880,2301,2380,2274,2138,2155,2394,2544,2152,1874,2391,2565,2597,2331,1934,2061,2976,2988,2181,2062,2194,2342,2399,2563,3188,3332,3127,2951,2985,3068,3131,3631,4025,4005,3100,2658,3028,2085,2286,3085,2494,2392,2106,2040,2440,2514,2598,2619,3123,3171,3384,4039,3520,3056,2497,2266,2666,2918,2778,2301,2315,2557,2520,1854,1664,2154,2013,1864,2333,1595,1411,1500,2171,2767,2846,2233,1716,1830,1657,1596,1850,1977,2468,2758,2498,2194,2096,1886,2208,2215,1995,2034,2018,1993,2261,2217,1975,1870,2055,2314,1967,2148,1856,1574,1572,1644,1700,1744,1759,1695,1663,2038,1934,2020,2412,2499,1920,1498,1433,1365,1617,1794,2084,2281,2072,1767,1905,2159,1918,1890,1994,1760,1620,1744,2104,2166,2477,2862,2612,2465,2276,1845,1614,1748,1968,2074,2188,1918,1517,1744,1849,1459,1563,1884,2567,2215,1874,1640,2115,1873,1437,1762,2074,1791,1388,1404,1442,1543,1715,1671,1374,1764,1733,1758,1667,1678,1725,1508,1433,1571,1555,1812,1714,1454,1509,1823,2025,2212,2232,1956,2116,2389,1802,1907,2334,2222,2179,1718,1957,2164,1567,1569,1951,1770,1502,1480,1252,1224,1460,1504,1528,1374,1611,1409,989,960,1037,1256,1261,1025,980,1213,1242,1484,1624,1612,1670,1900,1859,2142,1893,1357,1402,1576,1466,1302,1295,1579,1516,1307,1284,1307,1427,1686,1488,1477,1642,1525,1303,1222,1318,1406,1481,1464,1328,1863,2885,2650,2061,1836,2027,2493,2519,2553,3535,4317,4580,4554,3820,3418,3953,3773,2812,2402,2133,1781,1926,2391,2213,1801,1994,2186,2778,2467,2243,1987,2153,2259,2137,2199,2346,2055,1678,1635,1629,1721,1562,1455,1784,1814,1541,1550,1583,1817,2050,2382,2709,2883,3344,3840,4020,3985,4060,4026,3693,3363,3782,3957,3623,3421,3507,3385,3310,3509,3351,3560,2897,2219,1815,1951,2204,1979,1722,1597,1860,1651,1396,1735,1633,1454,1687,1764,1742,1659,1464,1424,1795,2203,1981,1580,2140,2371,2491,1952,1575,1566,1863,2216,2033,1698,1825,2047,2241,2180,1838,1683,1721,1644,1880,2144,2121,1797,1655,1930,2890,2766,2221,2256,2022,1769,1748,1644,1452,1305,1732,1704,1615,1660,1759,1813,2001,1852,1566,1567,1709,1717,1845,1978,2002,1979,2134,2630,3019,3050,3074,2558,2016,2409,2403,2329,2064,2306,2005,1901,2105,2707,2995,2511,1841,1761,1731,1965,2045,1619,1669,1641,1549,1497,1462,1445,1502,1567,1395,1327,1468,1620,1564,1297,1337,1422,1358,1339,1524,1464,1516,1809,1777,1591,1990,2231,2217,2123,2477,2523,2277,1993,1508,1450,1706,1890,2285,2510,2610,2605,2258,2853,3269,2946,1976,2758,2958,2464,2416,2850,3027,2825,2720,2602,2400,2554,2540,2239,1851,1692,1624,1665,1563,1365,1360,1476,1276,1250,1519,1770,1457,1628,1727,1670,1650,1824,1780,1506,1534,1582,1477,1362,1431,1918,1647,1653,1952,2371,2621,2303,2294,2370,2099,1932,1836,1852,1871,2164,1929,1970,2482,2501,2176,2134,2130,2234,2483,2239,2084,2036,1892,1961,2042,2140,2194,2001,2157,2487,2063,2221,2908,2799,2396,2106,1684,1638,1346,1341,1776,2048,1835,1577,1595,1766,1891,2024,2164,1932,2046,1866,1735,1802,1981,1982,2598,2629,1979,2082,2600,3439,3781,3319,2984,2976,2958,2831,2697,2588,2431,2270,2346,2718,2764,2669,2751,2822,2841,2474,2347,2866,3262,3610,3749,3909,3736,3225,2807,2658,2648,2884,2945,3396,3676,3566,3506,3559,3504,3169,2361,1980,2490,3264,3919,3914,3792,4041,3698,3375,3462,3539,3419,3170,2994,2939,2964,2998,3044,3178,3095,2866,2773,2733,3163,3423,3515,3250,3293,3320,2728,2433,2653,2875,2803,2946,3226,2994,2817,2940,3100,2893,2661,2629,2687,2800,2980,3154,3243,3217,2999,3041,2812,2711,2836,2941,2957,2520,2580,2869,3022,2983,3168,3406,2783,2894,3028,3054,3260,3617,4035,3886,3430,2699,1939,1306,1153,1033,947,853,1055,1844,2769,3226,3081,2912,2966,3366,3539,3337,3610,3339,2574,2544,3566,4269,4248,3361,2619,2893,3693,3475,2259,1990,2125,2505,2745,2957,3053,2818,2819,2700,2932,3594,3633,3385,3266,3196,3106,3083,2973,2849,2714,2445,2263,2125,2000,1884,1944,2044,2049,1998,2059,2296,2584,2833,3312,3747,4051,3956,3654,3356,3003,2542,2380,2091,1705,1720,1670,1649,1621,1550,2143,2876,2600,2111,2027,2239,2108,1730,1707,1830,1654,1617,2053,2048,1980,1902,2287,2525,2292,2640,2565,2499,2398,1982,1767,1937,1881,1533,1550,1832,2231,2106,2060,1719,1653,1641,1478,1456,1644,1590,1644,1681,1788,1870,2037,2153,2405,2161,1797,2223,2243,1464,1610,2119,2217,1707,1841,1908,2003,2113,1690,1581,2409,2618,2784,3279,2939,1952,1647,1777,2203,3006,3284,3466,3355,3294,3038,2526,2344,2481,3257,3133,2747,2457,2604,2189,1659,1780,1977,2505,2657,2070,1724,1716,1760,1744,1731,1886,2262,2214,2639,2497,2339,2426,2207,1842,1483,1646,2100,1997,2248,2584,2810,2568,2557,2552,2247,2117,2098,2072,2269,2382,2583,2749,2336,1687,1600,1887,2532,2931,2916,2759,2806,2621,2563,2502,2509,2182,2281,2408,2065,2159,2176,2055,2135,2316,2267,2404,2233,1873,1943,1865,1942,2690,2735,2614,2369,2247,2203,2058,1607,1166,1465,2043,1794,1082,1268,1434,1620,1631,1903,1954,1685,1562,1531,1742,1759,1446,1367,1854,2106,1913,1967,2016,1772,1802,1735,1659,1532,1676,1727,1471,1466,1508,1682,1828,1821,2913,2445,2035,1982,1952,1998,1956,2327,3066,2900,1847,1451,1599,2020,2357,2611,3047,4013,4295,4059,4028,4153,4304,4284,3806,3812,2751,2751,2727,2475,2640,3438,3711,3776,4083,4205,4308,4124,3860,3628,3350,3628,3543,3038,2997,3143,3316,3615,3681,3288,2650,2741,3100,3362,3183,3472,3594,2893,2564,3020,3326,3591,3672,3321,3126,3220,3437,3405,3225,3204,3142,3084,2815,2348,2263,2611,2804,2857,2804,2966,3109,2679,2713,3228,3526,4014,4145,4212,4340,4111,3860,3902,3874,4212,4400,4485,4475,4431,3926,3731,3953,4205,3814,3072,2699,2602,2625,2569,2804,3353,3727,4099,4400,4419,4461,3769,3073,3350,3696,3022,2376,2474,2787,2249,1949,2611,2974,3620,3961,3642,3401,2404,1599,1457,1356,1360,1479,1908,2139,1642,1474,1493,1493,1654,1710,1739,1877,1747,1330,1132,1009,1498,2404,3322,3738,4136,4012,3816,3595,3011,2884,3401,3483,3143,3263,3256,2943,3429,3142,3037,2716,2657,2880,3445,3918,4412,4503,4383,4332,3890,3760,3340,3687,4137,3775,2519,2777,3401,3344,3234,2684,2103,2024,1682,1733,1727,2008,1991,2182,2430,2576,3083,3277,3345,3061,2766,2678,2398,2459,3489,3913,3695,3205,3454,4074,3994,3889,4040,4104,4040,3894,4040,4204,3133,2252,2638,2653,2416,2221,2049,1754,1614,2020,2689,2060,1928,2153,2932,2508,2370,2010,1578,1798,2593,2251,2009,2612,2724,2496,2581,2050,1586,1620,1980,1785,2385,3062,3344,2688,1938,1985,2143,1893,1640,1790,2662,2928,3432,3537,3559,3366,2720,2114,2160,2093,1955,2194,2263,2684,2785,2768,2633,1786,2250,2970,2934,2391,2491,2744,2545,2507,2215,2272,2386,2410,2736,2976,2268,1923,2712,2482,1721,1587,1944,2584,2430,2131,2040,2287,2364,2367,2252,2234,2075,1853,1619,1338,1461,1663,2269,3353,3637,3488,2590,2061,2171,2660,2784,1958,1549,1884,2230,2144,1939,1683,1672,2286,2116,2242,2049,2111,2124,1937,1935,1963,1900,1829,2158,2146,1678,1477,1718,2355,2493,1618,1859,2187,2273,2556,3210,3638,3221,2782,2968,2869,2917,2794,2115,1933,2342,2522,2540,2988,3033,2710,2207,2233,2312,2603,2541,2316,2091,2931,3717,3300,2564,3042,3539,3627,3793,3317,2436,2332,3200,3089,2731,2120,2247,2091,1671,1857,2254,2577,2677,2002,2144,2229,2428,1986,1697,1510,1871,2480,2327,1833,1594,1904,2343,2207,1936,1954,2004,1547,1658,2378,2282,2114,2302,2764,3138,3065,2787,2647,2932,3386,3250,2875,3189,3661,3610,3440,3418,3352,2894,2410,2410,3019,3193,2908,2495,2828,2719,2857,2370,1884,1782,2128,2420,2602,2570,2547,2495,2564,2797,2792,2740,2882,2809,2602,2853,2643,1983,2467,3288,3531,3393,2484,2778,3038,2866,2083,2147,2924,2379,2254,2824,2403,2321,2692,2440,2390,2315,2910,2908,2911,2939,2472,2466,2255,1985,2009,2015,2212,2510,2526,2187,2149,2461,2340,2057,2344,2692,2598,2503,2531,2675,2769,2900,2924,3226,2975,3107,3162,2797,2604,2685,2626,2806,3220,3470,3738,3670,2991,2398,2187,2198,2401,2320,2014,1814,1973,2752,2574,2099,2265,1824,1708,2457,2165,2146,2293,2763,2910,2993],[3348,3526,3406,3297,3715,3430,2912,3200,3124,2851,2562,2799,3631,4203,4408,4456,4488,4588,4524,4445,4336,4204,3654,2426,1649,1621,1830,1713,1682,2100,2204,2344,2410,2203,1960,2054,1946,1841,2254,2652,2631,2229,1969,1847,1662,1873,2206,2288,2288,2456,2208,2613,2801,2658,2007,2223,3193,2941,2020,1960,1992,1782,1647,1666,2699,2823,3243,3750,3216,2811,2421,1971,1858,2447,2922,2239,2127,2435,3318,3464,3762,4289,4039,3084,3572,3905,2908,2416,2240,2152,2037,2645,2236,1966,2068,1942,1894,1832,1802,1968,2085,1676,1566,1905,1626,2335,2055,2042,1808,1581,1979,2667,3248,2864,1821,1404,2179,2636,3035,3226,3265,3024,2844,2852,2910,2609,2476,2377,2491,2766,2725,2785,3168,3294,3457,3167,2205,2007,1766,2548,2909,2517,2570,2293,1996,1841,1713,2110,2030,2225,2597,2832,2852,2540,2459,2719,2768,2753,2942,3018,2691,2270,2118,2566,1776,1795,1902,1943,2580,2580,2501,2657,2916,3385,2922,2072,1692,1661,2283,2534,2842,2559,2136,2168,2111,2093,2547,2988,3116,3339,3596,2840,2050,2121,1902,1677,1881,2193,2699,2708,2368,2352,2438,2408,2388,2399,2669,2127,1807,1840,2174,1875,2471,3108,2602,2215,2216,2280,2399,2539,3094,3275,3164,2895,2933,2849,2988,3385,3482,2797,1796,1498,2322,1771,2001,2910,2775,2171,2071,2346,2484,2444,2040,2282,3322,3658,3228,3235,2856,2836,3040,2492,2974,3565,3155,2824,2614,2280,2770,2385,2070,1817,1628,1465,1687,1917,1821,1628,2127,2200,2024,1892,1628,1686,1743,2080,3107,3320,3481,3232,2630,2430,2301,2131,1974,1806,2026,1719,1595,1955,2026,1721,1620,1648,1692,2064,1946,1700,1763,2058,2195,1731,1775,2005,2007,1982,1832,1957,2596,3151,2729,2217,1916,1556,1390,1447,1544,1714,1990,1955,2300,1846,1766,1750,1518,1664,1768,1784,1870,1798,1935,1901,2410,2691,2604,2424,2451,2019,1714,1808,1807,1753,2094,2297,2034,2301,2026,1663,1926,2116,2360,2280,1830,1622,1838,1516,1434,1548,1960,1702,1456,1345,1555,1787,2217,1798,1545,1678,1707,1716,1537,1644,1479,1433,1442,1699,1587,1554,2070,1672,1472,1819,1976,2069,2276,2372,2060,2177,2321,2573,2194,2033,1786,1487,1623,1783,1635,1782,2048,1519,1456,1541,1366,1359,1478,1656,1936,1592,1360,1223,993,848,1105,1375,1169,1163,1224,1149,1040,1450,1519,1449,1644,1680,1736,1851,1807,1807,2030,2094,1686,1637,1610,1861,1554,1208,1436,1645,1498,1317,1335,1511,1605,1447,1273,1186,1440,1524,1468,1684,1624,1989,2865,3275,2999,2008,1829,1952,2008,2265,3199,3973,4376,4640,4330,3623,3549,3284,2567,2313,2231,1656,1766,2310,2187,2252,2302,2050,2442,2545,2127,1992,2173,2026,1786,2462,2704,2480,1834,1681,1584,1543,1578,1688,2144,1941,1627,1522,1640,1981,2188,2653,3321,2813,2951,3753,3896,3806,3806,3605,2996,2899,3476,3608,3594,3504,3564,3158,3043,3493,3614,3371,2462,1960,1836,1921,1970,1592,1482,1476,1607,1474,1444,1562,1436,1486,1396,1551,1635,1649,1536,1531,1783,2187,1807,1574,2154,2669,2432,1709,1689,2189,2543,2393,2172,2158,1727,1785,1814,1948,1704,1776,1820,1741,1551,1774,1738,1506,1810,2321,2915,2749,2642,2208,1901,1824,1751,1743,1488,1500,1839,1777,1556,1515,1510,1573,1790,1649,1597,1851,2066,1819,1632,2066,1968,1697,2034,2578,3205,3304,3064,2321,2512,2954,2750,2442,2454,2564,2274,1924,1894,2323,2503,2366,1760,1738,1594,1583,1762,2023,2335,1884,1504,1476,1383,1330,1414,1734,1556,1538,1544,1600,1874,1772,1682,1569,1472,1599,1582,1524,1874,2256,1860,2268,2783,2199,2208,2329,2287,2237,2454,2437,1832,1282,1472,1801,2379,2766,2534,1967,1876,2642,3417,3537,2433,2551,2999,2084,2062,2998,3042,3057,2770,2432,2182,2071,2070,2065,1942,1763,1839,1740,1490,1439,1557,1632,1322,1292,1563,1614,1548,1617,1467,1453,1710,1844,1697,1556,1679,1713,1354,1378,1510,1576,1628,2049,2464,2683,2733,2801,2749,2682,2324,2369,2166,2131,2276,2155,1860,1840,2155,2258,2082,2164,2543,2624,2257,1862,1884,2173,2098,1932,1854,2122,2184,1881,2156,2426,1894,1899,2498,3256,3221,2339,1986,1655,1448,1554,1692,1987,2000,1647,1513,1600,1740,1814,1924,1742,1801,1932,1820,1721,1578,1403,2004,2480,2398,2408,2072,3025,3348,3074,3144,3001,2912,2801,2470,2263,2121,2159,2742,3086,2786,2699,2680,2711,2909,2749,2642,2592,2746,3028,3220,3135,2820,2600,2532,2643,2498,3189,3480,3715,4042,3894,3790,3905,3826,3417,2491,1812,2317,2934,3837,3840,3853,4152,3896,3588,3594,3698,3813,3669,3198,2799,2861,2993,3096,3046,2849,2773,2888,3308,3793,3579,3514,3753,3597,3607,3222,2842,2675,2814,2946,3244,3377,3207,3089,3200,3129,2767,2632,2656,2770,2876,3088,3154,3304,3338,3066,2990,2818,2791,2801,2770,2173,1635,2396,3166,3658,3416,3406,3620,3196,3044,3318,3540,3519,3627,3487,2921,1992,1167,966,1123,1437,1524,1636,1972,2388,2916,3095,2886,2713,2859,2895,3080,3608,3591,3674,3337,3128,2435,2867,3566,3549,2502,2107,2745,3356,3235,2288,2231,2455,2547,3144,3385,3677,3167,2808,2952,3031,3259,3566,3506,2946,2724,2552,2524,2367,2235,2159,2153,2034,1902,1930,1981,2061,2272,2633,2891,3076,3274,3532,3419,3652,4200,4412,4236,3872,3105,2438,2420,2368,2122,1782,1747,1959,1732,1594,1520,1699,2209,2374,2200,2292,1964,1594,1703,2026,1795,1536,1562,1850,1745,1685,2038,2186,2137,2200,2196,2016,2153,2207,2405,1948,1838,1551,1376,1796,1879,1625,1554,1573,1693,1746,1528,1470,1421,1524,1879,2186,2018,1773,1834,2451,2954,2614,1908,1715,1859,2095,1688,1572,1960,1778,1489,1918,1979,1876,1649,1465,1946,2481,2566,2808,2873,2658,1991,1878,1719,1881,2610,2931,3221,3354,3285,3064,2408,2483,2408,3016,3053,2793,2612,2480,2264,2222,2553,2592,2580,2128,1903,1902,2005,2160,2027,2110,2152,1946,2112,2292,2087,2222,2353,1860,1761,1428,1636,1916,1603,1655,1841,2334,3052,2731,1942,1918,1981,2013,1858,1839,1887,2286,3174,2779,1929,1810,1891,2106,2313,2070,1822,1713,1796,2384,2464,2333,2301,2791,2602,1400,1613,2407,2360,2398,2531,2481,2612,2209,2061,1966,2171,2182,2368,2292,2599,2718,2375,2142,1985,1683,1698,1861,2213,2651,1796,1896,2135,2024,2151,2406,2098,1862,1720,1704,1947,1631,1577,2319,2104,1786,1689,1832,1910,1896,1926,1882,1677,1385,1353,1531,1455,1466,1516,1620,1552,1438,2125,2055,1802,1824,1901,1988,1920,2026,2565,2701,1933,1673,1786,1913,1898,2478,3310,3845,4231,4000,3739,3912,4315,4359,3697,3660,2511,2201,2226,2403,2814,3599,3947,3776,3894,3992,4249,4212,3915,3542,3264,3493,3432,3184,3098,3062,3297,3480,3466,3375,2928,2852,3174,3286,3166,3486,3582,2910,2795,3492,3580,3582,3597,3422,3084,3130,3162,3193,3102,3160,3284,3311,2946,2373,2392,2739,2739,2819,2844,3010,3222,3063,3083,3494,3535,3492,3891,4216,4225,4177,4112,3804,3149,3992,4370,4511,4354,4224,3949,3814,3940,3771,3033,2548,2703,2742,2812,2900,3065,3606,3789,3988,4419,4519,4299,3626,2778,3084,3432,2448,1810,1870,2160,2031,1971,2491,2814,3615,4239,4058,3151,2002,1549,1410,1389,1504,1690,2062,2076,1596,1843,2460,2115,1563,1597,1690,2027,2116,1550,1107,1078,1724,2105,2632,3334,3826,4000,3789,3698,3301,2957,3385,3658,3581,3650,3408,3705,4136,3902,3411,2966,2857,2928,2893,3117,3969,4105,4388,4528,4220,3645,3001,2596,2652,2686,2132,2170,2985,3517,3372,3187,2862,2163,2182,2279,2176,2083,2270,2183,1872,2218,2973,3283,3297,2939,3095,3184,2912,2716,2934,2977,2883,2871,3527,3973,3670,3585,4012,3902,4080,3941,3945,4070,2281,2191,2654,2684,2940,2756,2138,2174,1951,2408,2837,2335,1886,1855,2425,2041,1908,2198,2092,2029,2703,2801,1816,1696,1609,2005,2601,2106,1611,1586,1688,1737,1923,2145,2163,1806,1682,1784,1762,2030,1750,2043,2611,2916,3465,3535,3565,3449,2535,1948,2300,2576,2687,2524,2410,2990,3379,3616,3199,2130,2279,2924,2916,2496,2344,2449,2012,2003,2194,2334,2502,2237,2458,2803,2268,2052,2778,2679,1664,1525,2012,2482,1964,1758,2483,2022,1870,2173,2168,2242,2426,2398,2302,2170,2070,1932,2136,2313,2683,2692,2471,2495,2014,1941,1805,1587,1666,1694,2066,1953,1907,2118,2300,2562,2226,1739,1678,1878,1847,2035,2108,2221,2220,2301,2874,2686,2088,2193,2233,2181,1932,1644,1748,1935,2158,2556,3274,3376,3053,2684,2864,2945,3252,3098,2296,1763,1715,1664,2199,2766,2419,2557,2291,2741,2567,2532,1990,1598,1825,2518,2942,2713,2646,3326,3718,3827,4057,3670,2496,2567,2793,2604,2268,1902,1806,1807,1903,1930,2127,2379,2331,2091,2415,2542,2621,1955,1646,1974,2532,2600,2398,2079,1880,2026,2280,2367,2297,2310,1806,1679,1781,2233,2182,1899,2128,2878,3964,3525,2353,2033,1910,2662,3330,3364,3834,4332,4564,4189,3610,3542,3750,3787,3654,3428,3308,3025,2621,2586,2385,2663,2786,2211,2132,2519,2454,2531,2645,2791,2458,2418,2679,2807,2813,2687,2553,2553,3149,3285,2873,3194,3370,3317,3428,2724,2588,3008,2591,2090,3119,3540,2424,1888,2018,1973,2242,2620,2359,2521,2824,3121,3183,3114,3082,2899,2974,2940,2808,2601,2540,2841,2972,2996,2597,2502,2706,2330,2072,2784,3210,3203,3123,2601,2536,2805,3160,3115,3291,2944,3010,3250,3359,3153,2658,2188,2270,3208,3804,4121,3650,2425,1976,1947,2031,2132,2057,2158,2076,2183,2925,2668,2191,2406,1950,1599,2237,2218,2234,2636,2294,2497,2955],[3215,2931,3027,3147,3411,3511,3429,3108,2628,2842,3012,3153,3582,3977,4219,4263,4335,4543,4544,4423,4346,4395,3890,2663,1722,1595,1860,1642,1677,2253,2880,2768,2848,3101,3000,2657,2157,1908,2226,2945,2983,2478,2196,2281,1811,1811,2515,2691,3129,2609,1828,2116,2749,2820,2450,2523,2856,2417,1440,1665,1912,2175,1822,1816,2213,2282,3339,3572,2762,2821,2244,1765,1674,1808,2272,1986,1896,2279,3065,4024,4176,3875,3027,2176,2621,3470,3451,2880,2314,1896,1657,1995,1979,2090,2273,2203,1884,1575,1492,1923,2429,1882,1596,1715,1750,2355,2429,2188,1804,1444,1787,2842,3474,2995,2243,2688,3496,3474,3542,3657,3693,3603,3306,2937,2621,2314,2392,2626,2469,2431,2319,2481,2658,2577,3037,3294,2294,1691,2009,3001,3119,2697,2513,2049,2121,2115,2387,2409,2442,2540,2584,2534,2321,1997,2068,2272,2255,1944,1901,2087,2293,2127,2440,2968,2294,2137,2114,2165,2692,2626,2359,2287,2325,2985,2930,2304,2259,2054,2049,2250,2392,2434,2503,2440,2221,2242,2463,2812,2584,2202,2600,2180,1656,1803,1942,2290,2050,2152,2676,2220,1842,2265,1987,2512,3216,3049,2330,1803,2281,2471,2234,2093,2173,2657,2643,2304,2318,2333,2680,2709,2918,3022,2902,2821,2750,2690,2883,3199,3428,2589,2314,2425,2620,2120,2032,2576,2284,1914,2004,1995,2053,1795,1804,2679,3084,3520,3160,3239,3184,3109,3489,3228,3250,3561,3313,2929,3057,2548,2871,2522,2142,2007,1918,1522,1836,2126,1857,2177,2548,2095,1954,1822,1669,1778,1820,2293,3774,3685,3022,2563,2183,2255,2274,2214,1985,1699,1965,1616,1595,1800,1845,1590,1521,1535,1747,2303,2108,1615,1825,2231,2072,1888,2205,2281,2070,2132,2185,2199,2975,3484,2557,1797,1831,1969,1660,1793,1828,1618,1591,1792,2293,1827,1523,1604,1624,1797,1904,1633,1576,1777,1834,2063,2349,2585,2270,2164,2111,1890,1736,1794,1948,1921,1669,1734,1831,1882,1777,1925,2182,2283,2344,2580,2190,1727,2055,2056,1708,1297,1633,1572,1474,1440,1438,1692,2054,1989,1814,1480,1570,1575,1480,1540,1575,1411,1354,1700,1634,1925,2330,1712,1465,1859,1782,1728,1845,1967,1560,2170,2527,2560,2293,2087,1662,1347,1421,2102,2156,2024,2157,1442,1469,1364,1381,1336,1401,1650,1694,1450,1221,1239,1272,1265,1223,1196,1155,1153,1131,1066,1228,1577,1475,1323,1382,1361,1521,1766,1846,1953,2116,2241,2321,2182,2014,1980,1655,1302,1670,1858,1450,1382,1695,1710,1536,1342,1311,1291,1640,1949,1685,1811,1965,1711,1854,2521,2715,1780,2009,1681,1633,1929,2301,3436,4432,4715,4267,3762,3162,2186,2052,2048,1866,1552,1617,2060,2240,2426,2553,2514,2619,2440,2143,2135,2140,2076,2422,2752,2821,2292,1782,1504,1593,1888,1683,1708,2056,2005,1974,1539,1714,1912,2344,3121,3356,2959,3240,3665,3670,3583,3494,2833,1958,2019,2419,2506,2914,3646,3798,3016,2886,3061,3444,3647,2612,1714,1620,1792,1578,1407,1628,1611,1649,1499,1565,1457,1590,1647,1390,1553,1867,2101,1903,1777,2120,2933,2298,1695,2195,2374,1769,1598,1799,2025,2211,2180,2228,2072,1797,1954,1987,1918,1716,2079,2549,2455,1824,1806,1928,1599,1509,1591,2370,2762,2372,1923,2012,2023,1866,1699,1550,1681,1837,1995,1838,1700,1678,1500,1393,1853,1786,1951,2479,2348,1928,1886,1691,1505,1875,2272,2887,3196,2963,2512,2609,2588,2316,2118,2504,2697,2341,2106,1872,2163,2026,2031,2073,2165,1779,1680,1884,1929,1978,1810,1524,1506,1473,1208,1077,1694,1656,1450,1417,1533,1352,1393,1593,1444,1379,1343,1499,1660,2072,2532,2519,2576,2741,2366,2155,2151,1873,1992,2506,2140,1634,1381,1599,1880,2231,2654,2309,2197,2015,2010,2699,3191,2527,2218,2865,2483,2258,2369,1966,1970,1836,1881,2172,2466,2172,1876,1751,1449,1431,1457,1643,1710,1719,1646,1362,1354,1797,1865,1780,1841,1759,1780,1876,1874,1609,1491,1619,1787,1496,1470,1562,1627,1844,2092,2541,2938,2574,2561,2975,3029,2768,2447,2448,2687,2280,1937,1837,1700,1693,1649,1737,2157,2580,2477,1844,1832,2150,2212,1863,1465,1545,1935,2028,1805,1872,2140,1873,1760,2271,2543,2313,1775,1750,1533,1580,1727,1664,1945,2278,2309,1761,1446,1449,1637,1692,1725,2266,2415,1964,1688,1763,1752,1945,2321,3349,3349,2780,3318,3297,3150,3405,3230,3056,2817,2308,2148,2162,2522,2792,2661,2593,2576,2524,2393,2548,2808,2809,2613,2707,2997,3225,2749,2597,2600,2571,2499,2586,3489,3820,3858,4118,3833,3549,3836,3741,3496,2799,1978,2193,2471,3488,3736,3845,3982,3887,3791,3851,3816,3770,3805,3307,2641,2868,2999,3164,3211,3136,3287,3212,3203,3574,3417,3459,3586,3584,3495,3313,3039,3006,2944,2961,3530,3597,3229,3194,3323,3271,2835,2605,2635,3033,3071,3255,3120,3237,3388,3140,2888,2851,2559,2211,1670,1200,1686,2990,3586,3654,3566,3620,3583,3573,3720,3875,3953,3797,3473,2830,1820,1001,1102,1687,2199,2944,3240,3426,3397,3256,3226,3054,2862,3150,3320,3404,3290,3617,3653,3773,3369,3210,2963,2744,3030,3144,2347,1927,2664,3128,3062,3097,3256,2967,2733,3409,3475,3349,3360,3506,3556,3042,2900,2656,2445,2231,2199,2176,2181,2023,1962,1943,1930,1924,2020,2308,2645,2974,3168,3420,3694,3840,3723,3652,3664,3646,4037,4383,4029,3739,3445,3002,2755,2246,1949,2194,2235,2401,2180,1720,1714,1741,1929,2083,2075,2179,1797,1592,1482,1570,1625,1653,1678,1686,1700,1942,1968,1704,1818,2414,2060,2072,1980,1732,1936,2330,2029,1481,1813,2076,1782,1776,1930,1867,1834,1789,1555,1434,1515,1596,1917,2156,2012,2024,2329,2756,2647,2083,1735,1567,1620,1509,1459,1568,1604,1426,1424,1815,2042,1757,1480,1794,2188,2356,1980,1722,1930,2072,2045,1826,1503,1793,2178,2307,2706,2579,2675,2977,2600,2723,2603,2963,3284,2737,2235,2464,2650,2741,2718,2741,2798,1891,1648,1661,1886,2198,2086,1946,1688,1726,2175,2411,2139,2476,2098,1521,1428,1046,1332,1779,1500,1592,1687,1705,2182,2080,1953,1914,1917,2009,2030,1938,2048,2301,2668,2129,1895,1919,1861,2011,1906,1716,1645,1597,1736,2035,1689,1746,2023,2571,2469,1488,1615,2690,3284,2879,2556,2395,2279,1736,1911,1951,2292,2294,2385,2143,2119,2490,2619,2015,1815,2214,2965,2336,2084,2506,2106,2175,2009,1670,1863,1863,1837,1888,1637,1644,1892,1814,1855,2648,2114,1623,1532,1763,1773,1914,1948,1804,1581,1417,1383,1666,1770,1861,1495,1428,1372,1234,1559,1793,1765,1744,1794,1657,1794,1977,2356,2373,1999,1882,1761,1615,1570,2039,2511,3105,4144,3967,3718,3876,4269,4252,3006,2074,1722,1971,2603,2663,3071,3438,3680,3629,3416,3593,4104,4179,3993,3541,3430,3539,3341,3222,3075,3105,3274,3306,3525,3439,3101,2912,2962,3045,3010,3318,3530,3054,3068,3706,3733,3551,3584,3064,2976,3205,3163,3049,2884,2919,3056,3041,2689,2263,2420,2689,2873,2988,2692,2820,3162,3111,2812,3144,3338,3281,3339,3244,3482,3583,3588,3283,2987,3519,3602,3277,3282,3494,3373,3194,3209,3334,3472,3200,2950,2836,2972,3199,3373,3588,3561,3652,4265,4512,4424,4017,3360,3396,3421,2708,2066,1967,1912,1962,2125,2445,2866,3627,3819,3018,1945,1548,1599,1445,1520,1689,1676,1980,1885,1457,1712,2013,1625,1380,1492,1570,2096,2352,1924,1463,1322,1891,2104,2364,2954,3229,3476,3583,3573,3073,2914,3376,3543,3696,3396,3178,3471,3651,3752,3818,3616,3330,3331,3399,3461,3775,3748,4246,4428,3885,3363,2642,2059,1818,1548,1720,2223,3118,3364,3012,2575,2345,2164,2139,2552,2876,2705,2295,1853,1676,2222,2830,2621,2917,3185,2955,3174,3176,3163,2922,2577,2165,2435,3366,3630,3161,3659,4134,3526,3798,3521,3552,3237,2396,2998,3226,2683,2639,2504,2731,3031,2541,2945,3630,2795,2315,2213,1810,1701,2101,2742,2863,3075,3708,3616,1854,1524,1954,2417,2430,1980,1931,1876,1875,2149,2127,2428,2236,1762,1904,1822,1954,2392,2230,2123,2321,2979,3364,3450,3478,3306,2746,2318,2193,2430,2958,2417,2578,3000,3254,3794,3408,2391,2366,2696,2584,2828,2877,3128,1780,1828,2200,2237,2064,2035,2382,2452,2136,2084,2780,2876,2007,2397,2578,2522,1926,1409,2529,2622,2049,2336,2365,2276,2423,2535,2546,3152,2542,1990,2116,2556,2655,2033,2343,2563,2190,1919,1581,1308,1516,1483,1830,2035,2680,2561,2611,2835,2699,1837,1370,1350,1307,2066,2428,2632,2568,2440,2648,2918,2787,2932,2880,2254,2029,2201,2205,2017,1930,2517,2560,2674,3118,3428,3341,3326,3209,3008,2621,1646,1792,2399,2677,2619,2279,2293,2516,2947,2568,1892,1538,1595,2111,2593,2640,2684,3506,3778,3361,3682,3820,3480,2510,2906,3211,2395,1973,2051,1772,2109,2055,2192,2186,2141,1912,2142,2559,2392,2214,2122,2414,2902,2859,2165,2369,1981,2068,3147,3342,2943,2484,2054,1721,2018,2109,2200,1765,1879,2367,3009,3687,2871,2482,2156,1651,2155,2961,3334,3905,4676,4763,4256,3574,3557,3799,3764,3549,3535,3472,3277,2817,2338,2254,2459,2728,2818,2976,2702,2273,2566,2857,2895,2442,2385,2570,2665,2709,2668,2728,2888,3384,3256,2099,2155,3145,3253,3294,3000,2987,2745,2321,2358,2435,2596,2360,2035,2570,2648,2522,2453,2562,2999,2846,3100,3253,3121,3177,3106,3077,3153,3150,3256,3296,3071,3140,3270,2799,2450,2434,2368,2605,3288,2943,2457,2519,2449,2733,3054,2842,2494,2289,2303,2768,3212,3479,3148,2266,1792,2013,3054,3120,3287,2841,2182,2041,1921,1989,1953,1744,2084,2207,2149,2415,3006,2364,2450,2075,2220,2770,2818,2701,2728,2453,2121,2452],[3032,2711,2908,2921,3125,3536,3772,3448,3107,3258,3430,3735,3803,3923,4260,4158,4293,4545,4636,4687,4475,4467,4597,3737,2330,2310,2082,1688,1712,2351,2953,2630,2665,2899,3431,3521,2731,2386,3041,3583,3760,3117,2885,2903,2595,2489,2978,3198,3189,3078,2583,2377,2386,2428,2587,2014,2076,2321,2236,2147,2062,2002,1896,2280,2386,2482,3022,3067,2887,2736,1735,1509,1591,1864,1915,1607,1830,2363,2955,3522,3636,3660,2929,3065,3370,3470,3582,3441,3194,2429,2012,1924,1869,1993,2054,2148,1771,1750,1959,2236,2241,1930,1787,1779,1777,2386,2540,1835,1370,1043,1509,2254,2830,2876,2685,3464,3761,3776,3657,3612,3785,3906,3444,3261,3279,2819,2873,3201,2679,2328,2404,2521,2370,2607,3466,3627,2765,1849,2059,2283,2271,2554,2242,2374,2755,2767,3088,3141,3118,3002,2388,2075,2364,2657,2214,1934,2193,2231,1686,1587,1881,2294,2743,2920,2685,2192,2034,2530,2891,2631,2410,2226,1996,2413,2909,2910,2619,2662,2498,2190,2174,2356,2286,2512,2175,1963,2402,2787,2733,2111,1868,1707,1823,1736,2047,2753,2417,2536,2155,1887,1760,1609,1573,2742,3731,3657,2617,2053,2552,2626,1933,2242,2588,3216,3388,2686,2505,2435,2819,2913,2923,3075,2962,2733,2740,2890,2919,2814,3540,3362,2854,2931,2730,2280,2303,2485,2395,2274,1774,1796,1852,1387,2212,3057,2998,3115,3576,4169,3883,3715,3697,3227,3112,2980,2935,2635,2923,2687,3072,3530,2677,2103,2046,2136,2404,2209,1964,2228,2469,1831,1706,1866,1833,1949,1778,1922,2503,2326,2291,2161,1923,1974,2061,1809,1595,1790,2100,2074,1888,1764,1825,1722,1586,1499,1913,2295,2037,1935,2089,2408,2145,2372,2908,2399,1998,2186,2169,1930,2036,2282,2065,1795,1773,1943,1654,1628,1902,1765,1541,2018,2243,1616,1572,1725,1945,2244,2542,2023,1772,1700,1602,2069,2226,2161,2167,2132,1826,1694,1567,1547,1584,1833,1772,1683,1826,1743,1928,2008,2007,2345,2844,3327,2521,2061,1886,1904,2110,1736,1556,1442,1391,1461,1572,2361,2552,1887,1578,1525,1550,1537,1501,1587,1710,1530,1507,1511,1693,2129,2046,1464,1209,1703,1756,1533,1430,1515,1546,2285,2433,1895,1972,2083,1593,1359,1892,2669,2251,2169,2281,1729,1721,1626,1483,1382,1511,1495,1358,1310,1331,1269,1098,1169,932,998,1072,1150,1193,1242,1369,1456,1390,1445,1457,1256,1340,1491,1494,2024,1925,1944,2094,2127,2052,2052,1761,1460,1730,1675,1559,1586,1688,1755,1562,1339,1443,1704,1922,1902,1634,1570,1837,1719,1730,1799,1951,1719,2097,2033,1677,1809,2241,2880,3812,4535,3897,2966,2178,1990,2202,1830,1626,1528,1463,1825,2110,2649,2963,2648,2130,1812,1852,1939,1630,1584,1884,2163,2424,2120,1769,1596,1851,2093,1778,1732,1982,2181,1933,1689,2418,2468,2502,2907,3120,3325,3385,3420,3473,3399,3208,2288,1723,1905,2001,1829,2852,3674,3223,2536,2417,2784,3798,3751,2712,2045,2076,2128,1694,1656,2090,2381,2065,1559,1667,1702,1649,1536,1521,1716,1872,2126,2792,2371,2138,2376,1907,1530,2238,2788,2452,1989,1780,1953,1892,1687,1683,1627,1945,1945,1770,1595,1557,1927,2691,2978,1914,1758,1970,1785,1663,2200,2947,3020,2604,2181,1913,1946,1955,1663,1554,1502,1937,2495,2280,2101,1707,1509,1566,1807,1700,2045,2542,2255,2131,2107,1599,1398,1559,1953,2056,2542,2512,2462,2482,2150,1932,2060,2288,2443,2093,2222,1977,2243,1892,1738,2114,1959,1892,2105,1894,1550,1534,1576,1346,1483,1578,1429,1606,1725,1569,1510,1661,1688,1328,1414,1647,1306,1345,1921,1894,1722,2006,2019,1919,1995,2480,2552,2156,1822,1429,1671,2239,1824,1848,1983,1968,1887,2045,2291,2503,2371,1956,1836,2226,2968,2811,2381,2671,2555,2534,2272,1838,1605,1538,1587,1844,2093,1818,1596,1603,1568,1740,1810,1924,1750,1478,1870,1451,1403,2470,2586,2188,2066,1696,1863,2046,1719,1597,1738,1773,1908,1848,1708,1812,2138,2314,2389,2736,2737,2034,2116,2868,2725,2716,2242,2432,2437,1862,1676,1689,1791,1928,1924,1738,1866,2304,2480,2062,1863,2030,1955,1686,1835,2041,1800,1804,1770,1829,2266,2358,2393,2287,1793,1638,1647,1618,1651,1682,1813,1664,1871,2013,2149,1503,1350,1241,1267,1505,1771,2041,2084,1782,1674,1858,1947,1897,2212,3009,3260,3441,3542,3453,3481,3508,3427,3292,2805,2329,2362,2739,3130,3154,3006,2415,2098,2155,2091,2182,2564,2723,2611,2727,2843,3264,3021,2618,2539,2558,2457,2530,2787,3160,3561,3814,3870,3702,3571,3626,3218,2668,2196,2136,2236,3106,3719,3637,3693,3806,3640,3698,3782,3762,3848,3629,3457,3628,3435,3582,3763,3596,3751,3754,3374,3125,2990,3019,3040,3377,3074,2950,2995,3169,3066,3091,3488,3244,2697,2996,3421,3356,3073,2828,2788,3254,3582,3171,2853,2879,2853,2776,2940,2640,1447,1238,1620,2214,2713,3065,3322,3308,3431,3835,3859,3826,4040,4383,4485,4056,3226,1865,1033,1589,2322,2699,2806,3249,3611,3499,3197,3052,3153,3740,3942,4166,3555,3500,3403,3584,3448,3337,3374,3583,3420,2935,2807,3031,2481,2188,2864,3336,3474,3827,4049,3506,3240,3540,3348,3084,3174,3153,2924,2428,2295,2117,2107,2073,2008,1896,1843,1866,1983,2148,2413,2606,2998,3250,3274,3313,3243,3488,3794,3919,3825,3685,3791,3782,3762,4364,4050,3646,3586,3097,3155,2397,2124,2799,2480,2439,2419,2002,2026,2002,1988,1832,1836,1947,1937,1643,1527,1500,1539,1633,1772,2136,2385,2106,1788,1586,1660,2398,2471,2544,2155,1757,1953,2374,2100,1622,1904,2134,1962,1860,2062,1782,1781,1707,1716,1591,1560,1595,1751,1836,1794,2185,2432,2579,2180,2046,1987,1786,1837,1622,1703,1694,1510,1545,1560,1987,2209,1967,2203,2060,2026,1891,1651,1544,1704,1720,1745,1709,1535,1612,1805,1976,2471,1845,2030,2870,3056,2924,2634,2976,3363,2621,1890,2054,2446,2987,3521,3611,3256,2199,1770,1727,1653,1904,2111,1955,1999,2149,2213,2352,2388,2647,1707,1348,1258,1139,1535,2125,2002,2186,2193,1815,2079,2354,2171,2221,1790,1721,2101,1983,1986,2047,1847,1692,1772,1754,1770,1847,1767,1705,1801,1654,1759,1700,1436,1654,1850,1701,1512,1749,2236,2396,3068,2843,2376,2677,2620,2060,1797,1855,2110,2260,2077,2003,2219,2360,1958,1852,1742,2657,3244,2653,1887,1682,1785,1963,1802,1509,1540,1667,1730,2291,2058,1628,1594,2184,2243,2420,2216,1610,1620,1782,1521,1881,1770,1332,1047,1290,1340,1582,1719,2002,1772,1632,1786,1520,1766,2078,1944,1671,1637,1838,1911,2035,2399,2285,2007,1754,1579,1743,1917,1759,1862,2664,3759,3714,3465,3551,3582,3491,2411,1604,1501,1859,2593,2396,3369,3720,3843,3804,3526,3570,3879,3933,3897,3688,3596,3619,3487,3288,3261,3356,3367,3406,3650,3603,3330,3012,3111,3206,2972,3226,3758,3870,3847,3703,3767,3430,3020,2176,2437,2847,2867,2878,3161,3275,3340,3172,2557,2334,2587,2843,3134,3009,2792,2789,2813,2767,2714,2933,3200,3609,3355,3519,3274,3063,3391,3730,4034,4029,3708,3534,3629,3681,3494,3392,3425,3528,3467,3352,3064,2969,2929,3463,3896,3861,3704,3785,4059,4392,4212,3459,3625,3551,3443,2866,2128,2212,2520,2900,2917,2484,2895,3777,3847,3108,1869,1531,1583,1408,1456,1554,1559,1839,1826,1515,1475,1474,1380,1437,1468,1599,2335,2447,1681,1551,1687,2171,2320,2634,3264,2706,2739,3330,3559,3422,3502,3725,3814,3851,3298,2991,2922,3111,3376,3486,3732,4158,3445,3350,3736,3681,3317,3505,3681,3616,3563,2790,1936,2020,2018,2082,2338,2942,2925,2496,1857,1770,1816,1700,2325,3110,2922,2280,1781,1772,2534,2910,2461,2687,3178,2858,2500,2622,3234,3149,2478,2069,2373,2843,3177,2894,4013,3895,3484,3726,3462,3418,3159,3030,3396,3250,2430,2502,3062,2841,2525,2531,3205,3927,3129,3277,3061,2067,1922,2258,2864,3143,3316,3294,3271,2019,1784,1991,1723,1830,2146,2568,2209,1884,1959,1984,1721,1386,1753,1848,2224,2408,2302,2225,2059,2604,3197,3292,3441,3552,3265,2752,2574,2566,2822,2729,2586,2957,3108,3137,3142,2740,2037,2013,2415,2692,3160,3665,4141,2701,2053,2022,2018,1924,2056,2126,2212,2238,2225,2503,2632,1912,2336,2282,2208,1811,1532,2642,3007,2522,2691,2019,1529,1727,2418,2116,2283,2314,2464,3012,3206,2610,2160,2642,3325,3044,2020,2005,1823,1322,1573,1817,1748,2532,3281,3221,2945,2844,2808,2084,1682,1678,2244,2441,2423,2919,3293,2928,2888,3276,3785,3234,1925,1925,2352,2491,2624,2368,2976,2471,2476,3414,3606,3598,3697,2989,2602,2689,1763,1898,2126,1930,2218,2032,1892,2306,2429,2172,1982,2057,1784,2056,2665,2788,3074,3815,3697,3041,3090,3438,2872,2102,2639,3011,2574,2708,2646,2698,2918,1976,2355,2350,2330,2508,3141,3312,2811,2626,2984,3044,3145,3458,2692,2178,1844,1782,2320,2344,2290,2461,2111,1931,2266,2109,2594,2622,3388,3017,2852,3130,2685,2461,2137,2309,2812,3263,3539,3716,4300,4082,3916,3727,3792,3732,3730,3724,3747,3702,3621,3174,2646,2499,2690,2986,2952,3139,2812,2626,2812,3050,2791,2464,2577,2742,2855,2886,2827,2836,2926,3121,2916,2452,2807,3035,3065,3022,3083,3067,2187,1865,2316,2322,2281,2458,2254,2828,2817,2625,2393,3010,3216,2819,2978,3243,3065,3045,3057,3204,3474,3350,3437,3256,2915,2912,3086,3027,2524,2280,2275,2261,2679,2065,1994,1992,2244,2984,3044,2731,2513,2324,2047,2348,3104,3312,2667,2322,1981,2214,2929,2934,2606,2499,2465,2198,1881,2008,1836,1662,1938,1895,1569,1476,2373,2433,2865,2512,2421,2282,2385,2735,2806,2436,2023,1922],[3166,3221,3054,2711,3052,3218,3326,3330,3257,3206,3719,3875,3661,3795,4095,4183,4353,4516,4640,4736,4451,4378,4620,4309,2710,2253,1748,1765,1996,2242,2531,2457,2394,2677,3206,3510,2944,3230,3689,3417,3373,3217,3234,2922,3023,3313,3423,2931,2753,3315,2938,2623,2244,2057,2466,2604,2468,2402,2576,2476,2388,1959,2035,2394,2532,2546,2791,2836,2489,2482,1824,1819,1957,1801,1576,1405,1621,2268,3034,3312,3328,3799,3414,3573,3203,3321,3758,3755,3371,2686,2187,1895,1818,2118,1677,1652,1714,2255,2723,2723,2157,1795,2143,2370,1800,1968,2083,1673,1609,1722,1944,1923,2257,2266,1997,2756,3328,3658,3849,3805,4024,3958,3208,3112,3128,2937,3142,3326,2644,2080,2191,2468,2442,2845,3349,3137,3157,2295,1947,1942,1931,2487,2659,2935,2817,2726,3107,3597,3851,3645,2952,2582,2477,2399,2326,1990,1996,2171,1772,1651,2019,2597,2829,3112,3528,3025,2754,2681,2888,2803,2486,2029,1899,1706,2556,3471,3350,3263,2968,2518,2252,2922,2332,2946,3664,2844,2269,2503,2499,1722,1285,1829,2481,2376,2799,2778,2356,2887,2852,2181,2282,2217,2703,3100,3466,3718,3116,2162,2079,1937,1822,2665,3362,3636,3680,3144,2670,2531,2842,2889,2988,3215,3098,2868,2630,2260,2020,2018,2753,2454,1904,2053,2276,2270,2358,2230,2056,2353,2130,2503,2261,2151,3120,3000,2995,3659,4004,3353,2878,3305,3702,3436,3032,2850,3039,2678,2338,2302,2621,3085,2934,2243,2468,3053,2742,2088,2141,2075,1791,1501,1643,1843,1976,2134,2059,2320,2340,2307,2343,1982,2063,1963,1910,1595,2112,2662,2392,2241,1913,1738,1810,1874,1956,1691,2038,1908,1969,2387,2592,2483,2220,2507,2669,2418,2153,1772,2153,2029,1547,1623,1485,1551,1477,1497,1421,1588,1792,1792,1550,1657,1738,1455,1477,1691,2104,2491,2995,2095,1525,1481,1772,2391,2833,2898,2570,1915,1612,1542,1412,1488,1633,1993,1731,1735,2133,2201,2301,2257,2299,2156,2334,2623,2326,2371,1955,2101,2300,1842,1818,1664,1423,1470,1683,2512,2356,1255,1347,1448,1513,1715,1596,1504,1569,1526,1465,1495,1809,2263,1909,1650,1549,1664,1672,1490,1524,1504,1701,2116,2509,2441,1759,1778,1596,1503,1605,2082,1737,1564,1880,2054,2022,1754,1657,1601,1465,1352,1318,1480,1670,1388,1055,1042,906,900,1104,1361,1503,1318,1347,1514,1367,1374,1188,1272,1426,1574,1728,2108,1762,1691,1826,1901,2060,2109,1902,1728,1741,1690,1616,1423,1376,1531,1494,1409,1665,2267,2325,1766,1513,1525,1637,1701,1632,1497,1880,1698,1506,1760,1731,1878,2424,2306,2646,3603,2931,2223,2091,1864,1730,1642,1674,1763,1731,1536,1797,2379,2384,1931,1506,1467,1752,1853,1478,1387,1509,1983,2458,2468,2410,2294,1816,1752,1676,1713,1964,1876,2050,2241,2944,3047,2840,2965,3239,3533,3421,3292,3453,3443,3151,2243,1912,1913,1879,1825,2750,3231,2958,2663,1989,2141,3283,3653,2648,2160,2198,2008,1970,2242,2649,2939,2449,1635,1770,1938,1933,1597,2044,2669,2665,2734,3392,2626,1792,1784,1887,1729,2078,2216,2128,1866,1624,2261,2453,1903,1716,2014,2115,1815,1701,1749,1849,2831,2910,2744,1960,2608,3414,2614,2086,2709,3166,2979,2532,2051,1738,1742,1915,1695,1542,1575,1807,1862,2098,2203,1723,1802,1977,1751,1710,2032,2260,2091,2356,2175,1529,1400,1626,1827,1686,1990,2354,2637,2745,2485,2039,1919,1781,1745,1826,2255,2193,2008,1751,1643,1816,1898,1785,1721,1725,1514,1612,1757,1484,1533,1582,1876,2613,2181,1554,1416,1640,1999,1535,1511,2105,1824,1506,2085,1988,1608,1613,1662,1550,1670,2153,2424,2326,2104,1729,1756,2125,2158,2445,2257,1865,1761,1954,1945,1805,1663,1572,1774,1950,2853,2619,1871,1667,1776,2627,2647,2062,1718,1597,1643,1621,1995,1901,1643,1966,2040,2169,2118,1844,1814,1745,1826,1606,1525,2243,2288,2171,1731,1428,1558,2058,1656,1435,1427,1541,1699,1664,1487,1538,2043,2328,2386,2888,2909,2293,2646,3112,2866,2685,2814,2858,2279,1897,1614,1724,1757,1873,2122,1886,1724,2114,2559,2422,2108,2232,2215,1772,2473,2351,1367,1556,1792,1931,1973,2046,2042,1755,1627,1637,1588,2059,2492,1945,1891,1722,1634,1665,1863,1473,1039,1090,1289,1477,1562,1590,1621,1549,1918,2367,1995,1729,2027,2495,3041,3250,3128,3073,3139,3054,3183,3366,2492,2143,2494,3200,3356,3117,2699,2078,1917,2241,2393,2562,2678,3002,2957,2799,2691,2928,3242,2868,2590,2641,2657,2622,2610,2945,3406,3428,3849,3886,3625,3666,3092,2575,2214,2186,2176,2692,3571,3802,3784,3778,3393,3437,3725,4050,3982,3838,4058,4232,3969,3915,3606,3298,3583,4057,3740,3194,2885,2812,3015,2995,2923,2964,2995,3072,3190,3230,3343,2863,2751,3077,3576,3862,3431,2765,2965,3203,3075,2872,2777,2761,2742,2943,3172,2510,1347,2151,2954,3454,3508,3426,3465,3354,3419,3774,3747,3692,3794,4011,4131,4060,2655,1277,1697,2965,3310,3331,3237,3209,3499,3471,3251,3196,3327,3927,3673,3470,3598,3748,3525,3620,3494,3317,3506,3221,2995,2916,2971,2965,2661,2790,3320,3349,3341,3702,3763,3450,3338,3177,2796,2574,2398,2204,1946,1869,1885,1860,1865,1968,2063,2095,2176,2434,2714,3029,3232,3494,3929,3620,3096,2863,2852,3306,3726,3624,3532,3439,3537,4112,4365,4308,3706,3615,3191,2585,2371,2118,2164,2186,2094,2049,1974,2272,2316,1939,1622,1500,1585,2096,2124,1952,1804,1653,1560,1638,1912,2577,2652,2135,1757,1559,1760,2021,2410,2293,1859,2010,2255,2238,2350,2142,1885,2205,1855,1744,2094,1652,1617,1711,1655,1557,1586,1574,1614,1757,1739,2070,2399,2894,3034,2589,2512,2649,2558,2030,1959,2039,1813,1577,1646,2309,2363,2096,1945,1757,1607,1816,2000,1881,1888,1643,1579,1743,1620,1808,2183,2168,1901,1369,2259,3330,3316,2929,2646,2946,3369,2835,2033,2365,2501,2876,3388,3544,2929,2078,1686,1592,1571,1772,1930,2004,2046,1979,1787,1947,2105,2079,1721,1353,1348,1509,2095,2305,1822,2476,2964,1936,2232,3085,2680,2634,1890,1858,2406,2241,1906,1972,2082,2452,2502,1796,1680,1827,1673,1686,1791,1647,1820,1777,1503,1798,2110,2000,1870,2039,2419,2243,2345,2624,2096,2191,2629,2699,2304,2173,2041,1766,1585,1880,2108,2110,1675,1853,1699,2609,2763,2142,1580,1563,1868,1671,1618,1502,1331,1678,1907,2513,2334,1905,1800,2036,2185,2457,2330,1925,1991,1860,1652,1899,1758,1214,1343,1904,1764,1562,1610,1629,1520,1735,2369,2532,2066,1879,1796,1691,2193,2210,2019,2547,2707,2290,2036,1678,1458,1562,1696,1725,1800,2703,3028,2758,2876,2918,2908,2823,2223,1987,2123,1882,2653,2921,3464,3444,3359,3605,3703,3829,3961,4047,4023,3880,3651,3465,3418,3249,3207,3249,3251,3073,3298,3622,3470,3273,3498,3607,3251,3570,4082,4082,4144,4144,4444,3785,2453,1903,2025,2462,2854,2744,2416,2477,3004,2929,2355,2476,2578,2764,2986,2750,2646,2593,2525,2763,3035,2943,2813,3421,3349,3508,3373,3529,3718,3815,4012,4252,4332,4116,3849,3881,4029,3842,3371,3262,3221,3277,3188,3146,3453,3876,4040,3988,3824,3485,3420,3936,3530,2910,3435,3797,3618,2987,2468,2758,3052,3154,3207,3108,3299,3641,3516,3024,2176,1590,1492,1533,1461,1429,1430,1693,2085,1810,1565,1616,1578,1376,1342,1469,2009,2360,1945,1727,1814,2031,2072,2199,3039,2812,2817,3219,3277,3297,3246,3513,3848,3605,3188,2928,3017,3586,3540,3319,2645,3311,2930,2852,3265,3384,2906,2759,3256,3462,3510,3116,2654,2524,2442,2340,1835,1655,2296,2021,1847,1892,1648,1770,2476,2993,2679,2288,1868,1937,2267,2544,3063,3631,3686,3235,2717,3031,3463,3322,2528,2029,2426,2980,3084,3387,3904,3527,3321,3281,3426,3741,3771,3733,3640,3363,2751,3125,3553,3140,2557,2832,3448,3686,3267,3113,2899,1971,2156,2490,2248,2648,3162,3199,3165,2258,1982,2085,1815,1786,1854,1672,1468,1769,1681,1876,1576,1476,1634,1854,2785,2903,2460,2066,2134,2829,3262,3201,3356,3518,3378,3100,2967,2984,2574,1843,2105,2643,3107,3222,2732,2491,2272,1974,2056,2814,3341,3528,3547,3251,2413,1989,2319,2438,2219,1520,1711,2150,2084,1949,1998,1985,2179,1946,1594,1096,1248,2452,2915,2817,2634,2230,1650,1815,2310,2316,2251,2090,2395,2575,2456,2216,2142,2868,3442,2118,1569,2658,2678,1803,1767,1925,1993,2507,3332,3487,3078,2853,2708,1270,1337,2183,2575,2078,1840,2554,3328,3278,2654,2595,3234,2899,2165,1952,2235,2485,3131,3273,3260,2644,2568,3007,2978,3436,3229,2475,2427,2339,1928,1985,1645,1719,1921,1684,2024,2162,1978,2253,2048,2046,1264,1221,2518,3166,3294,3248,3082,2245,2009,2481,2196,2118,2842,3398,3386,3374,2720,3086,2703,1926,2143,2199,2354,3022,3740,3775,3911,4026,3415,3073,3181,3562,2834,1952,1682,1797,1886,1946,2010,2311,2398,2356,2561,1977,2168,2728,3596,3087,2887,3177,2499,1816,1875,2405,2990,3586,3594,3579,3838,3726,3737,3921,3959,3786,3731,3716,3665,3571,3441,3354,3121,2967,2929,2962,2767,3241,3117,2854,2923,2991,2752,2630,2739,2929,3040,2890,2670,2540,2600,2706,2829,3410,3564,2876,2930,3367,3143,2658,2152,2317,2562,2554,2536,2597,2122,2401,2174,2061,2942,3334,2840,2201,2415,3375,3090,3050,3184,3502,3709,3634,3356,3095,2848,2900,3040,3144,2867,2699,2394,2065,2065,1870,2055,1858,1802,1861,2288,2652,2490,2512,2404,2260,2852,2823,2714,2687,2674,2637,2459,2589,2575,2514,2477,2274,2025,2158,1941,1952,2520,2541,1894,1946,2466,2704,3168,2990,2242,2202,2081,2142,2552,2161,2474,2310],[2901,3723,3582,2818,2699,3209,3166,2777,3078,3448,3952,3871,3691,3840,4027,4042,4084,4432,4704,4595,4439,4516,4383,4200,2984,2041,1591,1689,1798,1663,1711,1986,2432,2688,2806,2962,2685,3406,3706,3087,2605,2350,2400,2567,2736,2849,3276,2802,2766,2568,2534,2504,2430,2102,2110,2514,2490,2546,2590,2252,2209,1937,2410,2604,2532,2421,2802,2822,2233,2040,1788,1681,1761,1682,1431,1373,1682,2331,3232,3436,3405,3560,3652,3486,2929,3485,4068,3750,3018,2368,2297,1803,1733,1726,1678,1407,1550,2008,2141,2316,2531,2270,2391,2741,1925,1716,1796,1531,1577,1844,1827,1627,2214,2200,2017,2479,3147,3480,3550,3260,3935,3413,3285,2678,2564,2242,2752,2993,2459,2153,2059,2279,2403,2906,3303,2369,2181,1868,1860,2293,2474,2296,2551,2990,3116,2975,2931,3425,4037,3543,3255,2660,2874,2644,2634,2425,2412,2294,1904,2035,2553,2592,2563,2808,3341,3174,3262,2769,2736,2428,2118,1804,1606,1619,2800,3431,3023,3392,2974,2495,2143,2097,2122,3052,3630,2880,2301,2267,2311,1985,1853,2602,3526,3389,3265,3184,2520,2717,2644,2360,2771,3071,3376,3526,3276,3134,2900,2265,2199,2098,2181,2481,2840,3493,3641,3295,2750,2862,3032,3041,3251,3493,3286,3053,2221,1633,1896,2434,2544,1722,1336,2018,2258,1932,2308,2453,2503,3037,2700,2513,2574,3227,3444,2773,2316,2524,2607,2005,2198,3002,3575,3500,3309,3397,3576,3250,2677,2483,2518,2685,2931,2985,3145,2847,2396,1799,1791,1815,1641,1659,1830,2042,2209,2279,2880,3091,2486,2041,1884,1745,1980,2305,1942,1835,2963,3072,2474,2123,1678,1764,1734,1815,1893,1619,2027,2054,1846,2243,2907,2811,2470,2452,2360,2430,1956,1651,1851,1827,1837,2385,2224,1801,1514,1434,1294,1241,1624,1964,1724,1677,1997,1617,1432,1622,1782,2254,2232,1569,1563,1750,1999,2720,3394,3383,2890,2157,2008,1758,1614,1794,2204,2141,1504,1433,1685,2057,2200,2040,1996,1574,1702,1817,1947,2292,2413,2745,2745,2313,2049,2003,1695,1485,1606,1587,1512,1306,1312,1461,1627,1694,1774,1687,1628,1827,1904,1957,2376,3031,2327,1851,1643,1484,1464,1513,1512,1456,1540,2012,2656,2436,1581,1592,1506,1449,1486,1616,1498,1315,1362,1850,2061,1807,1644,1594,1530,1532,1610,1684,1480,1264,1066,1083,1104,1359,1523,1519,1456,1210,1435,1588,1340,1647,1282,1329,1592,1888,2241,2121,1572,1502,1577,1624,1828,2026,1901,2051,2001,1826,1559,1395,1394,1498,1455,1495,1671,1779,1714,1693,2043,1925,2086,1899,1674,1505,1786,1954,1947,1700,1760,2216,2646,2396,2139,2921,2404,2429,2558,2151,1584,1483,1830,2221,2198,1917,2008,1918,1722,1475,1638,1632,1780,1766,1570,1476,1548,1806,2136,2138,2219,1836,1588,1892,1952,1565,1479,2076,2723,2984,3593,3507,3320,3360,3415,3585,3466,3198,3132,2735,2330,1985,1804,1848,1704,1662,2166,2436,2595,2966,2140,1764,2268,3196,2958,2873,3187,2556,1822,2527,3174,3016,2077,1675,1590,1946,2165,2203,3120,3387,3366,3673,3164,2096,1586,2007,2481,1880,2106,2129,2044,1741,1748,2188,2487,2279,2224,2696,2547,1873,1776,1865,1877,3008,2861,2916,2724,2655,2851,2295,1801,2391,2930,2408,1749,1533,1846,1843,1804,1646,1531,1693,2026,2053,1945,1775,1612,1710,1767,1629,1716,1860,1875,2113,2158,2032,1606,1589,1801,1659,1657,2112,2728,2676,2327,2646,2276,2010,2084,2181,2371,2280,2208,1933,1695,1650,1608,1715,1489,1503,1744,1787,2049,2138,1802,1483,1760,2580,2665,1948,1542,1694,1820,1652,1253,1415,1864,1767,1512,1593,1648,1609,1726,1766,1760,1646,1691,2091,2463,2518,2201,1858,1782,2144,2188,1896,1758,1742,1794,1672,1834,2151,2087,2078,1958,2465,2374,1925,1880,2141,2442,2737,2483,1789,1735,1777,1525,1536,1538,1901,2063,2397,2923,2343,1484,1696,2016,1953,1636,1363,1847,2110,1991,1583,1434,1628,2028,1851,1520,1505,1492,1462,1716,1578,1607,2191,1641,1533,1964,2385,2492,2900,2930,2582,2777,3121,2778,2105,2320,2448,2236,1955,2167,2320,2047,1946,1939,1976,2120,2125,2314,2236,1678,2112,2244,1835,1714,1658,1647,1714,1584,1366,1542,1760,1945,1608,1759,1973,1744,1620,1517,1615,1892,2165,1952,1432,1496,1597,1722,1679,1656,1928,1719,1757,1996,1957,1953,1926,2272,2624,2413,2372,2418,2718,2814,3028,2887,2341,2494,2879,3294,3381,3184,2917,2498,2510,2784,3046,3204,3033,2881,2675,2753,2820,2788,3242,3138,2568,2752,2972,2887,3032,3292,3495,3576,3936,3820,3702,3716,3205,2599,2322,2173,1997,2236,2639,3559,3609,3351,3207,3482,3854,4004,3891,3847,4003,3936,3742,4059,3435,3043,3088,3688,4031,3708,3251,3226,3329,3169,3005,3041,3000,2941,3218,3096,3195,2934,2965,3076,3530,3546,3139,3008,3154,3416,3540,3166,3034,3021,3001,3198,3340,3100,2854,3441,3597,3474,3295,3362,3671,3837,3583,3792,3611,3275,3377,3792,3770,2842,1443,1488,2877,3586,3383,3146,3095,3074,3439,3452,3305,3330,3842,3680,3210,3460,4058,4115,3696,3575,3527,3659,3411,3168,3077,3235,3652,3460,3196,3240,3445,3540,3481,3282,2985,2612,2375,2210,2143,1986,1902,1882,1864,1854,1963,2085,2241,2539,2756,2953,3292,3480,3168,3240,3152,3198,3271,3144,2938,2757,2923,3418,3401,3196,3050,3044,3203,3920,4377,3948,3163,2954,2371,1968,1878,2192,2381,1874,1609,1712,2203,2824,2798,2034,1653,1510,1406,1570,2010,2032,1588,1570,1603,1670,1730,1902,1943,2500,2408,2010,2276,2232,1864,1694,1545,1609,1927,1939,2083,1756,1663,2298,1968,1887,2055,1780,1785,1781,1514,1452,1451,1456,1562,1468,1689,2041,2512,3123,3094,2690,2702,2920,2714,2246,2283,2376,1931,1452,1658,2211,2087,2002,1899,1969,1967,2219,2011,1697,1726,1600,1718,2598,1907,1942,2450,2460,2291,2204,3012,3779,3450,3109,3298,3166,3405,3188,3050,3104,2511,2257,2773,2610,2350,2139,1638,1719,1614,1759,1795,1870,1852,1656,1713,1876,1769,1819,1866,1836,1938,1926,1837,1869,1802,2425,2998,1810,1521,2745,3165,2688,1954,2151,2531,1944,1784,2403,2203,2691,2610,1800,1837,1549,1570,2099,1863,1621,1942,1766,1490,1728,2006,2173,1881,1803,1863,2055,2200,2303,1900,1855,2631,2945,2315,2287,1793,1568,1638,1852,2037,2264,2291,2304,1953,1980,1897,1810,1728,1643,1555,1409,1532,1552,1454,1786,1951,2140,2574,2486,2230,2000,1967,2391,2111,1745,1874,2035,1691,1727,1858,1696,2054,2208,1735,1607,1710,1660,2056,2429,2923,3208,2355,2085,1863,1884,2371,2216,2254,2579,2376,1994,1738,1532,1530,1616,2005,2614,2299,2721,2852,2613,3040,2898,2788,3108,2723,2479,2796,2133,2957,3262,3137,2727,2669,3101,3404,3846,4019,4078,3885,3692,3431,3311,3205,3216,3051,3238,3022,2502,2977,3606,3569,3739,3934,3991,3485,3482,3650,3297,3574,4308,4416,3387,2333,1888,1757,2212,2868,2997,1869,2196,2599,2474,2254,2424,2509,2620,2748,2709,2710,2641,2734,2800,3145,2964,2584,3199,3486,3444,3424,3369,3295,3334,3565,3763,3726,3386,3380,4033,4100,3824,3359,3150,3095,3130,3262,3466,3518,3542,3852,4003,4028,3860,3848,3741,3163,3087,3395,3614,3518,3217,3261,3407,2954,2583,3083,3486,3215,3498,3562,3038,2607,2245,1703,1462,1404,1498,1426,1551,1841,1664,1547,1666,1577,1340,1340,1699,2237,2183,1885,1772,1713,1778,1926,2007,2437,2411,2454,2909,2785,2923,3183,3492,3777,3602,3740,3594,2841,2513,2264,2519,2169,2596,2877,2956,3286,3562,3391,3428,3627,3160,2587,2340,2475,2445,2654,2426,1536,1604,2008,1820,1923,1667,1602,2082,2574,2555,1804,1419,1403,1836,2060,2278,3315,4168,4180,3691,3105,3482,3338,3050,2168,2015,2362,3339,3212,3574,3927,3510,3291,3227,3646,3870,3953,3702,3806,4112,3616,3195,3297,3284,2910,3143,3552,4026,3528,2833,2757,2242,2577,2132,1742,1830,1890,2241,2486,1888,1737,1910,1760,1742,1901,1697,1542,1797,1771,1870,1766,1821,1634,1626,1909,2155,2452,2087,2262,2889,3329,3301,3382,3500,3384,3207,2768,2851,2740,2149,2047,2056,2453,2185,2483,2587,2340,2048,1938,2721,3265,3310,3487,3325,2700,2263,2324,2619,2033,1452,1610,2252,2411,2138,2039,2018,2191,2314,2155,1924,2022,2907,2988,3218,3234,2807,2265,2148,2230,2476,2320,2293,2671,2630,2236,1980,1744,2231,2470,1550,1571,3180,3479,2667,1810,1659,1929,2376,3284,3270,2797,2797,2226,1106,954,2191,2552,1957,1784,2160,2732,2788,1960,1920,2203,2406,2400,2278,2232,2460,3088,3234,3191,2950,2702,2269,2380,2565,2567,2191,2272,2592,2357,2102,1791,1829,1916,1781,1782,1759,1985,2778,2393,1899,1305,1956,3091,3608,3522,3189,2314,1475,1729,2248,2281,2156,2840,3012,3441,3110,2741,2910,2443,1698,1155,1252,1775,2534,3110,3398,3608,3076,2669,3378,3274,3897,3689,2220,1669,1803,1729,1888,2040,2100,2109,2508,2777,2169,1848,2398,3318,3473,3804,3646,2544,1974,1875,1919,2331,3370,3470,3698,3764,3620,3574,3714,3769,3850,3870,3834,3872,4020,3827,3592,3032,2708,3196,3309,3107,3384,3306,2884,2798,2868,2830,2864,2776,2711,2745,2492,2494,2508,2648,2604,2539,3084,2978,2225,2989,3618,2928,2340,2644,2709,2241,2243,2620,2332,2127,2480,2159,2570,3743,3532,2381,2114,2618,3016,2717,2705,2987,3442,3696,3112,2790,3029,2888,2713,2391,2932,2927,2469,2035,2140,2370,2316,2454,2301,2154,2189,2176,2227,2535,2812,2791,2179,2364,2802,2497,2524,2623,2574,2752,2389,2394,2423,2403,2386,2395,2358,2081,2179,2805,3273,2975,2739,2754,2688,2973,2898,2087,2846,2415,2288,3044,3249,3487,3189],[3214,3654,3642,3127,2954,3520,3431,2818,2932,3464,3790,3846,3852,4000,4057,3864,3946,4372,4440,4428,4373,4523,4572,3881,3123,2730,2154,1502,1335,1417,1404,1293,1802,2072,2065,2481,3216,3343,3131,2886,2612,2541,2614,3033,3094,3263,3533,3285,2791,2260,2718,3111,2947,2487,2120,2360,2599,2596,2445,1909,1529,1783,2336,2445,2514,2470,2766,2514,2057,2078,1947,1651,1703,1845,1231,1546,1927,2587,3282,3371,3435,3438,3371,3045,3200,3488,3066,2820,2722,2591,2469,1622,1535,1386,1628,1639,1881,2046,1842,2457,3012,3054,2693,2562,2152,1842,1710,1511,1904,1982,1980,1954,1830,2338,2879,2780,2976,2966,3122,2697,3500,3427,3277,2405,1932,1632,2280,2720,2540,2221,1827,2061,2118,2375,2680,2791,1895,1446,1848,2676,3063,2842,3018,3090,3086,3140,3152,3621,3716,3027,2598,2481,2975,2565,2697,2812,2557,2138,1889,2186,2754,2441,2530,2463,2492,2572,2901,3103,2731,2247,1753,1731,1905,2102,2697,2636,2681,2619,2633,2552,2625,2199,1858,2543,2691,2479,2545,2418,2055,1841,2311,2677,3626,3418,3304,3023,2254,2465,2573,2688,3044,3196,3123,2850,3262,3116,2509,2351,2260,2156,2370,2374,2791,3172,3097,3098,2739,2682,2888,3286,3381,3186,2197,1934,1767,1754,2083,1938,1549,1437,1904,2300,2060,1947,2307,2878,3257,3319,2709,2354,3015,3496,2814,1958,1888,1912,2311,2536,2323,2257,2973,3086,3317,3487,3463,3495,3234,2813,2786,2613,2663,3497,3650,2972,2218,1807,1655,1430,1362,1678,2059,2558,2759,2231,2322,2288,2125,1718,1666,1501,1533,1774,1601,1931,2568,2611,2486,1890,1583,1709,1695,1931,2162,1773,1858,2001,1823,2252,3099,3205,2734,2408,2133,2062,1698,1874,1754,1732,2223,2758,2329,1723,1496,1515,1415,1309,1713,2129,1715,1676,2131,1723,1691,1749,1660,1766,1563,1525,1764,1805,1618,1951,2296,2358,2181,2225,2166,1877,1656,1968,2266,2273,1804,1684,1606,1695,1656,1852,1581,1372,1563,1714,1771,1966,2205,2289,2620,2696,1838,1922,1871,1648,2070,1675,1412,1457,1573,1888,2231,2554,2298,2071,2402,2846,2989,2868,3039,3143,2643,1784,1646,1832,1703,1499,1507,1634,1587,1719,2018,1682,1595,1638,1521,1489,1608,1605,1577,1505,1579,1681,1811,1701,1703,1574,1857,1627,1637,1381,1211,1195,1213,1321,1498,1782,1769,1636,1461,1466,1494,1507,1846,1721,1447,1528,1781,1913,2146,2723,2421,1619,1461,1290,1393,1587,1666,1880,1965,1838,1702,1592,1480,1512,1491,1356,1045,1484,1701,1846,1766,1839,2086,1786,1524,1849,2048,2047,2077,1732,2312,2688,2615,2677,2607,2953,2609,2414,2476,2353,2088,2174,2311,2280,2375,2260,2205,1809,1529,1616,1945,1887,1734,1827,1971,1925,2004,1727,1640,1698,1789,1613,1787,1920,1953,1808,1780,2388,2398,2668,3232,3186,3488,3522,3365,3240,3172,3065,3066,2525,1947,1914,2069,1886,1835,1902,2128,2128,2752,3339,2714,2077,2149,2521,2819,3378,3383,2274,2104,2998,3379,2931,1899,1666,1550,1891,2269,3121,3792,3331,3131,3143,2730,1974,1814,2095,2020,1752,2055,1820,1549,1474,1841,1795,1902,2113,2221,2719,2454,1724,1833,1613,1663,2312,3182,3117,2632,2241,2275,1854,1381,1664,1911,1823,1705,1748,1972,1801,1952,1663,1778,2041,2068,2209,2099,1699,1760,1746,1525,1581,1729,1732,2030,2045,1721,1680,1731,1759,1769,1851,2105,1954,2452,2548,2446,2730,2340,2259,2680,2741,2268,2017,2197,2064,1767,1637,1627,1613,1352,1352,1489,1656,1615,1597,1663,1508,1649,1786,1519,1409,1452,1688,2060,1554,1449,1522,1571,1754,1656,1411,1335,1488,1871,2310,1992,1567,1758,2255,2123,2039,1841,1657,1736,2244,2186,1851,1932,2399,2392,1652,1305,1617,2198,2765,2535,2609,2710,2053,2088,2477,2060,1997,1826,2176,2219,1660,1629,1694,2047,2397,1883,1640,2260,2286,1757,1568,1535,1614,1426,1369,1898,1831,1787,1659,1358,1492,1738,1678,1801,1789,1488,1521,1715,1615,1244,1374,1420,1438,1716,1721,1736,2243,1953,1723,2032,2432,2384,2171,2492,2558,2466,2069,2011,2035,1768,1813,1888,1931,1953,1689,1946,1815,1639,1492,1990,2055,1982,1976,1869,1938,1655,1336,1615,1601,1728,1507,1581,1495,1541,1555,1454,1651,1799,1738,1906,1604,1693,1794,1911,1726,1630,1932,1599,1378,1615,2088,2221,2078,2376,2380,1763,1992,2436,2769,2966,2812,2286,2206,2851,3248,3239,3316,3241,3206,2973,2943,3040,3287,3327,3274,3138,2989,2863,2712,2774,3199,3308,2733,2915,3043,3356,3848,3746,3607,3782,3984,3662,3442,3356,3086,2646,2403,2286,1991,2174,2206,3284,3569,3298,3483,3797,3785,3598,3693,4134,3886,3714,3917,4049,3391,3017,2871,3339,3694,3663,3421,3252,3130,2812,2767,2907,3207,3401,3659,3520,3416,3239,3072,2975,3237,3206,3092,3011,2893,3109,3304,3154,3311,3163,3011,3060,3296,3548,3628,3508,3491,3314,3045,3145,3197,3359,3509,3751,3692,3436,3483,3493,2612,1434,1327,2470,3374,3270,3244,3153,3162,3355,3685,3610,3320,3407,3725,3392,3420,3854,4056,4115,3666,3373,3328,3548,3066,3120,3270,3407,3710,3608,3272,3000,2897,2842,2564,2276,2105,2061,2020,1975,1917,1903,1965,2135,2392,2460,2368,2786,2966,3209,3301,3327,3360,3326,2939,2710,2775,2841,2922,3100,3040,2908,2963,3151,2852,2842,2843,3155,3130,3479,3973,3718,3115,2491,1876,1736,1782,2040,2170,1759,1898,2216,2702,2542,1953,1764,1976,1671,1455,1788,2155,1814,1771,1983,1854,2084,1779,1858,2564,2818,2849,2863,2675,2160,1897,1715,1589,1765,2283,1876,1737,1613,1750,1749,1592,1888,2253,1841,1598,1830,1637,1476,1487,1455,1771,1855,1931,1700,2077,2513,2478,2415,2176,2274,1971,1823,2585,2365,1607,1667,2078,2223,1985,1710,1844,1931,2253,2265,2253,2171,2088,1729,1752,2296,1668,1931,2395,2225,2071,1938,2547,3609,3820,3545,3471,3253,3349,3205,3351,2920,2263,2363,2362,2131,2811,2501,1603,1612,1809,1898,1759,1710,1725,1701,1982,2052,1756,1608,1775,2250,2334,2014,1576,1715,1774,1771,1924,1741,1581,2453,2699,1916,1758,2150,2689,2679,2540,2323,2072,2332,1897,1578,1875,1875,2588,3022,2308,2038,1929,1620,1839,1796,2036,1795,1550,1642,1747,2009,2264,2386,2212,2190,2599,2838,2499,2369,1786,1567,1520,1754,1924,2041,2016,1954,1813,1755,1655,1980,1937,1559,1365,1459,1744,1623,1579,1996,2044,2456,2951,2558,2269,1883,1722,1957,1762,1588,1660,1787,1543,1881,2059,1886,1895,1545,1578,1661,1867,2614,3463,3444,3087,3084,3095,3179,2594,2082,2338,2498,2175,1997,1970,1915,1755,1569,1662,1788,1857,2490,2679,2901,3270,3286,3526,3152,3031,3327,3019,2374,2277,1975,2854,3394,3408,3307,3037,3496,3739,3628,3670,3847,3630,3438,3461,3393,3200,3121,3160,3498,3264,2700,3340,3707,3478,3586,3763,3704,3185,3094,2576,1956,2468,3137,3316,2442,1755,1579,1913,2046,2100,2438,1895,2273,2486,2220,2217,2482,2632,2719,2839,2851,2806,2689,2732,2556,2674,2666,2524,2829,3277,3634,3515,3385,3215,2819,2819,3073,3046,3300,3850,4164,4116,4028,3770,3454,3297,3312,3459,3552,3520,3647,3805,4009,4028,4081,3974,3629,3203,3006,3242,3386,3439,3243,3405,3286,3156,2989,3262,3718,3463,3503,3727,3255,3012,2880,1878,1366,1389,1420,1406,1560,1632,1572,1532,1637,1626,1534,1520,1964,2569,1972,1900,1932,1931,1900,1913,1876,2192,2611,2933,3386,3198,2536,2582,3437,3908,3930,3839,3222,2221,1597,1684,2566,2850,2968,3184,3221,3333,3606,3790,3602,3375,2836,2552,2512,2249,1959,2131,1883,1360,1677,1977,2046,2187,2032,2619,2876,2347,2130,1554,1532,1700,1738,1912,2367,2839,3066,3298,3083,2838,3312,3235,2603,1887,2116,2768,3619,3750,3704,3563,3588,3541,3501,3394,3538,3692,3664,3870,3917,3574,2907,2705,2731,2902,3123,3272,3763,3523,3139,2952,2823,3013,2530,2518,2168,1696,2228,2338,2057,1680,1576,1824,1574,1736,1719,1823,2001,1976,1842,1944,2171,1925,1506,1826,2281,2498,2671,2906,3183,3387,3312,3408,3513,3528,3316,3038,3153,2896,2417,2237,1833,2084,2157,2429,2365,2271,2613,2998,3222,3420,3623,3912,3503,3017,2194,2144,2235,1554,1728,1830,2235,2199,1865,1567,1612,2438,2663,2994,3361,3116,2832,2907,3110,3423,3156,2334,2041,2518,2598,1932,2610,3395,3364,2783,2369,2270,2119,1911,1706,2276,3173,3510,2932,1612,1488,1695,2578,3142,2873,2416,2207,2016,1292,1402,2204,2311,2082,1886,2066,2663,2710,2193,2154,2151,2172,2251,2081,1851,2286,2842,2912,3177,3310,3380,2733,2375,2189,2134,2526,2632,2806,2426,1672,1544,1641,1786,1749,1690,1871,2396,3252,2649,2099,2544,3465,3886,3753,3619,3548,2743,2088,2099,2533,2548,2487,2618,2353,1958,2041,2531,2432,2352,2025,1488,1594,1898,2104,2703,2618,2225,1960,2193,2685,2436,2852,3106,2220,1820,1918,2014,2455,2545,2114,1779,1992,2235,2408,1883,2299,3605,4002,4169,3837,2603,2012,1620,1759,2034,2966,3416,3439,3461,3270,3237,3437,3562,3540,3396,3441,3497,3965,3873,3852,2744,2528,3373,3460,3196,3221,3108,2570,2329,2513,2769,2846,2742,2251,2190,2314,2438,2573,2422,2341,2478,2892,3327,3090,3220,2595,1944,2046,2663,2768,2531,2354,2238,2017,2196,2582,2426,3080,3612,3594,2877,3156,3382,2769,2546,2639,2662,2979,3267,2855,2994,2880,3016,3006,3198,3348,3220,2977,2480,2429,2599,2691,2634,2315,2731,2875,2558,1979,1878,2458,2451,2170,2114,2468,2376,2320,2107,2278,2566,2126,2242,2198,2457,2440,2291,2388,2252,2483,2985,3356,3217,2814,2718,2307,2284,2642,2029,2142,2247,3040,3477,3608,3451,3203],[2676,3353,3431,3468,3835,3828,3642,3409,3366,3390,3582,3719,3331,3652,3852,3805,3851,4151,4240,4461,4583,4747,4840,4244,3350,3073,2557,1663,1370,1390,1390,1174,1168,1344,1562,2286,3557,3795,3370,2911,2883,2735,2752,2971,2749,2904,3309,3149,2608,2551,3110,3338,3075,2702,2254,2461,2703,2941,2931,2263,1688,1926,2498,2489,2476,2697,2766,2225,1733,1627,1855,1879,1905,1960,1454,1838,2110,2888,3380,3209,3275,3428,3163,3138,3477,3029,2436,2317,2398,2287,2394,2234,1775,1475,1607,1536,1764,1990,2126,3286,2979,2820,1980,2036,2453,2188,1650,1522,2216,2161,1730,1603,1440,2003,2331,1982,2172,3211,3624,3563,3678,3854,3090,2489,2597,2637,2967,2654,2586,2491,2019,1798,2138,2364,2541,2867,2195,1655,2049,2691,3065,3086,2934,2896,2873,2821,2856,3118,3365,3149,2691,3000,2651,1577,1811,2482,2468,1831,1752,2498,2339,2165,2564,2735,3084,3285,3530,3334,2996,2421,1961,2443,2539,2469,2176,1875,2295,2023,2320,2216,2040,2074,2169,2390,2409,2461,2270,2312,2160,2110,2510,2935,3304,3056,3154,3274,3095,2603,2600,3249,3614,3614,3707,3278,3700,2784,2065,2374,2564,2338,2097,1859,2501,3210,2731,2879,3095,3019,3030,2916,2541,2194,1506,1374,1693,2294,2412,1900,1667,1792,2264,2027,2085,1797,1977,2221,2436,2587,2548,2486,2931,3462,2418,1671,1876,2212,2746,3072,2540,1729,2007,2973,3405,2999,2965,3349,3356,3072,2766,2963,2972,3107,3077,2578,1930,1908,1902,1195,1359,1708,1866,2152,2439,2160,2353,2542,2141,1602,1524,1612,1564,1422,1420,1715,2132,2562,2523,1781,1668,1782,1720,1971,2078,1787,1675,1776,1878,2071,2331,2596,2920,2722,1986,1841,1882,2098,2329,2246,2408,2341,1735,1623,1643,1676,1552,1444,1529,1770,1515,1552,1881,1969,1968,1537,1264,1434,1628,1766,2031,1977,1556,1334,1736,2270,2591,1968,1760,1810,1656,2077,2438,2594,2205,2005,1670,1624,1577,1671,1631,1673,1699,1417,1293,1540,1642,1599,1970,2623,1857,1681,1583,1980,2048,1565,1473,1482,1555,1463,2121,3045,2980,2529,2919,2997,2746,2718,2546,2878,2907,1809,1715,2231,2032,1611,1478,1674,1775,1649,1695,1743,1986,1919,1863,2007,1852,1732,1752,1776,2029,1877,1700,1623,1750,1720,1702,1613,1914,1786,1444,1222,1233,1308,1716,1843,1664,1653,1339,1402,1464,1368,1516,1394,1346,1520,1668,1521,1860,2788,3051,1783,1395,1303,1484,1409,1513,1831,1967,1952,1810,1838,1661,1505,1043,848,1646,2829,2678,2076,1842,1785,1836,1798,1545,1750,1819,2085,1986,2322,2878,2790,2541,2779,2930,3012,2590,2022,2110,2312,2413,2192,1965,2081,1847,1799,1875,1785,1592,1861,2053,1880,1753,1828,1936,2004,1842,1449,1419,1610,1938,2552,2987,2429,2033,1904,1908,1832,1559,1979,2584,2930,3411,3410,3068,2666,2483,3020,3770,3523,2270,1965,2681,2304,1922,1844,1848,1715,2385,3209,2762,2072,2474,2399,1874,2320,2401,2113,2687,2969,2677,1925,1704,1710,1770,1837,2115,3155,3636,3175,2981,2663,2455,2075,2404,2622,2294,2364,2094,1649,1540,1792,2030,1601,1774,2219,1946,1931,1791,1633,1697,1652,1437,1626,1968,1981,1878,1770,1881,1739,1554,1595,1715,2156,2134,2332,2766,2403,1786,1628,1886,1987,2051,2185,2042,1966,1742,1637,1450,1741,1660,1989,2624,2460,1974,1874,1838,1647,1699,2024,2260,1787,1812,2114,2195,2320,2397,2530,2955,2995,2535,2278,2673,2327,1878,1509,1724,1605,1496,1534,1757,1757,1607,1598,1620,1936,2115,2061,2089,1582,1432,1411,1387,1339,1534,1543,1446,1548,1678,1619,1709,1627,1819,2412,1936,1693,1686,1925,1688,1731,2147,2237,2574,2652,2462,2213,2101,2798,2522,1570,1481,1655,2328,2921,2651,2494,2335,1924,2015,2151,1896,1545,1453,1955,2094,1652,1476,1415,1880,2336,1887,1656,2095,1982,2026,1603,1276,1536,1911,1893,1901,1727,1710,1609,1344,1407,1748,1604,1742,1770,1874,1615,1604,1748,1576,1452,1411,1516,1640,1587,1600,1826,1533,1513,2112,2153,2364,2381,1908,1717,2042,2005,1836,1815,1623,1587,1855,1991,1964,1808,1944,1744,1728,1781,1764,1631,1608,1577,1615,1893,1748,1582,1654,1503,1367,1641,1786,1663,1485,1356,1457,1362,1176,1498,1926,1789,1749,1827,1604,1192,1419,1680,1666,1744,1839,1947,2127,2220,2152,1976,1764,2249,2766,2898,2812,2316,2275,2852,3264,3264,3328,3086,2946,3020,3022,2892,2893,3171,3316,3461,3560,3354,3006,2713,2707,2971,3333,3053,3045,3447,3847,4098,4147,3935,3886,3942,3852,3602,3364,3129,2661,2397,2387,2094,2177,2055,2730,3475,3451,3570,3676,3401,3128,3086,3761,3673,3572,3625,3451,3218,3156,3310,3525,3352,3395,3265,2770,2751,2655,2812,3085,3771,3851,3816,3708,3473,3309,3172,2932,2938,3061,3272,3227,3012,3041,3171,3160,3127,3111,3098,3168,3312,3400,3328,3349,3337,3327,3431,3558,3469,3451,3387,3649,3771,3537,2851,2028,1597,1952,2661,2997,3065,3120,3180,3331,3544,3763,3782,3633,3576,3573,3464,3687,4127,4280,4156,4115,3512,3232,3344,3448,3195,2967,2851,2733,2710,2743,2541,2314,2294,2195,2062,1926,1887,1861,1892,2006,2163,2332,2643,2998,3179,3056,2469,3197,3518,3706,3651,3408,3187,3256,2975,2556,2610,2711,2874,3024,3044,2996,2867,2964,2962,2958,2976,3316,3613,4025,4240,3830,3162,2551,2156,1693,1830,1760,1761,1531,1547,2187,2379,1896,1697,2080,2066,1638,1630,1597,1692,1529,1883,2171,2219,2144,1976,1962,2211,2539,2714,2649,2292,2409,2170,1865,1598,1584,1876,1736,1750,1764,1614,1558,1571,1933,2565,2017,1673,1913,1819,1542,1603,1726,1915,1754,1533,1560,2008,2164,1989,2273,2070,2527,2376,2341,2600,2171,1557,1576,1730,2098,2247,2511,2402,1852,2333,2376,2227,1950,2075,1831,2115,2273,1703,1957,2253,1839,1527,1322,1941,3543,4161,3352,2444,2772,2464,2481,2830,2482,2472,2822,2317,2357,2980,2699,1913,1914,2116,1976,1967,1990,1879,1837,1858,1831,1595,1784,1881,2331,2148,1804,1805,1873,1692,1644,1962,2198,1925,2153,2452,2135,1781,1985,2314,2210,1664,1395,1648,1782,1421,1659,2116,2067,2465,2542,2134,2070,1976,2430,2266,1748,1664,1634,1650,1559,1616,1488,1775,2609,2699,2396,2209,2557,2894,2768,2360,1838,1786,1737,1853,1904,1663,1554,1489,1453,1448,1994,2066,1817,1652,2284,2032,1226,1350,1726,1678,2033,2185,1847,1986,1481,1449,1853,1810,1538,1515,1450,1573,2147,2100,1896,1713,1633,2250,2004,1820,2584,3072,2467,1931,2254,2828,2927,2817,2324,2280,2729,2164,2027,2063,1802,1634,1654,1587,1596,1667,1978,2249,2690,3231,3164,3263,3418,3615,3553,3298,2648,2187,2035,2496,3569,3730,3979,3705,3959,3847,3542,3505,3740,3855,3607,3711,3621,3416,3392,3483,3710,3613,3211,3552,3355,3349,3332,3406,3334,3011,3260,2758,1947,2092,2281,2177,1684,1482,1752,2015,1948,1838,1922,1929,2039,2048,2094,2387,2719,2758,2910,2892,2918,2730,2736,2623,2468,2648,2945,3120,2987,3011,3490,3407,3316,3097,3294,3326,3072,3108,3740,4196,4199,4103,4090,3920,3406,3344,3618,3649,3854,4089,4079,3828,3746,3859,4063,3418,2774,3106,3317,3370,3300,3576,3586,3697,3216,3210,3371,3276,3688,3877,3688,3520,3000,2500,2611,2214,1533,1481,1466,1399,1470,1661,1557,1542,1550,1395,1452,1652,1660,2349,2133,1813,1713,1661,1699,1775,1879,2195,2632,2928,3509,3480,3219,3174,3750,3707,3427,3173,2412,2245,1920,1828,2766,3035,2527,2690,2817,3326,3675,3373,2924,2945,2621,2767,2775,2425,2142,1936,1917,1499,1519,1387,1716,2480,2401,2656,2360,2113,2509,2021,1888,2586,2779,2470,2625,2407,2454,2754,2919,2822,2995,2706,2054,2066,2337,3007,4007,4006,3662,3601,3861,3459,3367,3210,3399,3664,3581,3784,3557,2764,2693,3157,2933,2453,2669,3343,3239,3558,3375,2648,2719,2960,2821,2932,2190,1824,2339,2471,2770,2092,2271,2114,1855,1830,1795,1963,2232,2421,2322,2287,2204,2147,1715,1953,2633,2648,2972,3327,3576,3421,3295,3470,3586,3629,3540,3362,3406,2947,2468,2119,1717,1997,2867,3086,2612,2519,2713,3218,3332,3469,3242,3360,3261,2932,2386,2354,2120,2130,2220,2130,2504,2343,2218,2173,2164,2598,2510,2945,3452,3203,2496,2359,2466,2622,2503,2070,2084,2495,2192,1891,2540,3266,2916,2371,2683,2695,2719,2748,2315,2570,3032,3316,2344,1720,2052,2175,2648,2520,2357,1884,1650,1576,1167,1296,2134,2718,3338,3038,2550,2800,2603,2308,2078,2023,2230,2215,1966,1998,2194,2557,3031,3196,3239,3012,2999,3034,2772,2501,2435,2967,3398,2742,2420,2202,1916,1962,2034,1917,2342,2495,2670,2308,1767,2295,3161,3727,3725,3606,3637,2943,2316,2019,2241,2357,3153,3255,2503,1963,2573,2612,2354,2598,2724,2381,1830,1497,1775,2091,1804,1736,1957,2681,3112,2469,2257,2732,2472,1920,1699,1540,2328,2436,2067,1814,1861,2217,2394,2064,2258,3440,3803,3812,3060,1985,2128,1880,2169,2307,2416,2467,2658,3089,3112,3015,2950,3243,3362,2757,2708,2864,3528,3794,3740,3422,3054,2490,2231,2646,2932,2790,2393,2215,2243,2315,2359,2169,1970,2331,2687,2755,2916,2823,2784,2790,2878,3162,3266,2752,2009,1808,2389,2764,2997,2756,2144,1859,1769,2136,2304,2136,2474,2766,2618,3067,3588,3301,3018,2854,2753,2569,2299,2178,2090,2489,2526,2692,2757,3292,3142,3159,3480,3226,2903,2831,2988,3042,2653,2786,3051,2927,2753,2606,3344,3304,3064,2876,2322,2316,2295,2082,2222,2286,2175,2144,2046,2099,2105,2084,2198,2320,2818,3340,3481,3247,3106,2697,2094,2182,2656,2315,1940,2135,3134,3369,3205,3230,3203],[3261,3558,3245,3646,4241,3729,3172,3425,3661,3700,3814,3551,2888,3187,3492,3595,3425,3615,3916,4292,4716,4729,4700,4157,3306,3207,2967,2005,1582,1674,1465,1230,1393,1628,1901,2639,3072,3479,3550,3081,2919,2729,2621,2828,3161,3374,3439,3073,2599,2765,3218,3207,3098,2835,2633,2623,2392,2590,2635,1857,1699,2277,2511,2127,2171,2710,2888,2062,2072,2101,2173,1963,1712,1638,1864,1925,2428,3343,3493,3340,3404,3440,3399,3542,3515,2907,2445,1828,1733,2155,2416,2536,2295,1812,1910,1898,1938,1992,2133,2485,2001,1886,1593,2036,2643,2398,1808,1497,1786,1809,1615,1400,1423,1741,1999,1814,1869,2976,3641,3730,3798,3707,3121,3017,3264,3007,2741,2441,2630,2502,2193,2532,2927,2892,2677,2728,2601,2603,2802,2995,3210,2946,2599,2069,2455,3142,2962,2934,3456,3222,2676,3012,2590,1672,1787,2127,2321,2170,2218,2431,2171,2182,2384,2971,3626,3568,2940,2857,2903,2088,2475,2698,2634,2542,1915,1858,2536,2336,2040,2193,2246,1990,2101,2092,2046,1756,1925,1997,1997,1980,2439,3002,2816,2265,2534,3198,2670,1725,1842,2395,2450,2980,2868,2777,2972,2363,1863,1876,2040,2373,2233,1892,2654,3030,2369,2927,2949,2707,2690,2254,1742,1713,1817,1885,1526,1984,2298,2354,2466,2366,2336,1819,1533,1451,1837,2301,2363,2463,3024,2961,3183,3016,2051,2124,2098,2100,2259,2641,2565,2040,2254,3488,3921,3083,2758,3018,3398,3448,2965,2867,2702,2712,2342,2100,2201,2691,2928,2226,1651,1600,1793,1838,2332,2507,2546,2296,1793,1563,1621,1649,1683,1678,1542,1455,2128,2288,2415,2384,1996,1799,1612,1725,1896,1783,1767,2056,1955,2178,1962,2001,2197,2110,2241,2190,1875,1792,2215,2540,2247,2129,1506,1491,1712,1836,1504,1333,1311,1599,1537,1758,2202,1894,1935,1413,794,1177,1779,1636,1726,1494,1616,1694,2049,2556,2705,2070,1747,1957,1778,2293,2967,2520,1989,2050,1713,1650,1739,1582,1616,1811,1868,1476,1122,1453,1486,1582,1613,1740,1653,1519,1437,1819,1777,1428,1415,1464,1606,1559,1953,2579,2967,2385,2142,1931,1800,2242,2241,2344,2411,1735,1702,1804,1784,1540,1421,1538,1796,1685,1539,1617,1949,2261,2343,2176,2020,1951,1722,1686,1699,1748,1646,1478,1161,1299,1461,1728,1889,1640,1562,1152,1176,1271,1654,1845,1793,1548,1338,1409,1411,1507,1597,1490,1385,1538,1729,1840,2150,2712,2714,1826,1432,1384,1508,1558,1490,1393,1604,1792,1920,1953,1730,1473,1116,2001,2668,3063,2570,2010,1875,1735,1757,1960,1819,1727,1621,2116,2069,2656,2589,2647,3023,3011,3075,3300,2535,2017,2042,1809,1948,1931,2013,2042,1830,1762,1858,1924,1995,2019,1875,1784,2055,2131,1754,1797,1673,1727,1579,1560,1500,2498,3542,3023,2334,2252,2156,1874,1801,1906,2728,2791,2922,2687,2138,2121,2684,3272,3872,4029,3084,2016,2423,2042,2030,2005,1826,1607,2201,3066,2712,2168,2668,2277,1781,1994,2286,2292,2763,2897,2752,2188,1598,1631,1939,2092,2504,3355,3483,2897,2749,2584,2153,1884,2372,2470,2474,2455,2070,1699,1562,1992,2172,1627,1755,2261,1758,1786,1765,1571,1524,1739,1696,1616,1709,1937,1838,1546,1677,2124,2073,2040,1825,2060,2543,3247,3729,3152,2261,2234,2456,1909,1929,1996,1929,1836,1685,1537,1733,1930,1841,2450,2757,2744,2523,2047,1852,1769,1634,1727,1819,1896,2056,2063,1600,2029,2793,3030,2952,2022,1737,2325,3008,2736,2209,1826,1733,1563,1394,1824,2206,1688,1530,1534,1604,2092,2042,2281,2686,2359,1808,1413,1179,1310,1521,1449,1412,1582,1835,2033,1858,1571,1878,1935,1829,1800,1810,1991,1872,1747,2167,2315,2813,2419,2186,2035,2133,2329,1800,1540,2048,2170,2150,2344,2291,1755,1655,1575,1696,1704,1498,1660,1576,1686,1893,1643,1528,1730,1904,1981,1869,1803,1879,2076,1973,1590,1339,1716,2304,2066,1581,1643,1810,1828,1588,1737,2134,1781,1811,1730,2057,1963,1949,1949,1584,1595,1628,1570,1533,1537,1715,1725,1840,1919,2257,2384,2806,2537,1736,1711,2088,2125,1960,2155,2291,1742,1699,1903,1969,1978,2090,1930,1772,1802,1789,1550,1462,1349,1386,1798,1833,1902,1677,1529,1460,1606,1676,1653,1527,1531,1928,1626,1303,1522,1641,1795,1688,1610,1517,1459,1528,1563,1705,2049,2113,1620,1923,2136,1807,1696,1930,2416,2808,2720,2316,2152,2655,3094,2916,2964,3182,2875,2797,2797,2964,2953,2931,3198,3386,3436,3503,3498,3265,3054,2750,2639,2631,2773,2928,3660,4029,3760,3770,4121,3764,3262,3177,3050,3307,3043,2773,2578,2478,2271,2147,2031,2419,3228,3514,3215,3142,3082,2733,2140,2609,3506,3632,3277,3228,3436,3500,3677,3621,3420,3377,3130,2647,2851,2712,2765,2961,3738,4545,4197,3498,3405,3462,3193,2793,2961,2892,3198,3272,3087,3071,3253,3150,3005,3062,3096,3272,3321,3293,3209,3086,3003,3309,3676,3760,3607,3409,3354,3516,3480,2445,1390,1807,2880,3521,3315,3049,3070,3340,3211,3364,3360,3541,3731,3557,3665,3651,3505,3981,4201,4353,4481,4014,3626,3633,3620,3372,3042,2722,2441,2175,2095,2075,2062,1961,1891,1740,1739,1739,1830,2076,2435,2652,2829,2946,3109,3376,3161,3187,2609,3392,3946,3950,3773,3687,3374,3044,2950,2744,2811,2813,2995,3219,3484,3516,3365,3236,3066,3137,3296,3437,3996,4264,3724,2862,2570,2173,2040,1582,1548,1642,1619,1387,1325,1664,1957,1959,1851,1703,1585,1572,1743,1718,1743,1698,1960,2216,1952,1851,2208,2216,1986,1965,2370,1974,1861,1896,1862,1957,1671,1445,1582,1747,1771,1788,1728,1634,1888,2029,2170,1755,1471,1782,1833,1559,1907,1993,1753,1559,1485,1575,1979,2166,2152,2474,2482,2958,2767,2667,2402,1902,1568,1595,1758,2036,2202,2634,2055,1834,2227,2509,2519,2127,1859,1645,2084,2484,2016,1859,1967,1717,1625,1543,1955,3394,4205,3233,2388,2302,1811,2002,2199,2507,2752,2890,2531,2801,2524,2533,2148,2274,2376,2415,2865,2730,2501,2260,1606,1558,1782,2243,2232,2553,2197,2151,2131,1802,1565,1611,2133,2499,2084,2208,2339,2380,1636,1844,1788,1429,1310,1354,1585,2040,2444,3109,3194,2667,2774,2797,1931,1683,2021,2349,2115,1803,1492,1528,1564,1649,1636,1210,1408,2003,2264,2298,2044,2748,2762,2728,2271,1780,1721,1920,2396,2138,1673,1554,1525,1542,1860,2267,2342,2038,1918,2072,1911,1656,1651,1595,1427,1429,1571,1361,1558,1480,1469,1623,1665,1479,1329,1535,1785,2188,1964,1953,1782,2287,2549,2013,1852,2243,2229,2045,2142,2133,2388,3018,2911,2500,2610,2515,2038,2054,1973,1600,1712,1834,1650,1521,1555,1632,1680,1979,2770,3343,3885,4070,4169,3906,3835,3240,2215,2055,2043,3187,3292,3521,3321,3288,3323,3618,3491,3553,3816,3945,4152,3889,3539,3528,3643,3802,3753,3480,3248,2978,3218,3428,3340,3118,2979,2855,2625,2257,2063,1803,1667,1350,1648,2044,2137,1980,2018,2188,2258,2037,2024,2253,2596,2691,2689,2885,2815,2896,2640,2808,2853,2566,2688,2908,3096,3178,2886,3254,3477,3260,3071,3476,3414,3270,3382,3784,4096,4133,4090,4163,3860,3309,3434,3682,3600,3761,4028,4071,3886,3667,3430,3604,3344,2622,2988,3394,3204,3050,3516,3544,3441,3163,3122,3040,3196,3908,4197,4036,3221,2313,1774,2041,2208,1665,1508,1518,1483,1609,1595,1489,1580,1484,1487,1542,1616,1435,1642,1705,2063,1820,1691,1904,1887,1866,2049,2224,2387,3125,2958,3239,2532,2818,2602,2162,1893,1574,1760,1778,1780,2591,2786,2219,2539,2879,3386,2934,2762,2864,2732,2780,3043,2508,2318,2791,2595,2563,1745,2287,1887,1580,2443,2155,1676,1512,2155,2850,2591,2168,3194,3607,2887,2871,3075,2715,2347,2645,2898,2630,2113,2024,2303,2332,2665,3570,3561,3760,4049,3672,3364,3155,2215,2586,3558,3649,3796,3272,2457,2519,2872,2728,2984,2446,2751,3235,3404,3361,2938,2745,2702,2768,2496,2419,2475,2166,1962,2327,2139,2383,2248,2375,2117,1845,1983,1853,2116,2632,3101,2451,2076,1643,2121,3074,3030,2790,3143,3498,3373,3253,3438,3663,3685,3439,3140,3370,3144,2371,1831,1702,1920,2318,2487,2612,2357,2353,2887,3506,3397,3399,3531,3432,3383,3189,3028,2536,2385,2473,2522,2470,3115,3516,3437,2486,2256,2497,2883,3550,3242,2285,2148,2208,2040,1861,1814,1958,2171,1927,2180,2955,3164,2589,2299,2383,2669,3322,3483,2487,2403,2807,2702,1989,2624,2543,2186,2351,2406,2072,1770,1860,1681,925,1190,2234,2677,3423,3497,2995,2807,2354,2121,2159,2270,2238,2487,2188,2094,2249,2608,2943,3043,2789,2124,2415,3042,3385,3150,2732,3450,3497,3091,2802,2351,2439,2748,2518,1952,2321,2514,2531,2462,2217,1931,2337,3477,3724,3432,2917,2236,2007,2443,3174,3088,3030,3203,2427,1968,2613,2484,2597,3060,3283,2858,1923,1896,2710,2654,2389,2427,2225,2473,2766,2359,2060,2695,3002,2196,1942,1843,2580,2636,2250,2077,2540,2791,2718,2678,2676,2894,2811,3173,2598,2097,2907,2800,2302,1907,1615,1675,2202,2602,2724,2620,2476,2833,3363,2993,2887,3250,3606,3868,3752,2896,2293,2183,2067,2652,2761,2469,2331,2374,2262,2113,2098,2147,2354,2840,2966,2921,2941,2899,2779,2739,2597,2842,3154,2658,2316,2541,2822,2793,2706,2170,2066,2059,1827,1926,2752,2520,2321,2187,2081,2552,3056,3142,2919,2632,2390,2448,2108,1694,1787,2065,2777,2768,2873,3407,3404,3342,3461,3511,3560,3764,3354,3143,3092,3209,3695,3881,3614,3399,3743,3497,3075,2922,2614,2141,2201,2255,2155,2806,2312,2000,2141,2010,1927,2205,2295,2273,3117,3529,3661,3351,3181,3150,2667,2376,2366,2526,2344,2342,2923,3041,2885,3190,3297],[3316,3264,3099,3287,3687,3504,3067,3360,3605,3471,3697,3404,3103,3272,3538,3377,3146,3115,3071,3426,3859,4041,4432,3928,3279,3159,3128,2733,2576,2261,1654,1335,1694,2207,2390,2603,2685,3082,2857,3060,3322,3233,2812,2932,3375,2777,2379,2830,2858,3063,3244,3207,3244,2906,2542,2159,1836,1980,1755,1501,1856,2244,2276,2119,2513,2832,3152,2539,2554,2802,3011,2603,2033,2254,2208,1876,2302,3054,3259,3436,3356,3243,3531,3664,3608,3169,2723,2100,2099,2435,2370,2210,1910,2168,2620,2342,1869,1946,1826,1617,1686,2126,2345,2519,2753,2696,2328,1963,1932,1959,1953,1509,1627,1720,1958,1733,1636,2500,3526,3787,3808,3646,3098,3024,3186,2997,2534,2536,2347,2234,2658,3182,3085,2897,2833,2842,2712,2832,2894,3388,2876,2228,1958,2004,2822,3354,3333,2983,3232,3190,2257,2363,2710,2596,1874,2014,2318,2239,2272,2001,1843,2440,2865,2683,2974,2808,2086,2226,2118,2015,2335,2255,2412,2378,2131,2238,2962,2846,1869,2027,2069,1886,1970,1788,2583,2268,2310,2523,2047,2094,2206,2065,2010,1909,2536,2742,2123,1469,1269,1823,2155,2280,1864,1945,2374,2261,1860,1976,1954,2077,2352,2126,2164,2808,3040,3017,2651,2481,2755,2324,1488,1634,2068,2472,2165,1869,1995,2140,2156,2163,2424,2229,1716,1555,2090,2730,3255,3262,2744,2647,2830,2812,2312,2676,2555,1886,1560,1796,2403,2844,3109,4056,3911,3050,2508,2534,3276,3813,3370,2964,2987,3139,2960,2486,2580,2884,2814,2376,1600,1490,1763,1785,1880,2027,1804,1612,1879,1885,1566,1527,1548,1830,1957,2340,2449,2181,2226,2386,2313,1945,1701,1588,1950,2129,2248,2171,1976,2076,1798,1922,2324,2201,1874,1777,1791,1924,2264,2299,1646,1839,1632,1571,1744,1761,1415,1285,1316,1563,1618,2199,2730,2082,2069,1306,725,1500,2232,1882,1414,1489,1961,2500,2592,2484,2473,1993,1793,1882,1961,2336,2965,3426,2898,2763,2233,1636,2056,2196,2024,1924,1907,1656,1473,1619,1577,1903,1802,1582,1625,1623,1591,1721,1948,1716,1533,1537,1572,1801,1799,1994,1815,1946,1698,1324,1542,1786,1756,1655,1619,2067,2018,1506,1554,1742,1864,1639,1540,1514,1476,1509,1830,2255,2459,1885,1672,1692,1708,1490,1629,1832,2021,1830,1240,1271,1536,1678,1609,1411,1245,1156,1341,1345,1538,1633,1888,1599,1305,1327,1522,1710,1601,1483,1686,1797,2033,2447,1980,2071,2036,1610,1476,1499,1632,1691,1375,1449,1480,1379,1660,1785,1898,1782,1860,2498,2514,2020,1794,1520,1508,1531,1456,1712,1710,1848,1732,1567,2018,3118,3352,3250,3296,3138,3130,2873,1964,1685,1537,1597,1647,1930,2070,1870,1654,1666,1842,2078,1954,1777,1686,1946,2492,2480,1919,1666,1649,1600,1690,1668,1354,1905,3009,3385,2884,1957,2092,2500,2568,2404,2566,2337,2263,2138,1927,2490,2740,2673,3354,3795,3204,2264,2010,2084,2266,2158,1892,2013,2158,2454,2795,2836,2622,2002,1670,2292,2255,2147,2542,2894,3120,2602,1800,1567,1838,2079,1958,2301,2872,2674,2728,2331,1742,2100,2648,2211,1776,1721,1966,2047,2126,2174,2005,1691,1833,1777,1662,1625,1666,1733,1592,1622,1797,1706,1692,1604,1730,1477,1532,2183,2412,2390,2371,2690,3371,3543,3286,3304,2590,2177,2784,2455,2140,1951,2345,2010,1598,1633,2073,1860,2145,2862,2791,3022,2932,2745,2304,2007,1880,1850,1743,1951,2484,2452,1986,2247,2746,3030,2833,2136,2413,2795,2875,2580,2274,1864,1598,1632,1644,1903,2070,2039,1968,1768,1808,1816,1754,2347,3065,3014,2195,1602,1680,2048,1843,1516,1510,1697,2046,2292,1796,1573,1804,1735,1584,1448,1354,1679,2005,1930,2070,2306,2136,1960,1678,2004,2502,2190,1605,1765,2297,2141,2039,2076,2131,1699,1472,1789,2086,1650,1428,1902,2181,2019,1663,1472,1560,1893,1889,1833,1930,2121,2048,1924,1766,1534,1392,1939,2452,2104,1613,2041,2059,2107,1782,2256,2433,1809,1829,1675,1544,1432,1516,1759,1516,1465,1549,1535,1508,1642,1999,2089,1901,2377,2602,2172,2290,2111,1795,1749,2241,2240,2387,2681,2381,1952,1673,1703,1831,2042,2257,2024,1800,1881,1738,1715,1588,1397,1362,1632,1663,1536,1497,1503,1472,1510,1555,1613,1691,1768,1810,1585,1714,1629,1490,1610,1506,1457,1570,1660,1646,1597,1528,2435,2354,1667,1622,1933,1948,1850,1838,2196,2490,2242,2206,2547,2920,2884,2876,2806,2918,2918,2828,2844,2909,2923,2985,3043,3272,3341,3277,3409,3342,3249,2919,2590,2548,2558,2812,3639,3968,3527,3310,3676,3020,2587,2599,2675,3229,3065,3142,3104,3001,2620,2165,2009,2254,2897,3442,3182,2878,2945,3131,3017,3082,3467,3662,3691,3733,3557,3496,3475,3234,3197,3167,2827,2744,2681,2652,2858,3012,3283,3790,3907,3638,3530,3249,2860,2996,3089,2968,3178,3265,3187,3109,3187,3127,3137,3178,3070,3041,2978,3098,3160,3013,3239,3618,3807,3587,3499,3381,3242,3108,2220,1506,2176,3364,3996,3751,3615,3200,3053,3213,3286,3444,3515,3760,3946,3830,3902,3847,3187,3802,4068,3944,4051,3784,3550,3282,2845,2530,2257,2040,1872,1778,1802,1804,1818,1870,1856,1888,1995,1926,1764,2100,2700,2834,2937,3159,3152,3146,3160,3409,2866,3293,4037,4275,4034,3901,3613,3075,3086,2918,2895,3016,3514,3776,4232,4364,4013,3436,3077,3388,3877,4036,4051,4011,3845,2648,2222,1764,1631,1469,1504,1638,1643,1728,1673,1645,1985,1782,1668,1657,1758,1813,1653,1626,1823,1751,1676,1708,1908,2062,2359,2910,2525,2216,2232,1750,1670,1705,1742,1802,1711,1444,1543,1829,1842,1779,1664,1558,1771,1698,1780,1556,1377,1486,1520,1522,1612,1592,1690,1632,1666,1721,1883,2442,3577,3241,2528,2933,2864,2264,2069,2375,2378,2393,2333,2082,1836,2034,1810,1787,2180,2222,2112,1976,2313,1874,1721,1912,1733,1785,1965,2138,2002,1495,2213,3422,4188,3386,2656,2585,2667,2881,2699,3064,2723,3112,3071,2601,1987,2084,2086,2086,2079,2474,3041,2359,2407,2303,1588,1506,1673,1578,2295,2656,2071,1793,1870,1800,1606,1512,1798,2186,2171,2214,2257,2555,2109,1982,1891,1861,2138,2186,2092,2192,2691,3764,3826,3021,2875,2775,2117,2492,3124,2841,2499,2304,1766,1653,1754,1798,1888,1826,1888,1926,2177,2249,1939,2216,3074,3558,2943,2374,2351,2669,2950,2505,1782,1559,1609,1704,1918,2568,2656,2213,2181,2032,2145,2147,2116,1718,1548,1552,1552,1366,1495,1535,1380,1288,1517,1675,1763,1975,2062,2112,1997,2170,2033,2422,2099,1607,1873,2459,2432,2092,2540,2393,2302,2654,2269,2310,2887,2714,2683,2731,2149,1606,1751,1931,1838,1566,1547,1705,2158,2634,3339,3571,3378,3626,3896,3410,3203,3178,2161,2160,2002,3067,2877,2690,2927,3218,3054,3241,3220,3386,3805,4139,4359,4212,3764,3366,3642,3871,4126,4148,3518,2899,2976,3232,2905,3101,3158,2201,2007,2403,2293,1772,1510,1516,1729,2039,2118,2040,2177,2260,2447,2126,2148,2382,2656,2758,3010,3100,2931,3060,3105,3151,3229,2888,2854,3001,3009,3012,2958,2845,3373,3057,3098,3513,3349,3078,3260,3646,3830,3785,3791,3830,3710,3552,3712,3710,3628,3627,3808,3885,3806,3294,3002,3378,3353,2871,3154,3451,3481,3398,3435,3240,3190,3320,3310,3295,3750,4023,3968,3825,3331,2078,1571,1597,1744,1637,1565,1594,1410,1370,1411,1535,1658,1627,1880,1870,1694,1377,1389,1590,1981,2048,1960,1734,1625,1914,1970,1798,1854,2258,2614,2717,2744,2571,1719,1638,1887,1682,1484,1519,1782,2452,2605,2374,2313,2541,2496,2480,2627,2610,2551,2691,2912,2453,2241,2938,2441,2618,2539,2851,2293,1911,2116,1903,1797,2108,2460,2382,2163,1744,1696,2002,2148,2032,2091,2120,1857,2361,2482,1908,1998,2238,2029,1634,2056,2720,2534,3326,4036,3627,3344,2648,1271,1780,2902,3156,3617,2840,2209,2219,2600,2795,3151,2106,1548,1814,2381,3117,3042,2823,2644,2464,2441,2806,2708,2264,1985,1727,1802,1999,2233,2578,2050,1732,1937,1759,1683,2360,3487,2830,2151,1946,2346,2795,2951,2976,3386,3544,3404,3172,3248,3450,3507,3422,3400,3514,2944,2457,2493,2195,2062,1995,2334,2792,2448,2276,2545,3012,2797,3316,3630,3370,3486,3551,3383,3095,2880,2589,2531,2949,4463,4979,3834,2420,2379,2622,2670,2846,2824,2862,2576,2796,2941,2307,1753,1603,1718,1701,2302,3454,3153,2432,2125,2053,2669,3499,3439,3342,3009,3007,2608,2706,2988,2552,2189,2449,2813,2535,2032,2020,2105,1681,1713,1959,2256,3033,3430,3365,3071,2861,2709,2384,2822,2828,2545,2142,2206,2448,2529,2843,2949,2203,1788,2245,2637,2879,3009,3037,3388,3514,2844,2576,2664,2446,2688,2775,2529,2642,2337,2017,2308,2546,1637,1365,2784,2971,2256,1962,2179,2012,2412,3422,3688,3431,2918,2114,2348,2988,2906,3008,3088,3155,3143,2410,2242,2765,2790,2723,2565,2395,2271,2053,1767,1918,2744,3156,2228,1982,1750,1622,2232,2504,2498,3082,2985,2903,2789,2654,2666,2224,2342,2527,3133,4185,3715,2576,2136,2646,2588,2462,2160,2235,2389,2396,2687,3243,3203,2962,3227,3532,3885,3741,2247,1678,2035,2503,3311,3110,2583,2382,2313,2496,2642,2728,2787,2798,3054,3024,3095,3038,2908,2741,2829,3066,3198,3294,3107,2655,2440,2333,2374,2309,1933,2190,2383,2060,1710,2438,2442,2127,2296,2452,2635,3383,3101,2390,2268,2233,2620,2916,2166,1974,2712,3267,3293,3454,3560,3464,3550,3529,3365,3526,3606,3291,2967,3147,3492,3948,4505,4400,3534,3041,3073,2953,2734,2155,1815,2096,2097,2178,2681,2200,2340,2839,2730,2935,3210,2636,1958,2472,2574,2830,3284,3475,3078,2406,2365,2366,2266,2513,2808,2938,3020,3052,3344,3263],[2899,2921,2972,2931,3065,3235,3117,3361,3493,3386,3563,3333,3283,3404,3303,3248,3173,3023,3068,3098,3050,3328,3696,3344,3122,2985,3030,2979,2801,2264,1688,1434,1894,3173,3374,2967,2646,2708,2496,2814,3326,3769,3599,3130,3116,2771,2785,2944,3096,3497,3414,3107,3021,3194,2758,2126,1853,1787,1461,1496,1987,2128,2283,2499,2650,2868,2984,2745,2397,1829,2127,2170,1631,1696,2478,2346,1971,2182,2429,2643,3190,3382,3647,3339,3110,3047,2580,2135,2493,2909,2791,2520,2356,2705,2483,1972,1928,2276,2226,1950,1935,2662,3117,2732,2719,3295,3108,2564,1993,1837,2006,1944,2207,1866,1285,1355,1475,2022,3378,3795,3726,3420,2814,3000,3264,3069,2558,2100,1855,1620,2137,2788,2752,2778,2329,2178,2320,2569,2705,2885,2409,2075,2078,2420,2626,2863,2924,2482,2305,2258,1754,1576,1743,2434,2411,2546,2237,2250,2423,2039,1979,2619,2879,3082,2789,2240,2029,2150,1901,2372,2213,2416,2475,2434,2575,2174,2352,2451,1700,2409,2205,1744,1993,1942,2543,2590,2518,2488,2508,2231,1806,1574,1608,2038,2281,2403,2986,2868,2077,2198,2452,2179,2023,2263,2104,1868,1616,1681,1972,2476,2502,2272,2130,2752,3097,2945,2622,2087,2085,2063,1483,1757,1871,2121,2480,1991,1609,1854,1803,1797,2258,2566,2211,1775,2409,3272,3416,3422,2950,2791,3023,3175,2584,2187,2040,1708,1574,2302,3019,3344,2950,3489,3393,2647,2380,3022,3517,3714,3595,2696,2504,2913,3074,2292,2455,2392,2387,1962,1316,1203,1543,1568,1684,1919,1812,1824,2020,2055,1713,1485,1545,2066,2095,2098,2088,2151,2225,2269,1992,2131,2229,1856,1998,2481,2542,2125,1873,1691,1649,1782,2203,2116,1587,1632,1971,1945,2187,2416,1863,1889,2059,1800,1565,1509,1493,1443,1314,1405,1402,2026,2363,2604,2144,1385,1137,1625,2549,2384,1875,1823,1938,2669,2644,2691,2684,2099,2115,2040,2091,2511,3366,3631,3208,3373,2863,1630,1780,1858,1833,1937,1800,1614,1562,1785,1698,1699,1531,1437,1627,1690,1693,1875,2227,2079,1782,1565,1729,2004,2150,2210,1658,1460,1201,1407,1642,1560,1536,1517,1655,2166,2017,1719,1689,2125,2348,1946,1639,1658,1666,1690,1787,1979,2503,1906,1518,1826,1900,1797,1943,1820,2028,1943,1411,1525,2037,1973,1800,1666,1355,1272,1274,1328,1459,1715,1700,1384,1385,1465,1584,1512,1382,1498,1692,2041,2529,2602,1829,1471,1626,1480,1334,1406,1592,1622,1563,1641,1379,1228,1458,1781,1995,1953,2020,2273,2133,1575,1582,1412,1294,1085,1762,1889,1785,1724,1437,1344,2003,2946,3388,3332,2993,2962,3044,1925,1469,1618,1497,1536,1711,1892,2071,1876,1589,1560,1735,1919,1921,1754,1846,1866,1818,1648,1469,1519,1690,1695,1627,1615,1505,1814,2791,3160,2559,1875,2104,2655,2647,2248,2067,1948,2018,1966,2369,3016,2770,2275,2690,2800,2075,1826,1861,2274,2862,2431,1637,2319,2471,2690,2798,3117,2476,2197,1965,2120,2045,2558,3109,3069,2731,2017,1911,1345,1915,1883,2161,2234,2451,2463,2517,2264,2199,3129,3187,2063,1725,1949,2008,2363,2888,2375,1992,2000,1911,1630,1509,1368,1486,1576,1614,1954,2259,1935,1894,1591,1709,1740,1968,2134,2048,2357,2909,3131,3682,3453,2888,2880,1969,1813,2307,2146,1696,1613,1981,1890,1657,2075,2226,1959,2501,2592,2792,2935,2985,2964,2236,1941,2288,2332,2202,2185,2350,2807,2759,2249,2263,2408,2579,2646,3060,3031,3046,2972,2546,1993,1657,1534,1441,1463,1613,2020,1606,1814,1834,1633,1750,2135,2377,2233,1858,1427,1542,2505,2248,1481,1512,1731,2146,2015,1713,1779,1781,1693,1531,1455,1390,1578,1938,2027,1896,2162,2328,2463,2029,2215,2688,2234,1758,1781,2385,2005,1997,2442,2741,2021,1535,1727,1840,1527,1287,1459,1521,1419,1410,1482,1403,1744,1810,1619,1799,2113,2561,2416,1842,1389,1478,1859,2008,1899,1744,2120,2020,1930,2345,2774,2280,1713,1641,1569,1499,1512,1343,1468,1408,1430,1348,1564,1601,1454,1768,2360,2314,2346,2668,2245,1666,1566,1573,2066,2347,2243,2150,2046,2191,2189,2017,2005,1886,2188,2522,2127,2186,1999,1715,1840,1577,1449,1572,1650,1506,1442,1593,1488,1499,1765,1869,1652,1647,1665,1903,1753,1676,1659,1508,1548,1682,1773,1724,1541,1556,1511,1251,2430,2557,1904,1504,1443,1627,1914,1908,2049,2307,2476,2926,2989,2899,2706,2873,2950,3142,3282,3111,3009,3043,3032,3215,3158,3362,3377,3304,3352,3425,3187,2765,2597,2601,2512,2714,3208,3212,3296,3024,2864,2556,2525,2613,2733,3063,3278,3340,3241,3159,2708,2287,1960,2178,2592,3185,3215,2806,3073,3437,3391,3736,4164,4026,4251,4156,3771,3137,3321,3299,3130,3077,2686,2576,2630,2766,3269,3575,3416,3620,3916,3871,3397,3247,3391,3574,3374,3433,3241,3023,3177,2971,2945,2998,3083,3077,3077,3031,3037,3095,3054,3076,3417,3726,3447,3384,3536,3404,2835,2049,1691,2564,3351,3632,3696,3538,3608,3176,2876,2962,2987,3420,3920,4231,4432,4356,4328,4236,3353,3625,3704,3367,3179,2957,2620,2310,2028,1842,1717,1654,1682,1754,1799,2013,2386,2544,2292,2413,2737,2366,1906,2511,3117,2912,3058,3296,3118,3044,3439,3539,3045,3399,4275,4387,4315,4092,3775,3210,3117,3007,2854,3074,3978,4186,4408,4573,4013,3460,3482,3764,3947,3926,3797,3917,3782,2846,2057,1644,1674,1592,1477,1522,1633,1843,1580,1472,1636,1412,1467,1605,1618,1713,1875,2064,1864,1545,1524,1851,2229,2027,2329,2921,2500,1868,1775,2046,1863,1698,1588,1573,1562,1566,1627,1629,1815,1835,1658,1440,1317,1347,1589,1754,1623,1412,1415,1597,1669,1591,1763,1701,1654,1892,2325,2677,3188,2750,2584,2864,2648,2201,2188,3044,3091,3239,3340,2274,1801,2140,2164,2122,1948,1903,1803,2496,3483,2302,1724,1911,1721,1978,2279,2537,2407,2139,2677,3221,3095,2634,2304,2055,2437,2809,2732,2752,2565,2719,2347,2153,2175,2206,1999,1819,1539,1752,2222,1857,2125,1959,1603,1533,1360,1472,2176,2255,1933,2165,2215,1770,1675,1465,1772,2403,2285,2150,2172,2588,2580,2196,2384,3186,3541,2980,2161,1982,2480,2929,2866,2264,2048,2244,2433,2898,3790,3275,1802,1968,2092,1719,1835,2025,2062,1835,1786,2433,2850,2547,2343,2491,3061,3247,2902,2587,3030,3072,2522,2215,1881,1589,1684,1968,2088,2397,2589,1985,1782,1722,2008,2377,2543,1950,1707,1518,1286,1466,1843,1876,1886,1989,2774,2728,2413,2712,2587,2251,2840,2684,2109,2132,2040,1837,2188,2655,2460,2291,2329,2151,2309,2057,1645,2240,2685,2588,2464,2122,1804,1536,1678,1803,1790,1602,1607,2401,3209,3537,3367,2991,3329,3732,3474,3056,3037,3327,2762,2699,2124,3139,3421,2801,3282,3352,2823,2973,3160,3748,4153,4260,4299,4133,3819,3589,3728,3770,4041,4018,3392,2944,3029,2923,2297,3039,3653,3242,2484,2337,2154,2027,1789,1673,1916,2163,2040,1729,2008,2056,2136,1969,2020,2390,2752,2984,3361,3526,3342,3518,3431,3211,3111,3086,2856,2532,2378,1999,1684,1886,3174,3558,3495,3725,3795,3480,3391,3484,3762,3726,3448,3343,3652,3682,3553,3671,3672,3483,3239,3284,3337,2906,3140,3007,2704,2778,2882,3299,3980,3676,3252,3227,3207,3431,3437,3373,3784,3523,3132,2854,2524,1808,1531,1621,1696,1542,1560,1586,1527,2060,2084,1719,1818,1632,1568,1534,1600,1600,1635,1608,1566,1786,2154,2165,2415,2468,2251,2183,2252,1984,2750,2939,2633,2039,1546,1766,1854,1628,1701,1543,1744,2482,2769,2527,2545,2764,2851,2832,2297,2020,2019,2240,2132,2236,2142,2386,1867,2416,2952,3047,2253,1560,1615,1790,1854,2105,2368,2177,1629,1388,1606,1656,1831,2115,1896,1367,1685,2554,2504,2474,2148,1865,1492,1345,2348,2439,2019,3166,4050,3982,3728,2425,1261,2405,2829,3143,2912,2361,2009,2286,2645,2529,2193,1463,915,1008,1651,2153,2291,2156,2153,2080,2769,2566,2041,1820,1970,2009,2198,2570,2242,2399,2415,2308,2247,2350,2438,2495,3356,3467,2909,2587,2320,2381,2942,3149,3581,3675,3567,3321,3231,3428,3477,3480,3746,3950,3329,2518,2680,2493,2220,2486,2413,2478,2093,1925,2426,2597,2769,3773,3925,3161,3318,3683,3636,2946,2684,2768,2612,3486,4508,4804,3421,2544,3298,3252,2819,2613,3306,3589,2823,2998,3194,2519,2145,1789,1600,1794,2679,3352,2796,2453,1866,2035,2178,2823,3038,3212,3317,2917,2557,2556,2367,2311,2110,2115,2702,2625,2065,2049,2199,1962,2008,1881,2171,3187,3761,3453,2779,2333,2268,2336,2785,2845,2608,2203,2475,2460,2330,2837,2967,2280,2149,2343,2526,2419,2792,3167,2823,3139,3260,3498,3751,3662,3671,3487,3047,2999,2237,2024,2309,3060,2292,1748,2065,1975,1976,2430,2539,1869,1841,2568,3426,3554,3056,2313,2799,3267,3340,2964,2831,3176,3153,2633,2331,2465,2795,2897,2453,2437,2382,2008,1805,2474,2857,2431,1932,1720,1602,1739,2188,2489,2625,2873,2488,2390,2652,2871,2974,2443,2268,2286,2723,3753,3706,3244,2684,3254,2831,2323,2519,2326,2070,2389,2917,3322,3526,3532,3620,3696,4028,4096,2990,2190,2442,3184,3627,3234,2635,2612,3022,3361,3452,3244,3099,3142,3258,3317,3444,3484,3059,2708,3051,3355,3159,3042,2647,2182,1576,1810,2364,2467,1979,2169,2642,2425,2103,2369,2195,1810,2234,2897,2739,2665,2767,2061,2135,2073,2126,2352,2174,2569,3130,3416,3483,3371,3527,3659,3822,3603,3582,3838,3725,3498,2994,3394,4038,4012,4218,4463,3796,3616,3464,2831,1978,1942,2176,2235,2022,1881,1878,1899,2643,3140,2834,3141,3317,2868,2622,2632,2022,2427,3420,3420,2719,2333,2521,2624,2684,3001,2763,2577,2986,2994,3240,3399],[3053,2808,2793,2796,2985,2833,2724,2811,2964,3146,3165,3221,3447,3631,3616,3707,3408,3153,3006,2995,2833,2883,3051,3042,3003,2911,2916,3076,2841,2142,1699,1634,2419,3691,4299,3719,2880,2521,2272,2578,2856,3337,3461,2971,3208,3337,3464,3278,3528,3781,3559,2983,3017,3405,3034,2337,1901,1687,1656,1843,2080,2349,2308,2488,2773,2961,2702,2474,1995,1388,1390,1612,1699,1386,1938,1947,2065,2256,2478,2751,2694,2412,2670,2833,2818,2455,2126,2186,2862,3247,3171,2829,2636,2868,2476,2203,2534,3172,3375,2698,2322,2876,3107,3175,3242,3726,2900,2153,1916,1780,1723,1815,2155,1871,1390,1747,2153,1825,2618,3581,3811,3632,2988,2543,2332,2185,1869,1865,2232,2023,2242,2279,2333,2570,1848,1564,1960,2423,2511,2696,2603,2370,2082,2075,2754,2976,2709,2461,2108,2231,2183,1677,1654,2045,1997,2137,2235,2270,2054,2232,2284,2283,2739,3177,2482,1964,2410,2380,2477,2851,2730,2958,2921,2886,2599,2257,2346,2201,2020,2604,2504,1975,2076,2423,2382,2410,2887,2966,2751,1989,2207,1825,1531,1952,2159,2685,3440,3708,2680,1897,2507,2807,2404,2357,2526,2352,1820,1890,2402,2544,2431,2197,1798,2110,2705,2856,2410,1697,1880,2181,2222,2600,2447,1787,1667,1785,1880,2030,1770,1857,1968,2405,2755,2293,2832,3476,3168,3181,3473,3453,3089,2883,2314,1417,1534,1911,1824,2678,2806,2622,2362,2266,2570,2274,2108,2778,2918,3332,3913,3671,2964,2051,2422,2427,2497,2134,2174,1793,1411,1769,1986,1870,2029,2326,2348,1770,1718,1737,1925,1959,1974,2073,2007,2101,2288,2264,2181,2088,1690,1846,2072,1974,2117,2400,2529,2349,2143,2149,2052,2039,2362,2120,1588,1770,1892,1983,2171,2248,2175,2098,1950,1729,1554,1799,1952,1600,1526,1758,1395,1771,1915,2015,1669,1341,1378,1620,1873,1801,1486,1611,2177,2770,2562,2841,2557,2086,2160,2105,1902,2586,3651,3830,4029,4085,2906,1720,1648,1857,1921,1843,1688,1468,1662,2011,1806,1527,1616,1606,1669,1564,1520,1699,2065,2151,1975,1840,2010,1920,2498,2832,2052,1667,1548,1520,1698,1650,1550,1473,1538,1566,1962,2136,1988,2423,2071,1508,1672,1866,1480,1635,1878,1886,2052,1794,1823,2116,2208,2229,2174,1946,1937,1699,1484,1622,1801,1801,1673,1588,1555,1482,1440,1572,1707,1850,1504,1499,1610,1403,1380,1548,1456,1391,1520,2120,2446,2165,1771,1515,1505,1470,1584,1503,1435,1368,1537,1555,1280,1347,1416,1514,1731,1959,2026,1996,1631,1420,1372,1242,912,1780,2717,2352,1883,1704,1687,2041,2666,2886,3265,3304,3099,3029,2929,1955,1732,1893,1808,2011,2040,1880,2123,2085,1840,1926,2182,2041,2225,2066,1961,1672,1514,1494,1451,1760,2031,1903,1610,1515,1477,1869,2557,2447,1937,1787,2167,2396,2141,2020,1810,1772,1868,2170,2978,3294,2753,2198,2083,1950,1696,1605,1771,2285,3397,3150,2004,2489,2692,2441,2263,2310,2017,1980,2126,2226,2083,2199,2542,2414,2204,1793,1796,1831,2517,2517,2568,2441,2522,2645,2460,2187,2750,3459,3005,1944,1946,2265,1950,2401,3006,2529,2029,2046,1997,1541,1446,1656,1866,1743,1696,2327,2619,1863,1783,1771,1692,1914,2097,1859,1870,2360,2727,3062,3477,3477,2855,2841,2156,1893,2160,2109,1818,1632,1513,1837,2408,2165,1833,2208,2543,2436,2361,2013,2570,2696,2055,2203,2438,2276,2479,2617,2535,2302,2229,2829,2627,2128,2381,3008,3237,3142,2952,2652,2526,2157,1710,1552,1520,1580,1560,1592,1353,1484,1578,1524,1554,1769,1863,2038,1848,1675,2046,2562,2312,1884,1920,1954,1935,1819,1746,1537,1421,1437,1529,1726,1503,1553,1893,1867,1717,2065,2639,2440,1986,2051,2431,1982,2126,2094,2526,2558,2148,2327,2286,1788,1757,1882,1672,1412,1310,1382,1528,1622,1562,1508,1426,1747,2049,1871,2052,2373,1869,1710,2015,1475,1420,1562,1423,1408,1872,2062,1656,1680,2106,2312,2156,1751,1542,1711,1745,1852,1707,1930,1654,1489,1537,2139,2309,1726,1839,2238,2193,2460,2921,2164,1902,1662,1710,2145,2133,2270,1969,1881,2472,2291,2078,2030,2054,2320,2400,2501,2625,2290,1916,1737,1833,1821,1638,1882,2261,2122,1775,1775,1912,2236,2353,2319,1852,1327,1395,1751,1718,1716,1728,2002,2082,1677,1571,1477,1518,1542,1255,1644,1793,1724,1592,1555,1659,2320,2398,2151,2636,3140,3157,3078,2869,2667,2873,3029,3099,3091,2888,3100,3482,3243,3186,3087,3294,3429,3343,3381,3504,3159,2766,2665,2632,2692,2668,2766,2825,2789,2677,2584,2532,2463,2534,2601,2556,2757,2943,2832,2757,2576,2355,1960,2114,2314,2981,3320,3020,3060,3105,3053,3765,4512,4416,4218,4283,4276,3618,3693,3498,3163,3137,2775,2561,2764,3022,3709,3767,3492,3915,4320,4304,3552,3408,3570,3697,3539,3562,3248,2865,3033,2931,3056,3054,3041,3040,2974,2950,3125,3099,3199,3275,3460,3554,3189,3294,3194,2902,1625,1582,2708,3396,3701,3817,3669,3688,3720,3576,3528,3565,3456,4100,4164,4175,4199,4156,4200,3985,3498,3322,3000,2575,2338,2073,1882,1765,1768,1797,1842,1846,1906,1864,1878,2623,3426,3338,2478,2304,2523,2288,2287,2775,2718,2532,2799,3063,3075,3506,4051,4092,3692,3805,4363,4048,3950,3620,3349,3130,3118,3101,2974,3363,4368,4620,4319,4094,3871,4057,4005,4095,3819,3566,3884,3807,3463,2645,1902,1587,1504,1432,1497,1635,1753,1543,1503,1659,1731,1670,1602,1646,1575,1804,2264,2160,2081,1714,1961,2225,2367,1910,2119,2241,2536,2351,1924,2109,2267,2048,1886,1732,1497,1846,2245,1764,1576,1520,1573,1240,1159,1313,1445,1619,1557,1372,1456,1700,1845,1708,1599,1557,1656,2625,3025,2405,2011,2184,2316,2265,2228,2127,1802,1646,1962,3677,4877,3185,2217,2511,2211,1903,1814,1921,2435,3289,3123,2578,1886,1892,1816,2085,2536,2478,2437,2599,2536,2407,2919,3353,2912,2000,2115,2416,1981,2013,2224,2286,2202,2124,2143,2126,2125,1900,1454,1658,1847,2040,2010,1682,1666,1616,1506,1700,2003,2092,2082,2444,2174,1935,2112,1817,1729,2078,1837,2083,2301,2465,2875,2626,2611,3120,2807,2160,2017,2330,2007,1766,1713,1701,1857,2417,2543,2474,2840,2940,1564,1282,1675,2060,2365,2390,2161,2129,2674,3183,3162,3123,2826,2451,2719,2685,2763,3009,3260,2684,2112,2160,1858,1465,1842,2427,1946,1762,2465,1639,1669,1898,2255,2317,2380,2341,2176,1668,1177,1602,2065,2071,2369,2618,2783,2232,1815,2986,2812,1721,2301,2946,2286,1891,1920,1812,2097,2331,2274,2492,2345,2351,2593,2217,1797,2045,2266,2310,2004,1619,1526,1476,1670,1647,1599,1669,1621,2274,3184,3220,2456,2356,3194,3772,3648,3653,3782,3790,3532,3201,2425,3122,3639,3265,3793,3509,3086,2999,3209,3974,4271,4207,4104,3840,3623,3511,3482,3444,3504,3614,3481,3216,3158,3303,2324,2596,3238,3046,2807,2448,1940,2048,1681,1766,2040,2213,2122,1865,1960,2048,2130,2084,2032,2337,2692,2868,3228,3128,3000,3088,2566,2116,2166,2658,1990,1158,1121,1498,1858,2425,3127,3646,3994,3892,3808,3462,3397,3481,3820,3574,3442,3529,3786,3692,3182,3233,3306,3132,3044,3255,3109,3234,3104,2700,2909,3274,3451,3819,3697,3370,3177,3416,3386,3419,3174,3349,3045,2814,2766,3016,2472,1575,1593,1624,1493,1449,1484,1416,1687,2025,1994,1858,1605,1449,1448,1549,1772,1880,1750,1552,1521,1670,2164,1973,2208,2292,2575,2746,2292,2177,2590,2264,2055,1995,1678,1986,2121,1853,1771,1709,1721,1940,2507,3425,3561,3262,3398,3081,2583,2744,2240,2360,1901,1814,1738,1883,2153,2266,2215,2206,2043,1683,1622,1911,1576,1562,1649,1726,1483,1351,1671,1687,1764,2146,1696,1395,1696,2294,2109,2280,1902,1590,1289,1462,2375,2338,2401,3111,3260,3868,4028,2993,2563,2940,2489,2881,2459,1807,1863,2418,2771,2810,2020,1783,1428,987,834,1114,1539,1853,2246,2447,2727,2749,2291,1902,2382,2678,2292,2096,2005,2222,2621,2975,3559,4068,3780,3371,3537,3594,3480,3375,2828,2050,2707,3356,3677,3596,3541,3454,3327,3365,3500,3806,4026,3962,3385,2403,2366,2756,2798,2880,2586,2522,2093,2235,2806,2685,3017,4063,3883,2835,3028,3552,3548,3230,2678,2517,2780,2764,3203,3946,3296,3022,3463,3341,2985,3041,3846,3874,3031,3106,3273,2691,2364,1821,1334,1845,2776,3076,2923,2503,1266,1380,1794,2286,2884,2932,2842,2619,2811,2752,2137,2112,1929,1990,2126,2302,1765,1880,1945,1881,1897,1789,2480,3351,3410,3038,2408,1870,2084,2361,2354,2248,1885,2050,2536,2514,2584,2708,2357,2268,2434,2225,2185,2105,2276,2551,2685,2964,3585,3916,3773,3676,3859,3416,3098,3790,3474,2775,2272,2603,2505,2219,1747,1453,1885,2779,2867,1600,1468,1878,2654,2952,2564,2156,2435,2946,3087,2557,2313,2579,2853,2753,2686,2924,2959,2440,2463,2380,2294,2392,2335,2428,2302,2060,1986,1735,1672,2168,2608,2822,2756,2928,2858,2541,2584,2645,2573,2962,3341,2977,2160,2844,3110,2874,2843,3471,3266,2543,2379,2141,2047,2533,3084,3325,3471,3748,3982,4013,4028,4200,3884,3405,3522,3599,3116,2510,2312,2918,3681,3835,3844,3547,3561,3682,3663,3570,3732,3665,3446,3400,3582,3658,3492,2728,2208,1906,1688,2110,2781,2851,2351,2236,2652,2721,2390,2185,1880,2132,2293,2964,3342,2695,2561,1974,2018,1892,1766,2014,2636,3360,3487,3610,3322,2862,2947,3343,3554,3610,4050,4153,3981,3606,3316,3861,4305,4293,4232,4544,4416,4381,4169,3099,1981,2164,2605,2868,2912,2670,2227,1820,2511,3017,2910,3150,3190,3166,3297,3054,2547,3292,3894,3304,2821,2750,2534,2492,2863,2972,2451,2307,2609,3016,3277,3212],[2655,2745,2900,2831,2922,2734,2658,2589,2910,3245,3262,3451,3543,3790,3790,3716,3605,3475,3159,2887,2829,2937,2993,2986,3020,2994,2953,2902,2667,2453,2288,2468,2526,3271,4040,4153,3873,2933,2322,2536,2420,2285,2678,2293,3052,3482,3576,3801,4081,4007,3753,3320,3184,2912,2447,2164,1907,1562,1867,1964,2235,2401,2380,2416,2706,3164,3241,2614,1831,1255,1458,1853,2076,1890,2194,2729,2836,2588,2292,2561,1977,1686,2291,2657,2482,2326,2126,2150,2722,2499,2370,1777,1933,2811,3230,3068,3227,3886,4065,3452,3073,2977,3112,3343,3438,3308,2744,2047,1801,1823,1687,1641,1806,1629,1481,2453,2685,1889,1693,2799,3404,3427,2561,1960,2215,2148,2018,2687,3098,2436,2289,2119,1970,2002,1870,1902,1931,1930,2192,2657,2729,2519,2328,2869,2869,2796,3065,2392,1944,2094,2221,1838,2134,2321,1883,1934,2184,2421,2174,2422,2969,2474,2946,2754,2070,1697,1742,2376,3078,3021,2659,2586,2613,2623,2625,2568,2324,2108,2442,2792,2875,2484,1989,2174,2189,2197,2587,3209,2462,1865,2164,2160,1858,1665,1991,2200,2519,2921,2414,2311,2821,2736,2211,1833,2200,2656,2163,2163,2398,2554,2577,2105,1652,1592,1884,2151,2302,2039,1809,2104,2192,2137,2670,2388,1756,1970,2080,2194,2072,2367,2132,2092,2943,2442,2693,2636,2041,2321,3107,3074,2529,2377,2066,1770,2248,2143,1915,2304,2449,2310,2029,1903,2329,2695,2978,3384,3105,3145,3711,3651,3111,2337,2562,2684,2250,2104,1996,2025,2226,2186,2261,2321,2336,1979,2364,1973,1662,1776,2382,2408,1998,1936,2061,1876,2154,2304,2222,2064,1971,1721,1672,1721,2031,2322,2417,2469,2197,1982,2038,2389,2596,2152,1645,1937,1940,1801,1958,1918,1912,1935,1965,1631,1387,1705,2087,1952,1819,2006,1554,1585,1475,1509,1722,1512,1403,1616,1384,1595,1840,2078,2485,2640,2654,2868,2630,2090,1904,1752,1531,2085,3373,3597,3863,3260,2172,1605,1754,2368,2126,1920,1830,1753,2123,2281,1981,1937,1946,1639,1713,1696,1592,1635,1841,1794,1610,1677,1696,1709,2365,2635,2042,1659,1935,1547,1642,1693,1656,1628,1432,1467,2234,2348,1780,1955,1500,1466,1694,2278,1834,1721,1788,1865,2097,2094,2007,2105,2404,2293,2326,2115,1720,1540,1440,1606,1506,1533,1882,1841,1621,1417,1726,1981,1946,1976,1699,1603,1459,1480,1473,1512,1425,1421,1444,1692,1931,1979,1587,1297,1353,1482,1597,1549,1778,1697,1427,1340,1563,1652,1410,1240,1469,1870,1952,1980,1761,1483,1515,1160,1155,1817,2091,1850,1611,1712,1732,1924,2299,2635,3235,3196,2943,2691,1988,1477,1951,2359,2314,2050,1766,1667,1687,2025,2169,1896,1955,1925,2081,2008,1709,1583,1616,1593,1641,1967,1797,1783,1645,1709,1762,2029,2398,2192,1751,1815,1846,2041,2103,2002,1900,1758,1588,2240,2867,2747,2267,2030,1969,2038,1827,1977,2315,2931,2996,2653,2465,2700,2801,2080,1758,1772,1820,1918,2193,2568,2105,1957,1899,1293,1622,2025,2508,2985,2809,2855,2996,2494,2603,3161,3120,2843,2809,2857,3175,2717,2601,2424,1949,2775,3386,2863,2132,1838,1960,1703,1770,1823,1655,1632,1688,1929,2186,1819,1647,1674,1676,1853,1843,1442,1857,2258,1981,2624,3335,3019,2675,2799,2331,2069,2414,2544,1997,1754,2020,2818,2653,1687,2419,2817,2530,2491,2017,1622,2124,2014,1542,2229,2878,2778,2807,2602,2663,2242,2121,3010,3063,2291,2239,2726,2670,2602,2140,2268,1987,1975,1832,1942,1925,1796,1513,1384,1519,1686,1653,1484,1343,1756,2272,2482,2010,1559,1800,1857,1789,2100,2443,2467,2376,2094,1892,1586,1499,1281,1560,1867,1560,1532,1708,1902,2211,2583,2478,2372,2315,1701,1915,2087,2474,2330,2536,2570,2316,2402,2076,1696,1528,1595,1554,1505,1472,1843,1951,1892,1520,1359,1451,1754,2230,2330,2492,2939,1768,1283,1809,1965,1459,1484,1512,1486,1721,1791,1611,1484,1489,1651,1741,1598,1726,1750,1709,1993,2271,2482,2170,1885,1895,2266,2089,1681,1923,1743,1944,3088,3151,2013,2126,2259,2310,2304,2144,2102,1746,1850,2552,2433,2445,2189,2006,2189,2110,2291,2512,2524,2094,1953,1842,1592,1526,1996,2526,1831,1556,1720,1844,1857,1870,1834,2031,1731,1268,1440,1388,1763,1943,2763,2342,1654,1405,1500,1633,1578,1567,1714,2246,2668,1776,1654,1995,2576,2730,2578,3061,3282,3296,3252,2883,2686,2896,3109,3063,2941,3097,3574,3907,3664,3584,3251,3407,3548,3397,3359,3404,3325,3164,2896,2808,2673,2778,2704,2691,2707,2658,2633,2652,2615,2620,2645,2587,2596,2788,2873,3108,2925,2511,2326,2223,2090,2715,3364,3291,3362,3762,3754,3969,4061,4177,4070,3916,3688,3827,3883,3438,3209,3373,2796,2687,2865,3068,3422,3178,3348,4308,4556,4320,3696,3885,3921,3507,3234,3282,3039,2925,2851,3006,3164,3185,3185,3096,2953,3023,3213,3211,3371,3388,3039,3065,3134,2209,1408,1291,1716,2830,3624,3521,3540,3680,3709,3728,3717,3819,4181,4049,3917,3560,3616,3701,3686,3695,3592,3198,2706,2370,2029,1848,1823,1709,1736,1893,2000,2043,2178,2176,2122,1805,1787,2436,3143,3420,2349,2187,2260,1974,2107,2561,2521,2038,2098,2639,3151,3864,4352,4456,3876,3640,4208,3776,3601,3554,3462,3234,3177,3191,3134,3492,4289,4300,3876,4048,4168,4228,4124,4024,3647,3423,3480,3517,3186,2564,2083,1574,1439,1434,1454,1582,1710,1507,1687,1937,2138,1852,1546,1562,1475,1853,2354,1909,1987,1891,2042,1995,2097,1660,1661,2041,2586,2530,2156,1864,1814,1896,1972,1804,1773,1905,1967,1883,1545,1532,1956,1642,1047,1149,1553,1639,1520,1404,1454,1704,1793,1614,1543,1565,1897,2316,2231,1967,1758,2136,2107,2326,2594,2380,1802,1747,1744,3873,5113,3272,2212,2144,1637,1541,1749,2437,3190,3518,3199,2833,1972,1760,1698,1976,2510,2527,2335,2301,2717,2842,3447,4081,3359,2432,2588,2186,1989,2091,2097,2470,2437,2180,1964,2105,2340,1840,1599,1555,1640,1731,1543,1488,1534,1560,1670,1889,2149,1908,1786,1910,1758,1983,2037,1949,2042,1946,1674,1769,2103,2471,2928,2803,2510,2290,1935,1934,2221,2007,1619,1762,1777,1892,2370,2377,2264,2731,2572,2510,2019,1252,1735,2364,2394,2448,2475,2516,2503,2443,2436,3131,2899,2635,2733,2762,2644,2543,2220,1707,1792,1974,1714,1633,2244,2272,1541,2055,2058,1816,2123,1957,1932,1954,1977,2598,3257,2752,1588,1692,2273,2244,2385,3132,3343,2641,2501,3464,3362,2380,2709,3271,2500,1825,1785,1713,1765,1834,2123,2184,2148,2621,2741,2123,1729,2217,2420,2350,1943,1633,1546,1400,1461,1561,1639,1807,1623,1615,2115,2297,2247,2509,3407,3340,3276,3445,3947,4166,3938,3468,2824,2864,3684,3427,3730,3740,3653,3551,3746,4235,4186,4175,4032,3639,3363,3331,3444,3471,3412,3342,3286,2968,3098,3480,2843,2410,2749,3021,3177,2659,1996,1957,1550,1946,1787,1947,1995,1999,1991,2102,2138,2156,2045,2030,2260,2168,2314,2241,2184,2125,1784,1621,1763,2526,2232,1996,2435,2877,3178,3393,3269,3149,3755,3123,2745,2844,2796,3162,3471,3509,3829,3736,3564,3344,2898,2783,2912,3038,3254,2995,2644,3001,2962,2789,3194,3123,2894,3117,2944,3143,3319,3466,3471,3333,2743,2821,2995,3043,3228,3542,2764,1809,1520,1399,1336,1540,1434,1606,1813,2142,2186,1639,1368,1457,1436,1451,1691,1913,1785,1576,1563,1726,2116,2132,2379,2423,2879,3001,2321,2364,2424,1709,2014,2038,1932,2014,1992,2108,2454,2008,1671,1761,2601,3854,3641,3476,3273,3325,3742,3510,2551,2110,2047,1708,1654,1794,1880,2452,2811,2318,2173,1849,1919,1751,1437,1300,1562,1762,1607,1371,1429,1494,2131,2483,1978,1752,1754,2025,2226,1942,1779,1542,1411,2100,2649,2394,2868,3451,3451,3551,3681,3499,3133,2565,2131,2169,2118,2025,2210,2689,3200,2774,1866,1763,1777,1599,1213,854,889,1362,1809,2195,2830,3517,3388,3170,3377,2909,2268,2209,2126,2257,2600,2692,3254,3827,3505,3168,3360,3520,3692,3541,2699,2175,2860,3414,3702,3761,3670,3604,3480,3308,3502,3773,3885,3597,3114,2543,2243,2555,3245,3029,2484,2625,2262,2243,2554,2125,2287,2986,3219,2823,2785,3094,3367,3146,2611,2632,2788,2294,2399,2796,2390,2327,2304,2819,3079,3330,3827,3783,3063,3361,3138,1719,1704,1660,1486,1852,3065,3098,2630,2192,1513,1549,1707,2038,2381,2632,2574,2462,2519,2459,2419,2435,1820,1646,1826,1920,1829,2155,2177,2329,2300,2240,2924,3339,2796,2297,2371,2096,2353,2320,2351,2237,1975,2428,2745,2355,2077,2087,1951,2256,2432,2736,2345,2112,2155,2177,2465,2953,3543,3840,3702,3606,3472,2863,2745,3043,3118,2864,2327,1855,1775,2020,2109,2367,3133,3443,3399,2563,1672,1750,2308,2357,2358,2470,2787,3388,3341,2129,1996,2374,2783,3025,2598,2291,1758,2043,2858,2668,2827,3531,2662,1743,1937,1954,1657,1457,2320,2888,3050,2776,2554,2701,3139,3263,2793,2329,2261,2967,3522,3124,2174,2094,2447,2619,2908,3807,4121,2899,1806,1743,1756,1972,2819,3351,3450,3584,4028,4256,4272,4312,4320,4007,3509,2832,2151,2207,2517,2798,3582,3829,3581,3504,3442,3344,3277,3384,3555,3438,3557,3809,3604,3273,3142,2642,2269,1891,1770,2136,3265,3261,2313,2119,2532,2776,2532,2290,1765,2183,2863,3265,3631,3145,2745,2514,2268,2129,2643,3299,3852,3521,2801,2900,3405,3405,3419,3465,3455,3771,4174,3950,3383,3290,3630,3770,3637,3759,3926,4380,4661,4184,3370,3125,3119,2776,2584,3256,3549,3060,2089,2166,2897,2983,2994,2669,2809,2988,2802,2928,2962,3585,3476,2708,2358,2444,2415,2379,2808,3053,2423,2104,2212,1961,2005,2621],[2376,2618,2819,2897,2896,2711,2793,2792,2812,3063,2910,2926,3349,3618,3650,3608,3627,3637,3340,3166,3185,3084,3029,3002,3032,3087,3144,2957,2706,2754,2892,3028,2504,2401,3010,3436,3243,2590,2054,2227,2331,2563,2347,2155,3442,3936,3851,3779,3654,3985,4067,3768,3208,2397,2266,2048,1992,1552,1802,2016,2197,2359,2475,2548,2788,3256,2900,2287,2018,1727,1476,1697,2225,2325,2809,3496,3631,3049,2409,2387,2048,2894,2957,2623,2635,2756,2239,1885,2160,2259,1740,1405,1926,2843,3462,3428,3681,3539,3420,3212,2935,2395,2940,3313,3130,2644,2171,1851,1590,1644,1748,1587,1737,1685,1932,2811,2421,1767,1413,2007,2775,3053,2556,1993,2145,1782,1816,2814,2979,2424,1999,2150,2265,2037,2052,1969,1635,1819,2579,2750,2758,2554,2454,2711,2570,2433,2520,2139,2251,2320,1973,2034,2259,2432,2292,2297,2295,2243,2200,2501,2902,2488,2586,2348,2120,2031,2185,2308,1788,2331,2826,2476,2229,1972,2508,2358,1988,1740,1998,2250,2342,2374,2018,1834,1844,2418,3198,3118,2370,2085,2014,2147,1998,1984,2065,1862,1928,2089,2152,2390,2529,2113,1789,1711,2227,2369,2342,2370,2154,2438,2504,2026,1723,1643,1774,2144,2386,2164,1803,1988,1925,2352,3332,2866,1810,1857,2050,2266,2039,2155,2232,2082,2060,1914,1858,1955,2555,2924,2776,2292,2244,2071,2209,1887,2126,2206,1809,1912,2639,2624,2220,2535,3046,3550,3263,2587,2343,2305,2812,3063,3146,2667,2555,2322,2087,2380,2467,2452,1880,2196,2328,2379,2729,2350,2426,2203,1636,1577,1941,2069,2026,1926,1764,1804,2940,2556,2193,1894,1766,1514,1602,1772,1846,1831,2131,2687,2454,2828,2735,2656,2537,1698,1715,2334,2121,1826,1860,1782,1832,1889,1911,1712,1542,1389,1974,1786,1588,1651,1518,1673,1623,1682,1911,1754,1633,1947,2040,2440,2809,3056,2742,2230,2098,2341,2428,2282,2148,1863,1627,1932,2484,2266,2424,2690,2331,2002,1980,1873,1888,2176,2062,2028,1870,2005,1961,1927,1844,2127,1746,2148,2272,1665,1826,1699,1470,1430,1590,1770,2110,2187,2203,1764,2238,1874,1716,1742,1654,1650,1527,1881,2250,1559,1371,1598,1634,1567,1528,1870,1672,1738,1731,1738,1982,1878,1792,2209,2322,2159,2270,2096,1601,1418,1460,1846,1906,2169,2604,2155,1604,1165,1487,1809,1699,1904,1797,1517,1497,1593,1536,1369,1410,1536,1222,1288,1456,1445,1506,1375,1440,1813,1970,1848,1906,1707,1410,1432,1672,1511,1380,1292,1777,1532,1695,1930,2027,1819,1483,1301,1402,1456,1586,1525,1805,2338,2216,2139,2674,2710,2981,3155,2978,2832,1949,1231,1993,2424,2250,1675,1754,1779,2140,2630,2421,1806,1595,1546,1682,1858,1742,1419,1467,1615,1597,1678,1644,1606,1943,2767,2864,2247,2360,2249,1832,1954,2126,2336,2322,2002,1904,1634,1679,2197,2262,1591,1563,1876,1598,1451,1752,2382,1973,2008,1803,1693,2398,3117,3230,2468,1914,1692,1594,1809,2092,2203,1950,1654,1333,1454,1793,2161,2688,3331,3253,2783,2702,2065,2438,3331,3807,3259,3004,2634,2885,3018,3186,2530,2228,3172,2815,2259,2052,1678,1924,2452,2215,1697,1434,1477,1644,1748,1628,1466,1485,1819,2076,2045,1914,1632,1712,1881,1823,1867,2451,2698,2891,3248,3274,2758,2790,2820,2312,1987,2600,3095,2117,1947,3196,3401,3054,2629,1991,1849,1896,1758,1925,2489,3566,3759,3406,2701,2640,2745,2366,2232,2454,2261,1976,2185,1948,1681,1597,1832,1644,1695,1957,2016,1991,2080,1833,1437,1613,2243,2337,1582,1436,1614,1914,2085,1919,1734,1768,1638,1586,2220,2896,2899,2464,2165,2530,2083,1566,1497,1608,1702,1552,1367,1377,1638,2400,2661,2031,1982,1610,1356,1632,1983,2134,2250,2358,2068,2070,2270,2068,2051,1981,1662,1604,1833,1739,2203,1869,1443,1490,1418,1363,1469,1759,2245,2469,2890,2256,1749,1907,2048,1610,1499,1580,1561,1634,1616,1594,1679,1868,1997,1890,1629,1836,1625,1509,2106,2586,2235,1770,1755,1886,1779,1803,1735,1898,2020,2260,2301,2019,1891,2598,2908,2131,1803,1946,1790,1432,1797,2578,2826,2723,2128,2152,2468,2467,2323,2568,2469,2313,2730,2232,1916,1647,1722,1915,1697,1578,1591,1687,1753,1663,1837,2296,2178,2024,1737,1314,1637,1958,2830,2175,1466,1386,1575,1684,1634,1956,2241,2416,2413,1696,1801,2421,2706,2636,3010,3205,3164,3406,3264,2963,2821,2902,2920,2852,3096,3441,3647,3695,3835,3728,3451,3494,3482,3448,3548,3770,4002,3539,3067,3108,2915,2755,2723,2776,2747,2610,2626,2814,2718,2609,2612,2788,2669,2724,2691,3262,3128,2590,2466,2330,2048,2381,3230,3662,3598,3887,3775,3921,3369,3498,3902,3792,3740,3549,3454,3462,3807,3792,2889,2873,3109,3055,3188,3190,3536,3974,4585,4156,3363,3585,3362,3118,2999,3008,2842,2823,2808,2868,2878,2849,2942,3040,2927,2854,2944,3062,3131,2666,2369,2866,2326,1130,1397,2602,3399,3709,3828,3936,3795,3761,4115,4200,4167,4161,4304,3826,3584,3406,3442,3406,3332,3011,2540,2116,1880,1818,1743,1760,1841,1918,1994,2164,2368,2263,2326,2254,1934,1720,1632,1894,2337,2790,2341,1947,2186,2354,2874,3230,2800,1993,1961,2777,3733,4075,4135,4255,3875,3387,3448,3665,3807,4168,3938,3285,3231,3174,3129,3208,3785,3930,3737,3873,4099,4154,4095,3901,3331,2805,3007,3564,3711,2966,2511,1878,1581,1512,1647,1512,1359,1353,2060,3028,2762,1811,1563,1610,1754,1651,1640,1530,1588,1750,1715,1633,1758,1670,1635,2009,2173,2536,2814,1854,1733,2160,2074,1601,1791,1797,1756,1897,1769,1714,1872,1704,1447,1447,1538,1596,1686,1629,1529,1521,1496,1534,1599,1783,2141,2148,2181,2230,1743,1666,1802,2420,2831,2803,2404,2102,1976,3120,3916,2780,1679,1526,1599,1649,1989,2656,2843,2769,3077,2647,1996,1970,1990,1870,2358,2548,2486,2612,3146,3294,3203,3482,3348,3061,2658,2397,2695,2720,2583,2588,2295,2104,1979,2567,2288,1694,1685,1573,1434,1427,1416,1378,1373,1549,1496,1632,1898,1898,2039,2030,2002,1754,1552,1941,2364,2253,2091,2065,2406,2426,2496,2202,1817,2057,2336,2187,1921,1600,1484,1748,1696,1696,2084,2119,2288,2808,2545,2086,1579,1422,1949,2298,2338,2404,2644,2703,1777,1457,1415,2094,2352,2434,2343,2192,2295,2115,1631,1678,1956,2120,1879,1810,2189,2410,2349,2533,2092,2062,2185,2070,2532,2691,2227,2386,3140,3162,2095,1724,1798,1704,2060,3274,3222,2630,3349,3728,3470,2902,2621,2918,2713,2056,1549,1862,2287,2038,2045,2308,2646,2747,2643,2276,1981,2233,2045,1738,1542,1478,1470,1470,1664,1757,1698,1594,1428,1461,1488,1798,2276,2766,3492,2916,2294,2676,3632,3891,3313,2826,3090,2751,3518,3392,3530,3392,3373,3798,4284,4415,4279,4072,3762,3422,3339,3466,3617,3562,3439,3437,3322,2689,2491,2942,3183,2768,2883,3205,2692,1772,1830,1699,1958,2067,1663,1744,1848,1912,1906,1906,1944,2103,2011,1896,1926,1918,2150,2285,2131,2039,1970,1958,2090,2280,1858,1494,2015,3153,3337,3508,3591,2967,2976,2098,1545,1504,1628,2332,3109,3669,4056,3833,3128,2908,3229,3110,2987,3165,2935,2371,2239,2663,2788,2674,3009,2823,2495,2907,2601,2906,3410,3384,3498,3144,2514,2354,2458,2642,3356,3206,2597,2069,1566,1432,1474,1564,1671,1762,1899,2000,1517,1367,1664,1724,1660,1848,2029,2164,2436,2278,1776,1616,2037,2214,2297,2830,3100,2986,2241,1967,1860,1647,1903,2180,2315,2020,1636,2176,2508,1879,1834,2151,3169,3951,3685,3868,3445,2940,3461,3131,2476,2244,2105,1750,1621,1543,1643,2286,2941,2446,1933,1862,2174,1713,1420,1417,1494,1875,2137,1546,1487,1683,2088,2222,1898,1706,1647,2032,2333,1982,1870,1476,1558,2416,2604,2042,2520,2891,2508,2927,3273,2820,1903,1668,1898,1808,2134,2659,2741,2709,2979,2258,1831,1830,1780,1716,1679,1482,1074,867,1542,2824,2895,3396,3693,3875,3854,3222,3115,3296,3145,3060,2973,2678,2872,3284,3168,2414,2279,3031,3586,3333,2945,2968,3150,3386,3613,3692,3601,3708,3646,3492,3547,3782,4028,3605,3583,3352,2611,2485,3155,2891,2622,2589,1981,1820,1909,2336,2548,2343,2788,3072,2810,2820,3174,3084,2647,2668,2762,2469,2564,2514,1751,1798,1845,2484,2843,3115,3780,3554,3137,3559,2590,1716,1792,1887,2001,2060,2858,2847,2133,1628,1706,1759,1948,2281,2362,2258,2077,2314,2126,2570,2962,2469,1903,2076,2078,1857,2238,2503,2566,2786,2491,2758,3265,3475,3119,2524,2291,2136,2179,2403,2575,2259,2263,2504,2444,1788,1520,1444,1764,2004,2119,2170,1743,2000,2505,2420,2916,3420,3186,3508,3651,3630,2620,2509,2639,2710,2884,2535,1832,1278,1818,2531,2767,3229,3555,3285,3416,3186,2088,1802,1951,2186,2529,3172,3895,3687,2831,2160,2378,2348,2728,2884,2267,1830,1821,2588,3184,2775,2942,3521,2358,1644,1982,1666,1238,1312,2105,2639,2599,2302,2413,2514,2837,3022,2403,1876,1824,2272,2698,2778,2824,2618,2840,2829,2412,3136,4304,3608,2134,1742,2050,1816,2370,3222,3552,3585,3988,4318,4291,4143,4067,3698,3664,2984,2468,2728,2968,2690,3128,3665,3536,3199,3031,3066,3283,3516,3406,3544,4047,3647,3261,3045,2941,2876,2691,2400,1902,2139,3055,2622,1917,2181,2190,2370,2209,2152,1964,2100,3100,3518,3442,3275,3189,3248,3037,2722,3541,3616,3297,2766,2347,2186,2879,3480,3596,3372,3491,3838,3850,3358,3410,3272,3354,3375,3218,2939,3143,3983,4168,2821,2087,2621,2880,2888,3032,2998,3418,3610,2823,3060,3406,3153,3144,3090,3527,3674,2885,3065,2829,2866,2758,2420,2032,2130,2198,1936,1991,2241,2206,2036,1742,1722,2285,3041],[2402,2500,2701,2697,2369,2313,3145,3075,2685,2879,2993,3030,3543,3493,3513,3534,3655,3852,3852,3760,3533,3340,3213,3002,3075,3211,3496,3278,3032,2986,3066,3073,2880,3010,3329,3212,2828,2434,1867,1724,1880,2344,2380,2773,3869,4141,3798,3126,2413,3037,3796,3598,2757,2120,2209,2309,1946,1756,2017,2280,2442,2401,2576,2777,3498,3374,2100,1967,1903,1699,1685,2125,3141,3384,3245,2962,2670,2880,2605,2601,2862,3497,3285,2684,2788,2569,1749,1270,1509,1880,1698,1578,2067,2525,2902,3226,3536,2798,2823,2952,2699,2620,2753,2929,2964,2498,1714,1699,1710,1625,1807,1782,1642,1884,2438,2262,1507,1374,1566,1984,2440,2494,2276,2235,1903,1792,2074,2564,2996,3222,2746,2480,2209,1847,1729,1589,1876,2075,2530,2626,2555,2557,2555,2607,2432,2049,2138,2433,2699,2310,2017,2051,2093,2487,2491,1988,2084,2622,2858,2623,2388,2187,2545,2621,2353,2416,2811,2499,1859,2277,2754,2182,1854,1998,2117,1987,1914,1843,1854,1900,2104,2369,2302,1841,1836,2542,2774,2296,2335,2521,2496,2180,1852,2427,2519,2016,2044,2216,1993,2270,2767,2144,1799,2121,2590,2641,2424,2226,2239,2305,2055,2046,1847,1854,1688,2281,2521,2274,2364,2109,2082,2483,3000,2611,2223,1786,2114,2001,1653,1752,2136,1967,1617,1794,1768,1528,2379,3176,2951,2288,2101,1658,1827,1763,1873,1996,1564,1662,2409,2722,2576,3146,3365,3463,3284,2939,2299,2349,2552,2702,2984,3107,2887,2433,2680,3226,3829,3235,2135,2243,2479,2252,2530,2288,1808,1916,1765,1711,1704,1727,2040,1892,1788,2556,3230,2994,2187,1848,1919,1865,1866,1932,2145,1779,2297,3059,3337,3761,3466,2953,2492,1654,1644,1890,1681,1743,1973,1630,1771,1928,2023,2281,2065,1799,2001,1638,1470,1444,1602,1938,1541,1528,1620,1738,2014,2139,2392,2298,2273,2266,2138,2189,2334,2424,2700,2967,2274,1662,1666,2141,2225,1947,2264,2237,1771,1938,2527,3256,3065,2856,2557,2167,1661,1700,1945,1709,1559,1576,1424,2337,2544,1802,1937,1751,1840,2026,2173,2108,2019,1971,1861,1684,1985,1840,1679,1691,1417,1548,1544,1550,1422,1227,1422,1672,1825,1725,1483,1367,1403,1456,1461,1614,1710,1642,1731,1743,1981,2321,2303,1864,1730,1596,1632,2136,2549,2543,2272,1566,1476,1723,1438,1494,1805,1875,1559,1391,1388,1336,1536,1398,1433,1614,1460,1468,1571,1426,1521,1413,1583,1963,1848,1770,1672,1438,1240,1353,1410,1464,1695,1768,1635,1347,1400,1650,1988,1980,1773,1544,1404,1374,1466,1524,1962,2251,2121,2176,2427,2655,3279,3616,3242,3272,2873,1772,1826,1873,1620,1570,2199,2315,2323,2092,1995,2098,1688,1570,1724,1867,1857,1465,1286,1613,1732,2089,2237,1922,1893,2566,2745,1975,1860,2299,2092,2106,1995,2041,1936,1647,1560,1703,1930,2002,1981,1831,1713,1590,1727,1728,1904,1999,1798,1848,1808,1656,2019,2689,2621,2451,2134,1757,1401,1487,1685,1693,1655,1316,1444,1794,2168,2524,2653,2950,2833,1903,1936,2091,2655,3315,3554,2640,2519,2337,2267,3144,3787,3154,2579,2742,2095,1803,1979,2015,2037,2241,2143,1644,1494,1547,1610,1616,1628,1873,1835,2238,2579,2341,1779,1763,1772,1554,1560,1643,1745,2124,2911,3397,3090,2899,2807,2657,2142,1941,2408,2563,1891,2566,3355,2750,2802,3043,2581,2374,1930,1907,2575,2698,3210,3445,2842,2325,2972,3363,2615,1880,2237,2198,1901,2115,1824,1648,1687,1757,1695,1596,1875,1932,1752,1955,1987,1704,2159,2776,2884,2352,1906,1725,1760,1771,1797,1791,1864,1870,1740,2074,2266,2514,2046,2414,2862,2155,1600,1536,1655,1653,1541,1498,1433,1478,2540,2715,2134,2359,1980,1529,1769,1949,1958,2171,2271,2327,2310,2233,1712,1663,2057,2105,1951,1792,1738,2194,1878,1567,1596,1382,1455,1786,2032,2393,2432,2423,2247,1970,2159,1937,1508,1611,1621,1499,1611,1697,1797,1925,2078,1841,1680,1589,1573,1630,1645,1697,1735,1588,1451,1533,1545,1489,1872,1795,1847,2225,2476,2203,2032,2003,2534,2475,1753,1525,2270,2245,1782,1969,2490,2745,2398,2265,2484,2530,2701,2660,3034,2927,2889,2759,2051,1921,1915,1788,1834,1636,1556,1844,1637,1700,2192,2559,2198,2102,2169,1729,1553,1520,1794,2154,1840,1682,1868,1627,1571,1914,2393,2332,2277,2243,2032,2323,2646,2498,2611,3197,3223,3205,3207,3160,3341,3164,3017,2873,2832,3154,3460,3517,3362,3337,3197,3050,3204,3384,3469,3544,3581,3855,3854,3465,3514,3320,2841,2779,2714,2781,2806,2986,2887,2686,2756,2951,3286,2965,2812,2882,3019,3000,2790,2585,2344,2000,2172,2724,3620,3585,3329,3427,3473,2909,3054,3283,3425,3399,3000,3090,3172,2968,2913,3060,2985,3063,3096,3167,3348,3691,4122,4684,4499,3482,3293,2983,2972,2940,2877,2752,2802,2820,2767,2734,2691,2732,2907,2912,2886,2980,2987,2862,2663,3073,2765,1365,1403,2876,3414,3409,3851,4311,4728,4649,4356,4609,4476,4001,3762,3855,3736,3515,3470,3210,2784,2376,1987,1813,1785,1759,1750,1848,1845,1726,1671,1562,2113,2730,2192,1798,1950,1964,1827,1660,1637,1982,2565,2309,1843,1974,2806,3692,3386,2829,2482,2294,2608,3650,3937,3894,4013,4363,4290,3837,3693,3759,3996,4014,3434,3195,3130,3098,3156,3440,3852,3930,3841,3950,4045,3925,3556,3131,2925,3128,3399,3294,2354,2335,2194,1825,1814,1950,1566,1488,1602,2070,2768,2517,1613,1548,1471,2087,1794,1499,1465,1626,1911,1758,1713,1910,1840,2003,2126,2083,2621,2657,1922,1925,2088,1727,1474,1582,1564,1624,1814,1897,1820,1709,1756,1847,1628,1447,1617,1697,1444,1433,1495,1542,1692,1796,2169,2263,2062,2349,2407,1924,1686,1932,2408,2721,2613,2320,2287,2326,2765,3177,2753,1926,1909,1717,1786,2114,2334,2937,2762,1657,1870,2237,1963,1899,1978,2113,2108,2224,2469,2468,2461,2477,2479,2467,2414,2238,2292,2344,2569,2504,2329,2404,2200,2121,2351,2000,1602,1650,1595,1478,1423,1499,1599,1715,1503,1192,1259,1790,2186,2222,2019,1896,1769,1550,1938,2464,1981,2198,2461,2115,1765,2045,1835,1394,1782,2230,2188,2036,1988,1533,1580,1873,2245,1945,1813,2082,2610,2546,2186,1916,2087,2205,2387,2597,2676,2898,2992,2394,1906,1236,1382,2002,2352,2260,1885,2156,2376,1856,2015,2176,2409,2121,2123,2354,2537,2450,2698,2472,2231,2407,2482,2566,2468,2063,2165,2586,2683,2207,1736,1499,1406,1811,2831,3279,3044,2797,2580,2765,2567,3088,3292,3119,2576,1824,2074,2200,1982,2244,2513,2438,2570,2592,2207,1953,1896,1712,1601,1567,1486,1448,1612,1731,1684,1704,1475,1464,1406,1633,2289,2569,2965,3375,3071,2772,3224,3660,3558,3028,2619,3063,2551,3064,3030,3143,3376,3327,3591,4176,4295,4047,3498,3491,3353,3331,3560,3587,3495,3560,3594,3364,2906,2664,2933,2875,2410,2797,2919,1960,1809,1815,1664,1976,1700,1615,1840,1801,1765,1836,1887,1900,2099,1883,1749,1925,1866,1975,2027,1963,1976,1881,1622,1557,1642,1449,1568,1983,2691,2934,3072,3544,3055,2320,1666,1414,1399,1616,2114,3046,3361,3697,3464,3272,2817,2932,3419,3307,2777,2009,1861,2174,2521,2481,2242,2684,2755,2558,2759,2369,2844,3515,3592,3207,2732,2469,2243,1934,1883,2707,2452,2262,2169,1772,1555,1518,1530,1726,1881,2071,2097,1729,1882,2020,1942,1478,1466,1758,1864,2126,2107,1750,1505,1712,2019,2131,2540,2521,2410,2007,1836,1506,1700,1867,1702,2322,2708,2475,2815,2752,2127,2080,1998,2827,3397,3519,3671,3588,3399,3341,2811,2081,2084,2204,1716,1665,1766,1665,2114,2300,2154,2194,2092,1953,1665,1343,1528,1614,2014,2666,1858,1957,1914,1548,1578,1434,1452,1471,2322,2576,1905,1941,1581,1808,2242,1890,1699,2128,2569,2695,3279,3404,2562,2009,2168,2024,1936,2810,3240,3539,3305,3001,2366,1864,1766,1807,1697,1937,2513,2381,2024,2059,2853,3021,3249,3834,4070,4026,3840,3875,3704,3274,3095,3067,2962,2854,3128,3468,2700,2791,3204,3614,3042,2539,2662,2907,3425,3626,3616,3709,3684,3676,3663,3774,4071,4177,4029,4197,3910,3083,3008,3184,2811,2842,2667,2514,2692,2249,2825,2708,2204,2477,2488,2522,2738,2976,2850,2286,2328,2242,2530,2844,2387,1941,1962,1696,1800,2162,2679,3036,2936,3336,3852,1957,1959,2153,2139,2149,1966,2300,2993,2768,2212,1692,1509,2050,2640,2941,2482,2054,2060,2012,2600,3093,2603,2728,3084,2017,1571,1841,2325,2662,3062,2645,2847,3445,3687,3445,3047,2696,2444,2305,2232,2234,2364,2766,2566,2405,2230,1881,1821,2038,2099,2412,2899,2847,2375,2306,2462,3088,3251,2760,2998,3323,2671,1885,2315,2540,2431,2375,2010,1698,1788,2780,2770,2623,3119,3385,3200,2830,2666,2365,1621,1678,1897,2357,3198,3151,2720,2134,2512,2237,2543,3116,2762,2447,1931,1953,2781,3183,2812,2720,2835,2472,2323,1997,1544,1507,1807,2032,2149,2225,2322,2382,2264,2113,2204,2075,1942,1659,1838,2652,2910,2906,2941,2973,2846,2018,2378,4043,4116,2824,1739,2221,2119,1960,2743,3421,3665,3948,4261,4273,4073,3890,2723,3399,3152,3133,3478,3024,2869,2940,3255,3372,3123,2946,3085,3464,3726,3574,3821,3728,3461,3312,2789,2805,2829,2943,2834,2329,2585,2918,1798,1619,1721,1854,2110,2165,2254,2464,2813,3208,3265,3111,3255,3415,3119,2960,3326,3118,2566,2319,1984,1969,2309,2653,3122,3391,3367,3497,3574,3716,3429,3016,2729,2910,3224,3233,2818,2671,3105,2955,2660,2554,2540,2635,3179,2941,2647,3241,3871,3797,3715,3273,3043,2990,2667,3322,4244,4288,4078,3030,2574,2930,3006,2666,2459,2265,2158,2219,2369,2620,2274,1693,1918,3089,3748],[2619,2621,2546,2378,1933,2091,3124,3239,2890,3340,3686,3494,3005,2986,3436,3666,3886,3852,3957,3826,3819,3772,3542,3120,3119,3264,3474,3587,3430,3167,3222,3480,3696,3969,3861,3318,2518,2240,2223,2046,1769,2072,2395,2998,3985,3877,3713,3482,2424,2404,3130,3423,2476,2043,2177,2367,2245,2376,2282,2198,2340,2459,2842,3231,3673,2924,1949,2125,1929,1571,1869,2734,3537,3529,3233,2618,1939,2563,2548,2763,3300,2980,2769,2392,2520,2437,1846,1537,1679,1929,1838,1620,2260,3186,3664,3566,3636,3227,3508,3437,3061,3318,3206,2786,2072,1619,1240,1568,1583,1463,1702,1949,1730,1750,1979,1790,1732,1983,2146,2136,2345,2537,1893,2165,2184,2629,2763,2551,3164,3494,3388,3211,2332,1864,1991,2139,2643,2618,2734,2657,2556,2653,2729,2833,2425,2038,2440,2462,2519,2117,2078,1974,2244,2198,2176,1768,1553,2056,2198,2129,2597,2740,2834,2303,2207,2470,3165,3303,3000,2807,2430,1947,1956,1999,1936,2030,2261,2453,2323,2172,2173,2089,2342,2123,2147,2735,2588,2257,2567,2656,2598,2353,2147,2388,2521,2523,2671,2447,1902,2480,2576,1880,2260,2785,2618,2551,2402,1843,2065,2175,1978,2018,1842,1931,1952,2360,2494,2202,2236,2232,2774,2811,3146,2567,2109,1735,1892,2272,2221,1989,2287,2612,2562,2222,2276,1750,1720,2652,2574,2232,1778,1566,1606,1698,2198,2255,1698,1873,2637,2558,2409,3249,3673,3501,3423,3043,2578,2936,3019,2459,2402,3069,3185,2562,2998,3435,4039,3796,2756,2326,2521,2320,2549,2611,1958,1618,1732,1892,1859,1776,2036,2144,2906,3561,3580,3141,2378,2054,2004,2363,2466,2128,2249,2292,2469,3039,3342,3511,3293,3031,2441,1541,1529,1766,1740,1727,1554,1474,2049,2125,1962,2176,2109,2009,1876,1527,1470,1584,1756,2162,1520,1448,1535,1744,1921,2093,2031,1842,1834,1881,2188,2767,3083,3075,3619,3071,2008,1510,1437,1757,2176,2475,2712,2250,1684,1609,2625,4052,4037,3630,2973,2431,1758,1829,2355,2182,1950,1950,2168,2940,2842,1953,1592,1781,1938,2510,2409,2302,1884,1605,1704,1805,1686,1651,1865,1771,1532,1814,1697,1506,1602,1629,1670,1742,1706,1835,1722,1708,1776,1715,1687,1795,1576,1572,1324,1383,1741,2050,2225,2377,2236,1836,1926,2425,2752,1847,1367,1300,1646,1655,1497,1418,1597,1677,1527,1678,1440,1638,1892,1528,1595,1505,1527,1453,1425,1498,1540,1463,1627,1671,1570,1721,1578,1494,1508,1581,1474,1445,1648,1733,1400,1125,985,1418,1947,2012,1988,1747,1633,1543,1484,1409,1536,1558,1579,1814,2189,2222,2788,3627,3291,3601,2916,1967,1663,1819,1764,1755,2120,2338,2187,2169,2280,2692,1903,1545,1545,1763,1667,1493,1510,1576,1686,2022,2052,1731,1631,1925,2528,2391,2232,2415,2066,2086,2467,2178,1722,1723,1738,1686,1782,1618,1775,2068,1759,1775,1982,2031,1748,1577,1878,1944,1772,1621,1564,1931,1951,2269,2072,1635,1383,1580,1954,2153,1722,1481,1786,1945,2288,2655,2637,2666,2055,1900,2238,2700,3163,3222,2668,1919,2272,2454,2210,2764,3453,3276,2728,2049,1694,1552,1552,1963,2081,1851,1610,1730,1615,1338,1506,1643,1948,2157,2180,3069,3107,2407,1826,1766,1613,1464,1668,1802,1498,1347,1813,2308,2855,3360,2861,2406,2103,1967,2111,2070,1721,2454,3167,2500,2446,2909,2599,2576,2244,2332,2604,2876,3031,3311,3121,2441,2674,2745,2240,2012,2398,2437,2238,2316,2000,1770,1772,2000,1823,1505,1746,2049,1960,2205,2014,1872,2327,2568,2858,2746,1952,1779,1894,1958,2009,2023,2530,2361,2087,1893,1857,2022,2211,2585,2372,2153,1816,1588,1684,1667,1639,1661,1648,1420,1887,2149,2281,2302,1801,1691,2115,1996,1623,1970,2478,2392,2374,2171,1757,1534,1588,1712,1806,1697,1947,2381,1679,1613,1614,1422,1548,1760,1614,1806,1924,1786,1541,1743,2026,1932,2102,1768,1635,1719,1655,1628,1582,1829,1984,1714,1587,1516,1498,1558,1634,1689,1765,1471,1484,1633,1556,1376,1776,2177,2527,2863,2652,2456,2080,1748,1745,1708,1818,1728,2875,2641,1833,1717,2033,2037,1650,1857,2266,2457,2931,3082,3068,2900,2832,2415,1794,1789,1996,2099,2225,2145,2352,2604,1859,1819,2265,2332,1855,1771,1723,1744,1743,1437,1692,2096,1868,2012,2333,1695,1532,2061,2462,2462,2634,2466,2234,2308,2447,2377,2609,3162,3275,3275,3166,3075,3307,3131,2934,2795,2916,3199,3370,3042,2684,2727,2807,2843,3003,3222,3531,3685,3366,3515,3882,3848,3996,3749,3255,3485,3098,2990,2879,3313,2843,2567,3090,3362,3467,3112,2867,2949,3162,3285,3231,3183,2807,2100,2110,2326,3419,3883,3635,3732,3782,3544,3341,3196,3575,3706,3352,3261,3111,2891,3057,3086,2934,2941,3174,3248,3086,3653,4364,4777,4792,4026,3256,2938,3034,3016,2921,2844,2829,2803,2788,2734,2701,2687,2812,2793,2768,2864,2945,2764,3045,2938,1638,1157,2666,3902,3237,3263,3840,4652,4784,4756,4582,4283,4070,3858,3465,3544,3498,2877,2402,2128,1879,1715,1694,1773,1814,1808,1832,1643,1402,1366,1448,1582,2098,2413,1744,1411,1710,1593,1676,1622,1462,1452,1416,1549,1763,2039,2894,3584,2922,2806,3074,3283,2820,3086,3211,3323,3854,4109,4020,4080,3941,3648,3866,3677,3433,3122,3064,3133,3295,3586,3768,3693,3908,4245,4002,3693,3327,2998,2930,3060,2807,2541,2545,2979,2430,1923,2317,2121,1567,1739,1626,1559,2056,2380,2046,1746,1522,1706,1530,1312,1303,1719,1875,1626,1572,1687,1842,2300,2019,1632,1827,1804,2253,2360,2025,1834,1609,1449,1448,1431,1535,1700,1732,1578,1780,2057,1830,1769,1863,1729,1590,1413,1347,1703,2526,2901,3120,3087,2730,2147,2195,2326,2018,1935,2305,2654,2562,2281,2381,2450,2806,3020,2643,2441,2314,1891,1943,2226,2433,3168,3022,1640,1898,2482,2226,2399,2337,1947,2361,2865,2832,2607,2552,2559,2124,1606,1592,1621,2092,2440,2146,2480,2424,2282,2296,2214,2121,2398,2450,2018,1495,1513,1446,1570,1604,1627,1345,1237,1406,1878,2291,2325,2200,2066,2107,1701,1890,2358,1910,2101,2082,1718,1982,2707,2362,1650,1838,2158,2512,2295,2001,1521,1692,2021,2601,2007,1770,2365,2562,2680,2580,2283,2367,2068,2293,3016,3141,3123,2724,2644,2558,2060,1783,1895,2294,2671,2134,2191,2208,1981,2326,2356,2296,2127,2105,2465,2627,2623,2695,2412,2305,2373,2359,2397,2281,2316,2802,3274,3032,2391,1811,1399,1302,1580,1960,2072,2081,2075,2160,3112,3072,3391,3211,3342,3060,2171,2023,2061,1912,2532,2289,2160,2179,2130,1708,1713,1920,1780,1530,1421,1495,1421,1546,1605,1607,1591,1614,1869,1560,1865,2476,2308,2547,3584,3514,3609,4060,3930,3571,3396,3349,3531,2911,2569,2613,2639,2543,2510,3141,3672,3869,3892,3617,3557,3370,3200,3482,3588,3473,3604,3563,3231,3051,3129,3045,2403,2102,2138,1990,1830,1888,1616,1646,1810,1670,1726,1794,1775,1988,2027,2119,2022,2123,1884,1926,2132,2274,2328,1936,1699,1764,1541,1531,1705,1932,2047,2242,1885,1986,2063,1859,2164,2833,2757,1806,1584,1711,1816,2016,2523,1976,2221,2578,3297,3038,3001,3454,3459,2788,1969,1809,1918,2264,2826,2720,2652,2852,3125,3016,2821,2867,3181,3671,3134,2311,2029,1792,1849,1730,1999,2118,2026,1848,1580,1524,1583,1516,1681,2116,2103,1858,1853,1896,2104,2104,1665,2059,2116,1604,1756,1968,1697,1840,1950,1834,1625,1834,2514,3196,2930,2165,1699,1933,1962,1966,2446,2546,2286,2234,2223,2332,2041,1751,2378,2923,3483,3812,3775,3340,2953,2590,1960,2126,2186,1800,1871,2055,2025,2276,2041,1824,1987,1837,1681,1588,1547,1614,1449,1748,2085,1831,2253,1933,1459,1302,1527,1660,1516,2012,1882,1396,1542,1692,2012,2148,1744,1604,2092,2332,2534,2997,3352,3093,2337,1767,1988,2310,3270,3851,3934,3770,3425,2821,2268,2301,2531,2658,3098,3876,3444,2899,2606,2740,3393,3797,3948,3942,3940,4079,3792,3175,2721,3074,3230,3163,3081,3517,3620,3034,2829,2788,3011,2532,2221,2792,3130,3486,3719,3780,3771,3657,3664,3440,3573,3971,3937,3802,3909,3752,3285,3442,3163,2631,2809,3065,2908,2094,1805,2500,2028,1782,2382,2642,2667,2663,2468,2028,1739,1892,1862,2734,3049,2295,1966,2278,2053,1344,1809,2790,2855,2599,2922,3142,2062,2273,2411,2185,2007,1904,2540,3207,3373,3249,2175,1840,2264,2328,2391,2472,2314,2180,2255,2818,3036,2612,2720,2604,1454,1249,1441,2200,2691,2724,2031,2213,3106,3673,3620,3248,2986,2674,2234,1610,1785,2150,2203,2295,2199,2536,2846,2669,2468,2682,3009,3404,3542,2901,2668,2890,3444,3260,2767,2463,2039,1608,1867,2562,2417,1975,2004,1975,2368,2544,2548,2271,2075,2508,2983,2665,2438,3011,3061,1878,1644,1757,2251,2513,2664,2888,2821,2863,2540,2668,2659,2502,2157,1374,1642,2340,2950,2951,3086,2673,2836,2512,1816,1801,1925,1981,2014,2014,2392,2231,2041,1885,1748,1958,2397,2421,2240,2565,3319,3373,2687,3091,3293,3068,2431,2371,3394,4085,3484,2944,3453,2634,1763,2403,3474,3819,3636,3806,3571,3076,3127,2589,2885,3477,3344,2973,3151,3061,2757,2624,3033,3048,2886,3031,3479,3647,3819,3701,3007,3144,3261,3105,2922,2570,2834,2887,3010,3388,3127,1761,1376,1548,1700,2179,2343,2259,2768,3066,3098,3088,2597,2919,3354,3000,3014,3207,2403,2226,2284,1877,1692,1888,2347,2791,2989,3333,3628,3573,3364,2842,2563,2657,2987,3232,3238,2922,2872,2733,2619,2812,2543,2144,2522,3426,3107,2761,3304,3591,3730,3809,3258,3166,2943,2814,3463,4008,4328,4048,3162,3073,3920,4311,4101,3439,2644,2588,2229,2246,2335,2487,2200,2238,2807,3156],[2652,2524,2301,2357,2215,2600,3031,3119,3319,3581,3639,3031,2567,3292,3561,3626,3871,3631,3572,3387,3550,3674,3543,3199,3208,3291,3328,3428,3098,2842,2972,3564,3875,4029,4144,3557,2967,3028,3175,2881,2665,2990,2916,3392,4264,3749,3713,3503,3321,3274,3167,2784,2470,2504,2486,2373,2502,2784,2540,2354,2327,2789,3265,3254,3249,2979,2590,2540,2197,1732,2107,2603,2817,3039,3328,3100,2756,2916,2302,1846,2136,2519,2259,2032,2473,2620,2360,1803,2452,2377,2048,1703,2522,3481,3918,3896,3969,3560,3243,3190,2540,2752,2941,2978,2228,1741,1769,1779,1620,1542,1989,2242,1680,1411,1642,1926,2122,2247,2511,2062,1964,2231,1917,1576,1693,2265,2235,2196,3006,3394,3273,3174,2766,2565,2859,3064,2854,3151,3167,3132,2945,2628,2664,2802,2943,2692,2843,2678,2373,2018,1663,2101,2071,1941,2181,2185,2086,2230,2009,2089,2822,2677,2853,2623,2547,2094,2588,3492,3518,3045,2430,2058,2154,1840,1871,1977,2357,2984,2950,2785,2797,3063,3138,2630,2512,2690,2424,2408,2792,2683,2485,2598,3019,2709,2930,2808,2698,2325,2222,2762,2588,2313,2589,2599,2597,2315,2427,2182,1991,2253,2263,1994,1875,1852,1997,2101,2141,1822,1897,2845,3042,3109,2529,1974,2045,2103,1823,1981,2494,2579,2230,2602,2976,1847,2110,2268,1981,1775,1755,1891,1781,1691,1754,1866,2055,1964,1577,1900,2644,2358,2220,2614,3339,3423,2837,2664,3024,3610,3388,2971,2692,2813,3175,3047,2855,3040,3698,3737,3198,2917,2869,2546,2350,2257,2163,1648,1747,1719,1744,1921,2291,2829,3226,3185,2845,2698,2586,2510,2087,2011,2199,1843,2235,2301,2279,3037,3415,3351,3233,3132,2317,1390,1317,1821,1998,1668,1347,1368,2116,2344,2114,2050,1799,1566,1808,1974,1685,1713,1671,1952,1675,1638,1846,2046,2155,2037,1980,1991,1942,2187,2895,3322,3074,2994,3670,3377,2052,1654,2175,2475,2717,2554,2688,2977,2569,2410,3263,4377,4176,3842,3118,2474,1859,2010,2501,2269,2060,2186,1979,2529,2779,2787,2042,1927,1749,1961,2065,1804,1370,1405,1954,1786,1591,1574,1665,1568,1823,1982,1722,1617,1902,1777,1670,1678,1543,1671,1709,2042,2116,2053,2106,1873,1500,1634,1467,1382,1662,1824,2017,2379,2349,1963,2063,2536,2238,1323,1289,1339,1161,1218,1370,1285,1468,1576,1688,1756,1554,2066,1682,1525,1993,1754,1531,1513,1375,1352,1301,1484,1394,1418,1469,1482,1514,1516,1723,1569,1400,1347,1497,1334,1024,1170,1393,2088,2100,1952,2050,1935,1839,1692,1470,1412,1395,1559,1837,2099,2176,2307,3219,3109,2795,2598,1834,1527,1639,1758,1752,1796,2313,2685,2005,1605,1908,2648,2406,1716,1531,1695,1614,1733,1760,1493,1522,1769,2185,1698,1626,1919,2418,2202,1783,1990,2584,3006,2438,1711,1806,2172,1858,1469,1511,1704,2235,2063,1747,1988,2120,2192,2034,1785,1594,1558,1890,2117,1498,1537,2050,2450,2544,1795,1361,1769,1930,2162,2490,2494,2100,2224,2499,3090,2674,2422,2314,2362,2657,2890,3045,3139,2669,2249,2600,2803,2620,2398,2590,2622,2326,1863,1649,1694,1880,2203,2460,2150,1679,1818,1637,1528,1611,1489,2037,2208,1962,2556,3204,2964,2014,1658,1663,1695,1856,1563,1503,1735,1746,1979,2493,2832,2754,2395,1952,1729,1837,1739,1843,2634,3530,2983,2700,2776,2373,2587,2542,2333,2497,2823,3198,3502,3310,2276,2181,2087,1923,1997,2320,2640,2601,2371,1969,1449,1421,1916,1779,1589,1718,2047,2252,2556,2257,2076,2640,2958,2997,2625,2146,2057,1866,2151,2120,2652,3135,2430,2106,1920,1722,1439,1907,2257,2190,2658,2092,1991,1876,1906,1873,1788,1825,1732,1769,1932,1896,1450,1443,1770,2163,1934,1672,2020,2527,2218,2178,1948,1629,1845,1962,1649,1883,2056,2046,2027,1765,1870,1773,1627,1642,1784,1665,1569,1656,1644,1862,2519,2123,1835,2275,1947,1720,1803,1615,1733,1805,2071,2077,1562,1439,1446,1445,1537,1658,1452,1438,1405,1581,1702,1614,1340,1729,2446,2737,2230,2127,2371,1774,1723,1646,1573,1712,2176,2681,2303,1648,1543,1837,1644,1639,1825,1799,2564,3111,3184,2920,2530,2558,2189,1703,1729,1776,2081,2068,2199,2731,2951,2417,2043,2414,2159,1860,1923,1576,1562,1690,1280,1541,1919,1981,1988,1839,1767,1780,2137,2173,2221,2665,2653,2151,1890,2197,2365,2742,3370,3362,3212,3264,3153,2885,2826,2778,2766,3221,3728,3657,3045,2799,2743,2758,2756,2972,3270,3684,3830,3575,3329,3442,3837,3770,3626,3566,3476,3204,3173,2745,2819,2665,2580,2769,2931,3025,2889,2932,3061,3297,3439,3356,3406,3161,2338,2099,2147,2971,3870,3957,4164,4252,4492,4014,3696,3794,3526,3439,3420,3334,3165,3028,2918,2975,3064,3073,3353,3173,3874,4091,4315,4248,3841,3269,3012,2965,2930,2854,2822,2692,2729,2789,2764,2741,2801,2854,2829,2854,2655,2640,2955,3263,2303,1053,1828,3852,4301,3480,3331,3947,4783,4839,4295,3848,3835,3907,3581,3383,3018,2533,2102,1901,1811,1783,1838,1919,1899,2001,2070,1892,1593,1457,1443,1589,1572,1921,1781,1389,1551,1615,1581,1512,1474,1551,1483,1520,1658,1751,2321,2809,2896,2459,2407,2567,2906,2928,3098,3563,3707,3542,3417,3364,3601,3521,3509,3530,3204,3250,3038,3056,3287,3543,3482,3310,3461,3834,4038,3805,3812,3770,3574,3408,3507,2805,2433,2452,2714,2536,2308,2562,2342,1637,1626,1510,1373,2069,2677,2463,2095,1852,1679,1555,1414,1606,2139,2021,1685,1449,1618,1674,1841,1769,1530,1813,1941,2244,2155,2028,2086,1716,1519,1457,1518,1482,1589,1440,1549,1622,1998,2512,2916,2468,1861,1466,1274,1481,2188,2793,3331,3260,2816,2059,1387,1823,2479,2172,1923,2250,2713,2599,2534,2758,2482,2684,2813,2463,2500,2455,2069,1722,1904,2075,2448,2429,1604,1837,2646,2509,2632,2298,2041,2507,2514,2311,2635,2956,2830,2048,1607,1832,1909,1990,1710,2116,2920,2680,2109,2338,2301,2033,2852,2625,2083,1522,1449,1441,1565,1660,1456,1493,1558,1631,2162,2301,2055,2170,2200,2281,1813,1568,1472,1833,1866,1844,1954,2104,2589,2336,1986,2079,2256,2540,2474,2100,1669,1588,1692,1969,1818,1812,1971,2356,2793,2667,2259,2040,1994,2438,2747,2996,2894,2807,2444,2464,2947,2615,2177,2251,2637,2319,2172,1947,1607,1991,2552,2720,2611,2436,2364,2197,1925,2193,2252,1833,2121,2644,2662,2636,3105,2976,2547,2579,2444,1785,1236,1291,1756,1834,1631,1646,1712,2780,3594,3418,3553,3477,3483,3334,2475,2042,2216,1901,1873,1694,1848,1669,1717,1594,1568,1614,1483,1284,1350,1762,1543,1562,1533,1544,1461,1485,1595,1557,1737,1967,2243,2961,3929,3436,3339,4120,4231,3749,3863,4095,4038,3174,2619,2906,2952,2640,2478,3178,3517,4056,4150,3870,3771,3504,3106,3306,3570,3605,3617,3474,3219,3034,3116,3372,2691,2178,1787,1670,2067,2137,1834,1724,1678,1810,1902,1820,1743,1889,2011,2156,2026,1937,2028,2207,2341,2718,2890,2584,2127,2153,2155,2611,2670,2436,2237,1867,1681,1910,1813,1649,1737,2118,2565,1980,1860,1917,1913,1910,1941,1808,2131,2655,3120,3235,3344,3604,3703,3584,3097,2001,1840,1934,2584,3009,3045,3032,2883,2918,2975,2219,2479,3652,3517,2636,2129,2671,3456,2469,2076,2159,1841,1746,1715,1692,1604,1725,1964,2336,2389,2040,2509,2289,1843,2325,2359,1962,1848,1504,1572,1643,1482,1834,1913,1688,1689,1927,3326,4172,3528,2532,1960,1932,1972,2449,2574,2238,2155,2127,2665,2900,2451,2347,2362,2830,3573,3927,3716,3151,2716,2447,2239,2045,1781,1809,1949,1780,2148,2421,1775,1482,1541,1483,1445,1481,1501,1467,1647,2078,2857,2690,2147,1857,1599,1532,1863,1887,1669,1771,1587,1412,1389,1558,1723,1968,1793,1924,2390,2307,2194,2393,3130,2852,1823,1452,1901,2610,3202,3196,3093,3234,3394,3074,2807,3118,3240,3422,3610,4157,3348,2901,2910,2946,3580,4109,4361,4113,3683,3706,3795,3320,2264,2651,3105,3239,3305,3420,3050,2835,3097,3051,2644,2439,2102,2799,3222,3547,3677,3619,3555,3573,3460,3365,3626,3683,3602,3518,3503,3638,3222,3129,3000,2957,3001,2921,2144,1231,1417,1636,1648,2044,2721,2658,2312,2523,2625,2556,2157,1673,1317,1963,2933,2823,2290,2700,3264,2380,2496,2862,2758,2512,2276,2216,1939,1779,2062,2340,2494,2279,2434,2664,2664,2968,2303,2222,2463,2280,2090,2656,3054,2467,2162,2932,3128,2552,1970,1913,1737,1678,1819,2191,2600,2862,2610,2476,3168,3566,3339,2718,2657,2363,2114,1875,1956,2023,1958,2120,2164,2287,2812,2764,2867,3081,3350,3465,3551,2900,2804,3112,3141,2755,2697,1739,1265,2115,2763,2853,2429,2040,2504,2779,3241,3206,2620,1970,1580,1985,2534,3043,3697,3453,2711,1799,1764,2046,2072,2094,2492,2835,2857,2478,2357,2908,2696,2149,1828,1873,2334,2073,2929,3005,3115,2985,2990,2464,1649,1766,2321,2113,2320,2684,2984,2398,1868,1675,1689,1938,2320,2487,2777,2692,2687,3178,2928,3480,3082,2648,2607,2735,3269,3772,3726,3658,3760,3077,2138,2109,3049,3725,3142,2312,1693,1638,2841,3216,2673,3013,3222,3352,3343,2881,2796,2519,2821,2972,2921,3106,3451,3735,3781,3387,3108,3281,3509,3514,3008,2588,2589,2876,3256,3476,3543,2480,1549,1770,1875,2160,2563,2691,3165,3146,2955,3166,3239,2927,3104,3373,3284,2698,2141,1963,1854,1647,1837,1875,2082,2705,3021,2764,3099,3251,2870,2508,2643,3062,3043,3146,3175,3087,2917,2330,2390,2579,2377,2344,2828,3619,3605,3175,3397,3238,3399,3859,3795,3539,3556,3261,3538,3457,3491,3592,3165,3051,3217,3868,4289,3563,2768,2542,2084,1935,1867,2068,2079,2063,2198,2584],[2534,2414,2464,3222,3115,2974,3031,2767,2521,2877,3293,2656,2674,3487,3709,3851,3895,3780,3887,3964,3722,3541,3532,3415,3233,3181,3241,3288,2854,2774,2920,3605,4090,4128,4030,3829,3602,3288,3097,2995,3250,3817,3398,3881,4384,3727,3687,3515,3632,3846,3052,2258,2491,2447,2792,3150,3084,2911,2957,2473,2834,3664,3582,2832,2975,3249,2799,2336,2187,2110,3229,3281,3122,3548,3294,2922,3177,3220,2702,2279,2677,2871,2264,2264,2380,2568,2714,2221,2412,2381,2282,2151,2542,3318,3861,3938,3982,3348,2499,2217,1840,2240,2990,3168,2884,2420,2464,2171,1713,1924,2494,2408,1742,1538,1736,1769,2148,2767,2689,1784,1302,1748,1864,1368,1341,2114,2541,2268,2575,2933,2488,2697,2751,2696,2648,2730,2802,2959,3016,3239,2658,2411,2500,2684,2795,3032,3231,2790,2470,1978,1816,2077,1718,1660,2288,2424,2158,2101,2030,2612,3278,2983,2461,2303,2320,2116,2800,3339,3112,2780,2161,1808,2254,2150,1898,1884,2749,3208,2868,2874,3034,3162,3028,2696,2600,2779,2531,2003,2552,2809,2710,3130,3194,2658,3212,3429,2854,2354,2470,2856,2676,2598,2460,2285,2319,2341,2556,2563,2374,2656,2546,1940,1908,2377,2252,2199,2326,2099,2075,2589,2458,2774,2666,2518,2640,2449,2086,2164,2618,2732,2282,2127,2626,1923,1879,1782,1557,1752,1942,1892,1905,1994,2548,2056,1729,1685,1836,1750,1847,1783,2104,2539,2783,2343,1760,2301,2052,2977,2895,2516,2638,2801,2964,3382,2956,2833,3448,3627,3631,3547,3229,2540,2272,2464,2622,1917,1672,1825,1754,1344,1960,2964,3262,2956,2699,2934,2832,2012,1845,2079,2047,2017,2184,2353,2922,3304,3360,3393,3360,3420,2380,1638,1418,1796,1917,1607,1560,1502,1850,2324,2419,2235,1772,1864,2402,2242,1892,1475,1619,1847,1712,2013,2458,2648,2214,1419,1753,2057,1942,2657,3371,3292,2596,2733,3500,3462,2364,1785,2240,2583,3344,2517,2513,2761,3054,3271,3742,4005,3550,3289,2744,1947,1952,2249,2331,2080,1910,2978,2238,2397,3296,3304,2132,1582,1503,1598,1680,1785,1462,1254,1446,1549,1614,1566,1498,1941,2344,2486,2293,2039,2032,2119,2227,2172,1544,1728,1676,1952,1840,1737,1953,1811,1741,1564,1322,1465,1852,1776,1904,1994,2210,2090,2141,2115,1524,1239,1592,1910,1686,1559,1429,1359,1605,1907,2022,1708,1412,1779,1874,1886,1747,1577,1670,1671,1426,1316,1318,1520,1390,1439,1340,1302,1592,1592,1653,1698,1467,1385,1474,1794,2248,2120,2178,2045,1769,1787,2010,2003,1865,1630,1508,1437,1525,1973,2050,1888,1988,2166,2580,2618,2264,1958,1727,1666,1644,1619,2424,3168,3019,3037,2322,1520,1217,2030,2424,1863,1559,1500,1367,1494,1432,1529,1732,1789,2254,1660,1411,1629,2008,1992,1708,1865,2884,3262,2218,1802,1829,1844,1614,1618,1637,1917,2159,2116,2028,2083,2231,2079,2301,2098,1500,1578,2286,2796,2054,2125,2433,2237,2221,1567,1200,1676,2106,2474,2291,2091,1848,2368,2792,3173,2552,2240,2085,2268,2765,2853,3395,3715,3445,3066,2952,2800,2584,2355,2376,2379,2183,1860,1688,1887,2348,2248,2009,1873,1868,1792,1781,1720,1737,1589,1961,2242,2004,1645,2256,2937,2396,2097,2352,1958,1670,1693,1910,2058,1983,1749,1970,2304,2067,2054,2212,1891,1890,1914,1948,2314,3127,2677,2793,2648,2376,2747,2518,2187,2618,2378,2698,3105,3248,2398,2500,2417,2014,1709,1795,2237,2450,2208,1589,1192,1150,1611,1937,1814,2012,2112,2239,2696,2535,2304,2386,2623,2822,2763,2292,2111,2042,2215,2207,2678,2488,2037,1951,1952,1639,1441,1772,2088,2416,2575,2068,1957,1938,1864,1820,1801,1810,2058,2132,2097,1973,1612,1484,1696,2069,1852,1736,1696,2015,1917,1891,1831,1766,2189,2546,2236,1931,1595,1496,1510,1680,1531,1459,1392,1404,1529,1620,1575,1620,1744,1807,2019,1784,1549,1645,1606,1540,1753,1788,1586,1628,1932,1826,1387,1674,1831,1659,1653,1731,1608,1478,1460,1509,1538,1337,1411,2114,2299,2087,1651,2023,2057,1760,1844,2023,1730,1798,2410,2654,2358,2034,2341,2655,1903,1890,2167,1982,2353,3274,3332,2453,1785,1793,1752,1938,1823,1723,2182,2091,2064,2042,2396,2443,1986,2054,2046,2232,2235,1680,2004,2039,1437,1460,1575,1678,1442,1635,1894,1980,2245,2156,2258,2519,2579,2448,2065,2310,2496,2921,3145,3132,3095,3088,2980,2780,2775,2888,3028,3554,4061,4151,3796,3072,2880,3013,2997,3080,3479,3793,3854,3820,3538,3198,3342,3169,3217,3204,2964,3111,2996,2774,2776,2679,2636,2643,2753,2895,2820,3106,3465,3325,3422,3560,3698,3558,2669,2101,2116,2570,3557,3940,3973,3834,4464,4027,3901,4008,4072,3834,3557,3407,3250,2910,2770,3109,3331,2755,2941,3144,3732,3451,3291,3365,3276,3160,2996,2944,2820,2820,2800,2718,2720,2878,2832,2684,2746,2873,2879,2956,2842,2354,2435,2314,1298,1068,2292,3864,3869,3510,3662,4396,4949,4720,4484,4094,3843,3500,2917,2342,1938,1774,1744,1847,1930,2069,2150,1920,1891,2365,2507,1920,1703,1600,1482,1514,1368,1446,1360,1326,1612,1608,1468,1419,1519,1604,1472,1584,1874,1709,1991,2583,2652,2334,2603,2924,2944,2906,3098,3672,3802,3337,3508,3692,3694,3584,3751,3276,2800,2608,2780,3117,3112,3233,3331,3271,3420,3814,4141,4144,4026,3942,3676,3636,3698,3264,2272,1819,2469,2770,2668,2424,2120,1613,1786,1749,1511,2218,2340,2249,2029,1626,1619,1695,1719,1732,1773,1661,1864,1621,1637,1516,1634,1633,1685,1804,1740,1834,1866,1890,1628,1564,1584,1484,1676,1610,1459,1439,1431,1478,1894,2319,2829,2404,2137,1550,1869,2231,2601,2993,3103,2985,2784,2185,1438,1810,2614,2236,1859,2353,2451,2536,2728,2432,2364,2562,2293,2170,2331,2136,1809,1568,1911,1948,1949,2437,2308,2154,2481,2646,2700,2679,2746,2416,2068,1859,2003,2678,2690,2260,2273,2150,1969,1804,2229,2920,3001,2906,2534,2544,2244,2062,2414,2391,2014,1556,1502,1696,1898,1687,1474,1634,1504,1356,1593,1620,2114,1884,1839,2077,1876,1640,1588,1679,1856,2256,2195,1980,1895,1815,1909,2104,2091,2395,2098,1849,1788,1516,1594,1746,1727,1640,1781,2182,2411,2340,2005,2076,2894,3101,2646,2170,2280,2978,2786,2784,3141,2898,2408,2666,2832,2524,2207,1946,1872,2230,2614,2575,2508,2424,2363,2142,1700,2296,2246,1930,2600,2839,2341,2928,3549,3255,2732,2719,2485,2290,2487,2468,2766,2325,1839,1626,1513,2685,3907,3762,3537,3128,3076,3282,2740,2096,2035,2042,1721,1661,1804,1998,2045,1679,1503,1423,1404,1306,1294,1444,1568,1685,1713,1634,1610,1610,1828,1980,1634,1510,2255,3281,3536,2780,2907,3917,4332,4120,4078,4275,4051,3264,2750,2810,3120,3399,3359,3646,3696,4013,4240,4099,4128,3720,3119,3144,3520,3645,3783,3367,3228,3129,3023,3533,2995,2001,1701,1847,1962,1855,1937,1922,1918,2088,2142,2057,2078,2003,1871,1903,2058,1921,1695,1856,2283,2614,2243,2302,2740,2828,2907,3420,3164,2783,2394,1879,1885,2058,2078,1878,1737,2002,2371,2010,2211,2164,2117,1925,1532,1678,2333,2520,2147,2464,2973,3121,3415,3727,3684,2999,2132,1852,2304,2823,3140,3220,3193,3318,2947,2136,2164,3298,3428,3108,2511,2802,3116,2801,3053,2875,2245,2236,2026,1766,1569,1855,2039,2284,2389,2063,2343,2309,2030,2522,2637,1749,1365,1303,1404,1421,1585,1785,1788,1723,1573,1937,3326,3898,3420,2670,2204,2264,2733,2534,2349,1870,2229,1994,2036,2299,2596,2863,2835,3142,3529,3731,3422,2622,2792,2338,2380,2072,1754,1900,2070,2014,2065,2089,1594,1708,1472,1502,1461,1460,1407,1468,1592,2258,2663,2092,1995,1933,1683,1654,1793,1900,2028,1974,1499,1208,1492,1582,1461,1684,1665,2037,2356,2084,2304,3133,3151,2345,1685,1592,2121,2712,2601,2229,2105,2408,2678,2426,2777,3132,3667,3996,4057,4189,3150,2721,3194,3993,4272,4008,4299,4273,3167,2484,2980,3096,3027,2769,3040,3348,3178,2828,2620,2746,3294,3405,3373,3350,2561,2822,3112,3307,3341,3436,3474,3453,3210,3370,3869,3958,3757,3753,3538,3429,3024,2888,2955,3022,3105,2934,2299,2026,2009,2344,2373,2488,2724,2195,2055,2535,2720,2512,2325,2125,1847,2071,3096,2864,2641,2998,2924,2591,2676,2544,2119,2123,2058,1832,1432,1293,2163,2304,2929,2972,2353,2165,1888,1828,1770,2166,2798,2943,2565,2457,2712,2468,2436,3366,3056,2170,1656,1703,2148,2482,2367,2346,2437,2731,3082,3009,3021,2491,1981,1938,2322,2230,2326,2360,2228,2526,2684,2318,2418,2171,2217,2524,3047,3270,3340,2784,2146,2260,2384,2676,2521,2200,2613,1895,2316,3050,2854,2763,2629,2675,2872,3316,3649,3498,2981,1938,1947,2367,2435,2764,3115,2235,1573,1498,1828,1879,1762,1903,2281,2285,2130,1876,2317,3006,2569,1922,2232,3178,3581,2697,2723,3012,3242,3206,2921,2504,1821,1468,2293,2350,2255,2254,2415,2514,2097,1770,1636,1836,2322,2603,2758,2652,2540,3108,3207,3216,2886,2978,2885,3442,3754,3322,3658,3942,3771,3465,2662,2045,2275,3018,2745,1900,1913,2262,3066,3215,2380,2296,2991,3464,3107,3282,3189,2540,2709,2994,3078,3326,3480,3731,3588,3308,3418,3476,3374,3406,3467,3344,3285,3117,3369,3698,3936,3272,2636,2408,2143,2332,2556,2854,2986,2456,2279,2920,2954,2511,2950,3231,2547,2198,2103,1588,1631,1739,2024,2252,3055,2966,2358,2388,2820,2799,2701,2531,2542,2889,2674,2906,3040,3230,2929,2132,1869,2288,2515,2764,2836,2964,3205,3318,3262,2973,3463,3283,3808,3725,3762,3515,3262,2631,2765,3281,3145,3055,2779,3098,3558,2642,2666,2364,2022,1788,1646,1647,1935,2359,2729,2966],[2697,2337,2991,4001,3319,2561,2772,2767,2552,2602,2479,2256,2811,3637,3903,3834,3752,3517,3626,3950,3739,3541,3633,3494,3227,3171,3177,3262,2744,2814,3000,3423,3714,3648,3575,3640,3449,3339,3389,3182,3504,3681,3782,4208,4189,3785,3783,3576,3642,3781,2955,1967,1729,1553,2068,3104,3693,3592,3411,2917,2686,3222,3208,2843,3307,3486,2536,2085,2249,2775,3897,4105,3628,3208,2646,2656,3032,3108,2943,3031,3340,3039,2738,2561,2453,2574,2792,3017,3243,3135,2916,2657,2231,2503,3309,3701,3414,2439,2056,2046,1976,2236,2110,1979,2169,2225,2214,1612,1440,2035,3217,3065,2010,1564,1723,2302,2590,2974,3025,2208,1722,1893,1706,1548,1660,1791,2735,2535,2028,1525,1532,2179,2314,2270,2505,2690,2855,2857,3277,3168,2544,2313,2566,2821,2776,3108,3062,2494,2353,2260,2272,2272,2029,1873,2563,2464,2018,1932,1556,2193,2956,3039,2364,2009,2102,2516,3163,2745,2895,2754,2136,2030,1913,2138,2120,1963,2630,2888,2273,2135,2460,2778,2453,2297,2459,2209,2374,2090,2225,2654,2621,2812,2189,1730,2920,3397,2896,2588,2599,2834,2818,2612,2555,2596,2398,2399,2629,2734,2807,3125,2720,1976,1846,2564,2138,2413,2642,2382,2564,2727,2556,2686,2788,2910,2236,1886,2144,2458,2559,2585,2642,2320,2503,2364,1953,1916,1988,1904,1815,1964,2495,3276,3249,2061,1546,1636,1902,1731,1402,1485,2092,3015,3311,2479,1483,1642,1881,2550,2541,2597,3115,3153,2944,3265,3257,3023,3038,3607,3901,4417,3945,2885,2864,3326,3049,2336,1984,1919,2156,2018,1621,1753,2667,3132,2663,3098,3138,2644,2515,2226,2094,2255,2230,2414,3354,3617,3570,3898,3928,3595,2459,1630,1416,1581,1637,1922,1998,1653,1999,2519,2881,2284,1851,2237,2652,2675,2158,1844,2049,1952,1962,2674,3151,3386,3234,2770,2604,2621,2255,2923,3371,3542,3250,3355,3804,3853,3292,2901,2778,2460,2450,2468,2932,3039,3294,3351,3154,2896,2640,2500,2314,1856,1923,2015,2175,1982,2178,2387,2225,2477,2885,2363,1726,1795,1599,1591,1541,1654,1510,1418,1454,1490,1673,1950,2041,2097,2536,2831,2669,2279,1795,1765,2159,1932,1527,1737,1808,1762,1619,1860,1820,1669,1925,1511,1518,1829,2140,1768,1886,1849,2196,2243,1960,1776,1352,869,1276,1676,1636,1572,1739,2008,1568,1591,1694,1523,1681,1689,1864,2011,1656,1865,1910,1353,1292,1409,1489,1771,1533,1236,1246,1342,1473,1479,1521,1572,1531,1423,1436,1875,1959,1788,1808,1482,1444,1539,1651,1914,1975,1845,1599,1469,1877,2335,2045,1733,2216,2285,2557,2424,1805,1694,1578,1563,1531,1975,2806,3152,2355,2476,2200,1572,1386,1681,1971,1859,1699,1697,1630,1534,1710,2036,1777,1718,1947,1652,1537,1450,1761,2141,2141,2120,2625,3178,2469,1835,1734,1544,1428,1590,2275,2281,1969,2198,2090,1989,2156,2304,2228,1898,1601,1743,2275,2395,1859,2193,2510,2104,1654,1397,1541,2156,2566,2500,2453,1598,1515,2465,2770,2543,2133,2001,1927,2247,2701,3129,3696,3616,3457,3176,3025,2730,2414,2279,2379,2770,2626,1945,1526,1605,2122,1735,1575,1852,2308,2254,1999,1809,1619,1488,1738,2019,1652,1248,1563,2087,2326,2989,2588,1802,1643,1975,2259,1944,1694,1708,1713,1769,1663,2409,3475,2730,1831,1974,2067,1900,1917,1886,2556,2902,2830,2612,2214,2401,3155,1991,1681,2622,2774,1902,1791,2040,1916,1544,1634,2120,2174,1873,1629,1639,1512,1628,2138,1951,2080,2130,2260,2271,2127,2218,2076,1937,1840,2042,2051,1951,1814,2000,2338,2340,2059,1740,1681,1788,1740,1869,2015,1873,2115,2031,1852,1705,2146,2367,2105,1729,1543,1615,1684,1697,1909,2020,1836,1987,1759,1599,1617,1587,1889,2086,1951,1870,2029,2374,2407,1979,1766,1715,1700,1660,1604,1416,1396,1621,1568,1499,1458,1573,1759,2510,1916,1990,1837,1930,1890,1692,1609,1678,1540,1251,1500,1752,1933,1795,2900,2768,2177,2239,2014,1732,1650,1522,1490,1580,1416,1749,2544,2095,1839,2395,2411,2024,1955,2360,2456,1882,1752,2023,2341,2120,2046,1829,1741,2076,2007,2165,2092,2502,3205,3141,2549,2138,1876,1621,1780,1586,1823,2147,1976,1955,1679,1819,2115,2091,2003,2055,2302,2220,1954,1999,1696,1524,1664,1665,1653,1598,2038,2155,2062,2437,2430,2483,2592,2563,2432,2532,2688,3076,3046,2548,2492,2801,2902,2935,2895,2933,3028,3037,3329,3903,4236,4058,3681,3286,3032,3204,3484,3595,3253,3277,3276,3476,2902,2789,2765,2806,2920,3002,3052,2908,2854,2887,2750,2679,2791,3022,3298,3378,3300,3414,3377,3505,3698,3699,3600,2910,2166,2043,2312,3300,3877,3733,3651,4236,4058,3901,4156,4344,4325,4160,3783,3652,3099,2800,3181,3404,3055,2937,3110,3306,3189,3349,3417,3209,3066,2855,2900,2831,2874,2899,2878,2849,2966,2895,2656,2741,3044,3078,3017,2366,1421,1926,1780,1023,1273,3027,3933,3859,3575,3780,4596,4741,4460,4484,3905,3142,2403,2026,1892,1864,1932,1999,2058,2166,2066,1814,1676,1772,2264,2578,2162,2039,1579,1592,1405,1439,1450,1465,1506,1693,1600,1400,1405,1593,1469,1276,1870,2220,1794,1916,2514,2623,2688,3251,3377,3404,3560,3435,3362,3653,3914,4564,4620,4572,4596,4388,3449,2430,2633,3360,3632,3420,3405,3576,3604,3493,3849,4112,4112,3879,3561,3374,3356,3276,3238,2588,1824,2114,1959,2502,2343,1931,2073,2231,1844,1414,1743,2389,2510,2076,1598,1568,1494,1794,1915,2107,1966,2355,2256,1918,1652,1558,1580,1790,1721,1555,1592,1916,1926,1601,1465,1711,1738,1664,1546,1459,1650,1543,1874,2409,1936,1849,1705,1906,2296,2676,2404,2499,2935,3006,3072,2586,1986,1729,1805,1960,2066,1880,2451,2415,2584,2409,2354,2522,2250,2181,2186,2216,1711,1603,2239,2253,2023,2291,2081,1825,2075,2153,2285,2325,2324,2576,2264,2109,1743,1748,2278,2323,2476,2680,2230,2041,2198,1996,2316,2601,2963,2836,2467,2153,2157,2028,2293,1971,1570,1505,1842,2121,1711,1468,1337,1399,1568,1651,1484,1776,1582,1705,2107,2025,1773,1608,1740,2002,2128,2278,2389,2140,2102,2325,2609,2413,2322,1909,1444,1499,1628,1659,1653,1722,1722,1891,1811,1910,2127,1708,2338,3073,2553,2192,1931,2126,2786,2072,2262,2977,2733,2456,2470,2783,2756,2254,2089,2397,2512,2381,2531,2768,2325,2054,1949,1634,1990,2458,2500,2803,2732,2553,2887,2835,2619,1763,1807,2321,2688,3128,2985,2906,2759,2592,2490,1919,2049,2871,2954,2980,2709,2328,2243,2171,2001,1977,2027,1777,1647,2010,1687,1529,1575,1571,1504,1521,1514,1479,1309,1438,1596,1559,1698,1716,1499,1645,1381,1471,1722,1916,2800,2919,2735,3297,4007,4343,4228,3952,4143,4085,3269,2719,2576,2665,3300,3619,3770,3859,4035,4165,4152,4046,3581,3387,3326,3581,3602,3882,3674,3636,3208,2978,3453,2873,1716,1635,1743,1813,1726,1890,1775,1699,1672,1794,1918,2088,2149,2030,2033,2104,1804,1568,1600,1867,1980,1970,2341,3022,3308,2989,3133,3178,2945,2453,1862,2063,2266,2414,1976,1767,2436,3031,2984,2612,2259,2438,2081,1509,1769,2178,2137,1749,2044,2184,1993,2590,3253,3486,3543,2790,2028,2022,2283,2587,2965,3065,3085,2857,2359,2132,2482,3285,3378,2365,1981,2473,3374,4108,3850,2907,1865,1529,1480,1599,1638,1708,2412,2376,2204,2439,2434,2619,2470,2218,1534,1535,1454,1426,1770,1883,1640,1850,1925,1638,2060,2801,3376,3458,2790,2261,2165,2213,1647,1480,1428,1999,2253,2189,2097,2422,2984,3356,3654,3886,3865,3775,2635,2657,2161,2212,2548,2236,2170,1975,1939,2150,2212,1670,1746,1453,1398,1812,1778,1491,1510,1520,1789,1892,1754,1701,1785,1603,1504,1658,1484,1551,1794,1603,1419,1838,1899,1858,2019,1564,1879,2221,2052,2410,3252,2858,1896,1876,2173,2531,2732,2515,1999,1739,1875,2065,2160,2466,3040,3872,4277,4176,4037,3343,2769,3067,3981,4017,3840,4127,4008,2742,1887,2129,2316,2592,2996,3194,3515,3369,2968,2939,3043,3255,3253,3476,3575,2923,2898,3162,2995,2536,2380,2907,3422,2943,3242,3175,3596,3635,3627,3461,3233,3011,3038,3012,2924,2820,2424,2346,2564,2494,3142,3306,2754,2609,2367,2292,2798,3022,3014,2923,3018,3112,3165,3011,2384,2752,3428,3072,2624,2521,2216,1919,2106,2105,1694,1691,1797,2319,1979,2534,2282,2477,2709,2171,1726,1296,1750,3106,3341,2966,2203,2276,2724,3086,3203,2947,2236,1876,1931,2198,2404,2287,2136,2243,2638,2668,2805,2623,2451,2445,2396,2451,2553,2725,2668,2409,2609,2578,2289,2014,2072,2005,2242,2663,2935,2536,1892,1605,1738,2178,2580,2040,2010,2766,2641,2839,3009,3226,3250,2957,3027,3150,3364,3817,3588,2875,2006,2680,2691,2625,2338,2174,1483,1347,1439,1523,1892,1865,1931,2094,1983,1801,1845,2208,2403,2211,1801,2234,3140,3539,3162,3093,3370,3188,2984,2617,2194,2097,2571,3099,2912,2388,2415,2714,2668,2533,1696,1302,1519,2298,2679,2912,3859,3485,3031,2620,2880,3053,3288,3140,3304,3184,2319,3017,3797,3204,2832,2409,2027,2028,2202,2517,2935,3100,2897,2634,2529,2576,2441,3020,3692,3487,3738,3416,2464,2558,2968,3107,3074,2952,3181,2870,2718,2990,3283,3182,3356,3577,3284,3053,2813,3112,3543,3542,3200,3093,2713,2586,2429,2254,2401,2412,2241,2669,3001,2807,3117,3273,3219,2446,1873,2032,1795,1737,1745,2274,2966,3245,2498,2038,2968,3732,3394,2795,2410,2369,2413,2687,2996,3218,3226,3029,2113,1651,2199,2497,2411,2462,2475,2795,3062,2877,2746,2942,2939,3152,3362,3324,3106,2743,2244,3008,3355,3182,3481,3283,2934,2582,2340,2513,2236,2115,1922,1628,1768,1815,1975,2755,3464],[2912,2713,3094,2876,2264,2093,2286,2386,2356,2483,2135,2569,3454,4196,4180,3927,3565,3315,3789,3956,3608,3437,3383,3552,3530,3354,3152,3172,2956,2765,2863,2956,3028,3364,3344,3185,3161,3277,3498,3469,3672,4070,4059,3575,3349,3474,3357,3234,3594,3422,3179,2913,2094,1785,2033,3195,3703,3579,3472,3363,3248,3240,3377,3470,3180,3372,2464,2365,2424,2263,3316,3817,3522,3107,2346,2011,2416,3229,3282,3518,3632,3265,3327,3332,3130,2732,2995,3338,3231,2924,2823,2822,2678,3476,3484,3591,3095,2118,1970,2092,1881,1736,1497,1582,1596,1667,1744,1423,1363,1793,2216,1987,1582,1720,1866,2272,2568,2671,2742,2454,1974,1910,1902,1872,2150,1939,2444,2642,2080,1442,1550,2022,2262,2486,2967,2734,2852,2944,3222,3386,3188,2452,2585,2774,2770,2830,2599,2420,2034,1995,2231,2289,2145,2062,2339,2003,1880,2173,1832,2276,2468,2456,2176,1780,2127,3022,3089,2521,2788,2552,1917,2092,2263,2419,2512,2195,2658,2714,2211,1968,1987,2104,2143,2150,2713,2751,3018,3000,2482,2163,2151,2526,2578,2472,3072,3117,3098,2560,2615,2519,3031,2955,2656,2497,2478,2735,3020,3092,3309,2757,1802,1499,1885,2820,2735,2753,2598,2087,2095,2351,2195,2305,2556,2359,2118,2258,2565,2414,2359,2594,2855,2981,2832,2348,1883,2214,2085,1713,1723,2172,2423,2553,2086,1697,1636,1807,2083,1993,1688,1927,2657,3697,3701,3270,2307,1841,1991,2497,2692,3123,3683,3359,2818,3116,3044,3274,2855,3406,3766,4440,4468,3680,3483,3580,2877,2368,2382,2369,2600,2536,2245,1592,2114,2699,2401,2474,2883,3147,2741,2005,2030,2432,2099,1980,3044,3565,3496,3830,3946,3207,2127,1685,1765,1704,1735,2656,3159,2169,1681,2272,3030,2296,1952,2158,2508,2662,2542,2549,2479,2194,2190,2929,3252,3366,3209,3348,3123,3031,3111,3276,3442,3826,3970,3964,4014,3807,3350,2743,2398,1992,1854,2486,3052,3074,2956,2980,2984,2791,2785,2811,2636,2306,2532,2564,1996,1713,1878,1882,1677,1685,1927,1770,1914,2139,1625,1362,1595,1616,1764,1791,1554,1248,1376,2002,2188,1823,2237,2583,2708,2453,1949,1716,1647,1421,1517,1601,1761,1797,1920,2172,2062,1691,2114,1647,1534,1955,2301,2046,1838,1610,1918,1888,1818,2084,1789,1146,1445,2120,1810,1557,1920,2183,1773,1695,1571,1327,1839,1888,1428,1313,1491,2277,2129,1475,1412,1380,1487,1594,1384,1259,1420,1539,1438,1598,1552,1477,1422,1393,1432,1567,1583,1559,1432,1401,1459,1307,1469,1905,1995,1892,1644,1555,1816,2009,2174,2270,2114,1534,1672,1847,1721,2045,2130,1816,1546,2297,2629,2151,1775,2164,2164,1997,1999,1851,1813,2011,2327,2199,2134,1624,1665,1790,1717,1935,1994,1737,1520,1570,1926,2132,2319,2244,2125,2442,1986,1671,1715,1642,1539,2211,2656,2062,2031,2070,1775,1830,2096,2898,3588,2666,1874,1790,1752,1533,1470,1756,2038,1944,2083,1896,2049,2689,2814,2131,2265,2339,2339,2577,2575,2231,2467,2472,2481,2343,2633,2945,3386,2985,3595,3531,3257,3210,2843,2529,2806,2735,2164,1645,1422,1836,1749,1488,1712,2058,2410,2115,1980,2101,1804,1359,1557,1824,1480,1618,1698,1697,2086,2886,2248,1219,1260,1946,2343,1994,1815,1755,1593,1849,1861,1914,2641,2392,2029,2026,1741,1753,1715,1778,2464,2342,2130,2293,2109,2290,2533,2019,1608,2189,2386,2017,1755,1567,1786,2050,1954,1953,1793,1399,1473,1625,1600,1916,2057,1919,1952,1910,2150,2280,2007,1902,1926,1802,1700,1908,2138,2188,2126,1984,1885,1673,1553,1639,1725,1842,1923,2000,1897,1670,1636,1746,1645,1569,1952,2206,2010,1765,1715,1563,1667,1812,2136,2467,2186,1968,1882,1743,1598,1504,1798,2100,1854,1752,1978,2196,2138,1954,1982,2052,1776,1716,2038,1725,1581,1991,1969,1826,1728,1917,1894,2492,2014,2148,2047,1939,1804,1561,1683,1550,1277,1361,2009,2344,2211,2332,2909,2197,2052,2167,1659,1583,1533,1436,1502,1611,1606,1707,2133,1759,1660,2160,2222,1964,1735,2020,2331,1775,1552,1606,1924,1771,1644,1417,1469,1900,1997,1856,2084,2788,2544,2169,2065,1915,1747,1879,1648,1543,1871,1848,1586,1642,1576,1727,2052,2128,2004,2012,2121,2098,2150,2029,1803,1799,1896,1898,2008,1997,1959,1929,2000,2511,2630,2692,2656,2444,2111,2210,2541,2429,2070,2003,2303,2835,3013,3006,2978,3076,3116,3172,3499,3897,4167,4219,4052,3473,2805,3075,3220,3333,2884,3055,2946,2915,3062,2974,2806,2722,2702,2792,2932,2930,2932,2922,2725,2730,3067,3459,3607,3519,3448,3536,3448,3504,3648,3715,3609,2829,2080,1996,2172,2692,3426,3804,3697,4000,4192,4123,4344,4516,4784,4796,4143,4068,3362,2977,3284,3430,3097,3117,3328,3377,3647,3983,3901,3318,3181,3005,2906,2769,2800,2844,2822,2783,2827,2722,2586,2764,3199,3327,2390,1553,2209,2727,1708,1175,2175,3869,4236,4011,4007,4094,4416,4312,3751,3234,2508,2019,1826,1793,1999,2086,2063,1804,1968,2143,1609,1560,1542,1647,2143,2515,2553,2382,1992,1676,1620,1634,1572,1595,1548,1745,1475,1399,1428,1493,1337,1499,2186,2309,2106,1823,1953,2264,2583,3074,3504,3838,3675,4029,4006,4428,4820,4900,4848,4685,4428,4432,3613,2620,3829,4149,4155,4082,3614,3714,4079,3805,4006,4027,4014,4000,3480,3395,3312,2696,2878,2602,1627,1757,1950,2302,2100,1890,1893,1799,1587,1403,1700,2194,2061,2078,1756,1510,1626,2109,2526,2498,2369,2429,2179,1936,1739,1605,1578,1562,1565,1620,1509,1730,1941,1842,1694,1907,1882,1865,1958,1679,1671,1633,1764,1670,1426,1503,1804,2135,2511,2524,2084,2104,2216,2500,2908,2151,1998,2068,1601,1442,1994,1850,2201,2526,2276,2029,1889,1826,1811,2325,2412,2821,2103,1811,2395,2448,2409,2957,2593,1630,1627,2151,2460,2108,2047,2161,2227,2305,2112,2062,2068,2031,2182,2023,1768,2584,2830,2154,1923,2069,2346,2303,1749,2097,2286,2004,1984,1961,1758,1616,2064,2119,1805,1455,1322,1715,1903,1864,1562,1609,1771,1883,2170,2186,1980,1721,1866,1816,1692,2020,2624,2719,2576,2898,3364,3240,3008,2348,1535,1594,1809,1719,1881,1720,1540,1654,1762,2084,2025,1698,2161,2632,2440,2293,2251,2341,2790,2713,2264,2204,2436,2411,2216,2520,2533,2435,2636,2889,2397,2192,2421,2495,1925,1550,1493,1629,2216,2658,2692,2658,2502,2522,2277,2201,2347,2238,2109,2144,1968,1903,2160,2604,2598,2269,2264,1905,1923,2035,2392,2896,2753,1898,1724,1958,1990,1924,1959,1770,1581,2011,1359,1284,1643,1523,1453,1474,1491,1429,1377,1467,1527,1625,1769,1449,1340,1505,1590,1997,1625,1633,2154,2779,3627,4031,4323,4296,3742,3385,3723,4123,3360,2820,2697,2618,2946,3226,3542,3697,3840,3864,3676,3714,3410,3438,3626,3636,3641,3617,3797,3753,3260,3127,3588,3385,1831,1616,1837,2066,2179,2427,2456,2411,2226,2119,2015,1988,2249,2144,2147,1909,1720,1719,1631,1781,1804,2361,2810,3257,3442,2813,2774,2867,2644,2156,1989,2180,2188,2486,2364,1909,2257,2998,3614,3225,2131,1758,1728,1993,2156,1793,1856,2432,2430,2133,2082,2193,2021,2045,2498,2593,2236,1832,1656,2004,2383,2458,2633,2476,2280,2366,2205,2236,2046,1706,1881,2632,3520,4165,3978,3618,2872,1848,1832,2347,1896,1542,2087,2434,2208,2123,2314,2707,2689,2790,1681,1404,1636,1551,1850,2055,1645,1520,2011,2358,2699,2749,3151,3521,2841,2046,2088,2014,1735,1587,1988,2701,2862,2431,2294,2795,3458,3692,3670,3427,3611,3674,2709,2626,2342,1997,2524,2556,2420,2055,1853,1638,1555,1434,1362,1345,1444,1937,1936,1609,1545,1678,1843,1886,1826,1577,1467,1516,1626,1664,1523,1405,1770,2417,2518,2168,1834,2217,2038,1908,1891,1758,1587,1698,2356,2172,1822,1990,1914,2048,2160,2226,2126,1606,1622,1812,1854,2464,2648,2966,3630,4040,3618,2897,2803,2712,3041,3351,3694,3808,3758,3189,2326,1995,2001,2412,2938,2851,3073,3530,3169,2889,2690,2880,2863,2956,3073,2728,2880,3386,2924,2095,2074,2611,2790,2911,3410,3475,3543,3437,3397,3384,3339,3295,3344,3229,3174,2546,1930,1917,2701,3278,3650,3425,2329,2140,2402,2767,3184,2996,2715,2397,2465,2846,2922,2490,2409,3018,3319,2570,2289,2467,1953,1844,1930,1949,2276,2484,2398,2184,2246,2316,2175,3553,4132,3364,2522,1975,2462,3327,3307,2796,1888,2262,2884,3096,2807,2597,2380,1955,1758,1911,2038,1830,1805,1715,2406,2574,2858,2283,1845,2495,2965,2767,2664,2309,2172,2579,2952,2886,2149,1775,1894,1947,1764,2066,2264,1907,1738,1713,2007,2366,2554,2542,2458,2920,3031,3193,3364,3426,3306,2706,2723,3205,3276,3503,3018,2443,1865,2209,2603,2740,2698,2485,2210,2573,2600,1957,1911,1774,1783,2046,2186,2404,2531,2574,2500,1954,1818,2196,2660,3051,3334,3393,3175,2596,2435,2360,2158,2569,3128,3271,2898,2711,2884,2199,1694,2408,2111,1922,1991,2127,2148,2256,3274,3053,2148,1924,2422,3051,3155,2957,2576,2210,1796,2312,2454,2008,1908,1874,1857,1989,2093,2406,2875,3108,2976,2463,2396,2643,2740,2770,3370,3481,3574,3599,2906,2461,2737,3189,3311,3382,3422,2820,2434,2711,2901,2809,2880,2918,2931,2617,2478,2745,3042,3088,2939,2711,2689,2367,2005,2221,2433,2438,2495,3166,3486,3620,3610,2875,3072,3031,2338,1857,1783,1854,1758,1719,2034,2267,1943,2503,4231,4264,3717,2843,2819,2529,2457,2774,2788,2895,3040,2612,2179,2050,1759,1565,1720,2552,2710,3073,3045,2826,2986,3253,2840,2345,2965,3710,3317,2256,2247,3218,3222,3063,3228,3153,3102,2657,2619,2532,2340,2586,2345,1866,2148,2555,2542,3028,3610],[3110,2986,2871,2147,1747,1888,1929,2034,2215,2480,2451,2818,3671,4140,3818,3475,3287,3503,3936,4169,4073,3519,3414,3572,3405,3351,3226,3188,3091,2999,3020,3028,3075,3196,3116,3021,3038,3031,3000,3513,3627,3710,3641,3268,3296,3263,3239,3442,3513,3208,3169,3310,2876,2614,2864,3384,3762,3511,3140,3226,3313,2889,3031,3306,2623,2820,2722,2499,2571,2553,2818,2898,3108,3531,3240,2458,2626,3363,3552,3805,3653,3094,3362,3260,2874,2973,3206,3130,2971,2890,3323,2988,2604,3068,2530,2938,2616,1984,1909,1959,1962,1772,1699,1828,1633,1607,1743,1886,1517,2040,2123,1370,1427,2207,2259,2077,2017,2361,2471,2399,2095,1974,1930,2281,2528,2280,2526,2814,2408,1794,1588,2094,2537,2777,3134,3181,2955,3033,3027,3168,2871,2349,2438,2558,2702,2695,2519,2241,2337,2646,2564,2270,1841,1494,1884,1893,2064,2184,1889,1876,2215,2291,2137,1790,2302,3270,3201,2873,2619,2294,2117,2265,2348,2771,2723,2389,2693,2728,2929,2203,1842,1641,2165,2409,2553,2706,2676,2784,2903,2351,1902,2101,3043,3257,2829,2374,2365,1793,2010,2895,3131,2673,2670,2475,2618,2823,2888,2517,2967,2328,1977,1738,2061,2798,2779,2432,2310,1998,1637,2057,1892,1697,2442,2810,2480,2581,2426,1887,2260,2842,2916,2959,2632,2776,2209,2032,2065,2178,2100,2361,2072,1881,2028,1930,1782,1702,1737,1938,1879,2051,2835,3250,3384,3335,2770,2118,1911,2323,2769,3031,3360,3353,2677,3139,3305,3396,3093,3373,3564,3924,3928,3496,3646,3839,3200,2422,2419,2149,2666,3105,3112,2278,2396,2688,2325,2026,2164,2481,2779,2421,2503,2754,2386,2368,3264,3527,3650,3851,3904,3176,2190,2036,1880,1731,1710,2487,2832,2337,1747,2058,2791,2316,1729,1884,2202,2520,3023,2849,2265,1959,2048,2886,3109,3435,3320,3001,2879,3330,3804,3197,2552,3254,3641,3753,3394,2773,2536,2228,2067,1815,1716,2170,2521,1966,1576,2234,2942,2792,2778,2602,2581,2270,2157,2060,1946,1641,1546,1659,1575,1690,1821,2436,2368,2070,1773,1591,1540,1650,1919,1797,1378,1337,1782,1865,1687,2242,3091,3090,2933,2774,2007,1641,1547,1555,1770,1948,2100,1951,2266,2189,2063,1720,1837,1900,2164,2866,2545,2126,2121,1911,1843,1594,1751,1992,1911,1897,2051,2364,1804,1471,1647,1877,1759,1610,1656,1650,1702,1483,1427,1289,1356,1831,1708,1659,1555,1475,1710,1715,1730,1430,1315,1379,1454,1808,1679,1436,1360,1354,1503,1643,1628,1543,1517,1511,1341,1113,1460,1909,2110,2040,1855,1699,1839,2002,1939,1964,1705,1429,1642,2193,2425,2219,2635,2397,2231,2227,2041,1836,1789,1895,2080,2318,2268,1906,1691,1584,1705,1681,1804,1700,2042,1938,1680,1829,1898,1682,1642,1958,2237,2378,2442,2205,1936,1852,1791,1945,1771,1469,1561,1948,2013,1518,1784,2029,2310,2241,2235,2042,2916,2925,2388,2457,1876,1287,1394,1969,2227,2092,2013,1742,2239,2999,3227,3062,2591,2630,2744,2864,2467,2453,2723,2882,2968,2761,2697,2464,2625,2656,3076,3341,3576,3597,3200,3186,3586,2799,1986,2007,2454,2397,1975,1641,1899,2296,2116,1910,2128,2193,1669,1541,1670,1549,1660,1712,1640,1554,1774,2187,2007,1764,1715,2088,2144,1774,1845,1915,1551,1830,2003,2061,2414,2223,2171,2112,2229,2984,2530,2346,2691,2514,2260,2327,2431,2242,2194,2016,1703,1793,2084,1971,1957,1567,1638,2040,2080,1696,1499,1203,1119,1427,1573,1659,1719,1830,1896,1890,2097,2227,2137,2001,2138,2054,2002,2221,2065,1790,1676,1691,1705,1595,1758,1983,1876,1714,1558,1650,1507,1433,1521,1495,1490,1553,1714,1758,2041,2091,2052,1847,1838,2010,2332,2546,2155,1948,1813,1560,1597,1986,2292,2194,1778,1715,1879,2058,2252,2109,1949,1727,1369,1615,1828,1562,1761,1881,2002,1933,1850,1819,1801,1965,1649,1587,1851,1948,1899,1700,1766,1390,1860,2236,2046,1978,1904,2195,2324,2156,2140,2107,2113,2557,1978,1642,1692,1443,1622,1540,1681,1536,1509,1767,1766,1635,1729,2012,2399,1740,1572,1532,1384,1650,1566,1446,1715,1763,1914,2003,2031,2873,2587,1760,1681,1694,1535,1912,1845,1482,1569,1647,1628,1696,1591,1632,2066,2317,1836,1792,1976,1998,2235,2187,2051,2098,2048,2007,1937,2066,1959,1812,1824,2468,2614,2576,2308,1902,2002,2023,2014,2338,2443,1973,2475,2901,3035,3055,3161,3170,3384,3676,3892,4047,4132,3780,3296,3169,3063,3352,3339,3279,2867,2657,2531,2788,3205,3108,2731,2721,2750,2757,2880,2967,2939,2906,2855,2776,2989,3285,3277,3218,3417,3566,3604,3760,3653,3766,3775,2907,2314,2063,2146,2436,3330,4209,4180,3957,3903,4071,3999,3851,4585,4353,3483,3587,3566,3315,3415,3472,3461,3663,3511,3460,3956,4068,4140,3449,3232,3140,3042,2943,2875,2792,2746,2822,2812,2624,2622,2764,2785,2430,1974,1813,2469,2008,1170,1660,3171,4073,3982,3781,3890,4241,3884,3197,2564,2131,1965,1951,2022,2317,2463,2346,2021,1413,1613,1697,1462,1632,1492,1496,1827,2424,2554,2501,2368,1960,1932,1938,1952,1997,1810,1678,1577,1469,1456,1456,1558,1704,1818,2082,2131,1992,2259,2347,2737,3253,3809,3981,3376,3796,4101,4341,4380,4394,4571,4516,4047,4068,3554,2686,4100,4111,4293,3750,2887,2700,3422,4027,4264,4175,3947,3772,3461,3451,3333,2356,2285,1959,1473,1550,1709,1792,1751,1720,1678,1765,1811,1604,1793,1849,1561,1755,1669,1596,1741,2304,2695,2415,2536,2551,2025,2170,1830,1703,1612,1438,1550,1793,1717,1543,1697,1917,1816,1747,1667,1717,1906,1584,1616,1491,1448,1538,1269,1391,2009,2124,2225,2491,1890,1797,2150,2679,2444,1691,1606,1433,1477,1556,1836,1909,2174,2493,2320,2164,2064,1642,1666,2265,2660,2703,2096,1927,2458,2446,2017,2226,2047,1671,2249,2636,3011,2436,2314,2740,2512,2023,1743,1823,1918,1829,2031,2190,2414,3119,2677,2725,2501,2315,2239,2248,1991,2357,2675,2315,2267,2170,1920,1916,2243,2176,1973,1676,1814,1659,1782,2137,1574,1772,2380,2043,2258,2382,1810,1737,2044,1990,1927,1941,2505,3040,2940,3060,3319,3184,2873,2413,2205,1768,1749,1831,2270,1961,1713,1768,2029,2071,1717,1703,1712,2113,2474,2697,2556,2456,2699,2598,2512,2236,2279,2513,2408,2050,1896,2143,2568,2735,2448,2288,2101,2275,2029,1669,1529,1674,1972,2194,2266,2343,2488,2309,2523,2364,2366,2489,2094,1685,1761,1873,1837,2344,2281,1781,1788,2243,2106,1982,1999,1979,2134,1926,1634,1763,2002,1878,1932,1908,1775,1636,1628,1535,1444,1388,1480,1439,1403,1476,1444,1488,1462,1651,1801,1643,1590,1952,2337,2317,1859,1734,1894,2690,3806,4061,4272,4139,4081,3707,3535,3919,3293,2674,2724,2887,3027,3378,3751,3499,3400,3515,3550,3786,3590,3381,3387,3676,3795,3683,3896,4074,3815,3208,3465,3749,2381,1873,2071,2165,2111,2644,3229,3415,3440,3231,2608,2488,2518,2197,2127,1846,1831,1694,1530,1764,2321,2706,2321,2446,2614,1872,1757,2339,2174,1757,1927,2339,2336,2210,2259,1904,1958,2544,2621,2303,1783,1519,1519,2339,2429,1855,1432,1957,2079,2065,2232,1865,1599,1686,1759,1614,1796,1724,1713,1809,1727,1897,2063,1954,2308,2485,2171,1868,1898,1831,2467,2895,3005,3509,3624,3565,2940,2153,2647,2822,2049,1488,1681,2159,2105,2059,2470,2709,2450,2267,1929,1614,1471,1467,1615,1804,1474,1365,1981,2803,3275,3106,3063,3681,3025,2321,2414,2210,1710,2035,2601,2764,3099,3382,3464,3484,3507,3463,3429,3256,3191,3037,2750,2558,2337,1914,2264,2537,1876,1856,1931,1913,1638,1389,1425,1521,1650,1770,1614,1747,2184,1920,1951,2124,1960,1685,1516,1410,1584,1526,1369,1455,1776,2373,3053,2614,1793,2276,2434,2440,1733,1419,1580,1579,1624,1658,1841,1586,1403,1568,1727,1666,1623,1496,1768,2100,2502,2799,2765,2852,2641,2779,2459,2557,3261,2770,2478,2631,2998,3464,3740,3527,2806,1984,1974,2425,2888,2699,2430,2818,2753,2414,2070,2369,2714,2750,2644,2441,2577,3133,2839,2072,2419,3251,3309,3514,3802,3750,3665,3410,3023,3042,3149,3209,3322,3515,3138,2297,1797,1711,2608,3266,3248,2535,1795,1308,1500,2355,3217,2782,1995,1882,1890,2285,2311,2742,3254,3653,3861,3340,2709,2665,1941,1824,2179,2108,2598,2648,2081,1721,2193,2153,2309,3514,4187,3917,3220,2690,2390,2916,3116,2507,2012,2578,2802,2576,2481,2499,2144,1819,1442,1622,1802,1731,1958,2082,2932,2952,2609,1974,1676,2530,3209,2835,2728,2265,2234,2503,2799,3041,2319,1958,2142,2028,1831,2050,2360,2247,2326,2446,2149,2325,2589,2897,2818,3165,3871,3937,3162,3099,3490,2929,3154,3539,3481,3161,2633,2654,2436,2330,2641,2857,2640,2541,2800,2907,2996,3164,2698,2518,2392,2161,2306,2919,3091,3156,3057,2518,2252,2899,2929,2697,3309,2963,2375,1951,2182,2466,2577,2579,2591,2607,2596,2842,2815,2310,1821,2218,2843,2314,1989,1879,2201,2507,2257,1988,1942,2302,3171,3375,2802,2430,2236,2397,2154,2087,2027,1886,1979,2133,2207,2509,2833,3094,3037,3028,3031,2674,2780,2270,2397,2810,3255,3210,3264,3638,3046,2284,2666,2923,3229,3682,3614,3370,2866,3143,2896,2397,2531,2759,2697,2690,2777,2611,2897,3082,3030,2702,2666,2672,2399,2565,2995,2911,3204,3560,3835,3927,2912,2390,2655,3244,3283,2347,1882,1860,1896,1957,1957,2047,2462,3386,4404,4340,3309,2474,3184,3226,2479,2252,2271,2654,2866,2554,2422,2636,2197,1850,1961,2574,2720,2539,2618,2709,3001,3286,2985,2693,3253,3649,2793,1834,2437,2766,2853,3238,3229,3022,2967,3029,2912,2708,2691,2927,2774,2459,3228,3481,3002,2922,3407],[3094,3050,3276,3034,2151,1866,1829,2302,2422,2536,2774,2934,3426,4018,3949,3726,3429,3750,3663,3615,3491,3138,3039,3093,3212,3249,3292,3261,3150,3312,3262,3208,3177,3559,3736,3549,3216,3108,2980,3432,4000,4104,3990,4104,3931,3307,3146,3493,3441,3326,3332,3376,3168,3344,3385,3385,3485,3109,2953,3356,2520,1434,1532,1822,2375,2934,2454,2113,2596,2732,3038,3421,3361,3620,3439,2684,2590,2846,3032,3326,3332,3227,3389,3138,2995,3327,3296,2897,2920,3186,3556,3002,2686,2565,2578,2775,2360,1933,1960,2259,2302,2047,1979,1770,1630,1810,2478,2245,1565,1997,2415,1658,1371,2002,2622,3012,2614,2449,1882,1784,1793,1623,1433,2214,2220,1836,2471,2908,2488,1665,1476,1810,1682,2512,2944,3051,2862,3098,3088,2950,2940,2608,2207,2389,2729,2583,2648,2061,2322,2256,2558,2802,2155,1569,1698,1788,1840,1863,1970,2627,3012,2290,2282,1800,2136,2544,2698,2666,2112,2148,2499,2417,2420,2586,2378,2512,2464,2447,2854,2521,2098,1770,2332,2708,2531,2259,2044,2307,3108,2967,2359,1813,2270,2209,2041,2248,2264,1910,1846,2383,2680,2639,2846,2777,2526,2337,2444,2137,2074,2119,2340,2191,2456,3007,2622,2489,2103,1892,1643,1823,1830,1869,2090,2587,2775,2610,2316,2058,2514,3007,2949,2902,2715,2940,2519,2122,2103,2379,2358,2000,1641,1652,1829,1833,1827,1758,1970,2261,2138,2578,2634,2763,2896,2653,2298,1849,1756,2142,2566,2777,3272,3528,2796,2573,3190,3751,3460,3427,3654,3735,3838,3729,3752,3693,2808,2061,2429,2114,2382,3139,3138,2406,2218,2428,2632,2492,2272,2137,2576,2561,2592,2665,2160,2531,3474,3650,3792,3882,3773,3185,2126,1743,1658,1826,1636,1990,2208,2371,2153,2250,2920,2705,1900,1908,1992,1935,1966,2110,1713,1978,3093,3539,3273,3344,3420,3367,3308,3535,3738,2729,2595,3017,2798,2741,2332,1993,2279,2309,2088,1754,1686,1770,1976,1748,1530,2092,2910,2786,2546,2324,2396,2132,1860,2031,1876,1667,1982,2054,1836,1571,1750,2057,1521,1645,1811,1652,1600,1684,1647,1765,1685,1456,1726,1830,2240,2834,3037,2946,2406,2125,1909,1797,1465,1458,1948,2232,2508,2518,2384,1981,1639,1665,1728,1863,2243,2710,2395,2110,1861,1768,1829,1772,2144,2035,2268,2199,2236,2133,1565,1356,1571,1806,1562,1447,1548,1715,1458,1760,1862,1506,1512,1572,1650,1729,1528,1624,1945,1756,1704,1237,1356,1322,1311,1450,1523,1446,1448,1440,1488,1695,1860,1693,1576,1393,1250,1380,1472,1697,2036,2073,2046,1839,1611,1451,1451,1667,1653,1586,1766,2636,2920,2853,3318,2944,2852,2398,1863,2010,1772,1659,1876,2175,2155,1914,1736,1682,1495,1359,1427,2077,2198,1623,1584,1755,1950,1616,1682,1787,2316,2877,2174,1863,1876,1730,1658,1853,1904,1849,1818,1575,1802,1598,1705,1736,2159,2191,2242,1956,1904,1777,2100,2902,2462,1877,1752,1937,2037,2216,2142,2187,3030,3119,2622,2506,2727,2913,3118,3144,2872,2871,2830,3368,3205,2927,2397,2124,2252,2437,2734,3135,3338,3340,3076,3071,3404,3601,2929,2667,2414,2154,2322,2151,1938,2058,2226,2322,2294,2098,1791,1882,1885,1534,1405,1360,1448,1371,1935,2432,2310,2558,1849,1788,1666,1329,1368,1577,1856,1981,1910,2201,2354,2096,1902,1690,1731,2266,2315,2404,2428,2137,1825,1928,2223,2136,1894,1989,2145,1622,1670,1567,1652,1995,2264,2453,2443,2059,1836,1454,1256,1595,1625,1660,1817,2104,2044,1839,2197,2265,2115,1921,1979,1866,1981,2234,1933,1661,1783,1827,1825,1864,1856,1717,1565,1529,1560,1577,1450,1542,1866,1826,1802,2295,2468,2431,2285,2266,2373,2568,2344,1992,2124,2172,2129,1990,1818,1711,1843,1951,1884,1849,1707,1575,1729,1820,1755,1713,1738,1418,1409,1825,1698,2251,2520,2198,1824,1637,1526,1580,1792,1788,1566,1647,2178,2459,2174,1701,1589,1709,2170,2064,1946,1785,1603,1740,1869,2144,2465,2028,2136,2460,2144,1890,1633,1372,1525,1538,1554,1450,1433,1583,1694,1827,1920,1775,2128,1875,1681,1514,1456,1699,1570,1592,1819,1637,1805,1998,1792,2447,2404,1719,1512,1550,1600,1671,1549,1504,1778,1549,1494,1614,1808,1816,1814,2312,2447,2389,2148,2020,2096,1920,1716,1779,1783,1981,2030,2542,2446,2047,1972,2276,2354,2266,1610,1707,2461,2335,2330,2151,2015,2298,2674,2852,2890,3032,3333,3331,3239,3365,3543,3874,4013,3746,3376,3150,3098,3342,3222,2942,2707,2563,2526,2609,2916,3305,3248,2810,2820,2873,2896,2842,2812,2900,2969,2896,2968,3056,3118,3238,3174,3217,3400,3807,3482,3528,3504,3187,2920,2326,2112,2307,2931,3848,4048,3661,3452,3666,3729,3463,3452,3250,3354,3376,2959,2526,2272,2404,2700,2861,3417,3673,3683,3729,4141,3782,3248,2985,2719,2207,1718,1499,1742,2134,2155,2122,2026,1722,1361,1019,1256,1129,976,939,1471,2788,3864,4179,4061,3625,3226,2857,2426,2021,1898,1941,2008,2143,2296,2601,2762,2520,2065,1555,1978,1955,1630,1712,1642,1568,1656,2221,2491,2093,1960,1869,2179,2392,2636,2143,2220,1782,1498,1626,1608,1596,1614,1392,1722,1896,1798,1759,1779,1869,2702,3340,3466,4048,4121,3735,3626,3838,4368,4820,4828,4708,4353,4385,3741,2973,3716,3963,4189,3497,2788,2813,3530,4348,4352,3708,3373,3453,3330,3329,3432,2710,2068,1743,1488,1523,1793,1692,1571,1676,1638,1794,1892,1566,1565,1541,1542,1780,1798,1704,1718,2106,2412,2331,2732,2910,2151,2114,1864,1709,1627,1690,1808,1784,1625,1487,1627,1753,1834,1738,1698,1621,1579,1524,1616,1892,2064,1649,1284,1757,2456,2507,2578,2491,1990,1913,2022,1924,1874,1703,1868,1660,1633,1738,1639,1608,2062,2336,2756,2177,2184,1779,1735,1687,1910,2321,2219,2117,2470,2446,1792,1519,1592,1984,2521,2236,2475,2260,2320,2604,2302,1969,2080,2289,2072,2049,2580,3072,3166,2679,2445,2228,2203,2519,2375,2088,2434,2701,2828,2220,1938,1746,1574,1775,1976,2237,2217,1927,1869,1761,2586,2912,1549,1657,2329,2094,2208,2057,1603,1482,1810,2104,2278,2180,2132,2424,2613,2432,2593,2770,2331,2546,2240,1859,1896,2036,2079,1973,2092,2306,2236,1756,1774,1687,1528,1672,2098,2689,2765,2474,2234,2377,2644,2725,2793,2665,2381,2153,1917,2324,2657,2563,2542,2121,1781,1792,1883,1647,1698,2028,1648,1921,1722,2131,2154,2287,2392,2366,2536,2541,2078,1735,1878,2519,2416,2599,2142,1920,1925,1802,1594,1556,1598,1544,1522,1551,1513,2320,2376,2007,1881,1945,1872,1792,1745,1514,1432,1559,1560,1443,1444,1521,1413,1633,1483,1582,1678,1614,1734,1930,2006,2110,2434,2791,3039,3547,4068,3963,4094,4323,4528,4143,3601,3319,2823,2550,2962,3648,3565,3380,3958,3729,3515,3824,3916,3804,3647,3430,3294,3587,3846,3773,3885,4103,3971,3280,3341,3772,2950,2041,1870,2097,2341,2730,3022,3356,3356,2883,2390,2525,2501,2195,1883,1847,1937,1803,2018,2430,2840,2858,2535,1952,1653,1583,1428,1979,1952,1565,1712,1919,1824,1673,1735,1724,1828,2042,1886,1659,1529,1550,1737,2156,2341,1927,1478,1483,1772,2396,2577,2199,2038,1985,2121,1687,1632,1677,1833,1739,1424,1875,1887,1657,2012,2290,2002,2052,2497,2199,2961,2954,2689,2799,3278,3770,2985,2018,2096,2148,1936,1732,1924,1964,2014,1860,1688,1831,1784,1668,1749,1614,1550,1521,1640,1633,1212,1277,1594,2577,3356,2899,3034,2927,2063,1931,2070,1961,1548,2292,2148,2219,2878,3470,3624,3537,3374,3128,2808,2741,2444,2248,2343,2177,2061,2070,2458,2611,1909,1849,2282,2118,1845,1886,1666,1624,1980,2076,1605,1875,2344,2021,1664,1683,1676,1597,1498,1510,1531,1497,1462,1571,2326,2700,2964,2423,2019,2178,2609,2361,1850,2095,1992,1575,1724,1776,1854,1708,1634,1960,2026,1692,1485,1557,1822,2026,2338,2618,3104,3782,3384,2784,2632,2806,3042,2413,2442,2562,2498,3050,3221,2699,2562,1983,2214,2709,2894,2586,2742,3234,2991,2475,2404,2790,3132,2920,2486,2307,3021,3417,3264,2789,3196,3454,3008,3311,3662,3684,3450,2581,2591,2975,3286,2712,2908,3077,2486,2048,1852,1819,2370,3069,2918,2189,2059,1645,1679,1632,2849,2635,1994,1626,1969,2019,1930,2637,3274,3504,4147,4293,3150,2159,2011,2135,2714,2624,2874,2558,1708,1610,1770,1875,2161,3193,3615,3705,3436,2548,2070,2291,2450,2123,2030,2496,2695,2528,2492,2200,2137,2602,2277,1927,1899,1911,2377,3031,3355,3282,2612,1957,2311,2862,2977,2516,2480,2048,1743,1741,2312,2995,2893,2591,2491,2462,2046,1419,2284,2393,2305,2072,1732,2298,2963,2994,3178,3871,4184,3698,3207,3122,3430,3252,3780,3708,3614,3128,2912,2995,2322,1695,2012,2787,2614,2513,2336,2324,2342,2388,2534,2928,2608,2339,2581,2756,3087,3327,3146,2824,2382,2740,2149,1940,2643,2902,2405,1531,1864,2557,2490,2445,2522,2613,2745,2391,2004,2001,2260,2758,2817,2154,2238,2596,3050,3005,2381,2320,2501,3207,3731,3418,3392,2709,2736,2802,2342,2203,2462,2491,2605,3021,3465,3792,3940,4113,3492,3063,3077,2761,2742,2625,2702,2943,3344,3289,2629,2502,2294,2342,2584,2412,3319,3895,3694,3662,2984,2507,2736,2840,2787,3056,3008,2789,2754,2942,3134,2956,2854,2644,2448,2537,2510,3101,3460,3515,4041,3627,3686,3041,2056,2483,2786,2776,2731,2548,2176,1716,1814,1840,1569,1794,2974,4195,4136,3561,2907,2330,2577,2916,2470,1914,2154,2402,2438,2656,2612,3124,2996,2341,2145,2332,2244,1936,1809,2203,2800,3260,3008,2856,3194,3178,2654,2185,2598,2554,2878,3593,3431,3206,2962,2952,2917,3100,3134,2927,2672,2709,3647,3586,3443,3562,3364],[3151,3075,3287,3452,2596,1959,2128,2655,2718,2611,2893,3331,3552,3854,3641,3364,3458,3615,3547,3383,3202,3071,2863,2870,3067,3238,3344,3217,3275,3452,3573,3704,3599,3983,4353,4165,3709,3523,3521,3498,4060,4549,4493,4372,3616,3226,3219,3274,3319,3386,3372,3117,3055,3186,3218,3229,3312,3130,3066,3252,2107,1215,993,1187,2170,2932,2536,2134,2688,2697,3197,3562,3649,3710,3697,3074,2603,3000,3530,3618,3389,3500,3454,3039,2958,3046,3067,3029,3064,3067,3093,2943,2875,2852,2706,2839,2806,2158,2072,2950,2375,1861,2385,2364,1928,1636,2405,2431,1601,1629,2002,1898,1704,2088,2382,2753,2373,1999,1609,1461,1576,1634,1736,2061,2017,2240,2440,2206,2117,2134,2374,2288,1598,2080,2690,2942,3059,3517,3665,3699,3522,2840,1995,2283,2713,2397,2601,2577,2244,2095,2703,3137,2632,2004,1871,1421,1340,1439,1814,3024,3308,2809,2737,2491,2515,2445,2320,2400,2366,2547,2575,2907,3594,2998,2644,2518,2316,2499,2564,2810,2604,1923,2158,3043,2909,2230,2536,2708,2982,2393,2270,2165,1986,1762,2015,2077,2072,2336,2328,2270,2488,2727,2811,2823,2451,2127,2317,2434,2444,2625,2410,1997,2138,2523,2486,2741,2078,1859,2147,2187,2175,2123,1748,1886,2451,2751,2714,2542,2766,2776,2809,2448,2279,2684,2206,2039,2186,2136,1999,1895,2150,2278,2129,1970,1974,2210,1749,1820,2415,2742,2458,2507,2524,2223,1863,1730,1807,2144,2177,2288,2737,3227,2769,2533,3216,3854,3763,3393,3869,4106,3537,3259,2886,2577,2222,2486,2638,2052,1574,2329,2882,2236,2135,2266,2046,2261,2359,2480,2317,2006,2014,2200,2396,3009,3467,3671,3824,3906,3616,3068,2366,2344,2570,2302,2069,2334,2342,2474,2620,2610,2789,3040,2520,2327,1701,1470,1711,2287,1898,2360,3543,3337,2930,3113,3108,3145,3375,3345,3496,3094,2966,2545,2110,2095,1803,2075,2355,1833,1601,1720,2009,1844,2018,1736,1731,2125,2562,2845,2544,2379,2491,1945,2142,2293,2005,2351,2720,2540,1846,1910,2661,2733,1971,1544,1610,1568,1457,1505,1507,1645,1777,1776,1599,1642,2337,2023,2262,2578,1941,1700,1999,2068,1442,1393,2063,2580,3076,2911,2109,1829,1737,1813,2019,2203,2687,2671,2417,2296,1730,1579,1564,1754,2226,2062,2401,2355,2165,1931,1506,1410,1620,1535,1440,1419,1428,1318,1404,1990,1891,1701,1633,1483,1341,1320,1418,1565,1814,1515,1272,1190,1250,1399,1405,1528,1480,1394,1564,1491,1506,1592,1747,2135,1930,1408,1427,1518,1379,1431,1838,2096,2161,1958,1750,1601,1437,1672,1759,1732,1838,2511,3021,3197,3154,2836,2648,2416,2155,2271,2092,1801,1921,2573,2644,1843,1652,1525,1470,1542,1628,2102,2089,1710,1709,1798,1721,1500,1421,1437,2131,2350,1937,1810,1738,1649,1543,1794,2121,2054,1811,1477,1386,1548,1592,1606,2076,2153,1985,1738,1723,1753,1613,2182,2070,1810,1618,1578,1826,2072,1758,1996,2748,2416,1746,1949,2602,2957,3206,3365,3283,3076,3277,3353,3095,2721,2265,1994,2113,2656,3146,2911,2911,3151,3182,3265,3420,3685,3360,2890,2418,2248,2386,2292,1844,2056,2894,2789,2283,1752,1610,2066,1830,1658,1601,1504,1699,1391,1975,2497,2077,2144,1614,1432,1487,1413,1444,2056,2383,1910,1723,1787,1812,1880,1901,1393,1285,1899,1969,2116,1748,1414,1537,1762,2043,1966,1831,1944,2060,1805,1741,1997,2082,2471,2989,3068,2578,1998,1815,1600,1524,1657,1622,1859,2078,2128,2094,1888,2133,2150,2010,1828,1603,1653,1872,2098,2036,2109,2106,1906,1879,1783,1625,1585,1574,1410,1363,1667,1685,1738,2090,2094,1947,2785,2565,2332,2223,1889,1947,2471,2399,1979,2170,2474,2420,2061,2193,2194,2284,2683,2429,2241,2120,1741,1868,2079,1872,1777,1821,1681,1725,2116,2302,2620,2636,2430,1936,1516,1449,1698,1803,1587,1506,1622,2412,2490,1891,1453,1742,2063,2181,2020,2047,1980,1592,1521,1523,1592,2282,1752,1888,1945,2157,1844,1564,1774,1772,1692,1579,1323,1427,1832,1772,2113,2009,1680,1930,2443,2555,1885,1405,1550,1586,1947,2471,2065,1649,1631,1475,1433,1390,1722,1746,1592,1814,1980,1753,1885,1952,1514,2103,1750,1697,2050,1722,1806,2494,2700,2366,2372,2462,1855,1561,1701,1676,1964,2440,2620,2636,2276,2329,2425,2276,2214,1652,1590,1668,1942,2206,1800,1855,2454,2728,2686,2786,3160,3505,3466,3589,3787,3641,3736,3873,3482,3239,3159,3117,3199,3117,3039,2957,2805,2713,2663,2806,3098,3239,2911,2940,2945,2985,2931,2832,2908,2980,2965,3011,3004,3285,3497,3224,3296,3354,3535,3466,3737,3487,3393,3295,2408,2000,2223,2419,2875,3498,3895,3808,3617,3788,3434,3199,3256,3172,2404,1844,2191,2610,2791,2333,1961,2906,3483,3258,3551,4084,3675,2447,1397,1075,1230,1430,1880,1949,1427,1187,1117,1037,1019,1077,1241,1469,1626,1851,2213,2856,3729,3986,4144,3624,2784,2298,2060,1990,1990,2033,2142,2322,2585,2782,2753,2479,2245,1866,1731,2155,1877,1447,1640,1620,1582,1511,1948,2395,1820,2020,1865,2371,2541,2252,2401,2311,1804,1550,1821,1722,1573,1728,1393,1423,1570,1624,1712,1596,1681,2084,2253,2522,3789,4533,4220,3980,4014,4620,5024,4499,4044,4119,4472,4113,3074,3297,3804,3973,4009,3627,3544,4071,4291,4439,4024,3710,3563,3474,3405,3439,3099,2418,1907,1830,2115,1910,1606,1406,1521,1531,1547,1710,1852,1951,1901,2011,2264,2089,1747,1955,2426,2686,2108,2435,2553,2485,2553,2382,1923,1633,1627,1526,1522,1510,1590,1529,1532,1617,1729,1934,1598,1359,1438,1938,2693,2537,1604,1575,2634,3354,2722,2457,1963,2074,1906,1776,1574,1688,2055,2333,1986,1667,1857,2531,2641,2999,2293,2601,2181,2311,2103,2319,2031,1879,2730,2735,2365,2373,1929,1903,1613,1712,2022,2387,2203,2153,2029,1686,1488,1787,1721,1695,1885,2393,2940,2931,2588,2595,2306,2249,2296,2018,2014,1832,1804,2310,2064,2451,2035,1670,1481,1400,1474,1584,2039,2193,1772,1517,1493,1730,1964,1644,1820,2161,2146,2115,1835,1700,1615,1750,2282,2477,2129,2001,2235,2177,2258,2690,2743,2442,2564,2109,1849,2018,1913,1838,1897,2089,2529,2095,1838,1773,1439,1549,1655,1784,2110,2437,2071,1980,2493,2289,2679,2692,2467,2385,2424,2653,2858,2535,2438,2500,2264,1914,1744,1794,1605,1767,1824,1653,2096,1701,2170,2040,1739,2049,2189,2274,2221,2093,2163,2069,2812,3106,2879,2631,2589,2128,1814,1609,1373,1553,1420,1604,1758,1595,2578,2151,1872,1838,1792,1551,1858,1981,1594,1500,1465,1338,1331,1474,1565,1583,1692,1834,2117,1773,1609,1904,1877,1746,2153,2766,3254,3665,3895,3904,3694,3866,4254,4400,4036,3493,3071,2683,2320,2758,3919,3843,3692,4213,3635,3383,3876,4140,3821,3458,3337,3343,3544,3745,3859,4146,4133,4058,3676,3543,3871,3087,1925,1660,1671,2170,2713,2636,3184,2997,2836,2626,2570,2354,2041,1991,2065,2053,2396,2751,2691,2472,2075,2082,1954,1690,1910,1882,1715,1601,1538,1575,1758,1820,1477,1497,1619,1565,1394,1546,1837,1821,1683,1664,1698,1794,1861,1809,1762,2088,2490,2393,2618,2073,2185,2232,1836,1679,1482,1930,2191,1939,2081,1848,1623,2087,2447,1946,2208,2301,2530,3186,2999,2587,2254,2541,2950,2235,1625,1526,1960,2181,2136,2210,2084,1835,1586,1496,1756,1792,1785,2085,1855,1799,1577,1895,1761,1467,1215,1460,2435,2919,2756,3257,3172,2264,1842,1819,2306,1732,2485,2169,2126,2155,2984,3242,3131,3508,3274,3340,3263,1997,1997,2131,2231,1984,1957,2369,2302,1800,1761,1951,1941,2091,1975,1532,1665,2800,2215,1415,2009,2348,1857,1584,1428,1415,1569,1659,1531,1421,1682,1937,1933,2878,3263,2376,1783,2316,2142,1784,1946,1972,2075,1909,1903,1754,2062,2139,1914,2083,2464,2064,1492,1451,1476,1611,1681,2225,2253,1996,3209,3883,3225,2850,2840,2855,2713,2681,2751,2645,2841,2638,2458,2474,2170,1808,1942,2365,2670,3052,3286,2929,2600,3030,3306,3271,2828,2727,2568,2852,3285,3655,3598,3803,3753,3485,3399,3519,3456,2938,2446,2973,2788,3222,2881,2722,2708,2438,2322,2620,2865,3249,3580,2831,2398,2356,2309,2375,2483,3021,2840,1837,1675,2233,2111,2179,2798,2984,2796,3432,3798,3045,2273,2376,2878,3057,2668,2740,2497,1868,1638,1799,2060,2181,2256,2677,3066,3093,2696,2450,2522,2327,1916,2013,2249,2395,2448,2416,2580,2414,2777,2798,2359,2316,2286,2675,3272,3399,3334,2453,1469,1662,2136,2364,2251,2340,2090,2099,2376,2912,3474,3537,3262,2621,2576,2249,1732,1885,2276,2436,2260,2384,2818,2995,3017,3230,3461,3631,3505,3248,3099,2960,3203,3705,3512,3647,3453,2995,2402,1868,1547,1847,2500,2338,2023,1525,1913,2222,2143,2128,2672,2927,2706,2770,3153,3226,3073,2866,2603,2356,2510,1924,1609,2294,2721,2323,1675,1466,1976,2044,1878,1948,2557,2844,2483,2397,2714,3069,3307,2958,2398,2841,3201,2670,2634,2677,2700,2857,3475,3480,3111,2814,2302,2454,2566,2336,2264,2441,3426,4145,4348,4441,4107,3916,3977,3661,3224,3151,2594,2212,2788,3559,3395,3443,3368,2362,2125,2377,2458,2271,2431,3453,3852,3717,3775,3305,3209,3956,3803,2965,2707,2486,2632,3241,3499,2996,2557,2814,2697,2579,2909,3204,3473,3594,3918,3541,3161,3265,2750,2532,2787,2482,2075,2155,2346,2378,1802,1733,1858,1716,2659,3238,4136,3794,3020,3135,2796,2349,2335,1827,2090,2533,2366,2249,2434,2610,2775,2531,2075,2090,2172,2165,1879,1812,2158,2485,2801,2329,2414,2816,2967,2732,2551,2820,2510,2699,3260,2831,3220,3008,2361,2764,3604,3710,3344,2902,3232,3165,3043,3693,3666,3100],[2474,2709,3309,3354,2751,2435,2557,2706,2917,3164,3812,3877,3730,3384,3464,3593,3555,3453,3662,3688,3502,3305,2903,2890,2907,3089,3233,3382,3488,3304,3438,3589,3538,3596,3764,3852,3363,2810,3232,3565,3971,4151,3971,3553,2890,3312,3344,3034,3284,3393,3294,3163,3208,2978,3142,3209,3186,3166,3245,3024,1678,1310,1452,2029,3146,3677,3278,2507,2629,2794,3452,3518,3669,3759,3834,3178,2866,3435,3783,3688,3399,3388,3144,2694,2633,2579,2836,3351,3481,3128,3031,2938,3077,3079,2301,2453,2839,2666,2128,2523,2012,1614,2054,2575,2334,2071,2827,2874,1980,1560,1556,1448,1687,1835,2034,2674,2433,1957,1752,1749,1808,1788,2031,2056,2105,1974,1787,1589,1678,2407,2509,2602,2288,1897,2524,3194,3418,3771,3538,3451,3271,2365,2091,2483,2436,2384,2487,2774,2614,2313,2632,3077,2657,2117,2406,1655,1635,1811,2244,2504,2973,3210,3118,2954,3300,3009,2750,3068,3322,3207,3265,3661,3235,2353,2365,2418,2698,2567,2285,2916,3256,2776,2458,3203,2603,2221,3106,3256,2786,1713,1844,2359,2208,1947,2062,2082,2425,2459,2214,1881,1927,2332,2365,2416,2309,1772,1947,2601,2624,2123,1603,1598,1924,2388,2764,2446,1903,1853,2263,2486,2342,2035,2095,2552,3030,2563,2211,2176,2422,2664,2515,1864,1899,2244,2040,2091,2252,2146,2366,2283,2273,2155,2189,2084,1860,2049,1886,1909,2062,1882,1771,2189,2799,2556,2277,2380,2117,1908,1808,1805,1864,2430,2927,3447,3916,4293,4212,3383,3691,4555,3537,2274,1815,1942,2315,2949,2828,2030,1800,2524,2984,2154,2418,3175,3128,2451,2217,2263,2632,2588,1924,1577,2349,2836,3232,3626,3879,3654,3405,2732,2088,2276,2415,2087,2096,2187,2338,2269,2609,2373,1677,2128,2082,2018,1353,1257,1881,2648,2434,2631,3872,3720,3084,3120,2880,3173,3273,3377,3426,2999,2637,2382,1998,1763,1748,2157,2622,1937,1805,2889,2344,1857,1722,1648,2128,2328,2299,2512,2367,2426,2640,2059,2099,1925,2339,3055,2722,2200,2069,2842,3559,2901,1826,1626,1846,1782,1673,1845,1880,1841,1660,1893,1762,1732,1794,1672,2172,2566,2084,1611,1745,1941,1421,1298,1562,2271,3063,2546,1896,1852,1668,1885,2142,2210,2449,2448,2392,1989,1705,1863,1602,1648,1788,1959,2430,2571,2086,1759,1635,1635,1750,1484,1446,1525,1550,1465,1613,1605,1663,2150,2365,1698,1227,1407,1472,1272,1266,1143,1370,1372,1272,1291,1392,1655,1650,1659,1757,1426,1477,1482,1639,2096,1996,1698,1583,1515,1385,1376,1663,1838,2001,1945,1874,1750,1600,1810,1834,2095,2351,2513,2796,2522,2114,1779,1685,2093,2145,1804,1921,1875,1926,2868,2978,2046,1688,1570,1531,1760,1725,1871,1545,1557,1830,1797,1529,1493,1524,1808,2168,2034,2020,1938,1567,1361,1373,1668,1818,1676,1517,1372,1087,1399,1846,2030,2053,1782,1663,1630,1561,1741,1732,2022,2151,1711,1418,1759,1831,1777,1814,1919,1720,1670,1717,2205,2621,2568,2354,2919,3173,3239,3405,3085,2898,3016,2888,2341,2353,2760,3414,3435,3383,3735,3552,3303,3391,3493,3087,2654,2774,2655,2327,2276,2066,2445,2856,2999,2353,1649,1355,1682,1798,1851,2025,1843,1829,1887,2075,1643,1720,2154,1731,1597,1832,1807,1984,2323,1881,1672,1801,1801,2093,2443,2493,1831,2234,2912,2536,2216,1847,1660,1555,1592,1849,1889,2254,1969,1559,2003,1758,1532,1810,2482,2918,2611,2295,1814,1704,1605,1481,1561,1588,1744,1898,1936,2054,1941,1875,1824,1855,1909,1601,1737,1898,2052,1994,2743,2622,2143,1771,1494,1433,1581,1586,1193,1352,1797,1488,1843,2221,2318,2211,1953,2031,1974,1709,1599,1478,1578,1693,1853,1945,2473,2068,1907,2356,2634,2492,3005,2878,2476,2567,2232,1780,1795,1927,1782,1722,2060,2315,2263,2506,2658,2525,2302,1952,1532,1576,1808,1990,1866,1654,1839,2583,2473,1809,1482,1746,2121,2094,2261,2269,1636,1682,1810,1773,1610,1942,1983,1606,1696,2075,1802,1705,1475,1532,1898,1668,1330,1279,1471,1440,1751,1780,1483,1806,2454,2634,2243,1673,1882,1799,1950,2137,2271,1926,1869,1860,1860,2068,2091,1736,1841,2066,2014,1826,2138,2108,2343,2979,2136,1807,2061,1830,1870,2436,2350,2202,2386,2315,1754,1575,1771,1850,1707,2222,2691,2690,2454,2619,2754,2242,1863,1456,1397,1477,1783,1906,2048,2158,2076,2390,3016,3127,3232,3436,3361,3640,3466,3308,3537,3719,3540,3517,3363,3443,3497,3287,3294,3331,2841,2799,2732,2814,2776,2834,2932,2969,2958,3008,2956,2953,3083,3022,3046,3074,3166,3446,3466,3422,3370,3264,3205,3253,3374,3251,3435,3422,2529,1808,2082,2220,2573,3482,3895,3806,3642,3742,3554,3286,2920,2038,1623,2773,3740,3980,3783,3235,2073,1848,2423,3066,3684,3460,2325,1720,1821,2059,2958,2885,3566,4103,2949,1616,1188,1694,2192,2072,2044,2608,3313,3929,3846,3623,3717,3626,3133,2376,1934,1937,2072,2135,2187,2188,2214,2480,3074,2984,2223,1918,1842,1523,1604,2041,1788,1610,1675,1484,1570,1462,1617,2139,2026,2105,2273,2227,2214,2302,2446,2168,1910,1630,1648,1714,1551,1746,1709,1778,1632,1710,2050,2030,1741,1669,1796,2470,3452,3573,3260,3074,3911,4872,5025,4253,4047,4299,4939,4156,2821,3608,4094,3960,4328,4283,4008,4073,3929,4180,3695,3426,3295,3326,3627,3784,3562,2907,2301,2129,2433,1902,1648,1632,1567,1604,1732,1829,1744,1786,1931,2199,2397,2074,1715,1942,3155,3599,3256,2932,2874,3059,3065,3050,2588,1883,1906,2111,2110,1928,1664,1450,1580,1691,1765,1946,1659,1503,1684,2018,2257,2140,2155,2404,3433,3927,2984,2452,2574,2200,1881,1998,1948,1909,2269,2683,2510,1832,1405,2024,2924,2734,2008,2504,2902,2875,2476,2447,2288,2293,2901,2663,2285,2309,1965,2289,1742,1539,1703,1914,2135,2254,2232,2371,2017,1948,1919,2553,2668,2921,2886,2718,2529,2457,2281,2008,1929,1923,2332,1554,1486,1826,2135,2267,2035,1867,1994,2015,1746,1562,1746,1852,1764,1698,1596,1622,1781,1678,1579,1873,1968,2151,2342,2298,2163,2097,2141,2522,2018,1869,2094,2169,2632,2562,2370,2402,2472,2374,2206,2215,1761,1884,1983,1990,1820,1671,1870,1813,1767,1694,1669,1570,1621,1880,1809,1904,2173,2230,2531,2447,2413,2374,2599,2712,2835,2996,3152,3108,2463,1713,1637,1814,1606,1736,2204,2400,2205,1776,1946,1976,1884,2106,2074,2705,2779,2469,2505,2699,2885,3119,3298,3686,3565,2508,2061,1654,1363,1693,1688,2037,2410,2123,2026,1946,1816,1848,1825,1615,1617,1422,1413,1626,1483,1551,1800,1804,1876,2004,1929,1965,2364,2777,2663,2267,2229,1946,2188,2288,2611,3307,3839,3726,3617,3897,4155,4124,3928,3398,2769,2322,2287,2492,3501,3216,3505,3740,3292,3396,3576,3623,3664,3697,3664,3558,3485,3753,4071,4152,3982,4050,3883,3721,3906,3222,2020,1714,1591,1544,1861,2287,2721,2765,2743,2798,2734,2312,2102,2266,2431,2548,2847,2832,2947,2554,1947,1620,1643,1818,1932,1575,1503,1758,1675,1406,1555,1630,1497,1553,1706,1742,1615,1616,1861,1901,1691,1476,1594,1873,1844,1527,1511,1872,2010,1906,2062,1864,1803,1977,1950,1682,1673,2132,2287,1822,1642,2003,2141,2276,2152,1818,1861,1685,2041,2544,2428,2144,2005,2366,2479,2114,1814,1620,1726,2166,2351,2339,2179,1837,1516,1733,1984,1675,2114,2502,2040,1810,1748,1853,1667,1593,1454,1777,2577,2752,2292,2436,2564,2588,1987,2002,2449,1904,1917,1992,2024,2278,2752,2323,2433,3593,3568,3638,3597,2346,2506,2335,1921,1781,1636,1607,1481,1494,1843,1601,1810,1995,1848,1533,1689,2808,2708,1988,2347,2241,1724,1809,1692,1688,1880,1815,1708,1368,1397,2122,1926,2024,2159,1894,2343,2753,1856,1604,1987,1606,1592,1703,2337,2719,2776,2292,2181,2374,2294,2176,2077,1987,1636,1909,2182,2275,2106,1794,2458,2715,2623,2986,2976,3221,2859,2421,2423,2436,2923,2770,2165,2076,2531,2630,2615,2322,2456,2864,2819,2697,3165,3898,3638,3351,3327,3321,3181,3361,3919,3980,3846,3824,3694,3392,3110,3361,3307,2315,2521,2902,2640,2880,2776,2530,2744,2652,2642,3130,3249,3405,3198,2791,2535,2644,2784,2787,2989,3388,2686,1942,2431,2697,2489,2714,2675,2837,2374,2387,2645,2264,2172,2595,3139,3420,3141,2810,1969,1825,1848,2079,2152,2205,2202,2182,1857,1879,2254,2911,3288,2688,1933,1999,2189,2332,2275,2323,2170,2319,2925,2940,2643,2777,2601,2480,3098,3144,2787,2332,2092,2197,2221,2372,2500,2344,2230,2483,2835,3364,3493,3353,3625,2842,2887,2522,2254,1763,1986,2558,2604,2869,3178,3024,2898,3086,3460,3795,3839,3312,3017,2966,3637,3790,3694,3757,3632,2989,2065,1894,1701,2072,2121,2042,1600,1564,1987,2480,2411,2142,2832,3428,3373,3189,3466,3218,2754,2463,2148,1955,2085,1599,1559,2475,2754,2404,2436,2007,2029,2153,2210,2686,3465,3605,3303,3306,3466,3317,3274,3034,2601,2766,2678,2592,2751,2723,2975,2920,3065,2982,3008,2248,1520,1975,2662,2563,2306,2254,3616,4093,4371,4372,3875,3884,4027,3693,3592,3428,2643,2320,2719,3549,2884,2757,3664,3108,2573,2861,3017,2598,2542,3310,3726,3457,3607,3639,3647,3662,3572,2846,2155,1841,2651,3364,3024,2254,2041,2674,3174,3117,2984,2828,2941,3283,3817,3433,3141,2750,2335,2696,2575,1879,2280,2588,2425,2305,2047,1638,1678,2029,2708,2342,2745,2894,2651,3251,3016,2369,2651,2384,2647,2807,2534,2249,2688,2715,2475,2323,2281,2371,2349,2737,2375,2306,2080,2230,2608,2285,2465,2728,2689,2686,2797,2697,2485,2842,3251,2995,2945,2731,2254,2644,3580,3730,3070,2814,2998,2681,2798,3311,3431,2719],[2344,2764,3043,3174,2810,2474,2627,3140,3222,3905,4404,3909,3492,3283,3419,3523,3442,3161,2934,3011,3386,3355,2930,2897,3064,3166,3166,3175,2997,2588,2593,2897,3099,3225,3373,2961,2271,1859,1601,2361,3693,4223,3782,3184,3154,3550,3343,3071,3244,3204,3168,3476,3528,2918,3085,3186,3118,3001,3131,2387,1599,1600,1301,2695,3694,3658,3176,2674,2828,3144,3674,3805,3928,3891,3500,3097,3119,3391,3663,3592,3110,2954,2814,2573,2503,2482,2758,3340,3533,3262,2956,2662,2834,2310,1908,2615,3162,2395,1909,2013,2187,2177,2200,2176,1848,1845,2144,2165,1921,1648,1236,1425,1939,1741,2066,2386,2470,2500,1902,1492,1683,2197,2361,2447,2949,2247,1613,1479,1630,2347,2756,3040,2568,1983,2370,3654,3631,3194,2567,2579,3028,2239,2483,3163,2926,2775,2762,2934,2964,2719,2953,3384,3036,2060,1720,1550,1809,1953,2258,2697,2554,2474,2238,2380,3063,3045,3189,3377,3009,3040,3743,3009,2313,2285,2207,2307,2518,2447,2787,3485,3773,3454,2945,3054,2597,2867,3683,3697,2842,1863,1665,2215,2676,2241,2048,2077,2221,1930,2014,1663,1875,2483,2495,2398,2369,2158,1938,2161,1966,1582,1706,2018,2078,2087,1953,1837,1590,1554,2239,2781,2231,1717,1829,2554,2899,2087,1739,1883,2169,2452,2457,2008,1809,2150,2030,2159,2288,2414,2130,2142,2121,1920,2188,2177,1860,1822,1852,1733,1770,1707,1731,1766,2273,2179,2172,2290,1964,1796,1711,1579,1818,2312,3054,3903,4276,4620,4416,3465,3459,4505,4252,2713,1888,2051,2600,3067,3108,2960,2969,3127,2688,2005,2979,3730,3759,3604,3016,2409,2200,2381,2359,2093,2664,2712,2711,3224,3457,3284,3351,2737,1870,2102,2188,1947,1795,2100,2696,2219,2591,2332,2071,2359,1804,1689,1660,1598,1654,2296,2301,1983,3527,3212,2663,3021,2883,3183,3173,2977,2799,2291,2241,2726,2480,1660,1740,2406,2702,2033,1592,1640,1693,1586,1786,2413,2565,2481,2229,1918,1785,2484,2833,2145,1784,1696,2308,3252,2834,2021,1909,2522,2766,1927,1524,1668,1654,1418,1526,1850,1820,1936,1742,1654,1877,1831,1522,1347,1406,1891,2083,1797,1798,1586,1360,1624,1773,1838,2162,2096,1886,1975,1758,2035,2032,1834,1642,1820,1939,1755,1516,1573,1585,1564,1740,1923,2357,2567,1812,1683,2166,1770,1801,1650,1611,1944,1886,1800,1768,1531,1503,2267,2657,1969,1417,1678,1552,1329,1365,1405,1615,1476,1335,1642,1858,1704,1831,1719,1651,1455,1455,1451,1575,1663,1474,1476,1387,1470,1594,1503,1445,1334,1753,2048,1938,1903,1732,1723,1808,2019,2134,2148,2442,2049,2021,1692,1665,2232,2344,2151,2391,2214,1857,2552,2978,2364,1829,1351,996,1239,1456,1831,1590,1710,1973,1728,1379,1679,2084,2149,2204,2097,2112,1972,1619,1463,1503,1553,1744,2257,2040,1461,1285,1447,1924,2020,1660,1452,1629,1808,1662,1747,2066,1874,1822,1747,1704,1817,1837,1829,2100,2601,2082,2285,2379,2150,2238,2142,2200,2792,3159,3204,2829,2594,2844,3023,2866,1867,2036,2307,2875,3385,3614,3807,3883,3847,3559,2978,2855,2956,3029,2604,2461,2343,2021,1837,2494,3251,2780,2043,1992,1898,1909,2038,2239,1870,1662,1781,2006,1749,2387,2768,1949,1775,2055,2208,2293,2609,2229,1875,1860,1946,1965,2478,3339,2774,3016,3493,2919,2251,2052,1860,1656,1704,1668,2420,3090,2839,2444,2395,1736,1345,1646,2484,2732,2182,2017,1799,1619,1616,1720,1653,1598,1641,1847,2069,2123,1931,1831,1713,1676,1885,1791,1951,1802,1735,1877,2256,2002,1680,1639,1686,1816,2025,1784,1437,1510,1608,1545,1922,2031,2182,2108,1891,2116,2050,1583,1479,1417,1513,1939,2222,2182,2110,1904,2014,2420,2654,2724,3090,3176,2662,2685,2645,1643,1402,1936,1982,2129,2456,2626,2702,2692,2220,1909,1797,1868,1898,1908,1804,1894,2065,1961,2075,2260,2283,2430,2017,1724,2249,2140,2620,2150,1495,1494,1637,1882,1824,1794,2006,1919,1977,1921,2011,1832,1460,1376,1638,1775,1380,1348,1704,1679,2059,2006,1693,2436,2555,2577,2488,2186,1991,1927,2228,2535,2499,2282,2436,2702,2908,2745,2339,1961,2070,2258,1828,1772,2228,2472,2682,2690,2379,2315,2588,2520,2275,2191,1801,1997,2003,1943,1947,1623,1597,1604,1562,1917,2475,2644,2614,2845,2450,1817,1610,1492,1415,1568,1522,1913,2702,2687,2198,2340,3123,3234,3239,3279,3053,3093,2865,3072,3485,3779,3895,3836,3507,3437,3541,3390,3370,3405,2947,2823,2835,3008,3299,3387,3104,2932,2966,2995,3004,3045,3254,3250,3530,3550,3418,3263,3331,3530,3441,3332,3309,3473,3362,3028,3229,3283,2642,1697,2001,2020,2128,2795,3225,3272,3463,3563,3526,3176,2075,1342,1759,3008,3631,3664,3420,3485,2812,1700,1410,1782,2602,2610,2091,2459,3291,4020,4100,3637,3540,4018,3173,1904,2251,2935,2636,2588,3122,3462,3752,3979,3508,3022,2763,2374,1897,1835,1903,2002,2031,2143,2039,1856,1689,1947,2625,2153,1557,1857,1832,1659,1992,2175,1809,1955,2169,1445,1349,1280,1631,2014,1853,2143,2506,2199,2147,2508,2249,1807,1864,1952,1678,1636,1543,1561,1568,1696,1497,1645,2212,2113,1617,1809,2008,2374,2555,2438,2675,3449,4340,4649,4688,4208,3664,3976,4900,4046,3172,4268,4557,4344,4419,4629,4548,4179,4365,4637,4344,4364,3591,2761,3282,3890,3550,2779,2403,2238,2018,1849,1713,1670,1721,1804,2048,2047,1393,1489,1696,1964,1941,1663,1733,1958,3321,3818,3542,3249,3407,3602,3193,2854,2597,2147,2565,2565,2191,1940,1603,1446,1504,1477,1551,1684,1842,1892,1587,1514,1772,2287,2730,2414,2666,2984,2539,2599,3187,2723,1960,2230,2403,2035,2162,2337,2569,1892,1108,1317,2422,2265,2121,2266,2091,2237,2215,2198,2316,2204,2379,2207,1967,1993,2198,1969,1634,1626,2108,2604,2407,2233,2018,2086,2062,2024,2246,2641,2896,2799,2181,2244,2663,2792,2546,2167,2042,2252,1911,1952,1981,2368,2082,1885,1991,2188,2582,2340,1730,1571,1931,2004,1858,1681,1478,1504,1594,1669,1727,1986,1885,1944,2321,2410,2369,2118,2083,2541,2330,2113,2145,2317,2421,2122,2173,2210,2198,2381,2027,1832,1782,2010,1748,1449,1656,1882,1781,1860,1809,1681,1588,1598,1563,1581,1948,1962,1812,2228,2582,2619,2597,2866,2847,2514,2520,2952,2829,2593,1734,1422,1537,1800,1711,1654,2241,2225,1823,1744,1774,1879,2896,2642,2364,3018,3080,2710,2835,2995,3083,3153,2994,3371,3904,2617,2334,2386,2409,2625,3017,3319,3656,2845,1912,1840,1703,1843,1946,1627,1414,1538,1775,2071,1802,1831,2120,1772,1654,2093,1982,1720,2358,3028,3276,2691,2978,2976,2791,2810,3252,3663,3960,3996,3752,3825,3879,3783,3663,3142,2554,2142,2502,2520,3129,3462,3730,3617,3484,3731,3978,3945,3574,3640,3827,3582,3529,3698,3857,3563,3310,3815,3862,3550,3550,3472,2523,1786,1719,1718,2004,2208,2229,2360,2373,2480,2571,2179,2050,1948,2304,2752,2778,2262,2330,2756,2531,1969,1690,1802,1652,1256,1341,1967,2028,1633,1510,1415,1573,1632,1673,2009,2110,1969,1730,1476,1393,1456,1544,1524,1566,1407,1297,1800,1874,1718,1785,1757,1969,2161,1692,1671,1768,1711,2229,1818,1589,1620,1757,1886,1780,1922,2006,1744,1920,2500,2318,1983,2276,3040,2723,2390,1954,1579,1515,2113,2656,2303,2030,2064,2003,2626,2482,1798,2153,2214,1698,1469,1901,2167,2136,2030,2040,2464,2788,2856,2476,2083,2717,3072,2227,2195,2304,2209,1970,1803,2053,2184,2468,2481,2410,3171,3049,3838,3865,2676,2583,2419,1943,1714,1503,1509,1481,1720,2191,1593,1911,2109,1764,1533,1867,2766,2664,2270,2496,2186,2237,2379,2090,1908,1857,1857,2057,1720,2158,2584,2192,1966,1496,1437,2132,2589,2331,1898,1533,1563,1617,1990,2755,3530,3321,2187,1797,2041,2208,2158,2048,1875,1801,2221,2578,2368,1948,1636,1979,2046,2633,3342,3418,3762,3401,2770,2339,2354,2987,2758,1779,1902,2693,2856,2441,2071,2203,2623,2196,2613,3694,4160,3319,3647,3585,3253,3164,3351,3918,4348,3905,3841,3637,2712,2548,2402,2277,2121,2685,2655,2692,2938,2709,2652,2739,2754,3196,3229,2672,2854,2966,3161,3165,3165,3339,3414,3463,3366,2395,2382,2754,2983,1958,2034,1531,1554,1369,1823,2361,2314,2451,2952,3253,3261,2440,2481,1734,1693,1931,2015,1965,2082,2365,2234,1416,1250,1461,1393,2222,2671,2660,2643,2648,2347,2154,2414,2395,2326,2941,3178,3239,3380,2753,2521,3036,3119,2590,2210,2218,2138,2040,2171,2465,2279,2556,3052,3351,3320,3378,3470,3754,3173,2963,2410,2075,2220,2693,2866,2469,2705,3230,3008,2911,2989,3283,3430,3525,3221,2410,2863,3829,3806,3881,3920,3673,3185,2519,2268,2361,2361,2212,2287,2624,2972,3134,3006,2705,2437,2920,3329,2949,2722,3119,3494,3196,2549,2067,1782,1812,1909,2445,3220,3262,2574,2205,2042,2141,2325,2734,3383,3980,3892,3457,3273,3304,3204,3177,3028,2510,1917,2144,3125,3250,2558,2008,2193,2592,3113,3129,2087,1743,2315,3004,2461,2214,2159,2677,3531,4279,4103,3586,3828,4125,3514,3289,2810,2403,2646,3101,3208,2786,2483,3671,3898,3316,3419,3366,2621,2405,2934,3499,3312,3465,3520,3351,3325,3510,3053,2475,2431,2910,2934,2618,2742,2993,3150,3593,3272,2872,2532,2855,3095,3338,3813,3883,2800,1906,2131,2898,2336,3198,3086,2479,2205,2063,1663,1818,2278,1736,1609,2660,3261,3209,3176,2158,1656,2592,2989,2229,1919,2406,2810,2739,2595,2824,2879,2590,2588,2122,2054,2193,2344,2261,2440,2828,2696,2707,2846,2737,2614,2835,2446,2807,3253,3151,2830,2343,1924,1771,2148,2902,2979,2491,2295,2160,2546,2720,2072,2010,2024],[2711,3090,2360,2743,2770,2658,2790,3241,3370,4124,4152,3824,3548,3251,3187,3321,3215,2621,2485,2642,3203,3337,3062,3000,3072,3210,3329,3205,2706,2102,2132,2590,2818,2562,2467,2023,1619,1573,1455,2411,3578,3911,3631,3253,3190,3164,3332,3140,3103,2933,2621,2554,3659,3500,3038,3029,3086,3074,2885,2105,1446,1182,1914,3082,3514,3284,2895,3226,3676,3670,3484,3581,3974,4058,3710,3294,3328,3338,3484,3000,2144,2480,2916,2847,2684,2731,3168,3650,3516,3395,3022,2816,3426,2800,2354,2755,3030,2145,1814,2331,2499,2197,2037,1959,1798,1762,1890,1711,1704,2032,1604,1559,1771,1627,1834,1997,2148,2209,2082,1983,2376,3034,2951,3149,3309,3034,2138,1615,2258,3016,2884,2508,2143,2302,2054,2558,2894,2797,2150,2252,2700,2446,2427,2733,2695,2390,3106,3395,3100,2907,2846,2908,2784,1800,1583,1743,1976,1914,1886,2136,1994,1953,1886,2278,2314,2662,2777,2907,2546,2885,3768,2873,1694,1669,2302,2875,2886,2807,3497,3818,4159,3669,3352,3167,2929,3266,3429,3215,2564,1653,1694,2224,2852,2771,2400,1720,1756,1733,1879,1570,1547,1891,2395,2666,2665,2441,2442,2039,1964,2012,1994,1922,1853,1736,1616,1574,1579,1603,2220,2646,2306,2064,1951,2232,2601,2124,1794,2043,2332,2557,2598,2663,2656,2230,1625,2060,2460,2586,2193,1985,2128,1981,2006,2521,2491,2197,2004,1707,2019,1720,1526,1395,1579,1769,2076,2209,2081,1927,1721,2099,2779,2818,3032,3812,4211,4616,4552,3553,3201,4028,4384,3476,2369,2041,2341,2688,3204,3427,3304,3191,2520,2181,2995,3141,3342,3637,3207,2849,2557,2714,2836,2922,2880,2229,2072,2713,3040,2901,2923,2542,2031,2102,2308,1880,1748,2206,2952,2558,2498,2490,2194,1953,1889,1780,1814,1922,1728,1764,1864,1932,3408,3270,3122,3348,3218,2797,2374,2223,2045,2093,2809,2702,2229,1676,1493,1789,1792,1681,1474,1583,1672,1859,2585,2396,1779,2020,2370,2315,1671,2354,2416,1817,1690,1597,2021,2675,2543,1948,1681,1961,2091,1776,1703,1753,1572,1343,1488,1947,1877,1764,1789,1896,2161,2114,1664,1336,1438,1870,1991,1844,1589,1641,1715,2013,2467,2404,2142,1931,1652,1738,2238,2058,1991,2220,1995,1707,1762,1864,1551,1386,1363,1703,2254,1813,1724,2049,1909,1937,2225,2013,1779,1590,1676,1777,1842,1937,1613,1778,1852,2105,2082,1975,1632,1691,1483,1282,1250,1373,1559,1438,1470,1845,2328,2235,1953,1601,1418,1499,1576,1536,1737,1594,1316,1405,1536,1651,1771,1355,1084,1353,1852,2139,2052,1882,1648,1754,1810,1718,2265,2395,2092,1851,1793,1588,1748,2121,2200,2111,2181,2085,1846,2105,2534,2465,2144,1661,1344,1583,1723,2004,2014,1673,1685,1666,1412,1791,2192,2113,1951,1880,1796,2179,1953,2010,2138,1989,1873,2214,2064,1755,1598,1503,1605,1850,1610,1493,1502,1663,1775,1937,1995,1881,1930,1976,1978,1788,1970,2421,2668,2863,2918,3078,2644,2120,1953,1762,2042,2709,3152,3046,2252,2444,2387,2347,2404,2115,2998,3010,2698,2981,3322,3648,4095,4428,4453,3521,2945,2767,2736,2463,2265,2207,2082,2382,3308,3792,3198,2304,2104,1718,1644,1722,2044,1951,2244,2421,2501,1819,1909,2254,1773,1808,1852,2056,2316,2707,3010,2414,2326,2409,1898,2272,2735,2498,3110,3455,2498,1663,1976,2071,2518,2245,1941,2756,3328,3385,3413,2890,2079,1757,1776,2853,2566,1784,1606,1648,1583,1765,1694,1649,1764,1808,1948,2093,2323,1891,1760,1597,1554,1806,1831,1814,1733,1782,1854,1856,1902,1979,2249,2195,2220,2129,1725,1580,1598,1888,1994,1916,2061,2343,2213,1871,1824,1665,1393,1449,1676,1624,1996,2644,2371,1959,2034,1873,1802,2045,2552,3155,3066,2341,2504,2709,1880,1387,1736,1977,1801,1852,2298,2725,2712,2169,1781,1767,2017,2571,2578,1928,1729,1870,2094,2500,2250,2348,2490,1853,2101,2408,2358,2521,2075,1859,1701,1454,1563,1561,1588,1759,1664,1690,1707,1920,1636,1536,1432,1924,2042,1436,1486,1643,1632,2150,2439,2620,3088,2822,2310,2028,2309,1879,1878,2437,2718,2358,2012,2315,2500,2554,2414,1876,1950,2231,2382,2007,2126,2463,2706,2482,2074,2244,1986,2203,2634,2197,2182,1931,1919,1555,1583,1591,1653,1843,2082,2311,2182,2640,2766,2708,2590,2333,1866,1736,1575,1389,1640,1835,2378,3197,3333,3182,3084,3247,3083,2784,2913,2853,2840,3184,3479,3883,4107,3950,3896,3610,3458,3341,3452,3449,3343,3043,3119,3538,3804,4169,3962,3311,3067,3007,3078,3514,3587,3470,3305,3363,3908,3970,3455,3394,3621,3630,3562,3482,3729,3287,2652,2900,2868,2777,2030,1826,2029,1967,2451,2937,2642,3073,3322,2754,1905,1355,1611,2593,3143,3377,3450,3286,3484,3074,2421,2310,2514,3086,3000,2984,3142,3553,4248,4020,3663,3122,3254,3188,2618,2431,2554,3056,3808,4058,3508,3171,3297,2938,2292,2007,1900,1967,2090,2002,1998,1958,2045,1765,1715,1494,1707,1997,1628,1529,1810,1907,2132,2635,2614,1653,1910,2300,1738,1612,1592,2050,2027,1921,1959,1849,1898,2304,2484,1734,1459,1557,1979,1664,1551,1909,1797,1555,1418,1433,1695,1840,1880,1863,1835,1621,1764,2531,2854,3194,4050,4352,4112,3882,3588,3457,4038,4324,3841,3299,4164,4500,4521,4398,4487,4611,4111,3977,4090,4237,4028,3190,2934,3428,4072,4316,3382,2135,1653,1691,1814,1735,1652,1626,1615,1897,2076,1866,1459,1835,1766,1685,1842,2055,2136,2587,2624,2524,2844,3203,3229,3266,3189,2403,2254,2531,2929,2611,1835,1558,1491,1497,1532,1499,1592,1962,1940,1647,1516,1775,2450,2549,1832,1687,2172,2291,2508,3005,3065,2241,2386,2385,1991,1984,2496,2500,2114,1752,1810,2121,2162,2161,1916,1830,2238,2140,2084,2508,2320,2274,2133,2285,2692,2392,1942,1873,1794,2292,2624,2310,2274,2121,2502,2865,2200,1995,1979,2259,2485,2243,2370,2299,2998,2689,2541,2235,1946,1770,2188,2128,2156,2121,2091,2107,1956,2104,1800,1486,1447,1721,1788,1808,1499,1527,1735,1848,1914,2043,2230,1852,1860,1921,1910,2131,2220,2504,2337,2280,1957,1708,2099,2095,1900,2215,2160,2056,2079,2009,1779,1998,2039,1984,2244,2670,2251,1958,2405,2071,1749,1874,1816,1624,1650,1971,2284,2282,2507,2876,2664,1995,1834,2030,2194,2231,2148,1685,1684,1659,1701,1722,1805,2045,2335,2038,2137,2548,2066,1770,2439,3286,2591,2250,2642,2995,3104,2911,2959,3015,2630,2606,3115,3937,3188,3093,3351,3309,2434,2129,2774,3449,2979,1994,1859,1559,1763,1954,1908,1671,1613,1958,2056,1656,1532,1974,1805,1525,2128,2078,1642,2312,2852,3509,2856,3219,3597,3421,3454,3829,3869,3974,3933,3911,3962,3881,3896,3620,2932,2613,2308,2534,2625,2585,3001,3418,3657,3398,3696,4345,4364,3746,3530,3764,3581,3505,3241,3129,3152,3442,4006,3381,3133,3291,3414,2845,1840,1628,1786,1870,1948,1916,2026,2070,2148,2241,1888,1652,1731,1980,2322,2419,1885,1564,1936,2302,2365,2036,1898,1806,1928,1854,2024,1858,1544,1470,1464,1601,1656,1675,1794,1821,1742,1491,1442,1574,1728,1550,1423,1663,1599,1437,2095,2215,1665,1679,1476,1641,1744,1598,1610,1609,1973,2877,2234,1660,1478,1503,1527,1810,2036,1949,2097,2800,3096,2071,2172,2965,3210,2554,1979,1893,1946,1926,2299,2907,2404,2153,2237,2585,3006,3190,2209,2133,2126,1703,1543,1956,2625,2862,2896,3000,2978,2446,2567,2203,2116,2724,2736,2248,2178,2045,1811,2068,2203,2222,2007,2347,1915,2007,2614,2742,3185,2819,2178,2259,2018,1515,1617,1592,1695,1767,2140,2150,1920,2150,2176,1889,1881,2270,2636,2111,1755,2023,1816,1987,1821,1803,1969,1929,1915,1879,2019,2559,2294,2286,2377,1700,1461,1484,1899,2165,2078,1750,1499,1451,2150,3100,3500,2981,1836,1627,1907,2132,2001,1864,1764,2115,2625,2414,1954,1734,1606,1598,1858,2790,3450,4239,4272,3614,2912,2457,2545,3169,2746,1643,1672,2028,1855,2143,2417,2769,2860,2522,3128,3493,3312,2553,2534,2954,3190,3018,2895,3794,4265,3867,3911,3984,3592,2857,2274,2137,2483,2503,2272,2712,2688,2562,2722,2761,3066,3432,2664,2534,2684,2950,3218,3231,3216,3362,3647,3495,2976,2640,2574,3156,3203,1979,2083,2160,1592,1602,2098,2198,2014,2087,2476,2731,2766,2413,2244,2204,2534,2211,1349,1897,2660,2461,2259,1802,1526,1634,1405,2086,2943,3188,3120,2967,2946,2655,2386,2296,2757,3294,3292,3227,3156,2578,2967,3100,2822,2305,2014,1922,2070,2205,2325,2586,2643,2992,3308,3460,3262,3175,3321,3474,3183,2821,2444,2486,2935,2881,2176,2373,2536,3046,2610,2681,2570,2588,2791,3183,3002,2282,2990,3772,3869,3964,3963,3764,3318,2762,2352,2362,2448,2619,3074,3141,3392,3850,3295,2941,2808,2889,2855,2765,2880,2986,3472,3540,2754,1792,1606,1614,2238,3186,3152,2870,2897,2887,2369,2281,2343,2624,3186,3506,3409,3377,3096,3241,3260,3079,2910,2379,1910,2163,2796,3162,2436,1620,1774,2109,2679,2899,2583,2741,2752,2103,1874,2364,3062,2802,3144,3935,3950,3890,4020,3728,2925,2517,2277,2344,2323,3044,3068,2924,3152,3770,3860,3591,3527,3586,2952,2603,3040,3574,3487,3327,3332,3273,3281,3406,3174,2990,3230,3392,3152,2949,3332,3396,3364,3320,2964,2588,2529,2884,3333,3486,3618,3798,3332,2547,2427,3852,3068,3018,2660,2175,2002,1970,1705,1784,1572,1547,2697,3737,3694,3330,2436,1505,1809,2691,2454,1745,1948,2634,2958,2835,2419,2722,2561,2133,2342,2048,2078,2396,2929,3461,3695,3209,2763,2762,2802,2719,2799,2939,3076,3134,3084,2733,2645,2346,1846,2085,2721,2668,2559,2215,2095,2138,2967,2547,1579,1437,1722],[2836,2743,2433,2733,3076,2888,2727,2666,3090,3716,3699,3651,3532,3187,3240,3449,3068,2214,2168,2765,3194,3234,3117,3050,3116,3242,3433,3422,2956,2518,2460,2477,2477,2341,2018,1979,1987,1828,1844,2630,3416,3865,3835,3411,2707,2489,3100,3189,2979,2697,2325,2387,3296,3186,2644,2584,2697,2976,3005,2609,2025,1523,2617,3174,3348,3309,3550,4082,4200,4051,3937,3793,3968,4041,3874,3362,2975,3218,3522,2741,1904,2310,3016,2971,2897,3542,3926,4063,3716,3448,3086,3322,3519,3002,2280,2165,2203,1932,1914,2212,2068,1868,1733,1805,2348,2254,2466,2408,2567,2696,2072,1931,1733,1832,2387,2499,2175,1835,2151,2619,2885,2920,3312,2861,2633,2944,2494,2231,2599,2855,2786,2940,2781,2434,2410,2392,2719,3076,2375,2136,2526,2591,2512,2922,3160,2967,3716,3313,2522,2490,2948,2836,2265,1887,1874,1834,2190,2149,1942,2210,1912,1703,1902,2666,2508,2435,2668,2976,3155,3190,3408,3057,2145,2090,3075,3904,4052,3623,3472,3405,3591,3314,3252,3090,2802,2871,3343,3444,2315,2192,2446,2815,3078,2951,2386,1930,1743,1786,1716,1536,1747,1860,2050,2133,2171,2689,2764,2362,2398,2150,1844,1716,1433,1447,1600,1498,1472,1619,1746,1815,1753,2287,2723,2430,2219,1774,1747,2141,2221,2137,2240,2789,2248,1816,1551,2047,2843,2815,2071,1781,2180,1953,1979,2391,2532,2569,1932,2102,2404,2137,1667,1509,1663,1801,1997,2010,1852,1816,2076,2653,2897,2438,2746,3495,3836,4156,4244,3504,2934,3486,3819,3582,2820,2586,2736,3040,3142,3265,3326,3168,2462,2377,2498,2113,2147,2769,2951,2855,2814,2715,2896,2832,2107,1565,1886,2633,2880,2817,2670,2390,2100,1926,1995,1751,1814,1732,2204,2005,1837,2370,2630,2204,1876,1849,1725,1614,1602,1767,2129,2326,3584,3553,3379,3191,2700,2249,1934,1846,1846,1706,2007,1725,1672,1694,1525,1597,1641,1684,1919,2060,1882,2500,2411,2020,1825,1835,2636,2605,1760,1822,1992,2025,2021,1759,1637,1720,2068,1821,1986,2377,2433,2217,1843,1986,1988,1693,2394,3055,2372,1822,2025,1825,1981,2414,2056,1942,1745,1931,2264,2488,2010,1816,1976,1929,2059,2174,1841,1680,1659,1736,1990,1996,2025,2194,2235,2007,2125,2371,1808,1576,1604,1932,2647,2308,1886,1999,1868,1941,2082,1908,1555,1692,1974,1678,1598,1820,1725,1822,2221,2174,2035,1917,1848,1738,1345,1156,1454,1775,1511,1281,1638,1651,2222,2186,1794,1805,1683,1566,1536,1661,1760,1545,1586,1550,1616,1698,1738,1371,1393,1768,1852,1967,2038,1958,1894,1917,2149,1820,1956,1959,1659,2288,2171,1765,1827,1930,1948,1701,1638,1892,1943,1982,2048,1960,1917,1977,1880,1994,1842,1690,1967,1942,1579,1573,1865,2638,2232,2273,2292,1979,1717,2234,2211,2030,1908,1932,1841,1827,1594,1517,1341,1216,1335,1625,1770,1528,1381,1518,1719,1890,1826,1786,1743,2254,2470,2802,2732,2535,2728,3108,3045,2801,2532,2401,2380,2410,2476,2309,2800,2667,2414,3020,2190,2044,2136,2214,2950,3099,2958,3008,2965,3553,4241,4373,4071,3495,2691,2296,2501,2332,2278,2172,2376,3295,3584,3517,3537,3072,2358,2123,1939,1866,1672,1901,2534,2717,2413,1187,1115,1360,1470,1952,2287,2351,2743,2690,2756,3020,3229,2767,2014,1891,1961,2237,3025,2869,2017,1625,1829,2030,2192,2347,2384,2673,3073,3137,3195,3061,2764,2642,2066,2713,2170,1642,1554,1670,1721,1735,1761,1925,1960,1721,1836,2342,2688,1930,1569,1477,1585,1758,1802,1763,1718,1797,1793,1925,2153,2011,2496,2475,2454,2389,1869,1561,1640,1884,1894,1770,1995,2356,2694,2487,2743,2652,2342,2227,2233,1770,1862,2209,1826,1761,1808,1450,1548,1733,2303,2917,2726,1973,1838,2360,2355,1817,1683,1656,1455,1706,1993,2283,1961,1688,1708,1891,1748,1848,2068,1948,1684,1618,2156,2785,2238,2509,1995,1636,2118,2539,2919,2507,1878,1853,1671,1377,1378,1336,1406,1583,1653,1747,2070,1896,1790,1877,1630,1796,1803,1608,1551,1510,1369,1738,2165,2019,1755,2416,2000,1869,2438,1981,1827,2409,2031,1850,2199,2556,2945,2558,2286,1918,2071,2683,2922,2576,2602,2895,2853,2269,1919,2203,2025,2105,2442,2259,2227,2024,1667,1611,1755,1519,1526,1889,2332,3025,2885,2570,2556,2590,2319,1968,1929,2106,1892,1636,1846,2006,2546,2434,3106,3077,3172,3262,3222,2944,2811,2954,3212,3672,4017,4340,4123,3885,3673,3466,3529,3451,3317,3379,3451,3196,3161,3286,3583,4079,4065,4013,3352,3292,3655,3647,3840,3868,3416,3528,3764,3713,3847,3506,3326,3693,3559,3452,3662,3317,2893,2726,2499,2800,2265,1576,1981,2040,2196,2359,1777,2213,2482,1821,1989,2588,2619,2900,3194,3494,3614,3255,3463,3242,3327,3795,3263,3061,3133,3481,3645,3807,4061,4196,4026,3912,4078,4119,4037,3332,2844,3637,3814,3575,3312,2885,2468,2142,1990,2010,2059,2087,1952,1718,1875,1925,1859,1560,1645,1710,1765,1907,1827,1691,2107,2701,2573,2253,2108,1542,2222,2282,1951,1825,1641,1737,1802,1772,1896,1665,1536,1938,2116,1717,1586,1648,1865,1602,1910,2445,1763,1478,1557,1651,1676,1614,1905,2132,1835,1505,1812,2931,3216,3702,4294,4014,3653,3317,3143,3603,4093,4168,4125,3432,4075,4342,4489,4371,4332,4591,4604,4070,3731,4196,4409,4014,4082,4132,4317,4562,3569,1986,1375,1626,1849,1595,1761,1854,1497,1550,2202,2578,1676,1472,1910,2099,1757,1844,2145,2253,1862,1520,1978,2424,2408,2578,2377,1865,2183,1981,2308,2432,1916,1541,1431,1557,1747,1658,1955,2432,2157,1801,1576,1752,1978,2237,2250,2127,2534,2964,2781,2699,2653,2522,2461,2648,2531,1870,1944,2173,1990,1842,1665,1643,1748,1758,2127,2462,2278,1853,2020,2386,2314,2564,2962,3276,3392,2400,2111,2003,2047,2171,2119,2117,2547,2652,2833,2560,2060,1936,1858,1859,2103,1997,2459,2309,3143,2638,2302,2019,1697,1628,1764,1739,1967,1881,1947,1970,2052,2921,2395,1915,1693,1526,1715,1896,1620,1697,1938,2045,2055,2152,2383,1871,1784,1839,1910,1963,2251,2450,2469,2880,2736,2229,2191,2081,2010,2494,2875,2421,1945,1987,1980,2282,2592,2502,2551,2878,2240,1975,2040,2143,1934,1995,1958,1700,1760,2308,2757,2491,2291,2828,3061,2280,1812,2039,1950,2235,2057,1662,1800,2093,2358,2243,1990,2483,3206,2077,2346,3263,2446,1881,2530,2957,2126,1819,2607,2820,2342,2401,2796,2558,2334,2342,2957,3301,3047,2685,2920,2999,2080,1871,2404,2944,2988,2078,1936,1683,1725,1878,1933,1715,1556,1787,2149,1950,1573,2214,2392,1910,2389,2261,1838,2359,2742,2857,2635,3076,3634,3520,3526,3808,3702,4060,3884,3935,3940,3769,3762,3899,3334,2950,2787,2755,2878,2501,2766,3343,3575,3162,3923,4540,4608,4048,3694,3641,3630,3398,3106,3230,3547,3396,3664,3207,3087,3586,3449,2575,1865,1934,1878,1741,1900,1758,1688,1748,1980,1943,1611,1718,1738,1754,1855,1685,1478,1570,1627,1804,2079,2270,2668,2213,2067,1908,1592,1389,1382,1433,1445,1519,1485,1328,1340,1437,1623,1613,1553,1496,1967,1817,1483,1522,1541,1442,1735,1749,1606,1840,1546,1866,2159,1700,1859,2099,2066,1784,1867,1858,1572,1599,1756,1896,1949,2042,2709,2946,3101,2380,2700,3293,3040,2250,1980,2028,1930,2083,1797,2132,2392,1986,1863,2247,3099,3334,2274,1888,1949,1797,2185,2868,3134,2959,2929,2923,2263,1803,1867,1803,1832,1903,2149,2278,2028,1714,1625,2286,2664,2476,2298,2080,1742,1957,2129,2110,2002,1831,1671,1720,1612,1420,1666,1618,1518,1752,2372,2216,1950,2062,1947,1925,1955,1915,2272,2270,1816,1770,1729,1605,1666,1918,2314,2308,2131,1675,1700,1979,1922,1926,1945,2117,2182,1979,1757,1676,1544,1471,1542,1663,2113,2380,2469,1956,1523,1757,2758,2921,2946,2933,2184,2158,2574,2136,1769,1646,1744,1807,1932,2077,2440,2993,3465,3603,2986,2368,2520,2879,2435,1626,1526,1589,1578,1758,1934,2991,2658,2597,3067,2733,2259,2465,2622,2646,2931,2712,2971,4071,4360,4293,4058,4177,4368,3829,3064,2570,2548,2593,2113,2605,2814,2916,2924,2956,3208,3188,2680,2666,2596,2560,2765,2753,2702,3019,3189,3135,2701,2869,2865,2830,2801,2407,2417,2383,2020,2231,2187,2137,2076,1581,1534,1975,1949,1975,2194,2223,2374,2033,1799,2421,2977,3055,2873,2450,2187,2168,2109,2470,2974,3255,3108,3239,3618,2824,2307,2258,2862,2797,3042,3164,2956,2539,3086,2943,2267,2069,2039,2337,2511,2502,3004,2975,2736,2900,3239,3281,2866,2610,2857,2901,2631,2708,3054,3251,2783,2163,1606,1477,1895,2524,2261,2574,2546,2252,2590,3251,3271,3297,3548,3586,3589,3788,3707,3163,2993,3029,2599,2679,3134,3212,2999,2487,3026,3692,3264,2965,2994,2586,2143,2375,2596,2664,2774,3127,2909,2215,1882,1215,2502,3097,2731,3105,3733,3676,2896,2308,2244,2338,2917,3284,3141,3204,3282,3352,3045,2648,2026,1778,1853,2076,2611,3161,2820,1940,2171,2331,2758,2856,2774,3153,2651,2083,1975,2708,3686,3617,3672,3768,3843,4083,3719,2528,2093,2037,2036,2182,2221,2762,3097,3198,3726,3859,3380,3435,3537,3641,3161,2543,2953,3476,3716,3545,3406,3183,2918,2877,2670,2742,3223,3307,3349,3458,3913,3780,3319,3162,3072,2923,2906,3173,3738,3850,3582,3670,3809,3253,2889,3687,3614,2998,2518,2032,1891,1767,1627,1726,1705,2184,3496,3531,3277,3338,2887,2613,2786,2851,2797,2585,2724,2905,3190,3373,2741,2720,2270,1443,1543,1950,1870,2275,3339,3896,3301,2261,2531,2908,2875,2407,2589,2820,3000,2743,2490,2522,2629,2531,1977,2024,2396,2145,2461,2506,2751,2459,2611,2207,1835,1759,1765],[2920,3021,3072,3163,3297,3074,2959,2564,2629,3422,3631,3624,3458,3110,3105,3352,2869,2171,2002,2669,3040,3131,3103,3061,3090,3033,3208,3442,3168,2984,2800,2523,2412,2444,2423,2479,2550,2453,2612,2934,3032,3843,3903,3850,2966,2851,3283,3248,3005,2857,2986,3261,3108,2500,2416,2322,2468,3157,3414,3150,2896,2753,3064,3227,3440,3719,4064,4272,4056,3752,3828,3812,3978,4132,4025,3426,2390,2806,3232,2580,2166,2318,2700,2911,3416,4208,3872,3669,3310,2874,3138,3394,3284,2808,2278,2115,2147,2503,2564,2431,2001,2046,1696,1798,2478,2614,2858,2714,2921,2813,2444,2802,1921,2294,3169,3354,2761,2518,2762,2932,2706,2393,2792,2454,2314,2254,2168,2294,2358,2585,2630,2758,2378,2180,2396,2264,2438,2773,2705,2489,2612,2958,3400,3427,3251,2971,2766,2443,2116,2004,2543,2836,2495,2208,1976,1972,2437,2029,1794,2027,1731,1723,2273,2996,2978,2392,2375,2916,3118,2809,3116,2684,2353,2954,3549,3730,3473,3190,2809,2542,2451,2876,2952,3005,2958,2998,2898,2888,2570,2700,2683,2952,3172,2652,2094,2054,1797,1786,1902,1991,2067,2615,2447,2377,1946,1858,1958,1957,2235,2186,1842,1622,1371,1426,1708,1899,1686,1635,1709,2088,1942,2454,2765,2253,2013,1944,2018,2145,2126,2182,2348,2501,2079,1947,1692,1925,2374,2390,1842,1955,2467,2400,2268,2198,2404,2493,2018,2433,2282,2036,1843,1733,1687,1691,1795,1918,2145,2420,2558,2427,2404,2298,2790,3427,3749,4008,4138,3607,2841,3209,3311,3371,3067,2886,2790,2796,2878,3218,3453,3053,2859,2858,2587,2396,2226,2813,3206,2982,2889,2804,3194,3143,2464,1843,2011,2546,2451,2568,2462,2342,1892,1730,1575,1480,1451,1543,1616,1449,1606,2244,2678,2526,1809,1808,1622,1880,1971,2012,2294,2657,2684,2519,2709,2401,2232,1917,1964,1719,1812,1646,1705,1791,1924,1761,1700,1743,1902,2039,1991,1576,1766,2158,2235,2386,1971,1788,2011,1875,1876,2011,1855,2157,2352,1900,1716,1862,1825,1691,2493,3067,2741,2065,2007,2125,1797,1692,1963,2104,1774,1840,2846,2043,1818,1927,1968,2239,1870,1663,2195,2518,1824,1561,1560,1886,2126,1895,1582,1730,1609,1711,1885,1942,2067,2049,1692,1808,2024,2403,2288,1992,1968,2185,2540,2550,2096,1745,1653,1576,1990,2258,1474,1742,1902,1475,1378,1528,1644,1975,2115,2079,1981,1886,1905,1441,1259,1378,1478,1773,1496,1381,1510,1412,1672,1766,1776,1781,1710,1774,1591,1644,1637,1704,1642,1678,1660,1777,1892,1763,1968,1981,1602,1737,1957,2036,1979,2136,2095,1812,1603,1543,1798,2383,2166,1804,1732,1888,1997,1846,1865,2093,2080,2114,1988,1671,1668,1975,2142,2138,1870,1874,2181,2116,1863,1666,1909,2446,1874,1817,2542,2430,2248,2288,2202,2185,1964,2081,2053,1822,1569,1605,1618,1286,1269,1330,1482,1534,1528,1518,1564,1625,1647,1661,1688,1764,2933,3392,2872,2464,2602,2768,2590,2290,2192,2369,2573,2939,3000,2655,2604,2238,2620,2500,1707,2004,2139,2246,3109,3020,2648,2499,2645,2957,3737,3791,3345,2743,2020,2234,2360,2216,2023,2169,2990,3651,3702,3620,3614,3133,2486,2331,2207,2065,1638,1816,2011,2403,2511,1511,1644,1842,1940,2129,2040,2214,2408,2374,2699,2750,2690,2434,1966,2238,2384,2513,2588,2645,2224,1758,1626,1844,2210,2670,2896,2821,2884,3056,3082,2967,2776,2502,2336,2190,1942,1754,1703,1841,1776,1694,1733,1853,1859,1323,2155,2459,2316,1962,1625,1716,1993,1775,1706,1934,1832,1798,2264,1859,2007,1785,2291,2304,2132,2304,2043,1615,1528,1386,1388,1511,1864,2442,2763,3009,3038,2639,2004,2047,2115,1757,1830,1804,1579,1549,1502,1777,2222,2185,2335,2743,2851,2042,1582,2045,2163,1834,1771,1711,1444,1525,1704,2128,2106,1872,1775,1552,1328,1503,1694,1592,1469,1775,2426,2436,2504,2634,2176,1864,1824,2219,2763,2327,1542,1360,1438,1623,1482,1435,1333,1527,2077,2201,2201,1981,2144,2098,1721,1579,1534,1634,1557,1491,1476,2021,2260,1935,1939,2349,2125,1710,1665,1489,1853,2721,2157,2130,2258,2263,2549,2166,1986,2266,2975,3422,2998,2553,2736,3128,2976,2655,2478,2332,2197,2414,2348,2184,1999,1767,1633,1728,1860,1622,1520,1617,2068,2653,2580,2374,2264,2272,2236,2252,2353,2454,1990,1606,1962,1829,3054,2934,3068,3122,3200,3252,3361,3283,3132,3252,3780,4184,4561,4678,4601,4336,3857,3676,3410,3228,3111,3166,3406,3323,3101,3164,3407,3694,4063,4255,3298,3185,3676,3801,3892,3959,4086,4229,4209,4196,4148,3705,3626,3999,3730,3607,3473,3328,3299,2886,2500,2668,2342,1299,1578,2011,1932,1383,993,1403,2222,2389,3105,3787,3345,3128,3393,3604,3891,3769,3837,3722,3738,4027,3670,3560,3850,4244,4460,4571,4583,4468,4299,4384,4473,4311,4376,4156,3838,3884,3444,3000,2558,2094,1992,2057,2009,1956,2031,2143,2186,2331,2231,2107,1894,1548,1678,1969,2160,2551,2434,1822,2160,2955,2421,1820,2072,1794,2163,2002,1580,1822,1974,1669,1544,1542,1668,1518,1393,1785,1806,1727,1793,1782,1781,1610,2493,2813,1457,1421,1566,1750,1857,1890,2242,1865,1758,1698,1836,2037,2250,2885,3178,3231,3547,3714,3584,3696,3841,3983,3960,3447,3813,4380,4332,4139,4172,4620,4763,4603,4180,4255,4408,4471,4552,4119,4056,4240,3033,1940,1767,1608,1657,1430,1652,1891,1987,1693,2126,2207,1788,1613,2138,2162,1742,1761,1600,2021,1597,1494,2232,2458,2314,2319,1970,1880,2136,2028,2210,2541,2284,1814,2273,1981,1968,2036,2272,2085,1830,1966,1802,1612,1564,1935,2411,2442,2481,2940,2501,2125,2008,2365,2314,2386,2560,1916,1610,1887,1799,1530,1465,1523,1698,1856,2514,2910,2728,2823,3104,2900,2269,2823,3796,3581,3105,2130,2090,2013,2143,2272,2234,2128,2500,2644,2241,2076,2128,2161,2078,1891,2126,2123,2644,2764,2551,2324,2436,2581,2329,2120,2112,2001,2190,2016,2114,1942,1961,2198,2010,1753,1605,1550,1721,1737,1570,1892,2077,1931,1769,1960,2238,2215,1977,1796,1873,1744,1780,2202,2641,3067,2668,2397,2259,2206,2346,2509,2495,2193,2014,2113,2525,3110,3020,2409,2253,2883,2608,2010,1759,1996,2234,1900,1572,1709,1842,2216,2281,1908,2333,3417,3421,2776,2274,2334,2092,2322,2076,1764,1938,2191,2556,2554,2033,2291,2754,1985,2458,2577,1924,2028,2520,2661,2135,2131,2906,2575,1842,2248,2762,2222,2563,2461,2265,2354,2598,2238,2424,3156,2962,2558,2476,2857,2900,2060,1860,1742,1664,1831,1845,1725,1724,1913,2502,2648,1709,2182,2608,2349,2333,1981,2065,2190,2219,2391,2343,2533,2335,2301,3168,3720,3714,4034,3850,3547,3332,3207,3541,4008,3663,2995,3157,2955,2962,2653,2896,3527,4072,4070,4496,4747,4539,4168,3708,3717,3654,3330,3343,3603,3557,3052,2962,3153,2939,3082,3232,2688,2185,2093,2046,1829,1972,2037,1997,1659,1802,1899,1518,1572,1803,1843,1601,1421,1449,1568,1568,1522,1554,2167,2700,2046,1647,1483,1348,1405,1566,1577,1484,1736,1603,1368,1405,1478,1734,1896,1632,1388,1804,1918,1730,1661,1580,1474,1662,1625,1650,1580,1788,2086,2147,1847,2260,2647,2214,1837,2205,2106,2389,2245,1832,1628,1868,2067,2432,2636,2526,2059,2164,3047,3372,2361,2049,2077,1674,1648,1562,1705,2138,2321,1875,2225,3506,3827,2975,1890,1865,2080,2579,2947,2953,2705,2840,2482,2009,1940,2214,2432,2081,1964,2297,2530,1884,1646,1704,2177,2471,2466,2453,1868,1836,2020,2085,2310,1812,1859,1774,1598,1457,1415,1976,2020,1780,1820,2113,2176,2014,1719,1809,1886,1711,1811,2187,1886,1763,1772,1627,1501,1582,2029,2222,1929,1940,1576,1759,2111,2137,1904,1724,2299,2801,2497,2198,1909,1570,1456,1604,1947,2116,2509,2242,1684,1604,2040,2989,2797,2913,3452,3567,3045,2525,1867,1660,1615,2065,2565,2238,1787,1504,1283,1840,2451,2524,2450,2530,2460,1938,1638,1673,1550,1715,1693,1864,2436,2580,2888,3122,2472,1838,2110,2285,2367,2922,2564,2961,3724,4082,4256,4043,4001,4018,3917,3858,3464,3604,4100,3084,2876,2923,2923,2839,2885,3161,3200,2958,3007,3230,3706,3322,2589,2210,2502,2576,2859,2966,2868,2820,2705,2763,2643,2265,1701,1275,1814,2274,2588,2224,1569,1661,1753,1969,2774,2602,1795,1942,1851,1881,2304,2742,2994,3122,3094,2942,2756,2547,2510,3053,3481,3165,3495,3731,2459,1715,1704,2200,2157,2320,2756,2785,2844,3090,2707,2061,2312,2423,2426,2219,2099,2253,2103,2080,2291,2381,2445,2574,2956,2820,2972,2915,2919,2972,2676,2312,2022,2133,2217,3034,3205,2705,2586,2086,2551,3129,3353,3274,3356,3298,2804,2755,3029,2654,2293,2871,2690,2095,2529,3367,3068,2393,2777,3554,3793,3348,2874,2822,2400,2353,2619,2446,2520,2796,3001,2281,1968,1961,1493,2032,2077,2630,3609,4008,3961,3248,2589,3087,3194,3625,3583,2974,2583,2842,2955,2728,2264,1676,1516,1821,2394,2933,3610,3672,2971,3099,2795,3218,3106,2381,2486,2641,2961,3394,3574,3724,3692,3815,3702,3603,3902,3720,2712,2234,2079,2188,2321,2464,3050,3398,3417,3736,3640,3309,3530,3483,2928,2198,1801,2445,3219,3617,3595,3398,3212,2990,2733,2467,2530,3044,3212,3276,3479,3671,3834,3792,3488,3520,3620,3342,3316,3677,3867,3914,3879,4017,3884,3697,3854,3570,3320,3270,2346,1642,1721,1604,1505,1997,2567,3199,2765,2990,3685,3450,3143,3240,3365,3277,3097,3315,3171,2866,3043,2564,2187,1866,1173,1516,1824,1860,2608,2812,2768,2690,2223,1858,2215,2563,2668,2364,2023,2379,2829,3205,3219,2500,2674,2670,2932,3251,2392,2029,2062,1916,1798,1931,1928,1790,1886,2180],[2793,3132,3342,3616,3486,3210,3173,2789,2600,3274,3724,3857,3569,3196,3228,3448,2796,1984,1978,2547,2921,3104,3001,3084,3210,3045,3016,3277,3023,2662,2919,3041,2877,2923,2894,2602,2597,2498,2604,3352,3329,3793,3599,3660,3082,3138,3404,3393,3306,3255,3505,3501,3225,2852,2842,2652,3054,3659,3695,3506,3480,3574,3668,3662,3728,3930,4165,4169,3812,3494,4013,3928,3963,4052,3845,3531,3301,3329,3185,2616,2700,2521,2191,2501,3474,3805,3297,3310,3028,2741,2915,2589,2410,2243,2320,2074,2159,2159,1946,1991,1837,2120,1805,1995,2678,2752,2393,2152,2278,1888,1798,1873,1950,2900,3737,3459,2813,2508,2556,2812,2275,1735,1948,2103,3068,2530,2386,2383,2264,2263,2317,2833,2454,2103,2264,2514,2609,2902,2842,2833,3070,3334,3718,2780,2438,2077,1862,2009,2022,1879,2148,2592,2584,2088,1620,1750,2342,1740,1920,1980,2110,2015,2408,2994,2627,2145,2415,3206,2946,2814,2844,2688,2614,2614,2730,2654,2183,2291,2687,2156,2407,3108,2938,3199,3229,3312,2868,1963,2287,2260,2106,2416,2568,2445,2897,2617,2006,1757,2004,1805,2003,2307,2587,2737,2209,1897,1803,1643,1865,1977,1805,1808,2065,2191,1926,1922,1818,1587,1432,1385,1808,2622,2585,2220,2128,2331,2027,1910,2008,2106,2261,1941,1672,1500,1780,2199,2058,1841,1824,2143,2075,2235,2378,2750,2769,2555,2577,2460,2025,1635,1520,1704,1828,1713,2327,2558,2639,2909,2792,2222,2140,2574,3376,3922,3956,3807,3826,3531,2890,2889,3482,3914,3459,2825,2609,2736,2856,3054,3179,2795,2737,2885,3033,2995,2984,3194,3321,3184,2960,2900,2996,2841,2542,2116,2001,1785,1539,1564,1706,1964,1875,1995,1930,1608,1542,1667,1722,1613,1608,1935,1882,1994,1547,1746,2263,2713,2432,1911,1842,2252,1952,1642,2104,2268,2353,1919,1735,1586,1640,1823,1807,1720,1890,1911,1783,2044,2471,2327,1814,1578,1769,1614,2029,1876,1658,1459,1410,1623,2095,2137,1788,2077,2552,2338,2010,1962,1676,2435,3264,3489,3185,2337,1663,1659,1593,1501,1745,2030,1458,1752,2245,1785,1565,1382,1530,1738,1834,1665,1532,1865,1727,1918,1647,1888,2042,1740,1804,1871,1747,1812,1720,1637,1739,1650,1484,1544,1559,1684,1731,1807,2114,1964,1921,2166,1840,1686,2270,2156,2020,1982,1437,1575,1642,1540,1532,1433,1467,1709,1818,1916,1824,2225,2007,1243,1385,1582,1470,1281,1403,1638,1493,1411,1624,1842,1936,1665,1559,1772,1742,1516,1634,1595,1998,2191,1928,1774,1757,1764,1785,1738,1871,1640,1770,1951,1963,1992,1535,1305,1366,1474,1782,1892,1713,1680,1658,1668,1714,2084,2124,2115,1944,1980,1911,1632,1642,1736,1775,1824,2052,2922,3509,2825,1990,1562,1776,1773,1634,1731,1970,1913,2215,2229,1910,2262,2117,1749,1574,1564,1669,1979,1722,1458,1585,1627,1625,1556,1584,1503,1504,1771,1781,1653,1768,2145,2965,2775,2285,2062,1931,2103,2213,2285,2308,2708,2585,2749,2555,2302,2112,2286,2371,1789,1505,1942,2040,1793,1816,2151,2168,2195,2273,2778,3419,3493,2850,2049,2185,2502,2535,2382,1992,2732,3541,3692,3571,3449,3181,2722,2739,2688,2675,2905,2500,2031,1549,2153,2161,2102,2384,2524,2658,2129,1378,1552,1874,2019,2423,2238,2065,2082,1896,1988,1830,1959,2402,2906,2612,1951,1709,2036,2544,2665,3011,3023,3003,2928,2755,2597,2523,2422,2423,2359,2318,2033,1823,1802,1735,1728,1720,1765,1741,1360,2181,2677,2330,1902,1702,1724,1770,1513,1845,1987,1767,1697,2028,1576,1613,1670,1835,2019,2220,2049,1744,1460,1324,1167,1177,1435,2124,2200,1960,1762,1860,1918,1669,1695,1777,1588,1774,1876,1653,1360,1512,1671,2067,2218,1907,2023,2250,1716,1735,2119,2073,1590,1771,1787,1461,1752,2359,2677,2786,2888,2836,2104,1549,1680,1631,1399,1589,1896,1988,1774,2229,2611,2544,1963,1565,1937,2424,2070,1682,1424,1465,1523,1404,1511,1488,1605,1910,2192,2064,1812,1938,1726,1503,1765,1913,2073,2115,1813,1789,2287,2524,2162,1864,2364,2582,1852,1548,1757,1869,2300,2166,2161,1940,2295,2194,1718,1639,1945,2433,2676,3041,2751,2724,2845,2769,2621,2449,2063,2027,2029,1997,2436,2482,2253,2160,1975,1771,1759,1770,1919,2562,2555,2338,2114,2242,2279,2087,2463,2737,2600,2674,2341,2298,2186,3067,3150,3144,3458,3572,3397,3510,3458,3230,3104,3486,4078,4466,4654,4557,3885,3435,3702,3629,3186,3111,3241,3451,3431,3044,2806,2986,3203,3405,3806,3283,2961,3152,3243,3295,3926,4462,4283,4159,4151,3909,3651,3870,3930,3730,3464,3215,3226,3230,2972,2762,2600,2263,1099,1009,1773,1971,1461,1089,1265,2124,3072,3673,3638,3301,3124,3288,3293,3398,3732,3918,3767,3513,3425,3564,4024,4305,4160,4129,4613,4508,4168,4188,4452,4463,4423,4256,3996,3677,3220,2725,2239,2072,2222,2298,2070,2013,2030,2169,2449,2720,2709,2054,1859,1832,1655,1760,1746,2324,2888,2569,1809,1678,1592,1582,1661,1847,1981,2134,1875,1515,1870,2209,1605,1483,1598,1689,1559,1534,1605,1496,1480,1660,1705,1510,1893,3012,2512,1557,2181,2718,2402,2273,2062,2066,1946,1825,1813,1807,2194,2299,1821,1830,2711,3365,3841,4104,4153,4152,3812,3258,3406,3989,3880,3925,4407,4283,4576,4623,4560,4445,4496,4620,4547,4460,3924,3661,3359,2410,2198,1961,1400,1534,1744,1817,1751,1892,1816,1785,2028,2281,2452,2236,1942,1764,1584,1630,1705,1505,1908,2308,2301,2314,2268,1978,1915,2085,2303,2477,2810,2432,1910,2748,2365,2487,2808,2332,1651,1916,2113,1939,1942,1920,2347,2473,2380,2511,2806,2376,1933,2003,2017,2098,2117,1888,1552,1568,1847,1929,1606,1603,1568,1648,2054,2687,3146,3227,3195,3340,3131,2438,2552,2898,3231,3120,2394,1980,1920,2088,2150,1737,1384,1826,2465,2452,2077,1930,1982,2199,2454,2238,2129,2518,2623,2402,2397,2658,2978,2703,2658,2728,2213,2144,2083,2084,1982,1885,1692,1604,1612,1650,1761,1550,1747,1801,1783,1876,1778,1699,1733,2032,1951,1719,1781,1859,2022,1973,2065,2424,2323,2060,2005,2189,2084,2104,2092,2026,2091,2217,2561,3242,3460,3152,2457,2288,3094,2697,1969,1660,1469,2220,2216,1627,1738,1810,1910,1597,1691,2039,2321,2732,2587,2807,2592,2181,2565,2240,1988,2032,2302,2382,2586,2082,2215,2544,2496,2920,2705,2091,1978,2251,2225,2334,2758,2789,2258,1586,1924,2419,2242,2657,2131,1676,1820,2088,2400,2771,3135,3121,2763,2457,2901,2905,2323,1824,1681,1749,1829,1864,1962,1978,1968,2366,2354,1749,2017,1985,1808,2135,2382,2078,1836,2380,2354,1849,2278,1907,1852,2957,3801,3914,3746,3188,2948,2623,2268,2531,3066,3402,3284,3090,2789,2922,2690,2788,3383,4169,4365,4472,4660,4580,3929,3352,3519,3445,3173,3363,3806,3621,3331,2495,1894,1847,2437,3360,3342,3085,2216,1487,1481,1614,1718,1697,1702,1876,1810,1637,1603,1728,1769,1572,1505,1382,1408,1489,1609,1804,1825,1945,1858,1665,1716,1687,1644,1497,1457,1535,1909,1745,1554,1484,1526,1606,1590,1497,1528,1499,1501,1620,1833,1548,1433,2069,2043,1745,1615,1871,1928,1824,1637,1854,2531,2362,1778,2154,2507,3328,3261,2057,1664,1789,1977,2197,2167,1823,1579,1587,2189,2907,2368,2410,2036,1804,1865,1992,2154,2084,2105,2438,3343,4086,4220,3774,2338,2041,1876,1855,1733,1997,2763,2810,2190,1959,2006,2505,2814,2679,2426,2687,3025,2056,1794,1747,1954,1982,1831,1976,2046,1922,1818,1996,2267,1776,2007,1983,1785,1713,1648,2006,1979,1760,1911,2107,2199,1988,1651,1665,1565,1804,2050,2043,1826,1663,1638,1519,1514,1662,1754,1888,1692,1811,1562,1822,2077,2051,2522,2470,2853,3141,2929,2810,2344,1858,1748,1952,2107,1870,2052,1690,1826,1837,1821,2071,2642,2867,2719,3229,3108,2807,1960,1951,2446,2855,3285,3033,2356,1620,1549,1644,1671,1860,2457,2632,2163,1707,1447,1599,1436,1569,1685,2256,2757,2667,2378,2199,1957,1783,1833,1674,2426,3057,2482,2378,2623,3249,4010,3815,2974,3369,3872,3917,3724,4168,3926,3905,3905,3386,2780,2729,2888,3366,3719,3777,3640,3905,4317,4285,3031,1955,2304,2143,2407,2840,2484,2214,2149,2624,2912,2699,2413,2167,2062,1903,2318,1967,1388,1686,1868,2608,3378,2710,1830,2311,2518,2101,1983,2583,3019,3075,3092,3142,3115,2925,2780,3221,3274,3129,3417,3417,2554,1500,1118,1574,1648,1768,2003,2204,2553,2706,2676,2390,2665,2472,2263,2320,2066,1784,1687,1839,2314,2619,3165,3482,3165,2212,2612,2834,2562,2027,2079,2153,1967,2162,2211,2470,3186,3386,2667,2567,3491,3597,3096,2916,3094,2939,2497,2564,2873,2880,2762,3140,2613,1982,2330,2795,2364,2213,2768,3265,3653,3189,2530,2734,2501,2622,2747,2855,3189,3063,2532,1498,1597,2093,1836,1698,1930,2562,3491,3849,3739,3394,2937,3330,3089,2712,2157,2156,2173,2683,3380,3295,2721,2231,1940,1982,2734,3123,3390,3658,3384,3187,2435,2511,3122,2850,2886,3436,3650,3804,3815,3743,3654,3768,3820,3732,3776,3550,2893,2447,2426,2768,2987,3226,3621,3589,3298,3221,3342,3094,2927,2541,2184,1621,1421,2065,2864,3168,3042,3054,2930,3009,2729,2479,2546,2862,3082,3204,3348,3221,3407,3983,4071,4121,3507,3014,3028,3441,3858,4165,4131,3926,3646,3495,3165,3019,3706,3653,3220,2136,1968,1608,2133,2259,2230,2557,2487,3283,3865,3188,2584,2818,3140,3284,3488,3630,3221,2425,2266,1938,2499,2688,1880,1905,1488,2067,2620,1941,2053,2912,2666,1960,1853,2040,2062,1873,1928,2431,3098,3650,3496,2686,2753,2873,3133,3342,2219,1827,2020,1751,1763,1764,1869,1686,1707,2463],[2083,2766,3698,3740,3263,3062,3128,2855,2545,2702,3536,4061,3841,3631,3492,3387,3041,2555,2443,2664,2746,3017,2894,2938,3055,2629,2742,2922,2719,2795,3062,3160,3018,2961,3155,2853,2688,2712,2522,3248,3728,3817,3696,3520,3019,3177,3483,3353,3449,3431,3630,3586,3462,2862,2888,3034,3398,3804,3752,3637,3768,3757,3849,3847,3984,3861,3874,4133,3520,3491,3837,3756,3824,4053,3874,3592,3406,3378,3384,2902,2800,2451,1869,2567,3650,3588,3232,3200,2894,3250,3164,2562,2214,2080,2708,2605,2460,2299,1946,1913,2532,2684,1984,2024,2584,2886,2790,2589,2447,1746,1502,1829,2523,2758,3219,3326,3094,2841,2824,2825,2614,1841,1904,2285,3154,2923,2535,2500,2634,2208,2162,2942,3152,2552,2197,2481,2398,2639,2674,2785,2879,3005,3174,2398,2084,1917,1733,1724,1718,1770,2342,2596,2542,2499,2364,2071,2566,2199,2053,2253,2464,2541,2777,3172,3342,2960,2934,3425,2675,2811,2828,2708,2199,2189,2342,2288,2412,2802,2404,2276,3123,3067,2853,2895,3216,3450,2874,2188,2238,2110,2222,2564,2347,2599,3992,3420,2367,1742,2066,1713,1936,2333,2456,2431,2142,1973,1918,1781,2076,2289,1850,1582,2129,2066,2195,2223,1850,1628,1516,1665,2028,2253,2002,1707,1943,2203,2043,1931,2084,2055,2026,1805,1473,1625,1986,2404,2272,1908,1921,2278,1863,1680,1881,2425,2678,2927,2800,2197,2118,1836,2050,2144,1896,2079,2823,3226,3492,3986,3365,2326,2691,3550,3737,3933,3989,3869,3742,3575,3183,3146,3962,4688,4232,3406,2668,2711,3021,2988,2856,2678,2841,3111,3052,2934,3206,3256,3242,3232,3052,2884,2576,2315,2546,2455,2236,1684,1294,1343,1472,1825,2090,1951,1745,1765,1838,1884,2344,2076,1556,1516,1518,1826,2068,2046,2565,2783,2834,2553,1662,1621,1528,1386,2153,2796,2685,1902,1616,1705,1914,2188,2006,2040,2388,2005,1578,1947,2123,1906,1576,2353,2330,1804,1556,1656,1782,1669,1811,1979,2262,2254,2098,1880,1908,1676,1581,2103,2244,2225,2713,3277,3018,2354,1874,1863,1446,1353,1692,1889,1378,1323,1324,1389,1354,1336,1460,1440,1666,1521,1532,1708,1741,1863,1765,1763,1790,1753,1787,1903,2521,2556,2116,1830,1660,1389,1404,1503,1577,1453,1593,1987,2018,1886,2092,2340,2154,2220,2710,2721,2062,1815,1532,1478,1554,1608,1494,1323,1362,1368,1432,1680,1794,1830,1561,1378,1499,1552,1461,1249,1486,1735,1674,1813,1678,1976,2262,2230,1841,1868,1680,1636,1803,1649,2613,3184,2314,1870,1710,1518,1666,1623,1794,1618,1622,1801,2055,1942,1495,1493,1797,1710,1638,1628,1640,1513,1747,1772,1654,1978,1896,1618,1712,1928,1765,1573,1572,1690,2242,2095,2255,3299,3177,2232,1660,1575,1782,1776,1719,1719,1693,1929,2574,1930,1583,1916,2233,1931,1624,1825,1965,2229,2030,1676,1922,1833,1479,1374,1606,1647,1643,1998,1852,1757,1807,2067,2480,2260,1942,1927,1946,2186,2162,2728,3034,2746,2498,2614,2410,2013,2018,2260,2152,1621,1499,1859,2170,2147,1654,1895,2235,2330,2332,2485,2991,3400,2798,2464,2854,2732,2670,2358,2752,3709,3684,3641,3602,3484,2938,2480,3166,3243,3304,3340,3041,2419,1754,1720,1692,1933,2078,2332,2604,2255,1776,1904,2518,2474,2160,1939,2025,1964,2071,2027,1773,1815,2149,2611,2942,2384,2066,1980,2148,2767,3128,3039,3040,2995,2576,2458,2658,2962,2846,2470,2316,1979,1969,1783,1672,1553,1483,1528,1519,1717,1891,1782,1774,1684,1525,1622,1705,1410,1908,1871,1813,1953,1813,1587,1557,1680,1534,1619,1743,1515,1513,1425,1536,1787,1717,1754,2281,2080,1542,1518,1773,1898,1854,1487,1555,1484,1663,1497,1354,1463,1595,1502,1489,1562,1482,1656,2032,1611,1958,1784,1636,1605,1568,1663,1758,2332,3020,2810,2244,2523,2699,2074,2101,2134,1715,1510,1606,1610,1563,1595,1878,2216,2287,1883,1312,1542,1950,1832,1880,1719,1754,1535,1328,1457,1651,1630,1628,1622,1618,1553,1528,1383,1444,1851,2322,2554,1946,1791,1953,2219,2559,2224,2197,2762,2688,2093,1648,2082,1808,1727,2126,2274,2240,2221,1942,1615,1552,1547,1753,1803,2597,2996,2471,2106,2214,2470,2313,1799,1811,1714,1883,2170,2000,1704,1794,2250,2224,1924,1904,2612,2910,2440,1933,1830,1995,2023,2295,3094,2890,2341,2581,2480,2245,2731,3312,2872,2387,2904,3352,3382,3599,3382,3300,3285,3592,4125,4265,4188,3817,3507,3531,3688,3606,3396,3334,3573,3703,3467,3079,2805,2814,2905,3055,3165,2995,2932,2990,3408,3990,4463,4551,4342,4184,4152,3651,3547,4030,4328,4073,3681,3207,3160,3130,3059,3118,3117,2596,1343,889,1427,1998,1742,1216,1243,2029,3064,3362,3458,3334,3340,3572,3461,3375,3448,3709,3652,3462,3382,3204,3529,3946,3638,3658,4247,4288,4072,4032,4279,4291,4256,3863,3251,2708,2190,2039,2000,2192,2280,2070,2047,2130,2235,2498,2584,2556,2462,2226,2111,2051,1847,1742,1538,1797,2237,1998,1713,1722,1721,1614,1574,1635,1668,1974,2048,1671,1981,1697,1249,1583,1643,1548,1487,1582,1509,1474,1464,1600,1882,1927,2135,2260,2011,1674,2485,2791,2386,2084,1625,1920,2421,2066,1619,1501,2461,2490,2439,2257,2755,3316,3804,4236,4352,4109,3635,3056,3063,3385,3409,3903,4468,4519,4579,4562,4500,4400,4434,4659,4632,4340,3649,3486,3319,2557,2360,2106,1639,1602,1621,1543,1732,1967,1926,1883,2078,2262,2844,2216,1923,1903,1591,1611,1693,1976,2898,2431,1610,1836,2117,2307,2307,2654,2876,2053,2233,2158,2481,2808,2523,2820,3062,2313,1753,2022,1895,1863,2126,2078,2490,3133,2884,2520,2101,1685,1894,2023,1949,2130,2049,1662,1414,1910,2082,1605,1527,1632,1761,1844,2265,2880,3217,3218,2783,2693,3188,2490,2340,2430,2890,2969,2407,2018,1935,1946,1736,1496,1695,1984,2147,2300,2261,2027,2072,1958,2041,1931,1946,2819,3171,2626,2253,2220,2116,2180,2626,2625,2012,2820,2640,2028,1953,1874,1728,1573,1677,1681,1820,1676,1772,1782,1708,1853,1681,1603,1766,2037,1997,1880,2080,2054,2077,2092,1953,2230,2054,1942,1936,1943,1963,2123,1963,1883,2244,2536,2679,2808,3117,3029,2648,2563,2678,2254,1878,1660,1770,2208,1798,1599,1738,2142,2459,2046,2183,1968,1875,2578,2546,2488,2403,2567,2598,2041,1771,2098,2275,2213,2225,2048,2356,2913,2710,2597,3154,2757,2202,2252,2092,2512,3010,2713,2051,1790,2287,2270,2608,2718,2028,2015,1653,1853,2303,2448,2508,2687,2319,2551,2534,2521,2727,2742,2395,2104,2050,2181,1841,1837,1909,2258,1885,1503,1369,1389,1735,2268,2204,1442,1625,2542,1869,1739,2240,2014,1837,2796,3057,2718,2389,2077,2287,2511,2214,2211,2360,2557,2414,2230,2769,2868,2700,2708,3074,3828,4445,4616,4727,4543,3715,3376,3250,2979,3081,3574,3698,3418,3618,2972,1518,1380,2048,2897,2902,3029,2502,1613,1576,1604,1837,2192,2252,2002,1852,1689,1692,1749,1786,1794,1523,1575,1448,1623,1976,2020,1639,1714,1797,1882,2056,1750,1613,1510,1440,1456,1452,1512,1612,1852,1722,1522,1553,1587,1492,1390,1312,1426,1574,1284,1397,2183,2117,1666,1845,2099,1813,1748,1605,1834,2084,1922,1879,2344,3078,3864,3492,2404,2072,2007,1873,1769,1989,1906,1771,1548,2199,2541,2044,2196,2082,1809,2433,2563,1835,1723,2054,2641,3450,3767,3606,3870,2792,2199,1847,2005,2190,2618,2874,2344,1951,2036,2599,2902,2448,2695,2256,2440,2842,2120,1676,1598,1802,2150,2091,2107,2054,2114,2046,2091,2156,1946,2154,2043,1925,1902,1859,1847,1693,1660,1766,1872,1839,1732,1719,1682,1575,1774,1999,1986,1841,1719,1697,1694,1571,1622,1619,1639,1558,1526,1608,1715,2198,2734,3049,3109,2966,2286,1837,2067,2380,2356,2425,2192,2045,2068,1831,1579,1758,1804,2002,2952,3098,2702,2474,2980,3052,2836,2031,2382,2919,3122,3387,3262,2355,1644,1875,1660,1573,1440,1885,2206,1963,1591,1866,1899,1567,1485,2036,2908,2828,2437,1989,1791,1565,1498,1669,1732,2187,2205,2222,2412,2133,2644,3404,3640,3349,3751,3341,3277,3713,3824,3520,3592,3643,3543,3045,2723,2604,2737,2807,2815,3205,4008,4320,3651,2617,1656,1346,1904,2636,2656,2387,2057,1515,1794,2177,2380,2340,2217,2310,1887,1699,1751,1803,1830,1801,2612,2830,2069,2173,2484,2625,2332,2142,2534,2818,2984,3122,3152,3046,2835,2801,3029,3233,3263,3122,2539,2061,2023,2315,2362,1928,2202,2504,2434,2422,2383,2866,3204,3253,2768,2538,2962,2601,2126,2220,2308,2820,2562,3225,3579,2789,2054,1850,2228,2065,1238,1776,2242,2098,2577,2474,2019,2797,3543,2967,2994,2986,3172,2885,2700,3034,2878,2710,3008,2928,2727,2695,2934,2830,1820,1663,2312,2387,2786,3074,3073,3726,3170,2636,3055,2503,2272,2839,3207,3162,2864,2557,1939,2030,2490,2078,1986,2183,2348,3275,3786,3759,3576,3165,2796,2642,2366,2044,2034,2119,2676,2998,2812,2784,2339,1812,1392,2533,3310,3564,3798,3458,3100,2828,3178,3738,3253,3228,3889,3669,3772,3938,3729,3565,3742,3926,3851,3726,3650,3626,3278,3342,3588,3615,3460,3594,3731,3008,2632,2730,2574,2408,2329,2341,2056,1759,1874,2519,2929,2949,3066,3043,3055,2940,2604,2520,2863,3082,3195,3146,2727,2669,3137,3907,4131,2952,2354,3277,3796,3785,4037,4300,3996,3255,2949,3018,3494,3779,2931,3304,2900,2220,1883,2216,1924,1924,2544,2790,3211,2971,2626,2207,2276,2393,3077,3496,3393,3361,3565,3270,2624,3439,3721,3104,2533,1920,2326,3052,2750,2699,3065,2626,2039,2031,2024,2154,2176,2128,2588,3017,2835,2041,1642,2255,2778,2544,2105,1744,1998,2427,1874,1909,2090,1775,1807,1999,2066],[1505,1808,2446,2815,2834,2737,2901,2632,2375,2408,3340,3816,3889,4071,3835,3514,3530,3364,2899,2500,2437,2950,2874,2673,2687,2242,2338,2684,3037,3220,2866,2778,2918,2797,2919,2597,2854,3216,3395,3702,3726,3508,3175,2720,2683,3140,3255,3256,3404,3598,3732,3905,4181,3494,2976,3123,3550,3827,3648,3582,3813,3913,3938,3773,3836,3412,3414,3574,3167,3172,3644,3774,3675,3804,3500,3151,2799,2987,3132,2713,2855,3185,2761,3105,3461,2956,2889,2844,2432,2840,2590,3082,2648,2684,2707,3118,2679,2054,1805,1813,2473,2707,2513,2727,2778,3097,3505,3407,3072,2271,2396,2742,2685,2634,2796,3205,3320,3268,3177,2813,2445,2814,2402,2536,2762,2685,2298,2342,2540,2256,2605,3319,3054,2674,2409,2375,2229,2001,2075,2150,2639,3032,2648,2231,2066,1692,1566,1675,1753,1629,1982,2264,2244,2536,2728,2478,2778,2529,2235,2372,2156,2807,2922,2520,3420,3930,3608,3684,2985,2830,3001,2931,2451,2092,2491,2914,2951,2801,2543,2530,2946,3010,3064,3311,3360,2849,2091,2007,1965,2077,2543,2979,2476,2566,3139,3070,2279,1772,2308,2545,2568,2440,2361,2382,1784,1735,1995,1924,1905,1859,1926,1739,2076,2128,2237,2279,1803,1655,2023,2164,2074,1952,2060,2051,1909,1737,2001,2089,2036,1964,1826,1624,1763,2275,2145,2167,2025,2009,2111,2183,1975,1713,1826,2223,2298,2512,2360,2243,2244,2488,3244,2872,2426,2612,2584,3161,4055,4061,3386,2903,3459,3805,3811,3896,4125,4025,3779,3755,3773,3420,3510,4380,4306,3869,3220,2819,2874,2819,2738,2562,2672,2996,2956,2915,3356,3526,3120,2845,2840,2711,2461,2632,2646,2723,2688,2139,1552,1393,1579,2343,2987,2530,2452,2076,1587,1659,2153,2008,1541,1598,1628,1703,2106,2235,2068,2561,3199,2413,1727,1844,1736,1339,1504,2289,2522,2064,1600,1753,2308,2388,2217,2542,2504,1905,1445,1539,1691,1588,1627,2299,2389,2070,1990,1932,1881,1964,1935,1816,1581,1672,1856,1708,1603,1497,2099,2615,2339,2142,2681,2773,2173,1855,2281,2033,1550,1479,1531,1557,1320,1227,1366,1506,1399,1422,1503,1310,1450,1345,1686,1581,1444,1719,1801,1764,1821,1828,1853,2071,3051,3047,2812,2199,1849,1844,1852,1574,1658,1688,1721,1975,2188,1979,2288,2901,2614,2455,2448,2438,2173,1986,1848,1672,1644,1701,1432,1327,1334,1279,1368,1509,1738,1661,1671,1468,1256,1685,2067,1561,1472,1706,1890,2301,2408,2735,2416,1991,1588,1761,1604,1574,1665,1859,2685,3169,2435,1983,1657,1422,1566,1536,1555,1575,1476,1722,2057,1979,1866,1865,1791,1648,1714,1599,1641,1669,1846,2029,2001,1918,1663,1553,1769,1965,2078,1980,1880,1909,2916,2697,2404,3295,2788,2097,1917,1688,1731,1907,2040,2029,1815,1823,1772,1581,1534,1643,2566,2345,1874,2057,2224,2709,2193,1803,1871,1546,1338,1450,1273,1267,1432,1625,1608,1744,1952,2408,2874,2222,1870,2315,2106,2200,2134,2652,2714,1841,1819,2424,2342,2245,2035,1934,2188,1836,1819,2112,2359,1974,1682,2282,2676,2460,2261,1896,2065,2836,3076,2890,2854,2942,2589,2585,3351,3684,3630,3565,3392,3343,3323,3631,3674,3248,3160,3104,2844,2373,2078,2129,1794,1655,1810,1829,2301,2491,2086,2194,2501,2317,2579,2193,2340,2491,2401,2092,1882,1753,2298,3032,3001,2685,2138,1722,1776,2340,2906,2773,2830,2790,2359,2545,2736,2702,2232,1944,2105,1862,1662,1704,1625,1443,1469,1502,1481,1654,1699,1577,1831,1532,1304,1284,1256,1487,1694,1736,1861,2036,2010,1700,1464,1797,1760,1698,1837,1865,1604,1315,1567,1949,1813,1669,1910,1746,1524,1597,1666,1908,2094,1653,1723,1788,1997,1778,1468,1519,1509,1406,1402,1566,1676,1547,1794,1799,1993,1631,1506,1567,1604,1689,1771,2237,2850,2375,1579,1969,1965,1619,1948,1998,1565,1525,1656,1615,1655,1798,1910,1810,1680,1416,1115,1390,1403,1443,1612,1675,1816,1750,1554,1572,1598,1765,2402,2301,1698,1898,1855,1785,2211,2534,2928,3043,2319,1568,1522,2073,2430,2407,2751,2785,2275,1815,1806,2076,2004,1828,1708,1672,1579,1570,1527,1565,1811,1985,2302,2256,2586,2857,2611,2127,1830,2209,2123,1841,2204,1725,1861,1760,1703,1282,1605,2089,2298,2387,2656,2699,2341,1874,1527,1760,1671,1714,1861,2576,2326,2177,2315,2478,2800,3118,3198,2674,2722,3269,2857,3027,3331,3140,3256,3347,3677,3719,3702,3846,3508,3384,3574,3664,3408,3519,3332,3883,4012,3321,2894,2853,3009,3177,3119,3043,2986,2964,3062,3394,4048,4331,4408,4207,4024,3907,3729,3884,4116,4091,3885,3970,3618,3465,3193,2977,3291,3565,2542,1573,1159,1160,1864,1924,1681,2079,2359,3233,3458,3469,3481,3285,3418,3406,3209,3028,3397,3651,3609,3747,3190,3507,3967,3555,3509,3770,3795,3883,3985,3918,3890,3688,2830,2217,2024,2052,2233,2216,1919,1980,2076,2346,2609,2274,1817,1703,1917,2216,2078,1887,2075,1724,1521,1411,1647,2156,1910,1582,1476,1470,1737,2003,1992,1535,1637,1977,1714,1517,1209,1375,1704,1528,1413,1601,1534,1424,1603,2056,1894,2054,2220,2003,1897,2021,1930,2239,2646,2709,2077,1744,1916,2326,2601,2032,1581,2055,2406,2823,3141,3420,3825,4051,4168,4017,3859,3893,3838,2962,3486,3982,4416,4450,4387,4476,4560,4552,4272,4067,3882,3906,3955,3905,3869,3155,2371,1930,1817,1593,1406,1217,1475,1803,1632,1670,1520,1963,2025,1842,1793,1758,2009,1902,1804,1879,2277,2699,1977,1431,1620,2331,1772,2525,3067,2793,1928,2459,3119,3285,3047,2573,2290,2150,2216,1997,1833,1624,1537,1764,2330,2778,2561,2610,2380,1891,2019,2147,2059,2079,1766,1974,1793,1693,1623,1501,1674,1821,1660,1715,2259,2615,2519,2281,2223,2027,1858,2180,1895,2408,2590,2513,2455,2293,2294,2342,2406,2330,2302,2511,2469,2944,3240,3011,2866,2407,1872,2226,2410,2131,2408,2450,2249,2121,2353,1680,1886,2182,1940,1774,2240,2146,1864,1763,1724,2049,1876,1729,1359,1426,1528,1453,1638,2170,2335,1942,1870,2036,1949,2068,2028,1925,1948,2156,2126,2010,2520,2549,2054,1786,1735,1926,2226,1809,1650,2295,2765,2521,2295,2900,2663,2548,2777,2519,2084,2164,1779,1909,1793,1519,1842,2304,2717,2928,2409,2554,2553,2465,2685,2685,2213,2281,2702,1996,2204,2404,2510,2501,2258,1908,1937,2334,2455,2020,2065,2853,2713,2469,2603,2660,3015,2565,2353,1913,1642,1965,2496,2688,2497,2479,2721,2769,2340,2016,2115,2447,2527,2389,2566,2421,2202,2440,2792,2754,2499,2425,2175,1973,1879,1929,2266,2410,2008,1384,1501,1925,1793,1520,1346,1610,1962,1710,1922,2071,2132,2054,1909,1715,1643,1881,1858,2340,3333,3153,2686,2707,2391,1671,1533,1730,2116,2568,2774,3113,3492,4168,4821,4752,4805,4608,3682,2930,2985,3443,3677,3510,3199,3469,3608,2325,1705,2054,2369,2301,2306,2045,1710,1664,1836,2058,2164,2104,1845,1792,1568,1641,1919,2029,1810,1518,1556,1554,1511,1798,1904,1567,1531,1623,1637,1816,1589,1407,1428,1427,1491,1527,1601,1786,1760,1472,1488,1478,1506,1597,1654,1467,1521,1399,1426,1411,1921,2634,2553,2415,2656,1853,1754,1680,2084,2119,2193,1851,1967,3122,3395,2423,2026,1837,1586,1732,2051,2479,2551,2750,2907,3043,2744,2150,2414,2395,1902,2368,2364,1814,2444,2591,2199,2808,3281,3049,3505,3080,2399,2338,2642,2503,2287,2067,1988,1713,2026,2479,2297,2105,2348,2375,2597,2629,2260,2122,1888,1837,2238,2199,2076,1832,1914,2250,2072,1816,1983,2036,1848,1690,1773,1760,1772,1670,1463,1527,1725,1549,1504,1564,1587,1554,1519,1647,1679,1736,1704,1584,1612,1688,1807,1818,1798,1802,1714,1817,1858,2256,2854,2762,2397,2098,1667,1716,1860,1953,1961,2245,1898,2034,2367,1793,1598,1621,1687,2207,3206,2579,1820,2513,3184,3440,3217,2456,2659,2956,3007,3154,2776,1875,1742,1974,1513,1470,1575,1514,1709,1691,1618,1892,1722,1452,1643,3068,3054,2827,2787,2962,3132,2509,1871,1682,1772,2077,2068,2143,2192,2300,3030,3141,3422,3806,3873,3309,2712,3274,3521,3321,3099,2861,3301,3348,2755,2840,3019,2565,2319,3119,4052,4411,3397,2583,2446,1686,1958,2974,3232,2591,1973,1634,2041,2124,2197,2208,2044,2426,2544,2374,2425,2470,1977,1819,2272,2306,2174,2369,2435,2595,2493,2484,2743,3397,3610,3404,3249,3151,2657,2750,2967,3477,3386,2934,1906,1451,1721,2148,2343,1719,1865,2715,2754,1954,1577,2786,3488,3509,3344,3212,3626,3759,2987,2839,2934,3100,2643,2625,2676,2921,2363,1335,2304,2745,1676,1878,2450,2679,2917,2756,2852,3319,3409,3425,3216,2932,3028,2828,2930,3131,3178,3208,3178,3285,3208,2415,2366,3004,2733,1681,1817,2452,3057,3423,3587,3476,2831,2797,2614,2041,2182,2701,3120,3168,3035,2878,2435,2900,3352,2618,2095,1816,2090,2989,3193,3479,3664,2696,2165,2330,2181,2192,2014,2171,2884,2895,2459,2733,2394,1750,1294,1951,2831,2835,2928,3291,2875,3391,4030,3881,3210,3106,3478,3338,3695,3904,3724,3654,3870,3949,3978,3812,3153,3119,3409,3739,3821,3472,3676,4052,4212,3143,2740,2884,2699,2357,2323,2464,2314,2108,2138,2101,2410,2853,3183,3392,3458,3254,2868,2669,2767,3110,3611,3274,2479,2488,2664,3441,3518,3308,2714,2786,3536,3670,3786,4149,3659,3168,3156,3477,3450,3297,3143,3075,2871,2561,2288,2258,2110,2042,2070,2778,3212,2777,1937,2232,2473,2501,3763,4238,3727,3504,3733,3867,3550,4067,3638,3215,2495,2168,2496,3289,3714,3775,3425,2734,2078,2276,2514,2930,2791,2911,3418,3409,3078,2253,2081,2570,2672,2441,2441,2257,1966,2161,2628,2422,2310,1854,1943,1884,1990],[1924,2056,2036,2613,2846,2998,2950,2722,2608,2810,3223,3286,3604,4120,3863,3630,3505,3472,3165,2839,2777,3190,2878,2315,2088,2100,2377,2989,3416,3273,2685,2518,2586,2596,2900,2723,3034,3352,3526,3817,3638,3414,3155,3105,3166,3156,2980,2975,3025,3561,3908,4046,4120,3974,3773,3494,3378,3694,3750,3807,3894,3833,3848,3992,3960,3375,2966,3193,3320,3442,3910,4035,3660,3298,2504,2116,2205,2521,2774,2853,3276,3795,3626,3088,2458,2316,2530,2799,2377,2469,3140,3483,2722,2808,3099,3104,2462,2036,2014,2087,2553,2877,3138,3112,2640,2945,3629,3710,3571,3205,3247,3230,2946,2875,2839,3388,3532,3122,3033,2669,2025,2755,2778,2608,3074,2988,1845,1657,2046,2353,2762,2895,2482,2515,2366,2342,2098,2152,2588,2714,3153,3245,2480,1969,2007,1503,1556,2085,2048,2026,2328,2195,2098,2252,2460,2744,2767,2619,2697,3164,2644,3072,3225,2884,3119,3782,3077,2626,2621,2818,3152,3067,2354,1700,2605,2565,2034,1955,2123,2126,2711,2952,3173,3332,3131,2710,2487,2228,1943,2255,2702,2464,2173,2061,1993,2184,1993,2057,2573,2686,2198,1791,2246,2637,2104,2270,2271,1971,1692,1826,1942,1826,2138,2122,1630,1613,1717,1749,2164,2093,1882,1865,2058,2008,1861,2105,2142,1844,1897,1971,1638,1537,1616,2077,2043,1865,1656,1822,2155,2144,2020,1724,1538,1776,1662,1720,1850,2116,1930,2460,2674,2548,2580,2539,2483,3213,3901,3875,3550,3648,3771,3891,3961,3820,3939,4095,4070,3572,3630,3558,3044,3991,4095,3847,3768,3053,2817,2840,2696,2565,2819,3112,3062,3155,3492,3476,3116,2717,2669,2611,2730,3139,3019,3133,3094,2446,1681,1405,1553,2224,3117,3378,2952,2149,1730,1685,1692,1603,1656,1775,1610,1449,1747,2172,2018,1986,2288,2211,1846,1997,2395,2004,1548,1525,1543,1579,1499,1689,2172,2231,1898,1737,1550,1676,1618,1725,1877,1908,1959,1897,2278,2701,2192,1863,2343,2020,1754,1656,1539,1527,1550,1843,1756,1549,1879,1964,1863,1830,2033,2388,1806,1907,2136,1829,1672,1516,1532,1504,1550,1655,1518,1496,1372,1470,1357,1296,1244,1327,1625,1448,1582,1792,1520,1567,1991,2127,1854,2185,2728,2386,2192,1842,1812,2333,2488,2164,1716,1692,1912,1885,1968,1676,2522,3609,2888,1971,2349,2608,2106,1728,1730,1580,1523,1672,1378,1332,1322,1352,1346,1342,1622,1717,1592,1434,1105,1414,1770,1457,1360,1500,2432,3028,2834,2654,2563,2336,2247,2116,1820,1777,2108,1894,2331,2674,2061,1679,1593,1525,1688,1781,1620,1487,1341,1531,1896,1951,1957,1874,1600,1630,2006,1653,1629,1567,1721,1936,1735,1620,1525,1609,2300,2258,2034,1725,2157,2265,2687,2507,1994,2569,3376,3387,2452,1673,1651,2282,2308,2340,1901,1744,1772,1692,1549,1705,2361,2484,2136,2033,1889,1889,1604,2242,2210,1699,1390,1285,1248,1494,1700,2068,1964,1863,2235,3261,3554,2911,1737,2114,2320,2302,2496,2501,2041,1483,1861,2462,2532,2645,2667,2541,2501,2157,1860,2190,2394,2182,1853,2052,2465,2136,1896,1639,1949,2648,3123,2829,2820,2749,2353,2738,3072,3021,3176,3650,3564,3394,3494,4082,3431,2954,2851,3055,2997,2632,2556,2943,2754,2084,1909,1724,2198,2102,1730,1808,1903,1796,1968,2164,2200,2675,3300,2811,2077,1763,2260,2390,2219,2599,1912,1598,1636,1896,2551,2698,2554,2258,1941,2292,2319,2348,1968,1617,1889,1968,1736,1848,1708,1508,1521,1495,1435,1613,1676,1557,2039,1737,1513,1322,1325,1529,1554,1453,1613,1858,1640,1492,1436,1732,1731,1602,1814,2296,2062,1604,1782,1756,1386,1582,1836,1610,1753,1538,1511,1803,2006,1827,2270,2477,2279,1968,1701,1659,2003,1803,1572,1918,1899,1571,1716,1856,1632,1749,1890,2198,2370,1866,1628,1606,1983,1882,1560,1764,1974,1544,1454,1587,1575,1610,1657,1704,1704,1522,1788,1756,1614,1399,1257,1255,1338,1285,1301,1473,1561,1508,1602,1473,1531,2016,2908,2933,2301,2424,2200,2235,2386,2388,2636,2618,2258,1497,1457,2278,2562,2645,2818,2590,2020,1920,2102,2069,2199,1988,1628,1627,1577,1700,1770,1719,2128,2741,2798,1971,1852,2358,2586,2249,1759,2100,1847,1663,2150,1968,2120,2221,1921,1511,1768,2042,2137,2526,2994,2614,1890,1652,1768,1604,1610,1735,1331,1661,1825,2005,2659,3568,3644,2769,2430,2596,3196,3064,2543,2628,2862,3071,3217,3187,3427,3405,3406,3628,3278,3098,3408,3630,3693,3773,3746,3817,3708,3310,3133,3176,3470,3521,3074,3044,3204,3106,3252,3263,3781,4136,4148,3982,4086,4164,4135,4331,4383,4776,3945,3856,3698,3543,3286,3292,3782,3948,2810,1650,1050,878,1627,2064,2326,3271,3416,3588,3681,3413,3408,3340,3411,3329,3088,3237,3565,3602,3577,3829,3917,4216,4056,3716,3447,3375,3686,3984,3785,3400,2875,2305,1935,1979,2069,2243,2237,2142,1884,1975,2029,2365,2448,1830,1759,2116,2023,1842,1619,1577,1744,1745,1604,1431,1722,1963,1704,1509,1410,1671,2432,2878,2729,1874,1689,1952,1846,2026,1947,1922,1881,1543,1828,1911,1521,1581,2150,2446,2545,2199,2297,2353,1884,1559,1687,1810,2072,2415,1930,1818,1883,2046,2717,2668,1740,1958,2016,2175,2918,3481,3991,4285,4228,3906,3940,4368,4303,3405,3283,3296,4215,4920,4729,4327,4236,4376,3980,3325,3355,3624,3716,4095,4074,3930,3180,2110,2116,2065,1530,1504,1614,1734,1730,1783,1362,1617,1732,1419,1571,1688,1916,1872,1828,1910,1928,2197,1940,1626,1961,2616,2100,2652,2357,1973,1766,2316,2846,2733,2428,1886,1603,1965,2430,1799,1565,1439,1489,1774,2083,2393,2408,2353,2099,1915,2078,2063,2579,2237,1665,1440,1591,1736,1632,1762,1830,1755,1516,1632,2020,2375,1836,1650,1693,1781,1596,1363,1526,2183,2426,2314,1983,1724,2236,2809,2348,2453,2374,2372,2531,3115,2975,2843,2880,2356,1979,2550,2563,2066,1906,1981,1950,2098,2519,1845,1746,1916,1980,1953,1654,1743,1514,1578,1733,1948,1949,1772,1571,2036,2018,1620,1734,2079,2082,1822,1863,2061,1952,2141,1778,1705,1849,2316,2253,2214,2613,2643,1907,1085,1566,1852,1945,1478,1673,2427,2774,2457,2241,2578,2992,3097,3398,3281,2910,2210,1800,2302,1626,1831,2589,3007,3062,3016,2644,2402,2423,2378,2324,2723,2167,1803,1985,1655,2185,2568,2618,2724,2687,2445,2377,2389,1997,1903,2225,2488,2316,2126,2426,2268,1953,1885,2206,2314,1954,2038,2864,3282,2805,1943,2535,2880,3117,2683,2434,2644,2314,2061,2216,2136,2076,2619,2642,2540,2764,3084,2462,2080,1894,1964,2286,2224,1874,1594,1578,1873,2027,1676,1599,1641,1826,1990,1992,1765,1844,1843,1886,1975,1839,2630,2668,2897,3694,3256,2302,2388,2226,1682,1405,1343,1606,2276,2608,2897,2426,3143,4029,4140,4385,4328,3560,2821,2962,3316,3283,2777,2648,2998,3486,3077,2080,2012,2925,2874,2010,1516,1448,1465,1659,1841,1808,1880,1699,1521,1505,1559,1819,1914,1718,1599,1526,1349,1350,1716,1567,1533,1542,1560,1462,1482,1340,1382,1404,1441,1452,1416,1484,1637,1966,1649,1550,1599,1437,1504,1996,1772,1417,1275,1445,1478,1602,2010,2115,1837,2276,1989,2276,2172,2169,2658,2958,2301,2670,3827,3549,2458,1795,1332,1180,1841,2581,2902,2939,3566,3978,3295,2663,2501,2468,2461,2333,2074,1917,2115,3053,2300,1608,2116,2481,2562,2776,2852,2577,1912,1747,1627,1808,1883,2082,1831,2008,2476,2534,2467,2194,2286,2475,2209,2082,2187,1946,2030,1831,1642,1574,1497,1804,2648,2332,2059,2164,1688,1506,1476,1562,1477,1582,1632,1425,1618,1580,1320,1598,1889,1812,1629,1467,1715,1750,1607,1424,1479,1494,1550,1663,1707,1628,1618,1692,1782,1824,2100,2470,2285,1866,1656,1619,1697,1776,1807,1936,2022,1813,2149,2088,1797,1681,1611,1986,2394,2153,1924,2242,3114,3251,3339,3103,2656,2810,2856,2852,2867,2126,1693,1557,1412,1386,1787,2062,1722,1501,1466,1574,1525,1523,1857,2584,3447,3339,2944,2987,3382,4008,3260,2155,2012,1950,2200,2258,1922,2154,2181,2462,2779,3361,3824,3735,2852,2107,2574,2967,3255,2922,3233,3732,3587,3018,3244,3669,3474,2868,2898,3234,3341,2888,3225,3696,2712,2514,2857,3028,2215,1820,1651,2003,2479,2467,2182,2085,2228,2383,2622,2685,2343,1952,1883,2394,2587,2395,2363,2498,2688,2842,2844,3094,3872,3941,3391,3362,3129,2648,2711,2833,2910,3150,2967,2480,2172,1760,2309,1719,1196,1208,2026,2288,1791,1789,2857,3461,3463,3716,3737,3836,3906,3182,2923,2795,2485,2122,2398,2488,2686,2462,1362,1632,2123,2347,2746,2974,3083,2930,2854,2898,3163,3161,3300,3111,2691,2940,3199,2910,2199,2396,3016,2994,2909,2520,1832,1600,2186,2298,1390,1577,2427,2744,2886,3142,2877,2780,2718,2367,2361,2426,2450,2806,2975,2798,2415,2553,3295,3387,2823,2338,1988,2049,2644,2633,3012,3098,2187,2159,2304,2236,2608,2324,2987,3143,3177,2665,2343,2461,2198,1968,2324,3005,3133,3045,3395,2941,3504,3220,2588,3097,3404,3310,2751,2625,3065,3570,3991,4185,3817,3867,4038,3394,2738,2769,3277,3541,3828,4333,4753,4400,3397,2864,3085,3054,2491,2166,2292,2130,2010,1913,2108,2027,2186,2897,3453,3601,3553,3238,2748,2645,3264,3605,3772,2750,2220,2363,2928,2899,3037,3256,2900,3010,3557,3339,3414,3153,3146,3183,2908,2504,3134,3890,3662,2968,2613,2894,3197,2924,2894,2288,2867,3049,2688,2024,2972,3257,2845,3617,3875,3870,3976,4355,3907,4037,4002,3356,2845,1816,1456,1990,2840,3747,4268,3775,3500,2643,2635,2677,2647,2745,3112,3260,3244,2952,2557,2579,2542,2831,2940,2823,2403,2100,2508,3007,2163,1708,1823,2140,2009,2094],[1624,1809,2404,2780,2729,3064,3334,3044,2675,2778,2762,2754,3064,3797,3786,3320,3020,3309,3218,2996,3282,3294,2780,2543,2553,2423,2578,3199,3255,3024,2593,2385,2282,2439,2989,2890,2893,3124,3394,3869,3720,3411,3172,3208,3285,3297,2867,2760,2988,3398,3530,3371,3376,3669,4018,3992,3885,3705,3588,3893,3830,3682,3960,4073,3839,3437,3296,3432,3595,3874,3964,4074,4188,3630,2663,2315,2536,2546,2629,2896,3301,3475,3560,3178,2379,2208,2589,3111,2664,2927,3059,3005,2996,2884,2570,2206,1967,1984,2244,2745,3178,3364,3097,2896,2886,3284,3427,3431,3737,3554,3287,3445,3287,3143,2888,3192,2962,2411,2565,2500,2029,1952,1711,1700,2326,2468,1842,1766,2046,2109,2029,2176,2464,2243,1938,2679,2885,2620,2487,2591,2730,2873,2839,2490,1967,1592,1488,1979,2053,2509,2188,1417,1947,2272,2512,2698,2405,2564,2664,2740,3061,3239,3484,3699,3514,3284,2574,2179,2617,3088,3492,3168,2552,2034,2778,2429,2151,2573,2622,2578,3054,3262,3123,2850,2842,2733,2553,2105,1962,1974,2349,2434,2379,2192,1944,1904,2059,2422,2664,2272,1714,1784,2588,3057,2640,2558,2470,2154,2147,2026,1599,1741,2191,2144,1754,2017,1914,1724,1865,2108,2064,1791,1759,1782,1908,2428,2116,1543,1485,1851,1902,1746,1671,2101,1969,1725,1576,1503,1747,1959,1898,1854,1863,2168,1715,1616,1921,2368,2172,1765,1818,2308,2509,2192,2568,3399,3599,3265,3471,3831,3770,3821,3702,3447,3461,3791,3963,3486,3310,3671,2984,3565,4114,4033,3996,3653,3234,2914,2675,2610,2907,3108,3142,3375,3548,3661,3518,3005,2761,2750,3086,3477,3265,2944,2822,2365,1599,1426,1388,1643,2141,2707,2276,2451,2381,2178,1990,1607,1687,1790,1553,1515,1973,2427,2087,1863,2423,3036,2380,1751,2458,2692,1707,1216,1178,1368,1653,1543,1749,1725,1949,1877,2096,2655,2432,2503,2708,2113,1814,1943,2612,2802,2208,1921,1992,1710,1584,1446,1295,1330,1678,2084,2231,2010,1835,1898,2252,2253,1848,2088,1986,2024,1979,1891,1684,1421,1379,1471,1693,1743,1700,1561,1500,1382,1579,1842,1625,1720,1776,1386,1410,1497,1420,1486,1714,2096,2171,1759,1719,1770,2111,1762,1787,1895,1715,1653,1540,1698,2363,2221,2091,1653,2414,3143,2302,1668,2077,2244,1655,1531,1604,1601,1432,1514,1324,1310,1534,1451,1409,1426,1682,1769,1404,1397,1380,1423,1708,1526,1345,1267,2355,2724,2469,2393,2199,1820,1771,1993,2046,1781,1516,1134,1838,2188,2014,1701,1592,1756,1606,1457,1520,1503,1396,1626,1852,1869,1897,1895,1460,1542,1880,1600,2076,2456,2009,1648,1640,1793,1706,1869,2300,2290,1897,1511,1795,2150,2250,2373,2110,1947,2394,2165,1717,1630,2003,2618,2025,1702,1803,1698,1479,1451,1721,1842,1785,2070,1918,1923,1659,1565,1976,2672,2764,2224,1627,1458,2060,2307,1921,2107,1996,1747,2353,3372,3628,2909,1858,2114,2252,2680,2980,2200,1429,1654,2293,2602,1970,2855,3641,3460,2819,2143,2157,2321,2214,1902,1804,1574,1830,2155,2309,1848,2142,2468,2632,3185,3541,2598,2055,2343,2173,2159,2250,3023,3652,3652,3429,3660,3356,2857,2833,2787,3010,3573,3583,3630,3130,2058,2025,2137,2235,1931,1671,1801,1874,1942,2219,2220,2020,2337,3507,3643,2649,2054,2680,2490,2299,2079,1699,1657,1587,1579,2009,2581,2476,1962,1986,2056,2058,2293,1932,1715,1752,1563,1597,1756,1627,1485,1549,1762,1707,1802,1687,1335,1534,1797,1755,1504,1411,1556,1517,1383,1498,1864,1882,1609,1606,2076,1997,1831,2402,3013,2532,1963,1999,1995,1704,1692,2037,2086,2442,2098,1951,2005,2207,2459,2878,2702,1924,1989,2133,2299,2342,1664,1688,2194,2072,1750,1809,1723,1477,1753,1709,2056,2408,1924,1555,1689,2531,2121,1740,2016,2056,1576,1466,1613,1829,1812,1567,1542,1670,1566,1723,1673,1745,1604,1511,1484,1493,1489,1376,1710,1812,1440,1505,1578,2082,2345,3020,3052,2753,2454,1981,2010,1785,1570,1873,1789,1956,1563,1719,2521,2600,2479,2487,2213,2386,2943,2625,2116,2014,1844,1555,1483,1441,1758,1902,2090,2241,2311,2234,2091,2210,2093,2309,1955,1548,2114,1892,1619,2070,2454,2144,2047,1787,1639,1933,2244,2373,2384,2674,2305,1776,1482,1569,1420,1406,1535,1494,1555,1825,2030,2754,3511,3216,2625,2564,2484,2455,2534,2691,2917,3379,3641,3378,3350,3826,3647,3217,3130,2934,2893,3417,3820,3914,3892,4003,3965,3698,3697,3848,3731,3428,3243,3034,3334,3514,3384,3282,3218,3557,3834,3895,3884,3981,4167,4617,4408,4345,4685,3637,3474,3470,3628,3514,3698,4229,3973,2850,1547,912,804,1452,2055,2208,2701,3607,3743,3352,3330,3498,3283,3041,3029,3384,3649,3363,3192,3154,3465,4188,4441,4265,4061,3484,3137,3400,3354,2907,2416,2001,1907,2002,2203,2237,2193,2161,2142,2052,2107,2154,2040,1782,1681,1753,1945,1638,1483,1442,1399,1497,1804,1714,1564,1757,1715,1639,1746,1522,1609,2144,2344,2403,1825,1644,1699,1544,1565,1443,1465,1565,1694,1810,1509,1439,1361,1813,1664,2053,2046,2216,2264,1777,1537,1367,1578,1494,1641,1938,1839,1627,1617,2513,2696,2322,2688,2738,2526,2885,3429,4026,4164,4014,3893,3742,4034,4165,3795,3329,3371,4079,4690,4565,4219,3823,3482,3042,2313,2554,3231,3550,3792,3709,3676,3252,2288,2161,2071,1980,1798,1727,1874,1703,1620,1537,1627,1520,1497,1670,1557,1564,1637,1462,1427,1478,1709,1758,1613,2101,2222,1725,1956,2170,2005,1836,1953,2235,2059,1795,1656,1593,1891,2154,1832,1562,1403,1705,1828,1833,1975,2444,2973,2295,1911,1815,1581,2160,1925,1594,1314,1481,1600,1786,1961,1776,1553,1654,2021,1722,1787,1530,1648,1871,1803,1613,1461,1558,1928,2197,2213,1758,2053,2858,3277,2483,2739,2703,2647,3083,3228,2906,2774,2851,2635,1957,1884,1793,1927,2038,2032,1953,2327,2419,1888,1975,2185,2416,2067,1845,1759,1803,1777,1959,1885,1961,1977,1938,2163,1944,1595,1510,1436,1498,1801,2220,2031,2081,2252,2230,2220,2047,2076,2092,1987,2016,2410,1841,1468,1940,1716,1607,1409,1786,2200,2231,2187,2314,2787,3164,3332,3621,3615,2796,1634,1767,2219,2436,2740,3040,3178,3174,3019,2699,2087,2133,2146,2408,2574,2613,2276,2390,2287,2542,2898,2707,2723,2701,2841,2963,2342,1863,2065,1952,1825,1594,1723,1847,1873,1958,1867,2048,2085,2138,2301,2556,3267,2802,1964,1860,1717,1898,1962,2348,2291,1970,2041,2315,2149,1885,2279,1895,1602,2620,3197,2840,2543,2012,1857,2181,2368,2144,1833,1869,2231,2378,1724,1755,1863,1826,2009,2004,1676,1938,1996,2222,2051,1543,2110,2140,2039,2597,2543,1976,1730,1569,1514,1495,1486,1483,2062,2448,2608,2195,2929,3563,3662,3637,3823,3587,3251,3397,3396,3400,2155,2070,2119,2778,3112,2557,2572,3156,2776,1892,1584,1576,1487,1555,1722,1768,1858,1631,1531,1894,2032,1681,1472,1565,1601,1531,1248,1305,1672,1758,1842,1579,1471,1567,1549,1453,1470,1410,1437,1390,1280,1599,2283,2175,1744,1511,1576,1439,1404,1998,2247,1577,1242,1511,1611,1550,1486,1486,1503,1592,2083,2155,1822,1993,2723,2863,2381,2746,3676,3518,2119,1710,1332,1413,1999,2418,2533,2912,3431,3444,2876,2643,2621,2215,2512,2502,2514,2397,2276,3028,2642,1918,2268,2910,3200,2745,2471,2534,1844,1936,1752,2107,2198,2240,1990,2028,2360,2690,2400,1983,1967,1918,1906,2138,2264,2275,2097,1808,1747,1736,1707,2251,2749,2372,2590,2261,1265,1104,1450,1622,1604,1781,1948,1682,1570,1688,1592,1638,1690,1799,1504,1536,1710,1548,1456,1487,1569,1516,1525,1597,1635,1681,1749,1610,1715,1972,1859,1930,2036,2032,1908,1743,1684,1679,1670,1830,2078,2281,2355,1935,1620,1745,1736,2418,2389,1970,1985,2668,3161,3098,3070,2963,2808,2908,2984,2733,3013,2238,2013,2206,1883,1571,1751,1894,1892,1646,1530,1584,1513,1512,2288,3707,4175,3720,3508,3448,3666,3950,2783,1735,1983,2333,2371,2429,1648,1625,1757,2039,2659,3443,3348,2524,2068,1971,2495,2669,2778,2414,2790,3019,2477,2460,3042,3660,3398,2768,2570,2198,2298,2353,3182,3582,2894,3117,3101,2651,2347,2460,2473,2748,3006,2629,2006,1694,1778,1954,2332,2598,2158,2161,2282,2530,2492,2295,2526,2807,2496,2674,2943,3500,3834,3875,3487,3418,2943,2323,2352,2353,2494,3018,2396,2090,2076,2188,2518,1897,1613,1851,2252,2408,2586,2822,3088,3291,3549,3897,3751,3679,3693,3287,2606,2034,1804,1426,1553,1893,2178,2563,1923,1719,1231,2380,3141,3196,3036,2817,2510,2584,3223,3394,3053,3082,2812,3001,3440,2430,1682,2239,2666,2808,2966,2783,2554,2005,2049,2126,1238,1637,2643,1936,1986,2557,2541,2562,3066,3263,2928,2427,2314,2591,2450,2292,2330,2481,3187,3530,3042,2255,1897,2187,2602,2792,3173,3041,2289,2168,2305,2227,2474,2708,3638,3260,2890,2735,2275,2023,2203,2617,3291,3927,3969,3797,3797,3274,2757,2092,2467,3160,3418,3548,2889,2186,2626,3711,4208,4244,3767,3746,3894,3528,2948,2851,2854,3227,4102,4305,4187,3792,3375,2939,3378,3009,2783,1993,1902,2097,2048,2259,2419,2098,2099,2443,3043,3460,3426,3220,2911,2698,3190,3145,3176,2555,2613,3056,3171,2871,2812,3398,3140,2808,2933,3133,2775,2641,2773,2758,2849,3023,3399,3817,3522,3243,3033,3462,3931,3288,2983,2631,2540,2806,2837,2837,3437,3240,2745,2757,2665,3227,3936,4777,4980,4756,4420,4117,3176,2182,1880,2239,3161,3797,3881,2660,2236,1834,1953,2049,2211,2499,2768,2985,2977,2854,2920,2172,2162,2801,2939,2929,2532,1930,1944,2169,2266,1932,1800,2254,2258,1758],[1311,1884,2952,3009,2534,2688,3059,3037,2626,2304,2536,1980,2504,3455,3296,2732,2381,2818,3156,3005,3112,3042,2875,3188,3172,2517,2522,2930,2965,3168,3100,2620,2316,2700,3024,2548,2688,2743,3525,3909,3439,2942,2906,3106,3277,3256,3122,3295,3575,3620,3143,2587,2780,3294,3746,3896,3770,3877,3890,3828,3724,3970,4260,4104,3640,3299,3472,3563,3520,3585,3553,3842,3961,3685,3234,2917,2688,2634,2712,3018,2986,2833,3188,2886,2380,2321,2876,3391,3702,3936,3186,2364,2408,2600,2602,2409,2498,2254,2614,2959,2754,2697,2790,2805,2690,3032,3385,3629,3716,3471,2885,3179,2975,2558,2399,2439,2419,2220,2386,2220,1725,1754,1702,1834,2127,2386,1828,1591,1733,1739,1936,2104,2500,2086,1616,2033,2328,2422,2408,2933,3112,3256,3376,3618,2568,2047,1826,1824,1858,2358,2213,1838,2455,1901,1877,1995,1953,2131,2504,2727,3037,2937,3231,3706,3626,3387,2600,2727,3284,3452,3774,3482,3220,2470,2856,2884,2811,3173,2800,2510,2937,2453,2136,2566,2464,3030,2728,2420,2214,2127,2184,2274,2919,3088,2206,2120,2185,2494,2608,2340,1744,1972,2696,3106,3040,2749,2536,2398,2395,2035,2131,2179,2396,2208,1794,1688,1652,1680,1686,1736,1817,1860,1895,1853,1822,2155,1842,1530,1634,1863,1935,1780,1615,1489,1516,1648,1588,1663,1793,1899,1661,1779,2047,2068,1743,1670,1594,1960,2077,1623,1626,2145,2784,2818,2840,3078,3248,3427,3517,3434,3500,3793,3674,3325,3370,3763,3948,3752,3334,3763,3104,3529,4244,4264,4084,3854,3480,3264,3096,2874,2888,2807,3238,3790,3779,3983,3962,3455,3303,3332,3227,3072,2790,2460,2448,2169,1652,1375,1236,1772,2161,2064,1737,1823,2018,1956,1813,1604,1671,1737,1606,1553,1787,2566,2186,2373,3147,2979,2054,1598,1801,2178,1740,1412,1378,1584,1974,1690,1768,1744,1944,2447,3275,3286,2564,2372,2685,2730,2009,2004,2340,2110,2035,1642,1566,1532,1392,1314,1268,1609,2035,2696,2808,1897,1557,1574,1854,1875,1686,2271,2172,1885,2463,2385,1670,1698,1587,1519,1614,1449,1632,1665,1466,1550,1936,1898,1699,1526,1545,1444,1470,1300,1404,1378,1644,2136,1964,1549,1432,1922,2210,1568,1682,1537,1702,1389,1504,1593,2187,1978,1978,1692,1806,2232,2198,2018,1948,1769,1535,1671,1649,1499,1364,1334,1244,1575,1761,1506,1582,1494,1542,1655,1410,1596,1831,1679,1670,1591,1543,1496,2038,2390,2450,2319,2046,1649,1654,1922,1992,1586,1388,1757,2022,1863,1938,1649,1577,1946,2055,1954,1612,1448,1349,1043,995,1731,2016,1986,1833,1925,1853,1735,2041,2320,1871,1730,1965,1781,2111,2490,2056,2152,1927,1463,1734,1976,1894,2029,1926,1644,1686,1561,1519,1881,2112,1843,1548,1684,1644,1710,2107,2012,2041,1808,1718,2041,1888,1832,1700,1481,1524,1817,2140,2038,1915,2315,2612,2301,1907,1648,1481,1448,2228,3101,3074,2167,1882,2072,2282,2645,2385,1557,1621,2198,2469,2391,1979,2523,3012,3189,2588,2392,2676,2285,2128,2185,2014,1763,2018,2118,2159,2270,2182,2411,2590,2880,3167,2519,2433,2546,2024,1992,2223,2510,3033,3427,3444,3540,3095,2812,3388,3286,3432,3820,3855,3500,2787,2411,2421,2508,2384,2100,1686,1895,2105,2459,2649,1954,1778,2101,3525,4104,3090,2079,2556,2867,2696,2187,1910,1738,1530,1352,1619,2156,2346,2354,2206,1865,2690,2710,1897,2156,2250,1760,1558,1533,1509,1671,2078,2492,2024,1831,1739,1524,1676,2005,2054,1659,1669,2116,1626,1520,1430,1669,1839,1731,1748,1844,1892,2035,2347,2288,2020,2034,2518,2740,2215,2130,2534,2741,2613,2802,2956,2839,2639,2576,2634,2287,1704,1858,2222,2803,2186,1768,2182,2302,2166,2021,2319,2272,1680,1837,1543,1656,1923,1942,1584,1531,1916,1896,1671,1914,1874,1548,1601,1771,2034,1919,1530,1625,1571,1460,1504,1483,1453,1495,1974,2000,1811,1902,1572,2002,1879,1485,1771,2237,2590,2629,3218,3097,2678,2408,1844,1580,1630,1509,1557,1846,2061,1753,2177,2807,2786,2568,2105,1932,2534,2567,2242,1937,1623,1826,1616,1487,1542,1740,1782,2027,2202,2124,2183,2235,1994,1866,2333,1879,1969,2306,2311,1781,2409,2710,1942,1926,1715,1568,1787,2342,2830,2557,2444,1870,1570,1522,1475,1367,1266,1429,1498,1726,2466,2253,2796,3378,2908,2684,2884,3076,2699,2456,2795,3016,3347,3428,3396,3503,3784,3936,3462,3167,2980,2968,3396,3925,3903,3536,3903,4074,4002,4039,4059,3618,3085,2978,3116,3741,4244,3928,3413,3408,3672,3940,3930,4047,4168,4159,4508,4256,4164,4351,4030,3835,3775,3441,3270,3675,3979,4092,4039,3076,1555,851,1358,2038,2157,2358,3162,3698,3420,3369,3838,3440,3523,3665,3742,3694,3448,3155,3135,3440,4063,3805,3360,3739,3247,2911,2912,2403,2023,1843,1872,2098,2192,2210,2081,2076,2276,2271,2216,2342,1959,1476,1636,1583,1682,1712,1579,1490,1449,1434,1448,1632,1597,1553,1510,1433,1688,2260,1812,1533,1525,1475,1726,1736,1881,1989,1554,1489,1495,1548,1626,1791,1534,1432,1394,1623,1767,1565,1544,1508,1897,2377,2018,1714,1692,2024,1669,1551,1878,1740,1448,1550,1864,1988,2168,2583,2768,2938,3316,3726,3826,3673,4034,4352,3705,3602,3887,3541,3397,3527,3862,3891,3796,3839,3514,3260,2834,2251,2193,2769,3001,3508,3968,3520,3051,2388,1973,1868,1893,1725,1702,1902,1824,1715,1788,1896,1790,1641,1703,1775,1804,1675,1548,1497,1399,1319,1788,1693,1810,1911,1838,1887,1974,2297,2030,1606,1662,1724,1638,1684,1578,1693,1812,1806,1520,1615,1770,1537,1534,1720,2139,2575,1936,1604,1480,1534,1599,1700,1786,1893,2030,1944,1796,1598,1489,1486,1666,1738,1512,1575,1813,1903,1687,1487,1513,1550,1434,1725,2175,2492,2002,2136,2602,2846,2884,3152,2735,2373,2800,3038,2621,2647,2452,2611,2006,2184,2398,2200,1991,2109,2350,2766,2590,2210,2537,2115,2082,1765,1945,1943,2025,2060,1842,1679,1832,1838,2056,2267,1804,1281,1040,1042,1388,1484,1797,1794,1826,2171,2610,2524,2104,1867,2025,2000,2104,2281,1618,1390,1359,1396,1794,2051,2180,2039,1924,2192,2655,2540,2216,2808,3270,2830,1924,1711,2248,2167,1932,2368,2840,2976,3011,2852,2532,2113,2321,2276,2173,2392,2555,2656,2762,2168,2137,2692,3088,2989,3009,3083,3240,2539,1825,1896,1954,1879,1763,1896,2020,2181,2426,2330,1872,1944,1976,1683,1715,2302,2244,2165,2183,1859,1654,1647,2240,2530,2788,3107,2666,2103,1935,1880,1447,1547,2536,2994,2544,2221,1854,1771,1868,1947,2055,2034,1942,2328,2091,1657,1871,1821,1597,1663,2093,2202,2396,2178,1614,1446,1289,1429,1524,1481,2151,2514,1831,1749,1549,1508,1508,1510,1541,1691,2292,2941,2732,2909,3659,3762,3624,3616,3216,3240,3528,3752,3545,2419,2290,2219,2578,2715,2552,2963,3245,2909,1992,1597,1572,1623,1636,1727,1848,1727,1571,1622,1816,1741,1395,1382,1622,1512,1428,1373,1288,1380,1675,1642,1474,1489,1639,1594,1477,1529,1529,1505,1300,1482,2236,2362,1764,1647,1529,1537,1550,1390,1819,2408,1660,1528,1408,1467,1428,1409,1505,1505,1423,1871,2214,2273,2386,2597,2204,1959,2648,2857,2345,1766,1853,1613,1978,2765,3212,3254,2942,2751,2414,2357,3008,3055,2426,2750,2712,2649,2180,1837,2078,1997,1999,2247,2508,2747,2476,2321,2467,2238,2062,2006,2001,1887,1898,1954,2048,2225,1749,1592,1853,1837,1694,1746,2296,2618,2739,2365,2502,3032,3120,3124,2586,2091,1838,2640,2250,1581,1218,1344,1507,1900,2063,2193,1893,1485,1582,1614,1538,1597,1948,1930,1900,1694,1514,1475,1562,1585,1676,1741,1614,1555,1743,1871,1742,2048,2812,2636,1803,1525,1642,1637,1684,1759,1784,1774,1807,2380,2178,2203,2032,1592,1783,1904,2132,2092,2166,2147,2170,2312,2873,2994,2753,2774,2721,2905,2726,2939,2984,2829,2504,2161,1802,1599,1722,2016,1570,1555,1573,1444,1453,2236,3563,4026,3408,3333,3784,3966,3804,2684,1909,2128,2302,2432,2482,2103,1831,1647,1740,2524,3637,3627,2972,2457,2542,3053,3120,2844,2024,1886,2119,2090,2132,2750,3265,2964,2476,2320,2335,2898,2767,2355,2636,2833,3062,2853,2676,2916,2744,2684,3084,3139,2498,2169,1256,1513,2013,2367,2106,2180,2732,2787,2586,2568,2431,2465,2474,2186,2743,3228,3474,3684,3318,3031,3298,2899,2030,1342,1842,3075,2886,1783,2247,2774,3151,2846,2743,2723,2644,2718,2496,2924,3156,3195,3112,3537,3868,3286,3071,3563,3554,2585,1902,1597,1202,1404,1633,1767,2081,2238,2368,1344,1882,2863,3315,3316,2987,2805,3383,3675,3500,3109,3043,3044,2854,2890,2407,1632,2035,2525,2853,2962,2795,2749,2031,2528,2994,2369,1833,2183,1450,1281,2224,2532,2532,3339,3592,3300,2577,2245,2102,2475,2456,2856,2635,3165,3574,3300,2423,1643,1930,2444,2452,2178,2110,1820,1279,1579,2010,2345,2584,2695,2311,2672,3162,2971,2822,3154,3077,3216,3798,3837,3539,3684,3460,2827,2996,3796,3983,3792,3680,2931,2354,3016,3835,4012,4160,3704,3632,3575,2973,2597,2904,2659,2752,3576,3899,3741,3628,3536,3291,3483,2809,2357,2205,2562,2446,2148,2558,2646,2241,2057,2040,2636,3018,2993,3183,2888,2499,2923,3178,2651,2783,3056,2564,3029,3156,3237,3395,3233,3108,3006,3614,3445,2758,2704,2994,3426,3748,3938,3648,3415,3396,3085,3034,3553,3747,3249,2171,2100,3318,3880,3485,3295,2666,2463,3322,3184,3156,3792,4609,5136,5008,4697,4042,3061,2398,2432,2513,2519,3172,2648,1771,1675,1720,2112,2458,2404,2159,2467,2847,2788,3088,3384,1984,2385,2966,3021,2712,2672,1811,1287,1535,1534,1612,1723,1959,2474,2426],[2197,2512,3213,3201,2786,3044,3382,3201,2585,2089,2215,2039,2742,3178,2817,2619,2483,2832,3089,2875,3062,2972,2959,3584,3715,2810,2769,3119,3112,3173,3018,2679,2796,3138,2621,2370,3161,2801,3574,3500,2903,2823,2769,3071,3325,3029,3094,3198,3206,3161,2732,2284,2888,3575,3837,3664,3332,3579,4002,3934,3679,4078,4355,4001,3786,3554,3339,3307,3359,3494,3447,3518,3629,3625,3762,3695,3430,3185,2818,2946,2729,2809,2946,2379,2343,2547,2302,2850,3947,3983,3507,2239,1644,2087,2344,2462,2552,2778,3319,3205,2942,3006,3038,2852,2861,2832,2963,3440,3489,3312,2888,2986,2713,2401,2304,2082,2346,2570,2170,2002,1973,2092,1428,1577,2026,1917,1688,1712,1789,1782,1730,2162,2757,2150,1600,1523,2078,3007,3228,3274,3217,3429,3619,3209,2236,1737,1644,1713,1858,2226,2611,2967,3089,2448,2028,2059,1955,1937,1987,2238,2871,3045,3096,3103,3259,3372,3154,3029,3130,3253,3677,3748,3782,3383,2796,2669,3140,3361,2558,2341,2840,2452,2303,2425,2410,3019,2423,2311,2385,2057,1815,1829,2723,3029,2310,2365,2282,2594,2331,2343,2402,2696,2307,2199,2584,2574,2542,2607,2898,2886,2721,2677,2797,2300,1905,1748,1910,2138,1976,1988,1763,1861,1888,1928,1876,1904,1759,1649,1640,1816,1782,1707,1686,1678,1758,1698,1744,1764,1532,1483,1584,1743,2176,2032,1864,2261,2149,2056,2165,1656,1452,1740,3110,3973,3115,2887,2815,2988,3111,3000,3356,3559,3451,3575,3853,3973,3902,3894,3506,3251,2767,3168,4071,4397,4240,4050,3539,3147,3225,3217,3173,3161,3662,3807,3938,4277,4265,4061,3929,3782,2958,2192,2080,1935,2036,1698,1530,1417,1454,1934,1895,2059,2179,1816,1639,1762,2026,1863,1673,1848,1653,1550,1636,1937,1951,2121,2474,2221,1722,2165,1857,2031,1750,1670,1689,1923,2226,2097,2455,2342,1431,2263,3505,2868,2816,2795,2932,2775,1839,2339,2572,2224,1931,2193,2408,1810,1522,1375,1626,1925,1726,2402,2549,2056,1757,1771,1787,1726,1591,1938,2109,2093,2425,2008,1694,2107,1678,1762,1670,1617,1592,1187,1059,1504,1767,1973,1816,1528,1375,1532,1533,1464,1380,1571,1976,2489,2267,1877,2089,2428,2526,1913,1505,1371,1313,1396,1562,1636,2089,1946,1651,1586,1790,2143,2038,1948,1983,1596,1309,1279,1547,1324,1220,1228,1172,1477,1606,1455,1526,1299,1300,1537,1340,1526,1511,1466,1550,1671,1673,1821,2126,2644,2972,2219,2113,1971,1911,1773,1889,1619,1881,2340,2548,2527,2260,1602,1524,1975,2268,1903,1554,1448,1167,982,1239,1598,1887,2092,1910,1660,1555,1727,1761,2326,2010,2173,1834,1718,2443,2888,2574,2324,1965,1699,1881,2015,2027,1782,1857,1724,1681,1838,1864,1896,1917,1605,1506,1723,1652,2051,2543,2191,2102,1556,1560,1825,1764,1977,1969,1606,1472,1455,1605,1569,1750,1968,2077,2268,1954,1692,1679,2028,2911,2875,2167,1998,1761,1638,1734,1957,1698,1564,2244,2277,2310,2257,2259,2049,2120,2388,2071,1861,2190,2024,1661,1779,1776,1808,2165,1961,1816,1887,2087,2590,2658,2332,2194,2874,3521,3239,2623,2382,2487,2624,2713,3059,3100,3248,3369,3324,3815,3920,3938,3919,3807,3359,2908,2928,2958,2707,2808,2509,1788,2003,2396,2556,2283,1804,1729,2158,3228,3367,2220,2070,2513,2532,2592,2335,2072,1852,1803,1648,1678,1880,2092,2771,2735,2191,3021,3151,2191,2132,2198,1639,1382,1629,1707,1876,1976,2299,1820,1599,1782,1704,1841,2346,2437,2079,1941,2472,1693,1432,1386,1673,1880,1883,1741,1812,1998,1976,1996,1589,1510,1981,2964,2920,2462,2578,2598,2512,2544,2814,2663,2465,2216,2037,1588,1499,1653,1549,1729,2388,2337,2338,2612,2363,1886,2195,2759,2479,2021,2013,1802,2141,2344,2475,2149,1800,1764,1718,1579,1513,1447,1502,1626,1702,1741,1621,1483,1645,1539,1654,1616,1385,1253,1581,2128,1983,1710,1654,1631,1952,1652,1304,1933,3001,3141,3118,3239,2810,2438,2450,1829,1410,1505,1831,1237,1429,1896,1718,2180,3023,2919,2664,2118,2127,2200,1825,1801,1429,1371,1656,1709,1458,1362,1505,1516,1707,2201,2225,2326,2426,2032,2024,2174,1942,2346,2692,2592,2298,2776,3024,2341,2253,2323,2410,2317,2605,2843,2131,1776,1653,1494,1600,1796,1662,1541,1787,1826,2461,2524,2220,2640,2763,2462,2759,3145,3343,3324,3324,3267,3181,3394,3961,3754,3418,3383,3462,3560,3549,3428,3273,3225,3774,3982,3403,3861,4328,4264,4205,4165,3593,3123,3174,3720,3961,3588,3485,3376,3499,3682,4209,4209,3994,3990,4047,4253,4258,4187,4287,4333,4432,4100,3835,3530,3668,3631,3895,4345,3392,2110,1041,1147,1842,2097,2191,2655,3437,3197,2691,3514,3604,3697,3451,3693,3756,3467,3270,3145,3287,3695,3422,3027,3220,2830,2429,2042,1729,1718,1867,2001,2102,2169,2082,2081,2198,2164,2306,2386,2143,1809,1644,1734,1665,1637,1553,1719,1625,1496,1569,1650,1605,1686,1642,1455,1318,1493,2163,1915,1543,1435,1349,1509,1753,1913,1922,1755,1905,1702,1767,1874,1839,1662,1745,1682,1882,1878,1454,1559,1595,1635,2052,1854,1530,1794,1996,1638,1396,1600,1678,1473,1370,1773,2676,3400,3681,3509,3645,3824,4127,3775,3118,3805,4780,4532,3927,3718,3732,3726,3641,3902,3669,4033,4197,3893,3659,3603,3233,2927,3063,3140,3472,3925,3270,2766,2600,2205,2065,2029,1832,1559,1664,1859,2044,2066,1997,1777,1619,1766,1891,1741,1742,1810,1899,1591,1429,1738,1822,1850,1882,2114,2099,2205,2421,1796,1403,1750,1866,1719,1653,1467,1721,2337,2230,1502,1621,1447,1339,1550,1856,2025,1892,1683,1554,1531,1572,1600,1594,1533,1866,2198,2045,1939,1881,1821,1710,1649,1488,1443,1643,1764,1715,1629,1613,1720,1633,1644,2662,3072,2686,2042,1989,2261,2253,2619,2908,2376,1939,2078,2055,1862,2438,2194,2359,2359,2666,2720,2293,2173,2610,2677,2493,2398,2302,2334,2152,2221,1959,1658,1555,1865,2000,1713,1677,1605,1355,1887,2110,1776,1165,962,913,1417,1694,2081,1959,1686,1989,2055,1871,1957,2128,2337,2142,2105,2075,1465,1246,1431,1615,1925,2535,2955,2055,1843,2230,2657,2287,1929,2486,2785,2180,1643,1837,1973,1546,1361,1903,2556,2896,2946,2944,2612,2766,2765,2595,2808,2842,2686,2863,2403,1702,1619,2117,2522,2413,3034,3174,3203,2657,1836,1746,1771,1588,1967,2369,2401,2442,2533,2279,1998,2005,1694,1635,1523,1893,2244,2110,1894,1782,1637,1675,2424,3527,2922,2828,2754,2016,1812,1798,1635,1707,2115,2257,1940,1844,1925,1816,1678,1699,1947,1809,1817,2342,2168,1555,1703,1746,1765,1748,2117,2085,1715,1427,1261,1355,1269,1544,1765,1552,2409,3046,1867,1626,1711,1885,2332,2506,2224,1916,2057,2462,2450,2610,3459,3653,3649,3752,3460,3369,3535,3554,2885,2159,1886,1775,2178,2265,2156,2959,3362,2950,2047,1729,1770,1738,1783,1894,1869,1615,1470,1545,1590,1520,1466,1483,1598,1590,1524,1407,1271,1430,1595,1443,1421,1503,1538,1482,1515,1490,1554,1427,1348,1693,2149,1896,2207,2011,1560,1578,1526,1542,1783,1969,1688,1596,1429,1366,1452,1481,1565,1539,1425,1548,1981,2070,2131,2491,1938,1754,2423,1957,1636,1845,1874,1672,1964,2500,2989,2906,2271,2343,2598,2501,2850,2709,2523,2308,2304,2045,1647,1682,1766,1829,2064,1959,2062,2025,2172,2309,2279,2070,1750,1664,1418,1378,1858,1840,1909,2286,2070,2763,2395,1983,1843,1836,1996,2295,2361,2225,3442,4389,3887,3732,2553,2072,1790,2128,2019,1801,1488,1490,1531,1563,1716,1964,1716,1426,1397,1669,2007,2358,3013,3318,2512,1625,1387,1470,1659,1715,1731,1909,1843,1559,1650,1745,1647,2292,2776,2407,1851,1682,1466,1258,1443,1742,1870,1807,2037,2123,1900,2083,1925,1727,2023,2151,1793,1999,2193,1941,2349,2610,3275,2884,2640,2564,2579,2824,2894,2937,3141,3398,3381,2445,1866,1627,1627,1618,1565,1579,1581,1448,1767,2458,3059,3630,2717,3149,3858,4041,3985,3372,2676,2453,2310,1860,2030,2597,2514,2136,1899,2177,2776,3256,2966,2780,2868,3177,2990,2167,1776,1934,2231,2640,3367,3636,3518,3697,3494,3086,3064,3721,3052,2457,2858,2972,2707,2675,2699,2973,2752,2751,2617,2656,2354,2038,1202,1408,2073,2194,1720,2019,2308,2302,2186,2598,2317,2294,2270,2135,2698,3189,3322,3522,3427,3220,3111,2544,1931,1274,1742,3033,2289,1846,2906,3464,3851,3940,3598,3165,2942,2691,2420,3122,3139,3228,3165,3354,3297,2982,3283,3817,3694,2900,2208,1831,1808,2212,2035,1517,1681,1960,2161,1687,1746,2608,3233,3280,3161,3196,3422,2831,2622,3176,3195,2929,2833,2711,2720,2752,2580,2498,3133,3208,3116,2411,1746,2568,3187,3226,2768,1750,1023,1652,3062,3212,2911,3517,3488,3350,2560,1929,2201,2994,2797,2854,2680,2895,3332,3362,2712,2019,1944,2261,2036,1835,1888,1625,1497,1665,1825,2153,2590,2399,2542,3339,3373,3904,3978,3352,2924,3164,3310,3627,3607,3609,3608,3584,3757,3742,3625,3680,3664,3115,2939,3465,3249,3120,3163,3081,3167,3227,2963,2614,2668,2499,2745,3185,3400,3849,3660,3410,3333,3208,2551,2272,2654,3118,2854,2259,2365,2520,2446,2128,2131,2815,3030,3199,3370,2792,2255,2785,3117,2978,3198,2945,2836,3083,3240,3183,2639,2888,3352,3086,2907,2776,2955,3410,3258,3638,3986,4108,3464,3331,3466,3337,2633,2800,3838,3948,3157,3226,4031,4122,3711,3135,2868,2734,3284,3873,3873,3884,4321,4744,4927,4396,3630,3346,3110,3048,2617,2123,2193,1974,1902,1886,1798,2007,2490,2369,2455,2934,3062,2874,2603,2801,2274,2713,3441,3537,3206,2578,1912,1882,1896,1639,1926,1874,2032,3046,3024],[2841,2740,3234,3188,3087,2990,2865,2789,2250,2207,2264,2281,2504,2714,2834,2685,2700,3296,3372,3187,2780,2751,2808,3271,3494,3233,3316,3387,3374,3208,3142,2894,3248,3049,2171,2484,3214,2861,2835,3220,3231,3154,2999,2956,3066,3036,3099,3019,3021,2991,2576,2369,2987,3432,3532,3458,3454,3363,3394,3819,3827,4212,4024,3552,3339,3407,3356,3447,3732,4049,4080,3983,3939,3802,3886,3675,3625,3552,3122,2871,2495,2677,2922,2604,2474,2510,2186,2272,3140,3106,2444,1531,1378,1972,2691,2658,2348,2897,3666,3807,3768,3794,3607,3037,2813,2730,2698,3232,3344,2986,2844,2884,2800,2676,2526,2510,2521,2232,2030,2341,2565,2182,1828,1804,1527,1211,1612,1961,1878,1669,1974,3023,2762,1878,1725,1902,2539,3121,3007,3319,3323,3022,2721,2495,2292,1935,1822,1825,1738,2054,2285,2256,2644,2443,1869,1994,2122,2116,1985,2203,2942,3133,3012,3072,3020,3273,3646,3018,3009,3044,3440,3710,3852,3764,2966,2797,3123,3425,2745,2717,3065,2968,2874,2669,2900,2996,2241,1913,2121,2130,2489,2315,2366,2338,2138,2415,2598,2329,2060,1868,1874,2083,1920,2119,2453,2341,2496,2842,3262,3060,2554,2665,3124,2501,1959,2027,1986,1992,2042,1916,1865,1843,1752,1747,1769,2033,1968,1953,2054,1977,1636,1652,1692,1666,2116,1609,1637,1815,1742,1560,1944,2195,2262,1903,1685,2338,2402,2040,2281,1979,1946,2319,3442,3594,3276,2856,2052,2063,2349,2460,3220,3363,3494,3846,4124,3836,3780,4009,3836,3649,3056,2777,3571,4232,4356,4436,3960,3548,3781,4160,3806,3624,3979,3995,4026,4005,4008,4042,3986,3647,2670,1993,2088,2073,1854,1476,1443,1577,1801,1744,1986,3226,3432,2455,2055,2259,2016,1748,1602,1581,1744,1716,1736,1924,1872,1636,1825,2619,2629,2644,2231,2742,2156,1759,2054,2122,1990,2020,2413,2332,2166,2663,3153,3096,2627,2340,2432,1885,2137,2791,2370,2281,2345,1895,1696,1714,1698,1606,1772,1950,1728,1685,1859,1912,1888,1825,1880,1785,1679,1890,2008,1975,2070,1732,1778,2235,1890,1687,1537,1775,1889,1564,1440,1756,1846,1844,1715,1559,1422,1825,1957,1637,1785,2096,2151,2040,1976,2083,2368,2417,2464,1958,1526,1343,1216,1457,1585,1795,1929,1847,1708,1790,1630,1824,1602,1453,1384,1297,1168,1188,1329,1243,1196,1292,1199,1164,1443,1488,1591,1376,1265,1498,1499,1256,1225,1299,1558,1760,1667,1931,2149,2626,2767,2268,2154,2313,2003,1898,1977,1924,1901,1865,2267,2414,2468,1823,1968,2403,2165,1724,1451,1277,1238,1757,1886,1520,2064,2372,1938,1868,1763,1540,1392,1509,1478,1594,1537,1535,2034,2304,2002,1862,1656,1489,1604,1782,1873,1718,2018,1893,1919,1860,1623,1910,2232,1902,1710,2171,2079,2344,2005,1740,1561,1629,1686,1830,2143,2290,2109,1665,1520,1363,1612,1866,1797,1811,1830,1914,2149,1915,1628,2537,3406,2702,2056,1920,1550,1588,1623,1749,1508,1602,2061,2025,2035,2186,2232,2048,1965,1745,2053,1903,2033,1925,1686,1721,1630,1437,1564,1805,1802,1795,2272,2636,2893,2170,1928,3427,3964,3695,3340,2634,2537,2700,2830,3260,2829,3464,3790,3726,3838,3970,3858,3842,3714,3413,3139,2927,2777,2638,2986,3242,3042,2808,3028,2290,2060,1951,1945,2249,2807,2428,1931,2737,2913,2451,2460,2069,1925,1919,1731,1582,1720,2157,2454,2477,2421,2466,3049,3232,2688,2187,1798,1824,1938,1880,1844,1660,1543,1599,1560,1895,2326,2244,2222,2250,2070,1752,1672,1927,1688,1581,1576,1596,1875,2050,1883,1831,2201,2303,1861,1531,1472,1738,2691,2887,2535,2032,2011,2115,2105,2071,1802,1765,1745,1714,1516,1549,1712,1711,1702,1807,2093,2135,1764,1648,1799,1915,2059,1955,1861,1775,1914,1874,2035,2359,2549,2360,1490,1565,1463,1432,1472,1476,1576,1671,1569,1528,1487,1525,1676,1646,1476,1376,1175,1396,1693,1517,1545,1526,1733,1934,1648,1495,2192,3022,3251,3143,3048,2873,2335,2122,1675,1469,1612,1743,1549,1685,1982,1815,2335,2941,2658,2785,2312,2164,1990,2309,1906,1284,1289,1614,1764,1583,1651,1708,1886,2244,2737,2372,2002,1905,1703,1552,1719,1827,1882,2089,2347,2522,2896,2940,2115,2071,2493,2854,2589,2545,2297,1634,1591,1693,1867,1989,2125,1993,1929,1844,1529,2171,2447,2697,2916,2845,2903,3211,3386,3254,3324,3263,3109,3371,3843,4078,3794,3337,3455,3580,3378,3344,3432,3177,3248,3871,3958,3679,4012,4301,4164,4086,4060,3715,3438,3499,3717,3664,3342,3312,3328,3409,3513,3939,4256,4072,3970,3902,4046,4228,4414,4325,4239,4331,4086,4283,4147,4099,3630,3967,4445,4112,2919,1209,999,1670,2170,2200,2396,3487,3847,3363,3540,3645,3757,3625,3537,3455,3311,3282,3377,3376,3226,3198,2814,2512,2111,1737,1689,1785,1897,2096,2156,2095,2071,2126,2248,1982,1923,2428,2407,1961,1731,1770,1798,1691,1621,1889,2032,1685,1486,1557,1794,1621,1781,1592,1640,1566,1539,1798,1733,1543,1405,1404,1493,1792,2193,2127,2271,2163,1650,1533,1631,1697,1824,1956,1846,1804,1914,1828,1700,1666,1995,1988,1471,1388,1572,1589,1560,1638,1968,2298,2400,2325,2743,3487,4276,4061,3586,3783,3771,3772,3750,3652,3732,4164,4781,4504,3969,3941,3706,3285,3581,3852,4196,4132,3817,3881,4412,4364,3762,3251,3232,3531,3859,2829,2566,2719,2400,2027,1913,1808,1586,1510,1713,2362,2282,1833,1595,1560,1509,1601,1598,2067,2180,1908,1924,2030,1803,1693,1805,1913,1669,1816,2072,1964,1605,1377,1648,1746,1826,1853,1522,1781,2330,2114,1697,1690,1544,1560,1714,1825,1831,1848,1826,1639,1517,1548,1540,1534,1979,1793,1673,1918,1952,1860,1710,1673,1606,1391,1455,1566,1609,1758,1780,1771,1960,1560,1465,2713,2862,2295,1801,1444,1685,1817,2345,2646,2136,1977,2394,2965,3096,2989,2658,2597,2837,2810,2569,2277,2084,2282,2188,2076,2143,2226,2381,2584,2502,2177,1830,1607,1606,1639,1623,1818,1699,1391,1991,2051,1778,1203,949,954,1516,1928,1946,2331,2326,1981,2183,2199,2110,2492,2273,2077,2354,2279,1608,1401,1712,1891,2071,2551,2990,2014,1958,1925,1974,2198,2365,2650,2591,2254,2188,2165,1959,1895,1528,2210,2872,3064,2828,2697,2566,2543,2331,2445,2690,2533,2720,2514,1904,1966,1802,1833,1824,2029,3077,3629,3639,2950,1942,1799,1695,1681,2236,2445,2136,1959,1874,1892,1956,1913,1606,1297,1345,1891,2159,2075,1974,2343,2129,2038,2666,3630,3028,2802,2666,1955,1587,1733,1511,1455,1411,1612,1755,1822,1874,1748,1504,1679,1656,1362,1884,2119,2205,1449,1610,1623,1564,1548,1600,1476,1322,1339,1364,1340,1350,1514,1554,1550,2032,2323,1736,1698,1648,2069,2925,3205,2958,2749,2317,2329,2471,2680,3239,3575,3863,3934,3530,3573,3637,3382,2732,2253,1941,1466,1978,2197,1887,2676,3232,2812,2242,2061,1798,1598,1758,1877,1914,1736,1533,1628,1980,1709,1449,1535,1424,1554,1418,1297,1283,1422,1526,1510,1676,1656,1721,1517,1388,1510,1495,1475,1560,1512,1500,1577,1647,1655,1621,1439,1534,1469,1460,1384,1592,1510,1428,1368,1410,1530,1544,1544,1718,1638,1736,1961,2063,2143,1809,1760,2139,1747,1601,2087,2262,2062,1915,2043,2129,2043,1882,1873,1936,2306,1977,2569,2956,2509,2646,2443,2408,2035,1826,1939,2093,2003,2090,2034,1899,1884,1941,1900,1581,1381,1464,1585,1993,1821,1657,1857,2126,2465,2194,1907,1696,1694,2011,2337,2098,2081,2583,3090,2967,2971,2514,1981,1591,1562,1649,1782,1780,1718,1852,2100,1797,1866,1834,1726,1679,1867,2067,2589,3238,3348,2577,1568,1346,1578,1794,1773,1602,1753,1781,1667,1618,1582,1812,2321,2293,1737,1139,1298,1611,1395,1802,1864,1653,1581,2080,1980,2035,2183,2125,2235,2458,2125,1797,2249,2032,2533,3069,3405,3392,2633,2476,2503,2605,2679,2857,3220,3185,2973,2996,1974,1541,1537,1720,1964,2008,1697,1373,1299,2130,3001,3000,3413,3000,3339,3868,3945,3826,3751,2916,2181,1851,1576,2054,2632,2578,2094,2422,2438,2388,2724,3119,3112,2915,2934,2493,1847,1944,2160,2512,3241,3919,4003,3760,3977,3978,3760,3769,3721,2907,2905,3876,3330,2174,2112,2283,2856,3016,2821,2641,2393,2245,1682,1343,1310,1303,1349,1243,1400,1548,1735,2124,2197,1970,2028,2290,2456,2620,2712,2878,3061,3172,3205,2952,2227,2302,2476,2164,1974,1732,2452,3272,3342,3624,3714,3496,3409,3394,3077,2432,2529,2657,2603,2341,2724,3083,3149,3624,3596,3593,3111,2508,2741,3204,2964,2695,1983,1693,1692,1971,2231,2337,2661,3063,2998,2956,3030,3292,2419,2498,3194,3254,2873,2742,2855,2732,2496,2346,2462,3186,3366,3044,1627,1194,1980,2524,2642,2408,1867,1866,2824,3472,3471,3229,3092,3072,2833,2181,1958,2380,2508,2522,2538,2620,2928,3548,3467,3072,2535,1948,2259,2269,1922,1666,1763,2025,2309,2386,2381,2458,2539,2604,2701,2832,3407,3426,2667,2310,2438,2821,3533,3798,3520,3560,3655,3624,3584,3670,3692,3624,3293,2827,2443,2231,2329,2868,3349,2850,2709,2757,2387,2758,3162,3060,3403,3921,4376,3308,3206,3340,2516,2232,2775,3188,3364,3282,2785,2871,2879,2820,2424,2176,2402,2728,2941,3189,3140,2718,2931,3211,3466,2909,2932,3461,3323,3185,3054,2604,2705,3199,3417,3069,2824,3698,3591,3521,3669,4009,3629,3288,3304,3438,3436,2928,3265,3983,4141,3319,3470,3698,4016,3716,3076,2952,2770,2546,2938,3404,3709,3801,3343,3826,3316,3267,3122,2717,3121,2374,1961,2353,2548,2402,1848,1852,2206,2228,1918,2440,3097,3295,3487,3021,2679,2151,2669,3641,3758,3204,2436,1842,2566,3360,2006,1672,1765,1829,1973,2014],[2692,2810,2944,2977,3287,3274,2590,2282,2276,2006,2144,2223,1912,2508,3006,2754,2725,3520,3638,3145,2938,2873,2796,2698,2753,3268,3328,3231,3531,3340,3195,3218,3143,2704,2397,2986,3087,2821,2702,2811,2750,2954,3243,3420,3450,3393,3438,3168,3122,3080,2753,2777,3029,3241,3427,3448,3193,2911,2690,3228,2949,3393,3740,3095,2579,2971,3726,4224,4328,4519,4365,4188,4107,3860,3670,3829,3763,3404,3018,2630,2252,2245,2699,2971,2514,2260,2710,2576,2160,1739,1854,1748,1720,2019,2267,2495,2857,3527,3904,3940,3857,3768,3789,3448,3009,2874,2862,2949,2843,2721,2755,2634,2582,2652,2478,2437,2441,2155,2291,2102,1894,1703,1991,2094,1657,1577,1858,2058,1935,1534,1951,2070,1778,1712,1860,2268,2771,2777,3064,3083,2290,1974,1845,2258,1981,1710,1698,2493,2176,1787,1703,2033,2294,2222,2232,2282,2118,2084,2402,2840,3072,2830,2777,2919,2964,2983,3159,2997,2945,2839,3122,3457,3641,3275,3300,3464,3305,2976,3021,2989,2833,2746,2635,2353,2414,2728,2554,2035,2081,2521,2930,2568,2192,2533,2334,2228,2351,2454,2296,1915,1995,2273,1977,2522,3305,2790,2386,2596,3278,2829,1737,1974,2626,2186,1986,2172,2017,1776,1821,1702,2020,1919,1858,1854,2129,2077,1833,1813,1911,2020,1710,1446,1422,1751,2223,1830,1728,2164,1935,1491,1891,2216,1989,1735,1766,1821,1789,1801,2076,2449,2876,3111,3129,3217,3304,2446,1647,1972,2646,3112,3495,3473,3428,3673,3710,2827,2937,3664,4003,3758,2937,3416,3695,3712,3595,3784,4408,4826,4664,4780,4536,4069,3914,3943,3919,3697,3685,3653,3716,3471,2597,2124,2146,2243,1947,1681,1952,2219,2202,1946,3044,4296,4271,3131,2633,3001,2184,1715,1863,1837,1763,1772,1632,1736,1917,1599,1565,2443,2612,2026,1754,1707,1479,1614,1747,1646,1633,1918,2312,2381,2507,2836,3370,3343,2133,2058,2692,2432,2542,2789,2706,2770,2386,1678,1821,2220,2019,2227,2799,2997,2514,2039,1662,1872,2075,1913,1882,1758,1785,1797,1686,1608,1611,2155,2153,1753,1462,1421,1507,1807,2315,2375,1892,2010,2103,1564,1570,1592,1420,1884,2110,1920,2369,2296,2186,1748,1655,1769,2266,2094,1980,1731,1419,1281,1418,1568,1580,1934,1987,2106,2020,1970,1477,1349,1302,1350,1273,1184,1099,1088,1152,1186,1157,1089,1159,1077,1354,1886,1942,1444,1377,1849,1717,1273,1410,1537,1869,2086,2029,2200,2330,3212,3391,2809,2335,2186,1862,2243,2576,2557,2056,1759,1780,1615,1835,1795,2104,2505,2252,1699,1376,1287,1241,1495,1742,1793,2696,2697,2096,1877,1807,1552,1454,1478,1414,1647,1667,1466,1577,1499,1509,1632,1819,1781,1635,1698,1789,2210,2430,2021,1936,2145,2011,2046,2446,2461,1747,1716,1888,2166,2088,1930,1692,1982,2098,1646,1643,1824,2080,1768,1648,1584,1729,1984,1889,1860,1672,1620,1747,1626,1531,2014,2393,1780,1712,1980,1648,1868,2052,1850,1531,1591,2183,2645,2110,1666,1861,1909,2354,1764,1843,1900,1991,1788,1774,1818,1513,1425,1547,1657,1755,1764,1965,2352,2390,2099,2641,3537,3746,3772,3480,2919,2649,2752,3052,3598,3352,3998,3986,3771,3642,3778,3819,3716,3457,3321,3190,3302,3439,3036,3032,3156,2689,2928,2587,1902,2025,2057,1967,2127,2472,2490,2329,2708,2875,2502,2532,2256,1886,1784,1832,1922,2217,2670,2513,2344,2499,2412,2683,2807,2282,2023,1765,2275,2618,2182,1598,1482,1633,1557,1864,2612,2589,2624,2431,2244,2162,2173,2271,2378,2074,1836,1702,1646,1788,2066,1886,1728,2395,2421,2047,1874,1632,1567,1921,2067,1868,1721,1953,1848,1592,1515,1817,2036,1807,1793,1820,1809,1897,1689,1456,1787,2503,2376,2102,1793,2021,2024,1946,1699,1579,1771,1967,1881,1709,1603,2278,2645,1622,1640,1464,1703,1515,1545,1714,1780,1883,1860,1736,1568,1515,1497,1552,1372,1424,1728,1711,1660,1611,1810,2144,1781,1654,2196,2524,2787,2885,2628,2930,2756,2315,2163,1920,1622,1556,1810,1977,1884,1980,1856,2081,2234,2488,2693,2367,2386,2069,2078,1764,1372,1423,1672,1889,1781,1845,1884,1729,1683,2177,2083,1541,1425,1655,1626,1515,1741,1803,1990,2128,2493,2752,2396,1812,2102,2564,2709,2345,2161,2097,2031,2084,1894,2063,1820,1633,1521,1888,1858,1503,2055,2661,3098,3300,3098,2964,3521,3866,3907,3967,3640,3289,3489,3750,3561,3432,3377,3353,3454,3551,3217,3275,3115,3173,3849,4011,3869,4165,4346,4074,3682,3607,3836,3695,3580,3426,3422,3350,3508,3665,3437,3410,3676,4028,4269,4168,3880,3841,4205,4620,4201,4039,4295,4452,4693,4541,4328,3916,4092,4092,3617,2489,985,1177,1902,2216,2142,2158,3010,3216,3300,3704,3917,3816,3472,3161,3202,3496,3680,3563,3200,2657,2483,2043,1707,1611,1761,2025,2031,1963,2075,2070,2054,2165,2284,2175,1612,1803,2475,2414,1738,1569,1666,1959,2096,2034,2106,1977,1593,1550,1498,1557,1851,2014,1651,1597,1584,1614,1593,1406,1296,1363,1692,1704,1895,2698,2709,2298,1980,1605,1623,2050,2105,1963,2002,1817,1709,2136,1887,1606,1785,2374,2188,1587,1515,1478,1455,1715,2110,2693,3262,3226,3044,3007,3066,4224,4176,3719,3758,3463,3250,3523,3740,3624,3827,4152,3826,3364,3645,3676,3050,3472,3968,3941,3952,3903,4227,4921,4945,4084,3166,3087,3263,3698,3076,2636,2828,2902,2686,2162,1970,1809,1715,1881,2728,2478,1894,1682,1710,1653,1690,1600,1823,1859,1713,2336,2291,1997,1882,1576,1909,1876,1907,1932,1837,1643,1598,1766,1747,1871,1987,1523,1679,2333,2707,2618,2492,1931,1573,1367,1601,1918,1694,1602,1692,1607,1550,1780,1705,1543,1478,1836,2423,2361,1926,1643,1689,1632,1471,1411,1451,1599,1692,1832,1808,1559,1186,1476,2458,2566,2158,1735,1516,1751,1901,2091,2127,2077,1934,2652,3335,3110,2574,2282,2386,2396,2068,1872,1814,1840,2086,2294,2028,2210,2381,2116,2023,2438,2369,1944,1778,1903,1796,1857,1726,1865,1661,2195,2365,2144,1492,975,1105,1452,1590,1692,2974,3422,2820,2838,2854,2659,2209,1873,1989,2179,2187,1716,1443,1814,2151,2327,2792,2934,2215,2348,2315,2235,2535,2930,2728,2548,2564,2635,2285,2236,1769,1854,2575,3206,3228,2776,2492,2302,1863,1902,2556,2533,2131,2609,2197,1982,2245,2587,2524,2687,3213,3695,3835,3742,3173,1992,1979,2097,1906,2084,2030,1754,1785,1747,1578,1575,1669,1621,1498,1762,2199,2061,1965,2359,2412,1859,1576,1974,2629,2920,2796,2348,1848,1526,1557,1501,1722,1584,1608,1500,1577,1553,1596,1693,1789,1636,1643,2154,2170,1990,1684,1621,1370,1304,1308,1335,1365,1440,1481,1534,1678,1582,1419,1480,1487,1637,1566,1616,1554,1519,1953,2576,2770,2526,2947,2478,2617,3124,2928,3068,3460,3843,3749,3194,2790,2621,2614,2701,2608,2243,1825,1822,1915,1771,2145,2843,2916,2218,1779,1581,1524,1657,1757,1798,1986,2015,1910,2243,2094,1908,1706,1452,1466,1430,1372,1307,1433,1512,1503,1713,1567,1498,1448,1419,1461,1514,1737,1667,1460,1682,1709,1383,1446,1282,1250,1378,1392,1413,1413,1392,1389,1429,1427,1421,1580,1451,1437,1686,1904,1808,1739,1646,1577,1688,1881,2196,1924,1629,1810,1957,2137,2063,1895,2248,2266,1786,1738,1839,2225,2368,2978,2825,2577,3076,3010,2752,2121,1884,1953,2024,2056,2129,2237,2328,2399,2224,2436,2250,1681,1907,1757,1582,1383,1459,1440,1820,2005,2039,1850,2007,2758,2983,2764,2135,1881,2185,2609,2125,1972,1887,1624,1481,1609,1902,1884,1867,2097,2120,2380,1876,2110,2358,2250,2019,1635,1659,2587,3360,3415,2740,1706,1595,1651,1765,2144,1784,1832,1983,1871,1839,1544,1727,1924,1867,1388,796,1035,1667,1526,2191,1920,1655,1741,1958,2155,2387,2310,2129,2215,2329,1920,1832,2119,2995,3561,3625,3889,3260,2536,2623,2608,2713,2844,3079,3183,2785,2497,2172,1703,1461,1586,1668,1710,1833,1633,1408,1495,2420,3115,3605,3698,2990,3355,3947,4148,3934,3118,2119,1772,1564,1828,2512,3168,2674,2448,2552,2830,2890,2732,2802,2857,2917,2757,2352,1889,2343,2242,2480,3929,4320,3974,3893,4085,3795,3630,3913,3850,3355,3297,4010,3023,2184,2566,2501,2762,3063,2752,2395,2082,1752,1920,1559,1203,1586,1402,1740,1644,1530,1625,1860,1396,813,1042,1533,1952,2700,2919,2644,2433,2500,2689,2624,2207,2430,2634,2107,1537,2032,2775,2972,2867,2952,3109,3134,3372,3742,3402,2766,2534,2396,2099,1870,2314,3035,3155,3264,3199,3328,3270,2963,3248,3676,3598,3210,2662,2272,2211,2586,2712,2279,2569,3212,3177,2971,3264,3637,2901,2671,2980,3219,3098,2959,2614,2574,2429,1931,1637,2771,3120,2884,2394,1865,2003,2071,2032,2167,2427,2974,3592,3552,3506,3172,2708,2568,2476,2284,2262,2513,2536,2296,2062,2149,2498,3317,3683,3406,2972,2551,2711,2823,2184,1688,1651,1954,2489,2469,2225,2343,2332,1997,2045,2587,2879,2663,2327,2110,2193,2592,2956,3726,3652,3595,3720,3616,3717,3627,3241,2909,3124,3111,2313,1958,2154,2803,2945,2344,2244,2104,1853,2658,4025,4184,4243,4290,3714,2985,3124,2586,2435,2786,3398,3675,3564,3340,3131,3405,3300,2733,2348,2084,2118,2663,3162,3404,3426,2837,2925,3341,3641,3476,3166,2942,3010,3132,3210,2976,2878,3077,3297,2608,2463,3650,2951,3027,3152,3364,3266,2974,2491,2367,2749,2988,3659,4039,3282,2596,3171,3343,3503,3414,3076,2675,2313,2588,2952,2999,2966,2971,2529,2344,2259,2488,2119,2175,2732,2354,2134,2707,2920,2428,2000,2285,2527,2344,2153,2268,3252,3545,3482,3257,2770,2636,3079,3440,3275,2843,2095,1832,2060,2281,1823,1722,1852,2098,1745,1176],[2520,2756,3042,3164,3552,3676,3105,2812,2654,2154,1719,1794,1760,2280,2384,2542,2670,2988,3112,2844,2462,2358,2306,2001,2317,3064,2973,3233,3387,2832,2810,2939,2811,2949,3162,3200,3232,2785,2365,2732,2824,3050,3350,3547,3637,3446,3507,3342,3186,2984,2896,2830,2678,3030,3521,3406,2799,2413,2054,2270,2207,2920,3365,3128,2820,2782,2943,3240,2823,3781,3584,3543,3783,3828,3375,3662,3693,3269,2862,2513,2433,2451,2802,3032,2898,2543,2849,2496,1720,1747,2470,2187,1888,2183,2364,2446,2780,3508,3753,3665,3641,3492,3494,3647,3327,3184,2941,2568,2400,2644,2877,2647,2631,2513,2408,2412,2489,2511,2711,2357,1605,1534,1906,2231,1940,1999,1707,2219,2336,1515,1884,1929,1710,1677,1824,2178,2454,2534,2850,2625,2119,1889,1772,2436,2023,1734,1736,2950,2938,2286,2163,1938,1794,2070,2072,1862,1897,2025,2828,3159,2857,2379,2588,3091,2890,2797,3220,3340,3000,2518,2872,3366,3366,2696,3536,3864,3244,3121,2980,2477,2498,2620,2647,2617,2536,2548,2270,2360,2340,2665,2755,2886,2887,2922,2604,2052,2220,2779,2409,2092,2195,2241,1787,2688,3077,2391,2127,2392,3099,2976,2120,2290,2504,2114,1913,1880,1974,2231,2250,2311,2396,2272,2100,2090,1781,1642,1950,1904,2068,2084,1697,1427,1456,1821,2070,1794,1592,1975,2226,1913,1860,2102,2018,2141,2031,1754,1526,1543,1852,2338,2619,2525,2688,3106,2747,1851,1523,1745,2959,3852,3792,3318,3040,3428,2984,2244,2480,3377,3826,3023,3371,3983,3995,3825,3694,3152,3595,4251,4488,4876,4644,4030,3880,3830,3762,3436,3492,3552,3480,2928,2322,2222,2248,2083,2109,2458,2440,2082,1904,2155,3399,4048,3360,3132,3378,3108,2088,1937,2408,2230,2019,1820,1585,1342,1690,1678,1433,1610,1800,1712,1566,1552,1576,1467,1548,1818,1703,2232,2480,2031,2156,2419,2690,2505,2114,2446,2864,2765,2201,2003,2436,2100,1844,1844,2244,2896,2533,2620,3361,3334,2991,2366,1650,1756,1756,1895,1958,1919,1958,1817,1594,1626,1954,1886,1486,1611,1722,1487,1730,1803,2071,2101,2369,2153,1669,1468,1385,1336,1320,1694,1967,1685,1835,2831,2783,2091,1919,1659,1879,1720,1527,1451,1420,1340,1487,1722,1484,1707,2001,2255,2115,1892,1463,1043,1239,1388,1310,1300,1154,1063,1105,1166,1115,1127,1246,1205,1366,1815,1628,1135,1212,1582,1543,1577,1912,2186,2276,2331,2367,2109,2509,3365,3349,2573,2116,1831,1927,2376,2506,2653,1892,1673,1706,1563,1745,2208,2505,2199,1777,1493,1462,1495,1212,912,1169,1575,2143,2056,1947,1897,1980,1830,1621,1555,1644,1938,1666,1612,1784,1651,2048,1907,2031,1877,1681,1764,1759,2143,2604,2241,1953,2434,2174,2116,2599,2509,1773,1612,1824,1926,2009,2175,2280,2711,2733,1924,1770,1882,2286,1785,1584,1811,2070,2163,1905,1556,1644,1548,1473,1571,1621,1656,1675,1587,2282,2530,2214,2798,2757,1737,1532,1742,2239,2524,2178,1952,2654,2937,2676,1899,1845,2002,1886,1562,1548,1753,1779,1936,1987,1597,1597,1908,1906,1976,1587,2076,3303,3759,3942,4308,4239,3850,2939,2801,3238,3969,4085,4188,4143,3775,3520,3715,3820,3583,3364,3132,3133,3473,3337,3130,2980,2866,2156,2047,2078,2205,2491,2370,2211,2231,2287,2031,2050,2431,3150,3378,2784,2514,2214,1866,1852,1917,2413,2624,2279,2293,2357,2357,2130,2236,2222,2331,2069,1908,2142,2073,1603,1848,2044,1674,1960,2436,2442,2702,2747,2541,2483,2641,2552,2361,2210,1834,1702,1742,1693,1942,1958,1781,1945,2011,1821,1666,1848,1726,1494,1670,1994,1841,1534,1293,1128,1195,1570,1550,1484,1900,1952,1874,2128,2201,2088,2319,2711,2521,2348,2051,2123,2104,1809,1714,1914,1914,1948,1999,1792,1627,2553,2643,1656,1600,1785,1819,1746,1866,1808,1919,1942,1845,1924,1735,1592,1543,1622,1607,1795,2002,2011,2103,1694,1915,2469,1822,1937,2758,2720,3088,3313,2907,2736,2385,2426,2442,1958,1842,1958,1671,1763,1741,2145,1907,2074,2053,2350,2346,2347,2495,2144,1650,1410,1534,1598,1576,1998,2148,1924,1964,1667,1649,1859,1664,1646,1735,1930,2004,1503,1765,1926,1904,1878,2215,2514,2130,2004,2344,2372,2346,2050,1692,1870,2075,2316,2287,2106,1804,1600,1729,2348,2369,2028,2570,3116,3489,3393,3020,2867,3503,4212,4300,4312,3573,3389,3641,3248,3045,3253,3451,3428,3498,3580,3329,3415,3351,3672,4137,4272,4227,4162,4131,4085,3573,3333,3747,3467,3287,3348,3439,3715,3979,4006,3835,3836,4050,4228,4120,4027,3605,3432,3845,4468,4284,4205,4339,4328,4145,3784,3784,3880,3826,3588,2952,1702,1393,2371,2476,2214,2120,2038,2199,2469,2887,3527,3880,3786,3500,3118,3528,3826,3405,2986,2539,2110,1757,1478,1520,1835,2036,2078,1986,1878,1944,1989,2190,2330,2175,1780,1444,1620,2476,2259,1603,1578,1542,1898,2167,1866,1460,1402,1394,1528,1684,1802,2086,2089,1707,1454,1553,1605,1631,1388,1345,1535,1790,1860,2065,2213,1968,1729,1690,1535,1797,2464,2381,1988,2236,1938,1676,1831,1567,1582,1686,1908,1757,1494,1565,1802,2006,2647,2930,3187,3552,3424,3421,3304,3204,3939,4232,3881,3485,3186,3029,3190,2957,3298,3886,4000,3683,3396,3735,3601,3030,3234,3664,3587,3497,3784,4384,4860,5008,4831,4175,3745,3718,3549,2851,2842,3229,2832,2363,1672,1749,1918,1907,2061,2710,2367,1909,1654,1451,1710,1848,1548,1816,1658,1678,2244,1906,2158,2091,1542,1656,1811,1794,1886,1848,1546,1738,1866,1782,1794,2072,1782,1762,2322,2735,2352,1915,1629,1550,1512,1576,1689,1599,1673,1794,1766,1519,1776,1687,1478,1762,2267,2469,2465,2026,1559,1666,1670,1525,1450,1424,1484,1526,1830,1926,1479,1346,1811,2290,2619,2302,2077,2110,1978,2036,2094,1925,2041,2105,2403,2526,2102,1854,1873,1847,1664,1675,1896,1755,1982,2125,2150,2338,2518,2600,2542,2553,2623,2042,1910,2707,2843,2326,2223,1970,1853,1634,1929,2250,2363,1847,1570,1781,1991,1743,1829,3021,3659,3604,3341,3396,3122,2167,1836,2030,2009,2040,1773,1514,1948,2058,2030,2091,2069,2136,2207,2310,2351,2609,2918,2492,2864,3532,3144,2268,2236,1780,2376,3139,3344,2966,2377,2234,2242,1685,1775,2661,2528,2327,2376,2242,2107,2549,2801,2564,2711,3110,3645,3630,3283,2809,1932,2363,2419,2392,2719,2160,1709,1736,1823,1760,1756,1769,2342,2239,2322,2495,2317,1780,1933,1985,1500,1236,1328,1650,2132,2118,2160,1941,1642,1518,1854,1850,1533,1628,1904,2238,2578,2342,1950,1835,1556,1775,2004,1930,1842,2301,1908,1370,1580,1770,1746,1720,1975,2088,2139,2089,1631,1500,1890,1958,1698,1616,1832,1885,1903,2025,2220,2816,2884,3172,2555,2480,3184,3162,3042,3348,3486,3197,2894,2883,3045,2787,2636,2522,2140,1778,1566,1740,1764,1930,2798,3210,2446,1622,1468,1635,1731,1886,1710,1627,1716,1908,2331,2649,2653,1934,1479,1453,1550,1499,1552,1427,1511,1446,1328,1302,1362,1319,1318,1385,1493,1640,1626,1504,1597,1694,1590,1554,1341,1477,1701,1595,1576,1589,1494,1485,1467,1445,1437,1672,1466,1442,1499,1673,1580,1501,1590,1869,1942,1942,2009,1759,1970,1720,1878,2115,2236,1931,2097,2120,1905,1483,1378,1671,1851,2126,2596,3154,2944,3100,2420,2105,2067,1903,1777,2026,2806,3163,2998,2720,1946,2404,2084,1731,1809,1550,1293,1163,1330,1753,2468,2380,1914,1749,2268,3072,2821,2600,2322,2532,2710,2271,1794,1537,1409,1597,1632,1716,1825,1817,2068,2056,1765,2127,2100,2240,2266,2026,1729,1454,1812,2906,3333,3296,2750,1825,1547,1625,1800,2210,1926,1810,1675,1870,1812,1648,2027,1905,1850,1870,1410,1233,1522,1486,1874,2229,2112,1764,1838,2162,2589,2460,2460,2331,2214,2170,2076,2088,2780,2908,3298,4208,3740,2740,2778,2680,2864,3013,3054,3020,2648,2296,1822,1730,1658,1568,1614,1729,1560,1441,1456,2215,2980,2931,2890,2542,2843,3113,3024,3571,3558,2898,2190,1952,2009,2786,3663,3927,2979,2688,2732,2933,3043,3115,2632,2282,2552,2635,2038,1778,2311,1869,2485,3649,4021,3944,3915,4062,3982,3714,3436,3320,3736,3676,3310,2555,2842,3849,3783,2915,2374,2287,2470,2021,1717,2048,2160,1984,2242,2143,2127,1804,1512,1422,1398,1108,853,885,845,795,1378,2446,2315,2147,1942,2174,2143,2083,2254,2376,2136,1656,2596,3076,2691,2557,2680,3110,3193,3353,3522,2908,1957,1936,2367,2072,1809,1994,2778,2820,2418,2959,3360,3332,2938,3054,3535,3526,3334,3122,2988,3010,3072,2942,2141,2447,3161,3206,3020,3243,3333,3153,2690,2422,2636,2760,3005,2481,2393,2404,2027,1317,1774,1905,2029,2458,2600,2706,2490,1871,2156,2171,3028,3415,3385,3505,3407,3178,2854,2750,2944,2809,3043,3045,2502,1987,2035,2368,3110,3547,3140,3241,3436,3592,3414,2354,2020,1961,2108,3245,3360,2664,2678,2431,2258,2523,2784,2975,2636,2278,2061,2104,2503,2583,3629,3668,3594,3381,3094,3212,2976,2601,2260,2551,3205,2495,2005,2042,2706,2836,2311,2265,1962,1735,3132,4336,4592,4716,4389,3383,3068,3335,2540,2683,3676,3834,3726,3371,2922,2973,3320,3216,2620,2203,1962,2229,2829,3119,3318,3466,2894,2873,3150,3510,3504,2852,2702,3010,3332,3683,3716,2962,2908,2784,2394,1786,2646,2887,2676,2808,2940,2778,2498,2424,2376,2732,3063,3474,3044,2723,3166,3187,3150,3270,3087,2741,2344,2202,2403,2478,3104,3094,3106,2759,2474,2265,2002,2068,2460,2662,2708,2668,2778,2784,2667,2878,2655,2701,2559,2207,2566,3406,3428,3097,2879,2540,2391,2707,2850,2844,2880,1792,1748,1920,1913,2111,2358,2285,2340,2156,1793],[2731,2920,3120,2773,2764,3275,2817,1972,1982,2251,1997,2326,1984,2106,1918,2324,2603,2240,2264,2345,2174,1904,1725,1685,1853,2463,2820,3200,3207,2819,2541,2531,2566,2633,2580,2565,2801,2289,2100,2831,3186,3043,3218,3519,3494,3428,3686,3576,2954,2802,3140,3122,3211,3516,3542,3109,2888,2934,2524,1901,2313,3104,3227,3097,3271,3308,2835,2514,1763,2518,2403,2542,3226,3585,3269,3285,3542,3589,3040,2655,2476,2451,2794,2845,2670,2285,2207,1985,1797,1920,2093,2025,2242,2775,3510,3484,3210,3517,3768,3742,3520,3285,3431,3590,3374,3033,2922,3220,3054,2972,3133,2706,2634,2272,2178,2611,3029,2920,3105,2642,2007,2115,1838,1745,1468,1539,1468,2553,2601,2430,2587,2031,1600,1775,2186,2204,2002,2206,2247,2046,2314,1863,1994,2446,2342,2090,1938,2587,3020,2478,1865,1873,2087,1992,1730,1989,2056,2050,2186,2302,2497,2507,2543,2632,2665,2835,3495,3422,3153,3049,3196,3417,3382,3194,3574,3161,2697,2905,2818,3008,3165,2713,2309,2297,2618,2688,2496,2724,2696,2744,2900,2959,2901,2968,2944,2688,2865,2865,2533,2474,2120,2163,2171,2451,2465,2511,2345,2077,2237,2243,1948,2253,2217,2080,1875,2104,2316,2304,1982,1763,2169,2476,2024,1942,1770,1553,2216,2104,1751,1674,1692,1570,1490,1566,1694,1516,1313,1622,2281,2067,1984,2115,2167,2385,2201,2045,1914,1791,2077,1985,2033,2308,2973,2675,2008,1760,1685,1835,2410,3094,3448,3127,3213,3187,2175,2286,2952,3490,3282,3347,4074,3904,3745,3995,3907,3226,3112,3482,3930,4208,4068,3336,3510,3543,3342,2851,2854,3138,3129,2544,2145,2156,2210,2250,2823,3152,2374,1693,1449,1751,2601,2972,3138,3649,3286,2501,1785,1922,2139,1846,1992,1638,1520,1557,1700,1781,1670,1482,1638,1846,1740,1575,1412,1375,1624,1742,1921,2203,2039,1765,1816,1607,1903,2517,2446,1952,2251,2946,2448,1949,1902,1897,1983,1796,1992,2354,2093,2132,2423,2189,2276,2470,2104,1629,1325,1729,1934,1796,1649,1696,1704,1588,1691,1564,1458,1718,1858,1505,1531,1619,1593,1649,1831,1711,1534,1401,1263,1213,1404,1340,1562,1503,2117,3045,3416,2987,2020,1462,1467,1610,1628,1521,1519,1416,1297,1473,1394,1515,1592,1571,2242,2587,1717,1236,1530,1504,1709,1658,1393,1125,1074,1162,1068,1219,1367,1290,1281,1305,1156,1181,1263,1360,1419,1962,2602,2355,2049,2298,2453,2253,2666,3422,3250,2488,2267,1977,1869,2082,2264,2164,1820,1543,1711,1754,1787,2362,2365,1719,1492,1491,1532,1506,1332,1216,1247,1592,1670,1757,2299,2159,1987,1983,1937,1864,1680,1721,1789,1696,2040,2327,2508,2431,2184,1709,1582,1664,1694,2027,2331,2075,2017,2773,2556,2318,2421,2021,1592,1707,1875,1885,1988,2221,2768,3053,3070,1976,1532,1837,2099,1789,1489,1699,2197,2265,1903,1386,1578,1534,1571,1721,1965,2056,1743,1499,2381,2793,2414,2599,2269,1615,1525,1550,1621,1752,2102,1979,2112,2212,1918,1819,2130,2200,1953,1746,1486,1901,2365,2824,2180,1603,1723,2077,2264,2174,2107,2692,3583,4197,4373,4400,4203,4080,3082,3212,3912,4160,3803,3530,3629,3628,3366,3328,3349,3572,3408,2888,3130,3609,3636,3266,2690,2633,2389,2213,2464,2575,2396,2514,2374,2721,2790,2181,2089,2558,2991,2889,2162,2322,2625,2288,1809,1710,1931,2163,2604,3289,2734,2053,1903,1845,1928,2287,2291,2097,2319,2008,1598,1950,2383,1800,1657,1828,2307,2512,2603,2609,2600,2687,2367,2034,1925,1936,2027,1830,1656,1775,1919,1743,1671,1903,1825,1817,1936,1493,1458,1540,1582,1689,1458,1338,1453,1522,1433,1572,1980,1925,1731,2044,2280,2696,2677,2645,2554,2467,2282,2123,2398,2955,2835,2624,2230,1664,1937,1845,1888,1997,2355,2278,1887,1788,1770,1647,2007,2315,1993,2093,1866,1644,1691,1737,1754,1767,1643,1802,2082,2187,2351,2320,1651,2181,2560,1946,2355,3023,3075,3089,2872,2459,2345,1914,2096,2564,1737,1579,1930,1726,1698,1673,2579,2403,2588,2639,2375,2491,2875,2740,2374,1671,1424,1774,1540,1533,2002,2093,1844,2049,2219,2192,2048,1828,1805,1569,1911,2101,1634,1709,1858,1832,1880,2269,2930,2869,2798,3043,2731,2160,1883,1713,1816,1894,2144,2096,1981,2120,2201,2078,2287,2424,2142,2611,3054,3211,3109,3310,3598,3629,4025,3879,3792,3552,3629,3742,3142,3056,3262,3353,3507,3606,3641,3607,3523,3417,3592,3723,3945,4272,4073,4074,4195,3714,3326,3499,3320,3195,3421,3628,3960,4137,4104,4188,4229,4284,4272,3988,3979,3717,3796,3745,4329,4537,4357,4296,4229,3937,3669,3624,3514,3870,3716,2724,1144,1655,3067,2953,2260,2058,2098,2065,2088,2322,3206,3623,3823,4139,3558,3829,3364,2523,2173,1859,1576,1506,1615,1905,2106,2012,1888,1832,1856,2070,2068,2091,2067,1887,1586,1430,1557,1707,1642,1564,1528,1558,1729,1694,1497,1450,1520,1421,1466,1576,1522,1491,1579,1511,1434,1594,1613,1624,1686,1581,1711,1816,1937,1948,1829,1652,1859,2542,2273,2486,2337,2267,1969,2077,1929,1717,1511,1545,1735,1989,2046,1831,1714,1993,2624,3023,3096,2980,3125,3122,3337,3525,3564,3561,3624,4176,3979,3143,3038,3046,3117,2833,3285,3923,3453,2830,2885,2949,2957,2936,2878,3161,3692,3919,4166,4550,4631,4851,4787,3926,4055,4196,3193,2531,3248,3165,2018,1552,1438,1677,1829,1734,1773,2415,2233,1692,1578,1467,1843,2310,1959,1920,1537,1248,1511,1562,1591,1443,1461,1473,1616,1954,2250,2071,1923,1716,1528,1540,1638,1686,1624,1866,2218,2127,1858,1548,1676,1874,1621,1515,1461,1581,1677,1664,1801,1649,1803,2016,1822,2010,2075,1984,2382,2072,1613,1741,1634,1477,1454,1497,1537,1543,1700,1785,1804,1933,2204,2702,2963,2472,2217,2031,1870,1929,1867,1944,2169,2077,2249,2468,2047,1671,2148,2020,1704,1792,1812,1762,1810,1746,1962,2384,2478,2635,2645,1967,1852,1581,1682,2553,2476,2729,2311,1800,1845,1931,2031,2295,2354,1903,2274,2601,2785,2503,2374,2776,2957,3160,3327,3485,3239,2277,2189,2353,2006,1917,2032,2463,2484,2289,2245,2189,2238,2200,1808,1672,1698,1859,2103,2463,2984,3296,3182,2665,2331,2298,2536,3143,3162,2416,2457,2598,2676,2142,2677,2741,2064,2054,2364,2130,1942,2504,2510,2364,2492,3017,3480,3288,2576,2514,2126,2426,2182,2204,2342,2110,2011,2030,2212,1987,1982,2084,2721,2268,2128,2023,1763,1637,1911,1983,1476,1396,1432,1520,1904,2293,2156,1844,1888,1706,1670,1741,1599,1699,1930,2161,2703,2689,1913,1759,1305,1212,1512,1507,1800,2451,2226,1561,1818,2158,2284,2219,2390,2261,1939,1905,2066,2208,2444,2342,1975,1838,1895,1928,1949,1867,2063,2678,2906,3174,2664,2318,3124,3474,3084,2907,2750,2609,2879,3210,3145,3054,2836,2515,2010,1627,1406,1569,1742,1640,1869,2579,2415,1614,1738,1562,1727,1958,1812,1543,1411,1638,2097,2731,2654,1563,1422,1494,1598,1577,1541,1383,1626,1627,1423,1329,1307,1242,1199,1321,1413,1505,1631,1609,1860,2268,2021,1611,1506,1510,1520,1488,1491,1507,1471,1472,1511,1409,1335,2108,2029,1642,1608,1560,1828,1905,1740,1902,1924,1945,1914,2033,2045,1716,2383,2096,1831,1818,1972,2155,1841,1374,1532,1732,1666,1877,2378,2424,2139,2156,1901,1596,1708,1829,1678,1749,2475,2733,2380,2277,1695,1779,1952,1970,1701,1444,1284,1168,1409,2320,2742,2685,2167,2040,3051,3182,2758,2542,2663,3078,3150,2562,2201,1954,1548,1552,1797,2111,1780,1790,2485,1885,1489,1826,1868,2034,2119,1815,1627,1824,2082,3144,3178,3242,2758,2000,2697,2668,1829,1613,1891,2013,1674,1575,1517,1886,2020,2508,2231,2193,1913,1747,1557,1466,1772,1938,1897,1856,1803,2284,2555,2507,2997,2972,2653,2377,2149,2042,2015,1864,2505,3995,3666,2822,2794,2543,2426,2632,2721,2884,2690,1995,1470,1510,1502,1687,1701,1643,1553,1568,1704,2611,3105,2907,2243,2030,2798,2690,2034,2306,2307,2463,2142,2108,2563,3141,3592,3660,3549,2986,2464,3005,3591,3342,2374,1820,1994,2294,2004,1902,1694,1764,2872,3663,3858,3522,3249,3538,3833,3909,3229,3105,4297,3843,2921,2487,2979,3458,3336,3103,2109,1708,1601,1676,1883,2351,2806,2671,1998,1577,1913,2157,1815,1413,1517,1263,702,728,694,475,1037,2000,2238,2386,2252,2159,1956,2249,2727,2422,2258,2195,2426,2532,2732,3210,3330,3490,3000,2388,2688,2540,2187,2817,3196,2370,1967,2372,2057,1959,2269,3008,3155,3225,3137,2914,3054,2864,2922,3117,3256,3173,2964,3083,2509,2351,2879,2811,2811,2945,2944,3159,2820,2189,1886,2176,2901,2829,2640,2777,2374,1614,1706,2103,1797,1828,2295,2989,3463,2758,2308,1932,2396,2920,3146,3652,3820,3529,3322,3022,2967,3006,3076,3044,2458,2259,2530,2435,3033,3526,3287,3472,3584,3644,3661,2646,2563,2348,2802,3594,3638,3075,3322,2884,2436,2927,3408,2710,2160,2065,1791,1973,2556,2473,3674,4018,3764,3403,3154,3085,2976,2700,2224,2511,2789,2366,2263,2415,2644,3292,2744,2279,2068,2030,3182,4168,4516,4532,4172,3791,3586,3038,2912,3224,3927,3880,3427,2725,2520,2930,3285,3294,2680,2192,1974,2046,2194,2251,2974,3364,2931,2930,3122,3203,3295,2990,3060,3369,3262,3825,3809,2674,2569,2727,3082,2361,2266,2869,2855,3121,2959,2387,2297,2717,2480,3020,2745,3151,3216,3432,3326,3134,3671,3320,2717,2529,2450,2608,2372,2531,2645,2598,2854,3055,3216,2922,2204,2454,2532,2364,2886,2501,2448,2692,2988,2732,2368,2360,2186,2092,2878,3496,3565,3060,2439,2341,2373,2629,3184,3472,3096,2415,2025,2002,1953,2193,2464,2297,2211,1982,1775],[2931,3067,3129,2676,2291,3073,2925,1736,1389,1960,2368,2510,2462,2524,2736,3473,2907,1944,1933,2143,2296,1861,1798,1900,2379,2513,2716,2998,2912,2706,2872,2973,2520,2219,2471,2470,2323,2126,2166,2712,2755,2625,2524,2822,3298,3564,3741,3615,3108,2972,3200,3250,3186,3383,3039,2730,2700,2847,2596,2575,3201,3161,3119,3071,3244,3172,2839,2662,2413,2414,2458,2275,2416,2864,3220,3270,3140,3620,3471,3037,2606,2365,2450,2496,2490,2596,2402,2091,1970,2012,2116,2398,3074,3319,3797,3875,3663,3770,3836,3841,3731,3462,3605,3784,3287,2809,2910,3037,2634,2912,3074,2413,2419,2468,2164,2189,2490,2640,2587,2039,2174,2255,1764,1656,1697,1808,2037,2044,1936,2328,2469,2089,1928,2341,2250,2150,1708,1826,1863,1688,2326,2387,2487,2345,2292,2743,2858,2575,2585,2081,2077,2127,2233,2095,1739,1700,1837,1834,1662,1968,2349,2670,2863,3034,2856,2853,3188,2688,2805,3015,2990,3123,3384,3651,3458,2798,2642,2708,2797,3018,3010,2574,2743,2453,2803,2751,2843,3096,2751,2575,2781,2798,2640,2732,3389,3554,3068,2789,2596,2526,2174,2330,2100,1697,2012,2434,2366,2084,1804,1665,1620,2562,2172,1958,2504,2897,2652,1990,1477,1818,2625,2631,1826,1647,1791,1649,2097,2150,1825,1735,1760,1655,1707,1952,2125,1708,1425,1432,1809,1573,1860,2094,2017,2082,1886,2076,2349,2736,3322,2845,1992,1546,2306,2159,1885,1746,1585,1686,2069,2524,2705,2857,3248,2867,1979,2508,3289,3127,3160,3875,3892,3650,3651,3881,3758,3374,3210,3405,3798,3650,3198,2679,2668,3118,3300,2855,2416,2576,2768,2589,2556,2529,2836,2702,2698,2363,1866,1648,1424,1495,1981,2022,2323,2336,1670,1670,1731,1974,1634,1643,1483,1301,1426,1711,1962,2456,2280,1702,1582,1740,1801,1487,1578,1636,1762,1711,1644,1526,1668,1823,1610,1657,2072,2878,2493,2321,2806,3384,3089,2164,1616,1637,1638,1539,1749,2360,2316,2062,1857,1770,1815,2224,1949,1506,1454,1478,1665,1732,1582,1611,1698,1737,2085,2081,1801,2115,1795,1642,1647,1568,1537,1661,1646,1506,1302,1269,1272,1157,1160,1104,1555,1978,2874,2886,3107,3083,2143,1295,1369,1471,1506,1544,1513,1359,1114,1355,1583,1744,1626,1428,2054,2477,1835,1812,2281,1666,1652,1532,1384,1237,1205,1147,1246,1423,1399,1260,1350,1514,1188,1288,1369,1320,1326,1681,2273,1900,1592,2194,2922,2713,2500,2760,2683,2563,2620,2496,1853,2291,2338,2075,1968,1534,1662,2024,1953,1978,1833,1918,1779,1650,1473,1504,1483,1548,1534,1682,1572,1766,2066,1790,1918,1959,2094,2000,1598,1564,1692,1675,2391,2234,1934,2093,1880,1738,1719,1616,1583,1841,2067,1937,1912,2241,2941,2551,1827,1877,1977,1823,1810,1788,1672,2185,2851,2476,2398,1865,1538,1521,1578,1743,1682,1823,2244,1902,1621,1230,1460,1858,1796,1902,2123,2148,2076,1975,1992,2091,1903,1595,1534,1505,1522,1456,1350,1553,1780,1528,1649,1836,1903,2576,2847,2398,2381,2245,1558,1624,2002,2432,1730,1487,1713,2101,2798,3260,2894,2788,3480,4078,4220,4131,3898,3355,2873,3328,3905,3891,3405,3052,3065,3083,3227,3070,3156,3278,2448,2348,2985,3828,4264,3750,3003,2745,2455,2394,2969,2747,2087,2187,2102,3041,3120,2289,2490,2670,2685,3154,3068,2619,2751,3060,2612,2127,1825,2466,3252,3078,2586,2374,2071,2063,1986,1864,2182,2371,2330,2005,1742,1738,2171,1879,1608,1799,2095,2393,2770,2750,2504,2514,2144,1950,1582,1937,1890,1798,1781,1764,1938,1968,1764,1762,1569,1577,1562,1442,1994,2252,1806,1844,1722,1428,1403,1485,1879,2512,2659,2327,2540,2534,2485,2723,2597,3104,3773,3330,3141,3172,3132,3409,3112,2989,2345,1725,1854,1699,1880,2104,1912,1802,1560,1463,1553,1675,1738,1824,1721,1947,1552,1429,1772,1705,1559,1773,1876,1912,2255,2333,2513,2329,1765,2420,2482,2648,2940,3278,3254,3089,2776,2728,2630,2191,2602,2931,1796,1690,2235,1640,1111,1453,2433,2585,2889,3027,2569,2483,2669,2459,2505,2585,2078,2157,1779,1622,2034,2015,1606,1922,2133,2316,2248,2034,2000,1465,1550,1521,1722,1641,1533,1659,1892,2610,3152,2812,2662,3160,2738,1819,1888,1820,1939,2014,2207,1844,1828,2019,2345,2677,2330,2404,2964,3392,3414,3050,3105,3551,3906,4019,3985,3815,3530,3286,3499,3595,3208,3036,3290,3210,3366,3571,3383,3329,3595,3685,3594,3663,3597,4016,3983,4197,4152,3884,3427,3371,3414,3548,3746,3807,3990,4119,4215,4272,4345,4508,4392,4380,4017,3979,4072,4100,4453,4628,4309,3870,3904,3874,3697,3767,3422,3188,2272,1422,1318,2053,2905,2872,2315,2200,2224,2157,2008,2010,2556,3006,3230,3487,3295,3105,2471,2003,1684,1499,1502,1627,1718,1853,1883,1824,1804,1897,2088,2214,1918,1659,1610,1546,1683,1644,1556,1649,1715,1611,1918,1875,1650,1607,1654,1817,1756,1597,1485,1596,1595,1497,1570,1597,1545,1632,1711,1694,1753,1622,1715,2034,2117,1782,1840,1561,1625,2384,2918,2689,2249,2126,2125,2100,1992,2007,2036,2190,2294,2357,2341,2220,1987,2209,2885,2893,2576,2822,3025,3254,3527,3558,3664,3211,2508,2736,2646,2732,3024,2923,3112,3112,3574,4373,4400,3928,3107,2435,2455,2651,2752,2830,4116,4580,4896,4875,4647,4891,5081,4851,4452,3996,2590,2131,3166,2900,1903,1505,1531,2030,1999,1673,1727,1883,1684,1611,1622,1638,1791,2247,1909,1567,1463,1443,1520,1563,1391,1616,1796,1389,1374,1678,2026,1982,2235,1832,1527,1477,1491,1600,1636,2162,2460,1961,1539,1478,1996,1856,1542,1403,1388,1465,1581,1706,1853,1808,2251,2698,2213,2094,1879,1799,1602,1632,1691,1591,1542,1569,1637,1721,1710,1698,1808,1825,2064,2055,1983,2160,2078,1857,1676,1492,1636,1927,1738,1978,2304,2246,2206,2316,1905,1567,2278,2304,1900,1889,2119,1997,1729,1651,1837,2273,2386,2435,2658,2072,1997,1752,1605,2087,2282,2370,2174,1848,1876,2113,2034,2557,2609,1925,1969,2549,2358,1882,2316,2710,2448,2924,3588,3529,3132,2448,2084,2088,1921,1900,2060,2404,2478,2612,2645,2316,2019,2138,1724,1593,1700,1942,2359,2690,2642,2137,2734,2856,2231,1991,2026,2944,3287,2599,2828,2886,2636,2225,2685,2346,2138,2467,2975,3089,2557,2181,2374,2375,2464,2962,2787,2409,2127,2003,1977,2060,1876,1833,1856,1993,2160,2578,2984,2666,2156,1933,1972,1975,2101,1955,1819,1560,1654,1721,1483,1695,1500,1820,1750,2183,2063,2003,1972,1514,1469,1642,1665,1726,1621,1881,1974,1973,1769,1778,1516,1404,1351,1389,1543,1905,2114,1922,2055,2275,2436,2404,2440,2199,1957,2165,2494,2604,2347,1960,1828,1615,1662,1751,2182,1886,1757,2238,2123,2668,2711,2235,2722,3460,3300,3311,3132,2806,3007,2791,2343,2266,2112,1781,1465,1358,1366,1455,1527,1519,1680,1947,1948,1458,1749,1743,1820,1978,1890,1629,1368,1320,1477,1871,1856,1393,1416,1506,1637,1452,1366,1420,1550,1476,1320,1378,1409,1294,1295,1618,1518,1688,1747,1755,2056,2094,1728,1670,1739,1451,1404,1560,1748,1498,1550,1677,1623,1447,1726,2342,1885,1615,1603,1482,1703,1738,1652,1663,1930,2482,2293,2419,1952,1922,2200,1924,1786,1780,1862,2008,1833,1536,1648,1968,2090,1978,2142,2130,1888,1703,1759,2039,2688,2908,2492,2029,2197,2533,2243,2403,2007,1872,2014,2009,1872,1559,1278,1142,1360,2146,2272,2088,1625,2239,3208,3142,2624,2407,2780,3398,3387,2779,2210,1830,1607,1511,2101,2370,1744,2062,2271,1795,1554,1544,1670,2083,2464,2836,2470,2261,2230,2862,2924,3168,2564,1850,2043,1659,1332,1489,1893,2032,1888,1616,1601,1820,2509,3010,2395,1902,2087,2570,2415,2219,1938,1820,1858,2203,1778,2501,2664,2499,3094,2710,2177,2460,2261,1916,2256,2221,2241,2900,2740,2099,2351,2040,1824,2086,2697,2721,2610,2454,1834,1644,1636,1843,2062,1794,1660,1693,1917,2113,2685,2655,2114,2529,2932,2321,1952,1959,2008,2100,2285,2372,2939,3637,3570,3306,3741,3431,2853,3146,3481,3437,2507,1677,1627,1731,1901,2076,2005,2207,2651,3241,3616,2814,2558,2940,3472,3978,3692,3609,3984,3426,2918,2661,2535,2409,3055,3359,2236,2584,2491,2455,2434,2455,2514,2602,1747,1399,1641,1418,1410,1535,1749,1772,1167,1234,1117,973,1478,2082,2520,2610,2199,2221,2343,2629,2373,2258,2618,2963,2546,2473,2454,2740,2844,3021,2428,1835,2298,2545,3012,3906,3725,2918,2833,3292,2554,2170,2590,2800,2996,3356,3406,2979,2681,2395,2461,2798,3114,2823,2583,3029,2734,2285,2457,2678,3083,3273,3326,3587,2934,2154,1715,1955,2584,2646,2685,2977,2856,2212,2419,3046,2552,2221,2930,3436,3543,3088,2072,2052,2602,2767,2868,3141,3216,3208,3146,3123,2916,3141,3300,3157,2518,2289,2665,2734,2822,3198,3375,3405,3238,3163,3097,2454,2602,2553,2918,3365,3350,3099,3328,3182,2896,2734,2431,2246,2308,2178,1918,2264,2699,2813,3629,4264,4149,3931,3422,2956,2896,3097,2740,2467,2433,2586,2579,2503,2709,3430,2985,2343,2231,2604,3050,3714,4444,4192,3739,3831,3174,3352,3807,3562,3529,3705,3538,2704,2495,3083,3395,3439,2980,2498,2366,2139,2273,2669,3085,3332,3134,3017,3141,3063,3198,2790,3198,3530,2820,2665,2416,2564,2939,2947,2911,2625,2494,2754,3051,3333,3329,3162,2938,2872,2548,2684,2800,3317,3764,3580,3063,3716,4062,3270,3248,2992,2442,2215,2470,2735,2402,2677,3195,3009,3116,2921,2014,2347,2791,2364,2987,2665,2654,2934,2503,2130,2121,1991,1778,1811,3169,3737,3619,3178,2470,2311,2338,2822,3632,3704,3704,3540,2708,2166,2373,2911,2311,2298,2178,2093,2484],[2832,2520,2519,2969,2617,2554,2887,2669,1812,2273,3041,2597,2408,2778,3375,3506,2511,1995,1991,2085,2107,1939,1749,1860,2546,2943,3072,2940,2881,2755,2744,2890,2701,2481,2635,2869,2363,2000,1880,1933,2242,2508,2611,2690,2943,3160,3098,3075,2887,2812,2934,2941,2778,2836,2714,2342,2195,2197,2262,2752,3110,3030,3193,3475,3149,2919,2764,2276,2144,2126,1863,1606,1759,2104,2642,2941,3161,3207,3680,3450,3026,2203,2050,1869,1743,2574,2453,2078,1930,2087,2461,2733,3392,3393,3055,3148,3450,3613,3732,3874,3815,3628,3216,3073,3250,3251,2622,2345,2053,2783,2862,2431,2665,2667,2160,1965,2184,2337,2387,1825,2126,2393,2392,2195,2578,2686,2417,2477,2387,2309,2724,3042,2890,3055,2234,2023,1843,1847,2189,2033,1715,2007,2331,2072,1836,2027,2256,2105,2437,1985,1904,1885,1994,2091,1930,1793,1821,1825,1836,1993,2073,2205,2429,2799,3157,3174,2905,2717,2728,2722,2950,3063,3297,3239,2971,3067,3313,3169,2732,2499,2627,2587,2859,2840,2792,2694,2923,3185,3222,3154,2879,2833,2381,2413,2920,3066,2651,2602,2553,2019,1642,1808,1575,1643,2144,3009,3050,2446,1794,1568,1573,2141,2377,2453,2575,2366,2009,1813,2137,2546,2513,1945,1466,1505,1645,1548,1688,2025,2363,2505,2093,1600,1796,2002,1745,1615,1425,1411,1439,1571,2100,2636,2392,1761,1627,1865,1960,2858,3466,3134,2166,1888,2172,1982,1992,1807,1529,1653,2298,2372,2344,2250,2821,3137,2924,3020,2655,2770,3595,3752,3805,3828,3821,3832,3740,3685,3470,3651,4132,3789,3572,2993,2419,2590,2833,2585,2266,2287,2297,2178,2131,2106,2587,2273,2043,1818,1851,2072,1682,1384,1496,1582,1543,1394,1384,1523,1771,1918,1719,1429,1280,1460,1639,1416,1864,2799,2541,1910,1764,2242,2084,1715,1951,1858,1716,1725,1595,1426,1485,1670,1922,2190,1750,2197,1970,1858,2434,2620,2564,2155,1631,1554,1957,2110,2004,2032,2174,1919,1892,1702,1734,1983,1971,2116,1985,1493,1457,1608,1677,1513,1426,1738,1891,1924,2520,2576,1836,1468,1555,1498,1637,1721,1539,1453,1238,1262,1202,1179,1197,1255,1469,2136,3243,3685,3451,3136,1953,1139,1344,1267,1285,1556,1724,1409,1308,1560,1651,1712,1511,1319,1584,1957,1664,1970,2237,1405,1090,1260,1485,1463,1283,1362,1456,1230,1509,1758,1781,1950,1432,1255,1266,1261,1449,1566,1566,1846,1931,2100,2613,2461,2297,2596,2359,2529,2735,2676,2547,2867,2637,2152,1642,1445,1733,2219,2114,1897,2207,2018,1703,1505,1538,1644,1685,1743,1637,1625,1642,1655,1588,1632,2027,1857,1966,2087,1853,1540,1522,1722,2030,1926,1690,1625,1603,1692,1644,1509,1627,1737,1810,1982,2205,2378,2777,2566,1983,2443,2784,2410,2105,2239,1764,1784,2805,2968,2578,2237,1608,1350,1523,1690,1257,1443,1956,1505,1477,1671,1814,2138,2070,1883,1848,1816,2067,2248,2018,2361,2192,1678,1462,1670,1749,1499,1544,1643,1626,1578,1632,1665,2084,2662,2579,1867,1710,1636,1525,1633,1886,1699,1408,1481,1576,1803,2351,2930,2593,1904,2363,3293,3899,3993,3370,2562,2625,3159,3394,3376,3129,3118,3341,2886,2770,3095,3121,2408,1560,1444,1931,2929,3978,3979,2831,2249,2391,2674,2713,2688,2199,2212,2492,3350,3408,2791,3122,3173,3028,2990,2453,2074,2463,3056,3334,2792,2024,2741,3495,3094,2644,2363,1831,1853,1801,1721,2008,2208,2032,2105,1853,1609,1824,1901,1921,2068,2116,2620,2754,2482,2126,2083,1967,1958,1932,2014,1996,2034,1825,1785,2063,2103,1841,1859,1715,1645,1553,1490,1869,2154,1802,1811,1822,1513,1667,1748,1776,2156,1842,1954,2836,2909,2630,2396,2150,2845,3752,3820,3626,3606,3375,2783,3298,3140,2348,2443,2324,2194,2116,1818,1640,1641,1551,1620,1685,1873,2057,2185,2100,1861,1328,1392,1941,1980,1785,2004,2466,2591,2746,2595,2735,2436,2024,1953,2133,2786,3174,3186,3021,2798,2502,2843,2380,2430,2963,2636,1938,1977,2378,1888,1256,1641,2113,2210,2944,2944,2425,2344,2185,2210,2485,2468,1929,2279,2027,1612,2310,2765,2004,2165,1652,1786,1728,1908,1959,1529,1449,1619,1921,1998,1987,2070,2132,2481,2581,2423,2060,2153,1855,1786,1965,2126,1985,2299,2600,2095,2215,2160,2386,2596,2353,2614,2934,3010,3094,3085,3429,3805,4013,3869,3659,3814,4062,3722,3527,3663,3507,3085,3306,3254,3317,3551,3343,3260,3635,3798,3937,3804,3619,3908,3836,4025,4177,3883,3505,3736,4043,4137,4133,3939,3951,4169,4212,4311,4629,4689,4509,4508,4414,4387,4227,4351,4508,4428,4245,3763,3621,3996,3874,3510,2565,1604,1366,2016,2806,3182,3010,2636,2106,2219,2163,1989,1805,2007,2193,2269,2526,2609,2398,1957,1661,1482,1467,1656,1810,1788,1773,1781,1766,1813,1878,2072,2295,2487,2226,1676,1645,1569,1739,1603,1735,1610,1592,2010,2586,1722,1282,1613,1605,1622,1683,1696,1557,1698,1565,1756,1888,1775,1626,1779,1606,1782,2266,2120,2147,2511,2028,1471,1710,1525,1505,1712,1869,2147,2246,2199,2540,2291,1945,2194,2473,2146,2103,2099,2430,2533,2332,2369,2922,3031,3052,3002,2954,3624,3746,3701,3689,2855,2009,2374,2188,2492,2938,3241,3585,3690,4061,4694,4917,4753,4078,3037,2574,2724,2374,2595,4135,4772,4775,4967,4977,4632,5021,4939,4728,4397,2652,2061,2836,2577,2194,1891,1804,2270,2140,1694,1554,1698,2030,1883,1708,1611,2021,1787,1490,1404,1551,1549,1535,1532,1365,1593,1757,1631,1600,2084,2205,2102,2023,2299,2049,1420,1635,2267,1903,2084,2093,2016,1800,1619,1612,1698,1871,1662,1536,1645,1775,1576,1746,1991,2331,2275,2114,1641,1622,1723,1714,2173,2014,1632,1601,1734,1909,1839,1674,1603,1804,1937,1790,1616,1600,1614,1577,1772,1858,1711,2236,2497,1699,1839,2046,2068,2546,2503,2138,2281,2692,2586,2204,2087,2315,1964,1684,1507,1739,2622,2497,2358,2939,2502,1863,1804,1859,1924,2206,1823,1894,2053,2126,2534,2163,2727,2958,2383,2226,2232,1976,1778,2099,2499,2264,2483,2819,2785,2436,2129,2118,2234,2138,1931,1990,2162,2271,2596,2426,1505,1340,1965,2165,1801,1653,1781,1918,2055,2009,1979,2305,2525,2149,2108,2297,3391,3804,3351,3174,2709,2314,2554,2855,2522,2559,2768,3106,3024,2534,2203,2388,2242,2220,2254,1979,1985,2310,2023,1799,1910,2047,1772,1649,1664,1892,1886,2444,2691,2090,1614,1599,1769,1938,1791,1946,1700,1531,1441,1344,1515,1406,1812,1732,1736,1709,1910,2009,1517,1507,1729,1736,1922,1893,2013,1792,1997,2041,1815,1876,1570,1236,1456,1808,2074,1822,2102,2454,2732,2774,2675,2610,2165,1675,1721,2073,2673,2304,1776,1707,1426,1521,1697,2229,2148,1941,2013,1994,2219,2490,2216,2375,3442,3365,3145,3055,2799,2566,2493,2169,1731,1650,1514,1332,1374,1567,1475,1431,1503,2088,2287,1825,1466,1742,1834,1759,1744,1671,1464,1189,1377,1404,1627,1603,1441,1485,1492,1510,1400,1482,1499,1454,1531,1397,1405,1479,1362,1782,1929,1927,2021,1769,1875,2127,1967,1689,1927,1993,1659,1711,2192,2514,1898,1806,1599,1676,1599,1964,2157,1701,1682,1515,1559,1994,1852,1776,1824,2265,2929,2482,1941,1721,1958,2284,2299,2040,1834,1786,1870,1780,1685,1871,2238,2127,1952,1750,1525,1761,2389,2718,2824,2958,2530,2142,2130,2087,2658,2294,1965,2164,2348,2254,2358,2299,1597,1055,1062,1289,1422,1442,1815,1714,2600,3593,3372,2547,2195,2641,3030,2858,2335,1969,1704,1550,1596,1887,1795,1864,1781,1497,1727,2092,1919,1996,2367,2724,2791,2600,2521,2401,2535,2565,2591,2114,1875,2144,1871,1494,1532,1844,2012,1921,1730,1580,1742,2956,3328,2337,1678,1808,2172,2434,2483,1828,1544,1912,2179,1904,2681,2862,2442,2520,2024,1862,2047,2068,1794,2637,3077,2670,2351,2082,2610,2559,2087,1884,2151,2754,2508,2668,2471,1888,1545,1698,1893,1729,1882,2188,2113,2011,2147,2279,2063,2076,2598,2953,1997,1678,1780,1613,1908,2339,2701,3282,3605,3448,3139,3329,3062,2676,3153,3071,3365,2874,2809,2276,1540,1692,2151,2459,2610,2292,2707,3430,3028,2981,2542,2896,3522,3500,3513,3495,3337,2990,2638,2835,2901,3432,3263,2577,2605,2747,3139,3256,2750,2655,2687,2298,2258,1208,799,1361,1534,1192,1538,1954,1549,1346,1578,1527,1803,2521,2989,2359,2578,3100,2971,2285,2175,2648,2933,2994,3452,3455,2700,2604,2690,2034,1923,2174,2657,2920,3162,2823,2934,3232,3276,3007,2834,2820,3023,3096,3134,3007,2769,2313,2556,2752,2782,3063,2933,2844,3054,3154,3109,3238,3333,3318,3536,3364,3483,3219,2423,1819,2030,2561,3061,3483,3648,3537,2771,2787,3089,2863,2959,3241,3377,3352,2835,2153,2332,2464,2407,2207,2277,2512,2556,2508,3094,3006,3207,3272,2907,2499,2569,2935,2686,2293,2584,3244,3403,2917,2249,2087,2156,2074,1737,1930,3234,3984,3465,3138,2987,2352,1719,1438,1996,2624,2448,2131,2591,2957,2642,2885,3730,3995,3570,2767,2325,2381,3155,3529,2953,2788,2853,2690,2539,2878,3017,3069,3012,3239,3589,3056,3362,4159,4084,3817,3365,3076,4000,4163,3602,3283,3372,3554,2740,2773,3177,3551,3724,3252,2786,2702,2496,2448,2943,3262,3368,3395,3090,3021,3043,3379,3164,3349,3067,2768,2508,2570,2874,2865,2917,2708,2887,3178,3050,3038,2855,3624,3528,3227,3330,3188,2985,3483,3872,3541,3635,3651,4329,4316,3654,3326,3043,2546,2074,2371,2724,2500,2533,2621,2767,2687,2458,1583,2500,3550,2905,3038,3206,3073,2931,2485,2214,2382,2051,1546,1485,3018,3565,3345,2946,2836,2778,2597,2918,3219,3386,4028,3876,2620,2104,2591,2607,2308,2405,1987,2131,2713],[2105,1758,1790,2598,2611,2617,2966,2712,2180,2356,2856,2779,2637,3112,3661,3374,2552,2129,2125,2083,2160,2177,1892,2143,2625,2821,3104,3099,3114,2598,2414,2919,2926,2776,2448,2634,2520,2188,2147,2189,2100,2027,2179,2303,2377,2268,2323,2396,2571,2667,2890,3030,2972,2889,2736,2690,2584,2575,2546,2564,2338,2425,2888,3436,3440,3266,2666,2313,2354,2662,2576,1711,1649,1875,2236,2501,2822,3015,3215,3098,3330,2556,1550,1203,1316,2237,1948,2025,2239,2633,3122,3282,3240,3292,3330,3473,3567,3531,3660,3752,3556,3271,2718,2871,3271,2972,2280,1812,2188,2614,2374,2170,2457,2604,2129,1784,2163,2649,2568,2613,2457,2171,1988,1937,2364,2190,1754,2036,2347,2709,3167,2773,2338,2166,1969,2078,2112,1807,1809,1938,2056,2094,1754,1846,2010,1985,1799,1656,2183,2246,1927,1662,1911,2083,2040,2001,1741,1779,2034,2098,1808,1665,1908,1853,2745,3140,2940,2654,2287,2644,2685,2741,3322,3397,3219,3241,3288,3007,2736,2798,2541,2456,2721,2868,2944,3037,3240,3385,3286,3219,2927,3037,3204,3067,2966,2854,2818,2995,2754,2065,1517,1329,1306,1887,2120,2770,2514,2160,2016,1898,1788,2257,2438,2254,2212,2228,2476,2736,2700,2239,1879,1536,1632,1753,1613,1470,1798,2207,2317,2125,1890,1708,2124,2031,1678,1560,1689,1720,1531,1435,1747,2361,2916,2684,1959,1976,1753,2451,2886,2732,2590,2509,2014,1797,1902,1784,1583,1816,2211,2026,1968,1970,2670,3212,3448,2845,2720,3551,3630,3398,3504,3530,3855,3829,3876,3763,3404,3806,4472,4169,3628,3266,2876,2391,2215,2210,2432,2385,2225,2535,2580,1973,1861,1890,1836,1690,1653,1670,1581,1671,1567,1694,1636,1427,1413,1496,1647,1909,1879,1553,1412,1477,1657,1471,1676,2049,2185,1892,1588,2294,2185,2240,2579,2297,1952,1921,1715,1626,1486,1595,1893,2127,1768,1715,2120,2425,2512,1960,1932,2509,2454,2124,2430,2333,1960,2099,1865,1528,1382,1487,2103,2315,2392,2458,1989,1418,1173,1433,1675,1609,1611,1506,1515,1829,1998,1951,1610,1364,1412,1510,1720,1652,1648,1520,1362,1377,1261,1400,1412,1271,1361,1678,2667,3418,3497,2775,1719,1256,1402,1316,1222,1399,1893,1889,1612,1671,1810,1458,1252,1770,2256,1979,1619,1914,1773,1310,1224,1231,1284,1245,1438,1787,1582,1238,1521,1781,1496,1943,1734,1499,1460,1328,1292,1276,1517,1882,1766,1391,1538,2026,2309,2689,2616,2719,2583,2416,2605,2367,2243,2069,1646,1373,1507,1866,2010,2389,2828,2725,2024,1539,1808,1924,1854,1799,1710,1656,1666,2132,2034,1601,1743,1801,1914,1976,1802,1600,1640,1666,1681,1732,1527,1572,1567,1796,1793,1485,1427,1446,1718,1954,2416,2719,2487,1895,1715,2097,2212,2362,2147,2267,1780,1542,2742,3095,2404,1927,1650,1573,1730,1571,1566,1851,1732,1676,1946,2076,2240,2587,2234,1680,1820,1805,1917,1706,1521,2292,2498,2629,2385,1938,1701,1522,1630,1761,1792,1578,1633,1628,1792,2004,1978,1941,1830,1587,1582,1663,1765,1664,1459,1440,1578,1745,1640,1641,2082,1757,1740,2448,2993,2857,2370,2309,2845,3182,3146,3348,3543,3619,3416,3055,2824,2832,2529,1793,1460,1376,1722,2872,3652,3386,2216,1931,2690,2964,2878,2902,2545,2241,2195,2955,3514,2901,3115,2940,2800,2811,2422,2338,2596,2347,2364,2197,2126,2525,2887,2583,2229,1996,1754,1779,1801,1768,1806,2021,2148,2150,1952,1812,2003,2163,2685,2690,2226,2526,2292,2259,2062,1994,1827,2046,2464,2215,2168,2333,1892,1764,1844,2087,1960,2047,1870,1671,1888,1888,1760,2182,2490,2437,1999,1657,1525,1656,1742,1705,1609,2095,2462,2797,2522,1908,2022,2352,2554,2460,2944,3462,3416,2851,3243,2509,2352,2907,2489,2297,2843,2532,1682,1626,1497,1418,1518,1595,1689,1804,1867,1668,1449,1656,2161,2182,2273,1750,2027,2402,2807,2986,2952,2165,1654,1703,2288,2832,3232,3066,2884,3019,3286,3055,2476,3066,3582,2635,1957,2305,2466,2303,2136,2084,2320,2467,2568,2553,2258,2297,2568,2554,2412,2320,2513,2322,2004,1921,1752,1882,2287,2147,1673,1742,1739,1643,1606,1485,1878,2140,1807,1779,2048,2343,2171,2120,1814,2059,2003,1796,1536,2054,2858,2971,2617,2978,2828,2082,2218,2548,2666,2396,2092,2240,2590,2995,3144,3254,3660,4004,4156,3860,3814,3991,3896,3678,3631,4041,4091,3664,3803,3814,3741,3851,3532,3527,4137,4136,4144,4015,3834,3818,3759,3827,4001,3927,3710,3926,4279,4332,4050,4005,4060,3939,3959,4300,4343,4518,4528,4280,4480,4601,4560,4483,4286,4284,4333,3916,3759,4088,2995,1628,1126,1427,2387,3118,3548,3720,3188,2864,2204,2154,1957,1986,1970,1851,1855,1989,1983,1891,1714,1467,1436,1641,1908,1925,1895,1747,1681,1782,1904,2026,2132,2280,2356,2629,2555,1727,1897,1809,1786,1729,1589,1503,1572,1978,2479,2133,1852,2073,1744,1947,1843,1637,1549,1501,1908,2159,2139,2135,1790,1606,1548,1668,2147,2138,2249,2663,1987,1511,1677,1511,1655,1731,1672,1837,2034,2276,2576,2419,2722,2643,2852,2272,2072,2186,2237,2541,2393,2251,2929,3311,3399,3248,3044,3438,3454,3304,3003,2310,2032,2361,2475,2577,2625,2929,3563,4343,4732,4748,4912,4960,4784,3631,2776,3008,2962,2984,3991,4948,4924,5080,4907,4608,4841,4832,4897,3974,2720,2555,2950,2909,3141,3139,2958,2942,2554,1959,1718,1746,2758,2009,1370,1885,2223,1713,1649,1964,2094,1654,1472,1416,1476,1489,1790,2004,1601,1538,2180,2118,1851,1814,1710,1700,1988,2813,2388,2377,2157,2112,1836,1737,1770,2261,2030,1641,1814,1916,1888,1469,1647,2258,2326,1931,1636,1443,1737,1894,2296,2421,1852,1645,1955,1834,1770,1674,1558,1589,1892,1717,1460,1605,1695,1623,1751,1980,2010,1892,1922,2081,1898,1832,1990,2173,2302,2581,2647,2499,2298,2248,2025,1825,1854,1826,1958,1725,1825,2137,2050,2274,2944,2785,2132,2150,2326,2131,2547,2085,2475,2490,2047,1991,1936,2364,2391,1881,1658,1721,2012,1859,1692,1776,2078,2539,2945,2996,2508,2080,2552,2575,1758,1407,1874,2216,2446,2382,2159,1469,1448,2063,2627,2063,1807,1725,1583,1533,1658,1815,2024,2448,2358,2533,2808,3190,3226,2843,2533,2455,2348,2565,2557,2276,1943,2105,2590,2614,2150,1886,2050,1874,1876,2050,1570,1369,2063,2138,1913,1989,2310,1965,1756,1591,1521,1520,1576,1793,1892,1744,1603,2036,2116,1594,1598,1571,1554,1467,1504,1543,1569,1821,1824,1620,1732,1837,1809,1636,1601,1666,1675,2218,2315,1874,1674,2050,1919,1863,1824,1584,1490,1642,1643,1589,1409,1886,2460,2398,2415,2662,2562,2017,1592,1571,1831,2807,2391,1843,1714,1791,2164,2460,2336,2169,2050,1766,1803,1974,2367,2426,2341,3405,3428,2839,2830,2866,2462,2297,2416,2292,2040,1796,1618,1595,1650,1677,1804,1811,2191,2292,1761,1545,1716,1647,1627,1515,1482,1215,1496,2075,1754,1511,1442,1456,1416,1441,1416,1356,1538,1657,1819,2067,1623,1349,1390,1703,2127,1897,1932,2283,2370,2035,1936,2097,2077,2002,1980,1858,1798,2357,2334,1878,1868,1726,1472,1471,1744,1617,1484,1758,1576,1317,1794,2201,2200,1845,2502,3213,2693,2018,1750,1825,2098,2407,2050,1808,1999,1967,1849,1945,2060,1958,1804,1757,1751,2063,2921,3400,3356,3164,2512,1780,2120,2554,2146,2026,1798,1530,1926,2310,2545,2702,2153,1388,1106,1295,1468,1311,1428,1873,1716,2217,3108,3045,2500,2076,1991,1730,1748,1591,1833,1743,1735,2033,1722,1753,2083,1674,1646,1692,1990,2288,2753,2391,2862,3313,2964,2519,2497,2666,2536,2089,1972,2119,2188,1757,1632,1472,1504,1730,1661,1555,1556,1562,2324,3034,2360,2060,1679,1588,1733,1881,2014,1704,1881,1831,2134,3019,2844,2341,2142,2122,1946,1977,2172,2168,2549,2925,3169,2584,2002,2390,2641,2657,2198,1894,2030,2436,2184,2044,1758,1543,1671,1834,1875,2286,2366,2238,2611,2552,1610,1927,1841,1763,1710,1863,2258,2175,1570,1537,1723,2088,2658,2909,2830,2488,2498,2794,2918,3234,2938,2492,1959,2136,2046,1595,1550,1848,2289,2331,1839,2474,3677,3792,3435,2745,2746,2573,2575,2660,2808,3086,3055,2729,2800,3119,3122,2736,2652,2634,2701,2819,2924,3089,2525,2366,2491,2679,1224,786,1298,858,841,1505,1456,969,1477,2091,2232,2618,2749,2755,2258,2636,2967,2828,2729,2577,2739,3001,3151,3171,2808,2269,3106,3111,2602,2307,2358,2910,3067,3171,3188,3198,3234,3243,3301,3239,3352,3386,3037,2771,2361,2415,2409,2718,2924,2833,2614,2366,2956,3137,3353,3454,3195,3014,3173,3243,3174,3371,3417,3021,2646,2831,3292,3500,3360,3500,3381,2691,2626,2698,2778,2689,2644,3007,2940,2199,1749,2285,2192,2292,2482,2675,2548,2102,2096,2886,3083,3017,3270,3354,3218,2961,1903,1760,2321,2808,3466,3621,2884,2107,2426,2700,2570,2235,2196,3043,3616,2961,2452,2710,1838,1327,1210,1675,2446,2869,2991,2618,2276,2385,2686,2987,2801,2401,2547,2677,2554,3263,3428,2965,2649,2425,2310,2425,2411,1944,2344,2974,3485,3613,3208,3287,4068,4053,3458,3155,3595,4231,3840,3244,3251,3121,3297,3198,3428,3422,3604,3758,3680,2950,2767,2867,2454,2689,3299,3436,3725,3340,2984,3060,3452,3771,3484,2790,2720,2653,3209,3851,2723,2683,2776,3553,3667,3519,2724,2867,3124,3010,3483,3801,3463,2937,3241,3736,3698,3850,3990,3645,3836,3926,3317,2765,2487,2358,2590,2510,2309,2002,2051,2675,2645,2366,1653,2435,3063,2733,2872,3110,3020,2810,2539,2315,2662,2990,2490,1823,2686,3160,2964,2861,2895,3016,3196,3135,2736,2928,3337,3338,2620,2367,2565,2082,2093,2348,2059,2250,2788],[1791,1647,1996,2621,2641,2791,2818,2608,2268,2133,2567,2429,2545,3177,3439,3561,3248,2711,2398,2279,2608,2845,2589,2509,2743,2991,2956,2973,2762,2502,2607,2852,2754,2452,2329,2675,2693,2799,3006,2450,2086,2088,1877,1847,1934,2027,2439,2799,2678,2672,3167,3304,3198,2985,2930,3348,3332,2978,2696,2731,2481,2334,2402,2522,2784,2556,2115,2414,2597,2922,2997,2976,2744,2228,1821,1816,2194,3068,3320,3028,3439,3172,1592,1013,1167,2336,2578,2852,3262,3360,3564,3514,3319,3509,3650,3585,3531,3450,3464,3620,3421,2796,2521,2800,2783,2845,2383,1814,1912,2006,2247,2141,2029,1920,1896,1902,2019,2350,2655,2977,2239,1512,1577,1597,1975,2230,2340,2895,2997,2756,2995,2578,2031,1784,1740,2093,2384,1862,1239,1546,1894,1933,2042,1952,2618,2833,2468,2256,2105,1933,1697,1776,1874,1864,2192,2105,1603,1465,1904,1774,1747,1882,1835,1703,2431,3010,3167,2659,2208,2693,2368,3017,3351,3229,3416,3177,2543,2237,2814,3051,2729,3051,3069,2584,2780,3177,3185,3253,3226,2985,2891,3109,3211,3238,3183,2741,2749,3209,2880,2253,1850,1768,1729,2238,2231,2133,2160,1891,1929,1854,1671,2131,1794,1731,2134,2298,3043,3180,2567,1915,1560,1647,1842,1923,1699,1629,2019,2071,1836,1498,1414,1856,2176,1880,1603,1633,1954,1785,1281,1310,2086,2410,2969,3231,2336,2157,2109,1954,2021,2198,2525,2443,1748,1606,1928,1530,1491,1899,1927,2084,1710,1732,2064,2610,3275,3354,3294,3240,3549,3549,3421,3394,3481,3592,4006,3892,4018,4266,4288,4357,4037,3447,3145,2608,2579,2831,3121,2959,2977,2950,3134,2758,2106,1799,1663,1430,1462,1587,1604,1849,1700,1721,1916,1511,1406,1584,1648,1782,1692,1785,1672,1582,1833,1547,1796,1795,1805,1861,1746,1749,1729,1828,2298,2375,1996,1879,1648,1712,1760,1992,1753,1700,1677,1721,2160,2696,2637,1954,1907,2525,2552,1932,2098,2061,2117,2187,2051,1582,1099,1330,1661,1826,2102,2358,2502,2283,1224,1342,1643,1635,1767,1505,1575,1869,1464,1378,1519,1655,1690,1718,1606,1339,1277,1213,1302,1251,1068,1215,1350,1455,1711,1666,1858,2065,2331,2080,1804,1574,1471,1326,1224,1222,1500,1585,1224,1119,1432,1232,1162,1751,2056,1610,1368,1889,1845,1440,1362,1221,1199,1226,1567,1793,1637,1452,1557,1237,1076,1445,1493,1461,1390,1334,1432,1404,1441,1647,1737,1690,1576,1799,2013,2855,2702,2286,2056,1952,2440,2146,1773,1703,1802,1548,1504,1489,1635,2461,3013,2895,2354,1881,1633,1572,1742,1656,1699,1738,1721,2093,2052,1842,1764,1827,1859,1874,1897,1714,1638,1584,1542,1611,1679,1890,2049,2394,2400,2000,1882,2076,2105,2269,2247,2062,1919,1637,1565,1926,1867,1851,1900,2038,1917,1685,2038,2294,2014,2132,2157,1802,1812,1599,1903,1819,1466,1695,2120,2289,2247,2443,1943,1598,1811,2378,2769,2042,1802,2533,2819,2890,2416,1943,1562,1477,1915,2588,2109,1538,1556,1686,2196,2412,2205,2073,1677,1638,1948,1946,2054,2328,1731,1541,1904,2009,1948,1863,2129,2172,2062,2026,2125,2808,3256,3343,3406,3149,3297,3620,3591,3703,3372,3045,2997,3120,2854,2087,1742,1803,2458,2918,3084,2645,1995,2122,2537,2285,2669,3087,2779,2451,2480,2895,3207,2880,3212,2809,2367,2809,2680,2540,2415,1981,1888,2331,2516,2386,2432,2225,1994,1981,1776,1648,1822,1831,1856,1895,1787,1975,2078,1967,2040,2094,2670,2462,2090,2221,1999,2121,2215,2183,2033,2169,2223,2151,2422,2546,2083,1807,1745,1973,2046,1865,1767,1913,2245,2471,2300,2588,2477,2398,1556,1566,1590,1745,2145,2082,2274,2339,2035,2325,2303,2089,2082,2612,2385,1615,2301,3186,3286,2868,2640,2400,2688,2853,2208,2220,2881,2215,1644,2048,1743,1390,1328,1337,1207,1519,1884,1687,1587,1968,2126,1783,2025,1709,2259,2409,2731,2619,2128,1564,1577,2185,2478,2419,3244,3174,3286,3096,3269,3426,3022,3244,3483,2947,2733,2975,3174,3719,3515,2191,1841,2087,2315,2737,2535,2192,2420,2270,1857,2276,2786,2370,2116,1727,1505,1910,2169,2008,1828,1778,1735,1694,1571,1364,1730,1827,1462,1453,1709,2073,2301,2818,2401,2104,2049,1696,1593,2193,2879,3081,3024,3317,3196,2843,2845,3105,2908,2917,2558,2348,2884,3226,3338,3486,3916,3924,3794,3659,3929,3770,3397,3408,3785,4197,4136,4078,4364,4104,3796,3848,4193,4283,4376,4508,4241,3974,3924,3855,3901,3937,3960,3974,3932,4185,4332,4152,3937,3933,3703,3463,3602,3934,4119,4299,4225,3906,4073,4240,4476,4371,4271,4169,3666,3231,3132,2538,1412,1497,2219,2858,3463,3607,3852,3838,3440,2591,2166,2116,1974,2060,2013,1952,2056,2130,1923,1742,1504,1543,1739,1957,2072,1991,1968,1841,1841,1936,2014,2009,2151,2463,2730,2930,2566,1979,1886,1637,1652,1619,1647,1738,1599,1642,1898,1884,2029,2756,2462,2218,1930,1731,1615,1458,1712,1822,2025,2200,1777,1787,1653,1597,1913,1835,1876,2046,1807,1497,1381,1663,2286,2430,2033,1752,2019,1948,2170,2735,3196,3057,2822,2095,1704,1781,1933,2272,2033,2419,3240,3596,3632,3400,2662,3000,2962,2290,1780,1702,1895,2055,2392,2558,2331,2799,3251,4496,5021,4851,4920,4731,4677,4312,4015,4289,4261,3658,3749,4815,4922,4966,4743,4394,4676,4751,4671,3882,3430,3550,3562,3652,3451,3106,2880,2607,2564,2383,2664,2364,2436,2216,2038,2541,2270,1663,1747,1845,2270,2290,1774,1858,1708,1519,1723,1887,1581,1645,1885,2117,2707,2679,2025,1840,1781,1913,1900,2025,2185,2151,1998,2026,2260,2436,1823,1798,2299,2117,1815,1802,1831,1691,1664,1920,1848,1882,1975,1998,1973,1791,1719,1993,2056,1727,1720,1709,1611,1653,1949,1903,1732,1860,1789,1893,2168,2063,2074,2888,2763,2553,2322,2401,2425,2294,2109,2236,2292,1819,1986,2474,1887,1638,1863,2358,2426,2245,1838,1609,1704,2383,3067,2997,2565,2548,2710,2416,2685,2930,3187,2751,2103,2193,2554,2478,2086,1448,1516,1817,2294,1877,1771,1772,2006,2950,3682,3175,2801,3063,3146,2732,1714,851,1611,2198,1983,2019,1825,1564,1706,2181,2230,2150,2150,1628,1554,1692,1704,1619,2008,1979,2151,2257,2468,2401,2198,2204,2490,2686,2045,1974,2231,2420,1989,1833,2057,2434,2335,2167,2481,2313,1904,1833,1575,1198,2228,1937,1833,1970,1834,1987,1955,1470,1290,1433,1629,1963,2131,2181,2006,1982,1811,1496,1374,1345,1514,1435,1548,1807,1957,2041,1907,1553,1664,1710,1775,1946,2226,1841,1711,2272,2144,1670,1885,1837,1480,1775,1779,1773,1693,1616,1585,1513,1422,2075,2592,2011,1942,2425,2505,2286,2524,2832,2913,3488,3130,2167,1656,1828,2255,2671,2458,2041,1881,1831,1765,1852,2166,2378,2452,3531,3715,3085,2676,2420,2165,2126,2195,2512,2459,2042,1624,1600,1585,1621,1874,2101,2257,2149,1750,1629,1798,1906,1780,1614,1568,1512,1932,2483,2118,1630,1482,1522,1397,1451,1577,1794,1658,1633,2013,1398,1108,1245,1442,1649,1593,1655,1709,1663,2211,1916,1455,1581,2103,1650,1793,2140,2312,2290,2362,2062,1779,1622,1355,1435,1584,1346,1245,1486,1642,1401,1667,1837,1823,1932,2665,3122,2797,2210,1812,1772,1959,2322,2354,2232,2022,2101,2120,2061,1957,1723,1743,1826,2059,2606,3229,3307,2900,2412,1655,1832,2434,2634,2218,1886,1610,1595,1607,2143,2453,2812,1817,1112,970,1121,1349,1260,1285,1587,1837,1973,2070,2353,2053,1508,1472,1417,1489,1664,1824,1744,1675,1537,1550,1910,1878,1922,2034,1764,1674,2426,2601,2114,2687,3774,3580,2809,2987,3256,2840,2410,2378,2194,2232,1703,1585,1551,2065,2389,2010,1768,1570,1645,2526,2843,2218,2211,1650,1568,1959,2082,1960,1711,1742,1687,2206,2888,2707,2205,1639,2311,2752,2812,2724,2906,3099,3275,3241,2776,2333,2018,2134,2271,2000,1829,2160,2358,1952,1688,1499,1556,1604,1720,2137,2593,2221,1939,2481,2931,2544,2023,1727,1664,1582,1719,2254,2229,1992,1936,1786,1441,1704,2161,2054,2020,2504,3141,3641,3052,2301,2113,1755,1994,1800,2098,1554,1544,1560,1662,1880,2966,3759,4005,3168,2109,2048,2141,2708,2003,2243,2544,2763,2742,2441,2713,2885,2629,2700,2769,2675,2555,2734,3023,2297,2500,2681,2523,1881,1888,1718,1178,1147,1296,1260,1278,1936,2238,2634,2754,2675,2436,2498,2697,2370,2597,2836,2469,2670,3309,3552,3207,2871,2573,2634,2582,2862,2718,2706,3184,3277,3255,3230,3230,3256,3256,3292,3305,3616,3453,3099,2833,2479,2558,2776,2690,2408,2270,2185,1865,2858,3182,3304,3463,3206,2993,3006,2763,3064,3462,3659,3651,3475,3205,3255,2909,2894,2867,1997,2031,2504,2637,2634,2408,2685,3266,3034,2415,2037,2548,2633,2511,2840,2850,2177,1650,2026,2775,2998,2890,3298,3409,3339,2790,1593,1572,2469,3154,3358,3392,3139,2912,2850,2720,2453,2200,2303,2544,2932,2566,2450,2702,2457,2480,1823,1455,2230,2640,2535,2497,2705,2861,2895,2946,2678,2326,2578,2612,2265,2492,2322,1951,1798,1681,1783,2007,2294,2247,2617,3156,3682,3670,3186,3195,3590,3426,3340,4038,3815,4060,3892,3365,3175,2907,3272,3433,3544,3544,3632,3758,3620,3218,3183,3219,2624,2381,3112,3166,3186,3028,2916,3173,3355,3143,2395,2423,3023,2877,3476,3686,2365,2550,2809,3618,3906,3740,3432,3445,3343,3318,3585,3876,3682,3100,3392,3483,3384,3410,3258,2828,3286,3562,2778,2187,2230,2626,3182,3117,2396,1938,2235,2264,1926,1786,1794,2536,2773,2244,2669,2943,2822,2619,2622,2469,2253,2133,1771,2015,2879,3134,3016,2922,2941,3332,3647,3586,3010,2924,3097,3347,3178,2576,2773,2836,2237,2533,2432,2076,2108],[2359,2087,2352,2618,2729,2682,2015,1770,2164,2487,2352,2236,2586,2878,3249,3615,3218,2875,2526,2279,2598,2754,2589,2149,1997,2386,2702,2714,2500,2452,2842,2842,2481,2197,2299,2614,2543,2554,2424,2255,2102,2318,2404,2631,2614,2639,2796,3039,2890,2897,3348,3283,3187,2770,3408,3484,3308,3089,3100,3052,2632,2481,2344,2041,1939,1832,2168,2875,3208,2723,2856,3792,4120,3430,1977,1264,1749,2575,3300,3226,3322,3289,1766,1111,919,1850,3009,3924,4020,3774,3858,3571,3575,3661,3745,3672,3586,3574,3414,3338,2976,2542,2526,2735,2718,2624,2032,1884,2395,2257,2682,2680,2018,1846,2165,2419,2677,3081,3006,2629,2081,1913,2360,2127,2271,2360,2288,2551,3089,2739,2609,2668,2601,2541,2234,2324,2761,2423,1924,2221,1885,2200,2286,2083,2666,2741,3159,3200,2280,1866,2230,2545,2026,2012,2367,2258,1815,1775,2492,2439,2267,2552,2908,2721,2166,2666,3384,2470,2080,2592,2508,3276,3476,3305,3207,2994,2481,2172,2763,3025,3057,3319,2898,2697,2899,3138,3300,3243,2994,2756,2806,3017,3183,3411,3252,3142,2940,2317,2166,2229,2613,2543,1830,2149,2708,2699,2278,1918,2036,2123,2390,2682,1735,1699,1698,1986,2845,2481,1894,1805,1693,1519,1736,2364,2271,2160,1902,1692,1609,1598,1384,1646,1998,1882,1800,1982,2028,1725,1495,1643,2654,2944,2686,2470,1796,2037,2054,1561,1533,1684,2122,2019,1874,1741,1864,1682,1655,1979,2298,2255,1864,1983,2122,2168,2735,2691,2188,2665,3764,3741,3377,3706,3562,3378,3208,3341,4156,4128,3893,3784,3897,3604,3431,3103,3054,3230,3140,3017,3133,3298,3610,3366,2457,1660,1865,1551,1531,1886,1918,1961,1782,1681,1630,1377,1494,1589,1654,1850,1804,1607,1474,1686,1748,1502,1731,1803,1705,1821,1786,1749,1756,1740,1846,1798,1704,1907,1693,1946,1933,2020,1969,1855,1677,1633,1754,1878,1966,2116,2226,2470,2199,1967,2106,1810,1786,1823,1801,1488,1080,1213,1376,1594,1587,1714,1725,1816,1698,1634,1795,1751,1793,1736,1610,1813,1575,1690,1891,1917,1711,1556,1484,1241,1002,1003,1134,1174,1031,1035,1251,1510,1666,1564,1650,1736,1581,1498,1558,1467,1279,1170,1181,1171,1120,1083,1151,1206,1324,1360,1177,1360,1586,1384,1316,1641,1633,1476,1349,1202,1111,1171,1240,1391,1407,1298,1220,1156,1181,1376,1562,1431,1402,1216,1516,1315,1325,1552,1695,1688,1676,1435,1526,2024,2050,1950,1627,1585,1896,1967,1679,1785,2033,1853,1564,1438,1556,2156,2393,1813,1769,1677,1412,1438,1793,1687,1628,1738,1803,1847,2008,2083,1956,1710,1749,1879,1914,1730,1728,1795,1790,1784,2051,2646,2824,3071,3352,2825,2248,2335,2874,3552,2562,1757,1792,1601,1565,1689,1773,1730,1769,2403,2687,2112,1936,2293,2338,2229,2265,1825,1722,1772,1856,1481,1534,1615,1676,1965,2352,2101,1640,1522,1548,2083,2648,2168,1726,1854,2221,2296,2100,1992,1694,1771,2106,2692,1863,1373,1490,1879,2536,2622,2364,2117,1837,1836,1986,1857,1675,1951,1693,1609,1843,1903,2137,2282,2089,1790,1656,1621,1942,2879,3210,3315,3299,3310,3732,3001,2731,3338,3531,3309,3067,2912,2955,3209,2902,2919,3121,2875,2734,2284,1925,2733,2885,2304,2414,3072,3545,3497,2433,2609,2808,3075,3061,2566,2490,2602,2316,2204,1940,1625,1999,2587,2549,2513,2608,2501,2046,2203,2030,1649,1761,1816,1979,1997,1964,2008,2346,2292,1975,2187,2100,1873,1815,2031,2228,2250,2289,2407,2226,1826,1741,1869,2314,2543,2015,1709,1706,1719,1947,1882,1720,1815,1988,2207,2106,2234,2016,1982,1570,1648,1690,1791,2010,2078,2295,2034,2156,2470,2364,2689,3124,3436,2540,2029,2590,3251,3317,2966,2476,2361,3043,2900,1874,1711,1871,1803,1626,2337,1944,1341,1465,1539,1394,1570,1850,1990,2977,3218,1700,1571,2169,2267,2172,2752,2592,1888,1712,1639,1983,2400,2566,3109,2953,2953,3519,3531,3409,3516,3147,2912,3068,2963,2957,2987,3095,3663,3740,1810,1598,2343,2597,2832,2645,2646,3061,2465,1857,2271,2553,2518,2099,1453,1396,1692,1848,2010,1806,1802,1805,1628,1487,1623,1689,1391,1410,1523,1886,2062,2596,3373,2775,2108,2367,2120,1942,2511,2986,3306,3073,2978,3108,3379,3134,3064,3196,3020,2746,2932,3099,3230,3562,3710,3874,3382,2865,2777,3042,3205,3607,3731,3660,3975,3936,4046,4411,3959,3682,3608,4288,4416,4104,4265,4164,4094,4120,4163,4256,4105,3896,4002,4119,3937,4001,4120,3849,4030,4333,4104,3783,3789,4224,4050,3872,3827,3814,4050,4245,4213,3471,2356,1544,1188,1367,1246,1510,2689,3510,3458,3627,3672,3607,3851,3498,2446,2052,1958,2016,2083,2122,2109,2011,2137,2154,1748,1636,1803,1959,2060,2104,2031,1951,1852,1941,2160,2142,1898,2182,2372,2610,2825,2358,2383,2152,1892,1882,1710,1457,1370,1418,1688,1620,1725,1814,2612,2358,1951,1763,1743,1868,1711,1466,1620,2282,2274,1654,2008,1948,1778,1758,1813,2028,2026,1818,1698,1615,1931,2486,2505,2237,1913,1650,1715,2156,2278,2518,2554,2394,1923,1744,1730,1852,2392,2830,3431,3492,3208,2918,2705,2467,2919,2840,2226,1915,1972,2062,2218,2354,2521,2567,3318,3447,4244,4884,5024,4769,4204,4072,4420,4664,4750,4328,3663,3820,4679,4874,5027,4953,4499,4815,4776,4352,4412,4641,4058,3262,3678,3329,3310,3464,2718,2358,2443,2709,2481,2536,2659,2430,2116,1733,1922,1665,1694,2358,2496,2322,2612,2481,1954,1688,1731,1856,2139,1723,2072,3012,3125,1978,1620,1538,1425,1632,2018,2348,2202,2250,2465,2315,1995,1876,2126,2308,2087,1943,1945,1560,1395,1643,1918,1943,1910,1958,2068,2072,1848,2087,2192,1888,1852,1702,1630,1791,1638,1885,1982,1649,1780,1785,2060,2599,2207,2356,3652,3642,2778,2608,2767,2512,2187,2051,1789,1872,1974,2277,2533,2367,2281,2951,2972,2467,2260,1978,1606,1701,2508,2856,2754,2536,2542,2014,1955,2254,2643,2751,2390,2018,2583,3444,2942,2308,1825,1966,1810,2198,1947,1852,2135,2276,2756,3176,2962,3108,3835,3416,2718,1969,1426,1904,2144,2017,1988,1647,1650,1808,1708,1578,1977,2439,2053,1548,1830,1866,1749,1908,1680,1914,2420,2646,2269,2128,1942,1920,2028,1694,1824,2246,2684,2515,1892,1615,2127,2532,2517,2642,2369,1823,1908,2172,1735,1858,1655,1720,1955,1864,1896,1878,1660,1480,1474,1966,2269,2536,2374,2565,2463,1912,1697,1528,1381,1431,1655,1711,1493,1402,1654,1541,1523,1472,1459,1763,2172,2230,1776,1994,2284,1914,1815,2109,2098,1678,1815,1873,1708,1656,1549,1325,1266,1462,1829,2013,1586,1648,2132,2357,2822,3144,3489,3648,3683,3264,2347,1650,1675,1744,1828,1782,1825,1810,1708,1613,1679,2062,2348,2556,3452,3863,3007,2146,1782,1832,1853,1687,1857,1936,1541,1437,1401,1214,1158,1432,1932,2322,2726,2387,2054,1985,1941,1790,1805,1782,1749,1872,1946,1864,1679,1543,1635,1520,1594,1532,1912,1830,1939,2180,1588,1382,1323,1396,1610,1610,1835,1779,1365,1306,1402,1384,1400,1580,1745,1841,2601,2683,2136,2357,1930,1706,1474,1492,1549,1426,1370,1407,1717,1838,1673,1857,2049,1937,2115,2762,3090,2916,2431,1941,1801,2226,2207,2231,2404,2264,1991,1772,1979,2148,1943,1990,1874,1956,2446,2979,2631,2014,1921,2262,2553,2368,1969,1928,2192,1807,1535,1576,1936,2045,3006,2272,1172,1149,1548,1589,1383,1510,2175,2876,2219,1649,1558,1369,1364,1480,1510,1663,1732,1758,1847,1910,1378,1368,1749,1859,2352,2420,2220,2242,2172,2214,2505,2662,3532,3930,3680,3701,3526,2953,2467,2203,1979,2112,1816,1582,1699,2170,2224,2034,1777,1400,1626,2473,2082,1907,1969,2208,2080,1720,1610,1428,1548,1688,1578,1892,2438,2376,1750,1694,2253,2787,2756,2675,2843,2956,3342,3213,2787,2896,2576,1968,1903,1887,2117,2611,2576,2372,1928,1638,1930,1903,1789,1719,2088,2250,1714,2002,2787,3006,2452,1995,1776,1632,1522,1850,2018,2217,2273,1877,1622,1543,1813,1938,2164,2366,2750,3306,2822,2149,2047,1809,1727,1880,2249,1956,1847,2050,2341,2529,3158,3715,3553,2505,2114,2071,1830,1904,1700,3022,3011,2511,2518,2630,2958,3023,2867,2577,2696,2814,2770,2667,2951,2799,2381,2622,2213,2108,2514,2298,2072,1988,1942,1960,1924,2280,2351,2878,2810,2387,2269,2691,2774,2578,3088,3243,2947,3179,3411,3309,2872,3006,3238,3109,2899,3287,3006,2664,3404,3389,3259,3292,3344,3363,3355,3333,3339,3515,3636,3241,2850,2792,2745,2614,2169,1584,1858,2222,1816,2646,3221,3403,3414,3254,3228,2518,2065,3122,3302,3730,3750,3640,3014,2899,2959,2719,1788,1199,1670,2150,2322,2728,2909,3127,3284,2552,2407,2321,2604,2532,2396,2432,2490,2486,2438,2429,2915,2944,2766,2834,2906,2645,2880,2735,2368,2266,2556,2923,3136,3147,2663,2262,2565,2409,2434,2590,2808,2642,2757,2854,3098,3232,2895,2023,1454,2068,2303,2370,2714,2476,2746,2870,2833,2642,2196,2126,2133,2177,1865,1511,1662,1836,1798,1724,1957,2598,3207,3585,3605,3466,2577,2040,2472,2675,2940,3904,4184,3705,3918,3919,2965,2613,2341,2918,3449,3475,3613,3454,3328,3317,3160,3279,3396,2910,2237,2380,2309,2349,2577,2984,3462,3493,3103,2666,2874,2932,3120,3736,3516,2780,3013,3210,3232,2847,2795,3255,3163,3137,2980,3129,3617,3200,3276,3387,3342,3573,3739,3147,2482,2995,3362,2666,2530,2692,2696,2891,2718,2260,2395,2952,2811,2276,1926,2057,2986,3015,2243,2776,2761,2707,2565,2895,2762,2484,2131,1808,2339,2972,3312,3262,3061,2812,3005,3364,3187,2898,2821,3165,3747,3658,2665,2730,2872,2069,2813,3073,2632,2387],[2141,2451,2246,2061,2410,2352,1794,2033,2430,2382,1755,1664,2004,2627,3229,3482,3056,2523,2446,2114,2380,2426,2151,1787,1879,2081,2554,2632,2680,2897,2964,2535,2182,2428,2395,2330,2558,2590,2315,2124,2205,2623,2669,2613,3022,3145,2849,3172,3228,3156,3415,3354,3234,3193,3781,3549,3442,3229,3151,3138,2802,2787,2709,2285,2065,2190,2724,3219,3310,2751,2896,3265,3774,3996,2802,1308,1301,1911,2906,2940,2898,3152,2142,1184,895,1383,2203,3463,4252,4131,3835,3435,3615,3535,3515,3517,3548,3607,3440,3218,3078,2604,2404,2297,2209,2258,2238,2377,2742,3213,3242,2665,1983,2174,2770,3122,3154,2953,2964,2678,2470,2244,2237,1902,1909,2101,2149,2128,2740,2791,2818,3072,2803,2702,2530,2831,3430,2736,2411,2678,2400,2309,2813,2946,2766,2187,2131,2399,2080,2165,2556,2047,1892,1887,1626,1951,2239,2764,2740,2234,2567,2815,2976,2853,2578,2973,3013,2355,2316,2933,2830,3189,3116,2997,2850,2697,2817,2699,3074,2983,3088,3173,3065,2976,2824,2286,2823,3189,2818,2758,2890,3135,3253,3379,3008,3365,2876,1948,1784,1819,2389,2461,2052,2316,2884,2608,1842,1882,2083,2513,2809,2684,1829,1819,1728,2204,2770,2121,1688,1642,1695,1603,1663,2073,2566,2342,1917,2061,2129,1781,1513,1881,2330,2136,1992,2046,1941,1532,1450,1871,2452,2931,2728,1967,1923,2350,2341,2344,2012,1956,2014,1790,1974,1970,1979,1974,2099,2571,2601,2163,1919,2492,3002,2544,2611,2338,1715,2805,3776,3748,3637,3786,3523,2941,2397,2436,3309,3816,3614,3105,3242,3309,3472,3450,3118,3137,2898,2745,2768,2919,3108,2963,2462,2374,2660,1972,1628,1841,1842,1914,2051,1953,2060,1573,1378,1432,1382,1420,1469,1570,1474,1762,1651,1424,1654,1646,1528,1390,1426,1684,1976,1897,1559,1514,1750,2089,1899,1992,2085,1949,1835,2008,2044,1809,1890,1951,1856,1847,1936,2396,2213,2220,2193,1801,1739,1890,1994,1699,1432,1395,1548,1716,1559,1505,1500,1727,1925,1910,1793,1461,1505,1825,1918,1989,1852,1838,1730,1475,1319,1273,1356,1308,1218,1073,1139,1237,1067,1034,1237,1308,1389,1514,1725,1924,1774,1518,1377,1316,1234,1337,1814,1455,1207,1368,1317,1322,1402,1317,1125,1135,1317,1703,2166,2014,1770,1561,1484,1243,1416,1426,1295,1228,1260,1320,1400,1397,1208,1393,1628,1734,1905,1355,1486,1249,1390,1680,1758,1829,1726,1467,1493,1628,2142,2072,1700,2230,1845,2185,2210,2148,2101,2075,1884,1514,1631,2093,2394,1894,1495,1550,1710,1621,1895,2019,1822,1919,2070,2068,2004,2210,2049,1586,1711,1765,1864,1810,1682,1877,2064,1894,2141,2776,3017,3154,3720,3327,2591,3275,3648,3370,2432,1838,1660,1536,1429,1320,1750,1889,2076,2734,2872,2542,2127,2315,2326,1975,2210,2093,1854,1900,1895,1870,1764,1494,1572,1760,1466,1448,1520,1545,1406,1399,1655,1986,2202,1845,1747,1633,1729,1791,2054,1945,1649,1639,1497,1412,1463,1747,2113,2336,2577,2366,2447,2297,1923,1684,1630,1549,1560,1775,1974,2011,2232,2533,2218,1739,1715,1854,2354,2509,2726,3322,3404,3337,3542,3316,3060,3135,2902,2994,2784,2452,3474,3848,3317,3181,3181,2839,2483,2210,2392,2660,2227,2204,2553,3354,3787,3397,2765,2999,2607,2567,2737,2550,2673,2599,2260,2211,1970,1906,2509,2712,2250,2618,2880,2637,2230,2467,2434,1877,1737,1990,2304,2102,1747,1938,2365,2425,1815,1728,1826,1781,1905,1990,2370,2585,2254,2335,2166,1684,1798,1918,2167,2172,1975,1939,2008,1886,2009,2047,1824,1714,1773,1910,1745,1558,1691,1807,1645,1736,1837,2132,2046,1870,2103,1890,2298,2662,2438,2857,3074,3185,3099,2355,2362,2915,2881,2824,2801,2626,2208,2282,2127,2251,2109,1835,1628,1685,1489,1444,1695,1702,1490,1622,1505,1709,2518,2364,1855,1776,2316,2442,2425,2752,2482,1742,1512,1513,2015,1951,2546,3397,2911,2946,3153,3122,3277,3560,3484,3291,2973,2547,2902,2965,3338,4037,3322,1571,1729,3064,3588,3225,2868,3075,3075,2543,2242,2588,2545,2604,2084,1554,1430,1505,1569,1527,1725,1739,1509,1452,1615,2037,1816,1501,1515,1739,2304,2584,2649,2454,1965,2003,2763,2967,2601,2833,3073,3308,3281,3159,3204,3406,3039,2919,3166,3053,3078,3252,3220,3704,3725,3710,3065,2479,2376,2088,2440,3263,3640,3794,3639,3973,4129,4037,4204,4038,4144,3947,4200,4347,4210,4135,4013,4076,4041,4151,4329,4195,3950,4196,4283,4094,3983,3941,3758,4072,4344,4415,4365,4189,4321,3983,3917,3996,3927,4074,4177,3594,2182,1621,1279,1136,1359,2051,2731,3282,3238,3325,3499,3398,3395,3604,2996,2219,2038,2031,2112,2101,2234,1923,1613,1730,1629,1569,1918,2014,1995,2100,2094,1974,1931,1962,2078,2104,1839,1896,2200,1954,1873,1962,2244,2444,2287,2277,1920,1800,1495,1393,1458,1580,1453,1952,2218,2142,1847,1736,1562,1626,2035,1945,1740,1952,2505,2446,1918,1957,2014,2087,2315,2634,2509,2002,1732,1619,1657,2208,2506,2768,2678,2370,1795,1653,1817,1826,1788,1914,1764,1421,1494,1617,2193,2713,3335,3373,3073,2683,2552,2469,2366,2778,3114,2503,1958,2026,2115,2314,2447,3021,3250,3659,3747,3827,4556,4880,4266,4015,3915,4163,4256,4488,4469,3574,3951,4664,4505,4508,4822,4928,4948,4716,4504,4538,5098,3916,3347,3678,3530,3466,3509,3464,2824,2045,1985,2440,2790,2499,2008,1909,2311,2577,1779,1412,1720,1968,2480,2420,2326,2004,1780,1801,1639,1826,1875,2097,2223,2958,2540,1767,1601,1953,2250,2174,2133,2385,2941,2514,2192,1997,1986,1890,2011,1777,1851,1853,1632,1671,1756,1768,1798,1707,1984,2065,2025,1704,1770,1891,2174,1873,1145,1732,2264,1823,1889,1965,1748,1854,1798,1940,2018,1965,2149,2431,2603,3217,3217,2472,2155,2161,2333,1828,2073,2172,2395,2677,2803,2282,2038,2258,2396,2461,2074,1581,1742,2029,2391,2712,2576,2665,2081,2012,2410,2799,2890,2374,2103,2292,2833,2717,2417,2202,2548,1881,1825,1811,1546,1876,2289,2403,2231,2598,2742,3293,3011,2257,1755,1930,2099,1985,1688,1397,1394,1819,2060,1708,1500,1816,2172,2282,1731,2236,2604,2452,2337,2163,2204,2585,2794,2313,2299,1841,2019,2342,1953,1807,1973,2295,2351,2116,1923,2119,2043,1892,2113,2186,1931,2194,2184,1763,1483,1399,1647,2000,1826,1545,1543,1566,1520,2089,2917,2589,2764,2943,3035,2212,1687,1927,1801,1483,1644,2646,2600,1946,1537,1520,1419,1557,1579,1454,1751,2255,2151,2152,2173,1918,1932,2173,2104,2172,1687,1695,1705,1660,1691,1497,1256,1289,1409,1416,1437,1529,1625,2039,1825,2198,2763,2860,3137,3520,3219,2458,1867,1911,1764,2122,2118,1893,1699,1545,1514,1576,1942,2348,2502,3363,4092,3317,1963,1551,1738,1542,1634,1925,1943,1642,1429,1537,1660,1643,1608,2046,2107,2537,2621,2415,2116,1682,1472,1601,1676,1785,1803,1770,1721,1732,1621,1606,1619,1527,1517,1652,1811,2655,2853,2187,1637,1326,1295,1541,1883,2048,1714,1477,1271,1591,1814,1597,1617,1980,2054,2331,2231,1923,1843,1546,1534,1475,1557,1452,1454,1606,1799,1981,2044,1989,1885,1893,2383,2405,2212,1852,2182,2363,2266,2465,3045,2719,2109,2101,1834,1450,1486,1790,1941,1912,1839,1785,1973,2112,2514,2271,1909,2005,1936,1887,2118,1817,1797,2010,1772,1852,1969,2036,1991,2541,2597,1634,1330,1926,1888,2114,2490,2332,2780,2048,1732,1565,1538,1701,1825,2237,2335,2183,2457,2405,2237,1582,1725,1971,1921,2295,2358,2581,2923,2597,2756,3047,2713,3609,3683,3472,3537,3132,2290,1687,1607,1860,1848,1489,1749,1938,1779,1777,2067,1886,1483,1557,1750,1709,1997,1835,1897,1886,1704,1807,1764,1859,1720,1741,1687,1912,1968,1919,2098,2222,2165,2121,2316,2575,2621,2744,2369,1786,2240,2231,2266,2133,1902,1858,2061,2216,2388,2076,1864,2240,1822,1809,1940,2093,2113,1842,2352,2897,3038,2942,2114,1582,1495,1707,2137,2356,2302,2086,1686,1633,1490,1767,2121,2105,2004,2396,2551,2530,2210,2729,2595,1804,2070,1870,2128,2397,2709,3007,2624,2937,3746,3149,1947,1957,2239,1857,1028,1679,3125,3278,2995,2606,2352,2334,2621,2883,2756,2988,3215,3298,2408,2933,3245,2592,2386,2248,2276,2175,2054,2030,1999,2198,2461,2254,2532,2718,2896,2741,2317,2371,2897,3118,3079,3416,3482,3199,3493,3670,3508,3329,3370,3427,3501,3451,3597,3454,2973,3552,3354,3281,3410,3268,3193,3253,3247,3362,3298,3020,2731,2511,2368,2635,2777,2380,1689,1895,2272,2089,2511,3229,3609,3646,3664,3906,2800,1859,3204,3481,3605,3444,2888,2424,2551,2555,2165,1969,1860,1765,1634,2025,2509,2934,2967,2989,2391,2041,2277,2406,2304,2143,2187,2777,3528,3705,2983,3309,3409,3024,2661,2722,2715,2918,2654,2069,2228,2601,2845,2909,2988,2489,2379,2430,2463,3320,3801,3786,3480,2889,2810,3541,3267,2895,2403,1530,1910,2115,2192,2025,2374,2833,2884,2613,2296,2204,1721,1541,1975,2070,2374,2469,2204,1800,1767,2121,2401,2835,3416,3759,3500,2635,1823,2446,2803,3303,4124,4116,3728,3484,3109,2373,2397,2330,2539,3326,3640,3905,3566,3205,2843,2632,3063,3462,3177,2280,1885,2158,2531,2623,2746,3379,3276,2519,2061,2181,2379,2910,2895,2732,2640,2863,3019,2778,2720,2770,2884,3006,2743,2583,2715,3120,3167,3293,2992,3060,2886,2377,2541,2424,3087,3732,3781,3561,2730,2311,2083,2226,2798,2774,2564,2854,2865,2385,2480,2758,2683,2403,2816,2929,2586,2849,3045,2743,2984,2797,2589,2739,2944,3291,3204,2835,2375,2169,2417,2584,2665,2738,2843,3152,3405,2844,2704,2554,2645,2741,2828,2767,2824],[1754,2007,2238,2377,2504,2872,2486,2085,1949,1684,1527,1544,1678,2234,2736,2896,2807,2550,2824,2608,2136,1763,1664,1819,2145,2240,2144,2066,2189,2245,2215,2097,2410,2725,2746,2464,2724,2744,2695,2629,2934,3205,2745,2350,2764,3124,2997,3798,3987,3526,3334,3410,3560,3698,3594,3347,3349,3160,3029,3001,3166,3234,3002,2596,2370,2583,2942,3432,3652,3225,2833,2950,3472,3823,3565,2017,1400,2250,3068,3078,2818,2834,2304,1377,928,959,1271,2712,4104,4028,3850,3562,3533,3436,3274,3321,3488,3607,3194,2830,2680,2147,2221,2397,2670,2714,2950,3053,2810,3386,3488,2646,2193,2643,3198,3431,3286,2686,2465,2290,2462,1935,2025,2034,1746,1833,1894,1776,2460,3119,3008,2960,2529,2710,2885,3209,4050,3064,2140,2070,1971,2039,2791,3405,3250,2435,1847,2048,2086,2530,2763,2425,2154,1837,1683,1657,2156,3112,2536,2048,2216,2384,2988,3006,2986,2724,2440,2342,2886,3315,2998,2724,2540,2689,2369,2292,2869,2986,3088,2900,2985,2954,2701,2343,1996,1672,2178,2964,3166,2807,3106,3230,3274,3416,2603,2410,1932,1871,1823,1605,1691,1970,2182,2069,2473,2746,2614,1853,1714,2187,2273,2010,2073,2525,2670,2629,2681,2295,2073,1432,1472,2038,1704,2082,2533,2277,1896,2402,2824,2097,1858,2084,2366,2343,2062,1953,1823,1708,1658,1789,1974,2004,1821,1865,2338,2366,1967,2407,2260,2578,2299,1780,1946,2077,2053,2136,2042,1723,1976,2260,1874,2386,3017,2366,2464,2352,2610,3399,3624,3614,3614,3542,2916,2020,1980,2414,2972,3785,3692,3521,3262,3185,3584,3591,3639,3528,2636,2301,2179,2858,2720,2760,2917,3351,2567,1822,1906,2052,1870,2624,2932,2240,1907,1536,1470,1501,1332,1667,1644,1821,1724,1848,2092,1958,1720,1681,1628,1386,1630,1794,1664,1579,1600,1713,1914,2017,1994,1888,1946,2031,1559,1673,1698,1892,1932,1928,2005,1724,1428,1608,1691,1849,1773,1691,1687,1934,1948,1629,1801,1729,1499,1707,1718,1566,1684,1857,1855,1942,1925,1581,1604,1805,2040,2062,1770,1585,1331,1273,1390,1317,1262,1174,1217,1072,1251,1221,1033,1130,1427,1228,1140,1476,1863,1860,1788,1428,1388,1333,1232,1456,2096,2003,1433,1990,1824,1247,1384,1395,1182,1537,1774,2482,2852,2489,1782,1527,1462,1498,1716,1624,1386,1303,1354,1402,1615,1756,1706,1528,1862,2236,1895,1403,1413,1342,1597,1934,1863,1835,1861,1761,1628,1801,2149,2323,2426,2644,2314,2442,2270,1887,1857,2075,1971,1756,2026,2224,1906,2160,1874,1912,2038,1904,2074,2262,2228,2280,2312,2206,1966,1943,1620,1542,1606,1645,1777,1880,1816,2250,2342,1815,1682,2195,3118,3472,3748,3738,3550,3806,2984,1894,1595,1904,1970,1809,1600,1431,2376,2173,1818,2444,2521,2502,2196,2128,2082,2234,2280,1946,2186,2045,1969,2468,1883,1585,1687,1683,925,846,1504,1721,1525,1598,1522,1742,2153,1824,1712,1533,1522,1543,2022,1729,1391,1461,1464,1523,1674,1874,1959,1992,2338,1969,1916,1979,1785,1731,1648,1504,1610,1741,1982,1974,2012,2306,2102,2113,2167,2433,2514,2256,2787,3596,3640,3585,3664,3378,2840,2719,2321,2385,2219,2307,3364,3020,2686,3022,3234,2782,2105,2215,2274,2149,1992,2690,3348,3459,3569,3326,3306,3373,2867,3000,3549,3293,3028,2736,2218,2203,2441,2501,2618,2534,2588,2920,2338,2300,2806,2460,2011,2023,2026,2246,2432,2123,1856,1960,1975,1998,1924,1943,1794,1744,2067,2053,2241,2329,2024,2168,2188,1825,1751,1843,2056,2215,1948,1797,2002,1755,1721,1842,1963,1765,1630,1667,1654,1864,2622,2460,2186,2654,2300,2071,2157,1849,1971,1854,2069,2185,2060,2734,3256,3782,3354,1982,2024,2304,1663,2351,2723,2175,1859,2556,2735,2359,2006,1822,1618,1448,1509,1651,1679,1790,1622,1594,1575,1585,1575,1563,1546,1647,2149,2462,2462,2585,2646,1834,1501,1526,1745,1816,2802,3306,3244,3169,2834,2331,2354,2744,3404,3782,3322,3017,3266,3164,3078,3172,2406,1411,2199,3726,3893,3404,3186,3044,2436,2474,2763,3003,2888,2864,2397,1739,1436,1508,1636,1618,1666,1683,1498,1490,1482,1756,1759,1695,1790,2213,2684,2690,2380,1937,2533,3120,3316,3028,2921,3132,3146,3448,3662,3159,2713,2870,3335,3298,3265,3396,3519,3027,3243,3627,3926,3330,2005,1825,1838,1767,2842,3651,3629,3669,3664,3956,4232,4176,4082,3951,4034,4022,4287,4567,4306,4164,3952,4013,4241,4200,4328,4182,4168,4272,4184,3962,3790,3587,3396,3608,3768,4121,4140,3996,4141,4051,4184,3939,3715,3789,3764,2325,1283,1990,2090,2115,2620,3229,3480,3243,3094,3342,3560,3505,3270,3020,2552,2049,1892,2109,2264,1966,1675,1449,1600,1778,2049,2446,2488,2204,2049,2016,1948,1954,2119,2261,2049,1803,1637,2077,2107,1754,1843,1946,2110,2146,2358,2278,1910,2093,1557,1502,1505,1525,1788,2153,2199,1909,1770,1842,1946,1761,1643,1638,1724,1989,2135,2356,2300,1975,1817,2043,2408,2474,2391,2027,1688,1583,1842,2351,2757,3031,2788,2354,1952,1881,2168,2011,1739,1845,1765,1640,1844,1820,2272,2413,2662,2755,2644,2570,2540,2427,2232,2387,2676,2275,2164,1882,2058,2345,2612,2563,3018,3572,3874,4111,4452,4472,3934,3781,3819,4355,4119,4307,4440,3352,3718,4444,3916,3529,3675,4032,4676,4576,4192,3602,4172,3646,3507,3606,3378,3269,3522,3605,3056,2399,2432,2514,3008,2971,3027,2822,2665,2493,2049,1620,1526,2222,2520,2007,2092,1647,1646,1981,1708,1859,2535,2417,1848,2330,2271,1773,1744,2001,2310,2420,2289,1898,2035,1467,1628,2145,1818,2105,2625,2271,1990,1913,1914,1970,2077,2363,2132,1831,1973,2060,1926,1885,2252,2695,3013,2373,1427,1804,2106,2094,1640,1581,1912,1942,1738,1688,1618,1716,1999,2400,2900,3398,2914,2005,1802,1901,1851,1741,2389,2558,2442,2675,2990,2607,2249,2244,2355,2745,2222,1813,1770,1812,2523,2822,2790,3032,2777,2523,2326,2241,2670,2384,2361,2541,2964,3132,2940,3226,3210,2058,1553,1706,1682,1616,1756,2412,2734,3018,2944,2619,2455,1897,1780,2239,2630,2216,1365,1439,1595,1985,2281,1876,1552,1580,1662,1574,1631,2288,2320,2446,2803,2674,2474,2173,2338,2387,2366,2161,2188,2244,2281,2534,2570,2175,1901,2127,2054,1990,2005,2354,2336,2018,1696,1715,1554,1388,1576,1694,1659,1885,1648,1599,1526,1458,1750,2426,2893,2500,2470,2808,2751,1965,1644,2304,2052,1815,2022,3217,2958,1829,1490,1504,1416,1274,1306,1592,2011,1958,2027,2368,1954,2014,2530,2163,1865,1817,1560,1741,1887,1771,1684,1507,1424,1463,1378,1539,1582,1572,1776,1632,1748,2584,2852,2666,3144,3708,3591,2532,1904,1950,1720,1642,1730,1624,1692,1741,1667,1682,1854,2449,2465,3228,4396,4061,2341,1703,1774,1533,1713,2062,1932,1485,1362,1444,1394,1665,1851,1980,1757,1842,2178,2172,1849,1476,1489,1627,1894,2092,1700,1780,1832,1875,1842,1697,1600,1374,1406,1492,1696,2104,2153,1995,1452,1301,1424,1794,1953,1766,1651,1466,1604,1771,1752,1562,1574,1964,1802,1736,1631,1763,1624,1585,1489,1453,1535,1631,1920,2459,2674,2324,2203,2013,1736,2028,3146,2502,1575,1698,2144,2010,2230,2501,2512,2291,2156,1942,1578,1594,1826,1923,2092,2630,2513,2280,2297,2182,2721,3085,2713,1929,2064,2183,2348,2112,1578,1464,1738,2478,2487,2233,2066,2400,2886,2119,1389,1619,1877,2697,2218,1535,2184,2174,1938,1882,1926,1991,2036,2810,2877,2848,3054,2800,2457,1853,2414,2397,1926,1885,2392,2814,2687,2497,2160,2174,2587,3090,3063,2995,3220,3057,2284,1904,1886,1885,1912,1771,2128,1782,1660,2215,1976,1908,1816,1598,1600,1766,2048,2181,1998,1790,1968,2282,1826,1772,1609,1952,2002,1858,2346,2470,2274,2421,1978,1960,1926,2090,2165,2321,2624,2382,2122,2224,2243,2114,2041,1812,1608,1496,1775,1665,1765,1852,1691,2040,2611,2364,1782,1898,2706,3068,2864,3046,2080,1834,1519,1942,2279,2182,1991,1682,1797,1640,1753,2260,2126,2241,2355,2806,3021,3331,3066,3319,2386,1629,2427,2850,2935,3254,3046,2800,2712,3372,3698,2590,1742,1641,2132,2000,1748,2374,2872,2853,3241,3062,2866,2592,2618,2811,2930,3038,3036,3060,2647,3022,3090,2710,2217,2137,2336,1737,1804,2007,2053,2159,2427,2583,2744,3252,3764,3277,2355,2499,2924,2995,3198,3382,3541,3476,3504,3447,3718,3813,3660,3517,3652,3772,4034,3995,3288,3551,3275,3274,3430,3277,3277,3282,3398,3651,3264,2625,2433,2120,2136,2541,2828,2614,2324,2302,2598,2880,3082,3305,3483,3705,3774,3710,3310,2533,3157,3316,3459,3364,3276,3399,2829,2101,2177,2334,1917,1163,1036,1823,2266,2665,2799,3153,3128,2679,2572,2853,2748,2416,2130,2613,3442,3784,2899,3451,3814,3466,3064,2833,2724,2756,2668,1908,1742,2048,2286,2421,2493,2408,2995,2968,2776,3303,3352,3314,3647,2949,2664,3084,3020,2844,2302,1465,1457,1836,1954,1914,2098,2443,2723,2778,2665,2468,1692,1705,2314,2458,2689,2719,2531,1829,1577,2065,2394,2723,3492,3949,2758,2411,2562,3323,3274,3651,4068,3896,3407,3289,3738,3445,2706,2977,3141,3377,3728,3796,3748,3488,3265,2978,3270,3501,3404,2802,2286,2587,2767,2654,2467,2873,2730,1927,1642,2045,2753,3012,3124,3101,2641,2485,2834,2953,3046,3060,3318,3033,2906,2645,2385,2503,3294,3626,3281,3352,3130,3027,3228,2900,3300,3774,3836,2906,2004,1932,2264,2651,2829,2295,1472,1775,2160,2320,2418,2508,2620,2448,2476,2453,2301,2874,3038,2885,3440,3263,2874,2441,2260,2235,2490,2776,2342,1931,2079,2446,2695,2834,2929,2995,3006,2908,3128,3326,3309,2971,2735,2916,2872],[2158,2015,2276,2453,2530,2931,2799,2301,1994,1645,1670,1788,1659,1948,2220,2300,2395,2941,2812,2312,1900,1802,1713,1947,2192,2047,2045,2008,2055,2314,2900,2758,2814,2814,2792,2552,2570,2632,2942,3276,3422,3292,2766,2203,2600,3509,3395,3895,3995,3709,3375,3161,3075,3089,3030,3110,3338,3063,3113,3245,3206,3042,2674,2743,2868,2951,2909,3105,3738,3676,3188,3210,3423,3784,3714,2649,2102,2766,3342,3105,2630,2620,2389,1698,1012,1016,1038,1922,3754,3948,3925,3659,3484,3430,3453,3394,3489,3326,2695,2453,2142,1769,2183,2364,2613,2795,3046,2844,2279,2821,3466,2864,1898,1792,3140,3547,3278,2871,2739,2780,2580,2039,2144,2256,1881,1801,2069,2282,2545,2480,2315,2922,2732,2871,3448,3874,4171,2933,1718,1720,2130,2544,3065,3710,3174,1980,1722,2022,2115,1991,1618,1793,2160,2106,1928,1591,1796,2658,2514,2797,3034,3397,3830,3398,3174,3008,2589,2108,2460,2896,2562,1941,2015,2640,2326,2476,2830,2974,3148,3091,2787,2341,2153,1923,1987,2273,2212,2669,3168,2964,3299,3383,3509,3362,2534,1980,2121,2181,1847,1812,1607,1662,1975,1648,2097,2634,2494,1923,1694,2195,2160,1973,2563,2841,3199,3019,2791,2297,1911,1468,2192,2317,1654,2071,2326,2030,1769,2058,2412,2127,2179,2188,2243,2087,1782,1621,1506,1495,1656,2112,2071,1509,1565,1845,2154,2730,1909,1988,2106,2792,2684,2074,2090,2038,1801,1904,1648,1407,1805,2106,1810,2451,2552,1958,1985,1942,2109,2409,2761,2999,3407,3088,2553,2046,2509,3271,3266,3500,3614,3353,2907,2864,3291,3946,4380,4400,3731,2529,1991,2395,2468,2962,3782,4164,3274,2274,2281,2172,1745,2596,2657,2526,1828,1503,1561,1645,1431,2173,2422,1925,1793,1821,2547,2842,2056,2174,1964,1577,1758,1815,1470,1522,1675,1785,2035,2388,2512,1983,1889,2134,1980,1667,1613,1814,1656,1660,1936,1830,1554,1427,1576,1773,1943,1759,1828,1769,1773,1590,1766,1909,1715,1678,1777,2012,1857,1709,1904,2363,1979,1677,1655,1791,1753,1581,1511,1677,1505,1210,1217,1250,1210,1159,1345,1197,1276,1241,1192,1316,1299,1273,1355,1652,2174,1834,1844,1503,1415,1317,1327,1478,1703,1524,1603,2203,1638,1036,1274,1442,1157,1542,2128,2907,2788,2224,1467,1386,1560,1693,1699,1476,1316,1223,1502,1745,1564,1757,2036,1854,2068,1732,1455,1426,1419,1655,1672,1730,1884,1450,1420,1999,1864,2067,1940,2335,2725,2767,2784,2327,1854,1605,1687,1735,1979,2315,2200,1746,1548,1883,1819,1597,1525,1680,2088,2167,2163,2341,2103,2081,1864,1918,2230,1874,1594,1779,1869,1880,2223,2662,2314,1916,2229,2629,3302,3443,3340,3821,3728,2846,1862,1488,1482,1700,1765,1530,1629,1618,1961,1729,2025,2493,2336,1936,1908,2128,2226,2637,2576,2293,2314,1825,1782,2169,2204,1650,1421,1179,666,795,1760,2515,2476,2097,1737,1611,1642,1758,1526,1438,1407,1469,1689,1515,1522,1447,1444,1504,1540,1730,1742,1582,1801,1757,1561,1739,1945,1939,1849,1586,1614,1500,1754,1713,1907,2110,1818,2023,2098,2168,2308,2544,2945,2838,3042,3562,3559,3333,2432,2286,2666,2939,2707,2161,2045,2054,2238,2612,3032,2973,2498,2853,2675,2566,2681,3367,3861,3860,3984,3679,3205,3067,3145,3186,3486,2939,2835,2577,2389,2252,2451,2491,2533,2852,3203,2757,2388,2431,2446,2325,2013,2156,2294,2271,2059,1878,1844,2223,2381,2293,2545,2270,2093,2241,2126,1996,2182,2211,2055,2076,2165,2036,1931,1852,1830,1688,1836,1654,1806,1761,1735,1787,1981,1814,1705,1838,1776,1976,2432,2199,2657,2820,2073,1758,1959,2027,1894,1561,1593,1817,1880,2120,2519,3074,2598,1855,1601,1643,1760,2420,2477,1976,2225,2818,2858,2968,2955,2026,1582,1520,1559,1636,1555,1743,1573,1520,1702,1678,1535,1624,1457,1440,1875,2072,2511,2162,2122,1874,1463,1456,1771,2139,2786,3168,3140,3182,3273,2863,2580,2633,3296,4062,3550,3698,4036,3751,2901,1925,1659,1543,2680,3017,3022,3219,2878,2921,2988,2822,2911,2962,2790,3008,2881,2713,2500,1841,1743,1584,1480,1647,1868,1792,1373,1417,1671,1928,2248,2543,2654,2186,1844,2006,2841,3082,2753,2664,2834,3322,3309,3325,3480,2971,2644,3115,3395,3138,3263,3439,3151,2853,3146,3413,3471,2480,1477,1505,1533,1948,3317,3608,3835,3798,3679,3880,4220,4468,4260,3896,3871,3892,4308,4645,4328,4015,3953,3985,4209,4284,4200,4077,3963,4002,3884,3475,3396,3680,3413,3500,3498,3804,4028,3871,3995,4168,4373,4245,3913,3594,2552,1408,1793,3307,3406,3265,3642,3507,3473,3576,3433,3472,3877,3805,3393,3095,2491,2071,2076,2262,2106,1636,1531,1762,2025,2097,2180,2464,2666,2269,1938,1970,1952,2090,2169,2034,1902,1923,2125,2431,2136,1957,2043,1893,2072,2356,2032,2240,2191,2101,1541,1493,1576,1747,2083,2322,2446,2410,2386,2226,2641,2226,1611,1596,1853,1754,1955,2322,1954,1834,2130,2225,2329,2087,2249,2338,2194,1901,1618,1861,2441,2789,2806,2382,2014,1967,2115,1857,1871,1587,1752,1829,1917,1758,2136,2470,2509,2483,2385,2305,2404,2352,2261,2172,2441,2428,2108,1745,2043,2288,2263,2296,2576,2888,3138,3349,3863,3946,3624,3452,3529,4045,4284,4333,3803,2974,3408,4124,3537,2831,2788,3016,4187,4643,3848,2726,2906,2579,2053,2756,3331,3081,2979,3409,3432,2730,2709,3358,3533,3614,3797,3464,3152,2763,2009,1715,1648,1776,2008,2163,2456,1542,1749,2382,2443,2317,2163,2007,2145,2364,2190,2020,1890,1721,1960,1800,1710,1476,1523,1528,1628,1729,2103,2689,2511,2282,2210,2150,2160,2217,2265,2731,2482,2008,2019,2352,2570,3222,3726,3784,3674,2332,1361,1743,2346,1975,1483,1665,2265,2089,1666,1569,1649,1919,2027,2745,2811,3330,3274,2118,1776,2501,2348,1863,1910,2165,2512,3054,3530,2954,2297,2004,2272,2656,2368,2004,2261,2378,2595,2446,2360,2447,2020,1981,2136,2199,2452,2572,2769,2950,3100,3166,3012,2691,2101,1616,1491,1780,1632,1465,1807,2197,2422,2689,2641,2506,2865,2365,1942,2684,3046,2416,2094,2025,1942,2191,2359,1949,1507,1600,1940,1776,1775,1879,1709,2190,2355,2293,2178,1890,2075,2325,2458,2373,2266,2248,2579,3029,2626,2114,2090,2207,1958,2299,2470,2851,2751,2708,2302,1835,1765,1585,1511,1453,1484,1938,1708,1665,1451,1478,2194,2636,2625,2313,2361,2752,2757,1828,2008,2890,2323,1706,1770,2303,2281,1744,1455,1831,2154,1799,1770,2269,2148,1751,2123,2179,2026,2188,2094,1649,1614,1433,1504,1612,1652,1784,1694,1662,1570,1458,1389,1511,1669,1889,1683,1265,1952,3087,3243,2953,2987,3166,2964,2004,1719,1732,1820,1998,1881,1632,1603,1700,1803,1571,1750,2341,2283,3081,4185,4309,3182,2386,2089,1809,2065,2402,2277,2132,2363,1982,1642,1744,1768,1699,1702,1921,2113,2023,1710,1509,1570,1536,1848,1848,1581,1564,1633,1788,1896,1911,1678,1479,1501,1439,1356,1400,1348,1471,1379,1371,1504,1523,1456,1910,1994,2071,2244,1759,1487,1504,1531,1762,1772,1767,1546,1566,1449,1520,1426,1653,1797,1693,1926,2471,2502,2025,1875,1656,1980,2046,2695,2395,1750,1807,1714,1632,1902,1942,1937,2170,2254,1949,1816,1878,2021,2232,2348,2463,2420,2719,2898,2199,2094,2511,2619,1994,2135,2041,2038,1859,1554,1806,2171,2453,2676,2311,2289,2526,2933,2540,1884,1890,2502,3340,2823,2457,2639,2207,1880,1763,1669,1749,1847,2990,3255,3084,2922,2564,2172,2218,2534,2477,2013,1884,2402,2521,2629,2413,2010,2101,2759,2856,2692,2754,2810,2696,2437,2207,2079,1893,2104,2124,1688,1515,1594,2146,1759,2114,2322,1973,1779,1791,2001,2153,1977,1940,2150,2060,1597,1515,1709,2285,2714,2686,2854,2785,2290,2202,1875,1756,1924,1788,1742,1807,2461,2676,2229,2276,2155,2009,2137,1714,1605,1556,1655,1627,1732,1922,2024,2158,2328,2123,1878,1696,2125,2646,2424,2696,2191,3132,2895,2495,2608,2440,1909,1888,2218,1776,1936,2251,2250,3112,3128,2610,2706,3742,3885,3393,2687,2265,2612,3435,3727,3558,3049,2654,3051,3505,3018,2003,1566,1587,1687,1801,2262,2495,2483,3087,3438,3366,3204,2686,2562,2526,2524,2676,2905,2675,2321,2420,2111,2069,1610,1956,2048,1508,1570,1988,2365,2327,2357,2490,2744,3091,3198,3134,2527,2387,2361,2665,3089,3470,3595,3532,3594,3838,3705,3230,3705,3639,3462,3850,4046,3498,3215,3732,3794,3573,3505,3609,3553,3107,2895,3425,3598,2913,2709,2569,2577,2985,3329,3137,2787,2626,2576,2723,2972,3341,3562,3747,3920,3674,3145,2685,2818,3082,3366,3440,3773,4095,3474,2591,2373,1945,1897,1537,1331,1715,2390,2726,2863,3204,3212,2619,2930,3293,3077,3067,2013,2362,3119,3297,2832,3109,3299,3209,3060,3063,2691,2327,2237,1323,1482,1882,2057,2444,2360,2610,3323,3456,3297,2790,2482,2591,3150,3006,2762,2978,3178,3284,2946,1881,1779,2066,2113,2187,2056,2269,2725,2655,2170,1708,1801,2346,2420,2402,2414,2452,2210,1771,1889,2377,2394,2630,3709,3921,2818,2909,3118,3313,3207,3408,3731,3718,3408,3255,3319,2417,2248,3450,3770,3460,3458,3586,3885,3960,3772,3768,3865,3624,3429,3200,2575,2435,2453,2379,2419,2486,2513,2552,3101,3470,3139,3164,3609,3074,2415,2363,2744,2852,2951,3139,3339,2907,3011,3074,2631,2400,2883,3508,3686,3538,3485,3478,3194,2610,3090,4118,3707,2624,2228,2328,2566,2487,2473,1954,1447,1477,2214,2360,2410,2381,2206,2482,2637,2591,2755,2661,2379,2245,2437,2149,1853,1693,1618,1588,2104,2735,2449,2188,2353,2635,2712,2691,2904,3437,3518,3481,3625,3608,3487,3510,3106,2584,2270],[2287,2408,2570,2108,1879,2268,2931,3074,2498,1874,2182,2614,2719,2667,2134,2021,2287,2570,2288,1951,1946,2126,2114,2059,2274,2367,2339,2248,2199,2201,2735,2821,2532,2626,2702,2688,2722,2562,2372,2397,2856,2800,2657,2567,3031,3670,3593,3750,3660,3417,3436,3351,2866,2731,2750,3207,3466,3249,3018,3094,3172,3046,2888,3027,2941,2749,2700,2817,3039,3167,3006,3055,3122,3144,3244,2773,2580,2732,2912,2876,2732,2643,2285,1721,1042,962,930,1289,3165,4004,3928,3664,3383,3288,2888,2501,3155,2820,2636,2578,2520,2243,2265,2169,2510,2697,2678,2553,2338,2653,2674,2070,1480,1772,3432,4108,3510,3055,2836,2541,2060,1686,1783,2245,2030,2221,2232,2378,2233,2040,2309,2472,2556,3083,3664,3509,2644,2057,2032,1725,1922,2287,2953,3022,2451,1985,2202,1858,1864,2068,2170,2412,2462,2247,2264,1793,1526,1793,2384,2976,2818,3019,3406,2886,2590,2822,2812,2372,2286,2530,2415,2083,1958,2358,2225,2409,2623,2902,3181,3155,2525,1953,1772,1925,2435,2625,2491,2977,3054,2855,2820,3250,3240,2544,2154,2193,2365,1847,1805,2018,2199,2174,2432,2163,2447,2354,2107,2062,1971,2342,2233,1819,2337,2806,2586,1774,2155,2050,1633,1220,1816,2088,1705,1805,1825,1865,1807,1724,2121,2179,2312,2535,2342,1985,1749,1614,1685,1914,1772,1833,2255,2118,1931,2084,2182,2342,2136,2009,2071,2330,2258,1995,1847,1666,1682,1787,2083,2230,1638,1693,1976,1956,1901,2122,2054,1839,1958,2320,2552,2818,3250,3300,3252,2667,2730,3444,3588,3436,3450,3517,3415,3176,3259,4151,4372,4049,4099,3326,2818,2570,2392,2854,3632,3950,3418,2871,2352,2127,2190,2811,3287,3191,2333,1531,1521,1656,1622,2222,2620,2156,2121,1800,2310,2668,2162,2157,2105,1690,1831,1873,1560,1624,1546,1422,1831,2443,2613,1956,2144,2282,1948,1719,1588,1544,1617,1633,1708,1563,1490,1424,1803,1904,1970,1753,2101,1957,1887,1695,1582,1775,1949,1755,1828,2371,2050,1661,1831,2082,1687,1637,1719,1759,1628,1587,1787,1816,1571,1405,1368,1383,1252,1128,1189,1264,1189,1163,1189,1228,1268,1584,1891,1732,2096,1614,1504,1407,1267,1171,1338,1666,1593,1237,1719,1796,1278,1351,1688,1458,1292,1436,1615,2531,2783,2105,1384,1118,1213,1486,1451,1557,1296,1067,1418,1847,1437,1497,1668,1860,1998,1708,1813,1652,1437,1555,1599,1550,1920,2056,2100,2430,2203,1950,1692,2054,2558,2864,2461,1645,1740,2055,1809,1765,2496,2586,2147,2015,2042,1641,1262,1333,1434,1589,1860,1884,2135,2390,2468,2246,1914,2392,2498,2091,2113,2291,2062,1982,1979,2293,2376,2631,3042,2611,2359,2068,2492,3042,2739,2253,1805,1678,1749,1549,1634,1683,1651,1856,1778,1898,2118,2624,2862,2177,1832,1895,2160,2613,2503,3104,2712,1897,1587,1986,2216,1855,1489,1024,651,1072,1808,2199,2501,2341,1953,2008,2364,2094,1620,1431,1438,1924,1920,1750,2093,1609,1644,1608,1786,1814,1686,1572,1626,1589,1497,1860,1940,1734,1809,1737,1592,1573,1872,1982,2047,1721,1744,2025,2160,2225,2395,2578,2697,2252,2627,2981,3523,3210,2271,2501,3210,3333,2853,2046,1816,1868,1892,2281,3009,2944,2742,3031,3061,2595,3051,3703,3726,3923,3983,3509,3259,3167,3278,2893,3133,2893,2631,2516,2433,2369,2543,2700,2856,3298,2983,2190,2524,2691,2326,2284,2573,2498,2216,1873,1603,1616,1706,2315,2764,2551,2670,2476,2376,2265,2114,1975,2053,2075,2139,2065,1990,2331,2259,1799,1799,1956,2172,1765,1801,1881,2308,1940,1722,1947,1911,1942,1834,1741,1801,2041,2624,1895,1746,1983,2271,2150,1752,1590,1938,2264,2374,2184,1944,2110,2224,1935,1554,1655,1759,2023,2150,2187,2366,2687,3222,3522,3218,1948,1556,1591,1961,2000,1688,1698,1532,1425,1717,1718,1478,1500,1426,1433,1717,1765,2311,2076,1995,1801,1414,1597,1874,2327,2680,2939,2900,3067,3322,3483,3351,3242,3365,3961,3066,3231,4385,4225,3682,2635,2024,1935,2661,2656,2718,3041,2750,2786,2940,2809,3090,3252,3460,3604,3183,3008,2388,1649,1699,1591,1410,1344,1550,1578,1426,1389,1816,2441,2379,2360,2130,1731,1408,1939,2098,1839,2011,2354,2803,3422,3535,3460,3232,3334,3132,2750,2928,3122,3294,3205,2974,2971,3122,3552,3884,3222,2460,2071,1783,2455,3243,3448,3722,3740,3667,3884,4067,4036,4128,4240,3946,3664,3993,4364,4156,3882,3894,3942,4124,4241,4152,4000,3951,4062,3828,3311,3288,3724,3662,3758,3771,4164,4449,4026,3950,4300,4431,4042,3596,2652,1645,2124,2937,3676,3684,3780,3746,3470,3410,3576,3653,3764,3880,3617,3441,2974,2348,1929,1912,2186,1890,1586,1929,2111,2144,2183,2121,2107,2242,2186,1864,1910,2096,2092,1997,1972,2125,2033,2120,2208,1960,1996,1888,2099,1772,1859,1908,2524,2554,2099,1612,1532,1626,1708,1816,2093,2588,2846,2951,2736,3111,2219,1361,1536,2272,1939,1792,2110,2236,2024,2026,2402,2444,1905,1864,2139,2334,2052,1717,2027,2444,2640,2526,1907,1906,1846,1781,1759,1704,1462,1488,1760,2070,2232,2554,2325,1896,2107,2268,2265,2392,2523,2789,2362,2432,2527,2273,2019,2197,2533,2264,2297,2409,2593,3085,3564,3827,4100,3737,3273,3205,3227,3404,3671,3318,2600,2924,3903,3724,2831,2989,3437,3960,4553,3936,2509,2200,2208,2025,2595,3352,3328,3545,4121,3963,2871,2525,3129,3233,3342,3495,3407,3196,2543,1952,2034,1678,1615,1890,2051,2724,2613,2197,2357,2752,2422,2125,2492,2645,2625,2170,1872,1855,2148,2002,1569,1584,1708,1693,1884,1930,1748,2182,2235,1866,2118,2223,2276,2089,2070,2057,2287,2303,1957,2188,2574,2744,3316,3996,4133,3313,2038,1438,1482,1911,1582,1574,1683,1816,1684,1615,2159,1886,2101,1853,2344,2637,3249,3319,2373,1858,2084,2244,2123,1959,2078,2480,3560,3716,3020,2491,2279,2012,2270,2437,2400,2713,2512,2174,2588,2612,2306,2048,2245,2282,2111,2410,2751,2578,2168,1937,2124,2434,2375,1722,1831,2043,2575,2147,1679,2249,2358,2698,3106,2747,2756,2853,2335,2102,2365,2419,2136,2246,2114,2098,2249,2220,1862,1418,1720,2129,1916,1925,2281,1830,2220,2518,2485,2491,2074,1987,2118,2102,2181,2005,1904,2043,2406,2180,1578,1506,1650,2148,2294,2040,2387,2679,2770,2766,2045,1603,1488,1586,1556,1605,2163,1726,1502,1497,1779,2263,2458,2344,2336,2624,2966,3073,2078,2653,2713,1885,1460,1473,1627,1861,1790,1798,2471,2508,2029,1846,2072,2072,2238,2063,1976,1877,1647,1516,1730,1598,1377,1733,1663,1691,1675,1628,1725,1664,1566,1506,1137,1509,2405,2049,1451,1658,2335,2250,1893,1990,2249,1939,1516,1633,1703,2030,2222,1888,1808,1649,1669,1783,1414,1477,2462,2382,2897,3963,4164,3637,3265,2723,2233,2273,2386,2448,2429,2702,2843,2338,1801,1649,1535,1606,1796,1896,1903,1613,1527,1620,1393,1387,1487,1409,1307,1380,1527,1676,1803,1842,1851,1795,1763,1672,1485,1600,1494,1446,1396,1505,1489,1954,2280,1944,2062,2139,1699,1494,1784,1707,1685,1633,1627,1588,1454,1515,1471,1578,1729,1667,1757,1646,1802,1838,1798,1726,1599,1882,1715,2036,2503,2411,1797,1801,1460,1747,2178,2321,2172,1996,1762,1710,1819,1911,2214,2310,2402,2646,3002,3288,2565,2042,2395,2202,2104,2377,2002,1660,1939,2147,2339,2220,2277,2686,2351,2384,2432,2592,2525,2331,2204,2746,3462,3602,3327,2708,2166,1932,1673,1737,1785,2005,2894,3249,2912,2402,1929,1672,1791,2043,1923,1574,2120,2540,2462,2803,2482,2304,2387,2681,2467,2182,2713,2584,1930,2197,2620,2224,1879,2164,2130,1649,1466,1446,1460,1423,1572,1867,1948,1617,1931,2194,1663,1555,1854,2112,1990,2012,1743,1810,2532,2905,2818,2941,2994,2574,2153,2061,1990,1837,1670,1641,1730,2437,2499,2163,2294,1903,2009,2354,1903,1882,1675,1633,1626,1565,1764,1917,2037,2060,2272,1976,1489,1581,1770,1991,1992,1891,2845,3100,3066,3160,2964,2282,2312,2638,2388,2155,2147,2481,3095,3399,2621,2624,3282,3282,3042,2740,2247,1932,3352,4323,4428,3312,2948,3325,3377,2476,1683,1468,1675,2121,2129,2121,2246,2340,2854,2177,2717,3052,2374,2258,2490,2604,2821,2823,2633,2299,2161,2101,2032,2123,2461,2464,1974,1706,2077,2583,2801,2508,2312,2621,2423,2266,2142,2336,2276,2176,2743,3183,3458,3713,3952,4152,4148,3329,3144,3765,3610,2774,2304,2742,2966,3132,3585,3860,3796,3693,3652,3519,3005,2429,2804,3442,3160,2883,3036,3272,3547,3561,3036,2617,2743,2824,2832,2968,3196,3386,3472,3492,3353,2858,2322,2285,2720,3189,3572,3924,3902,3473,2843,2292,2105,1993,1941,2110,2467,3121,3392,3197,2855,3003,2742,2952,2836,2924,2690,2199,2755,2920,2633,2514,2508,2517,2495,2673,3176,2521,1958,1674,1186,1330,1674,2116,2521,2570,2813,3023,2896,3003,2646,3078,2790,2132,1870,2216,2577,2690,2885,2537,2144,2457,2636,2800,2800,2350,2399,2456,2421,1804,1931,2469,2591,2578,2554,2267,1820,1202,1346,1868,2402,2212,2424,3204,3044,3031,2978,2324,2260,2775,3188,3647,3858,3212,2410,2508,2149,2568,3587,3761,3623,3782,3973,4095,4243,3960,3812,3931,3764,3660,3410,2701,2200,2348,2808,3100,2786,2721,3100,3529,3752,3794,3875,3485,2624,2301,2548,2880,2936,3177,3254,2851,2525,2598,2687,2920,3124,2840,3354,3724,3469,3485,3072,2769,2528,2932,3398,3001,2975,2824,2710,2651,2532,2310,1935,1946,2280,2862,2874,2715,2466,2712,3007,2722,2685,2997,3434,2521,1765,1682,1627,1569,1563,1655,1773,2311,2701,2286,2393,2401,2465,2547,2589,2654,3422,3748,3904,3725,3417,3621,3677,3294,2713,1951],[2730,3129,3250,2957,2697,3096,3927,3624,3194,2820,2629,2499,3287,3184,2543,2303,2280,2253,2416,2700,2932,3217,3050,2353,2302,2367,2333,2242,2267,2381,2778,2921,2817,2664,2596,2806,2874,2617,2480,2482,2319,2282,2675,2957,2956,2720,3022,3593,3537,2932,3400,3594,3183,3130,3282,3355,3255,3132,2784,2777,3052,3288,3275,2871,2380,2256,2474,2699,2480,2641,2711,2573,2351,2804,3334,2956,2522,2400,2475,2613,2885,2997,2344,1667,1123,969,998,940,2343,3775,3673,3380,3294,3084,2768,2677,3008,2910,2952,2995,2671,2513,2841,2899,2588,2510,2604,2253,1698,2287,2188,1645,1783,2633,3523,3630,3054,2695,2490,2058,1776,1503,1543,2203,1615,1591,1643,2092,2408,2234,2611,2428,2219,2761,2943,2131,1603,1877,2174,1679,2320,2843,2505,1829,1768,1904,2398,2375,2266,2811,2928,2706,2663,2371,2090,1990,1606,1564,2475,3050,2957,3051,2955,2712,2778,3050,3339,2918,2505,1848,1709,2243,2644,3082,2897,2294,2212,2640,3013,2899,2236,1776,1773,2685,2984,2674,2768,3343,3275,2460,2234,2780,2618,2294,2553,2564,2532,2293,2547,2747,2721,2164,1976,2416,2885,2725,2393,2020,2032,2307,1952,1964,2557,2958,2565,1934,2059,2234,2221,1753,1626,1896,2042,2491,2171,2158,2004,1509,1780,2129,2100,1885,1993,1878,1646,1708,1887,1903,1865,1976,2193,2245,2632,2663,2422,2096,2436,2903,3028,2762,2264,1903,2082,2243,2286,2185,2646,2543,1776,1803,1933,1692,1811,2173,2266,1851,1760,1974,2580,3278,3335,3445,3581,3040,2910,3579,3566,3132,3334,3331,3114,3458,3889,4038,4028,4024,4196,3916,3419,2727,2489,2709,3447,3851,3141,2445,2074,2343,2459,2958,3628,3320,2102,1403,1525,1591,1645,2083,2363,2111,2057,1749,2173,2032,1831,1738,1637,1547,1794,1874,1680,1608,1642,1629,1666,1745,1798,1588,2068,2164,1619,1429,1564,1897,2116,1956,1839,1592,1948,1878,1883,1736,1533,1666,1892,1967,2014,1643,1611,2044,2147,1807,1809,2236,2270,1879,1573,1536,1692,1803,1764,1697,1860,2046,2083,1790,1449,1462,1480,1433,1300,1231,1311,1382,1256,1100,1131,1225,1366,1615,1631,1622,1724,1708,1591,1633,1421,1192,1418,1659,1401,1245,1595,1259,1422,1533,1745,1757,1849,1901,2044,2569,2631,2127,1656,1344,1175,1290,1041,1125,1090,1056,1339,1510,1445,1666,1751,2066,2170,1960,2207,1857,1982,2006,1836,1570,1837,2430,2446,2463,2303,2001,1743,1756,2131,2531,2010,1590,1729,2413,2249,1992,1948,2234,2179,2425,2762,1998,1419,1632,1350,1451,1584,1482,1932,2504,2859,2131,2068,2859,2830,2474,1953,1775,2002,2036,1961,2033,2411,3035,3309,2453,1895,1583,1769,2250,2265,2152,2216,1808,1783,1454,1564,1579,1687,1938,1867,1801,1720,2217,2646,2059,1827,1617,2047,2056,2263,3149,3480,2884,2376,2274,2134,1984,1777,1344,979,1388,1887,1732,1859,1660,1813,1949,2070,1870,1562,1481,1490,2054,1788,2005,1969,1619,1684,1947,2303,2107,2145,2104,1746,1551,1509,1552,1528,1561,1588,1760,1380,1665,2510,3095,2365,1680,1741,1815,1969,2249,2534,2608,2520,2436,2323,2742,3451,2905,2412,2787,2770,2719,2377,1741,2100,1808,1900,2885,3279,2666,3030,3060,2305,2341,3222,3641,3817,3786,3631,3435,3450,3435,3458,3331,3027,2607,2401,2413,2486,2453,2420,2742,3040,3391,3353,2928,2289,2200,2106,2319,2346,1985,2034,1979,1628,1730,1734,2474,2589,2132,2298,2311,2412,2388,2159,2194,2393,2380,2434,2404,2514,2565,2294,1977,2332,2458,1955,1687,1772,2238,2565,2166,2361,2551,2086,1904,1805,1550,1651,1833,1863,1471,1663,1932,1892,1785,1737,1692,1785,1859,2158,1931,1809,1918,1826,1784,1657,1599,1794,2041,2076,2070,2685,2873,2854,3400,3520,2698,1893,1955,2336,2227,2129,1877,1658,1363,1471,1558,1425,1455,1534,1434,1718,1830,2020,2018,2030,1737,1572,1377,1731,2544,2800,2916,2684,2885,3262,3518,3573,3199,3031,3107,2742,3225,3705,3652,3676,3094,2010,2477,3083,3204,2868,3060,3160,2778,2507,2789,3226,3372,3576,3362,3242,2836,1843,1547,1799,1816,1405,1557,1930,1600,1472,1777,2532,3051,2478,2258,2320,2031,1673,1977,1899,1896,2303,2752,3184,3451,3297,3212,3197,3626,3489,3072,3124,3316,3172,2942,2941,3096,3243,3412,3774,3944,3728,3133,2779,2950,3140,3264,3316,3297,3532,3938,3991,3746,3994,3929,3670,3691,3749,3837,3848,3825,3847,3905,4120,4074,3861,3873,3972,4030,4034,3731,3643,3791,3694,3731,3981,4440,4428,4045,4020,4244,3946,2737,1820,1501,2833,3577,3660,3651,3652,3708,3749,3688,3459,3651,3829,3776,3535,3364,3029,2453,1971,1583,1624,1904,1682,1761,2116,2134,2145,2204,2128,2044,2069,2094,1887,1948,2065,2096,2102,2280,2469,2075,1903,1820,1699,1910,1932,2281,1967,1944,1726,1968,2480,2372,1816,1519,1520,1543,1625,1797,2106,2411,2351,2412,2695,2160,1537,1869,2140,1835,2099,1876,2240,2017,2106,2437,2367,2265,2159,2164,2210,2201,1908,1995,2447,2303,2047,1596,1751,1888,1843,1631,1610,1535,1422,1829,2047,2310,2654,2217,1874,2161,2374,2546,2513,2665,3210,2513,2323,2615,2412,2162,1888,2287,2430,2331,2634,2792,2740,3173,3637,4333,4191,3485,3021,2509,2573,3296,3816,3194,2962,3984,4264,3396,3839,4140,4281,4805,4432,3231,2330,2203,2525,3226,3797,4060,4482,4769,4345,3238,2629,2933,3349,3367,2995,2866,3270,2979,2614,2633,2039,1747,1796,1930,2276,2043,1764,2607,3399,2887,2105,2243,2355,2193,2040,1773,2062,2302,1893,1758,1627,1572,1853,2222,2130,1699,1862,2014,1830,2137,2247,2242,2142,1793,1818,2186,2333,2467,2370,2591,2397,2573,3177,3478,2221,1932,1837,1591,1492,1562,1770,1659,1696,1815,2433,2940,1948,1754,1649,2046,2603,3045,2699,2093,1920,1762,2122,2435,2555,2154,2372,3130,2808,2291,1781,1563,1341,1957,2945,3210,2957,2407,2292,2343,1852,1991,2470,2854,2890,2458,2504,2623,2109,1422,1434,1876,2141,2345,2069,1946,2216,2429,2261,2351,2399,2357,2836,3133,3178,3153,2764,2129,2134,1970,1920,2062,1979,1966,1904,1748,1733,1745,1914,2463,2246,2290,2360,2640,2031,2185,2162,2059,2336,2130,2143,2148,2209,2318,2083,2012,2513,2652,2330,1712,1580,1510,1969,2364,2541,2601,2543,2689,3142,2599,1719,1641,1837,1661,1615,1931,1691,1482,1682,1977,2263,2667,2857,2957,2952,3165,2967,2523,2816,2808,2191,1493,1510,1858,2086,1887,2040,2681,2059,1611,1811,2005,2037,2020,1870,2205,2201,1596,1758,1924,1556,1621,1905,1978,2143,1811,1657,1812,1671,1479,1241,874,1225,1588,1485,1485,1425,1585,1559,1476,1567,1715,1554,1379,1405,1768,2198,2000,1708,1637,1636,1624,1642,1455,1360,2260,2382,2578,3732,3933,3674,3507,2965,2612,2577,2498,2247,2029,2174,2658,2728,2225,1525,1322,1562,1805,1837,1847,1452,1414,1460,1286,1214,1248,1238,1301,1398,1437,1468,1510,1661,1703,1781,1877,1826,1615,1667,1544,1372,1388,1467,1544,1713,1713,1712,2137,2184,2026,1956,2208,1803,1515,1373,1593,1693,1648,1597,1710,1831,2014,1975,1676,1847,1749,1462,1497,1615,1830,1964,1987,2109,2077,2195,1730,1453,1232,2457,2780,2235,1950,1863,1739,1479,1430,1966,2542,2605,2431,2414,2733,2889,2169,2177,2086,2097,2577,2828,2574,2436,2299,1892,1964,1786,2348,2359,2108,2346,2233,2233,2185,2316,2601,2644,2713,3244,3182,2979,2567,2216,2244,2111,1962,2196,2374,2029,1732,1771,1624,1478,1834,1857,1555,2179,3147,3407,2786,2369,2205,2523,2608,2325,2120,2442,2825,2437,1596,1972,2490,2194,2096,2218,1958,1424,1386,1482,1354,1592,1510,1524,1651,1841,2214,2314,1869,2061,2308,1919,1688,1736,1618,2163,2766,2730,2700,2846,2524,2797,2932,2934,2574,2108,1864,1805,2411,3156,2412,2176,2149,1854,1907,2333,2084,1789,1699,1991,1912,1631,1599,1877,2054,1860,2001,1704,1558,1674,1838,1952,1781,1681,2035,2810,3074,2923,2932,2333,2648,2186,2581,2290,1782,2530,3328,3583,3237,3125,3363,2829,2146,2200,2137,2640,4167,4579,4083,2731,2730,3208,2695,1706,1334,1242,1491,1983,2292,1715,1843,2209,2343,1865,2699,3140,2431,2325,2342,2446,3095,3540,3506,2944,2265,2431,2211,2226,2447,2648,2502,2238,2201,2640,2997,2677,2663,2871,2654,2420,2078,2314,2129,1968,2611,3205,3369,3645,3806,4432,3946,3263,3488,3659,3205,1892,813,1267,2298,2865,3015,3099,3050,2916,3264,3316,3611,3516,2915,2576,2481,2864,3326,3538,3638,3661,3353,3183,3099,3305,3240,2980,2849,3061,3049,2849,2997,3005,2807,2374,2742,3488,3802,4012,4001,3544,3134,2776,2577,2425,2898,3266,3145,3518,3692,3391,2716,2696,2487,2423,2868,2754,2551,2747,2770,2729,2664,2897,3172,2956,2480,2291,2700,2800,2461,1734,1205,1189,1639,2444,2784,2286,2493,3416,3263,2636,2554,2811,2507,1593,2250,2644,2098,2232,2245,2201,2332,2604,2890,2911,2407,2525,2751,2272,2600,2932,3260,3100,2332,2241,2055,2029,2046,1219,1319,1996,2641,2752,2732,2812,2851,2776,2255,1984,2354,2904,3133,3818,3996,2735,2241,2309,2225,2452,3171,4018,4320,4143,3770,3793,4341,4119,4075,4117,3609,3496,3461,2846,2221,2603,3305,3193,2753,2788,3189,3529,3812,4206,3483,2665,2134,2310,2946,2962,3094,3356,3089,2882,2768,2667,2498,2528,2656,2788,3434,3708,3651,3506,3441,3408,2945,2854,2997,3122,3128,3095,2891,2719,2713,2512,1951,2115,2714,2876,2750,2638,2536,2922,2865,2415,2829,3332,3114,2251,1735,1675,1675,1675,1691,1766,2040,2492,2648,2381,2339,2383,2278,2514,3061,3284,3542,3594,3875,3841,3697,3748,3702,3454,3139,2456],[2761,3260,3517,3469,3448,3783,4054,3648,3727,3882,3536,2971,3174,2858,2534,2371,2443,3016,3242,3320,3326,3284,3149,2402,2225,2352,2540,2597,2830,3133,3166,3172,2932,2719,2737,2676,2535,2491,2482,2487,2402,2286,2706,3173,2976,2791,2896,3342,3519,2864,3429,3781,3875,3948,3990,3588,3184,3065,2990,2752,2544,2776,3054,2720,2070,2109,2589,2836,2472,2424,2646,2335,2211,3054,3694,3356,2617,2387,2260,2790,2932,3015,2688,1910,1162,978,1121,1039,1717,3124,3615,3441,3572,3059,2674,2842,2867,2964,2657,2397,2524,3037,3804,3659,2878,2608,2612,1824,1506,2230,2363,1886,1877,2640,3120,2807,2634,2632,2643,2329,2434,2257,2567,2740,1825,1485,1904,2337,2172,2133,2486,2321,2082,2310,2273,1699,1982,1961,2337,2189,2277,2260,1917,1674,1805,1986,2420,2735,2403,2588,2757,2272,2404,2387,2002,1698,1464,1687,2126,2830,3649,3342,2495,2541,3256,2965,2632,2562,1951,1686,1725,2046,2498,2740,2446,1846,1876,2157,2803,2825,2129,1732,1630,2268,3188,2683,2248,2473,2729,2657,2296,2144,2274,2900,2965,2557,2398,2465,2706,2859,2954,2416,1824,2418,2686,2314,2002,1643,1757,2163,2623,2392,2369,2253,2260,2110,1714,2104,2360,1928,1756,2059,2414,2763,2176,1714,1540,1613,2071,2434,2068,1729,1885,1717,1612,1701,2004,2051,2476,2297,2046,2190,2953,2853,2189,2280,2610,2916,3225,2696,2061,1941,1926,2445,2552,2502,2175,2093,2306,1913,1619,1620,1742,2142,2465,1955,1882,1958,2489,3299,3334,3150,3462,3276,2979,2830,3090,2886,2967,2919,2978,3097,3492,3829,3794,3598,3698,3876,3582,2812,3028,3522,3978,3898,3204,2741,2468,2712,2669,2799,3292,2922,1816,1442,1494,1613,1713,2177,2378,1955,1832,1828,2316,2289,2138,2018,1511,1394,1566,1554,2002,1724,1522,1845,1626,1553,1554,1464,1848,1936,1544,1763,2486,2765,2832,2709,2558,2532,2675,2416,2455,2340,2304,2286,1860,2025,2302,1707,1883,2137,1772,1575,1830,2005,2044,1918,1702,1721,1598,1655,1860,1729,1937,2172,1927,1438,1364,1377,1322,1332,1488,1692,1562,1224,1108,888,1015,1187,1336,1358,1069,1238,1430,1512,1549,1570,1266,1079,1180,1214,1260,1173,1214,1171,1427,1733,2115,2204,2136,2117,2366,2575,2410,2047,1749,1691,1402,1213,1032,990,1057,1112,1263,1215,1380,1686,1735,2185,2213,1694,1938,1938,1792,1683,1495,1466,1967,2392,2485,2749,2436,1964,1557,1767,2081,2020,1709,1935,2042,2337,2204,2203,2424,2426,2044,2231,3044,2584,1955,1537,1389,1496,1452,1437,1672,2006,2365,2160,2445,3002,2662,2150,1555,2025,2436,1949,1938,1977,2318,2934,3218,2752,2011,1744,1948,2465,2050,1935,2547,1948,1494,1671,1882,1681,1638,1719,1844,2136,1980,2075,2450,2355,1671,1577,2059,2054,2003,2129,2644,2629,2075,2201,2201,1716,1494,1716,1722,1886,2086,1969,1933,1722,1710,1499,1359,1439,1832,1824,1531,1677,1576,2003,1830,1669,1927,2342,2170,1924,2064,2145,1800,1677,1588,1646,1534,1590,1548,1481,1421,1732,2351,2376,1818,1758,1684,1598,2303,2771,2475,2284,2244,2293,2768,3323,3522,2766,2481,2876,2222,1681,1725,1840,1961,1688,2352,3270,2956,2410,2551,2258,2049,2689,3418,3595,3914,3914,3585,3422,3419,3464,3284,3104,2802,2523,2330,2235,2312,2522,2544,2820,2974,3248,3312,3473,2722,2088,2136,2663,2676,1973,1486,1692,1887,1880,1620,1947,2056,2121,2182,2236,2576,2622,2380,2469,2635,2871,3016,3064,2470,2480,2785,2536,2432,2008,1671,1935,2487,2611,2642,2847,2837,2323,2003,2056,1930,1652,1497,1575,1772,1720,1746,1794,1807,2000,1832,1580,1875,1658,1710,1716,1848,1997,1893,1945,1906,2187,2564,2511,2623,2395,2396,2006,1934,2846,2864,2868,2508,2619,2403,1734,1986,1699,1622,1370,1583,1660,1648,1420,1405,1530,1592,1701,2078,2215,1983,1707,1716,1305,2018,2796,3139,3544,3244,3147,2796,3167,3696,3334,2988,2613,2603,2779,2762,2917,3018,3118,2036,2190,2866,2968,3100,3230,3602,3220,2696,3121,3364,3252,3438,3469,3386,2750,1860,1584,1706,1682,1622,1937,2150,2040,2204,2522,2870,2714,2146,2149,2677,2796,2664,2198,1777,2178,3252,3531,3408,3310,3271,3055,3362,3664,3437,3052,3077,3288,3275,3246,3156,3384,3631,3539,3620,3838,3748,3326,3072,3099,3122,3143,3219,3172,3455,3854,4064,3913,4005,3913,3906,3914,3659,3590,3708,3865,3786,3915,4264,4256,3858,3750,4157,4141,4103,4048,4140,4094,3850,3747,3701,3814,3758,3036,2953,3276,2498,1282,967,1899,3264,3536,3579,3772,3751,3709,3904,4057,3630,3394,3369,3630,3419,2817,2238,1950,1628,1557,1649,1602,1636,2109,2274,2248,2126,2192,2116,1975,2017,2025,1936,2011,1990,1868,1871,1906,1996,1589,1635,1816,1907,1969,1742,1758,2084,1980,1788,2025,2358,2344,1996,1682,1720,1771,1620,1967,2525,2370,2009,2369,2756,2765,2222,1860,1968,2455,2654,2256,2610,2652,2458,2231,2160,2454,2669,2115,1838,1969,1862,2045,2071,1697,1606,1565,1770,1903,2026,2113,2379,2004,1407,1780,2123,2125,2258,2092,1631,1553,1901,2579,2952,2768,2580,2109,2154,2418,1930,1874,1813,2204,2508,2645,2831,2720,2094,2420,3392,4164,4164,3098,2708,2597,2830,3517,4140,3347,3334,4123,4415,4560,4438,4018,3982,4244,4475,4332,3482,2990,3382,3994,4202,4077,4152,4332,4240,3381,2633,2967,3052,3046,2586,2480,2758,2875,2752,2382,2193,1839,1711,2237,2744,2213,2106,3191,3260,2584,1956,1878,2124,2148,2156,2271,2654,2366,1828,1623,1364,1479,1762,2177,2698,2085,2128,2186,2252,2587,2598,2601,2224,1603,2086,2322,2131,2071,2016,2076,2436,2197,2292,2304,1731,1851,1863,1614,1667,1699,1444,1289,2008,2099,2662,2417,1808,1866,1984,2313,2786,2858,2325,1899,2199,2083,1849,2451,2625,2081,2223,2556,2306,1820,1112,1187,1553,2019,2996,3155,2644,2722,2642,1995,1561,1908,2257,2842,2878,2398,2430,2410,1998,1738,1660,1826,2326,2592,1752,1403,1924,1829,2197,2587,2289,2941,3248,3151,3120,3055,2728,2260,2192,2083,1854,2036,2170,1815,1536,1435,1212,1708,2382,2625,2009,2010,2139,1991,1826,2025,1899,1816,1642,1743,2027,2496,2740,2596,2431,2720,2507,2370,2176,1917,1679,1484,1521,1827,2414,2797,2692,3040,3546,3278,2613,2317,2113,1693,1579,1838,1664,1476,1794,1955,1832,2020,2404,2555,2808,3178,2996,2651,2386,2681,2542,1841,2342,2610,2097,1975,1914,2221,1920,1737,1759,1676,1628,1721,1947,2098,2098,1910,2081,1852,1742,1622,1865,2012,1851,1718,1773,1815,1782,1510,1084,1215,1377,1426,1386,1456,1537,1380,1332,1386,1334,1233,1153,1153,1435,1895,2000,1816,1642,1578,1549,1518,1491,1432,1340,2031,2608,2311,3482,3733,3704,3476,3153,3133,2956,2785,2520,2211,2196,2320,2446,2244,1846,1812,1973,1858,1832,1844,1508,1445,1458,1407,1314,1175,1229,1391,1471,1302,1409,1487,1366,1327,1322,1630,1806,1789,1760,1638,1510,1383,1487,1528,1458,1585,1770,1966,1710,1622,2043,2725,2434,1453,1440,1656,1627,1571,1715,1794,1668,2060,2208,1780,1765,1656,1421,1497,1696,2004,2050,1793,1588,1263,1295,1497,1528,2062,3220,3262,2486,1990,2116,1780,1271,1643,1977,2674,2735,2553,2512,2692,2544,2286,2222,2167,2841,3457,3319,2917,3069,2328,1818,1876,1844,2509,2338,2092,2088,2008,2228,2418,2576,2819,2568,2218,2539,2646,2607,2275,2271,2218,1963,2128,2170,1885,1648,1594,1636,1892,1902,2358,2099,1813,2220,2858,3131,2523,2294,2796,2938,2319,1973,2346,3189,2768,2378,1694,2540,2476,1798,2365,2265,1730,2097,2185,1728,1402,1601,1503,1478,1440,1678,1891,1979,2154,2247,1993,1938,1886,1523,1631,2674,2986,2619,2841,2296,1980,2498,3219,3714,3287,2462,1989,1932,2236,2825,2493,2019,2068,2340,2142,1871,1765,1756,2019,2309,2066,1795,1609,1788,1847,1719,1613,1688,1880,1732,1941,1940,1707,1726,1847,2409,2595,2808,2902,2526,2335,2272,2398,2292,2256,2874,3516,3399,3306,3312,3421,2496,1690,1830,2259,3310,3716,3496,3151,2798,2797,3000,2743,1764,1387,1396,1408,1399,1409,1396,1842,2574,2553,1928,2208,2773,2805,2668,2390,2535,3321,3792,4033,3253,2646,2614,2651,2862,2678,2409,2409,2107,2193,2612,2785,2479,2713,3212,2978,2310,2509,2990,2887,2972,3183,3282,3577,3625,3431,4074,3881,3816,3531,3352,3376,2631,1769,1476,1859,2718,2924,2754,2807,2869,2820,2963,3178,3352,3090,2140,2091,2524,3095,3318,3392,3334,3060,3016,3121,3382,3441,3144,2941,3088,2944,2908,3292,3370,3231,2940,3413,3948,4042,4034,3933,3495,3153,3088,2908,2884,3321,3146,3171,3498,3073,2390,2358,2580,2451,2326,2632,2634,2878,3066,2862,2734,2875,2879,2750,2873,2964,2367,2286,2451,2544,2252,1964,2094,2727,3166,2991,2034,2396,3388,3829,2813,1962,2250,2665,2448,2930,2928,2444,2388,2119,2120,2451,2678,2894,2886,2386,2232,2010,1972,2922,3666,3352,2918,2710,2824,2178,2302,2933,2146,1969,2232,2081,2117,2648,2790,2998,3426,3261,3408,3349,3338,2795,3531,3443,3002,3125,2453,2215,2494,2999,3913,4498,4144,3448,3426,3916,4070,4261,3874,3488,3510,3405,3018,2421,2576,3305,3178,2720,3007,3183,3604,3669,3885,3065,2752,2901,3190,3292,3097,3116,3072,3055,3010,2920,2653,2214,2288,2277,2956,3451,3510,3629,3481,3698,3408,3041,2995,2940,3244,3044,3089,3247,3104,3030,2387,1778,2382,3211,3276,2577,2325,2589,2847,2755,2480,2636,3250,3097,2336,2216,2488,2488,2579,2433,2345,2482,2835,3078,3349,2913,2548,2526,3044,3291,3418,3418,3105,3875,3942,3650,3418,3243,2983,3104,2950],[3165,3755,3351,3398,3338,3611,3776,3642,3695,3904,3828,3636,3205,2572,2710,2460,2359,2806,3361,3559,3431,3286,3238,3080,3199,3353,3440,3084,3009,3536,3097,2798,2697,2871,2932,3045,2775,2512,2540,2555,2436,2268,2436,2873,3128,3376,3519,3962,3741,2966,3308,3677,3858,3835,3990,4017,3702,3273,3089,2788,2482,2257,2700,2844,2325,2221,2380,2535,2344,2327,2490,2346,2665,3078,3419,3311,2562,2180,2138,3020,3318,3184,2939,2060,1175,1259,2051,2420,2489,2517,3138,3210,3489,3146,3011,2798,2578,2939,2896,2630,3124,3310,3610,3124,2662,2449,1999,1499,1957,2556,2382,2298,2501,2953,3354,3256,3020,2283,2444,2576,2529,2876,3124,2678,2541,2643,2865,3008,2588,2491,2587,2254,2000,2490,2216,2098,2308,2009,2433,2365,1812,1537,1700,2100,2101,1575,1941,2459,2114,2096,2286,2158,2219,2308,2309,2214,1998,1730,1715,1896,2106,2523,2446,2232,2551,2213,1843,2099,1965,2105,2149,2004,2146,2123,1821,1364,1618,1907,2366,2497,2013,1764,1643,2336,3017,2540,1934,1868,2393,2855,2260,1923,2498,2864,2614,2171,2526,2597,2533,2652,2817,2372,2366,2585,2401,2359,2381,1990,1813,2075,3224,2829,2171,2091,2177,2147,1977,2039,2043,1793,1675,1570,2215,2614,2722,2247,1804,2025,2414,2137,1692,1809,1781,2007,2000,1943,2027,1934,2033,2169,2284,2166,2302,2439,2249,2566,2209,2647,3105,2980,2624,2291,2470,2646,2261,2091,1759,1785,2044,2105,2035,2144,2122,1814,2452,2431,2887,2631,2130,2545,2577,2843,3463,3465,3275,2921,3022,2925,2946,2749,2690,3317,3518,3480,3463,3416,3397,3436,3688,3366,3529,4040,4149,3914,3432,3006,2977,3572,3388,2653,2666,2352,1701,1476,1419,1553,1677,2103,2124,1847,1896,1988,2166,2179,2099,1929,1542,1720,1870,1646,2300,2143,1923,1835,1796,2008,1613,1424,2320,2785,2247,2789,3239,3165,2907,2092,2137,2315,2481,2260,2009,2337,2958,2581,2064,1750,1628,1780,1819,1615,1687,1626,1859,1814,1838,1917,1834,1715,1615,1541,1744,1793,1729,1682,1471,1239,1318,1325,1226,1265,1456,1666,1579,1329,1167,1091,1180,1260,1212,1162,1109,1116,1163,1121,1159,1198,1013,990,986,933,1004,1120,1117,1309,1539,1762,2062,1969,1552,1395,1783,2086,1878,1671,1562,1698,1361,1323,1382,1237,1099,1067,1144,1225,1687,1779,1927,2566,2816,1873,1591,1763,1695,1770,1891,1795,1976,2406,2512,2732,2355,1772,1781,2070,2176,2129,2516,2583,2370,2188,1798,1909,2327,2691,2322,1994,2730,2691,2121,1664,1619,1705,1703,1710,1605,1916,2745,2771,2995,2974,2588,1931,2129,3067,2608,2036,2039,1879,1937,2530,3181,2975,2564,2133,1910,2249,1807,1892,2189,1880,1871,2079,2146,2210,2153,2155,2020,2526,2475,1993,2370,2182,1628,1581,1924,2033,2100,2032,1853,1712,1484,1699,1587,1596,1490,1807,2005,1850,1659,1856,1956,1903,1714,1497,1526,1722,2280,2223,1949,1916,1796,1767,1487,1326,1767,2024,2258,2527,2323,2030,1860,1654,1510,1462,1592,1675,1690,1590,1507,1730,2103,2173,1707,1665,1561,1827,2240,2238,2053,1833,1780,2282,2836,2978,3153,3396,3544,3553,2921,1950,2064,2171,1805,2122,3128,3247,2351,2431,2914,2446,2503,3179,3508,3373,3941,3815,3189,3018,3254,3217,2818,2761,2644,2191,2383,2479,2407,2534,2857,3210,3053,3161,3328,3518,3385,3095,2735,2662,2790,2333,1510,1491,1942,2032,1980,1937,2045,2248,2294,2361,2477,2403,2392,2495,2762,2811,2961,2670,2067,2112,1971,2095,1970,1838,1817,2130,2788,2647,2729,2658,2066,2020,2370,2093,2014,1921,1794,1843,1768,1743,1746,1624,1736,1990,1733,1648,1584,1682,2114,2111,2125,2056,1844,1986,2251,3128,3096,2223,2569,2806,2505,2236,2387,2620,2667,2736,2703,3184,3209,1778,1829,1699,1583,1917,2160,1822,1716,1731,1765,1799,1667,1627,1838,1798,1824,1694,1852,2060,2530,2745,2890,2878,3275,3056,2163,3276,3652,3307,2796,2409,2564,2467,2510,2573,2585,2775,2191,2013,2365,2768,3234,3375,3926,3562,2586,2536,3045,3252,3444,3550,3415,2810,2059,1592,1561,2055,2415,2532,2771,2896,2938,3008,2996,2500,1767,1792,2345,2578,2433,1956,1592,1748,2996,3647,3477,3378,3262,3045,3364,3527,3362,3259,3282,3225,3396,3430,3276,3388,3642,3543,3499,3702,3628,3217,2889,3059,3373,3594,3895,3780,3593,3837,4064,4152,4036,3679,3597,3790,3841,3573,3586,3820,3864,3904,4332,4313,3884,3838,3940,4141,4229,4168,4196,3896,3724,3841,3470,3084,2512,1388,1221,1263,1014,1157,2020,3123,3660,3673,3676,3682,3593,3665,3869,3940,3514,3073,3112,3276,2911,2153,1742,1553,1476,1607,1688,1844,2137,2524,2440,2133,2008,2128,2137,2032,2019,2039,2056,2145,2076,1680,1822,1896,1613,1442,1614,1658,1590,1773,1893,2042,2114,1876,1955,2140,2248,2391,2304,1895,1808,1764,1534,2055,2609,2208,2088,2547,2393,2808,1909,1527,1724,2359,2289,2091,2908,2934,1808,1492,1559,1821,2022,1618,1908,2073,1740,2125,2062,1816,1620,1476,1560,1647,2235,3297,3306,2385,1691,1757,2101,2078,1872,1731,1555,1503,1460,1996,2268,1897,1781,1768,1966,1981,1880,1944,2356,2577,2425,2313,2310,2455,2042,2210,3295,3926,3575,2774,2837,2777,2863,3494,3873,3165,3453,3960,4085,4440,4621,4184,3839,3963,3950,4371,3551,3363,3725,3820,3984,3982,3863,3714,3789,3484,2745,2957,2880,2990,2532,2298,2470,2720,2403,1935,2085,2146,2206,2579,3266,2219,1952,2532,2484,2063,1897,1951,2193,2206,2148,2590,3108,2888,2327,2226,2382,1881,1642,2233,2734,2159,1975,1804,2260,2695,2517,2624,2323,1696,1859,2074,1666,1673,1798,2056,2482,2112,2050,1740,1569,2154,2092,1637,1781,1785,1459,1548,1874,1887,1893,1781,1838,2239,2256,2320,3134,3454,3228,2210,2167,2266,1734,2232,2538,2346,2189,2375,2507,2100,1739,1806,1868,2045,2319,2437,2468,2762,2195,1930,1919,2008,2330,2721,2712,2084,1863,2527,3145,3160,2756,2179,2475,2880,2032,1830,2438,2573,2742,2767,2679,3660,3417,2930,2788,2841,2878,2585,2203,1955,1505,1659,1905,1606,1696,1899,1831,1946,1771,1933,2054,2375,2478,1945,1759,1850,1826,1887,1617,2099,2149,2296,2475,2858,3398,3542,2796,2347,2167,1808,1739,1708,1529,1639,2236,2733,2968,3251,3441,3628,3301,2640,2316,1980,1692,1810,1698,1586,1579,1649,1649,1555,1801,2312,2524,2428,2467,2315,1952,2303,2982,2741,2567,2221,2032,2226,1800,1836,2103,2021,1627,1444,1745,1628,1743,2134,2497,2394,1814,1336,1160,1455,1888,1885,1499,1410,1615,1741,1820,1576,1433,1436,1451,1481,1473,1392,1326,1293,1168,1025,1178,1493,1773,1982,2049,1936,1763,1698,1650,1588,1512,1441,1433,1410,1413,2411,2969,2254,3369,3657,3688,3647,3552,3544,3123,3032,2929,2380,2375,2598,2553,2303,2247,2390,2495,2127,1909,1868,1632,1473,1433,1428,1428,1193,1217,1322,1539,1505,1431,1335,1450,1323,1408,1685,1636,1881,1974,1875,1796,1624,1693,1480,1541,1816,1765,1549,1467,1655,2078,3096,3094,1975,1926,1854,1682,1552,2084,1670,1475,1599,1511,1341,1465,1506,1342,1366,1628,1787,1875,1843,1758,1771,2157,2447,2360,2600,2715,2359,1967,1964,2469,2217,1943,2163,2292,2544,2480,2811,2891,2426,2296,2714,2632,2285,2779,3447,3500,2813,3052,2212,1448,1560,1691,1891,2041,2054,2069,2264,2526,2622,2516,2696,2889,2625,2578,2834,2746,2275,2068,2103,2219,2159,1732,1138,1327,1527,1809,2429,2693,2737,2274,1988,1923,2379,2942,2845,2544,2567,2664,2244,2058,3162,3474,2753,2367,2198,2634,2432,2331,2640,2079,1809,2331,2399,1882,1887,2191,1785,1483,1442,1578,2020,2358,2541,2086,1689,2030,2118,1692,1707,2797,3265,3104,3186,2565,2397,2839,3418,3696,3545,2724,2137,2225,2435,2680,2413,1942,2311,2940,2512,1741,1779,1959,2113,2381,2661,2341,1825,1527,1349,1429,1492,1716,1842,1926,1997,1852,1750,1690,1921,2721,2735,3229,2764,2373,2272,2353,2409,2778,3194,3826,3486,2419,2151,2693,3125,1978,1759,1883,2430,3062,3008,2742,2791,3043,3001,2886,2778,1795,1511,1541,1415,1581,1578,1537,1910,2436,2244,1582,1592,2515,2602,2399,2532,3264,3819,3737,3907,3577,2680,2250,2799,3327,2676,2275,2456,2492,2373,2363,2397,2536,2467,2989,3035,2254,2702,3620,3659,3331,2849,2887,3219,2933,2490,2829,3441,3699,3441,3339,3369,3052,2718,2373,2634,3051,3109,2641,2523,2869,2925,2973,2841,2940,2799,2242,2821,2944,3007,3120,3344,3398,3441,3486,3544,3647,3736,3730,3517,3304,3127,3299,3579,3488,3096,3483,3982,4035,4067,3985,3741,3422,3120,3041,2974,2864,2867,2675,3039,3023,2328,1829,2103,2401,2522,2564,2555,2705,2862,3063,3547,2968,3095,2856,2688,2734,2740,2402,2230,2360,2713,2929,2438,2586,3055,3144,2547,1405,1792,2385,2810,2409,2072,2636,3450,3713,3296,2698,3095,2219,2148,2076,2347,2895,3089,2734,2665,2129,1327,1725,2436,2927,2591,2777,2972,3043,2957,2744,2890,3016,3580,2829,1364,1380,1986,2259,2731,3905,4099,3824,3420,2990,2592,2820,2706,3021,2771,2199,2418,2696,2738,2989,3820,3930,3343,3488,3675,3904,3982,3682,3627,3637,3498,3238,2585,2340,2800,2809,2619,2812,2851,3334,3470,3494,3413,3027,2898,3318,3258,2951,2780,2601,2861,2915,3034,2669,2473,2473,2585,3277,3085,2931,3499,3538,3381,3027,2700,2880,3238,3360,3028,3042,3271,3203,3261,2716,2113,2056,2177,2288,2099,2286,2474,2968,2908,2677,2955,3356,3146,2842,3133,3638,3793,3830,3550,3440,3320,3055,3450,3721,3139,2701,2985,3702,3684,2863,2141,2161,3853,3925,3103,2587,2555,2707,3660,3497],[4018,3409,3130,3312,3121,3199,3370,3496,3569,3607,3574,3597,3463,2937,3068,2442,2330,2626,3418,3930,3993,3867,3624,3742,3748,3504,3602,3513,3738,4090,3361,2961,2871,2900,2778,2890,2909,2796,2656,2490,2589,2765,2824,3197,3736,3874,3826,3790,3685,3374,3494,3698,3805,3841,3956,3984,3820,3450,3144,2942,2934,2401,2698,2958,2611,2279,2402,2786,2597,2373,2457,2421,2840,3310,3482,2979,2557,2154,2076,2687,3200,3254,2889,2022,1691,2763,4112,4016,3413,2472,2698,2674,2889,3072,3162,2866,2686,3355,3809,3973,3539,3022,2834,2625,2094,1870,1843,2035,2404,2580,2666,2617,2722,2842,3050,3150,3244,2791,3327,3400,2500,2597,3204,2971,2766,2910,3133,3124,2757,2764,2542,2258,3031,3109,2184,2436,2411,1872,2153,2526,2205,2020,1911,2023,2292,2098,2464,2989,2477,2121,2135,2141,2327,2753,2832,2531,1902,1628,1710,1696,1714,2140,2424,2310,2235,2233,2101,2089,1945,1903,2017,2034,2335,2593,2016,1771,1990,1897,2208,2730,2470,1982,2194,2873,2851,2249,2280,2093,2106,2309,2361,2271,2421,2502,2236,2186,2286,1880,1897,2495,3008,2915,3068,2557,2193,2608,2503,2627,2254,2057,2700,2467,1783,2076,2294,2426,2409,1736,1948,2157,1885,1713,1913,2207,2570,2688,2442,1969,2092,2048,1786,2081,2304,2146,2053,2055,2414,2512,1917,1956,2180,1790,1549,1945,2249,2442,1996,2247,2779,2984,2931,2613,2898,2645,1995,1718,1768,1871,2021,2321,2029,1870,1682,1433,2278,2903,2785,1942,1859,2393,2393,2700,3110,3166,3275,2872,2091,2287,3174,3256,3518,3608,3334,3184,3251,3304,3386,3505,3636,3794,3819,3827,3882,3860,3696,3432,3685,4168,3847,2933,2347,1825,1495,1395,1488,1396,1324,1643,2048,2217,1975,1777,1632,1682,1720,1655,1499,1787,2021,2247,2268,2392,2311,1869,2204,2312,1894,2540,2925,2924,3119,3250,3095,3009,2875,2563,2564,2438,2612,2714,2886,2655,2741,2231,2052,1517,1505,1803,1852,1889,1782,1743,1981,1972,1917,1990,1816,1704,1556,1569,1743,1816,1638,1463,1362,1302,1236,1225,1162,1221,1162,1291,1434,1428,1418,1412,1224,1333,1495,1503,1331,1096,1234,1084,1246,1461,1150,999,1022,1005,971,1098,1077,1195,1383,1592,1530,1251,1076,1050,1289,1448,1345,1288,1362,1568,1382,1512,1725,1359,1252,1166,1200,1316,1478,1947,2245,2614,2356,1594,1619,1796,1986,2148,2223,1869,2187,2281,1791,1795,1919,1819,1986,2702,3086,3145,3375,2866,2162,1820,2004,2088,2180,2211,2064,1995,2175,2096,1960,1920,1910,2009,1944,1930,1871,2209,2844,3267,3230,3094,2777,2481,2446,2245,1744,1886,2200,2025,1983,2315,3122,3369,3195,2531,2578,2891,2478,2452,2320,2094,2048,1929,2398,3045,2846,2294,1826,2380,2343,2046,2475,2261,1742,1729,1730,1781,2223,2317,1980,2015,2226,1955,1684,1556,1618,1614,1798,1751,1857,2376,2086,2157,1913,1645,1747,1777,1685,2069,2348,1956,1551,1539,1476,1575,1958,2281,2340,2381,2277,1993,1839,1515,1573,1670,1703,1638,1522,1415,1571,1756,1698,1769,1698,1815,1561,1899,1960,1993,2041,1889,1918,2547,2914,3177,3182,3542,4301,3495,2873,2187,2690,2514,1914,2055,2832,2910,2097,2535,2798,2159,2096,2889,3367,3261,3550,3449,3153,2946,3050,3019,2710,2880,2632,2258,2619,2756,2787,2673,2744,3009,2868,2542,3018,3501,3549,3455,2687,2217,2567,2905,2196,1707,1918,2778,3106,2448,2294,2455,2563,2544,2284,2233,2263,2366,2643,2392,2501,2157,2148,1966,1777,1975,1860,1631,1534,2180,2437,2845,2897,2634,2012,2277,2086,1745,1958,1936,1904,1808,1764,1695,1689,1615,1930,1936,1805,1649,1511,1763,2050,2060,2140,2074,1874,1830,2214,2981,2658,1765,1931,2388,2384,2470,2544,2497,2873,2813,2756,2786,2875,2484,3094,2525,2344,2609,2310,1790,1556,1757,2280,2721,2115,1996,2175,2150,2136,1606,1707,2200,2559,2708,2997,3185,3305,3081,2920,3366,3181,3020,2458,2521,2498,2382,2470,2497,2509,2518,2278,2135,2014,2601,3317,3506,3749,3492,2396,2292,2977,3383,3414,3514,3560,3172,2590,1985,2402,2844,2866,2751,2865,2756,2730,2877,2720,2194,1489,1583,1798,1808,1814,1798,1767,1812,2524,3574,3609,3409,3349,3249,3173,3021,3306,3530,3334,3049,3286,3250,3017,3149,3614,3786,3673,3619,3288,3065,3288,3695,4036,3869,3925,3797,3904,3818,3649,3605,3530,3381,3253,3500,3553,3437,3385,3575,3793,3760,3957,3923,3904,4015,3936,3881,3937,3951,4136,3883,3777,3769,2493,1490,994,894,1088,1532,1936,2478,3179,3459,3547,3409,3587,3645,3687,3846,3846,3889,3553,3286,3012,2569,2156,1646,1465,1563,1626,1605,1583,1781,1928,2361,2344,2076,1998,2042,2071,2142,2100,2032,2052,2269,2221,1693,1816,1815,1406,1377,1656,1669,1549,1739,2070,2096,1964,1900,1822,1876,2176,2262,2203,1912,1677,1600,1669,2235,2586,2285,2592,2612,1966,1861,1853,1958,1849,1987,1926,1775,1982,1881,1772,1810,1355,1359,1449,1525,2101,2196,1887,2056,2066,1852,1706,1528,1426,1469,2039,2864,2886,2355,1924,1991,2222,2063,1746,1526,1423,1487,1578,1644,1698,1647,1649,1749,1956,2122,2066,2358,2611,2601,2696,2473,2206,2609,2494,2631,3540,4117,3592,3022,2868,3274,3529,3293,2643,2568,3189,3762,4138,4540,4664,4299,4019,3778,3714,4177,3738,3585,3538,3410,3538,3950,3904,3630,3639,3436,2906,2900,2727,2810,2415,2052,2138,2443,2369,2457,2773,2813,2634,2346,2580,1895,2172,2301,2363,2219,1892,1735,1985,2204,2738,2917,3167,3420,3363,2744,2527,2052,2335,2814,2148,1547,1576,1964,2454,2601,2600,2637,2554,2351,2138,1841,1375,1831,1939,2178,2344,2105,2071,2272,2044,1962,1937,1808,1826,1908,1652,1510,1664,1793,1709,1663,1882,2138,1969,1903,2557,3353,3075,2171,2478,2312,1797,1893,2574,2632,2587,3237,2766,2010,1861,1869,1716,1729,1714,2042,2141,1988,2002,2082,2132,2473,2719,2538,2207,1931,1782,2563,3200,3178,3074,2509,2151,2249,2126,2060,2684,3163,2877,2831,3042,2861,2756,2906,2744,2355,2600,2513,1844,1739,1530,1992,2091,1956,1948,1729,2051,2041,2099,2238,2165,2414,2544,2193,2140,2655,2484,1876,1708,2441,2178,2081,2525,2653,3151,3220,2583,2602,2578,1773,1578,1750,1773,2178,2462,2491,3119,3362,3416,3518,3096,2728,2366,1922,1752,1944,1753,1634,1948,2088,1902,1704,1616,1811,1900,1706,1833,2079,2096,2524,2885,3254,2790,1967,1985,2109,1792,1585,1688,1738,1698,1605,1667,1402,1969,2287,2745,2208,1362,1216,1261,1337,1623,1861,1791,1707,1790,1623,1860,1889,1494,1363,1376,1317,1361,1241,1161,1180,1330,1342,1693,1958,1980,1946,1915,1804,1794,1790,1720,1651,1542,1443,1407,1500,1461,2101,2910,2312,3145,3544,3492,3607,3684,3665,3559,3581,3538,3087,3311,3485,2519,2167,2056,2446,2750,2271,1914,1859,1638,1588,1720,1419,1384,1299,1353,1448,1439,1470,1378,1330,1397,1399,1670,1779,1729,2138,2024,1754,1824,1758,1804,1685,1993,2358,2262,1852,1851,1747,1753,2338,2136,1606,1712,1936,1479,1309,1774,1692,1844,2421,2200,1569,1504,1826,1629,1627,1731,1838,1912,2020,2441,2884,2571,2513,2262,1918,2131,1662,1882,2505,2939,2790,2746,2403,2497,2530,2269,2112,2297,2556,2576,2944,3016,2843,3009,3195,3170,2644,3020,2094,1159,1852,2380,1971,2103,2251,2110,2046,2058,2202,2539,3501,3519,2921,2626,2639,2817,2594,2416,2480,2390,2334,1908,1273,1727,2258,2150,2446,3038,2754,2262,2277,2381,2422,2908,2886,2233,1924,1973,2068,2180,3034,3631,3360,2809,2777,2626,2278,2221,2885,2511,1934,2283,2423,2046,2464,2173,1609,1522,1547,1690,1791,1973,2281,1910,1882,2406,1877,1627,1991,3237,3768,3609,3251,3042,3145,3660,3710,3450,3385,2956,2506,2369,2237,2198,2232,2180,2386,2740,2432,2050,2315,2420,2445,2540,2992,2501,2176,1846,1616,1477,1718,1848,1922,2296,2087,1859,1758,1774,2378,3154,3487,3311,2701,2250,2180,2166,2331,2812,3053,2789,2340,2373,1995,1821,1879,1751,1626,1441,1692,2235,2544,2721,2478,2626,2725,2692,2453,1930,1665,1548,1428,1508,1553,1813,2646,3397,2586,1833,2203,2844,2653,2633,3009,3708,3938,3955,3968,3085,2006,2153,2918,2955,2542,2742,2517,2458,2564,2534,2420,2414,2377,2778,2777,2294,2820,3272,3396,3238,3145,3007,3028,2591,1957,2126,2689,3322,3963,3718,3203,2879,2462,2320,2330,2564,2680,2259,2090,2486,2696,2718,2924,3050,2727,2585,2810,3189,3593,3041,2901,3220,3311,3466,3627,3660,3638,3720,3629,3649,3603,3798,3996,3230,3152,3786,4068,4048,4090,3985,3728,3342,3152,2895,2800,2624,2961,3043,3056,2969,2200,1940,2409,2564,2569,2647,2578,2956,3338,3572,3394,3040,3266,3079,2898,2680,2194,1753,1667,1904,2432,2722,2756,2276,2399,2657,2315,1603,1368,1710,2191,2336,2402,2348,2852,3247,2873,3040,3625,2269,1906,2160,2431,2857,2939,2158,2038,2046,1863,2148,2303,2403,2525,2872,2895,3024,3257,3356,3264,3522,3962,3077,1772,2163,2426,2230,2408,3564,3853,3237,2707,2720,2780,2553,2568,2667,2530,2366,2599,2724,2562,2466,2957,3435,3606,3626,3606,3914,4028,3809,3710,3621,3410,3127,2831,2292,2312,2464,2215,2205,2510,3119,3140,2966,3339,2996,2640,2988,3002,2933,2766,2835,2998,3123,3342,3079,2770,2567,2688,3460,3896,3510,3451,3514,3316,2896,2286,2250,2802,2695,2209,2460,2707,2587,2585,2769,2336,1872,2429,2843,2097,2336,2968,3362,3151,2963,3183,3227,3268,3742,4024,4174,4295,4195,3970,3506,2993,2637,2800,2917,2458,2449,2489,3436,3833,3039,2043,2068,3409,3598,2717,2125,2191,2736,3520,3300],[3487,2598,2971,3259,2976,2840,3054,3287,3237,3229,3252,3304,3317,3330,3291,2886,3042,2603,3044,4148,4316,4152,4018,3742,3482,3320,3522,3569,3853,3553,3029,2891,2769,2808,2876,2809,2836,2753,2727,2772,3027,3253,2976,3065,3294,3248,2737,2561,3130,3585,3837,3912,3876,3835,3927,3770,3376,3074,3016,3168,3318,3066,3083,3119,2797,2169,2216,2842,2865,2490,2439,2642,2822,3111,3233,2653,2459,1995,1445,1838,2831,3227,2755,2201,1770,1752,2677,2757,2003,2215,2578,2332,2626,2770,3094,3326,3166,3557,3869,4040,3798,3074,2197,1702,1663,2254,2322,2091,2115,2346,2624,2497,2474,2504,2875,3096,3567,3621,3531,3326,2696,2232,2570,3011,2938,2749,3202,2947,2514,2691,2827,2673,3100,3199,2621,2706,2739,2176,2097,2630,2110,2040,1850,1612,1851,2212,2504,3220,2681,2034,2017,2123,2709,2958,2819,2749,2504,1847,1822,1752,1927,1965,2049,2120,2120,2677,3024,2997,2454,2298,2221,2133,2342,2578,2706,2642,2911,2671,2562,2666,2552,2231,2828,3603,3360,2678,3018,2853,2340,2007,2250,2425,2589,2551,2423,2881,2990,2205,2142,2390,3040,3287,3338,3057,2486,2679,2879,2548,2173,2118,2317,2399,2059,2282,2632,2605,2238,1626,1735,1887,2118,2255,1866,1937,2712,2785,2290,1958,1836,1887,1992,2163,2321,1909,2129,2397,2889,2909,2033,1652,1716,1797,1783,1980,1997,1802,1986,2370,2248,2291,2507,2806,3351,2972,2542,2054,1853,1761,1770,1856,1945,1824,1731,1895,2257,3033,2942,2051,2065,2835,2974,2943,2996,3025,2972,2577,2865,3618,3308,3115,3813,3805,3255,3260,3245,3422,3577,3629,3496,3748,3970,3918,3858,3702,3666,3628,3926,3931,3561,2800,2454,2150,1803,1588,1476,1436,1448,1455,1549,1409,1488,1646,1591,1459,1476,1823,2187,2396,2407,2433,2070,1984,2574,2990,3371,2985,2222,2923,2861,2058,2776,2928,2419,2641,2990,3056,2600,2287,2942,3028,2902,2407,1929,1919,1903,1678,1557,1629,1596,1689,1893,2230,2179,1925,1632,1789,1700,1704,1487,1519,1681,1753,1757,1698,1682,1520,1371,1316,1417,1579,1461,1575,1739,1609,1550,1323,1317,1817,2071,1870,1671,1450,1556,1525,1871,1803,1427,1066,1076,1297,1314,1149,1207,1156,1295,1534,1508,1251,1047,1110,1145,1131,1138,1152,1368,1581,1478,1801,1953,1496,1392,1560,1503,1419,1366,1491,1611,1885,1666,1503,1931,2459,2465,2129,2181,1709,1890,1825,1832,2200,2319,2048,1863,2386,3101,3103,2798,2621,2352,1989,2179,1924,1809,1695,1658,1748,1796,1686,1619,1794,1943,1923,1889,1957,1930,2164,2563,2951,2815,2907,2833,2648,2105,1569,1672,1675,1991,2311,2160,1991,2592,3194,3053,2420,2599,2834,2696,2476,2072,1980,1833,2138,2601,3100,3402,2517,1858,2013,2476,2448,2261,1898,1592,1561,1531,1559,1852,2174,2027,2217,2035,1720,1544,1543,1731,1863,2249,2226,2276,2375,2007,2209,1862,1880,1892,1718,1604,1964,2248,2026,1784,1635,1643,2236,2791,2663,2105,1922,1706,1576,1581,1469,1511,1703,1852,1560,1473,1487,1591,1681,1459,1343,1556,1776,1914,1922,1843,1882,2027,2008,1926,2475,2698,2990,2362,2475,3572,3055,2226,2221,2353,2105,1991,2172,2596,2322,2318,2821,2254,1990,1772,2426,2995,3161,3460,3327,3355,3357,3029,2584,2741,2924,2603,2038,2411,2715,2671,2465,2358,2643,2690,2612,3040,3141,3443,3148,2419,2060,2339,2720,2067,1742,1921,2583,2889,2635,2714,2697,2685,2335,2184,2886,2858,2645,2447,2305,2100,2317,2708,2223,1788,2018,1806,1581,1881,2828,2963,2931,2815,2691,2466,2373,1955,1891,1961,2078,1827,1618,2121,1892,1611,1586,1676,1930,2014,2057,1925,1755,1896,2085,1628,1568,1922,1824,2282,2234,1869,1815,1918,2100,2109,2314,2436,2656,2901,2764,3050,2252,2676,3171,3205,2669,2370,2411,2458,2296,2322,1824,2372,2634,2019,1912,1779,2001,2020,1574,1930,2430,2410,2814,2998,3594,3724,3651,3865,3256,2851,2568,2330,2508,2555,2431,2488,2522,2545,2524,2179,2291,2167,2805,3530,3519,3500,3340,2656,2340,2860,3549,3575,3692,3685,3267,2686,2906,3584,3095,2885,2994,2900,2652,2814,2940,2387,1957,1722,1722,1825,2017,2028,1869,1933,1890,2274,3015,3409,3450,3186,3212,3088,2907,2954,3110,3078,3062,3552,3621,3486,3429,3652,3936,3521,3378,3316,3381,4030,4328,4332,4057,3963,3963,3828,3305,3135,3327,3310,3366,3498,3441,3479,3284,3219,3459,3493,3403,3410,3717,3971,4062,4005,3573,3495,3364,3617,3738,3709,3195,1670,1062,1207,1780,2634,3086,3345,3663,3773,3399,3676,3470,3551,3681,3780,3726,3706,3727,3484,3239,2713,2110,1743,1529,1618,1737,1670,1698,1638,1709,1858,2073,2198,2195,2165,2149,2145,2263,2145,1991,1945,2081,1815,1577,1488,1514,1435,1475,1667,1764,1720,1965,2154,2159,2097,2136,1993,1944,2385,2586,2448,2074,1738,1692,1888,2851,3021,2583,2856,2656,2222,1759,2484,2576,2271,2370,2215,1913,1649,1125,1288,1992,1893,1615,1920,2119,2191,2034,1962,2008,2004,1869,1725,1609,1857,1995,2465,2553,2614,2339,2400,2708,2711,2385,1953,1693,1576,1754,2077,2008,1778,1976,2213,2558,2331,2513,2714,2502,2674,3107,3166,2706,2510,2964,2981,3330,4031,4340,4200,3793,3317,3892,4381,3463,2662,2745,2887,3565,4064,4332,4600,4299,4377,3984,3737,3849,4042,3741,3312,3497,3373,3924,3963,3580,3320,3028,2525,2253,2475,2492,2034,1866,1840,1958,2352,2691,2836,2426,1832,1766,1774,2066,2357,2774,2920,2853,2314,1737,1944,2589,3349,3429,3537,3532,3082,2423,2041,2147,2952,2681,1744,1570,1625,1980,2331,2600,3063,2890,2586,2535,2625,2042,1720,1920,1847,1860,2104,2091,1739,2080,2411,1999,1872,1746,1787,1792,1520,1449,1605,1708,1827,1731,1813,2001,1899,1896,1998,1779,1633,2212,2663,2386,2007,2104,2599,2640,2493,2575,2052,1580,1461,1741,1761,1852,1894,2248,2331,2036,2150,2190,2665,3198,3006,2378,1948,2437,2109,2101,2341,2823,3086,2587,1901,1891,2401,2389,3020,3159,2810,2741,2823,2405,2530,2280,1842,1802,2360,2486,1960,1986,1997,2236,2151,1985,1852,2053,2155,1944,2259,2326,2112,2219,2262,2264,2359,2307,1866,1776,2043,2291,2219,2611,2655,2316,2604,2459,2299,2944,3196,2360,1711,1958,2181,2275,1946,1912,2548,2984,3176,3328,3331,3072,2173,1824,1860,2484,2313,2253,2098,1783,1669,1593,1860,1959,1593,1587,1552,1586,2210,2668,2507,3266,2945,2119,1810,1615,1617,1685,1542,1776,2142,1817,1603,1944,2944,2709,2306,1903,1466,1443,1577,1414,1463,1565,1921,2060,1534,1460,1744,1828,1539,1450,1559,1483,1485,1461,1635,1695,1868,1930,1955,1924,1930,1911,1876,1794,1743,1744,1742,1725,1613,1529,1545,1654,1460,1628,2580,2278,2675,3141,2942,2921,3113,3247,3111,3022,3362,3319,3455,3133,2013,1519,1797,2297,2279,2001,1834,1741,1498,1394,1386,1256,1356,1379,1488,1683,1538,1367,1279,1205,1336,1641,1659,1603,1655,1921,1783,1690,1583,1688,1923,2022,2182,2475,2514,2039,1781,1599,1519,1600,1474,1505,1650,1629,1471,1657,2185,2314,2593,2636,2336,1781,1886,2410,1954,1814,1866,1978,2098,2372,3343,3449,2260,1742,2091,2612,2372,1910,2332,2999,2743,2388,2470,2380,2247,2392,2191,1970,2225,3108,2788,2430,2149,2509,2629,2362,2751,3219,3167,2393,1812,2099,2493,2041,2069,2045,1804,1864,1919,2425,2749,2086,1490,1756,1875,2278,2853,2777,2703,2344,2038,2329,2187,1821,2440,2930,2353,2511,2929,2624,2297,2412,2515,2561,2790,2665,2191,2120,2199,2548,2752,2841,3419,3366,2999,2519,2276,2147,2828,3101,2308,1729,1898,1841,1706,1865,1998,1901,1719,1593,1828,1692,1824,2007,2091,2030,2271,2081,1623,2144,3366,3793,3442,3394,3237,3590,4256,3708,3358,3249,2990,2877,2428,1909,1991,2303,2411,2428,2280,2418,2167,2554,2786,2553,2343,2557,2563,2196,2237,2161,1628,1691,2005,2353,2570,2445,2517,2198,1912,2645,3649,3665,3097,2806,2423,2546,2458,1724,1819,2614,2714,2305,2922,2421,1949,2242,2409,2187,2105,2119,1954,2287,2744,1790,2203,2800,2508,2115,1735,1835,1650,1355,1597,1863,1798,2788,3736,2641,2248,2416,2485,2467,2587,3194,3680,3593,3837,3646,2297,1908,2459,3107,2975,2922,3024,2814,2801,3146,3029,2330,1827,1680,2121,2278,2050,2654,2662,2863,2919,3196,3206,3288,3061,2441,2551,2967,3565,3785,2916,2633,2688,3012,2902,2535,2521,2539,2390,2406,2731,2623,2648,2710,2287,2431,2464,2584,3205,3204,2491,2470,2508,2436,2788,2884,3240,3515,3803,3782,3957,3890,3891,3747,3382,3562,3958,4017,4068,3946,3731,3419,3140,2996,2900,2785,2770,2962,2898,2674,2562,2465,2473,2854,3041,2684,2487,2732,2902,3282,3465,2842,3019,2800,1968,2274,2374,1898,1616,1496,2995,3159,2567,2460,2130,2260,2517,2608,2193,1912,2060,2204,1896,2085,2219,2258,2697,2697,3318,3798,2895,2706,3143,2590,2391,2312,1963,2303,2059,2304,2250,2259,2669,2875,2944,2685,2712,3206,3376,3530,3554,3415,3142,2319,2521,2453,2478,2689,2884,2800,2708,3005,3311,3322,3272,3363,3520,3085,2543,2542,2751,2746,3121,3506,3637,3550,3354,3403,3752,3912,3752,3596,3362,3274,3387,3131,2287,2060,2247,2255,2424,2579,3042,3256,3149,3449,3176,2784,3078,3022,3082,2952,2958,3221,3321,3356,2734,2062,2676,2911,3208,3582,3363,3029,3176,3140,3121,2544,2149,2430,2618,2454,2340,2325,1968,1719,2562,2600,2622,3262,3351,2827,2962,3090,3362,3321,3144,3256,3241,3322,3825,3991,4026,4323,4131,3564,2899,2523,2432,2976,2969,2035,1876,2180,2444,2989,2915,2320,1940,2597,2940,2381,2116,2017,2080,2749,3667],[2646,2497,2842,3012,2888,2880,3147,3329,2996,3041,3231,3249,3077,3506,3761,3751,3920,3262,3206,3824,4006,4148,3777,3226,2990,2824,2920,2806,2750,2744,2568,2576,2574,2670,2898,3074,3001,2866,2947,3000,3124,3184,2822,2853,2802,2797,2424,2018,2940,3576,3784,3957,3918,3871,3863,3451,3240,3230,2886,3172,3686,3531,3118,2782,2655,2608,2625,3189,3218,3100,2852,3219,3144,2972,3079,2931,2200,1362,1183,1819,3068,3196,2620,2369,2126,1504,1359,1501,1856,2733,2452,2232,2785,2875,3128,3429,3273,3395,3808,3650,3515,2756,1788,1578,2100,2108,1858,2077,2534,2811,2563,2996,2944,2920,2988,3196,3209,3088,2845,2745,2802,2115,2223,3060,2964,2601,3297,2762,2695,2604,2176,2352,2645,2282,2242,2613,2785,2595,2156,2093,1754,1700,1820,2548,2562,1802,2090,2907,2487,2041,2322,3061,3144,2598,2789,3083,2956,2046,1768,1863,2521,2596,2204,1892,2232,3020,3050,3356,3076,2702,2132,2242,2641,2888,2631,2657,2896,2558,2144,2125,2647,2683,3124,3063,2990,2931,3103,3086,2338,2124,2611,2820,2728,2811,3011,3238,3260,2836,2524,1929,2322,3134,3472,3414,3187,3076,2789,2447,2416,2615,2244,1874,1989,2316,2632,2061,1581,1423,1185,1478,2316,2460,2134,2011,1920,2026,2052,2108,2095,2286,2256,2133,1832,1675,1912,2194,2036,2262,2409,2314,2072,1768,2055,2088,1969,1642,1650,1962,2130,2792,3116,3247,3519,3414,2872,2262,2093,2070,2199,2151,2136,2006,2119,2065,1859,2144,2042,2014,1750,2603,3385,3383,3099,3030,2830,2970,3583,3446,2792,2315,3089,3637,3508,3420,3222,3229,3486,3594,3536,3624,3708,3854,3918,3801,3326,3239,3504,3684,3169,2812,2942,2721,2193,1824,1517,1641,1685,1638,1609,1382,1655,1773,1592,1455,1677,2086,2480,2430,2154,2157,2220,2433,2598,2818,3499,3015,2424,2634,3150,2404,2146,2519,2529,2702,2985,2876,2661,2685,2900,2467,1881,1460,1727,1946,2026,1956,1801,1681,1652,1919,2048,2085,1739,1577,1505,1630,1665,1402,1592,1833,1698,1792,1725,1747,1789,1568,1707,1434,1504,1607,1961,1992,1601,1589,1492,1399,1541,1658,1569,1528,1457,1299,1314,1562,1934,2069,1877,1349,1333,1584,1633,1221,1092,1033,1430,1530,1477,1269,1050,1058,1116,1152,1132,1136,1289,1379,1360,1622,1655,1508,1666,2173,1838,1437,1287,1126,1202,1578,1940,2092,2179,2630,2293,2379,2380,1770,1445,1561,1792,2139,2135,1779,1669,1864,2132,2285,2337,2286,2148,2164,2402,2931,2295,1589,1610,1471,1556,1802,1608,1647,1710,1757,1798,2201,1933,1695,2286,2250,2132,1994,1405,1677,2072,1804,1739,1831,2282,2388,2292,2062,2094,2374,2502,2478,2540,2535,2696,2758,2489,2379,2269,2437,2466,2831,3315,3020,2311,2566,2977,2572,2404,2319,1785,1728,1614,1529,2016,1943,1892,1918,1645,1550,1655,1798,1915,1901,2458,2931,2702,2689,2658,2197,1483,1628,1787,1843,1874,1957,2111,1916,2002,2244,2236,2223,2110,1917,2074,1961,1720,1852,1726,1746,1712,1607,1849,1659,1667,1588,1566,1931,1904,1543,1782,2442,2467,1974,2033,1773,1993,1905,1688,2171,2810,2466,2078,2276,2846,2482,1738,1919,2332,2432,2642,2295,1776,2093,2820,2701,1853,1730,1782,2317,2534,2783,3664,3443,3631,3449,2925,2669,2844,2800,2523,2450,2730,2764,2698,2690,2624,2748,3013,3142,3124,3018,3049,2220,1722,1597,1748,1896,1869,1924,1650,1758,1969,2357,2454,2634,2414,2294,2798,3418,3069,2564,2691,2519,2248,2544,2369,1761,1666,1817,1666,1587,2379,2900,3190,3100,3146,3046,2865,3015,2620,1995,2160,2268,1941,2162,2518,1966,1699,1737,1913,2045,1930,1752,1544,1949,2112,2088,1722,1511,1619,1739,1948,2039,2261,2319,2011,1729,1861,2370,2526,2645,2938,3052,3074,2294,2968,3486,3140,2579,1986,1814,1917,2145,2636,1812,1450,1449,1912,2096,1766,1543,1416,1360,2322,2767,2182,2284,2554,3476,3913,3714,3732,3587,3109,2647,2302,2382,2513,2462,2428,2435,2510,2461,1793,2455,2812,3152,3482,3464,3570,3429,2588,2375,2922,3242,3342,3691,3808,3398,2881,2813,3203,3221,3162,3050,2779,2763,2962,3006,2492,2325,2283,2240,2262,2158,1969,1669,1753,2204,2372,2533,3056,3340,3387,3408,3253,3352,3266,3186,3042,3281,3780,3971,4124,3771,3457,3593,3217,3457,3802,3791,3945,4154,4452,4493,4204,4037,4024,3482,3522,3674,3122,3060,3391,3370,3480,3104,3152,3279,3216,3296,3469,3651,3649,3700,3904,3388,3338,3387,3542,3576,3473,2287,1421,1934,2480,2997,3504,3443,3350,3350,3692,3597,3574,3746,3794,3741,3747,3641,3552,3441,3128,2642,2106,1810,1646,1657,1715,1736,1729,1737,1758,1791,1867,1938,1932,2110,2182,2209,2192,2178,1976,1932,1962,2004,1864,1738,1740,1591,1419,1517,1549,1637,1539,1685,1999,1895,1919,2071,1996,2015,2810,3200,2877,2455,2273,1970,2033,2748,2230,2008,2448,2207,2089,2359,2458,2326,2246,2396,2194,1892,1638,1418,1589,1826,1858,1875,2294,2645,2282,2142,2416,2283,2183,2238,1967,1945,1948,2015,2505,2996,2736,2221,2352,2609,2518,2236,2104,2098,1606,1886,2496,2508,2706,3426,3332,2890,2360,2269,2503,2710,3072,2841,2379,2166,2554,2988,2972,3541,4173,4425,4499,4415,4164,4437,4452,3797,3112,2336,2142,3028,3770,4063,4343,4394,4520,4265,3562,3029,3096,2862,2503,3173,3356,3679,3575,3262,3116,2897,2227,2072,2573,2372,1973,2040,2028,2013,2100,2411,2821,2376,1844,1699,1687,1901,2216,2819,3199,3036,2446,2335,2700,3377,3517,3499,3408,3022,2306,1914,1986,2380,2688,2254,1661,1463,1701,2209,2426,2376,2784,3024,2403,1869,1948,1769,2011,2734,2692,2115,2106,2042,1634,1820,2643,2266,1804,1582,1495,1524,1516,1619,1699,1983,2164,2039,1880,1960,1802,2040,2122,1812,2243,2900,2710,2081,1720,1993,1976,2003,1952,2029,1914,1654,1710,2188,2264,2127,2187,2400,2376,1973,1992,2213,2504,2746,2900,2495,2654,3045,2540,2243,2405,2788,2832,2891,2708,2552,2596,2511,3143,3010,2486,2663,2687,2391,2178,1776,1586,2016,2370,2112,1992,1945,2149,2425,2229,1845,2122,2696,2564,1929,2072,2146,1902,1791,2138,2224,2197,1750,1571,1875,2352,2470,2460,2735,2648,2156,2382,2696,2942,2942,2658,2248,2244,2134,1970,2050,1961,1839,2230,2437,3046,3245,2928,3218,2762,1892,2313,2972,2468,1653,1475,1725,1794,2121,2562,1934,1578,1746,1721,1544,2054,2376,2784,3140,2830,2679,2466,1792,2050,1957,1718,2023,2517,2142,1614,1937,2485,2362,1990,1946,1899,1826,1787,1325,1357,1381,1541,1571,1454,1587,1689,1750,1736,1603,1810,1880,1852,1644,1913,2071,1993,2096,2049,1970,1989,1895,1870,1816,1808,1855,1854,1822,1758,1687,1650,1648,1434,1517,2272,2451,2139,2419,2402,2499,2824,3156,2403,2176,2208,2358,2438,2254,1974,1890,1966,2196,2154,1990,1693,1643,1420,1464,1495,1446,1374,1448,1677,1629,1555,1489,1301,1149,1474,2304,1880,1422,1666,1634,1468,1501,1556,1902,2036,2198,2125,1957,1942,1975,1782,1561,1666,1705,1499,1609,1765,1809,1642,1531,1607,1729,2195,1980,1948,1827,1844,2390,2256,2084,1988,2216,2420,2502,3110,3626,2856,1925,2496,2330,2155,2495,2642,2911,3034,2525,2758,3172,2717,2165,1960,2280,2468,2966,2644,2372,1982,2351,2480,2298,2420,2736,3138,2617,2333,2138,2322,1976,2156,2544,1676,1324,1704,2170,2644,2142,1175,1147,1643,2287,2699,2822,2524,1931,2041,2185,2188,2263,2886,3422,3505,3566,3541,3264,2459,2389,2300,2724,2601,2354,2083,2234,2403,2670,2762,2867,3208,3216,3040,2544,2732,2136,2488,2171,1749,1814,1758,1653,1579,1619,1777,1691,2104,1772,2085,1795,2037,2424,2343,2554,2654,2007,1598,2290,3472,3760,3321,3106,2584,3466,4090,3776,3484,2905,2787,3164,2578,2020,2244,2577,2655,2283,1714,1684,1678,2082,2282,2429,2426,2723,2912,2463,2391,1930,1620,2688,2780,2635,2657,2678,2596,2248,2180,2387,3108,3464,3228,2785,2204,2209,2441,1574,1419,1911,1962,2279,2504,2179,1885,1941,2382,2577,2954,2218,2201,2421,2663,2209,2996,2721,2000,1764,1542,1765,1400,1388,1708,2067,1814,2306,3151,3045,2504,1942,2264,2740,2806,3276,3719,3472,3640,3371,2094,2133,2503,2676,2316,2370,2677,2628,2928,3219,2655,2093,2209,2063,2098,2157,2585,3032,2764,2479,2820,3318,3242,3314,3429,3303,3687,3819,3850,3205,2775,3096,3306,3486,2894,2278,2219,2544,2411,2565,2398,2652,2736,2433,2242,2630,2689,3008,3480,3443,3207,3018,2364,2200,2216,2576,2669,3034,3364,3342,3526,3553,3449,3400,3377,3772,4033,4072,3968,3784,3715,3394,3198,3155,2886,2644,2703,2952,3044,2618,2232,2332,2920,3288,3336,2901,2391,2471,2894,3317,3094,2481,2399,1835,1974,2448,2176,1859,1755,2315,3711,3532,3321,2547,2276,2697,3134,3188,2682,2842,2557,2221,2009,2647,2288,2191,2470,2894,3582,3421,2740,3218,2974,1952,2110,2098,2276,2645,2272,2507,2150,2293,2712,2765,2888,2728,2988,3850,3752,3429,3365,3176,3023,2834,2746,2466,2608,2652,2371,2588,3532,3542,3054,3098,3453,2976,3168,2603,2294,2513,2665,2849,3595,3762,3422,3440,3571,3628,3906,3864,3703,3474,3257,3319,3383,2873,2132,1929,1938,2137,2670,3054,3362,3476,3520,3511,3378,3008,2964,2916,3052,2995,3051,3381,3328,3632,3208,3007,3475,3272,3220,3053,2436,2449,2824,2938,2670,2096,2069,2332,2845,2410,2401,2128,1690,1693,2198,2796,2683,3132,3780,3776,3663,3001,3239,3452,3186,3171,3211,3220,3362,3394,3575,3642,3232,2807,2864,2910,2592,2746,2568,2090,2382,2546,2612,2737,2790,2494,1918,1971,2074,2355,2321,1752,1643,2453,4050],[2973,3338,3294,2711,2542,2669,2962,3025,2919,3273,3477,3043,3113,3596,3809,3921,3790,3576,3432,3249,3125,3285,3103,2731,2902,2843,2746,2503,2373,2584,2562,2431,2633,2923,2930,3096,3041,3065,2923,2945,3130,3183,2894,2991,2776,2297,2276,1950,3185,3769,3779,3789,3828,3817,3785,3430,3420,3488,3073,3232,3751,3787,3739,3460,3127,2983,2579,2519,2986,3210,3196,3630,3519,2996,3267,2750,1476,1179,1275,2536,3820,3448,2845,2933,3249,3440,3423,2943,2942,2972,2119,2164,2902,3207,3226,3362,3354,3163,3294,3029,2423,2312,2293,2033,2280,2270,2475,2818,3133,2759,2892,3456,3188,2902,2612,2734,2908,2488,2610,2687,2517,2114,2368,2678,2093,1990,2467,2404,2258,1483,901,1275,1722,1599,2097,2462,2742,2720,2190,1699,1647,1669,1672,2703,2714,1693,1818,2212,2030,2178,2584,2844,2536,2596,2854,2720,2751,2554,2086,1908,2518,3052,2857,1910,2061,2858,2963,2700,2875,3245,3032,3067,3041,3263,3138,2602,2573,2685,2400,1961,2369,2780,2614,2316,2732,2907,3057,2554,2085,2776,3371,3016,2662,2799,3208,3016,2934,2441,2172,1879,1781,2409,3041,3106,3100,2820,2523,2248,2390,2601,2220,2503,2406,2425,2177,1791,2021,1799,1516,1523,2236,2355,1974,1928,1294,1341,1961,2344,2830,3134,2875,2365,1891,1794,1929,2023,2001,2332,2566,2194,1907,1734,1922,1847,1882,1722,1466,1768,2380,2842,3134,3123,2561,3198,2976,2492,2403,2346,2316,2334,2169,1876,1772,1874,1879,1626,1805,2084,1829,2791,3603,3128,2596,2418,2497,3166,3628,3265,2858,2830,3504,3749,3626,3341,3208,3215,3329,3303,3310,3194,3476,3893,3791,3889,3470,3291,3154,3304,3223,3089,3276,2752,1968,2129,1664,1642,1685,1987,2073,1650,1754,1874,1661,1561,1739,2098,2215,2099,2265,2349,1987,2116,1885,2181,2828,2479,2288,2742,2983,2457,1914,2391,2432,2577,2591,2530,1989,1746,2007,2024,1715,1831,2073,1901,1956,1843,1621,1730,1935,1903,1908,1951,1742,1749,1661,1722,1698,1449,1838,2284,1844,1886,1958,1744,1297,1514,1964,1937,1788,1534,1968,1826,1376,1510,1556,1601,1430,1302,1381,1399,1450,1206,1125,1279,1295,1550,1640,1542,1634,1549,1602,1144,1108,1168,1364,1595,1617,1433,1253,1094,1167,1368,1272,1214,1204,1312,1451,1501,1433,1609,1892,1919,1478,1240,1283,1287,1356,1617,1902,2082,1858,1823,1642,1600,1684,1654,1762,1975,1865,1911,1935,1755,1694,1851,1723,2130,2644,2532,2132,1693,1942,2193,1774,1493,1373,1511,1634,1918,1696,1694,1733,1626,1814,2323,2074,1637,1754,1904,1597,1409,1378,1749,1976,1790,1758,1869,2328,2431,2674,2464,2041,2002,2062,2208,2310,2296,2320,2756,2588,2678,2547,2207,2270,2710,2964,2720,2421,2718,2729,2403,2558,2741,2378,2327,2045,1613,1528,1716,1861,1792,1586,1490,1516,1689,2610,2931,3063,3129,2725,2968,2755,1963,1639,1560,1641,1689,1707,1886,2394,2166,2606,2691,2811,2388,1880,1605,2116,2195,1664,1906,2194,2065,2019,1812,1720,1565,1620,1758,1719,1939,1941,1632,1940,2663,2315,1929,2245,2019,2082,1619,1489,1623,1990,1975,1906,1960,2192,2092,1765,1890,2308,2644,2696,2011,1575,1834,2690,2448,1704,1991,2047,1871,1997,2564,3492,3748,3806,3295,2802,2723,2619,2664,2756,2808,2854,2928,2828,2919,2707,2851,2979,2906,3184,3162,2395,1934,1791,1698,1755,1658,1674,1594,1563,1609,1918,2354,2774,2341,2292,2991,3299,3168,2591,2470,2798,2366,2300,2416,2291,1844,1889,1924,1883,2050,2420,2936,3429,3256,3165,2933,2703,3089,2445,1836,2146,2144,1942,1932,1797,1598,1794,1913,1708,1718,1819,1546,1570,2149,2093,2164,1927,1982,2106,1877,1567,1602,1920,2272,1709,1675,2533,2674,2452,2490,3029,2971,2372,2518,3027,2951,2854,2370,1792,1663,1478,1344,1716,1526,1428,1844,1998,1898,1708,1543,1146,1379,2756,3051,2402,2425,2452,2302,2779,3216,3624,3507,3088,2858,2446,2501,2570,2459,2463,2450,2486,2316,2035,2610,2875,3063,3419,3462,3646,3378,2338,2377,3053,2881,3219,3559,3804,3635,3213,3096,3106,3016,3163,2942,2963,3346,3248,3066,3009,2880,2666,2477,1985,1729,1737,1576,1984,2610,2728,2679,2916,3125,3240,3417,3470,3525,3441,3152,2949,3215,3510,3824,4184,3725,3405,3494,3218,3343,3531,3665,3619,3843,4330,4495,4171,3924,4296,3929,4136,4005,3162,3175,3279,3173,3442,3518,3352,3205,2986,3098,3339,3458,3628,3660,3627,3214,3168,3322,3530,3510,2570,1562,2297,3551,3873,3561,3252,3093,3072,3108,3381,3580,3707,3943,3904,3709,3752,3662,3339,2955,2482,2139,1956,1834,1796,1781,1760,1765,1782,1848,1894,1867,1827,1853,1897,1918,1979,2017,1973,1973,1983,2100,2073,1987,1884,1644,1794,1502,1304,1339,1511,1538,1615,1944,2077,2027,1880,1792,1787,2299,3200,3353,3118,2669,2547,2042,2126,2646,2207,1788,2194,2510,2836,2633,1881,1888,2132,2536,2362,1786,1717,1522,1635,1588,1556,1583,1909,2226,2197,2492,2663,2271,1761,1957,2034,2150,1854,1797,2367,2708,2216,1788,1971,2272,2132,1904,2052,2305,1789,2017,2179,2163,2508,2796,2424,2156,2352,2577,2592,2661,2809,2573,2461,2313,2642,2954,3278,3820,4208,4369,4389,4533,4388,4673,4553,3891,3219,2696,2350,2590,3160,3386,3496,3791,3536,3093,2724,2520,2338,2306,2128,2943,3218,3141,2907,2308,2469,2641,2052,2119,2885,2504,1719,1552,1689,1864,1873,2263,2629,2584,2136,1824,1864,1956,2149,2447,2232,2566,2893,2851,3398,3585,3349,3180,3122,2534,1885,1841,1852,1844,2050,1936,1516,1753,2261,2437,2148,1655,1832,2434,2286,1895,1907,1805,2193,2493,2437,2267,2303,2328,2244,2351,2454,2310,2129,1568,1500,1660,1728,1750,1901,2655,2595,2119,1886,2093,1859,1977,1948,1806,2325,2590,2567,2150,1574,1525,1799,1823,2101,2360,1960,1749,1875,2228,2366,1886,1990,2448,2420,2062,1746,1743,2187,2321,2377,2273,2425,2621,2599,2658,2624,2800,2765,2876,2812,2667,2508,2697,2713,2480,2288,2636,2792,2480,2401,2024,2276,2567,2267,1887,1715,1852,2190,2232,1467,1330,1991,2310,2237,1908,2134,1912,1647,1790,1907,1636,1569,1468,1599,1839,2236,2544,2907,2988,2467,1984,2024,2469,2620,2381,2255,2535,2637,2035,1562,1655,1874,2156,2504,2325,2613,3042,2565,2995,2887,2084,2314,2875,2599,1800,2343,2343,1870,2082,2159,1979,1662,1648,1639,1577,1743,2147,2484,2533,2816,3152,3090,2346,2316,1957,1861,2131,2410,2186,1810,1629,1483,1524,1644,1885,1857,1761,1448,1295,1354,1489,1475,1485,1542,1589,1668,1655,1803,1878,1844,1847,1633,1627,2067,2115,2018,2132,2116,1961,1999,2000,1920,1913,1928,1843,1853,1937,1897,1832,1831,1882,1691,1586,2184,2565,1932,2009,2005,1945,1918,2185,1850,2107,2426,2325,2210,1972,1932,1856,1807,2129,2106,1813,1809,1815,1671,1547,1649,1585,1333,1382,1468,1362,1432,1497,1462,1293,1573,2157,1702,1300,1488,1508,1336,1455,1745,1772,1573,1869,1649,1980,2128,2072,1991,2028,2242,1828,1498,1504,1604,1743,1797,1693,1705,1500,1509,1725,1703,1693,1865,2115,2160,1924,1711,2127,2482,2362,2697,3124,2525,2298,2287,2124,2750,2897,2908,2937,2687,2565,3304,3355,2819,2294,2196,2202,1838,2053,2105,2372,2176,2492,2518,2179,2668,2965,3062,2602,2318,1701,2289,2435,3281,3850,2770,2209,2066,1827,2262,2354,1929,2097,2340,2298,2404,2510,2192,1886,2189,2283,2051,2153,2922,3935,4384,4364,3996,2999,2251,1858,1781,2247,2187,1750,1610,2137,2820,2441,2036,2546,3146,3427,3307,3016,2864,2583,2374,2197,1827,1637,1689,1660,1824,2091,1720,1940,2186,2004,2015,1883,1956,2272,2497,2561,2264,1787,1947,2963,3121,3019,3410,3226,2839,3641,3983,3914,3673,3041,3315,3740,3196,2519,2293,2458,2649,1999,1642,1668,1725,1793,1743,1942,2453,2793,2801,2160,1992,1569,1803,2770,2374,2640,3012,2761,2049,1964,2229,2099,2424,2445,2552,3169,3089,2668,2668,1819,1542,1971,2199,2142,2216,1994,1947,2489,2341,2696,3056,2250,2404,2497,2779,3248,3365,2513,2077,1560,1606,1678,1386,1462,1672,2024,2266,2630,2872,2578,1784,1571,2189,2575,2379,2949,3308,3432,3475,2387,1555,2125,2663,2495,1754,1650,1955,2259,2399,2478,2055,2084,2106,2266,2187,2033,3022,3321,2201,1892,2469,2774,2442,2810,3168,3218,3839,3465,3075,2862,3240,3397,3360,3134,2453,2282,2317,2430,2337,2724,2467,2697,2637,2445,2664,2904,3219,3472,3573,3598,3496,3162,2144,2269,2439,2670,2623,2875,2956,2482,2542,2873,2604,2518,3271,3873,3889,3884,3893,3898,3763,3309,3162,3076,2673,2509,2690,2979,3105,2989,2773,2459,2450,2997,3140,2835,2535,2531,2897,3090,2630,2420,2399,1499,2186,3111,3020,2540,2388,3020,3572,3915,3711,2729,2212,2239,2669,3027,3033,3266,2703,2215,1990,2305,2021,1858,2326,3226,3420,2363,1656,2698,2759,2042,2120,2301,2540,3045,3217,2774,2279,2689,2899,2919,2645,2684,3199,4144,4021,3420,3242,2578,2288,2758,2758,2622,2680,2506,2653,2879,3710,3244,3384,3167,3089,2670,2408,2292,2365,2568,2451,2712,3254,3704,3627,3692,3839,3649,3632,3663,3640,3476,3326,3174,2812,2265,2062,2336,2411,2130,2542,3156,3442,3444,3404,3160,3440,3764,3579,3308,3343,3057,2924,3463,3131,3175,2568,2607,3330,3086,3019,3160,2604,2233,2358,2397,2343,2021,2230,2620,2489,2088,2193,2219,2092,2557,3079,3142,3055,3473,3594,3251,2827,2430,3317,3549,3167,3139,3298,2857,2808,3269,3204,2914,2898,2991,3605,3398,2754,2765,2690,2400,2499,2622,2967,2969,2898,2674,2026,1670,1688,2456,2523,2241,1866,2470,3655],[2763,3156,3006,2844,2719,2679,2764,2934,3101,3189,2964,2709,3054,3286,3330,3269,2971,2942,2918,3016,2759,2706,2758,2643,2829,2824,2701,2529,2456,2588,2515,2592,2777,3038,2908,2974,2899,2753,2821,2975,3052,3250,3229,3190,3182,2179,1766,2197,3479,3956,3820,3795,3841,3767,3752,3648,3365,3099,3073,3528,3742,3742,3820,3955,3667,3265,2442,2489,3015,3011,3311,3696,3458,3206,3300,2298,1366,1674,2286,3375,3883,3208,3256,4127,4288,4431,4277,3451,2676,2576,2543,2354,2732,3123,3326,3394,3338,3117,2941,2667,2523,2987,2777,2457,2828,3029,2953,2996,3052,2844,3123,3454,3179,2543,2132,2974,3480,3179,2790,2330,2431,2336,2385,2547,2207,1907,2018,1852,1143,696,679,842,1220,1571,2220,2287,2409,2195,1890,1517,1492,1531,1536,1871,1844,1648,1532,1801,1942,2171,2321,2142,2318,2924,2651,2452,3207,3100,2238,1897,2461,2757,2802,2136,2128,2685,2858,2617,2881,2998,3082,2872,2500,2656,2289,1761,2099,2303,2400,1896,1749,2227,2436,2136,2255,2881,2700,2130,2309,2843,3098,2830,2962,2492,2254,2386,2652,2394,2237,2121,1858,2119,2602,2887,2931,2961,2221,2006,2083,2357,2445,2610,2846,2762,1766,1924,2885,2847,2763,2000,2043,1988,1824,1826,1583,1834,2250,2526,3185,3172,2672,2402,1833,1711,1950,2041,1991,2186,2443,2048,1870,2197,2000,1535,2004,2287,1950,2355,2553,2320,2320,2396,2039,2325,2510,2590,2671,2154,2030,2272,2405,1837,1272,1710,2021,1822,2000,2041,2260,3207,3050,2057,1961,2294,2489,2774,2688,2684,2784,2983,3075,3287,3110,2551,2353,2790,3210,3237,2985,3203,3576,3864,3885,3754,3709,3782,3271,2933,3240,3404,3342,2963,2758,2912,1980,1627,1695,1987,2345,2283,1984,1848,1788,1578,1544,1825,2040,2187,2240,1950,1784,1746,1752,2160,2948,3041,2776,2913,3110,2812,2121,2497,2464,2190,1826,1980,2266,2121,1870,1983,1952,2157,2272,1911,1785,1679,1529,1584,1753,1777,1872,2008,1914,1913,1816,1753,1868,1610,1653,1846,1584,1680,2139,1877,1313,1604,1932,1707,1516,1472,1511,1313,1462,1570,1782,1584,1299,1179,1434,1680,2001,1742,1270,1172,1101,1123,1416,1800,2118,1784,1634,1416,1362,1390,1316,1248,1284,1347,1354,1180,1326,1344,1507,1686,1655,1366,1617,1487,1372,1570,1677,1662,1374,1367,1529,1321,1362,1282,1365,2169,2404,2025,1787,1648,1764,2019,2110,2030,1736,1719,1781,1592,1492,1681,1908,2110,2541,2442,1804,1655,1800,1694,1400,1390,1345,1762,1863,2198,1972,1809,1610,1778,2192,2319,2271,1860,1837,1823,1457,1495,1812,2166,2155,2304,2620,2906,2940,2539,2342,2192,2082,2041,2025,2092,2260,2230,2337,2398,2180,2381,2535,2177,2037,2489,2423,2216,2188,2204,2680,1963,2102,2578,2889,2690,2258,1754,1582,1835,1830,1832,1572,1429,1508,1706,2580,2938,3175,3044,2365,2438,2430,1996,1986,1862,1905,1640,1610,1988,2997,2554,2386,2521,2787,2516,1959,1589,2037,2089,1708,1603,2500,2735,2336,1958,1824,1781,1708,1806,1751,1599,1526,1647,2132,2566,1992,1650,1941,2138,1738,1593,1902,1877,1714,1747,1817,1881,2054,1775,1768,1641,2109,2708,2272,1721,1905,2247,3046,3077,2111,1913,1559,1883,2107,1825,2730,3470,3075,2634,2510,2435,2451,2635,2916,2802,2712,2912,2827,2975,2730,2778,2802,2795,3230,2785,2003,2115,2330,2060,1619,1700,1832,1660,1804,1851,2130,2675,3013,2346,2490,3339,3382,3375,2969,2700,2378,2150,2308,2382,2072,1806,1974,1919,1832,2348,2953,3219,3311,2895,3053,2729,2687,2789,2227,1932,2207,2217,1948,1861,1886,1683,1730,1720,1592,1648,1678,1590,1998,1846,2028,2186,2104,2524,2503,2026,1517,1524,1649,1652,1594,2235,2755,2806,2670,2854,2899,2440,2511,2968,2955,2099,2129,2055,1766,1501,1428,1507,1620,1563,1574,1553,1589,1588,1533,1727,1852,1937,3016,3166,2999,3082,2455,1714,1626,2263,3116,3311,2776,2335,2403,2458,2518,2448,2546,2578,2664,2453,2425,2984,3167,3429,3409,3396,3510,3334,2684,2837,3184,2958,2737,2791,3440,3731,3313,3344,3267,3261,3255,2849,2724,3130,3161,2987,3078,3139,2885,2415,1916,1803,1996,2210,2626,2754,2888,2754,2874,3101,2830,3152,3686,3615,3333,3094,3092,3274,3334,3397,3859,3597,3209,3241,3130,3308,3820,4108,4084,4077,4356,4520,4309,4128,4561,4568,4344,3990,3334,3698,3661,3095,3207,3299,3318,3386,3249,2962,3042,3145,3384,3384,3430,3382,3315,3168,2843,2062,1256,1841,3112,3609,3630,3530,3263,3093,3122,3464,3714,3862,3951,3893,3804,3631,3601,3364,2768,2351,2072,2048,2100,1998,1895,1793,1731,1731,1809,1896,1814,1823,1925,1992,2001,2026,2088,2008,1941,2001,2049,2183,2200,2031,1778,1562,1777,1598,1571,1534,1703,1744,1874,2059,2144,2178,1924,1973,1785,2291,2698,2464,1922,1497,1598,1696,1959,2302,2162,1807,2066,2635,2536,2031,1688,1825,2209,2674,2458,2023,1715,1525,1516,1602,1718,1679,1893,1925,1968,2186,2376,2263,2087,2103,2081,1947,1922,1927,2286,2508,2114,1775,1901,1986,1594,1428,1626,1989,1951,2032,2021,2182,2496,2085,1611,2311,3167,3374,2551,2357,2722,2851,2686,2686,2953,3066,3585,3691,3639,3945,3918,4268,4408,4677,4493,3919,3414,3428,3262,2741,3179,3204,2502,2402,2269,2364,2602,2721,2791,3320,3407,3436,2918,2751,2722,2776,3172,2810,2357,2453,2973,2752,1996,1847,1990,1880,1898,2108,2512,2774,2742,2579,2329,2376,2454,2377,1997,1995,1985,1951,2734,3418,3442,3244,3072,2527,1838,1747,1736,1609,1622,1748,1921,2039,2336,2174,1846,1678,1852,2197,2394,2756,2640,2267,2344,2051,1567,1702,2398,2436,2161,2276,2142,1950,2003,1804,2217,2242,2251,2136,2041,2437,2241,1867,1904,1856,1630,1562,1550,1663,1983,1926,2111,1729,1570,1550,1741,1843,2237,2339,1900,1688,1908,2353,2418,1877,1822,2307,2014,1965,1678,1986,2183,2109,2698,2614,2281,2697,2751,2780,2654,2744,2617,2867,2698,2577,2462,2382,2347,2038,2200,2998,2803,2286,2489,2625,2736,2319,1829,1793,2008,2144,2049,1490,1102,1526,1760,1996,2180,2196,2320,1875,1527,1372,1031,1091,1388,1699,1977,2158,2627,2721,3125,3267,2801,2198,2083,2509,2530,2393,2440,2666,2863,2302,1920,1526,1628,1943,2531,2272,2476,2910,2676,2463,2242,2282,2810,2888,2744,1872,2243,2090,1781,1918,2002,1913,1881,1709,1712,2025,2022,1835,2116,2824,3396,3606,3196,3057,2810,2110,2061,2308,2337,2287,1884,1797,1565,1593,1702,2014,1944,1815,1495,1371,1376,1392,1378,1359,1332,1389,1540,1661,1850,1887,1898,1734,1350,1771,2215,2178,1981,1929,2111,1969,1945,1898,2057,2066,2018,1982,1981,1964,1914,1874,1840,1870,1797,1729,2018,2122,1768,1885,1903,1798,1904,1696,1553,2200,2801,2702,2238,2221,2286,1859,1813,2081,2033,1782,1832,2077,1853,1570,1617,1346,1276,1172,1251,1397,1402,1492,1593,1512,1460,1450,1375,1345,1656,1789,1648,1641,1736,1814,1641,1874,1925,2575,2327,2314,2306,2156,1958,1703,1679,1553,1555,1652,2101,1839,1903,1533,1656,2059,2052,1876,1964,1898,1643,1684,1525,1709,2458,2198,2104,2264,1904,2319,2407,3106,3448,2926,2829,3153,2576,2348,3186,3262,3020,2913,2758,2272,1988,1996,1924,2042,2226,2503,1804,1663,2535,2566,2921,2765,2407,1469,2204,3175,3918,3983,3729,3729,3061,2334,1920,1879,1945,2379,2386,2170,2364,2149,2104,2890,3227,2362,1944,1733,2364,3731,4372,4532,4389,2954,1876,1752,1845,2114,1938,1748,2009,1841,2564,2431,2147,2296,2944,3547,3735,3160,2614,2485,2971,3311,2669,2192,2205,1911,1984,2214,1997,1748,1791,1946,1782,1834,2117,2434,2551,2583,2142,1711,1805,2294,2388,2374,2796,3140,3596,4040,3873,3893,3616,2717,2757,3138,3107,2171,2507,2696,2397,2104,1923,1870,1799,1694,1655,1708,1955,2335,2097,2288,2284,1872,2585,2919,2330,2630,2821,2140,1716,2010,1960,1819,2053,2143,2330,3007,3364,2722,1850,1675,1958,2245,2149,1660,1943,2046,2159,2344,2306,3143,3091,2652,2746,3028,3283,3634,3604,2670,2218,1600,1840,1882,1692,1559,1853,1975,2078,2329,2187,1709,1462,1596,1740,2260,2438,2427,2639,3203,3233,1992,1610,2375,2967,2741,2040,1726,1530,1687,1627,1830,1938,2067,2185,2524,2159,2016,2824,2497,1128,1185,1520,2646,2923,3175,2775,2868,3123,2765,2640,2874,3132,2990,2894,2614,2412,2375,2798,2419,2385,2624,2750,2923,2721,2855,3118,3403,3890,3749,2956,2617,2736,2902,2155,2059,2204,2362,2194,1738,1808,1852,2482,2777,2680,2808,3190,3558,3764,3877,3926,3968,3739,3299,3206,3256,2796,2690,3089,3193,3178,3207,2966,2381,2232,2690,2823,2511,2805,3171,2834,2406,2383,2775,2393,1948,2360,2766,2634,2785,3142,3416,3625,3782,3400,2917,2710,1797,2355,2788,2530,2248,2120,2054,1895,1954,2007,2028,2642,3636,3470,2572,1771,2140,2560,1898,1897,2373,2907,3662,3968,3239,3042,3493,3214,2508,2522,3002,2787,2333,2282,2491,2578,2205,1972,2201,2352,2493,2619,2663,3083,2822,3102,2933,3351,3596,3460,2871,2440,2377,2380,2146,2039,2391,2354,3032,3343,3535,3638,3631,3654,3574,3492,3444,3366,3093,2506,2254,2174,2292,2416,2380,2430,2918,3285,3298,3356,3286,3416,3450,3333,3453,3574,2835,2476,3000,3072,2596,1931,2372,3011,2752,2713,3024,3178,2437,2123,2142,2374,2186,2493,2503,2623,2627,2546,2769,2923,3093,3089,2931,3047,2583,2661,2609,2336,2544,3293,3544,3472,3130,2904,3029,3044,3692,3196,3067,3331,3483,4072,3585,3024,2863,2821,2874,2877,2884,3024,3190,3096,2600,2166,2100,2018,2812,3244,2740,2109,1917,1946],[3009,3237,3076,3252,2950,2861,2707,2612,2837,2942,2662,2710,2949,2741,2791,2872,2708,2714,2885,3178,2868,2761,2786,2625,2670,2688,2540,2517,2584,2524,2420,2534,2671,2878,2921,2787,2779,2866,3040,3261,3438,3565,3724,3681,3582,2631,1908,2698,3760,3907,3805,3942,4008,3859,3748,3654,3449,3354,3529,3807,3797,3708,3769,3802,3757,3755,3529,3571,3460,3164,3340,3505,3447,3529,3420,2382,1813,2921,3934,3863,3487,2857,3011,4145,4144,4235,4377,4133,2957,2580,2997,3051,3228,3206,3256,3594,3370,2904,2413,2432,2854,3418,2923,2908,3313,3292,3130,3308,3500,3542,3565,3272,3017,2969,2424,2452,2871,3234,2668,2575,2718,2553,2482,2666,2455,2176,1928,1118,801,998,1289,1621,1863,2241,2718,2511,2016,1634,1575,1703,1901,1792,1770,2264,1749,1576,1712,2247,2338,2668,2657,2474,2691,2930,2714,2545,2979,2510,1726,1612,2229,2159,2439,2022,1893,2574,2588,2702,3062,2999,2811,2416,2322,1970,1757,2113,2251,2533,2602,2040,1296,1379,2228,2433,2172,2211,2015,2290,2590,2567,2708,2867,2840,1963,1377,1659,2080,2241,2148,2040,1903,2232,2872,3095,2732,3087,2523,1889,2210,2494,2485,2364,2526,2286,1803,2038,2560,3580,3226,2783,3230,3110,2640,2586,2268,2846,3249,2812,2986,2886,2898,2544,1897,1614,1591,1598,1685,2039,2209,2058,2248,2152,1905,1935,2320,2422,1908,2137,2608,2595,2327,2552,2210,2120,2441,2345,2497,2155,2482,2146,2141,1883,1569,1880,2187,2357,2290,1833,2304,2830,2359,2207,2391,2636,2643,2300,2122,2445,2489,2862,2885,2568,2973,2315,2212,2717,3160,3329,3139,3360,3558,3647,3378,3170,3463,3830,3608,3170,3242,3474,3589,3883,3917,3551,2500,1879,1793,1797,2316,2703,2464,2388,2226,1891,1947,1853,2164,2562,2703,2234,2110,2160,2431,2568,2660,2985,2897,2801,2796,2340,2467,2524,2016,1778,1625,1624,1976,2011,1832,1932,2135,2095,2131,1979,1780,1638,1598,1810,1805,1603,1825,1897,1837,2161,2092,1897,1854,1660,1608,1723,1621,1911,2208,2020,1643,1879,1811,1503,1600,1560,1411,1407,1525,1383,1535,1510,1465,1382,1316,1504,1732,1615,1532,1541,1037,950,1400,1844,2114,1942,1632,1417,1401,1452,1450,1470,1627,1486,1369,1158,1765,1885,2176,2476,2400,1737,1700,1714,1473,1560,1828,1768,1478,1452,1765,1504,1335,1388,1544,1814,2226,2306,1973,1759,1817,2248,1953,1718,1794,1852,1715,1648,2335,2490,2173,2034,2044,1916,1580,1558,1847,1860,1574,1676,1513,1677,2056,2122,2110,1953,1750,2136,2337,2640,2542,1841,1768,1830,1938,1685,1971,2777,2780,2447,2360,2667,2558,2013,2170,2523,2577,2272,2171,2129,2023,2031,2222,2065,2221,2511,2438,1852,1675,1831,1892,1872,1785,1772,2391,2190,2519,2896,2800,2431,2076,2010,1912,2085,1549,1351,1367,1544,1593,1703,2046,2393,2502,2292,1997,2236,2071,1532,1611,1769,1610,1640,1706,1824,2525,2598,2105,2412,3006,2363,1758,1535,1954,2153,1980,1558,1996,2527,2152,1843,1986,1985,1823,1888,1704,1598,1921,2050,2037,2137,2051,1655,2114,2116,1968,2444,2791,2524,1988,1741,1891,1950,2087,1961,1991,2048,2436,2823,2374,1812,1950,2320,3020,3304,2196,1781,1649,2443,2363,1859,2307,2777,2631,2335,2149,2388,2634,2941,3204,2896,2785,2801,2819,3044,2740,2722,2888,3131,3441,2950,2238,2244,2490,2204,1814,2193,1936,1834,2121,2138,1928,2122,2511,2534,2649,2932,2906,3404,3306,2791,2406,2251,2460,2426,1907,1801,1947,1882,1739,2025,2598,2912,2796,2330,2276,2592,2946,2871,2404,2499,2774,2314,1881,1813,1883,1641,1513,1781,1793,1794,1643,1637,1982,2204,2380,2152,2017,1863,1864,1735,1556,1640,1778,1817,1858,2340,2653,2815,2725,2786,2732,1962,2482,2824,2568,1350,1487,1938,1790,1631,1469,1459,1775,2085,1953,1576,1606,1551,1577,2587,2587,1855,2385,2865,3271,3230,2366,1783,1648,1669,1954,2388,2110,2118,2622,2523,2414,2498,2648,2648,2579,2197,2307,3338,3405,2866,2326,2942,3342,3255,3101,3208,3233,3090,2397,1880,2631,3305,3091,3349,3169,3056,2838,2271,2457,3119,2943,2360,2845,3311,2910,2679,2578,2379,2360,2373,2493,2402,2525,2667,2605,2872,3198,3163,3173,3516,3357,3306,3382,3107,2988,2895,3355,3396,3176,3166,3119,3686,4381,4484,4465,4520,4616,4531,4241,4201,4365,4489,4220,3509,3209,3500,3146,2713,2847,3229,3630,3726,3501,3099,3018,3187,3340,3265,3108,2996,2584,1753,1263,1223,1880,2975,3493,3723,3576,3576,3550,3187,3330,3918,3925,3822,3629,3535,3491,3378,3063,2624,2187,2053,1973,1982,2047,2039,1963,1791,1685,1723,1756,1866,1896,2139,2309,2216,2018,1875,2035,2144,2093,2152,2244,2183,2203,2105,1965,1826,1830,1856,1839,1853,1913,1818,1805,1625,1689,2090,1824,2312,2513,2259,1835,1443,1282,1355,1573,1724,1671,1766,1975,2004,2448,2911,2818,2005,1772,1975,2475,2610,2317,2139,1704,1438,1544,1968,2244,1961,1827,2004,1766,1767,1916,2272,2173,2126,2096,1870,1790,1867,2296,2487,2198,2043,1825,1760,1527,1505,1561,1997,2084,1725,1947,2249,2041,1492,1832,3108,3892,3641,2666,2807,3209,2922,2568,3052,3352,3042,3181,3472,3530,3691,3775,4048,4584,4656,4332,4064,3821,3840,3300,2436,2272,2095,1905,1897,2142,2599,3200,3350,3646,4272,4674,4509,3415,2883,3206,3186,2818,2578,2435,2496,2963,3151,2801,2476,2145,2137,2248,2320,3204,3542,3388,3146,2787,2715,2680,2190,2022,1764,1664,1565,1880,2753,3466,3010,2483,2356,1964,1693,1650,1715,1560,1984,2291,2070,1992,2035,1894,1593,1924,2553,2793,2797,2770,2775,2658,2167,1713,2067,2850,2929,2300,2459,2448,1641,1660,2136,2160,2314,2496,2591,2416,2160,1901,1629,1633,1789,1846,1792,1926,1958,2192,2154,2086,1713,1689,1604,1487,1658,1856,1942,1869,2083,2200,2169,1911,1809,1815,1764,2104,2152,1791,1819,1621,2126,2910,2556,2289,2644,2822,2742,2456,2690,3040,3186,2889,2496,2312,2398,2575,2453,2955,3099,2583,2485,2750,2868,2974,2331,1675,1933,2499,2317,1848,1334,1780,1896,1844,1954,2124,2127,2463,2255,1697,1415,1266,1071,1288,1848,2249,2546,2562,2415,2764,2908,2689,2258,2236,2525,2474,2340,2328,2697,2773,2507,2300,2128,2272,2596,2879,2287,2332,2908,2911,2219,1985,2137,2460,2530,2541,1838,1712,1634,1729,2070,1989,1907,1915,1771,1969,2420,2432,1884,1978,2613,3334,3343,3083,3288,3121,2766,2570,2614,2316,1769,1818,2175,2155,2174,1860,1824,1991,1831,1531,1492,1532,1632,1747,1508,1419,1359,1571,1555,1765,1898,2075,1852,1439,1513,1687,1843,1904,1945,2032,1932,1883,1969,2173,2079,1997,1963,1936,1848,1760,1788,1634,1604,1700,1891,1965,1995,1852,1858,1883,1921,2024,1939,1665,1716,1835,1805,1568,1887,2168,2036,1850,1897,1854,1616,1697,2097,1934,1610,1748,1470,1305,1421,1677,1604,1465,1525,1527,1503,1673,1744,1498,1367,1600,1763,2238,2069,1894,1657,1782,2123,2743,2819,2314,2402,2642,2652,2302,1979,1909,1688,1566,1905,2121,1954,1792,1727,1925,2084,1960,1544,1524,1627,1520,1650,1613,1716,2537,2502,2235,2149,2049,2124,2735,3389,3626,3438,3001,2988,2647,2824,3089,2721,2920,3135,3142,2683,2287,2237,2220,1964,2079,2233,1600,1866,2056,2587,2991,2933,2784,2120,2452,3340,3426,3597,3666,3666,3394,3326,2577,1987,1953,2058,2180,2154,2279,2448,3024,4006,3537,2072,2027,1670,2234,3211,3968,3962,3755,2645,1920,2308,2294,1947,1834,2636,2901,2044,2614,2665,2114,2059,2555,3198,3377,2907,2651,3075,3616,3775,3643,3385,3309,2424,2115,1854,2269,2358,2047,1970,2040,2365,2314,2395,2446,2729,2485,1867,1701,1670,1970,2118,2121,2409,2985,3653,3889,3846,3168,2481,2685,2692,2569,2234,3037,3142,2669,2577,2428,2329,2003,1754,1636,1669,1804,2048,2097,2075,1902,1736,2203,2350,2204,2441,2063,1703,1819,2295,2374,1878,1943,1877,2054,2382,2428,2203,1905,1752,1787,2057,1947,1713,1606,1923,2061,1843,2542,3100,2952,2989,3294,3292,3176,3045,2805,2165,1666,1652,1679,1962,1800,1470,1529,1616,2078,2231,1716,1588,1712,2164,1942,1962,2283,2223,2249,2958,2635,1563,2041,2771,3175,2285,1956,1546,1494,1478,1637,1786,2144,2076,1895,1997,2022,2293,2601,2093,1327,1395,1789,2942,3260,2870,2419,2798,2887,2567,2856,3021,2863,3095,2852,2485,2741,2757,2605,2334,2773,3099,3016,2917,2425,2836,3300,3381,3905,3497,2604,2547,2447,2797,2678,1868,1727,2598,2385,1944,2216,2467,2884,2975,2640,2217,2529,3133,3430,3571,3726,3813,3743,3465,3317,3203,3104,3108,3375,3421,3393,3177,2885,2806,2685,3021,3186,2634,3120,3074,2635,2338,2820,2823,2219,1908,2239,2344,1849,1940,2510,3120,3380,3263,3173,3221,2425,1751,3123,2826,2547,2768,2842,3155,2787,2356,2244,2335,2932,2733,2417,2874,2071,1444,1583,1563,1890,2458,3021,3401,3112,3110,3876,3939,2808,1953,2031,2378,2371,2013,1843,1987,2075,2143,2154,2178,2496,2254,2774,2654,2843,2679,2713,2662,3116,3549,3210,2710,2253,2242,2344,2219,2112,2153,1986,2173,2819,3341,3487,3559,3620,3548,3386,3268,3293,3427,2846,2348,2036,2076,2607,2575,2488,2554,2403,2539,3020,3243,3379,3265,3260,3133,3037,2511,2279,2545,3060,3098,2744,2797,3012,3103,3257,3243,3303,3267,3141,2697,2254,2168,2522,2691,2792,2713,2798,2928,3140,3454,3271,2953,3137,2974,3055,2826,2589,3185,3294,2889,3057,2750,2097,1754,1688,3726,3372,3386,3654,3830,4176,3357,2633,2681,2809,2756,2889,2762,2947,2629,2269,1885,2148,1949,1875,2651,3408,3094,2373,1954,1953],[3298,2850,2467,2510,2460,2403,2453,2590,2853,3057,2854,2928,2913,2867,2754,2888,2917,2775,2858,3084,2902,2797,2752,2608,2645,2656,2546,2516,2569,2425,2460,2568,2742,3019,3156,3144,3184,3149,3298,3233,3352,3654,3885,3527,3416,2683,2093,2880,3813,3850,3795,4042,4112,3982,3825,3780,3669,3726,3895,3969,3962,3895,3860,3854,3792,3723,3848,3725,3666,3405,3338,3586,3965,3724,3974,3588,3152,3707,4144,3663,2812,2028,2206,3443,3754,3739,3869,3958,3487,3064,2743,2949,3454,3184,3227,3381,2972,2901,2570,2806,2974,3074,3012,3088,3383,3455,3484,3749,3728,3672,3628,3225,3274,3387,2357,2162,2318,2814,2942,2623,2741,2610,2365,2493,2613,2551,2496,1673,1277,1888,2166,1885,1877,1979,2368,2648,2174,1765,1647,1990,2007,1515,1842,2458,2050,2421,2933,3051,3076,3382,2894,2590,2624,2338,2662,2753,2763,2370,2007,1799,1856,1982,2142,1968,2116,2388,2377,2852,3200,2527,1870,2075,2469,2072,2013,2249,2740,3030,2811,2144,1336,1368,2132,2580,2634,2469,2148,2404,2634,2697,2858,2972,2644,1868,1301,1260,1932,2471,2326,2365,2120,1960,2198,2309,2236,2645,2341,2163,2396,2463,2245,2123,2170,1860,2018,3000,3259,3090,3000,3292,3817,3402,3152,3065,2236,2045,2342,2271,2323,2168,2546,2453,2021,1786,1682,1690,1579,1595,1962,2146,2165,1745,1637,1902,2274,2224,1766,2064,2665,2447,2602,2916,2508,2427,2527,2201,2477,2347,2526,2185,1834,2099,2276,1982,1714,1944,1892,1627,2027,2240,1995,2177,2020,2259,2333,2149,2220,2505,2680,2933,2862,3166,3492,2177,2215,2698,3342,3594,3539,3583,3708,3549,3152,3155,3659,3587,3881,3541,3054,3376,3675,4111,4104,3985,3481,2709,2355,2730,3125,3143,3062,2822,2602,1741,1830,2017,2258,2316,2444,2431,2234,2201,2110,1798,1936,2235,2877,2657,2320,2454,2980,2756,2308,2000,1824,1775,1637,1951,2249,2196,2055,1883,1693,1787,1650,1486,1614,1952,1918,2046,2260,1988,2046,2156,2386,2231,1647,1695,1876,1648,1604,1838,1932,1896,1938,2111,1748,1755,1650,1600,1524,1585,1544,1265,1162,1310,1454,1394,1300,1230,1243,1381,1614,1531,1142,1089,1275,1258,1202,1506,1658,1441,1290,1171,1434,2013,2266,1797,1266,1060,1663,1977,1938,2031,2049,1845,1893,1980,1490,1306,1530,1697,1634,1579,1507,1306,1308,1478,1492,1591,2013,2063,1702,2525,2505,2543,2071,1641,1559,1981,2225,2110,2364,2213,1933,2059,2034,1806,1700,1677,2030,1963,1760,1687,1619,2201,2793,2249,1970,2062,1783,2018,2710,2918,2646,1995,1633,1904,2141,1847,2026,2570,2626,2364,2296,2182,1866,2013,2627,2784,2706,2272,2072,2138,2196,2301,2004,1784,2231,2384,1886,1650,1712,1519,1897,2254,2102,1840,1872,2476,3030,2651,2191,2045,1916,2137,1726,1733,1749,1589,1476,1403,1535,1765,2217,2299,2278,2082,1904,2352,2190,1776,1506,1605,1488,1477,1828,1756,1567,1770,1786,2092,2548,1804,1754,1804,1916,1914,1901,1947,1954,2008,2079,1678,1452,1487,1600,1925,1834,1660,2133,1857,1858,1953,1774,1719,1792,1878,2272,2502,2862,2658,2144,1876,1798,1737,2150,2230,2330,2411,2379,2611,2602,2118,1841,2039,2355,2422,1834,1494,1652,2031,1830,1917,2199,2291,2499,2466,2405,2636,2762,3030,3124,2923,2709,2737,2737,2811,2792,2932,3234,3417,3399,2934,2255,2115,2203,2241,2198,2548,2564,2359,2280,2059,1769,1908,2295,2336,2481,2453,2677,3291,2997,2464,2305,2112,2280,2266,1892,1731,1764,1868,1715,1737,1893,2433,2286,1987,2188,2642,3077,3018,2473,2409,2484,1941,1710,1795,1849,1847,1588,1568,1570,1588,1578,1575,1532,1815,2357,2578,2012,1757,2089,2469,1936,2023,2153,1859,1827,2142,2451,2404,2062,2029,2333,2113,2410,2378,2121,1708,1888,1979,1832,1732,1572,1634,2070,2417,2568,2101,1904,1744,1865,2541,1919,1537,2378,2754,2792,2952,2331,1543,1516,1622,1586,1571,1665,2755,3548,3420,2998,2479,2592,2607,2551,2288,2806,3156,3207,2861,2900,3296,3288,2876,2996,3573,3436,3160,2480,2400,2768,2498,2623,2920,3123,2888,2227,2200,2752,3082,2532,2239,3127,3670,3470,3061,2586,2419,2447,2458,2345,2302,2477,2558,2668,3140,3397,2829,2403,2691,3054,3205,3326,3163,2862,2875,3316,3369,3387,3517,3560,3916,4228,4179,3969,4312,4595,4596,4100,3737,3891,4092,3782,3031,2620,2742,2736,2683,2735,3092,3770,4199,3608,3062,3410,3577,3060,2565,1936,1752,1958,1697,1792,2591,3284,3428,3622,3695,3489,3662,3796,3553,3838,4056,3653,3435,3470,3537,3250,2925,2514,2190,2019,1960,1947,2012,2062,2058,1980,1795,1672,1719,1808,2059,2308,2414,2258,2102,1965,1781,1946,2047,2114,2069,2047,2106,2095,2100,1998,2100,2181,1998,1802,1951,1986,1645,1486,1508,2016,2095,2066,2548,2510,1962,1440,1222,1352,1433,1574,1672,1434,1491,1656,1829,2586,3083,2877,2429,2432,2524,2708,2742,2447,2409,1982,1636,1595,1767,2226,1806,1960,2260,2272,2302,2068,1979,1775,1887,1968,2019,1954,2168,2503,2464,2372,2389,2410,2364,2169,2023,1951,2192,2316,2070,1918,2145,2068,2049,2034,2679,2890,2674,2346,2530,2655,2517,2595,2896,3061,2833,2684,2726,3231,3828,4125,4003,4188,4425,4310,4100,4265,4177,2879,1856,1728,1874,1987,2382,2974,3714,4308,4085,4232,4432,4380,4196,3472,2788,3071,2880,2496,2509,2475,2532,2797,3008,2961,2578,2200,2185,2240,2405,3076,2511,2426,3054,3115,2778,2007,1701,1922,1870,1962,1812,1660,2002,2856,2243,2081,2131,2084,2006,1908,1868,1796,2278,2771,2325,2035,2165,1776,1775,1660,2120,2360,2286,2805,2689,2337,2313,2046,2452,2798,2563,1887,2530,2941,2055,2126,2464,2144,2245,2261,2144,2064,2112,2075,1711,1814,2232,2320,2093,1716,1663,1730,2118,2423,1969,1583,1525,1884,1953,1769,2054,2094,2153,2354,2219,2202,2237,2002,1881,2329,2423,1955,1459,1468,1692,1836,1963,2125,2454,2800,2618,2503,2673,2840,3044,2750,2376,2214,2351,2612,2446,2580,2665,2476,2649,2758,2984,3256,2457,1685,1825,2329,1965,1932,1779,2117,2081,1832,1815,1981,2084,2212,2178,1847,1670,1492,1394,1672,1692,1836,2244,2522,2999,2920,2511,2403,2241,2323,2514,2156,1993,2230,2778,2802,2342,1878,1920,1782,2339,2790,2578,2733,2590,2348,2411,1928,1729,1873,1688,2047,1907,1865,1946,2051,2272,1980,2100,2012,2013,2254,2889,2604,1973,1897,2071,2420,2395,2598,2954,2966,3042,2604,2686,2411,1913,2099,2261,2304,2396,2080,1848,1895,1897,1738,1750,1669,1713,1568,1488,1403,1376,1438,1506,1790,2004,2053,1717,1208,1318,1518,1443,1713,1877,2066,1992,1876,2050,2164,2028,1838,1527,1490,1562,1421,1389,1395,1633,1754,1994,1907,2062,2014,1746,1798,1727,1838,1943,1883,1877,1867,1798,1703,1647,1650,1709,1863,1951,1960,1863,1980,2224,2186,1909,1787,1583,1698,1794,1821,1730,1497,1487,1488,1511,1726,1731,1495,1616,1764,1695,2004,2120,2272,1961,2232,2936,3442,3298,2942,2590,2785,3271,3140,2259,1930,1941,1820,1786,1848,1943,1888,1937,2041,2266,2148,1718,1600,1594,1687,1610,1709,1881,2403,2366,1980,2220,2176,1909,2633,3124,3098,3134,3230,2784,2846,3285,3227,3153,3130,3144,3293,3220,2770,2557,2458,2073,1836,2002,2053,2488,2265,2531,2798,2931,3164,2388,2104,2166,2481,3230,2354,2855,3172,3339,3186,2663,2375,2634,2773,2263,2040,2586,3432,4035,3173,2086,1766,2239,2648,2953,3340,3251,3154,2508,1991,2430,2236,2193,2515,3263,3160,2288,2431,2615,1901,1436,2096,2755,2770,2664,2850,3310,3752,3604,3497,3702,3704,3300,2998,2466,2187,2175,1980,2026,2216,2589,2894,2188,2115,2919,2967,2405,2234,2182,2245,2168,2359,3229,3342,3576,3513,3486,2864,2853,2750,2453,2072,1881,2352,2829,2482,2354,2482,2458,2040,1635,1602,1656,1660,1903,2240,1842,1603,1478,1609,1663,1719,1764,1547,1465,1627,2160,2086,1771,1830,1443,1574,2179,2256,2530,2091,1773,1792,2094,1903,1763,1819,2338,2692,2682,2532,2554,3090,3175,2821,2733,2927,2445,2314,2040,1649,1709,1940,2071,1744,1538,1438,1499,1947,2109,1828,1628,1858,3029,3245,2852,2766,2623,2800,3210,2453,1673,2187,2772,3074,2316,2132,1686,1376,1267,1382,1725,1998,2003,1858,1796,1854,2082,3066,2990,2197,2065,2501,3074,3187,2917,2873,2998,2615,2037,3022,3152,2822,3024,3366,2912,3108,2788,2258,2727,3730,4001,3448,3188,2710,2906,3096,3372,3453,2727,2276,2161,2264,2665,2467,2154,2877,3375,3218,3136,2987,3148,3459,3353,2758,2376,2684,3044,3001,3043,3366,3259,3409,3520,3422,3409,3427,3499,3555,3515,3537,3393,3195,2845,2787,3409,2889,2544,3074,2829,2455,2355,2604,2320,2111,2275,2759,2605,2194,2021,2576,3424,3474,2910,3103,2767,2288,2657,3780,3343,3100,3356,3461,3929,3522,2431,2040,2145,2585,2220,2280,2448,1708,1145,1339,1864,2434,2485,2614,2687,2296,2249,3562,4068,3503,2543,2131,2194,2010,1998,2106,2588,2988,3021,2680,2241,2361,2011,2557,2529,2514,2703,2504,2046,2590,2974,2439,2473,2558,2433,2420,2177,2288,2230,2084,1885,2231,2880,3327,3373,3320,3343,3454,3270,3349,2868,1920,2010,2062,2614,3560,3386,2721,2295,2023,2252,2466,2587,2809,3022,2807,2529,2730,2966,2758,2508,2690,3249,3592,3342,3164,3067,2612,3220,4145,3970,3458,2485,1934,1932,2464,2879,2690,2759,3098,3132,3103,3530,3750,3651,3392,3028,3035,3117,3476,3621,3074,2365,2429,2270,1839,1851,1780,3177,3198,3558,3849,3978,3860,2829,2098,2597,2923,2639,3152,2573,2558,2051,2271,2629,2240,1857,1954,2366,2754,2746,2314,2670,3554],[2498,2344,2281,2243,2164,2155,2247,2690,3123,3150,2918,2930,2836,2873,2827,2916,2995,2827,2740,2819,2831,2819,2655,2554,2574,2542,2581,2555,2502,2496,2508,2608,2890,3140,3153,3316,3073,3030,3403,3196,3351,3637,3830,3475,3129,2533,2251,3131,3824,3839,4006,4141,4169,4049,3886,3949,3857,3750,3906,4038,3971,3970,3960,3904,3808,3715,3729,3571,3547,3504,3337,3561,3839,3902,4227,4159,4094,4167,3938,3186,2447,1962,2064,2828,3205,3566,3809,3824,3812,3647,3452,3529,3562,3395,3426,3532,3358,3165,2777,2587,2712,2884,2889,2928,3204,3518,3641,3796,3858,3702,3334,3549,3670,3451,2984,2852,2476,2231,1955,2376,3168,3033,2255,2539,2730,2843,2810,2822,2685,2642,2548,2081,1754,1851,2177,2555,1916,1863,2224,2453,2216,2035,2107,1901,2063,2504,2495,2195,2707,3212,2978,3122,3293,2833,2950,3011,2917,2289,1949,1897,1763,1783,2032,1943,1765,1757,2149,2329,2488,2277,1849,1935,2305,2437,2686,2913,2866,2472,2335,1803,1628,1939,2415,2814,2647,2485,2275,2536,2642,2612,2612,2322,2484,2612,1864,1586,2315,2210,2096,2503,2370,2256,2220,2034,2156,2446,2702,2608,2455,2442,2425,2524,2119,2116,2664,3356,3210,2821,2821,2948,2895,2965,3138,2545,2103,1909,2018,1850,2057,1925,1902,2048,2013,1867,1699,1553,1376,1366,2329,2436,2362,2261,1830,1668,1758,1959,2070,2357,2407,1974,1798,1802,2171,2431,2340,2504,2808,2614,3014,2793,2304,2541,2477,1905,1532,1801,1955,2090,2301,2417,2176,2071,2038,2382,2406,2182,2302,2777,2946,2503,2496,2963,3172,2570,2742,3261,3613,3519,3182,3158,3619,3664,3388,3572,3852,3673,4066,3843,3278,2987,3522,4202,4168,3927,3516,3266,3017,3288,3662,3091,2424,2275,2336,1793,1525,1837,2094,2055,2159,2085,1898,1935,1706,1508,1739,1842,2459,2233,2526,3129,2991,2617,2568,2233,1841,2028,1886,1858,2021,1919,1801,1637,1603,1672,1551,1487,1622,1715,1646,1882,1811,1819,2223,1909,2125,1793,1496,1960,2038,1591,1644,1591,1759,1878,2031,2098,1802,2311,2062,1798,1661,1467,1498,1397,1206,1195,1216,1171,1160,1173,1207,1268,1278,1267,1423,1491,1417,1436,1360,1344,1355,1440,1608,1171,1294,1644,1743,1707,1504,1232,1277,1490,1510,1465,1580,1713,1620,1699,1391,1355,1290,1328,1762,1982,1742,1614,1729,1563,1630,1874,2046,1902,1400,2335,2120,2142,2128,2002,2669,3338,2690,2143,2250,2296,2028,2164,2157,2069,2174,2045,1872,1808,1696,1547,1642,2115,2231,2046,2007,2303,2126,2187,2646,2709,2529,2018,1329,1263,1718,1953,2065,2134,2526,2180,1964,2329,2181,2184,2593,2385,2324,2370,2275,2148,2251,2675,2690,2672,2945,2213,1804,1919,1618,1537,1863,2344,2288,1984,2149,2416,2651,2300,2263,2088,2183,2227,1768,2195,2229,1958,1651,1640,1781,1866,2322,2143,2015,2031,2201,2879,2191,1655,1987,1849,1539,1655,1898,1784,1522,1564,1669,1729,2297,1996,1554,1588,1870,1759,1893,1854,1474,1678,1590,1333,1475,1634,1650,1731,1758,1823,1897,1603,1463,1560,1711,1658,1628,1850,1761,1659,2011,1614,1540,1763,1741,1858,2140,2348,2519,2433,2453,2165,2013,2363,2205,2361,2211,1787,1509,1503,1727,1813,2029,2302,2377,2740,2595,2426,2497,2624,2721,3016,3226,2853,2729,2774,2610,2819,2876,3068,3455,3370,3151,2586,2336,2185,1869,1764,1893,2311,2722,2498,2026,1923,2047,2172,2452,2449,2821,2836,2611,3132,2957,2407,2142,2169,2326,2365,2249,2078,1814,1787,1807,2132,2479,2632,2188,1821,2089,2643,2664,2308,2096,2290,2175,1947,1642,1671,1743,1937,1861,1680,1592,1528,1632,1704,1798,1746,2531,2908,2147,1897,1916,2481,2133,2279,2549,2191,1952,2070,1959,1442,1854,2114,2297,2066,1997,2186,1925,1869,2404,2555,2277,1678,1553,1791,2089,1986,1843,1814,2067,2309,2398,2051,1524,1499,2321,2823,2408,2545,2303,1625,1687,1895,1709,1516,1808,3129,3805,3897,3361,2136,2469,2718,2698,2384,2700,2951,2979,2493,2876,3394,3244,2764,2944,3617,3124,3001,2789,2709,2752,2315,2620,2994,2887,2447,2231,2476,2765,2603,2002,2911,3604,3797,3836,3304,2556,2247,2292,2404,2228,2336,2407,2314,2923,3323,3074,3209,2741,2557,2813,3100,3395,3455,3107,2926,3229,3499,3639,3812,4136,4004,3985,3784,3531,4120,4531,4356,4097,4129,3971,3835,3451,2995,2965,3061,3130,3321,3365,3630,3860,3985,3428,2835,3041,2802,1717,1488,1756,2475,3090,3096,3119,3277,3289,3374,3539,3561,3674,3928,3975,3926,3961,3868,3553,3301,3479,3356,2855,2451,2197,2102,2037,1906,1868,1946,1998,1983,1947,1845,1726,1877,2078,2453,2478,2096,1866,1843,1943,1888,1961,1947,2148,2030,2100,2150,2128,2082,1800,1866,2126,2010,1785,1819,2042,1749,1545,1529,2135,1898,1864,2047,2082,1930,1516,1244,1380,1370,1519,1504,1331,1530,1537,1800,2372,2753,2823,2688,2602,2324,2292,2425,2580,3205,2286,1781,1900,1968,1996,1768,2122,2395,2523,2332,2170,2357,2023,2087,2028,2423,2222,2361,2520,2448,2185,2499,2964,3050,3079,3029,2808,2374,1946,1941,2023,2426,2352,1955,1703,1554,1773,2107,2017,1842,1696,1864,2511,2766,2938,2945,3101,3028,3550,3829,3721,3660,3952,3902,3674,3468,3911,3876,2547,1681,1643,1797,2508,3506,3596,3772,4273,4269,4176,3653,4056,4508,4153,2949,2873,3249,3057,2917,2807,2310,2077,2719,3061,2779,2633,2376,2207,2272,2371,2678,2946,2978,2763,2557,1995,2017,2862,2287,1892,1728,1771,1804,2038,2039,2373,2245,1964,1895,1887,2075,2049,2357,2943,2500,2251,2371,2071,2033,1774,1837,1882,1996,2488,2422,2393,2235,1924,2731,2655,2070,2180,2109,2108,1841,1839,1977,2397,2680,2474,2362,1940,1845,1938,1803,1926,2397,2244,1714,1339,1331,1430,1957,2307,2118,1925,1743,2257,2248,2318,2417,2398,2239,2705,2839,2632,2340,1985,1874,2063,2312,2140,1980,2099,2009,1803,1675,1805,2125,2507,2644,2777,2585,2337,2761,2780,2395,2227,2224,2494,2476,2190,2197,2227,2519,2755,2603,2927,2538,1756,1642,1715,1653,2002,2024,2155,2233,1937,1806,1986,1744,1747,2008,2212,1817,1571,1745,2028,1861,1940,2536,3012,3310,3220,2441,2173,2238,2400,2807,2623,2520,2481,2438,2142,1691,1650,1547,1571,2267,2574,2636,2420,2167,1859,2073,1692,1815,2253,1936,1844,1892,1558,1560,1776,2436,2323,2215,1990,2007,2210,2747,2614,2057,2029,2537,2854,2720,2611,2728,2845,2657,2128,2492,2260,1949,2059,2142,2479,2519,2022,1985,1932,1867,1688,1531,1479,1572,1556,1405,1567,1639,1631,1862,1971,1934,2056,2251,1786,1775,1971,2070,2062,1882,1654,1365,1326,1576,1588,1536,1393,1326,1521,1563,1500,1700,2339,2298,1809,1852,2029,2175,2171,2009,1814,1619,1728,1975,2015,1775,1744,1895,1874,1863,1874,1977,2032,2010,2026,2200,2263,2183,2196,1740,1799,2478,2783,2172,1715,1451,1328,1541,1633,1490,1493,1521,1449,1532,1573,1617,1801,2452,2797,2428,2286,2998,3663,3819,3659,3215,3122,3366,3642,2686,1975,1750,1784,1910,1877,2102,2357,2156,1991,2404,1763,1719,1675,1802,1838,1854,2049,2096,2147,2195,2021,1835,1899,1853,2318,2563,2751,2521,2675,2502,2871,3177,3128,3042,3082,3476,2999,2341,2330,2569,2244,2432,2785,2592,2325,2653,2286,2453,2907,3061,3084,2224,2178,1841,2544,3574,2701,2294,2369,2621,2856,2640,2503,2608,2358,2104,1785,2635,2880,2827,2844,2113,2055,2815,2633,2832,3067,2791,2955,2592,1812,2142,2177,2685,2916,3099,3145,2443,2280,2439,1778,1390,1828,2257,2438,2807,3322,3430,3660,3403,3370,3407,3010,2942,3407,3361,3133,3008,2429,2046,2209,2318,2324,1850,2035,2746,2903,2678,2282,2077,2447,2244,2286,3464,3555,3459,3066,3177,3124,3230,2900,2064,2143,2351,2073,2053,1836,1845,2417,2586,2319,1869,1831,1816,1539,1862,2034,1716,1586,1360,1542,1910,2008,2253,1992,1491,1689,1786,1340,1291,1505,1486,1430,1683,2139,2910,2040,1776,2260,2334,2074,2063,2674,3486,3697,3335,2405,2149,2387,2467,2505,2221,2564,2144,1886,1897,1736,1613,1796,1659,1693,1776,1642,1683,1853,1667,1666,1606,1686,2513,3361,3390,2959,3134,3522,3661,2875,2408,2722,2998,2632,1900,1948,1759,1452,1429,1422,1500,1490,1600,1822,2074,1875,1790,2502,2799,2669,2413,2360,2642,3016,3216,3464,3217,2518,2614,3377,3083,2811,3078,2965,2507,2800,2831,2646,3152,3762,3961,3628,3439,3419,3651,3471,2918,2768,2736,2380,2319,2529,2814,2558,2744,3274,3413,3667,3522,3166,3211,3501,3220,2821,2661,2786,2837,2414,2739,2701,2448,2873,3285,3470,3658,3662,3771,3723,3514,3587,3526,3288,3005,2958,3006,2410,2945,3110,2796,2564,2689,2664,2280,2331,2691,2916,2673,2841,2708,3018,3647,3841,3605,3234,2801,2687,2894,3252,3153,2895,2686,2570,3110,3134,2790,2541,1958,2086,2272,2208,2001,1579,1482,1663,2291,3029,2780,2554,2287,2107,2015,2517,2523,3031,2639,2204,2397,1831,1717,2081,2815,3113,2907,2778,2363,1965,2155,2800,2400,1880,2199,2586,2323,2644,2702,2707,3199,3560,3087,2969,2329,2116,2135,2048,2045,2121,2381,3021,3397,3305,3343,3145,2940,3086,2237,1617,1706,1855,2580,3388,3484,3161,2469,2167,2983,2710,2322,2241,2236,2336,2591,3033,3455,3167,2566,2412,2723,3304,3382,2970,2782,2457,2739,3058,3338,3067,2494,2393,2163,2303,2343,2226,2707,3286,3677,3762,3726,3519,3438,3229,2997,2906,3454,4233,3720,2967,2510,2455,2558,2643,3333,3181,2863,2976,3020,3051,3758,3370,2695,3167,3096,2674,2364,2670,2406,2504,2275,2692,2846,2337,1955,2059,2279,2611,2710,1981,2613,4029],[2481,2491,2365,2298,2333,2401,2903,3497,3692,3350,3050,2911,2959,2999,2927,2896,2931,2843,2741,2784,2791,2808,2608,2490,2571,2393,2383,2533,2421,2359,2600,2751,2834,2640,2577,2402,2359,2942,3449,3305,3553,3418,3625,3882,3416,2488,2408,3416,3803,3790,4002,4104,4130,4123,4045,4096,4047,3831,3807,3910,3914,4024,4061,3958,3905,3837,3824,3703,3588,3664,3509,3383,3757,4482,4468,4206,4144,3906,2888,2116,2078,2288,2039,1907,2183,2876,3642,3997,4050,4069,3960,3552,3730,3542,3216,3297,3465,3363,3054,3015,3050,2984,2986,3204,3342,3466,3620,3774,3781,3587,3386,3538,3453,3007,2980,3006,2309,1972,1886,2433,3215,3196,2480,3263,3206,2732,2269,2409,2691,2703,2494,2015,2042,2527,2434,2469,1848,2097,2657,2518,2050,1941,1800,1664,1763,1979,2048,2510,2679,2556,3110,3458,3459,3376,3312,3090,3154,2686,1894,1864,2024,2377,2116,1836,2056,2084,2446,2349,2050,2178,1984,1960,2353,2689,2668,2542,2331,2168,2288,1432,1576,2248,2670,2979,2801,2463,2267,2386,2407,2389,2640,2743,3594,3362,2438,1758,2197,2216,2031,2126,2254,2491,2832,2620,1861,1565,1870,2276,3003,2504,2254,2092,2207,2626,3711,3405,2110,2203,2679,2787,2444,2819,3030,2629,2282,2333,1832,1613,2320,2477,2352,2389,2308,2265,2237,2088,2237,2383,2798,2171,2359,2593,2067,1636,1742,2022,2309,2517,2264,1952,1697,1794,2361,2678,2380,2585,2895,3188,3443,2851,2511,2356,2656,2533,1999,1839,2502,2689,2656,2912,2698,2212,1957,2078,2194,2155,2315,2723,2680,1857,1938,2451,3172,3576,3396,3145,2938,2819,2682,2590,3340,3755,3584,3598,3404,3255,3559,3652,3428,2923,3256,4090,4081,3548,2584,2363,2806,3116,3470,2952,2235,2141,2065,1854,1684,1854,1972,2081,2200,1829,1953,1903,1928,1618,1645,1775,2098,2019,2170,2631,2420,2318,2501,2177,2247,2387,1848,1675,2022,1814,1729,1953,2004,1707,1586,1542,1660,1722,1692,1692,1544,1574,1860,1925,1742,1513,1688,2071,1867,1560,1599,1529,1747,1704,2061,2181,2018,2138,2010,2027,1694,1449,1501,1444,1475,1275,1114,1147,1132,1152,1205,1216,1184,1134,1381,1533,1504,1491,1410,1196,1118,1322,1499,1318,1254,1475,1627,1692,1606,1283,1053,1119,1187,1457,1448,1578,1416,1615,1603,1530,1392,1496,2058,2543,2098,1597,1909,1604,1707,1763,2204,2171,1860,1881,2099,2353,2393,2358,2426,2785,2144,2077,1897,1820,1951,1968,1763,2060,2109,1884,1536,1420,1850,2018,1961,2085,1824,2333,2313,2609,2275,2282,2807,2800,2844,2775,1889,1529,1632,1855,1786,1632,1900,2087,2339,2574,2146,2075,2304,2322,2543,2868,2727,2332,2288,2867,3200,2955,2434,1943,1872,1888,1776,1647,1581,1701,1833,1912,2211,2096,2473,2254,2198,2253,2226,2141,1765,1626,1733,1786,1428,1342,1679,1742,2037,2307,2600,2375,2283,2336,1688,1712,2187,2024,2303,2574,2081,1784,1793,1844,1828,1842,2214,2064,1850,1870,2025,2257,2319,2093,1579,1489,1338,1440,2094,1919,1989,2172,2034,1712,1725,1766,1689,1761,1908,1664,1522,1762,1587,1393,1419,1492,1426,1649,2107,2117,1583,1890,2137,1962,2195,1935,1762,2220,2459,2285,1783,1570,1406,1514,1932,2867,3141,2850,2485,3019,2930,2653,2696,2522,2580,2980,2979,2732,2800,2944,2778,2938,2917,3256,3431,3212,2842,2369,2526,2488,2438,2274,1863,2105,2339,2107,1769,2235,2563,2941,3071,3027,3190,2757,2469,2842,2792,2536,2475,2321,2373,2367,2380,2128,2032,1750,1780,2304,2573,2679,2585,2335,2425,2232,1993,2357,2803,2257,2005,1866,1736,1611,1533,1766,1920,1864,1696,1680,1598,1643,2192,1861,1867,2194,2198,1889,1654,2143,2842,2751,2332,2039,1875,1832,1698,1743,2359,2721,2777,2203,1802,1932,1880,1912,2009,2425,2966,2172,1645,1815,1680,1542,1357,1388,1651,2082,1968,1608,1654,1544,1754,2092,2425,2684,2714,2288,1793,1619,1818,1731,2155,3237,3466,3462,2954,2060,2741,3275,3233,2753,2752,3242,3339,3038,3059,3649,3357,2819,2913,3127,2776,2956,2645,2382,2614,2353,2448,3063,3091,2601,2526,2522,2769,2744,2082,2893,3569,3811,3926,3458,2755,2234,2088,1769,1616,1871,1386,1646,2852,3305,3166,4016,3632,3438,3405,3139,3563,3542,3189,3326,3552,3327,3354,3869,4134,3957,4091,4124,4213,4584,4520,4042,4024,4325,4365,4421,4018,3680,3530,3304,3041,3230,3438,3364,3054,2398,1738,1401,1873,2215,2242,2961,3864,4212,3694,3520,3530,3209,3232,3674,3959,3990,4277,4164,4072,3813,3710,3729,3570,3362,3333,2954,2426,2108,2005,1897,1820,1779,1801,1877,1943,1946,1910,1905,1957,1867,2120,2631,2129,1733,1724,1802,1669,1249,1637,1962,1906,1909,2095,2170,2170,2057,1791,1715,1892,2046,1855,1913,2298,1998,1870,2031,2304,2044,1947,2098,2148,1979,1655,1305,1412,1605,1546,1528,1655,1677,1564,1687,1935,2367,2868,2693,2286,1859,2323,2352,2238,2631,1867,1738,2309,2438,2100,1966,2209,2328,2384,2284,2491,3133,2675,2425,2651,3104,3020,2601,2561,2470,2238,2508,3005,3142,3115,3098,3084,2329,1772,1838,2339,2654,2353,1865,1807,1784,1992,2407,1880,1602,1757,1644,2035,2106,2611,3292,3636,3394,3226,3221,3190,3364,3717,3784,3554,3610,4159,4360,3385,2140,1782,2284,3224,3772,3465,3549,4232,4233,3936,3379,4035,4332,4365,3823,3927,3982,3370,3196,2964,2343,2461,3504,3376,2972,2734,2294,2052,2131,2150,2555,2322,2343,2680,2323,1941,2907,3875,2933,2019,1642,1780,1721,1905,2288,2480,2322,2004,1874,1977,2317,2368,2468,2821,2329,2482,2029,1810,2099,2220,2285,2546,2745,2687,3163,3053,2192,2168,2784,2414,2619,2746,2281,1766,1569,1858,2371,3084,3439,2544,2537,2349,1875,1764,1874,1989,2092,1706,1542,1758,1763,1593,1819,2304,2733,2257,2018,2272,2270,2243,2194,2165,2490,3054,2828,2277,1966,1797,1897,2169,2449,2265,2042,2162,2209,1860,1816,2027,2017,2176,2579,2486,2247,2311,2706,2901,2719,2415,2329,2564,2735,2555,2572,2590,2341,2343,2372,2974,2806,2003,1936,2154,2204,2037,1990,2154,2299,2128,1741,1643,1716,1672,1508,1977,1772,1934,2062,2128,2359,2625,2687,2321,2243,2492,2379,2156,1842,2208,2785,3189,2983,2534,2243,1780,1758,2261,2166,2003,2193,2472,2348,1715,1605,1879,1722,1587,2083,2340,1869,2090,2187,1577,1648,1648,2080,2282,1825,1527,1741,2051,2259,2258,1935,1765,2471,2847,2532,2450,2634,2910,2823,2425,2307,2294,2195,2102,2355,3175,3138,2291,1816,1721,1569,1424,1487,1490,1632,1608,1449,1495,1724,1792,1758,1865,1845,2010,2437,2047,1900,2001,1881,1415,1044,977,1014,1234,1470,1456,1672,1894,2192,1933,1822,1897,1928,2691,2699,1730,1938,2366,1887,1990,2105,1982,2210,2375,2411,1980,1615,1581,1661,1750,1663,1952,2104,1930,1941,1922,2246,2188,2091,2083,1762,2241,3108,3062,2525,1973,1349,1428,1781,1713,1453,1668,1749,1702,1780,1722,1625,2236,2873,2436,2006,2157,2868,3272,3535,3723,3243,3371,3470,3330,2802,2198,1911,1880,1749,1769,2089,2068,1680,1924,1995,1687,1877,1825,1917,1912,2027,2186,2232,2614,2976,2517,1905,2005,1703,1646,2261,2421,2413,2434,2284,2590,3012,3050,3035,2988,3349,2897,2388,2954,2517,2752,3417,3297,2512,2249,2242,1826,2108,3191,3275,2574,1794,1859,1826,2008,2563,2515,2304,2244,2134,2273,2470,2522,2519,1902,1793,2310,3161,2526,2198,2296,1749,2120,2449,2387,3025,3055,2316,2028,1895,1794,2064,2530,2945,3122,3394,3191,2249,1741,2291,2520,2552,2404,2112,2275,2761,3404,3676,3815,3551,3386,3238,2871,2904,3238,3492,3542,3313,3002,2488,2287,2173,1874,1721,2376,3134,2702,2172,2008,1969,2718,2337,2242,3142,3427,3002,2769,3222,3482,3808,3588,2957,3305,3112,2799,2216,2098,1870,2065,2555,2682,2449,2505,2262,1605,1540,1560,1603,1428,1478,1532,1948,2208,2432,2198,2029,1839,1418,1322,1492,1854,2082,1577,1634,2026,2222,1891,1985,2188,2001,1693,2044,2734,3229,3497,3166,1930,1985,1863,2076,1920,1877,2030,1986,1847,1951,1962,1747,1506,1511,1844,1772,1688,1975,2031,1696,1457,1494,1575,1642,2126,2715,3187,2905,2876,2985,2094,2337,2642,2809,2364,1694,1684,1570,1558,1743,1674,1691,1615,1601,1790,1706,1673,2117,2930,3153,2752,2555,2078,2111,2695,3410,3527,3217,2603,2695,3161,3144,3177,3561,3161,2578,2744,2580,2213,2678,3197,3386,3146,3298,3606,4058,4144,3592,3453,3371,2468,2400,3233,3495,3310,3519,3584,3657,3755,3205,2565,2756,2977,2741,3034,3067,2831,2741,2421,2531,2924,3063,2835,2551,2713,3234,3696,3794,3804,3811,3708,3497,3413,3462,3142,2907,3034,3615,3330,2842,2778,2727,2881,2879,3050,2980,2723,2430,2964,3475,3443,3373,3137,3060,2989,2584,2465,3153,3333,2985,2336,2409,1605,1686,1998,2089,1904,1676,1848,1866,1530,1509,1456,1758,1887,2498,3321,3112,2394,2225,2529,2586,2185,2008,2877,2821,2003,2116,1880,2046,2236,2718,2876,3059,3202,2724,2114,2393,3049,2714,1956,2412,3197,2645,2790,2997,2988,2910,2968,3018,3179,2692,2122,2034,2050,2080,2085,2113,2354,3338,3544,2780,1810,2381,2736,2518,2618,2260,1591,1661,2496,3261,3273,2784,2414,2952,2792,2197,2126,2439,3038,3264,3116,2900,2814,2750,2238,2364,2968,3355,3318,3186,3042,2876,2564,2810,2846,2155,2335,2504,2082,1701,1874,2713,3347,3421,3420,3505,3334,3129,3189,3322,2972,3143,3696,3549,3159,2894,2510,2427,2731,3332,3539,3269,3050,3056,3703,4043,3152,2295,2670,2979,2745,2390,2175,2080,2119,2357,2162,2063,2000,1885,2414,2810,2950,3536,2320,2154,3706],[2579,2802,2757,2634,2757,2692,3335,4049,4094,3565,3082,2951,2954,2963,3065,3015,2980,2845,2684,2688,2677,2580,2434,2456,2385,2307,2533,2741,2810,2880,2596,2853,2835,2343,2460,2368,2692,2933,3073,3259,3565,3535,3427,3440,3152,2831,2744,3244,3768,3811,4006,4078,4028,3994,3950,3937,3994,3962,3937,4025,4013,3979,3992,3939,3872,3896,3830,3704,3559,3665,3715,3415,3562,4352,4152,4372,4388,3153,2149,1747,2042,2671,2383,1730,1872,2411,3015,3449,3741,3986,4183,4046,3664,3177,3152,3372,3474,3359,3455,3376,3161,3297,3165,3248,3130,3186,3481,3746,3798,3425,3087,3019,3107,2942,2555,2741,2431,2782,3441,3774,3687,2894,2385,2687,2964,2620,2186,2107,2369,2570,2234,1872,1941,2077,2216,2415,1900,1664,1863,1928,1666,1531,2061,1953,1545,1959,2254,2623,2392,2118,2967,3399,3001,2863,2757,2069,1875,1917,1663,1714,1890,2072,1847,1863,1990,1976,2178,2532,2562,2284,1697,1550,2230,2393,2369,2521,2364,2443,2158,1644,2046,2247,2331,2327,2249,2431,2392,2222,2261,2242,2631,3653,4049,3039,2100,1470,1692,1480,1609,2261,2364,2386,2430,2110,1350,1408,1679,1832,2074,2202,2174,1898,1929,2680,3415,2535,1571,2010,2821,3045,3053,3124,3104,2740,2093,1753,1491,1962,3033,3233,2974,2688,2488,2667,2918,2587,2374,2664,2545,1979,1924,2260,2135,1934,1892,2304,2458,2375,1946,1854,2148,2625,2531,2393,2233,2170,2626,3239,3110,2876,2946,2260,2790,2998,2921,2575,2908,3139,3077,2930,2858,2531,1995,2210,2323,2454,2811,2537,2316,2169,2519,3204,3760,3521,2933,2688,2595,2605,2582,2544,2806,3089,3613,3521,3151,3273,3488,3379,3388,3134,3084,3222,3560,3610,3428,2695,2466,3117,3703,3497,3182,2459,1914,1956,2154,1906,1697,1693,1567,1375,2014,1883,2098,2116,1988,1816,1682,1590,2247,2643,2020,1687,2468,2533,2569,2514,2005,1725,2285,2498,1957,1888,1965,1733,1745,1661,1522,1429,1688,1588,1472,1718,1914,1868,1534,1539,1657,1844,1526,1531,1745,1656,1694,1669,2072,2026,1889,1781,1597,1653,1860,1794,1642,1621,1987,1520,1202,1242,1270,1249,1321,1323,1181,1204,1250,1375,1437,1387,1221,1127,1180,1640,1601,1392,1381,1664,1713,1269,1036,1113,1130,1118,1112,1319,1309,1424,1541,1818,1942,1801,1723,2270,2707,2501,1874,1824,2226,2010,1816,1863,2057,2073,2441,2836,2864,2818,2857,2644,1969,2149,2042,2076,1862,1715,1587,1425,1710,1998,1904,2078,2004,1693,1792,1948,1874,1833,1771,2249,2974,3198,2954,3153,3255,3046,3354,3248,2474,2025,1511,1574,1660,1815,2002,2419,2559,2430,2392,2368,2297,2548,2604,2859,2820,2679,2235,2294,2825,2568,2090,2011,1837,1753,1729,1709,1657,1563,1745,1707,2439,2408,2527,2106,1793,2105,2365,2136,1661,1628,1697,1627,1213,1423,1760,1859,1833,2523,3282,2727,2155,1897,1639,1967,2518,2349,2774,2625,2015,2415,2796,2909,2500,2182,1995,2138,1963,1521,1819,2138,1960,1906,1866,1686,1687,1953,2220,2208,2421,2675,2285,1629,1599,1747,1896,1787,1857,1813,1642,1854,1865,1742,1516,1329,1562,2295,2659,2062,1666,1925,1816,1629,1748,1785,1734,1959,2147,1722,1568,1582,1439,1533,1957,3494,4113,3176,2025,2469,3531,3057,2365,2282,2596,2987,2876,2853,2755,2929,2802,2867,3124,3370,2945,2506,2520,2566,2569,2746,3191,3166,2546,2371,2099,1857,1938,2425,3122,3497,3304,3128,3033,2562,2501,3061,2561,2248,2311,2426,2615,2321,2181,2194,2231,1989,2069,2192,2090,2583,2494,2253,2269,1969,2087,2932,3122,2227,1780,1719,1779,1778,1800,1691,1823,1797,1874,1910,1842,1719,2002,1975,1766,1875,2084,2040,1878,2647,3677,2924,2277,1532,1361,1459,1719,1950,2377,2881,2654,1957,1589,1613,1712,1844,1482,1592,2372,2293,1771,1715,1542,1396,1418,1541,1693,1724,1647,1751,1633,1515,1881,2833,2945,2291,2797,2868,2104,2122,1968,1670,2618,3270,3351,3269,3082,2998,3417,3543,3366,2752,2422,2589,2964,3039,2819,3793,3674,3118,2962,2972,2700,2723,2233,2202,2576,2512,2380,2728,3202,2840,2600,2465,2482,2687,2495,3166,3807,3930,3992,3513,2601,1752,1556,1274,1724,2166,2170,2168,2205,2842,3371,3972,3850,3639,3221,2832,3190,3160,3142,3523,3744,3087,3077,3917,4073,3812,4194,4609,4618,4627,4475,4355,4368,4507,4629,4709,4465,3331,2059,1782,1833,1968,1825,1549,1555,1720,1802,2222,3461,3807,3458,3593,3852,3865,3532,3443,3404,3306,3304,3652,3983,3644,3912,3888,3999,3872,3570,3394,3226,3122,2950,2371,1982,1842,1775,1712,1708,1724,1768,1818,1841,1875,1985,2102,1842,1389,1989,2708,2003,1746,1848,1880,1792,1617,2569,2444,1737,1859,2065,2173,2174,2110,1919,1889,2102,2176,2002,1995,2008,2013,2354,2932,2640,2031,2056,2138,1918,1850,1934,1883,2055,2057,1766,1990,2247,2177,1964,1746,1909,2424,2963,2240,2161,1796,2225,2075,1685,1630,1736,1854,2376,2818,2670,2419,2203,1781,2011,2319,3029,3523,3008,2929,2642,2790,3037,2777,2452,2276,2276,2531,2682,3000,3262,3383,2464,1793,1680,1698,2041,2370,2302,2035,1823,1552,1704,2185,1753,1641,2160,2156,1902,2169,2736,3229,3339,3173,3225,2954,3596,4300,4377,3902,4025,3994,4176,3940,2894,2091,1815,1943,2617,3476,3374,3209,3754,3834,3724,3702,4228,4164,4213,4472,4441,3834,2977,2956,2658,2721,2908,3197,3187,3043,2553,2030,2049,2278,2251,2275,2416,2602,2663,2199,1839,2445,3426,2749,2164,1803,1627,1633,1835,1992,2010,2105,1922,1824,1949,2419,2808,3069,2686,2283,2108,1742,1789,2141,2780,2831,2600,2719,2901,3115,3143,2359,2122,2279,2401,2758,2510,2281,2152,1959,2456,2969,2999,3183,2291,2223,1991,1857,1854,1932,1757,1583,1818,2392,2689,2198,1783,1722,2004,2809,2588,2259,2037,2102,2517,2575,2568,2888,2484,2060,2446,2268,1960,2136,2454,2749,2317,1853,1802,2007,2209,2365,2467,2316,2195,2605,2267,1940,2520,2867,2835,2690,2384,2181,2273,2450,2411,2381,2360,2517,2623,2630,3057,2985,2313,2171,2264,2275,2186,1945,2133,2423,2315,1947,1721,1945,1732,1413,1618,1870,2171,2250,2199,2419,2549,2475,2231,2115,2019,1773,1559,1619,2105,2136,2235,2525,2525,2237,2238,2657,2676,2056,1840,2265,2206,1862,1668,1812,1882,1722,1673,2095,2251,1857,2382,2344,1578,1455,1282,1685,1806,1547,1745,1979,2009,2247,2537,2324,1595,1653,2386,2844,2688,2677,2988,3050,2610,2502,2755,2794,2648,2735,3345,3080,2350,1853,1664,1602,1595,1676,1897,1952,1772,1775,1678,1758,1530,1373,1559,1716,1859,2120,1913,1571,1385,1259,1218,1389,1665,1770,1908,2091,2359,2762,3010,2941,2383,2160,2110,2007,2420,2792,2088,2465,3043,3069,2734,2182,2145,2659,3022,2912,2316,1996,2186,2363,2345,1685,1851,1838,1934,1996,1923,1946,1907,2092,2156,1906,1655,1550,1593,1903,1719,1284,1324,1568,1458,1471,2008,2236,2115,1857,1664,1703,2546,3279,3074,2435,2861,2933,2433,3088,3427,2962,3022,2542,2269,2677,2408,1899,1532,1584,1969,1987,1743,1733,2061,1954,2166,2085,1797,1978,1977,1923,1857,2554,3320,3305,3313,2821,2194,1843,1813,2204,2464,2346,2341,2772,3220,3279,2850,2563,2359,3293,3428,2698,2567,2741,3476,3817,2981,2047,2171,1892,1845,2143,3023,2602,2297,1730,1634,2393,2379,2127,2493,2957,2610,2291,2286,2372,2746,2355,2032,2458,2869,2841,2500,2376,2257,2128,1950,2170,2234,2592,2210,1938,1770,1747,2314,2711,2967,3188,3362,3419,3210,2568,1924,2917,3306,3019,2574,2146,2337,2819,3343,3655,3645,3629,3519,3492,3362,3043,3189,3683,3392,3064,2995,2824,2566,2286,2020,1959,2276,2571,2120,1715,1919,2175,2365,2257,2244,2757,3275,3317,3419,3542,3515,3664,3739,3726,3973,3550,3475,3097,2627,1941,1704,2298,2669,2621,2401,2119,1863,1590,1574,1671,1532,1587,1617,1706,1993,1899,1799,2257,2133,1641,1569,1670,2099,1928,1498,1891,2136,1915,2116,2315,2158,1732,1657,1851,2149,2386,2623,2198,2147,2218,2082,2017,1853,1688,1601,1906,1929,1718,1900,1719,1632,1848,1810,1664,1523,1729,1923,1728,1421,1589,1679,1632,1709,2177,2431,2246,2819,2140,1873,2976,3165,2906,2180,1613,1692,1660,1467,1530,1737,1888,2048,1940,2105,1873,1449,2183,3160,3067,2316,2237,2097,2063,2622,3559,3626,3352,3174,2799,2923,3364,3363,3449,3135,2840,3344,2941,2727,3221,3075,2855,2658,2676,3490,4233,4408,4376,3798,3042,2110,2522,3527,3906,3774,3596,3406,3676,3483,2883,3056,3119,2768,2886,2677,2306,2721,3137,3487,3085,2897,2974,2591,2456,2589,3020,3542,3117,2879,3646,3637,3560,3636,3410,3399,3426,3371,3649,3752,3636,3638,3095,2866,2639,2844,2960,2755,2753,3248,3418,3112,2853,2463,2340,2962,2585,2363,3240,3513,3090,1924,1597,1524,1800,2152,2252,2084,1711,1523,1699,2149,2242,1652,1700,1663,2003,2436,2504,2232,2329,2888,2855,2195,2168,2911,3099,2619,2609,2432,2576,2634,2578,2668,2853,2283,1932,1957,2179,3151,2925,2371,2332,2513,2403,2522,2643,2839,2611,2511,2939,3074,2863,2315,1959,1852,2021,2045,2023,2049,2604,2775,1957,1865,2543,2070,1907,2331,2481,2004,1812,2231,2778,2866,2409,2191,2712,2475,1911,2100,2391,2769,3142,3227,2931,2610,2920,2361,2534,2941,3508,3666,3407,3255,3049,2525,2651,2990,2212,2070,1959,1960,1852,2545,3364,3423,3282,3340,3106,3018,3228,3538,3192,2763,2841,3222,3439,3178,2284,2008,2181,2691,3432,3698,3632,3364,3297,3792,3706,3225,2872,3162,3719,3742,2811,2040,2012,2525,3285,3073,2671,1968,2032,2569,2905,3085,3803,3050,2582,3211],[2837,3112,3095,2796,3020,2701,2951,4015,4247,3608,2990,2732,2688,2754,2887,2789,2607,2487,2462,2463,2478,2563,2864,3008,2977,3085,3094,2810,2880,3362,2798,2886,2868,2730,2723,2588,2387,1979,2014,2877,3239,3067,2898,2792,2610,2633,2718,3184,3868,4074,4090,4090,4029,3925,3964,3973,3986,3993,3919,3977,4010,3903,3852,3863,3774,3692,3588,3404,3488,3773,3748,3502,3458,4224,4049,4324,4299,2924,2063,1763,2003,2790,2683,1933,2054,2447,2643,3104,3548,4046,4300,3950,3340,3275,3426,3443,3407,3329,3715,3517,3177,2633,2952,3400,3798,3947,3755,3065,2932,3133,2918,2768,2989,3299,3328,3515,2910,2641,2340,2364,2557,2394,2341,2354,2294,2279,2310,2213,2384,2246,1824,2369,2536,2138,1876,2030,2040,1807,1680,1830,1851,1990,2700,2571,1650,1754,2099,2166,2466,2749,3316,3294,2957,3071,2956,2214,1715,1877,2111,1600,1703,2018,2109,2054,1692,1590,1694,2211,2662,2215,1819,1891,2345,2178,2364,2751,2680,2341,1853,1834,2060,2002,2049,1975,1811,2137,2496,2320,2047,1945,2058,2879,2846,2154,1649,1664,1766,1566,1854,2308,2483,2016,1963,2208,2206,2487,2421,2137,2248,2126,2150,2128,1924,1976,2476,2001,1160,2119,2981,3149,3493,3118,2814,2553,2105,1778,1780,1920,2930,3164,2946,2739,3072,2778,2770,2036,2052,2290,2299,2390,2243,1889,1877,2390,2208,2080,1928,1763,1626,1755,2146,2453,2095,1711,1584,2107,2244,2331,2591,3353,3449,2774,2911,3253,3519,3510,3351,3153,3045,2916,2938,2872,2344,2712,2509,2624,2588,2427,2552,2878,3376,3914,4179,3572,2718,2488,2562,2583,2453,2468,2597,2645,3227,3620,3636,3687,3736,3750,3739,4064,4091,3155,2634,2579,3169,2931,2192,2855,3648,3684,3278,2651,2390,1692,1828,1555,1398,1843,1725,2024,2172,1769,1786,1811,1730,1587,1547,1919,3040,3010,2240,2010,2536,2589,1950,2198,2460,1928,2374,3267,2676,2445,2389,1997,1896,1826,2062,1804,1882,1749,1640,1819,1822,1808,1676,1532,1730,2079,1664,1541,1636,1826,1766,1627,1956,1946,1761,1933,1574,1825,2387,2612,2117,1950,1846,1505,1283,1385,1418,1217,1202,1326,1344,1406,1122,1222,1188,1257,1182,1102,1190,1708,1970,1926,1764,1593,1421,1139,1058,1065,1153,1125,1160,1281,1483,1698,1710,1731,2003,2846,3244,3476,3208,2157,1603,1735,2306,2376,1959,2065,2080,1882,2220,2813,2949,2887,2636,2370,2018,1970,1692,1904,2137,1847,1492,1447,1569,1655,1612,1771,2120,2127,2018,1711,1878,1862,2545,3228,3592,3550,3127,2917,2964,3266,3560,3398,3298,2840,2014,1880,2244,2420,2552,2426,2075,2125,2509,2414,2080,2065,2282,2613,2633,2684,2365,2176,2236,2020,1864,1859,1742,1815,1939,2010,1646,1427,1561,1615,2168,2134,2334,2023,1737,2320,2524,2029,1577,1527,1597,1664,1538,2468,2424,2105,2018,2492,2805,2369,2032,1845,1707,2216,2833,2865,2975,2622,2257,3024,3218,3306,3286,2351,1890,2171,1778,1481,1804,1986,2138,2189,2376,2406,2148,2120,2385,2991,3227,2602,2024,1768,1593,1699,1712,1892,2207,2240,1727,1691,2192,2192,1848,1786,1949,2614,2829,2285,1848,2149,2011,1813,1717,1673,1602,1893,2108,1629,1559,1707,1725,1540,1703,2113,3194,2474,1971,2517,3151,2788,2385,2478,2830,2807,2873,2835,2976,2938,2929,2907,3127,3428,2889,2602,2896,2954,2888,2709,2474,2277,2002,1880,2294,2312,1981,2510,3321,3343,3305,3291,3316,2995,2961,2942,2176,1991,2009,2306,2452,2399,2536,2877,2746,2433,2568,2570,2194,2250,2195,1865,2013,2315,2464,2684,2480,2095,1732,1713,1851,1962,1940,1753,1737,1755,1959,2050,2067,1792,1611,1678,1874,1875,1700,1658,1748,2622,3248,2284,1471,1153,1300,1634,1970,1959,2126,2491,2247,1778,1604,1655,1760,1692,1240,1409,1743,1753,1797,1820,1446,1411,1804,2044,1792,1582,1458,1748,1582,1551,2578,3994,4093,3185,3023,2879,1922,2198,2154,1859,2933,3318,3297,3230,3203,3216,3248,3159,2907,2428,2298,2285,2365,2083,2130,3052,2990,2915,3173,2923,2735,2552,2436,2603,2865,3000,2558,2587,2604,2448,2636,2640,2558,3218,3676,3696,3453,3557,3948,3378,2659,1861,1676,1536,2490,2718,2183,1503,1406,2631,3650,3781,3926,3934,3129,2216,2667,3182,3305,3339,3329,3254,3629,4137,4132,3961,4401,4805,4609,4415,4608,4744,4633,4603,4700,4667,3617,1995,2128,2859,2846,2719,3101,3264,3414,3443,3489,3440,3638,3513,3293,3552,3704,3487,3488,3539,3238,3419,3602,3749,3837,3761,3892,4245,4080,3782,3364,2997,2731,2604,2359,1957,1865,1742,1648,1644,1696,1764,1839,1903,1859,1945,2266,2419,2165,1764,1818,2036,1856,1911,1900,1815,1888,2003,2700,2447,1831,1973,2135,2071,2038,2128,2055,1940,1965,2236,2272,2188,2068,1883,2198,2410,1908,1885,1898,2004,1642,1583,1916,2110,2280,2246,2240,2502,2439,2279,2228,2291,2235,2060,2365,2234,2010,2136,2330,2108,2018,2017,2008,1963,2159,2301,2765,2441,2069,1812,1782,2025,3002,3264,3233,3045,2314,2530,3154,3209,2446,2234,2222,2440,2475,3039,3316,3273,2167,1518,1520,1600,1880,1968,1792,2244,2131,1995,1997,1898,1555,1657,2344,2396,1952,2115,2646,3034,3154,3469,3454,3339,4071,4241,3445,3099,3698,3518,3072,2477,2082,2461,2298,2117,3074,3342,3090,2699,2646,3274,3567,3739,4408,4313,3972,4212,4156,3927,3500,3112,2485,2866,3042,2818,2754,2935,2484,2138,2394,2355,2106,1832,2080,2522,2608,2222,1915,2098,2384,1979,1924,1851,2076,2072,1831,1990,1809,1780,1672,1808,2240,2526,2598,2786,2510,2065,1732,1793,1816,2216,3038,2919,2356,2884,3156,3122,3162,2598,2100,2171,2718,3061,2642,1942,1998,1917,2573,2840,2782,2356,2431,2631,2431,2161,1888,1739,1745,2117,2437,2578,2730,2522,1958,2128,2502,2700,2386,2304,2184,2449,3165,2753,2866,3199,2419,2178,2248,2424,2162,2150,2284,2321,2195,1832,1755,2338,2800,2799,2719,2457,2106,2425,2565,2312,2605,2684,2480,2099,1847,1922,2182,2757,2871,2955,2868,2828,3156,2943,3122,3101,2438,2220,2557,3218,3060,2257,2414,2586,2352,2077,1888,2253,1982,1642,1755,1836,1932,2420,2640,2793,2446,2357,2272,1916,1716,2022,2170,2081,2216,2354,2239,2255,2562,2428,2029,2410,2765,2120,1900,2034,2021,1881,1852,1615,1609,1715,1766,1761,1714,1681,1948,2122,1600,1307,1383,1790,1913,1965,2160,2257,2180,2677,2627,2039,1902,1666,2136,2741,2730,2388,2504,3050,3021,2796,2741,2396,1982,2310,2566,2158,1832,1588,1632,1722,1523,1499,2062,2058,1947,1924,1967,1831,1506,1563,1741,1822,1844,1996,1732,1266,1464,1599,1582,1636,1986,2547,2932,3232,3398,3167,2833,2518,2301,2279,2326,2473,2430,2642,2551,3043,2922,3179,3016,2278,2079,2489,2780,2678,2271,2454,2837,2599,2352,1957,1822,1864,2006,2230,2157,1777,1853,2057,2193,2139,1880,1600,1482,1975,1585,1315,1457,1353,1324,2057,2698,2544,2354,2296,1999,1925,2597,3186,3427,2865,2962,2586,2116,2636,2784,2624,2462,2293,2654,3069,2517,1932,1656,1849,2212,2289,1903,1548,1758,2031,2142,2019,2067,2121,2139,2131,2494,2951,2961,2916,3312,2954,2243,1934,2110,2497,2730,2533,2874,3382,3408,2964,2911,2575,2907,3586,3278,2433,2498,3098,2822,2469,2054,1702,2165,1678,1380,1593,2399,2280,2192,2252,2293,2579,2929,2830,2808,3297,2454,2214,2238,2596,2678,2115,1776,2514,3204,2987,2791,2309,2453,2305,2080,2483,2186,2082,1846,1769,1908,2640,3018,2890,3262,3312,3194,2977,2898,2931,2368,2712,2766,2449,2145,2114,2579,3097,3364,3399,3161,3337,3278,3388,3584,3497,3648,3685,3270,2967,2872,2727,2713,2775,2645,2328,2329,2431,2298,1863,2010,2181,2266,2271,2132,2885,3664,3666,3536,3425,3339,3082,3362,3608,3784,3515,2938,2843,3041,2542,2159,2169,2316,2967,2364,2284,2248,2121,1849,1771,1772,1859,1918,1757,1766,1792,1933,2075,1863,1846,2187,1984,1920,1738,1910,2541,2659,2138,1986,2163,2387,1948,1727,2260,2499,2353,2374,2110,2662,3010,2453,2048,2145,1774,1704,1829,1698,1792,2240,1877,1581,1640,1660,1579,1518,1501,1712,1662,1471,1560,1556,1556,1720,2349,2166,2437,2776,1998,2126,3029,3398,3141,2026,1824,1816,1659,1848,2855,2374,1922,2585,2474,2451,2226,2145,2934,3011,2532,2555,2730,2865,2395,2420,3334,3509,3137,2865,2596,2976,3636,2982,2882,3011,2839,3216,2849,3152,3544,3470,3436,3039,2917,4036,4337,4080,3934,3208,2590,2110,2922,3508,3849,3979,3514,3068,3245,3274,3187,3473,3184,2889,3130,2728,2070,2024,2774,3498,2996,2332,2217,2072,2512,2764,2964,3240,2441,2314,2967,3453,3692,3482,3350,3410,3594,3535,3207,3251,3645,3470,2794,2435,2440,2750,2830,2675,2974,3395,2688,1650,1548,1847,2182,2922,2832,2447,2655,2830,2851,2562,2019,1995,2523,2159,2116,1946,1603,1407,1409,2214,2273,1646,1881,2145,2326,2260,2254,2194,2027,2171,2276,2186,2459,2910,3275,3382,2910,2518,2493,2556,2374,2956,2932,1120,1427,1854,1579,2648,3009,2580,1919,2020,2458,2589,2418,2688,2861,2943,3107,3055,2731,2019,1801,1947,2260,2040,1975,2100,2060,2259,2309,2566,2448,1700,2100,2006,2063,2076,2022,2458,2982,2910,2332,2132,2753,2681,2431,2523,2286,2658,3191,2990,3076,3177,3603,3085,2718,3066,3528,3716,3654,3602,3542,3683,3119,3329,2595,2107,1753,1908,1645,2286,3076,2872,3029,3106,2379,2494,3079,3576,3051,2706,2644,2988,3558,3312,2844,2395,2236,3041,3816,3658,2910,2899,3386,3611,3534,3425,3495,3689,3942,3792,2729,1997,1947,2321,3085,2955,2259,2019,2397,3062,2928,2872,3392,3144,2596,2641],[3061,3564,3409,2943,3141,3023,3243,3986,4277,3720,2801,2426,2399,2505,2707,2658,2600,2636,2655,2560,2722,3176,3436,3588,3718,3428,3041,2767,2789,3153,3097,2700,2236,2009,1781,1604,1451,1307,1735,2843,3244,2939,2823,2538,2418,2696,2586,3270,4081,4077,4148,4164,4176,4160,4164,4112,4068,4116,4024,4027,3937,3841,3841,3883,3774,3547,3496,3363,3510,3739,3803,3685,3500,3984,3885,4047,3875,2963,2205,1673,1745,2499,2875,2469,2632,2566,2800,3556,4047,4145,3548,2994,3141,3527,3593,3321,3278,3376,3593,3309,3127,2940,3355,3774,4093,4198,3461,2599,2788,3002,2758,2827,3116,3349,3629,3531,2942,2144,2046,2338,1896,1770,2002,2113,1987,1698,2439,2924,2701,2170,2207,2581,2247,2048,1793,1727,1981,1997,2065,1608,1624,2005,2755,2689,1860,1700,2288,2389,2618,3173,3013,2876,2832,2801,2733,2138,1865,2193,2390,1678,1584,1636,1772,1949,2021,1870,1870,2599,2596,2027,2042,2126,2123,2409,2526,2655,2730,2398,1978,1880,1929,1981,1840,1942,2021,2054,2346,2431,1987,1685,1527,1664,1736,1876,1824,1821,2410,2835,2692,1993,2082,1799,1558,2026,2535,2898,2877,2734,2338,2201,2623,2581,2020,1736,1910,1981,1428,2404,3201,3231,3021,2491,2008,2137,2462,2287,2497,2015,2198,2746,2551,2539,2597,2390,2312,1797,1959,2184,2337,2611,2492,1847,1607,1949,2152,1860,1538,1635,1691,1640,1917,2038,2076,2187,2287,2610,2357,2828,3394,3394,3229,3009,2997,3230,3483,3565,3378,3153,3106,2986,2873,2922,2691,2375,2165,2374,2225,2373,3130,3686,3987,3928,3859,3960,3077,2502,2447,2544,2385,2362,2377,2352,2798,3357,3762,4028,3878,4006,3851,4532,4620,3410,2806,2773,3428,3584,3060,3145,3151,2741,2034,1953,2138,1507,1523,1594,1721,1810,1669,2143,2068,1569,1730,1726,1422,1523,1732,2328,3039,3462,2966,2451,2355,1907,1599,1975,1961,1571,2261,3311,2785,2457,2238,2051,2137,1862,1740,1829,1879,1775,1921,1938,1631,1937,2417,1985,2003,2285,2018,1956,1951,1930,1814,1907,2331,2004,1880,1962,1596,1838,2342,2873,2364,1930,1644,1417,1273,1350,1389,1382,1316,1511,1387,1288,953,1009,1096,1411,1583,1270,1281,1912,2438,2403,2198,1768,1615,1387,1395,1245,1161,1135,1301,1762,2239,1992,1737,1754,1601,2705,3249,3389,3027,2521,1911,1517,2213,2446,2358,2370,1610,1560,1909,2494,2644,2409,2132,2250,1854,1788,1765,1835,1845,1583,1778,1537,1446,1449,1379,1558,1886,2049,1654,1800,2460,2315,2644,3220,3629,3477,2908,2840,2809,3116,3133,3484,3232,2477,1939,1891,2283,2431,2346,2063,1614,1792,2212,2249,2107,1641,2124,2541,2172,2433,2609,2355,2133,1841,1827,1699,1606,1743,1882,1687,1591,1345,1368,1593,1782,1693,1954,1961,1855,2138,2130,1838,1699,1621,2449,2730,2492,2641,2460,2308,2143,2655,3342,2453,1918,1730,1416,2026,2376,2587,2889,2524,2619,3153,3138,3281,3194,1852,1568,1796,1681,1159,1397,2012,2064,1767,2138,2380,2438,2552,2258,2771,2767,1951,1581,1720,1620,1761,1528,1586,2040,2127,1836,1956,2471,2373,2182,1699,2139,2373,2477,2119,1844,2096,2456,2345,1847,1748,1857,1903,1941,1730,1940,2204,2283,1837,1848,1991,2007,1680,1765,1951,2301,2814,2730,2258,2567,2653,2998,3103,3356,3222,3069,3152,3454,3339,2803,3135,2875,2516,2695,2646,2416,2188,1877,1669,1804,1786,2160,3045,3297,3022,3145,3284,3522,3297,2777,2319,2007,2147,2330,2348,2468,2502,2372,2443,2518,2479,2537,2424,2344,2357,2127,1736,1801,1975,2316,2507,2319,2076,1505,1541,1794,1860,2060,2054,1970,2141,2206,2160,2084,1895,1716,1710,1644,1558,1615,1770,2050,2623,2746,2270,1684,1391,1507,1561,1756,1838,1772,2145,2263,1986,2067,2015,2078,1866,1683,1717,1798,1758,1792,1567,1379,1575,2416,2614,1832,1623,1377,1463,1593,1788,3034,4296,4451,4000,3171,2526,2071,2293,2568,2702,3256,3124,3034,2967,2786,3056,3167,3023,2843,2292,2698,2280,2369,2353,2532,2706,2214,2501,2860,2928,2900,2765,2709,2419,2827,2930,2362,2480,2515,2909,3219,2931,2529,3040,3751,3705,3309,3374,3724,3510,3118,2222,1490,1418,2034,2441,2409,2098,2693,3628,3873,3506,3319,3171,2950,2382,2661,3332,3609,3710,3640,3486,3872,4333,4212,4195,4648,4909,4741,4584,4630,4629,4672,4671,4648,3968,2126,2089,3900,4489,4541,3947,4321,4329,4015,3782,3940,3899,3577,3442,3736,3956,3627,3502,3527,3661,3316,3462,3937,3956,3828,3774,4001,4343,4061,3527,3135,2799,2399,2228,2084,1921,1870,1807,1787,1801,1787,1788,1831,1864,1914,2205,2414,2542,2376,1856,1468,1587,2051,2014,1893,2011,1696,1474,1998,1717,1610,1599,1802,1991,2027,2111,2089,1940,1774,2154,2387,2236,2225,2033,2026,1793,1528,1561,1593,1649,1456,1477,1576,1714,1961,2343,2549,2314,1810,1968,2787,2785,2740,2395,2598,2410,2251,2569,2802,2733,2381,2211,2216,1742,1546,1545,2392,2387,2300,2279,2094,1732,1699,2100,2534,2318,2139,2972,3029,3185,2910,2839,2765,2620,2619,2777,2836,2644,2031,1605,1687,1749,1950,2105,2128,2528,2331,2614,2216,1902,1876,1865,2272,2463,2137,1741,1982,2414,2958,3603,3431,3647,4025,3505,2415,2407,2765,2455,2229,2302,2408,3389,2746,2508,2940,3237,3327,3019,2927,3164,3322,3727,4292,4319,4005,4060,4001,3827,3664,2956,2662,3021,3096,2678,2823,3056,2565,2297,2468,2195,2202,2547,2602,2812,2896,2579,2211,2769,2851,2237,1930,1851,2524,2281,2153,2315,2264,2072,1863,1692,1733,2104,2243,2313,2395,2102,1720,1919,1890,2300,2533,2267,1796,2156,2540,2923,2714,2199,2344,2950,3076,2782,2583,2431,2418,2393,2762,2512,2470,2386,2429,2486,2539,2414,1843,1913,2099,2836,2914,2626,2680,2728,2491,2654,2977,2686,2267,2480,2510,2821,3830,2620,2610,3153,2580,2004,2314,2729,2552,2514,2504,2467,2546,2215,1845,2190,2864,2863,3011,2896,2335,2495,2808,2740,2532,2278,2260,1935,1788,1847,2036,2833,2561,2708,2799,2529,2802,2997,3033,2862,2385,2235,2699,3592,3078,2251,2380,2306,2303,2046,1924,2054,1766,1664,1750,1807,1957,2476,2973,3125,2580,2369,2041,2059,2518,2876,2584,2557,2869,2933,2388,2278,2286,2520,2379,2187,2428,2288,2176,2521,2420,2166,2104,1559,1599,1842,1877,1793,1508,1717,2005,2129,1957,1746,1764,1765,2176,2537,2142,2604,2667,2520,1863,1626,2256,2460,2618,2622,2032,1766,1826,2213,2315,2437,2441,2156,1831,2111,2213,1876,1722,1551,1494,1627,1799,1860,2201,1977,1954,1649,1500,1754,1773,1657,1776,1832,1724,1973,1962,1657,1716,1549,1824,2316,2709,3030,3082,2962,2798,2543,2419,2494,2608,2665,2964,3096,2953,2612,2813,2587,1903,2021,2238,2004,1980,2220,2676,2791,2222,2108,1969,1686,1725,1921,1923,1899,1819,2226,2667,2541,2457,1990,2138,2393,2189,1577,1806,2076,1471,1281,1498,1543,1643,2778,3532,2836,2521,2531,1908,2163,2817,3362,3262,3007,2731,2086,1704,1728,2130,2462,2572,2809,3083,2792,2338,1988,1963,1958,2013,1946,1727,1517,1641,2006,2208,1869,1814,1964,2292,2376,2482,2843,2840,2885,2837,2249,1921,1978,2003,2311,2624,3218,3260,3172,2420,2259,2539,2457,3061,3291,2832,2754,3014,3145,2308,1938,1892,2209,2527,1724,1200,1248,1929,2222,2189,2342,2166,2007,2554,2632,2085,2194,1977,1838,2239,2984,2598,1861,1962,2579,2832,2375,2526,2501,2655,2194,2065,2266,2193,2061,2013,1865,2079,2785,3204,3176,3508,3349,2978,2175,2276,2519,2240,2010,2093,2343,2429,2458,2955,3473,3559,3315,3460,3405,3220,3110,3165,3392,3615,3510,3297,3052,2733,2620,2752,3120,3091,2895,2547,2499,2493,2771,2801,2705,2765,2426,2657,3584,3687,3627,3610,3341,3123,2978,3104,3288,3517,3571,3342,3344,3300,3006,2663,2397,2599,3320,2525,1925,2085,2255,1955,2031,2264,2092,1945,1901,1733,1868,2161,2409,2248,2397,2623,2398,2014,1946,2399,2525,2404,2130,1875,1999,2426,2326,2214,2579,2364,1975,1997,1818,2562,3436,3230,2900,2876,2518,2161,1778,1942,2437,2767,2137,1566,1588,1439,1505,1766,1788,1664,1615,1680,1755,1725,1499,2040,2453,2375,3051,3301,2636,2808,3090,3220,2446,1754,1986,1881,1635,1913,2653,2114,1966,2713,2686,2743,2512,2952,3392,3367,3169,3113,3325,3816,3145,2425,2863,3276,3269,2965,2843,3528,3617,3217,3090,2884,2988,3001,3237,4049,4536,4256,3746,3201,3118,4145,4205,3895,3639,2902,2865,3138,3405,3460,3708,3797,3604,3183,2642,2824,3046,3205,2950,3263,3035,2847,2262,1519,2135,3040,2779,2705,2984,2199,2229,2743,2946,2751,2285,2671,2978,3393,3607,3405,3407,3682,4063,3638,3420,3230,3040,2492,2410,2596,2591,2543,2511,2475,2610,2770,2292,1675,1061,1823,2381,2160,1853,1941,2092,2334,2718,2841,2873,2846,2801,2054,2277,1938,1547,1193,1387,1536,1220,1422,2416,2771,2094,2175,2276,2138,2253,2503,2825,2881,2488,2546,3044,3373,3264,3047,2908,2491,2117,2524,2670,1954,2318,2138,1627,1839,1934,2081,1632,1247,2215,2720,2441,2597,2809,2874,3140,3073,2521,2011,1880,2100,2204,2123,2112,1968,1979,2392,2238,2199,2007,1967,2504,2212,2353,2298,2312,2724,2991,3184,2610,2100,2322,2702,3156,2845,2464,3205,3328,2396,2517,3165,3461,3096,2685,2965,3249,3636,3731,3827,3732,3630,3388,2653,2247,2212,2234,2216,1626,1560,2266,2907,2789,2608,2247,2331,2476,2852,2781,2724,2493,2812,3517,3182,2566,2093,2385,2777,3228,3176,2115,2380,2943,3499,3502,3210,3416,3665,3891,3659,2480,2097,1822,2009,2177,1803,1842,2056,2981,3958,3337,2878,3093,2967,2647,2654],[3335,3261,2543,2351,3088,3260,3384,3571,3874,3621,2762,2502,2552,2879,3112,2907,2985,3207,3061,3016,3263,3270,3227,3525,3464,3121,2821,2962,2999,3255,3431,2353,1346,1492,1916,2073,2309,2523,2764,3063,3173,3034,2825,2536,2598,3044,3038,3641,4473,4472,4365,4239,4211,4148,4017,3968,4014,4070,4042,4070,3981,3800,3816,3838,3786,3520,3510,3464,3507,3764,3820,3736,3591,3826,3951,3750,3497,3097,2222,1532,1120,1292,1823,2417,2847,2557,2670,3178,3560,3617,3139,3021,3376,3652,3260,3163,3426,3416,3317,3240,3105,3333,3804,4058,4101,3599,2664,2795,3033,3052,3046,3137,3254,3328,3378,3395,3433,2701,2302,2546,2453,2355,2195,2380,1958,1687,2553,2930,2259,2121,2687,2495,1902,1723,1725,1821,2143,2303,2337,1530,1408,1936,2707,2623,1959,1730,2758,3166,2722,2722,2753,2746,2612,2185,2178,1898,1734,1834,1824,1597,1620,1745,1712,2180,2938,2325,2361,3079,2498,2314,2099,1951,2450,2520,2087,2350,2560,2363,1977,1895,1793,1858,1540,1624,1952,2032,2056,2414,2357,1895,1574,1614,1549,1594,1520,1919,2730,3195,2544,1696,1706,1799,1686,1728,2054,2540,2753,2814,2385,2313,2789,2257,2143,2241,1891,1422,1732,2962,3263,2878,2746,2294,1836,2261,2525,2893,2906,2021,1863,2496,2719,2611,1674,1543,1864,1767,1908,2121,2646,2861,2289,2045,1751,2143,2410,1918,1610,1712,1610,1446,1904,2266,2265,2281,2115,1825,2019,2545,3107,3364,3142,3087,2888,2643,3206,3328,3328,3329,3422,2900,2868,3056,2724,2266,2204,2321,2294,2853,3928,4002,3826,3908,3950,4176,3724,2826,2435,2570,2460,2458,2444,2289,2455,2778,3061,3908,4289,4136,4019,4368,3525,2719,3284,3637,3679,3983,3688,3241,2386,2147,2076,1668,1654,1871,1783,1533,1777,1891,1826,2106,2194,1583,1946,1873,1605,1739,1670,1725,2174,3392,3665,2679,1920,1707,1846,2400,2429,1796,1947,2540,2733,2147,2088,2294,2188,1995,1955,2235,2064,1795,1884,1818,1714,2047,2467,2165,2209,2124,1964,2059,2242,2383,2050,2121,2123,1764,1692,1560,1578,1477,1665,1930,1742,1341,1377,1570,1334,1216,1238,1654,1630,1626,1324,1157,981,1132,1600,2260,2386,1981,1675,2248,2766,2470,2245,1646,1526,1443,1796,1551,1178,1117,1253,1909,2648,2482,1954,1708,1580,2445,3326,3609,3609,3032,2020,1628,1892,2175,2113,1782,1650,1459,1564,1767,1711,1676,1736,2026,1811,1566,1511,1675,1880,2477,2886,1537,1303,1439,1576,1645,1830,1921,1990,2568,2630,2145,2474,2978,3382,3270,3061,3220,3006,2865,3115,3209,2245,1535,1374,1619,2176,2428,2234,2183,1916,1883,1794,2110,2358,1978,2291,2512,2500,2752,2316,2215,2183,1992,2011,1837,1766,1743,1860,1813,1504,1572,1965,1827,1587,1882,2344,2482,2410,1844,1892,2122,2113,2309,2729,2736,2228,2121,2581,2662,2415,3029,3620,2163,1678,1547,1550,1543,1598,2030,2710,2652,2435,2467,2258,2569,2467,1463,1561,1830,1729,1019,1467,2279,2092,1824,2113,2155,2320,2408,2384,2310,1877,1556,1835,1969,1713,1536,1517,1622,1756,1936,1804,1794,2198,2205,2366,1989,2684,2841,2367,2197,2400,2631,2810,2701,2159,2053,2034,1740,1796,1859,2535,2556,2442,1985,1590,1777,1880,1880,2122,1982,2326,3012,2217,2103,2246,2646,3366,3221,3086,3134,3060,3302,3286,2632,2536,2720,2208,2177,2436,2830,2887,2573,2070,1910,1572,1490,2514,3364,3315,3172,3034,3115,3332,3085,2380,2163,2022,1956,2159,2313,2292,2255,2208,2360,2275,2148,2242,2048,2282,2245,1946,1760,1915,2047,1963,2093,2396,2626,2111,1786,2053,2257,2250,1979,1803,1806,2060,2299,2156,2059,1970,1703,1519,1455,1510,1659,2031,2583,2600,2328,1937,1514,1504,1477,1717,1721,1718,1785,1843,2289,2321,2260,2042,1846,1719,1576,1821,2180,2039,1571,1497,1535,2052,2125,1702,1547,1411,1526,1636,1622,2166,3009,3420,3802,3175,2175,1830,2154,2386,3000,3321,2954,2967,3049,3028,3206,3184,3152,3160,2730,2939,2686,2445,2611,2729,2496,2631,2677,2322,2674,2895,3060,2776,2567,2846,2786,2354,2200,2502,3015,3828,4038,3285,3121,3474,3646,3704,3763,3498,3031,3531,3086,1816,1246,1448,2318,3035,3303,3820,3936,3553,3249,3022,2740,2591,2634,3024,3496,3695,4021,4019,3580,3710,4019,4288,4287,4531,4793,4793,4668,4475,4450,4702,4851,4411,2587,1749,3416,4475,4616,4396,3709,4118,4312,3726,3650,4004,3829,3449,3575,3906,4233,4005,3801,3596,3767,3551,3495,3703,3606,3854,4141,4016,4128,4011,3285,2655,2325,2130,2043,1888,1848,1868,1885,1864,1816,1884,2099,2212,2335,2538,2568,2188,2018,2070,1507,1284,2287,2843,2164,1745,1823,1576,1543,1838,1867,2108,1792,1959,2203,2127,2064,2124,2090,1978,1985,2286,2140,2201,2165,2266,2004,1533,1358,1396,1488,1561,1555,1396,1268,1655,1998,1998,1703,1492,1717,3063,3472,3142,2448,2140,2164,2246,2395,2842,2745,2225,2014,2091,1683,1562,1895,2309,2480,2578,2362,2317,1832,1345,1952,2448,2312,2450,2901,2813,3018,3188,3063,3222,3121,2864,2786,2511,2052,1823,1580,1866,1526,1571,1962,2220,2188,2475,2754,2037,1957,2484,2380,2529,3165,3218,2401,2426,2648,2758,2844,3204,3918,4432,3864,2879,2718,2486,2301,2203,2834,2947,3428,2605,2167,2303,3369,3870,3584,3525,3263,3702,4332,4479,4616,4303,4167,3982,3892,3608,3085,3154,3197,3008,2843,3164,3197,2808,2315,2179,2359,2768,2720,2238,2219,2267,1829,1870,2886,3165,2007,1514,1568,2127,2331,2934,2761,2791,2496,2106,1797,1572,1715,2098,2228,2322,2562,1970,1764,1800,2456,2202,1652,1720,1825,2270,3075,2912,2089,2602,3782,3752,2908,2696,2713,2742,2910,2461,1853,1816,1868,2099,2451,2590,2808,2087,2350,2728,2590,2557,2912,3016,3056,2770,2480,2828,2599,2668,3248,2797,2483,3198,2610,2470,2765,2387,1947,2110,2443,2635,2458,2220,2231,2659,2482,1816,2266,2752,2705,2887,3019,2577,2547,2701,2426,2281,2140,2112,2002,1764,2232,2524,2754,2700,2863,2640,2137,2083,2180,2066,2034,2101,2184,2690,3171,2667,2121,2097,2122,2200,2189,2197,1907,1660,1920,2083,1963,2105,2425,2509,2712,2445,1841,2247,2710,2468,2140,2185,2561,3256,3035,2562,2562,2319,1941,1930,1847,1824,2152,2475,2479,2344,2143,1980,1685,1469,1906,2180,2039,1668,2002,2308,2324,2049,1493,1443,1587,2256,2475,2028,2667,2755,2083,1581,1466,1980,2529,2733,2481,1716,1551,1511,1921,2225,2564,2396,2412,2493,2729,2796,2521,1970,1663,1570,1462,1630,1531,1380,1601,1634,1805,1910,1892,1839,1704,1939,1969,1819,1970,1975,1821,1625,1502,1910,2441,2099,2077,2788,3107,3095,3038,2921,2921,2858,2956,3351,3476,3312,3104,2530,1621,1328,1532,1606,1561,1902,2352,2833,2668,2233,1796,1610,1628,1620,1789,2023,1980,1670,1725,2392,2595,2753,1929,1864,2224,2196,1670,1951,1873,1432,1406,1659,1678,1788,3020,3460,2543,2511,2264,2244,2878,3264,3279,2868,2636,2492,2464,2244,1937,2044,2258,2950,2997,2675,2325,2222,2133,2182,2282,2197,2655,2511,1644,1658,2266,2220,2348,2081,1901,2025,2181,2179,2674,2833,2197,1851,1744,1685,1841,1986,2380,2609,3278,3271,3118,2590,2317,1932,1791,2280,2929,3017,3037,3188,3244,2803,2513,2249,2544,2542,1699,1283,1642,2333,1966,2137,2402,2126,1926,2692,2855,2157,1992,1981,2001,2393,2954,2666,2130,2208,2690,2470,2121,2154,2658,2065,1832,2074,1997,2131,2511,2145,1913,2055,2654,3218,3326,3515,3051,2519,2013,1988,2028,1952,2157,2553,2718,2764,2765,3088,3646,3661,3264,3298,3449,3725,3362,3006,3067,3206,3415,3366,3176,2896,2904,2971,3237,2928,2822,2674,2648,2792,2907,2917,3230,3583,3529,3241,3374,3420,3303,3308,3445,3414,3216,3211,3409,3473,3494,3650,3729,3300,3050,2762,2141,2563,2786,2330,1739,1682,1951,2023,1979,1964,1811,1882,2365,1880,2188,2455,2546,2366,2492,2273,1981,2001,2315,2789,2165,1979,2127,2473,2588,2425,2477,2626,2655,2142,1618,1672,1903,2597,2833,3026,3264,3558,3372,2497,1975,2084,2119,2239,1949,1600,1482,1648,1699,1627,1653,1571,1741,2038,1926,1715,1958,2158,1874,2149,2997,2762,2492,2840,3085,2900,2040,2156,2182,1572,1560,1726,1763,1772,2043,2743,2923,2555,2543,2802,2819,2842,3042,3331,3731,4233,3264,1960,1921,2373,2996,3263,3228,3592,3493,3491,3635,4059,3646,3072,3730,4744,4727,4435,3680,2916,3087,3384,3550,3577,3243,3023,3205,3496,3471,3362,3532,3407,3193,2797,2607,2644,3031,3416,3686,3319,2750,2670,2140,1887,2241,2874,2899,2677,2867,2314,2501,3105,3044,2386,2424,2851,2861,3044,3539,3798,3701,4128,3970,3288,3142,2868,2610,2480,2464,2400,2553,2687,2564,2402,2393,2664,3221,2865,1460,1689,2209,1793,1450,2353,3000,2921,3018,2786,3138,2910,2566,2248,2211,1990,1531,1320,1693,1710,1511,1836,2370,2289,1942,2081,2199,2504,2547,2265,2974,2688,2117,2358,2661,3228,3360,3208,3642,3188,2224,2237,2741,3161,3312,2940,2179,1699,1740,2487,2299,1777,2024,2248,2179,1933,1910,2264,2917,3090,2742,2454,2182,1962,2298,2296,2074,2463,2867,2872,2512,2281,2501,2316,2807,2736,3143,3212,3100,3096,2774,2833,2257,2179,2410,2432,2614,2540,2734,3206,2839,2259,2699,2820,2819,2832,2937,3200,3516,3515,3564,3646,3479,3244,2709,1960,1951,2111,1944,1991,1974,2225,2341,2730,3094,2667,2251,2383,2315,2162,2192,2286,1993,2115,2885,2320,1700,2617,3271,3104,3144,2812,2402,2540,3151,3504,3232,2856,2584,3528,3829,3320,2482,2048,1855,1642,1975,2590,2824,2479,2686,3935,3540,2773,2858,2859,2598,2292],[2734,2545,2102,1952,2501,2585,2908,2952,3416,3514,2951,2634,2621,2945,3078,2773,2911,3249,3334,3357,3306,2978,2769,3131,3067,2828,2993,2825,2513,2911,3180,2586,1917,2252,2637,2581,2569,3095,3121,3020,3027,2975,3017,3031,3375,3874,3889,4308,4631,4664,4580,4451,4306,4107,4047,3979,3969,3961,3983,4000,3920,3785,3930,3846,3720,3473,3399,3458,3427,3496,3441,3425,3540,3706,3986,3814,3449,3133,2618,2229,2049,2496,2905,2930,2830,2564,2223,2234,2630,2971,2937,3077,3240,3392,3096,3283,3464,3309,3409,3529,3250,3349,3846,4345,4414,3414,2773,3031,3140,3293,3304,3149,3074,3215,2795,2562,3284,3189,2425,2014,2689,2989,2776,2503,2070,2344,2553,2365,1865,1977,2690,2317,1956,1858,1824,1909,2210,2530,2087,1639,1829,2431,3043,2830,1973,1981,2742,2670,2304,2374,2905,2815,2357,2151,2268,1990,1868,1944,2010,1880,1740,1881,2228,2641,2678,2322,2618,2861,2639,2539,2133,2199,3140,2744,2007,2487,2587,2530,1999,2182,2109,1862,2009,1971,1927,1696,1816,2050,2183,2235,2004,1814,1792,1504,1399,1835,2230,2208,1791,1748,1874,1805,1903,1817,1840,2092,2393,2596,2699,2601,2768,2118,2382,2715,2118,1251,2164,3715,3243,2485,2401,2226,2264,2497,2846,3231,2634,1885,2063,2386,2577,2288,1447,1493,1677,1902,1743,1813,2421,2608,2284,2232,2065,2172,2285,2021,1919,2298,2046,1906,2247,2415,2149,1917,2297,2264,2464,2842,3095,3285,3241,3259,3012,2994,3239,3063,3284,3363,3395,3172,3230,3275,2706,1891,1719,1853,2272,3018,3786,3217,3085,3558,3875,4116,4029,3308,2669,2707,2602,2566,2447,2231,2244,2491,3013,3609,3906,3894,3526,3115,2664,2744,3428,3880,3679,3481,3375,3392,2832,2980,2735,1903,1582,1874,1854,1736,1676,1747,1803,2274,2549,1880,2067,2170,1887,1698,1697,1765,1665,2223,2834,2309,1996,1843,2123,2536,3006,2488,1979,2068,2656,2406,2407,2437,1940,1847,2717,3597,3007,2352,2070,1860,1667,1763,2066,2132,2231,2372,2090,2045,2088,1981,1707,2272,2482,1882,1561,1416,1370,1420,1603,1651,1450,1168,1312,1488,1532,1356,1682,2137,1765,1611,1592,1365,1175,1221,1807,2415,2286,2383,1824,1612,1792,2177,1804,1356,1331,1525,1667,1417,1172,1136,1216,1699,2081,2263,1890,2092,1879,2534,3588,3820,3946,3581,2980,2352,1957,1844,2134,1826,1609,1519,1632,1640,1786,1738,1716,1888,1723,1446,1550,1822,1812,1992,1776,1564,1755,1966,2184,2133,1838,2004,2295,2296,2642,2643,2974,3189,3594,3472,2901,2929,3354,3409,3317,2314,1518,1575,1736,1932,2320,2333,2109,2265,1993,1926,2089,2357,2377,1964,2351,2834,2846,2957,2478,1896,2155,2143,2054,1902,1881,1861,1775,1643,1559,1893,2344,2314,2164,2316,2386,2571,2580,2104,1973,2224,2403,2449,2312,1997,1743,1747,1784,2033,2116,2888,2776,2022,1648,1431,1560,1677,1543,1859,2718,2539,2294,1844,1332,2046,1736,1446,1707,1723,1814,1948,2448,3143,2676,1797,1607,1803,2343,2718,2724,2446,1990,1778,2530,2881,2007,1511,1643,1872,1824,2067,1732,1480,1815,2018,1864,1900,2797,2736,2202,2216,2354,3046,2873,2707,2347,2217,1562,1469,1876,2029,2388,2476,2102,1744,1620,1736,1971,2124,1969,2076,2446,2094,1575,1985,1987,2210,2846,2858,2574,2805,3009,2868,2692,2444,2790,2148,2122,2685,3033,2918,2818,2731,2084,2179,2042,2199,3496,3613,3547,3333,2746,2673,2994,2723,2402,2547,2176,1532,1758,2513,2425,2396,2590,2596,2390,2083,2089,2076,2112,2055,2029,1926,1836,1791,1668,1814,2279,2793,2767,2141,2171,2176,2075,2010,1793,1565,2197,2719,2074,1902,2078,1878,1680,1510,1488,1716,1923,2128,1968,1801,1738,1780,1757,1628,1724,2047,1910,2021,2199,1995,2158,2248,1819,1909,1868,1560,1921,2430,1812,1453,1398,1392,1559,1546,1335,1327,1477,1534,1530,1480,1596,1851,2335,3247,3547,2532,1913,2005,2439,3043,3149,3128,3327,3211,3234,3231,3154,3261,3271,2934,2277,1861,1998,2371,2455,2286,2547,2501,2216,2998,3454,3354,3068,2665,2491,2938,2809,2491,2765,3326,4043,3995,3654,3514,3417,3822,4220,4350,3680,2943,3554,3974,3045,1658,2083,3220,3560,3849,3071,3475,3316,3315,3257,3133,3089,3053,3199,3303,3502,4103,4003,3938,4124,3751,4135,4400,4628,4849,4805,4684,4520,4443,4648,4509,3166,1746,3119,4396,4410,4220,3720,3292,3597,3740,3698,4000,4118,4072,3950,3719,3653,3813,4009,3869,3869,3894,3752,3720,3724,3829,4261,4489,4176,3997,3628,2879,2247,1984,1974,1914,1909,1982,1950,1959,1882,1849,2125,2310,2085,1705,2009,2091,1964,2558,2684,1555,1471,2696,3075,2219,1869,1792,1730,1779,1738,2328,2376,1810,1992,2331,2163,2055,2033,2164,2339,2324,2742,2631,2411,2234,1953,1649,1425,1482,1618,1594,1905,1973,1579,1485,2116,1808,1670,1526,1515,1447,1944,2178,2069,2075,2418,2677,2491,2463,2501,2397,2209,2165,2140,2508,2307,2016,2351,2820,2699,2498,2566,2448,2031,2220,2497,2364,2669,2835,2778,3121,3501,3514,3529,3405,3267,3210,2418,1834,1814,1763,1943,1520,1746,2117,2315,2512,2689,2532,1963,2135,2341,2252,2686,3439,3339,2180,2419,3108,2951,2994,3397,3760,4256,4219,3806,3282,2755,2562,2535,2853,3218,2921,2215,1961,2172,2980,3649,3747,3960,3763,4193,4181,3833,4396,4289,3725,3862,4329,3846,3520,3721,3419,3339,3278,3195,2997,2536,1894,1701,2020,2852,2770,1913,1781,1651,1469,1588,1834,2158,1712,1707,2041,2774,2965,2874,2868,3010,2620,2106,1819,1765,1826,2215,2436,3240,2998,2425,2002,2082,2605,2188,1938,2204,1985,2317,3451,3340,2446,2429,2994,3309,2947,2451,2502,2655,2350,1725,1615,1771,1891,2191,2583,2034,2232,2117,2479,3206,3007,2600,2780,3038,3085,2818,2583,2645,2150,2361,2932,2850,2409,2154,1963,2110,2530,2546,1840,1991,2500,2793,2060,1690,2105,2513,2340,2131,2389,2821,2874,2641,2713,2811,2536,2402,2369,2181,2052,2054,1835,1707,2385,2838,2671,2329,1719,1358,1283,1353,1393,1360,1343,1754,1963,2149,2475,2450,2224,2151,2118,1797,2025,1776,1495,2001,2352,2330,2028,1880,2092,2180,1815,1507,1909,2837,2857,2386,2212,2199,2280,3062,2847,2434,2787,2613,1778,1491,1568,1910,2262,2309,2300,2350,1841,1804,1509,1154,1798,2486,2232,1749,1927,2037,2282,2213,2171,1782,1986,2245,1986,1669,1939,2474,2360,1735,1613,1776,2554,3248,2297,1639,1766,2327,2650,2490,2630,2823,3019,2895,2876,2659,2284,1756,1596,1566,1348,1461,1521,1377,1297,1494,2035,1996,1680,1356,1223,1533,1959,2004,1872,1931,1980,1746,1627,1782,1863,1555,1702,2743,3521,3387,3312,3206,3109,3247,3483,3386,3529,3518,3034,2188,1457,1556,1700,1807,1925,1706,1858,2019,2155,2150,2111,1854,1559,1609,1857,2195,1924,1441,1578,2021,2576,3200,2541,1915,2049,2127,1974,1841,1618,1449,1446,1794,1602,2096,3394,3190,2209,2144,2052,2291,2679,3304,3409,2916,2499,2810,2687,1974,2069,2648,2977,2922,2500,2468,2208,2211,2430,2062,1733,1864,3207,3628,2542,1981,2210,1896,2051,2108,2013,2209,2416,2092,2141,2101,1853,1981,1990,1629,1726,1817,2092,2710,3103,2999,2139,1669,1673,1609,1741,1647,2035,2666,2709,2796,3255,2718,2701,2766,2719,2425,1628,1609,2301,2533,2333,2353,2119,1775,1737,2166,2345,2130,1786,1825,2297,2308,2841,2785,2065,1802,2291,2236,2210,2233,2217,2338,2672,2758,2357,1980,2106,1744,1829,1845,2519,3085,3527,3665,3239,2625,2317,2435,2545,2642,2878,2855,2723,2654,2910,3130,3439,3474,3232,3240,3818,4020,3376,2890,2768,2943,3240,3398,3395,3355,3264,3253,3228,2966,2791,2744,2852,3047,3271,3140,2994,3125,3397,3169,3210,3286,3058,3132,3139,3079,3090,2765,2904,3233,3294,3409,3586,3719,3227,2437,2040,1926,1941,2111,1896,1664,2209,1920,1838,1980,1894,2095,2517,2410,2666,2796,2347,2288,2776,2669,1999,2070,2644,2869,2553,2626,2198,1993,2079,1948,1844,1886,2226,2129,1741,1731,2066,2436,3007,3072,3499,3755,3433,2619,2101,1629,1601,1829,1632,1726,1794,1914,1874,1717,1683,1469,1705,2266,2088,1838,2128,1876,1591,2222,3208,2479,2820,3061,3305,2665,1894,2178,2157,1754,1667,1568,1466,1624,2409,2718,3062,2618,2770,2502,2491,2969,3228,3229,3560,3561,2377,2440,2340,1743,2809,3781,3601,3708,4124,4063,3911,4193,3899,3583,3983,4388,4120,3884,3129,2918,2799,2551,2999,2988,2641,2902,3020,3495,3602,3438,3137,3165,3247,2872,2733,3056,3360,3619,3282,2517,2522,2320,2437,2938,2575,3021,3532,3143,2943,2512,2691,2653,2131,2281,2816,3084,3256,2869,3322,3824,4046,4128,4025,3671,2813,2241,2048,1993,2077,1880,2125,2381,2685,2297,2229,2280,2932,2657,1953,2148,2299,2210,2042,2207,2503,2743,2600,2381,2610,2546,2427,2213,2256,2876,2928,2494,3086,3088,2028,2183,2279,1976,2332,2490,2451,2487,2406,2460,3025,2750,2191,2216,2654,3298,3364,3450,3898,3774,2656,2275,2768,3056,3283,3111,2479,2240,2439,3108,2458,1772,1609,1629,2021,1980,2413,2731,2831,3124,2955,2687,2390,2221,2406,1886,1948,3112,3962,3825,2450,2109,2457,2273,2432,2927,3639,3419,3448,3532,2807,2585,2200,2307,2544,2420,2307,2423,2689,2971,2740,2768,2934,2547,2511,2567,2985,3371,3816,2910,3042,3408,2889,2281,2143,2305,2050,1614,1448,2073,2219,2619,2647,3031,3445,2764,2711,3062,2523,1951,1684,2125,2085,2106,2594,1677,1642,2724,3378,3227,2928,2749,2607,3124,3452,2647,2735,2844,2159,3449,4280,3307,2289,1987,1902,1551,2355,3314,2819,2723,2765,3352,3097,2578,2396,2329,1943,1942],[2770,2599,2105,1556,1623,1876,2592,2789,3088,3339,3012,2778,2781,3002,3185,2980,3276,3577,3736,3404,3172,3132,3260,3254,3006,3078,2910,2217,2104,2549,2787,2773,2267,2141,1835,1455,1783,3028,3276,3351,3589,3304,3208,3263,3415,3872,4264,4380,4431,4540,4571,4562,4476,4228,3950,3923,3995,3949,3907,3890,3904,3817,3849,3607,3440,3278,3328,3492,3575,3539,3286,3366,3484,3457,3802,3855,3775,3246,3422,3479,3508,3782,3816,3392,2930,2503,2166,2275,2656,3018,3710,3319,3217,3152,2752,2767,3238,3415,3498,3548,3291,3405,3619,4014,4060,3505,2935,2921,3106,3117,3120,2928,2779,2807,2555,2893,3251,3201,2521,1720,2344,3124,3220,3038,3005,3100,2714,2566,2791,2389,2605,2114,1764,1604,1802,2031,2278,2766,2640,2291,2256,2783,3005,2470,1726,1788,1989,2115,2308,3039,3006,2764,2166,1956,2228,2115,2105,2388,2373,2104,1936,1793,2343,2640,1948,1741,2003,2879,3142,2623,2271,2768,3124,2149,1781,2457,2822,2810,2357,2314,2054,2143,2568,2302,1904,1825,1808,1691,1925,2272,2275,1949,2126,1953,1572,2062,2621,2048,1907,2320,1951,1958,2786,2382,2035,1923,2802,2894,3150,3194,2820,2449,2372,2474,2417,2049,2996,3797,2978,2642,2445,2312,2093,1923,2077,2208,2046,1913,2180,2488,2600,1942,1780,1829,1939,2542,1991,1903,1845,1953,2389,2570,2533,2731,2806,2479,2591,2587,2294,1767,1948,2007,1829,1938,2487,2754,2651,2723,3040,3066,3105,3242,2818,2741,2856,3176,3303,3394,3387,3409,3408,3155,2238,1478,1520,1914,1999,3077,3760,3097,2761,3152,3930,4144,3817,3732,3238,3010,2624,2604,2510,2311,2309,2405,2659,3173,3508,3167,2784,2986,3272,3160,3488,4065,3930,3349,3626,3872,3343,3188,2754,1836,1636,1808,1660,1826,1656,1781,1738,1741,2044,1908,1795,1753,1643,1796,1926,1651,1457,1724,1795,1899,1668,1879,2759,2733,2526,2104,1670,1849,2228,2193,2214,1622,1464,1679,2823,3044,2973,2630,2148,2126,2026,1937,2200,2106,2318,2489,1964,1664,1656,1875,1859,2417,2743,2199,1727,1575,1495,1449,1510,1527,1324,1195,1357,1416,1827,1654,1789,1852,1479,1487,1570,1468,1325,1251,1666,1976,1923,2075,1580,1181,1217,1275,1150,1167,1240,1263,1164,1245,1297,1117,1209,1980,1782,2042,2316,2483,2462,2945,3554,3608,3400,3415,3295,2964,2286,1911,2170,1814,1572,1611,1888,2268,2170,1734,1588,1860,1933,1831,1909,2129,2245,2295,2248,2195,2957,3471,3226,2245,1969,2431,2728,2363,2621,3038,2864,2676,3188,3200,2942,3234,3408,3695,3418,2165,1656,1784,2096,2279,2395,2437,2430,2277,1894,1769,1764,2087,2234,1946,1922,2041,1853,2096,2164,2101,2103,2098,2137,2203,2181,2008,1703,1697,1907,1759,1772,2093,2864,2597,1941,2065,2419,2244,2026,2311,2464,2262,2014,1696,1570,1649,1679,1968,1591,1912,2276,2374,1841,1769,2235,2064,1787,1797,2222,1931,1718,1623,1644,1822,1577,1436,1802,2071,2343,2524,2657,3086,2257,1693,2033,2066,2267,2286,2167,2072,1816,1988,2973,2769,1801,1610,1801,1953,1588,1728,1844,1992,2286,2034,1645,1834,2179,2156,1973,2013,1942,2147,2388,2484,2172,1924,1750,1731,1933,1981,2146,2152,1820,2030,2176,1973,1893,1949,1896,2021,1830,1547,1831,2104,2172,2114,2237,2818,2928,2805,2894,2699,2372,2923,2867,2316,2666,3130,3107,2866,3682,4333,2424,2325,2289,3300,4096,3936,3383,2799,2521,2566,2809,2739,2576,2566,2451,1971,1984,2433,2580,2792,2692,2456,2359,2210,2091,1929,1880,1935,2253,2112,1730,1706,1690,1774,2023,2632,2871,2421,2191,2411,2139,1758,1767,2067,3009,2465,1922,1923,1937,2067,1948,1590,1527,1704,1627,1592,1612,1867,1980,2497,2680,2143,2214,2261,2097,2107,2045,2033,1913,1763,1696,1876,1665,1574,1827,2341,1942,1597,1604,1591,1536,1497,1496,1380,1285,1363,1767,1670,1768,1987,1928,2283,2946,3128,2741,2369,2791,3112,3030,3029,3086,3020,3056,3112,3096,3370,2898,2302,2302,2066,2238,2343,2454,2433,2450,2292,2164,3007,3724,3538,3011,2320,2298,2933,3294,3250,3240,3309,3168,3037,2957,3258,3610,4056,4084,3995,3731,3151,3154,4061,4243,2745,3040,3497,3732,4189,3064,2919,2917,3041,3344,3383,3348,3211,3382,3542,3430,4085,3834,3492,3671,3724,4061,4416,4639,4712,4671,4695,4792,4611,4568,3795,1967,2708,4307,4471,4350,3970,3350,3298,3441,3536,3812,4353,4268,4177,4040,3973,3960,3768,3774,3873,3848,3717,3819,3723,3574,3959,4432,4144,3707,3244,2801,2359,2024,1998,2010,1933,1957,1895,1891,1925,1910,2024,1971,1583,1551,1616,1788,1818,1907,2664,2907,2047,1738,2244,2662,2435,2292,2017,2133,1911,1545,1672,1692,1811,2387,2667,2366,2142,1923,1979,2100,2460,3184,3096,2458,1970,1559,1548,1519,1670,1746,1540,1992,2196,2154,2030,2210,2196,2204,1813,1692,1736,1896,1902,1948,2244,3044,2945,2620,2493,2388,2445,2330,2035,2076,2355,2098,1977,2478,2884,2684,2514,2553,2369,2152,2569,2350,2181,2664,2832,2903,3461,3780,3691,3740,3717,3536,3230,1988,1621,1842,2060,1861,1433,2008,2575,2706,3051,2729,2334,2004,2252,2431,2551,2907,3440,3484,2966,3205,3518,3248,3464,3562,3479,3574,4128,3847,2987,2930,2720,2720,3444,3391,2329,1826,1763,1937,2211,3376,4013,4160,4012,3962,3608,3838,4384,3979,3426,3599,3851,4018,3729,3775,3660,3264,3046,2862,2444,2356,1925,1740,2060,3018,2687,1659,1748,1459,1493,1438,1554,1633,1737,1926,2930,3342,2412,2051,2449,2161,2114,1914,1718,1985,2167,2344,3104,3045,2718,2730,2231,1993,2161,2003,1951,2238,2048,2244,3160,3075,2876,2674,2477,2762,2633,2640,2821,2260,1610,1180,1849,2523,2661,2578,2532,1996,2325,2810,3021,2976,3312,3274,2924,2952,2606,2667,2832,2394,2725,2364,2121,2405,2496,2272,2115,2156,2271,2352,1855,2232,2684,2714,1991,2762,3609,3020,2219,1926,1975,2410,2670,2614,3342,3277,2492,2120,2336,2328,2120,2199,2013,1676,2199,2865,2398,1915,1393,1430,1505,1542,1607,1666,1628,1888,1936,1693,1919,2279,2296,2012,2003,1521,1608,1750,1869,2464,2563,2350,2281,2007,1971,2167,2311,2800,3032,2919,2849,2585,2698,2626,2338,2486,2526,2490,2861,2839,2336,1806,2051,2265,2190,2007,1809,1790,1555,1719,1676,1400,1685,2320,2360,1676,1791,1882,2514,2350,2281,2126,2310,2091,1918,1971,2047,2496,2523,1758,1443,1576,2509,2775,2117,2082,2167,2344,2333,2432,2435,2588,2906,2845,2480,1996,1605,1465,1614,1532,1348,1364,1416,1406,1276,1382,1830,1913,1828,1225,1337,1586,1745,1983,1963,1931,1910,1689,1549,1675,1999,2665,2562,3106,3322,3141,3259,3396,3255,3172,3077,2888,3127,3437,3426,2567,1750,1746,1653,2100,2174,1736,1731,1712,1866,1982,1888,1658,1493,1538,1849,2122,1795,1417,1643,1702,2187,3261,3027,2316,2359,2271,2097,1709,1570,1575,1534,1617,1610,1965,2597,2273,1936,1897,2222,2558,2500,2995,2703,2048,1907,2676,2468,1969,2510,2588,2864,2764,2469,2658,2301,1940,2775,2294,1809,1638,2309,2752,2712,2302,1927,1636,1524,1746,1885,2242,2666,2464,2044,1852,1804,1938,2057,1779,1760,1667,1716,1920,2452,2665,2090,1830,1980,2402,2718,2598,2652,2640,2437,2652,2909,2668,2902,3085,2932,2546,2053,2180,2964,2522,2227,2175,1825,1594,1624,1870,2403,2886,2756,2376,2602,2686,2812,2515,1445,1221,1601,2032,2798,2586,1890,2361,3155,3213,3001,2149,2213,2092,1789,1615,2321,2922,3398,3750,3586,3228,3009,3142,3157,2934,3002,2853,2783,2754,3104,3198,3466,3740,3373,3120,3554,3516,3097,2832,2890,3010,3045,3124,3065,3222,3329,3252,3163,3091,2903,2809,3027,3233,3237,2941,2617,2689,2935,3067,3123,3073,2998,2953,2651,2801,3228,3025,2768,3023,2960,3050,3247,3397,3294,2933,2754,2270,1763,1896,1800,1777,2156,1803,2260,2396,2316,2316,2724,2834,2316,1854,1785,1842,2000,2402,2156,2544,2841,2618,2451,2523,2299,1844,1681,1867,1496,1534,2294,2482,2338,2183,2398,2589,3301,3256,3145,3471,3138,2161,1830,1542,1969,2002,1704,2320,2397,2008,1839,1866,1853,1760,1829,2183,2007,1750,2042,1730,1876,2714,2441,2207,2739,3007,3181,2486,1932,1673,1648,1585,1620,1488,1650,2450,2977,3120,2899,2262,2374,2514,2726,3232,3828,3943,3352,2769,1635,1766,2029,2017,3185,3869,3596,3547,3941,4008,3964,3728,3494,3052,3207,3409,3454,3081,2600,2972,2776,2468,2942,2512,2558,3166,3269,3596,3615,3514,2879,2592,2436,2558,3131,3388,3248,2670,2352,2986,3195,2742,2999,3582,3337,3498,3649,3331,2751,2422,2401,2186,2448,2830,3225,3282,3441,2695,3074,3908,3890,3543,3861,3628,2644,1963,1168,1382,2161,2026,2156,2025,2562,2351,2318,2219,2536,2460,2545,2634,2062,1918,1852,2446,2751,2435,2078,2357,2461,2154,2185,2379,2657,3340,3372,2317,2322,1875,1621,2114,2314,2996,3554,3664,3090,2408,2325,2417,2702,2788,2367,2123,2499,3292,3461,3502,3662,3538,2464,1970,2382,2812,3388,3522,2998,2644,2645,2548,1976,1422,1454,1990,2375,2250,2313,2517,2980,3326,3386,3125,2663,2546,2276,1976,2542,2961,3253,3270,2701,2340,2198,2153,1761,2096,2669,2886,2843,3011,3028,2600,2220,2435,2667,2518,2345,2329,2445,2710,2949,3203,2757,2213,2663,2790,2886,3106,3201,2664,2953,3106,2340,1931,2434,2876,2706,2239,2078,2599,1892,1694,2344,3164,3050,2390,2540,2622,2059,1856,1788,2136,2514,2493,2500,1598,1898,3046,3404,3251,3513,3708,3614,3942,3378,1500,1587,2529,2520,3682,4432,3094,1965,1998,2025,1899,2400,2925,2402,2269,2333,2305,2242,2080,1781,1883,1857,2110],[2719,2712,2242,1822,2151,2348,2614,2694,2899,2989,2790,2700,2901,3341,3387,3130,3188,3206,3154,3095,3133,3183,3261,3151,3372,3621,2646,2224,2195,2503,2479,2583,1886,2034,2460,2816,3249,3463,3350,3383,3343,3307,3480,3760,4096,3703,3978,4153,4345,4407,4436,4572,4532,4335,4083,4019,4017,3935,3865,3904,3748,3718,3572,3426,3271,3197,3305,3520,3750,3749,3264,3264,3323,3088,3071,3384,3794,3624,3624,3735,3782,3875,3860,3399,2855,2826,2987,2672,2587,3118,3228,3048,3073,2715,2448,2415,3000,3443,3452,3481,3572,3482,3328,3527,3481,2966,2844,3084,3129,3090,3001,2850,2863,2891,2940,3208,2916,3030,2413,1791,2613,2840,2236,2470,3394,3420,3244,3333,3255,2229,1909,1671,1732,1956,1600,1673,2393,2770,2841,2818,2588,2901,2861,2574,1796,1611,1761,1970,2363,2764,2923,2677,1748,1530,1857,1725,1804,1780,1971,2435,1976,1808,2321,2315,1770,1946,2519,2891,2755,1804,1506,2375,2587,1953,2396,2541,2464,2458,2334,2268,2112,2254,2418,2129,1909,1928,1597,1920,2064,1996,2253,2266,2042,1909,2105,2879,2987,2129,2107,2276,2266,2036,2576,2460,1969,2080,2967,3324,3554,3310,2934,3176,3000,2776,2868,2798,3081,3414,3142,2883,2679,2714,2526,2279,2075,1911,1960,1960,2204,2453,2243,2054,2027,1975,2204,2337,2386,2238,1700,1693,2209,2663,2802,3373,3018,2295,2646,2220,2141,1947,2156,1769,1619,1974,2210,2496,2428,2251,2631,2712,2762,3002,2874,3103,3514,3275,3209,3544,3479,3297,2740,2236,1681,1891,2198,2741,2212,2357,3362,3620,3089,3016,3907,4060,3812,4038,3545,3124,2680,2540,2546,2428,2554,2649,2452,2596,2777,2718,2868,3238,3571,3043,3315,3959,3413,3036,3668,3753,3421,3221,2159,1561,1645,1746,1650,1732,1767,1681,1624,1729,1719,1670,1734,1572,1620,1996,2030,1690,1735,1793,1659,1750,1522,1991,2660,2609,2045,1630,1511,1680,1996,2126,1903,1336,1525,1503,1837,2203,2740,2302,1654,1645,1440,1924,2371,1735,1719,1888,1823,1750,2358,2775,2167,2216,2458,1922,1540,1628,1550,1271,1296,1502,1724,1570,1250,1621,2009,1863,1620,1435,1353,1277,1255,1160,1318,1412,1670,1608,1688,1898,1659,1270,1185,1120,1030,1111,1100,1047,1059,1207,1410,1218,1354,1946,1778,1915,2544,3090,3366,3250,3566,3411,2844,2562,2292,1884,1564,1499,1926,1990,1733,1498,1710,1786,1587,1586,1665,1999,2297,2324,2595,2823,2873,2988,2583,2843,3577,3055,2703,2272,2597,2693,2397,2488,2504,2725,2105,1736,2419,2975,3395,3808,3906,3861,3305,2235,1936,2025,2313,2164,2145,2359,2232,1930,1932,1919,1661,1972,2337,2172,1614,1333,1637,1512,1766,2026,1858,1998,2248,2215,2171,2192,1932,2154,2856,2039,1965,2035,2204,2006,1833,1981,2366,2137,1813,2288,2379,2146,2205,1853,1682,1757,1841,1866,1746,1590,1734,2005,2069,1852,2258,1676,1754,1848,1808,1762,1579,1763,1910,1661,1376,1336,2031,2541,2406,1868,1895,2046,1815,1814,2575,2383,2386,2603,2254,1874,1597,1678,2175,2104,1761,1555,1773,1713,1521,1706,1953,2209,2212,1807,1688,1822,2146,2366,1977,1772,1960,2336,2438,2791,2286,1923,2083,1841,1785,1694,1608,1556,1926,2372,2344,2112,1925,2117,2062,1668,1401,1584,2257,2620,2186,1991,1717,2617,2895,2660,2690,2402,2534,2939,2684,2736,2932,2895,2831,2702,2895,3209,2695,2865,2941,3708,4080,3736,2953,2454,2587,2931,2911,2871,2956,2889,2750,2652,2605,2459,2684,2806,2707,2792,2712,2520,2278,1984,1889,1918,1975,1967,1740,1686,1858,1991,2110,2676,2871,2216,2001,2233,1905,1950,1738,2164,2592,2076,1766,1723,1755,1901,1952,1924,1808,1692,1472,1567,1788,2105,1901,2862,3498,2906,2325,2354,2397,2141,2088,2229,1791,1770,1847,1793,1698,1817,1778,2200,2037,1635,1785,1614,1477,1551,1571,1439,1437,1375,1435,1447,1650,1727,1555,1648,2044,2906,3514,3027,2941,3135,3147,2962,2955,3033,3066,3041,2749,2921,2469,1940,2247,1850,2163,2460,2718,2809,2647,2603,2832,3217,3343,3222,2696,2115,2283,2886,3470,3418,3664,3298,2723,2697,2342,2696,3339,3381,3248,3631,4014,3173,2841,3531,4288,3705,3589,3659,4288,3748,2132,1705,2221,3054,3527,3710,3885,3551,3576,3715,3458,3968,3923,3421,3323,3805,4153,4321,4527,4702,4690,4642,4792,4760,4522,2736,2240,3917,4572,4629,4604,3905,3333,3268,3271,3304,3565,3943,4143,3834,3538,3646,3895,4073,3965,3654,3337,3290,3614,3760,3470,3640,4125,3813,3010,2555,2260,1926,1816,1884,1930,2104,2076,2031,2041,1867,1744,1436,1097,1197,1626,1919,2020,2079,2125,2492,3312,3098,2485,2377,2835,2826,2520,2478,2554,2074,1621,1719,1647,1620,1952,2897,2738,2323,1931,1941,2009,2544,3427,3365,2871,2069,1498,1432,1432,1780,1899,1813,2136,2736,2953,2110,1888,2515,2316,1771,1718,1749,1825,2015,2336,2380,3111,3094,2896,2325,2258,2525,2388,2035,2118,2121,1951,2016,2242,2055,2279,2324,2479,2063,2648,3112,2375,2331,3013,2952,3068,3496,3415,3340,3551,3734,3433,2513,1982,1829,1899,2230,1920,1822,2336,2533,2344,2807,2686,2630,2422,2512,2809,3134,3374,3639,3560,3228,3544,3661,3641,3761,3414,3694,3627,3907,3573,2810,2987,3172,3506,3698,2438,2063,1990,1769,1876,1751,2509,3264,3539,3703,3574,3554,4006,3779,3373,3355,3341,3440,3761,3770,3754,3635,2811,2721,2238,1886,1895,2084,2260,2220,2952,2988,1880,1639,1396,1760,1766,1816,1784,2096,2339,2968,3157,2047,1863,2287,2372,2364,1940,2292,2872,2706,2642,3105,2290,1990,2555,2539,2140,1953,1926,1626,1985,2072,2149,2413,2714,2974,2941,2775,2557,2258,2621,2669,2331,1896,1736,2519,3077,2942,2753,2213,2211,2709,3204,2879,2231,2712,2958,2842,2796,2783,2856,2669,2504,2934,2415,1978,1930,2023,2191,2038,1960,2044,2664,2764,2602,2320,2126,1872,2855,3612,3150,2508,2480,2633,2585,2560,2861,3514,3492,2596,2317,2583,2305,2006,2232,2221,1926,2023,2654,2244,1798,1382,1445,1533,1486,1419,1400,1287,1685,2117,2266,2945,3049,2425,1400,1225,1319,1663,2332,2529,2869,2931,2298,2071,2436,2490,2632,2677,3197,2787,2467,2313,2438,2858,3423,3310,2688,2375,2558,2632,2611,2715,2405,2115,1862,1875,1771,1428,1527,1619,1834,1840,1497,1529,1860,1798,1372,1767,2158,2507,2437,1879,1819,2163,2082,1819,1949,2128,2094,1990,1869,1503,1403,2097,1882,1849,2429,2199,1713,1963,2408,2158,2165,2082,2003,1789,1532,1427,1730,2398,2398,1524,1343,1453,1577,1512,1363,1641,1728,1704,1363,1517,1704,1755,1990,2059,1944,1866,1724,1708,1767,1785,2343,2489,2582,2800,3195,3052,2645,2295,2306,2553,2523,2279,2612,3001,2479,2187,1960,1699,2098,2121,1713,1670,1839,1974,1716,1598,1625,1853,1826,1978,2050,1711,1691,1734,1474,1650,2775,3219,2834,2957,2916,2320,2205,2008,1859,1468,1459,1602,1707,2102,2146,1823,1626,1921,1974,1648,2292,2280,1835,2109,2878,3183,3066,2734,1905,1640,2283,2555,2769,2558,2401,3345,2818,1998,1600,1917,2109,2221,2118,1831,1562,1506,1665,1792,2078,2514,2220,1918,1658,1527,1548,1673,1915,2021,1919,1683,1769,2079,2187,1872,2211,2570,2789,2979,2943,2887,2630,2491,2711,2787,2743,2507,2763,2780,2835,2565,2480,2811,2517,2215,2071,1811,1597,1607,2066,2788,2905,3097,2849,2780,2369,2097,2429,2054,1323,961,1716,2990,2745,2307,2861,3383,3228,3222,2472,2146,2050,1742,1824,2943,3245,3384,3525,3321,3208,3093,3011,2895,2626,2927,3093,2772,2862,3098,3331,3783,3893,3347,3074,3419,3177,2961,2878,2892,3033,3130,3019,2893,3032,3119,3054,3060,3241,2957,2994,3105,3196,2993,2761,2608,2598,2971,3229,2956,2884,3083,3074,3076,3050,2921,3176,3063,3088,3244,3067,2906,3183,3338,3476,3375,2872,2161,1781,1847,1876,1942,2111,2912,2979,2425,2200,2423,2472,2029,1845,1787,1770,2095,2008,1835,2581,2844,2624,2611,2775,2678,1875,1726,1948,1684,1723,2091,2597,2415,1916,1880,2813,3394,2879,2448,2450,2539,1967,1653,1519,2210,1813,1636,2172,2576,2260,1849,1857,2119,2176,1798,1971,1987,1929,2094,1765,2147,2997,2320,2194,2498,2759,2603,2562,2381,1616,1549,1560,1941,2145,1883,1958,2475,2816,2396,2182,2362,2410,2967,3096,3562,2900,2964,3209,2500,1809,1652,2368,3293,3782,3847,3397,3717,3616,3601,3460,3389,2580,2529,2494,3018,3353,3094,3200,2889,2867,3006,2454,2863,3618,3662,3680,3552,3357,2776,2437,2541,3145,3228,2985,2708,2277,2432,2776,3162,3570,3659,3366,3207,3117,3353,3570,3024,2706,2657,2421,2852,3119,3775,3786,3586,3096,3089,3409,3119,2997,3828,3593,2902,2495,1607,1732,2250,2359,2563,2453,2422,2341,2231,2188,2295,2323,2968,2792,1693,1557,1811,2659,2946,2430,2356,2426,2105,2023,2438,2877,2798,3045,2884,1786,1530,1827,1862,1947,2089,2980,3521,3319,3049,2698,2443,2363,2481,2664,2522,2299,2219,3117,3527,3185,3053,2784,1930,1802,2212,2343,2931,3510,3261,2793,2466,2137,1967,1925,2071,2556,2778,2807,2655,2343,2888,3353,3251,3124,2823,2747,2688,2632,3234,3659,3173,3548,3804,2916,2540,2169,1676,2290,2154,2387,2380,3060,3511,2341,1771,2334,2662,2470,2392,2718,3256,2730,2587,2621,2550,2500,2665,3085,3154,3044,2957,3083,3206,2998,2635,2448,2783,3361,3309,3530,3707,2910,1586,1363,1996,3103,2834,2428,2564,2318,1786,1803,2002,2200,2581,2548,2336,2227,2707,3284,3116,3032,3706,4299,4400,4212,3386,1891,1696,2489,2757,3783,4321,3064,2265,2270,2220,2046,2533,2767,2250,2257,2230,1848,1798,1775,1742,1913,1930,2219],[2757,2884,2408,2336,2875,2955,2575,2414,2444,2247,2603,2732,2855,2761,2648,2717,2894,2906,3018,2994,2920,2995,2929,2972,3377,3858,2984,2849,3001,3018,2878,3151,3165,3150,3124,2983,2849,2769,2802,3015,2995,3126,3248,3775,4195,3739,3521,3748,4037,4228,4311,4507,4496,4460,4233,4019,3907,3785,3709,3749,3697,3564,3443,3356,3369,3410,3367,3462,3376,3198,2984,2998,3022,2828,2606,2901,3156,3361,3575,3669,3595,3377,2779,2956,2941,3435,3824,3309,2906,3060,2962,2944,2625,2266,2421,2539,3169,3362,3442,3719,3391,3206,3261,3248,3265,3150,3128,3094,2985,2923,3075,3175,2819,2774,3132,2951,3120,2986,2412,1995,1863,1715,1600,2272,3052,3453,3583,3688,3400,2526,1992,1887,2018,1762,1496,1774,2203,1904,1939,2315,2462,3107,3137,2724,2187,1936,2065,2176,2017,2025,2829,3144,2530,1757,1610,1503,1804,1600,1670,1969,1981,2039,2265,2749,2956,2867,2784,2630,2350,1671,1471,1780,2149,2168,2338,2352,2741,2690,2433,2667,2685,2327,2306,2447,2066,2412,2263,2473,2146,1869,2164,2338,2177,1910,2063,2530,2808,2359,2514,2269,2352,1978,1921,1875,1617,2093,2888,3228,3351,3019,2979,3168,2599,3068,3469,3618,3311,2986,2898,2988,2941,2602,2513,2385,2420,2540,2700,2377,2531,2225,1904,1959,1780,1958,1897,1975,2577,2442,2070,2170,2182,2621,2646,3452,2767,1989,2035,1936,1813,2067,2189,1649,1744,1786,2407,2836,2468,2191,2192,2376,2718,2987,3055,3304,3519,3421,3879,4050,3737,2696,1889,1642,1992,2901,2763,2923,2972,2295,2426,3544,3838,3863,4057,3920,3603,3641,3475,3301,3121,2753,2444,2614,3032,2986,2490,2080,2038,2646,2587,2713,3362,3132,3304,3553,3265,3058,3286,3705,3436,3188,2620,1737,1568,1488,1503,1657,1887,1652,1492,1609,1532,1802,2598,2366,1746,1657,1809,1792,2020,1718,1687,1661,1591,1804,2050,2068,1925,2067,1616,1428,1673,1857,1690,1670,1804,1632,1782,2203,2419,1954,1459,1499,1523,2074,2344,2228,1907,1971,1876,1730,2015,2099,1716,1707,1980,1898,1776,1883,1660,1433,1544,1699,1974,1620,1214,1386,1568,1569,1532,1612,1623,1210,1058,1061,1117,1576,1655,1431,1322,1613,1695,1353,1206,1239,1191,1118,1095,1058,1107,1418,1709,1436,1414,2100,2177,1576,2132,2912,3392,2899,3091,2722,2500,1984,1935,1977,1682,1499,1573,1617,1923,1636,1575,1594,1591,1858,2072,2053,2422,3295,3630,3629,3724,3697,3244,3482,3392,2248,1833,2061,2667,2130,1628,2088,2482,2793,2622,2223,2729,3415,3920,3967,3881,3733,3241,2640,2423,2547,2822,2597,2622,2785,2207,1807,1760,1799,1671,1812,1903,1551,1216,1574,2117,1858,2135,2274,1872,1862,2136,2206,2153,2149,2294,2990,3232,2890,2421,1844,1897,1844,1808,1815,1908,1681,1844,2226,2113,1627,1758,1735,2178,2093,1740,1943,1957,1879,1939,2113,2290,1730,1952,1539,1515,1715,1612,1484,1516,1772,2041,2162,1783,1630,2497,2417,2477,2183,1804,1663,1851,2349,2814,2685,2700,2770,2432,2110,1572,1528,2188,2071,1810,1719,1592,1400,1616,1976,1967,1848,1528,1665,1803,2184,2071,2087,1888,1747,1803,1947,2614,3100,2355,2029,2318,2106,1808,1757,1810,1696,2078,2533,2458,2259,2086,2083,1875,1721,1931,1859,2292,2154,1924,1797,1927,2413,2260,2263,2600,2677,2641,2351,2337,2724,2711,2469,2632,2600,2049,2221,3174,3771,3931,4093,3929,3388,2958,2570,2743,3252,3151,3002,2518,2603,2863,2699,2625,2684,2693,2745,2902,2910,2829,2366,2113,2042,1985,1930,1783,1690,1705,1884,2184,2166,2078,2210,2093,1849,1908,1830,2104,2173,1956,2067,2244,2104,1645,1543,1878,1909,1785,1909,2088,1805,1748,1793,1646,1583,1630,2174,2756,2596,2523,2908,2712,2376,2070,1946,2380,2348,2008,1782,1642,1710,1633,1789,1859,1530,1499,1507,1651,1592,1352,1529,1756,1569,1391,1407,1502,1395,1527,2310,2625,2568,3538,2973,3121,3175,3040,2919,2973,2986,3040,2728,2411,2875,2610,2391,2469,2191,2634,2864,3008,3016,2832,2938,3155,3093,3160,2981,2558,2642,2965,3386,3469,3221,3388,2849,2191,2158,2369,2957,3770,3067,2467,2996,3256,2813,2824,2942,3442,3839,3132,3200,3504,2392,1313,1321,2362,3953,3914,3819,4169,4062,4078,4297,4136,4094,3993,3605,3731,4140,4120,4211,4529,4760,4763,4821,4903,4791,3725,1991,2976,4460,4670,4820,4704,3838,3464,3184,3267,3146,3705,3842,3851,3506,3161,3159,3507,3894,4124,3849,3458,3362,3475,3725,3394,3425,3775,3310,2511,2290,2053,1955,2036,1938,1896,2159,2003,1982,1712,1676,1666,1534,1549,1642,1773,1966,2169,2045,2088,2341,2888,2614,2624,2680,3488,3616,3354,3171,2862,2251,1776,2078,2222,2077,2154,2308,2216,2239,2098,1985,2136,2821,2930,2647,2615,2006,1281,956,1295,1947,2402,2422,2467,2929,2944,1975,1841,2223,1807,1693,2002,1735,1764,2037,2143,2083,2296,2492,2912,2888,2822,2687,2385,2369,2404,2103,1883,2127,2297,2240,2430,2368,2330,2315,2680,2850,2384,2699,3266,3005,2831,2990,3011,3226,3167,3077,2846,2148,2164,2169,2248,2361,1980,1864,2220,2298,2242,2661,2680,2554,2598,2656,2942,2994,2890,3537,3695,3907,4229,3926,3880,3892,3608,4025,4100,3845,3608,3059,2625,3167,4184,4011,3066,3658,3322,2361,1886,1942,2612,3242,3054,2950,2962,3164,3099,3282,3581,3598,2884,2889,3523,3924,3775,3359,2736,2558,2489,2576,2842,3179,3047,2438,2177,2523,2420,1874,1690,2244,2214,1880,2447,3438,3545,3364,3028,2468,2372,2404,2671,2658,2378,2415,2680,2677,2854,2771,2410,2365,2800,2721,2059,1845,1655,1801,2202,2104,2325,2634,2557,2540,2654,2678,2655,2001,2091,2526,2872,2613,2292,2644,2566,2392,2473,2292,2168,1981,2088,1876,1642,1917,2416,2735,2938,2974,2708,2699,2886,2830,2481,1886,1879,2246,2239,2188,1819,2017,2949,2664,2138,1956,1823,1619,1835,2324,2540,2564,2945,2694,2562,2269,2373,2962,2845,2584,2674,2439,2153,2396,2707,2371,2375,2319,2503,2298,1810,1255,1253,1381,1405,1404,1412,1471,1654,1974,2268,3030,2846,2334,1884,1937,2194,2292,2562,2971,3326,3334,2792,2003,2464,2986,3062,2332,1968,1649,1756,1891,2171,2415,3000,3374,2664,2353,2640,2147,2131,2133,2129,1815,1801,2102,1919,1528,1495,1581,1789,1886,1578,1576,1582,1449,1907,2257,2298,2833,2735,2029,1954,2224,2330,1949,2224,2001,1735,1985,2060,1528,1346,1831,1960,2136,2260,1823,1448,1469,1676,1714,1708,1512,1556,1654,1595,1537,1658,2768,3064,1814,1437,1523,1562,1695,1590,1556,1574,1469,1303,1404,1631,1779,1872,1925,1980,1993,1799,1852,1954,1644,1374,1236,1294,1880,2182,1955,1636,1633,1869,2374,2441,2084,2178,2349,2526,2818,2481,2123,2713,2808,2173,2024,2050,1891,1775,1787,2005,2362,2181,2081,1980,1826,1886,1848,1619,1633,2530,3143,3284,3255,3164,2438,2364,2320,2122,1582,1418,1333,1376,1760,2020,1853,2031,2130,1872,2255,2768,2973,2632,2874,3265,3416,3229,2710,1827,1593,1959,1836,2306,2215,2434,2713,2779,2199,1886,2503,2639,2578,2832,2082,1610,1485,1572,1764,1884,2020,1776,1588,1486,1525,1551,1794,2339,2622,2218,1910,1859,2254,2125,2568,2668,1930,1864,2333,2787,2940,2876,2568,2257,2221,2534,1836,2089,2323,2868,2602,2384,2514,2652,2797,2475,1787,1756,1869,2417,2249,2474,2476,2250,2552,1917,1840,2984,3325,2319,1416,1556,2149,1981,2813,3252,3266,3174,2947,2802,2569,2322,1819,2204,3432,3500,3871,3852,3772,3436,3118,3061,2970,2901,3418,3326,2890,2935,3232,3523,3683,3804,3439,3165,3255,3278,3215,3184,3092,3058,3181,3073,2809,2857,3024,2954,2807,2765,2958,3189,3342,3199,3234,3023,2595,2627,3071,3416,2951,3061,3195,3207,3353,2900,2521,2465,2727,3212,3516,3467,3341,3174,3200,3330,3420,3448,2966,2035,1647,2010,2193,2357,2964,3227,2984,2634,2527,2316,2437,2415,2155,2198,2093,1700,1772,2457,2669,2516,2527,2745,2246,1858,1920,1936,2479,2796,2788,2751,2185,1711,2083,3218,3326,2482,2164,2382,2915,2803,2128,1896,2205,1961,1896,2255,2482,2306,1857,1659,1658,1840,1616,1652,1656,1885,1864,1766,2475,2935,2374,1957,2093,2404,2259,2318,1792,1601,1685,2064,2562,2437,1911,2126,2584,2599,2386,2468,2510,2511,2932,2967,2963,2470,3460,4012,3240,2268,2109,2766,2940,3131,3518,3156,3311,3489,3738,3308,2445,2447,2611,2174,2679,3336,3175,3332,3274,3316,2928,3088,3337,3671,3649,3162,3128,3136,2655,2793,3239,3962,3615,2896,2175,2378,2337,2036,2436,3322,3198,2658,2767,2889,3193,3540,3004,2919,3494,3220,3242,3621,4002,3962,3706,3738,3521,2955,3225,3804,4188,3923,3711,2785,1895,1999,2341,2718,2997,2410,1925,2178,2282,2149,2176,1985,2687,2610,2208,2314,2492,2835,3121,2890,2627,2172,2068,2343,2813,2851,2857,3027,2912,2789,2665,2612,2814,2950,2243,2290,2677,2597,3095,3323,3317,2776,2340,2244,2044,1954,2216,2990,3082,2321,2044,2203,1815,2102,2547,2827,3170,3132,2707,2762,2326,2154,2088,2175,2453,2476,2645,3011,2626,1945,2387,3182,3339,2603,2446,2803,2907,3178,3743,3614,3355,3742,3818,3850,3292,2225,2126,2101,1754,1854,2231,3230,3330,2146,1841,2392,3062,2839,3094,3414,2886,2132,2148,2248,2493,2854,3055,3124,3075,3002,2977,2930,2755,2894,3074,2828,2523,3064,3603,3308,3396,3200,2175,1653,1920,3018,3548,3747,3342,2392,2006,2186,2372,2480,2798,2777,2603,3165,3292,3203,3007,3001,3554,4196,4356,4339,3464,2219,1903,2254,2600,2866,2598,2435,2238,2637,2854,1975,2459,2900,2318,2258,2210,1727,1672,1858,1906,2176,2437,2475],[2850,2941,2459,2151,2604,2832,2884,3044,2850,2015,2541,2686,2746,2463,2433,2642,2832,2835,2752,2561,2522,2545,2511,2642,2858,3335,2880,3322,3624,3253,3128,3100,2724,2391,2072,1849,1908,2081,2407,2779,2673,2909,2739,3703,4152,3094,3046,3566,3538,3730,4152,4368,4616,4608,4384,4135,3896,3713,3691,3692,3572,3451,3349,3281,3449,3435,3383,3329,3229,3133,3119,3052,3151,2852,2674,2919,3072,3208,3182,3508,3447,3515,3256,3112,3130,3129,3435,3419,2792,2815,3404,3112,2409,2337,2498,2946,3284,3438,3595,3539,3240,3147,3132,3435,3720,3442,3422,3010,3149,3303,3230,2944,2493,2413,2688,3269,3666,3134,2402,2441,2674,2103,2167,2989,3108,3646,3507,3328,2851,2356,1957,1958,2283,2058,1362,1813,2453,2326,2227,2201,1968,2454,2784,2492,2351,2732,2845,2400,2115,2424,3024,3031,2762,1956,1609,1627,1696,1456,1537,1501,1886,2454,2456,2589,2957,2842,2221,1953,2100,1904,1626,1877,2414,2475,2320,2529,2844,2865,2561,2723,2754,2728,2137,1954,1766,2319,3263,3659,2630,2027,2325,2051,2305,2292,2082,1974,2495,2415,2524,2270,2375,2418,2120,1921,1944,2656,3174,3244,3146,3060,3188,3436,3421,3928,3870,3528,2698,2028,2275,2898,2756,2690,2587,1985,1959,2350,2568,2678,2825,2589,2229,2036,2052,1891,1671,1679,2367,2554,2366,2060,1722,2247,2143,2913,2985,2757,2598,2182,1944,1810,1692,1805,1900,1655,2268,2775,2198,1783,2089,2735,3051,3095,2896,2785,3052,3716,4272,3720,2602,1622,1564,1631,2264,3343,3234,2994,3684,3086,2093,2789,3146,3140,2851,3465,3459,3053,3557,3862,3427,3118,2806,3142,3019,2744,2280,1994,2085,2720,2523,2608,3244,3527,3379,3108,3047,2501,2513,3711,3658,3337,3419,2496,1773,1470,1816,1971,1739,1495,1355,1527,1606,2084,3140,3227,2402,2066,1980,2114,2111,1844,1643,1496,1598,1736,1794,1667,1654,1873,1871,1804,1799,1979,1858,1986,1938,1601,1802,2109,2047,1848,1575,2026,1932,1962,2061,2123,2009,1845,2046,2187,1860,1590,1708,1834,1829,1931,2002,1960,1781,1576,1494,1575,1649,1414,1178,1216,1302,1333,1660,1960,1914,1361,1165,1219,1420,1715,1755,1793,1593,1547,1364,1323,1250,1214,1185,1187,1355,1329,1373,1592,1654,1532,1932,2796,2587,1712,2004,2825,3194,2662,2464,2171,2193,2050,2168,2468,2214,1891,1759,1926,2224,1711,1643,2192,2155,1808,1943,1822,2169,3307,3706,3739,4152,3815,2901,3173,2863,2364,2082,2325,2644,2039,1711,2193,2564,2976,3560,2792,2819,3103,3727,3869,3648,3418,3343,3215,3133,3310,3294,3133,3514,3665,2709,2072,1773,1823,1688,1587,1672,1893,1560,1650,2094,2010,2306,2285,1714,1387,1637,1955,2067,2072,2149,2614,2872,3276,2472,1983,2143,1874,1785,1748,2049,1782,2105,2264,1880,1606,1526,1609,2027,2018,1775,1885,1873,1664,1767,2112,1991,1787,1707,1268,1201,1897,2459,2211,1852,1821,2344,2311,2226,2205,2896,2788,2906,2202,1997,2147,2071,1814,1858,2116,2101,1936,2048,2223,1866,2167,2525,2137,2066,2200,1915,1505,1786,1900,1649,1749,1750,2004,2097,2217,1954,1743,1697,1775,1861,2385,2940,2485,2000,1764,1861,2172,2056,2017,2138,2019,2062,2254,2020,1955,2101,1753,1676,1950,2246,2153,2147,1831,1925,1865,2116,2233,1954,2002,2789,3352,3166,3197,3179,3057,2846,2635,2714,2378,2135,2751,3462,3840,3979,3962,3589,3441,3288,2714,3008,3304,3431,2969,2269,2025,2235,2354,2492,2643,2627,2798,2872,2809,2994,2372,2347,2174,2100,2014,1906,2088,2238,1952,1843,1692,2002,1934,1693,1721,1786,1746,1815,1730,1727,1765,1835,1634,1330,1631,1873,2026,1802,1654,1862,2005,1981,1820,1635,1593,1582,1577,1693,1816,2017,2322,2621,2356,1980,1655,1830,2150,2239,1953,1528,1599,1603,1631,1762,1630,1510,1621,1656,1635,1575,1471,1611,1749,1701,1648,1444,1443,2051,3563,3611,2362,2442,2836,3227,3089,2961,2976,3016,3067,3199,3081,3204,3039,2463,2797,2775,2820,3028,2950,2902,2675,2490,2620,3033,3055,3286,2790,2656,3174,3531,3603,3437,3404,3329,2652,1768,1897,2575,3431,4200,2996,2269,2522,2731,3605,3561,2828,3022,3085,2420,2776,3184,2610,1923,1912,2750,3895,3460,3382,3740,3723,3874,4273,4295,4401,4488,4134,3969,4018,4077,4137,4452,4558,4628,4852,4908,4453,2689,2177,3872,4376,4700,4540,4677,4067,3581,3547,3333,3332,3874,3894,3773,3664,3320,3408,3917,3659,3746,3765,3803,3771,3639,3651,3728,3521,3191,2717,2408,2343,2153,2032,2086,2141,2185,2312,2352,2106,1617,1545,1461,1469,1593,1611,1687,1997,2322,2298,2333,2107,2013,2164,2294,2420,2898,3248,2998,2887,2721,2156,1814,2342,2420,2308,2420,2336,1830,1823,1966,1953,2059,2326,2182,2517,2100,1728,1282,1094,1251,1755,2232,2430,2403,2727,2740,2061,1635,1580,2033,2205,2270,1926,2276,2338,2061,2220,2623,2778,2820,2843,3278,2945,2235,1980,1827,2214,2393,2835,2634,2162,2245,2311,2261,2192,2153,2320,2401,3083,3103,3059,3134,3128,3145,3397,3291,3118,2583,2010,2242,2346,2368,2149,1938,1941,2072,1885,1907,1966,1995,2040,2056,2006,2130,2270,2446,2813,3398,3853,3947,4193,4137,3936,3942,4051,4188,3995,3786,3438,2790,3217,4505,4421,4469,4890,4580,3183,2129,2642,3382,3393,3559,3225,2797,3154,2870,3326,3861,3871,3002,2987,3996,4165,3628,3136,2745,2744,3343,3563,3530,3219,3120,3065,2916,3281,3262,2663,2426,2595,2388,2639,3544,4252,4036,3660,2793,2620,2638,2835,2896,2169,2054,2253,2264,2673,2916,2653,2463,2857,2766,2799,2407,2293,2122,2077,2157,2393,2744,2707,2560,2698,2486,2441,3208,2701,2055,2136,2517,2979,2976,3259,2857,2127,2005,1813,1839,1783,1552,1554,1606,1709,2057,2668,3161,3219,2815,2719,2683,2416,2346,2074,2155,2370,2342,2258,1838,2219,2547,2184,2321,2376,2273,2112,2484,2467,2322,2404,2657,2312,2535,2273,2172,2162,2326,2995,2944,2448,2636,2605,2587,2521,2744,2559,2454,2430,1924,1511,1578,1754,1709,1603,1737,1892,1898,1774,1889,2180,2027,2156,2321,2193,2074,2049,2170,2463,2469,2595,2836,2137,1973,1775,2210,2416,1913,1757,1892,1981,2112,2257,2514,2296,1864,1790,2247,1995,1742,1671,1858,1733,1673,2029,1997,1613,1414,1572,1781,2443,1903,1511,1549,1652,1852,1765,2443,3309,2797,2164,1991,1941,2000,2589,3000,2253,2075,2645,2679,2015,1744,2161,2215,1832,1997,2060,1560,1456,1593,1619,1510,1391,1570,1560,1495,1471,1476,1851,2221,1912,1447,1331,1912,2067,1888,1572,1433,1487,1474,1762,2132,1989,1863,1969,1861,1815,1814,1727,1390,994,847,820,1168,1519,1694,1865,1836,1942,1810,2077,2276,2149,2397,2473,2757,3256,2820,2337,2686,3219,3161,2957,2712,2400,2151,1976,2215,2265,2095,2060,1872,1775,1909,1849,1701,1632,2416,3249,3519,3008,2232,1906,1695,2007,2261,1924,1713,1643,1708,2025,2043,2047,2703,2546,2787,2741,2601,3062,2873,2988,3392,3453,3047,2504,2413,2282,1847,1617,1637,1850,1900,2163,2732,2609,2269,3054,3029,2565,2873,2226,1741,1382,1541,2178,2282,1883,1643,1720,1664,1535,1561,1772,2386,3026,2844,2225,2099,2395,2733,3109,2405,1753,1684,2186,2787,2987,2859,2395,2245,2054,2447,2251,2430,2325,2302,2393,2408,2663,2998,3083,2346,1742,1937,2477,2215,1710,2403,2394,2568,2835,2363,2583,3615,3653,2630,2160,1926,1385,1427,2564,3190,3237,3242,2978,2921,2887,2712,2301,2510,3731,3688,3973,3775,3628,3641,3707,3388,3068,3197,3461,3204,2934,2917,2963,3241,3640,3874,3493,3152,3440,3630,3650,3677,3521,3476,3373,3252,3120,3166,3168,2910,2789,2736,2852,3142,3432,3257,3248,3164,2980,3012,3033,3359,3174,3185,2968,3068,2933,2607,2454,2318,2596,3108,3359,3408,3395,3441,3297,3073,3247,3287,3349,2954,2308,2078,2156,2369,3090,3134,2780,3002,2900,3011,3148,2466,1958,2055,2109,1842,2198,2720,2754,2477,2624,2503,1791,2313,2480,1969,2223,2675,2624,2490,2543,2072,2042,2478,2857,2556,2842,2958,2813,2867,2203,2056,2588,2502,2384,2982,2990,2341,1713,1705,1549,1615,1566,1643,1793,2199,2458,2561,2482,2177,1932,1851,2050,1987,2012,2157,1670,1583,1648,1775,2275,2002,1821,2866,3522,2990,2153,1991,2035,2432,2805,2742,2544,2857,3458,3383,2943,2431,2339,2736,2807,2700,3231,2953,2356,2316,2359,2244,1956,2330,2643,2332,2536,3182,3416,3658,3848,3580,2875,3107,3501,3768,3561,2558,2069,2099,2248,2677,3209,3520,3162,2827,2620,2540,2204,2223,2476,2734,2543,2160,2895,3629,3625,3460,3128,3397,3795,3437,3015,3250,3861,3950,3694,3798,3924,3212,3118,3728,4047,3972,3892,3097,2675,2894,2717,2631,2329,1463,1122,1451,2042,1915,1841,1672,1964,2256,2061,2140,2490,3050,3284,2989,2582,2266,2220,2091,2142,1970,2301,2194,2394,2844,2941,2542,2524,2684,2488,2420,2647,2630,3252,3723,3842,3117,2547,2035,2121,2337,2519,3033,3034,2482,2142,2525,2556,2633,2951,3676,4354,3546,2733,2596,2177,1944,2395,2928,2114,1882,2631,2584,2029,1809,2059,2626,3185,3065,3067,2830,2634,3133,3539,3426,3607,3665,3347,3588,3760,3317,2821,2116,1928,2245,2558,2799,2339,2210,2364,2459,3125,3112,3074,3306,2357,1746,2097,2501,2740,2727,2700,2934,2851,2862,2979,3068,3072,2893,2742,2620,2024,1918,2395,2250,2270,2512,2446,1893,2159,2660,3817,4006,3154,2019,1424,2062,3002,3178,3450,3593,3298,3251,3334,3415,3297,3401,3620,4084,4112,3640,2781,2325,2137,2061,2857,2996,2441,2609,2241,2741,2812,2061,2434,2968,2240,1757,2203,1960,1923,2874,2956,2788,2408,1917],[2802,2768,2561,2433,2492,2481,3079,3044,2764,2604,2663,2697,2856,2665,2562,2655,2757,2741,2688,2657,2712,2752,2749,2917,3230,3371,3249,3086,2656,2568,2692,2069,1668,1667,1542,1578,1729,1936,2450,3008,3016,3234,3452,4240,3819,2566,2652,2956,2994,3033,3516,3836,4239,4371,4388,4299,4045,3805,3716,3630,3392,3406,3342,3297,3541,3496,3458,3349,3261,3467,3451,3193,3030,2612,2657,3034,3265,3148,2784,3009,3212,3252,2955,2800,2972,3005,3193,3360,3018,2758,3423,3045,2270,2645,3157,3410,3311,3345,3252,3019,3163,3240,3292,3508,3261,3089,3354,3083,3487,3593,3714,3198,2952,3097,3296,3754,4048,3426,2711,2789,2919,2743,2445,2913,3157,3431,3329,3047,2526,2470,2830,2780,2611,2626,1534,1446,2066,2353,2468,2520,2198,1745,1855,2250,2562,2983,2676,2306,2264,2678,2984,2955,2386,1863,1802,1750,1441,1559,2109,2173,1970,1848,1604,1888,2137,2018,2117,1737,1708,2026,1777,1762,2478,2803,2558,2365,2740,3053,2714,2575,2520,2512,1792,1607,1983,2355,3168,4030,3366,2517,2532,1863,2205,2272,2487,2457,2461,2692,2547,2322,2464,2342,2208,2542,2718,3583,3537,3398,3344,2862,3032,3343,3761,3641,3110,2708,2092,1873,2468,2556,2598,2876,2720,2725,2420,2453,2244,2634,2721,2397,2357,2481,1804,1627,1964,1500,1738,1885,2411,2386,1990,1930,2010,2222,1989,1943,2165,1998,2037,1834,1262,1727,1908,1644,2120,2806,2454,2191,2710,2791,2834,2986,2711,2723,3218,3816,3598,3077,2175,1670,1673,1680,1940,2618,3028,2879,3752,3873,2364,2029,2520,2353,1943,2460,3090,3457,4139,4332,3583,3084,2947,2822,2286,2357,2398,2411,2474,2762,2928,3340,3607,3697,3340,3201,3294,2814,2868,3566,3476,3421,3829,3526,2713,2044,1980,1935,1443,1341,1320,1910,1622,1466,2214,2596,1984,1917,2024,2219,2227,2048,1712,1571,1654,1642,1850,1828,1792,1559,1864,2176,2135,2227,2718,3097,2326,1764,1598,2026,1884,1748,1715,1947,1460,1501,1771,2178,2164,2016,2799,3167,2388,1621,1918,2222,1896,1638,1776,1888,1881,1732,1516,1484,1494,1593,1560,1292,1418,1282,1466,1635,1665,1433,1375,1462,1882,1904,1892,2285,2363,1993,1537,1515,1440,1331,1240,1216,1526,1795,1514,1312,1305,1461,2064,2802,2380,1945,1896,2317,2706,2373,2242,2310,2281,2262,2308,2498,2587,2494,2057,2484,2464,2013,1820,1837,1676,1525,1730,1737,1942,3090,3851,3761,3898,3528,3854,3172,2347,2250,2307,2756,2702,2149,2199,2589,2615,2597,2952,2380,2492,2393,3142,3809,3684,3376,3492,3436,2898,2897,3090,3119,3378,3654,3396,2464,2220,1938,1465,1781,1883,1893,2213,2294,2159,2051,2354,2035,1770,1428,1564,1723,1852,1954,1991,2077,2622,2800,2126,2127,1966,1744,1780,1842,1720,1375,1856,1982,1582,1510,1622,1712,1696,1679,1834,2145,1844,1340,1670,2388,2031,1744,1551,1436,1706,2351,2532,1995,1661,1873,2866,2513,1790,2041,2843,2724,2591,2614,2283,2341,2568,2260,1724,1816,1659,1496,2032,2239,2154,2250,1885,1813,2192,2675,2454,1828,1650,1548,1558,1879,1966,2119,2343,2401,2422,2072,1782,1761,1732,2159,2481,1703,1614,1683,1957,2236,2292,2214,2352,2451,2109,1829,1695,1852,1926,1733,1713,1770,1982,2121,1980,1843,2030,2248,2056,1923,1803,2202,2890,3030,3442,4208,3904,3254,3138,3131,2918,2186,1835,2004,3025,3542,3597,3846,3553,3650,3251,2531,2622,2878,3111,2685,2170,2265,2178,2220,2644,2614,2524,2985,2956,3111,3494,3016,2531,2045,1874,1954,2013,2143,2216,1965,1830,1619,2048,2173,1756,1593,1650,1889,1925,1815,1654,1773,1881,1597,1654,1852,1554,1669,1660,1607,1783,1854,1856,2027,1947,1744,1599,1582,1497,1761,1737,1841,2270,2546,2181,1657,1714,1922,2313,2320,1596,1575,1744,1556,1606,1604,1588,1642,1677,2026,2096,1515,1552,1960,1873,1848,1678,1680,2448,3407,3030,2529,2972,3411,3332,3088,3016,3105,3094,3055,3330,3142,3098,2654,2470,2941,3064,3096,3006,2951,2975,2975,3072,2795,3056,3235,3352,2821,3078,3537,3757,3874,3840,3898,3860,3297,2265,2417,3024,3646,4016,3055,2427,2333,2730,3437,3203,2355,2366,2994,3008,2964,3254,2944,2642,2501,2915,3773,3705,3459,3771,3983,4212,4265,4136,4252,4672,4288,3601,3747,4156,4195,4360,4299,4276,4528,4759,3993,2182,3055,4489,4671,4516,4172,4618,4471,3938,3873,3651,3582,3647,3812,3751,3703,3555,3494,4014,3883,3698,3724,3794,3804,3522,3632,3662,3140,2590,2359,2250,2358,2331,2103,2010,2122,2375,2526,2396,1817,1555,1524,1462,1491,1594,1749,1858,2140,2419,2302,2492,2093,2332,2571,2614,2430,2320,3348,2721,2400,2186,1606,1538,1861,2037,2408,2330,1870,1792,2095,1992,1984,1976,2236,2276,2196,2092,1880,1990,1952,2172,2092,1902,2195,2150,2246,2034,1873,1513,1731,2174,2258,1989,1926,2126,2293,1905,2163,3088,3190,2482,2335,3152,2996,2175,1695,1499,1981,2436,2891,2438,1894,2104,2211,1961,1753,2187,2808,2864,2743,2634,2849,3186,3168,3031,2999,2850,2911,2514,1891,2062,2248,2391,1878,1784,1647,1281,1190,1405,1651,2081,2032,1622,1548,1701,1768,1666,1733,2857,3684,3752,3889,3963,3961,4024,4086,4364,4123,3890,4013,3904,3764,4544,4672,4680,4760,4652,3803,3018,3242,3405,3148,3590,3834,3496,3368,3442,3885,3834,3885,3854,4049,4421,4164,3530,3145,3124,3187,3674,3653,3630,3394,3254,3251,2893,2944,3352,3082,2578,2523,3038,3896,4118,4175,3815,3636,3305,2942,2434,2666,2610,1914,2242,2686,2458,2710,2774,2648,2698,2692,2628,2852,2604,2345,2452,2339,2136,2295,2534,2652,2603,2636,2273,2496,2842,2835,2382,1906,2308,2938,3364,3448,2520,1939,1861,1637,1750,1654,1509,1480,1513,1535,1760,2269,2956,3196,2841,2631,2526,2461,2414,1967,1688,1695,1937,2193,1946,2172,2238,2127,2254,2582,2757,2808,3234,2678,2104,1938,2064,2462,2224,1930,1860,1901,2631,3156,2894,2555,2351,2331,2293,2634,2662,1903,2275,2728,2103,2010,2120,2210,2028,1942,2076,2244,2048,1758,1782,1726,1698,2229,2807,2809,2386,2051,1921,1856,1921,2220,2156,1695,1568,1446,1941,2453,2366,2180,2025,2004,1742,2193,2764,2370,2116,2165,2150,1676,1484,1582,1695,1827,1664,2203,2692,1976,1456,1485,1622,2278,2021,1596,1595,1629,1598,1754,2270,2677,2852,2163,2046,1949,1986,2537,2462,2044,2163,2839,3056,2625,2576,2968,2456,1816,2374,2298,1666,1699,1828,1993,1644,1382,1385,1457,1561,1597,1675,2234,2400,1820,1441,1428,2559,2811,2240,1598,1390,1738,2024,2227,2298,2264,2215,2544,2340,2000,1901,1753,1322,1136,1253,1215,1434,1745,1820,1652,1760,1933,2102,1950,1564,1731,2185,2412,2832,2909,2231,1785,1581,2659,3243,3136,3418,3164,2646,2198,2012,2054,2105,1985,1758,1828,1847,1858,1686,1627,2174,3000,3464,2933,2117,1924,1748,1687,1895,2232,2116,2024,2126,2746,2769,2498,3185,2875,2624,2294,2166,2624,2497,2808,3043,3063,2940,2898,2915,2259,1524,1555,1535,1427,1698,2090,2850,3061,2257,2708,2988,2592,2216,2178,2115,1893,1942,2509,2937,2634,2204,1918,1588,1482,1448,1850,2250,3167,3264,2626,2228,2351,2768,2537,2385,2168,2004,2556,2879,2561,2196,1907,1862,2150,2414,2393,2630,2485,2319,2428,2533,2844,3085,3117,2497,2292,2327,2294,1964,2072,2610,2857,3116,2706,2684,3285,3814,3423,2564,2696,2046,1354,1318,1785,2632,3341,3364,3039,2905,2915,2922,2483,2270,3652,4037,3773,2930,2908,2952,2238,2230,2832,3343,3215,2856,2745,3062,3334,3327,3627,3824,3561,3405,3768,3830,3472,3304,3181,3286,3152,3097,3384,3544,3418,3247,3069,2807,2779,3120,3392,3240,3127,3207,3316,3354,3514,3514,3518,3295,3039,3076,2730,2388,2343,2314,2255,2525,2782,3448,3494,3469,3391,3334,3269,3227,3241,3256,2897,2647,2750,2888,3366,2963,2225,2479,2629,3176,3265,2468,1573,1778,2527,2498,2754,2820,2841,2257,2142,2047,1842,1958,2181,1906,1690,2253,2788,3165,2950,1888,1642,1672,2156,2370,2869,2976,2597,2576,2203,2128,2862,3084,2836,3182,2884,2014,1606,1838,2022,2014,1952,1743,2437,3398,3386,3272,2539,1999,1768,2204,2188,2086,2016,1859,1661,1637,1660,1636,1673,1581,2256,3110,3363,2689,1864,2202,2635,2850,2787,3128,3491,3174,2932,3100,3182,2754,2717,2619,2682,2688,3018,2449,1956,1820,1706,1752,2148,2712,3300,3542,3662,3134,3403,3501,3388,3182,3231,3328,3627,3702,3250,2372,2080,2371,3109,2785,2791,2697,3029,3414,3110,2272,1729,1821,2123,2512,2665,2661,3464,3662,3451,3188,2970,3281,3338,3105,2917,3154,3748,3306,2871,3871,4164,3582,3041,3492,3985,3790,3683,3294,2952,3011,2984,2994,2447,1560,1202,1346,2049,2302,2274,2338,2035,1915,1858,2110,2309,2238,2607,2532,1954,2049,1968,2032,1938,1766,1729,1671,1913,2348,2586,2502,2003,2048,2669,2498,2854,3009,3033,3482,3723,2993,2650,3040,3285,3196,2951,3260,3411,3040,2910,3144,3113,2814,2921,3714,4049,3454,2912,2380,2372,2179,2951,3217,1894,2434,2917,2600,2351,2079,2104,2246,2494,2958,3086,2470,2224,3068,3528,3572,3416,3481,2943,3016,3731,3920,3196,2236,2182,2556,2665,2346,2294,2236,2272,2353,2899,2630,2452,2906,2742,2188,2260,2996,3458,3200,2728,2897,2736,2847,3414,3709,3796,3318,2777,2555,2126,2002,2400,1982,2009,2024,2531,3156,2812,2850,3226,2774,2446,1878,964,1892,3277,3252,3449,3654,3575,3102,3308,3430,3094,3052,3166,3417,3557,2873,1703,2306,2200,1786,2810,3100,1948,1601,2030,2792,2863,2250,2369,2957,2275,1854,2610,2380,2111,2929,2642,2185,1820,1573],[2901,2706,2680,2718,2667,2707,3184,3293,3044,3394,3104,2754,2898,2806,2868,2993,2979,2975,3006,3276,3370,3298,3351,3429,3691,3288,2354,1975,1802,1977,2474,1987,1773,1765,1689,1771,2007,2299,2785,3185,3226,3365,4063,4328,3841,3708,3229,2557,2511,2363,2955,3377,3631,3850,4180,4276,4156,3993,3697,3605,3571,3450,3322,3317,3575,3745,3757,3436,3325,3538,3432,3264,3198,2676,2746,3146,3217,3173,2839,2842,3025,2944,2502,2252,2709,3299,3311,3253,3190,2711,3029,2940,3009,3517,3816,3864,3728,3422,2974,3152,3405,2845,3018,3128,2886,3032,3421,3362,3840,3781,3499,3653,3777,3715,4050,4005,3785,3544,3609,3276,3105,3278,2301,2083,2019,1886,2284,2364,1854,2123,3084,3044,2653,2293,1886,1669,1887,1995,2109,2101,1882,1630,1698,1917,2383,2368,2201,2271,2563,2815,2757,2638,2376,2132,2066,1991,1804,1709,2031,2425,2328,1774,1687,1923,2062,2177,2522,2091,1813,2245,2261,2281,2621,2615,2354,2370,2802,3152,3083,2700,2452,2270,2165,2334,2731,2998,3117,3299,2956,2883,2297,1836,1855,1812,2227,2515,2611,2433,2207,2168,2028,2293,2531,2693,2689,3164,3085,3094,2632,2610,3178,3492,3404,3021,2345,2247,2390,2349,2037,1803,2488,2437,2144,2460,2628,2472,2014,1993,2298,2632,2648,2375,1721,1978,2565,2057,1635,1514,1915,2014,1781,1915,2055,1786,1575,1543,1388,1759,2377,2558,1886,1967,1802,1646,2267,2695,2718,2713,2778,2846,2845,2923,2762,2769,3104,3466,3510,3118,2460,1857,1501,1599,1847,1886,2520,2546,3096,3154,2066,1736,2411,2451,2087,2219,2734,2888,4051,4386,3473,2665,2511,2703,2388,1902,2114,2522,2515,2056,2065,2535,3459,4000,3544,3517,3264,2766,2900,3435,3554,3916,4155,4061,3664,2680,2042,1673,1534,1881,2122,2574,1828,973,1505,1927,2186,2231,1939,2071,2183,2153,1857,1783,2000,1793,1772,2240,2747,2430,2279,2187,1923,2383,2918,2645,2062,2140,2235,1957,1715,1605,1898,1792,1525,1481,1500,1931,1878,1703,2379,2985,2302,1587,1663,1844,1677,1860,2156,1864,1614,1609,1568,1631,1520,1613,1330,1272,1250,1105,1235,1498,1662,1632,1593,1951,2118,1802,1758,1786,2136,2334,2043,1665,1372,1337,1332,1211,1286,1366,1134,1328,1331,1482,1762,2222,2853,2858,2366,2467,2491,2221,2304,2476,2194,2148,2469,3341,3304,2698,2233,2156,1918,1969,1965,1696,1554,1540,1548,1413,1459,2389,3461,3661,3363,2996,3277,2727,2200,2508,3008,2733,2291,2316,2359,2505,2551,2493,2665,3116,2723,1970,2418,3397,3869,3606,3440,3087,2801,3085,3436,3395,3226,3543,3392,2729,2053,1636,1722,2073,2042,2098,2448,2019,2028,2128,2115,1649,1883,1821,1642,1526,1528,1749,1961,1970,2057,2011,2185,1942,1583,1644,1710,1758,1570,1587,1871,1786,1594,1513,1709,1884,2338,2225,2045,1857,1616,1267,1115,1483,1825,1694,1756,2144,2095,1820,1987,1536,1780,1950,2579,2125,1622,2139,2517,2118,2408,3172,2634,2703,2702,2610,1925,2146,1792,1473,1759,1709,1895,2183,2097,1862,2298,2881,2389,2314,1620,1460,1864,2191,1885,1566,1668,2415,3068,2421,1757,1540,1658,2141,2359,1772,1731,1871,2095,2240,2341,2203,2410,2618,2073,1686,1782,1758,1773,1901,2070,1938,2101,2065,1966,2037,2280,2332,2026,2014,2175,2539,2408,2308,3428,4133,3284,2857,3112,3285,2918,2209,1706,1771,2922,3110,3260,3528,2944,3039,2872,2545,2705,2602,2665,2530,2547,2831,2444,2387,2526,2275,2263,2655,2922,3011,2919,2718,2316,1862,1879,2193,2215,2080,2565,2414,2247,1904,1859,1690,1750,1764,1796,2014,1907,1808,1736,1866,1746,1757,1722,1768,1488,1573,1907,1855,1750,1639,1742,2028,2232,2121,1708,1757,1688,1703,2001,2036,2042,2414,2290,1605,1560,1500,1737,2060,1694,1671,1544,1482,1659,1858,1766,1460,1531,2205,2655,1829,1644,2222,2180,2131,2002,1937,2452,2953,2821,3012,3467,3373,3254,2973,2866,3042,3092,3087,3340,3255,2849,2721,2818,2989,2951,2900,2642,2643,2920,2929,2901,2956,3196,3341,3357,3274,3460,3635,3911,4059,4168,4409,4068,4296,3877,3520,3554,3508,3551,3203,2673,2512,2745,2432,2066,1730,1831,2814,3500,3307,3254,2809,2557,2649,2887,3287,3388,3409,3905,4077,4151,4307,4308,4012,3929,4125,3839,4017,4468,4528,4374,4014,3731,3895,4439,3724,1971,3717,4896,4835,4207,4088,4644,4568,4176,3919,3987,3857,3579,3850,3692,3374,3544,3904,4081,3850,3815,3544,3381,3608,3602,3472,2938,2471,2213,2286,2238,2098,1982,2087,2461,2455,2112,2271,2443,1852,1709,1593,1548,1600,1517,1771,1792,2010,1886,2406,2621,1925,1997,2407,2852,2463,2050,3218,2500,1698,1647,1680,1742,1770,2026,2218,2321,1739,1945,2537,1930,1976,1983,2199,2412,1915,1923,1866,1996,2281,2107,1567,1744,1775,1560,1651,1638,1576,1489,1602,1591,1900,2162,2008,1750,1628,1488,1990,3052,3610,2427,2091,2854,2888,2286,2031,1722,1559,1503,1556,1655,1782,1955,2411,2094,1802,2486,2921,2761,2489,2382,2544,2658,2664,2755,2856,2632,2662,2136,1907,2282,2366,2320,2252,2249,1792,1598,1709,1689,1819,2320,2107,1506,1353,1371,1311,1481,1867,2697,3078,2707,2959,3670,4095,4308,4079,3881,3933,3928,4071,3949,3854,4320,4657,4741,4700,4665,4177,3552,3250,3189,3165,3619,3604,3540,3459,3740,3898,3334,3419,3963,4227,4408,4118,3619,3165,3094,3078,3184,3144,3144,3067,2908,2640,2457,2950,3514,3272,2833,3004,4016,4164,3905,3962,3820,3316,3228,3028,2364,2438,2490,2536,3054,2734,2230,1991,2355,2339,2543,2657,2686,2767,2348,2082,2523,2420,2268,2854,2950,2875,2590,2416,2443,2869,2829,2643,2315,2155,2597,2897,3426,3145,2671,2702,2208,1749,1659,1567,1635,1668,1571,1635,1703,1918,2333,2239,2005,1904,2386,2175,2059,1812,1490,1547,1826,2192,2199,2007,2137,2645,2708,2502,2646,2570,3199,3029,2225,1548,1776,1931,1763,2162,2205,2255,2546,2536,2304,2283,2461,2522,2441,2757,2698,2208,2368,2964,2336,2353,2275,2543,2317,2064,1894,1784,1711,1842,2020,1845,1756,2304,2788,2986,2801,2147,1738,1745,1826,1992,1910,1615,1672,1688,1512,1890,2361,2647,2508,2459,2177,2624,2962,2562,2377,2272,2065,1913,1795,1748,1610,1559,1553,1804,1891,1483,1316,1358,1563,2105,2193,1800,1504,1353,1408,1389,1615,2201,2488,2103,2357,2017,2148,2512,2154,1859,2133,2725,2376,2481,3219,3610,2898,2214,2586,2325,2231,2477,2460,2112,1657,1398,1397,1493,1662,1747,2366,2709,2011,1538,1491,1721,2396,2710,2050,1643,1599,2192,2684,2975,3117,2882,2620,2583,2251,2029,1982,1889,1591,1122,1232,1631,1815,1787,1456,1450,1541,1714,1875,1721,1732,1852,1943,1994,1768,1655,1506,1489,1366,2183,3141,2989,3099,3378,3128,2789,2274,2035,2078,1929,1560,1676,1951,1960,1855,2151,2626,2785,3042,2942,2207,1770,1947,2139,1841,2013,2229,2122,2073,2678,3319,3348,3504,2912,2085,1990,1910,2558,2545,2824,2765,2805,3009,2974,2827,2179,1685,1786,1617,1514,1483,1517,2244,3175,2506,2338,2497,2481,2282,2077,2323,2382,2182,2556,3081,2867,2916,2401,2041,1828,1503,1798,2223,3273,2971,1958,2034,2347,2261,2121,1981,2007,2222,2481,2656,2047,1886,1769,1707,2003,2253,2050,2089,2583,2800,2617,2728,2968,2997,2570,2459,1990,1983,1950,1861,2455,2921,3045,2863,1916,2276,3419,3709,3395,3034,2679,1862,1401,1659,2076,1931,2330,2925,3125,3253,3055,3103,2600,2445,3500,3964,3365,2503,3078,3252,1722,2079,3010,3109,2727,2687,2956,2954,3029,3048,3290,3455,3387,3566,3991,4061,3596,3250,3006,2955,3099,3111,3190,3217,3182,3139,3012,2901,2919,3051,3097,2943,2882,2977,3252,3428,3609,3587,3479,3322,3186,2977,2451,2086,2039,2185,2198,2423,2669,3863,3921,3681,3605,3458,3419,3463,3262,3226,3171,3615,3961,3708,3263,2721,2218,2026,2539,3159,2743,1832,1560,2377,2666,2481,2450,2354,2190,2030,1857,1948,2188,2229,2328,2116,1857,2465,3134,3071,2521,2108,1949,1565,1681,1829,2025,2326,2988,3304,2846,2670,2974,3361,3297,2884,2679,2205,1815,1896,1830,2015,2002,1694,2770,3586,3278,2797,2491,2064,2256,2159,2164,2335,1972,1758,1759,1922,2085,1949,1806,1771,2112,2360,2634,2329,2452,2890,2917,2612,2900,3587,3754,3523,3776,3830,3254,2717,3245,2797,2341,2602,2609,1998,1881,2256,2226,2072,2598,3105,3432,3476,3375,2519,2563,2810,2578,3107,3540,3017,3183,3181,2621,2061,1905,1947,2351,2364,2584,2745,2896,2846,2498,2330,2125,2080,1930,2222,2553,2641,3094,3095,3062,3195,3006,2660,2647,2788,2666,2456,3305,2853,3040,3692,4332,4136,3211,3206,3868,3769,3737,3523,2894,2767,2540,2546,2503,2093,1736,1677,2435,2679,2856,2854,2246,2125,2426,2963,2589,2136,2206,2258,1742,1738,1989,2208,1991,1889,2176,2155,1991,2200,2416,2626,2470,2070,2648,2574,2421,2197,2517,3216,3676,3153,2839,3477,4074,3974,3175,2604,2661,2777,3163,3212,2821,2753,2344,2546,3077,3175,2610,2750,3267,2612,2601,2685,2301,3140,3267,2691,1923,1621,2023,1980,1935,2387,2551,2256,2121,2451,2909,3458,3181,2898,2845,3068,3296,3461,3141,2398,2093,2342,2424,2302,2265,2413,2155,2328,2678,2457,2574,3063,3305,2796,2713,3607,3971,3747,3249,2845,2767,3249,3754,3823,3981,3210,2447,2687,2467,2634,3642,2811,2123,1989,2499,2991,2547,2380,2534,2279,2265,2026,1441,2326,3365,3331,3211,2872,2634,2487,2604,2609,2408,2295,2653,3541,4245,3272,1194,1875,2399,1879,2678,3201,2156,1619,2431,3071,2464,2045,2323,2858,2652,2664,2709,2405,2167,2619,2458,2216,2214,2156],[3077,2923,3100,3198,3206,3090,3104,3019,2890,3233,3123,2540,2698,3006,3442,3509,3275,3329,3509,3482,3438,3461,3541,3565,3449,3146,2447,1869,1838,1867,2484,2174,1942,2321,2548,2900,3211,3020,3050,3366,3405,3729,4061,3794,4060,4519,4128,3488,3242,2980,2613,2867,3745,4104,3945,4023,4037,3876,3571,3581,3494,3321,3334,3474,3751,4129,4092,3670,3629,3361,3182,3128,3410,3033,2764,2952,3167,3162,2877,2820,2718,2432,2301,2381,2711,3090,2977,3083,3051,2804,2700,3141,4013,4192,3985,3831,3682,3603,3274,3319,3020,2684,3107,3000,2864,3095,3472,3770,4092,3916,3682,3594,3572,3482,3732,3648,3499,3682,3544,2994,3175,3015,1897,1549,2049,1880,1813,2087,2008,2023,1945,1876,2345,2677,2674,2640,2264,1924,2091,2302,2322,1909,1851,1766,1980,1693,2066,2647,2778,3152,3112,2501,1978,2077,2217,2353,1960,1771,1824,2083,2263,1865,1782,1799,1971,2069,2166,1986,2076,2409,2256,2098,2589,2598,2590,2625,3009,3228,3095,2921,2367,2020,2342,2745,3097,3168,3218,3040,2965,2227,1834,1660,1807,2150,2120,2230,2663,2467,2292,2143,1852,2232,2517,2358,2540,2580,2732,2873,2879,3029,3493,3802,3581,3223,2332,2184,2005,2039,1656,1963,2546,2363,1823,1612,1945,2095,2086,1889,2148,2580,2201,2008,1985,2291,2636,2464,1959,1505,1424,1618,1963,2121,1747,1659,1832,1649,1801,2612,3040,2508,1834,1945,2011,2205,2886,2402,2258,2471,2423,3013,2881,2800,2693,2595,2723,3276,3366,3052,2889,2199,1544,1499,1795,1708,2354,2326,2535,2579,1886,1480,1978,2444,2189,2293,3107,2835,3726,3272,2331,1985,2086,2280,2050,1718,1759,2000,2044,1740,1936,2113,3165,3872,4009,3801,3066,2543,3283,3816,3646,3541,3890,4084,3985,3255,2383,1681,2194,2744,3095,3199,2438,2302,2908,2342,2085,2071,1964,2068,1908,1955,1742,1781,1827,2170,1971,2126,2829,2852,2431,1994,1794,2295,2436,1902,1896,2203,2358,1765,1651,1769,2176,2608,2289,1582,1478,1857,1806,1736,1686,1816,1782,1642,1510,1440,1452,1787,2017,1791,1628,1575,1592,1577,1438,1519,1465,1243,1317,1511,1353,1207,1547,1922,1699,1518,1433,1655,1492,1722,1844,1618,1599,1399,1410,1580,1386,1227,1299,1324,1274,1463,1318,1470,1460,1836,2634,2543,2457,2574,2388,2069,2088,2008,1825,2326,2500,2795,2143,2059,2060,1627,1416,1767,2080,1642,1588,1832,1631,1440,2102,2156,2981,3445,3187,3128,2895,2507,2647,2693,2413,2336,2071,2263,2150,2854,3239,2887,2793,3197,3105,2318,1823,2530,3738,3761,3476,3095,3090,3041,3253,3241,3089,3230,3140,2433,1654,1548,1843,2072,1993,1775,1902,1940,2258,2308,1973,1726,1788,1725,1617,1460,1557,1793,1877,1976,1992,1941,2171,1923,1825,1791,1845,1852,1550,1400,1590,1710,1561,1425,1771,1698,2396,2064,2156,1829,1481,1269,1290,1550,1764,1611,1471,1599,1989,1742,1949,1703,1824,2099,2225,2099,2486,2625,2384,2192,1923,1968,2214,2691,2273,1884,2018,2055,1672,1578,1927,2097,2164,2375,2263,1998,2593,2499,2154,1965,1674,1929,2228,2013,1926,1691,1572,2068,2720,2343,1656,1614,1515,1409,1535,1707,1752,1901,2121,2239,2282,2215,2448,2602,2652,2279,1958,1800,1908,1864,1989,1904,2252,2673,2473,2337,2314,2184,2222,2059,2655,2850,2370,2480,2979,3085,2667,2521,2754,3382,3067,2564,1408,1337,2110,2563,2950,3112,2836,3010,2745,2635,2986,2939,2778,2739,2840,2903,2392,2319,2298,2116,2131,2343,2587,2784,2761,2548,2264,1982,1906,2316,2321,2047,2380,2780,2652,2307,1955,1488,1621,1843,1700,1843,1902,1642,1738,1857,1740,1655,1597,1788,1684,1758,2049,1972,1972,1840,1931,1644,1848,2209,2184,2203,1768,1653,1898,1968,1689,1823,2185,1821,1968,1493,1559,1868,1782,1712,1729,1587,1767,2489,2438,1577,1488,1645,1806,1646,1607,2196,2419,2545,2508,2478,2766,3271,3310,2937,3064,3157,3086,2794,2755,3020,3154,3307,3361,3443,3052,2135,2272,2757,2844,2776,1786,2090,2712,2720,2776,2906,3189,3238,3116,3292,3570,3664,3986,3918,3980,4217,3790,4007,4200,4128,3274,3138,3458,3372,3624,3409,2473,2081,2000,1480,1578,2410,3167,3427,3318,2910,2691,2741,2788,3244,3540,3618,3890,4103,4306,4444,4452,4260,3728,3550,3970,4456,4602,4415,4301,4124,4112,4062,4420,3530,2172,3938,4988,4807,4337,4220,4376,4139,3946,3944,4023,3530,3641,3781,3834,3736,3836,3980,3924,3703,3890,3875,3516,3448,3318,2874,2408,2165,2128,2221,2200,2125,1949,1972,2114,1763,1489,1757,2053,1775,1943,1647,1575,1615,1546,1620,1684,2070,2068,2569,2978,2165,1638,1813,2775,2526,1870,2627,2408,1736,1439,1576,1867,2209,1832,1561,2012,1782,2045,2388,1764,1790,1971,2092,2245,1908,1872,1818,1513,1904,1809,1642,1925,1580,1357,1435,1695,1649,1531,1447,1560,1868,2055,1903,1814,1673,1791,2520,3570,3790,3028,2489,2713,2507,2441,2159,1456,1349,1598,1662,1763,1797,1940,2199,1969,1934,2630,2502,2447,2540,2234,2192,2046,2657,2591,2569,2554,2601,1924,2049,2143,2218,2215,2264,2500,2047,1593,1455,1566,1423,1649,1634,1426,1459,1688,1632,2155,2458,2382,2170,2080,2804,3727,4328,4388,3890,3624,3896,3894,4099,3783,3648,4115,4360,4331,4448,4327,4384,4112,3395,3310,3311,3220,2776,3082,3209,3310,3696,3407,3425,3652,3951,4068,4124,3774,3261,2985,3120,3143,2865,2752,2691,2412,2664,3267,3654,3444,3286,3176,3172,4042,3950,3480,3197,3537,4112,3890,3097,2629,2360,2067,2850,3038,2140,1815,1759,2084,2126,2405,2688,2262,2319,2348,2113,2280,2069,2116,3178,3494,2695,2430,2736,2897,2920,2757,2539,2447,2798,2902,2885,2578,2479,2830,2935,2482,1958,1726,1781,1930,1848,1561,1540,1674,1934,2146,2049,1896,1732,1920,1838,1890,1787,1681,1807,1849,2339,2263,2167,2304,2908,3024,2136,2266,2540,2834,2836,2158,1652,2178,2164,2487,3010,3168,3211,2842,2462,1852,1835,2437,2287,2250,2583,2985,2971,2556,2868,2612,2856,2654,2575,2326,1822,1808,1979,2053,2082,2198,1738,1819,2181,2518,2817,2938,2641,2072,1967,1891,1692,1675,1483,1522,1796,1432,1419,2130,2480,2486,2403,2651,2766,2568,2462,2376,2293,2314,2481,2052,2026,1860,1599,1798,1575,1367,1437,1577,1848,1923,1923,2019,1985,1588,1462,1537,1377,1876,2558,2555,2309,2202,1960,2062,2248,1962,2094,2751,3199,3244,2519,2879,3636,2933,2397,2499,2292,2610,3029,2964,2316,1832,1501,1491,1415,1565,1514,1805,1715,1515,1547,1951,2502,2501,2261,1560,1822,2360,2832,2994,3129,3151,2591,1919,1762,1714,1814,1966,1901,1684,1099,1040,1664,2104,2073,1406,1223,1507,1620,1625,1590,1500,1405,1579,1721,1284,1307,1351,1542,1525,1709,2451,2678,2696,2526,2209,2279,2253,2314,2139,1942,1869,1755,1776,1663,1529,2163,2858,2376,2570,3228,3452,3311,3156,3178,2729,2466,2721,2574,2582,3012,3398,3658,3586,3198,2864,2332,2226,2818,2120,2360,2840,2921,3321,3648,3558,3080,2775,2530,1996,1695,1582,1482,1686,2237,2338,2147,2597,3052,2328,1856,2126,2257,2148,2564,2868,2856,3182,3049,3388,2653,1918,1799,2031,2518,2248,1852,2104,1823,1753,1940,1751,1967,2002,2002,2121,1986,1844,1923,2046,2242,2100,1756,1880,2943,2924,2906,3106,3186,3066,3061,2672,2060,1846,1680,1870,2152,2360,2706,2481,1977,2492,3537,3588,3447,3408,2542,1586,1487,2005,2294,1931,1859,2259,2854,3183,3196,3294,2916,2843,3520,3573,2940,2531,3292,3652,2784,2921,3382,3082,2746,3066,3201,2832,2805,2996,3044,3019,2850,2984,3329,3533,3662,3593,3238,3498,3516,3012,2829,2784,2785,2892,2930,2928,2890,2925,2908,2901,2944,2989,3210,3458,3825,3868,3743,3574,3276,2756,2304,1946,1946,1926,1994,2120,2961,3918,4043,3944,3740,3486,3394,3303,3474,3330,3231,3614,3821,3871,3581,3196,2938,2656,2578,2590,2005,1439,1826,3075,2812,2280,2453,2399,2104,2068,2211,2432,2468,2260,2392,2674,2146,2375,2488,2842,2244,1946,1910,1845,1838,1890,1895,1873,2222,2843,2944,2731,3225,4104,4152,3252,2557,2209,2109,1898,1772,1935,1738,1693,2686,3296,3311,2844,2775,2563,2604,2603,2862,2447,1811,1698,1670,1986,2310,2030,1779,1781,1708,1802,1773,1892,2307,2270,2086,2258,3237,3115,3152,3187,3551,3638,3099,3166,2956,2188,1843,1832,2097,1973,1652,2098,1846,1855,2171,2676,3348,3560,2818,2471,2445,2166,2709,3775,3105,2918,2698,2491,2479,1970,1740,1952,2129,2308,2464,2570,2690,2630,1692,1794,1967,2055,2181,2318,2381,2422,2655,2787,2987,3015,2828,2322,2148,2424,2850,3088,3285,2877,3350,3775,3984,4136,3542,3111,3731,3790,3642,3702,3300,2986,1888,1813,1885,2062,1960,1819,2590,3017,2535,2187,2225,2394,2603,2908,2691,2492,2599,2317,1904,1967,1978,1991,1883,1876,2113,1976,1990,2590,3000,3685,3540,2798,2445,2360,2489,2752,2964,3438,3691,2840,2429,2570,2966,3286,2599,2392,2613,3002,3098,2743,2652,2596,2028,1735,1549,2476,2443,2930,2532,2756,2445,2480,2137,2570,3172,2547,1474,1680,2013,2308,2163,2405,2320,2367,2194,1758,2310,2830,2728,2599,2221,2301,2625,2824,2564,2240,2030,2223,2469,2668,2567,2674,2006,1661,2086,2444,2746,2885,2713,2520,2801,3548,3838,3746,3486,3184,3075,3603,3480,3416,3520,2406,2268,2475,2629,3030,3500,2998,2683,2387,2436,2717,2332,2372,2732,2629,2429,2536,2513,2877,2853,2467,2029,1582,1389,1632,2174,2408,1989,2050,2604,3529,4064,3516,1991,2475,2896,2121,2493,3058,2401,1996,2994,3370,2520,2016,2142,2864,2992,2534,2442,2451,2184,2507,2433,2036,2531,3093],[3030,3082,3184,3222,3154,2994,2937,2893,2928,3174,3234,2965,3466,3630,3674,3500,3285,3241,3306,3124,2967,2979,3241,3596,3008,2867,2375,2029,2236,2391,2148,1910,2346,3163,3382,3395,3245,2506,2352,3043,3332,3626,3877,3653,4224,4501,4155,3946,4036,4252,4014,3203,3507,4129,4108,3758,3751,3664,3439,3549,3494,3402,3463,3620,3707,4120,4168,3916,3639,3153,3163,3107,3427,3282,2765,2961,3330,3156,2916,2797,2396,1857,2007,2242,2287,2431,2790,2971,2955,3122,3129,3488,4028,3956,4021,3947,3913,3738,3308,2750,2545,2852,3116,3057,3007,3495,3980,4091,3651,3308,3437,3306,3315,3301,3441,3498,3458,3400,2944,2927,3151,2833,2144,1821,1885,2023,2096,2044,2436,2105,2232,2429,2830,2918,2557,2540,2490,1918,1686,2214,3106,2275,2236,2215,1908,1586,1980,2320,2504,2857,2677,1920,2097,2400,2143,2531,2045,1969,1900,1728,1613,1543,1612,1792,1837,1916,2424,2337,3041,2854,2313,2465,2800,2786,2585,2402,2797,2656,2558,2686,2194,1830,1835,1859,2169,2238,2383,2374,2339,1833,1614,1541,1855,2121,1826,2033,2470,2535,2586,2366,1917,1863,1997,2306,2350,2290,2667,2912,2892,2976,3480,3542,3362,2105,1682,1872,1686,1655,1835,2130,2346,2264,1687,1654,1903,1922,2082,1763,1700,1810,1658,1596,1821,2141,2370,2436,2166,1561,1477,1649,1600,1515,1686,1626,1606,2242,2684,3101,3062,2182,1598,1995,2202,1889,2681,2900,2302,2730,2767,2754,2264,2311,2767,2643,2565,2774,2530,2717,3142,2799,1921,1789,1979,1653,1532,1959,2632,3024,2552,1650,1780,2521,2088,1693,2241,2607,2647,1976,1541,1670,2121,2411,2269,2031,2245,2142,1726,1635,2032,2724,3482,3960,4086,3687,2868,2718,3217,3547,3698,3305,3141,3726,3828,3263,2248,1716,2139,2667,2974,3062,2613,2977,4494,4689,2810,2381,2142,2063,1708,1559,1530,1922,2019,1853,1839,1909,1985,2102,2093,1911,1954,1961,1627,1663,1978,2465,2312,1757,1976,1992,1970,2134,1962,1667,1578,2126,2118,2532,2186,2048,2569,2294,1642,1517,1591,1577,1804,1980,2036,1744,1589,1545,1577,1542,1350,1161,1445,1765,1617,1324,1746,2182,1783,1755,1485,1412,1403,1504,1430,1250,1163,1397,1709,1634,1508,1418,1338,1265,1274,1500,1635,1692,1613,2013,2402,2131,2218,2355,2732,2082,2325,2573,3077,3500,3015,1958,1412,1677,1671,1550,1516,1697,1855,1533,1618,1751,1837,2019,2590,2088,2270,3034,3620,3965,3354,2480,2958,2792,2653,2312,1826,1944,2284,2623,2713,2598,2533,3046,3322,2501,1747,1665,2799,3250,3483,3474,3209,2949,3040,3127,3121,2923,2464,2145,2042,1891,2090,2115,2103,1897,2139,2496,2141,1953,1879,1815,1813,1632,1558,1816,1896,1791,1645,1627,1886,2034,1919,1888,1914,2024,2234,2015,1686,1559,1565,1587,1383,1408,1470,1422,1635,1537,1642,1753,1452,1332,1499,1439,1402,1585,1629,2176,2456,2097,1724,1523,1762,2276,2219,2052,2488,2601,2424,2218,1781,1690,1656,2000,1908,1786,2127,2014,1671,1826,1978,2129,2557,2647,2650,2637,2851,1965,1821,2005,1933,2366,2306,1676,1800,1853,1851,2065,2402,2105,1888,1704,1511,1564,1807,1915,1557,1720,2218,2309,2165,2188,2356,2584,2919,2613,2213,2111,1853,1772,1866,1841,2220,2911,2884,2601,2031,1931,2082,1837,2647,3158,2818,2750,2955,3002,3118,2841,2876,3316,3029,2321,1673,2085,2536,2808,2956,2807,2625,2625,2579,2866,2842,2602,2813,2872,2523,2673,2805,2648,2575,2416,2282,2461,2446,2556,2356,2211,2213,2184,2440,2353,2101,2161,2198,2424,2353,2171,1915,1823,1947,1676,1621,1662,1778,1557,1655,1858,1787,1584,1632,1829,1888,1939,2029,2043,1794,1634,1645,1652,1686,1830,2157,2125,1876,1849,1759,1621,1478,1602,1975,1916,2138,1903,2062,2061,1718,1948,2141,1746,1706,2059,2181,1699,1534,1732,1913,2054,2067,2412,2835,2956,2940,2953,2888,3033,3254,2750,2526,3065,3299,3041,2711,2995,3117,3041,3161,3321,2814,2052,2608,2828,2823,2756,1571,2016,2712,2801,2863,3074,3212,3203,3175,3409,3774,3750,3936,4271,4391,3874,3950,4213,4264,4265,3412,3182,3705,3632,3886,3205,2044,1750,1537,1514,1877,2574,2864,2906,2922,2638,2630,2751,2707,3228,3582,3875,3985,4227,4705,4765,4471,4433,4031,3730,4210,4560,4527,4211,3892,4095,4395,4583,4388,3086,2018,3444,4660,4600,4529,4485,4365,4188,3749,4046,3982,3504,3494,3685,4002,4006,3773,3663,3704,3750,3794,3508,3384,3120,2588,2364,2226,2138,2056,2078,2286,2429,2163,1780,1898,1732,1609,1609,1574,1476,1693,1552,1820,2003,1600,1339,1615,1764,1503,1803,2851,2875,2318,2723,2929,2331,1612,2215,2601,1887,1603,1670,1693,2120,1913,1531,1721,1675,2016,1778,1612,1829,1993,2080,1943,1621,1522,1550,1690,2219,2015,1588,1945,1779,1580,1926,2078,1833,1544,1478,1529,1605,1632,1714,1896,1917,1957,3012,3753,3464,2733,2482,2463,2573,3000,2120,1547,1702,2590,2032,1787,1783,1929,1963,2057,2386,2652,2530,2840,2431,1857,1870,1823,2480,2338,1937,1929,2132,2181,2260,2186,2752,2697,1741,1910,2226,1875,1533,1620,1558,1438,1492,1456,1613,2089,2458,2733,2783,2566,2460,2973,3220,3441,4168,4480,4212,4132,4252,4277,4330,4085,3901,4199,4286,4150,4363,3793,4148,4356,3826,3340,2697,2053,1857,2404,2696,2578,3051,3166,3475,3514,3992,4277,4228,3848,3574,3395,3159,3064,2901,2805,2942,2912,3437,3565,3738,3094,3195,3065,3040,3714,3553,2972,2668,3200,3953,3638,2560,2721,1934,1928,2790,2428,1803,1685,1823,2264,2441,2497,2265,1825,2010,2388,2132,2052,2316,2492,3134,3683,3234,2978,2908,2706,2758,2745,2453,2534,2788,3021,2524,1835,2468,2793,2653,2657,2382,1897,1970,1893,1690,1601,1944,2042,1865,2260,2599,2189,1724,1654,1652,1901,2010,1952,1960,1830,2008,1949,2213,2367,2859,2734,2240,2267,2460,2618,2924,2218,1653,2149,2273,2577,3053,3238,3263,3119,2711,2176,2242,2382,2073,2263,2585,3374,3195,2264,2082,2426,2731,2332,2009,1897,1582,1461,2019,2375,2021,2461,1708,1580,1827,2297,2531,2350,2554,2564,2072,1632,1438,1511,1297,1262,1621,1479,1220,1894,2386,2216,2059,2469,2724,2567,2322,2765,2881,2568,2539,1994,1759,1565,1655,2083,1896,1606,1476,1843,2161,1746,1833,2129,2497,1967,1708,1542,1493,1962,2531,2685,2396,2361,2658,2382,2262,2302,2607,3605,3913,3504,2483,2615,3041,2384,1941,1780,1843,2441,2378,2878,2728,1932,1447,1437,1551,1562,1555,1605,1563,1524,1581,2363,3074,2017,1664,1469,1918,2215,2311,2826,2985,2901,2525,1591,1686,1764,1902,2055,1958,1795,1259,963,1354,1780,2010,1695,1449,1592,1457,1365,1322,1340,1322,1324,1494,1372,1391,1448,1635,1590,1349,1562,2052,2242,1513,1412,1468,1825,2126,2049,2077,2314,2113,1658,1469,1425,1879,2481,2407,2872,3742,4117,3820,3649,3345,2769,2343,2755,3264,3393,3325,3278,3467,3422,3559,3364,2618,2584,2630,2228,2707,3051,3109,3463,3744,3681,3626,3561,2953,2333,2007,2207,2120,1939,1941,2241,2134,1999,2116,2060,2003,2305,2388,2186,2267,2495,2699,2670,3045,3536,3451,2923,1952,1592,1665,1740,2105,2002,1924,1801,1635,1974,2375,1798,1591,1871,2236,2222,2209,2683,2767,2188,2018,2049,2992,3121,3069,3487,3221,2642,2866,3078,2711,2065,1655,1976,2189,2463,2889,2803,2405,3184,3859,3543,3273,3056,2000,1390,2151,2137,1958,2097,2093,2121,2277,3022,3167,3350,3257,3081,3481,3418,2784,3112,3459,3033,3362,3509,3457,3233,3355,3329,2971,2724,2656,2748,2790,2956,3021,2967,3043,3064,3265,3278,3207,3825,3537,2709,2663,2691,2675,2769,2857,2915,2961,3006,2973,3014,3094,3183,3329,3526,3623,3558,3870,3990,3703,2900,2198,1930,1875,1772,1654,1750,2313,3118,3895,3928,3938,3868,3693,3469,3710,3825,3776,3558,3535,3782,3785,3808,3769,3372,2546,1957,1615,1622,2122,2924,2972,3008,2968,2888,2667,2163,2262,2597,2727,2351,2299,2625,2361,2362,2086,2007,1839,1673,1630,2088,2404,2399,1943,1567,1750,2397,2691,2949,3399,3681,3545,2644,1996,2086,2228,1908,1810,1848,1665,1825,2564,2721,3251,3624,3068,2770,2570,2468,2921,2822,2404,1778,1742,2070,2352,1946,1660,1685,1516,1749,1934,1960,2248,1860,1885,2053,2687,2820,3207,3166,3295,3306,2942,2841,2263,1484,1439,1708,2686,2729,1838,1876,1953,2282,1852,1892,2420,2391,2315,2492,2226,1924,2931,4185,2930,2522,2354,2113,2167,2044,2024,1937,1759,2072,2765,2861,2843,2767,1887,1952,2270,2747,3066,3099,2799,2592,2532,2652,2662,2090,2157,2226,2185,2307,2817,3016,2909,2932,3352,3758,3793,3898,3709,3128,3103,3699,3684,3839,3636,3018,2226,1903,2060,2313,2249,1965,2320,2957,2439,2386,2636,2398,2139,2557,2802,2596,2597,2386,2148,2046,1778,2093,2192,1901,1879,2358,2888,3166,3221,3597,3805,3158,2310,2244,2277,2525,2775,3458,3517,2360,1549,1732,1927,2187,2551,2822,3320,3317,2298,2118,2303,2336,2139,1456,1319,1822,2588,2701,2664,2587,2755,2963,2428,2326,2939,2598,1813,1830,1958,2220,2093,2397,2900,2972,2319,2380,2774,2398,2350,2564,2300,2135,2224,2153,2207,2091,2485,2413,2307,2410,2531,2361,1833,1612,2350,2723,2875,2683,2554,2307,1723,2242,3088,3619,3758,3306,3331,3730,2756,2565,2484,2197,2642,3219,3112,3018,2980,3238,3564,3050,3075,3343,2728,2451,2408,2333,2315,2814,2757,2978,2648,2225,1998,1640,1621,1876,2116,2526,2119,2383,2659,2533,3077,3803,3530,3448,3365,2665,2398,3209,2919,2464,2999,3436,2702,2166,2516,3156,3126,2850,3018,2856,2353,2619,2627,2138,2735,3024],[2728,3002,3152,3109,3075,3032,3003,2945,2962,3167,3296,3283,3528,3348,3122,3111,3009,2921,3030,3023,3142,3351,3393,3550,3164,3261,3653,3329,3152,3124,2370,1968,2561,3384,3407,3030,2603,2176,2020,2846,3278,3386,3592,3723,4256,4396,4167,4240,4319,4500,4211,2996,2734,2872,3051,3263,3388,3408,3322,3143,3350,3662,3774,3793,3653,3962,3895,3679,3609,3272,3218,3221,3458,3543,3243,3122,3121,3138,2745,2584,2364,2198,2201,1827,1660,2047,2383,2503,2994,3462,3510,3517,4026,3739,4027,3900,3772,3619,3168,2919,3008,3155,3212,3118,3305,3826,3870,3815,3466,3237,3277,3384,3621,3112,2664,2566,2718,2933,3189,3399,3219,2675,2275,2137,2136,2360,2211,2230,2677,2865,3425,3621,3459,3223,2730,2315,2635,1966,1748,1850,2354,2010,1948,2239,2031,1818,2310,2849,3161,2835,2265,2132,2359,1993,1904,2108,2195,2148,1802,1648,1570,1646,1904,2276,2027,2012,2770,3286,3708,2824,2730,3042,3050,2898,2718,3132,3476,3115,2984,2691,2076,1842,1878,1839,1941,2089,2071,1852,1657,1702,1796,1921,1909,1506,1932,2350,2133,2298,2172,2286,2453,2091,1811,1897,1818,1933,2325,2786,2896,3059,3416,3117,3021,2169,1722,1845,1722,1633,1947,1997,2072,2028,2130,2208,2006,1797,2028,1886,1666,1869,1716,1655,1919,1841,1872,1674,1580,1541,1670,1729,1709,1664,1803,1643,1612,2155,2490,2525,2260,2004,1541,1876,1615,1569,2311,2667,2697,2766,2470,2125,1655,2069,2714,2841,2647,2316,2096,2561,2829,2724,2101,2116,2479,2151,1632,1997,2991,3768,3277,2029,1711,2126,2054,1963,1827,2081,2397,2077,1600,1654,2148,2813,3226,2557,2201,1996,1598,1476,1656,2390,3200,3638,3688,3314,2513,2599,3084,3184,3627,3559,3449,3522,3460,3165,2236,1620,1830,1959,2207,2654,2422,2263,2676,3708,2728,1925,1984,1844,1677,1626,1519,1764,1887,1884,1724,1619,1847,1587,1538,1783,1805,1731,1457,1655,2019,2192,1967,1807,2423,2329,1780,1512,1625,1538,1473,2100,2025,1926,2002,2658,3340,2518,1510,1485,1875,1626,1664,1659,2292,2327,1966,1805,1795,1810,1466,1224,1338,1353,1531,1774,1804,2170,2120,1727,1199,1152,1432,1355,1191,1237,1208,1544,1740,1730,1782,1664,1516,1442,1339,1710,1892,1526,1494,1934,2491,2121,2427,2345,2530,2181,2387,2974,3453,3872,3463,2114,1424,1629,2112,1764,1683,1558,1410,1410,1513,1933,2482,2634,2346,1909,1874,2788,3985,3893,3275,2592,2832,2551,2308,2031,1892,2204,2454,2085,1940,2520,2665,2688,2536,2165,2172,1679,2178,3318,3934,3714,3369,3189,3163,3266,3140,2220,1739,2059,2536,2178,1835,2123,2192,1833,1781,1992,1830,1632,1762,2162,2340,1600,1539,1969,1984,1522,1555,1662,1817,1861,1837,1910,1846,1886,1938,1738,1521,1529,1610,1499,1432,1482,1572,1537,1486,1359,1512,1916,1779,2014,1505,1391,1275,1650,1698,1886,2056,1862,1621,1462,1667,1970,1908,2202,2662,2369,2329,2219,1838,1868,1988,1849,1698,2126,2489,2145,1668,1704,1902,2491,2820,3028,2658,2576,2417,1883,1712,1658,1750,1784,1732,1599,1627,1878,1899,2374,2547,2023,1886,1705,1909,2033,2068,2459,2044,1994,2432,2321,2226,2352,2454,2430,2318,2235,2204,2013,1704,1791,1748,1720,1502,2245,2840,2392,1946,1771,1876,1776,2054,2611,2887,2807,3206,3351,3416,3029,2763,2895,2696,2399,2622,2755,2765,2777,2796,3055,2950,2803,2793,2745,2762,2886,3010,2736,2607,2761,3111,3031,2784,2751,2414,2429,2556,2558,2442,2203,2269,2329,2692,2414,2209,2298,2320,2028,1648,1886,2221,2311,2645,2064,1846,1707,1643,1577,1716,1898,1842,1808,1754,1795,1722,1547,1676,1909,1462,1547,1792,2132,2141,1671,2057,2346,2200,1934,1776,1572,1599,1507,1664,1914,2371,2403,2566,2427,1914,1966,2204,2071,1976,2249,1938,1743,1716,2027,2262,2438,2497,2533,2702,2583,2708,2865,2878,2870,3499,2928,2669,3068,3374,3308,3064,3031,2806,2860,3209,3386,2920,2278,2502,2699,2518,2785,2388,2529,2814,2829,3104,3271,3404,3525,3759,3994,4311,4030,3272,3859,4583,4352,4397,4437,4496,4440,3893,3749,3770,3623,3587,3032,1946,1375,1242,1795,2728,2968,2543,2592,2689,2642,2778,3040,3179,3613,4331,4759,4596,4380,4496,4585,4452,4348,4035,4077,4453,4396,4251,3895,3830,4184,4298,4440,4104,2673,1780,3206,4021,4221,4140,4153,3872,3723,3649,4036,3751,3458,3334,3339,3558,3620,3650,3684,3869,3657,3653,3433,2973,2497,2192,2180,2094,2069,2270,2754,2984,2718,2330,1758,1744,1274,1400,1478,1548,1516,1567,1496,1620,1653,1410,1440,1660,1622,1570,1750,2376,2313,1763,2045,2111,1796,1561,1973,2274,1814,1730,1802,1651,2269,2390,2207,1960,1672,1869,1477,1570,1942,2041,2238,1864,1855,2002,1712,1671,1860,1616,1490,2036,2187,1832,1743,1761,1678,1430,1533,1786,1783,1636,1671,1945,1862,2073,2867,3149,2689,1882,2128,2448,2809,3152,1825,1654,1528,2059,1837,1606,1628,1932,2119,2152,2502,2566,2405,2536,2156,1768,1656,1588,1969,2136,1663,1813,2133,1961,1727,1838,2164,2238,1879,1824,2039,1955,1755,1960,2205,1840,1657,1556,1393,1825,2092,2630,3341,3259,2395,2823,2997,2995,3802,3819,3927,4479,4226,4002,4055,4033,4340,4564,4523,4255,4056,3570,4036,4587,4152,3288,2708,2060,1743,2210,2486,2509,2674,2850,3062,3040,3178,3768,4067,3729,3760,3987,3408,3199,3321,3150,3377,3528,3074,2852,3387,3422,3261,2759,2962,3433,3321,2815,2531,2596,3266,3259,2542,3038,2338,2322,2585,2294,2091,1813,1733,1720,2002,1998,1839,1736,2005,2096,1772,1874,2271,2468,2809,3103,3298,3474,2919,3120,2958,2645,2215,2176,2799,3470,2499,1959,2066,1950,2098,2470,2834,2505,1838,1750,1543,1933,2552,2370,2143,2678,2812,2234,2066,1960,1675,1593,1790,1865,1705,1790,2030,2157,2141,2189,2620,2884,2425,2326,2483,2416,2698,2128,1531,1874,2428,2890,3189,3106,3120,3206,3008,2813,2501,1995,1727,2204,2639,2679,2509,1394,1312,2148,2116,1558,1535,1546,1567,1610,1728,1617,1639,2024,1745,1568,1694,2301,2286,1670,1969,2499,2134,2048,1749,1539,1543,1588,1805,1506,1347,1923,2220,1972,2071,2160,2136,1916,2007,3034,2950,2753,2763,1924,1756,1882,1854,1877,1706,1820,1534,1580,1671,1431,2176,2645,2675,2222,1981,1722,1643,1912,2154,2564,2309,2403,2646,2194,2243,2366,3018,3470,3355,3028,2488,2140,1908,1652,1906,1752,1634,2206,2584,2590,2611,2186,1665,1527,1581,1686,1783,1622,1496,1369,1354,1846,2280,1546,1527,1428,1459,1509,1557,2310,2642,2385,2221,1812,1880,1843,2104,2060,1920,1870,1439,1321,1698,1903,1986,1700,1411,1487,1412,1407,1348,1394,1368,1248,1331,1448,1591,1733,1784,1634,1449,1669,1900,2246,1850,1714,1795,1781,1912,1882,1856,2132,2316,2120,2135,2084,2303,2492,2687,3178,3417,3187,3024,2942,2918,2832,2338,2386,3275,3144,2977,2918,2964,3122,3430,3492,3492,3538,3318,3436,3454,3032,2938,3462,3548,3818,3666,3321,2760,2297,2504,2878,2504,1950,1840,2094,2295,1904,2113,2459,2531,2634,2625,2388,1823,2262,2724,2754,3067,3323,3227,2764,2050,1988,2075,1860,2099,1801,1963,1992,2142,2708,2457,1798,1419,1743,2740,2641,2347,2553,3108,2612,1985,1759,1868,2139,2910,3399,2714,1900,1941,2416,2486,2010,1794,2556,2263,2225,2714,2556,2483,3242,3639,3392,3204,2732,1565,1455,1946,1760,1980,2588,3109,2522,2146,2601,2642,2720,3288,3597,3588,3470,3103,3798,3298,2497,3085,3580,3437,3379,3666,3212,2811,2801,2774,2924,2773,3060,3550,3356,3007,2956,3043,2933,3166,3725,3454,2830,2767,2878,2966,3082,3129,3097,2998,2980,2918,3078,3119,3120,3474,3649,3421,3155,3548,3908,3551,2733,2090,1930,1850,1715,1648,1627,1642,1971,2805,3916,4256,3883,3871,4100,4046,4069,4073,3522,3177,3372,3570,3740,3827,3978,3279,2270,1721,2261,2684,3053,3208,3028,2895,3200,2915,2281,2388,2740,3096,2159,1811,1826,2157,2214,2136,2076,2087,2150,2321,2788,2770,2543,1853,1698,1886,2254,2152,2705,2930,2680,2359,1882,2070,1952,1742,1851,1959,1831,1692,2337,2626,2281,2817,3362,3154,2851,2495,2348,2644,2922,2798,2525,2331,2533,2518,1887,1466,1545,1629,1940,2124,2396,2540,2124,2566,2403,2508,3210,3157,2932,3175,3174,3077,3326,2684,1592,1784,2114,3031,3028,2153,1874,1952,2039,1739,1650,1704,1544,1490,1684,1702,1771,2910,3120,2337,1951,2038,2048,1887,1798,1882,1688,1661,2441,3168,3352,2698,1880,2310,2910,2335,2214,3066,3229,2983,2921,2858,2710,2157,1792,2165,2419,2740,2916,3167,3507,3671,3576,3460,3646,3916,3956,3662,3417,3023,3410,3686,3745,3659,3505,2863,2204,2443,2468,2273,1763,1621,2070,2106,2306,2397,2128,2070,2297,2401,2691,3023,2836,2361,2342,2153,3193,2852,2257,2329,2812,2809,2984,2915,2639,2907,2767,2357,2373,2230,2306,2651,3408,3362,2200,1876,2441,2709,2617,2701,3112,3608,2713,1783,1921,2369,2523,2230,2221,2060,2335,3101,2569,1948,2419,3154,3450,3631,2846,3028,2836,2200,1815,1805,1888,2123,3020,3893,3372,2585,2644,2700,2469,2279,2285,2929,2658,2518,2442,2570,2784,2766,2424,2253,2231,2312,2324,2110,2412,2864,2822,2736,2409,2498,2392,1825,1889,2762,3428,3373,3011,3188,3191,2509,2352,1970,2414,3041,3470,3431,3199,2957,3075,2971,2486,2832,2707,2137,1903,1711,2024,2446,2339,2413,2952,3056,2831,2670,2231,2175,2220,1969,1943,2342,2951,3094,2230,2577,3772,3815,3439,3532,2889,2366,3431,3444,2689,2664,3106,2704,2809,3392,3550,3448,3527,3489,3115,2278,2602,2734,2729,2903,2257],[2692,2930,3197,3076,3017,2998,3011,2980,2946,3174,3298,3110,3151,3108,2971,3022,3041,3033,3086,3123,3262,3066,3610,3651,3522,3506,4049,3794,3279,3060,2593,3016,3469,3527,3319,3066,2459,2396,2417,2909,3428,3637,3604,3818,4311,4090,3882,4321,4417,4501,4176,3597,2946,2642,2265,2165,2563,2928,2853,2807,3473,3681,4084,4119,3783,3761,3666,3714,3708,3379,3184,3282,3333,3131,2956,2819,3067,3382,2999,2846,2597,2570,2632,2344,2078,2317,2101,2154,2725,3131,3230,3461,4156,4029,4015,3758,3791,3928,3851,3752,3464,3282,3269,3151,3349,3297,3762,3854,3580,3384,3484,3484,3408,2652,2531,2878,2788,2988,3088,3140,3205,3034,2576,2280,2895,3246,2965,2502,2568,3448,3698,3329,2763,2595,2135,2016,2409,2076,1691,1792,2026,1953,1797,2056,2262,2260,2361,2692,2879,2518,2132,2745,2333,1875,1827,1958,2159,2111,2366,2374,1979,2098,2145,2277,1884,1939,2799,3405,3131,2806,3034,2984,2812,2658,2913,3371,3582,3253,3295,2135,1622,1418,1764,1978,1889,1901,1902,1935,1802,1592,1686,1958,1803,1446,2138,2597,2046,1950,2011,2177,2534,2529,2411,2443,2159,2169,2519,2919,3089,3167,3123,2937,2882,2301,2036,2235,2006,1802,1771,1843,2106,1800,1859,1953,2047,1884,1968,2036,2045,2119,1818,1793,2074,1882,1907,1601,1692,1714,1630,1655,1753,1740,1921,1920,1954,2338,2768,2467,1772,1584,1652,1851,1969,2327,2025,1752,2470,2775,2298,1864,1944,2688,2762,2643,2405,2273,1891,1896,1898,2107,2122,2373,2829,2474,1628,1858,2711,3641,3632,2521,1825,1569,1972,2410,2227,2340,2469,1735,1400,1461,1867,2729,3054,2763,1876,1628,1537,1333,1384,1875,2393,2567,2387,2622,2514,2675,2922,3278,3721,3688,3204,3026,3169,3284,2905,1946,1917,2222,2398,2555,2114,1784,1609,2094,1851,1543,1631,1635,1661,1597,1485,1652,1860,1826,1842,1726,2102,1792,1578,1592,1612,1500,1277,1355,1611,2068,2336,1751,2344,2291,1605,1363,1416,1468,1519,1966,2129,1560,1687,2789,3238,2729,1619,1374,1860,1586,1417,1457,2166,2228,1650,1534,1541,1642,1565,1534,1482,1637,1975,2021,1483,1703,1780,1627,1495,1485,1768,1510,1313,1198,1221,1656,1765,1791,1654,1470,1525,1596,1599,1992,1870,1495,1557,1747,2014,2088,2657,2301,2094,2269,2417,2554,2917,3784,3427,2559,1819,1736,2195,1536,1358,1478,1647,1616,1529,1626,2277,2788,2569,2192,2021,2473,3706,3591,3218,2370,2444,2404,2358,2172,1839,1915,1852,1726,1966,2632,2572,2214,1987,2050,2130,1942,1974,2920,3858,3859,3619,3376,3106,2750,2185,1988,1888,1903,2138,2101,2404,2366,1932,1757,1885,2104,1811,1620,1960,1835,1877,1497,1563,1768,1609,1486,1647,1616,1522,1601,1737,1938,2038,1990,1953,1835,1731,1715,1602,1553,1628,1563,1323,1381,1567,1455,1502,1541,1665,1986,1420,1238,1130,1909,2164,2178,2278,1851,1616,1479,1553,1604,1599,1875,1865,2169,2208,1984,1871,1671,1663,1785,1649,1679,1738,1831,1590,1550,1810,2309,2953,2763,2203,2677,2496,1969,2358,1930,1541,1876,2094,1651,1729,1905,1808,1932,1854,1788,1766,1638,1919,2040,2170,2852,2405,2227,2283,2260,2339,2247,2552,2470,2127,2151,1953,1842,1996,2467,2160,1594,1709,1986,2083,2002,2040,2023,2283,2267,2177,2655,3095,2935,3296,3384,3333,3363,3045,2752,2513,2663,2745,2815,2843,2373,2408,2802,2355,2361,2587,2589,2602,2617,2603,2591,2674,2787,2910,2603,2385,2429,2288,2372,2576,2330,2244,2033,2212,2480,2443,2397,2160,2052,2437,1836,1581,2155,2597,2505,2945,2454,2004,1807,1553,1651,1825,1849,1715,1678,1785,1827,1288,1438,1771,1870,1726,1714,2015,2735,2680,2242,2814,2751,2462,2116,1794,1675,1824,1771,1640,1616,1944,2415,2569,2215,1881,2126,2359,2299,2072,2248,2186,2125,2133,2210,2001,2170,2453,2481,2644,2690,2700,2685,2666,2889,3153,2754,2966,3028,3051,3247,3319,3409,3275,3328,3399,3430,2389,1885,2305,2264,2303,2764,2828,3017,3056,3071,3118,3230,3418,3516,3560,3625,3981,4170,3997,4321,4485,4100,4050,4361,4520,4196,3967,4264,3803,3274,3014,2400,1587,1509,1751,2467,3518,3180,2562,2511,2864,3230,3516,3427,3643,4088,4394,4763,4820,4310,4140,4320,4200,4095,3962,4273,4376,4095,4074,3717,4030,4398,4360,4345,3704,2082,1977,3696,4200,4606,4312,3916,3807,3377,3295,3626,3537,3311,3173,3131,3417,3557,3635,3553,3727,3685,3475,2967,2500,2190,2127,2147,2116,2163,2577,3152,3371,3255,2741,1732,1683,1676,1564,1485,1661,1669,1452,1318,1379,1513,1638,1521,1553,1611,1520,1554,1666,1525,1670,2060,1887,1607,1546,1842,2477,2030,1644,1699,1650,1600,1707,2050,1980,1764,1817,1791,1621,1664,1974,2236,1965,1898,1838,1742,1476,1373,1203,1512,2272,2187,1644,1430,1403,1562,1410,1562,1538,1577,1902,1899,2366,2832,3020,2791,2507,2048,1991,2566,2654,2597,2539,1843,1832,1824,1826,1636,1490,1594,2008,2109,2188,2316,2418,2283,2353,2492,2004,1557,1453,1835,1852,1696,1919,2099,1477,1103,1850,2076,1830,1797,1759,1850,2183,1989,1924,2105,2018,2210,1840,1343,1699,2364,3288,4036,3624,3099,3740,3828,3639,4090,4006,4073,4584,4133,3636,4119,4347,4544,4586,4603,4589,4208,4040,4447,4516,3707,2999,3170,2616,2334,2299,2668,2871,2501,2227,2473,2821,2872,3160,3835,3864,3671,4138,3769,3331,3439,3242,3318,3351,2791,2951,3549,3515,2660,2135,2610,2922,2800,2649,2520,2325,2845,3230,3027,2900,2789,2975,2584,2562,2708,2414,1957,1795,1735,1754,1636,1606,1787,1898,1757,1805,2022,2253,2490,2888,3094,3393,2948,2984,2540,2141,1726,1679,2409,2685,2316,2261,2239,2614,2035,1928,2413,2692,1908,2108,1938,2344,2428,1896,2023,2460,2303,2315,2451,2145,1958,2222,2287,1698,1397,1600,2315,2556,2096,1981,2388,2922,2270,2101,2366,2305,2083,1942,1610,2114,2702,2699,2684,2918,3183,3168,2798,2824,2172,1866,2070,2188,2187,2091,2622,2297,1620,2109,2028,1569,1521,1563,2180,1994,1862,1917,2169,2416,2152,1600,1675,1974,1902,1758,1818,2037,1667,2190,2158,1611,1597,1532,1408,1353,1410,1883,2188,1996,1958,1788,1698,1958,2420,2598,2544,2594,2447,1879,1826,2204,2088,2095,1994,1795,1513,1460,1625,1704,1887,2088,2204,2124,2029,1886,1803,1546,1706,2542,2207,2210,2397,2220,2562,3049,3317,2990,2557,2317,1871,1530,1334,1455,1815,1687,1444,1773,2625,2605,2280,2196,1767,1476,1813,2278,2397,1627,1330,1371,1415,1500,1599,1567,2054,1983,1586,1721,1726,1671,1678,1700,1852,1892,1982,2037,1936,1732,1823,1888,1650,1764,2120,1957,1630,1434,1368,1493,1384,1330,1368,1382,1346,1244,1190,1498,1886,1881,1790,1678,1732,2026,2007,2025,1941,1788,1732,1740,1895,1936,1883,2019,2184,2232,2533,2425,2611,2862,2943,3104,2952,2524,2589,2579,2467,2727,2556,2547,3274,3318,2994,2676,2414,2646,3187,3261,2887,2691,2994,3715,4072,3528,2851,3027,3340,3719,3630,3138,2610,2362,2622,2585,2040,2147,1879,2075,2673,2235,2485,3023,3152,2743,2930,2609,2130,2525,2802,3108,3455,3592,3292,2531,2671,2894,2292,1545,1547,1876,2146,2169,2193,2274,2487,2020,1420,1956,2505,2448,2903,2858,2888,2202,1472,1606,1646,1642,1999,2351,1755,1531,1569,1698,1697,1788,1903,2398,2135,2024,2429,2331,2017,2369,3032,3217,3388,2722,1495,1598,1941,1947,2239,3078,3395,2718,2118,2120,2492,2609,3573,3698,3473,3440,3485,3675,2766,2723,3361,3429,3497,3630,3697,3238,3108,3174,3253,3107,2798,3384,3807,3532,3190,2974,2906,2879,2945,3360,3386,2916,2984,2910,3265,3340,3175,3117,2997,2921,3153,3345,3253,3168,3298,3318,3270,3300,3590,3574,3124,2525,2084,2063,1983,1850,1795,1785,1670,1649,2220,3750,4376,4045,3940,4140,4153,3987,3765,3362,3108,3052,3298,3593,4151,4120,3907,3628,3232,3437,3603,3234,3100,3109,2852,2654,2702,2674,1937,2247,2511,2117,1901,2087,2372,2282,2219,2083,2252,2311,2495,2978,2875,2271,1807,1604,2325,2399,2135,2797,2697,2251,2335,1880,2247,1745,1254,1690,2160,1860,1924,2567,2364,1937,2345,3098,3400,3460,2565,2139,2169,2423,2386,2162,2349,2388,2213,1997,1747,1694,1842,2303,2595,3353,2879,2546,3005,2735,2909,2909,2886,3514,3533,3221,3021,3326,3228,2230,2701,2990,3259,2927,2745,2596,1958,1906,1698,1632,1780,1536,1471,2019,2094,1894,2074,2433,2646,2269,1723,1854,1728,1580,1937,1822,1970,2837,3174,3477,2776,2196,2908,3318,2337,2549,3517,3351,3082,2887,2991,2318,2016,2425,2809,3008,3356,3721,3950,3938,4112,4144,3593,3893,4300,3959,3496,3362,2829,3181,3607,3638,3706,3628,3307,2979,3273,2873,2287,1836,1953,2299,2663,2630,2222,2410,3053,2761,2233,2670,2692,2310,2227,2362,1982,2734,2420,2083,2163,2524,2602,2654,2537,1954,2225,2438,2315,2186,2269,2409,2400,3166,3349,2393,2070,2770,3328,2980,2489,2632,3231,2680,2165,2344,2403,2009,1946,2225,2010,2521,2984,2287,1952,2837,3020,3204,3774,3417,3199,2733,2105,1995,2140,2186,2721,3747,3892,3559,3160,2598,2377,2486,2578,2552,3155,2978,2944,3125,3095,3110,2796,2517,2535,2404,2318,2566,2305,2669,3066,3422,2707,1989,2106,2236,2228,2604,3338,3415,3055,2400,2476,2744,2859,2810,2434,2357,2894,3530,3528,3326,3188,2683,2323,2058,2335,1982,1997,2053,1935,2047,2122,2030,1957,2381,2799,2644,1926,1830,2036,2943,2533,1625,2289,3321,3285,2662,2630,3226,3465,3605,3600,2979,2584,3200,3091,2641,2674,2899,2852,2922,3462,3366,3107,3614,3477,3132,2307,2563,3173,3087,2914,2122],[2991,2975,3038,3017,3037,3010,2956,2893,2832,3054,3243,3122,3089,3082,3146,3165,2984,3189,3288,3359,3247,2786,3610,3727,3427,3333,3231,2987,3151,3105,3163,3536,3474,3239,3044,2888,2508,2470,2719,3265,3732,3705,3676,3890,4388,4248,4208,4372,4423,4548,4184,3938,3574,3405,3076,2518,2489,2994,2954,3161,3818,3934,4195,4042,3772,3584,3602,3604,3531,3211,2752,3155,3366,3242,3087,3020,3270,3395,3152,3087,2596,1875,2188,2432,2063,2348,2208,2024,2319,2723,2932,3374,3852,3591,3728,3924,3946,3957,3586,3931,4233,4132,3795,3382,3101,2931,3027,3097,2941,2957,3205,3528,2942,2392,3039,3298,2873,3205,3275,2749,2456,2978,2728,2384,3015,3764,3884,3072,2492,2348,2911,2404,2110,2340,2158,2340,2545,2262,1812,1943,2125,2151,2258,2048,2352,2410,2266,2603,2301,1984,2039,2057,1602,1606,2013,2259,2080,2457,3311,3087,1944,2059,1980,1784,1507,1984,2915,2907,2764,3166,3373,3396,2940,2646,3040,2864,2498,1884,2208,2045,1765,1201,1487,2102,2107,1975,1742,1961,1715,1515,1709,1591,1470,1597,1941,2016,1621,1596,2020,2420,2662,2470,2450,2424,2536,2556,2798,2888,2577,2797,2973,3030,2604,1853,2566,2743,2050,1812,1920,1934,2236,1896,1676,1738,1948,1704,1788,2230,2338,1895,1685,2040,2168,2002,2004,1544,1438,1742,1828,1699,1637,1612,1633,1649,1689,2056,2757,2595,2556,2115,2284,2658,2586,2399,2100,1890,2517,2705,2243,2125,2565,2700,2827,3341,2805,2307,2499,2337,1760,1569,1944,3054,3650,3282,2094,1755,2156,3128,3517,2887,2246,1837,2100,2402,2270,2308,2190,1753,1584,1702,1744,2526,3007,2362,1593,1359,1235,1263,1574,1737,2031,2410,1960,1688,1886,2569,2812,3096,3748,3992,3185,2645,2548,2996,3349,2521,2331,2454,2314,2223,2002,1674,1853,1806,1544,1633,1616,1587,1761,1736,1628,1651,1584,1523,1629,1792,2011,1937,1753,1598,1679,1549,1631,1415,1432,1743,2005,1624,2097,2030,1610,1567,1510,1628,1693,1937,2199,1952,1965,1871,2245,2152,1699,1539,1876,1800,1560,1620,1844,1940,1476,1476,1556,1648,1715,1852,1600,1881,1839,1498,1328,1280,1252,1316,1534,1892,1832,1584,1466,1295,1382,1826,1793,1517,1430,1417,1826,2342,2115,2116,1831,1710,1835,1538,1424,1625,2151,2267,2378,2636,2823,2279,2578,3219,2802,2212,1689,1371,1462,1664,1954,2621,2858,2071,1555,1530,1666,2155,2284,2093,1971,2181,2791,3055,2878,2148,2025,2141,2188,1709,1406,1655,1698,1584,1589,1920,1968,2002,1915,1618,1897,2167,1786,2221,3438,3994,3906,3534,2779,2224,1754,2136,1948,1868,1891,2022,2495,2283,1798,1808,1974,2182,1942,1882,2023,1667,1613,1628,1597,1469,1320,1568,1652,1614,1399,1577,1628,1732,1999,1968,1923,1919,1932,1826,1574,1589,1852,1549,1338,1513,1644,1567,1809,1610,1502,1554,1386,1189,1256,2173,2709,2401,2174,1908,1644,1589,1627,1636,1614,1687,1824,2030,1718,1813,2299,2018,1691,1692,1592,1405,1521,1555,1554,1536,1592,1892,2352,2401,2684,2971,2578,2047,2014,1803,1757,2453,2433,1765,1925,2117,1794,1567,1650,1869,2163,2046,2222,2147,2534,2475,2084,1843,1864,2208,2207,2007,2236,2294,2304,2077,1838,1851,2041,2308,1672,1560,1824,1892,1768,1957,2006,2008,2404,2535,2593,3277,2770,2623,2680,3262,4112,3861,3085,2357,2352,2809,3125,3109,2921,2865,2823,2423,2124,2244,2544,2800,2703,2681,2699,2653,2742,2773,2697,2385,2358,2345,2372,2318,2251,2176,2280,2277,2498,2736,2721,2867,2545,2216,2110,1741,1731,2050,1981,1708,1820,1918,1936,1796,1551,1597,1770,1531,1636,1692,1698,1631,1636,2354,2159,1668,1557,1801,2416,2844,2950,2797,2531,2467,2717,2481,1918,1980,2192,1928,1615,1419,1722,2095,2266,2038,2149,1997,2151,2049,2217,2497,2831,2646,2128,2114,1750,1973,2312,2545,2604,2833,2724,2777,3067,3090,2800,3249,3657,3187,3134,3053,2712,2763,3217,3162,3262,3449,2314,2066,2557,2309,2498,2920,2980,3117,3206,3096,3040,3112,3292,3329,3501,3299,3413,4047,4272,3884,3307,2529,2313,2894,3596,3471,3767,3706,3055,2533,2639,2432,1698,2025,2823,3054,3000,2220,1854,2061,2736,3435,3837,3605,3686,4212,4648,4955,4723,4358,4240,4180,4049,3820,3627,4152,4396,4284,4136,3936,4156,4244,3917,3451,2312,1586,2845,3500,4057,4717,4581,4040,4066,3693,3232,3598,3583,3425,3392,3466,3816,3794,3660,3548,3571,3509,2876,2367,2239,2191,2206,2125,2185,2177,2478,3185,3432,3065,2348,1787,1632,1539,1345,1237,1466,1471,1328,1365,1448,1714,2767,2092,1421,1684,1682,1653,1835,1840,2052,1909,1715,1868,1541,2237,2940,2060,1686,1898,1888,1771,1507,1406,1386,1492,1807,2138,1697,1495,1664,1865,1996,1898,2291,2141,1616,1503,1515,1527,1556,1503,1517,1478,1532,1705,1792,1924,1686,2376,3120,2916,2730,2900,2878,2382,2050,2262,2604,2840,2732,2724,2430,1897,2108,2382,2072,1745,1663,1541,1757,1906,2353,2520,2436,2035,2267,2513,1953,1551,1714,1548,1492,1701,1775,2331,1825,1461,2166,2575,2216,1675,1406,1457,1711,1597,1675,2023,2400,2360,1974,1913,2325,2684,3621,3795,3485,3672,3933,4272,4419,4368,4119,4499,4462,4078,3602,3933,4576,4720,4679,4676,4352,4072,4371,4507,3557,2811,2388,2559,2542,2315,2241,2796,2821,2415,2298,2728,3398,3587,3720,3826,4168,4005,4288,3859,3322,3164,3132,3303,3329,3118,3157,3499,3570,3155,2608,2789,2795,2437,2272,2251,2170,2534,2706,2396,2239,2608,2864,2566,2736,2520,2062,2065,2098,2061,1876,1858,1786,1924,2006,1794,2142,2475,2520,2330,2318,2555,3233,2998,2586,2570,2396,1804,1595,1938,2042,2255,2519,2425,2040,1818,1697,1980,2429,2480,2564,2197,2078,2232,2136,2039,1971,2207,2392,2600,2043,2234,2351,2134,1702,1397,1842,3075,3350,2541,2297,2186,2604,2392,2044,2079,2082,1843,1755,1671,1964,2247,2073,1947,2502,3060,3135,2842,2542,1945,1791,1881,2002,1901,1895,2708,2755,1697,2041,2142,2120,1819,1612,2011,2126,2166,2285,2513,2708,2440,1938,1996,1899,1930,1976,2054,1964,1870,2430,2273,1840,1689,1527,1504,1464,1292,1423,1556,1540,1465,1429,1478,1866,2127,2208,2432,2157,2041,2181,1851,2140,2165,2002,1996,1722,1631,1587,1959,2005,1635,1485,1614,1893,1923,1911,1824,1725,2348,3119,2823,2819,3194,3037,3229,3263,2611,2137,1907,1652,1551,1445,1363,1396,1255,1437,1482,1450,2131,2412,2356,2431,1654,1525,2337,2710,2684,1612,1487,1738,1623,1427,1469,1509,1989,2593,1876,1637,1532,1346,1433,1523,1558,1615,1685,1715,1667,1611,1789,1912,1877,1888,1902,1550,1448,1438,1305,1276,1330,1380,1440,1498,1523,1532,1524,1940,2071,1854,1816,1784,1999,2378,2207,2099,2055,1778,1780,1853,2033,2106,2043,1887,1919,1845,1885,2188,2467,2110,1955,2809,2952,2381,2472,2466,2065,2364,2736,2610,3216,3785,3392,2766,2474,2632,2961,2611,1822,1942,2542,3281,3538,3272,3153,3072,3264,3414,3332,3266,2901,2205,2317,2073,1613,1894,1869,2846,3219,2502,2329,2922,3122,2929,2920,2387,2163,2642,2676,3028,3529,3738,3619,3494,3220,2657,1873,1112,1211,1709,1926,2061,1929,1964,2242,1942,1738,2424,2504,2573,3078,3422,3494,2684,1849,1793,1764,2017,1870,1966,1609,1464,1754,1808,1681,1704,1861,2338,2393,2238,2251,2266,2127,1786,2410,3318,3665,2536,1530,1931,2554,2392,2427,2922,2678,2429,2431,2356,2552,2548,3631,3673,3363,3351,3154,2907,2713,3509,3978,3980,3625,3564,3799,3279,3460,3518,3749,3315,2940,3672,4016,3646,3259,3006,2978,3110,3165,3408,3383,2989,3001,2895,2974,2972,2878,2958,2798,2944,3522,3385,3217,3322,3148,2915,3071,3234,3414,3348,2978,2487,2292,2297,2130,2154,2222,2368,2239,1970,2787,4096,4636,4472,4052,3706,3842,3835,3720,3450,3219,3206,2932,3186,3616,3526,3616,3840,3896,4020,3928,3509,3243,3064,2558,2260,2856,2525,2045,1938,1713,1756,1910,2462,2589,2345,2368,1998,2148,2270,2326,2404,2210,2136,2148,2119,2524,2615,2194,1983,1781,1766,2227,2238,2513,2367,1914,1886,1863,1861,2314,2542,2305,2513,2624,2908,3344,3429,2575,2259,2174,2333,2409,2271,1987,1656,1881,2081,1941,1866,1903,1975,2525,3570,3420,3075,2769,2966,3376,3021,3249,3570,3419,3210,3171,3039,3010,2588,2950,3223,3404,3481,3786,3652,2142,1632,1606,1896,1856,1881,2070,2463,2298,1879,1900,2313,2427,2242,1736,1806,1575,1662,1752,1932,1989,2103,3024,3672,3472,3209,3109,2654,1977,2467,3309,3504,3339,2847,3098,2259,1910,2774,3322,3367,3607,4078,4484,4064,3933,4108,3808,3718,3484,3341,3560,3536,3075,3254,3327,3519,3773,3638,3150,3196,2441,1731,1837,2002,2519,2901,3034,2564,2272,2543,2354,1958,2053,2271,2282,2314,2084,1758,1783,1951,2127,1967,1554,1808,2283,2253,2221,2014,2222,2311,2264,2605,2648,2243,2165,2522,2662,2338,1956,2364,2787,2520,2852,3160,3341,3802,3762,2998,1993,1642,2293,2212,1913,2313,2544,2716,3062,3481,2404,2370,3006,3349,3076,2502,2098,2098,2654,2498,2652,3125,3453,3870,3307,2574,2264,2370,2814,2815,2854,2982,3056,3474,3494,3142,2644,2780,2625,2345,2604,2643,2508,2374,3153,3496,2453,1934,2094,2244,2351,2809,3606,3684,2963,1672,1419,2201,2774,2530,2443,2513,3011,3497,3175,3060,3208,2520,2278,2049,2240,2374,2341,2080,2110,2070,1907,1882,1961,2513,1844,1501,1489,1709,2046,3195,3211,2096,2335,3428,3405,2901,2402,2605,2806,2993,2623,2309,2542,3021,3104,2768,2735,3060,2805,2812,3589,3382,2811,3518,3282,2879,2635,2806,3479,3739,3242,2156],[3096,3083,2944,2924,2915,2863,2854,2871,2945,3227,3388,3284,3285,3347,3352,2903,2275,2579,3173,3405,3390,3258,3579,3558,3305,3171,2427,2234,2897,3121,3760,3979,4028,3683,3189,2778,2814,3115,3089,3615,3836,3617,3579,4092,4558,4633,4610,4565,4552,4484,4212,4023,3972,3886,3507,2844,2986,3223,3088,3448,4046,4291,4287,4096,3845,3636,3604,3473,3508,3370,3049,3377,3533,3763,3587,3463,3370,3406,3174,2850,2233,1455,1611,1944,2144,2285,2213,2240,2424,2365,2454,2758,3173,3019,3354,3981,4040,3742,3398,3902,4352,4332,4240,4000,3554,3185,3031,2971,2778,2950,3315,3109,2289,2640,3157,2895,2811,3108,3243,2775,2456,2411,2339,2278,2513,3172,3513,3015,2400,1958,2046,2009,2173,2240,2577,2725,2501,2306,2208,2393,1936,2127,2224,2425,2429,2292,2096,2208,2139,2167,2169,1986,1594,1797,2575,2692,2496,2841,3385,2720,1795,1686,1859,1981,1737,2195,2809,2787,2920,3009,3641,3979,3338,2949,2742,2609,2123,1806,1793,1987,2023,1664,1699,2213,2316,2120,1898,1776,1584,1505,1649,1658,1527,1692,1847,1548,1256,1558,2209,2766,2644,2176,2073,2272,2359,2540,3049,3360,2827,2744,3169,2894,1851,1620,2712,2627,1916,1763,2198,2180,2382,2079,1707,1913,1778,1635,1715,1776,2032,1901,1783,2232,2179,1880,1764,1815,1611,1615,1833,1667,1448,1459,1552,1700,1773,2017,1957,2429,2698,1878,1776,2182,2220,2356,2196,1876,2674,3013,2289,2094,2165,2279,2410,2756,2414,2245,2585,2302,1802,1847,2072,3068,3859,3574,2396,1712,1827,2209,2574,2613,2189,2066,2312,2415,2074,1710,1621,1729,1720,1759,1805,2489,2574,1800,1478,1343,1214,1348,1604,1533,2097,2348,1974,1459,1735,2483,2677,2876,3731,4004,3626,3451,2661,2588,3088,2680,2409,2259,2024,2089,2224,2056,1855,1763,1807,1714,1626,1560,1471,1508,1615,1874,1958,1744,1468,1481,1689,1699,1505,1429,1788,1673,2135,1838,1665,1916,1817,2022,2428,1996,1787,1723,1583,1550,1321,1554,1951,2454,2654,2386,1924,1569,1768,2036,2287,1982,1664,1594,1443,1555,1660,1948,2184,1879,1651,1516,1368,1437,1337,1213,1173,1207,1363,1425,1627,1692,1491,1330,1216,1285,1732,2121,1861,1446,1481,1800,1771,1924,1774,1963,1879,1844,1855,1582,1511,1543,1677,2149,2600,2666,2754,2059,2615,2688,2182,1748,1676,1569,1613,1710,1865,2850,3096,1874,1338,1263,1253,1801,1782,1598,1641,1980,2187,2132,1926,1599,1525,1800,1826,1438,1384,1751,1973,2087,2042,2503,2315,1957,1925,1726,2096,2195,1772,1728,2796,3762,3410,2656,1957,1876,1809,1730,1747,2218,2365,2152,2415,2419,1782,1792,1815,1653,1590,1823,1736,1567,1722,2004,2055,1565,1535,1749,1530,1472,1377,1547,1577,1520,1600,1729,1855,1920,1837,1909,1725,1730,1764,1444,1472,1560,1619,1489,1540,1410,1420,1485,1492,1378,1472,2066,2757,2474,1953,1634,1852,1689,1831,1815,1685,1787,2389,2762,2074,1944,2161,1933,2041,2059,1644,1576,1902,1635,1866,1948,1632,1933,2275,2387,2265,2374,2924,2728,2142,1818,1951,2397,2196,1917,2101,1889,1765,1876,1740,1902,2547,2346,2137,1877,2065,1990,2043,1964,1948,2125,2371,2244,2200,2361,2398,2121,1938,1850,1862,1604,1497,1975,2099,2047,2150,2139,1963,1880,2176,2087,2376,3165,2613,2195,2302,3140,3793,3662,3111,2304,2498,3248,3763,3297,2919,3010,2843,2203,2154,2487,2810,2951,2862,2906,2834,2750,2807,2874,2683,2502,2556,2459,2322,2174,2019,2047,2428,2642,2857,2815,2997,3050,2756,2304,1808,1782,1902,1650,1457,1439,1619,1734,1834,1703,1504,1641,2194,2219,1872,1760,1747,1738,2026,2076,1874,1601,1365,2047,2466,2928,3121,2281,1813,2023,2585,2537,2106,2166,2186,1951,1730,1346,1738,2050,2250,1970,1768,1642,1632,1849,2568,2920,2809,2502,2116,2065,1912,2396,2407,2331,2915,2968,2598,2745,2939,2676,2995,3818,4310,3341,3295,2971,2507,2749,3172,3124,2855,2575,2208,2102,2243,2255,2496,2887,3115,3259,3340,3139,2979,3001,3096,3154,3264,3095,3225,3898,3683,2556,1711,1796,1632,1753,2118,3055,3737,2813,2022,2003,2151,2345,1797,2040,3040,2856,2207,2026,2126,2460,3153,4030,4416,3993,3714,4120,4629,4825,4573,4300,4377,4089,4114,3723,3614,4301,4673,4673,4565,4333,3605,2871,2191,1725,1625,2737,3873,3614,4125,4520,4352,4172,4189,4129,3768,3871,3615,3730,3790,3513,3808,3941,3686,3499,3338,2774,2252,2171,2144,2100,2043,2016,1902,1980,2713,2730,2366,1912,1909,2112,1906,1825,1357,935,1170,1533,1511,1492,1526,1658,2186,1866,1616,1650,1606,1978,2039,2009,2499,2344,2737,2631,1862,2878,2740,1840,1889,1820,1660,1493,1356,1378,1410,1896,2026,2024,1917,2093,1964,2010,2108,2002,1992,1942,1783,1705,1938,1803,1947,1882,1954,1937,1844,1754,1893,1799,1644,2618,3630,2800,2128,2013,2054,1947,1892,2508,2717,2923,2976,2957,2549,2057,1967,2119,2223,2153,1713,1657,2222,2479,2460,2700,2236,1631,1908,2224,1891,1870,2030,1608,1503,1907,2086,2307,2292,2018,2002,2723,2646,1681,1335,1427,1615,1677,1684,1635,1773,1883,1991,2030,2645,3243,3710,3627,3605,3914,4018,4416,4501,4388,4168,4069,3503,3333,3090,3735,4848,5068,4935,4812,4272,3608,3195,2907,2431,2420,2217,2186,2265,2462,2907,3261,3363,2907,2501,2985,3942,4016,4048,3918,4272,4232,4424,4096,3480,3199,3411,3771,3594,2997,2972,3206,3560,3453,3375,3256,2747,2439,2171,2479,2777,2513,2062,1968,2257,2888,2779,2602,2180,1897,2033,2098,2199,2184,1985,2236,2078,2196,2331,2226,2778,3006,2961,2876,2501,2607,3461,3564,3264,2806,2140,1945,2059,2176,2432,2452,2043,1917,2016,2126,1963,1831,1848,2109,2389,2247,2423,2075,1929,2178,1888,1779,1625,1745,1881,2494,2649,2444,2115,1610,1670,2713,2929,2492,2197,2115,2121,2182,2055,1919,2078,2156,2172,2275,2471,2681,2597,2294,2585,2373,2408,2379,2212,2254,2370,2646,2766,2604,2714,2713,2422,2170,2309,2256,2343,1891,1619,1726,1742,1714,2190,2489,2399,2391,2424,2289,1844,1920,2415,2689,2193,1941,1990,1853,2036,2001,1654,1476,1549,1355,1267,1478,1526,1497,1417,1427,1627,1793,2232,2626,2238,2028,2451,2316,1702,1456,1562,1965,2139,2326,2474,2496,2296,1789,1466,1663,1969,1811,1439,1747,2524,3039,3255,2702,2769,3396,3470,3301,2780,2373,1949,1563,1355,1400,1306,1311,1382,1482,1806,1661,1453,1766,2379,3033,2846,1888,2110,2421,2468,2262,1854,2649,2901,1819,1519,1652,1528,1800,2666,2480,1969,1654,1420,1524,1501,1535,1598,1504,1686,1620,1477,1745,1995,1970,1611,1303,1283,1512,1415,1350,1563,1717,1690,1672,1758,1784,1554,1497,1671,1948,1962,1887,1824,2033,2334,2218,2341,2645,2187,2010,2088,2066,1988,1841,1638,1638,1526,1776,2268,2395,2222,2383,3210,3352,2741,2566,2502,1983,2295,2702,2754,3066,3222,2730,2416,2658,2874,3009,2501,2016,2603,3236,3388,3250,3218,3328,3339,2995,2762,3028,3181,3242,2607,2257,1711,1771,2061,2541,3448,3392,2817,2379,2519,3110,3130,2842,2481,2435,3171,2998,3108,3310,3536,3673,3675,2830,2294,2184,1643,1322,1836,2087,2350,2091,2122,2077,2128,2221,2522,2755,2790,2866,3251,2908,2495,2492,2800,2359,2001,1848,1797,1780,1635,1755,1727,1690,1888,2040,1938,1792,1763,1952,1915,2073,1843,2015,3079,3301,2054,1262,1658,2210,2294,2138,2600,2729,2325,2374,2492,2460,2664,3539,3577,3446,3390,3130,2861,3219,4152,4184,3817,3560,3935,3698,3349,3658,3580,3774,3461,2958,3609,4035,3816,3554,3440,3508,3674,3554,3714,3688,3428,3209,2770,2642,2814,2705,2745,2717,2988,3318,3267,3492,3673,3500,3325,3006,2908,3212,3196,2877,2631,2315,2244,2212,2263,2735,3234,3186,2850,3254,4072,4337,4272,4040,3680,3678,3881,4132,3871,3503,3404,3291,3371,3254,3227,3350,3210,3045,3531,3896,3939,3760,3938,3594,3416,2987,1781,1354,1459,1678,1761,1941,2448,2338,2026,1959,1912,2418,2175,2188,2553,2507,2588,2362,2456,2703,2498,2017,1884,1993,2001,2030,2155,2253,2490,2474,2097,1959,2077,2723,2685,2086,2251,2295,2693,3109,3146,2996,2575,2393,2512,2140,2362,2109,1678,1765,1905,2194,1882,2025,1830,1550,2026,2708,3007,2929,2939,3443,3405,3431,3430,3305,2939,2945,2501,2710,3206,3167,3057,3050,3067,3172,3198,2298,1856,1766,2126,1990,2082,2303,2293,2159,1936,2049,2133,1654,1710,1770,1998,1568,1614,1698,2326,2546,2574,3241,2930,2844,3198,2374,1800,1699,2079,2929,3519,3466,3481,3486,2849,2804,3046,3283,3265,3373,3985,4461,4083,3779,3777,3804,3376,2874,3205,3847,3808,3587,3443,3039,3546,3726,3659,3441,3032,2249,1791,1590,2122,2536,2120,1678,1745,2177,2396,2166,2039,1975,2176,2291,2043,1705,1379,1447,1770,2020,1936,1820,1767,2123,2468,2814,2571,2305,2115,1967,2889,3204,2510,2370,2296,2528,2867,2489,2329,2397,2220,2684,3220,3698,4322,3974,2503,1564,1942,2281,1976,2474,2963,2598,2847,3477,2921,2392,2526,3097,3415,2570,2097,2006,1870,2317,2781,2778,2878,3207,3196,2788,2800,2720,2554,2722,2621,2187,1993,2009,2928,3068,2233,1787,2743,3003,2686,2968,3296,2971,2503,2602,2531,2380,2511,2565,2621,2472,2484,2916,3212,2340,1353,977,1977,2859,2478,2380,2339,2492,2809,2820,2279,2502,2231,2018,2110,2757,3218,2712,2387,2776,2656,2426,2521,2751,2868,1872,1572,2290,2468,2300,3009,3278,2315,2630,3261,2923,2278,2416,2399,2602,2947,2717,2471,2225,2414,2995,2884,2930,3130,2755,3100,3776,3818,3315,3141,2696,2194,2498,3407,3747,3654,3388,2524],[2946,2963,2902,2897,3028,3173,3282,3312,3208,3172,3177,3141,2931,3211,3212,2841,3066,3112,3160,3489,3580,3510,3462,3244,3494,3544,3472,3852,3796,3483,3802,3876,3776,3485,2962,2551,2484,2744,2849,3341,3737,3595,3521,4080,4016,3893,4349,4616,4632,4521,4312,4096,4084,4120,3970,3806,3724,3356,3328,3417,3886,4288,4211,4082,3731,3438,3592,3492,3530,3514,3667,3688,3558,3252,3218,3313,3138,3109,3037,2701,2204,1946,2359,2630,2737,2806,2627,2655,2448,2169,2208,2596,2803,2929,3486,4017,4236,3880,3777,3942,4014,4138,4412,4320,3950,3459,3405,3451,3332,3732,3816,2780,2756,2966,3034,2743,3001,3310,3032,2582,2329,2272,2352,2288,2540,3531,3232,2978,3012,2958,2548,2350,1968,1941,2708,2740,2041,2062,1903,2011,2037,2397,2165,2378,2230,1828,1753,1944,2208,2320,2130,1999,1479,1814,2524,2563,3019,2982,3051,1926,1572,1480,1334,1676,1874,2460,2797,2953,3220,2786,3315,3438,2884,2744,2898,2464,2266,2388,1942,1541,1896,2624,2687,2273,2167,2430,2018,1881,1984,2140,2252,1974,1863,2097,2074,1899,1730,2050,2303,2479,2578,2618,2192,1968,2114,2468,3204,3685,3130,2721,3111,2689,2050,1405,1734,2163,1989,2255,2876,2626,2610,2700,2230,1899,1652,1802,1903,1763,2086,2174,1722,1583,1737,1660,1496,1807,2126,1857,1847,1662,1457,1831,2024,2035,1802,1828,1890,2424,2360,1841,1585,1876,2592,2532,2338,2199,2513,2770,2370,2058,2124,2268,1831,1857,2208,2292,1848,1851,2101,2711,2352,2328,2491,1961,1659,1692,1792,1856,2008,1893,2059,2917,2428,2151,1486,1444,1636,1535,1783,1829,1504,1793,1899,1573,1478,1420,1333,1192,1215,1419,1548,1708,1720,1428,1536,2160,2566,3061,3720,3547,3348,3580,3647,2558,2689,2290,2169,2203,2004,2029,2224,2120,1974,1875,1890,1661,1766,1818,1511,1313,1549,1886,1891,1700,1398,1215,1272,1425,1403,1554,1708,1694,1688,1540,1883,1983,1942,2671,2836,2341,2078,2055,1848,1321,1060,1548,1598,1605,2258,3121,2580,1819,1752,2206,2298,1872,1747,1720,1530,1449,1572,2092,2201,1814,1848,1843,1506,1382,1324,1288,1309,1353,1448,1424,1354,1628,1631,1621,1584,1496,1774,1776,1655,1630,1873,2153,1528,1384,1482,1589,1422,1572,1826,1842,1837,1869,1938,2296,2972,2701,2118,2185,2626,2838,2441,1969,1686,1712,2200,2193,1683,1899,2124,1615,1690,1672,1402,1711,1688,1659,1779,2043,1925,1644,1527,1420,1430,1608,1503,1290,1292,1503,2032,2215,2188,2776,2623,2041,2205,2024,2040,1839,1834,1648,2082,2438,2023,2337,2172,1749,1809,2021,2286,2765,2770,2332,2434,2463,2164,2140,2035,1900,1957,1847,1636,1556,1563,1975,2132,1541,1504,1667,1633,1490,1484,1431,1892,2165,1968,1707,1622,1717,1855,1815,1891,1879,1638,1556,1506,1390,1301,1456,1458,1389,1491,1554,1660,1529,1578,1578,2378,2278,1802,1691,2365,2776,2658,2212,2053,2069,2840,3050,2120,1651,1584,1871,1832,1824,1732,1675,1818,1874,1998,2188,2054,1885,2136,2294,1994,2375,3128,2504,2076,2048,2091,2186,1898,1859,2014,1665,1709,1738,1606,1875,2364,2341,2191,2342,2210,2057,1958,1982,2033,2095,2556,2580,2479,2423,2489,2341,1893,1643,1638,1720,2147,2205,2303,2655,2822,2323,2085,1982,2052,1914,2026,2604,2556,2191,2625,3445,3395,3238,3105,2627,2813,3492,3420,2678,2574,2707,2498,2007,2080,2580,2765,2983,3106,3062,2958,2909,2977,3006,2830,2670,2666,2478,2207,2192,2058,2174,2586,2601,2853,2840,3157,3199,2975,2216,1741,1866,1890,1549,1532,1705,1916,1741,2033,1814,1639,1829,2768,2768,1954,1801,1824,1866,1958,1732,1672,1809,1562,2307,2693,2819,2492,2061,2003,2322,2339,2053,2186,2302,1759,2060,1858,1498,1714,1982,2046,1997,1776,1506,1437,1674,2321,2817,2631,2345,2043,1968,2618,2901,2709,2358,2402,2508,2564,2752,2840,2789,3330,3859,4417,3414,3546,3559,3306,3317,3321,3284,2844,2413,2426,2184,2186,2561,3097,3218,3273,3429,3504,3330,3182,3195,3167,3163,3182,2787,2828,4068,4232,2727,1837,2020,1993,1938,2614,3736,3587,2435,1971,2019,1769,1805,2169,2778,3449,2985,2480,2964,3222,2949,3063,3627,4283,4311,4077,3998,4239,4467,4472,4312,4347,4299,4397,4061,3936,4376,4476,4276,4301,3958,2623,1810,2019,2811,3596,4063,3972,3823,4196,4420,4252,3839,3969,3811,3854,3904,3850,3995,4123,3807,3609,3737,3685,3182,2560,2185,2084,2026,1997,2159,2395,2524,1918,2279,2796,2293,2081,1848,1995,2251,2261,2110,1538,1168,1736,2127,1616,1605,1894,2143,2274,1935,1616,1501,1378,1584,1760,2057,2024,2131,2821,2631,2179,2621,2297,2294,2499,1737,1432,1444,1420,1462,1406,1748,2404,2277,2857,3299,2737,2256,2121,2158,1932,1893,1814,1846,2841,3331,3043,2114,2060,2138,2057,2338,2331,1865,1792,2758,3252,2556,1882,1777,2107,1869,2205,2958,2953,2805,2865,2643,2420,2109,1884,2162,2314,2274,1886,2392,2684,2399,2356,2416,2068,1771,1938,2008,1834,1757,1952,1863,1498,1908,2001,1946,1627,1685,2004,2348,2042,1294,1282,1471,1620,1812,1593,1449,1421,1668,1878,1871,2514,3438,3818,3627,3580,4035,4094,4037,4301,4280,4029,3414,2596,2370,2810,3830,4572,4455,4572,4869,4848,3997,2430,2041,2302,2465,2348,2458,2458,2591,3215,3811,3924,3761,3410,2694,3565,4048,3532,3795,4361,4200,4221,4340,3980,3582,3662,3795,3674,3149,3064,2932,3050,3060,3180,2733,2399,3009,3150,2796,3444,3807,3094,2578,2590,2994,2621,2207,2075,1876,1670,1750,2322,2276,2132,2390,1949,1915,2077,1575,1318,2630,3255,3183,2379,2293,3427,3875,3360,2568,1944,1974,2490,2845,2857,2331,1716,1417,1605,2434,2614,2065,2178,2518,2369,2229,2664,2364,2184,2238,1820,1486,1581,1959,2186,2210,2258,2135,2007,1616,1637,1836,1686,1888,1940,2170,2148,2075,2007,2251,2512,2370,2612,2617,2641,2778,2910,2591,2662,2432,2599,2278,1851,2215,2888,3128,3100,2717,2700,2691,2744,2655,2653,2284,1804,1741,1731,1548,1477,1561,1980,2114,2346,2877,2404,2132,1720,1732,1858,2150,2075,1760,1690,1725,2040,2161,1930,1529,1634,1508,1305,1414,1523,1483,1482,1657,1654,1817,2573,2814,2531,2256,2554,2400,1766,1419,1817,2441,2670,2890,2868,2451,2423,2147,1614,1815,2206,2100,1955,2462,3081,2915,2670,2407,2463,2766,2687,2281,1948,1914,1732,1520,1470,1411,1385,1347,1282,1415,1486,1432,1693,1782,1819,2853,3085,2235,2164,2479,2342,1806,1629,2438,2442,1443,1427,1979,2055,1715,1710,2021,1641,1385,1297,1373,1423,1460,1553,1604,1998,1605,1472,1651,1747,1859,1729,1530,1385,1292,1454,1990,2106,1761,1591,1642,1816,1930,1923,1806,1686,1979,2114,2000,1833,1923,2122,2085,2196,2832,2712,2146,2106,2143,2040,1847,1708,1568,1526,1813,2395,2713,2884,2400,3352,3743,3042,2617,2279,1846,2043,2232,2232,2595,2978,2315,2121,2338,3084,2670,2105,2500,3065,3573,3403,3186,3298,3333,3282,2846,2536,3019,3153,3509,3164,2286,1938,2286,2955,3580,3709,3542,3577,2909,2366,3328,3338,2815,2132,2483,3928,3133,2017,2210,3037,3606,3262,2295,1810,2328,1972,1897,2317,2256,2691,2046,1664,1717,2194,2493,2646,2766,3022,3164,3064,2275,2888,2664,2990,2732,2079,1741,1872,1999,1940,1636,1555,1694,1921,1760,1581,1298,1174,1481,2057,1901,1776,1901,2104,2128,1586,1324,1644,1886,1956,1776,1959,2113,2496,2756,2435,2307,2798,3132,3212,3332,3529,3333,2915,3818,4251,3701,3183,3806,4316,3436,2867,2965,3189,3563,3518,2705,2984,3215,3089,3098,3410,3576,3460,3277,3308,3315,3461,3658,3320,2739,2802,2656,2706,2689,2759,2763,3146,3553,3491,3640,3936,3774,3426,3436,3265,3066,3415,2678,2274,2134,2386,2925,3296,3384,3288,3321,3470,3577,3620,3515,3429,3585,4039,4174,4124,3927,3779,3908,3730,3443,3178,3129,2998,3291,3813,4008,3969,3731,3817,3914,3681,2931,2692,2558,2304,2468,2390,2591,2761,2494,2096,1901,2103,2430,2143,2445,3065,2798,2940,2258,2407,2270,2356,2221,2120,2365,2424,2504,2781,2640,2504,2183,1892,1970,2022,2356,1982,1855,2376,2512,2706,2798,2526,2294,2223,2563,2814,2558,3042,2640,1908,1692,1954,1926,1648,1836,1764,1519,1552,1713,2474,2666,2774,3376,3374,3193,3395,3043,2563,2609,2411,2685,3344,2963,2813,2905,2568,2330,2222,2042,1854,1703,1837,1754,1785,1968,2232,2083,1853,1621,1742,1906,1794,1855,1999,1803,1571,1661,2466,2768,2313,2833,2612,2939,2775,1887,1961,2269,2624,3051,3296,3415,4050,3627,3111,3437,3344,3499,3520,3416,3782,4257,3740,3573,3594,3414,3203,3399,3942,4002,3770,3916,3544,2945,3251,3625,3799,3737,3399,3030,2532,2408,2902,2837,1706,1166,1808,2190,2249,2076,1758,1980,2109,1842,1816,1781,1765,1687,1996,1920,2195,2474,2238,2231,2437,3311,2680,1783,1744,2051,2808,3185,2369,2239,2602,3161,3904,3204,2706,2953,2688,2154,2414,3250,3916,3496,2154,1756,2251,2220,2110,2146,2732,2668,2878,2722,2556,2819,3039,3438,2985,1943,2029,2024,2016,2685,2764,2402,2347,2966,3116,2911,2806,2853,2722,2358,2238,1878,1736,1729,2032,2309,1842,1504,2324,2913,3130,3174,2996,2933,2745,2290,2272,2358,2657,2599,2621,2501,2388,2612,2880,2744,1853,1232,2197,2623,2256,2308,2545,2701,2722,2757,2478,2523,2586,2613,3073,3646,3747,3258,2814,2667,2778,2978,3359,3235,2707,2253,2266,2656,2750,2394,2264,2249,2366,3492,3298,2469,1787,2706,2731,2771,2764,2426,2424,2121,1984,2702,2944,2767,3061,2931,3281,3662,3559,3307,2984,2554,1993,2407,3654,3958,3794,3654,3045],[2799,2912,2977,3122,3621,3777,3464,2634,1941,1743,2248,2839,3087,3572,3307,3032,3335,3554,3795,3677,3747,3631,3516,3507,3781,3540,3904,4168,3775,3428,3730,3997,3698,3083,2453,2258,2426,2845,3016,2952,3618,3661,3609,3987,3488,3205,3951,4495,4579,4447,4272,4171,4224,4380,4344,4252,3616,2867,3108,3385,3803,4137,4199,3741,3439,3414,3521,3459,3430,3444,3422,3465,3437,3066,2845,3067,3184,2989,3063,2773,2312,2229,2753,2989,2978,3056,2990,2912,2975,2667,2503,3028,2906,3006,3322,3787,3925,3475,3506,3860,3895,3849,3868,4111,4029,4239,4524,4533,4153,4176,4028,3737,3248,3276,3372,3283,3443,3481,3029,2561,2471,2375,2380,2753,2971,3570,3254,2626,2464,2677,2570,2312,2277,2391,2923,3365,2836,3176,2424,1916,2089,2474,2510,2110,2081,1764,1559,2084,2246,2146,2518,2027,1639,1956,2073,2339,2843,2661,2297,1724,1535,1372,1271,1864,2281,3124,3100,3040,3045,2985,3448,3160,2270,2630,3190,2933,2962,2792,1961,1522,1699,2395,2430,2168,2371,2491,2256,2326,2410,2436,2512,2092,2214,2360,1973,2117,2279,2597,2587,2148,2365,2385,1981,2280,2445,2229,2801,3232,2963,2608,2645,2265,1998,1795,1793,1952,1764,2053,2724,2625,2877,3165,2515,1703,1539,1681,1708,1714,2246,2626,2209,1887,1807,1546,1576,1914,2286,2004,2194,1855,1812,1999,2008,1827,1708,2170,2390,2087,2065,2123,2208,2283,2806,2503,2756,2895,2451,2026,2057,1943,2111,1956,2005,2754,2842,2649,1959,1895,2269,2942,2831,2256,1810,1781,1871,2050,2157,1643,1896,2054,1992,2469,2128,1676,1234,1474,1626,1527,1732,2001,1611,1824,1548,1506,1516,1671,1543,1337,1228,1536,1570,1420,1354,1184,1202,1975,2735,3322,3654,3448,2890,3184,3266,2181,2071,2359,2418,2153,1979,1995,2006,1974,1991,2065,1916,1646,1910,1848,1560,1408,1457,1604,1842,2036,1737,1445,1268,1481,1848,2111,1727,1694,1512,1387,1647,1743,2027,2407,2702,2742,2061,2092,1801,1442,1401,1427,1554,1584,1820,2431,2587,2031,1604,1978,2255,1861,1860,1962,1633,1390,1419,1531,1660,1770,1590,1566,1665,1785,1664,1501,1404,1470,1528,1466,1372,1594,1773,1926,1853,1471,1409,1367,1393,1630,2197,2067,1683,1465,1516,1299,1262,1683,2021,1836,1838,2132,2442,2567,2980,2776,1868,1826,2621,2708,2215,1941,1722,1615,2029,2076,1720,1696,2148,1823,1720,1457,1428,1616,1938,2055,1783,1657,1448,1526,1646,1405,1305,1463,1591,1848,1824,1632,1772,1928,1917,2047,2824,2646,2112,1972,2307,2082,1947,2025,1787,1627,1898,2182,1983,2013,2008,2117,2314,2562,2294,2328,2276,2086,2008,1929,1914,1882,1928,1718,1622,1641,1695,1559,1715,1535,1560,1722,1626,1540,1507,1696,2446,2813,2266,1595,1239,1486,1901,2007,1993,1894,1896,1763,1454,1158,1196,1451,1420,1415,1427,1473,1668,1710,1960,1931,2366,1996,1576,1782,2329,2733,2729,2392,2454,2486,2656,2213,1740,1568,1683,1872,1615,1590,1901,2029,1986,2063,1703,1777,1910,2068,1933,2268,2097,1775,1814,1627,1815,2260,2186,1725,1604,1948,1820,1706,1609,1486,1594,2011,2087,1850,1871,2006,1967,1899,1829,2083,2154,2311,2292,2262,2296,2139,2282,2207,2047,1848,1772,2066,2011,1881,2258,2828,2840,2414,2222,2267,1960,1926,2109,2165,2064,2455,2997,3234,3002,3064,3131,2706,2846,3443,3304,2789,2642,2877,2890,2447,2425,2690,2677,2863,3060,3006,3084,3065,3196,3194,3054,2980,2728,2369,2213,2354,2192,2280,2252,2369,2399,2842,3211,3287,2851,2161,1796,1752,1669,1594,1765,1850,1890,1573,1705,1700,1782,1839,2020,2066,2092,2177,1859,1910,1930,1882,1717,1898,2195,2436,2115,2388,2942,2699,2373,2459,1996,1943,2129,2264,1895,1814,1782,1888,1912,1819,1768,1696,1598,1411,1492,1657,2248,2819,2631,2566,2066,2320,2969,3122,2877,2547,2358,2507,2907,3194,2828,2753,3429,4334,4721,4050,3602,3580,3521,3413,3452,3482,3293,2634,2554,2325,2297,2719,3154,3139,3349,3387,3343,3309,3213,3182,3078,3141,3044,2815,2488,3646,4447,3737,2840,3154,3552,3516,3917,4101,3641,2813,2272,2148,2012,1875,2272,3324,4232,4073,3620,3764,3831,3289,2911,3383,4640,4584,4212,4028,4168,4389,4484,4379,4420,4371,4256,4300,4212,4721,4640,4179,3839,2591,1521,2296,3642,4328,4684,4228,3575,4035,4320,4243,3905,3549,3645,3572,3960,4248,4187,4143,4100,3854,3523,3285,2942,2347,2087,2078,2074,1991,2212,2823,2980,2800,2216,2343,2337,1830,2011,1857,1692,1986,2071,1948,1674,1461,2005,2450,2029,1828,2011,2277,2258,1616,1057,1215,1293,1391,1578,1964,1929,2194,2437,2319,2167,2110,2122,2405,2125,1542,1527,1634,1670,1620,1432,1723,2157,1944,2562,2835,2121,1829,1826,1813,1857,2098,1773,1971,2502,3194,2743,2137,2132,1729,1917,2479,2426,2039,1937,2261,2491,2159,1931,1751,1884,1838,1808,2373,2956,2844,2578,2257,2469,2025,2560,2685,2110,2509,2656,2834,2931,2889,2596,2323,2031,1583,1434,1749,1776,1455,1973,1835,1504,1810,1729,1438,1348,1629,1853,2115,1678,1605,1579,1408,1566,1792,1754,1635,1411,1589,1851,1997,2332,2694,2741,2975,3074,2963,2925,3209,3267,3254,3056,2169,1475,1571,1831,2531,3259,3030,3057,3543,4132,3408,2197,2097,2345,2501,2435,2249,2708,2979,3533,3996,4089,4213,3967,3133,3088,3774,4091,4283,4484,4200,4078,4249,3961,3753,3761,3586,3620,3414,3017,2858,3030,2998,2367,2130,2570,2771,2536,2777,3801,4340,4058,3097,2751,2469,2899,2817,2409,2258,1885,2030,2407,2007,2043,2027,2164,1931,1677,1430,1503,2539,3137,3184,2801,2285,2796,3283,2768,2031,1847,1906,2584,3142,3259,2766,1920,1661,2027,2555,2590,2252,2354,2477,2572,2501,2750,2551,2122,1730,1626,1600,1396,1742,1936,2033,2203,2241,2452,2050,2158,1861,1855,1755,1782,2088,2229,2119,2077,2542,2752,2251,2569,2284,2442,2507,2380,2231,2322,2507,2875,2674,2046,2183,2953,3000,2973,2657,2830,2720,2648,2250,2035,2037,2222,2789,2700,1843,1867,1723,2048,2143,2288,2751,2285,1837,1792,2014,1920,1708,2001,2068,2054,2352,2293,2155,2265,1837,1516,1430,1360,1438,1582,1591,1651,1688,1620,1759,2627,2532,2348,2038,2046,2328,2333,2075,1992,2136,2566,2929,2542,1776,2289,2879,2399,1981,1928,2115,2786,3497,3116,2352,2108,2144,1982,1697,1571,1748,1685,1490,1421,1485,1367,1323,1470,1426,1428,1683,1678,1606,1704,1714,1577,2279,2899,2715,2237,1726,1647,1592,1771,1898,1412,1342,1439,1527,1390,1416,1355,1640,1653,1419,1291,1240,1334,1233,1039,1227,1514,1411,1794,1733,1599,1816,1844,1621,1552,1611,1654,1573,1376,1367,1537,1851,2004,2265,2555,2287,2248,2459,2491,2243,1837,1733,2196,2170,1944,2156,2664,2356,2160,2475,2420,1909,1478,1588,2083,2106,2396,2990,3366,3328,3907,3651,3038,2799,2347,1935,2013,2136,2316,2438,2984,2514,1957,1996,2812,2411,2275,2712,3242,3538,3367,3355,3408,3260,3164,3087,2363,2460,2705,3112,3089,3002,2987,3228,3619,3954,3933,3918,4003,2929,2185,3139,3510,2846,2051,2620,3913,3227,2114,2041,2489,2543,2508,2812,2732,2686,2040,2391,3069,3131,2689,2015,1915,2599,2793,2313,2519,2467,2829,3195,2492,2503,3459,2373,1809,1773,1609,2294,2881,2564,2464,2060,1856,2338,2479,1657,1442,1089,996,1691,2098,1572,1591,1744,1715,1812,1604,2172,2600,2272,2287,2113,1958,2092,2479,3001,2488,1912,2610,2842,2835,3062,3172,2721,3067,4241,4100,3194,3284,4184,3479,1710,1608,2040,2625,3159,3244,2420,2517,2718,2990,2853,2641,2917,3063,2951,2741,2596,2778,3011,2893,2746,3143,2946,3117,3132,2930,2607,2818,3204,3146,3181,3294,3420,3422,3398,3153,3342,3695,3339,2689,2359,2755,3090,3294,3330,3489,3572,3438,3288,3233,3381,3483,3674,3927,3933,3992,3963,4042,4096,3837,3563,3659,3688,3443,3635,4049,4352,4051,3679,3532,3538,3192,2561,2950,3189,3134,2841,2652,3024,3250,3111,2403,2100,2304,2277,2129,2065,2246,2685,2795,2809,3028,2544,2574,2845,2477,2311,2408,2774,3429,3122,2403,1919,1838,2040,2136,2071,1892,2235,2281,2033,2589,2721,2291,2362,2469,3017,3107,3608,3660,3264,2155,1677,1764,1630,1595,1740,1641,1718,1940,1829,2124,2036,1973,2547,3011,3382,3262,2444,2115,2178,2325,2841,3051,2427,2733,2985,2564,2420,2011,1622,1673,1865,1590,1531,1676,1913,2238,2219,2564,1792,1769,2314,2005,1996,2059,2038,2036,1881,1968,2016,1865,1847,2234,2899,2179,1909,2071,2076,2308,2977,3184,2857,3205,2909,2923,3486,3695,3516,3530,3470,3461,3692,3776,3851,3759,3262,2907,3188,3595,3228,3103,3555,3563,3015,2945,3421,3755,3803,3619,3124,2831,3106,3444,3217,2169,1670,2135,2306,2134,1702,1300,1664,2041,2274,2077,1996,2340,2139,2281,2457,2668,2813,2462,2430,2956,3098,2271,1444,1775,2598,3320,3359,2670,2836,3122,3254,3526,2939,2713,3068,2526,1860,2246,2408,2898,3054,2574,2286,2398,2540,2176,1814,1836,2076,2293,2293,2643,2800,2909,2878,2153,1930,2468,2447,2445,2723,2353,2086,2424,2637,2698,3076,3343,3711,3351,2611,2535,2040,1757,1653,1651,1794,1669,1533,1835,2707,3372,3129,2821,2861,2576,2655,2944,2511,2463,2647,2943,2748,2599,3063,3010,2959,2729,2370,2364,2359,2076,2541,2845,2680,2623,2642,2680,2732,2099,2056,2915,2950,3256,3904,3207,2573,2642,3198,3487,3334,2978,2528,2424,2216,2178,2266,2072,1982,2884,3891,3297,2686,2211,2320,2577,2643,2339,2015,1945,2042,2404,2787,2908,2239,2865,3097,3134,3486,3364,3247,3375,3274,2809,2790,3281,3220,3174,3382,3386],[2480,2463,2429,2734,3184,3038,2888,1918,1597,1611,2146,2798,3091,3427,3321,2918,3074,3230,3720,3742,3694,3898,3899,3812,3698,3541,3750,3682,3272,3060,3044,2825,2396,2423,2300,2273,2510,2670,2764,2684,2844,3199,3760,4168,3950,3840,4324,4613,4613,4459,4520,4455,4440,4416,4388,4287,3017,2123,2666,2817,3161,3270,3551,3341,3366,3400,3401,3359,3414,3582,3539,3341,3362,3243,2786,2731,3064,3230,2964,2699,2575,2318,2601,3005,2994,2976,2945,2939,3022,2956,2744,3237,2915,3340,3243,3504,3482,3541,3974,3835,3488,3452,3359,3969,3993,3835,4408,4408,4230,4124,3990,4000,3815,3803,3818,3728,3548,3482,3043,2687,2421,2270,2522,2888,3542,3793,3241,2332,1872,2234,2322,2414,2745,2938,3576,3792,3416,3157,2920,2422,1857,2766,3228,2512,2575,2279,1980,2128,2105,2029,2715,2078,1582,1614,1693,2132,2497,2394,1984,1865,1629,1520,1528,1866,2463,2873,2736,3094,3088,3164,3439,3227,2958,3167,3012,2291,2062,2416,1882,1637,1215,1992,2111,2131,2413,2430,2216,2311,2295,2395,2675,2454,2636,2922,2634,2650,2685,2951,3176,3182,2708,2014,2404,2598,2214,2050,2613,2853,2941,2532,2039,1895,1700,1689,1594,1734,1795,1719,2138,2390,2697,2939,2011,1427,1628,2208,2736,2740,2979,3219,2647,2173,2248,1904,2104,1571,2092,2713,2670,2420,2160,1792,1703,1582,1914,2555,2182,1909,2126,1991,2171,2177,2234,2359,2701,3109,2851,2448,2308,2257,2171,1798,2449,3167,3298,2798,2242,1975,1996,2407,2696,2313,1876,2019,2230,2425,2589,1817,2134,2046,1874,1851,1814,1632,1799,2132,2131,2010,1600,2025,2043,1713,1510,1520,1592,1664,1481,1329,1305,1511,1703,1649,1385,1283,1362,1821,2521,3039,3420,3861,2877,2303,2098,1858,2382,2620,2332,2306,2282,2136,1875,1903,1689,1895,1782,1766,1817,1996,2143,1941,1588,1564,1625,1683,1629,1456,1411,1685,1952,1919,1783,1588,1448,1518,1519,1993,2670,2639,2389,2264,2026,1994,1811,2113,2140,1450,1824,2265,1843,2253,2621,2007,1942,2160,2139,1823,1641,1572,1512,1388,1319,1342,1702,2017,1833,1947,1871,1637,1496,1612,1657,1878,2044,1651,1370,1646,1950,1859,1594,1309,1516,1622,1304,1343,1906,1973,1778,1751,1839,1706,1795,2017,2458,2645,2126,2561,3069,2911,2552,2330,1929,1848,1981,1670,1534,1583,1588,1734,1822,2194,2232,1990,2030,1749,1698,1815,1664,1588,1749,1627,1660,1650,1571,1612,1842,1708,1468,1532,1718,1986,1776,1323,1413,1919,1936,1604,2356,2298,1928,1828,2509,2467,2410,2320,1900,1932,2070,2249,2342,2373,2548,2209,1942,2178,1986,1984,1826,1864,1747,1790,2014,1814,1534,1293,1696,2135,2368,1975,1826,1621,2041,2228,2027,1879,1807,2090,2278,2468,2256,1865,1312,1794,1597,1639,1874,1977,1992,1825,1695,1587,1531,1449,1400,1543,1440,1382,1576,1815,1982,2053,2136,2019,1908,2289,2600,2658,3057,2382,2396,2774,2972,2578,2677,2279,2049,2202,2223,2300,2266,2212,2490,2183,1614,1741,2030,2271,2203,2531,2819,2091,1499,1515,1768,1962,1819,1685,1666,1898,1595,1584,1529,1709,2178,2210,1855,1643,1808,2182,1977,1629,1787,1771,2115,2340,2156,2210,2090,2098,2132,2062,2050,1882,1854,2398,2255,1888,2143,2491,2495,2627,2563,2197,2272,2278,2053,2084,1997,2171,2780,2954,3020,3008,3032,2846,2503,2778,3311,2919,2132,2474,2714,2302,2048,2564,2739,2665,2766,2773,2778,2874,3007,3150,3369,3244,2714,2375,2471,2275,2388,2363,2276,2389,2382,2507,2684,2734,2340,2078,1886,1967,1787,1641,1764,2009,1896,1590,1700,1649,1595,1801,1768,1727,2030,2122,2296,2556,2104,1768,1817,2347,3096,3081,2707,3182,3724,3230,2886,2677,1977,1826,1801,2222,2066,1910,1886,2280,2384,1688,1509,1472,1677,1646,1652,1895,2071,2106,2146,2459,2504,2719,3099,3072,2592,2433,2522,2388,2622,2733,2534,2872,3184,3957,4462,4324,4042,3540,3375,3394,3339,3286,3082,2449,2602,2421,2585,3011,3106,3260,3514,3313,2872,2621,3175,3190,2879,2337,2354,2599,2448,2950,3849,3936,3771,4184,4220,3964,4052,3926,3723,3082,2720,2343,2013,2203,3007,3792,4408,4840,4656,4261,3957,3719,3628,3735,4417,4187,4168,4240,4213,4140,4107,4311,4456,4256,4196,4515,4443,4595,4640,4288,2946,1516,2076,3719,4427,4600,4652,4239,4015,4180,4108,3890,3680,3552,3326,3369,3680,3936,3984,3972,3820,3509,3232,2734,2273,2077,2047,2040,2178,2456,2924,3619,3543,2865,2317,2695,2647,1952,1971,1691,1529,1593,1519,1885,1660,1433,1559,1587,1572,1562,1689,1921,1271,941,1069,1319,1549,1711,1745,1887,2127,2239,2192,2094,2170,2120,2320,2445,1565,1334,1476,1615,1705,1624,1807,2437,2506,1935,2066,2003,1802,1633,1672,1655,1867,1908,1676,1932,2087,2604,2861,2532,2204,1776,1692,1696,1729,2157,2045,2051,2082,1635,1584,1766,1941,1785,1658,1698,2089,2448,2352,2253,2281,2361,3089,2850,2358,2562,2556,2372,2801,3022,2230,1715,1733,1596,1627,1794,1936,1840,2072,1768,1650,1919,1660,1273,1328,1663,1882,1936,1765,1831,1658,1575,1814,1671,1750,1850,1322,1383,1717,2226,2385,2682,2662,2973,2990,2825,2698,2589,2153,2380,3309,2614,1560,1435,1391,1433,1747,2117,2712,2974,3330,3065,2480,2586,2541,2196,2137,1669,2226,2858,3415,3548,4196,4435,4198,3542,2822,3216,4024,4103,4317,4091,4057,4008,3859,3846,3808,3559,3488,3428,3011,2927,3254,2578,1842,2336,2603,2560,2790,3615,4284,4360,4000,3196,2767,2674,3074,2564,2010,2038,2473,2868,2632,2053,2318,2132,2224,1923,1608,1741,2210,2863,3189,3084,2669,1972,2216,2439,2321,2295,2122,2092,2424,2567,2846,2743,2250,2276,2132,2270,2746,2419,2442,2736,3082,3028,2653,2066,1789,1399,1406,1520,1295,1582,1718,1957,2232,1956,2313,2414,2239,2017,1832,1577,1649,1841,2179,2339,2105,2150,1959,2028,2546,2127,1947,1873,2159,2780,2863,2552,3342,2982,2949,2809,2779,2507,2613,2327,2213,2041,1814,1696,1827,2137,2496,3208,2742,1808,1750,2101,2818,2691,2233,1576,1268,1526,1802,2155,1820,1755,2142,2181,2265,2678,2641,2596,2923,2575,1839,1515,1386,1322,1376,1506,1637,1507,1562,1625,2218,2226,2079,1770,2039,2810,2987,2220,1733,1853,2106,2172,2054,1626,1809,2194,1869,1628,1543,1721,2702,3531,3130,2334,1717,1762,1944,1630,1656,1703,1864,1695,1425,1473,1368,1416,1617,1594,1560,1585,1588,1741,1995,2176,1996,2061,2288,2587,2380,1543,1440,1498,1783,1782,1523,1512,1642,1434,1418,1547,1447,1433,1397,1290,1251,1271,1342,1225,1238,1214,1261,1370,1638,1759,1745,1823,1898,1732,1587,1693,1502,1152,1367,1571,1389,1561,2078,2632,2829,3019,3340,3507,3352,2841,2555,2295,2410,2202,1917,1798,2123,2322,2292,2503,2488,1597,1346,1494,2030,2335,2679,3255,3486,3618,3666,3504,3164,2783,2375,2154,2100,2122,2164,2014,2410,2008,1768,2083,2469,2409,2494,2890,3020,3085,3205,3410,3294,3148,3295,3352,2635,2375,2354,2743,3253,3254,3165,3455,3653,3645,3620,3363,3207,2247,1909,2421,2806,2498,2221,3011,3665,3044,2167,2000,1814,1782,2330,3228,2915,2686,2665,2557,2608,2677,2338,1864,1885,2830,2828,2266,2476,2315,2630,2488,2330,2535,2653,2321,1678,1404,1560,2198,2831,2501,2599,2695,2334,2525,2219,1841,1618,1277,1356,1986,1897,1550,1751,1838,1816,1932,1796,2198,2828,2890,2725,2315,2150,2420,2808,3376,3155,2843,3321,3101,2937,3561,3526,2573,2855,3772,3571,3042,3006,3271,2858,1277,1619,1879,2263,2911,2937,2315,2596,3262,3533,3166,2780,2930,3100,3023,2845,2644,2711,2485,2416,2842,2987,2797,3046,3252,3130,2908,2723,2776,2768,2654,2640,3051,3250,2890,2878,3487,3798,3728,3310,2961,3139,3216,3195,3429,3814,4069,3487,3209,3300,3375,3128,3065,3399,3769,3896,3834,3941,3826,3825,3697,3650,3848,3958,3876,3749,3839,3893,3890,3816,3505,2942,2674,2858,2710,2656,2477,2447,2791,3167,3469,3320,2906,2705,2488,2038,1812,1888,2829,2785,2884,2731,2639,3341,3780,2964,2324,2055,1987,2589,2966,2328,2247,1857,1671,1776,2128,2340,2350,2336,2501,3157,2898,2513,2548,2388,3008,3078,3084,3087,2943,2322,1752,1571,1619,1629,2012,1988,1982,2791,2637,2467,2098,1983,1876,2028,2631,2646,2252,2134,1927,2032,2492,2038,1964,2235,2564,2554,2215,1843,1745,1700,1826,1390,1565,1701,1764,1808,2053,2367,2067,2409,2316,1996,1967,2018,2601,2429,1923,1759,1736,1874,1995,2758,2574,1784,1882,1925,2075,2442,2907,2841,2283,2160,3123,3772,3695,3663,3366,3350,3414,3310,3549,3672,3805,3848,3395,3108,3459,3241,2666,2535,2945,3196,2809,2644,2937,3375,3853,3572,2756,2940,3476,3432,3334,2966,2548,2536,2459,2063,1446,1392,1695,2008,2461,2091,1978,2153,2341,2446,2683,3160,3092,2598,2730,3219,3206,2644,1729,1836,2861,3573,3636,3311,3405,3233,2998,3040,2709,2524,2918,2742,2566,2785,2232,2163,2339,2192,2175,2324,2607,2129,1883,2020,1875,1962,2165,2946,3133,2840,2313,2212,2261,2602,2536,2546,2962,3098,2501,1778,1593,2104,2622,3517,4236,3738,3201,3104,2314,1869,1797,1768,1676,1579,1702,2201,3195,3652,3238,2988,2980,2368,2540,2906,2778,2856,2809,2535,2450,2503,3077,3463,3453,3379,2626,2362,2668,2489,2496,2519,2218,2247,2598,2974,2330,1819,2148,2620,2246,2799,3263,2845,2769,2565,3027,3405,3206,2787,2469,2530,2523,2695,2697,2621,2226,2778,3414,3438,3204,2432,2257,2384,2162,2056,2124,1762,1699,2452,2963,2728,1732,2396,3096,3157,3198,3022,2976,2889,2837,2965,2923,3043,2856,2899,3548,4060],[1861,1654,1726,2353,2717,2785,2714,1957,1713,1802,2463,2946,2937,3457,3529,2744,3272,3420,3319,3646,3576,3855,3571,3131,3300,3553,3602,3066,2432,2193,2106,1959,1972,2334,2568,2632,2693,2725,2779,2747,2645,3095,3724,4199,4340,4328,4405,4428,4460,4632,4729,4559,4416,4338,4287,4172,3540,3097,2709,2602,2506,2545,2944,2712,2889,3526,3687,3541,3581,3716,3553,3305,3497,3585,3120,2363,2514,3178,3045,2763,2812,2482,2476,2938,3167,3061,2949,2865,3028,2997,2629,3127,3226,3410,3330,3072,3276,3770,3917,3844,3581,3392,3508,3807,3895,4045,4136,3897,3920,4093,4148,4124,4125,4080,3983,3853,3651,3277,2910,2562,2377,2345,2629,3140,3842,3894,3357,2224,1985,2491,2663,2495,2525,3044,2792,2915,2873,2258,2162,1915,1687,2203,2854,2725,2646,2197,2377,2030,1742,1979,2089,1579,1491,1732,1767,1590,1649,1670,1594,1594,1597,1715,1870,2026,2298,2711,2642,2873,3150,3142,3226,3256,3248,3296,2930,2573,2345,2209,1767,1792,1529,2372,2696,2309,2492,2358,2007,2577,2492,2392,2420,2311,2116,2655,2865,2790,2683,2475,2590,2865,2123,1996,2844,2378,1588,2105,2717,2984,2910,2415,2198,1950,1650,1549,1575,2068,2386,1960,1772,1993,2280,2392,1761,1487,1700,2154,2501,2387,2384,2397,2120,2004,2202,2344,2403,1533,2024,2724,2801,2761,2445,2240,2036,1602,1551,1692,1407,1449,1645,1540,1780,1855,2491,2888,2757,3190,3436,2966,2586,2469,1819,1826,2324,2675,3327,3442,2612,1990,2076,2187,2182,2083,1901,2408,2685,2386,2081,2513,2522,2139,2088,1819,1932,2120,2273,2857,2799,2445,1784,2282,2869,2171,1738,1486,1397,1480,1614,1414,1223,1368,1591,1594,1385,1342,1453,1590,2264,3020,3277,3062,2085,1763,1616,1566,2000,2265,1917,1975,2039,2042,2003,1778,1637,1622,2041,2522,2197,2204,2422,2588,2046,1909,1661,1522,1827,2036,1782,1982,1963,1766,1913,1867,1902,1864,1630,1857,2568,2170,1936,2440,2295,1747,1556,2011,2036,1639,2387,2126,1759,2109,2625,2185,2269,2324,2049,2082,1891,1704,1743,1764,1694,1648,1801,1914,1995,2275,1817,1423,1212,1331,1700,2180,2414,2219,2059,2040,1913,2000,1816,1493,1655,1729,1516,1739,2107,2187,2049,2155,2308,2037,1859,1974,2056,3117,2663,2417,3045,3114,2221,1779,1763,1832,1845,1504,1598,1770,1780,1816,1926,2073,2064,1758,1625,1764,1670,1729,1536,1410,1486,1603,1931,1721,1788,1813,1837,1844,1788,1691,1863,2073,1748,1151,1162,1898,1903,1572,1938,1963,1831,1718,2025,2357,2409,1967,1787,1847,1763,1990,2142,2232,2732,2257,2055,2087,1980,1897,1677,1743,1881,2252,2254,1920,1349,1534,1842,2075,2788,2929,2450,2254,2855,3108,2889,2861,2787,2236,2030,2147,2353,1926,1528,1573,1224,1192,1637,2015,2034,1969,1885,1865,1648,1534,2035,1906,1636,1515,1755,1883,1793,1829,1963,2358,2388,2383,2456,2192,3017,2412,2423,2741,3207,3531,3552,2798,2173,2008,2374,2416,2578,2752,2839,2056,1766,1903,2011,2356,1978,1990,2317,1818,1598,1767,1753,1534,1605,1711,1655,1733,1500,1449,1559,1877,2111,2047,1956,2003,1811,1958,1661,1670,1725,1713,2177,2215,2028,2079,2062,2150,2131,2046,1729,1800,2064,2464,2216,1694,1960,2453,2557,2513,2453,2500,2596,2499,2559,2195,2409,2076,2725,2698,2474,2586,2719,2392,1889,2218,2660,2978,2396,1880,1920,1859,2370,2784,2975,2908,2778,2922,3031,2786,2845,3277,3418,3282,3008,2513,2468,2143,2391,2346,2293,2557,2680,2499,2401,2513,2469,2697,2411,1981,1675,1718,1656,1780,1922,1996,1871,1565,1446,1611,1568,1501,1765,2112,2431,2398,1969,1713,2083,2840,3337,3536,3683,3764,3629,2908,2770,2657,2070,1779,1640,2130,2247,2137,2094,2096,2187,1524,1521,1497,1674,1606,1561,1743,1874,1882,1904,2068,2229,2334,2689,2806,2631,2573,2456,2387,2463,2676,2646,2484,2316,2842,3649,3908,3919,3327,3009,2756,2728,2820,2811,2761,2722,2402,2755,3151,3226,3439,3515,3308,2998,3033,3429,3356,3097,2407,2565,2836,2576,2551,2943,3391,3603,3839,3901,3812,3641,3882,3836,3563,3120,2494,2370,2985,3630,3596,4004,4580,5129,4836,4039,3971,4417,4364,4395,4507,4428,4309,4454,4072,3873,4284,4596,4732,4537,4695,4760,4652,4452,3038,1512,1851,3589,4621,4673,4584,4579,4399,4227,3823,3867,4057,3979,3484,3187,3481,3793,4099,3970,3731,3491,3240,2611,2180,1996,2031,2139,2407,2803,3138,3624,3971,3298,2214,2127,2851,2841,2389,1750,1507,1555,1543,1516,1697,1636,1488,1487,1452,1389,1417,1661,1869,1420,1330,1363,1396,1418,1484,1676,1720,1524,1749,2332,1908,1986,1945,1996,1830,1343,1538,1913,1843,1594,1611,1763,1842,2243,2062,2171,2511,2158,1967,1677,1360,1651,1802,1653,1700,1707,2162,2911,2448,2226,2440,1809,1542,1576,2191,2016,1837,1744,1906,2568,2985,2710,1925,1550,1416,1642,1850,2057,2312,1959,1779,2519,2663,2388,2720,2497,1962,2467,3417,2509,1604,1418,1361,1335,1633,1832,1899,2026,1850,1778,1995,1613,1294,1473,1655,2037,1770,1789,2048,2302,2448,2264,1800,1670,1655,1453,1332,1675,2474,2676,2973,2916,2986,2890,2799,2899,2628,1923,1898,2690,2085,1581,1458,1525,1562,1326,1481,2156,2876,3589,3128,2504,2540,2400,1923,1720,1656,2400,3028,3363,3561,4035,4104,3886,3637,2946,2577,3578,3760,3874,3861,3849,3884,3802,4071,4204,3917,3516,3363,3220,2974,2778,2362,2460,2709,2492,2809,3274,3824,4168,4224,3496,3000,2643,2250,2287,2265,2121,2194,2523,2685,3167,2688,2117,2043,2238,1959,1723,1841,2404,3094,3096,2412,1669,1787,2074,2121,2226,2237,2207,2182,2075,2108,2408,2543,2122,1998,1776,1896,2478,2456,2520,2810,3066,3440,2864,1705,1457,1505,1703,1995,2115,2224,1808,1489,1638,1813,2249,2353,2315,2453,2207,1949,1926,1875,2070,2431,2251,1963,1704,2024,2542,2481,2459,2443,2456,3248,3323,2441,3088,2911,3034,2614,2375,1962,1840,1671,1593,1711,1565,1638,1932,2104,2222,2367,1720,1559,1820,2527,2591,2539,2243,1538,1437,1734,2014,2194,2159,2269,2580,2354,2429,2928,3098,3032,3285,2920,2054,1681,1531,1451,1413,1412,1344,1381,1511,1676,1809,1816,1661,1698,2200,2777,2498,2100,2057,1924,1689,1532,1438,1394,1414,1404,1445,1531,1394,1561,2269,3270,3334,2148,1599,1886,1954,1893,1865,1560,1633,1833,1548,1513,1555,1601,1508,1629,1676,1487,1617,1886,1941,1792,1614,1644,1710,2037,1992,1477,1372,1426,1676,1651,1524,1610,1543,1410,1548,1710,1516,1452,1500,1370,1347,1403,1247,1280,1253,1175,1381,1694,1787,1865,2090,2126,2046,1788,1534,1547,1610,1757,1931,1669,1430,1678,2408,3124,3352,3808,3917,3864,3758,3397,3201,2992,2521,2079,1972,1903,1988,2018,1997,2405,2226,1727,1612,1572,1766,1980,2588,3118,3428,3645,3645,3651,3420,2829,2468,2432,2162,2222,2304,2402,2172,1944,2124,1849,1906,2484,2810,2947,2335,2931,3249,3430,3051,3264,3584,3422,3166,3044,2789,2512,2331,2210,2449,2415,2497,2539,2903,2374,2369,1967,1796,1819,2069,2403,2243,2508,3096,2754,2405,2496,2092,2174,2304,2921,2572,2316,2908,2544,1832,2056,2189,1790,2102,2518,2787,2579,2462,2732,2915,2616,2634,2466,2722,2786,1967,1527,1426,1815,2769,2143,2281,2938,2844,2500,2327,2127,1958,1748,1737,2113,1694,1891,2005,1851,2036,2346,2247,1966,2444,2585,2480,2275,1894,2338,3376,3767,3725,3432,3156,3176,3043,3798,3399,2429,2431,2663,2576,2459,2591,2865,3332,2721,2562,2466,2642,3097,2819,2203,2668,3232,3083,3008,3166,3150,3199,2890,2867,2840,2840,2603,2825,3243,3096,2729,2776,3131,3348,3331,2931,2769,2799,2562,2657,3017,3194,2945,2940,3493,3924,3826,3628,3396,3329,3261,2915,3575,3842,3784,3406,3233,3253,3150,2898,2931,3045,3226,3351,3510,3708,3695,3344,2952,3413,3789,4083,4197,3889,3352,3395,3806,3959,3297,3284,2764,2111,2232,2268,2179,2467,2916,3514,3896,3871,3839,2939,2507,2212,2169,2447,2966,2873,2367,2247,2526,2954,3273,3041,2415,2032,1969,2310,2346,2227,2408,2222,1825,2065,3103,2924,2276,2674,2669,3062,2630,2360,2313,2381,2439,2430,2152,2092,2499,2596,1808,1684,1715,1891,2169,2048,1931,2532,2900,2872,2630,2354,1720,1738,2235,2495,2556,2166,1901,1958,2258,1819,1540,1797,2071,2104,1653,1161,1472,1789,1526,1519,2235,2375,2183,1752,1678,1732,1638,1862,2238,2127,1835,2047,2512,2016,1638,1651,1738,2060,2413,2852,2467,1830,1737,1650,2015,1886,2341,1989,1794,2120,2802,3299,3272,3178,2915,2983,2853,2798,3007,3717,4051,4044,3623,3183,2717,2730,2731,2224,2426,2762,2622,2620,2340,2929,3827,3761,3373,3342,3579,3483,3054,2535,2268,2247,2372,2227,1982,1942,1932,1902,2082,2260,2654,2625,2243,2044,2419,2909,2777,2601,3042,3073,3239,3120,2561,2618,3220,3486,3876,3829,3547,3252,3064,3195,3210,2822,2754,2614,2721,2260,2081,2221,2351,2085,1858,2121,2649,2498,1931,1857,1824,2187,1963,2721,2956,2634,2731,2998,2685,2530,2367,2426,2954,3270,2955,1820,1551,2437,2544,2807,3461,3495,3372,2817,2281,2288,2309,2124,2264,2291,2342,2623,3046,3115,2887,3037,2980,2483,2432,2746,2835,3011,2972,2656,2545,2315,2608,3328,3639,2699,1524,1832,2242,2797,3057,2391,2114,2378,2596,2750,2193,1954,1901,2222,2697,2668,2707,3527,3205,2727,3096,3359,2900,2296,1980,2600,2954,3556,3680,3629,3129,2800,2984,3451,3466,2334,2235,2855,2033,1454,1587,1715,1644,2196,2832,2667,2131,2247,2461,2673,3094,2849,2528,2504,2935,3160,3007,2632,2738,3061,3133,3680],[1968,1750,1686,2544,3196,3433,3244,2506,2427,3066,3620,3431,3270,3158,3276,2855,3278,3064,3132,3465,3491,3432,2894,2574,2862,2966,3005,2523,2280,2154,2002,2583,3131,2963,3060,2828,2543,2640,2699,3073,3208,3362,3839,4133,4219,4259,4284,4373,4356,4620,4696,4500,4349,4359,4268,4072,3431,3597,2774,2731,2687,2741,3124,2731,2701,3460,3719,3579,3550,3523,3444,3424,3783,3864,3121,2319,2523,3098,2984,2924,3130,2790,2321,2381,2873,3078,3145,3228,3383,2982,2998,3210,3218,3424,3250,2801,2684,2832,3457,3858,3531,2902,2749,3156,3353,3786,3628,3222,3266,3528,3435,3417,3815,4006,3741,3165,3425,3294,3210,2931,2577,2498,2851,3812,4212,3895,3182,2350,2558,2695,3161,3011,3054,3517,3101,3040,2924,2214,1833,2353,2316,2235,2834,2273,2092,1956,2131,1863,1808,1916,1936,1742,1726,2066,2056,1476,1670,1776,1621,1525,1754,1726,1633,1655,2104,2677,2832,2938,2806,2546,2956,3416,3221,3033,2761,2787,2214,1947,1776,2015,2282,2428,2740,2679,2444,2348,2570,2900,2611,2185,2768,2570,2114,2586,2951,3008,2705,2095,1941,2366,1805,1843,2179,2029,1741,2713,3480,3583,3374,2917,2569,2171,1781,1666,1820,2556,2983,2218,1768,1830,2118,1965,1825,1826,1595,1660,1726,2180,2240,2085,1860,2192,2392,2288,2186,1923,2226,2486,2622,2591,2093,2123,2149,1785,1440,1453,1382,1581,1715,1561,1600,1680,2450,3028,2482,2576,3115,2896,2614,2658,2600,1861,1859,2583,3153,3006,2482,2028,1866,1679,1762,1865,1855,2226,2120,2149,1867,1957,1817,1885,2178,1942,1953,2217,2585,2840,2995,2538,2136,2442,2864,2814,1825,997,1227,1520,1613,1394,1388,1520,1387,1425,1539,1362,1348,1445,1976,2552,2773,2715,1993,2089,2033,1985,1930,2343,2442,2064,2002,2010,1862,1720,1633,1957,3106,3519,3178,2679,2812,2749,1993,2471,3300,2645,2082,1992,1674,1909,1861,1794,1724,1526,1740,2158,1984,1698,1812,1743,2171,2534,2034,1614,1535,1563,1500,1510,2164,1637,1540,1748,2470,2540,2608,2091,1604,2027,2217,2323,2084,1966,1918,1750,1598,1724,1888,1843,1589,1555,1574,1393,1298,1730,1986,2101,1958,1873,1611,1656,1648,1682,1699,1534,1438,1705,2004,2161,1898,1932,2306,2190,2036,1785,1836,2232,1883,1806,2855,3144,2610,2377,2077,1796,1655,1743,1866,1777,1635,1575,1720,1774,1782,1790,1744,1941,1666,1886,1745,1826,2230,2271,2135,1737,1795,1687,1606,2097,2088,1847,1824,1691,1657,1374,1410,1770,1710,1619,1968,1936,1656,1537,1432,1711,1785,1713,1954,1666,1549,1782,2120,2491,2501,1949,1799,1520,1626,2238,2412,2376,2556,2749,2352,1804,1656,1924,2036,2351,2899,2844,2654,2662,3106,2987,2644,3086,3106,2543,2254,2337,2202,1835,1754,1321,1062,1340,1390,1560,2038,1797,1746,1832,1816,1670,2314,2138,1638,1522,1701,1697,1870,2254,2602,2724,2470,1689,1672,1725,1848,2156,2484,2296,2397,3304,3161,2727,2873,2125,1989,1907,2061,2823,3274,2523,2135,1795,1572,1952,1932,1866,1929,1885,1616,1932,2136,1712,1650,1718,1744,1713,1510,1490,1532,1750,1948,2014,1902,2088,1916,2098,1982,1990,1876,1652,1910,2149,1876,1877,1952,2060,1925,1833,1741,1912,2204,2505,2392,1868,1782,2300,2505,2303,2654,3020,2404,2389,2249,2729,3438,2658,2404,2282,1946,2325,2574,2110,2190,2886,2665,2090,2116,2006,1698,1947,2425,2704,3168,3086,2953,3097,3334,2994,3061,3510,3352,3365,3400,3073,2585,2387,2524,2420,2143,2298,2812,2733,2432,2524,2895,3227,2530,1836,1902,2128,1780,1786,2062,2177,1753,1490,1525,1492,1637,1726,2093,2644,2398,2074,2114,2354,2906,2941,3049,3128,3266,2817,2842,2323,2020,2003,1686,1690,1893,2298,2344,2077,2100,2232,2433,1677,1703,1576,1675,1704,1760,1570,1636,2018,2004,1685,1876,1718,2573,3426,3089,3109,3310,2930,2529,2740,2639,2384,2020,2049,2564,3304,3671,2740,2720,2937,2990,3145,3442,3605,3341,3261,3392,3072,2930,3351,3303,3225,2806,2955,3230,3108,2862,2607,2709,2918,2784,2741,2787,3343,3436,3684,3820,3592,3596,3916,3764,3482,3008,2625,2884,3017,2998,3492,3805,3773,4831,4828,4113,4291,4852,4789,4508,4604,4548,4276,4397,4232,4049,4352,4688,4660,4407,4684,4744,4401,3226,1709,1928,3376,4240,4672,4380,4220,4520,4460,4024,3648,3699,3884,3936,3527,3391,3710,3649,3885,3971,3602,3182,2495,2134,2020,2046,2172,2505,2797,2868,3167,3924,3790,2632,1943,1816,2532,2841,2730,2086,1711,1713,1699,1660,1634,1504,1453,1539,1389,1278,1363,1636,1959,1732,1534,1404,1337,1469,1553,1883,2172,1744,1767,2332,1929,2015,2713,2548,1679,1542,2332,2568,2205,1944,1592,1457,1383,1566,1547,2003,2333,2135,2062,1552,967,1333,1886,1733,1470,1289,1447,1625,2142,2039,2503,2231,1526,1619,2010,1860,1809,2076,2711,3329,3340,2977,2299,1665,1466,1434,1575,1738,1870,1910,2174,2722,2868,2527,2347,2469,2130,2382,3297,2632,1715,1384,1284,1217,1377,1568,1772,1636,1534,1560,1800,1610,1508,1733,1974,2125,1857,1510,1722,2254,2388,2264,1942,1620,1376,1754,1687,2086,2285,2387,2682,2752,2867,3043,2941,3105,2502,1571,1484,2819,2770,1996,2443,2841,2242,1539,1460,1618,2396,3132,3177,2129,2306,2357,2045,1824,1917,2564,3123,3364,3602,3736,3532,3168,3451,3396,2757,2776,3782,4096,3796,3610,3912,4078,4284,4384,4108,3596,3348,3233,3112,2803,2482,2715,2523,2471,2955,3442,3789,3642,2643,2275,2757,2239,1677,1598,1830,2128,2522,2521,2586,2965,2905,2428,1933,1674,1764,1692,1759,2188,2696,2535,1846,1590,1837,1731,2249,2526,2209,1927,1973,2288,2941,3584,3182,1959,1569,1534,1685,2315,2681,2577,2547,3329,3780,3042,1944,1753,1982,2143,2025,2043,2242,2130,1768,1700,2072,2216,2216,2498,2458,2258,2266,2100,1773,1714,2187,2452,2246,2110,2746,3254,2963,2880,2852,2685,2734,2728,2497,2691,2680,2540,2036,1793,1639,1649,1667,1434,1427,1510,1597,1686,1983,1990,1564,1502,1556,1654,1900,2192,2463,2437,1829,1819,2026,2136,2208,2482,2151,2418,2359,2379,3051,2966,2476,2420,2210,2029,1870,1549,1437,1398,1538,1457,1391,1442,1507,1527,1491,1571,1927,2206,2062,1405,1618,1952,1694,1470,1394,1356,1376,1444,1421,1450,1478,1418,1515,1957,2930,3244,2423,1964,2125,1937,1701,1745,1525,1366,1519,1495,1595,1588,1605,1497,1521,1579,1417,1510,1714,1584,1443,1521,1652,1554,1877,1870,1578,1694,1648,1548,1555,1668,1650,1431,1388,1542,1639,1486,1536,1486,1364,1409,1391,1356,1339,1303,1413,1612,1705,1750,2103,2427,2323,1992,1855,1667,1353,1284,1437,1519,1589,1599,1686,2514,3526,3750,3951,3879,3790,3458,3249,3278,2919,2372,2095,2026,1991,2068,1606,1644,2382,2211,2499,2236,2176,1754,2045,2934,3083,3355,3486,3417,3632,3683,3167,2987,2720,2354,2309,2422,2512,2382,2431,2196,1514,1960,2562,2515,2647,2880,3262,3299,3448,2787,3059,3548,3189,2766,2784,3024,2556,2758,2778,2542,2076,2884,2835,2287,2166,2264,1731,1618,1817,2042,2374,2095,1899,2380,2584,2507,2536,2449,2477,2254,2521,2299,2164,2772,2533,1814,1764,2042,1902,2184,2365,2564,2643,2699,2938,2821,2573,2504,2577,2543,2430,2159,2103,1866,2519,2908,1995,1970,2820,2546,2228,2687,2425,2240,2250,2054,2066,1760,1965,2008,1801,2231,2718,2688,2802,2896,2365,2286,2073,2018,2481,3553,3872,4046,3694,2852,2789,3532,3876,2968,2728,2554,2322,2482,2085,2121,2729,2522,2508,2569,2668,3255,3116,2176,1806,2435,2745,2770,2929,3238,3197,3338,3206,3016,2857,2645,2664,3095,3340,3298,3065,3195,3500,3132,2923,3018,3353,3193,2944,2663,2619,2830,2912,3051,3486,3796,3786,3529,3242,3256,3194,2839,3272,3234,3094,3242,3121,3298,3542,3082,3008,2964,2872,2757,2668,3172,3511,2934,3146,4058,4295,4219,4164,4041,3487,2901,3300,3276,2955,3723,3134,2245,1964,1910,2129,2460,2994,3508,3498,3536,3628,2630,1926,1810,1698,2238,2946,3011,3000,2890,2568,2040,2141,2509,2662,2789,2918,3022,2530,2200,2185,2436,2432,2548,3034,3002,2768,2607,2513,2432,1948,2398,2789,2513,2457,2602,2465,2299,2311,2480,1798,1661,1776,2051,2031,1717,2060,2372,2508,3065,3371,3190,2204,1938,2670,2910,2308,1810,1905,2281,2580,2350,2071,1996,1634,1716,1448,1036,1039,1622,1576,2190,3316,3132,2256,1789,1754,1726,1439,1573,1887,1794,1678,1751,2532,2189,1847,2044,1837,2110,2421,2042,1633,1691,1724,1334,1595,1560,1945,1968,1850,1996,2360,2796,3130,2766,2601,2652,2411,2680,2778,3316,3956,4101,3472,3361,3085,3044,3022,2526,3009,2988,2619,2706,2808,3104,3226,3400,3333,3068,3322,3266,2580,2059,2182,2314,2399,2354,2314,2170,2014,1987,2062,2113,2790,2880,2125,1949,2141,2132,2079,2622,3272,3278,3190,3186,3021,3140,3329,3428,3716,3776,3628,3371,3333,3162,2709,2632,2364,2188,2071,1947,1759,1823,1749,1569,1533,1506,2019,2362,1871,1648,2072,2036,1991,2280,2363,2436,3010,3327,3216,2917,2731,2798,2424,2580,2837,2214,2357,2732,2552,2160,2308,2941,2872,2574,2996,3138,3082,2480,2193,2081,2247,2771,2738,2924,3485,3520,3073,2603,2250,2348,2834,3466,3692,3240,2302,2036,2793,3233,2713,1701,1783,1727,1458,2390,2814,2335,2457,3030,2890,2586,2612,2178,2188,2496,2709,2376,2633,3592,3808,3526,3382,3132,2683,2522,2627,3306,3604,4002,3934,3487,3310,3366,3393,3212,3085,2473,2448,2620,2226,1951,2049,2110,2026,2219,2603,2666,2456,2265,2297,2494,3041,2994,2733,3034,3508,3623,3157,2395,2468,2302,2059,2940],[2124,2035,2298,3083,3328,3441,3443,3017,3042,3385,3695,3516,3254,3310,3299,2996,3285,3340,3064,2994,3373,3451,2758,2385,2641,2690,2873,2687,2510,2446,2543,3122,3871,3531,3106,2938,2445,3086,3195,3460,3466,3514,3927,4076,4128,4196,4289,4284,4395,4631,4592,4399,4328,4400,4232,3918,3659,3388,2775,2518,2480,2728,3144,3251,3304,3667,3596,3441,3432,3322,3247,3398,3863,3982,3232,2486,2666,3128,2625,2700,3154,3031,2698,2233,2355,2779,3108,3297,3325,3224,3495,3614,3030,2529,2711,2508,2807,2842,3551,3640,3150,2849,3105,3217,3329,3123,2766,3034,2856,2950,3308,3408,3341,3319,3352,3312,3257,3577,3762,2931,2255,2710,3244,3404,3517,3440,2776,2339,3122,3768,4070,3803,3640,3435,2731,2593,2553,2129,1589,1864,2160,2335,2633,1919,1686,1856,2011,1815,1709,2137,2244,2361,2066,2236,2057,2072,2512,2079,1753,1830,2185,2117,1777,1994,2378,2799,3023,2553,2405,2665,2908,3088,3138,2753,2545,2317,1973,1930,1706,1786,1804,2403,3108,3119,2981,2796,2581,3011,2357,2135,2798,2766,2745,2667,3248,3334,2907,2715,2401,2303,1863,1567,2025,2057,1960,3037,3637,3417,2985,2698,2764,2303,1766,1700,1621,2290,2474,1757,1716,2094,2063,1945,2354,2230,1880,1911,1848,2751,2928,2935,2493,2394,2430,2119,1937,1880,1771,2017,2475,2167,1792,2204,2392,2234,1929,1775,1830,2258,2223,1792,1976,2064,2047,2143,1688,2068,2254,2481,3096,3139,2768,2174,2069,2844,2780,2254,2523,2731,1764,1517,1805,1901,2182,2235,2043,2588,2710,2285,2215,2062,2287,2174,2541,2757,3008,2927,3069,2969,2710,2460,2217,1975,1477,1261,1201,1394,1409,1475,1520,1615,1495,1605,1660,1492,1567,1498,1383,1930,2866,3167,1973,1851,2183,2083,2502,3133,2758,2360,2286,2207,2230,1946,1833,2956,3582,3559,3442,3271,3087,2674,2169,3030,3830,2618,1946,2149,1962,1650,1833,1904,1633,1493,1589,1611,1655,1597,1555,1630,1751,1700,1536,1786,1707,1694,1460,1420,1542,1430,1528,2054,2294,2094,2296,1878,1603,1934,2326,2511,2087,1952,2120,1745,1468,1722,1907,1974,1743,1927,2626,1887,1193,1527,1860,1499,1286,1539,1609,1614,1722,1848,1754,1624,1663,1669,2035,1931,1581,1571,1997,2047,1959,1660,1433,1366,1380,1648,3019,3772,3764,3191,2464,1918,1813,1937,1949,1808,1787,1796,1617,1599,1554,1478,1476,1664,1647,1639,1910,2207,2348,1889,1451,1586,1643,1340,1442,1967,1798,1676,1616,1597,1770,1619,1505,1558,1612,1781,2388,2445,1887,1784,1464,1675,1698,1557,1812,1727,1601,1720,2091,2570,2434,1974,2010,1857,1738,2243,2990,3371,3077,2544,1905,1741,1834,2110,2028,1987,2180,2089,2622,2868,2631,2205,1782,2222,2215,2248,2511,2536,1889,1720,1989,1493,1327,1598,1477,1508,1818,1752,1781,1794,1871,1828,1969,1936,1673,1480,1697,1981,1890,2230,2688,2732,2154,1227,1657,2154,2125,2618,2753,2201,1972,2909,3282,2950,2785,1737,1892,2216,1829,2271,2706,2476,2064,1697,1451,1471,1635,1591,1832,1831,1598,2046,2424,2133,1767,1720,1776,1861,1698,1455,1571,1507,1392,1719,2166,1901,1620,1606,1811,2028,1895,1766,1783,2009,1821,1835,2031,1997,1831,1862,2026,2046,1757,1913,2132,1749,1764,2031,2143,2225,2209,2341,2137,2191,1810,2160,2875,2522,2078,2318,2342,2309,2396,1841,2245,3121,3204,2394,1891,1890,1887,2166,2523,2899,3105,2864,2778,3110,3220,3134,3437,3404,3328,3415,3471,3314,2864,2573,2685,2747,2441,2639,2944,2820,2758,2832,2769,2449,2060,1735,2131,2436,2030,2518,2153,1750,1504,1460,1535,1393,1728,1843,1874,2039,2007,2115,2247,2836,3702,3009,2626,2370,2577,2800,2460,1967,1694,1523,1560,1641,1961,2469,2313,1748,1713,1768,1682,1779,1784,1705,1724,1692,1596,1415,1600,2161,2118,1884,1892,1992,2782,3176,3082,3082,3304,2561,1815,2336,2562,2677,2624,2026,2085,2742,2961,2532,2845,3241,3234,3427,3701,3517,3523,3526,3448,3300,2907,3110,3264,3495,2753,2567,2796,2748,2939,2850,2746,2917,3287,3544,3476,3564,3626,3787,3695,3146,3295,3375,3153,3575,3359,3285,3718,4161,3895,3892,4122,3563,4444,5208,4984,4844,4876,4355,4159,4414,4828,4732,4530,4233,4008,4078,3786,3073,3109,3554,3321,2422,1441,1792,3417,3703,4264,4672,4068,3907,4319,4404,4127,3763,3460,3430,3681,3625,3538,3818,3881,3813,3499,2855,2334,2083,2014,2032,2187,2355,2418,2380,2491,2866,3454,3457,2736,2284,1750,2010,2703,2865,2278,1918,1991,1702,1729,1822,1637,1681,1541,1356,1501,1430,1739,2068,1812,1619,1506,1440,1460,1300,1888,2452,2239,2008,1963,1726,1983,2799,2647,1797,1946,2688,2545,1929,1712,1371,1313,1357,1529,1614,1765,1923,1808,1529,1380,1176,1351,1858,1812,1292,1046,1317,1849,2230,2035,2332,2215,1630,1646,1777,1460,1708,2383,2922,2686,2841,2578,2172,1667,1405,1466,1405,1389,1416,1468,1923,2625,2540,2144,2122,2482,2320,2448,2370,1881,1493,1299,1289,1426,1522,1780,1851,1628,1253,1232,1435,1374,1498,1688,1844,1988,1679,1229,1157,1475,1956,2431,2277,1575,1473,1690,1725,1809,1834,2063,2386,2490,2473,3022,2861,2546,2454,1505,1210,2612,2885,2618,3258,3412,3011,2411,1815,1748,2415,2957,3393,2411,2476,2525,2228,2160,2087,2278,2762,3179,3436,3492,3629,3558,3585,3460,3351,2645,3130,3731,3679,3670,4033,4228,4243,4253,4288,4048,3772,3182,3120,2662,2475,2643,2509,2576,2742,2943,3429,3233,2396,2524,2798,2381,2044,2078,1990,2177,2687,2633,2425,2342,2590,2950,2495,2392,2522,2235,1976,2245,2321,2454,2028,1461,1226,1829,2519,2341,2008,1952,2703,3357,3343,3540,3248,1998,1741,2026,2565,3022,3125,2775,2395,3309,3646,3275,2996,2442,1982,1688,1711,1869,2110,2499,2219,1866,2078,2017,2239,2246,2514,3039,2624,2204,1852,1675,2119,2619,2476,2231,2330,2850,3136,3129,3094,2530,2282,2439,2096,2293,2684,2514,2235,1776,1559,1934,1792,1468,1228,1546,1672,1651,1930,1993,1660,1517,1644,1602,1794,2170,2352,2838,2343,1763,1964,2080,2235,1897,1554,1892,1866,2058,2706,2315,2019,2427,2346,2067,1919,1692,1625,1575,1510,1488,1463,1473,1562,1389,1274,1418,2061,1911,1272,1197,1495,1589,1541,1562,1513,1375,1289,1467,1391,1671,1523,1401,1488,1604,2102,2809,2898,2809,2808,2294,1772,1769,1542,1389,1437,1512,1595,1685,1771,1791,1719,1531,1518,1571,1678,1428,1405,1657,1896,1505,1807,1814,1766,2030,1830,1453,1495,1899,2005,1537,1412,1343,1327,1367,1402,1607,1932,1861,1439,1449,1480,1498,1554,1580,1489,1546,2122,2233,2046,1831,1755,1543,1316,1290,1399,1578,1931,1993,2219,2840,3407,3673,3834,3651,3516,2949,2706,2731,2372,2448,2367,2086,2111,1936,1438,1537,1942,1794,2714,3196,2878,2556,3014,3329,3070,3266,3393,3285,3604,3726,3298,3053,3024,2780,2604,2718,2808,2973,2709,2389,1596,2172,2331,2035,2315,3333,3439,3360,3333,2623,2860,3604,3299,2475,2959,3690,2983,2901,3187,2901,2636,3331,2756,1899,2427,2263,1622,1570,1774,1894,2298,2114,1766,2378,2988,2706,2482,2583,2253,1796,1949,1932,2179,2781,2654,2126,1771,2363,2499,2489,2446,2225,2080,2521,2918,2798,2432,2458,2284,2070,2224,2098,2413,2338,2473,2569,2024,1948,2576,2407,2633,3043,2636,2886,2701,2414,2312,2067,1908,1819,1864,2525,2975,3084,3587,3882,2940,2463,2257,2304,2510,3393,3512,3928,3715,3289,3328,3255,3295,2731,2648,2277,2125,2554,2270,2147,2127,1714,2002,2437,3109,3304,2204,1678,2340,2771,2795,3065,3065,2861,2756,2980,3021,2735,2714,2803,2743,2937,2855,3065,2906,2939,3186,2835,2712,2923,3059,3256,3183,2781,2855,3156,3376,3278,3620,3749,3780,3566,3176,3197,3364,3594,3548,2897,2535,2697,2320,3361,3652,3211,3254,3083,2915,2736,2666,3234,3458,3232,3938,4389,4573,4004,4100,3934,3318,2890,3182,2730,2751,3347,3267,2866,2162,2076,2129,1982,2684,3404,3183,2625,2698,2237,1532,1420,1497,2267,3360,3760,3829,2910,2447,1960,1917,2280,3087,2931,2963,2720,2131,2386,2397,2586,2798,2437,2836,3411,3281,2685,2645,2524,2259,2438,2566,2604,2575,2852,2511,2202,1924,2190,1891,1684,1828,1828,1623,1632,1976,2603,3006,3242,2964,2725,2649,2337,2529,2523,2128,2019,2228,2397,2431,2910,2845,2448,1804,1490,1646,1867,1804,1885,1992,2519,3124,3125,2295,1722,1749,2046,2460,1862,1685,1528,1453,1546,1995,1904,2322,2692,2132,2259,2105,1654,1947,1948,1756,1610,1618,1606,1673,1976,1804,1575,1991,2737,2952,2490,2434,2832,2745,2342,2456,2697,3306,3457,2721,2693,2923,2884,2719,2235,2430,2599,2643,3067,2801,2924,2863,2977,2887,2728,2971,2673,2231,1991,2065,2148,2222,2237,2211,2099,2006,2054,1950,1937,2413,2413,2042,1929,1823,1909,2011,2534,3188,3351,3244,3086,2921,3054,2964,2717,3052,3231,3322,3078,3006,2757,2814,2403,1895,1836,1780,1632,1335,1461,1602,1885,1563,907,1185,1825,1915,1904,2463,2481,2921,2776,2057,2126,2250,2928,3432,3615,3477,3481,3188,3364,3019,2459,2184,2335,2595,2342,2120,2247,2065,2448,3249,3266,3492,3029,2127,2309,2829,2707,2248,2372,2953,3604,3323,2854,2359,2381,3476,3774,3692,3242,2479,2734,3386,2807,2005,2101,1909,1261,926,1078,2050,2916,2628,3107,3355,2768,2624,2563,2463,2720,2938,2908,3418,3672,4172,3670,3301,3217,3327,3195,3173,3278,2802,2706,2915,2749,2821,3276,3432,3188,2935,2779,2432,2175,2163,2370,2435,2270,2226,2441,2828,2832,2513,2088,2423,3041,3426,3293,2878,2800,3123,3517,3197,2683,2598,2583,2495,2790],[2908,2782,3040,3400,3273,3233,3350,3141,3074,3219,3610,3516,3094,3146,3165,3041,3205,3272,3100,3010,3328,3602,2831,2641,2879,2895,2632,2292,2525,2697,2891,3416,3910,3200,2875,3238,2784,3297,3060,3041,2963,3522,4018,4188,4196,4123,4199,4253,4354,4576,4484,4383,4356,4340,4252,3652,3961,3860,3206,3054,3072,3085,3431,3709,3385,3226,3120,3209,3284,3116,3068,3322,3716,3439,2763,2337,2503,3084,2482,2400,2987,2935,2979,2609,2277,2544,3122,3410,3456,3520,3642,3448,2821,2208,2862,2410,2688,2729,3231,3432,2971,2917,2968,2986,3002,2761,2691,2878,2576,2868,3087,2968,2510,2288,2520,2542,2570,2958,3367,2849,2112,2714,3237,2873,3497,3471,3398,2775,3220,3823,3949,4095,3876,3552,2710,2533,1970,1861,1594,2058,2269,2333,2462,2257,1772,1553,2061,2145,1639,1897,1932,1922,1906,2246,2121,2171,2578,2783,2523,2095,2192,2120,1804,2401,2642,2420,3216,3064,2373,2465,2821,3420,3363,2632,2070,1738,2088,1986,1771,1729,1956,2722,3008,3242,3339,2777,2656,3009,2459,2387,2512,2404,2675,2585,3146,3344,2943,2880,2714,2352,2006,2098,2578,2252,2191,2953,2880,2767,2208,2319,2988,2492,2103,2162,1848,1842,1907,1707,1470,1655,1958,2009,2369,2493,2322,1885,2032,2822,2796,2680,2377,2437,2796,2274,1962,2417,2079,2230,2454,2171,2345,2544,2358,2083,1776,1617,1824,2421,2454,2070,2722,2437,1556,1291,1554,2399,2112,2313,3117,3033,2986,2901,2450,2347,1898,2135,2646,3338,2046,1607,2003,2109,2318,2554,2818,3021,2941,2249,2281,2472,2741,2865,3084,2956,2956,2962,3050,2965,2885,2729,2536,2216,1881,1417,1260,1375,1332,1305,1481,1720,1740,1676,1692,1656,1576,1484,1548,2333,3404,2923,1772,1475,1843,1725,2199,2734,2494,2342,2188,2247,2701,2503,2563,3514,3728,3483,3288,3495,3190,2472,2301,3261,3694,2566,1910,2060,2094,1992,1876,1681,1834,2012,1822,1613,1580,1454,1650,1808,2039,1675,1576,1861,2060,1888,1849,1605,1467,1714,1844,2261,2317,1930,1594,1445,1313,1604,2148,1821,1569,1810,2213,1852,1670,2036,2197,2276,1942,2279,2708,1888,1483,2225,2214,1543,1597,1701,1614,1696,1561,1771,1796,1927,1826,1629,1987,2224,1746,1452,1823,2460,2504,1900,1532,1498,1717,1845,2728,3633,3210,2458,1974,1715,1481,1651,1767,1410,1597,2092,1610,1496,1655,1713,1824,2008,2031,1955,1929,1735,1704,1568,1518,1806,1622,1939,2299,1990,1628,1618,1935,1903,1938,1732,1435,1581,1766,2176,3194,2785,1611,1550,1809,2100,1879,1820,1804,1739,1625,1622,1918,2138,2229,2016,2035,1747,1747,2069,2851,3279,2645,1894,1694,1804,2326,2755,1939,1477,1656,2357,2822,2918,2542,1882,1678,1903,1611,1828,2636,2598,2229,2215,1924,1852,1814,1617,1506,1473,1362,1622,1763,1680,1669,1873,1889,1816,1842,1741,1699,1657,1529,1807,2112,2299,1997,1476,1770,2420,3000,3089,2692,2247,2675,3075,3472,3248,2490,1578,1996,2088,1836,1940,1992,2065,1974,1915,1720,1940,1891,1667,1672,1536,2156,2365,2358,2257,1677,1823,1851,1648,1851,1913,1831,1685,1665,1938,1889,1572,1488,1596,1874,2037,1897,2017,1984,2170,1947,1838,2238,2041,1900,1910,1890,1801,1593,1603,1794,1771,1909,1952,1778,1857,2001,2071,2118,2081,1964,1887,1955,2057,2254,2325,2060,1832,1937,1920,2487,2963,3398,2830,1751,1562,1691,1902,2356,2698,2846,2851,2876,3051,2983,3000,3385,3382,3247,3352,3471,3329,2997,2752,3030,3098,3041,3021,2836,2569,2588,2657,2303,2025,1952,1833,1861,1869,1912,2461,2010,1575,1405,1433,1498,1551,1957,1948,1645,1773,1930,1843,1939,3028,3384,2486,1915,1953,2285,2623,2171,1728,1777,1693,1698,1656,1704,2059,2161,1730,1511,1517,1573,1719,1720,1655,1611,1766,1611,1369,1576,1940,2046,2308,2059,1989,2555,2832,2486,2191,2298,1907,1590,2158,2178,2010,2476,1987,1920,2408,2540,2414,2863,3370,3702,3869,3952,3597,3621,3506,3485,3449,3043,2773,3251,3665,3222,3142,3329,3261,3075,3230,3506,3415,3370,3840,4148,4223,4041,3780,3269,2723,2585,2444,2886,4105,4396,4271,4537,4620,4575,4311,4327,3888,3964,4733,4761,4756,5204,4936,4384,4187,4572,4760,4307,3830,3311,2517,2241,2807,3140,2699,1956,1517,1551,3054,3964,3837,4380,4720,4340,4026,4208,4037,3890,3952,3768,3453,3517,3724,3510,3509,3574,3357,2796,2269,1985,1907,1959,2083,1990,1863,1730,1801,2072,2890,3252,3444,2944,2044,1685,1873,2159,2450,2658,2690,2501,1733,1538,1789,1816,1930,1672,1337,1373,1432,1738,1911,1729,1588,1486,1432,1436,1798,1804,1848,2179,2266,2002,1878,2344,2831,2570,2010,1996,2144,1990,1462,1497,1368,1360,1412,1501,1460,1378,1720,1999,1555,1380,1398,1505,1692,1858,1568,1522,1993,2047,1667,1509,1513,1444,1387,1695,1637,1485,1650,1975,2061,1872,1852,1671,1608,1424,1491,1630,1450,1500,1591,1736,1997,2420,2224,2215,2347,2178,2159,2301,2072,1803,1547,1466,1814,1745,1437,1764,1614,1266,891,1356,1685,1601,1610,1426,1383,1650,1686,1385,1361,1562,1635,1838,1803,1506,1534,1651,1826,1876,1873,2453,2829,3042,2931,2975,2346,2468,2835,1842,1494,2486,2972,3172,3283,2619,3132,3186,3018,2890,2886,2764,3074,2823,2778,2774,2338,2088,2065,2141,2640,2989,3211,3504,3836,4010,3783,3746,3664,3108,2766,2920,3447,3698,4020,4120,3984,3898,4034,3979,3617,3329,3084,2319,2377,2928,2708,2494,2625,3034,3504,3210,2736,2844,2773,2467,2378,2392,2247,2764,3335,2986,2507,2204,2391,3273,3139,3155,3305,2938,2583,2398,2573,2799,2111,1534,1889,2614,2670,2636,2396,2692,2924,3665,3445,2875,2466,2150,2127,2223,2697,3053,3161,2831,2300,2556,3172,3492,3652,2764,1952,1942,2354,2326,2119,2458,2217,2160,2274,2318,2644,2405,2896,3047,2276,2005,2076,2254,2471,2570,2710,2574,2298,2762,3382,3520,3196,2540,2590,2706,2311,2041,2069,2169,2403,2084,2180,2669,2054,1764,1569,1669,1749,1846,1969,2106,1919,1625,1720,1786,1998,2264,2490,2635,2462,2035,2137,2271,1876,1464,1582,1808,1820,1889,2494,2315,2071,2404,2404,2313,2160,1813,1609,1721,1580,1468,1460,1431,1584,1415,1288,1350,1676,1592,1498,1634,1584,1481,1497,1627,1472,1296,1300,1388,1804,2083,1492,1341,1481,1346,1972,3054,3242,3122,3099,2608,1675,1565,1367,1404,1411,1428,1481,1504,1539,1891,2221,2017,1602,1492,1491,1359,1344,1479,1633,1407,1477,1505,1552,1723,1637,1398,1405,1907,2018,1672,1631,1387,1452,1487,1484,1735,2358,2383,1597,1493,1592,1594,1587,1599,1509,1482,1719,1991,1869,1670,1823,1845,1636,1494,1615,1813,1942,2082,2871,3155,3283,3553,3580,3311,3062,2601,2505,2537,1902,2009,2230,2076,2036,1765,1515,1499,1638,1604,2259,3188,3449,3222,3337,3037,2752,3099,3449,3231,3370,3509,3299,3061,3039,3094,3133,2946,2668,2973,2396,2174,1758,1788,1980,1932,2156,2821,3264,3255,2897,2534,3191,3818,3791,3453,3558,3619,2979,2411,2872,3206,3298,3371,2389,1976,2580,1989,1785,1642,1782,1864,2430,2358,1385,1870,2632,2570,2333,1925,1674,1460,1639,1894,2450,2692,2123,1829,1990,2187,2405,2539,2503,2438,2194,2625,2740,2504,2352,2592,2251,1836,2075,1786,1815,2026,2366,2789,2597,2040,1779,1907,2330,2518,2562,2852,2135,2167,2809,2822,2586,2566,2342,2751,3049,3248,3762,3795,2668,2308,2520,2482,2835,3352,3617,3913,3685,3306,3070,2199,2454,2310,2200,2059,1886,2006,1973,2270,2743,2632,1994,1923,2213,2342,1730,2287,2699,2542,2342,2866,3131,2818,2779,2843,2535,2415,2795,2846,2670,2731,2657,2713,2685,2868,2907,2861,3064,3172,3219,3100,2683,2625,2979,3461,3330,3334,3610,3570,3716,3574,3308,3549,3693,3732,3825,3359,3099,3073,2535,3321,3684,3476,3597,3439,2961,2782,2952,3322,3344,3705,4275,4212,4245,3544,3447,3426,3181,3365,3580,3015,2700,3106,3228,3146,2798,2294,1878,1683,2777,3428,3069,2542,2490,2174,1729,1747,1836,2548,3356,3648,3619,3262,3364,3165,2566,2579,2531,2096,2267,2044,1912,2109,2173,2978,2957,2510,2306,2590,2901,3012,2972,2991,2799,2493,2491,2347,2276,2395,2285,2095,1641,1642,1897,1844,1815,1839,1562,1546,1750,2568,2917,3123,2560,1814,1780,2036,2593,2488,2073,2225,2265,2259,2008,2850,3231,2932,2259,1637,1791,2380,2057,1542,1849,2156,2542,2873,2151,2079,1995,1919,2016,1711,1647,1569,1769,2226,2270,2137,2856,3216,1964,1798,1748,1621,2132,2020,1881,1964,1924,1792,1842,1938,1802,1698,1913,2279,2247,2136,2352,2576,2570,2344,2337,2641,3176,2950,2453,2664,2471,2500,2610,2398,2296,2378,2429,2706,2690,2954,2932,2610,2309,1996,2134,2383,2440,2293,2501,2553,2667,2667,2369,2031,1751,1676,1559,1569,1815,1924,1928,1802,1759,2008,2420,2409,2625,3074,3275,3132,2675,2396,2376,2174,2789,2908,3185,3206,2899,2734,2438,1874,1795,1995,2443,2127,1747,1769,2160,1903,1732,1279,1181,1644,1876,2071,2446,2818,3130,2508,1734,2077,2221,2368,2940,3730,3795,3864,3693,3637,3400,2896,2707,2709,2814,2897,2807,2435,1640,1638,2504,3111,3172,2713,2196,2277,2818,2938,2612,2452,2494,2941,2954,2763,2229,2098,2854,3310,3476,3410,2918,2874,2765,1642,1653,2139,1545,1278,1361,1949,2876,2898,2596,3067,2986,2386,2426,2470,2583,3096,3610,3681,3342,2997,3252,3432,3354,3318,3342,3016,2556,2277,2352,2421,2553,2785,3117,3508,3392,3282,3111,2952,2226,1922,2268,2381,2158,2351,2513,2348,2530,2562,1933,1464,1778,2723,3388,3251,2843,2746,2874,3190,3089,2758,2807,2733,2910,3213],[3240,3159,3119,3265,3067,3020,3138,3065,3059,3388,3773,3616,3287,3096,3067,3213,3053,2996,3018,2896,2934,3160,2739,2965,3066,2809,2854,3060,2924,2965,2909,2774,2956,3156,2877,3140,3599,2894,2452,2387,2613,3683,4221,4329,4185,4082,4157,4155,4425,4589,4407,4338,4352,4364,4037,3802,4132,3875,3592,3573,3457,3424,3829,3770,3350,3248,3085,3158,3262,3118,3076,3305,3548,3219,2223,1897,2500,2824,2495,2670,3056,2900,3016,3152,2938,2745,3083,3565,3890,3851,4007,3485,3750,3064,3090,2787,2506,2278,2884,3319,2842,2401,2461,2723,2939,3000,2488,2415,2599,3119,2914,2713,2366,2111,2194,2207,2433,2337,2455,2119,1887,1974,2281,2618,3088,3354,3753,3034,2886,3649,3864,4196,3964,3479,2320,2052,1804,1880,1882,2106,2438,2353,2176,2070,1752,1563,1789,2106,1918,2066,1991,1670,2079,2687,2730,2315,2474,2547,2081,1962,2127,1905,1709,1863,2132,1642,2134,2585,2438,2222,2678,3274,3130,2252,1985,2141,2491,1825,1723,1584,1905,1929,2027,2663,2766,2285,2352,2645,2592,2698,2330,2204,2277,2087,2301,2902,2967,3084,3000,2728,2577,2464,2313,2159,2798,2500,2272,2272,1948,2250,2911,2700,2298,2120,1971,1779,1864,1720,1556,1456,1811,2262,2206,2221,1985,1699,2098,2681,2476,2237,2597,2879,2678,2464,2256,2729,2267,2126,2244,2403,2399,2115,1886,1655,1583,1453,1469,2043,2244,2215,2544,2355,2227,1886,1887,2469,2554,2558,2886,2706,2608,2640,2304,2183,2088,1808,1930,3105,2646,1941,1989,1974,2255,2601,2778,2641,2316,2399,2813,3234,3305,3294,3128,3029,2854,2865,2985,2724,2535,2487,2823,2845,2631,1968,1640,1515,1405,1704,1933,1858,1698,1542,1577,1650,1687,1705,1840,2547,2708,1971,1596,1565,1735,1759,1855,2110,2176,1893,1671,1892,2906,3154,3040,3538,3783,3528,3373,3431,3422,2833,2286,2696,3305,3063,2287,1577,1699,2353,2272,1943,2049,2073,1748,2038,1799,1592,2111,2380,2065,1904,1625,1742,1919,2051,2523,2300,1896,1998,2218,2331,2244,2354,2037,1961,1944,1794,2233,2060,1454,1639,1914,1981,2134,2563,2770,2168,2132,2453,2244,2363,2563,2365,1955,1613,1570,1715,1662,1653,1604,1671,1735,2315,1950,1625,1976,2357,2072,1664,2027,2918,3348,2618,1921,1742,2182,2522,2172,2566,2810,2079,1699,1663,1707,1972,1780,1531,1699,2110,1728,1586,1781,1906,2021,2056,1731,1450,1527,1576,1554,1645,1839,1807,1616,2215,2567,1967,1708,1868,1928,1885,1809,1502,1701,1934,1787,2139,2998,3052,2398,1980,2201,2045,1838,2183,2245,1992,1714,1752,1940,1979,1873,1851,1913,1776,2083,2161,2322,2587,2352,2128,1836,2058,3098,3186,2180,1835,1797,2063,2417,2610,2009,1602,1932,1952,1455,1810,2333,2681,2620,2082,1790,2078,1958,1575,1477,1460,1389,1400,1549,1369,1398,1722,1848,1797,1811,1892,1863,1804,1559,1525,1943,2091,2066,1837,1737,2241,2583,2595,2328,2129,2453,2603,2963,2700,2021,1864,1891,1708,1837,1649,1787,1795,1968,1884,1936,2344,2171,2010,1916,2132,2345,2031,2084,2047,1517,1779,1738,1651,2036,2099,1995,1869,1859,1996,1981,1715,1848,1903,1860,2060,2099,1865,2094,2392,1947,1970,2222,2048,2055,2108,2132,1731,1417,1504,1782,2120,2041,1931,1787,1762,2040,2308,2352,2260,1986,1953,2026,2045,2519,2164,1647,1742,1600,1675,2066,2577,2888,2542,2444,1860,1810,1934,2127,2195,2573,2773,2788,2938,2902,2999,3395,3382,3393,3529,3620,3360,2844,2812,3060,3098,3194,3199,2957,2594,2541,2382,2096,1980,1858,1885,1914,1847,1517,1656,1647,1478,1432,1454,1578,2085,2220,1910,1696,1643,1557,1709,1658,2253,2414,2290,2057,2132,2453,2312,1892,1744,1750,1834,1878,1626,1616,2074,1983,1593,1457,1420,1542,1660,1611,1603,1727,1968,1720,1874,1910,1932,2246,2535,2206,1662,1957,2324,1944,1547,1574,1498,1531,1820,1841,2199,2585,2122,1669,2241,2578,2534,3010,3235,3809,3840,3785,3604,3549,3518,3540,3475,3301,3096,3220,3504,3581,3613,3739,3618,3233,3733,4221,3917,3580,3953,4078,4148,4145,3764,3495,2968,2002,3172,3244,4034,4853,4732,4372,4095,3860,4008,4600,4400,4208,4112,4100,4291,4447,4081,3550,3317,3472,3471,3061,2511,1825,1978,3153,4144,4026,3256,2934,2939,2460,3894,3968,4014,4428,4584,4175,3836,4180,3990,3618,3783,3868,3574,3557,3838,3670,3373,3154,2633,2142,2014,1972,1854,1997,1806,1611,1633,1512,1618,1566,2178,2923,3007,2140,1685,1699,1528,1615,2243,2810,2876,2318,1671,1620,1633,1471,1750,1716,1311,1148,1462,1694,1800,1843,1930,1452,1261,1395,1709,1684,2028,2578,2954,2865,2624,2589,2425,2004,1906,2051,1757,1739,1708,1591,1499,1492,1395,1400,1475,1520,1924,2066,1781,1692,1452,1490,1587,1810,1686,2229,2731,2070,1690,1296,1345,1429,1376,1550,1555,1583,1766,1879,1905,1809,1612,1575,1409,1327,1477,1579,1655,1852,1838,1972,1992,1942,1909,1648,1426,1518,1780,2188,2068,1907,1851,1641,2104,1938,1447,1335,1463,1622,1514,1709,2032,1998,1967,1693,1556,1653,1547,1744,1754,1731,1907,1719,1403,1469,1597,1909,1860,1802,2239,2849,2964,3128,2886,2950,2618,2746,2417,1771,1730,2251,3350,4108,4132,2914,3239,3090,3777,4181,4309,4497,4665,4029,3248,3079,2681,2295,2220,2185,2444,3099,3776,3837,3711,3627,3768,3949,3710,3488,3316,2762,3143,3500,3792,3835,3738,3677,3776,3455,3169,3206,2918,2410,2743,3139,2597,2571,2777,3090,3426,3469,3062,2647,2373,1899,1608,1738,2197,2857,3454,3144,3242,2856,3204,3606,3145,2669,2786,2919,2957,2790,2567,2403,2004,2146,2468,2878,3212,3130,2261,2403,2752,3018,2598,2603,2700,2532,2198,2197,2557,2813,2742,2482,2374,2390,2968,3208,3032,2752,2617,2602,2314,2132,2194,2142,1937,2221,2008,1754,2468,2888,2955,2231,1685,1697,1938,2117,1887,1925,2491,2479,2237,2428,3090,3718,3463,2715,2262,2366,2340,2057,2133,2286,2400,2019,2164,2224,2081,2147,2095,2001,1908,1675,1651,1963,2054,1786,1826,1849,1910,2267,2659,2547,2303,2125,2041,2009,1751,1520,1511,1753,1948,1817,2142,2261,2201,2161,2423,2576,2510,2285,1861,1906,1715,1418,1447,1392,1450,1422,1355,1357,1568,1637,1686,1691,1533,1482,1594,1621,1836,1581,1468,1398,1597,1659,1499,1417,1515,1678,2367,3116,3038,3010,2352,1943,1549,1405,1336,1344,1331,1417,1427,1320,1509,1982,1994,1804,1441,1270,1235,1300,1361,1488,1550,1482,1427,1848,1997,1800,1728,1981,1683,1520,1435,1463,1502,1339,1294,1355,1458,1737,2181,1976,1593,1625,1513,1362,1411,1491,1503,1448,1621,2133,2049,1718,1859,1930,1849,1605,1571,1986,1981,1811,2675,3155,3165,3217,2790,2254,2247,1909,1887,1963,1655,1610,1795,2052,2037,1849,1604,1525,1407,1613,2114,2613,3522,3563,3494,2983,2687,3094,3515,3228,3308,3495,3454,3387,3119,3220,3605,3594,3556,2980,2092,1852,1842,2250,2205,2148,2429,2499,3022,3045,2468,2424,3350,3649,3671,3370,3298,3153,2663,2211,2360,2871,2653,2330,1790,1667,1877,1768,1754,1725,1719,1801,1947,1715,1613,1986,2348,2419,2368,2138,2128,1619,1550,1576,1785,1847,1731,1890,2242,2541,2414,2350,2739,3095,2974,2844,2623,3121,2611,2623,2310,1906,2114,2199,2259,2488,2731,2229,2054,1781,1874,2015,1776,1713,2482,2517,2077,2457,2836,2767,2698,3483,2874,2544,2966,3552,3746,3793,3128,2757,2470,2441,2720,2757,3118,3566,3394,2728,2742,2581,3122,2822,2223,2217,2200,2308,2234,2383,3397,3111,1916,2110,2088,1863,1924,2800,2634,2026,2141,2765,2817,2736,2894,2836,2486,2602,2885,2750,2522,2773,2791,2812,2856,2986,3044,2977,2886,3218,3460,3037,2672,2879,2962,2792,2742,3307,3633,3299,3090,2964,3075,3399,3663,3625,3994,3491,3686,4034,3849,3530,3664,3498,3320,3165,3007,2975,3022,3241,3202,4041,4097,3816,3709,3355,3198,3222,3284,3605,3817,3276,2690,2876,3088,3134,3480,3147,2720,2533,3263,3639,3370,3032,2998,3240,2852,2552,2249,2659,3200,3321,3267,3208,3176,3264,3218,3140,3167,3041,2632,2065,1870,1925,2504,3257,2898,2312,2131,2250,2584,2640,2851,2901,2499,2276,2494,2501,2223,2146,2018,1679,1560,1599,1948,2101,1744,1766,1855,1693,2357,2641,3198,3289,2437,1917,1824,1819,2224,2353,2065,1970,2024,2093,2398,3505,3307,2719,2044,1866,1966,1961,1814,1751,1721,2095,2311,2147,1685,1697,1374,1284,1556,1838,1640,1571,1646,1843,2313,2260,2351,2510,1811,1621,1621,1780,1808,1631,1741,1774,1760,1911,2063,1812,1698,1694,1851,1842,1920,1966,2127,2097,2252,2513,2573,3040,3519,3063,2413,2241,2067,2386,2729,2545,2590,2522,2091,2093,2302,2246,1996,1960,2103,2143,2413,2658,2830,3060,2657,2468,2769,2799,2499,1942,1470,1838,2010,2017,2013,1887,1728,1760,2053,2019,2212,2062,2098,2590,3245,2930,2071,1470,2216,2488,2780,2609,3093,3078,2599,2270,2009,2284,2392,2271,2701,2350,2709,2333,2897,3030,2836,2212,1715,1874,1905,1974,2164,2194,2416,2056,1694,1793,2195,2185,2894,3387,3566,3864,4108,4264,4112,3694,3312,2886,3204,3409,3451,2171,1276,1270,2519,3350,2570,1780,1948,2508,2685,2630,3088,3032,2999,3138,3168,2946,2580,2645,2713,2923,3554,3811,3297,2455,1958,1274,1480,2216,1825,1479,1641,2217,2408,2313,2706,2941,2487,2145,2283,2243,2657,3737,3248,3325,2848,2467,2911,2873,2563,2611,2690,2679,2543,2512,3118,2909,2790,2791,2885,3140,3374,3166,2644,2217,2368,2645,2656,2416,1953,2307,2634,2377,2426,2344,1802,1463,1830,2901,3626,3419,2939,2989,2864,3051,3094,3109,3323,3189,3947,4099],[3090,2987,2974,3088,2980,3016,3123,3181,3295,3273,3241,3428,3554,3250,3061,3281,3020,3187,3112,3163,2880,3020,2952,3111,3050,2811,2899,2673,2555,3350,3220,3043,3204,3261,2770,2621,3165,2650,2526,2310,2426,3730,4196,4355,4184,4092,4132,4089,4483,4600,4384,4276,4340,4344,3929,3687,3899,3670,3746,3698,3553,3414,3670,3429,3287,3305,3287,3377,3258,3136,3110,3183,3330,3299,2399,2123,2706,2841,2542,2754,2899,2800,2863,3109,3054,2828,2980,3224,3395,3723,3903,3528,3620,3107,2805,2577,2363,2503,2421,2532,2755,2568,2642,2634,3154,2913,2678,2821,3008,2985,2508,2160,1942,2012,2116,2424,2720,2611,2515,2131,2241,2133,2036,2212,2339,2388,2314,2012,2354,2674,2828,3404,3566,3748,2720,2169,2544,2781,2424,2810,2919,1970,1601,1660,1899,2082,1876,2162,2287,2133,1696,2171,3053,2933,2485,2192,2168,1641,1567,1666,2012,1790,1666,1697,1650,1566,1816,1948,1925,2371,2939,3182,2862,2121,2098,2203,2273,1923,1571,1858,2482,2186,1930,2328,2414,2211,2109,2523,2737,2806,2503,2088,2197,2410,2626,2657,2933,3218,3063,2629,1910,1949,1975,1951,2898,2019,2303,2819,2568,2415,2798,2662,1927,1921,1997,1788,1898,1939,1805,1707,1778,2369,2320,1853,1807,1989,2136,2778,3008,2762,2920,2591,1758,1721,2232,2504,2231,1951,1807,1973,2078,1802,1671,1722,1654,1681,1895,2206,2178,2203,2238,2600,2552,2168,1855,2121,2584,2567,2383,2207,2298,2006,1660,1779,1660,1867,1822,2237,2291,2109,2273,2026,2360,2453,2014,2126,1742,2339,2907,3128,3240,3146,3041,3077,3028,3064,2958,2766,2852,2765,2742,2920,3100,2744,2138,2034,2246,2281,1736,1564,1509,1636,1708,1632,1621,1595,1904,2238,2094,1874,1858,1833,1730,1750,1910,2075,1985,1578,1562,2158,2778,3086,2758,2834,3360,3603,3519,3391,3500,3439,2808,2330,2429,2376,2555,2476,2414,2620,2546,2148,2050,2250,2050,2241,1696,1649,2032,2010,1664,1857,1617,1434,1494,1730,2261,2180,1577,1700,2019,2224,2490,2665,2275,2331,2409,2155,2172,1871,1367,1704,1694,1633,1947,2464,2644,2045,1834,2089,1802,1720,1700,1464,1576,1644,1548,1577,1838,2700,2246,1785,1899,2150,1802,1670,1892,2092,2080,2024,1864,2288,2832,2186,1756,1995,2469,2784,1897,1826,2521,2471,2104,1838,2056,2196,1911,2033,2047,1663,1640,1918,2327,2310,1737,1554,1567,1448,1584,1648,1506,1493,1730,1980,1835,1846,1921,1808,1879,1828,1622,2073,1904,1504,1810,2058,2078,2127,2361,2692,2408,2420,2271,1826,1911,1987,2169,2250,1806,1579,2284,2392,1788,1675,1957,1998,2083,2064,2130,2053,2072,2366,2049,1936,2530,2518,2016,1787,1967,1993,2363,2458,1736,1487,1490,1584,1419,1569,2022,2857,2585,2158,2368,2276,1809,1780,1877,1529,1444,1787,1826,1356,1584,1648,1563,1836,2062,1966,1796,1884,1832,1920,2034,1972,2024,1593,1767,2012,2584,2380,1938,1962,2097,2117,2078,1752,1626,1764,1782,1897,1993,1991,1864,2064,1976,1806,2056,2505,2566,2060,1935,2169,1842,1652,1710,1958,1838,1890,1711,2017,2569,2568,2258,2304,2468,2382,2244,1842,1728,1678,1858,1631,1786,1695,1943,2110,1858,2017,2136,2039,2114,2053,2084,1779,1450,1665,2004,2220,2060,1978,1936,1969,2234,2379,2415,2250,1725,1745,2012,2586,2427,1732,1886,1874,1738,1835,2072,2149,2064,1796,1987,2125,2055,2128,2154,2279,2693,2765,2631,2729,2614,2890,3350,3270,3204,3294,3360,2993,2668,2731,2972,3172,3370,3273,3088,2997,2779,2291,2144,2114,2017,2001,2085,1780,1726,1698,1530,1465,1464,1477,1532,1808,1713,1829,1820,1610,1650,1880,1682,1574,1664,1859,1951,1989,2028,1915,1916,1948,1887,2800,2771,1958,1911,2363,2075,1689,1650,1645,1695,1758,1412,1444,1484,1764,1752,2061,1920,1869,2129,2251,1859,1534,1613,1864,1742,1597,1694,1724,1506,1698,1866,1877,2104,2123,2008,2512,3176,3365,2894,2172,3462,3902,3594,3446,3497,3783,3964,3630,3242,2893,3294,3636,3702,3535,3726,3785,3860,3983,4263,4519,4648,4553,4368,4396,3987,3805,3748,3020,2512,3140,2867,3889,4956,4607,4161,3714,2956,3315,3703,3662,4391,4728,4804,4306,4280,4040,3946,3993,4014,4108,4180,3494,2517,3278,3680,3916,3226,2956,3488,2492,2570,4156,4276,4039,4289,4428,4232,4046,4228,4336,3828,3574,3752,3867,3857,3867,3706,3173,2534,2109,1970,1986,1943,1621,1852,1605,1530,1583,1573,1460,1513,1931,2449,2332,1757,1582,1599,1454,1772,2511,2468,2201,2126,2148,1826,1609,1723,1884,1930,1694,1720,2111,2022,2040,2122,2200,1383,1161,1374,1330,1775,2541,2436,2334,2329,2098,1758,1693,1799,1890,1930,1646,1811,2054,1848,1631,1609,1504,1481,1619,1503,1771,2271,1898,1699,1534,1465,1656,1774,1692,1908,1834,1686,1701,1636,1632,1423,1331,1564,1964,2147,2170,2120,2164,1884,1325,1355,1371,1480,1702,1592,1739,1852,1917,1989,1993,1833,1837,1987,1946,1480,1379,1991,2291,2360,2153,1859,2438,2586,1976,1428,1399,1439,1422,1563,1974,2008,1959,1614,1597,1844,1986,2050,1809,1784,2036,1832,1588,1854,1638,1769,1896,2166,2868,3062,3018,3006,2902,2978,2995,2648,1816,1785,2248,3172,4093,4196,4239,3528,3444,3396,3924,4408,4639,4759,4892,4453,3431,3211,2755,2243,2187,2533,2940,3654,3941,3664,3436,3532,3716,3720,3493,3375,3337,3081,2936,3182,3552,3526,3413,3420,3441,3250,2961,2727,2492,2132,2180,2495,2627,2683,2552,1973,2185,2698,2684,2683,2568,2083,2215,2242,2575,2755,3392,3487,3093,3144,3707,3632,3094,2392,2403,2964,3159,2689,2018,1976,2146,2552,2874,3471,3891,3276,2729,3046,3311,2809,2412,2010,2019,2494,2634,3034,2829,2330,1979,2521,2602,2294,2713,2669,2578,2795,2745,2231,1816,1776,2045,2046,1786,1665,1879,2329,2453,2887,3328,2711,2034,1650,1868,1854,1732,1794,1816,2121,2562,2404,2580,2846,2596,2396,2052,2076,1854,1572,1741,2314,2261,2076,1951,1712,1757,1912,2152,2386,2086,1798,1924,1935,2094,1974,2031,2083,1975,1841,2258,2288,1830,1650,1888,1650,1730,1596,1524,1648,1757,1825,1918,2074,2206,2278,2659,2876,2759,2321,1920,1672,1569,1679,1882,1614,1388,1378,1395,1483,1508,1517,1565,1514,1691,1851,1613,1422,1559,1284,1239,1381,1615,2122,2205,1710,1639,1592,2098,2873,2564,2962,2264,1886,1585,1366,1452,1428,1424,1626,1436,1317,1416,1675,1449,1334,1262,1210,1308,1532,1721,1785,1988,1833,1416,1772,2326,1885,1683,2317,2098,1608,1449,1356,1310,1360,1235,1233,1415,1591,1577,1364,1426,1450,1320,1390,1431,1376,1448,1602,1984,2551,2236,1846,1914,2031,2017,1826,1626,1727,1825,1622,1925,2580,3117,3156,2612,1912,1602,1505,1687,2154,2043,1640,1780,1902,2019,1914,1310,1451,1345,1430,1934,2136,3228,3480,3191,2776,2586,2920,3072,3070,3395,3365,3554,3598,3238,3370,3333,3699,3340,2674,2038,1998,2452,2854,2369,1933,2562,2733,2631,2611,2653,2957,3265,3300,3355,3130,3064,3060,2798,2322,2236,2642,1809,1751,1686,1750,1729,1678,1660,1562,1472,1734,1854,1704,1911,2126,2304,2442,2169,2530,2417,1820,1666,1550,1598,1433,1315,1481,2140,2917,2665,2196,2639,3116,3053,2945,2514,2408,2379,2484,2543,2561,2556,2460,2308,2233,2381,1815,1458,1650,1830,1960,1805,1722,2249,2562,2629,2944,2565,2380,2614,3544,3289,2834,2526,2721,2819,3178,3418,2997,2530,2562,2116,2089,2384,3168,3330,2236,1874,3264,3751,2765,2317,2840,2958,2533,2425,2201,2730,2446,2017,2065,1790,1618,1914,1992,1779,1984,2879,3292,2820,2613,2644,2641,2724,2929,2946,2964,2661,2977,3071,2876,2876,2802,2814,3078,2778,3060,3156,2994,3255,3504,3116,2712,2783,3310,3507,2920,2810,2916,3100,3084,3392,3428,3791,3861,4112,4092,3565,3312,3640,3545,3022,2883,3159,3119,3144,3547,3044,2953,3020,3194,3409,3400,3238,3101,3089,3376,3579,3137,2773,2907,2889,2972,3374,3592,3493,3194,3239,3464,3476,2942,3353,3696,3608,3047,2322,2178,2387,2668,2831,2792,2957,3059,3197,3151,3271,3403,3340,2928,2634,2410,2320,2576,2372,2055,2152,2558,2500,2001,2237,2647,2080,2138,2324,2270,2082,2131,2022,1910,1791,1777,1831,2086,1687,1757,1908,1804,1974,2255,2755,2918,2539,2276,2500,2364,2168,2700,2978,2292,2165,2245,2407,2526,2140,1858,2079,2343,2038,2097,2330,2486,1635,1770,1863,1702,2089,1802,1172,889,1405,2049,1706,1974,1934,1749,2281,2321,1852,1778,1692,1628,1508,1731,1844,1822,1820,1604,1595,1539,1759,1840,1793,1665,1913,1858,1626,1606,1704,1534,1605,1969,1959,2559,3312,3256,2521,2301,2360,2239,2481,2519,2498,2443,2155,2060,1977,1839,2110,1953,2477,2978,3140,2609,2353,2613,2441,2426,2397,2575,2133,2251,1964,2219,2466,2554,2475,2086,1863,2177,2166,1995,1989,1668,1882,1989,2669,2558,2037,1528,1730,2338,2454,2365,2584,2463,2225,2230,2329,2420,2584,2366,2551,2475,2471,2828,3244,3496,3586,2316,1526,2020,1845,1436,1760,1965,1991,2230,2192,1956,1741,2081,2932,2967,2841,3374,4143,4267,4384,4264,4429,3558,3306,3452,2762,2081,1778,1694,2102,2298,2214,2000,1844,2343,2471,2360,2898,3140,3378,3566,3470,2902,2265,2235,2075,2350,3122,3557,2899,1870,1476,1388,1735,2358,1830,1306,1712,2325,2283,2442,3027,3137,2612,2371,2491,2398,2987,3408,3059,3441,3564,3350,3169,2380,1946,2304,2408,2449,2715,2903,2785,2889,2715,2545,2407,2714,3208,3362,2995,2298,2324,2701,2597,1909,1742,2895,3160,2562,2990,3040,2465,2204,2366,3234,3597,3513,3308,2950,3028,3262,2770,2556,2939,3558,4057,3786],[3015,3019,2998,2979,3095,3228,3284,3325,3288,3152,3016,3278,3870,3483,3408,3613,3669,3459,2924,2906,3052,3373,3144,3105,3231,3162,2361,1753,2099,2784,3119,2720,2916,2861,2528,2394,2343,2209,2403,2208,2691,3897,4212,4312,3967,3977,4048,4155,4457,4456,4253,4231,4324,4189,3748,3662,3540,3352,3548,3608,3592,3473,3407,3294,3303,3229,3443,3606,3271,3150,3204,3270,3398,3382,2768,2456,2697,2653,2595,2823,2844,3083,3241,3078,2812,2915,3007,3153,3618,3858,3453,3342,3174,2598,2669,3076,3556,3725,3404,2567,2396,2568,2323,2381,2500,2633,3161,3052,2867,2652,2397,2194,2053,2102,1851,2092,2332,1852,2431,2693,2317,2131,1985,1778,1829,1842,1735,1853,2212,2530,2877,3022,3492,3870,3388,2843,2980,3044,2609,3123,2644,1966,1680,1803,2508,2828,2481,2290,2435,2368,2065,2223,2437,2731,3040,1976,1720,1671,1323,1309,1896,2085,2060,1784,1751,1917,1697,1769,2019,2413,3010,3019,2601,2190,1991,2298,2621,2121,1463,1975,2708,2423,2703,2811,2822,2376,2098,2046,2363,2592,2058,1540,2099,2648,2153,1991,2802,3060,3073,2585,1854,2151,2320,2383,3124,2859,3057,3476,2835,2231,2831,2743,1631,1950,2310,2246,2233,2216,1996,2068,2341,2457,2073,1656,1864,1862,1732,2106,2603,2543,2203,2128,1784,1598,1992,2068,1717,1587,1534,1635,1930,1763,1559,1859,1712,1941,2148,2193,2037,1968,2165,2126,1863,1725,1891,2041,1990,2063,1892,1901,2166,1735,1445,1626,1970,2182,1893,1797,1819,1987,2486,2257,2222,1547,1662,2366,2171,2354,2760,2945,3081,3165,3254,3192,3138,3168,3136,3374,3481,3269,3059,2942,3196,2907,2191,1961,1988,1870,1628,1842,1983,1643,1479,1521,1511,1587,1652,1628,1846,2320,2295,2106,2088,1997,2023,1971,2175,1782,1539,2159,2530,2575,2701,2698,2961,3494,3621,3539,3398,3120,3154,3082,2701,1938,1803,2266,2503,2753,3009,2647,2074,2305,2922,3217,2265,1772,1904,1660,1406,1575,1663,1671,1553,1559,1756,1716,1598,1469,1522,1738,1962,1992,1946,1974,2157,2291,1962,1610,1356,1914,2093,1733,1761,2321,2247,1605,1821,2085,1743,1573,1525,1457,1933,1775,1478,1336,1759,2989,2420,1564,1671,1925,2042,2122,2128,2035,1959,2354,2652,2625,2503,2026,2056,2470,2596,2170,1614,1972,2569,2580,2759,3094,2956,2475,2083,1948,1771,1559,1788,2125,2410,2377,1809,1575,1668,1403,1417,1547,1625,1486,1980,2128,1760,1518,1545,1841,1976,1815,1746,1938,1741,1770,1887,1927,2020,2011,2121,2088,1967,2156,2118,2043,1948,1885,2079,1867,1703,2146,2589,2557,1845,1541,1587,1870,2050,1916,1886,1686,1698,1889,2438,2570,2221,1937,1655,1602,1856,2109,2233,2016,1554,1456,1408,1750,1896,1537,1848,2235,2307,2680,2357,1827,1851,1839,1695,1570,1583,2267,2217,2002,1871,1635,1443,1623,1759,1672,1643,1790,1818,1898,1830,1706,1608,1833,1773,1557,1756,1997,2125,2069,2122,2070,1681,1549,1875,1975,1852,1976,2062,2796,2639,2261,2201,2012,1785,2084,2324,1938,1939,2137,1691,1591,1656,1970,1998,1723,1854,2265,2321,2274,2455,2870,3105,2407,2558,2111,1622,1635,1755,1649,1689,1708,1908,2178,1968,1990,2015,2051,2216,2001,1857,1871,1937,2278,2543,2416,2243,2116,1937,2012,2265,2225,2112,2149,1684,1724,2227,2763,2099,1942,2152,1889,1890,1908,2231,2236,2528,2155,1745,1990,2220,2098,1972,2161,2617,2689,2375,2430,2468,2685,2916,2985,3213,3255,2898,2600,2695,2883,2938,3083,3382,3404,3364,3272,2686,2379,2217,2304,2305,1868,1610,1659,1920,1878,1540,1482,1642,1650,1677,1748,1757,1865,1731,1615,1971,1986,1654,1551,1575,1720,1778,1698,1836,2114,2120,2211,2036,2764,2881,2097,2041,2343,2032,1926,1889,2058,1766,1699,1252,1357,1533,1683,1580,1525,1722,1972,2011,1841,1553,1692,1559,1782,1669,1520,1633,1646,1557,1592,1742,1926,2225,2295,2279,2207,3448,3784,3017,2406,3148,3841,3737,3648,3951,4352,4448,3994,3281,2718,2946,3548,3640,3706,3781,3557,3298,3385,4009,4586,4765,4415,3970,4420,4082,3805,3677,3130,3437,3341,3234,4183,4541,4220,3742,3351,3205,3665,3551,3269,4057,4757,4787,4935,5021,5035,5104,4937,4849,4702,4212,2783,2966,3855,3630,3520,3168,3186,3020,2420,3190,4389,4552,4262,4385,4465,4108,4288,4227,4220,3626,3550,3897,4035,3855,3596,3106,2497,2113,1928,1710,1942,1818,1629,1808,1737,1525,1447,1374,1387,1721,2285,2437,1995,2099,1831,1643,1582,2023,2554,2593,2280,2480,2664,2227,1937,1758,1896,1963,1847,2087,2356,2521,2461,2177,1619,1427,1660,1547,1414,1827,2161,1867,2079,2397,2119,1836,1829,1771,1549,1613,1910,2065,2126,2143,1940,1851,1759,1752,1760,1846,1807,2299,1999,1575,1453,1494,1652,1531,1770,1685,1581,1529,1489,1585,1436,1328,1379,1595,1965,2180,1959,1789,1757,1581,1499,1533,1586,1788,2232,2099,1771,1616,1836,1790,1711,1731,1848,2314,2354,1859,1737,2204,2257,1957,1780,1853,2268,2337,1811,1663,1756,1383,1333,1529,1791,1742,1603,1619,1641,2009,2584,2332,2005,2164,1840,2182,2371,2285,1748,1691,1778,2389,3024,2963,2978,2784,2655,3076,3074,2615,2285,2940,3605,4272,4573,3925,3561,3544,3452,3471,3834,4164,4564,4607,4731,4461,3505,3456,2879,2291,2513,3021,3234,3632,3829,3710,3555,3442,3464,3747,3702,3255,3416,3506,2928,3164,3479,3371,3325,3151,3212,3285,3184,3024,2918,2263,2525,2656,2998,2790,2206,1595,1700,2431,2702,2680,2578,2233,2246,2193,2437,2646,3145,3131,2601,2652,2915,2853,2530,2763,3097,2993,3160,2114,1818,2318,2795,3296,3662,3872,3880,3761,3805,3777,3162,2630,2854,2431,2492,2854,3124,2928,2182,1737,1969,2807,3021,3064,2946,2752,3139,2768,2795,1952,1854,1829,2092,2019,1828,1995,2272,2497,2754,2841,3447,3362,2413,1940,2047,1791,1669,1691,2128,2785,2663,2264,2193,2061,2001,2132,2156,1902,1533,1372,1795,1926,1644,1773,1780,1562,1704,1890,2166,2182,2366,2405,2787,2590,2061,1783,1981,2003,1849,1799,2194,2203,2159,1891,2053,1799,1890,1721,1575,1790,1882,1963,1910,1831,2049,2351,2697,3106,2449,1760,1563,1553,1492,1806,1756,1348,1346,1312,1361,1571,1538,1520,1584,1769,1967,1556,1325,1506,1467,1319,1310,1266,1571,2384,2880,1946,1553,1399,1671,1702,2029,2478,2153,1804,1584,1373,1359,1288,1378,1609,1417,1288,1328,1308,1448,1444,1299,1349,1589,1832,1893,1947,1650,1323,1314,1456,1971,1750,1515,1730,1758,1634,1502,1306,1244,1315,1319,1382,1483,1548,1362,1217,1472,1637,1661,1551,1408,1440,1376,1466,1912,2442,2212,1972,1965,2033,1982,1932,1623,1446,1548,1646,1647,1812,2629,3021,2430,1773,1634,1857,1953,2434,2398,1860,1896,1907,1757,1372,1331,1443,1380,1282,1702,1873,2894,3562,3420,3041,2787,2746,2916,3005,3338,3494,3572,3437,3464,3559,3381,3339,3143,3023,2659,2313,2479,2700,2463,2381,2592,2470,2583,2424,2856,3187,3514,3530,3052,2736,2662,2831,3274,2697,1774,1944,1636,1621,1508,1758,1748,1593,1569,1514,1567,1685,1869,1592,1938,1983,1936,2205,2674,2706,2080,1969,1866,1702,1504,1460,1687,1812,2286,2651,2531,2008,2643,3018,2769,2789,2411,2015,2075,2217,2370,2052,2000,1909,1769,1879,2343,2212,1740,1782,1887,1686,1583,1880,2830,3052,2469,2641,2322,2289,2713,3543,3356,2576,2345,2336,2377,2953,3473,3240,3119,2901,2832,3163,3000,3300,3520,3286,3250,3740,3254,2114,2365,3244,2559,1572,2079,2248,2541,2281,2106,2085,1609,1615,1927,1757,1783,2194,3331,3449,2727,2396,2541,2715,3043,3177,3019,2988,2974,3155,2996,2793,2730,2670,2711,2746,2639,3044,2996,2719,3006,3400,3335,3096,2844,2984,2909,2655,2646,2931,2966,2972,3090,3237,3496,4223,4609,4092,3357,3227,3632,3493,3177,3266,3299,3180,3497,3618,2621,1904,2296,2967,3416,3485,3239,3009,2867,2702,2658,2875,3153,2992,2927,3045,2973,3082,3355,3188,3132,3239,2871,2912,3407,3723,3396,2574,2101,2013,2052,2197,2287,2195,2403,2758,3120,3140,3375,3449,3395,3386,3112,3146,3267,2828,2523,2249,2217,2177,2113,1936,1676,1831,1999,2067,2291,2508,2368,2236,2371,2527,2107,1777,1767,1915,1750,1908,1890,2491,2687,2243,2136,2384,2618,2559,2267,2303,2218,2302,2322,1874,1947,1909,1803,2048,2090,1677,1966,2492,2425,2333,2394,2253,1624,1524,1664,1762,1779,1283,1115,1239,1337,1540,1721,1993,2171,1970,2456,2498,2187,1818,1846,2096,1739,1816,2057,2078,2076,2131,1847,1598,1671,1874,2027,2123,2162,1955,1837,1785,1679,1458,1489,1710,1815,2126,2664,2914,2578,2354,2418,2613,2695,2623,2429,2551,2567,2416,2602,2171,2366,2084,2755,2930,2843,2397,2131,2315,2149,2305,2432,2387,2412,2603,2286,2212,2402,2548,2491,2248,2040,2387,2706,2740,2489,2648,2612,2053,1967,2155,2416,2293,2199,2372,2524,2655,2685,2359,2337,2339,2321,2156,2092,2833,3137,2414,2165,2889,3462,3526,2962,1227,1096,2549,2876,1874,1541,1637,1750,2326,2611,2350,2017,2563,3317,2779,2176,2564,2929,3662,4202,4392,4292,3152,2544,2490,2349,2730,2718,2203,1851,2175,2752,2598,1914,1977,2267,2885,2889,2923,3348,3584,3239,2500,2097,1649,1774,2529,3121,3112,2701,1607,1280,1651,2479,2820,2138,1554,1909,2135,2058,2728,3545,3426,2641,2488,2733,2607,3118,3342,3078,3128,3178,2912,2833,2195,2025,2329,2622,2539,3148,3003,2611,2579,2508,2545,2416,2455,2939,3489,3536,2940,2894,2984,2285,1941,2846,3473,2896,2855,3329,3160,2987,3017,3151,3252,3058,3499,3472,3272,3397,3327,2460,2264,3082,3793,4062,3364],[3203,3150,3165,3243,3158,2965,3116,3257,3156,3062,3071,3202,3652,3637,3729,3969,4155,3488,2695,2708,3212,2844,2514,2988,2415,2805,2176,1675,2139,2647,2873,2584,3045,3154,2657,2626,2623,2188,2286,2290,3218,3952,4086,4100,3852,4005,4111,4203,4417,4357,4205,4185,4219,4016,3601,3686,3618,3463,3505,3569,3592,3507,3398,3430,3387,3350,3608,3531,3263,3309,3260,3393,3667,3587,3081,2845,2971,2866,2955,3282,3385,3488,3292,3367,3348,3133,3110,3462,3783,3821,3614,3405,2809,2265,2141,2809,3608,4030,3704,2608,1822,2106,2137,2233,2214,2533,2884,2942,2902,2859,2648,2620,2302,2416,1667,1942,2349,1858,1890,1976,1913,2101,2122,2112,2281,2275,2317,2216,2227,2267,2710,2867,3352,3257,2545,2452,2289,2662,3394,3199,2297,2589,2199,2039,2353,2851,3272,3165,3014,3470,2950,1993,1984,2953,2697,2139,1957,1979,1618,1635,1848,1528,1614,1824,1967,1872,2402,2461,2122,2520,3156,3260,3212,2346,1869,2344,2186,1695,1423,1811,2177,2001,2429,2197,2142,2019,2064,2181,2789,3042,2237,1611,1984,2253,2308,2412,2836,3211,3083,2237,1823,1966,1832,2343,3195,3359,3386,3552,3234,3019,3184,3006,2303,2835,2625,2480,2472,2104,1909,2289,2511,2056,1718,1786,1742,1746,1790,2049,2023,1783,1510,1629,1499,1559,1906,1975,1680,1806,1759,1706,2297,2447,1902,1951,1858,2074,1919,1704,1749,1920,1896,1914,1824,1713,1833,1870,1904,1871,1704,2349,2578,1921,1688,1716,1813,1701,1688,1426,1638,1908,2680,2413,1774,1017,1720,2729,2757,2511,2631,2864,3077,3222,3261,3264,3355,3328,3084,2930,3020,3393,3557,3199,3175,2864,2007,1813,2170,2085,1880,1765,2101,1845,1591,1590,1688,1812,1444,1443,1664,2216,2832,2518,2305,2375,2286,2080,2285,1995,1825,2487,2995,2974,2770,2977,2855,2983,3528,3808,3494,3140,2832,2651,2597,2364,2264,2426,2523,2901,3397,2884,1937,2175,2899,2700,1888,1763,1843,1567,1584,1588,1665,2032,1859,1799,1685,1474,1489,1471,1785,1902,1732,1550,1593,1812,1914,2126,1913,1716,1867,2014,1840,1716,1702,2066,2110,1693,1758,1791,1662,1509,1539,1479,1738,1643,1547,1338,1637,2417,2221,1572,1612,1908,2026,2071,1963,1822,1784,2340,3022,3229,3040,2318,2242,2806,2444,2027,2060,1584,1685,1972,2476,3078,2972,2578,2692,2425,1880,1693,1583,1829,2036,1946,1616,1308,1581,1849,1830,1871,1849,1618,1494,1358,1535,1551,1443,1738,1961,1713,1769,1581,2118,2257,1911,1957,2291,2298,2072,1986,1929,2402,2535,2259,1898,2218,1973,1803,2388,2269,2094,2110,1616,1654,1728,1942,2061,1927,1674,1664,1600,1853,2350,2214,2226,2060,1648,1545,1448,1674,1890,2215,1663,1442,1562,2213,2830,2224,1683,1594,2042,2316,1924,1597,1844,2084,1672,1815,1768,1858,1970,1945,2251,2012,1656,1394,1118,1381,1716,1900,1715,1861,1887,1796,1790,2066,1744,1542,1829,2258,2118,1841,1856,1854,1608,1572,1831,1958,2082,1739,1599,2320,2907,2753,2080,1816,1890,1749,1736,2230,2464,1991,1954,2094,2324,2400,2109,1760,1884,1894,2061,1948,1947,2287,3002,3254,3771,2807,1947,1999,2046,1956,1882,1960,2120,2276,1984,2000,2350,2380,2256,2134,2111,2315,2521,2592,2543,2395,2279,1845,1743,2082,2166,1866,1526,1915,1846,1846,2464,2266,1653,1914,1968,1810,1946,2187,2044,2432,2910,2310,1819,2017,2428,2455,2220,2281,2703,2654,2332,2348,2433,2570,2668,2767,3002,3031,2878,2938,2894,2842,3068,3086,3171,3454,3282,3076,2541,2539,2263,2402,2905,2523,1682,1576,1566,1792,1874,1914,1968,1815,1836,1808,1641,1540,1547,1666,1644,1627,1827,1719,1707,1861,2115,2088,1910,1767,2162,2556,2379,2661,2824,2351,2098,2153,1810,1800,1553,1900,1896,1831,1692,1813,1772,1449,1594,1876,2010,2088,2189,2073,1791,1868,1679,1647,1744,1949,1896,1672,1767,1575,1480,1879,3164,2402,2005,2221,2873,2965,3151,3141,3203,3536,3850,4039,4200,4519,4696,4176,3352,3493,3548,3536,3632,3588,3308,2789,2402,2764,3693,4144,4396,4198,4069,4419,4308,3770,2865,2677,3629,3704,3604,3936,3986,3948,3294,3295,3868,4201,4072,3944,4327,4668,4871,4864,4871,5035,5019,4791,4804,4421,3720,2601,3307,3584,3156,3153,2946,2247,2204,3117,3946,4168,4492,4572,4528,4480,4078,4199,4144,3977,3751,3790,3972,3913,3485,2937,2382,2038,1890,1932,1854,2145,1754,1515,1630,1654,1592,1572,1699,1875,1874,1879,1621,1851,2514,2566,1869,1796,2254,2496,1986,1614,1924,2460,2531,2383,2049,2155,2038,1923,2164,2473,2360,2312,2178,1615,1549,1912,1754,1484,1404,1290,1738,2719,2669,2400,2482,2479,2222,1929,1881,2236,2208,2016,2060,2029,1876,1735,1948,1998,1853,1591,2208,2498,2090,1531,1419,1521,1668,1699,1636,1542,1414,1320,1295,1673,1844,1617,1655,1708,1639,1597,1915,1586,1440,1445,1667,1638,1575,1644,1731,1749,2083,1949,1831,1844,1965,2104,2510,2039,2012,2636,2678,2262,1980,2010,2080,2092,2024,1892,1874,2078,1742,1553,1647,1597,1593,1924,2200,1967,1998,2370,2534,2578,2687,2075,1960,2258,2353,2040,1850,1621,2445,3100,2611,2754,3418,3042,3270,3120,2287,2426,3895,4344,3803,3532,3232,3303,3952,4112,3939,4168,3983,3701,3948,4509,4128,3445,3574,3012,2637,3146,3211,3143,3604,3992,4029,3574,3354,3444,3702,3710,3474,3522,3433,2747,3062,3784,3355,3132,2985,3082,3316,3123,3294,3321,2859,3002,2769,2652,2596,2437,2137,2409,2884,3210,2500,2411,1982,1814,2168,2287,2373,2587,2728,2987,2895,2690,2676,2526,2934,3006,2478,2313,1974,2377,2900,3115,3409,3780,3664,3591,3614,3315,3251,2690,2496,2504,2928,2852,2873,3052,2619,2293,2481,2962,3296,3417,3436,3009,2984,3326,3097,2751,2062,1672,1704,2027,2310,2390,2452,2378,2808,3225,2755,2838,3205,2849,2244,1689,1610,1734,2062,2843,2905,2687,2286,2062,1845,2112,2192,2298,1946,1633,1742,2356,2376,1775,1985,1940,1736,1839,1858,1773,1721,1782,1919,2441,2731,2061,1911,2292,1753,1627,1819,2498,2622,1998,1741,1899,1850,1881,1632,1633,1890,1931,1832,1851,1894,2026,2111,2570,2792,2016,1535,1505,1732,1734,1669,1674,1584,1617,1414,1424,1521,1591,1715,1767,1787,1720,1502,1600,1793,1526,1311,1322,1303,1365,1606,2147,1819,1493,1440,1599,1722,1850,1761,1440,1465,1662,1477,1536,1359,1367,1461,1380,1396,1462,1324,1405,1461,1377,1450,1591,1622,1537,1767,1527,1510,1555,1482,1552,1500,1528,1534,1378,1538,1649,1861,1687,1432,1372,1361,1337,1352,1175,1333,1836,1931,1824,1687,1757,1942,1876,1627,1549,1573,1766,1942,1968,1765,1779,1971,1723,1493,1492,1681,1512,1743,2217,2615,2379,1869,1764,1810,1779,2095,2184,1807,1948,1918,1636,1206,1309,1395,1377,1282,1581,1867,2500,3322,3552,3278,3299,3389,3201,2916,3321,3828,3958,3572,3549,3674,3420,2963,2985,3348,3131,2008,1898,2500,2547,2685,2759,2791,2940,3077,3007,2829,3437,3288,2522,2320,2320,2541,3510,2548,2155,2102,1676,1498,1642,1764,1521,1535,1482,1516,1548,1540,1770,1947,2188,2175,2519,2615,3054,2632,1929,2042,1904,1642,1493,1616,2008,1982,2477,2689,2435,2334,2711,2687,2360,2160,2056,2144,2402,2589,2458,2148,2261,2165,1796,1878,2503,2740,2359,2375,2380,1891,1658,2004,3096,3039,2752,3039,2980,2864,3045,3603,3288,2924,2807,2676,2835,3133,3274,3212,3002,2428,2909,3343,3621,3195,2619,3212,3606,3481,2912,2249,2238,2492,1284,787,1158,1406,2050,2308,2117,1898,1612,1800,1836,1699,1675,2100,2759,2696,2573,2577,2562,2673,2924,2995,2907,2867,3000,3154,2973,2830,2754,2721,2699,2577,2553,2720,2707,2600,2748,2995,3051,3003,2875,2728,2324,2332,2586,2751,2855,2752,2774,3230,3631,4081,4289,3892,3585,3646,3706,3642,3520,3360,3243,3414,3777,3838,3037,2213,2718,3134,3312,3262,3060,3230,2512,1813,1693,2007,2603,2906,3041,3219,3100,2840,3078,3201,3243,3218,2231,2408,3002,3364,2798,2191,1995,2086,2597,2899,2348,2278,2967,3152,3076,2911,2898,3041,3188,3112,3038,3354,3447,3414,3508,3244,2611,2465,1946,2107,2098,2059,2295,2333,2438,2732,2676,2442,2660,2921,2347,1718,1685,1629,1574,1696,2122,2877,3122,2827,2536,2549,2448,2294,2700,2999,2592,2365,2082,1886,1630,1418,1675,2160,2021,1830,1712,2083,1950,1910,2234,1859,1541,1554,1848,1981,1623,1402,1744,1953,1660,1692,1870,1973,2392,1999,2454,2596,2097,1821,2023,2428,2044,1973,1807,1734,1904,2332,1997,1588,1601,1888,1900,2083,1941,1758,1918,2033,1882,1786,1784,1832,1902,1979,2113,2054,2075,2459,2987,3111,2940,2940,2873,3540,3508,3441,3067,2558,2219,2365,2884,2621,2040,2214,2271,2397,2428,2557,2409,2410,2686,2386,2555,2478,2267,2186,2141,2015,2061,2627,2678,2602,2856,3344,3195,2551,2154,2374,2653,2451,2471,2686,2831,2909,2752,2379,2295,1988,2292,2289,2531,3469,3009,2197,2052,2126,2655,2858,2396,1578,1891,2386,2266,1754,1421,1499,1974,2987,3134,2385,2307,2460,2918,2781,2194,2462,1981,2564,3520,4015,3262,2492,2353,1960,2389,2777,3003,2725,2491,2536,3144,3108,2292,2028,2630,3178,3115,2995,2917,3074,2528,2141,2040,1766,2365,3264,2817,2413,2759,2311,1732,1800,2160,2254,2192,1860,2088,2188,2375,3104,3758,3410,2370,1921,2141,2634,3373,3917,3688,3105,2617,2370,2630,2367,2391,2530,2818,3115,3118,2723,2285,1553,1753,2446,2390,2603,3140,3486,3482,3278,2846,2457,2315,3055,3599,3172,2989,3470,3421,3206,3188,3411,3938,3794,3937,3978,3784,3565,3353,3050,2437,2623,3253,3373,3763,3474],[3115,3037,3217,3313,3119,2997,3052,3166,3153,3319,3227,3143,3251,3700,4042,4422,3703,2655,3098,3274,3032,2102,2021,2384,2294,2723,2050,1890,2346,2985,3195,2926,3196,3228,2595,2252,2589,2513,2066,2644,3518,3806,3992,3948,3854,4087,4204,4203,4317,4276,4184,4167,4163,3708,3497,3662,3558,3492,3598,3534,3508,3550,3527,3480,3383,3364,3317,3317,3257,3311,3400,3453,3650,3586,3300,3354,3471,3416,3185,3360,3340,3400,3160,3222,3388,3484,3550,3564,3749,4149,3633,3263,2986,2823,2697,2567,2496,2855,2918,2259,2202,2543,2543,2641,2658,2698,2764,2652,2876,3007,2767,2685,2283,2165,1724,1830,2087,2397,2386,1835,1766,2016,2289,2380,2255,1993,1858,1947,1958,1973,1925,2158,2755,2814,2251,2469,2536,3206,3824,3382,3256,3383,2497,2103,2473,2914,3285,3145,3262,3457,2680,2051,2182,2432,2030,2097,2541,2288,1632,2004,2272,1989,1488,1600,2061,2310,3016,2385,2276,3009,3277,3147,3411,2638,2160,2263,1859,2225,1931,2025,2501,2171,1771,1613,1885,2106,2041,2588,3411,3382,2296,1638,1676,1758,1746,2360,2973,3000,2518,1916,1972,1902,1845,2491,3105,3285,2984,3200,3386,3284,3123,3055,3104,3110,2642,2358,2226,2281,2109,1962,2070,1861,1794,2374,2007,1774,1888,2279,2360,1761,1636,1955,2020,1770,1722,2047,1684,1934,1926,1741,2246,2422,2205,1863,2008,2333,1957,1504,1436,1670,1780,1763,1779,1892,1627,1619,1949,1948,1992,2263,2282,2063,1739,1771,2375,2210,2106,2268,2546,2070,2164,2058,1535,1220,1568,2128,2399,2476,2752,3233,3259,3177,3155,3019,3097,3167,2652,2315,2303,2721,3480,3475,2827,2258,1666,1968,2230,1826,1617,1619,1968,1787,1521,1448,1434,1664,1469,1801,2182,2322,3079,3275,2829,2570,2070,1810,2173,2279,2525,2967,2900,3243,2432,2453,2584,2523,3099,3542,3586,3140,2370,2007,2206,1930,2037,2692,3064,3330,3432,2640,2212,2309,2087,1506,1387,1602,1866,1671,1836,1735,1624,2082,1994,2240,2231,1803,1562,1576,2058,2202,1794,1642,1509,1764,1819,2445,1791,1413,1987,2082,1918,2024,1820,1676,1791,1661,1947,1931,1815,1779,1951,1685,1620,1965,1926,1626,1716,2043,1824,1564,1472,1881,1776,1965,2153,2007,2013,2683,3251,3173,2849,2276,1831,2159,2212,2636,2578,1780,1863,1847,1889,2031,2258,2801,2902,2352,1743,1537,1747,2371,2548,2039,1714,1688,2170,2269,2067,2027,1688,1409,1476,1610,1668,1730,1743,1771,1560,1378,1466,1384,1759,1935,1800,1830,2118,2470,2328,2353,2106,2653,2349,2173,2307,2106,1699,2111,2426,1751,1678,2093,1975,1903,1634,1747,1834,2135,2075,1924,1789,1810,1752,2083,2700,2576,2172,1596,1561,1597,1753,2373,2113,1836,1914,2665,2799,2218,1863,1656,1780,2026,1775,1658,1816,1864,1632,1678,1533,1644,1879,2214,2718,2793,2563,1789,1278,1620,1815,1790,1969,1920,1842,1776,1959,1967,1864,1813,1836,1669,1577,1691,2270,1879,1605,1644,1615,1572,1815,1582,1285,1664,2143,2093,1687,2247,2453,2004,2190,2154,2177,2385,2642,2957,3315,3142,2137,1726,1828,1897,1932,2026,1939,1869,2087,2927,3695,2801,1852,1832,1995,2092,2008,2148,2105,2100,1997,2093,2371,2412,2268,2210,2384,2476,2451,2200,2188,2337,2059,1789,1642,1987,1935,1897,1910,2042,2051,2166,2178,1743,1884,2417,2118,2075,2363,2452,2408,2683,2357,1925,1743,1731,1997,2247,2259,2467,3011,2666,2411,2451,2500,2556,2598,2657,2805,2833,2799,3023,3289,3128,3363,3415,3276,3398,3015,2546,2304,2375,2354,2525,2925,2561,1758,1837,1924,2061,1700,1686,1776,1809,1890,1853,1733,1670,1882,2060,1930,2148,2206,1711,1701,2116,2345,2028,1722,1561,2170,2822,2706,2268,2519,2957,2637,2303,1733,1569,1456,1553,1553,1539,1606,1931,1797,1579,1881,2424,2448,2479,2189,2030,1819,1663,1632,1584,1636,2026,1791,1714,1984,1970,1723,2092,2880,2162,1915,2457,2820,3176,3432,3242,3123,3351,3903,4364,4444,4488,4368,3936,3764,4144,4025,3849,3754,3304,2628,2145,2083,2457,3443,4360,4500,4363,4544,4707,4652,4288,3123,2853,3816,4426,3930,3426,3514,4172,3919,3967,4580,4519,4171,4383,4693,4828,4921,4956,5007,4891,5020,4862,4779,4289,3207,2988,3437,3020,2822,2876,2093,1901,2892,4321,4652,4319,4267,3925,4041,4140,4252,4227,3827,3580,3452,3449,3657,3396,2921,2270,2042,1946,2023,2121,2482,2451,1953,1818,1637,1637,1673,1652,1738,2468,2459,2036,1948,1999,2777,2779,2248,2276,2442,2285,1863,1818,1938,2270,2264,2492,2566,2806,2743,2303,2124,2001,1809,1920,1948,1796,1677,1654,1635,1631,1562,1650,2360,2941,2712,2309,2380,2454,2159,1935,1879,2140,2148,1824,1639,1790,1827,1661,1630,1726,1567,1620,2153,2202,2208,1629,1374,1550,1665,1611,1715,1717,1585,1554,1754,2186,2498,1903,1605,1609,1522,1685,1989,1650,1633,1525,1881,1859,1438,1587,1626,1992,2928,2680,2465,2131,2105,2332,2303,2215,2190,2702,3112,2851,2544,2523,2385,2060,1813,1517,1692,2240,1970,1743,1752,1556,1478,1730,1960,1685,1660,1742,2163,2024,1916,2172,2105,2092,1962,1941,1821,1746,2675,2996,2577,3139,3630,3090,2942,2376,2016,2481,3761,3919,2953,2304,2319,3007,3837,3875,3459,4320,4460,4066,4095,4277,3709,3133,3140,3111,3373,3407,3112,3166,3633,3914,3953,3442,3444,3465,3485,3263,3373,3486,3144,2485,2596,3466,3416,3096,2959,3146,3263,2308,2384,2503,2620,2687,2410,2460,2756,2515,2129,2752,2877,3328,2626,2774,2258,1953,1992,2185,2406,2350,2894,3467,3526,3122,2578,2298,3068,3166,2735,2523,2845,3201,3373,3312,3185,3132,3198,3458,3207,3049,2879,2333,2279,2196,2639,2850,3040,3377,2980,2415,2631,3328,3382,3278,3041,2775,2657,2928,3056,3040,2308,1607,1685,2200,2898,2827,3130,3083,3308,2883,2760,3007,3176,3028,2298,1760,1846,1967,2316,2755,2720,2747,2352,2150,1891,1798,1885,2119,2003,1909,1832,2308,2678,2109,2209,1919,1821,1619,1502,1608,1785,1640,1754,2350,2574,2493,2523,2614,1923,1771,1869,2458,2576,1887,1717,1510,1568,1762,1473,1337,1482,1656,1477,1656,1953,1975,1631,1811,1789,1509,1418,1521,1609,1734,1863,1687,1655,1379,1392,1454,1533,1600,1637,1570,1508,1499,1439,1503,1720,1499,1496,1556,1436,1342,1353,1577,1443,1500,1538,1316,1434,1693,1607,1542,1582,1761,2058,1815,1424,1542,1571,1383,1517,1563,1592,1625,1717,1576,1368,1329,1403,1325,1370,1365,1466,1514,1366,1382,1513,1635,1743,1547,1618,1610,2082,1800,1490,1343,1241,1342,1421,1292,1610,2185,2034,1540,1760,2801,2634,2260,1376,1040,1300,1605,1988,2002,1763,1909,2033,1758,1566,1559,1676,2238,2294,1942,2217,2287,1807,1497,1341,1453,1839,1934,1772,1936,1871,1447,1283,1325,1342,1383,1373,1560,1903,2258,2806,3522,3393,3646,4081,3815,3522,3739,3899,3907,3837,3908,3812,3317,2720,3050,3177,3105,2030,2190,2897,2562,2821,3117,2451,2038,2720,2845,3141,2896,2489,2187,2541,2665,2999,3793,2968,2807,2465,1742,1739,1670,1460,1452,1474,1567,1583,1508,1464,1682,2030,2129,2191,2600,2863,3060,2938,2470,1992,2033,1574,1593,1787,1929,2096,2348,2394,2218,2353,2445,2292,2044,1813,2111,2399,3101,2990,2889,3177,2957,2670,2375,2201,2769,3024,3043,3112,2764,2166,1824,2191,3053,3074,2829,3233,3131,2533,2662,2865,2601,2421,2453,2766,3015,3217,2879,2629,2488,2056,2622,3008,3096,2700,2154,2985,3197,3161,3311,2858,2835,2143,1524,1221,1403,2052,2832,2591,2055,1817,1802,1944,1736,1708,2127,2936,2735,2841,3212,3044,2773,2820,2954,2888,2819,2752,2784,2741,2688,2840,2921,2962,2769,2727,2683,2490,2468,2649,2844,2813,2596,2805,3061,2621,2411,2913,3006,2820,2890,2777,2920,3197,3219,3284,3563,3731,3642,3548,3637,3717,3499,3226,3250,3684,3810,3675,3442,2999,3205,3334,3334,3183,3027,3048,2291,1650,1495,1522,1763,2250,2872,3260,3396,3189,2979,3019,2932,2766,2669,2656,2755,3006,3093,2651,2235,2430,3098,3491,3055,2932,3441,3462,3150,2906,2834,2867,2769,2773,2813,3328,3529,3322,3441,3577,3210,2603,2128,2346,2150,2231,2494,2793,2683,2834,2843,2568,2421,2455,2619,2232,1705,1637,1957,2548,2791,2975,2767,2503,3125,3363,2557,1956,2640,2734,2434,2204,1902,2025,1752,1601,2106,2275,1888,2282,2198,2255,2116,2438,2477,2093,1983,1691,1901,1977,1649,1824,2624,2670,2402,2131,1914,2158,2615,2469,2176,1981,1828,1929,1936,1982,2018,1995,1938,1643,1832,2050,1891,1620,1923,2094,1788,1966,1755,1770,1902,2033,1809,1797,1821,1733,1713,1686,1576,1660,2002,2932,3397,3437,3146,3161,3405,3906,3934,4049,3882,3274,2445,2319,2592,2467,1993,2632,3081,3206,2749,2466,2518,2722,2626,2868,2910,2485,2356,2080,1934,1961,2271,2854,2522,2321,2622,2833,2644,2490,2775,2933,3035,2691,2421,2338,2442,2500,2578,2532,2427,1885,1597,1876,2656,3160,2368,2087,2100,2139,2085,2000,2190,2463,3186,2522,1676,1150,980,1376,2196,3113,2616,1948,2030,1772,2056,2309,2392,2241,2133,2732,3067,2769,2319,2618,2648,2623,2525,2366,3058,2940,2513,2518,2855,2789,2258,1949,2420,2968,3062,3095,2894,2509,2105,2169,1910,2465,3130,2722,1796,1761,2267,2446,1897,1533,1713,1966,1847,2034,1853,2066,2316,2764,3178,2883,2500,2442,2278,2384,2673,3885,3583,3495,2619,2273,2370,2205,2191,2450,2951,3038,2865,3107,3338,2735,2434,2633,3093,3338,3244,3394,3418,3015,2686,2691,3175,3791,3210,3291,3791,3595,3486,3440,3592,3617,4050,4013,4249,4637,4516,4019,3698,3027,2573,2588,2874,3064,3005,2831],[3032,3011,3073,3208,3084,2964,3095,3060,2869,2852,2822,2974,3274,3434,3803,4094,3011,1903,2610,2956,2531,1851,1928,2246,2522,2571,2214,2570,2669,2603,3162,3106,2828,3019,2569,2458,3041,2742,2313,3028,3645,3586,3624,3777,3758,3874,3947,4116,4252,4191,4144,4256,4084,3538,3432,3565,3420,3311,3506,3449,3488,3501,3404,3311,3166,3330,3396,3383,3308,3365,3462,3520,3650,3645,3499,3553,3540,3528,3078,3357,3166,3054,3110,3117,3197,3494,3760,3819,3438,3602,3006,3068,3482,2851,2699,2275,1807,2075,2591,2502,2325,2733,3339,3354,2876,2496,2325,1975,2518,2713,3015,2956,2414,2044,2100,1989,2483,3039,2784,1796,1700,1715,1906,2022,1948,1862,2145,2057,1975,2396,2329,2092,2322,2375,2356,2566,3018,3486,3560,3597,3818,3964,3704,2895,2776,3155,2924,2402,2208,3020,2635,2097,2533,2991,2414,1858,2114,2149,1748,1626,1806,1944,1779,1950,2497,2331,2074,1887,2514,3243,3444,2967,1986,1524,2025,2027,1996,2571,2066,1979,2763,2022,1670,1685,2114,2370,1936,2388,2824,2557,2149,1834,1894,1864,1742,2596,3242,2979,2474,2061,2168,2220,2187,2320,2294,2806,2607,3042,3208,3094,2955,2850,2924,2680,2298,2033,2229,2430,2598,2452,2175,2083,1827,2166,1837,1994,2614,2700,2200,1635,1464,1793,2229,2178,1865,2016,1829,2005,1996,1740,1967,2374,2283,1892,1908,2342,2378,1743,1685,1767,1975,1801,1748,1750,1650,1827,1720,1656,1814,1976,2143,1921,1561,1777,2482,2181,2289,2823,2878,2415,1794,1387,1383,1520,1766,1826,1741,1866,2568,2823,2933,2985,2875,3097,3647,3281,2259,1887,1972,2224,2872,2768,2238,2019,1686,1748,2039,1957,1697,1876,1830,1832,1678,1469,1386,1889,2242,2732,3094,3253,3743,3660,2773,2225,2133,2033,2217,2635,2626,2790,2482,2586,1785,1688,2032,2625,2900,2574,2692,2702,2164,2017,2431,2293,2503,2735,2733,3011,3432,2975,2485,2524,2242,1455,1665,1764,1799,1703,1958,2068,2002,2144,2112,2533,2541,2419,2222,1609,2341,2370,1738,1658,1650,2022,2130,2744,2170,1430,1803,2398,2504,2320,1722,1777,2161,2198,1892,2049,1842,2062,2486,1976,1745,2143,2138,1876,1832,1807,2004,1953,1619,1900,2078,2985,3044,2485,2420,2562,2562,2050,1982,1928,1622,1765,1654,2063,1836,1989,2120,1914,1794,1882,2587,2856,2194,2218,2156,1748,2172,2868,2750,2321,1879,1877,2490,2397,1758,1705,1512,1376,1388,1613,1715,2066,2220,2260,1726,1296,1496,1793,1851,1638,1564,1669,2054,2527,2752,2718,2890,3296,2679,2191,2270,1991,1812,2112,1777,1666,1979,1985,2150,1951,2010,1975,1906,2565,2944,2496,2315,2161,1830,2073,2241,2600,2322,1930,1742,1761,2136,2573,2171,1953,2386,2918,3428,3069,2222,1920,1560,1668,1650,1652,1801,1960,2192,1908,1528,1541,1967,2458,2669,2963,2789,2081,1657,1631,1722,1686,1542,2108,2320,1892,1874,1966,1948,1798,1649,1751,1832,1802,1971,1700,1542,1592,1527,1719,1954,1447,1461,1892,2349,2263,2358,2386,2092,1947,2200,1568,1490,2778,3561,3295,3356,3213,2178,1613,1539,2338,2093,2164,2172,2006,1799,2266,2887,2503,1828,1697,1732,1854,2008,2120,2161,2128,2101,2195,2338,2548,2607,2482,2567,2199,2092,2169,2126,2037,2055,1770,1479,1752,1903,2144,2578,2346,1942,2435,2161,1856,1939,2244,2128,2206,2390,2219,2449,2487,2026,1807,1854,1753,1783,2140,2221,2419,2764,2514,2424,2500,2523,2555,2586,2624,2618,2886,3064,3132,3350,3420,3473,3416,3247,3186,2837,2478,2200,2364,2964,2857,2382,2003,2030,1919,2133,2006,1784,1830,1755,2026,2486,2362,1646,1760,2004,1697,1753,2131,2042,1712,1682,2028,1866,1555,1626,1827,2056,2135,2509,2321,2264,2878,2678,2214,1872,1744,1942,2044,2008,1746,1659,1846,1845,1976,1754,1942,2282,2248,2190,1902,1662,1644,1870,1678,1786,2048,2072,2301,2178,2248,1855,1796,2380,2378,2403,2445,1909,2323,2968,3307,2998,2964,3352,4149,4380,4312,4356,4271,4212,4212,3918,3520,3288,2826,2401,2104,2120,2695,3698,4628,4700,4564,4672,4627,4627,4275,3340,3531,3994,4317,4080,3685,4097,4185,4148,4588,4996,4965,4800,4702,4821,4901,4949,4940,5073,4996,5192,5268,4856,4169,3066,3226,3516,2685,3112,3514,3416,3569,4184,4645,4628,4496,4336,3894,3527,3269,3680,3855,3688,3735,3746,3472,3574,2890,2223,2048,1967,1973,2139,2072,2227,2448,2219,1945,1598,1656,1498,1662,1846,3050,2613,2068,2131,1923,2163,2468,2491,2910,2640,2051,2046,2018,1878,1874,1958,2123,2328,2688,2586,2303,1970,1777,1948,2152,1911,2059,1964,1621,1709,1890,1904,1865,2040,2353,2242,1811,1977,2198,2159,2540,2409,2548,2574,1997,1761,2062,1990,1714,1524,1394,1656,2240,2396,2209,1946,1622,1465,1534,1551,1600,1680,1779,1568,1587,1840,1932,1947,1627,1487,1482,1436,1497,1552,2055,2424,2232,2252,1918,1532,1792,1833,2289,2718,2944,2614,2385,2059,2406,2441,2137,2358,2924,3024,3018,2686,2405,2155,1670,1421,1673,1756,1911,1991,1964,1697,1587,1408,1585,1993,1781,1505,1964,2232,1677,1882,2198,2037,2129,1952,1957,2164,2620,3100,2777,2905,3376,3249,2833,2186,1935,2353,2475,3041,3505,2755,2053,2642,3242,3510,3625,3096,3840,4420,4440,4299,4244,3780,3396,3118,3264,3585,3266,3000,3202,3377,3553,3704,3717,3532,3278,3296,3465,3595,3350,3015,2801,2802,2995,3374,3175,3021,3212,3428,2652,1833,1863,2270,2109,1648,1953,2415,2517,2554,2676,2562,3085,3042,2920,2453,2213,2453,2482,2076,1960,3208,3775,3716,3141,2621,2486,3072,3265,3051,2956,3090,3274,3285,3233,3248,3450,3261,3492,3527,3784,2732,2085,2812,3091,2658,2257,2976,2996,2652,2809,2856,2837,2448,2402,2104,2425,2701,2666,2823,2639,2018,1555,1790,2833,3356,2962,2963,3018,3436,2807,2762,3082,2708,2352,2471,2227,1917,1957,1867,1959,2067,2453,2648,2257,2037,1873,2078,2211,2424,2553,1982,1879,2586,2260,2153,2005,1749,1568,1554,2132,2469,1863,1876,2256,2182,2486,2254,2475,2128,1867,1670,1812,1786,1493,1418,1532,1736,1939,1570,1405,1467,1654,1669,1917,1988,1757,1509,1429,1548,1455,1528,1500,1604,1785,2101,2190,2010,1666,1368,1350,1560,1524,1513,1721,1517,1421,1362,1463,1522,1409,1514,1450,1405,1707,2146,1859,1432,1732,1844,1368,1413,1541,1709,1634,1946,1873,2126,1764,1448,1570,1510,1500,1560,1489,1908,1778,1768,1495,1508,1418,1394,1346,1368,1476,1520,1510,1437,1553,1719,1888,1909,1626,1484,1476,1470,1427,1528,1589,1489,1544,1504,1478,1506,1828,1928,1478,1596,2863,2887,2369,1533,1473,1647,1613,2050,2348,2381,2443,2113,1930,1835,1773,1712,1804,1738,1643,1842,1956,1605,1351,1422,1509,1808,1775,1858,1859,1786,1432,1370,1466,1392,1318,1323,1470,1823,2201,2416,3485,3564,3824,3907,3713,3807,3894,3786,3791,4019,3912,3663,3442,3310,3536,3119,3040,2202,2507,3294,3186,3320,3450,2426,1808,2404,2667,2619,2487,2270,2307,2379,2190,2896,3683,3344,3002,2428,1967,2434,2358,2412,1959,1828,1761,1474,1496,1449,1651,1952,1787,1568,1749,2149,2240,2321,2476,1866,1488,1489,1753,1748,2002,2586,2909,2585,2057,1972,1967,2166,2712,2661,2419,2452,3245,3046,2982,2997,2619,2597,2529,2087,2555,2732,2894,3212,3044,2545,1981,2500,2972,2723,2816,2930,2688,2612,2685,2607,2328,1893,1863,2330,2576,2480,2241,2587,2832,2404,2280,2607,2619,2722,2541,2939,3011,2687,3100,3137,3315,3076,2290,1743,1656,2332,2996,2701,2720,1830,1787,1874,1862,2162,2811,3131,3089,3287,3282,2964,2800,2975,3266,2988,2972,2876,2786,2696,2621,2886,3002,2997,2943,2910,2806,2750,2722,2668,2548,2344,2306,2787,2819,2633,2720,2856,2733,2688,2760,2899,3310,3288,2853,2713,3012,3303,3215,3061,3662,3938,3752,3535,3602,3707,3179,3041,3150,3076,3166,3177,3143,3116,3299,3529,3269,2764,1912,1466,1423,1456,2069,2968,3410,3349,3323,3139,2471,2481,3342,3452,3165,3272,3394,3166,2807,3016,3226,3306,3308,3178,3282,3271,3076,3006,3262,3310,3218,3077,3067,3163,3082,3140,3377,3344,3427,3132,2739,2463,2251,2466,2309,2435,2313,2405,2633,2714,2333,1882,1754,1686,1759,1969,2257,2632,2491,2570,2652,3117,3591,3259,2743,2644,2836,2479,2091,1970,1782,1648,1725,2174,2232,1632,1398,2082,1903,2104,2382,2282,2477,2814,2752,2278,1801,1956,2431,2458,2602,2767,2813,2580,2192,2228,2409,1982,1814,2225,2121,2302,2020,1665,1958,1983,1894,2097,2333,2201,1903,1956,2018,2171,2084,1855,1838,1784,1723,1883,1787,1849,1739,1541,1621,1626,1755,1766,1851,2824,3717,3925,3664,3527,3657,3904,4070,4094,4240,3946,2742,2100,2622,2719,2735,3120,3900,3934,3383,3436,3442,2729,2607,3013,2742,2737,2674,2790,2411,2317,2837,2801,2676,2792,2127,1946,2228,2222,2622,2858,2780,2025,2041,2038,2396,2415,2752,2556,2353,1981,1709,1888,2151,2432,2299,2260,2746,2662,1927,1560,1443,1768,2588,2429,1707,1182,1180,1438,2005,2460,1997,1936,2106,1594,1485,1767,2415,2530,2430,3034,3074,2054,1986,2250,2540,2999,2313,1950,2671,2518,2195,2389,2697,2509,1923,1816,2391,2806,3085,3103,3140,2972,2489,2237,2577,3044,2684,1848,1420,1500,1898,2132,1994,1694,2093,1850,1972,1892,1699,1810,2354,3076,3233,3272,3300,3071,2519,2750,2665,3552,3230,2877,2188,1952,1896,2150,2397,2280,2247,2648,2967,3416,3330,3045,2553,2754,3688,3851,3272,3092,3094,2910,2888,3340,3462,3342,3282,4052,4220,3906,3509,3522,3742,3874,3896,3818,4062,4352,4200,3664,3400,3335,3295,3175,3026,2705,2631,2245],[3109,2995,3226,3619,3729,3378,2939,2568,2676,2679,2783,3063,3350,3627,3938,3427,2774,2483,2458,2692,2291,1965,1892,2186,2634,2224,1935,2585,2985,2478,2968,2981,2604,2359,2388,2615,2731,2446,2333,2990,3713,3715,3790,3786,3697,3761,3861,4089,4220,4139,4124,4240,3860,3414,3549,3718,3440,3254,3443,3529,3557,3522,3356,3209,3117,3365,3521,3401,3153,3023,3232,3416,3573,3286,3407,3874,3598,3131,2966,3074,2962,2983,3076,2950,3211,3658,3663,3557,3226,2907,2778,2639,2903,3132,2823,2320,2007,1908,2539,2634,2269,3100,2867,2743,2171,2240,2080,1767,2087,2445,2802,2919,2332,1877,2143,1910,2681,2477,2005,1716,1790,1960,2192,2073,2119,2034,2010,2071,2218,2460,2636,1835,1989,2021,2210,2389,2917,3033,2975,3276,3573,3872,3884,3707,3541,3095,2463,2212,2256,2740,2556,2391,3153,3222,2710,2223,2122,2453,1912,1581,1678,2055,2685,2663,2632,1819,1534,1746,2460,3322,3278,1980,1398,1731,2204,1968,2294,2191,2171,1854,1716,1654,1753,1674,1932,2020,1691,2293,2260,1810,1769,1738,1927,1762,1824,2566,2848,2956,3011,2404,2164,2175,2430,2813,2359,2171,2558,2839,2741,2743,2648,2852,2900,2414,2069,2203,2697,2447,2330,2640,2514,2215,2056,2337,2166,2324,2542,2150,1774,1659,1760,1903,2041,2045,2146,2177,1729,1580,1758,1853,2050,2008,2182,2592,2048,2075,1912,1704,1789,1652,1592,1372,1403,1758,2044,1950,1753,1758,1931,2127,2080,1979,2014,1975,2416,2159,1771,1920,2154,2339,1873,1497,1533,1484,1681,1707,1747,1895,1958,1681,1814,2300,2820,3313,3618,3373,2335,2400,1979,2049,2580,2360,2537,2396,2024,1852,2188,2243,2042,1881,1831,2361,2023,1639,1662,2076,2431,2996,3385,3538,3370,2855,2271,1999,2128,1894,1969,2381,2463,2065,2126,2028,1466,1747,2496,3494,3384,2480,2433,2285,2132,2100,2342,2170,2022,2294,2436,2505,2423,2573,2732,3025,2598,1753,1766,1958,1822,1665,1817,2386,2461,1863,1615,1822,1876,2238,2666,2496,2598,2285,1809,1627,1835,2187,2624,2923,2166,1547,1731,2230,1976,1635,1730,2060,2348,2038,1931,1993,1871,2009,2101,1699,1550,1966,1959,1843,1990,1686,1725,1773,1914,1954,2232,2905,2985,2407,1965,2077,2237,1702,1711,1773,2130,1814,1338,1447,1970,2447,2218,1693,1430,1657,2334,2011,2154,2187,2061,1773,2316,3101,2922,2500,2070,1736,2037,2191,1656,1550,1467,1451,1419,1422,1764,2446,2367,2428,2182,1675,1877,1896,1649,1632,1650,1737,1929,2723,3044,3188,3416,3221,2771,2470,2137,2092,2049,1963,1736,2128,2327,1768,1869,1674,1690,1964,1885,2263,2640,2711,3156,3135,3063,2599,1982,2020,2153,2802,2345,2232,2608,2497,2178,2423,2083,1653,2154,2431,2558,2270,1775,1587,1492,1637,1852,2320,2115,1592,1889,2100,2320,2987,3001,2353,2332,2197,1775,1663,1739,1714,1926,2588,2534,2244,2126,1861,1874,1719,1901,2534,2379,1583,1299,1444,1416,1448,1420,1558,1667,1363,1538,1731,1931,1688,1870,1886,1731,1642,1678,1338,1741,3194,3597,3227,2996,2484,2094,1216,1250,2150,2274,2241,2155,2010,1823,1976,2291,2151,1972,1939,1845,1822,1971,2037,2160,2298,2326,2291,2309,2531,2943,2703,2383,2095,2164,2331,2151,1897,1922,1677,1487,1913,2195,2300,2766,2546,2025,2120,2319,2192,2251,2404,2335,2395,2264,2420,2633,2319,1896,1858,1901,1864,2009,2189,2154,2242,2357,2422,2474,2562,2596,2592,2514,2514,2584,2908,3289,3217,3164,3087,3168,3162,3191,3217,3012,2750,2458,2689,3066,2654,2621,2433,2317,1815,1648,1752,2050,2245,2120,1946,2139,2072,1996,2116,2222,1827,1764,1786,1942,2286,2273,1919,1761,1762,1750,1809,1698,1554,1928,1815,1967,2480,2260,1941,1790,1737,1790,1849,2055,1811,1536,1709,2239,1820,1443,1644,1777,1739,1965,1955,1567,1592,1891,1565,2018,2176,2509,2405,2149,2135,2020,1780,2216,2456,2163,2291,2319,2235,2534,3433,3498,3339,3054,3635,4127,4218,4556,4584,4169,3795,3354,3163,2857,2516,2412,2285,2551,3422,4341,4585,4400,4288,3971,4023,3849,3372,3334,3965,4173,4045,3886,4052,4230,4298,4599,4928,5092,5008,4821,4940,4945,4839,4926,4892,4971,5129,5237,5044,4668,3776,2757,3548,3273,3028,3835,3906,3733,4008,4094,4289,4320,3951,3883,3867,3462,3227,3318,3654,3682,3691,3740,3582,3060,2359,2030,1950,2003,2144,2383,2235,2153,2670,2887,1969,1838,1955,1621,1762,2374,2711,2036,1768,1874,1598,1572,2100,2194,2259,1921,2197,2312,2087,2331,2008,1877,2086,2652,2546,1941,1869,1713,1728,1749,1780,1627,1731,1732,1682,1872,1851,1815,1801,1759,2000,2055,1883,1766,2245,2079,2548,2824,3241,3308,2393,1829,2023,1691,1535,1347,1328,1840,2612,2364,2058,1794,1643,1698,1692,1733,1693,1632,1920,1749,1663,1542,2046,1855,1410,1598,1751,1564,1371,1402,2221,3065,2774,2110,2075,1873,1913,1744,1901,2083,2590,2293,1643,1649,2167,2336,2536,2974,3248,2789,2684,2109,2262,2080,1788,1879,2233,1905,1418,1599,1599,1389,1664,1719,2146,2108,1810,1484,1775,1849,1899,2309,2060,1592,1718,1863,2117,1998,2764,3082,3116,3441,3091,2697,2522,2040,2052,2541,2503,2883,3244,2713,2413,2946,3216,3436,3542,3247,3425,4063,4356,4216,4153,3924,3581,3127,3109,3007,2958,2887,3064,3050,2955,3208,3527,3542,3349,3351,3539,3717,3466,3272,3256,3109,2644,3294,3444,3159,3115,3293,3051,2291,1930,2728,3101,2039,1798,2071,2326,2275,2253,2251,2499,2686,2658,2448,2667,2873,2706,2058,2171,3242,3716,3913,3363,3235,3363,3278,3231,3138,3229,3561,3438,3397,3285,3161,3342,3344,3626,3763,3639,2740,2624,3485,3550,2643,2227,3072,2429,2272,2354,2210,2073,1738,1655,2138,3205,3233,3017,3356,3044,2238,2215,2664,3327,3422,3342,2924,2511,2622,2541,2221,1910,1625,1966,2426,2206,2324,2622,1904,1835,2590,2891,2470,2254,2164,2427,2685,2335,2723,2508,2128,2153,2455,2197,1838,1699,1714,1696,1897,2144,2302,1930,1820,2247,2087,2519,2292,2114,1936,1766,1509,1414,1476,1557,1551,1748,1807,2213,1923,1741,1626,1679,1927,1890,1571,1561,1523,1444,1507,1387,1619,1772,2065,1732,1803,2141,1913,1660,1500,1507,1588,1447,1882,2571,1797,1409,1352,1450,1404,1350,1489,1403,1344,1703,1952,1836,1706,1795,1690,1405,1305,1496,2244,2149,1964,1680,1584,1539,1399,1315,1315,1466,1409,1423,1825,1812,1616,1455,1536,1475,1557,1585,1600,1862,1835,1564,1478,1875,2424,2869,2757,2117,1512,1371,1449,1457,1737,1747,1544,1610,1537,1632,1376,1438,1809,2007,1811,1941,2235,2183,1713,1421,1173,1428,1976,2264,2291,2412,2146,2034,1830,1938,1942,1750,2143,2495,2090,2084,1988,2030,1932,1729,1640,1759,1812,1806,1631,1384,1662,1792,1631,1458,1597,1583,1765,2184,2183,3219,3638,3609,3615,3816,4108,3998,3740,3647,3421,2973,3483,3591,3495,3423,3379,3297,2642,2503,3108,3362,3575,3286,2452,2704,3028,2676,2121,2014,1769,2176,2333,2228,2625,3395,3582,3221,2385,2898,3616,3253,2445,1969,2455,2131,1554,1501,1428,1573,1709,1511,1508,1765,2321,2465,2853,2610,1913,1501,1738,1876,1820,2265,2725,2597,2023,1851,1587,1857,2126,2610,2620,2066,2122,2367,2445,2303,2241,2318,1944,2259,2238,2307,2260,2292,2697,2728,2332,1843,2437,2770,2369,2529,2502,2427,2048,1790,2418,1980,1441,1803,2317,2321,1972,2231,2890,3194,2623,2286,2524,3003,3178,2617,2237,2699,2807,2984,3199,3142,2824,2512,2483,2443,2845,3063,3292,2957,1654,2100,2099,2197,3195,3731,3715,3526,3286,3118,2864,2752,3028,3545,3142,3038,3044,3014,2824,2675,2775,2834,2713,2659,2774,2928,2944,2854,2633,2499,2319,2639,2896,2679,2723,2731,2543,2553,2746,2698,2706,3031,3297,2909,2836,3085,3218,2880,2906,3410,3709,3621,3348,3664,3725,2973,2974,2791,2811,3121,3237,3210,3110,3365,3643,3792,3518,2017,1471,1345,1411,1446,2520,3442,3586,3533,3473,3103,2754,2940,3385,3419,3485,3509,3245,3053,3221,3184,3082,3054,3094,3148,3198,3246,2884,3045,3377,3422,3428,3571,3508,2996,2809,3109,3217,3298,3344,3122,2553,1973,1774,1805,2013,2543,3294,3017,2633,2403,2239,2258,2216,1823,1744,2296,2338,2231,2544,3008,3458,3453,2597,2059,2481,3032,2408,1930,1925,2077,1783,1763,2168,1800,1346,1389,1841,2169,2651,2818,2357,2769,3191,2095,1810,1738,1690,2513,2178,2008,2534,2361,1824,2144,2709,2199,1785,1982,2521,2693,2480,1837,1744,2100,2004,1690,1751,2268,2205,2305,2521,2261,2193,2092,1877,2102,1825,1651,1724,1706,1684,1598,1548,1610,1570,1618,1687,1791,2666,3708,4232,4080,3797,3716,3764,3930,3717,3469,4073,3282,2303,2473,3006,3384,3276,3541,3921,3806,3956,3778,2966,2542,2493,2765,3203,3228,3272,2861,2674,2734,2525,2825,2819,2124,1930,2863,2634,2104,2768,2769,2325,2198,2285,2524,2578,2658,2499,2285,2090,2097,2280,2488,2419,2117,2330,2665,2216,1414,929,1058,1504,1752,1968,2030,1733,1549,1629,2258,2645,2135,2178,2304,1885,1635,1899,2112,2033,2304,3204,2721,1924,2122,2366,2908,2895,2479,2159,2539,2552,2207,2425,2676,2178,1581,1687,2580,3210,3428,3181,3203,3339,2957,2771,2868,2380,1777,1712,1604,1600,1415,1563,2043,2129,2126,2111,2013,1711,1606,1541,2091,2962,3307,3949,3793,3190,2591,3273,3028,2831,2595,2289,2289,2152,1709,1909,2273,2051,2374,2813,2989,3019,2845,2396,2459,3143,3454,3346,3409,3127,2514,2433,2276,2958,3115,3479,4040,4071,4190,4479,4168,3782,3611,3753,3723,3747,3728,3993,3828,3410,3397,3044,2983,3420,3502,3109,2736,2445],[3448,2984,2979,3383,3340,3111,2075,1732,2679,2832,2778,2907,3278,3296,3065,2910,2432,2779,2808,2946,2708,2298,1977,2272,2610,2335,1925,2252,3140,2579,2486,2477,2451,2798,2964,2457,2109,2347,2768,3560,3824,3761,3860,3805,3707,3806,3730,3894,4059,4048,4125,4228,3858,3432,3488,3332,3272,3371,3573,3898,4168,3869,3516,3187,3116,3239,3087,3047,2946,2947,3084,3138,3186,2833,3146,3626,3299,2896,3098,3120,2888,2996,3066,3016,3684,3708,3693,3309,3572,3250,2702,2421,2411,2798,2938,3196,2920,2370,2666,2819,2617,3449,3278,2729,1670,1587,1881,1847,2070,2312,2463,2396,2031,2054,2485,1875,2186,2176,2165,2164,1935,2009,1978,1692,1824,1957,2231,2309,2236,2934,2766,2140,2048,2069,1901,2088,2499,2690,3044,3142,2907,2842,2434,2156,2338,2358,2260,2184,2068,2548,2888,3090,3276,2804,2758,2483,2029,2565,2293,2160,2122,2392,3042,2588,1695,1556,1543,1707,2657,3273,2801,1916,1729,2025,2564,2709,2545,1992,2142,2001,1549,1811,1850,1438,1831,1583,1896,1937,2287,2126,1999,1770,1492,1599,1965,1990,1834,2286,2749,2330,1629,1979,2810,3052,2852,2668,2764,2577,2551,2636,2552,2741,2821,2810,2507,2920,2765,2201,2010,2242,2507,2395,2588,2783,2113,1974,2000,2190,2131,1955,1980,1761,2042,2130,2115,2033,1678,2061,2381,2108,2375,2053,1968,2629,2226,2527,2040,1612,1706,1802,1809,1684,1711,2121,2185,1936,2063,2169,2458,2501,2072,2060,2270,2263,2693,2366,1530,1571,1513,1609,1636,1669,1737,1739,2281,2006,1675,1696,1483,1464,1504,1659,1727,2105,2863,2961,2636,2713,1957,2277,2412,2196,2160,2168,2143,1866,2235,2070,1735,1559,1679,1844,1695,1441,1892,2430,3042,3530,3294,3157,2840,2490,2488,2331,2296,2017,2217,2633,2452,1841,1908,1716,1689,2324,3067,3898,3617,2502,2364,2496,2201,2114,2075,1873,2080,2365,2668,2552,2363,2812,2777,3220,2989,2583,2140,2071,2375,1992,1568,2255,2455,2030,2259,2561,2211,2165,2490,2556,2120,1873,1709,1637,1835,2154,2669,2845,2308,1733,1526,1938,1975,1736,2403,2710,2968,3249,2875,2226,1977,1818,1813,1974,1870,1797,2020,2402,2942,2288,1619,1650,1745,2100,2422,2602,3060,2470,1804,1819,1820,1525,1599,2088,2941,2514,1648,1841,2372,2411,2320,1984,1826,2237,2374,1980,2262,2622,2862,2536,2552,2840,2416,2281,2468,2120,1694,1578,1615,1566,1506,1305,1335,1562,2106,2341,2164,2165,1904,1807,1810,1553,1472,1554,1608,1628,1698,2443,3234,3430,2894,2459,2426,2544,2588,2313,2035,1821,1913,2402,2388,1996,1858,1732,1907,1921,1521,1852,1984,2386,3152,3548,3598,2437,1720,1567,1829,2113,2200,2258,2074,1987,2191,2318,1971,1470,1543,1623,1789,1931,1920,1729,1476,1534,1828,2034,1559,1755,2644,3555,3322,2976,2854,2082,1888,2257,1995,1836,2235,1954,1840,1891,1819,2047,1861,1738,1860,1708,1998,2302,1974,1181,1033,1305,1361,1398,1578,1860,1634,1674,1498,1497,1693,1730,1758,2008,1705,1668,1926,1772,2425,3352,3360,3218,2684,2258,1652,1137,1471,1940,2577,2586,2090,2001,1984,1948,1892,1734,1998,1996,2037,2041,2026,2083,2182,2396,2530,2438,2454,2577,2820,2750,2369,2259,2427,2314,2348,2307,1976,1919,2050,2054,1952,2304,2698,2608,2066,2138,2303,2340,2467,2394,2446,2307,1993,2130,2255,2229,1981,2070,2074,2250,2232,2095,2253,2363,2344,2460,2473,2600,2635,2622,2497,2575,2874,3118,3230,3040,2994,2955,2877,2949,3124,3032,3088,2863,3022,3321,3071,2889,3123,3200,2570,1793,1803,1676,1676,1832,1682,1555,2104,2310,2740,2928,2852,2751,2242,1700,1768,2175,2752,2741,2273,1903,1901,1760,1632,1780,1848,2001,2213,2381,2402,2040,1758,1969,1653,1653,2376,1960,1748,1694,1912,1615,1528,1773,1852,1986,2171,1830,1255,1629,1815,1661,1783,1941,2368,2143,1964,2232,2220,1858,2048,1990,1633,1803,2290,2741,3195,3596,3862,4018,3487,3431,3971,4008,4038,4156,4188,3839,3786,3628,3275,2845,2894,2994,3072,3532,4153,4008,3962,4093,3971,4064,3242,3087,3467,3861,4004,3717,3874,4304,4508,4811,5092,5064,5084,5092,4852,4784,4581,4444,4557,4559,4837,5044,4708,4239,4295,3246,2786,3558,3591,3991,4152,3678,3691,4268,4064,3991,4096,3885,3704,3488,3276,3493,3440,3696,3784,3835,3741,3100,2384,2026,1880,1979,2130,2205,2567,2213,2126,2411,2166,1699,2018,2050,1773,1831,2190,2204,1664,1519,1439,1572,1666,1682,2060,2423,1822,2257,2291,2207,2293,2099,2076,2338,2380,2096,2142,2277,1832,1617,1455,1420,1532,1762,1816,1725,1783,1958,2249,2001,1815,1853,1724,1643,1692,1842,1898,2482,3000,3364,3409,2223,1647,1859,2294,1998,1860,2154,2543,2309,1684,1465,1362,1521,1769,1738,1559,1605,1500,1715,1867,1999,2011,2724,2359,1660,1689,1768,1638,1538,1646,1980,2163,2258,1715,1690,2050,2078,1732,1543,1592,1854,1770,1456,1644,1890,2216,2962,3278,3010,2839,2609,2088,2205,2174,1866,1842,1954,1834,1525,1774,1642,1164,1437,1857,1935,1776,1561,1532,1417,1382,1788,1973,2042,1962,1941,2012,1696,1658,2008,2706,3496,3394,2643,1982,2272,2468,2409,2564,2451,2879,3006,3120,2967,3032,3295,3362,3159,2752,2653,3425,4332,3920,3395,3438,3181,2964,3027,3023,2877,2781,2799,2794,2840,3020,3207,3355,3081,3190,3220,3531,3676,3466,3204,3322,2730,2878,3631,3505,3161,3304,3316,2906,2584,2695,2833,2092,1928,2254,2320,2132,2250,2750,2967,2372,2696,3028,3068,2492,2375,2558,2872,3151,3560,4083,3745,3217,3048,3294,3247,3127,2957,3196,3353,3564,3443,3115,3115,3384,3507,3385,3081,2426,2556,3460,3322,2732,2584,3287,2951,2580,2337,2291,2033,1704,1727,2145,2518,2612,2995,2768,2600,2700,2957,3182,3277,2919,2831,2677,2301,2255,2339,1932,1603,1721,1984,1934,2024,2435,2542,1853,1665,2263,2397,2164,2274,2647,3294,3077,2845,2806,2108,1869,2142,2008,1890,1843,1669,1515,1978,2634,2366,2658,2216,1820,2547,2364,2801,2568,1819,1858,1857,1709,1849,1753,1798,1549,1481,2098,2262,1827,1661,1533,1567,1683,1685,1776,1534,1417,1384,1392,1387,1421,1881,2182,1753,1547,1592,1513,1440,1461,1587,1483,1337,1395,2181,1688,1484,1637,1527,1318,1404,1530,1496,1495,1550,1700,1882,1492,1394,1373,1361,1495,1825,2111,1905,1594,1593,1765,1700,1440,1349,1395,1558,1574,1598,1512,1642,1632,1492,1537,1637,1605,1451,1660,2367,2298,1978,1884,2547,3219,3458,2910,1902,1425,1474,1596,1907,2032,1672,1404,1468,1404,1633,1417,1372,1595,1637,1450,1353,1490,1719,1518,1646,1364,1505,1977,2284,2197,2229,2094,1994,1853,1602,1758,2091,2943,3451,2379,2013,1670,1536,1765,1812,1660,1810,1943,1862,1556,1542,1842,1861,1760,1543,1960,1844,1715,2082,2083,2735,3549,3515,3461,3745,4039,3972,3572,3128,2552,2518,3302,3743,3742,3547,3515,3262,2515,2317,2990,2887,3185,3200,3028,3187,3068,2287,1832,1644,1560,1998,2740,2801,2018,2845,3318,3165,2666,3164,2942,2397,1815,1942,2576,2204,1664,1524,1485,1532,1676,1964,1999,2228,2378,1838,1770,1858,1826,1887,1771,1783,2470,2741,2708,2920,2081,1733,1392,1572,1422,1686,2294,2024,1732,1871,2335,2345,2512,2602,1930,2028,2214,2323,1855,2003,2424,2614,2524,2084,2058,2326,2613,2075,1657,1395,1083,1493,2381,1920,1215,1818,2674,2381,1885,2045,2421,2634,2220,2446,2180,2855,3012,2726,2899,2990,2812,2786,2862,3251,3008,2613,2763,2814,3088,3060,3007,1953,1691,2463,2363,2843,3607,3544,3518,3264,2998,2889,2863,2813,3022,3518,3186,3027,3243,3082,2734,2697,2756,2791,2529,2502,2602,2866,2818,2854,2750,2353,2416,2629,2496,2557,2543,2464,2534,2687,2731,2610,2556,2929,2986,2770,2778,3040,2906,2425,2583,2924,2935,2955,3047,3623,3948,3354,2932,2399,2355,2721,3152,3417,3370,3440,3494,2960,2573,1763,1497,1529,1570,1765,2819,3463,3540,3718,3712,3362,3162,3042,3152,3354,3484,3386,3130,3204,3194,3085,2720,2376,2873,3160,3237,3281,3032,2674,2757,3130,3500,3671,3287,2986,2944,2920,2962,3127,3161,3086,3147,2508,2102,1988,1957,2778,3484,3175,3009,2718,2314,2026,1988,1814,1918,2301,1974,2356,2962,3072,3415,3350,2567,2114,2544,2732,1970,1703,1613,1810,1832,1885,1832,1499,1432,1668,2388,3164,3958,3588,2743,3155,3023,2197,1686,1557,1686,1900,1672,1835,2132,1976,1838,2098,2691,2665,2676,2049,1898,2514,2191,1714,1966,1762,1598,1696,1911,2242,2722,2888,2404,2118,1979,1589,1700,1817,1530,1562,1733,1781,1705,1761,1574,1779,2044,2047,1954,2281,3031,3365,3610,3841,3783,3840,3618,3679,3343,3568,4388,4150,2974,2719,3602,4082,3474,3214,3827,4068,3923,3545,3095,2614,2548,2899,3574,3811,3583,3499,3222,2620,2332,2110,1774,2317,2621,3021,2501,2361,3023,3217,2946,2412,2155,2111,2422,2833,2454,2489,2175,2200,2689,2432,2309,2070,2623,2216,1751,1880,1597,1546,1818,1752,1726,1677,1851,1791,1929,2497,2721,2771,2541,2460,2244,2151,2186,1707,1637,2354,2643,2335,2014,2185,2534,3054,3200,2954,2717,2835,2941,2729,2632,2332,2009,1529,2282,2613,2956,3278,3254,3106,2986,3051,3154,2674,2314,2152,1960,1770,1690,1293,1681,2075,2014,2132,2183,2031,2107,1961,1611,1939,2686,3256,4002,3528,2797,2763,3183,3276,2864,2219,2637,3076,2421,1906,1828,2334,2998,3210,3386,3078,2900,2897,2822,2978,3161,3077,3141,3250,2740,2096,1814,1439,2067,2789,3595,3780,3793,4199,4201,3874,3664,3780,3606,3463,3377,3471,3647,3540,3460,3551,3363,3165,3187,3437,3475,3143,3104],[3816,3008,2286,2629,3189,2965,1839,1477,2603,2779,2552,2554,3053,3203,3228,2919,2630,2827,2911,2898,2553,1991,2570,3389,2952,2960,2607,2473,2254,1985,2037,2536,2674,2775,3001,2589,2286,2453,3199,4071,3885,3834,3762,3716,3716,3921,3877,3658,3695,3911,4087,4084,3592,3413,3349,3247,3291,3428,3488,3868,3985,3623,3448,3170,3141,3248,2988,3011,3139,3139,3293,3366,3234,3177,3413,3448,3142,3077,3282,3287,2951,3086,3167,3212,3509,3387,3649,3321,3523,3177,2261,2249,2164,2060,1867,3296,3142,2720,2612,2220,2419,2965,3519,3199,1913,1526,2050,1883,2069,1971,1824,1664,1845,2227,2431,1991,2167,2351,2407,2252,2135,2111,1732,1673,1957,1728,2137,2540,2179,2673,2554,2071,2040,2378,2294,2177,2353,2665,3594,3561,2543,2001,2008,2107,2271,2677,2896,2341,2035,2667,3270,3374,3150,2502,2521,2635,2517,2989,2813,2599,2265,2370,2857,2318,1663,1550,1557,1967,2984,3278,2533,2263,2403,2331,2442,2717,2391,2055,2062,1868,1691,1615,1797,1427,2077,2481,2587,2030,2448,2585,2175,1642,1372,1515,1956,1968,1721,1860,2382,1903,1423,2416,2942,2632,2548,2521,2539,2425,2402,2361,2225,2417,2699,2744,2998,3056,2343,1969,1943,1811,1987,2527,2629,2326,1905,1828,1959,1870,1657,1985,2078,1842,2025,2225,2263,1926,1804,2609,2365,1840,2338,2564,2620,2219,1810,2167,2000,1537,1694,1946,2113,2301,2355,2427,2401,2255,2394,2562,2604,2791,2473,2164,2267,2362,2479,2313,1681,2232,2025,1605,1425,1613,1913,2147,2728,2341,1648,1555,1782,1770,1880,1794,1251,1448,2555,2723,2633,2315,1925,1909,1976,2082,2097,2132,1948,1780,2157,1997,1609,1538,1523,1851,1852,1477,1813,2568,3422,3538,3141,2790,2376,2026,2280,2381,2481,2452,2442,2368,1831,1574,1837,1770,2008,2492,3553,3964,3511,2422,2563,3271,2890,2308,2176,2213,2138,2190,2524,2434,2584,2803,2707,3129,3256,2412,1862,2083,2216,1766,1538,2371,2460,2353,2493,2916,2320,2109,2326,1903,1665,1726,1533,1661,2182,2640,2568,2004,1667,1330,1322,1805,1925,1862,2435,2910,3359,3762,3292,2421,1921,1763,1810,2707,2375,1740,2011,2911,3518,3401,3016,2243,1641,1962,2134,2119,2699,2841,2221,1952,1765,1825,2387,2829,3407,3674,3010,2431,2565,2907,3033,2488,2330,2129,1836,1841,2425,2829,3021,2860,2246,2065,1714,1475,1640,1571,1454,1346,1707,1691,1588,1283,1315,2155,2564,1923,1583,1576,1653,1669,1669,1523,1729,1709,1577,1680,2182,2338,2444,2625,2420,2195,2083,2048,2624,1988,1809,2144,2070,1991,2176,2348,2258,2321,1958,1625,1648,1737,1785,1915,2558,3156,2987,2069,1708,1677,1712,1643,1828,2273,2049,1604,2258,2225,1886,1923,1693,1509,1734,1830,1764,1660,1518,1377,1476,1729,1670,1908,3002,3471,3261,2688,2619,2143,1913,2354,1965,2091,2574,2032,1970,1679,1520,1747,1555,1727,1842,1891,1869,1895,1819,1443,1252,1350,1216,1399,1593,2175,2030,1735,1720,1887,2039,1845,1772,2019,1699,1659,1904,1910,2244,2832,2980,2824,2264,1990,1400,1249,1668,2039,3002,3494,2987,2250,2167,2655,2117,1687,1992,2185,2256,2144,2200,2269,2325,2478,2553,2531,2570,2731,2674,2658,2458,2354,2348,2461,2737,2397,2091,2342,2574,2408,2088,2183,2412,2306,2218,2354,2272,2354,2303,2425,2513,2312,2162,1979,2047,2230,2083,2021,2141,2105,2046,2188,2304,2303,2309,2513,2614,2663,2627,2697,2600,2855,2917,3056,3296,3160,3083,2941,2885,2887,2792,2665,2800,2806,3277,3120,2601,2724,3147,3148,2249,2055,2231,1658,1451,1549,1516,1681,2129,2420,3015,3283,3398,3507,2676,1674,1644,1719,1881,2032,2823,2632,2000,1680,1732,2053,2361,2764,2801,2342,2282,2021,1708,1960,1840,1672,1838,1764,1688,1625,1587,1490,1553,1694,1813,2095,1957,1558,1378,1525,1596,1566,1482,1521,1634,1619,1688,2032,1907,1815,1884,1861,1731,1539,2044,2975,3403,3768,3893,3840,3646,3462,3585,3841,4185,4381,4276,3802,3442,3616,3649,3721,3968,3874,3554,3761,4244,3951,4184,4244,4272,3110,2836,3177,3332,3943,3936,3369,3751,4516,4989,5125,4944,4839,4872,4900,4551,4244,3806,3664,4231,4628,4709,4520,3959,3958,4302,2829,3323,3807,4301,4681,4427,4136,3972,4034,4201,4313,3882,3683,3429,2828,2629,3305,3752,3606,3496,3386,2923,2383,2180,2023,2097,2149,2076,1775,2165,1935,1854,2055,1907,1664,1784,1847,1784,1750,1844,1780,1451,1558,1594,1755,1780,1725,2385,2557,2300,2334,2273,2159,2062,2114,1931,2340,1975,2255,2598,2332,1838,1656,1592,1604,1760,1941,1884,1810,1499,1592,2156,1521,1506,1654,1720,1643,1453,1738,2338,2819,3209,3190,2885,1962,1987,1976,2711,1969,2054,2677,2820,1963,1487,1615,1594,1679,1781,1770,1437,1599,1667,1722,1844,1749,1898,1977,1617,1620,1647,1614,1713,1670,2003,2341,2109,2166,1866,1832,2003,2105,1950,1781,1725,1752,2023,1987,1787,1874,2836,2754,3140,3092,2827,2795,2466,2344,2196,1643,1656,1935,1973,2166,2443,1826,1533,1387,1655,1882,2010,1897,1738,1481,1226,1516,1943,2345,1785,1782,1836,1637,1832,1580,1975,2529,2814,3139,2724,2639,2715,2500,2287,2796,3111,3247,3509,2569,2451,3458,3675,3016,2591,2431,2623,3008,2915,3010,2942,2999,3010,3060,2911,2708,2735,2731,2793,2822,2797,2685,2898,2957,2999,3020,3406,3808,3497,3203,3451,3316,2910,3233,3703,3354,3401,3386,3188,3209,2964,2962,2430,2028,2142,2137,2013,2266,2879,3099,1972,2548,3107,2756,2278,2522,2830,2984,2857,3193,3818,3791,3420,3287,3441,3129,2988,3105,3646,4233,4030,3474,3281,3187,2957,3083,3140,3045,2868,2830,2996,2614,2699,2677,2873,2917,2770,2615,2491,2076,2002,1849,2045,1968,2156,2901,2918,2880,3360,3272,3031,2633,2250,2286,2042,1713,2076,2990,2509,2192,2534,2300,2202,2304,2183,1836,1556,1647,2321,2837,2363,2181,2605,2843,2875,2794,2621,1944,1671,1997,2003,1832,1844,1537,1600,2932,3279,2641,2347,2182,2226,2350,1992,2413,2734,2205,2388,2402,2114,1803,1716,1926,1695,1924,2690,2307,1860,1753,1547,1480,1554,1527,1589,1453,1394,1464,1614,1506,1389,1780,2171,1787,1412,1390,1353,1405,1465,1620,1396,1279,1314,1332,1405,1606,1841,1766,1444,1535,1480,1477,1572,1627,1577,1584,1452,1437,1427,1402,1389,1301,1339,1314,1419,1648,1726,1669,1693,1670,1686,1625,1593,1545,1595,1794,1620,1477,1408,1455,1327,1438,1958,3095,2837,2470,1924,2017,2764,3206,2662,1817,1564,1392,1557,1670,1621,1511,1456,1298,1773,2364,1924,1383,1375,1424,1367,1364,1407,1715,1908,2102,2171,2272,2153,2215,2435,2587,2410,2162,2076,1528,1445,1615,2408,2708,2004,1680,1524,1596,1854,1846,1727,1734,1850,1824,1542,1573,1506,1458,1534,1640,2154,2066,1727,1944,1982,2172,3089,3484,3370,3520,3702,3498,3487,3179,2743,2584,2756,3325,3881,3912,3625,2940,2071,1955,2670,2058,2076,2108,2164,2183,2006,1769,1949,1961,2084,2229,2584,2193,2088,2611,3138,3172,2988,3062,2355,2037,2045,2271,2143,1721,1576,1487,1395,1580,1845,2006,1720,1998,2011,1560,1615,1850,1876,1722,1770,2245,2805,2354,1979,2459,2365,1619,1363,1641,1637,2455,2933,2361,2226,2243,2608,2630,2075,1756,2292,2409,2322,2263,1957,1936,2340,2513,2122,1907,2173,2690,2230,1214,1179,1635,1888,1811,2292,2332,1532,1591,2129,2205,2043,1755,1969,2122,2246,2692,2112,1865,2025,2468,2740,2269,2346,2259,2558,3027,3050,2636,2686,3062,2967,2604,2094,2067,2701,2597,2422,3326,3855,3491,3230,2945,2718,2696,2909,2963,3095,3399,3165,3105,3450,2929,2686,2953,2876,2965,2769,3043,2978,2674,2612,2820,2758,2584,2713,2681,2579,2619,2631,2551,2575,2708,2513,2588,2797,2987,2945,2774,2800,2611,2109,1861,2219,2486,2332,2617,3340,4039,4318,4059,3273,2551,2357,2364,2940,3369,3376,3463,3463,2668,2178,1925,2232,2724,2485,2676,3425,3663,3602,3736,3729,3256,3155,3436,3272,3095,3139,3084,3254,3494,3475,2881,1845,1312,2060,2942,3370,3539,2976,2711,3113,3145,3462,3548,3094,2977,3030,3042,2890,2831,3002,3163,3416,3102,2348,1911,2175,2888,3022,3031,3150,3044,2182,2020,2129,1994,2178,2318,2290,2426,2546,3078,3083,2673,2472,2159,2374,2407,2180,1969,1737,1602,1509,1707,1735,1822,2028,2418,3157,3473,3593,3489,2846,3141,2746,2303,2079,1780,1786,1713,1653,1836,2031,2237,1903,1876,2447,2789,2823,2566,2075,1949,1926,1811,1544,1399,1510,1456,1537,2230,2959,2468,1880,2098,1966,1492,1563,1625,1625,1690,2044,1834,1598,1718,1655,1704,2041,2286,2151,2182,2304,2347,2874,3383,3188,3051,3054,3351,3064,3297,4273,4690,3643,3141,3885,4006,3484,3639,4083,3681,3431,3132,3075,2812,2736,3296,3913,3899,3469,3321,3190,2787,2385,2273,2085,2252,2739,2836,2675,2958,3287,3311,2633,1804,2051,2555,2986,3032,2474,2566,2234,2506,2763,2350,1982,1899,2004,1735,1738,1855,2121,1869,1951,1847,1315,1254,2128,2266,2123,2364,2810,2980,2864,2387,2380,2294,1958,1723,1445,1941,2564,2864,2551,2752,3188,3178,3161,3212,3060,2826,3097,3061,2899,2361,2009,2118,3172,2810,2033,2279,2715,3120,3518,3660,3509,2792,2401,2381,1916,1431,1163,1009,1648,1794,1698,2105,1794,1781,2001,2344,2647,2398,2382,3008,3184,2446,2023,2348,2491,2525,2649,2289,2268,3083,3085,2481,2099,2597,3222,3487,3373,2896,2908,3042,3030,2863,3212,3572,3416,2926,2608,2168,1593,1828,2468,3304,3871,4057,4062,4057,3680,3624,3638,3965,3467,3375,3417,3527,3410,3451,3762,3893,3640,3386,3263,3462,3350,2784,2813],[2578,2299,2235,1996,1919,1444,1095,1207,2120,2830,2854,2757,3284,3322,2984,2712,2496,2677,2946,3020,2568,1856,3131,3372,2933,2854,2622,2518,2325,1988,1972,2604,2790,2484,2244,2157,2237,2499,3249,3902,3929,3789,3648,3614,3649,3793,3688,3374,3448,3632,3626,3561,3360,3377,3407,3473,3483,3558,3514,3748,3850,3474,3256,3215,3249,3211,3196,3284,3350,3387,3528,3642,3571,3457,3359,3011,2952,3120,3260,3183,2894,3178,3469,3576,3642,3480,3608,3172,2712,2651,2272,2204,1769,1817,1983,3018,3582,2946,2072,1577,1645,2040,2556,2864,2499,2287,3289,2027,2017,1802,2142,2932,2687,2387,2231,2626,2554,1731,1882,1917,2012,2146,1910,1837,2066,1935,2304,2613,2644,2915,3234,2513,1909,2142,2062,2122,2689,2309,2491,2561,2062,2007,2588,3049,2861,3369,4070,3399,2874,3375,3296,3094,3248,2701,2657,2988,3320,3112,2468,2413,2099,2342,2932,2876,2024,1663,2116,2978,3374,3054,2194,1709,2220,2453,2580,2752,1985,2000,2210,1921,1786,1810,2072,1868,1920,1998,1818,1757,1812,1700,1918,1694,1422,1515,2028,2281,2080,1705,1887,1685,1582,2553,2887,2543,2658,2490,2476,2266,2209,2076,1853,1951,2119,2561,2676,2334,2244,2071,1994,1953,1829,2260,2595,2494,2171,1939,2098,2066,1558,1976,2719,2849,3061,3088,2690,2243,2148,1770,1512,1643,2083,2264,2159,1897,1632,1743,1837,1665,1694,1833,2324,2435,2168,2362,2845,2675,2310,2184,2485,3012,3000,2531,2363,2230,2459,2591,2169,2446,2511,1909,1573,1573,2086,2840,2485,1737,1637,1577,1652,1685,1852,1751,1304,2020,3164,3362,2614,1667,1604,1809,2008,2040,1982,2013,2026,1864,2186,2040,1628,1603,1870,2089,1848,1619,2294,3156,3455,3572,3260,2571,1914,1974,1979,2196,2881,2987,2728,1904,1522,1873,1982,1994,2108,2490,3263,2833,2552,2315,2398,2697,2513,2143,2221,2372,2600,2661,2641,2448,2598,2698,2847,3206,3002,2091,2113,2192,2013,1489,1783,2571,2745,2629,2692,2345,2142,2260,2059,1873,2128,2126,1584,1535,2395,2763,2573,1863,1596,1456,1384,1648,1795,1734,2040,2602,3020,2990,3312,2874,2292,1815,1772,2185,2142,1905,1981,2085,2573,3492,3575,2971,1976,1744,1914,2019,2244,2466,2132,2245,2242,2518,3200,3553,3688,3952,3820,3049,2913,3160,2475,2253,2597,2536,2258,2588,3057,2817,2517,2386,2130,1729,1689,1821,1761,1688,1719,1567,1546,1526,1576,1579,1410,1635,2002,1641,1615,1613,1524,1655,1744,1714,1631,1816,1935,2323,2654,2445,2039,1853,1853,2257,2008,1934,1823,1528,2554,2879,2090,1629,1909,2090,2242,2262,1798,1612,1555,1519,2218,2569,2208,2393,2352,2096,1841,1742,2030,1971,2023,2164,2002,1823,2170,2467,2101,1769,1730,1609,1646,1699,1562,1531,1496,1360,1368,1424,1589,1788,2076,2545,3274,3075,2609,2437,2840,2686,2437,2410,2462,2197,2083,1578,1920,2123,1830,1831,2165,2622,2210,1852,1717,1912,2092,1897,1408,1635,2191,2475,1810,1543,1950,2270,2103,1895,2126,2096,2175,1819,1964,1952,2106,2689,2876,2412,2072,2283,1838,1531,1950,2177,2974,3691,3237,2474,2680,2976,2276,1871,1813,1793,1794,1856,2301,2475,2464,2598,2588,2589,2684,2654,2622,2623,2490,2337,2307,2510,2614,2313,1919,2079,2360,2136,1872,2245,2392,2065,2063,2014,2040,2168,2302,2570,2451,2334,2282,2094,2150,2324,2238,2277,2323,1961,1939,2077,2047,1982,2343,2600,2614,2564,2644,2697,2761,3058,3166,3199,3238,3199,3103,3085,3122,3219,2773,2663,2843,2975,3237,3068,2458,2288,2923,2812,2195,2985,3051,2660,2453,1787,1782,1918,1882,2565,3387,3330,3294,3360,2964,1923,1755,1703,1642,2168,3186,3316,2414,1958,2150,2248,2778,2921,2357,1782,2010,1893,1708,1796,1640,1617,1656,1866,1825,1687,1617,1432,1650,2227,1843,1653,1519,1534,1583,1537,1650,1774,1701,1477,1594,1669,1413,1620,1715,2066,1877,1722,1823,1866,2603,3442,3705,3883,3705,3758,3635,3327,2998,3773,4008,3902,3923,3820,3647,3653,3726,3924,4332,4286,3782,4048,4540,4420,4544,4440,3675,2730,3208,3248,3328,4020,3580,2740,3698,4819,5115,5060,4819,4651,4603,4696,4046,3584,3436,3742,4664,4651,4631,4355,4003,3972,3484,2783,3500,3839,4164,4311,4074,4107,4199,4220,4020,4312,3885,3543,3296,2699,2626,3345,3636,3542,3309,2779,2395,2221,2061,2013,2103,2156,2006,1763,2712,2899,2049,1887,1805,1432,1784,2026,2042,1697,1560,1654,1623,2015,2058,2048,1848,1694,1818,1943,2233,2351,2618,2517,1833,1747,1848,1891,1664,2149,2192,1930,1693,1552,1654,1695,1715,1828,2060,2301,1635,1985,2299,1700,1682,1683,1636,1562,1542,2131,2821,2985,3594,3386,2512,1793,1724,2047,1997,1947,2369,2602,2448,2056,1763,1808,1818,1964,1938,1555,1457,1848,1776,1654,1828,1797,1648,1503,1414,1593,1656,1499,1573,2043,2477,2548,2491,2574,2118,1816,1837,1842,2038,2069,1984,1889,2177,2262,1970,1962,2488,2332,3312,3561,2739,2181,2097,2256,2316,1853,2200,1950,1802,2333,2876,2763,2273,1896,2068,2331,2188,2130,1868,1426,1006,1666,2288,2452,2116,1992,1916,2162,2520,2243,2033,2567,3137,3334,2446,2469,2906,2734,2709,3194,3836,4215,3566,2410,2442,3305,3226,2302,2207,2410,2337,2401,3234,2790,2150,2580,3033,2943,2774,2635,2791,2842,2820,2680,2566,2595,2669,2735,2849,2996,3212,3628,3769,3353,3212,3516,3204,2698,3654,3686,3371,3319,3387,3316,3228,3077,2630,2424,2266,2034,1580,2045,2730,3156,2542,2339,2680,2561,2501,2915,3264,3186,2958,3273,3519,3372,3547,3371,3221,3220,3372,3746,4059,3754,3316,2939,3209,3639,3011,2750,2326,2109,2196,2123,1872,1774,1936,1968,1902,2044,2393,2250,2151,2142,2615,2194,1974,1882,2043,2640,2348,2551,3231,2889,2114,1738,1736,2014,2041,1945,2490,2543,2587,2479,2677,2359,2256,2665,2327,1811,1505,1576,2092,1882,1936,1897,2076,1787,1970,2063,2040,1956,1363,1552,1952,1887,2286,1829,1663,2507,2520,2425,2356,2558,2286,1881,1954,2431,2652,2357,2366,2005,1591,1505,1748,1672,1608,2320,2736,2392,2052,1976,1744,1474,1493,1526,1499,1447,1396,1637,1731,1566,1393,1647,2031,1574,1450,1388,1390,1482,1476,1462,1352,1260,1463,1562,1638,1787,2085,2097,1763,1615,1436,1555,1720,1619,1432,1504,1736,1796,1519,1489,1542,1378,1458,1310,1292,1541,1719,1640,1562,1566,1601,1432,1454,1487,1613,1575,1333,1404,1438,1354,1406,1446,1671,2495,2377,1908,2010,2458,2634,2519,2071,1549,1460,1134,1431,1580,1591,1588,1641,1351,1547,1998,1797,1302,1386,1503,1372,1343,1355,1549,2078,2376,2489,2380,2085,2351,2632,2714,2326,2166,2108,1600,1445,1561,1514,1417,1573,1662,1720,1831,1913,1744,1621,1651,1874,1666,1611,1507,1525,1446,1421,1740,2312,2304,1750,1760,1622,1576,2477,3430,3488,3533,3480,2999,2858,2311,1873,1920,2154,2680,3436,3840,3373,2350,2102,1853,2209,1989,1948,2046,1973,2083,1767,1459,1744,1794,2192,2122,2048,1760,1904,2258,2453,2430,2581,2808,3078,2942,2448,2706,2492,2104,2010,1597,1532,1576,1642,1753,1788,1952,1942,1920,2574,2495,2204,1621,1692,1763,1688,1730,2076,2370,2176,1743,1748,1878,2212,2993,2485,2077,1930,2439,2610,2159,1766,2127,2891,2886,2166,1953,2170,2099,2326,2506,2592,2228,1980,2522,1949,1194,2121,3511,2729,1449,2091,2436,1622,1677,1744,2092,2106,1452,1766,2141,2831,3461,3278,2773,2297,2543,2391,2350,2151,1879,2623,3060,2807,2452,2790,2966,2868,2553,2226,2649,2938,2825,2844,3649,3933,3603,3020,2741,2625,2791,3113,3179,3122,3075,3081,3138,3351,2755,3075,3662,3603,3270,2908,2890,2927,2761,2618,2727,2927,3006,2800,2602,2620,2657,2734,2579,2575,2713,2724,2729,2779,2722,2736,2833,3054,2623,2114,2040,2342,2193,2156,2557,3580,4084,4099,3961,3288,2928,2834,2479,3375,3459,3342,3735,4027,3275,2452,2248,2534,3199,3564,3837,3818,3687,3624,3671,3663,3366,3187,3310,3338,3239,2984,2830,3244,3385,3397,2029,1483,1427,2014,3144,4082,4208,3311,2887,3061,3168,3163,3041,3047,3109,3274,3197,2962,2665,2666,2974,3284,2840,1878,1742,2622,2765,2732,2720,2534,2291,2022,1860,1838,1957,2103,2299,2496,2232,2276,2994,2756,2778,2179,1864,2144,2304,1905,1594,1546,1443,1482,1614,1796,2264,2240,2419,2964,3705,3462,3119,2800,2946,2842,2722,2929,2314,1835,2338,2030,1678,1674,1960,1665,2127,2818,2759,2276,1956,2057,1721,1659,1793,1706,1821,1803,1749,1908,2243,2144,1788,1896,2260,2013,1810,1656,1589,1766,1883,2240,1832,1619,1794,1776,1678,2244,2933,2808,2172,1938,2066,2448,2615,2618,2489,2579,2684,2568,2695,3754,4395,3627,3214,2944,2403,2922,3659,4121,3553,3112,3364,3287,2512,2609,3506,3746,3457,2997,3272,3322,3182,2874,2569,2789,2891,2780,2668,2396,2644,3098,2791,2111,2047,2535,3286,3780,3636,2630,2395,2818,3514,3388,2850,2420,1883,1918,1917,1928,1504,2057,2423,2908,2236,1423,1600,2314,2315,2167,2540,2564,2742,3462,3123,2608,1940,1737,1777,2084,2664,2808,2735,2596,3042,3156,2641,2790,3014,3233,3209,3144,3218,3027,2211,1969,2366,2806,2602,2054,1735,1978,2912,3964,4156,3516,2933,2460,2568,2010,1384,1266,1260,1440,1605,1930,1804,1586,1591,2076,2598,2662,2116,1909,2149,2148,1807,1804,2266,2138,1925,2210,2244,1489,2439,3422,2562,1813,2272,2529,3016,3012,2780,3160,3150,2849,3216,3573,3836,3487,3055,3194,2933,2382,2351,3381,4188,4123,4048,4062,3751,3538,3605,3673,3746,3394,3261,3411,3364,3251,3408,3542,3374,3383,3359,3350,2954,1944,1741,2312],[2521,2223,2285,1731,1481,1214,1516,1622,2548,3489,3440,3305,3558,3420,3108,2543,1846,2437,2557,2915,2630,2530,3574,3160,2963,2902,2611,2561,2656,2195,1971,2408,1968,1779,2041,2403,2558,3108,3786,3948,3781,3581,3565,3509,3486,3562,3658,3431,3315,3361,3297,3200,3437,3481,3473,3551,3599,3581,3614,3886,4026,3625,3454,3373,3187,3165,3270,3520,3660,3461,3367,3547,3541,3661,3876,3531,3061,2989,3214,3169,2834,3053,3359,3430,3504,3422,3360,3129,2885,2804,2634,2918,2446,2611,2840,2600,2722,2285,1769,1750,1783,1679,1690,2078,2263,2364,2530,2099,1836,1423,1632,1946,2027,2216,2292,2511,2330,1881,2081,1865,1599,1615,1826,2419,2761,2543,2278,2579,2997,2809,2662,1959,1737,2145,1960,1835,2184,2189,2313,2192,2169,2470,2966,3108,2680,3029,3707,3551,3115,3692,3384,2775,2927,3164,3357,3672,3898,3521,2857,2899,2338,2736,3478,3784,2722,1852,2167,2927,2987,2918,2475,1828,1937,2409,2750,2689,1839,2019,2141,1884,1613,2323,2428,1959,1881,1711,1502,1406,1479,1414,2002,2221,1716,1675,1920,2205,2180,1839,1731,1425,1148,1811,2179,2199,2391,2414,2589,2486,2254,2120,2076,1763,1735,2131,2177,2250,2302,2053,1820,1945,1979,2127,2698,2667,2532,2427,2364,2321,2174,2372,2730,2591,2830,2941,2540,2248,1989,1403,1522,1571,1617,1973,1968,1674,1649,1621,1701,1694,1976,2461,2374,2245,1766,1852,2600,2603,2126,2237,2597,2380,2545,2126,2206,2073,2411,2847,2232,2204,2469,1814,1609,1553,1694,2060,1992,1707,1631,1767,1666,1569,1561,1526,1526,2370,3275,3405,2741,1929,1879,1866,1909,1767,1776,1813,2053,1925,2050,2389,2141,1700,1724,1678,1910,2001,2955,2849,3144,3442,2730,2127,2107,2294,1945,2208,2945,2823,2301,1510,1738,2241,1920,1892,2082,2445,2659,2482,2457,2458,2580,2836,2918,2588,2306,2195,2521,2568,2375,2430,2757,2754,2761,2997,2687,2256,2574,2326,2187,1389,1908,2931,3518,2667,2608,2575,2024,2154,2211,2286,2625,2833,1866,1749,2474,2391,2443,2302,1872,1553,1481,1744,2097,2114,2534,2843,3046,2910,3138,3077,3135,2822,2330,2033,1967,2226,2226,2658,3292,3507,3373,3161,2946,2435,2087,1760,1752,2163,2535,2677,2978,2941,2906,3199,3727,4184,3728,3061,2871,3355,3054,2490,2843,3214,2897,2769,2744,2685,2403,2317,2083,1914,2042,2093,1995,2139,2145,1853,1518,1561,1564,1736,1502,1068,1692,1758,1595,1569,1764,1744,1857,2056,1850,1896,1851,2215,2249,1993,2029,2018,2335,2864,2645,2214,1917,1897,2116,2169,1831,1525,1515,1748,1947,2044,1833,1733,1766,2023,2802,2455,1610,1660,1976,2404,1789,1671,1919,1989,2221,2137,1994,1860,1796,2360,2545,1876,1937,1959,1830,1581,1613,2066,1758,1574,1496,1628,1758,1694,1750,2351,2727,2643,2677,2927,3637,2588,1682,1646,1962,2150,2114,2210,2679,2402,1937,1787,1877,2571,2255,1756,1712,1744,2098,1814,1630,2030,2800,2220,1429,1769,2016,2135,2045,1665,1728,2084,2502,1903,1440,1597,1920,2167,2339,2116,2110,3170,2934,2119,2187,2148,2878,2785,2259,2411,2755,2646,2476,2194,1896,1831,1857,1925,2326,2456,2572,2631,2630,2589,2565,2566,2567,2508,2519,2396,2332,2272,2128,2040,1926,2332,2337,2061,2242,2530,2509,2208,2085,1947,1829,2160,2501,2509,2471,2411,2308,2171,2332,2469,2392,2527,2132,1748,1928,2249,2042,2163,2410,2554,2557,2464,2517,2653,2789,2995,3145,2977,2993,2955,2990,3168,3232,3327,2846,2476,2759,3186,3533,3420,3069,2811,3094,2522,2239,2674,2932,2854,2384,1654,1964,2352,2353,3141,3683,3553,3370,3206,3450,3056,2440,1979,1799,2332,2896,2800,2306,2530,2729,2618,2502,2215,1968,1825,1997,1878,1721,1596,1567,1714,1732,1743,1775,2286,2172,1830,1762,2493,2004,1652,1626,1683,1803,1668,1666,1616,1572,1381,1588,1465,1558,1841,1649,2167,2430,1871,1830,2112,3072,3896,4085,4147,3695,3518,3792,3535,2849,3041,3414,3740,3976,3874,3680,3833,3926,3548,4033,4284,3994,4132,4540,4628,4381,4093,3264,3369,3750,3608,3754,3946,3130,3372,4199,4951,4968,4771,4480,4403,4461,4229,3732,3916,4041,4232,4538,4316,4702,4473,4034,3561,2651,2928,3681,3861,3945,4047,3870,3974,3962,3899,3526,3893,3705,3494,3500,3271,3414,3837,3688,3378,2879,2435,2206,2069,2066,2153,2057,2390,2214,2018,2886,2684,1909,1899,1633,1422,1871,2128,1995,1791,1624,1577,1634,2056,2121,2052,1826,1681,1810,1672,2009,2291,2339,2142,1815,1581,1855,1758,1765,1816,1597,1760,1973,2056,1897,2310,3032,2036,1804,1981,1543,1532,1522,1617,1720,1706,1477,1328,1592,1866,2244,2383,2699,3241,2832,2010,2016,2076,1985,2103,1918,1722,2084,2259,1766,1627,1591,2186,1983,1554,1690,1926,1807,1582,1661,1820,1668,1584,1421,1421,1548,1541,1845,2382,2275,2084,2497,2744,2367,1886,1727,1765,2128,2464,2272,1900,2301,2476,2223,2337,2620,3140,3820,3813,2824,2464,2820,2874,2976,2421,2082,1890,1944,2109,2545,2598,2524,2657,2649,2663,2618,2497,2136,1946,1779,2054,2501,2508,2464,2365,2004,1943,2391,2686,2284,2728,2910,2696,2088,2369,3096,3322,3499,3549,3705,4031,3847,3695,3256,3256,2626,2314,2424,2208,2279,2466,3307,3323,2286,2062,2890,2963,2692,2802,2968,2898,2667,2456,2514,2568,2678,2789,2966,3130,3199,3505,3885,3547,3415,3556,3480,2597,3344,3975,3738,3424,3415,3463,3281,2989,2835,2705,2158,2059,1698,1857,2416,2893,2780,2457,2574,2867,3209,3532,3564,3413,3353,3717,3763,3228,3433,3505,3642,3990,4030,3941,3687,3399,3300,2557,2699,2900,2685,2078,1656,1797,2001,1986,1860,1941,1983,2050,2005,1815,2407,2283,1781,2025,2605,2388,1925,1886,2251,2416,2402,2820,2902,2432,1979,1931,2205,2327,2106,1768,1919,1745,2297,2504,2293,2264,2577,2812,2403,1832,1527,1514,1676,1923,2171,1967,2145,1825,1489,1858,2313,2603,2089,2182,2409,2167,2565,2149,2310,2469,2541,2721,2714,2507,2040,1874,1943,2813,3054,2258,1765,1702,1671,1845,1845,1712,1904,2154,2369,2251,2046,1907,1637,1343,1384,1453,1548,1495,1517,1707,1707,1595,1398,1472,1874,1757,1495,1460,1447,1677,1560,1409,1337,1301,1378,1371,1604,2154,2210,1921,1962,1564,1370,1889,1744,1394,1476,1537,1749,1796,1698,1597,1450,1543,1902,1707,1502,1630,1808,1767,1688,1913,1871,1463,1434,1507,1813,1741,1488,1513,1378,1295,1410,1199,1555,2341,2151,1783,2273,2634,2586,1794,1467,1637,1389,1379,1559,1813,1674,1348,1462,1582,1685,1998,1657,1384,1343,1394,1406,1556,1711,1881,2449,2360,1832,1574,1562,1647,1719,2047,1903,1904,2018,1824,1682,1668,1810,2085,1902,1745,1942,1792,1681,1580,1584,1685,1803,1566,1564,1670,1724,1577,1524,1711,1852,1881,1694,1888,1615,1489,1962,3073,3499,3253,2732,2372,2037,1558,1670,1809,2203,2575,2553,2867,2414,1970,2286,2040,2107,2036,1768,1660,1673,1892,1465,1587,1692,1433,1421,1679,2043,2212,2186,2031,2243,2964,3206,2895,3165,2898,2356,2825,2881,2500,2166,1838,1699,1508,1566,1728,1873,1975,1867,1576,1790,1930,2457,1998,1605,1622,1716,1737,1980,2023,1857,1685,1643,2036,2567,2980,2592,2023,1830,2099,2224,1996,2066,2546,3141,2869,1990,1760,1708,1838,2070,1931,2008,2148,1757,2057,1979,1389,2209,3408,2364,934,1263,2174,1758,2102,2099,2266,2475,2210,1908,2573,3660,3707,3176,2591,2010,2370,1632,2185,2646,1969,2546,3438,3216,2875,3197,3342,3244,2705,2581,2637,2374,2845,3646,4002,3595,3430,3151,2843,2852,3032,2812,2500,2647,2756,2499,2783,3240,3051,3345,3676,3654,3363,3212,3076,2813,2709,2642,2640,2709,2473,2177,2292,2711,3083,2900,2775,2681,2522,2493,2388,2448,2625,2663,2742,2820,2850,2437,2737,3323,2907,2270,3083,4240,3930,3284,3019,2426,2441,2612,2956,3672,3753,3751,3854,3960,3332,2584,2563,2943,3400,3787,4168,4094,3280,3332,3591,3539,3124,2908,3132,3167,3277,3202,2745,2603,2962,3186,2461,1607,1608,2335,3152,3653,4016,3917,3794,3826,3749,3042,2764,2590,3166,3538,3344,3133,2757,2310,2481,2885,2618,1609,1668,2942,3000,3353,3590,2405,1684,1999,1918,1570,1665,1842,2177,2234,2392,2592,2482,2433,2217,1853,1840,1873,2047,1947,1560,1550,1702,1803,1683,2396,2536,2957,2813,2988,3322,3221,2646,1902,2281,2720,3078,3784,2696,1809,2159,1866,1526,1515,1692,1569,1775,2317,2957,2933,2314,1949,1697,1829,1757,1848,1841,1679,1866,1961,1918,1913,1908,2023,2054,2478,2711,2069,1827,1770,1978,1947,1702,1724,1980,1810,1687,2031,2382,2240,1894,1692,1893,2090,2023,2225,2091,1843,2271,2589,2560,3141,3789,3624,3373,2485,2165,2808,3278,3260,2775,2814,3506,3200,2274,2419,3018,3549,3505,3182,3404,3293,3375,2922,2367,2405,2546,2464,2108,1871,2336,2686,3142,2601,2488,3094,3487,3605,3416,2620,2481,3389,3677,2844,2499,2531,1832,2040,2532,2692,2337,2399,3327,2899,1731,1657,2104,2530,2290,1914,1941,2174,2369,3001,3142,2620,2220,1810,1480,1733,2286,2679,2723,2753,3282,2986,2577,2999,2984,3454,3584,3053,3165,2663,1927,2232,2495,2266,2234,1964,1752,1913,2689,3561,3431,3111,2887,2680,2538,2103,1944,2044,1978,1613,1738,1966,1601,1309,1470,2231,2488,2200,2115,1970,1830,1769,1796,2001,2758,2268,1872,1703,2613,2518,2469,2498,1945,2043,2314,2200,2364,2504,2373,2636,3149,3018,2907,2709,2918,3221,3294,3274,3265,3109,2842,3838,3995,4112,3571,3819,3462,3581,3714,3592,3415,3338,3305,3273,3303,3334,3369,3078,3076,3415,3316,3327,2287,1880,2555,2844],[1857,1616,2139,2119,2270,2165,2457,2702,3376,3422,2931,2448,2802,3294,3266,2824,1969,3040,3249,3292,3056,3309,3428,2952,2687,2653,2766,2834,2634,2012,2530,2770,2104,2431,2828,2783,2785,3466,3829,3697,3616,3529,3544,3444,3582,3721,3809,3537,3395,3482,3359,3350,3531,3458,3361,3429,3695,3685,3674,3871,3955,3986,3841,3527,3156,3072,3116,3361,3516,3364,3329,3500,3424,3587,3828,3928,3370,3241,3671,3688,3157,3174,3631,3327,3407,3089,2750,3218,3140,2875,2814,2618,2138,2122,2279,2164,2089,2079,1903,1828,1748,1813,2189,2199,1984,2294,2642,2248,1646,1672,1727,1932,2358,2752,2906,2676,2654,2497,2392,2022,1398,1229,1486,2292,2511,2482,2252,2344,2325,2410,2123,2386,2450,2618,1699,1741,1820,1957,2525,2662,2298,2469,2562,2789,3257,3462,3598,3884,3908,3688,3688,2949,2680,3172,3310,3751,3926,4040,3464,2874,2580,3243,3965,3979,3351,3014,2980,2805,3098,3334,3173,2786,2271,2518,2284,2375,2524,2507,2473,2252,2156,2592,2428,2072,2266,2702,2383,1902,1861,2041,2110,2182,2218,1939,1811,2041,1862,1792,1706,1366,1412,1847,1866,1941,1985,2263,2664,2645,2411,2829,2856,1933,1726,2156,2680,2241,2053,2105,1823,1622,2094,2502,2431,2209,2211,2294,2500,2524,2411,2343,2532,2517,2149,2359,2166,1903,1685,1745,2161,2069,1944,1969,1575,1562,1685,1610,1739,1494,1636,2686,3122,2784,2078,2126,2511,2477,2531,2693,2482,1779,1953,2068,2388,2504,2600,2352,1838,2023,1944,1975,2443,2242,1931,2096,1804,1556,1742,1994,1793,1483,1490,1765,1840,2115,3038,2745,2141,1652,1654,1977,1814,2177,2684,2153,1968,2020,1704,1866,1920,1849,1475,1396,1474,2250,2939,2858,3327,3237,2570,2210,1898,2140,2256,2458,2656,1804,1520,1737,2158,2535,2068,1947,2364,2430,1968,2147,2566,2482,2858,3265,2900,2455,2294,2522,3076,3594,3021,2576,2569,2415,3012,3352,2856,3020,3040,2568,2308,1658,2032,3211,3615,2578,2574,3040,1992,2306,2458,2481,2938,3294,2306,2042,2140,1946,1772,1730,1510,1624,1652,1746,2413,2496,2955,2940,2758,2802,2361,1998,2611,3021,2959,2435,1808,1957,2301,3038,3063,3309,3374,3262,3451,3195,2639,2437,2751,2996,3063,2791,2612,2734,3121,3343,3861,4017,3488,3042,2980,3162,3218,2926,3120,3383,3021,2590,2588,2632,2306,1920,2063,2345,2373,2569,2956,2956,2437,2164,1588,1571,1615,1902,1975,1224,1338,1720,1689,1633,1910,1931,1911,1971,1942,1889,2225,2572,2647,2175,2154,1943,2189,2674,2536,2253,1998,1759,1689,1659,1780,1540,1482,1562,1624,1922,2010,1974,1990,2510,2935,2004,1535,1400,1786,2237,1925,1834,1902,2172,2293,2250,1985,1605,1732,2553,3042,2084,1792,1640,1823,1689,1525,1942,2211,1906,1527,1583,1778,1951,2640,3241,2822,2871,3076,3105,3709,2478,1566,1551,1716,1788,1576,1620,2245,2165,2191,2248,1609,1871,1771,1583,1675,1823,1900,1830,1881,2345,2592,1470,1445,1694,1854,1799,1727,1606,1614,1806,2065,1808,1421,1408,1561,1869,1943,1975,2326,3286,3002,2548,2376,2599,2984,2468,2106,2308,2401,1895,2074,2114,2018,2025,1924,2001,2197,2371,2522,2640,2674,2589,2478,2430,2395,2453,2500,2311,2198,2198,2167,2060,1936,2062,2052,2188,2392,2337,2435,2475,2376,2013,1901,2390,2426,2303,2431,2435,2228,2203,2364,2430,2413,2436,2092,1780,2036,2383,2253,2330,2390,2524,2740,2699,2480,2536,2600,2643,2785,2711,2836,2762,2980,3221,3110,2897,2551,2253,2254,2532,3531,3541,3297,3182,3465,2689,2054,1969,1791,1691,1659,1453,1805,2311,2791,3400,3549,3448,3555,3509,3504,3599,3430,3074,2692,2743,3103,2755,2055,2450,2820,2920,2333,2610,2544,2057,2038,1937,1656,1593,1626,1746,1714,1637,1902,3096,2654,1902,1578,1871,1986,1885,1793,2162,2193,1730,1568,1528,1726,1755,1571,1593,1693,1858,1570,2189,2736,2534,2699,3103,3708,4083,4262,4244,3965,3738,3776,3770,3475,3386,3489,3399,3416,3529,3596,3797,4039,3767,4254,4628,4376,4014,4128,4257,4216,3320,3207,3894,3947,3979,3960,2972,2959,4181,4771,4879,4864,4852,4656,4403,4260,4221,4068,4489,4574,4268,4289,4320,4465,4220,3738,2723,2613,3322,3696,3946,3980,4034,4108,3858,3632,3254,3232,3685,3428,3122,3334,3631,3769,3828,3325,2885,2527,2273,1970,2013,2361,2252,2097,2863,2690,2561,2956,1870,1614,1683,1460,1511,1738,1936,1758,1579,1722,1786,1877,2162,2116,1920,1736,1626,1742,1841,1879,1649,1680,1941,1792,1559,1832,1850,1798,1793,1798,1767,2152,2194,1952,2228,2433,1604,1406,1489,1668,1650,1614,1745,1924,1942,1483,1367,1609,1383,1485,1331,1656,3174,3034,1937,2226,2631,2852,2692,1806,1494,1963,2058,1930,1744,1784,2210,2014,1771,1800,2213,2310,1697,1566,1714,1718,1655,1533,1627,1636,1804,2060,1984,1540,1811,2510,2634,2359,1755,1651,1843,2120,2341,1962,1830,2513,2455,2033,2039,2265,2519,2487,2643,2493,2765,3174,3270,3383,2635,1760,1792,1915,1937,2002,1967,2754,3469,3205,2853,2591,2308,2297,2377,2275,1993,2049,2491,2894,2498,2092,2045,2034,2164,2156,2446,2347,2447,2072,2316,3320,3673,3454,3230,2858,2999,3840,4256,3129,2719,2282,2075,2313,2522,2349,2226,2544,3183,3241,2199,1860,2569,2744,2793,2838,2622,2544,2575,2494,2346,2407,2756,3153,3197,3335,3584,3851,3723,3937,3748,3655,2850,3102,4094,4006,3575,3347,3515,3254,3405,3292,2513,2214,2358,2138,2188,2396,2620,2802,2898,2951,3535,3880,4050,4067,3563,3351,3682,3683,2986,3098,3717,3864,3913,3566,2923,2564,2956,3308,2885,2683,2203,1889,1687,1686,1702,1791,2046,2186,2302,2217,2115,2308,2012,2166,1929,1881,1663,2253,2711,2591,2544,2376,2248,2397,2597,2622,2222,2402,2331,1837,1852,2100,2100,1640,1518,2230,2658,2349,2576,2932,2955,2744,2111,1557,1378,1649,2410,2640,2286,2273,2299,2265,2607,2664,2713,2292,2597,2698,2510,2430,2235,2618,3017,3228,3331,3220,3226,2719,2269,1949,3085,3245,2302,1677,1472,1676,1988,2053,2098,2261,2257,2248,2386,2181,1738,1464,1292,1256,1682,1886,1532,1552,1615,1496,1581,1433,1368,1695,1792,1597,1436,1289,1719,1852,1482,1390,1421,1499,1394,1614,1935,2170,2162,1914,1751,1768,2238,2019,1367,1372,1490,1672,1340,1731,1500,1369,1718,2519,2390,1771,1636,1862,1863,1936,2055,1996,1653,1630,1483,1707,1616,1353,1428,1505,1651,1526,1401,1764,1960,1917,2013,2634,2556,1910,1726,1910,1932,1395,1622,2062,2122,2003,1831,1977,2191,1881,1664,1343,1381,1328,1275,1318,1671,1888,1866,1723,1693,1730,1599,1626,1569,1620,1671,1609,1737,1964,1966,1745,1446,1663,2085,1890,1681,1676,1515,1339,1411,1604,1844,1820,1614,1586,1468,1613,1792,1745,1763,1667,1918,1825,1806,1519,1417,1493,2495,3411,2964,2310,2199,1931,1599,1804,1898,2256,2481,2225,2133,1944,2091,2208,2047,2011,1795,1718,1722,1699,1844,1404,1434,1338,1323,1491,1676,1925,2083,2191,2364,2461,2523,2498,2262,2254,1964,1857,1930,1750,1673,1882,2006,1559,1491,1776,1709,1802,1826,1516,1344,1448,1447,2519,2335,1588,1747,1811,1395,1415,1937,2358,1733,1627,1720,2100,2344,2474,2188,2050,2246,2270,1982,1820,2252,2946,2652,1902,1732,1802,1937,2031,1811,2410,2569,1888,1724,2028,2428,2353,2443,1973,1007,1024,2159,2403,2482,2266,2253,2492,2258,1865,2395,3252,3409,2467,2370,1777,1508,1150,2298,2408,2222,3100,3620,3190,2852,3398,3948,4024,3033,2519,2524,2555,3081,4073,3972,3275,3053,3083,3096,3184,2929,2568,2318,2567,2901,2958,3262,3598,3452,3284,3399,3439,3353,3429,3327,2951,2918,2684,2598,2613,2536,2190,2373,2822,2864,2743,2806,2678,2481,2387,2235,2466,2643,2690,2786,2679,2612,2404,2486,3104,3444,3228,3934,4303,3409,2458,2243,2086,1947,1962,2675,3309,3886,4220,3982,3597,2999,2683,2727,3028,3463,3990,4083,3791,3269,3487,3540,3211,2691,2499,2591,2858,3067,2479,2184,1936,2213,2734,2919,2681,2370,2687,3294,3479,3935,3997,3979,3572,3659,3353,3072,2932,3119,3375,3491,3294,2655,2336,2691,2646,2592,2025,2150,3228,3630,3968,3263,2181,2545,2963,2088,1853,1686,1566,2000,2330,2203,2104,2196,2270,2056,1932,1990,2183,2303,1840,1715,1851,2007,2128,2066,2652,2769,2965,2901,3392,3463,2824,1967,1700,1906,2564,3239,3817,2764,2140,1740,1548,1541,1622,1646,1703,1881,1804,2801,2552,2069,1855,1986,2008,1837,1905,1748,1632,1830,1971,1843,1686,1925,2136,2229,3074,3466,3052,2358,2031,2185,2334,2190,2282,2973,2074,1693,1734,1920,1856,1704,1688,1821,2231,2500,2399,2198,2114,2985,3205,3209,2706,2722,3501,3473,2686,2563,3203,2966,2370,2327,2769,3651,3232,2447,2958,3031,3588,3094,3184,3397,3138,2820,2426,2062,2025,2383,2118,1794,2605,2873,2290,2791,2545,2499,2907,3301,3275,2909,2751,2768,2990,2691,1836,2017,2308,2281,2778,2764,2805,2678,2372,2667,1985,1367,1809,2150,2099,2017,2026,2168,1826,2416,2620,2253,2312,2336,2078,1639,1612,2169,2524,3072,3557,3286,3123,2877,3069,3132,3108,2798,2867,2935,2061,1757,2106,2320,2142,2126,2189,1913,2038,2977,3338,2726,2683,2830,2709,2490,2216,2265,2141,2118,2106,2012,2100,1920,1548,1596,2070,2050,1679,1901,1980,2082,2536,2437,2232,2333,2058,1649,2046,3272,3225,2943,2742,2169,1979,2292,2330,2504,2586,1956,2164,3041,2976,2241,1684,1679,2050,2752,3374,3494,3840,3750,3850,3925,3489,2646,2803,2921,3293,3793,3659,3546,3828,3681,3340,3292,3309,3239,2996,3253,3748,3552,3266,2562,2401,2630,2586],[2718,2923,3118,3129,3529,3573,2622,2741,2729,1885,1767,1537,2414,3059,3001,2989,2689,3222,3473,3404,3235,3539,3790,3376,2945,2909,2753,2753,3262,2900,2999,2873,2242,2525,2994,2721,3032,3710,3605,3376,3299,3528,3950,3710,3734,3905,3851,3564,3572,3661,3397,3403,3500,3395,3429,3624,4041,3781,3745,3968,3841,3757,3669,3482,3262,3166,3175,3165,3210,3257,3350,3493,3515,3661,3848,4007,3533,3207,3452,3917,3671,3329,3908,3276,3371,2695,2708,3378,3288,2762,2523,1889,2008,2625,2167,1853,1979,2008,1723,1671,1346,2046,2414,2092,1738,2370,2965,2249,1971,2724,2676,2457,2846,2665,2509,2985,2797,2612,2595,2344,1857,1490,1811,2109,2286,2114,2290,2432,2132,2006,1953,2781,2759,2581,2363,2364,2180,1767,1851,2126,1978,2210,2387,2795,3478,4177,4741,4684,4086,3574,3830,3317,2214,2152,2845,3471,3802,3538,3009,2990,2633,2939,3518,3585,3538,4133,4205,3237,2687,2697,2518,2358,2298,2243,2309,2474,2764,3108,3141,3024,2627,2157,2147,2139,2231,2600,2076,2418,2252,2363,2807,2284,2006,1882,1702,1712,1679,1986,1939,1349,1762,1889,1908,1879,1918,1988,2318,2310,2175,2457,2365,1569,1786,1707,2067,2159,2277,2262,1726,1690,2343,2730,2594,2519,2061,1961,2561,2503,2621,2645,2474,2443,2024,2220,1962,1581,1725,2270,2906,2548,1993,1710,1510,1663,1738,1746,1881,1415,1275,1776,1989,1842,2119,2840,2923,2661,2270,2283,1764,1592,1746,2309,2864,2701,2194,1793,1782,1841,1693,1795,2051,2365,1975,2106,2031,1890,1792,1703,1675,1655,1548,2050,2248,2125,2712,1527,1297,1395,1702,1948,1792,2147,2312,1829,1829,1932,1559,1627,1809,2221,1805,1727,2144,2939,3098,2976,2896,2452,2522,2487,1711,2200,1908,2115,1854,1220,1587,1967,2492,2674,2225,2191,2714,2756,2005,2800,3135,2769,2771,2800,2939,2905,2718,2641,3212,3807,3580,2767,2657,2567,2534,3100,2994,3343,3182,2978,2446,1811,2260,3051,3096,2609,2912,3370,2564,3223,2609,2619,2824,2861,2843,2474,2089,1680,1306,1703,1557,1855,1953,1594,2241,2298,2326,2610,2730,2613,2306,2221,2403,3130,2862,2249,1647,1643,1993,2238,2206,2541,2932,3060,3024,3175,3132,2809,2957,2655,2766,2620,2316,2920,3356,3640,3426,3243,3321,3234,3149,3431,3723,3187,3315,3539,3341,3190,2974,2579,2002,1911,2377,2376,2334,2500,2925,2753,2349,1924,1540,1591,1714,1907,1997,1504,1359,1512,1478,1600,1852,1848,1861,1597,1931,1927,2370,2327,2192,2562,2916,2612,2662,2919,2600,2589,2187,2122,1882,2042,2293,1841,1507,1547,1685,1826,2076,2174,2142,2351,2492,1688,1592,1372,1669,2063,2152,2105,2192,2358,2242,2199,2239,1721,1768,2177,2097,1975,1813,1644,1528,1459,1484,1796,1996,1761,1677,1648,2129,2571,3067,3508,2689,2795,2714,2618,2609,1979,1636,1687,1814,1502,1428,1687,2288,2231,2784,2762,1964,1773,1678,1604,1493,1634,1932,1925,1816,1956,2100,1633,1611,1537,1668,1520,1542,1560,1620,1637,1526,1559,1555,1386,1636,2106,2220,1960,2308,2723,2797,2387,2278,2911,2754,2295,2085,2022,2204,1777,2126,2043,2053,1993,1851,2041,2266,2409,2543,2567,2612,2642,2440,2427,2415,2425,2426,2268,2143,2185,2298,2165,1987,2021,1866,2009,2340,2515,2220,2557,2636,2187,2008,2187,2427,2469,2255,2229,2204,2302,2429,2609,2445,2538,2359,1923,1808,2008,2082,2219,2434,2502,2652,2741,2598,2480,2609,2546,2634,2754,2866,2915,2932,2952,2878,2644,2438,2409,2305,2293,2768,3030,3162,3388,3272,3129,2884,2261,1737,1603,1942,1792,2119,2324,3007,3143,3276,3342,3441,3466,3454,3450,3504,3573,3551,3400,3103,2484,2005,2138,2458,2225,2191,2605,2574,2159,2041,1991,1622,1645,1734,2032,1918,1646,2165,3365,2655,1746,1663,1646,1865,2000,1974,1827,1640,1599,1933,1909,2274,2208,1779,1624,1599,1619,1841,2707,3520,3553,3594,3813,3706,3916,4323,4392,4211,4051,3793,3525,3488,3526,2966,2508,2609,2846,3065,3528,4050,4207,4494,4717,3935,3593,4033,4024,3776,2938,3749,4184,3947,4143,3254,2718,3823,4519,4760,4883,5137,5217,4828,4547,4164,4084,4221,4717,4554,4376,4553,4543,4136,3636,2916,2521,3353,3474,3591,3377,2973,3540,4019,3937,3685,3414,3552,3545,2880,2516,3185,3820,3769,3509,2950,2432,2192,2045,2260,2555,2597,2092,1984,2369,2409,2711,2744,1790,1593,1602,1627,1548,1912,2229,1953,1719,1927,2008,2143,2407,2554,2365,1865,1478,1407,1382,1560,1749,1648,1702,1930,1924,1839,1764,1583,2053,2525,1807,2373,2243,1952,1815,1671,1713,1476,1547,1899,1692,1395,1693,1914,1973,1783,2145,1828,1414,1366,1222,1519,2601,2741,2442,2927,2894,3081,2642,1716,1493,1608,1620,1777,1780,1895,1835,1627,1521,1714,2104,2164,1668,1562,1664,1720,1654,1466,1583,1783,1854,2076,2122,1902,1951,2110,2099,1986,1655,1811,1917,1959,2060,1846,1903,2083,2003,1770,1545,1647,2082,2645,2219,2215,2072,2510,2880,2839,2177,1532,1448,1478,1803,1995,2031,3095,3598,3381,3106,2353,1757,1798,2020,1813,1439,1624,2018,2348,1954,2116,2077,1920,1625,1786,2220,2854,3082,2324,2318,3140,3412,3142,3000,2692,2717,3409,3482,2864,2580,2300,2396,3422,3395,2319,2196,2197,2492,3444,3162,1778,2347,2997,2680,2465,2366,2437,2599,2474,2286,2351,3069,3595,3413,3341,3462,3740,3920,3974,3760,3819,3234,2835,3624,3921,3949,3399,2998,2761,3393,3228,2159,2408,2782,2720,2605,2566,2539,2712,3235,3219,3773,4099,4036,3563,3307,3582,3816,3566,2797,2611,2742,2877,3264,2290,1879,1896,2414,3108,3055,3166,2854,2259,2106,2323,2435,2105,2250,2486,2617,2797,2909,3094,2883,2389,2259,2503,2334,2486,2953,3013,2776,2323,2259,2938,2818,2380,2024,2480,2375,1739,1868,2365,2141,1403,1369,2142,2965,2595,2454,2701,2725,2613,2342,2001,1728,1736,2013,2075,2105,2243,2125,2217,2410,2505,2568,2517,2703,2463,2710,3105,2800,2763,2652,2655,2583,2385,2923,2631,2564,2699,3096,3031,2613,2213,2290,2503,2473,2881,2541,2281,2340,2367,2237,2312,2162,1749,1618,1560,1720,1752,1475,1462,1390,1461,1709,1729,1561,1722,2006,1782,1452,1322,1468,1520,1478,1489,1644,1974,1777,1570,1448,1720,1599,1359,1649,1734,1930,1983,1499,1644,2182,2251,1553,1698,1730,1689,2028,2238,2050,1626,1432,1799,1966,1992,1892,1959,1996,2165,1657,1658,1628,1459,1366,1311,1340,1370,1584,1744,2111,1784,2192,2863,2952,2252,2312,2807,2353,1488,1609,2404,3089,3106,2763,2686,2528,1943,1412,1451,1400,1364,1440,1562,1571,1616,1506,1327,1495,1502,1721,1935,2034,1722,1411,1405,1610,1840,1941,1837,1572,1540,1557,1358,1490,1510,1264,1213,1544,1716,1846,1635,1282,1383,1488,2106,1839,1738,1919,1926,1862,1476,1380,1578,1716,1516,1989,3178,3146,2418,2063,1835,1714,1850,1914,1982,2012,2099,2211,2130,2135,2180,2122,2097,1776,1732,1645,1556,1502,1497,1727,1977,1643,1645,2009,1925,2068,2269,2567,2403,2543,2482,2193,1886,1690,1628,1605,1565,1590,1688,1736,1437,1401,1482,1441,1701,1868,1583,1499,1579,1461,2177,2646,2195,1783,1761,1502,1228,2151,2166,1537,1879,1940,1581,1694,2398,2841,2558,2600,2279,2067,1902,1941,2161,2035,2012,1768,1656,1588,1636,2043,2432,2114,1869,1718,1694,1785,2214,2120,1981,1560,1483,2119,2338,2302,2653,2834,2603,2288,2483,2876,2805,3240,2275,2082,1848,1324,990,1698,2225,2995,3697,3441,2916,2823,3186,3447,3337,2653,2344,2564,2850,3062,3320,3196,3010,2993,3032,3052,2915,2689,2769,2716,2874,3388,3662,3436,3360,3318,3311,3487,3720,3547,3508,3128,2787,2744,2684,2656,2579,2627,2513,2665,2857,2795,2808,2688,2608,2440,2430,2339,2766,2701,2439,2543,2419,2247,2634,2780,2589,2871,3619,3827,3517,2586,2346,2176,2051,1865,2084,2707,3202,3854,4063,3777,3638,3339,2627,2621,2835,3130,3482,3873,3837,3586,3649,3593,3155,2552,2320,2369,2670,3096,2497,2028,1870,1929,2149,2488,2810,2660,2707,3099,3173,3161,3709,3795,3330,2984,2644,3124,3694,3608,3465,3466,3255,2885,2734,3068,2963,2768,2677,3076,3536,3591,3596,3042,2644,3306,3410,1976,1789,1517,1466,1964,2875,2669,2155,2104,2424,2902,2330,2241,2990,2541,1914,1789,1941,2211,2666,3031,2443,2040,2346,2971,3566,3616,2418,1676,1565,1620,1920,2663,2382,2236,2188,1875,1723,1649,1613,1576,2145,2413,1879,2161,2123,2271,2307,1986,1816,1910,1866,1848,2110,2283,1882,1698,1919,2147,2542,2950,2800,2330,2580,2873,2578,2364,2626,2454,2743,3153,2268,1814,1909,2031,2556,2422,2135,1920,2256,2610,2149,1957,2201,3030,2890,3232,3665,3388,3064,3028,2842,3091,3538,2965,2431,2635,2897,3916,3499,2463,2588,3378,3287,2528,3087,3460,3094,2813,2401,1975,2095,2603,2230,1673,2086,2075,1987,2080,2316,2576,2715,2768,2322,2303,2700,2500,2403,2402,1843,2400,2387,2089,2200,2532,2831,2392,2130,2632,2237,1953,2180,1915,1604,1818,2438,3162,3077,2504,1879,2044,2471,2753,2540,1983,2070,2329,2699,3837,4381,3885,3054,2489,2857,3210,2852,2498,2908,2551,1895,1609,1680,1937,2214,2069,2112,2289,2603,3507,2987,1913,2610,2968,2357,2414,2205,2218,2003,2309,2164,1731,1936,1978,1868,1826,1794,1727,1701,2245,2441,2255,2301,2236,1986,1759,1758,1691,2601,3246,2655,2691,2814,2177,2021,2219,2302,2570,2420,2082,2490,2860,2602,2206,1841,1548,1259,1884,3127,3651,3920,3873,3808,3637,2912,2260,2209,2341,2685,3526,3741,3529,3681,3484,2957,3090,3321,3231,3289,3492,3716,3364,2765,2367,2310,2405,2475],[3232,3414,3518,3562,3816,3319,2566,2968,2850,2201,2168,2108,3354,4003,3432,3031,3392,3549,3662,3694,3272,2907,3229,3161,2724,2780,3021,3589,4043,3425,2920,3090,3060,3249,3374,3211,3573,3431,3332,3171,3205,3652,3807,3815,3860,3906,4002,3904,3860,3695,3498,3614,3650,3498,3635,3717,3929,3859,3913,3871,3725,3738,3730,3761,3610,3414,3244,3104,3181,3226,3466,3537,3465,3324,3596,3980,3551,3008,3300,3782,3582,3200,3572,2840,2522,2397,2890,3357,3485,3012,2400,1946,2181,2602,2182,1993,2312,2319,1852,1386,1460,1776,2194,2280,2124,2584,2479,2212,2241,2441,2676,2545,2966,2349,2094,3088,2756,2312,2724,2615,2018,1753,1864,2460,2621,2296,2504,2746,2586,2250,2464,2580,1902,1837,2424,2819,2481,2229,2255,1844,1844,2017,2431,2788,2632,3344,4312,4164,3420,3375,3570,2896,2182,2266,2622,3276,3718,2783,2585,2957,2856,2835,3064,3447,3648,3881,3494,2944,2557,2170,1918,2037,1958,2341,2832,2272,1962,2352,2965,3286,2719,2150,2232,2302,2595,2491,2071,1911,2002,1918,1813,1703,1600,1426,1594,1626,1774,2141,2460,1706,1820,1940,1936,1911,1888,1999,1990,1907,1885,1785,1678,1620,1704,1726,1774,1701,2160,2286,1938,1837,2421,2894,2764,2157,1643,2212,2504,2301,2408,2449,2388,2214,2006,2069,1759,1519,1704,2048,2514,2224,1726,1446,1290,1411,1562,1574,1732,1974,1982,1996,2090,1723,2023,2706,2931,3077,2477,2076,1581,1724,2142,2599,2791,2454,2244,1875,1772,1922,2058,1712,1728,1616,1627,1699,1942,1926,1628,1689,2512,2622,1597,2413,2810,2429,1976,1442,1498,1650,1746,1923,1810,1487,1691,2034,2175,1670,1682,2104,1842,2095,2102,2224,2742,3269,3406,3130,2552,2370,2644,2035,1795,2119,1512,1412,1136,1472,1922,2183,2492,2376,2155,2445,3010,3079,2644,3304,3270,3009,2586,2603,3190,3545,3094,2861,3480,3564,3634,2675,2534,2635,2044,2673,3436,3831,3554,3428,3030,2514,2857,3273,3567,2861,2836,3011,2911,3154,2295,2462,2681,2629,2972,2747,2314,2338,1621,2139,1888,2127,1952,1613,2006,1967,2134,2645,2632,2037,2110,2651,3119,3212,2524,2546,2185,2130,2776,2541,1667,1805,2425,2664,2399,2744,2590,2266,2472,2979,2796,2591,3228,3868,3665,3134,2610,2739,3095,3233,3418,3636,4000,3818,3658,3642,3509,3366,3019,2557,2298,2468,2632,2659,2540,2491,2522,1843,1791,1633,1664,1776,1553,1536,1705,1763,1818,1608,1494,1508,1598,1726,1946,1982,2532,2376,2192,1886,1704,2208,3000,3139,3262,3015,2932,3006,2432,2288,2410,2736,2592,2038,1782,1628,1730,1742,2158,2298,2000,1984,2090,1973,1998,1926,1882,1836,1744,1747,2047,2138,2020,1852,2048,1980,2283,2163,2160,2349,2004,1888,1768,1534,1491,1615,1836,1876,1974,1972,2558,2776,2711,3144,3128,2788,1896,1615,1758,2140,2092,1859,1664,1528,1557,1721,2279,2199,2662,2472,1798,1612,1670,1669,1666,1700,1779,1641,1471,1659,1958,1874,1720,1624,1572,1288,1188,1410,1504,2003,1742,1660,1786,1688,1807,1771,1725,1847,1959,1965,2270,2105,2142,2680,2654,2657,2244,2199,2266,2402,2258,2066,2192,1958,1848,1978,2222,2380,2578,2522,2577,2658,2447,2415,2447,2410,2305,2194,2155,2169,2054,1816,1788,2199,1968,1759,2046,2133,1995,2393,2475,2197,2148,2205,2400,2430,2183,2265,2345,2302,2486,2509,2404,2599,2543,2225,1920,1882,1882,2175,2388,2523,2614,2791,2670,2502,2644,2664,2730,2872,2932,2890,2758,2651,2625,2636,2489,2362,2342,2308,2384,2555,3092,3727,3252,3283,3373,1949,1338,2025,2398,3013,3378,3537,3161,2364,2631,3262,3284,3255,3274,3149,3415,3598,3708,3509,3394,2546,2167,1963,1890,1776,2076,2435,2371,1990,2122,1844,1614,1803,1768,2045,2039,1945,2172,2766,2205,1634,1884,1914,1830,1709,1949,1878,1654,1756,2246,2312,2152,1885,1677,1730,1808,1700,2222,2810,3159,3683,3908,3940,3970,4223,4541,4340,3994,4038,3832,3294,3054,3191,3080,2999,3356,3371,3320,3820,4312,4400,4552,4113,3282,3762,4156,4036,3721,4063,4436,4271,4376,3563,2353,3087,4035,4426,4908,4939,4996,5167,4939,4615,3910,3630,4083,4332,4184,4356,4608,4544,3972,2900,2501,3379,4016,4004,3627,3296,3067,3342,3682,3812,3940,3969,3653,3248,2554,2555,3536,3739,3308,2692,2330,2170,2000,2308,2754,2865,2320,1836,1792,1771,1585,1950,2128,1792,1861,1913,1747,1645,2589,3227,2344,1593,1550,1830,2243,2475,2335,1823,1694,1424,1316,1400,1632,2053,2055,1970,2280,2299,1775,1626,1780,2254,2452,1698,2037,2425,2178,1787,2047,1908,1478,1617,2039,1902,1582,1740,1995,2013,1622,1794,2029,2103,1858,1871,2088,2403,2368,1913,2124,2708,3121,3086,2534,1900,1508,1599,1773,1658,1608,2012,2129,1675,1388,1390,1514,1474,1654,1549,1658,1741,1555,1620,1620,1671,1771,1747,2066,2097,1690,1758,1793,1737,2046,1980,1666,1700,2009,2222,2182,2156,1854,1896,1892,1955,2180,2110,1835,1597,1900,2265,2338,1961,1532,1464,1344,1929,1825,2098,2770,2822,2504,2307,2026,1562,1438,1704,1582,1343,1383,1610,1855,1891,2316,2371,2205,1899,2215,2580,2762,2810,2333,2603,3109,3166,2796,3135,3220,3055,3101,3266,3060,3078,3176,3471,4283,3842,2495,2186,2175,2340,2876,3550,3112,2977,2875,2614,2515,2390,2325,2334,2475,2765,3153,3474,3544,3385,3371,3413,3672,3808,3784,3679,3666,3444,2710,2949,3624,3702,3465,2799,2909,3398,2504,2159,3068,3345,3212,2910,2734,2558,2460,2968,3181,3371,3476,3697,3529,3507,3567,3053,2519,2348,2546,2332,2578,2864,2192,2588,3039,3053,2862,2727,3231,3321,2889,2834,2924,3330,2734,2618,2977,3217,3805,3886,3843,3630,2850,2250,2548,2840,2862,2916,2958,2629,2345,2260,3129,3487,2966,2318,2423,2993,2887,2640,2532,2327,1854,1615,2429,2884,2980,2524,2326,2173,2408,2578,2229,1877,1752,1716,1744,2015,2532,2382,2508,2438,2156,2095,2344,2552,2388,2583,2888,2471,2000,2292,2380,2155,2176,2832,2843,2765,2652,2697,3196,2783,2291,2666,2629,2424,2762,2334,1686,1754,2110,1727,2140,2598,2100,1894,1659,1521,1682,1660,1562,1477,1454,1749,1986,1979,1742,1432,1451,1472,1289,1367,1470,1475,1501,1741,2679,2083,1532,1615,1896,1952,1820,2097,2306,2493,2076,1481,1731,2827,2618,1735,1641,1968,2131,1920,1481,1424,1523,1663,1807,2054,1910,1813,1709,2010,2289,2119,2109,1981,1798,1531,1244,1414,1572,1676,1715,2064,1725,2368,2656,2351,2470,2912,2744,2235,1600,1917,2608,3480,3732,3318,2884,2558,1910,1482,1536,1412,1336,1594,1807,1413,1410,1353,1447,1434,1358,1472,1710,1814,1520,1334,1413,1533,1820,1932,1880,1640,1196,966,1171,1404,1408,1332,1413,1565,1749,1897,1520,963,1366,1537,1980,1644,1489,1972,1957,1671,1366,1389,1762,1785,1474,1568,2437,3012,2457,1817,1897,2017,1992,2017,1953,1903,2104,2282,2275,2304,2097,1607,1802,1755,1633,1651,1541,1583,1548,2071,2544,1855,1809,2091,1901,2181,2267,2430,2408,2423,2435,2210,1722,1504,1442,1353,1443,1649,1577,1684,1578,1292,1246,1295,1711,1930,1860,1827,1856,1770,2078,2648,2349,1665,1913,2244,2083,2753,2166,1525,1866,2118,1988,2024,2832,3558,3267,2411,1940,2178,2410,1940,1731,1699,2267,2226,1715,1745,1827,1903,1913,1893,1950,1684,1805,1994,2203,1926,1466,1840,2396,2208,1798,1845,2460,3064,2925,2569,3355,3807,3272,3572,3031,2523,2301,1740,1788,2347,2600,3435,3857,3398,2217,2224,2910,2981,2720,2542,2271,2309,2839,3296,2448,2445,3062,3230,2974,3079,2743,2740,3105,3342,3362,3630,3284,2852,2917,2978,3326,3421,3705,3604,3459,3042,2812,2658,2634,2567,2513,2483,2513,2744,2647,2806,3039,2811,2713,2570,2565,2534,2674,2467,2212,2246,2143,1881,2138,2630,2770,2652,3369,3293,2828,3096,3261,3039,2633,2071,2686,3767,3749,3892,3739,3262,3294,2859,2166,2227,2693,3125,3363,3746,4056,3430,3279,3404,3208,2976,2790,2893,3338,3670,2976,2004,1864,2197,2138,2107,2075,2218,2280,2476,3039,3310,3761,3758,3427,2741,2249,2545,3253,3373,3120,3184,3022,3041,3162,3117,3138,3088,2978,3168,3474,3551,3563,3760,3628,3287,2380,1626,1424,1644,1447,1415,2635,2751,2265,2322,2270,2353,2177,2613,3084,2176,1661,1699,2015,1814,2806,3761,2812,2080,2090,2942,3054,2978,1936,1644,1576,1484,1832,2221,1864,1887,2065,1841,1660,1705,1556,1603,2155,2133,1958,1807,1761,2086,2172,1763,1825,1958,1844,2094,2244,2146,1674,1788,2216,2552,2876,3252,2701,1544,1827,2620,2458,2235,2207,1665,2146,2056,2240,2283,2098,2375,2590,2114,2460,2602,2522,2788,2122,1998,2489,2690,2685,3304,3463,3081,2868,2695,2841,3572,3837,3187,2576,2984,3796,4256,3924,3127,2703,3123,3033,2790,3409,3494,3087,2971,2688,2408,2610,2641,2470,1972,2146,2409,2026,1945,2282,2291,2604,2650,2161,2509,2900,2242,2314,2280,2267,2310,2178,1979,2072,2633,2500,2002,2143,2301,1964,2021,2138,2138,1904,2047,2723,3355,3312,2644,2039,2402,2755,2851,2792,2661,2875,2334,2788,3760,4332,4380,3837,2871,2608,2617,2687,2720,2755,2025,1703,1653,1724,2024,2382,2338,2564,2653,2658,3207,3128,2636,3382,3632,3046,2150,2078,2320,2396,2351,1930,1825,1770,1536,1720,1892,1558,1919,2346,2998,3175,2354,1575,1492,1875,2360,2308,1755,2038,2356,2030,2187,2266,2057,1827,2178,2419,2710,2873,2818,2751,2206,1868,2107,2269,2259,2001,2256,2587,3448,3724,3521,3466,3162,2684,2225,2308,2532,2661,3381,3506,3067,3131,3196,2995,2933,3138,3448,3420,3398,3344,2902,2446,2231,2370,2597,2476],[3262,3296,3240,3452,3684,3303,2799,3007,3254,2810,2543,2923,3652,3769,3479,3362,3353,3163,3009,3602,3652,2765,2744,2589,2860,3084,3379,3643,3596,3238,2894,2998,3341,3559,3545,3703,3717,3341,3306,3318,3561,3755,3710,3837,3906,3980,4058,3984,4017,3615,3754,3854,3487,3531,3719,3586,3459,3684,3886,3771,3676,3718,3872,3963,3862,3570,3412,3348,3375,3009,2973,3364,3286,2744,2990,3781,3545,3040,3050,3265,3138,2902,3226,2779,2699,2915,2951,3182,3277,2987,2696,2197,2253,2208,2003,2181,2385,2299,1851,1465,1841,2025,2111,2381,2590,2641,2091,1773,2026,2008,2443,2612,2325,2419,2746,3433,3377,2628,2708,2159,1978,2082,1932,2448,2267,1872,1803,1829,1921,1909,2294,2652,2032,1552,1769,1870,2059,2310,2266,2171,2196,1832,2251,2703,2165,2177,3177,3343,2369,2586,3082,2470,2599,3022,3558,3948,4077,3240,2508,2713,2932,2770,2620,2958,3023,3394,2705,2837,2998,2463,2115,2271,2335,2668,2821,2312,1780,2532,3153,3057,2290,1748,1970,2552,2619,2396,2085,1927,1753,1740,2481,2328,1800,1523,1737,1559,1716,1762,1898,1798,1893,1875,2022,2030,1844,2154,2131,1904,1532,1472,1620,1793,1743,1725,1611,1975,2374,2149,1931,2310,3122,3241,2929,1900,1922,2999,2388,1885,1925,1960,2052,2234,2291,2227,1850,1756,2021,2192,1980,1814,1684,1471,1473,1478,1542,1539,1690,2206,2216,2199,2388,1827,2093,3066,3030,2608,2191,1869,1796,2055,1920,1863,2157,2323,2295,1996,1860,2045,2245,1909,1792,1847,1647,1872,2262,1951,1804,1684,2283,2404,1499,2603,2367,1621,1722,1839,1765,1875,2039,2267,1852,1366,1337,1804,2041,1509,1711,1893,1598,1802,2124,2620,3242,3447,3329,2909,2246,2029,2009,1743,2031,2170,1664,1098,1351,1860,2070,1977,1902,2007,2392,3206,2984,3134,3400,3050,2622,2699,2491,2577,3098,3044,2551,2484,3044,3337,3561,2705,2189,2122,2179,2761,3759,3803,3748,4031,3928,3373,3309,3164,3704,2620,2089,2386,3233,2990,1967,2375,2654,2574,2776,2641,2026,2386,1757,2261,2165,1876,1675,1877,2263,1980,2083,2414,2634,2744,2964,2906,3567,3599,3105,2974,2865,2787,3060,2563,1693,1711,2087,2315,2032,2074,1905,1979,2366,2536,2323,2768,3189,3316,3559,2832,2401,2518,3043,3243,3538,3710,3896,3827,3783,3654,3506,3333,2858,2240,2432,2632,2712,2946,2476,2061,1735,1525,1553,1541,1460,1425,1495,1697,1938,1966,1616,1455,1611,1801,1747,1730,2124,2619,2964,2818,2383,1855,1644,2002,2644,2973,3094,2546,2411,2436,2342,2321,2513,2973,2527,1669,1807,1700,1625,1642,1963,2096,1647,1638,1769,1860,2091,2283,2326,2189,1821,1685,2078,2130,1982,1714,1557,1740,1971,1806,2071,2252,1764,1578,1404,1331,1512,1741,1562,1595,2181,1947,1782,1701,1978,2573,2722,2162,1616,1575,1838,2149,1897,1669,1534,1860,1851,1687,1741,1856,1841,1655,1582,1612,1645,1568,1911,2054,1699,1481,1363,1862,2132,1924,1885,1890,1779,1331,1316,1579,1725,2134,1632,1531,1505,1635,1719,1532,1930,2301,1667,1785,2247,2130,2338,2554,2551,2222,1854,2058,2062,2405,2322,2347,2435,2040,1877,2096,2334,2453,2693,2646,2709,2645,2453,2419,2459,2410,2282,2219,2352,2494,2185,1942,1950,1918,1876,1747,2032,1993,1817,2085,2301,2175,2049,2210,2269,2154,2249,2511,2526,2275,2292,2411,2468,2388,2326,2210,2038,2024,1912,2157,2393,2609,2633,2759,2796,2652,2597,2759,2865,2877,2836,2841,2900,2853,2780,2609,2476,2287,2409,2204,2190,2191,2633,3542,3095,2507,2575,2260,2150,2531,2565,3006,3449,4071,3390,2275,2711,3483,3361,3343,3073,2788,3044,3465,3549,3576,3548,3330,3055,2470,1937,2091,2293,2231,2104,1892,2126,1736,1581,1838,2031,1808,1723,1694,1765,2181,2358,1975,1810,1960,2003,2106,2346,1882,1613,1831,2210,2072,1736,1876,2146,2029,1755,1705,2111,2387,2633,3249,3566,3646,3806,3939,4082,3797,3627,3513,3429,3362,3259,3236,3392,3396,3688,4052,4340,4662,4791,4539,4025,3139,3595,4006,4081,3749,3859,4425,4685,4651,4100,2670,2600,3736,4409,4793,4900,4834,4643,4875,4837,4660,4319,3685,3497,3802,4141,4389,4428,4227,3672,2916,3184,3709,4140,4493,4236,3827,3489,3569,3892,4232,4101,3749,3448,3415,3242,3123,3555,3241,2633,2299,2118,1935,2216,2734,2796,2418,1775,1675,1864,1785,1551,1607,1638,1592,1690,1737,1873,2124,2852,2895,1934,1331,1672,2092,2566,2676,2171,1801,1549,1374,1309,1522,2101,2473,2512,2419,2093,2161,2046,2002,1816,2093,1909,1507,1992,2532,2010,1786,1882,1727,1803,1923,2503,2434,1865,1891,2423,2167,1616,1559,2134,2929,2267,2003,2086,1824,1756,1656,2505,2817,2950,2866,2576,2047,1665,1937,2037,2016,1936,2104,2139,1836,1506,1469,1510,1465,1611,1576,1713,1867,1827,1672,1459,1686,1597,1508,1461,1627,1831,2066,1751,1842,2332,2060,1510,1587,1946,1968,2008,1789,1724,2127,2327,1954,1650,1724,1577,1793,1926,1883,1892,1843,1791,1613,1488,2322,2050,1680,1973,2420,2364,2239,2399,2212,1607,1636,1502,1649,1463,1588,1676,2169,2679,2568,2074,1635,1760,2309,2539,2284,2097,2802,3104,3142,3099,3680,3620,3071,2950,3169,3396,3583,3458,3603,3989,3864,2569,2368,2374,2229,2417,3086,3545,3451,2912,2475,2425,2391,2664,2768,2922,3375,3664,3520,3471,3537,3495,3567,3729,3626,3803,3785,3430,3405,3046,2534,3109,3532,3609,3344,3193,3051,2176,2334,3367,3882,3124,2675,2834,2585,2001,2393,2810,3054,3340,3688,3688,3460,2711,2030,2341,2824,3101,2769,2558,2493,2289,2940,3370,3249,2885,2579,2564,2323,2205,2387,2130,2518,2793,2520,2391,2174,2206,2236,2363,2602,2358,2046,2463,2975,2692,2415,2443,2381,2458,2447,2818,2963,2902,2597,2252,2717,2951,2698,2389,2160,2101,2071,2709,3004,3249,2920,2126,1903,2325,2438,2254,2036,1769,1676,2041,1969,2351,3027,2800,2207,1994,1955,2196,2355,2554,2663,2454,2358,1881,2188,2521,2442,2464,2829,2741,2570,2436,2244,2814,2835,2268,2202,2215,2124,2437,2359,1477,1454,1877,1598,2071,2346,1828,1925,1699,1528,1861,1839,1595,1454,1371,1437,1782,2224,1933,1382,1364,1341,1391,1755,1566,1299,1356,1438,1546,1563,1851,1885,1935,2319,2696,2940,3234,3198,2559,1726,1459,1700,1857,1780,1883,2382,2442,1889,1733,2176,1867,1760,1852,2032,2043,2171,1964,1981,2627,3019,2769,2259,1921,1543,1394,1784,1502,1476,1720,2084,2082,2293,2050,1558,1727,2220,2135,2354,2281,2602,2804,3049,3285,3366,3352,3297,2576,1485,1539,1368,1505,1606,1466,1275,1328,1456,1680,1544,1444,1457,1512,1426,1221,1260,1423,1403,1656,1864,1900,1706,1337,1378,1525,1434,1309,1319,1474,1560,1798,1577,1278,1373,1581,1448,1915,1675,1550,1906,1951,1653,1411,1533,1849,1898,1599,1522,1876,2818,2577,1979,2018,1890,1580,1598,1826,2121,2251,2317,2483,2707,2271,1707,2182,2087,1681,1539,1479,1466,1506,1731,1670,1318,1606,1927,1869,2309,2448,2557,2573,2286,2562,2542,1622,1440,1525,1610,1723,1699,1542,1486,1361,1374,1413,1484,1677,2030,2099,2345,3008,2649,2096,2222,2169,2308,2256,2566,2931,3099,2342,1418,1746,2473,2654,2217,2874,3021,2727,2193,1967,2145,2988,2473,1836,1769,2256,2474,1809,2279,2587,1844,1545,1715,1688,1714,1907,1932,2226,1885,1214,1449,2226,2207,1558,1919,2855,3263,2777,2357,3342,4253,4176,3491,2954,3003,2729,2338,2721,2924,3097,3538,3747,3105,2082,1787,2265,2198,2477,2800,2486,2299,2811,2950,2251,2535,2923,3326,2976,3000,2962,3053,3448,3704,3620,3399,2819,2408,2581,2833,3307,3307,3499,3466,3282,3219,2966,2742,2613,2471,2859,2844,2364,2328,2359,2393,2706,2876,2764,2812,2775,2598,2585,2522,2425,2415,2100,1785,1857,2054,2395,2757,3197,3149,3143,3685,3552,2758,2519,2549,3138,4216,4264,3993,3519,3089,2819,2329,2017,2040,2278,2691,3183,3509,3873,3278,3277,3124,2967,3348,3500,3423,3840,3927,3077,2392,2393,2657,2487,2253,2220,2132,2120,2184,2144,2839,3519,3584,3395,3119,2707,2318,2828,3155,3183,3166,2993,3241,3354,3206,3174,3127,3075,3065,2985,3282,3686,3965,3793,2739,1804,1592,1469,2116,2107,2370,3078,2409,2318,3313,3224,2492,2178,2767,2675,2289,1958,1924,1887,1997,2799,3203,3056,2928,2269,2113,2544,2198,1616,1613,1762,1708,1911,2213,1806,2131,2402,2061,1705,1684,1574,1682,2180,2469,2203,1865,1694,1783,1764,1957,2208,1713,1861,2203,2191,1979,1689,1959,2176,2539,2991,3007,2346,1834,1771,1988,2088,3045,2923,2150,1860,1989,2571,2787,2394,2562,2337,1431,1858,1857,1831,2124,2120,2245,2410,2181,2964,3826,3549,3365,3261,2864,3041,3022,2903,2645,2640,3309,3902,4108,3935,3118,2938,3773,4020,3899,3817,3608,3195,3072,2915,3002,2878,2031,1999,2081,2367,2546,1998,2163,2654,2765,2263,2545,2715,3039,2652,2155,2602,2978,2875,2427,2359,2370,2562,2332,2618,2540,2380,1958,1729,1934,2034,2113,2271,2526,2893,3171,3329,3486,2846,2406,2763,2755,2622,2898,2862,2415,2037,2257,3338,4042,3445,2866,2621,2071,2363,3006,2504,1908,1736,1666,1758,1953,2238,2754,3120,2731,2464,2568,2740,3197,3611,3721,3130,2084,2194,2445,2365,2148,1798,1765,1913,1765,2086,1679,1615,1972,2076,2877,2784,1974,1779,2078,2156,2384,2402,1747,1669,1888,2122,2436,2797,2489,1843,2204,2213,2110,2929,3045,2545,1807,1646,1949,2378,2346,2132,1885,2573,3428,3528,3363,3259,2951,2365,2209,2403,2189,2455,2962,2975,2966,2977,3099,3326,3136,3204,3598,3419,3339,2949,2188,2370,2367,2457,2670,2586],[3593,3539,3633,3841,3915,3731,3007,2684,3250,2759,2208,2861,3293,2917,3261,3775,3228,2402,2078,2626,2777,2735,2758,2659,3136,3331,3116,2645,2642,3041,3105,3184,3725,3759,3773,3725,3470,3312,3354,3647,3907,3765,3695,3818,3890,3927,3972,4208,4015,3728,3870,3613,3351,3484,3636,3494,3343,3586,3773,3607,3494,3512,3739,3793,3714,3482,3480,3479,3343,2829,2810,3372,3519,2851,2918,3711,3232,3076,3143,3851,3560,3248,3560,3882,3861,3448,2990,3104,3330,3089,2994,2573,2408,2333,2311,2519,2355,2008,1735,1973,2222,2137,2047,2272,2436,2276,1952,1827,2188,2438,2307,2160,1905,1844,2223,2685,2613,2228,2464,1844,1645,1758,1789,1719,1836,1874,1804,1489,1430,1679,2324,2950,2857,1614,1825,1764,1745,2259,2564,2578,2209,1741,1882,2120,2225,2493,3228,3039,3121,3006,2916,2757,3219,3870,4188,4123,3991,3339,2714,3378,3139,2821,2953,3011,2905,3285,2954,2865,3226,2885,2464,2520,2474,2509,2951,3310,2702,3106,2740,2420,2024,1908,2160,2316,2310,1994,2102,2194,1856,2568,2791,2646,1706,1826,1812,1386,1539,1550,1410,1798,2021,1874,1942,1878,2003,2441,2344,2441,2263,1737,1455,1682,1809,1795,1744,2077,2221,2023,1716,2352,3460,3409,3141,2609,3079,3079,2330,1979,1909,1792,1693,1836,1948,2146,2116,1999,2091,1943,1844,1903,1837,1684,1599,1540,1844,2147,2000,2365,2348,2555,3065,2741,2701,2872,2595,2474,2469,2143,1929,2165,2269,2045,2182,1999,1786,1575,1528,1726,2008,2135,2186,2019,1615,1773,1988,2248,1867,1665,2011,1781,2032,2543,1708,1326,1960,1903,1765,1793,1822,1939,1820,2061,1532,1469,1487,1516,1667,1491,1502,1941,2610,3242,3286,3071,3010,2959,2723,1936,1770,2032,2396,2511,1991,1602,1835,2059,2054,1630,1887,2297,3090,3406,2508,2169,2465,2774,3047,3082,2525,2193,2795,3230,3130,3109,3204,3102,3100,2799,2180,2281,2455,2770,3617,3421,3340,3539,3843,3946,3784,3353,3272,2366,1766,1879,2482,2588,2134,2400,2741,2811,2824,2676,2242,2005,1991,2480,2615,2285,1876,2299,2600,2319,2342,2197,2604,3321,3736,3807,3824,3639,2852,2084,2613,3399,3044,2636,2282,1936,2082,2104,2104,1831,1708,2003,2410,2709,3045,3392,3475,3632,3580,2797,2410,2448,3289,3275,3320,3325,3281,3535,3705,3729,2995,2457,2588,2109,2266,2500,2950,2531,2094,1967,1810,1587,1627,1842,1811,1648,1697,1721,1864,1598,1511,1594,1777,2008,1952,2158,2673,2789,2512,2397,2662,2385,1979,2647,3256,3319,2842,2052,1876,2203,2564,2509,2166,2166,2028,1698,1858,1836,1499,1705,2183,2230,1769,1603,1686,1926,1988,1880,2158,2130,1742,1574,1931,2639,2370,1858,1582,1555,1785,1937,2212,2194,1892,1782,1520,1449,1722,2008,1577,1627,2008,1828,1729,1817,1965,1963,1738,1371,1452,1544,1967,2422,2117,1726,1638,1673,1669,1633,1658,1716,1695,1887,1974,1741,1519,1710,1866,1975,1654,1531,1515,1888,2128,2003,1881,1911,1845,1497,1657,1536,1533,1507,1470,1595,1647,1582,1572,1581,1939,2124,1664,2204,2880,2349,2691,2508,2428,2318,2476,2193,1761,2001,2058,2133,2179,1995,2019,2320,2409,2369,2605,2610,2674,2715,2557,2436,2370,2302,2402,2186,2159,2534,2618,2385,2031,1765,1838,2031,2127,1979,1903,1748,1975,2004,2160,2364,2342,2219,2247,2742,2988,2598,2160,2163,2375,2447,2356,2762,2344,2100,1992,2229,2499,2930,2784,2479,2585,2544,2532,2833,2813,2895,2979,2997,3072,2955,2742,2542,2442,2246,2350,2381,2183,2365,3322,4000,3104,2228,2161,2125,2327,2485,2896,3231,3657,3942,3200,2929,3489,3365,3134,3272,3566,3354,3274,3429,3440,3548,3646,3624,3327,2584,2340,2700,2610,2591,2083,1969,2048,1840,1752,1900,1906,1698,1700,1791,2021,2402,2789,2104,1831,1794,1961,2070,1960,2281,2715,2728,3037,2775,2147,2390,2264,1908,1793,1767,1954,2119,2523,3083,3050,2947,3363,3431,3729,3462,3318,3167,3554,3474,3508,3516,3605,3491,3663,4143,4421,4383,4576,4584,4312,4172,4297,3697,3266,3350,4094,4516,4732,4839,4131,3163,3710,4428,4687,5028,4791,4775,4604,4487,4488,4649,4540,4003,3764,3868,4064,4212,4208,3482,3311,3480,3707,3701,4090,4265,4396,4271,4228,4432,4515,4468,3425,3355,3182,3023,2773,2783,2950,2602,2286,2136,1999,2159,2590,2987,2928,2408,2216,1728,2109,1767,1587,1700,1602,1441,1201,1603,2266,2229,2270,2310,1986,1350,1826,2434,2749,2657,2020,1902,1865,1560,1451,1515,1782,2166,2498,2568,2172,2075,2174,2139,1801,1916,2169,2145,1891,1807,1614,1823,1578,1761,2026,2061,2336,2182,1694,1597,1898,1863,1713,1496,1780,2491,1976,1901,1789,1181,1394,1675,2349,2819,2696,2435,2101,1620,1920,2377,2253,2057,1945,1587,1804,1561,1379,1410,1413,1522,1489,1547,1860,1958,1927,1946,1773,1710,1490,1406,1450,1588,2114,2368,2262,2773,2999,2479,1664,1528,1535,1775,2020,2085,1952,1823,2089,1935,1686,1956,1809,1807,1622,1690,1527,1869,2354,2006,1571,2080,1920,1343,1527,1972,2094,1917,2332,2471,2076,2050,1775,1617,1581,1609,1746,2329,2654,2178,1768,1871,2291,2666,2540,2427,2546,3023,2965,3255,4061,4475,3894,3353,3459,2964,3365,3742,3515,3243,3748,3962,2913,2652,2547,2254,2404,2645,2917,3164,2042,1315,1786,2579,3209,3350,3459,3651,3486,3310,3472,3607,3383,3203,3294,3247,3683,3738,3485,3214,3294,2587,2588,3322,3955,3819,3251,2596,1979,2598,2842,3125,2448,2638,2857,2236,1676,2042,2666,3141,3429,3666,3631,3249,2522,2297,2702,2968,3416,2792,2433,2469,2442,2859,3348,3430,3305,2766,2181,2185,2224,2202,2014,1781,2006,1903,1520,1309,1307,1445,1592,1864,1708,2144,2799,2833,2476,2525,2533,2719,3078,2995,2879,2724,2353,2375,2279,2554,2708,2009,2280,2484,2619,2865,3127,3036,2890,2867,2298,1903,2020,2131,2291,2403,2226,2144,2286,2086,2136,2727,2733,2360,2148,2051,2063,2164,2423,2438,2263,2519,2398,2221,2552,2622,2459,2467,2545,2632,2342,2231,2843,3156,2274,1612,1519,2237,2895,2404,1239,1051,1423,1490,2068,2105,1584,1691,1760,1575,1918,1848,1454,1425,1557,1478,1647,2360,2677,1569,1208,1281,1368,1547,1518,1535,1521,1431,1483,1617,2092,2437,2614,2917,3308,3298,3227,3030,2671,2007,1490,1708,1925,1710,1725,1814,1560,1550,2122,2489,2152,1840,1986,2033,2174,2262,1770,1615,2468,2847,2592,2239,1698,1428,1358,1578,1468,1467,1572,1599,1992,2183,1714,1227,1398,2121,2468,2432,2310,2733,2887,2665,2394,2689,3282,3519,2734,1541,1698,1594,1792,1534,1422,1293,1396,1584,1613,1541,1516,1412,1371,1282,1296,1386,1418,1309,1490,1775,1902,1795,1675,1618,1412,1330,1396,1548,1774,1793,1867,1241,1664,1937,1419,1430,1753,1727,1724,1753,1919,1708,1460,1526,1687,1903,1779,1619,1555,2458,2676,1913,1855,1730,1601,1686,2017,2198,2238,2444,2709,3184,2838,2112,1891,1677,1514,1507,1574,1600,1639,1474,1450,1922,2400,2166,1909,2029,2257,2486,2658,2950,3147,2707,1762,1651,1701,2383,2471,2313,2270,1882,1494,1485,1550,1742,2106,2476,2320,1957,1909,2042,2234,2243,2448,1991,1905,2765,2890,2686,2232,1331,1938,2890,3154,2397,2761,2521,2182,1926,1874,2006,2386,2185,1749,1775,2440,2676,1753,1996,2004,1432,1379,2039,1936,2277,2151,1825,2043,1563,1148,1122,1996,2472,2187,2451,2556,2586,2534,2527,3063,3596,3530,2982,2929,2785,2374,2563,2921,2706,2907,3174,3329,2855,2447,2316,2133,2067,2652,2585,2490,2237,2387,2987,3476,2979,2707,2871,3404,3238,2795,3051,3397,3451,3342,2953,2612,2435,2678,2997,3174,3229,3331,3297,3190,3067,2821,2730,2571,2370,2957,3320,2774,2293,2197,2054,2557,2918,2974,3194,3042,2696,2542,2592,2640,2746,2223,1898,1952,1921,1933,2226,2557,2844,3168,3460,3419,2654,2448,2571,3310,4050,4097,3850,3416,2958,2444,2082,2026,1943,1872,1874,2182,2695,3307,3293,3654,3142,2620,2977,3638,3868,4181,3965,3022,2525,2579,2917,2719,2602,2531,2199,2008,2107,2106,1836,2188,2995,3601,3572,3353,3077,3243,3251,3187,2975,2986,3383,3312,3150,3277,3204,3392,3244,2819,3321,3385,3138,3016,2481,2073,1884,1953,2156,2691,3210,3018,2623,2532,3118,3441,2396,1906,2360,2435,2276,2164,2080,1970,2613,2644,3119,3150,3228,2952,2462,2294,1997,2100,2164,2089,2037,1757,2082,1936,2429,2337,2181,1826,1775,1788,1669,1902,2113,1792,1619,1766,1733,1863,2522,2544,1846,1820,1960,2190,2186,1834,1842,2080,2276,2367,2232,2113,2066,1998,2180,2508,3212,3351,2866,2432,2501,2714,2865,2994,2796,2218,2124,1957,1787,2053,2036,2134,2111,1756,1831,3019,3453,3197,3164,2686,2463,2953,2878,2592,2230,2824,3507,3669,4000,3782,3256,3488,3824,4152,4063,3569,3579,3430,3626,3430,3230,2857,2109,1732,1942,2325,2426,1994,2429,2806,2752,2120,2626,3118,2862,2358,1999,2066,2686,2465,2193,2302,1969,2356,2268,3100,3094,2458,1827,1920,2250,2215,2017,2094,2255,2657,2939,3396,3400,2734,1681,1498,2008,2680,2810,2520,2621,2083,1581,2300,3134,3000,3030,3012,2705,2664,2513,1982,1849,1870,1758,1804,1841,1922,2535,2853,2576,2432,2359,2414,2934,3338,3088,2210,1787,2039,2335,2210,2071,1860,1797,1806,1816,1716,1880,1991,1930,2289,2792,2428,2022,1813,1976,1866,2268,2135,1723,1814,2249,2398,2656,3300,2975,2082,2209,2214,2381,3505,2490,1544,1499,1591,2129,2155,2163,2301,2431,2824,3024,3075,3339,3440,2752,2121,2547,3204,2508,2570,2845,2752,2661,2707,2961,3426,3469,3497,3793,3800,3661,3167,2599,2640,2510,2601,2862,2785],[4022,4101,3892,3487,2608,2226,1550,2178,3078,2962,2807,3347,3724,3431,3831,3758,2967,2517,2449,2137,1826,2417,2932,2919,3065,2950,2522,2224,2408,2711,3284,3658,3826,3848,3779,3558,3398,3480,3527,3834,4025,3817,3682,3663,3849,3971,4325,4325,3715,3886,3971,3669,3480,3450,3542,3500,3384,3684,4006,3424,3383,3473,3753,3876,3662,3629,3685,3471,3182,2774,3057,3627,4065,3836,3652,3660,3251,3153,3586,3698,3952,4409,4440,4636,4604,3692,3062,3033,3066,3270,3265,3254,2962,2347,2311,2863,3035,2249,2266,3134,3273,2766,2473,2591,2111,2244,2389,2101,1952,2315,2736,2562,2020,1871,2078,2257,2513,2467,2754,2151,1736,1875,1779,1698,1778,2013,2340,2092,2023,2026,2127,2743,3244,2432,2466,2146,1714,2262,2542,2176,1935,2036,1942,2084,2415,2382,2725,2226,2766,3324,3734,3621,3489,3775,3905,3807,3837,3628,2609,3048,3094,3418,3651,3520,3476,3703,3364,3176,3599,3222,2787,2484,2479,2719,3240,3694,3418,3122,2601,2247,2254,2187,1688,2138,2382,1727,1995,2047,1915,2520,2084,1968,1643,1995,1981,1768,1828,1467,1408,1896,1772,1847,1902,1889,2107,2253,2381,2997,3264,2321,1592,1597,1780,2176,2452,2593,2210,2385,2332,2918,3565,3662,3248,3131,3389,2813,2770,2701,2126,1814,2014,1662,1784,1830,1870,2029,2024,1947,2204,2263,2081,1968,2057,1686,2057,2050,1781,2261,2555,2557,2666,2742,2381,2007,2268,2287,1985,2060,1715,1745,2081,1970,1562,1516,1600,1572,1654,1615,1843,2476,2392,2066,1918,1799,2141,2211,1886,1800,2023,2223,2401,2292,2019,1876,1955,1707,1817,1675,1504,1595,1660,1738,1458,1414,1495,1728,1643,1320,1575,2119,2849,2942,2916,2928,2955,3084,2991,2889,2384,2207,2735,2853,2424,2778,2460,2331,2365,2034,2294,2811,3275,3384,2846,2245,2095,2610,3157,2907,2313,2082,2574,2841,3156,3440,3539,3176,2759,2569,2380,2463,2631,3300,3664,3283,2666,2842,3073,3074,2765,2574,2877,2394,2060,2207,2250,2363,2553,2754,2833,2902,2977,2668,2176,2148,2614,3118,3089,2308,1991,2637,2455,2185,2059,2069,2191,2294,2930,3852,3891,3480,2915,1888,2481,3011,2631,2552,2564,2381,2175,2562,2998,2179,1816,2700,3218,3096,3191,3640,3715,3450,2995,2695,2400,2833,3559,3517,3702,3825,3833,3970,3777,3680,2783,2374,2574,2119,2236,2389,2504,2413,2247,2322,2130,1564,1583,1691,1637,1427,1488,1448,1556,1462,1625,1803,1933,2186,2381,2621,2812,2614,2012,1882,2699,2987,2483,2818,3480,3239,2264,1856,1878,2343,2986,2615,1983,1752,1881,2189,2150,1930,1765,1880,2497,2183,1471,1570,1604,1741,1875,1818,1896,1712,1782,1781,2286,3328,3069,2213,1744,1627,1766,1696,1852,2051,2442,2502,1981,1392,1503,1792,1526,1426,1604,1597,1622,1731,1789,1668,1506,1362,1432,1522,1858,2432,2203,2227,2148,1603,1424,1358,1541,1537,1748,1845,1905,1663,1657,2041,1716,1443,1656,1634,1645,2028,1973,1985,1766,1871,1956,1864,1843,1681,1595,1379,1439,1888,2016,1676,1555,1584,1524,1504,1775,2130,2493,2522,2659,2458,2328,2182,2189,1983,1818,2054,2075,1957,1891,2105,2670,2745,2410,2347,2657,2617,2610,2800,2640,2353,2273,2197,2492,2313,2494,2853,2576,2340,2173,1993,1984,2223,2304,2407,2276,1768,1699,1584,1908,2205,2219,2024,1898,2212,2674,2605,2176,2232,2501,2557,2625,2196,2376,2343,2286,2523,3056,3442,2872,2436,2475,2574,2786,2836,2811,2894,3017,3002,3051,2906,2691,2636,2447,2194,2189,2554,2660,2833,3110,3272,2583,2258,2352,2923,3095,3114,3566,3683,3747,3739,3330,2954,2674,2584,2812,3400,3798,3518,3540,3673,3650,3767,3745,3646,3376,2247,1925,2700,2967,2773,2086,1873,1997,2057,1936,1817,1795,1767,1953,2072,2430,2375,2579,1952,1744,1770,1740,1971,2036,2765,4257,4101,3415,2267,1953,2562,2643,2163,1830,1737,2058,2295,2214,2576,2713,2585,3163,3415,3515,3570,3638,3478,3601,3701,3938,4216,4177,4148,4237,4196,4216,3936,4120,4315,4236,4253,3720,3400,3037,3584,4425,4561,4502,4548,4420,4573,4748,4747,4575,4896,4969,5027,5049,4607,4240,4450,4443,4200,3939,3856,3774,4016,3696,3364,3585,3741,3739,3980,4095,3876,4048,4108,4108,4357,4509,4546,3975,3565,2962,2567,2784,2875,2500,2238,2154,1995,2210,2840,2845,2829,2660,2893,2541,1661,1699,1533,1533,1810,1666,1395,1302,1835,2131,2076,2522,2512,2503,2223,2326,2690,2833,2344,1968,2045,1977,1667,1591,1659,1600,1537,1904,1904,2123,2381,2331,2084,1898,1939,2031,2407,2664,2285,1809,1750,1610,1969,2024,1801,1619,1600,1814,1731,1488,1792,1716,1230,1463,1698,1675,1542,1551,1448,1533,1671,2091,2119,1968,1878,1488,1630,2354,2344,1936,1856,1707,1460,1672,1654,1536,1489,1684,1925,1933,1855,1932,1865,1871,1821,1698,1549,1569,1562,1764,2166,2567,2831,3628,3764,3265,2522,1810,1531,1633,1739,1675,1776,1905,1729,1821,1834,1570,1609,1777,1690,1626,1743,1593,1945,2034,1869,1827,1831,1848,1758,1611,1439,1491,1508,2087,2778,2821,2509,1887,1949,2140,1686,1926,2412,2153,1602,2176,2178,2114,2446,2260,2451,2741,3019,3133,3704,4608,4415,3094,3023,3714,3365,3974,3953,3473,3163,3185,3164,2792,2465,2364,2242,2250,2274,2446,3257,2923,2205,2342,2922,3448,3523,3489,3309,2976,3122,3339,3209,2741,2755,3116,3109,3620,3739,3961,3828,3417,2854,2467,2890,3937,3893,3316,2373,2286,2640,2823,2685,2879,3472,3022,2052,2069,2375,2659,2954,3486,3331,3203,3209,2760,2702,2611,2876,3006,2577,2400,2337,2574,2877,3353,3509,3434,2792,1916,1676,1710,2272,2234,1593,1576,1748,1714,1694,1564,1446,1660,1859,1620,1791,2270,2388,2584,2818,2474,2690,3340,3260,2675,2702,2615,2680,2821,3031,2722,2513,2756,2820,3252,3640,3310,3008,2889,3002,2204,1946,2476,2510,2071,2319,2601,2443,2375,1989,1831,2314,2156,2182,2170,2029,1914,2152,2534,1968,1351,1779,2445,2609,2653,2577,2181,2307,2381,2879,3003,3465,3750,3269,2482,2144,2169,2631,2818,2270,1568,1360,1617,1769,1627,1972,2227,1955,1730,1627,1557,1558,1425,1598,1834,1600,1467,1747,1976,1414,1193,1288,1368,1429,1548,1746,1622,1413,1562,1773,2191,2911,2690,2666,2912,3169,3162,2917,2907,2381,1581,1655,1786,1699,1516,1475,1572,2319,2573,2823,2771,2785,2809,2209,1898,1802,1648,1643,2081,1879,1815,1561,1320,1339,1512,1637,1647,1965,1880,1742,2234,2387,2222,2006,2136,2095,2392,2381,2375,2585,2706,2493,2388,2720,3417,2895,1992,1594,1642,1756,1716,1461,1317,1421,1506,1539,1582,1462,1295,1260,1437,1452,1508,1500,1344,1308,1567,1860,1919,1856,1923,1701,1419,1580,1670,1661,1822,1863,1701,1304,1934,2033,1652,1530,1362,1629,1807,1588,1715,1772,1681,1489,1540,1749,1581,1436,1337,1869,2405,1913,2165,2082,2040,1930,1883,2093,2681,2882,2592,3086,3116,2355,1793,1523,1301,1329,1371,1377,1416,1395,1683,1875,1904,1693,1685,1815,2181,2556,2658,2667,3177,3056,2588,2276,2797,2845,2314,2127,1942,1483,1382,1478,1321,1548,2238,2461,2358,1574,1101,1725,1980,2125,2191,1879,2471,2933,2642,2409,2344,1750,2072,2352,2379,2556,2578,2448,2609,2133,1803,2201,2093,1918,1664,1646,2552,2899,2080,1747,1854,2164,2435,2433,2493,2821,2270,1504,1204,972,1144,1315,1698,2290,2382,2332,2222,2719,3070,3216,3334,2789,2260,2833,3277,2784,2555,2657,3120,3362,3486,3768,3515,3059,2640,2617,2699,2780,2462,2309,2873,2423,2275,2686,3088,2957,2858,3241,3650,3462,3120,3143,3343,3078,2707,2608,2642,2802,2873,2969,3123,3185,3127,3063,3133,2845,2624,2657,2665,2487,3322,3708,3085,2735,2369,2286,2858,3009,2946,2886,2831,2907,2798,3122,2873,2821,2732,2414,2152,1997,2003,1926,1824,2027,2448,3025,3473,3288,3065,3272,3602,3858,3729,3708,3615,2836,2061,2048,1988,1796,1755,1678,1670,2266,2797,2922,2669,2443,2420,2334,2733,3310,3742,3771,3204,2723,2920,3101,2537,2633,2553,2197,2066,1965,2030,1903,2093,2932,3597,3503,3683,3536,3359,3311,2899,2222,2537,3233,3061,3044,3194,3299,3586,3227,3506,3814,3748,3763,3320,2890,2790,2862,2652,2291,2379,2315,2428,2615,2404,2290,2565,2024,1860,2164,2200,2102,1845,2104,2880,2808,2468,3034,3010,3149,3536,2984,2204,1959,1758,1737,2048,2020,1968,2123,1758,2264,2466,2055,1547,1570,1691,1678,1865,2063,1881,1675,1648,1634,1742,2344,2319,1925,1759,1761,2011,2015,1792,1945,2448,2033,2251,2629,3151,2687,2576,2442,2228,2335,2580,2510,2316,2170,2154,2284,2934,2760,2989,3411,2808,2308,2117,2210,2161,1968,2094,2455,2786,2544,2680,2763,2234,2543,3351,2937,2165,2398,3385,3485,2841,3239,3466,3438,3181,3768,4120,3591,2754,3194,3416,3287,3204,2833,2820,2432,1963,2181,2511,2294,2154,2372,2269,1823,1829,2617,3019,2806,2620,1980,1794,2190,2188,2333,1993,1613,2531,2850,2898,2301,1539,1996,2714,2722,2647,2431,2213,2167,2400,2376,2943,3011,2388,1395,860,1963,3160,2773,2376,2447,1865,1869,2575,2696,2732,2869,3106,2940,2547,2084,1635,1922,2623,2248,1954,2210,2281,2280,1942,2373,2566,2015,2007,2386,2629,2543,2119,2144,2336,2043,1940,1859,2005,1912,1836,1733,1564,1651,1950,2170,2201,2224,2220,2199,2031,1896,1544,1890,2077,2082,2280,2465,2406,2495,2678,2335,1876,2208,2409,2688,3504,2073,1233,2107,1697,1332,1748,2049,2118,2356,2872,2957,3061,2769,2541,2321,2100,2787,3012,2761,3109,3361,3323,2907,2728,2909,3492,3791,3772,3705,3897,3960,3225,2574,2655,2644,2689,2655,2540],[3632,3585,3465,2823,2036,2147,2125,2096,2501,3075,3440,3974,4260,3750,3692,3717,3149,2910,2933,2474,2338,3196,3651,3330,3441,3098,3054,3048,3537,3918,3748,3835,3891,3903,3986,3664,3362,3443,3608,3861,3889,3796,3658,3771,3907,4164,4424,4000,3748,3961,3914,3701,3497,3614,3674,3689,3586,3725,4049,3657,3464,3527,3709,3846,3908,4062,4013,3625,3296,2883,3063,3766,4153,4124,3556,3141,2790,3249,4007,3854,4235,4908,4564,4335,4573,3747,3494,3041,3138,3407,3121,3150,2915,2329,2299,3186,3354,2071,2024,3086,3328,3044,2710,2768,2598,2362,2069,2132,2339,2297,2564,2652,1989,1563,2046,2459,2778,3025,2902,2112,1971,2566,2664,2372,2379,2481,2576,2310,2786,2769,2570,2498,2732,2500,2198,1857,1854,2259,2023,1741,2191,2766,2497,1893,1740,2018,2098,1790,2285,2932,3493,3786,3536,3585,3684,3731,3842,3597,2132,2286,3231,4036,3874,3381,3740,4393,3652,2686,3428,3586,2878,1970,2570,2930,3144,3617,3674,3090,2620,2351,2601,2546,2070,2533,2125,1963,2239,1895,2047,2452,2577,2408,2017,1770,1953,2340,2240,1460,1510,1924,1859,1865,1910,2244,2757,3119,2730,2644,2768,2160,1804,1793,2210,2845,3024,3226,2900,2828,2740,3129,3425,3651,3252,3127,3423,2916,2514,2687,2548,2087,2187,1879,1665,1663,1730,2003,2023,2235,2558,2473,2081,1875,1897,1797,2126,2032,1770,2044,2243,1960,1862,2030,1946,2287,2596,2447,1829,1884,1765,1759,1836,1746,1631,1606,1538,1570,1877,1961,1920,1997,1988,2003,1894,1953,2342,2571,2364,1915,1736,1783,1804,1868,2320,2209,2344,1750,1660,1660,1675,1806,1683,1799,2198,1937,1487,1870,2099,1892,2004,2836,3222,2844,2569,2655,3034,3093,3408,3526,3075,2630,1823,2215,3198,3572,2678,2058,1979,2004,2430,2702,2886,2744,2148,2552,2843,2795,3115,2968,2505,2569,2092,2028,2072,2632,3418,2817,2106,1970,2130,2260,2400,3232,3572,3286,2576,2674,2690,2483,2366,2676,3354,2798,2541,2573,2501,2637,2375,2384,2702,2903,2952,2832,2570,2706,3010,3132,2968,2356,2243,2768,2307,2404,2305,2065,1860,1893,2822,4051,3626,3103,3012,2350,2330,1986,1745,1917,3065,3178,2697,2864,2834,2223,2648,3365,3266,3151,2779,3263,3602,3342,3141,2723,2626,3362,3981,3907,4078,4124,4049,4010,3637,3637,2990,2597,2298,1875,2268,2179,2128,2659,2666,2564,2017,1721,2046,1591,1735,1841,1693,1534,1611,1803,2006,1997,1989,2449,2590,2347,2547,2262,1870,2070,2706,3028,2724,3077,3504,2523,1656,1729,2026,2622,2695,2428,2032,1811,1972,2230,1890,1655,1655,1858,2164,1741,1586,1579,1138,1277,2190,2078,1770,1484,1732,1959,2372,2824,2790,2666,2352,1914,1854,1586,1522,1912,2198,2150,1863,1261,1256,1524,1458,1787,2002,1492,1499,1870,1914,1913,1622,1487,1577,1519,1690,1758,1918,2796,2751,2058,1550,1439,1782,1852,1816,1758,1958,1650,1583,1843,1794,1876,1909,1658,2600,3147,2282,2028,1480,1366,1880,1982,1960,1999,1642,1220,1405,1610,1633,1505,1610,1584,1642,1645,1772,2292,2150,2455,2715,2201,2122,2062,1770,1806,2283,2447,2143,2031,1946,2114,2376,2383,2371,2556,2534,2371,2449,2693,2743,2543,2434,2309,2321,2222,2449,2621,2561,2424,2220,2161,2322,2174,2459,3176,2852,2167,1674,1382,1475,1822,2000,1825,1800,1999,2244,2249,2274,2483,2430,2324,2675,2603,2632,2473,2382,2554,3162,3383,2763,2497,2798,3007,3105,2824,2806,2827,2915,3014,2988,2778,2656,2640,2429,2293,2354,2863,2710,3190,3389,2821,2317,2308,2555,2761,2789,3275,3328,3309,3791,3928,4027,3626,2862,2448,2776,3299,3841,3873,3635,3658,3579,3722,3822,3681,3181,2304,2393,3694,4040,2970,1981,1913,2040,2089,1938,1811,1701,1785,2275,2686,2696,2256,2120,1717,1500,1589,1862,2204,1870,2223,3112,3187,2734,2403,2029,2022,2668,3094,2712,2052,1931,1941,2232,3027,3073,3051,3150,3260,3544,3840,4025,3837,3768,3829,3908,4193,4420,4441,4263,4073,4279,4085,3720,3434,3829,3805,3316,3451,3607,3929,4520,4764,4099,4494,4783,4851,4828,4706,4761,5006,5105,5091,5044,4669,4152,4491,4371,3996,3498,3605,3774,3444,3112,3563,3614,3543,3543,3806,3819,3605,3988,4152,4164,4062,4163,4380,4220,3934,3312,2894,2556,2262,2237,2074,2070,2308,2822,3398,3438,3392,3162,2974,2218,1695,1639,1599,1644,1782,1716,1893,1716,1801,1768,1876,2820,2599,2696,2612,2446,3124,2856,2363,2570,2353,2279,2004,2002,1824,1791,1796,1982,1866,1831,2191,2206,1955,1604,1653,1509,2143,2428,2082,1648,1762,1736,1582,1525,1615,1763,1720,1640,1512,1471,1753,1588,1367,1295,1444,1572,1399,1497,1786,1690,1433,1742,1530,1405,1504,2626,2624,2192,2254,1937,1914,1791,1385,1469,1729,1804,1769,1866,1997,1999,1696,1602,1397,1628,1813,1654,1597,1628,1579,1958,2383,2621,1960,3110,3481,2943,2159,1830,1608,1480,1632,1603,1527,1782,1809,1630,1551,1510,1511,1534,1725,2020,2166,2098,2184,2044,1954,1910,2084,1898,1918,2042,1602,1600,1599,2101,2700,2915,2742,2314,2282,2522,1938,2215,2555,1969,1439,2160,1766,1510,2042,2339,2561,3127,3448,3486,3924,4328,4007,2557,2848,3830,4092,4328,3853,3073,2928,3113,3060,2988,2391,2277,2379,2504,2613,2806,3362,3471,3294,3287,3317,3518,3461,3068,2651,2718,3138,3226,3098,2674,2548,2950,2949,3184,3783,4123,3830,3338,3121,2665,2293,3666,3724,2942,2490,2490,2387,2582,2448,2807,3565,3082,2180,2712,3006,2944,2654,2875,2524,2757,3177,2851,2687,3027,3122,2764,2699,2693,2639,2630,2834,3308,3532,3527,2777,2138,2306,2599,2532,1852,1338,1194,1329,1376,1737,1753,1721,2155,1792,1506,1554,2211,2514,2599,2827,2504,2721,3229,3229,2789,2999,3096,3140,3240,3199,2916,2911,3123,3312,3383,3221,2939,3023,2986,3088,2387,2214,2579,2524,2259,2487,2590,2477,2412,1932,1838,2057,1892,2282,2008,1797,1582,1491,2069,2247,1786,1836,2214,2667,2608,2181,2143,2652,2944,3260,3106,2657,3110,3270,2680,2498,2653,2723,2474,2319,2092,1873,2211,2442,1803,1856,2490,2227,1769,1643,1730,1993,1796,1609,1637,1439,1316,1401,1455,1345,1316,1332,1432,1663,1654,1576,1400,1493,1685,2073,2378,3110,3033,2785,2511,2612,2988,3176,2966,2519,1870,1964,1680,1504,1548,1620,1660,1605,1816,2247,2190,2485,2843,2405,1606,1440,1574,1699,2327,1914,1662,1501,1355,1477,1966,2349,2145,2386,2566,2532,2564,2793,2648,2710,2104,1931,2294,2387,2448,2690,2678,2481,2495,2098,2586,1812,1526,1524,1422,1372,1456,1392,1362,1610,1563,1576,1377,1383,1399,1427,1583,1459,1367,1410,1416,1561,1802,1928,1880,1931,2008,1875,1604,1880,1697,1452,1722,1901,1480,1344,1677,1722,1832,1328,1147,1377,1749,1730,1826,1918,1825,1563,1506,1729,1686,1548,1510,1621,2482,2431,2482,2542,2612,2238,1556,1429,2238,2758,2562,2743,2840,2201,1430,1223,1165,1200,1372,1425,1491,1449,1652,2021,1982,1530,1576,1669,2327,2732,2634,2341,2815,3052,3217,2948,2752,2367,2144,1947,1758,1422,1281,1431,1374,1478,1924,2126,2162,1888,1960,2014,1711,2258,2391,2509,2857,2789,2629,2534,2071,1922,2085,1933,2048,2608,2687,2447,2318,1930,1832,2239,2156,1967,2200,1722,1960,2393,2225,1831,1980,2539,2617,2007,2370,2769,2518,1992,1035,900,1306,1610,2098,2509,2430,2298,2160,2707,3648,3920,3652,2941,2384,3299,3361,3486,3210,2923,2975,3084,3591,3895,3692,2989,2568,3110,3274,3418,3082,2965,3161,2513,2720,3027,2893,2709,3144,3781,3392,3387,3371,3166,2820,2414,2050,2201,2578,2809,2676,2630,2942,3154,2907,2540,2799,2824,2548,2742,2764,2653,3436,3714,3238,3043,3002,3030,2948,2895,2620,2743,2961,3299,3086,3153,2812,2692,2730,2635,2460,2352,2158,1919,1698,1802,1919,2205,2801,3104,3146,3156,3476,3660,3272,3296,3454,2761,2208,2092,1873,1677,1573,1669,1918,2409,2520,2461,2338,2033,2107,2154,2134,2219,2718,3162,3226,2936,3183,2872,2280,2542,2465,2016,1976,1772,1733,1842,2204,3282,3720,3631,3549,3452,3431,3344,2430,1581,1835,2382,2953,3307,3278,3508,3444,3508,3793,3807,3740,3344,2856,3016,3066,2986,2889,2622,2090,2069,2765,2675,2121,2021,2067,2042,2138,2276,2111,2081,2272,2863,3765,3258,3064,3260,2988,2929,3186,3041,2673,2237,1654,1957,2427,2097,2168,2348,2316,2387,2152,1682,1484,1592,1637,1705,1856,1737,1936,1737,1553,1739,1772,1838,1818,1805,1802,1729,1808,1861,2089,2669,3090,2601,2620,3178,3604,3475,3260,2984,2581,2360,1960,1946,2412,2580,2652,2499,2461,2330,2986,3451,2823,2114,2061,2135,2061,2398,2578,2664,2126,2092,2972,2763,2338,2940,3862,3355,2194,2635,3752,3692,3141,2775,3068,3273,3031,3542,4184,4003,3262,3360,3432,3038,2997,2905,3123,2665,2109,2061,2083,1522,1908,2668,2518,2134,2116,2191,2654,2767,2478,1840,1993,2155,2149,2149,2160,2535,2991,2770,2546,1684,1547,2589,3046,2888,2565,2257,2225,2419,2460,2189,2280,2452,2392,1795,1686,3046,3650,2778,2212,2207,2091,1990,2468,2632,2341,2103,2390,2675,2083,1251,1357,2245,2833,2063,2033,2611,3015,3064,2817,2579,2266,2152,2076,1815,2144,2540,2450,2617,2542,1791,1694,1882,2084,2143,2084,1807,1751,1725,1820,2425,2723,3060,2950,2750,2764,2688,2223,1963,1945,1979,2116,2195,2388,2759,2244,2066,1960,1848,1986,2374,2279,1517,1844,2754,2296,1550,1652,1782,1708,2557,3308,3089,3111,3372,2509,2413,2663,2944,2830,3306,3652,3608,3470,3075,2814,3042,3265,3343,3497,3472,3540,3817,3340,2924,3132,3039,3166,2855,2644],[3128,2803,2778,2974,3124,3068,2873,2293,2293,2551,3320,3386,3695,3594,3386,3514,3193,2626,2418,2924,3658,3958,3437,2840,3486,3579,3659,3310,3363,3299,3200,3204,3399,3927,4006,3658,3551,3543,3631,3657,3631,3796,3792,3639,3815,4264,4312,3828,3627,3839,4000,3704,3559,3675,3899,3942,3716,3551,3820,3798,3647,3653,3592,3608,4025,4113,3984,3724,3289,2774,2599,3196,3708,3929,3705,3182,3020,3916,4300,4484,4733,4972,4572,4587,4324,4116,4062,3671,3731,3898,3719,3441,2664,2370,2510,2640,2513,1564,2109,2830,2178,2403,2648,2323,2514,2355,2045,2009,2064,1872,2701,2786,1715,1824,2308,2382,2360,2447,2564,2291,1912,2344,2847,3037,2496,2701,2902,2525,2897,2887,2637,2619,2623,2385,2177,2368,2343,2048,1963,1972,2278,2945,2576,1909,1657,1781,1877,2044,2285,1957,2824,3616,3562,3459,3392,3465,3621,3118,2476,2801,3841,4068,3537,3736,4232,4472,4152,3675,2961,3296,3309,3177,3332,3155,3391,4016,4025,3638,3208,2642,2755,2531,2282,2291,1791,1727,1812,2131,2255,2295,2469,2498,2095,1756,2008,2209,1675,1279,1705,1953,1980,2008,2065,2435,2853,2662,1964,1949,2197,1779,1773,2002,2355,3393,3190,2787,3097,2941,2485,2684,3210,3296,3353,3515,3396,2525,2001,2135,2163,2027,2120,1992,1699,1711,2003,2043,1925,1833,2010,2118,2113,2027,2041,1963,2082,2120,1939,2092,1977,1748,1951,2325,1982,2371,2419,2353,2300,2400,2232,1852,1612,1766,1613,1481,1402,1663,2294,2354,2128,1656,2015,2252,1667,1763,2330,2707,2383,1617,1390,1562,1587,1675,2178,2035,1851,1366,1556,1749,1804,1871,1786,2104,2542,2105,1874,1926,2250,2048,2067,3228,3667,3086,2480,2837,3135,2979,2821,2497,2419,2455,2079,2321,2953,3255,2495,2114,2266,2455,2604,2456,2409,2564,2001,2453,2884,3228,3307,2895,2228,1922,1833,1859,1615,1885,2268,1859,2111,1702,1866,1936,2328,3192,3782,3421,2503,2612,2908,2782,2564,2690,3786,3074,2804,2526,2685,2984,2585,2435,2742,2618,2612,2617,2558,2812,2792,2822,2665,2397,2256,2329,2487,2938,2880,2341,1975,2269,2898,3792,3229,2887,2944,2809,2569,2001,2000,2500,2784,2979,3095,2724,2112,2447,3178,3667,2862,2642,2319,2414,3095,3565,3162,2574,2551,3276,3638,3737,4082,4112,3653,3005,2724,2802,2170,2076,1934,1720,1992,1819,2155,3055,2811,2291,2010,2212,2399,1871,1654,1920,1844,1653,1592,1731,2459,2336,2073,2604,2500,2351,3043,3054,3020,2709,2769,3078,3142,3370,2863,1758,1676,1758,1700,2062,2030,1975,1731,1511,1789,1924,1926,2063,1799,2006,2180,2065,1877,1724,1427,1176,2040,2143,1730,1576,1792,1902,1925,2329,2437,2208,2105,1907,1998,2091,1661,1542,1641,1657,1669,1431,1366,1599,1686,1677,1628,1404,1651,1997,2049,1982,1921,1720,1434,1455,1889,1917,1954,2618,2965,2705,1931,1794,2126,2054,1787,2012,1776,1382,2053,2676,2349,2515,2592,2179,2882,3253,2943,2152,1430,1761,2100,2076,2047,2067,1849,1720,1700,1648,1489,1433,1816,2336,2324,2144,2258,2750,2625,2280,2518,2059,2094,2195,1876,1687,2492,2217,2055,2182,1916,1934,2315,2532,2539,2525,2333,2471,2500,2721,2750,2603,2500,2482,2422,2348,2393,2479,2691,2469,2339,2241,2535,2290,2503,2967,3132,2787,2004,1507,1521,1965,2219,2071,1844,1954,2138,2205,2069,2250,2252,2569,2829,2485,2091,2002,2302,2928,3651,3158,2741,2484,2852,3088,2900,2810,2742,2801,2994,3143,3261,2986,2776,2670,2522,2451,2642,3262,2987,3450,3433,2554,2220,2404,2561,2596,2936,3196,2908,2860,2293,3029,3872,3658,3083,2884,2651,2808,3327,3260,3496,3535,3397,3561,3671,3652,2820,2205,2733,3874,3929,2601,1930,1950,2048,2061,2025,1820,1836,2022,2366,2331,1982,1812,1700,1597,1559,1839,1945,1922,1694,2163,2249,2213,2215,2275,1916,1633,2154,3044,3400,3066,2353,2399,2545,3319,3439,3455,3388,3362,3474,3632,3914,3885,3739,3685,3828,4385,4417,4252,4160,4232,4328,3938,3362,3020,2972,2968,3926,4495,4607,4584,4629,4355,3772,4444,4813,4821,4768,4752,4784,4905,4972,4608,4906,4753,4360,4524,4228,4052,3730,3443,3320,2724,2998,3621,3478,3443,3296,3629,3781,3540,4142,4212,4082,3602,3413,3636,4036,3990,3488,2956,2249,2144,2099,2064,2451,3034,3267,3296,3510,3296,3151,2807,2323,2146,1831,1664,1552,1562,1483,1752,1841,1937,1837,1997,2562,2535,2645,2276,2100,2598,2417,2622,2545,2750,2733,2324,2376,2151,2208,2308,2396,2332,2017,2040,1854,1665,1493,1616,1676,1902,1792,1908,2125,2179,1979,1672,1642,1830,1920,1826,1470,1619,1987,1848,1635,1462,1362,1627,1884,2011,1933,1743,1606,1368,1491,1325,1401,1288,2486,2137,1646,2031,1803,1441,1461,1518,1402,1597,1633,1620,1838,1754,1948,1838,1688,1462,1527,1884,1976,1792,1683,1675,1926,2229,1920,1693,2640,3430,2915,1898,1441,1318,1502,1682,1558,1511,1395,1552,1403,1395,1427,1557,1472,1461,1828,2062,2343,2689,2306,2049,1677,1682,1840,2051,2135,1714,1609,1609,1849,2323,2732,2921,2959,2342,2315,1897,2110,2208,1835,1659,2077,1762,1497,1989,2322,2453,3034,3589,4003,3571,3291,3142,2893,3669,4140,4118,4103,3752,2855,2517,2973,3063,3385,2453,2119,2481,2956,3206,3160,3056,3163,3275,3096,2945,2835,2629,2237,2217,2656,2998,3171,3206,2736,2349,2440,2280,2577,3384,3681,3529,3415,3161,3165,2313,3307,3466,2562,2684,2758,2392,2305,2252,2379,2862,2687,2563,3236,3394,2858,2450,2732,2949,2741,2973,3090,2950,3415,3220,2919,2899,2522,2388,2390,2974,3200,3217,3331,2711,2095,2189,2414,2302,1700,1729,1794,1457,1700,2243,2227,1952,1913,1783,1499,1516,2257,2910,2844,2944,2689,3016,3233,3338,3140,3245,3144,3099,3108,2911,2520,2357,2821,3242,3084,2980,2880,2961,3055,2894,2527,2251,2126,2298,2326,2162,2199,2533,2207,1700,1611,1639,1622,2011,2113,1803,1588,2193,2855,2626,2310,2153,2378,2553,2172,1754,2342,2575,2584,2874,2603,2006,2298,2841,2578,2318,2678,2641,2206,2169,2348,2276,2264,2425,2189,1873,1636,1938,2265,1911,2040,2425,2256,1659,1472,1406,1390,1426,1438,1578,1646,1470,1777,2289,2101,1665,1431,1791,2314,2962,3207,3253,3186,2436,1762,2193,3145,3163,2174,2406,1982,2460,2096,1806,1606,1557,1868,1917,1659,1594,1714,1904,2281,2252,1614,1666,1683,1550,1907,1775,1484,1335,1313,1537,2272,2723,2132,2245,2591,2306,2321,2263,2420,2703,2708,2566,2191,2438,2944,2563,2588,2286,1851,1414,1410,1327,1354,1326,1479,1616,1706,1814,1689,1420,1483,1641,1476,1410,1420,1472,1439,1359,1414,1488,1624,1679,1601,1554,1725,1886,1947,1823,1681,1652,1366,1446,1855,1837,1368,1405,1431,1659,1670,1221,1300,1676,1901,1790,1771,1731,1645,1473,1450,1804,1860,1696,1649,1735,2035,2570,2733,2730,3023,2638,1559,1013,1569,2365,2492,2532,2688,1952,1332,1242,1207,1318,1460,1576,1673,1698,1923,2359,2389,1938,1820,1917,2103,2350,2301,2186,2575,2867,2747,2587,2644,2385,2373,2151,1808,1518,1490,1715,1806,2082,2430,2385,2091,1900,2346,2449,2275,3032,2958,2747,2520,2357,2518,2933,2242,2283,2259,1471,1353,2144,2778,2941,2841,2089,1904,2045,2094,2131,2032,1694,1686,2107,2167,1834,1830,2265,2662,2651,2597,2956,2929,2495,1973,1928,2442,2452,2531,2715,2658,2763,2278,2840,3793,3862,3355,2912,3227,3869,3601,3746,3683,3099,2551,2873,3572,3922,3176,2787,3061,3260,3752,4030,3859,3155,2519,2296,2851,3257,3154,2651,3270,3677,3494,3442,3256,3250,2710,2241,1911,2036,2484,2686,2584,2545,2604,2624,3017,2856,2877,2967,2680,2668,2728,2846,3252,3436,3151,2975,3044,3185,3068,2798,2254,2622,2967,2931,2728,2933,3106,2907,2765,2567,2437,2480,2442,1934,1736,2284,2356,2060,2279,2910,3045,2931,3458,3541,3261,3292,2894,2472,2341,2132,1832,1621,1521,1595,1996,2466,2275,2069,2030,2007,2065,2138,2099,2038,2512,2967,3083,2972,2817,2495,2476,2909,2758,2206,2026,1806,1678,1751,2265,3033,3436,3610,3441,3392,3378,2943,1990,1988,2499,2497,2954,3387,3460,3354,3414,3663,3637,3482,3030,2566,2446,2765,2942,3012,2786,2632,2358,2202,2633,2481,1946,1863,2358,2421,2221,2327,2215,2195,2665,3326,3297,2841,2768,2927,2975,2785,2740,2768,2621,2511,2230,2001,1970,1995,2395,2341,2055,1908,1528,1384,1177,1536,1723,1638,1737,1699,1641,1443,1400,1584,1860,1890,1656,1732,1893,1591,1774,2031,2297,2939,3506,3460,3375,3526,3526,3395,3425,3659,3773,3804,2962,2501,2622,2809,2553,2375,2277,2236,2305,2375,2155,1766,1697,2263,2490,2852,3002,3055,1887,1895,2866,3111,2745,2717,3538,3198,2231,2932,3487,3406,3068,2646,2978,3303,3188,3440,4001,4201,4020,3741,3571,3399,3090,3005,3288,3162,2581,2152,2082,1953,2294,3018,3067,2817,2351,2254,2641,2652,2950,2408,1968,2115,2089,2139,2530,2920,2951,3263,2611,1431,1781,2323,2306,2459,2153,2165,2272,2225,2495,2580,2152,2097,2182,2259,2721,3354,3404,2494,2175,2048,2286,2403,2618,2534,2034,1959,2322,2624,2101,1336,1591,2732,2338,1761,1664,2194,2791,3069,3001,2544,2031,2092,1946,1989,2626,2939,3105,2730,1923,1799,1726,1741,1777,1937,1975,1844,1921,1904,1861,2168,2938,3707,3110,2523,2653,2439,1924,1835,1810,1902,2230,2609,2596,2640,1965,1831,2278,2067,1781,1761,2015,2424,2806,2984,2730,2006,1835,2039,2471,3168,3367,3242,3418,3371,3033,3370,3517,2873,2843,3724,3492,3406,3317,3218,2976,3164,3204,3017,3105,3363,3429,3391,3364,3335,3376,3077,3484,3119,2940],[2735,2328,2614,3079,3056,2930,2452,2151,2341,2751,2402,2075,2988,3493,3493,3257,2734,2098,1914,2226,2580,3243,3053,2918,3448,3594,3251,2943,3006,3156,3174,2862,2961,3682,4062,3745,3888,3859,3662,3557,3504,3604,3647,3679,3846,4164,4183,3789,3439,3738,4083,3673,3597,3520,3715,3791,3489,3364,3559,3570,3597,3680,3647,3716,3951,3676,3517,3572,3195,3133,3266,3480,3642,3683,3785,3584,3626,4321,4416,4119,4420,4620,4352,4219,4180,3823,3828,4048,4111,4094,4071,4136,3564,2545,2043,1901,1829,1468,2109,2610,2138,2313,2484,2182,2366,1972,2470,2038,1740,1758,2910,2622,1867,2502,2995,2841,2656,2302,2533,2858,1997,1983,2457,2656,2488,2786,2536,2609,2846,2807,2635,2212,2147,2642,2510,2048,2253,2026,1706,1819,2444,2917,2404,1893,1760,1788,1794,2320,2834,2504,2962,2984,2718,2907,2961,3251,3371,3157,2824,2975,3985,4308,4175,4375,4168,4077,4008,3985,3991,4219,4018,4051,3758,3504,4136,4356,3891,3917,3777,3249,2931,2249,2141,2503,2263,1900,1789,1887,2150,1939,2024,2274,2404,2257,1768,1908,1884,1772,2006,2185,2314,2397,2484,2667,2979,2866,2022,1642,2251,2477,2197,2243,2336,2853,2728,2331,2641,2701,2523,2553,2868,2683,3325,3505,2610,1956,2103,1970,1987,2208,1977,1737,1634,1674,1955,1753,2131,2103,1911,1779,1914,2062,1914,1765,2024,1949,1998,2564,1995,1649,1780,2030,1892,1874,2136,2288,2481,2366,2220,2057,1751,1835,1644,1565,1663,1959,2269,2457,2449,1935,1860,1953,2024,2298,2371,2245,1954,1660,1927,1764,1694,1784,2119,1854,1616,1479,1500,1580,1614,1766,1720,1840,2043,2072,2026,1822,2065,1807,1929,3049,3589,2723,2291,2857,3271,3400,2695,2315,2681,2536,2468,2561,2679,2730,2394,2320,2468,2640,2030,2558,3304,2705,2806,3347,3466,3248,2989,2835,2330,1952,2158,2218,2065,2526,2805,2728,2414,1892,2062,1894,2445,3417,3914,3496,2676,3040,3045,2662,2801,2864,3528,2752,2468,2243,2702,3376,2846,2292,2523,2479,2604,2745,2886,2758,2902,3420,2835,2624,2313,1767,2692,3340,2454,2153,2238,2777,3122,3321,3095,2851,2839,2827,2899,2416,2343,2712,2526,2509,2912,2895,2621,2984,3132,3670,3065,2253,1984,1771,2280,3291,3162,2690,2775,3372,3548,3901,3665,2873,2633,2314,2138,2201,2168,2376,2197,1763,1951,2165,2896,3328,2518,2243,2342,2003,1887,1987,1911,1741,1754,1808,1522,2066,2818,2376,2136,2423,2554,2887,3063,2743,2788,2644,2478,2852,3043,2853,2039,1553,1792,1972,1964,1897,1754,1773,1754,1754,1938,1809,1838,1635,1575,2059,2736,2288,1876,2104,2112,1596,1505,1672,1664,1487,1720,1844,1672,2544,2195,1671,1855,1840,1826,2093,1944,1745,1715,1614,1588,1531,1539,1555,1738,1764,1492,1474,1866,1949,2015,1945,1774,1795,1472,1462,1826,1770,1984,1998,2368,2497,2403,2082,1928,1690,1770,1655,1147,1511,2423,2535,2020,2350,2722,2254,2524,3131,3629,3019,2148,1904,1836,1976,1776,1924,1947,1938,1783,1741,1526,1665,2093,2266,1846,1791,2035,2658,2800,2625,2784,2685,2417,2088,1722,1886,2339,2013,1966,1758,1474,1559,2061,2330,2323,2236,2395,2325,2463,2855,2843,2544,2479,2542,2612,2985,3054,2536,2370,2084,2135,2037,2105,2171,2534,2752,2879,2655,2096,1849,1883,2514,2665,2648,2635,2308,2415,2578,2314,2148,2200,2508,2406,2000,1879,1870,2292,2968,2899,2387,2279,2342,2763,2739,2677,2779,2828,2972,3040,2995,3232,3319,2809,2525,2411,2555,2847,3017,3029,3312,3400,2783,2168,2437,3204,3565,3972,3548,2931,2285,2189,2774,3565,3938,3499,3353,2923,2942,3101,3093,3772,3474,3206,3162,3186,3442,3250,2784,2943,3623,3491,2377,1955,1963,2048,1895,1926,1505,1865,2704,2967,2734,2656,2655,2485,2253,2032,2452,2078,2110,1771,1603,1976,2015,1806,1946,2197,2064,2227,2596,3124,3021,2655,3304,3588,3663,3464,3429,3542,3605,3317,3235,3636,3713,3697,3848,4128,4373,4116,4128,4104,4073,3857,3705,3462,2795,2631,3438,4584,4992,5060,4949,4732,4280,4040,4376,4708,4740,4840,4948,4987,4940,4575,3992,4404,4240,4158,4082,3972,4006,3730,3043,2520,2824,3408,3616,3529,3439,3249,3481,3649,3880,4283,4176,4039,3847,3342,3188,3369,3342,2935,2357,2176,2003,2007,2633,3204,3231,3068,3295,3167,2819,3235,3109,3145,2333,1592,1370,1455,1633,1582,1873,2136,2330,2014,2262,2732,2407,2432,2438,2128,2733,2592,2756,2732,2333,1918,2004,2279,2114,1612,1577,1948,1942,1866,2013,1640,1506,1562,1677,1557,1410,1338,2110,2988,2350,2010,1627,1569,1586,1543,1720,1544,1781,2173,1849,1572,1565,1679,1773,1963,2436,2270,1574,1426,1412,1629,1433,1422,1326,1526,1468,1430,1527,1532,1497,1610,1544,1293,1513,1554,1651,1953,2024,2098,2269,2067,1537,1388,1650,1904,1991,1694,1466,1680,1600,1504,2091,2853,3054,2341,1828,1393,1281,1722,1807,1615,1846,1842,1681,1461,1445,1410,1426,1470,1689,2059,1986,2256,2338,1958,1895,1804,1685,1730,2079,2000,1545,1608,1848,1742,1660,2107,2704,3111,2654,2076,1595,1686,1648,1699,2132,2466,2314,2105,2099,2302,2484,3240,3626,4030,3154,2565,3228,3881,3913,3813,3912,4124,4078,2906,2394,2889,2806,3186,2431,2361,2889,3032,3362,3586,3237,3041,3275,3021,2648,2542,2453,2194,2220,2578,2925,3020,2873,2518,2203,2222,2355,2632,2699,3592,3877,3898,3172,3327,2642,2693,2664,2592,2885,2736,2466,2539,2265,2134,2173,2020,2780,3021,2864,2480,2401,2723,2700,2371,2589,3108,3448,3465,2754,2441,2431,2212,2372,2819,3120,3038,3059,3440,2945,2201,2215,2344,1878,1643,1895,2012,1609,2105,2444,2117,1596,1526,1786,1539,1462,1966,2873,2939,2996,2954,3094,3032,3141,3060,2967,3028,2711,2387,2403,2172,2374,2664,3022,3028,3185,3137,3173,3183,2884,2675,2375,2200,2504,2413,1971,1996,2462,2114,1708,1602,1794,1778,1738,2092,2142,1828,2177,2365,2402,2363,2259,2300,2366,1666,1711,2590,2566,2100,2352,2498,2290,2639,2955,2878,2643,2883,2328,1910,1855,1956,1817,1959,2224,2263,1899,1906,2336,2743,1786,1880,2521,2110,1577,1548,1504,1384,1429,1468,1542,1573,1686,2075,2418,2460,2369,2544,3332,3989,4280,3956,3453,2774,1681,1363,1885,2402,2850,1997,1983,1958,2360,2045,1666,1635,1864,2681,2656,1898,1750,1710,1715,1627,1872,1720,1686,1684,1538,1489,1568,1762,1476,1334,1416,2532,2686,2388,2544,2308,1942,2520,2729,2591,2729,2759,2296,1929,2145,2250,2222,2546,1982,1410,1294,1326,1419,1410,1399,1726,1846,1950,1881,1572,1525,1484,1476,1409,1436,1582,1688,1455,1453,1615,1582,1544,1402,1465,1544,1617,1753,1976,1918,1712,1429,1272,1421,1815,1787,1318,1359,1266,1389,1468,1336,1498,1646,1548,1512,1635,1655,1471,1216,1318,1535,1686,1788,1676,1911,1737,2381,2858,2653,2814,2548,1817,1218,1477,2169,2249,2244,2642,2194,1511,1243,1231,1356,1460,1591,1724,1717,2115,2514,1988,2084,1891,1899,2197,2387,2639,2820,2643,2499,2396,2063,2768,2343,2289,1927,1753,1613,1556,1572,1775,2731,3129,2309,1802,1998,2409,2873,2762,2605,2246,2204,1826,1879,2519,3253,2856,2194,2071,1468,1498,2208,2355,2459,2366,1947,1679,1830,2154,2222,1782,1629,1577,1547,1558,1614,1773,2171,2945,3607,2852,2753,2775,2596,2795,2940,2498,1865,2036,2371,2924,3021,2530,2850,3649,3872,3528,3370,3410,3619,3473,3141,3254,2764,2243,2268,2713,2952,2447,2843,3228,3564,4090,4219,4060,3637,2827,2232,2453,2296,2310,2840,3446,3659,3786,3256,2714,2841,2797,2621,2361,2294,2721,2880,2598,2433,2518,2662,3046,3207,3303,3063,2764,2818,2808,2889,3207,3308,2993,2740,2783,2875,2851,2524,2385,2500,2747,2868,2664,2801,2932,2850,2894,2741,2592,2404,2343,2003,2116,2504,2587,2411,2364,2888,2822,2946,3507,3420,3363,3218,2466,2183,2247,2223,1994,1769,1619,1730,2128,2548,2308,2025,2044,1984,2156,2210,2024,2459,2976,3005,3107,2918,2636,2613,3023,3082,2740,2530,2314,2085,1776,1855,2806,3193,2997,3085,3204,3237,3280,3219,2745,2644,2699,2939,3332,3426,3309,3093,3420,3652,3563,3127,2580,2601,2567,2472,2781,3059,2790,2644,2320,2463,2874,2656,1899,1663,2008,2237,2223,2092,2176,2373,2854,3194,2841,2324,2480,2646,2988,2846,2576,2272,2229,2286,2061,2110,2153,2021,2288,2078,1692,1650,1592,1636,1509,1755,1613,1476,1523,1653,1547,1401,1495,1547,1630,1745,1679,1695,1720,1549,1885,2136,2544,3096,3234,3228,3670,3862,3980,3504,3637,4108,4013,4099,4059,4048,3790,3273,2608,2029,1931,1914,2144,2433,2343,1493,1128,2093,2696,3275,3438,2942,1942,2187,3204,3519,2407,2450,3330,3060,2807,3473,3414,3598,3682,3471,3362,3322,3399,3497,3709,4047,3991,3613,3602,3560,3127,3049,3272,3275,2883,2300,2501,2990,2950,2697,2325,2359,2125,2622,2910,2827,2648,2302,2013,1697,1742,2280,2469,2281,2170,2254,1561,1422,1510,1935,2334,2055,2016,2242,2129,2151,2370,2431,2344,2220,2588,2843,2791,2789,2586,2728,2844,2489,2296,2272,2358,2342,1939,2313,2972,2595,2425,1849,1938,2352,1974,1720,1816,1863,2133,2718,3189,3233,2564,1926,2167,2592,2769,3037,3220,2482,2231,2222,2032,1780,1701,1785,1945,2046,1921,1905,2050,1777,2610,3408,2431,1757,2168,2077,1745,1809,1730,1948,2535,2548,2330,2029,2010,2166,2248,2122,1874,2027,2547,3117,3672,3410,2685,2028,1940,2163,2414,2897,3129,3174,3089,2776,3026,3692,3632,2684,3385,3839,3561,3384,3292,3110,2961,3027,3146,3213,3166,3305,3182,2690,2868,3018,3218,3271,3949,3542,3078],[2713,2868,3510,3374,2313,2290,3164,2601,2346,2625,2340,2480,3241,3826,3580,3275,3186,2752,2822,2808,2462,2493,2860,3399,3660,3551,3295,2983,2896,2801,2989,3184,3233,3290,3687,3980,4199,4035,3654,3468,3469,3414,3470,3704,3714,3931,3858,3470,3217,3540,3909,3729,3557,3563,3718,3770,3500,3230,3287,3530,3742,3906,3938,4132,4100,3675,3859,3332,3041,3517,3935,4309,4004,3430,3441,3536,3845,4071,4251,4067,4073,4471,4012,3518,3930,3610,3404,4053,4133,4012,3670,3870,4082,3093,2308,1954,1782,1935,2273,2111,1975,2185,2180,2272,2514,1940,2296,2585,2057,1760,2586,2935,2501,2636,3043,2875,2392,2501,2472,3239,2654,1898,1740,2143,2841,3254,3076,2625,2359,2906,2643,1814,1948,2593,2173,1709,2184,2454,1921,2526,3121,2474,2199,2204,2300,1889,1703,1892,2535,2673,3241,2325,1644,2344,2787,2580,2722,2900,2517,3103,3706,3861,4180,4345,3924,3797,3881,3957,4428,4468,4164,4135,4051,3826,4184,4109,3827,3774,3704,3727,3221,2470,2512,3201,3019,2157,1953,2408,2502,1962,2707,2894,2963,2364,1769,1892,2182,2713,3168,3273,3471,3541,2911,2439,2751,2663,1799,1527,2141,2330,1908,2234,2371,2219,2388,2588,2598,2446,2900,3001,3378,3406,3681,3741,2688,2149,2588,2463,2325,2372,1596,1469,1698,1626,1766,1891,2153,2127,1812,1666,1749,1846,1898,2083,1960,1868,2542,3035,1964,1568,1685,1980,2026,1835,1751,1834,2179,2313,2041,2153,1987,1867,1723,1633,1870,1849,2088,2258,2291,2071,1732,1899,2393,2766,2561,1864,1487,1752,2121,1962,1604,1619,1918,1820,1644,1499,1487,1520,1503,1681,1838,2079,2308,2077,1795,1916,2085,2002,2429,3300,3305,2490,2155,1797,2388,2778,2433,2166,2523,2720,2438,2432,2480,2396,2328,2688,2802,2623,1776,2489,3067,2887,3665,3831,3757,3826,3275,2502,2165,1985,2624,2632,2706,3253,3172,2844,2375,2258,2053,1745,2422,3117,3552,3732,3598,3450,3031,2789,3121,3065,2814,2412,2403,2200,2217,2647,2162,2001,2586,2665,2456,2835,3263,3216,3034,2756,2364,2523,2533,2368,2996,2938,1771,1741,2308,3458,3510,3203,3007,2941,2980,3000,2942,2598,2452,2514,2470,2673,2897,2974,3112,2980,3078,3196,2637,1980,1928,2121,2475,3066,3027,2812,2454,2645,3387,3666,3276,3149,3372,2874,2287,2058,2194,2592,2457,2364,3165,3120,3408,2980,2172,2459,2688,2376,2098,2062,1726,1670,1752,2194,2367,2621,2396,2522,2320,2400,3073,3282,2672,2574,2813,2342,1961,2369,2568,2193,1820,1475,1906,2288,2512,2243,1791,1825,1986,2075,1921,1678,1603,1535,1787,1825,2006,1872,1904,2152,2121,1633,1405,1449,1456,1469,2050,2008,1848,2681,2154,2014,2417,1820,1793,2535,2369,1940,1927,2075,2411,1876,1803,1583,1707,1746,1681,1584,1537,1649,2283,2571,1965,1992,1590,1501,1591,2091,2181,1806,1891,2013,2136,2217,1781,1564,1810,1660,1786,2174,2422,2276,2128,2558,2459,2164,2454,2846,3378,3185,2025,1681,1614,1918,1489,1877,1916,1904,1880,1851,1714,1810,2188,2021,1711,1837,2168,2770,2291,2006,2150,2477,2333,2035,1735,2121,2308,2061,1914,1881,1451,1127,1552,2448,2312,2555,2872,2621,2784,3051,2656,2302,2284,2397,2470,2896,3355,3099,2565,2134,2111,2116,1959,1850,2115,2600,2925,2534,2177,2045,2281,2576,2568,2675,2491,2366,2499,2568,2523,2374,2226,2099,1842,1905,1973,1943,1980,2359,2516,2379,2193,2148,2363,2655,2700,2677,2787,2831,2790,2755,2741,2864,2611,2441,2238,2136,2285,2353,2341,2591,2900,3087,2769,2900,3675,3982,4228,3526,2449,2258,3009,3222,3564,3493,3329,3550,3248,3052,2217,2887,3563,3914,3882,3251,2973,3222,3407,3418,3510,3023,2813,2340,1843,2054,2017,1775,1784,1734,2308,3216,3271,3015,3293,3672,3449,2817,1989,2059,2325,2484,1893,1655,1836,1888,1871,2128,2671,2745,2353,2425,3043,3116,3339,3618,3720,3547,3291,3170,3181,3519,3830,3760,3647,3548,3686,3798,3783,3595,3397,3631,3958,3915,3742,3513,3401,2832,3430,3884,4656,5025,4928,4645,4577,4876,4740,4538,4607,4551,4653,4961,4816,4417,4332,4119,4026,3637,3629,3731,3528,3355,2937,2324,2552,3177,3554,3637,3754,3740,3331,3369,3642,4006,4309,4084,4018,4188,3727,3385,3295,2945,2466,2172,2070,2008,2634,3432,3450,3211,3667,3950,3686,3348,3142,3408,3257,2174,1599,1489,1824,2098,2004,2038,2259,2236,1975,2296,2244,2264,2466,2478,2601,2611,2657,2578,2110,2018,2255,2137,1958,1754,1490,1555,1535,1709,1848,1880,1692,1708,1877,1815,1527,1432,1718,2920,3255,2427,2072,1607,1729,1788,1874,1823,1567,1417,1465,1642,1457,1489,1578,1709,1693,1764,1901,1691,1372,1508,1528,1526,1542,1331,1328,1484,1548,1581,1477,1419,1522,1443,1311,1756,1972,1751,1953,2170,2072,2191,1725,1424,1356,1446,1723,1918,1758,1570,1521,1402,1527,1715,1896,1647,1531,2295,1925,1453,1824,1711,1466,1637,1758,1594,1499,1594,1540,1496,1633,2015,1808,1858,2159,1869,1593,1708,1897,1818,1740,1986,1793,1566,1710,2029,2259,1954,1873,2191,2776,3086,2470,1910,1687,1924,2178,2235,2313,2203,2108,2003,2492,2823,3267,4004,4305,3430,3219,3663,3807,3845,3851,4015,4053,4349,3155,2462,2879,2797,2840,2459,2889,3432,3295,3507,3718,3362,3044,2884,2966,2742,2590,2590,2530,2452,2520,2769,2823,2612,2311,1993,2060,2176,2637,2911,3508,4021,4004,3295,3268,3244,2463,2048,2648,2588,2211,2436,2898,2546,2060,2023,2244,2906,3066,2861,3007,3028,2689,2592,2191,2212,2728,3668,3334,2557,2249,2088,2208,2717,2950,3162,3099,3161,3506,3039,2378,2130,2093,1554,1643,1814,1646,1538,1753,1800,1600,1819,2216,2311,1855,1720,1500,1847,2603,2965,2977,3161,2968,2805,3046,3263,3012,2139,1730,2309,2242,2270,2194,2796,3184,3451,3542,3407,3153,2813,2497,2387,2190,2408,2312,2183,1978,2147,1823,1516,1637,1679,1691,1996,2134,2091,2153,1746,1654,2102,2188,2111,1999,1680,1171,1722,2464,2172,2263,3056,2915,2766,3108,3272,2968,2781,2511,2067,1811,1920,2223,2201,2354,2049,2476,2312,2425,2424,2797,2334,1958,1713,1450,1549,1786,1499,1359,1431,1463,1512,1592,2188,2835,3406,3775,3724,3641,3774,3735,3687,3746,3282,1869,1665,1888,1775,1570,1884,1757,1651,1584,1509,1323,1427,1682,1767,2232,2552,2441,1939,1565,1644,1743,1844,1798,1746,1760,1678,1550,1493,1646,1490,1508,1475,2344,2439,2331,2346,2211,2314,2746,2847,2258,2216,2593,2700,2058,2129,1722,1662,1930,1890,1551,1462,1592,1633,1592,1543,1723,1720,2147,2054,1932,1655,1409,1365,1317,1353,1626,1914,1590,1605,1645,1406,1086,1129,1350,1408,1350,1609,1895,1843,1638,1391,1296,1491,1853,1754,1537,1489,1431,1655,1874,1846,1722,1784,1665,1706,1625,1450,1447,1203,1408,1581,1669,1761,1553,1463,1438,2209,3052,2833,2497,2572,2382,1356,1357,2007,2365,2222,2433,2381,1700,1265,1410,1449,1365,1402,1656,1724,1919,2340,2379,2487,2352,2603,2939,2625,2820,2789,2890,2815,2880,2327,2636,2127,2020,1583,1494,1435,1316,1340,1906,2963,3016,2020,1497,1857,2298,2105,2429,2796,2679,2279,1953,2200,2121,2798,3073,1967,1948,1833,2140,2239,1850,1995,2449,2114,1677,1734,2093,2041,1787,1723,1548,1477,1490,1492,1676,1911,2410,3119,2669,1989,1797,2134,2853,2958,2254,1555,1907,2197,2359,2174,1869,2477,3618,3911,3609,3730,3760,3384,2934,2458,2589,2445,2438,2437,2207,2078,2378,2669,2713,3252,3970,4018,3779,3412,3282,2875,1972,1713,2620,3406,3427,3671,3449,2379,1876,2249,2634,2966,2859,2532,2609,2652,2422,2264,2396,2439,2698,2818,2824,2929,2762,2872,2678,2830,3054,3016,3141,2941,2533,2375,2525,2668,2853,2752,2664,2792,2728,2850,2888,2823,2922,2821,2944,3117,2700,2121,2059,2275,2619,2511,2498,3165,3001,2806,3032,2915,2869,2551,2116,2122,2314,2163,2144,2461,2018,1690,2279,2380,2197,1895,2065,2122,2163,2101,2101,2909,3383,3157,3155,3023,2663,2714,3256,3173,2678,2544,2613,2452,2020,2455,3397,3425,3243,2902,2972,3061,3563,3950,3646,2952,2785,3145,3243,3297,3123,3136,3168,3348,3228,2584,2057,2407,2487,2478,2977,3275,2881,2465,2176,2393,2554,2759,2157,1966,1854,2013,2144,2023,2165,2480,2763,3182,2964,2297,2630,2714,3082,2644,2070,2008,1958,2228,2413,2550,2552,2024,2265,2566,1937,1731,1595,1750,1851,1692,1657,1652,1574,1706,1629,1533,1586,1771,1661,1642,1682,1744,1849,1836,1991,2300,3050,3758,3311,2964,3382,3691,3781,3363,3527,4060,4141,4027,3543,3923,4408,4065,3352,2820,2305,2002,2226,2986,3078,2105,1546,2195,2890,3508,3496,2551,2114,2420,3088,3825,3054,2967,3672,3924,3453,3571,3627,3563,3545,3323,3169,2965,3243,3587,3508,3701,3669,3421,3286,3373,3467,3400,3193,2876,2442,2301,2702,3009,2964,2577,2174,2456,2705,2705,2556,2362,2132,2095,1973,1917,2570,2933,2406,2159,2040,2389,1937,1672,1579,1678,1928,1948,2200,2562,2405,2578,2598,2357,2379,2569,2347,2614,2903,2974,2769,2946,3044,2501,2119,1924,1959,2440,2208,2513,2367,2253,2423,2614,2251,1581,1570,1886,1735,1494,1960,2622,2957,3245,2571,1929,2576,2957,2865,2733,2839,3182,2825,2640,2930,2341,2208,2044,2265,2142,1786,1967,2384,2100,2450,2956,2155,1686,2065,2045,1874,1915,1694,1635,2038,2222,2083,2254,2424,2233,2076,2186,2665,3637,3695,3167,3756,3549,2289,2159,2214,2232,2237,2163,2663,3308,3014,2782,2983,3310,2921,2948,3573,3716,3731,3410,3096,3017,2878,2784,2983,3260,3146,3068,3014,2972,2886,3153,3145,3429,3981,3639,3059],[2718,2884,3228,3253,2629,2534,3034,2684,2496,2291,2057,2329,3094,3499,3244,3210,3189,3337,3486,3065,2565,2841,3104,3347,3543,3518,3298,2885,2835,2930,3326,3363,3086,2950,3398,3920,4140,3862,3543,3451,3505,3563,3504,3414,3241,3284,3228,3405,3176,3131,3431,3500,3493,3791,4133,4087,3761,3617,3543,3549,3653,3751,3864,4028,4051,3934,3520,2685,2911,3413,3914,4352,4108,3370,3144,3539,4120,4328,4104,4108,4256,4407,4160,3317,3362,3031,2930,3812,3898,3626,2840,3006,3894,3619,2495,2162,2664,2825,2228,1781,1844,2199,2002,2320,2679,2387,1964,1988,1860,1677,1920,2510,2932,2330,2585,3287,2727,2443,2919,3098,2978,2304,1892,2341,2613,2212,2284,2408,2242,2736,2626,2469,2522,2426,1727,1554,2081,2462,2382,2644,2752,2150,2064,2170,2136,1671,1510,1914,2155,2410,2700,2070,1640,2149,2410,1801,2382,3207,3206,3240,3084,3436,3761,3503,3117,3054,3194,3724,4090,4152,4064,4068,4147,4206,4308,4104,3719,3463,3558,3640,3232,2839,2868,3090,3006,2419,2924,3747,3727,2904,2798,2716,2841,2501,2420,2547,2717,3206,3698,3505,3791,3992,2746,2352,2104,1891,1726,1930,2408,2280,1893,1882,2041,1986,2712,3296,2919,2669,3130,3371,3741,4048,3889,3337,2284,2030,2728,2701,2114,1742,1456,1674,1750,1662,1665,1688,1702,1820,1775,1712,1771,1864,1796,2007,2068,2060,2599,2496,2276,2060,2157,2323,2237,2082,1805,1806,2151,2470,2076,2182,2414,1899,1654,1703,1735,1774,1780,1841,2315,1997,2085,1945,2161,2454,2211,1738,1737,2189,2197,1886,1719,1681,1793,1886,1823,1905,1914,1729,1556,1619,1655,1767,2057,1871,1603,1746,1782,2696,3559,3263,2457,2338,2308,1888,2214,2143,2167,2343,2752,2525,2362,2199,2268,2447,2850,2591,2300,2166,1810,2106,2940,3761,3714,3184,3432,4108,3140,2140,1919,1776,1993,2207,2684,3067,2578,2285,2588,2788,2292,1874,2396,3098,3417,3616,3936,3518,3230,3331,3413,3037,2522,2468,2647,2293,2060,2078,1847,2351,3016,2755,2531,2727,3142,3362,2696,2332,2198,2059,2483,3088,3897,3667,2364,2038,2538,3773,3704,3116,2849,2751,3152,3875,3523,2684,2828,2625,2731,3013,3103,3237,3199,2816,2871,3018,2972,2586,2500,2847,2676,2532,2985,2635,1932,1922,2439,2570,2562,3146,3536,3384,2843,2082,1796,2700,3168,3276,3442,3344,3392,2552,2205,2386,2170,2292,2664,2736,2173,1868,1814,2493,3118,2612,2031,2331,2536,2894,3139,2750,2236,2620,2426,2426,1991,2250,2444,2009,1743,1583,1902,2321,2534,2433,2084,1933,2491,1984,1591,1609,1562,1753,1765,1784,1868,1867,1663,1731,1678,1537,1663,1753,1588,1748,1974,2164,2042,2146,2244,2322,1938,1898,2176,2557,2095,1829,1808,1876,2106,1857,1881,1803,1804,1767,1768,1544,1279,1550,2509,2899,2191,1818,1558,1428,1660,2374,2122,1796,1916,1735,1852,2179,1771,1620,1566,1737,2098,1981,2454,2013,2174,2622,2363,2255,2236,2289,2470,2285,1620,1549,1490,1738,1838,2159,2078,1877,1843,1882,1860,2059,2490,2152,2043,2013,2161,2338,1860,2086,2069,2092,2001,1715,1756,1930,1914,1993,1983,2011,1610,1410,2542,2938,2391,2920,3308,2978,3001,3104,2546,2289,2224,2585,2432,2540,2979,3023,2778,2391,2120,1946,1863,1717,1652,2018,2096,2305,2458,2002,2342,2639,2765,2902,2941,2944,2602,2684,3016,2733,2197,1890,1857,1885,1905,1859,1983,2239,2520,2571,2530,2432,2083,2433,2522,2636,2808,2945,2798,2575,2464,2478,2302,2271,2228,2022,2068,2216,2278,2360,2598,2881,2808,3261,3813,3844,4091,3277,1884,2410,3139,3240,4105,3785,3693,3560,3904,3647,2358,2218,2999,4041,4057,3335,2997,2991,2973,3184,3566,2714,2061,1936,1940,2093,1918,1770,2180,2534,2663,3320,3175,2871,3068,3318,3155,2728,2142,1843,1895,1942,1866,1731,1688,2234,2756,2443,2541,3011,2888,2977,3164,3458,3991,3918,3713,3750,3697,3400,3078,3221,3830,4000,3658,3547,3420,3185,2976,3112,3420,3416,3355,3306,3585,3426,3243,3337,4272,4451,4603,4644,3994,3608,4495,4972,4896,4647,4488,4420,4155,4311,4450,4155,3882,3842,3506,2846,2978,3134,2850,3099,2635,2634,3176,3437,3436,3623,4018,3909,3366,3142,3317,3704,3693,3575,3901,4080,3898,3484,2930,2405,2164,2093,2116,2690,3485,3873,3545,3196,3627,3842,3720,3676,3473,3145,2614,1964,1638,1568,2010,2289,1952,1818,1990,2299,2167,2025,1931,2078,2004,2017,2273,2431,2812,2518,1812,1985,2403,2420,2175,1700,1774,1997,1642,1678,1860,1764,1944,2194,1985,1664,1628,1396,1479,2388,3130,2890,2115,1771,1782,1692,1780,1834,1632,1459,1787,2091,1804,1461,1416,1762,1726,1576,2576,2407,1617,1511,1570,1636,1519,1315,1418,1723,1930,1856,1598,1417,1458,1308,1606,2447,2461,1894,2034,2146,2083,2094,1670,1532,1448,1488,1638,1776,1780,1768,1680,1539,1720,1777,1486,1043,1301,2302,1866,1644,1820,1522,1368,1453,1542,1614,1678,1595,1274,1162,1328,2358,1972,1967,2119,1851,1556,1445,1562,1448,1615,1962,1622,1561,1654,1787,2250,2711,2287,1888,2254,2587,2632,2502,2061,2286,2100,2068,2221,2096,2197,2480,2442,2590,2806,3438,3566,3487,3956,3794,3500,3963,4000,4011,3941,4408,3391,2629,2844,2756,2466,2446,2918,3299,3294,3492,3698,3491,2949,2843,3288,3152,2728,2633,2654,2499,2418,2428,2486,2254,1908,1663,1752,1951,2145,2298,2919,3717,3980,3586,3248,3285,2618,2102,2420,2080,2100,2300,2696,2379,2047,2418,2598,2720,2600,2338,2945,2621,2683,2498,2310,2655,3172,3793,3194,2439,2504,2611,2691,2952,3076,3421,3163,3342,3409,2819,2239,2275,2542,2098,2074,1930,1598,1589,1737,1625,1598,2570,2706,2547,2476,2194,2002,1986,2640,3164,3100,3188,2917,2827,2986,2939,2180,1747,1620,1991,1912,1575,1513,2327,3188,3501,3680,3449,2910,2633,2413,2518,2223,2465,2456,2286,1975,1999,1924,1699,1490,1552,2052,2310,1882,1809,1942,1767,2304,2591,2458,2184,2056,1812,1404,1989,2397,2829,3167,3500,3052,2890,2941,2893,2858,2670,2075,1874,1765,1890,2161,2443,3020,2415,2544,2471,2934,3121,3106,2777,2157,1791,1614,1498,1582,1559,1794,1930,1722,1624,2138,2997,3818,4180,4147,3977,3672,3529,3577,3594,3708,3055,1993,2040,1888,1533,1517,1712,1968,1809,1318,1425,1567,1606,1698,1633,1726,2386,2544,1823,1309,1498,1809,1810,1771,1637,1604,1477,1430,1341,1315,1449,1600,1610,1776,1937,2192,2314,2266,1948,1899,2111,2157,2459,2406,2548,2496,2566,2554,2087,1787,1739,1473,1621,1809,1602,1483,1480,1844,2192,2478,2313,2079,1592,1438,1404,1381,1366,1474,1642,1589,1638,1465,1282,1110,1102,1205,1260,1290,1537,1821,1786,1759,1596,1396,1649,1775,1794,1899,2015,1947,1684,2070,2425,1839,1696,1556,1729,1442,1324,1490,1269,1373,1558,1692,1633,1403,1518,1809,2177,3024,3438,2856,2531,2578,1576,1246,1758,2208,2229,2213,2270,2016,1643,1732,1581,1371,1473,1405,1764,1834,1843,1958,2624,2364,2349,2426,1806,2275,2591,2976,3155,3244,2843,2737,2187,1647,1442,1447,1487,1414,1440,1986,2852,2756,1772,1460,1626,2096,2078,2844,3768,3613,2499,2182,2193,1694,2461,2891,2014,1659,2066,2662,2157,1854,2078,2452,2025,1672,1849,1957,1771,1581,1715,1663,1561,1815,1806,1815,2190,2818,3150,2776,1892,1572,1797,2437,2823,2454,1863,1861,2157,1920,1987,2238,2490,3066,3724,3730,3769,3695,3500,2942,2166,2314,2546,2445,2486,2195,2224,2377,2465,2402,2705,3306,3687,3494,3324,3347,3419,2255,2288,3061,3020,3247,3489,3001,2590,1943,2044,2658,2852,2895,2656,2621,2529,2584,2624,2511,2152,2163,2210,2096,2574,2796,2814,2779,3030,3130,2963,2917,3016,2646,2203,2280,2492,2579,2798,2802,2836,2608,2617,2836,2990,2951,2729,2884,3096,2916,2500,2210,2406,2696,2456,2678,2851,2514,2434,2475,2553,2514,2301,2239,2239,2380,2315,2362,2868,2857,2331,2499,2168,1909,1951,2309,2423,2286,2009,2450,3365,3614,3364,3188,2979,2797,3002,3351,3084,2413,2306,2718,2514,1963,2769,3320,3375,3516,3397,3120,2875,3670,4332,4163,3757,3547,3437,3311,2901,2898,3334,2986,2589,2764,2254,1948,2064,2411,2656,3110,3378,2820,2521,2464,2187,1958,2039,2416,2440,2069,1997,2139,2288,2680,3106,2706,2942,2719,2800,3067,2852,2626,1946,1580,1819,2178,2677,2722,2755,3140,2492,2512,2734,2036,1754,1720,1940,2300,2362,2481,2219,1892,1670,1540,1613,1706,1770,1640,1639,1738,1710,1914,2067,2100,2644,3413,3553,2877,2806,3372,3718,3783,3337,3219,3661,4207,4135,3542,3569,3969,3853,3790,3608,3262,2932,2754,3032,3220,2942,2812,3094,3296,3522,3484,2866,2523,2387,2680,3188,3441,3352,3415,3391,3155,3493,3452,3266,3394,3381,3375,2786,2415,2688,3275,3557,3616,3506,3128,3275,3574,3498,3422,3016,2588,2728,2429,2202,2675,2588,2729,3105,3772,3188,2150,2104,1822,1668,1650,1641,2418,2405,2132,2709,2828,2703,2386,2139,2030,1677,1686,1745,1752,2742,2947,2444,2609,2675,2818,2586,2131,2035,2632,2935,2284,2107,2664,3117,2450,2358,3076,3360,2921,2524,2230,1951,2012,2523,2283,1667,1988,2094,1676,1848,2196,2414,2542,2668,2603,2621,2998,3142,3023,2667,3172,3632,2986,3207,3187,2279,1940,2089,2358,2194,2137,2225,2270,2104,2279,2599,2026,1750,2042,2164,1572,1488,1410,1583,1844,1798,2060,2418,2386,2365,1660,2088,3222,4026,3810,3613,3657,2888,2066,2174,2330,2412,2060,1996,2733,3442,3464,3416,3103,2814,2674,3271,3440,3526,3662,3335,3073,3090,2868,2700,2863,3034,2862,2642,2932,3323,3348,3582,3255,3481,3945,3517,3320],[3001,2823,2504,2669,3172,3537,3628,3416,2762,2613,2580,2455,2450,2682,2909,3355,3460,3575,3460,3105,3021,3340,3452,3244,2974,2879,2801,2787,2952,2985,3125,2954,2750,2934,3279,3672,3776,3499,3420,3452,3666,3728,3607,3390,3226,2997,2966,3245,3128,2992,3119,3332,3541,3913,3984,3913,3753,3870,3775,3673,3876,3784,3283,3426,3828,3833,3304,2415,2906,3337,3903,4195,4168,3581,3142,3576,4252,4356,4279,4387,4256,4244,4298,3510,3191,2517,2598,3557,3739,3522,2565,2215,3260,3709,2791,2225,2712,3117,2186,2218,2247,2308,1969,2512,2763,2376,1960,1859,1901,1888,1715,2297,2386,2060,2869,3870,4124,3797,2965,2255,2193,2165,2070,2308,2147,1695,1962,2535,2866,2621,2482,2441,2467,2047,1505,1652,2180,2292,2383,2330,2444,2029,2375,2396,1871,1530,1769,2228,2204,1932,1667,1832,2298,2498,1950,1867,2192,2580,2490,2483,2393,2831,2989,3175,3327,2907,2821,2912,2883,3264,3194,3209,3325,3460,3750,3673,3166,3118,3265,3342,3241,2885,2963,3218,3205,3128,3941,4212,4152,3426,2922,3142,3039,2865,3118,3155,3001,3317,3161,3145,3757,3784,2564,2621,2355,1968,1929,2290,2703,2710,2302,1916,2361,2210,2635,3263,3484,3410,3604,3675,3653,3719,3931,3796,3122,2586,2863,2944,2697,2359,2209,2399,2281,2193,1969,1609,1576,1990,2210,2236,2124,2225,2155,2040,2097,2051,2167,2127,2451,2415,2393,2569,2484,2237,2301,2269,2543,2686,2069,2136,2466,2156,2088,2071,1969,2002,1973,2037,2332,2020,2244,1978,1989,2000,2107,1817,1716,2171,2266,2266,1995,1819,2310,2396,2029,1887,1855,1678,1627,1877,1919,1720,1972,1911,1521,1571,1499,2488,3222,2769,1669,1597,1479,2060,2328,2240,2403,2524,2601,2068,2124,1768,2150,2255,2365,1671,1721,2366,2282,2070,3010,3819,3416,2459,2305,2780,2387,1792,1781,1730,2077,2322,2280,2427,2349,2240,2231,2364,2195,2668,2892,3155,3445,3469,3487,3133,3251,3763,3753,3152,2575,2215,2171,2413,2686,2667,2470,2243,2531,2458,2787,3023,2952,2679,2485,2625,2326,2425,3007,3328,4154,4598,3896,2719,2554,3077,3023,2941,2742,2567,3128,3646,3159,2536,2833,2708,2888,3219,3274,3470,3254,2633,2449,2297,2459,3272,3691,3055,2497,2929,3378,2728,2232,1974,1929,1813,1993,2365,2474,2913,2456,2044,1857,2584,3531,3498,2709,2347,2358,2187,2383,2170,2269,2497,2994,2873,2357,2531,2237,2358,2791,2464,1991,1964,2482,3218,3450,3194,2768,2788,2797,2895,2505,2445,2370,2080,1652,1489,1914,2189,2580,3064,2260,1604,1978,1671,1595,1568,1663,1868,1719,1668,1892,1966,1890,1923,1914,1835,2233,2085,1620,1656,2055,1896,1604,1793,2269,2400,2055,2894,3124,3024,2142,1876,1772,2003,2501,2151,1909,2259,2006,1810,1671,1612,1613,1559,1622,1862,1718,1861,1765,1454,1591,1780,2030,2082,1750,1694,2280,2020,1706,1994,2387,2339,2047,2308,2742,2484,2623,2653,2107,2006,2490,2500,2128,1737,1597,1368,1205,1318,1795,2030,1803,1461,1739,1870,1853,2074,2668,2304,2105,1958,2077,1791,2312,2888,2507,2272,1847,1736,1722,1883,1741,1783,1866,1802,1682,1699,2604,2708,2573,2929,3208,3111,3104,3081,2773,2500,2261,2421,2223,2236,2570,2508,2423,2425,2030,1934,2193,2142,1926,2306,1888,1896,2156,1748,1727,2166,2742,2821,2683,2579,2263,2492,2932,2479,2001,1985,2042,1961,1924,1931,2093,2195,2250,2354,2852,2769,2222,2358,2499,2625,2964,2945,2846,2547,2271,2197,2100,2191,2287,2060,2079,2100,2238,2308,2615,2636,2404,2870,3631,4063,3785,3053,2258,3266,3109,3186,4229,4033,3805,3775,4062,3718,3035,2978,3219,3719,3603,3474,3339,3172,3060,3083,3186,2442,1952,1981,2007,2026,1930,1974,2240,2095,2674,3295,3105,2964,2984,2843,2539,2512,2739,2337,1609,1571,1801,1834,1933,2820,3429,3175,2915,3011,3465,3458,3470,4017,4205,3775,3645,3705,3753,3436,3142,3252,3650,3861,3735,3703,3507,2932,2419,2452,2748,2769,2733,2683,2735,2735,2911,3429,4176,4628,4740,4332,3252,3723,4744,4960,4982,4989,4878,4817,4448,4200,3964,3540,3528,3606,3175,2694,2820,2786,2608,2623,2775,3043,3249,3616,3613,4018,4288,3945,3733,3505,3677,3890,3736,3829,3964,3990,3692,2921,2382,2233,2142,2150,2596,3454,4046,4363,4144,3704,3861,3557,3342,3164,3486,3618,2713,1997,1812,1676,1911,2159,2067,2147,2435,2943,2399,1830,1788,1891,1623,1731,2247,2303,2608,2288,1697,1620,2075,2501,2248,1554,2013,2182,1788,1907,2017,2031,2227,2351,1983,2081,2089,1527,1408,2143,2702,2500,2328,2476,2049,1602,2023,2456,1895,1687,1991,1889,1726,1163,1171,1587,1712,1843,2412,2546,2062,1447,1462,1417,1433,1343,1344,1441,1553,1552,1517,1460,1439,1514,1842,2166,2305,1976,2195,2224,2304,2118,1949,1678,1491,1704,1829,2035,1903,1818,1613,1694,2036,2021,1611,1228,1371,1914,1905,1804,1694,1579,1506,1488,1636,1569,1834,1771,1512,1343,1365,1785,1591,1808,1863,1705,1715,1536,1536,1255,1491,1550,1516,1644,1452,1390,2404,3047,2443,1871,2321,3166,3215,2986,2575,2310,1775,2094,2401,2329,2237,2120,1979,2216,2705,3395,3806,3852,3912,3796,3575,3841,3978,4005,3830,4124,3460,2821,2877,2494,2383,2561,2806,3120,3364,3491,3563,3393,2783,3046,3298,3140,3068,2937,2612,2365,1924,1938,2426,2200,1842,1571,1866,2085,1792,1900,2713,3504,4073,3792,3282,2989,2562,2415,2247,1794,2044,2289,2385,2416,2693,2384,1910,2066,1929,1817,2277,2058,2504,2428,2141,2684,3387,3197,2392,2375,2879,2999,2979,3448,3439,3311,3075,3153,2809,2331,2203,2474,2161,1894,2509,2760,2546,2271,2448,2255,2230,2909,2824,2648,2368,2158,2053,1912,2518,3288,3096,2956,2569,2734,2908,2803,1883,1697,1573,1463,1540,1677,1798,2630,3128,3544,3706,3580,2932,2512,2539,2877,2562,2066,2091,2139,2047,2081,1821,1664,1465,1455,1732,1712,1601,1732,1642,2024,2404,2436,2377,2059,2026,2222,2006,2505,2811,3294,3470,3454,2852,2720,2773,2582,2696,2507,2467,2688,2014,1899,2320,2699,3101,2545,1917,1798,2435,2841,2865,2818,2342,1914,1866,1951,2119,2302,2444,2468,2104,1826,2503,3591,3874,3880,3941,3891,3548,3458,3377,3613,3659,2767,1852,1708,1708,1945,2244,2505,3112,2348,1394,1434,1765,1752,1708,1712,1614,1647,1685,1607,1287,1337,1751,1734,1807,1552,1509,1497,1536,1389,1277,1448,1597,1467,1202,1489,2192,2714,2698,1805,1719,2097,2809,2827,2824,3407,3242,2968,2855,2345,1598,1354,1296,1527,1577,1684,1670,1672,1899,2220,2169,2165,1980,1460,1475,1365,1251,1296,1592,1864,1896,1756,1448,1491,1407,1241,1253,1192,1251,1426,1749,1921,1927,1809,1699,1806,1786,1830,1905,1900,1850,1802,1975,2203,1718,1784,1766,1902,1612,1595,1723,1541,1344,1735,2195,2195,2303,2088,2107,2130,2642,3410,3294,2396,2267,1940,1682,2026,2267,2285,2562,2455,2445,1981,1796,1691,1872,1940,1725,1758,1708,1712,2045,2079,1766,1818,1674,1741,2421,2578,2661,3277,3293,2998,3133,2545,1638,1417,1450,1433,1482,1561,1881,2652,2438,1705,1510,1468,1786,2014,2165,2976,3563,2785,2099,2170,2004,2300,2758,1938,1634,2237,2032,2249,2462,2577,2611,1977,1724,1854,1894,2014,1797,2277,2219,2119,2374,2580,2680,3096,3154,2730,2710,2023,1512,1490,2189,2940,2624,2065,2150,2374,2148,2150,2237,2470,2864,3720,3890,3935,3715,3902,3428,2587,2632,2518,2353,2533,2706,2536,2353,3097,3407,2795,2520,2736,3032,3138,3184,3069,2280,2398,2896,3064,3458,3393,3095,2952,2342,2256,2569,2658,2756,2751,2763,2785,2884,2852,2771,2500,2257,2151,1802,2192,2748,2994,2916,3067,3073,2828,2728,2931,3083,3088,3062,2678,2048,2301,2776,2692,2520,2408,2519,2809,2875,2846,2911,2692,2705,2764,2523,2513,2813,2499,2834,2734,2420,2552,2623,2739,2480,2205,2355,2214,2238,2282,2214,2639,2979,2657,2467,2409,2253,2258,2742,2814,2646,2292,2757,3275,3195,3064,2894,2753,2843,3120,3508,3454,2656,1901,2331,2188,1986,2395,2872,3441,3515,3451,3437,3244,3205,3427,3834,3897,3763,3598,3207,2578,2584,2759,2890,2559,2232,2490,3017,2942,2692,2683,3059,3204,2556,2575,2776,2627,2062,1820,2243,2333,2194,2290,2469,2647,3176,3342,2810,2573,2692,2632,2830,2843,1967,1296,1310,1560,2076,2789,2732,2845,2888,2941,3459,3008,2219,1830,1750,2152,2338,2590,2880,2090,2096,1690,1509,1561,1633,1717,1728,1687,1618,1698,1878,2018,2151,3112,3604,3391,2792,2800,3579,3688,3626,3530,3542,3824,4064,4057,3692,3429,3297,3042,3272,3448,3378,3118,2919,2920,3168,3480,3742,3792,3453,3432,3328,3417,2698,2643,2552,2104,2777,3435,3596,3419,3297,3453,3220,3373,3607,3564,3365,2714,2451,2910,3540,3783,3760,3517,3422,3653,3574,3466,3652,3652,3127,2891,2342,2092,2236,2142,2412,3422,4006,2683,1987,2232,1896,1571,1925,1837,1778,2070,2535,2831,2788,2959,2756,2399,2363,1803,1872,2082,1409,1912,2464,2439,2539,2990,2910,2609,2544,2611,2806,2489,1986,2082,2631,3118,2758,3510,4168,4081,3896,3261,2276,1945,1921,2075,1996,1909,2152,2088,2057,1967,2453,2829,2996,3101,3233,3136,2984,3077,2844,2744,3427,3385,2600,2701,2360,2055,1721,1537,1845,2161,2071,2312,2600,2464,2211,2491,2654,1930,1794,1754,1785,2071,1895,1697,1670,1714,2177,2345,2288,1985,1776,2632,3112,3506,3520,3576,3309,2363,1898,1852,2291,2718,2494,2497,3308,3610,3499,3551,3385,3141,3360,3462,3360,3453,3609,3464,3089,3029,3049,2788,2834,2768,2520,2809,3104,3083,3453,3692,3332,3664,3929,3653,3781],[3039,2551,2436,2585,3175,3500,3360,2764,2334,3227,3043,2691,2252,2809,3426,3639,3527,3422,3174,3216,3482,3537,3418,3076,2676,2642,2886,2939,2895,2800,2828,2823,2963,3022,2974,3292,3430,3298,3334,3425,3960,3772,3529,3442,3412,3417,3362,3031,2869,2928,3041,3204,3685,3879,3798,3758,3806,3862,3770,3550,3813,3638,3039,3076,3382,3657,3151,2877,3267,3650,4124,4272,4113,3594,3117,3338,3789,4091,4512,4388,3963,4167,4200,3315,2938,2534,2852,3688,4006,3540,2496,2351,2988,3256,3113,2447,2533,2984,2414,2500,2193,2151,2409,2351,2417,2552,2148,1685,1966,2283,2402,2770,2840,2502,3068,3783,4090,3748,2717,2269,2307,2189,2342,2285,1963,1825,2229,2877,2989,2521,2386,2567,2552,2319,2288,2331,2031,1960,2183,2281,2291,2069,2478,2540,2047,1886,2015,2147,2376,2416,2143,2182,2194,2299,2065,1912,2108,2464,2444,2310,2288,2325,2522,3096,3615,3544,3847,3965,3851,3441,3064,2972,2978,2943,3211,3211,2922,2908,2839,3339,3216,2744,3211,3687,3826,4014,3758,3336,3155,3020,3279,3583,3308,2872,3144,3187,3407,3573,3254,3466,3508,3127,2813,2924,2990,3039,2906,2776,2377,2643,2691,2663,2824,2501,2548,3151,3382,3269,3362,3483,3315,3180,3768,4116,3747,2989,3017,3161,3054,2656,2758,2808,2482,2155,2094,2106,1639,1815,2065,2487,2889,2584,2075,2044,2205,2148,2089,2049,2091,2174,2376,2298,2385,2279,2453,2602,3006,2442,2082,2684,2761,2823,3144,2854,2646,2442,2368,2321,2094,1891,1902,1779,1767,1659,1810,1780,1609,1653,1714,1939,1807,1592,2179,2102,1795,1504,1390,1431,1565,1777,1854,1870,1971,2126,1721,1765,1672,1714,2154,1856,1337,1387,1957,2613,2553,2357,2242,2531,2263,2103,2034,1627,1842,2224,1856,1534,1832,2071,2173,1966,2017,3098,3308,2469,2284,2879,2498,1848,1616,1681,1803,1607,1617,1697,2073,2206,2018,2007,1996,2597,3033,3096,3310,3369,3219,3027,3140,3526,3580,3116,2445,2195,1741,1992,2371,2842,2442,2088,2294,2475,2844,3212,2685,2821,2634,2297,2294,3407,3742,3624,4107,4560,4184,3023,2744,3393,3250,2721,2711,2786,3470,3728,3415,3138,2786,3042,3200,3023,2984,2799,2941,2824,2442,2229,2784,3405,3510,2831,2454,3050,3303,2818,2528,2354,2112,1756,2208,2955,2707,2612,2136,2407,2607,2904,3242,3244,3094,2652,2674,2865,3226,3339,3260,2648,2364,2424,2642,2621,1954,1745,2120,1990,1721,2142,2581,2651,3397,3862,3494,3151,2828,2633,2604,2439,2136,2085,1642,1487,1864,1741,1965,2480,1845,1616,1781,1517,1572,1894,2058,1942,1894,1903,1855,1477,1583,1956,2330,2774,3212,2931,2096,1777,1814,1638,1733,2012,2434,2915,2525,2798,2993,2546,1990,1814,1858,2099,2466,2069,1709,2165,1962,1766,1785,1945,1968,2029,1820,1523,1481,1875,1696,1726,1876,1605,1616,1661,1568,1982,2408,1866,2226,2751,2849,2318,2368,2460,2156,2459,2869,2458,1862,2190,2514,2091,2139,1785,1511,1322,1377,1567,1638,1802,1425,920,1533,1663,1860,1962,2187,2380,2189,1868,1802,1733,2302,2680,2830,2220,1803,2076,2049,2072,2159,2114,1859,1898,2026,1880,1804,2415,3262,3095,3054,3306,3052,2833,2603,2447,2332,2257,2342,2376,2338,2277,2508,2553,2161,2148,2260,2417,2326,2408,2154,2228,2025,1598,1654,1918,2014,2243,2755,2577,2555,2290,2454,2469,2144,1968,1986,2006,2148,2162,2093,2013,2129,2180,2620,2465,2247,2241,2428,2686,2824,2851,2820,2517,2501,2311,2203,2292,2221,2112,2101,2030,2104,2138,2365,2385,2281,2497,3029,3639,3639,3531,3207,3328,2805,3872,4437,4131,4257,4209,3784,3166,2430,2588,3176,3595,3557,3786,3718,3581,3528,3388,3360,2775,2151,2188,2188,2074,1852,1883,1971,2310,2775,2835,2884,3121,3119,2573,2452,3034,2710,1966,1688,1896,2280,1882,2152,3243,3781,3912,3738,3475,3492,3529,3538,3771,3872,3598,3594,3540,3586,3209,3203,3196,3352,3726,3914,3986,3566,2635,2701,3093,3353,3405,3540,3145,3038,3495,3564,3435,3797,4347,4544,3550,3298,4451,4795,4838,5028,5103,5047,4903,4487,4195,3918,3421,3363,3423,3499,3282,3255,3489,2888,2728,3222,3275,3538,3805,3940,4184,4049,3971,4192,4055,3994,4100,3999,4048,3934,3666,2930,2283,2210,2065,2203,2831,3195,3986,4627,4672,4059,3437,3624,3404,3293,3307,3518,3551,2555,2052,1920,1707,1830,1841,2064,2498,2622,2564,2111,1819,2232,2417,1835,1781,2594,2428,2587,2532,1662,1693,1922,2182,1892,1615,2355,2620,2243,2771,2697,2451,2562,2637,2094,2082,2169,1830,2105,2652,2724,2232,1955,1792,1470,1640,2179,2230,1655,1575,1581,1586,1504,1176,1286,1825,1982,1746,1719,2073,2103,1636,1750,1558,1499,1430,1421,1496,1428,1395,1619,1726,1632,1641,1705,2071,2392,1683,2056,2376,2463,2199,2205,1791,1490,1576,1770,2065,1973,1914,1647,1555,1615,1609,1521,1454,1520,1607,1623,1452,1371,1709,1704,1594,1737,1565,1892,1582,1392,1595,1654,1515,1528,1921,2036,1781,1751,1593,1816,1534,1632,1684,1743,1721,1451,1648,2696,2724,2136,2181,2862,3121,3040,2930,2547,2132,1991,2238,2409,2242,2107,1864,1850,2657,3398,3951,4012,3772,3865,4008,3713,3731,3960,4019,4049,4199,3626,2870,2841,2293,2414,2645,2552,3066,3199,2961,3021,3005,3167,3235,2662,2584,2602,2830,2276,2085,1987,2389,2264,2085,1897,1721,2027,2069,1866,1918,2297,2896,3694,3540,3088,2678,2836,2818,2005,1981,2709,2853,2632,2643,2911,2050,1763,1975,1686,1741,2306,2056,1976,1922,1837,2219,2634,2435,2164,2453,2789,3021,3782,4001,3782,3384,3082,2579,1868,1823,1958,1958,1693,1600,2190,2647,2692,3035,3240,2808,2472,2930,2773,2263,2060,2055,2252,2304,2236,2481,2259,1786,1982,2220,1990,1719,1603,1664,1746,1903,2284,2264,2069,2728,2702,3220,3542,3518,3017,2674,2755,2944,2470,1687,1713,1774,1958,2011,1636,1521,1444,1425,1335,1515,1985,2042,2037,2359,1983,1834,1774,1835,2115,2239,1817,2087,2438,3210,3574,3686,3355,2967,2834,3034,2608,2070,2070,2823,2687,2531,2674,3017,3041,2566,1969,1572,1964,2252,2692,2463,2012,2011,2137,2730,3164,3130,2862,2756,2565,2166,2628,3559,3702,3751,3651,3349,3016,3145,3238,3497,3828,3051,2208,2448,2858,3344,3388,3095,3551,2942,1720,1547,2029,1929,1915,1743,1539,1569,1648,1622,1229,1157,1575,1718,2523,1906,1890,2100,1948,1697,1470,1576,1760,1576,1360,1676,2004,2081,2025,1495,1569,1746,2487,2877,3104,3655,3484,3040,2996,2610,1814,1491,1509,1722,1987,2211,1902,1544,1787,1889,1606,1650,1617,1559,1654,1445,1448,1806,1878,1741,1963,1847,1561,1366,1279,1288,1263,1245,1387,1361,1633,1916,1870,1858,1887,1816,1628,1444,1416,1593,1694,1859,2144,2241,1637,1527,2248,3010,3163,2895,2590,2221,1694,1722,2058,2753,3698,2643,2126,2330,2320,3043,3529,3015,2632,2074,1930,2157,2103,2275,2801,2455,2907,2374,1671,1662,2003,2212,2398,2645,2765,2598,1948,1641,1716,1539,1540,1670,2550,2733,2852,3506,3090,2591,2473,2175,1684,1494,1418,1305,1286,1694,1845,2215,1982,1693,1528,1550,2188,2400,1870,2301,3276,3261,2561,2374,2294,2228,2529,2024,2180,2547,2494,2768,2631,3050,3050,2200,1735,1684,2024,2420,2260,2250,1976,1806,2063,2580,2984,3271,3176,2458,2603,2380,1708,1705,2692,2855,2499,2211,2164,1898,1740,1719,2078,2544,2547,3266,3779,3608,3613,3658,3140,2654,2778,2833,2536,2340,2527,2437,2117,2506,3208,2728,2032,2225,2085,2199,2774,2499,2380,2692,2924,3554,3404,3424,3654,3422,3013,2773,2763,2740,2666,2734,2720,2890,2911,2699,2634,2610,2405,2180,1784,2117,2731,2894,2834,2988,3037,3149,3418,3494,3469,3252,3062,2642,2132,2275,2817,2852,2632,2444,2343,2391,2452,2637,2876,2820,2776,2784,2612,2795,3067,2634,2824,2929,2839,2920,2730,2702,2195,2007,2410,2279,2291,2376,2360,2758,2778,2403,2603,2824,2548,2007,2182,2241,2388,2232,2828,3090,2866,2729,2674,2856,3244,3528,3602,3670,3131,1980,1996,2216,2045,2203,3195,3983,3919,3680,3646,3631,3271,3041,3088,3684,3885,3564,2963,2709,2466,2385,2171,1902,1930,2303,3226,3562,3424,3363,3219,3483,3419,2988,2921,2512,2185,2508,2626,2415,2598,2655,3104,2846,2568,2438,2566,2656,2874,3160,3242,2497,1909,1558,1832,2348,2574,2624,2630,2313,2045,2755,3817,3598,2996,2363,2084,2089,2158,2318,2223,1840,1824,1482,1747,1832,1438,1455,1882,1806,1592,1701,1661,1952,2143,2435,2912,3165,2675,3031,3566,3532,3574,3695,3620,3140,3037,3422,3097,2923,2928,2778,3267,3246,2820,2832,2897,2952,3233,3624,3884,3816,3460,3351,2349,2455,2545,2687,2531,2188,2280,2686,3443,3537,3443,3710,3516,3525,3671,3265,3010,3046,2955,3051,3617,3771,3606,3618,3692,3673,3535,3472,3714,3427,3080,2713,2243,2040,2210,2182,2114,2943,3272,2177,1967,1778,1770,1792,2332,2350,2025,2071,2942,3094,2435,2519,2164,2127,2243,1853,2160,2322,2051,1967,2392,2789,3520,3961,3448,2951,2610,3687,3450,2722,2338,2321,2909,2880,2600,2767,3460,4140,4185,3165,2546,2888,2281,1863,1708,1958,2214,2165,1754,1660,2064,2803,2854,2590,3294,3278,2714,2820,2405,2641,3257,3137,2784,2438,1886,1729,1388,1391,1918,2373,2609,2683,2752,2450,2167,2131,2156,2069,2032,2144,2472,2304,2258,2135,2325,2269,2514,2771,3068,2252,2221,2796,2896,2902,3032,3017,2473,2208,2133,2155,2321,2765,2907,3382,3688,3598,3504,3466,3247,3339,3654,3563,3546,3670,3780,3474,3130,3120,3327,3109,2925,2642,2281,2800,3229,2877,3085,3099,3297,3499,3637,3100,3163],[3164,2940,2497,2360,2534,2165,2129,2184,2792,3574,3229,2270,1997,2698,3466,3142,2552,2791,2688,2867,3218,3266,2995,2761,2668,2859,2934,2808,2820,2797,2807,2948,3034,3018,3066,3007,2809,2995,3322,3450,3761,3594,3508,3547,3485,3687,3659,3261,3027,2779,2476,2839,3303,3541,3702,3594,3549,3739,3664,3541,3751,3729,3764,3341,3376,3558,3096,3163,3462,3763,4082,4048,3859,3778,3576,3601,3425,3880,4533,4120,3683,4063,4082,3042,2545,2684,3161,3838,3638,3362,3132,3142,3262,3230,3288,2814,3042,3082,2984,3230,2985,2889,3034,2792,2670,2823,2751,2262,2896,3008,3191,3151,3161,2710,2757,2965,3042,3176,2898,2810,2778,2380,2688,2615,2626,2688,2986,3363,2946,2215,2325,2708,2531,2541,2676,2675,2420,2468,2408,2421,2330,2503,2578,2424,2388,2430,2263,2254,2453,2669,2640,2723,2329,2199,2545,2684,2640,2640,2586,2598,2504,2489,2624,2774,3717,3977,4108,4385,4273,4034,3874,3775,3795,3683,3420,3198,3124,3527,3687,3779,3646,2871,2551,3504,4128,4124,4109,4071,3646,3278,3266,3339,2778,2843,2953,2852,3184,3528,3461,3230,3002,2843,2879,3034,3042,3033,3175,3295,2438,2589,2938,2984,2930,2818,2586,2680,2868,2975,3034,2893,2667,2623,3237,3626,3463,2778,2449,2398,2403,2376,2214,2239,2598,2493,2137,2198,1802,1976,2137,2332,2681,2406,1949,1971,2239,2347,2115,2010,2132,1930,1918,2095,2183,2242,2233,1978,1881,1721,1957,2391,2449,2665,3018,2995,3147,2807,2916,3119,2776,2318,2176,2049,2026,1931,1807,1821,1821,1643,1780,1905,1737,1462,1577,1808,1848,1712,1590,1446,1570,1636,1625,1791,1980,2465,2060,2132,1908,1900,2018,1908,1946,2353,2754,2709,2997,2952,2744,2729,2388,2408,2368,2217,1932,1857,1874,2094,2206,1926,2125,2210,1950,2718,3341,2879,2520,2376,2304,2149,1824,1705,1675,1495,1487,1691,2260,2332,2337,2266,1970,2513,2963,2791,2828,3042,3252,3341,3160,3065,3372,3226,2871,2806,2212,2180,2775,2716,2129,2099,1990,1951,2298,3497,2624,2879,2951,2856,3140,3664,3585,3779,4215,4052,3558,3056,2851,2590,2684,2308,2800,3107,3134,3344,3870,3571,2979,3339,3560,3384,2986,2357,2232,2402,2733,2911,3604,3321,2655,2292,2240,2789,2560,1996,2194,1965,1939,2024,2179,2789,3211,2863,2216,2711,2841,2685,2875,2676,2679,2734,2957,3040,3306,3825,3251,2379,2304,2469,2540,2504,2011,1551,1614,1721,2137,2631,2779,2525,3231,3792,3541,3094,2741,2545,2570,2505,2027,1832,1700,1725,1706,1651,1744,1559,1660,1900,1776,1492,1609,1926,2114,2354,2578,2370,2310,2198,2322,2102,2316,2698,2714,2902,2799,2558,2066,1933,1825,2091,2342,2329,2055,2736,2640,1740,1648,1914,2132,2308,1986,1540,1610,1655,1538,1611,1965,2144,1862,1740,1793,1649,1643,1665,1711,2150,1970,1621,1509,1543,1596,2192,2142,2294,2788,2584,2292,2453,2442,1683,1430,1819,2478,2208,1990,2116,2373,2527,2051,1621,1541,1547,1722,1572,1444,1644,1280,1344,1543,1631,1995,1942,1859,2078,2062,1962,1920,2155,2536,2420,2511,1831,1673,1834,1986,2004,2380,2687,2533,2376,2200,1897,2013,3138,3506,3260,3162,3022,2857,2592,2220,2135,2111,2314,2600,2464,2500,2526,2488,2362,2082,2284,2330,2285,2298,2222,1866,1981,2104,1673,1706,1780,1727,1922,2836,2864,2807,2411,2322,2630,2436,2221,2254,2287,2383,2040,1984,1943,2202,2158,2337,2321,2260,2282,2346,2552,2622,2574,2428,2244,2370,2357,2590,2532,2182,2440,2371,2121,2156,2111,2066,2265,2508,2754,2649,2953,3360,3271,3436,3715,3906,4005,4256,4266,4071,4021,3747,3684,3567,2475,2873,3618,3710,4076,4020,3674,3512,3405,3610,3289,2418,2258,2073,1918,1687,1653,1719,2279,2354,2644,3238,3417,3222,3104,3237,3760,3282,2814,2111,2050,2298,2200,2535,3096,3637,3832,3503,3298,3285,3604,3706,3587,3557,3505,3211,3050,3111,3416,3580,3233,3053,3495,3985,4084,3172,2102,3121,3613,3532,3532,3850,3610,3450,3727,3747,3669,3758,3948,3593,3096,4150,4769,4712,4712,4892,4839,4681,4649,4241,3723,3689,3570,3617,3486,3802,3819,3664,3241,2717,3210,3518,3481,3709,3947,4041,4096,4096,4144,4341,4504,4333,4235,4226,3939,3385,2866,2323,2137,2055,2076,2742,3370,3391,4057,4375,4272,3513,2853,3105,3066,2995,3105,3485,3510,2490,2159,2062,2137,2168,2154,2640,2488,2064,2061,1881,1897,2498,2086,2229,2223,2300,2438,2410,2592,2183,2407,2520,2184,1830,1672,2138,2808,2358,2447,2664,2558,2798,2618,2067,1753,1801,2042,2141,2015,1798,1600,1610,1540,1461,1541,1796,1882,1654,1515,1248,1323,1654,1639,1894,2536,2056,1729,1863,1953,1960,1965,1767,1723,1602,1419,1436,1415,1375,1393,1556,1475,1576,1553,1343,2465,3411,2331,1959,2464,2618,2442,2213,2112,2021,1875,2003,1519,1654,1783,1732,1513,1461,1527,1449,1420,1460,1377,1445,1296,1309,1681,1893,2079,2375,1870,1966,1761,1498,1630,1600,1520,1672,2225,2331,1985,1829,1671,1648,1427,1703,2157,2131,2044,2128,2463,2652,2141,2010,2574,3039,3210,2959,2553,2458,2215,2016,2167,2224,2127,2324,2376,2530,3322,3742,4062,3974,3760,3896,4005,3848,3736,3842,4188,4345,4416,3950,2769,2765,2413,2364,2763,2898,2850,2445,2607,2943,2757,2908,2819,2610,2791,2829,3139,2100,2133,2323,2045,1864,2045,1913,1914,1983,1707,1858,1934,2044,2227,3077,3341,2993,2820,3176,3008,2140,1959,2872,3225,2699,2517,3115,2698,2302,2009,2282,2664,2340,1807,1773,1793,1685,1919,2113,2073,1934,2017,2752,2953,3542,3847,4156,3639,3091,2614,1823,1848,1853,2149,2003,1906,1895,1779,1690,2471,3113,2850,2626,2547,2532,2667,2544,2411,2586,2250,1970,1752,1857,1730,1892,1867,1547,1565,1783,2050,2447,2771,2896,2498,2138,1945,1910,2774,3367,3373,3136,3072,2944,2529,1899,1554,1484,1578,1972,1954,1581,1619,1536,1478,1378,1618,2420,2338,1836,1880,1484,1322,1844,2195,2398,1932,1775,1662,1717,2013,2309,2907,2864,2299,2632,3527,2612,1971,2069,2518,3045,2923,2665,2798,2927,3149,2479,1797,1794,2340,2935,2872,2246,1818,2613,3326,3518,3426,2890,2874,3033,3134,3241,3764,3350,2767,2883,2811,2940,3350,3561,3862,4158,3672,3363,3965,3928,3741,3328,3140,3554,3213,1968,1677,1982,2098,2030,1725,1727,1559,1418,1503,1400,1558,1901,2084,2654,2052,1941,2439,2452,2109,1423,1487,1713,1638,1475,1510,1517,1500,1698,1577,1506,1642,2381,2792,2569,3149,3496,3056,3073,2614,1866,1748,1963,2212,2446,2520,2116,1830,2008,1806,1416,1411,1466,1470,1696,1712,1835,1888,1865,2047,1892,1663,1917,1685,1342,1198,1282,1322,1460,1426,1492,1767,1907,1912,1924,1828,1616,1361,1470,1824,1710,1926,2612,2368,1635,1373,2050,2991,2952,2546,2427,2339,2111,1836,1745,2333,3257,2600,2111,2194,1975,2530,3396,3441,2698,1625,1791,2453,2644,2393,2397,2204,2911,2768,1910,1691,1926,2364,2927,3069,3337,2872,1766,1505,1497,1528,1913,1729,2125,2383,2769,3030,2398,2547,2519,2821,2227,1533,1364,1298,1391,1806,1858,1960,1911,1588,1533,1713,2338,2405,2116,2211,2836,3738,3231,2560,2583,2727,2907,2458,2175,2610,2495,2155,2743,3306,3621,2667,1922,1808,2221,2022,1691,1635,1515,1830,2692,3194,3039,3040,3086,3015,3486,3191,2160,2012,2268,2235,2411,2416,1918,1926,1754,1669,1831,2106,1945,2411,2938,2987,2656,2471,2518,2382,2567,3052,2609,1932,1909,2172,2119,2199,2508,2073,1884,2286,2109,2187,2110,2042,2496,2855,3220,3572,3328,3507,3774,3548,3051,2680,2743,2535,2447,2612,2544,2780,2753,2634,2734,2645,2401,2212,2040,2326,2863,2951,2853,3100,3138,3063,2973,3384,3597,3418,3083,2462,2358,2646,2907,2878,2696,2472,2330,2454,2438,2491,2720,3052,2930,2792,2634,3023,3195,2832,2984,2957,2753,2685,2617,2583,2577,2326,2501,2373,2282,2385,2500,2964,2909,2589,2968,2944,2489,2206,2451,2667,2375,2141,2896,3003,2656,2760,2987,2920,3385,3629,3521,3656,3148,2362,2326,2633,2332,2440,3343,4270,4423,3937,3717,3703,3498,3400,2896,3046,3178,2784,2843,3220,3155,2802,2360,2210,2030,2143,3093,3475,3247,3041,3027,3410,3795,3702,2841,2176,2185,2400,2415,2558,2618,2341,3289,2876,2039,1834,2600,3261,2844,2923,2878,1849,1791,1693,2563,2630,2456,2268,2431,1867,1894,3332,4168,4341,4341,3872,2991,2463,2209,1977,2374,2219,1782,2116,2536,1923,1321,1435,1678,1843,1920,1770,1753,1882,1946,1832,2234,2762,2958,3431,3517,3144,3076,3362,3321,2464,2922,3210,3147,3041,3369,3296,3245,3254,3410,3081,2986,3287,3264,3493,3781,3623,3614,3674,3205,2923,2856,3078,2923,2901,2818,2864,3540,3816,3816,3708,3573,3434,3419,3421,3301,3217,3085,3145,3500,3648,3555,3574,3376,3497,3563,3471,3550,3416,3162,3014,2751,2384,2146,2036,2040,2245,2298,2375,2146,1676,1703,2047,2285,2479,2692,3161,4108,3675,2599,2388,1967,1939,2320,2165,2115,2193,2465,2713,2902,2996,3602,4188,4121,3123,2706,3707,3421,2613,2322,2611,2770,2497,2317,2147,2357,2978,3467,2952,3277,3681,2835,1973,1666,2249,2567,2110,1987,1805,1735,2342,2680,2775,3480,3037,2237,2219,2160,2266,2468,2531,2613,2172,1768,1566,1159,1566,2003,2410,3067,3045,2447,2146,2188,2468,2544,2502,2537,2821,2879,2215,2460,2685,3029,3356,3400,3663,3960,3136,2300,2460,2770,2920,2697,2213,2105,2358,2417,2237,2375,2339,2558,3361,3669,3588,3669,3651,3240,3370,3673,3326,3276,3542,3540,3388,3430,3350,3283,3287,3040,2416,2408,3174,3632,3100,3121,3051,3518,3577,3304,3369,3459],[3139,2901,2909,2666,2664,2601,3056,3431,3780,3409,2209,1202,1476,2396,3190,2916,2734,2962,2692,2652,2886,2866,2592,2644,2919,3106,2819,2654,2754,2906,3035,3061,3011,2997,3008,2568,2230,2538,3018,3267,3286,3271,3348,3353,3404,3646,3557,3421,3216,2969,2329,2608,3093,3343,3382,3269,3316,3510,3629,3440,3196,3447,3869,3528,3791,3416,2603,2609,3178,3729,3828,3593,3711,4042,3916,3676,3244,3177,3783,4383,4424,4292,4197,3719,3564,3129,2973,3714,3924,3747,3333,3458,3248,3283,3504,3392,3536,3357,2896,3212,3284,3103,3083,3264,2894,3130,3208,3008,3054,2997,2978,2973,3153,3139,2685,2379,2821,2613,2724,2856,2570,2431,2502,2735,2758,2613,2722,2911,2787,2279,2556,3250,2408,2386,2692,2891,2697,2463,2353,2291,2402,2513,2515,2360,2290,2166,2376,2439,2867,2809,2831,2617,2744,2818,2740,2634,2609,2664,2536,2621,2555,2651,2842,2822,3220,3330,3664,4008,3937,4126,4460,4296,3945,3742,3250,3049,3236,3767,3838,3405,3941,3695,3375,3950,4149,4007,3986,4013,4444,4259,3819,4271,3680,3378,2858,2475,2831,3343,3338,2887,2469,2720,2752,2441,3042,3251,3075,2923,2434,2519,2758,2690,2644,2802,2577,2221,2283,2861,2886,2620,2922,3045,2894,2433,2461,2207,1731,1688,1860,1828,1724,1657,1902,1832,1868,1960,1842,1731,1601,1609,1700,1765,1792,1793,1931,2226,1974,2002,2194,1847,1959,2071,1929,1937,1971,1960,1822,1609,1525,1559,1492,1561,1921,2243,2810,2912,2719,2766,2656,2701,2944,2785,2967,2658,2169,1930,1970,1887,2205,2231,1885,1608,1551,1903,2143,1905,1771,2008,2523,2044,1693,1727,1691,1781,1992,2147,1978,2113,2258,2062,2172,2399,2499,2990,3065,2906,2712,2538,2730,2602,2476,2385,1991,1675,1695,1960,2623,3043,2554,2565,2167,2650,3206,3074,2430,1952,2012,1759,1808,1574,1568,1754,2018,1841,2077,2077,2025,2170,2154,2575,3002,2698,2584,2646,3240,3583,3309,3105,3514,3561,3128,2942,2969,2393,2096,2046,1848,2055,2152,1893,2431,3181,2358,2188,2138,2475,3254,3696,3607,3706,3454,2744,2636,2787,3018,2728,3222,2987,3141,3270,3281,3540,3566,3379,3274,3414,3383,3316,2768,2265,2070,2575,3119,3414,3430,2800,2226,1985,2488,2832,2710,2266,2173,1715,1765,2052,2060,2111,2746,2504,1630,2238,2663,2301,2345,2390,2476,3044,2888,2158,2488,3153,2592,2053,2518,3073,3220,2805,2119,1776,1639,1592,2018,2280,2636,2985,3238,3084,2688,2608,2732,2978,2951,2403,2008,1632,1728,1805,1787,1937,1711,1690,1882,1879,1924,1704,1610,1800,1965,2402,1838,1952,2054,2551,2822,2030,1932,1873,1964,2886,2991,2363,1726,1963,1871,2337,2071,1781,2385,3062,2433,1605,1499,1723,2178,2455,2364,1947,1994,1871,1592,1758,2026,2134,1819,1644,1890,1920,1857,1659,1896,2011,1707,1749,1689,1547,2008,2237,2055,2231,2074,1964,2247,2571,2509,2232,2047,2325,2439,2329,2248,2173,2237,1986,1649,1679,1742,1582,1340,1129,1479,1825,1533,1649,1632,1599,1814,1759,1716,1911,1879,1964,2418,2684,2336,2149,2222,2141,2042,2442,2534,2032,2200,2338,2134,2261,2183,1903,2432,3010,3103,3078,3012,2877,2696,2322,2114,2025,1866,2214,2314,2212,2280,2247,2356,2178,2252,2418,2392,2250,1997,1823,1971,2393,2208,1733,1771,1654,1726,1666,1946,2460,2801,2554,2302,2485,2623,2864,2924,2924,2899,2244,2032,2034,2194,2185,2410,2427,2355,2326,2338,2450,2421,2105,1918,1814,1904,1991,2227,2332,2207,2400,2425,2249,2333,2118,2073,2562,3145,3185,3216,3044,2625,2608,3197,3898,4175,4016,4153,4183,4284,4526,3834,3990,4208,3388,3912,3971,3263,3549,3798,3595,3561,3661,3589,2875,2255,1981,1847,1849,1763,2097,2610,2988,3008,3223,3284,3176,3884,4361,4068,3992,3717,3097,2088,1968,2148,2405,2782,3089,3474,3567,3410,3370,3254,3256,3206,3259,3662,3636,3252,2977,3369,3860,3493,2753,2570,3108,3853,3782,2790,2341,3131,3543,3758,3794,3794,3630,3414,3356,3436,3711,3550,3282,3056,4119,4800,4857,4648,4540,4760,4629,4332,4156,3775,3572,3733,3746,3560,3682,3858,3750,3592,3317,3422,3595,3488,3371,3527,3945,4026,4353,4280,4218,4455,4470,4200,4156,4274,3611,2717,2358,2159,2058,2025,2757,3619,3939,3951,4331,4034,3615,3186,3121,3340,2994,2824,2791,3146,3064,2546,2431,2322,2403,2537,2802,3042,2637,1968,1826,2263,2351,2796,2563,2634,2398,2545,2784,2586,2397,2475,2522,2352,2178,1994,1922,2164,2691,2344,2055,2387,2823,2342,1880,1607,1301,1568,1877,1941,1701,1603,1900,1979,1767,1570,1791,2013,2063,2122,2111,1715,1640,2122,2490,2754,2633,2358,2648,2950,2380,1873,1886,1914,1835,1744,1930,1602,1576,1360,1289,1381,1343,1500,1610,1319,2091,3312,2720,1897,2418,2559,2279,2266,2464,2004,2046,1981,1527,1366,1635,1842,1627,1426,1448,1380,1329,1356,1340,1372,1220,1208,1348,1685,1826,2027,1976,1966,1866,1902,1883,1648,1715,1946,2163,2070,1851,1974,2029,1632,1408,1958,2822,2765,2179,2258,2907,2618,2022,2302,2531,2969,3177,2764,2506,2555,2522,2218,1992,2114,2174,2498,2359,3152,3871,3885,3785,3484,3263,3557,3941,3714,2960,2901,3851,4000,3834,3552,2789,3008,3112,3107,3183,3067,2868,3059,3356,3377,2753,3041,2901,3072,3152,3388,3492,3009,2993,2530,2125,2508,2567,2180,1923,1949,1856,1952,2069,2380,2535,3163,3306,2719,2897,3405,3325,2821,2087,3121,3726,2956,2770,3540,3659,3577,2758,2767,3007,2330,1940,1930,1775,1880,1930,1777,1982,2006,2032,2847,3271,3362,3393,3642,3296,2584,2499,1902,1556,1802,2736,2273,2059,2433,2445,2156,2723,3008,2639,2388,2304,2742,2938,2380,2095,2076,1663,1638,1616,1623,1665,1721,1819,1910,1925,1527,1912,2156,2172,2496,2450,2187,2139,2002,2468,3220,3517,3374,3103,2644,2060,1696,1830,1786,1615,2046,2066,1726,1569,1566,1512,1376,1635,2109,1565,1414,1304,1439,1571,1930,2009,2323,1949,1534,1478,1714,1965,1693,1984,2078,2165,2310,2918,2552,2464,2485,2543,2745,2597,2626,2589,2939,3474,2518,1702,1721,2287,2824,2952,2744,2548,3088,3541,3250,3096,3098,3106,3063,3679,3667,3670,3020,2321,2212,2813,3602,3458,3040,3686,3749,3219,3272,3774,3718,3606,3736,3175,2675,2624,2318,2274,2332,1930,1854,2053,1749,1497,1462,1644,1574,1773,1863,1719,2040,2022,2026,2345,2234,2330,1518,1372,1716,1627,1652,1654,1455,1806,2106,1764,1571,1614,1995,2229,2161,2510,3460,2998,2426,2021,1660,1734,1914,2024,2250,2435,2046,1978,2148,1949,1496,1525,1505,1657,1996,1976,1804,1844,2232,2276,1885,1898,2270,2172,1511,1171,1322,1264,1361,1416,1428,1652,1894,1962,2002,1893,1469,1205,1377,1681,2076,2646,3082,2500,1729,1405,1575,1986,1744,1548,1329,1433,1918,1904,1847,1889,2168,2073,1879,1934,1765,1859,2564,2496,1976,1601,1792,2329,3044,3031,2603,2102,2564,2755,2396,2492,2978,3450,3387,2821,3092,3133,2142,1478,1390,1516,1476,1471,1709,1850,2494,2897,2316,2634,2126,2002,2062,1592,1566,1565,1681,2305,2484,2273,1745,1603,1872,2200,2326,2286,2204,2149,2808,3276,2928,2985,3322,3300,2895,2665,2259,2799,2658,3288,3619,3448,3544,2720,2115,2334,2449,2219,2115,1883,2198,2819,3092,3296,3132,2732,2854,3718,4168,3416,2476,2310,2286,1854,1858,2177,2036,1581,1190,1349,1401,1509,1867,2126,1873,1580,1457,1726,1939,1888,2061,2464,2406,2374,2110,2288,2452,2323,1958,1651,1942,2217,2094,1925,1756,2197,2153,2104,2807,3013,3203,3210,3162,3145,2485,2217,2501,2404,2395,2531,2532,2670,2577,2797,3056,2819,2318,2014,1991,2244,2777,2955,2983,3207,3116,2921,2756,2853,3283,3352,3008,2856,2829,2822,2972,2910,2600,2430,2294,2444,2561,2577,2776,3121,2989,2885,2955,3065,3104,2842,2943,2966,2728,2612,2675,2753,2844,2684,2828,2553,2379,2596,2472,2571,2668,2750,3032,2743,2627,2699,2953,3291,2769,2491,2657,2357,2192,2459,2740,2613,3060,2858,3212,3618,3322,2667,2700,2835,2612,2435,2526,3261,3848,3742,3871,3634,3516,3443,2796,2647,2708,2586,2986,3189,3063,2932,2647,2171,2062,2546,3252,3529,3361,3084,3240,3661,3763,3191,2211,2287,2410,2501,2835,2678,2329,2305,2718,2281,2589,2730,2532,3138,3023,2485,2484,2008,1750,1973,2830,2575,2539,2512,2648,2899,2958,3646,4295,4499,4384,4341,3637,3078,2600,2006,2160,1977,1635,2281,2688,1815,1508,1696,1967,2297,2282,1967,1821,1980,2232,2354,2312,2196,2741,3597,3422,2764,2770,3279,3172,2734,2944,3322,3285,3202,3260,3250,3041,3295,3716,2910,2795,3517,3328,3305,3494,3562,3241,3033,3326,2985,2732,3248,3198,3362,3363,3698,4049,4059,4100,3995,3804,3481,3339,3506,3601,3481,3348,3426,3562,3544,3580,3539,3373,3648,3742,3605,3573,3497,3310,3165,2878,2011,1838,1736,1810,1856,2198,2680,2406,1799,1673,2035,2302,2611,2705,3391,3558,3210,2502,2510,2172,1929,2490,2740,2194,1860,2349,2888,3052,2173,1738,2957,3400,2575,2374,2965,3064,2519,2337,2614,2598,2414,2348,1975,2190,2309,2469,2536,3168,3356,2543,1885,2348,3351,3053,2195,2004,1880,2054,2235,1838,2295,2967,2333,2103,2808,3091,2482,1993,1864,2168,2049,1794,1195,1090,1437,1933,2598,3225,3264,2578,2261,2460,2862,3144,2803,2448,2680,2542,2300,3019,3231,3444,3749,3719,3807,3769,2763,2237,2626,2440,2604,2526,1742,2041,2166,2535,2344,2028,1938,2699,3619,3740,3494,3588,3560,3254,2975,3112,2708,2732,3029,3276,3549,3727,3482,2796,2743,2911,2359,2758,3445,3742,3670,3268,3005,3332,3794,3713,3580,3430],[2935,3167,3300,2887,2814,2642,2580,2780,3335,3379,2269,1669,2095,2587,3076,2775,2707,2968,3084,2871,2828,2861,2821,2970,3125,2851,2611,2779,2887,2973,2915,2830,3028,2896,2494,2192,2141,2400,2979,3414,3412,3411,3453,3436,3557,3646,3536,3530,3426,3274,3038,3110,3339,3314,3320,3270,3447,3538,3422,3133,2508,3111,3666,3598,3773,3697,3366,3055,3156,3632,3805,3382,3745,3814,3598,3543,3608,3145,3430,4397,4547,4596,4523,3769,3948,3312,3140,3255,3344,3166,3431,3516,3133,3403,3780,3396,3244,3023,2519,2554,2743,2612,2929,3139,2891,2689,2827,2969,2857,2748,2855,2944,3030,3126,2922,2813,2733,2445,2511,2524,2594,2585,2373,2643,2667,2351,2138,2167,2461,2681,2729,3019,2666,2947,2888,2542,2342,2343,2390,2302,2320,2187,2231,1984,2399,2286,2425,2401,2719,2658,2975,2909,2798,3083,2831,2567,2415,2163,2248,2617,2374,2351,2552,2481,2548,2643,2957,3395,3322,3703,4124,3461,3193,3452,3325,3242,3337,3539,3086,2807,3576,3591,3395,3840,3701,3496,3486,3570,4018,4561,4171,4489,3861,3116,2763,2387,2675,3185,3331,2904,2383,2393,2323,2331,3602,4056,3797,2877,2184,2520,2942,2495,2097,2221,1849,2033,2602,2889,2643,2163,2635,2924,2472,2266,2561,2191,1661,1617,1784,1935,2233,2091,2003,1881,1780,1633,1712,1698,1592,1686,1705,1624,1532,1602,1737,1921,2442,2501,2122,1974,2297,2198,1892,1639,1525,1756,2002,1902,1755,1543,1365,1397,1587,1869,2327,2711,2756,2570,2320,2093,2266,2814,3353,3141,2505,2409,2398,2178,2210,2550,2556,2062,1671,1904,2294,2539,2042,2236,3109,2717,2214,1787,1605,1659,1461,1731,2155,2364,2244,1974,2193,2387,2282,2263,2425,2573,2500,2626,2476,2171,2181,2422,2002,1698,1469,1524,2107,2938,2923,2399,1990,2702,2823,2440,1958,1691,1826,1645,1794,1551,1720,2026,1987,1537,1608,1971,2079,2168,2384,2828,3010,2643,2832,3106,3597,3221,3105,3152,3155,2974,2787,3149,3349,2851,2101,1824,1915,2457,2157,1718,2438,2728,2469,2692,2847,2419,2757,3747,3632,3221,2523,1894,2635,3550,3654,3733,3543,3128,3519,3371,2906,3338,3710,3677,3542,3068,2798,2753,2608,2600,2851,3297,3393,3270,3031,2653,2212,2444,2806,2755,2807,2763,2840,2813,2497,2137,2177,1968,1840,1867,1541,1728,2218,2289,2547,3119,3106,2789,2351,2032,2762,2955,1761,1882,2388,2710,2942,2562,2804,2244,1965,2238,1954,1808,2177,2554,2929,2461,2121,2555,2443,2569,2497,1827,1583,1601,1853,1831,1833,1930,1799,2009,1980,2166,2167,2086,2015,1914,1916,2101,1865,2105,2163,2250,2127,1588,1378,1186,1548,1673,1988,1620,1708,2101,2264,2455,2285,2233,2785,3010,2502,2215,1932,1925,2319,2727,2588,2154,2343,2895,2343,1637,1817,1933,1834,1958,2154,1945,2219,1918,2106,2069,1430,1433,1537,1521,1867,1850,1797,1987,1686,1960,2402,2286,2217,2230,2421,2775,2458,2394,2662,2482,2049,1737,1691,1719,1623,1450,1211,1151,1516,1732,1865,1955,1732,1426,1355,1526,1995,2138,2022,1920,2050,2623,2292,1996,1781,2304,2670,2598,2410,1956,1957,2052,2387,2534,2308,2196,2635,2895,2862,2990,2845,2463,2178,1937,2051,2198,1766,2009,2164,2208,2288,2271,2231,2097,2164,1973,1697,1659,1702,1622,1616,1756,1803,1792,2126,2012,1925,1704,1693,2248,2680,2484,2119,2340,2741,3019,3140,3163,2600,2352,2149,2207,2356,2578,2579,2395,2374,2327,2339,2429,2242,2161,2421,2467,2317,2040,1858,1929,2131,2246,2120,2204,2304,1608,1885,2330,2627,3124,3296,2431,2038,2599,3101,3453,4131,3871,3968,4393,4624,4576,4104,4042,3826,3438,4090,4136,3384,3228,3237,3586,3622,3094,2741,2257,2126,2308,3040,2818,2668,3213,3596,3538,3362,3685,3931,3980,4484,4645,4408,4252,3807,2736,1937,1736,2076,2603,2754,3229,3243,3293,3410,3474,3516,3648,3454,3520,3776,3805,3860,3905,3937,3972,3498,2779,2086,2412,3375,3585,2584,2575,3417,3645,3703,3414,3732,3666,3282,3140,3372,3680,3153,2931,3761,4740,4857,4817,4633,4432,4761,4697,4533,4393,3739,3427,3734,3400,3167,3472,3429,3361,3591,3702,3862,3588,3397,3515,3571,3770,3963,4377,4244,4162,4307,4272,4060,3875,3624,2757,2253,2181,2033,2139,2966,3783,4311,4481,4225,4280,4300,3820,3143,3074,3377,3129,2973,3015,3198,2885,2510,2240,2186,2133,1922,2178,2365,2457,2209,1797,2426,2533,2662,2399,2086,2464,2947,2984,2862,2463,2091,2107,2202,2377,2679,2807,2732,2579,2450,2144,2721,3329,2509,1762,1464,1226,1462,1619,1838,1584,1480,1791,1884,1577,1432,1722,1861,1674,1884,2006,1775,1822,1873,2022,2664,2630,2928,3542,3962,3130,2057,1993,2046,1777,1871,2041,1481,1309,1262,1402,1444,1378,1456,1536,1499,1653,1993,2010,1753,2250,2604,2104,1936,1953,1680,1954,1690,1469,1588,1874,2082,1582,1536,1486,1293,1271,1362,1364,1307,1282,1354,1880,2121,1709,1790,2113,1749,1674,2164,2813,2222,2083,2106,1907,1836,1777,2212,2393,1922,1747,2047,2314,1823,1734,1647,2261,2081,1913,1797,1834,2448,2753,2853,3064,3094,3109,2338,2295,2317,2554,2998,3167,3708,4148,3891,3127,2666,2908,3453,3740,3134,1804,1787,3053,2910,2639,2291,2507,3312,3567,3499,3300,2839,3109,3484,3217,3228,2845,2541,2667,3153,3298,3370,3185,3356,3543,2968,2517,2676,2269,2277,2091,2020,2036,2189,2253,2498,2850,3286,3094,2453,2802,3449,3814,3551,2300,2293,2953,3332,3262,3769,3973,3810,3188,3068,2796,2184,1829,2081,2287,2642,1669,1504,1820,2236,2520,2746,2908,2961,2975,2907,2582,2055,2803,2531,1661,1663,2608,2289,2243,2897,2764,2254,2203,2119,1935,2084,2316,2786,3495,2426,1937,2193,1922,1648,1614,1657,1871,1810,2014,2055,2050,1620,1597,1415,1809,2490,2542,2286,2091,1835,2081,2812,3320,2873,2700,1833,1592,1656,1814,1679,1707,2181,2083,1592,1425,1592,1620,1387,1187,1200,1444,1535,1362,1679,1974,2080,2153,2144,1805,1598,1462,1569,1635,1807,2087,2234,1919,1800,2335,2476,2453,2148,2389,2555,2381,1968,2423,2745,3198,2702,2124,2225,2692,3146,3113,2796,2475,2863,3331,3074,2706,3093,3200,3209,3342,3075,3115,3073,2552,2216,2789,3684,2832,2015,3197,2517,2039,2525,3625,3790,3792,4024,2861,2031,2230,2308,2471,2237,2214,2809,2841,2036,1559,1667,1809,1788,2036,1966,1655,1996,2026,2151,2071,1905,2065,1568,1466,1795,1753,1922,1881,1410,1632,1770,1631,1473,1394,1835,2525,3128,3249,3631,3068,2487,2425,2005,1864,1556,1621,1785,1907,1791,1737,1631,1466,1427,1598,1650,1802,1863,1735,1812,1961,2037,2012,1763,2001,2404,2072,1437,1294,1246,1374,1525,1380,1390,1584,1912,2075,2084,1846,1700,1462,1363,1497,2245,3076,2901,2278,1794,1406,1389,1598,1333,1361,1314,1512,1864,1821,1626,1844,2118,1959,1691,1852,1664,1532,2108,2539,2945,2191,1741,2889,3795,3785,3260,2236,2179,2466,3166,3830,3646,3088,3508,3106,2567,2531,2030,1505,1310,1377,1635,1852,1535,1649,2113,2540,2410,2782,2385,1956,1752,1423,1473,1383,1866,2833,3027,2741,1969,1603,1678,1975,1863,2001,2213,2248,2678,3196,3053,3184,3487,3711,2843,2854,2644,2631,2484,3151,3303,3050,3035,3160,2935,3084,2962,2317,2035,1992,2555,2797,3008,3736,3333,2788,3062,3517,3309,2485,1991,2053,2085,1830,1608,2005,1882,1234,1026,1181,1477,1824,2488,2488,1793,1403,1492,1883,1752,1677,1581,1959,2420,2690,2839,3052,2831,2231,1948,1948,2078,2244,2165,1814,2098,2084,1816,1888,2123,2270,2874,3073,2839,2556,2204,2197,2546,2314,2372,2425,2553,2836,2901,3078,3173,2731,2293,2401,2257,2382,3180,3169,3087,3106,3044,2723,2520,2564,2921,3182,3208,3116,2778,2647,2739,2749,2558,2443,2540,2626,2590,2521,3031,3605,3205,3103,3238,3082,2890,2624,2809,2907,2777,2688,2599,2788,2996,3056,2998,2679,2427,2401,2510,2457,2535,2895,2932,2721,2686,2732,2644,2532,2585,2568,2390,2141,1929,2005,2312,2592,2898,2739,3088,3543,3592,3379,3196,3006,2677,2535,2453,2569,3098,3475,3729,3779,3608,3153,2780,2801,2954,3032,3074,2976,2807,2862,2536,1981,2237,2978,3355,3640,3515,3115,3375,3709,3271,2843,2586,2534,2521,2486,3069,2598,2419,2668,2485,2397,3132,3687,3596,2979,2889,2566,2276,1736,1954,2563,2435,2186,2741,2800,2433,3082,3242,3426,3963,4203,4356,4553,4402,3864,3149,2483,2111,1639,1686,1847,2024,2599,2483,1912,2006,2331,2404,2069,1805,1860,2141,2338,2035,2476,3347,3251,2642,2560,2851,3083,2901,3064,3408,3427,3191,3228,3291,2812,2267,2711,2909,2884,2978,3081,3198,3406,3396,3484,2911,2417,2629,2602,2487,2833,2905,2950,3399,3904,3904,3740,3854,4048,4059,3707,3393,3353,3363,3730,3706,3676,3413,3420,3563,3698,3741,3691,3723,3647,3474,3391,3362,2780,2388,2247,2442,2383,2280,2371,2623,2670,2432,1986,1770,1838,2166,2714,2595,2571,2787,2579,2351,2463,2487,2521,2996,3164,2308,1566,1717,2242,2990,2498,1921,2809,3278,3470,3251,2823,2608,2241,2210,2259,2229,2048,2255,2173,2604,2633,2064,1652,2202,2670,2221,2169,2975,3792,3062,2497,2106,1999,2121,2254,1587,1323,1601,1918,2466,3276,3116,2347,2188,1886,1958,1806,1532,1033,1185,1555,2387,2645,2863,3256,2797,2445,2754,2986,3272,2842,2410,2417,2454,2664,3113,2835,2999,3818,3920,3612,3272,2801,2639,2546,2667,2426,1938,1609,1632,2185,2604,2318,2154,2053,2455,3234,3519,3304,3611,3554,2878,2598,2696,2612,2543,2655,3015,3255,3378,3045,1966,2000,2280,2367,2882,3221,3050,3070,3046,2968,3255,3620,3682,3631,3460],[2670,2951,2581,2677,2871,2586,2413,2755,3481,3681,2951,2578,2555,2754,2906,2950,2888,3052,3345,3061,2808,2862,2841,2909,2785,2752,2898,2881,2858,2789,2810,2895,2784,2470,2330,2341,2602,2812,3151,3418,3732,3790,3650,3739,4071,3789,3514,3557,3535,3442,3353,3364,3638,3536,3436,3499,3714,3508,3406,3360,3165,3645,3774,3438,3296,3381,3642,3642,3581,3733,4174,4140,4121,3573,3298,3168,3554,3865,4002,4548,4783,4803,4763,3844,3982,3606,3044,2902,2891,2710,2856,3365,3406,3382,3012,2570,2587,2280,2161,2128,2114,1949,2042,2254,2554,2511,2911,3125,2525,2564,3232,2819,2114,2018,1990,2541,2219,2415,2518,2000,2406,2700,2283,2706,3172,2693,2022,1725,1787,2304,2527,2402,2543,3348,3197,2225,2007,2210,2263,2064,1947,2292,2152,2146,2465,2822,2562,2012,2193,2171,2355,2320,2488,3152,2464,2758,2063,1786,1801,1717,1708,2145,2394,1956,1666,1904,2119,2270,2264,2564,3107,2972,3098,3400,3414,3395,3259,3208,3043,2974,3414,3304,3615,3736,3542,3408,3498,3476,3652,4062,3929,3798,3063,2535,2693,2596,2078,2119,2451,2655,2179,2012,1886,3028,3897,3761,4018,3664,2808,2607,3100,3111,2462,2331,2757,3162,3120,2817,2380,2079,2100,2047,2005,2112,2415,2274,1798,1679,1906,2321,2664,2508,2159,2113,1958,1476,1644,1627,1689,1777,1930,1814,1650,1642,1612,1782,2280,2604,2194,1862,2013,1785,2005,1866,1462,1651,1913,1801,1878,1696,1584,2070,2144,1895,2206,2621,2639,2640,2490,1759,1808,2934,2544,2282,2690,2941,2596,2544,2505,2591,2695,2866,2496,2495,2633,3187,2292,2585,3376,3090,2856,2137,1836,2002,1459,1615,2128,2065,2102,2102,2433,2274,2014,2263,2562,2569,2771,2690,2470,2285,2259,2785,1973,1647,1610,2138,2465,2151,2161,2083,1750,1814,2041,2068,1714,1722,2095,1683,1658,1603,1954,1825,1488,1564,1888,2211,1836,1683,2026,3000,3225,2806,3065,3322,3507,3400,3242,3061,2753,2887,3454,3728,3684,2883,2398,2374,2564,2899,2039,1697,2032,2376,2285,2342,3108,2861,3034,4002,2980,2203,2094,2087,2335,2663,3106,3727,3597,3553,3937,3717,3141,3673,3676,3648,3794,3636,2998,2674,2630,2820,3218,3251,3021,3008,3056,2889,2884,3189,2980,2889,2617,2845,3104,3030,2873,2518,2358,1807,1707,1633,1751,1957,2452,2820,2692,2990,3056,2727,2360,2517,3146,2655,1945,1996,1863,1931,2174,2635,3023,2618,2459,2465,2047,2163,2249,1975,2406,2586,2716,2554,2610,2301,1779,1480,1940,2523,2360,1834,1607,1854,1874,1897,1920,2123,1828,1960,2052,1780,1718,1717,1942,2497,2462,2182,1880,1615,1419,1595,1790,1673,1716,1725,2114,1979,1820,1925,1968,2336,3108,2709,2743,2482,1864,1907,2518,2885,2257,1448,2278,3384,2552,1597,1650,1858,2404,2873,2308,1884,2025,1778,1844,1803,1292,1210,1561,1682,1721,1739,2022,2377,1870,1966,1906,1888,2249,2155,2279,2646,2437,2499,2858,2293,1749,1678,1659,1503,1728,1503,1209,1305,1622,1842,1785,1700,1588,1418,1366,2186,2536,2224,2094,1997,1824,2147,2304,2364,2111,2337,2742,2475,2408,2345,1853,1891,2433,2680,2205,2484,2705,2689,2711,2779,2543,2166,2237,2050,2087,2152,1554,1676,1968,2251,2327,2294,2148,2004,1996,2025,1868,2019,2476,1810,1726,1904,1787,1734,2054,2185,2071,1900,1732,1799,2085,2181,2420,2791,2938,2973,2910,3134,2872,2372,2400,2578,2478,2520,2311,2266,2365,2358,2318,2315,2199,2303,2644,2764,2437,1981,2002,2178,2200,2155,2181,2250,1846,1566,2118,1897,1840,2965,3042,2313,2530,2988,2954,3217,3984,3640,3341,3736,4061,4062,4120,4307,4135,3918,4240,4295,4085,3685,2751,3066,3740,3046,2348,2171,2088,2532,3338,3708,3848,3961,3886,3612,3839,4337,4445,4513,4548,4568,4604,4653,3750,2415,2329,2310,2330,2565,2562,3211,3381,3399,3043,3044,3207,3153,3248,3566,3645,3796,3801,3815,3641,3652,3193,2524,1971,1883,2202,2502,2215,2873,3723,3551,3719,3471,3572,3495,3182,3299,3438,3217,2941,3703,4564,4831,4760,4575,4541,4696,4780,4450,4355,4315,3945,3681,3731,3405,3515,3692,3162,3338,3802,3772,3438,3276,3241,3703,3768,3641,3885,4333,4289,4168,4244,4039,3776,3420,2768,2248,2201,2014,2143,2712,3521,4036,4300,4272,4057,4057,3953,4087,3696,3318,3530,3241,3229,3286,3234,2822,2428,2210,2222,2191,1844,2082,2176,2644,2485,2051,1930,1859,2335,2480,2521,2778,2599,2635,2985,2276,1643,1550,2066,2479,3453,3838,3386,2807,2459,2277,2554,3007,2540,1658,1497,1575,1650,1786,1799,1578,1566,1883,1698,1441,1417,1761,2011,1762,1653,1499,1482,1824,1863,2090,2850,2897,2756,3122,3517,3031,2148,2211,2193,2044,1825,1747,1669,1663,1554,1494,1551,1453,1533,1683,1714,1779,1445,1560,1618,1744,2046,1778,1606,1744,1852,1751,1495,1577,1859,2347,2511,1794,2032,1458,1115,1251,1479,1647,1729,1694,1657,2139,2497,2226,1970,2400,1792,1825,2260,2856,2031,1689,2310,2493,1941,1625,1853,1964,1834,2476,2552,1842,1606,1584,1921,1989,1713,1890,1810,1477,1828,2218,2741,3199,3320,3183,2383,2445,2666,3039,3220,3494,3750,3802,3567,3120,3033,2999,3131,3176,2703,2121,2034,2485,2450,2175,1861,2329,3251,3216,2742,3228,3131,2918,2909,2899,2900,2813,2710,3241,3592,3674,3528,3216,3494,3839,3208,2666,2369,2035,2164,2140,2011,1905,2136,2607,2921,2845,2846,2519,2112,2565,2862,3509,3830,2768,2236,2639,2923,3010,3529,4037,3904,2574,2040,2202,2455,1714,1776,1953,1817,1583,1541,1625,2166,2454,2026,2036,2634,2968,2920,2885,2655,2979,2524,2161,2147,2425,2482,2431,2098,1824,1626,1694,1986,1721,2236,3075,3001,2944,2351,1752,1787,1651,1554,1673,2142,2513,2010,1994,1908,1700,1523,1531,1604,1935,2318,2569,2371,2088,1893,1898,2237,2776,2472,2056,1620,1975,1912,1815,1831,2079,2357,2137,1644,1362,1470,1577,1566,1390,1179,1503,1410,1411,1607,1895,2308,2141,2098,1926,1910,1897,1672,1586,1710,1820,2166,1840,2075,2507,2408,2806,2447,2853,3165,3162,2530,2943,3032,2886,2553,2367,2489,2966,3225,2962,2680,2690,3110,3300,3288,3730,3185,2878,3248,3458,3476,3674,3471,3239,2910,2864,3109,2380,2445,3107,2290,2153,2807,3781,3790,3814,3861,3051,2480,2185,2000,1984,1952,2236,2898,2709,2248,1916,1693,1724,1930,2321,2366,1741,1863,1830,1616,1532,1750,1946,1586,1853,2367,2023,2068,2264,1668,1424,1554,1644,1575,1529,2709,3695,3514,3583,4448,3439,2291,2076,1798,1689,1480,1434,1411,1629,2160,2062,1709,1661,1744,1831,1814,1622,1450,1511,1754,1925,1718,1723,1741,1700,1862,1605,1328,1355,1265,1339,1376,1362,1434,1608,1912,2104,2056,1958,1902,1725,1668,1574,1859,2377,1842,1494,1493,1419,1376,1381,1226,1495,1548,1354,1495,1543,1578,1884,2008,1877,1626,1532,1641,1579,2122,3146,3619,2776,1998,2712,3492,3638,3465,2886,2453,2819,3848,4046,3508,3017,2867,2157,1589,1600,1672,1389,1260,1405,1864,2138,1557,1496,1706,2343,2200,2556,2701,2236,1724,1489,1300,1605,2608,3151,3142,2070,1760,1780,1687,1493,1953,2323,2314,2353,2619,3682,3220,2811,2906,3353,2744,2552,2434,1903,1874,2632,3226,2797,2136,2065,2158,3152,3175,2359,2720,2398,2513,2411,2396,3061,3474,3283,2800,2310,2148,2197,1848,1837,1939,1896,1771,1795,1770,1561,1644,1971,1826,2022,2707,2279,1845,1514,1468,1792,1714,1362,1395,1823,2114,2673,3359,3349,2696,2402,2597,2103,2244,2452,2193,2618,2780,2359,2425,2372,1760,1783,2474,2831,2669,2872,2837,2356,2392,2079,2286,2500,2561,2939,3172,3198,3210,2709,2365,2577,2808,2918,3238,3174,3054,2978,2872,2564,2400,2535,2630,2613,3029,3247,2868,2878,3306,3172,2830,2768,3074,3075,2867,2765,3113,3749,3429,3204,3168,3048,2973,2953,3002,3021,2976,2686,2501,2535,2749,2883,2762,2611,2615,2710,2786,2687,2607,2809,2822,2713,2667,2667,2622,2765,2613,2438,2155,2097,1996,1962,1938,2409,2866,2955,3132,3337,3667,3707,3356,3163,2731,2845,2918,3388,3371,3163,3364,3765,3790,3694,3589,2949,3110,3392,3354,2610,2705,2544,1881,2073,2658,2949,3476,3589,3156,3122,3317,3382,3106,2965,2791,2653,2708,2763,2544,2305,2510,2668,2482,2435,3172,3630,3530,2683,2901,2829,2362,2125,2925,3441,2843,2687,3022,2426,2420,3438,3783,3641,3352,3588,4108,4497,4200,3906,3818,2832,2050,1753,2240,2160,2236,2974,2719,2071,1793,1920,2059,1812,1892,1988,2169,2104,2189,3041,3305,3085,2706,2874,2972,2829,2740,3049,3536,3231,2720,3265,3007,2513,2086,2056,2250,2871,3009,2697,3143,3082,2776,3151,3012,2553,2353,2476,2474,2577,2900,3311,3770,3824,3399,2950,2862,2895,3066,3343,3463,3352,3353,3319,3454,3528,3422,3557,3691,3790,3771,3742,3671,3574,3187,3065,3454,2640,2126,2348,2337,2252,2204,2266,2171,2160,2271,2226,2059,1722,2110,2416,2247,2235,2409,2338,2424,2931,3228,3055,3216,3034,2299,2328,1626,1689,2199,1864,2643,3408,3200,3692,3795,3162,2562,2544,2649,2470,2262,1985,2458,2588,2908,2607,1865,1637,2094,2335,2179,2093,1789,2395,2249,2601,2576,2252,2121,2071,2131,2217,2111,2412,2813,3062,2813,2402,2189,1936,2290,2031,1484,1227,1308,2036,2744,2514,2636,3204,2951,2786,3046,2998,2878,2054,1986,2146,2459,2643,2698,2534,2458,3182,3632,3471,3079,2977,2700,2417,3000,2222,1711,2545,2689,2673,2776,2744,2418,1940,1862,2335,3028,3120,3283,2758,2064,1863,2171,2718,2810,2567,2973,2949,3001,2395,1881,2188,1831,1924,2379,2911,2932,2552,2356,2490,3154,3083,2874,3206,3100],[2515,2873,2931,2974,3274,3191,2697,2758,3261,3112,2688,2502,2564,2987,2957,2843,2994,3451,3603,3229,2881,2763,2614,2733,2741,2928,3029,2763,2685,2774,2934,2853,2423,2284,2336,2711,3228,3312,3166,3140,3575,3868,3736,3957,4092,3661,3431,3597,3537,3341,3306,3330,3526,3549,3459,3604,3485,3423,3448,3209,3610,3681,2806,2235,2580,3235,3830,3936,3728,3805,4049,4112,4030,3863,3663,3559,3964,4265,4593,4797,4673,4736,4793,4227,3962,3616,2940,2495,2536,2332,2349,3417,3427,2625,2079,1983,2590,2643,1951,1508,1540,1593,1816,2015,1972,1911,2480,2205,2117,2501,2941,2044,1598,1785,1934,2121,1975,2574,2666,1938,2223,2559,2576,2858,2964,2633,2168,1798,1880,2062,2185,2339,2316,2657,3019,2324,2345,2323,1809,1881,1782,1916,2102,2448,2491,3209,2812,2051,2275,2244,2143,1859,2208,2415,1918,2372,1870,1803,1847,1608,1844,2417,2536,2213,1797,1794,1942,2163,3269,3203,3178,3193,3220,3215,3180,3350,3387,3442,3417,3103,3372,2980,3250,3488,3272,3195,3421,3497,3605,3649,3624,3549,2797,2357,2503,2709,1890,1613,1779,2475,2742,2054,1737,3203,4232,4139,4201,4079,3619,3350,3639,3771,3162,2257,3234,3708,2759,2422,2755,2818,2214,1931,1863,1974,2361,2504,1769,1783,1816,1757,2115,2241,2119,2910,2659,1749,1743,1713,2126,2064,1866,1833,1791,1822,1794,1927,1997,1786,1991,2209,2267,2074,2324,2237,1601,1548,1891,1784,1755,1811,1928,2549,2952,2657,2635,2855,2692,2475,2779,2166,1896,2346,1916,1693,2393,2323,2145,2354,2101,2491,2482,2494,2721,2787,2669,2432,2174,3049,3622,3460,3364,2943,2463,2002,1615,1730,2149,1690,2105,2103,2230,2014,1659,1967,2469,2601,2959,2574,2552,2492,2470,2490,2132,1959,1828,2256,2331,1924,1888,2130,1991,1930,2132,2210,1669,1649,2023,1813,1777,1671,1721,1881,1928,1882,1894,2209,1903,1547,2059,3146,3311,3321,3273,3256,3126,3022,3106,2973,2491,2768,2995,3160,3488,2710,2417,2510,2446,2382,2044,2054,2596,2814,2514,2094,2809,2918,3318,3305,2502,1886,1959,2587,2874,2448,2262,3018,3522,3029,3001,3851,3539,3556,3281,3240,3392,3150,2844,2574,2392,2590,2890,3002,3044,2682,2632,2770,2931,2686,2758,2665,2514,2839,2745,2806,2737,2557,2771,2260,1902,1641,1847,2171,2066,1843,2099,2602,2901,3164,2972,2633,2657,2501,2803,2491,2169,2143,2090,2283,2712,2685,2243,1934,2354,2689,2736,2451,2577,3031,2946,2633,2578,2259,2199,1922,2153,2249,1936,1539,1434,1493,1509,1935,1779,1758,1720,1853,1986,1762,1609,1648,1851,2086,2018,1728,1561,1523,1529,1885,1929,1763,1718,1917,2031,1885,1815,1895,2099,2776,3084,2439,2412,2308,2153,2221,2566,2691,2099,1455,2057,2637,2107,1845,1716,1832,2454,2898,2447,1720,1454,1531,1783,1971,1833,1734,1919,1758,1756,1901,2318,2719,2526,1910,1559,1581,1859,1995,2124,2213,1970,2129,2366,2115,1830,1970,1726,1482,1621,1549,1363,1351,1655,1998,1769,1580,1552,1359,1671,2222,1974,1941,2237,1833,1694,1992,1995,2245,2333,2187,2244,2200,2286,2510,1837,1744,2019,2055,2218,2476,2403,2480,2378,2294,2427,2222,2350,2270,2080,1942,1776,1684,1931,2259,2271,2346,2254,2055,2404,2385,2085,2330,2525,1779,1784,2013,2189,2064,1919,1863,1814,1941,1916,2048,2322,2403,2840,3191,2899,2610,2604,2754,2763,2681,2685,2512,2435,2456,2199,2173,2284,2388,2304,2206,2272,2294,2221,2409,2361,2113,2230,2311,2066,1973,2001,2170,1815,1670,1859,1622,2022,3143,3366,3418,3062,2630,2887,3525,3842,2921,2343,2945,3668,4106,4565,4664,4519,4250,4148,4112,3795,3619,3277,3462,3694,3055,2258,2212,2604,2931,3082,3363,3789,3997,4039,3630,3383,3957,4288,4489,4096,3851,4068,4245,3747,2632,2941,3052,2861,2929,3073,3189,3395,3255,2913,2910,2853,2793,3326,3375,3250,3564,3308,3216,3519,3286,3323,3198,3009,2712,2147,2016,2238,3664,3769,3470,3366,3358,3369,3173,2959,2966,3076,2898,3254,4239,4608,4785,4648,4442,4681,4716,4668,4124,3835,3935,3891,3806,3782,3817,4083,3983,3339,3422,3874,3736,3371,3292,3532,3926,3984,3793,3801,4015,4167,4222,4126,3796,3287,2712,2345,2170,2033,2034,2656,3235,3432,3784,3884,4022,3896,3957,3702,3920,3928,3842,3618,2979,2830,3054,3111,2707,2469,2410,2410,2460,2122,2274,2226,2675,2405,2109,2054,2483,2930,2843,2652,2501,2263,2664,2561,1873,1596,1946,2540,2638,3409,3647,3234,2800,2271,1987,1925,2795,2365,1803,2270,2059,1702,1630,1551,1548,1832,1738,1414,1433,1534,1812,2612,2505,2308,1806,1799,2219,2332,2187,2800,3091,2592,2544,2813,2924,2490,1983,1598,1879,1815,2242,2554,2211,1594,1452,1450,1293,1358,1509,1459,1509,1483,1818,1723,1442,1382,1479,1669,1943,1895,1874,1579,1364,1453,1742,1710,1509,1890,1544,1347,1531,1563,1812,2381,2461,1857,2073,2279,2154,2224,2310,1975,1970,2260,2327,1921,1869,2424,2692,2345,1621,1405,1825,2139,3072,2707,1930,1770,1985,2699,2576,2007,2139,2160,1387,1490,2101,2278,2724,3097,3209,2823,2508,2974,3401,3461,3493,3623,3864,4043,3570,3044,2601,2984,2897,2194,2040,2048,2298,2559,2762,2865,2596,3308,3216,2966,3660,3559,3272,2854,2933,3041,2992,2963,2709,3081,3524,3584,3480,3881,4061,2798,2393,2358,2055,2034,2043,1863,1689,1887,2653,3041,2565,2279,2218,2162,2571,2656,3254,3426,2758,2049,2154,2702,2781,3332,3682,3630,2218,1891,2878,3250,2321,1888,1992,2211,2060,1741,1968,1991,2017,1691,1942,2973,3008,3499,3596,2981,2584,2593,2762,2863,2699,2707,2600,1926,1798,1664,1858,2490,1840,1851,2324,2461,2801,2497,1675,1613,1818,1914,1699,1701,1813,1757,2034,2042,1638,1430,1550,1797,1975,2545,2684,2120,1765,1455,1432,2034,2438,2135,1732,1962,2366,2175,1957,1959,2090,2170,2120,1702,1447,1361,1456,1480,1416,1284,1189,1288,1647,1920,2271,2806,2635,2044,1743,2274,2200,1791,1552,1399,1543,1680,1597,2019,2489,2370,3075,2915,3024,3506,3312,2814,2729,2865,2994,2944,3000,3163,3165,2893,2726,2546,2475,3016,2898,2868,2705,2433,2517,2835,3341,3521,3852,3671,3230,2424,2022,2241,2002,2041,2025,2413,2923,3152,3356,3494,3178,2669,2209,1879,2390,2575,2079,1949,2264,2381,2453,2512,1904,1459,1541,1722,1962,1917,1522,1679,1750,1542,1529,1673,1685,1732,2243,2365,2331,2475,2084,1641,1617,1690,1645,1673,1609,2625,3480,3247,3886,4247,3109,2742,2195,1766,1509,1527,1412,1407,1644,2508,2708,2150,2139,2152,1891,1591,1476,1376,1412,1508,1635,1578,1584,1747,1567,1327,1368,1578,1340,1374,1320,1339,1435,1432,1596,1909,2042,1997,1838,1796,1792,1548,1541,1658,2160,1628,1272,1352,1423,1566,1467,1343,1543,1554,1367,1386,1566,1678,1715,1813,1763,1743,1531,1700,1562,1922,3063,3834,3375,2621,2677,2963,3025,2945,3354,2654,2797,3204,2975,2504,1877,1481,1250,1195,1335,1642,1349,1357,1269,1309,1291,1273,1371,1675,2187,2026,1964,2530,2320,1600,1760,1701,1707,2562,3454,3428,2221,2060,2072,1965,1937,2165,2520,2564,2408,2403,3420,3071,2528,2596,3372,3410,2511,1865,1709,2104,3007,3006,2251,1974,2114,2231,2722,2327,2049,2544,2996,2821,2303,2197,2787,3162,2854,2552,2122,2062,1982,1971,1908,1705,1850,1975,1994,2003,1946,2447,2598,2200,2069,2131,2067,2374,1817,1503,1642,1852,1730,1435,1468,1908,2610,3187,3062,2318,2644,2567,2398,2585,2336,2187,2391,2223,2506,3046,3064,1967,1997,2260,2605,2713,2991,3059,2495,1979,1602,1942,2405,2710,3364,3752,3384,3215,3060,2792,2699,3231,3439,3103,3041,3005,2862,2774,2482,2282,2402,2535,2750,3118,3289,3190,3250,3386,3209,3153,3129,3139,3023,3007,3061,3097,3261,3104,2989,3006,2778,2980,3044,2812,2922,3020,2799,2606,2698,2625,2657,2626,2600,2551,2713,2612,2573,2675,2762,2789,2696,2756,2805,2722,2864,2565,2466,2071,1815,2269,2233,1693,1838,2244,2774,3241,3368,3783,3573,3397,3118,3008,3487,3781,4328,4427,3817,3251,3441,3498,3917,4253,2943,3129,3370,3380,3440,3204,2488,2033,2174,2260,2405,3250,3402,3116,3274,3653,3419,3212,2688,2374,2328,2567,2868,2681,2505,2475,2404,2392,2494,2988,3335,2802,2191,2698,2591,2533,2956,3356,3344,3139,2423,2411,2369,3183,3384,2832,2684,2446,2801,3601,3951,3502,3296,3175,2616,2302,2150,2981,2910,2021,1989,2143,2054,1922,1937,1800,1808,2766,2846,2819,2491,2823,3306,3309,3051,2995,2949,3093,3086,2787,2864,3684,2855,2533,2735,2547,2885,3095,2409,2310,3023,2645,2619,3349,2943,2843,2814,2534,2278,2519,2953,2957,2972,3028,3559,3930,3463,3310,3142,2787,2303,2063,2520,3153,3297,3159,2768,3005,3444,3489,3681,3886,3924,3871,3850,3606,3564,3641,3574,3417,2719,2383,2382,2337,2419,2509,2696,2460,2120,2396,2564,2128,1913,1960,1984,2230,2603,2442,2066,2119,2553,3145,3426,3066,2570,2590,3243,1970,1770,2667,2720,3058,3293,3292,3552,4064,4012,2950,3307,3069,2508,2192,2182,2635,2536,2296,1916,1509,1246,1869,2591,2732,2316,1519,965,1058,1538,1796,1719,1822,1978,2264,2365,2395,2956,2502,2522,2279,2831,2450,1748,1962,2305,2156,1665,1786,2315,2274,2105,2316,2699,3201,3086,3084,2966,2402,1873,1793,2321,3041,2995,2800,2625,2543,3112,3479,3339,2988,2851,2707,2674,2449,1956,2212,2644,2784,2909,3028,3005,2608,2267,1842,2345,3218,3282,3160,3023,2967,2479,1816,2123,2492,2755,2840,2746,3008,2488,1997,2090,1988,1863,2412,2948,2712,2655,2619,2360,2647,2624,2908,3058,2834],[2751,3154,3350,3404,3541,3503,2710,2418,2503,2498,2443,2568,2619,3052,3212,2856,3195,3902,3727,3146,2685,2529,2580,2579,2668,2751,2678,2607,2698,2869,2798,2522,2264,2384,2675,3106,3429,3344,2857,2800,3291,3662,3597,3740,3841,3485,3416,3515,3422,3194,3221,3349,3305,3342,3431,3293,2919,3316,3282,2957,3433,3088,1936,1562,2500,3332,4016,4095,3837,3651,3719,3585,3606,3864,3376,3782,4140,4445,4620,4724,4241,4089,4355,4227,4070,3262,2398,2387,2509,2294,2531,3227,3205,1991,1941,2357,2178,2357,1996,1679,1889,2425,2584,2260,1793,1659,1748,1695,2439,2561,2354,1873,2092,2247,2036,2081,2382,2941,2957,2557,2108,2311,2855,2952,2841,2611,1939,1735,1986,2156,2454,2852,2320,1935,2085,2317,3277,2901,1864,1631,1561,1794,2245,2334,2509,2862,2259,1991,2188,2034,1672,1831,2544,2534,2262,2103,1761,1846,1960,1523,1732,2260,2486,2119,2130,1700,1710,2037,2622,2578,2670,3248,3680,3261,3240,3506,3160,2743,2820,2937,3035,2589,3252,3166,2476,2558,2686,3156,3353,3215,3230,3068,2532,2081,1943,1925,1570,1706,2127,3009,3132,1888,1819,2743,3829,3622,3957,4072,3962,3674,3538,3483,3374,2821,3270,3760,3260,2621,2813,3327,2675,2167,1976,2015,1996,1796,1612,2048,2256,1792,1852,2130,2060,2387,2352,1929,1578,1646,1980,2004,2016,2376,2736,2979,2775,2091,2042,2088,2911,2702,2581,2307,2448,2280,1729,1628,1793,1750,1629,1785,2123,2297,2730,3395,3152,2728,2483,2664,2624,2010,1744,1791,1581,1765,2191,2228,2335,1934,1730,2142,2125,1951,2149,2187,2132,2061,2385,3308,3507,3200,2972,3162,2792,2525,2369,2592,2558,2446,2810,2357,2001,2059,2046,2729,2810,2842,2496,1897,1910,2010,2174,2440,2547,1929,1638,1860,1981,2268,2230,2284,1841,1841,2509,2298,1943,2178,2073,1937,2013,1937,1986,2397,2399,1938,1835,2060,2648,1951,2321,3217,3365,3127,3068,2942,2670,2789,2906,2733,2094,3128,3387,2887,2896,2344,1895,2013,2293,2711,2540,2461,2956,3341,3273,2604,2995,3140,3000,2734,2474,2091,2051,2222,2210,2809,2778,2715,3327,3255,2920,3348,2548,2733,3242,3234,3168,2943,2856,2557,2364,2346,2400,2499,2676,2697,2862,2620,2232,2163,2500,2898,3340,3117,2643,2642,2501,2321,2905,3112,2320,2045,2664,2469,1761,1775,1854,2150,2552,3557,3746,3111,2530,2778,3294,3120,2752,2667,2596,2407,2527,2440,2407,2523,2498,2810,2675,2186,2016,2756,2820,2907,2568,2086,2160,1764,1949,1989,1766,1528,1476,1420,1668,1912,1717,1631,1732,1907,1964,2212,2242,1685,1570,1527,1700,1537,1562,1532,1655,1830,2262,2490,2059,1968,1912,1941,2023,2396,2018,2064,2705,2639,2596,2913,2712,2453,2668,2590,1938,1535,1501,1522,1648,1764,1749,1866,1926,1673,1577,1655,1661,1624,1697,2035,2097,1951,1880,2260,1920,1703,2018,2856,2396,1765,1861,1707,1884,2308,2150,1950,1898,2454,2258,1830,1582,1515,1529,1577,1582,1574,1482,1458,1481,1849,1676,1699,1896,1888,2388,2236,1740,1964,2176,1796,1854,2299,2056,1960,1994,2191,2161,2040,2087,1941,1671,1631,1578,1537,1883,1871,1815,1979,2243,2243,2470,2322,2257,2216,1968,2041,2238,1934,1938,2193,2236,2166,2084,1971,2487,2294,1798,1915,1942,1836,1794,2119,2435,2042,1623,1671,1885,1974,2217,2263,2332,2253,2490,2595,2337,2395,2501,2398,2476,2330,2336,2275,2273,2243,2201,2178,2311,2518,2458,2184,2266,2400,2214,2501,2414,2182,2200,2275,2078,1947,1918,2060,1809,1543,1750,1996,1874,2551,2540,2942,3161,2434,2994,3606,3240,2469,2246,2884,3666,4012,4392,4576,4373,4227,4189,3890,3465,3560,3629,3442,3240,2678,2240,2396,3200,3394,3342,3496,3724,3806,4084,4115,4183,4476,4571,4364,4014,3890,3772,3962,3475,3225,3474,3197,3522,3646,3522,3310,3154,3162,3223,3129,2856,2833,2978,3436,3718,4139,4312,3908,3316,3210,3868,4024,3619,3292,2644,2234,2720,3585,3562,3168,3120,3154,3182,3110,2458,2038,2674,3238,3536,4232,4496,4629,4581,4627,4687,4619,4371,3927,3808,3852,3948,3802,3666,3613,3914,3860,3326,3410,3698,3554,3350,3300,3500,3825,3838,3798,3764,3994,4108,4140,4058,3493,2742,2306,2178,2007,2155,2783,3521,3994,4100,4077,3933,3940,3970,3749,3629,3869,3972,4047,3572,2745,2530,2742,3018,2734,2446,2387,2379,2474,2322,2035,1942,2523,2265,1726,2336,2719,2693,2874,2411,2469,2510,2499,2242,2029,1858,2214,2421,2379,2316,1943,2203,2406,2166,1814,2284,3417,2338,1947,2089,1597,1363,1367,1369,1582,1763,1632,1732,1704,1725,1859,2589,2298,2500,2244,2107,2405,2226,1552,2016,2931,2453,2523,2368,2415,2349,1677,1534,1538,1299,1791,2398,2283,1703,1483,1598,1455,1423,1560,1448,1736,1770,1570,1483,1454,1357,1530,1970,2054,1945,1974,1610,1459,1407,1442,1368,1312,1853,1890,1628,1726,1550,1942,2496,2601,1806,2086,2056,1919,2102,1989,1848,2240,2214,1741,2051,2136,1915,1762,1755,1509,1402,1697,2723,3241,2172,1564,1694,2258,2888,3147,2812,2120,1578,1316,1500,2437,2266,2647,2878,2753,2764,2939,3238,3321,3398,3541,3661,3715,3410,3131,2933,2542,3242,3165,2696,2288,1930,2303,2544,2951,2833,2435,3273,2962,2908,3360,3414,3437,3132,2968,2575,2425,2791,2686,2823,3040,3544,3963,4156,3978,3117,2389,2169,2245,2140,1854,1723,1793,1994,2329,2797,2923,2438,2168,2061,2617,3086,3442,3363,2975,2311,1677,2409,3461,3517,2971,2746,2285,2392,3106,3444,3033,2998,2843,2363,2110,2036,2213,1744,1742,1859,1812,2341,2191,2690,3235,2978,2524,2259,2287,2779,2753,2610,2548,2075,1958,1752,1521,1562,1705,2137,2342,2402,2775,2350,1761,1716,1670,1473,1660,1571,1662,1984,2183,2194,2032,1690,1510,1569,1603,2334,2127,1836,1747,1582,1886,2322,2349,2334,2357,2276,2556,2441,1880,1555,1481,1982,2170,1770,1566,1518,1509,1492,1593,1463,1247,1328,1738,2001,2530,2932,2688,1861,1712,2337,2090,1740,1474,1269,1599,2056,1837,2271,2121,2376,3141,3174,2901,2903,2570,2199,2588,3234,3277,3222,3194,3130,2872,2792,2750,2814,2868,2754,2356,2619,2847,2864,2809,2886,3453,3747,3982,3806,2856,2418,2437,2539,2358,2126,2021,2558,3196,3189,2163,1997,1852,1877,1883,1924,2891,2634,1871,2011,2322,2221,2765,2822,2109,1926,1872,1772,1630,1713,1908,1967,1881,1670,1548,1648,1668,1796,2253,2641,2662,2262,1834,1666,1722,1576,1494,1569,1718,2685,3422,3019,2736,2866,2902,3333,2219,1526,2027,1886,1498,1460,1469,2122,2722,2503,2230,1772,1407,1186,1453,1577,1676,1770,1657,1566,1537,1481,1454,1514,1524,1754,1366,1392,1390,1498,1509,1464,1833,2008,1942,1959,1778,1697,1732,1477,1450,1475,1560,1437,1250,1293,1409,1534,1497,1512,1570,1345,1322,1671,2008,1862,1739,1717,1702,1810,1808,1940,1742,1672,2646,4048,3737,3256,2950,2437,1857,2023,2779,2634,2442,2221,2083,1918,1649,1458,1290,1356,1434,1584,1378,1256,1194,1307,1406,1378,1355,1625,2381,2657,2206,2000,2347,1920,1683,1863,1980,2656,3212,3068,2612,2198,1876,2202,2545,2241,2363,3018,2770,2348,2603,2988,2604,2512,3299,3480,2621,2041,1838,2048,3501,3588,2369,2091,2086,2008,1818,1886,2020,2468,3166,3145,2819,2721,2612,2192,1835,1976,2171,1871,1461,1860,2309,2160,1900,2094,2746,2800,2351,2435,2083,1809,1456,1737,2240,2388,2125,1993,2203,2742,2611,2104,2087,2464,2834,2591,1974,2326,2667,2485,2475,2266,2131,2604,2728,2511,2497,3144,3763,2592,2128,2270,2380,2736,2824,2828,2429,1999,2338,2577,2502,2734,3210,3776,3508,3341,3242,2724,2249,2873,3316,3050,3078,3032,3006,2776,2447,2386,2342,2487,2836,2963,2823,2809,3150,3094,2910,3243,3239,3066,2798,2912,2967,3060,3083,3174,3145,2962,2809,2898,2899,2946,3024,2864,2907,2945,3056,2740,2852,2758,2645,2613,2666,2623,2617,2724,2818,2770,2709,2743,2708,2779,2599,2394,2303,1970,2106,2998,2979,2089,1614,1924,2828,3585,3964,4159,4044,4042,3546,3543,3853,3910,4255,4315,3608,2880,3098,3251,4145,4661,3227,2677,3042,3666,3802,3006,2351,2544,2809,2260,2437,2956,2843,3147,3407,3500,3273,3220,2997,2657,2402,2245,2457,2306,2324,2370,2259,2234,2491,2614,2608,2083,2246,2567,2370,2350,3017,3386,2700,2471,2712,2785,3212,3630,3381,3550,3399,2708,2524,2658,3044,3319,3530,3308,3031,2785,2545,3106,2954,2165,1967,2019,2065,1824,1835,1940,1967,2210,2557,2832,2805,2865,3030,2890,3077,3232,3182,3241,3216,2829,2462,2388,2236,2696,1688,1716,2556,3074,2933,2872,2820,2129,1929,2431,2743,3084,2933,2116,2213,2831,2996,3181,3130,2720,3050,3151,2807,3166,2962,2449,2258,2468,2895,3116,3009,2973,2980,3312,3544,3308,3536,3790,3894,3958,3871,3823,3773,3685,3483,3473,3395,2977,2429,2590,3140,3482,3449,2896,2454,2604,2670,2414,2204,1821,1687,2157,2325,1636,1570,2062,2325,2910,2933,2678,2045,2003,2218,1948,2338,3175,3542,3286,2791,2778,3204,3872,3887,2980,3257,3326,2832,2058,2110,2691,2847,2348,1845,1541,1157,2096,2941,2766,2324,2084,1644,1284,1836,2287,1841,1983,2498,2216,2301,2263,2889,2409,1982,2393,3016,2632,2444,2613,2547,2333,2468,2670,2553,2256,1963,1923,2736,3234,3191,3150,2854,2404,2348,2430,2642,2417,2481,2908,2608,2737,3493,3443,2943,2492,2190,2566,2909,2265,2071,1946,2464,2856,3294,3227,3082,3306,3273,2758,2663,2728,2797,3151,3582,3487,3099,2564,2685,2496,2509,2742,2690,2496,2590,2481,2387,2553,2632,2921,2961,2570,2548,2740,2499,2300,2576,3322,2923,2620],[2855,3205,3243,3064,2923,2827,2517,2413,2382,2499,2535,2570,2601,2835,3154,2961,3186,3517,3429,2966,2656,2495,2443,2391,2543,2599,2639,2842,2942,2631,2346,2352,2435,2820,3013,3174,3248,2780,2482,2600,3065,3480,3510,3782,3872,3494,3458,3382,3284,3242,3204,3215,3247,3224,3065,2806,3011,3715,3495,3504,3217,2408,1920,2050,2812,3386,4051,4108,3682,3478,3520,3008,3399,3670,2776,2872,3258,3968,4236,4241,3046,2668,3440,4084,4035,3343,2641,2570,2452,2278,2276,2688,2941,2414,2431,2345,1713,1624,1792,1626,1987,2511,2397,2246,1748,1552,1531,1582,2383,2783,2467,2394,2705,2574,2229,2513,2768,2626,2612,1955,1729,2145,2729,2669,3061,2767,1995,1953,2100,2409,2644,3098,2584,2168,2019,2501,3190,2976,2402,2148,2085,2027,2138,2312,2684,2708,2291,1943,2142,1813,1728,1913,2599,2577,1775,1574,1754,2074,1987,1532,1665,1981,2335,2140,1986,1505,1615,1711,1646,1698,1922,3189,3928,3519,3416,3339,2843,2921,2604,2765,2788,2791,3754,3358,2500,2458,2329,2719,2657,2951,3419,3103,2912,2188,1816,1786,1984,2466,2750,3024,3047,2099,2302,2468,2898,3210,3607,3646,3704,3520,3613,3639,3080,2819,3601,3798,3621,3088,2911,3177,2600,2045,1882,1882,1669,1813,2122,2268,2391,2145,1782,1810,2060,2014,2598,2124,1599,1976,2113,2299,2305,2547,2916,2608,2126,1937,1902,2358,2923,2614,2444,2183,2322,2129,1802,1820,1996,1902,1697,1678,1779,1691,2120,2691,2643,2695,2534,2082,1885,2006,2249,1891,1540,1712,1991,2150,2465,2155,2288,2279,2165,2249,1914,1627,1984,2173,2199,2523,2854,3119,2813,2917,2664,2503,2774,3119,2942,3145,3129,2532,2566,2490,2534,3279,3216,2979,2153,2085,2116,1917,1845,1986,1959,1698,1774,1663,1976,2230,2409,2939,2221,2437,3076,2396,2258,2088,1736,2075,2320,2287,2369,2549,2411,2035,2476,2688,2644,2171,2397,3137,3264,2983,2742,2531,2195,2027,2331,2338,1950,2134,2059,2131,2304,2128,2044,2069,2154,2636,2177,2064,2498,2807,2654,2247,2821,3407,3208,2799,2580,2272,2117,2315,1956,2381,3134,3277,3277,3096,2857,2861,2293,2432,3124,3374,3594,3792,3068,2512,2263,2207,2295,2365,2333,2590,2874,2662,2260,2469,2780,3256,3709,3304,2779,2483,2229,2211,2813,3439,3161,2940,3218,2999,2208,1835,1715,1860,1821,2575,3194,3101,2492,2656,3090,2975,2619,2548,2459,2143,2155,2077,2311,2343,2184,2659,2648,2175,2232,2565,2613,2631,2022,1794,1771,1547,1727,1932,1669,1534,1620,1745,2080,2110,1628,1463,1688,1997,1956,2334,2296,1920,1736,1958,2064,2075,2089,1980,1880,1807,2437,2720,2300,2034,1902,2059,2342,2321,2008,1853,2188,2455,2566,2767,2524,2006,2294,2064,1627,1477,1521,1236,1656,1641,1642,1627,1285,1222,1452,1794,1775,1474,1838,2082,1994,1891,1780,1742,1829,1831,2066,2479,2127,2127,2679,2410,2119,2010,1687,1975,2476,2807,2331,2120,2085,1595,1619,1824,1714,1634,1415,1397,1418,1802,1758,2075,2239,2080,2002,1642,1662,2139,2374,2467,2142,2191,2005,1949,1873,2137,2178,2137,2330,2220,1782,1548,1491,1639,1769,1547,1716,1593,2126,2457,2282,2237,2153,1955,1738,1775,1980,2110,2057,2111,2229,2091,1964,2071,2085,1890,1811,1899,1987,2042,2222,2225,1865,1831,1802,1744,1861,1903,2090,2029,2165,2410,2742,2484,2359,2476,2473,2430,2409,2048,2001,2205,2212,2200,2210,2198,2335,2435,2446,2120,2184,2237,2115,2232,2236,2108,2112,2193,2191,2039,2060,2001,1749,1601,1666,1854,1628,1580,1395,1938,2990,3312,3465,2964,1940,1832,2078,2654,3529,3921,3863,4181,3887,3841,4096,3854,3514,3671,3732,3471,3150,2421,2187,2259,2917,3405,3653,3868,3686,3492,3621,4112,4472,4676,4728,4204,3261,3288,3332,3377,2895,3431,3232,2800,3248,3691,3655,3483,3560,3912,4079,3693,2863,2624,2755,3184,4271,4728,4739,4275,3459,3518,4290,4293,3732,3501,2808,1897,3100,3706,3454,3242,3355,3373,3240,2822,2099,2489,3233,3386,3681,4257,4387,4607,4651,4754,4811,4791,4371,4199,4343,3838,3820,3748,3860,3926,3985,3801,3537,3750,3828,3699,3384,3167,3429,3753,3702,3573,3736,4093,4046,3906,3592,2688,2230,2194,2065,2168,3008,3903,4228,4463,4376,4172,3631,3586,3920,3507,3308,3802,3947,3928,3493,2665,2676,2835,3142,3088,2778,2437,2265,2240,2104,1916,1867,2405,2510,1860,2222,2242,2520,2795,2589,2359,2085,1909,2211,2071,2040,2441,2486,2431,2084,1443,1782,2274,2548,2505,2471,3016,2290,1835,1803,1508,1396,1445,1631,1832,1853,1709,1814,1824,2264,2385,2201,1842,1779,1726,1742,2166,1850,1450,1915,3067,2558,2607,2971,2506,2172,1712,1715,1635,1346,1534,1693,1797,1830,1604,1792,1604,2076,1833,1456,1660,1776,1614,1518,1413,1131,1596,2073,1727,2035,1800,1609,1779,1610,1375,1299,1365,1776,1954,1937,1974,1618,2039,2249,2458,1944,1806,1632,1721,1957,2024,1934,1910,1649,1763,1921,1762,1562,1565,1411,1471,1533,1777,3039,3385,2730,2215,2115,2080,2252,2939,2853,1782,1311,1184,1626,2071,2032,2643,2807,2701,3031,2974,2927,3175,3465,3373,3200,2664,2243,2940,3520,3290,3607,3700,2910,2398,2425,2584,2664,3008,2822,2428,2952,2484,2355,2604,2331,2141,1920,1832,1956,2199,2220,2520,2800,2872,2938,3193,3392,3499,3507,2900,2252,2242,2174,1915,1610,1677,1972,2063,2398,2603,2215,1976,1838,2233,3161,3659,3648,3454,2698,2186,2352,3837,4273,2993,2056,2155,2261,2364,2591,3238,3444,2648,2070,2354,1951,2167,1766,1809,1932,1730,1810,1554,1626,2354,2555,2433,2104,1973,2545,2722,2761,2758,2298,1931,1854,1687,1679,1999,2242,2313,2024,2222,1758,2161,2154,1770,1497,1560,1658,1744,1775,1804,2108,2126,1971,1707,1744,1799,2811,2671,2605,2370,2072,2334,2448,2299,2214,2025,2125,3229,3216,2319,2008,1969,2061,2077,1908,1695,1593,1658,1664,1711,1670,1426,1332,1591,1782,2173,2385,2213,1985,1881,1907,1916,1653,1354,1448,1863,2584,2097,2018,1958,2470,2995,3146,2788,2307,2330,2358,2711,3003,2610,2612,3069,3230,2890,2885,2928,2788,2714,2295,1762,2099,2845,2798,2788,2564,2473,3062,3378,3666,3087,2427,2414,2598,2759,2656,2391,2725,2884,3008,2146,2219,2373,2571,2578,2229,2374,2272,1725,1874,2445,2484,2537,2666,2098,1901,2210,2004,1677,2106,2342,2083,1955,1691,1458,1506,1470,1554,2021,2101,2426,1974,1530,1412,1604,1786,1694,1470,1699,3009,3677,3218,2668,2554,2733,3175,2181,1684,2280,1998,1469,1517,1478,1660,2150,2150,1783,1518,1415,1317,1451,1626,1865,1708,1477,1484,1510,1485,1533,1379,1506,1441,1357,1394,1469,1575,1435,1569,2079,1971,1922,1999,1860,1774,1765,1432,1462,1564,1432,1318,1310,1399,1437,1682,1670,1471,1345,1327,1466,1803,2030,1864,1520,1411,1583,1613,1589,1747,1596,1610,1878,3380,3805,3462,2670,1802,1850,2242,2409,2503,2507,2490,2187,1954,2091,1585,1332,1347,1558,1818,1964,1659,1347,1664,1577,1344,1386,1707,2636,3106,3000,2612,2923,2337,2081,1885,2135,2784,2984,2821,2181,1938,2474,2475,2708,2097,2423,3088,3122,2641,2406,3306,3354,2510,3116,3572,2632,2467,2135,1951,2684,2729,2207,2214,2404,1996,1777,2259,2172,1996,2764,3069,2814,2202,1577,1753,1764,1753,1901,1823,1976,2443,2844,2685,2620,2990,2945,2376,2138,2173,2077,2106,1721,1669,1960,2551,3156,2855,2807,3076,2700,2704,2388,2636,3119,2974,2482,2416,2583,2720,2394,2182,2490,2718,2643,2502,2159,2720,3306,2925,2290,2219,2210,2295,2719,3209,2949,2561,2696,2963,2320,2052,2473,3159,3208,3737,3972,3459,2889,2971,3128,3054,2992,3061,2998,2679,2512,2433,2362,2419,2523,2462,2471,2611,3009,3316,3326,3488,3329,3184,2916,2868,2979,2927,3014,3168,3205,3119,2880,2886,2865,2996,2971,2885,2968,3219,2973,2774,2780,2613,2661,2801,2741,2732,2729,2828,2710,2558,2532,2535,2542,2700,2610,2384,2185,2076,2523,3426,3860,3194,2327,2739,3582,3940,4165,4176,4313,4178,3673,3624,3444,3394,4148,4129,3151,2729,3037,3737,4599,4984,4253,2950,2620,3214,2971,2555,2618,3062,2931,2519,2445,2702,2789,3289,3515,3274,3279,3177,3027,3078,2996,2917,2835,2577,2426,2498,2484,2440,2404,2301,2225,2337,2557,2376,1997,1842,2564,2717,2484,2267,2342,2599,3009,3339,3312,3025,2899,3164,3222,3022,3045,3579,3470,3110,2872,2763,2773,3021,2669,2049,1928,2020,1822,1641,1800,2210,2253,2047,2121,2644,2884,3061,3019,2989,3414,3348,3729,3644,3279,2930,2500,1732,2005,2440,2121,2099,2251,2019,2485,3002,2799,2387,1951,2198,3387,3850,3230,2510,2802,3253,3153,2881,2452,2304,2809,2603,2188,2511,2374,2121,2044,2514,3200,3033,2481,2570,2940,3320,3266,3163,3265,3548,3661,3759,3826,3797,3426,2818,2713,3296,3853,3487,2719,3031,3310,3118,2791,2415,2565,2737,2662,2469,2164,1852,1896,2351,2247,1828,2017,2798,2369,2133,2478,2343,2231,2120,1554,1940,2852,3240,3203,3692,3449,2933,2587,3010,3094,2750,3087,3493,3287,2920,2964,3017,2519,1938,1544,1283,958,1674,2484,2865,3209,3182,2728,2098,2126,2471,2268,2398,2722,1905,1989,2062,2290,2137,1821,2918,3774,3488,3200,2754,2414,2350,2647,2306,2652,2636,2171,2524,3368,3637,3488,3210,2909,2854,3086,2875,2799,2403,2232,2398,2574,2748,3072,3175,2510,1841,1886,2656,2830,2394,2235,2093,2965,3219,3458,3344,3183,3308,3477,3309,2946,2784,2777,2823,3140,3401,3289,3379,3277,3003,3074,3212,2833,2359,2332,2282,1957,1905,2337,2690,2877,2689,2457,2520,2695,2590,2844,3077,2855,2902],[2972,3031,2719,2393,2386,2500,2545,2547,2512,2679,2806,2669,2778,2900,3100,3240,3716,3270,3287,3023,2658,2460,2388,2372,2583,2831,2800,2712,2568,2362,2358,2480,2690,3068,3112,3096,2785,2474,2364,2570,3034,3305,3484,3730,3625,3384,3449,3212,3261,3366,3253,3227,3232,2933,2522,2561,3049,3332,3420,3487,2740,2109,2297,2824,3218,3663,4078,4015,3413,3360,3486,3076,3625,3677,3595,3439,3377,3054,2878,2612,1874,1732,2939,4036,3891,2938,2289,2085,1865,2845,2976,2800,2890,2402,1955,1995,1976,1619,1894,1894,1888,1702,1868,1977,1827,1895,1908,1787,2388,3056,2586,2069,2064,2225,2736,2728,2686,2142,2193,2108,2282,2642,2425,2145,2645,3350,3416,2731,2156,2570,2801,2539,2753,2621,2524,2788,2986,2937,2817,2875,2658,1857,1832,2034,2806,3159,3195,2820,2421,2006,1810,1703,2101,2178,1672,1299,2066,2654,2496,1894,1594,1641,1798,1675,1584,1722,1954,1998,2160,2079,2081,3361,3632,3239,3111,2788,2831,2826,2785,3030,2743,2650,3141,2972,2576,2547,2850,2928,2610,2754,2784,2460,2400,2230,2216,2117,2054,2776,3045,2495,2470,2249,2292,2362,2003,2457,2796,2800,3364,3632,3752,3930,3490,2888,3461,3776,3874,3471,3361,3062,2613,2193,2059,2094,2132,2276,2393,2232,2249,2352,2337,2403,2512,2442,3310,2756,1967,1933,1749,1629,1677,1938,2264,2068,1761,2316,2790,3054,2410,1922,2112,2527,2346,1844,1758,2076,2057,2336,2257,1824,1541,1883,1908,1890,2278,2512,1969,1710,1927,2265,2221,1770,1658,1788,1851,2094,2023,2118,2455,2549,2527,2177,1513,1394,1820,1760,1636,1640,1817,2266,2447,2500,2336,2280,2604,2753,2744,2864,2774,2830,2709,2629,2735,3034,3353,2941,2138,2288,2864,2599,1815,2092,2278,1856,2078,2370,2526,2479,2513,2796,2187,1957,1924,1809,2151,1876,1836,2304,2702,2712,2686,2545,2375,2194,2563,2742,2858,2814,2376,2221,2431,2425,2502,2514,2081,2162,2362,1986,1911,2187,2019,1814,1832,1859,2003,2363,2331,1853,1765,1950,2018,2298,2473,2437,3232,3906,3571,2522,2178,1776,2050,2690,2642,2523,3173,3540,2956,2367,2547,2878,2632,2523,2630,3018,3375,3547,2740,2306,2220,2208,2216,2229,2348,2477,2564,2284,2340,2641,3086,3693,4020,3651,3259,3071,2672,2385,2768,3185,3343,3385,3054,2910,2195,1615,1655,1816,2059,2171,2136,2518,3000,3018,2623,2631,2319,2844,2691,2366,2089,1742,1687,1623,2113,2613,2728,2734,2797,2631,2958,2570,1690,1654,1776,1731,1893,2033,1695,1580,1978,2094,2009,2081,1396,1407,1641,1967,2019,1954,2022,2100,2060,2234,2402,2663,2503,2062,1849,1621,2008,1995,2014,1755,1678,2055,2378,2315,2248,2386,2698,2619,2338,2475,2364,1625,1788,1694,1560,1549,1707,1857,2098,1964,1804,1666,1246,1312,1698,2161,1864,2219,2781,2278,1816,1723,2110,2154,1856,2023,2396,2287,2373,2487,2934,2379,2022,1869,1728,2607,3095,3253,2885,2405,2451,2264,2203,1892,1595,1836,1748,1577,1606,1946,1902,2279,2730,2640,2270,1740,2116,2390,2309,2302,2138,1891,2007,2093,1987,1896,1924,2260,2741,2458,1910,1838,2112,1917,1662,1825,1744,1891,2788,2614,2030,1891,1779,1765,1825,1881,1945,2120,2046,2086,2231,2171,2009,2020,1913,1892,2027,1930,1823,1864,2126,1997,1920,1968,1661,1613,1734,1915,2208,2437,2430,2974,3507,3102,2673,2548,2441,2640,2515,2183,1994,1974,2102,2430,2377,2251,2435,2426,2283,2117,2155,2121,2308,2366,2301,2213,2166,2285,2319,2197,2128,1599,1591,1541,1560,1782,1851,1556,1811,2619,2774,2854,2942,2324,1657,1650,2008,2686,3261,3601,2938,3550,3913,3740,4005,3946,3669,3974,3916,3432,2865,2310,2357,2141,2436,3297,3904,4012,3949,3629,3616,4021,4368,4648,4504,3903,2856,2460,2381,2334,2792,3677,3338,2567,2350,2664,3205,3618,4132,4332,4254,3947,3241,2788,3182,4152,4864,4863,4791,4479,3863,3860,4545,4468,4171,3892,3152,1969,2544,3370,3388,3418,3536,3527,3232,2728,2500,3099,3099,3177,3426,3916,4468,4767,4819,4719,4747,4885,4469,4175,4082,3631,3456,3826,4252,3984,3740,3857,4208,4140,3695,3369,3231,3229,3482,3540,3595,3629,3749,3868,3913,3554,2724,2278,2217,2035,2321,3149,3960,4345,4540,4664,4332,4195,3939,3845,3986,3682,3707,4095,4004,3926,3409,2721,2814,3060,3285,3325,3084,2561,2278,2218,2114,1947,1817,2040,2406,1948,2099,2258,2441,2573,2429,1961,1602,1555,1698,1839,2270,2746,2784,2822,2548,2132,2078,2607,3082,2896,2309,2026,1854,1842,1874,1676,1570,1581,1677,1754,1722,1835,1865,2331,2963,2770,2371,2186,1967,1735,1734,2057,1820,2000,2454,2905,2645,2609,3222,2798,2288,2047,2141,1974,1705,1835,1985,2197,2078,1827,1961,1715,1865,1827,1544,1416,1610,1703,1522,1511,1262,1435,2330,2113,1923,1840,1852,1742,1569,1482,1377,1333,1418,1678,1771,1749,1753,1771,1885,2110,2254,2295,2026,1848,1900,1915,1751,1506,1576,2620,2367,1899,1847,1655,1469,1616,1698,2078,2382,2367,2908,2577,1971,1915,2159,2180,1803,1532,1610,1597,2150,2263,1583,2075,3016,3238,2943,2811,2745,3188,3182,2665,2644,1926,1590,2596,3488,3648,3684,3382,2739,2403,2359,2525,2475,2304,2881,2551,2200,2278,2459,2091,2121,2365,2557,2678,2729,2586,2311,2267,2586,2834,2941,3074,3254,3437,3330,2977,2733,2149,2194,2150,1528,1807,2048,2058,2339,2286,2068,2122,1915,1858,2790,3739,3924,3852,2801,2723,2174,2772,3951,3639,2456,2055,2100,1783,2460,3706,3222,1996,1568,2011,2144,2784,2199,1605,1767,1771,1846,1675,1820,2291,2263,2002,1909,1976,2169,2461,2543,2542,2240,1946,2228,2518,2384,2177,2171,2009,1878,2317,1825,2001,1994,1758,1601,1725,1891,1955,1848,1796,1989,2360,2735,2286,2137,2448,3099,3076,2834,2291,2004,2145,2111,2453,2818,2155,2006,2764,2661,1994,2041,1996,1635,1726,1886,1729,1636,1687,1644,1490,1506,1675,1562,1658,2138,2005,1826,1981,1858,1857,1688,1797,1734,1513,1666,1856,2046,1741,1508,1951,2611,2835,2845,2466,1810,2509,2835,3019,2667,2254,2076,2543,2977,2834,2768,2858,2700,2656,2500,2058,2132,2468,2446,2647,2636,2929,3252,3175,3455,3128,2432,2165,2459,2624,2300,2016,2009,2403,2750,2486,2801,2598,2686,2757,2094,2098,2018,1789,1982,2328,2529,2300,2916,2415,1862,2177,2055,1651,1771,1881,1644,1803,1684,1656,1528,1382,1509,1783,1988,2667,2758,2185,1550,1592,1770,1781,1598,1676,2445,3189,2836,2403,2187,2683,3210,2305,1484,1573,1578,1466,1525,1719,1830,1813,1949,1958,1758,1561,1443,1354,1561,1672,1357,1391,1550,1375,1467,1517,1406,1541,1447,1339,1433,1626,1768,1555,1730,2003,1784,1627,1758,1820,1896,1624,1290,1413,1364,1244,1247,1294,1376,1370,1889,1838,1526,1540,1678,1610,1670,1825,1794,1622,1619,1695,1582,1455,1628,1655,1970,1829,2999,3458,3023,2386,2165,2591,2406,2260,2879,3089,2861,2731,2769,2132,1415,1490,1841,2242,2084,2083,1853,1416,1509,1583,1405,1315,1578,2194,2587,2822,3234,3426,2973,2634,2422,2316,2310,2574,2979,2408,1762,2046,2282,2731,2533,2787,3000,3155,2797,2312,2691,3077,2276,2895,2852,2666,2556,2126,2067,2142,2279,1947,1898,2296,2254,1697,1765,1671,1807,2507,2419,2050,1637,1707,1854,1701,1761,2056,2479,2998,3452,3671,3276,2921,3326,2675,2265,2237,2431,2466,2156,1960,1877,1969,2876,3918,3532,2535,2518,2525,2815,2718,2719,3160,3060,2428,2108,2254,2587,2453,1983,2307,2513,2310,2337,2348,2343,2788,2626,2248,2251,2305,2639,3040,3310,3408,3319,3422,3286,2579,2358,2551,2258,2732,4067,4463,4058,3554,3156,3168,3180,2910,2825,2765,2936,2819,2677,2750,2814,2890,3002,3068,2974,3266,3614,3676,3595,3337,3178,2995,3082,3113,3022,3098,3040,2862,3010,2779,2815,2708,2662,2412,2359,2569,2875,2923,2847,2857,2824,2855,2841,2819,2844,2944,2941,2717,2588,2647,2679,2655,2630,2752,2694,2486,2480,2664,3374,4092,4078,3595,3710,3986,4027,3960,3972,4014,3820,3564,3469,3227,3038,3427,3895,3997,3363,3457,4500,4971,4851,4536,3670,2546,2151,2432,3132,3343,3487,3377,2889,2359,2424,2424,2762,3365,3531,3432,3217,3033,2906,2834,3073,3049,2767,2566,2522,2414,2364,2299,2165,2300,2622,2276,2133,1505,1506,2114,2338,2244,2160,2449,2227,1800,2273,3094,2870,2951,3371,3682,3570,3207,2893,2898,2750,2364,2574,3085,2962,2478,2148,1737,1943,1761,1583,1911,2393,2414,2185,2461,2942,2724,2702,2857,2850,3083,3390,3594,3881,3221,2800,2164,1770,2501,3298,3243,2900,2564,2137,2407,2901,2613,2166,2242,2998,3919,3746,2972,2570,2785,2886,2467,2279,2522,2801,3166,2605,2248,2398,2500,2379,2240,2715,3074,2680,2384,2668,2476,2656,3017,3046,3295,3618,3618,3572,3805,3772,3219,2630,2619,3139,3804,3764,3558,3385,3205,2549,2156,1996,2155,2746,3090,2522,2130,1674,1569,2100,2464,2489,2660,2723,1916,1824,2217,2219,2621,2653,1650,1768,2230,2562,2809,3281,3475,3521,3392,3089,2636,2643,2807,2693,2888,3140,3100,2678,2105,1670,1116,841,1113,1713,2506,3496,3776,3576,3123,2194,1672,1982,2204,2632,2479,2005,2056,2364,2278,1944,1655,2092,3045,3501,3205,2504,2264,2737,2518,2416,2494,2446,2409,3022,3608,3850,3285,2951,3104,3130,2651,2525,2965,2486,2473,2677,2746,2921,2731,2425,2241,1941,1794,2121,2389,2240,2199,2497,2566,2492,2445,2987,3532,3570,3542,3614,3244,3296,2837,1996,1876,2321,3040,3679,3495,3140,3132,3139,2863,2608,2487,2483,1808,1247,1732,2397,2685,2837,2598,2469,2711,3062,3396,3592,3370,2843],[3024,2897,2732,2536,2530,2592,2634,2689,2712,2790,2888,2791,2996,3101,3199,3579,3980,3630,3332,2803,2492,2401,2348,2467,2625,2875,2806,2477,2264,2268,2459,2818,3065,3106,2965,2701,2518,2418,2535,3053,2912,2843,3189,3388,3339,3429,3492,3228,3286,3350,3202,3138,3011,2985,2621,2586,3024,3298,3447,2813,2078,2435,3022,3354,3688,3970,3916,3711,3266,3676,3207,3086,3353,3519,4216,4453,3669,2432,1920,1619,1554,2036,3409,3968,3817,2729,2186,1985,2063,3066,3034,2906,3226,2543,1974,1896,2359,1649,2280,2101,1897,1882,2044,2022,2391,2599,2223,1980,2471,3207,2568,1831,1628,1819,2189,2114,2195,2022,2631,2766,2552,2482,2100,2162,2833,3813,3461,2744,1838,2037,2402,2802,3043,2802,2774,2820,2901,3105,2984,3035,2630,1907,1962,2143,2306,2751,3168,3097,2382,1913,1867,1961,1721,1704,1988,1951,2580,2770,2309,1763,1916,1759,2050,2767,2678,2455,2535,2297,2255,2160,2414,3056,3235,3177,2856,2701,3176,3139,3053,3308,3156,2883,3263,2801,2517,2916,2875,2766,2703,2456,2474,2636,2406,2056,2050,1867,1860,2426,2518,1976,1988,2101,2171,2299,2542,2602,2040,2192,3109,3587,3730,3880,3768,3172,2810,2840,2768,3184,4080,4048,3232,2888,2823,2669,2658,2808,2693,2432,2806,2864,3082,2985,2330,2343,2842,2568,2370,1916,1910,1877,1749,1619,2097,2180,2030,2829,2858,2240,2026,1689,2047,2281,1766,1905,2119,2679,2166,2362,2311,2143,1937,1844,1700,1647,2128,2230,1918,1864,1883,1886,1886,1783,1715,1803,1818,1935,2287,2565,2289,2124,2459,2289,1849,1599,1954,2030,1815,1945,1838,1714,1526,1663,1829,1581,1686,1738,1986,2092,2300,2808,2370,2764,3287,3529,3329,2639,2348,2770,2696,2159,1902,2975,2706,1710,1958,2322,2351,2160,1946,2379,2405,2055,1930,1642,1805,1741,1561,1864,2449,2575,2537,2372,2161,1981,2069,2501,3022,3023,2127,1677,1923,2294,2792,2840,2327,2283,2356,1908,1761,1975,1791,1895,1820,1854,1664,2406,2447,1871,2060,2150,1911,2326,2753,2897,2941,3322,3050,2102,1997,2371,3028,3142,3047,3077,3432,3152,2343,1815,2541,3008,2858,2734,2514,2391,2504,2304,2231,2326,2311,2279,2192,2197,2302,2362,2387,2333,2202,2585,3211,3836,4152,4012,3787,3711,3450,2773,2632,2736,2763,2878,2981,3155,2658,2540,2062,1893,2551,2478,1976,1952,2876,3052,2549,2512,2142,2671,2887,2854,2031,1537,1511,1796,2344,2604,2636,2676,2485,2610,3222,2755,1928,1713,2189,2143,2132,2157,1852,1802,1878,1953,1762,1591,1382,1578,1892,2699,2074,1669,1932,2070,2067,2082,2312,2769,2551,1813,1656,1765,2189,2001,1602,1508,1575,2373,3244,3054,2674,2443,2897,2696,2305,2523,2823,2070,1631,1631,2242,2710,2699,2661,2778,2834,2215,2006,1709,2316,2557,2454,2571,3644,4177,3009,1798,1708,1748,1779,1746,2040,2338,2514,2526,2290,2514,2380,2418,2567,2575,2954,3253,3247,2285,1706,2105,2292,1870,1531,1537,2380,2287,1683,1592,1837,1895,2282,3083,3165,2298,1774,2067,2427,2369,2001,1963,2049,1957,1996,2035,1809,1846,1942,2105,2048,1911,2209,2436,1869,1690,1837,1873,2316,2743,2425,1927,1589,1615,1840,2278,2375,2079,2221,2234,2198,2124,1933,1862,1735,1797,2067,2206,1954,1584,1321,1886,2242,2181,1965,1649,1747,1819,1856,2234,2525,2474,3422,3680,3398,2976,2812,2692,2621,2496,2338,2148,1964,2007,2143,2149,2315,2490,2283,2272,2134,1995,2105,2339,2303,2223,2155,2282,2519,2436,2116,1831,1601,1742,1672,1738,2151,2536,2090,2360,3033,2633,2177,1836,1848,1642,1746,2066,2999,3182,2631,1944,2730,3630,3775,4035,3968,3927,3981,3726,2979,2436,2208,2289,2336,2787,3474,3620,3805,3979,3661,3835,4297,4519,4307,4203,4175,4059,3522,3154,3182,3618,3658,3205,3090,2785,2595,2517,3144,4265,4476,4571,4284,3989,3908,4132,4696,4696,4620,4573,4264,4347,4291,4511,4096,4003,3719,3170,2214,2663,3882,3772,3408,3229,3494,3777,3077,3150,3261,3228,3326,3542,4156,4572,4641,4628,4427,4420,4396,4068,4013,3801,3739,3848,4036,3925,3472,3620,4080,4256,3994,3539,3275,3398,3553,3521,3459,3591,3549,3373,3646,3554,2777,2281,2161,2066,2290,3066,3653,4208,4329,4684,4808,4584,4419,4103,3925,4014,3926,4121,4157,4095,4133,3558,2844,2979,3355,3469,3476,3239,2862,2609,2303,2124,1918,1689,1714,1872,1703,2064,2567,2384,2211,2002,1707,1697,1842,1839,2077,2403,2438,2367,2566,2273,2217,2168,2117,2164,1925,1850,1989,1905,1760,1758,1888,1931,1795,1663,1855,2055,2203,2249,2144,2132,2342,2258,2329,2527,1686,1848,1805,1874,2528,2735,2426,1990,1953,2282,2689,2766,2623,3320,2776,2087,2310,2293,2085,1996,2023,2097,1990,1865,1768,1755,1824,2055,1911,1688,1881,1969,2232,2369,2341,1998,1906,1909,1697,2136,1990,1493,1373,1327,1487,1650,1740,1778,1668,1977,2129,2132,2204,1915,1757,1698,1919,1836,2039,2314,2697,2393,2029,1938,1960,1931,1920,2109,2105,1828,1627,2271,2182,1584,1939,2109,1719,1440,1443,1706,2092,2440,2460,1930,2663,3275,3349,2829,2685,2877,2939,2651,2750,2644,1926,2223,3197,3537,3906,3508,3102,2901,2281,2244,2425,2428,2552,2690,2279,1879,2086,2111,1786,2522,2587,2397,2325,2489,2707,2832,2566,2418,2723,3111,3160,3160,3198,3038,2964,3262,2444,2684,2513,2179,2317,2024,2118,2471,2162,2116,2005,1860,1720,2468,3838,4239,3792,2565,2660,2702,2376,3009,3928,3318,2802,2504,1945,2620,3393,3248,2332,1809,2036,2546,3313,2924,2311,2546,1865,1661,1559,2054,2766,2644,2049,2137,1961,2155,2473,2385,2299,2086,1993,2312,2876,3044,2503,2461,1997,1625,1627,1693,2070,2634,2799,2400,1903,1793,2079,1777,1841,2410,2849,2835,2463,2014,2167,2520,2354,2312,2539,2289,2645,2543,3140,3448,2193,1648,2458,2973,2290,1849,1889,1614,1769,1855,1779,1541,1326,1604,1856,1762,2103,1769,1786,2341,1764,1371,1738,1642,1908,1667,1549,1579,1534,1500,1413,2004,2075,1527,1552,1923,2258,2336,2012,1832,2793,3245,2935,2478,2199,2190,2592,3000,2934,2774,2883,2925,3121,3255,2765,2917,2528,2685,3032,2840,2743,2895,3011,3038,2880,2535,2281,2522,2713,2642,2745,3099,3323,3121,2565,2098,1779,1933,2222,2176,2242,1885,1812,1887,2018,2415,2501,3076,2755,1896,1985,2068,1716,1509,1555,1237,1411,1722,1764,1652,1787,1900,1758,1953,2269,2251,2042,1817,1671,1790,1941,1928,1911,1906,2166,2030,1740,1554,2017,2345,1953,1640,1552,1607,1780,1898,2035,2292,2106,1667,1571,1468,1340,1356,1477,1559,1487,1386,1456,1550,1402,1545,1734,1488,1352,1427,1520,1627,1706,1789,1475,1936,1942,1492,1172,1422,1824,1913,1689,1431,1344,1279,1324,1224,1347,1480,1571,1793,1695,1502,1671,1778,1657,1604,1547,1658,1908,1937,1789,1723,1560,1770,1869,2305,2189,2435,3002,2954,2457,2676,2886,2214,2242,3167,3687,3318,2940,3050,2179,1374,1852,2553,2202,1623,1355,1417,1461,1489,1635,1550,1487,1973,2679,2798,2785,3011,3065,2712,2414,2283,2025,1866,2139,2701,2567,1725,1872,2236,2577,2692,2663,2876,3030,2541,2285,2165,2626,2415,2768,2547,2497,2369,2340,2819,3085,2624,2046,1853,2171,2143,1603,1911,1739,1759,1937,2072,1970,1724,1681,1678,1802,2170,2440,3018,3240,3480,3905,4090,3236,3049,2314,1771,1820,2247,2321,2006,2073,2167,2233,2596,3108,3306,2209,2171,2114,2394,2464,2354,2810,2998,2342,2154,2052,2335,2325,2126,2265,2193,1901,2324,2298,2054,2230,2072,2000,2474,3041,3329,3363,3525,3378,3345,3501,3481,3178,2920,2634,2446,3065,4100,4057,3739,3322,3236,3201,3044,2686,2509,2636,3157,3414,3444,3555,3428,3253,3203,3138,3121,3378,3874,4010,3770,3478,3195,2928,2878,2922,3107,3306,2996,2086,2535,2716,2758,2689,2364,1984,1972,2003,2245,2559,2710,2870,3060,3033,3000,3476,3085,2666,2765,2758,2681,2764,2843,2678,2662,2919,2662,2678,2621,2612,2951,3531,3607,2849,2724,3494,3974,4070,3813,3604,3659,3780,3629,3409,3228,3149,3594,3934,4005,4351,4652,4732,4616,3965,3012,2542,1983,2433,3353,3701,3605,3514,3222,2693,2417,2564,2889,3440,3827,3464,3063,2961,2912,2872,3013,3143,2958,2464,2171,2260,2370,2306,2324,2330,2623,2317,1787,1452,1382,2042,2853,2557,1968,1931,1730,1448,1302,2247,2565,3166,3536,3628,3206,2633,2208,2197,2167,1859,1957,3347,3178,2577,2866,2095,1782,1806,1893,2258,2479,2309,2230,2764,3606,3109,2639,3046,3045,3377,3696,3432,3272,2774,2269,1926,2228,2890,3383,3442,3351,2672,2441,2666,2575,2126,2204,2604,3156,3471,3290,3410,2493,2274,2407,2252,2602,3156,3241,3206,2597,2213,2355,2543,2424,2490,2775,2831,2438,2491,2737,2701,2578,2541,3175,3647,3509,3466,3599,3799,3735,3630,3178,2978,3443,3826,3825,3696,3566,3320,2869,2643,2656,2008,2325,2783,2610,2702,2038,2229,3274,2922,2544,2730,1865,1020,1527,2190,1911,2293,2570,2122,1863,1364,1409,2500,3305,3511,3491,3515,3538,3292,3095,3204,2774,2567,2413,2645,3050,3232,2756,2055,1772,1693,1941,3064,3691,3753,3504,2813,1546,1404,2142,2304,2266,2281,2339,2571,2534,2401,2313,1820,1823,2294,2543,2570,2359,1905,1958,2200,2132,2139,2362,2718,3074,2985,3151,2644,2974,2708,2190,2135,2898,3655,3362,3077,2940,2840,2722,2786,2967,2534,2117,1962,1856,1852,1715,1885,2071,1897,1863,2336,2701,2852,3238,3670,3854,3222,2868,2384,1444,1170,1877,2742,3195,3140,2778,2501,2941,3086,2851,2908,2879,2035,1857,2242,2758,3276,3190,2956,3031,2953,3321,3959,4364,4674,4093],[2813,2765,2720,2591,2544,2570,2574,2679,2776,2766,2702,2755,3017,3220,3366,3366,3233,3309,3175,3044,2958,2506,2486,2634,2595,2801,2865,2626,2463,2616,3062,3388,3526,3077,2562,2353,2461,2636,3078,2634,2313,2744,2940,3149,3536,3620,3466,3355,3295,3192,3240,3388,3164,3006,2920,2960,3165,3527,3366,2199,1919,2845,3432,3627,3907,4096,3616,3517,3210,3576,3240,3184,3278,3924,4408,4324,3459,2103,1653,1544,1501,1964,3239,3968,3764,3081,2890,2497,2185,2391,2426,2993,2976,2127,2031,1833,2252,1835,2301,2019,1998,1983,1683,1936,2570,2636,2192,2070,2354,2718,2398,2219,2064,2365,2186,2103,2364,2224,2490,2738,2521,1881,2215,2631,3119,3422,2375,1933,1957,1779,1943,2150,1878,2539,3195,3208,2615,2958,2747,2369,2302,2373,2540,2445,2124,1924,2301,2500,1870,1860,1630,1753,1396,1466,1530,1780,2194,2685,2318,1923,2112,1856,2293,3063,3216,3220,2939,2589,2836,2691,2380,2407,2767,2843,2690,2842,3002,2856,2784,2908,2942,2733,2943,2636,2774,3196,3234,3122,2636,2361,2387,2327,2552,2271,1943,2195,2287,2250,1931,1757,1843,2246,2238,2091,2684,3046,2611,2560,2834,2997,2974,3450,3646,3194,2903,2633,2067,2429,3504,4041,3675,3498,3156,2834,2735,2642,2714,2876,3132,3176,3100,2801,2347,2413,2902,2852,2874,2267,2135,1889,1839,1734,1738,1585,1688,2962,3142,2289,2258,2024,2257,2230,1936,1731,2598,2906,2166,1969,1998,2141,2028,1935,1963,1669,1808,1875,2001,1881,1729,1816,2352,1977,1831,1745,1758,1847,2080,2289,2190,2081,2338,2300,2024,1906,2176,1954,2134,2102,1584,1710,1859,2010,2519,1697,1580,1682,1698,1628,2310,2586,2360,2755,3249,3229,3078,3167,2928,2543,2710,2962,2544,2975,3106,2587,2148,2210,2315,2207,2365,2707,2544,2482,2093,1731,1418,1179,1396,1998,2317,2094,1952,1945,1710,2024,2377,2111,2178,2520,2310,2162,2173,2533,3009,3369,3168,2690,2475,1886,1595,1782,1918,1945,2288,2280,1968,2040,1710,2454,2962,2084,1844,2273,2780,3084,2451,2636,2400,2125,2922,3710,3719,3059,2655,2956,3028,2434,2016,2003,2509,2502,2464,3584,3426,2792,2608,2185,2061,2394,2419,2357,2245,2203,2307,2306,2320,2272,2296,2881,3218,3373,3481,3588,3846,3704,3588,3120,2786,2702,2637,2722,2800,3270,3394,3032,2276,2673,3316,2608,1726,1494,2102,2474,2488,2721,2267,2185,2686,2440,1930,1750,1802,2113,2423,2342,2308,2822,2709,2669,2855,2996,2713,2172,2320,2521,2251,2331,2578,2120,1830,2314,2039,1584,1429,1643,2300,2925,2442,1928,1980,1984,1785,2019,2194,2376,2270,1993,1691,1898,2194,1949,1605,1509,1700,2621,3087,2755,2844,2468,2280,2410,2362,2270,2289,2430,2331,1946,2352,2942,3072,2282,1826,2230,2168,2297,2696,2861,2675,2556,2664,3241,3662,2723,1947,1809,1621,1826,2145,2238,2402,2497,2371,2483,2730,2434,2406,2624,2546,2546,2245,2373,1896,1797,2067,1954,1665,1595,1852,2022,1925,1888,1528,1802,1814,2048,2377,2541,2122,1902,1828,2223,2230,2064,2294,2254,2042,2350,2214,1551,1745,1992,1920,1707,1869,2356,2620,2272,1796,1872,2148,2275,2425,2253,1935,1986,1880,1927,2183,2165,2146,2379,2237,2143,2145,2069,1914,1745,1914,2211,2164,2182,1808,1518,1938,1992,1800,1528,1657,2026,1938,1936,1993,2085,2339,3454,3629,3230,3028,2900,2669,2541,2674,2664,2388,1935,2222,2426,2186,2017,2109,2277,2352,2091,2017,2230,2265,2148,2119,2073,2266,2354,2235,1998,1653,1732,1812,2172,2220,1962,2230,2024,1913,2020,1910,1729,1811,1850,1956,2040,1931,2260,2236,2165,2480,2972,3376,3345,3404,3660,3916,3707,3263,2496,2176,2419,3024,3075,3074,3409,3766,4124,4168,3889,3852,4245,4420,3968,4038,4439,4475,3989,3632,3676,3860,3510,3040,3100,2980,3510,3674,3779,4294,4531,4603,4471,4456,4429,4240,4376,4332,4284,4096,4228,4293,4076,4416,4421,4030,3582,2884,2184,2728,3548,3624,3300,3068,3471,3926,3483,3439,3400,3355,3613,4244,4544,4468,4299,4266,4142,3995,3893,3948,4080,3916,3984,3974,3816,3573,3563,3806,3795,3896,3986,3543,3578,3714,3680,3493,3561,3666,3203,3068,3172,2639,2162,2104,2036,2402,3453,4024,3804,4164,4505,4700,4855,4829,4615,3822,3220,3888,3895,3636,4092,4115,4064,3741,3320,3562,3892,3906,3753,3614,3184,2655,2342,2081,1748,1840,1982,1904,1786,2499,2663,2188,2469,2542,1971,2208,2730,2394,1969,2170,1924,1996,2277,2154,2216,2314,2294,1968,1532,1644,1763,1456,1520,1522,1767,1932,1794,1806,1750,1888,2198,2040,1886,1880,2244,2557,2046,2042,1745,1472,1641,1679,2071,2025,1671,1743,1976,2280,2897,2688,2852,3262,2565,1986,1985,1902,1971,1986,1924,2014,2128,1798,1503,1721,1798,1760,1609,1865,1928,2062,2244,2495,2426,1982,1981,1972,2003,2600,2255,1948,1636,1572,1684,1770,1810,1652,1533,1645,1828,2085,2122,1773,1932,1699,1885,2288,2687,3145,2755,2148,1885,1786,2093,2198,2219,2117,1899,1893,1854,2333,1936,1613,2110,2057,1712,1718,1439,1847,2714,2940,2519,2171,3190,3320,3154,3208,3396,3144,2249,1765,2106,2198,1813,2286,2750,3296,3750,3540,3714,3122,2135,2383,2667,2438,2072,1892,1746,1902,2018,1985,1715,2370,2800,2868,2862,3000,3239,3184,2708,2286,2525,3008,3032,3067,3183,2814,2529,2797,3032,3151,2784,2447,2151,1938,2514,2674,2597,2380,2192,1816,1604,2350,3582,3864,3123,2527,2805,3241,2687,2281,3500,3871,3527,3250,2013,1967,2452,2562,2065,2188,2592,2305,2757,2877,2589,2597,1725,1682,1754,1898,2648,2648,2160,1911,2031,2807,2924,2362,2041,2491,2462,2276,2176,1897,2024,2309,1773,1546,1724,1910,2646,3020,2552,2218,1572,1538,1785,1600,1500,2056,2154,2271,2252,1844,1773,2036,1897,2277,2570,2414,2219,2199,2976,3132,2331,1801,2484,3378,2872,1740,1658,1888,1938,1902,1729,1626,1582,1756,1815,1694,1916,1737,1931,2430,2374,1774,1620,1586,1641,1597,1549,1485,1649,1582,1505,1900,1997,1979,1775,1556,1522,1445,1787,2412,2795,3137,2764,2346,2136,2210,2754,3098,3128,2993,2972,2458,2749,3175,3240,3598,3150,2843,3038,2728,2623,2891,2696,2752,3378,3275,2631,2522,2858,3107,3252,3329,3299,3198,2671,2066,1916,2104,2201,2434,2379,2323,2404,2358,2258,2296,2282,2587,2428,1896,1860,2238,2075,1647,1482,1108,1168,1654,1801,1670,1882,2166,2300,2059,1701,1660,1837,2398,2375,2836,2785,2532,2502,2131,1914,2016,1749,1180,1424,1562,1579,1564,1747,2050,2063,1976,2192,2978,2707,1801,1672,1759,1505,1310,1297,1621,1501,1356,1435,1460,1449,1792,1818,1351,1206,1334,1532,1626,1845,2002,1661,1974,1905,1426,1132,1426,1854,2015,1762,1462,1387,1327,1498,1533,1542,1689,1542,1475,1443,1441,1726,1897,1809,1672,1505,1709,1843,1869,1806,1848,1762,1743,1786,2428,2526,2381,3242,3518,2510,2270,2481,2524,2600,2750,3002,3262,2751,2191,1944,1598,1870,2323,1869,1506,1413,1482,1405,1542,1692,1733,1649,2044,2637,2685,2708,2989,2743,2429,2337,1964,1720,1788,2032,2656,2712,2332,2542,2633,2489,2326,2327,2751,2818,2214,2322,2165,2308,2256,2052,2457,3129,2922,2744,2821,2251,2009,2260,2764,3382,2408,1940,2266,1832,1725,2036,2226,2132,1868,1984,1867,1878,1930,2258,3231,3041,3307,3854,4115,4023,3522,2328,1682,1666,2058,2100,2320,2328,2304,2389,2224,2647,2569,2038,1976,1839,1911,2177,2291,2661,2928,2337,2172,2326,2592,3031,2925,2406,1624,1886,2708,2323,2081,2438,2604,2790,3043,2731,2952,3186,3428,3395,3270,3517,3785,3604,3292,2754,2471,2953,3556,3284,3146,3017,3117,3018,2744,2551,2568,2701,3204,3873,3947,3853,3647,3540,3353,3294,3062,3148,3762,4083,3937,3811,3448,2995,3100,3219,3142,3217,3073,2573,2636,2648,2540,2375,2010,1768,1805,1854,1838,1875,2078,2429,3177,3159,3249,3705,3134,2625,2667,2716,2798,2776,2809,2676,2709,2667,2453,2623,2662,2720,2671,2773,3130,3098,2599,2618,3418,3814,3507,3608,3651,3845,3706,3417,3426,3550,3806,4231,4399,4245,4342,4427,4259,3461,2590,2489,2290,3208,4003,3967,3770,3438,3156,2512,2398,2802,3067,3674,3729,3347,3033,2834,2896,2889,2743,2828,2509,2054,1790,1937,2143,2467,2156,1945,2317,2222,2200,1958,1500,1850,2561,2603,2274,1692,1738,2007,1669,1897,2429,3099,3499,3492,2795,2130,2077,2186,2140,1819,1582,3021,3395,2922,2840,2364,1825,1519,1679,2061,2348,1851,2010,2544,3238,3104,3062,3460,3438,3677,3642,3685,3747,2939,2416,2135,1750,2088,2710,3298,2901,2707,3066,2927,2641,2491,2532,2521,2866,3261,3561,3688,2588,2490,1903,1938,2596,2930,2962,2969,2830,2319,2078,2476,2311,1917,1900,2248,2719,2851,2822,3332,3619,3485,3529,3579,3290,3500,3510,3535,3652,3730,3393,3376,3393,3573,3847,3682,3482,3285,3133,3077,3110,1866,2296,2689,3453,3553,2786,3205,3100,1880,1912,2218,1786,1919,2518,2225,1851,2741,2642,2530,2150,1467,1471,1952,2520,3142,3545,3639,3603,3093,3463,3558,2766,2415,2370,2417,2890,3227,3130,2918,2699,2393,2886,3483,3407,3402,2631,2291,1520,1753,2190,2124,2119,2075,2383,2744,2641,2335,2194,2009,2101,2271,2100,2121,1764,1310,1544,2042,1920,1736,1872,2377,2634,2315,2589,2864,2872,2324,2370,2488,2973,3252,3265,2918,2439,2343,3164,3465,2556,1988,2062,2277,2113,1804,1925,2057,1857,1809,2288,2856,2867,2760,2853,2945,3154,3651,2787,2176,1875,1208,1223,2170,2701,2446,1996,1625,1704,2365,2764,3082,3295,2954,2589,2691,3103,3359,3046,2563,2402,2918,3842,4200,4364,4948,4700],[2836,2623,2652,2561,2580,2604,2565,2666,2788,2800,2756,2812,3128,3387,3311,3055,3227,3328,3099,3165,3298,2940,2787,2702,2756,2852,2752,2690,2786,3156,3328,3458,3416,2633,2290,2252,2653,3103,2742,2160,2458,2779,2758,3111,3320,3255,3247,3349,3275,3277,3276,3661,3587,3175,3421,3361,3370,3870,3659,2602,2501,3143,3382,3689,4082,4278,3898,3270,2923,3089,3353,3233,3348,4316,4664,4564,4164,2502,1720,1866,1713,1769,2953,3951,3828,3808,3706,2656,2071,1972,2207,2852,2269,1781,2056,1727,1858,2061,2306,2440,2500,2059,1619,2348,2465,2479,2152,2151,1909,2138,2203,1976,1815,2075,1930,1951,2228,2282,2328,2500,2470,2109,2799,2810,2995,2865,2150,1642,1689,1627,1668,1814,2149,2621,2656,2185,2188,2586,2425,2006,2032,2261,2109,1918,1930,1676,1743,1687,1649,1784,1876,1990,1611,1733,1621,1619,2077,2545,2434,2060,2161,1875,2344,2790,3188,3286,2779,2669,3020,3211,2906,2361,2479,2773,2831,2413,2474,2598,2931,2466,2374,2811,3442,3598,3441,2890,3008,3569,3241,2873,2545,2008,1946,1989,1720,2026,2531,2506,1826,1792,1934,1691,1586,1698,1899,1883,2043,2540,2886,2428,2154,2814,3174,2601,2177,2218,1998,2181,2799,3514,3063,2956,2779,2536,2831,2831,2635,2535,2600,2886,2841,2717,3060,2511,2025,2285,3326,2995,2169,1664,1744,2023,1824,1655,2415,3212,3417,2180,1842,1767,2114,1899,1592,1475,2245,2515,2205,1921,1777,1812,1671,1750,1933,1911,1679,1808,2047,2104,1968,2091,1943,1996,2397,2100,1799,1754,1903,1842,1897,1776,1751,1549,1719,2149,2427,2267,2601,2700,2070,2447,2387,2065,2554,2129,1800,1926,1814,1759,2568,2969,2790,2766,2712,2107,2116,3113,3140,2189,2482,3318,3201,3011,3370,3233,2953,3163,3212,3024,2935,2543,2397,2029,1572,1682,1556,1377,1376,1576,1935,1828,1691,1743,1735,2088,2255,1725,1768,2377,3050,3116,2813,2850,3353,3711,3417,2548,2179,1699,1838,2404,3110,2654,2733,2652,2443,1974,1637,2236,2492,1806,1663,1803,2281,2395,2510,2131,1931,1991,2610,3300,3143,2588,2512,2463,2347,2235,1951,2454,2415,2077,2434,3364,3257,2972,2781,2094,1935,2599,2433,2413,2279,2259,2272,2274,2329,2402,2470,2842,3274,3275,3050,3229,3817,3847,3537,3482,3276,2951,2871,2890,2947,3192,3416,3542,3482,3550,3244,2618,2062,1835,2281,2743,2856,3255,2784,2645,2856,2620,2475,2458,2569,2821,2967,2546,2482,2654,2222,2375,2950,3199,2830,2185,2604,2844,2624,2740,2637,1993,2215,3173,3018,1995,1501,1896,2353,2483,2439,2172,2110,1876,1789,1958,2053,2322,2176,1941,1951,2081,2340,2176,1903,1869,2014,2377,2391,2432,2781,2493,2248,2364,2768,2541,1937,2437,2842,2327,1915,1884,2288,1606,1201,1400,1802,2077,2658,3137,3119,2660,2359,2318,2938,3196,2593,1838,1839,1840,1907,2086,2618,2814,2629,2673,2696,2302,2481,2571,2297,2469,1805,2046,1796,1776,1798,1589,1571,1579,1606,1538,1830,1915,1560,1776,1760,1788,1780,1663,1709,1790,1791,2017,2196,2408,2509,2503,2367,2220,1819,1536,1784,2067,2047,1915,1848,2097,2216,1811,1911,2461,2182,2190,2270,2083,1929,2017,2058,2097,2017,1971,2128,2323,2283,2005,1956,2125,2065,2096,2224,2072,1804,2075,1947,1749,1605,1581,1628,1392,1605,1653,1937,1990,1998,2070,2058,2533,2475,2464,2807,2908,2632,2495,2620,2646,2544,2219,2710,2578,2123,1975,2181,2337,2128,1958,2117,2353,2492,2426,2327,2230,2331,2171,1949,1909,1790,1861,2107,2543,2084,1643,1888,1652,1409,1484,1772,2068,2522,2770,2416,1800,1627,1725,1810,1418,1406,2215,2952,3076,2485,2393,2899,3112,2696,2264,2191,2655,3475,3582,3022,2752,3753,3939,3752,3704,3528,3796,4096,3719,3511,3898,4220,3890,3535,3519,3899,3750,3853,3576,3496,4004,4272,4251,4219,4199,4328,4320,4336,4331,4287,4540,4464,4351,4183,4376,4585,4315,4167,4212,3951,3158,2470,2267,3228,3418,3428,3214,3218,3608,3850,3728,3468,3452,3541,3792,4276,4324,3903,3779,4139,4167,3860,3629,3750,4049,4141,3959,3926,3971,3784,3637,3460,3427,3914,4141,3659,3704,3774,3605,3574,3813,3514,3103,3079,2568,2250,2198,1992,2192,3471,4330,4277,3873,3914,4188,4364,4579,4687,4530,3797,3061,4026,4273,4086,4255,4321,4141,3861,3773,3761,3751,3783,3624,3699,3434,2535,1996,1715,1826,2118,2107,2059,2107,2512,2686,2465,2507,3052,2888,2867,2757,2496,2188,2108,1998,1923,2160,2302,2242,2192,2086,1743,1499,1519,1633,1634,1535,1406,1554,1907,2006,1861,1659,1690,1628,1797,1917,1555,1541,1905,1801,2015,1896,1531,1555,1531,1562,1529,1817,1969,1967,2204,2598,2405,2469,2587,2035,1750,1691,1730,1794,1675,1784,2033,2007,1819,1610,1528,1616,1760,1702,1744,1847,1816,2355,3182,2376,1736,1823,1976,1860,1899,1879,2011,1910,1910,1912,1834,1819,1720,1438,1566,2287,2327,2367,2152,2224,1759,1955,2446,2495,2521,2664,2358,1906,1854,1876,2185,2413,2122,1851,1937,1650,1758,2013,1752,1599,1790,1708,1689,1592,2691,3598,3439,3162,2839,3435,3658,3295,3507,3827,3006,1748,1365,1309,1760,1851,2073,2369,2896,3262,3482,3931,3834,2945,2319,1954,2059,1865,2222,2236,2000,1969,2023,1944,2625,3166,3206,3142,3031,2916,2740,2530,2264,2328,2696,2947,2968,2940,2564,2341,2449,2516,2602,2750,2669,1992,2141,2679,3083,3361,2989,2658,2007,1517,1767,2801,3606,3607,3718,3868,3875,3172,2320,2643,3164,3340,3224,2083,1856,1929,1909,1842,2126,2056,1686,1918,2001,1766,1571,1577,1584,1332,1331,2147,2061,1593,1949,2310,2690,2856,2423,2136,2558,2297,1896,1733,1631,1856,1874,1745,2027,2308,2153,2632,2543,2232,1997,1676,1858,1885,1499,1472,1472,1707,2296,2161,1984,1851,1670,1566,1955,1757,1960,1735,1789,2407,2912,2770,2293,2651,3316,2830,1985,1820,1866,1787,1870,1755,1918,1877,1602,1482,1655,1919,1730,2070,2066,2120,1866,1521,1591,1722,1731,1770,1806,1698,1560,1704,1559,1431,1606,1788,1690,1519,1146,1725,2378,2797,3099,2966,2884,2436,2115,2269,2457,2899,2995,2977,2077,2172,2853,3493,3574,3005,2781,2769,2481,2909,2580,2341,2853,3538,2849,2357,2718,3031,2917,2932,3081,3117,3037,2922,2637,2301,2729,2622,2072,2115,2846,2711,2213,2209,2263,2098,2163,2121,2123,1605,1978,1924,1708,1535,1328,1443,1942,1991,1643,2019,2781,2847,2333,1758,1675,1525,1715,2201,3043,3335,2618,1921,1820,1754,1488,1483,1269,1614,1736,1521,1591,1970,2179,2235,2386,2605,2771,2186,1851,1782,1951,1584,1283,1302,1462,1566,1583,1771,1732,1473,1625,1636,1361,1320,1375,1326,1522,2082,2192,1936,1933,1798,1371,1284,1493,1694,1895,1735,1475,1484,1462,1377,1429,1317,1469,1433,1338,1420,1455,1570,1802,1570,1427,1468,1785,2155,1957,1680,1654,1998,2450,2668,3086,3263,2814,3141,3936,2879,2300,2472,2342,2031,2343,2765,2858,2636,2413,2724,2284,1685,1757,1779,1946,1614,1352,1392,1856,2187,2092,2177,2456,2398,2320,2575,3221,2619,2564,2482,1891,1605,1557,1745,2580,2799,2388,2415,2443,2311,2329,2567,2303,2201,1946,2224,2122,1881,1881,1793,2284,2952,2720,2547,2469,2452,2047,2620,3632,4040,3032,2420,2417,2085,1968,2233,2332,2197,1975,2626,2539,2413,2888,3277,3553,3155,3059,3702,3968,3736,3271,2141,1780,1984,2193,2118,2790,2676,2317,2414,2338,2758,2888,2547,2463,2229,2408,2103,2444,3360,3219,2339,2281,2416,2309,2360,2569,2106,1343,1730,2269,2036,2757,2938,2766,2662,2779,2291,2509,2851,3131,3271,3083,3281,3847,3925,3741,3392,2812,2852,2964,2731,2657,2845,2917,2855,2789,2728,2837,2978,3123,3442,3565,3428,3510,3675,3280,2873,2821,3067,3318,3472,3749,3802,3423,3093,3287,3326,3137,3023,2714,2774,2965,2769,2379,2175,2085,1953,1848,1830,1756,1720,1807,2684,3350,3106,3099,3210,3008,2940,2812,2728,2809,2726,2844,2756,2677,2466,2543,2637,2677,2648,2622,2678,3138,3508,3485,2764,3043,3342,3278,3196,3480,3938,3950,3914,3830,3679,4000,4784,4941,4339,4199,4297,4201,3704,2952,2289,1910,2634,3683,3972,3840,3587,2996,2287,2311,2698,3285,3476,3355,2981,2778,2743,2883,2756,2387,2480,2128,2061,1755,1919,2365,2289,1852,1554,1889,2484,2713,2237,1494,1703,2292,2353,2312,2145,2480,2408,2089,2074,2415,2754,2976,2907,2411,2043,1976,2223,2260,1775,2049,2788,2698,2640,2700,2246,1637,1447,1577,1989,2397,1787,1781,2101,2735,2634,2973,3332,3024,2939,3138,3398,3859,3748,3013,2107,1780,1704,2308,2677,2994,3200,2933,2753,2801,2875,3084,3003,3308,3438,3312,3050,2101,2026,1551,1437,2064,2518,2718,2792,2898,2668,2447,2938,2909,2392,2055,2534,2857,2294,2439,3179,3675,3647,3347,3050,2470,3097,3517,3663,3549,3075,3208,3574,3341,3525,3666,3458,3321,3086,2998,3088,3466,3186,2946,2977,3298,3073,3033,3277,2677,1609,1873,1972,1507,1929,2666,1828,1849,3132,3090,2666,2412,2202,2514,2086,1587,1930,2899,3799,3586,3021,3308,2871,2353,2266,2121,2166,2568,2909,2949,2958,2802,2577,2426,2919,2861,2677,1973,1506,1555,2165,2630,2669,3030,3024,3398,3509,2941,2455,2235,2351,2536,2415,2083,2373,2578,1974,1810,1925,1983,1772,1849,1825,2431,2253,3140,2986,2153,1614,1506,1998,2386,2198,2513,2137,2189,2734,3625,3619,2872,2135,2058,2742,2786,2325,2346,2469,2017,1660,1662,2373,2890,3013,2679,2235,2151,2412,2178,2192,2400,2001,1843,2508,2909,2645,2214,2003,1790,1816,2872,3320,3124,2999,2807,2924,3021,3003,2495,2049,2301,2705,3333,3708,3309,3614,4133],[3111,2702,2706,2636,2610,2617,2656,2810,2918,2843,2896,3105,3205,3229,3083,3277,3496,3187,3041,3124,3068,2857,2752,2767,2752,2710,2732,2666,2773,3068,3303,3227,2687,2286,2260,2455,3047,2791,2048,1889,2083,2464,2928,2745,2221,2711,3100,3133,3295,3326,3217,3470,3882,4073,3696,3497,3680,3939,3804,3438,3309,3525,3550,3772,4082,4057,3698,3397,3210,3144,3316,3308,3535,4200,4663,4499,3704,2230,1781,1908,1699,1824,2990,3874,3629,3211,2924,2328,2127,2263,2770,2703,2344,2103,1948,1839,2033,2205,2254,2832,2773,2337,2080,2326,2373,2554,2244,1955,1946,2018,1842,1799,2115,2647,2164,2006,1930,1746,1766,1835,2105,2535,2744,2413,2219,2333,2331,2030,1800,1765,1786,2231,2583,2495,2212,2069,2610,2742,2622,2285,2120,2243,2004,1776,2055,1883,2020,1657,1852,2293,2670,2242,1620,1643,1561,1877,2352,2071,1882,1575,1731,1736,1799,1836,2773,3086,3110,3174,3094,3227,2834,2192,2146,2439,2847,2451,2549,2895,2955,2597,2268,2668,3232,3429,3508,2762,2253,3349,3890,3659,2916,2424,2136,2223,2233,2207,2230,2148,1815,1718,1860,1600,1942,1984,1649,1554,1596,1819,2769,2378,1938,2349,2562,2266,1990,2130,2068,2061,1950,2314,2156,2630,2630,2486,2513,2555,2467,2227,2058,2006,2014,2575,3514,2642,1660,2119,3334,2698,1937,1920,1782,1943,1996,3130,4268,3941,3416,1973,1658,1682,1942,1921,1650,1455,1690,1901,1786,1542,1466,1641,1882,2002,1895,1845,1572,1682,1932,2089,2076,2014,1883,2275,2427,2598,1876,1634,1521,1716,1744,1568,1646,1546,1574,1904,2016,2181,2646,3139,2710,2322,1945,1735,1710,1674,1520,1998,2243,2379,2720,2618,2332,2338,2437,2068,1941,2709,3077,2685,2425,2943,3073,2730,3196,3577,3376,3385,3887,3021,2448,2338,2524,2360,2139,2018,2004,1983,1848,1790,2265,2364,2448,1993,1977,1844,1945,2119,2445,2999,3334,3232,2834,2864,3393,3608,3093,2522,2117,1923,2183,2841,2900,2655,2525,2214,1898,2014,1823,1763,2032,2010,2270,2001,2031,2343,2342,1793,1592,1668,2062,2412,2592,2579,2652,2029,1855,1978,1919,2257,2534,2507,2991,3038,2379,2401,2531,2114,2172,3144,2958,2547,2283,2249,2295,2306,2331,2419,2484,2734,3244,3056,2786,3407,3362,3244,3318,3282,3074,3032,3064,2995,2988,3143,3355,3281,2632,2497,2181,2945,3452,2917,2762,2832,2802,3203,3389,3276,3219,3099,3154,3178,2919,3111,2994,2403,2363,2388,2244,2522,2997,3121,2379,2091,2862,2862,2850,3051,2385,2386,2355,2658,3023,2266,1635,2075,2410,2443,2400,2192,1951,1857,1861,1791,1981,2433,2249,2036,2077,1945,2008,1913,1892,1930,2072,1986,1907,2155,2588,2799,3244,3373,3516,3296,2125,2420,2830,2708,2275,1594,1708,1841,1628,1299,1459,1641,2192,2445,2000,1641,2046,2409,2555,3012,2468,2169,1843,1629,1750,1819,2189,2666,2643,2286,2292,2412,2458,1994,2111,2831,2392,2433,1858,1530,1507,1386,1488,1465,1971,1998,2073,1548,1598,1744,1637,1771,1782,1624,1794,1878,1819,1626,1808,2009,1824,2244,2396,1792,1512,1520,1648,1678,1648,1693,1736,1943,1863,1808,2325,2727,2002,1767,1968,1949,1824,1709,1867,1970,1965,2006,2200,2247,1969,1970,1709,1934,2176,2430,2149,1562,1603,1808,1656,1764,1610,1599,1617,1725,1590,1725,1905,1888,1997,2201,2221,2026,2026,2512,2720,2886,2653,2601,2592,2580,2446,2455,2521,2359,2254,2251,2477,2418,2204,2405,2864,2806,2573,2465,2475,2309,2090,1875,1922,1947,1804,1713,2239,2318,1794,1678,1819,1606,1462,1499,1854,1962,2201,2634,2105,1588,1666,1875,1975,1717,1273,1435,1952,2007,1905,2061,2025,2106,2142,2015,2288,2849,3437,3419,3111,2381,3124,3768,3703,3704,3292,3250,3540,3016,2711,2865,3311,3309,3730,3989,4215,4024,4308,4384,4090,3837,4018,4464,4475,4312,4333,3944,4220,4508,4320,4664,4868,4627,4441,4440,4488,4459,4299,4240,3864,2887,2130,2753,3638,3458,3328,3346,3463,3837,3956,3650,3432,3795,3816,3769,4128,4325,3978,4123,4329,4035,3680,3659,3958,4201,4046,4124,4290,4272,3942,3614,3584,3657,3983,4003,3820,3727,3658,3763,4007,3864,3582,3151,2689,2274,2182,2046,2108,3016,4097,4332,4219,3782,4121,4197,4185,4453,4299,4570,4384,3310,3938,4528,4272,4372,4421,4154,4132,4037,3842,3716,3713,3642,3550,2841,2040,1911,1705,1931,2042,1860,2042,1913,1758,2332,2741,2612,3484,3702,3215,2690,2633,2624,2434,2222,2340,2859,2432,2217,2246,1915,1833,1623,1518,1505,1655,1527,1187,1203,1598,1853,1881,1884,1954,1814,2319,1902,1818,1662,1484,1651,1913,1925,1608,1438,1524,1667,1666,1873,1888,1981,1906,2532,2452,2179,1994,1762,2075,2084,2072,1618,1694,2026,2338,2218,1822,1491,1358,1669,2178,2050,1705,1869,1650,2206,3771,3030,1825,1711,1630,1882,2128,1869,1688,1672,1973,2094,1637,1780,1788,1545,1984,2670,2042,1807,2049,2114,1793,2103,2566,2249,2335,2823,2096,2019,1911,1914,2712,2955,2788,2622,2086,1590,2201,2406,2022,2371,2832,2063,1614,1726,2764,3569,3431,3572,3312,3297,3515,3394,3486,3626,3044,1920,1466,1344,1761,2012,2646,3271,3422,3509,3173,3521,3995,3086,2030,1306,2302,2049,2624,2880,2392,2246,2446,2499,2935,3428,3338,2974,2525,2321,2298,2356,2322,2325,2448,2718,2777,2506,2429,2425,2045,1707,1852,2219,2178,2244,2644,2403,3009,3653,3333,2628,2210,1913,2054,2766,4052,4260,4476,4392,4219,3671,2856,2152,2127,2924,2644,1877,1865,1837,1791,1875,1674,1880,1732,1821,1736,1958,1881,1718,1595,1204,1356,1882,1476,1085,1717,1511,1545,1794,1702,1686,2032,2238,2077,1509,1123,1119,1330,1879,2417,2806,2286,2242,2170,2286,2104,1834,1705,1505,1434,1573,1585,2397,2965,2105,1931,1852,1961,1778,2127,2040,2176,2409,2426,2521,2679,2840,2854,3182,3228,2322,2348,1998,1526,1487,1670,1821,2182,2205,1722,1610,1938,2114,2140,2443,2215,1966,1871,1627,1752,1925,1764,1745,1584,1614,1890,2004,1773,1453,1410,1604,1752,1731,1672,1995,2426,2917,3024,2742,2786,2663,2022,1834,2140,2900,2994,2864,2099,1690,2555,3164,3038,2534,2332,2126,2558,2460,1862,2281,2712,3219,3198,3356,3616,3216,2818,2714,2900,2938,2828,2951,2812,3009,2687,2149,1869,1892,2167,2203,2298,2241,2023,2114,2247,2262,2311,1680,1628,1769,1745,1548,1511,1763,2128,2139,1700,1841,2207,2477,2064,1681,1609,1625,1756,1590,1822,2425,2228,2038,1930,1813,2020,1946,1559,1480,1600,1599,1836,2072,2238,2614,2663,2286,2007,1801,1828,2164,2143,1750,1389,1395,1415,1679,1794,1676,1389,1320,1293,1508,1428,1417,1461,1324,1340,1559,1731,1867,1779,1672,1544,1587,1432,1520,1739,1833,1575,1440,1108,864,891,985,1349,1566,1416,1289,1268,1472,1855,1670,1670,1952,2119,2219,2019,2099,2677,3209,3532,3549,3438,3514,3180,2698,3697,3141,2459,2662,2644,1925,2014,2444,2405,2403,2789,3518,2855,1675,1694,1713,1491,1293,1321,1463,2166,2609,2493,2715,2375,2340,2979,3050,3393,3064,2879,2335,1764,1608,1545,1576,1984,2086,1948,2612,2701,2446,2328,2223,1948,1876,1985,2358,2356,2012,1793,1664,1708,2202,2664,2241,2079,2310,1974,2855,3710,3632,2901,2462,2626,2292,1822,1995,2424,2711,2978,3419,3044,2951,3588,3836,3329,2931,3141,3428,2930,2419,2630,2352,2097,2390,2390,2343,2767,2518,2013,2029,2383,3023,3118,3060,3561,2917,2341,1917,2286,2724,2512,2792,2916,2307,1802,1901,2232,2213,2334,2424,2359,2583,2952,2915,2381,2241,2382,2557,2855,2709,2691,2942,2866,3372,3708,3742,3605,3433,2931,2854,2822,2643,2657,2819,2790,2677,2680,2777,3129,3073,3121,3296,3408,3190,3202,3226,2964,2692,2730,2930,3183,3494,3848,3674,3253,2967,3021,3326,3271,2955,2669,2754,2950,2813,2819,2702,2336,2261,2410,2283,2018,1984,2064,2665,3066,3106,3186,3149,3243,3269,2916,2799,2719,2889,2951,2740,2630,2529,2410,2457,2605,2553,2479,2599,2966,3360,3493,3205,2766,2722,2995,3197,3592,3819,3938,3864,3761,3717,4248,4792,4884,4122,3829,4018,4038,4000,3350,2279,1700,2055,3034,3918,3610,2957,2493,2076,2188,3107,3595,3386,3133,2910,2938,2962,2942,2837,2552,2490,2272,2054,1882,2120,2147,2116,1920,1601,1798,2298,2238,1995,1876,2130,2293,2122,2354,2227,2135,2221,1893,1801,2130,2228,2339,2492,1922,1897,2111,2161,2127,2085,2110,1845,1772,2144,2255,1833,1693,1668,2166,2041,1982,1841,1847,1843,1927,2322,3060,3465,3276,2921,2802,2821,3384,3522,2523,1780,1670,1654,1813,2117,2994,3749,3128,2263,2335,2624,2788,3332,3481,3659,3536,2381,1153,1254,1648,1765,2150,2202,2386,2531,2491,2773,3006,3384,3464,3338,2873,3049,3283,2817,2710,3107,3277,2644,2805,2391,2090,2965,3491,3846,3536,2851,2886,3332,3660,3564,3353,3152,2788,2735,2894,3200,3398,3309,3037,2800,2722,2674,2786,2880,2943,2362,2462,1955,1230,1423,2534,2570,2376,2828,2702,2746,2448,2082,2351,1977,1545,1500,1633,2512,2802,2653,2482,2298,2194,2115,2242,2354,2403,2780,2951,2723,2430,2050,1376,1926,2394,2369,2169,1722,1616,2412,3226,3310,4125,4181,3882,3752,3432,2724,2509,2590,2207,2124,2420,2642,2482,2059,2281,2142,2183,1895,2114,2191,2555,2620,2834,2730,2298,2094,1889,1883,2316,1810,2128,2584,2968,3551,3659,3405,3535,3103,2822,3216,3740,3752,2643,2225,2179,1961,2052,2567,2972,3153,3010,3285,2986,1957,1801,2298,2288,2369,2159,2313,2523,2595,3093,3392,2798,2489,3151,3008,2938,3012,2855,2740,2586,2509,2159,2261,2659,2945,3119,3138,2625,2463,2767],[3189,2877,2727,2644,2625,2750,2923,3006,2987,2941,3130,3240,3189,3247,3279,3342,3206,3000,2929,3139,3124,3016,2922,2801,2775,2855,2855,2622,2579,2812,3401,3355,2687,2300,2476,2912,2691,2010,1782,1774,1912,2361,2592,2177,1945,2307,3029,3344,3395,3499,3585,3514,3934,4042,3718,3745,3616,3528,3340,3558,3609,3898,4114,3935,4009,3846,3542,3507,3386,3207,3498,3818,3747,4140,4168,4176,3044,1884,1676,1801,1880,2335,3554,4152,3783,3332,2968,2496,2368,2367,2996,3095,2811,2245,2174,2198,2066,2003,2079,2521,2045,2048,2260,2732,3154,2934,2231,1936,2036,1943,2136,1954,2025,2621,2352,2060,1914,1620,1675,1769,2016,2632,2751,2338,2166,2553,2316,1911,1713,2037,2077,2339,2521,2521,2584,2502,2647,3231,2698,2046,1998,2370,2303,2258,2314,1709,1781,1815,2068,2756,2946,2396,1788,1716,1500,2096,2742,2421,1780,1191,1341,1658,1577,1480,2380,3099,2911,2720,3087,3119,2641,2214,2088,2282,2844,2686,2607,3199,3046,2499,2304,2918,3398,3269,3689,3183,2112,3309,3579,3520,2577,2157,2113,2126,2273,2161,2118,2343,2106,1676,1671,2048,2676,2557,1946,1618,1732,2328,2736,2577,2520,2741,2367,2194,2107,2394,2460,2054,1622,1906,2019,2517,2747,2222,2228,2779,2460,2304,1904,1713,1748,2442,3138,2461,1936,2244,2456,2178,2444,2669,2357,2287,2102,4180,4688,4221,2893,1864,1687,2042,2448,2338,1739,1557,1684,1913,2025,2112,1940,1726,1864,1639,1485,1411,1425,1570,1657,1840,2039,2075,2015,2019,2222,2364,1770,1685,1577,1547,1779,1902,1863,1858,1715,1643,1815,2024,1779,2306,2388,1882,1716,1730,1619,1556,1466,1525,2098,2753,2806,2601,2331,2092,2500,2750,2299,2433,2592,2169,2043,2607,2476,2006,2053,2245,2791,3016,3439,2845,2325,2013,2067,2291,2498,2605,2664,2558,2645,2314,2386,2343,2463,2432,2046,1829,1914,2069,2723,3293,3220,2943,2824,2784,2503,2407,2424,2082,1707,2055,2287,2593,2945,2731,2221,1852,1849,1865,1836,1547,1743,2512,2586,2269,2206,2099,1697,1750,1942,2003,2046,2132,2351,2841,2632,1956,1664,1726,1950,2239,2039,2104,2899,3309,2807,3012,3220,2684,2696,4052,4078,3707,3001,2433,2398,2285,2332,2357,2409,2569,3254,2997,2730,3099,2730,2377,2820,2978,2942,3154,3510,3527,3098,3126,3424,3133,2045,1825,2008,2864,3693,3703,3117,2642,2635,2617,2845,3107,3364,3103,2979,3414,2943,2867,2658,2196,1992,2027,2320,2429,2755,2986,2186,2371,3059,2800,2563,2575,2200,2171,1944,2186,3063,2271,2047,2298,2403,2476,2298,2487,2402,2187,1958,1887,1918,2091,1938,2014,2065,1928,1844,2038,1819,2185,2243,1735,1589,1682,2049,2665,3122,2865,2609,2519,2031,2411,2334,2568,2680,2252,2068,2141,1749,1821,2033,1719,2080,1945,1761,1775,1880,2141,2358,2670,2414,2699,2503,1982,1616,1621,1760,2109,2387,2717,2635,2478,1917,2457,2546,2401,2095,1793,1569,1680,2039,2086,1758,1837,2350,2025,1881,1638,1632,1904,1685,1543,1521,1572,1691,1746,2309,1758,1400,1720,1787,2100,1984,1520,1385,1476,1587,1549,1527,1541,1781,2162,1909,2026,2185,2417,1885,1686,1709,1739,1814,1802,1854,1867,2010,1936,2113,2221,2018,1898,1684,1977,2232,2344,1874,1663,2340,2245,1594,1709,1852,1746,1942,1986,1815,1903,1795,1837,2000,2058,2189,2220,2172,2623,2664,2651,2564,2596,2623,2576,2497,2548,2485,2344,2062,2078,2338,2407,2556,2989,2988,2539,2517,2410,2178,2144,2099,1984,1892,1821,1755,1861,2330,2167,2038,2025,2007,1819,1687,1665,1921,1873,1676,1825,1704,1672,1788,1842,1951,2061,1839,1659,1933,2110,2241,2084,1871,2014,1915,1741,2131,2313,3313,3528,2940,2220,2829,3661,3640,3506,3352,3410,3432,3050,2713,2606,3099,3657,4308,4456,4321,3835,3565,3805,4093,4154,4212,4311,4333,4364,4424,4286,4613,4765,4509,4565,4641,4540,4478,4584,4716,4455,4580,4377,3695,3081,2454,3385,3823,3397,3346,3500,3897,4354,3968,3666,3543,3855,3816,3816,4240,4288,3931,3920,3970,3805,3679,3871,4232,4141,3852,3941,4079,4066,3935,3710,3610,3821,4079,4022,3887,3795,3826,3793,3895,3688,3352,2752,2338,2103,1953,2079,2598,3796,4227,4227,4108,3615,4062,4064,4358,4678,4417,4714,4489,2978,3096,4050,4120,4375,4183,3895,3754,4094,4017,3753,3882,3553,3385,2554,1756,1793,1664,1666,1852,1927,1928,1753,1527,2040,2690,2653,2401,2385,2635,2575,2514,2620,2306,1913,1808,2278,1927,1844,2196,2138,1755,1682,1624,1546,1591,1414,1071,1282,1637,2032,2144,1981,1722,1836,2608,2737,2644,2054,1710,1731,1836,1857,1492,1461,1698,1743,1658,1827,1714,2175,2113,2184,2153,2210,2366,1954,1973,1835,1846,1604,1949,2127,2103,2006,1924,1685,1452,1982,2902,2776,2026,1920,1653,1880,2895,2653,1914,1615,1719,2501,2543,1935,1826,1678,1852,2119,1797,1842,1796,1729,1965,2066,1603,1699,1923,1596,1524,1747,1864,1630,1956,2388,2104,2061,1542,1694,2563,3106,2995,2811,2083,1887,2521,2622,2001,2584,2973,1992,1387,1530,2343,2962,3252,3354,3514,3529,3504,3482,3411,3186,2995,2481,1986,1807,2144,2365,2837,3320,3416,2895,2371,3283,3856,3176,2835,2370,2457,2065,2636,2718,2834,3430,3382,3074,3282,3567,3408,3204,2731,2413,2338,2340,2411,2337,2381,2768,2731,2320,2277,1915,1995,2049,1832,1945,1949,2662,2642,2046,2453,3099,2447,1983,2122,1983,2514,3328,4120,4243,4349,4276,4166,3951,3341,2287,2284,3063,2473,1626,1957,2124,1743,2106,2290,2291,1837,1676,1788,2533,2711,2120,1758,1423,1704,1672,1779,1277,1741,1659,1516,1250,1282,2223,2942,3021,2775,1920,1693,1865,1789,1925,2057,2031,1922,2014,1815,1498,1698,1841,1561,1544,1773,1830,1943,2383,2815,2288,1842,1692,1921,1859,2013,2262,2732,2922,2526,2165,2559,2888,2744,2507,2037,1625,1700,1596,1440,1619,1958,2132,2082,2001,1719,1741,1776,2060,2371,2645,2540,2034,1925,2069,2232,1943,1518,1638,1389,1482,1495,1691,1615,1816,1880,1975,2213,2190,1837,2021,2320,2766,2966,2847,2732,2592,2291,2329,2379,2601,2829,2895,2306,1730,2657,2952,2872,2392,2076,1848,2624,2602,2166,2447,2751,2639,2500,3038,3009,2866,2670,2824,3051,2867,2875,2930,2574,2587,2178,1809,1754,1721,1935,1852,2346,2696,2051,2258,2396,2508,2094,1489,1398,1676,1801,1532,1484,1734,2059,2073,2056,2230,1942,1890,1917,2366,2697,2670,2417,1844,1365,2048,2127,1488,1464,1995,2414,2037,1671,1737,1780,1845,2006,2153,2575,2541,1705,1637,1584,1704,1472,1894,2154,1860,1560,1457,1535,1621,1554,1448,1552,1714,1348,1465,1527,1503,1483,1327,1325,1305,1633,2038,1706,1680,1669,1572,1354,1513,1735,1824,1753,1668,1363,1192,1304,1298,1396,1570,1605,1501,1397,1787,1952,1750,1983,2199,2123,2376,2831,2906,3034,2644,2541,2579,3006,3366,3517,2642,3176,3249,2561,3058,3242,2479,1905,2229,2631,3018,2552,2458,2259,1689,1538,1592,1494,1520,1465,1473,1737,1879,2350,2504,2413,3030,2878,2841,2633,2082,1738,1586,1637,1763,1686,1569,1714,1682,2089,2633,2576,2343,2169,2111,2028,1930,2021,2324,2444,2098,1649,1806,2114,2129,2383,1626,1699,1968,2079,2470,2678,2814,2744,2104,2460,2496,2491,2522,2620,2551,2805,3078,3100,2927,3100,2945,2599,2830,2990,2407,1721,1980,2313,2720,2700,2631,2731,2542,2236,2304,2574,2319,2351,3494,3708,3231,3396,2712,1987,2046,2171,2070,2083,2945,3541,2545,1902,2148,2623,2812,2763,2249,2220,2302,2503,2941,2555,2235,2369,2663,3175,2953,2903,3055,2688,3198,3660,3515,3316,3073,3047,3226,3088,2792,2542,2544,2343,2424,2500,2656,3001,2921,2908,3011,3071,2995,2973,3007,2778,2636,2592,2852,3166,3551,3782,3565,3156,2845,3024,3448,3282,3005,3343,3228,2840,2589,2809,3085,2948,2640,2581,2480,2526,2541,2488,2471,2406,2789,3263,3227,3322,3233,3173,2974,2856,3140,3019,2686,2658,2523,2336,2451,2543,2417,2464,2423,2393,2689,2701,2280,1990,2418,3009,3443,3635,3608,3745,3685,3905,4139,4344,4379,4560,4315,3865,3657,3605,3706,3226,2787,2179,2302,2586,3686,3527,2272,1960,2127,2556,3599,3907,3586,3330,3240,3121,3142,3138,3090,2640,2446,2427,2209,2062,2238,2450,2609,2077,1707,1458,1557,1658,1776,2537,2589,2473,2463,2322,1742,1720,2105,2086,1738,1752,1763,2230,2229,1890,2002,2149,2207,2285,2743,2806,2086,1994,2291,2036,1772,1957,2316,2410,2010,1986,1854,1672,1379,1216,1918,2771,3377,3123,2562,2729,2712,3239,2750,2387,2231,2024,2102,2067,2237,2370,2543,2789,2669,2453,2324,2490,2979,2939,3330,3550,2509,1806,1729,2101,2668,2674,2307,1981,2265,2845,3435,3608,3825,3950,3587,3047,3038,3411,3307,3332,3492,3552,3199,3024,2111,2417,2792,2709,3372,3496,3040,2996,3444,3307,2951,2511,2057,2262,2503,2676,3234,3386,3115,3041,3006,2658,2466,2922,2844,2500,2351,1835,1141,1398,2091,2822,2973,3021,2702,1869,1313,1376,1676,2331,2165,1747,1524,1437,1794,2082,2017,2062,2010,1432,1854,2403,2473,2598,2697,2298,2268,2464,1842,1394,2149,2210,1980,2375,2139,2280,3163,3518,3580,3974,4058,3602,3432,2977,2281,2339,2403,2178,2418,2585,2534,2304,2284,2247,2038,1879,1689,2016,2223,2410,2523,2809,3192,2891,2959,2278,2153,2397,1825,2143,2734,3272,3703,3197,2826,3225,3572,3928,3876,4068,3954,2653,2066,2234,2182,2222,2225,2656,3399,3774,4145,3839,2154,2203,2102,1756,2184,2278,2679,2846,2995,3017,3110,2851,2669,2778,2613,2918,2716,2626,2686,2313,1681,1820,2209,2337,2584,2849,2904,2867,2656,2488],[3243,3216,2898,2695,2780,2979,3052,2961,2986,3051,3146,3204,3205,3233,3286,3140,3030,2917,2929,3127,3408,3549,3094,2755,2830,2867,2668,2445,2514,2755,3218,3737,3150,2714,3118,2728,2046,1780,1710,1709,1946,2068,1972,1795,1783,2553,3630,4028,3630,3529,3817,3881,4244,4047,4036,3914,3262,3106,3620,4189,4126,4064,4064,4123,4256,4036,3652,3560,3608,3741,3794,3613,3553,3636,3583,3479,2940,2341,2050,2034,2067,2243,3391,4214,3857,3427,2850,2743,2740,2753,3154,3539,2780,2056,2143,2245,2154,2354,2196,1848,2024,2032,1931,2423,3188,2844,2156,2175,2154,1658,2314,2291,2888,3263,2951,2792,2408,1888,2070,2071,1860,2281,2562,2744,2491,2802,2344,1856,1867,2047,2000,1911,2160,2188,2482,2653,2700,2460,1790,1564,1474,1636,2242,2639,2183,1779,2381,2530,2448,2808,3153,3098,2326,2299,1798,2161,3052,3073,2519,2048,1754,1875,2112,2120,2398,2764,2142,1771,1960,2121,2286,2265,2236,2393,2622,2631,2938,3533,3356,2658,2366,2688,2806,2911,3233,2750,2168,2453,3033,3139,2554,2355,2149,1766,1805,1895,2364,2541,2689,2214,1647,2677,3146,2711,2312,1816,2574,2979,2389,2666,3064,2596,1643,1803,1925,2890,2842,1861,1622,2207,2797,2998,2901,2659,2325,2960,2516,2272,1880,1746,1822,2063,2596,2244,1860,1911,1784,2097,2500,2474,2929,3242,3034,4224,4104,3539,2666,2024,1905,2064,2235,2282,2596,2308,1928,1957,1936,2311,2283,1743,1612,1595,1564,1612,1799,1789,1976,2110,2024,2009,2099,1925,2088,1836,1600,1619,1683,1870,1929,1812,1778,1798,1730,1859,2177,2140,1769,1920,1826,1614,1730,1892,1582,1156,1443,1406,1705,2779,2938,2633,2592,2608,2874,2707,2256,2059,1947,1978,2338,2188,2238,2191,2005,1913,2298,2258,2364,2824,2624,2180,2240,2412,2553,2544,2505,2159,2449,2342,2366,2403,2609,2580,2086,1980,2049,1905,2057,2755,2789,2467,2353,2153,2143,2079,2347,1992,1751,2117,2207,2313,2588,2565,2110,1933,2193,1965,1883,1784,2041,2568,2665,2288,2004,1847,1574,2022,2257,2488,2568,1904,1854,2697,2657,1851,1794,2240,2370,2067,2306,2293,2315,2590,2128,2777,3471,3107,2840,2675,3435,4272,3359,2387,2186,2150,2294,2393,2549,2848,3450,3005,2623,3142,2895,2321,2294,2510,2864,3171,3665,3498,3230,3517,3907,3204,2083,2259,2479,2413,2865,3338,2539,2175,2714,2845,2599,2814,2932,2966,3421,3572,3118,2900,2537,2167,2006,2182,2847,2745,2796,2875,2448,2749,3270,2940,2309,2031,1960,2165,2082,2820,3360,2237,1982,2402,2158,1986,2301,2535,2321,1794,1569,1625,1646,1765,1815,2168,2380,2119,2093,1959,2104,2607,2082,1620,1463,1563,1797,2140,2324,2054,1614,1580,1770,2058,2200,2197,2098,2331,2020,1635,1645,1862,1852,1787,1698,1854,1754,1743,1705,1703,2468,2996,2946,2995,2968,2584,1850,1677,1555,1601,1902,2412,2563,2198,2336,3174,2427,1686,1617,1650,1553,1806,2150,2128,2264,2338,1780,1428,1505,1459,1650,2015,1830,1472,1376,1581,1606,1751,2492,2385,1717,1416,1620,2080,2143,1949,1769,1687,1618,1792,1686,1830,2209,2415,2094,1955,1876,2004,1998,2094,1995,1918,2034,1923,1726,1846,1913,1848,2200,2454,2149,1857,1930,2163,2305,2065,1784,2065,2131,1834,1851,1770,1722,1881,2180,1957,1854,1812,1691,1793,2054,2255,2132,1757,1848,2366,2585,2664,2557,2651,2880,2768,2556,2500,2533,2431,2176,2339,2447,2877,3052,2902,2444,2297,2510,2309,1974,2074,2152,1951,1825,1802,2336,2484,2488,2499,2216,2344,2680,2426,2076,1715,1652,1743,1704,1723,1656,1594,1615,1804,2008,2008,1676,1788,2137,2016,1870,1847,1986,2220,1860,1938,1922,1761,2222,2810,2492,2156,2967,3527,3558,3537,3414,3565,3595,3422,3098,3210,3416,3927,4452,4524,4321,3851,3584,3991,4332,4263,4517,4368,4094,4166,4432,4519,4624,4535,4479,4564,4344,4360,4456,4438,4549,4207,4508,4169,3416,2828,2973,3687,3617,3328,3228,3561,4036,4261,3874,3587,3675,3828,3728,3759,3972,3916,3642,3547,3594,3847,3963,4140,4376,3972,3742,3904,3983,3830,3821,3748,3779,3913,3898,3785,3721,3535,3732,3584,3506,3276,2728,2342,2178,1997,2072,2331,3020,4207,4376,4377,3763,3507,3638,3438,3738,4328,4237,3952,3694,2566,2290,2979,3949,4124,3994,4181,3996,4005,3971,3575,3373,3020,3357,3374,1941,1551,1765,1522,1702,1915,1700,1553,1715,1982,2561,2584,1971,2164,2718,2726,2866,2329,1656,1466,1510,1623,1651,2288,2626,1938,1538,1672,1623,1689,1615,1439,1106,1341,1842,2690,2194,1841,1819,1750,2198,2321,1744,1627,1660,1626,1980,1544,1236,1388,1712,1763,1814,1849,1723,1638,1611,1604,1454,1764,2256,1582,1460,1585,1593,1708,1804,1746,1714,2020,2426,2019,1575,2034,2752,2665,2009,1904,1717,1591,1964,2375,2059,1895,2364,2469,2287,2157,2101,1939,1494,1458,1649,1676,1892,1977,1692,1492,1802,1965,1798,1652,1580,1794,1904,1805,2355,2955,2919,2316,1540,1356,2420,3311,3044,2940,2410,2125,2071,2055,1660,1858,1918,1574,1536,1686,2004,2825,3238,3053,3238,3528,3549,3719,3564,3137,2631,2863,2800,2585,2756,2887,2700,2831,3440,3464,2796,2796,2912,2577,2894,3270,2939,3199,3271,2391,2751,3875,3914,3704,3516,3517,3042,3067,3017,2631,2456,2453,2392,2268,2488,3013,2648,2185,1947,1641,2008,2290,2356,2203,2106,2439,2430,2127,2088,1955,1602,1805,1961,2323,2614,3296,4069,4234,4205,4184,4110,4186,3765,2640,2150,2700,2785,1781,1967,2104,1774,1918,2889,3008,2108,1411,1637,2525,3220,2910,2187,1355,1450,1506,1799,1661,2086,2371,2312,2034,2313,3230,3274,2885,2625,2069,2157,1994,1798,2018,1917,1925,2182,2036,1616,1547,1621,2008,2092,1754,2094,2092,2150,2209,2069,2082,2180,2007,2244,2427,2067,2129,2315,2511,2747,2195,2300,2726,2723,2109,1762,1584,1616,1586,1704,2357,2296,2212,2027,1880,1814,1986,1848,2354,2570,2584,2276,1645,1872,2454,2954,2625,1619,1628,1473,1438,1751,1666,1723,2178,1964,1960,2258,2880,2879,3060,2780,2621,2647,2810,2722,2552,2482,2619,2633,2759,2735,2621,2418,2103,2763,3167,3021,2363,1878,1744,2454,2850,2243,2517,2852,2048,1649,2529,3200,3039,2818,2879,3085,2709,2069,1899,2060,1997,1447,1465,1751,2000,1956,1730,1872,2172,2150,2019,2062,1803,1556,1556,1384,1449,1504,1544,1540,1691,2049,2026,1898,2017,1984,1808,2093,2950,3322,3087,2051,1692,1942,2151,2155,1471,1040,1552,1766,1713,1958,2063,1991,2331,2698,2369,2360,2005,1516,1559,1780,1709,1686,2050,2008,1726,1776,1838,1439,1413,1350,1280,1441,1543,1194,1383,1410,1272,1334,1317,1270,1321,1980,2002,1788,1595,1491,1489,1576,1921,2012,1865,1932,1912,1704,1263,1316,1287,1349,1542,1718,1782,1572,1701,1848,2030,2472,2862,3062,3219,3207,2556,2397,1996,1970,1957,2727,3204,3552,2961,2707,3099,2630,3218,3375,2590,1653,2031,3121,3484,2800,2599,2690,2144,1579,1411,1526,1714,1710,1575,1576,1416,1696,2283,2644,3288,2924,2354,1942,1559,1613,1666,1616,1731,1561,1416,1650,1665,2036,2321,2336,2112,2069,2164,2114,2078,2020,2181,2404,2308,1998,2231,2119,2288,2220,2103,2592,2610,2454,2689,2364,2274,2279,1847,2360,2511,2575,2629,2548,2466,2556,2546,2491,2308,2258,2151,2468,2619,2237,2072,1809,2014,1920,2314,2472,2307,2654,2525,2182,2958,3630,2799,2853,3686,3504,3051,2742,2148,1766,2178,2236,1990,1866,1985,2501,2382,2300,2539,2751,3085,2600,2070,2123,2109,2861,3774,2996,2019,2568,3162,3698,3337,3034,2887,2438,3121,3608,3272,2988,3011,3087,2944,3035,2990,2846,2688,2285,2332,2350,2422,2709,2752,2842,2879,2825,2834,2814,2880,2770,2763,2727,3001,3117,3328,3370,3299,3006,2832,3012,3311,3312,3210,3654,3204,2700,2588,2574,2774,2881,2700,2580,2619,2666,2624,2742,2562,2002,2533,3086,3062,3210,3418,3400,3154,2987,2988,2776,2625,2640,2546,2480,2468,2569,2393,2353,2379,2424,2382,2350,2269,2348,2739,3037,3204,3529,3619,3443,3971,4627,4762,4620,4451,4396,4180,4070,3641,3185,3109,2660,2589,2409,2931,3239,3475,3484,2708,2568,2909,2761,3204,3498,3479,3453,3160,3306,3436,3377,3357,3077,2846,2857,2617,2121,2208,2511,2523,1991,1932,1769,1868,1693,1954,2460,2401,2436,2426,1921,1503,1676,2405,2942,2117,1655,1669,2417,2319,1975,1857,2300,2879,3032,3480,3731,2918,2429,2160,1798,1869,2055,2439,2150,2477,2740,2314,1686,1147,1175,1726,2253,2499,2189,2001,2276,2292,2054,2109,2671,2498,2193,2252,2353,2480,2082,2586,2351,2404,2547,2385,2852,3523,3398,3496,3692,3300,2806,2014,2100,3096,3038,2426,1886,1876,2584,3361,3693,3710,3182,2987,3052,3198,3454,3347,3454,3490,3564,3216,2347,2005,2798,2918,2956,3439,3463,3202,3256,3310,3115,3015,2620,2126,2499,2940,2886,3094,3304,3311,3321,3218,2438,1969,2608,2885,2536,2563,1880,1201,1690,2364,3032,3388,3352,3082,2100,1418,1438,2122,3460,3500,2568,1860,1769,1867,1708,1732,2097,1724,935,1962,2557,2663,2881,2365,1862,2321,2676,2165,2282,2519,1806,2057,2361,2453,2714,3212,3072,2884,3211,3509,3216,3034,2842,2530,2742,2943,2623,2593,2599,2495,2449,2152,1913,1771,1600,1538,1878,2149,2322,2124,2621,2852,2664,2401,1931,1687,2039,2162,2348,2642,3209,3342,2566,2115,2750,3987,3997,3552,4096,3521,2260,2235,2523,2500,2153,2013,2446,3339,3748,3829,2928,1318,1497,1578,1698,1968,2413,2785,3185,3512,3262,3133,3027,3438,2793,2546,2598,2666,2366,2562,2144,1775,1898,2030,2390,2584,2741,2778,2644,2767,2496],[3521,3421,3052,2879,2993,3085,3029,3014,3156,3072,2885,3012,3053,2972,2930,2908,3022,3018,2907,3065,3174,3059,2821,2896,2846,2556,2491,2584,2712,2645,2751,3348,3436,3118,2713,2107,1921,1741,1762,1847,1758,1774,1644,1660,2326,3364,4320,3971,2647,2660,3952,4253,4079,4078,4432,3881,3530,3658,3649,3931,4185,4273,4140,4255,4437,4457,3906,3603,3550,3915,3731,3431,3320,3395,3359,3236,3362,3067,2513,2093,2014,2121,2984,3697,3517,3408,3383,3212,2991,2845,3118,3374,2621,2637,2129,1838,2415,3089,2549,1978,2003,2193,2139,1934,2033,1637,1599,1781,2058,1931,2175,2140,2698,3489,3068,2625,2455,2307,2474,2380,1857,1857,2178,2746,2476,2492,2303,2601,2194,1791,1715,1599,1910,2023,1970,2171,2331,2195,2046,1896,1761,1796,2103,2124,2183,2260,2644,2875,2447,2754,2917,2674,2236,2427,1849,2489,3218,3235,3016,2534,2231,2239,2288,2276,2186,2431,2360,1857,1689,1520,2115,2300,2209,2428,2740,3061,3460,3588,3080,2745,2465,2234,2104,2169,2017,2451,2496,2438,2895,2683,2383,2315,2272,1586,1711,1873,2430,2470,2600,2316,2053,2946,2875,2749,2534,1553,1833,2017,1860,1857,2199,1836,1489,1897,1729,2181,2180,1670,1770,1856,2134,2355,2060,2322,2162,2752,3485,2793,1846,1942,1878,1757,1915,1626,1480,1547,1858,2492,2507,2158,3298,3819,3427,3521,2950,2698,3122,2928,2382,2081,1630,1592,2451,2614,2121,2014,2277,2493,2413,2059,1648,1747,2060,2245,2356,1954,1896,1872,1664,1841,2133,2070,1930,1621,1538,1574,1761,1825,1717,1692,1571,1730,1738,1912,1980,1785,1992,2396,2194,1488,1483,1740,1509,1403,1484,1618,2276,2669,2679,2984,2933,2921,2497,1931,2070,1875,1831,2267,2152,1827,2322,2570,2619,2408,2491,2044,1934,2631,2611,2598,2548,2412,1915,1870,1757,1826,2364,2546,2634,2763,2875,2691,2583,2424,2233,2140,2337,2434,2230,2003,1972,2031,2392,2649,2666,2417,2168,2167,2270,2084,1946,2110,1942,1802,2185,2732,2466,1916,1737,2235,2525,2074,1430,1613,1560,1857,1682,1800,2185,1707,1440,1874,2083,2215,2311,2182,2332,2017,2204,2203,2125,2623,2697,3239,3256,2932,2588,2480,3343,3697,3346,3216,2308,2183,2441,2731,2839,3349,3702,3033,2655,3112,3282,2657,2063,2064,2250,2513,2977,3000,3141,3520,3986,3245,2477,2477,2494,2374,2272,2188,2102,2131,2620,2962,2801,2770,2675,2616,3283,3408,3089,3079,2765,2750,2586,2590,2943,2673,2894,3143,3355,3738,3993,3486,2895,2612,2417,2286,2360,3567,3102,2352,1974,2121,2201,2320,2319,2017,1965,1749,1593,1487,1765,1872,2022,2399,2556,2246,2100,1762,2337,2775,2180,2021,1789,1875,1770,1654,1527,1803,1748,1739,1565,1462,2128,2242,2278,2416,1751,1641,1759,2151,2030,1816,1792,1874,1749,1766,1618,1497,1751,2037,2283,2433,2316,2583,2187,1747,1573,1460,1727,1936,2000,1970,2414,2514,1796,1597,1453,1503,1566,1648,1755,1681,1770,1788,1410,1392,1497,1367,1560,1901,1815,1504,1550,1676,1624,1959,2172,2244,2292,2078,1742,1970,2291,2175,2242,2123,1886,1873,1671,1835,2051,2170,2054,1930,1773,1809,1953,2045,1900,1741,1857,1911,1971,2004,1869,1963,2276,2545,2370,2164,2098,2105,2124,2037,2047,1975,1921,2068,1746,1858,1900,1770,1757,1760,1841,1737,1538,1685,1903,2067,2145,2071,2142,2421,2603,2626,2565,2732,2900,2697,2453,2525,2801,2783,2696,2346,2109,2473,2512,2557,2459,2300,2361,2189,1987,2004,1747,1715,1794,1765,2246,2415,2548,2779,2116,1479,1883,2057,2388,1964,1494,1592,1932,1920,1637,1763,1853,1915,2020,1970,1840,1928,1914,1690,1580,1764,1998,2120,2121,2105,1945,1732,1724,2003,1975,2303,3378,3693,3443,3431,3514,3544,3596,3729,3522,3631,4062,4421,4525,4511,4407,3961,3794,4418,4619,4082,4095,3918,4006,4062,4024,4200,4288,4177,4183,4348,4466,4456,4349,4419,4187,4187,4500,4209,3275,2386,2901,3464,3704,3481,3431,3770,4016,3991,3827,3737,3862,3925,3823,3679,3641,3662,3681,3541,3607,3869,3950,4169,4096,3945,3815,3946,3810,3673,3920,4062,3974,3811,3609,3603,3715,3698,3807,3583,3166,2597,2286,2170,2018,2020,2374,2886,3124,4160,4249,4095,3641,3683,3825,3651,3418,3571,3421,3283,3083,2252,2260,2334,3349,4151,4263,4185,3857,3672,4133,3794,2889,2552,3137,3211,2536,1803,1583,1537,1733,1746,1561,1517,2042,2653,3062,3211,3060,3055,2969,2543,2602,1900,1787,1997,1820,1718,2049,2480,2173,1779,1619,1747,1620,1592,1650,1624,1441,1813,2608,2820,1661,1297,1703,1811,1687,1546,1388,1451,1887,1640,1678,1332,1284,1336,1449,1647,1747,1740,1650,1330,1280,1424,1470,1545,1697,1427,1434,1560,1749,2000,1930,1641,1688,1948,2195,1729,1739,1928,2213,2388,2359,2378,2057,1803,2295,2557,2207,2685,2988,2467,2157,2428,1768,1503,1325,1300,1603,2097,2173,2066,1917,2061,2678,2526,2000,1732,1534,1783,2271,2226,2664,3090,3075,2833,1796,1554,2955,3682,3451,2976,2460,1659,1438,1338,1545,1729,1554,1610,1789,1868,2608,3464,3085,2771,2943,3497,3665,3886,3372,2677,2790,3121,3032,2786,2820,3096,2774,2645,3075,2763,2724,2684,2630,2836,3260,3322,2788,2669,2243,1949,2468,3754,3959,3768,3665,3574,3276,3218,3297,2940,2451,2321,2166,1972,2332,2303,1958,2474,2198,1907,1940,2220,2413,2442,2401,2393,2432,2450,2015,1730,1951,1744,1763,1971,2194,3145,3978,4039,4119,4231,4204,4364,4028,3139,2303,2137,2822,1992,1625,1918,2045,2549,3319,3574,2830,1641,1686,1878,2071,2651,2257,1438,1302,1427,1493,1682,2027,2367,2568,2421,2386,2674,2502,2199,2025,1581,2305,2154,1816,1716,1754,2210,2327,1945,1803,1913,1619,1916,2223,1967,2085,1783,1620,1831,1672,2064,2498,1959,2140,2877,2358,2116,2168,2415,2330,1851,1662,2253,2244,1660,1535,1480,1570,1875,2494,2733,2187,1851,1976,1959,2032,1840,1888,2636,2662,2342,2132,1787,1830,2188,2154,1891,1525,1533,1580,1641,1578,1318,1714,1947,1888,2242,2154,2510,2611,2614,2837,2583,2422,2547,2208,2037,2598,2974,3047,2986,2565,3106,3062,2881,2990,3285,3562,2810,2569,2749,2940,2958,2215,2322,2652,2047,1823,2663,3182,2811,2407,1751,2171,2379,1905,2410,2751,1911,1127,1468,1636,1691,1617,1606,1766,2037,1865,1658,1520,1715,2276,2016,1755,1513,1415,1474,1494,1722,2047,2093,1689,1549,2149,2367,2292,2655,2678,2615,1760,1945,2442,2103,1676,1688,1751,1899,1802,1781,2037,2217,2608,2833,2814,2350,2315,2212,1781,1740,2076,2029,2143,2418,2361,2083,2014,1931,1537,1603,1391,1298,1448,1428,1248,1404,1562,1592,1582,1506,1414,1332,1845,1823,1759,1548,1469,1632,1782,2003,1932,1819,2041,1847,1666,1312,1493,1487,1538,1653,1695,1540,1449,1640,1945,2625,3377,3463,3207,3272,3339,2542,2020,1921,1981,2215,2987,3265,3489,3209,2413,2931,2722,2940,3450,2752,2303,2690,3056,3027,2949,2863,2934,2771,2281,1791,1989,2155,1990,1818,1691,1367,1680,2182,2577,2962,2589,2203,1896,1742,1654,1670,1470,1502,1496,1417,1599,1636,1837,2126,2158,2099,2117,2178,2033,2048,2020,2110,2330,2491,2294,2466,2116,1793,1955,2601,3144,2838,2697,3091,2555,1844,1751,2155,2272,2377,2665,2449,2150,2238,2288,2326,2293,1918,2106,2334,2283,2432,2276,2527,2117,2050,1982,1801,1905,2221,2408,2124,2415,3454,3129,3078,3285,3326,3360,2841,2357,1978,1750,1748,1809,2101,1944,1558,2265,2580,2592,2706,2954,2921,2353,2227,2361,2629,3452,3927,2486,2168,2450,3043,3741,3576,3090,2507,2566,3351,3478,3078,2901,3129,3105,2988,3046,3084,2736,2808,2654,2425,2446,2426,2389,2480,2628,2612,2579,2573,2522,2459,2343,2570,3025,2932,2865,2864,2878,2963,2734,2525,2821,3116,3153,2987,3189,3036,2966,2786,2668,2884,2720,2592,2758,2821,2633,2557,2580,2998,2339,2597,3100,3134,3219,3326,3278,3116,3094,3142,2951,2687,2597,2576,2492,2363,2350,2416,2458,2520,2670,2510,2372,2570,2823,2977,2843,2752,3053,3188,3387,4140,4652,4784,4765,4753,4452,3939,4093,3773,3436,3316,2914,2619,2746,2810,3022,3399,3588,3275,3063,3077,2692,3227,3112,2987,3078,3017,3406,3564,3424,3296,3320,3221,3084,2775,2446,2174,2566,2294,1786,2302,2416,2114,1951,2014,2250,2451,2556,2120,1526,1543,1676,2122,2836,2754,1869,1614,2341,2728,2414,2075,2989,3628,3334,3240,3275,2793,2303,1733,1759,1929,2399,2253,1946,2233,2569,2586,2167,1810,1424,1160,1540,1624,1539,1737,2179,2208,1937,2171,2504,2692,2962,2873,2455,2209,1762,1820,1888,2578,2607,2424,2632,2881,3106,3564,3422,3642,2835,1648,1638,2473,2910,2949,2777,2796,3334,3233,2877,2891,3599,3437,3189,3252,3378,3347,3465,3525,3460,3077,2450,2485,3349,3120,3130,3461,3619,3454,3464,3338,3030,3118,3365,3225,3385,3740,3621,3077,3334,3458,3504,2952,2433,2308,2833,3209,3052,3145,2648,2098,2342,2636,3312,4083,3662,3537,2808,1997,1956,2752,3364,3674,3452,2288,2032,2136,1701,1461,2356,2568,1940,3120,3276,2966,2547,1714,1942,2931,2862,1845,1930,1991,1895,2510,2685,2276,2412,2677,2699,2967,3232,3214,3225,3155,2620,2428,3112,3199,2678,2569,2854,2791,2381,1965,1956,2037,1758,1521,1741,2282,2476,2520,2482,2614,2639,2086,1662,1552,1702,2406,3040,3063,3094,3132,2297,2036,2890,3759,3870,3792,3981,2785,2223,2562,2585,2219,1818,1999,2210,2533,2939,3203,2155,1217,1676,2371,2380,2381,2843,3190,3391,3463,3310,2922,2963,3197,2685,2643,2815,2795,2560,2360,2117,2135,2088,2162,2524,2459,2400,2277,1769,2290,3189],[3686,3561,3189,2965,2997,3018,3312,3257,3041,2897,2880,2997,2868,2667,2657,2814,2986,3018,2931,2943,2911,2871,2910,2757,2438,2415,2487,2580,2667,2539,2534,3002,3208,2620,2122,1850,1691,1835,1913,1802,1699,1653,1832,2286,2344,2507,3292,2818,2143,2730,4128,4288,4099,4214,4398,4005,3673,3557,3449,3353,3907,4201,4185,4248,4220,4388,4180,3771,3781,3978,3879,3792,3595,3563,3309,3287,3120,2785,2392,2132,2324,2602,2814,2995,3010,2979,2981,2761,2734,3166,3793,3652,3000,2544,1979,2269,2307,2680,2796,2214,1806,1955,2169,2020,2049,1692,1542,1742,1775,2070,2267,2260,2957,3199,2740,2371,2239,2557,2334,2497,2239,2281,2729,2610,2238,2285,2774,3047,2396,2135,1957,1679,1790,1456,1375,1863,2362,2174,1784,1874,1813,1888,1884,1869,1981,1892,1925,1890,2068,2645,2626,2256,2080,2105,2157,2648,2942,3000,2927,2608,2648,2357,2449,2359,2343,2635,2879,2109,1708,1965,2614,2676,2533,2929,3520,3680,3668,3475,2739,2817,2673,2398,2179,2486,2160,2358,2478,2024,2304,2438,2220,2191,1982,1843,2241,2617,2437,2301,2274,1847,2109,2698,3118,3168,2405,1562,1827,2369,2074,1604,2064,1869,1932,2283,1802,1646,1815,1676,1836,2103,2194,2192,1723,1675,2383,3096,3911,3016,1936,2206,1836,1435,1790,1777,1346,1431,1891,1969,2610,2777,3339,4092,3872,2986,2290,2470,3040,3270,3342,2109,1382,1487,1929,2243,1981,1973,2215,2155,2088,2067,1532,1476,1697,1856,1819,1694,1592,1447,1612,1735,1953,2122,1948,1620,1490,1717,1924,1810,1578,1722,1764,1714,1522,1549,1707,1836,1842,2366,3319,2444,1686,1688,1516,1610,1456,1570,2535,2526,2852,3104,2592,2569,1933,1845,2132,1866,1997,2957,2343,2111,2355,2788,3140,2790,2514,2118,2130,2648,2688,2546,2541,2697,2102,2007,1921,2081,2504,2732,2678,2658,2708,2434,2181,2275,2391,2363,2607,2159,2248,2338,2329,2357,2395,2651,2795,2705,2336,2116,2264,1837,1782,1941,1961,2047,2858,3240,2997,2351,1974,2302,2071,1941,1464,1629,1760,1683,1368,1407,1588,1482,1448,1757,1878,2306,2134,1621,1978,1705,1642,2054,2512,2991,3360,3437,3015,3046,2898,3159,3687,3624,3510,3594,2973,2776,2942,3153,3228,3547,3692,3232,2684,2630,3648,3392,2351,2025,2011,1992,2333,2436,2754,3283,3134,2494,2253,2199,2634,2429,2505,2601,2432,2351,2164,2080,2291,2680,2674,2967,3688,3239,2798,3166,3316,2954,2583,2599,2995,3319,3228,2845,2513,2989,3562,3773,3408,3387,3444,3019,2589,3464,3430,2956,2088,1776,1938,2051,1985,2057,2482,1958,1904,1825,1904,1869,2136,2421,2212,1899,1893,1676,1792,2441,2909,3206,2710,2099,1861,1685,1578,1620,1605,1783,1866,2111,2099,2182,2577,2386,1568,1568,1384,1543,1761,1730,1715,1633,1641,1659,1372,1245,1353,1490,2015,2043,1790,1916,2275,1902,1605,1686,1726,1781,2084,1992,2007,2002,1975,1793,1641,1712,1485,1492,1772,1674,1722,1568,1339,1470,1539,1425,1620,1894,1801,1512,1635,1655,2110,2731,2381,1873,1908,2046,1776,1895,1880,2154,2518,2488,2479,1977,1793,1772,1895,1795,1731,1814,1814,1801,1807,1841,1781,1668,1699,2003,2048,2008,2160,2146,2124,2248,2257,2212,2192,2203,2191,2041,2010,1851,1780,1643,1392,2200,2656,1970,1563,1718,1962,1929,1763,1768,2126,2094,1947,2138,2410,2481,2426,2476,2467,2564,2563,2457,2540,2751,2566,2830,2919,2336,1901,1868,2306,2779,2556,2315,2484,2352,2178,2087,1907,1827,1920,1926,2094,2284,2526,2745,2168,1389,1606,1947,2109,1686,1774,1675,2177,1755,1159,1792,2236,1878,1906,2041,2016,1860,1842,1732,1874,2108,2131,1975,2060,2183,2133,1852,1666,1958,2575,2745,3353,3514,3299,3311,3450,3509,3642,3647,3574,3788,4243,4440,4425,4379,4376,3597,3728,4169,4321,4008,3868,3874,4232,4288,4108,4241,4328,3939,3705,4073,4488,4231,4132,4291,4145,4291,4456,4329,3327,2831,3344,3536,3597,3453,3859,4106,3754,3841,4152,4079,3952,3827,3731,3493,3505,3495,3582,3471,3673,3841,3994,4141,4169,4211,4228,4152,4019,4152,4120,4279,4143,3927,3602,3394,3586,3692,3566,3228,2676,2336,2096,1923,2076,2856,3233,3437,3194,3732,3813,3814,3829,3918,3951,3741,3449,3145,2502,2917,3107,2750,2718,2709,2953,3948,4194,4211,4183,4106,4144,3543,3042,3121,2981,2990,3106,1935,1644,1696,1860,1710,1548,1960,2668,3071,3339,3176,2996,2769,2623,2420,2136,1963,1977,1844,2025,1901,1819,2110,2060,2405,1692,1658,1707,1601,1817,1711,1572,1797,2459,2282,1374,1302,1556,1707,1778,1580,1443,1492,1817,1795,1579,1558,1535,1495,1656,1746,1443,1589,1579,1508,1610,1638,1656,1640,1574,1486,1561,1807,2051,1949,1641,1581,1684,1456,1574,1854,1824,1718,1804,1697,2026,2475,2136,1900,1989,2092,1871,2110,2215,1975,2006,1967,1785,1954,1576,1409,2210,2787,2504,2089,2082,2220,2301,2413,2088,1559,1493,1701,2238,2154,2174,2104,1989,2264,1654,1568,2027,3085,3862,3494,2526,1747,1517,1521,1920,2066,1586,1631,2123,2531,3166,3145,2854,2964,3598,3739,3708,3670,2872,2382,2734,2924,3047,2597,2710,2956,2695,2309,2198,2191,2430,2508,2589,2784,2951,3060,2850,2641,1958,1739,2090,3503,3896,3826,3802,3015,2668,3303,3297,3071,2592,2278,2063,1863,2366,2148,2504,2840,2627,2213,1890,1930,2047,2125,2057,2335,2476,2390,1998,1746,2098,1771,1995,2314,2272,2804,3639,3942,4104,4232,4288,4261,3928,3597,3101,2216,2326,2073,1934,1950,1920,2247,2658,3034,2872,2204,2005,1765,1674,2308,2644,1926,1474,1413,1440,1668,1763,2025,2370,2089,1831,2071,2172,2243,2045,1588,1986,2062,1817,1677,1746,1794,2054,1537,1617,2197,2109,1754,1973,1864,1446,1258,1411,1596,1460,1691,2054,1781,1765,1849,1824,1716,1954,1833,1469,1464,1803,2131,1982,1578,1490,1403,1541,1845,2345,2209,1644,1562,2001,2065,2106,1955,1999,2380,2476,2354,2354,1784,1542,1689,1584,1494,1484,1427,1608,1673,1483,1526,1655,1371,1704,2254,2156,2054,2075,2136,2686,2737,2574,2885,2628,2605,3380,3276,2957,2900,2941,3439,3475,3204,2871,2984,3120,2713,2884,3216,3262,2857,2073,2187,2729,2510,2049,2621,3009,2874,2430,2205,2942,2792,2280,2663,2712,1756,2052,2296,1807,1626,1876,1923,2192,2420,2175,1591,1502,2627,2994,2265,1853,1532,1560,1532,1574,1643,1844,2000,1780,1759,2038,1884,1719,2112,2188,2285,1771,1740,2258,1991,1519,1552,1982,2571,2424,1983,1951,2271,2952,2247,2426,2480,2293,2188,1922,1807,1762,2064,2245,1991,1951,2254,2154,2166,2214,1788,1426,1284,1340,1429,1273,1259,1434,1532,1628,1600,1512,1529,1862,1817,1692,1649,1822,1950,1745,1686,1482,1553,1861,1860,1645,1574,1555,1582,1831,1868,1591,1387,1624,1781,2074,2824,3416,3022,2462,2592,2966,2555,2030,1798,1947,2731,3287,3242,3273,3220,2462,2670,2739,2768,3212,3163,2986,2993,2620,2636,3145,3050,2886,2898,3130,3205,3261,2588,2220,1998,1750,1560,1554,1891,2436,2760,3175,2750,2092,1779,1616,1622,1469,1673,1744,1567,1619,1623,1671,1932,2129,2139,2120,2294,2178,2068,1981,2031,2189,2526,2304,2048,2303,2669,2202,2258,2931,3039,2408,2310,2423,1971,2513,2493,2054,2546,2740,2492,2431,1982,2047,2387,2314,1975,2718,2468,2053,2178,2380,2496,2343,2385,2144,1943,1949,2194,2237,2153,2418,2851,3326,3644,3399,3057,2470,2279,2736,2328,1908,2085,2455,2730,2636,2430,2455,2415,2663,3030,2895,2079,1935,1980,2045,2849,3701,3669,2270,2733,2512,2440,2943,2850,2404,2256,2835,3525,3273,2788,2940,3205,3372,3255,3104,2935,2530,2692,2634,2474,2552,2510,2503,2252,2197,2358,2458,2417,2253,2341,2406,2316,2458,2548,2578,2706,2619,2468,2468,2446,2744,2940,3122,2720,2767,2996,2776,2744,3045,2864,2708,2805,2920,2836,2770,2536,2253,2712,2438,2595,3005,2860,2712,3198,3227,2988,2540,2788,3108,2636,2614,2583,2504,2421,2397,2568,2600,2670,2719,2576,2397,2478,2799,2918,2998,2358,2181,2698,3155,3858,4608,4575,4664,4761,4400,4244,4068,3718,3716,3342,3109,3112,3183,3089,3028,3459,3682,3588,3037,2270,2788,3405,3164,2665,2474,2963,3541,3482,2942,2408,2177,2797,3069,2731,2646,2885,2721,2209,2388,2679,2426,2478,2508,2097,2269,2667,2600,2203,1629,1902,1509,1345,2072,2407,1958,2069,2452,3042,3021,2784,3231,3161,2740,2642,2648,2289,1955,1732,1782,2299,2712,2508,2427,2024,2640,2730,2872,2713,2099,1518,1630,1701,1719,2266,2500,2384,2423,1913,2009,2532,2659,3018,3184,2609,1969,1791,2143,2409,1983,1927,2499,3075,2940,2843,3707,3916,2384,1660,2261,2862,3371,3817,3625,3415,3647,3197,2342,1925,3270,3836,3188,3095,3325,3467,3559,3414,3150,2764,2273,2443,3202,3200,3296,3646,3753,3507,3363,3287,3220,3518,3793,3533,3420,3772,3671,3203,3328,3229,3094,2580,2282,2646,3438,3640,3266,3234,2790,2596,2434,2923,3370,3773,3540,3165,1992,1426,2436,3052,2544,2529,2600,1830,2137,2792,2685,2123,2564,2894,3010,3171,2711,2165,1393,1732,2775,3433,2577,1747,1943,2214,2210,2370,2051,1201,1787,2962,3564,3662,3618,3563,3742,3239,2488,2195,2828,2877,2692,2874,3220,3089,2512,1978,1832,1842,1718,1790,2014,2565,2450,2180,2536,2964,2865,2426,2072,2042,2067,2803,2982,2792,2654,2712,2625,2743,3463,3598,3723,4381,3933,2398,2282,2602,2304,1625,1476,2063,2033,2037,2424,2403,2250,1783,2216,3173,3144,2749,2612,2426,2951,3562,3041,2586,2653,2658,2428,2347,2450,2845,3150,3005,2306,1728,1606,2019,2322,2319,2452,2364,1797,1681,1764],[3230,3198,3093,2953,2979,3074,3301,3019,2874,2985,3058,3064,2908,2679,2778,2944,2917,3012,3024,2928,2878,2895,2780,2479,2302,2321,2450,2497,2503,2552,2768,2910,2562,2097,1798,1658,1759,1981,1863,1654,1613,1898,2408,2154,1734,1720,1941,1882,1985,2314,3594,4112,4063,4007,4082,4034,3494,3493,3256,3295,4050,4272,4162,4113,3667,3450,3651,3827,4047,4067,3960,4237,3936,3670,3307,3249,2470,2556,2907,2814,2969,3213,3077,2949,2910,2641,2291,2022,2512,3283,2774,2775,2663,2052,1934,2386,1877,1759,2282,2163,1759,1843,2128,2167,1852,1575,1879,1802,1667,2384,2755,2945,3014,2742,3122,2719,2483,2767,2252,2145,2007,2182,2294,1924,1877,1963,2128,2512,2531,2218,1505,1638,1699,1614,1591,1767,2173,1932,1781,1788,1679,1533,1716,1879,1895,1876,1794,1697,2123,2248,2347,2336,2083,1999,2279,2800,2927,2763,3063,3309,3094,2557,2851,2833,2655,2762,3100,2867,2389,2310,2619,2668,2968,2928,2876,3259,3359,3084,2757,3231,2943,2377,1891,2304,2557,2221,2775,2780,2854,2253,1858,1852,1869,1976,2580,2955,2536,2674,2569,1786,2207,2674,3326,2972,2010,1766,1796,3023,3118,2691,2360,1910,2179,2271,1931,1959,2109,1577,1506,1803,2129,2618,2269,1958,2851,3530,3385,2578,1923,2050,1708,1656,2587,2217,1505,1692,2084,1879,2322,2507,2917,4101,4252,3183,2360,2134,1937,2163,2780,1979,1526,2027,2764,2854,2291,2015,2513,2868,2045,1687,1626,1651,1817,1563,1371,1603,1730,1727,1744,1727,1855,1914,2127,1879,1606,1744,2310,2209,1863,1831,1847,1879,1769,1453,1753,2333,2187,1821,2287,1868,2164,2092,1941,1953,1743,1723,2297,2419,2276,2520,2776,2407,1723,1643,1889,1901,2107,2467,1985,2136,2257,2282,2832,3197,2674,2430,2497,2187,1932,2120,2289,2566,2455,2075,1866,2354,2774,2610,2501,2227,1772,1619,1599,2023,1976,1996,2435,2491,2467,2455,2531,2813,2736,2607,2654,2644,2199,2053,2270,2260,2001,2160,2156,2156,2649,2792,2932,2467,2126,2230,1834,1810,1636,1793,1748,1551,1533,1582,1591,1489,1606,2060,1954,1528,1361,1544,2352,1803,1714,2468,2697,2750,3248,3242,2789,3022,3229,3686,3772,3682,3637,3473,3469,3329,2880,3227,3937,3994,3654,3342,2718,2589,3585,3595,2548,2326,2194,1956,2294,2710,3079,3134,2468,2314,2150,2321,2541,2353,2433,2535,2486,2469,2132,1766,1988,2418,2513,2794,3532,2955,2235,2568,3106,3207,2863,2661,2889,3234,3477,2646,1644,2517,3373,3572,3138,3687,3935,3560,3195,3108,3051,2809,2039,1641,1687,1956,1978,1961,2237,2110,2150,2004,1764,1677,1969,2165,1911,1591,1752,1722,1616,1714,2892,3345,2410,1736,1659,1730,1721,1537,1550,1890,2696,3354,2994,2656,2337,1996,1786,1529,1427,1817,1906,1531,1504,1666,2023,2050,1970,1559,1692,1692,1782,2048,2137,1838,2068,2023,1768,1614,1528,1731,2055,1682,1749,1738,1836,1825,1953,2112,1747,1903,1980,1715,1663,1568,1472,1792,2095,1707,1714,2042,1910,1582,1669,1703,1889,1907,1826,2061,2014,2464,2283,1962,1633,2231,2564,2532,2344,1954,1772,1654,1620,1633,1793,1600,1631,1691,1772,1783,1815,1803,1810,1905,1806,1932,2151,2154,2214,2557,2637,2387,2809,2641,2156,1754,1907,2010,1996,1970,1842,2758,2998,2078,1852,1985,2157,2163,1982,2068,2273,2138,2030,2108,2340,2477,2426,2409,2411,2408,2404,2569,2721,2721,2642,2879,2583,2133,2094,2130,2438,2654,2598,2352,2404,2207,2067,1870,1672,1775,1843,1729,1613,1871,2371,2199,1805,1877,2872,3106,2344,2006,2482,2600,2307,1831,1632,1874,2264,2039,2210,1982,1532,1564,1750,1835,1809,1913,1829,1679,1886,1967,2019,1986,1892,1990,2297,2134,2302,2954,3440,3658,3466,3413,3605,3704,3780,3996,4293,4525,4608,4554,4382,3769,3282,3557,3973,3907,3898,4168,4300,4108,3974,3985,3913,3964,3770,3995,4372,4439,4509,4340,4020,4098,4184,3938,2566,3839,4108,3959,3641,3770,4093,4058,3885,4213,4289,4123,3846,3753,3672,3499,3459,3435,3435,3543,3689,3851,4181,4141,3899,4142,4261,4037,3972,4280,4007,3960,3982,3930,3700,3474,3739,3611,2953,2589,2368,2130,1981,2298,2887,3450,3330,3709,3739,3739,3903,4055,4264,4222,3654,3393,3124,3240,3097,3196,2714,2576,2832,2790,2898,3576,4080,4229,4120,3515,3119,3049,3100,2918,2325,2900,2832,2225,1958,1660,1648,1577,1606,2315,2741,2579,2293,2162,2089,2649,2346,2193,2286,2455,2296,2065,2296,1878,1509,1701,1864,1842,1426,1496,1777,2129,2432,2104,1876,2181,2351,1978,1646,1437,1543,1748,1907,1826,1951,2048,1842,1584,1429,1443,1626,1788,1798,1625,1551,1644,1726,1616,1916,1959,1743,1712,1483,1676,2043,1960,2184,2221,2144,1876,1650,1466,1715,2058,1960,1876,1698,1515,1880,1999,1642,1599,1886,1803,1561,1459,1720,1758,1763,1536,1538,1639,1523,1770,2781,3101,2636,2058,2002,2044,2103,1935,1671,1518,1620,1764,1734,1825,2054,2144,2087,2325,1659,1952,2059,3154,3847,3119,2158,1967,1814,1726,1864,1874,1852,1859,2348,2461,3043,3499,3076,3105,3781,3908,3731,3555,2933,2203,2230,2714,3207,2952,2532,2467,2562,2348,2119,1720,1694,1936,2309,2481,2766,2942,2927,2691,2163,2277,2685,3437,3693,3550,3674,3429,3414,3702,3396,3284,2963,2234,1837,2286,2775,2753,2968,2709,2600,2656,2208,1902,1897,1947,2247,2372,2447,2402,2111,2244,2329,2222,2833,2910,2519,2860,3408,3831,3986,3895,3838,3837,3741,3830,3545,2666,2293,2539,2674,2108,1782,1724,2146,2010,2155,2601,1951,1668,2226,2969,3050,2271,1927,1774,1698,1651,1532,1781,2171,1815,1541,1590,1630,1985,2154,1790,1433,1395,1548,2432,3394,1731,1785,1891,2275,3035,2411,1899,2266,1986,1593,1616,1597,1754,1839,1786,1967,2007,1838,1622,1788,1700,1701,1570,1425,1765,2234,2001,1692,1483,1576,1619,1504,1742,2098,1910,2039,2597,2418,2212,2392,2439,2076,2416,2608,2399,1982,1768,1675,1628,1536,1399,1434,1692,1693,1668,1749,1548,1611,1460,1586,1966,2304,2235,2269,2509,2833,2907,2530,2482,1834,1947,2964,2924,2750,2706,2819,2792,3316,3482,3098,2949,2796,2654,2828,2564,2686,2355,2144,2259,2720,3178,2929,2599,2863,3179,2922,2587,2552,2008,1694,1982,1945,1766,2574,2313,1603,1936,2362,2178,2354,2011,1818,1469,1787,2832,3185,2354,1625,1405,1467,1530,1523,1520,1695,1781,1798,1902,1808,1743,1917,2532,2553,2546,2136,1749,1941,2010,1672,1756,1810,2063,2114,1773,1750,1930,2045,1800,2437,2509,2035,1803,1888,1865,1442,1758,1845,1806,2015,2352,2242,2139,2066,1824,1600,1493,1538,1457,1581,1832,1574,1669,1800,1576,1292,1416,1760,1808,1851,1904,1816,1639,1357,1300,1368,1662,1830,1961,1422,1137,1374,1630,1869,2045,1888,1599,1776,1853,1825,2119,2885,3098,2976,2561,2099,1954,1875,1725,2176,3168,3384,3004,2713,2868,2395,2360,2418,2093,2402,2908,3009,2889,2742,2708,2947,2509,2500,3072,3594,3864,3868,3364,2941,2064,1477,1445,1412,1855,2669,2565,2541,2363,2214,1868,1843,2076,2011,1757,1528,1359,1537,1669,1623,1742,2128,2105,2063,2316,2319,2062,1901,1975,2072,2301,2365,2040,2388,3593,3119,2599,3106,2944,2224,2434,2488,2631,3016,2272,1992,2465,2350,2075,2294,2090,1810,2265,2468,2380,2519,2636,2743,2506,2484,2422,2435,2400,1935,2235,2035,1980,2364,2433,2744,3264,3516,3529,3349,2768,2246,2637,2825,2468,2456,2537,2536,2857,3055,2921,2548,2274,2604,2893,1919,1429,2031,2018,1883,2097,2699,2553,2242,2642,2599,2306,2232,2266,2194,2160,2681,2893,2885,3012,3140,3260,3519,3472,3249,2812,2441,2413,2451,2452,2613,2512,2522,2346,2321,2525,2421,2278,2242,2341,2287,2094,2061,2119,2173,2218,2102,2120,2335,2361,2599,2713,2864,2712,2671,2765,2607,2630,3060,2927,2841,2845,2817,2436,2307,2350,2485,2579,2698,2998,2958,2821,3168,3498,2896,2879,2418,2953,3057,2598,2579,2678,2682,2578,2512,2573,2664,2626,2482,2509,2452,2375,2475,2615,2734,2315,2292,2830,3205,3816,4245,4200,4360,4352,4026,3696,3719,3582,3440,3226,3203,3295,3527,3519,3191,3304,3682,3423,3124,2679,3073,3308,3165,2783,2474,2840,3562,3587,2525,1679,1396,2046,2032,2699,2961,3124,3047,3145,3199,3274,2841,2220,2069,2069,2350,2771,2679,2182,1992,2139,1540,1047,1502,2199,2592,2490,2602,2852,2691,2207,2533,2813,2860,2914,2722,2152,1896,2051,2292,2862,2732,2577,2394,2390,2309,2543,2666,2562,2343,2041,2096,2047,2208,2459,2348,2542,2395,1853,2173,2276,1976,2338,2993,2565,1817,1751,1837,2157,1669,1655,1866,2106,2230,2566,4157,4429,2995,2473,2895,3235,3619,3544,3384,3508,3216,2430,2140,2174,2611,2878,2932,3185,3608,3775,3539,3186,2818,2688,2571,2315,2931,3262,3507,3773,3726,3406,3299,3324,3377,3492,3454,3541,3469,3341,3024,3083,3240,3095,3020,2763,2442,2828,3155,3652,3771,3423,2675,2172,1938,2689,3299,3550,3350,2641,2210,2646,3282,3037,2237,2190,2227,1932,2033,2768,2691,2637,2587,2756,3366,3200,2452,1608,973,1418,2059,2712,2208,1707,1843,2372,1600,1447,1653,1604,2501,3627,4141,3735,3460,3532,3544,3163,3152,3028,3168,3595,3560,3361,3575,2941,2809,2471,1941,1996,1900,1852,2406,2450,2554,2040,2285,2743,2437,2200,2178,2619,2271,2216,2381,2829,2351,2060,2192,2514,2988,3101,3460,4236,3759,2687,2796,2546,1942,1430,1414,2040,2087,2414,2706,2525,2366,2424,2640,2743,3144,3019,3129,2133,2481,3294,3186,3121,2930,2882,2862,2579,2484,2636,2867,2967,2642,1762,1842,1963,1934,2298,2413,2219,2007,1807,1603],[2756,2732,3019,3134,3137,3064,2868,2787,3015,3193,3179,3162,3068,2922,3038,2987,2946,3058,2918,2937,3024,2776,2446,2376,2530,2513,2433,2381,2542,2859,2780,2389,2066,1862,1654,1787,1882,1804,1668,1577,1832,2258,2175,1804,1790,1765,1804,2084,1997,2397,3570,4199,4295,4048,3724,3474,3088,3440,3483,3920,4160,4404,3904,3296,2978,2894,3298,3767,3783,3616,3676,3789,3700,3714,3462,3299,2656,2969,3544,3520,3321,3515,3587,3320,2879,2737,2497,2448,3087,3222,2680,2998,2866,2035,2047,2325,2200,1582,1522,2046,1994,1837,1869,2186,1957,1771,2200,1975,1863,2391,2744,2846,2548,2180,2685,2640,2397,2634,2879,2567,2025,1934,2216,2500,2470,2409,2192,2539,2555,2114,1460,1517,1470,1982,2330,2457,2037,1728,1757,1750,1490,1523,2063,1764,1774,1806,1798,1942,1977,1995,2313,2685,2736,2446,2686,2230,1917,2119,2890,3353,2867,2372,2798,3134,2984,2459,2309,2834,3024,2577,2286,2436,3528,3463,3286,2765,2884,2717,2818,3286,2758,2291,2388,3013,2932,2723,3088,3097,2792,2290,2219,1895,1880,1857,2126,2482,1946,1926,2160,1889,2278,2777,3120,2674,1909,1572,1968,3328,3762,3425,2499,1758,1677,1826,1891,1907,2437,1990,1575,1743,2356,2979,2806,2757,2932,2420,2082,1939,1883,1732,1461,1675,2654,2656,1877,1802,2019,2042,2500,2680,2828,3923,4231,3811,2330,2236,2372,2341,2426,2208,1798,2185,2823,2470,1803,1789,2205,2348,2122,1592,1738,1672,1814,1689,1641,1960,1871,1658,1676,1761,1738,1742,2040,2172,1961,1857,2144,2215,1875,1613,1689,2151,1881,1755,2192,2401,2036,1519,1810,2626,2908,2316,1876,1903,1754,1826,2056,2150,1702,1828,2931,2586,2105,2026,1934,1635,1700,1758,1718,2075,2396,2232,2442,3117,2776,2562,2402,2270,1814,2000,1853,2124,2670,2241,2004,2613,2692,1803,1997,1832,1499,1389,1454,1799,1677,1713,2180,2187,1967,2079,2182,2232,2269,2393,2608,2711,2338,2153,2448,2592,2395,2378,2282,2084,2237,2555,2728,2137,1808,2010,1880,1559,1611,1601,1505,1655,1746,1876,1812,1737,1741,1898,1693,1556,2036,2380,2808,2363,1857,2736,2986,2583,3079,3276,2911,3021,3118,3558,3790,3510,3486,3483,3652,3304,2536,2919,3567,3852,3704,3011,2435,2833,3596,3319,2555,2546,2552,2320,2834,3145,2525,2571,2309,2634,2338,2739,2775,2566,2624,2676,2647,2425,2114,2335,2570,2441,2886,3113,3132,2457,1969,2142,2463,2746,2957,3062,3420,3748,3748,2610,2192,3044,3145,2542,2356,2361,2343,2886,3386,3116,2851,2517,2172,2010,2210,2332,2206,2062,2410,2486,2125,2068,1892,1732,2126,2644,2344,1765,2005,2008,1665,1788,2368,2800,2452,1772,1668,1644,1506,1638,1838,1693,2067,2898,3340,3278,2614,2116,1734,1503,1670,1727,1351,1183,1548,1923,2375,2479,2868,2036,1677,1470,1820,2572,2390,1725,1809,2321,2115,1584,1873,1793,1660,1777,2048,1781,1780,1975,2523,2373,1790,1943,1866,1810,2138,2313,1810,1674,2007,1894,1736,1880,1829,1664,1742,1865,1911,1891,1918,2166,2169,2169,1916,1747,2051,2640,2513,2227,2051,1723,1520,1509,1477,1637,1674,1572,1654,1560,1660,1768,1726,1766,1916,1996,2192,2128,1980,1939,2181,2661,2525,2191,2372,2149,1822,1751,2267,2407,2242,2205,1859,2421,2242,1904,1934,2018,2270,2306,2240,2266,2012,2024,2480,2377,2290,2394,2379,2390,2454,2363,2322,2436,2403,2507,2675,2661,2269,2060,2191,2163,2326,2378,2387,2253,2318,2286,2076,1548,1302,1624,1875,1781,1910,2207,1972,1699,1628,2300,3230,3053,2404,2019,2482,3027,2657,2387,2198,2122,2398,2125,2071,1774,1762,1714,1766,1865,1858,1877,1704,1730,1742,1746,1842,1924,2086,2249,2122,1859,1719,2211,3205,3568,3587,3519,3316,3432,3566,3928,4244,4416,4776,4795,4587,4008,3270,3565,3936,3818,3941,4108,4180,3885,3811,3946,3866,4045,3942,4012,4304,4489,4372,4029,4053,4252,4148,3278,2940,4300,4496,4091,3947,3971,4108,4229,4380,4408,4240,4252,3872,3770,3436,3382,3472,3473,3463,3580,3562,3732,4120,3851,3485,3877,4185,4139,4232,4125,3864,3833,3812,3621,3453,3398,3312,2741,2290,2315,2170,1963,2154,3103,3771,3583,3514,3852,3895,4089,4296,4343,4299,3840,2942,2757,2707,2840,2923,2458,1865,1945,2422,2820,2767,2984,3981,3904,3593,3034,3035,3106,2920,2522,2106,2126,1909,2131,2470,2038,1388,1311,1280,1448,1772,1772,2078,2324,2493,2739,2028,1834,2264,2702,2718,2552,2464,2079,1566,1625,1763,1457,1345,1518,2058,2820,2852,2143,1926,1809,1747,1520,1701,1387,1332,1728,2210,2248,2034,1979,1915,1696,1565,1825,2156,1976,1665,1521,1714,2096,2071,1685,1656,1622,1859,1918,1546,1626,1848,1551,2073,2414,2344,1874,1522,1609,1795,2121,2437,2205,1755,1696,1740,2019,2042,1771,1902,1824,1489,1530,1665,1605,1537,1593,1582,1447,1581,1836,2469,2610,1858,1850,2016,2138,2130,1820,1638,1665,1781,1776,1682,1863,2116,2164,2422,2347,2121,2297,1970,2279,2734,2167,1731,1950,1870,1758,1850,1983,1946,2097,2578,2946,3316,3406,3112,3224,3453,3293,3116,3440,3090,2552,2286,2500,2523,2239,1754,2038,2152,1968,1928,1879,2357,2452,2664,2675,2862,3195,3667,4143,4232,4401,4136,3728,3584,3296,3443,3639,3705,3683,3462,3196,2801,2449,2154,2590,2974,2774,2540,2548,2840,2942,2551,2018,1990,2144,2402,2884,2656,2609,2780,2717,2495,2738,3495,3407,3326,3508,3586,3339,2933,2711,3248,3640,3630,3750,3811,3447,2800,2215,2022,1987,2624,2375,2095,2183,2605,2741,2198,2074,2198,2372,2075,1745,1710,1534,1538,1692,1393,1577,1676,1581,1968,2472,2307,2069,2605,2426,1632,1410,1422,2643,4113,2120,1862,2883,2917,2354,2040,2230,2326,1805,1712,1611,1577,1974,2738,2230,2068,2073,1733,1777,1914,1874,1874,1642,1532,1640,1792,1671,1488,1561,1631,1714,1638,1809,1937,1628,1722,2187,2387,2131,2011,2563,2280,2246,2254,2130,2078,2293,2214,2065,1632,1572,1634,2189,1960,2194,2243,1933,1516,1312,1352,1569,2243,2530,2431,2406,3184,3365,2557,2181,2032,1927,2140,2317,2660,2664,2461,2695,3296,2950,2547,2463,2488,2423,2294,2535,2324,2092,2570,2590,2588,3061,3693,3150,2784,2710,2354,1947,1958,1621,1558,1788,1760,2298,2623,2025,1560,1771,2036,1888,2178,2026,1756,1669,1663,2148,2267,2025,1692,1410,1556,1756,1628,1582,1660,1680,1588,1736,1673,2076,2490,2635,2608,2706,2706,2512,2347,2274,1857,1891,1922,1824,2391,2098,1606,1541,1458,1802,2347,2616,2427,1910,1955,1764,1557,1592,2098,2671,3021,2679,2348,2149,1949,2022,1849,1636,1457,1563,1676,1861,1372,1469,1519,1318,1159,1440,1869,1846,1785,1794,1727,1417,1572,2072,2238,1842,1797,2100,1670,1344,1744,1923,2090,2299,2272,2024,1858,1826,1693,1642,1964,2922,3108,2193,2000,2178,1938,1918,2452,2735,2453,2119,1780,1815,1851,1814,1694,1586,1778,2174,2740,2713,2234,2195,2359,2232,2830,3464,3641,3626,3873,3806,2770,1787,1642,1489,1396,1575,2422,2786,2843,2586,2530,2756,3176,3449,3006,2082,1813,1748,1785,1734,1673,1628,2108,2176,2163,2311,2236,1964,1860,1882,1814,1998,2258,2252,2223,3056,3404,3476,3055,2552,2290,2354,2430,2521,2371,2205,2421,2306,2278,2371,2270,2364,2077,2722,2890,2589,2454,2378,2259,2584,2664,2078,2320,2352,2076,2077,2365,2514,2488,2325,2398,2731,3073,3078,2767,2284,2350,2798,2282,2039,2412,2523,2090,2050,2497,2764,2564,2449,2552,2232,1992,2313,2599,2604,2150,2046,2306,2504,2662,2735,2744,2398,2236,2894,2994,2309,2481,2810,2908,3169,3364,3659,3741,3664,3514,2814,2436,2456,2462,2358,2244,2407,2622,2659,2556,2490,2242,2076,2322,2564,2302,1951,1850,1882,1986,2107,2220,2263,2441,2375,2303,2325,2347,2455,2498,2570,2776,2897,3044,2955,3090,3022,2900,2749,2737,2454,2487,2939,3089,3239,2902,2729,3285,2886,2852,2918,2078,1996,2404,2517,2471,2630,2799,2774,2596,2508,2713,2521,2376,2498,2474,2452,2554,2534,2371,2130,2183,2563,3008,3786,4006,3740,3924,3975,3802,3776,3902,3591,3251,3266,3292,3595,3539,3376,2929,2828,2828,2577,3108,3189,3065,3160,3089,3011,2947,3076,3407,3803,3563,2439,1691,1946,2256,2768,3083,3007,3234,2875,2783,2712,2532,2274,2431,1958,2130,2625,2386,1990,2163,2352,2056,1381,1483,2244,2874,2416,2797,2840,2524,2719,3013,3228,3274,3037,2601,1855,1772,2007,2307,3109,2955,2974,2873,2389,2136,2286,2061,2283,2470,2268,2235,1995,1786,1813,2443,2865,2076,1720,2236,2386,2054,1810,2344,2030,1674,1694,1836,2111,1578,1732,2006,2640,2382,2446,3630,3847,3204,2979,3122,3350,3360,2872,2700,3082,2994,2293,2016,2314,2592,3052,3052,3197,3588,3285,3277,3073,2887,2652,2527,2543,2831,3090,3187,3319,3527,3453,3183,2890,3074,3124,2990,3287,3312,3395,3226,3264,3470,3407,3605,3517,2879,2874,2443,2606,3082,2653,2304,1932,2020,2985,3526,3693,3363,2608,2612,3155,3238,2916,2523,2661,2862,2186,1844,2164,2235,2223,2076,2280,2652,2408,2032,1730,1442,1315,1614,2041,2436,2336,2447,2166,1248,1755,2565,2597,3505,3582,2805,3049,3593,3575,3254,3044,3216,3566,3657,3658,3595,3516,3603,2794,2704,2213,2289,2490,2372,2216,1818,2169,2735,2435,2302,2220,1686,1672,1918,2331,2314,1753,1864,2245,2214,2147,2250,2659,2862,3227,3586,3685,2583,2290,2514,2367,2118,1525,2233,2754,2548,2489,2496,2655,2933,3020,2579,2489,2819,3421,3409,2638,2590,2983,3551,3295,2640,2640,3002,2449,1664,2189,2472,2150,1842,1635,2276,2460,1983,1820,2132,2447,2302,1805,1508],[2677,2701,2848,3191,3235,2853,2834,3065,3140,3133,3208,3233,3052,2849,2836,2829,2843,2951,2880,2896,2828,2727,2659,2584,2587,2415,2327,2490,2888,2981,2486,2085,1816,1674,1932,2049,1738,1556,1592,2006,2442,1954,1618,1765,1862,1968,2031,2042,2611,3532,3828,4243,4433,3864,3253,3172,3654,3852,3918,4100,4228,4352,3676,2937,2851,3020,3413,4175,3686,3434,3660,3536,3263,3426,3650,3564,3028,2610,3163,3931,3925,4026,4176,3759,2966,2731,2757,3013,3129,2327,1829,2110,2182,1980,1965,2210,2427,1922,1575,2028,1874,1847,2071,2626,2165,1740,2084,1897,2208,2499,2381,2312,2664,3108,2732,2373,2055,2540,3088,2830,2513,2159,2010,2398,2480,3157,2723,2127,2284,1946,1783,1750,1725,1757,2218,2676,2194,1616,1547,2093,2254,1724,2031,1905,1794,2418,2522,1834,1729,1998,2113,2581,2709,2159,3018,3012,2349,2103,2568,2962,2621,2442,2521,2618,3066,2947,2370,2729,3205,2675,1874,2286,3383,3571,3408,2828,3000,3021,3054,3299,2572,2382,2399,2601,2620,3012,3027,3008,2659,2580,2456,2467,2764,2327,2376,2463,2228,2022,1843,1700,2030,2243,2373,2029,1733,1713,2508,3522,3623,3375,2334,2009,1868,1670,1969,2380,2778,2145,1585,1709,2458,2975,3024,3091,2785,2520,1735,1540,1831,1642,1376,1375,1731,1875,1781,1997,2143,1997,2207,2858,2912,3512,3705,3399,2496,2373,2828,2540,2250,2308,2324,2354,2678,1981,1764,1819,1640,1796,2021,1932,1729,1712,2062,1819,1816,2140,1898,1448,1352,1982,1826,1902,1890,2126,2084,2086,2453,2366,1774,1384,1554,2242,2062,2178,2136,2109,1809,1387,2097,3213,3163,1960,1456,1721,1710,2244,1694,1905,1643,1944,2865,2920,2614,2535,2343,1793,1594,1582,1675,2106,2689,2902,2866,2873,2557,2410,2496,2218,2024,2315,2056,1880,2075,2325,2482,2619,2501,2314,2156,1974,1686,1553,1680,1814,1557,1389,2087,2176,2107,2336,2060,1774,1905,2144,2054,2383,2611,2547,2688,2411,2269,2029,1825,1852,2318,2522,2343,2282,2136,1942,1882,1718,1650,1613,1462,1509,1814,2084,2093,1569,1491,2110,2398,2292,2928,3076,2658,2524,1720,2430,3031,2575,2802,3257,2924,2908,2996,3374,3601,3514,3474,3413,3453,3248,2912,3172,3349,3584,3436,2501,2298,3253,3739,2963,2351,2596,3010,3162,3608,3414,2673,2350,2450,2491,2568,3155,3289,3173,3014,2758,2755,2320,1942,2507,2509,2224,2641,2958,3073,2764,2380,2399,2431,2577,3188,3204,3265,3205,2847,2182,2416,2830,2048,1737,1772,1727,2008,2474,2667,2920,3167,2631,2654,2846,2568,2241,2634,2999,3234,2580,1938,2037,1996,1857,2377,2780,2723,2169,2083,1899,1728,1851,2018,2453,2443,1926,1774,1542,1557,1878,2228,1749,1650,2768,3141,2967,2323,1954,1760,1592,1574,1447,1511,1576,1586,2017,2234,2286,2024,1721,1573,1732,2166,2290,2327,1963,2110,2703,2200,2143,2204,1903,1948,2424,2458,2054,2237,2298,2004,1920,1639,1483,1500,1731,2265,2171,1895,1658,2059,2115,1797,1752,1804,1808,1714,1909,1704,1578,1687,1837,1909,1931,1852,1830,2210,2613,2562,2144,1939,1573,1376,1430,1368,1525,1720,1640,1388,1408,1556,1650,1748,1853,1864,1979,2188,2138,1883,1693,2203,2807,2237,1765,1788,1575,1635,2118,2319,2652,2602,2299,1757,1905,1882,1962,1851,1788,2104,2160,2109,2074,1794,1908,2470,2281,2398,2411,2330,2353,2405,2336,2359,2367,2463,2551,2547,2539,2392,2446,2348,2033,1932,2193,2204,2228,2253,1936,1745,1622,1534,1780,1954,2152,2294,2161,1738,1677,1978,2654,3160,2976,2263,2023,2573,2895,3176,3175,2214,2256,2092,2208,2109,2243,2530,2283,1973,1907,1826,1876,1736,1836,1718,1806,2023,2167,2274,2218,2364,2399,1823,2175,2931,2665,3016,2748,3217,3550,3575,3846,4080,4140,4440,4572,4543,4353,3951,4320,4264,3923,4188,4381,4244,3911,4021,4038,4064,4124,4084,4049,4027,4094,4156,4100,4385,4487,4340,2967,3194,4060,3875,3947,3919,3758,4179,4613,4497,4289,4229,4208,4029,3816,3505,3461,3527,3597,3614,3658,3598,3820,3913,3919,3885,3852,3976,3790,3751,3804,3714,3663,3460,3183,3067,3000,2647,2228,2324,2167,1942,2073,2681,3652,3951,3500,3278,3340,3487,4126,4245,4123,3715,2983,2511,2356,2647,2510,2159,1790,1703,1929,1878,2536,2911,2556,3509,3913,3475,3232,3408,3465,2863,2220,2437,2448,1865,2152,2878,2941,1880,1580,1414,1313,1393,1671,2206,2246,2609,2667,2053,1747,1675,2132,2480,2314,1856,1612,1701,1594,1403,1471,1480,1666,2128,2223,1754,1627,1583,1465,1544,1569,1666,1804,2189,2364,2496,2391,1909,1967,1806,1776,2059,2525,2514,2050,1679,1609,1513,1880,2041,1902,1693,1533,1576,1932,1938,1983,1660,1691,1992,2069,1937,1684,1501,1551,1584,1725,1859,1547,1767,2141,2059,2257,2490,2227,1794,1700,1692,1483,1425,1479,1531,1669,1526,1426,1606,1812,1945,1834,1369,1738,2196,2089,2056,1994,1849,1880,1732,1626,1541,1524,1771,2130,2218,1945,2260,2559,1843,1380,1685,1778,1825,1859,1985,1872,1837,2135,2189,2496,2972,3475,3538,2968,2374,2387,2358,2006,2612,3252,2397,2074,2162,2241,1917,1435,1387,1656,1629,2104,2210,2226,3016,3318,3155,2792,2452,2425,3615,4533,4220,4200,4078,3549,3319,2701,2981,3421,3076,2485,2029,1762,1761,2023,2323,2753,2872,2722,2766,3001,2974,2576,2128,2147,2357,2188,2360,3022,2723,2735,2819,2469,2634,3394,3770,3715,3684,3342,3206,2586,2475,2610,3001,3639,3704,3659,3802,3917,3624,2613,1855,1797,2440,2247,2053,2164,2198,2128,2099,2077,1863,1638,1337,1357,1688,2122,1851,1732,1578,1730,1836,2503,3576,4085,3552,2610,2774,2056,1444,1349,1280,1803,2185,2192,2637,2728,2248,2025,2274,2286,2386,2219,1947,1426,1434,2008,3146,2437,1902,2070,1750,1709,1880,2014,1901,1617,1444,1398,1511,1626,1713,1896,1782,1644,1727,2062,2045,1637,1695,2269,2025,1805,1639,2135,2091,1897,2018,1974,2188,2430,2285,2653,1765,1468,1499,2271,2157,2307,2300,2210,1714,1494,1553,1716,2123,2223,2072,1877,2809,3070,2615,2831,2712,2294,2543,2721,2569,2818,3118,2652,2653,2464,2254,2115,1972,2090,2575,2655,2512,2736,2640,2563,3102,3055,3315,2567,2270,2460,2736,2665,2437,2039,1768,1725,1749,2139,2876,2564,1820,1533,1838,1937,1945,1772,1971,1698,1792,2131,1930,1876,1698,1531,1659,1680,1682,1594,1601,1721,1875,2070,2088,2742,2908,2253,2126,2529,2181,1885,2291,2196,2105,2001,1842,1874,2553,2395,1773,1366,1455,2310,3519,3330,2482,2145,1975,1716,1620,1762,2152,2450,2542,2413,2345,2339,2505,1998,1942,1873,1480,1377,1355,1283,1204,1333,1373,1318,1415,1626,1801,1723,1596,1554,1863,1688,2344,3114,2542,1800,1790,1992,1899,1586,1751,2009,2501,2557,2947,2286,1858,1889,2003,1897,1852,2511,2431,2001,2150,2115,1756,1654,1671,1548,1358,1592,1596,1555,1741,1803,1470,1450,1578,2167,2792,2173,1415,1730,2151,2678,3143,3285,3375,3439,3866,3297,2061,1483,1343,1288,1411,1665,2189,2693,2878,2907,2866,3234,4174,4293,3761,2535,1879,1774,1793,1666,1652,1561,1946,2168,2136,2147,1941,1857,1797,1753,1761,1877,2013,2190,2104,2764,3569,3677,2801,2204,2312,2566,2453,2558,2685,2847,2699,2271,1957,2244,2413,2170,1942,2061,2046,2259,2504,2487,2424,2741,2480,1830,1868,2430,2248,2244,2907,2755,2282,2282,2282,1918,2182,2050,2254,2267,1925,1597,1960,2121,2414,2289,1715,1739,2203,2691,2551,2542,2407,2291,2032,1794,2648,3200,2587,2113,2445,2786,2871,3017,3150,3055,3189,3709,3843,3292,2944,2848,3026,3348,3508,3678,3639,3509,3317,2731,2390,2413,2473,2412,2337,2461,2544,2520,2416,2431,2413,2262,2397,2575,2288,1979,1908,2105,2158,2266,2402,2407,2446,2428,2383,2405,2461,2597,2411,2275,2418,2691,2904,2808,2810,2917,2910,2786,2853,2714,2705,3119,3156,3188,2739,2552,2812,2645,3029,2775,1699,1432,2003,2435,2390,2666,3121,2928,2746,2433,2539,2503,2387,2466,2509,2596,2554,2328,2235,2149,2360,2499,2776,3809,4070,3251,3227,3466,3204,3274,3585,3377,3432,3532,3531,3717,3276,3098,2595,2207,1992,2147,2805,3074,3100,3177,3162,3075,3204,3210,3261,3425,3642,3204,2497,2709,2957,2900,2770,2609,2541,2287,2845,2147,2142,2442,2510,1992,1934,1894,1697,1934,2069,2206,2265,1451,1579,2313,2817,2897,3185,3039,2356,2449,2966,3231,3059,2811,2203,1968,2509,2532,2581,3498,3804,3541,3116,2498,2470,2315,1974,1984,2019,1952,1965,1980,1649,1829,2493,2492,2098,2347,2504,2132,1980,2065,2898,2315,1837,1649,1750,1517,1452,1677,1935,2592,2468,2400,2977,2932,3001,3049,3387,3407,2712,2039,1787,2003,2609,2779,2755,2957,3166,3195,2354,2729,3362,3061,3304,3078,2928,2631,2255,2215,2324,2412,3035,3304,3420,3699,3153,2909,2840,2953,3063,3326,3455,3516,3486,3567,3668,3527,3484,3467,2942,2567,2437,2324,2392,2255,2717,2819,2724,3300,3562,3587,3343,2641,2690,2941,2876,3134,3021,2584,2203,1479,1343,2000,2315,2256,2096,2147,2348,1934,1396,1903,1869,1676,1951,2503,2775,2542,2100,1964,1944,2856,2777,3212,3723,3420,2382,3140,3891,3921,3777,3451,3305,3466,3360,3033,3033,3513,3360,3230,3138,2599,2721,2481,2455,2342,1945,1841,2183,2576,2691,2332,1794,1706,2405,2780,2910,2680,2433,2247,2343,2608,3141,3065,3017,3498,3940,3296,2390,2572,2306,2569,2644,2292,2901,3437,3073,2500,2786,3458,3616,2578,2152,2877,2666,2833,2890,2880,2730,2988,3261,2510,2130,2612,2934,2188,1824,2306,2086,1826,1618,1556,2164,2563,1746,1321,2197,2684,2066,1738,1688],[2590,2621,2501,2554,2900,2835,3006,3187,3111,3105,3098,2883,2587,2496,2686,2710,2734,2918,2861,2653,2739,2850,2901,2754,2517,2371,2524,2911,2886,2395,2030,1866,1796,1981,2108,1908,1700,1643,2194,2439,1778,1431,1703,1830,1762,1838,1743,1646,2686,3602,3496,4347,4195,3951,3809,3648,4328,4619,4431,4299,4404,4071,3156,2955,3090,3130,2998,3632,3426,3363,3448,3452,3441,3491,3449,3109,2410,2238,3162,3912,4070,3997,4107,4052,3317,2883,2734,2769,2513,2107,1734,1460,2002,2612,2709,2109,1716,2043,2108,2023,1807,1851,2044,2251,1943,1677,1743,1937,2780,2627,2514,2336,2219,2387,2277,2275,2386,2721,2886,2656,2484,2819,2640,2256,2011,2922,2738,2010,1770,1536,1611,1702,1620,1561,1671,1870,1772,1640,1774,2333,2355,2159,2011,1853,1747,2823,3175,1982,1874,2167,1759,1865,1953,1921,2713,2712,2370,2497,2919,2974,2328,2180,2438,2265,2562,2938,2916,2967,2909,2932,2425,2698,3352,3659,3570,3074,2902,2767,2630,3147,2928,2545,2143,2341,2554,2423,2212,2095,1851,1752,1870,2101,2041,2379,2583,2185,2319,2360,2010,1648,2094,2147,1736,1625,1606,2107,3090,3353,3204,2927,2169,1920,1838,2074,2229,2257,2193,1766,1662,1949,2389,2345,2437,2338,2063,2182,1715,1639,1987,1729,1488,1538,1387,1377,1582,2242,2250,1925,2177,2767,2358,2562,3022,3356,2959,2338,2327,2500,1973,2158,3350,2800,2344,1773,2054,1845,1765,1951,1966,2330,2395,1972,1852,1746,1888,1748,1833,1643,1622,2069,1943,1674,1604,1913,2149,2328,2199,2046,1794,1574,1571,1924,2324,2298,2030,1797,1787,2048,2762,3720,3827,2336,1710,1725,1390,1649,1809,2229,2176,2641,2845,3006,2743,2490,2315,2124,2162,1924,1852,2342,2846,3301,2966,2330,2522,2945,2902,2569,2234,2496,2402,1910,1766,2307,2486,2654,2746,2642,2098,1874,1952,1729,1567,1612,1490,1840,2728,2041,2380,2959,2731,2250,2313,2304,1875,2281,2761,2700,2514,2364,3028,2094,1730,1832,2327,2521,2343,2541,2398,2374,2667,2302,1864,2079,2153,2160,2196,2028,1847,1626,1608,2093,2249,2071,2564,2728,2529,2751,1881,2190,2687,2554,2698,2798,2648,2778,2909,3287,3606,3518,3356,3178,3288,3440,3416,3520,3250,3254,3119,2663,2470,2789,3046,2588,2500,2423,3127,3667,4021,3559,2986,2499,2582,3062,3152,2996,3287,3318,2822,2833,2675,2170,2248,2988,2684,2329,2366,3074,3621,3142,2735,2583,2288,2798,3352,2958,2611,1945,1943,2056,2786,3275,2814,2385,2219,2715,3139,3364,3034,3245,3140,2370,2188,2589,2563,2064,2266,3387,3703,3044,2379,1923,1830,1913,1979,2137,2699,2412,2040,2041,2104,2187,2427,2819,2775,2148,1763,2308,2126,1713,1877,1769,1732,2640,3099,2576,1975,1675,1841,2087,1880,2378,2468,1968,1725,2097,2072,1786,1646,1599,1518,1664,1684,1887,2395,1859,1934,2281,2207,2248,1876,1954,2332,2708,2763,3041,2939,2336,1946,1984,1511,1468,1412,2125,2452,2024,1731,1730,1885,1813,1691,1835,1826,1444,1459,1713,1599,1612,1874,1857,1804,1759,1726,1693,1965,2279,2283,2013,1708,1405,1358,1599,1579,1575,1742,1690,1441,1501,1644,1710,1771,1832,1886,1914,2013,2081,1914,1688,1838,2098,1775,1620,1752,1820,2133,2547,1984,2355,2531,2103,1748,1735,1829,1908,1758,1741,1852,1904,1982,2116,1763,1936,2486,2527,2368,2287,2406,2485,2426,2376,2342,2360,2586,2325,2227,2199,2223,2410,2358,2146,1854,1839,1763,1862,1848,1583,2039,2540,2558,2185,1895,2141,2177,2030,1686,1747,2188,2268,2456,2958,2602,2547,2316,2357,3057,3724,3108,2314,1961,2311,2032,1859,2480,2540,1969,1953,1791,2092,2024,1841,1881,2168,2143,2206,2459,2377,2562,2700,2136,2048,2119,2210,2671,2233,2712,3687,3975,3885,4082,4384,4365,4380,4488,4516,4172,4401,4296,4038,3597,3642,3750,3762,3936,3896,4004,4168,4233,4328,4355,4131,3834,3324,3683,4231,4508,3122,3086,4000,3514,3753,4096,4245,4288,4253,4074,4113,4065,3967,3987,3718,3440,3417,3481,3613,3749,3783,3876,4084,4195,4284,4035,3875,3697,3726,3880,3738,3642,3494,3228,2975,3001,2629,2314,2272,2231,1997,2273,2631,2570,2790,3366,3312,2696,2657,2790,2866,2894,3419,3050,2416,2106,2044,2407,2403,1983,1703,1702,1948,1518,1714,2749,3199,3543,3860,3825,3638,3764,4059,3559,2833,3064,3074,2578,2578,3100,3241,2252,1737,1513,1591,2020,2356,2158,2182,2499,2457,2200,1973,2025,2182,2049,1953,1760,1614,1838,1732,1575,1689,1749,1704,1745,1730,1528,1601,1477,1610,1500,1383,1486,1514,1882,2128,2261,2459,2188,2028,1770,2011,2401,2630,2229,1904,1947,2034,1832,1736,1960,1999,1553,1446,1494,1554,1662,1871,1502,1553,1826,2062,2204,2003,1906,1587,1803,1780,1691,1295,1689,2036,2205,2189,2436,2275,1624,1565,1675,1429,1312,1361,1640,1637,1495,1537,1634,1669,1644,1814,1804,1903,2169,1915,1894,2010,1952,1864,1643,1691,1720,1696,1701,1756,1878,1659,1693,1891,1694,1635,1904,1855,1547,1807,2450,2559,2424,2292,2724,2795,3059,3442,3012,2016,1631,1770,2120,2242,2687,3034,2363,2293,2565,2471,2077,1459,1340,1598,1629,2004,1890,1862,2890,3327,2999,2334,1981,1980,3099,4047,3363,3199,3266,3275,3163,2631,2490,2461,1994,1427,1380,1627,1947,2352,2885,2814,2728,2752,2897,3210,3094,2320,1999,2931,3040,2249,2364,2569,2499,2630,2668,2651,2459,2952,3488,3346,3298,2782,2363,2290,2526,2491,2901,3772,3924,3774,3647,3950,4036,3525,2403,1918,2094,2293,2421,2413,2200,2571,2378,2093,1922,2027,1720,1405,1749,2448,2157,1531,1498,1658,1896,2896,3749,3626,2806,2399,2385,1676,1381,1602,1691,1894,2082,2070,1820,1504,1610,1742,2092,2357,2433,1981,1707,1490,1539,1869,2158,1728,1671,2138,2027,1814,1960,2078,1688,1496,1583,1625,1727,1694,1759,1718,1679,1704,1676,1771,1649,1763,2003,2029,1794,1671,2325,2954,2885,2589,2252,2044,2546,3007,2711,2683,1816,1458,1774,2375,2225,2082,2492,2493,1744,1781,1807,1616,1838,1808,1544,1719,2308,2539,2436,2802,3163,3484,3869,3360,2702,2324,2842,2509,2403,2511,2379,2416,2267,2124,2653,3143,3465,3364,2908,2483,3051,3302,2825,2184,2165,2820,3277,2966,2475,2350,2046,1903,1643,1895,2791,2319,1904,1664,1863,2201,2128,2008,2226,1960,1830,1754,1665,1777,1752,1824,1660,1440,1448,1473,1573,1656,2404,2821,2456,2306,2214,2376,2184,2378,1992,1810,2096,2074,2048,1989,1898,1940,2036,1949,1930,1427,1514,1990,2743,2128,1666,1887,1876,1585,1304,1515,1776,2214,2662,2588,2505,2448,1929,1628,2177,2325,1672,1249,1373,1439,1403,1446,1652,1644,1952,1895,1865,1992,1858,1512,1790,1667,2317,3078,2697,1797,1620,1848,1985,1832,1979,2374,2824,2642,2813,2424,1960,1992,1944,1659,1771,2381,2177,2076,1727,1577,1413,1586,1802,1624,1499,1635,1581,1647,1918,2025,1688,1716,1924,2733,3227,2662,1846,1758,2135,2896,3281,3024,3351,3515,3046,1831,1523,1449,1501,1582,1536,1784,2135,2707,3465,3827,3601,3453,4037,3978,3660,2553,2133,2178,2023,1876,1923,1839,1886,2010,1908,1867,1732,1747,1713,1764,1842,1810,1812,2236,2357,2331,2702,2854,2274,2039,2211,2263,2230,2191,2801,2905,2546,2511,2581,2593,2239,1731,1989,2425,2268,2243,1985,2043,2858,2828,2580,2346,2136,2285,2242,2589,2962,3098,2784,2706,2498,1847,2414,2393,2557,2561,1893,1934,2252,2055,1983,1678,1820,2360,2480,2652,2601,2675,2585,2630,1560,1542,2580,2609,2128,2452,2866,2819,2880,2861,3107,3222,3429,3406,3675,3675,3338,2974,3273,3416,3497,3400,3293,2963,2618,2625,2611,2568,2493,2412,2502,2588,2558,2424,2457,2440,2412,2425,2504,2501,2360,2282,2513,2629,2534,2409,2425,2564,2552,2428,2233,2331,2332,2433,2294,2024,2146,2421,2482,2474,2515,2685,2878,2841,2906,2989,3016,2879,2850,3041,2777,2701,2688,2963,3171,2486,1825,1685,2062,2418,2382,2869,3282,3085,2778,2586,2541,2495,2520,2440,2564,2656,2687,2705,2614,2670,2602,2522,3160,3870,3870,3263,2830,3075,3295,3618,3504,3346,3561,3654,3441,3430,3296,3419,2888,2193,2320,2780,2952,3005,3052,3365,3640,3452,3204,3273,3382,3233,3317,3485,3196,2848,2635,2713,2646,2568,2526,2637,2382,2005,1980,2042,2020,1970,2240,2613,2168,2222,2307,2146,2007,1732,1649,2785,3172,2941,3132,2640,1973,2601,3408,3428,2952,2476,2082,2363,2986,2711,2332,2942,3343,3583,3725,3142,2714,2150,1864,1613,1649,1908,1827,2161,1985,1873,2098,2440,2531,2310,2187,1813,1788,1946,2496,2016,1663,1455,1417,1451,1623,1627,1860,2116,1999,2500,3068,2953,3122,3152,2837,2235,1679,1544,1488,1500,2110,2954,3495,3492,3326,3173,2350,2822,3143,3001,2954,2919,2918,2643,2309,2397,2543,2090,2632,2872,3106,3334,3118,3008,2902,3018,3442,3796,3772,3578,3527,3709,3845,3771,3501,3193,3197,3127,2789,2533,2448,2658,3370,3517,3252,3310,3288,3296,3139,2461,2352,2520,3024,3361,3189,2451,1208,624,1029,2214,2895,3099,2957,2711,2514,1681,1422,2007,2049,1715,2198,2654,2689,2407,1906,2084,2425,3061,2872,3211,3310,3208,2973,3646,4152,4111,4111,3846,3770,3681,2712,2215,2901,3625,3431,3286,3128,3167,2578,2042,2186,1996,2067,2047,1966,2152,2788,2864,2396,2131,2700,2633,2092,2321,2758,2420,2316,2513,3128,2501,2003,3095,3895,3669,3602,3066,2678,2990,3040,3172,3613,3233,2587,2695,3484,4416,3616,2183,2525,2761,2106,2034,2285,2367,2158,2567,3061,2947,2397,2868,2810,2097,1954,2020,1699,1609,1744,1854,2224,2554,1968,2064,2724,2183,1322,1633,2451],[2388,2391,2359,2315,2814,2964,2987,2955,2995,3024,2775,2573,2548,2554,2658,2761,2962,3043,2786,2598,2761,3097,3063,2622,2417,2552,2921,2853,2332,2043,1959,1852,1941,2031,1852,1709,1762,2223,2401,1742,1336,1748,1992,1737,1493,1409,1365,1444,2520,3278,2700,3331,3709,3976,4300,4164,4181,4577,4392,4291,4011,3441,3124,3129,2906,3074,3099,3362,3520,3269,3087,3321,3760,3680,3031,2312,1615,2281,3018,3839,4139,4190,4308,4220,3829,3341,2775,2669,2488,2289,1924,1775,2530,3219,3310,2641,2768,2781,2154,1750,1872,1888,1858,2242,2421,1940,1789,1752,2223,2755,3077,2676,2180,2114,2104,2386,2545,2494,2722,2470,2214,2679,2668,1947,1838,2408,2230,1800,1793,1543,1487,1665,1801,1568,1625,1807,1818,1521,1824,1889,2266,2288,1793,1849,1984,2576,2138,1743,1894,1853,1693,2021,1965,1801,2202,2443,2498,2861,3049,2587,1991,2036,2452,2171,2844,2447,2252,2713,2585,2676,2889,2943,2763,2889,3056,2625,2489,2541,2699,3053,3013,2886,2565,2103,1626,1636,1721,1457,1603,1801,1745,1721,1923,2266,2311,2108,1948,1869,2098,1842,1751,1736,1639,1703,1534,1820,2901,3167,3142,2620,2105,1759,1497,1994,2037,1726,1520,1477,1641,1955,1986,2232,1638,1529,1845,1905,1704,1858,2170,1926,1640,1381,1356,1375,1611,2279,2037,1997,2314,2236,2008,2197,2821,3611,3511,2808,2221,2495,2288,2610,3156,2731,2564,1918,1648,1626,2177,2548,2090,2172,2364,2019,1777,1533,1746,1671,1784,1695,1641,1685,1690,1539,1737,2061,2108,2271,1909,1881,1750,1728,1664,1807,1649,2194,2887,2252,1675,2438,3123,3329,2942,1971,1487,1528,1456,1758,2184,2617,2843,2697,2832,3042,2291,2177,2188,2499,2757,3046,2718,2287,2918,3241,2430,2339,3322,3319,2353,2013,2131,1957,2193,1959,1855,2378,2392,2366,2565,2366,1866,1862,1850,1500,1880,1911,1630,2698,2721,2152,2642,2891,2350,1742,2303,2624,2458,2514,2521,2336,2141,2189,2396,2000,2067,2078,2182,2195,2066,2177,2095,2447,2457,2311,1842,2183,2486,2684,2533,2353,2419,2406,2276,2133,2036,2095,2592,2551,2431,2491,2150,2129,2400,2400,2690,2968,2701,2569,2237,2865,3287,3467,3466,2909,2940,3480,3549,3459,3118,2898,3118,3131,2673,2190,2224,2523,2274,2490,3056,3426,3670,3474,3474,3088,2687,3040,2938,2643,3007,3081,2720,2850,2763,2583,2858,2770,2554,2525,2584,3276,3825,3310,2918,2629,2262,2867,3073,2859,2135,1739,2404,2714,2696,1959,2080,2383,2605,3331,3500,3812,3658,3537,2713,1940,1681,1886,2155,2075,2462,3120,3190,3110,2362,1873,2040,2105,1783,1690,1980,2231,2622,2461,2375,2665,2719,2915,3614,2950,2802,3001,2122,1874,1989,1806,1898,2492,2783,2813,2359,1863,2364,2559,2176,2678,2724,1954,1715,1949,1872,1649,1786,1464,1339,1391,1523,1952,2090,1942,1671,1493,2109,2154,2490,2886,2783,3150,3164,2828,2192,2267,1823,1812,1969,1762,1655,1823,1749,1723,1580,1701,2152,1745,1515,1848,1917,1663,1533,1667,1730,1578,1468,1718,1962,1919,1926,1791,1944,2110,2127,2170,1888,1635,1572,1703,1849,1726,1877,2077,1619,1647,1621,1991,2005,1916,1842,1966,2006,1970,2035,1922,1940,2038,1712,1636,1685,1822,1839,2474,2264,2437,2201,1882,1971,2002,1787,1667,1776,1873,1748,1798,2078,2116,1691,1875,2345,2399,2150,2042,2234,2411,2470,2359,2249,2169,2232,2162,2098,1980,2265,2415,2396,2239,1842,1582,1555,1864,2176,2377,2841,3226,3540,2698,1953,2280,2330,1889,1833,1852,2150,2294,2404,2990,2853,2707,2442,1988,2209,3339,3907,3013,2039,1875,1864,2064,2777,2600,2148,1773,1932,2150,1895,1969,2079,2337,2283,1848,1907,1974,2136,2531,2484,1936,1635,2048,3067,3117,2622,2875,3773,4063,4184,4530,4477,4456,4473,4244,4340,4444,4216,3935,3267,3270,3687,3836,4092,3897,3952,4219,4263,4440,4385,4389,3653,2619,2468,3662,4652,3455,2854,3987,3474,3471,4046,4460,4520,4199,3921,3871,3993,4092,4079,3842,3351,3270,3435,3689,3887,3662,3964,4052,4169,4352,4296,3995,3858,3883,3793,3849,3868,3505,3089,3022,2841,2392,2303,2130,2048,2230,2484,2396,2431,2396,2338,2132,1802,1658,1895,2015,2260,2615,2252,1864,1874,1731,1735,1803,1760,1560,1615,1397,1441,1488,2377,3414,3394,3316,3385,3034,2957,3585,3422,2754,2769,2858,2588,2482,2490,2451,2181,1762,1599,1733,2003,2110,2124,2346,2275,2286,2326,2455,2132,1840,1535,1583,1673,1606,1757,1834,1866,1992,2116,1552,1643,1590,1452,1538,1621,1605,1387,1403,1430,1445,2210,2433,2410,2518,2160,2066,2009,2192,2149,2288,2319,2201,2481,2796,2777,2138,1959,1927,1500,1504,1684,1448,1905,2208,1729,1646,1894,2385,2892,2666,2520,2044,2036,2243,2290,1947,1708,2046,2139,2046,2337,2457,2106,1901,1495,1555,1429,1385,1426,1504,1625,1611,1504,1687,1930,1917,2012,1717,1595,1533,1637,2054,2199,1782,1518,1654,1563,1778,1768,1454,1630,1687,1863,1724,1579,1645,2071,1885,1554,2138,2314,2656,2555,2510,2988,3087,3240,2752,2299,1859,1959,1962,1817,1888,2513,2507,2039,2486,2912,2534,1859,1523,1559,1350,1252,1250,1439,2046,2732,2643,2078,2037,2116,2039,2680,3738,3152,2979,3326,3415,2885,2533,1947,1541,1934,2589,2940,3200,3530,3863,3762,2986,2887,2879,2996,3174,3477,2864,2490,2990,2765,2246,2364,2377,2353,2688,2954,2787,2330,2469,3165,3487,3373,2829,2501,2536,2159,1822,2652,3450,3750,3240,2872,3585,4021,3621,3076,2452,2292,3017,4064,4001,3440,3365,2470,1831,1786,2509,2335,1918,1848,2234,2214,1403,1377,1537,1499,1907,2352,2322,1798,1908,1954,2100,2173,1998,1899,1816,1782,1497,1435,1708,2273,1964,2258,2037,1864,1630,1829,2016,1797,1782,1971,1677,1619,1996,2380,1740,1857,2094,1674,1493,1627,1991,1898,1580,1833,1645,1549,2053,2023,1772,1741,2047,2249,1886,1813,2012,2485,2540,2085,1960,2130,2253,2417,2562,2728,2125,1616,1503,2087,2409,2007,2205,2873,2265,1439,1481,1519,1486,1703,1726,1533,1514,2002,2527,2378,2660,3355,3627,3911,3016,2520,1692,2282,2342,2146,2216,2410,2935,2700,1910,1722,2078,3331,3311,3481,3414,3322,2908,2361,1800,1950,2785,3182,2805,3100,3443,3107,2885,1845,1916,1926,1776,1920,1673,1563,2058,2188,2213,2368,1782,1533,1581,1808,1622,1590,1517,1333,1679,1753,1652,1638,1692,2069,2587,2398,2171,2017,2885,2376,2159,1976,1941,2218,2352,2034,2103,1973,1791,1823,1926,1741,1503,1620,1565,1856,2075,2293,2210,2295,2055,1446,1431,1711,2310,2342,2021,2083,2191,1787,1542,1899,1953,1658,1492,1425,1563,1448,1301,1313,1426,1970,2000,1880,2460,2146,1518,1482,1675,1856,2023,1909,1461,1483,1882,2046,1916,2192,2753,3313,3114,2620,2177,1804,1740,1690,1621,1798,1952,1579,1491,1491,1327,1267,1361,1430,1440,1429,1554,1659,1516,1623,1707,2043,2393,2664,3033,3151,2812,2237,2074,2631,3319,3473,2942,3144,3442,2143,1378,1323,1525,1780,1757,1502,1479,1950,2832,3687,3804,3499,3120,3203,2920,2983,2673,2128,1938,2143,2213,2272,2125,1922,1966,1888,1732,1696,1797,1829,1679,1603,1611,1979,2500,2818,2664,2156,2048,1695,1366,1401,1931,2263,2258,2368,2595,2751,2823,2437,2048,1902,2090,2553,2958,2757,2161,1819,2208,2622,2099,2484,2604,2169,2262,2121,2134,2088,1965,2314,2964,2405,2244,2840,2924,2670,2393,2294,2537,2693,2488,1813,1664,2239,2495,2792,2317,2508,3029,3168,2876,2209,2445,2642,2172,2048,2404,2887,2916,2691,2377,2560,2819,3150,3277,3145,3283,2863,2528,2894,3106,2885,2801,2994,2775,2642,2697,2713,2599,2458,2405,2401,2314,2388,2429,2553,2574,2580,2598,2531,2470,2487,2486,2765,2968,2846,2561,2498,2555,2784,2814,2358,2120,2042,2156,2249,2085,2094,2266,2385,2568,2131,2385,2523,2701,3082,3186,2894,2524,2588,2838,2897,2830,2692,2839,2909,2684,2600,2071,2523,2604,2398,2755,2987,2930,2745,2728,2649,2644,2636,2552,2662,2777,3029,3427,3021,3076,2976,2807,3156,3133,3066,3118,3141,3260,3515,4016,3608,3571,3659,3688,3421,3409,3387,3777,3917,3139,2786,2924,2984,2985,2995,3519,3864,3482,3185,3363,3374,3418,3694,3865,3306,2658,2294,2613,2879,2762,2608,2730,2530,2303,2152,2218,2543,2212,2493,3241,2685,2448,2486,2156,2192,2153,1954,2602,2443,1971,2821,2683,2436,2908,3320,3137,2671,2026,2025,2197,2704,2935,2652,2298,2326,3316,3604,2906,2322,2007,2210,2234,1953,1741,2085,2290,1939,1656,1761,2133,2554,2330,1792,1822,1960,2011,2446,2076,1676,1424,1311,1596,1908,1831,1663,1574,1594,2134,3427,3537,3469,3358,2568,1904,1612,1532,1470,1458,1925,3208,3629,3525,3120,3020,3698,3867,3330,3208,3106,3007,3197,3046,2491,2803,2709,2387,2431,2971,3094,2843,2975,3073,3073,3315,3672,3899,3970,3839,3627,3764,3892,3869,3343,2880,3127,3177,2830,2729,3075,3396,3251,3005,3052,3291,3226,2899,2624,2338,2671,3045,3120,2927,2303,2056,1520,982,1395,2336,2631,2921,2879,2453,2324,2013,1977,2214,1861,1670,2140,1955,2172,1884,2161,2152,2128,2611,2872,2766,2872,2845,2880,3394,3772,3889,4063,3875,3941,3890,2464,2631,3674,3752,3470,3065,3128,3476,2623,2407,2346,2403,2162,2180,2267,2383,2770,3223,2751,1928,2000,1864,1172,1298,2358,2357,1882,1914,2521,2463,2476,3262,3187,3162,3464,3050,2790,2829,2894,2743,3137,3012,2709,2976,3898,3948,2862,2424,2735,2187,1725,1908,2194,2133,2189,2640,2774,2741,2891,2833,2260,2009,2221,1895,1563,1648,1572,1622,2008,2160,1887,2306,3043,2560,2000,2279,2810],[2256,2393,2389,2249,2713,2918,2874,2980,2996,2774,2570,2625,2630,2503,2464,2685,2913,2733,2635,2851,3038,3062,2619,2430,2718,3018,2740,2101,1929,1975,1900,2085,2059,1825,1618,1648,2077,2245,1777,1492,1653,2004,1942,1645,1416,1341,1456,1653,2364,2261,1904,2554,3617,3913,4046,3892,3798,4376,4481,4257,3529,3266,3195,2983,2854,3200,3610,3659,3421,3304,3161,3150,3269,3571,3283,2086,1536,1751,2623,3723,3960,4027,4206,4192,3982,3391,2773,2956,2995,2511,2154,2135,3040,3121,2842,2965,3271,3386,2822,2165,1616,1958,2145,2243,1961,1612,1675,1898,2489,3083,3341,2978,2525,2272,2157,2002,2212,2275,2482,2492,2287,2028,1782,1776,2154,2390,2158,1844,1840,1551,1538,2058,2407,2282,1862,1954,2012,1725,1401,1459,2082,1810,1769,2664,2858,2676,2336,2139,1793,1596,1826,2283,2186,1907,2414,2566,2436,2750,2452,2292,1970,2194,2581,2375,2946,2224,2010,2450,2303,2271,2425,2587,2505,2841,3023,2566,2736,3051,3135,2773,2833,2974,2599,2314,1923,1852,2054,1920,1698,1978,1666,1612,1776,2091,2146,2098,1813,1848,2166,2095,1997,2115,1968,1910,1694,1874,2741,2978,3078,2556,1972,1543,1519,1736,1699,1746,1746,1561,1597,1722,2108,2061,1656,1699,2040,2129,1844,1740,2098,1648,1404,1291,1517,1454,1667,1865,2275,2610,2350,2246,2876,3062,2496,2669,3463,2952,2188,2995,3462,2985,2489,2864,2592,1916,1864,1693,2221,2423,2237,2494,2076,1907,1786,1775,1982,2076,2092,2204,2051,1838,1676,1584,1888,2195,1879,2149,1950,1664,1545,1719,2006,1874,1758,2625,2939,1891,2003,2789,3212,3129,1840,1695,1596,1558,1580,1555,1993,2699,2923,2668,2927,3351,3205,2647,2280,2375,2258,2825,3242,3016,2846,2745,2266,2385,2988,2811,1983,1709,2037,1794,1874,1868,1971,2469,2567,2397,2188,1887,1747,1828,1820,1802,2772,2404,1734,2701,2563,2336,2724,2763,2104,1985,2813,2565,2205,2216,1888,1851,2092,2097,1848,1857,2079,1801,1582,1654,1642,1708,1786,2469,2442,2174,1886,2259,2532,2461,2386,2565,2700,2741,2762,2407,2116,2076,2652,2570,2592,2666,2304,1790,2132,2768,3199,2874,2373,2619,3022,3441,3543,3439,3306,2845,2666,2942,2820,2438,2346,2797,3438,3586,3539,2813,2450,2438,2226,2574,2590,2955,3369,3120,2852,2993,2592,2603,2918,3001,2997,2965,2871,3271,3232,2963,3055,3163,2655,2643,2675,2542,2653,3041,2950,2547,2640,2821,2810,2766,2298,2536,2920,2852,2978,2307,2715,2669,2777,3513,4034,3675,3264,2964,2433,2164,1890,1851,1764,1880,2304,2858,2862,2684,2242,2066,2051,2076,2083,2071,2109,2446,3696,2824,2592,2473,2746,3225,3746,3868,3823,3051,2229,1762,1670,1904,1827,1801,2181,2911,2394,1854,2020,2433,2564,2583,2213,1741,1502,1747,2194,1760,1702,1439,1428,1271,1453,1622,1489,1805,2011,1643,1688,2325,2879,2449,3059,3364,3615,2871,2462,2162,1484,1690,2115,1982,2036,2017,1574,1745,1759,1413,1664,1542,1522,1831,1826,1707,1539,1591,1614,1656,1744,1677,1766,1700,2028,1718,1850,1697,1606,1804,1844,1858,1904,1892,1798,1773,1962,2073,1652,1681,1748,2244,2222,1717,1642,1876,1994,1941,1865,1908,2072,2016,1682,1599,1848,1797,1650,1715,1974,2024,1829,1929,2120,2154,1914,1683,1644,1559,1659,1761,1926,1932,1916,2146,2464,2433,2188,1926,2037,2339,2644,2336,2102,2060,2129,2291,2339,2186,2390,2576,2426,2124,1938,1910,2170,2546,2666,2940,3188,3227,2955,2498,2337,2473,2099,1652,2150,1984,2052,2143,2324,2798,2655,2346,2066,1741,2076,3117,3482,2917,2060,2047,2053,2153,2836,3386,2476,1927,2490,2187,1902,2270,1964,1910,1836,1377,1454,1676,2054,2425,2321,2116,1810,1993,2812,3449,3386,3181,3738,4144,4216,4421,4376,4584,4308,3781,3750,4221,4276,3808,3462,3431,3666,3811,3963,3903,3912,4155,4428,4440,4291,4279,3666,2565,2101,3352,4527,3066,2923,4017,3662,3794,4228,4062,4152,4220,4046,3992,4004,3925,4091,4078,3642,3525,3506,3689,3640,3793,3943,3819,3850,4248,4475,4218,4014,3857,3707,3838,3762,3589,3230,2718,2286,2226,2080,1960,2142,2415,2412,1917,2019,2566,1882,1550,1532,1455,1664,1965,1854,1771,1653,1639,2011,1613,1678,1671,1612,1453,1424,1358,1487,1516,2068,2863,3171,3084,2718,2582,2535,3012,3247,3225,3160,3231,3122,2699,2050,2263,2403,1654,1604,2061,1779,1640,1945,2098,1870,1842,2144,2072,1823,1730,1677,1541,1622,1798,2138,1789,1859,2085,1901,1587,1634,1557,1709,1937,1904,1710,1495,1558,1489,1820,2570,2232,1928,1902,1888,2124,2222,2195,2059,1880,1653,2080,2635,2570,2473,2029,2614,2197,1548,1335,1235,1514,2500,2895,2282,1869,1904,2353,2907,2720,2589,2051,1662,1825,2137,2236,2078,1847,1617,1904,2142,2633,2251,1963,1691,1644,1502,1476,1542,1693,1624,1467,1527,1801,2116,2050,1569,1553,1583,1870,1806,1941,2028,1792,1678,1317,1227,2136,2041,1708,1717,1613,2167,1871,1444,1412,1782,1923,2012,2019,2038,2139,2097,2856,2483,3141,3096,3090,2840,2264,2042,1818,1731,2021,2331,2052,1973,2828,2700,2069,1258,1379,1390,1129,1265,1248,1314,1879,2381,2304,1974,1946,1835,1825,1974,2776,3374,3637,3808,3130,2714,2327,1662,2209,3363,3931,3551,3449,3697,3781,3674,3174,2796,2755,2805,2877,3150,2501,1990,2663,2463,2051,2186,2253,2301,2800,3017,2583,1901,1969,2575,3240,3261,2599,2637,2801,2076,2327,2831,3250,3254,2967,3482,4064,3792,3122,2808,2574,2492,2720,3620,3947,3577,2933,2705,2273,1941,2107,2499,2288,1611,1847,2392,1781,1558,1693,1549,1565,1620,1626,1456,1389,1412,1664,1692,1587,1562,1391,1439,1443,1670,2035,1916,1721,1666,1418,1466,1645,1905,1951,1451,1576,2276,2059,1865,1984,2632,2394,2058,1947,1680,1456,1648,2177,2142,1734,1883,1431,1454,2189,2361,1881,1544,1951,2388,2297,2165,2136,2114,2366,2548,2412,2351,2659,2643,2664,2725,2293,2123,2188,2885,3162,2172,1930,2041,1682,1512,1452,1510,1848,2164,2196,1920,1841,2652,3134,2615,2373,3628,3951,4005,3419,3287,2456,2386,2321,1883,1882,2219,2515,2505,2116,1976,2276,3213,3249,3159,3041,3052,2803,2288,1749,1874,2819,3187,2478,2434,3298,3378,3078,1959,1709,1958,2104,1833,1636,1731,2419,2719,2557,2448,1975,1897,1745,1638,1543,1322,1008,1244,1494,1527,1667,1573,1606,1976,2526,2310,2381,2316,2094,1786,1648,1952,2229,2561,2680,1949,2408,2120,1830,1804,1665,1413,1767,1924,1540,2012,2902,2701,2357,2525,1955,1636,1572,1636,1748,1954,1874,1726,1947,1933,2071,2092,1649,1685,1424,1382,1498,1329,1085,1052,1216,1787,1893,1935,2039,1810,1737,1721,1874,1574,1572,1516,1415,1532,1839,2014,1881,1978,2408,2692,2490,2072,1787,1565,1491,1597,1861,1654,1308,1272,1476,1521,1426,1402,1415,1548,1549,1430,1366,1476,1434,1536,1796,2050,2166,2415,2876,3413,3403,2846,2783,3222,3396,3414,3096,2641,2753,1943,1417,1404,1485,1556,1584,1461,1470,1686,2306,2930,2854,2498,2779,3613,3808,3684,2998,1882,1720,2075,2501,2398,2241,2040,1973,1974,1686,1642,1869,1869,1926,1986,1975,2288,2408,2686,3100,2410,1846,1754,1848,2289,2357,2348,2115,1555,1743,2581,2786,2149,1905,2228,2452,2318,3279,3240,2526,2524,2841,2518,1741,1786,1948,1952,1872,1688,1463,1791,1905,2626,2741,2280,2454,2438,2469,2578,2474,2657,2577,2530,2805,1900,1996,2154,2283,2388,2521,3204,3272,3216,3365,3107,2632,2295,1773,2009,2679,2866,2950,2902,2807,2652,2646,2912,2988,3030,2818,1864,1736,2039,2435,2278,2065,2379,2813,2872,2755,2792,2700,2490,2371,2310,2293,2421,2633,2653,2623,2680,2709,2591,2455,2601,2856,2910,2897,2878,2833,2736,2518,2889,2950,2521,2101,2098,2200,2206,2147,2267,2329,2237,2130,1985,2158,2226,2372,2576,2951,3018,2797,2651,2677,2739,2655,2656,2663,2625,2720,2740,2634,2830,2556,2534,2717,2844,2846,2754,2828,2764,2664,2496,2543,2554,2721,3051,3194,2476,2243,2633,2980,2807,2798,3134,3504,3773,3204,3042,3473,3884,3869,3919,3911,3637,3551,3540,3681,4028,4011,2889,2293,2664,2888,2880,3159,3487,2985,2916,3367,3518,3747,3861,3738,2922,2604,2348,2688,3005,2887,2862,2845,2705,2475,2106,1988,2352,2253,2612,3152,3002,2438,2132,1898,2106,2226,1990,1987,2179,2524,3344,3232,2929,2489,2476,2428,2080,2351,2679,2486,2752,2821,2584,2036,2072,2968,2986,2521,2084,2008,2150,2457,2142,1858,2382,2438,1768,1292,1490,2056,2407,1912,1672,1764,1638,1886,2272,2123,1870,1864,2120,2003,2197,2165,1988,2148,1990,2335,3729,4416,4164,3308,2817,2372,1684,1512,1510,1531,1698,2841,3473,3483,2944,2280,3198,3802,2814,2942,2853,2889,3086,3095,3081,2819,2004,2230,2902,3397,3161,2950,3079,3228,3595,3225,3228,3677,3868,3746,3648,3793,3879,3536,2872,2951,3439,3137,3301,3313,3465,3363,3039,3064,3362,3740,3608,3027,2609,2630,2962,3040,2777,2395,2679,2878,2303,1791,2316,2604,1924,2298,2430,1936,2045,2349,2349,2302,2061,2066,1868,1774,1860,1891,2041,2122,2358,2693,2846,2814,2690,2642,2975,3648,3860,3771,3742,3957,4257,3299,2655,3488,4040,4071,3560,3075,3262,3585,2976,2438,2306,2455,1881,1619,1903,2342,2785,2775,2395,1925,1693,2343,1613,1713,2307,2163,2216,1870,2232,2483,2607,3050,2763,2470,2743,2652,2743,2938,2670,2376,2551,2658,2700,3328,3968,3232,2460,2534,2723,2036,1955,1757,1863,2075,2243,2492,2510,2752,2920,2315,1566,1746,2279,1818,1675,1560,1577,2500,2515,1794,1801,2446,2564,2353,2328,2147,1874],[2692,2735,2719,2859,3079,3013,2881,2703,2562,2589,2786,2699,2372,2289,2460,2653,2766,2906,3056,3077,2864,2566,2485,2729,2889,2630,2232,1909,1874,1942,2181,2083,1882,1666,1624,2052,2255,1769,1404,1449,1572,1586,1525,1496,1338,1450,1647,1818,2272,2234,2048,2773,3660,3557,3671,3903,3737,3773,4009,3997,3609,3603,3790,3729,3416,3768,4340,4082,3709,3826,3876,3573,3239,3142,3334,2085,1462,1718,2751,3538,3803,4019,4208,4132,3897,3248,2966,3044,3216,3234,3078,3322,3853,3353,2893,2995,2919,3544,3631,2749,2049,2040,2040,1946,1836,1842,1960,2632,3229,3090,3097,2887,2418,2077,2120,2009,2056,2316,2588,2520,2370,2296,2086,2027,2261,2086,1965,1562,1672,1656,1802,2370,2888,3295,2829,2117,1680,1668,1953,2156,1970,1547,1722,2732,3051,2545,2077,1908,1852,1885,2052,2129,1853,2175,3135,2922,2765,2769,2274,2018,1866,2135,2488,2549,2216,1935,2713,2615,2332,2675,3297,2979,2122,2659,3014,2779,2697,3047,3031,2403,2645,2862,2622,2475,1772,1715,1835,1867,1427,1774,1664,1678,1559,1562,1828,1940,1842,1552,1923,2253,2517,3082,2542,1769,1729,1747,1805,2543,2783,2026,1700,1587,1730,1771,1612,1726,1714,1760,1698,1613,1705,1615,1711,1924,1974,1818,1635,1392,1758,1478,1318,1322,1518,1767,2068,2082,2304,2477,2710,3067,3411,3561,3228,2500,2529,2308,1982,2920,3140,2365,2264,2781,2378,1830,1767,1823,2067,2064,1968,2781,2641,2074,1572,1862,2128,2040,2310,2191,1671,1697,1687,1593,1889,2024,1688,2070,2085,1654,1461,1583,1929,2042,2462,2876,3310,3081,3449,3721,3489,3522,2950,2651,2025,1591,1861,1891,1981,2318,2641,2326,2633,3000,3493,3319,2927,2097,1737,1861,2135,2539,2501,2211,2255,2433,2174,2192,2040,1922,2143,2155,1830,1936,2447,2103,1838,2172,1997,1951,2218,2061,1828,1750,2060,1717,1946,2276,1900,2534,2822,2612,2338,2832,3165,2365,1640,1974,2088,2131,2041,1969,2012,2002,1844,1709,1732,1854,1632,1778,1502,2038,2492,2147,1864,1940,2268,2428,2335,2487,2557,2531,2488,2561,2510,2444,2577,2767,2789,2776,2665,2350,2534,2923,3430,2844,2220,2601,3599,4030,3824,3219,3008,2994,2798,2712,2711,2324,2411,3103,3604,3467,3084,2557,2381,2182,2248,2469,2874,3245,3462,3105,2633,3519,3140,3141,3369,3308,3338,2969,3077,3193,2746,2623,2679,2607,2364,2979,3041,2972,3167,3046,2699,2536,2671,2517,2520,2551,2413,2640,2924,2840,3371,3780,3344,3341,3763,4047,3786,3095,2810,2689,2822,2841,2671,2154,2400,2147,2564,3299,3271,3140,3059,2690,2132,2225,2864,2867,2619,2423,3469,2751,2548,2495,3198,3924,4085,3926,3253,2585,1806,1515,1694,1842,1615,1545,2408,3156,2323,1638,2006,2592,2692,2574,2214,1948,1632,1499,1800,1534,1593,1598,1622,1547,1660,1648,1306,2187,3397,2381,1820,2522,2611,2521,2676,2966,3073,2498,2284,1599,1216,1692,2219,2137,2241,2227,1737,2100,1886,1489,1448,1416,1428,1780,2049,2063,1930,1785,1757,1672,1930,1715,1644,1783,2556,2282,2111,2004,1888,1840,1970,1934,1794,1847,1896,1918,1691,2016,2044,2114,2070,1960,1910,1679,1594,1909,2113,1954,1959,2002,2126,2008,1814,1709,1759,1649,1722,1692,1688,1738,1757,1976,1909,1939,1780,1576,1440,1583,1852,1974,1971,2134,2502,2687,2781,2470,2165,1899,1923,2202,2546,2272,2105,2204,2252,2443,2519,2332,2277,2420,2243,1876,2189,2831,2699,2539,2668,2689,2658,2851,2807,2764,2387,2106,1863,2169,2312,1921,1726,1675,1936,2351,2344,2117,1796,1696,2335,2775,2177,2221,2245,2448,2145,2110,2896,3032,2164,2006,2128,1953,2160,2247,1706,1717,1625,1321,1449,1459,1754,2047,2007,2117,2046,1974,2447,3155,3623,4233,4377,4231,4185,4245,4421,4379,4099,4047,4078,3933,3780,3758,3353,3465,3539,3743,3830,3762,3890,4153,4538,4264,3856,3906,3510,2744,2535,3557,3676,2468,3487,4344,4136,4277,4357,3960,3660,3816,3907,3833,3837,3731,3871,3974,3794,3687,3597,3525,3603,3890,3917,3763,3887,3974,4029,4052,3913,3845,3923,3961,3794,3439,2686,2240,2246,2099,1922,1960,1977,2012,1824,1578,1483,1655,1630,1567,1488,1387,1515,1679,1603,1569,1580,1698,1933,1679,1855,1763,1495,1465,1416,1387,1353,1416,1754,1984,2445,2834,2797,2467,2370,3087,3677,3974,3975,3903,3685,2965,2493,3053,2923,2457,2093,1839,1709,1687,1691,1579,1776,2016,1810,1659,1829,2014,1950,1697,1973,2215,2468,2082,1935,1990,1676,1664,1719,1709,1966,2215,1830,1726,1561,1807,1603,2009,2310,2115,1793,1708,2238,2596,2740,2585,2366,2136,2215,2598,2265,1976,2521,2297,2732,2151,1537,1570,1402,1771,2207,1979,1729,1775,1726,2754,3432,3088,2792,2203,1705,1628,2137,2229,2007,2166,1925,1981,2028,2342,2137,1924,2077,1781,1453,1590,1782,1679,1572,1532,1582,1415,1554,1874,1708,1941,2104,2232,1880,1895,2122,2162,1871,1206,1360,2452,2079,2129,2232,1947,2180,1917,1566,1542,1654,1976,2182,2050,1934,1885,2016,2031,1855,2574,2800,3445,3350,2403,1665,1597,1778,1776,2069,2579,2680,2740,2544,2028,1967,2217,1907,1635,1801,1721,2322,3219,2906,2541,2287,2154,2022,2150,2152,3037,3726,3453,3041,2675,2631,2167,1910,2874,3599,3958,3651,3173,2985,2927,3230,3428,3088,2767,2817,2931,2954,2655,2701,2666,2036,2318,2689,2100,2268,2997,3131,2401,2154,2350,2124,2600,3004,2709,3073,3252,2841,3087,3343,3440,3355,3572,4063,3839,2946,2526,2382,2461,2699,2963,2741,3021,3263,3143,3386,3549,2941,2551,3042,2539,1809,1819,1967,1879,1920,1991,1660,1377,1556,1671,1720,1907,1694,1543,1509,1719,1719,1722,1594,1422,1665,1720,1408,1460,1537,1585,1515,1488,1592,2136,1800,1618,1823,1886,2157,2165,2334,2228,2059,2067,2079,1823,1666,1816,1951,1548,1513,1556,1512,1710,2091,2117,1869,1998,2365,2306,2155,2165,2118,2474,2828,2241,2165,2603,2942,3363,3322,3105,2934,3165,3477,3183,2821,1916,1577,1655,1746,1389,1542,2089,2245,2418,2311,1945,2126,2823,2990,2557,3157,3273,2956,2675,2763,2127,2090,2576,2308,2296,2781,2547,2464,2792,2810,2833,2987,3268,3420,3552,3332,2987,2601,1930,1695,2579,2798,2222,2149,2586,2929,2699,1878,1671,2120,2055,1862,2020,1866,2285,2567,2810,2316,1779,1731,1759,1740,1768,1480,1279,1551,1780,1933,1835,1752,1765,1849,2024,1925,1672,1793,1885,1711,1480,1778,2178,2241,2286,2405,2342,1909,1622,1534,1526,1600,1961,2020,2062,2769,2897,2095,1841,2352,2381,1860,1503,1510,1853,2052,1697,1503,1493,1515,1957,1891,1499,1511,1558,1452,1537,1538,1588,1552,1566,1853,1914,1979,1936,1797,1643,2408,3144,2214,1812,1617,1576,1768,1884,1938,1964,1898,1709,1785,2052,1676,1598,1400,1548,1711,1625,1399,1276,1350,1462,1851,2151,1871,1567,1707,1468,1288,1361,1376,1498,1527,1704,2025,2002,1903,2837,3683,3959,3304,3023,3105,3327,3640,3211,2372,2265,2149,1708,1469,1332,1370,1648,1648,1636,1502,1805,2358,2334,2203,2843,3509,3694,3595,2766,2420,2570,2236,2552,2475,2276,2090,1902,1993,1908,1857,1863,1791,2141,2226,2211,2097,2256,2223,2978,2728,2026,1830,2452,2692,2214,2132,2002,1769,1853,2533,2526,2365,1965,2306,2045,2197,3366,3410,2746,2759,3234,3296,2545,1805,1611,2032,2090,1866,1725,1917,2619,3284,2830,2355,2086,2275,2512,2662,2602,2556,2261,2209,2122,1354,1861,2331,2313,2427,2986,3348,3253,2989,3562,3996,3258,2587,2370,2455,2260,2762,3064,2868,2766,2562,2634,2408,2452,2586,2438,1916,1647,1466,1802,2170,2087,2219,2653,2774,2779,2809,2811,2521,2382,2303,2408,2675,2831,2799,2663,2764,2851,2642,2502,2567,2812,2945,2897,2776,2687,2691,2601,2685,2651,2492,2253,2322,2653,2485,2325,2429,2491,2420,2263,2199,2209,2265,2355,2557,2641,2645,2875,3088,2867,2678,2500,2694,2614,2664,2641,2610,2755,2710,2561,2630,2724,2834,2800,2775,2731,2545,2451,2458,2337,2499,2779,3149,2798,1953,1750,2094,2830,2975,3156,3499,3654,3481,2695,2552,3090,3581,3675,3847,3796,3452,3532,3442,3413,3559,3597,2402,1826,2075,2329,2534,2950,3272,3159,3250,3372,3738,3748,3773,3385,2549,2004,2024,2583,2817,2668,2338,2378,2743,2424,2143,2089,2388,2581,2720,2902,2804,2350,2270,2701,2508,2191,2144,2428,3149,2845,3106,3211,2598,2126,2157,2017,1880,2265,2613,2465,2545,2454,2349,2147,1888,2298,2475,1825,1723,1983,1954,2133,1842,1656,2484,2473,1801,1291,1743,2076,2290,2188,1676,1444,1420,1583,1876,1886,1730,1825,2233,2004,2237,2311,2118,2305,2226,2731,3564,4133,4034,2845,2862,2676,1792,1492,1484,1615,1859,2675,3260,3467,3400,3154,3289,2723,1375,1907,2899,2921,2740,2784,2822,2273,2075,2629,3268,3394,3245,3414,3667,3217,3266,2359,2635,3422,3737,3525,3474,3738,3763,3384,3069,3232,3165,2899,3238,3323,3288,3311,3110,2994,3511,3861,3602,2985,2918,3333,3409,3116,2707,2135,2834,2680,2784,2534,2747,2823,2055,1913,2339,2079,2138,2480,2156,2125,2167,2199,1992,2020,1963,1786,1859,2547,2922,3090,3104,2838,2643,2922,3274,3861,3943,3897,3684,3971,4006,2787,2412,3065,3520,3452,3016,3190,3629,3386,3033,2396,1864,1910,1814,1620,1579,1808,1982,1640,1928,2364,2251,2013,1430,2178,2102,1994,2800,2492,2379,2845,2777,2919,2935,2496,2453,2839,3088,2953,2162,1894,2049,2082,2198,3045,3472,2937,2555,2653,2922,2338,2080,1646,1588,1797,2300,2808,2592,2686,3022,1636,1042,1280,1429,1402,1640,1496,1759,2566,2359,1713,1938,2599,2843,2408,1910,1893,1716],[3088,3073,3133,3208,3201,3100,2832,2555,2485,2679,2767,2611,2437,2399,2530,2578,2646,2801,2921,2795,2474,2348,2702,2941,2564,2219,1897,1804,1879,2097,2147,1892,1780,1813,2261,2459,1905,1692,1672,1477,1410,1372,1366,1489,1350,1642,1684,1686,2101,2548,3221,3677,3985,3852,4021,3887,3651,3640,3971,4013,3763,3867,4047,3757,3405,4006,4273,3887,3497,2920,3332,3182,2931,3186,2730,1654,1444,2065,3073,3494,3834,4052,3952,4000,3942,3310,3000,3219,3581,3480,2916,2909,3530,3762,3637,3196,2557,2865,3061,3076,2542,1939,2041,2166,1945,1806,1986,2818,3119,3062,2853,2482,1995,2221,2231,2105,1991,2084,2454,2724,2568,2637,2626,2678,1878,1692,1748,1749,1636,1602,1948,2463,3167,3576,2993,2206,2077,2208,2598,2378,1842,2047,2276,2149,2303,2692,2294,1874,2135,2089,1986,1748,1606,2371,3045,3554,3396,2388,1957,1781,1700,1790,2018,2396,2302,2620,3117,2541,2217,2307,2993,2592,2104,2930,2511,2298,2639,2930,2955,2889,3240,2739,2418,2244,2204,2349,2258,2175,2118,1918,1598,1534,1571,1838,2062,2214,2444,1960,2142,1956,2348,2752,2670,2454,2113,1483,1396,2417,2504,1594,1521,1964,2119,1965,1542,1693,1682,1541,1647,2002,1838,1581,1811,2017,2025,1832,1778,1507,1440,1551,1450,1285,1787,2411,2274,2170,2241,1968,3157,3530,3039,3106,3184,1982,2260,2345,2053,2045,2114,2217,2203,2522,1805,1704,1837,1865,1853,2302,2500,2552,2391,1948,1678,1744,1731,1593,1958,1813,1511,1666,1814,1903,2171,2033,1721,1990,2156,2025,1670,1742,2264,2543,2510,2153,2418,2878,3039,3061,3131,3421,3252,2773,2123,1593,1711,1442,1739,1607,1830,1931,2038,1805,1999,2523,2658,2061,1677,1531,1534,1977,2386,2316,2408,2414,2159,2240,2220,2330,2351,2198,2020,2164,2188,1697,1709,1895,2026,2232,2338,2167,1993,1868,1599,1490,2149,2236,2188,2618,2339,2393,2684,3220,3032,2143,1620,1489,2038,2593,2174,1932,1830,1648,1720,1873,1688,1663,1893,2345,2018,1760,1693,1685,1631,1657,2522,3010,2764,2350,2316,2401,2347,2488,2464,2605,2736,2539,2425,2963,3232,3247,3045,3095,3517,2978,2525,2643,3297,3463,3393,3082,2690,2833,2927,2966,3128,2812,2542,2630,2972,2908,2548,2403,2304,2383,2634,2718,2832,2790,2933,2835,3320,3736,3599,3439,3151,3447,3606,3281,3332,3119,2749,2781,2755,2648,2664,2796,3219,3432,3211,2878,2687,2744,2561,2169,2308,2479,2578,2621,2721,2788,3221,3702,3728,4015,4375,4200,3649,3310,2630,2357,2812,2646,2166,2665,3458,3253,3308,3384,3262,2830,2311,2599,2792,2963,3119,2720,2449,2298,2953,2886,3012,3541,3961,4251,4410,3957,2752,2918,2257,2008,1799,1436,1373,1744,2720,2927,2135,1543,1951,2365,2110,1932,1953,2404,1831,1743,1787,1701,1683,1593,1443,1540,1976,1904,1487,1717,1859,1751,2120,2250,1974,1843,2066,2454,2285,2024,1871,1805,1844,2112,2475,2187,1688,1677,1469,1732,1489,1507,1597,1720,1736,1952,2348,2182,1854,2098,2471,2294,2096,1558,1676,1843,2062,2170,1867,1762,1932,1931,2174,1953,1910,1892,2094,2276,2250,2896,2928,2494,2038,1736,1722,1560,1623,2077,2178,1992,1762,1757,1947,2007,1916,1910,1748,1698,1726,1617,1890,2193,1946,1663,1754,1787,1925,1890,1697,1976,2085,2204,2252,1979,2136,2463,2601,2680,2364,1993,1930,2125,2241,2249,2653,2705,2404,2509,2869,2541,2076,2160,2062,2088,2626,2938,2626,2476,2834,2801,2510,2397,2403,2531,2028,1597,1883,2086,1980,1792,1478,1628,2044,2144,2005,1787,1694,1633,2049,2041,1710,1775,2049,2174,2216,1988,2156,2062,1750,1915,1762,1818,1959,1869,1850,1733,1535,1503,1561,1444,1359,1633,2056,2019,1893,2473,3174,3476,3536,4171,4229,4036,4083,4352,4427,4203,4149,4121,4012,3596,3581,3892,3459,3553,3740,3839,3804,3836,4163,4480,4440,4309,4020,3926,3560,3042,3053,3151,2488,2808,3792,4124,4376,4333,4197,3985,3562,3697,3898,3714,3750,3750,3683,3640,3680,3682,3636,3641,3887,4229,4265,3891,3860,3945,3983,4104,3957,4042,4007,3912,3614,2791,2259,2244,2056,1990,2088,2165,1668,1695,1594,1603,1561,1489,1690,1758,1538,1440,1322,1328,1310,1319,1529,1676,1592,1656,2058,1953,1510,1479,1379,1323,1354,1389,1422,1576,2160,2786,2564,2677,2722,2775,3440,4108,4047,3913,3550,2656,2470,3256,3338,3472,2732,1865,1597,1726,2017,2106,1916,1751,1902,1850,1804,2375,2026,2027,2017,1875,2176,2396,2045,1527,1329,1659,2060,1812,1768,2062,1987,1998,1885,2013,1866,2082,2240,2460,2169,2173,2348,1945,2160,2327,2366,2156,2509,2345,1760,2029,2377,2031,2264,2009,1593,1539,1422,2062,2210,1871,1754,1987,1830,2340,2530,2386,2301,2212,1936,2179,2097,1775,2072,2622,2417,2220,1896,1749,1726,2062,2156,1833,1570,1780,1666,1468,1614,1648,1579,1597,1534,1570,1654,2100,2619,2630,2404,2479,2070,2382,2128,1814,1742,1921,1953,2459,2363,1855,1839,1809,1786,1927,1916,2062,2062,1620,1506,1816,1915,1596,2180,2863,3090,3508,3223,2566,1757,1382,1540,1981,2257,3150,3308,2784,2470,2512,2668,2695,2410,2125,2130,2055,2863,3337,2962,2394,1985,2069,2199,2298,2398,3277,3517,2769,2388,2451,2404,2125,1698,2534,3006,2765,2896,3195,3022,2861,2952,3491,3492,2766,2820,3287,3310,3204,3051,2076,2084,2630,2553,1919,2124,2993,2962,2290,1880,1947,1891,2459,2964,2963,3198,3449,3487,3340,2555,2471,3396,3851,4120,3638,2288,2370,2597,2327,2896,3387,3183,2766,2775,3077,3587,3640,3189,2853,3072,2474,2577,2384,2457,2034,1882,1809,1505,1392,1472,1549,2051,2413,2063,1986,1714,1759,2068,1868,1486,1560,1932,1808,1507,1466,1458,1530,1425,1459,1716,2079,1968,1860,1786,2603,2802,2160,2249,2494,2327,2323,2483,1742,1553,1684,1461,1387,1543,1510,1582,1889,2264,2432,2384,1918,1764,1707,2318,2338,2120,2385,2753,2245,2214,2457,2946,3430,3112,3154,2406,2624,3141,3104,2857,1924,1717,1836,1699,1609,1977,1941,1787,1743,1690,2324,2067,2337,2658,2189,2010,1849,1735,1883,1907,2017,2662,2400,2007,1893,1974,2067,2634,2463,2194,2413,2988,3393,3516,3608,3598,3203,2808,2182,1903,2747,2480,2013,2243,2163,2586,2668,2054,1837,1895,1636,1623,1799,1791,1674,1810,2593,3077,2522,1946,2092,2247,2002,1752,1869,2086,2362,2204,1888,1814,1937,1714,1711,1698,1473,1942,2332,1999,1684,1602,1878,2026,2390,2828,2031,1572,1547,1673,1981,2121,1890,1881,2341,2178,2525,2350,2004,1976,2042,1710,1637,1690,1803,1892,1686,1603,1407,1456,2285,2145,2107,2374,2026,1639,1865,1802,1738,1748,1801,1873,1679,1437,1543,1622,1461,2288,2831,2009,1820,1768,1510,1713,2002,1873,1927,1943,1815,1744,1986,1722,1949,1608,1855,2214,1773,1594,1475,1461,1677,2342,2737,2084,1439,1395,1287,1262,1419,1516,1601,1488,1455,1770,1952,2002,2986,3917,3641,2714,2783,3096,2980,2678,2446,2292,2422,2774,2246,1776,1380,1460,1427,1333,1365,1468,1514,1728,1944,2200,2765,2612,2615,2665,2377,2721,3067,3023,2679,2611,2271,1975,1811,1741,1783,1975,1982,2181,1982,1879,2186,2346,2340,1974,2055,2482,2449,2066,2375,2348,1928,1760,1895,2353,1920,2202,1931,2260,2233,1964,1805,1912,2554,2618,2120,2360,3187,3604,2979,2053,2022,2644,2675,2280,2194,2104,2337,2635,2934,2768,2562,2721,2773,2718,2637,2327,1782,2020,1612,992,1411,2054,2404,3165,3505,3454,3371,3061,3813,3657,3231,2569,2101,2340,2565,2735,2543,2196,2127,1847,2125,2122,2245,2056,2449,2513,2076,1981,2385,2604,2459,2442,2496,2453,2612,2700,2710,2435,2313,2273,2464,2718,2721,2808,2865,2784,2828,2696,2710,2734,2845,2898,2906,2783,2679,2568,2577,2558,2495,2482,2322,2500,3156,2728,2418,2229,2692,2779,2475,2286,2396,2452,2603,3098,3228,2991,3068,3175,2908,2746,2497,2465,2415,2427,2524,2580,2513,2510,2614,2481,2485,2684,2687,2962,2754,2514,2564,2471,2435,2531,2719,3095,2688,1959,1837,2078,2539,2643,2835,3674,3491,2813,2492,2622,2909,3106,3225,3319,3102,3176,3462,3480,3530,3415,2886,2093,1871,2040,2542,2962,3212,3373,3331,3459,3717,4030,3906,3650,2867,2375,2155,1924,1936,2284,2689,2387,2442,2969,2930,2135,2049,1974,2259,2446,2543,2813,2343,2133,2930,3066,2590,2317,2720,3094,2517,2286,2364,2153,2106,2008,1794,1958,2245,2380,2081,2408,2155,2169,2303,2038,2276,2391,1884,1858,2020,2042,2164,2037,1675,2640,2279,1690,1441,1405,1551,1772,1649,1416,1352,1399,1615,1731,1475,1657,1802,2377,2327,2197,2121,2082,1779,1787,2678,3454,3472,3019,2247,2576,2829,2148,1675,1852,2369,2942,3276,3300,3585,3812,3616,2954,1487,1068,1766,2700,2766,2819,2764,2420,2193,2454,2811,3068,3218,3430,3515,3312,2395,2019,2216,2786,3454,3790,3504,3198,3149,3005,3074,2909,2926,2591,2623,2839,3024,3200,3221,2698,2801,3605,3897,3803,3804,3562,3638,3848,3196,2345,2173,2400,2607,3133,2710,2482,3261,2779,1698,2168,2581,2358,2330,2070,2334,2620,2633,2317,2007,1731,1428,1965,2863,3007,3134,2897,2341,2787,3071,3388,3635,3617,3554,3338,3584,3454,2517,2198,2512,2563,2488,3207,3465,3839,3386,2752,2431,2221,2061,1938,1979,2093,1976,1897,1459,1125,1526,2138,1927,2103,2701,2216,2010,2385,2708,2780,2655,2921,2965,2463,2520,2313,2509,2574,2256,1976,2387,2575,2297,2249,2562,2558,2879,2828,2820,2743,1959,1676,1606,1672,1684,2369,3388,3166,2613,2629,1509,1262,1312,1220,1437,1566,1597,1804,1940,1715,1854,2803,3066,2902,2514,1917,2561,2600],[3033,3042,3026,3074,3219,3157,3115,2700,2496,2669,2698,2743,2651,2553,2405,2435,2719,2863,2632,2356,2423,2809,3073,2636,2122,1905,1797,1776,1908,1981,1842,1743,1894,2296,2431,2267,2017,1906,1757,1509,1402,1350,1316,1441,1425,1424,1630,2158,2775,3476,4242,4446,4281,4047,3776,3448,3623,3757,3808,3790,3828,4016,4007,3808,3672,3850,4124,3398,2620,2008,2222,2231,2237,2620,2370,1742,1643,1938,2595,3298,3831,3859,3718,3929,3949,3349,3117,3562,3689,2984,2668,3122,3472,3708,3544,3689,2715,2192,2135,2272,2339,2403,2776,2569,2105,1852,1946,2614,2895,3404,2990,2503,2465,2508,2314,2288,1982,1673,2261,2784,2670,2919,2669,2220,1822,1723,1731,1951,1660,1425,1606,1965,2694,2980,2799,2534,2357,2272,2634,2231,1763,2338,2667,1973,2060,3021,2776,2126,2415,2072,2181,1912,2012,2325,2449,2908,2750,1870,1523,1888,2041,1939,1905,2186,2334,2402,2160,2104,2128,2017,2677,2523,2886,3197,2105,2320,2976,3087,2749,2787,3248,2531,2424,2096,2241,2776,2776,2359,2148,1816,1456,1377,1438,1553,1663,1925,2196,2172,2189,2012,2503,2341,1850,2016,1814,1263,1234,1991,2332,1778,1823,1831,1399,1631,1628,1653,1688,1507,1578,1827,1750,1722,1836,1973,1837,1720,1617,1484,1824,2277,1816,1487,1852,2366,2103,1803,2027,2130,3539,3022,1857,2230,2186,1845,2148,2491,2329,1589,1763,2269,2214,2430,1635,1540,1853,1736,1666,2745,3684,3057,2057,2167,2456,1677,1493,1475,1381,1515,1287,1622,1800,1750,1745,1635,1689,1974,2096,2178,1640,1638,1781,2086,2176,2031,2539,3221,3344,3188,3199,3209,2667,2342,2149,1660,1699,1572,1750,1480,1660,1900,1808,1653,1481,1692,1966,1933,1731,1672,1671,1864,2171,2493,2503,2524,2640,2252,1979,2503,2525,2344,2213,2163,1758,1648,1564,1677,1737,1935,2190,2182,2141,2029,1596,1613,2204,2217,1985,1953,2472,2786,2859,3151,2776,2199,1881,1684,2276,2752,2261,1679,1720,1635,1675,1733,1900,2190,2424,2736,2229,1624,1683,2132,2120,1839,2483,3151,3204,2289,1964,2319,2138,2004,2255,2426,2473,2181,1781,2307,2934,3149,3055,3264,3553,3096,2524,2787,3052,2740,2915,2701,2244,2145,2751,3309,3053,3294,2824,2289,2231,2403,3145,3587,3078,2709,2724,2491,2275,2232,2263,2281,3286,3520,3297,3330,3455,3554,3580,3686,3615,3479,3575,3551,3279,2873,2889,2818,3007,3278,3210,3071,3128,3022,2551,2486,2554,2458,2684,2686,2586,2879,3392,3835,3674,3219,3359,3305,3193,3142,2449,2341,2850,2521,2529,3276,3607,3626,3567,3505,3476,2501,1874,2468,3019,3211,2768,1936,1835,2148,2808,3064,3248,3783,4057,3752,3301,3509,2498,2979,2708,2009,1647,1696,1534,1472,1726,1906,2076,1909,1973,2044,1946,1640,1542,1941,1843,2206,2028,1837,1826,1600,1692,2051,2691,2411,1662,1698,2067,2104,2585,2384,1893,1549,1848,2088,1913,1768,1626,1881,1816,1910,2292,2166,1711,1656,1540,1603,1549,1500,1676,2100,2105,1997,2086,1907,1737,2017,2746,3045,2366,1853,2147,2007,1982,2041,1496,1280,1686,1700,1908,1908,2110,1995,2065,2470,2577,2504,2405,2118,2000,1784,1718,1643,1834,2005,2074,1888,1678,1605,1827,2006,1953,1920,1952,1918,1780,1778,1929,1892,1625,1445,1632,1787,1925,1693,1484,1694,1986,2024,2057,1860,1685,2318,2588,2705,2473,2040,1964,2301,2200,2067,2378,2489,2391,2111,2364,2575,2069,1939,2078,2164,2532,2580,2466,2586,2578,2509,2213,1852,1884,1960,1808,1676,1896,1688,1346,1252,1353,1677,1760,1663,1681,1655,1588,1293,1572,1829,1898,1825,1851,2160,2587,2519,2149,1878,1879,1898,1896,1986,2057,2385,2338,1810,1537,1499,1515,1393,1375,1603,1829,1745,1800,2267,3052,3457,3682,4151,4172,3718,3473,3978,4303,4012,3552,3150,3150,3688,4341,4055,3688,3707,3704,3676,3840,4212,4559,4600,4332,4330,4004,3448,3326,3318,3509,3333,2943,3406,3770,4320,4579,4501,4277,3797,3486,3661,3780,3659,3666,3666,3678,3607,3632,3752,3774,3683,3993,4108,4126,4100,3869,3810,4008,4222,4086,4046,3924,3521,2808,2338,2258,2079,1939,1976,1830,1813,1465,1555,1709,1515,1344,1440,1661,1704,1570,1481,1379,1405,1206,1225,1456,1504,1479,1583,2241,2241,1556,1470,1434,1399,1489,1230,1350,1490,2045,2252,2213,3022,3321,2856,2556,3298,3825,3666,3254,2386,2165,2609,3386,3523,2953,2088,1593,1655,1741,2035,1982,2048,2647,1980,1493,1918,2067,2306,2096,1614,1886,2238,2235,1682,1523,1647,1860,1605,2053,2435,2232,2063,1875,1759,1826,2106,2614,2854,2652,2918,2647,2161,1929,2242,2328,2029,2310,2297,2024,2392,2320,1656,1838,2112,1852,1688,1649,2245,2420,2225,1829,1679,1781,1719,1634,1791,2130,2182,2609,2854,2152,1835,2360,2584,2861,2519,2045,1581,1773,2054,2008,2129,1841,1763,1664,1606,1486,1530,1708,1763,1510,1427,1454,1705,2308,2565,2248,2040,1759,2302,2156,2199,2036,1738,1991,2438,2205,1699,1858,1562,1742,2037,2194,2276,2209,1596,1648,1815,1543,1729,2654,2632,2621,2907,2178,2025,2014,1667,1567,1755,1974,2742,2617,2248,2609,2879,2812,2719,2483,1920,1714,1974,3227,3868,3309,2719,2272,2251,2301,2181,2447,2813,2949,2652,2451,2688,2855,2419,2026,2429,2624,2214,2485,3069,3235,3123,2641,3085,3384,2863,2622,3283,3580,3369,2755,2295,2374,2426,2426,2135,2279,2651,2452,2426,1997,2053,2211,2529,2666,3130,3631,3526,3607,3396,2514,2165,2980,3741,4024,3382,2177,1802,1840,1692,2179,2842,2805,2822,3108,2930,3415,3156,3123,2908,2491,1917,2117,2499,2724,2253,1845,1648,1533,1611,1803,2070,2233,2385,2338,2388,2427,2110,1843,1755,1735,1528,1478,1579,1520,1434,1403,1452,1407,1519,1812,1871,2110,2361,2359,2644,2253,1584,1961,2780,2636,2810,3155,2048,1581,1501,1554,2040,1947,1548,1712,1942,2098,2152,2308,2006,1704,1960,1967,2073,2095,2141,2454,2555,2344,2514,2947,2956,1904,1989,1705,1723,1691,1569,1549,1572,1716,1720,1642,1852,2017,1572,984,918,1013,1995,1909,1894,2221,2126,2092,2337,2336,2305,2223,2248,2453,2106,2245,2452,2823,2502,2176,1843,1870,2368,3155,3647,3794,3459,3353,2987,2548,1994,2057,2385,2115,1725,1957,2198,2459,2886,2260,1967,2247,1866,1591,1547,1685,1776,1989,2384,2767,2808,2568,2511,2299,1819,1781,1898,2047,2071,1721,1556,1614,1889,1672,1550,1718,1642,2097,1982,1658,1762,1880,1700,2018,2367,2572,1904,1179,1587,2236,2429,2010,1473,2017,2632,2446,2688,2431,1857,1847,2045,2022,2040,1699,1738,1887,1574,1648,1597,1666,2671,2393,2347,2503,2086,2024,1965,1538,1337,1434,1850,1927,1873,1776,1654,1628,1460,1685,1818,1573,1592,1553,1394,1566,2072,1886,1831,1903,1839,1532,1520,1516,2072,2132,2061,2275,1901,1838,1690,1491,1521,1535,1912,1752,1365,1319,1332,1387,1519,1516,1388,1461,1447,1594,1765,1798,2257,2991,2774,2081,2314,2625,2116,2132,3053,2945,2530,2711,2496,2177,2379,2126,1543,1315,1366,1490,1421,1694,1742,1798,2461,2644,2886,2802,2425,2570,2117,1990,2474,2546,2083,1990,2172,2025,2425,2409,2465,2854,2254,2027,2280,2546,2474,2044,1542,1941,2300,2122,2067,1842,1694,1687,1750,1800,1562,1803,1662,1994,2342,2430,2219,1776,2207,2321,2252,1743,2230,2922,3066,2641,2568,2403,1848,1917,2047,1851,1924,2708,3481,3169,2905,2601,2714,2680,2512,2283,1796,1801,1991,1543,1700,2317,2645,3330,3507,3417,3225,3050,3356,2646,2291,1873,1615,1953,2194,2051,1857,1750,1936,2238,2382,2665,2635,2115,2373,2483,2320,2680,3467,3455,2951,2488,2504,2513,2353,2575,2586,2382,2384,2708,2754,2696,2652,2754,2705,2295,2542,2805,3038,3020,2706,2783,2986,2850,2813,2910,2796,2664,2618,2456,2257,2555,3132,2873,2635,2321,2576,2810,2512,2128,2351,2421,2870,3732,4185,3965,3615,3065,2565,2756,2792,2576,2532,2395,2348,2359,2382,2641,2962,2574,2369,2382,2676,3064,2867,2713,2769,2665,2610,2779,3207,3531,3226,2598,2040,2467,2828,2050,1995,2565,2483,2196,2547,2876,2714,2657,2804,3306,3211,2945,3275,3556,3559,3530,2999,2604,2830,2956,3981,3746,3395,3457,3738,3749,3855,4173,3965,3327,2590,2143,2258,2070,1731,2046,2330,2448,2503,3002,2844,2207,2095,2117,2587,2717,2545,2152,2030,1856,2728,2758,2262,2143,2405,2362,2066,2003,2220,2139,1750,1781,1827,1909,2257,2024,1974,2194,2148,2575,2524,2300,2499,2376,2180,1756,1671,2009,2436,2037,1320,2019,1927,1564,1522,1522,1663,1866,2289,1862,1528,1442,1388,1334,1510,1746,2049,2337,2581,2510,2347,2246,2062,2027,2106,3141,2902,3049,2584,2201,2576,2587,2396,2730,3117,3345,3233,3372,3694,3742,3575,3187,1968,1666,1944,2362,2997,3308,3282,2677,2263,2509,2811,3075,3207,3253,3153,2954,2643,2295,2457,3006,3449,3711,3171,3153,3285,3018,2590,2812,2852,2656,2665,2597,2721,2988,3087,3200,3445,3620,3694,3700,3814,3465,3515,3560,2966,2121,2302,2714,2750,2814,2272,2315,3074,2452,2101,2327,2710,2654,2125,2174,2374,2383,2276,1874,1992,2008,2246,2526,2860,3077,3042,2219,2301,2934,3101,3588,3324,2555,2504,2420,2497,3042,2870,2537,2880,2294,2511,2974,3133,3160,2457,1775,1900,2272,2073,1990,1998,2094,1774,1987,2014,1171,1334,2400,2677,2955,3239,2939,2943,2997,2718,2409,2490,3265,2674,2111,2459,2736,2763,2597,2296,2280,2317,1943,2027,2539,2392,2411,2768,2833,2886,2354,1655,1432,1297,1488,1609,2586,3660,3635,3288,2598,2098,1547,1499,1561,1731,1771,1841,1990,2153,1747,2045,3685,3787,2597,2400,2757,2808,2435],[2917,2761,2713,2836,2932,2974,3388,3078,2522,2405,2629,2754,2690,2501,2497,2783,2834,2662,2306,2312,2930,2952,2454,2114,1903,1757,1794,1911,1926,1796,1663,1755,2311,2461,2145,2113,2160,1966,1684,1500,1478,1397,1365,1526,1588,1815,2413,3292,3802,3925,4000,4132,3941,3791,3554,3419,3592,3662,3682,3616,3695,3809,3670,3863,3711,3515,4007,3316,2370,2255,2294,2197,2134,2166,2380,2897,2351,2239,2358,2769,3365,3657,3692,3749,3693,3539,3594,3554,3204,2698,2978,3564,3692,3591,3684,4003,2858,2203,2130,2003,1968,2226,2830,2373,2397,2122,1904,2373,3107,3140,2874,2739,2698,2571,2140,2423,2433,1882,1826,2092,2648,2604,2250,2632,2722,2098,2024,1954,1568,1434,1556,2049,2536,2492,2890,3251,2567,2300,2558,2308,1967,1869,1732,1940,2480,3091,3168,2692,2544,2235,2597,2507,2204,2156,2312,2367,2386,2087,2128,2314,1681,1613,1849,1881,2160,2592,2790,2292,1744,1953,2759,2563,2916,3285,2168,2640,3256,3493,2819,2468,2662,2382,2706,2657,2429,2547,2730,2593,1798,1214,1208,1287,1645,1480,1552,1677,1801,2255,2047,1913,2803,2671,2050,1798,1532,1347,1466,2008,2270,2010,1954,1593,1300,1444,1503,1533,1822,2016,1902,1826,1988,1926,1864,1764,2484,2678,1910,1501,2012,2331,1903,1938,1812,2078,2075,2078,1918,2119,3072,2493,1908,1780,1752,1927,1747,2168,2182,1675,2211,2250,1926,2079,1830,1723,2073,1825,1721,2923,3925,3377,2524,2450,2444,1870,1774,1900,1790,1825,1512,1541,1705,1756,1954,1884,1873,2027,1968,2232,1956,2299,3091,3596,3209,2565,3109,3332,2180,2277,3509,3420,2420,2458,2222,1900,1799,1601,1553,1589,1720,1698,1720,1768,1750,1749,2024,2245,2165,1961,1944,1909,2123,2389,2586,2569,2308,1970,1700,2250,2523,2539,2438,2073,1727,1795,1810,1681,1905,2416,2366,2366,2387,2386,1952,2109,2315,2721,2255,2073,2424,2584,2722,2808,2678,2237,2061,1760,1744,1965,1962,1784,1817,1602,1504,1500,1836,1822,1991,2591,1920,1480,1598,1899,2148,1829,1796,2107,2396,2018,2204,2533,1996,1865,1936,2063,2154,2023,1604,1615,2797,3504,3454,3524,3594,3282,2943,2978,2940,2692,2518,2310,2138,1975,2386,2801,3189,3472,2834,2416,2218,2268,3286,4084,3440,3183,2742,2197,2450,2623,2226,2235,3054,3476,3317,3409,3455,3286,3343,3609,3500,3161,3190,3489,3400,2939,2924,3054,3178,3190,3286,3306,3172,2778,2817,3087,2830,2609,2765,2713,2611,2929,3637,4121,3817,2717,2732,2931,2905,2744,2323,2445,3002,3054,3160,3396,3492,3553,3408,3612,3928,3542,3096,3241,2988,2946,2434,1849,1833,1935,2142,2575,2780,3175,3319,2920,2446,2585,1614,2209,2187,1490,1742,1928,1818,1974,1928,2048,2246,2119,1566,2018,2108,1588,1568,1622,1954,2620,2610,2270,2025,1754,2327,2224,2932,2697,2040,1594,1608,1998,2292,2047,1710,1632,1792,1974,1997,1685,1520,1410,1567,1711,1708,1627,1733,1709,1962,2250,2053,1884,1926,2062,1854,1911,1991,2191,2349,2236,3040,3876,2863,2187,2376,2228,2354,2556,2078,1505,1576,1526,1608,2079,2195,2142,2042,2402,2448,1961,2070,2107,2002,1791,1826,1888,1807,1853,1907,1933,1956,1832,1946,2068,2010,1967,2026,1998,1904,1892,1748,1603,1640,1534,1518,1626,1582,1649,1562,1581,1810,1908,1805,1953,1909,2076,2317,2453,2216,1987,2047,2032,2104,2083,1991,2094,2327,1971,1859,2408,2208,2219,2217,2152,2368,2436,2631,2189,2217,2396,1980,1593,1613,1754,1628,1473,1764,1698,1404,1351,1582,1600,1712,1902,1725,1731,1388,1428,1694,1795,2129,2188,1936,2392,2546,2256,1845,1839,1814,1934,2212,2514,2879,2742,2018,1775,1661,1595,1744,1462,1456,1529,1500,1481,1527,1990,2356,3193,4172,4380,4080,3465,3039,3188,4160,4300,3247,3106,4136,4476,4559,4332,3975,3522,3234,3471,3853,4103,4348,4245,4004,3793,3494,3007,3167,3567,3765,3006,2592,3306,3398,4196,4407,4508,4232,3739,3276,3599,3652,3770,3935,3782,3661,3750,3688,3792,3838,3820,4052,3971,3981,4146,4056,3871,3937,4099,4154,4024,3726,2879,2306,2220,2012,1986,2116,1946,1782,1677,1444,1545,1584,1426,1383,1419,1556,1570,1503,1480,1421,1420,1403,1443,1384,1313,1450,1656,1571,1450,1604,1417,1401,1387,1617,1537,1594,1638,1788,1569,1766,2315,2626,2822,2056,2105,2656,3077,2526,2167,2099,2449,2708,2749,2717,2187,2113,2025,1548,1824,2144,2526,2410,1750,1734,1777,1592,1810,1744,1485,1480,1598,1898,1797,1614,1525,1594,1781,2100,2059,1956,2262,2104,1575,1593,2136,2419,2918,2930,2995,2698,2528,2397,2734,2314,1776,1958,2159,2179,2316,2017,1793,1902,2109,1895,1985,2424,2481,1982,1702,1694,1929,1934,1650,1768,2379,2276,2043,2205,2058,2009,2229,2430,2257,2235,2975,3134,2208,1683,1783,2258,2209,1781,1547,1531,1604,1508,1424,1540,1491,1264,1311,1550,1656,1662,2056,2353,2670,2469,2150,1974,2059,1975,2215,2634,2714,2520,1914,2196,1786,1847,1885,2156,2248,2187,2214,2085,1722,1576,2210,2837,2267,2032,2048,2293,2484,2314,2115,2232,2053,2504,2894,2082,2415,3130,3415,3433,2956,2386,1986,1739,1616,2917,3882,3510,3074,2398,2046,2191,2238,2020,1835,2296,2565,2574,2808,3176,2579,2321,2464,2382,2216,2195,2453,3032,3560,2773,2755,3146,3206,2762,3021,3361,3162,2590,2275,2162,2363,2680,2929,3284,2900,2618,2646,2488,2335,2482,2480,2087,2493,3164,3458,3708,3497,3326,2662,2627,3553,3930,3271,2364,1711,1542,1745,2332,3017,3307,3648,3614,2799,2736,2986,2781,2027,1904,1674,1584,2041,2120,1935,1769,1542,1593,1957,2423,1974,1807,2046,2338,2597,2190,1492,1544,1895,2041,1536,1503,1429,1514,1589,1592,1550,1556,1426,1422,1807,2404,2474,2382,2508,2262,1901,2507,2786,2384,2614,2776,2137,1878,1687,1902,2196,2032,1703,1742,1782,2056,1912,2009,2310,2150,2273,1832,1814,2102,1958,2270,2613,2340,2460,2980,2387,1620,1544,1560,1502,1587,1649,1535,1609,1760,1559,1582,1739,1750,1736,1291,1263,1479,2127,2254,1861,2113,2237,1852,2128,2118,2121,2202,1991,1976,2076,2154,2045,2051,1731,1600,1930,1848,2050,2844,2633,2313,2035,2030,2322,2428,2216,2142,2261,2050,1978,2809,2951,2906,3172,2686,2250,2358,1654,1278,1349,1538,1855,2320,2604,2679,2502,2355,2200,2105,1619,1652,1796,1730,1708,1575,1470,1545,1699,1650,1460,1598,1610,1816,1646,1781,1713,1772,1726,1542,1359,1922,1911,1338,1799,2403,2978,2692,2452,2304,2427,2264,2451,2617,2347,2304,2255,2489,2254,1677,1692,1830,2050,2033,1792,1905,2343,2149,2086,2001,2087,2576,1952,1418,1446,1572,1919,1880,1801,1627,1515,1566,1503,1564,1663,1626,1512,1297,1268,1427,1841,1711,1696,1915,1816,1644,1642,1624,2014,2164,2077,2167,1980,2079,1816,1530,1575,1580,1593,1664,1621,1458,1592,1942,2186,2065,1641,1802,1528,1570,1726,2178,1985,1650,1757,1620,1461,1716,1690,1560,2110,2448,2402,2724,3348,3666,3506,2431,1726,1543,1426,1504,1790,2326,1862,1797,2312,2832,3108,3030,2343,2204,2008,1533,1853,2250,2405,2785,3100,3022,3531,2728,2437,2451,2235,2274,2285,2333,2254,1905,1886,2032,2136,2690,2322,1990,1887,1709,1680,1664,1685,1966,1913,1737,1869,2136,2332,2064,2219,1990,1646,1247,1335,2518,3557,3281,2658,1969,1750,1983,2075,2026,2290,2498,2917,3226,3381,2849,2546,2692,2543,2054,1707,1990,2644,2268,2114,2498,2858,3266,3842,3798,3212,2715,2272,2139,1927,1779,2389,2114,1911,1921,1858,1614,1506,2052,2609,3008,2746,2292,2201,2267,2413,2343,3218,3354,2800,2521,2510,2383,2401,2562,2310,1853,2214,2820,2976,3129,2642,2711,2546,2317,2448,2664,2813,2788,2831,2979,2909,2999,3417,3404,2972,2646,2542,2430,2428,2525,2711,2730,2671,2446,2129,2090,1963,1850,2356,2420,2674,3298,4115,4069,4187,3824,2989,2889,2902,2784,2878,2798,2688,2604,2651,2725,2946,2684,2520,2392,2524,2768,2887,3142,3164,2852,2547,2658,3022,3304,3298,3024,2638,2839,2285,1732,1762,1780,1687,1987,2862,2872,2525,2743,2854,3432,3406,3023,3283,3548,3520,3549,3133,2967,3717,3912,4160,4126,3625,3538,3864,3882,3773,4084,4125,3624,3067,2589,2468,2203,1775,2236,2095,2085,2094,2410,2341,2089,2070,2551,2938,2851,2231,2366,2049,2156,2578,2197,2141,2238,2211,2118,1939,2088,2744,2072,1324,1728,1683,1703,1964,1978,1810,1720,2072,2249,2027,2212,2303,2415,2567,2162,2192,1979,2354,2370,1757,1732,1720,1570,1522,1660,1882,1797,2204,1905,1737,1704,1693,1761,1831,1833,1910,2160,2303,2282,2375,2071,1740,1862,1652,2568,2258,2674,2802,2348,2654,3128,3177,3253,3185,3250,3263,3442,3685,3720,3664,3530,3062,2492,2259,2818,3401,3466,3702,3006,3230,3426,3083,3239,3270,3149,2839,2750,2734,2417,2601,2899,3077,3548,3254,3548,3693,3264,3005,3084,3201,3016,2584,2222,2435,2753,3117,3327,3319,3348,3251,3167,3452,3575,3526,3229,2540,2248,3062,3332,2588,2042,2339,2471,2348,2088,1847,2114,2588,2566,2231,2240,2150,1928,1769,1590,1974,2364,3007,2419,2613,2872,2636,2175,2406,2602,2896,3482,2985,2473,2929,2844,2553,3432,3636,2844,2423,2395,2689,2707,2669,2575,2351,1704,1415,1449,1551,1718,1721,1721,1242,1207,1481,1386,1775,2402,2710,3051,3148,3334,3278,2875,2259,2166,2550,2823,2475,2220,2520,2708,2416,2485,2662,2608,2197,1961,2148,2600,2619,2688,2922,2617,2731,2517,1743,1556,1361,1464,2179,3046,3884,3596,3055,2288,2221,2243,1856,1728,1814,2104,2082,1825,1717,1576,1639,2591,2496,2269,2320,2690,2303,1730],[2844,2902,2989,3139,3231,3138,3379,3257,2790,2547,2584,2655,2522,2587,2823,2890,2497,2420,2395,2678,2702,2374,2179,1892,1748,1867,1871,1859,1778,1626,1764,2376,2866,2381,2086,2105,2172,2023,1687,1563,1646,1698,1754,2014,2387,3084,3442,3466,3340,3234,3408,3620,3624,3759,3648,3497,3527,3581,3790,3586,3340,3695,3659,3564,3447,3579,4193,3799,2764,2419,2371,2495,2688,2610,2700,3816,3605,2955,2768,2741,3166,3639,3720,3485,3104,2874,3194,2910,2620,2313,3002,3697,3619,3058,3226,3108,2365,2255,2332,2774,2591,1988,2045,1884,2020,2514,2103,2637,3029,2385,2500,2158,1970,2215,2112,2389,2404,2215,1823,1641,1884,2007,2290,2802,2337,1951,2267,2510,2166,1823,1860,1969,2284,2446,2602,2767,2257,2334,2479,2217,2186,2212,2148,2719,2664,2758,2673,2347,2370,2418,2620,2514,2209,2306,2304,2180,2411,2337,2458,2408,1708,1591,1912,1747,1808,2394,3046,2476,1892,2171,2284,1963,2098,2314,2492,2713,2725,3062,2986,2768,2296,2358,2855,2684,2403,2083,2365,2672,2105,1694,1607,1676,1888,1793,1805,1766,1562,1936,1882,1780,2641,2615,2857,2634,2181,2068,2054,1905,2030,1892,1664,1749,1837,1812,1976,1792,2017,2267,1988,2046,1907,1848,1913,1532,2139,2394,1699,1449,1742,1741,1640,1880,1812,1863,1682,1509,1577,1792,2014,1968,1910,1627,1816,2084,1626,1738,1628,1860,3164,2874,1890,2309,2302,1861,2268,2431,2397,3389,3773,3485,2699,2079,1932,1944,1887,1733,1611,1649,1713,1693,1586,1642,1832,1885,1816,1883,1722,2170,2260,2446,2908,2952,2492,2156,2512,2833,2031,2850,3983,3522,2090,1920,1911,2096,2127,1899,1849,1746,1727,2011,2025,1675,2014,2320,2302,2373,2221,2175,2281,2013,2094,2360,2470,2557,2449,2244,2038,2049,2220,2260,2322,2031,1763,2049,2155,1838,1732,1799,1756,2521,2755,2910,2728,2678,2654,2913,2633,2020,1698,2082,2420,2475,2551,2013,2328,2088,2019,1893,1886,1921,1765,1622,1597,1886,2286,2263,2525,2433,1809,1777,1697,1489,1641,1533,1507,1809,1973,2020,2266,2265,1707,1807,1671,1883,2205,2175,1612,1665,2842,3576,3552,3354,3647,3610,3442,3063,2942,3099,2952,2545,2482,2448,2469,2948,3536,3256,2780,2798,2817,2795,3463,3526,3385,3673,3006,2269,2468,2684,2577,2769,3351,3495,3662,3690,3678,3705,3835,3660,3507,3425,3518,3688,3454,2928,2457,2611,2730,2814,2956,3733,3334,2777,2864,3056,2950,2790,2731,2695,2817,2845,3328,3663,3659,2819,3074,3263,3322,2773,2177,2410,2853,2754,2686,2811,2915,2994,3356,3798,4092,4072,3952,3781,3504,3057,2566,2392,1832,2268,2364,2482,2850,3250,3290,3160,2626,1969,1560,2087,1935,1606,1856,1719,1915,1851,2078,2267,1802,1629,1341,1766,1959,1719,1916,2128,2100,2304,2011,2120,2035,1936,1957,1578,1960,2078,2086,1704,1623,1884,1824,1703,1822,2010,1888,2106,2274,1654,1505,1417,1607,1813,1813,1647,1649,1789,2477,2565,2132,2054,2128,1970,1496,1911,1975,1777,1749,1756,2708,3334,2624,2343,2255,2259,2018,1990,2001,1677,1583,1822,1975,2094,2204,2187,2175,2620,2532,2017,1979,2155,1959,1907,1876,1897,1802,1937,2082,2105,2028,1930,2055,2004,2117,2116,2048,2062,1986,1875,1750,1675,1621,1518,1479,1541,2107,2230,1703,1937,1930,1944,2225,2381,2344,2151,2143,2491,2210,1926,1850,1891,2375,2382,2116,1911,2079,1997,1817,1995,2414,2409,2058,2227,2223,2210,2620,2183,2400,2504,2009,1633,1530,1616,1511,1491,1791,1716,1488,1665,1771,1777,2342,2281,1814,1571,1598,1991,2105,2062,2137,2175,2091,2546,2128,1701,1618,1678,1612,2279,2843,2957,3147,2497,1823,1970,1743,1703,1839,1576,1692,1595,1506,1438,1501,1745,2186,3204,3971,4264,3862,3184,2812,2672,3662,4329,3909,4152,4469,4056,4143,4336,4034,3337,2924,3206,3533,3860,3965,4329,3903,3687,3217,3205,3711,3764,3673,2885,2277,3099,2821,3496,3799,4013,4144,3727,3454,3689,3678,3662,3739,3803,3683,3839,3917,3859,3762,4018,4227,4007,4003,4103,4069,3937,3740,3584,3773,3685,2800,2331,2272,2116,2008,1941,2145,2137,1818,1571,1627,1466,1551,1536,1519,1484,1480,1599,1538,1560,1530,1417,1203,1128,1406,1546,1654,1854,1725,1587,1710,1548,1391,1454,1528,1647,1686,1788,1869,1689,1871,2105,2230,2161,1887,1829,3045,3215,2486,2251,2294,2263,2040,2241,2719,2442,2855,2309,1767,1884,2344,2464,2002,2030,2034,1830,1773,1521,1472,1925,1490,1524,1651,1644,1515,1605,1875,2294,2481,2273,2370,2785,2613,2220,1895,2374,2634,3085,3040,2969,2835,2805,3000,3003,2190,1626,1987,2525,2240,2275,2154,2031,1854,1687,1824,1888,2393,2273,1770,1631,1794,2183,2131,2155,2362,2430,2007,1820,1793,1995,2202,2244,2011,1795,2293,3010,2945,2605,1987,1751,1979,1776,1562,1560,1600,1551,1626,1687,1692,1681,1521,1432,1754,1842,1432,1781,2076,2876,2710,1799,1664,1957,2129,2442,2500,2393,2209,1616,1671,1866,1990,2125,2127,2133,2178,2109,1891,1806,1907,2401,2662,2575,2470,2209,2687,2891,2710,2383,2441,2640,3120,3164,2636,3537,3905,3648,3509,2802,2519,2549,2139,1820,2649,3471,3519,3167,2481,1942,2254,1791,1289,1421,2118,3108,2917,2635,2686,2257,2426,2969,2815,2600,2666,2154,2404,3329,2999,2709,2706,2791,2608,2884,3120,2746,2511,2474,2292,2486,2568,3105,2972,2538,2449,2374,2469,2276,2304,2552,2263,2191,3061,3783,3672,3517,3599,3087,2962,2979,2661,2819,2799,1953,1653,2316,3102,3574,4029,3865,3256,2280,2199,2695,2567,2128,2212,1974,1608,1737,1836,1916,1669,1410,1789,2564,2700,2100,2220,2427,2410,2362,1702,1557,1686,1710,1954,2033,1705,1616,2130,2149,1656,1525,1765,1636,1414,1871,2328,2148,2284,2508,2471,2789,2987,2185,1820,2147,2071,2136,2317,1849,1827,1594,1721,1859,2083,1981,2009,1681,2138,2404,2359,2170,1722,2132,2321,2060,2231,2375,1835,1909,2463,1929,1701,1621,1391,1489,1643,1669,1583,1559,1582,1568,1619,1635,1764,1874,1704,1537,1484,1616,1601,1531,2143,2483,1988,2401,2429,2517,2686,2642,2532,2139,1926,1874,1848,1807,1811,1780,1599,2285,2473,1843,1591,1623,1498,1722,2284,2130,1794,2154,2016,2048,3175,2943,2407,2161,1823,1586,1937,1716,1695,1984,1955,1976,2086,2016,2053,1810,1793,2248,2957,2048,1842,2173,1821,1432,1407,1432,1651,1777,1713,1394,1470,1654,1650,1668,1882,1756,1597,1726,1358,905,1717,2480,2398,2210,2708,3288,2812,2407,2073,2202,2052,1987,2486,2651,2025,1700,2212,2431,2074,1948,1861,2131,2076,1810,1745,1950,2639,2719,1858,1908,2487,1685,1394,1497,1644,1784,1614,1484,1415,1456,1520,1441,1493,1628,1651,1514,1337,1307,1494,1627,1562,1496,1672,1923,1901,1748,1666,1932,1659,1810,1804,1462,1476,1405,1417,1461,1372,1400,1545,1562,1597,2618,3155,2809,2079,1496,1680,1537,1464,1616,1703,1614,1666,1799,1785,1745,1815,1704,1665,1830,2176,2498,2676,3312,3854,3330,2338,1882,1659,1407,1594,2354,2985,2360,2283,2576,2752,3237,3450,2574,2150,2367,1858,2128,2115,3041,3218,3353,3365,3688,2967,2737,2231,1799,2051,2603,3014,2621,1888,2313,2051,2066,2954,2611,2026,1916,1682,1612,1725,1708,1874,1834,1593,1628,1801,2410,2178,1869,1251,1121,1500,1292,1669,3032,3367,2457,1975,1948,2255,2187,1956,1789,2057,2260,2539,3311,3152,2618,2769,2584,2203,1856,2028,2543,2540,2396,2541,2653,2624,3219,3616,3254,2476,1817,1928,1755,2019,3018,2942,2130,1993,2096,2142,1732,1980,2507,2674,2744,2658,2432,2550,2151,1769,2399,2722,2435,2598,2735,2525,2636,2800,2432,2138,2544,2292,2639,2868,2723,2845,2518,2414,2527,2119,2091,2614,2774,2726,2800,3339,3638,3653,3228,2959,2867,2677,2589,2518,2507,2504,2545,2415,2037,1962,1659,1885,2216,2306,2244,2589,3053,3471,3826,3935,3777,3011,2441,2536,2966,3206,3331,3118,2873,2751,2795,2665,2809,2710,2364,2567,3053,3536,3312,2883,2674,2866,3041,3154,3118,2803,2795,2642,1893,1664,1613,1615,1722,2129,3323,3231,2656,3342,3450,3558,3752,3594,3510,3694,3499,3869,3691,3234,3397,3324,3638,3914,3705,3674,3780,3863,3858,3959,3974,3615,3233,3256,3210,2418,1842,1809,1897,1879,2107,2675,2740,2142,2414,3153,3221,2336,1936,2165,1960,2172,2382,2015,1984,2431,2357,1984,1822,2244,2643,1583,1747,1962,1887,1787,1742,1814,1675,1553,1687,1780,1958,2314,2174,2218,2440,2815,2503,1792,1687,1736,1560,1515,1692,1738,1549,1784,1898,1576,1511,1441,1520,1621,1646,1818,2136,2092,2076,1924,1754,1742,1829,1842,1505,1618,1676,2280,2905,3200,3153,3011,2937,3088,3108,3205,3283,3233,3484,3653,3759,3785,3703,3558,3203,2987,3020,3167,3711,3505,3276,3061,3562,3322,3034,3217,3079,2797,2542,2453,2524,2527,2768,2428,2521,3333,3783,3751,3715,3629,3284,3313,3573,3298,2976,2237,2047,2589,3141,3332,3310,3133,2996,3099,3373,3521,3485,3294,2962,3075,3567,3518,2774,1978,2379,2579,2350,2157,1500,1551,2283,2511,2500,2024,2350,2465,1952,1576,1863,2105,2568,2523,2749,2557,2177,2114,2203,1961,2079,2629,3063,3194,3250,3464,3104,3228,3515,2645,2248,2787,2631,2541,2336,2174,2359,2418,2204,1624,1440,1685,1740,2039,2050,1879,2149,2222,2342,2701,3143,3116,2677,2984,2723,2745,2689,2280,2199,2878,2763,2489,2666,2604,2112,2313,2709,2426,2269,1796,1619,1843,2198,2248,2124,2363,2864,2880,2155,2489,2725,2223,2019,3037,3801,3566,3288,3378,3638,3087,2106,1798,1669,2100,2578,1996,1626,1520,1568,2026,1772,1615,1972,2146,1917,1533],[3326,3344,3337,3207,2913,2767,2864,2889,2897,2768,2598,2632,2603,2922,2823,2483,2352,2623,2856,2809,2392,2094,1943,1815,1967,2031,1907,1771,1609,1936,2508,2686,2407,2126,2079,2163,2222,2136,2045,2077,2115,2189,2100,2404,3116,3809,3704,3277,3107,3165,3500,3593,3494,3667,3609,3408,3296,3862,3927,3686,3132,3301,3448,3261,3388,3739,4019,3683,3097,2250,2030,2330,2600,2687,2724,3042,3067,3173,3304,3203,3297,3404,3596,3090,2337,2170,2377,2213,2646,2765,3420,3895,3309,2708,3339,3507,2684,2313,2473,3307,2999,2309,2060,2151,1964,1851,1731,2301,2406,2048,1926,1667,1931,1951,1927,1947,1761,1891,1843,1881,1879,1751,1992,2388,2028,1910,2512,3204,2967,2239,1993,1615,1593,1957,1960,1899,1991,1779,1654,1941,2169,1937,2065,2536,2611,2623,2581,2203,2046,2396,2539,2148,2031,2325,2252,2235,2502,2613,2486,2347,2077,2001,1854,1746,1825,1984,1848,1687,1846,1870,1714,2006,1960,1931,2460,2753,2772,2543,2491,2385,1991,2293,2950,2745,2758,2192,2170,2266,2060,1786,1793,1753,1931,1923,1727,1544,1506,2064,2024,1808,2401,2496,3262,3146,2468,2500,2379,2119,2049,1822,1599,1656,1731,1805,2026,1624,1695,1928,2204,2310,2242,2302,1966,1721,1692,1920,1869,1484,1354,1405,1592,2280,2237,1994,1760,1502,1532,1723,1736,1921,1885,1710,1704,2251,2066,1941,1694,1958,2681,2526,2215,2932,3179,2281,2219,2632,2566,3124,3300,3276,3063,2244,1858,1627,1182,1239,1726,2342,2291,1841,1566,1571,1710,1677,1754,1781,1642,2059,2312,2018,1871,1641,1753,1866,2098,1971,1801,2102,2676,2470,1900,2346,2270,1787,1772,1753,1761,1682,1777,2010,1855,1595,1988,2378,2406,2396,2203,2387,2244,1838,2123,2298,2178,2222,1738,1707,1777,1974,2101,2124,2225,1998,2082,2205,2001,1833,1560,1392,1626,2361,2896,2908,2642,2749,2858,2671,2264,1757,1662,1879,2383,2712,2492,2287,2100,1812,1759,1497,1515,1568,1496,1776,1876,2183,2204,2364,2674,2416,1800,1595,1540,1457,1461,1507,1610,1791,2425,2164,1569,1771,1622,1581,1564,1616,1825,1920,1709,1694,1983,2333,3074,3292,3773,3590,3438,3415,3234,3126,3299,3118,3032,3164,3193,3314,3561,3074,3241,3527,3571,3180,3486,3145,3008,3100,2700,1923,1830,2264,2249,2287,3194,3615,3755,3675,3692,3709,3748,3627,3520,3536,3574,3551,3296,2645,3042,3060,2855,3212,3118,3299,3119,2582,2761,3286,3052,2777,2865,2789,3156,3154,3128,2835,3022,3205,3275,3355,3277,2546,2142,2457,2722,2636,3031,2714,2386,2306,2398,2778,3288,3547,3847,3854,3737,3199,3150,3207,2664,3384,3274,2630,3068,3509,3525,3164,2449,2114,2483,2908,2364,1760,1926,1980,2158,1731,1667,1538,1372,1366,1748,2083,1688,1505,1929,2242,1770,1860,1520,2028,2145,1830,1482,1564,1569,1690,1896,1810,1971,1935,2163,2648,2230,2055,1744,2162,2373,1936,2129,2340,2430,2547,2178,1769,2250,2315,2084,2192,1977,1958,2125,1825,1498,1816,1917,1790,1689,1673,1914,2042,2120,1947,2001,1978,2018,2244,2159,1834,1663,1760,1870,1893,2080,2187,2266,2648,2576,2205,2225,2106,1942,2144,2280,2105,2020,2150,2160,2081,2171,2154,2043,2000,2126,2151,2142,2115,2001,1950,1943,1929,1773,1596,1684,2160,3112,2345,1930,2461,2191,1763,2041,2512,2669,2365,1989,2216,1944,1801,1886,2013,2149,2294,2054,1860,1925,1903,1659,1891,2772,2621,2068,2139,2002,2110,2461,2455,2145,2159,2172,1997,1898,1707,1476,1478,1821,1828,1677,1693,1644,1981,1974,1666,1636,1569,1787,2036,2061,2373,2157,2076,2020,1842,1669,1704,1771,1845,1836,2444,2763,2686,3181,2841,2140,1754,1830,1684,1737,1587,1578,1595,1484,1531,1864,2114,2409,3194,3906,3928,3492,3113,2611,2481,2792,3470,3915,4287,4082,3514,3904,4339,4140,3526,2871,2944,2702,2953,3441,3647,3848,4034,3348,3414,3659,3306,2997,2035,2460,3245,2712,2512,3024,3758,4240,3925,3768,3927,3661,3498,3517,3631,3739,3858,3991,3801,4034,4303,4428,4310,4040,3976,4111,3981,3577,3225,3169,2752,2287,2263,2062,2039,2519,2330,1768,2018,1952,2101,2355,1606,1664,1498,1504,1530,1400,1564,1710,1648,1595,1549,1296,1055,1405,1778,1988,1766,1645,1491,1516,1447,1436,1596,1647,1646,1729,1700,1876,1822,1998,1882,2210,2120,1870,2254,3798,4252,3433,2584,2347,2186,2345,2275,2492,2237,2575,2269,1771,1749,1794,1870,2330,2317,1911,2074,2280,1743,1465,1517,1397,1500,1752,2068,1995,1941,2317,2536,2050,2230,2597,2583,2292,2380,2365,2673,3174,3395,3141,2888,2943,3405,3448,2491,1760,1846,2238,2164,2139,2209,2120,1975,1834,1662,1610,1716,1879,1823,1894,1579,1664,1903,1643,1853,2026,2186,2008,1778,1910,1932,2018,1984,1774,2009,2214,2340,2535,2408,2192,2015,1794,1677,1518,1806,2010,1887,1777,1465,1766,2325,2084,1625,1724,1685,1745,2060,2314,2263,1707,1505,1590,1935,2096,1853,1797,2269,2024,1459,1418,1825,2220,2246,2137,2064,2057,1934,1717,1964,2036,2027,2658,2934,2946,2619,2728,2965,2819,2425,2167,2561,3378,3649,3829,3920,3334,2976,3149,2909,2799,2598,2288,2584,2933,3188,3244,3156,2669,1508,1860,2188,2418,2898,3102,2771,2219,1989,1892,2171,3041,3353,2978,2701,2995,2093,2205,2640,2601,2558,2266,2034,2061,2384,2639,2385,2289,2468,2452,2367,2064,2222,1946,2101,2428,2483,2949,2805,2262,2337,2157,2280,3065,3540,3513,3498,3269,3341,3272,2738,2621,2646,2366,1753,1832,1936,2793,3448,4009,3401,2321,1797,2456,2949,2540,2599,2922,2137,1767,1953,1996,1832,1494,1338,1968,2779,2524,2164,3039,2998,2150,1948,1735,1883,1863,1627,1914,2017,1699,1684,2150,2199,1676,1623,1897,1897,1914,2667,2818,2253,2734,2907,2730,2832,2530,2015,1866,1928,2214,2361,2370,1996,1833,1719,1874,1998,1891,1955,1968,1631,2083,2527,2307,2271,2171,1985,2182,2273,2120,2240,2005,1871,2123,2067,1703,1527,1409,1559,1804,1835,1783,1588,1333,1525,1880,1808,1694,1852,1797,1414,1523,1604,1539,1720,1985,2232,2031,2808,2901,2646,2662,2864,2790,2449,2046,1750,1978,1814,1849,2014,2061,2653,2540,2007,1625,1434,1212,1468,2143,2167,2142,2626,2038,2087,2809,2389,1929,1974,1880,1936,2125,1981,1976,1991,1809,1713,1817,2085,1945,1621,1810,2161,2179,1715,1828,2342,1964,1100,1110,1345,1633,1779,1776,1586,1643,2059,2044,1742,1796,1648,1604,2117,1719,1283,2097,2833,3019,2753,2914,2841,2089,1853,2139,2156,1897,1783,2362,2531,1857,1540,2222,2950,2460,2087,2108,2104,1996,2229,2308,2807,3698,3716,3014,2110,1722,1474,1682,1802,1823,1688,1424,1448,1569,1593,1553,1601,1695,1726,1657,1524,1411,1395,1360,1356,1444,1455,1642,1931,1880,1759,1610,1818,1592,1470,1377,1312,1359,1273,1238,1342,1338,1283,1312,1459,1496,2481,3041,2432,1957,1570,1642,1798,1642,1465,1490,1641,2028,2497,2264,2362,2211,1780,1541,1729,2487,2834,2468,2907,3440,2825,1990,1612,1489,1599,1856,2486,2742,2143,2328,2685,2986,3570,3459,3000,2842,2622,2470,2756,2645,3150,2993,2776,3144,3409,3179,2859,2281,1815,1637,2257,3028,3029,2178,1883,1832,1818,2211,1987,1796,1982,1860,1824,1719,1640,1651,1747,1813,1776,1908,2126,1961,1452,909,1074,1491,1261,1908,3338,3174,2474,2300,2346,2277,2176,1989,1538,1670,1832,2092,2576,2230,2030,2346,2337,2377,2171,2006,2186,2836,3323,3226,2902,2800,2940,2900,2692,2094,2085,2191,2078,2025,2894,2644,2218,1957,2059,2533,2636,2517,2241,2557,3130,2923,2717,2712,1948,2131,2334,2385,2623,2746,2623,2612,2767,3023,2667,2301,2446,2258,2579,2503,2372,2518,2460,2304,2280,1972,1897,2340,2654,2677,2962,3476,3304,3486,3429,3143,3116,3090,2938,2732,2664,2600,2691,2686,2332,2187,2358,2759,2653,2523,2333,2078,2193,2717,3149,3613,3825,3107,2257,2293,2786,2963,3393,3604,3088,2747,2803,2783,3068,3009,2463,2520,2768,2988,2887,2984,2966,2918,2931,2776,2545,2320,2338,2016,1824,1789,1641,1716,1703,1927,2921,3254,3150,3332,3400,3484,3681,3513,3105,3378,3337,3717,3353,3262,3398,3085,3055,3339,3893,4209,4121,4001,3924,3538,3646,3454,3053,3304,3520,2968,2133,1971,2020,1844,2054,2875,2762,2486,2824,3260,2791,1765,1615,1300,1108,1576,2128,2093,1906,2198,1969,1969,1968,2100,1822,1787,2059,1961,1961,1671,1592,1723,1740,1570,1543,1608,1806,2326,2566,2204,2314,2322,1956,1766,1585,1556,1595,1470,1631,1645,1835,2074,1622,1424,1573,1523,1393,1522,1577,1866,1923,2200,2440,1704,1605,1582,1503,1381,1294,1738,1629,2089,3295,3526,3075,3041,2936,2876,3087,3220,3429,3388,3572,3780,3869,3760,3378,3068,3106,3277,3631,3383,3848,3600,3148,3053,2984,2910,3106,3098,2886,2684,2696,2407,2229,2285,2630,2035,1923,2454,3588,4165,3894,3796,3760,4074,3871,3516,3354,3120,2328,2362,2930,3196,3142,2833,3033,3506,3353,3504,3526,3086,2874,3238,3167,2656,2314,2329,2952,3349,2950,2262,1610,1510,2376,2830,2721,2618,2677,2920,2843,2212,1805,1919,1960,2187,2589,2518,2530,2156,2002,1614,1664,1848,2562,2856,2926,3329,2651,2446,2942,2666,2819,2824,2624,2557,2166,1864,1950,2261,2282,1979,1699,1527,1298,2068,2657,2770,2562,2378,2281,2968,3132,2433,2784,2709,2452,2919,3044,2429,2306,2722,2054,2723,2873,2392,2302,2602,2310,2112,2236,1896,1798,1842,1910,2268,2130,2159,2495,2866,2452,2633,3152,2496,2403,3264,3265,3134,3630,4152,4284,3863,2934,2138,1781,2139,2677,2011,1681,1714,2404,3193,2557,1996,2347,2403,2046,1892],[3218,3150,2971,2540,2126,2137,2162,2381,2853,2900,2608,2755,2930,2972,2481,2312,2777,3086,2670,2245,2033,1869,1730,1891,2157,2038,1821,1594,1837,2554,2657,2319,2126,2040,2100,2215,2280,2284,2134,2139,2379,2352,2584,2889,3112,3583,3773,3674,3572,3496,3520,3470,3637,3683,3046,2978,3077,3652,4009,3899,3506,3649,3774,3688,3463,2875,2674,2314,2122,1895,2100,2520,2590,2485,2271,2453,2709,3152,3543,3695,3605,3195,3453,3144,2554,2346,2745,2777,2955,3411,3683,3694,3383,2988,3463,3575,3193,2790,2390,2338,2040,2012,1889,1963,2259,2252,2105,1934,1961,1913,1569,1791,1994,1928,1670,1762,2209,2216,1854,1729,1660,1516,1659,1950,1953,1858,2207,2194,2107,1663,1470,1548,1448,1814,2141,1889,2009,1961,1692,1693,1815,1625,2016,2095,2201,2360,2076,1326,1499,2384,2269,1474,1679,2309,2097,2372,2471,2486,2464,2320,2416,2114,1728,2041,2081,1599,1629,1862,1852,1601,1730,2146,2186,1953,2172,2644,2527,2215,2262,2492,2287,2565,2699,2386,2545,2109,2053,2000,1971,1778,1699,1866,1952,1756,1809,1858,1826,2305,2310,1853,2165,2846,3410,2913,2468,2505,2321,2183,2195,1945,1848,1743,1694,1731,1600,1561,1972,2135,2929,2917,2040,2286,2113,1887,1727,1917,2080,1710,1640,1602,1663,2298,2518,2399,2200,1543,1648,1765,1959,2541,2610,2156,1781,2134,2151,2029,2065,2170,2243,2074,2256,3021,3282,2084,1858,2153,2169,2193,2381,2611,2919,2436,1782,1653,1485,1559,2403,3373,2438,1828,1830,1767,1592,1698,1773,1524,1448,1908,2433,2114,1722,1547,2026,1861,1929,1722,1555,1709,1773,1969,2292,2246,1877,1444,1623,1867,1789,1526,1603,2029,1877,1745,1851,1779,2149,2414,2464,2493,1807,1541,1781,1909,2020,1914,1582,1534,1886,2083,1732,1860,1937,1747,1693,1714,1709,1612,1409,1449,2065,2438,2389,1971,1847,2338,2698,2239,1946,2022,2012,2222,2626,2762,2433,1978,1788,2008,2027,1655,1481,1532,1545,1750,2120,2330,1953,2035,2493,2749,2390,1887,1588,1674,1686,1655,1494,1719,2349,2040,1390,1631,1733,1497,1444,1449,1591,1963,2118,1717,1736,1630,2811,3895,4256,4004,3917,3654,2868,2953,3271,2739,2856,3321,3192,3404,3863,3322,3198,3322,2905,2844,3029,3127,3212,3304,3149,2511,2002,1952,1679,1940,2986,3528,3553,3440,3506,3705,3776,3479,3093,3322,3510,2951,2482,2407,2979,3190,3419,3433,3276,3212,2705,2652,3418,3780,3504,2983,2681,2352,3280,3995,3637,2547,2579,3438,3549,3370,2968,1949,1619,2156,2649,3277,3765,3156,2298,2236,2368,2302,2275,2683,3538,3795,3715,3508,3554,3884,3672,3790,3135,2264,2819,3388,3015,2679,2282,2102,2296,2709,2744,2149,2174,2138,1840,1533,1640,1591,1464,1404,1605,1904,1887,1917,2140,1824,1616,1799,1560,1709,1848,1610,1556,1803,1719,1685,1827,2214,2027,1509,2170,2544,1979,1597,1848,2316,2473,2319,2408,2654,2819,2876,2203,1694,2073,2094,1710,1565,1649,1791,1803,1513,1460,1749,1863,1693,1518,1450,1416,1788,2275,1915,1825,1585,1731,2303,2409,2366,2493,2298,2111,1968,2114,2745,2657,2510,2419,2438,2641,2470,2408,2618,2699,2667,2574,2325,2116,2155,2289,2382,1953,1989,2245,2045,1923,1924,1930,2008,2031,1994,1817,1645,1787,2578,2872,2071,2323,2631,2171,1696,1984,2566,2430,1974,1747,1879,1707,1667,2091,2195,2235,2208,1992,2082,2334,2105,1822,2126,3230,2967,2382,1948,1772,1874,2109,2367,2335,2472,2649,2330,2028,1827,1881,1788,1704,1852,1761,1485,1542,1709,1643,1647,1596,1592,1818,2321,2022,2231,2257,2019,1896,1754,1648,1732,1738,1729,1745,2127,2369,1995,2485,2531,1948,1580,1643,1650,1602,1494,1561,1578,1506,1671,2092,2244,2382,3029,3614,3680,3474,3261,2746,2454,2503,2967,3543,3978,3868,3571,4336,4560,4061,3754,3873,3689,2988,2459,2425,2663,3824,4274,3253,2939,2810,2852,2707,1732,2712,3187,2874,3462,4069,4220,4244,3875,3724,3887,3659,3542,3707,3826,4004,3862,3884,3946,4020,4199,4347,4340,4208,4131,4111,3863,3528,3144,2641,2330,2273,2059,1974,2495,3583,3507,2204,1772,1904,1858,1896,1689,1688,1399,1327,1511,1600,1503,1665,1613,1639,1459,1470,1262,1420,1486,1811,1709,1624,1594,1494,1321,1596,2468,2730,2440,1802,1458,1760,2166,1834,1449,2224,2139,1708,2404,3813,4367,3676,2735,2314,2163,2121,2216,2295,2333,2690,2590,2122,2040,1858,2026,2521,2505,1794,2148,2255,1690,1332,1086,1360,1655,1735,2069,2724,2569,2349,2351,2238,2584,2764,2162,2359,2453,2536,2863,3142,2954,2578,2529,2425,2720,2650,1899,1818,2530,2798,2767,2433,2223,2002,1872,1892,1760,1914,2103,1747,1751,1758,1550,1848,1942,1877,1791,1865,2093,2056,2255,2392,2025,1758,1796,2064,2102,2269,2386,2775,2733,2580,2001,1794,1896,1818,1577,1541,1733,1817,1531,1432,2217,2117,1811,1856,1860,1959,2096,2130,2138,1863,1660,1645,2301,2408,1874,1872,2025,1857,1635,1610,1844,1861,1798,2385,2068,2082,1735,1653,1932,1986,2034,2889,2747,2285,2158,2177,2104,2198,2073,2100,2630,3395,4050,4301,3211,2532,2497,2481,2390,2406,1993,2193,3001,3041,3319,3127,3060,2889,1527,1680,3123,3692,3087,2446,1976,1831,1827,2343,2809,3095,2965,2889,2806,2319,1962,2374,2522,2485,2344,1882,1884,2109,2387,2521,2327,2215,2191,2035,1924,1923,2170,2120,2305,2564,2465,2818,2729,2114,1918,2101,2415,2819,3046,3195,2620,2366,3060,3021,2765,3114,2710,2053,1883,2144,1868,1942,2787,3551,3715,3008,2107,2603,3237,3072,2479,2475,2157,1851,1799,1870,1775,1443,1471,1691,2161,2449,3210,4108,3074,2020,2020,1731,1831,1985,1836,1910,1591,1239,1322,1616,1801,1950,1982,1926,2164,2508,3113,3438,2833,3069,2968,2211,2142,2292,2131,2350,2162,2033,1996,2059,2348,1892,1972,2183,1808,1381,1499,1627,1534,1545,1930,2071,2359,2392,1875,2270,2386,2158,2091,2315,2188,2504,2880,2188,1660,1595,1488,1656,1947,2039,1660,1317,2004,2296,1889,1614,1786,1976,1792,1897,2155,2120,2253,1923,1996,2168,2756,2888,2331,2003,2206,2088,2437,2391,2216,2585,1912,2249,2841,2791,2569,2289,1962,1659,1303,1215,1306,1914,1868,2082,2587,2200,2405,2558,2364,2321,2284,2140,2078,2109,1934,1902,1820,1565,1638,1750,1752,1511,1613,1865,1943,1986,1742,1737,2360,2263,1587,1331,1331,1502,2086,2021,1679,1749,1732,1491,1560,1699,1468,1466,1509,1484,2085,2937,3581,3619,3015,2836,2800,2037,1895,2518,2691,2609,2495,2746,2692,2250,2084,2486,2640,2247,1935,2179,2360,2295,2772,2438,2040,2856,2854,2639,2188,1720,1543,1689,1870,1912,1805,1767,1945,2165,2141,1929,1949,1876,1680,1550,1446,1451,1360,1441,1659,1400,1351,1477,1803,1846,1823,1513,1375,1341,1357,1335,1251,1274,1210,1199,1268,1262,1310,1375,1471,1520,1727,1867,1919,2031,1709,1465,1679,1749,1433,1503,1576,1642,2173,2222,2131,2125,1925,1745,1741,2332,2924,2500,2638,3017,2076,1556,1461,1828,2260,2388,2427,2087,1947,2209,2257,2912,3407,2906,3005,2924,2343,2521,2740,3041,2733,2720,3458,3906,3670,3431,2938,2620,2288,2264,2505,2873,2750,2628,2499,2213,2030,1887,1620,1656,1723,1836,2000,1856,1695,1621,1616,1627,1504,1763,1803,1650,1433,1402,1710,2013,1690,2336,2957,2668,2711,2530,2296,2610,2574,2285,1843,1405,1859,2494,2338,1498,1319,1866,2236,2092,1735,1949,2472,3185,3364,3087,3128,3024,2191,2128,2177,2334,2692,2627,2143,1772,2385,2775,2824,2208,1676,2085,2523,2675,2474,2600,2947,2646,2236,1890,1695,2357,2629,2490,2734,3058,2888,2956,2941,3126,2443,2026,2027,2353,2530,2641,2623,2154,2035,2615,2624,2175,2019,2247,2617,2677,3124,3277,3185,3277,3097,2713,2396,2678,2946,3068,3006,2524,1952,2274,2388,2070,3072,3760,3296,2986,2844,2562,2166,2002,2329,2855,3438,3251,2477,2299,2364,2378,2956,3200,2565,2499,2723,2692,2700,2666,2629,2668,2465,2846,3164,3417,3056,2567,2465,2286,2301,2269,2377,1881,2200,2043,1958,1838,1776,1904,2340,2761,3077,3235,3223,3026,3105,2774,2874,3001,3185,3278,2851,2785,3222,3372,3137,3253,4189,4360,4077,3973,3908,3615,3584,3230,3089,3072,2868,2279,1640,2058,2043,1658,2512,3056,2737,2710,2353,2380,2009,1908,1909,1477,1283,1786,2611,2434,1984,2005,1868,2048,2148,2127,1760,2037,2072,1918,1810,1579,1527,1915,2267,1730,1548,1454,1921,2536,2652,2177,1967,1971,1795,1830,1706,1434,1887,1875,1845,1671,1759,1712,1594,1462,1622,1692,1565,1622,2024,2124,1677,2106,2149,1856,1984,1820,1759,1730,2227,2700,1913,2340,3625,3384,2817,2877,2922,3074,3185,3204,3337,3327,3536,3651,3487,3141,2967,2873,3210,3255,3726,4051,4108,4063,3341,2824,2842,3007,3019,2719,2583,2741,2963,2454,2296,2143,2092,1726,2155,2635,3021,3851,3938,3742,3713,3968,3573,3537,3529,3562,2980,2623,3066,3260,3097,2849,3004,3320,3542,3589,3414,2924,2919,3143,2536,1695,2007,2778,3263,3663,3511,3008,2336,2350,2932,2875,2556,2496,2678,3008,3392,2999,2181,1912,1822,2228,2385,2271,2438,2434,2196,1794,1683,1958,2739,2949,3134,2981,2226,2938,3279,3140,3155,2742,2464,2138,2019,1654,1715,2377,2743,2273,1774,1570,1633,2359,2082,2523,2649,2403,2335,2801,2603,2513,2676,2526,2806,3243,3354,2962,3001,2919,2940,3424,2733,2311,2498,2304,1880,2238,2697,2365,2515,2462,1946,1689,1665,1817,1823,1931,1933,1969,2277,2391,2941,3400,3067,2813,3019,3677,3861,3721,3652,2651,1986,1895,1717,1582,1740,2119,3223,3552,2750,2745,3253,3794,2729,1882],[2873,2885,2895,2541,2211,2292,2403,2714,2887,2814,2770,2858,2668,2532,2564,2786,2841,2392,2102,2013,1824,1778,2012,2194,2067,1781,1716,1882,2352,2522,2400,2307,2229,2178,2316,2408,2340,2477,2540,2753,2544,2768,3357,3130,3021,3775,4245,4039,4060,4069,3452,3045,3219,3261,2876,3020,3354,3488,3715,3867,4073,4250,4160,3533,2394,2070,2178,2365,2382,2291,2499,2481,2235,2008,2126,2896,2903,3132,3598,3877,3514,2586,3010,3422,2921,2301,2938,3422,3439,3460,3454,3564,3649,3528,3119,3127,3592,3320,2382,1720,2040,2549,2070,1677,1969,2188,2076,1990,2330,2054,1936,1971,1830,1867,1671,1730,2073,2061,1875,1879,1648,1459,1558,1677,2139,2553,2386,1855,1527,1147,1340,1630,1850,2469,2702,2094,2138,1743,1526,1741,1723,1668,1824,1930,1849,2255,2781,2544,2141,2332,1864,1451,2070,2612,2258,2306,2410,2461,2222,2127,2464,2114,1904,2352,1989,1804,1726,1982,1880,1425,1432,2034,2248,1973,2215,2172,1731,1990,2296,2244,2492,2946,2600,2381,2490,2457,2227,2094,1932,1822,1912,2206,2065,1862,1938,2062,2177,2398,2065,1448,1697,2583,2854,2044,1633,2081,2604,2183,2242,1921,1742,1597,1686,1692,1427,1473,1982,2286,2810,2980,1605,1481,1606,1668,1728,1912,2212,1794,1780,1557,1684,2433,2340,1942,1596,1311,1600,1593,1735,2203,2548,2015,1705,1662,1932,2392,2348,2323,3084,2987,2598,2212,2171,1723,1868,2101,1976,1976,2040,2078,2184,2184,1988,2172,1735,1539,1937,2126,1886,1902,1869,1752,1930,2156,1733,1515,1882,2162,2442,2170,1552,1771,2079,1601,1728,1810,1643,1685,1750,2310,2320,1888,1796,1571,1592,1949,2201,1803,1708,1746,1764,2231,2261,1890,1818,1760,1952,2359,1770,1570,1702,2339,2145,1530,1572,1691,1810,1794,1674,1710,1710,1722,1562,1791,1690,1556,1456,1482,1998,2260,1876,1776,2154,2508,2567,2326,2658,2713,2604,2541,2734,2796,2215,1674,1614,1802,1773,1678,1502,1537,1888,1718,2109,2207,2178,2333,2454,2639,2512,2085,1591,1913,2110,2037,1730,1660,1788,2030,1863,2165,2174,1759,1761,1797,1961,2103,2696,2198,1998,1886,2646,3196,3606,3797,3946,3542,2578,2971,3007,2053,1991,2962,3462,3663,4025,3561,3088,2823,2720,2848,3040,2998,2953,3391,3492,2967,2280,2230,2491,2920,3742,3895,3649,3590,3610,3581,3646,3426,2896,3095,3361,2403,2196,2988,3250,3127,3115,2955,3011,3008,2850,3414,3796,3562,3638,3356,2255,1897,2734,3532,3304,2136,2182,3128,3174,2685,2444,1695,1799,2597,2657,3200,3705,3254,2558,2383,2100,1956,1824,1925,3154,3731,4136,4080,3789,3741,3508,3409,2498,2335,3161,3046,2445,2342,1634,1643,1866,1922,2293,2448,2539,1985,1754,1682,1598,1755,1591,1561,1291,1602,2600,2567,2331,1900,2051,2636,2364,2208,2251,1822,1823,1745,1803,2030,1920,2029,1821,1820,2028,2195,2260,2249,2226,2470,2551,2391,2464,2567,2718,2873,2433,2181,2236,1572,1395,1552,1597,1608,1650,1632,1628,1886,1822,1527,1751,1739,1759,1994,2141,2035,1814,1642,1767,2119,2232,2545,2791,2675,2510,2123,1975,2414,2620,2302,2176,2740,2733,2389,2767,2720,2459,2211,2362,2175,2209,2740,2975,2742,2265,2320,2292,1996,1774,1714,1864,1967,1951,1875,1855,1778,1875,2453,2193,1752,1931,2088,1938,1938,2049,2084,1719,1626,1896,1991,1829,1800,1930,1890,1935,1936,1882,1979,2113,1926,1976,2163,3155,2989,2424,2110,1914,1648,1777,2273,2492,2659,1953,1751,1893,1859,1770,1606,1393,1693,1930,1835,1688,1523,1583,1575,1636,1636,1591,2116,2057,1923,2144,1873,1738,1724,1652,1683,1682,1685,1625,1804,1779,1428,1756,1813,1638,1620,1589,1518,1389,1402,1500,1509,1566,1721,2008,2321,2663,3443,3658,3725,3628,3333,2928,2651,2987,3507,3930,4364,4441,4571,4696,4360,4039,3772,3946,3725,2986,2647,2265,2435,3884,3927,3190,2573,2188,2471,2026,1883,2922,3038,3179,4024,4395,4211,4074,3897,3715,3781,3686,3632,3884,4113,3962,3562,3775,4260,4248,4138,4296,4453,4315,4051,3904,3935,3562,2680,2248,2262,2077,1929,2107,2790,3339,3482,2610,1785,1680,1629,1580,1541,1656,1542,1314,1793,2046,1512,1756,1521,1397,1444,1466,1308,1313,1352,1531,1522,1431,1478,1554,1581,1930,3304,3485,3337,2045,1587,1931,2381,1896,1409,1448,1410,1530,1979,3273,3617,2730,2930,2611,2353,2100,2120,2378,2492,2614,2468,2286,2480,2435,2791,2890,2593,1796,1755,1676,1437,1394,1181,1129,1624,1688,1519,1713,1702,1662,1733,1897,1997,2221,2106,2396,2742,3068,2712,2248,2276,2095,1731,1838,2002,2027,1935,2178,2374,2604,2575,2087,1956,1677,1527,1622,1794,1934,1879,1671,1741,1598,1575,1688,2076,2270,1926,1774,1737,1988,2324,2146,1855,1976,2241,2120,1935,2097,2086,2250,2250,1814,1616,1729,1800,1908,1570,1462,1497,1597,1539,1614,1993,1898,1869,2008,2001,1783,1982,1669,1958,2140,1782,1838,2128,2107,2099,2028,1829,1705,1754,1671,1685,2053,2395,2832,2845,2336,2130,1950,1940,1897,2310,2994,2681,2244,1769,2096,2284,2185,2390,2575,2718,3464,3860,4025,3942,3104,1942,1858,2196,2115,1893,2136,2319,2734,3207,3129,3144,2787,1549,1464,2750,2924,2156,2452,2172,2191,2227,2367,2530,2587,2610,2442,2106,2116,2277,2309,2299,2049,2104,2049,1743,1556,2041,2252,2402,2344,2254,2028,1686,1938,2170,1963,1960,2329,1958,2123,2370,2160,1862,2122,2425,2553,2574,2416,2131,1990,2325,2921,2859,2487,1837,1939,2505,2587,1809,1535,2191,2395,2458,2686,2510,2731,2263,2254,2404,2276,2362,2324,2056,1973,1872,1664,1569,1562,1761,1963,3208,4247,3713,2894,2155,1757,1948,1852,1742,1742,1510,1106,1375,1451,1343,1426,1466,1624,2414,2820,3084,3000,2489,2520,2621,2117,1892,2160,2692,3005,2374,1806,1591,1956,2621,2403,2221,2315,2091,1629,1085,1593,2061,2154,2081,2341,2002,2097,1866,2040,2238,1980,2338,2988,2786,2862,3084,2779,1896,1587,1508,1501,1662,1909,1669,1559,1809,2094,2010,1844,2112,2256,2023,2335,2541,2347,2588,2149,2042,2166,2521,3180,2619,1726,1938,2259,2332,2014,2173,2388,1952,2420,3059,2849,2303,1806,2219,2222,1604,1492,1632,1964,1993,2131,2226,2180,2171,2133,2150,1878,1920,2065,1853,1946,1770,1727,1603,1382,1571,1735,1485,1637,2180,2266,2236,1776,1710,1666,1965,1968,1975,1902,1547,1587,2036,1938,1713,1727,1469,1478,1428,1516,1451,1412,1399,1709,2083,2526,2899,3022,3052,2770,2819,2398,1802,2401,2671,2359,2148,2316,2447,2172,2138,2056,1910,1844,1608,1904,2178,1832,2066,2118,1737,2473,2222,1776,1921,1763,1401,1460,1764,1926,2136,2251,2209,2034,2123,1957,2075,1919,1575,1488,1694,1782,1581,1928,2193,1482,1418,1390,1756,1868,1874,1723,1501,1639,1972,1698,1303,1305,1370,1431,1378,1369,1421,1558,1410,1286,1311,1408,1682,1725,1604,1510,1582,1734,1365,1413,1483,1532,1747,1802,1879,1917,1687,1631,2047,2305,2455,2368,2225,2331,2011,1592,1308,1989,2500,2568,2391,1788,1754,2082,1924,2448,2713,2712,2861,3220,2519,1946,2280,2958,3120,3244,3576,3409,2827,3398,3250,2787,2750,3015,2701,2690,3090,3197,2598,1975,1831,1543,1405,1495,1560,1793,1919,1814,1619,1477,1393,1344,1462,1579,1766,1792,1687,2137,2027,2263,2047,2670,3297,3077,2743,2248,1891,2359,2380,2064,2144,2404,3130,3410,2667,1869,1254,1706,2370,2098,2177,2774,3051,3019,2802,2540,2701,2495,1644,1614,2003,2457,2889,2740,1970,1711,2077,3142,3313,2392,1625,1976,2548,2439,2370,2373,2388,2297,1761,1460,1767,2386,3195,2886,2901,2997,3015,3096,3125,2977,2286,1979,2400,2567,2105,2416,2365,1802,1556,1862,2388,3053,2631,2503,2517,2727,3027,3124,3024,2599,2437,2115,1701,2216,2339,2779,3218,2553,1808,1781,1884,2286,3697,4220,3912,3452,3043,2920,2466,2224,2063,2078,2568,2900,2414,2124,2199,2219,2370,2630,2462,2532,2702,2665,2555,2596,2612,2750,2879,2912,2786,2908,2528,2303,2556,2600,2604,2388,2338,2615,2602,2254,2485,2435,2203,2133,2168,2518,3111,3033,2950,2908,3132,2987,3388,3444,3443,3344,2812,2492,2743,3305,3585,3400,3865,3726,3982,3941,3794,3914,3601,3168,3188,2607,1821,1778,1491,1600,1939,1958,2808,3088,2944,2486,1923,1976,1977,1910,2047,2236,2329,2654,2988,2564,2429,2208,2115,2020,2092,1992,1714,1893,2116,1965,1707,1693,1632,2149,2492,2070,1704,1730,1908,1743,1777,1850,1803,1808,1681,1784,1821,1622,2016,2038,1899,1968,1793,1829,1927,1820,2024,2028,1941,1777,2162,1808,1669,1784,1829,1988,2131,2032,2090,2044,2220,2215,1963,2464,3254,2493,2201,2604,2764,2985,3060,3257,3536,3595,3498,3266,2646,2713,3019,2759,2705,2644,3225,4183,4212,3458,2946,2584,2715,2963,2783,2554,2608,2901,3087,2676,2183,1548,1488,1532,1895,2759,2822,3109,3562,3710,3582,3626,3736,3684,3683,3654,3250,2968,3205,3414,3304,3041,3108,3178,3281,3274,2957,2866,3182,3247,2724,1920,1908,2676,3107,3419,3538,3318,2733,2245,2596,2434,2552,2377,2442,2631,2603,2674,2149,1906,2179,2996,1920,1168,2014,2739,3083,2840,2396,2513,3225,3697,3867,3631,3181,3410,3253,3143,3199,2878,2387,2025,1964,1989,2176,2565,2764,2297,1913,1838,2064,2035,1697,2177,2496,2395,2556,2438,2596,2620,2109,2776,3146,2764,2988,2619,2927,2609,2465,2588,2197,2485,2602,2070,2018,2499,3371,3018,2634,2634,2245,1770,2132,2465,2162,1926,1684,1626,1829,2074,2424,3100,2884,2869,3095,3312,3699,3759,3187,2627,2602,2348,1775,1728,2099,2394,3067,2915,2898,3461,4241,4364,3450,2920],[3026,3096,3174,2924,2659,2671,2867,3083,3209,3234,3063,2822,2568,2604,2899,2737,2270,2015,1904,1719,1776,2056,2160,2018,1798,1676,2073,2554,2475,2319,2373,2230,2304,2225,2453,2543,2608,2781,2888,3011,3050,3356,3542,3122,2828,3427,3616,3530,3802,3665,3174,3304,3274,2898,3034,3514,3560,3610,3641,3847,4120,4209,3986,3205,1923,2169,2443,2393,2273,2323,2517,2424,2392,2486,2249,3085,2733,2788,3321,3544,2631,2040,2722,3506,2895,2170,2825,3261,3501,3305,2945,3216,3610,3078,3286,3561,3625,3683,2894,2023,2129,2604,2270,1917,2348,2356,2066,2209,2277,1972,2170,2035,1826,1937,2131,2358,2161,1983,2287,2287,2106,1959,1870,1847,1727,2487,3132,2755,1821,1383,1746,1849,2062,2119,2391,1858,1963,2006,1682,1614,1859,1856,2040,2202,2364,2323,2116,2803,2752,2083,1766,2093,2967,3166,2277,1951,2473,2586,1951,1873,2283,2334,2118,2136,1842,2013,1771,1982,1846,1649,1938,2331,2223,2024,2233,1980,2007,1997,1935,1861,2232,2451,2137,2137,2655,2497,2026,1996,2007,2007,1929,2077,1781,1676,1902,1826,2018,2054,1665,1448,1724,2377,2652,2169,1799,1825,1986,1910,2096,1783,1557,1461,1534,1543,1518,1628,1712,1823,1809,1935,1466,1737,1892,1830,1664,1749,1708,1377,1301,1417,1653,1744,1974,1641,1544,1504,1349,1343,1555,1941,1695,1484,1827,2153,2144,2288,2491,2380,3305,3307,2875,1994,1562,1669,1785,1600,1906,2349,1884,2075,2163,2436,2154,2135,1744,1777,2037,1952,1800,1846,1945,1743,1559,1622,1477,1588,2209,2019,2142,2333,2080,2282,2048,1602,1736,1765,1538,1525,1597,1956,2008,1580,1098,1197,1339,1498,1720,1737,1745,1700,1528,2007,2645,2345,1787,1741,1809,2100,1706,1565,1998,2489,1952,1448,1545,1499,1525,2192,1851,1648,1569,1607,1775,2462,2463,2091,1942,1857,1745,1752,1920,2092,2304,2468,2592,2642,2340,2138,2181,1967,2114,2398,2453,2059,1445,1411,1553,1765,1599,1665,2097,2004,1979,1707,1948,2130,2012,2090,1910,1768,1733,1827,2399,2110,1668,1531,1750,1767,1630,2047,2285,2119,1910,2211,2166,2429,3064,2467,2272,2156,2622,2741,2769,3527,4274,3720,3099,3002,2833,2110,1684,2223,2357,3161,3812,3240,2586,2567,2913,3383,3689,3589,3198,3111,3151,2652,1996,2428,2800,3009,3718,3903,3808,3658,3531,3503,3797,3638,3490,3749,3149,2124,2625,3244,3119,2922,2834,2746,2998,3118,3189,3333,3398,2785,3088,3266,2621,2167,1980,2252,2307,1925,1846,2249,2227,2228,2219,1678,1693,2736,2846,3160,3658,3088,2464,2254,1737,1765,1669,1978,3163,3520,4120,4145,3883,3251,3286,2959,2354,3006,3206,2503,2047,1728,1554,1843,1738,2107,2725,2900,2393,1947,1732,1627,1872,2108,1867,1900,2167,2445,2530,2340,2370,1906,2002,2456,1945,2358,2788,2038,1863,1597,1622,1711,1809,1863,1860,1722,1821,2154,2442,2309,1698,2081,2393,2364,2544,2645,2480,2195,2881,3307,3013,2165,1673,1795,1735,1530,1708,1909,1810,2139,1871,2247,3075,2282,1757,1980,2379,2078,1691,1846,2386,2460,2520,2597,2349,2564,2529,2168,1944,2082,2459,2431,2426,2785,2700,2801,2754,2244,2468,2177,2232,2243,2424,3140,3327,2687,2365,2323,2291,1973,1853,1784,1749,1779,1925,1872,1821,1751,2174,2354,1878,1810,1936,1656,1655,2019,1948,1830,1561,1685,1782,1858,1996,1978,1865,1984,1889,1764,1835,1881,1791,1759,1835,1892,2037,1862,1793,1835,1681,1512,1780,2047,2012,2154,1831,1710,1781,1553,1404,1421,1673,2377,2440,1973,1748,1572,1586,1561,1657,1605,1542,1685,1754,1888,1904,1685,1815,1803,1613,1540,1616,1735,1708,1889,1866,1827,2393,2280,1869,1744,1569,1491,1353,1452,1576,1488,1547,2368,3056,3227,3566,3795,3723,3750,3643,3311,3154,3077,3555,3781,4100,4176,4168,4477,4464,4216,4099,4139,4062,3205,2429,2477,2335,3086,4091,3905,3906,3471,2633,2400,2070,2356,3068,2972,3608,4428,4363,3980,3820,3752,3918,3982,3705,3775,4082,4276,4054,3758,3850,4678,4825,4464,4273,4152,4001,3795,3773,3533,2851,2285,2227,2128,2042,2001,2060,2417,2300,2111,2137,1897,1766,1637,1617,1735,1527,1439,1199,1389,1599,1406,1616,1534,1480,1615,1471,1390,1447,1541,1678,1665,1414,1455,1539,1550,1700,2766,2565,2506,2150,1741,1704,1904,1756,1582,1728,1622,1631,1693,1934,2160,2088,3035,2945,2419,1881,1707,2227,2638,2675,2336,2203,2664,2965,3134,3318,2568,2188,2167,1719,1387,1473,1537,1520,1644,1540,1337,1523,1481,1560,1584,2266,2792,2301,1761,2311,2806,2415,2061,1860,1871,1812,1527,1467,1636,1543,2097,2362,2223,2533,2169,1763,1686,1473,1493,1559,1749,1738,1699,1978,2498,2148,1609,1708,2129,2081,1758,1739,1680,1718,1792,1752,1739,1908,2036,1843,2014,2162,2111,1968,1761,1613,1732,1891,1810,1803,1582,1672,1519,1499,1730,2074,2065,1699,1819,1872,1772,1916,2056,1553,1498,1516,1430,1516,1611,1800,1844,1906,1907,1799,1820,1743,1631,1716,1793,2282,2754,2124,2008,2124,2068,1932,2620,3272,2632,2097,1925,2254,2200,2027,2248,2504,2764,3339,3729,3848,3847,2769,1906,2017,2426,2467,2008,1745,1708,2579,3159,3569,3649,2975,2045,1637,2108,2277,1778,2529,2480,2410,2198,1885,2052,2218,2312,2258,2125,2125,2154,2160,1776,1607,1950,2277,1873,1936,2543,2558,2483,2388,2202,2062,1878,2092,1873,2310,2271,2509,2154,1889,1927,2034,1936,1979,2189,2218,2113,1853,2280,2176,2144,2838,2611,1831,1622,2106,2967,3130,2108,1613,1905,1531,1479,1980,2362,2715,2128,2157,2378,2204,2146,2411,2284,2192,2425,2820,2668,1942,1635,1645,2211,3353,3242,2565,1832,1647,1751,1726,1622,1685,1931,1563,1708,1525,1318,1659,1737,2246,3166,3378,3086,2329,1988,2248,2301,1832,1792,2004,2382,2557,2239,1718,1710,2158,2325,2116,2071,2409,2390,2299,1782,2569,2713,2581,2446,2565,2164,2214,2139,1870,1952,1835,2012,2675,3001,2840,3032,2505,1775,1525,1533,1707,2265,2202,1662,1759,1823,1873,2278,2017,2000,1794,1813,2653,2728,2563,2654,2416,2313,2293,2244,2755,2601,1847,1787,1851,1664,1590,1879,2081,1890,2285,2974,2732,1979,1991,2604,2706,2487,2158,2176,2042,2093,2094,1980,1840,1823,2217,2531,1848,2151,1663,1124,1415,1602,1684,1556,1540,1697,1706,1706,1960,2631,3216,2846,1808,1712,1547,1991,2210,2172,2263,2006,1818,2127,2139,1653,1699,1597,1502,1584,1562,1623,1547,1555,1876,1714,1960,2604,3041,3280,2939,3054,2929,2486,2614,2586,2430,2300,2126,1887,1769,1807,1600,1673,1633,1504,1707,1889,1663,1706,1807,1627,2118,2083,1581,1747,1829,1731,1687,1700,1816,2373,2248,1993,1977,1968,1764,2355,2928,2182,1693,2095,1758,1398,1498,1513,1388,1316,1143,1602,1955,1876,1830,1682,1814,2454,2183,1523,1376,1342,1373,1388,1306,1338,1440,1206,1204,1379,1466,1466,1438,1601,1583,1871,1893,1534,1490,1458,1528,1725,1663,1510,1643,1720,1913,2480,2021,1956,2444,2203,2191,2144,1575,1331,1646,1945,2353,1790,1524,1744,2288,2472,2642,2562,2399,2740,3462,2937,1995,2161,2845,3006,3282,3664,3093,1999,2015,2706,2584,2555,2490,2138,2387,2578,2388,1905,1625,1776,1647,1382,1263,1467,1764,1914,1852,1633,1768,1839,1688,1987,2067,2161,1924,1765,2361,2182,2344,1995,2579,3536,3096,2330,1850,1912,2511,2381,2038,1756,2352,3205,3469,3083,2820,2020,1893,2343,2250,2529,2713,2929,2923,2854,2692,2549,2632,2219,2217,2535,2496,3204,3128,2124,2059,2463,3378,2962,1979,1864,2332,2359,1862,1978,1984,1733,1677,1769,2272,2133,2432,3073,2819,3021,2845,2932,2795,2733,2377,2037,2217,2954,3096,2636,2653,2219,2342,2150,1608,2151,3304,3143,2693,2623,2924,2944,3039,3055,2691,2329,1924,1822,2210,2147,2173,2932,3043,2484,1993,1838,2765,3929,3954,4011,3852,3727,3406,2890,2762,2602,2242,2536,2830,2424,2066,2269,2260,2097,2323,2541,2630,2640,2652,2689,2629,2625,2806,3100,2745,2236,2177,1836,1730,1745,1951,2065,2116,2487,2903,2532,2427,2655,2686,2481,2369,2304,2796,3024,2761,2996,3119,3174,3112,3272,3583,3577,3220,2854,2943,3339,3725,3903,3825,3870,3670,3685,3281,3048,3311,3355,3189,3199,2169,1361,2189,2404,1879,1886,2024,2313,2668,2806,2243,1813,1977,1957,1869,2199,3109,3624,3226,2444,2141,2301,2396,2172,2019,2087,1924,1685,2198,1976,1635,1805,1809,1619,2032,2455,2305,1964,1959,1848,1759,1543,1622,1602,1695,1871,1970,1678,1509,1895,1918,1927,1999,1830,1853,1861,2143,2461,2018,1879,1751,1887,2177,2312,2072,1875,1762,1734,1669,2168,1926,1715,1762,1623,1985,2639,3131,3049,2739,2656,2854,2952,3274,3652,3572,2763,2150,1756,2343,2778,2825,2786,2460,2397,2870,3042,2618,2728,2911,2963,2743,2566,2621,2685,2924,2806,2099,1542,1497,1660,1633,1518,2121,2792,2989,3297,3410,2611,2916,3701,3917,3803,3676,3439,3251,3299,3293,3130,3243,3384,3550,3562,3263,2830,2745,2763,2752,2777,2341,2226,2352,2448,2655,3284,3052,2219,2172,2473,2329,2024,1758,2094,2420,2147,1613,1114,1781,2452,2438,1349,1311,2278,2766,2884,2997,3106,2864,3263,3513,3926,4086,3753,3293,3177,3185,3093,3009,2843,2539,2127,1821,1865,1865,1738,1955,2221,2275,1888,1558,1890,2340,2483,2691,2893,2522,2298,2002,2419,3441,2961,2210,2853,3018,2532,2448,2834,2675,2348,2723,2879,2018,2083,2909,3808,3929,3203,2950,2589,2711,3242,2788,2121,1803,1580,1616,1626,1807,2136,2958,3028,2647,2909,3448,3935,3461,2643,2800,3298,2790,2055,1916,2130,2361,2587,2449,2391,3024,3475,3503,3438,3279],[3096,3155,3090,2879,2831,2807,2939,3165,3106,3188,3189,2816,2865,3099,2686,2070,1765,1805,1804,1845,1992,2113,2005,1765,1745,2210,2576,2410,2191,2213,2295,2165,2194,2146,2236,2498,3031,3129,2875,3065,3233,3181,3330,3065,3297,3560,3147,3024,3217,3177,3474,4140,3775,2884,3032,3212,3017,2964,3245,3636,3476,3055,2442,1803,1818,2051,2169,2361,2468,2456,2751,2488,2520,2768,2298,2906,2546,2513,3228,2945,2018,2478,3333,3518,2707,1982,2613,3183,3399,3365,3321,3574,3028,2250,2899,3721,4059,3884,3417,2790,2442,2351,2664,2524,2263,2501,2733,2655,2242,2054,2397,2519,1975,2126,2688,2800,2488,2478,2864,2378,2320,2342,2282,2139,1605,1822,2520,2764,2238,1863,2095,1878,1916,2426,2168,1827,1778,1806,1706,1796,2125,1905,2082,1910,2193,2106,2195,2718,2792,1835,1597,2177,3035,3132,2082,2178,3229,3211,1988,1947,2324,2593,2117,1826,1776,1727,1795,2010,2004,1995,2010,1930,1758,1952,2249,1656,1695,2099,2133,2210,2903,2899,2125,2385,3351,2409,1896,1768,1929,2043,1950,2128,1979,1974,1914,1675,1800,1800,1578,1555,1853,2044,2427,2455,1866,1708,1443,1200,1662,1954,1721,1481,1513,1555,1636,1494,1346,1490,1726,1964,1833,1885,2085,1952,1682,1562,1543,1613,1357,1470,1723,1700,1896,1517,1835,1734,1416,1550,2382,2622,1722,1592,1880,2404,2060,2208,2901,2708,2741,2766,2985,2349,1773,1772,1664,1628,1790,2257,1952,2020,2574,3078,3182,2645,2229,2669,3443,2878,1875,1875,2105,1682,1555,1669,1493,1984,2361,1827,2200,2691,2340,1737,1602,2134,2243,1784,1530,1914,1926,1782,2030,1670,1241,1146,1422,1572,1762,1764,1735,1999,1605,2018,2189,1995,2158,1797,1808,1892,1732,2026,2170,1779,1553,1593,1638,1650,1754,2302,2102,1885,1811,1810,2132,2735,2699,2341,2093,1699,1659,1663,2182,2143,2222,2455,2746,3287,2773,2406,2632,2275,2305,2459,2464,2125,1839,1561,1648,1777,1683,1559,1632,2061,2124,1664,2014,2104,2222,1797,1795,1700,1711,1730,2531,2126,1555,1599,1407,1423,1402,1554,1706,2031,1753,2190,1996,2916,3582,2534,1714,1731,2052,2480,2717,3575,3854,3420,3350,2720,2746,2085,1833,2120,2527,3209,3060,2359,2291,2209,3034,3718,3783,3605,3171,2760,2334,1882,1864,2365,2480,2828,3714,3937,3812,3580,3526,3228,3459,3552,3796,3895,2922,2402,3132,3414,2989,2887,2814,2736,3085,3343,3363,3300,2824,2375,2418,2644,2884,2546,2004,2050,1835,1786,1609,1781,2165,2402,2165,1847,1801,2307,2318,2433,3375,2902,2162,1767,1612,1846,1992,2502,3046,3674,3794,3674,3571,3000,2366,2021,2329,2798,2012,1471,1353,1426,1430,1410,1689,2213,2562,2340,2031,2261,1688,1603,2072,2117,2011,1993,2519,2281,1875,1948,2563,2237,2156,2712,2020,1848,2219,1931,2236,1978,1897,1883,1859,2059,2248,1937,1711,1836,2280,2120,2340,2243,2121,2028,2554,2363,2050,2017,2165,2398,2610,2260,1603,1550,1439,1417,1675,1777,1780,2195,2077,2231,2429,2360,2264,2320,2468,2206,1887,2110,2234,2189,2654,2544,2180,2673,3016,2599,2092,2171,2259,2181,2248,2403,2188,2070,2194,1897,2077,2097,2375,2599,2554,2415,2229,2368,2568,2439,2304,1956,1876,2159,1958,1626,1784,1924,1833,1753,1832,1827,1766,1918,1838,1656,1790,2083,1973,1710,1660,1738,1721,1771,1998,1971,1935,2302,2136,1892,1821,1819,1777,1902,1996,1898,1686,1678,1621,1697,1802,1742,1749,1614,1702,1827,1786,1589,1597,1619,1704,1678,2022,2127,2143,1992,1918,1694,1638,1464,1544,1616,1609,1669,1802,1888,1789,1657,1679,1754,1520,1434,1642,1648,1791,1889,1747,1827,2274,2113,1728,1708,1654,1444,1398,1475,1560,1548,1559,2881,3775,3782,3909,3747,3671,3707,3537,3451,3452,3163,3877,4185,4265,4252,3946,4060,4380,4265,4168,4188,3776,2863,2736,3098,3606,4360,4331,3841,3835,3671,3072,2639,2223,2584,2956,3023,3838,4464,4156,3845,3687,3714,3946,3809,3753,3999,4096,4143,4151,4035,3695,4513,4885,4431,4060,3924,3660,3638,3320,2675,2578,2301,2072,2072,2554,2474,1887,1967,1862,1715,1830,1664,1532,1542,1914,2004,1730,1475,1488,1475,1498,1506,1616,1460,1381,1359,1280,1289,1455,1690,1847,1736,1467,1557,1649,1646,1560,1778,1784,1805,1915,2182,2123,1598,1453,1497,1620,1519,1597,1663,1404,1729,2037,2605,2412,1935,1970,1942,1986,2125,2105,2168,2276,2400,2039,2109,2851,2935,2879,2692,2275,2105,1780,1531,1770,1725,1579,1583,1636,1441,1655,1489,1792,2872,2597,1507,1787,2235,2061,1826,1606,1683,1649,1510,1930,2221,2253,2855,2674,2313,2122,1592,1729,1593,1432,1648,1684,1806,1793,1801,2009,2445,2312,1727,1749,2093,1925,1761,1704,1689,1709,1869,1894,1827,2117,2067,1884,2087,1997,2048,1815,1684,1709,1480,1495,1461,1608,1606,1670,1504,1414,1484,2048,2457,1668,1649,1467,1578,1906,1852,1562,1546,1512,1378,1361,1558,1820,1842,1962,1994,1825,1775,1642,1473,1354,1240,1683,1875,1852,1975,2139,1931,1825,2734,2946,2624,1685,1780,2211,2490,2109,1684,2061,2880,3616,3747,3417,3256,2266,1660,1816,2136,2552,2120,1954,2172,2491,2860,3558,3802,3299,2361,1942,1912,1993,1926,2636,3306,2980,2259,1922,1944,2174,2332,2300,2080,1933,1670,1942,1715,2095,2386,2088,2105,2588,2800,2561,2326,2325,2195,2145,2040,2268,1934,2419,2613,2533,2022,1662,2151,2484,2403,2497,2413,2191,2474,2430,2494,2360,2612,2859,2770,2117,1801,2330,2801,2358,1697,1386,1510,1532,1584,1732,1989,2378,2439,1916,1810,1889,1991,2352,2590,3123,2832,3176,2588,1689,1534,1485,1581,2173,2132,1881,1679,1532,1944,2292,1719,1853,1738,1513,1524,1684,1821,1827,2138,3020,3006,2876,2837,2232,1982,2184,2114,2114,2288,2004,1704,1770,1692,1708,2026,1905,1754,1795,1584,2095,2554,2255,2126,2709,2634,2700,2490,2219,2335,2290,1729,1459,1589,1828,1881,2634,3033,3006,2534,1779,1498,1405,1448,1529,1788,1937,1638,1613,1628,1807,2332,2404,2205,1914,2277,2587,2119,2144,2346,2250,2352,2448,2286,2991,3133,2578,2026,1914,2000,1928,1979,2249,2194,2307,2378,2069,1989,2338,2314,2273,2198,2119,2112,2646,2557,1766,1621,1595,1732,2132,2470,2106,2278,1921,1607,1708,1713,1713,1640,1571,1729,1894,2003,1799,2577,3332,2742,2065,1808,1618,2180,2316,1949,1918,1826,1913,2138,1982,1718,1779,1668,1522,1604,1558,1564,1561,1619,1854,1999,1991,2596,3677,3405,3256,3230,2687,2389,2489,2295,2035,1819,1623,1580,1568,1515,1539,1456,1471,1525,1621,1650,1731,1719,1867,1877,1701,1775,2062,2474,2662,2698,2621,2141,1838,1930,1929,1789,2121,2154,1626,2146,2975,2360,1735,1849,1618,1391,1334,1400,1466,1154,1026,1664,2049,1872,1814,1723,1614,2510,2583,1687,1268,1333,1920,1946,1274,1311,1349,1174,1318,1337,1501,1390,1304,1570,1660,1603,1565,1494,1417,1418,1382,1463,1446,1349,1502,1766,2174,2718,2369,2394,3066,2800,1964,1774,1529,1394,1450,1809,2276,1440,1309,1918,2438,2836,2885,2629,2718,3226,3509,3544,3344,3150,2889,2787,3119,3631,3013,1981,1658,2053,2198,2420,2421,2596,2509,1748,1532,1751,1844,1935,1729,1418,1340,1412,1522,1749,1898,1829,2106,2569,1966,1814,2077,2367,1920,1604,1894,1897,1964,1790,1996,2661,2588,2047,1939,2371,2655,2513,2134,1611,2082,2780,3293,3478,3462,2767,1922,2191,2537,2885,2806,2842,2868,2655,2393,2344,2181,2346,2844,2646,2471,2973,3292,2510,3002,3312,3364,2209,1902,1747,2019,1771,1616,1880,1727,1663,1552,1720,2380,2186,2449,2464,2730,2862,2745,2857,2976,2758,2348,1824,2097,2858,2790,2832,2138,2054,2613,2428,2171,2849,3286,3030,2774,2696,2846,2864,3052,3016,3046,2552,2276,2295,2491,2392,2380,2698,2941,3132,2656,2207,3243,3960,4095,4052,3811,3938,3973,3805,3166,2608,2510,2603,2466,2352,2326,2498,2303,2315,2677,2900,2669,2446,2503,2579,2640,2701,2938,3116,2821,2365,1998,1638,1426,1495,1830,1814,2076,2537,2642,2643,2458,2450,2597,2464,2526,2768,3060,3035,2934,3227,3483,3758,3732,3277,3334,3386,3212,3115,3476,4013,3840,3031,3437,3937,4000,3636,2988,2765,2846,2709,2469,2473,1964,2147,2608,2097,1785,1786,1612,1549,1976,2149,2164,2268,2084,1874,2358,2676,2787,3319,2905,2225,2144,2343,2301,2232,1998,1759,1902,1957,2289,1908,1696,2024,2058,1819,1968,2015,1810,1876,1922,1622,2168,1734,1533,1531,1610,1732,1919,1724,1365,1677,2531,2644,2147,2250,2121,1783,1826,1843,1955,1904,1785,1859,2248,2281,1745,1721,1866,1610,1509,2108,1905,1982,1848,1784,2221,2973,3997,4364,3681,2977,2634,2403,2644,3107,2872,2091,1906,1721,1894,2270,2406,2642,2632,2349,1974,2223,2573,2923,3039,2712,2360,2744,2908,2832,2758,2111,1503,1554,1845,1643,1559,1353,1600,2454,2988,3335,3440,2903,2758,3399,3736,3481,3701,3725,3637,3484,3150,3059,3068,3239,3650,3628,3241,2985,2956,2739,2596,2580,2326,2354,2391,2116,2136,2777,2612,2076,2210,2377,2322,1896,1706,2272,2692,2368,2168,1580,2180,2719,2504,1975,2265,2619,2492,2629,2922,3020,2961,3277,3119,3185,3369,2740,2790,3321,3168,2840,2917,3053,3213,2718,1834,1632,1998,2456,2585,2419,2406,2156,1807,2015,2630,3052,3145,3245,2609,2144,1954,2129,2873,2545,2684,3000,2636,1996,1700,1994,2315,2455,2178,2168,1740,2204,3392,4151,3851,3143,2908,2616,2788,2828,2453,2088,1592,1554,1630,1656,1732,2132,2684,2801,2588,2630,3448,3681,3012,2934,2830,2530,2360,2281,2092,2018,1965,2145,2013,1663,2551,3566,3647,3405,3094],[2931,2962,2968,2888,2833,2795,2874,3001,2924,3072,3218,3206,3208,2638,1896,1689,1727,1716,1876,2089,2148,1989,1770,1725,2129,2526,2454,2204,2132,2107,2243,2001,2052,2291,2774,3110,3085,3154,3201,3019,2988,2994,3259,3241,3234,3409,3169,2833,2945,3038,3419,3909,3671,3715,3426,2624,2553,2412,2256,1990,1852,1561,1221,1528,2095,2348,2266,2265,2418,2305,2447,2394,2325,2303,2461,3105,2619,2324,3050,2786,2498,2770,2917,2899,2247,1905,2548,3262,3574,3631,3738,3621,3038,2765,3289,3971,4012,3908,3721,2984,2434,2364,2752,3077,2454,2319,2873,2965,2800,2200,2482,3205,3052,3121,3465,3117,2482,2872,2822,2249,2420,2373,2182,2018,1760,1737,1559,1935,2236,2016,2767,2921,2611,2267,1820,1833,1858,1671,1706,1755,2379,2557,2096,1779,1853,1756,2061,2461,2894,2419,1635,1995,2812,2631,1963,2172,2562,2396,1710,1839,1904,1820,1923,1701,1381,1415,1727,1860,1914,1784,1484,1731,1749,2048,2165,1703,2061,2544,2265,2187,2757,3075,2757,2723,2976,2348,2031,1743,1729,1593,2220,2578,2206,2226,1760,1626,1660,1681,1529,1467,1843,1677,1903,2511,2106,2273,2460,1852,1867,2204,1927,1445,1472,1701,1682,1499,1558,1596,1948,2067,2018,2082,2075,1761,1606,1704,1723,1714,1616,1344,1328,1650,1798,1524,1830,2017,1665,1550,2073,2440,1913,1710,1703,1818,1974,2674,3264,2855,2325,2512,2880,2822,2164,1932,2085,2171,1897,2122,2128,2099,3095,3495,3700,3068,2214,2907,3926,3621,2484,2006,1886,1690,1555,1628,2009,2643,2600,2163,2448,2699,2203,1531,1947,2531,2580,2239,1854,2314,1926,1868,1856,1599,1445,2113,3044,2526,1906,1575,1682,2030,1919,2096,2047,1887,1797,1696,1961,1724,1748,2477,2326,1847,1977,1665,1532,1999,1907,1942,2176,2111,2304,2293,2284,2408,2092,1990,1957,1991,2088,1925,1984,1783,2184,2348,2403,3122,3185,2381,2236,1923,2305,2691,2608,2687,2436,1794,1486,1605,1539,1570,1807,1952,2111,2309,2298,2308,3055,2276,1873,1836,1620,1434,2170,2245,1682,1705,1549,1583,1693,1824,1783,1857,1678,1605,1798,2880,3584,3017,2597,1986,1804,2485,3365,3544,3993,3825,3549,3116,3007,2703,2417,2467,2912,3242,2983,2498,2754,2996,3589,3688,3155,3421,3432,2456,1654,1619,1824,1834,2045,2386,3210,3802,3908,3740,3780,3676,3248,3440,3954,4093,3740,3450,3554,3413,2999,2966,2985,2579,2879,3238,3259,3155,2866,2924,2958,2942,2529,2218,2420,2453,2090,1632,1606,2278,2596,2348,2294,2490,2712,2662,1822,1862,2865,2655,2252,1857,1943,1831,2304,2651,3107,3809,3495,3222,3134,2439,1705,1682,2150,2015,1484,1251,1500,1636,1503,1641,1788,1744,1580,1861,1871,1982,1965,2230,2692,2518,2001,1729,1903,2359,2139,2162,2869,2174,2058,2612,2128,1710,1844,2194,2701,2287,2211,2813,2873,2227,2159,2098,1977,1621,2039,2039,2644,2548,2251,2267,1976,1653,1786,1685,1559,1581,1775,1726,1477,1490,1498,1472,1621,1577,1645,2031,2022,1718,1759,2177,2352,2174,2102,1759,1694,2323,1859,2079,2613,2463,2430,2656,2702,2714,2439,2492,2907,3078,2521,2323,2005,2023,2142,1996,2004,2212,2372,2395,2339,2401,2358,2533,2705,2568,2184,1879,1693,1966,1749,1299,1553,1863,1818,1784,1801,1851,1893,1896,1918,1647,1687,1791,1696,1559,1501,1659,1554,1560,1820,1885,1895,2249,2344,1959,1644,1745,1872,1977,2116,1832,1444,1460,1555,1986,2138,1727,1524,1576,1773,1812,1660,1599,1588,1635,1802,1774,1813,1670,2298,2289,2200,1902,1567,1457,1567,1628,1696,1817,1812,1767,1677,1564,1582,1888,1710,1675,1694,1587,1926,2039,1759,1747,1808,1640,1549,1720,1795,1459,1540,1569,1665,1639,1663,2864,3983,3902,3907,3779,3627,3717,3824,4145,4292,3792,4039,4477,4560,4487,4361,4127,4232,4081,3796,3497,2625,2290,3334,4375,4864,4864,4271,3491,3300,3464,3614,3198,2100,2553,3006,3174,3702,4111,3916,3710,3686,3693,3763,3759,3874,3949,4056,4079,3928,3932,3947,4195,4264,4071,3970,3841,3581,3154,2517,2225,2171,2030,1948,1935,2850,2776,2046,1908,1708,1600,1737,1562,1490,1891,1886,1586,1936,1619,1599,1582,1560,1467,1501,1590,1550,1449,1365,1504,1618,1919,1824,1516,1521,1631,1914,1919,1758,1735,2231,2695,2359,1991,2222,2342,1846,1615,1733,1590,1681,1803,1602,1757,1981,2026,1955,2320,2635,2468,2499,2423,1740,1740,2007,2263,2084,1926,2601,3410,3549,3110,3227,2999,2207,1721,1491,1422,1360,1578,1617,1488,1615,1549,1701,2127,2225,1936,2045,1783,1848,1799,1595,1758,1825,1951,3010,2947,2262,2473,2452,1996,1546,1288,1610,1538,1627,1770,1783,1826,1794,1787,1859,1834,1733,1917,1978,2361,2275,1972,1813,1786,2018,2365,2340,2400,2733,2575,2275,2318,1989,1903,1706,1723,1618,1539,1438,1526,1753,1951,2072,1612,1543,1422,1809,1784,1523,1880,1744,1621,1679,1601,1672,1649,1436,1591,1683,1543,1811,1813,1945,2004,1700,1593,1620,1796,1650,1514,1847,1808,2073,2097,2037,1674,1682,2526,2274,2023,1576,1925,2773,2871,2114,1929,2324,2978,3593,3599,3308,3174,1835,1286,1544,1793,1947,2136,2196,2458,3242,3009,3347,2971,2437,1730,1759,1676,1639,1872,2388,2998,2923,2251,2010,2306,1917,1636,1603,1621,1838,1918,2287,2009,2352,2479,2103,2359,2547,2638,2524,2208,2125,2115,2128,2332,2496,2473,2676,2796,2790,2292,1707,2257,2741,3085,3108,2422,2238,2778,3046,3198,3083,2928,3151,2979,2404,2146,2608,2729,1898,1645,1446,1434,1626,1685,1476,1500,1906,1896,1906,2174,2220,2529,2715,2271,2563,2424,2842,2109,1531,1730,1599,1627,2052,2034,1761,1584,1471,1808,2023,1612,1543,1440,1465,1341,1456,1627,1723,2539,3106,2474,2518,2290,1936,2007,2788,2811,2375,2047,1844,1823,1895,1918,1871,1904,1698,2127,2523,2113,1950,1738,1498,1764,2085,1781,1852,1967,1840,1869,1861,1593,1532,1576,1878,2040,2369,2319,2135,1773,1610,1615,1479,1443,1533,1569,1685,1437,1616,1692,1731,1898,2046,2141,2253,2501,2437,1958,1654,1663,1707,2203,2401,2079,2668,3234,3321,2947,2501,2545,2500,2497,2623,2405,2218,2112,2043,2107,2177,2249,2238,2476,2517,2340,2954,2525,1986,1609,1588,1814,2007,1983,1909,2467,2455,1836,1766,1765,1997,2164,1679,1581,1588,1650,1844,2042,2585,2594,2127,1947,1884,1833,1814,1763,1819,1818,1954,1752,1752,1635,1649,1475,1484,1642,1631,1599,1648,1455,1605,1954,2079,2539,3497,3230,3012,2876,2321,2033,2083,1956,1804,1892,1780,1734,1660,1537,1554,1469,1495,1521,1535,1517,1483,1816,2763,2785,2075,1836,2709,3152,3200,3074,2807,2254,1855,2101,2054,1561,1834,2189,1860,2262,3045,2642,1914,2062,1969,1527,1339,1455,1534,1086,982,1530,1904,1885,1882,1694,1591,2021,2050,1489,1136,1445,2229,2281,1576,1487,1646,1337,1400,1572,1471,1228,1482,1670,1554,1392,1379,1504,1672,1872,1636,1482,1786,1661,1690,1906,1889,2251,2587,2509,2854,3143,2441,1940,1743,1485,1396,1784,1596,1251,1552,2131,2955,3529,3438,3307,3594,3727,3638,3714,3611,3595,3181,3212,3195,2876,2338,2164,2326,2544,2791,2722,2573,2736,2368,1828,1638,1783,1980,1714,1438,1497,1474,1591,1863,2031,2204,2288,2175,2360,1833,2083,2458,2578,1942,1530,1856,1869,1699,1691,1854,2342,2313,2215,2755,2889,2409,2398,1913,1746,2245,2688,3157,3642,3384,2544,1974,2446,2665,2567,2600,2695,2565,2276,2407,2203,1795,2109,2381,2413,2031,2381,3648,3269,3413,3440,3030,2220,1913,1782,1616,1563,1605,1595,1625,1836,1945,1791,2089,2166,2269,2375,2683,2809,2648,2754,2481,2235,2535,2075,1794,2338,2375,2553,2299,2600,2667,2029,1954,2678,3118,2823,2802,2838,2585,2946,3186,3247,3361,2562,2476,2554,2414,2197,2419,2770,2724,2919,2699,2507,2943,3330,3586,3740,3787,3731,3958,3706,2648,2108,2425,2499,2253,2144,2385,2314,2148,2533,2712,2512,2343,2388,2449,2575,2592,2655,2746,2717,2648,2850,2574,1932,1517,1565,1891,2061,2333,2628,2709,2481,2349,2443,2470,2496,2631,3014,3121,2963,3016,3318,3637,3936,4109,3349,2971,3011,3009,3098,3693,3864,3779,3617,3553,3639,3694,3427,3538,3166,2885,2654,2173,1949,2073,2423,2182,2024,1995,1731,1495,1531,1643,1620,1736,2076,1699,1614,2156,2536,2443,2148,2337,2422,2156,2435,2277,2114,1922,1942,2076,2010,1990,1686,1587,1922,1939,1658,1681,1694,1767,1854,1673,1554,1792,1619,1479,1361,1199,1346,1744,1621,1550,2037,2842,2941,2889,3010,2498,2057,2063,1950,1780,1790,2270,2341,2569,2468,1776,1786,2350,2057,1568,1855,1834,1780,1854,2218,2735,3525,4105,4196,3649,3163,2785,2349,2308,2333,2214,2238,2338,1993,1949,2022,2139,2303,2566,2543,2309,2417,2800,3144,2901,2489,2421,2837,2895,2631,2237,1839,1864,1906,2206,1881,1679,2091,2618,3034,3217,3207,3252,3182,3142,3352,3576,3584,3805,3925,3782,3493,3383,3547,3242,3173,3312,3273,3254,3164,3075,3016,3077,3098,2718,2300,2009,2180,2836,3343,3011,2639,2683,2367,2727,2171,1930,2779,3002,2609,2455,2554,3186,3376,3078,2954,3143,2924,2471,2315,2442,2769,3045,3455,3349,3365,3167,2460,2707,3433,3104,2317,2300,2979,3167,3186,2568,2303,2337,2994,3166,2808,2836,2860,1978,1597,1826,2828,3177,3079,2469,2014,1979,1988,2240,2340,2841,2520,1791,1735,1755,2091,2531,2746,2320,2720,2851,3123,3897,3997,2789,2427,2841,2852,2800,2659,2618,2529,2110,1829,1586,1536,1733,2390,2474,2235,2575,2755,3053,2985,3332,3503,2564,2576,2505,2188,1995,1971,1813,1927,1887,1976,2862,3184,3365,3630,3496],[2801,2832,2921,2910,2878,2778,2754,2817,2899,3195,3452,3662,3233,2276,1900,1761,1748,1929,2081,2056,1957,1776,1739,2174,2488,2254,2304,2165,2110,2166,2181,2317,2499,2643,3027,3120,2942,3242,3476,3262,3228,3054,3168,3740,3481,2877,2464,2554,2964,2907,3068,3548,3391,3614,3504,2634,2197,1967,2142,1900,1735,1888,2176,2169,2086,2375,2081,2118,2344,2023,2474,2933,2863,2697,3028,3544,3066,2583,2995,2798,3177,2647,2260,2301,2155,2084,2398,3420,3972,3836,3676,3508,3140,3285,3575,3455,3337,3722,3820,3326,3129,2957,3006,2968,2353,2656,3111,2902,2788,2342,2510,2854,3442,3417,2807,2668,2636,2856,2908,2754,2598,2081,1936,2232,2304,2040,1764,1952,1978,1849,2377,2814,2744,2140,1764,1613,1639,1666,1651,1975,2484,2780,2578,2675,2413,2190,2520,2543,2690,2824,2160,2486,2714,2424,2095,2453,1974,1574,1433,1987,2342,2172,1802,1543,1508,1540,1798,1613,1748,1749,1462,1930,2099,2103,1804,2105,2883,3031,2884,2785,2834,3362,3398,2787,2686,2710,2232,2097,2208,1975,2693,2868,2409,2281,1744,2166,1986,1763,1531,1735,1722,1582,1772,2675,3090,3274,3242,2655,2442,2075,1784,1607,1689,1768,1726,1672,1528,1860,1858,1633,1846,1813,1795,1577,1865,1590,1556,1776,1801,1741,1913,2166,2104,1705,1820,1778,1558,1477,1720,2323,1904,1587,1737,1733,1959,2796,3439,3160,2630,2279,2537,3074,2722,2398,2106,1838,1984,2015,1854,2322,2908,3129,3458,3353,3375,3375,3305,3509,2508,2270,1930,1809,1708,1924,2416,2460,1939,1703,1914,2229,2212,1613,2204,2100,2017,2437,1943,1549,1643,1745,1582,1422,1536,2751,4029,3247,1880,1469,1882,2111,2078,2321,2382,2392,2300,2061,1953,1690,1977,2514,2076,2520,2420,1926,1852,2109,1820,1917,1905,1630,2155,2288,2082,2184,2416,2230,1888,1811,2106,2286,1974,2120,2634,2476,2123,2145,2602,2056,1596,1451,1649,2042,2041,2262,2352,1956,1469,1208,1476,1642,1588,1779,2208,2840,3029,3104,2889,2086,1711,1662,1509,1425,1928,2307,2117,1746,1560,1445,1587,1770,1684,1737,1736,1618,1746,2393,2980,2985,2377,1766,2343,3041,3724,3607,3775,3530,3422,3242,3137,3111,2908,2754,3266,3753,3630,3351,3235,2690,2525,3117,3052,3026,3109,2533,1691,1801,1882,1774,1726,1553,2386,3414,3596,3767,4050,3928,3627,3735,4037,3992,3782,3583,3388,3272,3176,3056,3000,2733,2806,2974,3029,2732,2466,2786,2800,2693,2234,2282,2314,2061,1808,1698,1854,1981,2095,2141,2315,2985,3592,2689,1706,1964,2388,2151,1855,1784,1668,1519,2300,3078,3792,3750,3164,3163,3166,2668,2077,1847,2038,1867,1541,1310,1431,1582,1716,1854,1592,1399,1704,2531,2050,1997,1879,2598,3621,2981,1904,1668,1672,2012,1738,1837,2031,1985,2063,1898,1597,1831,2072,2577,2908,2486,2648,3508,3074,2184,1792,1643,1582,1714,2214,2590,2740,2472,2212,2093,1830,1715,1717,1540,1542,1909,2188,1672,1418,1783,1709,1610,1694,1461,1426,1813,1851,1482,1440,1577,1698,1936,1920,1630,1892,2420,1990,1708,2098,2441,2489,2518,2539,2742,2581,2392,2762,2941,2930,2691,2114,2085,2163,1936,2057,2207,2286,2207,2370,2688,2452,2378,2590,2620,2218,1822,1748,1824,1910,1807,1898,1875,2046,2352,1963,1780,1810,1738,1722,1651,1800,1755,1685,1559,1501,1397,1031,1183,1668,1919,1945,2079,1981,1633,1480,1654,1754,1673,1785,1645,1109,1096,1438,1806,1725,1642,1639,1697,1553,1521,1595,1506,1453,1540,1687,1341,1514,2129,2514,2482,2496,2020,1465,1694,1737,1559,1590,1769,1676,1601,1686,1559,1452,1625,1720,1751,1921,2231,2269,2240,2281,2310,1665,1634,1600,1720,1886,1699,1582,1574,1532,1532,1948,2915,4060,4385,4292,4156,4112,4296,4488,4753,4829,4530,4428,4616,4715,4494,4333,4082,4217,3826,3631,3212,2809,2707,3754,4704,4968,4897,4377,3386,3220,3430,3418,3096,2790,3009,3196,3306,3777,4385,4132,3649,3694,3616,3572,3819,4040,4333,4284,4139,4184,4063,4037,4137,4031,3915,4079,4186,3440,2402,2051,2032,2040,1917,1971,1797,1992,1947,1677,1597,1560,1657,1592,1441,1422,1651,1774,1471,1571,1449,1559,1586,1489,1394,1500,1738,1938,1722,1409,1536,2002,1960,1577,1259,1391,1817,1838,1543,1525,1764,2807,3219,2258,1433,1439,2236,2056,2395,2994,2574,2304,2082,1716,1498,1628,1587,1920,2425,2658,2459,2483,2905,2612,1956,1814,2332,2324,1865,2248,3109,3164,2941,3310,3374,3182,2294,1562,1290,1294,1427,1396,1655,1860,1746,2106,2234,2499,2289,1942,1691,1510,1727,1812,1648,1718,2233,2825,2134,1664,2200,2354,1845,1157,1250,1415,1447,1683,1632,1440,1409,1581,1747,2504,2719,2362,2087,1675,2236,2758,2541,2100,2058,2580,2932,2721,2762,2882,2731,2330,2049,1696,1739,1621,1577,1440,1453,1445,1776,1918,1776,1799,1664,1670,1412,1336,1409,1620,1764,1632,1621,1638,1609,1714,1754,1564,1826,1759,1670,1879,1727,1700,1732,1648,1819,2112,2237,1942,1859,1960,1874,2150,2115,2082,1783,2204,2886,2783,2313,2050,2501,3254,3197,2322,2187,2460,3009,3452,3425,3540,2985,2196,1824,2088,2293,1838,2067,2261,1911,2342,2231,2566,1808,1644,1643,1935,2211,2055,1885,1945,2076,2081,1803,2278,2847,1799,1533,1995,2475,2553,2768,2724,2257,2541,2744,2549,2695,2643,2673,2170,2077,2050,2332,2390,2662,2718,2420,2551,2937,3212,3064,2360,2556,3404,3760,3807,2769,2630,3111,3227,3082,2473,2483,3234,2979,2602,2437,2832,2985,2148,1449,1311,1392,1579,1820,1770,1695,1744,1555,1657,2328,2733,3135,2667,1902,2184,2683,3198,2988,2522,2220,1570,1655,2176,1960,1405,1483,1440,1558,1596,1408,1410,1450,1357,1335,1422,1555,1910,2524,2686,2562,2060,1786,1606,1851,2354,2154,1598,1562,1986,2253,2134,2230,2009,1882,1670,2002,2575,2140,1903,1893,1764,1998,2073,1685,1789,1566,1822,2106,2296,1802,1531,1619,1821,2176,2351,1923,1498,1591,1776,2004,1780,1534,1776,1414,1340,1829,1963,1744,1745,1782,1876,2393,2910,2906,2296,2142,1896,1776,1536,1751,2170,2109,2630,3212,3072,2905,2820,2598,2509,2327,2184,2022,1963,2071,2162,2347,2480,2566,2344,2591,2922,2384,2123,2024,2098,1615,1473,1754,1814,2147,2557,2840,2380,1878,1909,1831,2035,2010,1586,1355,1466,1779,2027,2146,2460,2238,1692,1546,1585,1400,1422,1628,1664,1934,1892,1512,1738,1842,1623,1519,1476,1544,1826,1982,2080,1707,1909,1814,2446,2685,3031,2812,2331,2089,1802,1981,2330,2000,1756,1924,1902,1693,1532,1461,1506,1469,1593,1810,1633,1506,1464,1729,2700,3010,2515,2063,2272,2299,2167,2002,2171,2115,1928,2061,2124,1696,1902,2035,1978,2187,2279,1836,1752,2220,1982,1396,1251,1351,1374,1071,1246,1408,1804,1902,1856,1616,1394,1371,1567,1514,1402,1526,1621,1599,1470,1402,1711,1381,1308,1419,1229,1436,1915,1665,1360,1366,1530,1760,1751,2020,2006,1903,1767,1491,1919,1865,1605,2060,2678,2817,2952,3565,3508,2321,1886,1605,1397,1499,1517,2151,3189,3774,4128,3883,3094,3249,3697,3975,3913,3859,3896,3789,3539,3254,2877,2879,2746,2351,2839,2810,2375,2480,2685,2410,2141,1933,1778,1599,1752,1824,1924,2011,1516,1883,2519,2603,2522,2763,2304,1839,2076,2509,2307,2151,1808,1575,1942,2001,1840,1788,1965,1781,1775,2777,3618,3670,3055,2142,1628,1879,2398,2437,2901,3204,2850,2018,1911,2381,2438,2562,2584,2678,2613,2609,2828,2473,2243,2282,2283,2154,1745,2667,3279,3037,3263,3218,2912,2419,1932,1835,1715,1798,1566,1494,1554,1912,2126,1999,2446,2432,2321,2452,3020,3109,2314,1826,1456,1542,1837,1878,2434,2911,2796,2507,2406,2503,2141,1784,1804,2082,2452,2642,3088,2889,2942,3028,3065,3171,2680,2213,2316,2366,2558,2446,2702,3099,3020,2751,2319,2598,3141,3056,2955,3291,3462,3670,3760,2954,1987,1996,2518,2820,2684,2423,2282,2244,2203,2315,2419,2379,2490,2460,2410,2495,2477,2481,2161,2309,2374,2540,2656,2170,1753,2061,2408,2448,2385,2441,2526,2546,2547,2579,2556,2778,2722,2863,2924,2763,2868,3230,3626,3550,3376,3228,2961,2764,3090,3340,3453,3529,3639,3610,3127,2963,2921,2752,3404,3438,3104,2788,2336,2204,2189,2049,2122,2484,2132,1839,1590,1688,1682,1692,1578,1675,1907,2178,1986,2189,2238,1471,1750,2276,2256,2242,1813,1923,1830,2208,2389,2144,2015,1809,1656,1862,1923,1470,1385,1561,1767,1643,1543,1505,1695,1734,1679,1403,1132,1554,2191,1743,1766,2291,2875,3516,3675,3119,2674,2640,2418,2455,2332,1907,2156,2052,2165,2138,1950,1729,1804,1839,1690,2150,2088,1682,2050,2240,2276,3328,2634,2777,3224,3252,3228,2828,2701,2366,2347,2510,2042,1909,1941,1983,2389,2328,2608,2622,2810,2850,3030,2953,2610,2490,2702,2843,2586,1989,1782,1900,1874,1822,1928,1705,2020,2464,2352,2696,3208,3422,3366,3065,3165,3051,3530,3189,3816,3874,3455,3284,3045,2858,2986,3130,2951,3007,3184,3278,3159,3295,3098,3228,2930,2528,2685,2775,3094,3284,3450,3251,2993,2770,3133,2271,2005,2812,2830,2338,2198,2551,3110,3367,3260,3001,2888,2741,2564,2287,2020,1728,1948,2651,3239,3270,3045,2885,2784,2842,2532,2104,1758,2172,2734,3024,2647,2507,2320,2001,2531,2731,2386,2172,1594,1691,2180,2710,2937,3046,2559,2553,2829,2820,2651,2795,2851,2410,2158,1959,2275,2280,2259,2448,2338,2386,2750,3443,3929,3210,2191,2383,2864,2887,2821,2774,2213,2141,2380,2132,1646,1576,1523,1756,2167,2385,2802,2901,2773,2532,3451,3398,2789,2960,2553,2023,1698,1550,1760,2008,2010,2611,2933,3027,3363,3643,2975],[2810,2921,3063,3011,3086,3028,2979,3033,3191,3489,3753,3457,3114,2518,1902,1790,1944,2068,2023,1918,1737,1742,2387,2879,2596,2194,2220,2231,2228,2326,2844,3270,3458,3647,3475,3291,3341,3277,3521,3548,3322,3159,3699,4257,3636,2630,2667,2873,3134,3013,2955,3238,3664,3741,3162,2779,2152,1658,2043,2364,2309,2329,2530,2329,2207,2068,2220,2557,2690,2343,3290,4064,3782,3232,3018,2769,2692,2913,2974,2751,2834,2060,1956,2486,2840,2710,2906,3693,4257,4257,4063,3996,3662,3399,3758,3604,3632,3790,3647,3503,3282,2811,3144,3555,2755,2318,3159,3173,2470,2554,2678,2525,2829,3283,3801,3607,2249,1851,2415,2764,2214,2104,1831,1994,1843,2261,2255,2374,2344,2121,1672,1551,2034,1882,1703,1541,1485,1546,1953,2425,2802,2899,2798,2812,2690,2499,2334,2171,2596,2466,2103,1906,1884,2235,1963,1996,1802,1606,1740,2231,2701,2404,1973,1949,1815,1724,2021,1708,1673,1717,1540,1655,2058,1903,1271,1961,3058,3316,3438,3141,3045,3514,3328,2186,1607,1839,1798,1682,2020,2181,2115,2082,2187,2529,1972,2028,2177,2292,1934,1819,1502,1515,1872,2489,2896,3166,2986,2381,2436,1964,1722,1494,1685,1936,1726,1583,1713,1736,1478,1625,1780,1753,1838,1731,1795,1505,1597,1844,2049,2084,2060,2526,2448,1909,1820,1820,1846,1535,1745,2116,1720,1537,1871,1992,2438,3174,3176,2909,2886,2453,2912,2274,1963,2018,1703,1431,2112,2359,2223,2604,2665,2810,3022,3105,3323,2968,2901,3648,2723,2330,2416,2934,3052,2286,2249,2678,2392,1938,1793,1979,2087,1919,2334,1965,1946,2128,1690,1587,1753,1613,1544,1565,1807,2208,3018,2779,1727,1618,1899,1842,1828,1811,1781,1882,1792,1819,2162,2152,2104,2014,2194,3208,2706,1919,1809,1910,2013,2375,2138,1681,1982,1976,2020,1871,2181,2153,2229,2208,2360,2438,2096,2320,2521,2242,2041,2091,2191,2081,2118,2005,1610,1566,1546,1728,1874,1935,1508,1696,2294,1726,1500,1711,2188,2149,2565,2971,2374,1728,1759,1506,1378,1482,1980,2341,2095,1723,1762,1576,1634,1795,1829,1876,1787,1685,1590,1655,2467,2958,2341,2252,3076,3637,3771,3659,3399,3248,3211,3030,2989,2979,2956,2562,3087,3674,3375,3344,3255,2676,2128,2169,2508,2508,2627,2689,1864,1844,1834,1648,1687,1626,2299,2597,2619,3341,3381,3044,3422,3854,3950,4112,3865,3444,3105,2995,3016,2755,2718,2978,2974,2823,2905,2885,2835,3198,3190,2636,2341,2341,2199,2205,2097,1853,1724,1768,1824,2087,2328,2339,2503,2099,2366,2571,2043,1608,1647,1917,1859,1892,2735,2907,3341,3326,3143,2864,2742,2834,2887,2493,2386,2420,2399,1914,1428,1677,1808,1678,1561,1272,1790,2995,3235,3125,2597,2672,3425,3084,2049,1846,1698,1823,1792,1521,1638,2073,2693,2716,2203,2275,2108,2041,2483,2165,2100,2265,2115,1991,1575,1498,1602,1867,1933,1930,2002,1998,1845,1759,1758,1786,1701,1670,1853,2527,2589,1976,1615,1813,1860,1747,1561,1433,1492,1767,1846,1553,1664,2165,1973,1664,1521,1352,1655,2154,2283,2562,2464,2630,2442,2087,2134,2539,2503,2614,2888,2632,2796,2821,2219,2152,2004,1892,1995,2329,2374,2350,2526,2372,2218,2352,2621,2657,2076,1907,1895,1967,2407,2543,2278,1842,1748,1742,1582,1664,1659,1681,1647,1737,1904,1785,1751,1301,1231,1645,1438,1041,1368,1852,1979,1987,1820,1657,1685,1954,1898,1725,1737,1711,1384,1419,1647,1853,1939,1775,1699,1782,1766,1819,1611,1600,1495,1495,2002,1755,2214,2986,2991,2720,2586,1922,1832,1926,1696,1627,1566,1683,1545,1498,1710,1558,1505,1648,1595,1617,1930,2124,1960,2005,2018,1957,1710,1720,1591,1700,1869,1718,1496,1523,1621,1543,2119,3489,4152,4341,4460,4573,4276,4143,4216,4541,4932,4977,4878,4717,4690,4585,4416,4109,3802,3519,3638,4332,4185,3914,4453,4671,4884,4656,4200,2907,2614,2389,2387,2796,2959,3078,3184,3320,3820,4352,4123,3915,3768,3661,3666,3797,4057,4139,3926,4002,4276,4309,4100,3886,3819,3964,3929,3399,2428,2044,2019,2028,1970,1830,1978,1862,1647,1514,1482,1453,1425,1567,1372,1628,1511,1414,1400,1289,1475,1733,1658,1409,1489,1467,1577,1800,1657,1638,1456,1582,1633,1509,1463,1394,1804,2301,1694,1161,1248,1502,2071,2597,2315,2173,1766,1833,2142,2991,3480,3221,2708,1989,1446,1389,1753,1704,2262,2017,1853,2243,2654,3321,3487,2775,2237,2837,3110,2545,2398,2979,2931,2919,3028,3463,3498,2688,1862,1469,1571,1417,1309,1531,2156,2216,2093,1865,2115,2288,2244,1871,1572,2066,2083,1476,1961,2326,2089,1461,1106,2114,2448,1786,1215,1360,1372,1450,1536,1498,1531,1558,1559,1599,2214,2474,2580,2397,2313,2283,2463,2574,2660,2819,2980,3017,2805,2746,2428,2122,1771,1431,1432,1488,1625,1787,1645,1487,1411,1612,1621,1545,1512,1741,1667,1431,1225,1678,1917,1664,1691,1809,1880,1855,1947,2076,1910,1742,1989,1857,1796,1560,1342,1535,1699,1918,2349,2286,1602,1700,1785,2091,2214,1783,1691,1825,2486,2995,2730,2624,2588,2688,3205,2985,2059,1995,2330,3062,3431,3478,3529,2893,2522,2438,2652,3046,2946,2422,2242,1931,1595,2121,2442,2076,1933,2000,2088,2034,1758,1473,1318,1483,1476,1830,2037,1632,1559,2120,2765,2688,2876,3216,2642,2420,2780,2861,2674,2940,2844,2478,1865,1970,2160,2080,1987,2535,2750,2472,2988,3177,3063,2733,2520,2929,3846,4288,4241,3526,3328,3285,2945,2287,1782,1953,2801,2834,2356,2403,2519,2394,2018,1784,1611,1442,1543,1643,1689,1658,1658,1767,1501,2114,2239,2258,1909,2044,2261,2274,2863,3661,3345,2613,1737,1552,1871,2162,2156,2204,1824,1831,1814,1441,1431,1355,1328,1368,1569,2237,2422,2178,1910,1914,1452,1469,1676,1649,1556,1484,1177,1308,1961,2309,1994,1765,2132,1981,1885,2060,2134,1988,2149,2264,2048,1671,1905,2059,1964,1628,1826,2059,1975,1563,1485,1568,1710,1883,1808,1968,2033,2237,2275,2511,2235,1758,1617,1306,1665,2371,2304,1979,1793,1757,2020,2868,2528,1992,1913,1887,1911,1779,1484,1924,2376,2098,2304,2620,2360,2166,2064,1939,1765,1759,1797,1905,1838,2197,2760,2803,2835,2832,2014,1843,1801,1772,1820,1814,1600,1466,1458,1555,1636,1989,2275,2036,1811,1825,1708,1572,1778,2077,1765,1797,1816,1929,1936,1657,1576,1715,1838,1699,1654,1765,1615,1666,1983,2240,1975,1516,1619,1730,1469,1374,1161,1263,1598,1772,2021,2199,2389,2325,2857,2784,2459,2230,1914,1576,1446,1743,2302,2048,1982,2033,1785,1595,1435,1461,1678,1632,1699,1874,1932,1980,2238,2271,2204,2059,1905,1760,1632,1730,1598,1672,2209,1927,1833,1597,2183,1669,1405,1350,1395,1574,1461,1505,1796,1740,1514,1337,1253,1274,1313,1111,1203,1310,1583,1858,1889,1755,1528,1433,1558,1675,1619,1504,1324,1249,1300,1475,1720,1581,1357,1320,1470,1872,2151,1888,1434,1367,1334,1506,1526,1820,2002,2054,1749,1680,1918,1858,1982,2595,3655,3577,3173,3431,3835,2949,2065,1880,1983,2101,2691,3405,3666,3664,3755,3061,2444,3011,3475,3910,3881,3883,3761,3528,3234,2392,2114,2859,2884,2211,2544,2569,2387,2315,2097,2062,1882,1818,2056,1653,1629,1898,2192,2199,1937,1583,1801,2142,2178,2757,2752,2099,2064,2184,2221,1996,1769,1706,1782,1826,1745,1690,1522,1408,1864,3163,3570,2977,2117,1927,2362,2764,2393,2225,2996,2708,2451,2656,2322,2381,2409,2194,2239,2555,2736,2712,2168,1990,2452,2487,2473,3084,2993,3466,3131,2666,3011,2896,2531,2611,2326,1918,2534,2349,1642,1438,1476,2113,2235,2216,2504,2508,2729,2896,3500,3152,1923,1452,1401,1478,1785,2370,2907,3016,2711,2453,2845,2624,2002,2123,2151,2344,2410,2900,3033,3062,3784,3677,2920,2405,2045,1991,2097,2201,2272,2248,2460,2912,2745,2751,2806,2972,3493,3682,3124,3109,3242,3198,3308,2514,2072,2736,2920,2654,2676,2437,2380,2437,2237,2269,2382,2467,2714,2504,2380,2723,2820,2549,2503,2747,2735,2608,2306,1918,1962,2544,2635,2554,2633,2578,2446,2680,2786,2630,2509,2590,2768,2834,2748,2920,3097,3259,3516,3521,3228,3307,3300,3312,3441,3422,3520,3471,3609,3886,3022,2262,1979,2483,3320,3126,2999,2465,1909,2048,2266,2291,2963,2875,1913,1655,2098,2300,2050,1851,1827,1960,2494,2679,2312,2004,1810,1860,1905,2127,2355,1930,1786,2044,1966,2044,2116,1972,1987,1925,1815,1771,1625,1439,1638,1794,1670,1514,1627,1679,1475,1467,1740,1709,1802,1974,2295,1878,1920,1936,2765,3759,3752,3118,2786,2651,1959,1941,2294,2277,1788,2176,2530,2288,1981,1812,1977,2292,2534,2380,1860,1829,2128,1960,1808,3482,3256,3308,3333,2974,2393,2800,3365,3018,2853,2994,2439,2511,2143,2374,2398,2099,2564,2874,2996,3008,2895,2696,2577,2831,2872,2797,2193,1668,1831,1898,1957,2058,1772,1741,2106,1862,1768,3006,3685,3981,3970,3074,3160,2560,2655,2530,3396,3632,2963,2843,2776,2266,2488,2553,2557,2613,3010,3122,3122,3199,2835,3138,3147,2924,3345,3256,2822,2574,2963,3195,3165,3316,2787,2060,2714,3199,2727,2342,2376,2407,2769,3178,3453,3328,3033,2706,2482,2146,1888,1627,1319,1953,2819,2691,2674,2754,2558,2743,3020,3017,2392,1717,2110,2521,1962,2189,2719,1909,2756,2851,2207,2089,1817,1968,2447,2608,2674,2835,2481,2193,2453,2826,2611,2897,2465,1886,2077,1989,2043,2296,2541,2387,2119,2074,2520,3320,3378,2496,2034,1760,1847,2429,2361,1918,1587,1748,2169,2431,2281,1750,1314,2244,3130,2773,2762,2663,2099,2344,3121,3262,3399,3587,3175,2184,1744,1754,2116,2163,2211,2842,3005,3031,3187,2562,1714],[2847,3143,3196,3272,3394,3396,3383,3564,3795,3903,3508,3106,3090,2537,1936,2008,1899,1896,1890,1693,1743,2277,2709,2569,2393,2242,2156,2446,2676,2798,3204,3183,3339,4060,3749,3691,3760,3384,3677,3873,3465,3493,3784,3542,3062,2789,3100,3085,3068,2908,2802,2735,3480,3581,2509,2281,2457,2170,2384,2508,2256,2219,2451,2526,2309,2039,2497,2667,2099,2198,3517,4212,3938,3430,3308,2173,2140,2735,2833,2974,2474,2177,2449,2708,2789,2419,2520,3209,3685,3811,4074,4229,3682,3107,3828,3940,3736,3697,3379,3156,3155,3009,3143,3760,3728,3265,3465,3264,2336,2327,3204,3194,2814,3675,4428,3868,2214,1537,1669,1998,2454,2888,2467,1909,1477,1694,1910,2162,2513,2419,2036,1556,1709,1749,1749,1848,1809,2064,2666,2621,2778,2784,2695,2727,2588,2485,2382,2109,1883,1691,2081,2384,2903,3043,2428,1986,1648,1525,1831,2172,2168,1527,1478,1639,1734,1882,2311,2024,1856,1908,1926,1755,1737,1736,1309,1847,3011,3436,3287,3236,3472,3608,3120,1995,1414,1690,1738,1367,1478,1691,1692,1710,1715,1975,1736,1656,1869,2231,2425,2163,1909,1880,1765,1952,1810,2011,1930,1638,2032,2222,1767,1287,1548,1644,1636,1660,1610,1516,1572,1856,1881,1961,2288,1950,1674,1722,1736,2090,2207,1813,1736,1675,1631,1829,1970,2015,1925,1551,1776,2054,1670,1650,2110,2248,2335,2783,2688,2802,2780,2431,2276,2103,1820,1884,1874,1602,2032,2145,1774,2303,2431,2667,2908,3110,2251,2310,2348,2420,2212,2310,2709,3306,3248,2792,3038,3371,2706,2380,2309,2100,2013,1919,1859,1798,1851,1837,1947,1691,1600,1591,1592,2015,2350,1967,1918,1864,1866,2238,2178,1643,1611,1558,1432,1557,1604,1626,2059,2059,1902,2257,2890,3248,2856,2014,1922,2113,2153,2381,2260,2026,2182,2024,2526,2900,2631,2296,2552,2473,2321,2491,2109,2429,2864,2809,2559,2236,2007,2305,2475,2064,1853,1957,1812,1968,1740,1943,1739,1635,1931,1881,1938,2085,1946,1733,2324,3063,2758,1743,1689,1366,1327,1315,1748,1982,1855,1540,1505,1477,1430,1663,2114,2275,2230,2262,1880,1621,2223,2696,2787,2967,3484,4049,4074,3495,3019,2764,2963,3108,2919,2967,3096,2805,2654,2990,3288,3233,2719,2416,2140,1839,2283,2198,2052,1900,1594,1505,1543,1593,1777,1670,2173,2680,2678,3195,3177,3018,2784,3307,3392,3595,3099,3125,3010,2873,3092,2863,2790,2968,2929,2655,2828,2970,3161,3224,3444,3271,2946,2541,2232,2533,2698,2249,2351,1952,1794,2327,2956,3042,2394,2150,2784,2618,1550,1675,2084,2084,1791,1829,2040,1967,2420,2989,3090,2726,2619,3029,3042,2754,2670,2688,2520,1906,1396,1681,1585,1359,1527,1949,2503,3217,3557,3745,3614,3319,3265,3548,3190,2165,2149,2299,2330,1823,1571,1784,2366,2647,2524,2320,2411,2153,2208,1884,1980,1738,1896,1807,1785,1691,1848,1858,1592,1631,1753,1618,1506,1558,1605,1527,1558,2092,1982,2101,2318,2007,1998,2291,2164,2013,1729,1589,1490,1822,1749,1531,1686,2448,2168,1513,1455,1346,1639,2288,2269,2695,2562,2806,2408,1869,2209,2548,2347,2642,2788,2513,2489,2599,2409,2358,1914,2016,2137,2397,2192,2465,2634,2563,2720,2630,2708,2785,2741,2313,1997,2648,2972,2271,1905,1640,1533,1467,1481,1693,1842,1728,1770,1773,1800,1695,1675,1095,1411,2280,2027,1207,1194,1644,1759,1787,2020,2459,2664,2852,2169,1747,1737,1638,1519,1794,2207,2279,2100,2050,1763,1681,1868,2036,1849,1760,1889,2051,1890,1524,2126,3177,3173,2526,2006,1533,1589,1779,1720,1730,1798,1920,1636,1443,1545,1512,1656,1649,1581,1584,1550,1483,1759,1838,1899,2046,2146,2248,1981,1810,2107,2099,1769,1721,1716,1746,2238,3309,4022,4263,4419,4538,4110,3839,3894,4187,4812,4520,4108,4128,4484,4484,4332,4082,3593,3537,3646,4271,5136,4885,4492,4206,4311,4418,3852,2328,2976,3255,2866,2784,2885,3139,3208,3542,4001,4173,4013,4142,3948,3827,3906,3756,4003,4375,4220,3929,4329,4273,3849,3685,3864,3816,3117,2297,2027,1980,2013,1964,1754,1725,1772,1720,1703,1600,1566,1498,1462,1612,1444,1529,1450,1276,1350,1520,1756,1882,1824,1653,1523,1495,1398,1462,1426,1582,1431,1493,1694,1638,1738,1648,1748,1704,1750,1403,1415,1901,2190,2008,2091,1928,1544,1729,2221,2649,2724,2585,2366,1820,1319,1356,1641,1544,1736,1603,1698,2048,2186,2741,3292,2836,2082,2382,3228,2707,2223,2497,2751,3087,3388,3388,3353,3283,2558,1826,1650,1324,1467,1785,2443,2231,1918,1726,1708,2222,2482,2053,2160,2463,2083,1914,2355,2172,2112,1861,1859,2261,2204,1707,1638,1423,1328,1416,1377,1498,1576,1456,1310,1857,2164,1803,1933,2135,2105,2109,1903,2008,2160,2206,2321,2327,2176,1731,1555,1631,1516,1621,1912,1702,1650,1682,1523,1453,1453,1469,1544,1490,1456,1781,1800,1516,1384,1607,1653,1597,1867,1945,1957,2024,2258,1947,1815,2307,2504,1834,1673,1484,1289,1580,1691,1801,2087,2254,1881,1774,1979,2041,1985,1731,2186,2480,2686,2871,2801,2799,2973,2876,2735,2518,1981,2008,2424,3050,3282,3527,3392,2888,2845,2398,2483,2928,3296,2833,2097,2055,2056,2331,2615,2266,1755,1700,1619,1677,1533,1350,1288,1292,1395,1995,1830,1824,2246,2625,2920,3043,3660,3240,2518,2636,2755,2640,2880,2923,3018,2966,2429,2190,2176,1994,2149,3207,3271,2812,3083,3161,2945,2743,2612,2711,3175,3663,3356,3325,3441,2884,2212,1944,1809,1914,2434,2536,2060,1665,1594,1596,1542,1730,1928,1439,1371,1389,1556,1687,1511,1685,1812,1968,1809,1542,1510,1577,1686,1808,2092,2984,3597,3279,2450,2143,2178,2756,3000,2524,1924,1825,1728,1504,1538,1383,1277,1410,2277,3442,2782,1942,2181,2111,1820,1786,1938,1746,1614,1713,1771,1696,2144,2367,2556,2382,2032,1758,1754,1820,1974,2323,2659,2565,2404,1729,1749,2035,1686,1619,1561,1586,1658,1439,1309,1388,1439,1794,2292,2677,2504,2089,2198,2688,2314,1690,1470,1454,1909,2192,2127,2128,1518,1454,1725,2692,2182,1815,2008,1908,2051,2045,1977,2340,2279,2006,2002,1960,1746,1600,1903,2022,1730,1682,1782,1801,1658,1759,2105,2479,2598,2875,2214,1842,1836,2023,2345,2066,1548,1478,1556,1511,1674,2129,2007,1810,2238,2071,2032,1649,1535,2183,2393,2019,2094,2466,2089,1602,1375,1807,2829,2270,1928,2251,1999,1860,1881,1917,1800,1559,1631,1676,1351,1317,1568,1892,1685,1665,2133,2431,2262,2341,2346,1882,1730,2079,1950,1765,1766,1816,2065,2154,2204,1826,1478,1512,1503,1734,2142,2049,2381,2618,2987,3244,3492,2697,1516,1314,1586,1675,1641,1591,1648,1715,1965,1791,1635,1540,1999,1626,1317,1466,1451,1362,1440,1700,1828,1584,1344,1256,1240,1235,1305,1225,1277,1150,1305,1863,1958,1804,1674,1473,1482,1856,1887,1555,1338,1225,1158,1463,1764,1747,1422,1345,1581,1702,2238,2601,1700,1369,1323,1422,1418,1630,2101,2238,1779,1615,1846,2382,2698,2700,2894,3066,2519,2950,3663,3341,2616,2754,3100,3220,3687,3780,3529,3142,2714,1963,2250,2962,3228,3419,3479,3596,3030,2588,2655,2293,2374,2962,2702,2706,3112,3163,2380,1714,1592,1693,1680,2069,2232,2038,2082,1877,2020,2047,1757,1449,3466,5620,3378,2314,2482,2286,2099,2101,2438,2187,1932,1755,1952,2292,2019,1983,1773,1789,2732,3273,2907,2673,2424,2661,3206,3441,2294,2113,2188,2019,2636,2799,2387,2360,2087,1972,2146,2108,2523,2295,1913,2019,2140,1752,2291,3878,4456,3792,2706,2835,2975,2746,2850,2924,2241,1917,2619,2156,1832,1859,1682,2076,2194,2099,1974,2412,2846,3138,3108,2389,1682,1563,1466,1482,1750,2286,2847,3054,2550,2425,2400,1998,2241,2379,2340,2243,2888,3175,2630,2889,3803,3974,2659,1837,1654,1935,2144,2249,2285,2372,2520,2613,2282,2278,2745,2908,2814,2763,2349,3632,4109,3571,3175,2656,2398,3414,3673,2883,2335,2184,2200,2169,2239,2236,2259,2361,2417,2237,2291,2676,2653,2749,3254,3460,3145,2744,2260,1945,2516,2758,2774,2839,2989,2762,2643,2657,2710,2663,2518,2469,2741,2737,2641,2958,3427,3306,3463,3676,3473,3331,3387,3782,3946,3574,3614,3332,3606,3755,2790,2056,1883,2670,3378,3350,3018,2342,1730,1831,2505,2880,2930,2174,1213,1347,1849,2100,2100,2115,2271,2534,2692,2224,1854,2002,2129,2260,2162,2595,2895,2712,2269,1959,2137,2100,1931,1825,1857,1668,1653,1600,1676,1557,1547,1671,1673,1649,1636,1735,1576,1609,1996,2343,2040,1818,2209,2172,2465,2149,1996,2587,2890,2636,2688,2740,2187,1937,2199,2408,1771,1918,2048,1977,1934,2071,2375,2369,2497,1963,1960,2331,2504,1775,1628,3118,3540,3251,3206,2787,2573,2840,3042,3276,3017,2728,2577,3140,2805,2368,2049,2053,2330,2398,2678,2901,2824,2768,2966,2863,2557,2947,2383,1804,1973,2067,2643,3022,2229,1763,2132,1606,1804,3133,3898,4069,3395,2887,3185,2361,1858,2309,3047,3320,3086,3194,3095,2425,2533,2544,2592,2562,2905,2977,2954,2920,3028,3342,2692,2307,2809,2699,2514,2337,2523,3085,3451,3520,2654,2675,3577,3094,2921,2824,2494,1754,2417,3119,3305,3330,3327,3330,3226,2810,2456,2187,1986,2291,2428,2220,2364,2408,2588,2952,3046,3288,2960,2160,2104,2363,2009,2418,3306,3183,3760,3218,2353,2032,2129,2254,2533,2830,2835,2510,2104,1749,1811,2063,2184,2589,1912,1562,1776,1537,1351,1751,2116,2248,2220,2142,2238,2600,2636,2273,2033,1829,1522,1701,1732,1641,1656,1828,2168,2358,2674,2025,1765,3120,3530,2646,2392,2368,2240,2262,2514,3326,3796,3623,3459,2705,2376,2230,1908,1873,2139,2337,2687,2974,2405,1556,1534],[2998,3206,3348,3457,3773,3527,3581,3787,3854,3697,2985,2768,3277,2868,2232,2151,1850,1810,1745,1847,2376,2479,2392,2447,2301,2412,2855,3040,3251,3367,3431,3081,3309,4085,3933,3956,3986,3259,3197,3482,3198,3311,3339,2647,2584,2864,3172,3010,3243,3429,3165,3133,3307,2997,2557,2401,2612,2396,2264,2656,2670,2296,2410,2031,1555,1662,2181,2472,2367,2600,3694,4120,3927,3746,3661,2766,3080,3064,3120,3449,2512,1986,2218,1943,1851,2025,2532,2666,2900,3363,3830,3759,3522,3455,3809,3836,3703,3716,3688,3266,3062,3049,3239,3630,3808,2798,2822,2927,2797,2608,2533,2820,2896,3974,4073,3088,1832,1680,1936,2060,2363,3074,2944,2012,1623,1859,1830,2442,3117,2865,2836,2563,2077,1820,1816,2465,2460,2182,2156,2121,2380,2483,2553,2337,2285,2451,2182,2147,2074,1770,2448,3165,3262,3235,2898,2148,1490,1589,2177,2124,1440,1231,1216,1123,1550,1875,1872,1937,2328,2577,2156,1654,1519,1697,1503,2126,2630,3076,2968,3162,3286,3378,3135,2257,1597,1620,1871,1700,1620,1473,1460,1717,1945,2282,1885,1495,1693,1896,1851,1898,2115,2099,2012,2020,1988,1700,1606,1558,1797,2219,1703,1533,1751,1668,1918,2002,1721,1610,1534,1734,1964,2532,2946,2221,1874,1682,1643,2254,2413,2072,2167,1818,1934,2187,2210,1857,1665,1610,1774,1820,1614,1678,2084,1860,1672,2089,2266,2809,2280,1968,1982,2559,2786,2297,1884,1766,2112,1760,1736,2153,2252,2297,2693,2801,2403,2485,2288,1937,2159,2630,2397,2753,2783,2819,3450,3474,2918,2442,2237,2167,2111,1841,1752,1982,2079,2034,1956,1599,1626,1664,1807,2143,2474,2352,1891,1696,2060,2469,2427,1952,1924,1437,1394,1797,1835,1883,2069,1903,1858,2602,2995,2745,2432,2019,1668,1631,1807,1752,1757,1932,2311,2542,2796,2751,2149,1985,2263,2365,2225,2149,2269,2519,2751,2521,2336,1894,1876,2195,2107,1766,2186,2452,2113,2010,1931,1902,1793,1973,1808,2048,2098,2124,2047,1820,2159,2856,2840,1683,1506,1632,1482,1503,1570,1674,1733,1791,1996,1783,1586,1625,1968,2368,2599,2797,1955,1682,1889,2502,3113,2909,2937,3763,3986,3051,2568,1963,2656,3098,2851,2707,3051,2855,2266,2404,2781,2730,2561,2723,2630,1946,2011,1608,1627,1610,1549,1492,1453,1596,1654,1470,1802,2771,2931,2822,2518,2313,2554,2698,2874,2692,2498,3125,3251,3092,3145,2886,2853,2887,2784,2529,2766,2920,2923,2721,2786,2987,2966,2928,2728,3039,2840,2502,2491,2110,1976,2366,2574,2320,2097,1943,2151,2165,1924,2228,2418,2202,2146,1946,1880,1931,2653,2994,2900,2905,2824,3062,3043,2498,1981,2311,1644,1510,1536,2338,2864,2728,2696,2463,2518,3513,3752,3584,2870,2802,2898,3661,4104,3060,2504,2385,2402,2194,1738,1629,1808,2098,2446,2712,2419,2205,2112,1418,1667,2279,1902,1770,1901,1786,1933,1719,1549,1753,2246,1685,1589,1630,1557,1449,1467,1787,1720,1803,1815,1602,1788,1918,1960,2232,2027,1628,1659,1938,1835,1704,1921,2141,1896,1753,1423,1409,2230,2722,2253,3015,2408,2296,2290,2041,2648,2369,1985,2673,2752,2674,2788,2415,1947,1905,1945,1789,2088,2520,2393,2496,2836,2979,2805,2810,2713,2499,2732,2155,2406,3207,3263,2374,1710,1538,1479,1356,1428,1756,1925,1663,1991,1847,1872,1789,1720,1704,2094,2549,2556,2028,1611,1568,1497,1555,2243,3216,3340,3349,2631,1952,1794,1713,1683,1906,2301,2032,1851,1781,1531,1719,1853,1621,1567,1713,1784,2120,2071,1657,2157,2988,3063,2520,1813,1831,1615,1806,1591,1580,1755,1956,1792,1472,1462,1452,1468,1471,1552,1626,1562,1523,1643,1841,2049,1910,1926,2457,2479,1805,1769,2212,2211,2154,1953,1831,2481,3316,4023,4280,4396,4419,4144,4080,4081,4010,4531,4214,4187,4496,4748,4542,4271,3991,3522,3748,3890,3963,4733,4041,3429,3297,3626,4017,3464,2818,3308,3285,2988,3054,3087,3115,3067,3485,4252,4220,4200,4163,4171,4191,4004,4003,4407,4559,4238,4096,4524,4154,3947,3977,3754,3093,2286,2024,1949,1975,1939,1596,1698,1702,1613,1569,1616,1538,1500,1569,1541,1482,1572,1709,1641,1656,1790,1706,1660,1705,1891,1664,1562,1429,1289,1330,1476,1572,1439,1573,1743,1542,2097,2134,2146,1904,2149,1949,1761,1963,2231,2082,1869,1647,1527,1581,1924,2387,2485,2001,2096,1893,1818,1439,1282,1519,1955,2071,1998,1780,1520,2083,2991,2263,1964,2169,2620,1978,1600,1856,2199,2676,3262,3177,3339,3355,2686,1969,1677,1631,1704,2466,2768,1938,1642,1552,1540,2233,2371,1960,2501,2443,1779,1791,1638,1581,1974,1999,2011,2374,2079,1581,1668,1359,1412,1384,1371,1582,1674,1355,1624,2305,2069,1795,1946,2114,1823,1807,1859,2093,2213,1889,1717,1791,1860,1730,1726,1510,1397,1505,1669,1737,1647,1559,1605,1624,1600,1620,1727,1592,1398,1585,1796,1639,1446,1551,1509,1367,1826,2043,2220,2233,2126,1581,1544,2210,2125,1688,1765,1537,1502,1612,1717,1932,2038,2092,2162,2185,1955,1890,1879,2007,2435,2537,2897,2712,2945,2687,2918,3236,2857,2262,2011,2032,2562,3152,3426,3500,3119,2658,2659,2395,2719,2807,2758,2436,1907,1671,1630,1712,1980,1718,1471,1477,1494,1716,1409,1469,1426,1680,1791,1852,1734,1855,2074,2264,2565,2309,2263,2083,2489,2644,2787,2868,3081,2848,3075,3099,2649,2699,2630,2230,2699,3495,2950,2762,2723,2795,2814,2420,2231,2413,2612,2840,2375,3326,2905,2162,1626,1741,1884,1897,2123,2641,2436,1593,1512,1610,1494,1431,1427,1338,1237,1317,1528,1429,1531,1683,1831,1700,1521,1569,1484,1417,1638,2013,2902,3037,3520,3526,2987,2805,2840,2719,2295,1859,1622,1440,1450,1518,1495,1283,1382,1729,3066,3272,2330,2206,2522,2584,2241,2003,2344,2085,1936,2195,2502,2131,2013,2422,2601,2018,1610,1638,1614,1541,1788,2035,2395,2357,2256,2028,1845,1720,1605,1543,1515,1795,1695,1314,1388,1408,1512,1781,1997,2391,2045,1520,1537,1798,1783,1692,1557,1475,1798,1954,1721,1789,1474,1648,1571,2011,2283,2376,2182,1946,1939,1949,1905,1985,2192,2187,2101,2004,2032,2078,1896,1733,1678,1741,1981,2060,1705,1601,1779,1848,2438,2975,2329,1706,1909,2071,2003,1772,1547,1594,1570,1799,2181,2199,1966,1999,2048,2012,2244,1978,1629,1801,1976,1997,2318,2223,1773,1487,1374,1817,2482,2314,2250,2143,1979,1987,2188,1935,1766,1686,1721,1632,1612,1429,1400,1752,1991,1950,2042,2082,2281,2103,1607,1533,1666,1794,1660,1744,1737,2333,2392,2269,2214,1742,1516,1754,1960,1925,1656,1948,2881,3075,2692,2718,2991,2165,1311,1389,1590,1984,1998,1533,1694,1868,1632,1894,1639,1841,2055,1620,1768,2188,1752,1482,1481,1513,1806,1629,1404,1273,1293,1229,1272,1350,1395,1337,1366,1852,1991,1840,1746,1553,1437,1958,2174,1627,1242,1198,1296,1405,1465,1536,1409,1487,1510,1500,1815,1807,1396,1335,1480,1450,1432,1646,2056,2250,1710,1515,1845,2823,3208,3191,3174,3002,2828,3383,3637,3427,2975,2933,2282,3024,3215,2885,2147,1614,1305,1246,1855,2413,2567,2598,2902,3394,2512,2277,2414,2186,1971,2070,2382,2563,3013,2907,1870,1474,1591,1619,1581,1828,1858,1821,1644,1654,2198,2330,1990,1628,5960,7129,3500,2152,1817,2146,2242,1991,1975,2028,2072,2016,2195,2386,2255,2158,2126,2495,3133,3143,2639,2697,2466,2578,3244,4037,2978,2086,1679,1548,1870,1989,1881,2171,2368,2078,2152,1972,1964,1415,1557,2269,2042,1555,2370,3730,4137,3649,3084,3254,3013,2421,2461,2172,1907,1976,2168,2075,2214,2270,2264,2245,1922,2046,1897,2233,2489,2545,2279,1772,1519,1567,1588,1596,1691,1870,2068,2387,2336,2360,2040,1957,2185,2219,2286,2030,2648,3097,2675,2859,3379,3072,2047,1820,2111,1918,1718,1894,2427,2766,2918,2727,2398,2153,2430,2665,2351,2114,2200,4094,4681,4214,3510,2993,2678,3177,3646,3262,2432,2218,2004,1973,2172,2136,2332,2442,2235,2243,2563,2644,2642,2877,2994,3392,3339,2911,2521,2074,2317,2608,2736,2819,2738,2719,2655,2641,2787,2713,2520,2624,2734,2730,2817,3092,3392,3209,3404,3768,3658,3448,3486,3631,3604,3574,3433,2872,3263,2812,2107,2191,2695,3052,2935,2953,2912,2732,2061,1886,2621,3365,3373,2751,1957,1738,1555,1673,1913,2106,2119,2292,2744,2459,2211,2198,2138,2132,1998,2931,3498,3076,2597,2211,2189,2217,2041,1937,1598,1709,1701,1660,1810,1661,1604,1564,1599,1709,1644,1793,1815,1798,1999,2393,2124,1991,2684,3185,3386,2767,1820,1815,2155,2303,2518,2350,2222,2248,2364,1850,1567,1598,1742,2177,2236,2053,2483,2515,2172,1600,1874,1681,1629,1658,2107,2751,2894,2897,2771,2684,2933,2493,2611,2702,2725,2515,2955,3355,3295,2942,2384,2150,2102,1782,2125,2570,2696,2673,2909,2826,2931,3196,2909,2428,2086,2137,2699,3149,2686,1974,2598,2383,2750,3038,3416,3790,2824,2370,2386,1977,2132,2544,2894,3104,3279,3313,3316,2659,2636,2824,2912,2965,3061,3035,3135,3060,3530,3507,2508,2419,2907,2501,2314,2160,2465,2909,3329,3688,3677,3592,3341,2936,3020,3158,2476,1961,2490,2707,2496,2430,3046,3748,3758,3676,3470,2894,2709,2492,2238,2192,2381,2507,2688,2836,3097,3255,2972,2452,2286,2356,2667,3307,3755,3438,3319,3089,2361,1844,2124,2493,2928,3375,2734,2172,1818,1775,2241,2033,2003,1994,1628,1516,1715,1398,1046,1424,1690,2416,2444,2222,2045,2554,2622,2437,2322,2303,1882,1584,1804,1949,1859,2241,2854,3204,2678,2135,2329,3130,3105,2040,1939,2114,2079,2369,2696,3505,4219,4063,4037,3438,2767,2543,2002,1865,1906,1859,2098,2325,2116,1853,1784],[3477,3327,3164,3354,3851,3825,3737,3621,3660,3544,3022,2946,3132,3035,2412,2029,1816,1649,1908,2602,2874,2643,2443,2389,2563,2997,3243,3097,3338,3233,3121,3159,3836,4351,4244,3838,3344,3026,2949,2995,2915,2828,2648,2548,2609,2705,2980,3193,3441,3551,3702,3953,3382,2697,2576,2473,2725,2300,2122,2707,2786,2477,2815,2698,1842,2019,2832,3134,2818,2748,3500,4024,3915,3767,3534,3597,3664,3207,3315,3308,2758,2154,2172,2085,1879,2075,2070,1991,2307,3359,3640,3159,3082,3432,3883,3875,3713,3671,3836,3333,3043,3181,3344,3760,3770,2957,2344,2521,3316,2820,2167,2709,3552,4172,4062,3304,2586,2113,1986,2209,2523,2908,2798,2355,1880,2073,2307,2842,2910,2999,3024,3441,3194,2388,1856,2380,2376,2071,2208,2238,2298,2514,2737,2351,2357,2402,2172,2243,2972,3317,3376,3445,3254,3337,3247,2633,1816,1891,2364,2476,1712,1268,1192,1242,1600,1801,1791,1985,2411,2786,2268,2048,1444,1650,1855,1844,2211,2729,2597,2367,2507,2532,2383,2062,1748,1662,1903,1732,1726,1577,1361,1641,1873,1854,1749,1719,1856,1909,1678,1647,1664,2005,1866,1865,1999,1933,1932,1970,2346,2370,1798,1810,1798,1810,1904,1847,1894,1808,1514,1488,1881,2657,2556,2087,2330,2035,1825,2474,2926,2695,2784,2357,2182,2155,2139,1740,1529,1864,1770,1617,1698,1611,2045,1611,1593,1962,2406,2349,1806,1952,2001,2423,2972,2519,2327,2526,2482,1807,1906,2207,2229,1871,2019,2066,1694,1858,1961,1922,2071,2199,2192,2766,2580,2563,2731,3042,2874,2114,1706,1970,2120,1728,2008,2039,2148,2133,1747,1584,1923,2142,2019,2232,2502,2281,2002,1951,2026,1757,1740,1636,1629,2070,2188,1923,1790,2144,2454,2167,1770,2219,2690,2413,2322,2309,1818,1823,1881,1766,1796,2020,2611,2964,2778,2610,2093,1851,1676,1676,2108,2073,2496,2796,2887,2686,2236,1620,1746,2019,1758,1789,2486,2931,2264,1652,1709,1765,1706,2241,2449,2168,2036,2094,1816,1716,1860,2301,1888,1654,1760,1701,1488,1729,1956,2030,1770,1787,2125,1997,1964,2076,1982,2294,2645,2692,2051,2092,2395,2977,3571,2967,2229,2965,3646,3127,2524,2443,2691,2875,2800,2486,2568,2373,1814,2018,2083,2339,2534,2664,2698,2193,2349,1973,1730,1763,1786,1757,1499,1588,1744,1758,1942,2605,2802,2731,2641,2679,2688,2577,2700,2424,2237,2943,3333,3274,3184,2799,2944,3028,2875,2618,2744,2740,2290,2217,2570,2653,2641,2663,2622,2737,2850,2753,2713,2397,2112,2359,2144,1841,2182,2530,2294,2236,2179,2122,2156,1785,2119,2021,1807,2237,2989,2952,3132,3217,2873,2954,3001,2281,1922,2365,2056,2135,2531,2852,2487,2209,2342,2262,2332,3045,3319,3040,2065,2001,2046,2922,3933,3436,2648,2389,2252,2073,1754,1595,1726,1882,2073,2361,2183,2472,2171,1661,2028,2119,1731,2273,2532,2096,1976,1912,1830,1937,2087,1625,1538,1528,1484,1468,1568,1605,1576,1712,1744,2068,2504,1983,1828,2022,1991,2056,2249,2264,2091,1913,1960,1947,1840,2018,1538,1683,2347,2807,2752,2862,2492,2454,2177,2473,3464,2667,2104,2373,2790,2965,2868,2288,1787,1764,2229,2294,2126,2264,2337,2379,2727,2917,2960,3184,2608,2580,2808,2381,2836,3127,2587,2065,1702,1573,1640,1493,1490,2002,1791,1588,1772,1897,1930,1882,1831,1724,1761,2165,2480,2025,1698,1410,1292,1975,3140,3320,3182,3369,2887,2073,1786,1725,1764,1798,1888,1775,1638,1539,1931,1904,2178,1783,1584,1808,1538,1741,1722,1948,2652,2920,2942,2063,1631,1813,1705,1562,1468,1503,1686,2109,2008,1576,1522,1524,1518,1609,1699,1551,1407,1459,1496,1832,1952,1771,1854,2223,2386,2065,2069,2438,2534,2120,1667,1899,2865,3650,4156,4232,4281,4264,4009,4082,4257,4280,4768,4948,4928,4632,4497,4291,4300,4019,3720,4048,4017,3898,3743,3008,2923,2915,2944,3223,3458,3471,3499,3651,3414,3388,3018,3018,2846,3207,3758,4068,4219,4460,4620,4359,4060,4585,4812,4383,4136,4396,4652,4396,4090,3909,3248,2337,2036,1965,1966,2074,1751,1489,1834,1740,1560,1453,1198,1097,1250,1607,1578,1609,1792,1720,1786,1720,1613,1633,1498,1513,1834,1841,1621,1606,1615,1548,1591,1535,1545,1707,1784,1642,2349,2360,2180,2242,2444,2054,1670,2055,2375,2534,2151,1801,1655,1753,1836,2195,2124,2633,2500,2185,2095,1749,1435,1677,2296,2643,2208,1771,1698,1724,1942,1973,2392,2382,1952,1688,1662,1838,2264,2865,3354,3390,3487,3363,3189,2568,1866,1654,2036,2932,2899,2352,2259,1803,1771,2163,1933,1665,1970,1741,1563,1753,1571,1498,1815,1984,1938,1845,1715,1550,1434,1407,1404,1245,1452,1470,1377,1681,2477,2539,2520,2420,2154,2511,2248,2077,1928,2076,2386,2514,2169,2153,2110,1783,1803,1681,1551,1526,1542,1930,1998,1932,1784,1998,1720,1428,1822,2170,2004,1628,1569,1396,1369,1498,1474,1296,1789,1918,1748,1832,1794,1382,1268,1467,1543,1702,1762,1773,1856,1845,1668,1658,1926,2109,2147,2119,1844,1737,1716,1906,1775,2526,2611,2199,2220,2080,2441,2824,2796,2800,2680,2442,2725,3197,3331,3305,2710,2709,2944,2968,3264,3425,3422,2966,2242,2147,2089,2173,2378,2596,2217,2194,2556,2237,1536,1605,2094,2548,2322,1777,1638,1585,1664,2178,2430,2135,2417,2685,2776,2377,2573,2957,2952,2910,3164,2934,2436,2812,3120,2509,2942,2847,2618,2980,3007,2783,2630,2309,2554,2981,2670,2811,2501,2771,1835,1599,1632,1753,2099,2126,1999,2292,2117,1486,1354,1440,1452,1472,1585,1460,1230,1404,1550,1528,1642,1557,1386,1294,1362,1376,1290,1471,2021,2901,3860,3463,2996,3361,3759,3551,2886,2007,1603,1578,1637,1439,1418,1302,1332,1390,1702,2008,2490,2518,2222,2162,2507,2854,2718,2641,2514,2621,2196,1943,1974,1697,1494,1802,1830,1587,1512,1519,1587,1308,1416,1779,2416,2199,2028,1819,1681,1687,1751,1627,1582,1916,1998,1877,1947,1902,2063,2163,1968,1984,1729,1463,1463,1520,1582,1714,1596,1523,1598,1720,1766,2005,2155,2067,1888,1925,2010,1948,1945,1843,1838,1660,1641,1632,2015,2099,1907,2002,2176,1711,1418,1556,1559,1757,1786,1865,1651,1554,1909,2158,2491,2908,2588,2178,2088,1773,1666,1734,1936,1799,1559,2041,2446,2041,1682,1602,1511,1671,2057,2156,1830,1609,2048,2282,1991,1624,1388,1476,1466,1710,1722,1529,1580,1861,1820,1709,2475,2453,2067,1624,1692,1720,1882,1765,1810,2183,2144,2144,2770,3404,3440,2331,1617,1509,1680,1837,1744,1764,1776,1748,1976,2556,2919,2187,1829,2317,2601,2348,1842,1895,2397,2547,2311,2014,1763,1556,1413,1490,1490,1776,1704,1449,1610,1906,1862,1801,1590,1906,1860,1456,1840,2545,2140,1653,1512,1481,1741,1754,1625,1462,1373,1299,1364,1477,1604,1639,1284,1591,1864,1908,1854,1619,1397,1938,2313,1854,1292,1181,1205,1358,1456,1552,1521,1556,1672,1660,1489,1413,1399,1433,1522,1482,1466,1486,1791,2088,1953,2213,2511,2970,3078,2997,3212,3274,3371,3332,3374,3680,3163,3119,2182,2372,2143,1933,1673,1343,1384,1522,1517,1593,1860,2046,2338,3349,3230,2799,2165,1812,1720,1782,2068,2264,2554,2242,1659,1600,1613,1610,1532,1672,1614,1227,1272,1622,1964,2224,2026,1526,1920,2604,2722,2192,1689,1664,2014,2337,2278,2023,1986,2153,2600,2494,1848,1880,2215,2501,2849,2952,2578,2850,2880,2379,2819,3670,3515,2347,1589,1628,1556,1664,1950,2019,2094,2260,2342,2254,2084,1870,2466,2954,2200,1809,2556,3000,3511,2680,3119,3117,2774,2044,1851,1699,1541,1842,2116,2134,2179,2646,2540,2117,2325,2467,2510,2148,2234,2448,2225,1708,1571,1500,1593,1870,2022,1848,1698,1703,2171,2374,2264,2367,2209,1836,1924,2395,3162,3329,2930,3023,2874,1958,1799,1869,2501,2310,1939,1910,2009,2963,3860,3153,2644,2114,2106,2366,2187,1836,2377,3635,4119,4108,3955,3466,2836,2888,3016,2764,2364,2236,2080,2532,2554,2620,2688,2540,2564,2864,2924,2901,3027,3018,2994,3230,3329,3206,3038,2510,2417,3020,3012,2517,2477,2775,2908,3086,2854,2645,2730,2654,2585,2761,3051,3387,3288,2953,3260,3673,3420,3315,3470,3381,3449,3606,2964,2414,2679,2648,2187,2391,2998,2837,2226,2044,2163,2176,1754,1671,2248,3175,3239,2436,2041,1860,1649,1839,2056,2258,1891,1813,2320,2598,2492,1937,2055,2394,2232,2381,2305,2227,2544,2264,2242,2078,1746,1736,1584,1584,1543,1715,1774,1578,1534,1580,1586,1780,1847,1712,2216,2100,1941,2200,2065,2158,2678,2817,3094,2867,1882,1576,1730,1911,1786,1793,1969,2274,2164,1838,1598,1783,2359,2040,1786,1695,1992,2361,2246,1754,1780,1908,1636,1808,2480,2612,2796,2718,2314,2703,3002,2525,2090,2221,2216,2061,2769,3582,3802,3454,2436,1743,1818,1692,1866,2425,2558,2788,3098,3063,3348,3312,2643,2375,2104,1870,2104,2586,2143,2193,2603,2790,2950,2658,3097,3597,3372,2567,2364,2698,2979,3033,2791,2875,3054,3366,3226,2389,2375,2962,3292,3072,3112,3053,3090,2813,2812,3201,3164,3154,2612,2023,1877,2132,2680,3204,3519,3828,4071,3779,3222,3062,2669,2972,3185,2954,2580,2252,1988,2008,2944,3630,3683,3745,3774,3721,3294,2561,2268,2468,2756,2942,2872,2916,3184,3271,3464,2886,1804,2077,2710,3173,3266,3250,3046,2845,2720,2590,2151,2218,2555,2924,2525,2023,1238,1456,2014,2027,2100,2293,2095,1885,2696,2454,2170,2221,1722,2214,2582,2801,2524,2507,2770,2597,2241,2187,2082,1957,2030,1901,1730,2517,3204,3129,2191,2297,2294,2404,2742,2598,2720,2542,2008,2189,3164,3768,3875,3926,3837,3036,2284,2578,2532,2104,1914,1926,2044,1957,1974,2110,1993],[3454,2899,2608,3394,3873,3773,3454,2970,3238,3154,2924,2964,2828,2917,2763,2164,1604,1859,2941,3332,2676,2429,2470,2822,3002,2886,2786,3165,2924,2841,3443,4145,4493,4308,3839,3687,3168,3059,3028,2951,2687,2541,2432,2720,3077,3271,3588,3399,3294,3338,3628,3570,2977,2203,2254,2442,2618,2379,2604,2919,2874,2685,2568,2520,2267,2859,3213,3475,3487,3387,3648,3834,3782,3578,3441,3725,3617,2799,2901,2755,2604,2148,2164,2288,1995,1946,2418,2416,2490,3328,3500,3437,3738,4002,4218,3816,3583,3864,3936,3418,3530,3441,3366,3763,3739,3274,2630,3006,3696,2893,2329,2531,3612,4164,4079,3255,2850,2566,2130,2089,2486,3022,2914,2577,2403,2141,2504,2671,2658,2609,3023,3975,4069,3306,2643,2590,1945,2092,1910,2361,2508,2252,2674,2905,2647,2369,2032,2261,3611,4481,3968,3495,3153,3261,3340,2836,2088,1747,1881,2155,1990,1876,1618,1810,2109,1961,1513,1766,2348,2622,2301,2222,1678,1600,1772,1871,2295,2492,2209,2133,2406,2190,1897,1749,1338,1564,1887,1686,1378,1343,1659,2212,2342,2201,1862,1926,1882,2084,1803,1326,1526,2067,1799,1637,1771,1840,1974,2002,2069,2138,2174,1939,1704,1734,1854,1699,1787,1838,1807,1771,1962,1943,1650,2114,2351,1930,1965,2604,2947,2673,2614,2950,2584,1900,1680,1432,1954,2512,2065,1793,1676,1637,1963,1917,2204,2750,2812,2146,1917,2323,2280,2324,2566,2430,2591,2330,2378,2343,2098,2270,2353,1866,1973,1980,1739,2002,1885,1569,1774,1795,2327,2596,2301,2071,2261,2833,2817,2149,1723,1880,2200,1885,1974,1775,1856,1902,1720,1763,2044,2095,1978,2092,2239,2248,1946,2145,2453,2166,1528,1465,1820,2622,2251,1823,2274,2284,1918,1930,1685,2074,2765,2162,2335,2243,1780,1671,1820,1968,2192,2329,2508,2575,2431,2389,1635,1702,1920,2198,2646,2557,2297,2520,2344,2146,2262,1641,1918,2248,1519,1807,2443,2409,1881,1728,1971,2026,2179,2611,2514,2347,2681,2384,1821,1647,1647,1776,1741,1799,2188,2329,1856,1552,1754,1956,1684,1420,1617,1885,2017,2568,2708,2735,3120,3408,2813,2630,2799,3016,3198,2387,2164,2732,3444,3272,2824,2921,2997,3207,3066,2352,1941,1881,1759,2258,2457,2561,2269,2301,2252,2000,2523,2194,1581,1675,1554,1616,1716,1549,1908,1839,1666,2506,2842,2877,2949,2722,2523,2557,2497,2359,2401,2708,2796,2940,2895,2464,2652,2884,2896,2589,2592,2599,1785,2025,2164,2429,2600,2490,2087,2208,2600,2567,2601,2268,2222,2345,2054,1937,2204,2475,2374,2227,2124,2192,1962,2041,2742,2704,2170,2857,3386,3350,3476,3229,2858,2894,3022,2453,2053,2157,2357,2556,2857,2625,2409,2410,2614,2685,2270,1969,1788,2286,2140,1839,1709,2213,3032,3009,2706,2834,2664,1957,1686,1725,1785,1930,2457,2411,2052,1947,1963,1892,2005,1768,1635,2235,2176,1818,2049,2329,1851,1662,1924,1817,1547,1473,1454,1525,1569,1541,1522,2043,2142,2820,2470,1756,1766,1871,1865,1744,1927,2035,2006,2054,2033,1884,1946,2060,1640,1480,1901,2253,2127,1917,2132,2176,1959,2342,3029,2534,2364,2424,2518,2580,2352,1980,1798,1836,2468,2753,2354,1900,1786,2040,2372,2464,2910,2879,2370,2626,2666,2422,2852,3029,2529,1832,1741,1627,1603,1683,1690,1919,1719,1706,1656,1531,1672,1918,1981,1773,1796,1814,1932,1638,1406,1199,1356,2398,3199,3330,3340,3311,2900,2370,2085,2093,2740,2697,2004,1894,1512,1659,2034,2007,2189,2126,1785,1787,1606,1589,1598,2017,2779,2699,2268,1719,1579,1553,1477,1401,1452,1677,1715,2154,2268,1766,1712,1622,1565,1692,1861,1699,1613,1640,1789,2082,1834,1592,1723,1789,2043,1968,1952,2411,2304,1809,1676,2216,3010,4009,4700,4483,4552,4440,4197,4432,4861,5005,5172,5360,5089,4472,3780,3347,3623,3705,3738,4008,3859,4151,3676,3072,2951,2654,2798,3320,4112,4141,3795,3551,3533,3278,2945,2976,3097,3214,3240,3382,3781,4229,4121,3913,3886,4351,4571,4331,4137,4204,4324,4189,3738,3264,2475,2047,1998,1920,2026,2038,1704,1519,1501,1779,1673,1444,1261,1288,1548,1684,1538,1569,1833,1802,1624,1450,1433,1540,1588,1453,1601,1714,1640,1849,1752,1475,1520,1442,1340,2014,2060,2294,2548,2185,1748,1576,1979,2054,1656,1518,1769,2086,2261,2639,2214,1786,1592,1889,2136,2438,2637,2752,2444,1677,1554,1572,1859,2105,1847,1726,1688,1571,1640,2065,2536,2134,1599,1562,1561,1978,2557,2496,2814,3240,3393,3318,3155,2621,2035,1961,2683,3264,2894,2643,2391,2064,1935,1958,1843,1715,1607,1702,2054,1997,1569,1481,1595,1678,1628,1483,1615,1694,1390,1348,1505,1456,1409,1281,1425,2057,2372,2402,2218,2235,2316,2880,2876,1982,1987,2331,2475,2407,1905,1872,1951,1454,1857,2120,1599,1599,1724,1726,2131,2041,1522,1521,1446,1398,1610,1916,2061,1704,1515,1346,1231,1447,1698,1700,1689,1738,1668,1535,1524,1531,1618,1896,1854,1797,1838,1847,1976,1945,1706,1577,1716,1980,2042,1887,1794,1714,1640,1836,1969,2277,2276,2260,2143,2398,2645,2438,2697,3293,3177,2778,2711,2933,3119,3311,3231,3154,3342,3714,3845,3967,4113,3695,3063,3275,3154,2844,3342,3765,2868,2855,2626,2124,1974,1973,1854,2076,2592,2135,1830,1395,1845,2536,2396,1914,2316,2691,2403,2171,2535,2702,2545,2638,3220,2898,2501,2463,2662,2452,2472,2575,2808,2873,2543,2366,2613,2610,2800,3316,2996,2755,2664,2698,2024,1797,1920,2292,2775,2602,2519,2653,2148,1631,1362,1295,1392,1448,1477,1434,1355,1459,1436,1396,1496,1396,1325,1423,1388,1326,1413,1685,2771,3716,3815,3225,2832,3297,3595,2687,2148,2367,1499,1411,1577,1477,1437,1266,1262,1412,1760,1650,1524,1911,2293,1938,2470,2498,2228,2874,3077,2508,1878,1725,1743,1503,1621,2069,1940,1562,1502,1397,1581,1323,1227,1871,2459,2231,1759,1511,1609,1697,1897,1860,1445,1624,2346,2489,2257,1980,2431,2722,2166,1929,2037,1878,1945,2219,1635,1731,1750,1681,1703,1731,2060,2336,2134,2030,1978,1847,1632,1624,1810,1591,1578,1698,1767,1677,1746,2109,1880,1799,2171,1761,1700,2283,1811,1801,1617,1739,1622,1344,1870,2576,2745,2689,2259,1939,1760,1599,1657,2041,2278,1615,1387,1735,1835,1624,1481,1421,1455,1516,1727,1961,1649,1488,1928,2120,1835,1671,1700,1828,1650,1593,1694,1602,1656,1918,1832,1901,2568,2461,2042,1597,1655,1845,1816,1860,1906,1716,1878,2456,2922,2745,2515,2190,1806,1459,1523,1656,1556,1560,1737,1695,1930,2063,2498,2062,2021,2762,3110,2564,2032,1728,1995,2503,2358,2271,1806,1478,1422,1492,1353,1431,1721,1577,1901,2126,2029,1923,1517,1368,1411,1526,1881,2290,1765,1472,1438,1498,1702,2055,2185,1989,1692,1695,1782,1705,1727,1318,1109,1435,1881,1955,1837,1688,1540,1626,1891,1908,1420,1222,1291,1329,1395,1556,1567,1599,1759,1742,1422,1283,1401,1438,1401,1702,1848,1582,1678,1751,1821,2514,2746,2757,2933,3099,3205,3278,3256,2824,2939,3647,3404,3140,2518,1571,1274,1588,1632,1502,1609,1648,1383,1367,1669,1831,1854,2161,2592,2779,2078,1483,1426,1679,1959,2132,2312,1935,1890,1533,1538,1506,1631,1797,1549,1253,1308,1360,1675,2177,2018,1533,1667,2737,3078,2243,1644,1744,2177,2889,2881,2474,2078,2380,3250,2945,2218,2260,2275,2320,2631,2502,2520,2630,2332,2467,2778,3153,2613,2321,1916,1622,1478,1679,2109,1918,1802,1753,2183,2329,2437,2485,2487,2645,2312,2030,2917,2804,3320,2469,2425,2865,3350,2733,1909,1961,2037,1993,1842,1927,2070,2302,2083,2136,2399,2441,2231,2308,2737,2698,2123,1831,1833,1474,1516,2045,2119,1771,1630,1862,1852,2221,2523,2434,2036,1640,2400,3278,3351,2955,2652,2702,2154,1910,1921,1932,2024,1926,2334,2265,2148,3282,3856,3067,2503,2184,2252,2294,2255,1917,2523,3572,3786,3840,3929,3374,2715,2543,2348,2608,2359,2203,2157,2284,2323,2562,2691,2561,2388,2546,2568,2589,2817,3118,3367,3376,3347,3247,3183,2900,2946,3316,3536,3133,3031,2884,2824,2893,2668,2648,2681,2456,2481,2627,2945,3363,3107,2878,3046,3361,3320,3481,3638,3236,2993,3137,3333,3044,2700,2343,2163,2361,2742,2338,1832,1812,1876,1765,1624,1565,1968,2646,2614,2101,1892,1794,1880,2124,2176,1986,1804,1861,1846,1939,1958,2002,2437,2589,2129,1870,2030,1930,2395,2468,2280,2134,2178,2324,2305,1987,1836,1874,1905,1825,1739,1976,2018,2084,2076,1730,1716,1905,1860,1765,1653,1673,1708,1658,2208,2954,2547,1938,1614,1757,2199,2087,2016,2395,2602,2363,1729,1953,2353,1895,1664,1505,1869,2627,2590,2226,2050,1869,1792,1985,2735,3471,3684,3161,2855,2829,2646,2306,2340,2764,2533,2317,2682,3216,3700,3453,2292,1955,2316,1932,1705,1613,1903,2861,3327,3338,3133,3053,2370,2353,2734,2291,1951,2191,1995,1995,1976,2505,2612,2287,2403,2550,2908,2280,2878,3123,3306,3059,2277,1900,2082,3021,2994,2076,2302,2851,3142,2851,2799,2836,2778,3153,3121,2779,3088,2924,2231,2154,2025,2175,2944,3588,3603,3861,3773,3136,2596,2657,2136,2078,2822,3034,2831,2482,2242,2125,2773,3073,3295,3684,3959,3950,3675,3154,2609,2498,2979,3405,2712,2170,2559,2760,3042,2239,1711,2052,2549,2542,2585,3076,2908,2631,2889,3401,2169,1747,1880,2056,2243,2117,1754,1965,2327,2439,2330,2524,2210,2544,3370,2314,1679,1730,1681,2044,3054,3336,2787,2235,2119,2272,2055,2042,2081,2173,2214,2024,1794,2160,2625,2162,1714,2220,2094,1901,2634,3098,3466,3614,3250,2742,3309,3605,3566,3054,2824,2265,1896,2053,1816,1781,1993,2008,1770,1779,1807,1903,1762],[3035,2755,2972,3432,3508,3175,3140,2893,2767,2611,2462,2564,2662,2683,2888,2604,2244,2874,3452,3292,2796,2477,2579,3351,3443,3284,3251,3482,3284,3439,4253,4461,4397,3965,3029,3118,3082,3066,2952,2799,2497,2419,2382,3020,3862,4073,3896,3281,3204,3439,3648,3329,2276,2049,2597,2737,2565,2577,2939,3041,2930,2689,2348,2438,2397,2754,3137,3567,3462,3520,3782,3835,4024,4047,3410,3161,3153,2193,2510,2912,2440,2174,2418,2265,2038,1781,1912,2015,2407,2996,3230,3029,3484,4177,4324,4140,4072,4156,4073,3743,3831,3925,3906,3785,3564,3107,3021,3595,3941,3614,3550,3123,3138,3875,4052,2957,2575,3197,3021,2285,2404,2885,2928,2811,2991,2292,2300,2796,2820,2497,3198,3795,3759,3364,3155,2770,2350,2152,1526,1936,2062,2223,3203,3203,2690,2556,1932,1857,2545,3862,4107,3608,3016,3025,3030,2234,2126,2270,1896,1741,2224,2671,1714,1824,2393,2269,1758,2077,2622,2475,2314,2164,1766,1844,2084,2113,2609,2472,2230,2248,2373,2145,1857,1958,1826,1712,1875,1713,1544,1842,2534,2789,2864,3267,2764,1945,1812,2046,1792,1317,1646,1893,1626,1566,1559,1816,2525,1825,1756,2303,2183,2020,2142,2129,2056,1952,2110,2398,2358,2055,1972,1916,1705,2326,2351,1811,1909,2263,2642,2365,2001,2294,2109,1787,1555,1545,2234,2483,2178,2096,2269,2085,1839,1771,2084,2408,2087,2238,2094,1932,2357,2255,2634,2596,2228,2020,2194,2059,1693,1744,2114,2073,1782,2030,1814,2216,2300,1890,1856,1704,2230,2576,2271,2237,2589,2986,2924,2144,1562,1975,2142,1729,1656,1855,1722,1631,1684,1685,1590,1487,1546,2183,3046,2710,2514,2475,2497,2480,2006,1797,1930,1905,1794,2051,1969,1799,1997,1885,1772,1998,2442,2280,2318,2766,2480,1931,2025,2157,2149,2138,2330,2040,2086,2339,1354,2020,2570,2679,2475,1682,1660,1867,1760,1569,1507,1573,2096,2360,1897,2242,2366,1897,1771,1785,1863,1628,1667,2162,2522,2419,2315,2042,2185,1920,1627,1585,1543,1619,2146,2416,2143,2033,2159,2144,1735,1393,1701,2020,2530,3352,3769,3427,3551,3839,3196,2834,2654,2233,2332,2230,2288,2636,3146,3250,2752,2266,2844,3071,2753,2280,2016,2162,1968,2257,2232,2155,1921,2299,2437,2324,2342,1911,1977,2084,1613,1511,1663,1639,2003,1730,1299,1847,2425,2568,2461,2048,1909,1738,1797,1800,2076,2741,3295,3508,3608,3263,2997,3196,3493,2944,2501,2625,1995,2110,1960,2374,2156,2163,2010,1952,1904,2275,2741,2329,2192,2361,2062,1874,1940,2072,2135,2096,2229,2404,2368,2491,2940,2797,2294,3119,3318,3307,3206,2899,2843,2880,2987,2343,1757,2028,2326,2515,2570,2138,2138,2485,2158,2063,1872,1921,2116,2310,2131,2112,1970,1529,2026,2365,2736,2895,2692,1957,1597,1871,2186,2497,2765,2754,2368,2135,2248,2072,1864,1588,1843,2165,2008,2201,2587,2223,1694,1597,1624,1795,1628,1521,1616,1685,1626,1517,1382,1836,2160,3100,2620,1557,1708,2334,2078,1590,1704,1827,1792,1876,1960,1824,1893,1729,1541,1848,2040,1960,1771,1023,1390,1655,1816,2157,2038,2179,2186,2100,2225,2435,2115,1734,1682,1804,2134,2334,2322,1826,1744,2210,2208,2013,2221,2161,2326,2828,2901,2784,2824,2833,2448,1789,1652,1622,1965,2156,1841,1633,1573,1708,1495,1286,1608,2401,2410,1919,1850,1803,1851,1706,1466,1344,1471,1701,2234,3083,3361,3015,2332,2289,2266,2207,2358,2242,1919,1832,1653,1361,1893,2242,2111,2025,1654,1593,1551,1567,1435,1600,2184,2150,1990,1901,1571,1500,1512,1542,1653,1882,1703,1915,2083,1890,1684,1657,1656,1710,1807,1778,1660,1604,1674,1884,2036,1936,1838,1881,1964,1730,2003,2179,1590,1656,2552,3256,3313,3826,4263,4812,4997,4591,4340,4567,4813,4784,4708,4927,4765,3872,3511,3439,3924,3940,3872,3875,3890,4340,4100,3484,3272,3770,4299,4059,4168,3972,3502,3264,3278,3241,3179,2899,3120,3541,3327,2966,3010,3111,3313,3851,3815,4220,4331,4208,3957,3803,3864,3736,3253,2376,2047,2014,2004,1955,1828,1814,1814,1581,1487,1706,1670,1534,1521,1613,1672,1659,1590,1603,2235,1944,1631,1543,1810,2067,1836,1406,1700,2042,1887,1747,1494,1528,1461,1378,1408,2093,2490,2602,2301,1847,1519,1452,1613,1704,1454,1382,1387,1383,2231,2632,1832,1267,1356,1805,1890,1798,1999,2275,2730,1841,1555,1539,1751,1720,1731,2179,2077,1634,1589,1804,2181,2060,1917,1752,1738,2172,3069,2889,2644,2910,3339,3311,2706,2249,2205,2395,2876,2746,2558,2186,2318,2345,1946,1810,1750,1541,1571,1900,2109,1797,1670,1609,1661,1531,1458,1583,1598,1543,1437,1505,1549,1621,1344,1371,1721,1904,1427,1935,2214,2400,2218,2684,2415,2213,2372,2117,2198,1894,1454,1439,1702,1887,2424,2098,1585,1502,1680,1647,1788,1815,1636,1392,1417,1605,1471,1477,1628,1736,1690,1644,1540,1624,1928,1870,1628,1536,1444,1531,1571,1449,1687,1874,1716,1735,1908,1913,2032,1974,1798,1731,1716,2030,2193,1939,2171,2045,1600,2297,2209,1619,2111,2489,2202,2451,2619,2452,2608,2968,2910,2897,3143,3646,4034,4176,4156,3680,3636,3862,3945,4103,4059,3333,3283,3679,3560,3457,3660,3638,2930,2673,2714,2323,2092,2259,1870,1796,2553,2743,2609,2300,2600,2480,2131,2041,2083,2109,2244,2459,2779,2481,2319,2741,3183,2874,2589,2283,2394,2359,2239,2331,2342,2510,2233,2098,2271,2499,2510,2972,2670,2509,2742,3188,2818,1995,1974,2306,2958,3299,3178,3340,3263,2611,1848,1469,1503,1561,1499,1578,1502,1856,2137,1653,1443,1403,1396,1425,1284,1410,1960,1674,1868,2731,2612,2268,2365,3022,2835,2052,1731,1750,1604,1545,1426,1975,1944,1554,1848,2280,2138,1664,1674,1830,2063,1802,2063,1953,2344,3298,2962,1979,1695,1605,1631,1475,1902,2411,1807,1605,1700,1701,1990,1770,1427,1837,2336,2243,1668,1390,1531,2060,2382,2006,1727,1771,2314,2503,2152,1876,2223,2820,2333,1919,1854,1808,1848,2165,1846,2263,2233,1946,1864,1783,1815,1855,2042,2217,1984,1799,1570,1908,1845,1567,1672,1809,1831,1728,1626,1832,1820,1930,2661,2165,2021,2316,1766,1630,1497,1715,1712,1359,1527,1813,2031,2286,1936,1964,1876,1542,1569,1842,1633,1424,1656,1700,1554,1660,1491,1403,1526,1174,1075,1693,1592,1310,1261,1498,1723,1758,1700,1528,1527,1609,2082,1698,1860,2109,2147,2249,2322,2184,1940,1647,1700,1902,1796,1625,1541,1456,1865,2024,2681,2143,2122,2634,2082,1672,1593,1443,1303,1594,1560,1520,1530,1648,1730,1730,2038,2981,3570,3035,2452,1916,2144,2724,2565,2077,1612,1459,1488,1453,1596,1765,1986,2052,2134,2096,1906,1964,1597,1493,1519,1787,2010,1809,1529,1396,1295,1356,1967,2649,2743,3018,3166,2924,2510,1705,1568,1290,1122,1181,1633,1943,1925,1941,1762,1526,1610,1598,1324,1268,1296,1348,1456,1403,1361,1377,1466,1532,1430,1355,1290,1408,1323,1421,1525,1573,1701,1597,1556,2277,2954,3109,3375,3189,2402,2398,2688,2496,2989,3495,3552,3408,2747,1888,1700,1724,1794,1813,2116,1679,1363,1224,1715,1788,1658,1841,2177,2302,1920,1469,1584,1664,1611,1838,2085,2005,2659,2027,1605,1597,1920,2140,2136,1714,1423,1600,1837,2027,2110,1800,1568,1845,2096,1959,1809,1864,2277,2700,3220,3387,2382,2160,2685,2533,2401,2495,2450,2622,2267,1850,2103,2048,2335,3016,2720,2728,2545,3528,2563,1644,1467,1559,1798,1769,1669,1700,1837,2409,3376,2359,2093,2589,2364,2457,3103,3499,3536,2655,2160,2884,4050,3771,2793,2573,2572,2375,2274,2149,2060,2160,2031,2187,2410,2292,1910,2122,2706,3165,2776,2364,2122,1909,1520,1830,1998,1980,2064,1848,1794,2459,2913,2333,1824,2015,3013,3356,3372,3378,2856,2225,1732,1951,2308,2365,1878,2344,2836,2584,3286,4451,3375,2608,2414,2184,2120,2131,2117,2086,2822,3462,3536,3565,3777,3417,2945,2618,2156,2262,2283,2119,2174,2169,2174,2261,2497,2588,2213,2437,2497,2576,2633,2840,3081,3318,3363,3192,2973,3001,3120,3005,3406,3686,3469,3075,2879,2917,2667,2821,3109,2946,2632,2514,2647,2943,2890,3067,2940,3272,3392,3542,3795,3586,3028,2929,3200,3076,2231,2282,2486,2015,2148,2144,1965,1980,1914,1726,1669,1809,1984,2079,1958,1635,1644,1816,2053,2297,2304,1911,1780,1739,1789,2036,2018,2041,2368,2088,1843,2020,2918,2751,2298,2535,2832,2522,2277,2824,2962,2207,1805,1569,1692,1922,1927,1882,1938,2426,2640,2111,1708,1499,1511,1565,1405,1472,1905,1882,2421,3039,3357,3035,2449,2452,2650,1983,1505,1824,2305,2200,2075,2218,2080,1695,1959,1959,2148,2505,2260,2546,2310,2126,2345,2455,3395,3981,3815,3670,3360,2733,2458,2164,2396,2962,2922,3183,2722,2579,3247,3156,2365,2752,3396,2763,1720,1489,2236,3155,3364,3301,2912,2828,2686,2814,3696,3510,2536,2290,2364,1907,1700,1944,2175,2644,2730,2706,2784,2533,2630,2557,2241,1705,1692,1693,1801,2126,1990,1890,2275,2522,2915,2446,2332,2604,2846,3707,3648,3042,3212,2915,2582,2858,2558,2566,2993,3469,3529,3893,3763,3155,2794,2477,1481,1645,2473,2229,2676,2864,2873,2531,2934,3135,3128,3233,3572,3625,3547,3426,2894,2512,2692,3459,3087,2486,2779,2688,2381,2058,1888,2006,2470,2366,2336,2922,2884,3198,2676,3408,3173,2120,2310,2103,1968,2392,2387,2071,2174,2568,2676,2511,1943,2026,2788,1936,1338,1971,2176,2127,2556,2801,2975,2211,1566,1644,1927,2353,2109,2077,2184,2019,1985,2070,1866,1863,2166,2261,2106,2024,2711,3105,3626,4005,3226,2710,2595,2907,2796,1949,1892,2198,2299,2469,2630,2301,2586,2221,1808,1738,1624,1790,1774],[3460,3671,3763,3105,3154,2702,3047,3299,2702,2543,2849,2908,2705,2534,2830,3082,3187,3450,3429,3466,3477,3206,3263,3508,3692,3565,3216,3616,4209,4365,4531,4427,4006,3906,3008,2887,3090,2978,2987,3155,2916,2716,2889,3507,3521,3648,3535,3378,3265,3338,3227,2845,1925,2091,2675,2807,2823,2831,2922,2699,2670,2596,2651,2877,2570,2683,3049,3354,3348,3549,3828,3896,3991,4073,3574,3182,3023,2441,2469,2443,2453,2451,1968,1789,2003,1991,1882,1966,2154,2541,3055,2710,3122,3538,3651,3985,4341,4081,3830,3737,3548,3524,4027,3810,3265,2798,3039,3541,3892,3718,3545,3263,3172,3417,3494,3245,3112,3568,3274,2744,2487,2791,2927,3138,3040,2494,2496,2732,2609,2777,3631,3566,3387,3221,3262,2528,2055,1708,1776,2049,2103,3078,3951,3341,3130,3011,1826,1828,1866,2766,4100,4224,3598,2986,2300,1361,1825,2523,2332,2391,2431,2309,1840,1484,2004,2172,2280,2587,2344,2069,2194,2021,1636,1681,1842,1843,2528,2228,2139,2259,2246,2280,2274,2316,2017,1973,2220,2100,1961,1857,2249,2049,2605,3027,3204,2468,2039,2171,1910,1825,1891,1782,1682,1726,1650,2135,2616,1826,1816,2292,1951,1905,1916,1785,1897,1809,1839,1985,2004,1778,1870,2071,1986,2154,2198,2062,1886,2008,2613,2426,1846,1681,1713,1764,1466,1244,1465,1560,1930,2052,1972,1836,1802,1699,1951,2530,2624,3064,2548,2000,2035,2095,2404,2200,1743,1750,1729,1598,1711,1902,2029,2168,1642,1866,2070,2244,2053,1735,1409,1256,2036,2968,2869,2618,2832,2925,2494,1997,1782,2123,2078,1704,1642,1777,1766,1673,1553,1579,1616,1458,1667,2656,2939,2465,2599,2719,2546,2414,2175,1745,1455,1265,1575,2250,1929,1847,2006,2053,2063,1920,2246,2541,2583,2789,2209,1844,2364,2222,2009,2081,2051,1709,1730,1736,1548,2292,2394,1908,1710,1522,1742,1709,1588,1495,1506,1660,1922,2118,2100,2161,2002,1713,1678,1788,1829,1550,1722,2139,1948,2103,2026,2228,2979,3007,2508,2050,1892,2025,2321,2186,2298,3039,3276,2701,1949,1451,1455,1776,2495,3485,3776,3476,3625,2911,2823,2907,2678,2165,2148,2768,2912,2701,2946,3023,2186,1814,2613,2811,3233,2961,2932,2655,1936,1910,1986,1961,2128,2527,2721,3032,2264,1669,1726,1646,1669,1630,1740,1731,2053,1800,1500,2100,2610,2108,1941,1947,1592,1597,1912,1928,2333,3046,3345,3323,3322,3450,3376,3201,3275,2642,2555,2642,2198,1869,1588,1666,1810,1691,2060,2985,2897,2512,2851,2207,2013,2228,1974,1694,1986,2246,2006,1883,2085,2223,2194,2404,3153,3397,2930,2822,2827,2906,2966,2818,2852,2856,2518,2032,2042,2147,1937,2193,2048,1874,2093,2197,1637,1590,1845,2065,2192,2155,2021,1993,1965,1685,1831,2071,2557,2553,2454,1908,1552,1927,2333,2419,2562,2409,2033,2387,2471,1925,1765,1717,2131,2042,1648,1859,2258,1821,1505,1714,1781,1668,1450,1457,1672,1692,1816,1641,1375,1593,1815,2475,2542,2053,2122,2361,1759,1399,1376,1808,1811,1859,1669,1680,1738,1489,1632,2190,2179,2068,1866,901,1209,1605,1727,2254,2053,1918,1870,1787,1866,1975,1955,1753,1824,1776,1780,1968,2054,1805,1742,2265,2078,1683,1772,1880,2124,2375,2409,2404,2452,2256,1955,1817,1760,1635,1795,1921,2114,1863,1583,1578,1412,1417,1700,2465,2842,2214,1864,1847,1879,1765,1437,1364,1495,1656,1851,2385,2952,3155,2752,2443,2052,1924,1626,1840,1992,1719,1795,1886,2364,2056,1938,1714,1416,1546,1495,1522,1316,1400,1741,1693,1734,1745,1692,1621,1556,1450,1637,1720,2150,2058,1955,1847,1625,1658,1677,2127,2598,2999,3107,2503,2102,2314,2627,2479,2037,1751,1645,1476,1694,1965,1962,2163,2087,2503,3229,3766,4403,5005,5150,4631,4456,4904,4860,4599,4311,4714,4495,3188,3853,4243,4561,4530,4293,4140,4082,3872,3146,2943,3536,4080,4264,3737,3123,2918,2907,3249,3371,3124,2856,2753,3496,4361,4196,3399,3088,3321,3742,4048,3913,4219,4299,4073,4189,4161,3646,3340,2707,2086,1962,1975,2027,1865,1720,1568,1695,1731,1693,1672,1600,1628,1514,1525,1529,1681,1556,1644,1782,1769,1796,1569,1650,2205,2249,1625,1763,2552,2159,1532,1405,1452,1438,1387,1605,1654,2061,2358,2063,1973,1703,1808,1753,1464,1396,1414,1364,1677,2231,1992,1412,1350,1608,1719,1780,2134,2572,1999,1751,1536,1709,1674,1965,1672,1761,3069,3211,2125,1522,1445,1571,1728,1881,1662,1780,2080,2649,2376,1928,2290,2659,2564,2403,2173,2686,3285,2933,2599,2542,2035,2196,2376,1914,1509,1572,1991,2273,1986,1686,1545,1710,2036,1812,1532,1466,1676,1672,1349,1323,1361,1596,1882,1630,1743,1995,1466,1322,1871,2195,2047,1985,1852,1685,2275,1965,1758,2136,2143,1971,1630,2018,2473,2138,1700,1454,1345,1542,1525,1454,1838,1845,1586,1460,1505,1521,1696,1736,1731,1631,2129,2287,1699,1955,2041,1913,1716,1595,1684,1999,2041,2154,1736,1523,1990,2201,1834,1900,1903,1840,1809,1851,2343,2390,2057,1978,2047,1867,2402,2208,1737,2220,2404,1985,2294,2438,2121,2111,2616,3330,3704,3776,4153,4320,4244,3982,3574,3694,3828,3981,4059,3909,3448,3494,3782,3412,3704,3904,3651,3133,2554,2416,2003,2034,2430,2537,2397,2348,2686,2881,2502,2551,2623,2365,2299,2242,2200,2481,2829,2664,2497,2678,3074,2879,2381,2258,2347,2349,2248,2145,2173,2160,2319,2538,2180,2139,2447,2511,2355,2161,2295,2258,2858,3322,2408,1992,2390,3101,3522,3395,3145,3342,3450,2965,2179,1736,1571,1803,2179,1654,1655,1568,1394,1490,1532,1455,1505,1375,1622,1973,1813,2123,2024,1544,1609,1708,2454,2480,2011,1568,1683,2244,2399,1888,1779,1821,2029,2301,2873,2337,1651,1943,1768,1692,1882,1720,2121,2828,2731,2332,2398,2476,2313,1915,1566,2020,2440,1782,1604,1969,2100,2010,1839,1503,1527,1779,2078,1697,1540,1725,2449,2097,1950,2142,1879,1955,2019,2266,2430,2121,2543,2345,2018,1775,1879,1952,1933,1975,2177,2092,1820,1598,1727,1627,1615,2023,2220,2045,1889,1854,2206,2083,1871,2081,2160,1895,1927,1932,1955,1925,2144,3234,2700,2063,1723,1656,1762,1760,1805,1758,1448,1492,1833,2846,2955,2496,2876,2921,2269,2087,1797,1679,1919,1937,1774,1829,1787,1514,1492,1334,1187,1340,1809,2542,2158,1798,2213,2037,1820,1932,1800,1875,2066,2591,2292,1804,2369,2446,2068,1991,1803,1633,1635,1686,1887,1782,1549,1448,1422,1321,1532,2644,2540,2402,2278,1734,1748,1639,1203,1107,1634,1537,1464,1436,1611,1616,1771,1793,2522,3631,3086,2581,2237,2297,2307,2505,2450,1919,1788,1728,1571,2270,2289,1668,1880,2011,1961,2017,1885,1666,1464,1323,1715,1986,1653,1259,1217,1328,1443,2088,2790,2526,2556,2415,2354,1847,1235,1216,1123,1048,1124,1466,1773,1848,1820,1734,1505,1512,1593,1432,1266,1212,1217,1201,1247,1430,1567,1375,1528,1464,1300,1363,1445,1485,1570,1654,1844,1953,1699,1483,1861,3008,3707,3430,2644,2331,2270,2609,3200,3363,3175,3332,3210,2995,3228,2822,2186,2017,1640,1535,1522,1599,1769,2224,1945,1608,1807,2092,2080,1886,1534,1584,1556,1571,1769,1949,2068,2562,2314,1898,1971,2078,2224,2527,1875,1610,2174,1694,1613,1882,1899,1765,1644,1602,1897,2111,2087,2149,2088,2265,2786,2679,2722,2579,2177,2425,2664,2664,2511,2250,1959,1677,1196,1627,2219,2229,2069,2686,2708,2036,1565,1458,1584,1584,1530,1620,1685,1827,3373,3619,2070,2044,1991,1654,2109,2541,3272,3227,2293,2042,2534,3737,3951,3782,3683,3071,3096,3052,2706,2171,1903,1831,1872,2120,2262,1852,2053,2031,2907,2952,2436,2237,1973,1769,1857,1920,2001,1739,1794,2233,2480,2502,2580,2251,2965,2994,2625,3097,3653,2993,1882,1455,1925,2624,2485,2257,2489,2785,2467,3508,3828,2856,2367,2130,2025,2044,2237,2008,2306,3252,3270,3331,3271,3065,3348,3416,3262,2888,2846,2780,2360,2288,2524,2653,2269,2417,2504,2158,2532,2533,2496,2708,2739,2692,2777,2821,2839,2798,2770,2841,2752,2963,3108,3288,3261,2894,2747,2614,2613,2908,2989,2640,2489,2585,2564,2663,2908,2839,3342,3618,3516,3691,3731,3287,2808,2319,2359,1482,2270,2525,2032,1808,2170,2239,1784,1581,1605,1621,1957,2299,2255,2047,1958,1876,1767,1883,2336,2258,1893,1824,1919,2530,2744,2239,1878,2150,2182,2590,2916,2801,2409,2395,2737,2640,2551,2497,2702,3163,2465,1662,1540,1837,1971,1925,1583,1605,2374,2421,1839,1614,1518,1655,1851,1644,1652,2227,2239,2437,3073,3517,3252,2896,2462,2275,1794,1380,1925,2486,1971,1979,2144,2269,2030,2534,2577,1916,1758,1865,2294,2470,2174,2132,2732,3609,3457,3216,3550,3378,3118,3157,2898,2690,2694,2889,3209,2945,2729,2966,3034,2969,2730,3098,2940,1950,1747,1904,2996,3120,2365,2762,2678,2790,2957,3641,3938,3078,2285,2121,1803,1563,1409,1831,2366,2864,3411,3438,3081,2627,2088,1390,1741,2296,1814,2094,2120,1907,1659,2300,2809,2749,2284,2600,2767,3162,3907,3609,3438,3720,3676,3402,2969,2919,2962,2906,3109,3437,3605,3641,2978,2195,2173,1494,1904,1976,1951,2501,2810,3208,3118,3277,3472,3271,3097,3306,3448,3453,3494,3047,2175,2676,3404,2742,2451,2951,2976,1966,1257,1629,2254,2725,2821,2519,2907,2661,3075,2474,2248,2203,2131,2447,2309,2510,2555,2202,2169,2698,2797,2989,2560,2200,1719,1909,2237,2112,2204,2238,2198,2337,2591,3128,2476,1872,1576,1824,2315,1934,1907,1957,2263,2764,2115,1556,2252,3106,2858,2426,2176,2872,3085,3309,3364,2923,2391,2095,2045,1909,1908,2317,2359,2500,2827,3398,3451,3996,2786,2158,1965,1609,1702,2014],[3729,3908,3338,2966,3163,2945,2762,3042,3185,3217,3376,3308,3010,2954,3059,3409,3527,3571,3549,3714,3790,3539,3401,3447,3566,3672,3516,3681,4328,4452,4423,4448,4287,4020,3385,3118,3187,3087,3112,3257,3330,3407,3719,3771,2861,3028,3433,3245,2713,2609,2958,2844,2350,2263,2475,2956,3178,3053,2850,2433,2397,2675,3047,3186,2919,2624,2745,2899,2964,3372,3732,3752,3812,3421,3352,3200,2963,2262,2509,2709,2755,2675,2238,1874,1876,1826,1764,1946,1876,2201,2811,2512,2338,2771,3066,3261,3642,3919,3670,3297,3583,3781,4204,3767,2775,2922,3430,3666,3885,3984,3738,3347,3714,3497,2922,2290,2199,2777,2858,3135,2896,2867,3279,3459,3141,2711,2586,2347,2518,3618,4079,3826,3200,2734,2744,2613,2176,2062,2192,2248,2289,2780,2483,1867,2534,2568,1956,1745,1686,2033,3460,4197,2786,1959,1848,1538,2676,3610,2870,2942,2778,2279,2093,1886,2097,2044,2109,2008,1866,2493,2625,1771,1770,1499,1796,1798,1579,1675,1998,2178,2493,2491,2458,2945,2680,2534,2262,2205,2934,3339,2282,1791,2413,2729,3318,2717,1895,1961,1635,2011,2207,2458,2188,2045,1988,2164,2205,1890,1798,1736,1597,1929,1876,1605,1888,1953,2395,2168,1976,1542,1759,2122,2185,1992,1904,1758,1745,2288,2342,2006,1942,1806,1958,1994,1556,1549,1709,1666,1792,1771,1799,1890,1962,1863,1942,2120,2152,2498,2566,2241,1875,2026,2182,2046,1904,1985,1816,1973,2253,1836,1864,1909,1898,1825,1933,1922,1780,1793,1674,1688,2082,2498,2664,2366,2420,2088,1586,1598,1684,1911,1904,1571,1548,1779,1876,1661,1442,1613,1721,1541,1931,2567,2400,2074,2098,2014,1996,2066,2036,1574,1446,1275,1528,2249,1922,1618,1988,2092,1934,1880,2364,2857,2855,3242,2460,2487,3226,2496,1791,1823,1758,1550,1772,1772,1562,1562,1836,1503,1510,1903,1786,1658,1520,1291,1360,1569,1604,1964,2067,1842,2068,1901,2024,1966,1716,1662,1814,1949,1798,1903,1948,2363,3084,3320,3093,2575,2398,2143,2108,2285,2215,3019,3160,2464,2003,1693,1710,2164,2373,2944,3717,3707,3092,2742,2868,3175,2644,2141,2003,2542,3188,2743,2802,2646,2261,1973,2115,2140,2420,2938,3198,2263,1730,1815,1820,1859,1900,2008,2604,3068,2119,1916,2133,2075,2115,2011,1735,1925,2254,2134,2047,1903,2128,2089,2635,2814,2189,2231,2676,2445,2472,2687,2149,2048,2626,3235,2956,2911,2898,2291,2707,2670,2352,1945,1817,2210,2060,1608,2168,3247,3363,2569,2406,2227,2302,2021,1705,1416,1918,2244,1931,1951,2242,2305,2168,2324,2800,3002,3231,3095,2828,2990,3172,3005,3196,3220,2790,2343,2264,2168,1873,2488,2100,1629,1651,1599,1584,1926,2010,1931,2328,2218,1840,1817,1874,1596,1714,2265,2951,2858,2356,1868,1758,1956,1802,1744,2182,2194,1840,1913,2160,1935,1956,2159,2072,1665,1513,1520,1692,1778,1931,1859,1648,1534,1500,1796,2238,2059,1964,1774,1501,1627,1816,2431,2610,2547,2636,2153,2104,1979,2049,2072,1644,1691,1864,1788,1797,1574,1649,2024,1883,1970,2100,1335,1316,1795,2274,2355,1789,1634,1686,1739,1740,1686,1737,1709,1782,1826,1793,1781,1821,1828,1742,1804,1814,1620,1570,1421,1620,1911,1798,1660,1497,1256,1353,1754,1806,1808,2073,2401,2770,2307,2169,1693,1582,1493,1512,1783,1890,1659,1742,1760,1780,1880,1660,1527,1495,1675,1946,2464,2454,2874,2689,1949,1588,1680,1674,1899,1932,1435,1528,1777,1960,1758,1644,1487,1534,1590,1469,1450,1385,1447,1638,1522,1686,1546,1716,1772,1738,1631,1527,2050,2380,1758,1758,1841,1659,1708,1779,2313,3465,4022,4082,3628,3297,2902,2360,1974,1722,1562,1572,1660,1937,2172,2563,2386,1938,2137,3176,4500,4929,4964,5068,4771,4796,5360,5085,4626,4700,5019,4671,3551,3950,4628,4584,4270,3961,3874,3670,3312,2598,3157,3226,3464,4107,3255,2354,2475,2917,3163,3122,2801,2571,3200,4472,4848,4644,3990,3506,3803,3923,4144,4452,4572,4376,4071,4375,4107,3436,2817,2158,2006,1927,2011,1986,1744,1632,1607,1616,1544,1670,1730,1594,1642,1809,1974,2114,2090,2032,1794,1498,1622,1692,1769,1943,1973,2061,1896,1974,2011,1769,1532,1557,1516,1504,1512,1445,1530,1848,1692,1648,1729,1521,1516,1470,1450,1529,1443,1478,1638,1932,2221,1839,1793,1970,1930,2054,1798,2077,1996,1860,1956,1940,1772,1782,1626,1826,2763,2770,1959,1484,1487,1622,1757,1983,1613,1641,1853,2104,2103,1500,1537,1733,1703,2155,2700,3352,3791,3671,3305,2791,2587,2843,2670,2097,1555,1644,2501,2614,1847,1472,1460,1679,2037,1772,1603,1779,1909,1684,1478,1448,1343,1744,1622,1752,2402,2272,1715,1524,1947,2415,2142,1733,1556,2380,2884,2040,2296,2363,2071,2078,1883,2199,2364,1960,1485,1442,1370,1350,1366,1687,1971,1571,1648,1678,1426,1496,1923,2114,1897,1461,1732,1871,1632,1759,2091,2543,1910,1442,1981,2448,2408,1976,1597,1566,1797,1813,2098,2119,1687,1589,1613,1747,2002,2127,2101,2046,2123,2270,2060,1733,1801,2194,2194,2089,2210,2094,1841,1777,2305,3349,3899,3941,4147,4350,4440,4026,3443,3903,4047,3861,3804,3608,3350,3142,3253,3409,3784,3993,3631,2954,2644,2337,1605,1963,2174,1884,1827,2002,2221,2071,1916,2477,2820,2264,2155,1950,1974,2475,2697,2712,2717,2836,3108,2844,2043,2002,2332,2176,2194,2137,2192,2136,2188,2082,2046,2168,2303,2168,2048,2258,1912,1534,1940,2583,2532,2229,2628,3141,2863,2964,2711,2938,3509,3312,2654,2142,2155,1948,2244,1766,1500,1478,1427,1471,1427,1514,1527,1306,1425,1474,1460,1772,1842,1590,1427,1334,2048,2464,2155,1849,1681,2070,2423,2314,1661,1402,1758,1875,1966,1674,1572,1809,1659,1816,1675,1535,2027,2321,2495,2752,2739,2689,2488,1581,1085,1440,2023,1864,1409,2025,2315,1755,1891,1566,1455,1532,2145,1986,2151,2272,2622,2311,2165,2153,2181,2613,2529,2343,2647,2450,2452,2351,2120,1977,1930,1858,1616,1478,1700,1543,1418,1607,2128,1762,2344,2319,2199,1844,1621,1807,2216,2384,2264,2562,2428,1908,2227,2612,2331,2044,2208,2998,2668,2054,1716,1562,1593,1568,1640,1938,1619,1619,2088,2723,2403,2244,2695,3155,3147,2643,2023,1569,1782,1811,1762,2141,1982,1783,1413,1051,1207,1674,2473,3138,2699,2137,2179,2043,1998,2291,2060,1986,2534,2426,1968,2156,2752,2460,2079,1836,1528,1556,1646,1698,1853,1932,1856,1744,1522,1625,1925,2500,2834,2317,1778,1612,1699,1538,1650,1428,1645,1678,1476,1419,1396,1396,1844,2027,2098,3178,2363,2083,1947,1855,1889,1942,1879,2067,2470,1974,1727,2430,2006,1537,1832,1985,1924,2090,1874,1628,1506,1478,1590,1559,1505,1608,1932,2134,2099,2311,2731,2326,2159,1800,1461,1035,1099,1301,1498,1758,1580,1631,1834,1955,1847,1505,1419,1734,2002,1753,1371,1327,1324,1260,1289,1474,1738,1549,1702,1514,1341,1378,1385,1422,1406,1381,1590,1644,1470,1444,1721,2802,3365,2752,2353,2276,2292,2679,3090,2687,2365,2646,2491,2307,3032,3110,3055,2774,1937,1544,1772,1683,1559,1571,1576,1564,1668,1945,1841,1727,1448,1461,1519,1561,1537,1658,2004,2306,2069,1919,2276,2358,1969,2331,2026,1505,1563,1337,1430,1524,1676,1677,1541,1588,1955,2305,2315,2101,2192,2153,2366,2875,3294,2958,2328,2182,2378,2285,2365,2674,2321,1758,1384,1735,1794,1791,1685,2280,2765,2309,1734,1614,1736,1527,1728,1915,1837,2418,3972,3862,3073,2375,1979,2140,2779,3286,3537,2840,2417,2025,1521,2238,2871,3614,3893,3593,3252,2846,2408,1780,1562,1704,2014,2321,2358,2199,2808,2402,2288,2224,2226,2500,2432,2166,1878,1892,1915,2193,2309,2083,1999,2144,2565,2592,3384,3328,2676,2844,2994,2269,1685,1238,2618,3384,2852,3025,2973,2929,2273,2456,2800,2821,2345,2126,2328,2503,2780,2626,2797,3142,3139,3093,3128,3124,3032,3023,3157,2975,3249,3444,3299,3108,3415,2867,2441,2477,2410,2303,2623,2625,2420,2732,2922,2436,1971,2160,2767,2843,2585,2564,2485,2421,2450,2783,3005,2800,2638,2405,2402,2491,2574,2610,2521,2654,2686,2800,2809,2664,2878,3308,3724,3890,3807,3454,2922,2341,2215,1657,1641,2249,2275,1955,2313,2270,1969,1819,1616,1605,1995,2688,2549,2284,2203,2220,2018,1906,2302,2274,1986,1742,2009,2558,2438,2314,2189,2396,2846,3160,2997,2673,2546,2847,2867,2045,2131,2144,2440,2972,2331,1864,1948,2082,2040,1864,2048,2382,2150,2022,1761,1626,1625,1713,1749,1401,1504,1927,1988,1880,2302,2877,2641,2352,2045,1934,1731,1788,2293,2599,2222,1673,1815,2299,2308,2486,2688,2185,1745,2149,2514,2410,2479,2986,2999,3112,2972,2814,2883,3062,3367,3382,3106,3025,2909,2854,2786,2876,3349,3345,3181,3230,2843,2928,2720,2341,2078,1930,2676,2598,1593,1925,2172,2833,3474,3381,3315,3028,2307,2295,1803,1493,1543,2108,2666,2855,3217,3033,2810,2781,1923,1594,2536,2792,2244,2172,1895,1955,2266,2976,3012,2926,2894,2519,2409,3030,3801,3719,3779,3809,4200,4356,3657,3276,3097,2920,2982,3118,3155,3421,2479,1678,1938,1678,1922,1607,1576,2414,2990,3428,3529,3163,3182,3181,3229,3187,3143,3062,2867,1889,1457,2676,3248,2847,2788,2777,2673,1989,1529,1847,2190,2980,3543,3408,3255,2412,2612,2722,2332,1971,2209,2570,2645,2806,2435,2310,2630,3098,2769,2786,2669,2623,2230,1774,1983,2227,1901,1909,2436,2879,2760,2676,2631,2138,1780,2294,2249,1635,1868,2128,2532,2770,1939,1874,3200,3007,2929,2662,2143,2788,3307,3006,3189,3256,2708,2110,1472,1604,1928,2642,2467,2558,2499,2560,3171,3662,2707,1804,1789,1834,1831,1606],[3798,3914,3384,3293,3409,3142,2669,2994,3540,3263,3098,3124,3143,3123,3118,3322,3376,3369,3520,3769,3807,3539,3361,3276,3372,3753,3987,4096,4196,4272,4432,4292,4024,3653,3398,3272,3327,3073,3066,3338,3152,3052,3250,3472,3122,3164,3345,3085,2359,2310,2735,2798,2455,2494,2932,3113,3142,2648,2484,2391,2524,2730,3095,3320,3000,2661,2803,2754,2746,2811,3367,3523,3297,2546,2773,2888,2841,2756,2766,2955,2777,2357,2692,2282,1912,1880,1903,1985,1759,2023,2812,2890,2432,2489,2460,2611,3339,3959,3707,3006,3343,3835,4117,3419,2797,3143,3285,3417,3831,3882,3722,3447,3740,3907,3449,2539,2359,2481,2980,3463,3186,3195,3516,3152,2422,2301,2160,2277,2805,3657,4040,3407,2601,2300,2591,2818,2919,2741,2202,2665,2397,2294,2037,2127,2569,2299,2034,1778,1870,1961,2282,2319,1734,1973,2484,2942,3072,3260,2655,2493,2271,1802,1605,1856,2197,2482,2318,1708,1667,2082,2652,2280,2559,1862,1627,1627,1509,1817,1934,1909,2213,2054,1984,2569,2492,3280,2418,2314,3122,3265,2273,1833,2008,2273,2902,2679,1805,2055,2241,2900,2563,2524,2126,1860,1714,1681,1814,1960,2066,1829,1617,1917,1933,1696,1761,1717,1833,1659,1484,1571,1676,2220,2449,2076,2033,1785,2193,2503,1856,1634,1795,1688,1647,1670,1510,1657,1763,1984,1754,1725,1922,1911,1632,1653,1772,1725,1901,2214,2264,2083,2142,2191,1955,2082,2318,2318,2009,2056,2212,2139,2286,2082,2110,1979,1907,1816,1674,1949,1914,1712,2006,2270,2390,2229,1807,1600,1754,1813,1783,1997,1993,1700,1778,1788,1803,1678,1571,1719,1703,1683,1786,2042,1957,1843,1923,1693,1788,1775,2200,1608,1664,1395,1707,2201,1809,1509,2109,2236,1643,1738,2040,1900,2212,2833,2787,2625,2810,2462,1810,1795,1799,1948,2280,1684,1728,1835,2020,1725,1553,1646,1594,1650,1445,1178,1562,1674,1578,1764,1736,1779,2200,1920,1937,1779,1640,1556,1710,1707,1658,1771,2030,2731,3104,3266,3069,2764,2549,2232,2095,2602,2670,2573,2453,2490,2257,1723,2042,2688,2494,2430,2844,2996,2730,2965,2444,2258,2440,2104,1938,2315,2856,2135,2057,1904,1729,1723,1728,1870,2012,2359,2293,1737,1481,1367,1482,1786,1830,1757,2204,2268,1945,2232,2512,2734,2917,2563,2067,2207,2509,2354,1770,1675,2238,2719,2990,2243,1644,2201,2630,2042,1903,2278,1645,1781,2182,2270,2691,3155,2736,2671,2852,2379,2302,2120,1967,2439,2066,1615,2600,3536,2764,2260,1828,1696,1803,1709,1669,1948,1927,1693,1695,2065,2489,2377,2061,1850,1973,2088,2618,2801,2562,2812,2972,2957,3572,3627,2918,2761,2335,2519,2239,2014,2092,1848,1454,1375,1710,2741,2856,2237,2294,2265,1526,2073,2472,1973,1952,2503,2629,2170,1813,1681,1947,2210,1935,1824,1945,2788,2397,1800,1770,1713,1757,2148,1807,1676,1762,2183,1984,1771,1920,2023,1721,1809,1809,1671,2164,2172,1795,1736,1685,1559,1808,2519,2836,2891,2882,2812,2924,2552,2083,1907,1499,1393,1729,1744,1764,2196,2032,1906,1976,2139,2092,1581,1960,2567,2599,2110,1735,1692,1595,1654,1695,1671,1804,1719,1682,1810,1811,1777,1794,1802,1820,1809,1854,1712,1658,1544,1709,2045,1760,1951,1989,1276,1254,1802,1733,1665,1948,2528,3041,2691,2261,1984,2322,2011,1769,1623,1438,1504,1576,1514,1651,1954,1939,1693,1679,1700,1573,1559,1742,2469,2647,2036,1787,1926,2093,2080,1731,1543,1449,1709,1767,1713,1569,1392,1404,1407,1475,1516,1499,1720,2049,1619,1610,1775,2194,2243,1883,1537,1544,2029,1835,1534,1976,1972,1727,1557,1510,1886,2791,3273,3521,3689,3575,2930,1975,1668,1564,1590,1623,1783,2057,2396,2605,2680,2720,2713,3638,4657,4840,4869,4784,4996,5265,5200,4908,4783,4883,5179,5088,3917,3637,4244,4216,3807,3140,3103,2821,2643,2447,2458,2401,3159,3957,3371,2783,3177,3249,3123,3139,3087,2937,3461,4331,4415,4264,3873,3606,3616,3910,4540,4604,4422,4427,4234,4252,3887,3332,2343,2027,1953,2014,1943,1803,1760,1584,1621,1836,1518,1791,1982,1858,1679,1939,2389,2939,2928,2558,2150,1841,1789,2065,2192,2008,2098,1825,1799,1744,1879,1983,1705,1734,1708,1509,1545,1601,1403,1372,1333,1461,1401,1482,1700,1474,1375,1360,1340,1682,1725,1807,2143,2092,1888,1838,1685,1455,1524,1526,1628,1983,1953,1980,1944,1645,1533,1732,2145,1860,1587,1650,1951,1848,2019,2193,1937,1852,2084,2091,1736,1443,1380,1356,1499,2264,2872,3588,3783,3836,3720,3087,2767,2757,2557,2131,1783,1833,2329,2556,1907,1550,1745,2248,1998,1475,1422,1664,1878,1459,1485,1429,1911,1883,1588,2220,2720,2211,2193,2261,2395,2737,2263,1692,1908,2819,2868,2399,2619,2088,1861,1803,2108,2169,1867,1691,1496,1662,1564,1456,1340,1505,1522,1393,1631,1830,1605,2036,2902,2876,2421,1632,1348,1386,1521,1589,1631,1987,1607,1485,2317,3016,2767,2159,1758,1544,1845,1731,2420,2578,1844,1623,1779,2014,2184,2374,2338,2072,2072,2172,2003,2164,2198,2199,2007,2390,2138,1759,1832,1909,2075,2757,3523,3824,4121,4376,4376,3962,3515,4033,3980,3592,3542,3221,2942,3022,3041,3041,3291,3576,3221,2633,2588,2208,1337,1597,1739,1609,1675,1818,1983,1572,1314,1990,2614,2042,2428,2265,2472,2678,2744,2819,2446,2512,2896,2741,2066,2013,2125,2092,2183,2050,2170,2066,2182,2271,2092,1925,1988,1978,2247,2097,1685,1651,2237,2652,2648,2604,2823,2735,2462,2271,2019,2258,2668,2578,2325,2332,2552,1723,1927,1833,1550,1532,1586,1415,1340,1439,1366,1240,1294,1342,1322,1770,1857,1508,1350,1828,2310,2432,2792,2407,1707,1390,1489,1735,1468,1507,1516,1300,1375,1515,1606,1400,1312,1430,1365,1476,1608,1864,2337,2218,2121,2228,2293,1808,1518,1575,2137,2098,1676,2131,1945,1970,2176,1992,1780,1918,2158,1975,2103,2519,2833,2668,2686,2857,2663,2580,2545,2321,2208,2222,2394,2338,2084,1857,1780,2106,1736,1430,1841,1572,1543,1665,2116,2177,2445,2274,2202,1918,1702,2160,2742,2705,2558,3075,2601,2124,2214,2346,2194,1998,2184,2719,2720,2219,1686,1677,1824,2110,1593,1794,1555,1464,1619,1936,1847,1859,2372,2835,2580,2360,2058,1696,1708,1764,1811,2129,2201,2132,1531,1050,962,1440,2128,2403,2315,2167,1896,1858,2222,3228,2813,2068,2540,2656,2472,2648,2351,2089,2078,1732,1842,1932,1655,1530,1798,1929,1990,1856,1395,1414,1976,2648,2935,1962,1639,1970,1847,2200,1953,1385,1537,1672,1666,1632,1638,1648,1564,1749,1952,2522,2013,1749,1919,1773,1659,1773,1592,1896,2225,2108,2329,2416,1654,1772,2048,2060,1739,1650,1620,1484,1515,1638,1654,1596,1707,1943,2406,2614,2412,2541,2586,2111,1789,1776,1508,1185,1236,972,1700,2397,1869,1650,1905,1946,1784,1552,1666,1850,1826,1736,1470,1368,1442,1455,1515,1543,1591,1537,1407,1424,1399,1240,1328,1395,1450,1437,1475,1504,1618,1944,1975,2802,2952,2590,2586,2460,2356,2466,2383,2342,2678,3024,3051,2619,2902,2937,2943,2688,1835,1496,1761,1717,1597,1580,1644,1769,1622,1443,1429,1492,1371,1656,1718,1362,1354,1682,1874,1637,1627,1816,2221,2126,2023,2149,1709,1449,1584,1422,1399,1541,1713,1483,1510,1622,2272,2512,2442,1838,1858,1986,2805,3724,3428,2496,2124,2160,2082,1889,2000,2211,1937,1786,1744,1637,1659,1994,1946,1976,2125,2021,1824,1432,1556,1747,1953,1981,2243,3365,3661,3906,3273,2602,2575,2956,3555,3504,3407,2714,2601,2183,1974,1961,2443,3259,3195,3076,2700,2196,2127,1543,1543,1650,1598,2188,2245,2426,2991,2743,2395,2608,3018,3024,2696,2497,2182,2173,2110,3053,3493,2668,2104,2482,2752,2899,3562,3653,3578,3365,2629,1816,1692,1639,3349,3653,3776,3777,3009,2250,1870,2100,2504,2664,2400,2310,2385,2865,3191,3448,3190,3034,3153,3154,3099,3189,3075,3119,2938,3042,3471,3621,3648,3841,3970,3156,3012,2924,2803,2601,2474,2498,2575,2820,2669,1959,1913,2122,2478,2631,2489,2408,2169,1994,2186,2492,2728,2828,3134,2813,2436,2351,2463,2669,2563,2735,3028,3017,2751,2608,2520,2870,3298,3439,3539,3497,2987,2689,2487,2258,2025,2053,2167,2262,2481,2261,2541,2836,2467,2454,2328,2377,2345,2295,2172,2293,2510,2430,2320,1975,1758,1681,2017,2353,2180,2397,2534,2541,2653,2517,2135,2181,2482,2053,1847,2027,1898,2022,1937,2072,1971,2177,2363,2567,2611,2055,1954,1879,1681,1971,1743,1792,1765,1714,1630,1527,1798,2113,2135,2388,2352,2512,2351,1733,1584,1624,1680,1835,1969,2691,3152,2154,1607,1878,2508,2820,2931,2274,2039,2075,2379,2418,2902,3286,3052,2966,3000,2547,2511,2669,3063,3204,3356,3417,2861,2160,2159,2604,3068,3417,3083,3024,2615,2767,2649,2373,2392,2389,2243,2361,2239,2496,2647,2932,3342,2643,2135,2222,2175,1951,1624,1537,1769,2142,2375,2753,3044,2846,2739,2811,2680,2434,2728,2765,2692,2349,1991,2091,2644,2703,2420,2724,3044,2619,2503,2986,3626,3779,3709,3722,4015,4520,4357,3686,3206,3056,3150,3022,2656,2898,2293,1710,1765,1679,1776,1536,1821,2845,3167,3261,3105,2821,3133,3051,2939,2640,2763,2950,3062,2267,2214,3000,2899,2723,2758,2344,2368,2092,1912,1928,1738,2337,3377,3682,3381,2943,2989,3421,3429,2847,2939,3082,2726,2611,2347,2351,2677,2794,3011,3141,2896,2762,2702,2236,2064,2566,2029,1829,1887,2525,2964,2953,3062,2290,1666,1971,1774,1608,1875,2066,2306,2271,2147,2331,3108,2446,2257,2333,2048,2489,2834,3041,3508,3695,3357,2290,2063,2500,2571,2378,2362,2513,2269,2437,2906,2929,2398,1675,2028,1986,2007,1573],[3775,3987,3795,3318,3184,3436,3444,3442,3198,3106,2852,2695,2548,2916,3082,3052,3142,3306,3583,3682,3595,3260,3038,3040,3284,3243,3818,3714,3398,3682,4028,3925,3573,3372,3190,2934,3474,3146,3212,3565,3031,3073,3168,3328,3238,2665,2397,2369,2461,2484,2512,2765,2702,2889,3072,3174,3139,2253,2188,2886,2893,2541,2701,2998,2909,2634,2681,2707,2713,2590,2810,3140,2583,2187,2534,2503,2791,2886,2409,2514,2402,2143,2337,2130,2183,2244,1925,1765,1747,1975,2475,2376,2270,2357,2164,2445,3072,3436,3642,3426,3382,3566,3487,2943,3029,3050,2833,2887,3688,3875,3898,3850,3672,3894,3897,3737,3270,2554,2972,3717,3671,3491,3418,2612,1953,1932,2145,2545,3232,3686,3658,3233,2484,2226,2374,2630,2990,3131,2874,2928,2336,2025,1940,2360,2676,2559,2316,1910,1917,2143,2144,2189,2188,1914,2928,3276,2194,2205,2329,2281,2048,1522,1512,1615,1674,2181,2170,1788,1738,2402,2888,2275,2314,1996,1607,1494,1628,1905,1902,1693,2006,2052,1973,1985,1862,2192,2113,2172,2024,1740,1704,1652,1664,1964,2721,2602,2149,2244,2005,2284,2267,2486,2592,1935,1618,1633,1672,2178,2184,1962,1836,1671,1441,1660,1747,1644,1695,2171,2667,2242,1767,2144,2432,2154,2179,1919,1804,1925,1920,1760,1649,1483,1438,1754,2176,2160,2265,2795,1826,1682,1888,1780,1455,1470,1611,1663,1924,2110,1858,1652,2109,2332,1784,2034,2518,2382,2065,1835,1910,2113,2066,2007,1969,2005,1875,1598,1840,2781,2284,1907,1930,2038,1926,1854,1751,1794,1923,1871,1943,2111,2129,1719,1542,1605,1685,1742,1714,1801,1787,1811,1824,1904,1850,2014,2005,1802,1753,1931,2352,2010,1907,1545,1497,1825,1919,1958,2552,2432,2091,2160,2402,1970,2060,2252,2866,2439,2060,1936,1647,1840,1857,2194,2643,2061,1851,1860,1876,1737,1554,1522,1656,1772,1651,1691,2024,1862,1605,1575,1444,1621,1842,1811,1887,1834,1653,1545,1542,1454,1491,1503,1920,2044,2248,2949,2940,2712,2278,1893,2172,2618,2547,2245,2148,2731,2622,2024,1999,2796,2689,2237,2429,2518,2835,2997,2501,2479,2617,2364,2436,2984,2781,1999,1554,1692,2037,1938,1697,1918,1885,1843,1860,1606,1458,1150,1503,1865,1979,1707,1943,1835,1833,2306,2452,2391,2378,2127,2151,2069,2271,2309,1874,1996,2278,2382,2399,2141,2130,2836,2646,2170,2704,3017,2553,2690,2880,3063,3235,2765,2276,2554,2555,1944,1804,1691,1598,2018,1678,1924,2402,2518,2153,2105,1816,1882,2252,2044,1816,2235,2100,2304,2150,2339,2307,2411,2046,1559,1566,1595,1655,1958,2256,2316,2354,2833,3393,3619,2976,2602,2691,3121,3041,2705,2629,2542,2458,2249,2346,3266,3343,2887,2800,2049,1374,1965,2497,2235,2248,2876,2288,1709,1675,1564,1980,2381,2057,2132,2041,2498,2255,1931,1946,1758,2006,2470,1738,1987,1961,2678,2275,1766,1870,2419,2354,2055,1774,1517,1611,1698,1518,1547,1584,1500,1784,2532,2997,2794,2868,2889,2524,1936,1856,2047,1727,1731,2146,2308,2117,2902,2666,2327,2363,2338,1959,1565,1921,2323,2130,1648,1743,1603,1624,1637,1748,1748,1719,1559,1613,1864,1812,1718,1709,1735,1927,1755,1685,1565,1649,1623,1935,2120,1907,1974,1946,1690,1641,1757,1799,1569,1475,2464,2281,2347,2021,1747,2006,1991,1743,1543,1416,1453,1454,1549,1656,1665,1928,1842,1811,2161,2345,1959,1593,1925,2319,2420,2208,2277,1983,2522,2034,1735,1540,1520,1677,1930,1871,1869,1978,1832,1780,1766,1717,1449,1920,1631,1584,1751,2198,2474,1998,1598,1854,2049,1569,1745,2242,2003,1748,1580,1420,1820,2326,2387,2647,2909,2954,3031,2414,2030,1791,1720,1573,1838,2067,2000,2000,2751,3330,3347,4030,4659,4700,4583,4295,4739,5303,5287,4932,4652,4396,4816,5228,4123,3280,3520,3388,2728,2953,2597,2189,2644,2575,2473,2322,2699,3557,3698,3569,3706,3428,3193,3172,3597,3746,3862,4216,4168,4040,3851,3489,3768,4372,4541,4497,4346,4280,4235,4213,3851,2675,2030,1950,1990,1998,1751,1636,1525,1444,1898,2222,1973,1902,1962,1847,1747,1650,1952,2844,3056,2394,2198,1989,1897,2832,3188,2546,2799,2303,1967,1652,1620,1803,1645,1697,1749,1518,1668,1875,1613,1373,1343,1434,1469,1516,1579,1409,1410,1357,1379,1528,1744,1833,1682,1790,1818,1657,1442,1408,1727,1605,1626,1844,1617,1584,1860,1473,1455,1561,1651,1478,1599,1746,1780,1886,2050,2020,1915,1620,1581,1751,1882,1680,1448,1552,1745,2047,3030,3552,3395,3717,3438,2370,2213,2276,2617,2197,1843,2172,2416,2083,1901,1948,2164,2128,1685,1387,1365,1854,1769,1454,1377,1475,2056,1748,1560,2328,2509,2093,2280,2437,2441,2563,2094,2001,2612,2525,2473,2704,2272,1705,1426,1556,2297,2418,1813,1432,1437,1588,1624,1422,1347,1459,1393,1387,1631,1648,1654,2332,3293,3086,1840,1517,1375,1299,1277,1430,1387,1343,1228,1307,2047,2754,2326,1622,1667,1736,1815,1570,1992,2737,2674,2121,1743,1901,2193,2267,2092,1882,1981,1959,1846,1924,2026,2307,1836,1982,2475,2227,1791,1794,2098,2346,2902,3271,3615,3940,3949,3356,3194,3561,3505,3296,3130,2778,2844,2835,2858,2664,3332,3260,2949,2362,2391,2126,1298,1491,1820,1656,1555,1586,1923,1560,1063,1611,2210,2495,2834,2765,3093,2850,2493,2381,1671,1816,2396,2644,1714,1440,1560,1766,1707,1801,2183,2193,2149,2033,1659,1595,1749,2118,2478,1926,1792,1808,2013,2497,2883,2684,2249,1880,1627,1746,2085,2601,3106,2504,2209,2252,2213,1786,1776,1666,1388,1639,1849,1611,1556,1596,1799,1746,1728,1548,1266,1301,1399,1392,1431,2132,2632,2568,3303,3084,1852,1526,1583,1357,1599,1606,1532,1416,1451,1648,1434,1322,1431,1418,1304,1542,1716,1842,2371,1909,1408,1574,2053,2414,2460,2414,2444,1969,1900,2100,1869,2825,2640,2126,2121,2336,1946,1666,2254,2792,2966,2358,2203,2589,2185,1759,2424,2303,1612,1848,2568,2733,2235,1921,1824,2018,1841,1973,1958,1583,1361,1496,1873,2299,2143,2005,2366,2325,2162,2702,2995,2359,2678,3206,2769,2353,2230,2247,2542,2128,1904,2499,2436,2097,1920,2194,2398,2457,1767,1708,1639,1351,1557,2004,1760,1670,2142,2436,2048,2156,1782,1549,1455,1459,1586,1876,2467,2674,2072,1515,1189,1775,1866,1873,1897,1721,1751,1649,1747,2811,3254,2882,2886,2879,2855,2739,2213,2069,1941,1677,1697,1801,1949,1770,1832,2121,2066,1969,1925,1840,2604,2798,2542,1918,2086,2217,2165,2413,1879,1679,1697,1617,1632,1571,1561,1658,1834,1730,2034,1924,2111,2324,2250,1668,1660,1969,1466,1351,1528,1658,1793,1677,1507,1854,2043,2028,1867,1727,1657,1620,1661,1654,1653,1832,1656,1770,2164,2270,2521,2520,2030,1797,1685,1926,1907,1537,1449,1384,1895,2336,2116,1986,2117,2004,1890,1796,1726,1580,1348,1477,1591,1848,1622,1582,1643,1731,1797,1674,1623,2087,2094,1469,1471,1487,1540,1521,1498,1507,2064,3130,3150,2766,2701,2714,2473,2280,2165,2309,2589,2528,2541,3244,3839,3454,2496,2225,2397,2327,1950,1478,1504,1573,1547,1822,2005,1918,1394,1266,1495,1872,1768,1472,1520,1380,1731,2458,2335,2043,1897,2228,2326,2139,1846,1716,1489,1494,1611,1390,1519,1872,1949,1638,1482,1925,2226,2002,2261,1982,1723,1990,2924,3453,2866,2023,1837,2123,2330,2408,2067,1958,1995,1971,1527,1536,1993,1858,1809,2013,2036,2066,1831,1426,1675,1854,2039,1838,2824,3514,3754,3814,2426,2084,2482,3104,3273,2327,2446,2636,2548,2572,2071,1915,2808,3184,2896,2543,2020,1799,1736,1561,1631,1726,1413,1536,1730,2122,2427,2492,2603,2363,2394,2668,2722,2435,2469,2336,2329,3410,3786,3232,2500,2612,3056,3603,3963,3573,3475,3196,2993,2787,2125,1991,3572,3879,3738,3726,3419,2842,2253,2264,2763,2997,2209,2029,2135,2530,3455,3562,3255,3263,3340,3125,2911,2924,2733,2906,3040,3508,3786,3652,3754,3884,3605,3288,3246,3051,2951,2764,2650,2397,2634,2776,2295,1965,2046,2288,2386,2570,2588,2302,1979,2084,2403,2410,2365,2641,2995,3007,2446,2179,2509,2709,2673,2702,2789,2652,2532,2596,2645,2813,2827,2790,3052,3175,3275,3340,2824,2328,2153,2340,2565,2572,2504,2458,2163,2758,3034,3088,2513,2068,2106,1951,1754,2157,2556,2168,1953,1878,2078,1750,1848,1866,1757,2234,2586,2309,2063,1931,1906,1960,2272,2114,2144,2310,2093,1818,1630,1707,1902,2137,2015,2908,2823,1868,1868,1956,1853,1747,1612,1500,1591,1687,1732,2299,2679,2768,2587,2752,2475,2026,1917,1774,1680,2072,2218,2192,2032,2490,2931,2026,1426,1564,2154,2617,2646,2199,2089,2038,2535,2806,2819,3044,3021,3023,3330,3044,3042,2867,3084,3127,3460,3628,3115,2231,2352,2852,2543,2884,2445,2899,2844,3064,2730,2369,2521,2208,2079,2496,2670,2827,2488,2381,2677,2265,2621,2790,2348,1820,1382,1373,1815,1932,1995,2401,3054,3533,3439,2823,3118,2994,2665,2631,2743,2601,2567,2486,2357,2655,3092,2681,2417,2154,2347,2984,3489,3714,3661,3542,3625,3930,3956,3499,3174,3142,3081,2923,2557,2488,2658,2526,2642,2542,2500,2432,2512,3084,2985,3085,3352,3234,2945,2940,2842,2718,3045,2943,2799,2713,2855,2940,2879,2931,2758,2737,2633,2327,2120,1946,1706,1840,2599,3331,3396,3109,2819,3076,3012,2990,3496,3518,3170,3181,2444,2472,2895,3153,3360,3162,2820,2574,2450,2316,2344,2840,2906,2548,2294,2842,3152,3352,3607,2730,2056,2069,1964,2016,2192,1958,2124,2742,2971,3039,2829,2161,2172,2075,1756,2116,2865,3605,3498,3244,3509,3250,2933,3069,2997,2800,2773,2533,2044,2172,2355,2076,2197,1779,1936,2002,2142,2144],[3436,3706,3371,3307,3503,3671,3647,3264,2887,2941,2866,2485,2245,2685,2911,2809,2722,2774,3187,3209,3133,2967,2971,3128,3172,2878,2978,2377,1992,2569,3560,4050,3653,3127,2879,3288,3329,3043,3415,3550,3338,3382,3087,2820,2724,2579,2366,2112,2555,2512,2277,2710,3065,3179,3153,3465,3442,2448,2142,2789,2664,2708,2823,3144,3065,2475,2922,3506,2930,2170,2277,2723,2646,2265,2091,1882,2540,2820,2484,3050,2963,2339,1834,1807,1981,1898,1677,1727,1752,1863,2083,2376,2260,2008,2592,3206,3217,2854,3072,3606,3809,3548,2910,2910,3256,2964,2943,3190,3631,4008,3824,3736,3838,3871,3794,3826,3602,2746,2592,3234,2769,3310,3350,2456,2231,2401,2708,3146,3715,3627,3328,3263,2770,3063,2635,2861,2923,3161,2836,2254,1853,1675,1904,1992,1985,2361,2829,2371,1902,1783,2115,2435,2296,1785,2231,2497,2084,1869,1852,1943,2030,1668,1513,1337,1516,2347,2160,2088,2127,2629,2770,2430,2134,1729,1629,1607,1608,1519,1552,1606,1856,1890,2054,2238,2364,2143,1811,1587,1401,1654,1854,1875,1862,1723,1809,2130,2234,2040,1920,2165,2092,2612,2866,1946,1837,1772,1647,2042,2299,2141,1903,1611,1532,1640,1660,1680,1665,2325,2959,2069,1630,2105,2310,1820,1903,1863,2042,2327,2205,1776,1523,1493,1502,1665,1935,2260,2075,1745,1953,1712,1523,1582,1683,1808,1828,1854,1664,1649,1840,1925,2185,2247,1876,1878,2388,2859,2421,1835,2061,2321,2083,1887,1647,1933,1699,1687,2014,3034,2327,1691,1825,1689,1638,1669,1603,1685,1710,1465,1614,2039,1873,1677,1561,1425,1558,1591,1627,1709,1489,1768,1763,1691,1553,1773,1786,1897,1857,2029,2177,2087,1860,1771,1845,1821,1859,1990,2412,2600,2949,3292,2832,1969,1917,2053,2121,2081,2145,1925,2002,1873,1716,2383,2940,2903,2234,1781,1722,2118,2014,1609,1749,1751,1549,1793,1834,1731,1509,1580,1482,1447,1531,1781,1914,1724,1755,1545,1669,1549,1550,1757,1908,2061,2829,3304,2950,2399,2293,2181,2100,2314,2354,2447,2409,2887,2763,2411,2472,2813,2395,2348,2740,2625,2844,2974,2358,2126,2138,2379,2453,3087,2972,2104,1539,1490,1786,1853,1738,2037,1957,1652,1658,1432,1568,1541,1471,1683,1862,1869,1847,1669,1715,2003,2064,2161,2084,1790,1687,1649,1825,2073,1966,1656,1998,2228,2103,2064,1859,2266,2238,2498,2426,2968,2964,3038,3203,3419,3227,2379,2109,2504,2568,2062,1648,1524,1869,2066,1716,2207,2216,2138,2310,2161,2010,2235,2283,2271,2091,2460,2371,3041,2802,2464,2530,2416,1915,1557,1472,1409,1654,2341,2633,2223,1799,2539,3372,3349,3145,3196,3269,3297,3094,2811,2720,2857,3121,3015,3218,3565,3538,3372,3373,2470,2097,2643,2981,2278,2309,2844,2483,1780,1559,1462,1640,2052,2365,2533,2281,1840,1664,2022,2088,1885,2104,2085,1995,2083,2061,2355,2054,1648,1856,2354,2168,1604,1493,1529,1794,2033,1605,1468,1570,1560,2015,2754,2633,2325,2533,2675,2370,2039,2302,2331,1873,1774,1982,1887,1943,2226,1942,1967,2215,2298,1808,1504,1861,2040,1852,1494,1659,1531,1642,1663,1663,1685,1717,1664,1483,1347,1434,1561,1621,1589,1949,1786,1687,1767,1663,1646,1952,1896,1591,1765,2252,2183,2122,2146,2004,1675,1459,1744,1532,2134,2357,1786,1689,1614,1509,1393,1360,1479,1433,1679,1499,1431,1647,1796,1819,1970,2311,2314,1895,1885,2236,2375,2233,2407,1838,2152,2042,1701,1781,1711,1664,1864,1786,1863,1789,1738,1849,1931,1818,1491,1704,1797,2139,2347,2237,2601,2314,1813,2147,1933,1721,1902,2283,2088,1794,1607,1405,1531,1693,2057,2257,2020,2330,2473,2337,2310,2102,1832,1789,2226,2692,2755,2809,3352,3695,3770,4311,4676,4585,4341,4293,4263,4628,4975,5001,4791,4568,4967,5393,4845,3992,3737,2972,3057,2732,2049,1974,2187,2421,2587,2526,2287,2545,3081,3526,3185,2930,3104,3537,4082,4100,4308,4905,4825,4541,4201,3660,4144,4605,4540,4690,4581,4200,4023,4017,3144,2203,1968,1938,1936,1580,1694,1625,1492,1601,2042,2379,2286,1982,2005,2114,1869,1576,1662,2082,2316,1923,1795,1840,1860,2788,3042,2425,2956,2828,2356,2461,2235,1886,1741,1629,1765,1568,1476,1610,1834,1696,1459,1509,1482,1722,1927,1604,1737,1504,1409,1394,1623,1625,1452,1487,1619,1553,1469,1558,1781,1558,1686,1639,1787,1615,1638,1506,1517,1470,1531,1422,1469,1771,1866,1520,1676,1522,1448,1361,1224,1649,1769,1543,1339,1499,1873,2593,3509,3854,3637,3535,3415,2381,1595,1590,1650,1505,1688,2145,2273,1901,1677,2144,2290,1916,2242,1824,1778,1918,1582,1434,1365,1488,1730,1680,1579,2066,2091,2082,2070,1976,1662,2172,2408,3098,3079,2464,2598,2438,1866,1440,1387,2370,2622,2807,1720,1369,1451,1963,2024,1523,1672,1855,1559,1454,1449,1485,1856,1919,2028,2247,1930,1790,1559,1532,1578,1524,1527,1591,1681,1611,1894,1769,1544,1772,1973,1871,1615,1613,1667,2046,2482,2407,1873,1712,1781,1881,1666,1737,1861,1969,1792,1692,2426,2593,1831,1801,2202,2132,1870,1682,1775,1937,2315,2754,2858,2774,2938,2702,2375,2604,3196,3414,3089,2264,2284,2676,2744,2270,2950,3408,3075,2187,2129,2278,2078,2138,2198,1713,1603,1948,2006,1520,1250,2025,2822,2831,2532,2729,3297,2677,1979,2076,1830,1816,2370,2208,1734,1850,1794,1702,1718,1842,2041,2360,2115,1684,1590,1587,1619,1714,2237,2305,2403,2277,1840,2071,2540,2293,1528,1226,1361,1854,2187,2367,2767,2530,2392,2404,2449,2373,1966,1594,1401,1434,1412,1466,1402,1417,1604,1751,1692,1387,1247,1380,1470,1427,1559,2011,2200,1865,2708,2691,1827,2288,1952,1435,1555,1576,1772,1684,1403,1400,1438,1480,1537,1469,1271,1727,2021,2192,2164,1655,1771,2345,3072,3500,3462,2689,2585,2161,1573,1605,2305,2686,2242,1942,2135,2354,1792,1679,2461,2518,2395,2147,1932,2124,1820,1276,2020,2056,1509,1591,2129,2984,2589,1855,1812,1990,1648,1649,1577,1532,1527,1820,2235,2400,2445,2637,2735,2317,2102,2557,2720,2381,2828,3085,2525,2380,2298,2183,2424,2065,1785,2147,1904,2003,2133,2003,2222,2008,1909,2247,2403,2367,2413,2228,1568,1437,1932,2233,2268,2088,1794,1698,1528,1527,1822,2172,2946,3351,2678,1883,1873,2711,2560,1769,1744,1944,1876,1649,1861,2610,3233,3348,2991,2339,1971,2258,1951,1739,1775,1648,1659,1762,1949,1821,1766,2003,1829,1820,2152,1905,2562,2382,2131,2078,2692,2693,2385,1922,1573,1911,2224,2129,1660,1549,1659,1596,1886,1896,1651,1451,1619,1885,2034,1753,1712,1641,1111,1541,1861,1641,1660,1599,1667,1926,2007,2071,1907,1742,1362,1099,1617,1570,1651,1640,1384,1561,2137,2260,2352,2088,1896,1969,2052,2193,1799,1337,1650,1766,1536,2152,2200,1875,2043,2083,1872,1748,1726,1443,1237,1255,1302,1451,1391,1464,1657,1604,1548,1824,2186,2512,2699,2182,1449,1500,1417,1355,1296,1281,1691,1989,1777,1776,2337,2730,2379,2208,2197,2304,2365,2007,2180,2824,3498,3592,2850,2326,2443,2156,1989,1548,1535,1694,2339,2789,2697,2150,1593,1360,1551,2140,1984,1396,1536,1569,2137,2911,2526,2445,2213,2436,2061,1597,1438,1735,2119,2187,2364,1494,1368,1750,1841,1805,1621,1825,1975,1804,1723,1730,1742,1956,2196,2241,2517,2344,2353,2361,2119,2525,2618,2113,1803,1903,1791,2133,2335,1558,1773,2115,2554,2537,1930,1488,1404,1460,1707,1768,2402,2763,3203,3316,1859,1717,2061,3101,2749,1790,2224,2745,2881,2672,1931,1815,2331,2496,2925,2563,2041,2437,2148,2442,2076,1871,1944,1931,1935,1965,2024,2271,2221,1725,1477,2221,2469,2514,2750,2087,1768,2629,3101,2351,1696,2286,3146,3456,3333,3024,3188,3553,3737,3618,2653,2526,3573,3686,3271,3383,3264,3041,3242,3037,2348,2177,2044,2046,2753,3423,3687,3320,2820,2753,3025,2741,2676,2787,2923,3589,3804,3848,3927,3841,3841,3710,3208,3254,3591,3259,3116,2962,2555,2224,2523,2523,2088,2055,2341,2584,2645,2822,2568,2222,2053,2112,2309,2252,2005,2319,2661,2727,2380,2392,2588,2564,2710,2768,2821,2564,2880,2850,2455,2849,3206,3008,2881,2504,2446,3013,2751,2333,2527,2494,2607,2402,2548,2469,1854,2079,2569,2754,2503,2088,2125,2167,2286,2284,2346,2153,2796,2683,2071,1771,1918,1965,1818,2140,2268,2514,2676,2230,1941,1854,1980,1977,2226,2521,2302,1953,1999,1973,2007,2282,2578,2911,2753,2054,1870,2005,1926,1741,1528,1528,1864,1920,1722,2310,2514,2798,2996,2644,2089,1880,2014,1799,1883,2261,2166,2473,2549,2202,1666,1497,1499,1776,2413,2828,2420,2496,2490,2374,2720,2651,2674,2939,2910,3294,3624,3504,3111,3132,3068,3106,3518,3783,3706,2556,1947,2460,2673,2697,2386,3196,3463,3196,3166,3167,3003,2752,2629,2698,2732,2818,2884,2754,2315,2254,2722,3110,2877,2553,2195,2184,2562,2671,2422,2452,3329,3625,3670,3461,3383,2864,2139,2172,2790,3032,3109,3285,3071,3252,3321,2420,1869,2150,2474,2863,3347,3693,3664,3505,3375,3526,3740,3483,3296,3159,2917,2683,2551,2486,2601,2796,3066,2973,2783,2602,2732,3142,3286,3292,3347,3305,2966,2873,2840,3052,3147,2530,2362,2774,3198,3432,3185,3232,2944,2902,2591,2687,2500,1800,1808,2209,2555,3214,3377,2872,2277,2513,2432,2402,2867,3405,3386,2861,2165,2409,2931,3341,3253,3115,3225,3386,3077,2296,2564,2481,2944,3370,3422,3804,3559,3472,3522,3277,3004,2990,2519,1960,2088,2230,2690,3311,3006,2576,2294,2369,2551,2446,1883,2012,2128,2797,3266,3090,3162,3274,3161,2717,2452,2697,2652,2529,2304,2602,2575,1692,1720,1638,1826,2260,2226,2114],[3464,3642,3206,3479,3623,3571,3829,3803,3660,3654,3040,2599,2440,2415,2320,2253,2337,2663,3016,2953,2850,3118,3298,3133,3109,2952,2481,2035,1926,2632,3724,3798,2933,3209,2972,3399,3200,3599,3802,3573,3364,2833,2398,2387,2224,2958,3382,3033,2646,2545,2852,2877,2833,2753,2721,3408,3718,2361,2036,2724,2212,2766,2897,2928,2524,2227,3226,3919,2986,2164,2352,2512,2452,2259,1954,2083,2807,3607,2864,2126,2421,2028,1600,1880,1958,1700,1518,1809,1847,1874,1999,2453,2426,2155,3006,3619,3579,3350,3252,3414,3641,3198,2924,3371,3284,3090,3198,3598,3883,3798,3428,3607,3941,3917,3737,3393,3770,3728,2952,2449,2852,3544,3416,3066,2718,2411,2578,2843,2751,2578,2859,2651,2468,3353,3702,3886,3433,3140,2407,1941,1614,1613,1930,2082,2382,2521,2940,2357,1676,1525,1679,2372,2276,1869,1699,1780,1830,1576,1689,1652,2126,2525,2105,1685,1516,1862,2078,2205,2048,2110,2094,2107,2136,1896,2002,1690,1493,1803,1736,1628,1777,1618,1825,2244,2229,1981,1777,1650,1841,1944,1830,2273,2418,2071,1950,1770,1595,1679,1871,2142,2204,2075,2365,1975,1958,1876,1782,1882,1802,1655,1743,1581,1594,1641,1615,1854,1717,1873,1967,1753,2332,2344,2069,2253,1963,1892,2427,2500,2078,1684,1478,1477,1418,1364,1378,1628,1750,2126,2320,1942,1755,1691,2036,2223,1890,1888,1417,1409,1822,1779,1760,1738,1663,1559,1585,1808,2085,1973,2047,1870,1704,1733,1456,1921,2338,1976,1814,2587,2128,1560,1814,1702,1591,1505,1634,1808,1781,1572,1814,2092,1730,1575,1559,1576,1901,1909,1652,1792,1546,1930,1843,1811,1714,1572,1583,1782,1695,1715,1785,1711,1782,2141,2193,2075,2110,2165,2360,3050,3318,3624,2690,1827,2010,1870,1662,1870,1920,1982,2004,1764,2128,2432,2592,2322,2116,2056,1758,1959,2097,1698,1527,1548,1308,1614,1815,1692,1539,1443,1384,1462,1496,1784,1756,1638,1843,1633,1744,1896,1856,2318,2387,2744,3179,3372,2809,2127,2574,2408,2050,1946,2047,2499,2680,2880,3140,2975,2499,2338,2187,2103,2429,2590,2617,2735,2734,2807,2685,2277,2086,2295,2457,2053,1730,1513,1365,1818,1814,1714,1904,1948,1829,1680,1943,1909,1746,1656,1676,1946,1954,1604,1550,1597,1776,2132,2424,1999,1738,1800,1689,1929,1932,1652,2038,2402,2352,1978,1999,2311,2380,2631,2237,2954,2735,2617,3206,3211,2896,2379,2163,2428,2431,2180,2024,1951,2365,2043,1870,1959,1751,1870,2183,2011,2183,2271,2359,2533,2497,2443,2885,3260,2608,2179,2230,1938,1526,1481,1745,1753,1734,2515,2344,2171,2194,2995,2998,2734,3338,3614,3341,2883,2923,3071,2778,2561,2663,2529,2643,2917,3083,3334,3400,3218,3184,3058,3034,2639,2752,2327,2048,1867,1446,1349,1508,1884,2055,2077,2093,2111,1896,1904,1960,1819,1937,1641,1656,1983,2122,1812,1514,1459,1792,2310,2072,1670,1614,1691,1967,1795,1487,1589,1747,1616,2305,2889,2487,2533,3108,3441,3130,2134,1758,1824,1837,1574,1541,1491,1564,1678,1650,1733,2258,2460,1664,1403,1357,1530,1472,1490,1546,1612,1846,2021,2163,2108,2234,2137,1660,1602,1823,1851,1821,1670,1637,1622,1787,1936,1932,1837,1883,1910,1807,2066,2226,1909,2047,1984,1995,1772,1592,1520,1605,2115,2053,1575,1512,1755,1534,1365,1500,1632,1846,2027,1962,1859,1626,1683,1700,1870,1887,1908,2077,2038,1875,1830,1908,1992,1708,2176,2387,2185,2282,2295,2020,1505,1500,2105,2443,1999,1862,1941,1805,1641,1967,2179,2186,2203,2293,2624,2695,2155,1720,1497,1759,1818,2119,2152,1804,1653,1498,1393,1552,2202,2107,2006,2324,1807,1642,2010,2259,2190,2380,3161,3903,4201,4023,3851,4000,3913,4313,4517,4633,4548,3992,3861,4243,4760,4808,4627,4524,5169,5268,5088,4127,3473,3182,3210,2416,2148,2094,1920,2081,2600,3811,3724,3287,3526,3232,2721,2579,3007,3923,4184,4172,4783,5041,4824,4633,4143,3706,4187,4595,4539,4599,4443,3917,3682,3200,2248,2033,1970,2043,1734,1887,2337,1817,1824,1759,1752,1928,2105,1874,1637,1919,1852,1708,1819,1771,1805,1739,1653,1615,1487,1856,1955,1839,2134,2325,2104,2322,2759,2570,1789,1450,1439,1375,1432,1482,1591,1404,1510,1793,1550,1528,1553,1520,1784,1780,1644,1472,1708,2172,1857,1335,1516,1480,1566,1900,2225,1584,1548,1750,1871,1794,1741,1757,1681,1520,1416,1424,1565,1665,1644,1686,1715,1746,1554,1400,1326,1708,1736,1634,1827,1838,2229,2998,3115,3920,4043,3582,3414,2589,1531,1538,1677,1491,1423,1536,1627,1619,1705,1962,2241,2639,2973,1998,1725,1588,1536,1527,1504,1592,1633,1600,1627,2501,2450,2253,1958,1782,1743,2613,2790,2984,2852,2502,2432,2055,1724,1192,1610,2622,2766,2831,1845,1429,2047,2878,2543,1957,1825,1708,1524,1455,1524,1687,1782,1455,1338,1796,2050,1930,1679,1510,1382,1546,1692,1725,1830,1736,1873,1673,2252,2853,2699,2051,1607,1656,1741,1795,1965,1971,1576,1455,1639,1623,1396,1461,1706,1933,1951,2392,2706,1957,1749,2074,2347,2143,1634,2006,2581,2646,2780,2938,2736,2580,2488,2376,2062,1991,2529,3150,2752,1825,1533,2370,2406,2093,2578,3377,3202,2355,2196,2393,2455,2398,2365,1825,1888,2370,1908,1365,1699,2689,3270,3130,2779,2895,2920,1848,1531,2003,2357,2030,2172,2034,2019,2020,1955,1798,2251,2676,2331,2233,1958,1724,1954,1696,1591,1775,2248,2214,2336,2368,1801,1720,2234,2299,1800,1396,1411,1831,2159,1960,1821,1885,2316,2709,3107,3220,2585,2088,1615,1727,1732,1422,1260,1349,1439,1302,1339,1417,1263,1382,1635,1624,1846,1627,1549,1390,1754,1796,1655,2196,2246,1925,1624,1409,1548,1532,1396,1360,1336,1301,1371,1372,1293,1510,1663,1893,1775,1737,2579,3289,3641,3418,3221,2319,2142,1772,1549,1821,2090,1961,1654,1680,2008,1962,1908,2037,2583,2386,2170,2198,2244,2070,1657,1221,1463,1927,1719,1636,1945,2757,2434,1803,1917,2040,1753,1660,1524,1483,1621,1866,2201,2126,1819,2222,2475,2078,1811,2066,2346,2580,2820,2834,2774,2711,2187,1948,2542,2344,1710,1753,1564,1547,1415,1548,1754,1489,1637,2055,2562,2830,2595,2314,1956,1936,1989,2314,2631,2126,1698,1625,1587,1823,2182,2114,2634,3522,3219,1990,1580,1812,1852,1602,1711,1912,1778,2106,2722,2977,3146,2655,2079,1664,1702,1657,1562,1581,1681,2018,2227,2154,2360,2200,1873,1829,1803,1984,2065,1769,2268,2080,2258,2963,3643,3626,2316,1526,1462,1368,1583,1666,1476,1522,1655,1598,1523,1494,1497,1530,1551,1728,2304,2278,1996,1760,1351,1890,2056,1837,1807,1654,1882,2060,1953,1846,1422,1396,1341,838,1155,1338,1587,1497,1398,1610,1906,2198,2192,2534,2621,2234,2164,2232,1637,1187,1489,1636,1679,1955,1879,1612,1860,2071,1891,1792,1783,1412,1229,1300,1195,1286,1494,1626,1627,1470,1537,2354,2977,3199,3078,2732,1743,1549,1498,1486,1447,1425,1346,1215,1315,1816,2431,3185,2755,2404,2297,2416,2236,2188,2465,2617,3094,3718,2988,2271,2410,2248,1947,1889,1614,1743,2380,2204,2115,2336,1991,1506,1471,1563,1486,1464,1924,1837,1865,1842,1532,1960,2216,2110,1922,1719,1721,1952,2107,1596,1415,1324,1458,1926,1905,1864,1709,1984,2390,1922,1532,1386,1374,1693,2589,2262,2646,2356,2367,2320,2005,2182,2269,1995,1703,1871,1899,1924,1888,1768,2151,2586,2988,2666,1889,1478,1202,1360,1565,1858,2233,2182,1887,2128,2197,2924,3043,3101,3061,2499,2152,2837,3301,3046,2610,2552,1993,1901,2292,1976,1898,2854,2986,2620,1801,1699,1897,2098,1985,1643,1606,1886,1951,2111,1820,2202,2138,1844,2092,2320,1956,2266,3008,2928,2292,2360,2297,2923,2858,2757,3411,3593,3624,3696,3077,2456,2874,3141,2867,3122,3199,3452,3703,3331,2277,2041,1996,2159,3054,3566,3582,3010,2596,2542,2524,2666,3053,3210,3552,4018,3882,3934,4176,4148,4072,3802,3109,3218,3653,3561,3392,3108,2738,2536,2542,2264,1987,2142,2584,2709,2845,3444,2968,2294,2138,2214,2339,2320,2360,2634,2715,2532,2744,2612,2603,2966,2733,2665,2853,3082,3206,3098,2009,1820,2541,2895,2785,2352,2434,2395,2114,2448,2932,2771,2699,2372,2482,2320,2089,2434,2842,2438,2047,2003,1945,1892,2198,2262,2324,2586,3526,3570,2814,2452,2156,2062,2076,1995,1707,2440,2065,2124,2370,2210,1920,1922,2301,2425,2423,2728,2756,2363,2435,2270,2866,2674,2797,2348,1809,1806,1963,1971,1836,1924,1758,1856,1642,2355,2677,2599,2586,2331,1941,1626,1484,1511,1961,1884,1847,1941,2084,1870,1575,1473,1566,1738,2474,2555,1884,1957,2111,2445,2371,2742,2925,2798,2512,3118,3643,3560,3259,3282,3416,3628,3750,4042,3764,2187,1683,2530,2622,2454,2863,3182,3182,3363,3532,3449,3381,3168,2886,2700,2675,2878,3261,3062,2150,1866,2265,2888,3095,2670,2557,3321,3408,3396,2583,2323,2562,2824,3394,3893,3498,2755,2409,2456,3463,3782,3443,4014,3859,3364,2633,2092,2024,2326,2730,3046,3348,3408,3444,3602,3350,3416,3609,3624,3487,3312,3154,3162,2957,2624,2554,2540,2820,2958,2756,2568,3251,3142,3311,3515,3654,3452,3141,3154,2939,3002,3194,2661,2531,3018,3515,3542,3371,3305,3252,3087,2620,2730,2481,1502,1742,3077,3510,3510,3397,2662,2137,2360,2243,1914,1994,2473,3033,2828,2203,2352,2808,3080,3353,3303,3701,4132,4388,3576,3063,2684,2854,3089,3719,3815,3325,3260,3134,3218,3304,3196,2441,1776,2041,2686,3269,3601,3109,2182,1996,1979,2374,2147,1969,2170,2392,2646,2875,2798,2479,2530,3010,3164,2889,2968,2360,2568,2547,2192,2113,1782,1372,1402,1605,1614,1454,1490],[3352,3185,3271,3416,3794,3784,4156,4473,4176,3197,2425,2611,2351,1691,1726,2013,2438,2706,2840,2898,3001,3222,3267,3295,3164,2719,2155,2000,2348,3253,3768,3155,2851,3318,3365,3297,3398,3716,3588,3323,2963,2556,2508,2570,2292,2916,3065,2774,2415,2507,2808,2728,2753,2986,3150,3413,3728,2840,2928,3003,2377,2522,2768,3060,2418,2503,3538,3826,3323,2532,2352,2641,2940,3099,2230,2205,2446,2770,2316,1794,1885,1680,1469,1366,1527,1577,1748,1860,1933,1960,1996,2190,1931,2237,3160,3572,3601,3538,3322,3129,3151,2819,3375,3288,2915,2487,2884,3517,3745,3643,3271,3260,3882,3940,3706,3614,3850,3924,3781,3551,3699,3618,3520,3549,3316,3122,3234,3233,2713,3182,3498,2577,2798,3448,3830,3215,2553,2219,1782,1697,1585,1843,1909,2052,2862,2835,2512,1876,1506,1414,1594,2187,2212,1847,1722,1670,1742,1642,1831,1669,1838,2266,2015,2018,1781,2056,2679,2326,2126,2416,2059,1877,2199,2364,2063,1682,1744,2620,2385,1937,1741,1429,1593,2019,2192,1835,1710,1981,2247,2133,1926,1877,1960,1765,1576,1453,1855,2381,2155,1870,2012,1648,2326,2054,1877,1924,1873,1792,1595,1801,2008,1682,1626,1690,1782,2297,1881,1960,1709,2048,2671,2565,2805,2504,1764,2015,2265,2024,2108,1733,1534,1419,1520,1837,1796,1674,2025,2574,2530,2149,1870,1833,1890,1762,1643,1760,1543,1455,1600,1559,1593,1721,1659,1531,1438,1742,1940,1822,2143,2149,1840,1759,1631,2063,2110,1908,2339,2535,1819,1528,1643,1599,1695,1864,1628,1547,1469,1598,2000,2036,1748,1737,1645,1622,1776,1742,1698,1802,1707,2237,2282,2085,1866,1611,1700,1663,1565,1808,1822,1657,1659,1781,1790,1949,1861,1762,2048,2270,2457,2862,2719,2465,2553,2374,2224,2014,1983,1883,1593,1716,2181,2078,1987,1768,1958,2172,1744,1722,2127,2153,1682,1522,1542,1793,2100,2084,1902,1543,1276,1437,1484,1579,1609,1836,1565,1593,1711,1641,1932,2144,2297,2746,2677,2481,2289,2621,2833,2603,2219,2129,2589,2757,2770,3031,3414,3569,3513,2968,2539,2196,2624,2722,2491,2600,2556,2745,2562,2091,1796,1731,1833,1826,1707,1760,2123,2193,1788,1752,1997,2030,1780,1643,1730,1901,1938,1882,1569,1619,2132,1961,2107,1908,2045,2430,2839,2743,2460,2192,1906,2070,1999,1762,1801,2423,2630,1710,2038,2482,2648,2376,2392,3090,2739,2529,2754,2157,2187,2451,2334,2622,2353,1858,1844,1897,1930,1819,1767,1860,1681,1707,2105,2119,2298,2230,2432,2627,2868,2647,2664,2754,2250,1863,1929,1924,1745,1738,1671,1645,1550,2137,2295,2171,2471,2685,2082,2286,2974,3417,3131,2730,2898,3151,2784,2230,2101,2152,2194,2272,2230,2167,2350,2568,2730,3239,3483,3548,3144,2456,2519,2253,1674,1389,1502,1875,1753,1794,1867,2127,2299,1869,1554,1583,1738,1779,1696,1957,2049,1858,1870,1791,2099,2144,1855,1903,1910,2196,2132,1746,1749,2155,2299,1876,2613,3010,2366,2272,3486,3844,3458,2075,1692,1964,1942,1735,1655,1526,1584,1809,2110,2470,2697,2222,1628,1486,1637,1699,1513,1683,1758,1701,1882,2114,2386,2064,2411,2186,1544,1791,2048,2062,1941,1731,1645,1650,1682,1675,1775,1848,1902,1841,1520,1550,1488,1617,2107,2283,2216,1883,1556,1615,2016,1908,1504,1442,1530,1483,1395,1396,1760,2434,2421,1858,1907,1665,1445,1419,1256,1576,1830,1891,1974,2077,1772,1563,1659,1595,1447,1603,2076,2689,2120,2308,2001,1511,1525,2040,2244,1764,1542,1743,1867,1958,2231,2309,2109,2029,1925,1679,2100,2056,1597,1561,1903,1910,1832,2107,1676,1514,1498,1426,1479,1819,1713,1652,1575,1535,1468,1622,2025,2354,2503,3038,3741,3870,3244,3507,3892,3971,4092,4231,4476,4584,4561,4360,4202,4677,4796,4717,4632,5167,5207,4583,3748,2972,2957,2894,2322,2070,1869,1819,1840,2423,3173,4000,4600,4401,3443,2907,2931,3339,3890,4184,4500,4695,4647,4374,4308,4006,3689,3938,4326,4435,4464,4111,3664,3392,2666,1997,1946,2031,2053,1640,1664,1810,1652,1706,1647,1599,1666,1844,1613,1402,1584,1881,1730,1625,1812,2120,1800,1641,1707,1537,1637,2133,2175,1579,1519,1497,1718,1838,2238,1693,1456,1418,1543,1550,1425,1466,1384,1626,1854,1453,1390,1483,1465,1465,1614,1554,1426,1588,2061,1872,1471,1674,1365,1371,1645,1728,1538,1487,1684,2100,2019,1683,1695,1584,1511,1610,1616,1482,1719,1758,1853,1605,1611,1522,1365,1301,1511,1643,1844,2179,2323,2656,2500,2383,2972,3374,3133,2691,1802,1348,1560,1651,1612,1317,1303,1539,2115,2251,2155,2411,2969,2579,1718,1426,1362,1430,1373,1464,1601,1452,1439,1683,2273,2298,2123,1904,1715,1972,2566,2802,2987,2976,2602,2076,1613,1379,1327,2258,2768,2877,2710,1910,1334,1825,2182,1982,1770,1726,1639,1529,1256,1281,1455,1792,1743,1852,1926,1856,1942,1574,1362,1643,1569,1696,1714,1519,1537,1610,1871,2598,2741,2375,1896,1483,1455,1771,1903,2308,2172,1881,1605,1924,1687,1337,1506,1729,1932,1957,2103,1808,1430,1637,2021,1995,1739,1386,2222,2965,2893,2971,3172,3007,2636,2469,2357,1896,1593,2037,2155,1825,1473,1462,2250,2404,2262,2653,3078,2864,2632,2379,2324,2514,2443,2008,1722,2239,2806,2377,1895,2166,3073,3299,3157,2602,2072,1886,1803,1393,1538,1767,1917,2013,1787,1549,2032,2605,2256,2956,3127,2128,2017,2067,1773,1915,1749,1774,2194,2106,1992,2158,1919,1666,1762,2320,2294,1972,1580,1524,1580,2036,2204,1777,1691,1920,1994,2952,3403,3336,3340,2503,2007,1676,1395,1347,1338,1354,1428,1560,1627,1402,1338,1548,1830,2535,2024,1451,1405,1668,2317,2558,2319,2142,2578,2745,2037,1995,2086,1858,1676,1531,1510,1662,1653,1441,1409,1374,1526,1521,1598,2227,2746,2746,2330,2392,2048,1937,1868,1798,1775,1887,1871,1625,2114,2571,1975,1813,2196,2865,2765,1967,1879,2007,1587,1764,1667,1387,2192,2239,1688,1659,1895,1808,1750,1873,1857,1869,2116,1803,1417,2030,1991,2375,2531,1825,1758,1996,2064,1718,1740,2374,2572,2309,2546,2891,2554,1873,1881,2403,2215,1887,1725,1447,1516,1376,1359,1644,1427,1632,1941,2285,2644,2632,2556,2420,2549,2503,2562,2710,2164,1807,1910,1852,1612,2007,1871,2094,3234,3352,2178,1515,1614,1954,2066,2136,2326,2253,2515,2558,2371,2179,1879,1868,1698,1844,1722,1601,1645,1633,1897,2580,3128,2669,2262,2175,2014,1829,2085,1882,1556,1989,2031,2279,3076,3514,3011,1623,1543,1772,1454,1281,1345,1702,1844,1656,1522,1576,1546,1647,1652,1680,1759,3003,3029,2649,2172,1875,2246,1885,1590,1922,1968,1860,2036,1987,1728,1459,1487,1700,1493,1497,1436,1392,1583,1883,1602,1686,2013,2092,2693,2358,1965,2131,2057,1457,1417,1597,1889,2170,2051,1632,1546,1709,1947,1853,1830,1581,1237,1044,1086,1131,1099,1291,1580,1664,1716,1561,2193,2900,3307,2542,1767,1427,1360,1412,1520,1506,1391,1334,1357,1436,1718,2119,2954,2850,2419,2326,2586,2586,2531,2636,2380,2648,3567,2708,1874,1862,2185,2270,1868,1465,1721,2183,2137,2059,2114,1876,1580,1447,1451,1464,1553,1746,1782,1477,1297,1401,1543,1641,1974,2038,1660,1718,1983,1781,1481,1557,1683,1559,1993,2050,1980,2257,2236,2055,1698,1604,1534,1438,1686,2097,2008,2182,2285,2051,1686,1766,1959,1860,1710,1654,1704,1707,1945,1908,2094,2072,2493,2921,2452,1897,1562,1364,1873,1862,2015,2070,2162,2169,2060,2797,3397,3062,2973,3002,2536,2419,2920,3093,3244,2701,3007,2429,1939,1591,1721,2135,2584,2814,2276,2019,2062,1766,2120,2556,2073,1742,1660,1898,2210,2392,2287,1923,1909,2518,2785,2587,2522,3008,3234,2877,2433,2211,2271,2373,2385,2769,3282,3310,3378,3320,2466,2641,3349,3305,2855,2442,2990,3428,3356,2888,2677,2319,1962,2224,2315,2883,2899,2711,2733,2582,2711,3108,3482,3737,3495,3319,3701,3770,4058,4063,3827,3205,3039,3305,3538,3616,3476,3106,2753,2487,2363,2308,2457,2963,2753,2807,3340,2800,2603,2470,2405,2458,2631,2732,2883,2819,3006,3586,3366,3122,2867,2567,2523,2739,2871,3205,3176,2243,1847,2064,2652,2547,2130,2136,2160,2266,2686,3110,3309,3234,2988,2588,2521,2428,2554,2879,2534,2268,2467,2149,1975,2114,2310,2351,2270,2814,2929,2942,2718,2126,1852,1880,1501,1800,2142,1639,1847,2453,2484,2148,2216,2181,2078,2343,2426,2858,2972,2773,2763,3056,2750,2661,2596,2254,1998,2060,2061,2138,1924,1733,1759,1997,2701,3054,2526,1968,1961,1932,1868,1797,2089,1990,1858,1632,1607,1496,1599,1627,1467,1684,1990,2055,1863,1512,1660,2318,2495,2620,3322,3073,2677,2842,3255,3242,2617,2314,2868,3824,4373,4196,4208,3415,2387,2445,2819,2583,2424,2697,3016,3499,3550,3536,3383,3566,3486,2965,2688,2646,3021,2924,2291,2004,1981,2270,2811,3010,2106,2025,3196,3327,2841,2289,2443,2644,2962,3282,3383,3247,3054,3151,3055,3498,3705,3440,3936,3846,2945,2358,2096,2341,3061,3163,3125,3129,3039,3893,4217,3792,3522,3551,3437,3381,3388,3378,3204,2728,2469,2590,2753,2963,2858,2531,2467,2911,2810,3041,3470,3752,3703,3617,3848,3490,2707,2802,2995,2966,3242,3230,3193,3449,3275,2624,2444,2803,3091,2436,1808,2092,3231,3658,3266,3139,2497,2065,2100,2521,2834,2466,2169,2212,2245,2367,2601,3272,3475,3643,3488,3293,3565,3914,3720,2949,2579,2404,2696,3414,3457,3417,3151,3299,3208,3320,3150,2784,2727,2834,3122,3328,3399,2706,1764,1777,2170,2130,1902,1897,2055,2287,2428,2602,2260,1654,1834,2647,3285,3171,2776,2190,2375,2493,2477,2380,1874,1746,1831,1823,1924,1909,1940],[3265,3108,2977,2639,3260,3671,3986,4296,3637,3011,2746,2271,1753,1503,1875,2339,2588,2751,2969,3062,3096,3122,3208,2984,2697,2433,2142,2744,3283,3317,3293,2982,3174,3392,3086,2949,3465,3448,2963,2854,2935,2739,2472,2547,2691,2895,2924,2680,2396,2545,2656,2712,2912,3176,3414,3672,3743,3669,3662,2828,2474,2689,3084,3326,3251,3637,3872,3661,3288,2418,2323,2808,3151,3124,2164,1914,1935,1936,1727,1654,1681,1837,1876,1556,1626,1616,1782,2250,2313,1859,1517,1627,1804,2010,2354,2675,3351,3299,2941,3146,2863,3142,3544,3352,2845,2587,3096,3491,3189,2823,2896,3371,3520,3716,3711,3935,3786,3927,4216,3928,3580,3540,3454,3683,3670,3625,3859,3826,3020,3295,3787,3463,3476,3574,3044,2058,1721,1732,1660,1840,1791,2081,1768,1627,2449,2901,2611,2248,2103,2220,2059,1976,1879,1915,1992,1643,1523,1552,1538,1618,1700,2018,1976,2314,2869,2535,2144,2258,2604,2360,2063,2407,2209,2337,2181,1685,2146,2669,2055,1731,1755,1831,1521,1477,1842,1921,2064,2153,2060,2000,1821,1812,1913,1816,1739,1956,2678,2947,2336,1784,1937,1756,1819,1782,1748,1635,1727,1606,1461,2099,2204,1997,2366,2000,1913,2120,1890,1781,1702,2015,2146,2344,2724,2350,1693,2096,1950,1743,2204,1671,1360,1231,1828,2474,2187,1897,2025,2536,2621,1959,1610,1769,1769,1653,1694,1572,1561,1703,1686,1582,1588,1670,1788,1588,1490,1708,1527,1536,1600,1579,1535,1584,1901,2210,1941,2023,2908,2780,1921,2044,1799,1581,1686,2059,1569,1258,1182,1560,2115,1876,1629,2027,2157,1656,1521,1453,1762,1856,2258,2878,2512,1886,1798,1903,2316,2068,1736,1700,1700,1628,1602,1709,1804,1924,1862,1821,2013,1892,2051,2256,2135,2241,2198,2288,2347,2003,1816,1857,1721,1944,2122,1909,1845,1686,2195,2237,1710,1741,1932,2248,1918,1647,1891,2341,2315,2176,2354,2100,1631,1620,1572,1407,1574,1836,1654,1720,1778,1692,1945,1913,1805,2388,2598,2408,2314,2852,3282,2742,2234,2115,2425,2644,2609,3056,3356,3421,3595,3028,2792,2736,2830,2358,2347,2535,2667,2806,2608,2122,1862,1862,1909,2078,1723,1575,2085,1910,2078,2296,2204,1962,1856,1604,1535,1961,2238,2146,1848,1582,1744,2155,2698,2424,2764,2809,2834,3161,2448,1666,1809,2143,1863,1851,2392,2916,2650,2267,2950,3020,2645,2456,2459,2956,2765,2738,2902,2412,3024,2762,2254,2414,2069,1669,1715,1781,1686,1937,1742,1874,1907,1843,1830,1969,2127,2071,2294,2622,2662,2878,3311,2889,2365,2039,2158,1955,1761,1603,1603,1886,1918,2085,2204,1928,1890,1824,1853,2390,2957,3121,3049,2937,2905,2417,2142,1928,1758,1929,2035,2239,2084,1581,1737,1885,2072,2631,2854,3166,2946,2610,2641,2524,2144,1789,1873,2120,1896,1772,2002,2286,2744,2240,1880,1931,2059,1924,1865,2011,2005,1876,1711,1767,1843,1700,1695,2171,2276,2409,2383,2377,2165,2364,2659,1908,2181,2166,1873,2045,3038,3417,3188,2308,2210,2396,1981,1811,1756,1498,1405,1450,2159,2708,2647,2364,1979,1887,2097,1753,1380,1696,1889,1664,2006,1821,1707,2114,2439,2005,1614,1619,1449,1592,1644,1600,1794,1760,1544,1724,1945,1835,1555,1592,1491,1555,1601,1632,2083,2512,2295,1565,1362,1831,2512,2342,1755,1469,1457,1381,1375,1390,2261,3420,2710,1718,1832,1638,1510,1463,1342,1664,2252,2075,1909,2006,1910,1873,1844,1500,1536,1654,1938,2188,1748,1941,2115,2170,2031,2251,2293,1738,1477,1672,1804,1721,1930,2045,1749,1694,1689,1505,1734,2031,2052,1866,1964,2084,1882,2082,1736,1471,1544,1532,1443,1452,1600,1539,1472,1574,1577,1560,1721,2206,2084,2061,3033,3749,3216,3596,4160,4086,4031,4309,4275,4115,4384,4568,4431,4660,4867,4968,5064,5048,4733,4359,4380,4049,3313,2700,2156,2136,1836,1852,1956,2372,2041,3199,4632,4532,3833,3277,3382,3891,3950,4199,4736,4632,4412,4107,4080,3952,3655,3812,4209,4239,4204,4117,3846,3184,2218,1976,1924,2203,2166,1814,1531,1393,1404,1513,1804,1992,1804,1676,1501,1481,1458,1838,1722,1672,2008,2194,1978,1881,1731,1660,1846,2305,2356,1693,1489,1433,1442,1289,1708,1799,1636,1566,1636,1506,1346,1298,1333,1196,1268,1239,1364,1436,1467,1367,1372,1508,1436,1566,2114,1734,1862,2029,1562,1389,1788,2236,2018,1597,1983,2928,2846,2243,1695,1426,1410,1632,1702,1600,2124,1914,1526,1461,1594,1484,1220,1284,1458,1466,1670,1814,2383,2841,2679,2514,2163,2391,2936,2548,1669,1535,1439,1377,1601,1333,1369,1366,1316,2391,3165,3039,2937,2705,2281,2209,1838,1475,1374,1387,1411,1648,1780,1980,2159,2034,1969,1938,1716,1609,2127,2630,2744,2934,2370,1715,1359,1141,1820,2806,2974,2820,2644,2202,1994,1765,1373,1363,1401,1815,1705,1533,1379,1352,1602,1949,2029,2132,1849,1663,1638,1404,1371,1535,1674,2117,1888,1526,1710,1567,1654,2059,1940,1717,1389,1263,1257,1522,1845,2352,2248,1935,1653,2021,1831,1299,1300,1491,1729,1768,1774,1910,2056,2108,2086,1845,1504,2057,3198,3521,3356,2770,2928,2915,2609,2511,2402,1898,1169,1059,1419,1406,1211,1475,2194,2493,2418,2266,2264,2286,2411,2454,2580,3160,3189,2508,1939,2055,2106,2033,2010,2113,2973,3002,2470,1904,1563,1644,1903,1775,1900,2222,2558,2309,1845,1782,2796,3344,3177,3176,2923,2381,2196,2154,1858,1780,1688,1688,2014,2125,2087,2103,1682,1882,1991,2160,2231,2140,1996,1983,1936,1870,2104,2086,2396,2226,2074,2930,3261,3930,4109,3633,2863,1969,1490,1390,1368,1428,1347,1459,1459,1495,1487,1561,1614,1938,1908,1658,1624,2166,3006,3327,2712,2188,2758,3056,2480,2120,1920,1643,1761,1784,1709,1895,1760,1372,1370,1337,1500,1531,1449,1958,2030,1821,1873,1902,1824,1808,1651,1811,1973,2090,1841,2041,2494,2653,2498,2059,1937,2394,2586,2059,2046,2045,1636,1738,1846,1366,1781,2082,1562,1527,1498,1568,1750,2164,2157,2067,2263,1908,1491,2502,1905,2082,2265,1867,1623,2188,2563,1869,1722,2388,2008,1815,2410,2513,2210,1759,1764,2450,2497,1922,1599,1440,1708,1759,1400,1591,1494,1488,1574,2105,2602,2638,2723,2430,2699,2791,2765,2980,2585,2114,1782,1726,1531,1801,1982,1746,2203,2678,2156,1696,1809,2199,2369,2452,2424,2139,2302,2237,2444,2052,2194,2177,1626,1684,1886,1816,1714,1871,1836,2117,2980,2938,2747,2492,2361,1778,1960,2033,1686,2223,2346,2599,2401,2320,2032,1677,1847,1734,1656,1861,1874,1687,1778,1869,1706,1661,1938,2160,1735,1571,1952,3128,3165,2645,2036,1818,1754,1625,1685,1679,1874,1917,1944,1952,1707,1512,1664,1845,1690,1505,1520,1475,1559,2042,2018,2132,1846,1954,2415,1851,1587,1851,1632,1465,1785,1817,2109,2014,1920,1556,1478,1568,1770,1848,1850,1461,1089,1045,1015,1131,1288,1697,2156,1997,1604,1397,1539,1829,2025,1662,1401,1352,1268,1610,2224,1716,1300,1531,1532,1469,1592,2011,2542,2883,2689,2541,3006,2924,2431,2515,2314,2536,2942,2253,1798,2106,2544,2519,1924,1524,1853,2274,2005,2020,1739,1776,1571,1830,1508,1694,2272,2022,1484,1377,1416,1574,1461,1688,2161,1993,1540,1644,1794,1572,1395,1586,1538,1595,2088,1979,2474,3386,2251,1620,1715,1478,1625,1617,1513,1595,1489,1587,1859,1779,1671,1842,1892,1760,1520,1466,1534,2221,1801,1693,2220,2454,2364,2129,2018,2216,2292,1937,2282,2241,2253,2332,2504,2244,1908,2520,2984,2962,2929,2484,2565,2149,2363,2585,2864,3382,3727,2845,1852,1505,1761,2088,2099,2003,1745,1949,2007,2041,2090,2056,1735,1748,1967,2284,2811,2974,2485,2396,2857,2641,2236,2586,2602,2500,2222,1997,2134,2411,2256,2043,2017,2392,2769,2736,2851,3157,2758,2701,3199,3376,2624,2400,2500,2553,2646,2363,2611,2357,2025,1893,2342,2974,3090,3062,3066,2886,2741,2922,3448,3771,3488,3017,3580,3752,3538,3604,3473,3187,2950,2312,2386,2968,3040,3175,3379,3200,3248,2857,2934,2946,2798,2507,2290,2442,2766,2655,2570,2835,2800,2686,2640,2636,3592,4006,4200,3745,2867,2607,2809,2889,2814,2807,2858,2735,2491,2185,2815,2562,2461,2278,2370,2598,2717,2928,3129,3294,3088,2761,2988,2661,2647,2701,2501,2521,2534,2692,2611,2328,2595,2853,2397,2590,2903,2587,2307,2177,1996,1867,1981,2146,1844,1707,1649,1989,2340,2631,2667,2280,2136,2619,3075,3566,3687,3081,2862,2854,2676,3006,3047,2787,2832,2536,1951,2104,1951,1739,1577,1967,2480,2478,1946,1853,1665,1618,1699,2127,2514,2408,1772,1323,1381,1828,2338,2154,2023,2200,2389,2480,2226,1890,2610,2880,2458,2876,3415,3129,2980,3150,3319,3271,2570,2503,3138,3941,4527,4356,3505,2810,2867,2716,2258,2077,2183,2353,2566,3516,3544,3715,3670,3625,3210,2820,2730,2601,2625,2302,1860,1737,1918,2614,2570,2443,2241,2353,3273,3239,2281,1895,2068,2475,2774,2744,3110,3498,3283,2742,2289,2688,3084,3408,3610,3698,3408,2829,2632,3139,2850,2504,2512,2561,3322,4057,4188,3913,3608,3405,3279,3145,3016,3208,3367,2910,2697,2739,2963,3332,3088,2474,2740,3085,3068,3300,3216,3044,3201,2902,3737,4029,3226,2632,2788,2954,3035,2932,3131,3365,2853,2095,1802,2441,3228,3027,2658,2592,2640,2520,2567,2441,2115,1996,2176,2430,2679,2777,3061,2453,2242,2696,2900,3264,3817,3964,3272,2849,3115,3495,3130,2458,2544,2535,2563,2602,3207,2924,2829,3343,3143,2970,2676,3001,3333,3404,3270,2898,2481,1980,1840,1986,2077,1869,1929,2310,2580,2298,2192,2160,1811,1676,1822,1986,2260,2286,2504,2513,2535,2574,2928,3078,2092,1929,2127,2165,2589,2734,2317],[3218,2818,2755,3106,3539,3560,3821,4008,3286,2567,2514,2751,2541,2698,2865,2796,2739,2978,3031,2810,2789,2955,2933,2801,2867,2599,2675,3327,3185,3078,3017,2823,2697,2483,2446,2576,3017,3209,2810,2575,2617,2376,2367,2389,2540,2798,2911,2880,2824,2801,2827,2931,2926,2869,3010,3652,3492,3356,3326,2467,2168,2822,3073,3255,3537,3628,3773,3661,2901,2283,2757,3107,2960,2364,1963,2197,2098,2132,1740,1432,1322,1824,1942,1817,1659,1690,2068,2619,2305,1633,1439,1724,2201,2146,1807,2041,3161,3408,3306,3210,2822,3328,3652,3358,3007,2993,3087,3364,3206,2799,2154,2931,3312,3580,3908,4202,3990,3927,4332,4273,3917,3728,3505,3496,3220,3387,3692,3936,3356,2967,3558,4028,4038,3464,2511,2039,2095,1896,2210,2071,2203,1869,1483,1648,1936,2299,2285,1867,2199,3131,2288,1873,1719,1654,1771,1669,1647,1875,2003,1843,1914,2280,2502,3220,4062,3146,2626,2491,2930,2325,2676,2791,2144,2232,2533,2138,2051,2190,1785,1566,1931,2195,1672,1439,1585,1653,2003,2011,2062,2227,2083,2097,2207,1701,1947,2536,2836,2855,2341,2543,2483,1975,1540,1830,1887,1515,1685,1789,1741,2260,2019,2286,3138,2519,2127,1990,2102,1869,1584,1839,2043,2077,2433,2301,1824,1786,1374,1245,1655,1719,1585,1181,1859,2663,2239,1994,1905,2325,2382,1620,1476,1995,1820,1749,1615,1476,1588,1737,1750,1837,1764,1788,1808,1593,1519,1428,1507,1558,1477,1531,1542,1693,1861,1943,1849,2071,2232,2101,2050,2433,1916,1551,1659,1901,1681,1348,1384,1713,1949,1735,2077,2116,2353,1942,1527,1461,1630,1985,2555,2878,2443,1673,1628,2059,2245,1786,1600,1492,1333,1344,1412,1527,1691,2090,2094,2102,2243,1713,2151,2124,1689,1688,1881,2040,2192,2181,2222,2347,2168,1958,2023,1952,1892,1763,1826,1722,1554,1634,1780,1934,1896,1713,2047,2321,2107,2106,2865,2400,1713,1713,1893,1770,1578,1553,1835,1955,1637,1648,1828,1958,2324,2931,3097,2700,2669,2640,2381,2200,2563,2539,2414,2778,3012,3034,2758,2707,3272,3486,3394,3389,3140,2763,2430,2573,2946,2824,2864,2266,2194,1959,2074,1973,1935,1956,2155,2363,2684,2492,1999,1713,1788,1567,1459,1678,1834,2020,2059,1680,1708,2296,2449,2617,3138,2724,2361,2331,1903,1928,2172,2331,2081,1908,2448,2765,2339,2125,2442,2384,2345,2318,2403,2976,3139,2962,2825,2455,3043,3065,2596,1782,1255,1442,1836,2024,1864,1670,1946,2077,2094,2120,1934,1681,1697,1618,2019,2692,2151,2205,2691,2604,2495,2331,2069,1740,1710,1686,2155,2416,2018,1976,1990,1821,1607,1716,2093,2803,3261,3189,2985,2834,2569,1732,1693,1935,1879,2353,2143,2225,1992,1817,1827,1866,1974,1923,1645,1656,2062,2467,2725,2749,2900,2647,2354,2674,2652,2195,2354,2879,3420,3267,2736,2244,1886,1796,2100,1989,1886,1758,1636,1598,1378,1521,1788,1924,2005,2265,2579,2297,1666,2136,2528,2040,2446,1954,1640,2147,3063,3664,3284,2535,2809,2863,1938,1603,1779,1853,1118,1089,1760,2102,2288,2233,1800,1666,1643,1453,1561,1977,1911,1637,1882,1662,1618,1806,1743,1583,1698,1825,1741,1669,1425,1442,1682,1716,1626,1942,2089,2217,1796,1633,1658,1605,1595,1553,1685,2059,2267,1682,1331,1548,1843,1963,1752,1540,1388,1385,1482,1490,2188,3365,3062,2372,2367,1969,1612,1490,1498,1725,2070,1900,1667,1831,1875,1938,1925,1735,2025,1719,1615,1521,1868,1898,1628,1747,1793,1836,1724,1494,1562,1577,1612,1720,1840,1642,1420,1597,1643,1464,1730,1987,1772,1795,2287,2134,2080,1954,1614,1477,1442,1483,1531,1550,1721,1694,1637,1638,1624,1637,1833,2075,1787,1583,2502,3221,2735,3203,4052,3873,3884,4465,4461,4291,4319,4500,4475,4764,4660,4665,4672,4658,4699,4462,4568,4472,3354,2877,2878,2988,2198,1898,1967,2264,2322,3270,4352,4201,3703,3451,3497,3450,3723,4276,4841,4859,4576,4066,3771,3688,3415,3447,3769,3745,3896,3724,3486,2625,2013,1927,1997,2332,2202,1732,1567,1604,1683,1790,1886,1836,1625,1490,1401,1361,1317,1744,1937,1825,1816,1972,2165,1883,1477,1564,1502,1549,1774,1610,1524,1440,1367,1461,1717,1817,1558,1454,1487,1470,1404,1497,1410,1357,1396,1311,1405,1463,1375,1366,1570,1827,1679,1981,2345,2049,2106,1997,2036,2007,2535,3212,2824,2190,2146,2597,2609,2223,1683,1349,1584,1491,1463,1702,2011,2002,1985,2001,1573,1294,1132,1482,1418,1410,1748,2095,2366,2276,1970,2042,2079,2036,2222,2471,2381,1928,1578,1624,1517,1278,1484,1831,1722,2129,3133,2987,2509,2579,2850,3227,2517,1769,1533,1543,1486,1553,1578,2074,2271,1998,1979,1902,1838,1779,2576,3030,2309,2215,1927,1621,1395,1397,2220,2820,2973,2856,2751,2154,2175,1759,1379,1248,1334,1636,1560,1420,1357,1533,1754,1793,1702,1699,1537,1408,1779,1632,1384,1259,1678,2071,1793,1534,1479,1247,1470,2035,2061,1725,1334,1208,1508,1872,2188,2241,2073,1947,1871,1714,1376,1215,1295,1481,1645,1738,2078,2935,2725,2437,1881,1624,1947,3020,3567,3076,2654,2064,2308,2209,1991,1977,2410,2276,1646,1758,1795,1719,1484,1439,2100,2550,2655,2422,2150,2793,2557,2008,2153,3227,4020,3171,2148,2173,1751,1606,1548,1865,2501,2544,1771,1558,1475,1561,1816,2373,2688,2498,2226,2035,1990,1957,2938,3352,3708,3464,3630,3333,2464,2055,2073,2101,2117,1736,1673,1925,2072,2100,1694,1714,1648,2037,2378,2531,2688,2493,2203,1899,2398,2309,2122,2388,2574,3317,3726,3920,4002,3837,3509,3200,2124,1483,1459,1404,1323,1323,1331,1621,1532,1573,1660,1749,1961,1969,2576,2834,2619,2107,1825,1979,2261,2457,1907,1670,1434,1244,1291,1246,1455,1949,1835,1460,1395,1487,1441,1476,1729,2053,1758,1482,1655,1816,1534,1728,1682,1564,1795,1790,1853,2031,2045,2229,2400,2420,2202,2197,2293,1923,2099,1967,1509,1321,1957,1712,1488,1442,1500,1555,1538,1510,1911,2339,2004,2014,2330,2198,1697,2332,2189,2097,1782,1726,1916,2022,2292,1926,1571,1697,1520,1599,2062,1809,1653,1661,1458,1654,1831,1901,1824,1548,1533,1651,1421,1573,1515,1501,1788,2333,2548,2464,2257,2743,3486,3183,2833,2740,2853,2053,1571,2029,1878,1675,1963,1942,1909,2008,1932,1717,1847,1844,2214,2458,2378,1812,2185,2522,2480,2302,2454,2273,1528,1620,1828,2131,1831,1960,1807,1785,2432,2843,2308,2160,2320,1962,2014,2080,2070,1997,2171,2512,2068,1697,2114,2141,1753,1680,1940,2427,2691,2010,1731,1701,1831,2436,3141,2879,1821,1941,2233,2146,2408,2222,1963,2212,1563,1725,1851,1900,2149,1959,1866,1729,1824,1886,1995,2414,2328,1943,2041,1842,1818,2166,2177,2412,1959,2052,2346,1936,1734,1708,1366,1540,1721,1544,1689,1468,1619,1591,1393,1525,1742,1791,1884,1622,1404,1444,1225,1306,1925,2009,1948,1553,1370,1929,1945,1618,1793,1458,1421,1432,1362,1492,1822,1484,1300,1421,1477,1718,2123,2307,2370,2712,3204,3266,3376,3038,2435,2334,2416,2832,2584,2153,2038,2435,2745,2085,1598,1545,2025,2530,2342,2735,2046,2127,1826,1584,1833,2189,2088,1822,1653,1561,1782,2150,1513,1543,1562,1282,1444,1821,1796,1570,1457,1384,1278,1886,2313,2042,2608,2799,1849,1475,1500,1218,1543,1658,1588,1860,1780,1747,1854,2277,2528,2438,1860,1474,1538,1486,1887,2068,1505,1635,1808,2195,2663,2655,2512,2416,2174,2019,1953,2263,2409,2190,2076,1943,1747,2129,2491,2962,2367,1961,2194,1602,1652,2281,2824,3662,4042,3031,1810,1447,1825,2398,2047,1950,2115,2621,2610,2431,2095,1720,1521,1838,2273,2596,3089,2987,2644,2865,3053,3182,2966,2514,2258,2154,1836,1844,2038,1992,1675,1685,2077,2811,2636,2454,2851,3376,3239,2774,2744,2629,1975,1842,2017,2314,2495,2253,2398,2514,2433,2222,2523,3184,3095,2909,3017,2796,2772,3362,3920,3721,3520,3140,3379,3579,3808,3941,3025,2629,2554,2296,2470,2569,2967,3499,3694,3691,3814,3528,3175,2886,2641,2327,2180,2289,2424,2343,2491,2998,3029,2996,2513,2215,2576,3277,3725,3458,2817,2829,2986,2937,2853,2656,2818,3570,3375,2521,2587,2767,2641,2091,1782,2271,2523,2938,3448,3109,2644,2817,3335,3103,3116,3150,3041,2871,2732,2788,2432,2447,2837,2955,2869,2430,2023,2054,2401,2378,2279,2224,2207,1815,1571,1493,1367,1875,2071,2329,2731,2631,2395,3243,3930,3949,3792,3330,2878,2511,2553,3130,2556,2464,3183,2518,1752,1797,2009,1838,1708,1721,1726,1768,1885,1904,1729,1771,1617,1858,2049,2385,2245,1758,1686,2220,2435,2083,2346,2557,2212,2404,2828,2883,3430,3724,3603,3517,3508,3384,2987,2685,2645,3075,3105,3602,3984,4182,4255,3684,2995,2901,3062,2613,1969,2053,2299,2745,2664,3440,3523,3474,3438,3041,2488,2500,2618,2452,2511,2524,2143,1864,1966,2381,2256,1859,2136,2533,2934,2851,2523,2545,2593,2349,2127,2252,3293,3328,2841,2050,1474,1613,2482,2888,3155,3501,3419,3177,3270,3038,2319,2608,2486,2680,3308,3306,3053,3162,3443,3438,3283,3015,3033,3398,3399,3473,3191,2245,2367,3201,3189,2755,2872,3120,3228,3484,3312,3027,2596,2185,3312,4344,3643,2761,2787,2760,2684,2878,3123,3167,3039,2479,2217,2707,2820,3120,3477,3108,2429,2116,2285,2604,2537,2184,2289,2686,3120,2789,3140,2490,2676,2917,2851,2963,3462,3597,3059,2930,3076,3177,2363,2387,2713,2368,2648,3296,3118,2530,2945,3060,2589,2511,2573,3203,3140,3464,3345,2648,1770,1866,1905,2032,2332,2065,1845,2518,3300,2968,2733,2420,2013,2330,2285,2221,1996,1459,1833,2399,2927,3243,3721,3522,2215,2039,1966,1968,2701,2907,2520],[2901,2721,2902,3374,2937,3070,3287,3514,3256,3173,3384,3459,2742,2656,3020,2904,2998,3209,3156,2852,2756,2796,2253,2121,2955,3054,3175,3431,3005,2589,2527,2018,1803,1756,2501,2941,3122,3188,3085,2739,2568,2498,2390,2284,2544,2957,2834,2766,2856,2955,3094,3139,2959,2567,2689,3347,3303,3120,3104,2624,2115,2376,2654,3034,3454,3565,3548,3584,2810,2407,2754,2562,2142,1937,1880,2220,1955,1694,1748,1764,1438,1581,1908,2024,2117,2081,2340,2305,1901,1611,1823,1856,2233,2088,1848,2100,2788,2619,2811,2755,2662,3168,3510,3539,3059,3037,3294,3333,3384,2997,2154,2661,3464,3746,3760,3975,4243,4155,4243,4156,3737,3905,3624,3394,3314,3541,3400,3312,3168,3273,3453,3732,3640,3353,2288,1859,2026,1741,2535,2872,2511,1787,1630,1700,1774,1861,1856,2003,2053,2517,2077,1626,1527,1573,1587,1691,1635,1748,1774,1709,2059,1996,2377,3298,3950,3562,3531,3359,3090,2665,3040,2883,2475,2498,2570,2088,2044,1993,1666,1409,1473,1823,1699,1504,1437,1526,1839,1938,1859,2329,2518,2293,2723,2437,2736,3074,2683,2610,2722,2768,2790,2396,1902,2127,2007,1571,1731,2027,2470,2444,2244,2477,2880,2521,2084,1923,1730,1635,1827,2332,2413,2268,2316,2178,1875,1528,1329,1515,1698,1960,2017,1667,2127,2668,2211,1874,1636,1814,2359,2708,2984,2361,1650,1641,1712,1716,1730,1811,2286,2801,2320,2203,1917,1591,1472,1424,1526,1513,1491,1567,1518,1600,1562,1715,1936,1922,1626,1605,1663,1736,1867,1983,1932,1980,1780,1460,1703,1848,1680,1801,2221,1721,1704,1897,1582,1446,1469,1545,1591,1807,2066,1448,1545,1991,1656,1440,1568,1420,1390,1433,1514,1787,2275,2258,1859,2031,2605,1830,2052,2037,1897,2144,2396,2198,1827,1689,1840,2082,1915,1947,2024,2225,2077,1948,2043,1876,1700,1685,1605,1743,1875,1684,1855,1548,1794,2225,2745,2725,2239,2100,2332,1886,1378,1637,1964,1708,1522,1448,1487,1729,2562,3028,3364,3089,2727,2668,2611,2652,3041,3398,3055,3176,3431,3095,2842,2984,3175,3284,3432,3814,3672,2794,2357,2956,3082,2520,2183,1982,2473,1881,1787,2007,2240,2069,1928,2448,2620,1985,1731,1948,1871,1993,1847,1801,1716,1886,2019,1871,1950,2174,2222,2518,2668,1980,1656,1885,2448,2617,2231,2512,2957,2669,2570,2820,2326,1484,1607,2144,1822,1753,2569,3863,3371,3288,3218,2846,2916,3201,2790,2007,1825,1627,2326,2488,2070,1685,1904,2270,2054,1901,2060,2018,2000,1821,1870,2634,1926,1798,2226,2631,2776,2407,1842,1735,1739,2094,2455,2107,2319,2693,2008,1704,1856,1762,1754,2256,2965,3316,2756,2651,2578,2222,2062,2330,2330,2246,1961,1884,1875,2024,2030,1964,1920,1782,1679,1575,1593,2093,2464,2523,2956,2818,2447,2355,2544,2387,2432,2989,3216,3095,2854,2555,2692,2742,2466,1992,2050,2023,2044,1966,1504,1503,1656,1585,1730,2714,3488,2790,1913,2298,2241,1924,2062,2072,2046,2420,3266,3707,3277,2591,2836,2865,2044,1957,2229,1815,1284,1300,1654,1705,1409,1320,1430,1736,1701,1622,1635,1792,1880,1710,1716,1617,1587,1609,1604,1606,1485,1559,1796,1871,1618,1544,1504,1483,1598,2157,1972,1521,1569,1638,1490,1593,1856,1777,1486,1744,2391,1910,1391,1470,1538,1519,1578,1711,1614,1282,1570,1575,1611,2228,2806,2758,2728,2089,1666,1437,1409,1586,1552,1572,1682,1875,1842,1803,1838,1997,1965,1801,1822,1550,1772,1793,1389,1470,1383,1532,1654,1579,1426,1442,1471,1486,1686,1699,1568,1779,1814,1600,1672,1636,1566,1855,2311,2165,2147,1917,1730,1600,1602,1803,1794,1797,1667,1595,1624,1579,1630,2442,2594,1928,1710,1786,2714,3354,3100,3333,3515,3881,4284,4257,4212,4315,4428,4307,4372,4675,4760,4763,4819,4820,4776,4540,4236,4095,3392,4001,4340,4253,2754,1827,2072,2092,2462,3431,4292,3794,3117,3344,3765,3840,3968,4341,4332,4138,4251,4068,3792,3615,3632,3582,3356,2927,3428,3392,2828,2217,1993,1974,2026,2069,1757,1470,1502,1646,2113,2303,1754,1513,1504,1430,1429,1478,1478,1640,1841,1805,1587,2003,2447,2056,1732,1586,1519,1422,1566,1592,1486,1471,1600,1665,1780,1781,1520,1439,1490,1526,1446,1521,1469,1436,1423,1393,1439,1481,1492,1775,2334,2366,1815,2070,1907,1903,1900,1839,2216,2586,3253,3525,3318,2576,2004,2009,1894,1596,1532,1415,1491,1409,1435,1820,2218,2126,2166,2366,1498,1247,1363,1636,1616,1650,1936,2247,2579,2632,1918,1598,1876,2137,2014,2207,2512,2095,1584,1518,1308,1193,1851,2798,2574,2467,3003,2336,1706,2002,2941,3687,3506,2119,1536,1600,1450,1697,2248,2471,2233,1887,1999,2069,1896,1876,2580,3019,2212,1838,1819,1884,1517,1831,2574,2922,3532,3389,3088,1888,1487,1359,1288,1225,1253,1510,1810,1714,1549,1470,1560,1667,1609,1668,1910,1880,2356,2107,1616,1702,1785,1615,1481,1410,1395,1333,1538,1935,1789,1637,1498,1537,2062,2160,1900,1921,2110,1898,1503,1517,1431,1602,1558,1486,1566,1760,2428,2517,2392,2348,1733,1649,2126,2744,2829,2078,1740,1663,1874,2127,2327,1859,2282,2409,1647,1699,1901,2449,1854,1362,1929,2451,2788,2900,3122,3438,2617,1748,1875,2927,3362,2994,2456,2450,2347,1629,1683,1941,2330,1914,1808,2370,2042,1476,1833,2950,2896,2609,2426,2448,2100,2105,2424,2769,3078,3031,2812,2373,2007,1929,2255,2059,2370,2024,2086,2464,2766,2373,2096,2259,2242,2689,2708,2707,2836,2800,2514,2309,2939,2633,2093,1717,1862,2945,3617,3555,3804,3948,3926,3949,2408,1951,2300,1765,1347,1345,1428,1700,1613,1700,1847,2138,2918,2883,3152,3119,2178,1873,1728,1915,2018,1699,1452,1393,1323,1384,1472,1443,1534,1603,1702,1507,1478,1660,1455,1494,1606,1410,1625,1898,1593,1519,1444,1711,1667,1836,1838,1459,1634,1677,2064,2354,2343,2639,2387,1791,1472,1487,1740,1588,1660,1833,1962,1530,1382,1726,1736,1482,1579,1675,2014,1938,1681,1675,2389,2626,1932,1663,2066,2448,2322,2490,2193,1730,1707,1626,1552,1404,1594,1654,1633,1412,1847,2017,1278,1179,1708,1992,1973,1671,1482,1601,1559,1649,1915,1782,1760,2116,2499,2445,2201,3041,3554,3327,3068,3187,3211,2356,1692,1888,1823,1615,1986,2042,1616,1630,1943,2047,1909,2106,2024,2069,2012,1996,2412,2153,1785,1755,1816,2022,1548,1542,1779,2294,1860,1625,1565,1564,2056,2236,1740,1723,1874,2094,1934,1851,1960,1793,2048,2107,1858,1779,2392,2841,2618,2047,1902,2226,2432,2166,1948,1872,2408,3142,3507,2769,1879,2115,2077,1632,1862,1838,1442,1330,1290,1884,2080,2194,2100,1996,1914,1681,1743,1837,2004,2182,1965,2127,2644,2555,2452,2246,2136,2130,2052,2270,2289,2105,2014,1865,1768,1485,1280,1255,1428,1382,1449,1478,1544,1707,1692,1704,1867,1777,1511,1364,1396,1421,1627,1584,1542,1487,1520,2112,2428,2235,2170,1564,1330,1370,1498,1514,1506,1392,1453,1802,2304,2588,2508,2319,2374,2514,3465,3459,3264,3037,2555,2377,2632,2931,2766,2533,2400,2475,2954,2769,2467,2511,2644,2532,2464,2623,2425,2344,2035,1619,1828,2030,1698,1908,2015,1563,1710,1847,1501,1432,1388,1758,1977,1692,1780,1843,1820,1549,1650,2087,2242,2204,2216,1611,1511,1506,1424,1311,1460,1481,1564,1851,1722,1774,1769,2047,2604,2007,1783,1687,1562,1624,2222,2016,1513,1602,1578,1955,2603,2907,3300,2883,2842,2476,2068,2179,2074,1958,2251,2239,1723,1975,2706,2958,1950,1858,1934,1901,1828,2344,2620,2419,2553,2584,1758,1481,1892,2033,1886,2210,2430,2600,2666,2356,1848,1717,1588,1829,2608,2863,2891,2652,3175,3166,3141,2890,3069,2501,1774,1569,1699,1976,1852,1813,1624,1588,1726,1836,1806,1797,2734,3681,3182,2298,2197,2295,2183,2223,1870,2171,2996,2531,2681,2802,2634,2235,2490,3011,2625,2595,3230,3411,3000,3076,3418,3506,3294,3221,3520,3725,4015,3459,2534,2755,3154,3461,3292,2860,2915,3145,3266,3388,3421,3186,3248,3098,2536,2629,3263,2945,2974,3199,3210,3030,2928,2972,2876,2466,2744,2910,2694,2735,2552,2534,2769,2951,2918,2714,3146,3849,3614,2863,3132,3400,3100,2463,2004,2540,2250,2521,2931,2977,2868,3107,3564,3370,3394,3473,3618,3353,2799,2480,2310,2648,2986,2952,2780,2274,2282,2515,2483,2280,2118,2337,2546,1789,1758,1897,1265,1520,1466,1600,2168,2625,3018,3218,3292,3864,3714,3243,2721,2350,2850,2854,2254,2045,2587,2586,1898,1716,1950,1938,1807,1592,1466,1641,1938,1664,1804,1826,1739,2032,1957,2177,2633,2013,1989,2163,1839,1936,1996,2233,2150,2268,2777,3312,3458,3088,2742,2862,2968,3053,2824,2518,2316,2679,3250,3752,3973,3815,3426,3610,3594,2931,2972,2787,2177,2195,2461,2940,2900,3022,3120,2908,2532,2587,2336,1941,2365,2864,2912,2392,2025,2085,1915,1833,1894,1882,1866,1730,1852,2382,2565,2675,2963,3034,2917,2623,2721,3024,2548,1925,1782,2004,2062,2254,3019,3420,3259,3492,3573,3177,3283,3210,3068,2822,2921,3112,2712,2586,3300,3508,3352,3252,3338,3410,2958,2918,2630,1929,2120,2708,2790,2226,2261,2975,3182,3415,3310,2901,2282,2418,3028,3461,3037,2879,3190,3042,2754,2558,2754,3056,3372,2986,3038,2775,2805,2897,2874,2895,2867,2867,2956,2777,2437,2556,2570,2776,2584,1770,2170,2875,3452,3356,3075,3118,3238,3089,3338,3522,3216,3045,2216,2670,3127,2708,3354,3648,2739,2808,3067,2363,1833,2363,2662,2972,3240,3231,3011,2137,1832,2105,1903,1886,2035,2115,2106,2851,3610,3228,3190,2954,2407,2332,2220,2306,2077,1765,1728,2065,3121,3271,3342,2974,2621,3031,2316,1995,2418,2762,2678],[2610,2769,2956,3519,3189,2611,2717,3123,3400,3670,3885,3536,3123,3238,3292,3133,3142,3137,3191,2793,2536,2460,2394,2514,2768,2989,2846,2757,2835,2652,2691,2182,1632,1903,2791,3251,3274,3211,3141,3090,3011,2685,2693,2684,2624,3004,2786,2588,2643,2857,3111,3243,3146,2883,3242,3463,3238,2983,2921,3220,2244,1972,2160,2729,3344,3438,3601,3723,3374,3004,2749,2318,2407,1830,1476,1493,1639,1685,1692,1950,1951,1945,1873,2113,2546,2338,2258,2019,2178,2344,2106,2403,2764,2221,1981,2053,2038,1943,2260,2346,2342,2510,2524,3300,3270,3406,3555,3483,3614,3201,2564,2997,3898,3927,3825,3923,4028,4231,4232,4036,3885,3717,3535,3475,3495,3373,2814,2695,3269,3237,3041,3066,2401,2679,2527,1900,1909,1831,2272,2490,2136,1752,1815,1665,1734,1866,1836,2158,2142,2904,2115,1541,1564,1503,1719,2001,1991,2177,1915,2042,2612,2502,2806,3008,3430,4006,4052,3673,2825,2394,2535,2595,2734,2354,2403,1866,1742,1768,1589,1418,1750,1857,1674,1452,1404,1662,1943,2087,2080,2414,2443,2885,3209,2930,2832,2776,2614,2991,2931,2222,2621,2607,2051,1929,1838,1619,1722,1794,1658,1826,2299,2291,2562,2593,2092,2271,2411,2341,2365,2421,2531,2474,2418,2373,2077,1657,1499,1640,1740,1824,1873,1551,1688,2236,2135,1946,1766,1748,2415,2951,2952,2687,2602,2346,1891,1422,1651,1854,2690,3198,3341,3108,3133,2619,1660,1527,1672,1482,1527,2042,1682,1405,1468,1752,2259,1948,1603,1671,1635,1585,2097,2408,2020,1923,1517,1603,1926,1839,1638,1926,1769,1392,1399,1449,1605,1682,1539,1459,1693,1952,1731,1528,1823,1660,1544,1482,1400,1454,1546,1567,1707,1904,2410,1977,1669,2149,2668,1884,1747,1739,1892,2709,2998,2262,2045,1989,1848,1820,1690,1890,1775,1798,2266,2083,1691,1796,1866,1907,1736,1659,1535,1667,1676,1508,1757,2276,2320,2482,2571,2540,2376,1974,1620,1699,1744,1533,1595,1534,1561,1497,1759,1978,2546,2851,2447,2310,2442,2635,3085,3386,3379,3628,3736,3263,3067,3384,3522,3341,3396,3936,3660,2724,2968,3539,3483,2902,2011,1712,2194,2029,1631,1782,1911,1656,1764,2046,2012,2150,1851,1637,1756,2136,2006,1833,1708,1747,1790,1742,1811,2031,2174,2518,2267,1506,1816,2427,2872,2749,2049,2275,2856,2602,2674,2744,2335,1591,1675,1991,1835,2072,2864,3089,3093,3186,2917,2786,2956,2551,1981,1800,2138,2002,2734,2584,2286,2176,2008,2169,2019,2001,2231,2155,2455,2305,2084,2744,2180,2272,2535,2419,2518,2139,1622,1720,1639,2111,2100,2004,1995,1996,1531,1816,2433,2046,1811,1801,1934,2076,2285,2188,1967,2147,2255,2480,2445,2039,1856,1733,1858,2346,2562,2241,2120,2219,1902,1552,1762,2161,2121,2143,2326,1941,1939,1968,1903,2023,2382,2690,2889,2436,2241,2377,2925,3490,3437,2732,2593,2900,3266,2709,1769,1755,2015,2241,2402,3179,3376,2502,1928,2008,1638,1716,2045,2453,2598,2235,2290,2880,2998,3099,3433,3100,2165,2377,2370,1733,1527,1476,1617,1704,1454,1502,1656,1904,1772,1387,1216,1524,1659,1659,1914,2111,2067,1648,1763,1995,1641,1448,1537,1723,1832,1621,1438,1364,1431,1738,1576,1527,1704,1655,1501,1496,1928,1840,1583,2073,2479,1870,1580,1701,1607,1591,1564,1809,1723,1470,1656,1531,1376,1669,2536,3028,2400,1697,1541,1395,1603,1639,1423,1623,1744,1926,1967,1809,1716,1843,1815,1674,1424,1431,1665,1761,1446,1454,1555,1671,1752,1742,1440,1304,1383,1444,1444,1460,1626,2255,2272,1725,1880,1887,1533,1823,1930,1977,1892,1605,1642,1637,1638,1632,1809,2079,2106,1661,1571,1666,1772,2563,2558,1815,1560,1632,2454,3549,3812,3767,3642,3450,3732,3996,3962,4030,4196,4424,4316,4471,4940,5043,5205,5341,4914,4572,4280,3548,3626,4689,4860,4629,3032,1784,2257,2085,2388,3146,3507,3271,3349,3597,3824,3874,3805,4050,4244,4324,4377,3960,4087,4239,4046,3938,3310,2992,3500,3203,2427,2050,1941,1849,1741,1733,1493,1471,1491,1236,1802,2142,1914,1665,1458,1417,1459,1497,1412,1413,1539,1589,1559,1876,2032,1805,1692,1621,1577,1472,1421,1478,1460,1586,1677,1480,1654,1710,1501,1393,1433,1386,1572,1745,1598,1491,1462,1409,1506,1782,1687,1986,2365,2260,2268,2380,2247,1986,2137,2543,2350,2225,2800,3034,3410,2127,1808,1990,1978,1939,2219,2259,1725,1555,1569,1760,2003,1654,1605,1803,1673,1554,1633,1541,1521,1801,2215,2128,2325,2787,2723,1874,2056,2092,2026,1857,1741,1698,1493,1520,1570,1465,1845,2875,3530,3342,2524,1837,1641,1981,2808,3288,3145,2160,1701,1743,1482,1720,2608,2726,2509,2287,2106,1986,1788,2148,2695,2607,2272,1748,1520,1834,1664,2308,2613,3100,3250,3370,2919,1763,1352,1377,1335,1323,1362,1477,1582,1735,1815,1440,1478,1602,1850,2133,2317,2166,2025,1873,1888,1940,1528,1288,1321,1595,1719,1526,1383,1570,1649,1775,1734,1820,2216,2174,2026,1914,1631,1546,1646,1689,1562,1521,1585,1647,1501,1753,2485,2401,2116,2321,2037,1529,1943,2125,2062,1705,1841,1809,1821,2054,2293,2195,2266,2178,1709,1779,1919,2478,1874,1541,1992,2531,2468,2229,2770,2935,2394,2291,2257,2385,2166,2529,2145,2237,2369,2149,2144,1854,1876,1780,2097,2833,2783,1959,1768,2693,2817,2535,2166,2342,2214,2106,2198,2459,2613,2300,1774,1561,1615,1917,2409,2188,2397,2491,2371,2388,3175,2977,2388,2620,2157,2050,2543,2599,2544,2351,2161,2175,2398,2197,2081,1858,2102,3008,3045,2943,3310,3726,3782,3624,2065,2398,3107,2142,1456,1437,1375,1539,1958,2331,2170,1958,3117,3449,3548,3306,2142,1767,2071,2598,2465,1504,1453,1525,1388,1484,1716,1840,1526,1230,1346,1414,1808,1886,1557,1490,1613,1610,1606,1551,1297,1432,1507,1566,1462,1635,1692,1567,1502,1642,2216,2216,2287,2770,2672,1816,1491,1944,2130,2155,2094,2048,1815,1782,1943,2189,1901,1567,1540,1521,1725,1869,1824,1691,1764,1961,1829,1536,1906,2283,2166,2028,1949,1671,1538,1461,1298,1582,1896,1886,1711,1496,1990,2113,1604,1476,2218,2226,1970,1808,1545,1665,1974,2133,2199,1866,1659,2230,2750,2700,2710,2996,2889,3132,2989,3033,3245,2999,2176,1877,1815,1907,2410,2368,1904,1935,2292,2465,1970,1785,2080,2215,2254,2452,1946,1548,1610,1813,2039,2062,1661,1737,2199,2386,1925,1598,1648,1586,1736,1780,1456,1455,1741,2024,1998,1748,1581,1715,2120,2191,1904,1748,2009,2554,3311,2584,2098,2171,2097,1956,2148,2382,2360,2490,2872,2590,2146,1707,1736,1702,2009,1798,1231,967,1370,2024,2350,2482,2272,2036,1816,1715,1782,1707,1638,1641,1561,1528,2120,2831,2675,2211,1843,1549,1741,1965,2056,1929,1968,1941,2006,1593,1506,1728,1617,1302,1267,1420,1826,1768,1514,1490,1764,1807,1365,1180,1566,1592,1570,1699,1579,1336,1420,1580,1684,2060,1768,1439,1290,1376,1583,1538,1494,1823,2222,2268,2165,1821,1583,1916,2459,2299,3275,3653,3459,3110,2639,2417,2437,2545,2620,2685,2615,2475,2702,3066,2706,3161,2818,2033,2099,2466,2252,1990,1941,1560,1298,1861,1878,1783,1699,1525,1578,1540,1662,1909,2020,2194,1691,1500,1863,1910,1911,1802,1891,1884,1882,2070,1931,1676,1730,1658,1503,1413,1504,1547,1577,1583,1559,1574,1786,1842,1630,1488,1643,1666,1609,1690,2131,2288,1915,1882,1794,2094,2377,2851,2927,3197,3781,3066,2132,1934,2161,2019,2030,1962,1748,1836,2778,3271,2574,2209,1807,1736,1938,2200,2381,2119,1805,1691,1624,1887,1943,1854,1815,1907,2124,2022,2075,1975,1610,1666,1700,1655,2404,2568,2951,3065,3495,3167,2920,2603,2441,2403,1985,1627,2010,1958,1865,2090,2128,1780,1813,2134,2424,2359,3106,3355,2338,1676,2077,1898,1918,2005,1635,2337,3489,2978,2898,3021,2729,2327,2454,2543,2545,3155,3681,3552,3132,2943,3264,3422,3172,3030,3295,3492,3270,2714,2596,2911,3046,3187,3168,3328,3000,2730,3053,3220,3326,3526,3369,3015,2424,2579,2991,3095,3177,3450,3191,2406,2319,2511,2832,3041,3029,2908,2501,2655,2685,2800,2910,2988,2963,2852,3421,3850,3399,2819,3127,3329,3183,2945,2546,2363,2325,2344,2280,2877,3255,3549,3707,3551,3543,3601,3771,3689,3010,2416,2570,2520,2667,3182,3226,2717,2684,2461,2036,2130,2219,2236,2324,2199,1857,1741,1759,1950,2013,2610,2880,2960,3708,3579,3425,3384,3286,3161,2997,2983,3642,3363,2801,2192,2087,2243,2056,1928,1694,1909,1961,1730,1535,1676,1886,1626,1714,1672,1949,2339,1926,1928,1980,2158,1754,1693,1824,1903,1611,1735,2303,2841,3020,3110,3382,3272,2710,2655,2741,2868,2585,2198,2321,2469,2708,3049,3311,3117,2963,3545,4273,3574,3583,3490,2763,2300,2436,2663,2994,3204,3348,2984,2458,2619,2479,2307,2972,3426,3862,2870,1829,1790,1692,1684,1886,1916,1708,1721,1897,2145,2039,2354,3418,3592,3474,3397,3106,3074,3100,2409,2158,2275,2677,3518,3439,3272,3211,3166,3373,3550,3171,2635,2633,2639,2979,3067,2832,2164,3178,3391,3427,3342,3232,2653,1980,2008,2026,2109,2308,2625,2362,1996,2512,3119,3087,3253,2930,2502,2706,2897,2974,2939,2845,3071,3608,3495,2493,2267,2431,2997,3506,3521,3414,3187,3241,3040,2814,3215,3383,3245,3207,2796,2561,2545,2360,2742,2405,1516,2043,3431,3773,3489,3307,3075,3068,3182,3625,3771,3515,2641,2319,3066,3473,3047,3233,3139,2369,2750,2670,1895,1812,2713,3150,3297,3233,3189,2885,2298,2187,2018,1944,1853,2151,2671,2366,3078,3010,3081,3142,2547,2020,1907,1989,2359,2136,2380,2365,2670,2909,2836,2452,2473,3304,3401,2277,1949,2384,2886,2722],[2382,2697,2431,2944,2944,2610,2914,3115,3104,3362,3504,3142,3145,3414,3296,3317,3163,3000,3029,2401,2009,2252,2806,2757,2461,2515,2216,2476,3448,3174,2649,1975,1797,2288,2741,3138,3322,3227,2922,2993,3407,3195,2846,2577,2299,2639,2596,2532,2729,3145,3262,3238,3158,3144,3671,3474,3076,2370,2374,3407,2802,2066,1854,2395,2862,3337,3894,3935,3382,2242,2265,2384,2872,1851,1571,1781,1719,1605,1509,2125,2724,2569,1942,1761,2039,1891,1692,2078,2123,2229,1996,2566,2492,1870,1768,1913,2081,2044,2458,2489,2191,2373,2320,2323,2946,3414,3110,3223,3580,3181,2955,3320,3922,4139,4100,4125,4111,3989,3498,3332,3780,3824,3749,3826,3723,3355,2508,2745,3331,3124,2928,2487,1835,2128,2365,2194,2144,2013,1765,1989,2657,2367,1911,1494,1471,1734,2146,2056,2057,2438,2192,1759,1488,1731,2257,2467,2193,2312,2050,2163,2375,2631,2369,2652,3681,3947,3496,2908,2258,2063,2137,2281,2269,1800,1880,1526,1793,2068,1802,1549,1591,1707,1887,1407,1311,1885,2146,2165,2493,2741,2630,2894,2975,2757,2688,2597,2699,3205,2808,2071,2344,2653,2404,2489,2601,2166,1888,1923,1960,2141,2157,1892,2234,1983,1828,2095,2199,2265,2294,2249,2485,2519,2318,2302,2241,1871,1769,1785,1987,1813,1839,1690,1914,2590,2409,1823,1782,2064,2358,2456,2071,1843,2345,2676,2467,1764,1986,2263,2391,2057,2535,3286,3782,3137,1806,1447,1634,1847,1615,1643,1600,1588,1818,1826,1892,1698,1522,1581,1484,1659,1982,1930,1738,1758,1600,1931,2046,1606,1582,1688,1489,1514,1620,1660,1694,1781,1808,1530,1387,1891,1646,1661,1858,1733,1557,1489,1434,1462,1562,1571,1479,1683,2332,1839,1581,1741,1683,1515,1541,1890,2352,2491,2246,2141,2570,2121,1743,1443,1512,1738,1717,1720,1990,1804,1624,1692,1799,2077,1995,1909,1842,1902,1860,1797,1768,1922,1967,2149,2333,2002,1979,2016,1565,1776,1669,1559,1560,1610,1553,1554,1531,1541,1989,2285,2076,2428,3054,3226,3164,2941,3365,3435,3226,3134,3172,3479,3823,3752,3605,3738,3453,3350,3628,3407,2657,1975,1950,1837,1642,1512,1426,1507,1415,1749,1956,2077,1860,2144,2049,1831,1880,2109,2389,2281,1969,2135,1647,2050,2071,1833,1730,2488,2941,2435,2549,3061,3096,2967,2443,2301,3146,3580,3153,2211,2074,1859,1948,2280,2091,1973,2555,3211,3052,2547,2662,2972,3003,1980,1485,1655,1632,1856,2228,1983,2010,1861,1715,1902,2425,3052,2354,2028,2617,2530,2348,2395,2189,2289,2250,2100,2008,1747,1554,1487,1706,2243,1952,1759,1583,1693,1469,1580,1824,1855,2066,1992,2079,2035,2134,1992,1812,2563,2450,2261,2041,2314,2483,1835,1706,2102,2253,2097,2098,2234,2108,2266,2123,1907,1968,1996,1845,1722,1767,1963,1760,1647,1874,1968,2264,2020,1992,1985,2366,2696,2896,3011,2795,2823,2898,2787,2408,2298,2881,3674,3444,3427,2777,1984,1864,2008,2489,2688,2432,2844,2640,1974,1627,2068,2410,3103,3469,2997,2112,2137,2224,1853,1679,1854,1861,1814,1364,1453,1656,1789,1637,1395,1579,1898,1678,1505,1810,1965,2052,2014,2242,2242,1869,1655,1688,1690,1659,1653,1834,1593,1364,1601,1566,1720,1769,1844,1761,1570,1661,1748,1671,1857,2036,1750,1726,1813,1634,1655,1665,1937,1945,1741,1669,1590,1458,1735,2644,2965,2225,1642,1683,1488,1564,1543,1545,1750,1955,2010,2027,1692,1583,1776,1860,1801,1591,1592,1786,1557,1350,1346,1464,1618,1796,1699,1509,1349,1327,1376,1386,1453,1518,1963,2156,1703,1882,1787,1478,1993,1946,1632,1579,1555,1606,1555,1538,1588,1808,1896,2026,1536,1408,1691,2004,2305,2118,1585,1592,1820,2876,3621,3992,3614,3034,2822,3532,4152,4109,3962,4107,4152,4013,4382,4880,5044,5107,4971,4291,4263,4165,3384,3859,4648,5048,4904,3989,3097,2613,2297,2456,2929,3052,3293,3672,3795,3572,3426,3592,4123,4665,4677,4172,3886,4128,4639,4788,3936,3350,3593,3907,3079,2093,1922,1920,1894,1905,1657,1505,1477,1468,1422,1401,1710,2067,1748,1501,1562,1510,1491,1412,1447,1680,1602,1423,1572,1598,1959,2247,1866,1528,1521,1465,1653,1822,1697,1664,1494,1672,1601,1687,1824,1464,1376,1696,1758,1513,1353,1262,1409,1567,1793,1934,2219,2919,3185,2622,2177,1973,2143,2316,2309,1890,1835,1959,2252,2490,1859,2029,2303,2392,2328,2604,2657,1917,1654,1640,1578,1725,1912,1610,1467,1571,1533,1671,1691,1535,1873,2190,1895,1847,2243,2167,2146,2270,2161,1970,1554,1445,1509,1668,1592,1333,1700,1860,2655,3161,2957,1854,1428,1430,1848,2535,2643,2098,1611,1622,2094,1847,1963,2454,2853,2733,2730,2202,2008,2122,2603,2918,2542,1904,1333,1098,1244,1635,2005,2456,2719,3104,3273,2402,1395,1304,1365,1260,1231,1375,1515,1540,1746,1789,1954,1787,1897,2231,2160,2103,2077,1857,1862,2246,2243,2000,1271,1182,1353,1403,1540,1700,2061,2074,2192,2278,1759,1841,2124,2213,2053,1554,1668,1825,1675,1562,1576,1704,1706,1712,2292,2314,2241,2439,2415,2258,1870,2128,2099,1922,2129,2302,2264,2069,1807,2328,2021,1682,1832,1783,1663,1960,2337,1870,1715,1712,1971,1911,1919,2742,2535,2315,2446,2296,2059,1898,1969,2023,2306,2188,2276,2142,2058,2728,2473,2206,2485,2877,1908,1758,2185,2377,2013,1915,2072,2100,1953,1918,2217,2685,1984,1797,1665,1686,1770,2155,2195,2590,3255,2702,2182,2952,3034,2418,2561,1895,1683,2799,2692,2353,1908,1776,1902,2269,2754,2796,2263,2546,3382,3111,2820,2814,3039,3354,3206,1924,1912,2536,2172,1490,1423,1341,1399,2178,2144,2163,1617,2520,3407,3669,3492,2853,2655,2569,2446,1914,1291,1581,2056,1879,1853,1893,1998,1726,1420,1398,1556,1788,1904,1941,1940,2001,2024,1572,1516,1528,1444,1476,1599,1494,1411,1467,1642,1588,1563,1858,1885,2046,2324,2078,1582,1944,2173,2094,1930,2092,2394,1729,1689,1483,1470,1599,1555,1522,1448,1628,1947,1750,1555,1631,1556,1766,2314,2231,2080,1860,1803,1851,1714,1636,1547,2380,2999,2353,2359,2368,2081,2180,1874,1753,1676,2146,2029,2092,2609,2421,2147,2216,2049,1857,1635,1528,2250,2630,2688,2811,2540,2443,2577,2799,2873,2902,2636,2250,2488,2415,2501,2929,2576,2424,2277,2095,1946,1948,1947,2236,2386,2552,2223,2017,1763,1902,2061,2202,2234,1836,1780,2224,2394,2142,1754,1587,1521,1631,1537,1484,1840,2013,1992,2024,1732,1377,1603,1983,1931,2243,2297,2214,1901,2529,2291,2687,2544,2308,2673,3186,2868,2011,1705,1946,1954,1940,1874,1875,1783,1864,2342,2072,1417,1870,2256,2137,2108,2091,1875,1596,1480,1637,1725,1698,1611,1678,1936,2918,3166,2178,1704,1590,1422,1442,1562,1526,1530,1815,2054,2018,1753,1767,1965,1801,1512,1520,1770,1902,1746,1480,1418,1650,1775,1558,1439,1474,1381,1370,1520,1483,1125,1436,1489,1394,1528,1532,1444,1289,1411,1582,1638,1886,2190,2114,1699,1593,1629,1770,2025,2352,2043,2930,3595,3394,3164,2873,2592,2275,2221,2552,2908,2852,2668,2531,2953,2597,2208,1840,1460,1654,2031,1977,1735,1672,1505,1517,2112,1886,1526,1507,1588,1627,1547,2406,3423,2999,2531,2004,1833,1892,2040,1870,1626,1511,1682,1656,1947,1906,1484,1507,1575,1734,1649,1490,1664,1728,1742,1834,1990,1854,1613,1560,1545,1722,2211,2063,1781,1775,2326,2311,2310,1865,2032,2223,2307,2662,3677,4018,2721,2077,2200,2824,2454,1953,1916,1983,2004,2746,3205,3205,2622,1775,1832,1829,1828,2089,2482,2511,1893,1772,1908,1976,1955,1692,1535,1797,1909,2204,1837,1709,1812,1898,1847,1825,2060,2842,2980,3087,2986,2722,2302,2101,2366,2284,1751,1968,1813,1706,2056,2143,2093,2360,2680,2687,2799,3194,2853,1902,1863,2313,1870,1676,1570,1690,2869,3419,3552,4102,3951,3542,2409,2552,2396,2231,2840,3387,3170,2998,3319,3332,2809,2292,2498,2981,3149,2630,2543,3096,2915,2766,3011,3351,3356,3120,3109,2980,2621,2464,3050,3173,2683,2069,2155,2106,2352,2602,2676,2409,2343,2511,2075,1791,1970,2387,2784,2916,2801,2632,2824,3108,3071,2839,3032,3591,3807,3635,3146,2545,2453,2619,2888,2897,2511,2508,2470,2536,2941,3195,3329,3487,3652,3529,3573,3449,2990,2387,2368,2620,2264,2128,3117,3894,3139,2249,1678,1638,2384,2792,2688,2320,2605,2396,2079,2294,2641,2774,2993,2805,3199,3715,3562,3687,3624,3466,3087,2850,2889,3293,3422,2830,2026,1981,2065,1839,1901,1794,1721,1890,1863,1632,1657,1604,1675,1830,1964,2272,1768,1492,2019,2596,2696,2055,1656,1551,1483,1503,1821,2613,3150,3220,2775,2630,2845,2334,2674,2798,2767,2530,2315,2298,2477,2822,2625,2048,2136,2586,2674,3842,3705,3786,3715,3398,2819,2409,2802,3197,3329,3140,2568,2384,2264,2275,2423,2955,3156,2745,2173,2199,1842,1630,1600,1459,1695,1712,1663,1698,1824,1714,2599,3479,3258,2899,2512,2228,2618,3098,2765,2418,2998,3747,3758,3384,3327,2903,2585,2830,3289,3178,2809,2756,2946,2929,2779,2408,2014,2733,3190,3466,3342,3009,2224,1938,2398,2427,2505,2576,2733,2712,2911,3289,3351,3214,3284,2788,2435,2686,2788,3049,2951,3131,3680,3935,3873,3238,3150,2798,3067,3426,3407,3319,3159,3037,2848,2776,3426,3445,3262,3019,2563,2745,2663,2333,2496,2630,2654,3459,4399,4284,3576,3430,3188,2523,2399,3162,3577,3152,2010,1753,2468,3210,2471,2180,2017,2115,2290,2271,2382,2589,2831,3089,2834,2478,2756,2622,2264,2279,2486,2150,1696,1732,2071,2105,2312,1930,1864,2210,2151,1971,1902,2122,2365,1790,2095,2668,2966,2758,2722,2692,2922,3470,3090,2297,2470,2679,3277,3042],[2314,2372,2326,2933,3086,3022,3107,3140,2812,2423,2764,2998,3075,3498,3295,3262,2802,2342,2253,1713,1512,1955,2196,2060,2571,2641,2814,3068,3931,3260,2152,1951,2371,2297,2341,2849,3256,3322,3064,3089,3620,3388,3035,2730,2584,2301,2191,2296,2750,3415,3508,3231,3084,3051,2851,2389,2462,1835,2288,3221,2826,2388,2533,2829,3306,3664,3841,4002,3185,1840,2291,2373,2667,2213,2114,2260,2085,1570,1918,3117,3310,2710,2373,2152,2047,1734,1363,1662,1898,2011,2001,2410,2279,1764,1593,1828,2364,2458,2586,2355,2099,2205,2062,1951,2438,2851,2500,2314,2417,2322,3277,3638,4031,4264,4322,3964,3718,3461,2821,2928,3949,4111,3684,3874,3808,3434,3063,3516,3567,2987,2038,1989,2216,2483,2598,2523,2388,2158,1814,1985,2632,2513,2499,2041,1884,2058,2321,2083,1583,1511,2060,1920,1574,2089,2308,2537,2132,2023,2217,2452,2100,2040,2088,2901,3574,3409,3587,3260,2589,1997,2059,2281,1763,1524,1990,2462,2713,2629,2299,2185,2136,1999,1993,1478,1748,2174,2372,2253,3105,3342,2657,2912,3392,2928,2497,2634,2806,2928,2758,2417,2518,2308,2120,2842,2864,2389,2164,2066,1993,1837,1827,1970,2142,2393,2276,1900,2164,2923,2856,2502,2381,2277,2169,2380,2174,2092,2049,2307,2379,2182,2038,2237,2399,2767,2591,2262,2299,1952,1885,2325,2353,1764,1513,1950,2247,1853,1621,2301,2743,2369,2415,3128,3398,3197,2173,1519,1820,1938,1593,1643,1725,1893,1897,1764,1922,1659,1576,1691,1847,1511,1436,1549,1687,1575,1709,2048,1809,1455,1588,1516,1607,1676,1627,1419,1513,1842,1986,1492,1322,1495,1892,1960,1659,1689,1553,1541,1460,1421,1474,1566,1476,1556,1691,1586,2169,2403,1879,1576,1543,1933,1749,1668,1544,2182,2431,2313,1903,1499,1571,1561,1394,1736,1828,1848,1599,1642,1711,2248,2073,1761,1940,1947,2065,2201,2081,1921,1767,1787,1909,1754,1911,1770,1602,1892,1671,1518,1640,1708,1631,1644,1550,1654,1819,1661,1831,2336,2691,2625,2555,2806,3301,3094,2903,2988,3120,3901,4256,3369,3486,3276,3543,4056,4058,3033,1989,1772,2220,2270,1600,1479,1440,1689,1804,2126,1354,1420,1830,1859,1909,2096,2234,2424,2853,2879,2483,2872,2135,2401,1975,1791,1677,2228,2942,2605,2520,2942,3294,3753,2888,2135,3039,2901,2194,2072,2083,2185,2250,2457,2478,2231,2552,2995,2073,2016,2487,2626,2195,1737,1494,1811,1760,1848,2121,2046,1948,1588,1661,1566,2105,2764,2046,1817,2523,2459,2489,2497,2278,2220,1981,2504,2047,1629,1594,1618,1912,2191,1765,1780,1845,1695,1578,1753,1560,1541,1822,1955,2177,2221,1819,2460,2613,2674,2169,1824,2012,2330,2023,1664,1679,1720,1765,1922,1710,1726,1824,1802,2055,2043,1811,1676,1720,1713,1823,2093,1899,1576,1719,1872,1808,1595,1658,1654,1859,1945,1999,2399,2695,2572,2570,2811,2752,2633,2823,3210,3164,3052,2599,2401,2654,3055,3428,3255,2545,2671,2526,2013,1645,1820,2042,2170,1963,1953,1914,2210,2554,2414,2302,2119,2097,2131,1708,1746,1787,1868,1808,1376,1487,1670,1478,1572,1985,1866,1672,2144,2562,2634,2269,1716,1668,1791,1639,1764,2044,1734,1417,1604,1559,1586,1692,1991,1677,1599,1722,1885,1791,1583,1719,1794,1644,1687,1658,1665,1677,1852,1935,1915,1918,1608,1384,1809,2549,2698,2308,1894,1683,1688,1717,1527,1602,2097,2103,1907,1898,1737,1787,1839,1853,1800,1808,1780,1904,1544,1285,1499,1510,1458,1764,1754,1698,1577,1642,1727,1539,1747,1948,2003,2012,1994,2048,1747,1641,1469,932,1185,1625,1856,1702,1511,1512,1767,1776,1681,1631,1607,1622,1864,1944,2004,1714,1730,1948,1741,2009,2602,3727,3608,2857,2829,3666,4086,4153,4177,4317,3891,4212,4371,4471,4719,5083,4736,3989,3336,2787,3008,3672,4471,5000,5088,4905,4741,4220,3447,3418,3441,3222,3293,3514,3450,3244,3247,3494,3627,4048,4540,4132,3919,3952,4404,4689,4432,4113,3962,3794,2707,2014,1954,1911,1866,1714,1691,1715,1494,1442,1614,1520,1661,1975,1688,1683,1754,1650,1703,1478,1386,1758,1709,1466,1428,1566,2177,2625,2372,1775,1603,1595,1711,1852,1798,1687,1538,1679,1508,1624,1625,1405,1511,1647,1769,1598,1636,1406,1459,1389,1687,1894,2470,3265,3317,3219,2462,1786,2608,2145,2059,2091,1874,1748,1754,1891,2238,2304,2040,2053,2040,2106,2024,1588,1598,1656,1803,2261,2497,1964,1793,1785,1763,2015,2173,1939,1924,1749,1574,1649,1923,1669,1948,1931,1986,1849,1654,1835,1867,1715,1401,1273,1946,2348,2908,2988,2532,1690,1399,1548,1932,2735,3173,2188,1774,1947,1801,1804,1898,2426,2787,2933,3261,2950,2413,2581,2873,2725,2346,1762,1478,1414,1675,2181,2364,2536,2538,3121,3472,2231,1327,1414,1360,1241,1337,1781,1885,1627,1591,1664,1769,1541,1686,2006,2312,3116,3477,2642,2193,2394,2313,1678,1229,1121,1181,1354,1692,2027,2110,2605,2988,2732,1863,1734,1931,2193,2166,1789,1764,1729,1585,1636,1681,1848,2066,2406,2574,1906,2059,2486,2167,2226,2231,2442,2473,2102,2047,1933,1855,1984,2185,2441,1985,1869,1861,1798,1788,2079,2134,1974,1828,1715,2189,2282,2185,2257,2313,2746,2524,2215,2003,1853,1959,2397,2641,2507,2485,2657,3222,3679,3087,2487,2512,2543,1976,2193,2096,1843,2096,2212,2122,1883,1529,1677,2043,2250,1887,2092,2122,1920,1753,1937,2100,2442,2864,2308,1741,1709,2048,2394,2111,1704,1802,2754,3133,2641,1943,1829,1896,2026,2474,3189,3165,2708,3007,3255,3184,2554,1978,1892,1763,1426,1337,1645,1749,1512,1381,1484,1410,1814,1867,1973,1506,2032,3157,3592,3491,3592,2872,1601,1698,1600,1742,1925,2728,2576,2118,1837,1854,1756,1476,1427,1360,1766,2257,2206,2053,2092,2114,1627,1442,1396,1425,1540,1616,1470,1410,1422,1525,1293,1259,1485,1885,2523,2346,1613,1648,1896,1803,2157,2215,2143,2604,1938,1650,1573,1538,1639,1716,1869,1659,1661,1931,1810,1626,1952,1645,1664,2330,2094,1652,1730,2118,1939,1766,1587,1603,2559,3000,2708,2791,3206,2373,2249,2302,2112,2301,2571,2178,2178,2481,2040,1670,1458,1426,1517,1551,1500,1791,2220,2753,2766,2491,2406,2346,2372,2421,2476,2218,2282,2408,2387,2878,3222,2601,2258,2164,1989,2219,2050,1535,1526,1718,2065,1744,1613,1597,2073,2301,2281,2423,2177,1868,1843,1980,2198,1699,1610,1976,1768,1632,1613,1905,2232,2078,1682,1515,1423,1496,1594,1456,1837,2183,2421,1896,1933,2400,3056,2932,2648,3032,3186,2938,2459,2042,1706,1627,1702,1829,1854,1929,1998,3167,3493,2511,2042,2095,2089,1914,1989,1974,1811,1752,1691,1544,1536,1527,1456,1962,3110,2810,1895,1542,1441,1343,1441,1658,1408,1657,1708,1643,1686,1480,1515,1616,1533,1598,1655,1654,1441,1563,1648,1515,1613,1760,1674,1544,1465,1276,1357,1287,1362,1418,1529,1343,1513,1487,1407,1486,1615,1896,2113,1641,1484,1780,1733,1639,1771,1853,1899,1893,2055,2001,2502,3264,3361,3430,3388,2768,2382,2063,2263,2220,2540,2725,2458,2553,2308,1715,1460,1314,1679,2101,2408,1827,1543,1327,1544,1794,1614,1538,1487,1396,1749,2526,2927,3483,3474,3141,2445,2293,2048,2157,2067,1778,1825,2010,1931,2281,2365,1688,1708,1888,1769,1854,1621,1667,1770,1823,2123,2169,1736,1669,1888,1845,2513,2770,2397,2307,2163,2374,2171,1968,1891,2507,2601,1973,2142,3422,3422,1813,1958,2410,2541,1960,1583,1711,1759,1945,2148,2220,2322,2131,1806,2232,1852,1932,1621,2002,2098,1792,1669,1558,1793,2297,2038,1509,1881,2235,2437,2144,2120,1980,1924,2540,2322,2066,2242,2498,2886,3027,2429,2096,1979,2125,2296,2283,1930,1691,1654,1948,2053,2099,2500,3089,2601,2712,2720,2681,2320,2289,1909,1769,1783,1731,2009,2724,3004,2972,2952,3295,3738,2757,2952,2745,2422,2625,2999,2882,2921,2998,2786,2387,2061,2685,3219,3251,2631,2856,2987,2188,2385,2767,2842,3144,3449,3344,3130,2968,2706,2866,2932,2311,2008,2130,2187,2310,2524,2644,2758,2932,2558,1941,1676,2177,2266,3175,3486,2994,2510,2370,2932,3265,2932,2842,3409,3485,3507,3526,3233,2942,2645,2385,2678,2569,2236,2218,2545,3010,3087,3028,3299,3284,3036,2912,2648,2186,2304,2696,2467,1979,1843,2507,3480,2943,2622,1666,1605,2619,2907,2246,1968,2226,2319,2196,2474,2430,2555,3000,2988,3507,3673,3425,3558,3706,3488,3285,3230,3340,3677,3500,2856,2396,2745,2149,1723,1805,1971,1793,1895,2038,1925,1804,1591,1592,1636,1900,2123,1795,1766,2431,2869,2320,2082,1756,1477,1572,1506,2096,3264,3360,3349,2797,2285,2491,2296,2559,2798,2643,2532,2442,2375,2661,2472,1753,1573,1769,2239,1985,2540,2761,3141,3608,3829,3334,3153,3550,3484,2921,2445,1937,1741,2165,2356,2357,2475,2385,1708,2005,2535,1973,1763,2006,1498,1642,1981,2039,2054,1950,2315,3233,3190,2958,2534,2239,2565,2942,2306,2653,3184,3318,3220,3106,3107,3031,2643,2421,2696,3176,3421,3408,3197,2747,2176,2364,2430,2431,2534,3043,3550,3561,3371,2667,2186,2195,2225,2388,2733,2813,2846,3122,3245,3372,3404,3350,3084,2489,2521,2994,3029,2876,3006,3414,3702,3746,3782,3588,2873,2661,3241,3417,3353,2976,2720,2480,2380,2902,2891,2755,2729,2863,3078,2925,2762,2577,2169,2574,4256,3819,3221,3218,3271,2908,2373,2205,2163,2570,2498,2024,2110,2386,2324,2003,1972,2185,2273,2310,2024,2029,2266,2523,2809,2183,1643,2147,2171,1961,1890,2491,2486,2232,2035,1968,2016,2060,2030,1803,1500,1643,1848,1800,2314,2350,2060,2014,2342,2181,2567,2889,2866,3177,3497,3424,3253,2836,2600,3386,3118],[2510,2661,2942,3232,3203,2985,2844,3088,2918,2569,2998,3207,3364,3605,3226,2813,2122,1870,1946,1659,1598,1760,1628,1690,2632,3009,3484,3772,4046,3193,2287,2722,3130,2585,2686,3140,3288,3407,3572,3498,3393,2660,2761,3146,2492,1929,2403,2532,3069,3444,3066,2534,2440,2688,2030,1875,2067,1854,2047,2220,1929,1962,2512,2789,3032,3162,3186,3056,3104,2730,3157,3248,2798,2288,2308,2330,2009,1565,2408,3408,3146,2258,2147,2304,2271,1739,1524,1798,2224,2364,2270,2332,2331,2042,1726,1996,2753,2457,2424,2599,2342,2082,1978,1852,2130,2575,2316,2241,2053,1921,2890,3598,4008,4156,4156,3565,2921,2840,2974,2861,3030,3851,3648,3464,3375,3431,3640,3857,3031,2031,1908,2077,2191,3055,3843,3123,2150,1729,1778,1720,1934,2037,2750,2999,2618,2101,1857,1699,1601,1586,1818,1760,1987,2072,1767,2014,1746,2052,2690,2465,1969,2269,2633,3120,2866,3049,3838,3890,3166,2376,2421,2096,1659,1768,2502,2976,2743,2883,2934,2745,2713,2275,1715,1462,1925,2079,2118,1984,2132,2340,2677,3110,3355,2829,2944,3363,2966,2719,2612,2231,2144,1712,1991,2803,2376,2104,2139,2156,1775,1813,1784,2057,2094,2448,2335,2314,2390,2385,2360,2198,1936,1788,1866,1945,1836,2520,2777,3108,2988,3018,2602,2087,2111,1903,1829,2469,2685,2199,2232,2426,2066,1749,2020,1923,2161,1877,1467,2108,2931,3019,3116,2962,2578,2136,1686,1519,1476,1416,1471,1541,1710,2099,1929,1786,1895,1640,1562,1659,1780,1527,1683,1694,1576,1580,1858,2006,1674,1650,1610,1547,1636,1643,1680,1580,1655,1662,1538,1482,1406,1515,1992,2175,1567,1647,1578,1915,1720,1481,1540,1561,1453,1474,1482,1767,2854,3475,2362,1575,1512,1936,1696,1609,1670,1942,1799,1657,1986,2073,1628,976,1114,2007,2243,1816,1621,1807,2099,2497,2068,1667,1694,1823,2085,2060,1924,2108,2018,2002,2113,1991,1886,2121,2609,2116,1511,1737,2118,1965,1627,1621,1548,1778,1820,1721,1604,1791,1815,1912,2182,2647,3030,3205,3592,3370,3448,4312,3979,3681,3846,3566,3410,3849,3833,2763,2026,2430,3164,2588,1794,1651,1999,2060,1918,1860,1794,1808,1653,1852,2082,2263,2512,2866,3034,3082,2806,3050,2739,3033,2648,2069,1859,1970,2711,3104,2986,3015,3504,3428,2696,1983,2414,2033,1696,2065,2137,2247,2438,2306,2247,2134,2243,2584,1996,1749,2446,2846,2103,1647,1670,1721,1528,1532,1919,1949,1973,1808,1557,1563,1874,2227,1698,1627,1904,1623,1780,2122,2521,2625,2438,2817,2084,1895,2292,1822,1544,1632,1419,1715,2095,1964,1570,1656,1732,1710,1775,2114,2210,2070,2053,2305,2269,2105,1923,1676,1866,2498,2545,2094,1710,1500,1542,1833,1846,1662,1708,2036,2330,2172,1781,1621,1650,1726,1996,2328,2105,1593,1771,1960,1764,1656,1513,1474,1668,1683,1806,1916,2192,2115,2210,2232,2013,2223,2320,2475,2933,3067,2801,2452,2263,2799,2988,2832,2508,2386,2372,2221,1890,1356,1592,1827,1554,1815,1905,2589,2446,2080,2107,2010,2342,2507,2061,1938,1704,1745,1912,1420,1524,1668,1555,1395,1876,2323,2122,2309,2244,2211,2150,1899,1895,2316,1968,1642,1785,1829,1568,1760,1917,1614,1761,1996,1892,1926,1699,1760,1703,1675,1937,1813,1578,1634,1646,1694,1805,1893,1809,1850,1870,1697,2121,2293,2424,2359,2000,1837,1528,1722,1931,1685,1798,2342,2246,1805,1722,1581,1581,1684,1871,1833,1758,1977,1991,1603,1454,1817,1620,1635,2121,1503,1554,1764,1837,1869,1685,1978,2020,1825,1770,1967,2238,2172,2326,1444,891,1662,2037,1996,1738,1549,1490,1696,1765,1565,1615,1910,1972,1794,1721,1806,1625,2007,2666,1808,1472,2376,3392,3741,3696,3891,4144,3934,4026,4241,4328,4311,4341,4155,4164,4539,4932,4885,4600,4272,3809,3104,3053,4082,4960,5228,5096,4999,4631,4219,3919,3535,3350,3422,3226,3372,3393,3408,3521,3538,3549,3866,3602,3575,3731,3692,3948,4396,4401,4043,3239,2217,1961,2007,1874,1764,1780,1948,1859,1544,1637,1531,1440,1619,1698,1651,1699,1891,1922,1843,1655,1658,1980,1897,1514,1399,1570,2128,2338,2328,2152,1655,1635,1782,1729,1914,1655,1453,1734,1686,1568,1448,1426,1415,1530,1786,1760,1620,1376,1385,1427,1650,1753,2100,2602,2905,2711,1923,1964,2593,2162,2557,2410,1881,1990,1827,1782,2115,2110,1588,1678,1859,1964,1978,1778,1827,1870,2019,2054,1849,1807,1832,1610,1483,1594,2243,2359,1976,1460,1439,1651,1675,1533,1583,1782,2169,2291,2153,2298,2160,1621,1369,1356,1501,2234,2910,2880,2165,1646,1609,1852,1676,2488,3628,2834,2621,2191,1961,2182,2059,2090,2530,3116,3519,3595,3273,2943,2483,2648,2188,1789,1622,1569,2258,3028,3009,2858,2908,3480,3506,1902,1675,2004,1757,1707,1680,1678,1682,1488,1402,1597,1555,1414,1862,2342,2742,3728,4030,2955,2341,2110,1845,1612,1332,1350,1632,1702,1786,1746,1443,1555,1988,1863,1710,1665,1541,1854,1901,1712,1866,2104,2435,2434,2185,2143,2187,2778,2386,2171,2091,2531,2539,2320,2243,2278,2176,1740,1436,1107,1213,1677,2036,1763,1862,2259,1919,1848,1824,1764,1996,1989,1950,2036,2114,2369,2296,2286,1866,2210,2623,2395,1979,1911,1873,2416,2784,2321,2551,3580,3964,3559,3077,2483,2219,2226,2410,2677,2324,1770,2250,2689,2824,1946,1426,1498,1742,1829,1946,1968,1959,2072,1982,1950,1945,2099,2074,1817,1680,1830,1989,1814,1610,1748,1999,2651,3349,2684,1367,1108,1324,1411,2239,3334,3633,3482,3150,2818,2601,2265,2181,2214,1810,1534,1376,1722,1778,1352,1364,1775,1817,1906,2002,1906,1453,1586,2424,3480,3565,3847,3204,1710,1340,1816,2115,2050,2530,2547,2114,1569,1498,1368,1314,1287,1208,1708,2182,2113,2056,2235,2124,1761,1570,1861,1822,1458,1403,1478,1804,1834,1693,1827,1939,2249,2558,2748,2200,1498,1423,1628,1919,2319,2620,1922,1842,1700,1518,1422,1543,1879,2424,2394,1543,1635,1864,1836,1454,1592,1670,1703,1912,1578,1124,1367,2041,2288,1861,1503,1642,1798,2098,2480,2451,2959,2776,2930,2900,2433,2384,2481,2263,2133,2244,1793,1653,1428,1567,1763,1892,2074,1891,1858,1869,1866,2640,2718,2315,2008,2072,2053,2193,2294,2200,2020,2488,2667,2284,1892,1612,1990,2701,2072,1125,1231,1530,1861,1686,1499,1542,2061,2411,2214,2062,1976,1782,1531,1767,2075,1647,1677,1690,1463,1635,1747,1677,1750,1915,1658,1487,1796,1795,1490,1377,1683,1715,1809,2084,2459,2727,3078,2953,2895,3016,3038,3137,2743,2368,1998,1895,1747,1580,1901,1819,1943,3067,3100,1869,1360,1613,1826,1809,2160,2029,1851,1837,1548,1404,1436,1423,1394,1648,2005,1875,1725,1611,1552,1445,1452,1509,1338,1458,1421,1287,1398,1500,1458,1399,1332,1432,1322,1215,1194,1294,1197,1295,1614,1765,1847,1847,1609,1381,1412,1361,1554,1549,1470,1311,1348,1412,1378,1570,1808,2075,2735,1919,2122,2446,1959,1487,1375,1359,1528,1846,2067,2029,2376,3361,3376,3405,3504,3441,2611,1788,1642,1736,2348,2775,2404,2103,2276,2553,2149,1614,1613,1770,2024,1650,1456,1266,1736,1919,1497,1595,1583,1411,1935,2696,2269,2574,2796,2631,2589,2399,2104,1980,1893,1949,1755,2225,2180,2379,2785,1895,1952,1843,1846,2005,1925,1780,1740,1921,1886,1610,1358,1598,1768,1756,2631,2735,2404,2652,2687,2233,1705,1367,1825,2931,2969,2166,1682,2330,2454,1669,1808,2065,1950,1514,1532,1488,1497,2181,2342,2214,2083,1973,1888,1979,1779,1801,1700,1817,1761,1592,1534,1550,1498,1617,1623,1471,1794,2187,2155,2125,2100,2242,2790,3300,2989,2432,1892,2011,2148,2669,2284,2186,1955,2121,2510,3064,2766,2115,1911,2038,2070,2214,2257,2617,2004,2532,2646,2561,2670,2645,2330,2054,2171,2069,2444,2621,2784,2586,2184,2445,2654,2553,2700,2689,2612,2652,2856,3062,2842,2632,2416,2087,2100,2374,2949,3494,3194,3008,2551,1761,2247,3212,3008,3462,3772,3464,3466,3377,3155,3307,3033,2557,2492,2657,2812,2856,2567,2344,2360,2388,2331,2271,2408,2653,3110,3946,3377,2698,2046,1576,2237,2868,2999,2941,3226,3281,3387,3575,3814,3418,2524,2147,2392,2480,2468,2666,2700,2723,2766,2743,2688,2441,2227,2144,2001,2126,2830,3195,2666,2141,2447,2662,3220,3211,2941,2108,1993,2441,2340,1660,1372,2047,2536,2641,2834,2423,2149,2351,2456,3011,3338,3626,4086,3961,3916,3935,3608,3544,3500,3270,2876,2706,2604,2014,1804,1725,1964,1969,1862,2136,2082,1778,1650,1569,1730,1718,1698,1979,1718,1899,1787,1941,2404,1790,1648,1513,1424,2199,3394,3539,3053,2684,2425,2361,2166,2260,2439,2434,2574,2674,2654,3057,2720,1919,1682,1838,2119,1784,1661,2239,3152,3791,3842,3571,3588,3506,3304,2855,2590,2314,1478,1719,2053,1973,2314,2466,1945,2166,2064,1915,1475,1473,1538,1602,2060,2843,3344,2943,3118,2928,2687,2850,2819,2808,3108,2786,2367,2316,3211,3417,3122,3155,3239,3122,2586,2507,3101,3264,3375,3199,3211,2430,1962,2479,2659,2511,2563,3188,3660,3359,2805,2595,2200,2298,2358,2470,2790,2735,2916,3144,3008,3016,3395,3653,3266,2453,2436,2780,2949,3046,3153,3365,3500,3537,3609,3228,2670,2669,3557,3642,2896,1749,2086,2223,1657,1672,1917,2282,2562,2545,2495,2586,3188,3129,2750,2596,3209,2866,2546,2817,2819,2331,2279,2078,1926,2176,2495,2007,1870,2170,1885,2244,2674,2585,2329,2110,1766,1964,1961,2359,2965,2566,1873,2137,2068,2199,2192,2404,2692,2708,2626,2525,2533,2409,2126,1920,1572,1472,1578,1739,2054,2244,2097,2309,2880,2798,3010,2647,1897,2264,2722,2706,2834,2320,2376,2835,2972],[2959,2607,2837,3166,3049,2914,3106,3104,2957,2961,3398,3414,3329,3454,3053,2147,1665,1580,1606,1595,1610,1692,1494,1820,2242,3422,4253,4136,3239,2407,2304,2624,2998,2751,2862,2868,2312,2645,3204,3458,3320,3215,3405,3333,2292,1676,2689,2779,2931,2880,2663,1786,1807,2221,2129,2499,2099,1454,1780,1963,1775,1719,2106,2396,2691,3253,3196,2643,2964,2773,3042,3606,2952,2445,2229,2185,2029,1738,2170,3330,3208,2519,2146,1829,1951,1951,1681,1591,1754,2012,2081,1905,2064,2411,2282,2441,2733,2187,2141,2800,2686,1995,2191,2165,2316,2889,2888,3024,2831,2305,2754,3739,3863,3895,3752,3080,2529,2322,3061,3320,3082,3405,3887,3666,3686,3813,3724,3517,2908,2347,2118,2106,2176,2955,3124,2996,1819,1449,1636,1811,1831,2306,3172,3134,2214,1491,1323,1427,1396,1866,2078,1908,1932,1874,1866,1800,1886,2072,2044,1896,1908,2713,3409,3664,2833,2638,3363,3615,3187,2533,2402,2191,1979,2353,3040,2934,2343,2294,2928,3062,3018,2542,1954,1748,1925,1958,1952,2082,2004,2718,3097,2930,3031,2817,3217,3116,2895,2709,2569,2598,2500,2050,2210,2440,1678,1656,1663,1969,1648,1667,1750,1700,1778,1826,1925,2108,1989,2147,2626,2406,1788,1542,1938,2165,1893,2452,2702,2866,3062,2917,2486,2414,2363,1399,1557,2618,2686,2364,2334,2192,1732,1735,2057,2566,2901,2163,1750,1892,2260,2573,3366,2545,1666,1616,2093,1855,1587,1656,1594,1614,2041,2397,2166,1812,1543,1522,1653,1825,1684,1960,2205,1879,1639,1633,1911,1880,1593,1675,1642,1511,1449,1500,1601,1674,2033,2008,1760,1556,1423,1692,1617,1642,1731,1759,1680,1956,1812,1663,1751,1754,1583,1605,1952,2410,2957,3109,2070,1559,1538,1877,1763,1609,1722,1838,1781,1880,2254,2103,1754,1384,1584,2155,2171,1695,2214,2583,2671,2690,2320,1853,1800,1815,1925,2010,1740,1715,1898,1962,2235,2353,2122,2407,2486,1887,1584,1743,1805,1648,1644,1587,1582,1904,1760,1498,1584,1611,1469,1683,1858,2395,2745,3698,4384,4113,3838,4023,3861,3646,3862,3730,3377,3688,3628,2473,1999,2554,3125,1848,1550,1597,2239,2115,1635,1584,1969,1946,1851,2331,2491,2617,3046,3120,3105,3244,2824,2542,2580,2736,2235,2034,1951,1913,2630,3321,3551,3329,3476,3511,3007,2471,2473,2193,1874,1924,1927,1865,2234,1931,1699,1931,2075,2089,2128,2189,3057,2873,1990,1866,1806,1551,1638,1777,1763,1819,2232,2508,2005,1605,1643,1977,2225,2220,1761,1023,1416,2417,2469,2067,2074,2018,2307,2286,1972,1537,1764,1825,1532,1491,1592,1849,1573,1449,1491,1431,1836,2004,1893,1927,1802,1749,1864,1888,2154,1854,1895,2188,2099,2552,1872,1484,1748,1962,1974,1953,1952,2424,2499,2136,1820,1766,1530,1920,2184,2222,1981,1740,1891,1977,1874,1649,1686,1612,1696,1717,1825,1825,1963,2042,1961,1757,1547,1637,1873,2115,2587,2680,2609,2469,2387,2599,2485,2487,2646,2812,2596,2301,1960,1398,1569,1733,1806,2238,2038,3020,3320,3160,2354,2096,2308,2152,1960,1856,1525,1642,1832,1780,1920,2050,1655,1572,2382,2754,2329,1967,1877,1709,1677,1550,1853,2433,1968,1543,1845,1768,1539,1708,1707,1521,1843,2045,1850,1734,1672,1722,1600,1775,2415,1955,1621,1688,1627,1736,1788,1766,1835,2002,1877,1721,2112,2192,2486,2103,1957,1791,1688,1709,1462,1227,1836,2283,2215,1570,1606,1535,1545,1600,1699,1701,1716,1746,1812,1793,1812,1647,1350,2099,2750,1731,1805,2012,2055,1982,1778,1943,1738,1828,2153,2527,2647,2112,2221,1750,1554,1918,1936,1903,1755,1546,1542,1579,1641,1561,1544,1584,1097,1392,1905,1866,1632,2511,2524,1539,1713,2929,3790,3896,4025,4100,4038,3861,3680,3519,3532,3969,4252,4254,4343,4582,4676,4501,4721,4868,4600,3616,3604,4460,5004,5169,5110,4808,4544,4292,3818,3539,3718,3943,3880,3684,3394,3425,3632,3773,3728,3687,3393,3460,3938,4015,4080,4189,3748,3641,2643,2037,1899,1986,1860,2096,2286,1918,1722,1600,1849,1530,1453,1628,1551,1561,1552,1681,1739,1748,1671,1716,2126,1968,1637,1550,1695,1792,1947,2387,2294,1884,1769,1942,1948,1708,1545,1593,1657,1495,1550,1432,1308,1229,1360,1638,1856,1687,1420,1480,1803,1812,1489,1704,1922,2542,1964,1749,1709,1980,2018,2149,1829,1794,2424,2169,1660,1482,1582,1460,1577,1661,1802,1815,1794,1931,2261,2114,1597,1494,1671,1703,1531,1601,1499,1796,2083,1678,1602,1953,1942,1715,1794,1895,1928,2228,2168,1741,1887,1914,1691,1441,1414,1407,1529,1883,1868,1532,1448,1444,1608,1377,1982,2553,2137,2388,2533,2667,2382,2069,2236,2630,2770,3340,3820,3642,3039,2421,2341,2160,1969,1708,1602,1854,2413,2750,2832,3016,3354,3154,1974,2087,1975,1864,1801,1456,1196,1300,1394,1272,1536,1925,1983,2097,2478,2555,2951,2635,2221,2578,2931,3122,2565,1510,1523,1943,1620,1395,1301,1426,1710,1875,1592,1466,1338,1300,1490,1439,1934,2997,3520,3309,3099,2451,2524,2388,2786,2692,2872,2341,2347,2812,2432,2127,2056,2125,2039,1748,1542,2228,2050,1508,1399,2049,2421,1973,2281,2209,1927,1760,1608,1536,1734,1986,2005,1945,1942,1874,1914,2316,2444,2156,2014,2117,2539,2546,2762,3697,4061,3790,3209,2448,1970,1818,2036,2298,2521,2484,2151,2099,2685,3164,2610,2209,1838,1682,1719,1654,1594,1588,1898,2176,2363,2154,2176,1954,2204,2130,2117,1770,1608,1773,1769,2007,2499,2895,2457,1443,1078,801,1380,2349,3355,3663,3563,3154,2338,2069,2230,2681,2666,2021,1618,1531,1701,1738,1365,1517,2009,2263,2214,2169,2117,1553,1739,1836,2807,3378,3461,3096,2120,1483,1677,1852,1914,2018,2398,2541,1622,1400,1286,1365,1362,1344,1688,2199,2171,2086,2185,2159,1870,1604,2072,1465,1547,1622,1485,1660,1874,1869,2300,2309,2231,2718,2734,1921,1556,1558,1725,2259,2265,1943,1714,1647,1622,1743,1575,1553,1955,2524,2800,1842,1797,1925,1927,1738,1697,2145,2528,2282,1623,1281,1448,1860,1902,1599,1634,1689,1607,2057,2535,2822,3123,3000,2858,2742,2204,2150,2160,2060,1956,1899,1596,1471,1345,1595,1863,2435,2634,1978,1824,1781,1672,2714,2471,2153,2297,2768,2442,2504,2579,2039,1783,2028,2221,2265,1968,1909,1909,2280,1829,1115,1119,1464,1735,1659,1560,1627,1660,1810,1693,1729,1816,1787,1704,2182,2685,2291,1869,1630,1494,1612,1669,1511,1406,1979,2009,1758,2328,2319,1692,1409,1506,1603,1785,2277,2610,2606,2701,2519,2762,2656,2679,2849,2684,2178,1826,1829,1681,1641,1876,1942,1759,2345,2039,1517,1308,1314,1452,1757,1998,1700,1545,1644,1687,1719,1604,1428,1626,1844,1773,1741,1743,1704,1612,1450,1366,1481,1629,1495,1289,1282,1451,1490,1457,1409,1359,1356,1475,1516,1632,1639,1291,1516,1763,1833,1949,2018,1765,1679,1583,1581,1963,2277,2111,1613,1616,1954,1537,1546,2370,3337,3383,2447,2185,2133,1710,1617,1943,2233,2431,2338,2012,2082,2065,2703,3291,3562,3419,2818,1985,1469,1389,1745,2344,2741,2499,2135,2951,3583,2932,2443,2484,2167,1660,1519,1669,1549,1493,1597,1476,1483,1599,1858,1948,2293,2041,1904,1793,1916,2349,2414,2255,1956,2103,2753,1992,2009,2169,2432,2460,2301,2155,1863,2102,2366,2372,2433,2249,1902,1641,1518,1470,1630,1616,1594,1961,2279,2604,2896,2567,2136,1960,1781,2142,2459,2297,1752,1620,1858,1813,1621,2395,2825,2198,2312,2309,1523,1187,2082,2353,2409,2388,2325,2175,1942,1881,1840,1888,1779,1587,1641,1588,1578,1472,1472,1353,1377,1688,1798,2147,2343,2319,2625,2814,2977,2787,2217,1853,2108,1991,1973,2303,2448,2293,2273,2311,2483,2642,2770,2214,2101,2490,2792,2724,2932,2294,2016,2734,3212,2916,3039,2876,2561,2533,2019,2512,2174,2106,2063,2324,3029,2719,2480,2542,2602,2663,2612,3077,3398,2851,2692,2127,1937,2187,2309,2463,2632,2988,3372,3134,2664,2867,3502,3432,3492,3449,3317,3072,2850,3140,3636,3794,3628,2944,2331,2424,2562,2510,2306,2298,2387,2724,2511,2435,2816,3719,3818,3054,2518,2104,1830,1958,2449,2857,3406,3264,3233,3520,3496,3543,2978,2169,2117,2179,2427,2439,2468,2387,2273,2446,2664,2592,2262,2197,2080,2009,2469,2821,3075,2851,2865,3116,3227,3301,2876,2249,2241,2587,2520,2113,1576,1649,2231,2967,3063,2544,2415,2134,1941,1962,2688,3130,3651,4019,3819,4020,3929,3736,3448,2662,2246,2151,2313,2250,1863,2010,1969,1539,1757,1866,1937,2102,1983,1729,1835,2020,2070,2452,2477,1891,1527,1742,2416,2438,1860,1936,1759,1530,2307,3181,3227,2584,2298,2047,1733,1908,2685,2424,2477,2722,2944,2809,2897,3514,2743,1812,1857,1842,1619,1547,1693,2381,3663,3809,3997,3555,2973,3104,3697,4047,2979,1823,1783,1693,1748,1873,2053,1792,1785,1938,1908,1617,1537,1613,1657,1714,2756,3382,2988,3189,2676,2317,2569,2841,2893,2736,2319,2179,2114,2656,3159,3084,3049,3020,3160,3162,3273,3197,3210,3256,2968,3274,2764,1876,1815,1816,2212,2101,2648,2875,2566,1626,1671,1909,2263,2441,2778,3062,3241,3601,3794,3768,3591,3710,3543,3415,3046,2634,2729,3153,3414,3231,3037,3113,3292,3576,3356,3444,3602,3958,3182,2554,2006,2029,2433,2680,2329,1994,2007,1873,2259,2215,2410,3168,3163,3309,3249,2921,3064,2949,2876,2752,2210,2274,2220,2364,2713,3050,2480,2181,1962,2147,2827,3664,3787,3178,2203,2024,2197,1612,2049,2498,2544,2547,2282,1777,1843,2065,2316,2527,2724,2841,3185,3276,3074,2499,2024,2144,2038,2202,2151,1968,1763,1233,2283,3355,3383,3285,2502,1969,2357,2037,1956,1996,1630,1523,2118,2514],[3032,2586,2840,3418,3260,3226,3482,3054,3118,3297,3295,3282,3298,3387,2880,1908,1625,1711,1957,1862,1998,1843,1834,2047,2208,3141,3961,3583,2678,2655,2792,2806,3032,2485,2277,2205,2103,2522,2918,3234,3472,3264,2894,3163,3009,2535,2957,2833,2756,2477,2166,1498,1936,2546,2596,2897,2546,1358,1652,2104,2303,1991,2083,1890,2710,3676,3735,3826,3913,3396,3289,3415,2754,2797,2380,1795,2310,2154,1998,2746,3186,3094,2388,1789,2188,2249,2019,1490,1830,2042,1726,1685,2172,2584,2541,2663,2589,2192,1976,2244,2374,2400,2093,2338,2591,2725,2441,2601,2908,2363,2415,2976,2868,3306,3671,3316,2930,2419,3030,3407,3374,3172,3771,4068,3708,3751,4037,3598,3588,3842,2968,2302,2818,3061,2410,2040,1788,1939,1704,1878,2424,2862,3321,2808,2086,1807,1710,1561,1627,2108,2320,2300,1948,1949,2042,2237,2521,2044,1636,2001,2635,3098,3226,3301,2966,2680,3078,3293,2951,2331,1988,2282,2766,3060,3352,2901,2319,2570,3031,2888,2437,1838,1742,1732,1645,1700,2066,2611,2678,3198,3106,2936,3231,3328,3458,2894,2557,2687,2932,2866,2756,2631,2581,2121,1866,1676,1815,2094,1759,1771,1912,2093,2179,2049,1852,1892,1795,1891,2058,2036,1712,1755,1796,1752,1835,2102,2389,3098,3046,1977,1858,2297,1786,1413,1912,2775,2927,2233,1689,1703,1871,1807,1836,2945,3520,2286,1599,1524,1628,1726,2715,2663,1991,1903,1704,1652,2026,1903,1765,1945,2235,2121,1964,1569,1471,1548,1638,1864,1786,2003,2176,1876,1768,1818,1919,1666,1599,1816,1635,1475,1432,1378,1453,1447,1505,1805,1839,1573,1344,1375,1322,1489,1810,1779,1581,1497,1533,1691,2023,2510,2640,2263,2351,2409,2214,2182,1678,1514,1529,1734,1849,1700,1490,1698,1946,1865,1538,1592,1666,1682,1669,1754,1653,1803,2104,2076,2268,2321,2226,1858,1822,1857,1727,2073,2136,1930,1778,1873,2588,2712,2140,2113,2160,2004,1805,1728,1522,1524,1603,1522,1633,1786,1646,1546,1635,1656,1639,1637,1546,1853,1909,2795,3816,3748,3561,3653,3626,3624,3358,2945,2998,3381,2857,1972,1800,2345,2315,1580,1432,2087,2717,2218,1902,2036,2167,1859,2420,2880,2697,2939,3074,2843,2295,2335,2686,2597,2418,2273,1918,2057,1676,1897,2735,3321,3396,3371,3482,3382,3094,2804,2552,2398,2003,1679,2073,2252,2512,2206,2437,2938,2542,2253,2019,2374,3152,2569,1764,1620,1699,1571,1608,1895,1841,1771,2103,2089,1925,1964,1865,2406,2724,2231,1743,1155,1809,3015,2787,2544,2557,2287,2534,2480,1807,1446,1518,1660,1518,1430,1456,1695,1477,1601,1296,1112,1719,2001,2212,2166,1763,1753,1756,1946,2697,1855,2243,2055,1766,1709,1489,1532,1807,1892,1797,2122,2255,2043,1847,2024,1977,1996,1986,1924,1892,1793,2015,2184,1985,1921,1770,1694,1605,1955,1810,1478,1854,1799,1938,2126,1753,1574,1908,1893,1873,1743,1750,1848,2061,1891,2522,2733,2093,2143,2843,3250,3212,2932,2446,2254,2518,2765,2588,2340,1989,2414,2820,2570,1912,1956,2076,2067,2201,2050,1695,1744,1810,1843,1699,2035,1678,1729,2487,2317,1964,2175,2427,2336,1883,1621,1839,2147,1897,1581,1918,1880,1568,1656,1682,1679,1788,1852,1704,1628,1876,1765,1544,1866,2294,1902,1693,1742,1752,1856,1568,1758,2345,2578,2373,1934,1476,1490,1360,1531,1969,1821,1642,2018,1665,1330,1857,2198,2174,1653,1707,1675,1755,1809,1758,1751,1728,1693,1698,1788,1910,1819,1490,2039,2102,1702,1975,2131,2182,2135,2362,2361,1870,1795,1788,2175,2336,2014,2066,1565,1566,1516,1460,1758,1830,1590,1615,1609,1810,1544,1524,1332,963,1168,1582,1694,1469,1860,1920,1684,2061,2950,3299,3099,3461,3792,3919,3868,3672,3559,3654,4120,4421,4326,4620,4721,4058,3485,4524,4769,4840,4316,4404,5028,5128,4972,4676,4175,4201,4133,3625,3436,3785,4268,4143,3889,3759,3802,3952,3978,3851,3709,3542,3658,4183,4357,3912,3549,3518,3143,2248,1921,1967,1988,1692,2017,2313,1857,1648,1510,1627,1950,1819,1785,1598,1525,1584,1432,1476,1593,1541,1487,1799,1706,1626,1481,1671,1681,1815,1994,2017,2087,2080,2038,1880,1476,1566,1754,1681,1653,1484,1332,1274,1313,1450,1634,1721,1510,1298,1549,1974,1896,1566,2194,1987,2347,1995,2060,1970,1947,1814,1465,1463,1726,2386,2163,1533,1351,1412,1410,1498,1583,1626,1594,1559,2358,2824,1963,1478,1410,1352,1700,1741,1814,1533,1678,1781,1552,1780,1938,1814,1881,2107,1942,1938,1771,1649,1530,1531,1401,1527,1576,1434,1355,1411,1583,1460,1673,1468,1629,1738,1612,1636,1672,1694,2302,3200,3060,2353,2153,2354,2669,2718,3507,3673,3377,3169,2649,2056,1874,1664,2003,2388,1894,1975,2068,2105,2134,2103,1994,1838,1968,1935,1675,1296,1374,1408,1477,1816,1308,1407,1884,1994,1982,1961,2400,2643,2143,2164,2822,3397,3368,2615,1611,1543,1619,1533,1571,1388,1316,1636,1966,1771,1403,1263,1434,1654,2236,3204,3594,3617,3376,3582,3127,2871,3011,2852,2644,2866,2406,2303,2522,2439,2196,2200,2767,3056,3010,2651,2856,2244,1431,1405,2497,3146,2578,2280,2025,1676,1818,1904,1930,1598,1421,1562,1964,2283,2199,1937,1806,1846,1740,2094,2437,2913,3427,3431,3410,3625,3541,2797,2465,2475,2020,1911,2160,2460,2255,2256,1834,1999,2452,2501,2242,1798,1649,1549,1409,1592,1879,2183,2258,2653,2214,2177,1964,2105,2041,1974,1990,2112,2105,1852,2132,2164,2195,2207,1946,1847,1387,1788,2226,3072,3100,2452,2767,2356,1971,2225,2734,2888,2646,1724,1497,1545,1451,1350,1516,1654,1663,1687,1962,1962,1531,1472,1525,1753,2602,2891,2311,1874,1773,1560,1830,2256,2053,2335,2132,1514,1343,1341,1614,1717,1461,1547,2029,2076,2044,2082,2087,1882,1938,2545,2004,1680,1899,1622,1503,1625,1736,2039,2234,2508,2797,2610,1914,1694,1581,1614,1981,2188,1815,2063,2039,1596,1578,1544,1532,1838,2322,2727,2055,1908,1969,1928,2405,2254,2041,2441,2214,1665,1774,1632,1638,1784,1809,1774,1692,1731,2127,2918,3401,3573,3083,2662,2624,2040,1899,1713,1675,1655,1403,1385,1524,1638,1735,1910,2336,2661,2214,1897,1838,1520,1763,1717,1943,2391,2896,2974,2885,2294,1736,2115,2457,2500,2348,2326,2113,1786,1919,1758,1295,1476,1841,1781,1788,1873,1969,1454,1460,1520,2210,2011,1977,1856,1978,2655,2288,1611,1500,1494,1612,1580,1581,1682,2230,2019,1671,1933,2173,2110,1895,1889,1910,1930,1953,2000,2065,2310,2763,2745,2612,2632,2536,2220,1824,1708,1730,1676,1763,2380,2614,1750,1914,1810,1443,1352,1387,1526,1862,1870,1595,1421,1500,1783,2303,1845,1487,1740,1873,1717,1897,1948,1740,1776,1741,1418,1416,1426,1478,1472,1556,1564,1428,1427,1476,1504,1531,1620,1639,1616,1540,1438,1885,2084,2023,2002,1895,1820,1815,1635,1874,2691,3098,2835,1768,1518,2020,2093,2009,2313,3334,3486,2714,1718,1411,1947,2374,2373,2234,1895,1596,1736,1971,1863,2221,3186,3672,2900,1748,1450,1356,1546,1876,1892,2299,2711,2215,2589,3406,2937,2061,1911,1770,1464,1477,1561,1394,1376,1556,1465,1377,1749,1991,1989,2390,1784,1292,1697,2232,2569,2595,1999,1697,1698,2769,2312,1854,2267,2309,2417,2480,2321,2236,2216,2304,2352,2316,1977,1936,1902,1696,1614,1665,1600,1586,1792,1981,2534,3079,2764,2424,2254,2490,2310,1720,1800,1644,1780,2043,1840,1764,2460,2985,2601,2518,2075,1228,1081,1737,2376,2570,2613,2652,2374,2205,2197,1953,1956,1878,1804,2073,1827,1631,1482,1428,1410,1542,1742,1691,2033,2542,2754,2724,2142,2279,2415,1860,2129,2227,2256,2448,2548,2557,2665,2309,1923,2392,2770,2779,2576,2764,3086,2998,3018,3040,2343,1946,2687,3334,3603,3493,2576,2435,2286,2368,2452,2013,2059,2314,2442,2415,2402,2390,2390,2744,2944,2734,2963,2911,2586,2577,1910,1785,2025,2472,2776,2713,2712,2663,3047,3011,2589,2888,3044,3092,3249,3037,2858,2831,3087,3152,3209,3550,3136,2510,2263,2245,2519,3019,2989,2622,2836,2719,2529,3247,3920,3685,2925,2262,1796,2057,2099,2578,2633,3060,2996,3029,3460,3654,3460,2552,2041,2060,2106,1957,1832,1860,1820,2093,2321,2931,3404,3176,2918,2471,2234,2545,2562,2874,3112,3243,2955,2632,2376,2114,1995,2340,2675,2191,1931,1554,2015,2382,3333,3492,2559,2639,2962,2785,2786,3245,3574,3889,3688,3641,3796,3657,3870,2614,1450,1636,1877,1877,1738,1839,2134,2132,1941,2100,1884,1786,1950,2049,1880,1724,1647,1731,2051,2517,2407,1832,2005,2511,1959,1753,1969,1554,1745,2512,3295,3239,2591,2199,2138,2846,3376,3229,2396,2757,2874,2742,2729,2751,3364,3228,2410,2020,1837,1757,1649,2204,2729,3073,3840,3964,3294,2871,2900,3554,3637,2232,1568,1505,1526,1609,1750,1876,1826,1893,1881,1704,1746,1713,1841,1773,1580,2279,2824,2667,2479,2356,2054,2625,2472,2329,2339,2161,2109,2614,3077,3520,3274,3065,2934,3084,3271,3475,3427,3532,3427,3052,3330,2975,1851,1276,1344,2140,1803,2127,2264,2098,1749,1910,2197,2174,2441,2876,3144,3657,4275,4488,4315,3998,3377,2717,3462,3817,3467,3260,3321,3340,3218,3227,3209,3283,3319,2826,3218,3254,3609,3516,2897,2239,2114,2388,2974,2932,2888,2442,1607,1638,2437,2588,2995,2843,3476,4319,3775,3385,3333,3011,2569,2266,1791,1907,2064,2487,2740,3276,3182,2601,2755,3131,3623,3973,3499,2064,2082,2110,2193,1846,1929,2727,3020,2272,1832,1748,1483,1664,2018,2409,2779,3085,2861,3029,2327,1991,2143,2141,2322,1954,1944,2058,1688,2630,2769,3220,3372,2696,2357,2611,2373,2165,1916,1367,1027,1555,1726],[2647,2697,3021,3398,3400,3300,3240,3020,3011,3070,3289,3230,2598,2257,2363,1983,1760,2084,2110,2353,2686,2429,2355,2283,2194,2391,3010,3750,3347,2740,2721,2526,2766,2321,2125,2001,2106,2685,2854,2762,3371,3186,2842,3169,3322,2647,2721,2779,2656,2364,2093,1597,1686,2471,3155,3377,2865,2323,2046,2031,2220,2687,2597,1888,2273,2945,3509,4013,4329,3950,3784,3558,2513,2034,1822,1520,1981,2499,2399,2265,2651,2899,2017,2078,2471,2218,2182,1951,2165,1787,1906,2263,2744,2900,2629,2603,2584,2334,2414,2611,2486,2431,2208,2690,2362,1946,2077,2753,3274,2800,2119,2112,2236,2662,3658,3739,3462,3097,3020,3274,3365,3374,3975,4264,3890,3576,3870,3982,4113,4221,3841,3291,3450,3055,2430,2070,2114,2138,1782,1898,2504,2947,3454,2878,1935,1632,1923,1968,1773,1809,2236,2010,1817,2084,2194,2462,2785,2716,2032,2562,3650,3642,3211,3262,3338,3189,3027,2962,2444,1997,2059,2933,3212,2973,2993,2811,2784,2818,2965,2762,2226,1872,1675,1594,2049,1952,1880,2075,2479,3285,3560,3145,3253,3527,3410,3252,2872,2910,2830,2463,2609,2680,2544,1804,1857,1772,1940,2059,2056,1841,2080,2864,2472,1711,1620,2498,3226,2823,2180,2052,1903,1905,1887,1655,1625,1881,2452,3084,2967,2034,2026,2798,2639,2174,2589,3118,3000,2478,2182,2181,1919,1552,1970,2831,2715,2035,1900,1602,1539,1483,1706,1657,1580,1542,1311,1435,1626,1587,1617,1633,1619,1807,1813,1569,1620,1592,1530,1735,1908,2081,1788,1770,1814,1657,1487,1426,1533,1672,1740,1745,1603,1749,1845,1384,1163,1697,1832,1537,1426,1319,1321,1660,1651,1496,1450,1329,1320,1529,2041,2954,3005,2778,2542,2153,2101,2321,1902,1465,1433,1531,1915,1878,1587,1541,1635,1588,1632,1561,1581,1754,1831,1863,1703,1808,2024,1815,2058,2154,2437,1996,1644,1677,1712,2074,1986,1747,1766,2242,2827,2490,1610,1563,1559,1823,2054,1811,1757,1847,1763,1659,1731,1749,1741,1763,1576,1593,1553,1375,1392,1384,1553,1946,2105,2430,3151,3127,2938,3505,2954,2279,2436,2565,2100,1895,1753,2424,2123,1480,1505,2138,2548,1848,2079,1819,1765,2330,2918,2668,2532,3120,3097,2395,1978,2312,2335,2165,2208,2052,1728,1799,1765,2395,2958,3119,3283,3510,3596,3405,3116,2886,2631,2351,1808,1477,1941,2258,2170,2675,3471,3354,2818,2569,2248,2561,2943,2350,1795,1657,1663,1511,1507,2205,1962,1618,1885,1798,1787,2198,1964,2206,2376,2025,2156,1832,2806,4051,3876,3741,3442,2657,2464,2208,2053,2126,2154,1799,1554,1520,1430,1635,1715,1578,1336,1576,1784,1925,2195,1733,1946,2004,1713,2017,2206,2246,3030,2978,2053,1607,1568,1621,2110,1985,1538,1652,1865,1683,1593,1743,1987,2129,1738,1594,1827,1825,2205,2317,2047,1920,1576,1511,1583,2100,1986,1649,1532,1417,1592,1761,1761,1671,1850,1851,1525,1518,1859,1884,2126,2421,2369,2113,1969,1940,2945,3248,3338,3153,2563,2960,3241,3143,2504,2243,2201,2010,2444,2946,2443,2355,2365,2974,2609,2058,1784,1810,1779,2003,1890,1986,2010,1964,2099,1823,1832,2241,2519,2689,1958,1896,1931,1814,1678,1541,1661,1692,1576,1748,1804,1915,1914,1976,1791,1555,1504,1530,1533,1659,1794,1638,1632,1808,1784,1653,1557,1958,2118,2464,2947,2304,1540,1295,1173,1464,2067,2040,1603,2083,1785,2026,2051,2226,2308,2233,2255,1999,1746,1798,1865,1683,1643,1662,1748,1791,1805,1898,1933,1887,1725,1613,1706,2045,2325,2402,2699,2362,2116,1865,1580,1658,1772,1990,1847,1739,1644,1565,1698,1802,1736,1656,1599,1565,1651,1750,1750,1632,1436,1297,1600,1626,1566,1569,1837,1965,2164,2382,2655,2456,3080,3639,3899,3761,3665,3892,4026,4148,4356,4234,4237,4312,3377,3085,4500,4676,4708,4776,4840,5095,5035,4571,4183,3971,4198,4120,3830,3624,3985,4196,3986,4100,4100,4024,4011,3834,3814,3858,3626,3606,4200,4360,3884,3474,3398,2634,2030,1975,2027,1847,1524,1758,1959,1832,1754,1622,1476,1637,1611,1748,1818,2001,1998,1525,1505,1681,1697,1622,1532,1487,1801,1639,1672,1888,1953,1774,1722,1876,2088,2080,1637,1761,1881,1749,1639,1679,1434,1388,1597,1770,1823,1810,1766,1608,1488,1649,1826,1617,1871,2304,2268,2499,2576,2411,1977,1699,1443,1402,1667,1756,2204,1837,1593,1370,1398,1657,1904,1608,1436,1405,1405,2016,2280,1989,2290,1663,1487,1604,1575,1792,1922,2122,1921,1627,1653,1634,1634,1911,1941,1848,1925,1545,1427,1427,1465,1311,1280,1471,1615,1424,1472,1630,1562,2105,1787,1572,1598,1824,1798,1898,2026,2647,3414,3059,2685,2807,2751,2727,3109,3719,3419,2997,2635,1885,1804,2099,2065,2631,3183,2334,2147,2272,2204,1946,1988,1817,1543,1463,1655,1458,992,1530,1826,1408,1202,1261,1406,1868,1939,1957,1926,2496,2903,2474,2225,2736,3305,3223,2711,1802,1673,1720,1626,1526,1562,1628,1544,1539,1489,1211,1259,1563,1901,3039,3981,3497,2991,3187,3825,3548,2976,2931,2584,2222,2589,2546,2343,2258,2597,2448,2169,2519,3265,3275,2788,2719,2248,1448,1871,2895,3582,2856,1975,1625,1547,2198,2436,2084,1610,1489,1602,1932,1845,1658,1654,2077,2046,1788,1809,2254,3306,3905,3809,3562,3605,3516,2812,2395,2360,1991,1906,2043,2504,2624,2280,1983,2497,2669,2105,2156,2080,1636,1424,1721,1923,2141,2285,2170,2258,1990,2198,2106,1757,1732,2188,2599,2475,2568,2686,3292,2612,2402,2340,2042,2027,2040,2239,2515,2818,2588,2071,2161,1935,1692,1749,1968,2152,1981,1470,1457,1446,1275,1476,1678,1499,1428,1687,1945,1537,1381,1360,1814,2200,2284,2084,1786,1761,1879,1700,1584,1748,1519,1439,1365,1359,1406,1379,1436,1494,1347,1564,1915,1966,2003,1980,2143,2123,2018,1848,2211,1992,1693,1687,1699,1966,1808,1685,2130,2723,2626,2060,1615,1794,1643,1444,1753,1896,1573,1520,1456,1433,1375,1436,1542,1763,2273,2126,1706,1945,1996,1817,2477,2670,1626,1507,1823,1886,1615,1571,1636,1747,1661,1446,1433,1682,2584,3492,3506,3292,2543,2471,2393,1837,1787,1977,2067,1798,1632,1899,2021,1769,1774,2166,2182,2558,2321,2069,1697,1499,1608,1731,1822,2368,2955,2852,2532,2363,2728,3040,3177,3329,2523,2013,1729,1703,1630,1758,1910,1893,2157,2005,1922,2070,2003,1803,1689,1629,2206,2150,2217,1971,1647,1894,1913,1575,1637,1566,1738,1658,1702,1644,2032,1819,1715,1818,2043,2195,2029,2066,2091,2005,1894,1999,1745,1932,2503,2668,2312,2006,1975,1894,1605,1689,1723,1736,1884,2155,2405,2149,2107,2144,1830,1561,1525,1721,2015,1968,1819,1622,1683,2130,2196,1754,1636,1874,2218,2382,2252,2040,2098,2330,2009,1671,1656,1399,1099,1460,1731,1677,1679,1563,1470,1448,1506,1737,1740,1411,1360,1501,1843,2057,2008,1919,1767,1603,1615,1726,1946,2553,2876,2997,1885,1487,2193,2543,2252,2059,2302,2598,2290,1777,1965,2162,1955,1901,1960,1796,1990,2255,1974,1695,1924,2584,2768,2034,1542,1563,1532,1739,1477,1519,2212,2832,2513,2429,2721,2153,1724,1871,1647,1382,1411,1642,1578,1571,1701,1564,1444,1682,1841,2028,2109,1723,1694,1852,2238,2145,2267,1873,1526,1349,1866,1853,2100,2245,2264,2544,2269,1985,2108,2382,2393,1924,1780,2107,2144,1883,1602,1597,1830,1786,1563,1606,2050,2895,3062,3022,2756,2723,3087,2245,1123,1269,1485,2193,2758,2137,1775,1981,2490,2833,2364,1925,1797,1875,1810,1847,2168,2337,2229,1904,1886,1926,1867,1859,1778,1798,1865,1850,1877,1889,1689,1638,1694,1732,1817,1931,2144,2221,2578,2408,2632,2464,1713,1744,1800,2391,3038,3049,3096,3087,3039,2448,2282,2054,2546,2847,3117,3313,3138,3023,2856,2535,2375,2669,3014,3778,3682,2687,2136,2053,1967,2336,2509,2699,2853,2463,2093,2187,2510,2584,2765,2678,2452,2699,2408,2577,2733,2237,1968,2077,2470,2996,3090,2490,2687,3229,2757,1958,1999,2327,2874,3294,3178,2901,2810,2799,2946,3253,3127,3029,3312,2945,2830,2877,3046,2841,2641,2707,2547,2980,3472,3423,3210,2558,2178,2439,2581,2434,2529,2479,2633,2545,2353,2331,2281,2164,1922,1753,1620,1892,1681,1560,1871,2138,2603,3049,3417,3786,3504,2995,2852,2627,2944,2685,2645,3209,3276,2732,2096,1899,2156,2076,2020,1886,1571,1650,1903,2868,3304,3340,2927,2469,2653,3117,3448,3273,3081,3357,3598,3340,2955,3045,3183,3142,1853,1367,1785,1876,1723,1680,1801,1765,2008,2192,1868,1883,1840,1763,1983,1902,1640,1599,1585,1947,2701,2854,2762,2777,2875,2137,1684,1872,1748,1651,2036,2763,3064,2808,2322,2412,3053,3452,2938,2534,2763,2643,2518,2577,2688,2789,2553,2088,2229,1714,1497,1803,2186,2725,2423,2814,2922,2953,3038,2963,2653,2260,1930,1910,1814,1760,1897,1770,1658,1616,1655,1649,1549,1694,1978,2173,1666,1809,1991,2569,2032,1684,1942,2723,3160,2566,2197,2501,2194,2536,2889,3152,4024,3099,2971,3030,3001,3093,3251,3542,3737,3552,2898,3496,3167,2038,1779,2258,2351,2359,2377,2570,2343,2020,2042,1838,2016,2735,2987,3099,3531,4156,4347,4463,4196,3553,3190,3289,3754,3654,3258,3156,3086,3311,3370,3332,3299,3200,3062,3250,3233,3122,3118,2959,2420,2289,2397,2784,2932,2864,2836,2568,1814,1697,2310,3383,3603,3489,3820,3299,3425,3776,3061,2237,2171,1917,1983,2447,2799,2546,2744,2980,3110,3305,2890,2874,2708,2659,2081,2122,2584,3005,2558,2729,3465,3106,2349,2337,2342,1990,1902,1961,2095,2150,2465,2824,2767,2119,2004,2075,1940,2193,2137,2562,2447,2351,2662,2384,2471,3122,2721,2138,2264,2242,2050,2081,2339,1995,1765,1587],[2490,2712,3065,3016,2674,2832,3374,3171,2669,3033,3432,2685,1750,2110,2504,2077,2046,2270,2342,2545,2774,2720,2464,2330,2446,2401,2332,3286,3460,2250,2036,2175,2068,1895,2082,2024,2048,2723,3238,2462,2896,3374,3472,2937,2882,2878,2670,2645,2390,2038,2026,1780,1583,2341,3378,3639,3177,3396,2714,1984,2081,2745,2502,1697,1487,2193,3153,3460,3951,3839,3762,3296,2350,1900,1620,1642,1986,2502,2947,2443,2105,2517,2168,2453,2281,2293,2002,2296,2749,2441,2409,2618,2925,3522,3196,2279,2455,2425,2670,2426,2169,2473,2386,2158,1858,1859,2543,3106,3184,3112,2735,2004,2302,2780,3466,3849,3729,3569,3194,3112,3396,3340,3648,3854,3560,3082,3454,3956,3990,3867,3955,4027,3938,3348,2581,2412,2440,2756,3055,2898,2271,2187,2752,2370,2066,2265,2674,2430,1967,2563,2339,1987,2667,2592,2392,2633,2777,2836,2446,2857,3593,3529,3438,3272,3046,3132,3764,3819,3007,2424,3074,3289,2964,2519,2810,2951,2520,2289,2669,2536,2072,2157,1864,1517,2221,2786,2524,1836,1620,2119,2627,2686,2954,2920,3115,3166,2927,2932,2702,2471,2647,2558,2183,1979,1838,1642,1658,1558,1743,1639,1694,2347,1914,1762,1748,2750,3378,2906,2409,2301,2088,1808,1814,1920,1674,1734,1916,2069,2369,1923,2290,3111,3374,3281,3431,3491,3252,2646,2608,2723,2298,1500,1405,1661,1649,2056,2018,1726,1838,1904,1728,1421,1465,1478,1348,1418,1726,1816,1638,1583,1379,1603,1813,1722,2005,2058,1705,1620,1889,2057,1750,1831,1807,1664,1390,1494,1678,1746,1832,1799,1806,2133,1826,1506,1687,2085,1983,1603,1496,1519,1645,1700,1598,1521,1582,1380,1308,1428,2204,3141,3333,3259,2818,2611,2671,2372,1838,1588,1684,1786,2008,1748,1646,1565,1478,2228,2502,1950,1787,1659,1556,2014,1876,1566,1736,1780,2006,2117,2030,1871,1793,1659,1779,1878,1851,1699,1654,2080,2195,2093,1811,1466,1311,1564,1792,1857,1849,2061,2110,1974,1866,1861,2061,1994,1593,1513,1504,1537,1500,1484,1628,1562,1512,2080,2548,2458,2792,3082,2387,1847,2110,2254,2371,2089,1519,1478,1671,1541,1532,1574,1756,1959,2498,2144,1914,2448,2632,2116,2460,3241,3204,2674,2234,2530,2087,1751,2085,2085,2066,1790,1707,2204,2313,2148,2445,3031,3544,3428,3115,2940,2719,2171,2252,1933,1992,2172,2080,2743,3252,2785,2683,2750,2390,2673,2689,2290,2178,1942,1926,1771,1529,1604,1678,1577,1584,1520,1512,1869,1707,1720,1610,1878,2374,1827,2446,3153,2496,2584,2916,2757,2135,2238,2261,2279,2488,2114,1816,1558,1532,1790,1835,1511,1311,1771,2155,2053,1852,1804,2064,2387,2523,2302,2067,2074,2688,2489,1518,1612,1542,1700,2238,2142,1834,1903,1986,1752,1522,1636,1885,2049,2050,1838,1841,1736,1638,1753,2010,1846,1784,1814,1742,1969,2088,1964,1478,1247,1639,1940,1922,1567,1673,1622,1398,2022,2400,1941,2132,2740,2014,1666,1932,1796,2961,3227,3145,2912,2589,2747,2821,2635,2232,2207,2444,2287,2345,3338,3354,3065,3021,3676,3116,2454,2574,2592,2082,1941,2002,1835,1926,1703,1729,1992,1740,1580,1822,1884,1668,1810,1845,1672,1573,1613,1660,1756,1979,1980,1853,1985,1768,2101,2050,1709,1593,1551,1542,1550,1542,1522,1726,1725,1591,1452,1520,1837,1684,1620,1820,1702,1562,1482,1649,1490,2059,2126,2031,1864,1649,1839,2090,2329,2367,2409,2336,2141,2010,2008,1920,1704,1814,1771,1774,1963,1910,1852,1937,1896,1632,1395,1554,1671,1842,2074,2404,2117,2016,2012,1755,1584,1857,1849,1777,2129,1816,1675,1822,1947,1715,1632,1518,1340,1456,1679,1738,1773,1568,1692,1856,1587,1632,1837,2330,2003,1982,2399,2620,2754,3327,3723,3664,3447,3672,3869,3824,4073,4376,4279,4308,4664,3647,3566,4769,4877,4795,4971,4828,4931,4546,3873,4046,4030,4017,4147,4256,4131,4236,4253,4188,4050,4124,4384,4128,3491,3652,3829,3506,3889,4345,4561,3927,3332,3052,2241,1913,1843,2154,1686,1533,1532,1679,1669,1769,1676,1599,1733,1644,1593,1716,1711,1526,1605,1460,1500,1489,1506,1490,1534,1564,1674,1866,1874,1736,1546,1544,1525,1625,1770,1764,2404,2314,1880,1786,1922,1848,1902,2036,2226,1987,1786,1749,1672,1774,1717,1794,1586,1438,1691,2154,2238,2120,1956,1708,1520,1484,1502,1652,1759,1983,1959,1606,1329,1472,1700,1899,1816,1449,1395,1632,2116,1960,1862,2288,2009,1976,1699,1634,1849,1620,1687,1802,1688,1555,1658,1588,1582,1820,2061,1604,1336,1318,1289,1493,1344,1195,1290,1404,1489,1822,1589,1725,1764,1437,1368,1571,1709,2013,2458,2207,2818,3300,2953,2907,3237,3318,3220,3068,3062,3030,3177,2718,1907,2135,2302,2313,2662,2630,2086,1825,2105,1968,1613,1680,1642,1486,1562,1702,1838,1750,1701,1920,1769,1808,1833,1717,2091,2126,2016,2156,2425,2788,2736,2486,2850,3312,3511,3002,1957,1770,1911,1703,1626,1808,1695,1462,1714,1596,1561,1520,1424,1488,2433,2890,2565,2487,2973,3549,3474,3005,2341,1850,1875,1968,1785,1673,2064,2591,2633,2110,1931,2321,2292,2274,2430,2283,1797,2357,3131,3299,2393,2028,1710,1922,2373,2232,1893,1831,1714,1607,1728,1620,1514,1504,2299,2004,1692,1870,2465,3408,3888,3673,3374,3294,3028,2264,1812,2371,2093,2025,2386,2934,2644,2000,2122,2891,3167,2443,2317,2540,2503,2071,2424,2546,2544,2719,2858,2558,2379,2131,1996,1874,1616,1812,2674,2698,2420,2758,3415,2758,2578,2318,1995,2111,1900,2486,2731,2888,2757,2123,1875,1756,1609,1636,1954,1968,1384,1499,1515,1344,1316,1532,1669,1643,1451,1485,1549,1400,1337,1589,2194,2531,2187,1967,2119,2085,2187,2168,1745,1648,1500,1510,1409,1241,1416,1430,1273,1320,1343,1451,1750,2025,2095,2025,2043,2209,1910,1742,2512,2376,1531,1914,2537,2320,1600,1688,1936,1908,1826,1738,2146,2433,1860,1615,1778,1700,1423,1477,1516,1507,1607,1610,1460,1632,1757,1498,1788,2144,1979,1755,2034,2106,1583,1380,1518,1632,1635,1683,1623,1591,1465,1430,1511,1657,2043,3188,3650,3725,2754,2605,2525,2077,1809,1775,1928,1931,1853,2042,1872,1750,1835,1904,1970,2214,2279,2264,1832,1708,1765,1918,2147,2217,2253,2350,2355,2575,3044,3218,2931,2894,2123,1713,1959,2342,2239,1946,2237,2195,2061,2108,2642,2513,2378,2158,2049,1822,1991,2354,2216,1908,1460,1712,2040,1588,1541,1413,1582,1503,1475,1497,1711,1780,1524,1680,2067,2054,2059,2304,2006,1713,1785,1733,1661,1910,2470,2575,2110,1876,2107,2194,1929,1783,1668,1895,2239,2082,1714,1697,1856,2093,2090,1826,1497,1870,1995,1964,2040,1654,1669,1970,1869,1880,2293,2448,2163,2311,2159,2030,1933,1837,1527,1750,1643,1369,1398,1564,1503,1576,1633,1632,1637,1378,1493,1770,1730,1653,1509,1416,1626,1853,1936,1876,1872,1675,1484,1664,2075,2654,2292,2140,1534,1356,1986,2087,1885,1642,1391,1515,1660,1603,1707,1649,1841,2083,2252,1987,1978,2238,2107,1773,1759,2136,2362,2009,1489,1324,1482,1472,1323,1319,1526,2134,2274,2226,2073,2036,1770,1568,1428,1472,1465,1544,1350,1385,1473,1576,1621,1705,1636,1730,1834,1810,1782,1831,2165,1922,2116,2181,1819,1598,1500,1542,1677,1722,1936,1987,1691,2264,2773,2403,2004,1554,1837,2024,1714,1692,1775,1816,1811,1954,2193,2076,2543,3352,3361,2954,2223,2164,2799,2152,1247,1413,1662,2384,3089,2365,1669,1902,2174,2242,2235,2107,2027,2302,2216,2053,2229,2367,2238,1842,1824,1541,1717,1992,1717,1520,1981,1964,1801,1858,1895,1948,1902,1794,1698,1719,1991,1598,1788,2316,3532,3570,2500,1623,2029,2656,2621,2698,2688,2678,3057,3221,2609,2505,2511,2603,2995,3229,3183,2824,2562,2890,2739,2761,3480,3978,3718,2836,2437,2122,1769,2126,2700,2641,2899,2696,1859,1892,2341,2121,2088,2150,2164,2624,2828,3244,3156,2458,1952,2376,2375,2707,2879,2843,2768,2802,2507,2225,2364,2589,2730,3022,3320,3304,3032,3154,3032,2563,2375,2324,2484,2458,2898,3038,2831,2667,2503,2598,2276,2433,2377,2190,1963,1834,1878,2275,2582,2622,2671,2558,2273,2281,2338,2387,2115,1914,1746,1817,1576,1722,1874,1864,2137,2576,3133,3172,3459,3377,2769,2699,3045,3054,2959,2242,2252,2653,2629,2315,2029,2093,2366,1888,2009,1900,1789,1838,2125,2496,2669,2500,2309,2416,2185,2218,2777,3063,3027,3108,2708,2827,2798,2622,2710,2521,2203,2210,2243,2144,1713,1949,1729,1778,2319,2438,2138,2372,2254,2152,2329,2031,1909,1881,1870,1828,2095,2818,3107,2929,2657,2142,2211,2421,1873,1384,1719,1981,2490,2646,2582,2511,2674,3006,3044,2792,2264,2258,2372,1725,1974,2584,2910,2485,2798,2100,1512,1512,1473,1268,1970,2894,2946,2718,2714,2918,2281,1869,1811,1998,1813,1808,1809,1548,1454,1520,1687,1676,1482,1514,1829,2023,1635,1694,2158,2236,1737,1626,2298,3084,3284,2661,2447,2324,1858,2759,2542,2999,3259,2633,3029,3252,3332,3187,2879,2780,2780,3088,2643,3263,3520,2542,2125,2297,2544,2702,2481,2310,2009,2033,2007,2288,2886,2958,3265,3392,3339,3626,3578,3806,3704,3494,3480,2830,3239,3896,3527,3131,3260,3609,3618,3566,3372,3040,3117,3260,3319,3181,3202,3426,2984,2824,2867,2766,2940,2862,2971,3035,2360,2138,2108,2432,3040,2880,3375,2972,3182,3640,3376,2640,2307,2918,3191,3262,3460,3162,2786,3040,3508,3228,2688,2429,2167,2346,2323,2588,3254,3662,3332,2552,2946,3228,3093,3024,2699,2600,2508,2511,2072,1840,2152,2417,2462,2439,2422,1895,1598,2240,2434,3284,3331,2640,2975,2895,2749,2966,2551,2354,2063,1510,2106,2459,2799,2790,2219,1910],[2683,2787,2930,2673,2471,2691,3311,3229,2592,2987,2824,1771,1417,2149,2850,2800,2480,2309,2102,2370,3123,3028,2551,2624,2933,2945,2343,2335,2431,2135,2015,2078,2081,2285,2360,2557,1994,2302,3110,2208,2373,3387,3465,2622,2697,2754,2450,2526,2332,2344,2371,2137,1654,2585,3338,3470,2968,2998,2695,2192,2271,2119,2201,1921,1713,2197,2181,2887,3804,3953,3799,3119,2493,2067,1679,2030,2164,2266,2317,1936,1676,1964,2602,2470,2366,2138,1936,2501,3105,3060,2908,2796,2815,2953,2600,2020,2208,2069,2115,1899,1948,2304,2323,2359,2308,2357,2664,3277,3221,3040,2819,2552,3108,3476,3627,3996,3980,3827,3328,2607,2925,3249,3342,3421,3393,3261,3519,3836,3893,3913,3878,3618,3813,3903,3843,3572,3002,2693,2682,2676,2028,1878,2238,1928,1832,2499,3085,2591,2221,3310,3124,2868,3676,3234,2667,2875,2542,2678,2830,2714,2478,2491,3205,2853,2315,2886,3885,4112,3860,2997,3298,2994,2609,2977,3030,2654,2456,2651,2710,2295,1889,1686,1644,1560,1701,2713,2578,1674,1382,1918,2778,2744,2473,2424,2893,2485,2466,2353,2365,2546,2220,2243,2018,1704,1567,1604,1852,1681,1760,1601,1872,2232,1703,2175,2569,2472,2455,2566,2413,2096,1969,1799,1793,2008,1760,1583,1847,1916,2071,1907,2039,2790,3433,3406,3201,3144,2434,2104,1960,2298,2161,1488,1651,1841,1842,1798,1782,1848,1865,1919,1989,1540,1667,1628,1468,1461,2055,1963,1635,1590,1505,1727,1723,1687,2088,1976,1716,1632,2003,1775,1752,1791,1838,1600,1479,1614,1670,1670,1689,1638,1636,1850,1817,1872,1865,1946,1831,1732,1781,1814,1699,1579,1519,1541,1708,1647,1481,1444,2352,2898,3242,3030,2448,2347,2410,2281,2264,2157,1991,1982,1863,1741,1581,1531,1280,1950,2379,1891,1788,1766,1640,1968,2029,1593,1563,1574,1877,1809,1638,1760,1808,2093,2281,1759,1592,1685,1528,1754,2041,2044,2320,1541,1431,1722,1942,1970,1638,1714,1842,2210,2214,2038,2078,1702,1653,1507,1647,1678,1443,1581,1656,1546,1665,1747,2119,2533,3150,3472,2535,1742,1937,2128,1918,1827,1730,1709,2024,1551,1577,1440,1372,1531,1813,1803,1876,2268,2474,2540,3145,3387,3207,3098,2518,2161,1882,1795,2003,2159,2118,2220,1998,1722,1744,1605,1693,2665,3339,3370,3088,2531,2114,2380,2555,2058,2010,1743,1836,2656,2706,2474,2568,2599,1798,1792,2368,2113,1859,2122,2255,2104,1769,1792,1884,1664,1824,1924,1938,1845,1520,1697,1668,1656,1820,1558,2024,2579,1823,1605,2407,2841,2511,2618,2198,2110,2393,2183,1760,1544,1552,1598,1609,1537,1779,2082,3076,3329,2647,2123,1712,2290,2549,2329,2028,1763,2045,1967,1655,1635,1490,2141,2095,2208,2102,1940,2072,1843,1793,2011,1885,1904,2105,1772,1747,1709,1526,1544,1937,2007,2043,2020,1813,2109,2407,2396,1421,1106,1495,1864,1584,1544,1955,1731,1516,1855,2026,1796,1964,2229,1600,1729,2320,2478,3110,3145,3073,3064,2861,2519,2514,2685,2408,2265,2268,2199,2142,3460,3803,3584,3398,3594,3163,2905,3382,3357,2552,1888,1717,2034,2429,2779,3150,3028,2717,2580,2228,1765,1736,1733,1789,1538,1573,1817,2054,2208,2610,2415,1931,1814,1852,2111,1986,1648,1620,1565,1682,1854,1769,1826,1810,1688,1528,1455,1394,1860,1930,1474,1521,1602,1657,1407,1271,1261,1806,2267,1944,1649,1618,1664,1791,1892,2128,2379,2529,2402,2110,1980,2084,2311,2404,2128,1719,1693,1870,1834,1829,1764,1760,1683,1634,1551,1881,2020,1871,1695,1854,1947,2078,1977,1854,1810,1859,1722,1673,1618,1655,1832,1871,1808,1650,1488,1594,1710,1661,1841,1648,1707,1758,1588,1954,3133,3286,3018,2540,3200,3684,3114,3413,3929,3564,3159,3742,3845,3613,3631,4075,4355,4664,4845,3582,3215,4632,5037,5036,4876,4400,4844,4631,4132,4149,4052,4049,4098,4160,4291,4293,4298,4256,3950,4171,4571,4576,3839,3665,3495,3278,3715,4035,4172,3598,3007,2562,1975,1937,1924,2018,1733,1717,1816,1902,1797,1943,2163,1925,1410,1554,1518,1607,1568,1917,1766,1592,1571,1446,1475,1554,1521,1628,1976,1950,1807,1527,1570,1686,1741,1699,1942,2191,2509,2655,2258,2220,2434,2140,2066,1634,1798,1626,1617,1499,1421,1475,1624,1750,1748,2009,2333,2210,1926,1776,2204,2067,1688,1502,1518,1648,1824,1804,1695,1534,1526,2061,2363,2596,2136,1469,1208,1458,2055,1970,1755,1796,1577,1520,1410,1519,1734,1565,1447,2056,1799,1659,1806,1507,1439,1735,1759,1419,1368,1383,1372,1467,1323,1248,1238,1393,1644,1732,1460,1406,1324,1319,1502,1942,1804,1930,2125,2292,2812,2844,2720,2981,3164,3243,3163,3010,2867,2774,2511,2387,1804,2078,2239,2386,2415,1999,1845,1957,1992,1776,1443,1607,1536,1551,1604,1883,2495,2482,1703,1694,1558,1974,2064,1804,2024,1935,1693,1780,2109,2618,2868,2480,2980,3086,3083,2764,1905,1659,1552,1396,1623,1786,1531,1542,1490,1719,1994,1658,1497,1477,1858,1963,1763,2094,2879,3402,3306,2405,1916,1662,1812,1900,2178,2031,2010,2466,2867,2621,1986,1610,1704,1828,1815,2032,1866,1770,1911,1996,2321,2372,2068,2176,2334,1887,1522,1524,1343,1430,1677,1705,1559,1528,1794,1805,2147,2559,2487,2808,3051,2443,1780,1954,2216,2295,2234,2524,2408,1941,1771,2156,2006,1624,1682,2424,2762,2538,2370,2410,2795,2997,3161,3065,2612,2683,3005,2824,2498,2109,1995,2083,1825,1710,2460,2595,2038,2461,2850,2346,1988,2015,2198,2277,1893,2393,2110,2001,2164,2281,2112,1818,1616,1679,2531,2800,1677,1381,1359,1367,1321,1260,1344,1355,1383,1350,1241,1236,1325,1642,2109,2460,2419,2221,1999,1889,1982,2323,1892,1442,1412,1476,1350,1324,1479,1446,1364,1426,1479,1477,1684,1992,2155,2125,2112,2200,1965,1699,1901,2013,2048,2304,2164,1894,1671,2046,2122,1845,1653,1750,2189,2084,1791,2021,1772,1555,1444,1388,1387,1497,1795,1865,1616,1646,1704,1635,1852,1957,1842,1682,1860,1920,1829,1613,1786,1634,1642,1613,1527,1686,1571,1608,1581,1727,2033,2784,3849,4117,3216,2577,2529,2190,1911,1972,2055,1860,1980,1930,1868,1825,2029,2249,2730,2552,2345,2313,2164,2136,2086,2265,2279,1781,2217,2600,2494,2522,2907,2707,2264,1995,1893,2179,2648,2701,2625,1796,1934,2348,2403,2731,3258,2679,2446,2496,2563,2134,1843,2049,1676,1577,1323,1545,2052,2015,1892,1616,1483,1562,1665,1638,1746,2002,1570,1517,1799,2135,2230,2459,2171,1909,1707,1618,1677,1909,2336,2148,1701,1580,1914,1894,1784,1636,1619,2015,2129,1761,1688,1642,1642,1986,1937,1990,1862,1994,1839,1780,1437,1334,1737,1856,1715,1822,2341,2531,1733,1693,1565,2053,2305,2107,1746,1657,1813,1909,1604,1445,1376,1483,1463,1730,1687,1716,1722,1577,1875,1924,1577,1387,1294,1718,2102,1958,1735,1817,1413,1357,1758,2143,1798,1489,1401,1367,1463,1786,1876,1415,1057,1421,1787,1743,2100,2338,2469,2575,2602,2124,1847,2230,2287,2001,1765,2057,2693,2386,1680,1421,1387,1314,1385,1373,1638,1997,1969,1872,2419,3025,1886,1447,1488,1541,1495,1375,1446,1627,1626,1546,1578,1636,1514,1585,1588,1608,1555,1794,2060,1757,1468,1626,1866,1761,1472,1269,1445,1679,1979,2159,1995,2678,2852,2092,1660,1510,1907,1879,1931,2482,2866,2459,2566,2700,3003,2384,2406,3308,3684,2885,2164,2482,2788,2271,1946,2177,2322,2862,3138,2714,2069,1919,1964,1873,1923,2053,1723,1866,2602,2784,2163,2176,2218,2239,2139,2034,2047,2167,1809,2612,3339,2260,1502,1651,1633,1746,1909,1890,2043,1777,1707,1756,1863,2387,3215,3765,3031,2136,2640,2403,2224,2381,2376,2022,2237,2742,2514,2238,1987,2403,2863,2961,2553,2403,2577,3042,2965,3183,3421,3492,3090,2448,2002,1848,2001,2401,2598,2500,2958,2947,2015,2360,2729,2208,1835,1704,2037,2354,2000,2358,2390,2379,2472,2779,2850,2833,3073,2739,2513,2898,2896,2895,2980,2797,2611,2930,3069,2973,2830,3025,2790,2604,2783,2291,2018,2508,2534,2226,2590,2722,2567,2166,2093,2000,1919,1951,1626,1297,1330,2221,3187,3308,3277,2853,2301,2530,2762,2839,2302,2116,2045,1968,1631,1731,2104,1886,2301,2996,2985,2337,2664,2705,2606,2756,3123,3349,3054,2526,2433,2343,2369,2556,1919,2073,2680,2759,2299,2193,2073,1858,2146,2261,2128,2265,2279,2744,2892,2240,2254,2701,2788,2819,2768,3161,3322,3104,2857,2710,2930,2751,2467,2481,2115,2075,1944,1903,2272,2429,2284,2341,2604,2502,2326,2334,2318,2458,2455,1938,2109,2432,2847,3204,2697,2232,2420,2438,1759,1715,1837,2057,2358,2423,2415,2498,2552,2722,2534,1945,1686,2065,2402,2081,2278,2807,3160,3022,2912,2776,2005,1453,1687,1669,2088,2624,2526,1974,2096,2656,2602,2084,1789,1878,1843,1581,1375,1396,1432,1549,1805,1641,1771,1641,1805,2001,1710,2351,3909,4031,2887,2270,2985,3344,2474,2159,2885,2842,2441,2944,2810,2792,2563,2481,2809,3066,3117,2333,1743,1626,1960,2311,2256,2248,2799,2308,1843,1960,2170,2382,2249,2047,2017,2313,2413,2953,3487,3194,3420,3674,3607,3504,2979,3151,3918,4154,3919,3341,3584,3819,3149,3010,3439,3590,3198,3141,3109,3161,3209,3175,3127,3042,3363,3261,2661,2907,2968,2896,3121,3012,3272,2855,1995,2353,1936,1020,1769,2767,3076,2910,2751,2882,2934,2732,2494,2874,2990,2830,2711,2990,3090,3210,3227,3083,2542,2282,2043,2031,2177,2883,3663,3775,3220,2098,2268,3116,3286,3376,3305,2959,2718,2426,2259,2486,2730,2544,2169,2203,2008,1823,2148,2247,1756,2118,2102,2271,2792,2896,3046,2972,2464,2734,2160,1482,1953,2299,2451,2631,2498,2348],[3444,3002,2343,2599,2763,2985,3363,3456,3132,2503,1736,1489,1471,1615,2120,2514,2454,2258,1875,2163,2764,2951,2866,2942,3133,3244,2570,2001,2054,2041,2122,2312,2216,2228,2094,2781,2430,2121,2310,2265,2418,2625,2431,2524,2944,2916,2732,2743,2649,2796,2529,2308,1973,2244,2789,2684,2400,3204,3038,1980,2046,2386,2856,2714,2541,2323,2055,2397,3204,3592,3693,3074,2007,1603,1571,2066,2088,1952,1844,1877,1813,2323,2386,1978,2105,1887,1812,2322,2771,2868,2966,2643,2604,2578,1968,2054,2123,2007,2020,1982,1952,2095,2615,3176,3371,2784,2474,3416,3459,3039,2937,3238,3526,3462,3582,3876,4058,3937,3462,2519,2232,2619,3166,3389,3476,3718,3950,4006,4011,4011,3660,3291,3971,4179,4165,4082,3360,2303,2176,2382,2011,2190,2464,2019,2304,2534,2379,2775,3459,4211,4380,4016,3896,3431,3156,2907,2333,2250,2499,2342,2280,2309,2264,1471,1625,2315,2845,2861,2998,2854,2809,2363,2522,3045,2885,2386,2172,2352,2524,2253,1895,2214,2417,2307,2142,2288,1769,1561,2123,2351,2382,2483,2472,2746,2856,2654,2970,2577,2728,2808,2183,2030,2061,1544,1416,1767,2177,1835,1671,1674,2734,2635,1852,2111,2312,2333,2427,2539,2426,2190,1676,1743,1942,2302,2084,1862,1952,1779,1771,1775,1874,2468,2975,2890,2586,2524,2041,2035,1902,2018,1940,1547,1703,2289,2160,1597,1498,1417,1492,1945,2093,1665,1579,1642,1682,1665,1759,1678,1731,1598,1707,1800,1466,1726,2047,1897,1598,1851,2319,2131,1918,2104,1992,1535,1604,1529,1610,1509,1462,1472,1455,1392,1735,1963,1914,1869,1975,2064,1837,1779,2120,1987,1697,1624,1937,1953,1592,1500,1716,2004,2231,2278,2110,1870,1806,1828,2010,1986,1899,1813,1647,1647,1706,1582,1497,2008,1948,1570,1510,1697,1543,1499,1885,1739,1433,1362,1424,1399,1473,1621,1864,2415,2265,1725,1493,1628,1544,1696,2138,2457,2303,1862,1994,2133,2154,1780,1627,1807,1914,2521,2607,2392,2159,1863,1886,1737,1677,1580,1656,2094,1743,1786,1778,1753,2251,3003,3460,4059,3286,1796,1554,1583,1462,1494,1710,2002,2014,1716,1786,1664,1781,1690,1583,2020,2259,2309,2556,2787,2678,2335,2787,2938,2753,2137,1918,1950,2353,2586,2256,2283,1850,1522,1572,1803,2493,3536,3124,2976,2682,1760,1438,2484,3002,2522,2114,1680,2105,2471,2437,2508,2320,2547,2220,2127,2460,2242,2261,2462,2164,1964,1942,1946,2117,1832,2020,1853,1524,1390,1420,1623,1500,1393,1540,1423,1369,1595,1653,1562,2069,2399,2749,2667,2139,1836,1976,1776,1517,1958,1876,1615,1629,1517,1752,1789,2839,3550,2830,2254,2102,2034,2214,2605,2314,1836,1752,2050,1918,1620,1772,1990,1691,1918,1840,1542,1700,2215,2940,2973,2298,2204,1938,1596,1556,1848,1950,1695,1986,2153,2331,2496,2111,2098,2154,2293,1852,1343,1288,1557,1528,1484,1557,1507,1492,1785,1830,1531,1549,1736,1936,1859,2006,2661,3087,3067,3229,3119,2899,2845,2790,2609,2168,2607,2287,2275,2390,3369,3705,3395,3212,3285,3318,3332,3396,3250,2410,1839,1991,2737,3058,3133,3539,3572,3191,3219,3210,2655,2082,1933,1587,1401,1515,1934,2087,1815,2075,2128,1820,1827,1831,1691,1668,1653,1541,1573,1698,1903,1965,1871,1824,1760,1620,1650,1806,2159,1936,1478,1484,1629,1723,1481,1192,1344,1775,2163,1853,1587,1742,1754,1548,1476,1830,2638,3937,3766,2427,1818,2174,2415,2481,2540,2002,1532,1534,1629,1804,1752,1854,1871,1830,1775,1965,1836,1283,1307,1721,1887,1986,1787,1800,1861,1846,1696,1703,1722,1600,1750,1904,1798,1703,1710,1825,2029,1700,1698,1625,1984,1938,1686,2323,3786,4072,4014,3816,3917,4168,4079,3746,3658,3640,3547,3785,3867,3650,3736,4191,4663,5019,4768,3565,2945,4587,5108,5107,4971,4432,4531,4583,4336,4101,4071,4159,4300,4322,4203,4205,3986,4046,4147,4188,4244,4468,3979,3613,3152,3140,3368,3307,3529,3406,3250,2290,1973,1976,2155,1824,1565,1651,1997,2050,1842,2024,2173,2064,1621,1491,1380,1561,2112,2445,1920,1648,1709,1688,1665,1754,1764,1718,1816,1825,1766,1733,1582,1720,1996,1771,2002,2439,2768,2909,2392,2069,1935,1853,2115,1673,1568,1594,1621,1427,1483,1625,1680,1566,1817,2246,2251,1882,2077,1905,1731,1666,1719,1598,1562,1666,1723,1613,1581,1540,1826,2266,2341,2575,1949,1491,1299,1826,2243,2029,2076,1794,1461,1394,1475,1623,1552,1730,1836,2095,1854,1788,1500,1273,1455,1676,1458,1405,1588,1401,1326,1377,1398,1263,1251,1426,1415,1440,1820,1886,1406,1328,1505,1750,1442,1949,1777,2287,2701,2432,2587,2908,3083,3206,2997,2504,2511,2072,1678,1768,1693,1832,1527,1490,2063,1882,1691,1739,1646,1766,1760,1920,1440,1494,1190,1644,2147,1913,1901,1572,1035,1342,1681,1489,1622,1791,1930,1968,2331,2636,2919,2886,3006,2779,2558,2169,1539,1520,1283,1450,1908,1671,1409,1402,1544,1717,1883,1794,1764,1912,1787,1864,1642,2053,3060,3858,3339,2063,1767,1715,2140,2567,2836,2546,1962,2195,2720,2725,2072,1874,2318,2440,2004,1737,1497,1499,1663,1894,2138,2193,1838,1563,1870,1832,1590,1782,1387,1499,1982,1794,1483,1597,1852,1866,2182,2001,1820,2272,2264,1706,1626,1770,1721,2013,2110,2460,2570,2057,2166,1936,1558,1755,2345,2724,2426,1951,2301,2498,2868,3452,3488,3063,2263,2452,2702,2338,1629,2114,2160,2272,2396,2185,2407,2464,2107,2305,2525,2027,1528,1970,2220,1852,1676,1844,1676,1882,2365,2345,1984,1704,1500,1588,2069,2090,1520,1237,1404,1432,1392,1377,1382,1384,1499,1557,1382,1392,1511,2016,2363,2583,3124,2526,1734,1549,1596,2120,2331,2029,1453,1360,1350,1476,1416,1362,1371,1443,1543,1537,1611,1968,2239,2226,2158,2067,1804,1400,1528,1992,2757,2600,1854,1588,1532,1810,1936,1746,1573,1585,1607,1513,1734,1754,1787,1738,1656,1571,1596,1747,1845,1805,1577,1611,1645,1922,1852,1958,1757,1553,1792,1888,1743,1799,2018,1749,1874,2137,1910,1924,1963,1851,1925,2148,2438,2382,2787,3012,2795,2731,2650,2540,2691,2813,3028,2144,2352,2404,2091,2056,2213,2655,3020,2596,2282,2425,2365,2354,1996,1977,2024,2068,2940,3113,2690,2580,2290,1791,1667,1805,1914,1969,2420,2283,1895,1809,1793,2130,2407,2797,2977,2604,2412,2339,2292,2144,2039,1863,1591,1559,1418,1529,2054,2306,2145,1808,1547,1483,1397,1531,1909,2172,1682,1412,1738,2246,2277,2298,2154,1854,1607,1583,1888,2259,2061,1657,1458,2285,2591,1907,1715,1802,1562,1874,2164,1728,2017,2095,1744,1737,1678,1771,2030,2051,1669,1516,1512,1594,1766,1811,1670,1426,1559,1810,1390,1372,1241,1910,1953,1600,1789,1758,2120,2505,2592,1945,1758,1651,1598,1895,1633,1803,1908,1732,1859,1709,1473,1444,1306,1439,1867,1871,1822,2574,1911,1573,2112,2396,2171,1769,1540,1320,1420,1567,1487,1474,1609,1972,2066,1997,2442,2623,2378,2134,1897,1650,1709,2107,2242,2173,1916,1899,2395,2168,1661,1732,1761,1518,1413,1242,1378,1853,2175,1834,2097,2496,1714,1556,1641,1509,1446,1461,1429,1525,1679,1570,1524,1677,1476,1218,1222,1507,1721,2116,1852,1353,1356,1652,1904,1747,1511,1234,1422,1726,2434,2321,2401,2332,2096,1932,1602,1731,2116,2310,2363,2920,3167,2819,2274,2493,2718,1978,1693,1988,2397,2576,2511,2740,2869,2389,2357,2386,2807,3043,3120,3000,2468,2208,2105,1802,2181,2398,1926,2390,2741,2481,1957,1749,1823,2315,2481,2575,2644,2200,1633,1880,1935,1698,1371,1414,1428,1685,2083,2126,1999,1848,1986,2245,2539,3060,3439,3325,2390,2430,2280,2062,2168,2359,2699,2432,2260,2270,2308,2137,2331,2765,2877,2843,2653,2840,3065,2964,2940,2974,2979,3249,2921,2170,1878,1970,2344,2270,2211,2844,2640,2611,2240,2764,3885,3444,2621,2567,2665,2569,1987,1973,1815,2389,2280,2471,2893,2698,2503,2573,3062,3194,3075,3116,3018,2796,2707,3017,2898,2610,2321,2148,2082,2630,3088,2564,1896,2149,1744,2014,2690,2791,2466,2234,2321,2415,2388,2303,2037,1758,2000,2584,2965,3116,3171,3012,2708,2628,3063,3343,3237,2947,2352,1967,1748,1988,2140,1842,2501,3332,2907,2153,2048,2337,2817,3505,3553,3417,3155,2833,2842,2238,1751,1839,1721,1565,2307,2435,2099,2778,2835,2025,1875,1714,1823,2344,2531,3341,3253,2298,1793,2055,3009,3675,3373,3291,3364,3348,3164,3118,2768,2851,2846,2555,2730,2511,2011,2154,2687,2783,2779,2416,2731,2668,2191,2136,2124,2341,2003,1610,1633,1779,2414,2701,2019,2037,1896,1806,1744,1952,2162,2412,2221,1797,1894,2472,2342,1999,1831,1730,1845,1662,2045,2975,2931,3099,3139,3031,3031,2954,2779,2721,2476,2304,2784,2925,2010,1655,2158,2646,2835,2324,1905,2229,2017,1326,1101,1168,1444,1444,1639,1750,2026,1656,1534,1850,1709,2644,4003,4039,3166,2447,2659,2825,1884,2309,3486,3709,3650,3541,2718,2231,2389,2089,1989,2249,2265,1830,1745,1879,2155,2782,3033,1964,1666,1764,1634,1466,1626,1965,2181,2051,2242,2435,2591,2749,2210,2592,3774,4283,4167,3340,2631,3161,4058,3988,3864,3850,3870,3661,3349,3104,3320,3339,2972,2932,3153,3651,3559,3386,3079,3187,3414,3233,3053,3038,2895,3022,3257,3134,3108,2552,2253,2116,2048,1158,1361,2287,2880,2909,2823,2714,2624,2653,2371,2170,1973,2319,2790,3028,3138,2990,2706,2706,2678,2564,2307,2116,2240,3284,3683,3570,3396,2479,2210,2329,2791,3146,3253,3228,2752,1815,2172,2541,2699,2150,1807,2050,1987,2015,2464,2076,1181,1004,1964,3012,2855,3039,2959,2779,1759,2150,2222,2004,2304,2349,2153,2130,2247,2299],[3626,3225,2675,3285,3247,3082,3431,3446,2640,1655,1469,1572,1498,1543,1730,1731,1986,2361,1940,1653,2241,2778,3111,3212,3240,3286,2879,2175,2103,2328,2662,2449,2124,2297,2166,2483,3141,2730,2369,2574,2483,2094,1661,1780,2471,2799,2847,2877,2785,2679,2191,2095,2051,2204,2810,2577,2722,3797,3681,2167,1787,1619,1921,2287,2554,2588,2352,2390,3050,3544,3746,3356,1808,1315,1488,2186,1986,1838,1976,1817,1977,2599,1962,1608,2219,1984,1762,2472,2203,2100,2258,2240,2392,1909,1723,1902,1888,1869,2003,1844,1666,2089,2967,3300,3716,3277,3119,3484,3392,3183,3247,3518,3442,3205,3443,3753,3931,3809,3581,2860,2736,3128,3249,3330,3537,3741,3923,4091,4083,4143,4063,4113,4208,4300,4296,4208,3720,3165,2777,2244,2005,2348,2770,2740,3373,2419,2082,3383,4167,4199,4484,4664,4684,4000,2875,2756,2668,2446,2123,1867,2698,2393,1905,1638,1957,2248,2155,2634,3232,2977,2501,2317,2745,3041,3270,3050,2686,2736,2458,2481,2555,3016,3184,2857,2636,1992,1614,1943,2289,2130,1710,2624,3020,2961,2925,2531,2403,2544,2584,2545,1934,1812,2030,1598,1738,1704,1918,1887,1963,1738,2185,2123,1775,2061,2156,2542,2552,2181,1845,2049,1394,1605,1902,2091,1964,1969,1943,1687,1570,1708,1825,2193,2128,2169,2292,2179,2232,2069,1837,1788,1768,1636,1690,1852,1667,1440,1488,1443,1725,2168,1925,1793,1636,1706,1722,1581,1536,1785,1876,1516,1918,2265,2051,2064,2101,2150,2227,2270,2227,1969,1765,1888,1755,1703,1559,1617,1729,1613,2101,2068,1478,1327,1604,1703,1703,1804,2151,1830,1698,2272,2809,2154,1919,2024,2173,2101,1736,1487,1722,2167,2250,2352,2289,2137,2076,1790,1699,1532,1633,1697,1836,2046,1638,1624,1565,1803,1856,1589,1470,1604,1569,1599,1843,1812,1710,1450,1430,1494,1410,1670,2070,2353,1841,1656,1489,1512,1456,1585,2231,2826,2664,2333,2176,2155,2380,2030,1866,1931,2073,2475,2731,2929,2392,1691,1911,1898,1919,1907,1938,2368,1844,1769,1820,2055,2192,2548,3190,3747,3336,2244,1758,1561,1541,1729,1729,1804,1688,1665,1714,1662,1972,2133,2359,2631,1874,1770,1816,2039,1861,2195,2774,3010,3156,2683,2513,2588,2876,2780,2928,2954,2048,1574,1575,1886,3494,3699,3072,2945,2282,1544,1475,2059,2986,2966,2470,2302,2291,1796,1928,2102,1999,2377,2533,2410,2187,2046,2156,1889,1851,1565,1643,2076,1928,1949,2023,1861,1862,1774,1630,1533,1620,1744,1657,1760,1296,1719,1627,1969,2557,2846,2769,2466,2028,2011,1973,1708,1705,2220,2354,2071,1963,1813,1621,1816,2646,3012,2933,2558,1803,1803,2041,2664,3120,2421,1833,2032,1916,1729,1687,1789,1942,1769,1586,1567,1674,2111,2690,2953,2243,1937,1660,1632,1416,1577,1809,1803,1895,2097,2342,2416,2426,2173,1879,1752,1489,1284,1432,1629,1594,1503,1686,1655,1355,1442,1609,1419,2098,2220,2281,1936,1553,2356,3090,3392,3676,3341,3074,2895,2733,2707,2420,2789,2424,2985,3517,3638,3806,3633,3172,3110,3563,3720,3343,3054,3003,3122,3065,3056,3205,3338,3419,3273,3175,3209,2733,2439,1615,1599,1559,1662,1874,2094,1830,1671,2009,2104,1829,2045,1789,1525,1713,1775,1742,1839,1918,1853,1753,1715,1813,1893,1763,1798,1860,1934,1897,1767,1568,1731,1781,1637,1479,1391,1750,2111,1981,1656,1796,1470,1527,1699,1858,3000,4762,4286,2541,1861,2059,2514,2731,2707,2166,1851,2175,1901,1570,1663,1703,1797,1852,1720,1643,1338,870,1101,1536,1803,1910,1838,1556,1671,1759,1616,1745,1950,1843,1624,1854,1930,2105,1968,1799,1859,1670,1470,1637,1720,1698,2170,2808,3462,4017,3896,3776,3907,4093,4080,3962,3921,4006,4147,4025,4023,4101,4020,4016,4737,5128,4991,4431,3053,4452,5063,5093,5173,4753,4460,4628,4519,4252,4174,4183,4293,4070,3883,3927,3752,4092,4357,4083,3993,4040,3837,3832,3464,3328,3718,3560,3295,3361,3041,2179,2008,2099,1887,1644,1567,1578,1883,1892,1715,2036,2112,2378,1613,1372,1560,1692,2025,2181,1936,1876,1901,2175,1971,1861,1900,1892,2087,1949,1913,2267,2078,1925,1887,1757,1975,2045,2070,2336,2186,2159,2131,1904,1802,1574,1525,1597,1719,1917,1775,1737,1818,1460,1623,1735,2048,2061,2157,1763,1483,1585,1795,1816,1620,1550,1620,1507,1485,1743,2273,2059,1819,1764,1616,1577,1727,1985,2084,1915,2111,1656,1489,1477,1648,1899,1716,1847,2062,1656,1499,1466,1304,1302,1443,1608,1366,1507,1621,1513,1398,1372,1457,1320,1304,1350,1399,1602,1830,1882,1458,1315,1521,1415,1439,1608,2047,2387,2323,2438,2569,2756,2548,2087,2126,2420,2664,2071,1753,1537,1558,1647,1437,1563,1876,1811,1999,1790,1494,1549,1585,1744,1499,1790,1436,1365,1908,2527,2315,1703,1758,1657,1744,1435,1524,1902,2301,2192,2022,1976,2133,2331,2510,2199,1590,1701,1379,1621,1225,1274,1578,1772,1596,1417,1385,1608,2138,2474,2670,2812,2089,1974,1724,1986,2980,3676,2809,1722,1527,1878,2412,2662,2844,2714,2116,2050,2567,2420,2029,2052,2208,2284,2114,1981,1810,1594,1737,2025,2058,2123,1690,1589,2110,1974,2263,2725,1865,1761,1961,1415,1205,1440,1888,1878,1821,1498,1357,1867,1998,1733,1577,1571,1638,1873,2205,2853,3031,2768,2806,2188,2021,2009,1893,2140,2240,2031,2420,2521,2768,3510,3354,2769,1916,2554,2918,1973,1734,2511,2561,2380,2589,2513,2696,2832,2247,2170,2192,1978,1847,2309,2310,1914,1853,1820,1589,1686,1908,2026,1945,1808,1376,1526,1601,1417,1312,1283,1435,1421,1513,1422,1265,1310,1472,1454,1346,1450,1547,2256,3202,2815,3099,2388,1499,1417,1519,1839,2156,1993,1401,1288,1418,1595,1481,1468,1511,1475,1517,1426,1485,1794,1744,1643,1635,1522,1488,1363,1491,1794,2267,2208,1740,1466,1476,1543,1583,1581,1596,1396,1441,1425,1533,1619,1869,1909,1865,1630,1730,2125,2392,2047,1788,1844,1429,1680,1829,1984,1709,1517,1731,1897,1693,1538,1641,1495,1682,2253,2426,1962,1980,1636,1983,2212,2473,2265,2180,2669,2798,2630,2415,2798,2719,2181,2443,2070,2632,3383,2897,2395,2322,2489,2626,2371,2206,2168,2039,1676,1883,1895,1960,2235,2607,2564,2402,2397,2248,2122,1961,2151,2027,2037,2178,2042,1812,2199,1896,1759,2111,2496,2335,2411,2443,2430,2358,2481,2136,1777,1636,1638,1921,1845,1909,1954,2005,1814,1499,1434,1522,1522,1854,2312,1898,1677,2117,2163,1915,1990,2199,2110,1538,1521,1826,1825,1781,1830,1761,2184,2133,1728,1837,2106,2085,1996,2267,1926,1925,2179,2332,1948,1788,2126,2283,1897,1318,1193,1472,1571,1637,1562,1574,1412,1392,1669,1502,1493,1427,1665,1573,1461,1697,1991,2305,2610,2880,1949,1939,1745,1773,2040,1684,1580,1686,1466,1395,1488,1531,1381,1369,1393,1627,1681,1780,2411,1999,1494,1618,1882,1825,1544,1590,1407,1433,1445,1602,1930,2005,2280,2349,2030,1949,1939,1787,1831,1926,2085,2243,2335,2443,2264,1924,1771,1947,2045,1891,2166,2354,1579,1255,1229,1315,1595,1948,1939,1995,1808,1509,1465,1440,1504,1576,1903,1450,1508,1708,1580,1457,1453,1501,1581,1901,2170,2604,2614,1673,1333,1432,1921,2247,1771,1652,1518,1423,1843,2202,1952,2017,1985,1911,1755,1623,1876,2073,2636,2122,2057,2512,2653,1869,1607,1789,1619,1500,1564,2018,2172,2346,2776,2438,2265,2662,2266,2670,2862,2689,2745,2819,2912,2328,1765,2111,2161,2527,2852,2684,2719,2645,2062,1935,2089,2226,2434,2454,2353,1813,1731,1798,1659,1455,1360,1541,1883,2131,1992,1770,1870,2204,2210,2275,2946,3344,2564,1983,2231,2254,2106,2028,2289,2565,2485,2372,2562,2631,2341,2534,2770,2995,2782,2830,3272,3287,3112,3062,2601,2251,2415,2537,2125,2050,2200,2294,2151,2408,2664,2290,2484,2720,3430,4075,3597,2929,3041,3112,3173,2522,2674,2378,2658,2788,2844,3046,3129,2707,2853,2928,2753,2686,2903,3074,3049,2848,3024,2864,2309,2112,2051,2371,2851,2474,2098,2113,2475,2464,2737,2928,2910,3240,3152,2924,2843,2717,2631,2545,2452,2532,2603,2665,2690,3028,3216,3124,2861,2862,2980,3022,2666,2284,1968,1714,2021,2169,2176,2480,2797,2993,2654,2368,2476,2692,3427,3321,3275,3098,3022,2632,1834,1664,2025,2429,2209,2131,2170,2319,2984,3209,2765,2272,1855,2324,2631,2677,3393,3110,2144,1671,1662,2533,3367,3133,3473,3606,3476,3144,2805,2596,2765,2388,2491,2888,2434,1803,2344,3252,3414,3354,2554,2175,2031,1982,2147,2057,2126,2055,1641,1649,1691,1775,1963,2146,2354,1835,1785,2081,2153,2741,2821,2592,2063,1960,2549,2481,2823,2867,2452,2093,1789,1932,2308,2655,2841,2586,2411,2784,2741,2778,2962,3043,3295,3774,3758,2769,2358,2692,2713,2610,2198,1696,1885,1771,1255,961,1222,1549,1625,1971,1917,1877,1576,1443,1821,2058,2292,3076,3397,3168,2610,2266,2563,2846,3313,3377,3184,3564,3864,3389,2432,2038,1875,1719,2413,2975,2304,1878,1848,1844,2448,3039,2545,1985,2252,2448,1727,1534,1948,2358,2246,2426,2518,2588,2408,2254,3130,4073,4311,3991,2358,2306,3322,3837,3882,3863,3793,3412,3141,3131,3007,3047,3036,2861,3033,3661,3874,3706,3542,3320,3442,3410,2996,2788,2938,2994,3111,3037,2824,2689,2149,2160,1928,2160,1813,1836,2215,2601,2894,2840,2317,2029,2366,2231,1990,1726,2344,2985,3364,3116,2600,1896,2387,3408,2701,2450,2294,1855,2354,2907,3277,3540,2322,1779,2068,2112,2443,2461,2039,1875,1563,2084,2150,2242,2348,2174,2327,2139,1722,1856,1849,1540,1326,2180,3189,2909,3474,3488,2693,1420,1763,2302,2214,2464,2666,2523,2508,2502,2313],[3112,3222,3437,3573,3398,3440,3564,2820,1692,1339,1605,1684,1559,1585,1628,1799,2278,2487,2366,1925,1900,2264,2368,2497,2630,2903,2946,2678,2294,2617,3073,2445,2225,2502,2287,2293,2907,2918,2510,2436,2192,1507,1196,1716,2184,2563,2596,2501,2279,2283,2060,1742,1780,2430,2835,2657,2874,2893,2895,2543,2754,2510,2302,2723,3020,2757,2688,2776,3270,3927,4268,3792,2298,1931,1910,2107,2064,2164,2061,1761,1813,2014,1841,2152,2612,2032,1762,2255,2141,1823,1893,2392,2358,1825,1782,1849,2060,2546,2675,2027,1686,2821,3749,3730,3891,3488,3227,3261,3211,3404,3475,3508,3672,3339,3566,3626,3739,3753,3615,3127,2611,2848,3393,3435,3558,3796,3780,3960,3980,4060,4120,4084,3948,3999,3795,3702,3747,3782,3319,2198,1965,2010,2258,2246,2257,2112,2822,3790,4111,4331,4564,4584,4709,4120,2902,2636,2254,2442,1961,2112,2658,1803,1505,1881,2078,2230,2322,2474,2899,2577,2347,2623,2476,3099,3400,3277,3330,2998,2398,2179,2121,2557,2710,2460,2224,1628,1704,2194,1853,2099,2430,2998,3172,3386,3387,2696,2470,2767,2526,2279,2158,2235,2098,1724,1639,1648,1860,2150,2182,1722,1650,1815,1766,1927,1940,2454,2066,1515,1646,2177,1966,1847,1948,1936,1809,1775,1792,2020,1779,1815,1685,1746,2071,2600,2189,1759,1848,1920,1830,1757,1579,1489,1561,1550,1530,1509,1529,1541,2236,2086,1704,1880,1578,1732,1583,1475,1590,1738,1600,1982,2898,3076,3032,2609,2459,2788,2752,2248,1752,1662,1943,1662,1579,1818,1655,1619,1690,1551,2081,2153,1548,1413,1589,2107,2217,1807,2493,2426,2064,2187,2470,2111,1778,2005,2203,2120,1918,1781,1898,2335,2194,1909,1870,2619,2686,2213,2052,1779,1780,2007,2275,2420,1777,1916,1744,1692,1613,1652,1624,1792,1942,2150,1918,1622,1776,1461,1494,1471,1418,1873,2222,1991,1729,1500,1404,1406,1417,1483,1848,2437,2508,2249,2377,2289,2456,2400,2148,2036,2322,2670,2780,2833,2306,1587,1833,1858,1771,1724,1832,1916,1957,2035,2020,2236,2371,2334,2553,2994,3419,3072,2652,1980,1726,1916,1742,1790,1816,1694,1615,1678,1600,1670,2014,2074,1715,2236,2208,1919,2120,2332,2410,2863,2908,2880,3190,3216,3642,3296,3470,3157,1676,1724,1912,2535,3095,2723,2700,2987,2631,1933,1895,2428,2874,2744,2584,2482,2374,1959,1838,1962,2099,2225,2642,2754,2083,1671,2160,1709,1515,1514,2116,2166,1561,1709,1811,1736,1685,1884,2089,1814,1622,1788,1655,2422,2050,1685,1738,2677,3011,2511,2558,2292,1725,1855,1726,1775,1844,2243,2391,2387,2382,2047,1596,1852,2207,2535,3038,2415,1842,2040,2478,3112,2993,2745,2479,2214,2214,1987,1690,1994,1998,1724,2194,2029,1952,1853,1958,1901,1648,1552,1561,1599,1636,1570,2038,2580,2350,2371,2246,2445,2733,2179,1820,1948,1860,1630,1788,2025,1658,1935,2270,1835,1356,1364,1632,1400,1888,1853,1798,1767,1686,2398,3140,3473,3529,2953,2841,2770,3130,3706,3519,2844,2224,2930,3605,3390,3563,3770,2712,2698,3356,3550,3510,3206,3178,3528,3440,3109,3298,3445,3344,3222,3254,3108,2238,1922,1584,1449,2164,2273,2151,2136,1886,1794,2260,2189,2055,2036,1625,1601,1745,2198,1986,1751,1943,1817,1896,2079,1996,1824,1672,1742,1783,1656,1949,2172,1790,1780,1790,1655,1521,1403,1830,2012,1809,1876,1696,1339,1472,1600,1726,3150,4960,4019,2420,2446,2380,2508,2371,2667,2066,1820,1892,1600,1436,1515,1638,1707,1820,1911,1866,1542,1300,1288,1507,1411,1506,1504,1496,1544,1504,1671,1924,1906,1851,1740,1780,1976,2218,2204,2062,1749,1654,1736,1754,1615,1848,2518,3028,3558,3676,3550,3632,3770,3814,3890,3763,3841,4288,4583,4391,4371,4471,3918,3529,4740,5172,5184,4904,3195,4021,5096,5204,5148,4947,4803,4792,4833,4500,4436,4364,4201,3950,4100,3984,3814,4165,4357,3741,3306,3186,3275,3650,3605,3485,3894,3950,3478,3233,2634,2200,2165,2224,2134,1869,1700,1472,1698,1807,1841,2036,1843,1764,1480,1473,1688,1710,1936,1788,1833,2118,2159,2341,2429,1862,1544,1732,2028,1772,1695,1864,1815,1907,1944,2038,2124,1751,1836,2496,2522,2459,2114,1743,1483,1429,1554,1704,1888,1931,1642,1893,1693,1508,1787,1621,1619,1995,2158,1943,1628,1566,1648,1726,1533,1542,1570,1515,1570,1752,2070,1927,1737,1738,1543,1462,1687,1766,1930,1570,1651,1520,1216,1534,1735,1763,1699,1716,1615,1666,1875,1496,1627,1925,1849,1782,1637,1590,1632,1586,1478,1488,1401,1397,1383,1552,1833,1820,1660,1649,1485,1529,1674,1498,1427,1874,2593,2664,2585,3013,2634,2916,2056,1672,2101,2340,2447,2215,2010,1672,1446,1753,1708,1296,1462,1678,1600,1396,1490,1556,1480,1206,1453,2027,1914,1555,1670,2056,1830,1518,1708,1626,1615,1483,1571,1922,1755,1438,1461,1595,1843,1985,1970,1975,1516,1710,1852,1915,1335,1250,2055,2316,1925,1628,2119,2356,2270,2702,2641,2554,2447,2444,2370,2426,3275,3652,2822,2072,2137,2375,2482,2559,2513,2470,2214,2088,2132,2093,2098,2066,2104,1938,1540,1656,1718,1609,1995,3094,3123,2850,2722,2502,2324,2106,2089,1938,1641,1785,1923,1611,1551,2126,2236,2205,1675,1316,1395,1768,2026,1805,1488,1561,1644,1723,1835,2481,3083,3052,2820,2754,2587,2294,1550,1595,2071,2342,2745,3073,3359,3590,3007,2157,2060,2568,2776,2079,2410,2896,2285,1876,2230,2744,2843,3010,2432,2177,1697,1769,1753,2311,2242,2150,2364,1876,1612,1689,1873,2643,2514,2363,1551,1486,1434,1404,1318,1284,1265,1290,1376,1289,1337,1348,1417,1362,1366,1438,1438,2417,3251,2587,2193,1853,1672,1396,1445,1697,1900,1700,1494,1372,1457,1638,1582,1458,1485,1655,1632,1377,1409,1526,1371,1406,1582,1526,1465,1430,1419,1432,1525,1663,1641,1570,1666,1614,1683,1627,1688,1376,1418,1450,1406,1850,1933,1771,1564,1446,1450,1767,2078,1819,2036,2014,1613,1640,1956,1904,1578,1529,1704,1925,1855,1494,1487,1528,1554,1879,2191,2590,2556,1848,1613,2007,2762,2909,2849,2906,2828,2845,2620,2570,2633,2243,2332,1995,2520,3292,2558,1727,1947,2496,2481,2108,2178,2280,2345,1730,1810,1981,1968,2111,2425,2292,2112,2424,2488,2010,2114,2291,2194,1886,1858,2098,2218,2192,2273,2334,2414,2801,2501,2381,2349,2735,2493,2385,1970,1770,1653,2041,2182,1875,1991,2007,1883,1451,1406,1451,1475,1377,1891,2392,2221,2225,2039,1622,1525,1860,2718,2555,1573,1633,1860,1894,2210,2336,1873,1435,1439,1668,2169,2368,1975,1799,1818,2211,2125,2271,2419,1873,1591,1744,1948,1612,1400,1781,1749,1582,1624,1469,1884,1918,1665,1910,2130,1822,1681,1515,1508,1433,1792,2256,2533,2632,2782,2084,1806,1614,1642,1626,1421,1534,1511,1508,1578,1525,1688,1471,1475,1544,1542,1515,1634,1927,1593,1010,945,1361,1404,1568,1761,1396,1378,1646,1750,1670,1733,2120,2351,2043,1823,1983,2130,2326,2452,2564,2500,2358,2129,1776,1998,2054,1925,2212,1891,2449,3117,1866,1395,1464,1453,1453,1680,2030,2113,1866,1977,2253,2084,1948,1406,1686,1441,1551,1626,1541,1435,1365,1559,2026,2182,2009,2242,2111,1527,1460,1496,1869,2170,1651,1476,1510,1851,2408,2399,2160,1878,1979,2097,2046,1663,1576,1832,2241,1969,2110,2280,2126,1999,1779,1678,1434,1449,1971,3188,2767,2505,2672,2503,2940,3094,2773,2800,2320,1853,2195,2521,2831,2581,2135,1958,1785,2085,2370,2619,2894,2355,1674,1677,1753,2262,2643,2057,2263,1885,1780,2002,2061,1765,1704,2248,2192,1740,1632,1670,2154,2611,2290,2112,2098,2156,1908,2008,2120,1985,1970,2202,2356,2344,2248,2540,3154,2924,2333,2044,2356,3029,3097,3007,3052,3008,3064,2922,2471,2002,1798,2585,2540,2391,2342,2248,2203,2283,2142,2278,2746,2731,2910,3043,3094,3014,3040,3172,3226,2388,2310,2262,2634,3663,3481,2833,3216,3217,3318,2863,2711,2343,2642,2951,3332,3120,2856,2646,2329,2364,2376,2821,2664,2628,2331,2764,3261,3516,3134,2667,2950,3196,3055,3023,3106,3075,3011,2600,2599,2566,2743,2815,2964,2902,2589,2634,2522,2224,2181,2070,2040,2083,1964,2080,2148,2274,2208,2070,2268,2925,3172,2866,2476,2256,3205,3255,2774,2472,2298,1744,1592,1758,1964,2442,2714,2252,2135,2933,3096,2975,2840,2269,2312,3063,3051,2767,2734,2245,1780,1655,1992,2797,3282,3321,3395,3232,3442,3233,2978,2717,2353,2387,2526,2480,2143,1880,2714,3672,3691,3252,2472,2264,2016,1869,2013,2120,2536,2889,2036,1623,1448,1438,1547,1956,2315,1909,1976,2060,2333,2596,2750,2910,2691,2174,2412,2455,2721,2533,2754,2387,2230,1955,2251,2556,2241,2809,2978,2487,2791,2790,3024,3309,3496,3540,3128,2767,2884,2994,2800,2577,2500,2176,1982,1870,1455,1370,1384,1444,1632,1785,1619,1572,1578,1539,2148,2912,2564,2366,2784,2827,2402,1898,2474,3416,3340,2623,2342,2561,2875,3034,2698,2054,1757,1707,2551,3304,3038,2382,1624,1295,2125,3094,2478,2485,2961,3134,2216,2111,2186,2530,2644,2558,2418,2366,2446,2487,3038,4057,4063,3731,2365,2845,3418,3194,3464,3813,3497,2943,3049,3094,2705,2753,2595,2741,3241,3707,3750,3527,3372,3183,3320,3383,3038,2643,2835,3018,3349,3274,2834,2441,2296,2136,1986,2038,2050,2099,1933,2037,2369,2263,1796,1615,1921,1981,2200,2346,2622,2995,3322,3262,2430,1670,2946,3698,2598,2483,2817,2768,2388,2400,2962,2762,1884,2097,2409,2009,1930,1793,1748,1643,1681,2398,2006,2415,3119,2552,2250,2218,1946,2077,2017,1908,1949,2139,2299,2521,3124,3053,2364,1736,2216,2678,2260,2029,2252,2332,2070,2139,2281],[3438,3303,3407,3529,3550,3815,3315,2065,1454,1428,1668,1635,1541,1554,1870,1958,2108,2154,2243,2109,2096,2289,2022,2146,2391,2448,2426,2501,2641,2896,3086,2697,2522,2679,2673,2617,2673,2549,2443,2074,1847,1613,1448,1871,2116,2687,2764,2420,1997,1887,1790,1589,1773,2685,3123,3761,3523,2017,1691,2495,3060,2990,2732,2934,2823,2630,2580,2773,3019,3586,4140,3819,2489,2203,2810,2494,2187,2335,1845,1955,1709,1521,1674,2106,2624,2130,1836,1813,2008,2055,2018,2075,1945,1818,1858,1744,1897,2427,2082,2084,1851,2250,3435,3970,3564,3042,2785,2820,2695,3074,3538,3737,3938,3530,3736,3685,3729,3911,3807,3480,3134,3002,3320,3466,3427,3529,3495,3657,3893,3890,4012,4070,4060,4082,3853,3768,3837,3947,3620,2483,2553,2119,1860,2114,2819,3233,3775,4108,4312,4567,4387,4159,4428,4168,3383,2552,1821,1730,2057,2016,1831,1312,1171,1591,1682,1614,1919,2003,1803,1841,1905,2171,2269,2821,2545,2535,3062,2673,2024,1743,1866,2197,2243,2124,1785,1829,2364,2512,2311,2640,2858,2966,3228,3530,3668,3487,2632,2397,1952,1997,2395,1932,2280,2150,1569,1697,2040,2233,2168,1615,1850,1921,1725,1808,1781,1834,1760,1761,1946,2448,2562,2277,2263,2128,1889,1839,1869,2010,1649,1552,1568,1736,2207,2583,2297,1829,1794,1690,1715,1898,1809,1804,1829,1750,1603,1594,1466,1511,2262,2185,2021,2170,1677,1737,1439,1389,1499,1538,1942,2595,2213,2082,2987,3262,2675,2611,2437,2178,1763,1899,2047,1578,1484,1575,1614,1650,1558,1585,1941,1908,1661,1500,1613,1997,2172,1765,2461,2159,2204,2235,2370,2244,1648,1818,2048,1708,1575,1823,1864,2133,1985,1652,1694,2289,2597,2398,2013,1709,1697,1821,1993,1841,1824,1958,1659,1556,1993,2011,1799,1804,1898,1835,1603,1786,2095,1631,1497,1474,1586,1682,1688,2055,2017,1527,1444,1420,1562,1732,1770,2267,2651,2723,3261,3184,2791,2599,2441,2262,2482,2750,2854,2818,2586,1724,1837,1935,1775,1993,1994,1919,2097,2220,2364,2497,2452,2222,2226,2512,3094,3067,2702,2003,1839,1822,1725,1679,1959,2171,2126,1903,1592,1722,1698,1447,1556,2179,2031,1823,1966,2127,2606,2977,2586,2605,3030,3532,3472,3033,2876,2082,1471,1831,2483,3055,2698,2452,2183,2351,2453,2580,2661,3114,2917,2624,2288,2272,2509,2050,1671,1916,1823,1858,2609,2807,2290,1902,1854,1893,1602,1482,2009,1890,1477,1466,1754,2025,1722,1683,2160,2180,1941,1689,1554,1909,1881,1944,2544,3208,3146,2734,2641,1877,1665,1636,1531,1665,1686,1926,2002,2220,2444,1995,1653,2216,2267,2246,2819,2395,2356,2670,3063,3317,3123,3031,2773,2460,2349,1861,1892,1968,1731,1527,2265,2628,2368,2096,2097,1772,1629,1765,1779,1817,2037,1511,1937,2604,2768,2679,2207,2244,2354,2008,1931,1877,1650,1869,2226,2224,1781,2227,2061,1640,1341,1366,1563,1478,1483,1448,1516,1832,2028,2756,3008,2923,2910,2865,2850,2686,3120,3308,3006,2444,1991,1975,2477,2640,3486,3798,2691,2335,2491,2967,3209,3026,2861,3109,3287,2965,3264,3417,3355,3234,2850,2782,3049,2395,1833,1593,1754,2071,2153,1871,1734,1634,1780,1612,1895,1857,1611,1632,1687,2108,1891,1595,1678,1850,1950,1898,2004,1708,1675,1749,1743,1722,1812,1757,1542,1781,1783,1611,1502,1557,1782,1736,1602,2008,1954,1545,1500,1591,1767,3086,4529,3631,2670,2625,2481,2174,1954,2419,1967,1635,1453,1411,1488,1526,1562,1552,1641,1896,1975,1790,1634,1633,1449,1271,1590,1657,1556,1571,1721,1921,2055,1903,1751,1652,1572,1713,1770,2021,1906,1818,2127,2062,1693,1757,2099,2285,3003,3626,3903,3774,3617,3465,3694,3938,3543,3486,4177,4689,4673,4667,4500,4135,4059,4676,4860,5035,5085,3623,3593,4796,5202,5029,4980,4627,4231,4492,4511,4395,4391,4098,3950,4184,4132,4025,4357,4252,3437,3033,3171,3296,3461,3773,3947,4420,4363,3928,3394,2708,2430,2187,2105,1909,1547,1730,1521,1612,1799,1950,1859,1701,1662,1453,1615,1716,1763,1834,1566,1754,2009,2214,2492,2466,1786,1453,1592,1754,1765,1945,1930,1941,2033,2089,2464,2761,2583,3130,3091,2720,2500,2254,2024,1852,1647,1658,2013,1882,1638,1515,1526,1412,1730,1792,1760,1823,1746,1964,2078,2034,1888,1578,1480,1638,1582,1612,1506,1483,1764,2012,1928,1833,1692,1545,1388,1478,1699,1706,1640,1549,1456,1340,1604,1710,1612,1564,1657,1590,1784,1867,1583,1979,2220,2315,2179,1792,1665,1585,1369,1492,1725,1483,1387,1554,1642,1807,1641,1613,1549,1511,1609,1648,1542,1674,2338,2676,2526,2190,2265,1953,2495,2114,2040,2309,2257,2264,2446,2437,2388,2198,2061,1792,1460,1335,1570,1611,1658,1961,1960,1714,1798,2134,2029,1622,1525,1555,1531,1625,1669,1737,1734,1571,1431,1519,1725,1615,1506,1473,1477,1722,2092,1759,1671,1407,1914,2830,2396,1505,1300,1663,2310,2317,1549,2604,2830,1999,2018,1872,1742,1978,2130,2309,2352,2653,2929,2680,2511,2596,2331,2491,2430,1991,2166,1991,2007,1917,1936,2090,2090,2214,2162,1655,1688,1653,1672,1930,2869,3272,2913,2799,2663,2383,2260,2110,1870,1886,1823,1874,1680,1493,2338,2222,2122,1744,1384,1749,2076,1832,1812,1610,1647,1600,1776,1837,2216,2822,2975,2651,2630,2852,2536,1918,1774,2041,2285,2333,2569,3095,3030,2474,2137,2446,2334,2005,2036,2371,2618,1983,1848,2167,2492,2605,3005,2689,2187,1864,1814,1700,2057,2186,2242,2257,1705,1769,1727,1860,2820,2789,2447,2022,1565,1472,1504,1335,1280,1231,1237,1392,1372,1407,1334,1377,1478,1650,1627,1549,2309,2321,1555,1368,1420,1710,1232,1326,1597,1631,1618,1650,1454,1407,1496,1428,1216,1323,1768,1795,1432,1419,1688,1453,1340,1462,1470,1531,1443,1378,1383,1451,1781,1644,1717,1943,1812,1619,1668,1537,1465,1540,1499,1426,1549,2018,2059,1360,1362,1465,1596,2190,2161,1652,1614,1467,1623,2034,1857,1467,1552,1735,1927,1949,1849,1554,1766,2055,1904,1915,2526,2361,1753,1760,2331,2939,2843,2592,2337,2600,2793,2510,2752,3111,2821,2552,2114,2182,2600,2399,1924,2098,2220,1999,2009,2810,3436,2980,1936,1731,2032,1968,2025,2243,2291,2322,2556,2298,1767,2330,2480,1998,1708,1906,2071,2302,2402,2277,2438,2486,2304,2284,1828,2171,2675,3020,2834,2122,1838,1801,2223,1913,1810,1772,1641,1600,1505,1519,1475,1410,1544,2139,2498,2104,1821,1860,1901,2097,1970,2110,2156,1837,1909,1759,1619,1838,2326,2274,1874,2125,2431,2565,2469,2097,1797,1584,2289,2301,1979,1475,1280,1471,1744,1973,1749,1609,2139,1748,1576,1466,1501,1999,2513,2211,2077,2520,2392,2120,1568,1792,1805,2013,2194,2381,2363,2340,2062,1694,1446,1542,1438,1427,1655,1850,1804,1835,1770,1799,1526,1350,1322,1588,1677,1701,1819,1351,1035,1287,1678,1722,1568,1505,1551,1553,1511,1407,1462,1678,1938,2279,2188,2191,2424,2501,2518,2470,2260,2104,1904,1741,1886,2150,2048,2017,2697,2964,3398,3589,2148,1398,1519,1500,1312,1485,1896,1953,1851,2127,2566,2071,1725,1402,1475,1840,1755,1403,1429,1497,1437,1652,1891,1755,1592,1787,1838,1710,1450,1439,1655,1743,1531,1463,1564,2096,2619,2481,2019,2031,2180,2145,2216,1541,1473,1682,1843,2109,2546,2152,1654,2044,1902,1786,1720,1489,1745,2099,2810,2840,2548,2346,2662,3064,2641,2458,2077,1851,2113,2091,2260,2235,2527,2238,2097,2068,1904,2128,2307,1986,1872,1904,1935,2480,2395,1689,1809,1829,1662,2150,2585,2101,1843,1833,1650,1624,1562,1579,1974,2404,2482,2451,2442,2406,2150,2086,2010,2123,2258,2792,2969,2767,2097,2630,3256,2907,2325,1914,1938,2643,3219,3149,2750,2590,2933,2751,2777,2383,2021,2488,2997,2902,2205,2020,2057,1554,1870,2749,3016,2511,1984,2100,2684,3051,2988,2953,2858,2459,2249,2196,2641,3114,3318,3074,2329,2906,3090,2293,2291,2365,2560,2719,3020,2989,2225,2342,2398,2258,2155,2646,2979,2997,2763,2939,3333,2876,2460,2940,3260,3190,2616,2295,2850,2552,1972,1749,2124,3117,3476,2774,2766,2846,2366,2135,2527,2384,2065,2180,2364,2164,2170,2297,2321,2601,2618,2540,2595,2780,3161,3210,3032,3066,3211,2704,2592,2640,2279,2009,1815,1926,2351,2253,2056,2188,2330,2777,2654,2855,2784,3061,3104,2752,2956,3197,3244,2596,2060,1614,2270,2519,3018,3447,3316,3032,3086,2906,2505,1960,1997,2391,2364,2155,2212,2942,3507,3764,3400,3148,3139,2977,2293,1680,1808,2148,2414,3190,3022,1818,1745,1825,1720,1579,1447,1704,2168,2522,3012,2687,2945,2792,2761,2647,2542,2554,2511,2545,2677,2769,2532,2025,2219,2341,2642,3730,3231,2706,2915,2995,3264,3289,3212,2963,2762,2762,2698,2927,2691,2002,2187,2236,2109,1923,1749,1854,1841,1574,1857,1827,1625,1673,1664,1822,3040,3328,2653,2055,2750,2757,2031,2062,2809,3286,2655,2302,2249,2162,2114,1967,2173,1771,1680,1925,2663,3298,3211,2675,1773,1674,2648,3222,2679,2953,3008,3185,2855,2186,2138,2662,2478,2312,2176,1941,2105,2302,3282,4285,4196,3672,3837,4564,3786,2943,3400,3519,2924,2519,2482,2588,2734,2845,2836,2857,3270,3689,3384,3108,2956,2887,3318,3473,3076,2380,2636,3043,3530,3255,2334,2190,2427,2103,1926,1974,2164,2106,2000,1911,1259,1414,1795,2054,2236,2041,1990,2000,2088,2665,3012,3296,2699,2678,3240,2953,2431,2523,3264,3758,3261,2381,2377,2534,2231,2381,2624,2740,1869,1701,1977,1800,1882,2308,2217,2995,3401,2360,1841,1929,2148,2328,1979,1638,2069,2171,2068,2642,2799,2337,2339,2470,2751,2703,2007,1646,1880,2322,2198,2067,2275],[3717,3594,3701,3894,3964,3882,3139,2235,1974,1677,1700,1659,1686,2433,2896,2039,1919,2679,2774,2867,2568,2785,2446,2320,2500,2263,2166,2327,2452,2595,2930,3164,3186,2941,3060,3034,2824,2475,2205,1592,1584,2015,1991,1627,1973,2304,2162,2150,1922,1954,1847,1813,2101,2697,3046,3407,3182,2075,1721,2552,3342,3232,2956,3335,2642,2104,2416,2884,2849,2827,3835,3708,2524,2389,2581,2316,2203,2436,2166,2499,1968,1510,1490,1623,2205,2602,2088,1682,1944,2412,2154,1830,2025,1943,2095,1733,1895,2368,2432,2133,2008,2645,3772,3794,3582,3168,2669,3025,2977,2624,2777,3438,3740,3506,3548,3745,3861,3873,3873,3617,3454,3203,3472,3432,3237,3197,3260,3455,3837,3992,4072,4120,4176,4208,4060,3838,3740,3983,3849,3167,2894,2424,1958,1996,3165,4304,4288,4081,4392,4676,4496,4256,3836,3645,3282,2477,2598,2576,2398,2174,1672,1505,1653,1802,1881,1713,1688,1556,1428,1728,1775,1806,1834,1719,1682,2269,2946,2888,2534,1865,1910,1937,1654,1716,1726,2342,3292,3226,2689,2776,3144,3184,2946,2901,3187,3064,2091,1806,1489,1761,2136,2131,2300,2020,1598,1462,1530,1783,1814,1613,1747,1886,1802,1785,1756,1760,2092,2121,1416,1324,2032,2062,2248,2291,1895,2078,2294,2030,1836,1737,1633,1632,1863,2412,2577,2357,2135,2197,1920,1891,1970,1789,1837,1780,1464,1431,1483,1570,1847,1825,1895,2335,2084,1713,1412,1383,1632,2210,3054,3514,2980,2160,2350,2669,2228,2346,2094,2024,1853,2045,1934,1694,1808,1605,1454,1683,1744,1782,1732,1828,1763,1584,1582,1833,1963,1747,2180,2426,2742,3033,3000,2589,2279,2160,1828,1538,1512,1588,1751,1857,1941,1994,2049,2205,2181,1885,1700,1581,1455,1482,1577,1519,1512,1640,1567,1427,1392,1640,1866,1525,1558,1519,1670,2150,2148,1698,1482,1670,1815,1559,1610,2055,1987,1469,1426,1343,1492,1742,1771,2243,2736,3022,3105,2850,2609,2512,2467,2507,2644,2651,2996,3034,3063,2464,2300,2128,1971,2020,2036,2237,2399,2456,2618,2859,2532,2020,2212,2444,2519,2763,2530,2107,2001,1961,1816,1615,1973,2570,2950,2560,1827,1739,2025,1924,2240,2566,2166,1847,1842,2357,2962,2897,2492,2456,2662,2584,2700,2895,2566,1747,1698,1910,2566,2581,2855,2354,2488,2237,2809,3253,2945,2857,2750,2744,2446,2243,2204,2129,2182,2060,1626,1481,2004,2597,2555,2089,1747,1647,1566,1643,1746,1932,1904,1902,2597,2254,1721,1735,1888,1770,1603,1546,1438,1277,1288,2077,2967,3250,3287,3146,2781,1792,1465,1302,1477,1667,1842,1703,1544,1681,1969,1758,1676,1656,1786,2090,2713,2677,2949,3072,2831,2924,3009,2917,2775,2726,2362,1660,1879,1969,1897,1710,1808,2578,2532,1837,1713,1706,1740,1853,1976,1874,1842,1918,2205,2261,2297,2732,2856,2210,1770,1940,2012,1569,1499,2008,2796,2549,1934,1681,1576,1511,1372,1434,1522,1313,1312,1504,1586,2009,2108,2896,2952,2948,3033,3220,2734,2077,1974,1881,2079,2080,1758,1689,2221,2245,2231,2637,2255,1897,2461,3053,3232,3151,2745,2579,2548,2369,3200,3529,3398,3168,2645,2852,3272,2819,2254,1964,1691,2021,2596,2018,1729,1751,1669,1554,1566,1529,1543,1563,1790,1990,1664,1647,1596,1751,1723,1701,1696,1721,1869,2018,2143,2011,1721,1411,1445,2010,1708,1583,1555,1787,1699,1938,2136,2314,2047,1622,1565,1655,1621,2137,2677,2536,2786,2287,2036,2133,2279,2419,2018,1640,1526,1518,1628,1547,1453,1415,1539,1833,1833,1846,1964,1968,1602,1781,2030,1896,1818,1757,1759,1684,1626,1784,1790,1693,1669,1530,1403,1589,1902,2226,2133,1805,1650,1951,1951,1913,2750,3531,3602,3341,3298,3366,3629,3628,3177,3601,4429,4569,4607,4768,4384,4240,4840,4949,4740,4815,5085,4568,3688,3707,4652,4717,4660,4524,4212,4399,4551,4528,4461,4227,4012,3911,4043,4128,4132,4204,3396,3091,3601,3682,3825,4040,4193,4559,4439,3899,3161,2387,2180,2159,2145,1792,1759,1624,1665,1669,1666,1800,1743,1721,1986,1793,1891,1627,1932,1656,1725,1662,1888,1697,1995,2037,1821,1842,2007,1832,1955,2394,2160,1981,1768,2350,2730,2692,2604,2784,2709,2620,2486,2222,1811,1890,1874,1866,2077,1864,1599,1462,1352,1591,1956,1865,1813,1585,1429,1663,1894,2209,2200,1854,1621,1509,1508,1764,1755,1720,2091,2296,1824,1568,1616,1576,1551,1663,1633,1524,1466,1396,1488,1837,1936,1616,1482,1443,1527,1925,1957,1557,1837,1861,1660,2054,1954,1659,1766,1429,1343,1681,1597,1563,1335,1837,1946,1548,1337,1521,1666,1683,1630,1499,1499,1549,1804,2056,1824,1687,1842,1922,1999,1885,1886,2565,3130,2630,1997,1969,3312,3339,2557,2163,1732,1547,1948,2276,1993,1985,2015,1577,1633,2376,2144,1379,1522,1828,1887,1884,1790,1616,1404,1310,1298,1403,1692,1700,1468,1415,1454,1475,1830,1914,1533,2020,3046,3206,2382,1485,1454,1925,2624,2558,1864,2518,2209,1760,1578,1865,2111,1934,1760,1765,1555,1447,1850,2164,2107,2667,2245,2387,2114,2081,2366,2084,1910,1981,2084,2127,2054,2001,2053,2017,1839,1522,1296,1590,2497,2988,2997,3116,2792,2258,2143,2178,1954,2302,2533,2946,2144,1553,2091,2242,1905,1421,1429,2160,2317,1801,1791,1575,1472,1507,1713,1571,1782,2523,3002,3193,3344,3028,2740,2384,2320,2637,2460,1991,2114,2597,2602,2311,2343,2232,1718,1801,2114,2398,2290,1718,1942,2375,2281,2389,2667,2330,2134,2203,1874,1655,1910,2374,2798,2141,1621,2043,2220,1886,2444,2739,2291,1706,1361,1528,1710,1779,1277,1202,1190,1577,1405,1231,1260,1366,1506,1789,1672,1445,1606,1459,1384,1353,1309,1330,1186,1569,1825,1475,1461,1460,1322,1383,1366,1377,1412,1489,1600,1589,1458,1588,1704,1644,1648,1486,1380,1476,1648,1649,1256,1441,1804,1545,1673,1899,1785,1848,2133,1750,1580,1727,1614,1565,1710,1998,1873,1505,1547,1493,1723,2021,1950,1612,1538,1565,1603,1926,1910,1528,1695,1715,1643,1817,1980,1817,1901,1948,1781,1924,2258,1957,1766,2362,2740,2933,2641,2221,2136,2368,2345,2502,3200,3332,2909,2745,2238,2036,2155,2189,1714,2060,2048,1773,1936,2409,2791,2481,1918,1831,2124,1876,1858,1730,2096,2172,2003,1814,2096,2818,2570,1737,1663,1810,1968,2612,2775,2699,2587,2082,1791,2329,2292,2391,2532,2820,2707,2206,2142,1790,1813,1510,1582,1720,1543,1490,1617,1600,1517,2345,2669,1663,1956,1933,1494,1932,1906,1835,1519,1561,1770,2177,2479,2135,1842,1921,2920,2641,2198,2235,2419,2500,2512,2667,1957,1671,1943,1983,2204,1852,1568,1427,2062,1880,1771,1802,1787,1541,1473,1492,2036,2461,2635,2635,2354,2634,2434,2061,1753,1815,1576,1779,2198,1914,1853,1908,1620,1332,1350,1412,1463,1771,1638,1690,1758,1926,2024,2197,2106,1429,1470,1851,1831,1724,1814,1445,1430,1846,2000,1835,1386,1325,1358,1180,1293,1338,1330,1417,1771,2385,2556,2525,2453,2280,2076,1859,1740,1848,1874,1806,2149,2377,2205,2048,2744,3360,3724,3672,2843,1935,1371,1410,1332,1483,1930,1746,1559,1756,2458,2598,1939,1782,1905,2026,1748,1437,1441,1412,1739,2331,1732,1716,1885,1861,1616,1568,1484,1467,1414,1568,1837,1779,1506,1706,2061,1927,2072,2542,2222,2007,1847,1690,1865,1880,2213,2879,2311,1756,2043,2409,1830,1948,1869,1696,1901,1896,2346,2499,2242,1942,1983,2476,2585,2729,2592,2322,2230,2366,1963,1901,1969,2169,2524,2239,2248,2350,2007,1730,1807,1750,2023,2610,2455,1935,2314,2122,1704,2216,2070,1600,1660,1576,2056,1882,1795,1843,1874,2386,3124,3343,3002,2540,2177,2376,2644,2212,2129,2418,2765,2756,2077,2697,2930,2627,2384,2314,2758,3226,3216,2664,2717,2622,3040,2707,2340,2350,2392,2761,3221,2979,1984,1496,1538,1682,2474,3275,3073,2879,2247,2066,2493,2730,2553,2198,2049,2084,2320,2470,3010,2624,2438,2872,2382,2949,3195,2552,2242,2166,2233,2499,2745,2518,2035,2354,2281,1750,1949,2198,2456,2602,2684,2964,2764,2356,2812,3348,3400,3356,2457,2181,2498,2713,2178,1887,2131,2675,2887,2473,2503,2188,1945,2361,3373,3239,2632,2814,2622,2107,2017,2209,2358,2277,2742,3042,2984,3113,3038,2996,3291,3630,3688,2832,2443,2864,2923,2511,2323,2138,2289,2657,1924,2242,2520,2886,2990,3088,3091,2864,2032,2040,3103,3277,3018,2827,2585,2435,3086,3200,3179,3349,2767,2357,2544,2009,1993,2010,2067,2149,2470,2733,2998,3481,3348,2910,2834,3207,3586,3263,2444,1884,2447,2486,2119,2443,2369,1749,2092,2425,2118,1743,1684,1680,2389,2496,3161,2897,2918,2767,2595,2735,2885,2858,2604,2635,2792,3007,2922,2576,2281,2280,2491,3054,3131,3374,3278,3018,3030,3251,3307,2873,2834,3375,3234,3085,2934,2187,1983,1486,1239,1566,1642,2046,2286,1700,1971,2052,2335,2181,1973,2307,3069,3020,2296,2097,2573,2218,1962,2706,3260,2790,2159,2482,2667,2032,1614,1766,1754,1666,1936,2032,2630,3009,2401,1897,2176,2286,2954,3522,3108,2864,2866,3330,3528,2363,2285,2910,2834,2729,2543,2240,1980,2977,3641,3564,3585,3970,4727,5028,4420,3447,3663,3022,2447,1591,1277,1782,2267,2331,2237,2385,3231,3619,3331,3007,2666,2706,3168,3260,2916,2954,2864,3053,3418,3167,2593,2595,2647,2515,2541,2403,1826,1655,1976,1755,1046,1195,1824,2104,2002,1843,1938,1829,1845,2327,2464,2552,2435,2526,2691,2520,2465,2607,2906,3088,2733,1903,2119,2602,2454,2473,2508,2646,1986,2255,2747,1891,1373,1793,1987,2382,2501,1878,1493,1628,2313,2373,1842,1641,1996,2148,2289,2663,2578,2579,3065,2976,2865,2613,2325,2155,2428,2759,2400,1892,2553],[3549,3604,3752,3615,3872,4134,3761,3219,2951,2269,1854,1709,2332,3636,3376,1849,2652,3511,2954,2786,2784,2841,2649,2429,2274,2076,2141,2367,2253,2242,2625,2852,2796,3029,3184,3405,3099,2218,2192,1910,2059,2498,2238,1761,1861,2142,2283,2307,1832,2050,2840,3216,3001,2943,2700,2552,2501,1969,1832,2482,3234,3068,3598,3916,2751,2277,2952,3465,2966,2436,3498,3593,2185,2298,2040,1569,1986,2287,2116,2141,2094,1782,1619,1669,2700,3005,2249,1739,1976,2297,2101,1976,1844,2228,1967,1527,1801,2203,2136,1975,2377,3206,3380,2596,2967,2356,1821,2385,2684,2565,2686,3265,3528,3360,3182,3384,3860,4050,3920,3584,3357,3070,3130,3250,3196,3250,3292,3420,3791,3953,4041,4039,3946,3967,4048,3653,3408,3806,3924,3419,3372,2876,2097,2752,3934,4521,4452,4295,4436,4585,4512,4168,3430,3160,2592,2424,3172,3200,2434,2151,1679,1856,2117,2016,1865,1839,1724,1903,1780,1837,2174,2563,2664,1991,1760,2285,2481,2495,2654,2427,1982,1618,1649,1494,1685,2655,3362,3014,2675,2770,2361,2275,2403,2805,2610,1667,1364,1978,2001,1686,2003,2276,2084,1663,1609,1349,1484,1703,1622,1502,1577,1665,1675,1787,2063,2146,2451,2476,1638,1411,1945,2237,2834,2497,2203,2529,2208,1886,1889,1814,1923,1951,1993,2422,2574,2494,2557,2676,2231,1932,1925,1729,1744,1827,1600,1542,1411,1620,2399,1797,1813,2331,1731,1509,1620,1711,2178,3023,3563,3837,3641,3175,2149,1686,1883,1975,1693,1559,1760,2084,1948,2019,2167,1864,1787,1723,1839,2292,1744,1500,1616,1694,1567,1859,2010,1667,2010,2944,3104,3168,3098,2584,2057,1839,1852,1816,1699,1618,1421,1374,1847,2248,1910,1731,1848,1811,1660,1630,1499,1591,1651,1603,1945,2077,1813,1859,1726,1734,1811,1533,1432,1323,1864,2058,1853,1763,1562,1517,1431,1361,1508,1660,1653,1519,1419,1427,1476,1625,1751,2164,2585,2709,2674,2502,2502,2441,2482,2533,3023,3088,3257,3530,3635,3176,2602,2203,2016,2126,2668,2905,2853,2854,2813,3191,2547,2006,2062,2006,2322,2756,2490,2310,2095,2045,1666,1620,1626,1925,2499,2416,1897,1720,1888,1711,1941,2004,1925,2064,2096,2631,3253,2769,2730,2628,2360,2249,3071,3709,2631,1655,1695,2067,2941,2214,2456,2173,2834,2714,2845,2728,2846,2977,3027,3078,2887,2417,2413,2141,1959,1844,1817,1548,1748,2353,2372,2058,1927,1496,1647,2563,2880,2781,2505,2732,3020,2032,1655,1698,1747,1776,1897,1797,1652,1705,1877,2695,3007,3097,3066,3125,2182,1518,1375,1322,1482,1687,1911,2011,1716,1533,1848,1954,1634,1455,1571,1789,2409,3008,3629,3448,2856,2909,2850,2745,2950,3012,2659,1886,1759,2173,2294,2153,2018,1986,1831,1753,1630,1611,1685,1804,1615,1328,1471,2060,2288,2996,3276,3158,3465,3053,2381,2548,2720,2044,1675,2026,2176,1999,1759,1520,1395,1246,1144,1099,1168,1166,1428,1485,1484,1677,1892,2320,2544,2690,2624,2609,2072,1669,1778,1771,1898,2036,1812,2250,2490,2400,2386,2406,1949,2075,2697,2940,3098,3327,2994,1946,1453,1727,2396,2803,2888,2598,2792,3360,3195,2709,2500,2797,2597,2758,2802,2523,2543,2479,2123,1739,1622,1738,1589,1591,1764,1781,1838,1790,1600,1713,1819,1780,1726,1754,1911,1907,1788,1837,1694,1530,1588,1974,1649,1502,1467,1523,1562,1804,1741,1606,1685,1692,1561,1641,1448,1542,1709,1876,1932,1727,1927,2396,2899,2918,2120,2046,1915,1724,1730,1592,1498,1383,1998,1925,1771,1829,1920,2007,1992,1954,1957,1996,1882,1888,1757,1699,1744,1620,1600,1713,1756,1816,1793,1380,1840,2273,1821,1781,2121,1967,2148,2388,2866,3477,3581,3139,3009,3305,3204,3341,2987,2999,4102,4833,4920,4831,4499,4531,4953,5230,4865,4518,4708,4904,4344,3396,3485,4205,4602,4656,4609,4684,4677,4637,4407,4213,4101,3923,4026,4042,3989,3886,3537,3875,4264,4163,4003,3956,4195,4485,4464,3849,2676,2173,2210,2278,2169,1723,1665,1609,1544,1678,1674,1701,1770,1750,1654,1828,1857,1750,1709,1659,1830,1973,1775,1731,1886,1791,1858,1860,2305,2123,1954,2088,1810,1680,1939,2552,2700,2360,2408,2420,2495,2691,2459,1859,1515,1508,1748,1773,2037,1969,1725,1566,1633,1792,1693,1640,1829,1586,1400,1637,2111,2521,2312,2197,2233,1953,1657,1667,1825,1749,2043,1987,1530,1253,1870,1644,1780,1917,1649,1648,1563,1533,1804,2358,2388,1717,1590,1530,2243,3046,2443,1733,1902,1772,1505,1518,1549,1627,1644,1529,1562,2251,2308,1582,1500,1803,1695,1439,1448,1688,1675,1572,1819,1760,1696,1569,1425,1568,1428,1599,1831,2136,2220,1873,1609,1944,2680,2503,1983,1499,2639,2654,2333,2210,1637,1450,2025,2330,1919,1747,1830,1420,1232,1598,1641,1496,1573,1745,1834,1741,1597,1471,1607,1559,1895,2222,2215,1775,1556,1748,1754,1772,1829,1841,1676,1955,2626,3074,2380,1706,1719,2154,2545,2790,2348,1983,1520,1440,1589,1724,2227,2847,2850,2872,2148,1760,2356,2121,1959,2715,2885,2211,1850,2082,1878,2006,2018,1781,2077,2143,1997,1929,1978,1976,1742,1477,1631,1955,2209,2355,2482,2413,2328,2145,1897,1840,1843,2820,3492,3461,2294,1827,2225,2487,2010,1191,1358,1829,1863,1792,1791,1735,1566,1488,1481,1507,1637,2131,2747,2902,3178,2745,2864,2605,2579,2722,2193,2166,2533,2823,2867,2591,2254,2169,2371,2270,2162,2102,1977,1859,2200,2375,2099,2150,2072,1809,1896,1777,1588,1987,2383,2712,2438,1762,1707,2408,2485,1920,2282,2655,2366,1813,1506,1515,1494,1601,1302,1308,1238,1495,1386,1276,1271,1346,1469,1577,1479,1344,1338,1333,1689,1626,1272,1240,1299,2018,2172,2168,2465,1625,1321,1455,1360,1268,1350,1456,1508,1575,1565,1505,1463,1645,1615,1419,1401,1550,2133,1859,1417,1404,1576,1693,1950,1740,1750,2031,1856,1534,1479,1550,1558,1609,1673,1688,1605,1644,1518,1518,1597,1588,1638,1526,1632,1691,1870,2104,2141,1871,1836,1807,1695,1729,1920,1999,1812,1766,1855,2137,2411,2221,2160,2608,2641,2595,2396,1886,2289,2698,2499,2844,3264,3231,3184,3051,2232,1985,2333,2491,1725,2142,2144,1773,1836,1954,1935,2208,2752,2909,2286,1734,1522,1674,1770,1702,1938,1994,2083,2301,1953,1740,2279,2291,2298,2863,3444,3121,2338,2107,2136,2249,2645,2519,2174,2375,2335,2088,2266,1995,2134,1844,1697,1932,1805,1545,1645,1448,1306,1803,1792,1419,1853,2084,1595,1744,1734,1744,1955,1968,1949,2472,2735,2034,1549,1736,2955,2554,2273,2020,1855,1979,2070,2084,2042,2282,2024,1981,2393,2088,1881,1734,1953,1782,1973,2128,2121,1924,1410,1531,1817,2199,2898,2676,2411,2155,1854,1868,2071,2324,2093,1924,1769,1592,1961,2496,2106,1649,1391,1586,1591,1455,1437,1492,1560,1587,1800,2710,2586,1345,1456,1521,1623,1620,1781,1758,1708,1665,1605,1543,1396,1415,1292,1231,1385,1412,1416,1619,1775,2047,1920,1821,1708,1676,1873,2027,2180,2324,2216,1853,2143,2392,2196,2076,2517,3025,3386,3050,2707,2420,1504,1328,1406,1550,1574,1486,1639,1642,2072,2500,2137,1679,1635,1620,1403,1451,1515,1378,2116,2538,1743,1732,1966,1743,1555,1580,1577,1572,1631,1957,1979,1804,1779,1845,1838,1510,1830,1682,1745,1936,2059,2238,2376,2315,2725,3354,3118,2736,2543,2211,1897,1697,1584,1674,2053,2595,2700,2234,1660,1504,1963,2209,2500,2213,1687,1613,2097,2734,2207,1408,1286,2052,2543,1766,2035,2232,1943,2366,2082,1891,2131,2631,2407,2019,2232,1875,1895,2059,1604,1574,2144,1953,2242,2022,1991,1859,1965,2489,3218,3730,3074,1992,1960,2331,2602,2310,2308,2149,2226,2077,1976,2256,3266,4338,3098,2867,3628,3226,2647,2394,2718,3207,2955,2284,2375,2364,2435,2932,3309,2919,2467,1639,1395,1807,2520,2966,2513,2490,2380,2529,2533,2375,2260,2137,1938,2043,2070,2376,3029,2613,2688,2718,2387,2750,2965,2832,2658,2279,2019,2223,2641,2203,2090,2180,1910,1772,2003,2114,2123,2234,2486,2568,2358,2668,2674,2811,3112,3210,2917,2675,2514,2452,2002,2335,2445,2438,2706,3176,2976,1909,1763,2504,3229,3414,3272,3350,2990,2406,2404,2602,2666,2417,2849,3300,3339,3147,3015,3203,3376,3295,3104,2377,1860,2058,2432,2991,2972,2491,2200,2389,2437,2434,3076,3596,3020,3008,3306,2834,1832,2371,3617,3420,2949,2994,3118,3277,3549,2857,2297,2785,2562,2724,2706,2203,2702,2416,2092,2498,2731,3373,3422,2805,2583,2411,2605,3094,3505,3104,2566,2199,2253,2403,1920,1909,2016,1870,2094,2256,1907,2357,2468,1743,2120,2592,2786,2470,2377,2506,2602,2693,3152,3222,2602,2557,2533,2813,2834,2275,2293,2080,2007,3065,3538,3584,3542,3187,2983,3177,3200,3160,2922,2824,2958,2568,2525,1995,1547,1273,1013,1358,1501,1585,1928,2109,2219,2045,2692,2629,2917,3077,3011,2950,2401,2114,2463,2462,2547,2868,2819,2433,2262,2508,2602,1897,1283,1337,1483,1974,2413,1613,1630,2497,2893,2530,2810,2202,2307,3084,2504,2078,2457,3283,3564,2483,2928,3369,3624,3108,2666,2275,1951,2690,2930,2615,2902,3824,4415,4495,4909,4181,2863,2007,2469,1814,1177,999,806,937,1451,2285,2863,3172,2496,2120,2535,3006,3197,3197,3110,3007,3029,3121,3359,3287,2681,2618,2100,2225,2497,2036,1211,1608,2348,2193,1532,1594,2282,2339,1834,1949,1952,1550,2004,2400,2534,2455,2198,2330,2371,2429,2496,2305,2374,2637,2207,1758,2163,2796,1937,1996,1772,1852,2219,2657,2972,2519,2013,1963,1485,1451,1786,1946,1477,1511,1970,2208,2158,2244,2183,2331,2587,2556,2485,2591,2931,2677,2671,2974,2715,2266,2273,2429,2203,1910,2509],[3381,3732,3913,3447,4014,3982,3988,4167,4241,3605,2565,2451,3284,3528,2584,1575,2787,3130,2996,2890,2876,2792,2674,2746,2566,2189,1917,2277,2290,2315,2270,2479,2164,1901,2885,3484,2900,2271,2143,2303,2520,2630,2315,1903,1747,2030,2083,2121,2344,2669,3374,3342,3074,3166,3077,2836,2580,2266,2218,2368,3300,3480,3560,3103,2996,2521,2570,3255,3084,2301,2896,3661,2563,2665,2680,2099,2398,2383,2049,1910,1921,1959,1765,2131,2801,2553,2365,2137,2358,2129,2046,1952,1699,2175,1982,1686,2140,2230,1860,2114,2655,3355,3251,2778,2248,1547,2037,2941,2780,2632,3073,3305,3417,3359,3124,3182,3828,3799,3774,3541,3150,2896,2774,2764,3051,3421,3482,3510,3763,3912,4094,4229,4014,3837,3834,3719,3617,3815,4028,3928,3547,2639,2556,3773,4107,4315,4484,4403,4332,4473,4006,3227,2659,2456,2642,2841,3045,3052,2438,1913,1674,1642,1988,1913,1898,1938,1675,1675,1832,1851,1830,2601,3188,2796,1860,2157,2084,1749,1826,2140,1749,1459,1576,1548,2227,2929,2933,3133,2968,2207,1601,1948,2307,2450,2086,1776,1662,2214,2610,2025,2077,2188,1950,1788,1704,1449,1588,1553,1934,2198,2022,1964,1825,1756,1757,1573,1966,2100,1821,1775,1886,2548,3130,2620,2390,2332,2053,2150,2059,1973,1887,2155,2173,2010,1975,2049,2596,2647,2416,2359,2270,1942,1547,1657,1803,1637,1588,1997,2678,1960,1726,2011,1730,1673,1628,1757,2692,3461,3485,3814,3448,3317,2690,1877,1915,2058,1857,1633,1853,2066,1914,1996,2159,2291,1770,1428,1657,2264,1903,1661,1714,1792,1701,1678,1815,1594,1731,2499,2819,2364,1991,1661,1623,1901,2160,1870,1533,1446,1333,1661,1782,1875,1744,1832,2057,2009,1652,1616,1426,1715,1872,1631,1931,2121,1803,1841,2041,2083,1805,1687,1648,1610,1815,1677,1816,2288,1960,1511,1402,1394,1452,1547,1568,1754,1696,1482,1248,1302,1510,1950,2541,2507,2343,2149,2248,2362,2302,2663,3472,3520,3226,2962,2854,2790,2409,2369,2248,2263,2843,3185,2941,3062,3254,3480,2731,2477,2523,2179,2798,2891,2352,2851,2414,2227,2048,1889,1937,1963,2030,2075,1939,2055,2138,1799,2082,1916,2338,2192,1892,2750,3249,2695,3121,3364,2754,2702,3654,3617,2344,2424,2031,2574,2662,2509,2809,3031,3186,3072,2931,3045,3266,2909,2192,2625,3017,2976,2974,2072,1678,1569,1971,2051,1861,2187,2496,1914,1949,1842,1976,2948,3102,2746,2686,2736,2584,2087,1791,1778,1887,1809,1891,1943,2042,2238,2136,2187,2111,2343,2298,2212,1858,1509,1448,1539,1580,1902,2027,2685,2354,2093,2159,2142,1839,1712,1517,1563,2055,2568,3209,3132,2729,2641,2599,2657,2722,2508,2666,2351,1806,2087,2381,2232,2044,1832,1652,1711,1450,1406,1338,1678,2024,1953,1753,1526,2070,3325,3319,3326,3430,3526,3030,2938,2976,2291,2286,2370,1730,1608,1638,1592,1584,1317,1382,1396,1538,1679,1847,1819,2149,2288,2142,1816,1570,1441,1531,1720,1360,1603,1953,2061,2239,2035,1931,2303,2451,2507,2835,2752,2584,2580,2521,2501,2416,2486,2058,1544,1456,1757,2014,2010,1792,1687,2160,2975,2921,2729,2662,2957,2850,2895,2983,3067,3040,2751,2504,2075,1766,1721,1625,1754,1798,1803,2138,1919,1717,1832,2030,1934,1849,1805,1859,1715,1613,1790,1794,1693,2031,2019,1648,1604,1629,1563,1552,1480,1632,1909,1998,1708,1682,1581,1517,1663,1948,1917,1796,1796,2110,2469,3021,3049,2028,1938,2150,2020,2014,1834,1713,1971,2004,1617,1684,1769,1731,1850,1930,1930,1742,1599,1870,1999,2072,1888,1782,1839,1875,1990,1743,1990,2195,1783,1970,2206,2441,2520,2744,2564,2620,3263,3566,3517,3431,2939,2976,3530,3427,3471,3210,3418,4308,4739,5171,5208,5044,4903,4952,5448,5109,4695,4620,4676,4547,3868,3060,3672,4562,4656,4655,4654,4656,4421,4100,3912,4027,4012,3992,3913,3988,3307,3331,4156,4536,4617,4272,3955,4100,4292,4151,3538,2387,2067,2152,2195,2088,1786,1760,1758,1594,1531,1587,1444,1589,1948,1642,1888,1722,1721,1544,1803,2219,1980,1629,1677,1611,1760,1989,1841,2092,2094,2088,2028,1692,1516,1784,2307,2334,2024,2030,1827,2446,3010,2110,1706,1447,1501,1786,1744,1658,1702,1960,1809,1912,1749,1468,1701,1983,1849,1638,1772,2283,2487,2105,1992,2110,2010,1500,1568,1722,1525,1770,1842,1787,1669,1974,1817,2221,2247,1733,1707,1746,1746,1748,2453,2330,1970,1733,1591,2465,2718,1897,1902,2100,1764,1510,1810,2010,1851,1731,2134,2018,2237,2202,1730,1638,1690,1548,1492,1414,1719,1673,1527,1482,1668,1772,1642,1626,1707,1556,1711,2208,2513,2261,1950,1902,2055,2037,1854,1639,2132,2227,1403,1760,2254,1776,1331,1549,1947,1682,1183,1462,1625,1615,1626,1519,1511,1546,1663,1638,1569,1540,1474,2476,2083,2611,2918,2455,1826,1856,2150,2087,1891,2024,2402,2284,2037,2641,3144,2549,1903,1831,2522,2667,2795,2540,1961,1553,1606,1732,1534,2115,3129,3398,3579,3142,2257,1842,1827,2082,2226,2246,1756,1844,2279,1751,2055,1982,2260,2852,2138,1736,1810,1896,2038,2014,1763,1774,1936,1870,1675,1844,1683,1577,1573,1525,1685,1710,1914,2484,2419,1911,1779,1602,1769,1747,1075,1270,1720,1776,1726,1824,1910,1666,1412,1498,1549,1498,1881,2565,2691,2622,2458,2756,2213,2110,2230,2046,2195,2033,2040,2499,2426,2437,2266,2354,2082,2318,2155,2447,2189,2222,2267,1819,1685,1806,2013,1792,1586,1637,2423,2906,2279,1881,1741,1885,2707,2850,2364,2219,2060,2085,1874,1573,1489,1405,1411,1396,1262,1300,1261,1246,1321,1300,1354,1354,1240,1294,1251,1328,1423,1627,1650,1665,1895,1570,1350,1346,1929,2691,1982,1503,1441,1442,1366,1352,1672,1869,1679,1452,1341,1453,1457,1327,1294,1235,1446,1894,1634,1324,1596,1974,1892,1620,1509,1671,1554,1458,1433,1412,1438,1390,1470,1656,1874,1914,1976,1938,1805,1650,1754,2026,1986,1922,1721,1985,2194,2120,1819,1824,1885,1657,1443,1693,1912,1940,1841,2225,2618,2632,2569,2392,2486,2457,2546,2591,2155,2174,2427,2002,2045,2684,2746,2061,1808,1890,2239,2994,2438,1874,2313,2003,1753,1760,2186,2657,2467,2730,2658,2024,1910,1842,1918,1833,2181,2698,2490,2064,2216,2136,2088,2388,2097,2035,2579,3096,2669,2160,2474,2458,2330,2656,2148,1904,2021,1836,1823,1824,1936,2401,2080,1696,2054,1918,1685,1613,1404,1477,1544,1592,1655,2227,2415,1830,1661,1807,1865,1790,1603,1876,2244,2418,2272,1998,2133,2488,2143,2109,2055,2055,2146,2240,2377,2620,2439,1768,1589,1936,2350,2132,2056,1895,1815,2186,2150,1764,1446,1315,1488,1569,2266,2493,2216,2542,2042,1968,2051,2119,2198,1969,1719,1560,1565,1854,2340,2270,1841,1414,1491,1447,1432,1511,1500,1471,1622,1792,2319,2154,1685,1721,1632,1738,1820,1834,1767,1712,1650,1484,1355,1315,1400,1306,1283,1439,1421,1528,1713,1640,1418,1391,1614,1748,1996,2258,2348,2409,2457,2475,1967,2072,2334,2336,2489,2564,2808,3241,2413,1780,1734,1402,1273,1346,1465,1408,1448,1612,1613,1730,2126,2178,1708,1426,1310,1310,1362,1349,1339,1770,2411,2056,1574,1626,1438,1418,1494,1494,1509,1550,1687,1716,1852,1902,1837,1620,1787,2276,2098,1856,1946,2046,2476,2994,2571,2426,2814,3190,2382,2042,2209,2055,1873,1926,2122,2444,2536,2298,2284,1798,1672,2154,2689,2406,2021,1956,2081,2433,2548,2244,2069,1989,2187,2197,1725,1700,1788,1998,2309,2106,1876,1897,2409,2368,2095,1730,1578,1917,1851,1786,1716,1682,1597,2410,2890,2866,2601,2517,3085,3137,3039,2453,2080,2101,2150,2099,2294,2439,2411,2163,2223,2031,1929,2818,4363,2864,2349,2736,2808,2546,2539,2526,3032,2428,1753,1924,2172,2575,2724,2757,2792,3066,2576,2042,2146,2433,2466,2222,2162,2469,2591,2619,3104,3277,2635,2283,1720,1768,2404,2692,2454,2523,2260,1998,2369,2612,2764,2987,2909,2292,2517,2959,2178,1923,2068,1925,2094,2268,2345,2208,2240,2069,1791,1948,2482,2810,2858,3050,2967,2534,2308,2612,2671,2444,2902,2686,2692,2372,2378,3044,2790,2284,2031,2123,2491,2864,2772,2413,2456,2724,2435,2366,2678,3142,3605,3557,3270,3455,3824,3709,3493,2853,2062,2006,1741,2011,2557,2984,3264,2961,2591,2451,2277,2995,3460,3128,3505,3657,3411,2579,3227,4052,3719,3260,2948,2889,2852,2844,2854,2155,2381,2691,3111,2802,2435,2470,2392,2771,3184,3064,3499,3266,2217,2289,2344,2189,2204,2750,1947,1920,2652,2531,2235,2048,1815,1605,1505,1892,1890,1637,2337,2766,1865,1629,2016,2212,2469,2728,2956,2980,2444,2710,2940,2309,2162,2035,2631,2932,2877,2615,1851,2093,2971,3240,3615,3572,3411,3218,3371,3173,3475,3144,2996,2718,1835,1683,1587,1654,1639,1500,1704,1991,2097,2720,2835,2272,2197,2779,2906,3062,3189,3294,2745,2563,2277,2215,2250,2508,2299,2110,2390,1993,1843,2076,1860,1667,1454,1391,1695,1803,1547,1688,2192,2094,2137,2255,1772,1941,2006,1622,1585,2072,2917,3084,2697,3184,3813,3895,3340,2698,2201,2222,2766,2880,2558,3130,4343,5067,4980,5073,3905,2094,1890,2436,2313,1857,1039,492,407,688,1709,3109,3094,1866,1932,2441,3141,3400,3352,3222,3196,3334,3329,3610,3378,2541,2483,1882,1903,2303,1558,1330,1771,1974,1804,1665,1725,1914,2133,1926,1841,1624,1293,1785,1880,2274,2513,2285,2338,2458,2812,3046,3006,2756,2933,2358,1908,2618,2666,1758,1677,1664,2105,2856,3031,2533,2344,2384,2144,1630,1228,1411,2420,2280,1885,2302,2496,2510,2496,2161,2001,2089,2200,2231,2393,2496,2208,2480,2940,2292,1648,1534,1864,1788,1724,1942],[3083,3381,3444,3708,4284,4048,3840,4017,4394,4397,3648,3559,3629,2561,1554,2215,2951,2766,2453,2810,3234,2765,2526,2654,2617,2426,2113,2443,2294,2237,2161,2288,2158,2135,3309,3637,2945,2459,2623,2272,2121,1969,1985,1888,1959,1876,1942,2435,2736,3154,2989,2968,3526,3463,3226,2764,2523,2799,2770,2708,3203,3202,2919,2777,2645,2251,2484,3167,3509,2927,3230,4170,3549,2797,2501,2542,2458,2651,2695,1962,2029,2307,2401,2979,2525,2462,2123,2058,2540,2104,1990,1793,1976,2887,2907,2184,2281,2030,1747,1883,2080,3173,3952,4177,2983,2293,2676,2993,3021,3044,3097,2651,2797,3432,3538,3503,3685,3601,3608,3453,3036,2776,2636,2765,3189,3404,3655,3780,3811,3435,3196,3982,4330,4042,3834,3619,3533,3790,3774,3863,3661,3184,3420,4060,4148,4337,4228,3772,3902,4276,3491,2911,3293,3126,2645,2068,2864,3517,3094,2038,1682,1792,2004,1473,1314,1693,1824,1716,1844,1802,1583,2260,3104,2919,1974,1842,1905,1852,1625,1866,1996,1708,1536,1445,1898,2380,2866,3208,2791,1658,1409,1672,1880,1871,1891,1978,1750,1618,2147,2179,2084,1998,1836,1744,1672,1721,2000,1908,2152,2221,1941,1981,1823,1150,1151,1437,1585,1709,1572,1558,1489,2125,2699,2171,2108,2070,2308,2212,1952,2001,1759,2037,1919,1751,1632,1753,2148,2222,2370,2819,2508,1792,1668,1640,1877,1656,1723,1648,1575,1751,1663,1461,1737,1720,1680,1970,2530,3194,3209,3862,3471,3284,3054,2335,2360,2339,1810,1820,2074,1887,1625,1720,2181,2191,1798,1469,1514,1735,1661,1461,1512,1911,2084,1990,1809,1760,1568,2156,2409,2037,1798,1650,1523,1721,1986,1687,1397,1357,1583,2398,2295,2248,1986,1886,1906,1692,1549,1522,1413,1632,1648,1496,1505,1532,1644,2154,2127,1944,1798,1663,1792,1787,1644,1566,1660,2200,2116,1720,1595,1582,1520,1399,1679,1991,1777,1548,1331,1290,1608,2210,2474,2501,2480,2740,2821,2782,2355,2626,2920,2572,2291,2196,2143,2431,2566,2703,2500,2773,3333,3321,3060,3392,3553,3497,3172,2986,2831,2508,3333,3355,2957,2990,2153,1957,1915,1690,1708,2011,2425,2423,2191,2204,2226,2134,2094,2097,2537,2171,2031,2668,3089,2947,2943,3130,3646,3805,3904,3178,1851,1892,1888,2533,2589,2977,3044,2910,3278,3196,2679,2545,2798,2412,2165,3017,3217,3705,3745,2706,1758,1710,1903,1865,1547,1889,2373,1576,1275,1470,1955,2587,2952,2843,2442,2228,2182,2160,2286,1933,1696,2072,2243,1872,1985,1787,1694,2055,1906,2012,1982,1982,1826,1779,1870,1843,2025,1946,2286,2923,2873,2338,1870,1794,2475,2942,1911,1466,1477,1949,2828,2912,2923,2675,2532,2475,2114,1846,2679,3109,2564,2575,2311,2089,1983,1828,1834,1580,1428,1456,1394,1546,1695,1862,1836,1778,2607,3240,2665,2805,3198,3188,3397,3277,2643,2015,2496,2765,2318,2383,1908,1677,1700,1363,1351,1528,1869,2048,2108,2016,2275,2495,1914,1504,1382,1455,1389,1439,1404,1779,1973,2138,2163,2027,2129,2405,2456,2266,2391,2579,2719,2107,1701,1699,1858,1768,1741,1882,1981,2082,2125,2125,2259,2100,2179,2434,2146,2281,2401,2320,1949,2042,2359,2478,2889,3135,2570,2141,2290,1950,1942,2200,2199,1873,2148,2323,1986,2008,2216,1967,2092,1942,1973,1772,1556,1631,1733,1962,2518,2456,2503,2576,1757,1603,1636,1684,1805,1678,1609,1468,1645,1494,1550,1751,2001,1909,1798,1879,2221,2401,2707,2767,2341,1943,2286,1855,1905,2187,2155,2164,2074,1716,1639,1736,1617,1765,1728,1870,1885,1911,2060,2508,2862,2150,1904,2003,2106,2523,1754,1791,1530,1598,1854,2083,2416,2352,2398,2709,3254,3909,3586,3415,3271,2761,3049,3615,3408,3499,3827,4374,4676,4822,5127,5312,5437,5079,4688,5091,5197,4948,4827,4815,4676,4176,3187,3576,4345,4416,4637,4551,4432,4261,3863,3438,3621,3730,3218,2766,3029,3116,3694,4267,4343,4552,4360,4204,4205,4101,3760,2992,2183,2052,2138,2163,1874,1599,1843,1660,1521,1473,1631,1499,1557,1724,1639,2347,2510,1980,1963,1890,1765,1477,1676,1689,1748,1978,2128,1909,2135,1909,1798,1907,1660,1777,2508,2612,2144,1952,1979,2444,2945,2642,1651,1813,1504,1610,1905,1889,1845,1813,2388,2126,2097,1850,1894,2022,1976,1909,1709,1707,2012,2127,1866,1808,1737,1885,1953,1843,1767,1726,1615,1940,1987,2100,2779,2846,2320,1951,1650,1603,1591,1283,1228,1625,2126,2425,1788,1825,2276,2035,1647,1982,1892,2070,2021,2227,2417,2184,1898,2095,2064,1879,1926,1963,1513,1428,1627,2000,1448,1489,1646,1468,1629,1626,1700,1844,1963,1854,1723,1665,1759,1713,1845,2100,2571,2746,2104,1590,1362,1658,1835,1666,1779,1876,1596,1497,1798,1980,1802,1672,1700,1753,1660,1399,1306,1374,1430,1578,1542,1580,1739,1722,2451,2233,2092,2097,2017,1930,1926,1964,1794,1675,2062,2671,2261,2039,2426,2496,2099,1721,1949,2339,2620,2871,2489,2085,1957,2020,2012,1606,2053,3283,3737,3640,3508,2349,1801,2358,2167,1856,1645,1508,1784,2166,1773,2055,1842,2454,2973,2145,1647,1575,1616,2071,2084,1658,1553,1821,1534,1570,1601,1510,1377,1404,1480,1577,1623,1592,1663,1886,1848,1947,1496,1552,1729,1537,1572,1614,1697,1815,1880,1791,1539,1401,1665,1563,1577,1764,2273,2967,3067,2712,2381,1902,1861,1750,1787,2170,2115,2262,2468,2212,2427,2322,2292,2109,1923,2196,2613,2199,2081,2114,1687,1729,1992,2330,2245,2029,1770,2285,2352,1546,1392,1504,1925,2592,2451,2429,2357,2167,2159,2028,1788,1576,1429,1421,1422,1318,1323,1520,1935,1527,1398,1455,1266,1231,1260,1339,1312,1197,1371,1396,1542,1621,1408,1489,1407,1379,1623,1494,1310,1412,1391,1228,1256,1820,2145,1837,1641,1332,1299,1327,1347,1315,1308,1428,1426,1382,1338,1688,1881,1631,1560,1541,1394,1375,1513,1709,1965,1979,1703,1577,2177,2352,1636,1467,1749,1756,1698,1675,1694,1967,2082,1998,2076,2082,1928,1829,1719,1722,1775,1598,1693,1825,2014,1838,2591,3002,2420,2235,2547,2371,2054,2125,2163,2065,2683,3444,2437,2630,2884,3098,2626,2298,2114,2575,3242,2424,2132,2401,1896,1757,1789,2237,3067,2635,2257,1380,1588,2095,1939,1659,1730,2406,2512,2280,1927,2515,2096,1800,1814,2291,2803,2952,3128,2754,1829,2085,2535,2983,2902,2360,1842,1594,1516,1526,1684,1920,2021,1766,1716,2138,1718,1844,1584,1590,2132,1770,1490,1534,1978,2280,1810,1416,1543,1537,1631,1720,2024,1945,2060,2743,2879,2879,2427,1920,1844,2137,2422,2712,2822,2911,2306,1524,1334,1501,2149,2470,2170,1947,1805,1801,2030,2095,1706,1504,1407,1606,2109,2525,2294,2574,2912,2581,2279,2010,1838,1565,1589,1441,1453,1403,1760,1775,1591,1430,1332,1364,1841,2013,1782,1958,2004,1869,1759,1560,1681,2015,2049,1805,1847,1917,1737,1638,1682,1653,1394,1375,1305,1373,1312,1337,1366,1541,1627,1746,1920,1775,1904,2138,1930,1906,2267,2499,2690,2688,2620,2020,1939,2304,2598,3099,2951,1978,1969,2042,2389,2605,1788,1417,1390,1302,1481,1593,1687,1891,1814,2168,2308,1841,1389,1430,1499,1410,1569,1603,1615,1830,1566,1485,1555,1405,1585,1365,2162,1967,1685,1714,1806,1872,1821,1520,1446,1798,1848,1964,1865,1873,1787,2150,2559,2305,2511,2411,2213,1722,2194,2911,2473,2253,1959,2144,2917,2823,2024,2118,1619,1695,2841,2976,2326,2290,2406,2526,2740,2855,3045,3144,2853,2625,2399,2186,1790,2028,2346,2389,2542,1838,1570,2356,2532,2301,1813,1824,1920,1874,1858,1519,1095,1129,2127,3167,3168,2462,2523,3285,2958,2442,1993,1701,2607,2788,2828,2899,2765,2544,2295,2289,2090,2072,2115,2410,2492,2061,2245,2752,2548,2191,2510,2760,1887,1958,1996,2673,3079,3097,3223,3749,3887,3277,2469,2490,2646,2559,2303,2110,2389,2149,2397,2889,3197,2635,2248,1767,1739,2097,2380,2226,2277,2345,2620,2818,2768,1966,2210,2626,2328,2586,2708,2242,2412,2746,2462,2108,1994,2080,2302,2380,1973,1653,1846,1838,2077,2602,2894,2696,2525,2717,2746,2602,2704,2569,2578,2200,1964,2302,3000,3029,2589,2250,2088,2322,2670,2551,2354,2188,2159,2307,2513,2930,3263,3497,3486,3206,3616,3909,3816,3702,2755,2474,2812,2549,2376,2535,3221,3717,3263,2839,2545,2645,3062,2796,2921,3806,3840,2963,2731,3261,3840,4030,3425,2633,2641,2883,2690,3056,2622,2504,2956,2890,2586,2290,2075,2248,2265,2340,2795,2878,2387,1991,2056,2102,1719,1380,2200,1892,2075,3262,2895,2167,2299,1836,1440,1632,1612,1531,1763,2498,2254,1841,1860,1919,2197,2700,3204,3131,2781,2122,2731,3028,2781,2630,2249,2752,3232,3296,3010,2490,2750,3219,3579,3906,3842,3253,3219,3674,3307,3297,3111,3018,2745,2100,2270,1851,1799,1560,1955,2520,2967,3107,3310,2927,2508,2700,2732,2863,3230,3166,3221,2886,2778,2249,2006,2358,2385,1999,1975,2005,1572,1443,1971,2223,2349,1744,1322,1409,2022,2059,2126,2079,1872,2189,1991,1839,1813,1555,1690,1957,2318,2572,2246,2061,2473,3138,3521,3453,3037,2886,2928,2907,2945,2789,3574,4764,5448,4819,4765,3624,1986,2107,2361,2185,1879,949,442,363,498,1401,2899,2731,2095,2492,3018,3454,3372,2888,2844,2861,3307,3565,3754,3443,3122,2376,2343,2834,2967,2181,1776,1692,1420,1512,1919,1830,1590,1970,1980,1820,1953,1831,1327,1160,1893,2058,1795,1998,2275,2798,2730,2790,2654,2787,3031,3087,3415,2679,2100,2316,2242,2604,3189,3276,3181,3099,2459,1788,1536,1723,2188,3333,2942,2074,2304,2545,2589,2626,2597,2755,2398,2271,2001,1839,2059,2028,2443,2524,1911,1646,1508,1859,1848,1959,1706],[3648,3808,3300,3703,4104,3732,3403,3572,4061,4463,3629,2950,2288,1569,1860,2955,2993,2545,2518,2876,3154,2895,2642,2729,2918,2625,2441,2320,2649,2286,2136,2270,2116,2530,3408,3216,2336,2467,3228,2185,1895,1692,1730,1620,1852,1832,2314,2585,2678,3068,2636,2441,3055,2929,2821,2269,2629,3031,2740,2568,2575,2236,2655,3440,2989,2271,2801,3550,3408,3321,3566,3859,3587,2827,2386,2446,2263,2619,3401,2714,2283,2258,2553,2455,2524,2579,2238,2002,2160,2548,2466,1924,2071,2810,2409,2059,2141,2075,2060,1972,1807,2540,3074,3238,3090,2799,2510,2741,3275,3544,3286,2585,2731,3757,3941,3919,4019,4041,3880,3547,3351,3230,2887,3366,3537,3557,3791,3955,4081,3955,4011,4239,4314,4168,4060,3640,3444,3532,3340,3467,3440,3513,3790,3969,4107,4199,3881,3346,3818,4501,3470,3075,3213,3202,3035,1677,2365,3504,3774,2952,2337,2204,1755,1243,1009,1378,1933,1669,1390,2014,2166,2502,3077,2965,2432,1837,1740,1708,1585,1904,2094,1753,1474,1546,1716,1829,1971,2633,2378,1578,1364,1419,1601,1782,1867,1983,1809,1405,1591,1744,1768,1734,1782,1611,1400,1461,1798,1899,1890,1702,1785,1789,1594,1136,1256,1540,1617,1608,1444,1487,1417,1700,2222,2066,2200,2031,2415,1879,1597,1737,2095,2331,2390,2124,1825,1899,1939,1783,1836,2645,2387,1729,1671,1623,1848,1849,1657,1493,1457,1751,2221,2248,2241,1894,2164,2361,2686,2420,2258,3154,3262,3044,2767,2229,2147,1844,1648,2043,2149,1731,1689,1670,1961,1764,1561,1341,1318,1496,1526,1469,1500,1642,1721,1820,1682,1938,1775,1926,2129,2229,2289,1941,1506,1622,1604,1523,1389,1433,1526,2498,2327,2138,1799,1697,1934,1654,1508,1556,1413,1439,1776,1878,1570,1438,1786,2291,1826,1682,1998,1989,2003,1858,1800,1578,1423,1790,1872,1687,1721,1642,1554,1493,1606,1742,1594,1441,1401,2029,2280,2208,2202,2305,2518,2501,2354,2269,2024,2031,2005,1912,1858,1956,2018,2417,2662,2742,2514,2679,3231,3316,3115,3224,3396,3442,3110,2663,3011,3461,4064,4128,3898,3079,2235,1907,1778,1869,1896,2106,2692,2695,2328,2379,1891,1831,1698,1954,2065,2039,1826,1896,2540,2792,2763,2768,3186,3624,3586,2698,1722,1652,1779,1933,2234,2665,2376,2461,3064,2654,1889,2114,2549,2626,3379,3968,3880,3871,3719,2822,2019,1675,1566,1616,1593,1688,1598,1557,1245,1346,1651,2154,2561,2589,2434,2138,1938,1720,1860,2009,1698,2098,2558,2078,1760,1627,2327,2632,2198,2167,1749,1934,1890,2001,1916,1826,2048,1957,1930,1981,2182,2264,1936,1890,2307,1959,1761,1661,1652,2585,2802,2642,2876,2934,2504,2158,2054,2046,2769,2873,2975,2707,2284,2185,1804,1920,1882,1947,2144,1984,2012,1975,1675,1640,1657,1942,2646,2767,2543,2455,2800,2919,3304,3560,2952,2124,1766,2410,2403,2221,1615,1520,1453,1317,1314,1403,1651,1948,2141,2158,2591,2308,1512,1352,1556,1635,1507,1445,1494,1598,1787,1967,1919,1946,2208,2356,2215,2012,2153,2077,2124,1627,1506,1881,1732,1569,2006,2130,2101,2287,2238,2208,2264,2452,2638,2531,2120,1990,1898,1703,1615,1739,1770,1691,2040,2131,2008,2236,2350,2157,2059,2620,2736,2349,2308,2156,1896,2008,2166,1796,2070,1925,1726,1604,1604,1673,1660,1754,2002,2175,2545,2610,1700,1528,1700,1954,2044,1647,1503,1471,1679,2381,2663,2486,2342,2120,2064,2095,2001,2047,2574,2159,1864,1813,1776,1699,1692,1919,2079,1981,1703,1492,1693,1764,1684,1602,1567,1843,2094,2072,2018,2558,2920,2610,2684,2293,2217,2350,1995,1857,1592,1499,1692,1641,1607,1753,2204,2780,3150,3476,3356,3637,3605,3084,3228,3536,3287,3531,4228,4636,4795,4798,4999,5039,5028,4840,4364,4375,4956,4860,4647,4663,4819,4378,3458,3904,3963,4200,4557,4580,4415,4308,3930,2973,2774,3287,2788,2059,2287,3472,4249,3926,3682,4107,4431,4384,4005,3999,3852,2757,2025,2103,2235,2119,1632,1649,1655,1505,1666,1787,1622,1519,1544,1521,1911,2896,2564,1866,2404,2421,2004,1572,1659,1512,1623,1680,1885,2101,1962,1735,1802,1743,1708,1695,2014,2021,1792,2010,2254,2678,2669,1848,1519,1525,1424,1756,2045,2048,2641,2655,2917,3045,2500,2098,2116,2006,2072,1953,1591,1620,1999,2352,1941,1878,1738,1679,1849,1938,1974,1694,1428,1731,1746,1783,2367,2664,1759,1543,1437,1602,1439,982,1175,1427,2398,2263,1619,1887,2289,2563,1820,1638,1534,1719,1779,1641,1672,1583,1543,1576,1606,1829,2277,2458,1654,1536,1457,1464,1435,1734,1683,1909,2362,2167,1729,1572,1908,1980,1755,1516,1554,1664,1748,2073,2740,2734,1909,1512,1523,1603,1813,1796,1637,1521,1703,2032,2038,2188,2047,1580,1392,1416,1247,1284,1666,1459,1348,1472,1623,1604,1749,2125,2938,2087,1559,1696,1825,2108,1787,1443,1477,1562,1749,1975,1782,1857,2460,2646,2364,2467,2851,2753,2818,3318,3186,2939,2647,2812,2539,1820,1454,2559,3294,3153,3184,2479,1974,2161,1945,2390,1764,1718,1697,1963,1676,1787,2016,2593,2830,2114,1685,1641,1902,2052,1928,1677,1487,1430,1486,1469,1415,1375,1426,1446,1338,1372,1577,1718,1796,1825,2032,2058,1440,1468,1826,2084,1964,1639,1711,1849,2024,1782,1713,1770,1959,1693,1717,1594,2004,2855,3015,2428,1845,1769,1876,1857,2067,2116,2435,2457,2587,2690,2332,2121,2292,2178,1824,2018,2258,2386,2410,2190,1909,1789,1898,1958,2304,2490,2192,2022,1735,1389,1316,1488,1795,2388,2080,1832,2706,3107,2676,1933,1688,1749,1391,1407,1625,1324,1270,1478,1982,1610,1525,1455,1280,1249,1228,1362,1303,1249,1418,1355,1184,1185,1179,1315,1366,1299,1298,1406,1478,1390,1282,1235,1276,1520,1747,2063,2131,1560,1498,1576,1568,1427,1360,1398,1359,1381,1426,1458,1503,1581,1745,1505,1412,1516,1724,1848,1938,2176,2105,2018,2255,1935,1302,1461,2086,1796,1512,1750,1565,1471,1839,2156,2266,1995,1732,1671,1628,2030,2416,1958,1705,1655,1874,1808,2089,2600,2292,2157,2365,2225,1926,1865,1759,1982,2932,3463,2442,2625,2577,3221,3051,2227,2098,2336,2654,2337,2141,1888,1682,1628,1657,2035,2530,2469,2034,1752,2085,2194,1811,1553,1962,2119,1698,1742,1954,2258,1751,1541,1950,2498,2577,2303,2314,2396,2018,2164,2697,3159,2784,2293,1750,1703,1806,2004,2590,2472,1606,1532,1814,2044,1608,1560,1393,1847,2149,1638,1283,1267,1641,2025,1698,1381,1610,1633,1698,1716,2273,2072,2137,2887,3375,2861,2193,2054,1724,1713,2185,2913,2981,2744,2110,1656,1714,2086,2548,2408,2017,1915,1746,1587,1643,1732,1845,2267,1838,1740,2190,2117,1736,2207,2744,2463,1868,1669,1415,1377,1637,1538,1420,1388,1586,1605,1516,1529,1465,1689,2226,1942,1882,1986,2031,1958,2340,2497,2953,2845,1882,1667,2110,1907,1616,1670,1717,1736,1421,1293,1299,1338,1369,1385,1511,1766,1742,2033,2328,2107,2071,2347,2126,2065,2463,2620,2588,2416,2100,1734,1830,2278,2626,3105,3185,2028,2426,3100,3350,3160,2234,1706,1542,1527,1556,1654,1936,2428,1878,1527,1533,1332,1249,1513,1515,1655,1822,1735,1619,1339,1503,1669,1626,1695,1848,1585,2348,2095,1982,1881,1794,1977,1809,1598,1757,1898,1935,2202,1789,1932,1804,2332,1992,1781,2586,2564,2368,1965,2352,3168,3137,2756,2193,2028,2280,2286,1714,1543,1494,2099,3349,3112,2353,2720,3070,2886,3182,3414,3629,3521,3249,2547,1918,2069,2375,2642,2906,2791,2282,2273,2270,2592,2736,2633,2003,1903,1967,1651,1498,1480,1356,1424,1922,2622,2874,2450,2459,2697,2687,2942,2256,2215,3286,3234,2911,2570,2305,2366,2663,2163,2015,2214,2301,2206,2109,1979,2263,2568,2463,1985,2265,2576,2267,2217,1995,2577,3046,2937,3215,4168,4337,3275,2652,2626,2612,2520,2135,2135,2386,1976,1954,2613,3081,3245,3140,2791,2722,3076,2912,2137,2544,2842,3096,3340,2902,1334,1365,2047,2170,2150,2435,2763,2581,2624,2336,1950,1869,1833,2126,2250,2266,2090,2338,2508,2330,2562,2577,1959,2154,2289,2256,2415,2610,2269,2231,1761,1666,2373,2921,2957,2797,2787,2940,3112,2912,2269,2183,2110,2127,2563,3259,3575,3152,3151,3133,3176,3738,3853,3140,2899,2770,2741,3128,3240,3082,3021,3422,3559,3334,3021,2717,3183,3609,3215,3034,3122,3049,2766,3010,3309,3844,3874,3154,2753,2641,3006,2387,2942,3065,3064,3187,3037,2330,1973,2288,2184,1907,2137,2801,2250,1992,1931,1938,1840,1566,1351,2188,2470,2287,2403,2246,2083,2191,2018,1918,1804,1479,1571,1880,2163,2194,2118,1893,2430,2621,2285,2767,2261,2111,2557,3054,2971,2938,2817,2666,3083,3264,2892,3031,3297,3081,2595,2872,3561,3728,3460,2775,2783,2934,2919,2927,3108,2885,2460,2543,1720,1656,1807,2048,2295,2845,3471,3300,2734,2608,2661,2654,2728,2569,2529,3134,3063,2786,2343,2403,2297,1927,1946,1826,1627,1637,1473,1715,1857,2040,1691,1145,2270,3205,3050,2913,2573,2766,2662,2136,2308,1797,1620,1767,2295,2497,2641,2379,1847,1923,2273,2692,3277,3482,3408,3405,2936,2776,2776,2885,3585,3623,2688,2691,2758,2325,2452,2153,2129,1870,927,559,654,1071,1964,2901,2603,2179,2305,2465,2995,2992,2449,2630,2955,3262,3484,3741,3517,3065,3086,3168,3151,3164,3083,2267,1626,1554,1727,1302,1451,1637,1945,2030,2176,2034,1639,1222,1470,2094,2125,2061,2230,2180,2307,2026,1912,2188,2465,2862,3070,3099,2814,2567,2618,2888,3360,3329,3431,3023,2846,2994,1927,1971,2708,3251,3585,2832,2105,2095,2699,3129,3378,2963,3001,2772,2488,2534,2557,2215,1963,2103,2269,1870,1824,1726,1839,1710,1743,1930],[3858,3888,3607,3840,4164,4019,3466,3390,4209,3829,2011,1146,1294,1939,2686,3163,2645,2118,2362,2527,2980,3008,2829,2737,2774,2683,2465,2379,2727,2477,2194,1968,1513,2127,2731,2222,2447,3340,3699,3216,2282,1602,1383,1566,1754,1904,2526,2984,3208,3077,2553,2357,2769,2547,2604,2280,2297,2544,2369,2111,1996,1763,2134,2653,2709,3327,3313,3094,2818,2910,3441,3956,3462,2863,2642,2356,2207,2664,3197,2736,2364,2374,2479,2333,2413,2121,2134,2304,2331,2644,2831,2407,2183,2308,1911,2115,2030,2201,2068,1636,1626,1853,2161,2787,3244,2894,2545,2354,2586,3171,3198,2461,2630,3406,3673,3971,4096,3964,3731,3333,3141,2928,2842,3558,3605,3532,3724,3870,3934,4036,3936,3853,3816,4014,3938,3685,3499,3237,3153,3386,3429,3519,3760,3749,3783,3882,3717,3291,3584,4450,4167,3315,2818,2648,2376,2272,2661,3306,3636,3404,2944,2088,1816,1757,1402,1546,2088,1544,1383,1452,1863,2150,2081,2635,2654,1807,1866,1673,1616,1765,1971,1526,1515,1663,1998,2267,2240,2344,1951,1439,1404,1565,1629,1561,1443,1521,1361,1330,1414,1337,1627,1905,1726,1642,1494,1408,1597,1591,1671,1824,2326,2165,1709,1380,1438,1660,1702,1594,1388,1862,2262,1996,1937,1663,1524,1814,1873,1769,1800,1864,2079,2232,2276,1902,1847,1763,1858,1886,1701,2321,2411,2010,1831,1750,1861,1943,1761,1863,2204,2114,2424,2287,1694,1838,2129,2042,1959,2014,2570,3198,3159,2868,2858,2127,2029,1564,1901,2178,1902,1634,1389,1504,1708,1707,1747,1664,1705,1736,1448,1527,1585,1412,1417,1666,2060,2469,2034,1800,1959,1743,1721,1707,1690,1535,1425,1439,1337,1446,1436,1709,1862,2043,1946,1941,2042,1565,1416,1451,1427,1447,1544,1703,1613,1764,2375,2590,2280,2304,2233,1838,1771,1736,1598,1527,1548,1720,1743,1639,1731,1700,1744,1524,1463,1545,1605,1655,1583,2300,2825,2532,2049,1873,2089,2112,2309,2161,1653,1778,1982,2122,1736,1621,1920,2563,2885,2610,2237,2140,2241,2679,2743,3106,3460,3119,2740,2482,3127,3532,3855,4229,4104,3138,2120,1945,2175,2175,2349,2028,2224,2297,2373,2179,1620,1780,1936,1763,1974,2085,1501,1739,2291,1959,2048,2202,2511,2969,3208,2492,1729,1586,1652,1649,2170,2614,2500,3085,3273,3002,2357,2665,2884,2866,3115,3553,3805,3774,3661,3428,2929,1759,1563,1813,1976,1890,1905,1831,1482,1553,1722,1904,1908,1902,2225,1794,1918,1660,1498,1619,2256,2423,2173,1925,1848,1733,2167,2025,1793,1863,1708,1805,1916,1901,1607,2004,2288,2116,1945,1759,1957,2272,1970,1762,1982,1566,1364,1757,2238,2325,1662,1675,2193,2227,1808,1796,1886,2173,2620,2886,2990,2364,2323,2210,1983,1860,1893,2375,2942,2857,2884,2686,2231,1985,1803,1740,1987,2409,2688,2545,2596,2732,3006,3392,3447,2421,1772,2890,2425,1794,1582,1588,1498,1431,1312,1432,1856,1916,2014,2260,2605,2530,1860,1413,1691,1740,1638,1683,1561,1480,1723,1918,2035,2098,2221,2126,2096,2171,2314,2110,1772,1538,1764,2499,2510,1793,1682,1704,1793,2116,2205,2394,2452,2813,2996,2916,2885,2690,2144,1887,1986,1838,1874,1835,1817,1795,1840,2099,1975,1850,2175,2829,2855,2522,2687,2636,2271,2566,2431,2056,2665,2301,1746,1824,2132,2057,1680,1574,1738,1688,1697,1715,1617,1636,1842,1931,2194,1793,1519,1793,1864,2160,2888,2746,2576,2424,2415,2569,2463,2023,1942,1787,1807,1667,1510,1653,1629,1725,1650,1683,1515,1817,1844,1641,1617,1589,1473,1641,1950,1982,1990,2276,2707,2750,3151,3030,2357,2008,2036,1820,1638,1645,1840,1759,1574,1469,1654,2335,2363,2470,2929,3318,3250,3129,3365,3737,3611,3593,4092,4431,4532,4526,4571,4872,4813,4752,4132,4376,4592,4271,4343,4371,4596,4308,3442,3834,3824,4235,4403,4431,4540,4465,4172,3507,3188,3143,2609,2052,2676,4321,4233,3842,3566,3826,4432,4192,3769,3814,3306,2365,2092,2145,2175,2013,1605,1714,1651,1721,2009,1936,2025,2047,1666,1574,1891,2347,2342,2222,2466,2375,1890,1546,1536,1510,1619,1789,2163,2299,2026,1962,1724,1554,1781,1647,1918,2281,1988,2399,2697,2679,2261,1729,1526,1453,1546,1896,2104,2137,2274,2309,2475,2553,1999,1752,1903,2028,2115,1903,1866,1828,2101,2941,2493,2158,1818,1786,1764,1844,2044,1911,1772,1661,1686,1698,1786,1559,1398,1582,1542,1628,1228,1187,1483,1990,2440,1705,2017,1692,1755,1938,1782,1635,1650,1746,1630,1481,1446,1437,1708,1721,1471,1445,1708,1896,1485,1386,1461,1402,1624,2331,2464,2479,2600,2259,1850,1648,1782,2308,1947,1695,1561,1416,1572,1844,2437,2925,2307,1415,1441,1627,1562,1478,1543,1948,1836,1692,1512,1980,2186,1697,1506,1609,1237,1422,1701,1481,1459,1735,2058,1935,1847,2071,2392,2046,1914,1704,1711,1990,1726,1424,1523,1542,1819,2079,1947,1862,2019,2151,2613,3029,3518,3708,3442,3491,3665,3299,3167,3242,2832,1955,1486,1996,2255,2192,2576,2463,1809,1697,1760,1916,2074,2542,2417,2452,2115,1908,1952,1974,1882,1904,1684,1636,2062,2020,1994,1930,1621,1387,1461,1409,1351,1289,1433,1649,1452,1428,1497,1661,2195,2220,2170,2054,1756,1605,2047,2781,2296,1617,1715,1705,1713,1754,2011,2170,2200,1911,1704,1660,2097,2507,2494,2147,2014,2167,2382,2351,2578,2258,2359,2289,2725,2734,2322,2758,3264,2566,2254,2208,1915,2285,2542,1998,2157,2113,2109,2348,2342,1853,1827,1924,2143,1900,1799,1524,1620,2175,2037,2201,3339,3289,2343,1558,1478,1612,1323,1461,1773,1804,1803,1460,1520,2038,1856,1564,1551,1349,1278,1302,1249,1279,1551,1591,1239,1278,1198,1304,1345,1289,1358,1419,1419,1363,1549,1329,1373,1302,1230,1677,1748,1385,1635,1611,1693,1580,1428,1482,1406,1402,1312,1313,1419,1672,2153,1839,1642,1595,1955,1884,1681,1782,2013,2328,1773,1367,1516,1629,1981,1788,1759,1988,1562,1435,1787,2130,2178,1850,1792,1683,1710,2188,2094,2002,1629,1523,1782,1884,2054,2228,2194,1918,1958,2309,2259,1787,1799,2191,2534,2615,2164,2191,2362,2808,2969,2263,1921,2002,1982,1941,1788,1697,1887,1830,1869,2022,2078,1903,1931,2531,2730,2496,2226,1545,1517,1599,1404,1430,1501,1847,2032,1686,1857,1923,1932,1997,2494,2397,2662,2547,2874,3010,2784,2374,1980,2138,2319,2413,2936,2687,1663,1498,1755,2031,2033,1578,1317,1533,1537,1338,1226,1277,1421,1671,1677,1845,1738,1655,1615,1451,2268,2610,2186,2391,2979,2719,1990,1838,1686,1522,1809,2293,2499,2337,2025,1869,1852,2017,2157,1859,1931,1853,1861,1736,1736,1514,1591,1736,1604,1639,1682,1544,1730,1979,2077,1808,1446,1377,1422,1510,1541,1602,1499,1391,1471,1648,1859,2066,1820,1672,1668,1490,1625,1688,1691,2138,2920,3246,3532,2877,1806,2253,1970,1534,1540,1777,1661,1541,1518,1365,1314,1300,1287,1326,1598,1835,1925,1944,1907,2297,2130,2308,2296,1990,2010,1945,1753,1666,1699,1847,2144,2482,2695,2719,2520,1839,2520,3002,3147,2577,1759,1573,1655,1754,1799,2179,2015,2087,1728,1545,1507,1395,1469,1494,1612,1801,1496,1461,1331,1337,2140,2553,2319,1515,1499,1744,1786,1787,1960,1907,2350,2548,1603,1631,1897,1756,1679,1565,1673,1969,1717,1944,1768,2070,2315,2177,1939,1441,1556,2107,2466,2896,2391,2644,2527,2056,1782,1775,1576,2134,2865,2509,2571,2880,2796,2693,2978,3155,3545,3657,3326,2401,1750,2121,2657,2657,2906,2695,2752,3164,3209,3032,2722,2631,2143,2068,2177,1740,1695,1708,1703,1688,1926,2617,2868,2531,3057,3028,2854,3000,2854,2986,3129,2705,2452,2257,1960,2148,2022,1750,2004,2316,2803,2788,2155,1911,1759,2060,2322,2216,2458,2255,2141,2047,2130,2568,2262,2097,3293,4092,3736,2744,2207,2386,2322,2366,2519,2285,2313,2215,2260,2793,3041,3348,3855,3256,2664,2897,3065,2581,2863,2806,2822,2569,1648,994,1376,1972,2077,2404,2854,2694,2069,2102,2271,2322,2188,2030,2222,2753,3008,2774,2644,2353,2380,2669,2399,2055,2246,2145,1785,2003,2017,2067,2308,2169,2062,2225,2673,2872,2745,2801,2964,3117,3094,2292,2612,2474,2112,2879,3666,3770,3492,3297,3161,3019,3100,3277,2553,2287,2498,2657,2832,3082,3135,3262,3642,3554,2993,2866,2822,2874,3109,3059,3011,2851,2853,3740,3951,3483,3409,3293,2823,2447,2575,3133,2622,2609,2718,3111,3131,2141,1840,2287,2130,2286,2334,2907,3732,3090,2900,2712,2405,2135,1764,1627,2402,2868,2412,1843,2218,1845,1929,1980,1926,1666,1754,2136,2321,2343,2534,2358,2310,3271,2722,2158,2526,2378,2027,1964,2479,3176,3640,3415,3068,2990,2996,3033,3121,3200,2620,2006,2269,3093,3321,3085,2482,2096,2309,2568,2719,2793,2113,2247,2009,1714,1765,2039,2153,2033,2102,2528,3168,3120,2927,3077,3166,2104,2074,2029,2209,2337,2286,2402,2298,1702,1576,1715,1527,1458,1519,1317,1425,1862,2045,2009,1637,2865,3869,3348,2780,2648,3178,2331,2248,2333,1959,1743,1799,1864,1751,2180,2644,2374,2151,2594,3429,3786,3732,3497,3453,2956,2824,2823,2525,2611,2712,2075,1566,1924,2115,2087,1966,1963,1732,944,840,1245,1911,2302,2618,2107,1457,1470,2066,2479,2578,2845,2902,3201,3230,3189,3463,3360,3144,3370,3432,3519,3488,3254,2548,2055,2082,1892,1413,1380,1582,1349,1554,1797,1598,1289,1437,1839,1917,1681,1251,1409,1673,1428,1838,2654,2760,2568,2685,3221,2789,2556,2436,2616,3209,3552,3503,3573,2734,2932,3022,2325,2818,3561,3397,2821,1989,1735,1649,2029,2718,3144,3528,3781,3154,2475,2820,3018,2342,1791,1902,2366,1921,2620,2206,1837,1829,1946,1783],[4103,4284,4121,4272,3684,3647,3816,3764,3970,2557,1350,1745,2589,3095,3060,2429,1896,1831,2157,2449,2315,2633,2856,2940,3090,3116,2944,2823,2950,2913,2460,1945,1507,1898,2084,2408,3422,3564,3679,3632,2976,2271,1788,1649,1584,1802,2326,2625,3328,3015,2679,2836,3040,2689,2499,2473,2192,2054,2156,1806,1714,1521,1609,2344,2610,3184,3237,2897,2299,2683,3621,3571,2778,2724,3052,2435,1750,2243,3012,2757,2382,2758,2467,2547,2714,2135,2134,2326,2404,2388,2758,2821,2939,2792,2171,2200,1818,1733,1685,1670,1656,1754,2252,2651,2743,2597,2664,2471,2715,3194,3156,2945,3612,3657,3325,3842,4025,3928,3387,2910,3469,3615,3249,3497,3617,3473,3585,3663,3719,4001,4136,3654,3108,3816,3855,3428,3386,3328,3340,3580,3671,3784,3883,3784,3530,3475,3530,3536,3455,3490,3901,3543,3150,2302,2003,2812,3411,3403,3222,3005,2523,1971,2740,2468,1946,1766,1974,2010,1927,1722,2357,2578,2092,2009,2025,1541,1829,1636,1666,1613,1701,1556,1694,1769,1761,1731,1899,2320,1874,1594,1514,2022,2269,2180,1770,1592,1350,1326,1406,1346,1736,2061,1792,1861,1436,1501,1578,1570,1528,1756,2222,2358,2065,1718,1904,1947,1744,1720,1581,1735,2233,2430,2611,2223,1711,1842,1801,1784,1640,1622,1610,1644,1622,1836,1724,1612,1726,1787,1672,1612,1957,1964,1836,1822,1861,2017,1938,2058,2745,2662,2248,1807,1525,1636,1852,1919,1700,2177,3321,3732,3197,2284,2498,2212,1936,1812,2142,2113,1751,1463,1325,1532,1777,2226,2292,1781,1724,1763,1529,1542,1811,1540,1347,1581,2104,2170,1836,1888,1869,1605,1556,1543,1804,1904,1516,1372,1447,1476,1582,1688,1804,1921,1826,2023,1977,1491,1587,1603,1720,1512,1476,1655,1516,1742,2354,2624,2800,2532,2105,1744,1646,1573,1561,1604,1642,1743,1787,1823,1917,2094,2656,2343,2070,1910,1963,1720,1606,2111,2622,2347,1908,1926,1902,1935,2114,1881,1714,1714,1874,2200,1830,1610,2066,2808,3256,2713,2029,2112,1759,2032,2248,2830,3172,2790,2336,2653,3326,3550,3660,3898,3792,3053,2120,2069,2279,2292,1922,1669,1794,2100,2126,1904,1637,2100,2281,1710,1802,2156,1795,1851,2048,1710,1685,1837,1942,2045,2254,2172,2024,2015,2104,2187,2330,2047,2480,2941,3024,3001,2786,2777,2832,2787,3054,3663,3610,3534,3652,3479,3184,2040,1546,1839,1844,1690,1803,1583,1458,1526,1515,1592,1672,2110,1874,1680,1960,1621,1524,2080,2857,2900,2360,2546,2454,1793,2077,1954,1582,2011,2048,2254,2356,1994,1789,1913,1986,1793,1975,1977,1998,2332,2025,1739,2029,2115,1798,2267,2655,2263,1766,1729,2025,2304,1898,1575,1638,2330,2650,2838,2614,2358,2235,2165,1835,2053,2375,2530,3033,3021,2686,2455,2044,1886,2468,2287,2029,2575,2818,2951,2745,2762,3133,3045,3772,3209,2775,2667,2177,1869,1644,1749,1736,1608,1347,1261,1889,2069,2186,2205,2448,2973,2144,1483,1471,1681,2053,2086,1740,1708,1795,1828,1986,2153,2154,2182,2166,2142,2090,1773,1638,1622,1712,2049,2154,1779,1603,1764,1558,1720,2300,2563,2670,3425,3911,3747,3732,3543,3056,2626,2476,1847,1690,1938,2104,2119,2244,2242,1957,1841,1926,2325,2686,2497,2459,2655,2847,3245,3043,2414,2799,3031,2482,2504,2978,2944,2526,1926,1898,1715,2039,1846,1663,1775,2127,2221,2118,1790,1720,1991,1946,2118,2048,1995,2521,2546,2438,2653,3030,2411,1622,1573,1915,1758,1498,1482,1504,1656,1430,1431,1932,2373,1943,1628,1585,1674,1522,1528,1668,1771,1857,2030,2264,2474,2916,2667,2218,1895,1550,1594,1742,1886,1986,1914,1738,1753,1862,2249,2376,2301,2810,3459,3550,3372,3333,3728,3762,3669,4111,4472,4473,4336,4305,4649,4663,4615,4451,4617,4560,4211,4344,4564,4321,3255,3420,3874,4115,4396,4320,4324,4520,4565,4425,3966,3628,3317,3018,2727,4165,4866,4189,4060,3869,3751,4085,3868,3514,3486,2905,2146,2101,2075,2198,1886,1810,1582,1610,1720,1824,2004,1999,1864,1628,1627,1946,1884,1858,2096,2276,2080,1757,1597,1631,1740,1776,1958,2179,1929,1690,1709,1787,1921,1929,2195,2244,2256,2043,2029,2388,2507,2199,1972,1682,1457,1602,1643,1615,2043,1860,1668,2020,2281,2157,1952,1864,1914,1852,1484,1832,2288,2321,3219,3548,3060,2426,1901,1613,1705,2125,2007,2059,1776,1855,1809,1750,1589,1605,1608,1583,1759,1608,1539,1687,1923,2400,2701,2734,1921,1586,1585,1701,1899,2075,1954,1793,1780,1678,1668,1766,1726,1526,1514,1594,1362,1281,1253,1356,1490,1840,2460,2438,1799,1612,1543,1947,1821,1902,2207,1838,1624,1542,1271,1350,1787,2214,2641,2358,1697,1770,2113,1938,1542,1483,2142,1992,1610,1852,2452,2454,2114,1606,1935,1549,1472,1577,1738,1753,2017,2502,2457,2230,1906,1212,1354,1854,1704,2062,2070,1812,1800,1732,1585,1792,1949,1648,1825,2161,2070,2397,2932,3184,3383,2790,2842,3464,3249,2880,2855,2667,2023,1695,1622,1548,1697,2248,2156,1622,1716,1852,1942,2526,3019,2751,2628,2664,2260,1858,1792,1976,2069,1669,1529,2078,2411,2310,2196,1726,1488,1532,1400,1338,1396,1676,1703,1505,1376,1656,2289,2386,2544,2486,2477,2289,1816,1810,2370,1911,1665,1665,1830,1741,1679,2065,2336,2148,2064,1992,2001,2258,2625,2584,2461,2413,2430,2321,2244,2521,2644,2844,2856,2536,2347,2515,3175,3124,2405,2214,2228,2118,2101,2477,2384,2401,2504,2430,2310,2102,1885,1783,2302,2890,2655,1930,1431,1959,2611,2318,2351,3046,2859,2066,1538,1485,1419,1512,1513,1711,2849,2546,1531,1378,1752,1669,1957,2576,2215,1570,1366,1340,1417,1382,1316,1266,1340,1368,1690,1570,1323,1327,1284,1467,1472,1697,1390,1278,1251,1248,1329,1454,1472,1490,1398,1353,1417,1618,1439,1465,1367,1350,1418,1423,1452,1600,1503,1328,1404,1688,1870,1833,1681,1960,1802,1544,1633,1682,1633,1829,1824,2122,2094,1556,1567,1819,2012,2226,2002,1952,1787,1672,1910,2263,2164,1660,1787,2040,1919,2009,2178,2164,2077,2754,2759,2706,2940,3312,3315,3321,3162,2454,2097,2247,2327,2291,1899,1751,2022,1907,1902,1798,2033,2098,2023,2284,2211,1932,1777,2037,2642,2591,2040,2249,1669,1276,1652,1695,1607,1730,2372,2634,1991,1980,2389,2531,2728,3029,2821,2866,2921,2836,2618,2564,2337,1941,2473,2720,2479,2391,2453,1842,1667,1473,1684,1898,1625,1409,1322,1367,1296,1156,1215,1321,1603,1714,1543,1438,1946,2082,1857,1968,1744,1572,1642,1967,1677,1326,1616,1860,1912,2055,2251,2254,1969,1836,1754,1589,1266,1464,1703,1821,1831,1674,1735,1887,1887,1860,1699,1760,1895,1667,1825,2244,2603,2136,1635,1171,1254,1389,1375,1228,1243,1437,1607,1642,1418,1810,2389,2624,2483,1782,1709,1786,1614,1628,2349,2890,2842,2744,1967,1620,1923,1235,1703,1853,1903,1836,1505,1484,1542,1343,1187,1302,1400,1604,1758,1952,1915,1945,2610,2382,2214,2314,1900,1678,1881,2088,2236,2440,2575,2696,2884,3183,3139,2976,2463,2377,2847,2735,1929,1546,1700,1779,1726,1561,1831,2069,1722,1495,1506,1375,1251,1394,1490,1527,1552,1355,1274,1341,1537,1783,2147,2072,1649,1732,1869,1652,1481,1795,2531,2987,2098,1727,1858,1910,1721,1596,1482,1732,1588,1794,2175,2031,2230,2408,2176,1494,1067,1609,2113,2431,2192,2078,2448,2343,1747,1809,2066,1746,1827,1743,2196,2654,2916,2689,1812,1527,1951,2728,3384,3066,2156,2336,2310,2097,2385,2876,2680,2686,2873,3317,3453,2881,2548,2449,2492,2202,2060,2020,1881,1930,1686,1890,2897,2998,2441,2192,2243,2448,2808,3230,2818,2730,2453,1996,2051,2232,2323,1717,1556,1749,1997,2474,2433,2239,1792,1794,1838,1949,2069,2277,2119,1867,1929,2556,2903,1836,1974,3012,3226,2879,2922,2577,2411,2410,2460,2610,2423,2612,2725,2502,2666,2696,2767,3387,3580,3433,3173,2988,2565,2532,2656,2544,1630,1172,1396,1783,2052,2193,2990,2886,2101,1988,2146,2181,2226,2126,2133,2525,2792,2953,3065,2918,2408,2332,2457,2362,2591,2646,2209,2048,2040,1960,2178,2238,2513,2608,2590,3344,3038,1952,1615,1867,2266,2529,2365,2630,2489,2343,2907,3152,3277,3164,2982,3216,3286,3212,2843,2596,2706,2474,2482,2524,2369,2611,3437,3724,3410,2611,2964,2676,2226,2320,3038,3830,3501,2759,3363,4077,3438,3244,3078,2966,2447,2922,3616,2893,2566,2856,2776,2868,2380,2868,2775,2070,2375,2322,2775,3550,3769,3740,3326,2801,2485,2127,1793,2402,3145,3050,2194,1865,1877,1878,1741,1786,1905,2216,2397,2634,2962,3194,2656,2390,2512,2404,2797,2710,2410,2118,2229,2753,3719,4244,3560,3417,3297,3240,3104,2889,3063,2786,2257,2504,3173,2878,2474,2372,2490,2386,2418,2656,2403,2002,1753,1711,1685,1982,2569,2564,2446,2158,1704,2336,3015,3238,3273,3145,2265,2118,1728,1952,2117,1996,2288,2080,1636,1470,1609,1540,1432,1533,1666,1832,2316,2553,2276,1776,2123,2968,2762,2205,2208,2664,2099,2056,2158,2125,1982,1927,1851,1758,2230,3034,2862,2216,2629,3489,3536,3463,3347,3233,3203,3300,3230,3021,2720,2546,2493,2034,1949,2192,2025,1868,1904,1557,745,379,1204,2126,2276,2072,803,542,928,1641,1372,2094,2944,2831,2215,2424,3029,3120,2950,2864,2923,3110,3398,3383,3142,2471,1896,2276,2454,1663,1625,1694,1417,1364,1312,1714,1752,1825,1743,1618,1365,1303,1455,1395,1137,1549,2448,3429,3649,3528,3481,3008,2543,2588,3074,3609,3624,3627,3494,3119,3278,3486,3341,3541,3759,3736,2723,1776,1685,1825,2253,2522,2475,2875,3438,2944,2231,2239,2555,2646,2242,2340,3068,2603,2656,2362,2127,2129,1942,1758],[3673,3430,3293,3787,3241,3303,3616,3638,2966,1806,2007,2787,3001,2986,2802,2031,1966,1897,2044,2221,2135,2313,2534,2984,3498,3695,3473,3340,3611,3701,2524,1814,1563,1619,2088,2822,3474,3330,3051,3230,3231,2564,1656,1659,1646,1640,2038,2612,3421,2954,2767,2661,2490,2548,3002,3065,2533,2304,1980,1755,1959,1870,1772,2628,2934,2738,3239,3182,2486,2564,2819,2324,2120,2301,2777,2460,1977,2179,3077,2536,2265,2536,2351,2827,2959,2029,2184,2088,2321,2057,2830,3195,2998,2157,1984,2276,2115,1866,1744,1836,1594,1734,2219,2674,2706,2986,2898,3142,3583,3617,3716,3937,3952,3624,3606,4021,4160,4070,3529,3443,3912,4031,3483,3375,3556,3282,3263,3469,3704,3871,3730,3604,3620,3751,3547,3436,3486,3559,3715,3827,3883,3940,3811,3606,3439,3203,3473,3989,3655,3586,3383,3626,3815,3087,2688,3524,3542,2656,2603,2470,2299,2557,2835,2269,2534,2383,1933,2456,2524,2188,2876,2964,2065,1580,1604,1476,1528,1673,1710,1646,1710,1751,1788,1650,1460,1450,2062,2574,1970,1644,1686,2164,2540,2754,2446,2136,1809,1577,1406,1199,1549,2285,2096,1759,1449,1476,1817,1825,1486,1369,1864,2403,1979,1743,2054,2007,2003,1705,1536,1453,2176,2510,2114,2121,2023,1788,2021,2115,1522,1496,1472,1421,1791,1939,1631,1650,1669,1526,1465,1484,1568,1749,1761,1533,1615,2057,2224,2610,2976,2408,1722,1663,1668,1749,1832,1937,2012,2171,2382,2551,2057,2034,2197,2154,1812,1999,2113,1995,1998,1758,1707,1654,1697,2384,2771,2041,1690,1754,1588,1685,2012,1814,1386,1465,1843,1876,1745,1767,2094,1931,1505,1343,1400,1604,1443,1421,1465,1436,1453,1439,1529,1724,2023,2213,2194,1710,1510,1862,2184,1833,1395,1531,1666,1679,1946,2180,2013,1642,1569,1782,1451,1394,1576,1551,1526,1800,2100,2192,2287,2790,2770,2953,2988,2903,2799,2098,1851,2388,2849,3009,2819,2376,1824,1922,1722,1641,1654,1723,1978,1994,1770,1674,1808,2459,3373,3007,2242,2341,1968,1865,2138,2809,3024,2763,2453,2749,3466,3561,3120,2867,2807,2271,2155,1865,1823,1725,1861,1837,2196,2764,2541,2010,1932,2004,1992,1709,1662,1891,1878,2114,1945,1713,1826,1820,1676,1996,2111,2035,2117,2417,2259,2429,2399,1997,2299,2520,2430,2305,2347,2691,2963,2806,2999,3838,3746,3374,3688,3687,3106,2092,1606,1980,1892,1405,1345,1342,1412,1664,1581,1576,1653,2088,1963,1734,1559,1544,1503,1668,2282,2546,2387,2699,2579,2215,2076,1387,1299,2243,2492,2553,2134,1883,1976,1842,1687,1532,1930,2077,1688,1763,1852,2082,2377,2399,2388,2501,2483,2199,2319,1947,2071,2447,1987,1782,1722,2110,2231,2288,2324,1839,1875,2063,1779,2562,3054,3076,2750,2705,2348,2053,2171,2386,2697,2263,1941,2168,2481,3497,3532,3405,2906,2620,3394,3143,2334,1771,1921,2181,2352,2485,1998,1965,2005,1340,1741,2098,2309,2301,2319,2088,1691,1498,1529,1835,2245,2070,1859,1985,1998,2093,1969,2044,2145,2543,2642,2446,2494,2254,2002,1801,1930,1776,1824,1905,1734,1904,1767,2015,2537,2481,2685,3617,4376,4273,4256,4437,4121,3107,2385,1997,1763,1837,2014,1994,2160,2237,2050,1948,1926,1910,2211,2245,1891,1936,2476,2764,2671,2441,2777,3168,2813,2830,3095,3248,3135,2126,1969,1909,1895,1750,1521,1935,2793,2843,2237,1669,1551,1685,1826,2008,1927,2083,2534,2610,2376,2666,3056,2428,1588,1509,1872,1650,1410,1442,1636,1706,1429,1484,2451,2734,2094,1677,1879,1886,1444,1395,1389,1527,1758,1941,1885,1988,2208,2088,1954,1830,1888,1943,1982,2055,1903,1875,1958,2233,2138,2194,2676,2701,2910,3522,3639,3697,3503,3438,3681,3315,3864,4298,4210,3980,4037,4364,4473,4397,4373,4521,4507,4399,4519,4795,4572,4052,4117,4023,3928,4081,3904,3724,4087,4206,4222,4233,4100,3775,3747,3948,4769,4764,4186,3963,3871,3863,3868,3814,3640,3441,2542,2167,2047,2106,2113,2160,2221,1685,1848,1938,1835,2091,1844,1599,1525,1584,1754,1777,1691,1685,1851,1654,1487,1540,1792,1983,1982,2117,2091,1977,1925,2329,2984,2641,2154,2535,2259,1959,1960,1925,2352,1845,1565,1551,1462,1570,1619,1344,1383,1698,1658,1706,1838,1825,1849,1925,1798,1748,1789,1554,1384,1828,2448,3542,3846,3420,2625,2120,1969,1793,1844,1598,1643,1914,1987,1903,1811,1760,1695,1550,1907,2601,2127,1732,1709,2184,2708,2645,2119,1875,1650,1677,1990,2139,1803,2049,2339,1967,1796,1867,1659,1561,1774,1983,2024,1671,1426,1463,1428,1813,2359,2803,2125,1694,1790,1752,1953,1822,2007,1825,1424,1344,1408,1476,1633,1879,1831,1857,1787,1818,2348,3149,2265,1275,1715,2058,1520,1512,2170,2875,2324,1815,1716,1836,1516,1542,2343,2379,1732,2173,3020,2803,2383,1797,1177,1440,1698,1565,1548,1685,1956,2533,2320,1590,1571,1688,1663,1823,1718,1469,1693,2164,2187,2921,2378,2026,2481,2598,2077,1858,1858,1683,1632,1531,1496,1384,1594,1561,1363,1343,1535,1817,2209,2610,2513,2023,2421,2715,2505,2090,2092,2056,1820,1710,2117,2322,2200,2114,1798,1504,1426,1268,1344,1431,1452,1365,1353,1387,1913,2564,2497,2077,2320,2360,1963,1820,1526,1644,1613,1660,1781,1993,1810,1560,2119,2511,2295,2273,2197,2048,1859,2034,2059,2077,2193,2374,2259,1816,1932,2499,2988,3039,2909,2858,2917,3017,2348,2073,1897,1874,1954,2162,2454,2555,2464,2461,2603,1881,1571,1926,2231,3355,3530,3361,2844,2106,2017,2467,2363,1869,1891,2099,1929,1461,1341,1489,1688,1733,1633,2465,2140,1393,1444,1555,1475,1916,2255,2078,1905,1540,1224,1346,1352,1340,1246,1343,1604,1474,1444,1990,1786,1480,1401,1345,1330,1395,1527,1460,1296,1372,1413,1299,1408,1404,1321,1310,1619,1652,1582,1411,1361,1367,1403,1422,1422,1319,1210,1353,1854,1971,1767,1694,1733,1493,1674,1686,1547,1550,1804,1854,1824,1760,1613,1771,1904,2166,2160,1658,1730,1652,1668,1923,2019,1959,1804,1793,1783,1689,1830,2184,2670,3240,3672,3338,2865,2867,3407,3655,3724,3215,2069,1540,1570,1587,1655,1886,2072,2168,1961,2004,2000,2068,1856,2065,2759,2657,2161,2423,2424,2342,2062,1735,2186,2082,1790,1704,1689,1779,2204,2526,2401,2332,2395,2859,2858,2625,2237,2033,2290,2418,1995,1998,2431,2182,1688,2050,1969,1767,1570,2034,1901,1646,1485,1438,1516,1485,1340,1374,1338,1296,1419,1449,1754,1766,1794,1703,1520,1980,2213,1752,1743,1770,1773,1637,2101,1693,1462,1644,1716,1900,2366,2644,2376,2090,2064,1645,1557,1236,1743,1900,1669,1781,1714,2132,2352,2018,2063,2163,2200,2230,2165,2840,2922,2903,2897,2205,1661,1684,1551,1479,1410,1362,1394,1560,1623,1897,2489,3178,3117,2669,2414,2546,2670,2408,1731,1886,2238,2151,1852,1682,1427,962,1475,2225,2055,1895,1855,1653,1578,1337,1240,1424,1533,1480,1754,1872,2123,2161,2043,2747,2791,2190,2314,2257,2299,2518,2758,2785,2894,2972,2737,2842,3038,3020,3061,2291,1835,2267,2390,2381,1812,1862,2030,1533,1144,1693,2182,1890,1443,1421,1412,1243,1261,1403,1485,1492,1376,1382,1539,1472,1506,1583,1764,1740,1614,1530,1509,1735,2098,2658,2744,2352,2402,2024,1638,1586,1677,1785,1869,1376,1511,1909,1770,2046,2299,1872,1253,1141,1687,2002,1969,2204,2236,1861,2122,2126,2293,2293,2023,1966,2061,2269,2319,2525,1981,1300,1285,1311,1461,2006,1995,1801,2601,2232,2057,2007,2286,2405,3056,3122,2874,2798,2258,2113,2493,2432,1824,2109,2448,2238,1922,1633,1784,2329,2703,2799,2468,2151,2313,2763,3219,2719,2561,2438,2103,2179,2674,2530,1986,1756,1757,2063,2227,2013,2020,1891,1853,1774,1831,1783,1911,1926,1880,1970,2551,2711,1984,2131,2143,1741,2032,2777,2981,2380,2120,2199,2183,2413,2739,2859,2773,2689,1893,2390,2732,2857,3008,3120,2768,2108,1741,2214,2720,2084,1945,2447,2946,2670,2713,2977,2653,2245,2269,2269,2358,2303,1896,2041,2314,2623,3039,2718,2529,2454,2157,2044,2575,2923,2508,2446,2840,2286,2368,2906,3050,3185,2830,2721,2940,3018,2531,1934,1582,1845,2147,2381,2740,2696,2618,2770,2710,2745,2675,2396,2665,3085,3319,2852,2476,2498,2113,2513,2766,2467,2509,2877,3142,3022,3076,3415,3254,2732,2708,3317,4100,3812,3081,3198,3883,4039,3790,3417,3044,2562,3171,3886,3125,2668,3085,2579,2883,2858,2460,2064,2281,2481,2309,2453,2791,3137,3682,3222,3064,2666,2354,2277,2692,3030,3046,2618,2011,2037,1934,1735,1786,2025,2129,1985,2712,2913,2666,1934,1775,2142,2731,2918,2757,2867,3283,3379,3147,3736,4352,3439,2471,2657,2835,2375,2495,2997,3396,3476,3462,3288,2738,2416,1954,2039,2231,2595,2524,2338,2046,1698,1581,1580,2400,3367,3270,3045,2600,1929,1865,2688,3264,3079,2792,2485,1775,1681,2263,2420,2565,2303,2017,1281,1431,1909,2008,1676,2011,2508,2402,2574,2431,1948,1511,1824,2232,2089,1699,1824,2390,2195,1926,1996,1996,1855,1552,1755,2144,2552,2853,2279,2240,2635,3005,3219,3264,3198,2858,2529,2807,3240,3274,3100,2639,2249,1920,2099,2041,1874,1898,2002,1521,642,794,1705,2266,2495,1785,810,640,1208,1575,1583,2524,3053,2780,2086,1906,2633,2836,2798,2742,2958,2934,3067,3144,2821,2616,2319,2325,2301,2047,1935,1631,1941,1676,1652,1891,1855,1838,1406,1393,1260,1224,1520,1491,1445,1874,2249,2841,3747,3969,3317,2982,2909,3112,3038,2965,3108,3273,3354,3472,3494,3659,3610,3843,3786,3664,2410,1870,1946,1870,1976,2297,2310,2591,2608,1997,1552,1787,2209,2093,2115,2911,3316,2809,2501,2353,2269,2093,1889,1908],[3224,3297,3330,3200,3433,3604,3038,2643,2513,2688,2888,2375,2403,2613,2312,2106,1924,1636,1799,2026,2138,2222,2686,3253,3715,3803,2922,2586,3088,3410,2372,1640,1261,1738,2102,2258,2833,3236,3339,3392,2906,2593,2220,1953,1717,1548,1760,2160,2776,2921,2635,2523,2208,2239,3164,2888,2579,2210,1930,2113,2647,2642,2104,2566,2660,2385,3471,3656,2891,2089,2099,1913,1876,2204,2697,2284,1726,2077,2623,2030,1513,1889,2475,2902,2657,1959,2090,1957,1993,2520,3093,3167,3319,2819,2009,2042,2084,2051,1744,1761,1629,1655,2138,2533,2940,3267,2958,3331,3909,4006,3876,3346,3725,3785,3825,3943,3932,4041,4163,4208,4028,3830,3422,3293,3650,3334,3212,3216,3514,3539,3409,3503,3596,3620,3726,3639,3436,3620,3652,3694,3730,3818,3547,2994,3221,3112,3123,3169,2968,2919,2932,3064,3097,3606,3602,3931,3774,2945,2855,2523,2754,2938,2247,1867,2777,3037,2546,3247,3423,2580,2285,2690,2037,1549,1550,1484,1496,1614,1531,1547,1593,1744,1904,1665,1705,1942,1606,1643,1631,1624,1750,1807,2332,2631,2074,1891,2227,1934,1773,1371,1427,1941,2224,1790,1689,1692,1882,1911,1584,1481,1814,2106,1534,1590,2207,1905,2055,1898,1917,1830,2413,2262,1768,1853,1868,1921,1836,1660,1543,1540,1506,1434,1860,1693,1511,1594,1450,1374,1536,1638,1692,1635,1562,1526,1783,2139,2157,2329,2346,1842,1789,1736,1919,2675,2214,1823,2101,2080,1590,1726,1676,1998,2232,2026,1998,2109,1951,1878,1798,1722,1540,1308,1475,1688,1904,1711,1694,1545,1462,1777,2074,2105,1682,1497,1831,2126,1642,1807,2542,1998,1460,1428,1387,1409,1520,1674,1600,1657,1605,1538,1591,1560,2370,2563,2361,1896,1477,1651,2006,1815,1697,2269,2063,1353,1448,1561,1454,1401,1530,1947,1866,1716,1960,1872,1715,1860,2501,2831,2413,2493,2361,2378,2837,3250,3542,3300,3075,3231,3378,3609,3186,2313,1682,1862,1561,1506,1609,1699,1723,1618,1477,1494,1593,1897,2589,2246,1911,2054,2084,1803,1983,2122,2458,2901,2607,2551,2846,3178,3212,2626,2730,2576,2316,2244,2259,2086,2353,2187,2164,2976,3024,2194,2070,1512,1703,1803,2061,1908,2348,2729,2407,2564,2706,2276,1962,2224,2249,1973,1976,2075,1921,2141,2116,2133,2353,2252,2121,1903,2023,2629,2907,2828,3150,3893,4018,3658,3652,3697,3222,2285,1699,1813,1715,1550,1545,1711,1485,1410,1373,1538,1615,1853,1974,1541,1308,1432,1463,1444,1597,2086,2880,3043,2755,2756,2331,1578,1674,2275,2477,2054,1694,1807,1724,1906,1720,1511,2199,2245,1896,1701,1673,2225,2544,2006,1732,2007,2140,2408,2719,2406,2282,2460,2170,1907,1793,1937,2148,2165,2076,1653,1842,1857,1738,2178,2784,3145,2708,2175,2037,2199,2510,2867,3018,2284,1653,1600,2143,3553,3812,3688,3304,2997,3122,2788,2081,1730,1786,1950,1780,1643,1720,1921,1912,1411,1713,2014,2308,2470,2342,2086,1633,1439,1433,1508,1656,1799,1997,2105,2341,2319,1850,1966,2216,2641,3146,2894,3274,3190,2263,2103,2036,1979,2450,2186,1977,2054,1719,2009,2407,2376,2807,3619,4196,4256,4600,4421,4026,2828,2362,2584,2164,1857,1911,2097,2229,2205,2084,2251,2636,2235,1979,1958,1855,2039,2130,1984,2150,2297,2028,2083,2326,3068,3338,3405,3167,2697,2602,2176,1642,1652,2079,2770,2984,2784,2328,2364,2204,2117,2042,1808,1653,2090,2732,2514,2247,2552,3292,2929,2164,1730,1905,1762,1460,1433,1693,1735,1591,1677,1961,2082,1847,1565,1697,1614,1654,1467,1496,1449,1694,1846,1879,2107,2068,1964,1874,1766,1798,2035,1986,2018,1814,1836,2070,2136,2188,2216,2336,2737,2862,3137,3444,3835,3834,3615,3338,3150,3500,3806,3769,3385,3638,4112,3979,3811,4057,4364,4572,4816,5063,4948,4676,4532,4208,3836,3662,3937,3875,3728,3780,3871,4057,3719,3208,3823,4255,4708,4740,4306,4179,3919,3554,3521,3543,3760,3685,3274,2310,2103,2038,2232,2065,2148,2185,1680,1574,1593,1898,2023,1600,2072,2014,1888,1850,2363,2192,1757,1657,1614,1666,1755,1931,1725,1838,2050,2016,2268,2470,3105,3418,2475,2444,2787,2172,1960,2040,1851,1859,1519,1454,1284,1772,1930,1722,1640,1629,1637,1622,1601,1638,1462,1626,1728,1926,1832,1771,1670,1672,1691,2192,2877,3444,3010,2161,2092,1866,1831,1418,1467,1529,1644,1933,2044,1989,1802,1656,1597,1990,2108,1901,1688,1599,1966,1920,1775,1743,1693,1675,1852,2138,2101,1470,1559,1949,1851,1845,2004,1812,1549,1868,2031,1968,1584,1372,1454,1624,2294,2721,3000,2386,2041,2226,2200,2053,2137,2354,2358,2597,2730,2510,2271,2540,2122,1393,1419,1591,1708,2489,3539,2988,1850,1713,1674,1459,1604,1870,2188,1555,1455,1882,1649,1310,1497,2484,2672,1531,1453,2275,2464,2032,1690,1383,1558,1686,1573,1738,2093,2344,2631,2494,2085,1833,1825,1852,1929,1398,1217,1560,1573,1490,2348,2540,2018,2110,2476,1876,2002,1660,1306,1393,1375,1413,1606,1747,1591,1428,1346,1520,1801,1770,1920,2153,1724,2308,2642,2923,2500,2381,2480,2398,2185,2087,2142,2196,2271,2023,1599,1472,1440,1474,1467,1526,1511,1417,1763,2297,2655,2315,1871,2290,2250,1757,1911,1898,1962,2030,1926,1926,2011,1962,1978,2214,2297,2315,2190,1852,1698,1915,2331,2409,2314,2432,2874,2791,1768,1508,2109,2946,3349,3370,3149,2963,3090,2351,1887,1904,1845,1702,1868,2005,2183,2421,2159,2197,1754,1858,1879,2818,3649,3620,3526,3462,3020,2556,2180,2127,1808,1543,1791,1563,1302,1305,1493,1604,1847,2046,1842,1512,1459,1432,1564,1462,1562,1388,1766,2054,1437,1101,1269,1354,1379,1223,1297,1355,1340,1555,2763,1992,1331,1283,1317,1221,1581,2153,2023,1419,1432,1494,1334,1389,1470,1459,1511,1760,1781,1499,1295,1251,1423,1569,1465,1384,1396,1279,1317,1835,1795,1688,1585,1385,1761,1991,1525,1407,1561,1621,1583,1711,1543,1394,1355,1644,2212,2178,1931,2237,2188,1938,1888,2039,2609,2006,1885,2088,1905,1847,2051,2508,2858,2730,3112,2938,2855,3240,3244,3168,3072,2581,2352,1786,1420,1569,1660,2330,2600,2236,2100,1891,2024,1780,1874,2508,2712,2451,3163,2877,2276,1916,1724,1740,1929,2103,1488,1509,1663,1887,1855,1903,2306,2641,3047,3034,2524,2081,2062,2274,2115,1634,1861,2421,1804,1494,1465,1495,1639,1586,1715,1695,1495,1548,1565,1494,1355,1494,1467,1412,1498,1426,1541,1641,1559,1772,1692,1479,1691,1983,1503,1507,1934,2210,2031,1995,1741,1559,1542,1778,2019,2102,2298,1892,1845,2028,1860,1756,1682,2063,2000,1947,1957,1909,2316,2563,1995,2314,2666,2323,2247,2342,2642,2812,2724,2950,2426,1880,1936,2163,2019,1603,1502,1536,1648,1470,1555,1874,2935,3039,2440,2249,2022,2229,2309,1793,1948,1833,1588,1377,1356,1060,1387,2140,2333,1938,1800,1882,1671,1457,1389,1524,1555,1573,1582,1809,1883,1853,1684,1946,2768,3174,2237,2439,2690,2887,3089,3174,3077,2761,2684,2320,1808,1615,1830,1953,1615,1480,1710,2454,3165,2246,1917,2261,1603,1186,1840,2333,2167,1511,1359,1478,1376,1366,1403,1451,1356,1308,1490,1462,1470,1629,1776,1939,1926,1675,1459,1631,1958,1937,2278,2647,2588,2261,2057,1731,1943,2080,1941,1974,1499,1776,2212,1753,1523,1851,1665,1359,1287,1522,2013,2289,2343,2113,2056,2474,2144,2112,2258,2259,1953,1821,1893,2022,2204,1958,1500,1406,1236,1288,1877,1968,2236,2371,1948,1709,1650,1830,2168,2625,2457,2244,1817,1899,2642,2702,2073,1793,1859,2066,2127,1810,1613,1808,1912,2249,2764,2890,2501,2714,2909,2677,2734,2968,2389,2149,2438,2646,2088,2027,2012,2126,2578,2701,2137,1920,1889,1692,1705,1936,1910,1914,2113,1952,1899,2272,2588,2836,2475,2132,1689,2030,2484,2891,2675,2165,2047,2443,2401,2373,3312,3271,2511,2547,3197,2578,2196,2389,2261,2036,2142,2466,3256,3920,3554,2915,2953,3067,2883,2989,3082,2620,2380,2469,2269,2568,2303,2293,2371,2158,2416,2555,2316,2602,2675,2355,2214,2519,2718,2366,2942,2996,2227,2854,3037,3624,3475,3043,3462,3609,3332,2851,2144,2438,2603,2513,2945,2458,2089,2407,2608,2622,2691,2486,2098,2056,2132,2375,2348,2080,2092,2192,2599,2894,2718,2477,2563,2744,3044,3054,3049,3632,3361,3344,3818,4147,3917,3978,3727,3186,3548,3792,3538,3441,3507,3779,3631,3159,3009,2849,2552,2955,2770,2433,2509,2401,2481,2620,2935,2670,2531,3169,2568,2621,2410,2039,2222,2498,2602,2320,2078,2258,2028,1611,1611,1836,2214,2061,1786,2119,2082,1906,1756,1920,2379,2668,2651,2775,3049,3298,3526,3288,3610,3062,2106,2151,2590,2548,2547,2862,3426,3670,3327,2849,3128,2485,2604,2154,2118,2281,2231,1970,1670,1549,1665,1726,2015,3139,3489,3417,3259,3012,2872,2678,3156,3527,3095,2708,2222,1774,2247,2807,2585,2430,2008,1792,1543,1432,2286,3406,2885,2420,2878,2411,2624,2234,1793,1464,1675,1453,1571,1734,1761,2402,2610,2416,2099,1812,1751,1834,2172,2143,2286,2123,2199,2644,2626,2818,3261,3206,2940,2647,2429,2558,2998,3342,3231,2750,2864,2589,2242,1989,2019,1943,1920,1770,1451,1484,2010,2016,1737,2030,1753,1432,2471,3231,2885,2832,2985,2812,2558,2678,2577,2633,2689,2750,2962,2986,3263,3166,3168,3566,3348,3030,2799,2745,2140,2105,2402,1760,2286,2463,2049,1706,1407,1528,1742,1473,1346,1496,1701,2139,2073,2767,3481,3460,2682,2356,2664,2264,1989,2486,2835,2924,3046,2989,3114,3278,2831,2991,3420,3122,2544,2268,1791,1600,1808,1583,1826,2225,2167,2041,1864,2025,2126,1651,1925,3064,3597,3498,3298,3232,2608,1945,1962,1672],[2938,3151,3251,3333,3432,2675,1919,2407,3112,3504,3339,2488,2509,2305,1942,1595,1296,1317,1651,1951,2153,2501,3078,3164,3391,3185,1876,1758,2213,2526,2457,1743,1706,2025,1707,1767,2058,2698,2857,2361,2099,2601,2808,1947,1604,1853,1971,2232,3015,2890,2333,2394,2446,2651,2890,2524,2118,1929,2052,2007,2303,2520,2162,2304,2262,2310,3310,2709,2399,2062,2143,2149,1858,2187,2340,2119,1878,2002,2081,1656,1595,2554,2901,2285,1908,1923,2177,2038,2107,2358,2486,2700,2768,2425,1786,2023,2154,2612,2047,1743,1860,1690,1815,2187,2707,2671,2601,3663,4144,3935,3280,3369,3876,3738,3671,3683,3934,4208,4045,3529,3592,3953,3458,3224,3299,3144,3396,3409,3413,3363,3326,3438,3551,3633,3793,3675,3671,3730,3491,3315,3182,3535,3186,2892,2857,2680,2434,2437,2747,2755,2962,2901,2543,3975,4333,3759,3561,3770,3514,3059,3361,3040,2183,2275,3049,3272,3382,3741,3229,2766,2070,2635,2438,1685,1512,1535,1840,2011,1745,1457,1393,1685,1668,1576,1854,1759,1581,1999,1901,1734,1641,1773,2234,2376,1605,1467,1616,1763,2101,1681,1731,1989,1901,1676,1817,1965,1898,1926,1884,1759,1449,1455,1448,1896,2588,1890,1614,1690,1676,1698,1918,2106,2100,2298,1939,1868,1720,1546,1694,1685,1693,1661,1627,1467,1469,1553,1318,1301,1549,1707,1806,1612,1526,1487,1800,1910,1980,2045,1643,1532,1663,1502,2296,3252,1916,1618,1991,1846,1853,1728,1750,2106,1957,1928,2082,2007,2031,1732,1345,1424,1487,1511,1583,1783,1962,1826,1703,1529,1627,1777,2120,2066,1946,1859,2044,1876,1457,1552,2194,2218,1767,1614,1494,1399,1628,1830,1760,1579,1750,1923,1981,1911,2508,2620,2215,1829,1593,1871,1639,1541,1730,2758,2452,1604,1576,1674,1831,1992,2072,2040,1992,2431,2721,2134,1659,1618,2236,2477,2214,2115,2240,2713,2959,3100,3643,3710,3694,3596,3438,3160,2260,1946,1779,1580,1504,1651,2016,1943,1646,1498,1487,1448,1685,1633,1653,1437,1702,2038,2083,1925,1803,1796,2316,2711,2315,2468,2332,2530,2780,3221,3475,3790,3714,3421,3197,2954,3438,2408,1560,2219,2391,2108,1641,1434,1676,1736,1882,1827,2294,2384,1752,2192,2709,2059,2030,2093,2290,1935,1735,1635,1823,1907,1853,1992,2023,2062,2267,2152,1989,2410,2774,2598,3329,3869,3937,3688,3226,3104,3125,2460,1926,1775,1701,1590,1660,1823,1560,1499,1470,1605,1704,1509,1366,1363,1446,1528,1542,1426,1420,1640,2815,3049,2511,2382,2082,1639,1591,2176,2353,2050,2338,2120,1772,1856,1909,2395,2729,2607,2576,2315,1989,2426,2604,2054,1875,2507,2486,2518,2303,2409,2431,2351,2142,1816,1732,2277,2252,1859,1780,1794,1814,1406,1450,2139,2215,2090,1959,1764,2094,2657,2668,2561,3006,2741,1964,1945,2275,3321,3811,3616,3026,2904,2885,2629,2412,1979,1719,1798,1488,1600,1941,1906,1604,1356,1649,2065,2284,2320,2216,1548,1310,1420,1695,1665,1684,1829,1870,2040,2354,2075,1736,1916,2237,2384,2834,2978,3169,2811,2149,2211,2180,2113,2265,2160,2173,2444,2042,2168,2245,2440,3174,3888,3746,3842,4124,3824,3221,2372,2134,2247,2184,2055,1873,1917,2042,1958,1885,2455,3365,2614,1881,1848,1784,1836,2013,2358,2145,2218,2374,2336,2557,3330,3620,3664,3574,3574,3610,3242,2613,2492,3089,3062,2439,2652,2646,3063,2619,2137,1992,1984,1775,2459,3606,3405,3166,3138,3513,3445,2751,1806,1560,1555,1475,1490,1593,1496,1481,1646,1609,1659,1616,1970,1905,1860,1737,1520,1534,1508,1708,1839,1744,1821,1954,2022,1899,1819,2070,2004,1970,1975,2014,2195,2091,1864,2040,2226,2281,2929,3235,3291,3687,3650,3865,3719,3285,3189,3073,3326,3519,3141,3784,4277,4144,3800,3879,4217,4809,5021,4996,4768,4454,4175,3738,3243,3442,4208,4411,4151,3852,3935,3913,2828,2562,3698,4412,4747,4523,3950,4026,3891,3441,3646,3560,3660,3740,2989,2140,2017,2013,2184,1980,1513,1625,1637,1709,1867,2036,1909,1602,2164,2489,2142,1999,2192,1797,1527,1353,1359,1547,1827,1885,1648,2007,2044,2263,2396,2375,3023,2845,2441,3033,2966,2106,2136,2099,1841,1853,1780,1484,1363,2217,2159,1678,1820,1709,1684,1788,1672,1617,1471,1572,1817,1807,1596,1779,2049,2047,1851,1820,1931,2634,2474,1779,1929,1810,1430,1450,1547,1469,1589,1712,1956,1980,1970,1955,1934,1926,1655,1708,1530,1556,1682,1648,1580,1604,1710,1854,1915,1729,1575,1329,1612,1959,1978,1896,1683,1496,1515,1578,1669,1620,1333,1275,1227,1967,2920,3032,2858,2833,2791,2708,2735,2713,2900,3507,3798,3875,3725,2994,2765,3145,2472,1593,1399,1510,1844,2639,3230,2584,1896,1580,1838,1781,1355,1582,1862,1496,1549,1822,1594,1433,1535,2079,2282,1544,1209,1697,2045,1869,1788,1643,2083,2309,2269,2463,2613,2476,2215,1982,2157,1999,1812,1862,1699,1324,1507,1663,1620,1530,1681,1888,1899,2157,2439,1808,2186,1908,1543,1413,1443,1489,1556,1515,1438,1193,1241,1422,1636,1561,1562,1874,1911,2483,2889,3008,2676,2563,2863,2768,2511,1945,1908,2170,2321,2031,1663,1491,1522,1533,1477,1496,1541,1659,1773,1992,2257,1999,2553,2508,2193,1911,2153,2250,2244,2212,2096,2010,1921,1894,2028,2086,2027,2375,2342,1648,1566,2005,2431,2500,2243,2245,2546,2202,1974,2483,2728,2981,3351,3077,3035,2924,2590,1871,1570,1813,2057,1956,1688,1638,2025,2288,2288,2525,2175,2161,2047,2072,2365,2767,3226,3182,2655,2856,2609,2271,1655,1497,2216,2679,2233,1587,1667,1584,1605,1925,1858,1600,1668,1554,1737,1482,1313,1167,1401,1392,1161,1221,1247,1308,1291,1236,1323,1242,1392,1509,2339,1742,1345,1456,1520,1535,1715,2157,2140,1500,1739,1524,1334,1339,1462,1447,1647,1576,1427,1389,1185,1353,1696,1670,1424,1389,1376,1454,1650,2037,1914,1482,1361,1510,1697,1565,1357,1490,1613,1810,1752,1733,1598,1563,1619,1733,2011,2232,2219,2210,2117,1736,2363,3587,3661,2271,2071,2145,2171,2258,2106,2088,1848,1998,2889,2213,2112,2911,2985,2842,2457,2809,3294,2544,2013,1985,1837,2262,2828,2895,2677,2299,2511,2121,1818,1973,1890,2281,3288,3090,2309,2010,1530,1515,2021,1991,1625,1505,1615,1789,2122,2115,1968,2145,2675,2767,2540,2205,2078,2446,2393,2008,2182,2197,1741,1541,1460,1536,1656,1764,1680,1494,1346,1353,1485,1412,1272,1665,1667,1525,1542,1451,1383,1318,1437,1592,1676,1666,1714,1673,1394,1571,2047,2568,2536,1892,1731,1803,1737,1924,2258,1899,2286,2590,2601,2646,2076,1639,1584,1617,1851,1999,2124,2358,2035,2274,2266,2413,2304,2116,2197,2374,2712,2472,1902,2003,2068,2486,2346,2260,2002,1478,1602,1800,1619,1303,1331,1636,2065,2162,1987,1702,1409,1494,1413,1462,1553,1500,1382,1268,1246,1350,1595,1964,1956,1575,1755,1927,1752,1497,1648,1560,1454,1422,1357,1317,1474,1637,1563,1731,2132,2588,2077,2678,3050,3061,3004,2850,2641,2086,1811,2149,1849,1700,2055,1792,1628,1757,1865,2694,3609,2977,2293,2475,2008,1444,1815,2006,1958,1451,1259,1511,1501,1456,1391,1373,1351,1542,1617,1351,1391,1432,1654,1854,1668,1459,1836,2212,2522,2645,2811,2972,2836,2643,2539,2502,2527,2494,2113,1999,1946,2435,2533,2139,1697,1749,1646,1462,1379,1866,2250,2242,2034,1646,1969,2114,2078,2103,2013,2031,1831,1610,1830,2327,2867,2272,1648,1456,1864,1951,2065,2013,2049,1957,1859,1626,1629,2083,2474,2866,2675,2242,1763,1749,2473,2703,2175,1951,1793,1750,1867,1720,1633,1647,1859,1935,1756,2175,1905,2026,2491,2464,3170,3076,2210,2014,2133,2524,2355,2017,1929,2094,2288,2345,1972,1990,1658,1485,1939,1902,1653,2111,2730,2483,2125,2029,1998,2464,2932,3099,2264,1664,1876,2164,2383,2542,2669,3099,2563,2639,3375,2775,2238,2664,2546,1963,2014,1940,2102,2154,2530,2526,3245,3427,3572,3209,2842,2829,2745,3060,3200,2460,2398,2900,2416,2153,2027,2674,2648,2192,2270,2304,2568,2983,2855,2670,2518,2508,2640,2275,2417,2047,1968,2792,3039,3376,3241,3003,3227,3363,2913,2302,2221,3185,3120,2422,2471,2051,2097,2683,2850,2804,2766,2419,2007,1970,1887,2118,2493,2129,2209,1810,1947,2336,2343,2308,2353,2604,2840,2818,3132,3550,3607,3824,4144,4257,4085,4284,4193,3428,3255,3562,3471,3249,3214,3488,3122,2987,2735,2222,2191,2611,2375,2216,2475,2498,2525,2785,2877,2392,2689,2593,2330,2353,2285,1985,2223,2231,2116,1889,1805,2414,1725,1571,1940,1968,2192,2537,1995,1912,2119,2359,2457,2320,2517,2647,2481,2730,2812,2994,3127,3269,2883,2158,2203,2480,2480,2584,2889,3137,3408,3334,3363,3397,3729,3123,3295,2686,1928,1766,1671,1693,2100,2084,1834,2366,2920,3255,3348,3493,3404,3221,3021,3076,3459,3404,3253,2706,2118,2590,2866,2867,2689,2018,1803,1715,1520,1533,2126,2544,2276,2554,2525,2497,2665,2158,1911,1522,1331,1338,2020,2161,1867,2226,2680,2659,2208,1901,1847,1944,2214,2229,2238,2174,2475,2731,2815,3095,2787,2691,2579,2468,2318,2101,2416,3244,3197,2895,3020,3094,2959,2690,2280,2010,1900,1663,1765,1539,1747,1964,1360,2056,2624,2607,3514,4050,3416,2922,2896,2974,2755,3138,2727,2460,2684,2957,2785,3076,3359,3143,3315,3598,3330,3334,3067,3271,2590,2289,2056,1914,2463,2474,1655,1518,1699,1346,1401,1458,1571,1526,1947,1964,1784,2467,2346,2422,2459,2331,2611,2097,1962,2458,2639,2375,2242,2189,2205,2421,2272,2357,2465,2442,2831,2978,2291,1845,1827,1675,2172,2689,2432,2184,2487,2375,2105,2088,2369,3250,4105,3799,2902,2833,2638,2479,2145,1555],[2623,3173,3340,3387,3065,2207,3023,3486,3662,3481,3254,2942,2880,2647,2116,1619,1345,1285,1696,1952,1863,1958,2554,2901,2552,2137,1802,2172,2280,2618,2518,1697,1674,1794,1894,1804,1732,2090,2272,1803,2188,2880,2822,2423,2221,2433,2295,2259,2820,3043,2617,2670,2849,3066,2640,2305,2044,1712,1765,1949,1783,1718,1715,1909,2270,2741,2946,2009,1920,2191,2221,2181,2686,2834,2106,2007,2015,2230,1896,1925,2246,2946,2778,2153,1756,1980,2276,2124,2258,2308,2358,1997,1835,1839,1825,2424,2762,2905,2657,2452,2366,2154,1761,1971,2601,2755,3020,3790,3440,3370,2978,3497,3713,3754,3418,3119,3465,4042,4041,3514,3482,3799,3790,3469,3205,3189,3559,3540,3406,3496,3596,3528,3451,3463,3687,3665,3696,3855,3604,3271,3288,3276,2911,3155,3564,3210,2688,2592,2742,2829,2887,3055,3186,4205,3560,3224,3473,3741,3624,3522,3735,3051,2286,2754,3371,3646,3961,3213,2667,2724,2696,2966,2621,2255,2197,1708,1878,2054,1638,1439,1734,1930,1822,1884,1940,1879,1988,1718,1636,1578,1410,1362,1394,1981,1992,1912,1618,2061,2045,1725,2025,1825,1466,1581,1619,1646,1793,1745,1875,1947,1678,1650,1868,2076,1936,1743,1609,1557,1839,1712,1611,2198,2194,2324,1578,1678,2010,2114,1809,1697,2013,2020,1856,1769,1497,1471,1620,1810,1742,1744,1686,1575,1524,1694,1800,1484,1765,1900,1738,1547,1483,1514,2412,2575,1793,2119,2711,2404,2226,1962,1532,1823,2009,2088,1948,1670,1684,1403,1460,1548,2043,2127,1759,1960,2302,2204,1996,1870,2122,1948,2108,2086,2142,2260,1934,1594,1567,1643,1926,1976,1943,2054,1572,1960,2681,2774,2388,2293,2936,3129,2614,2035,1800,1794,1960,1813,1565,1952,1861,2204,1802,1951,1934,1941,1914,1730,1726,2035,2025,1851,1644,1905,1804,1757,1792,2157,2514,2314,2211,2320,2389,2818,3104,3252,3522,3518,3300,3223,2878,2087,1550,1924,1830,1582,1608,1910,2356,2028,1626,1614,1664,1556,1545,1572,1536,1723,2082,2295,2282,1693,1838,2041,2336,2411,2436,2295,1796,2093,2443,3098,3361,3560,3483,3696,3498,2899,3642,2803,1748,2173,2172,1713,1535,1435,1600,1716,1746,1656,1579,1612,1634,1781,1864,1633,2004,1896,1820,1850,2046,2298,2172,1820,1958,2145,1912,1936,1914,2062,2057,2292,2266,2396,2923,2909,3137,3475,3182,2751,2714,2440,2355,1750,1676,1726,1873,1786,1854,1910,1585,1559,1715,1484,1462,1488,1475,1541,1780,1552,1444,1404,2191,2583,2212,2115,2122,1836,1754,2005,2022,1735,1998,2019,2110,2545,2490,2430,2938,3119,3067,2918,2496,2398,2151,2197,2039,2475,2922,2657,2309,2447,2460,2425,2380,1872,1915,2542,2081,1728,1557,1478,1655,2014,2379,2370,1936,1549,1637,2038,2556,3036,2974,2456,2742,2573,2181,2197,2370,3017,3503,3173,2957,3484,3421,3063,2508,2039,1882,1975,2140,1783,1706,1727,1524,1494,1558,1678,1806,1736,1695,1362,1378,1565,1582,1581,1711,1774,1786,2236,2544,2235,1930,1929,2404,2523,2386,2641,2633,2767,2661,2430,2545,2630,2624,2389,2061,2201,1938,2182,2310,2599,3577,3890,3433,3539,3808,3424,2588,2203,2023,2024,2077,2250,2077,2021,1982,1939,1864,2659,3174,2262,2004,1870,1935,2137,2548,3465,2942,2567,2608,2685,2940,3365,3497,3385,3340,3521,3636,3608,3640,3119,2908,2431,2165,2527,2493,2578,2435,2002,1977,2048,1842,2631,4176,4303,3969,3547,3580,3645,2841,1978,1633,1497,1451,1541,1612,1654,1456,1720,1672,1896,1682,1861,1740,1583,1576,1605,1624,1520,1682,1853,1736,1977,2018,2095,1962,1913,2099,2115,2014,1935,1932,1778,1637,1737,2025,1972,2311,3174,3738,3938,3716,3578,3843,3953,3741,3434,3168,3217,3294,3315,4000,4277,4328,4070,4132,4352,4720,4620,4588,4889,4500,4081,3786,3565,3544,4144,4660,4385,4012,4019,3789,2594,2486,3881,4268,4372,4284,4241,4080,3739,3653,3707,3655,3538,3430,2648,2050,2111,2103,2071,1726,1636,1936,1665,1655,2192,2201,1709,1776,2263,2425,2151,1895,1907,1670,1629,1474,1746,1772,1861,1728,1759,2101,2143,2605,2530,2225,2912,3034,2931,2846,2344,1801,2215,2398,2066,2056,1849,1451,1937,2540,2047,1802,1843,1479,1430,1314,1594,1781,1962,2011,1858,1699,1680,1756,1964,2491,1851,1478,1603,2128,2359,1824,2147,2099,1536,1522,1465,1528,1487,1528,1897,1708,1495,1859,1965,1942,2011,1875,1724,1638,1583,1537,1576,1571,1806,1690,1740,1639,1626,1506,1682,2002,2166,1798,1407,1366,1442,1722,2062,1655,1578,1526,1653,2656,3307,3288,2949,2956,3054,3015,2962,3047,3038,3140,3120,3176,3089,2668,2635,3120,2659,1902,1739,1384,1832,2459,2877,2503,2142,1809,1923,1746,1455,1640,1908,1721,1570,1527,1372,1547,1464,1531,1830,1930,1519,1654,2238,2046,1733,1647,1695,1918,2229,2517,2986,2513,2431,1770,1804,2058,2128,2390,1921,1560,1459,1503,1850,1882,1694,1465,1450,1772,1880,1448,1322,1362,1376,1460,1495,1397,1337,1484,1497,1210,1126,1214,1615,2312,2183,2138,2388,2793,2888,2752,2633,2645,2673,2590,2588,2304,2351,2296,1901,1726,1802,1648,1561,1661,1742,1764,1627,1598,1556,1609,2264,2387,2601,2230,1888,1883,2044,1910,1700,1620,1611,1809,1792,1622,2100,2402,2422,2626,2515,1898,1787,2188,2311,1946,1666,2149,2402,2614,3161,3396,3239,3072,3063,2839,2789,2746,2226,1581,1283,1660,1937,1867,1625,1708,1980,2395,2430,2359,2235,2215,2049,1932,2214,2568,2723,3194,2956,2630,2546,2166,1613,1756,2352,2578,1871,1361,1437,1498,1654,1924,2000,1581,1701,1466,1425,1466,1440,1374,1316,1230,1171,1216,1206,1294,1327,1429,1310,1587,1457,1434,1928,1566,1204,1547,1694,1596,1464,1318,1358,1388,1552,1437,1610,1570,1402,1423,1489,1329,1411,1500,1394,1410,1633,1539,1387,1454,1499,1528,1664,1830,1733,1542,1545,1564,1506,1548,1612,1532,1534,2062,2190,2015,1759,1810,1926,1802,1833,2072,1809,1750,1761,1578,2372,3528,4064,3145,2374,1862,1757,2052,1958,1826,1941,2396,3176,2674,2526,2874,2678,2464,2028,2248,2474,2122,1976,2082,1895,1900,2292,2337,2675,2746,3079,2277,1665,1466,1425,1808,2432,2524,2047,1873,1396,1244,1627,1694,1536,1660,1688,1674,1955,1984,1705,1721,2434,2647,2031,2112,2152,2618,2526,2279,2215,1943,1907,1952,1952,1834,1536,1711,1720,1431,1320,1332,1280,1244,1261,1371,1426,1410,1445,1553,1652,1502,1501,1595,1817,1709,1938,2038,2232,2410,2165,2546,2743,2122,1969,2243,2274,2656,2429,2212,2534,3120,3586,3353,2194,1674,1677,1859,2143,1932,1750,2280,2291,2536,2494,2250,2263,2402,2530,2577,2386,2154,1884,1959,2470,2930,2408,1769,1772,1714,1634,1478,1292,1468,1810,1676,1509,1498,1539,1408,1229,1253,1250,1471,1567,1491,1417,1291,1259,1346,1538,1734,1848,1714,1788,1808,1961,1758,1551,1453,1408,1372,1402,1303,1318,1437,1743,1999,1775,1666,1574,2542,3010,2768,2489,2540,3003,2442,1335,1876,1858,1991,2416,1943,1594,2066,2115,2603,3672,3521,2728,2618,2250,1583,1936,1777,1667,1566,1528,1748,1621,1328,1280,1243,1277,1490,1519,1307,1376,1510,1745,1830,2235,2679,2674,2667,2474,2373,2896,3307,2949,2526,2551,2788,2321,2030,2346,2260,2364,2711,2812,2352,1944,1607,1468,1677,1694,2138,2126,1810,1620,1472,1583,1880,2055,2156,2224,2036,1829,1828,1844,2635,3220,2319,1681,1455,2202,2620,2420,1978,1801,1796,2093,1860,1614,2439,2743,2488,2384,2344,1958,1886,2192,2330,2250,1844,1625,1727,1552,1745,1789,1599,1743,1789,1626,1666,1570,1562,2094,2492,2115,2369,2167,2222,2535,3146,3200,2568,2254,2244,2240,2009,2096,2289,1941,2002,2274,1815,1819,2315,2351,2512,2887,2584,2032,1842,2372,2623,1950,1720,2213,2272,1860,2364,2666,2632,2370,2222,2570,2465,2437,2680,2383,2254,2602,2037,2414,2086,2071,2237,2637,2382,2822,3168,3156,3127,3017,3308,3173,2288,1995,2702,2230,2045,2357,2403,2566,2461,2275,2188,2416,2718,2577,2542,2260,2354,2270,2552,2403,2138,2155,2470,2945,3295,3145,2626,2330,2527,2277,1991,1985,2622,2703,2568,2378,2154,2456,2820,3018,3108,2987,2596,2340,2745,2440,2490,3065,2990,2704,2511,2762,2392,2190,2405,2562,2591,2500,2722,3276,3247,3649,4176,4256,4124,4127,4256,4348,4019,3674,3482,3729,3128,2652,3053,2907,3118,2884,2508,2469,2402,2188,2066,2369,2468,2579,2740,2611,2332,2610,2102,1952,2548,2668,2744,3367,2976,2259,1924,1858,2142,2060,2542,3034,2300,2019,2297,1992,1870,2655,3567,2823,2447,2425,2569,2769,2763,3151,3111,2709,2855,2503,2354,2425,2300,2334,2463,2595,3068,2922,2630,2800,3415,3916,3891,3558,2540,1641,1587,1889,2198,2588,2283,2121,2941,3488,3396,3221,3383,3458,3374,3271,3356,3030,2116,2491,2339,2186,2664,2866,2664,2520,2044,1647,1562,1489,1706,1749,1666,1578,1818,1918,2394,2575,2138,2042,1891,1480,1471,1649,1711,1546,1649,2376,2533,2040,1928,2207,2100,1813,2123,2078,1812,2400,2722,2873,3099,2862,2573,2376,2460,2353,2343,2557,2958,3099,2886,3054,3137,3044,3218,3173,2740,2339,2189,2123,1870,2222,2457,2288,2318,2460,2575,2963,3538,3640,3294,2960,3229,2884,3294,3089,2851,3124,2997,2914,3348,3420,3428,3532,3614,3314,3453,2928,2676,2642,2272,2007,1898,1980,1979,1775,1902,1614,1296,1453,1668,1840,1615,1658,1889,2446,2514,1555,1512,2024,1946,2419,2574,2381,2216,2130,1993,2046,2178,2487,2522,2369,2587,2766,3006,3032,3002,2669,2254,2348,2477,2885,2765,2251,2178,2277,2171,2010,2316,2729,3602,3687,3114,2324,2085,2179,2405,1959,1466],[2856,2878,3018,3058,2689,2470,3436,3637,3617,3466,3333,3342,3230,3294,3019,2219,1622,1784,1738,1897,1566,1297,1806,2254,2096,1853,1939,2163,2200,2517,2639,2017,2043,1856,1737,1645,1520,1845,1805,2009,2978,3331,3109,3019,2976,2466,2021,1866,2430,3111,2625,2175,2068,2110,2222,2077,2195,2455,2375,2611,2630,2365,1910,1736,2218,2310,2198,1810,1757,2029,1717,1752,3234,4157,3098,2449,2686,2367,1854,1829,2134,2229,2261,2372,2029,2104,2330,2235,2134,2439,2344,1883,2070,2192,2309,2331,2766,2808,2654,2830,2683,2655,2453,2686,2610,2997,3373,3748,3247,3084,3434,3562,3520,3348,2949,3030,3306,3542,3771,3710,3436,3348,3468,3361,3513,3665,3480,3274,3297,3521,3552,3198,3435,3394,3660,3685,3797,3683,3123,2887,3537,3784,3466,3593,3654,3610,3462,2575,2770,3100,3001,3376,3459,3664,3624,3833,4187,4072,3825,3946,4244,3284,2522,2740,3492,3868,4120,3436,2916,2820,2830,2917,3001,3145,3161,2489,2159,2002,1592,1521,1712,1808,1786,2009,2320,2723,2336,1858,1868,1509,1556,1535,1824,2491,2714,2209,1975,2401,2243,2097,2336,1963,1691,1833,1574,1803,1833,1511,1531,1947,2080,1885,2106,1924,1554,1475,1453,1512,1627,1618,1545,2023,2425,2263,1564,1772,1992,1782,1637,1598,1703,1676,1695,1769,1690,1642,1787,1966,1657,1526,1515,1695,1929,2145,1970,2180,3057,2068,1739,1508,1560,2073,2722,2343,2131,2407,2890,2780,2333,2190,1951,1895,2092,2050,1667,1606,1572,1602,1677,1961,2585,2544,2173,1824,2041,2012,1694,1967,2377,2202,1751,1826,1977,2135,1993,1625,1621,1694,1447,1745,2690,2917,1944,2134,2784,2774,2177,1988,2148,2228,2048,1719,1578,1571,1921,1797,1572,1792,1854,2063,1726,1489,1653,1788,1619,1531,1522,1624,1467,1569,1553,1817,1560,1595,2155,2558,2683,2810,2807,2649,2318,2214,2896,3261,3384,3418,3319,2701,2024,1705,1682,1599,1415,1598,1697,1886,2116,1790,1550,1546,1574,1645,1919,1918,1592,1905,2208,2155,2305,2087,2466,2029,1911,2087,2293,1776,1524,1771,1825,2137,2763,2898,3076,3706,3098,2247,2370,1910,1547,1857,1663,1529,1568,1509,1491,1504,1586,1452,1509,1454,1810,1765,1738,1942,2280,2345,1983,2156,2780,3386,3118,2183,1984,2186,1907,2025,2181,1977,1792,1896,2073,2368,2490,2712,3188,3430,3269,3184,2612,1946,2137,1635,1544,1904,1794,1613,1674,1728,1840,1620,1535,1513,1591,1532,1595,1645,1612,1502,1460,1498,2109,2532,2191,2126,1694,1450,1670,1712,1841,1791,1759,1985,2590,3043,2687,2835,3140,3184,2851,2676,1923,1874,2208,2474,2166,2170,2507,2264,1950,2350,2121,2241,2166,2025,2036,2175,2054,1682,1489,1535,1886,2627,2626,2031,1954,1950,2280,2457,2901,2942,3177,2966,3274,2996,2347,1948,2588,3460,3394,3230,3352,3748,3925,3741,3479,3420,2929,2302,1932,1619,1664,1692,1655,1618,1680,1657,1455,1433,1597,1521,1480,1682,1721,1815,1896,1870,2188,2646,2532,2555,2138,2139,2387,2370,2231,2327,2154,2500,3108,2931,2929,3217,3055,2250,1947,1965,2082,2371,2646,2934,3642,3871,3588,3604,3661,3264,2598,2155,2024,2011,2155,2376,2189,2054,1973,2187,2318,2759,3042,2130,2165,1882,2270,3382,3492,3772,3013,2197,1891,2106,2941,2969,2434,2357,2486,2745,2951,3436,3463,2765,2264,1965,2008,2093,1876,1618,1735,1992,2134,2047,1886,2751,3752,4041,3720,3697,4050,3938,2946,1949,1700,1489,1612,1795,1764,2044,1710,1532,1903,2364,1875,1751,1771,1575,1749,1787,1898,1882,1865,1902,1641,2103,1925,1873,2001,2085,2107,2003,1898,1801,1846,1858,1953,1891,2203,2191,2518,2950,3616,3625,3388,3287,3190,3510,3249,3115,3330,3307,3413,3674,3934,4052,4196,4340,4364,4411,4565,4597,4609,4741,4299,4208,3895,3757,3780,4027,4163,4011,4015,4047,3762,2926,2797,3913,4251,4401,4245,4043,3826,3736,3709,3681,3637,3563,3242,2430,2113,2141,2217,2057,1612,1979,1921,1844,2365,2320,1845,1616,1624,2000,2590,2186,1879,1736,1760,1682,1585,1686,1680,1643,1732,1996,2223,2379,2801,2641,2609,2889,3406,2823,2370,2160,1863,1931,2178,2182,1998,1766,2022,2141,2299,1648,1600,1892,1522,1555,1460,1811,2086,2042,1747,1541,1794,1820,1605,1662,2110,1648,1672,1754,1999,2128,2126,2377,2048,1716,1661,1510,1506,1351,1521,1654,1356,1375,1760,1969,2156,2190,2088,2025,1830,1634,1616,1709,1748,1656,1477,1574,1522,1634,1665,1571,1953,2164,1697,1399,1815,2015,2166,2191,1641,1443,1407,1767,2225,2753,3167,2541,2178,2163,2255,2208,2047,2039,1994,1907,1757,1666,1537,1912,3085,2909,1558,1870,1998,1810,1700,1718,1502,1313,1360,1676,2008,1764,1564,1773,1712,1591,1776,1963,1921,1544,1892,2088,1792,1482,1594,1806,1758,1681,1828,2308,2090,1947,1737,1778,2038,2161,1878,1955,2143,2491,2481,1880,1577,1408,1683,1758,1694,1587,1479,1687,1751,1653,1459,1374,1299,1271,1339,1476,1324,1227,1430,1389,1367,1119,1377,1874,2647,2425,1989,2005,2349,2858,2543,2387,2258,1939,2473,2620,2297,2609,2127,1509,1580,1837,1868,1780,1787,1688,1560,1576,1777,1774,1641,1857,1781,1943,2147,2070,1992,1877,1811,1687,1644,1757,1809,1825,1699,1779,1654,2046,2617,2753,2403,2225,2923,3254,2554,2193,2220,2127,2526,2620,2635,3307,3682,3293,2674,2558,2468,2286,2137,1886,1921,1794,1699,1665,1882,2412,2879,2675,2145,2084,2135,1768,1823,2113,2725,2357,2586,2383,2329,2141,1836,1480,1649,2234,1889,1567,1576,1425,1460,1532,2077,1917,1589,1777,1614,1641,2111,2280,1542,1390,1370,1272,1133,1259,1326,1273,1297,1342,1708,1582,1410,1615,1438,1211,1451,1687,1712,1449,1388,1407,1316,1205,1344,1711,1713,1505,1674,1822,1639,1564,1532,1533,1504,1732,1651,1705,1960,1841,1504,1732,1960,1443,1528,1744,1531,1518,1642,1541,1476,1333,1599,2051,2148,2013,1646,1578,1958,2134,2146,1879,1780,1909,1715,1746,2843,3410,2698,2276,1904,1667,1708,1601,1611,1958,2094,2632,2524,2225,2248,2038,2159,2535,2459,2307,2121,1935,1981,1836,1817,2040,1763,2441,2903,2736,2360,2055,2081,2178,1974,2236,2219,1785,1650,1516,1301,1354,1505,1413,1867,1921,1821,2239,1780,1566,1710,2280,2494,1693,1635,2010,2874,2935,2513,2364,2364,2108,2082,2394,2151,1691,1565,1686,1493,1541,1578,1481,1343,1307,1320,1354,1560,1510,1650,2165,2048,1731,1693,1793,1639,1957,2500,3064,3050,2191,2447,2176,1902,1983,3016,2535,2427,2288,2593,2731,2610,3055,3086,2510,2045,1682,2044,1751,1559,1425,1998,2598,2350,2174,2293,2152,2098,2399,2778,2397,2110,2405,2756,3064,3157,3008,2530,2488,2482,2040,1598,1583,1926,2179,1852,1524,1805,1692,1583,1482,1320,1252,1384,1482,1391,1365,1360,1394,1594,1775,1527,1530,1666,1653,1690,1961,2025,1865,1577,1310,1311,1390,1389,1448,1550,1803,1692,1444,1393,1648,2709,3090,2452,2312,2715,3051,2485,1499,2119,2822,2956,2108,1502,1469,1730,1974,2407,3371,3754,3208,2557,2254,1682,1933,1937,1861,1682,1648,1852,1556,1156,1263,1295,1199,1291,1267,1198,1351,1761,1903,2173,2832,3024,2845,2755,2385,2005,2334,3316,2708,2608,2719,2522,1936,1801,1970,2308,2686,2821,2562,2098,1768,1720,1995,2159,2172,2543,2021,1634,1482,1339,1522,1785,1592,1707,2047,2061,2110,2111,1969,2428,2984,2574,2091,1845,1907,2485,2463,1973,1911,1714,1855,1888,1839,2375,2690,2720,2516,2519,2076,1930,2311,2277,2022,1648,1590,1655,1497,1996,1982,1747,1601,1797,2066,2110,1893,1308,1805,2166,1671,1986,1582,2250,3471,3494,3270,3455,3101,2377,1929,2142,2601,2365,2289,2405,2199,1850,1895,2030,1830,2112,2751,2502,1831,1832,2232,2002,1923,2220,2492,2155,1542,1690,1962,2033,2290,2634,2646,2554,2918,2900,2618,2698,2258,2054,2147,1838,1652,1772,1945,1813,2012,2746,3217,3115,3188,3212,2664,2335,2441,2349,1897,2482,2576,2214,2330,2387,2342,2854,2895,2584,2302,1827,1542,1636,1807,2501,2676,2524,2418,2213,1882,2264,2610,2720,2750,2875,2642,2390,2335,2601,2480,2939,2994,2414,2338,2499,2986,3238,3307,3206,3176,3448,2799,2235,2368,2626,2586,2864,3156,2840,2503,2297,2411,2631,2457,2489,2895,3339,3708,4208,4452,4498,4520,4453,4401,4213,4095,3565,3418,3172,2940,3049,3177,3229,3117,3051,2686,2106,2150,2397,2268,2458,2325,2421,2555,2563,2364,2471,2652,2702,2923,2981,3038,3199,2735,2199,2285,1963,2819,4165,4365,3385,2322,2060,2222,1924,2120,2711,2085,2688,2729,2710,3095,2595,2579,2821,2434,2080,2386,2141,1963,2508,2841,2653,2277,2472,2498,2164,1918,2365,3344,3544,2647,1813,1587,1884,2526,2679,2474,2083,2314,3082,3383,3018,2862,3342,3206,2661,2690,2828,2099,1609,1691,1540,1675,2208,2219,2092,2257,1750,1697,1942,1565,1620,1461,1503,1468,1473,1782,2176,2170,1809,2020,1970,1697,1975,1929,1341,1344,1425,2270,2295,1878,1823,2029,1935,1741,1993,1980,2082,2457,2499,2678,2999,3395,3377,2907,2779,2519,2577,2529,2550,3098,3053,3262,3100,2905,2965,3119,3310,2945,2608,2759,2796,2597,2757,2864,2780,2789,2351,2440,3348,2975,2610,2822,2910,2897,3197,3028,2885,3229,3116,2997,3338,3486,3283,3604,3653,3519,3384,2787,2541,2501,2290,2118,1970,1875,1897,1941,1931,2140,2160,2274,1944,1315,1181,1516,2127,2921,2830,2001,2169,2460,2624,2536,2196,1710,1492,1981,2408,2375,2460,3294,3790,3186,2355,2623,3395,2877,2653,2611,2323,2233,2509,2867,2746,2389,2452,2364,1909,1636,1761,2744,3312,3507,3626,2884,2215,2071,2156,1879,1127],[2896,2857,2905,3022,2567,3120,3557,3391,3604,3462,3203,3212,3007,3177,3326,2965,1992,1901,1746,1934,1657,1530,1795,2116,2345,2084,1895,2093,2457,3090,3266,2566,2403,1843,1653,1645,2086,2792,2436,2398,2832,2966,2784,3114,3587,2692,1883,1835,2364,2603,2204,1898,1823,1846,2163,2094,1970,2535,2554,2590,2708,2420,1906,1599,1981,2124,2326,2503,2108,1839,1868,2093,2784,3940,3726,2391,2395,2211,1843,1815,2178,2302,2262,2241,2146,2438,2198,1773,1681,2204,2127,2221,2139,1787,2010,2389,2966,3156,2712,3050,3110,2677,2324,2397,1726,2314,3001,3492,3438,3356,3476,3391,3327,3320,2874,2873,3327,3220,3332,3073,2749,2775,3229,3338,3260,3572,3662,3746,3642,3736,3952,3798,3846,3846,3930,4014,4071,3838,3270,3061,3631,3814,3160,3567,3803,3768,2976,2407,2855,2968,3064,3514,3652,3707,3786,3792,4130,4264,4261,3962,3536,2642,2206,2806,3584,3918,3849,3550,3460,2930,2469,2629,3079,3098,2933,2845,2379,2023,1674,1713,1867,1526,1450,1781,2050,2828,2508,1781,1804,1653,1994,1742,2057,2386,2056,1535,1461,1927,2176,2380,2126,1599,1685,1689,1753,2428,1979,1432,1490,1720,1631,1794,1939,1703,1276,1201,1473,1570,1521,1635,1925,2637,3065,2408,1714,1599,1543,1748,2430,2019,1751,1365,1437,1820,1830,1648,1686,1594,1490,1557,1510,1637,1935,1854,1575,2089,2501,2656,2055,1769,1979,2204,2414,2376,2019,1877,2150,2333,1946,1867,2110,2114,2101,1895,1732,1831,1806,1809,1854,2099,1894,1815,2386,2093,2163,2318,2053,2386,2137,1808,1814,1746,1900,2128,2043,1785,1786,1987,1587,1721,2234,2185,1765,1636,1538,1518,1559,1529,1430,1729,1949,1815,1613,2095,2602,2307,1873,1690,1704,1693,1450,1461,1643,1699,1562,1553,1916,1946,1787,1796,1717,1670,1634,1716,2199,2888,3168,3245,3032,2432,1896,2236,3166,3343,3332,3460,2986,1950,1490,1488,1460,1448,1518,1499,1641,1893,2060,1569,1489,1474,1280,1450,1900,1874,1472,1666,2336,2372,2440,1968,2101,1799,1699,1895,1757,1577,1711,1733,1742,2121,2947,3575,3789,3645,2832,2154,1839,1669,1816,1640,1444,1444,1478,1510,1472,1685,1963,1707,1633,1764,1726,1560,1741,2234,2721,2310,1948,2370,2814,2980,3240,2031,1667,1596,1662,2479,2674,2067,1690,1818,2119,2491,2765,2623,2689,2856,2613,2677,2098,2010,2028,1559,1562,1704,1682,2041,2403,2764,2590,1714,1491,1529,1519,1561,1873,2064,1969,2026,1819,1967,2408,2137,1780,1701,1223,1438,1778,1862,2073,2044,1717,1868,2602,2476,1946,2851,2994,3105,2831,2452,1837,1842,2050,2201,2232,2212,2310,2127,1954,2619,1886,1976,2026,1881,1881,2010,1801,1590,1912,2163,2276,2209,2451,2577,2590,2391,2505,2380,2966,3212,3354,2988,2829,3082,2886,2810,3237,3476,3129,3479,3957,4172,3873,3130,3077,3789,3670,2539,1503,1470,1751,1697,1584,2064,2095,1614,1377,1658,1960,1825,1614,1725,1976,1935,2003,1997,2750,3081,2645,2519,2266,2360,2344,2266,2317,2447,2458,2679,3355,3199,2728,3144,3220,2347,2095,1933,2078,2348,2397,2456,3053,3583,3653,3395,3419,3162,2757,2143,2122,2339,2491,2316,2020,1908,2029,2463,2732,2906,2927,2462,2054,2062,2807,3684,3575,3626,2840,2319,2421,2293,2632,3265,3210,2337,1996,2623,3005,3127,2963,2341,1838,2316,2721,2619,2408,2194,2591,2706,2472,2830,2635,2883,3265,3416,3404,3715,4014,3752,3098,2511,2170,1749,1718,1849,1902,1875,1713,1590,2398,3132,2711,2070,1686,1673,1758,1952,1582,1371,1805,1914,1936,2407,2257,1901,1853,1911,2055,2035,1958,1737,1832,1776,2051,1929,2137,2370,2468,2686,2778,2808,3442,3407,3078,3037,2845,3826,4084,3879,3985,3720,3792,4040,4144,4196,4220,4311,4327,4402,4532,4516,4271,4200,4116,4141,3872,3797,3915,4013,4075,3828,3650,3885,3881,4060,4208,4218,4013,3617,3472,3637,3818,3750,3441,3474,3095,2355,2221,2177,2230,1959,1665,2131,1870,1771,2587,2493,1757,1664,1594,1957,2965,2185,1943,1780,1852,1620,1462,1668,1972,2102,2101,2176,2174,1684,1980,2214,2932,2753,2591,1982,1866,2237,2206,1885,1803,1793,2032,1938,2264,1682,1600,1427,1484,1746,1581,1735,1738,1759,2005,1772,1522,1563,1698,1836,1990,1677,1471,1679,1757,1537,1484,1483,1836,2028,1820,1763,1710,1640,1554,1510,1428,1300,1302,1559,1833,1893,2025,2364,1952,1797,1965,1904,1580,1674,1763,1461,1396,1620,1931,2016,1904,1478,1560,1850,1760,1366,1485,1586,1947,1917,1646,1767,1718,1237,1177,2033,3261,1979,1301,1171,1140,1155,1233,1304,1202,1193,1247,1362,1356,1483,2686,2937,1433,1668,1754,1588,1284,1356,1612,1539,1451,1584,1637,1580,1530,1709,2121,1665,1686,2858,2731,2122,2128,1603,1105,1378,1881,1802,1797,1683,1820,2149,1984,1670,1560,2100,2654,2329,2137,1960,1969,2447,2300,1842,1538,1509,1644,1920,1627,1383,1412,1565,1824,1641,1371,1400,1414,1413,1331,1514,1383,1382,1460,1395,1103,1091,1290,1609,2373,2642,2353,2290,2372,2613,2827,2587,2399,2108,2692,2574,2147,2258,1894,1521,1594,1956,1805,1884,1831,1748,1666,1906,2016,1866,1894,1706,1527,2068,2218,1924,1669,1889,2073,1837,1891,2429,2256,2042,1852,1699,1547,1960,2740,3073,3062,2714,3299,3371,2470,2329,1924,1537,1836,2039,2622,3338,3510,3096,2459,2127,2228,2286,2336,2177,2126,2067,1846,1586,2265,2946,2647,2271,1945,1814,1903,1887,1757,1677,1964,1853,2004,1931,1934,1858,1605,1475,1908,2799,1794,1564,1560,1620,1526,1566,1832,1686,1662,2555,3262,2878,2858,2788,1537,1295,1365,1309,1214,1339,1265,1210,1291,1346,1385,1258,1234,1211,1341,1418,1472,1801,2226,2023,1528,1353,1348,1411,1458,1357,1437,1519,2095,2872,2663,2289,1836,1648,1512,1611,1525,1560,1694,1583,1608,1833,1961,1725,1677,1892,1772,1586,1536,1459,1449,1632,2172,2255,2222,2223,1874,1870,2366,2335,2050,2082,1762,1601,1631,1664,2231,2335,2138,2392,2195,1838,1536,1520,1826,2112,2086,2404,2588,2452,2700,2720,2494,2879,2644,1956,2558,2433,1964,1753,1663,1697,1770,2791,3292,2722,2866,2651,2432,1669,1810,2841,2487,2226,2095,1940,1772,1606,1578,1823,2186,2189,1802,1954,1519,1511,1664,2128,2310,1948,2115,2777,3064,2911,2724,2584,2641,2179,1814,1936,1852,1491,1643,1901,2450,2646,2236,2001,1622,1505,1390,1778,2024,1963,2319,2565,2544,2218,1774,1692,1700,1798,2180,2546,2384,2030,2243,1991,1863,2290,3133,2756,2856,2799,2539,2512,2269,2520,2906,2812,2146,1843,1875,1565,1544,1517,1477,2270,2534,2211,2239,1934,2212,2648,3043,2545,2156,2973,3356,3287,3151,3014,2998,2744,2902,2595,1765,1824,1764,1561,1355,1401,1731,1698,1628,1465,1318,1388,1546,1677,1478,1420,1364,1393,1498,1572,1350,1317,1421,1514,1735,1884,1899,1582,1339,1303,1450,1712,1584,1554,1592,1503,1415,1503,1670,2024,3000,3388,2740,2622,2752,2988,3266,2520,2641,3139,3139,2126,1574,1862,2260,2376,2149,2946,3631,3288,2842,2543,1917,1960,2187,1970,1688,1566,1509,1542,1398,1334,1370,1284,1373,1444,1626,1945,2095,2314,2610,2741,2818,2968,3191,2820,2010,1799,2517,2471,2250,2123,1895,1696,1797,2166,2464,2757,2854,2742,2354,1918,1790,1925,2776,3028,2858,1714,1404,2036,1946,1779,1880,1979,2150,1735,1652,1910,2051,1827,1747,2056,2039,2093,2022,1705,1927,1902,2038,2078,1842,1802,1988,2022,1840,1869,2119,2229,2200,1862,1553,1740,2104,1971,1996,1788,2024,2088,2272,2120,1862,1983,2254,2142,2214,2334,1796,2143,1961,2020,1908,1746,2025,3029,3009,3258,4024,3366,2105,1937,2589,3012,2138,2236,2652,2317,1744,1365,1737,1873,2106,2570,1974,1594,2026,2568,2152,2020,2110,2099,1967,2029,2413,2570,2265,2192,2536,2435,2394,2913,2902,2775,2426,1966,2242,2388,2125,1734,1686,1826,1763,1886,2202,2496,2690,2884,2987,2814,2953,2676,1811,1816,2429,2335,1966,1743,2024,2464,2888,2890,2668,2339,2127,1671,1382,1570,1913,2323,2333,2420,2148,1470,1507,2161,2676,2925,3122,3085,3044,2977,2743,2757,3232,3118,2610,1981,2030,2636,2947,2728,2555,3056,3025,2237,2043,2126,1941,2365,2490,2842,2898,2543,2275,2686,2671,2421,2348,2689,3366,4025,4391,4410,4392,4375,4472,4521,4372,4111,4070,3460,3166,3266,3604,3528,3250,2965,2380,2398,2159,1926,2418,2427,2633,2439,2709,2728,2378,2389,2787,3194,3139,3461,2895,2171,2426,2711,2784,2998,2688,3526,4465,4444,3948,3145,2405,2407,2095,2113,2670,2337,2814,2878,3059,3411,2769,2264,2209,1684,1776,2609,2188,2076,2695,2829,2964,2353,2226,2172,1795,1710,2016,2909,2692,2031,2094,2253,2265,2370,2499,2152,2004,2752,3330,3111,2661,2776,3221,3120,2777,2330,2033,1650,1677,1499,1495,1682,1816,1743,2051,1996,1396,1613,2020,1691,1476,1456,1493,1823,2019,1837,1969,1935,1731,1780,1995,2120,2409,2036,1931,2036,1919,2727,2510,1837,1809,1637,1856,2126,2153,1903,2226,2438,2658,2922,3527,3848,3949,3978,3624,2893,2490,2888,3262,3510,3392,3178,3030,2977,2923,3386,3658,3096,2600,2966,3310,3187,3300,3493,3355,3068,2611,2883,3495,3034,2719,2819,2601,2367,2551,2504,2193,2934,2985,2841,3042,3397,3427,3613,3593,3557,3402,2878,2546,2480,2363,2201,2101,2037,1982,1909,1936,2106,2160,2216,2171,2097,2091,2241,2898,3540,3104,2482,2613,2703,2481,1947,1429,1034,1109,1586,2124,2380,2532,3562,4472,4100,2843,2813,3312,3023,2244,2505,2825,2309,2016,2213,2405,2287,3053,2990,2802,2547,2552,2899,3117,3688,4049,3010,2024,1829,1753,1688,1049],[3222,3311,3548,2990,2856,3548,3885,3572,3256,3147,2622,2726,3021,3179,3458,3522,2474,1830,2084,2068,1669,1872,2232,2556,2911,2782,2545,2665,2999,3331,3388,3119,2468,1824,1831,1707,2444,3450,2965,2455,2227,2518,3348,3373,3838,3233,2154,2068,2229,2808,2752,1993,1844,1728,2075,2193,2065,2337,2607,2644,2717,2136,1587,1577,1809,1790,1990,2698,2515,2259,2443,2458,2377,2828,2535,1715,1771,1780,1820,2140,2238,2285,2042,1808,1899,2252,2258,1926,1516,1732,1731,1874,1943,1960,2285,2682,2999,3276,2676,2901,3360,2819,2402,2131,2136,2634,3106,3145,2750,2739,3087,3242,3642,3608,2989,2614,3129,3222,3055,2838,2612,2973,3773,3791,3208,3609,3728,3448,3632,3897,3884,3713,3653,3343,3559,4157,3994,3961,3760,3536,3528,3310,2381,2842,3104,2735,2265,2540,2820,2895,3091,3628,4020,3784,3652,3674,3608,3601,3674,3884,3043,2438,2991,3750,3936,4090,3907,3623,3500,3367,2836,2618,2883,3101,3375,2942,2735,3034,2630,1865,2017,2489,2626,1925,1711,2099,1721,1730,1991,2122,1903,1649,2175,2104,1676,1466,1532,1616,1792,1936,2174,2017,2322,2112,2061,2558,2016,1401,1802,2018,1773,1919,1682,2205,3064,2365,1846,1562,1582,1934,2491,2964,2616,2214,2080,1776,1594,2063,3157,2493,2004,1659,1544,1589,1527,1417,1613,1782,1627,1488,1444,1326,1829,1854,1725,1736,1724,1765,1943,1903,1832,1844,1926,2324,2204,1996,1864,2096,1642,1585,1908,2066,1816,1613,1701,1631,1625,1677,1777,1810,1845,2060,2496,2092,2082,2504,2481,2511,1991,2141,2658,2466,2407,2050,2074,1952,1842,2195,1646,1506,1583,1381,1672,1755,1482,1559,1906,2460,2308,2295,2568,2292,1654,2231,2852,3019,3238,2698,2493,2558,1878,1475,1832,1742,1682,1534,1748,1872,2379,2257,1679,1719,1824,1987,2889,3798,3778,3354,3234,2571,2114,2894,3507,3409,3142,2460,1743,1518,1588,1577,1626,1561,1593,1527,1604,1677,1525,1404,1638,1696,1463,1455,1676,1931,1788,1765,2265,2352,2371,2092,1649,1615,1960,1990,1637,1682,1975,1741,1743,1836,2353,2924,3465,3574,2789,2200,1871,1651,1606,1468,1444,1457,1632,1485,1465,1567,1602,1496,1478,1618,1686,1754,1845,2020,2047,1952,1645,1746,2208,2249,2287,1835,1657,1634,1677,1972,2351,2175,2250,2447,2338,2510,2490,2639,3031,2595,2310,2414,2297,2271,1879,1498,1569,1832,2268,2861,2877,2658,2291,1494,1482,1673,1659,1531,1871,2254,1912,1931,1964,1972,2005,1786,1715,2046,1813,1522,1787,1956,2197,2049,1654,1580,2098,2206,2636,3311,3306,3270,2950,2320,2232,2106,1661,1753,1873,1934,2092,2417,2352,2317,2298,2437,2244,1866,1930,2066,1707,1728,2175,2588,2291,2185,2988,3081,2918,2451,1979,2186,2668,2996,3082,2690,2646,2891,3079,3563,3772,4014,3422,3484,3698,3507,2898,2258,2704,3875,3692,2668,1543,1794,1759,1348,1245,1873,1892,1617,1525,1584,1799,1864,1536,1733,1921,1872,2102,2096,2921,3054,2787,2443,2132,2167,2281,2338,2285,2112,2136,2278,2732,2771,2468,2846,2973,2644,2345,2070,2046,2008,1947,2228,3001,2868,3071,2910,3319,3366,2818,2143,2129,2702,2862,2342,1904,1980,2105,2426,2415,3120,3331,3145,2468,2260,2733,3470,4007,3694,2540,2297,2265,1981,1987,2535,2908,2768,2505,3171,3632,3044,2802,2788,2617,3204,2856,2998,2698,2384,2700,2871,3051,3292,3228,3617,3574,3265,3392,3625,3723,3514,2780,2150,2135,2137,1816,1576,1603,1630,1650,1825,2254,2534,2581,1858,1579,1725,1736,2120,1698,1707,1811,1654,1949,2477,2239,1723,1718,1904,1987,1959,2078,1916,1842,1910,1952,1753,1933,2285,2481,2468,2557,2600,3454,3740,3480,3631,3754,4057,4189,4104,4145,4198,4073,4085,4345,4451,4384,4161,3754,3933,3940,4089,4179,4062,4105,3868,3503,3494,3688,4165,4520,4188,3864,4133,4309,4196,4071,3942,3742,3661,3417,3530,3898,4039,3929,3598,2789,2142,2085,2143,2113,1715,1547,1876,1709,1689,2101,1871,1685,1749,1843,1981,2172,1871,1707,1762,1692,1462,1448,1571,2007,2225,1956,2045,1939,1559,1870,1541,2058,2066,1782,1558,1635,1909,1889,1641,1643,2184,2546,2264,1906,1694,1640,1596,1738,1826,1976,2204,1954,1865,1809,1408,1618,1895,2148,2500,2032,1561,1681,1890,1804,1528,1448,1492,1446,1475,1501,1475,1484,1454,1438,1771,1736,1358,1440,1648,1650,1683,1779,1837,1522,1504,1654,2000,1929,1747,1540,1519,1627,2366,2921,2339,1931,1527,1592,1726,1586,1528,1853,1940,1942,2074,2151,2389,2277,1694,2145,2675,3131,2236,1949,1988,2032,1983,1930,1920,2027,2183,2114,1980,2042,2132,2647,2445,1615,1654,1786,1854,1810,2094,2218,1958,1577,1350,1296,1495,1421,1526,2323,1953,1969,3044,3235,2925,2327,1612,1319,1539,1830,1875,2212,2018,1944,1896,1872,1663,1853,2396,2395,2194,2589,2945,3006,3061,2429,2330,2287,2448,2250,2591,2000,1641,1659,1599,1786,1882,1548,1468,1574,1523,1318,1400,1516,1428,1493,1484,1385,1438,1522,1946,2430,2702,2688,2446,2279,2709,3190,2634,2664,2614,2301,2008,1817,1793,1608,1422,1512,2105,1825,1976,2009,1891,1848,1837,1917,1926,1838,1678,1849,2101,1986,1914,1931,2304,2171,2018,2104,2317,2373,2211,1887,1702,1732,2125,2763,2989,3019,2532,2818,2729,2009,1994,1979,1832,2248,2551,2553,2551,2285,1891,1655,1913,2172,2016,2121,1896,1956,2062,1676,1687,2398,2485,2135,1929,1974,1711,1754,1898,1833,1602,1365,1462,1685,1598,1581,1646,1699,1645,1632,2461,1627,1374,1484,1691,1673,1778,1876,1924,2378,3870,4528,4112,2595,1409,1313,1372,1371,1319,1242,1243,1218,1249,1242,1256,1350,1327,1172,1231,1314,1370,1352,1741,2170,1976,1374,1338,1477,1551,1664,1489,1571,1539,1740,2159,2129,2152,1688,1505,1617,1829,1696,1451,1466,1769,2073,1636,1542,1914,1780,2178,2023,1699,1603,1430,1440,1897,2208,2104,2328,2413,2399,2301,2192,2149,1954,1699,1548,1523,1712,1887,2113,2177,2729,2681,2315,1738,1731,1711,2296,2449,2102,2272,2512,2388,2649,2492,2388,2521,2430,1887,2644,2531,1837,1569,1550,1561,1846,2822,3100,2395,2751,2307,1982,1514,1897,2431,2001,1994,2066,2061,2261,2010,2226,2669,2254,2073,1817,1813,1553,1506,1671,1729,1949,2362,2641,2544,2578,2874,3020,2609,2107,1824,1782,1504,1560,1645,1471,1517,1993,2018,1892,2098,1936,1799,1931,2443,2159,2216,2359,2353,2234,2008,1835,1664,1725,1947,2380,2710,2318,1871,1853,2020,2024,2592,2886,2751,2618,2430,2229,2139,1924,1734,1916,2103,1934,1953,1819,1632,1577,1605,1547,1902,2236,2214,1605,1317,2744,3231,2988,2092,1913,2791,3083,3209,2821,2420,2813,2322,2197,2113,1742,1711,1456,1640,1798,1561,1427,1541,1564,1274,1308,1403,1296,1451,1638,1584,1549,1483,1565,1758,1659,1675,1720,1656,1804,1832,1852,1666,1456,1866,2166,2205,2077,2316,2731,2800,2474,2282,2378,2369,3105,3641,3403,3287,3176,3124,3504,3209,2589,2797,2802,2069,1848,2036,2294,2447,2065,2468,3458,3663,3044,2554,2096,1947,2127,2045,1804,1667,1587,1726,1665,1592,1483,1384,1612,1790,1699,1817,2521,3126,3191,3300,3295,2915,3185,3442,3141,2539,2620,2216,1610,1890,2357,2500,2536,3062,2408,2460,2855,2670,1961,1961,1711,1564,2488,3155,2492,1161,1367,2815,2832,2294,2477,2519,2330,1853,2080,2124,1765,1616,1619,1627,1751,1958,2255,2193,2217,1947,2348,2103,2045,1990,1882,1765,1776,2135,2334,2224,2015,1604,1393,1452,1874,2013,2040,1840,2333,2642,2644,2472,2126,2461,2715,2279,2779,3006,2500,2502,2011,1657,1668,2034,2057,2329,2745,2877,3243,2607,1939,1900,2572,2820,2081,2074,2238,2018,1468,1476,2042,1883,1722,1914,1756,2103,2011,1946,1847,2469,2623,2210,2037,2438,3002,2766,2013,2264,2708,2197,2225,2215,2666,2732,2471,2466,2287,2292,1942,1242,1765,2279,2358,2206,2273,2155,2049,2444,2789,3063,2946,1952,1344,1430,1813,2214,2060,1949,2366,2769,3047,2866,2865,2568,2301,2084,2001,1785,1720,2247,2273,2003,1963,1885,1830,2251,2568,2890,2732,2591,2899,2957,2808,2644,2879,2733,2432,2237,2191,2038,2064,2225,2404,2640,2629,2429,2823,2751,2151,2145,1931,2241,2253,2297,2460,2501,2330,2285,2323,2700,3605,4256,4212,4360,4176,4195,4400,4573,4529,4328,4249,4000,3510,3238,3671,3429,3116,2574,2342,2280,2124,2324,2890,2950,2745,2470,2431,2153,2091,2487,2541,2932,3075,3175,3093,2873,2574,2265,2480,3089,3769,4019,4064,4079,3588,3074,2320,2079,2007,2080,2326,2644,3319,2996,2525,2981,3085,2667,2328,1715,1822,2730,2353,2226,2987,3183,2768,2320,2186,1926,1692,1815,2208,2613,2918,2364,2105,2275,2050,2071,2445,2428,2596,2908,2853,2709,2576,2677,2964,3206,3444,3344,2578,2025,1831,1591,1437,1475,1262,1309,1649,1585,1359,1443,1628,1443,1397,1409,1428,1810,1890,1598,1712,1984,2213,1856,2133,2365,2285,1966,2291,2235,1858,1906,1552,1635,2393,2300,2580,2330,2082,2017,2137,2609,2990,3199,3480,3683,3826,4052,4075,3397,2773,3707,4133,4043,3500,3162,3087,2910,3108,3255,3112,3137,3204,3605,3450,3138,3238,3620,3858,3850,3475,3484,3255,3081,3223,2765,2633,2404,2337,1905,1614,2692,3056,2757,2802,3195,3562,3566,3059,3048,3398,2937,2462,2367,2416,2345,2278,2226,2188,2110,2070,2209,2286,2168,2231,2279,2309,2272,2459,2623,2465,2274,2702,2646,1854,1283,857,982,1411,1458,2014,2265,1540,1895,3181,3094,2450,3037,3684,3120,2346,2530,2751,2124,2025,2025,2068,1881,2227,2669,2830,2321,2681,3034,3175,3607,3221,2385,2103,1926,2076,2345,2013],[3391,3570,3140,2888,3168,3632,3940,3304,2544,2950,2680,2864,2945,3291,3604,3610,2618,2428,2458,1717,1720,2196,2281,2277,2529,3019,3163,3072,3603,3476,2896,2583,2385,2016,1527,1668,2241,2843,2697,2636,2178,2783,3715,3269,3632,3841,3248,2242,2072,3091,3291,2192,1644,1886,2639,2502,2194,2412,2973,2916,2554,2006,1562,1629,1706,1691,2014,2504,2607,2532,2325,2248,2209,2544,2449,2067,1948,1845,2154,2740,2468,2076,1866,1823,2527,2295,2420,2619,2288,2286,2168,1730,1873,2359,2543,2791,2545,2809,2646,2875,3042,3134,2713,2295,2796,3162,3273,3062,2696,2669,2954,3218,3717,3890,3545,3074,3154,3118,3168,3366,3104,3334,3860,3952,3338,3459,3676,3572,3633,3741,3740,3786,3588,3107,3414,4069,3902,3754,3442,3409,3440,3450,3053,2842,2776,2517,2567,2589,2383,2678,3146,3767,3867,3530,3517,3513,3316,3263,3448,3598,3288,3255,3554,3513,3870,4096,3308,3057,3353,2979,2776,2711,2836,3195,3068,2931,3162,3266,3056,2503,2392,3207,3154,1900,1826,1750,1412,1818,2518,2691,2018,1576,1812,1858,1756,1483,1392,1494,1795,1713,1912,2088,2459,2520,2447,2376,1618,1471,1861,2351,2209,2098,1767,2353,3720,3150,1791,1389,1753,2420,2842,2636,2091,2060,1606,1760,1608,1642,1883,1622,1849,1920,1659,1578,1489,1405,1582,1698,1863,1577,1422,1664,1979,1958,2038,2213,1959,1778,1963,1909,1914,2311,2363,2706,2114,2061,2021,1792,1582,1704,1947,1857,1492,1469,1668,1759,1736,1616,1549,1641,1944,2143,2230,1602,1733,1929,2031,2105,1594,2182,2740,2706,2436,1733,1555,1450,1875,2366,1947,1960,1926,1476,1730,1815,1490,1637,1811,2276,2409,2597,2530,2519,2728,2605,1980,2592,3498,2883,3265,3326,2474,2019,2045,1896,1547,1559,1664,1708,2278,2281,1640,1747,2241,2441,3487,3708,3586,3396,3356,3309,3182,3255,3399,3097,2272,1710,1578,1517,1694,1644,1617,1615,1733,1591,1393,1575,1602,1446,1588,1582,1552,1578,1694,1866,2156,2018,1762,1731,2046,2004,1688,1629,1697,1820,1881,1573,1699,1712,1615,1450,1739,2154,2568,2624,2269,2055,1857,1832,1562,1493,1500,1524,1731,1547,1666,1747,1600,1617,1780,1839,1770,1974,2043,1830,1704,1905,1647,1934,1998,1870,1584,1547,1622,1710,1804,1775,2158,2109,2290,2430,2544,2840,2490,2212,2570,2459,2170,2279,2260,2085,1879,1748,1818,2214,2135,2366,2534,2758,2317,1505,1569,1717,1588,1422,1672,2021,1626,1887,2096,1708,1754,2560,2586,3207,3029,1974,1786,1718,1978,1687,1398,1415,2008,2187,2511,3008,2994,2883,2455,2216,2474,2322,1847,1890,2132,1805,1862,1884,1875,2227,2576,2642,2236,2009,2018,1977,2090,2301,2327,2487,1981,2706,3089,2449,2473,2504,2331,2426,2287,2231,2684,2559,2564,3108,3242,3192,3377,3836,3622,3469,3515,2679,1800,1700,2208,3277,3167,2452,1656,1948,1792,1483,1410,1439,1378,1525,1635,1451,1610,1736,1496,1719,1937,1925,2014,2097,2420,2353,2290,2209,2018,2110,2366,2213,2083,1853,1642,1683,1874,1914,1780,2173,2644,2889,2994,2844,2243,2001,2049,2163,2518,2625,2578,2873,3372,3128,2458,2050,2085,2385,2495,2281,1901,1894,2002,2434,2612,3183,2834,2586,2614,2509,2680,3339,3836,3265,2237,2141,1952,1893,2248,2554,2480,2808,2846,2983,3372,2689,2836,3536,3630,3160,2433,2317,2416,2834,3177,3302,3491,3341,3426,3799,3576,3451,3398,3463,3552,3385,2674,2277,2025,1761,1734,1670,1693,1823,1939,1967,2208,1626,1696,1455,1675,1846,2004,1886,1834,2004,1841,1794,2183,2137,1800,1928,2020,1907,1792,1918,2054,2066,1900,1795,1788,1760,1842,2107,2310,2168,2575,2548,3317,3780,3343,3262,3786,3935,3620,3747,3794,3955,4162,4110,4300,4517,4368,3660,3422,4081,4273,4212,4090,3991,3956,3756,3615,3796,3962,4295,4615,4488,4307,4295,4620,4196,3727,3631,3796,4122,3699,3473,3863,4147,4228,3418,2373,1999,2012,2017,2016,1881,1883,1821,1596,1672,1870,1999,1716,1609,1721,1820,2077,1947,1570,1491,1489,1663,1688,1686,2172,1959,1864,2081,1797,1687,1685,1533,1648,1825,1820,1626,1936,1944,1610,1665,1842,2876,3104,2486,1700,1721,2059,2003,1790,1864,2078,1730,1580,1610,1437,1455,1650,2006,2526,2398,1624,1650,1888,1654,1562,1440,1394,1550,1470,1483,1482,1589,1523,1413,1744,2270,2255,1846,1655,1707,1477,1930,1813,1588,1489,1521,1554,1720,1972,2009,1810,1797,2111,2751,2275,1934,1696,1591,1740,1723,1556,1569,1893,2040,1806,2052,2232,2076,2083,2168,2209,2029,2012,2116,2282,2164,1848,1802,1835,1918,1914,1745,1651,1724,1851,1760,1708,1878,2223,2061,1779,1668,1708,1803,1772,1748,1748,1081,995,1386,1650,1582,2196,2105,2128,2596,2504,2247,2021,1844,1378,1571,2444,2810,2643,2272,1918,1966,2217,2389,2884,3152,2744,2247,2653,2997,2886,2658,2706,2752,2856,2658,2643,2621,2387,1953,1546,1382,1470,1654,1741,1554,1574,1490,1534,1792,1885,1528,1481,1441,1316,1494,1734,1963,2136,2285,2105,2101,2280,2934,2857,2479,2554,2002,1755,1852,1818,1795,1761,1667,1714,1694,1533,1658,1826,1772,1684,1760,1926,1934,1676,1564,1764,1787,1990,1923,1734,1946,2392,2671,2652,2262,1952,2186,2188,2496,2500,2715,2944,2532,2148,2132,2154,1993,1867,2221,2451,2548,2975,2899,2556,2485,2104,1898,2293,3010,2540,1856,2008,1963,1950,1938,1803,2728,2990,2487,2613,2518,2491,1922,1621,1560,1749,1786,1640,1735,1912,1851,1855,1839,1859,1585,1482,1539,1630,1527,1413,1495,1779,2094,2545,3141,3789,4658,4647,4615,3746,2249,1598,1610,1529,1252,1184,1269,1264,1332,1377,1393,1670,1495,1252,1288,1262,1311,1432,1425,1484,1439,1426,1424,1466,1765,1560,1478,1428,1546,1404,1375,1458,1513,1579,1601,1617,1685,1636,1541,1919,2513,2102,1509,1374,1489,1464,1782,1762,1580,1513,1421,1448,2021,2526,2373,2388,2823,2978,3217,2624,2119,1823,1922,2346,1868,1720,1663,2120,2360,2433,2231,2026,2062,1781,1730,2153,2226,2125,2009,1937,1907,2450,2341,2120,2656,2407,2039,2808,2652,1793,1302,1399,1719,2162,3357,3150,2600,2788,2733,2634,2429,2535,2154,1692,1805,2106,2248,2326,1671,1798,2526,1950,1493,1367,1575,1534,1409,1496,1584,1697,1877,2457,2567,2460,2552,2556,2018,1640,1649,1726,1448,1638,1833,1616,1571,1884,2398,1882,2020,2128,1831,2134,2447,2336,2304,2217,2076,1874,1815,1916,1666,1707,2175,2504,2544,1998,1493,1544,1697,2216,2617,2553,2272,1890,1791,1650,1574,1646,1495,1560,1557,1966,2123,1772,1564,1405,1631,2091,1893,1867,1737,1511,1748,2502,2719,2311,1800,2142,2565,2352,2409,2522,1824,1787,1803,1746,1541,1483,1465,1478,1599,1487,1384,1479,1449,1295,1309,1500,1389,1208,1770,1788,1561,1472,1293,1516,1828,1746,1648,1543,1416,1786,1903,1920,1794,1776,2808,3749,3659,3373,3384,3221,2794,2543,2317,2084,2316,2988,3758,3993,3870,3673,3607,3540,2798,1971,1693,1802,2010,1958,2280,2608,2590,2172,2226,3298,3891,3028,2268,2227,1976,2172,2127,1868,1650,1550,1776,1790,1830,1710,1729,1897,1866,1769,2007,2601,3198,3430,3471,3218,3123,3033,3055,3385,2877,2539,2104,1815,2484,2900,2518,2763,2734,2008,2219,2404,2091,1895,1780,1506,1531,2250,2818,2212,1024,1555,2850,2700,2554,2500,2552,2282,2012,2584,2693,1991,1685,1708,1585,1579,1589,2024,2289,1924,1902,1931,1584,1828,1895,2003,2257,2703,2832,2396,2065,1698,1445,1410,1423,1608,2066,2359,2043,2098,2500,2590,2477,2082,2226,2558,2941,3834,3386,2598,2193,1850,1955,2248,2230,1908,1815,2018,2283,2732,2176,1958,2354,2461,2363,2378,2714,2665,1963,1422,1353,1896,1923,1907,2256,1885,1990,1737,1601,2137,3247,3639,3310,2790,2193,2326,2364,2698,3210,2736,2166,2364,2279,2562,2788,2779,2632,2577,2385,1691,1714,2391,2780,2478,1807,1917,1924,1742,2064,2563,2592,1902,1372,2018,2238,1840,1859,2220,2308,2601,2495,2900,3201,3089,2970,2832,2667,2623,2330,2028,2101,2365,2047,2064,2123,2093,2386,2430,2209,2317,2585,2806,2997,2408,2377,2134,2370,2763,2708,2353,1990,1812,2264,2718,2847,2446,2210,2291,2389,2143,1984,1801,1916,2120,2410,2567,2528,2414,2404,2323,2541,3241,3751,4070,4219,4000,4074,3984,4167,4492,4279,3901,3629,3608,3322,3408,3607,3293,2430,2044,1971,2389,2934,2988,2942,2724,2416,2295,1865,2464,2678,2699,3183,3278,2807,3225,3456,3465,3022,2409,2995,3897,3541,3604,3482,3035,2657,2332,2223,2040,1925,2091,2896,3661,2421,2302,2857,2776,2285,2401,2437,2084,2857,2898,2543,2820,2653,2146,2233,2186,1964,1946,2164,2600,2701,2829,2435,2254,2510,2190,2044,2284,2064,2579,2968,2180,2193,2590,2895,2980,3347,3465,3288,2743,2038,1971,1794,1562,1703,1516,1481,1670,1563,1464,1438,1538,1588,1522,1361,1350,1548,1758,1464,1784,2215,2093,2140,2270,2385,2260,2416,2658,2633,2383,1730,1181,2126,2692,2216,2160,2258,2489,2365,2471,2855,2899,3001,3072,3411,3364,3572,3943,3952,3673,3573,3653,3949,3748,3603,3287,3137,3211,2541,2087,3130,3641,3785,3266,3198,3146,3584,3798,3960,3968,3818,3584,3498,3316,2941,2898,2829,2468,1975,1775,2297,3045,3339,3244,3256,3449,3406,2699,2351,2749,2819,2410,2193,2208,2226,2392,2357,2219,2348,2496,2408,2443,2281,2432,2476,2365,2055,2106,2820,2765,2295,2490,1942,1311,1384,1244,1128,1250,919,1682,1683,1040,1653,2283,1588,1387,2495,3182,2966,2833,2612,2642,2511,2690,2680,2364,2168,2634,2975,2600,2419,2740,2523,2567,3142,2656,1824,2210,2303,2270,2223,2134],[3913,3364,2843,3164,3283,3331,3484,3183,2670,2525,2702,2809,3015,3323,3529,3439,2819,2798,3022,2290,2308,2332,2338,1995,2224,2980,3017,2728,2678,2746,2668,2259,2276,2176,1504,1698,2484,2761,3093,3074,2964,3434,3334,3028,3563,4276,3961,2268,1712,2303,2398,1880,1632,2534,3188,3020,2803,2763,2852,2944,2979,2405,1707,1790,1558,1706,1870,2018,2152,2185,1987,2093,2683,2951,2585,2456,2825,2343,2450,2645,2797,2376,2109,2198,2674,2387,2238,2669,2902,2982,2569,1791,1996,2484,2736,2865,2655,2828,2758,2770,2667,2963,3366,3765,3571,3318,3215,2951,2686,2764,2780,3169,3552,3780,3740,3401,3265,3174,3175,3530,3334,3299,3745,3955,3480,3572,3739,3496,3443,3689,3821,3946,4015,4027,3811,3780,3619,3631,3696,3638,3088,3494,3586,3020,2947,2751,2744,2732,2840,3260,3539,3821,3742,3560,3475,3532,3378,3097,3029,3273,3451,3378,2937,2682,2895,3047,2569,2576,3420,3399,3237,3245,3024,2853,2776,3134,3377,2589,2648,2876,2844,3349,2790,2207,2239,1992,1655,2031,2679,2603,1998,1836,1512,1540,1520,1452,1489,1533,1610,1537,1689,1889,2146,2304,2496,2084,1537,1951,2183,2441,2470,2069,1819,2531,3432,2783,1599,1466,1840,2428,2281,2250,1874,1980,2198,2339,2028,1770,1505,1559,1942,1849,1603,1766,1564,1483,1572,1548,1867,1730,1665,1904,2182,2101,2481,2901,2292,1694,1820,1922,1884,1935,1811,2135,2014,2022,1970,1793,1664,1826,1910,1831,1675,1565,1594,1773,1667,1451,1375,1935,2336,2602,2105,1547,1718,1704,1542,1698,2008,2864,2331,2399,2421,2236,1838,1639,2146,2178,1754,1841,1998,1653,1930,1891,1889,1936,1668,1787,1942,2109,2408,2650,2901,2823,2039,1961,3300,3728,3481,2916,2679,2573,2492,1985,1499,1555,1460,1327,1974,2008,1872,2513,3144,2664,2571,2078,2270,2755,3176,3760,3693,3328,3109,2263,1700,1864,1563,1500,1657,1489,1430,1658,1843,1643,1524,1599,1631,1644,1575,1494,1562,1587,1702,1983,1964,1518,1539,1963,2221,2097,1876,1666,1600,1797,1953,1680,1614,1613,1573,1573,2039,2554,2233,1837,1823,1792,1498,1742,1668,1515,1453,1589,1859,1680,1588,1699,1754,1853,1958,1864,1620,1799,1591,1532,1706,1918,1739,1615,1691,1692,1548,1483,1683,1669,1712,1561,1614,1762,1775,1859,2286,2871,2947,2675,2823,2635,1994,1744,1842,1996,2154,2087,2203,2208,1911,1806,1975,2338,2120,1718,1911,1850,1546,1581,1777,2134,2085,2621,2847,1919,1788,1978,2144,3173,3528,2100,1736,1673,1721,1687,1517,1337,1898,2210,2275,2581,2883,2604,2448,2478,2300,2251,2142,2161,2291,1935,1899,1591,1579,1719,1909,2284,2183,1946,1652,1793,2029,1952,1881,2355,1982,2539,2611,1846,1890,2201,1920,2133,2201,1940,2975,3453,2916,2966,2874,2820,2946,3312,3327,3218,3488,2808,1663,1584,1754,2089,2111,1873,1660,1795,1694,1556,1562,1468,1421,1604,1600,1500,1517,1513,1495,1681,2339,2368,2092,2047,2104,2090,2065,1987,1976,2072,2340,2412,2855,2705,2014,1709,1841,1839,1854,2265,2834,3222,3339,3303,2488,2253,2110,2087,2062,2495,2381,2442,2792,2651,2119,1910,1976,2198,2017,1948,2089,2008,2178,2407,3007,3065,2270,2039,2066,2275,2525,3131,3145,2764,2581,2229,2080,2080,2485,3272,3570,3693,3377,2872,2495,1835,2392,3576,4021,3405,2387,1835,1912,2593,3188,3641,3791,3660,3893,4029,3697,3916,3637,3543,3540,3139,2700,2964,3008,2490,1995,1709,1772,1992,2264,2521,2963,2684,2119,1958,2453,2336,2088,1928,2127,2272,2227,2080,2375,1937,1936,2285,2703,2440,1859,1701,1849,1970,2106,2147,2047,1904,2064,1959,1729,1564,2110,2312,3165,3927,3771,3425,3754,3815,3060,3054,3675,3937,4267,4035,4143,4084,3346,3092,3774,4319,4474,4344,4208,4152,4141,4257,4049,3903,4289,4669,4676,4617,4468,4474,4427,3806,3739,3907,4012,3779,3769,3629,4265,4454,4047,2940,2099,2064,2078,1979,2032,1691,1527,1636,1571,1951,2267,1805,1569,1458,1458,1527,1570,1600,1583,1541,1500,1650,1726,1991,2168,2082,1866,1995,1894,1770,1783,1613,1590,1560,1570,1640,2059,1799,1578,1659,1963,2337,2346,2086,1708,1887,2188,1781,1464,1555,1701,1618,1279,1322,1503,1690,1795,2014,2081,1857,1612,1511,1533,1513,1405,1613,1647,1520,1571,1678,1859,1912,1601,1416,1609,1786,2150,1896,1528,1469,1427,1721,1918,1889,1569,1510,1554,1597,1833,2027,1887,1992,2280,2358,2043,1786,1588,1706,1741,1573,1677,1692,1933,2443,2264,1559,1426,1365,1411,1327,1217,1200,1732,2303,2611,2333,1271,1300,1204,1087,1030,1071,1163,1134,1020,958,1070,1644,1962,1764,1866,1653,1577,1551,1541,2301,2383,1701,1451,1676,1914,1873,2059,1980,1709,1740,1648,1693,1697,2049,1593,1600,2699,2966,2155,1713,1644,1985,2631,2800,3003,2709,2213,2086,2391,2793,2867,2710,2844,2555,2308,2928,3243,2565,2365,1973,1902,1233,1015,1459,1824,1420,1305,1488,1403,1618,1913,1774,1795,1743,1370,1665,2050,1906,2182,2509,2188,2318,2364,2388,2354,2375,2347,1787,1836,1994,2309,2088,1983,1881,1782,1526,1418,1569,1803,1840,1785,1997,1888,1842,1603,1439,1437,1797,2058,2052,2137,2118,2286,2820,2690,2336,2455,2520,2267,2352,2532,2713,2428,1790,1646,1932,2188,2001,1915,1932,2238,2606,2555,2501,2670,2709,2630,2554,3243,3673,2712,2291,2535,2331,2330,2442,2555,3256,3062,2990,3079,3018,2764,1987,1436,1432,1578,1665,1948,2109,2144,2139,2481,2234,1791,1574,1487,1658,1810,1618,1415,1436,1727,1830,2260,3210,4341,4160,4040,4255,3997,3240,2255,1733,1723,1343,1611,1727,1220,1413,1673,1571,1907,1404,1201,1304,1281,1297,1283,1255,1318,1377,1419,1394,1362,1954,1809,1449,1512,1493,1367,1437,1759,2285,2415,2598,2022,1762,1879,1915,2201,2289,1948,1730,1520,1485,1748,1774,1555,1576,1569,1857,1582,1685,2188,2309,2482,3160,3422,3354,2890,2246,2209,2741,2166,1742,2060,1977,2239,2388,2182,1768,1819,1959,1734,2005,2214,2157,1693,1744,1989,1757,1941,2013,1991,2451,2385,2518,2621,2244,1844,1465,1438,1500,1964,3117,3060,2836,2721,2733,2742,2686,2343,1990,1868,1926,2154,2724,2534,1781,1677,2467,2381,1918,1380,1333,1393,1376,1536,1644,1522,1515,2170,2533,2137,2163,1899,1634,1718,1976,1904,1522,1568,1641,1901,1948,1911,2278,1748,1682,1737,1646,1929,2148,2234,2381,2386,1976,2018,1988,1804,1722,1836,2067,2035,1993,1748,1524,1726,2080,2316,2376,2610,2181,2046,1743,1599,1546,1627,1675,1867,1949,2105,2069,1920,1504,1452,1988,2091,1741,2002,1765,1899,1782,1781,1829,1578,1895,2663,2823,2229,1880,2271,1879,1708,1469,1606,2061,2214,1914,1856,1753,1499,1431,1683,1624,1382,1358,1483,1426,1223,1499,1661,1630,1622,1577,1511,1560,1575,1625,1677,1669,1882,1932,1919,1742,1757,2986,3882,3206,2449,2240,2098,2151,2079,1580,1389,2066,2879,3537,3874,3803,3539,3363,3282,2551,1609,1432,1957,2182,2100,2336,2171,1750,1744,2026,3013,4087,3427,2554,2575,2055,2151,2164,1947,1609,1642,1882,1955,1937,1904,1896,1756,1598,1689,1818,1833,2266,2712,3146,3262,3395,3231,2752,2683,2639,2258,1747,1743,1906,1984,1697,2332,2274,1824,1681,1644,1569,1456,1365,1383,1455,1780,2485,2969,2019,1687,2084,2532,2542,1957,2012,1939,2038,2576,2563,1908,1614,1615,1482,1451,1334,1697,2240,2364,2454,2132,2109,2038,1851,2064,2147,2674,3032,2986,2189,1577,1441,1561,1653,1688,2105,2380,1882,1842,2050,2141,1985,1775,1838,1808,3030,4038,3621,2599,1796,1637,1981,2106,1940,1682,1748,1929,2450,2681,2176,2077,2372,2260,2143,2692,3550,3418,2619,2145,1864,1885,2100,2791,2663,1938,1816,1811,1838,2399,3348,3660,3341,3344,2625,2055,2205,2862,3244,2847,2621,2822,2316,1950,2368,2588,2431,2358,2202,2232,2273,2593,2521,2284,2066,1967,2114,2052,2143,2695,2041,1501,1818,2665,3041,2726,2132,2492,2456,2540,2906,3165,3200,3046,3015,3402,2884,2244,2302,2093,1756,1904,2599,2901,2536,2242,2134,2175,2062,1907,2008,2319,2487,2143,1910,1824,2827,3685,3360,3049,2675,2125,2316,2328,2652,2032,1749,1682,1686,1838,1945,1926,1990,2247,2641,2299,2509,2310,2322,2100,1708,2577,3039,3284,3724,3791,3790,3735,3734,4030,4373,3956,3734,3893,3472,2812,2762,2404,1497,1447,2027,2351,2671,2786,2579,2679,2279,2027,2281,2522,2698,3178,3330,3230,3331,3395,3413,3504,3416,3283,3652,3686,3545,3533,3095,2807,2516,2465,2555,2268,2120,1899,2020,2768,2252,2813,3018,2364,2216,2965,2673,2322,3205,3303,2412,2199,2119,1874,1788,1853,2276,2150,2505,2811,2708,2612,2321,2240,2376,2151,2136,2243,2398,2987,2739,2366,2792,3112,3137,3189,3032,2532,2297,2276,1746,1859,1639,1576,1631,1457,1534,1707,1688,1537,1517,1630,1548,1469,1405,1434,1527,1796,1628,1990,2905,3029,2416,2031,2088,2320,2513,2501,2821,2792,1849,1795,3203,2814,2429,2810,3023,3218,2908,2955,2908,2914,2789,2871,3065,3549,3574,3611,3895,3740,3176,3107,3638,4112,4048,3829,3637,3494,2896,2658,2992,3521,3521,3143,3036,3326,3782,4068,4119,3903,3907,3870,3507,2932,3151,3109,2885,2585,2414,2235,2192,2585,3176,3391,3341,3306,3021,3040,2595,2569,2459,2296,2335,2220,2271,2588,2500,2265,2197,2521,2500,2396,2308,2400,2436,2366,1892,2303,2644,2252,2547,2758,2712,2563,2804,2071,1579,1392,922,1118,1035,1229,1865,2143,2044,1979,2621,3240,2707,3132,3505,3526,3128,3698,3880,3450,3196,3084,2886,2732,2713,2807,2542,2591,2575,2056,1706,2438,2459,2253,2071,2215],[3308,2861,3196,2993,3172,3309,3480,3288,2932,2227,2208,2454,2655,2569,2896,3444,2193,1768,2658,2665,2298,2361,2371,2055,2410,2975,2886,2652,2712,2426,2021,2008,2309,2344,2228,2029,2543,3009,3492,2945,2715,2793,2341,2650,3134,3418,3559,2187,1923,2151,1638,1658,1883,2414,3178,3307,3163,3141,2818,2811,3514,2679,1981,2158,1606,1669,1848,2179,3086,3111,2155,2562,3588,3068,2500,2736,3120,2736,2580,1975,2579,2989,2446,2445,3086,3252,2962,3143,3530,3475,2587,1898,2218,2469,2287,2194,2916,3286,2981,2618,2316,2709,3516,4343,3376,2885,2844,2819,2570,2600,2634,3097,3450,3396,3586,3462,3552,3521,3307,3441,3515,3651,3916,3994,3542,3472,3860,3660,3458,3731,3926,3990,4005,4032,3834,3717,3836,4030,4151,4151,3700,3805,3871,3081,3086,2729,2603,2744,2899,3063,3280,3303,3529,3713,3407,3483,3365,3134,3052,3043,3076,3244,2988,2617,2397,2383,2183,2371,3176,3217,3208,3393,3187,2665,3115,3499,3501,2149,2309,2662,3095,3285,2324,1970,2300,1982,1950,2530,2531,2371,1809,1804,1714,1742,1930,1954,1735,1597,1522,1630,1861,2001,1726,1693,1771,1452,1578,2754,2968,2177,1912,1727,1987,2858,3256,2888,1664,1623,1777,1953,1530,1779,1792,1964,2482,2403,2121,1873,1576,1543,1721,1465,1581,1862,1557,1609,1504,1458,1739,1570,1673,1998,1930,1825,2345,2430,1840,1632,1855,1999,1849,1694,1681,1700,2215,2385,1970,1730,1794,1976,1917,2015,1851,1616,1614,1737,1534,1060,1186,1861,2250,2103,1575,1532,1566,1527,1547,1663,2798,3727,3452,3348,3198,2687,2162,2328,2250,2017,2385,2514,2018,1822,1833,1576,1789,1946,1863,2041,2076,2059,2463,2724,2744,3003,2490,2331,3187,3704,3221,2789,3060,3117,2849,2270,1686,1656,1571,1153,1429,1712,1872,2714,2944,2507,2216,1905,1991,2565,3320,3671,3592,3176,2425,1754,1854,1853,1572,1567,1592,1494,1424,1433,1484,1755,1861,2053,1660,1702,1598,1558,1626,1610,1575,1841,1522,1119,1547,2177,2444,2407,1757,1616,1615,1737,1913,1887,1681,1605,1772,1582,1904,2710,2674,1711,1552,1527,1464,1747,1722,1493,1645,1793,1784,1680,1522,1554,1968,2087,2336,2478,1881,1746,1713,2038,1980,1733,1746,1668,1678,1949,1660,1570,1921,1670,1355,1209,1388,1658,1851,2023,2304,2802,3287,3541,3781,3244,2322,1758,1882,1787,1803,1823,2094,2305,2299,2236,2122,2178,2030,1941,2380,2422,1942,2056,2087,2163,2308,2736,2316,1684,1691,1618,2077,2832,3382,3070,2829,2058,2547,2564,1691,1401,1766,2036,1944,2645,2946,2460,2385,2387,2315,2457,2106,2371,2152,1575,1533,1413,1525,1662,1687,1716,1993,1832,1645,1730,1810,1597,1863,1938,1680,1915,1896,1649,1753,1921,1710,2030,2076,1921,3139,3431,2959,2493,2032,1897,1974,2520,2883,3021,3275,3220,2238,1869,1732,2021,2084,1945,1720,1533,1507,1361,1403,1487,1617,2010,2084,1686,1830,1800,1592,1722,2292,2448,2094,1885,1930,1873,1918,2030,2002,1982,2187,2601,3329,3284,2564,2071,2030,2046,2009,2496,2714,3131,3178,2845,2255,2288,2250,2210,2112,2070,2274,2702,2568,2480,2181,1903,1887,2106,1991,1985,2178,2039,1928,2035,2500,2489,2004,1966,1818,1954,2353,3148,3179,2556,2615,2552,2358,2263,2614,3093,3768,4453,4248,3071,2029,1720,2128,3141,3538,2723,1511,1197,1545,1914,2597,3507,3805,3885,3909,3790,3902,4028,3714,3762,3720,3259,2813,2977,3399,3217,2437,1802,2044,2199,2444,2936,3444,3730,2964,2617,2532,2029,2073,2141,2374,2329,2083,1918,1836,1876,1869,2257,3030,2824,2042,1716,1714,1812,2142,1976,2045,2024,2067,1806,1782,1863,1869,2008,2942,3738,3738,3880,4040,3805,3189,2850,3584,4003,4140,4236,4007,3939,3560,3175,4002,4255,4430,4183,4092,4089,4109,4305,4151,4060,4459,4588,4516,4563,4545,4692,4280,3526,3714,4209,4136,3795,3763,3984,4513,4365,3472,2465,2053,2138,2081,1926,1996,1664,1582,1573,1478,2120,2397,1886,1507,1381,1460,1414,1443,1631,1735,1517,1412,1633,1659,1876,2087,2241,1844,1765,2011,1817,1616,1457,1527,1458,1678,1671,1755,1700,1665,1584,1838,1971,2141,2166,1798,1854,2025,1660,1483,1446,1614,1748,1862,2115,1908,1695,1803,1924,2116,2458,1782,1332,1566,1901,2171,1864,1425,1587,1738,1876,1973,1690,1538,1738,1832,1757,1726,1450,1555,1573,1629,1542,1802,1798,1590,1604,1619,1776,1954,1871,1646,1787,2034,2062,1974,1823,1714,1684,1587,1834,1986,1604,1561,2103,2778,1592,1042,965,910,964,1045,940,1428,2280,2800,2657,1347,1058,1081,1085,1189,1149,1059,1012,1102,1145,1135,1425,1538,1295,1720,1462,1370,1655,1556,2322,2366,2117,1852,1737,1993,2023,2026,1898,1538,1275,1296,1535,1593,1943,1691,1619,2200,2647,2165,1699,1662,1793,1967,2050,1913,1683,1535,1459,1846,2757,3025,2663,2266,1959,1677,1831,2393,2524,2010,1576,1814,1245,983,1222,1322,1221,1284,1477,1368,1259,1385,1705,1687,1730,1692,1628,1854,1894,2258,2498,2305,2149,2069,2208,2294,2479,2435,2126,2189,2900,3073,2569,2481,2287,1841,1599,1688,1873,1870,1876,1974,1985,1666,1807,1718,1530,1767,2131,2142,2350,2662,2428,1655,2013,2305,2426,2752,2266,2099,2389,2630,2539,1929,1823,1784,1534,2357,2232,1843,1672,2179,2466,2418,3009,3250,3146,2863,2474,3057,3374,2802,2669,2542,2561,2658,2668,2885,3305,3378,3240,3052,2674,2133,1832,1685,1404,1417,1623,1799,1969,2066,2246,2426,2025,1648,1790,1656,1500,1754,2074,2011,1639,1842,1912,2644,3764,4397,3666,3308,3550,3607,3312,2854,2053,1453,1266,1732,1670,1454,1784,2096,1974,1782,1470,1478,1532,1406,1381,1427,1311,1346,1616,1335,1339,1358,1606,1620,1416,1506,1582,1520,1621,2295,2842,2864,2812,2523,2652,2646,2522,2382,2154,2364,2359,1714,1473,1788,1691,1634,1730,1789,1815,1534,1625,2275,2453,2836,3529,3538,3421,3028,2157,2580,2274,1911,1995,2686,2656,2228,2250,2162,1673,1720,2074,2168,2233,2006,1673,1516,1622,1858,1992,2396,2474,2440,2626,2798,2956,2587,2111,1829,1587,1290,1730,2174,2180,2140,2142,2184,2335,2621,2426,1830,1772,1852,2020,2382,2774,2552,1703,1380,1653,2273,2295,1614,1535,1530,1170,1368,1614,1578,1590,1946,2382,2392,2468,2238,1880,1693,1900,1893,1826,1736,1937,2437,2056,1831,2170,1787,1415,1294,1698,2668,2874,2448,2790,2636,2250,2290,1922,1770,1646,2085,2420,2042,1937,2093,2161,2455,3002,3152,2643,2376,2470,2721,2162,1794,1924,2071,1847,1781,1968,2156,2012,1932,1453,1598,1966,1798,1689,1451,1493,1593,1562,2120,1993,1709,2476,2884,2671,2072,1771,1668,1499,1548,1528,1478,1947,2633,2669,1839,1615,1472,1469,1500,1594,1433,1367,1410,1357,1299,1367,1615,1804,1794,1597,1378,1543,1691,1790,1764,1670,1719,1797,1920,1824,1948,2730,2862,2045,1493,1637,1936,1939,1555,1244,1245,1847,2431,2818,3522,3597,3190,2915,3366,2710,1565,1341,1390,1915,2189,2039,1934,1805,1920,1991,2554,3919,3935,3189,2802,2155,2094,2213,2111,1839,1764,1950,2052,1985,1893,1839,1715,1532,1519,1484,1577,1898,2103,2235,2815,3052,2810,2477,2392,2807,2288,1659,1454,1589,1574,1847,2385,2420,2249,1996,1574,1373,1578,1713,1366,1298,1481,2086,3156,2408,1664,1700,2299,2259,1998,2137,1804,2139,2293,2174,1909,2259,1885,2031,2263,1851,1869,2270,2532,2430,2452,2656,2260,2205,2164,1780,1844,2246,2558,2123,1732,1555,1598,1631,1864,1754,1660,1907,2085,1799,1789,2011,1871,1635,1558,2297,3115,2798,1855,1569,1859,1946,1939,1751,1930,1839,2168,2529,2326,2512,2602,2378,2484,2545,2443,2552,2724,2501,2197,2471,2247,2595,3484,3219,2135,1744,1726,1645,2032,3318,3381,2441,3210,3388,2275,1979,2184,2156,2024,2426,3015,2714,2430,2696,2554,2488,2484,2477,2102,1737,2115,1981,1928,2382,2666,2412,1917,2165,2251,1885,1979,2219,2574,2820,2931,2521,2455,2636,2985,3220,3094,2882,2836,3105,3561,3153,2305,2429,2366,1953,1874,2686,3404,3077,2526,2277,2561,2529,2402,2305,2223,2057,2099,2295,2118,2810,3696,3760,3370,3223,2224,2323,2520,2357,1934,1695,1670,1765,1848,1793,2393,2956,2698,3020,2630,2886,2424,2346,2770,2255,2956,2989,2453,3014,3679,3912,3990,4014,4068,4277,4145,4244,3511,2548,2497,2459,1857,1295,2261,2956,2324,2114,2530,2458,2365,2302,2167,2107,2218,2442,2718,2939,3104,3329,3488,3302,3261,3377,3782,4232,3730,3159,3255,3312,3168,3023,2821,2367,2011,2074,1858,1644,2230,2932,3438,2939,2264,2275,2762,2762,2643,2641,2380,2081,2287,2252,1926,1880,2384,2467,2098,2302,2534,2880,3030,2332,1830,1873,2283,2496,2060,2050,2443,2214,2659,3210,3074,3294,3541,2919,2208,2256,1777,1470,1636,1467,1830,2097,1738,1663,1734,1503,1482,1541,1615,1590,1615,1469,1505,1614,1692,1805,1832,2469,2966,2265,1574,1578,1637,2056,2045,2189,2456,1915,2698,3572,3002,2877,2981,3134,3306,2979,2731,2709,3064,2662,2834,3119,2999,2891,3407,3592,3518,3404,3198,3330,3664,3649,3978,3814,3485,3043,2836,2968,3494,3803,3544,3283,3585,3633,3721,3974,3874,3829,3610,3334,2708,2663,2733,2418,2357,2374,2318,1881,1533,2458,3104,3420,3436,2996,2886,2820,2713,2291,1996,2103,2360,2499,2259,2199,2470,2490,2527,2495,2426,2515,2526,2600,2237,1810,2399,2548,2466,2895,3023,3463,3520,3075,2363,1952,1865,1915,1709,1277,1677,2238,2254,2222,2470,2487,2690,2243,3067,3848,4263,3901,4017,4383,4314,4187,4061,3629,3588,3439,3151,2750,2785,2630,2388,2181,2404,2279,2250,2414,2450],[3051,3062,3529,3485,3481,3517,3198,3078,2932,2546,2265,1923,2069,1958,2108,2635,2015,1972,2314,2432,2277,2468,2073,1712,2040,2475,2897,2920,2897,2797,2185,1682,2217,2381,2084,2460,2342,2489,2697,2131,2275,2936,2876,2813,2962,2983,3322,2543,1960,1842,1878,2224,2128,2108,2658,3163,3252,3029,2376,2697,3379,3019,3099,2715,1943,1797,2525,3376,3935,3313,2191,2143,2871,3218,2922,3019,2917,2658,2739,2687,3171,3085,2396,2732,3563,3742,3688,3363,3423,3193,2426,2058,1962,2017,1899,1952,2641,2602,2383,2321,2097,2069,2439,3283,2643,2680,2579,2467,2452,2315,2290,2830,3591,3434,3499,3413,3610,3677,3563,3606,3642,3586,3662,3872,3571,3550,4031,3768,3693,3936,3632,3286,3592,3837,3850,3381,3038,3330,3748,3852,3705,3741,3716,3235,3100,2857,2686,2886,3028,3459,3428,2666,3337,3933,3908,4050,3596,3296,3320,3089,3189,3586,3432,2639,2325,2385,2024,2093,2576,2481,2765,2930,3022,2573,3089,3641,4024,3448,3266,3492,3642,3539,3043,2391,1898,1959,2723,3030,2577,2347,1810,1961,1803,1730,2040,2235,2069,1820,1832,2021,1713,1511,1592,1717,1520,1676,1713,2653,2982,2127,1819,2104,2257,2718,3190,2761,1625,1505,1768,1744,1441,1521,1898,2057,2001,1915,1824,1960,1657,1556,1770,1527,1930,2192,1905,1871,1750,1531,1458,1403,1771,2128,1748,1979,1943,1742,1781,2003,1925,2057,2004,1816,1664,1588,1865,1954,1576,1515,1792,1764,1758,1895,1578,1593,1789,1709,1407,1130,1099,1193,1875,2222,1665,1614,1968,1640,1625,1628,2556,2684,2896,3839,3592,2483,2666,3586,2495,2091,2510,2701,2508,2545,2255,1913,1873,1830,2002,2103,2063,2173,2250,2541,2743,3159,2884,2508,2271,2791,3156,2768,2671,2837,2943,2513,2085,1905,1923,1710,1475,1583,1666,1874,2026,2502,2779,2469,1971,2266,3083,3444,3682,2699,1670,1883,1895,1681,1652,1607,1485,1501,1541,1498,1439,1787,1673,1755,1636,1699,1756,1553,1524,1529,1528,1559,1366,1399,1681,1702,1751,2041,1772,1719,1849,2192,2389,2174,1737,1617,1767,1931,2191,1864,2244,2050,1825,1684,1596,1628,1476,1430,1531,1753,1808,1654,1676,1699,2129,2207,2688,2887,2321,1739,1667,2066,1830,1606,2087,2205,1801,2044,1651,1554,1865,1780,1392,949,1267,1833,1765,1690,2386,2834,3125,3208,3386,3550,2791,2360,2135,1679,1545,1613,1746,1759,1916,2231,2352,2321,2263,2136,2428,2365,1993,2078,2002,1981,2271,2265,1824,1647,1567,1676,1869,2358,2777,2987,3045,2651,3408,3072,1612,1486,1831,2027,1807,2243,2251,2569,2118,1852,1884,1799,1866,2486,2481,1991,1614,1532,1515,1401,1691,1637,1990,1828,1568,1406,1469,1511,1726,1624,1531,1584,1761,1837,1774,2000,1940,2020,1903,2369,3326,3097,2754,2219,1743,1980,1728,1773,2473,3151,3373,3554,2824,2074,1777,1776,1761,1814,1743,1475,1559,1639,1573,1769,1911,2261,2303,1631,1714,1938,1738,1672,1910,2043,1920,1861,1854,1844,1956,2059,2026,2008,2121,2463,2780,2691,2349,2071,2178,2235,2139,2619,2576,2601,2689,2439,2066,2034,2266,2257,2039,2076,2398,2758,2777,2535,2135,1968,1947,2034,1976,1968,2064,2056,2027,2013,1979,1930,1831,1830,1842,1980,2116,2024,2253,2153,2159,2355,2124,2045,2552,2657,3436,4144,3887,2864,2088,1936,1946,2408,2568,1727,1158,2010,2386,2150,2286,2817,3022,3660,3985,4118,4004,3416,3481,3971,3775,3309,3118,2745,2874,3088,2756,2112,2046,2216,2500,2923,3655,4004,3663,3289,2511,2061,1876,2143,2349,2265,1977,1584,1589,1968,1950,2354,2978,2585,1676,1434,1589,2168,2294,2137,2006,1995,2001,1949,1875,1696,1613,1979,3109,3872,3735,3864,3826,3797,3827,3614,3710,3782,3927,4086,3682,3775,3808,3100,4042,4524,4829,4577,4214,3973,4034,4151,4287,4621,4709,4604,4356,4474,4572,4589,3941,3675,3586,4039,4148,3949,4075,4254,4285,3959,2897,2082,2055,2143,2000,2041,2088,1763,1998,1852,1417,1713,2071,1927,1478,1413,1415,1531,1656,1831,1799,1570,1453,1466,1486,1460,1763,2189,1871,1747,2101,1749,1465,1482,1552,1609,1774,1749,1583,1570,1733,1996,2192,1958,1835,1725,1345,1484,1616,1803,1591,1490,1704,1489,1647,1878,1510,1531,1708,1692,2312,2344,1603,1469,1864,2378,3072,2740,2099,1935,1936,2170,2171,1644,1519,1722,1798,1624,1587,1418,1430,1465,1508,1586,1604,1512,1804,1904,1732,1885,2320,2954,2938,2318,1722,1687,1933,2047,1897,1521,1491,2260,2347,1860,1821,1576,1872,1280,962,999,1033,1018,871,868,1063,1577,2553,2526,1358,1084,1166,1065,921,918,1095,1124,1040,975,1077,1392,1834,1581,1771,1612,1414,1601,1582,1763,2144,2323,1562,1476,2055,1897,1874,2223,1864,1485,1516,1418,1318,1419,1510,1703,2045,2244,1986,1522,1116,1766,2011,1523,1484,1619,1491,1458,1775,2473,2689,1786,1044,1475,1610,1787,2511,2510,1867,1777,1879,1662,1607,1305,1312,1415,1278,1339,1337,1437,1611,2230,1982,2077,2097,1637,1458,1875,2515,2556,2096,1851,1919,2179,2459,2713,2567,2388,2821,3327,3395,2811,2120,2104,1927,1690,1750,1908,1772,1694,1946,2433,2221,1902,1831,1664,1912,2150,2408,2757,2554,1985,1681,1847,1922,2125,2609,2222,2270,2613,2674,2636,2462,2335,2524,1995,2488,2533,2092,2204,2512,2113,2120,2790,2978,3194,3356,2788,2836,3275,3134,2843,2657,2596,2436,2551,3152,3440,3242,2966,2171,1558,1877,2092,1716,1438,1463,1671,1606,1703,1920,2083,2159,1897,1766,1719,1584,1534,1662,2192,2451,2105,1672,1715,2749,3764,4131,3536,2995,3907,3956,2995,3550,3176,1880,1272,1321,1468,1450,1770,2356,2411,1907,1525,1476,1593,1387,1335,1372,1350,1354,1439,1531,1574,1454,1575,1561,1489,1527,1626,1778,2362,2895,2852,3027,2992,3120,3608,3510,3142,2765,2168,2427,2813,2032,1451,1542,1708,2173,2447,2169,1860,1701,1609,1896,2381,2836,3164,3242,3295,2728,2221,2387,1815,1801,2040,2353,2197,2200,2381,2410,2001,1669,1897,2191,2151,1861,1755,1684,1682,1847,1887,2250,2609,2998,3155,3256,3118,2228,1950,1715,1572,1359,2105,2231,1967,2048,2112,2259,2297,2471,2264,1903,1928,2032,2009,2344,2366,2136,1601,1311,1473,1797,1945,2209,2561,2195,1039,1116,1713,1759,1836,2266,2426,2283,2337,2082,1896,1486,1554,1799,1851,1918,1988,2356,2299,2365,2291,1694,1453,1406,1974,2969,2644,2317,2483,2040,1850,1800,1978,2216,1851,1991,2547,2451,2238,2247,2397,2397,3066,3364,2444,2041,2272,2664,2459,1984,2205,2498,2470,2602,2288,1927,2077,1686,1384,1411,1507,1708,1631,1438,1590,1929,1883,2123,1866,1804,2373,2163,1686,1471,1498,1536,1951,2407,2166,1571,1612,2486,2645,1609,1335,1387,1371,1404,1333,1269,1402,1386,1358,1390,1369,1493,1732,1750,1705,1699,1721,1714,1769,1720,1654,1598,1696,1892,1856,1856,2141,2065,1659,1161,1522,1622,1368,1502,1696,1539,1847,2498,3119,3754,3507,3210,2418,2531,2068,1448,1382,1444,2013,2254,1974,2047,1896,2168,2193,2178,3479,4039,3417,2944,2275,1973,2208,2175,2039,2040,2062,1985,1903,1784,1842,1749,1670,1577,1451,1470,2096,2173,1632,1617,1718,2015,2319,2636,2936,2139,1685,1576,2049,2048,2143,2403,2134,1883,1748,1631,1660,2212,2241,1563,1232,1309,1271,1683,1771,1716,1522,1847,2406,2859,2280,2124,2163,2078,1974,1923,2187,2137,2091,1848,1599,1631,1839,2087,2410,2999,2676,2264,2610,2209,1705,1715,1950,2713,3213,2468,1729,1781,1294,1529,1711,1865,2098,2452,2070,1800,1871,1644,1740,1955,1924,2036,1723,1458,1849,2298,1605,1613,1924,2402,2453,2637,2282,2136,2735,2911,2867,2910,2901,2796,2534,2475,1881,1713,1870,1895,2281,2908,2544,1819,1872,1946,1875,2512,2860,2367,2084,2625,3218,2895,2438,2274,2265,2170,2293,2737,3191,3085,3331,3143,2584,2141,1883,1663,1791,1806,1701,2009,2365,2740,2363,2369,2224,1745,1724,1611,2053,2620,2981,3060,2599,2448,2776,3229,2994,2895,2865,2634,2831,2871,2611,2322,2171,2115,1889,1983,2329,2699,2873,2852,2757,2796,2474,2858,2688,2446,2155,1937,2045,1723,1863,2471,3087,3356,3276,2820,2700,2535,2821,2749,2378,1973,1913,2074,2231,2708,3234,3265,3333,2924,2530,2188,2998,3897,3476,3147,2876,2556,2738,3337,3588,3178,3808,4011,3993,3567,3342,2596,2231,2314,2419,2427,2575,3105,3022,3082,2685,2596,2526,2334,1999,2348,2936,2940,2518,2430,2987,3330,3342,3152,3171,3287,3042,3340,3604,3154,2764,2883,3272,3104,2341,2127,2132,1974,1978,1927,1976,2248,3064,3552,3219,2833,2548,2220,2242,2370,2251,2276,2662,2604,2001,2389,2944,3228,2684,2160,2220,2163,2171,2755,2312,1981,2156,2541,2705,2632,2561,2293,2575,3113,2981,3152,3617,3355,2779,2365,2075,1663,1321,1864,1881,2281,2910,2392,1846,1793,1618,1643,1505,1460,1614,1672,1441,1406,1610,1606,1585,1747,1887,1808,1510,1447,1500,1375,1577,1648,2308,2515,2177,2316,2410,2415,2523,2679,2963,3040,2927,2810,3251,3044,2739,2608,2204,2054,2699,3041,2895,3398,3450,3366,3119,3543,3698,3445,3420,3226,3005,2813,3022,3540,3818,3740,3720,3654,3698,3592,3763,3847,3916,3817,3458,2718,2398,2481,2842,2989,2543,2547,2284,2047,2331,2791,3418,3308,3028,2839,2685,2617,2525,2161,2035,2395,2539,2376,2120,2436,2587,2630,2543,2310,2426,2625,2632,2093,1817,2452,2798,2952,2906,2728,3028,3658,3657,3021,2334,2056,1837,1645,1242,1881,2291,2588,2696,2922,2533,2522,2328,2119,2634,2854,2744,3752,4429,4715,4556,4274,4148,4032,3647,3098,2820,2493,2211,2093,1987,2348,2385,2481,2786,2878],[3183,3287,3299,3499,3518,3580,3609,3451,2934,2664,2163,1483,1850,2151,2150,2247,2449,2424,2598,2518,2622,2540,1938,1624,1528,1791,2526,2844,2304,2338,2500,2238,2880,2690,2311,2597,2421,2131,1905,2018,2571,3494,2983,2498,2832,2935,3650,3370,1980,1458,1787,2087,1932,1597,1714,2730,2026,1787,2199,2964,3058,2917,3144,2807,2030,2297,3052,2765,3039,2317,2514,3266,3886,4026,3492,3517,2730,2126,2524,2908,3277,3034,2626,3099,3527,3593,3527,3329,3428,3305,2708,2367,2210,2427,2288,2209,2389,1935,1723,1772,2021,2037,2300,2519,2402,2735,2669,2244,2052,1926,2172,2921,3762,3692,3509,3435,3448,3508,3459,3544,3714,3641,3808,3994,3742,3684,3828,3862,4072,4168,3492,3277,3562,3609,3476,3284,3118,2983,3256,3371,3262,3507,3503,3366,3164,3227,3609,3550,3581,4038,3283,2662,3619,3859,3917,3952,3680,3449,3442,3355,3401,3648,3538,2928,2646,2389,2141,2304,2786,2691,3031,2867,2853,2663,3488,3737,3704,3659,3294,3182,3539,3663,3899,3476,2314,2020,2696,2457,2306,2168,1772,1852,1881,1780,1894,2075,2050,1881,2284,2670,1884,1418,2182,2264,2092,1975,1482,1717,2071,2265,2596,3350,2648,2013,3028,2527,1669,1505,1643,1720,1673,1563,1798,1954,1655,1531,1404,1550,1396,1559,2249,2175,2424,2347,2054,2235,2089,1699,1638,1727,1782,1808,1947,2248,1594,1589,1982,2340,2376,2484,2588,2000,1800,1519,1483,1565,1526,1533,1730,1726,1684,1466,1420,1832,1985,1674,1594,1614,1587,1177,1503,2007,1679,1814,2476,2451,1868,1759,2188,1952,1844,2910,3484,3089,3105,2883,2062,2079,1998,2536,3094,3134,2613,2027,2186,2082,2490,2788,2668,2519,2478,2619,2913,3293,2679,1971,1601,2029,2893,2508,1843,1898,1924,2774,2598,1875,2454,2456,1996,1653,1562,1717,1816,2098,1958,2009,1653,1590,2547,3500,3702,2643,2198,2271,2213,1892,1621,1599,1555,1474,1490,1412,1480,1683,1594,1716,1870,1925,1820,1614,1492,1484,1792,1827,1378,1393,1644,1599,1547,1664,1808,1658,2023,3030,2997,2138,1763,1727,1649,2194,3031,2441,2254,2076,2154,2182,1844,1402,1311,1593,1494,1493,1493,1474,1904,2002,1974,2070,2288,2010,1810,1780,1732,1562,1600,1562,1688,2065,1959,1785,1692,1581,1677,1656,1402,1223,1384,1695,1542,1685,2276,2314,2106,1830,1714,2751,3006,2766,2432,1924,1558,1614,1588,1660,1814,2239,1982,1911,2189,2072,1870,1905,2026,2072,2046,2310,2653,2060,1738,1755,1526,1657,2182,2242,2368,2723,3094,2940,3176,2868,1659,1886,2453,2404,2342,2703,2952,2613,1819,1648,1530,1422,1720,2625,2994,2549,1705,1730,1772,1682,1974,2124,2220,2107,1753,1643,1513,1583,1751,1635,1523,1543,1496,1681,2122,2183,1818,1785,1783,2566,3269,2419,2322,2284,2356,2686,1976,1910,2702,3051,2893,2562,2191,1843,1710,1635,1758,1919,2071,1782,1804,1996,1720,1628,1710,1770,1680,1610,1750,1878,1884,1816,1824,1844,1970,1916,1802,1881,1841,1841,1872,1936,2126,2272,2424,2291,2040,2075,2132,2065,2291,2496,2304,2197,2226,2177,2109,2035,2116,2182,2080,2244,2366,2316,2309,2292,2172,2094,1986,1918,1960,2038,2002,1981,2060,2511,2584,2347,2167,2323,2409,2380,2031,2070,2332,1975,2054,2238,2109,1914,2072,2275,3426,3685,2785,2087,1837,1875,2004,1929,1645,1380,1291,2105,2349,2285,2814,3292,3484,3959,4264,4231,3404,2351,2359,2885,3684,3454,3440,3394,3626,3648,3539,2801,2314,2786,2808,2777,3436,3890,3826,3326,2439,2689,2764,2656,2470,1963,1685,1698,1733,2146,2837,3044,2502,1723,1306,1609,1990,2991,2862,2249,1969,2047,2122,2131,1926,1831,2094,2150,2736,3540,3880,3854,3708,3845,3754,3817,3916,3879,3839,3769,3366,3186,3066,2769,3933,4710,4749,4553,4269,3970,4025,4200,4437,4685,4563,4561,4453,4772,4519,4112,3674,3675,3808,4153,4188,4019,4321,4164,3912,3442,2416,2033,2029,2050,1890,2006,2001,1811,2007,1825,1400,1421,1654,1737,1528,1580,1748,1559,1498,1627,1611,1574,1572,1612,1654,1587,1555,1592,1426,1775,2231,1808,1587,1561,1632,1701,1644,1800,1736,1522,1820,2132,2177,1807,2120,1719,1454,1462,1569,1690,1716,1810,1650,1381,1576,1684,1360,1479,1611,1720,1945,1482,1310,1331,1601,2192,2724,2810,2357,2090,1886,1831,1673,1772,1660,1423,1480,1711,1734,1533,1452,1621,1556,1777,1782,1879,1904,1801,1948,2126,3140,4244,4464,3404,2121,1611,1660,1744,1894,1733,1598,2025,2277,2370,2303,1475,1144,1344,1372,1331,1289,1410,1550,1573,1466,1822,2348,2537,2054,1660,1604,1735,1857,1909,1798,1752,1882,2089,2047,2024,1947,1415,1415,1896,1669,1181,1350,1385,2042,2518,1479,1349,1758,1791,1610,1931,1776,1625,1823,1580,1456,1547,1753,2109,1889,1736,1504,1294,993,1445,1750,1743,1672,1670,1620,1698,1673,1965,2326,1908,945,1453,1742,2235,2641,2330,1786,1792,1784,1874,2034,1392,1404,1434,1416,1754,1517,1605,1948,2869,2546,2428,2596,1808,1526,1813,2167,2046,2093,2024,1730,1587,1716,2170,2459,2259,2474,2967,3356,3485,2626,1713,1597,1720,1862,1967,1613,1481,1714,2222,2271,2169,2123,1813,1757,2219,3271,3168,3179,2467,2490,2409,1910,1960,2530,2713,2720,2880,2619,2365,2452,2262,2496,2741,2768,2776,2321,1964,1789,1571,1778,2429,3197,3463,3740,3216,2852,3134,3108,2994,2886,2539,2399,2473,2971,3221,2625,2131,1570,1403,1706,1903,1556,1575,1716,1832,1553,1604,1836,2043,2036,2020,1930,1780,1692,1544,1426,1831,2040,2288,2062,1912,2893,3813,4120,3694,3072,3560,2956,2670,3592,3610,2475,1554,1418,1515,1356,1430,1808,2004,1635,1521,1337,1540,1599,1460,1384,1445,1428,1444,1876,1970,1604,1872,1738,1842,1739,2025,2501,3298,3661,3265,3041,3187,3482,3758,3592,3352,3106,2099,2170,2969,2186,1504,1511,1937,2482,2669,2385,2008,1882,1873,2232,1981,2004,2217,2280,2403,2310,2338,1986,1663,2070,2521,2454,2225,2568,2224,2464,2380,2026,2093,2690,2554,1983,1638,1622,2136,2167,1709,1990,2375,3104,2919,2510,2042,1666,1712,1628,1566,1409,1612,1894,1999,1922,2346,2402,2259,2280,2288,2120,1995,1842,1969,1860,1754,2090,1720,1362,1480,1476,1644,2952,3770,2955,1690,1527,1970,1868,1810,2258,1974,1846,1984,1740,1646,1480,1620,1874,1959,2226,2108,2219,2575,2735,2414,1682,1554,1734,2539,2507,1913,2296,2089,1634,1455,1670,2285,2510,2219,2355,2589,2494,2161,1774,2136,2518,2833,2916,2469,2584,3055,3078,2677,2322,2470,2355,2590,2833,2655,2116,2010,1596,1450,1311,1561,2131,2006,1765,1913,2958,2215,1816,1797,1581,1624,1625,1511,1500,1672,1800,1685,1790,2166,1534,1450,1732,1650,1426,1266,1542,1789,1672,1514,1424,1321,1315,1409,1508,1404,1494,1706,1697,1623,1511,1449,1545,1788,1990,1884,1550,1613,1826,1869,1836,1850,1766,1254,1102,1304,1269,1414,1610,1704,1556,1481,1637,2332,2522,2291,2065,1802,2150,1917,1403,1336,1340,1615,2166,2324,2397,2180,2315,2438,2094,3140,3995,3586,3186,2490,1980,2187,2090,1985,2332,2120,1832,1783,1866,2120,1827,1745,1728,1539,1679,2050,1924,1867,1604,1553,1661,1940,2436,2289,1864,1774,1826,1971,1838,1778,2046,1809,1742,1622,1570,1740,2332,1939,1788,1621,1324,1226,1364,1861,2234,1897,1736,2503,3174,2420,2542,2386,2444,2307,2060,2139,2224,1795,1565,1530,1761,1757,1598,1806,2620,2526,2138,2179,1773,1781,2026,2338,3098,3283,2365,1929,1854,1668,1677,1788,1995,2508,2732,2033,1769,1858,1832,1925,2360,2092,1909,1807,1604,2060,1985,1576,1373,1801,2491,2742,2460,1849,2194,3006,3104,2955,2658,2705,3003,2511,1952,1972,2053,2029,2182,2521,2729,2479,2139,2877,2555,1896,2768,2962,2544,2460,2357,2758,3010,2603,2510,2797,2784,2495,2397,2580,2851,3207,3208,2591,2086,1825,1696,1851,1892,1863,1915,1889,2205,2552,2409,1659,1689,1570,1439,2092,2359,2413,2830,2360,2056,2637,3084,3084,3067,2589,2232,2473,2270,2304,2289,1943,1735,1577,1818,2040,2654,2769,2792,2552,2677,2621,2707,2500,2393,2085,1980,2289,2442,2047,1902,2580,3051,2783,2850,2624,2996,3642,3996,3974,3304,2569,2218,2753,2861,3153,3174,3187,2822,2391,2459,3543,4136,3817,3204,2686,2601,2236,2570,2710,2132,3108,3514,3140,2753,2766,2732,2445,2218,2412,2649,2364,2543,3278,3396,2877,2662,2493,2160,1829,2007,2780,3292,3029,2889,3008,3157,3228,2923,3561,3362,2911,2701,2231,2473,2810,2691,2959,2980,1952,1626,1805,1642,1583,1719,1827,2141,2742,3232,3657,3641,2926,2242,2336,2293,2635,2792,2854,2593,2450,2877,3083,2965,2968,2811,2436,2321,2396,3087,2789,2578,2687,2879,2944,3492,3642,3294,3428,3292,2939,3120,3576,2634,1975,2366,2405,1786,1588,2010,2294,2652,2842,2293,1933,1622,1815,1993,1687,1549,1464,1302,1336,1400,1629,1797,1672,1889,1667,1606,1528,1470,1834,2120,1763,1856,2447,2330,2225,2110,2051,2077,1929,2572,2756,2828,2775,2585,2864,2740,2545,2124,2022,2630,3188,2591,2061,2611,3294,3168,3001,3416,3542,2614,2591,3190,3322,3254,3329,3574,3150,3064,3708,3805,3833,3414,3628,3928,3938,3820,3516,3168,2836,2732,3261,3560,2966,2397,2411,2450,2294,2213,2851,3083,2863,2946,2875,2534,2205,2448,2884,2642,2082,2154,2422,2658,2356,2266,2480,2562,2544,2636,2424,1640,1821,3084,3818,3715,2930,2698,3269,4041,3780,2718,2242,2535,2158,2332,1796,2467,2962,3075,3294,3194,2845,2358,1722,1562,1785,1897,1999,2670,3586,4486,4620,4388,3984,3772,3571,2993,2467,1993,1727,1650,1513,2128,2806,3157,2987,2552],[3132,3109,2895,2888,3303,3607,3562,3386,2775,3024,2649,1815,1626,1984,2215,2176,2064,2664,2945,2712,2714,2161,2104,2139,1556,1600,1902,2298,2003,2080,2591,2899,2829,2171,1694,1850,2415,1918,2279,2386,2136,2632,2485,2751,2788,2864,3796,3357,1945,1394,1636,2085,1846,1428,1555,2245,1778,1502,2005,2885,2996,2852,3098,2600,1838,2242,2776,2589,2634,2243,2689,3181,3666,3265,2409,1986,1717,2092,2361,2072,2300,2466,2761,2954,3239,3406,3489,3404,3241,3682,3887,2697,1978,2007,1983,2122,2361,2223,2247,2192,2097,2708,2943,2583,2212,2321,2503,2160,1938,1907,2359,3095,3768,3692,3491,3447,3473,3686,3807,3854,3825,3771,3931,4104,3738,3730,4048,4175,4100,4113,3827,3441,3270,3414,3362,2831,2584,2967,3022,3276,3053,3292,3383,3230,2896,2983,3552,3579,3693,4113,3694,2978,3485,3658,3591,3732,3482,3681,3406,2983,2953,3332,3519,3334,3190,2503,2405,2513,2752,3029,3288,2829,2563,2330,2833,3272,3129,3341,3606,3833,3426,3285,3581,3173,2612,1822,1910,1868,1963,2056,1643,1444,1777,2050,1875,1612,1876,1887,2073,2347,1923,1574,2204,2070,2058,2054,1780,1897,1805,1703,2106,2455,2063,1973,2579,2041,1556,1529,1560,1537,1644,1841,1817,1775,1517,1358,1459,1598,1449,1669,2552,2600,2270,1858,1801,2121,2073,1456,1567,1961,1632,1420,1643,1609,1532,1896,1973,2413,3228,3130,2464,1731,1623,1609,1500,1568,1558,1572,1566,1738,1699,1377,1560,2088,2299,2380,1716,1555,1609,1450,1553,1787,1958,1939,2053,2053,1688,1769,1866,1723,1883,2139,2275,2130,1702,1481,1967,2333,2184,2412,2350,2420,2844,2326,2381,2619,3109,3263,3161,3355,3354,3232,3348,3551,3342,2920,2665,3109,3642,2944,1895,2089,1955,2050,2298,2332,2778,2889,2414,1964,1877,1927,2046,1738,1468,1874,1814,1568,2365,3475,3493,3553,3617,3263,3188,2697,2037,1833,1738,1548,1527,1512,1405,1526,1917,2220,2090,1795,1904,2093,1956,1560,1714,1755,1455,1360,1480,1621,1536,1911,2226,1641,2029,3134,3167,2053,1645,1849,1758,2084,2766,2485,2010,1632,1928,2150,1618,1502,1715,1602,1658,1802,1621,1678,2197,2251,2054,2176,2165,1974,2182,1754,1456,1356,1646,1780,1701,2161,2078,1643,1562,1953,2263,1663,1621,1881,2037,1967,1700,1702,2060,1729,1599,1736,2112,2799,3171,3211,2789,2119,1756,1758,1503,1540,1824,2073,1797,1895,1918,1765,1663,1796,2009,1904,1831,2073,2106,1673,2093,2253,2101,2076,2064,1914,2073,2557,2427,2273,2548,2484,1787,2047,2211,1772,1998,2530,2569,1862,1633,1863,1774,1816,1576,1766,1822,1757,1310,1641,2175,1982,2175,2491,2225,1909,1693,1884,1774,1550,1651,1662,1516,1804,1944,2104,2174,1909,1814,2172,2077,2362,2896,2382,2770,2890,3131,3077,1926,2161,2747,3150,2854,2169,2121,1720,1842,1770,1565,1760,1824,1649,1713,1897,1631,1367,1509,1527,1616,2166,2105,1785,1876,1917,1794,2051,2128,1809,1832,1936,1721,1867,2015,2042,2301,2128,2032,2121,2285,2165,2061,2039,2210,2389,2398,2413,2252,2076,2024,2120,2055,1994,2051,2176,2691,2922,2758,2360,2111,2120,2069,2076,1846,2050,1995,1877,1920,2814,3086,2421,2299,2728,2806,2708,2302,2147,2463,2255,1930,1878,2115,2067,2022,2247,2968,2908,2155,1982,2095,1879,1653,1592,1489,1619,1397,1410,1658,2040,3404,4184,4169,4121,4121,3776,2998,2395,2520,2735,3815,3842,3589,3686,3786,3652,3492,2467,1933,2644,2507,2429,3140,3247,3151,2851,2745,2711,3177,3640,3122,2386,2366,2664,2894,3248,3332,3107,2543,2120,2282,2671,2986,3426,3295,2453,1891,1989,2027,2111,2053,2192,2222,2062,2788,3215,3458,3768,3817,3586,3613,3897,3710,3797,3625,3643,3239,2861,2701,2688,3675,4507,4592,4372,4165,4078,4305,4504,4520,4520,4433,4173,3994,4398,4291,4051,3710,3912,4273,4245,3862,3939,4074,3869,3685,2988,2139,1937,1936,1879,1917,1916,1886,2230,2128,1722,1543,1456,1486,1427,1577,1891,2080,1752,1772,1727,1602,1702,1771,1702,1689,1660,1550,1619,1473,1804,2143,1953,1867,1867,1666,1519,1631,2246,2168,1547,1561,1679,1634,1499,2002,1771,1477,1629,1810,1855,2463,2261,1634,1369,1522,1561,1321,1375,1498,1770,1865,1610,1421,1309,1317,1504,2103,2254,1589,1925,1692,1666,1603,1981,1913,1526,1510,1659,1867,1820,1939,1943,1939,2271,1829,1809,1775,1987,2144,2741,3848,4320,4079,2845,1896,1786,1783,1603,1844,1815,1872,1894,2286,2343,2131,2109,2138,2087,2059,2153,2261,2233,2149,2087,2189,2370,2109,2051,2119,2062,2130,2129,1948,1861,1928,2005,1991,1918,1816,2019,1801,1616,1741,2031,1831,969,1269,1592,2123,2655,1726,1437,1575,1633,1500,1557,1579,1647,1755,1435,1414,1636,1815,2038,1487,1672,1550,1604,1692,2067,2470,2213,1715,1367,1343,1528,1594,1793,2249,2256,1489,1508,1862,2519,2687,2209,1783,1688,1509,1750,1838,1483,1455,1323,1586,2316,2385,2056,1972,2665,2556,2487,2522,1492,1553,1938,2095,1756,1864,1879,1638,1405,1339,1600,1945,1652,1588,2454,3095,3284,2987,1787,1509,1890,1959,1818,1622,1564,1603,1690,1845,2208,2613,2091,1945,2973,3970,3623,3367,2424,2416,2636,2393,2632,3165,3100,2580,2711,2668,2722,2390,2798,2548,2777,2649,2458,2451,2049,1686,1768,2014,2507,3493,3567,3815,3583,2703,2830,3075,3067,2964,2995,2819,2541,2351,2016,1635,1416,1471,1485,1490,1566,1621,1594,1568,1447,1623,1763,1693,1581,1709,1991,2021,1841,1459,1558,2004,2505,2463,2494,2543,2700,3764,3984,3950,3904,3438,3378,3090,1875,2238,2956,2364,1497,1457,1667,1434,1361,1406,1500,1174,1355,1423,1381,1644,1578,1664,1698,1503,1749,2649,3083,2441,2362,2226,2141,2268,2842,3209,3740,4140,3841,3343,3238,3417,3451,3481,3441,2907,2064,2182,2790,2557,1887,1598,2079,2396,2133,1781,1639,1482,1465,1844,1604,1519,1787,1930,2513,2419,2218,2426,2669,2532,2280,2735,2553,2420,1809,1986,2481,2631,2752,3153,3021,2066,1665,2343,2726,2341,1865,1893,2235,2655,2454,2237,1956,1786,1797,1749,1646,1678,1522,1584,1923,2125,2544,2466,2038,1975,2611,2375,1716,1657,2084,2228,1715,1825,1592,1343,1434,1512,1583,2286,2766,2411,1809,1629,1835,1880,1771,1948,1722,1437,1362,1926,2089,1621,1561,1791,2187,2693,2565,2493,2592,2789,2513,1828,1559,1588,2278,1887,1492,1682,1870,1703,1353,1587,2154,2202,2427,2163,1908,1856,2198,1990,1792,1954,1926,1651,1787,2736,3596,3609,3207,2337,2374,2335,2539,2541,2030,2025,1830,1481,1572,1422,1648,2357,1801,1487,1499,2210,1532,1223,1425,1359,1320,1567,1803,1737,1663,1503,1520,1843,1866,1442,1248,1375,1478,1338,1297,1523,1548,1488,1544,1573,1399,1692,1616,1626,1471,1654,1837,1705,1624,1520,1487,1486,1616,1782,1767,1705,1685,1799,1902,1864,1855,1793,1334,1269,1550,1489,1717,1625,1612,1332,1219,1223,1388,1630,1645,1347,1419,1793,1858,1471,1528,1718,1389,1684,2245,2532,2463,2351,2421,2104,2686,3716,3641,3175,2600,2175,2094,1959,1808,1893,1807,1864,1782,1708,1960,1904,1639,1500,1736,2562,2713,2030,1867,1969,1748,1508,1527,1612,1806,2060,2001,1797,1594,1494,1528,1727,1642,1742,1518,1309,1326,1389,1605,1977,1796,1412,1520,1676,1985,2337,2227,1882,2026,2199,2000,2355,2226,2028,1987,2015,2497,2307,2003,2115,1592,1427,1425,1436,1525,1658,1861,2075,1927,1860,2014,2276,2644,2485,2260,2150,2294,2339,1774,1595,1881,2086,2479,2611,1945,1783,2161,2242,2398,2452,2130,2190,2073,2046,1894,1537,1344,1268,1665,2161,2328,1773,1919,2381,2910,3296,3256,2401,2316,2764,2356,2057,2322,2415,2719,2687,2387,2495,2639,2927,2908,2409,2212,3223,3294,2797,2714,2434,2464,2549,2786,2631,2353,2442,2796,2777,2361,2107,2364,2533,2133,1829,1880,1746,1709,2054,2013,2139,2087,2149,2277,1961,1746,1814,1888,1995,2433,1923,1741,2262,2532,2584,2858,2695,3046,3292,2497,2270,2259,2071,2766,2136,2021,1976,1969,1860,1896,2263,2720,2686,2677,2879,2492,1785,1971,2304,2250,2338,2591,3398,2624,1744,1806,2179,2564,2671,2319,2421,2492,3355,4214,4246,3429,2654,3243,3281,3109,3098,3009,2887,2179,1899,3337,4046,3914,3882,3387,2610,1990,2388,2915,2871,3158,3162,2644,2503,2788,2780,2658,2548,2437,2535,2062,2367,3024,3231,3050,2701,1806,1038,1493,2101,2405,2750,3052,3502,3175,3006,2658,2922,3421,2812,2714,2402,1712,2013,2295,2077,2291,2744,1847,1940,2299,1722,1482,1618,1601,1898,2332,2823,3453,3915,3225,2721,2602,2297,2885,2829,2353,2708,2982,3065,2834,2592,2865,3238,2806,2331,2412,2651,2769,2794,2819,2808,2841,2990,2589,2093,2225,2535,2431,2758,2847,2170,1957,2361,2193,2187,2191,2172,2473,2179,2193,2019,2025,1737,2099,2168,1707,1574,1653,1736,1832,1695,1678,1906,1997,2174,1719,1653,1583,1612,1924,1969,1779,2343,2445,1958,2125,2135,2319,2205,2164,2730,2689,2702,2501,2109,2438,2866,2404,2345,2691,3144,3317,2418,2169,2190,2585,2795,2993,3243,3388,2719,2137,2553,3078,3526,3580,3638,3276,3565,3765,3930,3852,3528,3749,3928,3832,3831,3653,3375,3001,3342,3742,3528,2541,2073,2535,2998,2309,1880,2677,3166,2712,2522,2674,2814,2663,2763,3076,2774,2496,2287,2491,2633,2431,2438,2329,2520,2587,2420,2178,1508,2156,3249,3686,3414,2937,2939,3585,4304,3984,3071,2371,2859,3031,3445,3046,2584,2854,3408,3184,2844,2592,1953,1443,1782,1981,1975,1684,1881,2988,4071,3709,3394,3541,3293,2663,2221,1760,1788,1670,1550,1725,2240,3097,3395,3210,2580],[3401,3061,2887,2764,3227,3665,3462,2941,2876,3228,3034,2436,1958,1995,2455,2329,2327,2892,2675,2233,2337,2249,2608,2323,1711,1698,2088,2508,2712,2542,2958,3256,2380,2016,1906,1304,1979,2176,2737,2256,1713,1719,1943,2282,2408,3096,3724,3215,2194,1686,1598,1889,1667,1420,1513,1857,1917,1609,1765,2669,2921,2958,3254,2758,2101,2261,2362,2181,2278,2307,2473,2699,2840,2585,2069,1782,1837,2086,2679,1901,2098,2620,2900,3090,3484,3609,3514,3361,3451,3697,2863,1902,1802,1599,1938,2336,2427,2317,2391,2003,2206,2909,2687,2266,2323,2200,2438,2569,2426,2493,2758,3139,3739,3949,3758,3585,3569,3686,3753,3918,3727,3592,3646,3908,3344,3671,4473,4485,4387,4421,4009,3381,3198,3327,2967,2337,2141,2973,3144,3069,2602,2918,3352,3173,2756,2608,2799,2621,2776,2851,2924,2561,2836,3195,3515,3479,3252,3530,3719,3383,2973,3146,3161,3321,3299,2916,2722,2646,2786,3385,3599,3174,2810,2457,2438,2426,2815,3438,3577,3748,3666,3818,3462,2901,2287,1759,1805,1949,2256,2490,2014,1520,1697,1965,2055,1644,1510,1669,1918,2587,2397,1981,2198,1718,1802,1628,1572,1893,2160,1842,1840,1552,1542,1920,1874,1698,1556,1409,1534,1487,1676,2270,1990,1646,1529,1451,1622,1679,1511,1489,1830,2081,1715,1500,1635,1719,1903,1587,1444,1744,1619,1353,1686,1928,1667,1801,2062,2950,3241,2854,1810,1580,1470,1512,1544,1694,1735,1765,1672,1636,1592,1653,1898,2116,2128,1965,1458,1438,1440,1462,1587,1643,2199,2228,1744,1783,1738,1767,2054,1867,1816,1859,1532,1656,1700,1555,1755,2026,2272,2047,1840,1929,2509,2017,2032,2272,2482,2887,2888,3071,3636,3642,3473,3660,3459,2939,3088,3204,3383,2832,2251,2476,2439,2248,2558,2889,3162,2994,2633,2015,1794,1686,2046,1825,2011,2007,1868,1977,2624,3022,3062,3188,3094,3650,3632,3532,3382,2718,2126,1939,1698,1382,1339,1562,1941,2259,2026,1522,1677,1624,1655,1513,1599,1587,1684,1745,1699,1731,1724,2088,2350,1719,1578,1937,2957,2247,1732,1831,1689,1898,1955,1947,1848,1716,2144,1916,1564,1511,1663,1546,1630,1710,1605,2072,2209,2020,2138,2175,2052,1825,1763,1490,1472,1556,1579,1581,1638,1967,1763,1477,1714,2361,2454,1720,1544,1942,2375,2020,1820,1766,1856,1766,1689,1575,1831,2607,2854,2451,1960,1974,1859,2451,2024,1657,1700,1591,1936,2144,1850,1776,1736,1908,1872,1726,1626,1546,1566,1731,2168,2281,2390,2319,1916,1737,2003,1998,1619,1856,1926,1844,1514,1570,1565,1166,1491,2147,1854,1346,1379,1575,1776,1744,1741,1648,1862,1549,1134,1357,1704,1748,2143,2361,2053,2200,1549,1527,1601,1570,1953,1803,1533,1738,2043,2027,1792,1778,1963,2002,1815,2299,2903,2845,2517,2195,2729,2695,2457,2548,2855,3351,3508,3239,2801,1854,1750,1447,1436,1584,1548,1487,1663,1992,1834,1576,1532,1660,1641,2212,2072,1768,1794,1824,1750,2100,2322,1953,1963,2096,1977,2064,2088,2093,2343,2047,1932,2182,2431,2297,2201,2134,2268,2806,3111,2876,2358,2213,2149,2166,2078,1970,1991,2000,2515,2830,2690,2368,2304,2209,2396,2265,2056,2283,2058,1979,2060,2972,3212,2766,2558,2074,2014,2477,2479,1979,2352,2226,1753,1795,2050,2063,2300,2596,2507,2037,2013,2287,2736,2087,1764,2215,2020,1643,1670,1647,1672,2207,2975,3205,3227,3356,3659,3483,3356,3526,3088,3078,3841,3749,3723,3911,4030,3912,3015,1968,1710,1995,2444,2844,3804,4097,3662,2872,2925,3045,3225,3265,2798,2635,2961,3199,3618,3750,3571,3794,3763,3681,3608,3614,3559,3666,3620,2696,1782,1675,1846,2051,1980,2202,2192,2275,2837,2698,2930,3666,3648,3127,3155,3241,3118,3216,2601,3022,3455,3299,2673,2402,3436,4608,4745,4598,4317,4138,4268,4488,4408,4341,4200,2835,2610,3426,3923,4209,4015,3731,3747,3886,3715,3639,3869,3849,3503,2531,1936,1878,1843,1745,1973,2236,2078,2251,2358,1969,1615,1521,1547,1538,1704,1987,2104,1920,1771,1731,1544,1812,1993,1619,1615,1616,1463,1528,1642,1772,2014,2057,1942,1831,1654,1601,1593,1964,2020,1744,1739,1626,1482,1553,1676,1591,1455,1720,1770,2074,2690,2073,1526,1334,1533,1490,1506,1688,1694,1542,1560,1761,1584,1356,1291,1505,1888,1666,1724,1776,1692,1670,1561,1662,1592,1593,1588,1687,1987,1721,1982,2260,2521,2332,1982,1869,2052,2235,2309,3491,4187,4100,3265,2073,1206,1541,2126,2181,1916,2139,2281,2278,2555,2130,1864,1764,1664,1599,1749,1749,1648,1572,1600,1675,1628,1509,1570,2239,2509,1523,1370,1260,1282,1318,1317,1234,1186,1188,1249,1675,1764,1530,1693,2003,2355,1688,1701,1762,1604,2065,1714,1513,1525,1365,1317,2064,2130,1509,1558,1770,1622,1494,1624,1890,1924,1729,1552,1528,1644,1759,1514,1675,1964,1528,1233,1397,1715,1730,1943,2400,2042,1449,1709,2546,2918,2441,2240,2298,1927,2121,2142,1665,1285,1515,1842,2699,3372,2758,2198,2339,2164,2138,2063,1434,1372,1906,2345,2144,1782,1586,1450,1760,1902,1521,1612,1504,1579,1974,2370,2665,2802,2076,1634,1856,1934,1559,1385,1601,1346,1262,1680,1901,1960,1808,1847,3270,3937,3981,3367,2159,2282,2880,3139,3121,2758,2705,2423,2631,2757,2765,2887,3528,2906,2269,2128,2372,2956,2567,1892,2194,2114,2258,3184,3697,3422,2824,2231,2248,2757,3009,3063,3340,2862,2545,2334,1870,1642,1524,1491,1401,1417,1518,1561,1809,1988,1888,1964,1722,1666,1582,1898,1992,1898,1992,1785,1726,2147,2843,3395,3394,3395,3653,3916,3850,3846,3815,2920,2304,2368,1809,1929,2148,1608,1295,1455,1612,1454,1463,1470,1487,1512,1561,1439,1435,1810,1688,1309,1437,1641,2010,3107,3526,3432,3231,3352,3230,3217,3187,3329,3633,3695,3771,3630,3434,3542,3618,3404,3250,2814,2522,2683,3002,2933,2223,1731,1745,1996,1780,1429,1369,901,1124,1295,1235,1309,1565,2298,2876,2180,2038,2607,2540,2124,2018,2422,2414,1958,1598,1912,2490,3106,3252,3318,2902,2023,1685,1819,2301,2112,1697,1700,2022,2062,1875,1764,1665,1728,1997,2040,1915,1831,1483,1450,1879,1915,1886,2016,2131,2532,2664,1982,1723,1982,2350,2709,2257,2210,1635,1388,1470,1578,1552,1527,1794,1852,1552,1543,1748,2081,2138,2010,1856,1614,1613,1832,2009,1677,1559,1806,2308,2556,2253,2494,2702,2674,2620,1992,1604,1442,1598,1456,1411,1672,1843,1762,1610,1626,1773,1936,2451,2219,1924,2032,2130,1761,1670,1707,1605,1548,1852,2479,3334,3559,3002,2381,2270,2198,2268,2094,1856,1974,1620,1560,1708,1710,1970,2448,1598,1244,1171,1158,1327,1478,1511,1596,1392,1410,1415,1299,1460,1563,1605,1470,1327,1382,1276,1244,1457,1509,1504,1361,1245,1247,1162,1457,1359,2058,2315,2043,1719,1876,1852,1554,1555,1456,1525,1556,1568,1495,1325,1504,1622,1721,1851,1907,1912,1836,1592,1241,1506,1236,1361,1461,1675,1556,1358,1344,1471,1928,1844,1456,1632,1506,1414,1378,1403,1693,1552,1527,1906,2023,1961,2010,1974,1670,2052,3081,3182,2881,2164,2063,1802,1810,1764,1664,1941,2202,1878,1749,1948,1797,1475,1444,1595,2220,2214,2182,1686,1674,1569,1464,1547,1569,2173,2446,1934,1458,1382,1621,1468,1513,1525,1615,1465,1329,1368,1356,1404,1624,1603,1328,1416,1771,1676,1990,2585,2076,1869,2446,2885,2604,1634,1628,2038,1901,2149,1773,1751,2100,1985,1575,1476,1596,1532,1678,1998,1969,1648,1879,2051,2178,2459,2139,2068,2522,2730,2499,2038,1890,2128,2272,2656,3023,2103,1718,2093,2172,2332,2323,2272,2397,2366,2193,1743,1278,1368,1716,1837,1820,1555,1749,2169,2818,2435,2437,2791,2309,1984,1938,1917,1995,2416,3096,3211,2742,2371,2812,3232,3093,2744,2406,2208,2376,2280,2338,2376,2397,2220,2323,2841,2540,1913,1478,1835,2510,2493,2272,2033,1918,1864,1771,1599,1601,1682,1880,1698,1768,2325,2407,2003,2055,1960,1850,2230,2517,1916,1476,1588,2110,2579,2608,2741,2592,2853,2996,2591,2719,2381,2336,2819,1984,1776,2094,2262,2088,1837,1803,1939,2172,2456,2656,2767,2050,2520,2458,2463,2408,2518,2833,2171,1786,1863,1844,2156,2295,2042,2232,2232,2640,3355,3603,3153,3128,3547,3623,3216,2878,3008,2707,1578,1484,2894,3957,4027,3660,3121,2558,2445,2801,3159,3430,3376,2712,2401,2427,2400,2574,2601,2658,2832,2094,1669,2107,2521,2960,3117,2678,2099,1404,1681,2564,3091,2018,1662,2580,3294,3056,2397,2806,2674,1694,2001,2306,2075,2355,2425,2163,2512,3062,2499,2312,2612,2129,1622,1581,1606,1713,1838,2462,3146,3698,3729,3432,2896,2562,3061,3061,2831,3342,3458,3550,3156,2872,2709,3020,3123,2808,2754,2507,2446,2843,2932,2647,2391,2178,1942,1545,2083,2163,1954,1929,2286,2224,2148,2384,2262,2718,2599,2430,2041,1949,2192,2201,2282,2147,2317,2157,1604,2093,3234,3073,2167,1672,1739,1801,2064,2577,2138,1605,1599,1606,1697,1733,1813,2114,2155,2088,2508,2024,1985,2167,2030,1957,2359,2320,2226,2472,2633,2334,2171,2585,3024,3896,3647,2726,2400,2370,2470,2859,3011,2978,3588,3292,2376,2798,3452,3675,3587,3549,3965,3738,3447,3819,3812,3750,3996,3940,3753,3796,3446,3318,3395,3861,3602,2853,2237,2373,3130,3116,2666,2601,3028,3687,3261,2609,2439,2670,2727,2890,2675,2437,2661,2978,2879,2363,2203,2450,2654,2619,2338,2209,1907,1830,2420,2736,3156,3230,3099,3449,3974,3983,3831,3505,3173,3516,3623,3797,3577,2604,3027,3716,3254,2907,2591,2242,1651,1634,2037,2288,1969,2620,3061,3088,2730,2467,2631,2375,1331,1355,1910,1730,1626,1533,1836,2663,2841,2872,3229,3140],[2990,3203,3111,2592,2927,3143,3292,3076,3179,3229,2987,2911,2609,2317,2350,1878,2110,2272,2100,2094,2438,2371,2180,1736,1354,1369,1996,2691,2998,3272,3488,3026,2397,2435,2081,1407,1765,2257,2482,2058,1657,1630,1832,2088,2442,3354,3646,3462,2546,1836,1498,1562,1499,1427,1615,1830,1917,1886,1831,2742,2868,3187,3375,3150,2708,2299,2025,1947,2004,1859,1812,2248,2813,3093,2613,2228,2282,2153,2554,2356,2602,3184,3284,3122,3116,3155,2248,2760,3445,3148,2381,2016,1946,1726,1928,2232,2273,2200,2208,2145,2471,2796,2423,2017,2519,2279,2820,2951,2784,2688,2586,2998,3748,3910,3818,3774,3755,3735,3705,3892,3896,3797,3913,3581,3045,3906,4570,4516,4613,4529,4196,3506,2988,3050,2641,2342,2134,2370,2622,2282,1858,2376,3145,2866,2470,2995,3072,2467,2824,2854,2511,2353,2044,2339,3025,3089,2803,2753,3307,3370,3415,3357,2603,3045,3555,3375,3185,3181,3096,3450,3685,3538,3562,3318,3083,2688,3335,3660,3428,3408,3991,4145,3570,2881,2272,1751,1802,2210,2862,2387,2289,2158,1672,1703,2103,1866,1594,1681,1969,2678,2706,2275,2329,2156,1744,1505,1814,2298,2453,2147,1835,1713,1928,1900,1606,1734,1625,1387,1432,1394,1488,1737,1847,1654,1594,1650,1447,1360,1385,1379,1388,1583,1424,1445,1460,1411,1589,1621,2013,2304,1978,1433,1599,1612,1722,2082,1886,2128,1996,2072,1787,1619,1360,1369,1536,1688,1833,1849,1698,1689,1620,1603,1743,1804,1635,1533,1541,1543,1413,1608,1850,1922,2516,2547,1790,1792,1744,1815,2568,2385,1739,1587,1576,1619,1495,1509,1765,2091,2624,2309,2150,1583,1788,1577,1443,1808,1937,2373,2386,2159,3121,3198,2822,2770,2247,1664,2329,2743,3205,3283,3187,3571,3195,2052,1896,2359,3018,2836,2950,2207,1761,1663,2004,2062,2182,2219,2011,2055,2287,1964,2217,2273,2226,3264,3763,3650,3453,3043,2621,2270,1900,1552,1400,1527,1708,1978,1677,1561,1796,1728,1686,1569,1466,1483,1821,1920,1738,1709,1614,1959,2004,1718,1665,1599,1891,1928,2152,2109,1660,1214,1297,2241,2340,2446,2535,2088,2182,2292,2258,1880,1618,1660,1884,2214,2269,1916,1836,1796,1914,1704,1664,1634,1656,1650,1505,1423,1508,1714,1477,1299,1468,1491,1395,1514,1445,1660,1603,1532,1771,1815,1836,1897,1691,1681,1791,2408,2416,1890,1882,1847,1824,2562,2265,1813,1742,2043,2274,2060,1693,1884,1824,1930,2248,1754,1581,1537,1443,1617,1750,1725,1919,1919,1866,1869,2084,1806,1831,1768,1668,1644,1532,1451,1587,1397,1425,1892,1834,1561,1691,1622,1833,1614,1582,1494,1599,1606,1604,1681,1776,2050,2176,1858,1576,1541,1425,1484,1495,1534,1950,1908,1603,1844,1825,1557,1531,1749,1920,2046,2259,2182,2361,2905,3064,3189,2641,1964,1725,1850,2912,3441,3495,3265,3077,2091,1613,1438,1348,1452,1661,1864,2028,1904,1864,1676,1375,1493,1520,1869,1676,1608,1749,1781,1709,1851,2012,2068,2150,2191,2025,2026,1954,2178,2274,2144,2356,2447,2541,2607,2540,2307,2193,2423,2508,2413,2212,2221,2081,2071,2275,2387,2177,2143,2447,2489,2373,2235,2282,2023,2476,2987,2565,2140,1831,1869,2146,2740,3075,3125,2951,2161,1828,1883,2100,2162,2355,1815,1664,1733,1914,1868,1876,2301,2590,2125,2419,2144,2182,1912,1817,2263,1881,1476,1522,1546,1689,2208,2467,2676,2732,2872,3273,3356,3498,3873,3420,3036,3505,3720,3466,3581,4201,4205,3034,1791,1750,2342,3318,3535,3813,3993,3492,2648,2754,3328,3428,2962,2689,3243,3127,3127,3485,3806,3992,3956,4086,4219,4207,4084,3808,3928,3854,2823,1942,1795,1880,2089,2037,2148,2272,2523,2689,2523,3097,3772,3153,2250,2493,2403,2534,2521,2447,2922,3383,3599,3159,2542,3365,4749,4996,4784,4272,4211,4164,4597,4465,4393,3807,2625,2888,3348,3885,4287,4149,3479,3187,3293,3616,3840,3790,3790,3142,2115,1883,1938,1798,1742,2052,2270,1843,1655,1744,1692,1544,1575,1415,1418,1522,1655,1888,1636,1592,1822,1586,2083,1851,1693,1890,1704,1611,1730,1787,1799,1952,2173,2071,1683,1552,1741,1855,1708,1876,1892,1957,1928,1614,1676,1806,1632,1797,1974,1628,1825,1950,1672,1655,1518,1585,1718,1738,1702,1548,1400,1457,1845,1759,1565,1404,1743,1775,1612,1542,1599,2028,2230,2232,2202,1885,1718,1824,2145,1861,1773,2129,2337,2198,1952,1888,2055,2540,2429,2965,4099,3898,3261,2297,2141,1523,1091,1529,2330,2503,2746,2699,2812,2749,1885,1166,987,1048,1103,1140,1056,1055,1181,1164,1078,1064,1097,1339,2479,2855,1369,1159,1346,1338,1293,1238,1322,1513,1578,1389,1479,1831,1678,1731,1914,2011,1393,1417,1368,1071,1326,1563,2071,2797,1783,1202,2394,2385,2065,2083,2215,1791,1342,1443,1899,2040,1628,1511,1570,1556,1703,1571,1889,2044,1867,1499,1462,1632,1571,1655,2064,2033,2092,2675,2844,2757,2772,2613,2333,1828,2405,2521,1839,1562,1643,1798,2314,2836,3254,3250,2155,1853,1873,1704,1588,1449,1666,2546,2526,1805,1431,1605,2455,2413,1724,1650,1840,1596,1433,1547,1851,2531,2433,1933,1912,1947,1541,1569,1655,1307,1362,1937,2020,1637,1907,2834,3356,3337,3627,2895,2069,2911,2941,3073,2977,2652,2525,2688,2989,2568,2186,2932,3515,2724,2002,1781,2306,3003,3121,2227,2107,2136,2343,2784,2845,2297,2002,1947,2089,2829,2950,2583,2896,2861,2895,2667,2076,1501,1496,1521,1470,1560,1618,1718,1851,2114,2120,1890,1622,1582,1815,2546,2347,1815,1748,1891,1885,1814,1941,2450,3007,3484,3778,3911,3879,3867,3480,1979,1417,1555,1784,2040,2001,1718,1571,1657,1542,1457,1511,1571,1659,1735,1867,1669,1577,2117,1734,1430,1511,1695,2009,3252,3593,3399,3279,3329,3487,3559,3133,3219,3510,3441,3673,3943,3605,3710,3458,3244,3156,2862,2987,3055,3029,2956,2776,2473,1951,1562,1489,1600,1476,1180,1762,2169,2479,2553,2154,2713,2975,2115,2080,2500,2238,1920,2099,2399,2337,1956,1836,1998,2619,2957,2805,2871,2588,2112,1803,1902,2547,2363,2142,2256,2107,1932,1837,1493,1568,1896,1924,1951,2030,1932,1547,1438,1767,2272,2623,2380,2175,2566,2610,2040,1940,2029,2320,2617,2618,2426,1664,1589,1794,1714,1427,1469,2050,1719,1403,1726,1603,1758,1957,2064,2054,2238,2119,1711,1553,1459,1606,2010,2163,2371,3003,3117,2927,2798,2954,2454,1752,1543,1531,1453,1408,1519,1825,2298,1985,1711,1821,1948,2444,2480,2316,2681,2471,2064,1865,1939,2121,2023,2100,2402,3152,3518,3186,2519,2042,2041,2046,1838,1899,2453,1830,1537,1540,1798,1952,1814,1375,1154,1059,1040,1251,1315,1268,1461,1314,1294,1462,1318,1479,1466,1289,1189,1176,1536,1720,1372,1503,1502,1415,1291,1382,1346,1143,1309,1220,1653,2236,2259,2024,1663,1610,1696,1794,1538,1519,1572,1424,1356,1249,1294,1534,1781,1868,1861,1938,1964,1913,1434,1375,1330,1759,2409,2565,2016,1525,1513,1566,1586,1579,1393,1542,1537,1486,1431,1305,1252,1276,1560,1905,2029,1937,1936,1792,1721,1976,2679,3004,2709,2106,1689,1569,1709,1614,1470,1851,2246,1937,1454,1481,1636,1390,1319,1514,1637,1524,1636,1506,1525,1507,1512,1567,1524,1853,2063,1671,1269,1192,1248,1490,1606,1374,1325,1313,1477,1553,1390,1377,1412,1378,1355,1532,2021,2027,2260,2545,2097,2456,3356,3389,2655,1774,1731,2157,2096,2015,1938,1617,1923,2041,1592,1608,1683,1600,1848,1781,1552,1627,1943,2630,2354,2300,2374,2070,2340,2585,2119,2088,2389,2188,1893,2054,2071,1983,1804,1448,2008,2820,2855,2385,2057,2374,2842,2481,1556,2009,2320,2018,1737,1924,2257,2308,2433,2046,2017,2141,1960,2091,2114,2100,2276,3154,3646,2467,1802,2370,2953,3085,2974,2829,2270,2135,2108,1844,1738,1883,2188,2119,2490,2763,2478,2292,1994,1741,2346,2545,2150,2208,2061,2010,1962,1842,1720,1636,1696,1682,2298,3046,2339,2088,2315,2187,2177,2186,2861,2440,1885,1825,2270,2756,2923,2832,2724,3011,2980,2734,2826,2295,2547,2492,2048,1801,2038,2086,1807,1661,1749,1829,1929,1890,1723,1911,2010,2180,2539,2476,2273,2493,2786,2923,2362,1982,1973,1913,1823,1858,2008,1974,2361,2798,3105,3136,3244,3481,3594,3008,2552,3139,3265,2546,1891,2950,3674,4120,3588,2576,2640,2938,2801,2591,3039,2833,2574,2343,2515,2539,2568,2539,2902,2813,1898,1478,1999,2353,2727,2863,2632,2647,2565,2879,3374,2667,1683,1050,1246,2226,2932,3216,2842,1903,1731,2406,2490,2396,2767,2680,2385,2380,2658,2447,2039,2429,2244,1777,1717,1792,1662,1732,2075,2547,3064,3450,3561,3356,2675,2572,2604,3008,3043,3130,3551,3593,3470,2767,2661,2808,3010,3248,3024,3061,3268,2758,2086,2138,2204,1740,1732,2433,2587,2658,2775,3131,2685,2281,2680,2599,2471,2207,2334,2458,2752,2271,2125,2369,1975,1869,1816,1777,3035,4477,3924,2125,1600,2060,2175,2097,2508,2052,1433,1593,1460,1526,1579,1856,2250,2424,2029,2185,1864,1726,1898,1708,1572,1734,1725,2004,2216,2018,1931,2393,2531,2702,2932,3334,2909,2639,3050,3019,2950,2783,2743,3497,3164,2983,3396,3673,3652,3305,3428,3753,3185,3281,3814,3767,3907,4034,3863,3811,3696,3605,3522,3764,3840,3410,2889,2531,2830,3318,3460,4058,3121,3370,4121,4094,3223,2744,2801,2727,2631,2526,2313,2583,3175,2830,2285,2127,2285,2449,2566,2254,2072,1845,2323,2958,2974,3152,2852,2589,3212,3754,3659,3459,3388,3425,3329,3341,4021,3848,3038,3232,3718,3215,2764,2338,1977,2022,2359,1766,2032,2347,2431,2714,2694,2629,2441,2370,2161,1369,1417,1730,1686,1715,1874,2591,3098,2312,2431,2907,2885],[2586,2894,2563,2635,2957,3101,3056,2897,3087,3218,3221,3263,3030,2634,2152,1926,2271,1992,1931,2277,2193,2077,1724,1301,1400,1827,2492,2668,2373,2724,3166,3046,2605,2701,2279,2185,1958,1856,2284,2315,1898,1752,1772,1857,2088,2809,3237,3505,2958,2234,1778,1427,1373,1429,1754,1933,1970,1914,1802,2908,2895,3373,3479,3473,3204,2582,2167,1872,1568,1504,1429,1959,2584,3156,2910,2475,2197,2026,2082,2250,3172,3877,3626,3384,3161,3582,2658,2986,2943,2149,1694,1688,1736,1961,2223,2153,1967,1981,1913,2076,2193,2570,2404,1926,2362,2878,3288,3004,2839,2799,2812,3452,3950,3710,3306,3255,3937,4064,4068,4084,4224,4271,4151,3339,3160,4297,4539,4436,4528,4465,4360,3858,3580,3562,3046,2439,2036,1901,1895,1820,1582,1964,2812,2729,2292,3128,3292,2987,2686,2526,2366,2002,1692,1890,2176,2361,2731,2978,3239,3317,3284,2950,2434,2718,3186,3292,3610,3981,3903,3539,3518,3500,3564,3393,3187,2926,3274,3023,2576,2980,3740,3968,3496,2854,2711,2063,2164,3217,3806,2375,1977,1944,2118,2108,1753,1731,1942,2075,2107,2437,2394,2236,1808,1692,1534,1642,2381,2758,2229,2009,1991,1987,2030,1933,1843,2292,2114,1720,1645,1626,1694,1749,2059,1758,1483,1559,1477,1586,1388,1410,1503,1565,1588,1560,1413,1493,1561,1472,1581,2047,2155,1692,1631,1625,1975,2266,1649,1455,1562,1553,1515,1544,1418,1342,1452,1626,1802,1878,1512,1449,1575,1519,1833,1642,1527,1520,1576,1650,1336,1434,1462,1895,2380,2433,1740,1537,1656,1776,2366,2214,1832,1826,1521,1405,1452,1455,1842,2092,2182,2016,1964,1772,1614,1337,1422,1682,1704,1612,1711,2513,3680,2735,2469,2552,1844,1741,2317,2585,2888,3190,3355,3582,3305,1997,1948,2038,2702,2912,2774,2327,2136,2002,2080,2198,2316,2486,2566,2307,1859,1775,2380,2641,2788,3418,3872,3666,3194,2749,2675,2231,1766,1448,1359,1503,1610,1888,1754,1561,1582,1466,1442,1542,1534,1655,1630,1613,1542,1596,1648,2040,2049,1765,1689,1810,1776,1744,1852,1794,1912,1937,2093,2350,2339,2114,1898,2117,1888,2049,2280,1925,1903,2156,2329,2551,2513,1849,1562,1610,1725,1637,1652,1741,1801,1620,1404,1372,1514,1901,1764,1617,1329,1454,1565,1567,1620,1975,1936,1649,1773,1877,1765,1985,2050,1907,1771,2392,2236,1622,1532,1693,2065,2574,2630,2496,2542,2348,1823,1503,1377,1591,1610,1772,2188,1697,1375,1404,1288,1451,1699,1514,1535,1653,1842,1860,2138,2270,2157,1929,1832,1857,1688,1654,1704,1653,1595,1811,1996,1779,1814,1716,1511,1475,1535,1534,1540,1564,1951,2184,2193,2403,2135,1592,1510,1460,1426,1514,1578,1651,2072,2122,1804,1793,1634,1594,1450,1670,2581,2617,3362,2817,2785,3521,3889,3904,2666,1886,1696,1510,2620,3411,3602,3017,2918,2306,1828,1723,1583,1632,1825,1670,1461,1532,1980,2011,1928,1669,1464,1761,1650,1615,1788,1734,1637,1724,1996,2258,2237,2115,1960,1935,1900,2026,2112,2187,2194,2126,2387,2935,3083,2453,2342,2386,2465,2333,2214,2156,2018,2117,2656,3084,2711,2258,2571,2482,2330,2104,2087,1973,2052,2741,2500,1995,1787,1715,2060,2472,2496,2322,2178,1883,1737,1589,1805,1820,1785,1857,1776,1969,2122,1653,1624,1603,1899,1852,2072,1821,1519,1698,1614,1476,1354,1338,1606,1675,1745,1925,1702,2219,2634,2435,2859,3172,3286,3593,3606,3265,2946,2893,2903,3149,3598,3760,2962,1985,1748,3038,3823,3647,3817,4168,3509,2653,2915,3384,3624,3530,2866,2942,2808,3157,3484,3767,4132,4147,4167,4218,4357,4241,3972,3918,4210,3639,2679,2075,1830,1911,2316,2491,2293,2224,2326,2583,3186,3138,2434,2500,2123,2244,2530,2267,2556,2858,2964,3618,3762,3247,3231,4152,4884,4888,4540,4464,4496,4632,4427,4316,3133,1966,1968,2602,3846,4056,3695,3325,3592,3637,3787,3593,3676,3824,2790,1968,1953,1905,1728,1652,2146,1804,1394,1577,1679,1521,1596,1620,1366,1474,1530,1509,1616,1548,1240,1448,1594,1710,1579,1613,1846,1883,1791,1722,1579,1731,1893,1994,1993,1874,1633,1832,2030,1867,2546,2377,1652,1743,1859,2493,2381,1876,2149,2373,2074,1773,1997,1853,1778,1648,1477,1549,1604,1652,1410,1443,1670,1811,1856,1628,1632,1575,1595,1775,1720,1723,1994,2401,2170,2714,2872,2222,1901,1773,1948,2439,2654,2337,2145,1797,1657,2103,2270,2249,3761,4216,3306,1926,1720,2075,2083,1625,1189,1504,2399,2823,2722,2784,3155,2031,1234,1108,1106,1165,1584,1920,2132,2424,2646,2687,2636,2667,2866,3408,3008,1882,1846,1603,1399,1844,1886,1664,1608,1873,1854,1731,1920,1901,1863,1812,1488,994,1084,1306,1118,1346,1795,2285,3362,1879,1231,2123,2279,2336,2579,2900,2578,1749,1461,1719,1590,1318,1594,1750,1618,1754,1726,1726,1824,1889,1458,1450,1633,1572,1651,1954,2116,2276,2461,2437,2476,2403,2287,2052,2127,2266,1865,1599,1640,1685,1642,1669,1919,2534,3061,2153,1988,2029,1838,1853,1819,1791,2132,2330,2074,1547,1586,2268,1896,1765,1713,1656,1497,1428,1355,1461,1938,2302,2189,2015,1966,1793,1773,1613,1524,1522,1670,1898,1888,2270,3152,3063,2696,2463,2015,2316,2858,2753,2907,2872,2584,2452,2399,2564,2258,1858,2564,3281,2750,2155,1619,1855,2049,2909,2492,1966,2584,3410,3326,2644,1932,1990,2072,2551,3352,3415,2700,2757,3175,3422,2675,1667,1460,1477,1504,1619,1824,2022,2214,2074,2338,2036,1777,1724,1538,1614,2042,2270,2174,1570,1642,2023,1957,1894,1966,2637,3494,3265,3414,3659,3918,2878,1350,1191,1589,2446,2143,1910,1705,1939,1936,1544,1410,1492,1736,1779,1425,1547,1559,1635,1914,1620,1494,1455,1477,1952,3029,3593,3116,2917,3307,3399,3261,2999,3105,3356,3219,3495,3934,3496,3480,2980,3217,3666,3253,3119,3259,2886,2392,2768,3002,2395,1908,2163,2078,1857,2193,2853,3194,3437,3543,3193,3232,2840,2153,2257,2396,2298,1968,2100,2446,2370,2026,1903,2778,3042,2199,2385,2762,2442,2010,1921,2003,2307,2946,2845,2236,1696,1831,1976,1603,1674,1914,1853,1920,1919,1854,1664,1468,1981,2444,2139,1874,1810,2217,2732,2654,2167,2374,2479,2050,2160,2144,1896,2046,1833,1688,1652,1892,2098,1404,1426,1823,1591,2014,2139,2266,2654,2802,2335,1838,1771,1560,1798,2354,1907,2304,2808,2657,2749,2977,3054,2741,2087,1770,1632,1528,1391,1488,2091,2568,1700,1481,1894,1927,2193,2020,2032,2381,1902,2107,2590,2733,2600,2500,2494,2265,2406,2652,2843,2448,1978,2303,2052,1786,2003,2438,1867,1556,1573,1483,1538,1629,1443,1184,1142,1040,1168,1075,1059,1286,1280,1280,1384,1362,1424,1475,1278,1114,1237,1434,1372,1300,1405,1350,1525,1482,1418,1339,1233,1282,1310,1609,2030,1918,1909,1622,1710,1699,1585,1416,1395,1435,1405,1692,1817,1536,1570,1788,1862,1908,1888,1788,1669,1512,1440,1556,2036,2541,2669,2272,1616,1468,1582,1592,1543,1350,1515,1393,1474,1532,1336,1347,1507,1440,1779,2248,2286,2065,1988,2138,2120,2185,2512,2312,1854,1593,1599,1706,1586,1780,1901,2265,2100,1498,1406,1463,1401,1646,1856,1761,1521,1282,1325,1445,1594,1473,1394,1286,1509,2054,1793,1338,1261,1300,1665,1699,1477,1340,1389,1622,1632,1399,1262,1377,1457,1595,1474,1848,2274,2433,2598,2614,3032,3289,2943,3165,2514,1685,1729,1801,1972,1805,1549,1957,2047,1610,1932,1888,1937,2507,2237,1760,2055,2511,2940,2664,2441,2492,2165,1974,1983,1895,2134,2747,2182,1929,2632,2944,2658,2332,2254,2824,2997,2496,2226,2326,2768,3178,3098,2250,2263,2301,2265,1998,2311,2146,1976,1925,2000,2016,2031,1894,2154,2262,2170,2448,3403,3081,1455,905,1443,2086,2486,2535,2404,2035,1841,1858,2138,2157,2331,2676,2396,2546,2619,2004,2607,2883,2263,2552,2704,2297,2406,2337,2569,2596,2169,1939,1856,1943,2229,2634,2540,2178,2162,1773,1667,2331,2305,2530,3001,3149,2823,2544,2695,3040,2884,2674,3091,2648,2525,2662,2371,2237,2396,2288,2087,2155,2052,2205,1987,1864,1745,1974,2150,1726,1602,2024,2299,2428,2175,2265,2525,3410,3815,2456,2029,2283,2172,2154,2216,2050,1728,1625,2030,2599,3156,3108,3153,3293,2852,2077,2852,3017,2779,2742,3406,3805,3853,3091,2319,2190,2328,2712,3165,3250,2879,2790,2620,2875,2735,2696,3107,3395,2999,2546,2113,2405,2135,2900,3162,2873,3010,3231,3263,3068,1978,1094,917,1359,1732,2025,2809,2454,1785,2011,2532,2828,2677,2701,2242,1975,2101,2204,2434,2168,2376,2540,2177,1996,1851,1736,1838,1807,2037,2570,2742,2918,3222,2766,2634,2480,2654,2824,2968,3366,3554,3449,3520,3352,2818,2902,3027,2529,3077,3094,2342,2147,2269,2085,1951,2656,2915,2884,2769,2644,3205,2945,2634,2721,2591,2766,2171,1939,2358,2736,2302,2271,2354,1931,1969,1645,1903,2891,3597,2872,1772,1518,1677,1834,1799,1901,1721,1470,1669,1542,1482,1413,1719,2186,1903,1672,1751,1776,1621,1527,1616,1665,1642,1825,1838,1826,1705,1834,2352,2552,2518,2459,2598,2598,3058,3571,3359,3106,2207,2054,2611,2868,3442,3516,3563,3480,3012,3372,3581,3016,3317,3918,3904,3640,3763,3653,3879,3886,3436,3352,3555,3352,3097,2798,3111,3675,4228,4559,4603,3657,3813,4240,4244,3846,3528,3348,3020,2961,2821,2574,2685,2839,2410,2292,2354,2308,2395,2711,2526,2045,1662,2196,3234,3066,2641,2674,2361,2832,3209,3677,3796,3174,3028,3150,3347,3754,3913,3386,3344,2862,2423,2353,2037,2144,2377,2433,1981,2138,2685,2352,2382,2494,2127,1870,1830,2122,1570,1899,2104,2364,2188,1896,2691,2923,1902,1977,2156,2435],[3006,2834,2279,2110,2522,2991,2842,2496,2444,2562,2900,3104,2723,2627,2320,2051,2028,2011,2189,2369,2237,2549,2399,1821,1976,2592,2630,2532,2542,3225,2955,2719,2683,2669,2866,2915,2461,2084,2496,2831,2049,1647,1493,1581,1744,2203,2727,2951,2929,2745,2116,1454,1498,1746,2002,1900,1979,1694,2074,3027,3152,3510,3431,3371,3461,2930,2172,1510,1286,1565,1603,2357,2567,3186,3112,2409,1888,1771,1926,2034,2431,2717,3296,3430,2784,3305,3374,3210,2488,1767,1545,1844,2351,2737,2690,2460,2297,2072,1780,1857,2459,2452,2319,1835,2033,2963,3056,2830,2722,3051,3433,3586,3685,3267,2768,3105,3773,4140,4068,3872,4209,4284,3374,2497,3018,4165,3894,3841,4088,4129,4164,4103,3930,3476,2862,2491,2071,1762,2023,2219,2473,3078,3181,3228,3296,3783,3962,3118,2182,2335,2298,2142,1910,1998,2407,2652,2512,3093,3243,3529,2730,2139,2336,2722,3018,3372,3798,3902,4157,3628,3353,3352,3238,3265,3185,2894,2999,2768,2498,3097,3703,3790,3344,3032,2918,2927,2247,2631,2999,2367,2061,2202,2815,2685,2019,2359,2387,1942,2085,2300,2175,1963,1986,1412,1165,1552,2266,2164,1552,1717,1913,1972,1880,1881,1761,2076,1997,1774,1682,1534,1489,1924,2365,2053,1942,2027,1805,1799,1499,1435,1709,1749,1914,1876,1533,1750,1694,1432,1406,1664,2030,1869,1822,2099,2251,2364,1682,1359,1813,1775,1544,1701,1604,1461,1325,1452,1525,1812,1541,1321,1310,1554,1598,1606,1826,1628,1425,1385,1350,1561,1647,2120,2176,1776,1411,1499,1772,1689,2032,2605,2456,1862,1688,1536,1507,1710,1852,1757,1782,1986,2042,1944,1688,1670,1638,1583,1471,1565,2268,3237,3488,2522,2159,2269,2426,2618,2588,2320,2429,2453,2383,2357,2181,1673,1453,1677,1855,1964,2304,2490,2477,2414,2321,2500,2842,2855,2695,2457,2049,2391,2929,3020,2770,3361,3854,3679,3287,2726,2601,1916,1677,1527,1579,1566,1796,1930,1708,1516,1526,1524,1584,1643,1568,1558,1569,1652,1587,1540,1722,2053,2198,1927,1651,1848,1871,1692,1566,2024,2614,2547,2686,2060,2074,1910,1865,2027,1781,1598,1681,1816,1862,2042,1765,2454,2452,1910,1634,1562,1453,1610,1908,1726,1670,1622,1444,1478,1512,1676,1816,1650,1470,1807,1765,1583,1620,1777,1822,1642,1609,1937,2154,2445,2192,1771,1708,1647,1808,1615,1678,1785,2212,3117,2958,2665,2383,1671,1442,1393,1368,1406,1554,1848,1690,1364,1387,1616,1564,1698,2001,1677,2398,2721,2425,2197,2185,1958,1704,1583,1714,1739,1669,1976,1986,1862,1994,2167,1936,1962,1829,1580,1627,1637,1608,1649,1669,1946,2586,1979,1832,2398,2187,1580,1447,1450,1404,1594,2199,2407,2887,2541,2017,1759,1642,1895,1556,1623,2671,3008,2933,2875,3282,3649,3947,4222,3157,2217,2100,1329,1815,2867,3599,3000,2132,1822,1909,1982,1597,1652,1703,1538,1500,1492,1837,1933,1804,1591,1510,1617,1687,1666,1750,1888,1898,2014,2523,2171,2045,1779,1655,1620,1644,1822,2076,2106,2034,2007,2251,2697,2792,2354,2364,2310,2198,2161,2201,2206,2196,2255,2651,2855,2718,2466,2566,2623,2702,2490,2226,2078,2072,2215,2077,1976,1917,1761,1909,2146,2013,1781,1865,1826,1782,1741,1725,1613,1886,2247,2026,1893,1947,1650,1616,1495,1510,1647,1689,1650,1639,1566,1449,1480,1448,1425,1511,1878,2033,1933,1829,2069,2648,2699,2910,3040,3225,3376,2933,2113,1588,1783,1978,2077,2477,2947,2527,1833,1900,3166,4085,4194,4132,4273,3356,2597,2882,3505,3763,3737,3043,2731,2845,3194,3367,3579,4040,4252,4283,4322,4343,4063,3899,3638,3658,3684,3453,2785,2156,2322,2942,2634,2722,2456,2305,2416,2480,2209,2146,2345,1853,2295,2614,2048,2099,2309,2224,2885,3721,3449,3167,4063,4729,4728,4556,4415,4465,4625,4710,3838,2472,2172,1805,1996,3669,3996,3792,3882,3746,3443,3545,3592,3763,3466,2248,1900,1925,1869,1757,1800,2254,1866,1577,1619,1542,1458,1510,1610,1449,1446,1503,1437,1516,1870,1434,1260,1444,1459,1497,1692,2048,2088,1893,1853,1668,1778,2075,1994,2111,2318,2143,2078,1967,1875,2584,2500,2359,2148,2385,2899,2588,2443,2219,2278,2020,2006,2459,2243,1923,1741,1618,1637,1589,1720,1482,1513,1879,1759,1837,1833,1644,1437,1638,1981,2060,1795,1694,2363,2151,2697,3219,2349,1662,1497,1741,2520,2930,2244,1942,1675,1853,2173,2128,2123,3472,3418,2155,1167,1225,1550,2097,2062,1624,1099,1617,2046,2292,2972,3178,1896,1081,1020,1126,1655,2170,1870,2437,3418,3839,3793,3869,3925,3839,3711,2988,2244,2367,1797,1359,1943,2109,1450,1337,1541,1653,1848,1927,1827,1670,1532,1511,1076,1201,1852,1663,1541,1855,1843,2399,1406,1171,1650,2055,1853,2095,2718,2534,1687,1586,1843,1894,1727,1679,1644,1652,1627,1606,1477,1622,1481,1231,1344,1501,1731,1919,2044,1770,1632,1680,1551,1514,1713,1770,1690,2052,2232,1769,1659,1688,1698,1562,1637,1772,1789,1979,2228,2340,1928,1561,1591,1602,1742,1573,1657,1823,1690,1497,1598,1594,1705,1599,1436,1639,1678,1594,1871,1946,1941,2080,2052,2074,1596,1469,1353,1427,1583,1644,1725,1838,2189,2599,2350,2170,1614,1746,2035,2352,2659,2726,2320,2177,2093,2186,2380,1837,1620,2259,3421,3120,2583,1899,1781,2237,2811,2513,2192,2588,2685,2583,3120,2308,2069,2282,3244,3447,3588,3389,3130,3487,3640,2631,1628,1584,1435,1519,1723,2404,2495,2010,1752,1815,1679,1627,1615,1402,1387,1594,1842,2044,1600,1855,2515,1999,1909,2114,3178,3566,2939,2480,2797,3631,2725,1715,1345,1785,2279,2077,1609,1736,2362,2022,1572,1582,1659,1798,1888,1528,1491,1544,1414,1452,1417,1421,1498,1498,1941,3043,3688,3362,3008,3294,3105,2889,2757,3074,3432,3436,3607,3814,3796,3816,3310,3000,3066,3028,3476,3704,2922,2402,3021,3440,3020,2643,2604,2279,2244,2398,2511,2460,2722,3030,3051,2646,2314,2374,2541,2611,2480,2079,2290,2669,2336,1984,2680,3450,3011,2169,2103,2557,2283,1792,1951,2101,2393,3032,2938,2412,1674,1733,2057,1912,1938,1969,1758,1709,1529,1429,1354,1632,2563,2812,2171,2050,2219,2668,3098,2820,2379,2877,2894,2212,2294,1995,1611,1638,1421,1526,1625,1682,1942,1789,1751,1833,2075,2470,2318,2116,2091,2196,1617,1741,1732,1589,1781,2431,1990,2324,2656,2358,2274,2553,2518,2498,2165,1698,1646,1606,1567,1653,2350,2432,2077,2287,2075,1704,2018,1960,1997,1873,2044,2636,3056,3040,2493,2154,1803,1500,1679,1942,1939,1559,1835,2518,2097,1818,2071,1856,1555,1473,1450,1336,1379,1548,1486,1265,1209,1128,1340,1376,1279,1248,1202,1324,1480,1380,1346,1413,1307,1159,1293,1416,1339,1574,1528,1477,1582,1310,1215,1276,1215,1335,1396,1492,1916,1684,1890,1816,1838,1581,1488,1441,1448,1549,1570,1753,1876,1380,1500,1528,1669,1841,1451,1152,1427,1722,1775,1665,1765,2314,2591,2140,1608,1678,1907,2127,1665,1325,1389,1342,1390,1472,1425,1349,1399,1391,1663,2084,2262,2365,2162,2164,2238,1733,1785,1946,1743,1675,1689,1581,1437,1795,1804,1978,1987,1582,1458,1473,1392,1602,1759,1659,1462,1264,1281,1328,1571,1444,1323,1289,1274,1411,1504,1444,1396,1347,1361,1401,1557,1349,1310,1477,1439,1342,1319,1243,1321,1470,1412,1665,2099,2127,2405,2941,3511,3602,3225,3128,2052,1468,1369,1437,2031,2182,1639,1768,2050,2014,2342,2636,2636,2950,2912,2391,2342,2348,2416,2460,2533,2449,2198,1901,1778,1597,1627,2152,2224,2049,2374,2796,2836,2773,2830,2899,2679,2177,2403,2696,2923,2843,2597,2575,2416,2555,2599,2622,2369,2131,2374,2286,2307,2097,1807,1814,2053,2349,2288,2294,2791,2186,1282,1334,1278,1276,1985,2293,2378,2048,1421,1702,2102,2055,2598,3087,2743,2830,2161,1668,2692,2929,2548,2714,2768,2511,2547,2572,2546,2614,2938,2724,2134,2099,2234,2089,1681,2349,1959,1678,1935,2453,2458,2518,2942,3053,2845,2664,2708,3164,2939,2345,2393,2045,2038,2453,2179,1959,2541,2614,2321,2052,2228,3087,2807,1927,1506,2028,2421,2408,2435,2364,2491,2403,2034,1924,2372,3794,3750,2685,2455,2385,2435,2740,2981,2852,2183,1652,1813,2387,3316,3089,3103,3127,2652,2094,2558,2819,2805,3034,3931,4184,3173,2348,2129,1603,2273,2749,2972,3100,3550,3250,2758,2481,2407,2741,2989,2945,2851,2518,2808,2777,3099,3670,3864,3405,3415,3389,2884,2440,1965,1190,1314,2201,2364,2029,2684,2854,2855,2707,2674,2555,2285,2324,2061,2081,2080,1881,1994,2351,2228,2135,1803,1664,1644,1631,1709,2029,2404,2470,2566,2709,2802,3151,3100,2909,2740,2666,2762,3122,3315,3254,3353,3527,3075,2801,2750,2421,2654,2205,2240,2743,2388,1803,2242,2436,2108,2413,2520,2874,3018,2641,2819,2634,2638,3174,3259,2639,2162,2082,2228,2566,2522,2645,2642,1766,1671,2009,2041,1704,1595,1480,1924,2901,2407,1967,1645,1653,1831,1774,1634,1527,1772,1851,1677,1909,1922,1760,1708,1638,1487,1466,1564,1823,1693,1550,1852,2075,2028,2332,2631,2665,2437,2252,2842,3768,3696,3212,2713,2234,2091,3001,3918,3903,3571,2952,3055,3821,3754,3620,3957,4030,3934,3226,3553,3707,3739,3796,3510,3603,3585,2795,2525,2646,3664,3975,3775,3955,4028,3261,3162,3739,4108,4077,3659,2437,2410,2663,2874,3185,3520,3282,2843,2526,2619,2624,2378,2545,2514,2056,2191,2995,2929,2554,2416,2354,2514,2956,3234,3527,3596,3385,3336,3504,3472,3304,3797,3409,2742,2354,2310,2353,2494,2411,1887,2105,2391,2473,2788,2272,2248,2640,2130,1889,2191,2246,1858,2134,2451,2583,2597,2453,2792,2652,2018,1716,2006,2611],[2630,2287,2108,2217,2381,2532,2619,2605,2294,2009,2140,2442,2686,2304,2374,2776,2818,2381,2457,2623,2218,2521,2321,2087,2690,2495,1939,2110,2929,3318,2932,2822,2739,3209,3458,2955,2627,2133,2309,2338,1882,1654,1666,2423,2580,2830,3030,2943,3220,2874,2366,1704,1845,1950,1922,1693,1750,1500,2322,3131,3140,3016,2701,2611,2773,2422,2041,1271,1217,1619,1990,2511,2851,3087,2858,2408,2143,2147,1804,2012,2451,2059,2910,3200,3056,3271,3279,2932,2393,1876,1561,1926,2389,2526,2071,2163,2864,2359,1825,2064,2731,2326,1885,1758,2375,2907,2437,2258,2045,3036,3960,3463,3182,3269,3682,3769,3758,3959,3858,3646,3838,4040,2956,2436,3272,3942,3704,3372,3407,3242,3676,4048,3664,3028,2828,2939,2525,2282,2701,2831,3356,3681,3700,4002,4183,3940,3333,2338,2272,2840,2840,2896,2711,2295,2275,2884,2909,2817,2897,2978,2692,2437,2302,2485,2541,3210,4040,4013,3908,3244,2605,2543,2776,2828,2998,3241,3254,3394,3284,3390,3821,3704,2368,2956,3253,3190,2530,2297,2434,2451,2436,2622,2631,2508,2592,2500,2613,2042,1551,1669,2340,2658,2812,2224,1708,1970,1889,2126,2004,1745,1996,2143,1864,2054,2004,2076,1704,1488,1634,1638,1666,1984,2143,2236,1747,1709,1625,1516,1345,1322,1941,2142,2523,2476,1573,1814,1636,1503,1864,2009,2716,2084,2200,2128,1869,1998,1608,1417,1561,1507,1465,1762,1510,1369,1194,1328,1453,1787,1644,1345,1364,1433,1472,1814,1898,1694,1532,1425,1543,1686,1770,1798,1638,1507,1651,1771,1693,1615,1919,2437,2305,1766,1697,1658,1699,1793,1526,1522,1401,1477,2051,1910,1766,1847,1646,1699,1468,1540,2379,2811,2374,1987,1888,2083,2669,2626,2194,2419,2597,2341,2230,1976,1761,1706,1718,1979,1865,1700,1753,2003,2226,2353,2421,2964,3203,3097,3000,2453,2617,3087,3103,2877,2813,3510,3893,3785,3430,2863,2577,1780,1509,1432,1495,1592,1744,1866,1772,1726,2139,1684,1504,1406,1454,1454,1570,1625,1571,1661,1926,1949,1940,1914,1960,1982,1616,1794,1723,1941,1764,1771,2136,2149,2353,2186,1842,1793,1533,1586,2208,2395,1907,1916,1725,2181,2486,2398,2372,2291,1643,1642,1988,1604,1702,1538,1462,1506,1543,1798,2041,2268,2375,2369,2264,1992,1728,1624,1635,1652,1671,1919,1782,1915,1732,1615,1462,1454,1605,1527,1572,1739,2566,2938,2637,2166,1719,1494,1388,1333,1378,1417,1638,1660,1477,1530,1814,2252,2249,2486,2678,2006,2647,3227,2745,2232,2075,1737,1628,1409,1491,1536,1781,2320,2218,2165,2176,2024,1806,1929,1822,1741,1951,1960,1866,1749,1876,2322,2658,2232,1820,2044,2076,1893,1775,1575,1409,1614,2167,2008,2341,2210,1937,1749,2430,3168,2498,2025,2543,2710,2617,2518,2730,3195,3225,3389,2744,1917,1926,1323,1256,2436,3296,2966,2115,1779,1980,1965,1606,1551,1355,1624,1616,1522,1571,1613,1789,1704,1471,1485,1714,1763,1897,2201,2177,1830,1918,1898,1776,1718,1709,1684,1741,1715,2075,2156,2017,1974,2275,2331,2160,2298,2258,2062,2030,2103,2232,2233,2351,2556,2878,2556,2404,2591,2598,2664,2729,2499,2225,2254,2339,2078,2027,1989,1944,1851,1888,2324,1971,1853,1900,2088,2281,2054,1690,1618,1929,2378,1998,1747,1710,1587,1649,1517,1274,1408,1593,1754,1706,1594,1596,1561,1450,1403,1482,2094,2468,2359,2115,2342,2798,2922,3010,3380,3439,3329,3138,2543,1974,1798,1604,1638,1730,2078,2066,1703,2084,3284,3897,3927,3085,3305,2855,2533,2696,3244,3628,3682,3310,2973,3167,3721,3763,3681,3872,4181,4268,4372,4325,3651,3240,3266,3526,3648,3518,3205,3078,3370,3496,3006,2932,2641,2547,2544,2408,2246,2310,2072,1723,2094,2287,1879,1810,1726,1858,2684,3684,3109,3315,4520,4681,4427,4297,4183,4183,4341,4229,2844,2508,3222,2587,2797,3838,4208,4296,4037,3349,2940,3277,3925,3739,2735,1922,1838,1870,1852,1751,2008,2184,1926,2062,2053,1715,1643,1582,1554,1554,1374,1387,1395,1648,2210,2291,1880,1427,1483,1866,2200,2379,2032,1865,1947,1837,1787,2222,1918,1594,2024,2025,1751,1703,2332,2858,2566,2853,2456,2288,2407,2377,2244,1760,1658,1665,1809,2292,2353,1959,1751,1722,1654,1550,1491,1529,1810,1802,1570,1683,1884,2060,1768,1620,1738,1775,1461,1538,1778,1855,2472,2383,1741,1467,1667,1649,1843,2441,1790,1732,2167,2270,2084,1848,1981,2590,2275,1452,1153,1135,1093,1695,2149,2152,1629,1100,1609,2009,2388,2561,2128,1841,1885,1795,1995,2266,1656,1962,2692,2809,2469,2486,2568,2568,2580,2568,2669,2432,1990,1649,1948,2281,1657,1555,1699,1738,2035,1865,1769,1949,2007,1920,1367,1408,1659,1469,1622,1845,1570,1482,1401,1214,1181,1210,1384,1792,2036,2102,2209,2009,2176,2092,1631,1724,2060,1658,1272,1478,1618,1651,1446,1312,1399,1676,1877,1754,1779,1732,1643,1707,1643,1656,1484,1685,1825,2230,2214,1887,1750,1698,1889,1702,1833,1795,1673,1983,2389,2317,1912,1552,1294,888,1062,1413,1666,1910,1729,1586,1644,1652,1662,1665,1757,1824,1757,1562,1801,2062,2154,2142,1888,1684,1408,1349,1346,1439,1414,1393,1618,1741,1879,2269,2366,1857,1556,2257,2316,2114,2233,2345,2576,2436,1982,2470,2653,2269,1758,2079,2750,3335,3111,2136,1953,2386,2576,2417,2315,2360,2166,2758,3178,2403,2930,3483,3549,3177,3237,3237,3293,3770,3296,2337,1782,1705,1561,1825,2158,2789,2596,1683,1431,1674,1729,1600,1450,1530,1462,1672,1617,1551,1574,1610,2182,2103,2023,1912,2502,2900,2640,2485,3141,2945,2638,2223,1405,1822,2036,1702,1457,1542,1439,1590,1827,1938,2121,1661,1587,1566,1410,1476,1523,1453,1522,1632,1543,1440,1798,2778,3052,3253,3010,3285,2855,2354,2257,2988,3530,3605,3697,3790,3704,3386,3044,2357,2329,3174,3548,3604,3255,3067,3306,3433,3239,2995,2709,2665,2554,2291,2222,1981,1895,1849,1944,2081,2114,2078,2186,2421,2238,1807,2336,2501,2181,2404,3411,3189,2612,2019,1625,2080,2514,2316,2149,2029,1917,2622,2925,2612,1919,1765,1775,2030,2144,1902,1606,1444,1426,1564,1710,1842,2103,2382,2199,1940,2130,2239,2253,2327,1979,2352,2656,1936,1864,1638,1366,1574,1643,1698,1643,1494,1956,2100,1757,1637,2026,2475,1944,1530,1695,1613,1623,1776,1554,1875,2303,2316,2315,2612,2676,2181,1885,2315,2426,2566,2578,2094,1708,1509,1759,1819,2334,2827,2356,2306,1942,1593,1897,1885,1805,1644,1767,1737,2149,2256,1839,1688,1618,1646,2002,1808,1838,1610,1965,2232,1931,1840,2266,2427,2099,1876,1626,1341,1214,1278,1427,1402,1255,1188,1239,1455,1567,1431,1289,1246,1272,1334,1345,1302,1300,1300,1317,1324,1304,1335,1404,1622,1566,1316,1331,1328,1287,1619,1507,1359,1527,1724,1797,1707,1935,2176,1856,1626,1469,1575,1523,1647,1565,1362,1641,1512,1598,1759,1243,1058,1598,1759,1826,1831,1713,1865,1660,1572,1856,2125,2208,2094,1519,1148,1167,1131,1083,1200,1433,1361,1551,1510,1466,1723,2013,2338,2363,2115,2023,1751,1536,1672,1771,1677,1620,1419,1522,1857,1881,1821,2076,2155,1971,1681,1414,1420,1589,1651,1546,1318,1507,1654,2100,1715,1636,1560,1265,1294,1324,1438,1431,1343,1267,1278,1455,1389,1407,1406,1316,1247,1266,1220,1242,1305,1330,1503,1873,2090,2611,2908,3299,3410,2766,2113,1660,1274,1354,1777,2222,2221,1701,1614,2185,1809,1875,2952,3109,3095,2909,2596,2210,1748,1852,2268,2886,2856,2702,2438,1973,1592,1581,1616,2349,2587,2339,2652,3072,3138,3060,2574,2148,2622,2721,2924,3168,2708,2209,2597,2685,2184,2468,3204,2579,2197,2212,2492,2224,1992,1701,1715,1853,2243,2358,2339,2054,1796,1717,1808,1792,1482,1816,1880,2018,1824,1406,2040,2598,2274,2641,3091,2675,2632,1805,2264,2670,2234,1980,2702,2821,2436,2383,2091,1664,1654,3253,3349,2390,1975,1969,1758,2098,2770,2537,2164,2187,2431,2449,2382,2304,2664,2643,3085,2884,2885,2926,2540,2382,2040,2042,2304,2155,2251,2315,2448,2378,2021,2297,2508,2902,2127,1487,1833,2242,2585,2578,2273,1992,1934,2181,2390,2479,3151,3363,3011,3019,2806,2612,2835,3180,3066,2337,1878,1642,1797,2996,3357,3354,2864,2408,2635,2862,2982,3065,3259,3874,3919,2631,1968,1622,1895,2655,3143,3464,3726,3572,2678,2179,2191,2112,2272,2956,3166,3112,2710,3462,3624,3196,3321,3623,3149,3146,2998,2545,1692,1282,1189,2018,2612,2599,2776,3239,3376,3293,2923,2661,2453,2604,2767,2272,2149,2433,2172,1820,2214,1978,1560,1543,1627,1855,1925,1908,2114,2242,2066,2228,2586,2250,2476,2684,2717,2955,2917,2706,2789,3043,3317,3344,3611,2810,2959,2597,2427,2286,1579,1725,2207,2021,1804,2220,2399,2270,2380,2755,3157,2692,2945,3251,2940,2464,2390,2956,3398,2762,2010,2895,2718,2390,2279,2243,1681,1436,1625,1705,1546,1621,1706,1946,2472,2592,2734,1801,1379,1704,1671,1727,1883,2299,2284,1757,1883,1893,1794,1729,1533,1555,1743,1804,1965,1645,1702,2440,2301,1779,1710,2222,3175,2490,1927,2241,3234,3663,3561,3538,3014,2524,3217,3964,3774,3127,2958,3354,4035,3209,3256,3720,3663,3723,3836,4080,4012,3880,3476,3351,3676,3587,2618,2133,2933,3875,3931,3510,3538,3271,2500,2379,2966,3273,3658,2986,1260,1744,1916,2321,2934,3332,3464,3523,3257,3119,2996,2704,2579,2348,1903,2477,2627,2419,2496,2470,2508,2874,3256,3549,3273,2930,3549,3784,3650,3457,3523,3518,3486,2972,2272,2001,2513,2906,2430,1863,2091,2346,2315,2206,2500,2956,3119,2525,2384,2658,2532,2461,2578,2589,2555,2884,3649,3684,2822,2280,2332,2420,2166],[2148,1992,2023,2255,2401,2524,2536,2306,2337,2265,1897,2026,2722,2599,2607,3307,3372,2349,2135,2335,1867,1933,1647,1856,2387,2048,1792,2118,2758,3227,3317,2768,2583,2675,3093,2796,2469,1689,2096,2549,2020,1904,2162,2686,3016,3040,2778,2634,3498,3042,2685,2060,2060,1804,1653,1620,1591,1641,2446,3130,2938,2395,2257,2202,2295,2498,2553,1853,1673,1642,1631,1960,2313,2251,2418,2802,2544,2412,1808,2016,2170,1938,2365,2786,2945,2592,2346,2101,2356,2592,1866,1945,2136,2448,2236,2018,2481,2414,1860,1730,2050,2005,2097,1968,2030,1978,1898,1829,1662,2307,3684,3431,2911,3229,3637,3898,4004,3713,3331,2835,2749,3486,3909,3429,3688,3871,3718,3477,2579,2032,2673,3482,3616,3099,2937,3068,3200,2814,2854,2875,3421,4048,4185,3909,3771,3442,2231,1486,2458,3319,3550,3306,2852,2226,2138,2426,2384,2469,2452,2194,2173,2512,2235,2541,2620,2832,3452,3194,2880,2404,2041,2534,2912,2502,2503,2978,3272,3422,3395,3322,3503,3438,2468,2893,3510,3392,3178,3084,3079,2764,2598,2734,2974,2541,2852,2309,2057,1947,1730,1682,2557,3445,3339,2523,2370,2358,1874,2241,2460,1861,1799,1609,1426,1809,1813,1693,1533,1477,1997,2143,2280,2368,1974,2280,2348,1945,1555,1489,1620,1737,2078,2478,3034,2511,1835,2045,1863,1697,1597,1654,2006,1821,1864,1895,1881,1562,1501,1594,1843,1798,1596,1808,1501,1225,1411,1600,1508,1680,1768,1617,1649,1507,1432,1648,1815,1463,1418,1387,1317,1577,1682,1705,1742,1730,1773,1839,2165,1673,1655,1956,2049,1792,2085,2165,1927,1787,1677,1600,1434,1756,2100,1568,1671,1542,1493,1600,1532,1479,1945,2168,1819,1937,2228,2459,3604,3264,2602,2767,2023,2208,2850,2430,2191,2225,2344,2235,2010,2086,2374,1855,2215,2501,2555,2958,3254,3358,3305,2521,2585,3050,2898,2908,3041,3921,3778,3775,3107,2139,2110,1998,1730,1561,1561,1612,1675,1911,1570,1580,1993,1669,1483,1471,1443,1627,1659,1506,1433,1661,2003,1806,1755,1747,1720,1621,1520,1865,1752,1815,1875,1846,1789,1904,1946,1762,1909,2254,1643,1875,2648,2428,1875,1977,2075,1877,1976,2513,3221,2712,1660,1786,2057,1853,1808,1336,1365,1634,1799,1967,2287,2606,2599,2381,2303,2098,1829,1627,1647,1577,1825,1846,1792,1703,1466,1433,1458,1730,1898,1453,1491,1798,1981,1912,1908,1568,1470,1504,1334,1178,1342,1376,1462,1372,1865,2281,2584,2830,2130,2357,3239,2482,1787,2257,2279,1787,2019,1758,1642,1392,1531,1470,1772,1964,2104,2213,1900,1589,1610,1575,1572,2066,2204,2123,2018,2109,2213,2135,2208,2440,2257,2126,2161,2230,2219,1989,1578,1545,1779,1776,1897,2303,2051,1706,2331,2577,2297,2270,2320,2639,2891,2409,2403,3130,2961,2140,1760,1566,1817,1854,1995,2657,2802,2783,2241,1934,2041,1802,1561,1551,1631,1958,1762,1526,1541,1482,1592,1481,1450,1429,1665,1737,1511,1919,1948,1525,1517,1735,1765,1792,1794,1802,1814,1799,2168,2183,1986,1942,2129,2159,2142,2184,2139,2088,2156,2131,2327,2366,2536,2883,3211,2541,2138,2291,2479,2451,2307,2219,2030,2194,2293,1952,1962,2062,1974,1835,1794,1976,1988,1983,1996,2099,2414,2469,1985,2097,2564,2610,1953,1729,1615,1647,2019,1714,1547,1714,1562,1550,1472,1458,1444,1681,2108,1795,1528,1743,2482,2746,2446,2384,2609,2890,3111,3088,3428,3514,3437,2263,1675,1754,1714,1651,1334,1220,1438,1753,2330,3855,3747,2762,2052,2409,2360,2414,2502,2888,3015,2762,2733,3034,3617,3971,3813,3652,3587,3794,4129,4188,4168,3873,3221,3294,4019,4058,3660,3115,3299,3710,3599,3361,2443,2001,2560,2669,2281,2273,2409,2097,1853,1988,2059,1830,1931,2025,2115,2818,3837,3382,3520,4584,4487,4474,4288,4171,4089,4187,3209,2620,3420,4046,3903,4177,4207,4155,4544,4444,3561,2910,2775,3205,3035,2169,1949,1916,1819,1816,1816,2111,2183,2040,2063,2058,2071,1842,1739,1597,1703,1628,1506,1496,1668,1951,2374,2208,1519,1664,2318,2230,2174,2020,1963,1738,1618,1853,2255,1969,1599,1663,1660,1865,1703,2313,2900,2826,2744,2379,2094,2200,2029,1902,1875,1672,1627,1372,1451,2145,2009,1724,1904,2145,2107,1756,1743,2439,2470,1770,1654,1745,2192,1873,1535,1430,1486,1587,1830,1777,2055,2285,1830,1674,1460,1565,1616,2083,2260,1988,2318,3257,2692,2118,2216,2255,2270,2178,1819,1128,1096,1127,1002,1851,2025,2111,1646,1285,1467,2124,2454,2347,1978,1838,1792,1912,1860,1433,2054,2103,1843,1615,1409,1334,1545,1656,1809,2138,1750,1876,1543,1401,1629,1700,1514,1641,1567,1586,1885,1909,2064,1654,1801,1574,1684,1550,1095,1628,2016,1636,1536,1383,1056,1136,1076,1159,1652,1742,1954,2648,2194,2006,1798,1216,1678,2381,1725,1304,1509,1449,1476,1365,1416,1515,1669,1750,2077,2365,2002,1751,1578,1943,2023,1516,2127,1963,1976,1791,1728,1763,1687,1565,1717,2076,1757,1471,1882,2254,2258,2018,1693,1086,720,925,1636,1768,1970,1845,1688,1624,1507,1525,1625,1650,1678,1686,1656,1866,2040,2198,1924,1632,1586,1627,1561,1469,1530,1403,1590,1686,1455,1709,2136,2026,1542,1812,2392,2490,2626,2237,2274,2783,2517,2433,2945,3211,2558,1791,2068,2397,2586,2229,1864,2185,2707,2688,2488,2068,2209,2088,2298,2162,2201,2985,3594,3483,3087,2966,2850,2894,3011,2400,1949,2076,2106,1944,1927,2137,2454,2058,1466,1508,1685,1661,1405,1361,1565,1656,1656,1532,1672,1704,2376,2819,2432,2061,1758,1902,2070,2540,2685,2886,2842,2951,2521,1658,2483,2987,1886,1660,1657,1518,1939,2372,2356,2057,2043,1457,1252,1186,1330,1404,1376,1565,1549,1445,1426,1878,3228,3384,3351,3396,3382,2804,2208,2423,3022,3386,3543,3653,3747,3547,3326,3123,2184,2220,3396,3645,3405,3224,3225,3176,3076,3563,3627,2904,3064,3351,3306,3025,2187,2067,2243,2166,2128,1944,1931,2005,1958,2069,2266,2206,1945,1655,1782,2068,2099,2007,2078,2186,2188,2436,2275,2170,2165,2397,3012,2846,2547,2122,1586,1406,1876,2177,1843,1576,1844,2379,1861,2254,1784,1748,1843,1677,1813,1995,1969,1864,1875,1695,1925,2071,2172,2458,1946,1781,1748,1604,1608,1774,1627,1603,1597,1484,1460,2003,2339,1726,1532,2015,1851,1656,1567,1763,1851,1775,2171,2744,2798,2933,2986,2758,2941,3129,2969,2913,2485,1899,1918,2020,1779,2073,2647,2072,1941,1720,1623,1500,1464,1622,1386,1202,1249,1420,1491,1331,1326,1524,1573,1771,1387,1532,1452,1641,1930,1854,2100,2702,2575,2158,1739,1402,1317,1336,1260,1405,1318,1233,1221,1185,1597,1953,1636,1425,1276,1274,1527,1456,1380,1260,1244,1350,1311,1476,1512,1364,1487,1362,1244,1245,1240,1292,1363,1251,1431,1776,1738,1596,1652,2490,3021,1933,1685,1634,1588,1537,1800,1630,1582,1622,1504,1499,1681,1378,1174,1661,1765,1940,2049,1748,1678,2272,2477,2258,1942,1768,1939,1660,1059,1100,1115,1239,1482,2025,1808,1853,1525,1441,1616,1909,2429,2446,1905,1706,1796,1766,1810,1979,2099,1718,1616,1801,2294,2258,2055,2430,2721,2497,2037,1599,1429,1460,1664,1517,1344,1630,1619,1398,1344,1591,1511,1384,1410,1322,1327,1236,1294,1301,1242,1538,1517,1356,1521,1517,1420,1389,1332,1299,1239,1294,1554,1674,1778,2330,2735,2738,2476,2237,2013,1538,1396,2258,2399,2505,2291,1682,1890,2920,2585,2353,3143,3221,2620,2341,2647,2727,2475,2697,2828,2899,2663,2805,2748,2257,1923,1661,1532,2068,2485,2511,2886,3087,3206,3077,2069,2263,2502,2547,3000,3097,2656,2704,2764,2526,2042,2225,2720,2442,2192,2208,2051,2085,2320,2368,2157,2033,2101,1751,1610,1740,2246,1904,1862,1731,1795,2680,2379,2072,2200,1880,2374,2844,2686,2964,3265,3089,2701,1876,2475,2788,2619,2626,2742,2435,2192,1748,1036,983,845,2066,2529,2616,2188,2026,1974,2163,2576,3015,3060,2354,2186,2634,2963,2314,2175,2662,2680,2531,3007,3176,2845,2453,2403,2222,2062,2400,2578,1838,2215,2257,2244,2563,2514,2866,2856,2452,2348,2780,2981,2397,2164,2532,2381,2362,2548,2302,2363,2655,2604,2458,2727,2764,2891,3574,2932,2164,1794,1574,1792,2719,3261,3189,3030,3046,2761,2749,2964,2811,2957,3012,2798,2283,2342,2273,2499,3006,3597,3860,3363,2655,2200,1811,1796,2212,2073,2746,3291,3183,3160,3580,3982,3611,3576,3473,3241,3355,3075,2466,1759,1010,1801,2231,2310,2536,2636,2864,3101,2556,1904,2155,2428,2773,2501,2298,2624,2855,2588,2228,2178,1846,1696,1653,1855,2066,2104,1952,1791,2405,2005,1868,2208,2309,2260,2064,2297,2696,3555,3663,3294,3064,3105,3400,3496,2819,2653,2541,2889,2730,2331,1799,1832,2133,2120,2196,2454,2249,1975,2572,2746,2886,3284,3270,2898,2235,1811,2055,3119,2605,2011,2770,3116,2775,2074,1802,1733,1640,1706,1810,1723,1546,1672,1891,1725,2275,2754,2097,1721,1685,1560,1720,1910,2143,2142,2135,2069,1716,1879,2199,1782,1473,1741,2210,2373,1873,1759,2226,2488,2151,1953,2481,2736,2291,2172,2329,2889,3498,3466,3304,3217,3204,3303,3510,3535,3476,3125,3418,3672,2897,2977,3167,3435,3548,3540,3891,4239,4253,3765,3150,3078,3129,2691,2422,3260,3794,3649,3001,2507,2585,2240,2625,3376,3616,2966,2192,1649,1823,1895,2149,1993,2319,3231,3387,3277,3326,3141,3162,3185,2432,1788,2323,2429,2454,2621,2463,2424,2653,3011,3365,3606,3416,3576,3826,3550,3311,3131,3138,3265,3233,3189,3133,3355,3231,2459,2024,2028,2397,2189,2364,2850,3034,3248,3109,2847,2497,2623,2998,2608,2465,2786,3087,3794,3529,2623,2630,2751,2657,2802],[2248,2038,2049,2249,2502,2543,2542,2563,2656,2511,2420,2776,2810,2578,3074,2990,2642,1991,1860,1991,1879,1834,1614,1698,1932,1813,1794,1933,1885,1901,2323,2941,3102,2173,2796,2889,2341,1878,2566,2820,2370,2253,2426,2575,2718,2514,1909,1846,2610,2754,2545,2459,2396,2288,2048,1720,1810,2294,2775,3083,2912,2581,2504,2421,2395,2911,2721,2044,1905,1832,1757,1976,2321,2252,2393,2699,2569,2155,1920,1944,1926,1764,1397,1503,2198,2859,2330,1835,1900,1926,1819,2226,2222,2042,1909,1848,1747,1998,2112,1731,1671,2140,2686,2444,2230,1841,1989,1899,1798,1809,2657,3208,3160,3551,3660,4015,3890,3751,3274,2839,2954,3859,4262,3546,3487,3670,3616,3125,2176,1659,1936,2802,3354,3429,3181,2942,2608,2254,2534,2473,2533,3092,3638,3278,3191,3351,2441,1847,2552,3143,3119,2645,2147,1895,2270,2058,1565,1867,1933,1833,1848,2210,2294,2470,2155,1719,2070,2277,2252,2142,2315,2602,2624,3110,3061,2652,2745,3002,2971,2900,3409,3459,2946,2801,2895,3310,3549,3112,2470,2669,3207,3480,3670,3284,2886,2125,1718,1752,1764,1938,2273,2413,2574,2076,2048,1653,1421,1964,2222,1999,2095,1931,1864,1915,1792,1953,1969,1694,1949,2000,2780,2797,2284,2522,2348,1745,1527,1502,1677,2074,2241,2719,2998,2570,2204,2819,2512,1920,1706,1830,1601,1653,1936,1852,1554,1498,1560,1486,1920,1785,1607,1697,1397,1486,1720,1581,1364,1406,1530,1671,1663,1442,2073,1814,1742,1581,1450,1582,1653,1818,1936,1932,1810,1786,1486,1644,2116,1587,1622,1721,2155,2436,2734,2919,2601,1914,1684,1532,1443,2015,2048,1684,1555,1545,1604,1577,1646,1910,1904,1663,1967,2416,2269,2565,3830,3830,3194,2762,1978,2068,2482,2325,2454,2850,2728,2529,2612,2373,2384,1982,2336,2386,2474,3022,3238,3322,3118,2597,2810,2898,2646,2370,2820,3551,3470,3528,3034,2327,1877,1716,1648,1579,1748,1882,1677,1923,1703,1708,1655,1581,1546,1610,1634,1628,1502,1454,1534,1590,1593,1667,1699,1799,1725,1496,1544,1668,1816,1907,1764,1736,1723,1788,2136,1697,1666,2327,2106,2045,2242,2019,1878,1898,1705,1459,1448,1911,2383,1625,1585,1809,1961,2316,2082,1665,1544,2030,2293,2249,2256,2326,2687,2459,2138,1999,1859,1764,1670,1553,1854,1936,1859,1656,1353,1501,1953,2003,2078,1488,1412,1733,1794,1755,1708,1589,1442,1376,1225,1098,1376,1175,1382,1397,1574,1882,2540,2885,2571,3020,3296,2462,1727,1696,1808,2199,2266,1987,1712,1544,1556,1572,1865,2137,2106,1709,1485,1502,1505,1525,1496,1939,1788,1547,1594,2018,1942,1792,1948,1973,2120,2008,1994,2139,2274,2110,1716,1761,2030,1905,2056,2798,2709,2332,2281,1683,2392,2470,1828,2087,2431,2285,2373,3045,2751,1854,1519,1417,1694,2047,2161,2260,2291,1967,1604,1785,1880,1759,1680,1832,2008,2105,1950,1598,1722,1784,1832,1732,1566,1400,1583,1612,1502,1703,1628,1468,1730,1889,1864,1799,1789,1947,1842,1831,2028,2078,1896,1969,2009,1973,1943,1985,2096,2123,2043,2129,2220,2497,2632,2890,2964,2397,2005,2220,2656,2395,2236,2271,1981,2151,2239,2085,2420,2730,2130,1768,1915,2133,2083,1952,2050,1983,2275,2425,1964,1930,2265,2088,1826,1578,1396,1711,2054,1708,1571,1641,1527,1479,1538,1568,1726,1907,2109,1774,1432,1738,2502,2744,2406,2417,2632,3018,2997,2469,2909,3365,3267,2147,2008,2205,1910,1930,1845,2069,1687,1859,2501,3639,2894,1900,1722,2147,2720,2543,2259,2509,2424,2096,2102,3008,3968,4086,3824,3740,3850,3694,3797,3860,3821,3465,3047,3295,4015,4182,3972,3424,3159,3584,3200,2542,1926,1603,2087,2633,2359,2209,2390,2393,2238,2095,2109,2069,2178,2160,2121,2779,3713,3513,3519,4611,4756,4725,4528,4315,4395,4139,2836,3108,4152,4376,4444,4505,4188,4252,4520,4207,3631,3153,3101,2858,2276,1865,1958,1971,1865,1804,1914,2399,2459,2167,1775,2035,2002,1766,1759,1725,1644,1588,1583,1615,1788,1998,2388,2280,2018,1924,2250,1946,1794,1766,1936,2075,1866,1884,2152,1784,1510,1592,1746,2032,1511,1901,2373,2214,1866,1549,1592,1817,1958,1784,1709,1643,1670,1766,1803,1754,1714,1612,1560,2119,2502,2058,1719,1892,1810,1708,1792,2217,2280,1941,1670,1568,1590,2083,2418,2064,2225,2455,1936,1604,1584,2356,2224,2378,2137,2197,2834,3007,2301,2071,2183,1321,1604,2107,2018,1904,1140,1073,1076,1184,1619,2095,2141,1631,1167,1848,2884,2041,1340,1323,1424,1931,2141,2460,3017,2473,1840,2239,2384,1769,1755,1808,1716,2298,2401,2221,1898,1700,1866,1960,1612,1575,1530,1622,2034,1832,1889,1870,1967,1653,1550,1470,1224,1432,1730,1432,1328,1378,1262,1377,1354,1582,1673,2304,2105,1956,1757,1527,1432,1383,1839,2079,1916,1882,1744,1469,1463,1415,1442,1636,1737,1628,1771,1679,1792,2136,1929,1519,1417,1810,2096,1459,1384,1432,1550,1726,1774,1649,1887,2328,2570,2215,2096,2320,2410,2144,1662,1187,905,1073,1633,1793,1578,1504,1589,1607,1568,1692,1904,1679,1889,1817,1824,1838,1985,2056,1708,1584,1818,2037,1908,1634,1986,1730,1895,1650,1344,1524,1808,1960,1573,1715,2189,2405,2490,2194,2352,2692,2278,2418,2874,3212,2808,2164,2043,1973,1840,1971,1970,2288,2235,2114,2141,1847,2209,2368,2027,2019,2280,2587,3110,3386,3245,3052,2745,2528,2365,1901,1584,1901,2116,2008,1736,1704,1798,1530,1202,1469,1560,1532,1421,1429,1611,1814,2040,1835,1981,2602,3095,3140,2757,2038,1818,1834,1910,2266,2622,2943,3459,3598,3362,3227,3485,2522,1498,1606,1441,1426,1769,2401,2536,1861,1512,1409,1377,1544,1783,1410,1452,1620,1434,1406,1506,1979,2564,2580,3054,3240,3206,2731,2290,2736,2798,3051,3166,3492,3548,3356,3220,2852,2609,2875,3408,3691,3933,3837,3574,3507,3243,2785,2980,2882,2871,2750,2514,2467,2167,2018,1794,1676,2123,2216,2364,2124,2238,2190,1996,2609,2305,1619,1514,1538,1476,1425,1782,1977,1805,1730,1816,1911,1860,2115,2706,2580,2718,2384,1508,1370,1860,2183,2019,1689,1930,2409,2109,2270,2080,2023,1965,2156,2005,1771,1910,1687,1727,1980,2234,1932,1676,1706,1667,1885,2004,1477,1143,1540,1831,1876,1831,2088,1933,1865,2078,1862,1648,2036,2002,1746,1947,2098,1870,1772,2420,2433,2784,2929,2896,3173,3332,3217,2743,2446,2216,2172,2274,1947,1710,1576,2060,2050,1742,1610,1554,1487,1415,1326,1200,1237,1290,1339,1544,1631,1739,1595,1687,1528,1271,1450,1716,1828,1740,1760,2430,2117,1547,1655,1453,1527,1541,1529,1383,1396,1336,1285,1370,1270,1397,1600,1368,1344,1356,1323,1512,1655,1558,1339,1460,1567,1464,1678,1719,1376,1239,1205,1376,1396,1287,1271,1310,1508,1981,2041,1570,1506,1674,2286,2836,1728,1370,1471,1503,1626,1696,1683,1803,1618,1355,1427,1645,1447,1234,1765,1932,2003,1836,1637,2098,2843,2394,1717,1394,1427,1825,1874,1338,1353,1252,1403,1664,2227,1968,1692,1549,1590,1759,1998,2213,1972,1727,1841,2237,1885,1948,1948,2115,1832,1680,1993,2488,2498,2313,2377,2474,2012,1641,1525,1426,1571,1502,1364,1368,1411,1338,1331,1295,1396,1421,1379,1436,1418,1346,1299,1332,1347,1312,1414,1244,1230,1542,1614,1533,1410,1389,1345,1357,1374,1514,1617,1546,2280,3462,3012,2094,1816,1576,1394,1944,2886,2800,2846,2242,1690,2504,3384,3273,3238,3141,2041,1521,2294,2706,2754,2798,3045,2964,2554,2502,2565,2600,2472,2035,2029,1754,1786,2194,2220,2775,2894,3066,2697,2409,2604,2459,2617,2998,2539,2261,2868,2686,2070,2424,2100,2242,2205,2052,2069,1883,1937,2058,2210,2121,1958,1759,1675,1558,2252,2974,2707,2477,2085,2128,2450,2054,2061,2186,1990,2297,2329,2458,2812,2865,2951,2503,1909,2310,2809,2843,2762,2746,2680,2359,1321,1100,1072,1182,2005,2457,2654,2420,2468,2503,2285,2171,2239,2371,2364,2467,2513,2830,2309,2170,2673,2564,2843,3274,3187,2626,2129,2670,2188,2329,2774,2409,1962,2164,2112,2310,2503,2492,2564,2895,2778,2878,3352,3182,2263,2145,2585,2567,2309,2227,2126,2156,2436,2571,2779,3191,2791,2942,3223,2740,2198,2026,2241,2658,2977,2999,2798,2728,2842,2979,2945,3028,2711,2285,2288,1894,1699,1929,2263,2899,3530,4060,3620,2445,2075,2304,2144,2250,2608,2181,2237,2620,2985,3062,3278,3580,3554,3429,3447,3210,3195,3348,2723,1944,1689,2698,2525,2496,2753,2674,2445,2601,1978,1935,2549,2221,2125,2370,2558,2552,2655,2696,2717,2169,1646,1670,1691,1737,2061,1751,1595,1552,1999,2166,2322,2300,2264,2424,2301,2270,2283,2793,3265,3874,3862,2989,2966,3002,2795,2718,2711,2834,2853,3328,2979,2105,2307,2211,2867,3090,2232,2432,2811,2663,2990,3031,2925,3230,3227,2622,2576,2522,2064,1950,2418,3365,3613,3074,2185,1837,2105,2020,1781,2082,1650,1703,1886,1630,1464,2040,2566,2169,1708,1476,1630,1276,1451,2089,2743,2910,2697,2286,2238,2050,1918,1871,1906,2178,2285,2031,2198,2020,1793,2024,2461,2451,1907,1927,2574,3184,3651,3418,3210,3249,3233,3222,3376,3388,3553,3002,3262,3386,3276,3294,3655,3872,3654,3662,4112,4110,3941,3364,2920,2824,2855,2732,2955,3244,3215,3459,3044,2780,3270,2754,2991,2832,2992,2449,2387,2625,2271,2163,2200,1700,2351,3669,3754,3510,3347,3131,3495,3646,2313,1990,2613,2338,2331,2728,2778,2548,2576,2998,3296,3826,3416,3658,3836,3671,3382,3035,3230,3297,2965,3072,3328,3400,3630,3566,3198,2597,2566,2470,2731,3015,3081,3065,2767,2750,2391,3034,3282,2756,2706,2770,3116,3986,3858,3068,3190,3196,2930,2844],[2314,2073,2155,2293,2465,2591,2524,2753,2958,2648,2709,3312,2728,1999,2912,2215,2391,2080,1628,1873,2003,2233,1911,1539,1601,1678,1685,1446,1820,1917,2276,2521,2448,1934,1944,1875,1968,2645,3376,3536,3110,2313,1824,1696,1933,1686,1676,2186,2197,1885,1954,1996,2019,2272,2391,2523,3209,3417,3149,3097,2746,2318,2223,1989,2162,2896,2767,2298,2250,2211,2239,1781,1688,2092,2480,2530,2262,2002,2107,2707,2510,1760,1958,1919,2618,3042,2590,2296,1902,1759,2095,2393,2107,1615,1560,1699,1663,1865,2130,1730,1693,2437,2809,2389,2670,2143,2232,2287,1925,1508,1995,3018,3227,3687,3530,3755,3283,3129,3219,3251,3704,4289,3803,3003,3094,3253,2984,2141,2376,1977,2251,2415,2810,3206,3116,2840,2390,2484,2472,1982,1859,2218,3244,3287,3143,2964,2097,2341,2317,1918,2110,1998,1469,1584,1748,1431,1386,1814,2471,2295,1993,1882,2401,2416,1917,1858,2176,2107,2056,2296,2036,2078,3035,3428,3422,2742,2074,2243,2677,3005,3492,3341,3012,3123,2976,3166,3633,3706,2929,2984,3354,3358,3751,3660,3081,2569,1739,1608,1767,1889,1864,1558,1735,1977,1764,1531,1518,1937,2189,2459,2718,2642,2104,1915,2147,2304,2278,1955,1714,1867,2609,2810,2430,2128,1712,1516,1544,1506,1914,2781,3323,3405,2850,2722,2634,2996,2610,1968,1794,1586,1376,1723,2032,1807,1584,1547,1540,1649,1798,1484,1515,1590,1460,1435,1388,1287,1396,1244,1506,1669,1813,1635,1724,1655,1563,1587,1722,1868,2105,2081,1653,1630,1887,1952,1561,1568,1526,1673,1855,1858,2454,2689,2509,2712,2304,1487,1346,1335,1448,2186,2351,1908,1560,1855,2226,1868,1646,1770,1704,1836,2748,3074,2334,2069,3270,3799,3387,2711,2029,1801,1932,1961,2602,3044,3020,3088,2958,2486,2384,2376,2385,2357,2533,2699,2741,2959,2631,2434,2978,3033,2504,2467,2897,2791,3177,3417,3144,2467,1719,1542,1481,1540,2022,2069,2039,2006,1509,1828,1962,1631,1583,1710,1657,1559,1591,1447,1374,1405,1578,1648,1704,2017,1778,1461,1624,1804,1742,1657,1583,1582,1843,2154,2612,1745,1532,1901,1894,1748,1837,2016,1980,1703,1785,1643,1540,1570,1855,1637,1838,1771,1689,2216,2819,2415,1978,2138,2272,2459,2542,2688,2728,2705,2399,1845,1689,1667,1502,1586,2049,2151,1934,1646,1542,1636,2390,1906,1708,1735,1734,1765,1641,1568,1634,1636,1443,1321,1096,911,842,1210,1738,1660,1440,1515,2176,2744,2707,2237,1946,1641,1842,1861,1722,1901,2033,2028,1761,1742,1780,1854,2186,2213,2110,1651,1359,1403,1437,1528,1549,1722,1694,1732,2060,2337,1939,1590,1610,1993,2285,2095,1621,1686,1926,2055,1999,1962,2019,2020,2332,2980,2836,2614,2360,2602,2453,2055,1914,1857,1811,1847,1951,2490,2500,2135,1883,1601,1704,2135,1671,1692,1936,1592,1909,2127,1736,1704,2134,2331,1954,1893,1819,1514,1633,1770,1782,1504,1394,1566,1654,1693,1742,1758,1761,1545,1613,1704,1780,1738,1787,1782,1709,1756,1970,1876,1769,1958,2072,1975,2011,2012,2014,2018,2056,2281,2207,2263,2587,2943,2724,2198,2010,2321,2826,2456,2459,2477,2146,2091,2244,1947,2055,2369,2034,1815,2006,2267,2022,2026,2306,3112,2802,2243,1801,1682,1771,1618,1488,1498,1559,1743,2117,1725,1690,1650,1522,1625,1565,1649,2294,2180,1675,1441,1378,1666,2342,2652,2279,2473,2728,3117,2894,2341,2265,2866,2651,1916,2337,2428,2333,2131,1944,1737,1512,1665,1954,2661,2051,1753,1984,1856,2149,2175,2294,2535,2539,2163,1808,3015,3843,3893,3761,3996,3947,3898,3827,3664,3978,3713,2865,2997,3277,3495,4116,3365,2777,3261,2831,2069,1996,1929,2085,2248,2180,2170,1970,2118,2345,2228,2204,2356,2387,2174,2093,2346,3168,3344,3926,4700,4688,4528,4428,4284,4274,3786,3437,3902,4364,4450,4327,3940,3775,4255,4428,4284,4063,3576,3365,2780,2056,1897,1980,1941,1928,1863,1969,2480,2917,2419,2218,2424,2031,1764,1766,1740,1464,1462,1824,1716,1776,2271,2281,2285,2553,2476,2448,1860,1502,1412,1562,2105,2233,1995,2083,1614,1526,1524,1763,1971,1725,1791,1793,1643,1413,1586,2114,1935,2078,1873,1584,1982,1881,1753,1567,1416,1404,1415,1577,2011,1992,1842,1594,1743,1527,1709,2174,2836,2366,1884,1908,1678,1720,2024,1746,1634,2003,2143,2096,1587,1415,1757,2006,2338,2022,2476,2996,2157,1399,1090,1113,660,827,1705,2053,2177,1737,1258,1332,1283,1169,1650,2070,2010,1804,1093,1674,1611,1365,1244,1207,1953,2087,1961,2370,2330,2166,2747,2398,1991,1895,1824,1815,2800,3320,2921,2106,1732,1876,2115,1455,1098,1332,1659,1801,1715,1481,1513,2048,1904,1615,1592,1406,1411,1552,1510,1665,1909,1881,1614,1889,2103,1732,2049,1732,1559,1547,1525,1808,2335,2151,1848,2006,1947,1620,1503,1566,1741,1502,1516,1653,1576,1703,1803,1984,1981,2023,1903,2036,1852,1708,1536,1990,1968,1746,1834,1747,1550,1449,1988,2962,2968,2134,2336,2544,2001,1716,1679,1462,1491,1709,1628,1690,1728,1835,1560,1438,1445,1474,1438,1649,1789,1790,1803,2049,2048,1996,2093,1830,1711,1668,1574,1746,1665,2003,1742,1532,1628,1843,1912,1646,1690,2159,2248,2194,2019,2132,2159,2195,2592,2885,2874,2786,2802,2167,1851,1910,1862,1975,2065,2677,2511,2231,2235,2354,2334,2265,2810,3215,3281,3457,3813,3145,2700,1919,2300,2310,1773,2004,2138,1842,1705,1859,1609,1678,1689,1428,1533,1459,1514,1919,1913,2114,2391,2424,1728,1817,2650,2543,2319,2732,2426,1838,1721,1776,1928,2177,2995,3693,3648,3854,4049,3112,1652,1553,1503,1297,1415,1492,2391,2236,1506,1561,1731,1870,1606,1589,1399,1482,1543,1774,1644,1516,1760,1695,1663,2460,3021,3124,3006,2707,2729,2645,2987,3196,3304,3317,3471,3562,3486,3433,3317,3164,3471,3947,4040,3772,2835,2444,2081,2383,2170,2222,2120,1781,1841,1864,2174,2360,1940,2399,1997,2265,2796,3042,2456,1654,2114,2093,1532,1612,1621,1540,1326,1397,1711,2021,1901,1835,1784,1670,1896,1969,1803,1878,1642,1328,1579,2242,2100,2094,1714,1597,1534,1704,2145,2235,2017,2056,2194,1689,1559,1797,2071,2270,2555,2391,1821,1393,1479,1587,1522,1671,1650,1370,1367,1627,1614,1526,2133,2052,1970,1950,1528,1776,2153,1948,1869,1876,2065,2031,1827,2313,2224,2895,2736,2727,3125,3139,2752,1975,1697,2039,2061,2114,1721,1481,1505,1960,1787,1425,1309,1405,1472,1326,1321,1351,1482,1381,1443,1644,2046,1916,1568,1501,1413,1321,1400,1657,1930,1688,1855,2547,2023,1793,1577,1556,1548,1375,1461,1437,1432,1371,1293,1424,1375,1395,1422,1287,1300,1281,1215,1288,1744,1839,1465,1483,1547,1425,1970,1919,1264,1268,1318,1357,1449,1544,1562,1378,1760,2098,1788,1403,1298,1440,1617,2132,1696,1543,1725,1623,1586,1442,1346,1476,1379,1293,1507,1557,1603,1510,1834,1841,1755,1707,1404,1619,1680,1334,1315,1424,1498,1474,1619,1665,1569,1614,1418,1354,1555,1398,1219,1255,1521,1615,1651,1581,1661,1997,1970,2332,2195,2188,2065,1749,1488,1584,1973,2457,2416,2189,2189,2143,1969,1809,1472,1235,1277,1399,1430,1400,1375,1352,1261,1301,1470,1542,1341,1471,1373,1273,1357,1400,1354,1403,1378,1171,1471,2081,2169,1503,1265,1274,1364,1443,1308,1407,1511,1493,2295,2839,2190,2037,1596,1323,1768,2280,2510,2831,2585,1900,2129,2698,3054,3146,3164,3360,2596,2199,3597,3397,2964,3132,3083,2687,2471,2297,1875,1982,2273,2374,2429,2293,2289,2221,1916,2409,2696,2557,2222,1854,1750,1896,2535,2975,2640,2253,2413,2288,2004,2242,2259,2234,1867,1909,2159,2036,1926,1897,1897,1668,2062,1662,1627,1908,2885,3520,3066,2382,2229,2332,2599,2427,1982,1604,1948,2150,1830,2573,2747,2902,3238,2745,2509,2716,3019,2814,2743,2717,3031,3096,1690,1346,1431,1744,2590,2762,2320,2419,2491,2397,2353,2544,2218,2032,2286,2357,1864,2663,3134,2493,2310,2519,2918,3138,2984,2585,2627,2703,2276,2580,2756,2521,2319,2120,2296,2522,1979,2072,2092,2532,2384,2565,2854,2687,1911,1948,2460,2453,1998,1922,2355,2327,2293,2526,3249,3336,3013,3619,3488,2879,2481,3145,3614,3038,2352,2554,2479,2808,3028,3182,3354,3074,2418,1853,2028,1798,1934,2474,2374,2512,3371,3370,2671,2039,2178,2217,2073,2273,2518,2534,2431,2644,3223,3308,3204,2976,2963,2532,2915,3143,3237,3328,3364,2728,2989,3230,2491,2598,2540,2502,2259,2263,2452,2581,2809,2792,2777,2955,2501,1869,2138,2575,2710,1869,1863,1856,1795,1754,1942,1756,1662,1836,1863,2175,2942,2939,2436,2425,2358,2070,1977,2463,2542,3168,3819,3438,3187,3090,2824,2804,2514,1929,2297,3060,3946,3531,3010,2150,2504,2576,2291,2917,2896,2724,3083,3140,3219,3792,3720,3029,2587,1897,1868,1938,2175,2853,3282,2786,1838,1882,2399,2180,1946,1768,1583,1901,1713,1599,1847,2968,3550,2610,1828,1696,1768,1089,1455,1696,1584,2168,2283,1806,1643,1786,1891,1831,2180,2333,2194,1970,1958,1750,1456,1698,2131,2335,1791,1871,2713,2923,3329,3428,3319,3363,3295,3181,3248,3538,3189,2646,2597,2717,3149,3481,3812,3720,3797,3930,4120,4165,3613,3067,2899,2534,2364,2476,2936,3143,3329,3094,3174,3639,3953,3336,2740,2954,2976,2136,2204,2558,2396,2204,1935,1945,3069,4081,4003,3773,3755,3212,3050,2840,1919,2091,2262,2354,2994,2928,2850,2639,2897,3035,3441,3647,3327,3291,3395,3249,2922,3184,3366,3194,3486,3670,3377,3105,3380,4000,3947,3006,2632,2728,2899,3017,3083,3141,3050,3288,2985,3352,3460,3177,3095,3085,3133,3653,3364,3037,3469,3291,3156,2803],[2556,2210,2132,2353,2422,2374,2532,2706,2944,3031,2899,2614,1948,1979,2540,2300,2410,1842,1486,1699,1834,1794,1746,1647,1600,1763,1964,1820,2120,2328,2231,1777,1666,1879,2042,2039,2513,3176,3284,3089,2784,2053,1478,1550,1898,1725,2209,2515,1915,1743,1827,1769,2009,2071,2164,3002,3736,3241,2957,2247,2018,2041,2355,2587,2720,2827,2705,2396,2206,2222,2285,1828,1660,2155,2352,2391,2231,1986,1961,2575,2585,1920,2612,3005,3557,3685,3450,2497,2038,2089,1909,2105,1968,1497,1444,1576,1724,1943,2094,2158,2249,2337,2718,2856,2807,2201,1884,1937,1894,1583,1770,2932,3313,3261,3255,3307,3010,2874,3026,3119,3716,4117,3266,2654,2613,2951,2984,2073,1944,2642,2953,2208,1911,2093,2136,2203,2653,2779,2375,2557,2354,2707,3288,3453,3356,2821,2120,2375,2287,1781,1945,2110,1828,1620,1535,1417,1650,1988,3117,2578,1758,1699,2191,2411,2337,2792,2817,2299,1910,2147,1880,2083,3129,3174,3023,2282,1794,2155,2150,2219,2828,2818,2580,2783,2443,2795,3502,3843,3212,3124,3464,3353,3563,3509,3248,3353,2646,2218,2083,1813,1553,1548,2058,2475,1970,1553,1770,2036,2473,3021,3592,3488,2169,1742,2078,2099,1988,1758,1893,2322,2409,2122,2037,1829,1817,1712,1434,1357,2073,2297,3254,3709,3458,2866,2255,2043,1902,1941,1694,1436,1269,1482,1626,1548,1669,1668,1947,1967,1644,1704,1620,1376,1418,1578,1472,1553,1905,1614,1561,1758,1909,1857,1633,1527,1472,1465,1549,1728,1738,1773,1685,1596,1995,2306,2167,1717,1506,1772,1721,1828,1821,1620,1638,2010,1680,1409,1404,1594,1839,1909,1917,1866,1645,1846,2103,1765,2088,2592,2623,2330,2218,2625,2675,2803,2746,2758,2687,2030,1387,1549,1955,2126,2502,2755,3118,3229,2778,2184,2317,2546,2446,2401,2696,2711,2756,2668,2491,2809,3189,3142,2536,2535,2696,2872,3254,3513,3474,2691,1766,1533,1643,1436,1654,1646,1784,1764,1510,1664,1675,1509,1768,1602,1529,1527,1750,1462,1172,1193,1459,1883,2652,2514,1728,1403,1468,1552,1411,1634,1835,1663,1766,2292,2553,2039,2092,2272,2113,2108,2556,2659,2556,1751,1736,2051,1652,1363,1624,1703,1556,1646,1777,1764,1990,2002,2056,1709,2119,2744,2832,3208,3312,3060,2231,1644,1703,1826,1988,1877,2093,1848,1851,1732,1802,1953,1960,1604,1794,1863,1657,1528,1385,1311,1447,1339,1404,1406,1198,1039,890,1243,1836,1669,1368,1431,1861,2267,2176,2048,2056,1754,1942,1790,1748,1884,2046,1926,1701,1926,1948,1734,1770,1758,1814,1481,1297,1257,1444,1599,1463,1468,1797,2131,2286,2556,1725,1657,1641,1891,1847,2046,1969,1990,1770,1644,1976,2115,2160,2304,2481,2390,1986,1951,1759,2331,2003,1691,1996,1924,1522,1519,1697,2137,1994,2521,2236,1986,2086,2335,1823,1693,1731,1528,1875,2132,1791,1868,2610,2723,1942,1698,1782,1405,1361,1616,1620,1399,1472,1670,1700,1649,1810,1907,1753,1526,1577,1653,1763,1854,1812,1717,1728,1789,1907,1987,1954,1896,2026,1907,1946,1892,1932,1862,1968,2092,2097,2090,2214,2536,2668,2471,2226,2513,2821,2721,2451,2153,2125,2103,2088,1919,2018,2129,1909,1867,2020,2433,2321,2413,2778,2599,2290,2150,1824,1843,1872,1681,1481,1457,1592,1847,2138,2034,1949,1607,1478,1690,1568,1468,1716,1981,1670,1360,1450,1686,2389,2770,2502,2640,2746,3064,2809,2358,2480,2614,2042,2049,2342,2172,2532,2238,2448,1908,1548,1498,1645,1964,1678,1980,2567,1926,2045,2227,2409,2650,2906,2450,1847,2775,3661,3673,3775,4048,3985,3871,3930,3791,3980,3994,3002,2938,3149,3309,3481,2915,2644,3293,3176,2561,2132,2176,2374,2652,2905,2374,1688,1832,2150,2230,2212,2294,2387,2208,1888,2023,2925,3130,4063,4611,4536,4455,4320,4212,3914,3552,3620,4436,4701,4785,4457,4083,4071,4250,4222,4270,4199,3811,3440,2539,1908,1886,2009,1955,1932,1832,2066,2153,2131,1692,1900,2050,1857,1696,1677,1795,1418,1420,1537,1472,1528,2039,2504,2459,2205,2126,1872,1492,1470,1437,1686,1937,2018,1952,2010,1609,1398,1710,2049,1994,2115,1993,1752,1938,2071,2270,2302,2017,2016,1897,1892,2308,2333,1966,1753,1825,1578,1487,1544,1742,1603,1477,1695,1504,1560,1737,2409,3005,2440,2238,2326,1696,1770,1967,1592,1537,1652,1813,2401,1938,1439,1530,2022,2243,2199,2611,2495,1910,1023,738,666,804,890,1729,2297,2075,2153,1954,1535,1257,1238,960,1527,1850,2045,1685,1080,1412,2212,2193,1691,1882,1798,1561,1780,1882,1932,2075,1928,1513,1379,2022,2322,2105,2784,3056,2380,1937,2139,2610,1959,1444,1767,1776,1970,1698,1460,1606,1770,1752,1444,1488,1845,1932,1459,1331,1708,1948,1948,1809,2134,2400,1939,1479,1760,1882,1576,1650,2010,2490,2087,1711,1598,1534,1744,1528,1518,1686,1507,1408,1428,1685,2223,2048,1679,1317,1336,1409,1665,2048,2046,1801,1857,1778,1991,1762,1713,1741,1545,2253,3183,2678,1731,2464,2834,2092,2071,2307,1866,1805,1987,1842,2194,2322,2031,1286,1356,1486,1256,1301,1542,1736,1736,1862,2067,1831,2188,2141,1514,1486,1569,1579,1425,1372,1572,1588,1464,1455,1578,1814,1808,1870,2446,2499,2425,1972,1973,2277,2410,2651,3053,2742,2446,3217,2510,2137,2037,2153,2197,1580,2254,2408,2284,2345,2396,2635,2950,3906,4476,4212,3629,4116,3607,2344,1847,3032,2758,2194,2328,1908,1654,1529,1793,1734,1774,1723,1913,1815,1488,1941,2095,2141,2675,3146,3392,2310,2176,2183,1722,1873,2577,2119,1772,1755,1736,1725,1732,2413,3360,3598,3812,3100,1847,1582,1613,1361,1266,1487,1476,1998,2065,1830,1537,1558,1698,1572,1431,1476,1333,1309,1520,1531,1382,1401,1500,1606,1978,2747,3248,3367,3354,2979,3084,3286,3449,3392,3392,3563,3666,3650,3567,3333,3186,3448,3971,3896,3580,2929,2963,3210,2946,2290,2510,2723,2452,2162,1764,1777,1876,2047,2318,2040,1989,2133,2932,2764,1936,2435,2699,1724,1548,1628,1544,1394,1511,1879,2020,1612,1514,1652,1597,1620,1588,1409,1386,1355,1426,1671,2042,2023,1864,1649,1624,1513,1560,1700,1738,1950,2688,2700,2114,1779,1820,2432,2630,2510,2343,2134,1664,1581,1774,1848,1927,1689,1383,1355,1367,1483,1462,1848,1811,2012,2057,1933,2126,2445,2537,1878,1578,2244,2574,2387,2383,2589,2846,2666,2824,2978,2622,2188,1680,2030,2172,1914,2149,1788,1494,1494,1637,1463,1321,1305,1360,1464,1372,1389,1379,1498,1422,1315,1293,1564,1426,1255,1299,1424,1499,1409,1691,2025,1709,1897,2074,1896,1882,1582,1572,1399,1282,1344,1318,1440,1466,1331,1389,1402,1414,1488,1379,1254,1196,1281,1603,2134,2283,1647,1592,1777,1375,1601,1375,1411,1845,1728,1371,1317,1854,1867,1319,1572,1741,1517,1650,1400,1528,1468,1640,1665,1543,1468,1416,1438,1416,1339,1511,1421,1428,1602,1678,1791,1697,1666,1644,1748,1598,1392,1586,1693,1738,1802,1808,1638,1572,1700,1629,1254,1154,1112,1151,1291,1495,1528,1320,1537,1736,1764,1740,1954,2115,1848,2130,2283,2115,1888,1611,1438,1454,1879,2765,2257,2076,2160,2144,2043,1904,1602,1331,1353,1356,1521,1476,1414,1302,1278,1360,1399,1452,1498,1632,1632,1864,1987,1682,1549,1551,1359,1515,1674,2439,2435,1790,1343,1229,1310,1367,1321,1276,1264,1476,2198,2764,2454,1946,1583,1604,1816,2140,2416,2900,2572,2181,2822,2962,3006,3057,3078,3395,2785,2558,3009,3274,3315,3063,2849,2596,2230,2478,2104,1670,1754,2271,2320,2487,2670,2149,1830,2042,1729,1720,2320,2026,1810,1720,2197,2604,2776,2351,2172,2107,2792,3128,2673,2395,1897,2113,2487,2723,2279,2322,2335,2283,2488,2091,2303,2678,3251,3505,2632,2279,2543,2491,2592,1980,1592,1752,2386,2305,1981,2654,2862,3021,3121,2823,3043,3017,3328,2792,2739,2699,2685,2596,1855,1646,1791,2485,3090,2264,1634,2029,2510,2600,2220,2387,2365,2215,2090,2134,2036,2546,2368,1833,1749,1964,2496,2871,2675,2319,2469,1987,2357,2656,2711,2828,2609,2439,2544,2933,2532,2635,2322,2193,1969,1980,2037,1892,1888,2174,2370,2709,2416,2251,2241,2358,2460,2802,3829,4360,4210,4219,3728,2976,2753,3544,4059,3548,2499,2609,2567,2709,2738,3002,3122,2809,2128,1877,1971,1846,2208,2655,2013,2069,3366,2624,2059,2423,2366,1993,2023,2061,2346,2648,2072,1823,2102,3108,3120,2745,2701,2542,2436,3030,3475,3397,3450,3182,2663,2867,2445,2038,2251,2293,2280,2569,2733,2977,3506,3648,3360,2945,2643,2288,2272,2610,2978,2249,2265,2208,2449,2604,2377,2126,1809,1696,1708,2091,2845,3257,3255,3060,2504,2432,2092,2190,2291,2552,3106,3028,2712,2872,3067,2765,2028,1542,2031,2712,3684,3660,2548,1770,1918,1883,2155,2810,2480,2611,2534,2664,2944,3316,3255,2910,2337,1935,2104,2008,2010,2072,2208,1754,1358,1529,1846,1890,1983,1802,2117,2148,1999,2688,2937,3663,3549,2304,1635,1545,1576,1440,1789,2036,2250,2501,2147,1730,1802,1750,1982,2170,2150,1841,1702,1988,2068,1920,1700,2024,2524,2416,2217,2833,3278,3067,2873,3262,3463,3516,3490,3445,3042,2723,2500,2137,1939,2026,2853,2916,2999,3044,3169,3326,3764,3948,3344,2850,2647,2470,2262,2441,3170,3151,2967,2238,2911,3719,3732,2962,2596,3040,2517,1841,2176,2275,2491,2446,2330,2198,2768,3507,3710,4095,4019,3054,2988,2829,1891,2283,2399,2808,2958,2476,2699,2856,2822,2638,3055,3084,2839,3168,3141,2697,2872,3492,3359,3305,3618,3929,3273,2940,2943,3219,3241,2675,2317,2602,2932,2934,2674,3228,3708,3662,3693,3731,3855,3661,3855,4009,3542,3396,3264,3353,3393,2917,2669,2711],[2467,2416,2322,2425,2364,2265,2476,2473,2867,3210,3286,2577,2712,2522,2315,1980,1818,2007,2097,1819,1677,1716,1959,1651,1562,1467,2227,2294,1957,1964,1961,1795,1638,1924,2244,2211,2530,3046,2977,2731,2448,2224,2049,2151,2027,1714,1969,1928,1430,1505,1515,1924,1852,2410,2381,3067,3391,2940,2574,1919,1717,2030,2508,2771,2865,2706,2801,2707,2183,1857,1915,1673,1567,1798,2229,2280,1736,1637,1543,1691,1952,1847,2511,3253,3665,3699,3454,2459,2286,2420,1729,1738,1609,1458,1423,1554,1736,1795,1804,2296,2139,2077,2305,2059,2056,2194,1506,1413,1456,1731,2147,2413,2520,2824,2783,2464,2378,2967,3884,3925,4362,4142,3284,2806,2644,3186,3449,2457,2314,3609,3300,2173,1987,1730,1764,1847,2314,2479,2966,3970,3573,3566,3322,3205,3175,3001,3109,3335,2862,2185,2022,1927,1910,1701,1663,1792,1771,1782,2555,2354,1576,1537,2018,2562,3074,3583,2833,2316,1832,2393,2546,2556,2781,2540,2164,2183,2309,2153,2004,2180,2621,2620,2668,3488,3209,2929,3272,4000,3693,3384,3650,3536,3628,3228,3282,3172,3279,3008,2398,1908,1575,1773,2089,2193,1970,1720,1861,2172,2779,3179,3242,2999,2063,1800,1833,1973,2266,2265,2218,2274,2192,1865,1985,1728,1858,1700,1489,1672,1897,1568,2248,3518,4049,3184,2334,2067,2068,2743,1965,1647,1444,1350,1695,1943,1832,1721,1721,1559,1655,2072,1708,1440,1528,1664,1490,1754,1986,1844,1582,1620,1824,1890,1960,1806,1507,1554,1827,1660,1419,1743,1958,1849,2112,2266,2060,1710,1612,1644,1581,1742,1619,1448,1531,1667,1497,1432,1810,1878,1802,1656,1494,1613,1913,1572,1821,1819,2250,2630,2919,2304,1801,1926,2192,2270,1959,1773,1640,1583,1632,1503,1736,2370,2785,2738,2897,2846,2325,2273,2365,2480,2329,2406,2810,2679,2891,2943,2868,3263,3617,3466,2918,2695,2958,3073,3139,3438,3438,2856,2115,1719,1725,1512,1417,1530,1774,1729,1505,1465,1476,1521,1693,1619,1779,1807,1854,1655,1441,1572,1794,2100,2417,2126,1616,1395,1455,1477,1592,1832,1818,1855,2056,2704,2678,2543,2984,2845,2330,2653,3243,2950,2931,2576,2336,2166,1693,1306,1398,1593,1761,1896,1694,1493,1521,1597,1741,1749,1789,2359,2828,2985,3060,2978,2174,1994,1974,2176,2510,2250,1977,1825,1799,1458,1666,1982,1775,1597,1670,1603,1542,1654,1448,1335,1503,1466,1459,1394,1347,1303,1210,1422,1573,1438,1474,1299,1551,1838,2026,2198,1773,1436,1820,1781,1785,2139,2053,1713,1506,1483,1519,1582,1852,1941,1807,1475,1564,1529,1426,1419,1648,2310,2484,2547,2257,2363,1590,1700,1740,1691,1710,1745,2169,2533,2269,2420,2496,2342,2407,2320,2065,2153,1728,1588,1947,2259,2381,1941,1843,2100,1681,1581,2066,2532,2631,2662,2234,1951,2093,1980,1544,1424,1491,1493,1981,2215,1879,1786,2333,2399,2067,1700,1708,1597,1516,1715,1628,1441,1376,1488,1512,1611,1773,1703,1738,1742,1661,1600,1711,1832,1699,1615,1603,1763,1929,2041,1874,1845,1832,1811,1910,1882,1956,2094,2236,2317,2198,2231,2248,2263,2648,2899,2668,2578,2561,2467,2055,1907,2267,2570,2488,2110,2093,2174,2093,2146,2240,3064,2979,2813,2799,2468,2745,2410,1789,1810,1858,1725,1452,1536,1526,1766,2021,2054,1827,1627,1518,1573,1579,1421,1587,1969,1743,1469,1623,1826,2357,2476,2083,1718,2076,2610,2502,1778,1832,1824,1828,2544,2050,1822,2007,1873,1811,1658,1553,1464,1612,1692,1581,2079,2804,2021,2078,2994,3131,3294,3843,3044,2081,2491,3239,3630,3618,3684,3776,3705,3809,3955,4062,3881,3273,3107,3349,3466,3219,3018,2651,2763,2523,2382,2626,3086,3582,3946,4087,3117,2141,1991,2126,2229,2253,2231,2217,2398,2027,2250,2808,3182,4064,4359,4284,4408,4452,4049,3730,3375,3167,4264,4652,4664,4501,4284,4148,3939,3775,3971,3969,3783,3396,2292,1846,2002,2135,2056,1956,1829,2057,2078,1783,1634,1717,1596,1725,1917,1712,1898,2060,1770,1505,1461,1563,1603,1816,1813,1707,1620,1597,1593,1536,1551,1661,1724,1942,1977,1900,1726,1682,2265,2420,2056,2048,1920,1901,1938,1610,1527,1810,2031,1737,1549,1522,1609,2054,2108,2408,2468,1946,1586,1426,1492,1405,1500,1667,1660,1938,1875,1897,2124,2374,2452,2470,2203,1829,1808,1535,1524,1691,2148,2165,1771,1719,1722,1787,1804,2102,2355,2132,2354,1819,1094,1202,1627,1765,2188,2376,2131,2061,2092,2066,1197,1034,1101,914,1485,1925,2204,1694,1495,1762,1755,1616,1691,1664,1896,2216,1838,2118,2052,1785,1526,1526,1815,1997,2179,2110,2055,2062,2916,2600,2048,2555,2138,1626,1730,2157,1947,1917,2087,1562,1599,1581,1379,1694,1754,1371,1176,1425,1559,1460,1768,2299,2569,2073,1688,1754,1794,1576,1548,1695,2032,1735,1629,1490,1369,1405,1464,1490,1469,1415,1298,1455,1733,2067,1793,1583,1256,1106,981,1044,1880,2188,2076,2226,1729,1762,1569,1520,1520,1544,1691,2137,1821,1438,2316,2934,2562,2349,2438,1698,1544,1636,1607,1744,2014,1943,1783,1620,1548,1584,1453,2026,2713,2482,2240,2082,1825,1765,1821,1727,1583,1565,1876,1911,1741,1685,1519,1565,1470,1606,1861,1833,1854,2096,2498,2372,1842,2257,2436,2070,2386,2813,3019,3255,3439,3058,2436,2866,3270,2529,1841,1900,1991,1938,2249,2687,3037,3261,4504,4900,4393,3168,3144,3240,2228,1914,2366,2494,2406,2257,1897,1618,1487,1550,1592,1854,2259,2284,1982,1951,1743,1321,1650,2116,2741,3405,3300,2634,1748,1621,2160,2087,1658,1587,1547,1614,1617,1639,1756,2339,3274,2991,1780,1560,1603,1508,1389,1634,1729,1435,1417,1484,1454,1405,1377,1374,1560,1367,1418,1356,1344,1377,1323,1268,1309,1428,1913,2043,2886,2875,2734,2831,2902,3164,3378,3462,3448,3491,3570,3674,3610,3491,3241,3254,3378,3566,3481,3372,3383,3320,3396,3296,2700,2325,2542,2645,2231,1785,1581,1818,2389,2094,2320,2295,2047,2545,2337,2265,2278,2499,2076,1739,1709,1714,1730,1581,1668,1918,1866,1788,1765,1494,1542,1466,1453,1539,1572,1528,1654,1824,1781,1455,1728,2139,2080,1835,1703,2009,2376,2425,1836,1802,1881,1881,2242,2774,2643,2337,2115,1853,1538,1728,2040,1924,1758,1581,1631,1846,1692,1470,1630,1702,1713,2002,2109,1967,2609,2521,2130,2235,2757,3309,2743,1978,2202,2315,2389,2807,2777,2491,2292,1876,2236,2479,2584,2122,1816,2121,1796,1394,1347,1339,1388,1339,1477,1440,1299,1271,1311,1349,1371,1488,1443,1183,1285,1400,1482,1502,1352,2241,2105,1792,1785,1897,1899,1579,1331,1291,1380,1330,1280,1352,1524,1505,1369,1344,1356,1274,1480,1535,1282,1195,1449,2156,2751,2430,1503,1622,1829,1362,1584,1602,1736,2058,1785,1402,1272,1287,1200,1408,1783,1706,1431,1715,1534,1562,1684,1757,1785,1642,1731,1525,1357,1515,1514,1831,1540,1335,1639,1844,1819,1699,1487,1396,1428,1427,1491,1523,1884,2259,2198,2060,2020,1852,1499,1371,1341,1346,1230,1278,1319,1466,1366,1392,1526,1699,1936,1868,1909,1909,1598,1554,1767,1810,1705,1802,1590,1479,1795,2820,2273,2001,2143,2133,2068,1948,1810,1575,1512,1343,1378,1322,1323,1218,1328,1378,1457,1501,1434,1429,1535,1837,2066,2076,1887,1516,1415,2083,2026,2176,2279,1885,1604,1427,1395,1498,1362,1196,1282,1422,1932,2030,1575,1819,2181,2046,1840,2183,2536,2278,1818,1924,2440,2713,2646,2618,2752,2733,2916,2814,2414,2939,3413,3461,3454,2640,1698,2020,1930,1911,2008,2088,2685,3298,2734,1998,1721,1656,1604,1960,2803,2401,2027,2081,1859,2310,2833,2443,2049,2087,2466,2623,2842,3487,2433,2119,2336,2922,2760,2756,2725,2687,2232,1925,2264,2735,2938,2955,2910,2419,2461,2272,2108,1647,1603,2045,2769,3054,2652,2399,2362,2569,2830,3218,2706,2896,2998,2867,2620,2768,2851,2675,2387,2154,2193,2652,2333,1555,1251,1492,1975,2204,2535,2464,2612,2703,2397,2149,2200,2287,2460,2478,1978,1960,2540,2751,2622,2470,2361,2094,2330,2606,2742,2814,2789,2606,2552,2960,2715,2654,2379,1920,1723,1743,1730,1583,1892,2615,2779,3000,2674,2497,2562,2924,2822,2767,3328,4040,4440,4086,3596,3077,2730,2823,3429,3460,2302,2523,2758,2632,2302,1815,1928,2277,1746,2105,2474,2276,2414,2612,2017,2562,2851,1618,1597,2689,2713,2230,1947,2101,2764,3006,2325,2226,2076,3121,3233,3174,3006,2602,2368,2814,3331,3564,3711,3430,2320,2424,2401,2028,2124,2185,2272,2627,2385,2543,3320,3473,3319,3082,3260,3427,3073,2637,2791,2554,2050,1882,2735,3078,2711,2670,2353,1963,2214,2813,2462,2679,3047,2880,2532,2394,2013,1960,2388,2690,2929,2924,2631,2700,3011,2797,1969,1903,2008,2113,2387,2584,2325,2022,1897,2081,2277,2208,2330,2446,2049,2151,2185,2216,2375,2351,1948,1749,2023,2188,2050,2156,1901,1584,1430,1522,1902,2105,1900,2193,2699,2214,1936,2946,2980,3188,2501,1741,1443,1571,1594,1820,2157,2010,2684,3122,2960,2250,1827,1796,2113,2084,2122,1946,2303,2343,1980,2052,2115,2518,2634,2308,2364,2652,2574,2412,2410,2471,3046,3198,3086,3235,2535,2255,2687,2092,2052,1900,2799,2965,2197,2118,2608,2658,2867,3076,2822,2486,2330,2561,2705,2931,3145,2850,2609,2533,3028,3118,2901,2621,2613,2458,2181,2184,2309,2049,2441,2509,2292,2150,2187,2633,3461,4109,3918,3377,3660,2644,1876,2499,2475,2035,2237,2295,2852,3234,2802,2446,2975,3504,3485,3517,2940,2568,2702,3262,3605,3454,3359,3400,2683,2263,2609,2764,2902,2783,2470,2706,2828,2775,2417,3263,3618,3116,3251,3817,4165,3982,3818,3979,3370,3203,3535,3430,3064,2790,2529,2544],[2510,2338,2622,2284,2211,2314,2245,2347,2817,3234,3614,2740,2201,2484,2200,1905,2397,2336,2302,2101,1824,1979,2220,1820,1747,1636,1924,2091,1892,1572,1640,1676,1539,1895,2391,2515,2313,2730,2377,2214,2045,2590,2811,2398,2048,1811,1676,1763,1623,1665,1742,1908,1956,2376,2701,3543,3291,2707,2601,1963,1773,2092,2537,2576,2735,2662,2790,2830,2235,1739,1827,1820,1708,1900,2046,1808,1898,1947,1614,1537,2022,2255,2434,3129,3735,3360,2799,2764,2911,2380,1606,1645,1606,1483,1356,1446,1533,1621,1572,1639,1397,1470,1760,1594,1948,2193,1593,1492,1592,2312,2422,2119,2348,2788,2608,2119,1909,2451,3720,3901,4488,4002,3594,3269,3109,3222,3185,3077,3572,3665,2498,2116,2288,1687,1953,2052,2670,2595,2864,4006,3948,2960,2270,2239,2340,2625,2988,3286,2645,2684,1925,1555,1855,1826,1770,1603,1549,1720,1982,2087,1608,1475,2021,2874,3199,2850,2463,2316,2126,2343,2596,2633,2987,2635,1994,2608,2874,2770,2136,2191,2724,2502,3110,3794,3779,3487,3682,4217,4352,3719,3072,2808,3472,2757,2731,2821,2678,2122,2037,2162,2082,1884,1805,1830,1844,2242,2391,1945,2171,2337,2042,1854,1571,1788,1888,1943,2295,2281,2205,1866,2092,2074,1910,1461,1518,1654,1667,2006,1831,1439,1918,3233,4107,3249,2873,2510,2256,2402,2171,1902,1510,1398,1741,1687,1783,2179,2031,1902,1851,1614,1450,1477,1902,2018,1568,1546,1672,1718,1690,1781,1820,1819,1929,2013,1815,1821,1743,1592,1490,1831,1830,1716,2021,1854,1550,1672,1505,1390,1660,1622,1541,1514,1788,1825,1666,1763,1849,1682,1655,1837,1499,1999,2247,1505,1825,2374,2337,2429,2624,2220,2129,2261,1819,1825,2194,2071,1882,1771,1471,1529,2037,2824,3426,3426,2978,2357,1785,2149,2502,2554,2128,2966,3030,3017,2653,2666,3077,3182,3208,3176,3198,3449,3553,3419,3152,3338,3417,2629,2100,1793,1488,1491,1460,1494,1668,1738,1732,1771,1600,1612,1686,1621,1753,1815,1723,1464,1347,1698,2020,1748,1788,1794,1540,1785,1717,1593,1722,1687,1665,1761,2076,2599,2668,2470,2479,2601,2281,2949,3278,3052,2728,2867,2640,2362,2064,1541,1493,1722,2304,2580,1861,1547,1570,1560,1396,1595,1654,1632,1998,2136,2294,2239,2286,2663,2193,1888,1866,2194,1791,1614,1562,1484,1808,1965,1722,1882,1700,1638,1742,1439,1337,1507,1489,1346,1338,1374,1422,1423,1419,1461,1659,1528,1461,1495,1704,2010,2365,1882,1404,1490,1895,1793,1641,1930,1722,1378,1330,1551,1538,1533,2161,2110,1529,1759,2256,1801,1649,1689,1845,2359,2603,2873,2749,2354,1998,1993,2061,2300,2160,1700,2044,2194,2250,3116,2997,2584,2566,2092,1819,2049,2019,2041,1721,1604,2045,1787,1781,1997,1807,1664,2019,2303,2522,2198,1933,1862,1913,1859,1544,1393,1516,1641,2260,2363,2250,2100,2349,2006,1831,1649,1605,1617,1571,1784,1894,1768,1722,1615,1456,1551,1456,1353,1643,1698,1548,1450,1651,1808,1682,1717,1642,1948,2188,2066,1966,1833,1796,1848,1955,1970,1993,2167,2576,2807,2258,2215,2175,2051,2613,2622,2470,2501,2396,2222,2067,1977,2171,2596,2414,2033,2260,2270,2147,2093,2481,3305,3064,3012,2899,2863,3247,2552,1826,1533,1606,1483,1509,1636,1773,1743,1781,1675,1516,1679,1748,1858,1550,1506,1679,1837,1710,1804,2054,2436,2562,2444,2260,2181,2220,2157,2067,1703,1943,1600,1709,2123,1803,1686,1740,1662,1634,1566,1432,1452,1616,1537,1595,1846,2163,1787,1472,2696,3077,3151,3884,3318,2310,2264,2604,3116,3484,3740,3675,3475,3216,3437,3758,3368,3085,3204,3155,3032,2684,2675,2844,3062,2923,2751,3444,3893,4024,4208,4284,3739,2670,1842,2058,2261,2238,2170,2183,2221,2171,2263,2566,3009,3719,4200,4288,4475,4568,3857,3562,3607,3374,4112,4472,4100,3984,4090,4029,3810,3604,3652,3891,3768,2932,1985,1902,2204,2326,2215,1937,1842,2076,2087,1860,1861,1818,1653,1624,1820,1712,1709,1990,1849,1566,1720,1913,1786,1644,1559,1753,1609,1604,1659,1573,1549,1466,1649,1833,1998,1780,1449,1566,1885,2207,1965,1776,2090,2015,1367,1340,1742,1848,1766,1522,1697,1658,1486,1664,1771,2476,2459,2169,1640,1310,1297,1334,1669,1689,1763,2105,2109,1672,1922,1989,1655,2036,2519,2262,1841,1572,1582,1636,2042,2171,1937,1714,1809,1832,1990,2498,2282,2414,2777,2656,2251,2263,2329,2420,2443,2244,1761,1490,1939,2088,1781,1174,1225,1247,1250,1522,2076,2068,1941,1762,1827,1764,1526,2005,2618,2346,2293,2322,1975,1514,1243,1509,1776,1800,2059,1816,1665,1381,2037,2337,1706,1893,1621,1394,1821,2169,1963,1782,1848,1516,1615,1673,1508,1825,1653,1294,1580,1854,1672,1643,1637,1998,2348,1920,1587,1722,2081,1970,1771,1598,1620,1508,1434,1475,1716,1832,1629,1541,1499,1572,1861,1999,1825,1629,1314,1301,1242,1207,1057,1082,1484,1716,2178,1794,1428,1496,1597,1411,1707,1926,1188,1083,1268,1362,1786,2281,2548,2791,2017,1562,1506,1441,1632,1805,1800,1902,2259,2174,1797,2062,2046,2500,3034,2913,2392,2117,2031,2054,2502,2648,1911,1950,2423,2272,2254,1750,1443,1631,1451,1428,1587,1585,1647,2078,2835,2612,1863,2143,2024,2444,2684,2700,3195,3378,3295,2954,2357,2834,3404,3084,2458,2286,1880,1612,2090,2601,3050,3598,4296,4247,3370,2221,1772,1868,1945,2128,2503,3046,2236,2062,1903,1509,1458,1482,1375,1573,1747,1581,1601,1562,1333,1341,1631,1620,2010,3056,3892,2876,1880,1758,1714,1762,1937,1699,1799,1819,1642,1520,1599,1861,2282,1742,1321,1499,1542,1458,1513,1758,1550,1390,1401,1400,1359,1444,1456,1489,1472,1609,1780,1594,1346,1404,1493,1404,1421,1332,1476,1758,2968,3444,3278,2634,2430,2691,2653,2821,3120,3535,3731,3816,3885,3786,3116,3144,3458,3547,3525,3606,3755,3620,3685,3632,3145,2850,2607,2569,2102,1716,1354,1358,1785,2064,2428,2194,2184,2264,1663,2349,2264,2612,2320,1804,1512,1848,2218,1880,1711,1890,1816,1687,1778,1714,1564,1354,1572,1514,1803,1885,1848,2088,1799,1639,2083,2177,2010,1853,1717,2242,2928,2953,2846,2592,2442,2137,1945,1997,1936,2109,1820,1851,1696,1614,1606,2005,2249,1941,1787,2045,1963,1576,1595,1680,1569,2309,2715,2118,2352,2199,2232,2575,3014,3963,3839,2368,2377,2339,2732,3190,2978,2657,2583,2504,2463,2790,3159,2481,1933,2430,1870,1334,1222,1342,1406,1255,1329,1482,1435,1405,1400,1311,1493,1926,1776,1216,1157,1400,1362,1316,1338,2112,2052,1748,1586,1488,1361,1248,1187,1181,1366,1381,1437,1671,1716,1448,1327,1272,1262,1296,1331,1366,1256,1306,1355,1902,2976,2240,1410,1588,1656,1309,1535,1574,1365,1492,1419,1421,1237,1318,1503,1535,1570,1546,1501,1553,1517,1848,1881,1654,1587,1619,1910,1770,1561,1623,1537,1477,1355,1155,1600,1982,1892,1617,1289,1120,1249,1300,1400,1315,1342,1580,1641,1501,1476,1308,1200,1346,1600,1798,1241,1277,1425,1426,1499,1672,1726,2056,2422,2205,1999,1897,1422,1340,1505,1565,1624,1983,1757,1599,1760,2755,2530,1957,2138,2041,2060,1918,1749,1537,1411,1323,1342,1332,1322,1316,1272,1281,1396,1400,1407,1460,1322,1333,1789,2767,1969,1384,1368,1892,1791,1855,1920,1494,1456,1236,1384,1577,1225,1332,1385,1323,1458,1510,1441,1903,2388,2379,2292,2524,2232,1682,1631,1920,1908,2012,2132,2360,2366,2510,3051,3076,2744,2823,3229,3708,3774,2785,1790,1726,2343,2558,2521,2105,2175,2502,2420,2114,1668,1778,1987,2314,2610,1988,2212,2212,1665,2266,2939,2276,2055,2304,2146,2093,2752,3247,2717,2912,2813,2666,3120,2979,2535,2153,1729,2497,2797,2806,2790,3112,3471,2667,2259,1822,1959,1516,1381,1916,2345,3129,3183,3007,2453,2424,2771,2817,2707,2879,2858,3146,2885,2623,2739,2641,2675,2213,2133,2096,1876,1999,1643,1791,1924,1966,1833,1925,2361,2208,2085,2366,2474,2359,2198,2072,2151,2294,2578,2691,2361,2106,2210,2392,2604,2411,2241,3084,3317,2476,2583,3028,2895,2933,2541,1905,1938,2237,2250,2002,1932,2092,2600,2857,2601,2685,3326,3444,2755,2619,2906,3183,3480,3516,3473,2677,2601,2332,2512,2696,2264,2608,2728,2577,2707,2188,1861,2202,1952,2878,2859,2280,2438,2492,2646,3090,2611,1594,1912,2745,2541,2832,3134,3064,2596,2999,2500,2523,2956,3296,3331,3318,3022,2596,2647,3065,3256,3373,3918,3862,3468,3639,3253,2780,2584,2605,2374,2270,2238,2536,3109,3410,3570,3269,3311,3460,2961,2595,2533,2469,2278,1974,2198,2603,2757,2446,2260,2364,2150,2120,1794,1853,2528,2984,2800,2316,1654,1815,1996,2258,2443,2825,2639,2648,2776,2474,2518,2864,2533,2061,1741,2081,2231,2202,1941,2219,2148,2174,2445,2470,2320,2266,2192,1999,2153,2075,1882,1684,1885,2367,2770,2796,2108,1624,1371,1496,2262,2412,1866,1728,2094,2021,2051,2512,1908,1964,1660,1743,1691,1694,1755,2015,2295,1962,2575,2426,2197,1906,2164,2078,2016,2644,2917,2256,2366,2410,2253,2365,2696,2574,2397,2171,2455,2387,2156,2362,1885,1529,2356,2542,2237,2019,1950,2322,2162,2226,2231,2308,2612,2688,2293,2444,2907,2893,2744,2166,2236,2309,2347,2702,2651,2764,3207,2692,2231,3025,3358,2621,2470,2468,2338,2424,2391,2324,2089,1458,1475,1924,2039,2058,2204,2401,2575,2721,3145,3513,3538,2251,1789,2750,2447,2022,1971,1799,2575,3555,3257,2802,3249,3750,3835,3648,3194,3017,3137,3094,2750,2633,2482,2303,2259,2249,2413,2675,3818,3573,2871,2732,2910,2659,2491,2809,2842,2994,3205,3416,3842,3406,2916,2974,2808,3216,3558,3142,2357,2554,3084,2991],[3264,2435,2316,2566,2264,2191,2266,2622,2952,3307,3515,2834,2194,1975,1915,2392,2898,1955,1892,1925,1736,1867,1893,1833,1916,1851,1786,1938,1735,1535,1703,1577,1564,1649,2046,1956,1967,2254,1992,2190,2480,2872,3111,2482,1957,1976,1788,2077,2335,2055,1925,2116,2449,2704,3096,3489,3266,2696,2414,1765,1505,2083,2668,2731,2796,2747,2890,2613,1993,1848,1984,1874,1892,2043,1765,1765,2178,2274,1924,1670,2265,2690,2683,2949,3307,3296,3157,3095,3134,2308,1808,1804,1694,1557,1505,1612,1622,1568,1711,1673,1289,1429,2058,1818,1659,1789,1886,1674,1766,2539,2460,1998,2317,2431,2225,2082,2322,2639,2861,3310,3851,3763,3522,3297,3193,2836,2735,3032,3306,2494,1836,1851,1737,1755,1577,1494,2119,2317,2192,2920,3637,3140,2291,2277,1903,1995,2644,2858,2412,3108,2392,1794,2062,2193,2150,2020,2059,2155,2061,2179,1864,1783,2172,2938,3285,2226,1911,2604,3374,3535,2839,2565,3371,2645,1712,2765,3044,2684,1887,1934,1952,2336,3149,3365,3297,3304,3107,3605,4318,3435,2858,2819,3227,3098,2254,1867,1783,2028,2434,3053,3744,3153,2603,2153,1850,2092,2214,1764,1692,1715,1565,1609,1812,1994,2082,2049,2105,1835,1956,1684,2596,2781,2336,1843,1623,1586,1603,1724,1531,1377,1777,2775,3714,3529,3231,2730,2061,1713,1859,1709,1521,1774,1983,1488,1940,2375,2133,1618,1650,1487,1704,1676,1811,1833,1574,1483,1371,1356,1560,1750,1713,1859,1853,1981,2231,2228,1773,1775,1717,1653,1678,1571,1636,1555,1571,1537,1461,1559,1687,1557,1373,1532,1858,1957,1627,1515,1512,1578,1532,1685,1471,1586,1796,1778,2304,2954,3212,3294,3188,2879,2683,2723,1745,1855,2668,2009,1797,1936,1860,1966,2369,2484,2828,3371,2883,2631,1976,2214,2501,2248,1918,2828,3372,3437,2351,2089,2732,2864,3082,2597,3044,3354,3043,3151,3083,3270,3436,2491,1785,1712,1529,1511,1532,1666,1699,1894,1894,2142,1791,1655,1547,1561,1646,1729,1719,1499,1204,1510,1701,1714,2117,1885,1779,2155,2059,1699,1485,1743,2073,1917,1636,1756,1912,2156,2354,2303,2257,2207,2454,2847,2958,3294,3339,3073,3145,3243,2737,2049,2286,2216,1706,1572,1642,1410,1321,1445,1394,1525,1919,2499,3035,3068,3278,3060,2127,1547,1671,1979,1696,1530,1606,1629,1993,1931,1497,1614,1794,2016,1750,1465,1407,1536,1405,1322,1402,1428,1533,1573,1426,1500,1587,1534,1506,1764,1748,1962,1946,1691,1757,1872,2283,2100,1617,1602,1673,1530,1655,1771,1570,1633,2439,2518,1783,1839,2017,1738,1761,1583,1890,2699,2800,2472,2387,2481,2417,2276,1980,2032,2049,2353,2532,2280,1835,2588,2798,2543,2489,1938,1698,1795,1900,2055,2001,2178,1897,2169,2145,2071,1988,2162,2248,2798,2851,2183,1729,1724,1808,1758,1567,1606,1562,1643,1633,1715,2178,2165,1958,1593,1324,1550,1951,1883,1699,1744,1745,1806,1927,1597,1534,1511,1374,1373,1510,1673,1640,1539,1644,1832,1744,1721,2072,2756,2614,2154,1949,1836,1828,1846,1889,1911,1920,2138,2462,2401,2169,2200,2175,2415,2668,2244,2121,2385,2256,2136,2073,2000,1998,2183,2223,1945,2008,1889,1863,1970,2702,3226,2962,3002,2585,2583,2771,2111,1700,1674,1576,1562,1587,1564,1636,1663,1757,1762,1672,2518,2821,2271,1626,1685,1525,1613,1670,2289,2802,3083,3058,2376,2088,2518,2330,2065,1659,1771,2135,1834,1615,1710,1867,2061,2030,1752,1477,1530,1412,1415,1624,1349,1537,1847,1819,1666,1471,1821,2142,2502,3410,3692,2910,2333,2563,2915,3372,3698,3720,3474,2876,2661,3165,3168,2924,2864,2763,2685,2806,3214,3730,3995,3956,3912,3984,3956,3996,4127,4329,4133,3194,2159,2128,2567,2599,2238,1982,2039,2143,2100,2265,2829,3497,3928,4113,4301,4717,4283,4026,4361,4036,3946,4100,3830,3758,3993,4071,3935,3838,3751,3705,3472,2510,1853,1961,2226,2214,2106,1919,1872,2174,2164,1891,1756,1698,1736,1634,1721,1712,1689,2112,2331,1828,1829,1749,1832,2076,1715,1736,2079,2090,1669,1450,1489,1498,1499,1598,1797,1606,1527,1698,1858,2171,1909,1691,1613,1793,1392,1393,1878,2146,1743,1473,1696,1542,1485,1513,1792,1912,1822,1795,1726,1699,1488,1334,1522,1617,1644,1857,1923,1645,1920,1952,1757,2141,2442,2345,1824,1540,1568,1445,1536,2244,2303,1754,2805,2798,2483,2547,2315,2963,3225,2888,3040,3075,2382,2373,2428,2297,1238,803,1464,1819,2145,1854,1327,1448,1527,1209,1686,1943,1850,1648,1409,1143,1470,1887,2547,2636,2080,1686,1625,1341,1262,1508,1982,1977,1903,2032,1690,1304,1635,2029,1775,1835,1790,1743,2236,2203,1952,2064,1992,1762,1738,1745,1970,2070,1770,1566,2357,2968,2511,2282,1782,2149,2368,1867,1528,1650,1894,2097,1737,1456,1505,1475,1474,1631,2022,1909,1638,1538,1479,1810,2188,1761,1531,1390,1409,1850,1486,1248,1159,1288,1472,1555,1715,1484,1720,1726,1683,1500,2264,2605,1435,1450,1573,1476,1515,1626,2047,2065,1544,1461,1620,1466,1433,1750,1889,1946,2307,1929,1566,1991,2219,2513,2239,2193,2184,2262,2283,2074,2341,2288,1740,1790,2033,2133,1850,1366,1452,1550,1566,1458,1344,1430,1665,2213,2353,2160,2021,1934,2097,2830,2612,2757,3291,2813,2395,2322,2060,2151,2621,3164,3016,2714,2149,1939,1847,2195,2757,3099,3140,2532,1878,1659,1711,2141,2518,2438,2567,2797,1907,1645,1572,1592,1733,1614,1484,1743,1998,1728,1750,1483,1581,1453,1840,1874,2269,3484,4101,3329,2286,1773,2152,2366,2503,1901,1964,1870,1853,2054,1790,1649,1752,1626,1508,1490,1544,1429,1341,1550,1437,1334,1349,1378,1449,1352,1538,1683,1431,1483,1758,1614,1344,1396,1359,1471,1423,1433,1478,1770,2750,3508,3205,2468,2521,2591,2172,2589,2610,3274,3846,3841,3872,3764,3295,3345,3617,3628,3468,3725,3635,3649,3834,3875,3599,3113,2521,2179,1978,1741,1343,1471,1979,2307,2595,2170,2557,2842,2348,2277,1920,2235,2369,2074,1690,2089,2483,2018,2055,1939,1498,1499,1579,1730,1547,1610,1624,1476,1626,1616,1826,2082,1760,1524,1589,1832,1980,1889,2173,2330,2351,2402,2552,2842,2908,2654,2525,2269,1982,2119,2147,2995,2854,1921,1665,2244,2069,1541,2026,2590,2008,1471,1509,1754,1609,1920,2494,2365,2292,2358,2499,3001,3397,4175,4245,2783,1984,2237,2631,2573,2546,2375,2293,2320,2568,2830,3188,2954,1758,1699,1453,1271,1469,1920,1474,1240,1304,1393,1427,1453,1483,1667,1778,1550,1431,1223,1125,1435,1345,1260,1505,1894,1881,1712,1672,1378,1290,1236,1196,1237,1347,1374,1516,1697,1605,1360,1302,1303,1344,1506,1388,1419,1260,1318,1498,2019,2990,2203,1277,1459,1616,1362,1433,1591,1663,1657,1411,1517,1428,1353,1651,1669,1529,1411,1581,1653,1590,1566,1418,1320,1351,1454,1571,1602,1704,1618,1406,1503,1346,1006,1334,1711,1851,1697,1484,1324,1400,1435,1484,1312,1321,1361,1134,1071,1202,1411,1457,1389,1338,1611,1448,1328,1487,1552,1579,1732,2340,2730,2509,2056,2266,2303,1440,1090,1285,1410,1559,2079,1970,1453,1653,2771,2853,1958,2203,2041,1979,2002,1769,1395,1340,1407,1483,1515,1609,1775,1636,1522,1527,1429,1471,1471,1536,1346,1488,1466,1213,1355,1461,1629,1498,1474,1402,1277,1287,1257,1215,1631,1430,1241,1340,1387,1359,1404,1433,1785,2614,3044,2850,2294,1582,1395,1831,2070,2035,1977,2361,2723,2931,3053,2741,2314,2037,2191,3187,3747,3859,3176,2496,2559,3021,3315,2963,1989,1565,1266,1754,2277,2403,2332,2504,2253,2380,2372,2522,2254,2102,2897,2667,1889,2405,2295,2055,1885,2373,2219,2265,2626,2702,2854,3208,2913,2445,2160,2152,3182,2424,2730,3122,3630,3228,2636,2420,2255,2129,1684,1704,1918,1560,1940,1967,2048,1953,2247,1979,2076,2404,2507,2859,2917,2641,2598,2233,2221,2716,2524,2325,1699,2231,2496,2170,2207,2447,2495,2022,1628,2056,2117,1882,2145,2503,3067,2772,2267,2137,2315,2641,2302,1707,1115,1591,2183,1950,1849,1956,2713,2865,2532,2774,2973,2807,2814,2529,1916,1918,2147,2440,1932,1821,1816,2313,2772,2562,2753,3797,3405,2405,2931,3008,3193,3172,3441,3216,2462,2747,2508,2532,2723,2753,2788,2286,2003,2842,2571,2032,2324,2204,2902,2535,2288,2288,2431,2951,3087,2712,2242,2126,2531,2444,2874,2715,3182,2794,2663,2779,3068,3310,3476,3629,3740,3406,3287,3416,3067,2965,2989,3508,3774,3942,4040,3720,3184,3130,3342,2455,2333,2424,2833,3196,3030,3018,2710,2705,2866,2740,2469,2178,2230,2249,1888,2055,2301,2369,2194,1891,2686,2958,2735,2137,1555,2018,2790,2722,2314,2063,2182,2092,2370,2688,2548,2358,2698,2751,2360,2493,2780,2851,2502,2214,2150,2171,2273,2241,2170,1960,2209,2532,2676,2530,2480,2210,1895,1744,1621,1947,2019,1779,1861,2339,2119,1542,1378,1282,1737,2030,2254,2050,1735,2041,2304,2303,2097,1695,1461,1432,1742,1818,1715,1653,1913,2254,1741,1962,2311,2140,1792,1588,1974,2497,3109,3050,2398,2240,2332,2423,2461,2699,2424,2121,2010,2732,2931,2299,1826,1177,1948,2725,2552,2109,1594,2588,2592,1685,2018,2442,2678,2525,2274,2259,2305,2769,2909,2425,1613,1708,2166,2662,2825,2159,2292,2731,2105,2252,3384,3162,1592,1676,2361,2588,2631,2329,2106,1640,1269,1263,1506,2011,2144,2205,2280,2281,2025,2009,2365,2352,1799,1810,2416,2584,2557,1783,1717,2828,3658,3221,2985,3260,3485,3774,3603,3156,2986,3083,2995,2757,2413,1639,1670,1964,2062,2056,2379,3790,4073,2908,2728,3194,2753,2306,2470,3131,3594,3320,3883,3725,3377,3430,2871,2828,3311,3155,2562,2109,2437,2767,2653],[2842,2224,2095,2398,2573,2541,2519,2796,3157,3475,3349,3160,2499,1716,1602,1916,2147,1933,1732,1656,1778,1969,2029,2058,2003,1846,2018,2442,1823,1802,2010,1864,1708,1406,1708,2088,2587,2771,2521,2676,2966,3104,2993,2799,2568,2232,1913,2048,1844,1667,1842,2209,2411,2530,2623,2569,2496,2110,1717,1735,1655,2096,2591,2839,2817,2533,2568,2119,1547,1721,1926,1992,2187,2230,2203,2182,2281,2325,1963,1616,1772,2186,2502,2896,2994,3079,2861,2743,2364,2328,2253,1983,1745,1608,1665,1662,1521,1407,1510,1548,1371,1552,2134,1829,1715,1904,1838,1497,2003,3110,2747,1838,2221,2395,2317,2357,2777,3079,3253,3651,3353,3233,3328,3401,3044,2485,2452,2952,2280,1742,2060,1976,1947,1829,1296,1116,1863,2513,2237,2252,3072,3344,3104,3017,2329,2371,2938,2800,2281,2493,2498,2304,2486,2730,2339,2260,1913,1781,2486,3156,3001,2557,2186,2248,2280,1946,1972,2331,2648,3106,3454,3407,3359,2645,2489,3032,3105,2321,1963,1803,1573,2393,3596,3592,3418,2929,2143,2830,3723,3418,3286,3526,3261,2913,2743,2244,1948,2223,2654,3311,4377,4118,3711,2444,1772,1626,1854,1953,1731,1604,1644,1737,2172,2258,2191,2298,2314,1838,1864,1661,2257,2949,2684,1931,1498,1489,1589,1608,1499,1620,1782,2140,2647,3268,2928,2231,1836,1932,2005,1831,1812,2018,1974,1552,2476,2271,1712,1493,1652,1908,2336,2128,1587,1496,1611,1676,1594,1720,1847,1859,2008,2279,2036,1916,2070,2083,1897,1770,1821,1751,1610,1962,2165,1636,1786,1592,1488,1717,1827,1568,1448,1644,1834,1761,1355,1478,1609,1694,1810,2277,1874,1514,1594,1814,2336,2777,2809,3001,3470,3783,3426,3030,2286,1869,2049,1648,1624,1974,2301,2200,2014,1953,2291,2885,2690,3008,2497,2475,2429,1901,1931,2223,3063,3461,2534,2727,3118,3097,3138,2568,2940,2920,2519,2430,2712,3153,3471,2732,1704,1938,1824,1632,1548,1646,1604,1620,1754,1904,1707,1574,1576,1500,1523,1598,1569,1575,1522,1651,1692,1994,1849,1688,1906,1889,1780,1725,1627,1671,1610,1719,1770,2158,1956,2083,1997,2150,2173,2125,2612,2808,3069,3703,3540,3891,4620,4761,3854,2801,2595,2020,1698,2001,2208,2015,1772,1765,1680,1700,2358,3072,3462,3464,3067,2713,2120,1616,1764,1991,1708,1612,1610,1682,1830,1781,1666,1664,2166,2194,1614,1476,1550,1466,1312,1325,1472,1532,1569,1469,1631,1739,1563,1546,2385,2450,1591,1693,1837,1894,2130,2031,2359,2401,1851,1581,1603,1569,1638,2132,2237,2187,2564,2547,1758,1677,1550,1693,1600,1440,1931,2443,2409,2334,2328,2431,3052,2869,1700,1897,2299,2574,2536,2412,1873,1784,1906,2169,2222,1840,1677,1693,1639,1808,2211,2131,2073,2544,2289,2153,2554,2563,2513,2768,2835,2987,2348,1762,1735,1661,1494,1426,1293,1493,1520,1753,2137,2041,1885,1762,1766,2729,1940,1650,1801,1642,1586,1714,1788,1648,1542,1559,1471,1388,1456,1759,1719,1627,1750,1756,1824,1926,2456,2746,2388,2198,2081,1995,1944,1916,1935,1974,2028,2161,2210,2139,2083,2351,2692,2889,2733,2278,2211,2445,2302,2163,2042,2075,2406,2909,2763,2092,1825,1789,1858,2180,2464,2196,2588,2796,2203,2030,2051,1630,1302,1451,1532,1556,1489,1570,1656,1628,1693,2401,1838,1932,1723,1647,1831,1905,1677,1762,2153,2599,2823,3053,2801,1917,1698,1573,1603,1737,1937,2529,2481,1943,1665,1741,2110,2309,2288,2035,1482,1419,1561,1870,1891,1985,2423,2664,2136,1613,1654,1666,1729,1901,3019,3573,3332,2653,2403,2490,2734,3090,3450,3440,2806,2325,2520,2564,2304,2221,2330,3024,3985,4224,4207,4208,4089,3996,3891,3936,4117,4055,4062,4090,3542,2686,2500,3134,3111,2437,2023,2068,2105,2138,2156,2165,2830,3232,3460,3836,4775,4660,4299,4200,3606,3543,3908,3849,3647,4004,4151,4049,3983,3890,3753,2929,2092,1837,2091,2150,1995,1885,1796,1890,2469,2622,1905,1650,1882,1852,1713,1759,1682,1766,2404,2918,1878,1687,1555,1706,1587,1492,1672,1950,1814,1571,1647,1818,1575,1270,1590,1982,2156,2387,2019,1860,1878,1793,1669,1540,1729,1880,1698,1605,1937,1574,1593,2064,1923,1709,1715,2011,2056,1947,1721,1715,1774,1584,1397,1604,1680,1864,2410,2422,1878,1564,1679,1946,2322,2331,2143,1823,1593,1460,1390,1653,2420,1975,2133,2909,2733,2398,2202,2757,3577,3404,2880,2721,2770,2414,2548,2657,2370,1193,744,1125,1998,2220,1949,1902,1824,2134,1528,1611,1618,1664,1467,1407,1558,2045,1975,1957,1924,1497,1339,1684,1530,1646,1485,1628,1723,1715,1866,1735,1565,1730,1940,2087,2062,1983,2298,2076,1758,1724,2257,2085,1622,1559,1945,2316,2510,2149,1875,2607,2697,1677,1678,1119,1497,1848,1694,1837,1618,1994,2430,1738,1363,1504,1455,1560,1741,2089,2191,2158,1708,1743,2032,1843,1012,982,1378,1484,2047,1549,1241,1241,1387,1300,1343,1527,1498,1616,1837,1596,1416,2014,2308,1543,1751,1897,1490,1449,1438,1843,1893,1612,1548,1771,1659,1596,1880,1938,1922,2075,1545,1217,1914,2504,2342,1936,2012,2306,2328,1673,1692,1817,1799,1600,1671,1646,1911,1591,1398,1416,1505,1895,1996,1498,1614,1760,2268,2208,2489,2186,2467,3193,3308,2569,2941,3597,3352,2903,2402,1488,1535,1946,2475,2806,2410,1875,1635,1521,1755,1912,1960,1708,1474,1511,1669,1912,2977,3255,3025,2999,2192,1609,1448,1427,1622,1737,1724,1605,1650,1938,1885,1739,1789,1598,1458,1826,1961,2354,3160,3388,2988,2237,1685,1843,1996,2213,2030,1996,1842,2154,2514,2183,1567,1617,1710,1707,1599,1552,1474,1247,1377,1401,1479,1412,1355,1310,1293,1576,1677,1528,1834,1719,1364,1332,1272,1431,1650,1622,1547,1670,2079,2462,2492,2665,2786,2962,2543,2113,2586,2800,3018,3659,3971,3977,3852,3518,3382,3545,3598,3408,3902,3573,3684,3947,3924,3609,3220,2488,1694,1566,1483,1585,2095,2243,2487,3105,2984,3343,3452,2792,2295,1982,1977,2521,2489,1791,2001,2098,1561,1737,1726,1592,1554,1461,1557,1663,1660,1483,1396,1516,1513,1777,1940,1614,1584,1794,1960,2145,1676,1511,1690,1605,1862,2436,2864,2816,3095,2790,2532,2377,2425,2486,2335,2123,2116,2190,2416,2028,2057,2502,2679,1782,1489,1583,1723,1653,1792,2273,2547,2599,2479,2653,3049,3333,3811,3864,3270,2230,2328,2076,1954,2156,2128,1882,2070,2370,2557,2693,2087,1931,1710,1343,1252,1416,1455,1296,1389,1429,1387,1713,1739,1431,1422,1345,1140,1088,1101,1170,1381,1310,1297,1604,1808,1666,1560,1726,1393,1419,1348,1276,1223,1309,1291,1339,1469,1472,1312,1293,1346,1350,1668,1665,1468,1309,1381,2081,2555,2996,2634,1567,1397,1731,1487,1482,1510,1440,1623,1553,1511,1496,1429,1462,1498,1506,1835,1992,1868,1685,1650,1505,1441,1506,1514,1677,1676,1736,1670,1373,1384,1378,1202,1288,1477,1838,1836,1609,1273,1262,1318,1372,1302,1245,1335,1368,1300,1185,1170,1285,1342,1240,1352,1299,1400,1511,1382,1178,1693,2634,2597,2031,1783,2140,2371,1334,730,1365,1638,1638,2054,2030,1371,1638,2643,2808,1950,2163,2036,2095,2125,1818,1549,1431,1415,1969,2521,2380,2378,2466,2316,2263,1961,1808,1883,1729,1354,1285,1205,1271,1312,1319,1284,1300,1340,1276,1204,1096,1049,1186,1626,1488,1260,1286,1300,1427,1599,1496,1738,2440,2875,2164,1491,1337,1760,2117,2129,2222,2479,2710,2830,3211,2856,2134,1753,1725,2492,3304,3355,3469,3533,3528,3683,3571,3420,3091,2624,1801,1506,1975,2568,2805,2595,2280,2336,2629,2473,2232,1930,1989,2591,2143,1895,2150,2081,1879,1912,2148,2087,1891,1910,2337,2652,2714,2447,1969,1946,3144,3728,2484,2723,3199,3271,3077,2732,2265,2192,2000,1748,1763,1566,1431,1704,2033,1972,2036,2151,1752,1831,2178,2455,2823,2543,2388,2099,1819,1968,2044,2481,1963,1980,2557,2070,1889,2239,2284,2350,1642,1929,2493,2488,2285,2201,2599,3178,2744,2598,2654,2469,2248,2198,2591,1886,1908,2246,2428,2261,2448,2821,2687,2655,2824,2634,2472,2271,2044,2096,2316,2207,2103,1814,1825,1957,2400,2838,2631,2849,3271,2596,2336,2932,3586,3820,3295,3326,2872,2738,3029,2556,2296,2663,2813,2360,1716,1918,2366,2198,1978,2098,2322,2874,2308,1945,1851,1814,2420,2802,2680,2266,1831,2119,2152,2680,3009,3333,3270,2964,2866,2938,3045,3283,3745,3958,3902,4272,3902,2885,2447,2644,2950,3348,3684,3729,3618,3373,3255,3162,2266,2464,2545,2872,2850,2898,2789,2514,2510,2334,2238,2170,2083,2223,2256,2080,2355,2329,2557,2424,2450,3256,3277,2588,2068,1752,1681,2336,3065,2769,2822,2411,2292,2922,3139,2176,2000,2644,2445,2654,2866,2712,2588,2635,2722,2474,2341,2321,2291,1991,2122,2524,2908,3076,2989,2931,2024,1973,1678,1836,1953,1876,1511,1802,2374,1926,1495,1630,1534,1925,1918,2446,2204,1974,3025,3432,3088,2376,1719,1694,2097,2649,2123,1946,1813,2040,2040,1934,1828,2223,2441,1896,1778,2620,2733,2777,2890,2640,2159,2265,2641,2397,2012,2144,2071,2042,2853,2946,2127,2151,2054,2962,3108,2886,2207,1772,2690,2374,2240,2580,2666,3108,2636,1953,1653,1788,2464,2365,1783,1532,1652,1987,2239,2526,2279,2099,2424,2226,2810,3886,3309,2191,1845,2820,3796,3928,3462,2612,1938,1372,1217,1785,2131,2265,2559,2401,2019,1824,1912,1876,1713,1531,1735,1787,2019,2223,1789,2432,3124,3843,3349,3095,3231,3319,3246,2584,2265,2584,2935,2954,2439,2017,1949,2424,2215,2008,2273,2522,3364,3790,3023,3002,3227,2653,2528,2964,3194,3426,3474,3854,4048,4264,4340,3697,3240,3249,3083,2937,2690,2730,2519,2590],[2003,2092,2750,2456,2440,2766,3094,3283,3445,3690,3697,2767,2128,1806,1527,1649,1786,1788,1914,2185,2058,1851,2094,2334,2381,2047,2525,2639,1912,1881,1976,1950,1763,1624,1832,2446,2908,2957,2714,2788,2484,2593,2840,2751,2687,2144,1987,2152,1826,1509,1925,2300,2283,2094,2155,2305,2233,2281,1892,1618,1748,1976,1967,2389,2490,2063,1896,1619,1792,2243,2141,2380,2263,2009,2511,2556,2874,2686,1772,1544,1328,1438,1726,2562,2762,2221,2340,2508,2154,2353,2058,1550,1538,1611,1703,1509,1444,1451,1467,1490,1419,1477,1613,1695,1754,1498,1328,1773,2721,2799,2477,2250,2611,2531,2425,2793,2989,3312,3605,3559,3162,2678,3457,3286,2234,2393,2637,2790,2180,2013,2119,2000,2091,1990,1490,1383,1865,2316,2161,2199,2754,2556,2837,2648,2148,2151,2786,2793,2050,1851,2416,2322,2424,2631,1923,1739,1706,2031,2715,3016,2721,2357,2040,1771,1673,1714,1925,2055,2418,3316,3847,3653,3099,2508,2865,2611,2306,2598,2684,1882,1475,2027,2965,3088,3240,2816,2997,3469,3574,3384,3373,3502,3155,3297,3475,2824,2616,2220,2549,3176,3981,4027,3758,2932,2275,1950,1989,2060,2079,2220,2220,2150,2193,2200,2164,2320,2492,2046,1726,1533,1698,1843,1666,1531,1332,1662,1860,1731,1851,1707,1769,2127,2242,2871,2977,2322,2119,2780,2855,2192,1760,1795,1647,1780,3078,2843,1772,1986,2433,2087,2079,2201,1854,1820,2028,1791,1822,1966,2078,2061,1883,1845,1770,1867,1792,1549,2036,2150,1955,1808,1398,1860,1839,1488,1555,1512,1509,1636,1710,1598,1499,1943,1897,1556,1577,1583,1749,1800,1823,1920,1693,1521,1560,1726,1556,1770,3029,3138,3371,3942,3664,2964,2222,1989,1852,1747,1767,1958,2360,1972,2087,2195,2127,1928,2068,2599,2608,2689,2331,1998,2127,2294,2835,3525,3326,3297,3418,3010,2798,2579,2917,2814,2296,2068,2259,2853,3432,2929,2241,2132,1741,1738,1702,1415,1405,1497,1465,1498,1656,1889,1937,1783,1648,1790,1775,1791,1843,1875,2170,2227,1833,1673,1824,1890,1656,1683,1770,1753,1686,1619,1816,2570,2762,2050,1470,1986,2307,2611,3170,2938,2930,4341,4504,4672,4849,4793,4487,3538,2535,1887,2063,2105,2449,2734,2330,1898,1581,1598,2448,2906,2806,2386,2142,2236,2172,2187,2016,2058,1633,1549,1422,1560,1557,1715,1608,1514,1696,1627,1498,1484,1509,1550,1426,1459,1604,1683,1519,1358,1366,1648,1930,2155,3095,3154,2056,1814,1983,2142,2359,2013,2241,2127,1748,1520,1655,2045,2373,2707,2966,3244,3276,3187,1849,1690,1581,1864,1772,1474,1771,2339,2627,2318,2082,1933,2476,2368,2165,2624,2725,2545,2391,2381,2153,1784,1692,1928,1969,1916,2232,2283,1964,2091,2633,2118,2259,2435,2099,2087,2371,2016,2039,2086,2398,2856,2536,2117,1945,1901,1675,1541,1759,2189,2436,2709,2607,2532,1774,1787,2097,2717,1714,1852,1670,1355,1442,1520,1714,1660,1542,1599,1478,1432,1538,1733,1855,1799,1834,1711,1708,1731,1903,1987,2132,2218,1957,2041,2054,2018,2121,2147,2094,2126,2210,2315,2306,2459,2568,2580,2613,2522,2440,2601,2388,2364,2312,2342,2637,2665,2459,2156,1903,1815,1839,2217,2726,2464,2655,2412,2154,2017,1848,1568,1403,1412,1858,1997,1656,1656,1690,1691,1749,2249,1747,1640,1641,1472,1655,1910,1858,2134,2568,2487,2432,2845,2592,1983,1897,1648,1694,1799,2132,2475,2435,2311,2565,2712,2447,2070,1898,1939,1824,1544,1647,2040,2229,2324,2568,3088,2544,1953,1731,1626,1610,1757,3040,3699,3332,2387,1927,1899,1921,2155,2514,2535,2216,2184,2034,2332,2496,2125,2110,3078,4036,4154,4247,4272,4033,3995,3957,4133,4091,4130,4123,4033,3970,3543,3360,3663,3555,2732,1951,1992,1974,2156,2290,2207,2490,2749,3485,3885,3895,3708,3551,3542,3369,3590,3826,4164,4040,4107,3999,4022,4077,4051,3182,2250,1895,1741,1876,1899,1832,1703,1810,2176,2676,2518,1896,1568,2229,2322,2033,2120,1870,1810,2052,2700,2097,1775,1632,1543,1396,1466,1688,1739,1658,1620,1479,1828,1953,1848,2243,2081,2342,2199,1919,1998,1982,1835,1735,1593,1742,1879,1859,1654,1470,1331,1848,2493,2138,1756,1825,2038,2017,1826,1757,1744,1453,1744,1720,1750,1887,1864,2262,2791,2179,1659,1691,1645,1808,1717,1799,1820,1665,1629,1687,1843,1856,1506,1886,2741,2903,2169,2219,3208,3748,3642,2766,2374,2467,2458,2888,3090,1964,762,749,1519,2478,2437,2025,2369,2223,2024,1938,1750,1494,1643,1566,1744,2265,2194,1723,1591,1587,1533,1561,1715,1744,1621,1600,1504,1627,1878,2069,2193,2046,2243,2393,2276,1888,1873,2288,1847,1659,1502,1504,1888,1752,1503,1929,2129,2188,1828,1768,2554,2152,1692,1373,1354,1737,1847,1845,1972,1739,1714,1615,1469,1441,1570,1506,1630,1486,1581,1902,2122,2232,2161,2029,2119,1549,1383,1625,1587,1768,1420,1389,1682,1944,1867,1980,2160,1826,1813,2060,1651,1370,1687,1917,1809,1577,1556,1625,1343,1382,1834,2005,1713,1653,2188,1953,1519,1810,1990,1749,1287,1019,1327,2124,2261,2135,2099,2043,1788,1874,1614,1802,1714,1908,1760,1609,1697,1587,1516,1616,1470,1383,1570,1700,1583,1796,1867,2195,2245,2122,1606,2081,3068,3289,3231,3785,4125,3681,3122,2292,1380,1777,2232,2366,2418,2183,2243,2272,1900,1503,1391,1498,1493,1582,1620,1630,2132,2707,2459,2547,2933,2608,1949,1526,1340,1488,1712,1743,1857,1905,1878,1942,2013,1986,1628,1539,1717,1769,1697,1807,2084,1863,1452,1612,1647,1734,2359,2172,1830,2309,2211,2037,1736,1386,1519,1537,1813,1694,1571,1443,1411,1710,1597,1319,1253,1288,1301,1298,1406,1470,1585,1969,1603,1336,1294,1420,2215,2785,2319,1869,2226,2128,2022,1967,2520,2924,2753,2194,2186,2879,3044,2803,3388,4019,4007,4002,4049,3721,2996,3213,3838,3806,3415,3419,3544,3160,2797,2826,1988,1803,1998,1613,1826,2327,2423,2586,2995,2901,3079,3087,2646,2758,2605,2173,2603,2509,2563,3200,2444,1792,1673,1554,1534,1538,1312,1383,1738,1668,1493,1366,1431,1429,1756,1954,1559,1883,2013,1890,1727,1626,2233,2014,1569,1728,1780,1968,2254,2713,2381,2244,2358,2577,2617,2524,2585,2286,1939,2167,2381,2464,2609,2260,1640,1560,1579,1495,1396,1661,2274,2402,2311,2337,2796,2555,3012,3714,3999,3740,3308,2901,2209,1871,2026,2130,1616,1634,1631,1824,1719,1539,1672,1409,1392,1399,1358,1371,1376,1329,1150,1323,1819,1745,1244,1175,1291,1273,1218,1301,1293,1295,1279,1399,1829,1970,1689,1338,1357,1236,1220,1318,1308,1356,1489,1448,1419,1366,1398,1306,1335,1311,1319,1989,1637,1235,1403,1564,1938,2359,2611,2338,1579,1415,1773,1668,1605,1809,1647,1661,1635,1487,1416,1437,1456,1429,1661,2009,1965,1931,1766,1739,1613,1631,1590,1654,1598,1410,1570,1596,1378,1304,1519,1432,1440,1738,1962,1833,1655,1491,1449,1401,1490,1498,1197,1226,1331,1311,1168,1103,1346,1372,1222,1275,1494,1558,1427,1280,1272,1433,1850,2387,2128,1727,1825,2027,1506,1225,1728,2312,2275,1975,2135,1430,1655,2642,2693,2013,2157,2165,2138,2188,2003,1799,1794,1953,2305,2777,2693,2619,2685,2410,2534,2428,1760,1736,2100,1864,1373,1412,1418,1396,1255,1141,1198,1216,1229,1172,1174,1209,1405,1566,1484,1375,1208,1417,1601,1679,1623,1899,2053,2016,1515,1259,1614,2147,2264,2266,2313,2517,2794,3160,3054,2505,1900,2010,2282,2815,3226,3326,3630,3805,3870,4049,4169,3636,2907,3417,2825,2113,2487,2743,2602,2590,2173,2229,2427,2572,2667,2222,2220,2132,2349,1979,1947,2050,2059,2538,2954,2787,1975,1859,1862,2188,2165,2181,2095,2576,3729,4047,3103,2840,3265,3053,2891,2622,2213,2307,2155,1975,1847,1450,1366,1681,1970,1858,1680,1875,1993,1713,1845,2176,2453,2257,2341,2552,2613,2451,2281,2020,1810,2172,2273,1825,2063,2211,1922,2659,2520,2810,2718,2641,2892,2780,2972,3076,2350,2242,2509,2865,2762,2276,2304,2419,2219,2519,2639,2008,1986,2333,2441,2547,2464,2159,2079,2236,2051,2207,2126,1836,1917,2315,2535,2453,2502,2676,2497,2967,2988,2747,2592,2453,2863,3276,3242,3145,3088,3641,3535,2296,1864,2878,2661,2021,1332,2063,2568,2377,2095,2290,3011,2990,2255,2079,1913,1916,2075,2833,2620,2000,1974,1959,1880,2249,2881,3357,3094,2855,2779,2497,2917,3094,3348,3863,4235,4552,4252,3196,2499,2734,2855,2755,2936,3672,3838,3540,3421,3355,3123,2995,2565,2081,1647,1959,2153,2152,2286,2470,2597,2699,2864,2815,2237,2534,2775,2757,2863,2359,2481,3161,2756,1806,1636,1943,1697,2273,2299,2693,2492,1930,2050,2740,2771,1892,1803,2143,1877,2512,2687,2324,2349,2746,3205,2984,2237,2164,2002,1514,1846,2641,3073,2776,2633,2634,2291,2157,2353,2205,1990,1954,1673,1936,2415,1609,1522,1600,1823,2339,2586,2292,1790,2353,3625,3691,2787,2092,1921,1873,2394,2938,1861,1686,2048,2198,1964,1959,2143,2237,2287,2697,2615,2640,2084,2082,2329,2259,1918,2280,2713,2576,2522,2259,2078,2197,2365,1990,1872,2164,2159,2360,2298,2376,2055,1809,1992,2347,2932,2952,3065,3329,2953,2505,2490,2254,2587,2307,1818,1663,1962,2008,1581,2127,2249,2189,2416,2422,3454,3585,3403,3006,2526,2966,3814,4412,3637,2332,2600,1831,1682,2093,1938,2567,2976,2648,1978,1848,2079,2033,1632,1472,1493,1439,1540,2109,2170,2854,3011,3460,3082,3211,3525,3435,3203,2929,2679,2831,3189,2979,2436,2303,2753,3221,3127,3074,2981,2806,3117,3193,2662,2732,2910,2632,2875,2974,2530,2721,2552,3024,3814,3892,3757,3311,3022,3272,3196,3332,3331,2989,2850,3111],[2344,2679,3288,3373,2662,2291,3043,3414,2806,2868,3130,2203,1793,1886,1852,1641,1358,1613,2624,3499,2972,2091,1642,2253,3190,2679,2238,1869,1667,1578,1969,2236,2374,2316,2176,2876,2763,2077,2497,2977,2687,2884,2846,2646,2938,2674,2102,1841,1614,1576,2289,2216,2061,1971,1774,1884,2139,2250,1869,1651,1898,2175,2331,2601,1815,1508,1364,1942,2543,2344,2456,2459,1903,1758,2225,2592,2814,2425,1620,1426,1323,1465,1539,2481,2485,2050,2304,2128,2024,2398,2358,1914,1959,1898,1878,1537,1404,1533,1500,1693,1857,1700,1484,1617,1825,1472,1570,1856,2436,2545,2482,2409,2803,2557,2310,2791,2828,3032,3359,3339,2999,2360,3750,3723,2611,2454,2556,2613,2752,2530,2244,2124,2270,1910,1328,1436,1925,2112,2071,2783,3312,2519,2429,2283,1830,2266,3062,3250,2898,2159,2465,2125,2563,2402,2328,2235,1738,1963,2464,2428,2468,2770,2656,1972,1684,1883,1961,1872,2611,3024,3397,3252,2945,3175,3057,2411,2287,2541,2719,1896,1808,2303,2440,2886,2962,2962,3840,4308,3934,3350,3098,3233,3549,3576,3308,2753,2268,1540,2259,3028,3150,2750,2237,2371,2809,2754,2073,2097,2285,2640,2579,2187,1935,2078,2114,1796,1588,1542,1458,1411,1351,1303,1532,1570,1501,1518,1751,1703,1825,1781,2216,2114,2077,3185,3172,2041,2203,2668,3292,3274,2326,1943,1855,2575,3288,2412,1517,1947,2548,2262,2042,2008,2002,1841,2009,1820,1997,2029,1882,1717,1582,1798,1913,1817,1804,1635,2011,1901,1894,1901,1856,2076,1936,1652,1562,1558,1564,1563,1545,1478,1603,1753,1790,2010,2116,1948,1999,2069,2007,1749,1853,1655,1607,1852,1325,1657,3570,3443,3242,4012,3595,2323,1550,1439,1769,2293,2036,2098,2294,1832,2166,2257,2154,1810,2062,2597,2435,2042,2220,2543,2100,2477,3042,3393,3356,3151,3419,2524,2115,2385,2604,2510,2048,1533,1793,2535,3251,2785,3121,2766,2232,2088,1788,1670,1600,1448,1548,1668,1820,1953,1886,2032,2054,2159,2256,2111,1782,1816,2010,1886,1655,1544,1710,1906,1511,1656,1576,1587,1670,1940,1918,2129,2411,1844,1662,2144,2401,2909,3234,2905,2733,4372,4885,4511,4188,4105,3940,3640,2619,1452,2041,1688,1801,2618,2338,1619,1676,2262,2698,2330,2328,2765,2730,2449,2114,2355,1930,2075,1720,1995,1744,1533,1593,1826,1983,1928,1641,1670,1377,1493,1720,1682,1532,1408,1717,1607,1409,1350,1244,1694,2082,2040,2387,2536,1958,1705,1903,1908,1604,1703,1986,2087,2110,1661,1781,2272,2322,2441,3204,3685,3704,3688,2463,1782,1976,2178,1713,1411,1624,2076,2266,2366,2629,2437,2621,2876,3150,2830,2479,2392,2182,1990,1754,1653,1904,2433,2004,1787,2032,2061,1795,1747,2014,2309,2653,2762,2230,1697,1754,1958,2089,1920,2155,2007,1920,2588,2364,1743,1724,1900,2597,3024,2719,2933,2398,2079,1979,1872,1808,1675,1445,1549,1507,1420,1402,1598,1810,1545,1408,1592,1744,1666,1760,1722,1754,1677,1594,1730,1864,1889,1968,2250,2376,2176,1788,1920,2005,1953,1951,1878,1892,1932,1909,1963,2187,2239,2183,2349,2408,2536,2576,2563,2566,2512,2493,2490,2457,2404,2304,2170,2121,2020,2073,2201,2382,2352,2369,2435,2483,2174,1682,1682,1628,1460,1444,1586,1657,1741,1565,1432,1404,1512,1717,1722,1593,1545,2010,2057,1851,2007,2282,2129,2062,2497,2260,2135,1784,1483,1605,1646,1809,2108,2185,2433,3028,2612,2388,2490,1958,1609,1669,1544,1632,1928,2451,2584,2041,2592,2419,2012,1723,1595,1652,1846,2400,3166,3008,2150,1868,1781,1850,1869,1952,2026,1911,1974,2024,2097,2115,2087,1944,2552,3807,4388,4328,4509,4228,3871,3882,4180,4231,4367,4244,3930,3968,4036,4141,4105,4028,3123,2150,1933,2216,2412,2242,2226,2226,2391,3237,3066,2468,2956,3312,3472,3643,3698,3893,4019,3849,3940,4078,4044,4113,3752,2744,2018,1854,1836,1826,1808,1749,1657,1660,2214,2668,2549,2304,2467,3146,3266,2712,2220,1746,1487,1610,1866,2504,2559,1884,1535,1486,1569,1951,1965,1646,1678,1444,1384,1566,1724,2071,1769,1731,1552,1621,1834,1787,1859,1666,1561,1627,1585,1821,1892,1639,1479,2195,2344,1948,1740,1823,2352,2134,1747,1759,1690,1470,1667,1825,1925,1996,1776,1772,2047,2100,2240,2267,1598,1713,1673,1858,1977,1752,1653,1554,1650,1876,1600,1498,1942,2186,1904,2382,3146,3551,3466,2740,2333,2602,2924,3077,2967,1880,790,960,1617,2010,1827,1974,2217,1884,1974,2103,1618,1660,1893,1554,1564,1685,1415,1425,1703,1954,1853,2147,1940,1641,1590,1727,1588,1665,1769,2176,2438,2358,2577,2403,2170,1775,2218,2009,1448,1716,1648,1301,1508,1569,1399,1755,1928,1944,1865,1814,2160,1856,1549,1456,1789,2019,1799,1599,1754,1722,1559,1625,1484,1761,1563,1523,1791,1555,1448,2227,2735,2382,2385,2708,2887,1982,1772,1812,2074,1894,1618,1782,1954,1960,1963,2215,2319,2142,1904,2390,3697,1858,1440,1713,1748,1407,1336,1492,1380,1376,1591,1626,1597,1786,2471,1772,1398,1722,1920,1950,1767,1218,1649,2428,2585,2370,2016,1951,1866,2018,1966,2267,2603,2561,2241,1784,1585,1447,1395,1417,1348,1338,1418,1812,1862,1809,1756,1778,1948,1995,1647,1547,2104,2840,3641,3968,4100,3320,2868,2166,1691,2090,2545,2770,2663,2623,2894,2666,2117,1396,1366,1540,1593,1914,1877,1506,1473,1647,1554,1598,2248,2811,2125,1836,1668,1842,2078,1952,2123,2288,2601,3094,3592,3118,1955,1563,1714,1642,1581,1483,1387,1376,1844,2122,1659,1549,2355,2173,2030,2292,1853,1561,1312,1371,1577,1711,1839,1820,1643,1504,1668,1932,1770,1449,1322,1219,1310,1471,1522,1447,1651,2292,1872,1331,1283,2010,3081,3261,3024,2701,2763,2879,2597,2604,2720,2745,2482,1995,2175,2648,2639,2643,3039,3806,4057,4094,4209,3354,2596,2866,3543,3624,3050,2955,3284,2732,2513,2604,2100,2868,2654,2078,2242,2248,2189,2219,2574,2640,2819,2862,2560,2916,2520,1773,1965,1986,2364,2744,2188,1828,1587,1691,1870,1678,1592,2256,2604,2221,1843,1548,1513,1621,1883,1840,1615,1644,1751,2021,1913,2098,2699,1852,1559,1513,1500,1635,1984,2234,1995,1710,1731,2104,2459,2344,1807,1820,1467,1912,2515,2586,2523,2214,1835,1575,1509,1490,1319,1430,1713,1781,1720,2052,2386,2118,2796,3956,4108,3598,3272,2668,2076,1888,2024,1944,1557,1418,1378,1318,1290,1462,1343,1303,1410,1478,1479,1311,1327,1200,1454,1930,2007,1655,1278,1454,1800,1531,1331,1451,1351,1332,1204,1663,2135,1916,1435,1296,1296,1332,1396,1424,1302,1333,1378,1460,1469,1259,1257,1322,1321,1418,1340,1544,1422,1274,1406,1557,1536,1664,1980,1735,1596,1726,1858,1775,1781,1702,1367,1555,1697,1509,1688,1743,1479,1416,1648,1778,1998,1838,1639,1655,1772,1786,1695,1781,1582,1371,1435,1668,1751,1436,1439,1496,1628,1782,1685,1733,1797,1608,1666,1766,1549,1397,1280,1190,1230,1334,1318,1190,1280,1528,1633,1678,1580,1375,1263,1285,1396,1421,1437,2070,2361,2008,2017,2446,2430,1910,1915,2739,2953,2070,2401,1820,1800,2669,2457,1844,2218,2316,2076,2347,2226,1940,2022,1792,1480,1931,2319,1814,1509,1756,2271,2216,1648,2274,3320,2978,1871,1588,1426,1418,1454,1463,1345,1226,1284,1232,1204,1234,1399,1532,1485,1415,1386,1490,1517,1647,1848,2089,2071,1881,1606,1499,2002,2197,2236,2254,2201,2401,3293,3138,2830,2649,2148,2408,2809,3006,3580,3978,3994,3953,3607,3672,3893,3030,2599,3284,3464,2770,2656,2685,2384,2042,1681,2286,2600,2624,2473,2320,2335,2154,2247,1979,2055,2012,2011,2514,3257,2690,1693,2168,2190,1985,1954,2400,3045,3481,3620,3813,3316,2639,2905,2547,2526,2305,2223,2326,2160,1987,1600,1467,1475,1382,1641,1895,1684,2238,2094,2186,2250,2211,2584,2520,2199,2768,2810,2542,2222,2182,2474,2231,2076,2084,2428,2166,1905,2773,3032,2858,2713,2501,2383,2724,3002,2912,2216,2028,2419,2386,2108,2145,2281,2219,1841,1830,2180,1908,1737,2214,2706,2575,2148,2096,2037,2108,1795,1953,1942,1750,2066,2548,2674,2841,2802,2558,2480,2463,2272,2491,2563,2440,2619,2850,2932,3110,3387,3911,4081,3174,2669,3042,2713,2462,1989,2050,2587,2678,2475,3000,3420,2712,2619,3045,2641,2831,2740,2823,2278,1894,1930,2154,2449,2134,2322,3350,3132,2712,2778,2713,3069,2714,2632,3492,4475,4595,4386,3836,3042,2946,2898,2366,2414,3304,3473,3397,3506,3363,3275,3370,3201,2448,2128,2402,2258,2202,2165,2453,2777,3096,3087,2780,2718,3056,3118,3452,3335,2317,2149,2648,2166,1560,1681,2170,2459,2548,2376,2202,1682,1737,2436,2425,2247,1954,2016,1820,2379,2671,2540,2678,2711,2504,2766,2592,2075,2076,1948,1883,2025,2784,2961,2331,2008,2286,1982,1856,2134,1850,1859,1917,1858,2052,2189,1458,1621,1983,2234,2532,2436,1870,1982,2910,3516,2662,1759,1627,1841,1720,1788,2068,1780,1942,2032,1916,1910,1862,2072,2103,2137,2467,2617,2020,1489,2170,2596,2426,2094,2177,2238,2359,2348,2331,2844,2811,2419,2244,1956,2114,2061,2026,2136,2330,2467,2231,2009,2490,2346,2278,2477,2566,2752,2912,2745,2271,2406,2254,1888,1686,1925,2038,1695,2504,2500,2821,2883,3118,3334,2928,2849,2563,2080,2306,3017,3316,2286,1447,1879,1578,2113,2283,2065,2405,2711,2469,2312,2341,2272,1966,1408,1259,1641,1475,1526,2272,2719,3008,2988,3106,3241,3481,3828,3833,3646,3418,3122,3164,3743,3432,2994,3311,3247,3194,3551,3517,3010,3327,3498,3328,2626,2678,2869,2304,2364,2626,2320,2602,2569,2590,3034,3549,3581,3146,3064,3786,3481,3329,3801,3146,2841,3145],[2711,3086,3707,4093,3724,2768,2319,2977,2708,2201,1785,1611,1809,2184,2156,1596,1498,1947,3131,3791,2918,2141,1851,2349,2515,1981,1793,1990,1976,1632,1740,2279,3220,2887,2435,2714,2459,1784,2297,2820,2902,2830,2487,2036,1745,1951,2315,2062,1851,1831,2491,2040,2160,2445,2048,1799,2036,2354,2207,1881,2016,2432,2459,2546,1678,1453,1542,2296,2439,1844,2119,2265,2047,1998,2419,2302,2141,2029,1716,1430,1386,1539,1863,2641,2614,2482,2257,1646,1721,1859,2463,2303,2139,2060,2188,1888,1552,1547,1454,1563,1867,1953,1692,1568,2033,2410,2649,2644,2485,2511,2685,2663,2831,2286,1707,2138,2602,3000,3396,3550,3206,2723,3398,3605,2818,2463,2404,2048,2105,2474,2344,2549,1874,1644,1754,1937,2258,2479,2245,2668,2812,2359,2272,2168,1946,2261,2440,3276,3445,2496,2446,2365,1956,2117,2675,2903,2003,1642,2320,2085,2209,2806,2867,2470,2117,2136,2113,1901,2466,2825,3195,2886,2631,3152,2846,2257,2222,1935,1664,1801,2341,2604,2872,3199,2965,3111,3689,3608,3364,3350,3183,3239,3285,3449,3450,3212,2837,2114,2429,2126,1300,1248,1066,824,1932,2847,2692,2012,2053,2603,2451,2536,2554,2279,2020,1753,1676,1698,1635,1486,1418,1466,1720,1588,1345,1312,1935,1986,1945,2325,2351,1852,2136,3588,3495,2148,2047,2204,3329,4048,3227,2314,2197,2603,2563,2181,1740,1581,1829,2301,1991,1787,1893,1724,1946,2012,1811,1713,2033,2148,1756,1869,2086,1931,1870,1981,2323,1830,1649,1972,2055,2201,2268,2056,1897,1809,1705,1531,1581,1575,1755,1584,1585,1884,1926,1989,2249,2514,2414,1693,1843,1775,1956,1925,1425,1959,3153,3426,3384,3417,2964,1734,1477,2119,2502,2533,1981,2225,2315,1978,2396,2785,2437,2193,2670,2895,2820,2286,2996,3054,2371,2305,2662,2689,2945,3240,3299,2866,2446,2523,2645,2673,2152,1688,1802,2160,2522,2710,3195,3163,2798,2186,1756,1784,1696,1715,1913,1920,2017,1903,1798,2018,2365,2517,2756,2204,1509,1560,1613,1553,1621,1777,1669,1674,1681,1948,1715,1517,1888,2501,2054,1657,1785,1871,2020,2466,2293,2476,3029,3062,2604,3334,3563,2927,2846,2718,2156,2339,2569,1716,2143,1952,2039,1935,1884,1652,1674,2359,2466,2149,2447,2563,2863,2811,1954,2021,2281,2132,1678,1721,1462,1391,1590,1587,1590,1663,1637,1843,1482,1529,1642,1480,1445,1329,1565,1559,1354,1376,1391,1587,1491,1399,1801,1737,1685,1654,1950,2076,1851,1946,1978,2181,2323,1747,1777,2390,2666,2861,3319,3610,3730,3881,2940,2414,2893,2685,1982,1708,1700,1744,2003,2845,3262,3304,3003,2826,2515,1966,1864,1903,1953,1624,1636,2072,1752,1834,1604,1434,1903,2114,2016,1614,1521,2144,2422,2378,2018,1661,1686,1658,2232,2025,1783,1753,1949,2824,2667,1758,1611,1754,2423,2374,2068,2428,2099,1809,1903,1551,1698,1631,1484,1588,1536,1602,1667,1592,1792,1650,1355,1810,1811,1745,1651,1583,1627,1610,1765,2141,1956,1939,2167,2348,2444,2147,1879,1948,1966,1871,1821,1945,2040,1882,1737,1884,1968,1977,2139,2105,2110,2376,2536,2583,2608,2522,2612,2636,2325,2026,1970,1863,1796,1802,1937,1919,1830,2068,2222,2241,2220,1997,1874,1910,1794,1866,1572,1630,1765,1738,1628,1524,1593,1747,1812,1644,1570,1703,2300,1879,2196,2164,1968,1790,1891,2068,2235,2192,1596,1505,1758,1662,1709,1882,1824,2298,2509,2106,2404,3117,2525,1862,1894,1636,1949,2158,2432,2132,1922,2237,2258,2146,1873,1720,1942,1961,2022,2643,2690,2302,2067,2035,2104,2000,1919,2136,1903,1787,2116,2184,2267,2341,2040,2235,3338,4312,4283,4516,4460,4114,3619,3861,4201,4364,4164,3820,4080,4245,4185,4184,4260,3653,3143,2630,2715,2910,2369,1944,2035,2238,2477,2458,2901,2865,3141,3505,3790,3916,4034,3841,3692,3840,4014,4004,3819,2883,2271,1931,1809,1858,1829,1792,1796,1751,1882,2269,2548,2337,1848,2208,3517,3991,2727,2025,2313,1766,1582,2251,3054,2896,2208,1691,1584,1547,1692,1688,1444,1551,1420,1178,1541,1974,1826,1535,1440,1466,1664,1714,1786,2000,1533,1753,1685,1705,1830,1938,1667,1541,2083,1795,1411,1674,1778,2465,2408,1765,1603,1561,1710,2149,1897,1797,1911,1969,1662,1450,1620,2019,2567,2159,2316,2010,1924,2221,1968,1657,1415,1648,1921,1534,1683,1759,1920,1904,2751,2774,2908,2975,2718,2530,2843,2689,2418,3120,2711,1433,1118,1467,1709,1498,1694,1616,1770,2026,1905,1732,1831,1896,1447,1403,1478,1541,1976,2919,2397,2077,2338,2315,1915,1683,1650,1432,1439,1604,1809,1794,2308,2158,2016,2090,1652,1964,2116,1933,2081,2190,1950,1755,1871,1527,1623,1590,1438,1533,1799,1754,1792,1801,1775,1709,1626,1678,1628,1553,1591,1739,1885,1738,1800,1592,1648,1850,1735,1635,2383,2690,2370,2189,2222,2379,2098,2186,2315,2238,2046,1917,1780,1895,2161,1747,1903,2378,2272,1854,2552,3812,2014,1814,1837,1432,1183,1267,1494,1349,1483,1483,1493,1372,1637,2134,1662,1457,1677,1727,2060,2157,1556,1677,2048,2255,2133,2027,1962,2004,2097,2643,3082,2857,2519,2070,1851,1715,1502,1412,1347,1456,1483,1437,1769,1679,1556,1662,1696,1699,1888,1875,1675,1505,1787,3050,3743,3593,2409,1927,1642,1621,2064,2674,3001,2613,2569,2611,2343,1802,1759,1793,1624,1746,1897,1671,1673,1786,1643,1765,1780,1925,2554,2200,1882,2200,1959,2215,2490,2689,2990,3475,4152,4488,3652,2357,1758,1715,1665,1454,1349,1648,1801,1926,2144,1915,1616,1766,1616,1727,1515,1458,1545,1544,1771,1826,1743,1629,1583,1684,1795,1809,1665,1415,1245,1372,1284,1278,1373,1354,1355,2120,2802,2001,1419,1489,2078,2654,2524,3205,2896,3175,3694,3368,3153,2879,2684,2600,2316,2021,1776,1888,2245,2780,3831,4153,3950,3779,2937,2729,3224,3631,3483,2655,1635,1908,2445,2590,2136,2187,3067,2868,2644,2247,1977,1984,1912,1847,1772,1676,2143,2334,2720,2058,1480,1591,1583,2074,2423,2103,1748,1521,1445,1558,1720,1580,1973,2512,2844,2150,1710,1679,1776,1907,1938,1917,1808,1963,2192,2383,2016,2360,1793,1580,1646,1565,1636,2050,2145,1766,1438,1678,1883,2002,2083,2063,2208,1884,2420,2818,2325,2055,2391,2031,1571,1364,1439,1516,1870,1855,1882,1801,2208,2605,2352,2613,3454,3606,3034,2295,1757,1592,1616,1716,1670,1738,1935,1775,1512,1454,1354,1343,1430,1460,1712,1658,1461,1708,1744,2370,2460,1793,1310,1393,1611,1704,1665,1879,1786,1622,1426,1134,1881,2117,1796,1446,1309,1320,1354,1384,1320,1214,1334,1308,1282,1269,1205,1317,1419,1743,1699,1460,1409,1462,1461,1349,1345,1581,1789,1785,1633,1487,1463,1777,1995,1790,1287,1711,2304,2149,1761,1708,1493,1273,1637,1866,1956,2025,1610,1426,1579,1645,1736,1594,1408,1237,1316,1619,1768,1821,1512,1473,1553,1333,1391,1646,1830,1781,1629,1684,1542,1861,1824,1423,1288,1313,1437,1485,1188,1307,1628,1623,1501,1591,1499,1250,1265,1351,1358,1340,1541,1883,2358,2778,2893,2862,2565,2541,2841,3275,2345,2111,1843,1846,2375,2447,2032,1896,2120,2254,2534,2154,1902,1844,1533,1518,2164,2438,1836,1498,1713,2131,2140,2059,3242,3935,3276,1905,1453,1339,1336,1471,1608,1394,1367,1487,1232,1194,1312,1394,1405,1410,1378,1370,1281,1491,1575,1481,1605,1830,2195,2050,1565,1901,2182,2168,1854,2034,2454,3410,3120,2864,2930,2399,2045,2471,3017,3616,4197,3926,3895,3493,3442,3151,2432,2553,3281,3275,2277,1964,2603,2806,2043,1714,2024,2535,2336,1922,2106,2127,2245,2423,2235,1779,1797,1985,1738,2092,1926,1803,2224,2316,2440,2221,2422,3108,3156,3142,3437,3445,2819,2801,2189,1995,2170,1963,1857,2206,2127,1694,1709,1686,1790,2323,2776,2288,2626,1961,2359,2180,1816,2541,2586,1999,1910,2101,2280,2075,2858,2587,2026,2235,2054,1834,1718,1649,2085,2353,2290,2358,2389,2745,2657,2528,2448,2217,1841,2026,1936,2128,2486,2468,2510,2248,2128,2513,1933,1918,2423,2935,2811,2539,2230,2037,1844,1778,2250,2402,2075,1685,1957,2470,2472,2214,2279,2463,1892,1555,1811,2102,2261,2407,2504,3042,3008,3692,3981,4124,3540,3303,2899,2758,2438,2080,2267,2405,2104,2271,3094,3601,2305,2358,2989,3210,2863,2521,2641,2262,2176,2621,2643,2591,2178,2521,3187,3240,2935,2913,3103,2805,2482,2551,3284,4229,4272,4077,3774,3068,2851,2642,2436,2122,2218,2732,3225,3348,3095,3328,3680,3587,3147,3185,3185,2712,2166,1978,2210,2646,3236,3227,2680,2746,2976,2839,2601,2369,2144,2100,2617,2251,2055,2108,2478,2575,2304,2349,1858,1512,1760,2217,2368,2299,2070,2086,2253,2740,3138,2854,2656,2703,2184,2186,2437,2237,1917,2199,2226,2876,3130,2944,2810,2645,2331,1890,1833,1742,1534,1660,1935,2033,2354,2142,1829,1796,2146,2029,2003,1901,1866,2526,3343,2891,1778,1789,2012,1932,1628,1593,1673,1537,1612,1809,1892,2017,1958,1806,2060,2354,2314,3045,3017,1928,1694,2050,2010,2094,2150,2071,2048,2093,2353,2999,2765,2643,2439,1955,2255,2222,2268,2851,2962,2606,2747,2241,2110,1879,2226,1961,2016,2442,2548,2253,2167,2047,1920,1735,1899,1878,1994,2326,3161,3069,3095,3248,3163,2682,2410,2684,2878,1978,2152,2923,3045,2896,2438,1447,1229,2201,2339,2000,2337,2160,1741,2181,2691,2380,1980,1653,1919,2426,2115,2240,2364,2439,2702,3021,3044,2846,3256,3881,3701,3561,3310,3172,3186,4008,3769,3353,3742,3493,2944,2984,3150,2672,3219,3730,4017,3294,3580,3826,3593,3359,2816,2494,2627,2671,2603,2701,3095,2985,3185,3363,3707,3615,3861,4121,3097,2685,3031],[2898,3142,3847,3801,3989,3591,2564,2298,2524,2244,1598,1460,1652,1972,2037,2136,2055,2530,3595,3704,3067,2774,2132,2051,1819,1568,1950,2686,2792,2352,2279,2798,3075,2403,2699,2551,2475,2241,2148,2549,2365,1850,1737,2185,2228,2137,2244,1966,2114,2270,2626,2155,1859,1794,1793,1952,2194,2483,2100,2031,1914,1815,1864,1968,1846,1776,2083,2440,2198,2211,2143,1699,1687,1596,2082,2046,1549,1766,1794,1614,1517,1832,2196,2426,2580,2499,1758,1509,1592,1700,2712,2370,1763,1924,2303,2223,1808,1610,1484,1569,1841,1866,1758,1881,2121,2907,3166,3284,2759,2346,2618,2887,2935,2556,2054,2513,2766,2889,3150,3353,3718,3627,3704,3088,2218,2382,2199,1752,1863,1653,1905,2302,1726,1605,2181,2468,1952,2149,2475,2057,1876,1790,1945,2212,2019,1987,2286,3160,3017,2214,1901,1827,1820,1931,2102,2186,1591,1420,1989,1440,1837,2490,2643,2514,2255,2260,2331,2059,1913,2265,2585,2657,2593,2919,2669,1750,1701,1704,1828,1734,2272,3041,3226,2953,3024,3442,3761,3230,3048,3379,3450,3396,3296,3167,2856,2893,3260,2846,2258,1170,702,1354,1321,1041,1738,2418,3228,3053,2524,2618,2438,2052,1881,2241,2671,2372,2027,1722,1894,1804,1628,1672,1871,1900,2154,2419,2599,2479,2266,2187,2085,2034,2374,3285,3519,2743,2076,2017,2994,3749,2887,2190,2369,2260,1887,2202,1989,1814,1901,2135,1902,1712,1839,1695,1799,1990,1754,1794,2524,2763,2327,2153,2157,1810,1859,2234,2338,2036,2028,1888,1882,2056,2018,2088,1766,1814,1960,1787,1746,1828,1605,1603,1712,1743,1832,1837,1978,2146,2020,1603,1560,1766,2241,1623,1154,1637,2247,3139,3422,3231,2819,1628,2189,3072,2968,2884,2296,2072,1939,1924,2410,2969,2641,2511,2731,3010,3008,2105,2836,2730,2333,1866,2055,2852,3352,3011,2832,3051,2843,2889,2919,3017,2820,2023,1780,2208,2426,2619,2924,2941,2730,2230,2116,2024,1831,1760,1532,1820,2292,2032,1686,1999,2307,2319,2122,1686,1468,1473,1494,1598,1956,2042,1710,1794,2276,2203,2087,1803,1924,2337,1903,1487,1507,1764,1892,1984,1858,1989,3015,3479,2982,2547,2038,2013,2659,2110,1554,1637,1597,1677,2025,1999,1624,1640,1986,1636,1553,1799,2151,2603,2630,2717,3507,3211,1973,1562,2000,2006,1828,1687,1522,1602,1512,1427,1374,1512,1563,1526,1547,1577,1606,1584,1438,1332,1554,1501,1350,1831,1904,1575,1610,1638,1826,1714,1802,1815,2357,2798,2292,2025,1902,1902,2248,1770,1720,2537,2951,3263,3478,3560,3465,3506,3171,2949,3164,2569,1662,1549,1636,1630,1858,2757,3225,3102,2355,1953,1754,1526,1508,1545,1557,1288,1621,1789,1636,1804,1608,1452,2097,2868,2988,2387,1854,2020,2062,2039,1920,1998,1619,1675,2392,2106,1609,1678,2161,2475,2296,1717,1477,1569,2042,1958,1874,2524,2072,2059,2220,1905,1784,1499,1446,1687,1530,1592,1580,1531,1617,1636,1456,1598,1619,1559,1514,1673,1820,1824,1990,2390,2169,2232,2317,2415,2604,2227,1936,1970,1887,1895,1994,2038,2149,1914,1836,1842,2121,2011,1915,1960,1905,1957,2033,1855,1971,2367,2747,2749,2361,1930,1820,1776,1700,1736,1958,1838,1678,1873,1923,1947,1825,1883,2066,2005,1946,2024,1956,1844,1751,1699,1599,1876,2198,1811,1649,1516,1582,1908,2108,1841,2148,2273,1930,1605,1682,1798,1984,1880,1584,1514,1650,1753,1989,2073,2198,2338,2297,1980,2186,2856,2263,1750,1587,1599,1717,1744,1892,1665,1817,2018,1952,1798,1639,1729,1955,1930,2032,2372,2195,2087,1846,1824,1968,1915,2004,2274,2053,1819,2003,2304,2630,2630,2604,2553,3340,3917,3834,4117,4100,3853,3846,4000,4120,4276,4432,4228,4524,4315,4150,4225,4339,4014,3626,3186,3037,3189,3000,2174,1888,2116,2186,2330,2374,2436,2680,3117,3385,3298,2937,2874,3142,3383,3497,3748,3748,2788,2176,1840,1844,1860,1837,1801,1802,1765,2015,2434,2509,2334,1691,1691,2322,2854,2324,2214,2692,2121,1678,2409,3199,3126,2430,1907,1902,1668,1551,1431,1512,1895,1614,1335,1874,1977,1508,1503,1406,1435,1612,1658,1715,2098,1996,1882,1648,1842,1770,1719,1594,1414,1728,1594,1314,1606,1740,2292,2588,1946,1566,1719,1791,1800,1637,1586,1691,1986,1506,1589,1693,1703,1663,1934,2215,1931,1737,1762,1844,1758,1427,1447,1710,1969,1954,1770,1766,2002,2669,2613,2540,2910,2948,2998,3431,3264,2690,3561,3438,2647,1666,1541,1690,1641,1581,1670,1762,1616,1776,1782,1560,1706,1710,1668,1180,1672,2464,3097,2414,1854,2166,2289,1494,1451,1532,1177,1082,1339,1681,2080,2048,1614,1744,1750,1665,1694,1651,1547,2013,2113,2211,2495,2332,1741,1426,1272,1312,1608,1658,1605,1730,1822,1977,1806,1586,1618,1477,1557,1532,1688,1729,1605,1801,1943,1772,1522,1656,1650,1658,1798,2114,2055,1997,2038,2194,2810,2628,1993,1700,1836,1952,2320,2620,2390,2046,2343,2336,2325,2858,2143,1607,1856,1733,1768,1310,1396,1887,1493,1638,1626,1609,1432,1413,1621,1788,1865,2014,2313,2492,2308,1498,1553,1691,1644,1729,1858,2190,1935,1509,2106,2426,2134,2620,2903,2453,1627,1476,1426,1330,1507,1418,1355,1489,1317,1400,1737,1892,1614,1699,1736,1698,1594,1747,1745,2423,2358,1782,1940,2072,1897,2330,3294,3573,2841,2238,1879,1676,1606,2045,1911,1519,1465,1425,1477,1793,2129,1888,2078,2401,2432,2364,2290,2102,2419,2623,2828,2922,3094,3400,3431,3916,4048,3916,3373,2422,1842,1657,1368,1733,2157,1833,1709,2003,1848,1700,1728,1700,1737,1796,1921,1897,1654,1571,1506,1520,1451,1526,1556,1605,1656,1664,1234,1264,1259,1394,1454,1407,1549,1438,1609,1690,1484,1488,1586,1620,1662,1957,2739,2135,2473,3287,3311,2933,2494,2409,2624,2661,2180,1591,2043,1966,2471,3523,3990,3750,3657,3584,3638,3537,3086,2812,3078,2159,2811,3293,2888,2217,2057,2228,2370,2482,2668,2618,1995,1976,1736,1683,1906,3032,2760,2910,2276,1726,1517,1458,2015,2315,1867,1620,1604,1533,1568,1580,1601,1746,1842,1715,1659,1656,1627,1621,1786,1950,2077,1882,1843,2058,2394,1791,1758,1577,1529,1641,1619,1581,1608,1762,1915,1963,2004,1770,1590,1577,1765,2008,2301,2753,2858,2410,2401,2636,1556,1411,1534,1489,1631,1765,1595,1857,1775,1719,1995,2336,2281,2653,2990,2025,1572,1522,1581,1610,1512,1406,1512,1598,1603,1418,1354,1506,1615,1700,1732,1875,1575,1650,2339,2352,2198,2272,1992,1426,1464,1717,2072,2205,2289,1888,1497,1277,1394,1949,2003,1632,1320,1274,1250,1246,1235,1256,1232,1371,1316,1183,1165,1336,1431,1543,1769,1551,1447,1494,1484,1414,1327,1316,1649,1930,1548,1328,1303,1420,1803,2155,1831,1294,1542,1917,2001,1682,1504,1404,1364,1756,1715,1697,1768,1337,1314,1435,1487,1508,1471,1240,1265,1377,1647,1496,1594,1517,1494,1741,1512,1536,1806,1891,1766,1597,1381,1534,2002,1767,1403,1425,1428,1396,1520,1345,1517,1592,1417,1329,1226,1260,1225,1431,1484,1325,1322,1369,1571,2225,2739,2276,2000,2392,2823,2690,2763,2220,1893,1826,1946,2270,2664,2473,1951,2271,2504,2253,2115,1974,1763,1587,1631,2066,2242,1758,1476,1626,1874,1977,2094,3248,3565,2542,1690,1442,1294,1378,1369,1391,1423,1406,1348,1265,1236,1341,1375,1450,1556,1474,1261,1238,1453,1498,1382,1348,1493,1616,1704,1400,1910,2113,1842,2056,2160,2564,3161,3312,3210,2995,2387,1972,2504,2847,2957,3408,3388,3688,3834,3382,2918,2800,2659,2877,2944,2548,2057,2473,2753,1982,1618,1461,1744,1817,1917,1943,1886,1904,1998,2370,1986,1765,2010,1734,1963,2135,2016,1968,2530,3265,3135,2993,3474,3360,3342,3318,3085,2669,2514,1979,1866,2009,1909,2105,2456,2144,1910,1924,1806,1792,1796,2005,2120,2522,2526,2728,2603,2208,2193,2256,2157,2139,2057,1821,1553,2173,1781,1671,2178,2053,1720,1778,1833,1888,1817,1844,2160,2468,2719,2400,2294,2482,2433,2105,1875,1891,2016,2160,2299,2584,2410,2364,2304,2123,2119,2677,2727,2428,2360,1948,1927,1869,1770,2295,2441,2565,2105,1975,2698,2728,2553,2688,2584,2143,1844,1865,1765,1938,2132,2424,3008,2930,3685,3222,3263,3168,3149,3112,2944,2338,1913,2343,2363,2098,2069,2364,2777,2121,2163,2080,2642,3079,3272,3497,3004,3100,3089,2446,2297,2591,3027,3022,3023,2770,2958,3427,2941,2680,3099,3475,3786,3594,3466,3570,3240,2536,1988,2298,2191,2235,2482,3141,3278,2677,3066,3050,3006,2774,2849,2920,2475,2070,2091,2238,2586,3163,3051,2125,2372,2510,2681,2570,2131,1914,1830,2444,2612,2511,2315,2354,2450,2876,2420,1856,1770,1879,2000,2166,1954,1924,2160,2253,2409,2719,2583,2500,2750,2289,2159,2220,2049,1964,2542,2797,3107,2854,2518,2632,2812,2375,2192,1748,1584,1765,1613,1482,1808,2066,2180,1907,1643,1917,2226,1983,1533,2002,2126,2287,1727,1644,1642,1720,1659,1608,1642,1545,1470,1887,2041,1938,2097,2397,2488,2767,2314,2027,2686,3264,2003,1024,1460,1720,1954,2240,2262,2018,1970,2033,2576,2742,2604,2056,2031,2586,2463,2699,3483,3491,3075,2540,1868,1860,1884,1889,1963,2222,2514,2380,2554,2280,2017,2004,1990,2208,2044,2128,2599,3430,3631,3284,3606,3491,2763,2509,2869,3130,2030,1836,2612,2750,3034,2304,1714,1756,2045,2172,2248,2161,1668,1537,1855,2090,1887,1795,1873,2250,2262,2260,2335,2002,1992,2308,2691,1994,1939,2846,3658,3771,3220,3441,3626,3444,3827,3859,3515,3517,3297,3191,2512,2728,2721,3428,3610,3000,3170,3783,3749,3970,4037,3607,3462,3169,2898,2625,2966,3105,3049,3443,3454,3251,3516,3989,3958,2785,2586,2956],[3167,3601,3948,3916,3686,3522,3089,2460,2138,2019,1959,1691,1869,2404,1940,2157,2240,3184,3006,2748,2573,2098,2087,2323,1685,1604,1962,2532,2713,2173,2413,2572,2657,2247,2520,2018,2254,2348,1851,1900,1758,1417,1563,2648,2495,1891,1581,1602,1707,1966,2310,2044,1686,1555,1668,1946,1962,2582,2496,2178,1889,1496,1474,1790,1964,1991,2184,2048,2312,2492,1949,1644,1755,1520,1603,1725,1717,2004,2008,1890,1827,2090,2290,2170,2009,1980,1645,1778,1479,1786,2610,2501,2393,2285,1892,1772,1624,1604,1432,1601,2096,2289,1882,1751,1795,2482,2691,2414,2126,2083,2589,2999,2963,2851,2657,3001,2407,2818,3073,2634,3393,4034,3971,3317,2879,2868,2027,2140,2316,2028,2486,2292,2508,1959,1863,2113,1777,2285,2354,1791,1759,1786,2187,2199,2002,1747,2051,2501,2425,2119,1800,2012,2170,1843,1979,1956,1122,1552,2447,2562,2722,2175,2551,3033,3065,3054,2894,2268,1603,1781,2263,2721,2445,2415,1984,1721,1721,1741,1936,2013,2416,2773,2439,2477,2947,3040,3277,3183,3174,3698,3917,4113,3852,3334,2330,2337,3393,2774,2019,1757,1613,2178,2046,2002,1968,2279,2377,2117,1996,1879,1845,1791,1731,2243,2953,2370,2054,1839,1880,1729,1688,1889,1975,2385,2732,2483,2210,2153,1948,2232,2420,1853,2010,2176,2348,2012,1854,2026,2316,2290,1644,1742,2248,2247,2376,2078,2113,1958,1773,2520,2556,1859,1616,1554,1864,1919,1820,1871,2576,2721,2879,2500,2097,1846,2229,2653,2255,2048,1738,1541,1694,1890,1782,1810,1616,1633,1482,1676,2102,2067,1945,1926,1938,2078,2057,1910,2212,2379,1813,1585,1400,2035,2416,1640,1095,1402,2209,3194,2850,2710,2415,2029,2806,3419,3187,3253,2932,2221,2094,2351,2405,2511,2674,2874,3253,3566,3042,2214,1968,2001,2206,1907,1933,2886,3028,2561,2769,3037,3176,3060,2667,2643,2625,1995,1727,1854,1894,2370,2883,3127,3052,2821,2497,2488,2282,1833,1517,1431,1871,1782,1598,1855,2118,1829,1722,1488,1550,1937,1719,1694,2050,1955,1611,1776,1861,1895,2199,1757,1643,2132,1909,1445,1700,2223,2302,2154,2082,2562,3215,3403,3253,2920,2076,2038,2434,1906,1553,1652,2166,2116,2086,2244,1758,1984,2233,1942,1837,2020,2731,2789,2825,3190,3296,2902,2109,1781,1852,2067,1997,1634,1431,1414,1410,1515,1476,1393,1737,1717,1521,1605,1707,1649,1487,1422,1554,1626,1903,2557,2244,1970,1919,1982,1871,1750,2002,2294,2680,3130,2424,1631,1589,1881,1867,1802,1759,2218,3030,3329,3338,3542,3586,3541,3043,2548,2897,2358,1660,1606,1740,1944,2844,3299,2810,2414,2079,1861,1653,1617,1540,1458,1570,1682,1601,1532,1703,2159,2048,1407,1673,2692,2468,2106,2208,2095,2063,1714,1864,2408,2359,2564,2621,2060,1560,1837,2514,2409,2221,1691,1397,1625,2086,2342,2578,2741,2535,2742,2814,1967,1781,1414,1547,1734,1709,1568,1872,1709,1410,1449,1504,1579,1773,1907,1649,1579,1610,1598,1891,2003,2157,2286,2692,2975,2864,2339,1953,2035,1946,1937,1964,2128,2182,2201,2277,2676,2912,2424,2146,2533,2586,2164,2284,2289,2243,2491,3019,2977,2571,2098,1859,1893,1775,1715,1977,1709,1538,2105,1876,1660,1834,2036,1727,1689,1658,1882,2149,2095,1876,1719,1813,1993,2228,1909,1858,1771,1692,1864,1961,2261,2719,2698,2204,1990,2124,1736,1675,1896,1930,1722,1705,1832,2219,2215,2218,2176,2055,1811,1962,2049,1821,1742,1791,2137,2004,1953,2129,1960,1910,1868,1691,1672,1741,1891,1892,1881,2076,1853,1900,2105,2016,1773,1682,1933,2081,2161,2218,1992,1800,2580,3040,3310,3510,3409,3933,3825,3572,3805,3845,3907,4091,4308,4432,4425,4246,3984,4372,4620,4432,4323,4316,4281,3962,3536,3379,3296,3129,2424,2636,2692,2234,2316,2339,2216,2330,2466,2369,2154,1964,1998,2241,2374,2552,3123,3342,2536,1940,1769,1831,1836,1785,1751,1777,1810,2134,2388,2514,2554,1719,1547,1508,1870,2529,2626,2388,1985,1536,1769,2624,3107,2463,1966,1849,1614,1453,1372,1508,1574,1455,1496,1744,1648,1377,1459,1488,1862,2031,1792,1850,2222,2173,1895,1555,1576,1684,1570,1478,1530,1670,1866,1786,1674,1787,2159,2902,2311,1757,2034,1972,1880,1845,1641,1818,1876,2100,2040,1852,1551,1353,1447,1467,1519,1494,1603,1784,1823,1571,1747,2078,2359,1859,1656,1788,2281,2685,2706,2796,2880,2762,3142,3610,4093,3659,3552,3218,2532,1899,1684,1785,2021,1902,2116,2048,1818,1697,1577,1777,1694,1665,1850,1361,1578,2083,2109,1831,1701,1922,1998,1263,987,1065,1065,1277,1614,1682,2083,1737,1794,2140,1682,1590,1941,2747,2097,2286,1886,1605,1333,1279,1489,1477,1612,1820,1705,1583,1559,1663,1945,2253,2082,1759,1615,1622,1716,1632,1467,1451,1683,1785,1746,1534,1492,1672,1599,1238,1703,2125,1990,1732,1586,2226,2556,1841,1780,1538,2003,2345,2552,2768,2761,2095,1922,2270,2473,2380,1837,1474,1632,1534,1804,1344,1223,1408,1303,1474,1583,1597,1657,1563,1636,1803,1687,2214,2994,3057,2249,1640,1802,1807,1792,1831,1659,2020,2305,1776,2049,2828,2640,2826,3083,2421,1637,1481,1533,1505,1652,1528,1399,1384,1431,1562,1542,1583,1526,1559,1616,1786,1756,1664,1561,1597,1499,1583,2269,2841,2451,2155,2976,2900,2488,1911,1800,1857,1825,1854,1864,1676,1626,1765,1942,1842,2122,1919,2185,2483,2857,3083,3053,2727,2386,2524,2529,2492,2686,3288,3596,4012,4072,4192,3925,2997,2167,1799,1505,1571,1802,1788,1863,1991,1800,1722,1869,2122,2286,2010,1905,1824,1713,1549,1526,1647,1581,1598,1470,1456,1434,1719,1548,1384,1249,1388,1405,1590,1827,1658,1450,1388,1379,1439,1440,1442,1536,2039,2109,1686,1635,2327,2883,2624,1872,1720,1750,2007,2294,1839,1927,1838,1767,2786,3631,3711,3700,3870,4073,3882,3080,3032,3680,3297,3332,3853,3576,2585,2091,2010,1953,2449,3239,3046,1919,1656,1741,1619,1764,2511,2641,3100,3010,2052,1519,1505,1882,2145,1950,1593,1524,1709,2009,1688,1638,1960,1900,1782,1688,1559,1568,1689,1838,1743,1957,1937,1781,1944,2192,2099,1779,1468,1486,1593,1634,1441,1398,1570,2034,1893,1499,1478,1459,1427,1582,1855,2379,2767,2626,2127,2008,1844,1665,2199,2317,1688,1474,1492,1534,1512,1384,1512,1678,1868,1502,1995,2352,1507,1832,2099,2129,2078,1744,1548,1403,1225,1472,1388,1273,1642,1996,2049,2215,2285,2042,2388,2349,1851,1775,1854,1649,1537,1531,2003,2231,2099,2042,1631,1305,1329,1712,2106,1929,1582,1301,1386,1333,1270,1222,1219,1223,1335,1265,1157,1057,1318,1488,1395,1353,1406,1321,1342,1353,1396,1409,1541,1683,1687,1446,1322,1476,1836,2293,2114,1858,1423,1273,1637,2067,1815,1585,1279,1291,1475,1479,1852,2178,1676,1231,1236,1693,1622,1470,1340,1209,1165,1302,1521,1678,1250,1391,1981,1704,1487,1699,1751,1748,1591,1525,1778,1572,1333,1337,1398,1541,1422,1475,1466,1577,1614,1375,1243,1325,1349,1356,1433,1471,1385,1301,1631,2364,2421,2512,1748,1547,2158,2751,2369,2019,2030,1820,1605,1918,2251,2870,2813,2314,2386,2288,2240,2259,2060,1752,1570,1642,1934,1891,1537,1597,1694,1784,1963,2773,3646,3028,1792,1318,1322,1418,1422,1318,1571,1792,1310,1259,1301,1290,1353,1459,1510,1434,1370,1379,1382,1367,1239,1179,1305,1361,1503,1861,1684,2084,1676,1587,2130,2678,2933,2956,3320,3442,2957,1971,1841,2108,2218,2564,2962,3017,3090,3364,3076,2928,2808,2418,2338,2531,2513,2564,2719,2288,1795,1645,1585,1632,1855,1898,1654,1543,1659,1935,2330,2071,1701,1628,1670,2240,2243,1712,1524,1743,2414,3027,3319,3580,2956,2866,2953,2755,2428,2123,1838,2045,2377,2343,2138,2411,2050,1940,1918,1765,1489,1413,1571,1956,2714,3092,3016,2642,2376,2255,2131,2033,2056,1905,1973,2120,2324,2121,1998,2200,2360,2326,2625,2344,1958,1792,2030,2511,2642,2798,3033,2754,2784,2812,2087,2165,2555,2450,2624,2495,2321,2552,2591,3039,2698,2323,2454,2284,2549,2853,2266,1907,1736,1761,2009,2309,2633,2354,2277,3006,2908,2764,2769,2850,3074,2733,2248,2007,1988,1905,2405,3056,3075,3266,3206,3368,3334,3095,3083,2977,2209,2188,2105,2098,2780,2531,2365,2461,2605,2590,2167,2808,3474,3407,4068,3858,3654,3139,2395,2563,3348,3573,3144,2659,2304,2765,3742,3868,4272,3908,3714,3585,3210,2975,3107,2720,1885,1879,2061,1909,1921,2137,3125,3292,2974,3239,3072,3156,2662,2044,2060,2027,2037,2253,2272,2404,2618,2229,1771,2237,1934,2242,2237,2064,2245,2320,2504,2548,2655,2819,2663,3009,3183,2790,2092,1859,1826,2024,2128,1920,1826,1866,2358,2669,2460,2347,2657,2147,2226,2420,2633,2643,2437,2702,2984,3096,2916,2279,2185,2480,2128,2119,1905,1687,1713,1641,1426,1519,1741,1837,1688,1628,2057,2420,1543,1386,1766,1579,1531,1688,1770,1574,1547,1574,1642,1605,1644,1785,2104,1992,1985,1910,2111,2556,2286,2026,2458,2773,2657,1715,1340,1677,1810,1746,2072,2150,2027,1659,1650,2354,2412,1984,2130,2474,2763,2274,2556,3597,3505,2697,1824,1600,1860,2015,2210,2126,2520,2604,2132,2509,2344,2614,2594,2407,2204,2195,2084,2130,2817,3064,3144,3665,3398,3344,3150,3054,2270,2156,2685,3020,2652,2677,2508,2146,2059,2285,2338,2496,2180,2038,2095,1861,1911,1747,1763,1825,1909,1912,1907,1852,1926,2352,2631,2391,1758,1513,2474,3046,3318,3295,3560,3698,3628,3661,3728,2987,2846,3026,2931,2053,1811,1948,2397,2535,2535,2836,2775,2842,3774,3890,3653,3689,3200,3055,3267,3627,3327,3194,3518,3255,3027,3557,3754,3437,2544,2808,2923],[3197,3902,4280,3993,3276,3097,3177,2969,2553,2002,2083,2145,2280,2402,2099,1843,1858,2410,2295,2464,2590,2131,2620,2562,1652,1945,2426,2944,3031,2548,2548,2525,2714,2944,2714,2406,2900,2635,2031,1675,1770,1707,2015,2458,2245,1795,1902,2120,1928,2305,2624,2161,1715,1478,1450,1816,2223,2501,2254,2255,1952,1537,1466,1827,2010,1997,2077,2265,2612,2189,1751,1785,1635,1641,1828,1839,1805,1832,2032,2049,1636,1764,1964,1940,1867,1672,1644,1997,1818,1773,1868,1704,2407,2933,1862,1693,2003,2006,1722,2024,2382,2220,1926,1683,1776,2390,2422,1714,2034,2373,2698,2625,2656,2456,2609,2557,2442,3009,3112,3376,3946,3821,3824,3149,3377,3182,2211,2769,2563,2668,2788,2554,2422,1851,1763,1896,1865,2119,1967,1765,1718,2032,2490,2035,1968,1911,1997,1987,2153,2274,2160,2076,1908,1763,2046,2335,1893,2322,3024,3054,2452,2328,3129,3586,3318,2876,2320,2080,1773,1493,1888,2295,2294,2248,2218,2454,2221,1824,2171,2577,2357,2941,2847,2867,2668,2583,3307,3828,3868,3980,3919,4244,4184,3085,1751,2142,2887,2121,2501,2482,2420,2431,2360,2348,2336,2404,2054,1558,1336,1410,1812,2648,2478,2373,2245,2158,2005,1984,1916,1737,1922,1897,2073,2566,2279,1843,1538,1960,1793,1803,2258,1896,2066,2029,1743,1737,2214,2907,2756,2327,2033,1833,1881,1708,1807,2084,2494,2448,2298,2799,2851,2132,1521,1302,1824,2241,1990,1793,2048,2424,2561,2632,2856,2742,2776,2829,2536,2741,1999,1651,1586,1963,1826,1540,1614,1637,1631,1975,2095,1858,1881,1876,1808,1842,1864,1822,1720,1908,1892,1686,1578,1793,2154,2091,1550,2044,3175,3480,2268,1837,1776,2156,2614,2680,2758,2985,2688,2155,1936,2288,2590,2267,2842,3034,3045,3272,3156,2348,1826,1904,1950,1986,2536,3139,2621,2569,3203,2887,2750,3010,2934,3243,2985,1947,1609,1742,1513,2156,3122,3624,3397,3187,2662,2570,2444,1971,1634,1721,2136,2060,1976,1791,1844,1533,1599,1469,2123,2597,1942,1655,1846,1630,1481,1644,1987,1905,1660,1449,1490,1816,1680,1376,1700,2220,2490,2202,2319,3127,3726,3574,3240,3327,2981,2590,2271,2244,1960,2173,2657,2186,2101,2352,1975,1850,1736,2041,1882,2104,2068,1995,2600,2956,3152,2797,2320,2305,1876,1938,1765,1612,1556,1448,1460,1365,1406,1473,1750,1722,1531,1634,1576,1434,1360,1593,1816,1835,1982,2062,2286,2056,1802,2015,2046,1978,2060,2509,2305,2068,1930,1559,1654,2202,1942,1736,1635,1961,2842,3350,3161,3414,3661,3425,3351,2675,3162,2724,2030,2168,2410,2389,2701,2622,2183,1933,1746,1553,1458,1678,1580,1478,2758,2564,1532,1577,1775,2017,1943,1436,1196,1535,1598,1701,1921,1749,1742,1823,2124,2358,2495,2805,2536,2004,1587,1710,2162,2811,2755,1857,1614,1800,1822,1840,1697,1855,2461,2266,2066,1650,1903,1590,1605,1717,1814,1601,1926,1885,1570,1475,1488,1639,1808,2175,1853,1628,1817,1645,1722,1708,1922,2283,2851,3167,3040,2417,1850,1943,1830,1981,1868,2213,2307,2448,2300,2692,3134,2813,2580,2736,3096,2583,2932,2833,2644,2617,3066,2922,2597,2249,1886,1918,1912,1687,1773,1743,1670,1933,1704,1478,1679,1581,1308,1437,1549,2017,2742,2647,1828,1598,1710,1851,2107,1903,1816,1821,1920,2112,2240,2202,2164,2179,2061,2106,2128,1895,1886,2327,2092,1708,1870,1992,2314,2380,1886,1505,1607,1706,1665,1549,2037,1749,1770,1887,1846,2182,2294,1890,1756,1840,1885,1958,1810,1890,1840,1678,1780,1722,2180,2308,2154,2047,1824,2210,2392,2405,2944,2910,2690,3332,3642,3919,4038,3837,3736,3972,4268,4091,3764,3233,3574,4184,4050,3875,3985,3774,4311,4672,4271,4089,4198,4289,4056,3679,3527,3416,3153,2226,2698,3169,2822,2364,2130,2254,2303,2253,2092,1966,1982,1952,1996,2225,2523,2984,2733,2052,1696,1634,1715,1749,1754,1738,1746,1749,2136,2222,2313,1990,1780,1692,1529,2308,3065,2662,1940,1615,1362,1554,1959,2093,2173,1732,1463,1460,1508,1467,1476,1578,1694,1627,1686,1521,1450,1528,1498,1898,1892,1686,2027,2429,2502,2338,2092,1745,1680,1593,1548,1576,1594,1686,1606,1493,1405,1671,1977,1773,1647,1882,1779,1903,2170,1963,1779,1581,1790,1924,1891,1727,1596,1440,1489,1782,1828,1797,2264,1988,2002,2249,2326,2051,1722,1666,2143,2906,2846,2838,3189,3241,2722,2700,3044,3394,3310,3436,2855,2195,2330,2345,2192,1938,1997,2585,2450,1951,1605,1835,1944,1869,1631,1388,1613,1852,1842,2217,1752,1732,1640,1742,1541,1417,1209,1218,1562,1770,1702,1543,1325,1487,1522,1260,1320,2219,3364,2635,2552,2299,1606,1123,1368,1574,1622,1639,1704,1629,1730,1788,1982,2809,2916,2342,1879,1562,1593,1841,1738,1411,1715,2025,1542,1428,1738,2023,1996,1478,1269,1743,2260,2629,2299,1443,2000,2492,2342,2220,1762,2584,3100,2849,2519,2216,1957,2035,2372,2590,2165,1574,1402,1375,1372,1448,1312,1378,1505,1673,1666,1467,1532,1511,1356,1506,1658,1271,1477,2030,2230,1703,1378,1416,1604,1838,1676,1084,1605,2338,1924,2157,2963,2591,2200,1975,1655,1534,1742,1845,1590,1430,1451,1451,1456,1908,1788,1553,1774,2062,1970,1944,2102,1928,1880,1800,1543,1452,1608,1785,2396,2314,1936,2103,1979,1834,1960,2073,2192,2136,1984,2085,1949,1893,1939,1943,1924,2106,1726,2132,2803,3417,3718,3640,3217,2718,2413,2310,2374,2708,3312,3758,3938,4084,4192,3947,3317,2708,2120,1836,1820,1929,2227,2513,3010,2568,1941,1941,2084,2250,2101,1736,1957,2181,1653,1390,1427,1701,1887,1803,1636,1636,1414,1437,1585,1498,1453,1323,1338,1340,1548,1466,1338,1469,1584,1672,1634,1416,1668,2082,1960,1851,2161,2019,2292,1980,1692,1322,1555,2124,2016,1817,1730,1853,2276,3182,3917,3948,4081,4128,3996,3159,3481,3662,3249,3325,3876,3464,2502,2092,2162,1909,2770,3672,2822,1786,1903,2167,1842,2070,2693,2545,2730,2976,2398,1804,1554,1749,1682,1934,1785,2044,2430,2698,2044,1472,1788,1990,1769,1477,1576,1830,2088,1847,1898,2007,1990,1800,1845,2201,2257,1826,1722,2230,2310,1804,1416,1424,1570,2058,1842,1678,1763,1728,1656,1614,1636,2178,2542,2509,1927,1654,1344,1779,2540,2271,1460,1355,1430,1488,1599,1301,1342,1513,1520,1401,2022,2366,1965,2037,2276,2243,2014,1691,1511,1414,1368,1369,1282,1276,1433,2044,2583,3068,2949,2609,2507,1935,1682,1792,1720,1487,1463,1531,1680,1838,1972,1918,1509,1329,1393,1863,2126,1964,1720,1488,1378,1354,1288,1269,1235,1306,1374,1261,1161,1203,1335,1425,1266,1274,1376,1370,1337,1266,1341,1431,1694,1820,1650,1460,1338,1416,1660,1941,2175,2119,1461,1279,1815,2067,1798,1602,1694,1739,1801,1489,1434,1749,1654,1262,1250,1410,1577,2233,2319,1636,1557,1458,1473,1381,1277,1428,1990,1777,1568,1616,1648,1783,1629,1653,1919,1624,1397,1298,1268,1379,1538,1449,1688,1723,1636,1439,1296,1390,1464,1462,1465,1543,1610,1851,2350,3111,2795,2306,2244,2509,2890,2996,2408,2076,2080,1911,1525,1860,2231,3044,3002,2313,2266,2509,2398,2137,1979,1867,1643,1672,2048,2126,1704,1573,1794,2021,1792,2976,3942,2885,1682,1289,1351,1400,1457,1399,1438,1482,1361,1469,1556,1538,1461,1463,1399,1234,1306,1500,1420,1313,1218,1148,1390,1352,1435,1646,1887,1817,1503,1840,2996,3817,3375,3244,3237,3249,3272,2622,2266,2002,2020,2204,2736,2713,2030,2177,2396,2688,2987,2863,2481,2395,2740,2629,2261,1949,2254,2128,1441,1770,2187,1878,1826,1708,1638,1996,1792,1585,1609,1430,1655,2172,1876,1584,1578,1751,1864,2002,2122,1826,1592,1740,2078,2106,1968,1885,1957,2195,1970,2079,2595,2370,2140,2281,2276,1847,1490,1491,1698,2258,2690,2940,2940,2401,2115,2214,2026,1947,1972,2037,2426,2709,2783,2707,2372,1954,2106,2438,2668,2138,2092,1931,2246,2614,2587,2514,2872,2867,2808,2706,2408,2608,2905,2750,2583,2176,2085,2707,2678,2548,2618,2827,2801,2511,2460,2918,3053,2197,1790,1801,1853,2272,2644,1957,2300,2938,2587,2788,2585,3085,3356,3267,3038,2783,2568,2204,2580,3253,3087,2941,3042,3083,3056,2962,3031,2773,2370,2886,2380,2545,3001,2973,3350,3160,2267,1941,2321,3362,3806,3607,4149,3780,3518,3532,3200,3386,3740,3708,3492,2913,2066,2761,3850,4241,4256,3779,3714,3603,3629,3452,2946,2571,2030,1695,2072,2404,2093,2585,3110,2966,3360,3142,3086,3354,3162,2778,2588,2349,2343,1987,1808,1936,2059,1704,1699,1903,1770,1964,1744,2025,2522,2630,2524,2065,2922,3295,2908,3441,3265,2727,2047,2144,2068,2024,2152,2054,2127,2217,2304,2274,2380,2314,2067,1829,2388,2642,2742,2624,2551,2631,2952,3030,2956,2254,2508,2205,1802,1679,1928,2005,1988,1933,1804,2052,1933,2156,1960,2064,2282,1992,1465,1411,1378,1370,1518,1774,1814,1667,1844,1546,1440,1996,2009,1873,1989,2037,1978,1932,2197,2608,2148,1769,2468,2840,2315,2148,1786,1609,1602,1616,1882,2047,2124,1788,1543,1920,2050,2045,2442,2518,2360,1741,1923,2890,2890,2099,1643,1843,2126,2084,2035,2241,3632,3182,2266,2078,2562,2708,2994,2631,2414,2367,2126,2226,2240,2394,3204,3254,3458,3595,3501,2854,2182,2986,3538,3231,3277,3874,3862,2921,2690,3101,2890,2155,2377,2602,2647,2608,2336,2065,1991,2148,2269,2529,2277,1497,1874,2542,2933,2425,2147,1807,1656,2024,2599,3222,3539,3264,3226,3041,3207,2754,2830,3465,2934,2234,1940,1808,1766,1829,2083,1853,1886,2555,3406,3415,3464,3310,3089,2874,3184,3499,2965,2690,2878,3190,2979,3262,3480,2836,2547,2848,2731],[3360,3969,4124,3647,2995,2727,2532,2591,2817,2545,2072,2134,2336,2271,2048,1653,1600,1890,2268,2865,2898,1820,2448,1849,1563,1799,2000,3034,3376,2917,2448,2331,2504,2504,2110,2106,2906,2665,2606,1925,1563,1407,1683,1925,2233,2521,2675,2364,1934,1908,1856,1999,1834,1565,1491,2004,2558,2262,2179,2017,1578,1573,1682,2061,2431,1915,1665,2088,2566,2120,2308,2068,1658,1770,1784,1790,1775,1694,1706,1699,1315,1416,1470,1874,2052,1876,1837,1827,1731,1790,1866,1693,2252,2549,1985,1990,2204,2161,2413,2476,1957,1796,1702,1729,2326,2644,2291,1951,2986,2946,2189,1834,2138,2282,2244,2259,2739,3037,2980,3443,3588,3348,3355,2525,3268,3104,2943,3178,2847,2780,2774,2396,2037,1557,1490,1561,1727,2013,1930,1976,1770,1889,1914,1633,1794,1960,1736,1740,1914,2205,2734,2340,1838,1901,1812,1834,2540,2778,2693,2421,2112,2689,3208,3350,3006,2539,1927,1974,1997,1742,1604,2053,2568,2700,2369,2076,1926,1686,1952,2444,2555,3239,3494,3638,3707,3801,3999,3905,4156,4204,3286,3174,3134,2249,1470,2592,3352,3150,3408,3142,2901,2684,2507,2710,2841,2529,2211,1771,1584,1583,2131,2575,2408,2278,2111,2286,2468,2509,2282,2419,2483,1909,2482,2685,2073,1520,1724,2166,1930,1769,1972,1997,2148,1859,1600,2087,2758,3450,3406,2679,2086,2116,1900,1545,1907,2487,3124,3316,2965,2690,2822,2204,1524,1443,2657,2514,1963,1809,1661,1642,1684,1836,2281,2306,2136,2193,1964,1906,1918,1699,1754,2364,2172,1592,1522,1808,2285,2389,2120,1732,1885,1695,1481,1547,1634,1773,1917,2133,2070,1851,1744,1911,2268,2354,2468,2557,3225,2954,2102,1831,1721,1893,2372,2690,2757,2776,2658,2003,1943,2354,2202,2286,2922,2829,2603,2831,2655,2160,1952,1986,1750,1830,2819,2873,2260,2720,3251,2924,2955,3129,3228,3519,3362,2592,2210,2142,1849,2537,3336,3760,3687,3338,2844,2664,2309,1843,1833,2166,2330,1897,1653,1625,1629,1461,1453,1425,1815,2288,2108,2011,2002,1885,1811,1941,2250,2129,1852,1435,1302,1444,1378,1394,1587,1941,2017,1694,2156,3153,3632,3436,3272,3300,3074,2746,2997,3300,3121,3075,2877,2296,2081,2087,2098,1835,1539,1886,1930,1776,1686,1763,1979,1814,2043,2164,2183,2109,2029,2056,1669,1773,1686,1779,1645,1441,1479,1333,1479,1484,1519,1691,1483,1259,1327,1823,1869,1767,1568,1429,1707,1654,1618,1781,1866,1614,1757,2519,2041,1676,1825,1613,1810,2361,2249,1797,1848,2276,2409,2481,2429,2900,3205,3352,3444,3511,3968,3703,3128,3054,2910,2229,2240,2330,2020,1630,1592,1485,1585,1661,1495,1526,2659,2640,1376,1444,1673,1474,1498,1483,1500,1430,1518,1891,1709,1579,1853,2078,2344,2451,2797,2710,2027,1845,1998,2002,1967,2951,3068,2312,1825,1592,1507,1651,1495,1421,1985,1721,1652,1655,1708,1631,1602,1788,1690,1458,1631,1781,1576,1728,1572,1644,1519,2121,1845,1573,1960,1910,1938,1834,1851,2441,2930,2981,3112,2584,2097,1945,1882,2094,1893,2099,2210,2223,2207,2576,2865,2631,2692,2844,2831,2381,2568,2840,2703,2730,2932,2688,2431,2399,2291,2053,2261,1901,1792,1887,1681,1796,1861,1734,1879,1769,1512,1605,1913,2219,2855,2851,2066,1750,1562,2000,2106,1643,1603,1804,1797,2129,2591,2216,2025,2169,1953,1895,1957,1924,1833,1908,1852,1888,1918,1951,2200,2397,2152,1706,1689,1835,1636,1715,1799,1729,1727,1657,1879,2232,2281,2029,1990,1929,1934,2138,2107,2273,1849,1581,1710,1669,2060,2326,2065,2077,1902,2217,2852,3147,3528,3618,3775,3715,3615,3982,4232,4003,3714,3728,4013,4244,4072,3420,3977,4341,3875,3543,3647,3876,4357,4672,4532,4256,4120,4086,4028,3738,3673,3499,3174,2929,3051,2956,3146,2811,2117,2275,2398,2365,2204,2087,2113,2132,2120,2434,2987,3035,2308,1771,1680,1679,1734,1771,1786,1902,1705,1830,2238,2281,2209,1687,1747,1852,1671,2133,2373,1933,1631,1559,1614,1538,1493,1754,1862,1532,1388,1498,1661,1471,1421,1471,1585,1674,1674,1385,1567,1655,1738,1846,1629,1571,1600,1969,2271,2343,2328,1896,1607,1481,1615,1738,1480,1647,2110,2000,2070,1833,1511,1754,2077,1706,1761,1688,2042,2121,1658,1602,1616,1687,1987,1932,1723,1518,1630,2182,2169,2174,2222,1881,2111,2488,2269,1605,1594,1809,2366,2612,2657,2539,2999,3375,2966,2677,2597,2827,3088,2994,2513,2257,2195,2556,2285,2018,2040,2009,2192,1818,1619,1978,1915,1859,1687,1162,1364,2026,2118,2746,2166,1703,2015,2211,2062,1860,1377,1395,1775,1921,1755,1593,1587,1729,1810,1781,1561,1881,2292,2186,2198,2160,1526,1289,1348,1500,1718,1809,1915,1861,1705,1851,1982,2866,2953,2209,1939,1688,1363,1647,1813,1665,1847,2218,1861,1477,1989,2033,1832,1565,1423,1674,2249,2546,2126,1336,1787,2643,2938,2366,1654,2174,2722,2556,2302,2325,2305,2174,1891,1970,2282,1556,1589,1503,1633,1711,1432,1192,1478,1766,1605,1449,1338,1170,1281,1216,1666,1570,1407,1574,1726,1591,1464,1527,1619,1916,1788,1483,2134,2331,2271,2203,2591,2675,1987,1508,1556,1575,1955,2048,1636,1379,1385,1570,1803,2033,1909,1773,2246,3031,2754,2082,2149,2042,1822,1561,1424,1400,1525,1553,1776,1882,2142,2344,2048,2089,2542,2505,2156,2195,1997,1767,1748,2018,2153,2156,1955,1955,1999,2434,3191,3484,3492,3382,3364,3274,2878,2993,2901,3205,3687,3886,3853,3969,4048,3751,3773,3398,2316,1851,1750,1958,2913,3302,3293,2889,2412,2163,1954,2033,2066,2003,2570,2665,1738,1365,1504,1782,1820,1672,1625,1623,1338,1272,1452,1745,1614,1359,1300,1361,1395,1282,1328,1494,1653,2190,2057,1715,2142,2524,2211,1941,2060,1741,2218,2687,2322,1755,1559,1810,1835,1607,1854,2577,2545,3088,3755,4108,4348,4376,4256,3907,3536,3645,3570,3687,4006,3437,2539,2104,2254,2351,2730,3274,2529,2136,2367,2359,1925,1930,2330,2257,2406,3066,2941,2278,1665,1923,2366,2151,1798,2064,2265,2205,1738,1448,1649,1613,1593,1535,1593,1838,1938,1643,1816,1823,1699,1591,1639,1902,1926,1831,2147,2610,2289,1792,1523,1316,1743,2232,2076,1877,1914,1886,1454,1409,1625,2188,2380,2056,2100,1892,1636,1709,2002,1845,1405,1386,1541,1402,1747,1779,1793,1876,2002,1826,2202,2429,1930,1769,2219,2645,2384,1803,1563,1406,1445,1368,1414,1327,1400,1788,2283,2919,3011,2913,2711,2082,1737,1699,1643,1675,1532,1488,1482,1515,1798,1794,1439,1316,1456,1931,1898,1969,1713,1506,1414,1361,1395,1354,1293,1324,1337,1276,1442,1461,1408,1383,1368,1379,1503,1484,1366,1313,1339,1621,1937,1660,1623,1499,1368,1218,1437,1612,2094,1935,1502,1352,1517,1832,2128,2443,2181,1959,2322,1678,1929,2046,1464,1293,1394,1376,1824,3072,3019,2886,3188,2579,1592,1331,1561,1548,1693,1623,1617,1654,1730,1884,1861,1710,1543,1525,1581,1500,1437,1521,1476,1549,1626,1395,1353,1332,1230,1241,1269,1367,1406,1636,2476,2822,2893,3174,3130,2975,3141,3257,3108,2942,2409,2235,2001,1923,1564,1705,1967,2918,3303,2700,2474,2399,2226,2200,2075,2126,1856,1923,2105,2190,1956,1891,2009,2073,1822,2441,2813,2045,1568,1289,1308,1344,1477,1481,1556,1597,1490,1436,1388,1301,1277,1370,1417,1323,1323,1377,1264,1315,1232,1263,1355,1301,1205,1402,1809,1864,1795,2648,4208,4297,4277,3768,3553,3838,3267,2857,2541,1680,1426,1524,1884,1884,1680,1714,2181,2571,2855,2998,2278,1784,1790,1916,1694,1462,2056,2391,1838,1975,2107,1787,2046,1897,1557,1742,1700,1561,1538,1414,1749,1971,1652,1886,2137,1826,1658,1952,1762,1353,1394,1729,1975,1824,1626,1719,1952,2048,1949,2254,2645,2371,2097,2082,2327,1947,1640,1739,1807,1793,2169,2323,2155,1733,1847,1864,1862,1928,1864,2117,2452,2445,2288,2457,2403,1842,1935,2812,3065,2270,1824,1905,2557,2826,2664,2843,2871,2836,2985,2957,2581,2210,2666,2651,2409,2641,2762,2563,2339,1912,2138,3002,3289,3529,2580,2361,2649,2130,1758,1804,1953,2416,2599,2547,3000,2676,2241,2312,2667,3145,3129,3256,3191,3437,3443,2875,2876,3007,3160,3206,3029,2855,2900,2799,2713,2611,2796,3016,2426,2609,3169,3215,3318,2732,2153,2417,2435,2580,3090,3620,3886,3409,3117,3155,2930,2719,3040,3122,3421,2691,2611,3374,3927,3834,3539,3272,3200,3516,3756,3377,2843,2522,1895,2198,2654,2953,2943,3184,2943,2722,3053,2653,2683,3349,3306,3103,2839,2445,2476,1677,1624,2009,2070,2014,2032,1840,2062,2031,1644,1837,2231,2564,2499,1867,2757,3191,2958,3116,3134,2713,2500,2353,1840,1754,1915,1690,2026,2234,2104,2286,2305,2195,2253,2216,2162,2264,2063,1973,2233,2546,3066,3530,3741,2639,2670,2367,1720,1664,2078,2062,1969,1888,1859,2546,2313,2774,2464,2328,2001,1802,1514,1336,1506,1727,1632,1509,1529,1635,1757,1431,1792,2413,2147,1799,1835,1735,1594,1820,2360,2963,2416,1844,2050,2230,2263,1924,1682,1696,1934,1843,1695,2026,2274,1898,1642,1609,1781,2081,2017,2026,2215,2208,2408,2565,2211,1953,1994,2124,2353,1846,1782,2047,3091,3331,2378,2073,2138,2557,3326,3109,2812,2318,2066,2337,2423,2608,2852,3040,3708,3692,3160,2459,2443,3031,3252,3038,3572,3887,3806,3465,3054,3145,2786,2645,3021,3008,2908,2496,2210,2296,1842,1756,2277,2912,2719,2330,2585,2530,2815,2618,2334,2387,2231,2211,2679,3270,3509,3071,2977,2688,2585,3041,3041,3597,3181,2030,1888,2028,2068,2539,2365,1829,2370,2694,3097,3097,3532,3859,3396,2883,3418,3306,2801,3408,3603,3558,3232,3227,3378,3580,3451,3091,2802],[3564,3781,3380,3416,3138,2729,2487,2800,2590,2947,2546,2001,2041,2096,1837,1560,1561,1675,1759,1940,2740,2934,3150,2104,1868,1873,2234,2525,2513,2449,1826,1497,1720,1736,1465,1453,1981,2225,2588,2423,2004,1788,2104,2024,1781,2577,2907,2053,1584,1797,1945,2188,2046,1825,1537,2040,2367,1820,2071,2086,1729,1658,1608,2244,2389,1738,1663,2177,2314,2543,2688,2121,2318,2491,1736,1558,1438,1520,1524,1538,1552,1447,1550,1964,1920,1889,1908,1724,1443,1532,1553,1613,1832,2095,2110,2043,2225,2407,2879,2743,2068,1798,1926,2200,2774,3286,2644,2429,2900,2868,2157,1784,2150,2445,2576,2938,2924,2902,2910,2812,2901,3862,3498,2707,2884,2335,2303,2453,2222,2378,2535,1819,1831,1653,1478,1673,1681,1713,2014,1990,1750,1759,1846,1797,1999,2358,2622,2205,2042,2290,2366,2024,2178,2166,1832,2272,3016,2775,2536,2468,2481,3099,3088,3156,2870,2133,1884,1928,1868,1969,2030,1830,1966,2161,2177,1745,1582,1738,1821,1905,2359,2225,2544,2819,3527,4157,4159,3760,3957,3220,2272,2431,2466,1947,1784,2807,2916,2577,3039,3496,3303,3046,2668,2742,2820,2413,2359,2101,1908,1707,1975,2249,2181,2048,1900,2044,2677,2777,2265,2249,2307,2113,2767,2765,2163,1809,1976,1898,1602,1666,1920,1652,1709,2008,2077,2317,2486,2833,3123,2988,2326,2081,1980,1871,2165,3056,3563,3161,2652,2406,2497,1945,1717,1629,1618,1538,1825,1791,1433,1498,1429,1455,2052,1917,1780,1859,1956,1798,1770,1954,2007,2128,2065,1559,1668,2200,2568,2557,2553,1945,1688,1587,1691,1636,1660,1785,1877,1929,1782,1758,2014,2105,2431,2451,2737,2767,2768,2372,2341,2342,2047,1882,2415,2857,2331,2417,2603,2342,2534,2367,2078,2330,2824,2917,2825,2627,2209,2119,2008,1977,1994,2258,2812,2146,2117,3076,3214,2814,2932,3082,3187,3119,2454,2549,2389,2078,1903,2549,3233,3662,3780,3561,3155,2720,2273,1816,1796,1941,1580,1486,1490,1511,1515,1488,1554,1568,1647,1901,2004,2010,1934,2271,1934,2050,2154,2082,1882,1975,1948,1720,1708,1796,1866,1670,2004,1990,1800,2630,3436,3646,3387,3174,2618,2281,3007,3613,3219,2945,3450,2459,2095,2148,2701,2404,1860,1759,1680,1776,1736,1662,1850,2079,2367,2197,2271,1888,1978,2060,1735,1749,1644,1536,1324,1448,1638,1381,1554,1433,1465,1791,1496,1079,1329,1526,1543,1685,1574,1455,1422,1555,1831,1505,1549,1707,1645,2799,2567,2565,2510,1696,1510,1745,1738,1510,1549,1976,2159,2475,2688,3105,3060,3021,3610,4276,4295,3968,3732,2975,2540,1881,1835,2036,1901,1762,1761,2010,2294,1764,1507,1628,1794,1412,1238,1628,1696,1412,1513,1605,1949,1709,1542,1865,1880,1848,1635,1745,1866,1882,2129,1666,1447,1702,2375,2266,2430,3020,2459,1854,1921,1796,1819,1483,2110,2543,2995,2853,2409,2059,1899,1656,1444,1385,1421,1414,1811,1867,1486,1655,1590,1669,1865,2223,1848,1652,1770,2063,2378,2120,1981,2096,1963,2426,2815,2481,2062,2172,2483,2447,2169,1745,1456,1831,2518,2696,2522,2265,2552,2819,2424,2062,2403,2719,2755,2965,2875,2508,2362,2952,3394,2452,2292,1636,1924,2240,2215,2125,2029,1906,1760,1565,1502,1540,1757,2154,2397,2008,2215,2198,2068,2063,1963,2175,2423,1781,1857,1923,2326,2402,1699,1697,1744,1734,1936,1722,1572,1640,1570,1604,1986,2235,2272,2067,1831,1976,1930,1873,1834,1931,1796,1902,1983,1838,2039,2171,1969,1770,1753,1588,1808,2071,2575,2637,2004,1812,1918,1904,1984,2462,2561,2612,1990,2239,2934,3219,3450,3675,3949,3907,3791,3838,4099,3880,3652,3572,4041,4563,4488,4228,4500,4289,3796,3849,3941,3906,4325,4670,4581,4284,4077,4037,3940,3895,3724,3588,3025,3174,3693,3332,3656,3375,2264,2019,2244,2342,2338,2160,2081,2053,2082,2599,3038,2559,1988,1780,1646,1767,1774,1796,1750,1814,1741,2027,2224,2502,2517,1875,1786,1848,1810,1967,1769,1831,2013,1924,1699,1552,1432,1702,1802,1579,1536,1472,1561,1346,1437,1610,1589,1751,1394,1343,1718,1734,1888,1709,1448,1477,1456,1516,1740,1900,2233,2081,1600,1361,1450,1415,1302,1711,1830,1449,2215,1683,1432,1752,2140,1648,1735,2124,2273,1872,1736,2167,2319,1770,1970,2088,1749,1639,1986,2094,1784,1709,1736,1939,1981,2007,1760,1688,1824,1795,2168,2647,2781,2326,2592,2894,2864,2919,2803,2717,2769,2479,2286,2248,2199,2103,1890,2127,1919,1678,1792,1826,1820,1791,2018,2442,2577,1767,1225,1720,1775,2216,2134,1470,2213,2688,2482,2178,1781,1798,1935,2226,1892,1594,1566,1704,1746,1851,1678,1558,1913,2220,2377,2288,1625,1544,1337,1529,1606,1775,1897,2132,2117,1916,1758,2613,3091,2345,1976,1664,1509,1737,1900,1828,1879,2356,2088,1437,1606,1876,1965,1858,1470,1632,2476,2188,1721,1378,1489,2016,2242,2127,2183,1802,1497,1685,1630,1765,1685,1713,1776,1726,1924,1463,1672,1624,1667,1998,1780,1538,1355,1400,1374,1478,1482,1262,1358,1408,1879,1618,1296,1604,2004,1837,1623,1592,1655,2007,1874,1676,1882,1943,2302,2389,2429,2612,2067,1452,1461,1431,1603,1604,1314,1365,1530,1935,1771,1671,1872,1949,1900,2110,2285,1924,1793,1793,1820,1614,1438,1420,1494,1552,1857,2109,2344,2630,2527,2535,2260,2344,2353,2001,1752,1761,2072,2266,2467,2482,2286,2674,3074,2976,2999,3207,3265,3333,3349,3369,3355,3547,3488,3485,3567,3643,3803,3821,3707,3572,3318,2504,2025,1952,1736,2009,3053,3054,2701,2645,2320,2063,1957,1759,1811,1994,2167,2164,1913,1471,1508,1830,1692,1490,1616,1566,1373,1225,1304,1491,1599,1524,1437,1419,1270,1584,2175,1837,1766,2298,1901,2037,2396,2706,2148,1639,1906,2003,2136,2187,2110,1924,1521,1594,2056,2574,1821,2177,2644,2857,3140,3595,4074,4428,4380,4113,3872,3715,3562,3741,3943,3294,2684,2821,3322,3369,2750,2678,2324,2248,2312,2155,2108,2012,2056,2222,2191,2291,2008,2060,1680,2071,2169,1684,1775,1953,2237,1643,1432,1437,1592,1340,1410,1448,1508,1976,2033,1675,1614,1525,1524,1700,1845,1884,1891,1994,2011,2307,2107,1875,1792,1576,1814,2087,1952,1655,1857,2266,1836,1656,2057,2576,2310,1858,1766,1721,1765,1527,1367,1480,1484,1805,1857,1640,2376,2474,2336,2514,2808,2551,2605,2894,2279,2035,2576,3206,2371,1709,1502,1352,1243,1187,1275,1338,1473,1762,2257,2918,3050,3060,2732,1959,1736,1859,1677,1731,1748,1692,1604,1542,1662,1557,1507,1272,1522,1968,1985,1836,1537,1452,1529,1504,1349,1407,1560,1327,1292,1576,1794,1415,1498,1645,1541,1846,2080,1827,1600,1357,1354,1877,2046,1555,1574,1670,1668,1598,1563,1439,1406,1455,1468,1389,1660,1874,1843,2081,1971,2357,2304,1813,2076,1874,1345,1297,1740,1761,2186,2954,2431,2796,3306,3028,1744,1696,1702,1501,1388,1404,1542,1638,1850,1828,1829,1767,1518,1580,1633,1653,1697,1526,1262,1470,1639,1449,1286,1459,1427,1340,1343,1547,2116,2671,2624,2885,3112,2879,3144,2976,2565,2573,2628,2453,2020,2103,1913,1887,1746,1613,1948,2929,3672,3397,3046,2706,2979,2769,2329,2301,2084,2053,2249,2360,2331,2207,2166,2222,2284,2521,2614,2461,2035,1429,1341,1376,1379,1590,1966,1861,1489,1341,1240,1250,1306,1433,1412,1245,1246,1317,1301,1371,1327,1318,1300,1234,1244,1594,1908,1875,1878,2945,3990,3962,3896,2930,2964,3287,2665,2243,2010,1445,1658,1638,1832,1790,2072,2055,2183,2498,2780,2728,2045,1597,2158,2437,1775,1479,1588,2046,2049,1954,2439,2190,2066,2132,2047,1846,1502,1612,1652,1808,1778,1861,1890,1990,2036,1892,1779,1940,1720,1388,1740,2215,2230,1991,1591,1843,2100,2044,2019,2044,2066,2365,2260,2243,2292,1852,2004,2025,1958,1915,2338,2448,2076,1833,1923,1835,1892,2002,1914,1691,1877,1882,2156,2564,2488,2032,2354,2935,3064,2723,2424,2477,2995,3027,2760,3020,3064,3264,3046,2720,2477,2453,2618,2258,2491,2974,2464,2657,2708,2150,2132,2614,2675,2750,2211,2286,2174,2009,2018,1989,2231,2508,2652,3013,2675,2225,1920,2188,2712,2922,3002,3181,3230,3266,2890,2684,2533,2149,3155,3286,2990,2323,2498,2575,2466,2477,2842,2834,2462,2943,3234,3256,2814,2236,2403,2340,2563,2080,1863,2312,3082,3028,2678,2746,2188,2149,2555,2440,2751,2030,2801,3278,3393,3322,3332,2779,2700,3196,3135,3168,2629,2453,2596,3431,3310,3076,3319,3429,3052,2719,2788,2807,3022,3285,3086,3274,3253,2470,2099,2285,2199,2374,2358,2087,1993,2343,2472,2420,2458,2313,2315,2865,2301,2001,2610,2939,2878,3301,3487,2890,2349,2030,1918,1546,1842,1676,2166,1978,2049,2143,2048,2142,2348,2338,2315,1918,1832,2087,2258,2596,2917,4007,3986,3000,2686,2382,1949,2085,2056,1998,1728,1779,2060,2240,2032,2196,2200,2137,2020,1948,1643,1550,1607,1788,1817,1434,1401,1804,1704,1588,1681,1995,1890,1746,1906,1867,1550,1520,1807,2608,2304,1946,2036,1845,1532,1654,1687,1624,1884,1877,1866,2090,1933,1970,1992,1668,2076,2281,2024,2008,2188,2612,2844,2613,2488,2601,2146,1611,1881,1814,1961,1912,2118,2172,1802,2110,2153,2826,3608,3365,2373,2154,2064,2452,2591,3166,2830,2267,2426,2457,2036,2180,2042,2507,2619,2434,3086,3156,3190,3179,2666,2719,2923,3273,3221,3326,3216,2186,1812,1740,1709,1870,2521,2822,3007,2777,2523,2479,2567,2448,2741,3282,2473,2087,2684,3139,3625,2758,3028,3543,3436,3152,2824,3210,2903,2062,1940,1677,1864,2634,2812,2713,2818,2901,3185,3207,3429,3476,2655,2353,3185,3139,3549,3971,3904,3637,3372,3171,2823,3150,3342,2799,2323],[3376,3203,3196,2910,2469,2542,3144,2800,1937,2358,2514,2068,1855,1952,2099,1951,1728,1624,1809,1818,2000,2908,2966,2609,2473,2336,2164,1670,1663,1525,1410,1613,1707,1777,1487,1575,1863,2335,2411,2400,2229,1758,2040,2113,1556,1849,2372,1991,1941,1887,1802,1941,1853,1649,1548,2219,2369,1911,2346,2243,2042,2077,2186,2393,2469,2021,2097,2064,1920,2296,2377,2430,3178,3139,2304,1765,1434,1592,1679,1627,1630,1723,2020,2051,1962,2126,1924,1815,1731,1630,1439,2188,2304,2216,1820,1599,1825,2418,2834,2819,2492,2146,2467,2545,2964,3426,3103,2545,2729,2992,2391,2031,2266,2706,3264,3340,3194,3196,3212,2991,3499,4163,3714,3077,2379,1643,1655,1797,1594,1900,1999,1631,1649,1686,1525,1747,1698,1534,1532,1763,2060,2237,2272,2690,3243,3338,2956,2489,2358,1994,1863,1643,1665,1787,1762,2524,3099,2908,2625,2467,2684,3075,2630,2386,2048,2167,2058,1906,1935,2171,2414,1893,1638,1676,1860,1729,1960,1796,1703,1648,1881,2043,1880,1941,2286,3011,3429,3298,3122,3097,2297,2064,2045,1852,2380,2777,2263,1861,2576,3538,3629,3342,2932,2713,2940,2596,2478,2148,2061,1875,1647,1800,2083,2379,2323,2693,3125,2860,2209,2168,2812,2903,2703,2217,1685,1716,1660,1526,1454,1601,2024,1993,1816,2398,2820,2698,2373,2110,2517,2950,2714,2410,2081,1735,2055,2887,2390,1930,1884,2169,2644,2030,1290,1661,2025,1841,1929,1731,1478,1609,1605,1532,1847,2094,2220,1854,1762,1715,1660,1850,1991,2043,1918,1541,1677,2008,2349,2532,2544,2292,2136,2068,1720,1551,1544,1772,1977,1814,1661,1699,1866,1797,1956,2103,2116,2442,2333,2208,2614,2549,2254,2055,2492,2723,1886,2592,2570,2164,2068,2171,2214,1925,1974,2387,2697,3020,2875,2177,1757,1725,1945,2208,2132,1814,2409,3279,3029,2784,3134,3020,3104,3264,2048,1857,1942,2064,1942,2154,2500,2980,3466,3303,3353,3309,2714,1975,1796,1899,1731,1644,1682,1599,1598,1636,1649,1593,1437,1633,2217,2331,2159,2151,1919,1772,1887,1917,1968,2132,1926,1618,1643,2091,2216,1862,2106,2138,1600,1941,2664,2800,2789,2762,2243,2250,2909,3574,3328,3028,3206,2153,1903,2083,2800,2950,2548,2531,2237,1600,1251,1559,1850,2163,3288,2430,1981,1680,1879,1847,1612,1502,1430,1413,1297,1363,1410,1430,1656,1456,1316,1721,1746,1560,1611,1723,1908,1852,1576,1442,1437,1910,2106,1669,1656,1825,1889,2366,2306,2407,2308,1847,1334,1570,2190,2378,2049,1707,2018,2768,2752,2839,2852,3127,3729,4041,3859,3575,3558,2773,2703,2358,2018,1920,1804,1842,2083,2340,2010,1797,1629,1564,1664,1502,1517,1940,1720,1478,1643,1682,1892,1968,2053,2003,1811,1855,1474,1503,1472,1558,1817,1624,1478,1598,2371,2581,2711,2721,1775,1778,2415,1874,1814,1570,1946,2945,3507,3335,2600,1940,1682,1472,1393,1361,1569,1644,1827,1676,1592,1630,1919,1820,1928,2331,2164,1817,1698,1926,1836,1999,2083,1941,1897,2331,2417,2252,2304,2500,2571,2837,2810,2034,1798,2173,2736,2416,2474,2078,2384,2577,2226,2346,2801,2622,2469,2675,2575,2228,2248,2315,2821,2488,2040,1644,2084,2659,2487,2103,2175,1884,1386,1501,1674,1493,1548,2321,2815,2508,2391,2313,2005,2036,1929,2053,2526,1836,1605,1826,1995,1977,1974,1690,1337,1716,1975,1650,1684,1774,1563,1661,2645,2557,2462,2314,2536,2789,2186,1659,2032,2264,2124,2101,1796,1483,1939,1797,1746,1677,1609,1505,1687,1879,2566,2954,2361,2027,1888,2216,2397,2751,3160,3110,2557,2531,2707,2900,3293,3626,3865,4013,3701,3534,3938,3662,3908,4463,4641,4804,4716,4528,4609,4273,3771,3728,4000,4425,4686,4145,4029,4142,4225,4185,4009,3814,3692,3717,3119,3232,3112,2889,3776,3835,2407,1966,2549,2653,2475,2347,2160,2026,2036,2154,2195,1977,1925,1811,1667,1766,1775,1756,1663,1729,1846,2039,2348,2796,2811,2455,1930,1727,1732,1779,1627,1684,1881,1704,1460,1533,1490,1430,1686,1722,1686,1581,1573,1526,1965,1824,1710,1559,1157,1363,1738,1898,1965,1679,1976,1616,1588,1529,1543,1515,1829,1946,1571,1439,1468,1449,1409,1579,1606,1175,1405,1373,1696,1655,1490,1420,1398,1638,1785,1634,1679,1986,1789,1639,1977,2351,1785,1628,2036,2168,1949,1620,2021,2292,1858,1945,2123,2072,1962,2070,1907,2275,2567,2786,2978,2706,2551,2867,2966,2979,2697,1970,1886,1957,2431,2454,2510,2504,2321,2104,1626,1626,1851,2223,3208,3680,3423,2440,1655,1781,2118,2366,1692,1205,2217,2671,2187,2156,1896,1651,1985,2077,1567,1173,1291,1777,1879,1523,1448,1609,1680,1980,2503,2398,1610,1464,1457,1434,1350,1630,2123,2308,2090,1680,1677,2329,2649,2842,2406,1828,2013,2123,1766,1662,1433,1574,1699,1577,1770,1652,1773,1695,1341,1470,2008,1976,1597,1271,1330,1599,1499,1540,1625,1342,1290,1399,1406,1858,1837,1728,1736,1832,1488,1211,1750,1909,1820,1699,1844,2100,2024,2126,1926,1768,1449,1145,1195,1423,1543,1410,1264,1279,1817,1804,1907,1818,1996,2100,1834,1569,1518,1455,1571,1901,2230,2520,2245,2054,1889,1643,1398,1534,1358,1571,1829,2019,1971,1869,1884,1704,1647,2061,2334,1968,1766,1755,1955,1867,1703,1917,1955,1793,1907,1954,2237,2435,2369,2007,2029,2586,2851,2001,1723,2001,2189,2117,2302,2830,2854,2554,2626,2831,3068,3377,3451,3396,3432,3501,3594,3719,3627,3494,3551,3642,3725,3609,3615,3139,2232,1670,1829,1858,1639,1714,2026,2317,2540,2469,2286,2089,2089,1857,1836,1626,1353,1671,2302,1880,1361,1676,1602,1367,1573,1795,1787,1439,1376,1409,1543,1604,1601,1478,1360,1949,2364,1592,1738,2200,1926,2316,2950,3163,2458,1959,2801,2850,2315,2148,2200,1918,1844,1986,2137,2292,1996,1705,2321,2765,2625,2584,3300,4153,4188,3997,3770,3458,3334,3298,3532,2953,2568,2552,2519,2268,2215,2410,2331,2476,2490,2010,1769,1616,1810,1821,1683,1791,1888,2024,2143,2187,1896,1828,2183,2307,2176,1771,1725,1686,1569,1423,1820,1860,1664,2051,2064,1713,1705,1412,1505,1827,2009,1978,1958,2291,2384,2837,2808,2272,2173,1746,1516,1782,1598,1436,1980,2242,1900,1881,2104,2281,2128,2171,2071,1549,1495,1332,1413,1430,1412,1933,1750,2020,2673,2712,2653,2943,3213,3007,2919,2644,2156,2356,2715,2979,2318,1830,1595,1413,1322,1379,1441,1484,1406,1505,1773,2074,2721,2938,2602,2230,2273,2352,1944,1859,1744,1915,1570,1898,1663,1403,1557,1480,1665,1856,1946,1798,1481,1387,1646,1535,1255,1453,1473,1395,1582,1994,2236,1645,1515,1652,1750,2322,2440,2151,2004,1915,1735,1791,2134,1990,1924,1858,1675,1514,1402,1304,1283,1316,1332,1349,1626,1591,2145,2604,2233,2176,1876,1567,1526,1468,1411,1556,2103,1894,2666,2511,2286,2172,2341,1804,1409,1485,1367,1337,1266,1300,1452,1493,1575,1728,1842,1914,1617,1523,1384,1317,1359,1288,1245,1312,1512,1603,1402,1533,1526,1480,1564,1803,2154,2182,1991,2597,3197,2799,2401,2145,1931,1734,1745,1537,1422,1566,1533,1946,1877,1571,2298,3085,3420,3219,3217,3191,2875,2700,2386,2548,2535,2596,3009,3152,2987,2499,2128,2167,2390,3196,3341,2680,2051,1456,1406,1507,1413,1501,1669,1613,1367,1293,1246,1241,1300,1405,1313,1267,1282,1314,1343,1274,1281,1366,1329,1330,1339,1592,1623,1491,1748,2497,3382,3342,2363,1968,2183,2500,2962,2745,2194,1631,1698,1616,1829,2439,2618,2173,2148,2496,2600,2631,2285,2188,2941,2887,1830,1542,1709,2165,2094,2279,3025,2777,2232,1913,2051,1973,1524,1560,1854,2500,2341,2000,1794,1690,1772,2150,2490,2786,2704,2078,1898,2322,2734,2333,1565,1728,2030,2001,1931,1789,1792,2076,2163,2275,2353,2153,2424,2501,2701,2587,2221,2487,2191,1791,1752,1803,1774,1779,1872,1504,1676,1667,1821,2858,2949,2519,2701,2615,2296,2148,2276,2708,3482,2797,2386,2574,3086,3549,3251,3040,2990,2672,2346,2204,2618,2872,2290,2875,2997,2566,2272,2226,2504,2315,1789,1600,1781,2082,2290,2263,2589,2653,2700,3248,2619,2768,2515,2453,2679,2791,2867,2856,2577,2293,2269,2714,2715,3086,3564,3310,2786,2388,2603,2868,2799,2762,2980,2868,2942,3411,3033,2746,2145,1810,1900,2244,2493,2376,1708,1709,2250,2242,2429,2387,2122,2746,2444,2208,2106,1700,1721,2729,3460,3122,2809,2822,3171,2915,3020,3858,2972,2710,3032,3448,3416,3453,3484,3480,3128,2529,2649,2647,2791,2717,2898,3217,3030,2378,2203,2412,2271,2154,2192,2298,2363,2470,2521,3156,3021,2402,2053,2094,1817,1703,2218,2736,3108,3867,3762,2643,2048,2129,2056,1754,1888,2178,2473,2504,2229,1738,1604,1761,2091,2394,2294,1786,1984,2361,2023,2058,3008,3698,3105,2502,2395,2229,1977,1813,1877,2434,2005,1847,2095,2028,1657,1686,2036,2283,2260,1846,1651,1697,1465,1555,1771,1526,1595,1747,1720,1866,1789,1851,2338,2351,2174,2326,1966,1934,1672,1675,1544,1507,1880,2034,1855,2064,2017,1637,1703,1936,1983,1898,1857,2382,2289,2060,2474,2256,2294,2347,1942,2348,2480,2336,2233,2380,2316,1922,1789,1955,2027,1863,1843,1645,1609,1655,1912,2900,3609,3017,2363,2622,2644,2831,2810,2630,2571,2275,2556,2487,2036,2236,1990,2742,2540,2968,3222,3144,3415,2946,2366,2499,3028,2924,2545,2909,3018,2100,1855,1763,2076,2442,2653,3049,3247,3382,3083,2251,2281,2343,2346,2871,2020,1618,2543,2232,2530,2603,2979,3006,2591,2735,2902,2939,2336,2317,2299,1680,1704,2150,2575,2823,2894,2997,3112,3200,3243,3200,2761,2778,3404,3463,3715,3945,4168,4124,4042,3081,2334,2746,2698,2312,2510],[3848,2977,3242,2968,2577,2795,3528,3129,2366,2315,2275,2276,2179,1862,1959,2016,1620,1441,1682,1760,1746,2168,2508,2546,2397,2497,2050,1747,1639,1561,1840,2060,2012,1810,1694,1466,1504,2145,2234,2152,1900,1310,1477,1753,1484,1891,2254,2040,1741,1509,1672,1952,2073,1819,1588,2003,2070,1837,1876,1820,2266,2414,2569,2702,2702,2815,2641,1927,1949,1739,2083,2319,2434,3045,2663,1995,2011,2018,1664,1422,1423,1635,1976,2055,2216,2546,2182,1959,2242,1713,1464,2095,2186,1701,1432,1604,2155,2689,2618,2258,2046,2273,2530,2561,3043,3103,2690,2243,2474,2791,2419,2356,2320,2160,2248,2363,2961,3052,3244,2945,2659,2683,2788,2858,2259,1723,1869,1861,1711,2221,2082,1777,1657,1888,1894,1666,1540,1781,1961,1999,2532,3054,3507,3688,3777,3848,3238,3124,2623,2060,2098,1862,1673,1663,2193,3268,3587,2777,2353,2317,2919,2512,1611,1438,1786,1840,1577,2010,2053,2003,2312,2309,1720,1671,2200,2692,2402,1892,1799,1789,2205,2212,2000,1913,1863,2332,2472,2465,2583,3103,2342,1971,2150,2337,3074,3132,2370,2163,2272,2907,2987,3378,3053,2836,2862,2541,2418,2292,2116,1841,1610,1907,1992,2371,2744,2927,2895,2626,2050,1983,2644,2763,2318,1673,1453,2121,2169,1591,1469,1692,2008,1944,1954,1861,1664,1840,2026,1686,1781,2502,3120,2785,1960,1531,1819,1984,1502,1691,2012,2237,2486,1870,1216,1384,1447,1577,2320,2139,1804,1797,1783,1895,2042,1932,1830,2060,1958,1930,2294,2182,1960,2071,1943,1834,1668,1672,1710,1992,2670,2596,2254,2178,1893,1743,1586,2128,1986,1610,1594,1683,1832,1918,1844,1687,1678,1933,1860,2026,2210,2402,2690,2454,2554,2448,2113,2292,2224,1979,2082,2377,2094,1390,1658,2498,2800,2834,2884,2232,1785,2097,2507,2207,1982,2292,2792,3229,2674,2696,2790,2963,3124,2928,2127,1660,1710,1862,1784,1814,1871,2295,3189,3253,3326,3234,3005,2506,2592,2692,2172,1890,1946,2011,1868,1565,1489,1426,1416,1736,2298,2215,2700,2964,2248,1621,1694,1881,2095,1857,2050,1942,1900,2179,1878,1643,1846,2032,1737,1725,1745,1656,2096,2214,2040,2086,2610,3010,3398,3083,2935,2300,2010,2309,2338,2109,2361,2487,2187,1697,1688,1630,1920,2039,2756,2144,1536,1663,1814,1775,1724,1585,1682,1614,1538,1656,1656,1470,1432,1572,1702,1878,2194,2128,1714,1699,1728,1695,1754,1706,1627,1623,1968,1765,1503,1405,1483,1678,2031,2133,1848,2169,1493,1594,2552,3257,3196,2263,1926,2264,2445,2511,2513,3001,3554,3594,3095,2865,3131,2806,2601,2527,2273,2206,1997,1663,1972,1826,1678,2016,1651,1577,1652,1512,1490,1716,1561,1569,1660,1655,1969,2009,1759,1677,1738,1884,1768,1851,1780,1666,1625,1515,1532,1655,1839,1959,2645,2248,1612,1728,2272,1845,1534,1620,2470,3006,2912,3233,2752,1559,1212,1402,1367,1349,1580,1597,1498,1792,1474,1662,2018,1660,1912,2225,1895,1619,1690,1980,2128,2450,2544,2139,2094,2064,2119,2243,2024,1840,1872,2311,2328,1896,1844,1873,1967,2244,2728,2280,1952,2136,2272,2341,2589,2469,2652,2548,2352,2382,2038,2199,2420,2414,2268,2530,2490,2228,1936,2066,2100,1714,1636,1859,1663,1359,1929,2637,2886,2586,2369,2094,1820,2200,1981,1618,1688,1693,1853,2086,1938,1738,1708,1489,1479,1757,1810,1711,1677,1763,1740,1461,2099,2250,2255,2292,2752,3279,2570,1503,1780,2246,2130,2073,1864,2084,2160,1742,1746,1682,1726,1651,1632,2274,2604,2401,2255,2120,1791,2029,2088,2245,2669,3020,3191,3036,2876,3090,3160,3244,3406,3895,3732,3385,3760,3646,3883,4442,4468,4408,4501,4347,4576,4452,4090,3951,4532,4640,4152,3233,3143,3330,3588,3724,3752,3535,3710,3830,3156,3406,3221,2941,3783,4036,2755,2674,3448,3401,2846,2426,2280,2260,2092,2062,1886,1954,2002,1832,1821,1861,1853,1824,1749,1743,1809,2107,2321,2554,2579,2264,1763,1534,1625,1605,1554,1613,1781,1722,1604,1525,1574,1476,1670,2072,2151,1746,1743,1704,1902,1888,1682,1383,1382,1609,1527,1606,2137,2034,1925,1875,2206,2103,1769,1990,2207,1711,1525,1487,1499,1550,1728,1672,1476,1489,1526,1412,1467,1447,1514,1535,1428,1460,1676,1545,1362,1559,1502,2069,2010,1886,1576,1680,2148,2444,2200,1533,1996,2382,2008,1979,2062,1935,1940,2201,1928,1739,2282,3001,3194,3033,2646,2808,3350,2831,2120,1710,1698,2316,2723,2575,2781,2834,2395,1852,1860,2297,2635,3231,4013,3340,2829,3210,2778,2522,2977,2820,1898,1569,2264,2553,1874,1915,1648,1556,2048,1678,1005,948,1584,2310,2056,1454,1444,1521,1516,1608,2059,1954,1730,1769,1518,1393,1585,2079,2160,1505,1592,1668,1877,1950,2102,2856,2834,2589,2908,2740,1936,1576,1516,1736,1472,1506,1999,1591,1492,1604,1570,1599,1654,1552,1448,1155,989,994,1013,972,1180,1299,1261,1252,1189,1439,1505,1556,1497,1580,1436,1460,1947,2198,1892,1533,2322,2525,2194,1787,1843,1843,1617,1511,1410,1359,1354,1578,1393,1555,1944,1705,1549,1851,2210,2092,1875,1746,1627,1641,1844,1844,1644,1995,2051,2207,2353,1923,1542,1559,1369,1467,1470,1582,1960,1879,1719,1602,1803,1845,1834,1915,1713,1811,2242,2108,1869,2113,2366,2191,1996,1716,2258,2148,1832,1749,2291,2392,2332,2071,1782,1854,1959,1899,2630,3392,3008,2414,2820,3130,3522,3522,3403,3360,3474,3648,3669,3675,3627,3624,3607,3676,3688,3610,3175,2237,1743,1800,1832,1645,1628,1542,1456,1740,1909,2139,2106,2308,2253,2057,2004,1954,1629,1656,2262,2049,1375,1426,1488,1420,1676,1743,1650,1320,1366,1461,1478,1547,1576,1651,1782,2018,2306,2178,2454,2739,2286,2888,3449,3374,3024,2872,2930,3055,2677,2532,2066,1965,2399,2258,1758,1698,2072,1899,2142,2364,2422,2328,2996,3746,3824,3815,3505,3220,3560,3759,3360,3018,2877,2674,2562,2254,2123,2261,1896,2007,2004,1597,1528,1500,1418,1172,1548,2042,1716,1928,2700,2484,1820,1804,2218,2446,1811,1645,1848,1880,1664,1562,1906,1837,1790,2544,2294,1958,1884,1538,1600,1756,1724,2020,2770,3017,2200,1998,2100,1966,1856,1759,1571,1792,1638,1519,1614,2036,2165,1813,1930,2073,2232,2106,2048,1701,1526,1320,1424,1524,1552,1739,1736,2278,3085,3167,3068,3098,3184,3266,3156,2566,2665,2538,2642,2422,1930,1587,1472,1452,1376,1288,1332,1444,1434,1538,2041,2152,2848,3107,2743,2301,2436,2257,1820,1717,1516,1596,1318,1518,1389,1322,1552,1655,1834,1996,2124,2182,1786,1466,1568,1432,1398,1638,1427,1340,1736,1859,1604,1296,1446,1701,2023,2378,2016,1731,2014,2331,2519,2314,2548,2658,2230,1829,1713,1471,1250,1162,1350,1490,1700,2004,2038,1471,2029,2513,2396,1978,1511,1494,1491,1468,1477,1605,1782,1745,2360,2176,2222,2216,2220,1668,1231,1310,1403,1367,1344,1343,1478,1418,1441,1785,1905,1670,1644,1476,1059,1218,1498,1540,1418,1368,1484,1459,1230,1330,1609,1701,1700,1848,1737,1998,2492,2198,2334,2972,2143,1786,1523,1256,1240,1312,1466,1707,1938,2256,2119,1509,2632,3252,3292,3156,3068,3253,2381,1982,2134,2646,3034,3287,3450,3549,3565,3161,2577,2314,2645,3327,3060,2358,1906,1559,1341,1297,1318,1320,1405,1654,1461,1290,1243,1240,1199,1225,1268,1362,1241,1181,1272,1290,1214,1372,1368,1404,1338,1313,1351,1622,1936,1910,2152,2331,1970,2004,1835,2002,2497,2907,2789,2487,2020,2147,2511,2259,1627,1627,2060,2554,2666,2687,2496,2502,2712,2507,1931,1703,2020,2067,1953,2574,2912,2800,2214,1598,1910,2237,1906,1841,2464,3056,2630,2155,2136,2139,1822,1763,2263,3165,3094,2517,1964,2414,2890,2288,1504,1622,2244,2462,2382,2397,2230,2316,2256,2126,2013,2511,2598,2591,2556,2028,1512,1731,2002,2019,1904,1957,2304,2337,2478,2257,2379,2490,2536,3459,3574,3331,3172,2532,2314,2154,2319,3043,3563,2823,2139,2201,3008,3465,3462,3685,3754,2940,2505,2598,3047,3077,2842,2939,3173,2854,2654,3085,3061,2633,1985,1481,1387,1895,2660,2468,2210,2315,2586,3111,3022,3364,2810,2141,2458,2673,2924,2552,2066,2075,2819,3056,2715,3068,3392,3366,3097,2922,3165,3320,3142,3270,3045,3122,3075,2454,1905,2245,2122,1961,2275,2402,2574,2800,2427,2092,2249,2379,2476,2380,2867,2807,2288,2155,2341,2205,1736,2036,2352,2229,2711,3270,2941,2543,2819,3544,3205,3161,3172,2951,3120,3413,3517,3526,3090,2435,2466,2636,2744,2941,2969,3087,3022,2531,2248,2294,2269,2322,2120,2631,2774,2373,2245,2955,3109,2622,2211,2032,1933,1742,1646,2033,2713,2902,2131,2017,2322,2324,1838,1703,2112,2274,2344,2823,2653,2025,1830,2761,2351,2176,2076,1995,1996,2285,2140,2188,2796,2851,2500,2535,2358,2048,2091,1680,2135,2247,1873,1802,2036,2031,1632,1805,2309,2301,1972,1905,1830,1550,1536,1738,1938,2116,2391,2326,1919,1790,1514,1764,2548,2319,2649,2186,1980,1861,1552,1311,1423,1856,2377,2103,1934,2662,3029,2675,2199,2030,1784,1612,1763,2118,1946,1963,2174,2115,2065,2154,1607,1732,2282,2356,1815,1900,1686,1493,1642,1867,1982,1916,1766,2079,1966,1428,1612,2286,2985,2485,2501,2720,2452,2206,2230,2824,3030,2801,2884,2657,2353,2368,2544,2925,2898,2995,2968,3066,3156,2999,2484,2517,2956,2956,3016,2909,2388,1707,1742,1870,2448,2655,2463,2394,2567,3570,3606,2545,2417,2278,2041,2324,1648,1676,2546,2422,2702,3176,3080,2801,2808,2957,3150,2963,2066,2340,2106,1530,1551,1830,2125,2529,2730,2943,2921,2978,3484,3776,3253,3446,3772,3752,3659,3957,4244,4696,4472,2887,2322,2698,2734,2687,2984],[3928,2974,3262,3969,3499,3090,3498,3623,3318,2832,2308,2386,2187,2145,1860,1793,1632,1681,1762,1786,1810,1953,2362,2614,2658,2668,2298,2026,1881,2762,3120,2677,2206,1842,1799,1755,2030,2301,2281,2089,1629,1439,1651,2004,1722,1663,1720,1770,1652,1691,1693,2062,2200,1666,1638,2002,2073,1762,1735,1836,2207,2322,2110,2225,2564,2812,2284,2229,2240,2107,2535,2150,1963,2451,2296,2113,2067,1795,1584,1574,1531,1815,2250,2293,2224,2291,1870,1842,2152,1787,1595,1732,1961,1825,1774,1838,2329,2396,2279,1888,1908,2417,2755,2524,2609,2496,1910,1773,1889,2400,2410,2437,2247,1864,1726,1789,2750,3032,2699,2636,2432,1686,1827,2285,2104,1699,2034,1881,1766,1847,2011,2086,2037,1929,2129,2310,2141,2474,1810,1601,2746,3752,3771,3343,3204,3265,2644,2334,2468,2324,2303,2226,1805,1525,1802,2714,2989,2809,2300,2662,2961,2133,1590,1636,1944,1886,1824,2037,1771,2003,2319,1803,1700,2072,2540,2431,1785,1811,1916,2077,2354,2438,2308,2299,2177,2328,2508,1939,2150,2391,1977,1952,1908,2092,2698,2680,2477,2590,2469,2533,2465,3172,3200,2987,2868,2543,2241,2121,1926,1848,1970,2181,2158,2002,2673,2565,2036,1786,1766,1906,2015,2077,1888,1563,1551,2114,2360,1880,1720,2196,2120,2382,2066,1512,1449,1728,2092,1887,1844,2261,2273,1803,1566,1848,2064,1785,1702,1748,1849,2121,1906,1627,1361,1077,1035,1534,2526,2273,1710,2034,2373,2432,2296,1878,2178,2975,2587,2007,2548,2401,2032,2086,1956,1971,1804,1799,1829,2212,2737,2287,1970,1955,1760,1908,2071,2459,1678,1489,1516,1643,2304,2533,2365,2150,1833,1879,1662,1689,1731,1687,1970,2155,2402,2313,2099,2059,2098,1890,2038,2066,1948,1720,1857,2243,2315,2253,2177,2006,1787,1981,2488,2830,2894,3045,3178,2967,2303,2206,2600,2852,3109,2973,2620,2043,1484,1384,1698,2027,2108,2401,2993,3132,3289,2993,3094,3034,3188,3163,2326,1796,1999,2161,1734,1204,1369,1495,1390,1561,1825,1774,1935,2125,1921,1535,1709,1793,1989,1649,2096,2153,2353,1954,1541,1514,1642,1713,1855,1861,1599,1585,2057,1827,1994,1965,1751,1881,2473,2469,2579,2396,2039,2043,1631,1675,1809,1757,1899,2255,2074,1802,2084,2337,2371,1832,1445,1410,1551,1932,2164,1971,1692,1502,1640,1861,1858,1773,1496,1696,1996,1815,1882,1735,1503,1719,1764,1812,2276,2390,1995,1838,1859,1622,1450,1253,1410,1849,2667,2808,3105,2912,1960,2083,2338,2909,3655,2957,2568,2801,2614,2323,2473,3078,3255,2888,2691,2611,3128,2708,1964,2045,2009,1776,1608,1690,2211,2006,2219,2004,1656,1648,1620,1612,1613,1577,1505,1437,1689,1867,1781,1990,1833,1479,1848,2241,2018,1931,1919,1843,1687,1592,1734,1801,1875,1749,2171,1970,1981,1828,1837,1972,1758,1559,2261,2877,2889,3387,2988,1634,1438,1730,1437,1338,1296,1242,1500,1682,1432,1614,1724,1785,1625,1699,2030,2153,1958,2720,3198,3387,2890,2001,1846,1808,2064,2415,1975,1678,1562,1625,1753,1682,1597,1707,1812,2263,2768,2407,2001,2198,1947,1985,2252,3029,3234,2735,2523,2678,2329,2137,2442,2559,2392,2491,2206,1970,1656,1649,1689,1547,1852,1787,1538,1537,2161,2552,2462,2307,2329,2084,2003,2479,2448,2178,1715,1638,1841,1799,1615,1573,1644,1411,1444,1798,1882,1642,1823,2457,2170,1699,2046,2243,2044,1677,2166,2664,2416,1758,1816,1859,1749,1859,1897,2154,2345,2064,1656,1681,2061,2015,1805,2688,2472,2352,2360,2238,2000,1968,1737,1609,2094,2988,3451,3243,3279,3408,3282,3334,3500,3562,3664,3564,3984,4408,4508,4531,4225,4151,4560,4639,4821,4574,4213,4312,4464,4140,3160,2876,3229,3018,3140,3357,3203,3326,3860,3564,3596,3488,3194,3443,4152,4276,3301,2917,3591,3919,3474,2741,2430,2339,2068,1871,1873,1958,1932,1900,1930,1918,1913,1847,1859,1867,1795,2090,2263,2758,2397,1690,1592,1647,1715,1749,1687,1646,1920,1820,1733,1537,1637,1552,1531,2155,2247,1931,1816,1621,1669,1715,1531,1414,1472,1709,1687,1612,1996,1949,1409,1489,2148,2248,1827,2132,2482,2026,2135,1772,1490,1670,1818,1717,1639,1525,1502,1532,1406,1431,1592,1516,1537,1566,1505,1477,1327,1339,1759,2108,1603,1012,1271,2075,2537,2554,2403,2078,2051,1974,1739,1842,2182,1939,1904,2032,1723,1770,2078,2410,2931,3167,2977,2920,2781,1891,1785,1842,2078,2427,2446,2595,2486,2451,2343,2422,3284,3489,3234,3130,2966,2248,2177,2542,2091,1850,2128,1824,1748,2110,2164,2167,1746,1940,1964,2239,2419,1814,1487,1428,1856,2603,2489,1677,1582,1577,1544,1809,2267,2017,2048,2799,2530,1761,1615,1617,1704,1734,1804,1695,1735,2161,2029,2113,2182,2235,2741,2498,1892,1587,1700,2242,2393,3152,2755,1740,1531,1511,1468,1625,1699,1742,1705,1553,1655,1412,1645,1708,1413,1104,1253,1421,1383,1643,1911,1907,1516,1246,1235,1509,1864,2137,1902,1932,3253,3008,2006,1868,1961,1958,2136,1928,1857,2200,1811,2145,1615,2040,2392,1835,1498,1872,2110,1894,2043,2211,1773,1693,2148,1887,1433,1833,1992,2095,2500,2224,1848,1685,1446,1425,1383,1476,1816,2075,2025,1621,1623,1505,1367,1322,1460,1887,2233,2099,1942,1993,2026,1750,1604,1719,2322,2374,2382,2291,2269,2354,2498,2655,2626,2120,2054,2841,3695,3680,3030,2857,2985,3119,3344,3365,3384,3473,3514,3583,3747,3737,3672,3580,3494,3624,3658,3139,2221,1790,1796,1810,1670,1659,2049,1827,1623,1628,1558,1766,1890,2272,2272,2089,2002,1918,1760,1443,1548,1500,1312,1334,1310,1466,1639,1950,1964,1626,1570,1421,1363,1588,1484,1653,1749,1947,2132,1697,1981,2279,1986,2523,3231,3174,3050,3112,2678,2610,2431,2526,2019,2306,2360,1995,1483,1748,2199,2531,2997,2969,2459,1857,2357,2874,3372,3674,3357,2968,3445,3632,3338,3042,2935,2849,2344,2338,2670,2402,2009,1730,1409,1503,1616,1786,1508,1168,1624,1532,1093,1721,2596,2518,2040,2556,2312,2054,1810,1784,2036,1866,1441,1497,1559,1445,1848,2439,2123,2089,1770,1557,1766,1859,1720,2137,2719,2770,2477,2108,2116,2154,1914,2132,2168,1976,1732,1583,1411,1969,2489,2389,2603,2509,2875,2503,1888,1856,1667,1325,1307,1519,1626,1555,1713,2762,3331,3241,3105,3017,3062,3223,3341,2871,2590,2445,2364,2201,1888,1567,1560,1361,1317,1396,1489,1481,1528,1631,2047,2399,3208,3385,2850,2570,2335,1738,1700,1695,1490,1079,945,1024,1129,1224,1495,1817,1884,2018,2302,2717,2387,1470,1493,1391,1337,1421,1340,1493,1987,2002,1340,1280,1861,1785,1685,1598,1367,1289,1495,1704,2302,2813,2559,2083,1875,2199,2504,1901,1281,1250,1243,1288,1105,1788,1960,1389,1371,1799,2098,1931,2004,2422,1760,1346,1391,1542,1493,1300,1507,1841,1929,2426,2634,1847,1362,1513,1748,1544,1502,1471,1471,1502,1593,1849,2015,1865,1619,1193,1443,2065,2252,1854,1419,1269,1307,1219,1219,1526,1876,1834,1848,1877,1635,1614,1751,1895,1956,2443,2055,1635,1445,1622,1887,2080,2044,1917,1853,2035,2316,1582,2762,3162,3188,2854,3027,3604,3174,2463,2329,2684,3054,3506,3692,3763,3837,3672,3174,2818,2943,2599,2586,2698,2100,1781,1625,1354,1271,1250,1291,1451,1450,1414,1366,1282,1225,1211,1355,1530,1359,1399,1422,1333,1313,1396,1367,1399,1420,1455,1490,1729,1870,1694,1937,2542,2478,2020,1643,2094,2235,2134,2416,2424,2218,2632,2899,2184,1894,2591,2407,2551,2735,2785,2600,2513,2437,2104,1870,1793,1823,1680,1829,2362,2520,2242,1881,1808,2194,2372,2306,2698,3040,3124,2610,2163,2399,2409,1720,1823,1852,2114,2147,2079,1952,2031,2018,1827,1499,1827,2952,3482,3352,2776,2159,2438,2342,2338,2198,2380,2444,2293,2315,1920,1434,1619,2088,2111,2272,2167,2347,2795,3075,3129,3296,3329,3740,4241,3836,3483,3240,2868,2765,2835,2886,3306,3259,2950,2681,2899,3476,3832,3652,3796,3983,3570,3428,2843,3189,3287,3172,3131,3300,2964,2835,3236,3342,3141,2477,1820,1767,1855,2024,2114,2465,2501,2330,2307,2631,3155,2865,2117,2047,2492,3111,2205,2169,2599,3241,3427,2944,2772,2965,3263,3521,3629,3367,2701,2874,3372,3155,3162,2736,2107,2076,2247,2020,1974,2276,2221,1908,2282,2520,2509,2745,2688,2385,2409,2373,2326,2494,2605,2652,2305,1794,1394,1704,1902,2200,2857,2646,2576,2880,3208,3408,3378,3128,3256,3319,2919,3071,3164,2524,2075,1926,2475,2702,2919,2635,2610,3255,3054,2523,2352,2084,2586,2282,2811,3206,3462,3157,2898,3070,2875,2588,2369,2493,2775,2457,1912,1699,1849,1549,1647,2056,2496,2684,2486,2436,2119,2417,3017,2797,2058,1840,2382,1925,1859,2066,2286,2197,2085,2063,2195,2127,1947,2045,2190,2081,2182,2165,1793,1913,2042,2162,1887,1831,1851,1652,1904,1973,1803,1676,1866,1630,1467,1718,2055,2381,2456,2611,2410,1843,1520,1532,1778,1949,1886,2070,1947,1613,1455,1543,1901,2361,2604,2371,2079,2396,2775,2928,3266,2430,2357,2203,1709,1872,1796,1609,1746,1880,2286,1917,2191,2017,2297,2739,2575,1874,1607,1500,1590,1794,1999,1879,1909,1721,2045,1806,1294,1401,1985,2040,1788,2159,2287,1775,1891,2858,4052,3484,3167,2338,2510,3018,2857,2933,2776,3172,2962,2597,2711,2785,2555,2141,2192,2454,2822,2856,2939,2056,1616,1598,1869,2515,2546,2745,3133,2613,3093,3230,2684,2294,1989,1845,1902,1646,1869,2437,2624,3024,3154,3064,2618,2130,2352,3000,2763,1834,1875,1921,1509,1631,1756,1739,2258,2342,2327,2091,2263,3515,3749,3408,3541,3909,3909,3823,4166,4488,4840,4263,2696,2708,3074,2698,2522,2793],[3754,2763,2460,3089,3296,3226,3240,3462,3051,2325,2111,2494,2393,2160,1881,1796,1711,1859,1913,1888,1787,1790,2464,3231,2771,1892,1865,1817,2107,2846,3342,2937,2001,1757,1641,1538,1845,2429,2221,1700,1557,1637,1806,2093,2092,1803,1776,1958,1832,1698,1628,1811,1921,1719,1698,1614,1586,1709,1832,1959,2276,2106,1808,2537,2574,2265,1947,2622,2414,2524,2552,2131,2075,2080,2150,1866,1467,1860,1814,1731,1712,1962,2182,2164,2103,2038,1793,1887,1952,1945,2107,2103,2430,1961,1675,1555,1854,1982,2274,2003,1997,2667,2714,2177,1876,1934,1957,2160,1859,2426,2512,1926,1846,2303,2110,1673,2126,2244,1996,2532,3084,2442,2010,2417,2047,1468,1661,1733,2111,2189,1936,1952,2018,2084,2434,3083,2726,1753,1618,2100,2438,2931,3171,3266,3439,3307,2722,2615,3122,2734,2586,2230,1689,1560,1848,2802,2872,2514,2352,2745,2942,2326,2352,2464,2655,2241,1797,2046,2023,2156,1758,1643,2269,2518,2425,2106,1960,2054,1914,1664,2144,2467,2129,2424,2603,2617,2332,2046,2070,1892,1710,1704,1591,1964,1786,1916,2290,2387,2566,2365,2658,3110,2971,2979,2799,2652,2498,2751,2754,2212,2205,1872,2263,2269,2729,2587,2542,2687,2677,2924,2446,2119,2086,1758,1952,2458,2592,2282,1791,2131,2934,2944,1865,1585,1738,1639,1983,1861,1943,1997,2027,1966,1992,2033,1956,1818,1771,1621,1785,1977,1900,2099,1972,1603,1636,1905,2063,1942,1782,1880,2280,2524,2192,1833,2979,3323,2752,2086,2200,2243,2186,1899,1752,1795,1744,1737,1753,2337,2548,1991,1760,1539,1628,2107,2153,1851,1560,1747,1778,1869,2611,2901,3078,2510,2008,1681,1743,1786,1745,1854,2114,2203,2173,2074,1971,2132,2195,1951,1964,2418,2075,2020,2053,2167,2228,2104,1730,1528,1759,1671,2040,3002,2736,2621,3299,3046,2688,2460,2630,2607,2526,2832,3328,2825,2052,1729,1836,2093,1841,2492,2954,3043,3226,3211,3131,2980,3006,2928,2752,2275,2032,1981,1554,1141,1326,1504,1472,1657,1764,1721,1928,1997,1868,1604,1700,1704,1942,1779,1827,2002,2382,2332,1766,1481,1710,1992,2338,2004,1712,1618,1842,1590,1634,1775,1684,1656,1767,1785,1999,2353,2015,1771,1771,1957,1961,2083,2354,2359,2049,2010,2452,2801,2374,1582,1450,1404,1791,2034,2140,1744,1396,1362,1504,1593,1584,1531,1560,1923,1832,1619,1976,2027,1620,1827,2132,2315,2462,2120,1804,1892,1789,1715,1517,1463,1533,1812,2426,2483,2846,2806,2219,2309,1976,2205,3138,2774,2374,2226,2332,2519,2698,2927,3077,2821,2990,3212,3160,2447,1742,1673,1427,1514,1672,2017,2282,1907,2056,1830,1457,1489,1550,1700,1933,1720,1682,1583,1714,2016,1815,2305,2104,1561,1654,1992,1846,1641,1699,1872,1773,1629,2000,1675,1854,1647,1419,1749,2208,1853,1577,1714,1618,1600,2146,2701,2701,3382,2819,1766,1503,1815,1700,1349,1365,1596,1709,1457,1405,1567,1581,2046,2325,2446,2976,3488,2876,2810,3072,3257,2644,1842,1888,1973,2309,2371,2069,1883,1638,1632,1700,1676,2102,2263,1945,2397,2752,2425,2256,2620,2212,2441,2574,3138,2820,2453,2928,2837,2292,1939,1930,2276,2542,2404,1890,1587,1569,1652,1924,1925,1760,1547,1423,1857,2748,2531,2732,2209,2096,2060,2117,2351,2478,2342,1782,1525,1556,1915,2150,1812,1517,1480,1515,1997,2536,2094,2286,2997,2416,1995,2082,2048,1997,1841,2332,2373,1955,1771,1805,1939,1829,1774,1892,2140,2308,2204,1738,1922,2204,1920,1654,2636,2742,2807,2243,1847,1753,1889,1736,1760,2762,3648,3670,3604,3540,3514,3348,3483,3738,3497,3873,4232,4344,4696,4664,4555,4532,4715,4475,4374,4796,4797,4196,3951,4030,3847,3096,3197,3859,3485,3382,3422,3150,3307,3782,3608,3920,3504,3532,3827,4005,4289,3806,2833,3134,3919,4036,3218,2535,2276,1874,1833,1978,1837,1727,1690,1829,1945,2122,2034,1974,1943,1818,2032,2251,2901,2587,1822,1584,1500,1482,1488,1459,1618,1790,1642,1615,1568,1613,1858,2080,2763,2790,1777,1764,1659,1671,1573,1403,1399,1443,1631,1500,1426,2011,2100,1500,1233,1794,2204,1871,1803,2357,2608,2775,2093,1707,2133,2086,1960,1726,1464,1481,1655,1522,1577,1982,1631,1549,1570,1550,1604,1599,2037,2525,2374,1770,1203,1511,1616,1862,2290,2062,2030,1621,1453,1413,1658,2169,2110,1817,1831,1883,1815,1780,2285,2544,2850,2956,2911,2228,1685,1610,1733,1929,2309,2613,3212,2319,2041,2893,3697,3854,3606,3111,2705,2286,2055,1804,1567,1349,1511,1537,1108,1561,2321,2267,2017,1930,2021,2093,2679,2820,2218,2048,1852,1564,1716,1640,1716,1730,1876,1916,2113,2731,2613,2539,2934,2935,2121,1639,1832,1882,1648,1397,1329,1726,2585,2198,1817,1904,1452,1455,1376,1463,1722,1687,2442,2895,3144,2274,1615,1793,1724,1493,1709,1894,1854,1964,1863,1620,1509,1717,1986,1798,1600,1502,1369,1673,2348,2754,2788,1816,1307,1331,1402,1918,2189,2030,2219,3332,3413,2698,2584,2422,2427,2180,2364,2356,2504,1730,1998,1959,2305,2744,2093,1637,2135,2019,1687,1810,1886,1831,1672,2078,1855,1697,1990,1905,2483,2941,2466,2114,1699,1457,1411,1339,1471,1719,2261,2154,1620,1503,1537,1484,1502,1507,1601,1489,1518,1912,2153,1880,1694,1551,1918,2297,2668,2778,2049,2045,2978,3329,3528,3890,3306,3508,3439,3261,3607,3311,3028,3051,3094,3190,3308,3440,3306,3388,3561,3704,3674,3548,3426,3438,3597,3195,2258,1666,1532,1678,1664,1477,1600,2043,2130,1874,1770,1651,2009,2202,2113,2243,2249,1854,1570,1520,1183,1269,1332,1292,1394,1343,1513,1507,1842,2072,1844,1528,1459,1429,1699,1407,1609,1515,1777,2002,1853,1772,1598,1484,1781,2310,2684,2256,2087,2337,2410,2775,2465,1893,1902,1873,1860,1785,2015,2596,2972,2858,2125,1765,1708,2026,2875,3705,3562,2868,2599,2776,2867,3253,2948,2885,3204,2574,3339,3422,2436,2073,1654,1510,1780,2096,2242,1949,1794,2236,1944,1490,1837,2286,2188,2300,2765,2547,2595,2706,2639,2610,1745,1469,1584,1580,1655,1799,1899,1807,1757,1542,1609,1637,1397,1606,2117,1992,2125,2735,2287,2842,2873,2241,2256,2522,2046,1644,1613,1445,1591,2134,2119,2323,2699,3104,2987,2132,1703,1566,1378,1331,1505,1792,1489,1909,3458,3828,3234,2918,3243,3378,3399,3208,2985,3341,3242,2555,2831,2531,1943,2613,2468,2226,1924,1842,1793,1938,1985,1926,2623,3461,3096,2111,1904,1843,1633,1642,1583,1259,843,749,910,1010,1171,1529,1928,1965,2065,1800,2121,2146,1635,1644,1503,1620,1873,1741,1814,2061,1729,1290,1581,2365,1828,1538,1511,1825,1867,1708,1685,2462,3177,2024,1662,2078,2138,2746,2373,1743,1626,1338,1272,1376,1739,1659,1502,1765,1785,1660,1707,2532,2830,2193,1496,1669,1548,1388,1179,1526,2023,2012,2362,2336,2039,1934,2449,2308,1785,1535,1497,1727,2002,1938,1841,1890,1863,1682,1491,2046,2342,2247,1931,1584,1480,1816,1918,1751,2043,2215,1909,1880,2244,1852,1644,1303,1519,1879,1961,1941,1825,1764,1825,1771,1665,1440,1606,2442,2767,2534,1765,2618,3230,3184,2945,3247,3742,3624,3084,2448,2707,2965,3535,3624,3442,3516,3624,3428,3155,2822,2114,2209,2322,2037,1497,1353,1296,1240,1250,1342,1387,1366,1377,1360,1174,1324,1518,1378,1418,1326,1564,1670,1384,1400,1324,1465,1514,1585,1808,1992,2077,1882,1792,2374,2972,2442,1678,1492,1570,1396,1479,1710,1721,2053,2337,2146,2308,2938,3198,2630,2542,2780,2808,2711,2679,2392,1952,1752,1732,1738,1887,1701,1958,2428,2250,2065,2499,2561,2243,2854,3298,2964,2692,2024,1881,1983,1655,1549,2185,1930,2245,2457,2263,2094,1831,1799,1830,1664,2017,3018,3328,3150,2579,2448,2208,1802,2109,2103,2244,2632,2455,2258,1939,1960,2180,2269,2168,2369,2740,2850,3374,3638,3595,3632,3685,4200,4232,3282,2855,3195,2984,3152,3222,2939,3054,3197,2994,2887,3054,3743,3964,3646,3612,3662,3271,3483,2817,2740,3199,3172,3083,3392,3244,2995,3671,3662,3178,2510,1769,1789,1690,1851,2556,2812,2588,2514,2438,2302,2525,2740,2983,3304,3254,3072,2091,2510,3177,3378,3012,2376,2399,2822,3251,3376,3277,3008,2554,3344,3495,3068,2674,2861,2741,2021,1649,1763,2019,1998,2177,1863,2497,2822,2778,2690,2509,2481,2520,2214,2108,2382,2657,2611,2115,1979,2029,2360,1858,1898,2494,2766,2326,2402,3323,3350,2655,2549,2921,3272,3239,3495,3450,2356,1811,1688,1909,2216,2386,2245,2570,3165,3122,2742,2824,2795,2665,2846,3227,3694,3963,3351,2998,2874,2689,2991,2954,2908,2990,3047,2095,1848,2341,2499,2496,2330,2648,3002,2336,2282,2030,2388,2700,2593,2027,1752,1802,1967,1856,2042,2342,2023,2093,2204,2125,1937,1759,1644,1711,1742,1788,1529,1534,1787,2078,2103,1754,1958,1883,1581,1692,2012,2170,1664,1610,1594,1526,1655,1852,1918,2116,1997,1763,1647,1516,1604,1756,1595,1889,2402,2370,1852,1634,1828,2117,2396,2429,2075,2426,2549,2276,2363,2839,2932,3386,3044,2401,2119,1820,1622,1802,2072,2293,1967,2445,2652,3176,3277,2357,1611,1548,1766,2089,2398,2184,2062,1706,1609,1674,1698,1414,1318,1648,1715,1604,2272,2318,1857,2539,3254,3282,3162,3040,2482,3142,3453,3320,2895,3088,3715,3186,2856,2763,2778,2268,1904,1772,2138,2208,2499,2532,2083,1694,1547,2237,2579,2149,2770,3306,2597,2516,2503,2314,2259,2376,2187,1848,2173,2581,2661,2506,2784,2790,2993,2236,1456,2165,2903,2526,1888,1920,2209,1865,1732,1665,1773,2210,2334,2734,2712,2384,2746,2696,2513,2563,2839,3106,3304,3587,4113,4732,4428,3264,3646,3476,2854,2311,2248],[3964,3117,2401,2364,2928,2950,3056,3176,3156,2318,2062,2121,2446,2282,1853,1776,1698,1812,1920,1946,1637,1310,2526,2589,1968,1640,1928,2504,2699,2588,2645,2360,2081,1797,1517,1505,1936,2128,1880,1705,1709,1684,1698,1998,2154,1825,1679,1823,1535,1581,1705,1777,1835,1766,1635,1543,1571,1715,1799,1778,2032,2017,1750,1973,1906,2230,2290,2440,1997,1919,1875,2196,2511,2229,2315,1865,1642,2263,2031,1915,1815,1828,1967,2076,2263,2388,2624,2815,2835,2558,2365,2363,2577,2053,1608,1592,1732,2135,2514,2501,2909,3124,2222,1679,1274,1439,2203,2551,1970,2190,2801,2556,1911,1827,1866,1729,1531,1699,1794,2390,2981,2865,2140,2462,2215,1624,1541,2031,2351,1834,1599,1740,2192,2077,1974,2221,2260,2004,2720,2645,2015,2443,3094,3184,3574,3395,2945,3318,3576,3334,2746,2047,2174,2230,2482,2888,2532,2259,2255,2588,3124,2558,2540,2920,3305,3108,2304,2237,2601,2763,2270,2155,2465,2270,2378,2490,2245,2226,2119,2030,2409,2098,1731,2264,2576,2271,2234,2282,1812,1709,1818,1706,1591,1698,1625,1498,2268,2880,2909,2467,2717,3002,2761,2907,2766,2935,2846,3008,3110,2372,2078,2280,2775,2634,2596,2268,2120,2901,2912,3421,3673,2407,1977,1703,1927,2304,2264,2181,2170,2307,2645,2731,2026,1739,1744,1684,2382,2008,1706,1577,1721,2131,2219,2179,2175,1969,1850,2040,1777,1847,2636,2654,2094,1634,1519,1581,1808,1999,1828,1546,1845,2226,2320,2244,2822,2575,2229,2232,2101,2407,2443,1863,1669,1666,1679,1649,2035,2639,2360,2036,1928,1921,1825,1896,1822,1737,1782,2090,2572,2462,2952,2756,2840,2612,2184,1845,1941,2024,2193,2160,1952,2122,2052,2087,2139,2066,2063,2164,2154,2429,2376,2409,2308,2237,2374,2342,1836,1908,1794,1694,1959,2363,2139,2479,3206,3365,3248,3617,3153,1980,2030,2641,3063,2213,1996,1863,1639,1784,1878,2437,2871,3108,3161,2842,3001,2918,2976,3076,3851,3316,2235,1713,1562,1506,1492,1520,1668,1733,1738,1764,2706,2703,2137,1648,1689,1787,1911,1871,1739,1697,1920,2236,1686,1656,1708,1673,2134,1931,2319,2445,2219,1785,1609,1816,1884,1744,1567,1542,1747,2734,2165,1668,1645,1965,2491,2409,2438,2313,1679,1642,2172,2479,2016,1690,1605,1483,1750,1779,1481,1309,1372,1344,1351,1243,1363,1835,1884,1622,1579,1838,1832,1549,1490,1561,1814,2254,2187,1721,1521,1737,2126,2129,1732,1870,1598,1510,1636,1516,1656,1796,1719,1833,1983,1645,2114,2383,2453,1984,2409,2853,3322,3562,3650,3516,3384,3255,2508,1946,1622,1648,1679,1999,1885,1924,1954,1613,1809,1891,1645,1723,1735,1790,1904,1586,1887,1721,1649,1843,1741,1893,1908,1398,1386,1778,1780,1531,1453,1380,1394,1906,2085,1900,2218,1755,1477,1743,1921,1762,1600,1660,1510,1589,1887,2466,2664,2610,2174,1706,1416,1810,1889,1483,1618,1839,1899,1414,1288,1375,1737,2122,2494,2066,2253,2779,2649,2524,2520,2553,2180,1923,1918,2339,2552,2397,2265,2147,2041,1974,1798,1919,2483,2280,2200,2787,2691,2517,2515,2695,2630,2663,2785,2707,2264,2554,3165,3106,2710,2292,2084,2245,2356,1980,1664,1706,1912,1694,1436,1490,1514,1688,1804,2299,3079,2599,2713,1985,2366,2253,2250,2332,2357,2139,1777,1512,1439,1721,2155,1839,1525,1483,1638,2194,2378,1613,1586,2128,2358,2501,2443,2163,1821,1763,1722,1694,1496,1591,1832,1986,1903,1729,1939,2206,1921,1824,1802,1976,1974,1776,1730,2468,2941,2600,2123,2031,1924,1786,1738,1780,2768,3831,3947,3780,3394,3127,3360,3818,3907,3705,3918,4421,4404,4620,4717,4555,4508,4496,4228,4432,4852,5009,4311,3826,4061,3912,3609,3334,3486,3637,3681,3319,3090,3245,3296,3784,3761,3089,3562,4000,3701,3803,3795,3209,2868,3332,3918,3536,2688,2140,1921,2198,2046,1683,1542,1515,1624,1721,1936,1916,1960,1889,1766,1999,2231,2727,2660,1795,1525,1470,1489,1606,1671,2091,1757,1498,1532,1571,1920,2933,3044,2714,2674,1907,1694,1588,1700,1511,1355,1465,1510,1507,1482,1653,2194,2496,2029,2113,2767,2417,1724,1592,2135,2733,2815,2064,2100,2528,2625,2194,1648,1557,1630,1675,1444,1598,2647,1884,1650,1751,1704,1702,1530,1746,1930,1743,1639,1578,1897,2001,2153,1901,1587,1601,1575,1486,1568,1809,2122,2236,2030,1897,1787,1587,1937,2150,1896,1864,2353,2457,2078,2036,2014,1754,1570,1805,1714,2036,1718,2036,3145,3366,3117,2832,2584,2561,2689,2407,1649,1400,1655,1592,1650,1330,1874,2379,2408,2226,2021,1859,1984,2542,2784,2280,1734,1747,1331,1215,1347,1564,1576,1798,2160,2568,2554,2560,2777,2968,2920,2444,1986,2351,2365,1770,1929,1913,1894,2486,2260,1760,1865,1395,1420,1726,1569,1696,1861,2995,2835,2173,1768,1788,2064,1912,1512,1500,1952,2144,2574,2001,1615,1597,1508,1528,1733,1919,1572,1436,2117,2531,2499,2458,2119,1886,1520,1483,1905,2165,1762,1560,2635,3077,2635,2436,1966,2397,2169,1857,1945,2366,2468,2150,1906,2453,2852,2216,1872,2303,1888,1584,1436,1724,1768,1711,1954,1974,1838,1520,1549,2252,2521,2446,2195,1845,1608,1471,1328,1525,1563,1769,1920,1637,1574,1744,2015,2100,1556,1477,1515,1638,1867,2022,1885,1723,1528,1633,2059,2761,2874,2035,1943,2779,3742,4071,3991,3476,3243,3394,3649,3791,3481,2919,2884,3060,2918,3230,3399,3365,3395,3651,3688,3618,3562,3471,3442,3056,2121,1783,1666,1580,1670,1574,1734,1846,1956,1697,1528,1671,1616,1847,2109,1731,1686,1708,1438,1409,1386,1290,1256,1343,1764,1770,1277,1443,1498,1544,1923,2081,1735,1395,1571,1666,1529,1721,1606,1876,2198,2053,2069,2047,1933,1793,1808,2316,2149,2158,2315,2968,3003,2493,1986,1713,2112,2425,2461,2739,3044,3078,2210,1526,1613,2015,2216,2580,2944,2908,2544,2358,2237,2391,3103,3444,2915,2819,2524,2805,2929,2293,1910,1890,1773,1753,1903,1927,2127,2394,2932,2401,1695,1578,1560,1887,2500,2916,3015,2729,2424,2244,2126,1502,1875,1788,1754,1591,1536,1734,2118,2038,1547,1672,1689,1521,1609,2214,1993,2018,2866,2655,2670,2924,2811,3172,3261,2219,1736,1717,1849,1904,2045,2414,2179,2499,2902,3107,2672,1709,1380,1292,1325,1592,1909,2022,2580,3394,3363,2470,2411,3064,3413,3329,3050,3195,3857,3580,2584,2634,2308,2249,3607,3476,2951,2737,2747,2654,2733,2536,2210,2258,2644,2281,1748,2123,1871,1477,1886,1933,1633,1264,1056,1066,1034,1326,1737,1880,1948,1968,1892,1743,1680,1596,1638,1672,1792,1758,1629,1706,1892,1652,1682,1799,2072,1997,1901,1814,2235,2320,2065,2126,2698,3092,1807,1603,1626,1632,2172,1976,1518,1669,1764,1838,2002,1937,1744,1668,2304,2498,1973,1690,2241,2262,1973,1431,1263,1378,1563,1955,2318,2044,2049,2833,3043,2174,2161,2613,2376,1910,1610,1675,1746,1689,1787,1869,1755,1767,1808,1817,1930,1777,1815,2136,2032,1909,1965,1979,1934,2104,2022,1870,1676,2410,2145,1547,1171,1435,1866,1927,1870,1758,1564,1546,1522,1633,1560,1903,2656,2355,2205,1977,2503,3016,2519,2706,3399,3691,3753,3329,2390,2635,2986,3411,3500,3208,3261,3473,3329,3313,3088,2165,2098,2128,1948,1465,1353,1305,1261,1237,1262,1577,1653,1412,1423,1288,1422,1657,1321,1245,1432,2018,1865,1542,1519,1650,1679,1532,1604,1904,2489,2499,2358,2362,2646,2707,2141,1779,1415,1483,1571,1594,1571,1375,1592,1860,1552,1808,2866,2773,2470,2591,2810,2836,2734,2639,2431,2025,1803,1803,1722,1924,1654,1921,2550,2686,2546,2955,2794,2233,2779,2578,2262,2344,1602,1848,2243,2069,2045,2056,1959,2368,2385,2048,1858,1846,2149,1931,1862,2192,2544,2771,2814,2396,2420,2359,2230,2641,2911,3065,2745,2632,1995,1687,1991,2632,2371,2280,3041,3208,3182,3934,4352,4188,4095,4031,4340,4141,2778,3121,3493,2983,2954,3222,3211,3432,3563,3151,2976,3230,3561,3547,3697,3639,3054,3293,3178,2728,3046,2939,2833,3112,3518,3655,3521,4473,4232,2841,1918,1386,1256,1424,2181,3018,2663,2326,2308,2459,2506,2128,2237,2612,2754,2744,2524,2176,2432,2648,2579,2408,2788,3636,3809,3008,2573,2613,3030,3493,3558,2890,2386,2628,3373,3367,2380,1811,2069,2493,2431,2540,3017,3351,3074,2663,2242,2081,2327,2234,2055,2154,2325,2291,2381,2213,2296,2696,2411,1891,2067,2490,2719,2482,2832,3341,3188,2533,2527,2201,3150,3663,3813,3498,2799,2281,2027,2010,2000,2104,1978,1748,2530,2903,2248,2626,3306,3363,3318,3458,3835,3592,2957,2989,2932,3132,3249,3440,2718,2393,2563,2121,2194,2579,2459,2530,2637,2588,2895,2182,1895,1838,2250,2310,2213,1922,1888,2122,1918,1511,1536,1907,1832,2038,2204,2155,2060,2011,1861,1801,1894,1814,1542,1555,1698,1972,1715,1625,1873,1556,1464,2128,2711,2188,1397,1280,1393,1591,1786,1972,1806,1970,2085,1991,1659,1625,1876,1783,1952,2316,2691,2780,2332,1696,1722,1422,1755,2277,2409,2614,2635,2629,2612,2318,2225,2801,2962,2346,2062,1726,1664,1640,1953,2193,1985,2431,3231,3062,2490,2041,1577,1524,1994,2440,2469,1901,1931,1722,1563,1533,1579,1442,1347,1660,1737,1781,2510,2056,1919,2597,2899,2787,2597,2306,2517,3022,3284,2833,2374,2830,3692,3557,3067,3027,2533,2897,2460,2226,2602,2603,2663,2242,2001,2194,2354,2535,2544,2271,2854,3113,2778,2245,2049,2496,2690,2652,2432,1671,2254,2851,2952,2401,2736,3069,2806,2111,1630,2275,2924,2487,2139,2219,2571,2537,2086,1807,2276,2478,2348,3140,3254,2360,2011,2041,2157,2223,2293,2613,2711,2112,3008,3829,3828,3506,3531,3287,2867,2338,2291],[4046,3706,3188,2500,1840,1839,2554,2996,2999,2503,2106,1832,2007,2458,2016,1623,1698,1713,1771,2028,1840,2226,2986,2283,1848,1918,2121,2419,2776,2547,2298,2220,2294,1822,1636,1861,1942,1878,1958,1582,1431,1780,1771,2019,2002,1608,1517,1690,1539,1734,1755,1952,1994,2006,1897,1700,1630,1558,1580,1786,1782,1968,1930,1792,1676,2308,2670,2708,2320,1935,1771,2110,2084,1988,2508,2060,2157,2580,2382,2184,1880,1735,1689,2125,2641,2997,3376,3326,3034,2607,2315,2390,2542,2420,2297,2250,2056,2033,1980,2107,2145,2499,1952,1409,1408,2030,2658,2797,2500,2555,3144,2950,2112,1636,1852,1455,1522,2072,1680,1783,2520,2471,2023,2086,2020,1763,1662,1805,2012,1665,1484,1563,1975,2185,2194,1917,1850,2359,2730,2503,2048,2060,2655,2987,3341,3573,3262,2967,2550,2857,2995,2653,2866,2968,2547,1964,1879,1999,2128,2149,2685,2470,2618,2701,2511,2595,2562,2576,2692,2481,1806,1787,2366,2273,2306,2175,2303,2448,1943,1618,1917,2081,1992,2286,2697,2336,2424,2247,1713,1813,1970,1968,1780,1547,1566,1724,2370,2757,2680,2567,2812,2702,2641,2675,2532,2833,2717,3174,2941,2713,2556,2698,2590,2312,2338,2215,2120,3130,2569,2768,2654,1696,1231,1348,1678,1841,2032,2493,2836,2941,2178,2020,1859,1817,2171,2215,2114,1888,1750,1692,1726,1992,2132,2415,2378,1979,1832,1960,2182,2730,3218,2764,1642,1451,1799,1942,1906,1951,2053,1935,1992,1976,2178,2724,2630,2270,2348,2354,2260,2458,2188,1792,1871,1765,1638,1603,1933,2458,2488,1963,1802,1861,1920,1961,1866,2096,2820,2835,2766,3040,3130,2404,2525,2877,2763,2465,2194,2137,2244,2464,2352,1872,1757,1937,1788,1836,1837,1890,1972,1809,1870,2076,2209,2696,2785,2383,2088,2327,1780,1497,1953,2433,2464,2757,3304,3266,3184,3640,2666,1731,2084,2761,2425,1603,1645,1744,1561,1501,1801,2310,2871,3100,2984,2608,2866,2801,2938,3043,3740,3444,2418,1743,1699,1595,1563,1978,1989,1591,1737,1956,2586,2701,2008,1632,1673,1713,1880,1782,1646,1831,1886,1971,1562,1616,1507,1575,2333,3006,3438,3479,3293,2800,2106,1953,2045,2053,2034,2232,2316,2670,2435,2388,2316,2354,2610,2558,2200,2101,1866,1866,2204,2727,2269,2122,1769,1445,1695,1732,1322,1276,1435,1371,1510,1467,1811,2009,1556,1333,1416,1679,1646,1594,1544,1387,1745,2187,2186,2121,2600,2943,3014,2255,1723,1857,1760,1534,1377,1312,1462,1683,1574,1235,1814,1807,2493,2586,2642,2586,2424,2829,3682,3935,3842,3377,2933,2808,2338,2032,1656,1576,1770,1616,1396,1725,2026,1743,1888,2184,1961,1770,2115,2151,1685,1559,1576,1603,1853,1862,1549,1736,1964,1362,1576,1876,1664,1510,1570,1559,1726,1897,1644,2049,2226,1830,1543,1311,1487,1785,1718,1632,1480,1450,1746,2447,2354,1994,2154,2056,1660,1838,2042,1661,1714,2132,2495,1585,1322,1323,1640,1997,2148,1864,1882,2090,2234,2120,1594,1688,1996,1870,1898,2422,2280,2298,2238,2172,2189,1991,1941,1968,2266,2097,2174,2301,2697,2679,2532,2532,2558,2468,2648,2514,2286,2373,2750,2613,2235,1936,1966,2298,2662,2314,1808,2042,2234,1887,1741,1670,1451,1929,1704,2260,2946,2635,2417,2349,2380,2052,1710,1533,1655,1776,1651,1531,1600,1390,1301,1528,1560,1516,1732,2069,1795,1431,1760,1996,2343,2949,2895,2540,1801,1863,2172,1773,1545,1641,2022,2234,1842,1641,1886,2524,1981,1527,1620,1814,1802,1672,1967,2242,2080,2138,2167,2078,1697,1785,2049,1787,2548,3460,3846,4019,3664,3221,3313,3651,3717,3838,4232,4551,4595,4689,4565,3950,4183,3868,3693,4155,4660,4969,4620,4271,4049,3532,3238,3170,3701,3951,3552,3243,3009,3209,3533,3920,3505,3315,4020,4211,3823,3464,3386,3351,2901,2851,3702,3702,2654,2069,2104,2163,1749,1587,1563,1623,1670,1713,1697,1734,1794,1832,1774,1922,2131,2186,2248,2019,1688,1545,1375,1720,1889,1929,1700,1481,1448,1491,1897,2730,2809,2061,1864,2098,1700,1600,1671,1525,1592,1601,1545,1511,1646,1873,2562,2777,2130,1974,2663,2334,1914,1926,1741,2172,2244,1837,2204,2424,2320,1926,1650,1515,1904,1796,1480,1636,1592,1345,1816,2131,1829,1633,1328,1469,1714,1836,1940,1900,1669,1680,1874,1671,1522,1847,1923,1597,1933,2021,2456,2712,2342,1958,1678,1521,1692,1738,2083,2407,2696,2756,2219,2257,2304,2002,1862,1597,1520,1658,1780,2253,2962,2977,2198,1760,2076,2485,2717,2598,2253,1730,1711,1310,1284,1316,1604,1938,1938,1533,1483,1491,1862,2125,2055,1921,1707,2002,1973,1504,1770,2060,1772,1693,1490,1776,2144,2394,1967,1870,1954,2249,2092,2329,2832,3210,3405,2612,1821,2124,2242,1934,1569,1424,1529,2123,2123,2056,1780,2244,2569,2035,1594,1262,1496,2113,2206,1740,2012,2622,2697,2246,1874,1480,1429,1438,1542,1776,1415,1733,2753,2496,2307,1806,1798,1747,1563,1664,1823,1790,1504,1566,2850,2696,2060,2000,2014,1948,2200,2132,2532,3172,3370,2909,2197,2159,2721,2887,2640,1975,1860,1682,1471,1544,1623,1675,1744,1660,1603,1660,1536,1652,1961,2435,2128,1882,1842,1821,1632,1558,1522,1960,2115,1540,1528,1741,1940,2280,1707,1383,1548,1679,1716,1779,1783,1658,1532,1948,2570,2745,2767,2444,2236,2876,3760,3439,3356,3462,3462,3743,3912,3863,3684,3388,3473,3467,3120,3453,3393,3445,3595,3666,3698,3659,3595,3432,2950,2182,1647,1705,1720,1809,1772,1577,1950,1860,1864,1939,1685,1549,1532,1523,1511,1350,1288,1384,1460,1437,1467,1494,1420,1406,1910,1961,1600,1560,1396,1668,2080,1814,1753,1515,1618,1610,1608,1629,1654,2060,2210,2198,2008,2000,2078,1794,2166,2645,2266,2313,2658,2910,2695,2630,2489,2533,2962,2376,2242,2586,2602,2498,2058,1549,1746,2374,2482,2522,2792,3086,3088,2942,2680,2831,3198,3484,3185,3074,3150,3188,2876,2048,1747,1862,1864,1952,2114,2464,2451,2463,2712,2449,1888,1475,1496,1929,2542,3051,3018,2302,2048,2011,1782,1667,2185,2592,2540,2024,1938,1750,1770,2006,1875,1678,1189,893,1234,2212,2051,2007,2590,2591,2310,2120,2076,2494,2648,2142,1875,2017,1993,2082,1948,1724,1748,2414,2434,2376,2491,1716,1591,1682,1382,1681,1828,2213,2879,3286,2929,2412,2584,3256,3426,3444,3484,3500,3782,2974,2158,1780,1844,2690,3218,2933,2792,3066,3197,3330,3519,3265,2541,1895,2020,1998,1859,1945,1655,1676,2054,2162,2123,1651,1406,1431,1382,1559,1899,1972,1929,1942,1957,1824,1526,1433,1641,1828,1792,1561,1418,1431,1670,1658,1756,1699,1743,2005,1938,1786,2125,2349,2264,2200,2342,2127,1802,1548,1518,1782,2031,1968,1968,1867,2073,2045,2066,1992,2064,1743,1840,2046,2182,2027,1905,1718,1616,1448,1101,1409,1633,1868,1927,1921,1722,2166,2054,2132,2504,2542,2166,1494,1578,1619,1203,1044,1766,2057,1834,1752,1854,1753,1842,2122,2590,2542,2000,1798,1742,1959,1884,1880,1946,2081,1672,2089,2807,2484,1641,1853,2580,2303,1706,1758,1808,1733,1720,1956,2017,1896,1740,1565,1952,2254,2530,3168,2389,2651,3474,3752,3806,3710,2782,2315,2692,3140,3308,3255,3257,3431,3318,3073,2813,2471,2471,2052,1748,1385,1244,1273,1222,1211,1239,1503,1698,1742,1510,1363,1343,1287,1245,1321,1822,2007,1859,1677,1401,1576,1546,1592,1403,1617,2592,2650,2707,2775,3089,2822,2546,2165,1625,1853,1916,1636,1539,1452,1493,1476,1512,1968,2577,2539,2548,2699,2886,3025,2896,2601,2390,2249,1938,1422,1188,1753,1783,1844,2519,2790,2588,2950,2886,2583,2980,2788,2174,1980,1564,1602,2371,2851,2745,2263,2242,2460,2245,1919,1885,1929,2314,1943,2392,2635,2600,2473,2586,2928,3098,2831,2539,2680,2939,2746,2214,2460,2501,2297,2618,2736,2518,2990,3591,3408,3282,3989,4535,4625,4463,4437,4412,4014,3206,3693,3702,2989,2688,3037,3427,3522,3208,2996,2880,3598,3362,3208,3352,3544,3562,3605,2729,2325,2999,3037,3044,3018,3234,3352,3384,4421,4328,2639,1585,1489,1871,1897,2395,3033,2540,1959,1476,2158,2535,2229,2164,2183,2388,2510,2229,1982,1716,1811,2012,2045,2443,3419,3680,2673,2544,2965,3256,3230,2840,2805,3079,3426,3648,3207,2150,1980,2443,2920,3332,3144,3028,3300,3351,2598,1473,1392,1888,1986,1966,2293,2420,2156,2147,2243,2644,3023,3211,3007,2439,2285,2325,2244,2711,3108,3326,3031,2913,2624,2956,3470,3627,2916,2346,2065,2055,2636,3106,2630,2160,1955,2866,2630,1935,1989,2732,3273,3072,3282,3730,2974,2430,3054,3002,2880,3178,3370,2922,3075,3190,2551,2009,2008,2119,2388,2536,2612,2590,2058,1651,1841,2642,2624,2080,1836,1864,1810,1657,1621,1596,1660,2014,2068,2141,2048,1983,1989,1982,1928,1968,1878,1675,1638,1495,1847,1676,1865,1676,1198,1232,1636,2152,2216,1954,1684,1783,2149,2148,2337,1759,1693,1898,2131,2023,1907,1842,1920,2238,2274,2436,2753,2434,1695,1768,1390,1571,2225,2522,2573,2329,2501,2942,2521,1601,1982,2307,1721,1948,1870,1653,1827,1962,2214,2299,2726,3256,2357,1759,1638,1593,1764,2087,2110,1722,1651,1648,1708,1662,1666,1771,1581,1587,2287,2070,2286,2622,2533,2034,2352,2744,2474,2222,2689,3000,3131,3256,2404,2662,3401,3992,3744,3469,2811,2158,2498,2204,2157,2316,2801,3305,2283,1764,1883,1897,1829,1786,1827,2398,2780,3016,2666,2181,2895,2834,2415,2461,2287,2412,2669,2929,2309,2625,2988,2574,2131,1767,2414,2902,2573,2102,2048,2108,2661,2323,1853,1907,2463,3007,3503,3300,2530,2314,2459,2475,1852,1726,2452,2833,2608,3188,3239,3030,3188,3166,3016,2289,1952,2408],[3728,3225,2400,1710,1688,1663,1709,1917,2300,2267,2157,2063,2228,2662,1953,1689,1632,1690,1643,1797,1804,2172,2063,1668,1601,1525,1969,2630,2679,2451,2162,2240,2460,2372,2200,2084,1691,1675,2013,1897,1470,1560,1527,1639,1524,1427,1520,2038,2054,1843,2235,2540,2282,2045,1519,1535,1728,1592,1558,1763,1773,1720,1872,2087,2156,2416,2686,2549,2614,2721,2343,1848,1840,2491,2360,1923,2032,2224,2592,2589,1966,1775,1713,2308,2579,2999,3230,2907,1610,1759,2300,2764,2957,2517,2392,2421,2203,1969,1691,1874,2208,2367,2175,1630,1882,2409,2755,3247,3355,3238,2862,2215,2221,2315,2173,1471,1624,1800,1588,1631,1886,2003,2032,2078,1914,1786,1708,1709,1575,1565,1557,1485,1528,2054,2328,2085,2169,2371,2806,3278,3009,2372,2865,2938,2679,3142,3292,2894,2100,2274,2883,2822,2881,2819,2368,2278,2257,2247,2494,2185,2734,2810,2525,2232,2135,2419,2632,2495,2331,2052,1597,1813,2230,1984,2222,2686,2731,2175,1605,1481,1721,2025,1985,2565,2939,2600,2615,2185,2105,1950,1766,1679,1941,2387,2327,2298,2559,2214,2317,2621,2438,2322,2348,2055,2533,2801,2745,2612,2624,3311,3596,3156,2536,2533,2513,2447,1614,2243,2745,2647,1943,1521,1259,1310,1747,1751,1685,2527,3011,2870,1877,1770,1821,1817,1896,1809,1859,2048,2116,1759,2072,2436,1979,1936,1898,1793,1595,1977,2553,2574,3274,3240,2332,1985,2123,2024,1775,1895,2661,2801,2427,1935,2018,2286,2318,2708,3062,2662,2342,2426,1992,1968,2407,2454,1648,1598,1852,1998,1856,1699,1709,1768,1976,2053,2172,2548,3341,1990,1616,2171,2411,2302,2376,2747,2648,1988,1690,1701,1758,2007,2258,1726,1715,1954,2038,1944,1749,1827,1851,1810,1882,1782,2128,2604,2296,2177,2288,2120,1770,1571,2169,2365,1993,2049,2632,2922,3175,2944,1780,1838,2452,2981,2292,1707,1849,2071,2022,1993,2316,2523,3007,3041,2754,2474,2434,2551,2730,2939,3033,3120,2786,1765,1589,1632,1884,1986,1653,1506,1791,2214,2176,2132,1793,1505,1500,1618,1937,2003,1902,1702,1612,1702,1854,1730,1534,1843,2775,3555,3688,3505,3191,2669,2061,1721,1838,2007,2030,2232,2136,2207,2345,2059,1882,2088,2438,2706,1975,2018,1710,1805,1968,2361,2425,2450,2073,1788,2138,1740,1329,1410,1483,1572,2085,1810,1890,1857,1627,1457,1428,1672,1837,1874,1713,1752,2066,2304,2075,2334,3174,3372,2957,1981,1581,1756,1869,1526,1404,1446,1421,1460,1409,1305,2112,2523,2845,2598,2250,2123,2258,2948,3660,3595,3310,3271,2556,2198,2091,1573,1423,1600,1569,1528,1391,1577,2082,2461,2919,3144,2274,1985,2137,1815,1887,1803,1736,1939,1754,1744,1641,1959,1923,1966,1982,1796,1600,1806,1734,1801,2189,2204,2022,2195,2062,1725,1478,1483,1729,2078,2186,2122,2068,2013,1757,1590,1810,1958,1708,1493,1544,1793,1961,1621,1689,1962,2134,1619,1499,1667,1704,1698,1763,1863,2067,1871,1791,1753,1785,1949,2146,1879,1913,1977,1925,2110,2080,2041,1949,1792,2049,2366,2284,2316,1901,2127,2813,2688,2338,2231,2165,2268,2483,2531,2548,2019,2297,2243,2951,2669,2207,2576,2665,2112,1749,1887,2091,1942,1729,1946,1736,1868,1719,2675,2635,2225,2070,2197,2221,1727,1501,1414,1273,1249,1409,1515,1687,1612,1383,1551,1614,1637,1874,1979,2027,1846,2073,2172,1995,2380,2312,1910,1652,1886,1993,1850,1659,1966,2674,2446,1894,1864,2112,2338,1899,1780,1896,1873,1664,1693,2044,1993,1882,2336,2039,1720,1841,2651,2415,1891,2182,2432,2957,3648,3691,3261,3068,3281,3225,3227,3991,4508,4651,4578,4628,4434,4047,3616,3447,3213,3833,4478,4381,4257,4289,3732,3195,3392,3999,4119,3761,3282,3239,3398,3522,3883,3243,3326,3642,3827,3963,3397,3052,3167,3184,2745,2972,3558,2778,2139,2179,2014,1746,1611,1580,1598,1643,1669,1742,1795,1816,1819,1776,1796,2047,1990,1991,2402,2020,1845,1674,1823,1868,1904,1982,1825,1710,1669,1619,1631,2157,1899,1640,1757,1929,1793,1599,1892,1899,1722,1938,2007,2039,2077,2745,3010,2779,2422,3040,2578,1885,1986,1893,1686,2072,2102,2098,1915,1915,2029,1686,1888,2072,1831,1484,1411,1450,1282,1482,2042,1698,1442,1761,2084,2281,2220,1903,1834,1692,1861,1881,1515,1636,1864,1635,1593,2041,2192,3361,3369,2646,2074,1744,1519,1745,2002,2440,2890,2878,2956,2376,2310,2165,2675,2228,1732,1802,1726,1571,1764,2182,1919,1356,1142,1547,2056,2405,2297,2204,1977,1591,1521,1744,1884,1757,1474,1103,1348,1718,1573,1935,1743,2293,2393,1824,1917,1930,1515,1757,2226,1915,2211,2128,1783,1849,1961,1314,1427,1683,1863,2093,2473,2830,3206,3686,2471,1718,2359,2896,2502,1816,1799,2007,2243,2513,2634,1936,1885,2403,2078,1594,1179,1645,2309,2332,2325,2565,2643,2251,2424,2443,1554,1421,1635,1631,1784,1649,1780,2515,2259,2072,1742,1585,1537,1785,2711,3173,2103,1246,1465,2264,1930,1666,1890,1676,1425,1854,2063,2214,2763,2757,2349,1901,2301,2731,3013,2458,1865,2026,1876,1584,1610,1705,1515,1520,1485,1447,1456,1417,1568,2061,2157,1844,1713,1826,2036,1981,1611,1597,1811,1595,1557,1716,1714,1961,2016,1605,1421,1617,1836,1938,1819,1814,1885,2024,2532,2867,3030,2402,2154,2777,3694,3894,2897,2469,2866,3470,3752,3772,3741,3817,3483,3514,3483,3713,3758,3522,3484,3515,3630,3769,3502,3396,2994,2402,2126,1820,1664,1710,1675,1599,1568,1710,1657,1469,1494,1426,1364,1431,1519,1466,1544,1554,1507,1397,1350,1464,1635,1829,1785,1533,1364,1505,1359,1335,1751,1803,1688,1692,1507,1498,1641,1659,1447,1867,2286,1877,2029,1824,1861,1927,2002,2580,2215,1685,1968,2273,2241,2374,2830,2759,2648,2498,2034,2493,2215,1904,2150,1867,1919,2236,2067,2309,2291,2264,3145,2930,3075,2942,3120,3592,3625,2944,2152,1985,2477,2403,1786,2298,1807,1633,2050,2288,2531,2242,2259,2338,2316,1964,1663,1771,1831,2150,2653,2363,1856,1602,1571,1648,1646,2062,2671,2665,2487,2419,1807,1842,1937,1844,1859,1686,986,1451,2361,2122,1932,2389,2535,2290,1985,2186,1761,1389,1756,2099,2183,1992,1891,1737,1510,1509,2063,2234,1777,1592,1432,1571,1844,1530,1556,1460,1888,3077,3484,3223,3084,3229,3580,3300,3543,3614,3664,3514,2331,1737,1647,2267,2969,2907,2809,2552,2642,2789,3198,3329,3331,2515,1631,1974,2029,1699,1746,1856,2055,1917,1680,1661,1613,1555,1584,1428,1674,1923,1903,1965,1996,1803,1502,1500,2008,1937,1981,2047,1690,1461,1398,1499,1640,1937,1789,1638,1834,1494,1879,2566,2764,2996,2189,1686,1611,1788,1813,1722,1565,1581,1946,2263,2310,2683,2407,2071,1766,1692,1519,1315,1588,2310,2363,2122,1935,2122,2638,2021,2015,2283,2219,1954,1925,1545,1637,1881,2137,2397,2189,1923,1552,1592,1293,1213,1732,2428,2408,1976,1819,1799,1713,2089,2676,2654,2245,1700,1333,1614,1916,1868,1834,2115,2348,1838,1778,2519,2768,2237,1905,2375,2025,1584,1774,1970,1696,1697,2019,2083,1628,1355,1478,1802,2417,2359,3063,2294,2867,3409,3585,3538,3547,2894,2174,2337,2509,2429,2573,2580,2383,2169,2440,2070,2197,2403,2134,1748,1323,1341,1322,1249,1253,1272,1283,1340,1472,1440,1413,1402,1327,1322,1363,1766,2177,2098,1672,1344,1375,1392,1570,1731,2431,2779,2446,2610,2749,3079,3175,2792,2092,1504,1442,1521,1527,1887,1687,1614,1580,1553,1914,1879,1924,2375,2675,2768,2867,2711,2136,2399,2208,1824,1661,1062,1122,1536,1686,2025,2578,2367,2441,2438,2645,2586,2413,2386,1884,1599,1702,2545,3366,2927,1976,2074,2324,2014,1637,1695,2082,2089,1670,1528,1719,2243,2227,2200,2438,2697,2557,2386,2164,2947,2515,2078,2192,2498,3016,3149,2491,2607,3307,3709,3853,3882,3937,3819,3929,4389,4761,4356,3836,3788,3848,3540,2966,2756,3212,3437,3535,3029,2921,2800,3365,3363,3396,3431,3507,3248,2404,2321,2701,2842,3162,3282,3153,3404,3565,3400,3849,3550,2227,1649,2524,3125,2534,2885,2665,2304,2081,1732,1480,1839,2008,1899,2209,2487,2272,2115,1777,1777,2777,2965,2237,1820,2401,3258,3032,2958,3318,3040,2642,2485,2698,3044,3790,4096,3398,2534,2240,2407,2707,3030,3052,3071,3185,3047,2570,2137,1336,1429,1859,2252,2721,2552,2134,2179,2830,3194,3209,3681,3312,2355,2127,2419,3056,3509,3327,3061,3373,3211,2920,3134,3500,3394,2280,2019,2411,2857,3079,3207,2976,2740,2886,2574,2004,1962,1725,2013,2580,2940,3120,3274,2907,2769,3166,3018,2908,3218,3314,3329,3206,2713,2113,1657,1686,2270,2591,2990,3066,2579,2136,1918,2294,2850,2584,1997,1701,1635,1472,1667,1632,1810,2044,2249,2448,2593,2383,2084,1869,2059,2050,1928,1778,1619,1496,1491,1597,1644,1896,1644,1380,1485,1753,1781,1776,1999,1801,2215,2343,2102,2140,2139,2280,2204,2364,2316,1885,1917,2081,2299,2514,2361,2676,2844,2547,2224,1692,1932,2238,2146,2269,2449,3270,3486,2702,1738,1732,1598,1676,2247,2026,1631,1862,1925,2007,2128,2447,2547,2074,1960,2134,2107,1910,1833,1647,1675,1815,1842,1845,1813,1935,1897,2255,2327,2528,2533,2540,2618,2721,2227,2287,2423,1880,2129,3153,3579,3352,2846,2305,2542,3436,3695,3728,3481,2427,1875,1826,1951,1988,2129,2613,2601,1918,2053,1948,1784,1863,1663,1804,2083,2173,2776,2973,3053,3353,2916,2455,2239,2182,2480,2802,2750,2546,2873,2923,2766,2602,2041,2340,2522,2437,1995,1978,2094,2282,1965,1985,2341,2862,3576,3665,3330,2922,2502,2432,2320,1809,2277,2845,3075,3077,3044,2754,2599,2841,2990,2546,2291,2312,2734],[3394,2891,2276,1841,1986,2132,1918,1872,2078,1792,1932,2447,3132,2864,2379,1908,1469,1467,1667,1808,1690,1736,1660,1390,1308,1404,1648,1917,2271,2577,2979,2698,2124,2338,2874,2789,2028,1866,1763,1589,1583,1813,1410,1378,1451,1525,1540,1910,2247,2094,2045,2408,1920,1691,1619,1668,1999,1824,1702,1692,1716,1604,1732,2116,2275,2563,2508,2141,2339,2900,2789,2181,2293,2523,2214,1863,1973,2181,2618,2888,2192,1727,1733,2166,2359,3011,3540,2921,2026,2029,2290,2773,2579,1935,1879,1793,2021,2054,1813,1954,2382,2510,2250,1829,2243,2668,2954,3582,3935,3993,3212,2879,3047,2536,2037,1511,1374,1679,1871,1997,2178,2096,1735,1798,2361,1961,1994,1922,1618,1550,1440,1311,1426,2452,2604,1799,1871,2013,2756,3440,3672,2604,2427,2489,2453,3033,3293,3138,2707,2944,2742,2292,2811,2621,2147,2361,2632,2754,2599,2710,2945,2505,2023,2230,1994,1703,1943,1923,1973,2106,1826,2044,1884,2065,2756,3056,2549,1643,1490,1603,1574,1601,1550,2007,2523,2863,3186,2813,2158,2037,1922,1571,1736,2277,2492,2270,2535,2155,2612,2645,1901,1367,1592,1753,2579,3274,3094,2385,2897,3194,3571,2877,2341,2215,2096,2082,1908,2459,2610,2112,1816,1627,1516,1562,1898,1945,2114,2647,2865,2426,1522,1642,2020,1782,1842,2066,1776,2065,2657,3019,3137,2798,2088,2189,2204,2018,1652,2005,2382,2613,3128,2951,2626,2332,2088,1825,1813,1864,1747,1837,1951,1820,1918,2093,2248,2522,2496,2221,2002,1909,1739,1779,2001,2060,1604,1884,2509,2348,1760,1732,1714,1683,1622,1788,2114,2430,2702,1799,1383,1271,1644,2057,2126,2499,2296,1443,1482,1499,1606,1772,1692,1663,1592,1823,2405,2330,1920,2010,1918,1819,1720,1721,2076,2433,2040,1879,2061,1907,1827,2035,2085,2192,2216,2348,2514,3046,3023,2237,1840,2250,3167,3199,2021,1542,1693,1869,1986,2491,2366,2683,2945,3251,2856,2085,1995,2459,2807,2849,2928,2993,3077,2210,1859,1831,1925,1694,1512,1545,1572,1814,2047,2010,1847,1591,1902,2270,2340,2108,1926,1605,1405,1632,1810,1621,1694,2114,2427,2558,2686,2824,2329,1859,1677,1551,1687,1757,1766,1849,1632,1736,2042,2205,1898,1719,2081,2797,2258,1791,1866,2076,1947,1862,1546,1881,2217,2229,2416,2017,1756,1732,1783,2265,2472,1677,1564,1670,1576,1520,1572,1825,1644,1829,1686,1881,2276,2496,2598,3187,3502,3377,2640,2040,1909,1657,1744,1505,1453,1581,1576,1731,1420,1828,2424,2831,2855,2620,2372,2210,2398,3108,3196,3079,2890,3076,2138,1796,1813,1392,1576,1846,1561,1390,1595,1771,2266,3215,3515,2977,2200,1972,2016,2248,2289,1768,1833,1898,1532,1714,1686,1765,1871,2359,2336,2045,1646,1440,1480,1593,1663,1593,1701,1936,2050,1970,1714,1613,1753,2149,2452,2600,2650,2340,1834,1659,1808,1770,1542,1402,1605,1694,1776,2069,1744,1439,1873,2029,1769,2159,2452,2159,1936,2065,1745,1404,1763,2088,2120,2337,2367,2224,2276,2159,1841,1989,2068,1997,2154,2065,2348,2678,2390,2193,1867,2462,2818,2415,2575,2626,2470,1935,1870,1820,2259,2436,2324,2358,3504,3962,3487,3254,3191,2512,1808,2167,2400,2088,1859,1664,1692,1602,1559,1852,1828,1855,1998,2047,1643,1497,1744,1434,1531,1411,1803,2038,1814,1418,1204,1380,1737,1820,2009,1838,2046,1969,2242,1800,1667,1924,2008,1784,1908,2082,2037,1923,1652,2002,2736,2687,2046,1797,2062,2156,1801,1670,2002,1953,1813,1880,1788,1741,2142,2182,1737,1777,2313,2888,2678,2296,2212,2240,2602,3287,3593,3421,3248,3142,3283,3310,3706,4172,4392,4355,4659,4548,3940,3544,3286,2807,2932,3632,3694,3852,4121,4245,3838,3732,4108,4074,3761,3339,3376,3227,3485,3740,3684,4093,4124,4046,4005,3451,2987,2953,3264,3206,2998,3666,2990,2281,2047,1843,1676,1546,1507,1567,1607,1591,1625,1704,1774,1770,1804,1810,2154,1969,2160,2564,2437,2250,2126,1979,1916,1948,2040,1853,1744,1709,2030,1798,1582,1533,1477,1625,1948,1682,1942,2611,2108,1924,2275,2271,2022,1707,1842,2504,2465,1789,1693,1707,1513,1732,2037,1620,2264,2524,2114,2170,2292,2042,1720,1683,1555,1597,1456,1401,1429,1410,1510,1725,1683,1677,2204,2332,2060,1770,1749,1949,2019,2115,1908,1567,1725,1574,1497,1610,1621,1949,3011,3563,3104,2263,2100,2108,2220,1867,2148,2422,2588,3116,2802,2707,2150,2122,2076,1902,1853,1569,1345,1500,1478,1471,1798,1259,1142,1321,1266,1304,1617,1913,1940,1969,2373,2681,2023,1457,1334,2092,2331,2001,1902,1981,2419,2136,1806,1692,1537,1520,1589,1782,1789,2014,1776,1770,1810,1668,1190,1433,1902,2035,2507,2828,2583,2311,2876,2118,1670,2308,2808,2556,2020,1964,2133,2205,2535,3167,2597,2192,2372,2332,2026,1394,1577,2264,2265,2242,2919,2909,2274,2320,2478,1685,1729,2036,1866,1630,1747,1663,1831,1955,1981,2082,1829,1525,1816,3005,3620,2307,1797,1877,1820,1591,1325,1301,1356,1187,1759,2450,2386,2316,2131,2166,2042,2263,2821,2843,2208,2230,2189,1707,1410,1430,1534,1441,1554,1642,1676,1559,1436,1471,1674,1800,1812,1959,2192,2093,1793,1505,1509,1481,1384,1692,1890,1730,1826,1607,1446,1685,1902,2148,2250,2031,1776,1974,2098,2113,2081,2290,2256,2464,3084,3371,3052,2664,2875,2757,3511,3918,3516,3170,3633,3807,3771,3666,3873,3852,3661,3607,3460,3642,3770,3594,3201,2522,2193,2012,1645,1832,1854,1640,1625,1481,1692,1702,1494,1471,1418,1486,1544,1583,1419,1619,1925,1936,1514,1338,1322,1382,1649,1642,1520,1381,1311,1293,1439,1649,1602,1512,1497,1588,1486,2036,2540,2130,2374,2396,1879,1663,1943,2238,2225,2115,2102,1914,1815,1860,1838,1723,1865,2542,3009,2567,2322,2625,2715,2111,2161,2036,1438,1754,2182,1848,1960,1880,2227,2657,2415,2580,2206,2510,3255,3186,2414,1648,1437,1895,1901,2058,2014,1438,2018,2364,2398,2326,2151,2470,2720,2301,2163,1665,1530,1580,2185,2208,1902,1574,1395,1731,1765,1675,2026,2387,2387,2505,2351,1866,2036,1708,1256,1674,1715,992,1534,2381,2304,2073,1982,1775,2142,2008,2288,1630,1584,2216,2726,2647,2392,2124,2143,2012,1449,1657,2292,1951,1592,1701,1664,1563,1402,1366,1323,2005,3250,3507,3461,3425,3024,2663,2422,3303,3580,3638,3019,1961,1476,1760,2656,2677,2517,2768,2472,2249,2404,2452,2570,2729,2133,1508,1656,1694,1752,1996,2270,2298,1882,1866,1902,1599,1551,1555,1498,1765,1910,1894,2114,2166,1954,1388,1353,1540,1570,1842,2310,1969,1626,1570,1590,1792,2253,2021,1511,1692,1779,2557,2546,2895,3262,2369,1565,1440,1696,1787,1527,1608,2314,2436,2200,1995,2398,2587,2621,2589,1886,1338,1211,1593,2101,2159,2436,2208,1707,1891,2332,2491,2216,1757,1606,1824,1730,2132,2555,1854,2027,1869,1666,1510,1376,1576,2100,2597,2636,2389,2031,1843,1848,1853,2118,2611,2134,2003,1604,1182,1356,1734,1903,1853,1967,2066,1836,1722,2050,2409,2681,2050,1795,1710,1674,1658,1695,1618,1810,2238,2014,1493,1383,1468,1688,2490,2042,2624,2562,2700,3230,3366,3318,3363,2916,2288,2508,2292,1829,1854,1956,2015,2413,2442,1897,2169,2566,2505,2020,1432,1337,1267,1336,1332,1295,1207,1544,1501,1395,1328,1368,1413,1334,1446,1755,2313,1944,1394,1303,1327,1377,1283,1638,2110,1908,1968,2421,2531,2762,3133,3139,2051,1612,1319,1351,1444,1829,1852,2101,2049,1885,1722,1358,1324,1774,2349,2768,2820,2109,1749,2206,1844,1974,2317,1867,1421,1682,1936,1879,2355,1959,1785,2081,2106,2075,2310,2177,1862,1810,2023,2592,3084,3171,2349,1793,1816,1834,1465,1438,1977,1968,1702,1910,2563,2901,2349,1942,1726,1649,1749,2284,2144,2940,2685,2076,2142,2292,2761,2820,2435,2711,3171,3714,3767,3941,3949,3784,3669,4099,4560,4402,4095,3822,3399,3220,3074,3077,3383,3658,3686,3146,2940,3000,3085,3122,3361,3363,3321,3027,2321,2942,3212,3000,3482,3542,3641,3797,3003,2208,2562,2416,1783,1592,2603,3392,3109,2995,2607,2376,2503,2309,1712,1891,1955,1746,2364,3209,3075,2473,1897,2140,2850,2834,2408,2266,2575,3285,3264,2792,2427,2024,2495,2909,3244,3116,3648,3806,3073,2266,2045,2171,2644,3240,3364,3333,2788,2421,3023,2632,2113,1616,1471,1818,2371,2404,2264,2501,2780,2832,2908,3858,3536,2054,1728,2652,3044,2731,2644,3036,3815,4074,3806,3608,3682,3244,2072,1716,2405,2857,2509,2544,2753,2843,2742,2062,1579,1846,1668,1926,2268,2811,2851,3061,3089,3166,3149,3000,3134,2853,2760,2868,2836,2698,2408,1907,2318,2754,3109,3225,3077,3078,2927,3064,3562,3327,2626,2178,1798,1626,1905,2058,2191,2710,2953,2593,2260,2452,2486,2274,2182,1819,2030,2060,1938,1848,1747,1614,1636,1707,1638,1590,1751,1667,1668,1727,1723,1866,2382,3012,2916,2370,2000,2400,2352,1930,1946,1922,1659,1824,1873,2467,2458,2352,2766,3002,2662,2118,2163,2750,2714,2172,1970,1923,2873,3274,2757,1976,1540,1450,2308,3189,2619,2027,1825,1868,2352,2020,1841,2372,2173,1650,2422,2830,2279,1796,1729,1881,1815,1992,2001,1897,1892,1821,2192,2431,2554,2526,2551,2534,2271,2035,2298,2609,2272,2119,2952,3366,2600,2108,2341,2302,2763,3152,3353,2787,2180,1625,1348,2338,2536,2508,2360,1676,2270,2315,2140,2602,2352,2082,2263,2033,1858,2063,2230,2766,2715,2460,2160,1918,2047,2486,2774,2730,3032,3300,3166,2814,2566,2296,2182,2236,2177,1836,1855,1906,1808,1667,1953,2493,2543,2888,3106,3404,3251,2939,2227,2157,2206,2654,3000,2978,3017,2814,2582,2651,3133,3484,2830,3295,3118,2905],[3597,3817,2878,2234,2261,2219,2092,2092,1723,1592,1893,2426,2880,2699,2853,2134,1634,1729,1739,1858,1842,1703,1770,1604,1463,1860,1955,1607,1843,2331,2874,2658,2338,2285,2402,2610,2780,2297,1865,1604,1650,1678,1764,1504,1484,1744,1644,1515,1765,1960,2160,1962,1524,1560,1574,1450,1700,1672,1636,1594,1770,2051,2098,2292,2271,2373,2323,2131,2167,2785,2731,2309,2440,2659,2276,1729,1755,1769,2140,2537,2336,1729,1677,1865,2292,2962,3190,2905,2903,2643,2404,2757,2383,1898,1843,1662,1701,1933,1862,1802,1931,2081,1791,1822,2376,2388,2825,3379,3739,4175,4091,3948,3815,2656,1859,1689,1723,2090,2089,1807,2072,2524,2272,2187,2964,2063,2421,2304,1768,1571,1420,1210,1356,2042,1990,1659,1567,1575,2020,2574,3124,2918,2311,2030,2896,3411,3373,3329,3064,3504,3133,2811,3006,2321,2392,2158,2003,2257,2561,2464,2257,2068,1939,2237,2128,2687,2976,2609,2387,2523,2174,2537,2236,2121,2843,3007,2428,1604,1472,1621,1896,1964,2236,2189,1891,2897,3859,3255,2845,2891,1907,1730,1869,1970,1642,1757,2166,2280,2515,2486,1917,1585,1700,1725,2083,2821,2636,1569,2240,2547,3030,2728,2200,1975,2076,2249,2274,2382,2316,2232,2546,2438,1958,1647,2160,2251,2600,2965,2745,2232,1664,1552,1849,1655,1591,1522,1588,1838,2313,3073,3232,2263,1964,2061,1997,2213,2065,1918,2235,2909,3073,2577,2836,2653,1880,1945,2014,2145,1958,1655,1700,1781,1794,1863,2153,2152,1946,2289,2179,1874,1667,1924,2250,1917,1436,1729,2193,1930,1657,2002,1636,1594,1554,1509,1543,1788,2010,1878,1522,1231,1223,1445,1708,1873,1985,1295,1236,1447,1628,1617,1544,1593,1468,1728,2187,1964,1896,2268,2048,1850,1698,1830,1831,2358,2253,1735,2021,1959,1910,1961,2180,2452,2294,2380,2296,2476,2352,2017,2101,2490,3144,2934,1935,1776,1987,1836,2353,2836,2447,2724,2662,2676,2555,2206,1986,2533,3179,2688,2585,2748,2737,1870,1563,1794,1850,1718,1749,1748,1415,1599,1924,1783,1992,1691,1660,1778,1731,1742,1780,1770,1701,1742,1614,1879,2534,2393,2071,1824,1801,2070,1893,1759,1438,1348,1542,1743,2013,1901,1568,1843,2121,2181,1770,1763,2604,3312,3023,2769,2523,2281,2101,1725,1620,1832,2122,2715,2633,2073,1946,1705,1700,2055,2093,1674,1497,1660,1879,1706,1656,1971,1706,1543,1687,1824,1968,2228,3035,3438,3299,3109,2442,2410,2375,1648,1629,1445,1356,1450,1450,1409,1560,2223,2608,2474,2145,2275,2324,2213,2298,2861,2917,2309,2125,2415,1961,1704,1685,1508,1622,1571,1068,892,1350,2082,3076,3687,3279,2140,1784,2001,2276,2158,1952,1692,2429,2656,1873,1730,1846,1644,1659,1952,2239,2285,1958,1712,1679,1553,1598,1526,1432,1890,2353,2198,2207,1903,1712,1786,1733,2157,2640,1886,1626,1733,1636,1797,1644,1535,1490,1552,1662,1929,1863,1798,2215,1977,1882,2213,2493,2198,2207,2210,1964,1809,2272,3201,3258,2878,2921,2578,2046,2128,1891,2282,2089,2289,2303,2163,2296,2349,2219,2307,2293,2119,1926,1886,2316,2740,2999,2381,2226,1623,2112,2618,2164,2454,3692,3823,3407,2789,2840,3377,3262,2840,2689,2308,2007,1911,1790,1636,1673,1721,1998,2121,1788,2026,1758,1558,1907,1697,1640,1676,1880,1921,1591,1355,1486,1520,1976,2250,2105,1955,2135,2746,2575,1942,1761,1905,1795,1958,2100,2155,2387,2524,2170,1718,1966,2604,2371,1980,1897,1813,1673,1613,1663,1676,1763,1705,1679,1842,1915,1707,1509,1779,1950,1813,2053,2286,1999,2554,3509,3676,3514,3393,3218,3217,3409,3538,3852,4229,4060,3774,3939,3791,3566,3373,3330,3527,3487,3645,3576,3748,4018,4183,4014,3907,4019,3902,3552,3353,3520,3182,3495,3755,3673,3660,3979,4201,4063,3458,2922,2986,3660,3815,3043,3287,2878,2372,2049,1895,1795,1670,1606,1631,1608,1574,1581,1677,1785,1864,1853,1826,2205,2292,2298,2450,2592,3075,3175,2365,1947,2219,2125,1815,1616,1579,1986,2018,1627,1525,1526,1688,1929,1753,2274,2775,2438,2080,2335,2396,1872,1655,2002,2465,2475,1954,1803,1986,1759,2008,2310,1637,1638,2177,2175,2112,1870,1840,2085,1912,1799,2119,1618,1521,1447,1473,1982,1698,1465,1631,1908,1779,1555,1802,2408,2614,2186,2127,1552,1874,1689,1717,1774,1861,1624,1527,1801,2971,3664,2523,2174,1921,2082,1587,1793,2179,2590,3079,3372,2684,1698,1840,1798,1872,1986,1915,2265,2519,1421,1179,1917,1582,1379,1865,2018,1653,1544,1961,2498,2123,2029,2203,2054,2057,1943,1952,1957,1811,1771,1803,1677,1569,1662,1815,1801,1709,1750,1983,1842,1718,1664,1837,1874,1795,1727,2040,2130,2148,2326,2483,2201,2198,2259,2158,2141,2093,2494,2509,2438,2602,2236,2157,2296,2626,2481,1841,1688,2084,1911,1575,1697,2249,1990,1858,2865,2901,2432,2028,1895,1807,1877,1847,1620,1634,1573,1603,1808,1606,1757,2390,1947,1860,1746,1642,2173,1731,1514,2184,2266,1518,1266,1693,1826,1379,1754,2382,2061,2197,2104,2230,2500,2460,2811,2378,1854,2205,1951,1496,1432,1440,1487,1439,1516,1683,1930,1663,1329,1419,1565,1538,1691,1824,2110,2173,1961,1512,1470,1379,1276,1630,1681,1625,1712,1669,1680,1921,1920,1968,1986,1825,2220,2466,2147,1914,1931,1856,1841,2424,2696,2275,2314,2732,2853,2687,2921,3484,3553,2766,2934,3596,3796,3770,3917,4035,3776,3515,3386,3708,3799,3237,2394,2159,2257,2236,2103,2303,2152,1610,1593,1571,1577,1558,1964,1926,1517,1660,1723,1506,1393,1418,2057,2711,1816,1491,1469,1400,1451,1496,1394,1290,1569,1644,1497,1478,1421,1300,1511,1777,1709,3135,3747,2740,2709,2423,1864,1614,2235,2833,2544,2096,2064,2036,2031,1966,1673,1656,1895,2482,2668,2167,2523,2891,2512,2167,2186,1680,1524,1607,1685,1909,1676,1722,2477,2955,2902,2396,2146,2536,2472,2504,2494,2455,1958,2169,1789,2736,2552,2264,2489,2241,2218,2061,2238,2686,2786,2348,2222,1938,2093,1918,1931,1787,1961,1895,1699,1676,1788,2127,2442,2249,2071,2087,1960,1588,1474,1510,1121,1378,1500,1194,1834,2219,2125,2325,2297,1824,1982,2136,2522,2141,2331,2534,2376,2542,2351,2237,2429,2115,1554,1508,1881,1709,1651,1572,1516,1615,1559,1420,1496,1996,2856,3259,3120,2995,2105,2017,2568,3041,3227,2844,2078,2000,1811,1925,2864,2508,2396,2720,2789,2653,2364,2264,2531,2589,1982,1454,1373,1463,1806,2365,2620,2214,1876,1759,1440,1359,1604,1519,1587,1883,1901,1948,1918,1649,1919,1675,1365,1515,1543,1711,1882,1703,1683,1585,1511,1612,1720,1547,1764,2067,2149,2653,2367,2342,2351,1947,1367,1472,1875,1601,1411,1505,1990,2185,2107,2029,2266,2383,2567,2634,2109,1469,1406,1475,1568,2147,2466,1910,1709,1691,1843,2223,2437,2310,1781,1892,1804,1799,2409,2082,2063,1886,1915,1608,1542,1841,2246,2194,1909,1772,1765,1954,1864,1874,1744,2077,1697,1449,1386,1274,1181,1498,1989,2129,2257,2471,2043,1771,1975,2032,2169,1875,1736,1657,1726,1667,1557,1617,1675,1721,1247,1277,1484,1598,1674,2490,2030,2342,2255,2309,3292,3474,3542,3529,3069,2438,2558,2327,2406,1901,1805,2014,2535,2746,2176,2035,2439,2645,2105,1563,1386,1347,1629,1909,1434,1294,1521,1448,1386,1370,1476,1589,1295,1457,2075,2437,1788,1445,1492,1367,1374,1334,1454,1683,1726,1958,2129,2165,2162,2530,3198,2280,1569,1311,1351,1407,1437,1643,2137,2328,2286,2010,1853,1562,1581,1911,2267,2548,2001,2047,2071,1871,2235,3025,3003,1985,1624,1995,2316,2376,2374,2309,2211,1869,2193,2678,2217,2183,2101,1931,2075,2469,3118,2364,2130,2353,2405,2374,2183,2339,2429,2028,2293,2762,2868,2055,1698,1700,1730,1827,2203,2648,3427,3217,2597,2722,2766,2864,2493,3030,3430,3629,3872,3847,3884,4016,3861,3471,3395,3671,3654,3412,3193,2865,2887,3027,3299,3312,3748,3800,3181,3049,3271,3281,3400,3574,3378,3055,2810,2532,2877,2885,2778,2951,3207,3507,3592,2577,1791,1797,1542,1338,2161,2478,3090,3398,3182,2653,2402,2876,2897,2246,2652,2479,2319,3074,3384,3727,3164,2631,2547,2743,2501,2655,3074,3217,3107,2809,2131,1619,1815,2478,2717,2979,2912,2860,2979,2747,1830,1515,1897,2838,3395,2965,2900,2415,2670,3063,2413,2320,2117,1969,2011,2044,2216,2545,2778,2842,2836,2790,3232,3405,2755,2278,2770,2597,2265,2701,3418,3597,3685,3651,3328,3340,2645,1928,1850,1954,1842,1834,2001,2085,2377,2575,2709,1919,1697,1866,2357,2265,2258,2652,2962,3134,3526,3237,2553,3023,2969,2539,2988,3327,3041,2370,2176,2783,3062,3008,2629,2760,3454,3372,3610,3609,3150,2664,2559,2338,2305,2287,2127,2486,2853,2865,2364,1743,2125,2631,2144,1941,1651,1825,2305,2563,2501,2067,1775,1644,1585,1387,1626,1644,1676,1942,2250,1835,2446,3203,3479,3995,3413,2544,2463,2090,1976,1814,1671,1787,1848,2111,2612,2539,2610,2741,2548,2276,2448,3111,3761,2909,2120,2093,2333,2980,2853,2264,1788,1433,1140,1701,2587,2139,1968,2230,1994,1869,1765,1877,2279,2220,2389,2819,2787,2530,1852,1675,1806,1620,1970,2346,2165,1881,2228,2214,2000,1778,1905,2565,2446,1947,1952,1917,2009,2770,2906,3243,2976,2885,3046,2634,2484,2402,2152,2644,2060,2144,1799,1591,2531,2959,2901,2686,2196,2619,2455,2364,2888,2792,2670,2531,2759,2612,2266,2046,2505,2712,2246,1778,1744,2115,2754,2756,2668,3421,3251,3362,3299,3197,3032,2695,2987,2720,1726,1487,1871,2010,1808,1928,2375,2274,2490,2953,3626,3209,2728,2599,2441,2442,2842,2676,2719,2792,2543,2500,2685,2846,2891,2933,3475,3229,2918],[3167,3665,3056,2818,2517,1962,2132,2306,2070,1905,2009,2514,2777,2622,2143,1709,1846,1905,1677,1696,1870,1878,1786,1721,1604,1964,1802,1676,1938,2066,2204,2172,2394,2203,1796,1710,2473,2016,1879,2001,1920,1992,1767,1264,1722,1929,1628,1532,1577,1707,1781,1568,1686,1559,1753,2114,1989,2035,2118,1780,1786,2292,2305,2470,2244,2410,2721,2523,1985,2191,2435,2178,2201,2312,2342,1753,1630,1880,2189,2151,2162,1825,1621,1783,2188,2534,2336,2282,2802,2249,2285,2708,2823,2698,2262,2104,2084,2216,2198,2111,2186,2004,1833,2311,2320,2163,2585,2832,3407,4012,4090,3962,3633,2344,1855,1903,1850,2040,2111,2136,2680,3107,3085,2294,2013,1852,2056,2066,1891,1607,1498,1505,1352,1708,1896,1749,1542,1568,2044,2213,2125,2677,2796,2431,2674,3077,3385,3178,2712,3140,3325,2491,2109,1973,2430,2371,2321,2348,2092,1976,1639,1794,2146,2100,2286,2886,3132,3061,2981,2734,2324,2648,2490,2430,3118,3515,2339,1636,1506,1667,2777,2806,2613,2164,1996,2886,3270,2461,2286,2612,2052,2075,2841,2417,1670,1781,2391,2602,2238,1927,1941,1859,1804,1670,1805,2196,1892,1511,2030,2599,2810,2629,2554,2524,2688,2964,3018,2352,2150,2633,2482,2019,1633,1852,2608,2387,1786,2077,2197,1917,1932,2154,2322,1771,1449,1589,1875,1662,1726,2142,2075,1702,1677,1519,2271,3046,2453,1785,1879,2876,3076,2845,3217,2536,1998,2133,2062,2087,2040,1775,1736,2165,1915,1781,2312,2160,1764,1860,2036,1756,1762,1952,1747,1730,1474,1456,1828,1506,1786,2634,2570,2186,1640,1368,1487,1248,1457,1870,1706,1448,1346,1652,2026,1761,1920,1972,1572,1581,1779,1682,1838,1641,1598,1832,2194,2225,2032,2556,2378,1859,1700,1826,1874,2536,2353,1710,2239,1892,1780,2058,2106,1797,1789,1829,1745,1851,1828,1807,2052,2226,2219,2237,2018,1851,2101,1876,2186,2622,2628,2519,2295,2135,2258,1997,1954,2192,2601,2019,2092,2092,2067,1788,1765,2109,2198,1959,2040,1965,1578,1545,1628,1540,1817,1699,1541,1581,2189,2150,1854,1814,1584,1504,1603,1991,2868,2386,2219,2155,2490,2689,2096,1655,1481,1609,1968,1926,1774,1625,1708,1774,1968,1958,1929,2102,2944,3165,2767,2381,2022,2163,2024,1613,1327,1361,1797,2494,2632,1736,1492,1739,1895,1990,2021,1876,1558,1770,2124,1815,1745,1979,1638,1608,1980,1890,1588,2216,3263,3277,2920,3073,2811,2862,2461,1917,1770,1510,1436,1445,1664,1771,2031,2428,2136,1903,1924,1681,1743,1980,1931,2392,2930,2328,2124,2257,1890,1867,1715,1630,1672,1632,1243,1249,1466,2455,3354,3040,1936,1633,1652,1648,1832,1605,1769,1839,2684,2769,1866,1447,1427,1435,1650,1970,2255,2344,2026,1796,1721,1624,1374,1472,1708,2722,2450,1516,1766,2105,1860,1581,1436,1857,2386,1822,1632,1698,1648,1884,1931,1742,1602,1828,1799,1736,1728,1967,2054,1625,1723,1807,1815,1736,1958,1911,1753,1624,1931,2565,2679,2494,2585,2662,2504,2622,2491,2485,2048,1917,1957,1986,2186,2305,2093,2267,2210,2292,2168,1852,1798,2114,2196,2182,2104,1806,2590,3156,2520,2922,3847,4034,3686,2773,2709,3124,3266,2700,2524,2574,2634,2564,2208,1744,1634,1766,2306,2574,2162,1929,1703,1745,1887,1563,1563,1814,1772,1672,1604,1543,1858,1852,2256,1979,1959,2206,2148,2099,2492,2482,2231,2199,1758,1689,1664,1985,2512,2977,2437,1769,1816,2353,2366,2115,1817,1589,1479,1561,1597,1492,1782,1978,1953,1725,1679,1738,1689,1882,2104,1925,2024,2183,1920,2304,3348,3592,3376,3238,3190,3451,3487,3492,3683,3711,3399,3387,3362,3398,3776,3624,3868,4389,4074,3897,3768,3747,3984,4107,4257,4200,4125,4055,3586,3548,3450,3773,4003,4004,3518,3038,3067,3095,3460,3540,3084,3215,3467,3142,2577,2780,2974,2578,2204,1951,1876,1866,1803,1737,1664,1632,1664,1761,1816,1864,1779,1705,2003,2187,2156,2088,2193,2617,2752,1948,1647,2710,3033,1963,1656,1929,1938,1999,1817,1650,1673,1746,1747,1768,2098,2148,2066,2104,2373,2258,1572,1873,2593,2425,2071,1765,1838,2300,1897,1980,1700,1490,1332,1626,1709,1583,1748,1900,1724,1776,2100,2712,1924,1618,1582,1770,1902,1588,1458,1465,1732,1948,1848,2045,2351,2266,1878,1868,1660,1842,1594,1508,1560,2260,2611,1915,1694,2429,3367,2957,2320,2237,2842,2147,1710,2086,2429,2691,2880,2269,1814,2265,1808,1779,2053,2610,2951,2958,1754,1318,2080,2069,1703,1974,2157,1852,1859,1964,2046,1747,1780,1849,1760,1537,1471,1621,1815,1976,2020,1853,1542,1624,1556,1715,1625,1722,1616,1592,1610,1678,1808,1829,1582,1616,2025,2292,1754,1821,1667,1648,1559,1652,1824,1898,1930,1979,2059,2034,2558,2206,2189,1907,1920,2085,1910,1707,1792,1762,1670,1658,1767,2050,1895,1901,2294,2382,2424,2162,2002,1763,1672,1674,1640,1621,1541,1691,1782,1514,1660,2107,1825,1694,1749,1886,1908,1704,1567,2219,2285,1293,1277,1480,1483,1407,1719,1863,1884,2962,3027,2338,2123,2393,2504,2020,2198,2143,1776,1609,1555,1918,2046,1738,1604,1712,1948,1807,1434,1477,1706,1638,1729,1724,1875,1948,1764,1436,1415,1366,1263,1503,1695,1754,1875,2068,1747,1908,1930,1892,1765,1693,2246,2367,2280,2143,1838,1589,2067,2504,2230,2486,2966,2788,2132,2359,3031,3200,2780,2422,2254,2361,2972,3539,3828,4092,3892,3616,3566,3620,2884,2428,2311,1947,2340,3162,3285,2685,2254,1863,1710,1594,1457,1493,1638,1498,1382,1474,1474,1367,1413,1512,2199,2084,1218,1616,1614,1481,1547,1898,1712,1519,1843,1690,1373,1410,1434,1351,1453,1571,2050,3698,4257,3941,3510,2754,2065,1975,2268,2692,2802,2061,2220,2123,2105,2236,2150,2391,2610,2447,2190,2222,2158,2677,2740,2319,2367,2044,1938,2078,1810,1681,1811,2467,2723,2554,2318,2295,2607,2352,1903,2335,2518,2556,1878,2302,1924,2553,2786,2246,1681,1745,2229,2373,2676,2471,2098,1957,2269,2869,2716,2314,2081,1637,1731,2070,1750,1981,2780,2986,3084,2312,1798,2170,1954,1524,1696,1712,1229,978,1060,1330,2320,2508,2015,2199,2349,1982,1824,1990,2433,2573,2492,2300,2327,2430,2116,2366,2066,1750,1670,1489,1736,1970,1687,1420,1523,1685,1710,1531,1582,2306,3000,3421,3283,2728,2073,2113,2378,2262,2173,2130,2490,3086,2896,2500,2974,2780,2802,2867,2899,2912,2873,2963,3064,2702,1881,1565,1428,1427,1528,1954,2170,2064,2212,2163,1726,1592,1706,1666,2036,2176,1910,1951,1749,1410,1720,1704,1546,1815,1815,1826,1892,1914,1876,1693,1618,1820,1774,1901,2294,2112,1829,1699,1716,1620,1612,1986,1830,1801,2042,1692,1932,1833,1450,1796,1952,1658,1870,2305,2234,1920,1807,1540,1468,1400,1390,2316,2177,1577,1584,1653,1876,1959,2535,2736,2586,2191,1939,1759,1884,1864,1800,1836,1842,2035,2020,1662,1742,1879,1804,1697,1552,1799,1812,1838,1522,1612,1474,1371,1416,1318,1197,1442,1819,1997,2267,2485,1870,1569,1576,1821,1762,1559,1694,1686,1549,1613,1592,1561,1584,1918,1486,1498,1477,1557,1644,2441,2470,2373,2688,2851,3316,3528,3709,3705,3176,2521,2319,2447,2652,2202,2356,2430,2445,2965,2278,1851,2028,2482,2018,1844,1961,2056,2483,2277,1415,1561,1896,1814,1805,1617,1494,1511,1354,1385,1869,2447,1842,1497,1560,1522,1456,1262,1314,1634,2232,1895,1752,1834,2156,2972,3339,2974,2222,1554,1516,1457,1332,1551,2208,2397,2124,2485,2412,1732,1677,2247,2424,2386,2407,2378,2248,2733,2805,3318,2673,1702,2066,2588,2130,1812,2010,2261,2510,2558,2706,2665,2228,2117,1943,1702,1948,2150,2475,2471,3008,2875,2203,2040,1992,2025,2065,1857,2116,2719,2263,1906,2084,1975,1782,2012,2274,2526,3220,3007,2784,3062,2652,2404,3200,3927,3933,3760,3906,4121,4042,3942,3753,3498,3303,3392,3423,3304,2916,2810,3022,3109,3209,3218,3295,2898,2374,3000,3419,3310,3410,3436,3256,3147,2894,2711,2950,2759,2094,2314,3139,3367,3350,2041,1514,1585,1492,1091,2640,3260,3077,3055,2939,2679,2438,2545,2671,3062,3762,3305,3094,3182,3458,3274,2750,2853,3189,3055,2655,2592,3018,3267,2787,2552,2125,1790,1832,2574,2955,2768,2758,2878,2788,3002,2242,1517,1520,2148,2835,2751,3057,2727,2750,2409,2256,2275,2053,2033,2039,2040,2360,2625,2655,2727,2690,2922,3165,3609,3576,3075,2976,3100,3262,3030,3594,3716,3768,3520,2746,2942,2876,2818,2598,1974,1840,1735,1616,1782,2270,2500,2664,1981,1742,1828,1959,1743,1857,2406,2949,3274,3436,3243,2850,2983,2688,2493,3240,3370,2524,2276,2490,2569,3019,3090,2833,2964,3641,3808,3804,3141,2460,2473,2509,2580,2911,2875,2339,2013,2402,2251,1910,1561,2241,2473,2182,1881,1599,1833,2272,2836,3052,2332,2092,1735,1589,1606,1775,1775,1838,2091,2604,2608,3194,3648,3594,3572,3321,3174,2814,2136,2104,2253,2330,2003,1852,2056,2323,2551,2498,2382,2014,1951,2169,3394,4172,2839,2037,2219,2488,2535,2178,1887,1766,1673,1450,1293,1653,1798,2231,2415,2274,2053,1805,2208,2533,2266,2544,2686,2422,2657,1910,2257,1821,1731,2436,2351,2106,2171,2173,1833,1533,1500,2173,2923,2696,2600,2226,1713,1758,2696,2953,2784,2757,3068,3198,2753,2707,2551,2240,2135,1688,2199,2498,2460,2878,2979,3042,2866,2556,2627,2402,2579,2895,2916,2701,2603,3142,3152,2408,2071,2677,3065,2528,2025,1775,1753,2154,2349,2316,2540,2889,2962,2867,3369,3226,2763,3095,2828,1821,1902,2495,1919,1986,2452,2921,2385,2278,2664,3072,2931,2833,3184,2867,2196,2621,2685,2464,2350,2669,2987,2831,2353,2260,2665,2953,2888,3100],[2705,2791,2819,2481,2430,2282,2084,2328,2506,2078,2348,3199,2779,1878,1409,1497,1598,1526,1797,1610,1841,2033,1959,1830,1821,1865,1583,1668,1804,1975,1544,1714,1899,1939,1748,1802,2460,2098,1926,2486,2468,2189,1978,1550,1855,1772,1676,1709,1680,2011,1966,1691,1692,1701,2082,2514,2583,2735,2491,1811,1952,2361,2458,2636,2479,2603,3108,2949,2132,2045,2172,1980,1926,1924,2036,1793,1491,1747,2013,1808,2168,2031,1555,1657,1933,2577,3022,2662,2684,2054,2557,3606,3828,2864,2382,2475,2317,2342,2250,2122,1997,2037,2237,2576,2696,2584,2590,2844,2971,3349,3683,3959,3399,1810,1500,1341,1584,1892,1950,1829,2267,2995,2730,2022,1837,1730,1801,1964,1988,1498,1544,2159,1930,1826,1716,1623,1615,2032,2120,1527,1745,2522,2401,2524,2597,2796,3196,3015,2731,3121,3121,2579,1996,2307,2810,2492,2333,1975,1747,1814,2037,2225,2200,2099,2609,2918,3304,3418,3379,3150,2521,2928,3020,2802,2885,2900,2119,1775,2022,2308,2791,2886,2410,1762,1663,1869,2188,1916,2009,2304,2299,2380,3278,2737,2428,2680,2642,2588,2150,1686,1902,1988,2011,1824,1708,1831,1963,2385,2690,2909,2844,2778,2690,2560,3273,3411,3053,2664,2030,2223,2124,1911,1976,2218,2502,2270,1920,1899,1918,1820,1858,2149,2180,2140,1738,1734,1814,1689,1531,1691,1815,2050,2297,2686,4105,4289,3173,2108,1745,2198,2314,2787,3242,2814,2016,1687,1855,1976,1832,1865,1752,2105,1866,1659,2462,2942,2384,1969,1987,1651,1920,2368,1918,1409,1569,1571,1591,1648,2182,2727,2659,2512,1962,2010,2716,2138,1607,1844,1787,1665,1745,1692,1666,1650,1870,1878,1710,2024,1795,1637,1734,1544,1811,1902,1912,2092,2100,2194,2112,1737,1588,1758,2224,2615,1932,1797,2042,1627,1627,2040,1852,1626,1693,1599,1654,1829,1759,1776,1701,1615,1654,1808,2030,1915,1625,1737,1815,1760,1699,1909,2062,2047,2057,1828,2032,2138,2302,2271,2088,1764,1831,1776,1743,2010,1916,1706,1843,1951,1682,1512,1602,1684,1750,1614,1637,1937,2477,2261,1756,1842,1672,1456,1632,1747,2566,2656,2846,2730,3267,3000,2007,1735,1690,1704,2157,2000,1640,1656,1855,1902,1959,1974,2064,2389,2510,2280,2313,1926,1713,1948,1705,1711,1821,1929,2114,2519,2378,1624,1476,1642,2031,2423,2304,1914,1561,1648,1754,1704,1708,1730,1612,2056,2421,1865,1671,2300,3261,3350,3061,3232,2780,2375,2252,2007,1704,1916,2114,2113,1905,1754,2226,2199,1619,1610,1805,1526,1508,1815,1759,2169,2742,2569,2306,2287,2299,2321,1666,1750,1888,1882,1780,1742,1605,2026,2463,1849,1257,1704,1756,1775,1936,2120,2136,2047,2094,1837,1626,1568,1691,2004,2522,2490,2346,2075,1758,1565,1456,1698,1419,1803,2233,2464,2196,1900,2115,2366,1878,1645,1607,1528,1548,1750,1745,1593,1459,1605,1842,1757,1747,1888,1862,1677,1763,2532,1810,1406,1499,1389,1371,1465,1663,1826,1876,1776,1616,1821,1984,1613,1739,2172,2317,2318,2462,2302,1995,2031,2170,1904,1927,2196,2120,2068,2045,2473,2382,2001,1859,1808,1897,2411,2233,1886,2359,2629,2468,3386,4039,3850,3398,3436,2865,2700,2635,2464,2688,2637,2462,2254,2010,1778,1859,1935,1788,2115,2210,1878,1667,1816,1767,1736,1956,1814,1739,1848,2026,1971,1802,2240,2912,2732,2413,2227,2018,1922,2078,2376,2526,2093,1846,1841,1809,1874,1891,2479,2214,1912,2294,2237,2219,2499,1866,1732,1804,1516,1619,1522,1859,2142,2040,1685,1677,1787,2339,2747,2145,1745,2235,2444,2164,1845,2830,3322,3217,2922,2605,2983,3430,3545,3520,3684,3099,3315,3222,3343,3584,3762,4213,4733,4761,4420,4051,3894,4140,4409,4201,3860,3891,3876,3522,3565,3488,3674,3651,3489,3024,2685,2521,2457,2665,3443,3296,3452,2905,2478,2535,3229,3575,2889,2403,2037,1892,1889,1916,1876,1844,1856,1860,1845,1852,1920,1762,1685,1996,2170,2059,2093,2386,2128,1683,1476,1384,2730,3541,2425,2089,2730,2599,2358,1928,1677,1718,1719,1497,1659,2232,2366,2568,2486,2106,1938,1581,1605,1977,1929,1377,1304,1711,1813,1557,1650,1495,1631,1701,1559,1453,1726,1871,1787,1707,1797,1914,2441,1971,1584,1500,1811,1757,1556,1478,1477,1798,1888,1604,1737,1840,1742,2036,1918,1733,1565,1382,1350,1799,2962,3108,1905,1308,1456,2343,3230,2696,2447,3100,2853,2546,2590,2535,2234,1908,1648,1884,2287,2053,1747,1732,2463,2916,2958,2254,1932,2574,2310,1926,2080,2242,2162,1928,1670,1608,1642,1760,1916,1782,1545,1649,1704,1842,2331,2604,1977,1610,1676,1676,1576,1576,1569,1497,1496,1483,1475,1764,2122,1766,1478,1710,1854,1553,1567,1608,1534,1440,1522,1730,1663,1575,1809,1958,1931,3057,2433,2208,1802,1798,1863,1688,1859,2106,1929,1544,1467,1686,2004,2066,1912,2140,2640,2980,2513,1833,1526,1483,1614,1744,1539,1546,1795,1798,1604,1467,1880,1697,1481,1422,1576,1766,1632,1533,1831,1874,1383,1241,1312,1533,1387,1532,1526,1764,3177,4003,3051,1950,1880,1980,1876,2057,1890,2133,1931,2024,2104,1958,1812,1551,1504,1527,1359,1596,2234,1989,1601,1490,1637,1959,1908,1651,1572,1669,1780,1808,2531,2160,1788,1497,1642,1608,1659,1679,1993,2054,1914,1874,2391,2957,2461,1752,2024,3047,2999,2096,1973,2699,3000,2840,2944,2943,2407,2015,1919,1729,1704,2386,3167,4052,4107,3893,3567,3322,2996,2635,2669,2377,1858,2331,3602,4239,3198,2164,2011,1727,1450,1438,1556,1454,1497,1555,1343,1344,1534,1567,1646,2668,2544,2228,2099,1701,1426,1547,1835,1967,2040,1864,1497,1381,1470,1521,1453,1385,1415,2293,3197,3686,4020,3994,3574,2900,2569,2237,2097,2395,2211,2424,2123,1974,2210,2184,2216,2498,2232,2253,2344,2146,2546,2851,2241,1966,2150,2633,2488,2026,1850,2788,3515,2837,2427,2124,2308,2396,1936,2128,2453,2191,1907,1680,1916,2008,2090,2065,1907,1740,2364,2502,2422,2300,2048,2048,1923,1963,2296,2068,1879,2195,1926,1968,2159,1661,1837,2463,2839,2910,2150,2132,2674,1990,1548,1634,1700,1606,1411,1058,1235,2315,2601,2102,1686,1501,1822,2302,2609,2465,2721,2192,1786,2093,2342,1900,2010,1910,1689,1926,1934,2337,2857,2248,1570,1544,1533,1505,1609,1882,3110,3654,3372,3227,2954,2388,2163,2243,2226,1903,1933,3334,3849,3308,2889,2696,2833,2896,2698,2838,3218,3496,3588,3300,2457,1838,1503,1357,1330,1337,1561,1873,2401,2618,2311,2104,1645,1650,1901,1949,1762,1923,1757,1599,1522,1687,1648,1693,1737,1564,1720,1796,1814,1737,1810,1864,1805,1841,1770,1656,1553,1715,1718,1741,1637,2071,2221,1813,1733,1862,1902,2022,1834,1510,1675,1961,1975,1764,1993,1775,1549,1595,1595,1377,1368,1460,1753,1758,1565,1459,1696,1619,1656,2130,2128,2427,2103,2057,2070,1844,1696,1435,1579,1802,2482,2995,2469,1840,1877,1604,1528,1404,1495,1812,1945,1614,1566,1712,1640,1592,1788,1275,1334,1480,1516,1519,1919,2058,1817,1424,1620,1949,1786,1786,1696,1505,1458,1848,1635,1773,2049,1521,1375,1511,1606,1574,2071,2678,2227,2566,2886,3276,3528,3630,3559,3107,2472,2361,2266,1978,2269,3029,3243,2984,2851,2222,1845,1836,2058,2118,2224,2577,2711,2688,2033,1581,2164,2559,2456,2276,1644,1410,1440,1405,1418,1725,2052,1715,1418,1342,1378,1445,1367,1373,1614,1738,1770,1867,2083,2872,3581,3295,2908,2637,2702,2308,1654,1203,1463,2363,2806,2379,2373,2106,1860,2137,2659,2978,2784,2224,2270,2524,3304,2997,2542,1925,1582,1879,1860,1484,1435,2033,2751,2597,2352,2228,2282,1832,1639,1780,1674,1916,2040,2429,2633,2093,1674,1513,1595,1656,1547,1557,1358,1618,2058,1729,1790,2041,1841,1671,1862,2188,2273,2854,2234,2465,2577,2247,2817,3571,3498,2948,2628,3174,3833,3766,3781,3626,3579,3617,3493,3396,3306,2975,2988,2944,2843,3033,3281,2730,2001,1995,2954,3376,3164,3295,3263,3097,3161,3218,3273,3411,2691,1879,2606,3450,3415,3010,1825,1536,1639,1555,1667,2940,3331,2985,2982,3054,2736,2216,2207,2408,3057,3692,3299,3069,2978,3418,3018,2653,3097,3395,3667,3021,2242,2320,2318,2360,2636,2797,2384,1865,2317,3339,3409,2969,3061,2699,2699,1804,1389,1309,1481,1772,2481,2865,2708,2614,2343,2465,2255,1834,1626,1893,1984,2314,2177,2157,2680,2770,2916,3206,3725,3848,2873,3001,3543,3886,3615,3583,3845,3801,3130,2610,3207,3806,3687,2818,2285,2419,1935,1885,2007,2210,2223,1907,1685,1758,1725,1767,1968,1998,2385,2708,3074,3339,3168,3255,2908,2836,2800,3247,3014,2270,2514,2624,2181,2497,2764,2949,3340,3625,3708,3113,2008,2189,3025,3389,3142,2910,3371,3098,2073,1715,1694,1915,1584,1616,1712,2224,2405,1938,2126,2460,2845,2387,1892,2079,2110,1959,1804,1767,1797,1837,1765,2070,2865,3741,4155,3915,3344,3317,3085,2657,2258,2355,2865,2807,2222,2343,2602,2282,2431,2435,2031,1571,1749,2084,2942,3516,2518,1895,2098,2273,2136,2374,2031,2029,1775,1618,1617,1641,1793,1946,2081,2094,1961,1709,2132,2553,2068,1986,1830,1844,2389,2081,2083,1701,1840,2161,2173,2602,2535,1912,1920,1719,1813,2414,2448,2501,1857,1791,1722,1648,2083,2129,2082,2470,2618,2618,2158,2557,2821,2835,2551,2106,2132,2396,2677,3009,3095,3043,2503,2075,2495,1994,2553,3334,3054,2302,2402,2784,2743,2446,2181,2041,2197,2125,1869,1579,1618,1700,2012,1906,1706,1985,2231,2459,2626,2413,2578,2907,2657,2027,1905,1858,1843,2243,2933,2984,2283,1913,2065,2620,2678,2220,2727,2622,2168,2107,2058,1980,2307,2910,3686,3132,1904,1939,2221,2475,2978,3167],[2774,2380,2470,2658,2690,2160,1820,1896,1825,1797,2569,3045,2313,1767,1426,1641,1462,1649,1905,1815,1791,2165,2434,2045,2002,1901,1855,1637,1684,2083,1738,2192,2220,1969,1877,2166,2232,1759,1945,2674,2153,1897,2003,1825,1806,1830,1750,1764,2050,2027,1732,1751,1966,2105,2197,2382,2699,2680,2416,2056,2168,2437,2488,2557,2579,2352,2108,2524,2498,2285,2052,1932,2056,2046,1698,1591,1498,1462,1714,2130,2272,2030,1720,1449,1629,2116,2226,1792,1778,2326,2636,2338,2348,2315,2461,2610,2363,2125,2161,1991,1749,1811,2126,2409,2734,2366,2126,2299,2007,1805,2386,3409,2488,1719,1672,1798,2054,1962,2121,2306,2296,2296,2093,1576,1410,1974,2376,1803,1606,1564,1516,1892,1664,1605,1786,1741,1721,1869,1646,1511,1968,2036,1849,2336,2600,2833,2876,2551,2761,2894,2776,2728,2635,2888,2713,2005,2152,2110,2200,1930,1772,1797,2192,2555,3190,3257,2947,3016,3422,3460,3112,3562,3000,2002,2077,2357,2288,2220,3018,3327,2348,1991,2060,1758,1787,1638,1847,1844,2098,2501,2322,2343,2273,2048,2661,2555,2127,2469,1904,1702,2204,2408,1980,1812,1839,1896,2558,2977,2737,2881,3051,2831,3050,3171,3754,3195,1942,2419,2246,1923,2357,2342,2169,2732,2752,2371,2498,2007,1995,1801,1638,1834,2265,2301,1933,1715,1731,1896,1626,1521,1720,2116,2224,3112,4312,3705,3012,2335,1799,1967,2678,3376,3360,2750,1893,1731,1635,1818,1889,1889,2192,2360,2284,2099,2689,3104,2636,2175,1982,1790,1892,2542,2700,2083,2014,2185,1981,2103,2635,2325,1981,2533,2730,2802,3074,2291,1667,1636,1744,1845,1933,1810,1753,1766,1784,1621,1713,1952,1613,1830,1700,1651,1708,1785,1886,1813,1830,2084,2157,1885,1731,1959,2092,2084,1960,1957,1905,1681,1670,1910,1765,1751,1816,1454,1595,1816,1934,1726,1664,1598,1527,1771,1935,1770,1657,1748,1994,1844,1676,1919,2052,2221,1952,1807,1953,2105,2143,2145,2066,2079,2341,2434,2223,1819,1662,1825,1946,2008,1541,1479,1658,1757,1638,1627,1617,1687,2040,1805,1660,1908,1652,1610,1632,1642,2041,2170,2149,2207,2584,2656,2487,1748,1693,1757,1936,2061,1805,1602,1908,2254,2084,2070,2237,1991,2004,2042,2320,2054,1844,1771,1814,2158,2387,2523,2512,2570,2358,1720,1665,1518,1865,2276,2151,1643,1644,1788,1802,1675,1632,1648,1568,1782,2066,1788,2327,3165,3632,3350,3314,3267,2541,1973,2220,2090,2176,2692,2299,2259,1808,1729,1598,1590,1523,1560,1517,1393,1460,1617,1757,1929,2116,1885,2204,2596,2900,2333,1619,1467,1369,1441,1792,1980,1733,1635,1796,1772,1246,1829,2011,2171,2226,1948,1657,1828,1679,1512,1488,1671,1598,1642,2278,1992,2070,1772,1575,1488,1472,1648,1918,2440,2172,1663,1831,1793,2365,2556,1891,1650,1624,1058,1180,1610,1674,1587,1468,1582,1722,1703,1631,1474,1613,1578,2053,2557,1676,1376,1521,1515,1459,1423,1515,1809,2160,2098,1779,1605,1656,1595,1647,1884,1967,1815,1904,2127,1984,1820,2092,2523,2245,2257,2536,2244,1826,1822,1802,2020,2246,2009,2585,2884,2265,1959,2301,2336,2216,2632,3429,3400,3285,3056,2491,2640,2802,2740,2808,2258,1742,2161,2004,2392,2478,1959,1890,2015,1896,1605,1656,1843,1768,1909,2031,1865,1632,1799,2376,2327,1990,2537,2971,2752,2370,2209,2533,2259,1892,2260,1968,2130,2182,2072,2266,2028,1724,2068,1952,1766,2110,2353,2481,2780,2157,1722,1607,1606,1492,1416,1616,2079,2266,1944,2150,1974,2768,3024,2091,1712,1717,2189,2369,1970,2476,2796,2664,2615,2421,2521,2737,3118,3477,3743,3604,3506,3585,3651,3457,3671,4187,4576,4548,4244,4350,3842,3731,4135,3930,3792,3939,3576,3375,3373,3145,2964,2411,2329,2483,2640,2442,2393,2437,2648,2426,2537,2370,2235,2400,3061,3304,2942,2346,1924,1678,1670,1756,1801,1936,2005,1902,1786,1791,1832,1750,1933,2090,2104,2118,2069,2400,2120,1782,1655,1410,1923,2645,2635,2347,2813,2458,2202,2126,1948,1824,1669,1397,1759,2214,2180,2345,2333,1690,1621,1780,1635,1514,1669,1301,1299,1714,1610,1491,1571,1812,1987,1748,1485,1415,1652,1769,1663,1665,1710,1716,2104,1938,1468,1559,1649,1716,1753,1581,1472,1501,1752,1920,1883,1648,1723,1994,2255,2196,1557,1375,1391,1874,2722,1935,1810,1729,1678,1977,2710,2894,2516,2379,2595,2492,2671,2713,2026,1787,1631,1804,2249,2258,2094,1541,1830,2592,2484,1970,2114,2766,2431,2295,2168,1907,1884,1587,1473,1555,1617,1989,2390,1750,1461,1706,1825,1780,1737,1982,1804,1742,1800,1959,1754,1532,1438,1330,1366,1394,1343,1554,1555,1440,1380,1359,1439,1500,1634,1733,1486,1409,1640,2114,1720,1480,1550,1621,1759,2402,2231,1895,1958,2150,2108,2018,2094,2244,2344,1596,1432,1438,1640,1707,1609,2182,2692,2588,2065,1849,1609,1440,1481,1614,1409,1461,1542,1577,1513,1558,1816,1720,1682,1479,1520,1513,1443,1660,1832,1745,1663,1720,1918,2066,1785,1524,1500,1435,2192,3349,3438,2396,1931,1819,1871,1954,1726,1744,1935,2172,2069,2177,1814,1522,1566,1499,1544,1786,2243,1549,1559,1661,1764,2125,2013,1879,1837,1949,2095,1793,2586,2009,1688,1464,1625,1760,2157,2546,3145,3114,2061,1692,2348,2662,2332,1858,1959,2404,1881,1416,1742,2448,2871,3018,2898,2644,2303,1931,1627,1974,1919,1857,2415,3535,3935,3575,3144,2588,2407,2460,2178,2452,2331,2522,3496,3746,2879,1994,1972,1771,1494,1449,1422,1369,1504,1904,2257,2466,2389,2144,2003,2608,2996,3066,2513,1849,1648,1396,1802,2309,2025,1489,1308,1193,1465,1798,1790,1597,1791,2470,3023,3532,3757,3772,3705,3619,2975,2422,1974,1967,2194,2421,2073,1858,2049,2009,2219,2300,2053,2546,2241,2016,2063,2225,2032,1875,2400,3190,2710,1788,1952,2976,3183,2661,2325,1863,2141,2088,1970,2161,2235,1826,1575,1859,2170,2095,1837,1962,2527,2188,2557,2530,2416,2281,2175,2320,2215,1831,1885,2003,2079,2182,1738,1698,1782,1980,1879,1931,2195,2061,2201,2985,2687,1680,1662,1775,1755,1605,1710,1561,1913,2504,2644,2081,1543,1639,1763,2287,2737,2329,2422,2327,1552,1635,2046,1936,1796,2182,2722,2249,1588,2148,2787,2190,1715,1537,1367,1494,1963,2509,3420,3532,3039,2943,2730,2480,2604,2484,2387,2134,2265,3282,3819,3434,2875,2540,2657,2687,2819,3018,3374,3526,3547,2896,1828,1666,1438,1245,1450,1578,1430,1688,2487,2564,2116,2293,1642,1602,1970,1949,1676,2022,2208,2034,1864,1878,1531,1645,1584,1734,1767,1528,1623,1656,1603,1699,1766,1923,1951,1649,1617,1968,1992,2031,1741,2222,2138,1811,1862,1875,1660,1678,1644,1404,1431,2137,2289,1825,1898,1570,1567,1596,1513,1430,1316,1369,1546,1675,1621,1572,1546,1466,1918,2215,2349,2337,2161,2040,1868,2408,2431,1781,1774,1577,1810,2756,2874,2050,1574,1481,1245,1165,1386,1740,1924,1768,1555,1676,2181,1937,1886,1360,1251,1334,1310,1149,1545,2129,2417,2213,1943,1946,2287,2014,1454,1420,1583,2024,1657,1863,2104,1686,1406,1477,1426,1378,1734,2654,2351,2918,3164,3320,3408,3426,3458,3021,2393,2348,2262,1942,2079,2732,2281,2325,2435,2511,1955,1713,1808,1737,1890,2243,2436,2454,2259,2252,2074,2204,2148,1886,1741,1902,1583,1361,1380,1622,1937,1635,1405,1360,1399,1261,1280,1294,1526,1780,1808,2435,2942,3162,3400,3352,3109,2598,2770,2438,1547,1262,1446,2222,2750,2710,2596,2430,2352,2414,2836,2946,2481,2160,1931,2098,2802,2407,2588,2076,1504,1559,1541,1554,1433,1953,2925,2353,1640,1732,1928,2030,2113,2120,1860,1688,1911,2244,2197,1939,1668,1613,2056,1979,1989,1324,1178,1682,2024,1686,1569,1819,2014,1624,1693,1998,2082,2612,2419,2360,2110,2569,3211,3055,2514,2004,1925,2626,3482,3602,3543,3275,3386,3516,3431,3513,3641,3541,3152,2943,3141,3482,3217,2076,1808,2542,3386,3673,3365,3254,3473,3367,3332,3352,3465,3552,3090,2555,2875,2618,2573,2199,1747,1628,1643,1760,2347,2924,2939,3134,3150,3117,2777,2643,2690,2566,2634,3307,3428,2773,3084,3573,3457,3488,3529,3096,2806,1983,2033,2080,2183,2275,2443,2589,2205,1806,2002,2720,3450,3173,2655,2354,2189,1864,1521,1387,1377,1517,2414,2687,2305,2329,1981,1890,1930,1887,1876,1976,2285,2522,2317,2520,2815,2740,2548,2534,3029,3671,2796,3175,3731,3811,3846,3683,3644,3811,3435,2898,3396,3986,4072,3462,3295,2956,1989,1597,1824,2038,1830,1896,2181,1990,1851,1930,2053,2258,2016,2014,2608,2862,2692,2562,2484,2802,3272,3574,2929,2334,2402,2696,1956,2076,2354,2784,2966,2624,2286,1910,1722,2318,3142,3516,3285,3024,3453,3551,2850,2028,2057,2205,1852,1437,1216,2002,2576,2423,2764,2797,2714,2518,2348,1883,1971,2138,2009,1721,1698,2038,2237,2068,2399,3337,3911,3607,3381,3245,2704,2140,1879,2079,2318,2551,2708,3305,3334,2809,2097,2354,2168,2070,1944,1965,1923,1997,2103,1853,1901,2035,2098,2566,1796,1915,1983,1928,1907,1863,1913,2159,2329,2008,2003,2013,2229,2275,2001,1878,1803,1645,2081,2076,1659,1623,1776,1784,1989,2614,2298,1857,2108,2152,2541,2800,2492,2649,2547,2604,2288,1942,2482,2008,1895,2751,3177,3068,2708,2452,2496,2222,2220,2182,2256,2294,2120,2648,2980,2614,2175,2402,2736,2261,2801,3235,2655,2444,2232,2112,2413,2955,2441,1814,1892,2170,1841,1626,1529,1664,1815,1787,1725,1937,2552,2583,2890,2719,3261,3716,2962,2174,2114,2110,1799,2077,2732,2718,2337,1824,1947,2326,2237,2364,2700,2235,1956,2177,2275,2250,2215,2272,2830,2719,2035,2318,2386,2574,3185,3007],[2248,2078,2755,3229,2915,2479,2228,1759,1510,1954,2608,2364,1813,1688,1682,1829,1585,1778,2018,2008,1931,2339,2451,2573,2361,1839,1928,1802,2114,2180,1992,2073,2068,1895,1854,2068,1958,1823,2297,2948,2709,2217,2031,1557,1561,1779,1522,1626,2026,1731,1599,1819,2391,2289,1919,2443,2810,2484,2009,2065,2355,2416,2655,2561,2553,2177,1770,2489,2597,2286,1811,1662,2060,2101,1737,1523,1357,1335,1721,2002,1743,1686,1738,1519,1742,1907,1622,1490,1704,2326,2312,1751,2025,2213,2471,2453,1853,1960,2056,1997,1915,1891,2291,2476,2175,2040,1819,1536,1509,1682,1324,1721,1896,1940,1901,2380,2603,2176,1771,1997,2290,2229,2209,1663,1430,1949,2264,1992,1809,1759,1649,1416,1437,1628,1527,1509,1625,1702,1476,1499,1526,1851,2025,2059,2092,2377,2477,2408,2714,2641,2154,2475,2643,2105,2244,2166,2331,2398,2779,2163,1615,1903,2304,2997,3525,3150,2722,3107,3816,3673,3395,3818,2664,1727,2613,2779,2060,2079,2792,2621,1847,1874,2086,1658,1621,1487,1609,1843,2304,2121,1753,2015,1905,1817,2629,2647,2205,2445,2460,1846,2106,2060,1800,1718,1669,1980,2486,2764,2620,2837,2508,1993,2376,2954,2869,2590,2394,2484,2554,2667,3051,3283,2649,2828,2792,2161,2400,2000,1880,1999,1936,1879,1960,1855,1844,1662,1920,2103,1710,1624,1607,1909,2027,2176,3262,3023,2509,2257,2132,2384,2940,3631,3553,2939,2125,2013,1721,2554,2519,2457,2383,2298,2015,2002,2268,2229,2041,2093,2146,2420,1982,1908,2291,2165,1907,2210,2398,2303,2060,1805,1832,2619,2654,2852,2821,1994,1633,1629,1662,1799,1898,1927,1882,1947,2010,1780,1533,1535,1851,2423,2009,1716,1718,1634,1677,1777,1771,1804,2023,2067,1792,1809,1685,1613,1957,1761,1782,1736,1637,1671,1970,2530,2421,1452,1560,1937,1929,1469,1498,1616,1449,1640,1776,1744,1697,1918,1964,1637,1638,1869,2090,2260,1920,1663,1774,1858,1817,1960,1953,1971,2139,2281,2246,2105,1973,1984,1941,1952,1827,1802,1896,1858,1624,1682,1629,1654,1640,1552,1634,1780,1548,1620,1678,1730,1928,1855,1868,2135,2354,2272,2352,1868,2131,2182,1797,1790,1663,1547,1675,1721,1626,1781,2381,2430,2852,2189,1839,1660,1952,1799,1749,1939,1896,2137,1979,1988,2119,1616,1466,1629,2209,2344,1802,1504,1606,1611,1513,1622,1737,1681,1533,1461,1549,1947,3147,3454,3173,3218,3440,3141,2244,1663,1887,1761,2136,2701,2095,2257,1790,1859,1896,2042,1807,1498,1525,1526,1650,2159,2247,2120,2092,2259,3319,2986,2477,2184,1779,1539,1495,1396,1655,1778,1550,1434,1680,1999,2224,2464,2192,2144,1980,1715,1711,1620,1644,1374,1511,1746,1556,1767,2481,2060,1812,1743,1812,1770,1482,1230,1700,2333,1898,1929,2360,2443,2751,2655,2199,1632,1569,1192,1227,1514,1621,1632,1531,1457,1664,1690,2071,1736,1567,1493,1824,2003,1555,1394,1411,1568,1614,1438,1395,1750,1884,1644,1666,1690,1674,1738,1691,1721,1804,1763,1837,1975,1984,2026,2181,2731,2397,2411,2755,1699,1198,1504,1719,2314,2495,2118,2797,2244,1896,1655,1786,1694,1686,1766,2320,2756,3051,2709,2007,2165,2470,2006,2193,2107,2014,2482,2888,3112,2732,2507,2786,2568,1770,1597,2032,1699,1768,2190,2494,2029,1792,2042,2366,1961,1822,2294,2457,2515,2060,1987,2482,2499,2662,2460,2026,2385,2158,2100,2596,2333,1785,1791,1787,1904,1952,2063,2524,2893,2481,2025,1898,2029,1982,1609,1526,1692,1911,1769,1832,2214,2511,2230,2151,2359,2231,2552,2654,2126,2013,2111,2119,2315,2084,1964,2142,3141,3531,3359,3385,3628,3829,3637,3494,3871,4233,4441,3973,3935,4410,4074,3771,4017,3853,3860,3891,3429,3540,3493,3051,2518,1989,2243,2723,2913,2765,2784,2908,2506,1971,2091,1950,1941,2402,2920,2765,2830,2232,1828,1695,1594,1581,1599,1655,1764,1799,1748,1701,1919,1977,2188,2178,2076,2013,1812,1920,1959,1926,1617,1439,1694,2151,2320,2501,2488,2416,2492,2192,1974,1853,1627,1507,1593,1793,1695,1537,1511,1426,1472,1730,1561,1412,1569,1589,1809,1744,1468,1438,1573,1488,1533,1583,1470,1473,1379,1597,1731,1817,1746,1717,1981,1803,1393,1256,1206,1587,1776,1854,1763,1663,2209,2242,1785,1786,1877,1889,2265,2278,1598,1427,1335,1310,1382,1322,2112,2239,1582,1274,1964,2791,2832,2423,2256,1758,2094,2433,1958,1804,1853,1932,2201,2189,2020,1503,1389,1728,1536,1974,2419,2978,2547,2201,1914,1986,1818,1580,1528,1507,1690,2399,2578,1891,2199,2234,1829,1678,1737,1689,1686,1794,1802,1644,1587,1594,1592,1451,1416,1392,1400,1522,1398,1415,1426,1339,1385,1499,1985,1959,1441,1568,1550,1938,1881,1802,1794,1666,1545,1686,1917,2010,2104,1896,1744,1519,1699,2148,2457,1780,1432,1350,1323,1391,1704,2460,2755,2152,1779,1760,1439,1382,1465,1512,1583,1518,1622,1840,1706,1592,1587,1642,1570,1384,1480,1431,1339,1518,1503,1726,1693,1666,2056,2414,2104,1881,1860,1797,2083,2393,2688,2802,2301,1828,1696,1736,1708,1525,1958,2342,2024,2334,1860,1836,1824,1716,1532,1644,1691,1592,1969,1948,1769,1769,1682,1504,1449,1545,1669,1724,1455,1548,1684,1701,2019,2792,3389,3334,3261,2952,2110,1930,2290,1847,1732,2015,1924,2262,2088,1833,2312,2592,2508,2415,2319,2222,1872,2083,2169,2420,2046,1843,1962,2624,3505,3760,2764,2049,2494,2400,2109,2604,2877,2791,3072,2824,1787,1562,2088,1978,1504,1457,1610,1680,1909,2846,3417,3197,2734,2226,2167,2695,3285,3409,2810,2296,2098,1473,1617,1684,1431,1229,1229,1485,1592,1751,1771,1606,1735,2579,3073,3658,3801,3363,3367,3973,4124,3276,2104,1831,1785,1977,2006,1896,1891,1859,2047,2095,2045,2221,1916,1646,1654,1643,1640,1694,2276,2762,2391,2201,1801,2062,2188,2487,2875,2181,1886,2085,2282,2096,1969,2096,2556,2968,2612,1831,1755,1769,2135,2266,2686,2844,2695,2460,2297,2362,2176,1813,1800,2140,2412,2022,1728,1684,1664,1838,1902,2185,2008,1589,1780,1996,1897,1672,2122,2196,1749,1864,1921,1914,2353,2819,2556,1992,1666,1838,2081,2089,1930,2120,2080,2317,2371,2481,2056,1791,1910,2086,2222,1690,1482,1462,1671,1905,1739,1540,1455,1754,2410,2858,3085,3040,2915,2721,2658,2256,2213,2546,2506,2127,2563,3216,3362,3185,2565,2287,2994,3089,3042,2707,2735,2791,2919,2183,1587,1566,1384,1407,1544,1595,1598,1881,2242,2257,1467,1398,1113,1388,1723,1827,1942,2276,2402,1963,1974,2084,1707,1722,1666,1814,1706,1474,1705,2036,2048,2277,2683,2688,2115,1730,1679,1932,1931,1863,1883,2002,1668,1496,1517,1489,1545,1593,1874,1820,1823,1995,2186,2186,2421,1924,1622,1462,1504,1622,1584,1413,1531,1511,1509,1507,1472,1703,2167,2711,2623,2702,2473,1708,1949,2818,2439,2254,1956,1668,1670,2145,2415,1887,1604,1669,1352,1228,1576,1874,1812,1783,1547,1546,1963,1788,1462,1347,1249,1267,1249,1227,1294,1707,2386,2353,1756,1551,2115,1726,1370,1387,1487,1501,1675,2026,2047,1605,1342,1450,1520,1563,1725,2352,2579,3235,3174,3210,3366,3228,3300,2916,2199,2066,1906,1796,1795,2024,1662,1743,1938,1991,1601,1326,1220,1313,1637,1772,1917,2143,2220,2260,1964,1933,2066,1919,2108,2330,1842,1577,1370,1545,1899,1738,1444,1364,1478,1686,1526,1328,1644,2183,2644,2980,3090,2953,2801,3155,3133,2412,2383,2117,1475,1685,1706,2011,2377,2633,2671,2405,2441,2175,2475,2266,2029,2240,2020,1592,1717,2124,2548,1918,1516,1576,1677,1722,1387,1651,2138,1896,1644,1869,1843,1962,2454,2469,2121,2136,2245,2032,2229,2999,2441,1981,2031,2011,1924,1563,1498,1957,2164,1669,1856,2345,2020,1649,1722,1986,2290,2504,2453,1883,1649,2328,2836,2979,2378,2051,2188,2707,3241,3543,3594,3461,3294,3277,3143,3259,3636,3342,2726,3085,3343,3666,2852,1828,2245,3008,3530,3673,3529,3876,3950,3689,3588,3422,3460,3639,3312,2664,2258,1960,1671,1543,1719,1764,1489,1917,3031,3167,3173,3373,3261,3251,3179,2735,2520,2796,2854,3359,3353,2848,3312,3542,3232,3018,3017,2730,1963,1808,2299,2644,2798,2428,2210,2115,2087,1922,1779,2119,3101,3271,3066,2581,1832,1950,2080,1820,1642,2059,2679,2735,1957,2420,1931,1357,1236,1749,2161,1930,2056,2418,2407,2363,2285,2374,2318,2270,2199,2558,2900,3139,3549,3709,3731,3930,3817,3571,3847,3536,3360,3592,3373,3162,3328,3511,2634,2176,2127,1910,1769,2018,2483,2230,1980,2443,2131,1601,1382,2165,2731,2367,2206,2511,2667,2768,3369,3339,2320,2217,2135,2169,1915,1798,2130,2676,2924,2603,1809,1665,1563,2070,3037,2835,2787,2658,3098,3372,3312,2815,2789,2570,2166,1902,1673,1963,2024,2217,2425,2356,2566,2652,2221,1882,1832,1883,1982,1894,1879,2604,3198,2759,2745,3164,3754,3846,3574,3285,2709,2110,2236,2192,1940,2482,3060,3352,3407,3476,2568,2195,2350,2580,2374,2042,2029,2452,2478,2216,2518,2322,2040,1653,1549,1745,1887,2215,2396,2249,1774,2147,2646,2069,2081,2522,2397,2268,2044,1886,2035,1888,1878,1757,1499,1533,1538,1743,1940,2278,2363,2011,2420,2714,2939,3263,2863,2715,2777,2807,2842,2101,1969,1680,2496,2724,2624,3363,3056,2488,2103,1786,1981,2304,2843,2873,2414,2554,2807,2201,1761,2093,2268,2480,3304,3241,2833,2707,2299,2329,2210,2351,2209,2554,2501,2706,2191,1866,1702,1785,1805,1921,2324,2554,3044,2313,3110,2878,3151,3260,2518,2087,2631,2630,1985,2064,2385,2442,2559,2003,2379,2402,2248,2326,2401,2030,2114,2280,2120,2273,1841,1911,2832,2916,2974,3196,3370,3250,3139,2910],[1768,2026,2856,3342,2929,2331,2302,1997,2143,1979,2324,2024,1525,1662,2030,1839,1938,2127,2045,2079,2334,2651,2379,2314,2106,1793,1726,1995,2114,1901,2141,2149,2003,1904,1949,1992,2436,2233,2533,2252,2185,2077,1906,1494,1521,1798,1634,1566,1744,1543,1466,1691,2113,2359,2542,3083,3006,2654,2208,2061,2109,2388,2656,2213,2285,2130,2498,2534,2531,2395,1992,1759,2143,2367,2221,1929,2077,2076,1746,1395,1398,1648,1580,1676,2276,2462,1910,1642,2004,2154,1932,1647,2008,1964,1987,2182,2111,1805,1703,1825,1770,1621,1946,1924,1553,1726,2006,1714,1544,1692,1827,2243,2536,2753,2822,2948,3430,3418,2502,2224,2570,2532,2354,2127,1783,1723,1858,1847,1914,1996,1812,1571,1533,1650,1450,1482,1530,1697,1343,1660,1572,1980,1913,1821,1856,1810,2290,2913,2786,2101,1723,1897,2012,1904,2299,2084,1968,1813,1997,2094,1937,1839,1904,2657,3496,3594,3206,3462,3915,3308,2498,2611,2224,1896,2481,2803,2188,2095,2800,2558,1824,1947,1967,1610,1250,1288,1619,1950,2000,1829,1934,1903,1760,1941,2454,2430,2202,2645,3284,2297,1676,1635,1738,1803,1951,2236,2164,1862,2731,2676,1962,2109,2411,2287,1689,1616,2132,2238,2868,3496,3601,3307,2458,2483,2494,2122,2123,2047,1984,1908,1579,1597,1683,1642,1948,2304,2230,1766,1461,1546,2001,2631,2391,1928,2148,2215,2259,2576,2457,1989,2184,3037,3363,3076,2144,2042,2420,2920,2865,2789,2358,2004,1669,1965,1975,2502,2354,2144,2580,2149,1803,1966,2215,2118,2060,1798,1780,1680,1700,1662,1659,2126,2634,2720,2375,1810,1592,1605,1746,2018,2032,1748,1991,2008,2084,1987,1572,1891,2429,2254,1716,1722,1862,1819,1737,1810,1712,1606,2353,2278,1993,1682,1507,1522,1792,2226,2138,1670,1982,1574,1740,2505,2438,1603,1590,1873,1564,1415,1533,1523,1469,1512,1576,1640,1735,2336,2178,1758,1832,1985,1985,2004,1868,1703,1924,1966,1985,2153,1828,1773,1769,1834,2050,1990,2000,2030,1992,2058,2075,2013,2093,2168,1824,1636,1653,1824,1708,1580,1482,1593,1702,1830,1774,1737,1952,1832,2158,2097,1795,1724,1991,1757,2032,2032,1705,1539,1557,1603,1491,1495,1515,1662,1982,2244,3063,2093,1338,1704,2432,1904,1425,1719,2070,2656,2308,2271,2067,1699,1654,1712,1858,1854,1676,1510,1482,1451,1399,1754,1902,1754,1637,1578,1456,1914,3072,3289,3173,3398,3193,2587,2096,1484,1449,1668,1735,1927,2019,1868,1598,1737,1966,2037,1794,1590,1554,1682,1504,1857,2336,2376,2125,2416,3035,2397,2126,2642,2144,1473,1451,1494,1726,2076,1814,1612,1516,1616,2086,1919,1699,1721,1528,1553,1720,1598,1887,1583,1668,1830,2107,2007,2165,2185,1969,2024,1973,1663,1472,1569,2542,2863,2102,2164,2420,2425,2003,2262,2248,1776,1754,1546,1369,1527,1588,1503,1715,1606,1989,2229,2614,1869,1473,1533,1932,1943,1660,1502,1548,1937,2050,1723,1936,2023,1773,1689,1607,1617,2128,2311,1752,1808,2156,1930,1767,1728,1903,1904,1720,1922,1981,1997,1906,1313,1214,1632,1836,1925,1814,2082,2621,1788,1717,1527,1454,1829,1874,1781,2084,2310,2742,2459,1860,1694,1602,1601,2045,2446,2626,2489,2576,2753,2437,2217,2845,2701,1627,1737,1870,1591,2012,2713,2507,1841,1854,2022,2125,2013,1964,2312,2069,1601,1417,2106,2436,2627,2601,2262,2323,2602,2352,2548,2830,2326,1585,1677,2038,2377,2107,1940,2610,2887,2292,2276,2544,2360,2449,1793,1619,1989,2215,1886,1841,2286,2408,2491,2891,3257,2985,2379,2078,1960,1739,2066,2075,2504,2161,1628,2602,3742,3969,3852,3748,3975,3666,3757,3862,3925,4264,4455,4331,4152,3911,3746,3948,4095,3554,3337,3558,3820,3812,3463,2976,2219,1902,2071,2562,2753,2836,2976,3075,2368,1734,2045,2002,2063,2654,2979,3217,2885,2200,1846,1722,1678,1664,1608,1621,1678,1833,2069,2332,2476,2396,2270,2091,2092,2076,1799,1641,1975,2221,1479,1536,1728,2286,2077,2436,2604,2780,2780,2211,1677,1686,1726,1762,1506,1629,1555,1549,1562,1490,1482,1610,1423,1608,1880,1788,1900,1837,1659,1912,1981,1556,1514,1449,1398,1624,1632,1420,1532,1780,2023,2186,1843,1605,1448,1375,1558,1565,1459,1797,2092,2024,2404,2556,2285,2226,2015,1996,2201,1745,1660,1475,1411,1431,1701,1740,1754,1838,1857,1632,1707,2094,2720,2520,2254,1952,1735,1631,1751,1770,1781,1880,1940,1885,1929,2143,1998,1554,1134,2086,2363,2499,2311,1752,1600,1797,1732,1516,1438,1523,1566,1810,1700,1553,1848,1873,1693,1526,1664,1694,1533,1689,1660,1508,1455,1311,1496,1370,1453,1607,1567,1559,1614,1766,1712,1412,1301,1508,2019,1921,1640,1496,1591,1730,2084,2115,1872,1714,1763,1780,1738,2141,2374,1888,1561,1281,1775,2446,2293,1778,1724,1466,1442,1626,1832,2272,2654,2409,1883,1618,1491,1427,1548,1588,1510,1525,1738,1797,1549,1467,1811,1808,1837,2094,2035,1527,1337,1428,1561,1680,1538,1744,2438,2378,1857,2020,1896,2028,2386,2378,2239,2462,2048,1788,1753,1770,1702,1511,1537,1838,1820,1874,1756,1888,2183,1857,1395,1763,1886,1826,2193,2085,1844,1634,1472,1432,1441,1384,1365,1652,1733,1750,1700,1748,2416,3494,3409,2952,2951,3054,2436,1815,1743,1521,1657,1887,1869,2189,2252,2249,2603,2547,2145,2154,1767,1595,1872,2272,2388,2371,1996,1750,1767,1942,2349,2765,2205,1815,2503,2481,2545,2630,2413,2575,3044,2900,2253,2108,2011,1826,1935,2034,2063,2024,2064,2789,3083,3030,2796,2539,2613,3021,3706,3620,2849,2275,2004,1614,1716,1820,1495,1316,1256,1300,1551,1544,1527,1512,1714,2895,3031,3507,3929,3602,3675,3694,3947,3995,3141,2096,1587,1644,1791,1953,1730,1456,1460,2052,2204,2230,2312,1995,1880,1981,1584,1657,2388,2220,2359,2321,1850,1738,1994,2081,2050,2009,1678,1720,2164,2286,2092,2463,3218,3187,2344,1871,1966,1782,2736,3244,3103,3349,3252,2264,2445,2292,2041,1885,2095,2004,2049,1812,1707,1678,1649,1603,1720,1870,1660,1599,1712,1983,1680,1789,2780,2446,1672,1908,2304,2356,2677,2598,1942,1598,1302,2148,2889,2280,1745,1855,1944,2225,2708,2721,2076,1765,2019,1997,1547,1499,1700,1588,1486,1758,1628,1754,1775,1566,1931,2585,2967,3016,2691,2664,2693,2106,1994,2267,2174,2296,2787,2890,2720,2508,2103,2355,2950,3164,2742,1968,1742,1776,2248,1898,1520,1581,1487,1476,1453,1541,2009,2193,2161,2092,1874,1554,1433,1442,1605,1896,2021,2182,1982,2084,2497,2942,2576,2014,1870,1994,1856,1812,2092,2066,1953,2452,2894,2592,1759,1606,1608,1795,1831,1661,1725,1720,1660,1614,1396,1650,1747,1684,2318,2382,2440,2035,2822,2938,2428,1982,1669,1454,1434,1492,1589,1421,1569,1591,1574,1512,1832,2008,2356,2835,2910,2543,1839,1488,2091,3262,2399,2383,2303,2394,2053,2334,2513,1852,1360,1383,1291,1290,1519,1892,1852,1822,1554,1347,1245,1262,1223,1273,1336,1239,1216,1297,1261,1448,1903,1672,1440,1295,1326,1205,1488,1837,1699,1725,1895,1934,1830,1481,1386,1447,1481,1481,1612,2033,2664,3415,3430,3365,3476,3220,3137,2938,2142,1906,1779,1722,1526,1456,1441,1390,1376,1358,1380,1420,1409,1503,1780,1740,2000,1981,1772,1739,1722,1806,2159,2263,2087,1772,1774,1956,1464,1457,1655,1622,1393,1272,1614,2105,1905,1660,1815,2305,2843,2667,2769,2909,3122,3376,2986,2304,2093,1740,1714,1882,1624,1540,1716,1991,2094,1680,1927,1950,1976,2020,1981,2380,2083,1588,1874,2598,3041,2220,1655,1570,1849,2123,1851,1837,1991,2241,2204,2052,1885,1932,2396,2325,2157,2089,1910,2298,2079,2118,2014,1914,1654,1990,2321,1843,1637,1852,1887,1765,2358,3243,2431,1976,1781,2024,2679,2810,2194,1626,1726,2182,2449,2965,2448,2281,2142,2476,3125,3382,3497,3607,3509,3172,3077,3164,3428,3400,2757,2802,2959,3012,2441,2093,2643,3196,3528,3537,3566,3747,3639,3706,3516,3466,3178,3124,3173,2470,1803,1814,1613,1419,1489,1645,1503,2028,3338,3562,3352,3400,3309,3211,2812,2043,2314,2662,3052,3671,3185,2957,3397,3979,3388,2624,2824,2841,2103,2086,2321,2584,3019,2781,2600,2272,2116,2289,2444,2677,3223,3078,2818,2386,1792,2190,2813,2700,2519,2637,2390,2580,2092,2584,2247,1543,1397,1998,2482,1898,1541,2156,2398,2398,2188,2418,2495,2318,2156,2696,3208,3374,3277,3399,3867,3922,3531,3198,3706,3674,3553,3566,3275,3284,3817,3846,3010,2704,2712,1960,1820,2084,2137,1858,1970,2340,2109,1948,2511,2728,2464,2426,2544,2669,2951,3410,3791,3174,2517,2924,3111,2764,2395,2536,2885,2537,2832,3444,2529,2468,1626,2069,3052,3190,2828,2575,2541,2718,2875,3105,3398,2939,2327,2220,2199,2037,1726,2051,2438,2468,2691,2248,1684,1708,1698,2020,2402,2274,2001,2792,3355,3316,3042,2573,2959,3845,3791,3072,2475,2154,2076,1826,2060,1965,2193,2955,3152,2814,2358,2446,2784,2569,2248,2204,2388,2459,2207,2193,2213,2035,1973,1580,1684,1830,1999,2291,2534,2699,2416,2333,2320,1802,1934,2545,2446,2297,1933,2162,2615,2090,1761,1686,1501,1426,1547,1762,2234,2640,2774,2120,2438,2654,2821,2908,2598,2699,2973,3404,3439,3197,2585,2148,2614,2306,2037,2496,2868,2944,2543,2086,1990,2820,3237,3346,3360,2934,2612,2041,1721,1874,1923,2529,3504,3444,2995,2664,2302,2766,2235,1770,1870,2690,2776,2295,1857,1792,1954,2106,1845,2054,2087,2463,2887,2759,3099,2990,3032,3047,2327,1794,1865,2112,2151,2460,2340,2325,2592,2654,3065,2731,2006,1853,2176,2043,2235,2128,1738,2333,1975,2188,3027,2553,2944,3187,3228,2988,2930,3052],[1861,1723,2380,3219,2692,2333,1983,1944,2079,1756,1851,1772,1545,1720,1875,2149,2522,2078,2111,2038,2248,2460,2078,1698,1450,1492,1631,1779,1752,2064,2424,1837,1999,2046,1997,1864,2109,2142,2211,1913,1937,1871,1670,1729,1990,1904,1655,1596,1852,1589,1413,1569,1797,2162,2674,3006,3011,2842,2750,2522,2288,2756,2568,2354,2208,2112,2100,1844,1782,2106,2125,1896,1778,1695,2170,2675,2633,2442,2222,1964,1970,1769,1546,1889,2298,2306,2259,2328,2770,2353,1927,1790,1955,2156,2319,2088,2061,1872,1762,2022,2128,1917,1910,1799,1567,1507,2007,2054,1907,2029,2065,1916,2234,3010,3254,2846,3462,3776,3174,2747,2900,2713,2211,1872,1766,1697,1549,1721,1852,1571,1722,1799,1360,1525,1661,1598,1454,1534,1366,1844,2173,1830,1686,1815,1807,1884,2339,2291,2083,1807,1965,2353,2420,2698,2545,1608,1440,1669,1843,2182,2395,2515,2113,2450,3074,3282,3056,3153,3254,2832,2190,2195,2348,2309,2668,3273,2604,2552,2951,2794,2049,1670,1941,2026,1610,1472,1699,1825,1741,1658,1650,1675,1880,2526,2144,2004,2264,3186,3251,2186,1837,1995,2210,1965,1857,1912,1897,2271,2894,2047,2026,2607,2541,2207,1438,1474,1991,1672,1974,2466,2966,2843,2471,2199,1882,1628,1541,1919,2369,1982,1630,1769,1699,1739,1715,1861,2054,1699,1370,2254,3404,2998,2384,2216,1880,1864,2360,2503,2127,2117,1976,2612,2967,2775,2067,2320,3130,2806,2746,2574,2448,2512,2328,2172,2030,2376,2348,2208,2396,2313,1998,2259,2564,2171,1802,1625,1556,1485,1773,1609,1622,1785,2123,2127,1916,1854,1746,1781,1911,1958,1910,1592,1615,1823,1907,1883,1784,2084,2152,1808,1527,1669,2260,2332,1734,1691,1776,2279,2766,1989,1766,1735,1474,1415,1570,2198,2005,2093,2541,1810,1766,1877,2304,2256,1970,1649,1372,1500,1674,1558,1479,1511,1572,1785,1863,2077,1792,1485,1809,2056,1807,1764,1647,1779,2168,2082,2218,3080,2918,2182,1678,1781,2004,1786,1750,1936,2182,1938,1670,1612,1617,1979,1980,1906,2001,1934,1789,1751,1737,1810,1825,1880,1926,1709,1975,1780,1827,2005,1747,1393,1610,1688,1583,1699,1885,1646,1517,1631,1769,1562,1528,1715,1678,1929,2944,2546,1543,2013,2546,1813,1360,1491,2193,2752,2547,2604,2069,1554,1809,1777,1511,1509,1607,1598,1452,1511,1485,1574,1734,1604,1429,1450,1433,1654,1967,2223,2741,3130,2840,2076,1938,1488,1450,1846,1765,1637,1570,1423,1572,1900,1867,1599,1583,1649,1637,1899,1555,1643,2060,2219,1968,1827,2141,2017,2254,3042,2427,1499,1716,1626,1502,1893,1866,1597,1481,1713,1627,1641,1866,1730,1762,1431,1520,1716,1757,1785,1788,2033,2089,1688,1660,1865,2225,2318,2305,2387,2161,2053,2307,2492,1877,2080,2223,1955,1588,1721,1980,2001,1979,1734,1760,1666,1619,1903,1744,2008,2018,2041,2244,1919,1567,1448,1350,1489,1626,1532,1407,1558,2018,1855,1771,1762,1891,1860,1606,1959,2821,2781,1822,2002,2105,1875,1650,1786,1942,1838,1696,1724,1713,1795,1741,1489,1494,1477,1727,2142,1989,1789,1750,1620,1577,1532,1737,2080,1877,1924,2238,1830,1705,1659,1582,1626,1613,1782,2211,2572,2482,2217,2330,2302,2602,2657,2999,2460,2065,1900,1967,2114,2416,2642,2249,2064,2068,2136,2681,2419,2001,1984,1831,1676,1423,1835,2142,2526,2962,2589,2120,2404,3026,2830,2265,1807,1638,1652,2074,2461,2095,1898,2298,2173,1786,2006,2693,2524,2170,1749,1806,1845,1900,2016,1834,1665,2246,2746,2769,2909,2725,2255,1782,1704,1655,1776,1640,2121,2128,1924,2676,3441,3930,3893,3488,3695,3474,3837,4071,3874,4048,4319,4119,3442,3094,3466,4076,3765,3260,3304,3674,3993,3429,3659,2953,2324,2320,2350,2598,2823,2832,2933,2847,2076,1828,2127,2065,2166,2577,2984,3272,2768,2112,1979,1922,1948,1917,1754,1717,1683,2029,2526,2859,3073,2945,2408,2041,2014,2156,2017,1814,1895,2180,1864,1768,1738,1921,2040,2040,2342,2366,2187,2110,1639,1621,1669,1910,1513,1366,1406,1426,1504,1404,1439,1776,1971,2052,2031,1667,1575,1500,1425,2052,1832,1424,1398,1447,1341,1648,1825,1470,1388,1400,1438,1680,1492,1552,1941,1795,1676,1677,1627,1951,2117,1866,2039,2304,2572,2554,2273,2393,2344,2061,1851,1844,1642,1950,2405,1793,1450,1788,2364,1901,1370,1563,2639,2912,2437,2097,1797,1737,1842,1716,1759,1866,1965,2260,2761,3330,2558,2119,1347,1577,1931,2084,1977,1700,1616,1776,1793,1529,1357,1465,1645,2133,1750,1381,1418,1357,1482,1507,1602,1647,1660,1866,2024,1792,1758,1440,1444,1356,1400,1449,1457,1637,1625,1597,1810,1632,1512,1650,1558,1881,1849,1701,1788,2006,1928,1780,1696,1841,2186,2075,1626,1760,1832,1797,1874,2060,2521,3067,2647,2139,1812,1532,1637,1757,1658,1683,2131,2121,1720,1544,1440,1491,1605,1579,1481,1409,1511,1515,1474,1812,2219,1701,1496,2013,2540,2242,2068,2044,1856,1477,1508,1765,2291,2131,1482,1686,1684,2005,2740,2925,2641,2122,1917,2089,1866,1695,1441,1334,1277,1503,1663,1714,1635,1522,1768,1615,1327,1699,1909,1801,1943,2061,1893,1518,1305,1460,1490,1508,1394,1426,1634,1634,1557,1533,2049,2656,2076,2036,2524,2917,2818,2360,1854,1444,1496,1625,1714,2084,2191,2488,2346,1746,1515,1573,1555,2098,2510,2324,2230,2095,1825,1831,1878,1958,2144,2245,2533,1980,2511,2533,2108,2374,2807,2708,2389,2643,2766,2745,2231,2393,3051,2498,2148,2067,1823,1810,2008,2535,3038,3077,3037,3233,3574,3376,2303,1577,1737,1929,2176,2130,1569,1265,1226,1217,1314,1397,1404,1439,1838,3047,3124,3573,3790,3535,3928,3804,3608,3873,3582,2742,1808,1613,1872,2206,1722,1375,1860,2302,2277,2318,2409,2370,2437,2348,1953,2200,2240,1901,2182,1952,1562,1561,2064,1978,1694,1750,1880,1838,2094,2512,2137,2122,2501,2790,2297,2413,2402,1864,2471,3149,2917,2894,2755,2554,2815,2482,2297,1958,1842,1876,1702,1583,1584,1620,1581,1621,1686,1801,1603,1518,1584,1927,1719,2364,2946,2229,1701,1963,2242,2179,2490,2674,2367,1922,1710,1934,2152,2023,1895,1794,1673,1792,2020,2362,2359,1952,2145,2032,1524,1622,1955,1729,1867,1956,1628,1832,1910,1824,2282,2842,2931,2775,2717,2855,2949,2611,2251,2228,2376,2629,2565,2480,2297,2291,2281,2653,2448,2921,2712,1967,1591,1642,1703,1577,1541,1423,1323,1388,1319,1333,1896,2231,2097,1874,1960,1902,1686,1436,1597,1951,1900,1806,2025,2823,2883,2765,2814,2348,2157,2320,2159,2131,2113,1840,1747,2195,2580,2306,2002,1832,1844,1912,1884,1664,1454,1407,1475,1432,1228,1411,1494,1573,2104,2351,2438,2484,3184,2718,2000,2124,1779,1462,1405,1454,1387,1302,1322,1536,1512,1477,1941,2361,2494,2611,2498,1785,1488,1833,2635,3083,2352,2372,2543,2679,2432,2255,2215,1816,1411,1303,1222,1141,1272,1482,1750,1867,1581,1111,926,1107,1480,1934,1622,1223,1240,1212,1262,1312,1304,1259,1359,1555,1654,1272,1439,1971,1858,1813,1886,1785,1807,1508,1358,1543,1700,1784,1985,2214,2587,3363,3733,3344,3517,3419,3039,2832,2291,1975,1734,1565,1504,1651,1767,1674,1612,1798,1685,1751,1701,1644,1650,1642,1740,1704,1634,1583,1680,1936,2181,2266,2086,1875,2013,2108,1609,1422,1542,1527,1515,1364,1384,1602,1577,1745,2283,2212,1640,2183,2620,2500,2510,2800,2603,2190,2281,2314,2303,2185,1830,1710,1881,1528,1640,1719,2065,1883,1866,2070,2156,2282,2044,1966,2332,2785,3316,2944,2106,1755,2031,1982,1664,1673,1889,2345,3028,3116,2595,2698,2779,2534,2303,2385,2653,2604,2235,2089,2121,1988,1572,2230,2855,2378,1977,1981,1959,1746,2657,3371,2907,2196,1811,2201,2757,2679,1987,1665,1875,2568,2916,3156,2460,2665,2835,2675,2895,3351,3537,3505,3579,3391,3274,3221,3235,3422,3122,3116,3009,2709,2119,2078,2832,3447,3369,3167,3588,3783,3757,3697,3703,3317,2322,2151,2672,2199,1703,1619,1504,1559,1792,1611,1531,2799,3543,3594,3498,3518,3209,2946,2331,2300,3012,2470,2014,2597,2753,2708,3210,3353,2426,1971,2353,2587,2150,1992,1908,2068,2176,2480,2745,2544,2282,2078,2163,2480,2878,2939,3094,3094,2712,3023,3255,2977,3072,3040,2820,2266,2149,2609,2448,2288,2281,2224,2986,3097,2410,2504,2955,3033,2491,2046,2520,2399,1947,2340,3125,3676,3395,3611,3883,3575,3649,3406,3609,4063,3884,3703,3521,3452,3699,3782,3378,2814,3074,2363,1880,1703,1671,1688,1911,2404,2329,2371,2640,2330,2322,2604,2446,2210,2366,3433,4072,4025,3765,3729,3916,3316,2553,2634,2396,1933,2142,2724,2632,2879,1788,1632,2619,2801,2508,2536,2462,2490,2635,3090,3140,2523,2223,2255,2159,1924,1740,1739,1654,1813,2286,1961,1797,1714,1850,2573,2476,2286,2301,2777,2736,2885,3267,2613,2451,3373,3316,2443,1935,1993,1915,1816,2497,2210,1926,2677,2731,2093,2035,2432,2771,2322,2069,2211,2263,1901,1792,2161,2135,2003,1940,1678,1697,2152,2576,2556,2455,2620,2934,2293,2163,2708,2819,2440,2287,2287,2149,1886,1796,1797,1808,1569,1690,1632,1662,1494,2022,2613,2226,1820,2035,2704,3073,2569,2251,2588,2373,2887,3283,3631,2846,2587,2608,2584,2994,3195,3182,3034,2846,2608,2141,2841,2958,3173,3032,2641,2339,2036,1830,2077,2531,2821,2784,2609,2729,3030,2811,2712,2281,2242,2128,2313,2070,1627,1599,1650,1898,2085,1881,2139,1630,2285,2773,3101,3197,2956,2824,2952,2250,1786,1633,1967,1801,2304,2194,2688,2843,3083,3354,2941,2470,2533,2352,2150,2397,2186,2222,2643,2201,2469,3068,2720,3054,3303,2941,2509,2689,2788],[1760,1831,2098,2793,2048,1876,1671,1646,1749,1933,1956,1851,1883,1969,2352,2729,2557,1729,1702,1808,1882,1982,1714,1620,1397,1498,1920,1867,1826,2149,2269,1994,1954,2208,2100,1783,1719,1642,1512,1635,1637,1626,1575,2021,2090,1537,1491,1665,2003,1682,1608,2397,2341,2268,2910,3031,3154,3120,2922,2336,2208,2512,2754,2578,2336,2067,1738,1646,1828,2193,2156,1914,1714,1876,1979,2728,2366,2724,2991,2910,2641,2349,2194,2381,2298,2398,3404,3132,2453,1957,1933,1498,1605,2648,2740,1944,1862,1929,2164,1992,1889,1986,1944,1975,1767,1736,2085,2099,1882,1877,1835,1620,1636,2027,2375,2376,2734,2566,2566,2643,2688,2722,2351,1701,1513,1860,1955,1978,1560,1207,1528,1699,1609,1965,1837,1670,1677,1938,2223,2537,2512,2046,2151,1954,1661,1547,2001,1719,1709,1660,1770,2261,2260,2318,2157,1535,1585,1995,2205,2346,2310,2511,2189,2323,2476,2567,3096,2874,2501,2374,2181,2531,2559,2280,2431,2735,2258,2507,2669,2412,1794,1625,2215,2207,1785,1565,1712,1757,1665,1769,1915,1903,2349,2273,1859,2186,2753,3152,2417,1989,2174,2396,2790,2059,1360,1399,1572,2272,2470,2055,2387,2813,2927,2775,1798,1929,2579,2391,1793,1842,2298,2715,2505,1883,1722,2040,2363,2661,2688,2012,1830,1972,1925,1972,1851,1649,1756,1803,1764,2447,2710,2281,2357,2446,2512,2386,3326,2574,1998,2048,1783,2508,3063,2677,2045,2464,2742,2542,3078,2763,2866,3131,3061,2857,2546,2199,2056,2248,2430,2347,1966,2271,2508,1766,1389,1686,1806,2137,1732,1455,1610,1671,1732,1602,1604,1811,1776,1714,2075,1945,1694,1575,1956,2101,2024,2002,2068,2051,1605,1552,1576,1697,2127,2258,1982,1847,2023,2778,2996,2288,1766,1744,1578,1496,1577,1584,1535,2238,2139,1672,1701,1693,1906,1790,1706,1660,1465,1616,1667,1595,1547,1621,1663,1508,1605,1571,1501,1509,1655,1680,1590,1768,1796,1825,1912,1876,2230,3505,3244,2172,1734,1835,2038,2331,1938,1858,2395,2232,1892,1841,1809,2048,1922,1902,1753,1568,1638,1815,1839,1869,1876,2046,1969,1850,2007,1938,1815,2060,1782,1534,1708,1699,1610,1571,1644,1481,1383,1505,1647,1558,1710,1680,1644,1690,2461,2580,1697,1771,2413,1989,1556,1331,2532,2597,2347,2589,1999,1486,1511,1501,1391,1455,1758,1731,1920,2025,1669,1636,1656,1623,1762,1670,1542,1663,2076,2840,2807,2626,2370,2196,2112,1751,1996,2044,1758,1679,1749,1801,1597,1898,1729,1682,1548,1439,1476,1782,1734,1808,1844,2192,2373,2280,2280,2165,2314,2891,2353,1670,1593,1475,1331,1504,1590,1584,1686,1490,1352,1928,2122,1800,1782,1870,1640,1613,1480,1551,1831,2194,1990,1643,1548,1717,2407,2302,2077,1969,2176,2004,2103,2193,1822,2120,2190,2167,2138,2191,2313,2531,2395,1917,1860,1399,1518,1788,2034,2422,1931,1636,1870,2139,1866,1556,1514,1887,1695,2028,1841,1845,2026,1682,1613,1665,1528,1427,1518,2208,3163,2764,1790,1854,1866,1925,1654,1777,1936,1713,1571,1598,1750,1825,1541,1552,1608,1558,1456,1648,1788,1569,1554,1657,1828,1677,1865,2171,2398,2139,2355,1975,1997,1839,1456,1471,1660,2007,2144,2047,2007,2469,2489,1835,1976,1996,2480,2465,2615,2177,2041,2357,2532,2398,2281,2103,1978,2195,2520,2950,2352,1744,1708,1549,1537,1750,1561,2060,2718,2762,2176,2183,2375,1739,1719,1613,1598,1615,1814,2057,1844,1713,1671,1477,1643,1484,2223,2362,1892,1618,1604,1556,1616,1998,1871,1737,2397,2498,2321,2019,1448,1581,1790,1905,1808,1638,1443,1647,1847,1880,1996,2372,2664,2766,2994,3123,3344,3898,4156,3860,3847,4189,4185,3704,3399,3457,3876,3350,3295,3769,4196,4009,3448,3732,2845,2259,2662,2535,2575,2766,2814,2776,2529,2080,1838,1981,2055,2149,2151,2244,2500,2346,1942,2032,1983,1986,2048,1895,1753,1845,2427,2964,3103,3009,2500,2127,1967,1989,2104,2118,2067,2092,2209,2115,2194,1938,1569,1715,1751,1972,1794,1605,1731,1640,1699,1470,1616,1443,1594,1697,1888,1664,1509,1569,1659,1831,1864,1853,1561,1555,1656,1744,1753,1540,1520,1608,1656,1391,1518,1831,1575,1360,1409,1428,1356,1235,1364,1731,1689,1698,1821,1636,1503,1853,1877,1809,2019,2249,2324,2261,2273,1956,1958,1902,2057,1950,1895,2522,2249,1649,1782,2046,2006,1891,1868,3009,3405,2613,2082,1998,2158,1858,1550,1854,1824,1780,2759,3531,3889,3100,2229,1767,1798,1748,1542,1487,1691,1641,1567,1328,1551,1433,1404,1901,1953,1589,1600,1627,1418,1439,1476,1637,1483,1816,2046,1941,1679,1489,1420,1370,1372,1388,1320,1504,1850,1704,1736,1904,2051,1724,1653,1549,1799,2151,2162,1941,1803,1592,1577,1540,1783,2324,1916,1704,2153,2019,1777,1825,1983,2587,2740,2274,1902,1825,1918,1679,1745,1576,1433,1942,1869,1799,1690,1487,1541,1492,1504,1670,1600,1476,1579,1453,1618,2046,1863,1432,1908,2337,2217,2247,2254,1937,1676,2122,1723,1940,1928,1737,1976,2188,2496,3142,3440,2709,1901,2053,2246,1741,1779,1715,1550,1604,1552,1509,1387,1328,1332,1290,1320,1354,1496,1528,1455,1443,1488,1491,1460,1444,1437,1477,1476,1288,1409,1485,1484,1580,1532,1545,1587,1509,2006,2766,3104,3082,2810,2052,1635,1509,1772,1751,1898,2045,2448,2685,2076,1501,1566,1977,2208,2440,2630,2118,2076,1947,1678,1959,2190,2261,2338,2610,2278,2589,2490,2025,2653,3254,3104,2468,2105,1913,2640,2398,2448,2480,2061,2041,2108,1901,1560,1595,2221,3319,3469,3495,3304,2978,2835,2075,1520,1622,1712,1424,1335,1563,1400,1371,1421,1343,1372,1346,1314,2057,3271,3580,3681,3397,3097,3529,3743,3539,3592,3500,3391,2453,1875,1934,2147,1994,1866,2216,2414,2266,2172,2003,2184,2556,2165,2298,2391,1902,1660,1745,1676,1417,1676,1929,1576,1536,1654,1827,1982,2325,2613,2277,2508,2380,2588,2313,2327,2376,1900,1800,2136,2420,2786,2792,3032,2877,2313,2052,1825,1844,1894,1633,1612,1624,1720,1912,2152,2146,1963,1590,1801,1968,1804,1908,2459,2385,2183,2087,1965,2127,1848,1911,2248,2547,2415,2197,1953,1787,1823,1997,1599,1421,1832,1912,1959,2575,2547,2107,1839,1749,1896,1748,1575,1914,1855,1604,1902,1704,1492,2415,3130,2993,2895,3077,3254,3441,3198,2905,2729,2525,2589,2626,2634,2551,2472,2636,2632,2228,2220,2417,2120,1571,1539,1537,1514,1469,1451,1514,1475,1439,1339,1544,1956,2029,1834,1912,2071,2323,2180,1917,1978,1927,2019,2425,2897,3031,2740,2633,2640,2705,2483,1876,1750,1785,1797,2066,2171,2344,2286,2080,1948,1945,2309,2531,2181,1923,1650,1501,1408,1278,1536,1721,2017,2219,2589,2510,2498,2508,1872,2131,2608,2014,1560,1453,1425,1365,1431,1436,1467,1453,1533,1837,2140,2339,2398,2363,1849,1532,1484,2030,2125,2092,2416,2608,2311,2063,1838,1690,1605,1248,1186,1250,1237,1549,1860,1955,1934,1667,1219,1135,1559,1942,1875,1454,1393,1393,1238,1244,1306,1295,1295,1355,1658,1909,1564,1721,2020,1749,1906,1941,1879,2049,1990,1747,1462,1520,1984,2591,2554,2458,3181,3516,2915,3410,3496,3372,3138,2619,2188,1897,1655,1726,1744,1827,1741,1588,1736,1628,1562,1476,1614,1646,1801,1932,1748,1733,1984,2366,2620,2595,2395,2254,2229,2114,2204,1736,1353,1446,1425,1460,1451,1315,1626,1716,1667,2314,2102,1899,2070,2188,2022,2076,2610,2475,2111,2631,2800,2801,2654,1884,1496,1441,1702,1999,1875,2155,2539,2519,2336,2271,2543,2326,2137,2499,3146,3472,3243,2251,1776,1604,1323,1225,1433,1726,2347,3630,3379,2652,2712,2972,2533,2343,2811,3039,2697,2238,1910,2251,2504,2231,2828,3055,2566,2042,1834,1451,1298,2352,2932,2728,2207,1665,2127,2484,2095,1654,1656,1609,1827,2263,2769,2451,2374,2242,2138,2678,3385,3562,3669,3597,3263,3137,3334,3341,3335,3447,3564,3522,2980,2033,2000,2987,3733,3193,2962,3559,4038,4216,3950,3370,2512,2299,2389,2036,1570,1277,1084,1369,1577,1670,1604,1770,3090,3726,3543,3356,3122,2894,2584,2129,2567,2642,1953,1555,1799,2244,2237,2444,2343,2008,1956,2015,2214,2104,2392,2138,2106,2204,2908,3122,2810,2357,2048,2105,2302,2354,2480,2998,3194,3581,3381,2101,1989,2623,2730,2121,1437,1593,2156,2445,2193,1847,1836,2765,3038,2749,2947,3296,2416,1665,1935,2522,2170,1565,1823,2592,3466,3140,3150,2872,2805,3295,3383,3392,3365,3218,3392,3298,3228,3451,3508,3420,2564,2562,2170,1735,1977,2165,1874,1930,2128,2255,2050,2055,2170,2707,3187,3264,2840,2450,3068,3760,4256,4264,4100,4019,3460,2683,2625,2269,2002,1833,2008,2536,3112,2510,2038,2675,2911,2918,3187,3493,3068,2728,2508,2203,1726,1724,1853,2391,2801,2621,2308,1696,1774,2243,1866,1614,1857,2388,2761,2518,2463,2380,2731,2652,2416,2584,2398,2892,3066,2363,1930,1897,1851,1778,1628,2154,2327,2263,2498,2376,2177,2613,2303,2000,1862,2082,2499,2676,2271,2008,2090,1887,1808,1866,1651,2047,2966,2511,2497,2597,2488,3169,3022,3072,4100,3948,2863,2131,2243,2410,2160,1787,1878,1876,2163,2249,1982,1725,1622,2170,2567,2357,2042,2156,2876,3367,3122,2467,2049,1662,2041,2570,3052,3067,2690,2407,2619,3218,3463,2846,2607,2789,3186,2598,2484,2769,2608,2372,2344,2018,1711,1848,2293,2211,2768,2221,1749,2207,2888,2578,2116,2235,1996,1808,1869,1819,1678,1599,1557,1767,1833,1720,1567,1809,2303,1932,1676,2382,2680,2533,2499,1862,1974,1732,1778,1245,1373,1929,2898,2971,2813,3064,3039,2839,2729,2348,2380,2289,2322,2070,2495,2790,2732,2776,2707,2819,2712,2529,2404,2864,2654],[1982,2612,2367,2487,2011,1960,2259,1967,1828,2170,2047,1938,1947,2352,2339,2146,1932,1587,1481,1627,1666,1501,1405,1422,1296,1542,2246,2054,1945,1647,1825,1933,1593,2329,2675,2290,1914,1489,1505,1749,1632,1738,1711,1739,1796,1586,1497,1321,1777,1750,1452,1903,1972,2017,2650,2733,2980,2972,2731,2542,2671,2559,2515,2217,2177,1975,1615,1626,1964,2371,2312,2137,1882,2068,1986,2107,2509,3120,3257,2568,2330,2223,2051,2621,2124,2398,2994,2996,2221,2060,2271,2005,2064,2601,2413,1908,2204,2106,2194,2008,1771,2210,1986,1724,1662,1718,2051,2160,1560,1495,1715,1732,1748,1892,1950,2117,2461,2036,2034,1785,1947,2488,2302,1650,1849,2403,2655,2543,1936,1498,1668,1759,1775,1679,1440,1570,1765,1771,1824,2183,2270,2245,2029,1775,1866,2160,2466,2009,1643,1622,1686,2005,2436,2672,2237,1890,2009,2403,2679,2751,3112,2900,2397,2514,2102,1959,2013,1385,1447,1898,1852,1691,1559,1849,2449,2523,2151,2409,2053,1898,2128,2145,2304,1900,2155,2009,1648,1741,1803,1902,2082,2247,2335,2509,2742,2503,2489,2612,2111,2070,2350,2320,2588,1800,1080,1240,1826,2246,1966,1917,2361,2265,2292,1904,1942,2446,2784,2793,2285,2353,2469,2643,2588,2157,2251,2457,2193,2180,2079,1754,1859,2213,2425,2159,1705,1394,1506,1649,1913,2360,2247,2265,2543,2435,2783,1888,2540,2219,1761,1593,1532,2263,3034,2934,2678,2764,2602,2655,2713,2450,3024,3320,3199,3137,3046,2509,2126,2295,2641,2776,2070,1841,2097,1709,1443,1526,1924,2007,1542,1503,1669,2095,2081,1791,1736,1802,2004,2120,2225,1829,1493,1471,2149,2631,2455,1989,1814,1997,1898,1718,1606,1621,1945,2063,1965,2059,2387,2548,2431,1916,1686,1500,1542,1561,1658,1563,1838,1786,1751,1772,1603,1749,1729,1635,1838,2063,1781,1587,1621,1776,1614,1629,1554,1592,1616,1452,1573,1648,1608,1555,1523,1458,1464,1763,2118,1876,2136,3021,2708,2077,2024,2343,3144,3918,3028,2177,2362,3075,2867,2309,2159,1874,1719,1669,1615,1599,1420,1511,1622,1537,1598,1761,1690,1874,1979,2045,1941,1912,1876,1913,1846,1836,1820,1502,1586,1435,1267,1354,1500,1699,1771,1632,1587,1729,2184,2111,1877,1779,2280,2158,2339,2434,2845,2785,2986,2722,1939,1575,1529,1500,1339,1202,1678,1560,2035,2667,1986,1475,1672,1873,1773,1489,1656,1917,2647,3039,2846,2321,1870,1779,1856,1853,2067,1888,1491,1592,1876,2031,1679,2260,1831,1725,1472,1633,1631,1556,1584,1482,1803,2618,2566,2598,2438,2373,2568,2850,2448,1793,1555,1534,1402,1683,2068,1944,1435,1337,1484,1482,1992,1897,1553,1509,1289,1505,1837,1835,1885,1964,2064,2078,1775,1860,2298,2394,2292,2193,2101,1981,2200,2054,2194,2586,2496,2474,2375,2729,2482,2478,2530,2495,2423,1871,2340,2387,2370,2541,2104,2210,2718,2789,1892,1807,1930,1647,1658,2049,1974,1941,1786,1600,1539,1543,1588,1423,1504,1511,2289,2098,1727,1831,1852,2045,1877,1644,1886,1605,1268,1551,1709,1671,1516,1520,1492,1556,1398,1489,1455,1408,1536,1909,2198,1989,1851,2220,2604,2224,2546,2340,2387,2415,2171,1855,1659,1856,2271,2499,2127,2321,2227,1641,1773,1742,2039,2542,2452,1870,1823,1990,2171,1987,1870,1740,1922,2180,2465,2579,2105,1863,1583,1716,2875,2870,1615,1813,2464,2703,2252,1958,1600,1506,1720,1697,1542,1628,1871,1780,1614,1615,1631,1534,1662,1516,1982,1962,1864,1799,1788,1794,1644,1605,1555,1507,1904,2009,2685,2147,1296,1429,1656,1641,1534,1578,1643,1660,2150,2465,1697,1916,2367,2575,3022,3387,3436,3627,3801,3856,4052,4155,4271,4379,4052,3415,3363,3339,3496,3948,4292,3769,3620,3938,2920,2196,2590,2561,2609,2712,2987,3046,2576,2031,1918,1981,2146,2336,2171,2114,2552,2239,1897,2014,1971,1930,2036,1980,1843,2105,2864,3364,3244,2539,1863,1805,1862,1955,2054,2045,2105,2117,2242,2602,2887,2169,1620,1656,1534,1775,1586,1592,1626,1704,1628,1552,1782,2031,2051,2309,2446,1765,1722,1666,1650,1759,1733,1985,1780,1635,1680,1905,1680,1538,1660,1648,1926,2101,1443,1560,1898,1541,1543,1493,1472,1413,1550,1780,1840,1801,1937,2084,2072,2720,2349,1951,1973,1979,2310,2190,1842,1647,1600,1587,1714,2115,2339,2968,2635,1481,1434,1555,2425,2743,2394,2824,2931,2487,2239,2131,2077,1848,1599,1645,1419,1132,2092,3243,3763,3245,2358,2095,1770,1537,1453,1627,1538,1345,1318,1360,1514,1509,1543,1743,1785,1628,1583,1573,1437,1356,1521,1801,1715,1858,1965,1733,1548,1462,1444,1349,1344,1497,1587,1575,1714,1737,1686,2280,2613,2570,2346,1866,1890,2032,2204,2102,1901,1698,1739,1613,1749,1969,1573,1577,1986,1890,1901,1866,1915,2187,1664,1479,1453,1404,1709,1819,1972,1858,1541,1898,1898,1643,1714,1751,1732,1708,1686,1656,1521,1398,1556,1691,1980,2202,1974,1511,1516,1589,1555,1586,1744,2083,2286,2209,1896,1968,2238,2561,2619,2708,2756,2909,3109,2387,1757,2071,2061,1815,2161,2025,1710,1570,1444,1395,1502,1592,1548,1315,1367,1538,1526,1515,1467,1610,1638,1924,1981,1633,1405,1536,1403,1284,1464,1419,1528,1531,1414,1470,1685,1735,2304,2895,2688,2728,2454,1575,1560,1652,1842,1728,1617,1964,2556,3320,2987,1879,1806,2679,2830,2069,1956,1830,2055,1800,1931,2122,2237,2644,3072,2875,2670,2763,2416,2375,3168,3171,3526,3530,2887,2586,3038,2556,2086,1895,2069,2193,1958,1838,1654,1885,2011,2809,3217,3536,3109,2524,2065,1537,1415,1417,1441,1420,1682,1717,1366,1454,1488,1461,1464,1465,1332,2256,3553,3876,4003,3562,2789,3167,3186,3379,3515,3802,3827,2841,2315,2182,2190,2481,2413,2448,2419,2055,2030,2176,2386,2193,1960,2530,2377,1904,1753,1593,1641,1590,1704,1879,1567,1515,1767,1664,1787,2420,2458,2692,2577,2115,2474,2180,2186,1652,1615,1742,2051,2331,2300,2117,2489,2384,1847,1823,1901,1810,1918,2106,2160,1895,1784,2080,2315,2372,2021,1834,2207,2196,1875,2152,2280,1677,1713,2090,2444,2685,2418,2215,2219,2321,2412,2363,2667,2556,2199,1982,1578,1707,1913,2184,2044,2271,2588,2374,2147,1982,1745,1666,1842,1901,1864,1854,2015,1987,2004,2978,3184,3327,3307,2670,2863,3141,3198,3334,3078,2555,2800,2964,2511,2330,2497,2732,2670,2093,1707,2144,1953,1568,1499,1366,1394,1277,1328,1347,1651,1862,1612,1396,1736,1886,1689,1879,2009,2385,2675,2234,1845,2097,2185,2084,2782,3175,2567,2319,2568,2469,1923,1922,1977,1908,1759,2154,2041,2331,1988,1280,1342,1509,1809,1725,1648,1957,2376,2093,1576,1461,1932,2040,1933,2259,2810,2486,2026,1906,1974,2132,2138,1978,1765,1515,1543,1556,1454,1389,1560,1641,1797,1779,2123,2159,2264,2580,2128,1661,1512,1554,1626,1773,2150,2476,2313,1995,1686,1489,1521,1469,1545,1870,1792,1564,1702,1833,1910,1775,1586,1279,1484,1629,1809,1881,1970,1788,1399,1164,1309,1238,1278,1236,1288,1787,1796,1873,1843,1918,2199,1965,1760,2076,2698,2298,1207,1263,1986,2829,2644,2404,2994,3246,3173,3352,3428,3383,3160,2608,2331,2314,2166,2292,1808,1833,1823,1932,1851,1806,1819,1849,1902,1800,1897,2127,1848,1933,2288,2806,3132,2866,2267,2131,2113,1916,1978,1655,1361,1439,1352,1494,1534,1317,1394,1431,1703,2247,1945,1817,1969,1933,1963,2339,2754,2416,2283,2763,2854,2857,2685,1715,1671,1571,1950,2215,2235,3018,3308,2846,2160,2250,2761,2508,1942,2545,3242,3519,3066,2080,1803,1798,1553,1292,1402,1594,2274,3396,2846,2407,2705,3105,3050,2800,2814,3123,2940,2225,1732,2499,2665,2408,2022,2119,2204,2077,1807,1682,2260,2851,2700,2539,2629,1785,1885,2007,1722,1731,1699,1599,1489,1637,1965,2046,1889,1960,2178,2786,2771,2921,2994,3004,2470,2732,3266,3383,3583,3518,3344,3519,3167,2059,1853,3147,3682,3166,3474,3555,3862,4104,3771,2675,1809,2622,2997,2384,1763,1369,1419,1672,1783,1678,1569,1853,2469,2769,2949,3122,2999,2898,2542,2536,2280,1947,1525,1740,2174,2220,2060,2023,1843,2343,2608,2440,2554,2192,2392,2326,2331,2458,3335,3627,2745,2066,1869,2248,2734,2388,2163,2284,2689,3295,3146,2001,1350,1729,1851,1384,1391,1492,1745,2479,2147,1687,2101,2510,2556,2156,2153,2710,2271,1492,1656,2126,1703,1708,2281,3095,3301,2932,2749,2191,1850,1998,2282,2791,3056,3030,3460,3739,3704,3580,3451,3351,2344,1792,1693,1553,2497,2962,2266,2371,1906,1704,1628,2340,2754,2797,2942,3553,3345,2751,2652,2875,3317,3860,4012,4141,3420,2773,2690,2171,2280,2146,2195,2572,3108,3065,2834,2988,3124,2924,3322,3443,3038,2777,1913,1517,1742,1861,1935,2720,3220,3418,3086,2470,2016,1953,1810,1862,2335,2585,2720,2908,2925,2540,2387,2583,2414,2000,1869,2800,2286,1872,2014,1976,1614,1670,1868,1738,1836,2385,2935,2878,2384,2297,2014,1775,2185,2103,2092,2097,2344,2557,2254,1941,1889,1876,2249,2797,2898,2536,2802,2778,2377,2573,2854,3364,4343,4415,3772,2872,2647,2334,2387,2178,2263,2641,2579,2171,2020,1931,1946,2630,3672,3256,2666,2564,2676,2923,3175,2846,2255,1691,2010,2552,2770,2562,2222,1866,2162,2732,3117,2733,2540,2652,2866,2552,2558,2614,2116,1912,2226,2069,1871,1685,1893,1848,2339,1872,1686,2133,2523,1924,1796,2002,1785,1560,1744,2601,2351,1592,1646,2192,2093,1902,1699,1788,2114,1967,1952,2201,2488,2605,2428,2182,2336,2220,1948,1292,1095,1938,2979,2933,2803,2987,2997,2788,2436,2024,2600,2481,1980,1900,2885,3203,2870,2768,2732,2232,1696,1809,1955,2745,2894],[2142,2114,2214,2768,2360,2026,2386,2139,1596,1505,1772,2051,1895,1839,1795,1924,1765,1532,1478,1499,1406,1565,1788,1518,1432,1393,1749,1749,2116,2127,1844,1777,2091,2629,2774,2408,1732,1458,1678,1828,1511,1440,1565,1617,2159,2111,1597,1423,1622,1744,1581,1492,1350,1605,1961,2117,2880,2686,2290,2644,2830,2502,2156,1887,2272,2059,1662,1455,1712,2115,2362,2380,2490,2686,2684,2689,2325,2602,3007,2092,2127,1693,1909,2391,1896,2451,2846,2275,1954,2405,2414,2420,2586,2532,2098,2032,2011,1862,2038,2018,1961,2145,2222,1876,1697,1792,1874,1939,1640,1792,1694,1775,2062,2172,2193,2869,2811,2271,2094,1989,1974,2229,1955,1729,1835,1782,2090,2546,2187,1689,1773,1953,1776,1650,1765,1679,1824,1963,1669,1772,1841,2063,2168,1948,2530,2770,2708,2244,1731,1719,1770,2119,2722,2951,2458,2131,2578,2449,2072,2595,3373,3100,2602,2310,2398,2175,1951,1871,1599,1790,1838,1691,1621,1968,2715,2836,2906,2500,1724,1960,2618,2554,2140,1576,2497,2386,2026,1929,1933,2020,2014,1997,2552,3274,2908,1841,1880,2294,2159,2083,2310,2171,2196,1891,1445,1571,2074,2225,2297,2496,2633,2477,2799,2097,1862,2484,2588,2418,2131,2413,2486,2667,2874,2622,2272,2074,1638,1892,1862,1975,1858,2001,2133,1963,1838,1626,1600,1865,2244,2542,2568,2813,2621,2271,2797,2805,2834,2193,1720,1826,1887,2099,2813,2878,3178,3326,3306,3267,3150,2879,3122,3299,3155,3065,2946,2301,2099,2413,2590,2103,1761,1644,2350,1878,1392,1485,1795,1902,1942,1593,1687,1992,1902,2040,1813,1937,2243,2607,2354,1596,1643,1919,1996,2254,2452,1991,1953,1919,1939,1991,1889,1848,1933,1888,1648,1847,2568,2759,2200,1837,2210,1880,1554,1669,1493,1433,1564,1403,1569,1675,1662,1792,1598,1593,1815,2236,1980,1596,1707,1666,1682,1851,1532,1585,1832,1740,1640,1821,1772,1618,1448,1370,1537,2091,2864,2405,2666,3576,3078,2356,2183,2309,2989,3645,2928,1578,1904,2906,2764,2113,1745,1708,1740,1549,1570,1434,1294,1351,1550,1562,1549,1455,1570,1614,1704,1862,1787,1957,1925,1970,1917,1924,1955,1801,1750,1707,1606,1666,1669,1546,1669,1550,1553,1504,1556,1902,2340,2479,2548,2443,3086,3121,2336,2480,2714,2291,1813,1672,1732,1494,1450,1683,2142,1936,1794,1914,1651,1663,1942,2109,1829,1739,1570,2014,2852,2955,2546,2189,1854,1605,1560,1599,1903,1712,1588,1582,1526,1621,1523,1687,1588,1563,1737,2350,2273,1845,1744,1789,2100,2448,2578,2806,2775,2829,2730,2773,2509,1687,1419,1526,1715,2178,1632,1258,1162,1377,1180,1545,2667,2499,1598,1277,1523,2146,2585,2140,1981,1713,2174,2121,1877,2260,2259,2198,1948,1678,1784,2179,2554,2858,2730,2618,2304,2058,1798,2253,2100,2172,2557,3661,3350,2544,3111,2845,2260,2039,1921,2893,3876,3371,2376,2706,2470,1611,1515,1732,1766,1777,1781,1964,1684,1703,1634,1426,1873,1783,2525,2537,1833,1577,1714,2156,2150,1751,1812,1680,1494,1781,1967,2152,1863,1545,1642,1582,1364,1516,1529,1476,1578,1839,1864,2164,2172,2066,2454,2367,2510,2875,2688,2491,2571,1861,1645,1685,2589,3216,2463,2301,1912,1592,1789,1681,1800,2402,2430,2297,2429,2110,2053,2141,2004,1702,1822,1835,1882,1985,2344,2344,1836,2276,3000,2128,1362,1675,2219,2330,2135,1857,1630,1492,1581,1791,1890,1859,1577,1573,1636,1658,1479,1806,1745,1690,2126,1945,1820,1946,1853,1595,1418,1493,1330,1420,1534,1543,2380,2254,1605,1620,1790,1710,1628,1718,1732,1687,2489,2558,1884,2402,3128,3506,3519,3510,3726,3830,3902,4111,4393,4307,4428,4484,4136,3491,3067,2985,3387,3971,4175,3757,3688,3717,2883,2631,2885,2749,2700,2942,3338,2740,2159,2006,1988,1964,1914,2240,2326,2193,2371,1975,1900,1938,1961,1999,2028,1955,1880,2252,3097,3702,3085,2000,1808,1816,1840,1866,1888,1891,2067,2141,2094,2359,2711,2610,2490,2070,1664,1475,1597,1500,1604,1648,1638,1793,1876,2056,2182,2346,2158,2002,1984,1766,1896,1729,1690,1679,1662,1844,1920,1701,1528,1466,1577,1557,1610,1948,1380,1954,2486,1934,1533,1437,1542,1748,1812,1655,1773,2094,1851,2220,2542,2978,2479,2185,1968,2062,2348,2157,1936,1807,1787,2000,1925,2294,2579,2769,2218,1299,1376,1881,2727,2842,2462,2496,2873,2840,2415,2226,1753,1614,1614,1583,1545,1171,1430,2542,3216,2566,1854,1746,1459,1855,1716,1731,1564,1388,1362,1493,1557,1652,1706,1699,1747,1533,1493,1410,1658,1563,1572,1692,1478,1470,1578,1564,1461,1466,1292,1377,1425,1566,1530,1555,1545,1594,1714,2768,2797,2370,1942,1973,2109,1741,1802,1755,1741,1681,1876,2352,2570,2104,1734,1591,1503,1505,1583,1667,1924,2204,1773,1549,1548,1572,1643,1603,1609,1547,1680,2005,1937,1964,1797,1633,1799,1733,1591,1409,1592,1739,1598,1559,1644,1610,1564,1659,1546,1771,1828,1767,1938,2267,1913,1674,2085,1772,1559,2058,2149,2469,2620,2708,2790,2018,1808,2118,1888,1885,1840,1532,1346,1362,1460,1589,1657,1672,1576,1420,1460,1605,1694,1726,1721,1775,2154,2745,2617,2070,1543,1436,1271,1205,1181,1290,1541,1698,1636,1582,1773,1976,2293,2045,1964,2304,2020,1521,1470,1660,1788,1649,2119,2452,2380,2690,2751,2317,2170,2766,3318,2214,1738,1881,2152,2427,2400,2395,2596,2670,2806,3020,3321,3393,3285,3017,2840,2974,3305,3274,3430,3439,3255,3112,2776,2621,3130,2908,2386,1846,1765,1886,2001,2640,3145,3068,2359,1853,1566,1395,1365,1217,1394,1374,1787,1661,1246,1343,1417,1404,1500,1881,2412,3050,3516,3762,3909,3373,2975,3462,3481,3794,3682,3562,3293,2501,2097,2144,2425,2440,1961,2400,2385,1677,1953,2172,2365,2301,2301,2339,1900,1843,1914,1659,1688,1517,1560,1943,1840,1643,1405,1775,2204,2459,2318,2409,2103,1854,2353,2192,2114,1380,1488,1853,2145,2463,2270,1986,2170,2337,2271,2193,2456,1804,1728,2420,2385,2345,1942,1422,1566,1621,1880,2283,2176,1961,1838,2187,2154,1547,1524,2187,2104,2285,2374,2354,2844,3138,2668,1968,2362,2256,2164,1838,1598,1502,1926,2348,2198,1831,1898,2120,2475,2271,2137,1820,1953,1971,1918,1973,1896,2224,2688,3477,3814,3784,3120,2492,2988,2807,3238,3493,2939,2315,2410,2600,2586,2294,2320,2774,2698,1985,1740,2497,1902,1710,1620,1456,1271,1377,1580,1510,1688,1862,1554,1383,1666,1543,1506,1746,1916,2359,2438,2080,1792,1847,1898,2235,3000,2928,2369,1988,2267,1802,1986,2259,2220,1793,1572,1645,2185,2946,2438,1428,1426,1542,1339,1354,1561,2185,3275,2797,1737,1731,2054,2001,1701,1992,2665,2527,1916,1797,2642,2275,1665,1625,1682,1722,1718,1727,1768,1598,1874,2324,2338,2156,2689,2319,2186,2389,1943,1843,2438,2515,2039,1684,1904,1944,1644,1506,1465,1455,1384,1438,1780,2325,1877,1094,1211,1622,1823,1913,1700,1269,1248,1306,1698,1643,1637,1998,1754,1417,1553,1382,1409,1407,1599,2193,2139,1829,1842,1904,1828,1832,2063,1962,2087,2519,1650,1593,1878,2480,2542,2307,2843,3533,3409,3329,3554,3602,3141,2589,2410,2210,2216,2577,2403,2357,2258,2180,1990,1718,1561,1578,1629,1678,1946,2358,1739,1875,2452,2837,2655,2209,1870,1763,1788,1824,1842,1555,1312,1296,1326,1551,1544,1379,1379,1370,1719,2554,2326,1517,1701,1550,2078,2383,1762,1881,2404,2366,2292,2404,2351,1989,1794,1755,1964,2285,2799,3120,3187,2540,1984,2258,2739,2485,1918,2567,3193,3316,3166,2614,2218,2019,1810,1694,1650,1553,1952,2919,2915,2684,3291,3819,3583,2945,2776,2491,2502,2204,1892,2115,2078,2363,1972,1631,1893,2166,1988,1706,2364,2946,2686,2448,2493,2114,1842,1671,1676,1626,1520,1621,1668,1566,1600,1489,1500,1715,1976,2364,2066,2263,2237,2088,1856,1919,2018,2348,2929,2751,2676,3255,3288,2457,2378,3278,3565,3603,3836,3713,3703,4052,3747,2250,1610,2283,2602,2490,1864,1529,1553,1884,1974,2276,2980,3141,3046,2844,2691,2978,3109,3044,2880,3038,3032,2574,2048,1840,2045,2382,2369,2476,2576,3174,2733,2978,2577,2435,2424,1966,2046,2356,2933,2899,2054,1622,1926,2784,3110,2229,2575,2589,2256,2301,2321,2003,1764,1656,1541,1537,1930,2127,2394,3135,2448,1917,2765,2938,2546,2444,2452,2428,2431,2277,1792,1924,1741,2273,3139,3085,2780,2934,2743,2492,2305,1757,1591,2246,3277,3419,3419,3403,3130,2989,3150,2898,1979,1833,2154,1788,2388,2754,2414,2304,1917,1569,1673,2067,2392,2296,2585,3044,2928,2843,3133,3130,2849,3425,3880,3829,3136,2940,2812,2620,2192,1771,1909,2061,2332,2798,3083,3081,3242,3107,2438,2488,2404,2313,2041,1711,1875,2006,2095,2281,2668,3274,2910,2876,2497,2188,2191,2480,2919,2718,2352,2719,2791,2554,2280,2447,2636,2270,2354,2337,1934,1936,2049,1822,1597,2048,2104,1714,1777,2137,2820,2596,2338,2076,1954,1896,2308,2229,1874,1858,1904,2103,2200,1971,1917,2265,2773,3188,3067,2336,1945,2250,2604,2732,2610,3153,3955,3374,2689,2585,2382,2210,2270,2918,3780,4084,3526,2371,1901,2338,2658,3250,3657,3296,3375,3441,3030,2851,2947,2469,1971,1697,1642,2067,2358,2377,2016,1855,1754,2579,3068,2530,2077,2251,2402,2175,2303,2264,2376,2176,2222,1827,1871,1631,1914,1791,1626,1538,1405,1945,2391,1827,1671,1834,1621,1698,1754,2625,2484,1736,1658,2242,2352,2082,1828,1514,1472,1659,1912,1865,2235,2459,2340,2425,2562,2642,2447,2262,2295,2315,2515,2600,2688,2880,2411,2165,1720,1724,2321,2287,2008,2363,3007,2975,2877,2741,3374,2486,1822,1698,2424,3004,3061],[1950,1956,2053,2048,1780,1881,2068,1824,1714,1647,1618,1991,2191,1945,1904,1804,1625,1578,1469,1569,1566,1664,1885,1901,1589,1593,1537,1442,1926,2067,1792,1764,1860,2251,2529,2532,2092,1662,1654,1841,1577,1421,1541,1823,2298,2177,1797,1616,1398,1479,1591,1811,1383,1410,1499,1779,2377,2457,2086,2428,2713,2315,2129,1900,1918,1799,1541,1415,1704,1936,2239,2401,2792,2938,2698,2361,2085,2906,2721,2427,2154,1683,2081,2360,2112,2303,2128,1667,2046,2181,2165,2291,1925,2126,2036,2509,2237,1879,2167,1857,1704,2101,2244,1896,2155,1915,1822,1950,1915,1734,1493,1762,1962,1895,2045,2032,1802,1818,2127,2599,2511,2604,2065,2074,2276,1897,1690,2430,2166,1676,1974,2100,1931,2192,2365,2096,1804,1592,1611,1961,1781,2054,2210,2260,2027,1746,2319,1973,1647,1668,2019,2474,3191,3131,2465,2243,2490,1835,1306,2062,2752,2497,2119,2415,2705,2249,2321,2305,1837,1827,1691,2269,2246,1952,2172,2463,2818,2235,1879,2453,3146,3121,2459,1816,2220,2205,2192,2093,1925,2092,1903,1928,2777,2851,2209,1995,1881,1916,2015,2222,2184,1868,1713,1669,1803,2036,2138,2135,2486,2313,2622,3100,2688,2122,1980,2010,2175,1874,1908,2484,2444,2616,3122,2887,2321,1834,1707,2202,2243,2012,2102,2415,2374,2003,1660,1766,2060,2270,2766,2793,2493,2058,1909,2032,2435,2675,2614,2215,2038,1866,1922,1929,2235,2490,2601,2297,2561,2808,2846,2889,2988,3119,3021,2998,3016,2278,2113,2165,2541,1875,1551,1537,1715,1623,1393,1419,1604,1965,2184,1859,2037,2031,1773,1896,1760,1891,2106,2288,1924,1699,2184,2493,2180,1886,2199,3190,2786,1857,1746,1879,1944,1913,1642,1731,1811,1702,2026,2263,2205,2102,2481,1965,1782,1914,1558,1543,1515,1522,1683,1620,1525,1597,1538,1565,1643,1848,1636,1600,1694,1520,1752,2018,1542,1677,1654,1648,1668,1783,1678,1622,1437,1448,1667,2565,3083,2698,3128,3516,2404,1939,2061,2490,2395,2742,2279,1747,2342,2894,2562,1868,1613,1747,1995,1750,1588,1572,1522,1418,1453,1489,1522,1573,1614,1607,1881,1771,1513,1683,1709,1576,1578,1643,1730,1811,1891,2006,1803,1792,1774,1781,1757,1853,1922,1755,1730,2025,2417,2721,2763,2432,2581,2586,1863,1582,1648,1864,1638,1590,1517,1517,1820,2185,2243,2119,2026,1608,1722,1786,2134,2245,2398,2151,1431,2189,3162,2854,2374,2299,1736,1560,1403,1466,2008,1798,1969,2100,1958,1656,1607,1749,1561,1413,1896,2470,2319,2217,2325,2476,2631,2477,2573,2754,2791,2720,2620,2902,2987,2268,1642,1749,1792,2034,1651,1779,2057,1587,1801,2609,2708,2446,2021,2321,2734,3113,2923,2199,1658,1446,2345,2260,1763,1772,1832,1899,1750,1621,1995,2567,2625,2447,2149,2132,2052,2091,1725,1788,1682,1602,2243,2857,2444,2364,3406,3094,2199,1642,1493,2552,3475,3334,2750,2483,2304,1714,1332,1558,1609,1554,1601,1932,1770,1789,1720,1942,2439,1926,1971,2316,2062,1914,2060,2329,2123,1816,1816,1800,1628,1834,2320,2612,1970,1519,1788,1468,1505,1549,1555,1450,1528,1721,1554,1724,2201,2293,2687,2734,2519,2197,1970,2382,2955,2352,2098,2060,2359,2819,2252,1782,1662,1542,1647,2163,2412,2415,2318,2751,2887,2270,2497,2439,2073,2324,2353,1748,1529,1638,2449,2320,1920,1881,1654,1164,1246,1552,1823,1796,1647,1686,1529,1555,1665,1810,1926,1847,1508,1775,1688,1801,1901,2247,1883,1615,1737,1656,1622,1475,1403,1435,1405,1802,1727,1439,1526,1522,1970,2433,2288,1958,1895,1782,1730,1686,1616,1641,1857,1920,1855,2808,3660,3273,2872,3134,3463,3714,4200,4300,4485,4459,4560,4416,4125,3652,3375,3606,3991,4216,3989,3480,3548,3151,2635,2800,2685,2478,2590,3364,3704,3006,2295,1877,1810,1929,1961,2317,2354,2368,2411,2011,1952,2025,2065,2014,1987,1885,1833,2341,3082,3318,2552,1928,1791,1778,1752,1798,1758,1774,2007,2268,2210,2220,2203,2473,2719,2658,2127,1523,1449,1312,1411,1574,1660,1648,1658,1832,1977,2161,2194,2283,2396,2100,2272,1882,1896,2161,2054,2036,2133,1509,1472,1476,1542,1657,1639,1470,1374,1472,1848,1808,1471,1481,1712,1719,1635,1451,1524,1960,1604,2313,2698,2534,2326,2070,1896,1932,1996,2025,1935,1835,2547,2719,2455,2617,2290,2483,2268,1381,1315,1916,2607,2444,2385,3043,3818,3498,2645,2303,1917,1658,1639,1582,1441,1371,1582,1907,2093,2400,2310,1853,1604,1905,1999,2165,1982,1715,1807,1864,1706,1709,1637,1843,2151,1768,1794,1777,1714,1570,1536,1467,1361,1443,1677,1764,1688,1437,1229,1366,1538,1716,1732,1659,1570,1577,1650,1803,1852,1640,1593,1720,1976,2016,2178,1736,1516,1626,1746,1772,1879,1926,1902,2027,1438,1743,1633,1753,1985,2408,2121,1591,1357,1533,1733,1713,1707,1688,1569,1459,1568,1781,1888,1564,1539,1704,1551,1809,2171,1989,1737,1564,1695,1702,2172,2276,1633,1792,1924,1826,1896,2031,1883,1953,1928,1662,1417,1704,1829,2634,2910,2817,2488,2165,2084,1634,1456,1569,1533,1527,1447,1409,1650,1821,1648,1507,1404,1442,1584,1547,1832,1924,1754,1521,1972,2420,2226,1603,1454,1576,1584,1490,1205,1362,1723,2085,2022,1785,1841,1885,1847,1560,1534,1554,1797,1635,1560,1721,1754,1629,1852,2199,2053,1838,1997,2111,2211,2212,2512,2312,2006,1830,2025,2219,2520,2973,2728,2429,2424,2555,2850,3184,3335,3534,3812,3714,3430,2973,2222,2214,2539,2599,2939,2856,3224,2955,2803,1971,1829,1815,1893,1992,1797,1543,1338,1375,1448,1448,1565,1887,1463,1449,1419,1265,1287,1376,1357,1322,1396,1651,1958,2553,2916,3466,3791,3354,2521,2674,3328,3538,3119,2701,2499,2139,1743,1646,2271,2115,1945,2614,2398,1663,2176,2470,2144,2192,2733,2663,2119,2069,1968,1867,1482,1561,1614,1819,1863,1575,1700,2334,2766,2525,1832,1904,2245,2397,2428,2257,2260,2129,2055,1954,1936,2170,2305,2194,2375,2567,2545,2188,2130,1760,1825,2314,2321,2574,2307,1691,1489,1573,1809,1600,1783,2238,1644,1874,2266,1748,1794,2462,2006,1685,2046,2598,3051,2924,2362,2044,2319,2088,2295,2078,1824,1734,1582,1992,2049,1665,1872,2007,2227,1981,1906,2214,2040,2365,2463,2030,2055,2533,2973,3486,3874,3731,2946,2554,3088,3031,3003,3110,2721,2584,2468,2294,2124,2008,2656,3076,2311,2264,1968,2182,1635,1487,1554,1560,1502,1703,1676,1816,2013,2091,1626,1499,1863,1727,1591,1673,1955,2237,2086,2075,1941,1691,2063,2835,3152,2654,2046,1964,2060,2038,2554,2400,1991,1648,1685,2122,2713,2876,2183,1483,1390,1369,1535,1943,1622,1661,2331,2166,1622,1506,1706,1753,1731,2164,2092,2170,2561,2916,2731,2172,1888,1895,1971,1785,1616,1627,1793,2118,2312,3207,3217,2983,3386,2884,2657,2517,1831,2376,2913,2145,1826,1613,1623,1649,1720,1650,1492,1745,1902,1617,1447,1613,1282,982,1384,1722,1825,1873,1567,1438,1423,1511,1711,1854,1845,1869,1780,1703,1996,1877,1842,1913,1795,1874,1851,1791,1947,2073,1833,1670,2313,2495,2220,2964,2270,1893,1775,2010,2378,2267,2675,3252,3202,3297,3408,3340,3019,2541,2536,2907,2895,2552,2243,1910,1725,1716,1653,1489,1445,1468,1533,1748,2044,2129,1580,2189,2879,2953,3033,3095,2659,2198,2067,2078,1960,1887,1559,1339,1353,1383,1470,1406,1338,1335,1561,2510,2765,1293,1275,1495,2003,1896,1620,2455,2800,2139,1741,1988,2412,2369,2102,2154,1964,2120,2545,2885,2736,2102,1725,2196,2468,2379,2566,2619,2742,2749,2579,2133,1903,1871,1591,1617,1911,2006,2464,2980,2857,2931,3307,3211,2540,2310,2441,2522,2542,2395,2541,2198,1559,1667,1711,1546,1583,1795,1879,1953,2228,2664,2896,2707,2610,2260,1864,1802,1794,1588,1520,1522,1660,1626,1728,1546,1441,1535,1736,2056,1877,1781,1859,1810,1607,1554,1566,1606,1720,1843,2292,2176,2335,2390,2603,2887,3076,3457,3441,3481,3698,4029,3574,2076,1852,2037,2367,2059,1879,1864,1665,1852,1841,2097,3022,3233,3166,2952,2984,3341,3190,3205,3176,3125,3099,2441,1606,1524,2114,2743,2942,3600,3655,3383,2546,2875,2552,2723,2774,2104,1792,2059,2778,2385,2238,1898,1626,1939,2557,2265,2552,2986,2725,2271,2194,2008,2117,1837,1553,1394,1716,1840,2248,2652,2580,2800,3475,3029,2144,2465,2648,2289,2514,3096,2615,2777,2681,2714,3263,2955,2632,3094,3143,2907,2331,1794,1714,2666,3173,3104,3116,2568,1865,1923,2607,2827,2133,2130,2390,2082,1811,1936,2281,1847,1895,1873,1656,1555,2205,2898,2764,2584,2784,2963,3161,3437,2925,3006,4097,3961,2937,2595,2536,2390,2196,1903,1987,2279,2193,2751,3038,3206,3332,3566,3162,2877,2591,2404,2508,2601,2646,2283,2111,2484,2775,3235,3397,2758,2346,2279,2260,2427,2518,2279,2234,2721,2093,2374,2387,2364,2823,2657,2164,1793,1789,1991,2024,1815,1909,2345,2178,2160,2271,2143,2042,1876,2161,2570,2689,2307,1968,1919,2095,1986,1610,1929,2081,1874,2311,2414,2634,3587,3550,2231,1674,2212,2818,2783,2792,3806,3828,3033,2674,2595,2473,2241,2465,3442,4004,4063,3394,2509,2089,2535,2899,3153,3543,3396,3105,3091,2821,2389,2161,2019,1946,2025,1630,1836,1801,2335,2044,1659,1512,2332,2810,2431,2082,2317,2530,1905,1966,1956,2151,2032,1773,1545,1498,1527,1969,2132,1834,1769,2100,2014,2007,1938,2054,2282,1815,1690,2388,2946,2387,1743,1591,1975,2305,2106,1793,1554,1381,1507,1811,1655,1580,1603,1796,2275,2624,2822,2532,2735,3139,2840,2829,2830,2726,3252,2917,2424,2022,2103,2226,2315,2213,2274,2419,2877,3079,2612,3349,2895,2026,1947,2688,2811,2800],[1628,1942,2072,1750,2110,2386,2787,2097,1723,1431,1519,1800,1953,1831,1744,1611,1421,1564,1926,1794,1555,1741,2107,1976,1797,1805,1660,1555,1577,1475,1801,1895,1857,2020,2362,2635,2754,1897,1284,1582,1676,1798,1930,1843,2043,2435,2909,1947,1442,1499,1588,1600,1338,1383,1412,1526,1805,1816,1661,1682,2083,2292,2389,2055,2190,2348,1906,1689,1796,1912,1898,1869,2018,2270,2434,2107,2005,2643,2189,2300,2308,2392,2193,1791,1829,2093,2082,2080,2459,2376,2664,2271,1879,2009,2183,2945,2644,2029,1926,1904,1936,2051,2206,2379,2501,1741,2046,2260,2279,1837,1421,2243,2732,2025,2025,2181,1924,1787,1859,2068,2209,2181,1827,1715,2575,2542,2404,2995,2481,2088,2007,1902,1712,1779,1946,2044,1620,1409,1591,1788,1938,2127,2066,2283,1942,2185,2563,2180,1737,1976,2208,2670,3060,2436,2062,2494,2637,2153,1846,1858,2430,2305,2505,2358,2293,2366,2366,1963,1716,1765,1628,1814,2156,2170,1942,2388,2746,2300,2438,3062,3120,3282,2832,2058,2057,2160,2383,2135,1859,2072,2030,1820,2080,2430,2201,2135,2429,2595,3106,3133,2409,1725,1922,2025,2165,2213,2319,2112,2146,2130,2542,2702,2335,2379,2769,2343,1859,1749,2197,2565,2547,2023,2047,2753,2519,1883,1530,1594,1644,1867,2461,2201,2136,2327,2294,1829,1964,2452,3000,2862,2142,2402,2578,2160,2261,2217,1744,2091,2621,2764,2436,1824,1620,2288,2732,2680,2568,2419,2676,2822,2566,2890,2960,3087,2951,2215,1832,1973,2209,1882,1715,1591,1562,1682,1432,1453,1763,1924,1714,1761,2061,1925,1787,1638,1810,2225,1901,1765,1837,2163,2004,2118,2327,2162,2272,2557,2055,1752,1753,1686,1687,1699,1669,2287,2269,2099,1713,1798,2042,1841,2135,2202,2228,2065,1551,1508,1531,1638,1979,1781,1659,1696,1614,1578,1586,1545,1510,1614,1630,1699,1784,1720,1526,1711,1604,1743,2155,2097,1817,1641,1538,1578,1842,2311,2596,2744,2677,3264,2174,1760,1957,1928,1782,1994,2027,2192,2688,3205,2398,1755,2021,2330,2274,1995,1879,1666,1617,1704,1487,1460,1582,1696,1769,1732,1747,1442,1463,1750,1732,1627,1698,1608,1564,1731,2052,1956,1519,1937,1846,2105,1948,1893,1957,2027,1937,2110,2247,2338,2413,2115,1843,1881,1642,1548,1775,1775,1579,1466,1524,1815,2282,2365,2108,2030,2258,1703,1691,1631,1978,1918,1727,1707,1914,2621,3385,3285,2834,2332,1800,1484,1342,1638,2201,2104,1636,1820,2346,1952,1592,1796,1643,1591,1777,1936,1803,1828,2497,2789,2640,2658,2521,2284,1980,2099,2592,2888,3039,2480,1703,1675,1510,1254,1610,2187,2680,2530,2934,2878,2174,2602,2596,2643,3059,2977,2315,2086,1829,1463,2132,2064,1418,1209,1494,1776,1791,1792,2300,2756,2066,1657,2120,2421,2578,2775,2484,2106,1573,1466,2046,2411,2110,2438,3038,2159,1911,1899,1521,2007,2665,2684,2359,2369,2394,1917,1774,2058,1481,1453,1466,1931,1870,1592,1886,2569,2751,1990,1643,1713,1854,1783,1822,2235,1795,1698,1862,1705,1564,1624,1815,1917,1604,1487,1742,1635,1616,1609,1463,1384,1464,1498,1540,2042,2333,2649,2976,2409,2044,1818,1839,2397,3243,2811,1992,1816,2203,2289,2222,2298,1994,1693,1936,2648,2842,2686,2370,2667,2612,2131,2409,2431,2363,2755,2613,1818,1725,1498,1742,1729,2163,2280,1803,1377,1417,1390,1632,1865,1771,1714,1620,1662,1608,1560,1678,1790,1575,1460,1405,1404,1429,1584,1616,1592,1436,1570,1343,1672,1621,1524,1403,1638,1946,1732,1494,1647,1928,2125,2376,1926,1801,2507,2524,2142,1613,1484,1499,1520,1586,2651,3979,3726,3398,3453,3022,2799,3825,4352,4331,4391,4532,4299,3961,3605,3482,3961,4283,4395,3569,3626,3476,2850,2730,3012,3249,3075,3128,3808,3853,3418,2879,2516,2532,2793,2501,2590,2420,2207,2095,1967,2012,2049,1974,2003,1982,1893,1988,2643,2591,2265,2042,1914,1838,1804,1746,1776,1768,1787,1844,2116,2248,2289,2188,2127,2336,2785,2411,1652,1472,1484,1507,1664,1660,1558,1570,1640,1643,1856,2117,1790,1792,2284,2430,2113,2062,2298,2415,2294,2173,1675,1554,1777,1845,1845,1747,1638,1576,1588,1554,1386,1444,1672,1942,1742,1718,2209,2084,1932,1634,1920,1970,1688,1714,1729,1789,1916,2047,1702,1768,2585,3387,3074,2518,2542,2219,2234,2234,1704,1860,2206,2610,2310,2630,3240,3713,3454,3122,2767,2346,1903,1788,1761,1697,1794,1863,1899,2194,2836,2498,1781,1720,2145,2798,2724,1934,1608,1501,1390,1456,1514,1705,2185,1923,1751,1760,1763,1660,1575,1604,1600,1611,1734,1905,1701,1440,1288,1252,1275,1502,1661,1798,1766,1693,1669,1686,1741,1665,1530,1456,1636,1821,1856,1792,1470,1355,1621,1776,1482,1720,1769,2110,3053,2478,2301,1700,1991,2224,1982,1708,1335,1168,1569,1921,2086,1900,1612,1580,1436,1446,1506,1887,1966,1731,1797,1756,1977,1998,1936,1817,1865,1983,1890,2599,2089,1461,1661,1810,1744,1682,1530,1762,1976,1671,1824,1657,1522,1657,1958,2403,2398,1925,1809,1825,1597,1362,1418,1602,1712,1620,1435,1512,1511,1751,1651,1440,1584,1671,1602,1789,1952,2136,1678,1532,1604,1643,1382,1476,1680,1660,1450,1394,1598,1823,1954,1976,1561,1486,1802,1538,1444,1515,1580,1949,1876,1970,2136,1647,1623,1571,1511,1689,1742,1876,2281,2294,1852,1964,2634,2580,2072,2093,2602,3357,3271,2386,2459,2671,3085,3024,2920,3112,3438,3640,3680,3626,2666,1993,2260,2342,1616,1761,1910,2250,2311,2306,1856,1587,1522,1619,1606,1333,1343,1390,1455,1346,1361,2273,2622,1606,1287,1275,1280,1321,1344,1306,1400,1492,1528,1483,1924,2366,2630,3145,3266,2765,2660,2875,2783,2644,2669,2558,2207,1833,1780,2126,2111,1990,2143,2030,2364,2741,2364,2231,2319,2452,2844,2626,2031,1992,1904,1649,2408,2330,2045,2188,2082,2118,2216,2680,2399,2166,2338,2288,2588,2460,2578,2703,2415,2298,2115,2046,2109,2143,2165,2553,2186,2005,1798,1690,1647,2170,2955,2706,2175,2210,1962,1763,2099,2571,2503,2461,2316,1824,2797,2632,1644,2060,2630,2316,2232,2072,2326,2416,2605,2232,2434,2320,1902,2588,2590,1800,1676,1494,1560,1630,1699,1815,1674,2014,1984,2178,2169,2044,2270,2141,2072,2470,2818,2741,2642,2579,2763,2876,2191,2118,2192,2401,2568,2554,2906,2510,1774,1567,2059,2469,2357,1813,2255,1582,1289,1836,1773,1377,1532,2170,2163,2369,2547,2415,2138,1764,1638,1978,1890,1544,1526,2126,2369,1910,1896,1902,1681,1830,2295,2593,2510,1804,1942,1787,2386,2397,1577,1925,2160,2123,2032,2416,2596,1829,1665,1792,1447,1864,2824,2379,1248,1256,1571,1507,1553,1831,1716,2003,2714,2408,2062,2695,2863,2049,1729,1970,2131,2165,2030,1740,1744,2095,2256,2178,2593,2526,2753,3096,2808,3142,2902,1748,1741,2326,2188,2579,2030,1741,1956,2399,2191,1784,1807,1933,1572,1383,1463,1229,1154,1496,1765,1925,1882,1634,1511,1597,1771,2020,2149,2045,2218,2026,1809,2109,2413,2247,2134,1933,1606,1523,1798,1728,2115,2186,2018,2042,2727,2343,2509,2724,2812,2152,1885,2303,2299,2440,3109,3504,3430,3251,3182,3089,2535,2367,2853,2710,2069,1702,1684,1815,1772,1757,1733,1823,1804,1848,1845,2222,2239,1690,2076,2830,3002,2995,2805,2864,2634,2522,2179,2113,2133,1828,1480,1386,1471,1509,1523,1549,1521,1550,2305,2534,1236,998,1490,1742,1700,1802,2684,2972,2446,2392,2957,3105,2686,2542,2378,2083,2015,1914,2215,2199,2078,1969,2171,2062,2274,3168,3178,3328,2846,2354,1746,1820,1612,1358,1845,2533,2789,3088,2997,2574,2481,2449,2387,2600,2964,2739,2699,2630,2508,2350,2059,1715,1733,2276,1749,1590,1618,1995,2367,1997,2531,3042,3010,2647,1929,1660,1711,1620,1616,1424,1537,1678,1750,1775,1674,1530,1448,1714,1982,1783,1616,1468,1479,1498,1605,1589,1655,1868,2262,2268,1886,1887,1726,2049,2836,3094,3194,3159,3296,3762,4002,3459,2119,1856,2017,2250,2047,2067,2297,2028,1654,1770,1855,2207,2459,2384,2442,2945,3076,2999,3221,3204,3335,3011,1648,1456,1967,2797,3415,3557,3541,3354,3183,2548,2546,2986,3239,3430,3129,2763,2674,2242,2245,2899,2176,1490,2030,2376,2137,2046,2144,2185,2106,2153,2386,2155,1884,1672,1363,1558,2176,2054,1960,2096,2251,2931,2354,1660,2036,2470,2513,2879,2683,2854,3251,3347,3355,3128,2238,1882,2597,2985,2768,2042,1819,1971,2222,2248,2728,2952,2468,1751,1681,2756,3356,2432,2002,2224,2035,1765,2600,2313,1688,2069,2351,1777,1358,2162,2784,2370,2521,3003,3155,3371,3716,2677,2601,3333,2885,2379,2509,2532,2822,3033,2326,2544,3241,2597,2920,2814,2805,2875,3173,3006,2854,2831,2562,1867,2360,2633,2375,2421,2943,3039,3608,3564,2313,2190,2487,2467,2626,2482,2359,3008,3178,2400,2220,2403,2254,2475,2335,1844,1662,1776,2099,1902,1617,1843,2291,2049,2138,2588,2340,2026,2074,2133,2489,2599,2226,2159,2177,2707,2939,2554,2327,2158,1836,2142,2263,2547,3797,4263,3159,2196,2614,2788,2889,3327,3209,2972,2304,2032,2401,2658,2548,2345,2099,2563,2976,2286,2018,2285,2618,2598,2446,2515,2329,1930,2070,2314,1769,1656,1888,1865,1769,1638,1804,1720,1882,1831,1654,1663,2352,3017,2865,2611,2727,2824,2662,2881,2833,2766,2250,1562,1457,1845,1900,1766,1875,1633,1453,2033,2623,2292,1734,1797,2223,1654,1464,2758,3066,2357,1941,2404,2392,2327,1974,1619,1775,2075,1872,2042,1938,1534,1618,2007,2002,2210,2730,2488,2633,3274,3252,2934,2855,3166,3741,3546,2954,2674,2292,2287,2691,2567,2537,2150,2441,2929,2902,3071,2901,2480,2397,2349,2035,2054],[1694,2389,2036,2160,2527,2329,2375,2069,1731,1470,1482,1510,1744,1766,1795,1685,1532,1662,1601,1434,1614,1943,1650,1436,1615,1777,1897,1685,1686,1747,1949,1792,2006,1973,2075,2492,2698,1710,1353,1651,1669,1968,2055,1577,2126,2260,2511,2110,1682,1509,1759,1818,1721,1609,1500,1557,1634,1636,1598,1766,2137,2438,2321,1807,1671,1972,1968,1746,1910,2057,1806,1644,1792,1862,1888,1818,1885,2272,2067,1943,2531,2965,2628,2043,2048,2061,2166,2436,2567,2685,2599,1856,1970,2050,2376,2707,1988,1851,1993,2321,1982,2099,2358,2903,2495,2000,2302,2312,2265,2093,1781,2330,2969,2129,1804,1886,1694,2200,2277,1717,1467,1480,1491,1801,2658,2410,2095,2421,2514,1947,1695,1628,1614,1737,1831,1700,1485,1431,1541,1703,1874,2071,2216,2404,1958,2590,2761,2060,1836,2465,2592,3428,3710,2813,2479,2852,2668,2734,2394,2177,2763,2854,2527,2028,2667,3306,2769,1939,1870,1917,1742,1738,2438,2675,2243,2534,2574,2343,2865,2844,2392,2591,2365,1902,2230,2931,3250,2535,2324,2159,2066,1642,1576,1991,1802,2286,3190,3438,3482,3276,2830,1876,1984,2894,2482,2315,2078,2249,2561,2841,2853,3115,3168,3027,3565,2703,1967,1895,2096,2703,2303,1863,1757,1979,2047,1700,1558,1641,1675,2566,3853,2728,1887,2055,2711,2280,2434,2758,2676,2588,2986,3021,2340,2189,2085,2118,1842,2640,3244,3209,2434,1797,1914,2601,2646,2576,2741,2701,3006,2753,1970,2204,2722,2667,2337,2056,1625,1651,1735,1681,1853,1998,1959,1650,1686,1760,2027,1655,1648,1559,1576,1687,1931,1809,1912,2198,1769,1563,1987,2178,1707,1757,1917,2460,2338,1644,1668,1781,1697,1553,1462,1586,2094,2676,2757,2284,1657,1641,1755,1797,2304,2758,2592,1866,1709,1613,1621,1838,1973,1594,1516,1514,1533,1660,1698,1594,1471,1554,1852,2205,1899,1666,2238,2087,1842,2287,2897,2930,2523,1793,1645,1695,1954,2413,2685,2873,3078,2961,2099,1822,1768,1528,1688,1882,1709,1810,2729,3405,2404,1967,2352,2486,2393,2322,2141,1810,1930,2334,2151,1668,1647,1831,1837,1868,1685,1628,1577,1584,1510,1595,1714,1528,1493,1855,2293,1581,1479,2258,2438,2284,1937,1743,1693,1665,1783,1693,1562,1733,1879,1800,2003,2081,1991,1964,2050,1862,1595,1541,1542,1642,1856,1760,1681,1778,2120,1833,1625,1756,1885,1881,2049,2342,2344,2250,2712,3217,2917,1955,1828,1493,1446,1682,2542,2642,1967,2187,2779,2191,1650,1648,1640,1500,1631,1655,1747,2064,2277,2529,2888,2765,2364,2096,2099,2115,2260,2072,2031,1941,1620,1598,1503,1598,2343,2618,2954,3060,2701,2633,2487,2303,2553,2727,3082,2696,2320,2751,2457,1794,1664,1559,1397,1452,1636,1741,1801,2026,2452,2331,1976,1680,1751,2158,2565,2987,2988,2366,1833,1724,2060,2473,2888,2831,2578,2047,2504,2730,2120,1933,1751,1597,1729,1937,2389,2581,2489,2485,1837,1763,1794,2025,1843,1591,1600,2008,2612,1863,1515,1687,1877,2106,2137,1875,1559,1618,1817,1700,1702,1769,1719,1709,1643,1528,1464,1542,1907,2057,1662,1523,1593,1593,1810,2326,2601,2786,2259,1642,1425,1988,2499,3104,3296,2796,2123,2096,2372,2191,2355,1922,1648,1669,2259,2634,2693,2521,2480,2646,2624,2523,2370,2332,2412,2685,2733,2128,1692,1561,1613,2185,2593,2316,1927,1662,1532,1587,1768,1781,1939,1594,1528,1590,1590,1548,1522,1604,1582,1408,1535,1721,1575,1862,1735,1541,1448,1610,1385,1925,1718,1527,1472,1511,1767,1710,1715,1977,1902,1625,1692,1581,1642,2283,2266,1747,1388,1403,1482,1551,1744,2450,3961,3969,3808,3903,3608,3566,4141,4453,4187,4260,4393,3955,3474,2946,2474,2726,3437,3718,3262,3719,3277,2539,2814,3401,3883,4140,4017,3968,3580,3145,2963,2951,2975,3298,2903,2541,2309,2167,2053,1916,2050,2060,2014,2029,1955,1891,2140,2349,1876,1919,2353,2221,1852,1792,1815,1814,1808,1838,1760,1519,1803,1902,2011,2183,2128,2252,2135,1710,1547,1495,1413,1558,1657,1635,1703,1744,1698,1603,1763,1935,2056,2246,2113,2123,2330,2065,2011,1927,1720,1601,1769,1936,1846,1625,1598,1665,1437,1551,1589,1453,1465,1516,1615,1583,1910,2472,2280,1974,1682,1616,1722,1711,1767,1793,1815,1925,1832,1547,2013,3396,4062,3403,2621,2335,2164,2101,1961,1670,2001,2441,2514,2350,2403,2390,2542,3195,3742,3384,2480,2204,1950,1799,1590,1280,1508,2377,2644,2631,2419,2065,2264,2810,2758,2182,1636,1665,1725,1512,1551,1762,1958,2114,1829,1556,1486,1451,1426,1582,1620,1689,2142,1863,1740,1776,1508,1496,1617,1921,2176,2223,2008,1626,1567,1621,1475,1448,1469,1399,1333,1452,1465,1560,1425,1299,1346,1491,1804,1670,1479,1608,2473,3544,2975,2328,1905,1739,1684,1633,1681,1537,1478,1825,2021,1713,1415,1447,1565,1482,1572,1687,1798,1831,1909,1939,1976,1991,1811,1840,1827,1770,1712,1953,2335,2019,1610,1522,1584,1722,1604,1447,1539,1609,1928,2051,1748,1496,1498,1503,1671,1964,1748,1305,1300,1387,1335,1401,1435,1655,1632,1459,1549,1866,1771,1483,1456,1728,1849,1542,1674,2265,1937,1415,1388,1775,1798,1655,1519,1467,1594,1336,1395,1994,2018,1487,1505,1429,1749,2216,1599,1432,2128,2115,1830,1683,2016,2272,1685,1553,1543,1561,1726,1919,1824,2003,1900,1566,1723,2324,2589,2309,2424,3053,3034,2880,2445,2350,2600,2874,3105,3431,3289,3123,3134,3155,2641,2090,1892,2095,1931,1538,1459,1393,1371,1704,1884,1750,1739,1729,1761,1889,1579,1292,1378,1422,1330,1268,1855,1824,1502,1416,1343,1358,1309,1215,1343,1647,1676,1559,1634,1936,2024,1883,2460,3327,3376,3199,2899,2337,2515,2578,2604,2454,1920,2010,2051,2060,2299,2272,2216,2940,2788,2292,1922,1943,2300,3113,2387,2149,2172,1948,1993,2277,2029,2049,2087,1797,1704,2556,2852,2643,2415,2095,2114,2481,2277,2615,2390,1919,2588,2238,1756,2018,1971,2061,2180,1889,2005,1991,1831,1819,2441,3082,2640,2243,1913,1759,1752,1945,2570,3100,2840,2178,1603,1932,1954,1742,2246,2361,2316,2402,2131,1909,1649,1802,2150,3143,3411,2589,2621,2380,1710,1586,1585,1460,1462,1581,1655,1735,1912,1879,2070,2060,2035,1982,1673,1794,2266,2363,2420,2476,2568,2611,2702,2160,1859,1763,2050,2311,2232,2753,2714,2429,2386,2424,1860,1436,1519,1852,1617,1992,2815,2072,1476,1837,2510,2165,2744,2368,2288,1810,1543,1592,1656,1551,1511,1539,1660,1980,2033,1948,1865,1791,1336,1619,2057,1980,1924,1796,1835,2590,3061,2578,2278,2194,1826,1960,2420,2645,2523,2381,2199,2097,2011,2130,1498,954,1314,1499,1575,1839,1891,1737,1750,2597,2662,2232,2664,2388,1700,1546,1849,1791,1692,1793,1829,1687,1546,1850,2110,2013,2031,2678,2994,2745,2876,2739,1728,1582,2016,2114,2185,2100,2236,2479,2535,2304,1901,1855,2048,1721,1660,1629,1550,1762,2009,2146,2218,2031,2093,2215,2127,1976,1935,1860,2047,2238,2057,1772,2211,2769,2368,2056,1954,1525,1537,1833,1746,2289,2270,2116,1890,2441,2590,2349,2270,2138,1743,1848,2274,2507,2385,2528,3469,3620,3273,3217,3378,2821,2243,2391,2413,2170,1897,1860,1876,1881,1911,1896,1844,1754,1920,1727,2013,2177,1766,2092,2852,3023,2909,2224,2563,2592,2570,2426,2215,2097,1831,1505,1448,1417,1345,1382,1543,1925,1878,2101,1995,1554,1306,1709,2545,2669,2430,2566,2224,2320,2590,3064,2809,2438,2182,1825,1880,1743,1656,1938,2226,2455,1928,1998,2071,2288,3090,3291,3542,3750,3061,2335,2301,1973,1758,2255,2804,3009,3153,2728,2253,1808,1626,2027,3088,3278,2906,2586,2712,2806,2579,2793,2421,2213,2750,2565,1870,1554,1893,2188,2056,2475,2930,2791,2113,1617,1581,1687,1621,1515,1374,1515,1668,1966,1961,1629,1467,1304,1500,1956,1949,1642,1533,1581,1699,1709,1641,1532,1876,2071,1800,1720,1645,1564,1745,2755,3274,3372,3650,3728,3561,3738,3421,2364,1788,1760,1882,2029,2141,2311,2061,1588,1817,2576,1840,1680,2683,2896,2934,2787,2756,3165,3321,2911,2026,1442,2389,3015,3752,3906,3709,3365,3021,2665,2231,2593,2909,2999,3294,3222,3061,3076,2340,2830,3232,2910,2288,1917,2350,2075,1753,1875,1953,1827,1997,2718,2504,2069,1921,1680,1962,2327,1968,1842,1784,1958,2318,2180,1703,2052,2004,2692,2895,2753,3130,3166,3223,3189,2520,1923,1263,1331,1899,2191,2002,2042,2321,2231,1923,1962,2071,1920,2171,2769,3139,3415,2394,2105,2111,1622,1783,2515,2235,1864,2173,2417,2128,1756,1876,2335,2791,2797,2614,2565,3065,3020,2216,2321,2445,1966,1952,2108,2420,2966,2967,2124,2392,3452,3477,3009,2736,2723,2586,2710,2686,3108,2446,1936,1973,2476,2199,1992,2053,2712,3032,2835,2166,2091,2586,2530,2417,2910,3125,3174,3592,3645,3197,2857,2828,2504,2276,2091,1857,2042,1981,2000,1693,1710,1769,1669,1612,2306,2576,2153,2360,2749,2439,2300,1969,1959,2332,2874,2880,2583,2647,2557,2268,1881,1758,1901,2221,3218,3633,2714,2128,2274,2468,2814,2842,2635,2325,1988,2230,2489,2665,2556,2543,2250,1871,1990,1769,2433,2842,2534,2553,2742,2398,1878,1539,1813,1997,1765,1823,1478,1668,1588,1751,1714,1652,1787,1713,1649,1715,2485,3145,2863,2574,2303,2387,2500,2513,2942,2898,2257,1644,1573,1986,1892,1570,1537,1685,1482,1479,2105,1937,1527,1773,2208,1945,2172,3167,3034,2655,2655,3633,3393,2696,2008,1905,2234,2294,2235,2414,2009,1894,2127,1996,2113,2609,3053,3200,2852,3127,3062,2827,2842,3175,3716,3782,3155,2975,2385,2568,3055,2763,2599,2589,2462,2727,2785,2637,2909,2728,1983,1731,1682,1924],[2762,2316,1938,2288,2831,2711,2132,2105,2089,1795,1882,1549,2084,2154,1985,1804,2001,1848,1566,1471,1913,2221,2007,2099,2216,2043,2186,1909,1984,1797,1788,1388,1901,2477,2208,2034,2286,2110,1948,2033,1898,1726,1720,1638,2000,1829,2182,2490,2166,1792,1501,1471,1747,1795,1849,1746,1877,1923,2224,2318,2380,2049,1656,1762,1797,1698,1628,1614,1462,1598,1876,1749,1640,1693,1849,1519,1709,2287,2187,1959,2242,2667,3120,2419,2019,2132,2135,2434,3010,2944,2221,1918,2183,2105,1986,2224,2120,2322,2078,2420,1858,1749,2322,2598,1904,1722,2090,2222,2330,1982,1846,1770,1752,1692,1739,1637,1602,2963,3118,2105,1740,1773,1590,1721,2220,1879,1917,1647,1958,1786,1792,1672,2010,2124,1738,1433,1372,1378,1483,1708,1866,2130,2126,1839,1941,2380,2678,2221,1843,2103,3257,3996,3463,2879,2742,2743,2360,2078,1595,1723,2188,2381,2202,2359,3296,3735,2987,2301,2541,2345,2094,2153,1786,2107,2359,2867,2668,2586,2963,2629,2024,2093,2356,1979,2316,3505,2644,2243,2290,2320,2083,1755,1787,2144,2534,2894,3376,3606,3465,2970,2839,2221,1682,2276,2040,1721,1680,1898,2456,3052,3103,3488,2864,3016,3149,2268,2156,2180,2088,2644,2150,1560,1639,1990,1754,1487,1639,1805,1777,2499,3304,2999,2681,2360,2148,1944,1785,1907,2402,2920,3522,3124,2190,2282,2265,2076,2163,2567,2612,2269,2323,2404,2444,3155,3250,2939,2808,2541,2830,2676,2018,1837,2048,2056,2194,2120,1726,1852,1924,1767,2001,2092,1941,1654,1501,2006,1947,1782,1665,1429,1508,1713,1947,1866,1643,1965,2071,1824,2025,1950,1586,1898,2370,2441,2084,2045,1936,1824,1750,1640,1592,1660,1836,2172,2545,2042,1570,1777,1952,1871,1924,2317,2330,1652,1729,1772,1696,2033,2070,1918,1646,1494,1538,1785,1674,1576,1580,1672,2076,1981,1649,1801,2214,1963,2188,3099,3583,3188,3011,2287,1907,2342,2350,2200,2421,2513,2896,2584,2061,2046,1804,1473,1632,1943,1708,1571,1984,2391,2571,2357,2476,2326,2256,2375,2125,1755,1997,2822,3219,2475,2325,2101,1887,2148,1891,1694,1555,1462,1722,1837,1816,1749,1706,1800,1879,1437,1456,1861,1808,1641,1685,1852,1860,1842,2058,1552,1726,1687,1957,2113,2448,2130,1907,2149,2143,2028,1875,1846,1780,1659,1774,1674,1714,1763,1842,1775,1873,1881,1950,2106,1914,1920,1906,1885,2719,3168,2476,1926,1595,1406,1434,1804,2298,2092,1819,2406,2809,2602,2668,2204,1758,1562,1914,1838,1862,2189,2216,2136,1804,1782,1862,1714,2228,2016,1759,1588,1813,1821,1749,2070,2052,1847,1939,2728,3519,3320,2666,2445,3060,2462,3141,3272,2921,2536,2389,2277,1915,1612,1444,1808,2160,2344,1704,1538,2229,2075,1550,1532,2039,1991,1681,2393,3002,2968,2564,2451,2470,2177,2492,3096,3528,2820,2224,1822,2054,2477,1938,1637,1436,1554,1523,1518,2172,2185,1830,1969,1948,1934,2106,2330,2312,1921,1569,1767,2840,2445,1593,2171,2502,2513,2358,2061,1768,1707,1821,1642,1712,2096,2030,1709,1495,1572,1566,1560,2122,2139,1830,1921,1866,1859,1665,1694,1935,1663,2104,2133,1893,2106,2388,2735,2978,2735,1920,1911,2492,2181,2115,1464,1609,1659,2178,2733,2768,2651,2701,2523,2236,2531,2471,2243,2393,2885,3053,2180,1712,1592,1714,2535,2544,1866,1747,1877,1700,1528,1614,1626,1882,1704,1644,1636,1522,1613,1612,1573,1667,1658,1751,1777,1669,1851,1718,1609,1748,1668,1560,1548,1471,1578,1552,1483,1562,1631,1709,1816,1650,1489,1533,1682,1728,1999,2070,1532,1460,1559,1485,1528,2003,2673,3942,4288,4062,3811,3974,4399,4451,4352,4168,4136,4188,3899,3328,2375,1835,1881,2588,2953,3407,3804,3054,2457,2942,3651,3742,4048,3941,3469,2830,2423,2157,2236,2763,3056,2608,2313,2308,2222,2062,1983,2083,2011,2039,2039,1921,1917,2340,2208,1712,1865,2155,2430,2125,1943,1914,1825,1916,1858,1764,1433,1509,1731,1918,2137,2193,2208,2152,2096,2094,1767,1533,1569,1760,1703,1580,1692,1738,1598,1747,1765,1643,1720,1809,2104,2487,2100,1831,1579,1588,1747,1865,2172,2402,1701,1626,1773,1478,1562,1736,1602,1524,1569,1768,1707,1823,1922,1668,1640,1638,1556,1576,1874,1808,1648,1742,1840,1563,1838,2895,3896,3842,3499,2852,2524,2454,2012,1160,1222,1894,2478,2137,2228,2262,2758,3010,2674,3388,3699,2596,2263,2059,1669,1549,1475,1798,2730,2763,2468,2787,2880,2824,2885,2645,2736,2077,1595,1453,1519,1582,1837,2107,1970,1592,1383,1320,1500,1611,1514,1544,1412,1534,2032,1926,1810,1693,1847,2250,2213,1941,1536,1434,1520,1399,1500,1350,1326,1471,1542,1772,1711,1434,1448,1312,1281,1432,1529,1606,1494,1402,1561,1864,2292,2427,2683,2382,1528,1220,1622,2192,1900,2461,2879,2071,1555,1472,1519,2126,2274,1656,1794,2078,1944,1854,2021,2534,2508,1958,1765,1781,2070,1959,1765,1982,1959,1613,1511,1620,1584,1530,1532,1644,1560,1895,1755,1581,1847,2002,1669,1776,2055,1642,1324,1354,1455,1528,1490,1592,1483,1428,1419,1757,2102,1842,1728,1882,2091,2054,1648,1488,1958,1797,1581,1629,1864,1769,1832,1868,1683,1794,1533,1427,1560,1355,1300,1445,1492,1810,2104,1630,1729,2462,2037,1598,1430,2156,2084,1896,1577,1503,1582,1527,1697,1789,1959,1944,1659,1620,1975,2145,2414,2617,2633,2328,2009,1747,1954,2457,2539,2684,3253,3105,3028,3111,2590,1766,1736,1767,1566,1250,1241,1352,1335,1378,1775,1758,1454,1555,1600,1649,1837,1766,1446,1447,1257,1307,1468,1241,1228,1418,1602,1692,1395,1267,1247,1434,1565,1732,1660,1890,2050,1987,2143,2658,3474,3312,2953,2806,2175,1970,2424,2742,2326,1920,2200,2088,2191,3081,2997,2570,2854,2674,2260,1779,1689,2310,2320,1822,2195,2497,2418,2237,2512,2398,2533,2246,1978,1882,2348,2226,2325,2301,2159,2399,2435,2094,2168,1784,1530,1910,2030,2081,1754,1751,1855,1907,1623,1776,2120,2231,2395,2922,3052,2546,2242,2204,2282,2225,2270,3022,3019,2383,2148,1982,2002,1756,1971,2544,2321,2691,2526,2366,1779,1442,1825,2139,3006,3694,3269,2067,1679,1860,1903,1908,1791,1566,1621,1751,1718,1538,1621,1954,2147,2098,1863,1996,2519,2574,2219,2348,2358,2414,2426,2226,1995,2043,1974,2034,2371,2238,2237,2610,2657,2702,2648,1995,1624,1548,1580,1562,2002,2622,1831,1678,1938,2071,2221,2297,2025,2019,1950,1658,1878,2160,2014,2041,1619,1352,1935,1784,1819,2120,1523,1085,1506,1686,1859,1842,1747,2206,1963,2578,2358,1869,2162,2230,2035,1960,2007,2186,1922,1712,2623,1931,1677,1653,1143,1182,1571,1758,2119,2008,1655,1735,2576,2813,2695,2706,1961,1687,2036,1992,1582,1560,1634,1626,1526,1358,1500,1848,2000,2132,2780,2879,2387,2264,2398,1912,1610,1549,1663,1807,2104,2621,2692,2533,2651,2536,2471,2260,1895,1544,1431,1654,2731,4042,3984,3271,2282,2082,2172,1865,1683,1815,1590,1970,1908,1666,1476,1731,1837,1507,1618,1829,1657,1888,1705,2002,2426,2097,1825,2010,2243,2508,2568,1838,1811,2171,2064,2402,2570,2496,2485,3407,3783,3453,3392,3442,2920,2184,2040,2272,2210,1725,1699,2326,2257,1688,1503,1424,1423,1512,1530,1858,2082,1731,1973,2786,2993,3007,2541,2602,2521,2304,2326,2199,1931,1716,1230,1224,1292,1380,1450,1667,2019,2312,2195,2463,2557,2208,2158,2564,3273,3662,2859,1764,1906,2410,2984,2621,2374,2153,1895,1753,1533,1760,2192,2226,2256,1986,2331,1910,2099,3407,3824,3282,3405,2950,2264,1934,1915,2076,2514,2463,1925,2172,1961,1797,1686,1888,2255,2332,2520,2788,2890,3074,2846,1922,1732,1710,1930,1937,2172,1873,1647,2054,2102,1853,2500,2850,2194,2092,1712,1746,1648,1549,1628,1621,1581,1945,2183,1838,1409,1323,1364,1572,1708,1775,1676,1737,1850,1925,1887,1760,1639,1643,1397,1430,1705,1677,1778,1942,2780,3410,3870,4112,3969,3796,3731,3566,3480,2821,2393,2298,2343,2281,2250,1947,2344,2714,3439,2820,2692,3277,3323,3265,2785,2717,3110,3022,1820,1669,2241,3146,3709,3978,3816,3694,3429,2963,2675,2243,2411,2633,2749,2900,2733,2566,2349,2280,3122,3300,2887,2496,2276,2087,2196,2103,2272,2280,2010,2280,2599,2137,1998,1983,1918,2236,2158,1888,1919,1748,1728,1942,2127,1963,2165,2251,2445,2198,2245,2686,2933,3199,2717,2402,2828,2370,1635,1481,1789,2206,2438,2639,2675,2226,2034,1968,1709,2309,3571,3565,3582,2609,1999,1922,1648,1720,1932,1836,1735,1969,2540,2799,2576,2078,2335,3231,2956,2367,2026,2234,2272,2232,2130,2309,2180,2242,2122,2720,3210,3210,2437,2266,2791,2957,2733,2756,3011,2710,2574,2515,3195,2494,1952,2356,2348,2178,1951,1982,2370,2627,2588,2688,2718,2243,2338,2127,2899,3527,3799,3638,3587,3746,3549,3294,2825,2300,2271,2032,2270,2045,1931,1770,2014,2082,1704,1942,2489,2271,2068,2410,2743,3062,2568,2189,1943,2127,2597,2222,2109,2451,2486,2241,1880,1813,2111,2179,2898,2679,2183,2280,2072,2008,2432,2705,2472,2178,2533,2805,2557,2640,2542,3052,2523,1874,1902,2556,3505,3306,2712,2720,2422,1760,1630,1613,1953,1974,2470,2062,1242,1342,1512,1620,1565,1761,1971,1707,1549,1590,2223,3022,2990,2800,2278,2118,2213,2308,2548,2342,1735,1648,1685,1961,1970,1788,1753,2130,2095,1720,1679,1633,1804,2309,2144,2565,2847,3111,2291,2200,2425,3285,3212,2655,1979,1931,2422,2303,2306,2791,2196,2060,2253,2058,2360,2272,2397,2357,2588,2978,3021,3088,3217,3205,3459,3654,3121,2548,2120,2089,2121,1844,2497,3282,3029,3024,3306,2998,2890,2296,1658,1532,1684,2470],[2937,2208,1757,2220,2824,2431,2315,2426,2299,1840,1907,1841,2230,1916,2138,2126,2481,2164,1617,1874,2320,2361,2132,2395,3151,2411,2271,2395,2621,2053,1575,1465,1864,2361,2624,2279,1885,2034,2076,2094,1929,1624,1906,1886,1794,1767,1729,1874,1963,1812,1500,1630,1543,1537,2046,1929,2018,1865,2223,2356,2341,2019,1522,1621,1681,1843,1901,1723,1509,1535,1909,1978,1704,1769,1870,1679,1721,2071,2145,1956,1864,2173,2476,2338,2222,2408,2072,2306,2786,2127,1768,2046,2446,2502,2278,2636,2316,2356,2455,2055,1536,1427,1867,2216,1759,1376,1570,2042,2522,2052,1851,1638,1547,1810,2037,1857,2366,3371,2758,1696,1929,1974,1654,1714,1578,1731,2098,1836,1958,2420,2398,2033,2032,2002,1593,1283,1513,1696,1578,1499,1814,2280,1874,1337,1584,1921,2005,1958,1926,2563,4079,4284,3895,3199,2141,1776,1581,1468,1703,1718,1804,1870,2187,3090,3575,3679,3630,2507,2303,2183,1699,1763,1793,2099,2483,2922,2978,2798,2906,2777,2315,2334,2644,1946,1662,2075,1898,2106,2448,2532,2332,2228,1925,2184,2687,2493,2808,3130,2457,2673,2808,2659,2005,1747,1853,1822,1770,1946,2627,2835,3121,3354,2684,2466,2531,1953,2098,2447,2699,2643,2114,1624,2025,2239,2121,2214,1983,2156,2188,2154,2230,2629,3405,3185,2147,1944,2024,2459,2867,3033,3255,2624,2080,2310,2058,1864,1779,1819,2199,2374,2616,2502,2548,3211,3278,2660,2425,2019,2146,2089,2301,2487,2070,2023,2305,2235,2026,2077,2078,1978,1885,1896,1640,1533,1810,1896,1930,2129,1660,1597,1932,2291,1989,1976,1837,2000,1955,1729,1966,1953,1821,2543,2989,2363,1811,2210,1915,1792,1705,1768,1832,1770,1606,1731,1995,1839,1670,1967,2181,1841,1597,1982,1714,1419,1509,1477,1657,1830,1927,1780,1450,1868,1854,1722,1694,2137,2258,2101,1729,1532,1675,1713,1667,2408,3296,3200,3444,3028,2953,2657,2003,2471,2277,1778,2064,2225,2396,2885,2929,2862,2310,1741,1918,2178,1798,1572,1731,1911,2089,2088,2111,2104,1903,2204,2467,1888,1764,2404,3320,2864,2216,1641,1730,2066,1906,1826,1528,1574,1776,1888,1951,2037,1739,1679,2060,1750,1547,1573,1400,1528,1581,1730,1919,2259,2499,1835,2461,1966,2042,2168,2325,2375,2336,2188,1875,1930,1809,2043,2019,2046,2176,2022,2101,1966,1754,1876,1943,1650,1813,2023,1594,1765,1647,2110,2667,2952,2019,1590,1472,1353,1489,1709,1919,2041,2397,2714,2703,2640,2974,2548,1990,1744,2189,2629,2959,3206,3205,2533,1806,1961,2025,2044,2510,2793,2194,1823,1966,1816,2051,2471,2254,1909,1859,2708,3002,2819,2282,2426,3051,3350,3598,3319,2973,2697,2355,2027,1820,1485,1576,2039,1962,1848,1691,1571,2394,2208,1887,2273,1982,1536,1703,2986,3252,2864,2479,2625,2555,2374,2465,2596,2675,2587,1945,1433,1369,1537,1472,1420,1338,1417,1449,1535,1583,1494,1520,1664,1797,1819,2141,2410,2226,2164,1730,1552,2658,2681,2064,2556,2449,2069,2088,1658,1741,1978,1977,1611,1551,1936,1891,1684,1820,1937,1973,2166,2366,1989,1823,2167,2024,2120,1925,1780,1627,1243,2602,3300,3107,3003,3145,3271,3116,2728,2122,2047,2652,2392,2229,2273,2270,2005,2001,2468,3113,3147,2610,2157,1777,2127,2305,2181,2322,2707,2570,2095,1803,1422,1547,2071,1882,1348,1518,1945,1792,1566,1667,1687,1778,1875,1918,1680,1504,1605,1627,1627,1727,1808,1564,1383,1449,1496,1606,1601,1505,1594,1647,1478,1481,1636,1766,1503,1352,1468,1728,1614,1462,1474,1437,1460,1491,1612,1692,1524,1557,1755,1650,1532,2085,2734,3660,3684,3378,3387,3683,4301,4381,4353,4304,3991,3938,3838,3318,2358,1926,2149,2918,3305,3597,3453,3111,2531,2551,2812,2143,3105,3740,3417,2887,2609,2246,2198,2565,2552,2257,2337,2466,2233,1935,1981,2132,2056,2049,1973,1841,1972,2368,2126,1619,1663,1835,2052,2264,2331,2444,2443,2642,2341,2001,1769,1680,1703,1786,1904,1932,2110,2195,2160,2346,2050,1788,1642,1766,1757,1681,1896,1744,1522,1770,1842,1465,1584,1732,1647,1645,1932,1812,1583,1810,2063,1990,2024,2060,1789,1626,1677,1509,1619,1942,1846,1618,1505,1515,1515,1710,1705,1559,1536,1656,1484,1851,1804,1606,1499,1655,1618,1728,2307,3550,3909,3537,3417,3204,3006,2599,1947,1593,1870,2271,2262,2103,2223,2368,2986,3174,2535,3497,3959,2985,2263,2160,1832,1549,1575,1888,2508,2812,2658,2739,2488,2374,2783,3041,2928,2447,1776,1509,1594,1803,1984,1931,1783,1644,1373,1404,1519,1649,1553,1682,1711,1672,1964,1804,1577,1462,1698,1936,1684,1543,1728,2375,2081,1286,1231,1527,1759,1804,1779,1835,1756,1558,1588,1551,1268,1317,1691,1917,1922,1623,1591,1396,1311,1867,2392,2102,1583,1202,1483,1997,1868,2858,2799,2540,2233,1785,1604,2416,2653,1633,1642,1853,1780,1876,1916,2231,2747,2357,1830,1805,2265,2380,1876,1791,2075,2320,1882,1734,1769,1805,1663,1455,1406,1942,2215,2272,2588,2335,1988,2298,1991,1565,1323,1250,1643,1935,2048,1750,1493,1663,1504,1610,1832,1782,1731,1888,2234,2196,1982,1686,1814,1980,1678,1440,1485,1524,1648,1693,1669,1675,1489,1402,1384,1503,1434,1502,1758,1864,1682,1528,1779,2080,1677,1477,1446,2134,2020,1823,1668,1515,1526,1627,1612,1754,1974,1923,1789,1722,1760,1967,2590,2736,2581,2193,1673,1543,1787,2084,2728,3032,3306,3206,3160,2776,1712,1550,1798,1864,1556,1412,1388,1378,1405,1463,1732,1600,1332,1506,1481,1497,1595,1560,1488,1482,1361,1469,1511,1329,1410,1437,1294,1599,1428,1528,1650,1411,1593,2087,1970,1938,1951,1978,2236,3017,3305,2976,2918,2854,2372,2337,2586,2545,2523,2635,2922,2634,2812,3355,2978,2540,2422,2777,2324,1820,1833,2227,2053,2242,2792,2942,2499,2380,2322,2324,2732,2580,2226,2110,1938,1685,2042,2481,2322,2342,2470,1813,1667,1771,1570,1970,2229,2071,2155,2348,2182,1926,1891,1769,1931,2449,2490,2810,2974,2530,2211,2252,2762,2798,2669,3288,3544,2685,2611,2138,2084,1816,1750,2170,2186,2389,2711,2502,1765,1609,1839,2063,2222,2467,2249,1739,1589,1995,1958,1904,1893,1708,2162,2509,1874,1565,1860,2319,2454,2829,2402,2215,2292,2593,2740,2294,1680,1953,2191,1793,1358,1481,1704,2084,2350,2286,2662,3056,2550,2573,2639,2194,1875,1661,1673,1783,1508,1593,1538,1561,1688,1743,1964,2052,1802,1762,2060,1836,2304,2324,1835,2201,1695,1686,1837,1450,1442,1709,1551,1359,1389,1436,1775,1799,2000,2158,1696,1766,1531,1674,2068,2416,2120,2104,2154,1920,2107,2117,2661,2168,2621,2419,1816,1595,1628,1754,2047,1981,1628,1691,2218,2575,2552,2439,1930,2042,2068,1704,1464,1541,1695,1711,1670,1956,2093,2237,2488,2484,3090,2857,2216,1871,1784,1612,1550,1555,1500,1603,1860,2457,2832,2651,2237,1938,2304,2176,1966,1780,1749,1632,2198,3523,3646,3248,2375,2026,1890,1669,1725,1725,1482,1627,1533,1471,1284,1183,1166,1115,1354,1778,2276,2008,1939,2086,2040,1903,1752,2063,2295,2362,2734,2476,2619,2383,2079,2363,2422,2622,2521,3118,3786,3592,3483,3297,2977,2200,1656,1686,1589,1371,1292,1435,1218,1188,1277,1372,1548,1646,1654,1876,2117,1760,1976,2692,2964,2967,2463,2061,2160,2159,2083,1989,2209,2074,1582,1961,1719,1817,1941,1707,1536,2129,2697,3140,2878,2214,1802,2197,3008,3278,2532,1816,1981,2543,3106,2942,2231,1804,1882,1911,1843,1996,2194,2165,1537,1587,1647,1937,2466,3905,3931,3167,3146,2609,2300,2476,2574,2441,2319,2378,2196,2473,1894,1470,1824,2153,1957,1921,2239,2631,2844,2845,2334,1623,1349,1597,1787,1430,1750,2138,2108,2208,1952,1829,2340,2351,2011,2109,1709,1524,1461,1412,1707,1738,1730,2220,2407,2125,1359,1448,2219,2281,2055,1929,1907,2145,2151,1818,1807,1794,1559,1421,1395,1547,1772,2225,2647,2547,3118,3718,4080,4239,4061,3459,2796,3241,4180,3908,3541,3492,3096,2846,2612,2480,2656,3110,3481,3375,3384,3222,3150,3214,3031,3174,2819,1916,1620,2475,3264,3598,3706,3724,3591,3443,3149,2952,2755,2172,2234,2321,1909,1727,2060,2156,2046,2390,3174,3348,2443,2123,2172,1815,1923,2206,2475,2823,2614,2809,2567,2332,2326,2059,2144,2530,2241,1997,2421,2612,2608,2368,2075,2077,2383,2521,2126,1886,1672,1977,2154,2646,2227,2767,3047,2875,2339,2042,2276,2419,2169,2465,2957,2736,2353,2374,2426,2792,3146,3818,3710,2396,1570,1709,1764,1708,1787,1699,1712,1760,2003,2668,2810,2430,2938,3394,3408,2857,2261,2186,2128,2083,1978,2302,2597,3276,2911,3124,3177,3142,2775,2666,2893,2929,2754,3132,2811,2247,2019,2425,3293,2774,2403,2369,2303,2188,2003,2358,2448,2670,2639,2685,2342,2049,2343,2402,3053,3752,4233,3814,3452,3452,3393,3443,2644,2119,2311,2294,2263,2131,2227,2278,2243,2321,2087,2174,2775,2438,2052,2253,2685,3551,3244,2697,2363,2208,1900,1713,2004,2285,2149,1931,1807,1809,1923,1924,2340,2297,2131,2242,2214,1797,2142,2691,2309,2125,2788,3370,2706,2122,2196,3074,2559,1902,2520,3487,3750,3238,2664,2473,2598,1809,1523,1814,1909,1800,2049,1807,1543,1601,1698,1820,1668,1728,1754,1773,1559,1512,2109,3062,3082,2858,2508,2404,2546,2444,2548,2314,1846,1909,1829,1998,2040,1698,1573,1942,2344,1792,1402,1627,1930,2482,2199,2599,2684,2647,1886,1564,1943,2625,2845,2835,2410,2097,2467,2473,2059,2524,2540,2468,2353,2134,2401,2025,2044,2733,3253,3472,3399,2998,2983,3447,3553,3616,3041,2165,1785,2039,2219,2671,3452,3400,2877,2967,3465,3374,2738,1851,1645,1659,2002,2642],[3355,2855,2061,2180,2524,2284,2359,2014,1781,2167,1903,2084,1992,1603,1926,2931,3530,2785,2197,2583,2482,2561,2037,2080,2210,1929,1819,1665,1930,2035,1716,1806,1848,1831,2073,2445,2172,1902,2113,2099,1785,1352,1870,2070,1738,1760,1450,1472,1478,1596,1490,1552,1550,1659,1997,2131,2756,2420,2746,3244,2879,2382,1665,1454,1483,1853,2282,1975,1645,1566,1679,1787,1757,1792,2333,2525,2140,2040,2266,1997,1944,1710,1604,1741,1852,2002,1912,2266,2458,1815,1670,1822,2265,2497,2210,2679,2237,2260,2500,1804,1330,1582,2094,2388,2041,1769,1658,1828,1951,2078,2055,2148,2019,2216,2932,2799,2590,2851,2209,1785,1819,1956,1935,2138,1702,2236,2026,1754,1964,2107,2105,2035,1606,1578,1454,1384,1826,1949,1708,1687,1990,2509,1970,1266,1587,1802,1846,1887,2034,2592,3143,3018,3195,2464,1822,1728,1571,2086,2710,2374,2279,2303,2932,3428,3383,3065,2765,1879,2043,2010,1886,1864,2052,2574,2710,2595,2337,2253,2802,2951,2812,3030,2686,1917,1547,1596,1728,2027,2430,2164,2024,2122,1809,1786,1958,2246,2822,2806,1700,1769,2698,2889,2186,1529,1819,2056,2029,2330,3134,2865,2814,2908,2446,2084,2125,1866,1959,2457,2382,1985,2004,1674,1914,2295,2580,2927,2237,2196,2229,1969,2284,3131,3364,2871,2468,2322,2938,2959,2698,2144,2198,2498,2639,2387,1947,1771,1874,2053,2620,2725,2360,2168,2836,3273,2928,2120,1868,1591,1936,2481,2893,3089,2792,2895,2814,2185,2302,2879,3287,3142,2479,1877,1593,1659,1809,1606,1636,1810,1698,2178,2336,2271,2217,1848,1885,2259,2261,2127,2065,1956,2268,2974,2853,1760,1669,1820,1879,1748,1733,1890,2236,2226,1820,1952,2289,2074,2030,1729,1694,1604,1646,1765,1687,1608,1569,1471,1615,1849,1721,1691,2103,2432,2354,2175,1948,1860,2149,2011,1564,1468,1503,1733,2259,2596,2066,2364,2957,3204,2974,2542,2295,2486,2186,2248,2840,3007,2883,3061,2548,3069,3296,2467,2194,2835,2250,1854,1880,1895,2193,2118,2050,2127,1858,1858,2229,1884,1648,1858,2740,2615,1946,1649,1889,2114,1835,1702,1597,1599,1621,2207,1938,1593,1372,1565,1881,1746,1703,1592,1660,1791,1887,2049,2346,2933,2695,1952,2268,2054,1990,1952,1676,1879,2009,2049,1659,1775,1590,1599,1618,1692,1789,1866,1940,1950,1988,2105,1891,1680,1866,1920,1976,1726,1580,1765,1836,2063,1994,1789,1579,1525,1516,1614,1926,2193,2699,3219,2715,2127,2210,2016,1805,1803,2113,2556,2350,2649,3368,2424,1802,2050,2115,2536,2714,2891,2365,1744,2065,2058,1692,1571,1691,1682,1637,1816,2105,2328,2019,2553,3298,3621,3500,3586,3560,3231,2092,1931,1628,1466,1533,1650,1666,1922,2040,1930,2120,2036,2138,2522,1770,1397,1732,2921,3211,3056,2580,2455,2303,2374,2627,2238,1875,2351,1934,1727,1660,1552,1951,1708,1441,1386,1423,1526,1512,1520,1539,1570,1934,2589,2543,2007,1962,1979,1691,1643,1990,2145,2377,2698,2190,1740,1846,1590,1854,1901,1847,1499,1470,1793,1748,1742,2156,2482,2685,2754,2135,1738,1961,1975,1913,1876,2136,2176,1583,1387,2431,3385,3204,3250,3253,3117,2989,3250,3370,3204,3261,3045,2998,3069,2932,2751,2531,2563,2867,2737,2182,1863,1841,2237,2241,2087,2216,2316,2299,2183,1750,1497,1592,1787,1896,1555,1674,2088,1798,1963,2181,2083,1882,1956,2336,1902,1477,1635,1762,1696,1853,1970,1570,1354,1455,1606,1890,1730,1430,1577,1533,1628,1519,1691,1859,1532,1339,1398,1702,2043,1952,1638,1527,1493,1432,1497,1770,1679,1613,1599,1681,1648,1736,2131,2746,3300,3640,3804,3761,3969,4303,4460,4392,3872,3663,3447,2654,2295,2630,2958,3082,3295,3704,3233,3116,3073,2817,2687,2022,2621,3516,3629,3403,2952,2568,2712,2784,2309,2254,2488,2500,2203,1931,1980,2112,2105,2073,1951,1853,1997,2023,1767,1633,1555,1730,1798,1766,1930,2495,3097,3364,3104,2562,1835,1663,1569,1540,1559,1708,1940,2034,2119,2186,2089,1883,1643,1632,1732,1703,1788,1631,1385,1458,1610,1484,1738,1727,1624,1808,1921,1808,1820,1822,1962,2144,1950,1714,1737,1722,1823,1784,2093,2156,1835,1654,1512,1459,1424,1651,1726,1770,1778,1967,1649,1854,1843,1551,1603,1640,1506,1722,2445,3597,3598,3252,3265,3452,3112,2411,1924,1901,1781,1750,1941,2154,2574,2503,2545,2366,2167,3217,3997,3227,2253,2248,1983,1499,1727,1758,2010,2396,2490,2458,1937,1658,2406,3044,2931,2402,1955,1909,1924,2273,2346,2134,2238,1866,1481,1399,1690,1913,1747,1682,1599,1691,1870,1632,1554,1466,1650,1882,2251,1936,1964,2730,2217,1622,2177,2678,2776,2558,2196,2361,2630,1741,1628,1637,1327,1582,1833,2091,2176,1804,1565,1425,1499,1766,1757,1750,1711,1583,1633,1735,1712,2251,2309,2469,2288,1956,1642,1572,1588,1611,1578,1453,1690,1621,1715,2192,2856,2668,2187,1920,1820,1790,1785,1971,1665,1968,1848,1780,1960,1689,1673,1697,1504,1695,2012,2031,1821,1707,2121,2548,2001,2084,1771,1690,2432,2867,2574,1674,1599,2006,1686,1487,1535,1400,1422,1451,1783,1973,2180,2214,2093,1722,1576,1552,1832,1649,1706,1770,2226,1816,1499,1418,1422,1479,1384,1443,1880,2181,1545,1346,1548,1779,1807,1544,1476,1529,1448,1440,1380,1371,1546,1614,1591,1658,1657,1911,1939,1713,1977,2384,2290,2492,2439,2238,2013,1875,2165,1924,2501,3045,3440,3247,2933,2074,1504,1614,1985,1814,1425,1467,1651,1580,1416,1358,1480,1471,1387,1385,1412,1503,1482,1551,1577,1459,1494,1445,1560,1615,1686,1665,1842,1947,1934,2129,1781,1475,2202,2945,2856,2820,2879,2363,2255,2756,2979,2716,2767,2909,2930,3334,3090,2445,2877,2836,2554,2954,3305,3272,2767,2438,2443,2788,2994,2615,2482,2721,2753,2923,3561,3140,2496,2788,2740,2303,2289,2428,2381,1986,1750,1854,1853,2056,2133,2211,2387,1789,1731,1852,1854,2420,2413,2324,2728,3010,3031,3377,3360,2646,2409,2640,2320,2206,2395,2160,2421,2627,2431,2553,2484,2775,3120,2709,2637,2133,1689,1678,1734,1742,1719,1943,2326,2068,1730,1843,1854,2293,1854,1972,2055,2367,2115,2132,2109,2043,1866,1819,2150,1883,1454,2243,2218,2169,2752,3187,2707,2310,2481,2427,2348,2008,1665,2068,2388,2004,1363,1402,1441,2149,2408,2290,2202,2907,3550,3053,2478,2570,1919,1650,1816,1703,1382,1525,1611,1642,1633,1698,1836,2038,1663,1372,1691,2097,2517,2719,1988,1740,1550,1888,1852,1766,1843,1814,1561,1358,1657,1849,2446,2046,2223,1924,1897,1650,1566,1554,1555,1936,2411,2468,2293,1873,2331,2497,2423,1995,2502,2980,2789,2212,1726,1505,1956,2310,2191,1888,2326,1980,1669,1875,2030,2676,2677,1853,1433,1536,1721,1590,1904,2256,2192,2006,2755,3338,3571,3338,2499,1636,1492,1597,1792,1902,1542,1493,1571,2565,2698,2470,1833,1427,2084,2514,2100,1873,2014,1798,1568,2355,3275,2888,2058,1926,1807,1490,1781,1799,1718,1786,1475,1419,1236,1125,1173,1229,1567,2051,3084,2544,2085,2099,2046,1996,1866,1941,2136,2374,2792,2875,2854,2221,2029,1937,2058,2755,2642,2697,3614,3362,3454,3334,3034,2137,1628,1322,1228,1259,1229,1176,1260,1505,1676,1714,2018,2531,2150,1926,2119,1826,2017,2533,2602,2574,2209,2121,2269,2026,1708,1817,2521,2358,2105,2801,2405,1990,1652,1466,1707,2055,2615,3057,2681,1887,1428,1797,2497,2698,2404,2086,2589,3256,3370,3020,2484,1904,1739,1799,1892,2274,2226,2206,1784,1648,1982,2796,3487,3864,3176,2292,2559,2348,2624,2750,3043,2762,1945,1859,1865,1676,1421,1450,1786,2212,2400,2293,2246,2241,2007,1977,1888,1624,1771,1970,1721,1444,1715,2121,2214,2182,2107,1787,1828,1749,1954,1785,1602,1586,1579,1465,1642,1610,1859,2946,3248,2720,1476,1599,2727,3204,2624,1825,1588,2357,3105,2641,2363,1714,1741,1652,1498,1591,1871,2822,3012,2520,2658,3532,3867,3955,3597,3291,1955,2109,3624,3903,3407,3320,3027,2931,2909,2854,3073,3416,3435,3436,3013,2904,3479,3616,3284,3141,2546,2020,2624,3472,3540,3415,3498,3530,3304,3355,3062,2758,2275,1951,2125,2050,1947,2056,2044,1961,2013,2363,3156,3310,2983,2855,2179,1562,1637,1953,2666,2998,3039,3222,3261,2856,2906,2832,2937,3153,3110,2584,2476,2403,2260,2166,2052,1919,1887,1903,2244,2442,1908,1836,1666,1949,2189,2488,2799,2614,2023,2092,2488,2581,2097,2236,2440,2651,2224,2548,2430,2319,3228,3670,2831,2206,1947,2024,2014,1631,1708,1719,1866,1766,1718,2429,2108,1998,2936,3160,2590,2534,2822,2244,1844,1988,2132,2382,2777,2680,2413,2474,2722,2886,2643,2558,2995,2498,2613,2909,2351,2041,2698,2789,3119,3212,2540,2318,2719,2504,2589,2988,2657,2742,2402,2177,2178,2308,2532,2642,2573,3282,3985,3364,3306,2598,2453,2800,2052,1897,2170,2277,2449,2084,2128,2443,2228,2402,2618,2742,3735,3173,2204,2105,2893,3703,3204,2393,2102,2204,2317,1998,1768,1757,2061,2030,2070,1633,1470,1656,1998,2488,2204,1892,2119,1848,1813,2101,2185,1986,2673,3436,2877,2137,2085,2268,1808,1972,2887,3570,3542,2906,2125,1974,2192,1670,1760,2308,2024,1672,1992,2141,1915,1889,1534,1699,1718,1564,1794,2069,1786,1538,1964,2733,2978,2745,2424,2334,2514,2370,2222,2320,2362,2114,1885,2020,1987,1765,1647,1813,2114,1867,1737,1692,2039,2103,2009,1959,2237,2190,1726,1749,2286,2598,2675,2989,2703,2271,2705,2618,2941,2836,1979,1891,1789,1741,2171,2532,2846,2844,3154,3576,3333,2964,3460,3555,3399,3452,3332,2898,2680,2872,2999,3510,3565,3072,2634,2337,2865,3200,2509,1914,1831,2054,2324,2540],[3543,3773,2714,2186,2456,2693,2434,1656,1678,2340,2247,2295,2115,1521,2030,3400,3483,2788,2526,2634,2504,2237,1961,2164,2031,1812,1767,1598,1477,1653,1825,1826,1905,2141,2015,2098,2613,2231,1893,1916,1810,1838,2502,2456,1678,1595,1803,1544,1712,1637,1792,1699,1683,1918,1936,2487,2523,1847,2533,2918,2255,2182,1932,1618,1741,2201,2437,2165,1708,1588,1668,1560,1516,1790,2737,3263,2713,2423,2676,2515,2149,1809,1699,1906,2036,1989,1823,1723,1834,1820,1882,2425,3362,3141,2001,2064,2241,2518,2476,1721,1398,1493,1529,1471,1553,1663,1932,2182,2253,2552,2596,2459,2076,2697,3528,3061,2480,2705,2359,1775,1543,1671,1619,1809,1909,2415,2342,1688,1756,1907,1614,1709,1544,1542,1530,1478,1796,1796,1836,2087,2150,2207,1747,1102,1473,1543,1886,1886,2235,2360,2312,2408,2607,2280,1986,1973,1934,2499,2934,2314,2187,2139,2768,2875,2609,2022,1704,1684,1777,1730,1734,2092,2745,3118,2814,2553,2757,2228,2646,2611,2461,2604,2317,1861,1758,1844,1741,2037,2227,1842,2024,2056,1864,1730,1675,1899,2292,2614,2536,2661,2863,2499,2187,1829,1856,2279,2219,2227,2238,2215,2589,2935,2731,2364,2185,1812,1931,2321,1835,1549,1937,1995,1923,2219,2462,2297,1827,2046,2366,2348,2641,3019,2426,2239,2172,1764,2028,2274,2329,1616,1355,2271,2552,2186,2234,2042,2520,2303,2488,2670,2558,2989,3357,2940,2116,1888,2003,2036,2430,3120,3100,2830,2907,2671,2503,1994,1905,2994,3623,3492,2825,2013,1824,1910,1928,1533,1600,1737,2171,3119,2563,2186,2404,1955,2046,2336,2171,1863,1634,1759,2286,2999,2985,2008,1921,2010,1946,1823,1869,1946,2065,1931,2314,2342,2386,2369,2181,1870,1747,1620,1717,1787,1798,1815,1684,1508,1929,2074,1863,2237,2565,2160,1952,2092,1872,1665,1825,1583,1518,1516,1576,2022,2384,1930,1811,2590,2883,3479,3598,3023,2943,2686,2011,2100,2511,3261,3189,3100,2470,2465,3208,2841,2872,3068,2442,2257,2274,1983,1861,1970,2256,1800,1787,1856,2303,2484,1983,1606,2134,2490,1993,1722,1882,2438,1920,1939,1794,1590,1462,1948,1982,1567,1561,1737,1613,1699,1559,1549,1862,1874,2405,2493,2083,1903,1841,1819,1833,1542,1561,2168,1929,2260,2033,2125,1751,1845,2315,2464,2004,1475,1629,1825,1655,1692,1989,2041,2020,2249,2091,1948,2129,1833,2102,2164,1900,2086,2187,1958,2427,2171,1585,1664,1651,1859,2907,2808,2187,1880,1799,1976,1741,1647,1931,2162,1831,2765,3471,2427,1779,1851,2242,2616,2496,2673,2371,1662,1691,1499,1526,1531,1962,1938,1678,2034,2426,2210,2303,2966,4039,4429,3835,3045,3086,3560,2516,1916,2409,2590,2227,1813,1848,2480,2363,2312,2254,2025,1986,2116,1678,1479,2208,2724,3130,3145,2665,2325,1923,1764,2307,2341,1865,1636,1396,1710,2005,1962,1992,1674,1492,1502,1400,1440,1585,1611,1460,1587,2057,2670,2689,2388,2646,2362,1870,1642,1753,1966,2004,2299,1978,1824,1726,1559,1642,1823,1845,1558,1558,1976,2017,1744,1960,2245,2501,2366,1758,1749,2439,2303,1870,1706,2746,2723,1733,1756,2273,3027,2620,2966,3036,3199,2921,3536,3616,3263,3340,3330,3495,3521,3239,3328,3501,3240,2656,2438,2108,1796,2064,2378,2163,1967,2106,2300,2408,2537,2310,1793,1795,1853,2030,1868,2321,2732,2117,2174,2500,2077,1839,1748,2265,1996,1811,1997,2307,2070,2114,2240,1836,1592,1658,1908,2214,2154,2062,1896,1427,1478,1852,2668,2074,1545,1459,1430,1749,2425,2386,1797,1722,1715,1550,1524,1796,1652,1471,1394,1531,1523,1760,2116,2347,2831,3601,3955,3888,4020,4332,4427,4303,3902,3765,3267,2187,1964,2567,3084,3088,3629,4124,3851,3293,3430,2871,1771,1503,1795,2010,2456,2780,2235,2060,2533,2830,2463,2361,2626,2561,2187,1943,1989,2145,2170,2076,1865,1914,2341,2663,2453,1849,1597,1531,1614,1523,1590,1874,2289,2890,3105,2370,1626,1577,1793,1671,1538,1641,2034,2122,2061,2082,2264,2207,2048,1849,1742,1716,1670,1521,1505,1566,1721,1664,1540,1639,1876,1796,1675,1619,1632,1773,2172,2165,1888,2159,2011,1801,2302,2526,2103,1726,1647,1649,1676,1628,1417,1486,1744,1885,2033,2045,1782,1866,1906,1743,1722,1685,1811,1935,2612,2761,2407,2048,2148,2413,2295,2051,1782,1578,1831,2064,2243,2172,2530,2823,3006,2534,2363,3006,3581,2855,2104,2174,2002,1760,1979,1803,1929,1843,1882,1685,1634,1611,2123,2775,2860,2414,1918,2222,2135,2146,2234,2373,2572,2015,1537,1311,1694,2099,1886,1635,1360,1411,1765,1800,1808,1720,1574,1708,2099,1900,1876,2066,1682,2059,2841,2766,2630,2552,2297,2104,2061,1623,1930,1798,1482,1794,1975,2091,2260,2165,1798,1539,1500,1465,1515,1836,1781,1824,1798,1588,1600,1830,2047,1977,1829,1952,1457,1418,1817,1754,1582,1570,1560,1704,1907,2276,2463,2399,2005,1830,1636,1615,1794,2241,1652,1911,1908,1761,1943,1829,1868,1893,1681,1468,1880,1937,1559,1717,2687,2621,1798,2165,1931,2043,2981,3134,2584,1645,1576,1848,1882,2022,2059,1678,1629,1917,1893,1808,1886,1853,1774,1764,1531,1646,2151,1666,1489,1562,1989,1716,1486,1577,1563,1704,1533,1461,1686,2176,1984,1478,1399,1801,2187,1974,1511,1344,1395,1377,1242,1423,1795,1697,1516,1447,1521,1839,1890,1745,2165,2226,2250,2592,2504,2424,2254,2140,2400,2057,2313,3190,3600,3212,2357,1832,1690,1771,2342,2181,1698,1632,1514,1196,1120,1260,1417,1411,1377,1367,1438,1563,1473,1370,1315,1482,1625,1683,1565,1471,1826,1949,2227,2185,2167,2152,1592,1735,2977,3617,3585,3508,3173,2543,2680,2209,1878,2452,2665,2588,2773,3256,3041,2292,2197,2010,2026,2256,2709,2872,2430,1868,1637,2392,3089,2916,2961,2942,3046,2701,3249,2617,2259,2352,2754,2189,1895,2197,2256,2015,1843,1873,1781,1933,1929,2302,2183,1616,1545,1942,1936,1853,1754,2142,2787,2918,2961,3405,3429,2891,2763,2996,2389,2276,2541,2149,1804,1974,2425,2258,2191,2701,2647,2518,2056,2031,1305,1509,1754,1495,1786,1999,1936,1889,2107,2221,1897,2159,1706,2062,2603,2679,2292,1907,1836,2031,1990,2079,2180,1816,2163,2833,2308,1950,2567,3154,2873,2356,1973,1959,1927,1868,1635,2081,3002,3153,2763,2181,2248,2724,2557,2387,2230,3213,3646,2663,2180,2521,2020,1525,1653,1654,1493,1764,1672,1443,1951,2255,2183,2403,2026,1779,1937,2237,2156,2023,1714,1409,1536,1841,1574,1456,1313,1758,1592,951,1499,2043,2163,1952,1787,1906,2356,1979,1662,1504,1471,1349,1632,1545,1460,1522,1711,1771,1837,1648,1897,2156,1924,1729,1910,1923,2114,2570,2815,2034,2501,1997,1908,2016,1629,1792,2274,1993,1569,1498,1554,1628,1881,1725,1571,1584,1870,2721,2873,2353,2208,2112,1787,1701,1641,1665,1554,1447,1565,1788,2305,2626,2258,1830,2167,2601,1774,1533,2004,1778,1550,1673,1788,1694,1659,1854,1753,1395,1341,1460,1683,1704,1371,1352,1305,1323,1223,1427,1699,2178,2318,1834,2036,2187,2221,2132,2022,2176,2417,2409,2405,2569,2541,2008,1699,1616,1954,2953,2799,2396,3382,3140,3474,3498,2972,2179,1694,1269,1233,1481,1339,1207,1255,1614,1872,1855,2059,2601,2185,1926,2081,1900,1967,1955,1725,1653,1842,2255,2217,2011,1788,1703,1975,1899,1740,2003,2113,1930,1411,1344,1541,1881,2192,2565,2493,1665,1469,1694,2183,2784,2829,3030,3078,2950,3369,3167,2530,2442,1913,1706,2047,2178,1907,1718,1854,2312,2310,2621,3284,2911,2290,1931,2292,2712,3146,2817,2859,2834,2055,1467,1640,1909,1453,1486,1779,2077,2298,1903,1615,1518,1639,1928,2064,2071,2124,1967,1752,1938,1902,1586,1722,2148,2278,1975,1762,1808,1784,1557,1643,1858,1937,1792,2163,2329,2373,2488,2152,1888,1566,1791,2724,2930,2052,1995,2280,2305,2054,2388,2391,1538,1695,1695,1709,1600,1655,1904,2350,2218,2163,3328,3185,3928,3650,3626,2058,1819,3219,3487,3300,3287,3040,3167,3328,3216,3412,3691,3550,3570,3231,3454,4476,4200,3287,2943,2666,2568,3178,3357,3334,3293,3322,3108,3139,3513,3298,2796,2566,2214,1897,1943,2080,2169,2009,1932,2087,2533,2585,2526,2644,2421,1967,1714,1740,2058,2767,3354,3533,3146,2963,2730,3069,3264,2814,2379,2795,2795,2480,2445,2212,2184,2048,1869,1804,1932,2518,2364,1903,1584,1943,2515,2612,2490,2584,2411,1858,1871,2171,2259,2182,2118,2106,2393,2629,2806,2761,2996,3387,3372,2705,2440,2785,2630,2169,1766,1560,1711,1791,1660,1667,1919,1983,2285,3174,3020,2408,2513,2822,2225,2083,2525,2384,2331,2302,2314,2245,1489,1797,2337,2351,2461,2896,2519,2842,2561,2307,2523,3358,3106,2722,3211,3002,2200,2142,2455,2754,3029,2769,2679,2426,2247,2348,2460,2554,2533,2658,3508,3437,3106,3414,2755,2039,1920,1732,1785,2122,2408,2304,2023,2026,2017,1935,2078,2181,2508,3533,3311,2337,2153,2863,2962,2167,1909,2001,2385,2078,1708,1676,1935,2337,2290,1992,1539,1560,1804,2152,2541,2281,2018,2210,2286,2442,2471,2620,2342,3187,3515,2849,2242,1975,1911,1836,2030,2441,3112,3334,2707,2247,2006,1842,1713,2160,2388,1793,1703,2295,2085,1814,1719,1512,1677,1954,1853,3223,3286,1884,1448,1730,2251,2356,2204,1996,1987,2298,2002,2276,2552,2504,2403,2531,2725,2458,1970,1957,2052,2255,2040,1860,1918,2243,2267,2277,2093,2081,1991,1787,1909,2487,2369,2166,3196,3078,2379,2625,2698,3135,2510,1536,1505,1741,1758,1652,2454,3299,3518,3495,3636,3526,3162,3439,3588,3522,3226,3011,2997,3212,3294,3088,3072,3056,3226,2521,1913,2423,2676,2281,2025,2077,2273,2372,2367],[3517,3749,2339,1891,1990,1945,2185,1976,2446,2851,2624,2833,2629,1775,2612,2847,2503,2021,2317,2634,2281,1864,1766,1923,2131,1815,1715,1874,1592,1624,1776,1961,2164,2544,3244,2480,2000,2057,1984,1817,1857,2071,1829,1907,1781,2048,2258,1750,1732,1753,1937,1649,1743,1980,1783,2136,2445,1926,1940,1978,2135,2336,2186,1873,1672,2025,2150,1887,1701,1549,1627,1234,1148,1491,2166,3031,2841,2756,2814,2690,2568,2610,2352,1741,1633,2366,2194,2230,1974,1888,1958,2919,4050,3199,1869,1983,2573,2719,2079,1641,1516,1528,1617,1520,1408,1847,2835,3233,3134,3019,3300,3083,2584,3663,3818,3181,2001,2633,2618,1616,1957,2144,1736,1594,1582,2015,2136,1687,1775,1755,1466,1698,1838,1810,1958,1804,1600,1634,1563,1663,1867,1716,1510,1237,1375,1362,1814,1907,2464,2563,2406,2407,2210,1631,1608,1852,1953,2732,2891,1927,1918,2126,2878,2436,1608,1597,1802,1652,1688,1700,1842,1659,2153,2786,2668,2191,2885,2547,2736,2486,1942,2349,2404,2007,1887,2138,2236,1961,1836,1668,1758,1775,1862,1947,2031,1967,1804,2045,2493,2913,2403,2415,2238,2150,2111,2370,2297,2686,2219,2161,3120,3311,2922,2432,1862,1509,1681,2238,1982,1722,1966,1946,2020,2433,2508,2198,1798,1864,2170,2517,3178,3204,2512,2017,1780,1682,1600,1900,2142,1728,1389,1484,1791,1837,2054,2343,2610,2612,2696,2995,2868,2776,2812,2499,2124,1707,2070,2724,2142,2394,3133,2657,2260,2047,2492,2138,1776,2539,3219,3078,2265,1773,1659,1634,1881,1554,1682,1652,1648,2088,2109,1952,1768,1923,2197,1848,1595,1365,1544,1926,1977,3024,3254,2467,2406,2548,1901,1732,1739,2176,2040,2026,2285,2415,2098,2316,2392,2136,1960,1813,1720,1839,1743,1519,1515,1592,1821,1645,1659,1776,1913,1995,1818,2056,2208,1996,1736,1592,1664,1303,1309,1886,1833,1544,2201,2943,2752,3207,3707,2984,2502,2294,2088,1995,2227,3072,3040,2525,2508,2603,2850,3428,3738,3325,2595,2195,1756,1652,2014,2108,2128,1724,1680,1845,2406,2725,2311,1636,2030,2428,1880,1670,1965,2825,2012,1869,1855,1732,1528,1758,2014,1758,1709,1699,1548,1669,1561,1917,1852,1663,2232,2019,1676,1760,1760,1783,1979,1715,1607,2062,2144,2292,2028,1959,2018,2054,2207,2393,1948,1636,2160,1788,1513,1651,2336,2145,1635,1841,1924,1821,1973,2143,2207,2182,2156,2178,2011,2025,2952,2396,1735,1648,1570,1825,2186,2083,2081,1791,1866,1835,1470,1843,2076,1941,1820,2930,3842,2754,1953,2064,2044,2409,2452,2684,2267,1669,1483,1460,1567,1435,1843,1912,1585,1722,2004,2024,2014,2631,4344,4152,3531,2249,2569,3205,2856,2611,3308,3175,2742,2385,2088,2139,1890,2427,2880,2299,2302,2746,2719,2309,2399,2329,2244,2431,2419,2259,2060,1633,1890,1855,1709,1405,1420,2053,2321,1897,1584,1493,1418,1456,1440,1453,1688,1831,1489,1489,2004,2167,2000,2076,2196,2064,1698,1409,1935,2278,2166,2154,2129,1924,1622,1487,1422,1738,1792,1470,1534,1852,1780,1246,1110,1147,1948,2017,1686,1953,2486,2492,2095,1852,2364,2425,1772,2029,2686,3301,2900,3252,3549,3124,3140,3505,2959,3030,3584,3118,3228,3356,3144,3351,3537,2734,2494,2555,2214,2105,2318,2244,2042,2109,1885,2150,2302,2566,2390,2406,2074,1652,1851,2277,2907,3022,2327,1917,1868,1890,1979,1684,2270,2336,2125,2365,2472,2207,2437,2365,1860,1788,1798,1766,1712,2211,2020,1655,1422,1538,1946,1947,1846,1808,1490,1638,1680,2031,2346,2153,2116,2116,1600,1477,1626,1557,1478,1418,1422,1494,1578,1930,3030,3784,4136,4075,3849,3948,3995,4111,4400,4168,3661,2957,2224,1957,2267,2922,2883,4056,4351,4024,3509,3363,2146,782,703,641,820,1571,1751,1166,1316,1427,1686,2143,2342,2755,2653,2079,1888,1982,2152,2152,2030,1830,2024,2714,2504,2165,1968,1710,1737,1632,1516,1885,2122,2103,1987,1970,1554,1384,1746,2286,2160,1878,1788,1753,2000,2056,1921,2029,2265,2205,2128,1906,1808,1805,1598,1593,1721,1766,1622,1519,1722,1765,1658,1645,1566,1511,1583,1736,1880,2038,2393,2132,1726,2470,2912,2596,1718,1669,2026,2147,1728,1519,1556,1604,1531,1669,1861,1875,1870,1737,1617,1664,1739,2009,2232,2071,2149,2088,2118,2030,1739,1588,1639,1765,2464,2863,2432,2077,1805,2200,2919,3442,3184,2818,3330,3583,3450,3266,2301,1844,1830,1886,2161,2422,1937,1773,2164,2159,1762,2264,2624,2197,2357,1858,1865,1639,1926,1831,1820,1773,1622,1463,1366,1784,2068,1782,1770,1413,1667,1710,1677,1828,2026,1841,1691,1648,1456,1554,1704,1809,2321,2374,2114,2381,2548,2811,2556,1945,1806,2403,2139,1662,1936,2100,1843,2166,2591,1969,1620,1605,1459,1562,1831,1703,1800,1952,1809,1699,1764,1593,1532,1540,1650,1387,1548,1677,1713,1651,1532,1475,1403,1476,2014,2318,2222,1855,1777,1652,1598,1973,2416,2062,2216,2026,1698,1992,2182,2039,1615,1480,1649,2147,2282,1872,1995,2966,2503,1590,1640,1633,1882,2623,2630,2302,1654,1804,2235,2397,2728,2990,2786,2495,2306,1877,1591,1382,1231,1353,1752,1820,2000,1871,1532,1386,1560,1833,1686,1463,1391,1531,2177,1650,1466,2115,2552,2220,1604,1583,2619,3388,2588,1668,1425,1356,1471,1439,1401,1586,1493,1491,1668,1749,1738,1781,2018,2399,2490,2381,2487,2269,2068,2169,2155,2061,1968,1993,2742,3194,2626,1878,1659,1681,2136,2865,2842,2155,1658,1512,1136,1175,1359,1410,1395,1369,1410,1521,1607,1312,1279,1377,1452,1774,2539,2418,1927,1929,2025,2163,2207,1781,1836,1833,1860,3132,3602,3614,3278,2608,2470,2541,1838,2032,2978,2736,2853,2906,2713,2304,1858,2187,2417,2049,1709,2002,1918,1638,1635,1433,1866,2386,2042,2115,2499,2893,2894,2965,2596,2076,2076,2021,1542,1943,2354,1962,1499,1615,1501,1538,1822,1851,2228,2103,2301,2723,2372,1955,1726,1609,1852,2557,2777,3376,3718,3464,2994,2928,2710,2062,1831,2040,2303,1903,2182,2855,2147,1637,2396,3382,2503,1741,1798,1448,1562,1641,1556,2185,2201,2389,2053,2021,1951,1882,1591,1710,2700,2762,2154,2216,2360,2512,2403,2052,2260,1902,1644,2363,2430,1878,1926,2741,3152,2874,2477,1881,1650,2066,2323,2283,2513,3032,3399,3482,2769,2498,2482,2140,2733,2956,3229,2634,2486,2244,2019,1966,1908,2055,1678,1489,1760,1578,1564,2187,2459,2429,2890,2141,1611,1970,2026,1612,1459,1577,1506,1758,1803,1435,1250,1281,1372,1050,1304,1917,2144,2181,2010,1459,2023,2414,1810,1619,1393,1510,1570,1926,1535,1406,1711,1757,1890,1978,2075,2436,1943,1721,1758,2109,2314,2139,2436,2580,2094,2302,2447,2460,2182,1901,1708,2066,2032,1898,1920,2123,1949,1694,1708,1589,1562,1616,1963,2076,1797,2393,3437,2737,1839,1506,2265,2214,1646,2221,2641,2814,2980,2310,1681,2070,2501,1614,1560,2282,1910,1610,1498,1524,1517,1454,1639,1753,1652,1328,1373,1399,1423,1396,1446,1456,1706,1509,1425,1693,1996,1970,1846,2054,2365,2394,2230,2347,3068,3585,3489,2984,2712,2743,2110,1576,1624,1814,2708,2830,2244,3138,3378,3584,3470,3104,2440,1741,1335,1231,1481,1263,1114,1185,1549,1813,1796,1947,2543,2302,1873,1920,1643,1297,1226,1338,1326,1367,1412,1494,1398,1426,1344,1651,1675,1485,1488,1519,1774,1550,1557,1459,2058,2117,2120,2321,2091,1830,1958,2315,2666,2918,3416,3348,3364,3391,3077,2539,2364,2269,2203,2345,1916,2039,2286,2330,2885,2780,2203,2376,2128,1883,1916,2479,2796,2989,3204,2851,2351,1952,1675,2277,2554,1560,1536,2055,2196,1956,1604,1638,1809,2056,2187,2159,2215,2154,1917,2009,1992,1769,1485,1566,1945,2088,1938,1766,1884,1907,2144,2427,1912,1762,1936,2317,3318,3243,2191,1837,1904,1856,1974,2697,2720,1819,2448,2370,2103,1652,1700,1493,1504,1969,2403,2139,1724,1903,2209,2486,2312,2259,2495,2712,3261,3296,2996,1931,1544,2300,2900,2973,2706,2608,2640,2595,2702,2950,3353,3559,3539,3343,3505,3913,3350,2607,2591,2641,1917,2133,2164,2455,2715,3015,3052,3189,3363,3283,3252,3041,2496,2296,2184,2086,2034,2126,1992,2080,2647,2385,1808,1844,1810,1694,1628,1676,1936,2099,2805,3078,3119,2719,2378,2600,2846,2296,1892,2361,2612,2687,2924,2577,2392,2226,2058,2244,2098,2164,2088,1831,1638,2116,2579,2518,2396,2657,2656,2181,2030,2333,2446,2342,1979,2232,2854,3154,3274,3762,4048,3159,3419,3580,2565,2852,2774,2194,1898,1673,1556,1498,1604,1692,1905,2203,2611,3220,3028,2325,2326,2475,3160,3276,2756,2669,2888,2793,2211,1998,1476,1888,2458,2647,3032,2592,2361,2693,3001,3078,2972,3124,2878,2819,2235,2242,1968,1758,2155,2471,2836,3000,2861,2500,2226,2376,2708,2531,2343,2444,3116,3607,3584,2908,2303,2018,1748,1553,1753,2177,2363,2310,1988,1836,1712,1738,2099,2143,2377,2996,3000,2747,2480,2508,2502,2260,2164,2292,2598,1990,1744,1983,1916,1981,2164,1971,1635,2061,2532,2522,2481,2027,2100,2460,2563,2553,2450,2324,2566,3396,3924,3646,2686,1935,2117,2032,1816,2065,2743,2957,2907,2624,2159,2028,1998,2178,1847,1615,1742,2186,1936,1932,1642,1535,1791,1846,1762,2357,2446,2196,2239,2308,2332,1720,1696,1875,2176,2387,2478,2492,2298,2243,2774,3182,3073,2976,2558,2604,2465,2632,2692,2832,2511,2485,2494,2161,2206,2383,2310,2028,1892,2736,2067,1969,3328,3448,2610,2426,2460,2522,2378,1797,1776,2009,1967,1730,2830,3183,3178,3263,3791,3830,3754,3682,3486,3392,3394,3417,3415,3352,3296,2901,2787,2698,3372,2920,2338,2358,2098,2093,2225,2339,2270,2011,1897],[2923,2676,1728,1696,2103,1901,1946,2371,2515,2476,2741,2504,2381,1989,3166,2885,2425,1825,1941,2043,1778,1602,1560,1756,1930,1749,1773,2112,1661,1524,1783,2076,2307,3372,3965,3034,1686,1501,2050,2089,1843,2049,2064,2076,1752,1804,1897,2138,2131,1991,1650,1634,2257,2268,1774,2222,2624,2070,1922,1678,1882,2293,2325,1954,1699,1680,1625,1896,1792,1887,1673,1215,1431,1421,1526,1781,1860,2024,2247,2451,2666,2732,2199,1876,2013,2633,2631,2321,1799,1853,1851,1979,2224,2126,2031,2210,2618,2568,1935,1585,1462,1633,1907,1721,1489,2646,4080,4234,3737,2979,3749,4161,3835,4081,3969,3928,2967,3201,3140,2514,2475,2056,1903,1549,1378,1621,1957,2179,2242,1903,1544,1865,2117,2228,2832,2607,1829,1785,1572,1521,1985,1655,1423,1376,1653,1678,1926,1953,2119,2901,3147,2869,2778,2122,1710,1938,1836,2114,1945,1645,2285,2165,2111,1896,1627,2155,2334,1843,1952,1879,2100,1309,1578,2558,2674,2320,2874,2423,2373,2387,1862,2320,2587,2100,1636,1863,1926,1713,1957,2331,2624,2487,2385,2240,1980,2197,2141,1811,2061,2397,2085,2360,2148,2187,1961,1634,1883,2444,2674,2818,2943,2668,2160,1897,1585,1718,2063,2298,2370,2018,1704,1888,2220,2382,2282,2332,1953,1850,1878,2105,2686,2774,2848,2655,2591,2182,1893,2276,2235,1788,1616,1519,1999,2217,2282,2304,2177,2125,2975,3626,2721,2199,2497,2762,2612,1726,1846,2268,1880,2208,2749,2419,1729,1706,2139,2072,1784,2273,2727,2241,1519,1483,1976,1791,1765,1952,1720,1738,1824,1769,1953,1801,1472,1975,1958,1655,1471,1431,1403,1697,1778,2073,2148,2094,2326,2750,2131,1859,1838,2569,2317,1882,1531,1993,2215,2258,2192,2100,1905,2059,1935,1687,1461,1560,1786,1831,1721,1807,2251,2396,2418,2220,2076,2011,1782,1915,2104,2226,1663,1558,1894,2130,1919,1688,2003,2320,2430,2569,2422,2535,2461,2229,2241,2501,2928,3156,2887,2163,1836,1864,2690,3324,2830,2933,2714,2214,2024,2174,2245,2342,2050,1760,1679,1631,1809,1885,1736,1699,2260,2771,2136,1773,2082,2715,2392,1897,1925,1860,1620,1632,1845,2173,1950,1519,1564,2066,2134,2117,1985,2092,1975,1808,1601,1521,1528,1693,1970,1613,1432,1476,1592,1541,1778,2021,2321,2163,2009,2014,2071,1841,1918,1856,1929,1636,2106,2010,1901,1946,1730,1606,1794,1861,1882,1958,2043,2072,2043,2087,2401,2314,2136,1814,1738,1961,1714,1564,1575,1886,1958,1731,1761,2515,2109,1713,1980,2766,3352,2709,1955,2046,1808,2133,2432,2622,2085,1664,1730,1847,1739,1527,1560,1645,1573,1514,1825,2053,2249,2564,3221,3147,2670,2210,2272,2198,2305,2843,2888,2278,1837,1859,2030,1425,949,1604,2281,2291,3334,3560,3119,3123,2873,2456,2271,2377,2575,2529,2570,2121,1872,1968,2161,2103,1980,2011,2053,1925,1689,1549,1774,1601,1523,1543,1553,1721,1615,1547,1736,1661,1549,1572,1512,1582,1624,1639,1949,2045,1747,1552,1591,1661,1605,1378,1360,1693,1694,1427,1434,1368,1354,1121,1200,1199,1685,2034,1876,1672,1765,2092,2053,1963,1859,1770,1916,2296,3277,3444,3107,3309,3308,3159,3229,2908,2244,2889,2979,2628,2924,3011,3307,3533,2899,2305,2769,2564,1838,1955,2495,2322,2085,2355,1946,2010,1860,1965,2313,2492,2015,1696,1953,2461,2655,2331,1836,1585,1641,1752,2481,2635,3032,3404,2912,2429,2220,1953,1713,1636,1698,1746,1575,1578,1598,1874,1875,1696,1648,1917,1848,1511,1735,1782,1627,1876,1695,1626,1898,1783,1758,1798,1628,1642,1792,1603,1525,1414,1460,1679,1848,2524,3664,4034,3811,3646,3442,3598,3710,3806,4400,4353,3386,2396,2325,2314,2643,2764,3499,4333,3967,3472,3377,3321,1898,661,590,591,683,1823,1306,698,630,578,961,1896,2919,3440,2686,1981,1843,1983,2109,2041,1836,1813,2125,2807,2368,1735,1545,1678,1949,1929,1659,1843,2284,2039,1967,1944,1790,1595,1689,1834,1784,1976,2117,1712,1614,1579,1854,1997,2051,2172,2373,2207,2066,2116,1970,1990,2060,1824,1671,1565,1617,1531,1579,1659,1590,1535,1685,1853,2300,2464,2215,2048,2145,2714,2654,2356,1917,1740,1899,1932,1629,1451,1505,1525,1444,1537,1824,1893,1686,1503,1615,1622,1664,2049,2302,2221,1918,1813,1786,1562,1504,1506,1499,1690,2344,2320,2317,1821,1991,3018,2898,2695,2620,2252,2671,3074,3106,2623,1819,2120,1898,1686,2271,2284,2001,1863,1936,2014,1911,1927,2451,2111,1739,2227,1850,1333,1335,1496,1778,1701,1523,1449,1354,1529,1709,1929,1730,1425,1856,1704,1504,1476,1642,1563,1445,1526,1537,1842,2436,2422,2194,1887,1592,2203,3209,3262,2912,2374,1912,2033,1933,2284,2402,2134,1966,1863,1879,1854,1625,1704,1691,1599,1492,1373,1462,1663,1999,1978,2030,1417,1671,1835,1592,1487,1577,1583,1752,1804,1600,1512,1509,1442,1582,1520,1655,1880,2098,1888,1623,1847,1864,1692,1628,1524,1739,1897,1898,1954,1904,1654,1756,1956,2018,1948,2092,2238,2048,1546,1537,1487,1503,1760,1898,1707,1555,1669,2059,2148,2410,2836,2542,2370,2284,1788,1670,1491,1367,1552,1605,1847,1780,1379,1243,1334,1576,1479,1472,1427,1433,1474,1426,1398,1500,1810,2103,1869,1596,1572,1831,2127,2008,1891,1622,1563,1979,1542,1396,1634,1613,1815,1863,1572,1472,1673,1908,2405,2659,2195,2087,1885,1998,2066,2031,1931,1887,1991,2219,2248,1950,1711,1731,2001,2549,2862,2920,2674,2209,1807,1499,1415,1388,1446,1485,1464,1266,1273,1357,1262,1299,1269,1370,1981,2781,2366,1560,1630,1693,2040,2334,1797,1919,2036,2487,3250,3294,3110,2588,2391,2835,2492,2122,2287,2076,2366,2847,3436,3340,2708,2111,2193,2488,2323,2106,2188,1891,1661,1906,1891,1881,2226,2055,1784,1976,2337,2699,2812,2843,2984,2843,1879,1715,2535,2800,2033,2042,2238,1998,2272,2054,1953,2191,1872,2060,2145,1781,1737,1674,1503,1439,1995,2670,2835,3209,3548,3301,2937,2842,2407,1585,2048,2566,2324,3060,3466,3053,2293,2786,2966,2021,1833,1941,1356,1223,1480,1631,2151,2233,2420,2850,3417,2823,2050,1703,2181,2825,2562,2556,2752,2569,2111,2048,1905,1867,1619,1674,2122,2200,1668,1810,2071,2432,2434,2188,1772,1955,2543,2332,2517,2633,2764,2811,2789,2603,2414,1647,1932,2005,2268,2668,2320,2879,2587,2090,2014,2244,2344,1692,1700,1894,1634,1604,1775,2274,2610,3071,2357,1826,2052,2015,1750,1917,1789,1459,1906,1728,1634,1517,1449,1355,1207,1672,2194,2299,2177,1732,1557,2233,2009,1562,1974,1675,2009,2407,1993,1482,1418,1519,2003,2430,1971,1698,2042,1421,1175,1774,2096,1925,1763,1855,2077,2322,2238,2364,2648,2182,2620,2486,2462,1932,2225,2481,2366,2022,1842,2003,2186,2115,1740,1865,1860,1442,2112,3583,3380,2315,1777,2812,2961,2144,2122,2375,2515,2280,1940,1631,1878,1993,1474,1510,2105,1980,1540,1420,1520,1688,1890,2020,1808,1720,1490,1503,1669,1788,1614,1437,1416,1392,1418,1544,1660,1427,1560,1837,1978,2303,2276,2290,3074,3611,3418,3211,3040,2913,2953,2057,1681,1625,1638,2547,3264,2505,2853,3432,3414,3663,3541,2700,1824,1473,1156,1339,1162,1039,1223,1516,1731,1783,1880,2331,2355,1876,1710,1375,1318,1252,1302,1484,1323,1247,1241,1158,1198,1241,1435,1591,1882,1876,1456,1675,1707,2016,1641,2247,2218,2008,2542,2360,1831,1825,2298,2588,2388,2376,3021,2683,2343,2155,2182,2080,2079,2293,2137,1795,2361,2407,1919,2381,1894,1245,1455,1936,1738,1823,2387,2253,2487,2595,1771,1837,2141,1864,2193,2174,1772,2099,2730,2806,2355,1921,1782,1863,1914,1918,1936,2052,2121,1975,2152,1810,1731,1599,1553,1732,1864,1776,1712,1877,2303,2332,1963,1551,1477,1874,2035,2859,2959,2420,1904,1767,1945,2137,2869,2920,2089,1997,1652,1614,1456,1753,1736,1811,1953,1959,1793,1637,1736,1766,1981,2093,2067,1598,2255,2435,2404,2480,2078,1548,1696,1941,1975,2259,1644,1547,1780,2144,2192,2777,3261,2906,2584,2831,2575,1914,1785,2374,2658,1597,1482,1367,1488,1688,2192,2367,2421,2604,2804,2881,2670,2790,2334,2193,2326,2349,2644,2671,2683,2846,2086,1352,1542,1742,1734,1405,1472,2194,2814,2906,3033,3020,2746,2234,2158,2485,2415,2248,2420,2901,2853,2829,2801,2864,2519,2220,2220,2349,2414,2325,1802,1500,2123,2392,2096,1997,2487,2554,2306,2369,2802,3261,2956,2478,2734,3161,3688,3702,3874,3928,3425,3683,3542,2548,2252,1956,1882,1914,1690,1523,1525,1700,1970,2603,2158,2390,2564,2575,2372,2591,2820,3376,3570,3251,3099,3232,2766,1824,1707,2172,2107,1997,2470,2705,2408,2271,2789,3768,3582,2321,2174,2808,2888,1972,2275,2532,2143,2013,2299,2914,3064,2741,2452,2217,2249,2978,3223,2813,2491,2921,3825,3453,2241,1913,2326,2109,1379,1412,1627,1964,2380,1979,1756,1781,2050,2423,2110,1850,1972,2413,2719,2381,2384,2931,2595,2149,2101,2380,2246,2349,2314,1991,1909,1815,1709,1675,2162,2532,2248,1915,2094,2316,2514,2605,2185,1812,1915,2236,2646,2800,2856,2685,2297,2072,1842,2178,2171,2245,2575,2880,2863,2415,1879,1627,1554,1617,1814,1740,1969,2092,1863,1581,2066,2212,1515,1454,1454,1888,2623,2790,2535,2499,1932,1973,2011,2079,2124,2066,2080,1906,1894,2600,2722,2918,3417,2466,2120,2446,2351,2388,2482,2391,2665,2552,2228,2292,2759,2686,1934,1447,2408,2669,2789,3176,2734,2290,2663,2836,2956,2874,1893,1756,2091,2604,2624,2917,2829,2531,2631,3086,3393,3576,3499,3381,3383,3482,3376,3448,3448,3207,2896,2386,2436,3410,3160,2481,2282,2054,2422,2449,2374,2399,1752,1885],[1808,1632,1695,1993,2165,2106,2118,2270,2020,1133,1750,2134,2047,1782,2121,2160,1932,2222,2455,1904,1806,1773,1700,1663,1427,1630,1810,1917,1646,1432,2010,2302,2922,3824,3645,2789,1892,1649,1844,2246,2245,1888,2106,2026,1852,1614,2514,3617,2991,2691,2311,1666,2099,2202,2071,2380,2455,1926,1750,1834,1793,1883,2214,2326,2198,1923,1571,1992,2328,2210,1570,1852,2049,1594,1715,1793,1623,1474,1562,1760,2369,2063,1599,1981,2532,2521,2565,2424,2137,2062,1968,1637,1569,1694,2277,2043,2470,2674,1911,1578,1442,1387,1979,2318,2028,3295,4254,4191,3761,3580,4004,4014,3830,3662,3903,3430,2420,2989,3142,3089,2922,2378,2409,1850,1854,1411,1662,2269,2524,2197,2011,2050,1892,1891,2452,2174,1907,1947,1854,1954,2190,1818,1685,1652,1804,1902,1959,1895,2127,2806,2913,2731,2610,1881,1833,2092,1934,1995,1752,2065,2578,2579,2668,2373,2375,2541,2553,2385,2250,2239,2008,1582,2020,2525,2520,2202,2036,1742,2004,2248,2244,2468,2432,1792,1564,2004,2208,2382,2371,2308,2377,2543,2856,2594,2323,2717,2347,1760,2012,1925,1941,2097,1952,1775,1726,1753,1882,2013,2131,2177,1947,1834,1654,1804,1874,1866,2074,2334,2587,2164,1821,2182,2421,2077,1710,2047,1898,1709,1759,2226,2561,2517,2703,2999,3208,2600,1859,2292,2244,1917,2468,2374,1878,1903,2199,1803,1372,1493,2476,3471,3465,2854,2176,2458,2446,2819,2468,1924,2110,2815,2862,2202,1684,1816,1989,1897,1805,2097,2253,1891,1660,1430,1915,1797,2008,2154,1752,1791,2056,2029,2023,1918,1394,2254,2054,1730,1588,1626,1700,1680,2006,2433,2489,2158,1886,1985,2030,1763,1625,2313,2105,1749,1717,1706,2107,2365,2228,2290,2042,1889,1994,1904,1572,1697,1888,1854,1872,2481,2909,2493,2228,1904,1864,1939,1758,1707,2269,2414,2135,2042,1985,2160,1903,1871,2501,2596,2677,2545,1826,2235,2542,2391,2563,2685,2674,3021,2988,2584,2222,1660,2370,2756,2375,2666,2713,2600,2246,1924,1876,2038,2106,1892,2066,1939,1768,1707,1692,1793,2643,2722,1649,1605,1854,2362,2722,2413,1841,1770,1858,1809,1992,2054,1986,1873,2306,2386,2176,1824,1908,1959,1821,2141,1543,1536,1632,1831,1674,1615,1566,1460,1590,1782,1675,1988,2341,2234,2363,2002,2399,1958,1430,1622,1851,1759,1724,1941,2448,2646,2114,1566,1619,1833,1814,1710,1888,1677,1563,1864,2137,2106,2101,2082,2123,2149,1986,1769,1759,2042,1871,1623,1622,1710,1785,1901,1687,1672,2055,2105,1830,1991,1887,1980,1949,1824,1542,1705,2276,2762,2496,1980,1754,1622,1672,1561,1686,1570,1669,1797,2160,2284,2053,2035,1722,1649,2194,2170,2047,1648,1718,1650,1907,1615,1440,1488,1766,2573,3428,3030,2864,3055,3031,2381,2780,2938,2896,2859,2353,1833,1838,1988,2192,2427,2443,2115,1846,2366,2278,2004,2129,1540,1377,1547,1929,1936,1519,1489,1606,1481,1583,1708,1642,1627,1520,1670,1764,1402,1319,1482,1452,1627,1965,1721,1594,1819,1685,1548,1463,1478,1479,1461,1410,1559,1647,1591,1844,1819,1884,2199,1951,1769,1584,1822,1911,2090,2967,2829,2640,3094,3433,3212,2814,2743,2661,3278,2735,2826,3054,2929,3053,2832,2253,2352,2744,2207,1567,1985,2850,2969,2306,1913,1815,1973,1816,1785,2034,2369,2214,1769,1925,2026,2194,1830,1489,1481,1793,1986,2666,2689,2743,3018,2590,2053,1971,1663,1550,1676,1666,1701,1520,1476,1485,1555,1591,1366,1442,1664,1523,1520,2190,2138,1622,1636,1613,1678,1693,1577,1464,1506,1526,1706,2048,1689,1561,1592,1697,1787,2103,3282,4013,3924,3749,3446,3215,3469,3820,4017,4465,4508,3709,2612,2439,2178,2441,2661,3638,4201,3852,3377,3292,3107,1510,650,577,586,714,1937,1283,559,625,584,1002,2032,2795,3602,2657,2023,1887,2040,2133,1969,1749,1892,2376,2815,2624,1995,1726,1769,1968,2076,1661,1672,2241,1907,1947,2156,1969,1676,1670,1641,1577,2030,2094,1756,1502,1604,1744,1781,1816,1816,1980,2092,2115,2121,1990,1987,1860,2558,2428,1806,1532,1762,1798,1637,1559,1724,2048,2248,2426,2332,2032,1842,1898,2263,2504,2474,2534,2334,2005,1675,1465,1497,1597,1636,1468,1531,1733,1675,1986,1887,2142,1842,1608,1778,2392,2632,1992,1970,1810,1713,1906,1930,1598,1763,1994,2062,2386,2075,2689,3449,3176,2304,1512,1183,1975,2417,3105,2922,2658,2670,1948,1564,1484,1471,1694,1677,1584,1514,1717,1625,1967,1776,1772,2377,1875,1485,1456,1583,1727,1820,1882,1554,1356,1365,1537,1743,1632,1377,1594,1557,1368,1391,1431,1447,1442,1584,1613,1620,2052,2047,1700,1503,1215,1779,2785,2857,2908,2689,1930,1844,1844,2697,3097,2409,2236,1978,2089,2254,1880,1605,1649,1781,1534,1448,1684,1750,2104,2220,1974,1626,1856,2029,2031,1802,1637,1628,1743,1766,1732,1600,1710,1704,1584,1666,1798,2026,2336,2222,2003,1969,1864,1685,1451,1372,1798,1648,1611,1940,1879,1714,1648,1533,1556,1697,1905,1824,1780,1429,1368,1249,1505,1964,1768,1405,1401,1366,1368,1470,1712,2008,1717,1941,2149,2055,1843,1678,1678,1968,1960,1784,1633,1364,1285,1339,1648,1483,1403,1326,1513,1523,1387,1500,1541,1449,1532,1710,1832,1508,1377,1465,1694,2082,2093,2103,1922,1404,1315,1542,1891,1921,1604,1536,1600,1599,1709,2117,2266,2069,1853,1920,1930,1816,1990,2088,1988,2096,2101,1910,1757,1850,2072,2452,2614,2792,2765,2588,2343,1806,1578,1572,1504,1408,1647,1835,1524,1410,1413,1337,1426,1516,1644,2217,2542,1747,1518,1656,1473,2019,2610,2006,1850,1739,2500,3379,3166,2695,1989,2218,2600,2281,2679,2786,2657,3030,2940,3339,3456,3252,2878,2774,2702,2426,2166,2272,2079,1731,1922,2120,2590,2810,2768,2397,2076,2333,2690,3090,3139,3499,2842,1897,2188,2374,2170,1907,2294,2375,2384,2508,1917,1837,2183,1820,1672,1720,1756,1765,1772,1587,1704,2056,1910,2029,2746,3182,2936,2492,2735,2450,1824,2275,2654,2713,2853,3112,3230,3068,3000,2489,1851,2166,2354,1982,1782,1677,1824,2032,2220,2501,3176,3652,3462,2648,2200,2573,3068,2731,2533,2281,2495,2340,2277,2150,1812,1880,1999,2480,2454,2023,2489,2164,2120,1929,2084,2280,2481,2542,2141,2180,2374,2402,2320,2227,2244,2297,1720,1730,1921,2200,2538,2757,2713,2411,2333,2331,2136,2204,1600,1745,2165,1879,1960,2312,2756,3146,3448,3135,2380,2104,1824,1684,2072,1614,1361,1811,1548,1396,1113,1004,1570,2205,2563,2602,2189,2150,2155,2477,2640,2142,1672,1927,1760,2170,2645,1981,1476,1559,1704,1824,2102,1711,1466,1633,1210,1050,1879,2011,1582,1466,1427,1709,2065,2223,2040,1973,2033,2263,1892,2098,2090,2104,2308,2450,2148,2098,2564,3134,2584,1990,1520,1567,1440,1515,2237,2644,2459,1888,1904,2154,1717,1600,1716,1975,1705,1475,1368,1387,1475,1326,1523,2040,1755,1417,1779,2244,2583,2811,2658,2056,1764,1510,1539,1587,1661,1657,1527,1548,1378,1490,1520,1478,1446,1805,1918,2017,2086,2178,2968,3532,3213,2511,2564,2963,2712,2433,2089,2190,1926,1856,2610,3459,2824,2665,3467,3442,3587,3322,2724,1900,1632,1190,1162,1080,996,1120,1383,1562,1592,1569,1848,2132,1637,1492,1515,1383,1251,1304,1368,1501,1503,1374,1306,1358,1420,1303,1321,1632,1803,1481,1626,1742,2027,2105,2301,2155,1980,1943,1601,1589,1777,1722,1487,1378,1552,2855,2320,1699,1603,1667,1787,1650,1809,1877,2143,2598,2106,1247,1528,1327,1329,1484,1839,2051,2221,2161,2303,2122,2060,2160,2354,2036,2105,2336,2395,2200,2083,2479,2852,2454,1903,1567,1624,1692,1597,1703,1960,2117,1993,1876,1637,1490,1463,1594,1708,1709,2226,2236,1860,2387,2777,2136,1718,1502,1669,2239,2703,2588,2353,1880,1640,1531,1645,2127,2304,1992,1666,1591,1654,1804,1781,1719,1920,1664,1561,1748,1586,1760,1681,1614,1686,1636,1554,1740,2182,2592,2308,1949,1400,1696,2027,2060,2331,2241,2326,2364,2392,2236,2722,3205,2756,2802,3054,2047,1628,1636,2343,2553,1808,1573,1525,1568,1522,1767,2156,1922,1593,1840,2092,2657,2802,2533,2617,2497,2612,2578,2527,2906,2710,1853,1503,1713,1832,1664,1471,1656,2541,3306,3286,3097,2655,2584,2861,2922,3016,2849,2240,2274,3033,2805,2852,3011,2641,2382,2302,2349,2317,2440,2770,2492,1784,2272,2192,1843,2208,2640,2512,2440,2563,3062,3552,3134,3200,3394,3763,3648,3448,3562,3558,3542,3630,3342,2502,1734,1670,1669,1744,1628,1526,1655,1792,1695,1850,2222,2224,2556,2524,2442,3262,3387,3240,3119,3010,3067,2990,2051,1938,2093,2316,2260,1991,2123,2546,2411,2337,2956,3876,3450,2066,2244,2808,2810,2381,2667,3186,2751,2013,2384,2837,2793,2595,2298,2193,2243,2852,3046,2864,2868,2968,3115,2917,2494,2188,2018,1961,1293,1462,1789,2353,2685,2229,1819,1697,2055,1937,1550,1802,2149,2024,2007,2303,2380,1941,1745,1971,2570,2877,2751,2385,1851,1874,2182,2039,1684,1676,2462,2363,2324,2262,2297,2503,2558,2244,1858,1806,1955,2111,2320,2076,2089,2091,2143,1893,1830,2665,2810,2316,2662,2687,2737,2508,1919,2011,1979,1813,1812,1688,1769,1654,1573,1617,1689,1732,1456,1460,1412,1599,1338,1260,1629,1794,1917,1959,1747,1636,1620,1872,2011,1544,1393,2135,2533,3263,3583,2473,1923,1930,2208,2844,2591,2031,2302,2141,1997,1950,2585,2513,2138,2384,3088,3254,3111,2960,2545,2313,2975,3288,3342,2592,2275,1955,2186,2909,2899,2115,1931,2385,2630,2529,2753,2807,2969,3413,3416,3336,3203,3361,3392,3464,3235,2250,1901,2474,2508,2624,2468,2145,2511,2563,2500,2641,2425,2382],[1852,1906,2255,2664,2188,2447,2555,2127,1828,1250,2567,2791,2013,1808,1622,1621,2110,2968,3087,2019,1589,2010,1756,1537,1745,1728,1717,1807,1809,1997,1951,1592,1782,3050,2942,2147,1672,1809,1720,1913,2123,2005,1823,1747,1965,2118,3091,3535,2586,2544,2177,1785,1870,1962,2047,2154,2083,2010,2181,2030,1731,1703,2077,2468,2231,1887,1471,1868,2400,2026,1860,2189,1981,1716,1777,2088,2234,1562,1454,1568,1502,1333,1298,1772,2403,2432,2421,2339,2101,2337,2362,1766,1558,1498,1638,1538,1897,2042,1909,1837,1737,1442,1930,2436,2126,3215,3815,4101,3349,3442,3786,3398,3225,3539,3769,3044,2639,3562,3078,2957,3238,3153,2678,2305,2160,1738,2025,2541,2677,2921,2722,2115,1713,1872,2580,1865,1977,2322,2931,2709,2192,1898,2026,2221,2063,1824,1730,2091,2621,1836,1756,2150,2272,2128,2072,1786,2075,2402,1907,1871,2066,2831,2698,2220,2526,2712,2525,2272,1966,1863,1758,1598,1553,2047,2237,1526,1268,1592,2130,2136,2405,2454,2225,1847,1664,1698,2252,2603,2052,1711,1919,2640,2855,2532,2656,2391,1805,1633,1960,2085,2089,2424,2412,1934,1701,1788,1847,1991,2379,2543,1947,2046,2195,2189,2137,2061,2357,2347,2144,2007,2063,2217,2710,2440,1945,2103,2146,2018,1815,2094,2421,2421,2249,2122,2750,2196,2099,1935,1704,1992,2555,2531,1967,1480,1718,1737,1803,1933,2216,2875,3571,2935,1998,1963,1945,2381,2564,1991,2261,2970,2946,2598,1958,2228,2021,1642,1801,1893,1900,2072,1720,1417,1523,1609,1814,1760,1805,1669,1810,1737,1917,2273,2043,2399,2085,1592,1603,1682,1858,1963,1974,2438,2605,1857,1831,1785,2636,2363,2006,2306,1982,1849,1850,1968,2524,2800,2556,2547,2326,1930,1959,2031,1964,1893,1787,1984,2245,2384,2563,2310,1852,1808,1737,1814,1754,1546,1651,1763,1786,1722,1854,1948,1888,2293,2786,2717,2981,2591,2192,2627,2613,2526,2809,2532,2589,2702,2530,2029,1828,1758,2227,2718,2629,2550,2544,2578,2269,2329,2756,2437,2323,2050,2262,2092,2261,1939,1832,2132,2411,1986,1400,1434,1771,2093,2499,2835,1797,2108,1974,1755,2011,1856,1653,1700,1782,2249,2486,2156,2496,1938,1472,1562,1649,1929,1860,1996,1737,1614,1502,1622,2149,1955,1765,2713,2886,2423,2566,2829,3329,3019,2750,2832,2429,1937,2148,2524,2868,2677,2009,1525,1584,1781,1826,1610,1394,1376,1536,1888,2049,1793,1560,1674,1837,1857,2015,2036,2014,1841,1896,1867,1903,1962,2189,2466,2308,2137,2013,1921,2115,1983,1792,2209,1962,1497,1577,1873,2316,2722,2340,1869,1565,1378,1437,1476,1568,1493,1450,1496,1982,2144,1863,1781,1567,2311,2354,1843,1735,1614,1867,1950,2452,2373,1723,1655,2007,2208,2769,3054,3055,3150,2951,2494,2832,3121,3109,2854,2034,1677,1834,1832,2296,2947,3049,2967,2388,2862,2301,1652,1551,1480,1404,1467,1655,1531,1489,1478,1433,1401,1527,1624,1676,1660,1638,2095,1971,1561,1777,1495,1402,1536,1933,1782,1518,1758,1587,1393,1456,1692,1675,1540,1578,1909,1888,1737,1777,2078,2405,2215,2093,2154,1798,2284,1909,2030,2671,2290,2423,3195,3533,3172,2612,2754,2770,2863,3252,3420,3131,2938,2757,2447,2187,2248,2316,1971,1658,2131,3486,3862,2683,2060,2241,2189,1966,1843,1692,2058,1896,1669,1645,1684,1947,1971,1739,1584,1605,2050,2228,1771,1869,2186,1765,1576,1695,1567,1526,1782,1710,1732,1672,1585,1493,1571,1634,1594,1367,1405,1606,2244,2886,2679,2082,1831,1787,1875,1705,1564,1493,1514,1393,1432,1643,1640,1702,1659,1698,1616,1776,2932,3835,3994,4155,3862,3783,3942,3886,3889,4363,4516,4144,3352,2940,2854,2906,3075,3818,3748,3639,3509,3418,2988,1234,595,573,463,1045,1808,1086,574,613,587,1007,2242,2701,3614,2580,1928,1869,2057,2137,1942,1804,1960,2186,2523,2980,2808,2452,2156,2259,2194,1857,1674,1875,1731,1653,2115,2164,1720,1904,1903,1812,2315,2066,1990,1678,1555,1508,1537,1734,1774,1912,1840,2090,2153,1976,1825,1733,2009,1959,1897,1832,2035,2009,1693,1782,2203,1985,2068,2017,2030,1973,1678,1826,1967,2177,2221,2368,2575,2334,1887,2180,1825,1468,1519,1602,1592,1732,1509,1711,1917,1750,1566,1688,1689,2070,2510,2145,2144,1757,1969,2399,2604,2458,2711,2208,2070,2642,2696,2642,2765,3120,2113,1303,1192,2154,2692,2769,2290,2525,2497,1918,1686,1608,1764,1704,1568,1766,1537,1280,1525,1855,1869,2016,2014,1866,1560,1468,1727,1708,1546,1697,1514,1424,1603,1721,1800,2008,1986,1993,1786,1567,1677,1718,1597,1525,1588,1824,1640,1882,1866,1635,1449,1333,1782,2278,2454,2691,2854,2596,2157,2150,2884,2819,2350,1979,2051,2148,1893,1688,1740,1535,1976,2091,1687,1919,1699,2042,1901,1419,1730,2046,2200,2620,2504,2065,1691,1955,1882,2053,2298,2116,1844,1854,1767,1699,1901,1826,1896,2066,2072,2160,1875,1479,1417,1613,1533,1612,2007,1866,1664,1577,1491,1394,1577,1884,2092,1749,1597,1393,1256,1632,1867,1552,1448,1456,1392,1373,1386,1387,1561,1435,1598,1953,2008,2154,2061,2129,2835,2671,1847,1870,1728,1394,1437,1766,1396,1428,1415,1526,1455,1406,1572,1743,1891,1839,1753,1828,1421,1589,1510,1693,2056,1870,1541,1399,1455,1683,1682,1592,1476,1437,1447,1511,1573,1713,1834,2026,2006,1838,1688,1476,1743,2065,1978,2016,2110,1986,1734,1616,1715,2040,2643,2895,2654,2366,2368,2510,2305,2225,2019,1600,1428,1717,1920,1546,1523,1678,1569,1657,2282,2320,2265,2447,1546,1528,1555,1576,2051,2140,1800,1783,1901,2629,3211,3032,2686,1959,2199,2539,2315,2369,2352,3035,3309,3322,3366,3206,3196,3574,3678,3070,2555,2098,2001,1943,2255,2472,2489,2681,2896,3234,3086,2566,2237,2339,2186,2811,3260,2927,2799,2395,2070,1996,1741,2255,2689,2133,2044,2002,2013,2033,1823,1528,1423,1453,1692,1825,1890,1881,1559,1406,1736,2298,2798,2719,2513,2430,2370,2193,2023,2287,2645,2834,2751,2678,2812,2933,2642,1798,2198,2098,2124,2023,1897,1950,1944,2443,2938,2811,3026,3040,2828,3008,2736,2568,2596,2697,2111,2069,2345,2288,1822,2102,2645,2511,3100,2284,2264,3046,2864,2420,2075,2185,2580,2862,2286,1812,1782,1980,2230,2306,1865,2137,2459,2027,1867,2659,2846,2703,2665,2527,2439,2348,2212,2026,1865,1633,1563,1465,1614,1981,2271,2534,2603,2450,2334,1808,1783,1546,1562,1843,1332,1664,1873,1531,1215,1088,1307,2026,2280,2199,2420,1860,2205,2532,3119,3227,2458,2294,2725,2416,2342,2521,2106,1495,1426,1930,1761,1795,1581,1517,1430,1155,1255,1744,1797,1655,1465,1670,1927,1754,1904,1687,1586,1921,1631,1692,1915,1852,1677,1545,1656,2046,2323,2329,2586,1984,1875,1654,1554,1731,1949,1768,1997,2688,2459,2196,2043,1723,1467,1528,2132,1982,1554,1588,1512,1527,1577,1683,2023,2003,2213,2680,3099,2964,3039,2626,2080,1916,1849,1750,1566,1656,1758,1762,1692,1415,1541,1489,1556,1820,1968,1944,2038,2323,3008,3263,2863,2564,2376,2598,2941,2510,2191,1724,1404,1402,1624,2338,3351,3038,2397,3396,3639,3465,3231,2781,1981,1416,1100,1052,1059,990,905,1039,1218,1349,1459,1600,1764,1484,1412,1497,1322,1213,1140,1202,1434,1478,1384,1462,1793,1471,1309,1432,1475,1499,1441,1476,1556,1637,1640,1813,2211,2039,1761,1569,1707,1798,1559,1485,1397,1609,2360,2079,1629,1682,1843,1782,1729,2044,1839,2059,2066,1531,1372,1547,1556,1495,1851,1882,2005,2342,2146,2275,2314,2465,2711,2100,1778,2032,2608,2869,2265,1943,2233,2387,1808,1842,1380,1431,1482,1383,1568,1913,2005,2014,1962,1763,1644,1505,1590,1636,2015,2640,2466,1955,2000,2590,2460,1917,1955,2716,3195,3010,2268,2183,2511,1967,1711,1666,2103,2156,1762,1525,1629,1753,1858,1659,1637,1802,1533,1754,2055,1717,1648,1685,2008,1961,1842,2035,1895,2131,2548,2016,1762,1784,2309,2503,2490,2324,2896,3370,3141,2939,2635,2652,2876,2219,2327,2664,1909,1864,1498,1916,2264,1857,1836,2094,2278,1736,1587,1686,1720,1525,1432,1803,2726,2869,2830,3075,3244,2845,2070,1870,2674,3279,2410,1550,1720,1687,1476,1440,1844,2912,3518,3566,3533,3076,2824,2943,3000,3286,3458,3329,3097,3057,2780,2712,2641,2461,2317,2719,2737,2242,2256,2683,2909,2375,2512,2078,1783,1990,2076,2152,2312,2076,2302,2548,2944,3640,3663,3784,3597,3520,3430,3131,3304,3442,3229,2487,1907,1899,1702,1582,1666,1770,1924,1591,1300,1589,2121,2315,2729,2897,2603,3130,3485,3083,2708,2691,3104,3252,2319,2153,2508,2402,2385,2151,2061,2495,2307,2792,3538,3165,3153,2771,3072,2720,2403,2387,2356,2552,2552,2092,2691,2736,2467,2382,2237,2106,2511,2922,2792,2467,2300,2661,3349,3199,2772,2436,2211,1876,1648,1606,2020,2786,2828,2403,1953,1711,1612,1433,1744,1922,2054,2098,2148,2208,1998,1831,1848,2278,2541,2449,2942,2359,1730,2246,2080,2143,2233,1969,2147,2284,2741,2658,2166,1949,1854,2004,2326,2371,2185,2192,2174,2045,2021,1901,1880,1830,1901,2665,3248,2608,2548,2366,2338,2216,2007,2328,2029,2157,2393,1896,1671,1495,1482,1570,1409,1504,1681,2069,2067,1731,1462,1361,1458,1592,1670,1666,1677,1707,1766,1688,1629,1607,1749,2178,2608,2868,2535,2313,2293,2343,2874,3134,2770,1693,2044,2627,2126,1707,1636,1756,2074,2195,2218,2413,2706,2450,1913,2149,2556,2548,2958,2346,2137,2005,2392,2772,2435,2072,2128,2470,2859,3000,2920,2733,3264,3404,3330,3191,3222,3253,3351,3762,3584,2662,2075,2602,2586,2626,2196,1807,2017,2073,2061,2317,2365,2265],[1606,1743,2010,2513,1984,2017,2642,2149,1954,1990,2525,2188,1800,1854,1556,1733,2094,2508,2724,2159,1817,2047,1837,1650,1770,1794,1639,1304,1274,1737,1701,2365,2541,2929,2262,1976,1964,2155,1782,1575,1666,1868,1983,1897,1829,1910,2262,2172,2310,2209,2055,2185,1974,1885,1892,1815,1542,1891,2480,2136,1917,1940,2374,2505,1962,1600,1500,1983,2171,2168,2295,1892,1626,1661,1939,2386,2116,1698,1476,1496,1539,1589,1448,1673,2178,2178,2164,2065,1839,2033,2264,1770,1877,1612,1442,1490,1834,2374,2454,2395,2556,2341,1947,1758,2239,2875,2974,3165,2566,2469,2836,2488,2691,3797,4109,3693,3599,3787,3472,3514,3938,3386,2705,2555,2226,1956,2209,2123,2099,2304,2095,2388,2124,2122,2665,2353,2102,2110,2129,2066,1880,1698,2292,2238,2185,2281,2077,2337,2863,2317,1849,1732,2048,2354,2182,1709,2215,2750,2246,2185,2219,2744,2564,2300,2206,2809,2500,2034,1870,1729,1694,1776,1848,2299,2304,1355,1536,1798,2009,1937,2200,1973,2013,2253,1863,1762,2046,2124,1722,1542,1560,1942,2186,2394,2290,2137,2148,2030,2208,2263,2496,2896,2569,1838,1896,2044,1999,1848,1892,1843,1792,2490,2776,2496,1990,2142,3001,2479,2213,2060,1941,2445,2973,2793,2315,2184,2237,1936,1505,1676,2031,2138,1996,2398,2630,1863,1755,1531,1530,2046,2108,2190,2100,1606,1861,1775,2220,2755,2878,3045,3393,2365,1941,1905,1677,1831,1966,1904,1864,1949,1875,2128,2116,2430,2166,1757,1610,1629,1576,1636,1738,1882,1698,1655,1636,1486,1628,1448,1700,1620,1986,2219,1937,2163,1834,1317,1615,2492,3023,2756,1856,1735,1864,1711,1570,1971,2460,2134,2141,2156,1880,1741,1383,1606,2688,3298,3074,2353,2178,2246,2156,1837,1882,1958,2042,2643,2658,2193,2242,1924,1576,1528,1742,1736,1954,2071,1660,1573,1669,1965,2341,1995,2016,2232,2525,2802,2680,2382,2575,2590,2308,2455,2446,2297,2770,2315,1911,1594,1478,1905,2227,2789,2875,2543,2340,2431,2295,2396,2719,2690,2349,1941,2045,1904,2376,2303,1919,1695,1675,1612,1492,1303,1598,1501,1955,2182,1975,1866,1678,1890,1820,1597,1914,1821,1733,2415,3153,3076,3383,2541,1794,1792,2004,2006,1902,2065,2281,2088,1736,1993,2066,1438,1300,2237,2247,1932,1879,2584,3812,4109,3780,3105,2373,2077,2562,2434,2678,2208,2096,1853,1846,1636,1698,1338,1072,1593,1756,1637,1632,1565,1570,1732,1633,1641,1643,1490,1500,1654,1750,1834,2047,1965,1954,2259,2286,2410,2333,2119,2106,2015,1997,2298,2156,1624,1787,1996,1937,2199,1534,918,1087,1437,1802,1804,1472,1417,1541,1543,1765,2062,2170,2052,1964,2714,2426,2554,2186,1744,1508,1880,2307,2347,2864,2903,2263,2108,2471,2185,2324,2269,2248,2435,2481,2961,3220,2939,2196,1761,1677,1765,1986,2271,2836,3252,2942,2653,1771,1516,1663,1620,1563,1497,1570,1480,1554,1623,1650,1742,1750,1573,1524,1494,1378,1839,1892,1721,2072,1572,1382,1504,1767,1721,1695,1714,1658,1625,1752,1892,1780,1548,1635,1829,1770,1684,1593,1668,1940,2005,1932,1720,1600,1812,1710,1958,2478,2916,2964,3112,3208,2709,2256,2207,2291,2362,2676,2933,2884,2832,2591,2574,2314,2098,2389,1905,1730,2000,2831,3208,3252,3011,2774,2413,2132,1905,1800,2118,1746,1792,1780,1759,1819,1880,1682,1584,1650,1755,2056,2038,1924,1844,1700,1554,1570,1642,1622,1564,1590,1725,2003,2066,1694,1710,2243,1952,1622,1694,1505,2170,2950,2564,2410,2103,1752,1779,1647,1519,1475,1437,1604,1777,1648,1541,1518,1623,1599,1561,1856,2369,3363,3896,4035,4063,4537,4363,3802,3852,4300,4409,4248,3867,3598,3669,3561,3473,3638,3513,3199,3444,3491,2610,1089,550,556,436,1265,1959,787,632,590,632,1199,2176,3000,3319,2467,1898,1914,2092,2045,1875,1854,2152,2028,2435,3250,3342,3356,3306,3162,3208,3028,2249,1667,1730,2387,2988,2618,2029,2294,2385,2105,2154,2109,1966,1712,1622,1459,1574,1806,2099,2423,1889,1771,1784,1938,1891,1960,1904,2004,2046,1920,2048,2000,1657,1810,2005,1717,1906,1988,1973,2347,2160,1886,2157,2634,2545,2052,2160,2121,2074,2087,1685,1368,1819,1842,1817,1797,1547,1686,1860,1632,1721,1782,1638,1837,2307,1992,1648,1864,2354,2585,2469,2242,2257,2034,2078,2272,2392,2318,2544,2679,1826,1615,1692,2094,2415,2242,2214,2562,2417,2033,1728,1607,1938,1780,1506,1676,1619,1478,1532,1589,1625,1765,1814,1713,1460,1648,2036,1936,1743,1738,1648,1470,1492,1497,1763,2093,1965,1914,2077,1938,1813,1975,1786,1592,1706,1987,1877,1832,1821,1674,1596,1392,1418,1818,2114,2245,2620,2533,2289,2251,2621,3065,2664,1829,1719,1893,2041,1712,1613,1716,2468,2559,1797,1494,1466,1828,1656,1356,1729,1969,1842,2383,2592,2003,1687,2120,2178,2091,2647,2814,2127,1593,1557,1629,1642,1428,1926,2047,1571,1760,1901,1900,1635,1657,1750,1793,1893,1706,1898,1681,1622,1692,2161,2120,1961,1560,1486,1415,1302,1650,1786,1707,1787,1664,1613,1440,1201,1329,1555,1366,1410,1666,1637,1797,2170,2429,2609,2248,2008,2088,1987,1564,1585,1801,1699,1567,1421,1400,1426,1484,1460,1479,1433,1607,1490,1448,1320,1472,1354,1619,1899,1555,1605,1639,1582,1421,1404,1289,1435,1628,1665,1577,1650,1717,1698,1858,1795,1562,1454,1562,1768,1943,1677,2027,2379,1969,1571,1430,1513,1797,2330,2780,2562,2258,1651,2125,2907,3167,2700,1952,1560,1501,1490,1650,2031,2334,2392,1880,2157,2520,2551,2850,2179,1846,1672,1756,1788,1560,1687,1806,1853,2379,2721,2362,1829,1749,2286,2481,2103,1895,1981,2452,2807,2761,2822,2801,3023,3475,3536,3025,2584,2104,1780,1948,2425,2264,2145,2266,2678,2855,2937,2275,2398,2275,1757,2213,2374,2617,2674,2131,2106,2133,1636,1645,1845,1939,2102,1966,1851,1961,1592,1408,1578,1607,1675,1842,1982,2018,1862,1832,2000,2174,2330,2460,2155,2085,2182,1942,1948,2482,2571,1978,1831,2049,2009,2059,1817,1848,2916,2924,2516,2221,2271,2356,2655,3299,3298,2840,3074,2997,2565,3100,3197,2999,3089,2747,2148,2006,2374,2274,1894,1870,2745,2880,3038,1905,1727,2116,2446,2633,2541,2470,2773,2751,1940,1575,1669,2173,2349,2250,2075,2186,2343,1834,1891,3002,3513,2567,2622,2688,2612,2810,2341,2107,1708,1698,1753,1627,1536,1558,1570,1629,1849,1893,1975,1620,1432,1730,1903,1744,1523,1569,2084,2549,2274,2167,1813,2077,2181,2462,1944,1540,1953,2490,2649,2670,2369,2249,2523,2753,2767,2302,2182,1872,1594,1879,1699,1660,1888,1780,1347,1439,1658,1736,1948,1728,1480,1956,1929,1631,1675,1444,1649,1870,1420,1416,1881,2061,1778,1734,1887,2233,2426,2080,2199,2188,2132,2006,1932,2480,2463,1793,1858,2616,2468,2203,1943,1769,1486,1614,2181,1971,1475,1581,1783,1736,1933,2334,2601,2734,2607,2508,2585,2809,2855,2317,1991,1983,1950,1722,1638,1826,1958,1835,1511,1433,1498,1647,1987,2044,2045,2197,2608,2894,2994,3030,2808,2510,2814,2854,2627,2390,2348,1860,1540,1748,1643,2073,3474,3217,2335,3076,3615,3285,3151,2846,2053,1421,1174,1090,1084,1127,880,931,1125,1348,1488,1474,1678,1684,1477,1309,1317,1336,1188,1320,1307,1266,1255,1528,1736,1465,1435,1400,1308,1327,1339,1302,1391,1702,2048,2128,2139,1814,1676,1510,1838,1831,1550,1482,1387,1522,2025,2117,1860,1865,2063,1895,1844,1648,1802,1700,1742,1991,1942,2102,2167,2155,2242,2286,2504,2718,2597,2976,3174,3247,2906,2300,1959,1799,2314,2632,2046,1874,2001,1664,1792,2248,1484,1375,1469,1426,1615,1935,2031,1914,1682,1748,2031,1808,1662,1814,2585,2748,2996,2608,2543,2833,2397,1688,2077,3150,3795,3178,2056,1748,2038,1846,1528,1656,1780,1594,1609,1716,1622,1582,1653,1459,1612,1836,1633,1560,1826,1811,1731,1886,2033,1886,2559,2854,2231,1695,1910,1902,2279,2492,2698,2548,2498,2183,2389,3020,2915,2597,2199,2074,2071,1742,2127,2620,2002,1804,1444,1446,1847,2375,2239,1837,2025,1512,1425,1572,1488,1555,1489,2214,2909,2700,2529,2610,2457,2096,2144,1915,1813,2427,2377,1849,2146,3145,3326,2507,2491,3003,2751,2508,3021,3017,2995,2528,2511,2720,3460,3648,3134,2659,2304,1926,2047,1960,1796,2460,2663,2434,2502,2678,2630,2286,2106,2104,2138,1946,1995,2220,2354,1723,1568,2066,2873,3232,3311,3294,3054,3220,2929,2698,3067,3311,3068,2664,1874,1703,1659,1560,1773,1872,1873,1748,1748,1731,2126,2666,2765,2908,2648,2770,3297,3273,3438,3304,3494,3680,2526,2514,3806,3694,3266,2668,2622,2722,2553,3120,3178,2604,2743,3206,3465,2952,2647,2475,2350,2384,2695,2802,2708,2258,2163,2217,2211,2460,2909,2984,2677,2150,1940,2543,3310,3576,3181,3038,2384,2104,2020,2066,2534,2378,2050,2312,2176,1596,1524,1875,1934,1772,1996,2303,2299,1902,1772,2069,2077,2329,2471,2141,2629,2426,2162,2107,1797,2110,2270,2084,1907,2016,2254,2046,1992,1854,1671,2023,2230,2295,2204,2165,2080,2662,3091,2632,2001,1656,1870,2294,2636,2548,2336,2093,2061,2020,1787,1697,1652,2134,2401,1896,1604,1593,1354,1474,1885,1754,1872,2662,2709,2546,2662,2110,1765,1696,1744,1904,1635,1753,1869,1830,1947,2379,2472,2626,3075,2806,2249,2474,2635,3680,3437,2232,2286,1689,2117,2973,2309,1867,2029,1986,1740,2096,2446,2178,2953,2592,1887,2282,2352,2473,2786,2405,2094,1808,1815,1780,1903,2150,2486,2281,2467,2756,2866,3053,2871,3321,3614,3086,3154,3153,3083,3552,3007,2078,2293,3531,2990,2402,2053,1842,2014,2226,1875,1692,1956,1988],[1505,1684,1741,1986,1859,1712,1898,2057,2326,2281,2032,1991,2030,2020,1986,1953,1785,2030,2307,1802,1852,2177,1892,1576,1571,1662,1489,1245,1377,1365,1762,2853,2844,2669,2479,2279,2162,1894,1782,2072,2222,1811,1769,1898,1970,1848,1816,1793,2156,2164,2092,1785,1838,2062,1936,1667,1669,2296,2309,2187,2827,2627,2393,2243,1882,1595,1558,1864,2025,2063,2137,1767,1958,1734,2323,2245,1698,1624,1490,1518,1701,1749,1510,1396,1750,2272,2858,2843,2601,2335,2221,2046,2077,1737,1451,1709,2604,3508,3430,2686,2661,3145,3033,2553,2739,2498,2117,2142,2220,2652,2923,2723,2690,3204,3392,3488,3409,3028,2961,3274,3153,2834,2713,2481,2219,2501,2451,2164,2402,2540,2376,2243,2360,2908,3552,3292,2361,1723,1733,1727,1663,1746,2208,1945,1928,2010,1878,2250,2898,2592,2042,1789,1815,2376,2610,2055,2722,2523,1860,2133,2294,2154,2309,2043,2102,2440,2214,1857,1959,1928,1694,2074,1736,2052,2021,1228,1350,1979,2150,1854,2040,2151,2195,2165,1876,2236,1742,1608,1698,1582,1747,1791,2010,2625,2586,2463,2449,2346,2750,3366,3595,3289,2476,2059,1879,2023,1970,1771,1921,2087,2259,2284,2415,2279,2057,2243,2706,2264,2226,2108,1736,2120,2604,2752,2468,2591,3142,2906,1850,1885,1902,1947,1985,2374,2271,1799,1571,1654,1779,1935,1955,1755,1748,1602,1947,1860,2098,2708,3008,2792,2720,2213,1995,1953,2077,2053,1848,2106,1827,1777,1869,1864,2362,2419,1887,1699,1672,1544,1686,1757,1722,1946,1880,1605,1670,1781,1659,1490,1553,1527,2046,1966,1772,2185,1668,1579,1801,3091,3529,2706,1838,1787,1976,1952,1760,1785,1998,2060,1813,1951,1971,1831,1582,1816,2154,2872,3075,2740,2272,2252,2418,1658,1652,1744,1796,2208,2374,2261,2140,1763,1582,1495,1821,1755,1536,1632,1595,1700,1833,2343,2280,2122,2228,2457,2446,2364,2024,1853,2136,2284,2199,2332,2155,2003,1848,1841,1709,1757,1889,1720,1718,2020,1966,1991,2356,2616,2475,2335,2465,2662,2077,1868,1995,2022,2260,2107,1959,1880,1781,1696,1687,1588,1509,1510,1839,1800,2150,2132,1701,1745,1816,2101,2298,2066,2188,2349,2884,3265,3427,2543,1937,1942,1843,1576,1597,2136,2592,2102,1680,1902,2091,1703,1391,1736,1903,1879,1629,2372,3315,3491,3808,2888,1869,1808,2338,2167,2309,2501,2569,2413,2066,1638,1715,1648,1555,1628,1694,1903,1574,1369,1675,1758,1566,1818,1841,1609,1554,1649,1723,1819,2008,1904,1766,1902,2060,2123,2175,2189,2079,2112,2105,2155,2315,2111,2068,2144,2000,2104,1601,1087,1481,1961,2117,1892,1498,1406,1654,1997,1920,1990,2070,2002,2113,2563,2553,2369,1958,1702,1727,2050,2126,2308,3665,3527,2238,2248,2121,2130,2377,2077,2238,1738,1481,2570,2953,2604,2137,1682,1624,1858,2098,1690,1905,2286,2240,1807,1777,2099,2038,1674,1576,1544,1611,1632,1608,1671,1829,1761,1613,1575,1616,1609,1592,1536,1458,1570,1838,1536,1464,1522,1584,1643,1660,1696,1721,1735,1780,1781,1624,1499,1598,1897,1902,1760,1732,1683,1660,1898,1779,1637,2000,2182,1786,1732,2252,2986,2846,2826,2953,2997,2896,1970,1782,2304,2749,2899,2927,2878,2633,2712,2713,2623,2553,2481,2133,2317,3120,3575,3628,3343,3121,2506,2072,1872,1989,1975,1845,1858,1962,1777,1494,1386,1433,1693,1672,1366,1931,2297,2498,2580,1951,1672,1759,1743,1556,1375,1447,1620,1623,1496,1628,1553,2025,1912,1955,1975,1619,2027,2574,2557,2448,1728,1510,1561,1364,1437,1552,1719,1732,1804,1833,2004,2165,2297,2003,1848,2492,2584,3249,3868,3763,4123,4684,4600,4052,4003,4261,4309,3990,3534,3685,3695,3238,3587,3283,3018,2857,2873,3185,2300,828,559,543,562,1298,1930,738,554,606,598,1478,2422,2998,2923,2303,1846,1875,1980,1921,1802,1958,2338,2449,2989,3553,3659,3705,3616,3505,3630,3541,3000,2148,2400,3205,2853,2611,2374,2351,2561,2264,1763,1851,1983,1982,1835,1730,1556,1638,1805,1837,1628,1607,1642,1706,1875,2094,2133,2077,2028,1762,1931,2548,1989,1802,1587,1637,1669,1693,1947,2399,2231,1807,1864,2604,2291,1736,2016,2237,2055,1891,1725,1525,1776,1791,1912,1877,1754,1653,1680,1782,2034,1966,1718,2204,2342,1932,1677,2055,2436,2383,1979,2135,2371,2392,2178,1678,1759,1921,2085,2235,1871,1584,1218,1314,1942,2474,2785,3213,2843,2169,2114,2236,2186,1777,1515,1596,1667,1474,1398,1453,1442,1725,1871,1643,1602,1605,1722,1907,2010,1860,1660,1433,1395,1476,1700,1863,1702,1698,2194,2022,1684,1809,1653,1699,1672,1684,1790,1903,2201,1937,1730,1725,1601,1813,2041,2080,2310,2211,2198,2372,2516,2763,2967,2099,1559,1408,1483,1847,1649,1558,1662,1878,1569,1313,1724,1925,1528,1565,1791,1631,1931,2291,2648,2659,2207,2276,2482,2601,2797,2633,2501,2020,1770,1440,1535,1443,1890,2088,1725,1507,1787,1740,1515,1931,1917,1694,1820,1821,1965,1938,1953,2204,1972,1778,1941,1938,1724,1791,1588,1509,1470,1880,1869,1555,1778,1559,1117,1162,1454,1429,1392,1462,1465,2095,2747,2449,1751,1410,1695,1529,1566,1767,1999,2039,1728,1367,1286,1328,1301,1399,1294,1250,1342,1491,1344,1248,1215,1289,1462,1772,1711,1482,1665,1984,1658,1527,1793,1568,1596,1695,1589,1683,1864,1651,1694,1890,1851,1688,1562,1584,1662,1925,1730,1739,1927,1725,1480,1664,1924,1616,2054,2626,2405,1836,1443,2197,2951,2996,2499,1886,1620,1657,1792,2230,2722,2975,3293,2723,1689,1787,2429,2653,2136,1945,2092,2031,1933,1928,1889,1722,1693,2623,2701,2743,1945,2312,3011,2250,1511,1583,2308,3453,3001,2404,2608,2071,2467,3200,3404,2843,2353,2366,1924,1939,2268,2497,2375,2329,2326,2484,2545,2231,3082,2913,2624,2677,2624,2824,2336,1876,2292,2280,1688,1571,1637,1724,1937,1853,1900,2010,1836,1636,1483,1482,1692,1395,1659,1774,1626,1982,2103,1843,1660,2090,2204,2176,2382,2303,1922,1906,1745,1471,1626,1774,1603,1858,1661,2144,3406,3529,2556,1728,1970,2615,3348,3332,3024,2873,2880,2865,3097,3582,3390,2966,2861,2663,1968,1859,2315,2163,1790,1844,2809,3186,2688,1925,1813,1989,2121,2192,2005,1925,1989,2253,2168,1864,2139,2355,2238,2699,2421,2160,2395,2252,2108,2764,3506,2801,2567,2465,2276,2264,2252,2362,2501,2710,2332,2164,1895,1444,1438,1746,2036,1890,1510,1384,1417,1756,1883,1914,1686,1610,2730,3208,2422,1901,1956,2392,2226,2316,1803,1547,2405,2692,2051,1964,2755,3112,2089,2018,2118,1604,1543,1464,2110,2414,2013,1904,2244,2172,1922,1954,1788,2034,2398,1908,1489,1492,1644,1720,1698,1601,1851,2045,1901,1394,1824,1917,1860,1797,2192,2035,2151,1923,2163,2491,2201,2021,2125,2588,1892,1742,1803,2710,2598,1897,1681,1643,1502,1518,1811,1743,1380,1495,1888,2018,2397,2669,2616,2729,2387,2383,2495,2444,2094,1814,1877,1995,2008,1643,1688,2074,2155,1698,1427,1463,1459,1712,2013,2102,2085,2403,3124,2743,2216,2830,2736,2476,2393,2041,2137,2502,2409,2128,1529,1650,1626,2039,3640,3695,2585,2517,3273,3419,3278,2835,2040,1737,1295,1254,1203,1265,1099,1196,1290,1314,1299,1330,1639,1636,1581,1685,1444,1383,1279,1493,1437,1231,1174,1260,1328,1530,1462,1277,1524,1962,1822,1364,1645,2215,2264,2537,2221,2144,1952,1656,1860,1832,1546,1451,1287,1466,2028,2341,1969,1823,1970,2121,1960,1640,1878,1835,1847,2003,2243,2210,2031,2172,2409,2784,2844,2482,2890,3278,3338,3167,2835,2505,1943,1753,2089,2122,1820,1597,1666,1773,2212,2091,1358,1256,1486,1482,1618,1824,1844,1666,1428,1895,2207,1975,1797,2287,2737,2646,2498,2584,2954,2875,2425,1849,1890,2556,3176,2849,2060,1520,1754,1781,1526,1607,1715,1973,2031,2108,1635,1493,1467,1457,1612,1629,1525,1655,1604,1634,1697,1713,1531,1886,3430,2921,1812,1479,1575,1743,1818,1772,2016,2513,2678,2215,2236,2962,3094,2778,2044,1738,1560,1963,2503,2591,2048,1672,1623,1646,2092,2424,1798,1431,1484,1484,1577,1883,1672,1633,1531,1888,2297,2243,2164,2330,2057,2368,2425,2093,2056,2311,2070,2410,3033,3593,3753,3786,3558,3205,2961,2654,2403,2625,2684,2439,2201,1985,2612,3065,2864,2404,1942,1700,2196,1983,1520,1811,2388,2376,2319,2678,2844,2586,2177,2076,2245,2076,2319,2512,2455,1961,2051,2502,2876,2933,3043,3312,3010,2600,2337,2850,3108,3387,2846,2500,1997,1714,1567,1687,1797,1632,1562,1938,2269,2043,2629,2894,2977,2422,1995,2142,2568,2915,3218,3112,3161,2932,2202,1992,2633,3194,2921,2451,2507,2699,2607,2787,2620,2655,2996,3371,3346,3548,3746,2958,2547,2502,2717,2801,2955,2822,2435,2513,2727,3022,2986,2646,2248,1908,2134,2764,3195,3028,2554,2612,2248,2100,2282,2376,2485,2058,1408,1781,2197,1686,1668,1812,1699,1729,1753,1949,2304,2228,2446,2865,2828,2091,1925,1772,2108,2204,2697,2397,2067,2122,2216,2479,2313,1840,1878,2038,2046,2249,2332,2269,2292,2164,2013,2043,1851,2286,3112,3076,2352,2071,2341,1793,1705,2237,1970,1802,2027,2286,1970,1572,1747,1591,1759,1795,1842,1943,1848,1716,1882,1631,1498,2207,2541,2862,2903,1966,1919,1491,1437,1703,1875,2098,2257,2297,2571,2787,2774,2787,2935,2705,2717,3360,3199,4072,2950,1924,1820,1302,1908,2728,2383,2124,2805,2477,1471,1816,2149,2025,3089,3209,2561,2646,2479,2386,2290,2144,2004,1722,1787,1730,2209,2348,2601,2170,1786,2055,2457,2964,3416,4002,3815,2921,2813,3065,2712,2922,2233,1611,1642,2624,2866,2375,2233,2495,2755,2879,2111,1632,1890,2107],[1444,1569,1763,1853,1631,1763,2198,2293,2220,2470,2447,2608,2253,1755,1617,1475,1636,2175,2198,1860,2046,2238,1944,1799,1528,1727,1810,1429,1729,1430,1448,1874,2338,3034,2906,2137,1793,1694,1775,2188,2352,1754,1380,1584,2028,1853,1787,1868,1924,2248,2296,2049,2248,2148,2029,1837,1957,2570,2555,2750,3296,2596,1955,1673,1615,1772,1616,1767,2042,1630,1841,2177,2417,1987,1906,1668,1617,1731,1567,1758,1985,1790,1428,1187,1227,1697,2446,2611,2265,1945,2173,2097,1792,1859,1693,2100,2851,3349,3167,2303,2487,3098,2975,2262,2554,2690,2659,2939,3033,2985,3038,2911,3119,3371,2923,2875,3233,2858,2597,3188,3737,3674,3393,3006,2921,2739,2625,3008,3138,2844,2608,2468,2567,2921,3334,3655,3006,2270,2510,2070,1850,1967,2164,2226,2185,1811,1529,2075,2872,2618,2451,2215,2041,2919,3109,2025,2900,2681,2184,2099,2244,2286,2185,1990,2308,3196,2719,1985,2062,2062,1648,2001,1861,1870,1810,1532,1626,1898,1788,1698,2033,2238,2275,2084,1807,1781,1524,1721,1971,1759,1776,1910,2375,3154,3044,2752,2674,2873,3270,3730,3536,3073,2444,2525,2291,2005,1991,2182,2246,2394,2326,2129,1969,1853,2545,2271,2072,2204,1979,1734,1814,1836,1916,1866,1534,2306,3226,2939,1898,1842,2128,1919,1843,2014,2198,2169,1844,2044,2348,2026,1754,1650,1672,1488,1596,1773,1792,2116,2453,2368,2499,2998,3240,2686,2196,1847,2108,2178,1762,2003,2493,2106,2143,2241,1892,1664,1410,1475,1651,1851,1722,1705,1814,1688,1692,2115,2119,1945,1776,1922,2387,2138,1958,2334,1658,1671,1916,2746,3540,2687,1602,1538,1731,1762,1831,1942,1744,1842,2254,2415,2173,1859,2036,1879,1669,2170,2717,2908,2455,2148,1958,1676,1629,1674,1716,1740,1901,2132,1989,1835,1667,1537,1741,1744,1466,1515,1837,1858,1997,2325,2061,2047,2133,2375,2409,2121,1848,1797,2422,2460,2045,2316,2261,2134,1748,1538,1452,1619,1997,1818,1818,1734,1792,1840,2194,2497,2597,2465,2464,2733,2248,2099,2153,2071,2178,1853,1659,1826,1728,1874,1793,1586,1513,1764,1846,1672,2031,2184,1848,1720,1728,1738,2098,2118,2207,1799,2031,2520,2464,2027,1852,1736,1636,1754,2272,2432,2372,2378,2511,2608,2381,1777,1577,1911,2074,1767,1745,2181,3000,3037,3042,2175,1365,1484,2107,2192,2329,2691,2661,2470,1892,1507,1690,2111,1722,1520,1892,2753,2110,1813,2135,1762,1620,1703,1868,2156,1762,1721,1990,1858,1838,1610,1714,1936,2246,2385,2311,2140,2106,2124,1976,2120,2536,2266,1982,1909,1929,2048,2062,1905,1954,2044,1879,1838,1733,1758,1764,2159,1933,1878,2046,2402,2148,1945,1964,1784,1908,1865,1958,2080,2077,1664,1596,1787,1946,2067,1867,2226,2387,2156,2019,1295,1333,2668,2916,2501,1921,1579,1576,1921,2265,1900,1676,2043,1886,1716,2326,2177,1859,1681,1594,1595,1549,1538,1550,1835,2019,1582,1442,1555,1708,1769,1794,1791,1661,1669,1662,1557,1533,1493,1492,1568,1695,1795,1598,1510,1700,1809,1523,1512,1556,1596,1865,1886,1832,1957,2029,2049,2029,1915,2408,2567,2153,1979,2276,2654,2558,2636,2588,3056,2724,1745,2136,3038,3130,3229,3146,2983,2998,2898,2768,2286,2181,2481,2118,2286,3188,3548,3520,3594,3609,2899,2024,1864,2266,1999,1697,1852,1688,1448,1560,1614,1688,2192,2107,1777,1939,2171,2515,2380,1976,1898,1849,1707,1653,1427,1536,1683,1478,1562,2123,1938,1925,1786,1795,2123,2108,1838,2094,2239,2173,1592,1510,1413,1446,1769,1679,1605,1558,1463,1808,2396,2643,2337,1903,1705,2831,3354,3530,3885,3980,4135,4260,4244,4229,4144,4244,4124,3980,3316,3458,3354,3360,3697,3132,2850,2952,3000,3138,2129,668,561,512,561,1674,1534,695,543,577,643,1499,2447,2896,2729,2156,1802,1822,1920,1914,1813,1957,2325,2635,3248,3848,3876,3658,3284,3373,3332,3230,3194,2654,2591,3096,3057,2710,2319,2099,2092,1931,1963,1917,2154,2030,1831,1688,1414,1508,1976,1786,1532,1594,1589,1566,1823,2012,2074,2081,2071,2029,2060,2503,1988,1837,1791,1616,1577,1753,2172,2258,2053,1837,1856,2028,1699,1757,2050,2344,1961,1780,1793,1737,1681,1850,1930,1739,1835,1599,1744,1897,2011,1750,1546,2344,2590,1970,1830,2102,2363,2490,2078,2510,2589,2534,1708,1909,2778,2822,2577,2038,1752,1565,1225,1455,2302,2871,3029,2902,2722,2371,2105,1931,1816,1763,1702,1838,1814,1589,1679,1432,1308,1497,1602,1648,1653,1807,1649,1920,2175,1803,1642,1532,1416,1476,1670,1711,1818,1742,2258,2071,1775,1768,1832,1788,1666,1514,2072,2375,2406,2205,2083,2014,1931,1647,1757,1994,1918,1665,1523,1637,1962,2508,2975,2414,1783,1495,1626,1975,1892,1453,1529,1757,1523,1395,1396,1632,1550,1738,1910,1638,2027,2206,2532,2558,2213,2197,2192,2553,2896,2640,2767,2319,2209,1851,1667,1571,2178,2443,1767,1576,1891,1691,1719,2072,1830,1620,1567,1512,1569,1881,1924,1961,1831,1691,2021,2000,1695,2031,1778,1486,1617,1687,1555,1614,1888,1885,1504,1349,1433,1356,1459,1477,1497,2119,2319,1738,1464,1409,1408,1506,1794,1841,2015,2120,1757,1463,1364,1317,1242,1420,1551,1698,1593,1488,1427,1301,1241,1292,1653,1810,1497,1642,1755,1849,1574,1884,1802,1620,1605,1496,1445,1573,1444,1439,1648,1755,1809,1732,1632,1270,1337,1609,1697,1988,2297,2305,1781,2060,2401,1897,2270,2287,2248,1986,1760,2255,2492,2476,2234,1725,1858,2050,1758,2054,2179,2376,2902,2888,2154,1715,1842,1996,1924,2164,2381,1816,1929,2514,2066,1782,1699,2721,3138,3332,3128,3165,3025,2190,1776,1736,2486,3129,2769,3017,2925,2187,2150,2910,3359,2932,2422,2153,2077,2066,2314,2877,2434,2393,2452,2120,2061,2374,2776,2987,3065,3242,3418,3418,2614,2310,2800,2881,1964,1699,1650,1637,1621,1848,2060,1895,1821,1820,1744,1893,2092,1126,1337,1882,2134,2688,2376,1785,1624,2452,3386,3469,3276,2850,2113,1834,1768,1710,1766,1734,1799,1893,1483,2076,2843,2554,1951,1664,1996,2623,2729,2705,2806,2808,2524,2766,3536,3447,2956,2341,2001,1579,1528,1661,2015,2361,2356,2636,2761,2532,2017,1843,2215,2312,1737,1787,1817,1723,2162,2332,2295,2321,2408,2114,2274,2725,2405,2217,2147,2640,2580,2381,2688,2385,2070,2131,2232,1863,2176,2933,3002,2593,2038,2281,2216,1645,1463,1946,2075,1751,1463,1659,2003,1918,1657,1757,1668,2093,3580,2822,2178,2403,2610,3330,2929,1980,1504,1887,2281,1915,1673,1852,2842,3190,2127,1757,1583,1276,1918,2481,2716,2575,2171,2198,2199,2183,2106,2670,2690,2165,2041,1992,1681,1819,1889,1749,1938,2116,2044,2140,2090,1561,1788,1967,1908,1894,1980,1594,1919,2326,2611,2665,2080,1985,2120,2068,2185,2039,1852,2480,2400,1936,1744,1607,1599,2030,2405,1995,1506,1732,1923,1875,2584,2640,2459,2256,2007,1854,1708,1622,1515,1820,1916,1938,2125,1806,1772,2058,1858,1581,1621,1554,1512,1714,1964,2209,2373,2200,2198,1903,2256,2450,2500,2383,2010,1642,1880,2641,2390,2231,1720,1810,2031,2662,3808,4007,3124,2181,2623,3505,3477,2879,1992,1985,1734,1727,1550,1588,1584,1607,1632,1592,1462,1520,1710,1658,1850,2232,1664,1342,1209,1233,1276,1263,1334,1316,1353,1505,1439,1197,1343,2040,1980,1391,1520,2218,2462,2629,2178,2258,2045,1665,1774,1713,1539,1397,1494,1524,1531,1810,1683,1672,1879,2162,1892,1614,1692,1676,1770,1827,2222,2123,2035,2239,2442,2684,2555,2363,2768,3167,3255,2854,2477,2233,1971,1657,1715,1738,1687,1833,1770,1614,1799,1726,1390,1539,1934,2149,2523,2017,1853,1675,1775,2256,2123,1879,1901,2120,2154,1958,1802,2021,2325,2662,2361,1944,1957,1964,1772,2522,2391,1660,1732,1716,1737,1929,2261,2379,1968,1686,1545,1505,1634,1763,1803,1632,1828,1874,1447,1517,1539,1654,1567,2165,3624,2831,1582,1504,1727,1636,1362,1416,1765,2100,2512,2230,2510,3050,2778,2836,2115,1524,1504,1918,2325,2482,2392,2097,1959,1912,2040,1635,1439,1404,1627,1688,1726,1645,1528,1888,1701,1802,2206,2047,1721,1833,1896,1953,1591,1651,1973,2176,2368,2576,2985,3617,3829,4124,4026,3743,3812,2742,2195,3153,3115,2504,1805,1630,2268,2610,2518,2318,1806,1963,2257,1870,1732,2397,2821,2510,2249,2522,2808,2779,2750,2170,2294,2221,2383,2777,2081,1814,1697,1627,2469,2968,3176,3056,2221,1719,1861,2476,2758,2994,2385,2136,1853,1562,1605,1769,1967,2178,1784,1764,2061,2049,2493,2728,2625,2029,1645,1776,2228,2741,3035,3062,3129,2510,1937,1714,1743,1874,2076,2214,2677,2788,2665,2649,2435,3020,3571,3806,3607,3564,3273,2913,2629,2276,2441,2589,3075,3024,3042,3522,3470,3160,2511,1990,1859,1986,2460,2775,3001,2496,1963,2134,2036,1766,1950,2030,2057,2033,1737,1955,2496,1980,1855,2091,1848,1772,1777,2032,2578,2457,2287,2807,2843,1912,1711,1592,1746,2348,3150,2855,2150,2122,2787,2755,2381,2060,1871,2113,2415,2448,2710,2654,2392,1980,1969,1935,1963,1910,2001,2419,2953,2752,3056,2743,2234,2104,1810,1637,1970,2288,1959,1816,1730,1682,2052,2373,2147,2121,2402,2374,2122,1627,1532,1675,2234,2852,2459,1990,1940,1412,1404,1648,2020,2220,2180,2123,2230,2462,2627,2642,2692,2588,3164,3541,2874,3252,2544,2211,1819,1463,1836,2334,2206,1806,2071,2100,2097,2134,1989,1925,2745,3226,2579,2018,1983,1994,1874,2214,2202,2277,2220,2260,3044,2699,2549,1945,1676,2133,2483,2761,3148,3823,3967,3394,3078,2652,2729,2757,2165,1691,2063,2853,3008,2593,2120,2329,2863,3217,2595,1792,1946,2189],[1790,1897,1791,1752,1850,1651,2062,2208,1969,2473,2147,2592,2194,1566,1562,1409,1936,2470,2264,1996,1621,1830,1858,1845,1704,1804,1544,1208,1651,1709,1923,1979,1769,2289,2401,1780,1567,1619,1538,1958,2060,1688,1389,1504,1768,1694,1626,1806,1873,2005,2209,2269,2289,2162,2121,1643,2006,2875,2706,2579,2497,1905,1484,1660,2145,2176,1525,1639,2005,1923,2028,2316,2279,1841,1606,1220,1470,2343,2151,1700,1588,1496,1345,1390,1330,1790,1838,1692,1967,2422,2631,2139,1685,1685,1808,2149,2679,2746,2039,1686,2081,2579,2287,1953,2466,2852,2609,2899,4241,3762,3308,3065,2889,3157,2886,2822,2856,2370,2472,3321,3980,4046,3959,3514,3250,2765,2945,2824,2537,2555,2407,2230,2621,2842,2733,2451,2249,2274,2678,2696,2524,2230,2404,2715,2558,2358,2128,2552,3060,2293,2304,2288,2346,2837,3032,2021,2464,2852,2125,1924,2747,2627,1941,1926,2287,3387,2656,2129,1525,1835,1953,2206,1886,1814,2062,1788,1550,1628,1781,1889,1644,1719,1895,1910,1775,1602,1471,1730,2189,2086,2219,2635,2856,2890,2492,2842,2473,2842,3174,3486,3413,3003,2581,2932,2953,2351,2320,2568,2500,1859,1950,2210,1923,1756,1955,1820,1983,2547,2177,1727,2200,1790,1779,1908,1271,1736,2756,2336,1596,1270,1801,1805,1721,2003,2357,2210,1781,2147,2396,2050,1827,1954,1941,1509,1316,1604,1852,2102,2408,2225,2420,2868,3696,3661,2780,2414,2106,1976,1743,1793,1996,1968,2072,2097,2105,2007,1698,1763,1513,1580,2022,2403,2267,2264,2118,1953,2064,1925,1887,1804,2149,2310,1908,1747,1751,1613,1653,2327,2633,2185,1888,1650,1829,1552,1694,1813,1757,1752,2121,2469,2163,2047,2009,1647,1597,1742,1913,1841,2077,2370,2041,1822,1817,1841,1706,2029,2241,1972,2020,1891,1721,1717,1732,1731,1551,1698,1736,1561,1864,1910,1850,1905,1960,2366,2316,1919,1586,1505,1819,2043,1891,2356,2417,2078,1596,1492,1533,1978,2600,2049,2244,1891,1802,1793,1807,2153,2249,1954,2182,2634,2405,2270,2057,2029,2284,2203,2210,2571,2343,2028,1750,1771,1803,1908,1948,1778,2027,2437,2027,1561,1631,1657,2051,2291,2115,1573,1667,1864,2048,2377,1924,1492,1676,2358,3373,2937,2343,2605,2245,2046,2051,1836,1980,2468,2282,1832,2072,2520,3002,2744,2163,2250,2764,2851,2641,2337,2313,2104,2413,2321,1636,1690,2171,2210,1909,1834,1879,2588,2197,2076,2060,1521,1652,1787,1598,2011,1868,1483,1907,1632,1422,1463,1538,1777,2128,2165,2116,2170,2271,2089,1844,2057,2332,2256,1848,1532,1562,1714,1729,1820,1934,1923,1936,2049,1998,1975,1990,2204,2277,2109,2432,2952,2437,1663,1609,1976,2542,1913,2034,2276,1973,1757,1764,1859,1907,1596,1836,2253,2478,2544,2092,1143,1583,2735,2665,2323,2020,1712,1596,1653,1875,2032,2066,2136,2154,1810,2129,2050,1821,1809,1689,1598,1742,1781,1464,1788,1964,1599,1650,1557,1563,1598,1548,1840,1615,1434,1363,1385,1459,1400,1496,1582,1694,1832,1723,1755,1723,1728,1545,1475,1491,1475,1681,1852,2091,2060,2093,2056,2150,2501,2985,2476,2386,2592,2676,2336,2654,2807,2622,2865,2563,1917,2505,3002,3206,3409,3255,3112,3120,3073,2666,1941,2019,2357,2254,2180,2993,3463,3313,3423,3805,3008,2784,2472,2403,2219,1625,1482,1562,1576,1833,1655,1832,2125,2370,1982,1826,1971,1821,1371,1389,1865,2055,1957,2066,1769,1722,1657,1672,1991,2224,2072,1954,1749,1544,2039,2508,1568,1757,2095,2118,2094,1702,1334,1971,2418,1875,1432,1470,1426,1504,1907,2197,1911,1876,1741,2348,3116,3489,3609,3983,4412,4061,3648,4015,4221,4285,3945,4074,3698,4014,3383,3659,3620,3121,3391,3208,2893,3056,1756,643,529,511,528,1935,1390,563,603,551,826,1588,2332,3162,2906,2206,1706,1907,1830,1660,1838,2114,2843,3039,3037,3103,3127,3128,3443,3770,3559,3194,3479,3470,2625,2350,2810,3210,2800,2366,2136,2071,2135,2250,2282,1785,1781,1605,1472,1566,1813,1992,1735,1921,2209,1694,1636,1550,1708,1828,1953,2071,2193,1905,1563,1754,1749,1758,2087,2010,2094,1841,2244,1860,1794,1708,1637,1632,1771,1769,1627,1557,1672,1699,1842,1954,1734,1796,2174,2365,2532,2441,2024,1648,1471,1847,2142,1785,1916,2241,2494,2412,2340,2721,2856,3141,2484,2534,2875,2944,2474,1727,1462,1476,1430,1741,2415,2847,2312,1947,2356,2538,2281,1938,1866,2089,2263,2322,2044,2133,2226,1511,1272,1463,1389,1357,1478,1776,1829,1743,1799,1811,1954,1825,1532,1813,1801,1505,1568,1667,1793,2088,2132,1786,2099,2019,2071,1677,1907,2017,2345,2468,2490,2806,2508,1708,1713,1907,1785,1619,1458,1328,1953,2610,2088,2045,1886,1603,1856,2405,2077,1398,1464,1639,1568,1563,1736,2141,1669,1856,1967,1888,1931,1994,2420,2858,2699,2235,1859,2363,2435,2492,2206,2169,2546,2285,1945,1776,1975,1975,1641,1819,1837,1860,2426,2280,1692,1722,1929,1604,1472,1835,1843,1669,2012,2230,2041,2009,1837,1744,1757,1914,1985,1989,1772,1768,1976,1798,1852,2203,2322,2066,1946,2024,1904,2155,2165,1877,1676,1489,1409,1943,2606,2187,2098,2073,2279,2248,1930,1549,1414,1631,1808,1789,1791,2081,1922,1509,1429,1613,1716,1883,1670,1736,1561,1603,1520,1568,1704,1742,1536,1353,1531,1623,1330,1518,1582,1620,1765,1625,1737,1495,1415,1765,2166,2420,2770,2636,2138,2141,2339,1907,2117,2362,2512,2313,2053,2009,2005,2404,2136,1736,1833,1903,1480,1577,1715,1676,1703,1711,1768,2080,2200,1773,1807,1922,2152,1808,1636,1616,1455,1527,1561,1985,2459,3443,3731,3297,3121,3023,2620,2236,2387,2582,2832,3004,2454,1838,2314,3505,3405,2374,2231,2270,2147,2407,2990,3096,2433,2358,2282,1970,2525,2231,2091,2456,2401,2849,3183,2945,2765,3031,3596,3129,1832,1396,1625,1673,1583,1915,2155,1651,1709,2251,1945,2509,2636,1900,1644,2060,2342,2480,2162,1644,1806,2357,2832,3188,3500,2668,2429,2293,2230,2089,2154,2162,2160,1944,1780,2440,2305,1960,2302,2591,2843,2811,2464,2729,2820,2639,2489,3150,3608,3114,3060,2345,2040,1759,1701,1656,2222,2092,2138,2329,2314,2300,2001,2127,2344,2221,1593,1836,1915,1573,1708,1792,2184,2513,2417,1937,1695,2100,2566,2736,2580,2688,2609,2198,2570,2308,1866,1994,2246,1969,1972,2958,3019,1866,1542,1981,2103,1881,1709,1956,2176,1885,1434,1716,2098,2066,1997,1910,1686,2455,3382,2427,2661,2908,2749,2723,2320,1666,1732,2365,2515,2412,2033,2199,2640,2939,2702,2003,1840,1464,1488,2288,2761,3050,3168,2232,2233,2501,2415,3065,2841,1973,1931,2186,2028,1845,1823,1767,2186,1995,1973,2001,2264,2392,2543,2787,2265,1870,1872,1858,2183,2221,2426,3010,2523,1897,1789,2258,2181,1830,2194,2730,2590,1878,1803,1969,2086,2864,2902,2598,1873,1604,1382,1293,1608,1748,1813,1787,1783,1693,1599,1774,1686,1712,1959,1957,2243,2110,1735,1813,1804,1618,1576,1578,1496,1473,1728,2042,2039,1909,2267,2099,2190,2416,2359,2121,1997,1775,1819,2521,2289,2390,2248,2137,2607,3292,3822,4051,3438,2283,2153,3260,3430,2731,1942,1962,1920,1849,1851,1763,1815,1943,1921,1910,1810,1735,1648,1644,1651,1935,1825,1369,1290,1262,1231,1369,1499,1466,1326,1312,1458,1311,1225,1359,1537,1638,2047,2405,2585,2413,2116,2281,1987,1711,1564,1471,1627,1783,1975,1647,1525,1709,1535,1618,1804,1924,1760,1844,2004,1776,1647,1904,2112,2150,2136,2232,2268,2545,2771,2751,2716,2950,2868,2499,1909,1661,1695,1718,1759,1962,1700,1632,1766,1780,1723,1563,1460,1437,2042,3422,3610,2425,2234,2330,2364,2218,1961,1839,1733,1835,1780,1818,1813,2075,2656,2652,2155,1956,2339,2397,2108,2574,2644,1776,1612,1775,2371,2271,2239,1805,1449,1393,1313,1592,1895,2017,1901,1645,1828,1796,1680,1996,2353,1790,1966,2734,3302,2450,1600,1799,2083,1753,1555,1479,1641,1679,1992,2408,2619,2912,2372,2443,2674,2296,1857,1962,2186,2368,2239,1973,1665,1655,1863,2337,2072,1401,1342,1360,1721,1915,1674,2530,1913,1819,1639,1900,2024,1834,1587,1358,1357,1435,1492,1585,1789,1710,2026,3218,3444,3761,3771,3596,3435,2365,2246,3550,3983,2713,1776,2014,2199,2380,2464,2144,1753,1751,1768,1582,1842,2468,2691,2491,2225,2646,2876,2875,3125,2393,2171,2389,2435,2146,1690,1720,1722,1719,2219,3197,3279,2183,1901,2032,1891,2482,2828,2294,1816,1822,1743,1717,1619,1649,2019,2520,2197,1785,1894,2547,3063,2906,2574,2170,1820,1900,2149,2613,2724,2332,2358,2886,2484,2056,2135,1918,1951,2148,2429,2656,2857,2931,2555,3477,3807,3779,3736,3145,2888,3061,2873,2840,2984,2913,2580,2229,2522,2733,2974,2964,2237,1857,1692,2175,2342,2457,2602,2344,2237,2352,2072,1775,1629,1926,2398,2154,1904,2111,2420,2210,2481,2895,2488,1923,1853,2171,2401,2204,2166,2106,1902,1676,1530,1587,1602,2068,2432,2590,2636,2696,2524,2194,2069,2076,1810,1758,1997,2487,2720,2625,2307,1953,1932,2046,2302,2170,2125,2918,3288,2730,2678,2834,2644,2308,2354,1966,1711,1731,1785,1858,2272,2306,2350,2639,2562,2765,2624,2339,2183,1742,1775,2177,2780,2350,2376,2512,1973,1556,1626,1953,2172,2265,1989,1975,1862,2227,2403,2399,2371,2645,3649,3664,2287,1680,2124,2146,1717,1963,1768,1765,1923,2272,2609,2705,2975,2714,2070,1857,2607,3249,2722,2261,2360,2208,2047,2465,2484,2583,2268,2268,2619,2722,2578,2172,1973,2140,2573,2985,3059,3627,3789,3447,3143,2913,3096,3252,3067,3177,3562,3550,2947,2837,2867,3172,3075,3414,3014,2364,2587,2350],[2061,2313,2409,2101,2160,2101,2248,1987,1834,1901,1743,2268,2109,2079,2322,1996,2222,2376,1909,1659,1651,1674,1556,1600,1474,1324,1059,1249,1555,1692,2136,2275,1756,1682,1626,1725,1792,1892,1616,1760,1927,1596,1610,1642,1466,1548,1700,1789,1890,1851,1967,2075,2017,1989,1938,1620,2086,2401,2042,2292,2496,1925,1516,2004,2283,2006,1552,1616,1860,2026,1903,2298,2399,1770,1635,1085,1406,2601,2510,2031,1561,1301,1272,1379,1384,1888,1984,1415,1727,2689,3179,1925,1785,1869,1813,1907,2232,1933,1527,1435,1525,1804,1981,2238,2021,2274,2099,2754,4121,4312,4187,3630,3054,2889,2558,2833,2872,2221,2464,3190,3619,3614,3238,3020,2872,2613,2215,1682,1542,1673,1740,1785,2460,2815,2392,2112,1532,1565,1892,2270,2236,1862,1900,2128,2455,2663,2419,3105,3584,2862,2468,2437,2577,2832,2492,2189,2144,2375,2160,1686,2120,2250,2141,2316,2448,2596,2459,2081,1789,1814,2312,2585,1913,1822,2252,1846,1321,1649,2053,1970,1703,2114,1832,1672,1902,2124,1736,1385,1760,2341,2770,2644,2744,2556,2566,2599,2661,2695,2906,3317,3366,2918,2712,3461,3789,3401,2644,1930,1730,1631,1656,1588,1784,2030,1804,1659,1833,1794,1698,1897,2797,1994,1947,2154,1716,1744,1919,1650,1564,1950,1885,1583,1722,1904,1788,1753,1836,2903,2634,2001,1692,1844,1763,1945,1905,1660,1919,2085,2148,2024,2210,1813,2084,2678,2273,2057,1926,1905,2095,2244,2014,1948,2188,2226,1855,1890,1955,1828,1644,1810,2736,3194,2868,2697,2185,1951,2108,1842,1681,1637,1718,1990,1620,1692,1916,1811,1664,1667,1869,2462,2128,1722,2070,2248,1900,1460,1445,1555,2070,2261,1920,1940,2052,1973,1711,1537,1485,1502,1790,2197,2337,2032,2222,2244,1648,2163,2768,2191,1953,1837,1768,1737,1698,1647,1555,1790,1570,1487,1765,1944,2011,1954,1770,2004,2090,2173,1855,1642,1231,1408,1796,2160,2437,2039,1578,1714,1882,1883,2135,1822,1825,1687,1620,1701,1668,1761,1833,2011,2577,2622,2259,2140,1833,1862,2382,2492,2580,2444,2493,2211,1911,2103,2008,1834,1780,1648,1961,2068,1910,2004,1925,1711,1678,1916,1776,1818,2015,1763,2164,2769,2130,1635,1802,2520,3444,3084,2346,2110,1758,1941,2126,2116,2010,2431,1892,1925,2071,2691,2812,2341,1932,2213,2563,2362,2060,2488,2393,2057,2212,2392,2002,1733,1773,1641,1696,1845,2066,1973,1833,2017,1607,1659,1883,1959,1632,1630,1396,1745,2144,1771,1471,1504,1647,1836,1577,1621,2257,2448,2220,1706,1589,1787,1860,2056,2104,1719,1431,1523,1838,1749,1905,1882,1804,1612,1613,1677,1990,2286,2288,2251,2388,2545,2433,2321,2139,2388,2512,2187,2272,2545,2099,1872,1914,1952,1983,2379,3086,2751,2862,2413,2137,1908,1955,2247,2533,2218,1639,1671,1981,1962,1993,2042,1935,1880,1758,1688,2056,2072,2396,2295,1737,1677,1740,1635,1573,1729,1727,1732,1556,1555,1842,1937,2260,2310,1758,1591,1574,1588,1541,1704,1732,1576,1802,1977,2076,2121,2075,1920,1686,1952,2220,1850,1875,1962,2261,2437,1965,2023,2202,2576,2180,1813,2291,2975,2476,1986,2752,2720,2316,2416,2890,2620,2548,2563,2722,2858,3112,3165,3183,3117,2829,2491,2424,2444,2502,2225,2861,3283,2816,2663,2924,2788,2807,2670,2436,2359,1974,1619,1641,1780,1694,1471,1562,1620,1766,1930,2302,2114,1554,1449,1584,1845,1958,1727,1496,1646,1918,1814,1880,1959,1914,1658,1484,1367,1449,1918,2060,1657,1821,1875,2050,2004,1710,1555,1849,2099,1732,1416,1526,1303,1633,1898,1842,1891,2083,1921,1833,2517,3296,3594,3816,3925,3847,3698,3905,4207,4148,4205,4121,3915,3865,3492,3751,3737,3774,3771,3454,3066,3146,1475,591,545,532,759,1786,1285,549,585,518,871,1955,2386,3253,3095,2227,1685,2020,1902,1614,1725,2337,3344,3528,3208,2873,3182,2998,3718,4124,4058,3316,3573,3861,3300,2908,3553,4100,3307,2403,1837,2053,1917,2113,1992,1882,1900,1824,1615,1503,1881,2455,2147,2124,2462,1743,1616,1471,1512,1666,1828,1944,2142,1976,1856,1975,2007,2120,2555,2065,1825,1582,1786,1908,1726,1626,1606,1599,1546,1501,1564,1629,1643,1660,1889,1830,1903,2046,2411,2567,2875,2895,2311,1890,1794,1562,1566,1656,2109,2198,2568,2436,1985,2149,2676,2872,2923,2602,2340,2666,2147,1744,1399,1499,2005,2329,2483,2396,2409,2828,3057,2884,2204,1862,1791,1889,1956,2293,2285,2198,1952,1497,1391,1443,1341,1329,1371,1542,1634,1548,1521,1405,1505,1568,1885,2203,1865,1652,1572,1543,1737,2336,2136,1768,1918,2041,2181,2192,2489,2884,3199,2818,2641,3077,2812,2118,1986,1852,1736,1880,1615,1588,1921,2364,2153,1881,1926,1968,2166,2486,2017,1613,1865,1960,2011,1938,1918,2003,1910,2043,2048,1967,2176,2166,2115,2614,2889,2524,2171,2688,2668,2500,2172,2144,2245,2041,1827,1614,1446,1750,2158,2199,1686,1843,2056,1747,1541,1637,1926,1859,1692,1815,1942,1866,2842,2468,2187,2398,1926,1958,2026,2265,2542,2286,1844,2000,2451,2077,2300,2461,2386,1971,1960,1940,1649,1604,1571,1582,1490,1506,1638,1920,2401,2165,2025,1832,2180,2298,2256,1799,1454,1443,1468,1536,1566,1817,1925,1556,1473,1787,1831,1865,1707,1540,1443,1386,1380,1286,1535,1490,1532,1514,1590,1497,1545,1687,1763,1887,1917,1887,1939,1788,1834,2229,2614,2502,2915,2594,2470,2148,2087,2263,2534,2407,2259,2062,2227,2316,2264,2562,2082,1704,2027,1704,1389,1355,1455,1498,1384,1430,1730,2337,2528,1777,1832,2004,2115,1961,1542,1575,1983,1814,1600,1560,2036,3312,3500,3198,2734,2557,2513,2366,2166,2030,1863,1881,1748,1726,2365,3326,3042,2143,2137,2169,2146,2644,3430,3486,2542,2360,2120,1732,1921,2008,1991,2281,2036,2684,2654,2420,2677,2603,2980,2763,1845,2176,2581,1998,1892,1910,2103,2004,1872,2120,1906,2029,2439,2236,1846,1838,1976,2294,2440,1662,1509,1826,1799,2565,3122,2718,2215,1990,2173,2452,2987,3145,2856,2249,1835,2280,1694,2036,2449,2568,2915,2461,2362,2827,2801,2670,2596,3506,3842,3288,2874,2384,2194,2002,1848,1696,2274,2374,1958,1996,2292,2144,2114,1996,2150,1968,1935,1951,1866,1586,1515,1900,2512,2657,2089,1652,1628,2136,2701,2744,2564,2648,2920,2728,2353,1892,1797,2070,2368,2074,1743,2352,2531,1620,1282,1594,2144,2538,2316,1836,1836,1749,1663,1810,1908,1770,1791,1842,1697,2859,3000,2561,2833,2719,2342,2322,2250,1905,1728,2196,2712,2949,2491,2454,2578,2779,2327,1723,1656,1576,1959,2590,2465,2706,3016,2138,2649,2853,2809,3043,2691,2084,2221,2354,2208,2112,2011,2188,2307,2424,2127,1864,2634,3061,3154,3053,2270,1895,2264,2265,2124,1749,1871,2124,2161,2060,1744,2072,2108,2059,2416,2454,2814,2004,2014,2474,2540,2790,2834,2604,1699,1399,1544,1240,932,1252,2182,2444,2142,1787,1481,1996,1801,1749,2254,2035,2115,2414,1952,1795,1788,1622,1531,1613,1499,1200,1362,1540,1577,2232,2732,2160,1752,1730,1857,2003,1998,1849,2086,2470,2288,3055,3235,2916,3353,3737,3908,4271,3503,2504,1973,2698,3287,2522,1903,1947,1905,1871,1853,1688,1775,1677,1428,1418,1362,1302,1416,1592,1665,1996,1760,1361,1329,1263,1264,1296,1269,1316,1217,1406,1573,1574,1343,1265,1540,1843,2026,1912,2221,2472,1996,2001,2094,1885,2161,1923,1787,1964,2066,2020,1938,1754,1818,1916,1878,1880,1896,1814,2033,2218,2194,1852,1899,2026,2098,2121,2124,2240,2424,2283,2432,2588,2321,1896,2009,2122,2409,2394,2254,2337,1938,1354,1469,1622,1604,1530,1447,1720,2330,2932,2896,2567,2222,2040,2062,1862,1649,1454,1569,1798,1779,1927,1874,2004,2500,2344,2127,1942,2451,3043,2767,2824,2811,1850,1684,1915,2668,2332,2332,1956,1663,1610,1404,1533,1556,1560,1560,1467,1742,2287,2746,2956,3124,2712,3028,3386,2906,1974,1581,1834,2009,1790,1606,1488,1638,1753,1623,1679,2084,2486,2183,2077,2392,2193,1951,2158,2306,2619,1911,1912,2031,1892,1943,2630,2226,1380,1416,1403,1511,1728,1481,2193,1875,1813,1603,1665,1744,1888,1823,1677,1488,1477,1610,2091,1942,1781,1874,2627,2727,2975,2988,2915,2658,2221,2171,2536,3168,2656,2219,2018,1729,1797,2135,2127,1803,1773,1703,1758,1877,1824,1998,2222,2086,2208,2388,2744,3418,2981,2378,2250,2194,2214,2126,1864,1731,2265,2668,3254,2590,2180,2126,2230,1954,1978,2095,1919,1674,1687,1768,2508,2061,1625,1815,2008,2177,1980,1854,2041,2490,2972,2886,2024,1714,1970,2020,2144,1861,1553,1668,2220,2632,2701,2087,1656,1712,1842,2079,2509,3023,3218,2533,2722,3217,3675,3941,3848,3890,3808,3597,3320,3161,2758,2182,2294,2212,1938,2420,2853,2327,1719,1991,2512,2251,2019,2445,2872,2337,2082,2311,2121,1678,1746,1938,1800,1722,1798,2090,2298,2194,2145,2236,1927,1790,2376,2217,1857,1798,1754,2104,2166,1879,1844,1678,1862,1791,2019,2149,2524,2468,1964,1728,1716,1721,1857,1782,1833,1877,2260,2194,2026,1902,2070,2302,3045,3320,3547,3354,2517,2478,2437,2763,3062,3276,2874,2032,1927,2098,2322,2333,2239,2426,2481,2550,2750,2247,2049,1852,1835,2554,2975,3086,2500,3094,2820,2032,1616,1578,2093,2326,2480,2562,2734,2320,2548,2690,2497,2353,2337,2908,3127,2299,1708,2440,2567,2239,2668,1798,2046,2241,2932,3400,3329,3102,2388,2004,2282,2822,3089,2606,2436,2836,2474,2132,2754,2986,2824,2812,2814,2242,2148,3008,2840,2309,1931,2111,2700,2608,2868,3269,3241,3443,3321,3332,3517,2735,2298,2530,2959,2507,2310,2742,3092,3145,3204,3040,2723,2866,2451],[2898,2898,2858,2523,2393,2026,1842,2039,1932,2029,2125,1973,2053,2305,2288,2209,2321,1992,2091,1785,2302,2057,1592,1524,1441,1150,1297,1678,1773,2160,2014,2044,1854,1544,1542,1459,1754,1959,1790,1830,1685,1251,1447,1413,1371,1372,1571,1719,2138,2097,1929,1946,2092,1981,1801,1509,1850,2500,2274,2083,2432,1680,1843,2012,1756,1615,1358,1461,1740,1819,2026,2435,2290,1768,1640,1431,1670,2287,2156,1802,1718,1615,1276,1261,1729,2192,1863,1505,2083,2741,3254,2600,2386,2317,1969,2015,2283,1885,1585,1487,1486,1439,1632,1792,1693,2022,2183,2730,3481,3264,3476,3521,3164,3539,3240,3012,3171,2257,2267,2839,2980,2976,2397,2656,3065,2979,2509,1783,1629,2042,2491,2393,2732,3592,2852,2051,1815,1691,1556,1974,2075,1824,1940,1671,1720,2199,2393,3240,3618,3376,2989,2755,2887,2613,2333,2370,2065,2242,2078,1705,1876,2314,2518,2216,2535,2758,2764,2631,2689,2552,2495,2746,2017,1959,2097,1658,1775,2088,1712,1818,1933,1840,1802,1660,1752,1871,1619,1531,1596,2045,2633,2783,2256,2401,2954,2511,2728,2717,2736,3306,3286,2463,2242,2766,3591,3990,2898,1759,1350,1376,1711,1687,1864,2260,2074,2048,2213,2081,2114,2288,2856,2483,2192,1872,1689,1688,1559,1744,2731,3284,2482,1803,1663,1878,1745,1864,2095,2216,2314,2102,1559,1531,1839,2187,2027,1797,2115,2077,2126,2255,2070,1759,1401,1645,1962,2041,2083,2115,2383,2280,2067,2076,2082,1883,1492,1648,1968,2332,2130,1591,2087,2802,3067,2630,2014,1799,2075,2227,1653,1600,1707,1619,1168,1131,1615,1888,1714,1624,1895,2092,1560,2084,2731,3066,2059,1610,1686,1685,1960,2053,1637,1775,2362,2179,1827,1600,1676,1832,1842,1823,1856,1636,1985,2136,1687,1751,1847,1775,1603,1659,1892,1798,1725,1578,1719,1780,1550,1559,1683,1669,1549,1418,1555,1696,1913,1809,1807,2034,2071,1902,1682,1891,2007,1647,1449,2161,2480,2373,2341,2174,2008,1747,1614,1569,1714,1836,1786,1953,2178,2453,1984,1809,1826,1786,1938,1975,2175,2490,2643,2154,1873,1749,2049,1929,1569,1521,1592,1742,2196,2511,2120,1535,1588,1820,1704,1781,2080,1744,2168,2186,1599,1574,1560,2160,3102,3166,2788,2160,1647,2112,2176,2022,1938,2400,1949,1938,2039,2644,2591,1911,1622,1661,1995,1795,1888,3023,2414,2258,2156,2309,2371,1986,1795,1662,1356,1474,1643,1525,1531,1716,1588,1462,1722,1701,1701,1759,1627,1968,2007,1596,1441,1489,1722,2057,1989,2046,1973,1881,2028,1707,1799,1942,1519,1609,1945,1591,1692,1895,2417,2054,2045,1959,1825,1789,1665,1530,2238,3111,3003,2769,2499,2430,2641,2319,1966,2200,2214,1927,1775,2062,2138,1947,1954,1904,2232,3076,3261,2943,3064,2790,3422,3017,2082,2278,2461,1827,1583,1769,1931,1725,1661,1573,1650,1898,1604,1738,2378,2317,2382,2366,2020,2061,2224,2510,2189,1739,2064,1831,1471,1815,2349,2376,1995,1741,1889,1929,1610,1506,1592,2040,2031,1731,1814,2059,2448,2562,2305,2106,1913,2155,2474,2047,2058,1954,2232,2536,2485,2333,2831,2640,2197,2184,2449,2642,2398,2554,2792,2687,2087,2122,3023,2867,2574,2610,2029,2375,3155,2774,2691,2466,2382,2462,2185,1840,2135,2082,2855,3364,2783,2210,2345,2598,2434,2191,2249,2202,1884,1870,1759,1897,1688,1395,1464,1513,1440,1815,2686,2387,1866,1408,1375,1415,1614,1838,1755,1959,2126,2060,2007,1995,2005,1709,1575,1314,1312,1769,1659,1604,1643,1624,1688,1892,2034,1707,1368,1465,1435,1506,1468,1370,2182,2308,1990,1987,2511,2972,3005,3132,3169,3284,3576,3373,3719,3892,4172,4417,4191,4188,4100,3980,3684,3343,3973,3694,3392,3008,3336,3361,3068,1297,516,571,484,1107,1833,944,607,553,563,917,2092,2513,3027,2884,2127,1851,2105,1919,1670,1938,2556,3195,3471,3389,3540,3636,3610,3820,4204,4264,3941,3618,3660,3586,3621,4177,4099,3217,2427,2417,2568,2046,1666,1734,1780,1931,2089,2350,2292,2012,2158,2013,1775,1737,1643,1643,1600,1767,1768,1549,1691,1919,2026,2060,2064,2133,2282,2555,2653,1948,1731,2054,1916,1751,1801,1609,1526,1466,1575,1588,1649,1578,1863,1772,1577,1940,2470,2497,2105,2220,2406,2313,1903,1728,1582,1916,1976,2004,1830,2024,2180,1884,2383,2699,2711,2832,2389,1917,2435,2408,1748,1414,1598,2595,3022,2753,2451,2820,2978,2853,2623,2450,1916,1694,1610,1741,2241,1964,1946,2221,2004,1531,1488,1403,1371,1386,1541,1599,1593,1524,1520,1448,1344,1854,2152,1885,1673,1694,1845,1528,1710,1591,1774,2118,1981,1781,2301,2664,2784,2888,2494,2291,2092,2288,2109,1984,1993,1911,2351,1870,1887,1992,1969,1926,1650,1789,1802,1707,1888,2041,1973,1791,2134,2566,2753,2846,2786,2674,2481,1966,2306,3025,2658,2495,2988,2669,2306,2468,2730,2570,2287,2194,2171,2192,2181,2200,1784,1372,1686,1908,1943,1789,2271,2104,1694,1705,1641,1879,2194,2027,1825,2409,2464,2562,2115,2403,2533,2846,3132,2147,2194,2976,2520,2121,2172,2643,2157,2071,2409,2240,1869,1697,1616,1508,1484,1810,1919,1715,1728,2014,1909,1578,1985,1931,1926,2030,1926,1780,1498,1472,1481,1410,1440,1361,1747,2119,1596,1531,2481,2303,1765,1659,1896,2155,1555,1763,1972,2024,1961,2203,2247,2314,2057,1632,1692,1926,1769,1631,1954,1933,1890,2212,2285,2278,2146,2120,2230,2227,1779,1636,2072,2075,1692,2030,2216,2066,2052,2137,2045,1868,1934,1896,1600,1349,1331,1455,1399,1456,1633,1619,1851,2334,1925,1698,1767,1630,1412,1271,1724,2299,2032,1690,1742,2414,3500,3761,3057,2562,1964,1839,2186,2248,1843,1519,1509,1630,1960,2199,2362,2206,2099,2181,2470,2369,2878,3235,2900,2547,2254,1836,1844,2395,2282,2197,2395,2010,2489,2610,2355,2398,2640,2566,1929,2142,2711,2474,1775,1897,1981,2014,1898,1826,1582,1456,1880,2051,1866,1760,1831,2287,3076,3000,2100,2050,2260,2257,2837,2676,2425,2386,2146,2173,3039,3897,3616,3200,2307,2223,3033,2336,2781,2679,2125,2405,2584,2756,2844,2786,2492,2422,3489,3948,3433,2819,2636,2692,2534,2149,1785,1713,2274,2363,2407,2559,2419,2418,2003,1795,1863,2003,1967,1879,1621,1442,2106,2788,2335,1777,1815,1633,2004,2244,2170,2171,2518,2779,2644,2452,1961,1899,2336,2276,1993,1707,1922,1936,1500,1555,1813,2482,2943,2551,2392,2295,2049,2488,2621,1847,1820,1961,1837,1813,2697,2864,2768,3327,3226,2453,2707,2259,2051,1820,1790,2111,2228,2416,2341,2258,2081,1649,1626,1464,1477,1948,2733,2518,2455,2529,2300,2507,2789,2728,2809,2812,2218,2204,2371,2027,1806,1740,2127,2215,2626,2508,2222,2608,2851,2413,1830,1902,2033,2213,2281,2918,2814,2278,2108,1974,2161,2169,1767,1884,2094,2485,2412,2574,2101,1878,2114,2482,2645,2698,2643,2082,1555,1389,1424,1393,1512,2586,2463,1937,1583,1284,1693,1968,2081,2311,2013,2004,2569,2272,1548,1538,1664,1599,1447,1323,1262,1295,1387,1981,2684,2365,1697,1683,1690,2172,2503,2230,1964,2349,2490,2268,2550,2797,2993,3130,3145,3547,4515,3835,3168,2633,2355,3154,2877,1982,1933,1853,1652,1650,1671,1645,1337,887,724,730,701,1288,1754,1926,1993,1570,1233,1228,1224,1275,1381,1628,1571,1353,1505,1745,1598,1380,1488,1610,1610,1579,1696,2172,2411,1900,1929,1693,1757,2324,1903,1678,2449,2917,2566,2039,2028,2260,2370,2099,1781,1757,1564,1598,1933,2115,2057,1927,2005,1987,1803,1835,1592,1757,2014,2264,2079,1857,1718,2464,3074,3063,2858,2712,2932,2880,1872,1814,1834,1728,1561,1452,1621,2179,2119,2376,3121,2751,1956,1802,1669,1571,1563,2046,2211,2141,2332,2163,1900,1992,2448,2401,2023,2271,2447,2304,2143,2049,2018,2137,2112,2643,2975,3380,2897,1899,1604,1372,1444,1553,1552,1541,1584,1842,2142,2684,2697,2476,2341,2498,2852,2467,1939,1632,1544,1399,1613,1629,1570,1619,1683,1697,1690,1949,2132,2284,1880,1185,1229,2508,3053,2867,2631,2255,1938,1694,1622,1771,1947,1666,1378,1316,1478,1500,1516,1424,2281,2220,1646,1367,1269,1433,1794,2045,1802,1482,1393,1533,2068,1652,1933,2293,2213,2742,3136,3000,3156,2743,1933,1423,1393,2368,2532,2192,1848,1809,2037,2469,2097,1618,1844,1766,1822,1699,1403,1464,1859,1769,1564,1866,2092,2060,2145,2075,1910,1890,2175,2155,1936,1713,2427,2397,2343,1852,1821,1812,1802,1735,1808,2232,2308,2031,1935,2265,3041,2171,1607,1723,1899,2241,2231,1938,1865,1715,2036,2397,2111,1920,2047,2018,2004,1752,1500,1490,1902,2730,2703,2024,1773,1808,2108,2802,3066,3065,3175,2872,2762,3035,3602,4143,4237,3814,3416,3239,2512,3154,3161,3083,3098,3142,3075,2973,2603,2137,2125,2611,2873,2875,2508,2516,2691,2154,2021,2437,2008,1573,1550,1673,1764,1639,1641,2032,1913,1837,1835,1771,1815,1908,1954,1804,1655,1585,1710,1873,1954,1973,2448,1840,1654,1691,1881,1932,2600,2752,1909,1736,1654,1685,1814,1555,1311,1248,1851,2092,2147,2386,2371,2623,2856,2136,2607,3166,2634,2866,2504,2351,2924,3762,3023,2238,2080,2159,2501,2338,2182,2424,2272,2343,2365,1719,1821,1882,2106,2315,2397,2644,2940,3245,2822,2014,1849,1859,1871,1915,2743,3089,3221,2854,2806,2809,2564,1995,1701,2281,3097,2776,2287,3049,3086,2828,2762,2125,2515,2977,2976,2326,2468,2692,2326,2539,3087,3067,3038,2727,2774,3018,2460,2159,2902,3160,2701,2710,2774,1934,2513,3724,2744,1802,2049,2225,2068,2256,2700,2728,2975,3282,3074,2662,2247,1780,1810,1811,1903,1912,1882,2254,2738,2699,2889,3172,3116,3301,2753],[2945,3090,3052,2569,2408,1930,1747,2193,2219,2060,1892,1890,2116,2284,1857,1849,2093,2062,2428,2341,2478,2204,1769,1671,1559,1249,1395,1290,1656,2115,1977,1835,1744,1731,1570,1568,2027,2377,2172,1992,1649,1355,1666,1359,1395,1520,1580,1776,1884,1891,2200,2182,1841,1819,1847,1724,1751,2343,2072,1524,1758,1739,2066,1895,1521,1374,1261,1404,1581,1614,1498,1348,1367,1534,1652,1641,1841,1931,2010,1840,1728,1777,1421,1663,2611,2875,2436,2137,2868,2903,2852,2744,2491,2539,2128,1808,1757,1539,1682,1588,1382,1237,1571,1807,2099,2856,3471,3906,3549,2394,2625,2877,3362,3772,3327,2579,2750,2661,2701,3045,2335,1922,2722,3495,3080,2519,2457,2255,2574,2545,2754,2643,3227,3950,2695,1554,1646,1688,1726,2051,2196,2119,2244,2523,2377,2254,2637,2851,3263,3010,2422,2428,2080,2083,2379,2509,1838,2153,2352,2096,2264,2800,3078,3095,2897,2933,3104,2880,2986,2829,2316,2584,1936,2272,2100,1487,1878,2118,1721,2104,2195,2048,2036,1529,1520,1497,1528,1945,1718,1577,2050,2449,2293,2733,2844,2379,2360,1996,2319,3116,2723,2121,1902,2305,3542,4173,3360,2199,1435,1565,2056,2175,2458,2658,2771,2592,2775,2917,2240,2608,3188,3385,2850,1954,1779,1814,1673,1722,2315,2396,2396,2015,1787,1916,2137,2019,1713,1678,1983,2056,1568,1083,1421,1741,1693,1933,2192,2219,2253,2327,2001,1698,1604,1981,1992,1844,1923,1907,2124,1851,1959,2028,2052,1814,1620,1692,2264,2911,2751,2035,1968,2451,2837,2012,1630,1459,1691,1826,1761,2066,2025,1598,1448,1621,1620,1632,1560,1535,1669,1504,1540,2243,2577,2509,2015,1743,1700,1803,1994,2361,2132,1914,1926,1943,1776,1750,1675,1703,1733,1909,2117,1788,2600,2464,2260,2176,1958,1623,1578,1987,1850,1691,1847,1629,1567,1780,1686,1557,1563,1595,1740,1746,1715,1743,1883,1727,1732,1862,1862,1913,2060,1908,1554,1342,2107,3230,3264,2582,2171,2466,2298,2035,2018,1857,2000,1816,1642,1661,1949,2199,1819,1771,1914,2198,2093,1752,1952,2618,2836,2071,1823,1659,2106,2089,1627,1748,1593,1633,2101,2490,2451,1814,1694,1883,1964,2204,1835,1538,1892,1903,1824,1659,1499,1818,2800,3550,3400,2626,1883,1949,2064,1997,2557,3373,2575,2066,1995,2232,2494,2127,1574,1525,1970,1751,2050,2714,2260,2005,1887,1787,1904,1893,1824,1657,1540,1455,1565,2034,1766,1580,1672,1750,1970,1869,1994,1921,1644,1773,1512,1362,1517,1426,1568,2100,2136,1916,1522,1387,1804,1788,1665,1670,1637,1990,2112,1787,1897,1914,2144,2386,2347,2171,1866,1802,1888,1991,2562,2855,2780,2741,2273,2198,2850,2451,2032,1926,1849,1730,1686,2158,2534,2266,2126,2078,2272,2935,3334,2939,2820,2934,3367,3062,2821,2855,2220,1815,1822,1992,1861,1574,1671,1748,1966,2198,2077,2116,2322,2064,2029,2438,2477,2604,2414,2414,2397,2182,2646,2209,1764,1823,2105,2176,1750,2309,2366,2047,1804,1609,1748,1635,1865,1937,1874,2140,2532,2640,2397,2253,2182,2119,2290,2258,2143,2135,2724,3003,2780,2738,2919,2909,2986,2947,2621,2069,2627,3040,2454,2303,1976,2319,3001,2755,2574,2143,1760,2432,3105,3056,2916,2621,2416,2316,1963,1762,1926,1858,2244,2578,2105,1841,2543,2508,2597,1943,2072,2195,1965,1974,1741,1613,1594,1425,1462,1581,1459,1402,1780,1912,1902,1644,1759,1564,1547,1901,1724,1531,1632,1799,1969,2088,1964,1771,1695,1467,1434,1514,1453,1345,1512,1535,1556,1715,1912,1794,1358,1350,1324,1521,1578,1592,1844,1837,1890,2047,2188,2428,2717,3085,3141,3108,3492,3683,4050,4128,4288,4273,3952,4014,4176,3971,3492,3336,4059,3927,3278,2983,3349,3479,2654,1128,569,553,498,1140,2053,772,569,556,514,1241,2138,2532,3311,3029,1970,1910,2286,1874,1747,2408,3121,3484,3250,3103,3521,3764,3860,4028,3991,3835,3735,3319,3827,3708,3896,4428,4232,3701,2988,2814,2604,1979,1733,1949,1747,1813,1870,2329,2598,2397,2232,1951,1811,1506,1518,1567,1629,1951,1864,1385,1475,1752,1802,1997,2025,2121,2298,2221,2202,1735,1572,1824,2020,1951,1942,1655,1536,1447,1376,1454,1492,1802,2003,1733,1778,2250,2586,2485,2069,1982,1688,1813,1873,1796,2065,2104,2226,2139,1920,2164,2084,2020,2310,2176,2474,2100,1678,1420,2220,2398,1821,1600,1808,2438,2937,2613,2554,2728,2092,1960,2580,3002,2199,1872,1993,2171,2300,2441,2798,2546,1859,1511,1477,1449,1453,1554,1516,1804,1698,1648,1578,1542,1717,1857,2017,1791,1504,1556,1732,1594,1858,1681,1542,1887,1834,1807,2288,2508,2881,2599,2157,2165,1628,1995,2338,1908,1704,1557,1527,1782,2391,2102,1617,1717,1694,2314,2722,2766,2876,2554,2512,2253,2517,2908,2806,2409,1794,2265,2485,2180,2567,2159,2428,2808,3178,2296,2003,2171,2217,2428,2597,2455,2166,2099,2215,2458,2321,1603,1598,1573,1494,1607,1948,1876,1595,1576,1580,2238,2744,1975,1855,2570,2767,2431,1958,2130,2026,2325,2722,2061,2448,2675,2635,2577,2384,2614,2588,2601,2632,2292,1802,1770,1772,1529,1539,2013,2636,2567,2113,2031,1700,1716,2016,1918,2087,1901,1494,1497,1505,1488,1505,1506,1620,1389,1460,1556,1487,1591,1860,1526,1460,1628,1948,2154,1699,2008,2367,2415,2231,2322,2385,2436,1860,1466,1750,1904,1492,1792,2283,2001,1969,1981,1563,1881,1938,1687,1997,2007,1486,1847,2130,1998,2150,2598,2963,2272,2237,2444,2396,2366,2227,1886,1567,1490,1679,1690,1442,1448,1698,1690,1928,2381,1970,1577,2014,1908,1252,1229,1433,1735,1742,1711,1656,2856,3288,3064,2625,2508,2003,1819,2326,2342,1824,1483,1358,2160,2742,2207,1635,1635,1926,2083,2563,2720,2677,2920,3120,3161,2755,2633,2850,2566,2091,2798,2351,2006,2261,2373,2078,1790,2299,2134,1589,2497,2354,2138,1692,1623,2007,2008,1894,1638,1340,1911,2800,2586,2158,2018,2148,2013,2236,2280,2189,2574,2254,2448,2688,2600,2810,2651,2071,2285,3281,3757,3189,2575,1910,2498,3388,2823,2952,2812,2497,2669,2956,3243,3344,2733,2215,2359,2729,3518,2988,2524,2815,2641,2291,2169,1986,2457,2730,2457,2240,2674,3069,2544,2244,2026,1964,2293,2147,1755,1822,1906,2006,2429,1844,2244,2101,1506,1584,1964,2002,1876,2436,2622,2298,2164,1734,1947,2422,2238,1832,1528,1688,1732,1801,1931,2073,2540,2536,2228,2076,2149,2078,2416,2216,1661,1942,2166,1775,2007,2906,3294,3024,2944,3327,2442,2274,2082,2055,1840,1849,1948,2338,2462,1964,1683,1562,1672,2103,1951,1815,2078,2552,2784,2722,2281,2010,1781,1697,1796,1939,2076,1729,1717,2347,2329,2144,2050,1999,2144,2495,2651,2332,2423,2595,2391,1808,2103,2118,2048,3265,3658,3463,3156,2674,2142,1882,1838,1650,1919,1714,2027,2172,2310,2083,1921,1914,2573,3186,3204,2918,2469,1860,1455,1698,1839,2107,1977,1757,1695,2006,2141,1999,1950,2068,2226,2138,1909,2250,2230,1728,1504,1576,1521,1447,1287,1268,1391,1479,1797,2040,1815,1522,1757,1687,2126,2380,2122,1786,2044,2445,2389,2479,2275,2122,1869,1914,2993,4410,4136,3566,3279,2558,2687,2843,2045,1742,1838,1898,1732,1559,1045,784,760,822,1040,1166,1496,1832,1949,1860,1487,1329,1164,1168,1232,1895,2226,2154,1654,1437,1632,1383,1206,1343,1362,1309,1505,1790,2473,2616,2615,2116,1497,1421,1500,1483,1696,2110,2114,2120,1884,2005,1952,2334,1899,1510,1521,1506,1654,1788,1968,1896,1746,1826,1681,1679,1618,1299,1476,1769,1495,1262,1331,1722,2468,2708,2574,2744,2977,3121,2988,2240,1961,1616,1493,1422,1495,1648,1892,1858,2272,3116,2700,1886,1628,2038,1810,1624,2084,2250,2115,2359,2233,2032,2575,2521,1816,1912,2101,1880,1803,1508,1830,1982,2087,2316,2720,3212,3403,2761,1884,1458,1337,1384,1542,1524,1549,1542,1543,2054,2392,2119,2235,2214,2172,2136,2327,2338,1769,1494,1558,1571,1593,1597,1468,1730,1921,1570,1734,2091,2691,2116,1159,1378,2602,2570,2392,2699,2471,1750,1447,1452,1607,1620,1492,1355,1311,1514,1519,1417,1374,2122,2192,1454,1331,1428,1744,1905,1780,1642,1483,1355,1370,1908,2039,2665,2751,2182,2585,2813,2946,3193,2331,1842,1593,1663,2167,2081,2036,1941,1929,2295,2509,2056,1929,2112,1895,1722,1737,1588,1584,1864,1801,1667,1917,1916,1830,1843,1639,1629,1440,1387,1499,1749,1909,2006,1966,2002,2025,1895,1706,1685,1666,1750,1947,1761,2031,1824,2568,2381,1712,1575,1769,2131,2428,2445,1898,1491,1461,1814,2121,2374,2040,1843,1975,2183,2404,2062,1887,2589,2536,1895,1874,1738,1963,2700,3178,3374,3039,2920,2531,1998,2369,3450,4145,3770,3281,2902,2485,2500,2819,3675,4311,4080,4020,3893,3142,2470,2155,2632,2807,3144,3741,3710,3009,2612,2295,2366,2397,1942,1699,1631,1855,1606,1577,1530,2015,1905,1881,1849,1803,1665,1601,1610,1505,1542,1617,1668,1618,1663,1685,2260,1933,1648,1743,2136,2204,2446,2249,1888,1743,1813,1726,1597,1491,1195,1793,2252,2341,2916,3062,2524,2314,2359,2188,2721,3031,2845,2733,2112,1959,1953,2483,2038,1613,1795,2588,2898,2071,1918,2720,2708,2689,2316,1933,2018,2033,2117,2391,2509,2679,2885,2707,2378,1760,1682,1737,1630,2019,2380,2150,2653,3019,3016,3110,2854,1885,1748,2218,3243,3313,3375,3536,3264,3131,2942,2800,2700,2765,2849,2643,2566,2591,2495,2696,2665,2708,2946,2925,2758,2461,2111,2053,2377,2462,2221,2574,2823,2652,3172,3519,2786,2472,2745,2980,2950,2919,2388,2278,2687,3058,2453,2002,1726,1562,1826,2071,1632,1697,2374,2785,2864,2416,2940,2957,3242,3682,2857],[2385,2466,2617,2366,2054,1812,1829,2420,2707,2409,2374,2830,2241,2206,2139,2179,1987,2285,2609,2552,2088,1685,1935,2273,1976,1687,1724,1571,1687,1707,1766,1655,1843,1935,1710,1770,2055,2084,1678,1677,1615,1660,1723,1528,1413,1485,1885,2150,1621,1644,2141,1871,1899,1952,1775,1850,1978,1717,1535,1405,1619,1698,1600,1516,1472,1490,1379,1377,1449,2041,1592,1345,1417,1606,1728,1677,1699,1749,1964,1769,1553,1412,1677,2502,2829,2447,2606,2455,3084,3009,2697,2415,2247,2373,2082,1610,1781,1479,1858,2172,1844,1310,1544,2010,2596,3394,3507,3365,2878,2199,2350,1642,2224,2790,2279,2092,2354,2871,3553,3451,2147,1876,3057,3597,2732,2362,2722,3494,4187,3078,2036,1834,2596,2877,2083,1722,1809,1846,1809,1762,1924,2092,1926,2647,2856,2458,2573,2508,2648,2251,2287,2461,1815,1812,2326,2245,1795,2280,2241,2141,1944,2296,3042,3213,2876,3189,3771,3151,3253,2993,2887,3031,3062,3000,2503,1922,1762,1819,1982,2193,2164,1815,1709,1736,1755,1674,1911,2107,1849,1808,1955,2193,2619,2924,2681,2232,2183,1953,2473,2755,1973,2051,2105,2552,3339,3574,3552,3027,1922,1776,2127,2182,2731,2486,2533,2851,2974,3317,3089,3488,3993,3786,2788,2062,1938,1894,1449,1701,3111,3209,2520,2053,1864,1650,2007,1998,1503,1631,2014,2147,1753,1661,2065,1835,1668,1629,1639,1481,1707,1995,2016,1798,1625,2148,1999,1666,1826,1777,1959,1889,2004,2182,2040,1918,2233,2423,2384,2214,2442,2437,2178,2286,2073,1690,1420,1527,1666,1643,1792,1954,2032,1709,1678,1887,1680,1524,1521,1522,1503,1347,1678,2028,2454,2866,2578,2050,1720,2305,2718,2533,2557,2063,1783,1730,1823,1802,1617,2089,2355,2327,2297,2624,3464,3085,2665,2526,1952,1506,1542,1818,1824,1682,1815,1854,1775,1645,1504,1446,1477,1828,1983,1977,2129,2425,2343,1968,1705,1414,1535,1734,2035,2084,1658,1853,2642,3016,2781,2191,2080,2212,1815,1942,2294,2123,2164,1765,1697,1784,2044,1840,1832,2096,2503,2778,2398,2026,1908,2381,2615,2113,1692,1838,2433,2369,1885,1937,2079,1912,1972,2366,2637,1959,1535,1639,1833,2133,1744,1506,1711,1906,1660,1626,1664,1842,2624,3166,3129,2415,1646,1716,1990,2103,2113,2236,2162,2008,1903,1686,1484,1317,1391,1576,1738,1727,1638,1870,1719,1548,1520,1428,1456,1656,1638,1701,1703,1454,1464,1925,1921,1673,1601,1848,2014,1869,1879,1982,1875,1954,1559,1474,1402,1326,1421,1960,1932,1858,1620,1520,1590,1521,1294,1567,1877,2598,2488,1950,1530,1709,2245,2412,2244,1979,1807,1924,2018,2446,2365,1992,2193,2079,1688,2165,3111,3220,2342,1685,1912,2055,2437,2603,2766,2269,2054,1856,1800,2073,2163,2443,2491,2508,2908,2756,3141,2743,1935,1523,1635,2131,2019,1803,2180,2327,2088,1959,1883,1903,1873,1737,1749,1959,2332,2226,1894,2080,2552,2901,2701,2160,1979,1603,1977,2245,1719,2236,2339,1917,1849,1962,2175,1826,2063,2163,1970,2029,2290,2421,2340,2139,2367,2402,2470,2420,2386,2428,2584,2820,2689,2551,2403,2547,2287,2383,2371,2421,2429,2440,2524,2374,2181,2297,2331,2325,2416,2136,2125,2286,2317,3153,3382,3298,2944,2532,2132,1994,2133,1781,1842,2280,1656,1902,2481,2228,2304,2050,2121,2523,2280,1857,1613,1415,1585,1471,1385,1593,1498,1427,1378,1729,1701,1586,1647,1444,1635,2000,1783,1696,1904,2262,1715,1591,1784,1624,1621,1621,1497,1531,1524,1522,1782,1684,1540,1691,1866,1726,1484,1609,1666,1571,1638,1643,1637,1913,2353,2060,1681,1690,2090,2952,3460,3546,3624,3608,3864,4038,3857,3691,3610,3697,3733,3817,3240,3427,3606,3559,3261,3182,3449,3582,2479,850,592,525,586,1332,1728,775,539,585,510,1410,2176,2512,3275,2845,1986,1866,2147,1716,1848,2916,3574,3768,3452,3045,3198,3673,3719,3616,3551,3262,3602,3906,3754,3825,4038,4191,4380,4340,3815,2929,2126,1851,1803,2003,1804,1697,1577,1935,2840,2526,2128,1927,1731,1688,1628,1522,1505,1573,1915,1532,1549,1683,1573,1857,2054,2176,2252,2131,1962,1773,1802,2095,2535,1935,1720,1702,1609,1417,1416,1647,1750,1781,1903,1719,1741,2546,2414,2165,1885,1687,1560,1923,2142,1973,1991,2391,2759,2615,2266,2061,1959,2254,1901,1911,1938,1774,1670,2022,2557,2245,1833,1768,1843,2460,2801,2424,2832,2305,1960,2083,2597,2909,2280,1966,2265,2657,2775,2742,3023,2070,1559,1912,1636,1495,1534,1504,1414,1559,1695,1748,1593,1673,1742,1828,2094,1826,1569,1672,2047,1993,1901,1562,1539,1870,1999,2267,2410,2329,2688,2562,1966,1938,2016,2018,2158,1825,1576,1625,1717,2134,2736,2542,1869,1838,1997,2178,2093,2353,2721,2432,2311,2282,2702,2654,2386,2111,1556,2008,1797,1698,1898,1873,1958,2656,2707,1867,1956,2068,2376,2710,2480,2231,1771,1971,1981,2574,2348,1559,1585,1616,1696,2003,2031,1869,1522,1541,1575,1953,2465,1757,1650,1848,2309,2438,1955,1964,1883,1770,2143,2578,2669,2147,1955,2185,2282,2065,2440,2629,2467,2404,1954,1687,1487,1351,1587,1831,1882,1997,2146,1971,1730,1801,1820,2078,2254,1808,1598,1689,1799,1594,1521,1611,1589,1455,1459,1444,1584,1747,1625,1433,1695,1794,1686,1640,1735,2443,2337,1874,1852,1736,1781,1869,1536,1439,1624,1963,2023,2622,2640,2222,2037,1749,1494,1829,2100,1912,1793,1583,1643,2170,2184,2205,2245,2765,3511,2878,2558,3024,3016,2400,2057,1621,1472,1476,1611,1935,1578,1667,1829,1918,1782,1763,1637,1544,2036,1980,1349,1396,1560,1644,1423,1599,1675,3130,3580,2974,2420,2387,2094,1773,2399,2464,1516,1371,1273,2437,2737,1935,1348,1884,2593,2705,2990,2834,2377,2999,3331,3321,3436,3639,3573,3572,3795,3863,3096,2797,2461,2070,1767,1698,1738,1526,2105,2786,2591,2248,2065,1835,1673,1676,1677,1317,1462,2370,2394,2342,2622,2447,2041,1871,1840,1734,2224,2670,2518,2512,2198,1787,1628,1922,2178,3095,3913,3320,2535,2260,1857,2423,2463,2090,2356,2120,1931,2434,2533,2432,2451,1798,2294,2428,2282,2535,2003,1487,1741,1868,1792,1848,2274,2803,2663,2920,2769,3042,2813,2257,2635,2679,2211,2234,1914,2117,1974,1922,2094,2109,2273,2946,2558,1865,1538,1733,1837,1891,2652,2423,1815,1930,1763,1916,2796,2768,2426,2113,1467,1559,1648,1791,2291,2114,1862,2106,1592,1484,1740,1932,1513,1556,2060,1936,1936,2940,3168,3554,3386,2735,2536,2147,2010,1816,1382,1588,2175,1904,1739,1728,1492,1344,1468,1730,2046,2173,2061,2002,1876,2150,2252,1842,1710,1683,1674,1851,2084,1908,1609,1619,2522,2654,1908,1772,1812,1844,2648,3185,2292,2039,2036,2024,2358,2656,2502,2401,2495,2190,2080,1926,1819,1617,1504,1540,1770,1734,1831,1993,1873,1677,1776,1930,2048,2403,2740,2666,2213,2053,1603,1732,1884,1825,1995,1854,1676,1754,1980,1769,1554,1620,1715,1964,2355,1930,1875,1891,1407,1129,1305,1427,1428,1307,1438,1451,1537,1791,1942,1804,1532,1777,1783,1862,2022,1969,1696,1892,2331,2175,2700,2533,2235,2269,1816,2507,3981,4027,3256,3129,2691,2194,2428,2119,1644,1906,2097,1760,1373,911,1101,1348,1455,1533,1655,1871,2077,1958,1925,1773,1591,1261,1234,1280,1682,2199,2266,1620,1547,1469,1216,1197,1286,1323,1433,1510,1643,2117,2408,2344,1978,1787,1507,1827,1832,1662,2053,2015,1837,1954,2244,2170,2196,1765,1426,1409,1410,1454,1501,1674,1781,1650,1677,1585,1578,1403,1562,1578,1450,1391,1325,1389,1686,2103,2307,2337,2689,2901,2454,1874,1836,1803,1665,1637,1610,1578,1665,1587,1430,1827,2457,2016,1794,2104,2204,1881,1904,1771,1426,1584,1842,1636,2038,2559,1891,1951,1997,1887,2223,1929,1475,1903,1981,1848,2000,2120,2608,2755,2372,1880,1576,1362,1417,1458,1464,1804,1879,1758,2137,2552,2614,3064,2794,2288,1957,2411,2332,1781,1620,1927,1990,1863,1834,1516,1706,1884,1610,1887,1991,2366,1916,1903,2008,1766,1620,1831,2126,1858,1491,1422,1526,1680,1745,1481,1388,1458,1372,1425,1425,1430,1882,2039,1675,1644,1626,1777,1763,1529,1521,1532,1419,1388,1487,1759,2645,3052,2788,2941,2666,2536,2972,2617,2567,2361,1911,1738,1499,1622,1848,1730,1979,1882,1935,1975,2066,1810,1571,1730,1657,1601,1852,1865,1657,1640,1572,1655,1745,1625,1527,1505,1396,1630,1939,1791,1585,1521,1506,1659,1878,1809,1640,1781,1612,1683,1761,1742,1665,1886,1804,1646,1677,2367,2741,2439,3121,2788,1870,1730,1961,2033,2258,2269,2289,2443,2567,2791,2504,2371,2600,2221,1936,2109,1923,2315,2995,3077,2964,2862,2987,2604,1841,2460,3512,3905,3562,3674,3276,2760,3231,3646,4328,4636,4216,4240,3526,2817,2733,2413,2226,2226,2920,3420,3208,2965,2923,2622,2228,1997,1788,1767,1588,1678,1482,1583,1653,1949,2027,2037,1799,1750,1916,1973,1827,1476,1500,1617,1576,1800,1638,1594,1704,1671,1561,1833,2336,2609,2589,2135,2026,2273,2640,2094,1874,1572,1427,2208,2312,2317,2608,2658,2440,2104,1998,2678,3582,3715,2945,2102,2046,2330,2210,2197,2126,1727,1911,2903,3237,2248,2321,2901,3012,2850,2306,2111,1937,1602,1931,2851,2953,2699,2481,2081,1761,1597,1579,1849,1875,2456,2360,2450,3262,3488,3492,3463,3287,2384,2153,2129,3034,3117,3189,3302,3353,3318,3273,3222,2908,2717,3219,3243,3129,3107,2688,2688,2407,2775,3153,3249,2851,2166,2026,2149,2331,2264,2406,2438,2399,2778,2932,3090,2798,2546,2692,2932,3362,3326,2776,2761,2821,2673,2411,2430,2186,1634,1519,1847,1547,1959,2802,2831,2812,2988,3454,3097,2891,3151,2983],[2590,2452,2330,2264,2272,1814,1858,2859,3454,3105,2784,3085,2544,2666,2640,2186,2017,2255,2414,2153,1754,1575,1924,2365,2083,2035,1968,2128,1867,1593,1632,1880,2042,2106,1770,1732,1802,1811,1832,1648,1703,1642,1917,1889,1591,1489,1764,1786,1450,1550,1710,1412,1738,2063,2029,2006,1911,1883,1937,1812,1682,1578,1484,1357,1216,1284,1448,1613,1803,2095,1723,1430,1406,1523,1498,1466,1470,1629,2071,2075,2034,1758,2276,2687,2298,1810,2168,2508,2857,3271,2919,2679,2662,1969,1948,1853,2316,2336,2195,2644,2410,1469,1370,1533,2014,2452,2116,2375,2085,1776,1654,1310,1866,2160,1961,2424,2921,3143,3221,3054,2056,1759,2138,2314,2106,2067,2468,3451,3904,2889,2014,2031,2094,1914,1660,1836,2072,2207,1851,1534,1721,2003,1908,2040,2155,2563,3043,2845,2364,2005,2600,2237,1824,1703,1988,1685,1687,1985,1753,1611,1572,2126,2889,2452,1996,2476,3296,3187,3898,3994,3629,2915,3060,3404,2746,2095,1866,2042,2055,1926,2019,1576,1767,2030,1863,1913,1974,1825,2030,2310,2132,2104,2474,2684,2107,1732,1684,1925,2625,2574,2043,1849,1542,1946,2830,2624,2924,3626,2559,2061,2888,2678,2734,2455,2764,3105,3222,3215,3041,3597,3790,3639,2470,1769,1732,1932,1322,1587,2532,2775,2383,1944,1760,1853,1869,1934,1769,1794,2437,2276,1794,1853,2316,2280,1843,1695,1804,1411,1248,1488,1740,1827,1670,2015,2120,1814,1516,1690,1974,2170,2108,2022,1808,1780,2374,2575,2162,1903,1876,2150,2040,1824,1992,1782,1335,1560,1755,1833,1844,1610,1799,1750,1588,1529,1553,1608,1648,1605,1504,1760,2072,2405,2734,2541,2226,1842,1750,2316,2292,1852,2156,1942,1882,2208,2060,1513,1540,2015,2345,2085,1857,2719,3197,3088,2430,2071,1808,1651,1693,1782,1607,1538,1723,1787,1926,1716,1593,1424,1339,1803,2303,2428,2478,2336,1755,1387,1575,1529,2154,2424,2407,2270,1730,1902,2312,2032,1792,1683,1886,2098,1773,1857,2051,1825,1755,1912,2122,2122,1928,1744,1970,2405,2961,2566,2270,2160,1997,1965,2114,1778,1656,1766,1876,2193,2344,2414,2536,2277,1991,1819,1864,1876,1549,1704,2271,2140,1754,1683,1678,1749,1562,1526,1542,1858,2185,2204,2114,1914,1882,2153,2744,2603,1938,2053,1952,1631,1952,1682,1518,1538,1494,1670,1648,1534,1523,1647,1713,1670,1462,1604,1378,1461,1494,1425,1494,1449,1302,1494,1626,1555,1661,1798,2117,2008,1750,2143,1974,2014,1582,1454,1548,1528,1592,1743,2044,2229,1451,1488,1608,1563,1509,1768,1617,1873,2288,2065,1700,1782,1877,2039,1948,1657,1641,1570,1613,2431,2232,1866,1982,1719,1864,2641,3252,3185,2163,2022,2685,3308,2547,1969,2336,1901,1719,1597,1494,1510,1606,1806,1785,1979,2338,2801,2823,2092,1890,1779,1766,1779,1782,1691,1879,2176,1986,1509,1595,1622,1630,1769,1829,2178,2493,1936,1620,2031,2686,2899,2586,2686,2631,2122,2430,2232,1676,1744,1601,1748,1844,1876,1912,1800,2066,2003,1890,1954,2275,2304,2138,2139,2289,2414,2381,2136,2100,2107,2070,2092,2221,2533,2303,2249,2280,2345,2149,2532,2733,3124,3270,2819,2853,2916,2591,2317,2247,2045,1943,1869,1882,2438,2897,3146,2944,2586,1959,1841,2259,2142,2029,1782,1533,1787,2088,2032,2078,2226,2092,1919,1786,1678,1612,1825,1750,1513,1355,1407,1450,1361,1422,1772,1826,1909,1959,1871,2285,2498,1913,2121,2601,2587,2106,1931,1619,1475,1497,1382,1333,1488,1535,1444,1485,1606,1354,1449,1669,1565,1603,1860,1676,1655,1799,1605,2048,2433,2410,2144,1989,2053,2429,3150,3238,3038,3394,3586,3870,3799,3696,3710,3339,3156,2876,3230,2585,2641,2966,3090,2968,2996,3274,3350,2226,719,542,550,531,1778,1434,626,552,528,644,1570,2151,2135,2600,2254,1863,1815,1671,1671,2114,3063,3592,3806,3770,3211,2885,3149,3529,3167,3473,3426,3286,3929,3826,3991,4161,3993,4006,4113,3704,2743,2082,1769,1614,1847,2245,2033,1784,2252,2911,2223,1582,1512,1443,1566,1628,1654,1742,1542,1464,1478,1649,1339,1165,1728,1965,1992,2122,2233,2155,1978,2208,2236,1991,1880,1650,1450,1452,1451,1542,1770,1826,2005,2302,1737,1675,1992,1740,1721,1719,1676,1738,2191,2257,1747,1811,1982,2282,2460,1954,1749,2347,2631,1917,1460,1832,2363,2402,2669,3109,3067,2522,1909,1680,2333,2675,3043,3637,3082,2519,2123,2136,2532,2458,1953,2123,2567,2806,3084,2795,1978,1902,2156,2056,1789,1655,1673,1569,1570,1492,1757,2093,2063,1786,1851,2148,2250,1837,1851,1991,2029,2000,1513,1550,1698,2098,2129,2154,1893,1764,1814,1694,2174,2287,1853,1720,1770,1708,1712,2232,2531,2830,2865,2964,2811,2086,1868,2172,2016,1788,2125,2163,2461,2624,2249,2267,2096,2051,1957,1496,1945,2260,2056,1721,2144,2270,2382,2836,2542,2564,2610,2492,2457,1957,2128,2212,2166,1622,1322,1604,1829,2078,2433,2482,1915,1517,1713,1950,2002,1766,1467,1458,1772,2236,2198,2108,1760,1249,1306,2058,2735,2536,1968,1850,1990,1905,2108,2578,2347,2374,2132,1826,1448,1588,1804,1970,2050,1876,2115,2194,1997,2409,2341,1953,2142,2449,2402,2315,2501,2419,1902,1884,1854,1508,1447,1434,1602,1694,1590,1625,1545,1460,1452,1398,1557,2093,2383,1983,1670,1688,1517,1595,1604,1711,1715,1768,2056,2273,2414,2301,2068,2076,1912,1716,1968,2116,2140,1913,1658,1965,2110,2171,2031,1982,2339,3100,3296,3288,3679,3415,2811,2138,1753,1504,1440,1502,1538,1560,2092,1951,1769,1788,1607,1759,1721,1655,1457,1333,1404,1381,1270,1296,1329,1892,3306,3830,3328,2885,2786,2368,2181,2464,2341,2039,2052,1730,1946,1826,1464,1380,1812,2004,2081,3030,3041,2820,3182,3330,3311,3774,3746,3212,3386,4034,3572,2946,3854,3497,2557,2323,1630,1194,1280,2248,2697,2242,1836,1981,1888,1700,1925,2026,1706,2256,2965,2127,2110,2885,2526,2213,2232,2132,1916,2255,2536,2473,2141,1790,1550,1582,1951,2975,3282,3076,3198,3422,3050,2220,2344,2244,2339,2042,1896,2143,2655,2752,2416,1732,1405,1709,1848,2003,2104,2228,1821,1540,1544,1680,1746,2427,2658,2792,2610,2632,3034,2770,2366,2810,2807,2724,2230,2374,2432,2177,2156,2257,1962,2407,2746,2476,1882,1576,1688,1707,1645,2308,2590,2218,2511,2332,2132,2589,2539,2543,2027,1456,1478,1670,2338,2655,1959,1644,1951,1797,1661,2050,2154,1798,2076,2096,1621,1814,2438,2663,2840,2756,2395,2105,2381,2512,2142,2210,2564,2680,1981,1992,2132,1794,1317,1456,1499,1930,2166,2200,2395,2060,2114,2253,1764,1589,1338,1948,2107,1830,1772,2022,1870,2514,2662,1470,1318,1516,1695,2436,3104,2724,2134,2499,2737,2583,2614,2446,2025,1771,1854,1880,1707,1953,1880,1559,1737,1878,2025,1830,1842,1928,1874,2044,2192,1978,2342,2291,1737,1517,1945,2007,1848,1843,1735,1627,1534,1352,1481,1575,1575,1468,1415,1546,1883,2087,1878,1781,1767,1515,1410,1748,1892,1851,1680,1577,1356,1401,1714,1896,1877,1728,1666,1678,1635,1707,1728,1619,1659,2191,2000,2200,2219,2109,1951,1598,2412,3517,3288,2928,3095,2952,2461,2197,2105,1722,1826,1908,1762,1388,1453,1955,2035,2062,2043,2116,2209,2186,1981,1986,2071,1520,1256,1211,1279,1422,1948,2032,1440,1366,1316,1332,1578,1396,1425,1614,1959,2079,2140,2220,1852,2059,2327,1943,2005,2097,2338,2626,2270,1864,1830,2096,2353,2208,1787,1577,1374,1335,1604,1802,2033,1814,1525,1617,1627,1462,1526,1754,1582,1639,1626,1484,1665,2205,2327,2055,2010,2407,2438,2384,2076,1765,1593,1553,1575,1663,1625,1653,1559,1623,1725,1996,1858,2034,2334,1891,1732,1990,1621,1560,1543,1740,1981,2608,2285,2314,2729,2305,2065,2285,2188,1988,1928,1810,1681,1844,2076,2131,2324,2620,2351,1631,1549,1891,1904,1884,2309,2547,2291,2468,2985,3254,3227,2720,2236,2564,2676,2386,1957,1732,2040,2032,2017,1983,1684,1715,1733,1476,1600,1845,2092,2066,2114,1880,1398,1359,1583,1782,1857,1540,1527,1633,1808,1726,1497,1599,1659,1507,1506,1382,1256,1532,1984,1701,1573,1636,1625,1547,1635,1583,1374,1371,1466,1374,1572,2067,2744,3327,3299,2452,2308,2544,2374,2522,2260,1866,1648,1572,1752,2046,1689,1634,1542,1671,1591,1720,1683,1516,1583,1515,1640,1858,1753,1441,1465,1504,1520,1471,1569,1481,1447,1544,1772,1767,1676,1591,1416,1409,1550,1932,1716,1576,1851,1791,1957,1930,1698,1534,1533,1650,1700,1732,2376,2943,2263,2956,3043,2647,2171,1991,1988,2380,2534,2507,2744,2409,2661,2858,2015,1808,2355,2362,2399,2338,2819,3086,2520,2248,2466,2835,2830,2475,3131,3569,3616,3535,3605,3406,3028,3274,3600,3750,3414,3028,3553,3233,3219,2980,3065,2896,2600,2886,2965,2884,3040,3046,2761,2153,1985,1583,1524,1434,1476,1870,1876,1849,2046,1943,1636,1468,1531,1878,2099,1883,1607,1507,1548,1644,1654,1680,1754,1605,1578,1644,1912,2147,2706,2388,2047,2208,2243,1940,1725,2118,1859,1907,2430,2044,1635,1890,2533,2480,2721,2459,3454,4046,3431,2514,2060,2404,2806,2530,2191,2188,2076,2134,2446,2730,2518,2654,2814,2675,2557,2271,2031,1869,1728,1938,2692,2970,2789,2712,2458,2033,1801,1795,1799,1688,2025,2308,2745,3552,3416,3529,3240,3193,2985,2478,2242,2831,3259,3123,3036,3094,3161,3154,2963,2732,2906,3771,3286,3353,3438,3032,2953,2976,3063,3061,3034,2640,1836,1738,1846,2523,2839,2958,2281,2447,2897,2655,2810,2797,2451,2440,2360,2618,2690,2612,2709,2999,2883,2896,2840,2420,1807,1873,1951,1789,2413,2728,2253,2601,3030,3040,2494,2311,2658,2961],[2909,2432,1748,2281,2727,1725,2090,2883,3551,3332,3592,3562,3211,3255,3117,2542,2194,2408,2335,2106,1804,2106,2145,2116,2241,1886,2007,2342,2232,1743,2067,2766,2072,2032,2182,1982,1818,1887,2009,1597,1724,1719,1876,1897,1573,1410,1535,1721,1622,1500,1434,1652,1899,1578,1713,2050,2060,1918,1820,1798,1838,1738,1609,1573,1351,1157,1499,1945,2120,2092,1922,1588,1332,1255,1316,1436,1379,1544,2129,2173,2313,2251,2343,2462,2686,2360,2028,2020,2185,2416,2017,2036,2437,1774,1688,2207,2647,2944,2719,2637,2404,1538,1323,1670,2100,2007,1922,2243,1868,1550,1828,1819,2329,2366,2471,2725,1986,1919,2859,3247,2471,1832,1813,1423,1578,1778,2046,2316,2582,2523,2359,2398,2262,2105,1863,2167,2310,2326,2019,1874,1956,2007,1995,2122,2294,2800,3753,3354,2553,2064,2294,1823,1303,1745,2136,1834,1820,2148,2343,2338,2585,2808,3008,2297,1811,1731,2778,2994,3365,3718,3660,3151,3069,2988,2344,2536,2609,2622,2400,1969,1844,1582,1797,2114,1836,1766,1574,1503,2304,2741,2912,2898,3043,3024,2167,1985,1788,1886,2352,2019,1881,2143,1742,1392,1551,1677,2092,2736,1940,1397,2280,2943,2892,2915,3270,3144,3204,2878,2834,3480,3160,3128,2325,1819,1909,2281,2137,2383,2964,2845,2531,2176,2067,2302,2002,2062,1948,1744,2007,2205,1947,2156,2603,2370,1956,1985,1904,1647,1292,1428,1708,1710,1499,1731,2074,1891,1728,1671,1798,2202,2366,2080,1719,2062,2417,2269,2335,2542,1883,1702,1604,1722,2170,1876,1520,1806,2409,2554,2307,2254,2321,2132,1754,1750,1593,1496,1703,1721,1977,2227,2259,2632,2707,2206,2354,2034,1894,2267,2056,1756,1885,1642,1701,2178,2000,1515,1655,1798,1899,1708,1744,2319,3052,3052,2175,1657,1768,1903,1851,1747,1618,1554,1827,1707,1754,1930,1770,1503,1452,1738,2462,2932,2543,2292,1738,1560,1860,1862,1930,2188,2064,1827,1494,1461,1797,1764,1745,1528,1532,1648,1463,1781,1815,1833,1863,1973,1910,1842,2198,2031,1987,2556,3029,3018,2980,2494,1972,1723,2083,1908,1620,1615,1656,1964,2432,2424,2523,2451,1859,1632,1868,1838,1814,2493,3016,2532,1961,1970,2108,2395,2443,2106,2359,2410,2018,1697,1617,1743,1753,2057,2808,2566,2026,2286,1832,1687,1925,1729,1495,1396,1455,1691,1600,1432,1528,1592,1808,1825,1555,1697,1383,1345,1744,1664,1458,1574,1546,1526,1605,1616,1831,1947,2210,2210,2127,1950,1996,1879,1636,1696,1730,1655,1865,1994,2018,1799,1546,1468,1667,1470,1808,2200,1814,1869,2529,2392,2045,1708,1614,2050,2097,1788,1754,1488,1822,2369,2280,2368,2209,1885,2347,3173,3296,3115,2603,2624,2717,3343,2830,2419,2379,2222,2032,1831,1737,1613,1619,1570,1860,2045,2212,2192,2286,2075,2634,3051,2327,1762,1646,1596,1581,1785,1686,1633,1636,1594,1597,1562,1887,2292,2335,2316,2214,2219,2529,2665,2756,2757,2643,2535,2304,1720,1311,1657,1666,1649,1538,1731,1920,1695,1690,1647,1830,2034,2363,2309,2200,2255,2206,2069,1991,1810,1660,1848,2028,1830,2164,2236,2364,2754,2734,2320,1976,2279,2742,3343,3082,2875,2958,2794,2767,2789,2534,2541,2087,1719,1777,1754,1735,1842,2163,2084,1843,1886,2156,2210,2183,1788,1409,1323,1930,2294,1912,1656,1837,1677,1804,2015,1772,1780,2078,1807,1467,1451,1482,1485,1469,1629,1996,2271,2294,2431,3296,3539,2251,2000,2630,2411,2128,2073,1883,1683,1535,1480,1421,1719,1615,1375,1297,1490,1463,1377,1678,1609,1531,1700,1523,1648,2139,1648,2020,2776,2424,2125,2564,3178,3328,3332,2862,2800,3263,3497,3732,3606,3780,3793,3082,2731,2670,2670,2260,2500,2773,2728,2464,2626,2966,3261,1763,672,535,549,560,1770,1396,503,583,499,766,1775,2039,2004,2077,2160,1847,1647,1550,1680,2480,3215,3481,3731,3494,3052,3219,3104,3089,3375,3674,3614,3617,4071,4313,4290,4204,3947,3684,3674,3307,2251,1943,2138,2263,2088,1788,2304,2578,2545,2915,2620,1943,2012,1505,1543,1447,2008,1951,1700,1398,1515,1656,1405,1583,1757,1591,1728,1920,2030,2032,2094,2344,2108,1636,1666,1572,1462,1559,1666,1731,1814,1794,1986,2165,1677,1567,1586,1553,1580,1700,2020,2139,2206,2021,1624,1991,2215,2359,2239,1976,2279,2966,2865,2300,1798,1700,1815,1888,2229,2596,2643,2629,2159,1839,2625,3592,3753,3487,2796,2086,1935,2008,2226,2543,2048,2074,2363,2751,2696,2645,2751,2955,2854,2471,2030,1726,1597,1887,2044,1882,1867,1874,2147,2454,2666,2800,2309,1582,1847,2082,2090,2165,1591,1433,1538,1665,1743,1959,1565,1527,1695,1802,2141,2414,2355,1817,2052,2908,3803,3837,3008,3142,3285,3471,3134,2529,2193,2345,2160,1950,2232,2344,2658,2383,2069,2209,2172,2427,1899,1517,1968,2221,2075,1747,1714,1890,2314,2712,2938,2543,2139,2271,2275,2101,2352,2564,2240,1722,1747,1741,1864,1924,2131,2270,2105,1814,1764,1831,1762,1820,1736,1482,2032,2190,1997,2063,1701,1474,1421,1437,1790,1937,1751,1604,1594,1726,2065,2276,2338,2313,1815,1850,1671,1704,1967,1895,1603,1610,2177,2132,2035,2546,2105,1672,1889,2178,2297,2712,3088,2787,2352,2234,1876,1568,1669,1630,1802,1596,1486,1518,1446,1432,1321,1293,1819,2228,1748,1570,1569,1954,1736,1637,1578,1608,1662,1813,1973,1968,2000,2034,1898,2006,1876,1830,2244,2375,2454,1963,1880,2010,2025,1776,1584,1707,2019,2413,2713,2786,3266,3297,2921,2001,1592,1404,1321,1381,1378,1499,1789,1887,1760,1603,2060,2986,2929,2122,1743,1528,1533,1847,1846,1512,1505,2186,3372,3426,3208,3181,2955,2732,2686,2354,2125,2510,2918,2496,1896,1915,1960,1954,1878,1808,1971,2873,3121,2779,2242,1924,2424,2994,2802,2436,2462,2880,2847,2740,4004,3820,2805,2609,1734,1610,1758,2265,2293,1760,1714,1852,1828,2086,2385,2658,2414,2578,2359,1996,2322,2449,2199,2287,2641,2529,2141,2253,2182,1864,1801,1700,2093,1973,2128,3409,3391,2946,3441,3873,3231,2332,3077,2855,2424,2008,2052,2447,2730,2644,2292,1738,1542,1813,2511,2845,2830,2885,2463,2040,1961,1871,1730,2416,3176,2611,1700,2398,2806,2342,2214,2554,2248,2623,2048,2024,1895,1904,2095,2081,2297,2526,2612,2749,2446,1977,2188,1982,2029,2457,2775,2625,2737,2667,2047,1795,1825,2033,1654,1468,1379,1651,1958,1960,1644,1584,1735,1967,2102,2203,2035,1864,2219,1944,1553,2156,2241,1966,1921,2056,1992,1832,2453,2941,2616,2342,2293,1949,1905,2500,2911,2438,1876,1971,1878,2181,2168,1954,2136,1913,2254,2447,1897,1452,1366,1870,1780,1638,1842,1970,2019,2201,2161,977,974,1530,2372,2896,2579,1993,1875,2279,2098,1922,2298,2493,1945,1433,1542,1941,2123,2651,2141,1562,1641,2066,2195,1720,1969,2591,2519,2469,2156,1698,1866,1761,1772,1526,2443,2943,2277,1874,1445,1332,1301,1350,1458,1431,1376,1301,1650,1727,1807,1935,1867,1795,1882,1819,1498,2086,2353,2007,1766,1637,1359,1465,2065,2248,2086,1896,1742,1503,1464,1561,1445,1714,1732,2104,2031,1993,1882,1712,1682,1614,2160,3207,3346,2868,2835,2427,2138,2004,2034,1510,1584,2005,1836,1318,1444,1917,2067,2155,1959,1796,1706,1892,1935,2011,1849,1368,1211,1211,1260,1435,1500,1432,1376,1396,1370,1715,1804,1557,1594,1551,1925,2706,2896,2446,2441,2302,2464,2321,2195,2295,2489,2698,2545,2469,2166,2111,2474,2012,1768,1581,1477,1561,1996,2253,2464,1824,1468,1599,1659,1558,1603,1505,1503,1781,1625,1722,1662,1875,1612,1704,2188,2481,2503,2399,2432,2143,1587,1592,1753,1953,1959,1800,1715,1808,1809,1758,1830,2197,2229,1841,1829,1926,1788,1879,1747,2267,2576,2717,2775,2756,2490,2372,1979,1943,2104,1887,2094,1835,1651,1901,2441,2414,2620,2924,2453,1980,2213,2915,3132,2510,2846,3063,3063,3353,3633,3529,2930,2708,2687,2903,2851,2364,2490,2439,1945,1581,1649,1832,1886,1986,1790,1447,1526,1728,1975,1946,1848,1678,1374,1262,1666,1699,2036,1956,1803,1579,1663,1877,1947,1927,1882,1590,1509,1375,1878,2032,2079,1659,1645,1637,1598,1677,1789,1589,1305,1342,1388,1593,1498,1464,2033,2934,3141,2777,2670,2332,1958,1960,1915,1647,1431,1577,1591,1862,2135,1647,1646,1714,1580,1759,1533,1535,2140,1786,1650,1858,1830,1554,1520,1615,1584,1537,1870,1687,1465,1543,1555,1717,1863,1543,1376,1526,1533,1805,1584,1626,1999,1973,1759,1981,1960,1503,1471,1568,1941,2145,2071,2226,1855,2103,2667,2746,2342,2201,2383,2633,2600,2569,2535,2196,2443,2340,1882,1903,2305,2600,2840,2688,2810,2895,2305,2319,2717,2618,2552,2753,2855,3074,3439,3517,3473,3233,3239,3188,2933,3242,2709,2612,3175,3658,3840,3273,3257,3191,3083,3204,2778,2487,2773,2792,2689,2491,2706,2107,1758,1505,1671,1914,1759,1843,2244,2004,1743,1536,1519,1612,1936,1816,1719,1581,1526,1641,1738,1801,1698,1628,1707,1934,2138,2090,2406,2291,2253,2569,2138,1750,2136,2546,2272,2290,2336,1879,1575,2027,2555,2659,2751,2770,2681,2600,2400,2109,2078,2367,2482,2109,1934,2295,2231,2509,2566,2603,2250,2217,2251,2266,2330,2544,2935,2675,2287,2166,2561,2920,2862,2737,2324,1952,1882,1934,1952,1748,1842,2056,2689,3183,3198,3199,3015,2852,2567,2710,2490,2364,2870,3128,2870,2813,3028,3010,2787,2697,3073,4029,3938,3318,3244,3122,2799,3052,3206,3034,2780,2440,1773,1889,1896,2595,3142,3135,2403,2222,2379,2407,2661,2592,2172,2234,1981,2729,3032,2951,2472,2231,2573,2557,2240,2080,1894,2280,2275,2023,2336,2413,2009,2565,2587,2712,2887,3030,3115,3193],[3135,2561,2254,2819,3252,2378,1949,2271,3347,3813,4062,4141,3770,3305,3161,2560,2295,2685,2553,2731,2569,3024,3183,2734,2508,2389,2354,2465,1954,1800,2246,2744,2322,2014,1838,1905,2024,2108,1876,1777,1868,1839,1741,1847,2036,2288,1882,1827,1660,1383,1310,1706,1654,1332,1568,1744,1761,1958,2039,2014,1840,1823,1825,1782,1564,1615,1915,1886,2032,2405,1964,1571,1314,1262,1237,1423,1319,1371,2006,2366,2493,2243,1898,1662,2059,2696,2257,1771,1645,2062,1880,1981,2072,1640,1454,1676,1954,2503,2498,1878,1837,1392,1302,1594,1947,1687,2049,2258,2369,2649,2646,2774,2932,2799,3350,3108,2067,1980,3033,3867,3182,2121,1662,1177,1260,1754,1998,2220,2523,2811,2835,3188,2786,2191,1903,2243,2844,2380,2018,2226,2010,2152,2109,2231,2200,2562,3301,3313,2831,2551,2254,1932,1444,1739,2240,2018,1777,1875,2464,2626,3000,2667,2610,1878,1544,1873,2388,2463,2708,2829,3200,3215,2957,2344,2242,3011,2875,2257,2189,2049,1814,1965,2150,1998,1791,1511,1420,1749,2430,2288,2324,2748,3493,3317,2546,2243,2122,2262,2354,2381,2191,1521,1719,1669,1720,1777,1837,1687,1437,1169,1656,2116,2335,2988,3049,2284,2519,2723,3230,3293,2927,3121,2570,1555,1382,2222,2957,3220,3172,2451,2474,2188,2033,2075,2016,2086,1864,1599,1804,1948,1738,2081,2397,1966,1975,2521,2521,2423,1757,1770,2005,2001,1914,2094,2258,1983,1696,1828,2230,2474,2763,2163,1973,2337,2436,2383,2888,2790,2018,2051,1930,1626,1706,1765,1949,1720,2614,2775,2198,2036,2142,2275,2178,1776,1554,1576,1577,1516,1656,1622,1987,2393,2522,2432,2619,2205,1806,2182,2225,1794,1693,1526,1556,1739,2001,1928,1742,1550,1366,1569,1754,2236,2805,2525,1849,1553,1758,2619,2316,1952,2139,2301,2251,1936,1826,2071,2105,1841,1769,1660,1729,2288,2478,2134,1946,1805,1772,1767,1530,1506,1731,1716,1381,1517,1481,1486,2122,2416,2072,1951,1765,2136,2274,1957,2094,1934,1657,2131,2444,1869,1772,2475,2653,2857,3253,3076,2068,1598,1838,1991,1801,1722,1642,1853,1937,2306,2544,2014,1522,1376,1503,1676,2189,3078,3159,2757,2320,1980,2574,2799,2168,2102,2500,2316,1848,1491,1539,1698,1672,1685,1844,2087,1833,1960,1681,1788,1863,1546,1389,1543,1668,1796,1666,1422,1500,1503,1698,1753,1676,1973,1589,1461,1831,1834,1615,1566,1466,1597,1799,2348,1919,1634,2281,2983,2810,2281,2143,1857,1848,1913,1649,1444,1858,2087,1898,1691,1506,1532,1538,1607,1818,2176,2323,2492,2535,2461,1893,1813,2485,2013,1808,1524,1331,1452,1865,1976,2385,2564,2187,2516,2946,3455,3451,3076,2522,2524,2848,3155,3119,3056,2907,2643,1972,1970,1865,1775,1632,1682,2110,2003,1958,2106,2099,1963,2368,2420,1904,1729,1652,1796,1731,2051,1748,1642,1526,1535,1547,1841,2302,1972,1937,2209,2287,2618,2586,2604,2434,2175,2100,1865,1779,1618,1840,1903,1528,1437,1428,1369,1550,1647,1520,1548,1697,2131,2592,2410,2130,2137,2049,1918,1889,1821,1849,1970,1964,1956,2149,2059,2092,2347,2429,2356,2730,2711,2972,3558,2967,3032,2901,2828,2833,2929,2805,2839,2244,1532,1526,1576,1598,1600,1700,1615,1672,1655,1759,1996,1838,1583,1775,1867,1990,2128,1917,1857,2065,1887,2204,2263,1927,1547,1901,1797,1440,1433,1460,1416,1312,1737,1827,2083,2448,2171,2723,2979,2214,1997,2302,2262,2063,1863,2054,1959,1534,1551,1625,1738,1455,1353,1383,1614,1584,1365,1564,1710,1528,1483,1472,1688,1731,1569,1578,1925,1924,2060,2742,3545,3312,2391,2063,2365,2753,3263,3376,3499,3728,3785,3352,3217,3610,3023,2698,3450,2944,2209,2181,2098,2468,3131,1611,586,576,528,905,1715,1192,602,577,539,754,2019,2047,2137,2094,1993,1806,1678,1614,1780,2623,3381,3471,3584,3432,3393,3359,3259,2878,2866,3111,3263,3798,4160,4296,4132,3718,3650,3768,3674,3504,2501,1843,2574,3139,2317,1842,2799,3128,2984,2722,2358,2076,2358,1627,1514,1445,1745,1616,1436,1480,1664,1577,1454,1478,1375,1393,1437,1850,2133,2040,2039,2115,1902,1909,1955,1980,1979,1791,1835,1852,1797,1614,1758,1801,1897,1810,1637,1772,1799,1831,2098,1989,1931,1904,1974,2353,2813,2844,2141,1766,2282,2745,2705,2651,2556,2470,2322,1945,2258,2744,3090,2845,2540,1953,2097,2749,2864,2741,2568,2207,1965,2288,2699,2882,2172,2049,2176,2627,3331,3391,2524,2286,2337,1908,1599,1579,1656,2245,2315,2580,2415,1941,1791,2113,2534,3233,2874,1730,1754,2298,2377,2258,1955,1626,1653,1578,1691,1776,1991,2084,1744,1606,1548,2257,2624,2286,2949,3934,3806,3018,2289,2678,3184,3305,3658,3409,2431,2526,2300,2233,1960,2105,2467,1988,1860,2050,1879,1923,1813,1853,1862,1798,2244,2589,1995,2024,2258,2636,3028,2712,2354,2124,1908,1919,2237,2448,2154,1780,2040,1945,1818,2117,2116,1895,2180,2104,1637,1429,1384,1539,1699,1833,2145,1958,1665,1751,1422,1377,1826,1826,1482,1590,1702,1395,1550,1697,2152,2130,1996,2073,1836,1649,1448,1566,1816,1697,1537,1486,1814,1763,1796,1920,1691,1833,2326,2512,2492,2626,2648,2368,2044,1770,1725,1762,1836,1705,1592,1353,1280,1214,1438,1588,1512,1465,1586,1739,1609,1623,1569,2375,2024,1673,1591,1774,1869,1759,1742,1741,1891,2117,1839,1701,1715,1828,2137,2264,2020,1788,1774,2155,2300,2078,1989,1904,2184,2213,2049,1973,2178,2400,2095,1624,1500,1436,1341,1360,1526,1437,1224,1490,1808,1837,2053,2813,2801,2392,2114,1892,1729,2207,2512,1672,1627,2006,3101,2880,2863,3141,2812,2684,2645,2454,2432,2668,2809,2524,2572,2523,2270,2294,1989,1786,1555,1818,2629,2584,1932,1930,2508,2956,2787,1764,1582,1640,1890,2166,2531,2774,2258,2061,1880,1954,2255,2498,2253,1688,1852,2543,2159,1806,2417,2608,1954,1842,1909,2352,2321,1935,2130,3000,3022,2668,2170,2185,2249,2222,2015,2051,2291,2362,2832,3494,3207,3476,4300,4320,2827,2358,3253,3399,2767,1975,1986,2446,2610,2461,2324,1856,1699,2008,2702,3167,3751,3242,3131,2612,2002,1839,1989,2597,2779,2724,2136,2658,2676,2363,2491,2421,2224,2309,2209,1717,1343,1876,2104,2288,2577,2601,2798,3245,3095,2623,2525,2088,2126,2284,2313,2329,1980,2014,1797,1658,1780,1832,1534,1384,1438,1773,1888,1713,1724,1632,1380,1523,1611,2392,2185,2120,2254,1951,1934,2296,1957,1533,1561,1693,1288,1375,2435,3527,3343,2208,1623,1737,2125,2546,2857,2431,2114,1989,1705,1689,1626,1512,1600,2004,2451,2366,1919,1630,1572,1553,1531,1562,1731,1926,2615,2140,1791,1252,1354,1511,1886,1871,1559,1588,2085,2167,1679,2048,2448,2789,2127,1681,1655,1668,1708,2382,2241,1703,1650,2094,1908,1456,1812,2494,1931,1740,1782,1709,1579,2302,2525,1936,2118,2255,2172,1859,1317,1333,1423,1388,1630,1636,1439,1927,2237,1698,1551,1785,1862,1860,2010,2041,1379,1810,2087,1600,1436,1484,1440,1584,2273,2810,2557,2145,2018,1812,1546,1637,1638,1824,1803,1986,1951,2032,2177,2180,2166,2105,2313,2855,3325,2906,2479,2177,2032,1895,1883,1720,1727,2041,1845,1360,1992,2358,2327,2010,1692,1610,1508,1731,1813,1790,1709,1521,1301,1293,1264,1292,1266,1358,1479,1418,1506,1746,1399,1407,1634,1421,2013,2929,2949,3488,3552,3151,2299,2135,2325,2369,2409,2536,2635,2670,2124,1863,2237,1817,2044,1812,1748,2096,2020,2146,2186,1829,1606,1599,1681,1543,1396,1315,1398,1613,1679,1713,1487,1360,1326,1522,1896,2330,2571,2431,2295,1864,1568,1613,2022,2256,2183,1832,1705,1863,1836,1641,1602,1686,1609,1714,1945,1774,1986,2562,2956,3438,3364,3121,3489,3213,2744,2762,2181,2066,2426,2172,2323,1991,1677,2460,3197,3254,3549,3514,3115,2820,2234,2439,2648,2305,2957,3228,3214,3450,3724,3327,2804,2673,2529,2390,2620,2276,2492,2637,2316,1955,1799,1851,2054,2282,1909,1444,1417,1660,2064,2008,1832,1518,1404,1308,1617,1643,1709,1829,1675,1647,1982,2438,2474,2236,1926,1631,1657,1615,1899,1996,2133,2002,1664,1488,1353,1429,1331,1168,1398,1898,1910,2197,1895,1540,1973,2088,2091,2493,2548,2156,1713,1522,1781,1318,1449,1381,1512,1955,2383,2475,2131,1564,1677,1865,1710,2215,2670,2177,2109,2210,1848,1585,1574,1832,1653,1609,1804,1467,1377,1570,1828,2312,1984,1424,1568,1556,1471,1476,1433,1537,1807,2008,2062,2512,2323,1782,1647,1662,2027,2242,1865,2315,2751,2535,2382,2298,1890,2170,2289,2274,2357,2295,2169,2126,2282,2420,2386,2340,2315,2466,2611,2514,2779,2945,2799,2907,3139,2875,2902,2831,2521,2800,2994,3054,3292,2834,3198,2723,2576,3152,3062,3288,3680,3896,3802,3439,3338,3178,3012,3099,2561,2469,2597,2544,2546,2532,2937,2609,1859,1753,1919,1730,1523,1708,2204,1928,1824,1669,1594,1513,1786,1940,1878,1735,1461,1692,2396,2402,1963,1960,1875,2221,2565,2690,2746,2482,2584,2432,1789,2060,2922,2746,2350,2458,2443,1926,1887,2251,2546,2524,2662,2944,2666,2261,2196,2316,2530,2077,2161,1766,1731,2203,2641,2595,2717,2648,1976,1750,1683,1743,1881,2452,2822,2549,2338,2450,2600,2805,2732,2525,2204,1900,1793,1860,1688,1630,1589,1812,2365,2889,3110,2740,2699,2429,2235,2448,2207,2141,2937,3334,2827,2525,2131,2308,2701,2811,3139,3742,3614,3070,3180,3100,2753,3011,2723,2427,2125,2328,2706,2874,2751,2529,2284,2261,2039,2374,2596,2262,2766,2664,2242,2540,2877,3680,3996,3082,1991,1787,2242,2032,1913,2043,1782,1877,2217,2301,2189,2016,2189,2417,2405,2902,3521,3508,3333,3462],[3206,3270,3318,3216,3393,2856,2092,2331,2692,2880,3448,3476,3361,2883,2844,2812,2563,2695,2663,2712,2511,2786,3240,2891,2200,1983,2051,2843,2633,2614,2516,2595,2423,1873,1981,1788,1817,1831,1594,1681,1628,1774,2314,2093,2271,2821,2147,1919,1788,1517,1304,1352,1486,1739,1722,1568,1555,1474,1791,2013,2034,2020,1784,1727,1652,1815,1941,1735,2092,2828,1838,1583,1488,1449,1443,1493,1459,1334,1665,2546,2872,2293,1763,1558,1834,2539,2350,2115,1736,1972,2104,2459,2377,2060,1964,2204,2319,2163,1998,1930,1546,1515,1381,1893,1674,1222,1791,2326,2708,3046,3195,3309,3337,3250,3451,3557,3340,3088,3104,3459,2448,1498,1419,1198,1008,1298,1852,2644,2762,2587,2784,2592,2277,2000,2237,2599,2845,2169,1639,1898,1929,1897,1683,2008,1914,2373,2976,3321,2803,2019,1569,1588,1856,2330,2077,1692,1686,2391,2719,2676,2280,1981,2021,1763,1986,2618,2663,2534,2626,2499,2872,3229,2974,2462,2720,2752,2145,1913,1800,1924,2019,2107,1980,1792,1662,1547,1650,1699,2206,2118,2010,2180,2769,2857,2613,2435,2205,2180,2428,2949,2275,1332,1390,1659,2141,2052,1876,1694,1217,1120,1574,1549,2012,2938,2377,1954,1995,2264,2751,2975,3216,2977,2113,1597,1478,2222,2911,3116,3428,2927,2599,2394,2329,2038,1730,1893,1770,1693,1703,1356,1539,1715,1860,1596,2021,2447,2366,2292,2264,2302,2010,1941,2306,2309,2320,2290,2232,2264,2627,2967,3304,1952,1657,2111,2257,2199,2610,2629,2313,2618,2259,1665,1606,2022,1888,1341,1641,1877,1801,1766,1621,1929,2155,1824,1754,1613,1529,1554,1616,1536,1454,1715,2121,2354,2416,2187,1869,1765,1858,1630,1486,1490,1478,1549,1803,1866,1935,1812,1490,1451,1771,2389,2101,1646,1668,1591,1685,2366,2218,2096,2216,2232,2170,2081,2344,2913,2326,2080,1915,1613,1918,2630,2573,1966,1864,1626,1559,1670,1483,1460,1805,1880,1714,1814,1280,1140,1932,1995,1664,1941,2146,2119,2019,2128,2809,2308,1579,2125,2380,2125,2029,2081,2142,2018,2700,2972,2135,1877,1819,2241,1906,1686,1862,1680,1656,2491,3087,2295,1654,1877,2358,2665,2632,2706,2561,2667,2581,2122,2396,2583,2093,1836,1894,1850,1733,1613,1576,1676,2043,1730,1550,1634,1556,1749,1790,1642,1590,1470,1447,1493,1561,1686,1508,1315,1404,1715,1754,1712,1924,1922,1625,1603,1626,1739,1883,1706,1543,1773,1730,2435,2024,1788,2278,2700,2468,2121,1772,1691,1802,1751,1681,1703,1792,1722,1964,2338,2159,1621,1765,1983,1747,1934,1908,1922,1857,2559,2398,2368,2686,2220,1730,1669,2110,2463,2511,2655,3003,2827,2913,3307,3642,3474,3392,2891,2938,3227,3227,3172,3186,2946,2888,2555,1749,1589,1909,1862,1663,1935,2192,1899,1748,1874,1951,1818,1761,1827,2005,1897,1926,1790,1698,1554,1387,1442,1541,1490,1515,2146,2422,1768,1489,1944,2248,3122,3353,2819,2076,2070,2003,1895,2038,2117,2071,1621,1842,1714,1550,1444,2105,1803,1848,1987,1774,2208,2435,1935,1827,1944,2244,2096,1827,1870,1960,1927,1804,1931,1843,1758,1795,1777,1696,2269,3638,3661,3702,3237,2590,2536,2167,2220,2440,2669,2491,2091,1849,1600,1561,1630,1593,1789,1621,1572,1795,1650,1682,1872,1605,1613,2041,1872,1905,1717,1605,1802,1983,2094,1976,1965,2098,1870,1779,1821,1660,1570,1598,1556,1833,2237,1613,1656,1500,1391,1608,1669,1582,1364,1485,1600,1659,1476,1534,1674,1425,1451,1470,1375,1482,1710,1620,1460,1428,1335,1434,1793,1792,1646,1465,1661,1673,1892,2094,1791,2059,2733,2337,2535,2686,1934,1908,2043,2536,3172,3180,3090,2856,3162,3699,4015,4276,3173,2498,2735,2552,2064,2257,2706,2909,3073,1859,856,863,651,1091,1998,911,630,599,632,993,2022,2264,2403,2193,1862,1853,1937,1810,2041,2941,3655,3765,3707,3515,3615,3449,3226,3128,3266,2754,2668,3259,3791,3906,3476,3017,3394,3631,3686,3585,3086,2182,1930,2143,2016,2878,3377,3186,2906,2249,1800,1859,1726,1528,1540,1710,1659,1414,1484,1539,1509,1471,1585,1461,1378,1447,1598,2100,2148,1914,1888,1946,1943,2034,2253,2712,2619,1784,1839,1840,1888,1859,1667,1591,1755,1748,1782,1914,1737,1831,1926,1799,1883,2074,1680,1939,2338,2297,1866,1562,1725,1923,2068,2252,2597,3018,3097,2918,2664,2205,2317,2525,2493,2008,1758,2057,1991,2167,2498,2475,2097,2541,2774,2477,2142,2053,2003,2504,3365,3087,1788,1772,2162,2148,1991,1780,1701,1600,1687,1994,2479,2709,2308,2052,2070,2565,2644,1884,1744,2265,2225,2534,2520,1932,1699,1724,1608,1611,1880,1766,1620,1937,1986,2489,2553,2774,3718,3355,2476,2375,2077,2051,2432,2456,2856,3348,2712,2797,2911,2579,1848,1708,2315,2188,2053,2042,1839,1722,1665,1788,1651,1832,1642,2341,2035,1642,1644,2290,2756,2563,2177,2159,2173,2195,2070,1961,2204,1704,1817,2183,2411,2513,2013,1482,1607,1703,1566,1384,1324,1328,1522,1837,2084,1676,1508,1699,1449,1574,2198,2244,1747,1948,2143,1610,1840,1727,1749,1657,1628,1842,1655,1619,1814,1736,1721,1758,1961,1560,1511,1565,1797,1781,2049,2546,2800,2940,3010,2943,2600,1930,1457,1775,2227,2093,1712,1558,1367,1470,1618,1717,2238,2078,1504,1439,1486,1830,1855,1678,1638,1785,1484,1404,1449,1478,1457,1605,1802,2060,1957,1763,1470,1553,1959,1999,1857,1926,2148,2294,2039,2233,2395,2238,1837,1879,2294,2039,1747,1924,1806,1708,1597,1454,1673,1886,1697,1361,1505,1561,1388,1373,1465,1456,1485,1901,2243,2176,1713,1547,1507,1394,1511,1678,1628,1710,1763,1825,1988,2711,2927,2909,3084,2942,2740,2989,3163,2918,3084,2739,2878,2790,1907,1533,1480,1720,2586,2768,2103,2223,2784,3417,3350,2264,1399,1259,1587,2039,2364,2382,2016,1666,1632,1784,2186,2220,1913,1733,2163,2431,2116,1917,2098,1999,1930,2015,2417,2552,2231,1968,2613,3360,2430,1735,2406,2819,2309,2229,2494,2610,2874,3087,3139,3328,2646,3636,4568,3838,2390,1965,2613,3527,3138,2160,1764,2027,2348,2232,2537,2202,2437,2536,2512,2485,2821,2862,3044,2642,2446,2669,2489,2754,2082,1963,2373,2452,2392,2718,2746,2230,2223,2284,2066,2385,2453,2514,2232,2294,2978,3086,3061,3312,3263,3134,2957,2736,2555,2357,2236,2324,1886,1774,1739,1704,1910,1910,1573,1402,1420,1575,1593,1549,1605,1590,1706,1864,1737,2324,1782,2063,2392,1998,1863,1803,1837,1910,1751,1622,1631,2000,2745,4009,3941,2595,1627,2018,2185,1801,1652,1643,1716,1763,1660,1948,1949,1796,1754,1948,1879,1835,1827,1871,1737,1550,1550,1603,2136,2063,2867,2189,1628,1615,1520,1570,1670,1710,1859,2019,2064,2554,2310,2453,2399,2194,1685,1565,1729,1770,1619,1605,1895,2046,2003,2003,1625,1508,1474,1645,1625,1880,2211,2049,1666,1837,2097,1889,1591,1444,1689,1538,1440,1510,1391,1428,1836,2133,1891,1826,1797,1575,1593,1764,1905,1832,1946,1887,1265,1666,1888,1419,1331,1719,1751,1536,1754,2002,2117,2212,2412,2197,1882,1826,1786,1753,1724,1830,1935,2055,2212,2169,1846,1764,2115,2634,3537,3024,2135,2047,2438,2564,1915,1894,1922,2197,2057,1826,2483,2540,2209,1749,1735,1782,1781,1823,1825,1901,1890,1821,1554,1464,1397,1320,1365,1428,1417,1381,1666,1714,1381,1683,1715,1571,2413,2807,2966,3111,3265,3205,2852,3196,2824,2461,2271,2447,2656,2539,2403,2041,2093,1978,1930,1816,1894,2061,2297,2459,2191,1794,1548,1516,1435,1455,1417,1410,1528,1860,1670,1389,1365,1427,1697,2128,2064,2077,2377,2128,1777,1712,1652,1664,2075,2082,1798,1590,1655,1919,1925,1650,1599,1625,1555,1678,2061,2232,3082,3539,3491,3764,3964,3697,3583,3295,2923,2933,2799,2392,2435,2238,2031,2352,2467,2886,3455,3542,3586,3239,3011,3046,1715,1675,1790,1793,2348,2589,2628,2991,2989,2946,2789,2374,2316,2050,2007,2322,2340,2598,2533,1986,1655,1728,2166,2592,2071,1412,1463,1571,1953,1895,1700,1557,1527,1511,1711,1713,1526,1508,1521,1695,1952,2361,2220,1948,1717,1929,1854,1727,1695,1784,2238,2089,1675,1431,1509,1635,1552,1878,2441,2601,2871,3245,2784,2284,2570,2355,2239,2199,2140,1849,1660,1498,1609,1405,1465,1486,1832,1902,2118,2485,1850,1537,1737,1675,1884,2151,1963,1977,2008,2118,1946,1654,1661,1616,1388,1361,1435,1351,1447,1518,1920,2208,1807,1554,1818,1787,1494,1507,1618,1596,1815,2252,2198,2243,2036,1770,1695,1674,1829,1962,1897,2241,2350,2265,2409,2741,2039,1847,1748,1922,2216,2133,1983,1819,1815,2237,2380,2519,2543,2764,2696,2724,2995,2797,2880,2741,2930,2919,2821,2852,2634,3043,2833,2566,2865,2534,2680,2380,2678,3476,3330,3382,3824,3916,3747,3462,3441,3127,2994,3069,2588,2516,2346,2578,2603,2556,2877,2613,2177,2175,2134,1730,1561,1773,2154,1802,1709,1828,1635,1490,1817,1976,1965,1892,1625,2054,3197,3151,2351,1888,1591,2202,2455,2475,2447,2265,2442,2458,2228,2254,2508,2188,2202,2273,2288,2220,2163,2136,2315,2585,2797,2686,2541,1980,1841,1888,2152,1885,1954,1815,1802,2335,3120,2866,2539,2699,2154,1953,1843,1569,1775,2292,2477,2292,2018,2145,2619,2509,2149,2100,2019,1722,1906,2049,1638,1523,1557,1806,2044,2742,2952,2707,2728,2172,1995,1880,2180,2168,2221,2467,2199,1789,1715,2137,2451,2799,3237,3500,3209,2964,2942,2883,3047,3206,2555,2286,2657,2829,2714,2499,2389,2114,1685,2075,2164,2543,1976,1865,2978,3084,2750,2865,3143,3482,3261,2741,2556,2258,2841,2640,2358,2326,2015,1752,1807,2155,2304,2378,2700,3171,2913,2913,3337,3696,3816,3571],[3279,3331,3471,3046,2404,1810,1602,1984,2054,2181,2477,2327,2922,2567,2342,2610,2177,2608,3034,2932,2885,2940,2808,2886,2544,2200,1738,2204,2175,2479,2942,2743,2535,2270,1644,1456,1684,1512,1384,1565,1509,1575,2041,1823,1911,2192,1635,1637,2238,1891,1478,1527,2092,2264,1763,1781,1765,1669,1566,1704,1898,1866,1828,1778,1794,1876,1930,1888,2018,2548,2014,2030,1743,1439,1468,1593,1609,1509,1490,1762,1979,2065,1680,2094,2205,1956,1866,1831,1812,1671,1947,2264,2010,2025,2530,3300,3034,2522,2598,1964,2030,2548,2447,2388,1787,1483,2092,2358,2310,3151,4078,3606,3133,3015,2974,3259,3544,3264,3442,3559,3303,3235,2954,2296,1986,1969,2066,2318,2524,2334,2888,2469,1864,2077,2321,2314,2244,1907,1758,1947,2034,1574,1267,1660,1940,2543,3637,3852,2990,2175,1649,1404,2151,3223,2430,1728,1887,2587,2678,3072,2486,2258,2258,1850,1815,2211,2394,2115,2479,2469,2630,2334,2244,2946,3361,2841,2190,1951,1939,2076,2332,2476,2342,2180,1754,1690,2076,2077,2508,2336,1982,1971,2054,2279,2502,2738,2053,2120,2566,2574,2131,1775,1762,1855,1890,1873,1929,1714,1290,1399,1697,1583,1908,2259,1644,1643,2198,2214,2121,2776,3328,2441,1778,1882,1843,2056,2331,2861,3263,3275,3266,3322,2706,2123,1930,1729,1562,1654,1446,1577,1726,1596,1866,1560,1706,1817,1644,1901,2455,2307,1704,2014,2359,1797,1912,2102,2106,2469,2658,2785,2537,1310,995,2067,2801,2103,1940,2002,2087,2282,1897,1591,1555,2008,1714,1371,1448,1500,1646,1979,2220,1936,1904,1792,1679,1487,1656,1838,1694,1494,1440,1383,1544,2066,2293,2175,2025,1658,1614,1726,1511,1473,1659,1665,1615,1623,1713,1880,1802,1532,1600,2104,1760,1682,1706,1631,1655,1991,2116,2150,2099,2130,2477,2208,2762,3104,1932,1852,1841,1581,1759,2058,1950,1830,1772,1642,1572,1626,1462,1478,1714,2003,2445,2039,1341,1432,1850,2147,1864,1821,2217,1779,1871,2244,2680,2410,1677,2033,2714,2679,2407,2370,2056,1958,2586,2338,2106,2000,2452,2733,2198,2002,1925,1871,2207,2742,2654,1952,1740,2267,3097,3200,2728,2085,2348,2768,2388,1920,1751,2336,2555,1965,1996,2163,1898,1889,1742,1620,1902,1662,1516,1437,1316,1483,1649,1506,1435,1349,1352,1505,1626,1465,1264,1307,1534,1706,1708,1635,1520,1501,1573,1554,1516,1688,1750,1606,1614,1660,1558,1579,1714,1941,1654,1378,1574,1783,1598,1510,1456,1547,1568,1737,1635,1452,2495,3530,2674,1650,1619,1677,2100,1969,1564,1497,2122,2968,3052,2557,2221,2123,1878,2282,2761,2397,2447,2868,2783,3265,2850,3256,3624,3118,3241,3278,2968,2958,3431,3346,3366,2821,2670,2585,2000,1522,1874,1696,1693,2403,2391,1851,1845,2212,2292,1898,1956,1892,1778,1800,1994,1899,1996,1786,1455,1496,1634,1533,1781,2197,1757,1461,1916,2546,2337,2745,2811,2101,1755,1708,1748,2286,2741,2598,2553,2070,2599,2207,1730,1582,1946,1915,2292,2453,2048,2183,2569,2492,2508,2504,2684,2458,1920,2073,1993,1748,1774,1693,1585,1822,1906,1725,2008,2225,3030,3312,3226,2697,2586,2427,2101,2037,2094,2037,1852,1997,1861,1873,1916,1858,1690,1594,1546,1585,1799,1948,1779,1615,1494,1455,1751,1627,1832,1627,1568,1982,2348,2499,2084,1781,1780,1749,1612,1845,1886,2286,2148,1874,2341,2265,1585,1464,1479,1541,1440,1497,2082,1732,1563,1413,1412,1448,1458,1743,1708,1623,1477,1459,1628,1623,1436,1303,1426,1319,1406,1508,1719,1627,1465,1495,1622,2046,2213,1929,2226,3371,2840,2293,2648,2025,2194,2613,2746,3122,2968,2523,2464,2905,3596,3904,3918,2734,2978,3195,3081,3060,2730,2744,2985,3084,2829,2618,2424,2152,2276,2533,1483,1203,1061,728,1378,1992,2416,2977,2670,2109,1992,2057,1878,2078,3228,3652,3850,3886,3674,3529,3459,3171,3322,3385,2662,2533,2752,2952,3216,2889,2708,2845,3319,3419,3558,3558,2468,1567,1882,2877,3585,3509,2939,2114,1797,1798,1584,1462,1474,1559,1807,1765,1626,1538,1493,1702,1676,1546,1388,1430,1516,1792,1850,1660,1644,1866,1888,2046,2088,2260,2536,2419,2113,2080,1794,1584,1540,1824,1844,1690,1597,1635,1477,1794,1698,1768,2063,1996,1932,1934,2719,2736,2059,1951,1716,1716,1794,1845,1804,1957,2114,2579,3074,3071,2561,2059,1889,1991,1759,1971,2534,2229,2370,2185,1866,2376,2810,2928,2440,2183,2188,2196,2592,3108,2928,2219,2312,2219,2651,2950,2786,2196,1607,1511,1578,1970,1892,2030,2444,2491,2374,2420,1720,1798,2264,2192,2674,2677,2209,1986,1600,1543,1528,1570,1473,1730,1946,2223,2559,2102,2289,2884,2232,1770,2078,2232,2039,1983,1832,2236,3510,3463,2922,3021,3083,2477,2228,2662,2771,2545,2350,1892,1467,1516,1667,1496,1582,1501,1749,2092,1858,1735,2422,2931,2430,1937,2304,2238,2509,2101,2244,2613,2098,1885,2031,2032,1888,1763,1486,1533,1628,1552,1528,1511,1450,1443,1891,1963,1571,1602,1646,1592,1711,1563,1714,1726,1814,2047,1806,1874,1914,1844,1716,1618,1794,1816,1973,1852,2011,1739,1810,1881,1775,1743,1724,1941,2142,2389,2484,2743,3270,3097,2521,2348,1984,2251,2556,2327,1830,1671,1532,1392,1923,2290,2564,2764,2246,1604,1570,1566,1654,1710,1678,1616,1558,1563,1500,1512,1689,1490,1571,1902,1843,1785,2008,1532,1504,1820,1687,1784,1998,2114,2100,1989,2097,2185,1932,1756,2104,2232,1676,1990,2628,2329,1833,1740,2081,2143,2104,1729,1437,1721,1649,1500,1482,1484,1439,1534,2180,2576,2328,1889,1516,1334,1280,1236,1595,1709,1908,1559,1497,1450,2415,3930,4107,3613,3262,3465,3818,4168,4069,3706,3212,2809,2341,1873,1788,1793,1901,2546,2732,2215,2354,2696,2674,2426,2122,1832,1808,1973,2379,2580,2499,2311,1735,1599,1664,2104,1884,1782,1974,1664,1738,1772,1828,2050,2510,2865,2678,2446,2225,2464,1930,2506,2719,2173,1636,2251,2514,2200,2280,2536,2750,3330,3442,3103,3111,2873,3516,4256,3472,2286,1659,2188,3068,2817,2135,1463,1502,1960,1907,2492,2604,2744,2932,3000,2548,2514,2787,2669,2818,3829,3753,2735,2501,2500,2452,2112,1832,2494,2879,2478,2429,2308,2238,2634,3216,2853,2499,2437,2534,2676,2824,3422,3597,3309,2977,2985,3103,2752,2048,2104,1930,1714,1515,1511,1745,1975,1810,1510,1415,1463,1716,1745,1638,1571,1683,1918,2230,1942,1720,1850,2375,2221,1765,1679,1407,1592,1693,1711,1609,1803,1924,2823,3914,4084,3143,2119,2061,2484,2223,2175,2306,2339,2296,1981,2232,2285,2104,1990,1992,1974,1870,1632,1428,1772,1992,1820,1866,2298,2282,2627,2140,1936,2067,1880,1805,1682,1693,1764,2115,1853,2517,2432,2397,1930,1577,1510,1673,1910,2078,1849,1504,1718,2009,2504,2322,1590,1685,1588,1789,1723,1616,1939,1780,1787,1498,1299,1337,1541,1666,1512,1397,1334,1311,1464,1760,1961,1989,1799,1667,1436,1532,1667,1494,1936,1942,1988,2004,1582,1640,2069,1933,1720,1790,1649,1440,1578,1553,1631,1726,2580,2626,2197,1904,1574,1478,1647,2032,2161,1970,1749,1487,1481,1548,1763,2194,3063,2764,1979,2020,2467,3197,2190,1973,2106,2320,2369,2309,2431,2332,2101,1919,1929,1926,1910,1791,1757,1713,1769,1841,1736,1700,1537,1466,1418,1503,1614,1638,2070,1897,1471,1648,1387,1703,2286,2504,2472,2222,3091,2916,3088,3620,3435,3181,2947,2486,2747,2540,2666,2590,2120,1810,1461,1526,1677,1824,2194,2078,1746,1400,1516,1500,1259,1300,1400,1455,1722,1574,1224,1304,1337,1403,1554,1644,1541,2128,2636,2128,1678,1736,1794,1582,1818,2100,1771,1463,1740,1865,1781,1661,1769,1868,1658,2170,2931,3388,3585,3420,3543,4179,4340,3693,3376,3316,2882,2798,2579,1992,1780,1822,1850,2624,3250,3077,3183,3508,3577,3230,3067,3323,2235,1887,2190,1868,1658,1688,1853,2343,2344,2109,1787,1510,1918,2088,2009,2395,2215,2625,2737,2109,1823,1551,1943,2776,2265,1370,1425,1492,1982,2014,1646,1402,1413,1477,1600,1565,1553,1578,1860,1788,1613,1545,1706,2023,2030,1776,1422,1482,1731,1893,2051,1794,1684,1604,1613,1657,1601,1997,2229,2308,2347,2802,2666,2404,2698,2103,2399,2326,2109,1720,1615,1562,1548,1581,1639,1613,1566,1588,1901,2271,1953,1692,1637,1570,1783,1766,1729,1839,1593,1866,1829,1455,1583,1414,1158,1092,1189,1322,1461,1478,1725,1730,1507,1503,1946,2236,1730,1870,1644,1558,1917,2322,1867,1663,1803,1858,2277,2152,1754,1866,1972,2246,1780,1724,2517,2364,1921,2028,1925,1823,1812,1833,1984,2124,2300,2588,2304,2427,2713,2770,2430,2678,2818,2520,2487,2503,2602,2407,2108,2406,2359,3173,3017,2498,2310,1953,2000,1976,1993,2890,3256,3098,3580,3892,3694,3299,3238,2750,2856,2952,2692,2526,2685,2985,2639,2679,3032,3144,2913,2332,1784,1541,1603,1910,2191,1732,1547,1802,1732,1599,1792,1891,1920,1823,1925,2133,2784,2806,2548,1978,1650,1870,1941,2254,2448,2385,2493,2405,2083,1955,1732,1995,2153,2114,2081,2083,2040,2130,1939,2210,2652,2554,2441,1930,1616,1599,1786,1805,1943,2211,2177,2702,3296,2890,2266,2457,2833,2463,2058,1809,1773,2521,2875,2785,2707,2648,2665,2055,2037,2089,1643,1663,2120,1932,1856,1782,1774,1836,1942,2272,2208,2188,2432,2378,2246,1941,2164,2248,2142,2087,2119,2308,2254,2003,2146,2668,3094,3464,3086,2708,2448,2526,2853,2792,2966,3242,3056,2818,2209,1751,1801,2072,1928,2155,1993,2244,2259,2402,3005,3018,3106,3292,2978,2778,2940,3278,3205,2567,2340,2239,2125,2188,2285,1919,2128,2109,2293,3086,3013,3001,2830,2830,3023,3263,3319,3030],[3355,3208,3365,2668,1709,1635,2022,2350,2036,1889,1622,2259,2215,2088,2476,2529,2314,2724,2885,2491,2228,3127,3188,2374,1897,1781,1808,1976,2178,2308,2377,2186,2298,2306,1671,1704,1610,1395,1645,1835,1540,1608,2278,2173,1986,2057,1958,2478,2825,1962,1496,1497,2322,2251,1807,1812,1841,1690,1417,1680,2043,1828,1768,1644,1820,1875,1888,1897,1940,1963,1897,1962,1831,1560,1364,1336,1481,1562,1490,1375,1481,1859,1798,2238,2599,2167,1657,1576,1644,1662,1851,1959,2135,2381,2490,3299,2762,2454,2502,1793,2471,3349,3296,2721,1773,1720,2145,2093,2201,2998,3536,3353,2929,3098,2756,2447,2859,3275,3651,3795,3981,3703,3537,3199,2779,2685,2397,1817,1878,1859,1840,1925,2137,2231,2333,2230,1847,1526,1699,2034,2216,1690,1445,1641,1969,2291,3074,3552,2951,2209,1651,1456,2473,3455,3086,2237,2521,2846,2676,2907,3131,2913,2189,1605,1511,1703,2009,1842,2438,2509,2920,2786,3091,3416,3385,3047,2446,2150,1942,1809,2169,2439,2568,2732,2032,1771,2023,1989,2375,2467,2192,2162,1928,2230,2113,2345,2170,2554,2385,2638,2303,1686,1815,1941,1985,1580,1644,1607,1621,2029,1793,1931,2133,1957,1789,1669,2155,2372,2222,2290,2426,2181,2366,1665,1595,1663,2019,2746,3109,3352,3563,3436,2714,1902,1729,1595,1577,1775,1583,1895,1664,1672,1831,1837,1888,2302,2557,2854,2934,2375,2374,2664,2002,1686,1860,2122,1847,2245,2646,2696,2423,1867,1790,2355,2392,1981,2093,1823,1501,1520,1758,1597,1577,1744,1773,1804,1517,1476,1418,1653,1993,1802,1730,1559,1637,1480,1541,1659,1570,1524,1526,1486,1519,1859,1936,1850,1666,1546,1639,1627,1606,1539,1742,1846,1671,1665,1948,1881,1874,1656,1692,1758,1731,1700,1672,1683,2164,2825,2556,2353,2041,1979,2241,1807,2108,2192,1694,1604,1719,1645,1519,1537,1628,1597,1619,1642,1461,1794,1744,1692,1666,1760,2184,2252,2341,2049,2094,2511,2172,1786,1867,1706,1870,2110,1804,1697,1709,2029,2448,2574,2669,2323,2041,2320,2131,1710,2340,2054,2042,2316,2112,2016,2086,2107,2245,2216,2253,2143,1808,2066,2542,2185,1897,1613,1724,1951,2191,2379,2319,2284,1868,1560,1743,1998,1893,1836,1936,1644,1534,1688,1744,1584,1584,1552,1630,1477,1322,1378,1451,1763,1490,1340,1461,1426,1490,1442,1504,1545,1412,1546,1625,1639,1787,1975,1558,1448,1614,1763,1674,1270,1330,2027,2070,1670,1487,1504,1421,1462,1444,1425,1504,1577,1562,1672,2373,2512,1898,1565,1560,1814,2168,1732,1637,1536,2164,2841,2589,1973,1759,2079,2310,3264,2899,1876,2350,2619,2582,3242,2964,3031,3144,3075,3155,3133,2878,2954,3628,3474,3539,3171,2857,2562,1998,1641,1411,1291,1700,2132,1909,2248,2023,1672,1679,1923,1926,2056,1802,1674,1854,1937,2020,1958,1913,1831,1665,1487,1644,1989,1766,1672,2798,3051,2366,2280,2304,2133,1789,1776,1795,2105,2637,2626,2819,2687,2563,1909,1519,1533,1925,2189,2371,2252,2037,1897,2303,2240,2246,2222,2305,2228,1890,1711,1610,1858,1654,1457,1752,2091,2585,2510,2198,1947,2347,2872,2802,2597,2750,2698,2471,2281,2366,1918,1728,2356,2119,2460,2098,1587,1740,1676,1565,1749,2238,2313,1742,1561,1412,1654,1831,1494,1719,2099,2002,1836,2242,2347,2102,1975,2099,1987,1955,1742,1822,2589,2834,2549,2126,1892,1651,1549,1779,1710,1440,1483,1841,1678,1483,1465,1424,1409,1656,1809,1710,1703,1650,1385,1312,1583,1697,1556,1587,1471,1450,1377,1455,1521,1601,1740,1683,1750,1655,1643,2093,3107,3453,2888,2320,2087,2591,2734,2746,2946,2679,2555,2766,3270,3913,3693,3188,2653,3090,3198,3584,3659,3210,3066,2954,2986,3300,3482,3433,3459,3505,3507,3147,2902,2674,2432,2438,2209,2620,3261,2787,2132,2048,2000,1849,2208,3016,3337,3652,3896,3860,3753,3651,3458,3437,3198,2740,2524,2580,2503,2481,2622,2844,2965,2933,2866,3165,3552,2785,1931,2765,3688,3462,2861,2305,1725,1665,1694,1538,1475,1469,1558,1793,1757,1772,1730,1881,2102,1858,1589,1607,1635,1742,1720,1520,1465,1759,2088,1861,1952,1816,1968,2195,2301,2602,2199,1695,1729,1529,1400,1627,2092,1967,1672,1630,1946,1654,1798,1985,2220,2693,2454,2160,2316,2502,1967,1555,1543,1577,1730,1782,1715,1602,1709,2032,2221,2179,2003,1761,1847,1563,1792,2242,2318,2299,2000,2105,2610,2898,2959,3050,2740,2409,2648,2828,3308,3051,2702,2581,2034,2476,2850,3051,2699,1837,1491,1540,1695,1587,1742,1887,2342,2255,2079,1835,1735,1875,2164,2317,2131,2126,1874,1613,2007,1668,1557,1799,1809,1895,1967,2142,1997,2165,2138,1865,1974,1959,1954,2199,1881,1990,2877,3464,3120,2768,2986,3035,2813,2847,3019,3062,3062,2730,2325,1903,1698,1903,1837,1908,2064,2388,2581,2098,2023,2452,2637,2093,2068,2144,2162,2249,2252,2492,2418,2200,1970,1838,1670,1378,1531,1684,1694,1773,1665,1596,1536,1484,1555,1848,1725,1658,1791,1831,1604,1538,1367,1494,2113,2051,1905,1653,1505,1720,1813,1703,1898,2033,2018,2117,1463,1512,1671,1672,1548,2222,2598,2185,1869,1724,1637,1567,2031,2403,2620,2558,2411,2024,2193,2153,1718,1503,1455,1390,1626,2353,2770,2867,2545,2150,1655,1539,1571,1616,1793,1705,1449,1519,1665,1664,1650,1522,1436,1613,2067,1911,1947,1894,1666,1692,1697,1718,1862,1841,1693,1567,1517,1439,2055,2088,1974,1932,1887,1743,2203,2851,2630,2162,2288,2375,1880,1773,1566,1521,2033,2222,2012,1836,2155,2376,2210,2324,1982,1878,2388,1633,1300,1379,1456,1505,1740,1726,1464,1583,1749,2910,4380,4297,3632,3519,4016,4207,4640,4495,3672,3005,2367,1929,2085,2139,2285,2522,2285,2459,2255,2092,2789,2610,1893,1494,2061,2637,2363,2642,2928,2300,2643,2553,2047,2162,2362,1834,1791,2018,1728,1792,1714,1596,2066,2700,2564,2253,2277,2230,2280,2429,2766,2546,1992,1670,1850,2104,2358,2727,2779,2532,2675,2976,2828,3075,3383,3560,3983,3206,1921,1501,2002,2108,2257,2554,1760,1642,1979,2212,2916,3169,2873,2784,2534,2136,2353,2777,2886,3796,4400,4009,2765,2115,2778,3282,2861,2209,2513,2933,2599,3249,2832,2330,2414,2622,2613,2446,1942,1918,2181,2621,3225,3312,3238,3097,2765,2758,2736,2184,1711,1642,1777,1802,1809,1960,2040,1793,1695,1884,2017,2115,1915,1609,2004,1961,1628,1691,1534,1477,1766,2261,1905,1743,1808,1587,1583,1426,1671,1941,2014,2171,2867,3392,3231,2898,2426,2209,2400,1935,2123,2132,2155,2064,1790,1771,1890,1923,1794,1642,1559,1725,1741,2090,2734,2669,2214,2330,2558,2171,2052,1724,1822,2231,2043,1862,1775,2081,1959,2202,2494,2863,2433,1949,1915,1706,1444,1534,1705,1708,1562,1498,1598,2004,2550,2213,1586,1870,1802,1747,1551,1451,1466,1541,2115,1935,1798,1934,1871,1887,1816,1441,1273,1422,1932,2304,2059,1731,1586,1574,1479,1581,1824,1783,1949,2010,1945,1992,1629,1440,2130,2222,1823,1624,1641,1484,1534,1586,1694,1713,2212,2808,3112,2674,1837,1593,1852,2644,2565,1894,1447,1490,1787,1789,1781,2029,2630,2769,2147,2137,2577,3544,2692,2043,2002,2274,2396,2437,2470,2342,2211,2181,2113,2044,2032,1847,1664,1563,1541,1748,1969,1930,1576,1412,1365,1760,2188,1849,2005,1565,1536,1515,1488,1943,2048,2343,2216,2140,2530,2470,2555,3017,3533,3577,3415,3382,2806,2482,2383,2421,2032,1729,1471,1399,1421,1385,1392,1438,1616,1481,1659,1522,1450,1456,1401,1563,1764,1317,1163,1320,1447,1716,1541,1466,1460,2070,2276,1772,1462,1597,1738,1657,1764,1686,1694,1593,1522,1599,1647,1733,1971,2456,2711,3210,3485,3378,3427,3585,3931,3938,3797,3011,2857,3182,2732,2085,1625,1521,2064,2630,2455,2722,3163,2908,2939,3473,3268,2571,2513,2972,2268,1884,2398,2267,1938,2005,1739,2020,2284,1650,1469,1832,2208,2184,2167,2074,1791,2120,2469,2292,2570,2443,2593,2875,2153,1515,1651,1682,2041,2208,1817,1510,1452,1568,1735,1867,1666,1544,1943,1743,1575,1442,1868,2576,2673,2003,1270,1472,1784,1610,1572,1543,1706,2038,2235,1744,1638,2214,2649,2532,1765,1708,1873,2534,2501,1806,2433,2426,2208,1883,1726,1662,1799,1902,1671,1570,1815,1967,2001,1861,1649,1554,1664,1721,1544,1473,1971,1876,1522,1798,1825,1606,1598,1467,1217,1000,1001,1332,1520,1515,1705,1759,1753,1894,2685,2969,1990,1422,1412,1579,1755,1738,1819,2266,2155,1982,2677,2890,2458,1859,1552,1819,1700,1530,2154,1936,2230,2234,2047,1749,1352,1711,1978,2163,2535,2657,2408,2185,2510,2375,2281,2792,3052,2679,2833,2938,2511,2297,2353,2476,2377,2669,2418,1867,1508,1352,1699,1894,2417,2945,3043,3040,3514,3702,3571,3154,2895,2786,2736,2620,2554,2521,2989,2746,2415,2648,2966,3245,3067,2536,2024,1853,1778,2046,2251,1766,1408,1551,1738,1703,1647,1552,1497,1497,1937,2115,2218,2566,2401,1858,1731,1610,1580,1825,1819,1954,2663,2302,1953,1746,1626,1901,2209,2043,1619,1450,1587,1989,1653,1793,2202,2391,2029,1880,1767,1582,1692,1851,1917,2163,2196,3066,3341,2968,2496,2375,2481,2141,2011,1938,1893,2452,2596,2611,2953,2834,2423,2271,2066,1617,1639,2114,2250,2209,2612,2504,2112,2052,2009,1947,2105,2395,2566,3248,3043,2389,2058,2463,2678,2431,2740,3169,2917,2729,2819,2928,2950,3075,2579,2365,2168,2114,2292,2163,2681,3025,2586,2643,2145,2172,2354,2408,2318,2133,2202,2748,2637,2729,2950,2951,3330,3169,2671,2725,3105,3201,3008,2360,2060,2398,2599,2473,2076,1880,1946,2026,2437,2710,2455,2265,2256,2413,2471,2492,2109,2182],[3274,3185,3107,2160,1843,2078,2261,2417,2152,2110,2132,2132,1856,2312,2843,2754,2566,2574,2385,1886,2209,3366,3250,1899,1552,1798,2053,2260,2160,2131,2275,2339,2608,2626,2013,1851,1778,1814,1748,1809,1640,2006,2206,2017,2308,2249,2504,2568,2380,2196,1692,1541,2032,2286,1851,1480,1599,1749,1638,1897,2164,1998,2392,1803,1850,2203,1869,1604,1708,1886,1866,1752,1733,1729,1805,1722,1526,1601,1520,1327,1398,1531,1649,2059,2172,1836,1755,1582,1648,1907,1920,1980,2340,2383,2357,3298,2752,2062,1870,1839,2497,2971,2849,2385,1531,1902,2166,1780,1588,1530,1705,1881,1760,2264,2428,1802,2431,3776,3997,3974,4145,3637,3605,3414,2700,2397,2254,2017,2040,2150,2050,2364,2902,2812,2752,2142,1928,2174,1953,1665,1560,1587,1730,2197,2564,2034,2186,2901,2633,2163,1831,1411,2451,2966,3037,2701,2861,2836,2370,2534,2971,2643,1998,1606,1730,1832,1890,1801,1895,2221,2668,3064,3454,3714,3440,3431,3078,2811,2426,2023,2178,2122,2030,2107,1779,1798,1993,2110,2513,2300,2063,2565,2271,2006,1761,1881,2070,2116,1945,2182,2004,1936,1910,2221,2894,2167,2058,2066,2004,2233,2055,2369,2064,1693,1748,1772,1926,2168,2531,2004,1775,2113,2267,2087,1940,1816,2264,2900,3083,3239,2902,2536,2604,2060,1663,1553,1773,2211,2027,1875,1716,1789,2204,2289,2030,2237,2586,2862,2691,2452,2950,2454,1793,2121,2372,2742,2586,2464,2498,2654,2805,2631,2721,2409,1880,1753,2994,3131,2185,1741,1827,1697,1638,1863,2476,2129,1403,1481,1418,1430,1610,2002,1694,1470,1666,1604,1470,1452,1636,1804,1628,1552,1653,1714,1874,1673,1505,1534,1651,1704,1636,1594,1616,1699,1954,1809,1881,1813,1716,1728,2104,1882,1946,2143,2174,2519,2732,3133,2634,2724,2763,2677,2158,1512,1531,1840,1648,1515,1831,1865,1760,1621,1542,1526,1476,1509,1412,1870,1726,1669,1758,1635,1560,1927,2350,1997,2152,2524,2526,2209,2213,2044,1669,1630,1858,2077,2015,2082,1954,2120,2792,2644,1954,1904,1810,1648,2151,1869,1669,2057,2286,2174,1992,1712,1895,2332,2689,2653,1798,2030,2073,1754,1837,1611,1493,2183,3044,3229,2978,2310,1940,1661,1590,1629,1676,1536,1869,1979,1736,1817,2143,1898,1846,1722,1764,1901,1426,1355,1509,1500,1271,1544,1717,1634,1699,1325,1476,1494,1598,1638,1562,1562,1571,1758,2001,2034,1804,1666,1479,1353,1584,2453,2566,1854,1524,1468,1438,1489,1523,1473,1375,1320,1449,1757,2020,1652,1898,1565,1559,1643,1729,1880,2079,1925,1760,1636,1765,1967,2344,2447,2653,3161,2563,1927,2678,3123,3500,3838,3414,2858,2953,3388,3306,3255,3252,3549,3495,3509,3798,3374,3039,2568,2161,2168,2022,2337,2215,1770,1718,2319,1938,1682,1926,2414,2132,1782,1555,1518,1740,1644,1604,1650,1906,1981,1928,1807,1661,1855,2145,2163,2232,2387,2410,2170,2066,2545,2310,2368,2032,1930,2121,2218,2332,1981,1628,1686,1704,1730,2412,2267,2136,1878,1797,1587,1560,1507,1717,1738,1855,1867,1864,2155,2072,2353,1831,1825,2107,2032,2653,2959,2553,2152,2609,2972,2908,3207,3688,3387,2610,2195,2066,1932,2077,2294,2602,2907,1931,1481,1777,1598,1438,1465,1763,1995,1704,1569,1428,1486,1297,1653,1936,1989,2087,1888,1843,2056,2025,1794,2462,2868,2566,2006,1752,1965,2090,2056,2091,1861,1534,1628,2382,2192,1700,1583,1706,1753,1606,1666,1542,1361,1556,1638,1644,1808,1859,1600,1512,1931,1907,1555,1463,1407,1395,1389,1433,1509,1584,1832,1573,1468,1500,1451,1543,1825,2179,2294,2424,2597,2759,2832,2843,2622,2924,2750,2966,3727,4055,3441,2522,2573,2952,2668,2749,2989,2686,2651,2938,3033,3315,3525,3452,3360,3572,3464,3142,3339,3442,3244,2868,2279,3034,3353,2809,2054,1975,1804,1698,2308,2989,3241,3477,3821,3983,4059,3834,3355,3090,3039,2939,2766,2553,2662,2721,2498,2460,2556,2596,2374,2435,2700,2127,2769,3447,3311,2840,2373,1964,1997,2327,1990,1572,1521,1836,1722,1679,1615,1719,1850,1888,1827,1738,1674,1621,1598,1641,1738,1566,1444,1632,1738,1808,1973,1920,1847,1940,2190,2287,1951,1998,2659,1938,1774,1908,2155,2292,1915,1593,1562,1836,2284,1924,2072,3155,3016,2163,2347,2730,2264,2238,2072,1772,1598,1699,1868,1866,1737,1463,1714,1748,2054,2107,1918,1703,1880,2224,2254,2235,2016,1959,2769,3229,2580,3128,3293,2540,2627,2568,3462,3540,3116,2413,2064,2778,3084,2973,2544,1739,1636,1754,1819,2086,1810,2139,2180,2079,2139,1917,1617,1827,2132,2141,2179,2187,2279,2246,2367,1935,1641,1913,2221,2144,1929,2198,2522,2349,1835,1551,1591,1959,2329,1982,2172,2643,2934,2789,2395,2467,2891,2984,2879,3022,3219,3437,3607,3397,3209,2475,2002,2033,1699,1521,1821,2437,2424,2144,2029,2466,2427,2110,2121,1845,1867,2051,1998,1990,2122,2110,1813,1661,1770,1660,1611,1645,1495,1531,1742,1709,1623,1610,1654,1688,1416,1507,1569,2059,2071,2114,1875,1688,2155,2098,1842,1594,1462,1661,1582,1875,2211,1644,1946,1881,1481,1554,1677,1530,1469,2041,2577,2326,1697,1562,1892,1761,1782,1618,1888,2271,2302,1993,2042,1772,1454,1566,1440,1590,2144,2636,2597,2089,1880,1692,1487,1539,1565,1808,2095,1742,1442,1496,1760,1616,1458,1480,1505,1601,1904,1700,1376,1476,1813,2100,2128,2250,2083,1904,1613,1496,1612,1387,2142,2393,1948,1880,1847,1901,2087,2351,2643,2594,2565,1850,1859,2069,1639,1463,2431,3326,3376,2999,2960,3039,2667,1982,1951,2437,2437,1961,1563,1601,1914,1742,1552,1503,1509,1592,1963,3648,4544,4528,4384,4028,4034,4057,4264,3927,2883,2462,2379,2630,2680,1973,2128,2188,2391,2878,2536,2814,3066,2445,2059,1666,1535,1996,1875,2230,2426,2518,2894,2768,2121,2564,2684,1866,1727,2101,2182,2166,1725,1841,1891,2194,2040,2086,2348,2548,2705,3050,2679,1809,1555,1832,2433,2835,2440,2723,2873,2414,2400,2503,2361,3154,3839,3961,3703,2580,1729,1669,2174,1565,1773,2258,1608,1970,2515,2456,2415,2620,2751,2496,1970,1686,1851,2061,2519,3795,4198,3389,1859,1888,2912,3370,3370,2786,2330,2485,2259,2677,2452,1938,1591,2285,2543,2074,1239,1107,2049,2788,2921,2799,2689,2730,2686,2713,2830,2373,1691,1674,2042,2112,1901,2088,2085,2104,2005,2013,2254,2078,1942,1886,1938,1450,1448,1695,1390,1365,1682,2157,1777,1825,1819,2015,2006,1674,1966,2348,2171,1888,2184,2292,2060,1950,1756,1765,1863,1656,1753,1800,2316,2656,2379,2045,1971,1805,1808,1704,1839,1874,1969,2509,2806,2279,1992,2554,2589,2310,2366,1624,1698,2082,2006,1935,2680,2900,2175,2242,2742,2588,2027,2069,2286,1933,1439,1522,1911,1720,1474,1405,1557,1886,1937,1802,1702,1437,1554,2107,2260,1678,1609,2198,2736,2308,1955,2044,1823,1861,1708,1366,1376,1410,1560,2003,2006,1813,1922,1748,1517,1776,2040,1970,2194,2171,1890,1886,1927,1556,2115,2308,1991,1766,1708,1761,1831,1820,1779,1821,2031,2447,2865,3077,2824,2631,2502,3149,2777,1853,1492,1744,2034,1842,1779,2131,2633,2521,2126,2142,2845,3495,3056,2272,2070,2179,2185,2322,2310,2252,2227,2216,2153,2188,2304,2120,1765,1623,1569,1659,2033,2034,1723,1516,1362,1599,1906,1765,1732,1535,1602,1684,1970,1882,2123,2957,2955,2336,2069,2176,2177,2290,2564,3155,3475,3407,3520,3251,2885,2234,1796,1650,1496,1404,1461,1419,1591,1628,1583,1397,1433,1522,1523,1503,1565,1824,1880,1368,1366,1577,1671,1817,1658,1626,1593,1694,2251,2652,1952,1751,1640,1554,1660,1562,1369,1360,1615,1735,1870,2061,2708,3351,3475,3420,3418,3444,3708,3661,3882,3160,3093,2789,2746,3009,2675,2193,2014,2154,2957,3461,2880,2398,2963,2846,2712,2986,2215,1362,1676,2181,1959,1836,2077,2379,2103,2420,2355,2699,2744,1876,1891,2205,2132,2178,2228,1991,2097,2222,2441,2435,2436,2308,2684,2699,2115,1785,1832,1786,2007,2302,1570,1460,1703,1791,1669,1612,1504,1606,1645,1514,1349,1566,2376,2887,2517,2059,1685,1536,1398,1443,1475,1333,1454,1867,2162,1731,1622,1973,2229,2588,1929,2190,2436,2556,2438,1986,1901,1864,1843,1846,1613,1492,1685,1839,1553,1611,1912,2026,1766,1593,1430,1504,1604,1700,1604,1443,1614,1392,1522,1797,1816,1644,1653,1789,1750,1396,1271,1423,1522,1592,1550,1490,1429,1676,2466,2679,2032,2300,2565,2366,1968,1562,1672,1836,1732,1931,2648,2943,3016,2222,1698,1853,1770,2042,1975,1869,2277,2191,2104,1580,1519,2238,2145,1782,2087,2358,2545,2476,2161,1879,2044,2488,2814,2643,2642,2785,2831,2640,2789,2589,1967,1982,1982,1693,1412,2099,2644,2567,2763,2962,2728,2944,2868,2890,2968,2932,2883,2767,2312,2059,2221,2590,2603,2448,2501,2202,2457,2734,2833,2603,2241,2042,1807,1958,2193,1656,1603,1864,1989,1744,1676,1722,1425,1412,1608,1787,2357,2576,2187,2173,1823,1692,1736,1939,1772,1666,2296,2042,1698,1545,1662,1988,2108,1721,1347,1162,1886,1969,1831,2084,2470,2430,2023,1769,1817,1748,1908,2080,1649,1698,1809,2252,2311,2294,2355,2259,2060,1926,1897,1901,1994,2369,2714,2901,3330,3334,2487,2259,1798,1616,1684,2035,2153,2046,2194,2039,2027,2214,2446,2352,2397,2754,2745,2977,3109,2887,2886,3043,2990,3109,3023,2994,2583,2703,2873,2991,2824,2546,2532,2766,2347,2078,2557,2627,2234,2180,2306,2449,1951,2498,2655,2501,2434,2370,2520,2636,2570,2600,2273,2427,2232,2270,2544,2637,2630,2530,2383,2260,2500,2509,2238,2243,1970,2238,2109,1878,2144,2656,2348,2106,2598,2697,2818,3228,2862,2677],[3648,3238,2834,1977,1775,2127,2487,2578,2448,2407,2521,2242,2196,2634,2691,2841,2420,2420,2535,2385,2641,3141,2906,2226,2018,1920,1871,1965,1602,1497,1666,2304,2634,2787,2282,1951,2001,1787,1857,2150,1919,1831,1977,2297,2576,2237,2666,2207,2366,2398,1938,1586,1830,1927,1769,1669,1541,1581,1909,1952,1847,1678,1810,2087,2154,2321,1762,1005,1165,1600,1803,1770,1673,1762,1740,1888,1547,1858,1676,1288,1375,1465,1534,1903,1856,1678,1671,1319,1583,1951,1960,2027,2335,2719,3075,3111,2358,1994,1879,2133,2251,2425,2197,1962,1505,2016,2177,1853,1805,1892,1871,1982,1943,2209,2534,2477,3339,3809,3621,3621,3761,3929,3949,3329,2353,2121,2113,2057,2271,2735,2500,2602,2747,3172,3100,2530,2247,2780,2829,2182,1789,1991,1915,1737,1727,1753,1913,2358,2133,2222,1799,1740,2474,2656,2475,2494,2718,2347,1741,1673,1973,2105,2248,2142,2154,1703,1472,1822,2278,2140,1935,2307,2919,3616,2967,3292,2564,2587,2402,2187,2692,2479,2047,1809,1681,1953,2565,3131,2955,2049,2045,2790,2645,1796,1475,1915,2499,2570,1970,1663,1788,1899,1626,2303,2790,2486,2722,2935,2813,2585,2495,2438,1838,1652,1931,2013,2129,2142,2302,2119,2544,2623,2382,2348,2229,1809,2068,3022,3394,3185,2643,2180,2126,1982,1549,1655,2242,2830,2532,1924,1859,2126,2333,2160,1931,1813,2254,2663,2432,2190,2481,1821,1767,1985,2197,2371,2307,2180,2287,2518,2513,2709,2623,2291,2089,2102,3289,3448,2397,1998,2093,1910,1749,2058,2929,2207,1770,1831,1610,1619,1864,1948,1796,1622,1488,1425,1407,1454,1500,1650,1823,1707,1799,1780,1666,1512,1500,1542,1853,1924,1603,1717,1659,1391,1588,1968,1840,1808,1618,1743,2186,1992,2224,2468,2292,2743,2565,2403,2374,2978,2842,2155,1728,1714,1571,1512,1598,2068,2046,1853,1899,1619,1550,2434,2010,1507,1556,1666,1645,1802,1955,1661,1525,1711,2483,2141,2631,2891,2909,2517,2392,2603,2398,1947,2249,2343,1886,2114,2623,2570,2602,2497,2154,2042,1710,1677,1809,1875,1825,2080,2414,2374,1812,1801,1912,2718,2950,2375,1815,2110,2088,1766,1752,1643,1927,2724,3216,2653,2564,2477,2066,1502,1332,1437,1555,1909,2391,2353,1973,1740,2061,2023,1764,1610,1574,1848,1622,1414,2025,2122,1456,1564,1714,1682,1887,1653,1674,1559,1527,1448,1425,1395,1428,1460,1826,2083,1731,1697,1981,1781,1641,1955,2110,1664,1551,1610,1536,1528,1649,1542,1543,1507,1508,1730,1537,1836,2074,1627,1593,1676,1881,2094,2017,1720,1512,1867,2468,2391,2628,2370,2634,2489,1966,1876,2347,2729,3057,3309,3662,3002,2978,3353,3067,3150,3332,2734,2683,3279,3555,3416,3060,2537,2635,2984,2836,2830,2242,2360,2517,2187,1624,1666,1959,2162,2058,1964,1742,1844,2128,1681,1725,1754,1647,1697,1752,1920,1954,2010,2314,2266,2107,2430,2065,1876,2093,2631,2313,1985,1603,1738,1707,1871,2501,2267,1892,1969,2138,2036,2453,2168,1978,1795,1788,1659,1555,1408,1412,1613,1844,1710,1790,2304,2077,2310,2246,2119,2196,2002,2198,2453,2186,2464,2888,2839,3175,3623,3861,3704,3416,2583,2182,2165,2635,2857,2529,2030,1479,1417,1632,1697,1585,1487,1388,1814,1949,1754,1837,1758,1688,2339,2350,1598,1690,1825,1646,1946,2120,1843,2740,3533,3505,2802,2080,1845,1636,1842,1746,1593,1447,1640,2870,2647,1771,1612,1626,1474,1582,1672,1510,1594,1600,1558,1534,1656,1716,1776,1811,1942,1593,1303,1250,1394,1689,1841,1804,2050,2149,2019,1635,1387,1434,1414,1473,1558,1371,1549,2374,3065,2907,2916,2956,2887,2729,2836,3389,3582,3518,3162,2423,2500,2649,2298,2242,2876,2700,2444,2877,3175,3539,3826,3662,3504,3618,3359,3177,3470,3312,3218,2962,2603,3650,3594,2672,2000,1935,1689,1717,2676,3652,3684,3666,3860,4019,4092,3962,3755,3250,2867,2868,2788,2734,2789,2688,2375,2260,2222,2356,2149,1891,2043,2646,3453,3438,3120,2724,2128,1850,2569,3059,2641,2135,1917,2138,1735,1529,1761,2086,2007,1861,1802,1654,1455,1456,1434,1445,2106,1726,1499,1660,1615,1609,1736,1834,1697,1781,2024,2064,2112,2315,2415,1699,1667,1613,1837,2077,1938,1555,1475,1876,2024,1591,1687,2047,2438,2499,2009,2058,2314,2337,2149,1837,1633,1854,2195,1776,1499,1424,2178,1932,1951,2049,2189,2009,2521,2902,2610,2489,2188,2033,2480,2820,2452,2639,2901,2500,2220,2190,2706,3016,2896,2272,2311,3314,3687,3308,2246,1609,1802,1805,1652,2236,2096,2026,2081,2086,2480,2258,2055,2082,2064,2371,2149,1946,2105,2004,1815,1709,1715,1871,1991,2188,1949,2318,2226,1895,1795,1368,1818,2239,1801,1565,1890,2137,2303,2171,2010,2269,2323,2599,2703,2743,2843,3030,3509,3758,3450,2582,2437,2592,2164,2110,2113,2073,1821,2042,2397,2366,2281,2220,1990,1896,2245,2250,1709,1878,2215,2265,1954,1627,1786,1581,1597,1551,1564,1737,1875,1930,1943,2021,1997,1590,1308,1192,1293,1623,1993,2356,1954,1496,1534,1528,1575,1669,2165,2083,1560,1630,1585,1808,1876,1583,1367,1414,1503,1555,1600,1584,1816,1909,1836,1774,1725,1711,1623,1750,2113,2475,2356,1990,2139,2054,1839,1958,1677,1765,1997,2024,1947,1681,1577,1482,1482,1543,1620,1648,1639,1496,1615,1551,1396,1299,1246,1529,1736,1706,1753,1705,1622,1507,1815,2054,1820,2042,2158,1845,1797,1704,1626,1419,1805,1929,1735,1917,1669,1728,1977,2586,3305,3118,2907,2147,2018,2083,1599,1289,1870,2828,3506,3707,3585,2765,1853,1642,2055,2569,2656,2632,2304,1942,2176,1991,2004,2236,1684,1522,1851,3837,4395,4424,4716,4496,4183,4073,4289,3835,2652,2221,2507,2980,2509,1577,2054,2605,2963,3334,3192,3156,2705,2391,2501,2598,1771,1898,1946,1899,1901,1872,1977,2341,2139,2065,2172,1887,1797,2150,2126,2448,1826,1832,1949,2256,2114,2137,2008,1917,2453,2854,2309,1875,2114,2514,3022,3128,3120,3463,2855,2578,3211,2965,2624,3163,3554,3666,3462,2138,1846,1845,1641,1615,1769,1588,1836,2330,2472,2193,1940,2367,2588,1888,1954,1976,1846,1700,2620,3121,2830,1922,1222,1592,2678,3371,3215,2886,2586,2388,2137,2293,1982,1481,1905,2710,2608,2106,1630,2047,2724,2819,2844,2748,2821,2760,3078,2965,2541,2229,2074,2067,2428,2228,1835,1982,1843,1744,1968,2013,1943,1685,1878,2070,1761,1214,1107,1565,1615,1625,1870,1986,1909,1769,1763,1954,1879,1797,1893,1958,1785,1758,2008,1860,1653,1451,1403,1287,2030,2389,2417,2924,3512,3703,3182,2833,2137,1567,1561,1578,1945,1675,2023,2446,2435,2159,1816,1953,2137,2166,1944,1484,2061,2548,2437,2160,2502,2586,2199,2332,2750,2503,1902,1886,1712,2016,1838,1753,2244,2191,1665,1540,1648,1578,1519,1641,1553,1420,1620,2233,1907,1666,1929,2464,2710,2337,1962,1825,1578,1811,1734,1333,1287,1401,1670,1925,1676,1578,1951,1749,1551,1862,2079,2440,2942,2486,2049,1796,1914,1439,1890,2439,2125,1743,1765,2000,2156,2045,1955,1980,2224,2416,2416,2809,3097,3074,2812,3068,2812,1890,1544,1775,1987,1767,1749,2078,2359,2093,1982,2085,2651,2777,2732,2442,2014,2048,2308,2374,2257,2040,2048,2101,2188,2375,2398,2258,2038,1844,1647,1722,1985,2087,1857,1570,1362,1374,1543,1537,1693,1794,1805,1986,2033,1950,2230,2878,3089,2276,2074,2699,2439,2199,2249,2248,2620,3084,3372,3495,3279,2003,1621,1652,1490,1454,1666,1586,1595,1440,1258,1479,1607,1346,1294,1395,1596,1970,1774,1808,1523,1438,1903,2026,1772,1483,1414,1452,1823,2195,1789,1731,1630,1721,1519,1562,1499,1510,1766,1957,2357,2856,3310,3431,3487,3418,3501,3526,3419,3493,3473,3160,3122,2611,2541,2880,2698,1901,1933,2374,2971,3379,2292,1834,2319,1923,1604,2035,1924,1623,1757,2032,2099,2011,1894,1881,1680,1888,2184,2210,1712,1487,1538,1466,1831,2467,2457,2658,2777,2547,2486,2508,1993,2252,2691,2665,2341,1899,1715,1702,1837,2171,1647,1568,2118,1998,1565,1388,1338,1599,1633,1361,1778,2444,2877,3121,2633,2636,2244,1706,1505,1335,1293,1284,1204,1409,1800,1596,1456,1684,1801,1863,1908,3126,3035,2421,2400,2015,1882,1947,1836,1896,1810,1953,2070,1804,1757,1817,1976,1653,1344,1556,1677,1527,1521,1628,1639,1568,1576,1381,1508,1931,1828,1610,1575,1698,1714,1720,1713,1662,1623,1787,1463,1289,1399,1694,2069,2169,2077,2581,2578,2346,1844,1664,1765,1779,1482,1940,2676,2177,2459,2544,2210,2177,1997,1948,1929,2179,2823,2999,2164,1593,1803,2451,1863,1541,1741,1746,2056,2357,2122,2492,2500,2304,2346,2821,2996,3277,2905,2742,2930,2707,2398,2245,2441,2456,2154,2885,2964,2723,2894,2907,2311,2529,2620,2448,2265,2379,2453,2511,2674,2192,2224,2393,2340,2320,2157,2203,2220,2293,2281,1897,1738,1592,1453,1800,2120,1814,2153,2222,2041,1629,1542,1649,1604,1634,1740,1891,2101,2201,2166,2151,1836,2088,2084,2067,1807,1875,2105,2082,1943,1800,1941,2221,2144,1738,1472,1690,2277,1992,1798,2069,2544,2540,2029,1712,1831,1824,1974,1903,1721,1791,1851,1902,2077,2181,2285,2128,1898,1963,2009,2042,2013,2390,3157,3232,3360,3179,2479,2106,1949,2009,1911,1872,1846,1938,2189,1997,1829,2026,2316,2327,2611,2549,2228,2418,2553,2483,2699,2591,2423,2578,2303,2406,2118,2259,2548,2579,2482,2271,2337,2546,2346,2279,2243,1991,2068,2339,2163,2341,2071,2608,2846,2447,2576,2873,2989,3039,3444,3172,2227,2457,2224,2455,2792,2680,2750,2931,2738,2544,2461,2350,2305,2393,2024,2273,2344,2299,2901,3060,2528,2620,3090,3243,3522,3329,2285,1947],[2971,2577,2685,2340,1831,1945,2535,2587,2321,2395,2575,2379,2258,2118,2219,3261,3537,3571,3093,2479,2613,2929,2670,2463,2461,1971,1784,2119,2318,1933,1900,2316,2688,2567,1930,1792,2312,2462,2408,2688,2061,1493,1570,2186,2548,2394,2620,2511,2472,2357,1904,2004,2244,1906,1881,1814,1786,1793,2087,1940,1687,1719,1877,2114,2165,2248,1992,1366,1426,1399,1483,1423,1662,1868,1841,1824,1797,1933,1851,1745,1772,1719,1709,1786,1642,1507,1435,1356,1606,1697,1801,2094,2320,2406,3056,2746,2128,2605,2670,2839,2102,1816,1491,1421,1354,1926,2553,2520,2164,2097,2198,2168,2049,2443,2900,2741,3637,3658,3160,2906,3098,3400,3704,3133,2111,2150,1699,1899,2273,1904,1986,2023,2309,2818,2287,1936,2419,2934,3082,2956,2728,2752,1858,1398,1289,1643,2028,2113,1918,1826,1728,1842,1940,1899,1801,1840,2355,2492,2243,2186,1982,2347,2509,2353,1985,1305,1234,1726,1851,1708,1738,1949,2809,3482,3023,3068,2209,1867,1711,1899,2540,2799,2178,1523,1680,2104,2700,3318,2537,2190,2121,2430,2472,1834,1858,2342,2544,2649,1830,1557,1759,1802,1568,2142,2018,2492,3248,3309,3298,3223,2932,2403,1848,1930,2013,2504,2711,1959,2175,3116,3251,2662,2292,2706,2886,2174,1874,2871,3329,3130,2855,2017,1789,1920,1802,2008,2385,2337,1880,1820,1990,2280,1664,1533,1972,1992,2318,2745,2384,1952,1795,1691,2024,2402,2395,2319,2730,2521,2588,2900,2796,2986,2678,2452,2299,2597,3152,2765,1846,1915,2159,1968,2106,2207,2592,2592,2614,2611,2132,1699,1676,1814,1793,1505,1479,1490,1272,1406,1544,1698,1812,1776,1902,1646,1398,1690,1478,1014,1346,1494,1592,1888,1850,1521,1502,1631,1714,2159,2192,2409,2908,2437,2160,1879,2102,2221,2104,2206,2612,2876,2436,1621,1682,2088,2014,1667,2184,2801,2084,1785,1971,1793,1684,2261,1834,1504,1618,1664,1589,1620,1723,1487,1548,1671,2464,2252,3008,3178,2950,2676,2514,2654,2459,2153,2232,1759,1722,1522,2474,3414,2524,1749,1788,1976,2050,1845,2389,2610,2002,1729,1896,1930,1779,2384,2280,2606,3059,2736,2088,2014,1842,1756,1998,1833,1676,2408,2432,2407,2687,2890,2251,1596,1520,1943,2381,2141,2030,2088,1839,1663,1992,1858,1750,1526,1491,1752,1824,1838,2072,1960,1876,1931,1776,1848,1963,1781,1686,1654,1628,1620,1510,1432,1318,1359,1571,1680,1512,1464,1981,2056,1853,1921,1792,1579,1446,1409,1455,1469,1525,1505,1749,1757,1676,1860,1794,2210,2198,1807,1696,1766,1750,1626,1538,1457,1493,1792,2052,2016,2232,2155,2050,2175,2258,2547,2642,2282,2402,3206,3701,2780,2919,3387,3234,3163,3183,2795,2820,3048,3184,3335,3144,2538,2763,2859,2745,2946,2142,2396,3061,2276,1612,1638,1664,1744,1744,1882,1664,2407,2415,1649,1477,1563,1592,1619,1597,1623,1815,1936,2128,2176,2310,2140,1501,1861,2250,2579,2520,2310,1692,1698,1676,2014,2640,2534,2518,2362,2352,1783,1613,1778,1938,1874,1846,1825,1849,1755,1919,2053,1938,1858,2194,2797,2732,2436,2056,1812,2012,1975,2315,2937,2590,2741,2874,2796,2821,2757,3165,3073,3430,3041,2592,2509,2555,2176,1593,1509,1479,1479,1946,2292,1930,1652,1456,1535,1588,1898,2476,2438,2002,2453,2334,1749,1805,1858,1526,1649,1977,2263,2820,3287,3574,2896,2114,1738,1928,1949,1703,1552,1553,1469,2039,2558,2283,1687,1422,1404,1534,1572,1519,1361,1306,1424,1392,1415,1545,1578,1919,1913,1492,1352,1298,1559,1680,1842,1866,2330,2696,2211,1888,2012,2014,1863,1810,1675,1463,1614,2303,3098,3040,2841,2710,2639,2347,2511,3062,3580,3930,3393,2094,1832,2004,2033,2121,2445,2271,2662,3168,3283,3683,3885,3310,2999,3437,3452,3278,3586,3318,3156,2692,3026,3905,3726,2700,2043,1950,1677,1931,3005,3590,3637,3803,3790,3785,4060,4304,4284,3755,3370,3047,2514,2636,2884,2554,2188,2158,2136,1964,2114,1936,2306,3040,3370,3263,2621,2002,1809,2132,2722,3087,3292,2877,2175,1843,1718,1838,2129,2190,1785,1742,1735,1821,1908,1822,1565,1919,2149,1842,1721,1596,1549,1520,1695,1678,1571,1580,1697,1908,2088,2054,1941,1742,1513,1547,1565,1713,1757,1520,1584,1906,1745,1689,1969,1727,1615,1728,1603,2207,2267,1773,1753,2055,1995,2087,1998,1964,1681,1823,2002,2026,1779,1731,2050,2015,2119,2188,2353,2441,2667,2642,2345,2129,1955,2648,3141,2643,2306,2532,2496,2307,2214,2780,3397,3732,3955,3145,2028,1665,1735,1456,1666,2396,2480,2336,2029,2096,2740,2495,2348,1986,1891,1936,1620,1708,1794,1520,1382,1452,1824,1885,2001,2274,2050,2386,2325,1991,1948,1736,2269,2202,1821,2070,2261,2818,3279,3008,2591,2710,2213,2017,2066,2229,2702,3187,3177,3139,2740,1978,2389,2858,2813,2404,1860,1637,1632,1923,2397,2414,2214,2073,1918,1735,1700,1636,2013,2530,2491,2128,2159,2298,2184,1620,1453,1562,1526,1484,1686,1985,2131,2144,1905,1424,1457,1382,1317,1339,1809,2219,1809,1368,1519,1526,1453,1509,1820,1770,1504,1532,1731,1524,1310,1374,1454,1510,1485,1425,1523,1790,2004,1937,2139,2207,2077,1929,1857,2122,2410,2259,2007,1819,1904,1842,2075,2375,2347,2366,2102,1924,1821,1668,1503,1507,1432,1314,1422,1545,1560,1541,1528,1461,1496,1484,1457,1588,1723,1666,1693,1654,1734,1505,1613,1516,1491,1640,1643,1850,2143,1919,1586,1530,1601,1505,1526,2016,1776,1521,1575,2011,2862,3334,3340,3071,2833,2260,1632,1404,1739,1912,2229,2710,2862,2033,1566,1953,2066,2162,2136,1791,1997,2008,2712,2384,2378,2214,1871,1650,2166,3818,4612,4732,4588,4276,3895,3242,3233,3487,2812,2576,2666,2959,2511,2091,2333,2712,3030,2946,2821,2932,2691,3041,2755,3076,3018,2608,2318,2077,2026,1836,1884,2459,2696,2613,2479,2182,1985,2314,2353,2250,1693,1918,2204,1990,1861,2143,2154,2179,2807,2644,2084,1968,2162,2390,3020,2899,3152,2575,1951,2578,3129,3184,2871,2533,2666,2744,2484,1886,1909,1838,1546,1767,1664,1560,1981,2062,2098,2362,2165,2492,2671,2044,1955,1954,1781,1567,2165,2604,2194,1468,1317,1102,1770,2699,2735,3017,2564,2020,2035,2396,1952,1574,2310,2666,2600,2136,1991,2445,2496,2430,2488,2602,2968,3215,3239,2764,2257,2310,2492,2470,2261,2364,2443,2014,1762,1690,1620,1720,1550,1114,1206,1130,1313,1282,1242,1511,1329,1648,1896,1777,1744,1560,1490,1620,1975,2275,2098,1876,2110,2321,2210,1928,2072,1874,1601,1507,2493,3485,3444,3058,3348,3827,3231,2451,2032,1901,2032,2337,2276,1896,2314,2573,2613,2618,2175,1996,2258,2144,1969,1786,2413,2622,2362,2319,2094,1867,2050,2152,2471,2790,1967,1431,1735,2036,1986,2128,2269,2231,1980,1738,1525,1506,1750,1858,1528,1758,2176,2700,2508,2573,3081,2938,2951,2952,2643,2354,1783,2403,2327,1623,1459,1504,1551,1508,1384,1555,1817,1715,1663,1647,1863,2198,2215,2396,2037,1824,1896,1456,1686,2279,2067,1858,1984,2062,2044,1979,2024,2032,2010,2215,2471,2620,2674,3042,3155,3168,2819,1968,1631,1683,1713,1721,1975,2227,2306,2214,1985,2055,2193,2039,2249,2498,1985,1838,1920,1970,2033,2332,2307,2202,2188,1994,1824,1888,1994,1820,1774,1926,2053,2301,1979,1860,1655,1378,1533,1632,1749,1861,1971,2126,2011,2064,2039,2231,2464,1722,2618,3248,3344,3151,2625,2391,2209,2335,2640,3068,2486,1948,1879,1982,1875,1630,1643,1597,1456,1260,1159,1338,1464,1405,1326,1406,1838,2009,1565,2331,1963,1360,2152,2456,1835,1726,1741,1699,1858,1942,2042,1741,1569,1638,1634,1643,1654,1795,1776,2426,3335,3399,3627,3487,3383,3550,3486,3572,3481,3206,2898,3098,3265,2632,2252,2454,2106,1817,1648,2288,2355,2124,1995,2232,2326,2131,2089,2186,2190,2304,2352,2488,2320,2022,2003,1882,1554,1450,1849,2093,1943,1897,1594,1553,1891,2482,2246,2566,2322,2422,2548,2336,1687,1666,2332,2676,2366,1829,1443,1584,1532,1742,1824,1614,1817,1839,1570,1584,1614,1730,1594,1332,1899,2408,2309,2429,2491,2799,2541,2017,1708,1448,1428,1537,1543,1854,2654,2040,1852,2153,2485,2365,2140,3023,2856,2145,1920,1575,1776,1833,1872,2240,2119,1920,2231,1913,1891,1908,1850,1732,1504,1600,1835,1685,1633,1638,1570,1551,1529,1567,1707,1914,1668,1432,1607,2089,2293,2251,2087,2169,1787,1665,1416,1632,1550,1724,2179,2088,2200,2352,2165,1937,1703,2094,2136,1726,1681,1860,2950,3264,3210,2952,2544,2222,1835,1629,1917,2160,2403,2424,1969,2146,2147,2118,1903,1710,1541,1579,1938,2024,1754,2464,2476,2454,2728,3038,3244,3304,2521,2227,2797,3185,2464,2032,2453,2266,1635,1808,2198,2246,2686,2370,2180,2429,2585,2480,2365,2304,2254,2157,2377,2785,2764,2540,2549,2432,2129,2230,1963,1823,1860,1606,1620,1764,1630,1998,2136,1879,1807,1700,1699,1654,1681,1874,1990,1901,1865,2058,2047,2082,2160,2301,2186,2221,2169,2264,2209,2122,2249,2316,2274,2180,2218,2296,2214,2105,1992,2149,2287,2125,2018,2092,2205,2236,2137,2127,2042,1980,1775,1725,1945,2007,1996,1941,1970,2039,1820,1888,2014,1980,1990,1713,1868,1956,2379,2450,2350,2339,2231,2066,1905,1958,2047,2054,1969,1895,1933,1952,1901,1905,1853,2041,2364,2279,2057,2107,2004,2039,2302,2508,3082,2965,2211,2071,1974,1870,1927,2107,2395,2596,2358,1968,1988,2285,2412,2592,3035,3146,3098,3338,2938,3031,2710,2292,2888,3470,3760,3628,4030,3614,3072,2769,2730,2751,2983,3276,3428,3426,3115,2699,2258,2068,1990,2081,2059,2209,2541,2900,2815,2377,2701,3177,3197,3498,3551,2990,1989,1961],[2029,1956,2232,2379,1959,1794,2065,2036,2043,2242,2260,1929,1831,1663,1641,2779,3477,3829,3270,2436,2386,2293,2191,2541,2645,1998,2173,2165,1976,1664,2086,2413,2489,2093,1333,1371,1983,2519,2308,2118,1708,1398,1258,1685,2143,2392,2400,2426,2467,2049,1744,1991,1720,1470,1693,1636,1558,1372,1555,1685,1667,1907,1850,1834,2047,1788,1398,1333,1457,1456,1373,1289,1378,1632,1772,1693,1709,1706,1769,1773,1813,1998,1866,1786,1598,1482,1472,1579,1605,1695,1741,1968,2100,2310,2756,2038,1856,2438,2646,2256,2433,2198,1501,1345,1474,1880,2212,2219,1735,1694,2126,2251,2297,2340,2685,2716,3093,3320,3156,2748,2618,2798,2979,2528,2170,2357,1877,1937,2266,1388,1238,1904,2718,2599,1707,1676,2431,2741,2582,3144,3140,2610,1776,1746,1792,2216,2039,1822,2135,2403,2101,1769,1664,1649,1837,1843,2324,2667,2645,2604,2449,2350,2118,1901,1680,1258,1253,1626,1699,1614,1650,1880,2766,3056,3151,2820,2231,2157,1887,1735,1885,2032,1670,1553,1549,2020,2493,2919,2644,2288,1899,2035,2291,2087,1876,1958,1802,1874,1897,1746,1574,1581,1662,1950,1673,2202,3031,2961,3129,3183,2872,2944,2852,2887,2907,2748,2117,2054,2853,3010,2950,2601,2641,3122,2840,2455,2652,2927,2735,3000,2955,2630,2622,2199,2017,2190,2109,1942,1880,1745,1523,1859,1475,2192,2409,2355,2662,2447,1850,1554,1543,1842,1880,2144,2071,1749,1906,2082,2578,2855,3099,3063,2547,2131,1932,2116,2120,2046,1935,1925,1866,1903,2096,2108,2072,2464,2864,2839,2542,2123,1682,1574,1535,1412,1565,1381,1324,1500,1689,1699,1716,1686,1481,1268,1483,1713,1156,1096,1509,1804,1885,1836,1895,1749,1760,1509,1359,1973,2236,2492,2681,2163,1960,1912,2005,2140,2218,1797,1932,2404,2268,1748,1538,1612,2055,1821,2467,2460,2537,2248,2140,1939,1638,1655,1680,1804,1761,1716,1593,1676,1611,1632,1560,1823,2703,3205,3123,2769,2680,2698,2437,2136,2018,1901,2398,1866,2014,2077,2907,3252,2509,1859,1944,2734,2768,2150,3016,2928,2280,1407,1779,2147,2120,2304,2344,2376,2966,2903,2117,1756,1595,1553,2110,1922,1403,1835,2090,2498,2469,2230,1903,1464,1665,2478,2333,1935,1708,2013,1868,1527,1665,1817,1715,1653,1774,1958,1770,1734,1998,1746,2330,2116,1888,2001,2077,1675,1516,1545,1646,1631,1570,1742,1615,1510,1845,1793,1618,2049,2583,2777,2623,1991,1579,1582,1755,1781,1486,1418,1431,1379,1780,1876,1864,1993,2081,2294,2193,1978,1957,1946,1469,1391,1532,1435,1344,1489,1615,1316,1522,1870,1849,2255,2566,2744,2353,1843,2094,2643,2498,1956,2713,3486,3438,3344,3458,3341,3177,2838,2796,2823,2902,2540,2502,2511,2464,2587,2640,3203,2879,1779,1537,1568,1785,1744,1648,1726,1446,1578,1659,1471,1686,1941,1776,1643,1701,1461,1538,1565,1720,2032,2428,2072,2211,3112,2911,2258,2768,2740,1635,1685,2037,2175,1812,1812,2431,2428,2231,1656,1399,1806,1816,1769,2005,2028,2164,2101,2121,2428,2659,2291,2409,3054,2910,2102,1700,1937,2338,2234,2600,3279,3060,2787,2844,2729,2464,2979,3787,3404,2824,2646,2505,2354,2014,1652,1543,1557,1455,1449,1616,1673,1755,1512,1394,1403,1417,1647,1918,1808,1835,2056,1897,1823,2108,1868,1661,1556,1649,2242,2764,2993,3063,2353,1609,1574,1882,1819,1447,1318,1373,1445,1912,2599,2622,1665,1324,1305,1412,1454,1601,1418,1378,1395,1564,1571,1503,1912,2366,2032,1492,1691,1542,1644,1679,1362,1375,1663,2017,2221,2361,2396,2568,2413,2270,2942,2677,2204,2702,3287,3318,2893,2700,2415,2184,2389,2938,3731,3860,3045,1736,1503,1505,1460,1772,2405,2711,2998,3190,3287,3571,3559,2854,2350,2343,2743,3169,3480,3350,2939,2347,3041,3837,3457,2556,2009,2134,1842,1997,3177,3342,2961,3332,3733,3485,3620,3931,3616,3060,3256,3340,3050,2958,2821,2548,2291,2174,2022,1826,1785,1736,2024,2630,2964,2962,2203,2016,2002,2085,2345,3011,3232,2664,2054,1578,1818,2140,1905,1690,1644,1870,1757,2160,2399,1852,1419,1644,1809,1909,1793,1519,1526,1459,1509,1395,1630,1449,1427,1581,1817,2005,2200,1965,1691,1686,1662,1703,1691,1639,1811,1994,1680,1582,1844,1758,1510,1549,1879,2323,2243,1986,2766,2926,2232,2328,2098,1857,1875,1803,1722,1794,1776,2002,2250,2533,2496,2126,2060,2026,2236,2658,3025,2898,2610,2674,2990,2752,2261,2540,2553,2276,2041,2302,2362,2647,3231,2370,1745,1626,1562,1571,1916,2338,2432,2056,1648,1650,2240,2399,1906,1706,1661,1674,2045,2500,2081,1576,1509,1483,1848,1732,2111,2195,2103,2362,2238,1917,1941,1922,2072,2051,1703,1928,2512,2540,3098,2807,2682,2724,2791,2002,1454,1583,2201,2879,2995,2971,2598,2105,2450,2574,2643,2297,2101,2038,2293,2416,2197,1951,1973,1932,1624,1672,1772,1608,2710,3151,3003,2543,2409,2641,2336,1602,1460,1648,1479,1376,1458,1998,2102,2076,1728,1390,1448,1420,1307,1467,1859,1895,1437,1267,1397,1501,1385,1632,1783,1637,1415,1389,1461,1390,1426,1494,1718,1634,1697,1590,1737,2510,2578,2352,2483,2600,2569,2555,2569,2341,2187,1918,1717,1633,1564,1410,2028,2182,2051,2036,1870,1414,1525,1684,1537,1469,1415,1322,1334,1309,1302,1457,1466,1425,1397,1439,1454,1448,1406,1405,1542,1777,1980,1792,1371,1287,1498,1579,1657,2054,2260,1934,1749,1700,1518,1405,1393,1664,1789,1673,2237,2600,2530,2964,3304,3755,3894,3042,1682,1390,1628,1751,1809,1838,1787,1275,1256,1741,1819,1979,1884,1493,1655,1724,2191,2653,2463,1908,1849,1583,2306,4027,4596,4700,4057,3650,3696,3315,3068,2855,2688,2586,2225,2291,2304,2321,2246,2179,2139,1745,1546,1998,2237,2454,2282,2360,2214,1863,1946,1942,1938,2018,2042,2480,2692,2912,2588,2043,2170,2255,2520,2309,1792,2085,2295,1978,2057,2278,2310,2267,2305,1832,1714,2004,2224,2422,2155,2060,2189,2029,2317,2906,3090,2919,2159,2235,2483,2376,2064,1748,1761,1691,1389,1446,1621,1756,2065,2716,2998,3033,2709,2567,2303,2194,1935,1987,2190,2046,2075,2256,2798,2057,1690,1704,1949,2571,2730,2718,2115,1613,2074,2545,2088,2042,2834,2865,2854,1982,1860,1974,1945,2125,2210,2350,2799,3139,2821,2112,2015,2263,2289,2553,2133,2257,2437,1981,1626,1654,1467,1505,1582,1281,1665,1738,1559,1569,1511,1516,1479,1632,1811,1972,1881,1471,1599,1853,2215,2282,2027,1831,1902,1710,1758,1766,1754,1744,1572,1574,2081,2769,2778,2403,2873,3959,3615,2977,2624,2215,1976,2163,2119,2238,2933,2289,2098,2451,2265,1870,1975,2486,2325,2310,3142,3195,2638,2700,2555,2768,2820,2224,2174,2283,1568,1683,2064,1903,2026,2169,2231,2397,2243,2077,1566,1515,1943,1863,1734,2166,2699,2907,2844,3065,3385,3213,3140,3105,2637,2069,1712,2217,1893,1553,1795,1913,1655,1516,1456,1606,1901,1802,2099,1914,1902,1708,1551,1697,1902,1916,1940,1516,1502,2094,1970,1989,2040,1972,2015,2095,2277,2258,2041,2038,2124,2279,2447,2585,2556,2611,2377,1989,1662,1513,1436,1576,2025,2201,2138,2084,1891,1975,2276,2015,1873,2373,2121,1904,1946,1841,1780,1967,2118,2208,2231,2269,2129,2147,1918,1820,2151,2046,2128,2510,2133,2030,1837,1597,1708,1743,1696,1789,2179,1944,1756,1977,2170,2230,2335,2081,2868,3348,3413,3415,3487,3135,2753,2495,2267,2284,2049,1961,1992,2059,1931,1668,1486,1309,1299,1374,1434,1369,1397,1550,1511,1434,1634,1463,1273,2098,2188,1580,1815,1979,1625,1875,1690,1626,1692,1675,1818,1547,1428,1537,1626,1521,1647,1709,1762,2364,3278,3256,3680,2878,2629,3100,3226,3449,3341,2836,2462,2555,2781,2098,1965,1917,1703,1825,1693,2100,2260,2272,2164,1948,2070,2243,2308,2032,2024,1871,1920,1695,1976,2233,2244,1861,1533,1501,1902,2463,2476,2162,1843,2173,2089,1956,2176,1980,1724,2212,2707,2579,2439,2241,2719,2849,2630,2018,1507,1555,1485,1736,1769,1648,1790,1799,1738,1823,1906,1876,1555,1428,2281,2331,2010,2383,2577,2578,2512,2342,2181,2004,1891,1975,2114,2214,2531,2271,2383,2745,2878,2750,2275,2252,2170,2147,1737,1471,1726,1591,1936,2074,1938,2085,2003,1688,1664,1892,2119,1932,1779,1907,1853,1682,1535,1437,1815,1866,1622,1664,1836,1834,1735,1603,1809,2170,2105,2291,2231,2121,1942,1772,1511,1782,1633,1526,1747,1810,1806,1739,1887,1736,1999,1877,1721,1613,1631,1767,2756,3289,2913,2579,2226,1875,1809,1644,1724,2035,2142,1916,1714,2221,2365,2185,2185,1769,1527,1752,2265,2378,2063,2149,2119,2063,2564,3009,3494,3238,2087,1796,2047,2484,2410,2085,2286,2200,1764,1875,1923,1931,1751,1757,2370,2423,2364,2209,2260,2210,2250,2259,2181,2825,2680,2415,2392,2257,2348,2370,1872,1819,1999,1979,2114,2198,1957,2139,2057,1885,1816,1787,1690,1626,1735,1744,1685,1744,1701,1962,1887,1794,1642,1752,2058,2007,1919,1914,1960,2165,2416,2612,2626,2503,2331,2119,2268,2626,2298,1957,2002,1860,1799,1871,2061,2400,2842,2466,2031,2426,2285,2157,2075,1978,2336,2563,2370,2631,1859,2230,2020,2214,2589,2235,2328,2476,2555,2056,1870,1872,1694,1687,1759,1682,1863,2067,2025,1799,2054,2245,2326,2126,1703,1929,2278,2258,2077,2222,2282,2252,2325,2487,3717,3663,3101,2541,1844,1839,1900,1990,2294,2262,1991,1631,1682,1792,2617,3025,2934,2976,2856,2637,2708,3213,2657,2482,3012,3510,3778,3837,4039,3521,2968,2328,1923,1888,2729,3320,3178,2435,2788,2302,2110,2302,2653,2663,2448,2543,2564,2562,2406,2477,3128,2894,2510,3130,3078,2733,2624,2677],[1565,1677,1890,2023,2296,2239,1866,1506,1511,1685,1907,1615,1641,1807,1729,1749,2175,2722,2558,2035,2101,2200,2319,2406,2509,2274,2429,2397,2352,2065,2516,2975,2597,2322,1873,1666,1510,1682,1994,2207,1871,1372,1311,1378,1478,1706,1958,2315,2188,1964,1943,1652,1568,1526,1579,1613,1459,1344,1333,1279,1281,1550,1618,1836,2046,1688,1639,1548,1377,1362,1274,1284,1266,1693,1894,1564,1631,1523,1694,1812,1797,1741,1736,1674,1752,1886,1872,1743,1544,1685,1798,1741,1438,1551,1709,1625,1841,2642,2923,2097,2165,2233,1615,1324,1512,1883,2075,2454,1781,1552,1884,2496,2487,2092,2021,2344,2793,3143,3157,2896,2321,3000,3443,2469,2314,2425,2017,1777,1897,1548,1141,1542,2321,2329,1567,1880,2941,3016,3011,3672,3538,2458,2029,1937,2137,2141,1577,1372,1645,1952,2143,2026,1926,1593,1814,1991,2402,2567,2094,1996,2309,2766,2754,1979,1924,1284,1457,1758,2237,1983,1632,2014,2880,3038,2883,2354,1937,1854,1797,1605,1624,1758,1947,1870,2049,2018,1775,2312,2490,1965,1576,1756,2321,2434,2007,2180,2241,2386,2014,1621,1475,1518,1638,1845,1830,2408,3034,2937,3065,2954,3083,3558,3078,2701,2712,2470,1868,2386,2974,2746,2972,2480,2756,2331,2359,2757,3584,3278,2762,2955,3055,2879,2744,2593,2207,2260,2093,1840,1784,1976,1884,2237,2178,2364,2585,2297,2036,2004,1996,1926,2192,2196,1996,1923,1560,1762,1740,1936,2227,2476,2908,2915,2824,2574,1847,2052,1990,1964,2311,2156,2044,1840,1880,2132,2279,2699,2686,2586,2709,2445,1865,1731,1681,1533,1541,1653,1578,1609,1750,1731,1694,1600,1453,1725,1690,1396,1146,1447,1820,2182,1960,1884,1992,1627,1674,1644,1495,1564,1832,2039,1720,1681,1870,1849,1614,1794,1955,1881,1858,2105,1922,1720,1603,1759,2437,2078,1660,1667,2466,2589,2254,1982,1869,1923,1720,1643,1620,1697,1654,1719,1523,1488,1525,1808,2425,2874,2887,2532,2164,2540,2774,2409,2530,2407,2298,1914,1906,2226,2824,3088,2899,2413,2049,2125,2342,2466,2429,2196,2022,1719,1780,1934,1975,2094,2000,1879,2279,2410,1888,1527,1372,1542,1768,1660,1469,1466,1585,1930,2029,2001,2280,2011,2083,2190,1766,2156,2077,2365,2150,1575,1636,1867,1826,2244,2509,2379,1816,1788,2036,2686,3053,1919,1648,1875,1687,1603,1588,1661,1848,1614,1525,1711,1820,2111,2111,2081,1815,1959,2423,2523,2150,1639,1629,1636,1990,1899,1504,1399,1386,1448,1772,1758,1976,2152,2086,1836,1569,1670,1853,1963,1746,1621,1598,1482,1509,1812,1964,1470,1340,1557,1726,2392,2852,2964,2187,1711,2380,2626,2265,2487,3022,3396,3491,3364,3426,3198,3127,2987,2756,2774,2862,2349,2127,2283,2289,2343,2584,2852,2444,1703,1620,1991,2420,2429,2301,1860,1467,1457,1461,1702,2192,2118,1702,1715,1941,1766,1778,1532,1574,1667,1866,2060,2521,3222,3571,3305,2746,2102,1914,2087,2430,2223,1776,1566,1802,1821,1662,1527,1601,1731,1594,1830,1941,1913,2126,2078,1997,2468,2345,1934,2089,2579,2522,2030,1941,1847,1992,2279,2117,2767,2932,2923,2811,2648,2376,2666,3665,3945,3320,2812,2310,1736,1417,1645,1994,1656,1418,1529,1616,1691,1710,1461,1501,1484,1426,1453,1470,1582,1734,1691,1686,1592,1816,2001,1814,1449,1398,1818,2557,2950,2999,2417,1676,1542,1474,1570,1556,1569,1611,1884,1983,1900,2061,1500,1390,1438,1489,1349,1361,1321,1299,1347,1564,1597,1664,1864,1843,1556,1500,1738,1534,1565,1755,1534,1434,1654,1714,1707,1654,1580,2112,2602,3084,3510,3604,3298,3406,3414,3292,2727,2297,2180,2388,2490,2849,3357,3501,2535,1795,1655,1560,1470,1900,2823,3288,3465,3210,3351,3631,3464,2651,2213,1815,2219,2995,3178,3119,2915,2315,2684,3389,3271,2439,2092,2122,1949,2187,3139,3577,3289,3277,3665,3781,3673,3610,3252,2930,3252,3205,3544,3470,2986,2482,2048,2017,1931,1941,2074,1953,1984,2812,2869,2568,1942,2177,1868,1693,1900,2252,2372,2160,1722,1664,2337,2766,2024,1700,1732,1693,2072,2203,2124,1786,1336,1394,1602,1730,1675,1472,1559,1541,1433,1384,1497,1368,1448,1661,1656,1677,1958,1995,1916,2109,2149,1872,1591,1510,1837,1994,1530,1332,1603,1649,1472,1477,1566,1704,1705,1892,2187,2173,1841,1926,2284,2177,1659,1572,1836,2092,2114,2246,2181,2172,1772,1798,2137,2190,2022,1997,2003,2250,2557,2832,3121,2608,1978,2059,2351,2006,1998,1886,1737,1600,1511,1584,1701,1607,1565,1636,1710,1861,2161,1776,1856,1664,1989,1919,1863,2011,1932,1874,2942,3409,2562,1786,1946,2116,1806,1184,1447,1764,1840,1946,2071,2073,1992,1844,1853,1986,1803,1880,2188,2293,3216,2822,2338,2421,2786,2718,2271,2057,2302,2009,2467,2766,2613,2421,2593,2641,2484,2382,2409,2856,3013,2510,2055,2151,2186,2070,1822,1892,1609,1727,2441,2806,2948,2923,3046,2820,2357,2024,1641,1588,1377,1412,1485,1956,2208,1944,1497,1365,1506,1548,1396,1323,1444,1582,1489,1462,1423,1456,1503,2205,2585,2021,1542,1571,1692,1656,1430,1665,1611,1594,1942,1814,1650,2398,2932,3044,3000,2776,2372,2367,2202,1853,2200,2072,1663,1593,1395,1417,1600,1633,1606,1754,1853,1538,1568,1531,1638,1543,1551,1408,1399,1376,1294,1302,1416,1425,1416,1446,1425,1428,1384,1496,2054,2254,1999,1632,1339,1398,1616,1788,1488,1638,1908,2036,1731,1522,1505,1412,1547,1692,1708,1802,2474,2876,2834,2839,2604,3563,3967,3421,1901,1440,1599,1674,1618,1686,1681,1643,1609,1694,1503,1898,2057,1986,2138,1847,1965,2377,2554,2215,1797,1670,2286,3509,3604,3806,3089,3311,3602,3695,3120,2351,2588,2408,1741,1935,2215,2288,1946,1662,1552,1268,1738,2229,1999,1683,1613,1954,2157,2320,2490,2342,1946,2020,2066,2257,2474,2464,2495,2315,2363,2181,2353,2190,1751,2384,2192,1728,2058,1880,1840,1917,1940,1720,2346,2474,2046,1448,1322,1751,2021,2559,2696,2460,2400,2360,1980,2198,2609,2496,2225,1974,1771,1472,1335,1500,1670,1892,1728,2064,2454,2619,3118,2932,2525,2379,1997,2182,2283,1910,1950,1896,1996,2296,2387,2035,1992,2061,1980,2097,1807,1859,2107,1777,1862,2319,2357,2640,2854,2314,2022,2023,1967,2263,2692,2465,2501,2474,2409,2408,2156,1965,1939,2245,2166,1956,1938,1742,1642,1721,1764,1986,1765,1745,2004,1938,2024,2198,2040,1932,1846,1876,1775,1747,1712,1472,1716,1854,2084,1956,1644,1504,1601,1846,2220,1849,1493,1511,1384,1488,1554,1912,1556,1520,2076,3045,2595,2181,2047,1714,1676,2164,2197,2481,2630,2060,2284,2504,2147,1803,2200,2834,2667,2502,2604,2546,2475,2662,2933,3096,3150,2639,2248,2147,1935,2160,2017,1953,2342,2138,2045,2250,1771,1669,1321,1449,1886,1914,1672,1741,2092,2286,2363,2711,3405,3264,3252,2632,1874,1624,1711,2003,1748,1601,2271,2365,1918,2014,1670,1650,2173,1846,2102,2084,1827,1527,1537,1803,2044,1956,1792,1508,1637,2175,2051,1687,1745,1892,1882,1887,2089,2267,2222,2132,2421,2722,2156,2808,3205,2420,2185,2119,2020,1994,2015,1747,1858,2215,2166,2010,1871,2089,2403,1908,1544,2083,2134,2520,2521,2072,1943,1888,1879,1825,1798,1955,2302,2595,2564,2407,2457,2083,2234,2584,2297,1803,1532,1693,1837,1958,1716,1770,2658,2387,2116,2481,2340,2106,2039,2205,2506,2850,3254,3461,3250,3377,3437,3108,3181,2619,1969,1749,1768,1807,1765,1755,1694,1324,1387,1456,1481,1301,1302,1409,1435,1459,1572,1420,1251,1492,1838,1688,1503,1556,1635,1777,1656,1551,1405,1384,1489,1511,1444,1410,1436,1599,1815,1604,1765,1739,2705,3278,3460,3132,3130,3056,2872,2786,2801,2820,1990,1926,2343,1941,2348,2076,1799,2016,1964,1723,1880,1967,1787,1818,1830,1662,1775,1792,1733,1823,2023,1599,1573,2085,2364,2206,1977,1706,1826,2284,2183,1792,1893,2348,2139,2051,2124,1874,1650,2192,2800,2619,2873,2264,2475,2639,2777,1851,1553,1713,1862,1992,1993,1870,1665,1776,1770,1808,1821,2099,1744,1514,1532,1795,2330,2576,2460,2434,2357,2471,2171,2306,2254,2493,2556,2664,2508,2374,2644,2754,2568,2241,2145,1880,1868,2015,1735,1660,1786,1720,2104,1588,1510,1759,1674,1674,1641,1799,1960,2214,2238,2430,1759,1602,1624,1576,1990,2008,1745,1702,1782,1914,1716,1573,1561,2139,2698,2368,1996,1680,1657,1443,1360,1615,1485,1484,1974,2232,1966,1942,1561,1330,1537,1567,1790,1637,1391,1760,2044,1883,1836,1871,1829,1704,1859,1718,1638,2077,2252,1857,1623,1903,2176,2075,2103,1737,1731,1847,2051,2205,2019,1929,1937,2172,2574,2697,2703,2510,1665,1720,1615,1636,1981,2018,1966,2420,2438,2243,2030,1826,1613,1690,2296,2237,2443,2099,2115,2036,2253,2523,2107,2230,2536,2416,2370,2420,2648,2478,2079,1988,2058,2008,2114,2103,2019,1938,1765,1570,1582,1664,1409,1440,1610,1578,1637,1685,2042,2024,1725,1588,1477,2233,2831,2166,2012,1929,1730,2068,2104,2692,2879,2260,1919,2015,2614,2963,2380,2008,2150,1714,1873,2073,2162,2490,3422,2889,2447,2837,2720,2598,2259,1938,2406,2779,2249,2846,2247,2259,2249,3450,3587,3074,3044,3098,2388,1830,1998,1867,1810,1721,1806,1892,1913,2001,2083,2040,2462,2642,2640,2334,1768,1951,1992,1849,1886,1993,2043,1995,1757,2117,3120,3099,2900,2622,1803,1667,1647,1868,2260,2184,2115,1895,2148,2468,2840,2158,2004,2809,2682,2736,2966,3246,2812,2369,2441,2962,3296,3187,3030,2885,2548,1858,1756,2400,3299,3226,2688,2169,2918,2458,1958,2276,3098,2840,2199,2441,2718,2894,2589,2788,3108,2893,2489,2626,2392,2077,2039,2109],[1594,1861,1805,2072,2632,2336,2283,1888,1566,1676,2201,2149,2048,2160,1778,1780,2517,2399,2141,1824,2166,2192,2174,2284,2489,2667,2600,2652,2552,2022,2541,3345,3133,3038,3088,2411,2342,2151,2342,2359,1837,1441,1530,1598,1341,1405,1944,2219,1917,1943,1715,1492,1577,1636,1714,1585,1443,1439,1418,1538,1558,1533,1388,1425,1581,1767,1768,1709,1555,1362,1285,1323,1510,1819,1865,1720,1777,1425,1454,1401,1696,1901,1900,1865,1805,1842,2027,2031,2172,2325,1610,1493,1339,1280,1632,1560,2021,2697,3024,2585,1577,1427,1337,1290,1725,2134,2319,2179,1886,1657,1635,2100,2424,2386,2258,2876,3288,3090,2796,3212,3109,3534,3497,2087,1884,2178,2142,1763,1471,1358,1490,2008,2426,2406,2043,2364,2957,2688,3062,3606,2853,2061,2149,2152,2414,2119,1805,1411,1555,1707,2157,2334,1912,1526,1496,1568,2086,2235,2217,2325,2308,2754,3042,2175,2090,1625,1758,2169,2427,1936,1682,2100,2583,2652,2347,1953,1846,2027,1894,1582,1748,2245,2797,2677,2699,2198,1541,1735,2049,2253,1694,1765,2114,2135,1829,1718,1855,1855,1515,1376,1446,1475,1653,1772,1614,2762,3013,2852,2985,3277,3069,2646,2003,1768,2275,2542,2224,2382,2144,2125,2549,2493,3090,2477,1907,2645,3419,2994,2719,2851,2924,2650,2285,2242,2251,2132,2120,1949,2042,2623,2476,2193,1715,1669,2125,1776,1909,2653,2865,2612,2530,2279,2126,1672,1610,1766,1920,2126,2017,1956,2140,2450,3271,3441,2641,2707,2477,2396,2295,2196,2353,2297,2370,2422,2267,2291,1893,1932,2080,1946,1700,1931,2041,1806,1624,1593,1493,1549,1781,1717,1704,2100,2226,2375,1865,1500,1482,1635,1925,1990,1741,1803,1794,1497,1440,1581,1655,1555,1560,1780,1769,1725,1830,1876,2159,2338,2187,2225,1995,2074,1978,1982,1844,1738,2234,1912,1699,1667,1692,2042,1995,2023,2166,2233,1899,1881,1798,1730,1680,1858,1725,1525,1597,1724,2002,2020,2188,2218,2467,2809,3009,3022,2565,2408,2391,2147,2180,2522,2797,2222,2539,2586,2293,2011,2228,2657,2326,1894,2026,2244,1881,1646,1707,2003,1831,1893,2025,2001,1727,1643,1599,1537,1571,1531,1393,1707,2316,2659,2326,2578,2847,2264,2129,1802,2092,2114,1878,2427,2644,1929,1835,2341,1986,1885,1848,2039,2098,2171,1894,2439,2534,1864,1640,1400,1512,1619,1582,1577,1533,1592,1523,1560,1752,1748,1623,1786,1661,1614,1871,1803,1447,1529,2003,1872,1575,1669,1890,1983,1825,1675,1612,1824,1926,1896,2087,1739,1626,1726,1768,1704,2279,2711,2247,1638,1577,2003,2544,2185,1502,1538,2041,2266,2539,2120,1534,1737,2688,3415,3500,3269,2695,3126,3350,3406,3171,2991,3316,3463,3128,3001,2966,2616,2723,2494,2224,2437,2933,2852,2137,1899,1992,1931,1832,2621,2711,1949,1764,1824,1585,1497,1860,2098,1664,1719,1798,1379,1341,1425,1460,1371,1423,1717,1878,2245,2460,2409,1924,1549,2181,2019,1907,1937,2040,1878,1511,1289,1333,1471,1607,1713,1722,2041,1831,1516,1798,2083,2016,1830,1721,1605,1796,2401,2245,2136,2322,1918,2374,2902,1835,1942,2808,3167,2775,2479,2552,2787,3229,3528,3100,2169,1803,1781,1817,1744,1865,1656,1412,1764,1820,1675,1972,1842,2086,2070,1516,1621,1710,2110,2025,1945,2000,1698,1518,1544,1579,1531,1447,1532,1730,2402,2776,2380,1809,1584,1473,1241,1127,1570,2075,2666,2544,2232,2105,1585,1405,1475,1426,1375,1357,1380,1300,1433,2017,1791,1735,1876,1404,1379,1528,1443,1798,2184,2300,2044,1587,1791,1812,1751,1960,1629,1768,2148,2209,2562,3207,3561,3463,3353,3249,2497,2119,1906,1818,1630,1751,1849,2114,1929,1871,1895,1973,1846,1939,2575,3304,3720,3242,3220,3562,3437,2916,2573,2446,2477,2662,2656,2785,2723,2496,2864,3072,3300,2470,2183,2101,1819,2328,3108,3287,3056,2909,3181,3610,3813,3791,3724,3404,3242,3284,3544,3371,3146,2513,1917,1665,1635,1949,2265,2311,2436,3710,3908,3107,2575,2664,2207,1977,1969,1707,1980,2014,1906,2500,2467,2513,2053,1998,1812,2031,3021,2939,2388,2190,1621,1618,1476,1599,1531,1495,1578,1524,1594,1558,1472,1370,1555,1825,1518,1498,1754,1753,1550,1936,2200,2170,1954,1673,1791,1764,1417,1374,1516,1627,1515,1405,1495,1671,1930,1996,1706,1649,1685,1549,1724,1814,1598,1622,1891,2303,1858,1768,1826,1965,1759,1910,2345,2442,2280,2198,2081,1775,1751,2019,2280,2207,2093,1854,1566,1608,1748,1748,1658,1504,1478,1551,1673,1514,1371,1534,1609,1518,1537,1733,1854,1838,2192,2162,1868,2043,2116,2597,4228,3304,2658,2474,2702,2553,2192,1543,1304,1526,1648,1865,1975,2182,2085,1726,1857,1776,1822,1993,1935,2254,2635,2565,2350,2034,2155,2671,2649,2647,2371,1466,1725,2221,2458,2646,2619,2599,2780,2728,2845,3340,2842,2499,2563,2856,2735,2307,2123,1951,1824,1814,1745,2483,3038,2906,3208,2953,2646,2467,1818,1465,1356,1342,1389,1831,2113,1753,1482,1511,1515,1528,1293,1267,1431,1511,1760,1804,1437,1342,1633,2180,2233,1865,1841,2254,2308,2221,1809,1791,1514,1615,1827,1783,1974,2673,2965,3419,3499,3600,2911,2041,1490,1540,1965,1812,1581,1469,1336,1503,1548,1488,1450,1590,1670,1462,1450,1607,1804,1691,1450,1388,1427,1320,1310,1318,1322,1398,1560,1387,1476,1440,1405,1498,2077,2162,1838,1560,1449,1415,1475,1688,1571,1497,1515,1686,1744,1523,1401,1456,1494,1398,1345,1497,1880,2401,2785,2563,2080,2590,3374,2842,1750,1534,1608,1545,1536,1466,1628,1927,1717,2183,2120,2295,2743,2590,2371,2171,2329,2542,2799,2440,2124,2113,2033,2182,2383,2485,2363,2650,2565,2388,2114,2084,2537,2579,2364,2800,2797,2413,1957,1791,2009,1820,2396,2618,2045,1838,2047,2357,2608,2782,2492,2486,2102,2410,2387,2115,2487,2451,2642,2774,2213,1771,2243,2013,1658,2398,1863,1773,1841,1712,1792,2137,2127,2598,2976,2426,1909,1591,1820,1748,1431,2103,2524,1995,2024,2377,2618,2722,2708,2514,2504,2244,1930,1616,1352,1384,1603,1609,1445,1609,1839,2162,2607,2666,2497,2146,2068,2632,2162,1725,2188,2032,2053,2549,2230,1452,1521,1626,1345,1715,1998,1893,1461,1556,2100,2301,2264,3069,2680,2153,2393,2150,1848,2105,2480,2295,2209,1696,2109,2435,1947,1987,1722,1455,1711,1805,1897,2249,2179,2041,2150,2223,1776,1934,1813,1819,1938,1760,1795,1632,1660,1941,1762,2045,2041,1870,2033,1947,1757,1853,1518,1177,1531,2338,2666,2175,1644,1567,1367,1402,1304,1667,1717,1861,2271,2369,2219,2291,1983,1718,1981,1992,1893,2620,2083,1978,2565,2596,2304,1924,1924,2248,2610,2656,2424,2938,2512,2147,3280,3206,2668,2607,2630,2274,1810,1657,1797,2009,1928,1634,1724,2014,1570,1610,1457,1648,1700,1607,1635,1614,1840,2161,2292,2400,3185,2733,2824,2048,1603,1568,1876,2250,2022,2160,2675,2623,2170,2438,1874,1853,2115,2387,2322,1975,1567,1518,1664,1713,1719,1867,1841,1779,1915,1957,1957,1884,2023,2030,1819,1769,1921,1952,1955,2140,2202,2545,2260,2980,3892,3263,2355,2221,1868,1820,2253,1809,1582,2032,2231,2411,2323,2214,2414,2119,1502,2002,2354,2680,2745,2182,2006,1885,1855,1875,1820,1834,2027,2264,2554,2530,2328,2029,2198,2489,2100,1620,1765,1873,1803,1922,1630,1846,2642,2532,2335,2471,2260,2005,1795,2039,2149,2553,2574,2831,3168,3177,3338,3472,3300,2440,1794,1434,1422,1431,1397,1453,1421,1409,1384,1398,1368,1396,1367,1353,1332,1421,1603,1562,1417,1375,1498,1394,1359,1650,1704,1483,1403,1382,1484,1567,1395,1404,1424,1358,1423,1746,1809,1679,1772,1759,2003,2788,3107,3135,3292,3081,2631,2573,2786,2645,1980,1882,2401,2530,2512,2352,2423,2535,2134,1775,1744,1623,2554,2891,2397,2216,2195,1939,1721,1779,1653,1480,1447,1715,2128,2410,2391,1976,2004,1760,1549,1736,1914,2056,2052,2136,2279,2135,1695,2089,2896,2374,2576,2702,1965,2148,2501,1675,1456,1995,2456,1925,1857,1681,1567,1912,1825,2074,2155,2293,1870,1627,1537,2154,3113,2586,2004,2626,2481,3055,2845,2891,2409,2500,2395,2425,2426,2546,2558,2464,2358,2056,2110,1654,1834,1992,1918,1664,1649,2106,2103,1709,1795,1670,1681,2089,2123,2045,2030,2590,2920,2566,1740,1629,1805,2147,2488,2453,1866,1702,1610,1767,1662,1573,1331,2202,2688,2266,1709,1348,1250,1275,1625,1825,1448,1666,2609,2933,2078,1500,1165,1077,1404,2013,2186,1827,1722,2071,2142,2143,2355,2198,1807,1674,1799,1741,1625,1926,1998,1773,1788,1991,2575,2482,2408,2460,2210,1949,1976,1752,1763,1982,2121,2147,2212,2181,1979,1937,1771,1763,1353,1566,2026,2142,1882,1819,2036,2159,1941,1621,1601,1799,2257,2209,2298,2194,2176,2264,2457,2656,2541,2351,2240,2071,2006,2049,2137,1980,2013,1828,1721,1802,1718,1694,1801,1811,1708,1606,1649,1866,1664,1810,1519,1417,1687,1686,1716,1646,1736,1827,1824,1924,1927,1902,1662,1444,1714,2049,2200,2680,2358,1925,2072,2438,2961,3117,2519,2488,2415,1772,1924,2054,1720,1948,3113,2771,2337,3039,2793,2501,2397,2100,2552,2801,2335,2358,2061,2077,2380,2812,2885,2600,2632,2798,2437,1958,1869,1608,1586,1772,1870,2036,2185,2343,2222,2211,2425,2481,2153,2015,1776,1765,1793,1704,1638,1730,1975,2236,2264,2442,3034,3006,2709,2690,2085,2091,1790,2024,2424,2702,2769,2293,2424,2965,2999,2525,2632,3093,2935,3020,3264,3533,2961,2486,2324,2843,2811,2500,2448,2824,3453,2752,2405,2823,3139,3132,2566,2167,2575,2526,1957,2076,2401,2024,1957,2383,2381,2584,2656,2546,2973,2724,2374,2791,2777,2651,2495,2312],[1959,1842,1525,1743,2267,2301,2454,2365,2353,2243,2280,2244,2310,2308,1779,2303,3624,3284,2440,1752,1561,1649,1925,2149,2680,3050,2625,2090,1882,1763,2770,3421,3188,3081,3010,2864,3205,3113,2611,2088,1924,1831,1938,1867,1600,1456,1876,2222,2286,1896,1477,1729,1870,1691,1638,1497,1412,1368,1542,1613,1837,1930,1850,1585,1551,1580,1513,1487,1452,1496,1391,1425,1677,1927,2075,1837,1605,1415,1395,1584,2002,1938,1612,1669,1860,1896,1856,1918,1896,1986,1655,1816,1820,1753,2055,1842,2048,2281,2087,1936,1565,1669,1610,1467,1514,1894,2062,1742,1998,2106,2043,2107,2134,2340,2464,3086,3352,2838,2717,3269,2976,3256,2934,1785,1854,2266,1872,1578,1390,1353,1676,1728,2054,2237,2218,2868,3031,2341,2082,2575,2454,2185,2390,2159,1964,1949,1584,1417,1426,1760,2442,2185,1683,1674,1665,1649,1720,1698,2236,2301,2133,2249,2371,2222,2447,2258,2064,2342,2553,2266,1816,1923,2060,2415,1946,1747,1851,2303,1754,1461,1876,2078,1969,2065,2346,2198,1554,1907,2592,2512,1964,2089,2260,2088,1800,1525,1791,1926,1511,1388,1433,1411,1643,1690,1600,2730,2940,2930,3073,2656,2308,2441,2156,1771,2174,2444,2728,2827,2421,2357,2566,2621,3551,3404,2974,3385,3460,3218,2946,2435,2182,1971,1914,1909,2199,2282,2352,2368,2502,2663,2536,2470,2276,2018,2022,2167,2518,2512,2046,2330,2046,1779,1715,1702,1903,2056,2234,2314,2689,2208,1653,1761,2647,3348,3094,2904,2186,1797,1960,2730,3494,3371,2686,2525,2347,2316,2015,1781,1632,1464,1416,1918,2222,1850,1502,1483,1482,1940,2381,1831,2098,2727,2697,2366,1906,1530,1471,1543,1618,1711,1690,1545,1516,1512,1562,1713,1642,1801,1788,1836,1854,1713,1762,2416,3488,3441,2965,2918,2808,2374,1988,1843,1829,1737,1859,2014,1752,1754,1929,1886,1766,1863,2147,2304,2199,2119,1874,1648,1678,1787,1706,1589,1523,1598,1866,2015,1942,2017,2104,2242,2728,2768,2619,2679,2223,1987,2042,2282,2553,2045,2476,2416,2310,2120,2023,2194,2460,2292,2236,2547,1837,1599,1663,2330,1976,2136,2206,1883,1749,1702,1884,2003,1773,1554,2081,2539,2700,2767,2265,2397,2392,1943,1723,1778,1987,1715,1630,2006,2342,2213,2231,1900,1660,1445,1525,1737,2030,2041,2060,1977,1556,1708,1627,1172,1572,1687,1660,1534,1589,1732,1488,1376,1545,1874,2115,1876,1704,1765,2186,1970,1548,1508,1585,1435,1576,1880,1853,1881,1898,1629,1710,1736,1670,1631,1881,1580,1484,1505,1830,2301,2591,3006,2944,1810,1414,1505,2273,2484,1610,1424,1664,2117,2415,2294,2126,2116,2690,3443,3574,3472,2713,3335,3251,3172,2922,2905,3348,3522,3392,3443,3185,2657,2568,2285,2056,2033,2363,2321,1854,1644,1858,1752,1537,1984,2169,1837,2024,2013,1556,1365,1704,1710,1714,1806,1583,1367,1363,1197,1290,1142,1144,1463,1542,1672,1971,1851,1809,1709,1937,1813,1662,1735,1732,1586,1497,1420,1440,1473,1848,2149,1910,2027,1886,1654,1555,1779,1816,1504,1445,1353,1509,1994,2172,2258,2862,3038,3050,2380,1548,1526,2143,2614,2607,2742,2942,2486,2392,2359,1962,1583,1970,2223,2055,1610,1581,1595,1538,1719,1622,1437,1605,1861,2691,2499,1830,1793,1770,1721,1559,1703,2008,1576,1330,1485,1544,1691,1678,1592,1662,2133,2242,1901,1635,1792,1673,1354,1296,1423,2235,2585,2374,2216,2058,1642,1363,1436,1519,1530,1415,1490,1568,1606,1964,2028,2099,2213,1732,1658,1817,1904,2517,2956,2734,1948,1418,1693,1811,1660,1844,1602,1609,2370,2320,2385,3121,3232,3366,3554,3150,2452,2082,1939,1720,1454,1414,1446,1683,1847,2058,2388,2626,2266,1742,2054,2788,3239,2443,1826,1873,2491,3000,2666,2584,2955,3240,3273,3300,2911,2382,3116,3292,3325,2463,2115,2019,1813,2532,3285,3055,2683,2784,3053,3015,3629,3813,3814,3394,3143,3627,3400,2651,2416,2204,1864,1510,1683,1682,2122,2225,2621,3330,3709,3816,3671,2997,2093,2032,2447,2060,2261,2237,2632,3479,3328,2766,2178,1854,2031,2834,3615,3222,2364,1984,1720,1548,1528,1657,1555,1539,1459,1494,1567,1629,1627,1438,1674,1860,1648,1913,1715,1679,1734,2138,2029,2117,2059,1967,1985,1709,1469,1494,1560,1416,1432,1392,1447,1918,2093,1824,1643,1551,1417,1485,1582,1615,1828,2013,2225,1995,1656,1701,2266,2545,2256,2253,2200,1922,1930,2166,2365,1773,1599,1854,1866,1857,1987,2054,1897,1841,1727,1528,1538,1530,1602,1608,1644,1418,1720,1565,1548,1528,1482,1670,1736,1827,1823,1756,1867,2041,2091,3444,3796,2722,2581,2322,2040,2188,2537,2512,2371,2132,1768,2022,1925,2164,2212,1872,1895,1959,1938,2101,1932,1649,2190,2596,2160,1742,1735,1912,1876,2666,2310,1907,1763,2271,2477,2386,2692,2768,2843,2353,2560,2929,2798,2472,2363,2836,3384,2896,2433,2126,2061,1959,2091,2837,3404,2797,2310,2724,2523,2317,2084,1932,1878,1592,1351,1593,1835,1575,1712,1723,1781,1944,1747,1340,1466,1426,1406,1375,1230,1303,1838,1874,1940,1894,2115,2102,1778,1819,2060,1864,1764,1796,2043,2464,2577,2951,3127,3454,3752,3474,2525,1736,1499,1995,2309,1972,1831,2112,1931,1869,1587,1448,1595,2056,1841,1300,1309,1588,1428,1382,1526,1477,1463,1350,1326,1485,1304,1394,1468,1363,1486,1632,1783,1620,1603,1760,1566,1506,1682,1556,1580,1526,1654,1772,1641,1489,1853,1989,1671,1410,1394,1398,1199,1295,1814,2610,2354,2306,2316,1936,2226,2045,1430,1481,1739,1727,1516,1261,1626,2380,2183,2191,2067,1875,2508,2921,2783,2880,3206,3109,3065,2414,2330,2470,2575,2453,2610,2727,2642,2264,2143,2150,1962,2011,2457,3078,3082,2746,2517,2345,2379,2330,2483,2374,2354,2338,2156,2210,2296,2455,2260,2127,2019,2215,2139,2142,2150,1676,1654,1976,2525,2858,1960,1562,2134,2009,1815,2070,1819,1660,1587,1638,1853,2235,2436,2581,2801,2587,2102,1987,1942,1655,1495,2293,2419,2214,2178,2358,2421,2548,2981,2564,2679,2468,2249,2066,1795,1715,1542,1660,1788,1805,2035,2046,2125,2282,2366,2014,2108,2082,1793,1990,2037,1964,2156,1997,1618,1688,2024,2042,1731,2175,2686,1828,1918,2408,2825,2800,2886,2912,2442,2644,2842,2169,1841,1930,1756,1579,1766,1782,1559,1499,1687,2148,1732,1369,1809,1638,1944,3032,2768,2626,2986,2589,2021,2199,2208,2206,1854,1492,1534,1292,1498,1615,1632,2295,2558,1984,1973,1908,1840,2074,1655,1110,1472,2138,2344,2354,1653,1584,1575,1670,2010,2342,2349,2361,2411,2519,2862,2835,2530,2164,2232,1966,1860,2620,2730,2670,2577,2678,2801,2504,2403,2626,2837,2548,2710,2658,2259,2864,3651,3131,2604,2851,2909,2198,1597,1845,2396,2654,1950,2331,2097,2275,2140,1757,1581,1943,1943,1974,2365,2081,2228,2216,2217,2098,2323,2069,2066,1805,1511,1426,1982,2266,2305,2321,2086,2194,2511,2422,2093,2180,2064,1931,1793,1661,1537,1587,1727,1742,1757,2024,1950,2061,2107,2238,2505,2409,2100,1975,1863,1936,2160,2029,1981,2014,1842,2545,3458,3535,3920,3818,2864,2178,1650,1731,1994,1727,1461,2211,3052,3505,3183,2595,2383,2124,1666,1856,2314,2810,2923,2381,1971,1809,1701,1698,1822,1808,1854,1888,1870,1951,1953,1998,2029,2226,1903,1722,2101,1916,1561,1838,1959,1686,1939,1898,1884,2369,2433,1694,1613,1704,1933,2186,2038,2471,2552,2719,2988,3408,3098,2231,1782,1548,1474,1458,1388,1376,1342,1394,1419,1376,1335,1416,1382,1373,1365,1412,1542,1754,1526,1434,1534,1571,1563,1626,1459,1439,1549,1477,1520,1486,1369,1431,1432,1750,1904,2044,1724,1564,1759,1664,1582,2308,3008,3274,3234,3274,2904,3195,2965,2607,2387,2797,2722,2341,2339,2181,2288,2196,2054,1906,2012,1887,2303,2639,2409,2576,2880,2447,1957,1912,1816,1616,1637,1903,2007,2324,2268,2317,2529,1804,1424,1592,1460,1486,1859,1991,2092,1918,1614,1788,1997,1814,2417,2298,1756,2598,2281,1507,1743,2626,2846,1793,1729,1847,2279,2402,2158,2392,2448,2260,1938,1614,1477,1817,2428,2105,1677,2771,2757,2890,2937,2857,2508,2471,2668,2230,2099,2634,2555,2708,2510,1843,1892,1688,1741,1804,1942,1920,1852,2170,2481,2345,2192,1788,1615,2176,2393,2216,2300,2908,2872,2025,1595,1649,2069,2712,3018,2604,1754,1677,1457,1644,1726,1390,1289,1809,2368,2230,1487,1204,1434,1832,2145,1910,1456,1522,1670,1604,1536,1460,1441,1344,1608,2321,2938,2238,1895,2170,2473,3220,2833,2211,1844,1615,1817,1877,1608,1704,1826,2036,1984,2030,2642,2499,2521,2666,2319,2260,2248,2106,2225,2469,2953,2570,2187,1808,1854,1798,1812,1900,1833,2022,2319,2526,2183,2177,2652,2268,1969,1981,2173,2292,2552,2436,2248,2288,2344,2391,2588,2430,2114,1888,1809,1810,1532,1770,1993,1716,1784,1631,1584,1638,1497,1607,1816,1840,1770,1470,1459,1514,1885,1941,1625,1715,1789,1687,1721,1869,2082,2210,2281,2236,1838,1516,1700,1798,2392,2172,2498,3173,2531,2244,2935,3364,3363,3270,2500,2590,2083,1737,1605,1762,1741,2033,2798,2160,1993,2828,2460,2451,2675,2599,2783,2827,2648,2508,2162,2346,2649,2520,2285,2379,2617,2443,2655,2169,1830,1571,1838,2099,2237,2555,2380,2054,2231,2463,2590,2544,2116,1839,1670,1779,1872,1844,1801,2118,2378,2227,2597,2807,3100,2598,2618,2878,2460,2191,1688,2065,2147,1874,2019,2032,2320,2855,3281,3198,3086,3504,3654,3614,3526,3406,2895,2453,2565,2690,2249,2430,2829,3124,4065,3632,3103,2680,2828,3078,2675,2404,2762,2569,2230,2403,2373,2701,2729,2774,2471,2505,2135,2430,3123,2972,3168,3344,2976,2276,1831,1890],[2069,1986,1939,1917,1923,2098,1995,2480,3095,2779,2633,2697,2512,2654,2552,2923,3495,3045,2364,1999,1806,1770,1732,1876,2305,2712,2597,1993,1844,2295,3633,3672,3094,3254,3161,2856,2851,2786,2394,1904,2075,2235,2108,2027,1852,1818,2025,2146,2024,1569,1443,1645,1801,1600,1494,1387,1462,1675,1809,1631,1904,2211,2070,1983,1824,1834,2374,2106,1603,1480,1617,1926,1599,1615,1637,1547,1596,1582,1481,1631,1786,1368,1044,1471,1697,1930,1894,1858,1674,1714,1763,2006,2177,2332,2312,2030,2186,1969,2078,1915,1626,2036,2148,1808,1520,1698,1968,2136,2366,2136,2323,1901,1793,2241,2501,2686,2918,2742,2962,3052,2258,2054,2061,1561,1775,2294,1946,1422,1444,1502,1734,1446,1923,2160,2025,2414,2613,2234,1748,2319,2618,2927,2720,2341,1731,1431,1262,1487,1636,1842,1701,1585,1472,1663,1694,1862,1914,1740,2171,1995,1794,2411,2041,1913,2371,2369,2366,2732,2631,2261,1967,2198,2397,2271,1870,1691,1874,1982,1551,1493,1737,1781,1968,1935,1857,1733,1614,2420,2608,1953,1663,2245,2146,1757,1987,1758,1504,1794,1560,1484,1533,1596,1742,1769,2063,2889,3012,3229,3220,2355,2177,2675,2587,2178,2285,2346,2733,2939,2746,2798,2668,2448,2652,2577,2547,2628,2490,2226,1986,1750,1530,1716,1757,1652,1892,2289,2589,2718,2540,2384,2363,2426,2734,2243,2222,2709,3072,2847,2054,2026,1973,2040,2307,2648,2548,2479,2026,1771,2198,2244,1812,1988,2519,3195,3352,2867,2558,2513,2049,2810,3326,3100,2301,2372,2542,2277,2348,2179,1920,1621,1571,2118,2220,1812,1614,1492,1795,2360,2198,2106,2318,2366,2443,2473,2020,1630,2086,1682,1968,2688,2220,1756,1638,1770,2104,2078,1840,1800,1823,1724,1655,1705,2031,3473,4160,3913,3413,3037,2742,2402,1877,1742,1960,1812,1712,2007,1915,2174,2472,1853,1843,1936,2290,2428,2063,1887,1837,1712,1673,1538,1625,1682,1534,1598,1770,1671,1811,1720,1433,1525,1979,2508,2479,2284,2166,1973,1483,2012,2402,2703,2512,2276,2261,2093,1817,1597,1931,2438,2712,2624,1922,1939,2274,2002,1680,2094,1986,1653,1474,1547,1726,1623,1356,1721,2801,2304,2009,2193,2365,2197,1961,1944,1804,1677,1590,1582,2042,1860,1830,1712,1630,1664,1747,1555,1517,1907,1898,1912,1969,1769,1497,1738,1465,1360,2010,2119,1906,1810,1726,1726,1588,1360,1576,2077,2286,1876,1693,2258,2967,2300,1526,1343,1387,1523,1726,1697,1577,1717,1595,1715,2100,1641,1414,1429,1769,1685,1911,1753,1706,2082,2244,2891,3359,1924,1417,1564,2517,2337,1623,1354,2051,2613,2410,2733,2546,2571,3281,3209,3064,2933,2876,3736,3855,3493,3077,2935,3122,3342,3426,3485,3254,2165,1894,2180,2107,1976,2083,2585,2521,1945,1802,2003,2122,2259,1992,1703,1880,1899,1670,1495,1703,1763,1761,1743,1626,1568,1240,1165,1402,1484,1241,1612,1681,1587,1626,1731,2073,2052,1961,2018,1960,1768,1523,1503,2050,1771,1633,1701,1962,2160,2154,2055,1618,1327,1430,1484,1510,1348,1309,1449,1537,1564,1550,1624,2020,2630,2758,1879,1558,1989,2656,2656,2445,2976,2814,1844,1920,2142,1957,1485,1624,1957,1639,1433,1682,1979,2019,1835,1666,1632,1632,1995,2597,2597,2293,1873,1635,1917,2382,1931,1941,1434,1470,1600,1592,1628,1493,1491,1879,2134,2089,1890,1715,1957,2024,1721,1477,1913,2489,2459,1977,1657,1924,1842,1740,2083,1708,1521,1373,1567,1577,1452,1283,1594,1865,1985,1798,1601,1730,2143,2902,2895,2505,1601,1339,1449,1502,1300,1352,1395,1641,2826,2836,1936,2164,2607,2905,3400,3040,2327,1864,1619,1440,1401,1432,1497,1704,2071,2545,2951,2789,2354,2067,2260,2592,2820,1559,529,632,1505,1694,892,1273,2015,2138,2100,2160,2587,2476,3163,3806,3407,2430,2114,1971,1947,2759,3255,3110,2929,2988,3226,3071,3750,4081,3871,3729,3562,3439,3188,2624,2189,1775,1531,1613,2042,2267,2372,2158,2342,2499,2823,3396,3555,3308,2532,1971,2150,2123,2192,2192,3213,3796,3930,3869,3194,2414,2452,2995,3852,2915,1893,1598,1580,1502,1632,1638,1750,1783,1571,1781,2256,2231,1661,1504,1612,1583,1480,1454,1477,1614,1652,1609,1703,1868,1780,1754,1789,1775,1693,1492,1586,1628,1499,1584,1652,1674,1718,1691,1681,1607,1532,1670,1746,2029,3077,2941,2513,2310,2217,2058,2406,2524,2374,2677,2346,1842,1730,1834,1609,1566,1534,1694,1863,1825,1844,1921,1794,1775,1771,1674,1678,1710,1519,1584,1533,1506,1647,1599,1642,1575,1479,1477,1659,1848,1532,1751,2321,2154,2226,2439,2271,2529,2607,2284,2182,2250,2366,2470,2512,1941,1670,1831,1653,1838,2245,2215,1985,2196,2273,2141,1787,1851,2752,2657,2421,2338,1901,1511,1579,2275,2046,1660,1721,2339,2481,2776,2885,2899,3021,2669,2784,2622,2584,2568,2652,2798,2975,3062,2956,2778,2040,1984,2480,2384,2824,2167,1969,2691,2438,2025,2107,2097,1966,1625,1555,1758,1739,1650,1672,1595,1862,2222,1919,1562,1594,1407,1328,1296,1429,1466,1928,1896,2324,2105,2072,1691,1419,1629,1769,1713,1647,1498,1953,2459,2603,2433,2740,3232,3226,2403,1735,1651,1831,1948,2022,2004,1919,2442,2514,2180,1640,1427,1456,1926,1965,1539,1300,1249,1340,1473,1525,1472,1367,1428,1504,1545,1434,1362,1363,1558,1907,2340,2405,1866,1688,1759,1681,1507,1675,1934,1783,1594,1770,2129,1884,1462,1580,1880,1809,1700,2057,1555,1279,1298,1644,1811,2204,2822,2397,1748,1919,2179,1725,1741,1863,1852,1427,1250,1489,2072,1679,1733,1769,1770,2187,2972,3261,3061,2933,2518,2365,2266,2389,2741,2968,2974,3076,3230,3030,2678,2827,2867,2636,2208,2632,3161,3337,3134,2712,2405,2756,3178,3241,2913,2276,2303,2454,2238,1988,2191,2043,2029,2510,2589,2326,2189,1832,1339,1523,1818,1841,2396,2140,1909,2014,1938,1679,1876,1991,1700,1630,1929,2048,2036,1747,1925,2522,2654,2423,2233,2164,2098,1890,2058,2487,2522,2177,2226,2485,2419,2524,2026,2129,2025,2428,2286,2033,1738,1633,2189,2495,2402,2614,2581,2312,2569,2685,2182,2092,1962,2293,2036,1741,1879,1840,1926,1980,1758,2345,2224,1917,2200,2717,2007,2049,2548,2930,3024,2592,1854,2197,2936,2922,2468,2402,2525,2130,1711,1653,1493,1492,1605,1859,2478,2504,2279,2697,2108,1771,2157,2317,2449,3095,2896,2227,2267,2265,2003,1731,1834,1828,1766,1817,1366,1903,2442,2415,1917,1772,1893,2250,2419,2143,1556,1603,2034,2427,2222,1837,2106,2009,2224,2955,2621,1939,2184,2340,2529,3576,4331,4649,3356,2991,2422,1741,2599,2996,2401,2491,2877,2763,2940,3075,2787,2712,2218,2215,2602,3426,3726,3241,3009,2778,2578,2731,2042,1931,2445,2769,3138,2552,2165,2255,2364,2208,1875,1829,2204,2219,2443,2721,2405,2364,2025,1831,1927,1929,1895,2151,2259,1545,1310,1784,1764,2244,2436,1937,1754,2443,2276,2013,2375,2500,2036,1832,1816,1723,1614,1673,1778,1904,2025,2010,2258,2613,2732,2854,2618,2086,1996,2032,2326,2335,2133,1914,1725,1743,2248,3279,3277,3672,4301,3169,1882,1289,1420,1428,1427,1524,2200,2975,3282,3086,2719,2490,2264,1933,1846,2283,2769,2862,2617,2016,1788,1643,1561,1531,1470,1488,1503,1497,1497,1641,1697,1640,1676,1502,1570,2004,1971,1853,1910,1859,1623,1375,1460,2105,2923,2615,1533,1560,1625,1614,1566,1670,2495,2549,1965,2197,2525,2370,1945,1658,1671,1628,1549,1516,1479,1421,1289,1224,1291,1415,1502,1628,1615,1528,1513,1883,2033,1677,1448,1515,1464,1476,1465,1253,1326,1410,1429,1434,1412,1485,1654,1472,1823,2451,2299,1667,1583,1785,1916,1550,1874,2630,3130,3297,3016,3031,3161,3073,2693,2164,2545,2477,2257,2219,2324,2291,2497,2790,2379,2016,2119,2092,2128,2205,2451,2785,2365,1940,2067,2184,1675,1956,2456,2707,2804,2707,2512,2131,1608,1381,1520,1578,2026,2012,1805,1872,1728,1514,2014,2352,2285,2278,2069,2508,2777,1939,1470,1322,1765,2009,1853,1960,1998,2338,2328,2396,2919,2828,2275,1966,1434,1117,1393,1609,2075,1652,2200,2268,2417,2554,2796,2810,2796,3244,2890,2434,2842,2687,2287,1851,1807,1982,1848,1751,1891,2016,2073,1813,1794,2361,2570,2172,1643,1560,1854,1889,1732,1713,1727,1533,1540,1907,2193,1867,2418,2544,2102,1820,1853,1529,1671,1853,1706,1704,1992,2191,1891,1600,1281,1617,1991,1968,1622,1472,1482,1612,1671,1831,2258,2395,2219,1739,1663,2219,2309,1972,2003,2488,3126,2547,2127,1968,1876,1892,2144,1976,1860,1863,2020,2447,2218,2352,2124,2146,2705,2866,2503,2112,2306,2493,2822,3164,2764,2478,2056,1793,1804,2148,2293,2300,2374,2425,2575,2280,2455,2765,2470,2229,2260,2431,2453,2416,2264,2026,2041,2315,2493,2557,2336,2068,2239,1952,1889,2037,2288,1960,1708,1721,1577,1644,1615,1499,1543,1687,1828,1839,1554,1550,1747,1733,1610,1535,1463,1608,1771,1819,1914,2100,2161,2233,2116,1825,2095,2588,2635,2612,2311,2476,3437,3415,2684,2964,3892,3717,3287,2489,2267,2052,2106,2046,1758,1827,2212,2300,2286,2262,2447,2243,2573,2775,3287,3463,2955,2709,2763,2687,2989,2886,2317,2285,2331,2661,2259,2224,2540,2358,2604,3429,2872,2419,2352,2231,2158,2259,2226,2103,2462,2068,1751,1730,2035,2083,1932,2036,2186,2354,2460,2819,2864,2939,2662,3187,3019,2319,1946,1763,1943,1798,1618,2234,2530,2492,2679,3033,2768,2760,3620,3939,3585,3318,3095,2562,2411,2381,2298,2424,2792,3022,3168,3941,3916,3158,2523,2312,2694,2955,2752,2832,2844,2743,2812,2964,3238,3023,2567,2486,2410,2047,2850,3449,3121,3021,2751,2723,1711,1755,2035],[1933,1791,2126,2062,1627,1736,2009,2430,2785,2463,2198,2482,2410,2701,2705,2877,2933,2397,2278,2374,2021,1682,1479,1694,1971,2139,1987,2066,1792,2667,3331,3016,2532,2425,2310,2309,2238,2466,2105,1526,2174,2429,1868,1804,1691,1847,1814,1684,1692,1637,1650,1660,1714,1746,1366,1298,1435,1594,1813,1687,1725,2221,2643,2457,2002,2574,2646,2136,1669,1421,1531,1708,1460,1591,1763,1571,1543,1677,1519,1394,1538,1070,1205,1658,1886,2186,2143,2132,2062,2057,1776,1766,1937,1949,1954,1802,2356,2045,1735,1665,1779,2034,1689,1338,1325,1879,2566,2347,2018,1935,2478,2225,2247,2639,2634,2850,2800,2655,2807,2909,2306,1742,1600,1671,1560,2158,2299,1853,2160,2204,1797,1533,2047,1986,2020,2260,2141,2180,1888,2257,2589,2567,2530,2793,2280,1577,1401,1477,2164,2344,1700,1880,1498,1486,1478,1797,1987,1901,1740,1726,2425,2453,1792,2104,2619,2839,3154,3694,3272,3020,2417,2285,2439,2127,2033,2060,2281,2115,1604,1939,2414,2128,2040,1874,1826,1826,2231,2474,2065,1981,2231,2387,1826,1770,2221,2093,1873,1936,1656,1543,1592,2052,2128,1809,2160,2849,2973,3145,3067,2819,2797,2808,2604,2403,2163,2153,2298,2343,2081,1842,1811,1919,1693,1699,2159,2281,1838,1561,1662,1611,1496,1641,1472,1506,1594,1948,2684,2802,2229,2175,1959,2027,2259,2766,3084,3017,3355,2975,2171,1808,2030,2115,2235,2493,2705,2565,2222,1880,1676,1869,2007,2619,3076,2878,2801,3076,3425,3673,2764,2868,3312,2569,2197,2998,2880,2209,2530,2596,2280,2170,1943,2017,1968,1853,1785,1626,2165,2285,1859,2155,1968,1789,2155,1871,1592,1908,2501,1848,2065,2698,2098,2281,2701,2429,1942,1840,1954,1962,2014,1900,1902,2261,3176,4006,3871,3534,3226,3333,2996,2078,1550,1477,1756,1921,1667,1664,2340,2124,1897,1725,1810,1794,2148,2190,1586,1510,1609,1748,1902,1692,1784,1981,1714,1614,1573,1591,1758,1635,1561,1916,2492,2546,1973,1770,1998,1862,1771,2468,3108,3063,2301,2181,2462,2426,1934,1836,2044,2342,2033,2149,1958,2083,2520,2114,1907,1773,1728,1827,1512,1565,1676,1569,1519,2308,2526,1857,1654,1606,1887,2337,2654,2427,1877,1532,1504,2080,1958,1892,1681,1537,2064,2081,1775,1586,1948,2068,1509,2004,1960,1626,1748,1623,1478,1434,1476,1805,2342,2150,1666,1688,1766,1505,1459,1977,1895,1525,1454,1895,2721,2333,1495,1265,1555,1627,1502,1406,1400,1332,1240,1737,2290,1831,1488,1492,1752,1864,1856,1855,1889,1806,2396,2712,3074,2268,2157,2834,2950,2006,1535,1344,1995,2853,2322,2119,1750,2823,3504,3242,2854,2984,3254,3539,3967,3694,3220,2830,2883,3288,3525,3568,3254,1941,1691,2159,1989,2044,1909,2113,2531,2315,1874,1965,2136,2458,1936,1687,2338,2612,1996,1610,1706,1721,1669,1695,1747,1479,1250,1387,1242,1626,1550,1785,1729,1365,1215,1398,1731,1824,1980,2087,2018,1946,1860,1820,2139,1692,1450,1870,1966,1990,2349,2157,1694,1667,1716,1588,1796,1694,1583,1736,1606,1425,1454,1556,1581,1942,1945,1475,1845,2195,2325,2084,2157,2338,2149,1694,1572,2543,3105,1985,1643,1772,1400,1541,1882,2241,2416,1795,1479,1735,1663,1981,2270,2360,2586,2079,1589,2060,3037,2474,1986,1860,1794,1566,1753,1726,1648,2032,2282,2198,2014,1881,2092,2324,2413,2301,2304,2574,2730,2304,1612,1890,2288,2523,3195,2635,1528,1405,1329,1399,1448,1388,1403,1587,1730,1661,1528,1476,1544,1426,1980,2122,1953,1535,1444,1427,1433,1327,1382,1567,1688,2365,2114,1693,1599,2718,3262,3628,2974,1930,1519,1411,1375,1345,1392,1530,1959,2344,2460,2709,2652,2740,2813,2806,3066,2852,1390,498,688,1397,1229,568,597,1541,1022,558,714,1736,2641,3662,4148,3422,2392,2072,1929,2156,3101,3033,2996,3094,3170,3763,4078,4175,4186,4088,3945,3945,3918,3667,2920,1958,1923,1806,1911,2343,2889,2826,2287,2326,3009,3348,2586,2188,2928,3371,2514,1779,1700,1929,2128,2613,3118,3586,3964,3696,3179,2540,2269,2859,2389,1643,1547,1570,1544,1682,1634,1561,1420,1559,1952,2526,2050,1537,1454,1397,1444,1426,1384,1529,1560,1511,1521,1469,1510,1351,1202,1352,1762,1851,1944,2011,1788,1626,1905,1992,1701,1643,1736,1708,1610,1882,2010,1817,2598,3189,3220,3039,2526,2257,2301,2282,2509,2638,2878,2615,1994,1593,1832,1650,1843,1740,1501,1599,1747,1805,1726,1695,1681,1780,1868,1926,1861,1662,1534,1393,1526,1711,1866,1919,1720,1497,1609,1673,1738,1558,2216,2316,1793,2812,3390,2678,2240,2257,2167,1952,1665,1955,2000,1908,1651,1735,1668,1887,2259,2423,2430,2396,2212,1749,1749,1712,2534,2968,2621,2770,2544,2656,2224,1800,1875,1828,1715,1840,1909,1492,2000,2548,2432,2177,2409,2968,3141,2679,2092,2396,2975,2867,2946,2796,2636,2199,2414,2199,1879,1818,1842,2326,2706,2143,1684,1918,1924,1573,1478,1669,1854,1632,1591,1620,1595,1703,2174,2281,2271,1830,1406,1382,1482,1286,1669,1864,2255,2396,1998,1843,1500,1349,1579,1995,2187,1785,2166,1851,1763,2333,1932,1778,2436,2483,2154,1976,1640,1779,1781,1595,1511,1619,1710,2185,2180,1702,1432,1382,1756,1833,1340,1171,1263,1390,1394,1544,1449,1659,2042,1875,1562,1428,1295,1320,1742,2343,2205,1884,1808,1960,2076,2065,1603,1823,2104,2029,1905,1770,1782,1777,1512,1282,1838,1775,1679,1730,1483,1425,1434,1647,2308,2897,2626,2278,1871,2006,2511,2024,1968,2251,1874,1499,1477,1648,1722,1500,1466,1569,1694,2071,2846,3130,2765,2504,2024,2065,2475,2651,2879,3174,3119,3084,3228,3025,2750,3142,2950,2634,2145,2769,2912,2870,2779,2657,2653,2562,2737,2603,2272,1984,2137,2003,2060,2125,2360,2254,2165,2619,2329,1996,2225,2309,2302,2702,2887,2845,2864,2460,2599,2478,2087,1700,1628,1583,1557,1993,2269,1993,1619,1609,1934,1893,2054,2510,2382,2482,2576,2052,2092,2674,2380,2256,2426,2764,2092,1770,1935,1683,2194,2400,1993,2036,1930,1897,2338,2505,2196,2307,2631,2019,1897,2059,2046,1946,1938,1953,1917,2036,2061,1981,1946,2255,1609,2136,2377,2335,2449,2627,2667,2847,2951,2526,2402,2198,1869,2326,2940,2881,2144,2187,2354,1943,1741,1670,1668,1837,1948,1653,1874,2450,2547,2440,1676,1686,1953,1939,2232,2766,2611,2458,2076,2160,1861,1725,2085,2075,2018,1904,1769,2128,2241,2307,2431,2425,2282,2462,2841,2646,1798,1679,2036,2445,2186,2120,2326,2065,2119,2789,2433,1767,2125,2292,2487,3023,4026,4624,4005,3663,2646,2028,3098,2952,1654,1742,1948,2377,2710,2876,2548,2665,2608,2258,2942,3930,3274,2220,2408,2652,2541,2491,1760,1982,2147,1908,2889,3156,2407,1956,1856,1852,1893,1995,2166,2111,2336,2082,2684,2458,1835,1759,1720,1584,1735,2239,2410,2025,1834,1772,1466,1772,2284,2085,1944,2567,2580,2111,2288,2039,1708,2129,1889,1828,1695,1788,1802,1693,1759,1831,2348,2874,2659,2656,2548,2140,1975,1736,1996,2181,2160,1969,2452,2807,2898,2866,2827,4135,4327,2755,1794,1443,1717,1844,1802,1774,2181,2928,3182,2905,2796,2569,2393,2021,1898,2332,2753,2727,2706,2104,1412,1208,1239,1268,1330,1317,1252,1273,1390,1709,1419,1371,1477,1345,1465,1694,1782,1801,1929,1915,1561,1405,1591,2380,3151,2077,1625,1704,1687,1615,1561,1546,1824,2045,2097,2071,1949,1780,1477,1789,1838,1752,1592,1488,1500,1397,1258,1243,1391,1454,1648,2081,1770,1667,1628,1854,1950,1627,1507,1596,1538,1456,1439,1316,1334,1331,1366,1368,1494,1673,1714,1602,1860,2463,2264,1735,2165,2432,2436,1915,2004,2447,3234,3104,2711,2917,2539,2470,2114,1798,2441,2702,2604,2031,2272,2577,2973,2873,2131,1893,2379,2582,2611,2509,2449,2322,1911,1868,2142,1958,1627,2308,2692,2769,2463,1966,1447,1370,1361,1454,1770,1796,2309,2073,1603,1721,1922,1579,1521,2032,2547,2234,2136,2520,2917,2290,1504,1687,1985,1680,1789,1928,1950,1868,2006,2440,2930,2998,2454,1930,1548,1621,1724,2094,2756,2437,2212,2548,2878,2685,2526,2282,2194,2674,2510,2253,2533,2810,2254,2037,2070,2082,2059,2044,2021,1775,1710,1875,2370,2276,2269,1902,1743,1770,1778,1687,1683,1754,1746,1746,1505,1626,1760,1473,1678,1653,1721,1692,1580,1483,1626,1879,1902,1966,2120,1923,1666,1682,1521,1874,1842,1612,1711,1611,1611,1809,1954,2103,2730,3692,3084,1979,1733,1924,2359,2604,2259,2275,2697,2862,2614,2056,2102,1863,2177,2177,2160,2324,2545,2792,2448,2207,2137,2333,2905,2814,2591,2635,2460,2611,2967,3010,2728,2514,2179,2040,2148,2302,2312,2153,2074,1917,2002,2043,2242,2053,2085,2081,2204,2388,2404,2410,2219,1847,1884,2532,2609,2027,1999,2331,2437,2024,1767,1807,1892,1870,1694,1628,1672,1880,1888,1516,1642,1623,1864,1792,1609,1595,1704,2056,1930,1654,1620,1797,1804,1780,2200,2758,3162,3197,2819,2378,2303,2757,2687,2309,2552,2645,3209,3230,2338,2145,2938,3122,3010,2751,2530,2468,2643,2345,1780,1720,2080,2007,2418,2801,2896,3193,3685,4052,4248,3835,2924,2152,2395,2763,2928,2963,2212,2623,2632,3197,2745,2203,2886,3120,3244,3182,2596,2707,1909,2144,2294,2446,2430,2091,2180,2072,1888,1744,2067,2419,1977,1972,2304,2722,2856,2977,3049,3197,3392,3480,2854,2196,1932,1703,1627,1751,1852,2557,2566,2177,2532,2872,2797,3033,3429,3523,2975,2855,2985,2548,2436,2429,2611,2928,3199,2851,3204,4064,3761,3044,2465,2100,2907,3400,2989,3500,3070,2687,2449,2931,3565,3077,2299,2217,1986,2035,2460,2592,2940,2807,2476,2891,1962,1840,2176],[2048,1826,1880,1954,1918,1940,2083,1732,2343,2036,1792,2517,2699,2210,1969,2495,2882,2633,2654,2732,2597,2028,1734,1798,1600,1705,1694,1821,2036,2777,2991,2630,2455,2442,1864,2049,2249,3020,2543,1718,2137,2112,2026,1991,1603,1574,1690,2054,1967,1990,1645,1547,1511,1477,1592,1546,1359,1375,1648,1762,1516,1800,3021,3468,2809,2602,1878,2117,1784,1586,1699,1510,1475,1881,1986,1577,1378,1470,1642,1514,1465,1152,1596,1821,2089,2111,2071,1962,1968,1639,1439,1843,1802,1601,1636,1859,2151,2106,2027,1942,2049,1996,1454,1232,1335,1974,2758,2543,1917,1741,2026,2397,2524,2073,2017,2519,2644,2451,2604,2471,1756,1415,1423,2194,2369,2474,2810,2443,2076,2250,1765,1392,1532,1536,2359,2035,1502,1920,2254,2155,2377,2540,2685,2791,2511,2413,2062,1660,1633,1952,2163,1741,1491,1344,1495,2107,2201,1837,1952,2653,2932,2181,1878,2368,2692,2631,2649,3065,2878,2937,2247,2227,2361,1959,1816,1873,2093,2119,2002,2181,2688,2398,2209,2054,2108,2312,2349,2243,2216,2172,2341,2369,2216,2289,2389,2295,2159,1837,1869,1841,1901,2488,2413,1788,2055,2817,2827,2817,2608,2675,2428,2308,2341,2286,2107,1810,1615,1676,1660,1613,1772,1902,1612,1774,2448,2204,1749,1565,1665,1616,1577,1671,1925,1922,1656,1909,2679,2318,2260,1908,1807,1925,2054,2281,2742,3161,3477,3417,2380,1756,2228,2258,2563,2340,2293,2316,2581,2318,2066,2154,2203,2592,2757,2412,2430,2776,3282,3768,3532,3071,2968,2781,3056,3442,2919,2636,2829,2731,2387,1977,1672,1656,1722,1816,2042,2080,2139,2052,2004,2189,1998,1845,1962,1760,1814,1894,2069,1821,1763,1872,1763,2247,2648,2342,1800,1840,2400,2034,1826,2071,2310,2518,3498,3574,3397,3407,3044,2766,2156,1727,1995,1729,1730,1502,1548,1752,2252,1995,1720,1736,1774,1788,1998,1824,1085,1337,1720,1736,1880,1544,1556,1716,1596,1504,1489,1557,1741,1758,1656,2283,2527,2247,2127,2163,2324,2298,2172,2832,3454,3007,2113,2038,2205,2033,1969,1921,1919,1784,1577,1998,1935,2233,2283,1689,1661,1720,1726,1860,2044,1865,1869,1540,1610,2030,1907,1668,1721,1867,1744,1932,2204,1892,1863,1777,1802,2133,2216,2036,1598,1661,1707,1551,1530,1468,1709,1736,1519,1837,1788,1786,2120,1819,1405,1705,1824,1868,2283,1958,1881,1802,1827,1636,2019,2183,1637,1616,1644,1526,1542,1573,1608,1828,1771,1635,1501,1439,1377,1411,1350,1686,2043,1765,1632,1605,1866,1971,1824,1870,1915,1838,2290,2874,2585,2150,2310,2611,2355,1793,1471,1409,1670,2409,2405,1816,1706,2906,3526,3596,3295,3825,3877,3370,3642,3694,3561,2923,2764,3339,3619,3787,3205,2056,1876,2105,2385,2136,1666,1532,1595,1743,1614,1448,1882,2154,1783,1537,1705,1919,1766,1542,1627,1770,1489,1643,1684,1678,1375,1300,1243,1308,1234,1555,1565,1289,1393,1544,1578,1904,1990,1873,1760,2160,1968,1760,1613,1417,1427,1638,1836,1967,2105,1982,1570,1645,1800,1798,1727,1675,1842,1864,1758,1675,1572,1761,1845,1570,1409,1436,1520,1525,1459,1696,2013,1973,1858,1626,1350,2024,2618,1796,1632,1653,1571,1742,1964,1637,2045,2045,1973,2049,1888,2304,2256,2134,2407,2085,1875,1997,2176,2129,1766,1686,1663,1554,1652,1664,1631,2240,2853,2205,1904,2308,2860,2789,2241,2093,2913,3140,2669,1903,1555,2053,2383,2302,2556,2077,1516,1512,1424,1540,1663,1615,1749,1667,1599,1664,1615,1579,1406,1652,1622,1545,1605,1606,1545,1378,1530,1529,1440,1593,1705,1723,1651,1735,1892,3176,3621,3627,2687,1530,1322,1340,1295,1343,1500,1725,1909,1702,1937,2267,2429,2648,2788,2723,3044,2670,1073,455,625,1567,932,525,649,1451,940,394,908,1826,2687,3704,4084,3438,2359,2146,1902,2243,3390,2958,3147,3461,3460,3831,4007,3905,3972,4061,3980,3859,3616,3226,2841,1964,1759,1829,1959,2543,3208,3156,2723,2577,3708,4057,2336,1510,1893,3241,3406,2551,1945,1814,1856,2064,2278,2554,2631,2521,2822,2317,1981,2446,2269,1503,1388,1522,1654,1669,1734,1646,1425,1527,1626,2062,1714,1583,1550,1631,1650,1505,1460,1440,1680,2169,1782,1434,1448,1385,1365,1583,1918,1910,1939,1954,1797,1757,1962,1963,1669,1497,1574,1706,1640,1879,2061,2303,3395,3708,3596,3378,2456,1719,1843,2021,2150,2419,2491,2182,1505,1292,1733,2110,2181,1863,1561,1717,1620,1521,1609,1665,1547,1564,1629,1775,1992,1956,1684,1534,1562,1608,1723,1755,1672,1520,1572,1844,1758,1689,2309,2259,1948,2674,3446,2988,2075,1953,2173,1771,1527,2000,1906,1784,1829,1604,1664,2172,2326,2576,2618,2735,2702,2273,2269,1882,2134,2418,2102,2384,2754,2790,2813,2698,2146,1732,1799,2175,2084,1688,1691,1958,1716,1622,1936,2508,3075,2700,2044,2490,2837,2756,2911,2735,2653,2674,2504,2251,1977,1680,1924,2400,2423,1749,1314,1631,1987,1625,1783,1816,1641,1531,1512,1620,1588,1647,1883,1811,1923,1881,1482,1527,1762,1521,1855,1989,1998,2079,2125,1756,1459,1584,1500,2155,2658,2567,2208,1826,1757,2013,1637,1560,2069,2258,2157,2141,1626,1741,2118,1779,1547,1504,1346,1637,1815,1526,1335,1516,1718,1586,1571,1438,1487,1644,1589,1431,1299,1704,2408,2320,1823,1791,1574,1449,1735,2243,1767,1755,2239,2437,2082,1880,1804,1769,2070,2496,2028,1730,1569,1735,1570,946,1546,1809,1690,1543,1503,1635,1522,1498,2485,2842,2264,2392,1980,2437,2896,2142,1772,2141,2131,1851,1702,1744,1754,1898,1713,1627,1527,1708,1715,2166,2404,2574,2411,2152,2372,2768,3116,3554,3627,3526,3165,3002,2753,3274,3259,3161,3133,3233,2419,1865,2043,2233,2458,2213,2394,2358,2009,1775,1969,1888,1819,1713,1626,1494,1958,2490,2489,2116,2755,2917,2997,2724,2642,2759,2364,2129,2546,2700,2316,1634,1465,1626,1851,2210,1995,1881,1592,1615,1780,1600,1981,2452,2374,2407,2359,2064,2097,2346,2521,2543,1880,1572,1876,1711,1509,1432,1853,1912,1935,1918,1792,1716,2140,2236,2098,1961,1909,1627,1560,2008,2104,1767,1771,2172,2255,2102,2299,2132,1907,1850,1614,1930,2278,2240,2214,2629,3357,3394,2476,1785,1931,1971,2186,2596,3072,3119,2488,2229,1869,1746,2018,1931,1985,2024,2025,1651,1816,2447,2696,2514,2297,2380,2188,2077,2214,2624,2204,2447,2136,2282,1814,2026,2340,2126,1945,1688,1666,1801,1780,2736,2678,2103,2300,2690,2872,2309,1959,2018,2055,2049,2178,2419,2104,1831,1945,2683,2726,2113,2360,2379,3198,3692,4287,4659,4488,3850,2388,1805,3166,2996,1733,1977,3006,3224,2904,2242,2069,2645,2680,2154,2275,2614,2469,2160,2668,2737,2248,1998,1683,1734,1647,1903,2414,2222,1822,1717,1726,1748,1725,1667,1782,1852,1912,2050,2398,2188,2137,2318,2026,1875,1947,2013,2384,2182,2046,2038,1928,1897,2321,2686,2372,2113,1996,1661,1954,1554,1755,1925,1744,1795,1720,1726,1780,1714,1806,1857,2081,2411,2267,2178,2113,1955,1881,1635,1748,1963,1918,2068,2588,2827,3376,2923,2880,4185,4204,2407,1830,1570,1621,1781,1781,1744,2040,2952,3403,3006,2768,2648,2429,2204,2160,2237,2655,2551,2673,2564,1753,1384,1461,1408,1403,1445,1458,1529,1472,1624,1543,1606,1544,1343,1413,1499,1488,1438,1470,1442,1354,1388,1540,2282,2427,1790,1686,1729,1761,1727,1644,1744,2042,1987,2446,2476,1952,1791,1832,2251,2165,1879,1876,1829,1621,1499,1397,1353,1345,1329,1442,1735,1823,2008,2221,2192,1734,1299,1353,1475,1749,1575,1450,1366,1404,1305,1394,1601,1719,1355,1216,1575,1859,2352,2106,1841,2756,2909,2855,2699,2628,2901,3753,3684,3295,3240,2973,2691,2226,2480,3438,3749,3574,2972,3031,3265,3295,2988,2363,2267,2614,2774,2842,2663,2500,2293,1537,1902,2158,1695,1542,2069,2404,2040,1995,2087,1561,1779,1477,1677,1723,1426,1786,2015,1808,2399,2522,2092,1814,1757,1933,1897,1819,2537,2727,2220,1741,2588,2364,1931,1799,1643,1876,1771,1977,2011,2406,2653,2409,2054,1688,1569,1538,1699,2300,2242,1914,2540,3053,2708,2297,1588,1579,2060,1753,2064,2718,2778,2416,2409,2521,2440,2200,2106,1892,1741,1637,1833,2123,2193,1986,1689,1617,1744,1926,1766,1648,1548,1733,1698,1412,1470,1429,1635,1702,1442,1522,1428,1410,1597,1734,1770,1785,1685,1883,1786,1650,1888,1711,1937,2002,1879,1938,1820,1793,1863,2187,2079,2344,2743,2289,2013,2036,2100,2155,2255,2209,2205,2489,2542,2312,2151,2177,2282,2226,2155,2144,2098,2122,2275,2341,2396,2396,2336,2665,2562,2468,2425,2217,2188,2342,2414,2334,2049,1961,2387,2247,2217,2312,1864,1979,1610,1786,2340,2244,2226,2294,2087,2091,2338,2487,2509,2268,1747,1803,2498,2463,2133,1975,2396,2492,1948,1699,1693,1824,1871,1783,1678,1592,1954,2174,1760,1610,1603,1913,1860,1655,1627,1864,2479,1990,1830,1693,1900,1862,1604,1433,2563,4240,4788,4724,3793,2309,2584,2510,2277,2512,2078,2303,2303,2021,2025,2313,2502,2226,2242,2567,2210,2201,2060,1873,1936,2579,2728,3060,3210,2953,3081,3781,4114,3897,3174,2520,2081,2085,1968,2175,2475,2023,1957,2210,2851,2784,2371,2884,3558,3551,2396,2745,2913,2092,2276,2330,2469,2644,2519,2456,2348,1866,1636,2294,2462,2025,1850,2194,2562,2690,2893,3020,3085,3023,2880,2589,2125,2030,1801,1933,1852,1887,2184,2476,2179,2303,2489,2639,3016,3195,3310,3129,3265,3261,2764,2275,1903,2011,2834,3366,3407,3858,3657,3133,3274,3163,2763,3473,3143,2586,3120,2908,2762,2808,3024,2866,2312,2414,2765,2554,2314,1902,1726,2779,2809,2769,2680,2121,1894,2058],[2360,2310,2114,2477,2648,2271,1971,1826,2509,2192,2286,3243,3140,2158,2046,2911,3156,3006,2780,2243,2438,2497,2270,1959,1647,1758,1820,2000,3007,3536,3067,3000,3673,3732,3298,2683,2671,3135,2166,1964,2216,1764,1644,1502,1524,1816,1923,1884,1801,1917,1668,1678,1663,1592,2172,2281,1639,1545,1736,2056,1642,1785,2426,3233,2955,2146,1930,2093,1814,1757,1795,1879,2079,2060,1869,1573,1366,1314,1610,1650,1456,1529,1622,1864,2007,1959,1642,1469,1570,1377,1452,1615,1515,1383,1577,1663,1665,1808,1883,1891,1994,1933,1644,1637,1610,1949,2373,2455,2149,1761,1532,1977,2372,2259,2348,2448,2322,2386,2356,2207,1512,1373,1531,2168,2730,2625,2998,2555,1670,1998,1849,1127,1182,1588,2357,1830,1439,1791,2223,1923,1962,2126,2354,2401,2392,2558,2863,2032,1325,1577,1935,1725,1624,1760,2021,2391,2145,1840,2212,2685,2655,2530,2401,2318,2256,2189,1986,1975,1747,2060,2230,2238,1848,1647,1701,1621,1706,1968,2011,1968,2085,1923,1896,1876,2142,2470,2270,1860,1996,1876,2225,2018,2391,2474,2209,2280,2420,2254,2072,1832,1904,2138,1996,1583,1840,2100,2392,2230,2136,2320,2438,2485,2273,2143,2010,1786,1544,1567,1632,1930,1893,1737,1661,2035,2384,1866,1500,1458,1584,1516,1193,1644,2052,2150,1903,1937,2282,2299,2302,1681,1925,2288,2432,2241,2198,2588,2962,2820,1647,2230,2578,2939,2912,2642,2284,2071,2647,3056,2637,2116,2103,2426,2580,2336,2180,1875,2386,3339,3640,3383,2946,2728,3064,2985,2761,2857,2742,2654,2380,1791,1733,1632,1616,1737,2009,2118,1948,1829,1887,2238,2485,2260,1793,1964,1909,2078,2113,2019,1904,1866,1909,1879,1888,2250,1848,2040,2522,2148,2115,2320,2410,2956,3405,2976,3122,3417,2780,2053,1749,2170,2294,1978,1791,1632,1661,1708,2391,2735,2083,1699,1611,1675,1907,2116,1673,1694,1782,1614,1484,1379,1574,1737,1526,1449,1557,1456,1641,1851,1594,1998,2314,2348,2244,1693,1922,2264,2084,2566,2584,2329,1836,2406,2230,1616,1734,1809,1856,2001,2047,2049,1924,2161,2353,1851,1566,1949,1676,1493,1938,2084,2260,2053,1861,1860,1810,1693,1763,2164,2024,2017,2288,1758,1628,1920,2315,2050,2025,2008,1886,1606,1475,1600,1444,1557,1735,2424,1776,1590,1614,1813,2363,2271,1466,1681,1759,1725,1590,1390,1682,1702,1787,1830,2334,2102,1747,1822,1656,1389,1461,1721,1693,1783,1622,1388,1330,1404,1445,1383,1417,2039,2332,2151,2374,2064,2576,2336,1880,1709,1890,2054,2305,2373,2064,1922,2313,2293,2255,2094,1598,1964,2091,2140,2129,1787,1760,2796,3582,3420,3430,3850,3980,3717,3660,3753,3746,3188,2958,3257,3506,3671,2814,1841,1876,2158,2721,1944,1832,1700,1432,1700,1692,1605,1879,2000,1701,1568,1468,1470,1600,1773,1991,1906,1768,1525,1500,1632,1424,1388,1549,1425,1250,1540,1510,1388,1338,1396,1367,2006,1859,1568,1730,1921,1873,1753,1566,1749,1904,1643,1986,2079,1902,1792,1721,1797,1905,1772,1550,1454,1681,2062,2100,1933,1718,1625,1664,1530,1880,1823,1520,1283,1406,1898,1966,1681,1745,2041,2136,1941,1856,1732,1566,1521,1770,1973,1863,1565,2066,2762,2734,2055,1793,2673,2580,2522,2223,2111,1882,1920,1782,1707,1675,1495,1636,1678,1664,1560,1746,2210,1996,1969,1682,2179,2902,2573,1765,1994,2730,2694,2323,1748,1720,2018,2606,2069,1520,1476,1634,1625,1453,1693,1748,1686,1772,1694,1834,2090,1955,1579,1532,1862,1691,1613,1722,1663,1534,1516,1395,1458,1404,1544,1794,1736,2020,1763,1742,2533,3232,3342,2422,1572,1436,1334,1302,1410,1471,1811,1939,1641,1747,2012,2178,2441,2668,2815,2958,2424,919,522,653,1446,891,471,849,1278,769,378,945,2160,2998,4109,4308,3504,2418,2069,1892,2453,3422,3269,3193,3392,3488,3563,3696,3659,3663,3698,3625,2767,2488,2366,2630,2154,1572,1738,1926,2414,2879,2967,3042,2685,2918,2571,1852,1583,1549,2363,3352,3122,2608,2553,2316,1953,1819,2128,2649,2458,2558,2670,2362,2310,1812,1265,1596,1827,1906,1786,2029,1664,1758,1817,1672,1632,1382,1422,1480,1655,1534,1529,1400,1447,1467,1992,1631,1344,1651,1530,1309,1691,1897,1648,1583,1809,1896,2031,2392,2143,1900,1749,1541,1514,1613,1577,1694,2157,2965,3911,4042,3308,2087,1613,2272,2085,2050,2226,2202,1874,1396,1599,2265,2322,2043,1651,1534,1832,1512,1317,1500,1621,1452,1459,1627,1896,1991,2099,1982,1818,1668,2231,2010,1600,1604,1654,1653,1859,1738,1531,1769,2330,2508,2484,2887,2359,2223,2276,2142,1677,1501,1695,1691,1635,1688,1562,1960,2806,3228,2948,2270,2254,2587,2749,2510,2150,1874,1669,1889,2754,3559,3495,3096,2750,2680,1882,1705,2119,2304,2258,2382,2453,2404,2430,2678,2833,2709,2494,2484,2530,2619,1924,2335,2964,3073,2686,2476,2459,1954,1898,1960,2202,1986,1748,1660,1610,1811,1737,1796,1718,1584,1537,1556,1537,1433,1335,1448,1431,1449,1882,2035,2014,1988,2064,2162,2045,2019,2137,1990,1711,1526,1437,1481,2143,2362,2276,1795,1748,2216,1992,1664,1764,1898,1928,1844,1707,1732,1791,2258,2118,1643,1324,1284,1452,1626,1538,1402,1456,1538,1478,1990,1869,1584,1442,1387,1299,1479,1808,1836,1632,1734,1896,1531,1365,1622,2140,1842,2166,2592,2371,2050,2019,1903,1925,2194,2664,2336,2404,2408,2250,1947,1252,1278,1644,1748,1750,1737,1943,1915,2049,3286,3066,2407,2171,1896,2451,2685,1937,2098,3386,3714,2890,2010,1631,1769,2150,2199,2150,1599,1729,1636,1473,1664,1832,1795,1735,2019,2822,3951,4408,4264,3946,3212,3074,3198,3338,3649,3849,3798,3153,1997,2176,2530,2481,2489,2291,2020,2004,1930,1891,2040,1687,1339,1658,1888,2049,2086,2623,3417,2306,2486,3157,2854,2539,2119,2022,2132,2045,2234,2476,2037,1595,1626,2076,2286,2238,2142,2177,1809,1796,1712,1663,2079,2256,2505,2564,2237,2221,1955,2250,2654,3001,1990,1078,1316,1748,1852,1741,1874,2081,2059,1841,1716,1336,1709,1963,2062,1995,1950,1824,1636,1831,2007,1819,2013,2808,2191,1660,2293,2070,1865,1881,1888,1878,1655,2157,3028,3045,3602,3110,1992,1826,2122,2069,2149,2339,2932,2690,1887,1874,1984,2478,3082,2200,2469,2137,1942,1591,1884,2479,2920,3042,2482,2159,2017,2082,1788,1824,1541,1674,1828,1734,1807,2028,2169,2260,2092,1610,1556,1603,2117,2437,2098,1569,1644,2146,2052,2129,2441,2037,1949,2175,2412,2588,2086,2006,2141,2658,2566,2235,2385,2742,3830,4552,4712,4520,4563,3595,1919,2324,2775,2728,2309,2443,2738,3112,2832,1956,1902,2291,2336,1904,2424,2627,2602,2680,3075,2814,1960,1799,1764,1616,1832,2114,1851,1696,1588,1731,1825,1652,1543,1732,1774,1609,1649,1973,1948,1935,2082,2271,2156,2129,2349,2105,2329,2123,2053,2169,2156,2235,2830,3617,2608,1728,1783,1897,2006,1931,2601,2742,1983,1902,1968,1792,1849,1814,1994,1955,1984,2030,1957,2051,2020,1949,1778,1687,2190,2226,1924,2152,2902,3239,3365,3693,3737,4302,3834,2402,1896,1671,1674,1809,1835,1847,1985,2945,3578,3093,2877,2745,2363,2141,1768,1698,2235,2484,2819,2893,1694,1463,1481,1492,1430,1506,1486,1462,1396,1484,1497,1543,1461,1259,1320,1272,1288,1374,1269,1384,1422,1316,1366,1597,1600,1642,1751,1793,1755,1812,1920,2267,1957,1629,2300,2236,1887,1859,1818,2019,2166,1993,2178,1994,1584,1434,1400,1376,1237,1355,1462,1602,1792,2131,2308,1886,1716,1415,1385,1441,1812,1488,1412,1533,1574,1479,1507,1576,1638,1831,1864,1900,2110,2526,1998,2208,3221,3123,2785,2424,2350,3190,3761,2786,2148,2350,2432,2585,2602,2989,3801,3392,3130,3373,3683,3764,3772,3692,3240,2843,2871,3232,3350,3225,3017,2480,1808,2343,2254,1611,1584,1976,2128,1881,1668,1852,1853,2133,1745,1796,1758,1481,1718,2001,2149,2621,2898,2680,2424,1865,1583,1509,1530,1879,2159,1764,1769,2011,1887,2213,2081,2086,2163,1691,1717,1688,1878,1711,2046,2299,2150,2176,1838,1590,1798,1704,1611,2758,2454,2113,1808,1620,1528,1787,1692,2664,3354,2524,2208,2203,2356,2031,2064,2322,2000,2004,1875,1690,2142,2324,1978,1766,1525,1727,2172,2099,2074,1830,2020,1672,1448,1394,1410,1946,1920,1685,1793,1503,1654,1788,1818,1983,1898,1870,1982,1881,1779,1753,1723,1878,2025,1825,1754,1896,1962,2047,2081,1613,1597,1781,1693,1650,1739,1785,1754,1816,1988,2519,3249,3340,2608,2210,2510,2483,2128,2133,2249,2103,2118,2496,2773,2546,2280,2467,2770,2410,2088,2045,1942,1940,2063,2104,2099,1941,2046,3034,2688,2633,2836,2208,2268,2020,2471,2682,2382,2453,2465,2503,2144,2154,2436,2410,2042,1667,1815,1938,2569,2457,2026,2644,2695,1784,1662,1742,1743,1630,1817,1815,1888,2272,2304,1893,1628,1694,1902,1746,1539,1603,1798,2353,2294,2395,2285,2274,2127,1716,1821,3085,4583,5576,5331,3914,2402,2443,2352,2362,2269,1966,2287,2339,2167,2189,2108,2281,2181,2290,2333,1895,2074,1932,1946,2415,2964,3261,3650,3737,3420,2951,3045,3103,2958,2337,2642,3144,3190,3142,2879,2535,2332,1870,1874,2750,2968,2688,3222,3883,4047,3130,3388,2833,2060,2297,2596,2634,2930,2877,2764,2598,1938,1505,1936,2060,2208,2347,2268,2125,2500,2652,2475,2921,3427,3321,2901,2501,2293,2053,2049,2105,2166,1927,1807,2013,2295,2285,2888,3615,3077,3034,3315,3563,3660,3056,2268,1591,1394,2387,3382,3476,3870,3729,3229,3150,3194,3098,3366,3024,3140,3238,3183,3209,3071,2765,2354,2022,2374,2383,2166,2599,2370,2093,2523,2575,2745,2912,2758,2308,2070],[2259,1995,2072,2106,2107,2240,1804,1917,2699,2620,3107,3771,3276,2475,2801,2751,2648,2942,2945,2922,3680,3663,3205,2673,1958,1988,2601,2761,3732,3972,3617,3493,3958,4232,3558,2470,2450,2314,1644,1953,2386,1744,1528,1900,1950,1915,1945,1851,1785,1960,1991,2220,2114,1725,2083,2198,1578,1483,1538,2026,2013,1898,1913,2166,1959,1764,1855,1960,1931,1937,1810,1580,1913,2035,1788,1606,1552,1372,1507,1599,1440,1245,1616,2002,1859,1860,1614,1629,1513,1691,1633,1572,1453,1332,1451,1561,1606,1655,1747,1902,1785,1810,1808,2149,2275,2286,2193,2254,2116,1774,1915,2317,1814,1980,2485,2303,2003,1923,1974,2493,1908,1877,1927,1808,1923,2044,2196,1623,1635,2302,2042,1669,2167,2294,2288,1954,1758,2048,2078,1721,1555,1497,1581,1921,2443,2877,3100,1842,1337,1499,1613,1462,1495,1706,2084,2314,2238,2327,2364,2743,2763,2510,2178,2256,2040,2026,2222,2059,1613,1769,2259,2511,1860,1631,1780,1470,1650,2243,2388,2070,1833,1669,1847,2175,2222,2462,2627,2085,1893,1674,2128,2100,2555,2670,2160,2097,2420,2409,2070,1606,1626,1797,1990,1902,2376,2449,2280,2179,2294,2620,2744,2084,1926,2332,2229,2053,1735,1421,1702,2113,1947,1850,1823,2240,2520,2106,1740,1632,1549,1123,1041,1701,2280,2518,2404,2280,1990,2072,1938,1801,2250,2499,2370,2320,2081,2176,2411,2396,2156,2780,2903,2946,2840,2909,2614,2124,2118,2148,2140,1973,2675,2810,2918,2695,2177,1780,2191,2848,3291,3353,2975,2984,3181,2775,2905,2883,2762,2472,1977,2148,2214,1691,1646,1708,1729,1967,1864,1843,2041,2353,2414,2242,2203,2663,2467,2085,1941,1765,1817,2069,1943,1933,2490,3111,2265,1991,1941,1875,2040,2199,2422,2940,3417,3440,3371,3229,2435,2020,2364,3012,2431,1958,2011,2039,2050,2163,2382,2006,1734,1621,1671,1710,1967,2184,2076,1823,1678,1593,1559,1674,1703,1628,1531,1546,1772,1789,1755,1908,1712,1655,1793,1946,1624,1148,1898,2524,2107,2076,1985,2062,1951,2592,2106,1700,1622,1459,2087,2701,2535,2243,1964,1843,1882,1955,1755,1608,1424,1627,1827,1946,2138,1912,1656,1938,1986,1556,2228,3110,2653,2512,2679,2176,1615,1902,2113,2091,2149,2077,1874,1535,1629,1798,1523,1656,1696,1582,1455,1609,1641,1829,2592,2345,1577,1843,2023,1664,1323,1521,1806,1928,2053,2091,2049,1692,1565,1572,1594,1605,1811,1841,1597,1436,1393,1461,1526,1584,1504,1476,1842,2829,3404,3145,2815,2177,2622,2416,1787,1946,2339,2496,2459,2603,2580,2062,2022,2050,2895,3017,2021,2417,2195,1581,1576,1567,1522,2131,2753,2636,2937,3018,3518,3748,3903,3916,3936,3573,3164,3090,3304,3221,2261,1542,1643,1770,2160,1780,1760,1439,1469,1811,1682,1569,1861,1938,1657,1838,1550,1439,1576,1814,2225,2475,2234,1991,2196,1853,1526,1722,1732,1365,1292,1628,1366,1372,1337,1504,1533,1721,1660,1691,1794,1687,1659,1744,1802,1963,2033,1846,1853,2050,1935,1843,2187,2006,1636,1701,1613,1405,1887,2343,2270,1685,1297,1381,1483,1395,2109,2181,1689,1576,1594,1522,1408,1248,1416,1925,2114,2190,2296,2500,2266,1759,1907,2253,2220,1874,2264,3116,2917,2095,1871,1879,1899,1872,1940,2058,1614,1596,1576,1803,1694,1464,1432,1534,1830,2147,1780,1676,1787,1619,1209,1609,2321,2272,2031,2277,2493,2176,1775,1877,1722,1724,2031,1943,1688,1694,1963,1698,1462,1404,1432,1581,1548,1513,1759,1946,1720,1723,2103,2083,1736,1631,1995,1812,1801,2142,1571,1522,1309,1600,1889,1943,1807,1580,1720,2116,2938,3076,2396,1677,1562,1338,1304,1395,1485,1882,1935,1740,1727,1931,2291,2348,2465,2823,2412,2023,833,412,957,1435,844,413,974,1428,592,501,976,2154,3024,4073,4301,3398,2438,2054,1931,2672,3595,3630,3520,3518,3620,3547,3542,3457,3690,3327,2354,1972,2307,2064,2243,2257,1700,1605,1857,2261,3095,3117,3007,2666,2180,2097,1822,1632,1755,2391,3123,2619,2446,2591,2709,2275,2170,2169,2490,2436,2326,2493,2503,2250,1510,1651,1821,1654,1973,2377,2393,1985,2112,2084,2220,2062,1737,1560,1457,1505,1246,1543,1492,1490,1924,2056,1489,1407,1730,1758,1560,1407,1528,1537,1398,1587,1794,1963,2156,2174,2207,2351,1977,1798,1686,1588,1781,1789,2546,3602,3893,2950,1920,1770,2076,2253,2056,1715,1614,1534,1331,1804,2118,2103,2268,1704,1654,1622,1432,1419,1688,1720,1507,1519,1776,2120,1966,1963,1798,1855,1766,2105,2190,1857,1796,1896,1753,1557,1582,1419,1687,2378,2556,2670,2585,2445,2519,2671,2114,1688,1591,1614,1754,1699,1847,1831,1768,2385,3020,2572,1924,1897,2080,2436,2185,2088,1937,1803,2711,3654,3907,3297,2445,3198,2764,2187,2151,2260,2243,2362,2647,2644,2567,2463,2632,2439,2702,3069,2984,2375,2224,1969,2460,2964,3130,3046,2361,2013,1881,2068,1874,2225,1913,1670,1544,1621,1677,1714,1910,1792,1770,1616,1626,1640,1472,1334,1427,1427,1492,1644,2130,2073,1672,1913,2159,2086,2664,2386,1861,1929,1738,1699,1936,2112,2382,2350,1763,2188,2894,2260,1949,1730,1815,1587,1965,2062,1964,1771,1985,2070,1583,1446,1410,1456,1415,1425,1469,1374,1344,1375,1718,1944,1668,1368,1353,1469,1622,1777,1814,1683,1573,1472,1478,1868,2144,2349,2288,2441,2382,2127,1983,1951,1720,2159,2130,2648,3320,3436,3341,2758,1904,1473,1455,1545,1844,1871,1937,2627,2747,2785,3305,3477,2763,2015,1938,2164,2135,1989,2718,4094,4168,4125,2909,2460,3032,3216,3003,2358,1612,1614,1642,1604,1793,1994,2221,2192,2156,2663,3023,3319,3852,3862,2890,2929,3249,3074,3362,3758,4003,3094,2055,3044,3161,2821,2855,2506,2344,2392,2377,2452,2655,2514,2389,2515,2583,2548,2142,3020,2855,2125,2468,2482,2216,2482,2074,1994,2447,2361,2110,2339,2148,1757,1975,2112,1940,2152,2712,2599,1783,1502,1656,1903,2294,2187,2579,3098,2706,2334,2566,2347,2083,2624,2248,1515,1705,2134,2306,1868,1571,2050,2094,1669,1320,1218,1635,1854,1926,2036,2071,1896,1831,2283,2222,2682,2785,2439,2112,2014,2310,2122,1765,1865,1942,1974,2196,2320,2713,2787,3071,2567,2066,1900,1952,1990,1908,2282,3024,2190,1607,1781,1971,2307,2488,1989,2218,1987,1831,1502,1968,2695,2757,2625,2343,2192,2391,1842,1475,1460,1826,2259,2144,1877,1690,1460,1731,2223,2115,1583,1761,1731,2094,1731,1708,1670,1700,1975,2558,2962,2492,1641,1765,2125,2378,2876,2211,1995,2166,2434,2399,2265,2215,2946,4034,4429,4804,4904,4132,3191,1820,2377,2139,2318,2630,2895,2788,2612,2136,1631,2100,2792,2791,2204,2458,2571,2668,2775,2789,2348,1869,1970,2048,1645,1888,2092,2344,2348,2198,2498,2297,1938,1991,1859,1860,1835,1756,1737,1560,1489,1521,1571,1741,2114,2168,1805,1959,2091,2258,2252,1858,2002,2775,3195,2432,2001,2005,2135,2231,2214,2063,1782,1713,1750,1965,2185,1824,1903,1830,1887,1940,1982,1917,2046,2020,2113,2291,2712,3454,3052,2664,2175,2156,2543,3062,4104,4360,4342,3403,2213,2001,1614,1623,1705,1785,1852,1827,2943,3530,3370,3301,2920,2409,1877,1522,2293,3142,3153,2829,2944,1685,1394,1456,1520,1471,1439,1430,1446,1460,1490,1613,1872,1608,1402,1422,1354,1394,1405,1368,1546,1520,1337,1294,1360,1530,1676,1781,1877,1763,1728,2059,2457,2533,2160,1763,1766,1833,1693,1493,1643,1791,2038,2592,1925,1453,1400,1504,1460,1317,1439,1482,1529,1788,2025,2648,2095,1637,1415,1471,1577,1732,1575,1467,1544,1484,1477,1553,1486,1539,1792,2136,2198,2122,2057,1876,2489,3064,2785,2586,2286,2171,2844,3152,2078,1910,1773,1743,1891,2130,2663,3348,2955,2525,3007,3598,3784,3534,3415,3210,3011,2957,2824,2741,2856,2912,2319,2109,2504,2085,1708,1777,1681,1593,1722,1379,1584,2087,2587,2232,1665,1607,1707,1729,1728,2072,2657,3107,2643,2763,1982,1754,2075,2165,2079,2019,1792,1714,1736,2115,2105,2084,2271,2182,1642,1681,1791,2069,1894,2136,2397,2004,1836,1594,1495,1528,1692,1942,2423,1737,1534,1528,1459,1537,1812,2180,3020,3184,2501,2278,2008,2361,2321,2474,2464,2053,2022,1968,1802,1913,1759,1793,1836,1657,1752,2132,2349,2486,1990,1679,1562,1619,1720,1883,1934,1597,1814,2057,1954,1988,1954,1920,1976,1897,1905,1955,1803,1748,1773,1758,1571,1646,1455,1384,1631,2158,2471,2358,1611,1459,1620,1495,1495,1601,1731,1702,1719,1847,2499,3256,3278,2567,2120,2215,2263,2113,2133,2116,2031,2058,2899,3452,2689,2116,2389,2753,2263,2025,2154,2042,2107,2075,2038,2067,2064,1757,2189,2412,2900,3029,2513,1976,2094,2548,2523,2655,2571,2559,2316,2137,2314,2406,2316,2113,2257,2408,2486,2579,2385,2440,3014,2707,1769,1860,1840,1838,1641,1637,1679,1923,2375,2350,1865,1720,1670,1820,1575,1925,1888,1871,2846,3078,2712,2491,2423,2103,1708,1891,2808,4284,4451,4177,3310,2531,2499,2380,2381,2266,2309,2740,2790,2509,2903,2798,2819,2740,2271,2144,2030,2025,2160,2497,2535,2670,3242,3973,3725,3741,3471,2529,1720,1654,1751,2614,2837,3018,3661,3586,3103,2687,2212,2154,2727,3520,3964,3615,3705,3632,3032,2893,2682,2464,2710,2774,2906,3056,2849,3083,3178,2518,1543,1663,2671,2898,2589,2208,1949,2447,2831,2510,2916,3045,2964,2879,2832,2577,2521,2527,2636,2519,2004,1946,2203,2245,2112,2743,3030,2732,3225,3581,3297,3155,3001,2670,1973,1444,2201,3297,3095,3332,3489,3008,3020,3073,2996,3176,3208,3182,2976,2917,3015,3027,3116,2942,2736,2931,2586,2423,2825,2907,2702,2678,2801,3042,3483,3160,2644,2545],[2114,1726,1608,1723,2003,2327,2276,2757,2939,2828,3573,3559,3014,2412,2494,2480,2264,2189,2300,2949,4144,4188,3688,3431,3054,3199,3924,3876,4100,3786,3846,3934,3603,3917,3606,2985,2785,2244,1693,1898,2065,1612,1448,1743,1604,1958,1882,1960,1891,1696,1810,1954,1875,1547,1478,1589,1580,1604,1954,1952,2008,1611,1559,1718,1891,1941,2235,3031,2679,2356,2352,1770,1451,1615,1586,1526,1498,1444,1372,1356,1318,1598,1847,1808,1871,1432,1351,1508,1519,1581,1664,1564,1365,1389,1462,1402,1399,1528,1752,2053,1851,1925,1905,1880,1980,2070,2212,2194,1787,1496,1988,2469,1851,1879,1988,1874,1871,1770,2126,2343,1944,1769,1801,1625,1650,1644,2172,2067,2075,2429,2198,1969,2019,1937,1766,1558,1372,1583,1998,1998,1890,1573,1495,1841,2395,2828,2678,1736,1434,1728,1905,1713,1337,1719,2023,1720,1871,2350,2387,2444,2434,1978,1744,2029,2404,2221,2007,1722,1564,2040,2746,3121,2312,1779,1814,1947,2004,1958,2031,1879,1770,2127,2380,2241,1735,1979,2361,1950,1762,1995,2482,2162,1791,2165,1951,1885,2375,2402,2001,1700,1441,1905,2360,2665,2578,2273,1936,2410,2588,2460,2700,2184,2121,2636,2521,2522,2171,1560,1875,2426,2320,1968,1897,1981,1923,1819,1658,1443,1488,1353,1389,1654,1979,2291,2520,2024,1705,2297,2555,2248,2380,2308,2622,2476,2060,2162,2644,2676,2954,2954,2604,2329,2473,2927,2890,2619,2699,2193,2042,1829,2264,2858,3017,2857,2644,2204,1902,2491,3098,3016,2711,3019,2634,2359,2827,2880,2644,2179,1660,1839,1905,1550,1582,1904,1739,1688,1859,2059,2499,2468,2426,1826,2215,2980,2711,2077,2098,1788,1681,1722,1691,1959,2291,2421,2080,2083,2137,2002,1928,2421,2872,2898,3159,3002,2635,2770,2824,2480,2746,3398,3211,2711,2204,1854,1907,2317,2393,1661,1577,1616,1512,1642,1930,2139,2526,2177,1647,1646,1687,1722,1583,1605,1786,1548,1556,1627,1744,1683,1802,1731,1506,1494,1527,1655,2186,2314,1848,1933,2148,2231,2267,2104,1802,2015,1819,1519,1974,2071,2120,2036,1908,2087,2316,2380,2114,1639,1506,1658,1803,2034,2110,1974,1808,1932,1969,1449,2104,2586,2297,2061,2122,2151,2199,2371,2058,2348,2501,2620,1835,1512,1865,1689,1522,1663,1721,1582,1624,1791,1735,1636,1750,1616,1430,1643,1835,1613,1457,1718,1648,1766,1895,1753,1861,1750,1509,1559,1597,1726,1608,1492,1426,1369,1374,1490,1876,2059,1670,1706,2857,4109,4348,3008,2056,1506,1954,2306,2038,2035,2148,2294,2517,2775,2298,1918,1746,1882,2844,3045,2219,2031,1832,1578,1488,1485,1518,1604,2084,1915,1986,1830,2376,3428,3441,3320,3829,3884,3430,3321,3366,2900,1803,1504,1556,1636,1599,1769,1826,1397,1523,1673,1466,1549,1735,1748,1584,1712,1484,1406,1480,1975,2552,2730,2625,2999,3068,2524,2136,2179,2238,1692,1648,2043,1890,1794,1740,1718,1632,1555,1817,2072,2205,1937,1597,1586,1687,1809,1860,1980,2032,2115,1920,1747,1892,1918,1830,2038,1737,1603,1873,1920,1926,1950,1577,1410,1503,1983,2377,1813,1545,1583,1446,1534,1444,1322,1518,1984,2110,2504,2531,2380,2039,1602,1856,2591,2539,1776,1931,2566,2263,1781,1682,1357,1808,1992,2179,2176,1940,2055,1720,1806,1614,1720,1586,1483,1595,2190,1844,1656,1691,1331,1168,1478,2286,2767,2602,1933,1911,1604,1644,1857,1715,1754,1586,1473,1713,1928,2131,2124,1910,1466,1528,1599,1570,1599,1941,1950,1600,1824,2084,2292,2028,1704,1910,1519,1642,1686,1533,1483,1388,1543,1706,1742,1770,1904,2256,2341,2973,3124,3015,2689,2476,2001,1714,1708,1942,2078,2284,2385,2088,1886,1989,2348,2121,2083,2056,1848,1244,839,1369,1605,772,583,993,1421,611,500,1320,1989,3054,4029,4236,3275,2260,2025,1996,2796,3691,3880,3720,3663,3674,3710,3586,3601,3808,3278,2136,1889,2050,1704,1770,1936,1716,1549,1670,1864,2577,2750,2907,2636,2311,2296,1944,1761,2085,2553,2969,2501,2284,2721,2624,2557,2760,2513,2252,2055,1915,2035,2079,1960,1748,2254,1797,1685,2227,2504,2590,2596,2416,2420,2457,2127,1835,1516,1577,1457,1445,1394,1445,1397,1923,1930,1644,1465,1366,1433,1455,1382,1486,1521,1384,1488,1603,1636,1599,1792,2171,2224,1926,1575,1513,1888,1718,1593,2697,2976,3264,2391,1762,1665,1894,2038,1852,1594,1628,1975,1709,1985,1804,1747,2070,1779,1527,1383,1471,1532,1815,1950,1806,1795,1949,2120,2064,1841,2068,2117,1727,1594,1835,1991,1937,1699,1708,1568,1654,1716,1884,2585,2244,2048,2085,1914,2229,2513,2018,1876,1954,1952,2318,2680,2270,2040,2139,2113,2374,2627,2282,2121,2221,2345,1964,1758,2053,2937,3694,3733,3561,2981,2512,2796,2176,2025,2008,1963,1843,2040,2482,2502,2370,2374,2640,2730,2950,2851,2934,2348,2014,2512,2854,2829,2834,2338,1880,1946,2342,2152,2467,2526,1942,1669,1562,1677,1765,1763,1963,1925,1754,1575,1687,1824,1542,1359,1519,1814,1790,1694,1972,1980,2429,2382,1974,1693,2080,1757,1583,1723,1581,1758,1813,1917,2554,2831,2571,2425,2658,2236,1870,1702,1881,1531,1926,2217,1974,1739,2048,2135,1609,1838,1687,1665,1505,1438,1498,1431,1389,1421,1741,2017,1960,1500,1412,1438,1368,1452,2028,2063,1876,1686,1897,2280,2176,1969,2323,2429,1814,1751,1820,2123,1802,1694,2110,3085,3576,2663,2203,2184,1766,1571,1564,1564,1806,1917,2148,2379,2597,2846,3000,3320,2646,1781,1778,1587,1696,2579,3552,4264,4199,4175,3310,3344,3625,3293,2822,2288,2304,2512,2137,1878,2056,2460,3062,2616,2253,2590,2916,3040,3466,3553,2966,2530,2314,2389,2750,3195,3614,3038,2238,2640,2327,2023,2088,2266,2612,2634,2462,2229,2084,2295,2384,2075,2046,2041,1604,2328,2057,2385,2708,2124,2182,2292,2266,2566,2711,2851,2785,2362,1970,1903,1998,1813,2180,2777,2905,2791,2093,1823,1927,2175,2553,2205,2872,3830,3579,2677,2414,2317,1974,2299,2598,2486,2457,2172,1959,1553,1411,2078,2260,1849,1382,1409,1796,1898,1945,1985,2061,1920,2127,2032,1837,3187,2874,1894,1660,1453,1665,1806,1882,2136,1730,1964,2301,2282,2940,3028,2552,2511,2232,1674,1613,1801,2222,3146,2944,1876,1681,2046,1804,2069,2029,2049,2130,2094,1800,1516,1842,2265,2008,1916,2186,2102,2045,1621,1398,1416,1741,2259,2178,1649,1287,1409,1758,2165,1698,1715,1646,2035,2235,2313,2511,2454,2244,2330,2727,2259,2341,1847,1908,1762,1897,2445,2011,1934,2113,2416,2798,2705,2693,3082,3334,4035,4496,4148,3351,2657,1812,1826,2097,2292,2666,2657,2121,1999,1698,1549,1860,2182,2411,2261,2351,2661,2551,2504,2713,2238,1825,2202,2380,1917,2229,1715,2090,2654,2614,2378,2010,1821,1792,1660,2061,1937,1747,1659,1710,1671,1602,1862,2386,2767,2076,1681,2272,2322,1990,1939,1760,1596,1989,2546,2410,2476,2626,2178,1901,1869,1665,1817,2020,2029,1824,1809,1543,1887,1672,1844,1917,2099,2113,2324,3142,3306,3489,3729,3735,3642,3266,1996,1585,2326,2944,3693,4123,3961,3046,1923,2189,1592,1694,1789,1790,1848,2114,2754,3116,3323,3272,3108,2446,1597,1661,2923,2703,2895,2721,2925,2064,1491,1351,1284,1326,1447,1458,1395,1371,1500,1738,2253,1966,1569,1448,1364,1359,1396,1439,1483,1334,1441,1454,1443,1604,1759,1725,2154,1802,1365,1792,2200,2646,2443,1811,1787,1767,1451,1517,1707,1697,2149,2557,2020,1690,1682,1717,1503,1309,1421,1344,1575,2396,2369,2787,2498,1783,1559,1966,2216,1969,1617,1456,1404,1516,1677,1457,1588,1965,1979,1910,2131,2069,2367,2345,2492,2906,2597,1959,1852,2410,3000,2702,1839,1661,1688,1768,1736,1739,1885,2688,3231,2569,2482,3241,3020,2664,2592,2720,2654,2589,2491,2503,2499,2289,1863,1831,1689,1672,1761,1717,1948,1772,1540,1376,1804,2220,2541,2193,1417,1593,2114,1732,1782,2294,2576,2708,2148,2016,1808,2051,2342,2036,1981,2423,2060,1903,2185,2260,2054,2157,2226,2049,1670,1682,1968,2272,2355,2460,2313,1848,1691,1667,1542,1685,2156,2243,2015,2009,2058,1978,1990,2114,2304,2677,3050,2964,2632,2246,2098,2536,3053,2622,2286,2123,1950,1969,1877,1888,1947,1970,1897,1933,1984,1982,2121,2201,2041,1964,1938,1954,1933,1939,1865,1643,2234,2235,1885,1780,1816,1767,1758,1674,1670,1789,1745,1483,1542,1816,1549,1536,1428,1738,1902,2161,2437,2181,1808,1744,1621,1561,1538,1630,1668,1851,2064,2119,2645,2544,2163,2366,2127,2078,2442,2390,2447,1994,2003,2077,2798,3144,2604,2062,2361,2800,2380,1951,2110,2058,2040,2105,2069,1992,1881,1622,1990,2099,2319,3035,2690,1826,1988,2423,2779,2348,1540,1660,1854,2363,2433,2060,2007,2686,3074,2779,2236,2295,2631,2841,2991,2164,1817,1908,1766,1936,1905,1610,1610,1694,1816,2002,1880,1656,1803,2013,1668,1992,1936,2091,2730,2938,2507,2148,2547,2429,2006,2057,2454,2946,2655,2691,2452,2559,2610,2292,2204,2520,2963,2665,2422,2480,2735,2818,2880,2547,2079,2332,2280,1967,2597,2933,1997,2319,2808,3318,3093,3499,3514,2554,1716,1538,1727,2285,2756,2844,2913,3188,3062,2556,2849,2119,2160,2653,3012,2820,3106,3063,2475,2452,2831,3166,2895,2402,2456,2330,2280,3263,3659,3112,2132,2264,2903,2542,1977,2048,2383,2835,2734,2228,2275,2471,2676,3021,3243,3020,2960,3095,2867,2827,2025,1803,1601,1828,1995,2049,2357,2634,3102,3543,3662,3310,2999,2790,2243,2237,2843,3605,3355,3518,3511,3056,2796,2649,2934,3266,3147,3081,2954,3156,3334,3154,2972,3196,3342,3640,3004,2432,2873,3108,2679,2530,2829,2731,3103,2866,2999,3195],[2429,2035,2035,2393,2566,2318,2792,3904,3732,3064,2729,2861,3340,2879,2623,2536,2132,2287,2160,2741,3916,3663,3375,2949,2842,3506,4100,3872,4003,3891,3970,4031,3724,3640,3371,3007,2977,2536,2648,2469,2263,1796,1585,1654,1977,2367,1966,1918,2263,1946,1613,1531,1436,1460,1549,1572,1842,1713,1857,1979,1848,1601,1459,1634,2178,2348,3045,3640,2866,2136,2226,1958,1446,1479,1472,1388,1500,1421,1377,1510,1699,2071,1543,1410,1521,1260,1453,1565,1495,1481,1480,1396,1414,1519,1454,1437,1458,1460,1787,1962,1918,1981,1904,2027,2018,1891,2013,2006,1994,1832,1840,1957,1982,1912,1709,1906,1859,1996,2160,2213,2207,1658,1641,1858,1722,1498,2340,2118,2237,2354,2152,1900,1838,1834,1408,1229,1052,1331,2038,1937,1495,1373,1494,1643,1975,2133,1895,1519,1606,1802,1870,1980,1652,2061,1952,1679,1705,1910,1791,1729,1924,2027,2198,2243,1967,1995,2027,1708,1918,2127,2215,2698,2441,2064,1781,2277,2420,2035,1868,1836,1883,2805,2922,2521,2019,2147,2383,2630,2801,2805,3038,2410,1903,2103,1720,1704,1943,2143,1769,1689,1475,1599,2114,2396,2214,1963,2028,2348,2142,2019,2223,2482,2302,2316,2753,2173,2225,2159,2003,2309,2213,1770,1741,1765,1437,1277,1338,1214,1440,1649,1632,1592,1953,2530,2366,1659,1677,2438,2771,2512,2272,2530,2933,2603,2118,2395,2843,2907,3054,2896,2337,2228,2000,2342,2791,2753,3189,2714,2182,2058,2407,2533,2741,2739,2403,1913,1670,2529,2946,3178,3348,3400,2835,2498,2595,2541,2409,2209,1803,1606,1577,1452,1489,1849,1569,1729,1875,2153,2352,2247,1973,1676,2328,3094,2901,2016,1973,1942,1659,1799,1654,1729,1789,1771,1996,2249,2411,2396,1660,1885,3006,3409,3493,2764,2044,2176,2388,2558,2878,3053,3332,3155,2520,2034,1975,2130,2419,1683,1714,1977,2144,2401,2104,2264,2514,2113,1881,1727,2195,2100,1727,2228,2078,1693,1462,1444,1404,1469,1731,1636,1575,1541,1861,1776,1940,2193,1861,1867,1896,1862,2170,2032,1838,2295,2011,1625,1571,1655,1672,1587,1533,1838,2052,2109,2150,2039,1746,1760,2247,2085,1971,1767,1885,1432,1537,1826,2228,2367,2380,1989,1919,2209,2216,2484,1935,2204,2303,2413,1798,1407,1901,1801,1618,1750,1560,1621,2025,2416,1749,1441,1612,1692,1423,1531,1460,1398,1605,1611,1585,1741,1625,1703,1968,1949,1625,1658,1773,1898,1758,1541,1430,1474,1527,1769,2079,1827,1684,2051,3625,4441,4564,3288,2364,1945,1891,2053,2071,1806,1674,2135,2525,2585,2226,2124,2610,3196,3041,2493,1990,1625,1513,1637,2146,2287,1726,1620,1950,1655,1590,1564,2190,2966,2776,2832,3344,3948,3736,3676,3552,2832,1879,1737,1645,1611,1697,2037,2119,1554,1468,1392,1381,1731,1815,1543,1616,1540,1350,1525,1722,1847,2192,2481,2908,3128,2711,2840,3078,2466,2424,1865,2057,2269,2318,2474,2008,1497,1503,1573,1946,1675,1892,1886,1853,1476,1511,1927,2049,1947,1980,2023,1948,1709,1693,2310,2186,2254,1676,2312,3183,2752,2156,2556,2536,1946,1513,1756,2000,1768,1517,1970,1630,1533,1400,1377,1547,1616,1769,2354,2343,1978,1891,1720,2024,2610,2322,1994,1844,2320,2051,1751,1723,1648,1980,2232,2372,2466,2415,2368,1743,1765,1597,1774,1552,1349,1469,1673,1731,1775,1788,1596,1419,1411,2110,2904,2446,1877,1806,1614,1571,1597,1564,1484,1500,1434,1545,1914,2237,2458,2438,1900,1628,1405,1367,1655,2000,1911,1848,2083,2099,2602,2167,1970,1692,1481,1600,1431,1347,1424,1555,1531,1553,1833,1808,1833,2209,2417,3248,3150,2998,3430,3701,3594,3187,3015,2920,2259,2263,2211,1965,1778,2429,3000,2556,2309,2359,2454,2703,2497,2281,1854,1669,1427,1521,1344,865,688,1643,2159,3099,4005,4100,3204,2194,2124,2049,2883,3741,3996,3684,3243,3317,3549,3312,3564,3950,3442,2380,1795,1819,1660,1483,1493,1423,1384,1449,1520,2009,2415,2337,2092,2114,2141,1952,2110,2338,2566,2909,2647,2296,2480,2296,2206,2470,2590,2875,3053,2621,2350,2127,2280,2424,2356,1747,1699,2226,2410,2580,2836,2808,2847,2564,2519,2242,1688,1622,1447,1407,1394,1456,1620,1773,1773,1716,1677,1579,1504,1642,1423,1268,1333,1446,1383,1361,1359,1390,1545,1793,1823,1833,1591,1732,2143,1479,1500,1837,2453,2665,2247,2016,1822,1626,1476,1688,1693,1879,1970,1864,2043,2149,1925,1548,1503,1506,1468,1556,1541,1565,1706,1940,1994,2104,2002,1846,2009,2568,2294,1503,1473,1816,1921,1991,1866,1885,1856,1795,2181,2624,2765,2056,1966,2279,2171,2314,2416,2172,2039,2184,2222,2341,2895,2189,1838,2502,2464,2226,2154,2198,2259,2333,2452,2286,2314,2919,3265,3592,3684,3177,2598,2483,2175,1973,2027,1801,1993,2122,2214,2261,2021,1888,2140,2420,2249,2105,2361,2921,2590,2164,2571,2744,2626,2724,2348,2118,2137,2113,2027,2695,2692,1844,1609,1660,1698,1821,2026,2080,2172,1709,1480,1527,1480,1578,1585,1900,2679,2394,2047,2058,1973,1989,2079,1719,1434,1553,1426,1688,1606,1475,1487,1354,1937,2427,2881,3201,2641,2270,1952,1587,1532,1460,1367,1997,2331,1654,1697,2182,2529,2303,2341,1856,1799,1773,1440,1364,1394,1382,1593,1951,1913,2121,1688,1610,1418,1358,1389,2196,2483,2520,2580,2387,2269,2038,1512,1650,1617,1814,1723,1740,2256,2128,1707,2015,2667,2595,1919,1855,2188,2387,1875,1609,1631,1665,1920,2009,2065,2329,2647,2852,2790,2109,1737,2443,1964,2135,3530,4264,4168,4220,4296,3267,3344,3462,2961,3242,3041,3185,3517,2846,2413,2654,3251,3619,2786,2120,2225,2309,2479,2752,2789,2543,1965,2032,2544,2912,2328,2343,2510,2232,2403,2200,2012,2121,2429,2829,2665,2258,1730,1780,2699,2750,2155,1943,2119,2221,2119,2030,2691,2422,1779,1798,2086,2470,2644,2603,2752,2792,2254,1827,1814,1726,1681,2461,3070,3066,2846,2470,2428,2413,2620,2338,2500,3224,3350,3475,3110,2331,2236,2019,1927,2214,2985,2981,2807,2296,2143,2011,1857,1906,1604,1315,1493,1640,1901,1727,1671,2000,2073,2293,2366,2521,2743,2523,2212,1647,1544,2036,1811,2185,2276,1870,2074,2377,2666,2862,2808,2820,2799,2057,1760,1686,2018,2603,3264,2600,1969,2099,2353,2260,2281,2280,2280,2088,1872,1561,1613,1710,2038,2031,2116,2206,2414,2553,2338,2176,2102,2498,2633,2189,1812,1696,1948,1868,1789,1520,2176,2251,2090,2197,2260,2041,2132,2316,2689,2752,2665,2729,1898,1712,1736,1674,1678,1758,1737,1926,2146,2187,1923,2414,2303,2380,2806,3055,2650,2419,2184,1676,1498,1393,1935,2159,1832,1699,1792,1656,1786,1836,1756,1976,2404,2562,2292,2272,2608,2284,2077,2386,2280,1995,1901,1736,1463,1580,2264,2531,2143,1902,1625,1742,1927,2260,2154,1953,1850,1807,1492,1797,2204,2090,1979,1681,1800,2229,2104,1740,1826,1823,1598,2173,2587,2227,2003,2069,1970,1904,1843,1840,1894,2001,2215,1581,1365,1460,1528,1622,1885,1930,2026,2285,2481,3410,3396,3671,4112,4273,4244,3814,2453,1630,2260,2861,3305,3718,3642,2978,2142,2176,1524,1614,1768,1768,1875,2399,3032,3418,3354,3253,3219,2225,1418,2271,3202,3151,2881,2584,2678,2061,1338,1013,975,1195,1299,1260,1490,1695,1615,1908,2182,1842,1439,1616,1794,1654,1446,1296,1306,1273,1556,1644,1512,1538,1548,1655,1939,1752,1344,1350,1674,1664,1530,1452,1645,1722,1344,1793,1573,1451,1585,1605,1709,1987,1987,1594,1335,1520,1660,1388,1297,2029,2303,2292,2274,1848,1657,2120,2149,1669,1353,1299,1208,1459,1532,1226,1524,1826,1964,1988,1895,1832,2002,2111,2538,2677,2129,1702,2491,3342,3896,2395,1476,1521,1525,1631,1704,1658,1631,2208,3143,3020,2735,3120,2657,2399,2359,2289,2410,2715,2967,2900,2711,2511,1851,1527,1583,2175,2576,2106,1812,1628,1488,1701,2120,2085,2185,2269,1555,2045,2289,1668,1692,2446,2814,2642,1913,1597,1890,2238,2239,2070,2006,2470,1929,2144,2367,2236,2192,2254,2201,2110,1900,1792,2000,2201,2627,2527,2078,1902,1929,1932,1910,1860,1903,1829,1918,2129,2028,2083,1901,1774,2177,2064,1875,2020,1973,1780,1780,1985,1974,1798,1904,1899,1775,1777,1732,1733,1862,1782,2124,2169,2001,1982,1853,1852,1991,2061,1944,1806,1713,1643,1574,1649,1998,1742,1515,1514,1535,1532,1639,1666,1655,1593,1687,1429,1588,2071,1755,1642,1625,1942,2142,2008,1822,1926,2277,1839,1970,2011,1648,1650,2453,2647,2602,2731,2701,2341,2124,2352,2459,2667,2949,2486,2510,2131,1873,2279,2568,2673,2537,1989,1662,1962,2041,1844,1844,1993,2046,2192,2104,1891,1974,1979,2531,2567,2054,2380,2121,1936,2269,2562,2495,1696,1582,1911,2601,2910,2425,1840,1925,2556,2996,3199,2920,3231,2971,2692,2224,1886,2192,2258,2133,2243,2133,1698,1541,1863,2438,2065,2056,2542,2556,2150,1839,1824,1892,2286,2646,2852,2471,2119,2569,2712,2331,2171,2322,2433,2458,2379,2411,2732,2821,2806,2928,2928,2613,2483,2195,2535,2166,2143,2129,2343,2633,2764,2370,1997,2532,2850,1914,2400,2491,2922,3374,3728,3463,2831,2227,1716,1548,2327,2578,2069,2648,2983,3273,2733,2152,2166,2385,2951,3522,3294,3374,3281,2951,2561,2536,2819,2657,2799,2247,1978,2020,2958,4037,3581,2937,2908,2102,2170,2429,2381,3198,3013,2351,1871,1928,2532,2876,2853,3138,3516,3673,3697,3149,2835,1938,1603,1572,1938,2000,2370,2864,2657,2842,3322,3619,3399,2762,2435,2633,3153,3403,3930,3665,3132,3067,2964,2711,2709,2840,2940,3161,3240,3195,3097,3328,3239,3121,3128,3131,3407,3043,2301,2113,2146,2080,1827,2133,2408,2512,2176,2069,2425],[3086,2753,2558,2754,2868,2483,3318,4329,3990,3598,3055,2940,2855,2988,3459,3217,2899,3194,2426,2425,3347,3416,3438,3108,2852,3511,3682,3207,3422,3685,3737,3713,3731,3395,3178,3021,2574,1936,2277,2513,2691,2293,1920,1958,1985,1923,1866,2348,3000,2144,1564,1527,1534,1345,1386,1616,1778,1612,2087,2485,2246,1693,1362,1665,2298,2449,2486,2423,2425,1935,1798,1799,1506,1467,1421,1519,1776,1600,1743,1628,1592,1760,1638,1539,1466,1362,1794,2189,1910,1522,1482,1608,1662,1592,1510,1582,1584,1542,1661,1682,1648,1413,1542,1927,2138,1956,1922,1696,1743,1874,2004,1951,1973,2058,2171,1894,1506,1567,1776,1781,2081,1495,1357,1570,1331,1622,2208,2001,2752,2958,2510,2281,2231,2033,1590,1371,1496,1718,2061,1749,1431,1446,1677,1912,1891,1904,1648,1572,2014,2272,1860,1825,1964,1903,1959,1662,1506,1550,1494,1536,1699,1929,2165,2047,1960,1994,1807,1817,2122,2197,1858,2301,3186,2604,1517,1640,1751,1611,1656,1854,2242,2994,3000,2494,2420,2676,2604,2710,2526,2462,2898,2944,2452,2338,1982,1903,2069,1890,1500,1443,1776,2002,2157,2410,2308,2248,2729,2634,1748,1803,1865,2272,1856,1728,2366,2228,2164,2322,2232,2291,2446,2285,2042,1822,1469,1425,1499,1386,1468,1626,1607,1525,2010,2670,2271,1888,1876,2125,2601,3051,2454,2790,2993,2143,2080,2607,2761,2820,2937,2840,2443,2476,2213,2093,2186,2181,2432,2753,2519,2368,2205,2118,2588,2735,2398,1666,2068,3155,3319,3536,3554,3271,3123,2920,2518,2314,2409,2503,2033,1901,2037,1662,1964,2277,2386,2452,2088,2723,3274,2798,2029,1914,2590,2581,2104,1860,1826,1876,1816,1732,1681,1800,1681,1897,2344,2314,2127,2348,2030,2293,3042,3419,2956,2334,2157,2421,2762,2480,1924,1864,2216,2227,2460,2241,2579,2207,2599,2761,2842,2662,2452,2526,2298,2363,2368,2359,2807,2228,2424,2128,1940,1741,1723,1725,1450,1461,1617,1499,1579,1729,1768,1663,1859,1703,1814,2116,1917,1621,1419,1574,2057,2270,2074,2223,2068,1826,1416,1796,1868,1512,1494,1726,1816,1765,1768,2054,1869,1598,2137,1718,1539,1686,1661,1460,1594,1798,2369,3212,3286,2329,2154,1802,1606,1984,2116,2020,2002,1763,1544,1465,1510,1498,1700,1915,1568,1681,2065,2539,1706,1594,1642,1271,1396,1727,1583,1508,1592,1607,1627,1712,1491,1723,1718,2125,2025,2017,1906,1598,1670,1672,1490,1495,1847,2196,2209,1780,1938,2162,3098,3205,2720,2160,2178,2202,1882,1859,1889,1759,1720,1960,2115,2043,1956,2391,2872,3123,2944,2540,2556,2195,1604,1991,2980,2576,1826,1660,1562,1730,2590,2944,2885,2675,2492,2733,3022,3616,3718,3680,3288,2205,1677,1712,1936,1857,1439,1636,1790,1558,1590,1549,1393,1798,1880,1627,1736,1558,1518,1834,1794,1783,1802,1963,2338,2415,2152,2447,2459,2304,2735,2859,2646,2166,2424,2667,2095,2017,1936,1862,1968,1830,1626,1534,1654,1568,1884,2298,2248,2054,1864,1939,1914,1809,1771,2062,1962,1936,1698,2831,3416,2324,1707,1942,1995,1712,1518,1461,1670,1804,1581,1825,1646,1449,1298,1413,1647,1575,1664,2032,2226,2038,1857,1674,2104,1924,1779,2556,2199,1785,1686,1928,2046,1961,1819,2008,2294,2626,2248,2087,1744,1656,1636,1664,1489,1457,1692,1838,1855,1853,2346,2191,1785,1725,2031,2436,2044,1856,1564,1534,1498,1607,1730,1456,1504,1656,1532,2036,2358,2169,2364,2200,1755,1599,1641,1725,1326,1150,1996,2308,2284,2544,2530,2354,2182,2250,1746,1478,1484,1438,1414,1489,1588,2127,2154,2083,2128,2408,2886,3023,2818,3016,3710,3990,3709,3703,3270,2338,2340,2408,1976,1961,3019,3484,3404,3223,2770,2978,3734,3689,3119,2676,3063,2857,2386,2123,2251,2037,1975,2295,3398,4276,4095,3051,2238,2025,2111,3118,3873,3962,3276,2415,2646,3382,3614,3651,3765,3455,2668,1892,1961,1785,1414,1285,1330,1427,1512,1645,1778,1673,1572,1677,1786,1839,1826,2189,2420,2577,2962,2811,2208,2119,2295,2188,2250,2525,3160,3565,3497,2917,2351,2613,2866,2600,2168,2113,2284,2368,2317,2601,2754,2535,2220,2242,2004,1896,1635,1666,1669,1431,1609,1848,1964,1716,1672,2149,1924,1553,1503,1411,1418,1440,1374,1430,1528,1481,1429,1486,1568,1688,1732,1798,2032,1940,1692,1718,1630,1783,1820,1813,1946,1920,1563,1508,1703,1755,2182,2089,1770,1880,1848,1720,1738,1737,1647,1455,1557,1476,1460,1495,1766,1934,2062,1775,1594,2020,2326,1963,1504,1593,1953,2260,2083,2019,1977,1981,1979,2100,2432,2465,2260,2436,2556,2597,2320,2315,2274,2348,2272,2157,2287,2210,2013,2127,2047,1954,1916,2167,2114,1958,2162,2215,3078,3733,3652,3078,3274,3474,2779,2030,1999,2071,2192,2400,1852,1847,2362,2314,2558,2360,2248,2489,2294,1904,1758,2275,3175,3418,3270,2464,2439,2595,2382,2423,2353,1824,1688,2447,3028,2530,1698,1553,1721,1683,1902,1991,2163,2334,1739,1343,1334,1417,1597,1646,1869,2534,2395,2346,2146,2072,2024,2010,1702,1493,1469,1405,1475,1590,1675,1415,1422,2026,1674,1999,2535,2238,1736,1637,1550,1461,1401,1480,1984,1660,1417,1637,1722,2308,2898,2317,1638,1508,1435,1419,1353,1348,1424,1644,1926,1916,2055,1778,1482,1616,1504,1490,1837,1881,2244,2413,2084,2408,2013,1379,1406,1450,1721,1826,2082,2360,2032,1645,1641,1849,2080,2370,2666,2594,2601,1925,1668,1656,1566,1792,1968,2144,2368,2456,2577,2266,1880,1837,2866,2639,2998,3929,4472,4507,4613,4673,3478,2896,3769,3793,3741,3701,3739,3808,3583,3318,3248,3333,2917,1953,1938,2447,2769,3007,2895,2630,2803,3116,3142,3181,2635,2340,2568,2315,2270,2438,2152,2014,1982,2518,2976,2600,2012,2069,2255,2286,2868,2898,2504,2467,2501,2374,2118,2825,2858,2474,2094,2164,2103,1925,2020,2175,2041,1835,1861,1898,1622,1556,1796,2371,2752,2517,2596,3185,3912,3453,2559,2697,2758,2706,2894,3021,2812,2634,2366,2144,1922,2302,2450,3090,2856,2499,2048,1482,1672,1699,2026,1806,1895,2149,1838,2101,2604,2619,2358,2453,2486,2140,2600,2712,2524,2379,2840,1771,1760,2003,2000,1984,2298,2555,2566,2701,3256,3149,2288,2137,1896,1967,2906,3277,2558,2013,2279,2584,2310,2012,1955,2080,2054,1631,1541,1533,1688,1960,1938,2018,2050,2391,2665,2719,2698,2453,2486,2670,2338,1977,1919,1914,1837,1555,1756,2281,2108,2033,2383,2449,2236,2114,2749,3561,2766,2197,2397,1954,1946,1977,1502,1569,1836,1252,1397,1467,1648,1700,1941,1807,2176,2067,1976,1901,2056,1987,1720,1459,1510,2029,1903,1669,1734,1876,1760,1875,2017,1918,2039,2569,2597,1954,1904,2506,1874,1600,1664,1536,1385,1527,1608,1558,1840,2646,2458,1981,2049,1839,1688,1865,1893,2170,2322,1732,1210,1342,1953,2092,1763,1943,1804,1598,1593,1434,1617,1651,1646,1709,2088,2274,2014,1561,1885,1748,1753,1850,1921,1891,1844,1787,1631,1740,1784,1638,1614,1797,1876,1730,1842,2335,3150,3237,3904,4245,4058,4201,4168,2833,1597,1974,2583,2762,2598,2460,2323,2137,2055,1436,1532,1830,1794,1817,2214,3096,3623,3683,3582,3395,2496,1990,2858,3021,2901,2763,2765,2603,1993,1735,1466,1472,1702,1952,1982,2205,2298,1985,2028,1997,1538,1479,2457,3065,2520,1727,1453,1550,1328,1353,1456,1367,1478,1925,2347,2281,1949,1490,1402,1470,1512,1444,1332,1473,1610,1477,1644,1452,1376,1583,1548,1540,1793,2041,2025,2024,2100,1927,1385,1041,1312,1614,1691,1763,1613,1675,2008,1926,1570,1428,1338,1256,1510,1363,1293,1494,1544,1589,1802,1749,1569,1774,1944,2466,2602,2208,2630,3190,4112,4041,2274,1560,1617,1557,1647,1702,1699,1688,2139,2822,2395,2942,3671,3389,2876,2518,2482,2687,2946,3068,2895,2794,2756,2477,2149,2415,2996,3095,2216,1581,1676,1999,2340,2646,2287,2197,2498,2208,2068,1882,1786,1859,2138,2393,2271,1968,1955,2025,2160,2140,2098,2088,2020,1908,1991,1985,1945,1930,1920,1927,1852,1771,1898,1909,1859,1947,1876,1929,1864,1906,1860,1736,1676,1605,1646,1962,2047,1541,1793,1553,1560,2156,1702,1478,1554,1479,1400,1393,1453,1599,1774,2015,1726,1514,1709,1520,1547,1597,1473,2126,2464,2208,1976,1663,1695,2187,2366,2089,1896,1677,1441,1542,1572,1549,1460,1405,1603,1670,1506,1581,1727,1569,1516,1788,1627,1573,1886,2121,1982,1603,1708,1707,1636,1660,2185,2283,1695,2098,2144,1746,1663,2648,2785,2463,2724,2611,2566,2564,2613,3090,3517,3431,2567,2463,2544,2573,2823,2829,2822,2519,1902,1588,1844,1794,1732,1526,1920,2071,2046,2072,2204,2481,2458,2630,2354,2141,1831,1603,2264,2547,2858,2246,1688,2178,2523,2647,2351,2064,1840,1863,1832,2504,2699,2805,3006,2824,2482,1820,1817,2248,2171,1940,1579,1569,1984,2133,2415,2674,2264,1992,2262,2500,2248,1950,2036,2159,2191,2185,2762,2637,2236,2297,2334,2553,2765,2720,2648,2555,2434,2786,3028,3194,3455,3381,3128,2174,2228,2159,2315,2354,2037,2061,2293,2464,2589,1910,2002,2657,2423,2287,2678,2284,2129,2898,3494,3459,2996,2539,1937,1596,2263,2089,2192,2879,3204,3669,3008,2256,2689,2845,3195,3495,3374,3343,3562,3131,2076,1691,2408,2719,3360,2994,2567,2446,2721,3511,3351,3317,3051,2387,2490,2589,2702,3208,2421,2035,1999,2033,2232,2073,1857,2246,3539,3559,3152,3238,2744,1960,1788,1903,1988,2293,2908,2471,2104,2790,2758,3241,3466,2353,2531,2792,3321,3641,3504,3042,2732,2612,2541,2580,3146,3741,2500,2931,2692,2351,2688,3140,3311,3352,3272,3009,2758,2507,1967,1843,2176,2075,1722,2060,2481,2503,2228,2207,2858],[2922,2960,3123,3317,3329,2669,2890,2756,2995,3836,4069,3737,2907,2506,2896,2394,2541,2732,2114,2441,2859,3271,3387,3647,3506,3868,3863,3528,3450,3418,3273,3278,3552,3289,3038,3041,2498,2131,2400,3007,3359,2824,2397,2410,1873,1854,1750,2248,2786,2183,1993,1597,1487,1569,1560,1607,1622,1853,2039,1926,1919,1751,1480,1420,2009,2294,1923,1715,2456,2189,1719,1750,1454,1431,1563,1985,2255,1867,1762,1492,1503,1712,1638,1477,1357,1552,2287,2531,1920,1562,1652,2035,1883,1786,1533,1473,1406,1521,1632,1879,1920,1485,1530,1460,1550,1476,1588,1469,1711,1854,1933,1907,1880,2007,2020,1763,1549,1848,2134,1624,1606,1490,1458,1307,1376,2005,2266,2390,2874,2744,2210,1899,1760,1764,1619,1442,1766,2041,1617,1555,1663,1653,2076,2211,1746,1587,1540,1766,1904,1974,2100,2081,1854,1710,1771,1636,1614,1965,2044,1799,2049,1757,1672,1632,2023,2093,1770,1732,1692,1854,2048,2075,2397,2090,1600,1640,1518,1435,1707,1735,2316,2596,2667,2632,2634,2480,2500,2525,2040,1661,2041,2592,2474,2327,1934,1965,2235,2202,1832,1771,2085,2049,2158,2246,2244,2322,2544,2497,2209,2105,2122,2221,1888,1784,2031,1824,1641,2310,2288,2193,2956,3533,3014,1925,1746,1647,1499,1520,1526,1582,1612,1498,2006,2596,2492,2709,2768,2489,2083,2158,1990,2419,2403,1761,2313,2674,2718,2953,3017,3223,3163,2687,2354,2679,2440,2438,2625,2337,2286,1946,2059,2542,2903,3053,2503,1922,2994,3812,4070,4072,3625,3158,3022,3002,2614,2386,2364,2508,1920,2022,1787,2087,2504,2410,2461,2359,2144,2858,3521,2929,1819,1697,2041,1856,2075,1709,1833,1864,1736,1759,1975,2082,1964,1767,1880,1834,2162,2041,1920,2410,2819,2640,2194,2403,2527,2742,3191,2945,2074,1584,1748,1779,1721,1895,2236,2354,2623,2443,2696,2974,2758,2729,2596,2641,2664,2138,2080,2044,1869,1614,1779,2031,1801,1666,1543,1477,1600,1576,1996,2112,1736,1543,1697,1879,1918,1881,1839,1817,1575,1649,2221,2419,1988,1988,2439,2008,1616,1836,1793,1427,1438,1659,1791,1685,1560,1844,2104,2049,1985,1601,1703,2152,2437,2458,1802,1758,1944,2317,2895,2083,1987,1599,1758,1901,1898,1705,1773,1889,2053,1932,1867,1691,1569,1738,1456,1502,1813,1725,1516,1498,1500,1386,1477,1664,1716,1647,1560,1819,1919,1712,1567,1553,1644,1875,1907,2030,1779,1813,1905,1668,1726,1829,2272,1989,2326,2223,1806,1549,1448,1531,1943,2334,2424,2009,1616,1516,1938,1699,1706,1705,1783,1880,2110,2451,2307,2369,2530,2835,3099,2205,1864,2691,2912,2557,2752,2468,1853,2365,3066,3167,3432,2646,2238,1910,2146,3042,3531,3173,2343,1754,1556,2125,2562,1845,1614,1603,1479,1566,1529,1486,1572,1731,1695,1663,1539,1483,1909,2052,1954,2046,1794,2114,2056,2588,2368,2404,2141,2248,2965,3153,2447,2282,2391,2182,2465,2580,1881,1703,1847,2159,2053,1797,1603,1721,1887,1744,1772,2061,1775,1697,1873,1873,1870,1948,1841,1806,2254,3152,3150,2039,1490,1427,1460,1488,1431,1298,1302,1612,1646,1611,1528,1305,1313,1519,1859,1694,1682,1748,2111,2314,2330,1954,1850,1544,1487,2049,1878,897,1119,2152,2324,2027,1617,1791,2200,2136,1859,1653,1698,1712,1578,1731,1769,1792,2321,1996,1744,1929,2144,2178,2126,1997,2099,1701,1668,1780,1580,1476,1509,1381,1521,1431,1613,1789,1465,1796,1869,1713,2028,1901,1782,2002,1974,2092,1692,1478,2098,2536,2519,2103,2306,2432,2496,2489,2125,1784,1670,1717,1575,1740,1543,1667,2034,1769,1816,2476,2944,2903,2735,3061,3427,3673,3595,3571,2751,2373,2572,2633,2037,2071,2764,3182,3663,3594,2946,3128,3554,3683,3012,3184,3542,3388,2841,2940,3523,3341,2526,2284,3343,4185,4007,2839,2281,1907,2151,3357,3791,3756,3574,2649,2090,2766,3308,3481,3319,2918,2451,1923,1570,1573,1394,1264,1294,1378,1615,1757,1682,1652,1460,1604,1671,1578,1577,1930,2245,2123,2020,1967,1691,1807,2126,2295,2517,2738,2878,2718,2812,2842,2574,2501,2820,3030,3042,3099,2777,2585,2459,2562,2605,2442,2011,1603,1528,1672,1604,1606,1623,1527,1548,1593,1698,1490,1672,1726,1554,1389,1412,1529,1599,1491,1376,1423,1404,1504,1470,1367,1389,1492,1688,2107,2198,1920,2040,2316,2200,2087,2195,1694,1627,1561,1656,1540,1682,1566,1726,2020,1960,1725,1660,1725,1572,1719,1656,1537,1608,1577,1478,1586,1725,1868,1741,1577,1628,1706,2029,2091,1469,1499,1993,2186,2173,2029,1855,1902,2273,2339,2079,2192,2387,2466,2431,2328,2064,2103,2293,1992,1919,2029,2071,1759,2144,2480,2063,2497,2543,2125,1854,1627,1917,2131,3176,3768,3726,3620,3589,3165,2352,1937,1977,2082,2453,2418,2132,2104,2125,1864,2244,2035,1719,2026,2525,2527,1803,2158,3216,3631,3488,2210,1999,2093,1911,2232,2439,2208,2557,2963,2313,1855,1898,1851,1881,2027,2046,1699,1673,1716,1626,1510,1524,1532,1443,1353,1425,1707,2013,2155,2243,2235,2395,2289,1899,1713,1625,1404,1393,1720,1627,1746,2072,1975,1550,1666,1909,1752,1562,1504,1698,1859,1662,1518,1689,1448,1649,1663,1639,2027,2110,1743,1532,1403,1372,1412,1413,1470,1530,1629,1575,1814,2178,2017,1661,1537,1322,1437,1858,2163,2279,1837,1620,1930,1810,1655,1572,1487,1587,1903,2136,2053,1843,1760,1805,1729,1960,2117,2376,2497,2597,2069,1839,1694,1569,1722,1721,1932,2220,2279,2671,2271,1900,1971,2541,3004,3508,3626,4073,4372,4253,3898,3072,2461,3404,3671,3696,4083,4201,4157,3679,3330,3134,2913,2310,1900,2447,2765,2844,2723,2524,2158,2695,3016,3043,3210,2544,2330,2535,2251,2566,2777,2337,2645,2245,2392,2695,2632,2715,3041,2831,2442,2620,3110,3430,3123,2298,2037,2151,2798,2735,2123,1870,1981,1725,1342,1524,1717,1620,1649,1798,1910,1616,1601,1477,1521,1574,1919,2885,3297,3120,2808,2476,2106,2157,2481,2551,2595,2042,2017,2052,2196,2302,2167,2056,2360,2425,2448,2080,1389,1613,1714,1922,2143,2388,2458,2354,2414,2734,2832,2500,2223,1878,1880,2317,2430,2501,3154,2822,1912,2122,2426,2204,2024,2149,2732,3020,2611,3091,2833,1881,1918,1928,1623,1885,1948,1675,1637,2093,2160,1649,1649,2200,2428,1978,1760,1672,1945,2635,2515,2376,2313,1869,2156,2479,2431,2413,2107,2212,2209,1794,1665,1721,1900,2081,1808,1977,2303,2452,2846,3119,2842,2566,2580,3187,3571,2929,2884,2894,2378,2474,2397,2018,1905,1730,1415,1588,1468,1436,1630,1533,1565,1840,1696,1640,1585,1898,1621,1731,1477,1448,1707,1714,1567,1406,1634,1937,1952,2075,2244,2604,2785,2376,1869,1722,2429,2612,2231,2024,1948,1972,2384,2770,2599,2473,2558,2258,2067,2145,2167,1864,2022,2026,2051,2263,2136,1833,1795,1964,1648,1580,1968,1869,1690,1562,1575,1557,1584,1771,1870,1708,1694,1833,1552,1807,1447,1520,1552,1537,1730,1621,1498,1448,1549,1671,1636,1543,1754,1773,1791,2099,2792,3170,3140,3399,3562,3863,4347,4183,3056,1724,1786,2280,2453,2193,1922,1847,2082,2073,1451,1503,1788,1821,1820,2101,3032,3773,3794,3571,3453,2648,1989,2564,3123,3033,2819,2744,2846,2383,2640,2114,2127,2144,2270,2291,2293,2189,2009,1879,1759,1584,1701,2337,2337,2226,1722,1566,1324,1291,1533,1404,1237,1460,2055,2232,1955,1494,1266,1469,1480,1520,1534,1461,1528,1517,1277,1278,1288,1498,1750,1631,1687,1708,1951,2514,2756,2796,2047,1570,1334,1219,1630,1723,1548,1636,1929,2018,1786,2043,2141,1574,1467,1403,1305,1436,1431,1411,1638,1746,1887,1720,1966,2372,2952,3176,2954,3021,3408,4207,3618,2249,1783,1667,1715,1838,1691,1716,1673,2595,2640,2030,2814,3423,3250,3312,3089,2817,2801,2999,2977,2924,2821,2737,2644,2469,2592,2891,2615,2011,1850,1992,2153,2136,2077,1895,1874,2089,2011,1897,1859,1794,1797,1783,1794,1768,1866,1804,1777,1776,1907,1881,1761,2013,2082,1867,1836,1565,1476,1459,1484,1671,1819,1958,1720,1874,2221,2041,1875,1956,2040,1827,1732,1653,1661,2041,2474,2191,1493,1813,1891,2117,2145,1817,1588,1447,1439,1146,1222,1534,1744,1636,1594,1489,1762,2114,1816,1656,1710,1523,1696,1860,1850,1930,1962,1779,2080,1799,1643,1877,1902,1830,1779,1521,1394,1602,1492,1609,1749,1476,1435,1462,1475,1488,1741,1772,1711,1760,1864,1644,1394,1417,1448,1557,1964,2443,1825,1628,1820,1615,1464,1552,1955,1896,2039,2379,2439,3112,3620,3361,3420,3738,3098,2243,2365,2728,2861,2749,2194,2634,2349,1750,1474,1516,1577,1633,1456,1568,1823,2135,2203,2226,2706,2514,2332,2286,2329,1901,2098,2613,2705,3120,2540,1912,2198,2370,2484,2314,2145,1804,1835,1953,2170,2415,2503,2424,2467,2253,1837,1876,1879,1693,1991,1848,1797,2360,2351,2610,2632,2121,1925,2008,1965,1821,1977,2087,1934,1960,2247,2181,2156,2144,2303,2626,2806,2714,2563,2520,2462,2331,2647,2909,3575,3709,3471,3384,2852,2491,2486,2454,2274,2176,2248,2054,1996,1901,1659,2534,3375,3254,2690,2304,2016,1868,2113,2750,3142,2699,2164,1847,2010,2169,2205,2205,2494,2968,3311,2823,2623,3584,3642,3708,3719,3475,2889,2998,2706,2081,2321,3175,2565,2529,3141,2908,2714,2996,3261,3551,3374,2728,2810,2789,2664,2359,2022,1904,2001,1932,2062,1945,1805,1728,2047,3812,4057,3780,3483,2918,2475,2294,1999,1791,2170,2250,2098,2054,2461,2463,3190,3660,2831,2531,2599,3034,3395,3278,3043,2972,2826,2741,2607,3505,4354,3045,2832,2471,1930,2226,2844,3075,3128,3231,2870,2585,2655,2621,3086,3284,2551,2193,2248,2316,2546,2783,2705,3184],[3228,3307,3075,3315,3552,2890,2327,2458,3377,4025,4191,3718,2706,2602,3186,2320,2674,2701,2309,2915,3266,3255,3525,3996,4107,4146,4232,4124,3974,3461,3068,3660,3459,3120,2888,2663,2492,2661,2877,3373,3428,2992,2997,2417,1603,1518,1744,2501,2583,2292,2395,1969,1534,1556,1666,1583,1720,1898,1736,1526,1631,2032,1644,1460,1515,1638,1546,1565,1934,1836,1833,2105,1653,1560,1534,1980,2228,1834,1804,1581,1671,1685,1380,1344,1362,1880,2388,2345,2073,1596,1339,1687,1747,1659,1390,1368,1585,1545,1489,1802,1989,1643,1550,1509,1362,1494,1427,1494,1617,1910,2342,2237,2158,1936,1962,2010,1845,2109,2300,2079,1660,1483,1323,1327,1656,2017,1980,2412,2404,2103,1958,1659,1600,1837,1633,1376,1578,1577,1372,1512,1776,1826,1896,1700,1555,1613,1775,1966,1962,2000,2040,1674,1664,1823,1788,1743,1538,1915,2202,1723,1754,1633,1570,2172,2422,1793,1465,1677,1592,2020,2257,1750,1695,2417,2120,2135,1969,1626,1689,1631,1770,2039,2351,2556,2214,1924,2080,2387,2329,1776,2238,2751,2491,2001,1754,2071,2272,2163,1833,1842,1830,1774,2120,1852,1882,1708,1924,2548,2637,2458,2566,2121,1553,1612,1738,1848,1744,2210,1942,1646,2380,3458,2820,1723,1542,1572,1594,1544,1607,1722,1704,1765,2355,2670,2515,2712,3145,3087,2408,1957,1821,2046,2316,2151,2590,2706,2605,2598,2657,2817,3243,3275,3276,3521,3382,3207,2891,2494,2575,2171,2463,3049,3272,3140,2607,2735,3540,4080,4363,3812,3294,3159,3002,3208,2800,2401,2328,1954,1890,2086,2589,2719,2025,1818,2169,2456,2036,2052,2419,1931,1722,1822,1666,1928,1942,1649,1753,1742,1909,1982,1819,1828,2146,2286,1811,1677,2078,1699,1705,1994,2244,2428,2246,2189,2326,2705,3231,3075,2289,1648,1499,1525,1673,1949,2060,2645,2865,2346,2426,2719,2482,1854,2364,2724,2718,2307,2442,2240,1797,1653,1756,1892,1720,1677,1627,1588,1368,1468,1916,1940,1848,1685,1780,1781,1857,1933,1942,2094,1621,1415,1682,2057,2072,2245,2056,1815,2165,2490,2120,1738,1790,1631,1590,1583,1526,1802,1930,1747,1963,1881,1942,1947,2233,2547,1805,1664,1540,2056,2447,2173,1948,1644,1740,1886,1691,1656,1528,1623,1851,1970,2036,1997,1874,1801,1666,1605,1552,1527,1709,1751,1570,1366,1643,2085,1665,1486,1871,2067,1772,1594,1695,1519,1478,1486,1546,1685,1730,1887,1677,1387,1652,2109,2604,2518,2302,1855,1672,1457,1346,1678,2337,2728,2602,1839,1775,1903,2165,1963,1865,1865,2163,2542,2711,2640,2437,2778,2920,3049,2673,1996,2179,2824,2928,2863,3276,3050,2226,2806,3254,3119,3109,2408,1806,1515,1366,2381,3254,2607,2176,1897,1548,2292,2447,1794,1950,1718,1501,1523,1503,1504,1790,1769,1479,1399,1340,1661,1870,1770,2349,2284,1987,2383,2474,2857,2707,2405,1828,1686,2264,2549,1793,1885,1649,1979,2598,2213,1929,2097,2476,2730,2569,2231,1914,1776,1734,1590,1668,2220,2373,1714,1817,1998,2060,2008,1770,1991,2502,2952,2675,1855,1554,1461,1448,1620,1350,1228,1219,1505,1770,1782,1468,1186,1274,1471,2055,1888,2157,2146,1994,2218,2289,2412,2160,1785,1580,1450,1493,1083,1183,1599,1860,1659,1372,1516,1714,1589,1559,1569,1695,1721,1644,1889,2044,2171,2182,1718,2077,2547,2242,2112,1873,1605,1620,1548,1751,1637,1750,1529,1412,1427,1470,1352,1426,1553,1665,1756,1702,1874,1983,1804,1910,1945,2187,2728,3008,3334,3109,2850,2715,2123,1750,2020,2119,2271,2659,1848,1498,1475,1431,1480,1423,1475,1710,1618,2055,2724,3086,2747,2304,2383,3081,3496,3770,3774,2802,2435,2736,2652,2020,1976,2420,3255,3532,3382,2508,2503,2728,2919,2439,2912,3481,3287,2998,3278,3772,3496,2730,2641,3711,4215,3992,2800,2186,1909,2431,3576,3842,3742,3420,2307,1743,1921,2356,2874,2561,2194,2087,1817,1536,1500,1469,1444,1359,1532,1735,1642,1595,1663,1552,1611,1563,1646,1749,1954,2145,1858,1637,1576,1491,1516,1892,2812,3118,3231,3038,2640,2484,2719,2746,2408,2650,2946,3078,3331,3211,3108,2851,2621,2256,2491,2416,1797,1650,1633,1613,1307,1412,1577,1523,1526,1474,1766,1879,1758,1588,1320,1358,1545,1572,1477,1368,1346,1369,1453,1567,1578,1448,1387,1629,2159,2413,2212,1936,2155,2370,2624,2485,1995,1692,1625,1613,1533,1618,1561,1781,1959,1844,1591,1665,1818,1378,1274,1499,1562,1682,1666,1448,1550,1807,1689,1548,1840,1826,1608,2056,2127,1521,1420,1534,1510,1802,1888,1774,1674,1896,2132,2126,2414,2332,2182,2248,2039,1933,2048,2023,1967,2129,2021,1825,1687,1769,1747,1792,2832,3030,1964,1578,1524,1689,1851,2114,2527,3075,3474,3518,3107,2511,2504,2082,1623,1932,2237,2318,2164,1862,1593,1826,2171,2001,1748,2110,2358,2032,1924,2752,3051,3198,2543,2005,1920,2257,2520,2174,2205,2840,2260,1716,2067,2194,2199,1760,1778,1815,1557,1581,1671,1822,1956,1807,1456,1631,1540,1348,1274,1567,2002,1923,1822,1828,1803,1634,1941,1905,1673,1612,1837,1904,2333,2025,1604,1765,1797,1570,1525,1597,1822,2286,2100,2020,1802,2198,2193,2229,1859,1584,1907,2170,1863,1546,1363,1410,1416,1420,1517,1580,1530,1393,1460,1710,1557,1395,1439,1382,1284,1633,2103,2302,1786,1610,1571,1645,1534,1448,1537,1827,2179,2017,1857,1697,1933,2042,1683,2164,2358,2488,2761,3084,2719,2096,1906,1917,1684,1550,1919,2172,2177,2792,2852,2215,2260,2585,3194,3156,2733,2727,2784,3450,3348,2521,2069,2481,3370,3912,4245,4237,3949,3548,3231,2907,2398,1942,2131,2430,2469,2642,2632,2164,2083,2619,2954,3007,2681,2275,2179,2191,1813,2585,3140,2713,3526,2542,2543,2995,2843,3087,3101,2776,2586,2468,3242,3488,2885,2340,2131,2181,2169,1893,1615,1717,2156,2082,1929,1994,1847,1783,1678,1898,2021,1803,1737,1548,1639,1566,1803,2656,2686,2040,2258,2660,2288,2604,2287,2427,2988,2597,2119,2063,2073,2195,1989,2083,2248,2676,2513,2073,1551,1738,1858,1964,2728,2610,2178,2086,1724,1642,1879,1921,1795,1596,2032,2045,2264,2336,2488,2498,2381,2171,2178,2110,2165,2188,2633,2326,1778,2364,2407,2029,2198,2013,1631,1511,1682,1866,1901,2100,1952,1542,1428,1848,2032,2016,1931,1680,2014,2332,2118,2875,2957,2182,1799,2113,2276,2122,1642,1579,1721,1423,1106,1059,1562,1745,1614,2314,2613,2450,3044,3063,2624,2613,3017,3382,3119,2808,3135,3174,2310,2344,1980,1794,1749,1583,1388,1364,1330,1420,1727,1684,1709,1850,1558,1513,1487,1864,1604,1760,1635,1644,1755,1614,1454,1392,1949,2632,2792,3100,2564,2389,2515,2162,1832,2164,3117,3465,3318,2950,2192,2336,2779,2791,2692,2310,1823,1902,1990,2252,2194,1993,2190,2013,1618,2160,2068,1803,1698,1901,1757,1785,2074,2132,2130,1954,1600,1584,1633,1714,1744,1996,2416,2026,1669,1631,1698,1600,1436,1387,1489,1686,1671,1618,1697,1667,1754,1644,1731,1898,1813,2409,3400,3779,3527,3295,3393,3968,4660,4511,3288,1833,1671,2139,2750,3325,3035,2023,2105,2082,1534,1692,1788,1800,1837,2121,2954,3466,3410,3500,3607,2800,1917,2166,2454,2151,1900,1970,2843,2430,2658,2395,2193,2360,2384,2248,2171,2024,1923,1799,1853,1783,1658,1684,1440,1575,1598,1454,1272,1465,1541,1348,1220,1376,1536,1356,1447,1434,1428,1567,1656,1531,1475,1518,1692,1498,1150,1423,1418,1415,1454,1973,2277,2208,2188,2520,2624,2798,2256,1882,1702,1460,1792,1848,1552,1512,1578,1726,1552,1900,2072,1797,1561,1274,1324,1377,1364,1527,1694,1668,1898,2094,2155,2309,2547,2548,2679,2785,3275,3675,2932,2093,1841,1861,1836,1770,1720,1823,1828,2841,3112,2900,3189,3065,2722,3007,2840,2657,2417,2382,2269,2299,2321,2276,2155,1991,1945,2056,2069,1835,1869,2087,2097,2187,1996,1638,1681,1764,2007,2277,1838,1484,1399,1671,1634,1635,1674,1527,1462,1921,2171,1862,1960,2772,2759,2166,1799,1447,1536,1490,1430,1517,1613,1614,1502,1425,1880,2105,1697,1726,1787,1673,1703,1575,1640,1876,1704,1646,1649,1844,1820,1755,1660,1642,1598,1464,1524,1210,1530,1588,1794,1642,1561,1881,2126,2182,1902,1884,1852,1803,2181,2449,2874,2930,2673,2131,2149,1889,1523,1688,1982,1910,1554,1499,1547,1837,1802,1809,1807,1331,1485,1860,1614,1484,1713,1840,1812,1638,1519,1386,1334,1496,1598,1675,1843,1796,1484,1749,1963,1749,1626,1475,1698,1912,1839,2107,2060,2629,3249,3206,3361,3823,3061,2144,2497,2612,2830,2397,2082,2862,2496,1781,1594,1598,1556,1513,1456,1580,1477,1530,1911,1992,2021,1881,1845,2116,2103,1902,2570,3196,3218,3042,2579,2249,2415,2214,2425,2444,1882,1758,1785,1961,1831,1576,1971,2547,2503,2292,1993,1756,1544,1958,2338,2143,2084,2151,2028,1975,1858,1834,1840,1888,1966,1886,1668,1704,1932,2732,2674,2144,2290,2597,2824,2702,2418,2409,2072,1744,1727,2216,2630,2778,3403,3344,3137,3462,3250,3063,3052,2934,2732,2397,1967,1865,1606,1367,1801,2654,2976,3003,2788,2344,2074,1976,1776,2064,2412,2318,1953,2310,2408,2174,2214,2167,2423,2596,2967,3530,3143,3913,3339,3328,3242,2756,2858,2607,2277,2042,2621,2968,2262,2683,3059,2543,2245,2723,2911,3238,2844,2768,3334,3370,2810,2230,2035,2092,2425,2934,2978,2734,2721,2318,2641,3476,3595,3263,3106,3156,2605,1936,1870,1948,2358,2502,2467,2380,2531,2735,3081,3469,3277,2751,2685,3032,3015,3086,3363,3396,3362,3187,3074,3677,4007,3110,2518,2249,1947,1964,2257,2531,2697,2818,2696,2460,2505,2604,2814,2930,2427,2025,2111,2447,2714,3063,3072,3309],[3450,3627,3377,3496,3894,2943,2210,2958,3433,3497,3521,3023,3263,3616,4110,3586,3208,3050,2920,3205,3576,3500,3737,4213,4185,4299,4444,4239,4057,3048,3097,3839,2973,2174,2082,2110,2525,3145,3489,3315,2733,2540,2603,1963,1462,1331,1918,2821,2673,2030,1931,2211,2574,2273,1657,1466,1649,1770,1546,1345,1476,1688,1636,1602,1483,1471,1551,1580,1999,1951,1627,2037,1744,1741,1797,2018,1986,1986,1867,1611,1640,1548,1454,1516,1787,1863,1842,2339,2662,1891,1594,1754,1801,1715,1388,1580,2011,2036,2651,2920,2645,2098,1928,1716,1391,1760,1870,1656,1820,2151,2544,2231,2514,2312,2132,2031,1860,1808,2105,2009,1876,1745,1484,1358,1505,1706,2084,2269,1793,1673,1918,1527,1483,1854,1620,1282,1291,1394,1396,1565,1825,1864,1902,1684,1835,2069,2100,1960,1892,1998,1758,1333,1856,2050,1739,1623,1459,1311,1544,1814,1746,1664,1604,1924,2142,1827,1656,1706,1757,2037,1737,1550,1566,1797,2128,2292,2086,1656,1543,1471,1508,1651,1861,2003,1733,1805,1860,2023,1960,2070,2366,2159,2121,2036,1957,2331,2374,1869,1529,1749,1681,1996,2414,2084,1986,1788,1729,2223,2667,2645,2435,1631,1524,1703,1868,2083,2472,2493,2281,1756,1538,1632,1604,1406,1389,1743,1912,1672,1718,1907,1785,2158,2589,2915,2779,2094,1998,2780,3022,2670,2327,2287,2494,2428,2644,2642,2789,2921,2850,2744,3018,3406,3632,3655,3520,3321,2642,2317,2564,2830,2771,3060,3264,3230,3312,3548,3991,4220,4319,3271,3402,3327,3176,2876,2265,2013,1810,1503,1740,1958,2304,2136,1488,1477,1711,1794,1655,1562,1609,1557,1743,1906,2118,2260,2029,1816,1563,1568,2218,2723,2075,1926,2064,2460,2034,1852,2070,1935,1928,1987,2049,2302,2349,2545,2592,2897,3041,2577,2100,1616,1418,1567,1765,1848,2035,2924,2953,2183,2543,2674,2098,2080,2378,2327,2444,2298,1980,1842,1861,1839,1684,1555,1694,1635,1834,1602,1596,2091,2117,1873,1726,1753,2130,1731,1993,1941,1904,1886,1830,1509,1761,2272,2600,2491,2001,1841,2113,2318,1899,2220,2354,1859,1555,1456,1708,2144,1867,1684,1913,1908,1625,1665,1757,1539,1677,2138,1730,2211,2532,2151,1783,1574,1593,1612,1587,1541,1562,1666,1637,1676,1664,1589,1682,1665,1824,2137,1772,1490,1583,1554,1560,1639,2139,2189,1935,1821,2021,2010,1699,1600,1663,1753,1505,1592,1511,1481,1800,1856,1622,1392,1776,1938,2214,3000,2436,1415,1447,1546,1843,1783,2122,2471,2462,2038,1889,1797,1748,1964,2095,1806,1874,2502,2945,3084,2734,2621,2758,2722,2285,2037,2293,2887,3271,2866,2913,2624,2449,2845,3186,3065,3078,2653,2543,2053,1295,2212,3015,2301,2215,1665,1526,2221,2745,2729,2030,1580,1424,1427,1493,1522,1725,1793,1567,1426,1462,1904,1876,1531,1580,1792,1821,1987,2524,2900,2785,2230,1935,2379,2341,2166,1483,1666,1625,2011,2379,2361,2416,2723,2830,2526,1981,1924,2055,2163,2370,2175,2229,2379,2071,1651,1646,1851,2192,1971,1908,2018,2252,2967,2196,1690,1493,1451,1430,1310,1116,1338,1413,1453,1776,1449,991,845,951,1404,1983,2053,2431,2374,2072,2023,2367,2449,1876,1720,1646,1556,1734,1534,1360,1338,1610,1784,1642,1561,1809,1805,1720,1693,1790,1702,1858,1853,1969,2243,1701,1615,1959,1966,1929,1861,1606,1574,1431,1477,1593,1527,1938,1949,1681,1755,1565,1454,1423,1624,2056,1777,1674,1809,2028,1986,1751,1702,2042,2605,2830,2835,2858,2896,2635,1901,1577,1543,1501,1721,2077,1653,1542,1838,2103,2003,1574,1589,1804,1971,2627,2703,2583,2353,2335,2531,3150,3651,4017,3623,2659,2424,2430,1999,1859,2277,2800,3529,3201,2847,2167,2120,2193,1976,1755,2011,2332,2291,2284,2684,2964,3056,2535,2884,3920,4425,4026,2849,2083,1919,2708,4093,4209,3779,3348,2159,1704,1690,1889,2199,2104,1823,1759,1611,1526,1536,1507,1504,1462,1556,1671,1515,1526,1599,1856,1911,1574,1512,1568,1721,1838,1803,1877,1660,1494,1492,1752,2401,2653,2777,3138,3051,2682,2820,2966,2433,2655,2801,2749,2883,3207,3587,2806,2189,2430,2998,2559,1719,1467,1710,1868,1548,1594,1571,1360,1422,1591,1820,1809,2108,2082,1577,1573,1700,1702,1561,1460,1428,1484,1545,1513,1660,1673,1395,1519,1669,1577,1557,1787,1854,1932,2281,2635,2420,2010,1795,1621,1698,1868,1913,2424,2317,1880,1682,1624,1807,2100,1764,1367,1448,1845,1920,2029,1869,1748,1437,1580,1773,1598,1493,1549,1725,1689,1672,1654,1737,1766,1958,1902,1628,1350,1598,2083,2436,2221,2149,2188,2076,2115,2194,2025,2141,2308,2115,2164,2266,2033,2030,1809,1978,1963,1781,1824,1864,1649,1937,2380,2155,2229,2518,3075,2535,2557,2428,1874,1608,1687,2021,1981,2084,1927,1837,1971,2097,2236,1747,2018,2018,1851,1863,2134,2172,2583,2708,2230,2104,2237,1837,1534,1658,1998,1768,1901,1763,2192,2306,1845,2011,1933,1628,1638,1703,1720,2031,1716,1526,1701,1485,1377,1332,1553,1886,2028,1839,1482,1527,1813,2267,2213,2415,2077,2056,2099,2034,1708,1666,1867,1661,1519,1413,1564,1933,1836,1911,2073,1814,2417,2543,1980,1472,1560,1955,2251,2091,2121,1709,1341,1288,1405,1566,1550,1344,1447,1506,1421,1396,1415,1476,1466,1532,1875,2100,2534,2114,1675,1512,1609,1559,1618,1845,1748,1904,1849,1765,1903,2061,2257,1659,1922,2698,3010,3361,3649,3508,3142,2913,2398,1828,1745,1901,2105,2009,2464,2452,2182,2430,2842,3283,3250,2998,2397,1918,2469,2303,2235,2000,2180,3453,4356,4420,4219,3813,3294,3008,2719,1880,1858,2120,2155,2288,2908,2647,2012,2006,2259,2972,2625,1901,1554,1728,2193,2163,3109,3331,2885,3123,2618,2800,3252,3007,2934,2951,2630,2746,2690,2613,2502,2343,2382,2079,2024,2029,2053,2162,2502,2698,2244,2047,2554,2547,2248,1511,1698,1968,1998,1814,1572,1609,1809,2108,2532,2379,1947,2223,2898,2894,2865,2819,2907,3160,3032,3076,3065,2311,2186,2137,1933,2561,3470,3456,2866,2259,2515,2592,2221,2610,2751,2058,1733,1595,1480,1547,1804,2343,2381,2314,2214,2209,2282,1982,1986,2236,2070,2011,2194,2306,2320,2455,1974,1660,1776,1855,2060,1915,1648,1719,1749,2474,2474,2297,2244,2020,1919,1853,1729,1797,1845,1772,1711,1801,2142,2325,2736,2366,1962,1795,1903,1980,1707,1487,1521,1486,1360,1326,1356,1853,1660,1625,2254,2281,2020,2710,2687,2457,2201,2321,3029,2946,2497,2656,3278,2784,2282,1415,1485,1788,1625,1421,1512,1967,2448,2438,1997,1864,1745,1764,1527,1788,2167,1787,1992,2094,2026,1951,1677,1519,1754,2083,2785,3030,3398,2365,1800,1768,1692,1770,2171,3083,3614,3487,3111,1985,1995,2311,2432,2563,2133,1753,1772,2050,1898,1676,1769,1810,1678,1741,2231,1649,1888,1696,1510,1716,1601,1697,1881,2037,2161,1660,1774,1947,1730,1689,1703,1974,1659,1555,1954,2024,1699,1617,1374,1242,1552,1811,1703,1648,1580,1712,1707,1624,1747,1664,2012,3085,3681,3750,3731,4023,4228,4629,4628,3592,2113,1638,1975,2692,3924,3780,2424,2541,2154,1544,1654,1743,1733,1819,2254,2897,2843,2812,3184,3474,2957,1951,1591,1736,1754,1806,1807,2659,2648,2570,2208,1985,2066,1932,1852,2001,1885,1842,1733,1643,1632,1722,1665,1512,1690,1687,1354,1365,1450,1386,1251,1181,1194,1191,1153,1349,1415,1517,1598,1587,1498,1480,1551,1633,1479,1222,1382,1440,1245,1332,2123,2263,2250,2088,2089,2559,2735,2202,1976,1635,1493,1791,1640,1410,1300,1295,1510,1465,1453,1522,1533,1496,1315,1346,1388,1400,1601,1388,1640,1763,1881,1803,2214,2287,2059,2508,2680,2931,2684,2153,1941,2238,2223,2271,2397,2422,2192,2176,2498,2566,2430,2321,2177,2182,2188,2049,1974,2084,2242,2121,2029,2100,2264,2199,1883,1788,1787,1854,1548,2071,2802,2343,2095,1915,1628,1785,1810,1782,1920,1637,1476,1447,1576,1359,1419,1380,1414,1598,2026,2040,1687,1857,1928,2056,1859,1631,1374,1689,1690,1634,1724,1846,1662,1613,1458,1524,1647,1717,1596,1327,1411,1416,1376,1563,1510,1424,1609,1872,2165,2026,1882,1609,1463,1544,1438,1532,1239,1623,1661,2245,2222,1925,2127,2091,1852,1616,1650,1543,1890,2657,3413,3450,3123,3010,2603,2372,2325,1848,2033,2386,2178,1731,1928,1919,1598,1490,1728,1673,1532,2122,2191,1532,1487,1570,1849,1836,1599,1417,1434,1426,1844,1932,1930,2036,1813,1636,1651,1741,1656,1602,1511,1705,1882,1683,1737,1669,2173,3057,2957,3030,4013,3251,2334,2779,2231,2574,2756,2798,3034,2715,1944,1774,1813,1824,1636,1470,1715,1511,1500,2042,1966,1764,1573,1820,2145,2058,1916,2436,2905,2971,2492,2363,2214,2254,1982,1854,1854,1752,1888,1795,1909,1864,1633,2139,2733,2669,2193,1824,1695,1356,1960,2858,2954,2249,1805,1830,1787,1787,2035,1970,1805,1834,1846,1886,2281,2280,2491,2288,2177,2535,2640,2640,2685,2657,2646,2075,1786,1822,2631,2722,2292,2752,2985,2985,3124,3017,3431,3429,3316,2642,2027,2068,1967,1854,1463,1714,2274,2167,2401,2634,2162,2270,2120,1930,1919,1981,1929,1830,2222,2154,1969,1793,2041,2471,2697,2873,3501,2850,3044,2720,2546,2475,2083,2075,2168,2121,2293,2258,1991,2036,2500,2369,2291,2178,2137,2677,2907,2223,2491,2989,2763,2708,2850,3010,3266,3031,3793,3364,3652,4019,3664,3183,2790,3086,3257,2879,2970,2586,1740,1802,2189,2163,2265,2430,2686,3144,2884,2379,2918,3243,2735,2379,2677,2494,2657,2975,2830,2835,2994,2985,2974,3253,3130,2635,2499,2424,2199,2175,2557,2815,3083,3083,2428,2645,3032,3384,3190,2520,2409,2571,2553,2294,2514,2412,2343],[3522,3870,3982,4116,3936,2774,2452,2871,2570,2246,2570,2886,3081,3925,4159,3782,3509,3805,3784,3550,3560,3442,3724,4027,3816,4200,3724,3969,3970,3403,3718,3462,2422,1881,1740,1999,2408,3353,3658,3460,2814,2513,1987,2187,2135,1672,1717,2394,2596,2038,1940,2269,2122,1794,1888,1625,1876,2252,1930,1532,1347,1282,1478,1724,1839,1969,1724,1527,1961,2485,2532,2568,1688,1716,2232,2252,2144,2014,1750,1935,1886,1542,1536,1599,1630,1785,2082,2685,2520,1706,1770,2059,1967,1546,1536,2009,2216,2766,2936,2735,2332,1995,2132,2148,2097,2624,2440,2106,2046,2024,2362,2162,2222,2261,2278,2086,1990,1884,1738,1833,1849,1883,1777,1654,1471,1395,1726,1560,1494,1672,1678,1478,1310,1350,1391,1314,1316,1605,1514,1554,1439,1883,2082,1943,1975,1960,1668,1417,1524,1871,1726,1417,1962,1910,1813,1974,1786,1415,1595,1826,1538,1482,1559,1777,1900,1753,1895,1749,1650,1403,1121,1499,1784,1843,1924,1909,1650,1281,1343,1499,1600,1612,1540,1706,2016,2070,1742,1743,1830,2220,2188,2001,2598,2644,2190,2199,2505,1921,1858,1889,1706,2153,2511,2236,2065,1985,1884,2265,2852,2654,2028,1668,1645,1694,1764,2122,2774,2962,2652,2046,1640,1669,1798,1565,1532,1756,1932,2101,1831,1928,2082,2435,2956,3166,3030,2379,1568,2017,2620,2740,2829,2994,2626,2592,2569,2746,2911,2645,2389,2519,2953,3320,3406,3200,2763,2910,3076,3340,2986,2950,2592,2497,2710,3032,3593,3734,4216,4038,3724,3009,3262,3105,2950,2292,1604,1615,1886,1774,1604,1589,1873,2050,1614,1642,1619,1552,1671,1628,1678,1918,1744,1579,1984,2050,1866,1696,1591,1513,2059,2294,2238,2141,1864,1751,1533,1862,2822,2670,1818,1508,1789,1851,2216,2796,2868,3029,2802,2740,2604,2022,1772,1696,1613,1675,1731,2566,2899,2361,2674,2854,2424,2642,2518,2156,2035,2045,2122,2268,1804,1650,1522,1500,1662,1682,1519,1581,2277,2758,2532,1887,2080,2135,2340,1934,2112,1760,1618,1835,2311,2188,1957,2366,3019,2452,1927,1781,2192,2133,1877,1976,1910,1719,1789,1735,2188,2338,1693,1693,1755,1526,1593,2064,1932,1859,1807,2340,1968,1881,2104,2148,2046,1835,1785,1609,1501,1504,1661,1707,1632,1433,1480,1615,1552,1524,1759,1687,1378,1548,1516,1341,1444,1543,2153,1930,1649,1809,1930,1677,1725,1911,1847,2030,1682,1553,1683,1759,1722,1639,1558,1394,1606,1519,1623,2188,1758,1382,1381,1384,1477,1542,1942,2302,2214,1819,1539,1518,1696,1899,2106,1823,1898,2703,3226,3431,2621,2394,2619,2798,2639,2221,2534,2866,3103,2718,2447,2121,2869,2980,3006,3017,2940,2701,2633,2093,1425,1933,2812,2195,2402,1804,1432,1961,2423,2593,2004,1465,1412,1436,1536,1713,1673,1541,1674,1512,1608,1713,1751,1670,1561,1389,1536,2191,2813,2732,2784,2504,2356,2567,2686,2360,2260,2350,2216,2270,2598,2354,2166,2568,2258,1991,2021,1925,2084,2163,2113,2307,2619,2498,2010,1738,1496,1708,2242,1964,1720,1791,1902,2316,1986,1855,1697,1533,1573,1185,984,1614,2249,2568,2718,1851,1122,1184,1257,1508,1934,2138,1957,1928,1880,1674,2074,2215,1711,1609,1793,1626,1547,1374,1202,1333,1772,2185,1927,1816,2176,1786,1775,1746,1848,1742,1632,1433,1424,1414,1437,1647,1530,1654,2175,2127,2312,2154,1742,1558,1554,1453,2024,2902,2592,1980,1633,1433,1341,1555,1778,1610,1840,1989,2271,2487,1996,1739,1785,1780,1838,1941,2213,2512,2378,1725,1718,2308,2208,1861,1657,1622,1644,1886,2440,2375,1681,1809,2320,2542,2599,2577,2521,2728,2922,3105,3365,3850,4209,3548,2264,2179,2196,2004,2272,2552,2706,3331,2888,2452,2165,2103,2326,2160,1844,2176,2310,2177,2050,2251,2354,2208,2110,2868,3986,4344,3859,2776,2050,1903,2939,4151,4202,3907,3210,2112,1802,2114,2110,2045,1933,1641,1742,1665,1478,1484,1562,1450,1475,1562,1528,1466,1397,1507,1896,1854,1412,1415,1654,1646,1534,1720,1754,1600,1445,1523,1524,1545,1642,2268,3219,3149,2780,3137,3161,2480,2626,2875,2862,2900,3232,3122,2374,2164,2680,2977,2066,1621,1389,1566,1737,1736,1669,1459,1400,1498,1794,1816,1764,2241,2062,1591,1619,1460,1508,1443,1444,1499,1570,1566,1426,1584,1661,1329,1454,1392,1413,1617,1959,1884,1876,2051,2135,2155,2127,2040,1901,1889,2046,1879,1955,1990,1726,1527,2172,2481,2359,2173,1907,2251,2183,2098,2151,1702,1548,1242,1471,1482,1404,1497,1601,1670,1643,1857,2232,2173,1691,1735,1797,1892,1573,2059,2568,2775,2403,2207,2114,1945,1930,2045,2038,2222,2378,2104,2149,2350,2544,2599,2332,1811,1552,1664,2021,2143,1923,1999,2494,1903,1803,1709,2086,2075,2098,1970,2210,1992,1832,2254,2354,2125,1774,1945,1931,2066,2071,1851,2133,2081,2168,2200,1968,2085,2607,2933,2796,2031,1683,1438,1550,1491,1279,1653,1902,1749,2084,1999,1888,2007,1910,1560,1471,1528,1496,1799,1584,1499,1492,1331,1346,1466,1499,1635,2010,1902,1812,1769,1841,1979,2194,1908,1503,1942,2071,1840,1642,1879,1822,1740,1616,1465,1584,1860,1730,1629,1511,1454,1808,2198,1842,1565,2252,2988,2874,2388,2254,1882,1597,1453,1454,1758,1792,1788,2061,1577,1465,1485,1360,1265,1260,1547,1927,2157,2334,2326,2268,1948,1760,1831,2019,1840,1730,1639,1731,2365,2646,2609,2786,2358,2668,3116,2910,3730,3870,3603,3090,3100,2774,2017,1768,1958,1978,1772,1971,2135,1900,2174,2885,3111,2874,2798,2337,1958,2299,2420,2380,2089,2021,3009,4295,4616,4376,3848,3160,3017,2388,1769,1982,2234,2580,3038,3682,3395,2564,2169,2276,2621,2250,1909,1626,2046,2519,2634,3251,3007,2861,3051,2634,2480,2901,2775,2337,2412,2105,2592,2410,2125,2126,2289,2931,2891,2355,2385,2366,2194,2064,2087,1862,1870,2832,3276,2392,1304,1375,1871,2033,1908,1588,1588,1816,1930,2536,3166,3124,2499,2898,2799,2555,2996,3054,3147,2856,2919,2709,2317,2280,1938,1650,2609,3038,3104,3410,3103,2934,2988,2565,2068,2322,1842,1489,1596,1638,1600,1726,2448,2589,2416,2258,2231,2238,1899,1433,1975,1832,1642,1897,2634,2626,2341,1964,1678,1560,1574,1818,1637,1566,1642,1593,1945,2244,2269,2022,1991,2279,2259,2288,2216,1796,1585,1655,1895,2231,2258,2166,1959,1810,1933,2232,2149,1527,1317,1524,1713,1696,1634,1600,1880,1543,1860,2184,2469,2898,3177,2878,2321,2009,2159,2912,2806,2522,2608,3388,2819,1898,1290,1620,2008,1628,1594,2077,2836,3000,2758,2153,2077,1923,1958,1692,1965,2111,1839,1832,1763,1724,1763,1839,1768,2744,2333,2306,2409,2729,2034,1699,1501,1543,1779,1942,2408,2964,3371,3282,2619,2294,2158,2423,2429,2162,2013,2293,2483,1872,1561,1566,1725,1967,2026,1799,1471,1556,1843,1634,1658,1704,1407,1623,2131,2245,1909,2327,2474,1831,1687,1835,1836,1690,1662,1752,1518,1577,1603,1296,1310,1338,1552,1733,1780,1516,1570,1762,1702,1662,1732,1956,2743,3115,3929,4092,4124,3558,3640,4376,3925,2490,1702,1804,2561,4132,3994,2818,2596,2198,1501,1626,1815,1751,1824,2388,2662,2700,2971,3106,3410,2812,1931,1635,1793,1880,1883,1709,2160,2576,2246,1841,1951,1606,1324,1494,1949,1838,1843,1812,1592,1469,1566,1482,1375,1684,1738,1298,1275,1289,1314,1167,1168,1168,1296,1235,1250,1180,1145,1251,1412,1415,1433,1553,1620,1302,1383,1442,1423,1268,1356,2010,2212,1721,1459,1832,1993,1710,1661,1823,1566,1743,1830,1590,1500,1323,1339,1528,1521,1336,1162,1135,1357,1638,1649,1510,1346,1502,1685,1781,1604,1536,1820,2149,2205,2381,2585,2258,2216,2109,2088,2120,2395,2567,2492,2272,1991,1887,1928,1981,2081,1914,1689,1780,2500,3161,2735,2126,2215,2122,1676,1678,1802,1850,1569,1669,1969,1876,1864,1775,2332,2762,2173,1924,1771,1722,1835,1794,1636,1664,1507,1422,1494,1324,1154,1249,1507,1733,1689,1759,1748,1648,2077,2095,2017,1635,1381,1834,2101,1688,1569,1727,1644,1824,2008,1829,1675,1666,1750,1706,1524,1386,1616,1523,1516,1632,1772,1750,1768,2049,1895,1920,1511,1456,1449,1464,1524,1338,1460,1660,2234,2600,2869,2986,2548,1832,1387,1528,1542,1252,1847,2698,2661,2469,3006,2963,2168,2278,2018,2098,2094,1928,1806,1627,1772,1638,1440,1439,1389,1389,1600,1621,1649,1879,1719,1826,1623,1570,1598,1520,1531,1865,1905,1778,1878,1880,1879,1627,1624,1603,1646,1485,1599,1740,1722,1384,1062,1686,2533,2799,3067,3500,2762,2471,2792,2272,2328,2755,3045,3218,2818,2250,2292,2044,2070,1884,1889,2082,1924,2100,2158,1714,1376,1656,2021,2102,1979,1993,2570,2706,2756,2586,2097,2055,2036,1507,1505,1681,1962,2133,1777,1705,1745,1744,1946,2028,2177,1842,1825,2084,1795,1846,2303,2238,1809,1641,1791,1674,1687,2612,2264,1674,1524,1642,2177,3032,3006,2268,1913,1976,1748,1609,1881,2706,2725,2386,1918,1898,2376,2750,2235,1874,2247,3051,3247,3238,2910,3176,3230,3098,2553,2141,2359,2215,2009,1958,1984,2162,1782,2220,2040,1786,1967,2105,2389,2218,1930,1716,1697,1828,1874,1787,1916,2409,2532,2544,2595,3123,2798,2359,2525,2673,2825,2215,1896,2280,1976,1778,1687,1919,2876,3234,2929,2609,2165,2061,2513,2611,2087,1920,2177,2640,3193,3369,3610,3554,2874,3382,3473,3542,3850,3540,2867,2958,3549,3616,3010,2608,2912,2789,2578,2292,2412,2723,3055,3157,3285,3065,2719,3032,2687,2162,2358,2644,2647,2712,2662,2229,2289,2585,2340,2523,2728,2697,2643,2546,2693,2546,2229,2372,2428,2688,2707,2741,2996,3116,3347,3049,2653,2390,2335,2570,2452,2690,2481,2518],[3771,4002,3747,3609,3337,2684,2495,2161,1713,1358,1792,2301,2854,3773,3917,3829,4099,4015,3727,3988,3657,3197,2953,3480,3880,4446,3767,3582,3304,3264,3827,3504,3007,2669,2336,1766,2555,3856,3737,3459,2872,2166,1656,1829,2350,2544,2205,2142,2076,2339,2226,2504,2133,2179,2019,2171,2491,2728,2474,1948,1772,1357,1321,1732,2155,2227,1827,1661,2021,2753,2767,2096,1570,1890,2397,2323,1808,1579,1926,2164,2042,1593,1241,1394,1395,1429,1637,1984,1949,1819,1670,1728,1672,1451,1544,2076,2500,3175,2969,2410,1822,1791,2320,2697,2814,3400,2424,2040,1750,2057,2143,2150,2054,1927,1694,1601,1734,1716,1814,1946,1743,1708,1660,1952,1879,1847,1667,1622,1825,1635,1597,1592,1527,1565,1583,1455,1367,1660,1405,1349,1484,1927,1895,1814,1760,1577,1791,1608,1556,1644,1508,1343,1589,1672,1909,2017,1891,1605,1627,1517,1321,1339,1552,1820,1909,2097,2248,1992,1921,1998,1690,1777,2051,2033,1850,1828,1565,1383,1721,2201,1855,1843,1465,1907,2327,1998,1655,1576,1764,2612,2555,2396,3052,3062,2601,1937,1852,2189,2463,1838,1763,2586,2834,2620,2509,2050,1968,2395,2710,2365,1807,1624,1970,1849,1684,1760,1759,2028,2348,2169,1795,1525,1660,1633,1538,1977,2148,1913,1600,1849,2264,2769,3046,3017,3031,2935,2410,2126,1744,2103,2940,3277,2990,2746,2586,2734,2779,2499,2110,2054,2598,2916,2984,3310,3206,3178,3495,3687,3784,3905,3311,3020,3461,3510,3505,3397,3663,3641,3398,3023,2755,2210,2234,2427,2032,1573,1561,1433,1503,1496,1621,1615,1695,2032,2092,2219,2025,1693,1867,2094,1930,1589,1656,1685,1808,1886,1634,1825,2525,2449,2455,2178,1697,1858,1738,1827,2523,2391,2274,1846,1765,2148,3125,3511,3378,2987,2524,2496,2331,2097,2068,2001,2123,2035,1774,1987,1936,2001,2742,2868,2693,2869,2669,2198,2049,2332,2251,2115,1801,1470,1543,1766,1655,1701,1830,2036,2250,2460,2567,2523,2847,2331,2078,2071,2252,2047,1762,2021,2433,2515,2497,3132,3517,2213,1986,1721,2133,1792,1621,1620,1453,1626,2099,2117,2274,2414,1904,1903,1558,1699,2092,1970,2131,2330,2031,1919,1959,1885,1736,2035,2056,1904,1685,1696,1673,1793,1816,1676,1575,1498,1596,1716,1402,1512,1834,1756,1589,1581,1663,1436,1426,1476,1693,1761,1686,1744,1600,1548,1548,1683,1685,2007,2217,2087,1965,1747,1568,1680,1655,1479,1597,1411,1528,1842,1662,1418,1356,1340,1527,1626,1714,1882,2036,1908,1673,1625,1882,1640,1708,1911,2186,2713,2903,3089,2880,2819,2908,3042,2979,2640,2918,2391,2114,2479,2104,2097,2331,2502,2691,2925,3087,2299,2054,2150,1807,1961,2862,2469,2692,1931,1412,1671,1802,2027,1806,1543,1504,1501,1561,1824,1598,1338,1499,1810,1969,2263,2352,2089,1829,1499,1798,2728,3042,2645,2785,2660,2619,2648,2916,2812,2662,2549,2502,2671,2603,2695,2590,2120,1675,1742,2283,1672,1781,2339,2428,2338,2503,2481,1898,1438,1540,1658,1764,1667,1614,1678,1660,1824,2004,2236,1943,1552,1598,1176,1072,1813,2519,2686,2763,2526,1750,1415,1360,1389,1798,2189,1947,1568,1384,1435,2226,2685,2185,1645,1818,1779,1660,1581,1664,1821,2104,2495,2145,2058,2050,1590,1625,1622,1785,1952,1754,1474,1693,1752,1670,1787,1903,1560,1707,1742,2155,2102,2045,1830,1826,1925,2775,3046,2266,2211,1780,1607,1703,1610,1736,2220,2093,1970,1850,2359,2439,1992,1924,1829,1791,1888,1756,2004,1893,1727,1956,2678,2388,1779,1653,1497,1420,1543,1658,1770,2247,1932,1797,2056,2575,2293,2520,2730,2791,3253,3278,3551,3518,2954,2768,2836,2392,2659,2890,2847,3120,3406,2734,2247,2150,2206,2325,2139,1777,2324,2546,2423,2425,2259,2025,2317,2327,2746,3920,4283,3711,2454,2048,1995,3211,3875,3834,3806,2867,2065,2122,2493,2525,2094,2042,1779,1711,1437,1336,1527,1642,1488,1555,1555,1611,1586,1463,1548,1570,1519,1588,1600,1742,1792,1630,1819,1860,1645,1546,1676,1646,1704,1896,2426,3120,2677,2235,2996,3205,2711,2600,2753,2857,2877,2887,2490,2121,2389,2866,2785,1808,1564,1566,1590,1635,1589,1454,1343,1391,1675,2088,2093,1760,1615,1302,1346,1540,1464,1431,1412,1498,1575,1596,1583,1459,1597,1432,1478,1499,1377,1581,2091,2183,1749,1766,1908,1879,1780,1993,2069,2170,2082,1999,1966,1803,1665,1520,1416,1974,2149,2041,1902,1870,2111,2132,2105,1735,1511,1420,1308,1449,1471,1508,1638,1786,1763,1843,2139,1975,1764,1515,1594,1758,1868,1626,2014,2217,2380,2567,2420,2424,2067,1790,1958,2026,2062,2150,2036,1908,1903,2062,2319,2186,1743,1616,1761,1881,1732,2110,2322,2575,1924,2255,2306,1885,1846,1806,1809,2015,2095,2173,2763,2575,1822,1896,1662,1591,1912,2175,1963,1698,1935,2067,1764,1971,2904,3465,3350,2850,2009,1664,1793,1735,1333,1030,1365,1855,1992,1837,1744,1981,1788,1607,1475,1494,1542,2012,2493,2172,1650,1643,1580,1510,1670,1497,1531,1868,1881,1871,1859,1703,1514,1733,1732,1741,2042,1964,1978,1935,1763,1536,1892,1620,1467,1616,1800,1638,1600,1576,1399,1395,1978,1944,1792,2145,2359,2279,2486,2396,1785,1489,1623,1732,1936,2210,2590,2365,1752,1529,1513,1422,1414,1338,1384,1669,2134,2435,2780,2643,2160,2077,1889,1865,1903,2127,1951,1934,2737,3156,3074,3120,2652,3010,3494,2535,3351,3738,3572,3099,3238,3019,2380,2107,1804,1677,1795,2238,2901,2554,2357,2632,2675,2361,2021,1679,1841,2428,2488,2378,2201,1807,2291,3821,4527,4441,3758,3218,3197,2631,2522,2548,2496,2690,3221,3726,4050,3464,2745,2575,1971,1939,1825,1703,1869,2267,2554,2351,2360,2397,1976,1943,1835,1930,2048,1800,1460,1697,2273,2157,2098,1927,2473,3131,2245,1819,2282,2153,2038,1706,1553,1760,2228,2710,3050,2490,1819,1861,2147,2057,1862,1497,1453,1526,1570,1952,2832,3210,2670,2584,2316,2296,2790,2828,3365,2856,2564,2024,2113,2150,1856,1995,2596,2451,2713,3595,3365,2841,2858,2859,2150,2025,1653,1610,1825,1624,1684,1943,2225,2454,2296,2280,2554,2268,1988,1620,1933,1588,1415,2054,2946,2487,1779,1744,1778,1635,1476,1383,1134,1189,1402,2057,2900,2812,2178,1814,2154,2426,2342,2442,2099,1560,1569,1583,2313,2469,2191,2437,2617,2686,2502,2095,1959,1614,1642,1714,1562,1610,1547,1840,1698,1610,2053,2456,2791,2670,3022,2977,2625,2734,2885,3364,3098,3056,2837,2721,2147,1619,1416,2020,2543,1875,1735,1882,2374,2943,3011,2963,2565,2093,1934,1959,2128,2010,1724,1569,1643,1678,1606,1677,1794,2109,2085,2190,2354,2166,1635,1406,1382,1759,1956,2165,2094,2298,2575,2879,3089,3018,2898,2775,2458,2164,2252,2135,1946,1812,1503,1422,1818,2843,2391,1634,1542,1873,2231,1894,1873,1904,1519,1953,2664,2280,2132,2410,2173,1772,1744,1566,1707,1970,1811,1801,1585,1640,1584,1465,1581,1640,1613,2213,2231,1647,1427,1707,1799,2052,2155,1867,2648,3562,4044,3963,3730,2653,2160,3174,3705,2701,1791,1752,2390,4217,4244,3365,2438,2142,1551,1493,1714,1683,1843,2129,2492,3427,3278,3125,3401,2620,2040,1620,1626,1729,1689,1615,1862,2414,2446,2188,2128,1849,1774,1951,2099,1919,1952,1844,1549,1428,1470,1433,1423,1629,1705,1506,1323,1722,1412,1226,1208,1274,1238,1140,1188,1167,1224,1354,1519,1461,1427,1598,1591,1161,1235,1333,1296,1257,1274,1522,1797,1688,1560,1870,1454,1339,1506,1821,1620,1673,1501,1361,1307,1324,1484,1579,1598,1402,1222,1179,1277,1451,1423,1521,1546,1525,1673,1818,1738,1631,1971,2025,2544,2536,2323,2149,2105,2074,2044,1970,1979,1977,1784,1779,2117,2412,2242,1975,2931,2524,2286,2471,3156,3307,2415,1785,1846,1660,1552,1451,1377,1500,1213,1838,2396,2156,2230,1969,1921,2329,2203,2257,1806,1866,1887,1519,1583,1530,1410,1321,1413,1483,1385,1376,1493,1433,1498,1565,1694,1744,1714,1638,1638,1749,1522,1665,1688,1220,1044,1483,1895,1798,1803,1499,1381,1613,1638,1670,1699,1661,1765,1568,1588,1909,1784,1744,1841,1543,1428,1536,1446,1584,1650,1547,1603,1533,1311,1648,2169,2115,2188,1937,1640,1656,1301,1382,1235,910,1346,2142,2675,2931,3206,3276,2335,1976,1718,1857,1815,1884,1899,1666,1549,1474,1418,1418,1446,1193,1264,1634,1759,1898,1620,1679,1740,1735,1584,1592,1989,1875,1786,1689,1813,1777,1842,1714,1688,1712,1650,1449,1620,2029,2109,1295,953,1698,2009,2634,3053,2758,2070,2033,2785,3068,2855,2890,3094,3255,2589,2072,1960,2160,2332,2431,2837,2365,2019,2065,1807,1722,1926,2328,2276,2253,2205,2157,3008,2644,1994,2114,2078,2320,2122,1604,1676,1747,1962,2145,1931,1737,1746,1968,1854,1846,1856,1781,1862,1871,1987,1987,1676,1660,1699,1805,1762,1668,1689,2264,2045,1615,1535,1659,2088,2958,3154,2089,2125,2245,1745,1616,1543,2300,2576,2339,1757,1754,2247,2446,2207,2053,2221,3050,2964,2609,2851,2899,2929,2641,2417,2568,2666,2604,2396,2220,2047,2036,1219,1327,1727,1937,1954,2714,2924,2364,2045,1981,2209,2414,2053,1901,2363,2408,2211,1651,1597,2465,2555,2335,2361,2241,2301,2181,2224,2443,1968,1569,1555,1989,2797,3030,2820,2498,2417,2584,3356,3298,2631,2147,2053,3395,3819,3360,3002,3066,2929,3374,3772,3599,3681,3330,2961,3329,3820,3619,3350,3087,3428,3777,3373,3064,3270,2976,2619,2846,2858,2501,2252,3084,2720,2403,2975,3184,2956,2858,2814,2621,3000,3367,3065,2950,2734,2784,2705,2490,2458,2334,2476,2307,2133,2479,2512,2755,2516,2424,2887,3227,3131,2843,3030,2931,2769,2996,2788,2912],[3311,3775,3682,2832,2421,2763,2447,1868,1598,1853,2386,2490,2730,3398,3196,3624,4224,3460,3238,4284,4036,3397,2943,3273,4140,4732,4548,3863,3195,3626,3826,3970,3854,3111,2321,1958,3319,4079,3879,3493,2544,1699,1449,1594,2279,3146,3229,2628,1973,2145,2312,2380,2350,2807,2887,2975,3116,3243,2978,2551,2188,1464,1309,1629,2091,2075,1899,1969,2357,2887,2578,1742,1941,2285,1962,1621,1541,1574,1814,1862,1814,1562,1365,1360,1299,1294,1389,1352,1632,2191,1648,1638,1581,1547,1948,2176,2476,2625,2375,1708,1574,1920,2617,2912,2780,2833,2483,2345,2096,2730,2712,2199,1979,1619,1523,1877,1841,1526,1540,1643,1627,1563,1652,1695,1744,1855,1865,1857,1596,1445,1504,1417,1551,1519,1460,1417,1436,1486,1366,1587,1733,1506,1391,1626,1618,1433,1794,1653,1514,1514,1329,1327,1526,1729,1760,1555,1571,1586,1614,1455,1344,1539,1570,1638,1636,1972,1876,1772,2082,2093,1820,2123,2231,2118,2136,1976,1621,1555,1694,2219,1878,1810,1624,1713,1776,1501,1640,1848,2066,3119,2851,2966,2913,2812,2965,2945,2374,2347,2484,1816,1696,2918,3248,2679,2311,2024,2066,1654,2535,3195,2483,1725,1986,1899,1797,1776,1629,1647,1932,1853,1665,1474,1588,1849,1832,1571,1546,1649,1927,2254,2701,3075,2956,2910,2824,2916,2912,2997,2817,2415,2619,2884,2768,2664,2736,2720,2697,2635,2396,2396,2655,3043,3257,3104,3175,3392,3578,3694,3824,3937,3696,3339,3740,3705,3233,2845,3132,3393,3205,2709,2469,2532,2187,2202,2339,2007,1735,1431,1480,1509,1627,1572,1628,2098,2338,2483,2539,1870,1526,1643,1874,1686,1677,1512,1844,2105,1948,2304,2591,2710,2546,1854,1650,1960,2137,2242,2019,2013,1819,1648,1886,2979,3611,3256,3252,3150,2801,2456,2482,2526,2378,2411,2559,2447,2172,1970,2298,2959,3132,2957,2920,2942,2836,2042,1991,2190,2207,2315,2202,1941,2082,2121,1721,1817,1953,2002,1979,2092,1972,1897,2202,2398,2162,2136,2512,2562,2117,1991,2106,2143,2789,3458,3275,2292,1781,1687,1770,1590,1591,1678,1788,2086,2007,1972,1877,2453,1991,2142,1738,2133,2706,2769,3186,3054,1933,1687,2270,2574,1878,1852,2049,1753,1650,1791,1739,1629,1497,1548,1932,1968,1616,1650,1471,1606,1669,1951,2090,2306,2718,2514,1832,1799,1882,1661,1619,1635,1597,1557,1568,1566,1842,2208,2296,2068,1908,1747,1623,1650,1760,1823,1738,1550,1415,1708,1503,1428,1494,1388,1444,1540,1509,1603,1772,1786,1781,1759,1802,1781,2270,2547,2762,2744,2389,2467,2474,2710,2834,2777,2830,3134,3228,2152,1710,2311,1916,1642,2126,2575,2611,2810,2815,1755,2162,2752,2855,2630,2974,2867,2728,2113,1683,1705,1641,1610,1460,1422,1466,1593,1905,1794,1458,1393,1904,2186,2009,2220,2302,2465,2461,1736,1843,3056,3057,2580,2315,2076,2297,2543,2966,3106,2857,2654,2543,2801,2731,2913,2542,1711,1562,1694,2032,1612,1805,2391,2483,2656,2792,2612,1952,1587,1678,1838,1841,1698,1555,1718,1855,1951,2226,2278,1917,1927,2176,1487,1349,1988,2242,2098,2437,2494,1954,1559,1423,1323,1555,1904,1613,1342,1611,1704,1937,2175,1904,1630,1809,1828,1827,1993,1806,1692,2445,2767,2343,1908,1932,1648,1554,1650,1856,2058,1878,1703,2114,2161,2144,1947,2167,1920,1662,1632,1448,1884,2251,2195,2069,1936,2403,2052,1924,1999,1789,1708,1826,1783,1819,2169,2172,1935,1807,2316,2236,1948,2062,2423,2060,1883,1731,2280,1860,1755,1843,1686,1671,1800,1641,1494,1506,1466,1429,1713,2655,2084,1872,2106,2036,1920,2354,2274,2543,3155,2971,3186,3238,2446,3085,3337,3035,3294,3311,3053,3142,2910,2315,2144,2056,2233,2301,2151,1875,2255,2471,2266,2260,1993,1781,2286,2456,3029,3883,4240,3500,2408,2009,2102,3409,3782,3470,3305,2946,2636,2464,2353,2410,2470,2258,2013,1872,1493,1420,1696,1761,1605,1581,1649,1786,1797,1510,1456,1417,1451,1503,1462,1721,1820,1714,1779,2208,2165,1617,1952,1785,1849,1948,1895,2057,2090,2092,2514,2712,2517,2361,2464,2728,2595,2225,2343,2446,2576,3254,2753,1918,1597,1456,1481,1475,1378,1715,2301,1657,1412,1637,1688,1509,1404,1368,1481,1529,1390,1366,1403,1451,1462,1582,1576,1892,1776,1434,1572,1550,1478,1965,2829,2449,1682,1767,1869,1804,1878,2106,1975,2027,1981,1993,2059,2004,2036,1778,1500,1906,1958,1725,1680,1794,2004,1868,1795,1594,1531,1475,1484,1572,1488,1398,1849,2120,1919,1829,1843,1628,1547,1547,1644,1664,1722,1732,1805,1910,2027,2465,2450,2244,1678,1801,1992,1933,1824,2020,2092,1998,2076,2093,1797,1656,1500,1406,1999,1826,1494,2072,2756,2699,2603,2993,2551,1786,1616,1628,1800,1538,1567,1811,2247,2108,2072,1957,1742,1688,1759,1990,1812,1652,1631,1456,1276,1822,2870,2830,2408,2360,2166,2014,1877,1490,1392,1582,1700,1910,1723,1860,2011,1738,1519,1648,1776,1532,1427,1962,2331,2024,1616,1602,1558,1477,1555,1632,1615,1825,1812,1625,1519,1520,1564,1518,1547,1742,2018,1856,1900,1633,1452,1454,1674,1554,1447,2013,2228,1584,1531,1600,1588,1465,1622,1596,1503,1658,1918,1957,2555,3058,2508,1624,1527,1700,1986,2014,1986,1938,1791,1600,1623,1556,1468,1375,1360,1373,1541,1880,2405,2700,2471,1688,1485,1586,2232,2624,2458,2038,2016,3046,3152,3032,2396,2652,3718,2720,2821,3386,3619,3407,3341,2828,2246,1973,1785,1850,1978,1969,2494,3009,2627,1966,1612,1761,2097,2010,2483,3055,2821,2692,2318,1851,1914,3231,4124,4079,3443,3216,3065,2889,2928,2783,2256,1947,2330,2902,3963,3695,2797,2305,1853,1800,1769,1664,1662,2115,2544,1982,1937,1974,1670,1720,1523,1633,1879,1726,1843,2640,2500,2242,2344,1653,2408,2962,2358,1870,2298,2796,2857,2339,1707,1807,2139,2190,2208,2263,2202,1930,2082,1948,1959,1758,1693,1843,1711,1621,1798,2128,2381,2051,2397,2846,2690,2824,3350,2820,2288,2642,2744,2432,2046,2049,2429,2644,2785,2953,3138,2802,3249,2714,2224,2451,2351,2114,1730,1390,1816,2286,2354,2475,2837,2722,2695,2703,2437,1975,1758,1628,1348,1701,2317,1906,1492,1588,1582,1480,1466,1436,1261,1394,1801,2510,3107,3104,2639,2750,2530,2197,2278,2219,2181,2176,1813,1669,2491,3144,3217,3311,3298,2744,3097,2605,1825,2170,2078,1637,1730,1545,1463,1782,1504,1754,2197,2172,2048,2288,2907,2454,2088,2267,2539,2866,2863,2528,2072,1962,1903,1643,1539,1959,2643,1930,1722,1669,1743,2778,3311,2974,2148,1594,1520,1820,2077,1886,1738,1512,1535,1870,1855,1696,1612,1542,1475,1654,1840,1768,1591,1217,1392,1974,2107,1721,1738,1964,2252,2775,2562,2702,3063,2735,2186,2186,2246,2083,1642,1624,1642,2081,2360,2636,2294,1794,1843,2588,2897,2876,2502,1595,1554,2518,2744,2026,1678,2236,2402,2015,1684,1554,1865,2017,1712,1927,1481,1466,1533,1831,2171,1973,1917,2132,1874,1676,1447,1545,1671,1848,1986,1819,2556,3836,4140,3929,3732,2933,2325,3105,3636,2901,1863,1842,2121,3633,4534,3483,2277,2145,1654,1476,1733,1741,1827,2148,2499,3437,3198,3000,3262,2828,2224,1652,1515,1642,1655,1627,1763,2311,2656,1880,1631,1757,1553,1712,2032,1948,2032,2195,1713,1457,1551,1594,1786,1712,1566,1736,1549,1665,1469,1267,1298,1443,1260,1119,1228,1212,1313,1328,1454,1506,1469,1650,1484,1230,1305,1298,1241,1178,1224,1204,1359,1751,1940,1802,1411,1383,1487,1812,1708,1444,1449,1437,1343,1340,1500,1653,1628,1326,1165,1411,1578,1637,1735,1794,1840,1754,1747,1892,2183,2077,2176,2067,2194,2143,2025,1979,2025,1898,1882,2388,2531,2456,2138,2173,2330,2392,2322,1651,2333,2163,1923,2316,2998,3497,2702,1838,1779,1476,1666,2147,2031,1765,1350,1876,2311,2031,2248,1992,1877,2603,2495,2541,2576,2208,1906,1659,1798,1538,1268,1312,1505,1552,1438,1469,1455,1494,1383,1424,1552,1587,1535,1380,1515,1686,1748,1769,1560,1316,1149,1555,2130,1691,1366,1676,2106,2088,1721,1514,1621,1599,1374,1337,1852,2104,1683,1954,1876,1554,1502,1633,1605,1500,1578,1842,2036,1907,1417,1713,2563,2047,1700,1452,1719,2042,1634,1428,1280,981,1119,1628,1819,2469,3076,3376,2439,2054,1930,1886,1783,1720,1779,1892,1665,1668,1563,1512,1777,1840,1623,1660,1523,1513,1545,1761,1898,1718,1438,1678,2556,2370,2165,2010,1892,1748,1723,1695,1707,1578,1399,1469,1735,1654,1796,937,992,1747,1976,2842,3110,2636,2157,2409,3399,3606,2817,2774,3223,3360,2410,2025,1836,2044,2298,2379,2677,2386,2172,1939,1890,2114,2546,2679,2176,2087,2276,2221,2569,2330,2031,1838,1851,2339,2345,1832,1880,1919,1881,1942,2138,1823,2059,2644,2496,1980,1707,1782,1930,1903,2142,1965,1556,1646,1710,1987,1711,1802,1935,1891,1837,1629,1635,1866,2097,2932,3149,2326,2147,1987,1623,1449,1538,2113,2832,2675,2116,2037,2026,2272,2223,2188,2503,2953,2994,2834,2790,2879,2985,2733,2620,2735,2479,2547,2984,2784,2148,1742,1274,1375,1773,1654,2053,2937,2775,1996,1977,2138,2032,2476,2344,2159,2351,2283,1499,1278,1610,1673,1872,2425,2214,2221,2053,1907,1769,1926,1661,1542,1530,1889,2466,2432,2009,2428,3160,3242,3523,2700,2231,2343,2483,3748,4003,3328,2565,2250,2178,2812,3754,3736,3432,3530,3023,3540,3750,3233,3255,3050,3428,3948,3598,3244,2941,2898,3275,2853,2451,2734,3099,3560,3073,2645,3334,3145,2611,2647,2073,1426,2242,2728,2743,3514,3946,3774,3539,3616,3741,3707,3726,3071,2161,2185,2525,2818,2254,2226,2197,2590,3428,3650,3410,3032,2871,3343,3754,3658],[3110,3583,3679,2776,2430,2698,2396,2105,2321,2377,2271,2210,2209,3364,2986,3548,3054,2363,2854,3792,3731,3373,3327,3918,4676,4853,4504,3935,3602,4112,3707,4204,4099,3211,2630,2807,3567,3785,3323,3131,3097,2634,1772,1462,1778,2446,2874,2408,2174,2389,2602,2489,2663,2831,2769,3060,3169,3086,2675,2550,1791,1335,1328,1591,1801,1994,2234,1931,2234,3167,2875,2232,2906,2564,1964,1843,2232,1804,1607,1634,1726,1796,1672,1550,1539,1640,1572,1608,1820,1960,1562,1787,2010,1641,1622,1581,1446,1697,1865,1482,1725,2078,2734,3000,2939,2568,2603,2634,2615,3187,3000,2522,2043,1463,1776,2023,1931,1540,1489,1591,1345,1256,1378,1497,1519,1640,1723,1749,1757,1841,1742,1623,1444,1327,1255,1304,1408,1487,1615,1634,1483,1422,1461,1502,1394,1301,1726,1754,1494,1506,1399,1260,1368,1619,1575,1505,1795,1669,1728,1606,1611,1724,1481,1426,1527,1561,1538,1622,1647,1660,1963,2427,2004,1706,1740,1761,1539,1759,1735,1736,1738,1701,1663,1588,1637,1873,1852,1926,2872,3496,2865,2676,2874,2828,2857,2613,2233,2557,2676,2196,2455,3440,3209,2241,1940,2037,1750,1520,2603,3437,2287,1515,1599,1793,2109,2187,2104,2001,2072,2371,1881,1702,1596,1850,2070,1794,1786,2182,2354,2559,2956,2964,3001,3046,2930,2961,3057,3288,3315,3221,3056,2728,2583,2712,2815,2739,2680,2705,2598,2404,2655,2828,2167,1861,2632,3084,3185,3583,3768,3845,3836,3663,3448,3028,2590,2278,2547,2745,2570,1911,2210,3048,2476,1779,1859,1725,1553,1478,1615,1491,1882,2015,1555,1751,1989,1542,1522,1606,1874,2052,1836,1858,1708,1629,1756,1870,2321,2413,1931,2120,1896,1597,1493,1540,2018,2020,1900,1845,1613,1623,2492,3551,3370,3022,3223,3176,3133,2952,2618,2686,2657,2446,2457,2463,2296,2499,2697,2670,2800,2843,3194,2901,2729,2104,1842,1824,2530,2792,2190,2125,2289,2221,1887,2155,2231,2141,2639,2358,1811,1627,1716,1918,1998,2281,2271,2000,1817,1712,1668,1696,2392,2391,2405,2154,1736,1975,1882,1681,1786,1905,2010,2233,2066,1912,1566,1873,2066,2427,2207,2073,2703,3041,3185,2713,1767,1574,1842,2342,1997,1622,1665,1585,1672,1707,1636,1383,1278,1589,2367,2353,1751,1611,1538,1820,1598,1585,2442,2835,2924,2922,2600,2587,2035,1432,1500,1684,1922,1885,1740,1721,1725,1685,1753,1857,1866,1929,2161,1936,1893,1699,1543,1354,1406,1684,1558,1526,1567,1571,1682,1539,1620,2173,1665,1664,1854,1892,1861,2117,2902,2867,2734,2970,2286,2004,1969,2613,2769,2560,2805,3086,2745,2035,1979,2218,1683,1856,3262,3506,2844,2742,2785,2167,2665,3007,2655,2034,2430,3132,3163,2354,1577,1761,1560,1360,1272,1324,1495,1620,1764,1698,1708,2282,3056,2514,1591,1658,2025,2331,2671,1981,2050,3090,2700,2597,2006,1478,1924,2356,2566,2412,2321,2999,3027,2908,3168,2868,2487,1905,1582,1763,1810,1589,2241,2608,2911,2888,2951,2684,2026,1721,2099,2502,2199,1758,1582,1923,2229,2107,2380,2402,2410,2312,1878,1576,1538,1754,1876,2115,2380,2408,2521,2095,1659,1497,1482,1827,1745,1882,2154,1923,1734,1852,1820,1748,1685,1482,1474,1757,1599,1810,2638,2245,1992,1676,1745,1667,1566,1771,1935,2059,1976,1891,2339,1969,1844,1871,2124,1985,1715,1709,1538,1810,2032,2149,1895,1859,2334,1735,1595,1499,1491,1578,1661,1561,1663,1892,2121,2155,2155,2464,2092,1790,2143,2869,2315,2264,2044,1774,1542,1538,1384,1118,1581,1899,1890,1814,1839,1592,1564,1574,1777,2120,2442,2277,1880,2053,2364,2374,2878,3253,2885,2783,2622,2205,2508,2987,3194,3152,3123,2929,2966,2497,2122,2116,2018,2223,2263,1920,1898,2317,2361,2243,2197,1805,1683,2135,2408,3452,3959,4081,3220,2391,1943,2122,3277,3881,3610,3198,2828,2511,2531,2434,2272,2668,2225,2261,2054,1684,1934,2253,2102,1822,1743,1659,1643,1711,1694,1553,1486,1500,1405,1548,1656,1671,1687,1657,1996,2260,1669,1834,1895,2152,2038,1564,1500,1647,1910,2234,2222,2251,2414,2519,2780,2692,2845,2875,2932,3130,3580,2778,1926,1559,1444,1619,1994,1735,1614,1912,1444,1360,1378,1357,1382,1407,1450,1514,1412,1386,1370,1406,1410,1476,1509,1421,1937,1604,1431,1500,1478,1342,1512,2072,1795,1628,1531,1670,1864,1991,1964,1887,1982,1970,1966,1988,2020,2164,1913,1551,1653,1623,1570,1772,1869,1996,1867,1685,1645,1627,1541,1637,1748,1643,1880,2599,2684,2060,1769,1793,1547,1441,1497,1638,1624,1575,1854,1797,2020,2385,2909,2743,2192,1886,2059,1957,1856,2104,2537,2500,2000,2008,1948,1715,1782,1732,1669,2389,2060,1889,2592,2783,2615,2663,2401,2039,1818,1618,1601,1757,1652,1917,2221,1913,1619,1814,1867,1838,2222,2580,2248,1797,1888,2069,2603,2246,2005,1929,1721,1894,2222,2078,1814,1469,1316,1736,2100,1847,2166,1770,2043,2027,1703,1613,1837,1873,1550,1504,1588,1599,1760,1619,1628,1494,1419,1384,1433,1402,1521,1604,1691,1813,1637,1619,1478,1448,1566,1790,1765,1661,1502,1623,1700,1556,1410,1531,2074,2179,1692,1317,1342,1494,1451,1504,1541,1332,1455,1737,1809,1712,1962,2024,1990,1623,1844,2355,2025,1376,1587,1871,1809,1691,1753,1761,1458,1508,1495,1618,1670,1678,2279,2087,1635,1615,1556,2141,2526,2429,2291,1695,2228,2690,2337,2038,2438,3730,3239,2622,3332,3695,3189,2887,2375,1914,1918,2404,2362,2088,1930,2316,2746,2602,2239,2095,2298,2292,2057,2422,3135,3017,3088,2008,1609,1797,2702,3375,3653,3683,3465,3152,2899,2591,2910,2436,1832,2148,3376,3747,3400,2753,2088,1743,1862,1687,1565,1713,1901,2150,2175,2022,1982,1829,1629,1547,1808,1756,1467,2105,3164,3344,2852,2260,1897,2686,3039,2385,1898,2245,2989,2833,2319,1915,1745,1976,2150,1992,1927,1865,1480,1822,1884,2315,2157,2061,2217,1968,1810,1916,2237,2467,1880,2070,2531,2262,2639,2731,2361,2368,2646,2820,2544,1691,2279,2293,2330,2634,2633,2346,2333,3190,2751,2437,2878,2658,2022,1569,1312,1252,1882,2193,2025,2386,2641,2301,2602,2922,2511,2061,1873,1755,2040,2121,1578,1452,1452,1415,1431,1461,1331,1380,1563,1955,2006,2234,2608,2420,3052,2787,2020,1930,2556,2410,2081,1946,1844,2401,3199,3255,3406,3532,2903,3141,2134,2061,2333,2114,2048,1996,1682,1625,1525,1457,2197,2497,2470,2080,2951,2729,2258,2265,2487,2689,2728,2655,2433,2183,2009,1912,1632,1478,1536,2330,2027,1782,1635,1862,2655,2679,2121,2142,1665,1409,1709,1808,1596,1745,1605,1452,1739,2153,1969,1980,1865,1493,1516,1394,1540,1455,1244,1628,1870,1910,1716,1672,1640,1707,1801,1870,2777,2850,2088,1863,1732,1752,1714,1502,1803,2023,2733,3076,2668,2367,1942,2008,3032,2410,2597,2049,1814,2179,2520,2352,1955,2006,2535,2788,2402,1690,1377,1851,1960,1716,1626,1538,1499,1698,1888,1938,1925,1831,1866,1467,1353,1477,1648,1950,1896,2152,1932,2280,3444,4070,4034,3905,3783,3675,3745,3572,3097,2159,2103,2518,3375,3881,2920,1890,2116,1762,1604,1717,1820,1908,1882,2305,2867,2740,3084,3304,2909,2297,1660,1480,1635,1624,1533,1483,1786,2502,2184,1606,1560,1607,1630,1941,1914,1790,2063,1845,1523,1454,1455,1825,1573,1425,1990,2119,1666,1395,1256,1310,1527,1315,1290,1232,1206,1225,1476,1548,1498,1533,1688,1493,1235,1383,1278,1240,1173,1205,1201,1336,1637,1789,1617,1491,1350,1364,1627,1682,1599,1637,1576,1629,1698,1808,1897,1897,1700,1650,1995,2034,1987,2017,2026,2041,1960,1951,1961,1992,2024,2170,2491,2374,2057,2336,2938,2743,2094,2286,2500,1879,1883,2087,2036,2011,2083,2218,2062,2083,2287,2365,2174,2691,3312,3113,2044,1695,1535,2045,2803,2588,2461,2026,1707,1994,1831,2085,2015,1948,2248,2351,2149,2039,2125,1917,2153,2359,1743,1433,1416,1506,1449,1497,1579,1666,1720,1456,1530,1743,1757,1475,1437,1485,1629,1758,1690,1510,1485,1541,1820,1962,1762,1765,1985,1853,1865,1695,1475,1435,1317,1531,1599,1607,1703,1960,1882,1730,2020,2277,2165,1835,1362,1260,1387,1913,1744,1416,1445,1459,1710,1735,1399,1437,1716,1556,1428,1413,1400,1429,1528,1423,1979,2329,2695,2427,2585,2558,2046,1910,1915,1777,2046,1932,1858,1711,1626,1961,2110,1836,1859,1746,1728,1605,1665,1832,1697,1349,1770,2712,2689,1982,2002,2054,1992,1980,2051,1942,1704,1693,1828,1743,1518,1627,1067,1151,1586,1733,2365,2792,2392,1986,2387,3034,2876,2469,2309,2474,2589,2194,2021,1951,2070,2106,2249,2435,2668,2495,1982,1814,2008,2620,2499,2070,2063,2015,1838,2009,2494,2883,2834,2372,2217,1860,1704,1842,1871,1786,1931,2339,2216,2308,2641,2652,1854,1619,1747,1629,1698,1996,1876,1708,1786,1721,1612,1733,1775,1554,1638,1802,1606,1879,2001,1907,2657,2980,2663,1796,1528,1532,1490,1545,1929,2585,2637,1981,2023,2087,1886,1794,1835,2071,2592,2899,2888,2785,2798,2791,2380,2431,2744,2544,2376,2600,2504,2184,1935,1726,1772,1937,1878,2039,2221,2144,1844,1844,2114,2024,2632,2743,2191,2247,1868,1305,1815,1731,1478,1883,2183,1701,1982,1734,1793,1722,1880,1763,1618,1647,1809,1970,1979,2304,3003,2769,3185,3617,3090,2699,2730,2958,3897,4176,3598,2786,2253,2525,2896,3531,3846,3510,3476,2897,3284,3505,2756,2441,2595,2931,3364,3182,2876,2787,3253,3244,1546,1587,3056,3562,3409,2700,2405,2943,3089,2662,2186,1602,1474,1493,1402,1539,2692,3171,3152,3219,3150,3108,3033,3085,2833,2039,1771,2104,1990,2035,2320,2608,2928,3385,3613,3707,3321,2846,2839,3353,3538],[3741,3740,4090,3737,3090,2607,2514,2547,2332,1787,1638,2286,2236,3182,3458,3736,2984,2708,3204,3237,2653,2798,3630,4125,4343,4324,4115,4064,3918,3864,3674,4166,4041,2709,2222,2868,3522,3649,2822,2448,2754,2434,1670,1473,2154,2110,2072,1918,2281,2760,2610,2968,3362,2997,2829,2654,2392,2429,2448,2415,1715,1566,1591,2221,2353,2368,2852,2076,2427,3382,3038,2625,2857,2733,2304,2251,2375,2098,1969,1703,1702,1690,1709,1521,1439,1417,1458,1615,1864,1775,1609,1910,1926,1768,1594,1418,1359,1598,1675,1724,1924,2122,2165,2280,2478,2177,2381,2558,2500,2933,2843,2396,2061,1542,1719,1846,1682,1378,1450,1482,1409,1500,1547,1472,1348,1425,1440,1514,1557,1681,1778,1727,1677,1585,1477,1513,1693,1766,1550,1362,1499,1421,1324,1471,1350,1622,1842,1814,1643,1450,1495,1545,1506,1708,1895,1952,1609,1663,1621,1557,1747,1582,1584,1628,1634,1580,1639,1891,1838,1710,1522,1560,1428,1410,1474,1523,1699,1974,1751,1848,2048,1655,1603,1851,2170,2346,2098,2124,2392,2800,2454,2132,2466,2514,2197,2285,3311,3474,3311,2753,2846,2776,2920,2496,1897,1824,2001,2017,2639,2864,1743,1625,1734,1948,2442,3167,3018,2310,2302,2519,2127,1932,1998,2128,1927,2010,2165,2340,2447,2629,3086,2513,2164,2087,2330,2780,3144,3271,3269,3122,3021,2731,2535,2925,2857,2732,2721,2707,2578,2447,2518,2482,2083,2146,2940,3182,2917,3573,3806,3873,3516,2973,2751,2819,2669,2307,2090,2443,2255,1707,1792,1867,1716,1483,1594,1501,1435,1427,1599,2178,2781,2303,1769,1681,1790,1772,1914,1832,2023,1736,1686,1816,1802,1775,1644,1775,2134,2261,2305,1862,1750,1676,1698,1663,1689,1678,1715,1849,1692,1954,2881,3272,3440,3521,3647,3255,2978,2985,2471,2195,2383,2529,2634,2498,2389,2623,2048,2108,2618,2459,2612,2296,2137,2066,1830,1835,2338,2400,1846,1921,2100,1754,1848,2020,2916,2928,2270,1935,2003,2114,2424,2309,2072,2260,2156,1915,1902,1792,1639,1858,2399,2249,2463,2624,2443,2504,1936,1882,1825,1922,1772,1713,1840,1724,1569,2081,2614,2751,2418,2029,2187,2035,2143,1602,1580,1649,1748,2034,2117,1401,1309,1483,1485,1810,1853,1635,1661,1537,2276,2193,1730,1631,1614,1669,1482,1624,2232,2580,2452,2149,2060,1839,1644,1699,1898,1935,1951,2228,2182,1774,1571,1617,1781,1808,1695,2232,2404,2120,1887,1947,1744,1667,1754,1688,1625,1429,1516,1670,1802,1620,1478,2022,1670,1494,1548,1707,1990,2240,2341,2097,2302,2577,1999,2031,2347,2510,2426,2315,2546,2556,2469,2609,2709,2446,1847,1834,2557,2565,2222,2219,2515,2313,2230,1987,1682,1575,2060,3160,3244,2118,1982,2574,1929,1568,1400,1567,1672,1550,1447,1595,1808,2215,2612,2242,1704,2105,2410,2293,2149,1917,1816,2378,2245,1960,1808,1775,2404,2464,2089,2056,2513,2868,2525,2558,2817,2611,2125,1671,1511,1496,1451,1646,2953,3174,3149,3039,2896,2393,1868,1765,2452,2618,1919,1568,1494,1985,2304,2124,2094,1850,2714,2818,2121,1938,1690,1609,1576,1702,1953,2322,2741,2221,1899,1706,1739,1811,1815,1647,1665,1698,1717,1959,2125,1975,1535,1316,1547,1644,1878,2021,1958,1827,1727,1746,1975,1863,1798,2016,2155,1885,1808,1741,1892,1892,1854,1923,2337,2404,2254,1734,1646,2016,1768,1631,1696,2003,2047,1901,1845,1653,1470,1331,1461,1488,1614,1992,2282,2110,2181,2222,2046,1858,2340,2739,2698,2619,1882,1274,1370,1473,1265,1267,2033,1852,1681,1891,2236,1945,1851,1782,1561,1906,2387,2526,2070,1987,2216,2793,2879,2757,2986,2994,2322,2170,2710,3022,3498,3121,2900,2818,2878,2573,2577,2292,2122,2208,2211,1842,1899,2353,2294,2303,2327,1734,1685,2182,2483,3369,3872,3900,3030,2248,1939,2372,3746,4244,4039,3410,2664,2369,2365,2470,2464,2998,2993,2456,1841,2122,3101,3002,2788,2507,1778,1485,1534,1658,1569,1383,1703,1694,1394,1419,1420,1556,1526,1680,1648,1536,1628,1592,1726,1741,1669,1502,1496,1598,1694,1738,2040,2756,3082,2897,2946,2984,3142,3189,3283,3617,3766,3278,2346,1543,1532,1741,2763,2320,1717,1506,1483,1482,1412,1386,1300,1240,1447,1441,1379,1387,1352,1488,1715,1625,1388,1391,1548,1491,1520,1399,1435,1511,1685,1467,1411,1560,1560,1882,1738,1584,1642,1798,1742,1793,1935,1901,1982,2290,2154,1924,1805,1753,1798,1861,1900,1914,1854,1691,1673,1917,2174,1774,1688,1770,2185,2758,2685,2094,1924,1659,1449,1535,1788,1918,1977,1923,1921,1818,2216,2683,2895,2533,2116,2106,2104,1978,2082,2203,2351,2267,1778,1771,1957,1859,1810,1827,1804,2208,2258,2317,2601,2548,2471,1951,1728,2144,1991,1692,1673,1613,1794,2257,2722,2305,1518,1737,1659,1646,2203,1670,1642,2077,1982,2503,3398,3162,2250,1693,1628,1730,1883,1625,1577,1540,1644,2193,2120,2395,2919,2503,2102,1888,1732,1605,1759,1663,1614,1588,1456,1580,1803,1623,1296,1317,1552,1803,1924,1888,1544,1448,1672,1760,1628,1777,1604,1566,1596,1676,1648,1671,1624,1511,1509,1467,1477,1442,1477,1616,1539,1371,1422,1394,1626,2014,1836,1496,1383,1524,2014,1614,1604,1424,1814,1867,2101,2392,2427,2005,2054,2612,2149,1592,1696,1695,1462,1741,1691,1504,1488,1761,2220,2205,2004,1776,1470,1670,1982,2159,2061,1851,2129,2270,2170,2009,2162,3176,3288,2608,2912,3052,2519,2002,1907,1782,1466,2111,1979,2032,2129,2300,2902,3068,2590,2424,2164,2308,2138,1846,1946,2127,2790,1750,1367,1482,1483,2180,3188,3916,3751,3431,3187,2437,2655,2480,2160,2076,2662,3199,3355,3099,2452,2124,2121,2341,2839,3000,2872,2740,2613,2262,2015,1950,1974,1759,1636,1520,1284,1619,2364,2720,2724,1983,2223,2420,2632,2501,1909,1974,2454,2511,2315,2079,1959,1921,2261,2273,1941,1713,1532,1823,2404,2569,2392,2129,2094,2215,2319,2141,2187,2102,2018,1859,2221,2796,2872,2787,2678,2476,2229,2283,2374,2189,2789,2021,1940,2351,3297,2546,2244,2561,2185,2395,2439,2089,1938,1773,1353,1522,2296,2758,2132,1799,2534,2498,2702,3680,3544,2780,2184,2273,2192,1967,1687,1511,1458,1338,1380,1529,1523,1516,1727,1906,1711,2307,2205,1937,2944,2514,1748,1995,2842,2374,1886,1879,1859,2028,2244,2542,2915,2494,2601,2474,1999,2029,2419,2856,2646,2026,1692,1550,1434,1665,2388,2872,2884,2020,2676,2762,2998,2873,2706,2906,2688,2910,3327,2946,2208,1887,1691,1519,1723,2330,2072,1693,1920,2540,2750,2383,1985,2243,1991,1572,1580,1674,1534,1421,1517,1519,2130,2696,2138,1809,1637,1906,1861,1775,1754,1509,1616,2182,2402,2183,1718,1785,1770,1923,1725,1930,3472,2998,2108,1639,1778,1769,1653,1764,1780,2047,2544,2478,2520,2588,1820,1758,2188,1913,1638,1358,1509,1921,2376,2163,1851,2022,2105,2198,2134,1837,1296,1171,1456,1910,1599,1456,1820,1848,1890,2006,1725,1897,1920,1570,1462,1555,1788,1883,1750,1845,1814,2001,2934,3743,4312,4219,4061,4108,4108,3614,3055,3177,3736,4449,4359,3461,2513,1846,1920,1456,1368,1598,1827,2146,1722,1926,2642,2924,3408,3636,3206,2202,1633,1422,1525,1565,1416,1401,1766,2690,2547,1575,1510,1750,1461,1644,1691,1628,1920,1801,1464,1399,1388,1568,1627,1929,2561,2226,1505,1470,1362,1306,1580,1328,1428,1312,1683,1944,2155,1940,1628,1603,1750,1614,1268,1485,1554,1508,1449,1440,1543,1554,1622,1744,1714,1677,1606,1584,1687,1801,1823,1853,1918,1968,2001,2066,2008,1848,1786,1845,1942,2041,2163,2120,1984,2075,1937,1935,1922,2007,1856,2356,2666,2158,2026,2364,2674,2428,2254,2865,2812,2349,2048,1708,1521,1771,2220,2785,3121,2998,2978,2729,2243,3030,2666,1946,1866,1681,1675,2138,2718,2974,3018,2768,2170,1797,1631,1746,1824,2052,2130,2260,2126,1907,1932,1994,2640,3088,2316,1648,1400,1472,1416,1330,1526,1954,1804,1425,1451,1931,1936,1447,1538,1436,1577,1504,1591,1571,1610,1976,2003,1633,1510,1858,1881,1593,1590,1506,1414,1391,1665,2286,2040,1475,1584,2212,1952,1728,2116,2335,2219,1869,1296,1317,1338,1571,1444,1610,1560,1532,1544,1678,1576,1546,2289,2113,1658,1494,1466,1641,1478,1426,2142,2785,2490,2029,2104,2232,2168,1891,1763,1692,1912,1914,1738,1671,1958,2270,2512,2553,2110,1834,1831,1669,1732,2051,1918,1451,1588,1948,2005,1613,1947,1965,1514,1669,2066,2010,1836,2159,2947,2189,1637,1977,1535,1379,1563,1520,1917,2241,1984,1714,1714,1866,2298,2493,2134,2444,2266,1916,2066,2099,1932,1903,2046,2070,2404,2304,1964,1645,2205,2558,2186,2057,2499,2482,2182,2416,2766,2526,2858,2645,1886,1769,2038,1855,1768,1773,2566,2908,2686,2554,2108,1801,1788,1765,1995,1821,1581,1931,1849,1911,2164,1766,1606,1929,1810,1626,1576,1711,1852,2294,1845,2165,2645,2548,2248,1967,1819,1663,1621,1644,1720,2359,2620,1967,2179,1948,1644,1923,2710,2981,2642,2809,2889,2845,2954,2752,2543,2878,2850,2632,2718,2553,2386,2295,2054,2477,3018,3047,2676,1926,1598,1743,1845,1872,1918,1994,2416,2411,2086,2087,1920,1888,2002,1521,1670,1848,2070,1791,2007,1704,1594,1891,2350,2329,1772,1858,1882,1681,2561,3133,3127,2395,2906,3371,3272,3618,3448,3164,4084,4336,4070,3827,3950,4014,3475,3791,4557,4436,4024,3311,3167,3108,2521,2501,2642,2710,3374,3267,3351,2953,2894,2766,1949,1892,2908,3167,2820,2670,2471,2717,3109,2680,2287,2231,2261,2039,2155,2103,2267,2394,2357,2239,2029,2150,2126,2081,1970,1866,1419,1318,1598,2011,2404,2419,2513,2856,3015,3006,2411,2696,2578,3182,3157],[3962,3509,3309,3305,3065,2819,2532,2276,2294,1839,1658,2749,2709,1990,2651,3276,3318,2911,2562,2909,3088,3053,2798,3172,3781,3824,3839,4001,3917,3525,3220,3808,3578,2429,2503,2843,3184,3662,3060,2552,2575,2092,1941,2285,3028,2624,2007,1959,2142,2482,2358,3108,3513,2789,2103,1899,2199,2615,2535,1985,1994,2124,2085,2574,2281,2141,2280,2045,2447,3133,2664,2409,2622,2687,2173,1886,1914,2161,2375,2065,1739,1641,1962,1686,1489,1385,1452,1498,1608,1466,1598,1796,1755,2018,1879,1725,1506,1509,1745,1959,1926,1749,1537,1554,1551,1563,1847,1894,1793,2044,2576,2554,2702,1843,2238,2980,2175,1280,1442,1677,1556,1564,1428,1357,1289,1196,1300,1444,1825,1858,1804,1768,1650,1721,1737,1783,1915,1638,1245,1314,1534,1521,1939,1944,1401,1759,1872,1692,1769,1480,1521,1598,1492,1628,1682,1578,1532,1603,1461,1713,1587,1372,1627,1595,1510,1393,1585,1984,1865,1606,1345,1344,1332,1350,1428,1432,1604,1836,1968,2199,1958,1596,1752,3054,2803,2391,2324,2036,1808,1799,1786,1863,2197,2649,2415,2461,3393,3443,3261,2862,2578,2601,2851,2161,1607,2069,2487,1836,1889,2076,1595,1543,1609,2054,2390,3139,3187,2855,2708,2425,2314,2413,2097,2031,1633,1966,2041,2238,2416,2278,2644,2407,2086,2036,2052,2404,3011,3095,3096,3010,2902,2552,2710,3040,2862,2703,2773,2792,2579,2372,2332,2650,2917,2845,3492,3353,2817,3119,3420,3550,3122,2491,2216,2183,2224,2142,1960,1948,1695,1924,1597,1726,1634,1910,1983,1698,1612,1680,1733,2141,2414,2171,2206,1776,1527,2009,1883,2004,1968,1572,1504,1632,1780,1813,1763,1970,1742,1847,2271,1959,1938,2332,2384,1684,1561,1620,1454,1616,1692,2049,2539,3300,3419,3686,3811,3348,3008,2994,2565,2039,2249,2390,2774,2965,2764,1898,1387,1602,1882,1829,1862,1856,1969,2093,1957,2243,2800,2482,1853,1887,1874,1953,2135,1841,2658,2709,1846,1755,1919,2339,2200,1847,2122,2191,2115,1740,1684,1909,1786,1761,2083,2260,2900,2923,2354,2298,2162,2195,2077,2010,1852,1814,1920,1799,1636,2140,2475,2745,2342,1985,1943,1649,2024,2353,2319,1865,1774,2300,2178,1714,1670,1586,1723,1784,1878,1663,1769,1497,1910,1787,1597,1714,1908,1826,1760,1858,1594,1922,1964,1415,1663,1759,1656,1930,2134,2134,1990,2024,2213,2073,2251,2450,2570,2186,2219,2125,2143,2130,2119,2040,1818,1744,1692,1997,1929,1455,1404,1506,1898,1953,1637,1532,1447,1294,1361,1625,1787,2043,1824,1785,2151,2150,1627,1695,1952,1930,1969,1940,2443,3363,3661,3169,2955,2567,2020,1573,1698,1615,1655,1728,1654,1576,1631,1475,1390,1562,2002,2887,3021,2050,1977,2211,1832,1517,1358,1439,1581,1512,1476,1769,1970,2119,2348,2247,2061,2316,2222,2094,2361,2263,1894,1766,1553,1561,1524,1504,2019,2424,2267,2150,2355,2214,2039,2254,2132,2023,1849,1732,1536,1689,1891,1713,2702,2802,2842,2855,2798,2645,2544,2636,2703,2226,1579,1489,1763,1888,1801,1860,2012,1711,2088,2752,2928,2087,1504,1883,1789,1761,1735,1870,2344,1731,1632,1886,2003,2062,2042,1696,1472,1317,1687,2087,1918,1887,1573,1537,1563,1632,1773,1949,2447,2420,1752,1684,2217,1890,1891,1870,2237,2091,2030,1919,1596,1462,1578,2150,2540,2253,1857,1626,2048,2242,1404,1246,1493,1732,1602,1554,1661,1927,1701,1595,1768,1629,1678,1997,1957,1796,1872,2050,2270,2479,2262,1781,2138,2630,1997,1676,2115,1723,1328,1782,2176,1769,1976,2408,2452,2254,2249,2056,1590,1467,1835,2326,2388,2290,2364,2720,2515,2488,3230,3356,2487,2891,3190,2691,3597,2972,2462,2481,2468,2058,2129,2035,2018,2287,2194,1864,2065,2377,2231,2153,2210,1689,1747,2158,2686,3581,3973,3573,2730,2224,1974,2497,3980,4192,3918,3331,2511,2246,2387,2479,2482,2872,3006,2243,1577,1805,2496,2135,2328,2302,1927,1595,1500,1716,1534,1406,1755,1760,1425,1434,1512,1998,2105,2155,1750,1488,1426,1671,1952,1944,1873,1587,1484,1450,1479,1925,2520,2486,2392,2698,2885,2665,2626,2986,3205,3374,3354,3429,2366,1570,1513,1798,3121,2600,1813,1447,1391,1378,1333,1425,1411,1370,1449,1316,1376,1302,1344,1392,1519,1325,1312,1553,1541,1417,1466,1469,1489,1392,1576,1517,1842,1708,1758,1690,1723,1678,1602,1622,1771,1924,1816,1789,1979,1997,2048,2067,1935,1724,1798,1930,1892,1836,1892,1779,1696,1615,1845,1912,1527,1608,1860,2314,2050,1950,2029,1779,1859,1739,2336,2194,2001,1743,1612,1797,1941,2317,2403,1977,2099,2309,1793,1926,2455,2209,1775,1647,1644,1687,1747,1787,1867,1887,2124,2689,2798,2450,2127,2324,2459,1835,2101,2682,2407,1863,1914,1754,1624,1487,1714,1974,1591,1899,1731,1842,2350,2051,2343,2369,1965,2068,2368,2354,1999,1923,1920,1585,1221,1087,1544,1729,1694,1997,2242,2842,2818,2117,1809,1832,1589,1509,1591,1601,1931,2019,1628,1598,1844,1766,1499,1389,1772,2279,2326,2833,2027,1576,1676,1720,1636,1807,1783,1699,1511,1376,1474,1555,1528,1496,1337,1320,1436,1583,1646,1565,1523,1470,1426,1445,1670,2133,2039,1650,1406,1340,1498,1613,1603,1826,1938,1627,1685,1905,2223,2592,2794,2678,2177,1809,1743,1767,1535,1542,1461,1400,1461,1763,2152,1995,2127,1851,1562,1569,1690,1663,2016,2873,3092,2593,2195,1934,2075,2609,3120,2807,2508,2341,2000,1744,1963,1785,1552,1750,1584,1817,2137,2248,2502,2666,2395,2381,2083,2207,2144,2096,2220,2445,2562,1794,1687,2129,1901,2214,3182,4172,4155,3807,3432,2957,3033,2887,2757,2493,2125,2294,3376,3768,3262,2928,2424,3378,3952,3843,3433,2750,2401,2240,1891,1969,2159,1755,1804,2128,1909,1729,2200,2344,2670,2375,2080,2375,2834,2486,1925,1716,2064,2407,2293,2338,2112,1691,1847,1991,1958,1471,1289,1935,2284,2235,2366,2007,1959,2092,2482,2374,2385,2311,2145,1839,1879,1881,2046,2523,2534,2166,2236,2496,2976,3066,2910,2608,2676,2842,3220,2986,2645,2148,2268,2776,2364,2178,1993,1909,1999,2557,2845,3011,2689,2266,2903,3355,3105,3177,3548,2863,2508,2315,2141,1959,1651,1619,1536,1311,1502,1664,1632,2146,2425,2448,2292,2245,1690,1836,2316,1795,1791,2661,3124,2321,1905,1693,2037,2231,2422,2755,2764,2219,2266,2627,2702,2437,2666,3317,2680,1770,1609,1514,1409,2145,2757,3010,2831,2549,2957,3216,3018,2764,2337,2210,1913,2929,3559,3189,2230,1647,1544,1597,1822,1805,1763,2096,2307,2404,2350,2292,2526,2775,2619,1935,1679,1747,1905,1692,1443,1666,1959,2447,2503,1638,1441,2190,1946,1918,2063,1802,2143,2565,2806,3011,2515,2292,1849,1859,1688,1971,2874,2746,2570,2160,1929,1680,1582,1709,1953,2579,2328,2361,2664,2245,1571,1621,1873,2029,1736,1813,1899,1872,2310,2299,1842,2264,2221,1688,1587,1345,1322,1578,1838,2403,2186,1763,1973,1803,2175,2086,1591,1765,2009,1657,1524,1872,1845,1618,1604,1770,1810,1842,2164,2964,4208,4359,4213,4389,4708,4076,3487,3750,3910,4346,4897,4072,2257,1674,1766,1091,1040,1288,1286,1889,1894,1887,2843,3241,3437,3257,3354,2263,1707,1665,1911,1745,1630,1662,1918,2531,2563,1843,1425,1781,1842,2121,2094,1688,1820,1670,1382,1315,1343,1462,1772,2444,2986,2556,1820,1564,1372,1491,1542,1448,1479,1293,1430,1622,1731,1865,1754,1654,1760,1730,1644,1786,1888,1783,1687,1679,1921,1965,1826,1695,1465,1619,1655,1627,1374,1440,1867,1982,2222,2358,2737,2757,2070,1858,1676,1821,1980,2198,2475,2348,1969,2007,2041,1988,1935,1858,2018,2632,2461,2025,1834,2197,2472,2758,3022,3307,3439,2878,2266,2142,2154,2331,2630,2979,3153,3103,2921,2348,2207,2938,2790,2246,1936,1815,1937,2099,2279,2049,2067,2579,2326,2035,1796,1750,2194,2106,1720,1844,1878,1569,1621,1982,2231,2597,2480,1690,1461,1548,1490,1344,1482,1822,1636,1388,1710,1947,1720,1572,1595,1519,1448,1370,1261,1483,1623,1931,2216,1835,1431,1443,1521,1816,1860,1487,1334,1443,1710,1982,1896,1642,1887,2186,1937,1896,2285,3034,2711,1743,1476,1478,1417,1376,1562,1759,1620,1543,1437,1614,1477,1530,2295,2173,2203,1863,1538,1506,1207,1321,2453,3389,3132,2677,2552,2692,2880,2135,2041,2109,2082,2196,2011,1897,2171,2569,2986,2671,2253,2007,1546,1708,2221,2569,2026,1577,1534,1489,1395,1592,1889,1811,1762,1753,1726,1802,1789,2072,3395,2743,1789,1971,1727,1392,1538,1681,1911,2042,1726,1561,1661,1731,2752,3201,2598,2659,2461,1899,2065,1802,1631,1726,2259,2101,2410,2411,1932,1636,1830,1949,1707,1923,2554,3049,2901,2293,2376,2445,2487,2219,1731,1929,1724,1773,1825,1914,2932,3186,3064,2654,2283,2059,2487,2202,2092,1837,1773,1992,1748,1847,2038,1803,1723,1713,1616,1786,1826,1909,2492,2643,2246,2935,3118,2470,2153,2381,2385,2282,2056,2185,2131,2509,2496,1955,2139,2041,1838,2208,3066,3346,2999,3134,3096,2587,2592,2554,2660,2647,2466,2465,3076,3047,2475,2193,2171,2968,3496,3483,3166,1973,1621,1723,1729,1839,1947,2045,2277,2239,2111,1978,1981,1918,1715,1745,2088,2125,1892,1933,1845,1506,2425,3107,2745,2172,1859,2027,1975,1806,2844,3253,2556,2468,2996,3276,3220,3725,3695,3414,4152,4244,3972,3686,3909,3984,3684,4152,4748,4556,4376,3916,3043,2707,2792,3086,2609,2907,3316,3381,3089,2625,2702,2896,2797,2941,3100,3304,3193,2963,2689,2907,3033,3171,3098,3154,3208,3256,3248,3188,3187,3204,2997,2822,2812,2909,2854,2557,2656,2659,2210,2225,2521,2714,2933,2861,2722,2647,2856,2985,2653,2761,2708,2949,2618],[3652,2941,2731,2770,2734,2666,2276,1994,1973,1779,1490,2197,2531,2198,2839,3572,3520,2562,2332,3291,3291,2902,2993,3076,3338,3491,3688,3536,3141,2785,3272,3789,3343,2592,2823,2375,2200,3051,3089,3187,3431,3353,3096,2934,3128,3040,2814,2849,2740,2773,3075,3067,2980,2738,2238,2056,2530,2669,2064,1866,2162,1797,1902,2701,2233,1766,1633,1555,1775,2242,2137,1748,1531,1641,1639,1703,1860,2037,2119,1993,1676,1653,1834,1753,1632,1499,1493,1874,1996,1615,1836,1918,1684,1641,1778,1947,2274,1971,1788,2037,2110,1888,1566,1379,1591,2004,1648,1569,1693,1714,1945,2549,3118,2420,2773,3485,2391,1350,1462,1577,1604,1520,1390,1310,1261,1394,1572,1687,1769,1679,1736,1707,1606,1794,1746,1813,1919,1788,1600,1561,1532,1427,1551,1520,1402,1437,1389,1637,1735,1440,1522,1535,1353,1517,2009,1798,1642,1703,1765,1815,1500,1499,1579,1556,1426,1654,1807,1817,1662,1584,1535,1498,1505,1529,1428,1401,1413,1964,2426,2656,2411,2107,1774,2547,2576,2540,2539,2467,2221,1797,2068,2137,2392,2425,2288,2451,2723,3312,3000,2448,1998,2100,2439,1967,1665,1929,2233,1809,1909,1669,1426,1494,1721,1936,2096,2597,3045,3140,2324,1787,2584,2600,1847,1997,1722,1610,1880,2198,2258,2099,1926,2145,2502,2659,2830,2975,3276,3254,2798,2695,2501,2435,2943,3095,2885,2657,2719,2696,2423,2403,2292,2846,3430,3462,3532,2840,2087,2121,2508,2897,2790,2331,1971,2154,1852,2105,2338,2222,2110,1821,1664,1660,1835,2163,2062,2273,2232,1848,1664,1664,1596,1809,2300,1787,1438,1969,2144,1901,1753,1586,1547,1453,1564,1693,2210,2079,1724,1924,2246,2028,2168,2933,2800,2023,1716,1469,1414,1741,2105,2567,2802,3674,3913,4153,3717,3106,2893,2845,2740,2668,2695,2306,2304,2646,2828,1577,1273,1640,1686,1615,1736,1957,2030,2308,2250,2653,2631,2088,2092,1902,1764,2101,2069,1883,1924,1802,1863,1908,1447,1875,1867,1799,1967,2127,2082,1859,1673,1787,1564,1139,1487,1998,2385,2330,2524,2385,2272,2364,2382,1966,1722,1848,1894,1790,1727,2360,2374,2930,2306,2327,2208,1791,2415,3516,3408,2370,1830,1863,1899,2854,2850,2260,1874,1644,2089,1822,1781,1687,1836,2142,2010,1992,2020,2042,1929,1820,1456,1433,1451,1548,2070,2123,1966,1880,1932,2177,1989,1780,2083,2382,2850,2934,2828,2391,2055,1951,2045,2161,2269,2260,1996,1658,1769,2413,2156,1699,1427,1393,1906,2161,1927,1556,1474,1503,1781,1786,1502,1591,1605,1743,1802,1778,1682,1822,1676,1654,1720,1646,2045,3279,3710,2777,2273,2432,2182,2048,2026,1841,1636,1834,2231,2111,1919,1957,1998,1809,1588,1945,2494,2037,1625,1535,1526,1557,1522,1368,1482,1538,1759,2134,2011,1707,1630,1685,1999,2081,2176,2786,3211,2938,2702,2442,1672,1502,1434,1098,1606,2118,2254,1945,1815,1707,1885,2120,1862,2140,2056,1860,1606,1917,1973,1785,2182,2013,1836,2353,2729,2610,2452,2114,1712,1746,1556,1958,2526,1763,1198,1964,2392,2021,2237,2754,3022,2465,2055,2039,1960,1930,1969,1790,1863,1622,1949,2075,1879,1908,1810,1525,1407,1775,2290,2386,1548,1566,1636,1538,1605,1920,1966,2322,3162,2853,1971,2188,2557,2070,2193,2100,2107,2364,2727,2620,2164,1666,1494,2172,2362,2044,1724,1645,2000,2044,1701,1624,1588,1638,1681,1872,2372,2426,1635,1527,1759,1428,1625,1759,1615,1680,1683,1720,1919,1987,1754,1494,1803,1997,1911,2015,2002,1229,1075,1475,1716,1601,1874,2378,2551,2376,2610,2725,1688,1381,1451,1728,2160,2328,2147,2215,2288,2601,3270,3193,2365,3232,3039,2589,2819,2831,2709,2557,2492,1925,1757,1885,2024,2369,2229,1794,2174,2417,2334,2402,2296,1802,2035,2236,2731,3858,4101,3559,2541,2138,1898,2486,3537,3958,3860,3354,2662,2388,2423,2466,2644,3199,3562,2486,1679,1497,1767,1840,1925,1891,1689,1549,1703,1939,1708,1486,1722,1665,1375,1430,1560,1880,2066,1980,1684,1566,1465,1741,1920,2234,2247,1738,1733,2129,1923,2611,2949,3084,2822,3098,3318,2500,2332,2656,2500,2428,2590,3228,2492,1675,1529,2088,2393,1874,1665,1653,1526,1614,1502,1485,1382,1343,1482,1394,1356,1424,1355,1365,1467,1581,1670,1580,1464,1471,1484,1573,1471,1378,1599,1760,1706,1740,1889,1775,1657,1631,1789,1544,1698,1704,1634,2005,1984,1725,1739,1898,1904,1831,1962,2026,1920,1720,1878,1695,1574,1459,1554,1579,1487,1439,1443,1781,2220,2699,2236,2097,2257,1798,2352,2091,1937,1597,1614,1948,1798,1737,1834,1652,1913,2043,1907,2485,2750,2209,1653,1607,1796,1771,1806,1890,1704,1774,2023,2611,2813,2496,1957,2092,1764,1620,2021,2290,2036,1929,1966,1564,1522,1587,1557,1781,1569,1824,2083,2008,2309,2361,2371,2047,1731,1849,1851,1683,1694,2029,2044,1539,1321,1887,2067,1831,1737,2094,2410,2412,2305,2089,2061,1883,1759,1760,1690,1679,2024,2053,1744,1649,1661,1700,1768,1736,2094,2625,2595,2398,1646,1493,1834,2117,2113,1951,1627,1485,1461,1456,1444,1459,1811,1764,1444,1364,1530,1810,1758,1486,1438,1426,1512,1611,1497,1698,2033,1698,1356,1274,1326,1377,1309,1852,2006,1832,2146,2080,2198,2985,3235,2054,2102,2357,2233,2221,1909,1447,1502,1798,1548,2021,2269,1943,2112,1793,1663,2010,1998,1658,1917,2920,2889,2180,2150,1901,2097,2346,2331,2479,2346,2024,1536,1299,1704,1808,1629,1494,1390,1570,2176,2248,1905,1897,2096,2292,2104,2300,2637,2771,2692,2592,2693,1849,1586,2243,2404,2354,3392,4293,4316,4027,3563,3463,3242,2600,2402,2686,2928,3122,4030,3806,3156,3173,2674,2893,3471,3602,3303,2673,2367,2255,1747,1834,1972,1575,2154,2283,1750,1847,2478,2755,2784,2219,1812,2464,2707,2066,2069,1760,1752,2006,1899,2267,1889,1759,2117,2048,1538,1159,1491,2182,2120,2050,2086,1577,1625,1953,2166,2258,2198,2341,2182,1985,2052,1831,1734,1949,1869,1981,2345,2343,2803,3164,3365,2840,2907,3039,3010,2851,2624,1837,2372,2530,2282,2211,2040,1841,2226,2911,3134,3021,2921,3008,3189,3139,3039,2973,2923,2373,2589,2323,2188,1804,1581,1732,1460,1324,1820,1887,2006,2744,3098,2751,2372,2187,1926,1737,1528,1699,2272,2856,3458,2534,2094,2423,2360,1907,1877,2344,2822,2608,2710,2867,2540,2375,2464,2473,2182,2035,1797,1514,1556,2398,2750,2622,2531,2947,3427,2872,2215,2732,2451,2082,1852,2654,2670,2567,2439,2233,2257,2148,1890,1873,1874,2081,2058,2678,2319,2286,2622,2435,2656,2138,1722,1700,1634,1611,1477,1755,1893,1819,2252,2103,1703,1922,1866,1630,1649,1710,2037,2305,2243,2910,3033,2943,1976,1596,1676,1657,2124,2755,2546,2071,1800,1547,1743,1991,2061,2359,1992,1826,1650,1396,1328,1742,2394,2282,1791,2005,1860,1672,1784,1852,1920,2024,1850,1622,1623,1656,2136,2212,1885,2320,2507,2332,2490,1901,1895,1670,1424,1535,1913,2026,2245,2337,1975,1610,1474,1503,1655,1842,1534,2373,3947,4355,4304,4552,4709,4372,4050,4127,4271,4359,4736,4113,2448,2301,2160,1305,1072,1143,1170,1711,2065,2089,2972,3292,3383,2563,3106,2759,1981,1941,2091,2011,1971,1840,1897,2170,2771,2548,1613,1786,1825,1730,1933,1714,1809,1658,1264,1398,1482,1465,1574,2036,2973,2799,1736,1440,1402,1459,1283,1234,1297,1298,1223,1350,1414,1830,1876,1728,1908,1885,1838,1805,1670,1455,1293,1215,1100,1092,1194,1316,1366,1343,1591,1502,1294,1765,1951,2042,2227,2367,2874,2676,1640,1654,1318,1243,1500,2008,2521,2657,2216,2023,2315,2269,1858,1947,2209,2334,2078,1885,1765,2349,2505,2979,3338,3209,2997,2861,2836,2745,2540,2402,2332,2498,2631,2698,2774,2743,2238,2414,2740,2419,1773,1791,1594,1698,1761,1840,2220,2294,1831,1660,1732,1824,1806,1511,1448,1621,1932,1787,1628,1693,1724,2046,1938,1813,1997,1949,1664,1576,1478,1409,1482,1384,1615,1794,1865,1796,1541,1612,1616,1448,1322,1661,1710,1645,1996,2194,2116,1562,1269,1625,1788,1537,1456,1527,1631,1708,1726,1784,1888,1963,2008,2473,2366,2020,1628,1440,1422,1266,1394,1599,1786,1886,1748,1835,1577,1510,1366,1494,1972,1764,2038,1831,1454,1445,1315,1375,2225,2752,2554,2984,3183,3053,2869,2276,2173,2291,2388,2364,2097,2092,2321,2844,2404,2000,2284,1986,1613,1629,1766,1895,1961,1657,1508,1558,1614,1542,1610,1774,2028,2361,2050,1662,1720,1925,2404,2075,1780,1979,1873,1509,1688,2025,1992,2122,1798,1694,1786,1776,2548,2873,2195,2368,2360,1955,2374,1882,1640,1614,2553,2104,2386,2526,2309,2383,2251,2145,2069,2255,2814,3033,2149,1566,2338,3231,2916,2326,2366,2260,1941,1949,2148,2372,2580,2222,2886,2338,2393,3097,3360,2739,2121,1973,2211,2216,2009,2338,2432,1848,1715,1543,1577,1645,2060,2084,2272,2145,2249,3252,3095,2543,2291,2225,2637,2762,2696,2683,2796,3032,2992,2569,2220,2091,2092,2338,2801,2896,2973,3005,3075,2491,2516,2610,2564,2491,2379,2521,3100,3086,2398,2076,2380,3122,3338,3248,2626,1533,1436,1740,1539,1810,2358,2755,3053,2730,2214,1935,1986,1979,2047,2200,2479,2567,2082,1927,1789,2511,4208,4316,3131,2150,2084,2217,2016,1743,2071,2098,2374,2995,3025,3109,3066,3238,3067,2597,3604,3985,3783,3760,3510,3597,3261,3601,4640,4404,4152,3981,3016,2956,3172,3615,2855,3182,3914,3254,2646,2633,2740,2653,2368,2809,3472,3625,3580,3466,3164,3154,3042,3042,2946,2896,3016,3097,3205,3475,3442,3271,3434,3605,3624,3571,3338,3271,3482,3413,3349,3614,3638,3569,3480,3426,3482,3378,3157,3151,3082,2856,2410,2683,3228],[3269,3049,2744,2435,2182,2040,2552,2215,1946,1621,1374,1964,2854,3320,3642,3408,3133,2796,2910,3254,3153,3121,3124,3104,2526,2123,2663,3253,2790,2308,3351,3804,3848,3041,2973,2515,2110,2850,3425,3849,4156,4193,3786,3415,3621,3642,3610,3447,3790,3381,3200,2582,2532,2597,2566,2489,2286,2173,2119,1975,1909,1503,2046,2414,2048,1840,1687,1820,2300,2292,2011,1736,1481,1444,1498,1716,1665,1629,1850,1600,1426,1482,1536,1568,1614,1541,1871,2405,2045,1698,1653,1558,1383,1537,1866,1870,2216,1994,1689,1616,1571,1733,1816,1826,2166,2665,2317,2013,1844,1499,1300,2043,2606,1925,1895,2203,1734,1375,1457,1713,1761,1609,1417,1426,1505,1533,1678,1708,1559,1395,1491,1525,1558,1610,1663,1711,1759,1871,1899,1980,1964,1681,1533,1397,1427,1270,1285,1506,1727,1505,1530,1362,1383,1887,2230,1902,1671,1566,1605,1553,1366,1519,1566,1593,1553,1871,2014,2031,1887,1742,1622,1585,1648,1814,1638,1559,1483,2058,2831,3054,2941,2114,1689,1911,2390,2871,3061,2692,2065,2138,2411,2630,2630,2448,2752,2663,2674,3248,3023,2446,2059,2190,2307,1981,1701,1615,1514,1494,1830,1660,1937,2294,2191,1822,1459,1652,2225,2520,1561,1162,1742,1807,1812,2124,1883,1854,2089,1905,1798,1711,1781,1939,2166,2636,2964,3342,3595,3338,3045,2933,2514,2684,3085,3189,3022,2625,2630,2607,2569,2690,2553,2996,3445,3284,3024,2384,1619,1637,2468,2862,2578,2602,2050,1790,1591,2244,2266,2305,2022,1652,1820,1718,1908,2164,2270,2779,2591,1843,1669,1694,1556,1461,1566,1571,1559,1933,1889,1479,1390,1465,1641,1731,1681,1595,1868,1946,1923,2197,2482,2365,2402,2815,2918,2194,1638,1503,1443,1882,2781,2862,3105,3617,3891,3853,3276,2895,2821,3132,2997,2797,3034,2546,2313,2380,2357,2115,2186,2149,1653,1545,1750,1961,2135,2299,2297,2363,1583,1710,2403,2388,2047,1878,1949,2099,1930,1844,1882,1956,1867,1965,2011,2082,2276,2326,1939,1788,1667,1692,1403,1024,1438,1796,1694,1765,1817,1840,1859,1977,2221,1991,1970,2385,2147,1731,1654,2339,2414,2631,2570,3028,2409,1867,2692,3729,3871,3095,2644,2476,1896,2757,2585,2638,2344,2088,2404,2417,2362,1956,1904,2711,2910,3003,2723,2666,2684,2238,1707,1632,1654,1639,1843,2006,1979,1779,1991,1846,1697,1677,2222,3086,3035,2499,2272,2002,1937,1993,2021,2231,2362,2406,2271,1912,1707,1627,1454,1360,1355,1486,1541,1691,1742,1481,1473,1424,1575,1845,1598,1427,1485,1474,1459,1535,1760,1846,1493,1460,1588,1660,1688,2316,2729,2515,2215,2392,2375,2001,1892,1757,1380,2041,3020,2476,1673,1578,1937,1799,1392,1425,1599,1418,1483,1663,1714,1678,1353,1334,1407,1502,1559,1620,1514,1507,1711,1732,1810,2097,2361,2598,2573,2741,2570,2252,1687,1479,1483,1477,1831,2166,2230,2006,2109,2134,2060,1952,1845,2258,1996,1553,1751,2757,2988,2566,2358,1932,1848,2566,2578,2336,1958,2067,1859,2081,1920,2270,2273,1527,1358,2144,2676,2867,3187,3583,3220,2457,2233,1897,1889,1982,1820,1913,1953,1969,1850,1665,1780,1455,1499,1672,1909,2643,2746,2133,1758,1743,1538,1644,2212,2868,3078,3201,3168,2588,1856,2088,2121,2053,2316,2281,1809,1868,2562,2496,2163,1632,1695,2294,1888,1603,1685,1821,1770,1784,1843,1609,1575,1539,1587,2071,2470,2294,1771,2151,2046,1659,1541,1467,1633,1789,1564,1604,1843,1801,1686,1821,1752,1760,2031,2093,1734,1400,1236,1633,1832,1554,2085,2910,3248,2587,2500,2232,1487,1659,2227,2127,2094,2150,2116,2288,3204,3601,3601,2748,2444,3343,3274,2762,2452,2885,2985,3064,2890,2142,1837,1923,2166,2320,2287,1806,2116,2325,2276,2359,2165,1704,2091,2721,3411,4091,4189,3680,2483,2117,1920,2888,3891,3840,3724,3371,2724,2408,2486,2719,2986,3434,3662,2391,1655,1625,1590,1830,2186,1969,1682,1802,1777,1831,1821,1666,1660,1406,1348,1566,1524,1554,1678,1956,2415,2138,1477,1630,1835,2510,2105,1748,1627,1828,2149,2621,3033,3376,3463,3462,3206,2090,2337,2543,2437,1851,1688,1795,1895,1713,1718,2259,2308,1780,1687,1757,1928,2093,1747,1835,1708,1678,1712,1555,1460,1394,1391,1523,1750,1896,1569,1528,1382,1447,1526,1531,1443,1537,1666,1676,1515,1615,1551,1498,1468,1930,1681,1419,1550,1496,1538,1959,1738,1410,1553,1676,1747,1804,1916,1941,1925,1819,1784,1680,1541,1486,1511,1441,1422,1286,1296,2028,3128,3975,3544,2937,2600,1988,2221,2207,1827,1487,1929,2349,2160,2163,2318,1957,2151,2078,2449,3040,2426,1779,1572,1732,2128,2016,1901,1973,1666,1829,1757,2091,2368,2469,2297,1887,1503,1641,1890,2148,1969,1855,1629,1750,2099,1666,1723,2091,1828,1758,1934,2000,2117,2216,2345,2054,1875,1987,2009,2017,2045,1876,1773,1423,1610,2486,2522,2079,2170,2747,2974,2464,2334,1936,2079,1733,1735,1704,1634,1691,1881,1819,1582,1509,1581,1588,1531,1882,1965,1978,1841,1647,1530,1488,1791,2102,2014,1691,1535,1501,1532,1371,1390,1842,2322,2021,1510,1425,1490,1406,1300,1351,1344,1224,1405,1659,1521,1464,1562,1439,1410,1393,1386,1434,1639,1883,1644,1769,2092,2121,2370,3333,3429,2203,2171,2092,1509,1582,1908,1940,1758,1868,1667,2272,2290,1973,1717,1520,1664,2071,1908,1693,1610,1799,1897,1787,2250,2177,2002,2344,2580,2658,2392,1992,1578,1463,1780,1938,1720,1513,1414,1519,1797,1863,2025,2062,1885,2256,2083,2190,2568,2776,2800,2585,2895,1762,1692,2183,2501,2641,3355,4164,4119,3644,3479,3665,3273,2263,2065,2853,3574,3915,4108,3251,2600,2602,2554,2510,2972,3580,3605,3311,2734,2329,1948,2111,2009,1828,2941,3062,2469,2082,2458,2965,2753,2217,2343,2977,3737,2733,2475,1969,1791,2018,1935,1798,1819,2093,2321,1992,1194,1157,1656,1995,1779,2141,1660,1333,1596,2217,2166,1858,1892,1969,2054,2318,2338,2127,2055,2014,1946,2169,2316,2721,2835,3144,3154,2561,2364,2254,2664,2697,2309,2215,2599,2222,2135,2148,1940,1799,2001,2576,2974,2499,2968,2965,2720,2566,2220,2273,2273,2634,2754,2533,2334,2025,1952,1850,1627,1698,2415,2093,2148,2709,2643,2414,2402,2523,2421,1978,1543,1993,2942,2843,2806,2301,2131,2348,1966,1346,1313,1724,2216,2473,2663,2441,2203,2052,2464,2334,2214,2113,1885,1591,1855,2540,2814,2632,2240,2745,2900,2596,2609,2799,2386,2040,2254,2548,2275,2065,2259,2577,2728,2596,2213,2213,1902,2116,2299,2166,2046,2262,2476,2364,2180,2089,1699,1798,1918,1572,1556,1678,1647,1808,1816,2011,1919,2109,2029,1610,1738,1807,1597,2223,2091,2623,3125,3098,1843,1320,1426,1599,2338,2532,2107,2320,1980,1565,2006,2108,1968,1830,1930,1605,1457,1455,1420,1736,2354,2137,1949,2395,2139,1725,1565,1486,1660,1795,1541,1272,1637,1860,1928,1811,1785,2058,1823,2208,2267,1693,1653,1682,1626,1699,2038,2379,2506,2357,1942,1577,1440,1618,1759,1941,1896,2497,3651,4400,4363,4301,4264,4196,3934,4200,4520,4407,4473,4082,2560,2002,1947,1475,1377,1516,1651,1779,2051,1700,2721,3111,3427,2452,2454,2755,2169,1928,2057,2124,2050,2087,2162,2193,2351,2505,1745,1350,1186,1294,1492,1619,1944,1732,1149,1585,1411,1340,1251,1553,2166,1778,1253,1254,1362,1292,1235,1354,1371,1428,1278,1403,1439,1816,1833,1816,1883,1768,1558,1586,1537,1139,961,1092,916,925,1041,1055,1299,1411,1672,1479,1246,1537,1929,2244,2445,2114,2413,2115,1456,1387,1295,1270,1410,1879,2447,2625,2326,2017,2218,2059,1709,1859,1924,1960,2014,1699,2667,3309,2823,2732,2797,2624,2486,2557,2501,2492,2624,2700,2851,2968,2934,2825,2698,2603,2535,2354,2255,2369,1706,1829,1714,2026,2081,2084,2343,1973,2035,1949,1609,1734,1639,1617,1808,1670,1830,1840,1614,1606,1697,1582,1946,2204,2287,2649,2750,2216,1653,1335,1489,1383,1799,1799,1818,1947,1824,1712,1829,1571,1377,1560,1922,1669,1821,1975,2376,1700,1406,1609,1597,1525,1559,1561,1737,1712,1798,1956,2377,2238,2446,2314,1840,1731,1625,1472,1461,1453,1759,1937,1713,1690,2000,2567,2092,1472,1332,1431,1865,1667,1598,1620,1468,1514,1432,1372,1527,1571,1406,1915,2687,2910,2459,2405,2221,2036,2179,1987,2224,2350,2305,2845,2711,2880,2692,2248,1865,1852,1810,2048,2167,1650,1522,1796,1796,1520,1358,1404,1883,2792,2387,1515,1665,1995,1866,1729,1553,1736,1634,1712,1690,1739,1970,2769,2426,1760,1868,1963,2132,2214,1688,1820,2231,2087,2637,2345,1976,1646,2250,2185,1834,1870,2051,2433,2747,3239,3260,2951,2971,2663,2481,2075,2586,3294,2734,2200,2699,2589,2642,2127,2310,2494,2595,2607,2858,2462,2841,3015,3020,2889,2397,2119,2154,2576,2817,2908,2430,1861,1631,1855,2226,2254,2596,2230,1543,1530,2566,3682,3264,2597,2588,2740,2921,2453,2099,2103,2341,2633,2869,3155,3082,2667,2798,2807,2962,2718,2500,2562,2790,2790,2740,2630,2711,2755,2737,2703,2957,2873,2340,2245,2477,2476,2544,2817,2586,1789,1361,1746,2030,2524,3045,3252,3431,3046,2330,2380,2689,2504,2448,2675,3411,3628,2613,1891,1929,2767,3939,4113,3218,2154,1959,1858,1710,1565,1740,2245,3105,3367,2953,2629,2587,2425,2119,2094,3129,3718,3857,3498,3207,3461,2732,3236,3881,3217,2765,3129,2850,2350,2391,2944,2532,2694,3683,3488,3110,3082,3032,3028,2865,3107,3632,3587,3743,3695,3292,2906,2684,2571,2430,2478,2481,2400,2522,2901,2754,2670,2843,3042,3309,3397,3098,2931,3020,2881,2756,3497,3609,3699,3443,3503,3649,3311,2883,2868,3018,2802,2557,2713,3433],[2949,3521,3338,2644,2082,1778,2344,2152,1747,1769,1732,1972,2473,2386,2691,2763,2842,2438,2724,2529,2728,2539,2778,3133,2441,2064,2032,2448,2401,2949,3725,3664,3548,2933,2981,2542,2376,3198,3759,4079,4474,4474,4077,3820,3550,3087,2934,3010,3834,3851,2607,1725,1876,2380,2639,2641,2832,2206,1806,1361,1641,1737,2116,1959,1656,1790,1697,1881,2307,2283,1955,2335,2623,1999,1868,1969,1750,1682,1924,2398,2489,1896,1709,1628,1614,1759,1966,2189,1483,1399,1596,1820,1598,2073,2210,1794,1815,1946,2212,1758,1623,1926,1888,1894,2150,3039,2624,1979,1840,1683,1710,2017,1976,1613,1557,1215,1401,1434,1505,1589,1575,1471,1452,1743,1656,1397,1749,2294,1897,1968,1796,1701,1815,1643,1631,1779,1838,1824,1785,1930,2082,2056,1874,1709,1390,1272,1457,1328,1536,1576,1407,1443,1792,2254,2492,2131,1440,1353,1463,1594,1360,1468,1440,1526,1596,1991,2482,2265,2156,1923,1523,1564,1806,2250,2292,1981,1936,2222,2484,2611,2106,1632,1588,1851,2733,2889,3117,2832,3210,2809,2510,2863,2896,2986,3150,2850,2933,3428,3189,2575,2250,2272,2113,1503,1787,1760,1521,1600,1582,1528,2206,3038,2986,2425,1503,1458,1648,1799,1710,1684,1764,1846,1828,1838,2082,2424,2125,1956,2160,2488,2443,2256,2368,2883,3086,3131,3277,3117,2945,2548,2286,2681,3076,3225,3307,3132,3010,2622,2609,2941,2990,3110,3374,3230,2908,2322,1918,2348,2820,2315,2040,1970,1725,1518,1488,1942,2052,2025,1803,1557,1602,1642,1908,2363,2688,2666,2457,2194,2316,1992,1516,1840,2320,2179,1632,1622,1984,1655,1443,1524,1592,1916,1681,1905,2214,1781,1627,2027,2242,2089,2003,2514,2354,2265,2087,1674,1557,2160,3042,3073,3172,2898,2504,2213,2674,2974,2989,3354,3072,3294,3404,3000,2881,2567,2454,2845,2463,2131,1908,1745,1665,1731,2266,2302,2296,2070,1454,1339,2212,3195,2654,1699,1758,1943,2072,1855,1955,2113,2483,2506,2592,2521,2622,2600,1536,1304,1325,1381,1342,1176,1521,1968,1704,1570,1703,1761,1646,1625,1788,1777,1943,2408,1898,1577,1664,1893,1892,2033,2336,2370,1894,2021,2669,3516,3873,3596,3527,2784,1783,1861,1864,2392,2700,2718,3165,3175,2575,2262,2008,2632,3284,3450,3262,3105,3145,2709,2238,2254,2110,1826,1850,1557,1710,1710,2036,1772,1686,1438,2039,2596,2457,2465,2262,2042,1896,2014,2078,2281,2403,2498,2545,2250,1774,1519,1427,1353,1502,1614,1597,1601,1757,1527,1440,1597,1819,1776,1553,1473,1564,1572,1453,1488,1626,1730,1456,1444,1481,1554,1874,2128,2232,2052,1807,2040,2109,1631,1591,1476,1352,1436,1741,2206,1720,1413,1506,1414,1350,1433,1387,1546,1808,1897,1644,1528,1464,1518,1736,1860,1576,1606,1663,1725,1926,1780,1832,1939,2122,2162,2446,2377,1951,1659,1677,1576,1468,1722,1907,2080,2108,2202,2393,2148,1826,1827,1947,2347,1906,1414,1665,2216,2123,1633,1861,2475,2745,2857,2429,2060,1856,2138,2260,2024,1718,1936,1791,1541,1561,2074,3388,3539,3171,3464,2874,2256,2004,1583,1638,1824,1666,1653,1883,2038,1790,1678,1828,1541,1880,2214,2402,2402,2260,2307,2568,2264,1651,1693,2116,3007,3449,3503,3044,2541,2112,2476,2714,2366,2006,1844,1918,1917,2017,1703,1735,1658,1592,1515,1406,1513,1710,2019,1858,1545,1686,1505,1494,1566,1523,1731,1885,1885,1693,2026,1937,1668,1459,1690,2292,2183,1974,1982,2164,1887,1720,1699,1560,2220,3022,2476,1808,1537,1343,2016,2151,2176,2417,2876,3054,2862,2599,1763,1352,1976,2819,3166,3095,3017,3201,2568,3279,3919,4060,2965,3226,3410,3203,2328,1909,2470,2765,2899,2916,2315,2060,1964,2220,2271,1988,1860,2116,2213,2229,2220,1865,1477,1966,2517,3657,4111,4231,3622,2518,2122,2065,3121,3969,3889,4047,3697,3348,2865,2835,3030,2665,2846,2632,1963,1664,1709,1676,1725,1844,1809,1765,1864,1787,1613,1830,1905,1743,1411,1355,1508,1439,1466,1675,1952,2186,1960,1658,1586,1910,2313,1821,1748,1606,1847,1828,2300,3030,2910,3273,3077,2590,1753,2098,2377,2389,1873,1594,1723,1718,1600,2050,2601,2336,2003,2408,1917,1506,1499,1807,2316,2369,2408,2322,2115,1858,1517,1458,1772,1913,1674,1558,1487,1554,1713,1536,1273,1442,1813,2148,1948,1456,1550,1407,1379,1788,2222,1746,1450,1473,1498,1451,1523,1521,1511,1580,1666,1670,1741,1830,2059,1938,1828,1913,1807,1674,1731,1813,1538,1307,1125,1338,2206,3281,3739,3676,3407,2977,2258,2164,2182,1829,1643,2043,2581,2620,2548,2041,1920,1701,1594,2117,2459,2123,1682,1621,1927,2019,1877,1806,1793,1687,1775,1754,1934,2077,2367,2301,1839,1687,1693,1820,2302,2557,2063,1748,1748,1886,1976,1952,2316,2144,1767,1584,1621,1905,1956,1792,1910,1848,2128,2484,2540,2458,1835,1483,1592,1956,2156,2224,2135,2302,2783,2930,2094,1829,1729,1638,1747,1781,1852,1815,1579,1664,1772,1446,1521,1901,1704,1490,1619,1744,1874,1519,1226,1548,1613,1803,1997,1786,1470,1549,1500,1570,1621,1514,1760,2090,1908,1513,1403,1462,1533,1382,1414,1412,1368,1455,1549,1461,1386,1338,1373,1463,1465,1475,1428,1463,1638,1656,1476,1414,1605,1886,2809,3120,2679,2778,2512,1726,1560,1744,1983,1689,1703,2004,2034,2255,2352,1984,1609,1920,2404,2176,1851,1627,1522,1661,1877,2100,2078,1620,1975,2779,2778,2462,2290,2237,2187,2148,2048,2020,1528,1523,1636,1648,1660,1882,2090,2052,2317,2121,1488,1578,2447,2972,2038,2309,1552,1798,2414,2685,2922,3551,4265,4256,3850,3843,3510,2481,2143,2309,2855,3583,4052,3460,2629,2422,2358,2408,2232,2336,2858,3142,3019,2360,2353,2392,2326,1952,2268,3431,3706,3091,2669,2504,2766,2783,3050,3432,3804,4248,2850,2335,2091,2000,1885,1781,1820,1982,2029,1853,1526,1090,1196,1355,1732,1964,2077,1432,1191,1515,2019,1857,1500,1551,1861,2051,2309,1892,1986,2172,1997,1592,1687,2126,2825,3210,3360,3530,3055,2544,2957,3145,2946,2407,2806,2676,2308,2512,2302,1785,1619,1710,2020,2520,2619,2558,2388,2405,2289,2033,2031,2204,2509,2688,2490,2217,2019,1944,1945,2051,1995,2649,2387,2430,2868,2622,2280,2068,2260,2235,2089,1823,2561,3290,2769,2294,2218,2458,2626,2110,1901,1926,2093,2437,2758,2791,2435,2360,2076,2194,2217,2346,2420,2110,1699,1979,2429,2732,2590,2370,2556,2398,2362,2664,2642,2116,2035,2452,2524,2387,2446,2504,2221,2032,2137,2613,2512,1700,1769,2079,1577,1865,2315,2337,2047,1950,2005,1750,1649,2200,2005,1694,1510,1487,1499,1439,1492,1582,1773,1532,1367,1646,1779,1732,2645,2714,2508,2665,2439,1633,1484,1868,2232,2529,1952,1990,2073,1780,1542,1807,2088,2120,2134,2160,2100,2042,1648,1648,1629,1744,1874,2129,2410,1862,1820,1787,1655,1698,1975,1725,1540,1698,1629,1611,1481,1749,1834,1640,1924,1665,1635,2001,2139,2053,2007,2379,2404,2208,2085,1923,1533,1460,1730,1904,1872,1934,2126,3174,4444,4448,4112,4004,4140,4168,4328,4392,4199,4160,3894,2701,1850,1859,1533,1516,1592,1649,1688,2147,1894,2638,3121,3341,2648,2327,2713,2164,2377,2508,2540,2446,2423,2438,2339,1659,1727,1837,1503,1516,1734,1698,1621,1873,1683,1097,1440,1116,894,982,1397,1532,1293,1244,1371,1428,1459,1451,1518,1421,1365,1345,1537,1638,1848,1845,1637,1773,1950,1712,1746,1738,1189,1051,1115,959,949,953,979,1192,1438,1622,1369,1035,1287,2066,2677,2893,2598,2244,1787,1852,1807,1574,1523,1682,2093,2673,3040,2844,2340,2314,1796,1602,1861,1910,1870,1631,1865,3463,3946,3282,2958,2590,2830,2989,3162,3266,3241,3169,3130,3129,3165,3066,2918,2652,2295,2344,2458,2016,2027,1696,2131,2170,2149,2510,2358,2040,2188,2481,2180,1873,2016,1644,1617,2047,1737,1635,1664,2041,2155,1724,1376,1748,1786,1669,2033,2728,2195,1613,1461,1431,1395,1409,1502,1537,1595,1662,1934,2128,1635,1464,1547,1985,1522,1589,1970,1860,1616,1662,1704,1670,1808,1969,1969,1903,1841,1936,2083,1920,1809,2337,1791,1416,1550,1498,1273,1452,1756,2062,1780,1538,1670,1869,2347,2546,1961,1513,1565,1625,1946,2331,1793,1704,1560,1550,1581,1364,1814,1871,1758,2099,1729,1715,2042,1725,2036,2142,2245,3124,3454,2649,2414,3608,4083,3239,2438,2276,2147,1826,1946,1917,1934,2210,1907,1695,1497,1567,1427,1569,2414,2262,1675,1760,1684,1682,1929,1819,2326,2065,1905,1550,1419,2153,2969,2735,1866,1872,2152,2056,1932,1574,1623,2142,2114,2732,2742,2380,1932,2080,2427,1708,1815,1980,2418,2944,3623,3419,3224,3118,3432,3321,2978,2726,2379,1909,2234,2539,2479,2424,2288,2432,2688,2805,2975,2786,2551,2635,2757,2767,2462,2761,2437,1868,2172,2622,2240,2084,2206,1780,1866,2225,2162,1834,1688,1505,1636,2843,3429,3200,2796,2610,2800,3162,2942,2602,2277,1872,1766,2181,3009,3133,2730,2990,2996,3016,2798,2524,2656,2717,2831,2864,2595,2844,2611,2656,2584,2958,2589,2342,2365,2448,2009,1844,2121,2644,2580,2530,2609,2571,3138,3349,3115,3248,3033,2742,2704,2897,3064,2656,2930,4082,3115,2351,1858,1816,1972,2466,2986,2824,2454,2148,1909,1856,1846,2137,2606,3100,3211,3244,2750,2592,2153,2077,2322,2925,3611,3825,3513,3234,3310,3063,3146,3255,3167,3316,3598,3260,2625,2391,2768,2918,2928,3381,2882,3130,3087,3602,4231,4079,4004,3924,3695,3717,3581,3046,2502,2288,2487,2402,2286,2598,2618,2499,2674,2377,2292,2397,2643,3116,3166,2777,2530,2449,2277,2243,3243,3381,3197,2952,2823,2718,2667,2646,2906,3106,3105,3090,2758,3111],[3292,3152,3183,2798,2031,1808,2049,2139,1806,2041,2127,2124,2074,2038,2303,2473,2430,2473,2548,2597,2780,2622,2806,2883,2458,2027,1748,1949,1654,2578,2820,3107,3075,3097,3602,3253,2591,3008,3359,3682,3940,3831,3996,3921,3422,2852,2890,3089,3249,2665,1761,1654,2249,2879,2331,2642,3343,2251,1521,1674,1978,2076,1964,1613,1761,1763,1745,1984,2246,2217,1862,2194,2452,2173,1666,1696,1843,1897,1997,2797,2887,1958,1710,1687,1487,1736,1725,1744,1548,1426,1731,1783,1553,1864,1853,2197,2325,2282,2373,1661,1507,1559,1554,1646,2248,2845,2617,2313,1905,1641,2154,2597,2466,1877,1636,1716,1739,1773,1725,1587,1638,1613,1567,1709,1708,1510,1672,2172,2063,2258,2194,1985,1883,1843,2017,2117,1710,1452,1605,1786,1908,1824,1916,2072,1850,1722,1544,1346,1428,1455,1504,1948,2126,2436,2624,1945,1484,1576,1633,1489,1439,1531,1517,1505,1632,2041,1993,1493,1676,1949,2098,2024,2040,2471,2778,2583,2248,2165,2093,1895,1741,1902,1871,2288,3194,3155,3440,3116,2990,2756,2724,2843,2843,2731,2499,2237,2456,2884,2725,2742,2899,2878,2554,2258,2042,1669,1742,1773,1505,1504,1674,2397,2836,2520,1713,1578,1634,1858,1838,1674,1802,1948,1653,1643,2186,2336,1993,2570,2771,2889,3024,3008,3139,3307,2984,2875,3042,2882,2493,2179,2522,2781,2808,2731,3238,3633,3550,3297,3198,3317,3313,3243,3123,2855,2372,2277,2614,3099,2552,1848,1659,1635,1750,1725,1505,1729,2386,2631,2339,1627,1513,1709,2077,2480,2543,2542,2351,2250,2681,2403,2271,2723,2775,2485,1889,1737,2466,2085,1991,1911,2102,2204,1864,2130,2175,1978,1942,1843,1853,1944,2116,2316,2049,1969,1656,1787,2288,3096,3415,3206,3034,1736,1402,1597,2599,3144,3066,3123,3529,3486,3002,2715,2382,2396,2242,3066,3008,2586,2310,2311,2332,1984,2040,2166,2062,2137,2042,1224,1741,3062,2497,1746,1825,1824,2009,1974,1860,2122,2536,2608,2399,1958,2005,2234,1533,1485,1417,1569,1580,1278,1533,2128,1793,1575,1971,2062,2026,2054,1720,1957,2439,2212,1731,1483,1756,1848,1664,1742,1922,1952,1713,2349,2994,3279,3664,3485,3444,2932,2108,2187,2275,2318,2513,2712,3540,3328,2072,2496,2397,2507,2922,2679,2090,2307,2746,2734,2830,2822,2534,2266,2525,2079,1886,1737,1669,1641,1661,1658,2577,2715,2397,2448,2114,2176,2009,2007,2051,2195,2427,2539,2548,2412,2166,1827,1404,1591,1662,1502,1409,1309,1792,1767,1678,1737,1911,1708,1539,1593,1606,1597,1577,1495,1561,1821,2028,1764,1581,1750,1890,1752,1741,1860,1693,1672,1918,1808,1475,1534,1438,1279,1365,1879,1729,1512,1616,1607,1414,1454,1720,1990,2051,2135,2040,1707,1773,1749,2052,1991,1529,1670,1660,1558,1694,1712,1809,1598,1681,1720,2197,1936,1591,1584,1660,1567,1504,1773,2100,2340,1763,2045,2087,1945,1787,1899,2144,2344,2020,1837,1744,1515,1540,1953,2580,2690,2730,2896,2381,1619,1559,1825,2076,1764,1641,1990,1656,1625,1431,1556,2699,3279,3373,2899,2511,2281,1840,1622,1537,1469,1442,1513,1665,1774,1892,2096,1851,1815,2343,2501,2273,2257,2540,2729,2846,2613,2048,1994,2235,2577,3146,2954,2562,2333,2297,2670,2242,1740,1698,1623,1967,1704,1748,1561,1704,1904,1751,1592,1568,1574,1932,2562,2083,1556,1864,1840,1447,1624,1673,1604,1781,1699,1591,1586,1570,1645,1811,2126,2522,2665,2292,1843,1799,1561,1421,1440,1445,1732,2088,2008,1763,1832,1992,2432,2021,2194,2394,2712,2178,2244,2113,1693,1652,1777,2302,3159,3077,3409,3704,3044,3328,3763,3770,3072,2800,3227,3683,2796,2425,3008,3009,2634,2568,2253,2040,1914,2138,2244,1945,1831,2105,2153,2209,2308,2389,1760,1849,2333,3596,4068,4233,3507,2448,2075,2149,3160,3764,3548,3992,3896,3102,2595,2854,2734,2289,2109,1973,1914,1831,1643,1657,1837,1663,1702,1815,1946,1837,1806,1824,1804,1564,1374,1354,1341,1395,1663,1865,2033,1961,1691,1699,1607,1621,1520,1612,1712,1699,1804,1859,2159,3034,3075,2765,2191,1889,2010,2569,2768,2499,2124,2085,2099,1966,2020,1854,1718,1519,1988,2834,2114,1544,1614,1992,2601,2887,2902,2902,2818,2557,2037,1681,2095,1944,1720,1653,1569,1685,1744,1644,1752,1903,2378,2448,1820,1628,1527,1432,1372,1965,2193,1793,1439,1481,1625,1477,1386,1434,1539,1455,1616,1599,1593,1852,2123,2018,1856,1860,1817,1861,1943,1904,1461,1120,1013,1556,2229,2325,2451,2208,1873,1635,1691,1917,2081,1772,1847,1697,2101,1997,2260,1965,1816,1520,1825,1935,1897,2178,1772,1816,1681,1573,1748,1740,1780,1670,1702,1950,1854,1913,2291,2153,1935,1689,1765,2031,2347,2516,1893,1870,1729,1499,1743,2160,2358,1936,1513,1773,1708,1675,1801,1723,1682,1598,2436,2996,3083,2563,1807,1447,1582,1948,2018,1937,2091,1931,2323,2106,1753,2000,1816,1678,1910,1824,1929,1722,1511,1739,1888,1622,1505,1881,1808,1818,2073,1902,2200,2139,1543,1457,1589,2021,1903,1603,1562,1554,1408,1499,1677,1703,1656,1585,1628,1758,1684,1426,1434,1476,1462,1436,1455,1726,1708,1686,1745,1703,1634,1454,1337,1473,1365,1416,1604,1770,1699,1487,1294,1331,1564,1608,1952,2741,2935,2559,2479,2493,2458,1906,1752,2241,2192,2091,2405,2267,1621,1826,2019,1736,1809,1912,2253,2369,2293,2049,1831,1593,1907,2769,3259,2777,2288,2301,2129,1794,1722,2064,1770,1602,1664,1874,1807,1801,2151,2270,2482,2124,1736,1631,2302,2901,2239,1992,1496,1760,1763,1490,2309,3605,4007,3662,3307,3738,3783,3156,2873,2722,3036,3775,4063,3090,2200,1953,1941,2003,2122,2111,2226,2237,2235,2202,2304,2159,1866,1882,2491,3519,3608,3265,3155,2686,2452,2411,2609,2908,3531,3530,2633,2427,2454,1980,1771,2037,2065,1858,2004,1560,1234,1012,859,961,1315,1692,1483,1063,962,1093,1087,1007,1094,1430,1747,1994,2151,1884,1883,1986,1854,1869,2343,2609,2956,3350,3312,3184,3007,2819,3580,3355,2334,2265,2409,1962,2253,2845,2343,1886,1694,1747,1856,2515,2791,2340,2565,2466,1894,1741,2114,2578,2269,2350,2479,2603,1980,1804,1930,2025,2066,2463,2643,2822,3031,2859,2281,1969,2348,2177,1778,2136,3002,3122,2525,2291,2398,3032,3134,2252,2195,2370,2467,2463,2643,2667,2646,2172,1993,1973,1820,2129,2525,2318,1786,2088,2146,1937,1635,1994,2025,2119,2287,2293,2136,2263,2591,2364,2366,2991,2895,2316,1989,1922,2264,3173,2835,1653,1623,1818,1747,2307,2605,2066,1579,1714,1615,1665,1927,2552,2472,1923,1609,1666,1720,1561,1815,1772,1582,1902,1754,1817,1840,1855,2279,2499,2110,1752,1637,1463,1389,1753,2072,2221,1560,1572,1427,1313,1452,1576,1808,1868,2016,2100,1917,2217,1613,1560,1533,1615,1735,2151,2003,1470,1587,1865,1709,1756,2222,1555,1505,1645,1696,1424,1437,1479,1399,1448,1737,1929,1929,1883,1814,2140,2468,2521,2152,1844,1865,1985,1693,1353,1684,1941,1842,1780,1680,3008,4186,4037,3760,3914,3903,3991,3896,3436,3154,3082,2829,2438,1802,1880,1568,1499,1583,1618,1709,2177,2094,2474,2965,3132,2827,2408,2776,2316,2716,2632,2418,2346,2378,2280,2062,1545,1820,2285,1714,1476,1571,1584,1587,1821,1610,1004,1226,1035,944,1362,1483,1498,1462,1500,1512,1599,1688,1609,1516,1429,1483,1544,1788,1842,1911,1937,1665,1781,1957,1939,1946,1872,1262,1021,1108,1294,1149,962,1116,1179,1323,1594,1156,923,1135,2003,2512,2315,2478,1982,2132,2521,2501,2455,2382,2355,2644,2998,3078,3077,3024,2625,1925,1627,1796,2215,2132,1403,2190,3559,3739,3458,3068,2911,3260,3231,3322,3294,2950,2900,3077,3113,3103,3047,3008,2669,2175,2196,2479,1939,1720,1830,2300,2132,1920,2013,1825,1786,2218,2339,1728,1762,1909,1632,1599,1749,1620,1876,2088,2200,2296,1938,1464,1702,1422,1252,1409,1689,1445,1291,1650,1628,1484,1561,1512,1478,1527,1479,1688,1911,1617,1560,1672,1889,1804,2038,2050,1640,1497,1645,1858,1852,2158,2111,2214,1960,1705,1884,1883,1499,1815,2191,2201,1928,1402,1460,1617,1814,1730,1471,1304,1623,1743,2009,2012,2166,2154,1667,1615,1704,2142,2289,1596,1531,1561,1527,1433,1594,2298,1978,2028,2391,1758,1725,1906,2556,2890,2105,2332,3153,3106,2048,2525,3819,4100,3305,2287,2286,2107,1846,2081,2219,2153,2570,2131,1813,1830,1860,1802,2076,2319,1896,1768,1854,1666,1600,1532,1941,2435,1923,1741,1641,1606,1991,2349,2438,2042,1873,2198,1958,1718,1556,1556,1648,1840,2610,3188,2928,2216,1890,2446,2046,2039,2065,2570,3084,3363,3407,3105,3071,3518,3716,3702,3185,1828,1799,2910,2326,2019,2081,2626,2903,2784,2592,2380,2049,2152,2596,2965,2814,2380,2921,2499,2241,2304,2347,1825,2026,2215,1773,1643,1637,1888,1934,1973,1706,2625,3372,3282,2880,2344,2089,2404,2837,2789,2462,2271,2469,2574,2599,2713,2761,3077,3240,2953,2521,2164,2324,2766,2944,3389,3164,3019,3750,2705,2226,2313,2420,2314,2413,2436,2340,1937,1471,1453,2402,2469,2569,2833,3134,3416,3391,3537,3596,3312,3206,2906,2677,3032,3019,3716,3332,2355,2103,1959,1884,1957,2149,2363,2922,3442,2747,2314,2366,2257,2313,2381,2502,3061,2984,2977,2493,1765,2298,2509,2741,3355,3768,3716,3365,3255,3129,2985,3170,3404,3693,3950,3739,2774,2211,3174,4089,3753,3973,3173,3523,3337,3503,3529,3632,4106,3975,3385,3260,3029,2486,2317,2662,2833,2603,2324,2453,2566,2589,2565,2286,2098,2060,2359,2711,2855,2813,2579,2321,2158,2238,2739,2553,2324,2318,2468,2789,2823,2770,3145,3103,3168,3056,2673,3042],[2590,2427,2971,2679,1914,2340,2238,1837,1787,2088,2220,2291,2156,1742,2136,2238,2187,2078,2008,2366,2463,2236,2208,2567,2353,1786,1571,1520,1445,1981,2276,2676,3252,3711,4080,3293,2556,2934,3066,3532,4007,3852,3531,3322,3119,2796,3097,3351,3265,3167,2482,1988,1970,1945,1850,1943,2412,2093,1622,1755,1823,1745,1566,1795,2245,1745,1759,1765,1597,1558,1450,1616,1894,1662,1417,1580,1904,1710,1626,2159,2368,1857,1810,1586,1538,1667,1605,1535,1588,1644,1686,1551,1512,1631,1914,2592,2376,1786,1704,1509,1542,1508,1466,1427,1942,2721,2934,2454,1586,1706,2243,2989,3231,2342,1881,1641,1484,1745,1844,1612,1716,1701,1547,1655,1731,1614,1664,2104,1955,1940,2408,2484,2337,2378,2618,2217,1766,1570,1519,1577,1703,1695,1824,1915,1944,2029,1869,1548,1430,1362,1382,1726,1909,2314,2280,1641,1402,1708,1822,1672,1673,1806,1948,1531,1667,1443,1129,1235,1674,2458,2431,2242,2005,2093,2524,2530,2064,1945,2288,2456,1994,1799,1707,2160,3064,3432,3530,3349,2912,2692,2952,3120,3291,3312,2893,2037,2458,2855,3006,2886,2720,2752,2592,2246,1915,1792,1968,1952,1623,1794,2010,2578,2568,2067,1938,1853,1686,1668,1693,1583,1666,1709,1531,1829,2016,1932,2067,2890,3112,3155,3497,3354,3256,3056,2940,2957,3029,2625,2047,2127,3045,3418,3452,3199,3059,3157,3201,3121,2973,2854,3095,3045,2785,2596,2277,2599,2933,2680,2059,1857,1905,1653,1719,1866,1752,1794,2024,2267,2281,1660,1606,2107,2482,2737,2468,2069,1968,2231,2690,2717,2865,2898,2338,2210,1911,2079,2151,1911,2499,2590,2072,1888,1720,1848,1898,2363,2194,1836,1610,1902,2138,2055,2353,2128,1792,2200,2632,2858,3196,3586,2432,1174,1222,1636,2785,3400,3135,3209,3430,3057,2578,2364,2232,2808,2098,2083,2136,2338,2089,2308,2505,2189,2088,2079,2264,2779,2490,1243,1599,2144,1813,1745,1742,1763,1921,2082,1937,1703,2045,2266,2065,1945,1703,2161,1811,1731,1748,1954,1854,1500,1793,2095,1854,1499,1542,1632,2027,1974,1809,2066,2237,2065,1931,1866,1965,1764,1732,1806,1700,2417,2290,2282,2446,3282,3461,3144,3194,3013,2536,2749,3222,3489,3230,2652,3247,3261,2748,2654,2469,2564,2832,2713,1974,2154,2623,2742,2863,2710,2708,2578,2846,2800,2292,2008,1757,2072,2042,2093,2922,3206,2786,2486,2082,2151,2108,2078,2123,2129,2160,2191,2310,2230,2089,1920,1620,1687,1516,1560,1488,1348,1476,1582,1520,1592,1773,1627,1432,1366,1470,1511,1519,1656,1739,2119,2264,1874,1732,2048,2144,1698,1470,1486,1515,1433,1672,1542,1590,1993,1797,1688,1598,1386,1509,1591,1664,1710,1510,1753,1801,1648,1670,1887,1821,1861,2123,2162,2297,1780,1979,2196,1642,1399,1612,1925,1882,1780,1813,1651,1487,1405,1538,1798,1679,1634,1426,1651,1845,1789,1723,1886,2122,2272,2060,1909,2184,2170,1962,2016,2095,2121,2598,2928,2915,2582,2706,2675,2096,1613,1671,1852,1572,1509,1824,2271,1798,1649,1552,1651,1999,2599,3272,3406,3518,3166,2100,1909,1630,1553,1543,1832,2004,1670,1649,1780,1793,1913,2258,2508,2519,2596,2456,1808,2382,2602,2025,1857,2061,2221,2366,2166,1986,1860,1977,2238,1767,1706,1563,1675,2078,1686,1561,1501,1638,1745,1689,1672,1792,1561,1597,1783,1725,1801,2176,1976,1622,1509,1530,1614,1847,1795,1760,1719,1856,1951,2122,2632,2777,2438,1884,2132,2010,1469,1498,1489,1571,1886,1637,1455,1538,1895,2366,2259,1958,2076,2410,2279,1640,1584,1638,1641,1796,1827,2157,3417,3505,3493,3780,3574,3802,4363,3963,3036,2874,3276,3880,3493,3149,2788,2437,2310,2183,2260,2014,1903,2193,2266,2049,1833,2213,2293,2195,2463,2780,2492,2102,2795,3829,4233,4144,3186,2298,2065,2252,3443,3471,2811,3349,3781,3062,2805,2767,2330,1987,1894,2002,1947,1636,1560,1578,1842,1533,2076,2494,2807,2573,2145,2042,1707,1300,1415,1383,1422,1537,1754,1893,1676,1554,1780,1689,1721,1804,1996,1936,1710,1802,1764,2009,1954,2559,2141,1950,1941,2106,2874,3226,3212,2950,2467,2230,2157,2414,2584,1908,1829,1760,1807,1969,1653,1513,1604,2039,2680,2742,2910,2929,3034,2766,2057,1911,1868,1734,1937,1855,1659,1624,1700,1973,2437,2491,2534,2278,1714,1494,1535,1428,1561,1711,1570,1503,1521,1658,1758,1533,1455,1602,1616,1433,1722,1710,1503,1554,1781,1810,1580,1620,1898,1930,1863,1844,1592,1175,1013,1528,2079,1911,1682,1679,1561,1626,1593,1783,2251,1722,1462,1638,1788,1736,2256,2459,1903,1520,1826,2298,2336,2132,2047,1702,1578,1660,1811,1825,1934,1794,1816,1959,1695,1829,2160,1977,2030,1986,1831,2178,2343,2717,2317,2103,2172,1944,1924,2198,2260,1782,1627,1654,1652,2120,2014,1664,1715,1789,1978,2265,2479,1996,1631,1454,1609,1956,1952,1676,1659,2339,2596,2210,2029,1970,1764,2223,2420,1859,1785,1559,1580,1793,1711,1425,1377,1676,2020,2437,2254,1881,2110,1692,1537,1463,1570,1820,1707,1648,1695,1673,1392,1347,1550,1684,1548,1570,1579,1689,1656,1466,1648,1626,1611,1544,1451,1615,1600,1649,1720,1742,1528,1198,1244,1445,1376,1304,1472,1549,1676,1692,1750,1927,1547,1498,1854,2169,2003,1700,1937,2135,2876,2792,2093,1962,2091,2088,2061,1913,1720,1569,1527,1632,1978,2334,2700,2597,2373,2170,1882,1731,1719,2230,3177,2922,2481,2426,2178,1884,1904,2179,1918,1786,2115,2308,1970,1802,2508,2415,1841,1785,2128,1731,1872,2152,2103,1936,1804,1736,1853,2183,2679,3834,4389,4144,3161,3109,3708,3936,2957,2462,3107,3781,3906,3646,2640,1880,2058,2315,2450,2402,2160,1768,1750,1953,2188,2053,1509,1526,2364,3116,3374,3143,3348,3100,2156,1981,1679,1801,2692,2996,2543,2416,2285,1888,2228,2500,2182,1656,1382,1149,1162,871,652,828,943,938,901,768,788,775,678,727,1079,1442,1609,1888,2063,2100,2023,1787,1793,2406,2634,2608,2558,2844,2976,2934,2709,2133,2711,2836,2085,1910,1944,1840,2353,2360,2499,2183,1987,1938,1992,2358,2222,2008,2619,2742,1980,1820,2254,2232,1854,2026,2472,3265,2521,1704,1785,2110,2008,2040,2822,3261,2554,2578,1987,2163,2257,2137,1992,2043,2380,2598,2396,2098,2106,2405,2097,2054,2178,2655,2695,2630,2623,2565,2228,1818,1721,1806,2088,2310,2217,1848,2048,2452,2569,2508,2699,2533,2463,2577,2728,2766,2642,2728,3129,2780,2596,2988,2648,2498,2126,1833,1938,2495,2447,1665,1543,1666,1782,2194,2258,1626,2043,2048,1880,1511,1974,2851,2701,2213,1822,1763,2260,2312,2602,2187,1779,2272,2013,2011,2395,2405,2331,2302,1889,1934,1849,1560,1474,1499,1548,1571,1388,1397,1360,1320,1352,1448,1575,1455,1695,1755,1776,1805,1408,1390,1463,1531,1651,1797,1519,1372,1689,1734,1389,1379,1844,1824,1601,1601,1734,1482,1342,1621,1725,1446,1703,2170,1848,1655,1586,2008,2201,2198,1929,1627,1635,1821,1520,1311,1801,2056,1894,1910,1610,2613,3520,3349,3081,2862,2912,3176,3039,2643,2532,2664,2674,2544,1968,1889,1597,1439,1533,1586,1722,2134,2138,2302,2821,3027,2800,2395,2542,2249,2400,2264,2287,2359,2341,2175,1966,1571,1540,2286,1937,1514,1604,1505,1310,1654,1666,1065,1198,1228,1266,1634,1526,1510,1460,1472,1480,1571,1971,2225,1962,1738,1675,1708,1677,1670,1869,1929,1910,2092,1685,1634,1638,1703,1553,1415,1571,1640,1374,1209,1267,1202,1294,1687,1082,895,966,1431,1766,1907,1766,1557,2032,2533,2836,2820,2509,2279,2802,2846,3067,3121,3065,2568,1872,1617,1641,2270,2322,1659,3222,3712,3648,3494,3163,2963,3319,3394,3354,3167,2819,2732,2907,2991,2962,2951,2965,2823,2502,2347,2552,2154,1726,1918,2266,2268,2337,2159,2054,1921,2382,1969,1648,1654,1737,1816,1514,1446,1642,1734,1748,1959,2001,2041,1783,1566,1316,1275,1440,1447,1383,1508,1887,1674,1383,1347,1328,1465,1535,1471,1439,1410,1476,1393,1786,2101,1993,1971,1779,1840,1559,1516,1509,1821,2127,1692,2100,2013,1788,1775,1529,1742,2249,2609,2744,1952,1416,1599,1991,1815,1791,1593,1436,1679,2008,2655,2388,1898,1948,1817,2230,1831,1923,2209,1709,1627,1744,1554,1791,2258,2131,1971,2461,2044,2067,2216,2343,2700,2382,2026,2417,2752,2247,1771,2142,2994,3140,2697,2077,2182,2331,2121,1901,2271,2121,2231,2272,2100,2089,2078,2077,1950,1983,1526,1535,1687,1459,1340,1253,1622,1864,1857,1957,1971,1539,2304,2942,2149,2107,1990,2136,2106,1746,1637,1856,1930,1745,2008,2864,2868,2508,2096,2496,2613,2418,2679,3571,3387,3023,3281,2936,3155,3572,3285,3270,3017,1975,2364,2412,1794,1515,1810,2414,2652,2530,2626,2316,1792,1830,2184,2602,2446,2574,2915,2341,2341,2871,2588,2171,2408,2320,1601,1553,1756,2110,1995,1932,1571,2421,2677,2850,3130,2717,2547,2792,2864,2765,2869,2219,2701,3374,3308,3284,3138,3011,2812,2319,1994,1623,1871,2740,2853,3150,2994,2961,3333,2552,2221,2231,2165,2415,2468,2200,2380,2297,2198,2176,2412,2277,2460,3331,3620,3382,3505,3594,3647,3231,2930,2587,2140,2676,3145,3907,2496,2176,2419,1833,1794,2299,2376,2668,3142,3500,2861,2425,2432,2526,2491,2902,3428,2988,2365,2518,1901,1632,2404,2315,2409,2997,3665,3654,3063,2856,3114,3398,3604,3605,3368,3540,3537,2691,2180,2756,3876,4253,3864,3426,3960,3755,3452,3563,3956,3971,3352,2883,2894,2614,2666,2762,2849,2882,2863,2717,2658,2828,2881,2658,2350,2187,1994,2244,2265,2484,2789,2744,2522,2347,2370,2261,2090,2164,2450,3032,3333,2917,2746,2962,2999,2810,2667,2496,2588],[2392,2852,3160,2875,2304,2519,2051,1454,1749,2320,2147,2110,2003,1924,1827,1616,1590,1570,1563,1879,2178,1837,1409,2193,2050,1888,1984,1789,1958,2924,3205,2314,2303,3339,4082,3347,2994,3094,2668,3146,3396,3371,2968,2877,3203,3308,3419,3034,2889,3072,2611,2247,2294,1980,1682,1723,1835,1818,2160,2217,1557,1460,1610,1863,1793,1509,1621,1669,1758,2021,2000,2011,1863,1577,1664,1903,2111,2028,2209,2042,1894,1838,1806,1648,1828,1787,1705,1735,1660,1663,1808,2048,1981,2086,2421,2669,2055,1522,1447,1549,1634,1652,1637,1330,1572,1725,1923,1621,1333,1981,1861,2604,3208,2307,1669,1409,1416,1547,1803,1693,1632,1822,2117,2145,2208,2069,1955,2136,2016,2288,2510,2138,2296,2768,2774,2267,2338,2154,1893,1577,1466,1587,2032,2100,1779,1874,2066,2072,1732,1436,1367,1675,1648,1909,1570,1423,1462,1634,1809,1886,1842,1798,2030,1688,1942,2002,1681,1598,2120,2769,2561,2429,2073,1525,2054,2379,1834,1903,2161,2356,1682,1747,1626,1873,2600,2569,2388,2551,2621,2403,2923,3174,3545,3637,3650,2885,2902,3399,3200,2456,1987,2131,2353,2171,1983,1884,1683,1660,1713,1885,1872,2167,1861,1757,1926,2090,2214,1917,1624,1411,1589,1689,1862,2236,1991,2181,2065,2531,2783,3376,3529,3076,2916,2606,2691,2585,2785,2280,1951,2645,3139,3594,3839,3482,3312,3002,2529,2718,2523,2368,2745,3253,3269,3024,2829,3041,2866,2499,2250,2030,1948,1582,1474,1411,1823,1836,1605,1549,1626,1694,2243,2546,2161,2205,2236,2279,2736,2842,2943,2809,2872,2382,1937,2016,2333,2544,1981,1721,2514,2492,1743,1681,1599,1557,2280,2911,2781,2338,2059,2251,2209,1914,2025,1977,1703,1631,2000,1985,2054,2843,2134,1206,1283,1924,2666,2919,3284,3836,3577,2780,2491,2898,3199,3385,2851,2098,2045,2601,2500,2177,2227,2323,2293,2333,2538,2985,2930,2038,1904,1592,1919,2249,2014,2076,1918,1962,2026,1637,1880,1948,2053,2143,1884,2237,2080,2067,2239,2305,2152,1721,1873,1928,1857,1753,1781,1651,2026,1797,1638,1649,1582,1915,2085,2019,2105,1766,1649,2170,2208,2494,2526,2279,2269,3067,3661,3749,3640,3155,2691,3271,3825,3864,3742,3150,3395,3108,3285,3596,3315,2753,2322,2069,2667,3060,2640,2592,2548,2664,2542,2207,2706,2863,2887,2637,1986,1849,2109,2050,2271,2937,2875,2357,2161,2113,1973,2031,2175,2226,2247,2207,2317,2218,2196,2171,1837,1430,1422,1532,1484,1377,1396,1498,1553,1714,1821,1594,1453,1363,1443,1395,1383,1621,2091,2537,2222,1778,2079,2424,2301,1859,1782,1849,1738,1656,1722,1638,1634,1902,1969,1794,1426,1429,1791,1588,1390,1599,1664,1964,1698,1348,1249,1454,1562,1538,1522,1940,2506,2080,2012,2022,1710,2096,2030,2058,1850,1607,1669,1699,1634,1403,1703,2002,1921,1764,1785,1687,2286,2286,1848,1756,2199,2427,2046,1908,2099,1920,1775,1736,2150,2597,2829,2522,2379,2543,2846,2603,2068,1971,2291,2038,1509,1463,1714,2201,1885,1707,2344,2819,2718,3085,3904,4351,3993,3626,3262,2401,1643,1673,1456,1912,2024,1476,1405,1543,1674,1847,2055,2495,2685,2473,1895,1389,2216,2378,1821,1543,1719,1829,1786,1804,1744,1740,1717,1828,1654,1868,2117,2019,2148,1736,1476,1525,1453,1409,1387,1574,2014,1979,1591,1444,1619,1850,2474,3002,2541,1808,1702,1701,1891,2166,2271,2168,2160,2333,2066,2157,1755,1535,1731,2366,2093,1436,1583,1602,1596,1800,1491,1527,1460,1568,2060,1990,1856,1838,1910,1763,1560,1567,1511,1734,2403,2244,2843,3825,3936,3784,3647,3376,3558,4336,4020,2848,3199,3431,3651,3485,3230,2552,2134,2052,1968,2437,2252,1897,2138,2152,1999,2020,2390,2526,2305,2624,2697,2571,2289,2831,3882,4281,3991,2979,2177,1995,2402,3383,3252,2798,3247,3630,2857,2498,2716,2184,1816,1918,1758,1553,1377,1655,1676,1841,1683,2174,2942,3473,2884,2032,1943,1894,1725,1599,1421,1397,1496,1483,1685,1394,1373,1652,1787,1797,1700,2124,1898,1644,1929,2424,2415,2600,2130,1628,1880,1888,2643,3609,3243,3050,2823,2494,2219,2038,1804,2162,1849,1667,1693,1653,1587,1555,1377,1537,2334,3252,3182,3007,2918,2950,2636,2220,2245,1940,1960,2331,2006,1753,2242,2551,2102,1976,2483,2786,3021,2216,1666,1616,1570,1784,1599,1481,1502,1592,1605,1587,1489,1563,1736,1715,1658,1959,1714,1488,1510,1824,1842,1424,1414,1648,1943,2195,2030,1774,1731,1527,1832,2203,1982,1753,1769,1635,1496,1481,1648,2086,1848,1610,1914,1989,1936,2295,2039,1547,1549,1732,2070,2019,1841,1887,1538,1600,1760,1701,1875,2045,1795,1750,1836,2088,2286,2091,1968,2116,2147,2128,2210,2225,2662,2331,2013,2391,1891,2027,2379,2393,1937,1744,1555,1713,2133,1787,1628,1695,1617,1757,2331,2299,1604,1475,1574,1673,1589,1530,1639,2013,2668,2604,2185,2304,2063,1742,2340,2713,2340,1974,1669,2080,1826,1530,1504,1476,1641,1988,2558,2601,2155,1813,1469,1469,1452,1704,1664,1482,1416,1669,1882,1682,1473,1565,1706,1491,1562,1455,1404,1393,1459,1499,1370,1633,1836,1644,1475,1286,1430,1567,1573,1324,1271,1439,1893,1711,1445,1482,1412,1616,2024,2200,2380,1679,1896,2050,1951,1538,1409,1512,1479,2366,2934,2422,1815,1680,1779,1791,1814,1724,1554,1770,1978,2514,2907,3037,2819,2353,2187,2181,1919,1712,1807,2669,3151,3013,2885,2912,2386,2261,2515,2223,2107,2544,2627,2240,2072,2729,2588,1960,1840,1724,1636,1747,2288,2089,1683,2009,1993,2142,2856,3116,4046,4436,3835,3051,3072,3606,3528,2396,1899,2651,3550,3928,3965,3038,2482,2188,2135,2282,2208,1933,1676,1468,1680,2367,2491,1946,1864,2497,2564,3016,3104,3190,3143,2490,1943,1584,1704,2325,2746,2464,2234,1986,1796,2222,2304,1737,1419,1117,1022,890,694,627,639,687,776,766,572,535,485,503,749,1171,1246,1280,1708,2200,2147,2085,2005,2034,2697,2483,2342,2138,2046,2185,2485,2818,2454,2550,3243,3068,2683,2306,1982,2013,2061,2682,2547,2219,1959,1569,1481,1799,1853,2287,2742,2249,2461,2420,2163,1980,2085,2502,3482,2732,1564,1355,1480,1997,2003,2579,2851,2645,2265,2004,2062,2358,2579,2320,2117,2236,2106,1995,1912,1800,2019,2289,2458,2667,2779,3001,2967,2844,2511,2084,1859,1742,2111,2249,2203,2152,1764,2485,3021,3010,3328,3754,3565,3314,3286,3651,3610,3471,3377,3738,3866,3439,3709,3450,3133,2361,1895,2096,2186,2122,1802,1688,1750,1730,1904,1944,1569,1912,2002,1934,1559,1721,2707,2749,2374,2311,2549,2584,2585,2765,2207,2025,2259,1906,1969,2624,2565,2286,2298,2243,2791,2575,2052,2127,2000,1668,1479,1437,1483,1428,1420,1471,1736,2161,2015,1706,1345,1406,1609,1532,1317,1621,1638,1395,1584,1517,1426,1591,1710,1318,1554,1827,1916,1780,1719,1554,1350,1583,2186,2278,2080,1981,1836,1925,2011,1995,1854,1743,2006,1921,1843,1882,1689,1247,1709,2401,2503,2003,1926,1993,2497,2583,2496,2383,2496,2800,2687,2745,3065,3000,2858,3010,2493,2103,1766,1456,1414,1497,1600,1712,2060,2261,2417,2714,2957,3056,2825,2503,2251,2381,2369,2518,2765,2696,2288,1650,1193,1360,2237,2198,1788,1518,1195,1110,1563,1791,1445,1359,1267,1331,1648,1972,1603,1490,1489,1465,1553,1951,2132,2037,1913,1708,1382,1332,1658,1684,1709,1746,1768,1698,1553,1521,1581,1704,1903,1637,1231,1250,1180,1295,1213,1222,1576,1104,1004,1263,1551,1762,2066,2040,1793,2022,2558,3031,3228,2819,2279,2653,2584,2873,2851,2684,2348,1774,1707,1733,2056,2598,2745,4095,4277,3884,3553,3325,3190,3341,3238,3082,3060,2872,2774,2930,3061,2890,2987,3046,2879,2459,2236,2286,2070,1909,2139,2279,2290,2277,1996,2182,2165,2481,2079,2332,2198,2105,2063,1807,2173,2289,1968,1691,1785,1752,2263,2169,1903,1512,1379,1362,1419,1496,1605,1711,1366,1313,1361,1416,1508,1406,1439,1342,1460,1618,1719,2315,2357,1914,1727,1687,1665,1602,1447,1248,1912,1734,1319,1609,1604,1446,1242,1588,2286,2113,2386,2957,1876,1390,1508,1433,1257,2012,2511,1956,1815,2132,2312,2121,1945,2103,1858,1685,1498,1897,2059,1575,1863,2010,1762,2429,2806,2018,2071,2357,1868,2112,2526,2565,2213,1979,2149,2720,2584,1918,1777,1518,2019,2168,1808,1648,1676,2232,2273,1842,1974,2062,2057,2470,2623,2492,2177,2135,2330,2568,2035,1959,2056,1911,1754,1798,1676,2048,2646,2568,2309,1814,2502,3377,2230,1778,1715,1756,1974,1897,1610,1722,1909,1952,1770,2375,2334,2497,2654,3098,3567,3429,3217,3897,4189,3564,3535,3495,3317,3532,3190,2899,2039,2109,2211,1979,1752,1664,1985,2093,2013,2289,2626,2316,1915,1774,2082,2483,2691,2911,2922,2712,2608,2690,2373,2714,2851,2509,2007,1642,1721,1932,1736,1448,1504,2222,2768,3230,3329,2871,2750,3134,3120,2901,2934,2472,3309,3532,3074,3090,2880,2543,2371,2152,1938,1709,1850,2431,2119,2230,2170,2621,3190,3076,2646,2125,2162,2469,2566,2446,2286,2393,2360,2053,2102,2282,2653,3295,3130,3078,3539,3463,3695,2934,2365,2369,2820,2888,2497,2491,2497,2774,2574,1985,2294,3156,3286,3184,3169,2949,2730,2640,2881,2922,2520,3086,3697,3344,2754,2285,1563,2356,2866,2644,2708,3083,3471,3499,3041,3023,3348,3307,3230,3310,3530,3426,3141,3020,2634,2701,3702,4195,3727,3665,3859,3913,3895,3771,3824,3331,2617,2393,2291,2563,3255,3155,2954,2951,2881,2779,2798,3084,2895,2788,2676,2511,2332,2481,2336,2195,2197,2366,2259,2385,2764,2593,2288,2447,2756,3000,2872,2697,2558,2985,3206,3174,2942,2446,2201],[2338,3110,2899,2644,2027,1843,1547,1857,2266,2337,2104,1938,1876,1840,1560,1536,1561,1781,1931,2437,2730,1681,1400,1980,1732,1904,2086,1925,2858,3532,3099,1945,1917,2802,3548,3598,3506,2967,2478,2697,2954,3040,3168,2953,3332,3385,3056,2463,2634,2972,2610,2238,2186,2101,1773,1627,1702,1666,2011,2319,1505,1417,1323,1389,1588,1687,1638,1576,1807,2282,2812,2711,2188,1530,1652,1766,1742,2251,2274,2030,1737,1676,1670,1739,1821,1901,2320,2118,1702,1330,1873,2401,2562,2553,2640,2709,1934,1481,1619,1727,1769,2017,2036,1706,2134,2176,2191,1867,1871,2454,2467,2937,2805,2172,1962,1774,1722,1710,2036,1988,1660,1845,2690,3292,3298,2780,2377,2198,2126,2310,2272,1628,2182,2849,2669,2600,2661,2613,2147,1724,1748,1624,1729,1798,1848,1787,1910,1986,2042,1836,1782,1532,1494,1756,1598,1546,1464,1541,1681,2153,1964,1797,1554,1816,2025,1895,2024,1976,2166,2201,1886,2720,2900,2283,2702,2153,1812,1786,2109,2252,1889,2025,2115,2520,2791,2340,2408,2649,2632,2310,2500,2099,2290,3395,3897,3585,3164,3470,3515,2627,2232,2442,2778,2765,2088,1731,1644,1779,1870,1652,1588,1801,1863,2145,2220,2259,2039,1754,1525,1446,1768,1851,2249,2340,2426,2443,2432,2658,2783,3141,3229,2899,2810,2938,2732,2581,2326,2000,2532,3187,2905,3105,3620,3552,3282,2851,2566,2720,2731,2405,2634,3249,3269,3206,3056,3401,3450,2753,2208,1758,1627,1840,1581,1371,1742,1842,1916,2157,2078,2216,2854,2820,2036,1762,1780,2151,2590,2888,2956,2736,2614,1843,1838,2121,2552,2953,2210,1835,2149,2132,2242,1906,2110,2146,2663,2961,2717,2307,1961,2186,2186,1648,1675,1846,1802,1648,2176,2045,1895,2078,2078,1885,1886,2248,2576,2901,3749,3274,2288,2122,2986,3344,3108,3239,3195,2932,2796,2540,2424,2548,2898,2407,2270,2548,2314,2220,2057,1715,1738,1720,2138,2658,2632,2687,2314,2965,2980,2373,2107,1885,2135,2138,1936,2480,2686,2824,3022,2828,2809,2111,1686,1691,1745,2226,2271,1895,2097,1831,1667,1646,1751,2103,1811,1602,1823,1584,1594,2697,2536,2360,2698,2675,2315,2523,3496,4082,3796,3193,3031,3537,3836,3657,3159,2895,3220,3262,3374,3444,3052,2632,2018,2727,5348,3749,2578,2447,2696,2707,2596,2558,2790,3028,2989,2573,2000,2175,2055,1583,1876,2468,2459,2481,2396,2125,2047,2210,2445,2385,2362,2359,2433,2288,2221,2361,2014,1491,1400,1443,1422,1334,1348,1405,1509,1742,1861,2330,1843,1478,1466,1485,1521,1591,2165,2534,2167,2431,3496,2789,2030,1672,1528,1550,1466,1532,1519,1449,1513,1628,1609,1780,2016,2336,1814,1300,1147,1368,1620,1896,1738,1462,1326,1356,1529,1406,1404,1602,1766,1848,1984,1607,1748,2666,2374,1798,1593,1440,1592,1832,1616,1485,2337,2122,1871,1745,2002,1703,1650,1755,1656,1659,1992,2256,2198,2152,2120,1938,1870,1823,2043,2482,2769,3100,3106,2534,2723,2706,2162,2087,3044,2469,1750,1626,1678,1973,1801,1853,3245,4233,3705,3609,4020,4488,3960,3255,3761,3084,2070,1718,1409,1606,1678,1411,1517,1645,1600,1648,1895,1937,2106,2031,1534,1605,2563,2553,2088,2083,2018,1915,1778,1821,1829,1874,1863,1857,1597,2152,2358,2114,1948,1619,1435,1447,1440,1547,1483,1611,1903,2158,1555,1528,1722,2203,2572,3164,3373,2480,2043,1671,1678,2511,2361,2172,1982,2045,1970,1743,1778,1751,1783,1993,1730,1554,1794,1612,1484,1683,1535,1562,1488,1683,2073,2182,1888,1602,1676,1842,1816,1553,1598,1833,2003,1754,2230,2798,3022,3018,3194,3142,3253,3931,3857,2719,3228,3585,3505,3540,3278,2407,2504,2368,1825,2536,2587,2432,2361,2173,2062,2404,2523,2600,2416,2530,2316,1929,1992,2662,3908,3937,3515,2724,2197,1873,2259,2842,2927,2923,3152,3184,2306,1891,1797,1487,1512,1664,1576,1574,1761,1627,1647,1815,1832,2499,3296,2994,2210,1549,1517,1801,1927,1715,1677,1461,1442,1626,1848,1528,1376,1545,1852,1710,1578,1679,1726,1805,2222,2548,2898,3052,1956,1690,2149,2291,2868,3813,3082,2519,2715,2715,2603,1957,1589,1964,1742,1457,1765,1858,1676,1574,1406,1360,1948,2676,2596,2419,2415,2230,2329,2366,2235,2017,2070,2351,1907,1868,2845,3136,2216,1608,1870,2502,2476,1775,1624,1646,1562,1529,1444,1455,1440,1422,1422,1447,1568,1737,1594,1456,1880,2031,1802,1674,1516,1974,1962,1509,1462,1611,1771,1933,1448,1509,1867,1807,1914,2004,2048,2147,1969,1823,1677,1610,1528,1683,1838,1887,1981,1781,1594,1753,1594,1481,1730,1673,1714,1528,1698,1646,1593,1571,1695,1735,1622,1655,1548,1359,1616,1951,2113,1891,1802,2377,2314,2083,2096,1999,2180,1898,2121,2262,1782,1656,2056,1967,2066,1918,2104,2218,1820,1545,1593,1713,1556,1592,2049,2114,1810,1611,1698,1580,1697,1815,1850,2062,2364,2150,1894,2141,1692,1835,2163,2338,2190,2260,2052,2120,1779,1728,1920,1858,2004,2137,2407,2250,1603,1361,1485,1592,1604,1651,1648,1591,1500,1758,2098,1995,1607,1418,1576,1603,1495,1322,1419,1589,1617,1591,1352,1676,1904,1737,1521,1407,1466,1412,1700,1460,1378,1476,1626,1402,1267,1292,1372,1827,2302,1965,1793,1688,1796,1972,1910,1482,1276,1322,1699,2304,2836,2719,2246,1932,1548,1521,1694,1722,1910,2132,2378,3041,3698,3883,3382,2484,2705,3352,2666,1913,1710,2148,3040,3296,3230,3195,2764,2367,1876,1651,1878,2285,2283,1884,2481,3038,2394,2113,1870,1890,1958,2018,2764,2330,1714,2199,2626,2898,3160,3277,3753,4255,3872,3419,3494,3668,3529,2975,2879,3318,3735,4123,3874,3107,2630,2539,2125,2125,2069,1614,1814,1557,1412,2513,2964,2517,2396,2668,2706,2488,2733,2898,2723,2352,1933,1771,1848,2208,2446,2306,2114,2014,1781,1809,1915,1765,1179,802,777,623,536,548,503,551,578,604,536,478,477,505,768,1038,966,880,1315,2023,2030,2028,1898,2039,2271,2171,2376,2711,2568,2383,2569,2678,2531,2414,2905,2721,3034,2236,1996,1792,1944,2603,2819,2221,2169,2304,2030,2205,2566,2622,2585,2199,2181,2098,2260,2221,1986,1974,1998,1618,1766,1923,1436,1559,1921,1968,2028,2302,1742,1932,2164,2275,2604,2622,2335,2759,2309,1855,1925,1675,1855,2301,2730,2937,2743,2831,2611,1820,1663,2372,2786,2351,2781,3120,2753,2113,2131,2991,2943,2273,2921,3836,3959,3686,3430,3485,3532,3402,3457,3664,3763,3608,3873,3542,2612,2318,2139,2061,1941,2357,2047,1782,1820,1961,2030,2452,2392,2077,2120,2140,1627,1515,2164,2091,2054,2019,1970,1876,1958,2058,1876,1910,1933,1770,1759,1907,1698,1982,2026,2100,2543,2488,2092,2147,1985,1837,1813,1736,1642,1621,1638,1720,1871,2119,2120,1770,1585,1673,2109,2020,1700,1908,1824,1697,1982,1816,1625,1676,1451,1494,2131,2678,2407,1823,1814,1729,1702,1856,2436,2551,2350,2224,1898,2015,2007,1939,1904,2226,2285,1973,1890,1932,1962,1744,2242,2298,2153,1988,1874,2188,2350,2147,1945,1903,2223,2619,2403,2902,2800,2617,2827,2856,2299,2177,1814,1359,1474,1528,1688,1770,1990,2195,2380,2786,2975,3356,3120,2239,2122,2559,2574,2609,2814,2707,2122,1124,1161,1918,2894,2570,1712,1203,1152,1273,1522,1825,1713,1629,1310,1309,1665,2779,2852,2092,1548,1644,1730,1852,1882,1828,1716,1457,1505,1893,1912,1579,1468,1604,1658,1636,1561,1621,1572,1596,1863,1514,1270,1277,1141,1287,1377,1486,1560,1259,1324,1509,1354,1500,2000,2164,2024,2170,2830,3174,3311,2527,1984,2338,2706,2875,2588,2413,2314,1830,1718,1755,1932,2723,3078,3580,4108,4028,3672,3429,3360,3312,3223,3151,3168,3067,3021,3096,3060,3031,3097,3113,2935,2525,2189,2131,2087,2406,2220,2416,2320,2356,2206,2036,2022,1929,2208,2701,2322,2225,2305,1975,2326,2377,2430,2372,2929,2752,2441,1791,1501,1412,1431,1289,1270,1320,1493,1533,1238,1346,1438,1574,1666,1991,1878,1480,1579,1670,1967,2336,2463,1973,1610,1525,1562,1670,1593,1738,2093,1779,1360,1246,1185,1093,1373,2485,2631,2107,2962,3361,2196,1478,1535,1587,1366,1932,2547,1748,1915,1802,1771,1867,1979,2056,1944,1797,1636,1623,1504,1609,1876,1891,1481,1816,1856,1697,1790,1675,1904,2503,2624,2482,2283,2197,2584,2600,2186,1956,1783,1689,2110,2293,2307,2188,1821,2087,2427,2225,2136,2127,2185,2967,3064,2492,2052,1877,2383,2988,2824,2914,3331,3084,2715,2667,2308,2645,2880,2793,2097,1885,2276,3183,2504,1649,1570,1603,1791,1809,1554,1659,1918,2215,2192,2290,2056,2507,3145,3583,3835,3676,3406,3989,4444,3972,4200,4229,3284,2755,2744,2686,2522,2875,2666,2191,2200,1752,1733,1895,2004,2325,2342,2446,2105,1958,2188,2332,2562,2444,2809,2790,2918,2780,2700,2788,2178,2213,2420,2041,1702,1660,1619,1377,1332,2308,3306,3205,2824,2429,2085,2702,2732,2532,2879,2971,3428,3473,2971,2886,2708,2603,2775,2746,2192,2150,2539,2807,2358,1897,1894,2368,2844,3000,2599,2136,2221,2413,2602,2592,2121,1823,2071,2629,2796,2596,2542,2619,2810,3125,2954,3084,2895,2282,2310,2754,3254,2978,2340,2352,3172,3331,2625,2444,3060,3549,3751,3295,2730,2447,2623,2779,2972,2535,1998,1991,3010,3731,2652,1448,1990,2886,3074,2886,2972,2898,3218,3450,3247,3287,3256,3000,3104,3253,3259,3351,3410,3421,2722,2946,4000,4094,3754,3914,3990,3679,3751,3871,3618,3184,2486,2617,2811,2874,3089,2928,2930,2858,2702,2757,2778,3066,2939,3116,3050,2787,2337,2416,2366,2086,2135,2160,2159,2688,2895,2567,2342,2630,2801,2610,2576,2497,2544,3145,3513,3488,3198,2640,2611],[2145,3064,2902,2552,2226,1843,1712,2134,2061,2079,2301,2030,2185,2205,1918,1762,1534,1782,1823,2596,2890,2049,1641,1719,1838,2033,1904,2016,3366,3313,2743,1800,1923,2102,2536,3460,3402,2788,2768,3261,3128,2765,3583,3484,3449,3190,2337,2095,2546,2649,2279,1881,1902,2397,1882,1554,1448,1664,1717,1701,1440,1476,1525,1592,1836,1926,1658,1999,2421,2262,2835,2712,2214,2086,1981,1452,1498,2132,2312,2291,2147,1795,1715,1889,2167,2730,3046,2225,1582,1530,2428,2635,2455,2469,2723,2571,1847,1553,1625,1898,1988,2301,2173,1780,2116,2383,2293,2486,2557,2177,2175,2396,1857,1578,1449,1660,1768,1741,1781,1810,1692,1591,1941,2418,2573,2760,2421,1781,1907,2326,2368,2037,2139,2398,2592,2655,2400,2299,2092,1889,2066,1869,1693,1688,1749,1635,1788,1822,1782,1769,1996,1999,1990,1764,1491,1528,1477,1409,2177,2667,2451,2105,1703,1963,1922,1962,2600,2740,2876,2880,2890,3680,3699,2539,2272,3029,2435,2211,2634,2525,2358,2323,2408,2519,3057,2779,2517,2453,2122,2189,2129,1558,1518,1906,2403,3030,3254,3187,3164,2831,2974,3348,2664,2202,1752,1734,1738,2007,2002,1541,1749,2054,1860,2389,2419,2083,2217,2097,2254,2077,2006,2381,2349,2253,3076,3483,3231,3294,2857,2056,2214,2829,3104,3062,2571,2421,2103,2182,2934,3027,2509,2595,3138,3241,3040,2873,3141,3008,3142,2554,2315,2600,3167,3422,3229,3500,3618,2667,1993,1612,1939,2337,1715,1629,2034,2336,2761,3062,3086,3042,3053,2678,1770,1982,1856,1881,2244,2831,2829,2684,2351,2099,2223,2339,2368,2583,2178,1843,1729,1564,1809,2237,2420,2557,2886,2796,2275,1740,1453,1580,1715,1668,1890,1932,1826,2202,2217,1770,1649,1531,1766,2362,2686,2647,2676,2652,3365,2827,2209,2444,3011,2996,3000,3715,3665,3087,2662,2092,2056,2288,2967,2618,2667,2520,2270,2070,1743,1590,1942,2373,2205,2264,2677,2553,2248,2544,2218,1894,1931,1989,2464,2472,2250,2493,2552,2943,2742,2310,2376,2474,1865,1965,1923,1986,2097,2047,1980,1855,1818,1638,1777,1858,1485,1459,1589,1644,1738,1989,2067,2110,2330,2562,2132,2243,3185,3261,2980,2625,2871,3882,4011,3524,2919,2540,2729,2977,2928,3087,2785,2531,2418,2569,3749,3040,2787,2795,2790,2720,2884,3133,3063,2639,2426,2750,2824,2979,1955,1668,2321,2746,2683,2786,2614,2269,2164,2328,2591,2429,2146,2081,2224,2292,2534,2856,2458,1551,1114,1287,1422,1375,1510,1606,1555,1919,1788,2185,1953,1669,1578,1677,1655,1838,1882,1754,1852,2364,2711,2297,1955,1661,1451,1509,1605,1476,1417,1351,1432,1353,1322,1683,1949,1863,1543,1324,1326,1400,1644,1881,1814,1574,1519,1316,1257,1265,1459,1448,1323,1398,1896,1804,1756,2256,2341,1879,1483,1524,1593,1685,1577,1737,2103,1696,1581,1604,1618,1458,1472,1657,1657,1784,1951,2083,2041,2298,2226,1842,1670,1797,2198,3116,3629,4229,3841,2181,2043,2070,1687,1664,2386,1867,1541,1584,1707,2112,2130,2254,3492,4424,3187,2733,3623,4276,3407,2555,3145,3236,2505,1669,1301,1477,1710,1452,1469,1579,1528,1499,1748,1724,1902,1909,1879,2197,2596,2185,1681,1763,1811,1562,1457,1760,1944,1885,2131,2229,1628,1468,1985,2344,2048,1569,1682,1712,1597,1561,2305,1890,1610,1685,1661,1588,1815,2341,2234,3073,3333,2497,1930,1432,1262,1725,1791,1702,1780,1793,1513,1474,1613,1617,1669,1669,1786,1552,1534,1481,1526,1696,1620,1583,1723,1857,2024,2096,1920,1739,2186,2156,1841,1610,1852,1961,1672,1525,1727,1950,2149,2851,3580,3530,3517,3222,3738,2836,3442,4212,3808,3728,3293,2798,3075,2674,1918,2403,2633,3154,3319,3207,3162,3054,2894,2812,2472,2283,2249,1988,1809,2685,3841,3833,3249,2583,2227,1904,2249,3063,3387,3205,3165,2809,2221,2044,1693,1451,1548,1483,1505,1615,1856,1907,2082,2038,2155,2984,2731,2044,1824,1561,1602,1651,1712,1743,1681,1526,1644,1946,1768,1657,1678,1470,1585,1410,1584,1834,1836,2077,2424,2587,3217,2823,1637,1723,2148,2984,3179,3781,3389,2669,2830,2968,2767,2040,1638,1847,1748,1489,1649,1593,1607,1478,1405,1312,1281,1519,1588,1591,1399,1645,2355,2524,2453,2084,1829,1800,1581,1888,2475,2494,1937,1556,1694,1978,1824,1714,1882,1766,1522,1412,1374,1370,1423,1413,1466,1522,1654,1690,1542,1575,1699,1646,1668,1511,1495,1597,1680,1751,1712,1758,2053,1786,1380,1805,1814,1790,1888,1875,1983,2181,2079,1988,1735,1418,1449,1521,1599,1722,1748,1525,1489,1378,1359,1567,2273,2592,1946,1375,1317,1507,1720,1591,1694,1764,1605,1476,1366,1259,1644,1996,2696,2120,1581,1907,1901,1903,1982,1959,2092,2110,2294,2047,1903,1716,1737,1683,1991,2328,2436,1989,1662,1718,1443,1718,1568,1474,2050,2137,1946,1604,1542,1662,1673,1649,1701,1802,2004,1804,1794,1731,1667,2058,2017,1784,1859,2061,2094,1910,1702,1976,2089,1871,1971,1966,2109,1633,1041,1496,1855,1672,1582,1560,1510,1450,1534,1618,1876,1805,1559,1491,1626,1828,1788,1589,1809,1723,1573,1365,1278,1854,1650,1552,1689,1661,1561,1344,1476,1404,1303,1352,1486,1461,1358,1252,1426,1895,1869,1753,1945,2314,2215,1990,1577,1244,1302,1337,1402,1820,2248,2720,2966,2227,1708,1771,2018,2220,2410,2489,2740,3400,4309,4146,3737,3215,3604,3918,3407,2374,1779,1823,2466,3151,3159,2862,2467,2303,1638,1901,2712,2874,1981,1604,2125,1999,1747,1893,1892,2097,2323,2287,3377,3121,2197,2579,2674,2770,2944,3227,3508,3535,3398,3445,3499,3752,3706,3228,3229,3831,4093,4100,3563,2941,2666,2684,2421,2409,2164,1583,1924,2423,1538,2025,3316,3284,2331,2214,2410,2523,2690,2679,2408,1680,1262,1661,1868,2028,2081,2508,2706,2526,2043,2198,2374,1727,1015,591,506,452,427,414,411,457,502,585,573,490,430,421,656,974,914,1052,1685,2152,2084,1852,1842,1986,2108,2272,2494,2878,2934,2395,1765,2021,2446,2284,2562,2218,2315,2336,2283,2045,2264,3298,3374,2727,2867,3602,3451,2337,2402,2522,2282,2186,2250,2193,1870,1778,1698,1577,1587,2057,2447,2811,1995,1698,1991,1890,2160,2185,2103,2334,2449,1937,1914,1768,1744,2182,2033,2382,2100,1715,1614,1824,2534,2894,3138,2877,2326,1781,2047,2530,2588,2382,2536,2743,2297,1709,2196,3079,2688,2261,3404,3886,3891,3673,3643,3510,3532,3398,3543,3611,3459,3441,3776,3305,1911,1937,2078,2337,2313,2680,2394,2197,2980,2960,2126,2106,2220,2253,2556,2790,2609,2589,2878,2651,2512,2253,1974,1816,1864,1748,1768,1881,1541,1504,1653,1525,1499,2292,2178,1758,1800,1837,2101,2055,1730,2050,2067,1970,1920,1708,1653,2142,2084,1914,1902,2007,2018,1955,2018,1999,1759,1702,1665,2076,2343,2035,1818,1861,1854,1943,2127,2222,2014,1852,1775,1808,1874,1861,1893,2123,1925,1874,1603,1529,1904,1940,1820,1948,1978,1903,1604,1637,1792,1795,1892,1747,1888,1910,1905,1975,1969,1966,2094,2085,2141,2585,2734,2926,2707,2601,2819,2842,2360,2282,2008,1515,1547,1678,1941,2048,2105,2205,2270,2783,3020,3130,2933,2118,2010,2665,2781,2836,2840,2551,1767,1304,2213,3129,3702,3105,2023,1600,1406,1351,1239,1568,1720,1830,1581,1420,1562,2341,3583,3075,1743,1614,1803,1861,1728,1664,1659,1372,1741,2015,1911,1631,1457,1483,1470,1417,1403,1316,1167,1518,1707,1529,1776,1882,1361,1194,1447,1690,1477,1150,1347,1368,1189,1486,1820,1659,1778,2348,2812,3139,3217,2268,1755,2251,2733,2879,2506,2514,2541,1975,1757,1763,1870,2621,2958,3169,3839,4094,3740,3455,3225,3146,3383,3255,3096,3071,3176,3240,3162,3145,3073,2940,2808,2719,2630,2244,1968,2894,2873,3173,3009,3164,3250,3190,2619,2207,2517,2124,1918,2545,2869,2079,1635,1781,2136,2562,2928,2843,2061,1350,1296,1225,1300,1354,1506,1455,1570,1554,1367,1302,1631,1747,1903,2338,2068,1567,1554,1628,1976,2609,2762,1941,1665,1766,1759,1618,1520,1601,1697,1582,1427,1203,894,1111,2082,3094,2377,2552,2735,2730,1952,1315,1387,1503,1347,1449,1765,1618,2043,1681,1665,2086,2292,1955,1773,1573,1498,1677,1721,1664,1661,1907,2021,2456,1971,1959,2057,2019,2255,2481,2473,2600,2593,2226,2329,2155,1825,1994,1582,1845,2056,2103,2570,2684,2518,2327,1926,2038,2114,1970,2258,3069,3076,2383,2376,2499,2799,2993,2868,3279,3300,2742,2766,2664,2543,2716,2767,2661,2354,2049,2178,2588,2450,1751,1481,1493,1546,1955,1939,1709,1679,1991,2367,2302,2142,2522,3274,3727,3627,3616,3773,3990,3718,3494,4037,3952,2876,2169,1838,2311,2763,2435,2086,2395,2492,2061,2227,2179,2365,2324,2244,2113,1797,2293,2664,2523,2509,2625,3119,2923,3300,2806,2834,2763,2092,1805,2093,2341,2171,1691,1678,1692,1882,2990,2841,2350,2358,2181,2111,2562,2493,2686,2833,2858,3274,3540,2907,2843,2930,2876,2905,3052,2422,2192,2730,2785,2051,1774,1929,1695,1826,1911,1951,2193,2792,2763,2193,1765,1940,2109,2900,3317,3084,2547,2431,2012,2864,2883,2819,3115,3242,2828,2632,3037,3372,3049,2529,2496,3344,3558,3197,3234,3287,3599,3630,3007,2512,3064,2678,1922,1917,2089,2322,2289,3027,3039,2437,2177,2731,2390,2598,3198,2636,2495,3209,3282,3111,2985,3082,2907,3043,3182,3533,3598,3243,3134,3383,3654,3952,4060,3895,3964,3928,3530,3899,4059,3371,2714,2613,3095,3183,2787,2496,2556,2889,3211,3357,3007,2767,2923,2740,3046,3079,3105,3065,3020,2795,2425,2179,2179,2544,3066,2739,2291,2119,2144,2222,2347,2508,2397,2431,2707,2819,2773,3042,2652,2501],[3032,3667,3614,2683,2137,1973,1713,1580,1948,2508,2523,2576,2807,2404,2099,1706,1544,1884,1999,2504,2862,2569,2268,1946,2091,2085,1732,2336,3496,2938,2253,1742,1892,2313,2463,2462,2901,3300,3406,3273,2210,1797,2495,3053,3087,2530,1896,2082,2734,2618,2487,2498,2105,2122,2001,1671,1576,1725,1700,1656,1640,1571,1619,1619,1815,1942,1813,2137,2401,2096,2423,2569,2345,2244,1880,1231,1267,1954,2388,2287,2300,2193,2262,2259,2157,2156,2274,1415,1327,1857,2179,1975,1834,2146,2642,2424,1610,1309,1700,2248,2389,2153,1942,1920,2540,2452,1892,1969,2185,2095,1596,1647,1635,1436,1458,1474,1539,1854,1908,1607,1600,1527,1719,2430,2075,2185,2242,1964,2286,2564,2427,2138,1759,1579,1880,2402,2328,1976,2008,2017,2486,2072,1962,1948,1618,1434,1472,1727,1793,1707,1825,1900,1832,1636,1982,1679,1354,1364,2573,2841,2779,2696,2212,2041,2299,3021,3270,3459,3333,3262,3438,4047,3505,2569,1879,2150,2199,3406,4169,3145,2420,2182,1834,1844,3029,3185,2305,1972,2198,2384,2166,1884,2008,2136,2094,2042,2136,2509,2851,2743,2953,3361,2386,1993,1787,1570,1562,1831,1926,1719,2115,2475,2327,2747,2409,2056,1986,2337,2884,2997,3085,2829,2448,2899,3461,3317,3299,3339,2205,2031,2623,3309,3256,2751,2493,2176,1782,1942,2439,2692,2576,2722,3006,2968,2662,2721,2859,2846,2937,2768,2409,2569,3277,3648,3286,2679,2512,2419,2361,1634,1962,2170,2100,2466,2501,2284,2230,2482,2646,2576,2654,1996,1438,1814,1952,2135,2504,2376,2596,2708,2326,2236,2337,2355,2246,2676,2780,1978,1693,1015,1267,2264,2535,2740,2988,2612,1822,1521,1440,1396,1593,1735,1798,1746,2075,2789,2270,1587,1603,1437,1450,2189,2369,2060,2053,2178,3096,3427,2544,1977,2665,3364,3671,3606,2915,2644,2051,1909,2051,2373,3006,3270,3085,2446,2132,2135,2003,1915,2226,2598,1977,1759,2525,2390,1827,1749,1795,1874,2113,1995,2238,2790,2780,1919,2016,2400,2438,1994,1742,2531,2435,2070,1858,1670,2003,2197,1990,1844,1727,1921,1683,1562,1555,2025,2246,2330,2029,1676,1954,2053,1704,1925,1763,1718,2028,1998,2086,2337,2875,3609,3881,3552,3044,2646,2499,2592,2473,2426,2532,2564,2868,2846,2719,2677,3095,3134,2754,2641,2900,2879,2723,2575,2446,2674,3190,3222,2604,2351,2692,2621,2440,2620,2588,2446,2374,2377,2514,2480,2154,2139,2232,2321,2654,3053,2666,1784,1546,1999,1792,1569,1646,2143,2321,2293,1793,1438,1522,1511,1428,1572,1560,1763,1780,1693,1715,1772,1855,2025,2062,1677,1412,1742,1828,1521,1444,1343,1535,1377,1744,1654,1716,1955,1679,1447,1477,1423,1543,1591,1826,1579,1599,1428,1281,1261,1246,1340,1312,1217,1534,1758,1606,1844,2531,2209,1637,1578,1679,1479,1390,1463,1341,1315,1614,1803,1660,1415,1487,1920,1858,1769,2124,2244,2250,2361,2396,2009,2041,2142,2303,3527,3630,3793,3143,2170,1982,1884,1522,1625,1867,1710,1764,1707,1742,1876,1712,2080,3547,3571,2557,3173,3662,3936,2886,2066,2172,2459,2380,1680,1524,1696,1783,1642,1768,1708,1733,2182,1930,1436,1568,1693,1808,2121,2390,1791,1377,1604,1889,1527,1513,1659,1628,1759,2044,2166,1929,1438,1772,2197,2044,1734,1700,1475,1878,1864,1962,2037,1754,1521,1693,1659,1754,2157,1974,2004,1836,1996,2105,1802,1526,1693,1829,1573,1470,1631,1672,1601,1658,1652,1392,1426,1729,1577,1717,1704,1627,1726,1766,1999,2048,2399,2270,1764,1802,1825,2292,2327,1914,1708,1638,1729,1958,1844,2432,2269,2381,3646,4060,4040,3758,3430,3820,3064,3482,4564,4195,3431,2808,3178,3391,2921,2398,2654,2710,2964,3793,4297,4364,4261,3938,3508,3212,2767,2464,2334,2304,3274,3896,4001,3488,2547,2030,1879,2423,3610,4063,3741,3603,2842,2236,1749,1574,1528,1914,1909,1681,1697,1821,2001,2110,1739,2251,2813,2461,1975,1809,1763,1486,1617,1916,1750,1688,1635,1884,2299,1767,1849,1520,1338,1457,1524,1640,1697,1661,1811,2094,2635,3425,2669,1776,1785,1959,2714,3178,3387,2662,2324,2945,3377,2877,2089,1937,2199,2341,2512,2404,2112,1839,1482,1403,1370,1472,1572,1495,1332,1473,1745,2266,2485,2500,2604,2324,1965,1690,1732,1865,1660,1789,1754,1656,1827,1662,1536,1861,1897,1594,1582,1618,1556,1434,1362,1358,1472,1622,1646,1554,1556,1788,1584,1534,1468,1466,1550,1842,2043,1854,1834,2176,1801,1735,1897,1751,1624,1617,1840,2055,1953,1939,2017,1902,1690,1723,1622,1706,1618,1556,1832,1617,1455,1551,1795,2411,2665,1981,1548,1554,1633,1665,1569,1596,1600,1533,1887,1788,1710,1950,2500,2883,2399,2011,1931,1838,1774,1724,1777,1901,2045,2387,2554,2294,2282,2161,1848,2070,2321,2382,1955,1923,1786,1532,1777,1571,1462,1861,1770,1609,1741,1582,1590,1522,1480,1422,1708,1965,1754,1617,1677,2072,2074,1672,1711,1942,1920,2158,1986,1762,2114,2303,1870,1699,1572,1919,2002,1620,1546,1501,1448,1576,1710,1568,1433,1480,1477,1614,1539,1489,1599,1586,1684,1710,1582,1632,1428,1458,1253,1568,1866,1641,1791,1837,1881,1668,1398,1333,1353,1398,1841,2547,2791,1908,1635,1464,1733,1698,1599,2005,2268,2074,1938,1621,1356,1292,1270,1335,1516,1628,1952,2518,2186,1808,2114,2568,2547,2475,2676,2959,3830,4432,4046,3259,3183,3643,3982,4200,3349,2092,1851,2074,2950,3226,2507,2064,1728,1772,2621,3348,3274,2414,2288,2460,1931,1669,1743,1878,2269,2425,2547,3141,3005,2558,2675,2502,2441,2820,3250,3440,3301,3002,3046,3090,2995,2673,2398,3073,3772,3968,4018,3639,3188,2861,2735,2523,2159,1516,1465,2071,2413,1990,2129,3169,3458,2732,2294,2436,2607,2517,2609,2420,1909,1284,1517,1802,1872,2156,2056,1992,2270,2044,1781,1478,1316,940,613,478,407,369,346,341,400,463,530,607,568,473,434,694,1125,1193,1364,1757,2191,2092,1699,1795,1872,1963,2146,2400,2784,2866,2539,2134,2233,2177,2087,2482,2480,2624,2724,2441,1891,2380,3355,3447,3095,2980,3181,3894,2595,2220,2584,2420,2257,2393,2264,1948,1635,1643,1546,1532,2054,2394,2416,1901,1763,1874,2242,2622,2669,2514,2241,2409,1821,1377,1482,1526,1852,1719,2132,2129,1803,1746,2163,2603,2607,3297,3013,2526,2666,2301,2496,2314,1613,1531,1748,1725,1846,2526,2576,2358,2676,3565,3565,3452,3404,3462,3516,3400,3142,3116,3188,3173,3086,3175,3190,1818,1842,2718,3527,2751,2460,2272,2017,2648,2798,2172,1884,2304,2402,2480,2728,2413,2149,2835,2958,2604,2251,1927,1933,2198,1792,1836,1938,1585,1698,1672,1707,2182,2510,2148,1694,1738,2104,2359,2445,2596,2346,2140,2152,2121,1781,1932,2388,2248,1903,1842,1885,2145,2055,1869,1693,1599,1794,2410,2676,2230,1763,1604,1755,1848,1688,1610,1585,1875,2141,1896,1685,1982,2072,1945,1964,1868,1653,1527,1820,2360,1962,1613,1887,1821,1602,1369,1498,1618,1664,1910,2180,1998,1793,1810,1791,1986,2016,2187,2073,2246,2496,2596,2712,2868,2550,2513,2635,2547,2575,2236,1713,1789,1942,2069,2187,2348,2298,2172,2710,2984,2746,2708,2138,2113,2733,2928,2523,2331,1990,1686,2308,3127,3377,3721,3343,2455,1789,1385,1454,1255,1655,1849,1919,1719,1461,1409,1766,2463,2289,1682,1788,1794,1711,1632,2132,1839,1817,1991,2028,1976,1753,1521,1516,1679,1594,1470,1340,1195,1444,1344,1319,1788,1685,1311,1353,1449,1415,1298,1245,1481,1259,1463,1448,1496,1431,1663,2247,2688,3076,2938,2303,2468,2641,2668,2852,2621,2568,2642,2163,1774,1732,1804,2179,2696,3105,3530,3927,3754,3405,3095,3017,3299,3256,3020,3062,3142,2987,2829,2782,2823,2886,2942,3063,2654,1892,2065,2714,3660,3781,3432,3226,2962,3024,2890,2544,2351,2094,2383,2876,2815,1927,1684,1631,1600,1731,1566,1599,1593,1359,1317,1168,1322,1344,1368,1395,1287,1251,1344,1353,1404,1647,2116,2010,1609,1484,1494,1656,1693,1994,1964,1840,2144,2041,1699,1696,1494,1621,1761,1471,1537,1417,1230,2017,3145,3238,2463,2526,2325,1909,1735,1446,1514,1790,1534,1278,1412,1548,1832,1826,2323,2644,2088,1747,1819,1717,1450,1530,1865,1582,1538,1930,2422,2309,1913,2033,2019,2290,2720,2502,2529,2539,2686,2732,1937,1801,1875,2548,2237,1891,1572,1825,2499,2590,2755,2292,1602,1958,1982,2052,2235,2840,3094,2656,2303,2524,3204,3333,2659,2484,2328,2262,2822,2775,2979,3277,2636,2467,2293,1565,1506,2197,2501,1858,1611,1474,1594,2196,1984,1777,1532,1859,2485,2330,1936,2144,2689,3134,3163,3421,3451,3492,3339,3093,3564,3554,2625,1801,1685,2263,2458,1875,1892,2357,2148,1959,2512,3136,2591,2185,2182,2045,2201,2797,2721,2464,2690,2662,2719,2641,2958,2751,2879,3104,2656,2001,1796,2099,2361,2018,1793,1661,2546,3299,2511,2732,2722,2624,3220,2965,2591,2808,2686,2750,3098,3458,2920,3356,3716,2565,2200,2416,2156,2287,3017,2713,1967,2131,2312,1626,1588,1741,2275,2916,3123,2664,1969,2224,2414,2487,3149,3189,2214,2276,2362,2038,2639,3084,3515,3494,3121,2341,2111,2690,2620,2347,2443,2383,2600,3334,3955,3508,3109,3298,3183,2470,2917,3969,2802,1481,1684,2329,3284,3640,3392,2587,2396,2288,2402,2224,2676,2665,1858,2600,2789,2864,2786,2519,3067,3288,3334,3228,3428,3484,3178,3143,3352,3310,3652,3889,3703,3880,3884,3934,4120,3826,3028,2569,3091,3605,3250,2588,2386,2401,2880,3465,3640,3249,2981,2889,2898,2953,2932,3216,3463,3509,3287,2645,2190,2108,2361,2670,2445,2174,1947,2048,2534,2940,3131,2624,2226,2437,2554,2697,2713,2515,2395],[3952,3896,3199,2113,1770,1732,1502,1611,2981,2922,2761,2686,2947,2888,2335,1583,1635,1941,2119,2668,2768,2420,2540,2307,1879,1860,1970,2644,3071,2706,2057,1720,2193,2981,2448,1830,2386,3510,3850,3219,2419,1615,1399,2051,2475,2464,2169,2414,3005,3027,2785,3329,2292,2110,2070,1510,1566,1678,1632,1639,1658,1646,1784,1653,1649,1678,1785,2006,1681,1973,2265,2097,1958,2040,1798,1503,1424,1517,1437,1548,1779,1702,1918,2168,1881,1636,1656,1268,1385,1927,1663,1656,1633,1881,2389,2556,1882,1665,1796,1889,1843,1615,1458,2124,2833,1929,1589,1566,1829,2116,1849,1847,1982,2089,2028,1769,1605,1835,1969,1669,1747,1721,2075,2266,2074,2017,2103,1912,2184,2149,2258,2177,1676,1389,1510,2115,2029,1617,1677,1887,2185,1675,1516,1444,1549,1468,1400,1615,1832,1815,1898,1781,1745,1815,2287,1857,1522,1409,2238,2509,2399,2521,1951,1841,2904,3608,3752,3550,2608,2507,2854,3550,3417,2743,2353,2455,2702,3592,3261,3097,2471,2147,1880,1595,2415,2770,2035,1868,2609,2835,2120,1985,2317,2060,2032,1982,2581,2851,2578,2034,2119,2531,2332,2078,1976,1840,1636,1448,1570,1757,2157,3083,3168,2940,2567,2280,2177,2592,2938,3272,2857,2325,2897,3378,3404,3359,3479,3447,2833,2888,3355,3606,3155,2677,2332,1972,1829,1873,2183,2025,2182,2648,3066,2934,2651,2927,3140,3201,3304,3377,3000,3332,3688,3610,2469,1661,1822,1870,1714,1534,1928,2270,1843,1747,2042,1872,2057,2381,1775,1846,1880,1556,1396,1879,2309,2659,2934,2668,2926,3234,3208,2821,2910,2634,2433,3037,3084,2464,1733,1098,1558,2160,2626,3005,2763,1994,1685,1486,1386,1381,1454,1441,1481,1876,2603,2674,2088,1694,1808,1953,2183,2304,2453,2071,1572,1780,2820,3286,2299,1665,2596,3410,3418,3100,3187,3252,2229,1730,1885,2518,3173,3013,2018,1663,1869,2092,2129,2210,2194,2175,1676,1522,1610,1571,1590,1881,1866,1907,2337,2052,2492,3319,2786,1607,1570,2199,2628,2390,2042,2116,1731,1338,1490,1580,1836,1713,1294,1694,1543,1719,1587,1571,1745,2238,2721,2997,2702,1998,1983,2236,1785,1947,2118,1930,2034,2100,2199,2576,2901,3194,3070,2363,1913,2123,2241,2297,2308,2407,2388,2712,2979,2687,2589,3104,3316,2919,2561,2635,2721,2632,2497,2620,2372,2283,2844,3305,2909,2508,2863,2963,2794,2699,2623,2777,2838,2612,2726,2706,2389,2274,2397,2465,2430,2532,2096,1737,1463,1500,1599,1595,1836,2453,2700,2294,1680,1481,1486,1502,1483,1749,1716,1842,1918,1848,1515,1490,1501,1630,1738,1465,1510,1993,1744,1759,1424,1701,1834,1630,1983,1826,1892,2052,1666,1689,1804,1511,1855,1524,1539,1488,1456,1321,1256,1375,1460,1467,1468,1365,1430,1458,1424,1620,2184,2140,1616,1389,1490,1511,1368,1271,1230,1522,1891,1949,1675,1643,2345,3005,2420,1749,1953,1966,1648,1665,2002,2216,2095,1761,2281,3377,2906,2751,2950,3738,3908,2655,1476,1544,1708,1697,2027,1847,1830,1639,1533,1920,3505,2910,2492,2810,3304,3281,2230,1883,1833,2092,2222,1809,1816,1832,1743,1938,1891,1623,1871,2368,1929,1399,1393,1528,1682,1906,1902,1891,1631,1597,1875,1756,1556,1466,1584,1798,1860,2073,2052,1198,1452,1881,1942,1751,1703,1627,2293,2517,2398,2322,1826,1682,1704,1700,1920,2219,2115,1733,1618,2334,2350,1733,1776,2011,1854,1526,1312,1541,1664,1469,1622,1595,1428,1539,1539,1682,1992,1802,1559,1573,1704,1939,1818,2088,2112,2074,1868,2389,2390,1807,1620,1562,1397,1771,2542,2077,2576,2311,2481,3802,4239,4336,4100,4018,3999,3245,3391,4564,3768,2848,2423,3116,3471,3638,3259,3205,3134,3217,3764,4113,4396,4357,4078,4101,3619,2949,3310,3045,3298,3935,3955,3972,3388,2460,2045,1911,2796,3961,4244,4063,4026,3225,2383,1953,1625,1600,2062,2205,1776,1673,1802,1904,1928,1505,1610,1787,2279,2031,1761,1804,1764,2352,2503,1826,1670,1637,1765,2150,2054,2099,1711,1381,1530,1644,1757,2142,2000,1843,1992,2338,3103,2355,1911,1843,1683,2155,3226,3361,2983,2801,3182,3370,2323,1627,1594,2220,2745,2688,2314,2253,2001,1867,1659,1437,1539,1650,1732,1762,2132,1890,2574,2844,2323,2554,2313,1605,1391,1849,1855,1459,1649,1614,1527,1648,1594,1375,1438,1639,1707,1881,1913,1578,1446,1436,1366,1485,1757,1720,1735,1712,1588,1572,1767,1676,1477,1621,1813,1865,2014,1970,1906,1580,1719,1790,1853,1620,1456,1556,1667,1780,1808,1888,1926,1925,2007,1835,1893,1585,1686,1722,1565,1546,1772,1908,1952,1693,1565,1957,2229,1790,1675,1629,1584,1663,1843,2307,2232,1813,1731,2031,2452,2436,2299,2238,2102,2120,1874,1694,2020,1941,2368,2989,2847,2558,2149,1901,1890,1830,2227,2410,2470,1876,1755,1630,1484,1508,1748,1869,1810,2080,1770,1615,1538,1450,1506,1825,1759,1614,1563,1730,1878,1762,1833,1771,1785,1963,2348,2148,1770,1737,2173,2361,1845,1483,1696,1962,1885,1520,1425,1524,1770,1770,1687,1649,1660,1648,1605,1465,1516,1614,1684,1583,1738,1563,1457,1541,1384,1323,1650,1786,1885,2290,2210,1591,1482,1296,1341,1347,1480,2212,2554,2094,1663,1684,1456,1382,1347,1408,1546,1539,1718,1794,1456,1395,1362,1536,1521,1411,1355,1484,1644,1654,1620,1870,2198,2744,2514,2750,2281,2855,4030,3835,3230,3649,4107,4143,4111,3554,2221,1873,1847,2389,2939,2945,2258,1658,2015,2575,2872,3012,2765,2486,2172,1797,1591,1739,1938,1876,2424,2548,2547,2261,2141,2497,2345,2012,2636,3109,3068,3136,2176,2107,2121,1954,2401,2967,3311,3137,2950,3028,2980,3252,3127,2986,2623,2307,1454,1241,1965,2404,2692,2644,2758,3308,3041,2554,2526,2702,2274,2409,2625,2669,2414,2087,1800,2064,2188,1389,1304,1816,1825,1513,1247,881,603,481,427,419,391,359,338,329,353,437,628,625,467,475,890,1337,1398,1580,1625,1946,2025,1974,2103,1891,2129,2120,2235,2567,2540,2971,3199,2621,1780,1836,2076,2126,2339,2229,2221,1907,2105,2625,3139,2740,2376,2272,2756,2253,2416,2898,2439,2264,2404,2154,2068,1735,1620,1563,1479,1771,2323,2087,1650,1597,1665,1921,2079,2108,2376,1877,1882,1715,1635,1682,1470,1641,1527,1546,1974,2451,2681,2735,2647,2749,2790,2668,2680,2459,1796,2001,1668,1431,1992,1831,1711,2263,2814,2261,2438,2966,3332,3194,3271,3425,3315,3174,3051,2808,2797,2975,3205,3017,3035,3221,2017,2183,3198,3571,3077,2853,2558,2373,2352,2013,2135,2209,2733,2454,2372,2531,2100,2131,3020,3129,2511,2158,1838,1918,2019,1816,2135,1914,1655,1842,1739,1929,2003,1841,1870,1651,2040,2007,1897,2320,2697,2102,1951,2031,1850,2115,2317,2068,1946,1820,1420,1195,2097,2006,1806,1676,1788,1944,2348,2761,2273,1557,1678,1932,1820,1642,1426,1543,1770,2337,2266,1608,1593,1748,1863,2052,1921,1763,1765,1840,1931,1554,1477,1816,1799,1469,1327,1546,1836,1771,2090,2316,2033,1749,1733,1914,1994,1842,1749,1698,1985,2301,2292,2556,2661,2663,2755,2353,2707,2486,2044,1794,2087,2214,2254,2245,2304,2159,2077,2709,3039,2726,2775,2385,2398,2768,2900,2266,1828,1982,2698,3178,2734,2545,3619,3573,2853,1985,1388,1411,1412,1552,1810,1803,1690,1532,1373,1597,1851,1852,1851,1590,1633,1561,1468,2093,1928,1765,1982,2094,1940,1919,1899,1869,2469,2365,1826,1576,1563,1553,1418,1334,1518,2064,2403,2293,2555,2584,2015,1765,1656,1168,1075,840,929,1266,2074,3107,3463,3652,3428,3142,3175,3025,2757,2790,2812,2582,2476,2421,2105,1811,1763,1783,2241,3000,3377,3551,3274,3005,3261,3350,3382,3215,3061,2904,2864,2896,2728,2560,2684,2484,2197,1986,1677,2012,2302,2816,3779,3594,3143,2841,2718,3175,3294,2678,2186,2012,1900,2415,2432,1926,1757,1571,1439,1423,1443,1511,1359,1419,1397,1342,1496,1480,1379,1239,1148,1175,1288,1380,1393,2069,2776,2408,2134,1900,1612,1578,1700,1970,1785,1748,2110,1830,1688,1598,1482,1547,1733,1598,1670,1599,1538,1884,2528,2531,2178,2202,1831,1558,1733,1512,1491,1449,1484,1320,1335,1277,1605,1808,2401,2600,1736,1475,1677,1746,1551,1578,1779,1641,1606,1801,1837,1784,2108,2166,2020,2470,2695,2755,2814,2230,2170,2410,2383,2106,2252,2843,3013,2671,1744,1593,1787,2260,2542,2092,1871,1968,2484,3044,2513,2197,2492,2418,1935,2430,2622,2529,2064,1797,1801,1742,2186,2401,2875,3427,2796,2226,1982,1614,1450,1914,2302,1881,1626,1594,1974,2291,2426,2056,1418,1665,2149,2090,2068,2207,2279,2532,3201,3628,3171,3083,3043,2577,2541,2684,2485,2118,2245,2418,2412,1895,1981,2077,1933,2051,2332,2105,1905,2132,2169,2019,2191,2740,2187,1941,2373,2728,2361,1990,2166,2269,2475,2612,2504,2309,1887,1705,1888,1920,1945,2036,2565,2843,3178,3605,2938,2273,2525,2252,2006,1942,1810,1772,2303,2857,3240,3764,3777,3222,2702,2924,2784,2287,3169,3062,2511,2699,2635,1738,1536,1992,2683,3120,2850,2156,2093,2405,2142,2461,2827,2995,2444,2449,2178,2030,2491,3160,3464,3470,2873,2299,2296,2497,2111,2775,2754,2708,2558,3095,3558,3248,2864,2661,2764,2788,2842,3413,2757,1937,2126,3108,3940,4129,3581,2986,2775,2689,2874,2888,3123,2386,2124,2213,2054,2489,2349,2462,3018,3244,3244,3331,3187,3089,3486,3519,3792,3826,3763,3473,3012,3614,3992,3990,4124,3775,3022,2973,3501,3277,2419,2230,2398,2314,3144,3663,3672,3515,3452,3083,2939,3050,2985,3105,3366,3684,3523,2699,2178,2072,2286,2551,2631,2540,2292,2596,2604,2720,2555,2303,2269,2395,2491,2413,2401,2408,2501],[3616,3025,2216,1988,1845,1731,1703,2369,3320,3298,2826,2520,2957,3706,3152,1858,1804,2079,2044,2364,2242,2757,2832,2415,2028,2160,2502,2502,2641,2662,2042,1884,2469,2842,2836,2661,3011,3157,2853,2431,2432,1864,1482,1817,2068,2399,2374,2662,2783,2922,2875,3192,2356,2700,2626,1918,1942,2103,1840,1805,1870,1788,1944,1715,1805,1865,1688,1669,1747,2099,2002,1926,1930,1760,1838,1780,1927,1776,1520,1527,1732,1946,2929,2740,1951,1641,1845,1946,1860,2025,1514,1518,1660,1616,1932,2292,1973,1849,1769,1836,1672,1410,1464,2066,3030,2320,2018,1688,1656,1890,1784,1925,2040,2296,2532,2444,2248,2003,1788,1552,1720,1686,1788,1624,1879,2163,2058,1992,1843,1685,1869,1741,1548,1534,1684,2165,1916,1615,1902,1797,1653,1621,1508,1609,1935,1711,1700,1656,1601,1558,1620,1935,1959,1800,1841,1827,1722,1450,1538,1517,1336,1719,1642,2104,3575,3572,3207,2708,2178,2128,1978,2416,3164,3174,3044,2313,2272,2670,2526,2820,2872,2640,2386,1746,1760,1968,1779,1936,2412,2734,1995,1843,1981,2335,2095,2156,3034,3018,2398,1958,1987,2292,2353,2235,2064,2085,1876,1438,1519,1714,1766,2122,2163,2301,2542,2327,2306,2288,2176,2654,2381,2391,3347,3250,3215,3297,3697,3735,3610,3718,3961,4115,3432,3054,2224,1767,2143,2159,1957,1847,2370,2446,2740,2875,2810,3063,3426,3698,3835,3343,3495,3693,3561,2664,1760,1579,1904,1811,1641,1594,1654,1709,1224,2076,2634,2242,2334,2430,1836,1709,1763,2192,2149,2341,2819,2923,2876,2842,3142,3708,4152,3754,3360,3117,3099,3616,3625,2898,2315,1956,2330,2500,2462,2646,2644,2206,1746,1439,1400,1454,1444,1483,2148,2746,2504,2144,1912,1515,1920,2410,2861,2285,2536,2410,1605,1549,2178,2924,2282,2401,3022,2829,2636,2587,2984,2810,2336,1990,2136,2695,3017,2765,1928,1958,2101,1921,1651,2005,2169,1906,1482,1403,1556,1626,1788,1864,1462,1292,1655,1790,1911,2856,2656,2077,2027,2383,2415,2204,2130,1768,1521,1499,1655,1493,1578,1614,1281,1853,1672,1512,1604,1475,1610,1798,2124,2872,2938,2054,1902,1958,2051,2548,2984,3019,2695,2055,2102,2651,3059,3056,2480,1787,2226,2469,2383,2868,3160,2736,2346,2504,2714,2658,2670,3065,3039,2761,2586,2477,2410,2542,2471,2146,2188,2479,2847,3517,3109,2728,3111,2882,2888,2713,2472,2411,2405,2509,2702,2742,2532,2293,2316,2372,2048,1871,1653,1270,1058,1181,1409,1553,1897,2394,2335,2119,1568,1446,1382,1461,1500,1876,1720,1475,1483,1512,1487,1417,1576,1980,2097,2106,1837,2341,2192,1859,1451,1949,2354,2095,1760,1676,1907,1946,1421,1459,1650,1489,1760,1796,1592,1485,1522,1523,1488,1654,1531,1563,1599,1698,1793,1397,1532,1537,1613,1600,1653,1462,1277,1519,1748,1507,1500,1827,2071,1922,1673,1730,2451,2984,2186,1621,1934,2116,1675,1605,1476,1732,1847,2008,3118,4256,4000,2989,2942,3373,3130,2456,1765,1622,1554,1389,1339,1408,1673,1565,1368,1494,2962,3317,3265,3451,3265,2472,2056,2069,1910,1936,1918,1900,1964,1816,1792,1954,1968,1728,1792,1831,1593,1494,1427,1462,1700,1816,1805,1932,1826,1839,1764,1620,1814,2095,2164,2322,2458,2247,1914,1853,2116,2179,1904,1847,2067,1941,1938,2007,2206,2058,1782,1797,1783,1700,1758,1968,1568,1487,1906,2547,2459,1913,2304,2608,2226,1910,1448,1404,1591,1694,1730,1406,1444,1647,1586,1598,1676,1713,1707,1590,1920,1938,1848,1827,1772,1455,1710,2396,2377,1964,1777,1440,1489,2142,2611,2011,1872,2000,2676,3974,4544,4476,4396,4029,3790,3153,3204,4104,3161,2698,2597,3109,3484,3993,3972,3974,4176,4142,4169,3845,3904,3897,4080,4333,4172,4219,4140,3341,3520,3860,3845,4095,3348,2308,2070,1985,3164,3991,4167,4157,3813,2918,2332,2226,1944,1732,1622,1677,1550,1394,1564,1644,1628,1726,1651,1663,1678,1514,1956,2236,2456,2896,2575,1774,1488,1309,1480,1710,1824,1692,1461,1378,1617,1791,2116,2231,1796,1815,2326,2244,2587,2137,1723,1654,1610,2282,2924,3041,3133,2534,2369,2430,1865,1626,1750,2238,2279,1917,2475,2467,1972,2130,1755,1489,1572,1671,1700,1762,1596,2079,2714,2347,1875,1906,1724,1335,1164,1395,1706,1618,1538,1409,1548,1689,1555,1502,1527,1503,1500,1641,1764,1649,1754,1771,1546,1817,2161,1749,1695,1631,1482,1656,1988,1895,1676,1477,1467,1447,1806,2118,1886,1529,1573,1563,1682,1690,1620,1444,1316,1405,1637,1735,1740,1927,1942,1875,1864,1888,1792,1482,1406,1514,1744,1792,1744,1649,1498,2255,2456,1771,1592,1561,1570,1758,1990,2128,1852,1644,1712,1574,1776,2282,2085,1873,2077,2042,1932,2084,2245,2027,2241,2652,2590,2674,2369,2116,1902,1873,1887,1881,1814,1665,1702,1523,1452,1333,1534,1793,1327,1427,1454,1385,1401,1570,1822,1892,1648,1506,1434,1401,1540,2040,2175,1922,1970,2128,2600,2465,1974,1617,2069,2280,1776,1646,1714,1940,1834,1513,1669,1621,1770,1706,1832,2076,1980,1882,1816,1638,1539,1729,2143,1818,1528,1503,1495,1490,1338,1443,1622,1824,2054,2244,1977,1526,1582,1435,1578,1368,1628,2039,1860,1501,1531,1477,1384,1341,1243,1420,1496,1301,1556,1443,1400,1716,1746,1627,1508,1345,1516,1703,1231,1324,1291,1576,1447,1635,1806,2038,1810,1851,2756,3415,3740,4151,4082,3929,3236,3575,2829,2136,1946,1899,2041,2503,1946,1703,2188,2534,2622,2212,1918,2142,1950,1557,1527,1501,1221,1457,2168,2403,2214,1827,1958,2395,2636,2363,2468,2764,2709,2825,2032,1670,1667,1559,2056,2755,3110,3039,3008,2787,2586,2908,3210,3118,2800,2398,1692,1525,2320,2803,2975,2927,2652,2941,3380,2696,2414,2475,2609,2888,2741,2458,1990,1508,1571,2062,2160,1942,2424,2226,1974,1613,1300,846,530,431,383,435,476,420,384,382,403,456,628,668,574,637,1074,1407,1448,1510,1543,1581,1760,1919,1923,1941,2177,2228,2259,2249,2128,2417,2699,2534,2239,2412,2810,2482,2056,2116,2328,2720,2799,2334,2354,2691,2513,2066,1886,2094,2459,2490,2258,1932,2284,2465,2102,2041,1876,1902,1888,2250,2637,2298,1672,1600,1388,1431,1615,2154,1942,2018,2315,2182,2098,1972,1776,1916,1851,2115,2662,3209,2867,2506,2676,2953,2600,2521,2564,2153,1926,1977,1471,1661,2095,1777,1614,2373,2405,2124,2151,2384,2966,3398,3510,3474,3272,2988,2874,2879,2975,3263,3418,3422,3275,3124,2378,2429,3198,3067,2820,2887,3174,3008,2223,1951,2953,2954,2945,2780,2507,2718,2464,1833,2183,2613,2520,2297,1876,1875,1654,1705,2198,1787,1461,1631,1512,1791,2077,1841,1977,1760,2062,2127,2108,1875,2023,1835,1826,1821,1631,2154,2451,2202,2183,1830,1196,1849,2291,1774,1526,1599,1843,1802,1894,2076,1893,1639,1923,1738,1750,1548,1498,1708,1624,1973,2093,1688,1538,1914,2053,1891,1886,1899,1864,1883,1887,1618,1557,2212,2437,1973,1897,2418,2200,1815,2151,2036,1791,1553,1494,1630,1900,1791,1730,1774,2231,2701,2292,2409,2492,2979,2910,2216,2610,2541,1892,1873,1995,1863,1862,1932,2072,2148,2078,2647,3012,2843,3012,2457,2376,2808,2830,2210,1712,2439,3396,2784,1558,1616,3104,3721,3282,2281,1422,1186,1310,1512,1716,1827,1938,1772,1406,1576,1888,1996,1614,1168,1774,1902,1542,1535,1614,1819,1717,1823,1704,1965,1940,1879,2342,2274,1781,1510,1589,1903,2098,1703,1503,2136,2473,2192,2226,1917,1670,1725,1411,1113,1041,913,963,1425,2634,3729,4196,4320,3959,3708,3462,3271,3190,3287,3046,2571,2496,2642,2404,1719,1740,1830,2149,2884,3406,3292,3108,2717,2622,2884,2773,2602,2530,2442,2331,2049,2020,1923,1784,1879,1637,1763,2360,2511,2157,3138,4070,3594,3208,3311,3196,3107,3168,2365,1632,1477,1723,2084,2091,1719,1624,1389,1441,1504,1478,1473,1109,1333,1368,1325,1372,1463,1390,1400,1456,1360,1413,1450,1470,2361,2791,2331,2202,1731,1521,1561,1482,1494,1472,1567,1808,1538,1509,1422,1509,1756,1924,1804,1679,1581,1622,1611,1613,1678,1630,1597,1454,1433,1445,1355,1504,1462,1443,1471,1572,1694,1843,1821,2280,2504,1936,1574,1886,2312,1842,1595,1813,1618,1535,1652,1642,1809,2078,2149,2332,2675,2858,3068,3030,2038,1714,2302,2614,2241,2082,2069,2071,2128,1656,1665,1969,1869,1916,1932,1770,1858,3085,3849,3137,2276,2176,2060,1924,2408,2567,2408,2010,1779,1714,1698,2049,2281,2510,2670,2117,2135,1958,1651,1784,2354,3160,2473,1478,1966,2322,2147,2401,2144,1794,1745,1795,2008,2642,2783,2817,2945,2965,2677,2748,3075,2640,2071,2185,2480,2327,2071,1945,2126,2175,2163,1981,2075,2247,2198,2031,1606,1598,2067,1823,1949,2576,2836,2414,2350,2714,2890,2510,2082,1826,1994,2130,2325,2648,2468,1809,1767,1914,1806,1862,2642,2814,2735,3305,3209,2744,2293,1902,1986,2566,2505,2196,1996,2540,2833,2619,2754,3288,3393,3153,2901,2468,2467,3042,2711,2209,2789,2766,1980,2248,2821,2934,2972,2552,1791,2363,2063,2279,2319,2364,2894,2796,2332,2286,2703,3320,3362,3275,3429,3106,2721,2483,2105,2318,2491,2647,2787,2902,2995,2978,3156,2910,2152,2227,2618,2567,3299,3400,3369,3498,4006,4131,3895,3494,3184,2823,2583,2319,2470,2546,1965,1877,1623,2046,2540,2553,2675,2621,2640,2988,3245,2863,2751,3120,3281,3307,3372,3491,3415,2584,3033,3821,3715,3805,3518,3043,3100,3189,2159,1671,1873,2220,2444,3220,3480,3428,3386,3348,3199,3107,3084,3140,3178,3265,3563,3540,3133,2578,2189,2430,2766,3082,3006,2476,2282,2330,2577,2624,2503,2424,2467,2474,2319,2364,2508,2614],[3278,2436,1982,2388,1843,1547,1911,2961,3343,3095,2578,2407,2799,3377,2852,2200,2200,2184,2039,2320,2332,3028,3065,2566,2273,2438,2964,2935,2778,2493,1968,1804,1738,1931,2309,2751,3044,2677,2427,2677,2946,2115,1756,1877,2499,2675,2271,2604,3173,3222,2790,2567,2223,2555,2280,1758,2227,2316,1996,1909,1931,1793,1626,1794,2085,2055,2067,2115,2308,2164,1714,1867,1714,1433,1756,1576,1654,1502,1389,1466,1504,1617,2275,2299,1871,1599,1637,1858,2217,2293,1744,1672,1913,1483,1683,1888,1632,1413,1635,1794,1491,1293,1402,2105,2676,2558,2154,1710,1515,1626,1852,1935,1890,2254,2296,2308,2356,1937,1771,1521,1434,1947,1938,1619,1727,1820,1842,2141,2088,1851,1697,1408,1416,1429,2101,2338,1988,2036,1832,1630,1596,1620,1566,1746,1765,1530,1618,1805,1736,1545,1443,1679,1834,1893,1845,1740,1814,1754,1424,1333,1349,1409,1827,2767,3650,2949,2193,2058,2182,2048,2008,2446,2901,3118,3343,2238,1847,2270,2788,2788,2803,2525,2145,1928,2125,2242,2272,2468,2257,2065,1991,1926,1997,2153,2065,2097,2596,3078,2649,1975,2165,2210,2098,2046,1674,1786,1653,1380,1447,1508,1553,1759,1941,1886,1963,2167,2456,1880,1861,2143,2009,2462,3037,3097,3183,3485,3685,3262,3097,3413,3573,3706,3120,2767,1964,1841,2130,2197,1920,2292,2612,2331,2423,2313,2548,3088,3538,3846,3508,3353,3824,3495,3064,2205,1604,1599,1623,1454,1547,1816,1444,1297,1122,2122,2799,3117,2792,1978,1669,1477,1538,1952,2276,2778,2876,2824,2774,3237,3635,3986,4345,3763,3012,3118,3329,3784,3747,2898,2584,2425,2577,2700,2120,2000,1913,1998,1903,1557,1302,1353,1530,1749,2553,2908,2375,1955,1693,1443,1865,2600,2829,2202,2159,2138,1693,1797,2151,2503,2435,2815,3334,2591,2162,2899,2978,2417,2339,2147,2318,2666,2797,2670,2153,1837,1832,1583,1549,1893,2147,2020,1618,1533,1611,1850,2167,1873,1426,1282,1572,1754,2000,2425,2621,2293,2002,1995,1870,1735,1816,1561,1557,1559,1593,1569,1669,1702,1632,1799,1718,1655,1633,1569,1643,1584,1532,1822,1738,1989,2071,1747,2153,2802,2905,2852,2461,1843,2024,2608,3059,3145,2461,2040,2429,2938,3339,3596,3121,2391,2346,2299,2490,2544,2485,2615,2686,2751,2632,2484,2322,2234,2096,1846,2185,2518,2842,3250,2971,3019,3196,2698,2603,2460,2241,2177,2329,2488,2421,2503,2714,2518,2169,1842,1714,1568,1634,1546,1389,1298,1392,1699,3315,3206,2039,1948,1561,1396,1310,1468,1553,1664,1715,1704,1571,1449,1657,1568,1916,2248,2942,2830,2059,2199,1784,1305,1250,1517,1715,1766,1685,1592,1664,1544,1388,1631,2206,1858,1809,1832,1534,1427,1597,1691,1637,1883,1722,1660,1677,1742,1665,1761,1793,1543,1555,1510,1550,1591,1478,1668,1866,1562,1625,1719,1731,1757,1908,1808,1857,2040,1821,1618,1868,2190,1522,1426,1472,1415,1484,1603,3162,4133,3836,3385,2975,2807,2479,2441,2364,2101,1710,1445,1332,1504,1673,1548,1487,1668,2255,2677,2443,2218,1941,1785,2336,2268,1692,1438,1702,2001,1861,1961,2198,2420,2249,1715,1625,1552,1536,1629,1462,1495,1971,1747,1553,1633,1694,1906,1913,1986,2273,2208,2070,2303,2315,2164,2291,2608,2207,2127,2042,2038,2271,1904,1481,1671,1892,1763,1715,1619,1631,1598,1550,1611,1540,1871,2452,2511,2181,1694,2036,3222,3044,2570,1953,1767,1816,2121,1932,1511,1718,1764,1553,1756,1830,1668,1581,1824,1772,1609,1714,1935,1865,1683,1792,2254,2748,1721,1513,1508,1577,2157,2591,2091,1629,1862,2931,4123,4368,4431,4355,4061,3801,2898,3120,3830,3482,2705,2685,3231,3575,3803,3818,3703,3958,4230,4442,4248,4264,4352,4385,4349,4161,4050,4041,3688,3583,3964,4265,4189,3288,2257,1982,2043,3103,3626,3958,4081,3250,2274,2062,2118,1898,1750,1548,1618,1506,1396,1452,1523,1526,1697,2285,2713,2427,2387,2743,2689,2866,2867,2306,1618,1550,1507,1441,1675,1762,1605,1586,1505,1561,1903,2611,2163,1953,1931,2677,3007,3250,2514,1664,1489,1489,2015,2544,2317,3106,3370,2832,2304,1958,1585,1692,2035,1943,2217,3164,2810,2141,1958,1539,1373,1417,2024,2370,2143,1913,2605,2635,1936,1583,1582,1538,1374,1395,1369,1608,1611,1528,1478,1613,1607,1431,1475,1384,1344,1569,1954,1887,1793,1936,1788,1629,1910,1857,1617,1643,1642,1501,1690,1875,1808,1576,1432,1729,1754,1650,1908,1659,1526,1919,2111,1919,1709,1753,1399,1306,1382,1545,1454,1488,1812,1739,1730,1774,1919,1936,1799,1635,1555,1533,1576,1572,1616,1660,2163,2311,1896,1656,1632,1710,1841,1876,1644,1665,1853,1839,1603,1620,1954,2293,2369,2365,2265,2125,2169,2090,2032,2012,2270,2398,2139,2111,2048,1928,1905,1802,1683,1498,1684,1895,1629,1503,1358,1383,1582,1386,1377,1315,1376,1471,1726,1901,1826,1795,1588,1565,1542,1695,2252,2651,2631,2338,1930,1997,2257,2284,1888,1834,2024,1801,1839,2108,1835,1522,1384,1443,1522,1490,1469,1673,1755,1716,1760,1726,1815,1715,1714,1964,1694,1544,1597,1528,1366,1323,1433,1489,1495,1612,1786,1567,1487,1465,1527,1876,1669,1734,1950,1718,1352,1383,1463,1429,1296,1272,1477,1489,1297,1193,1233,1422,1791,1750,1446,1348,1281,1687,2224,1534,1600,1541,1501,1410,1329,1531,1348,1595,1923,2119,2453,2886,3852,4027,3846,3309,4040,3064,2379,2056,1698,1909,2147,2029,1933,2376,3184,2541,1513,1681,2083,2015,1548,1140,865,632,869,1509,2234,2330,1812,1723,2376,2764,2508,2855,2900,2799,2475,1908,1907,1958,2020,2160,2641,2972,2949,3489,3261,2595,2485,3008,3032,2872,2608,1936,2380,3078,2802,2854,2973,2423,2636,2700,2919,2687,2685,3054,3085,2592,2179,1936,1902,1716,1691,1738,2041,2957,2791,2123,1516,1131,748,568,466,435,460,592,636,510,459,452,517,628,619,608,719,1023,1272,1303,1311,1598,1607,1787,1794,1485,2039,1913,1788,2071,2313,2422,2287,2294,2734,3109,2488,2524,2060,2192,2654,2968,2842,2809,2362,1997,2214,2523,2373,1954,2782,2592,2372,1858,1785,2002,2277,2091,1984,1980,2129,2057,2002,2020,2026,1821,2254,1757,1552,1935,1871,1671,2036,2227,2255,2079,2023,2103,2291,1894,3042,3209,2988,2409,2371,2623,2693,2643,2490,2397,2219,2375,1941,1296,1607,1780,1623,1726,2397,2303,2014,1881,2146,2770,2974,2884,3210,3165,3002,3024,3248,3411,3466,3542,3327,2930,3078,2880,2800,2854,2534,2553,2169,2706,2373,1968,2313,3271,3053,2742,2932,2662,2968,3084,2745,2422,2796,2717,2543,2120,2050,1796,1729,1953,1602,1654,1736,1776,2258,2677,1823,2083,2177,2238,1777,2197,2189,2178,2107,1991,1867,1518,1980,2964,2721,2764,2474,1789,2214,2001,1503,1562,1704,1635,1692,1801,2023,2276,1916,1944,1615,1828,1812,1691,1758,1604,1488,1665,1584,1597,2605,2153,1504,1504,1453,1380,1603,1688,1556,1526,1956,2403,2357,2689,2780,1857,1714,1872,2061,1796,1545,1526,1776,1996,1795,1761,1591,1730,2142,2200,2035,2606,3168,2969,2204,2361,2425,1766,1693,1919,2005,2162,2320,2309,2310,1968,2331,2587,2836,2999,2556,2442,2723,2839,2315,1822,2236,2530,2293,1511,1519,2611,3538,3560,2644,1613,1232,1501,1783,1912,1957,2221,1838,1592,1743,1752,1520,1460,1947,2637,2470,1970,2018,1885,2147,1690,1810,2217,2279,1681,1631,1692,1858,2212,2253,1886,1914,2495,2342,2323,2122,1887,1462,1421,1337,1288,1302,1267,1209,1157,1177,1262,1853,2757,3841,4189,4272,4100,4064,3928,3584,3503,3652,3312,2977,2625,2033,1763,1535,1617,2048,3011,2929,3244,3471,3082,2591,2405,2135,2360,2360,2438,2500,2396,2216,2537,2367,2002,2452,2613,2799,3443,3242,2780,3420,3611,3229,3307,3415,3200,3028,3003,2275,1712,1798,1594,1787,1860,1567,1737,1460,1421,1359,1490,1359,1172,1175,1136,1126,1232,1272,1416,1638,1704,1516,1549,1483,1418,1931,1979,1872,2199,1976,1639,1579,1486,1702,1622,1647,2333,2113,1760,1653,1546,1509,1631,1664,1524,1469,1571,1567,1543,1457,1532,1460,1479,1460,1382,1470,1457,1487,1551,1667,1855,1716,1933,2218,2651,3119,2373,1650,1839,1960,1631,1483,1609,2014,2058,1395,1687,1957,1964,1845,2289,2395,2229,2866,3000,1978,1466,1527,1633,2041,2237,2274,1852,1680,1757,1735,1648,1557,1798,1930,1738,1597,2019,2850,2842,2235,2190,1976,1889,2001,2066,1971,1890,1749,1733,1843,1784,1603,2194,3339,2554,2301,2270,2037,2558,3341,3509,2251,1832,2449,2288,1771,2042,2033,1988,2054,2034,2497,2901,3040,3447,3432,2755,2507,3056,3278,2477,1979,2051,2495,2239,2392,2126,1963,2509,2751,2475,2563,2670,2191,1973,1710,1848,2002,1614,1954,2604,2777,2843,3097,3162,3094,3330,3176,2656,3006,2790,2845,3023,2502,2172,2438,2564,2643,2692,2733,3112,2841,2432,2754,3221,2722,2268,2881,3528,3292,3232,3460,3638,3098,2081,2139,2263,2387,3055,2430,2295,2335,2266,2495,2536,2382,2229,2314,2681,2360,2521,2819,2681,2111,2766,2700,2611,2315,2220,2200,2104,2398,2749,2945,3665,3588,3598,3628,3284,2430,2050,2330,2700,2488,2382,2612,2779,2390,2635,3116,3104,2625,1897,2328,2822,3173,3349,3719,3728,3441,3575,3531,3394,3475,3200,3197,3293,3039,2321,1861,2027,2110,2485,2796,3110,3408,3159,2973,3396,3367,2990,2921,2943,3229,3177,3169,3464,3497,3288,3874,3992,3520,3391,2987,2614,2898,2670,1826,1502,2153,2510,2760,3601,3686,3410,3286,3189,3223,3141,3220,3162,3146,3440,3682,3510,3221,2645,2261,2361,2819,3323,3311,2710,2237,2308,2408,2496,2463,2347,2360,2342,2242,2303,2536,2722],[2965,2524,2143,2255,1987,1791,2326,2786,2994,3397,3124,2786,2294,2169,2075,2555,2420,2143,2325,2556,2824,3322,3253,2818,2422,2522,3044,2899,2670,1994,1777,1944,1878,1731,1541,2592,2875,2661,2592,2194,2536,2269,2288,2288,2899,2014,1838,2722,3119,2418,2402,2840,2676,2404,1884,1938,2175,2078,1976,1749,1676,2142,2095,2291,2245,2161,2343,2230,2254,2189,1747,1816,1584,1484,1408,1804,1721,1465,1655,1727,1418,1376,1628,1805,1703,1616,1594,1744,1838,2276,2003,1871,1833,1641,1606,1743,1693,1603,1940,1666,1461,1486,1687,2335,2358,2774,2584,2112,2070,1892,1937,1769,1761,1915,1694,1797,2054,1654,1728,1904,1881,2414,2589,2500,2725,2531,2352,2789,2230,1836,1814,1472,1800,1774,2223,2176,1742,1601,1597,1549,1425,1575,1423,1601,1500,1263,1892,2010,1848,1619,1715,1824,1447,1451,1746,1876,1841,1786,1737,1557,1289,1338,1982,2778,2958,2209,1769,2258,2842,2534,1965,2119,2678,2858,2836,1824,1586,2028,2285,2449,2605,2436,2145,2234,1972,1877,2401,2437,2368,1995,1765,1807,1873,2389,2789,2531,2673,3078,2785,1994,2403,2678,2243,2006,1508,1520,1507,1487,1514,1481,1477,1955,2295,1641,1570,2021,2144,1729,1986,2042,2172,2436,2163,2196,2535,2936,2924,2807,2852,3023,3150,3228,2930,2219,2080,2450,2600,2578,2393,2304,2307,2246,2387,2569,3146,3273,3594,3840,3796,3711,3300,3132,2684,1890,1657,1567,1374,1455,1676,1810,1757,1835,1999,2131,2666,3286,2563,1675,1496,1190,1621,2448,2586,2680,2956,3274,3670,3725,3703,3781,3583,2862,2464,2707,3065,3186,3297,2863,2485,2290,2706,2841,2410,2050,1673,1880,2527,2443,2020,1904,2475,2366,2250,2270,2078,1583,1527,1488,1956,2634,2600,2267,2215,2037,1808,2422,2609,1946,2075,2691,3366,2551,2239,3083,2865,2476,2417,2442,2510,2368,2535,2388,2017,1654,1476,1425,1489,1474,1760,2077,1814,1707,2064,2345,2454,2049,1448,1344,1549,1547,1826,2311,2332,1835,1781,1590,1475,1398,1430,1366,1469,1477,1512,1643,1938,2235,2232,2191,2028,1858,1695,1959,1861,1699,2039,2214,1728,1959,2096,2011,2072,2338,2352,1781,1619,2116,2520,2578,2775,2634,2304,2160,2719,3609,3646,3309,2687,2209,2610,2359,2618,2700,2636,2620,2448,2444,2648,2584,2059,1841,1726,2283,2299,2178,2434,2519,2953,3122,2885,2583,2348,2030,1936,2341,2427,2420,2121,1994,2155,2098,1638,1672,1560,1439,1537,1720,1616,1399,1375,1907,4992,3171,1990,1792,1587,1509,1664,2340,2292,1608,1502,1675,1905,1635,1655,1448,1686,1478,1808,2054,1826,1772,1780,1627,1623,1859,1721,1935,1775,1526,1745,1629,1627,1825,2029,1666,1412,1244,1272,1429,1760,1896,1636,1837,1920,1881,1953,1891,1562,1754,1839,1449,1314,1406,1657,1550,1520,1788,1694,1867,1937,1982,1842,1631,1808,1798,1635,1745,1958,1976,1804,1756,1305,1373,1616,1758,2113,2143,3053,3737,3364,3120,3484,3471,2552,2396,2375,2070,1535,1602,1821,1657,1654,1647,1767,1724,1617,1806,1933,2119,1554,1699,2138,1913,1431,2019,2570,2267,2197,2354,2326,2325,2080,1925,1855,1793,1675,1550,1396,1504,1649,1530,1618,1578,1598,1824,1912,2092,2301,2210,2161,2437,2464,2237,2402,2530,2143,1989,1892,1570,1600,1519,1543,1712,1648,1686,1766,1721,1679,1546,1524,1797,1899,1687,1744,1786,1917,1651,1707,2658,2460,2059,2110,2120,1884,1865,1577,1750,1918,1792,1579,1714,1584,1826,1631,1876,1974,1683,1720,2039,1986,2149,2122,2988,3453,2031,1552,1511,1420,1841,2364,2289,2312,2813,3848,4399,4251,4367,4434,4237,3841,2686,2951,3635,3292,2780,2871,3230,3510,3513,3519,3482,3667,3729,4264,4396,4200,4233,4280,4085,3875,3813,3980,3898,3762,3805,4201,3777,2912,2264,1897,2087,3284,3921,4006,3752,2576,1780,1760,1962,1830,1675,1619,1568,1490,1562,1629,1755,1580,1917,3119,3310,2844,2587,2527,2271,2417,2536,2008,1447,1521,1577,1472,1576,1672,1732,1666,1633,1682,1905,2120,1681,1792,2102,2331,2368,2210,1841,1572,1369,1423,2094,2236,2003,2894,2289,1776,1980,1801,1534,1707,2202,2324,2143,2439,2662,2384,2425,1965,1661,1826,2155,2474,2178,2040,2591,2398,1873,1695,1569,1468,1493,1456,1467,1377,1427,1340,1157,1325,1354,1372,1435,1440,1377,1986,2582,2200,1850,2005,2005,1665,1560,1752,1702,1709,1704,1691,1924,1868,1924,1775,1945,2266,2233,2109,1827,1422,1443,1544,1469,1565,1892,1802,1528,1688,1518,1390,1316,1341,1328,1432,1634,1641,1942,1781,1939,1860,2222,1813,1769,1847,1538,1679,1947,1974,2024,1915,1680,1742,1708,1680,1640,1560,1820,1810,1605,1766,1815,2060,2220,2249,2210,2250,2121,2170,2546,2642,2649,2592,1919,1845,1801,1782,1936,1981,1909,1767,1795,1882,1496,1493,1533,1404,1443,1395,1416,1366,1394,1592,1812,2010,1846,1528,1586,1760,1787,1748,2087,2496,2690,2416,1946,2040,2416,2363,1779,1628,1865,2009,1998,1852,1545,1543,1484,1647,2047,1928,1627,1499,1457,1586,1835,1605,2048,1990,1513,1293,1344,1628,1772,1612,1465,1490,1291,1339,1333,1411,1554,1523,1483,1592,1809,1751,1464,1582,1998,1710,1432,1336,1514,1426,1403,1551,1449,1447,1343,1250,1228,1220,1380,1747,1754,1583,1381,1497,1622,1490,1771,1561,1798,1828,1473,1433,1406,1800,2137,2062,1768,1664,2784,4085,3884,3500,3194,2291,2106,1842,1992,2316,2254,2729,2380,2463,2280,1736,1868,2160,2052,1897,1395,825,744,931,1368,1729,1990,2244,1967,2056,2288,2554,2348,2652,2888,3052,2736,2269,2076,2031,2196,2236,2366,2304,2714,3477,3518,2763,2280,3022,3414,3394,2898,2341,2729,3076,2944,2583,2365,2293,2068,1958,2226,2294,2603,2734,2512,2398,2755,2250,1873,1813,1613,1498,1279,1898,2578,2104,1426,979,765,749,541,506,521,684,820,617,451,473,557,564,542,649,922,1146,1213,1323,1525,1686,2066,2658,2632,1758,2125,2213,1894,1824,2493,3321,3146,2530,2350,2589,2026,2731,2255,2066,2373,2908,2833,2426,2445,2348,1887,1904,2093,2254,2741,2534,2452,2082,1996,2518,2784,2434,2172,1749,1712,1828,2431,2142,1927,2004,2437,2057,1795,2011,1757,1817,1874,2166,2746,2568,2337,2123,2174,2056,2699,2684,2762,2555,2493,2436,2593,2768,2665,2547,2381,2407,1810,1870,1866,1832,1580,1881,2148,2005,2078,2046,1921,1662,1534,1598,2526,2976,2585,2868,3349,3300,3086,3074,2763,2674,2943,2585,2284,2447,2275,2393,2675,2461,2205,3068,3486,3304,2723,2740,2940,2542,2657,2546,2622,2604,2752,2714,2438,2156,2452,2448,2144,1713,1699,1885,1772,1776,2175,2367,2186,2685,2796,2105,1577,2262,2760,2348,2002,2144,1856,1452,2023,2990,2840,2752,2596,2242,2019,1652,1583,1982,2004,1790,2085,1638,1779,1905,1790,2096,2061,1897,1797,1677,1622,1455,1464,1494,1439,1519,2153,2016,1492,1250,1296,1416,1374,1494,1821,1512,1720,1964,2438,2775,2313,1947,1644,1467,1982,1824,1511,1556,1460,1930,2041,2026,1603,1599,1895,2115,1788,2127,2635,2581,1934,1924,1713,1504,1766,2171,2310,2338,2419,2402,2427,2126,2287,2732,3040,2924,2403,2232,2604,2839,2044,2268,2894,2338,2388,2161,1941,2340,3011,3095,2555,1904,1525,1581,1760,1750,1933,2177,2090,1940,1699,1470,1714,2206,2501,2618,2331,1874,1714,1481,1628,1305,1243,1570,1498,1582,2063,2407,2852,2987,2880,2607,2876,3223,3099,3152,2449,1727,1418,1395,1418,1389,1194,1117,1109,1150,1248,1544,2432,2742,3752,4151,4159,4127,4183,4140,3639,3449,3595,3443,3370,2595,1766,1780,1708,1636,2111,3045,3156,3320,3487,3220,3174,3272,2930,3428,3146,3361,3521,3398,3207,3228,3118,3194,3632,3739,3751,3914,4184,3948,3532,3200,2997,3152,3068,2961,2901,2896,2210,1548,1631,1591,1888,1602,1629,1432,1262,1339,1465,1594,1448,1300,1128,1116,1153,1291,1410,1622,1543,1610,1786,1622,1533,1473,1599,1677,1629,1696,1491,1622,1731,2526,2911,2286,1860,2186,2010,1642,1659,1665,1498,1563,1410,1424,1523,1904,1847,1764,1477,1765,1796,1655,1496,1340,1300,1327,1439,1583,1619,1786,1747,2255,2648,2756,2919,2376,1642,1439,1772,2065,1643,1548,1985,1924,1556,1700,1715,1865,1807,2164,2768,2102,2149,2510,1835,1510,1405,1579,2415,2266,2062,1879,1669,1711,1622,1462,1492,1754,1744,1572,1521,1730,2078,2056,2061,2041,2082,2007,1908,1803,1803,1900,1869,1604,1581,1473,1220,2374,3893,3053,2484,2494,2421,2595,3064,2661,1127,1797,2359,2269,1979,2039,1792,1833,2320,2292,2407,2842,3234,3594,3720,3073,2413,2557,3000,2156,2154,2156,2019,1940,1845,1881,2245,2666,2865,2681,2209,2570,2468,2321,1963,2160,1978,2055,3105,3365,2563,2776,3184,3469,3242,3152,2893,2270,2485,2731,2933,2710,2557,2660,2668,2730,2863,2808,2742,2708,2421,2294,2863,2918,2507,2542,3151,3216,2643,2722,3143,3125,2898,2746,2799,2549,2747,3199,2692,2182,2155,2158,2631,2856,2560,2895,2962,2479,2061,2149,2700,2687,2452,2480,2607,2588,2497,2029,1627,2303,2916,3348,3450,3803,3727,3550,3699,3135,2263,2275,2729,2618,2335,2702,2913,2426,2313,3046,2831,3094,3086,2575,2764,2978,2990,2790,2997,3373,3182,3425,3277,3543,4019,3543,3244,3232,2506,2011,1933,2308,2291,2368,2996,3496,3861,3855,3572,3428,3335,3262,3155,2831,2902,2755,2478,3075,3506,3902,4216,3836,3499,3117,3059,2956,2837,2200,1697,1774,2909,3115,2756,3652,3648,3330,3369,3426,3710,3181,3137,3304,2755,2700,2898,2688,2643,2846,2499,2220,2618,3029,3205,2780,2286,2337,2397,2427,2481,2218,2143,2178,2249,2348,2636,2864],[3132,2231,1864,2174,2624,2691,2523,2097,2536,3315,2965,2769,2113,2017,2314,2508,2096,2211,2640,2640,2643,2739,2790,2477,2216,2130,2425,2450,2236,1888,1964,2293,2409,1951,1945,2712,3312,3272,2405,2404,2963,2643,2327,2217,2567,2054,1836,2390,2409,1808,2060,2757,2909,2442,2362,2548,2454,2052,2106,1968,2158,2487,2344,2068,1738,2008,2186,2414,2367,2213,1958,1971,1891,1562,1423,1802,1653,1736,2204,1911,1440,1365,1395,1696,1800,1717,1527,1823,1900,2294,2436,1925,1526,1627,1747,1744,1698,2143,2051,1542,1490,1620,2327,2640,2430,2496,2345,1975,2182,2522,2622,1669,1469,1411,1339,1526,2076,1976,1755,1608,1683,2012,2131,1864,1563,1768,2207,2350,2237,1876,1559,1565,1886,1693,1459,1597,1956,1850,1646,1460,1459,1544,1562,1659,1823,1815,1859,1574,1488,1436,1605,1656,1378,1269,1345,1839,1774,1781,1808,1874,1944,1692,1681,2286,2315,2034,2025,2933,3647,3848,3147,2937,2752,2750,2520,1713,1628,1894,1671,1871,2458,2532,2238,2192,1751,1793,2707,2907,2835,2474,2007,2181,3015,3166,2873,2754,2756,2659,2552,1772,2220,2806,2523,2149,1676,1660,1766,1700,1593,1520,2006,2680,2667,1898,2006,1990,2098,2216,2165,2106,2419,2225,1949,1913,1951,2381,2468,2596,2999,3286,3551,3195,2442,1966,2676,3529,3256,2710,2269,2416,2668,2381,2522,2921,3405,3754,3642,3818,4385,3810,3045,2818,2740,2669,2124,1723,1722,1842,2645,2398,2102,1992,1948,1967,2047,2146,2053,1853,1377,1367,2321,3100,2740,2576,3078,3607,3319,2899,3204,3064,2544,2383,2390,2303,2423,2941,3216,3057,2798,2642,2747,2648,2374,2020,1931,2444,3471,3374,3020,2809,2579,2716,2423,1822,1596,1498,1433,1535,1954,1930,2074,1998,2274,3023,2590,2215,2335,2194,2617,3058,3044,2621,2884,3230,2877,2823,3006,2817,2718,3043,3199,2652,1703,1439,1596,1509,1529,1543,1600,1857,1931,2367,2393,1795,2086,2135,1561,1584,1717,1638,1999,2028,2031,1979,1882,1700,1533,1475,1425,1565,1729,1682,1733,1825,2077,2522,2464,2155,1903,1723,1598,1625,1577,1488,2204,2365,2100,2212,2017,1845,1653,1758,1892,1649,1914,2846,2977,2462,2427,2303,2530,2741,2802,3308,3219,3044,2485,2036,2335,2552,2562,2554,2732,2695,2504,2679,3013,2423,1575,1878,2188,2293,2053,2088,2119,2390,2797,2856,2734,2607,2330,1850,1788,2271,2478,2284,2170,2177,2211,1877,1860,1873,1652,1915,1825,1892,1589,1476,1560,1500,2149,1635,1715,1868,1711,1638,1936,2128,1698,1446,1410,1424,1635,1820,1622,1383,1427,1328,1287,1402,1374,1463,1959,2062,1718,1721,1470,1854,1675,1585,1542,1489,1434,1517,1604,1478,1505,1358,1406,1334,1699,1749,1560,1623,1636,1918,2126,2019,1650,1572,1456,1288,1204,1364,1771,1754,1630,1887,2100,2286,2206,2451,2287,1561,1377,1570,1731,1775,1779,2264,2054,1685,1098,1383,1719,1590,1747,2241,3185,3564,3425,2921,3599,3111,2311,2009,1953,1870,1604,1738,1723,1612,1694,1713,1765,1398,1381,1782,1734,1470,1349,1576,2319,2326,2069,2902,3130,2511,2459,2688,2774,2163,2517,2302,2031,1907,1599,1418,1390,1506,1773,1715,1936,1709,1735,1806,1943,1968,1904,2083,1962,1759,1929,1949,1982,2342,2113,1699,1809,1459,1515,1414,1484,1499,1581,1671,1762,1848,1903,1854,1968,2014,1938,1581,1620,1612,1748,1543,1421,1694,1721,1679,2086,2257,1731,1554,1556,1732,1692,1705,1779,1772,1568,1783,1874,1642,1452,1542,2267,2876,2086,1718,2158,3294,3452,2041,1317,1388,1370,1627,1913,2142,3051,3887,3987,4150,4190,4210,4444,4180,3818,2964,2797,3519,3198,2855,3072,3302,3496,3103,3519,3741,3808,3791,3836,3978,3974,4279,4379,4001,3912,3846,3882,4059,4094,3731,3902,3227,2446,2196,2036,2041,2857,3489,3366,3144,2294,1860,1709,1853,1626,1659,1556,1373,1504,1623,1652,1678,1560,2280,2899,3072,3099,2415,2125,1899,2025,2259,1960,1700,1576,1446,1468,1636,1559,1659,1505,1479,1729,1851,1721,1812,2056,2026,1854,1829,1663,1616,1596,1433,1978,2009,1706,1993,2088,1657,1784,1745,1696,1768,1886,1904,1984,1801,2094,2523,2555,2555,1964,1784,2172,2203,2093,1905,2251,2918,2499,1694,1711,1582,1488,1606,1579,1535,1363,1371,1249,1140,1379,1234,1355,1401,1614,1476,1795,2193,2231,2234,2640,2877,2429,1842,1840,1762,1672,1757,1942,2310,2290,2189,1692,1746,2026,1918,1830,1668,1561,1386,1461,1394,1605,2017,1716,1450,1483,1513,1439,1313,1373,1347,1517,1627,1669,1489,1404,1829,1832,1948,1875,2136,1991,1997,2508,1990,1612,1834,2206,2230,1954,1662,1567,1512,1436,1524,1491,1335,1520,1816,1855,1819,2569,2448,2174,2162,2556,2473,2523,2490,2258,1914,1560,1620,1725,1942,2075,1801,1768,1853,1796,1583,1481,1353,1442,1447,1296,1390,1399,1589,1916,1953,2072,1715,1387,1637,1745,1643,1499,1563,1891,2322,2149,1793,1662,2020,2012,1951,2036,2276,2251,2329,2091,1694,1680,1599,1831,2385,2289,1782,1637,1603,1592,1940,2044,2519,2230,1622,1434,1471,1666,1803,1587,1523,1702,1602,1466,1330,1448,1434,1405,1386,1639,1661,1628,1895,2102,2374,1780,1461,1357,1335,1326,1352,1410,1467,1380,1267,1193,1205,1212,1615,2329,1998,1974,1560,1459,1565,1482,1606,1743,2042,1997,1544,1730,1820,1982,1803,1556,1425,1299,1896,2890,2835,3172,3273,2699,2241,1731,2039,2744,2077,2486,2519,2345,1973,1879,2031,2014,1915,2053,1617,1288,1682,1926,2138,1956,1844,2028,2042,2030,2093,2155,1941,1929,2348,2890,2962,2753,2247,2237,1821,1754,1920,2130,2799,3313,3676,3305,2843,2957,3410,3653,2744,2523,2161,2375,2149,2023,2214,2142,1637,1985,2313,2050,2256,2323,2318,2588,2840,2260,1911,2101,1763,1862,2006,2106,2360,1874,1528,1341,1266,930,675,574,630,618,710,611,474,419,422,454,542,777,1099,1220,1391,1699,1715,1764,1862,2610,2437,1770,2344,2974,2868,2430,3363,3962,3619,3294,2831,2392,2127,2422,2263,2303,2215,2234,2363,2429,2818,2740,2069,1773,2451,2562,2543,2690,2492,2484,2624,2920,3071,3124,2333,1771,1943,1855,1956,1918,1862,1811,1750,1751,1988,1879,1707,1660,1690,2741,2864,3028,2478,2165,1967,1937,2037,2514,3050,3150,2901,2564,2313,2303,2104,2111,2170,2041,2014,2109,1970,1807,1728,2073,2194,2279,2298,2125,2016,1753,1805,1860,2575,2823,2398,2510,2902,2774,2003,1863,2282,2783,3353,2988,2589,2475,2155,2466,2583,2445,3067,3410,3452,3119,2807,2751,2740,2625,2306,1999,2208,2607,2929,2741,2373,2504,2700,3067,2396,1708,2044,1967,1764,1677,2408,2778,2542,2928,3097,2051,1587,2089,2652,2110,1832,2149,1999,1613,2030,2533,2597,2604,2543,2259,2052,1627,1736,2126,1883,2082,2580,1758,1541,1753,1815,1824,1705,1761,1790,1708,1753,1514,1593,1398,1384,1586,1616,1656,1602,1448,1355,1485,1474,1599,1773,1649,2062,2142,2491,2678,2170,2260,2120,1921,2405,2050,1590,1849,1765,2481,2075,1895,1840,1554,1506,1798,2130,1910,1797,1959,1596,1877,1918,1779,2125,2640,2851,2835,2809,2886,2692,2165,2226,2744,3012,2868,2353,2241,2562,2905,2109,3031,3737,2924,2841,3087,2773,2369,2610,3306,3088,2236,1672,1486,1658,1807,1857,2118,2139,1672,1405,1730,2341,2533,2536,2295,1875,2014,1659,1637,1458,1041,997,1021,938,1434,1982,2234,2916,2808,2792,3189,3317,3397,3349,3226,2554,1691,1277,1221,1416,1606,1254,1167,1097,1193,1234,1884,2617,2799,3263,3583,3836,4018,4184,4023,3384,3206,3334,3297,2769,1912,1679,1707,1665,1636,1989,2797,3281,3354,3396,3454,3609,3519,3417,3521,3326,3373,3409,3270,3096,3173,3448,3914,3945,3693,3955,4141,4430,4052,3508,3397,3152,2886,2762,2783,2823,2657,2024,1708,1498,1366,1412,1310,1440,1319,1371,1682,1750,1442,1436,1531,1227,1242,1230,1367,1586,1533,1666,1681,1805,1670,1442,1262,1504,1759,1470,1568,1549,1781,1696,2266,3009,2326,1814,1676,1678,1814,2210,2436,1569,1397,1537,1725,1776,2245,2236,1768,1477,2132,2282,1608,1318,1330,1393,1547,1597,1654,1616,1600,1581,2320,2312,2177,2548,2377,1783,1369,1541,1774,1578,1794,1556,1138,1359,1526,1798,2338,2042,2320,2814,1963,1529,1462,1331,1484,1583,1558,2039,1970,1768,1619,1544,1494,1394,1367,1462,1609,1593,1665,1884,1703,1911,1831,1878,2061,2053,1910,1707,1562,1679,1847,1925,1729,1659,1582,1451,1812,2837,2930,2494,2497,2501,2824,3105,2511,936,1701,2268,2609,2428,2072,1939,1902,2098,2074,2078,2979,3698,3124,2783,2240,1924,2286,2635,2166,1974,2031,2134,2011,1854,1885,2197,2728,2697,1880,2038,2517,3221,2758,2342,2603,2258,2344,3267,2974,2363,2837,2740,2863,2376,2228,2510,2501,2640,2966,2964,2455,2341,2402,2228,2600,2952,2620,3034,2286,2019,2096,2051,2155,2155,2081,2381,2460,2213,2579,2769,2699,2719,2644,2314,2104,2082,2521,2481,2129,2214,2576,2657,2395,2424,2633,2536,2226,2489,2741,2611,2195,2029,2326,2903,2692,2321,1867,2152,2947,2851,2973,3296,3684,3790,3567,2957,2239,2434,2732,2621,2677,2888,3344,2743,2347,2424,3196,3046,2964,3190,3421,3096,2795,2699,2648,3063,2945,2879,3270,3230,3749,3917,3185,2780,2533,2434,2114,1536,2025,2586,3022,3344,3594,3885,3939,3692,3498,3627,3408,3106,2635,2420,2280,2532,3140,3696,3977,3815,3604,3584,3289,3405,3429,2789,2072,1692,1911,2964,3084,2787,3099,3143,2762,2923,3373,3641,3299,3190,3105,2668,2467,2542,2453,2378,2816,2714,2139,2154,2432,2503,2374,2281,2403,2459,2439,2315,2169,2126,2393,2702,2667,2695,2869],[3484,2630,2386,3008,3400,3198,2521,2542,3029,2316,2442,2544,2288,2047,2166,2283,2084,1871,2092,2513,2364,2192,2264,2099,2121,2137,2002,1861,1890,2061,1974,1938,1843,2053,3059,3253,3232,3178,2706,3304,2656,2034,2277,2387,2478,2273,1988,2048,2060,1644,1728,1991,2634,3052,3090,2864,2864,2785,2784,2521,2592,2317,2116,1693,1572,1921,2002,2813,2430,2323,2062,1908,1954,1749,1732,1665,1508,1489,1495,1460,1363,1483,1506,1613,2045,1761,1829,2426,2342,2020,1993,1684,1610,1869,1775,1624,1852,2407,2061,1614,1457,1716,2350,2632,2261,2041,2032,1555,1569,1823,2037,1837,1675,1355,1600,2375,2366,1787,1632,1597,1447,1538,1703,1201,915,1534,2038,2021,2145,1861,1620,2010,2282,1678,1384,1628,1880,2003,1647,1525,1443,1689,1498,1376,1628,1711,1483,1414,1783,1546,1411,1450,1216,1317,1420,1616,1597,1942,2142,1989,1865,1770,1876,2254,2115,1932,2004,2527,3330,3672,2891,2307,2132,2217,2267,2021,2399,2513,1814,1876,2241,1991,1988,2103,2182,2718,3151,3140,3029,2706,2255,2286,2936,2963,2132,2097,2657,2828,2321,1578,2189,2742,2635,2234,1667,1649,1631,1668,1466,1555,2032,2688,2316,1854,2047,1774,1872,2193,2105,2204,2199,2003,2145,1777,1950,2520,2091,2473,3492,3835,3942,3320,2128,2076,2818,3338,3486,3206,2654,2683,2975,2920,3204,3189,3400,3794,3698,4065,4144,3199,2620,2463,2750,2743,2062,1997,2017,2160,2627,2166,2205,2231,1834,1989,1907,1609,2042,1763,1802,2198,2644,2392,2459,2929,3143,3184,2963,2939,2868,2613,2430,2343,2271,2242,1571,2436,2956,2724,2664,2707,2287,1615,1601,1589,1781,2568,3082,2677,2685,2377,2402,2671,2258,1886,1630,1692,1767,1835,2218,2061,2411,2280,2418,2525,2005,1878,2170,2676,3226,3491,3172,3227,3507,2884,2525,3308,3750,3451,3469,3377,3362,2711,1523,1433,1794,1825,1716,1603,1439,1654,2052,2172,1924,1872,1933,2111,2216,2095,1800,1603,1842,1631,1770,1681,1559,1495,1369,1566,1618,1645,1678,1560,1728,1832,2390,3124,2946,1993,1580,1530,1498,1370,1462,1543,2068,2626,2533,2226,1719,1830,1775,1624,1585,1926,2232,2792,2588,2576,2962,2706,2978,3250,3137,3567,3761,3119,2577,1891,1800,2242,2279,2471,2453,2372,2770,3124,3018,2828,1982,2017,2210,1907,1974,2072,2035,2684,3488,3356,2843,2551,2812,2420,2342,2287,2328,2227,2026,2344,2466,1759,1872,1760,1573,2000,1526,1562,1299,1731,1748,1557,1583,1593,1758,1848,1639,1616,1819,1662,1521,1376,1460,1447,1490,1457,1332,1417,1485,1535,1604,1675,1492,1495,1793,1952,1475,1505,1888,2224,1862,1606,1462,1310,1350,1891,2489,2389,1757,1550,1524,1638,1561,1332,1427,1453,1666,1892,2028,2476,2356,2018,1560,1450,1422,1461,1874,1749,2077,2211,1827,1673,1548,2066,2244,1745,1885,1850,1850,2022,2114,1984,1860,1915,1737,2008,2406,1898,2008,2482,3179,3104,3509,3465,3500,3069,2482,2175,2213,1852,1723,2036,1684,1429,1523,1848,1820,1470,1334,1763,1599,1416,1417,1823,2644,2320,2547,2814,2470,2366,2612,2692,2938,2510,3098,2351,1538,1544,1472,1539,1734,1628,1838,1686,2078,1903,1895,1689,1846,1896,1846,1855,1723,1706,1864,1709,1550,2249,2264,1818,1710,1460,1433,1349,1432,1579,1542,1638,2223,2592,2460,2322,2275,1808,1568,1437,1474,1393,1541,1547,1462,1529,1707,1853,1823,1525,1610,1750,1830,1709,1636,1668,1785,1848,1592,1565,1779,1826,1670,1675,2431,2565,1828,1714,2577,3363,3053,1954,1562,1629,1529,1643,2161,2638,3475,4061,4084,4316,4324,4343,4140,3824,4109,3510,2458,2911,2692,2675,3018,3154,3350,3429,3741,3962,4060,3812,3667,3422,3306,4155,4444,4260,3935,3719,4034,4265,4156,3636,3147,2619,2140,2073,2031,1979,2322,2764,2730,3074,3288,2708,1982,1635,1531,1638,1666,1621,1483,1478,1560,1693,1517,1925,2470,3042,3264,2406,1920,1809,1914,2124,1759,1570,1400,1409,1457,1423,1509,1670,1715,1778,1828,1689,1721,2215,2841,2588,2001,1728,1546,1462,1551,1538,1799,1936,1796,1831,1656,1551,1563,1483,1681,1726,1753,1732,1958,2355,2134,2119,2454,2168,2011,2215,2121,1970,2094,2007,2633,3042,2098,1511,1610,1603,1716,1708,1609,1449,1329,1411,1550,1506,1293,1385,1442,1521,1626,1574,1478,1552,1718,2395,2871,2719,2811,2144,1735,1710,1735,2070,2432,2707,2554,2317,1786,1738,1947,1699,1626,2160,2081,1503,1446,1465,1729,1737,1540,1422,1429,1707,1874,1776,1516,1345,1517,1682,1751,1390,1418,1671,1650,1641,1741,1977,2042,2395,2877,2643,2400,2002,2018,1853,1594,1559,1560,1415,1399,1424,1317,1236,1352,1609,1807,1919,2690,2561,1995,2252,2476,2056,2112,1936,1716,1659,1610,1916,2082,2292,2160,1616,1723,1969,1963,1716,1405,1472,1751,1701,1428,1392,1365,1392,1622,1969,1824,1534,1489,1660,1689,1487,1406,1622,2180,2357,2062,1619,1561,1671,2018,2656,2893,2664,2191,2113,1887,1442,1483,1414,1472,1897,2321,2143,1720,1550,1880,2153,2302,2219,1753,1510,1472,1610,2132,2209,1883,1878,1990,2328,2110,1627,1531,1539,1405,1509,1582,1364,1266,1343,2170,2092,1717,1452,1433,1321,1319,1460,1396,1271,1346,1356,1180,1338,1259,1748,2230,2142,1999,1560,1879,2460,2242,2396,2580,2150,1955,1695,1960,2358,2333,1724,1516,1705,2202,2852,2934,2517,2776,2939,2238,1879,1836,1838,2262,2301,2326,2450,2203,2328,2232,2177,2306,2362,2564,2389,1762,1726,1876,1827,1669,1575,1676,1964,2125,2250,2124,1886,1858,2211,2700,3251,3329,2668,2391,2145,2260,2170,1908,2308,3112,3631,3416,3428,3189,3735,3555,2461,3079,2511,2502,2391,2427,2376,1558,1014,1519,2106,1833,2102,2336,2271,2371,2417,2210,2158,2421,2029,1998,1990,1986,1962,1623,1861,1804,1674,1104,795,715,741,797,770,623,480,390,433,533,719,1016,1185,1211,1570,1844,2072,1873,1724,2372,2359,2331,2563,2376,2175,2169,3283,3541,3089,2910,3132,2788,2356,2283,2407,2524,2522,2220,2944,3173,3105,2923,2708,2854,2687,3103,3421,3098,2822,2746,2542,2556,2633,2998,2230,1804,1975,1982,1625,1716,1898,1795,1714,2015,2256,2130,2004,1812,2033,2894,2177,2598,2552,2396,2246,2188,2420,2752,3120,2880,2315,2199,1724,2308,2099,2114,2122,2023,2126,2109,2062,1793,1770,1992,1927,2412,2388,2256,2243,2258,2542,2762,2607,2396,2584,2854,2790,2556,1468,1216,1884,2409,3028,2758,2397,2138,2287,2491,2340,3208,3820,3252,3125,2834,3156,2520,2614,2499,2385,2386,2551,2780,2878,2645,2391,2428,2284,2916,1990,1468,1687,1765,1621,1824,2003,2360,2423,2481,2835,2766,2351,1929,2320,1993,1490,1614,1912,1719,1952,2177,2133,2254,2444,2230,1913,1551,1826,1914,1835,2242,2282,1807,1821,1913,1899,1603,1576,1700,1989,2001,1597,1385,1534,1444,1416,1550,1571,1513,1811,1875,1377,1466,1541,1430,1631,1872,1964,1792,1985,2176,1969,2198,2014,1750,1544,1540,1810,2060,1926,2547,2189,1730,1846,1886,1763,1763,1836,1714,1584,1516,1568,1960,2427,2300,2574,2968,3001,3016,3043,3027,2792,2352,2192,2282,2938,3059,2486,2165,2531,3005,2423,2858,3332,2820,2739,2977,3088,2458,2039,3218,3220,2554,1927,1486,1683,1996,2067,2024,1591,1406,1951,2443,2653,2631,2481,1870,1715,1940,1866,1896,1644,1266,1207,1256,1384,1592,1814,2053,2612,2756,2731,3209,3492,3559,3295,3093,2667,1787,1304,1194,1273,1494,1404,1330,1223,1215,1308,1883,2178,2116,2023,2196,2699,3251,3713,3435,2901,2919,2470,2155,1743,1411,1630,1742,1648,1696,1865,2765,3196,3272,3377,3474,3497,3739,3602,3382,3317,3391,3552,3540,3269,3230,3380,3795,3707,3776,3946,4047,4312,3948,3671,3764,3550,3053,2907,2937,2985,2553,1841,1600,1288,1242,1227,1347,1434,1360,1605,1967,1668,1630,1546,1591,1351,1257,1251,1338,1387,1606,1876,1777,1606,1390,1335,1386,1553,1791,1568,1466,1459,1478,1386,1342,1737,2052,1968,1732,2171,2410,2551,2496,1645,1674,1560,1755,1699,2186,2423,2019,1741,1999,1919,1574,1336,1606,1483,1415,1683,1694,1643,1661,1522,1683,1697,1962,2335,2062,1723,1442,1366,1428,1445,1780,1817,1578,1483,1594,1982,2233,1758,1875,2221,1798,1628,1534,1642,1714,1793,1527,1742,1928,1709,1401,1380,1485,1356,1391,1365,1415,1648,1912,2269,1881,1771,1772,2200,2610,2276,1743,1535,1484,1814,1952,1681,1538,1572,1566,1456,1704,2589,2774,2370,2474,2651,2972,2929,2280,762,1482,2259,2566,2435,2197,2032,1770,1770,2169,3011,3703,3622,2702,2039,1869,1845,2233,2287,2131,1947,1978,1969,1838,2030,1905,2204,2789,2568,2058,2832,2776,2798,2364,2590,2954,2112,1653,2401,2542,2483,2580,2304,2437,2805,2966,3095,3017,2766,2611,2499,2137,2100,2253,2150,2522,2854,2648,2492,2110,2020,2030,2004,1944,1819,1790,1820,1922,2141,2415,2649,2664,2673,2396,2002,1755,1654,1695,1794,1870,2121,2449,2216,2210,2674,2840,2109,2320,3382,3039,1677,1560,1865,2434,2706,1855,1867,2051,2465,2762,2727,2451,2491,2998,3460,3184,2028,1719,2241,2518,3008,3015,3076,2993,2375,2434,2688,2983,2866,2700,2921,3320,2994,2758,2282,2229,2555,2336,2563,3223,3305,3740,3916,3232,2858,2830,2857,2524,1492,1982,3389,3620,3447,3492,3736,3727,3479,3616,3518,2899,2406,2380,2446,2193,2808,3066,3881,4112,3880,3772,3714,3448,3405,3387,2784,2098,1862,1748,2525,2871,2753,3024,3300,3002,2965,3003,3156,3138,3044,2640,2596,2758,2645,2391,2203,2484,2753,2004,1934,1939,1876,2212,2460,2547,2643,2652,2836,2944,2712,2968,3437,3232,3115,3272],[3769,3385,3111,3239,3160,3046,2568,2909,2906,2452,2622,2532,2032,2026,2429,2662,2509,2010,1836,2352,2344,2265,2288,2396,2863,2668,2210,2111,2306,2316,1792,1601,1716,1948,3119,3445,3212,3045,2981,2652,2312,2843,3235,3144,2863,2860,2361,1993,1967,1852,1919,2550,3118,3419,3657,3851,3388,3122,2908,2711,2858,2447,2294,2103,1951,2200,2242,2836,2858,2336,1663,1583,1815,2215,2633,2096,2054,1707,1455,1447,1440,1607,1653,1672,1893,1793,1786,2249,2298,1867,1628,1635,2031,2415,1826,1413,1492,2137,2367,1869,1866,2584,3034,2975,2552,2066,1962,1610,1564,2013,2186,2328,2405,2045,2277,2733,2120,1586,1514,1431,1485,1593,1693,1481,1290,1727,1887,1872,2007,1976,2282,2287,1916,1627,1320,1511,1479,1529,1624,1553,1571,1807,1581,1417,1288,1234,1225,1365,1731,1442,1324,1432,1436,1665,1723,1647,1562,1677,1996,1943,1855,1762,1915,2014,1749,1770,1904,1824,2187,2216,1749,1691,1618,1767,2228,2283,2698,2664,2222,2313,2125,1548,1763,2526,2710,2857,3025,2784,2291,1948,2239,2231,2242,2282,1876,1938,2609,2785,2182,1694,2195,2626,2490,2237,1787,1516,1499,1545,1488,1711,1870,2496,2009,1413,1657,1915,2098,2207,2189,2196,1824,2060,2024,1780,1942,2440,2527,3161,3742,3705,3895,3106,1868,2259,2705,3173,3864,3621,2764,2612,2868,3355,3543,3078,3152,3374,3727,4004,3717,2687,2204,2212,2270,2013,1636,2012,2018,2010,2080,1993,2406,2328,1767,1821,1832,1277,1320,1399,1980,2829,2576,2164,2636,2829,3087,3248,3188,3097,3006,2899,2548,1909,1764,1804,1245,2055,2944,2900,2935,2806,2515,1897,1893,1718,1393,1369,1485,1490,2106,2708,2688,1991,1861,1923,1910,1926,1885,1830,2097,1980,2325,2356,2416,2175,1749,1836,2228,2328,2938,2853,2019,2912,2861,2376,2762,3467,3671,3646,3252,2872,2877,2246,1409,1369,1786,1813,1748,1788,1588,1609,2043,2009,2237,2361,1669,1734,1947,1746,1493,1510,1587,1574,1723,1687,2105,2118,1997,2632,2209,1664,1814,2065,2164,1858,2039,2602,2688,1891,1583,1982,1940,1813,1667,1586,1942,2307,2109,1921,1449,1809,1997,1854,1650,2051,2299,2085,2091,2546,2923,2204,2731,2782,2750,3195,3216,2689,2586,2222,2260,2321,2330,2645,2306,1962,2130,2198,2269,2744,2439,2367,2018,2120,2219,1680,1815,2764,3350,3149,2853,2436,2219,2230,2235,2712,2286,1865,1804,2017,2317,2187,2062,1808,1622,2154,1958,1936,1553,1834,1757,1707,1730,1591,1782,1786,1586,1464,1721,1655,1619,1483,1597,1642,1670,1492,1377,1403,1386,1846,2360,2559,1893,1782,1839,1975,1841,1601,1629,1979,1876,1634,1664,1537,1460,1944,2605,2613,2021,1563,1405,1458,1412,1499,1475,1378,1454,1433,1607,2055,2062,2158,1775,1684,1660,1610,1735,1692,2131,2383,1809,1544,1600,1571,1819,2013,2544,2576,2231,2055,2006,1763,1841,2150,1736,2037,3200,2095,2070,2627,3286,3080,3292,3515,3483,3010,2219,1879,2115,1705,1644,2088,1666,1683,1786,1944,1753,1480,1383,1598,1510,1505,1579,2211,3043,2626,2874,2735,2623,2884,2513,2427,2689,3189,3313,2135,1524,1402,1394,1874,2294,1866,1591,1591,1792,2311,2510,2076,1731,1770,1989,1939,1865,1710,2191,2072,1589,2175,2332,2110,1663,1322,1337,1277,1338,1484,1470,1518,2213,2802,2465,2232,2124,1808,1620,1637,1581,1563,1563,1539,1534,1555,1698,1708,1274,1148,1637,1825,1740,1598,1797,1816,1523,1719,1866,1506,1732,2000,1799,1694,1776,1679,1469,1560,2321,3163,2999,2125,1735,1964,1929,2244,3174,3812,4207,4275,4706,4709,4565,4673,4504,4332,4433,3970,2149,2197,2806,3061,3165,3442,3774,3858,3818,3962,4194,4448,4445,3720,3353,4003,4212,4092,3918,3925,4119,4307,4220,3516,2688,2500,2075,2061,1898,2185,2377,2619,2130,2165,2969,2931,2117,1818,1910,1603,2073,2405,1736,1902,1808,1643,1549,1840,1961,2279,2832,2658,2025,1607,1606,1979,1659,1678,1444,1464,1521,1557,1717,1738,1674,1690,1563,1620,2005,2984,3455,3246,2409,1564,1440,1416,1824,1939,1659,1702,1744,1829,1783,1403,1353,1476,1531,1558,1676,1566,2063,2606,1953,1771,2303,2188,2100,2081,2072,1803,1883,1929,2210,1741,1549,1714,1681,1765,1907,1860,1503,1390,1360,1386,1514,1427,1465,1632,1512,1417,1474,1611,1712,1649,1981,2885,2674,2203,2330,1664,1884,1840,1753,2096,2630,2890,2751,2226,1670,1731,1802,1751,1817,2107,1802,1428,1391,1510,1630,1664,1893,2308,2293,2843,2333,2166,1560,1370,1509,1799,1695,1661,1655,1515,1355,1306,1504,1727,1888,2052,2195,2444,2802,1949,1792,1830,1633,1582,1470,1303,1337,1439,1435,1325,1289,1932,1952,2092,2652,2693,2309,2362,2257,2055,1917,2137,1958,1700,1835,2082,2162,2585,2398,1962,1850,1981,2143,1815,1660,2120,2157,2173,1755,1569,1621,1575,1765,1925,1871,1743,1444,1518,1824,1996,1677,1743,1678,1872,1744,1365,1600,1865,1932,2527,2758,2328,2156,1933,1760,1591,1643,1533,1440,1876,1772,1780,1487,1464,1920,2402,2552,2136,1616,1423,1460,1732,2054,1894,2117,2144,2100,2440,2515,2042,1748,1502,1265,1292,1340,1442,1399,1413,1750,1670,1586,1365,1209,1264,1468,1575,1466,1371,1534,1597,1499,1471,1384,1659,1946,2120,2051,1682,1978,2231,1886,2132,2105,1627,1507,1574,2191,3069,2999,2410,1707,1831,2677,3296,3120,2644,2496,2339,2483,2514,1950,1925,2252,2414,2311,2041,2192,2388,1860,1901,2644,2940,2879,2655,1302,865,1390,1671,1407,1126,1460,1781,1902,2181,2074,2071,1982,2185,2621,3056,3123,2596,2226,2363,2973,3046,2492,2357,2860,3495,2929,3172,3876,4229,4035,3764,3659,2846,2501,2541,2553,2300,1738,1062,1361,2031,2222,2826,3054,2517,2388,2387,2211,2201,2046,1957,2332,2174,2057,1570,1613,1720,1547,1326,1153,893,869,1144,1164,718,608,516,485,504,557,841,1085,1243,1221,1283,1474,1650,1495,1715,2233,2149,1960,2034,2039,2182,2708,3256,3185,3179,2777,2431,2621,2502,2709,2373,2720,2843,2706,3090,2263,2091,2717,3001,2537,2443,3362,3199,2529,2736,2705,2462,2677,2840,3021,2207,1721,1685,1666,1648,2035,2119,1995,2142,2217,2003,2336,3463,3161,2840,2571,2161,2347,2560,2670,2313,2181,2335,2633,3153,2908,2489,2143,1926,2562,2001,1993,2095,1698,1765,1710,1832,1710,1766,1908,2007,2472,2215,2222,2290,2293,2799,2889,2413,2620,2907,3348,3055,2424,1213,1326,2190,2511,2755,2423,2112,2234,2217,2197,3142,4025,3816,3252,3190,2706,2579,2486,2940,2935,2853,2974,3068,2640,1954,1961,2133,2267,2537,2630,1880,1410,1450,1391,1817,2251,1756,1720,2162,2767,2853,3510,3121,2184,2102,1799,1641,1902,1735,2071,2906,2786,2646,2639,2775,2479,1880,2075,2076,1748,1828,2047,1820,2186,2581,2089,2110,1804,2217,2598,2835,2646,1720,1368,1604,1521,1421,1537,1404,1282,1903,1815,1510,1582,1651,1787,1728,1776,2081,1819,1802,1752,1990,2150,1423,1591,1648,1853,1753,1805,1679,1810,2022,1865,1720,1842,1968,1720,1764,2371,2436,1973,1759,2018,2447,2018,2148,2678,2712,2701,2613,2447,2330,2541,2909,2460,2729,3022,2402,1831,2348,2986,2487,2164,2552,2521,2407,2445,2533,2338,2208,3065,3327,3177,2421,2138,2536,2431,2052,1591,1548,2270,2513,2482,2584,2688,2275,1675,2059,2154,1987,1986,1888,1520,1477,1579,1831,1804,2090,2706,2954,2973,3008,3238,3453,3442,3210,3120,2757,1918,1462,1316,1253,1411,1462,1330,1465,1899,2116,1952,1853,1854,1920,1918,2052,2622,2741,2873,2895,2624,1955,1740,1665,1665,1906,1881,1774,1783,1602,2722,3226,3156,3179,3250,3332,3484,3598,3591,3454,3394,3513,3660,3426,3083,3174,3770,3937,4177,3948,3830,4067,3917,3655,3628,3448,3125,2990,2985,2907,2195,1576,1317,1184,1256,1322,1260,1383,1581,1887,1704,1340,2174,2160,1565,1287,1219,1314,1378,1542,1850,1729,1507,1403,1239,1482,1445,1314,1648,1751,1729,1596,1465,1189,936,1471,2041,1699,1620,2040,2046,2333,1917,1517,1571,1786,1875,1725,1955,2087,1843,1689,1776,1655,1573,1536,1725,1473,1448,1517,1586,1709,1745,1383,1283,1360,1540,1542,1429,1464,1538,1547,1481,1417,1497,1768,1857,1784,1876,2107,2013,1739,1700,1781,1586,1539,1563,1738,1773,1577,1461,1593,1575,1437,1407,1412,1408,1282,1384,1476,1710,1934,2056,2243,2242,1985,1690,2366,3020,2526,1862,1750,1652,1643,1699,1699,1666,2166,2122,1651,2725,3277,2978,2698,2445,2562,2945,3175,2612,2028,2714,3284,3161,2691,2336,1854,1725,1766,2002,2985,3309,3030,2588,2121,1723,1745,1921,2035,2386,2010,1817,1903,1885,2135,2162,2359,2921,2920,3139,2856,2179,2020,2163,2287,2527,2233,1653,1613,1851,1923,1855,1835,2212,2851,3085,2507,1923,1727,1771,1827,1692,2069,2274,2692,2736,2552,2678,2566,2159,2026,1871,1826,1811,1751,1787,1742,2005,2145,2086,2359,2636,2873,2663,2120,1670,1626,1855,1753,1815,1882,1765,1684,2188,2451,2500,1724,1451,2667,2921,1887,1743,1942,1711,1621,1666,2208,2425,2588,2689,2789,2368,1765,1897,2519,2460,1902,2153,2585,2987,3682,3755,3448,2921,2833,2951,2898,2855,2721,2786,2621,3213,3632,3039,2280,2139,2356,2426,2965,3432,3137,3355,3748,3285,2901,3133,2941,2908,2078,2050,3255,3496,3252,3061,3255,3388,3290,3343,3149,2911,2467,2361,2583,2710,2725,2647,3589,4232,4232,3932,3551,3428,3265,3217,2689,2014,1847,1824,2470,2893,2735,3100,3318,2961,2931,2794,3075,3178,3079,2899,2680,2770,2973,2802,2500,2597,2441,1961,2283,2454,2444,2634,2826,2967,3110,3140,3303,3366,3206,3134,3553,3404,3295,3473],[4033,3658,3225,2894,3074,2785,2587,2374,2455,2685,2757,2483,2106,2351,2499,2499,2030,1697,1920,2776,3593,3945,3768,3427,3239,2569,2347,2997,3143,2835,2110,1936,2249,2344,2693,2958,2951,3060,2629,2058,2573,2808,2756,2580,2610,2833,2248,1888,1930,2014,2496,3411,3698,3604,3738,3752,3431,3291,3121,2727,2728,2866,2814,2364,2545,2447,2706,3179,2764,1858,1610,1723,2061,2476,2986,2509,2461,2078,1594,1431,1318,1551,1709,1602,2048,2309,1913,1771,2099,1862,1466,1428,1634,2128,1932,1951,1849,1907,2329,2100,1937,2091,2829,3124,3001,2363,2048,1865,1803,2043,1988,1986,2510,2510,2418,2145,1882,1964,1834,1567,1374,1596,1816,1944,1885,1723,1641,1974,2220,1988,2474,2564,2182,2083,1624,1411,1378,1290,1516,1511,1668,2025,1733,1453,1566,1560,1454,1460,1387,1445,1360,1559,1788,1706,1506,1473,1513,1636,1790,1747,2009,1959,1868,1853,1793,1944,1854,1697,1741,1556,1516,1745,1522,1706,1835,2273,2092,1950,2016,1985,1686,1555,1868,2294,2352,2679,2849,2404,2534,2791,2792,1897,1801,1668,1672,2088,2169,1934,2142,2004,1906,2235,2298,1909,1860,1611,1642,1735,1590,1636,1970,2291,2367,2330,2619,2576,2336,2463,2069,1843,1806,1898,1814,1796,1710,2302,3162,3660,3849,4021,4043,2744,2286,2928,3175,2957,3351,3338,2667,2476,2756,3279,3428,3064,2995,2919,3020,3376,2880,2333,2178,2012,1769,1552,1540,1739,1949,2204,2248,2127,2230,2241,1840,1841,1684,1283,1183,1383,2192,3041,2831,2919,3371,2953,2929,3242,3008,3152,3068,2980,2713,1960,1737,1648,1236,2150,2851,2834,2997,2837,2684,2272,2264,2176,2002,1826,1713,1614,2040,2569,2711,2278,2136,2083,2044,1715,1582,1542,1802,1950,2193,2193,2112,2097,1686,1777,2125,1940,2965,2526,2038,2784,2740,2675,2881,3011,3146,3071,3343,3466,3444,2818,1730,1512,1798,1851,1921,1759,1629,1480,1481,1800,1877,1547,1508,1553,1658,1657,1480,1570,1556,1547,1699,1864,2344,2316,2095,2579,2138,1701,1978,2825,2806,2188,2172,2240,2123,2075,2523,2602,2248,2038,1378,1576,2200,2077,1915,1714,1476,1759,2228,2148,2036,2239,2380,2531,2545,2405,2519,2073,2781,2445,2314,2874,2671,2531,2410,2066,2210,2759,3120,2720,1533,1476,1747,1787,2075,2074,2040,2319,2116,2178,2204,1559,1431,1799,2078,2188,2593,2365,1848,1759,2024,2622,2378,2094,1951,2023,1800,1687,1570,1613,1251,1228,2164,2312,1866,2125,2012,1825,1605,1499,1812,1688,1480,1403,1623,1662,1576,1435,1495,1555,1521,1481,1474,1363,1540,1624,1935,2426,1911,1989,1988,1836,1932,1645,1554,2056,1874,1791,1892,1649,1627,1900,2238,2082,1745,1412,1268,1302,1462,1629,1625,1481,1389,1359,1384,1484,1563,1754,1721,1769,1731,1713,2110,2083,1744,2125,2293,2232,2150,1959,1933,1813,2518,3138,2478,1582,1793,1589,1578,1913,1745,2018,2759,1788,2003,2544,3118,2975,3087,3781,3642,2540,1976,1481,1493,1832,1664,1739,1599,1840,2118,1953,1829,1724,1503,1471,1523,1634,1841,2142,2776,2599,2573,2539,2398,2266,2059,2101,2364,2881,2835,1918,1745,1590,1626,2236,2240,1770,1893,1778,1844,2818,3037,2228,1844,2193,2301,2067,2003,2029,2278,1980,1433,2024,2409,2286,1834,1565,1605,1524,1554,1410,1405,1366,1543,1861,1874,1927,2138,1884,1577,1614,1515,1541,1620,1806,1804,1956,1949,1847,1603,1265,1487,2127,2371,2204,2081,1918,1505,1516,1663,1558,1740,1926,1730,1617,1634,1602,1560,1622,1986,2677,2831,2374,2503,2644,2702,3049,3713,4025,3957,4152,4461,4364,4629,4613,4348,4445,4505,4197,1966,2259,3675,3774,3661,3728,3903,3858,3767,3745,3946,4342,4299,3901,3728,3702,4034,3992,4042,4152,4221,4221,3974,3316,2480,2574,2212,2116,1932,2272,2148,2143,1768,1818,2144,2007,1858,1905,1807,1629,2549,2744,2032,2197,2009,1747,1642,1798,1795,1745,2070,2375,2030,1398,1738,2008,1758,2097,1841,1710,1649,1620,1825,1716,1588,1654,1730,1870,2203,3191,3145,3083,2384,1527,1447,1416,1832,1811,1600,1696,1748,2096,2211,1602,1398,1428,1446,1493,1565,1606,1801,1948,1509,1715,2131,2092,2068,2002,1867,1915,1675,1569,1784,1724,2044,2061,1577,1683,1981,1757,1417,1339,1430,1382,1439,1320,1617,1649,1434,1471,1599,1672,1946,1741,1605,2103,2320,2257,2422,2327,2375,2272,2218,2163,2153,2512,2584,2209,1794,1860,2132,1857,1714,1634,1276,1252,1390,1387,1424,1459,1755,2127,1821,2464,1864,1780,1566,1598,1610,1547,1604,1874,1792,1491,1210,1250,1428,1751,1942,1852,2192,2498,2176,1831,2181,2071,1642,1449,1325,1188,1303,1393,1416,1279,1760,2454,2250,2032,2104,2081,2265,2373,2508,2411,2040,2111,1918,1851,1810,1904,1885,2250,2053,1592,1564,2004,2799,2678,2176,2184,1943,1918,1683,1607,1714,1830,1946,1813,1763,1666,1311,1319,1992,2523,1817,1626,1554,1639,1517,1609,1710,1732,1782,1968,1990,2125,2040,1818,1542,1493,1624,1737,1542,1506,1461,1416,1545,1693,1742,2109,2355,2143,1800,1618,1543,1590,1478,1486,1555,1594,1736,2266,2486,1838,1738,1708,1438,1360,1476,1577,1454,1431,1587,1728,1747,1547,1426,1727,1618,1554,1491,1470,1577,1471,1350,1303,1395,1646,1717,1879,2052,1678,1605,1694,1695,1417,1427,1510,1709,1837,2504,3134,3153,2436,1488,1704,1995,2199,1967,2162,2380,2311,2356,2037,1638,2199,2534,1863,1460,1726,2041,2452,2042,1991,2715,2913,2332,2441,1651,1018,1239,1407,1333,1273,1745,2062,1926,2166,2138,2637,2564,2590,2106,2329,3047,2724,2067,2279,2680,2435,2303,2562,2762,3245,3045,3062,3486,3729,3924,3782,3240,2953,2785,2141,2308,2839,2338,1505,1991,2311,2520,3060,3078,2514,2277,2254,2247,2570,2699,2414,2563,2632,2235,1901,1786,1650,1548,1246,922,835,916,1393,1327,951,907,728,718,622,538,728,1003,1171,1121,1410,1835,1752,1693,1797,2040,2304,1903,2618,2746,2512,3084,3264,2752,2797,2702,2631,2307,2366,3106,2814,2482,2551,3044,3299,2502,2491,2938,2643,2679,3276,3005,2563,2797,2998,2752,2898,3131,2897,2656,2100,1615,1614,1596,2010,2834,2425,2202,2142,1943,1691,2742,4336,4068,2850,2051,2086,2634,3010,2570,2089,2359,2750,2253,2427,2378,2542,2044,1959,2530,2203,1750,1574,1470,1632,1776,1891,1648,1524,2133,2183,1843,2136,2555,2578,2348,2663,2927,2833,2777,2733,2302,1876,1500,1086,1399,1949,2190,2340,2353,2435,2354,2205,2967,3551,3356,3038,2886,2792,2356,2118,2626,2943,2605,2281,2509,2555,2334,2284,2471,2525,2670,2942,2632,1780,1395,1421,1203,1521,2332,2047,2058,2911,3574,2453,1832,1738,1877,1814,1664,1982,1877,1776,2556,3028,3090,3495,3319,3164,2812,2943,3084,2570,1911,1504,1519,1623,2316,2156,2023,2291,2001,2298,2260,2457,2792,2065,1503,1477,1442,1522,1558,1738,1915,1798,1592,1587,1627,1655,2233,2067,1759,2049,2161,1998,1781,2819,2442,1560,1497,1881,1694,1588,1894,1611,1686,2085,1884,1703,1786,2060,1745,1737,2351,2693,2771,2257,2132,2488,2081,1885,2137,2057,1957,1927,2050,2177,2613,3252,2766,2610,2965,2587,2078,2325,2889,2590,2146,2093,2048,2332,2602,2815,2568,2658,3146,3240,2898,2466,2286,2420,1855,1475,1358,1710,2358,2612,2570,2544,2553,1935,2001,2570,2554,2162,1910,1804,1757,2121,2354,2342,2370,2555,2863,3095,3146,3294,3561,3619,3463,3129,2975,2752,2086,1440,1272,1246,1350,1486,1422,1475,2272,2659,2176,2270,2688,2262,1904,2081,2914,3160,3250,2784,2080,1731,1731,1962,2076,1982,2030,1975,1698,1390,2095,2413,2300,2276,2237,1994,2289,3275,3579,3639,3725,3619,3559,3371,3316,3442,3552,3730,3967,3847,3689,3711,3641,3330,3429,3361,3185,3030,3077,2597,1831,1620,1636,1488,1457,1561,1491,2024,1914,1797,1361,1229,2042,2520,1857,1270,1187,1259,1487,1630,1562,1377,1444,1463,1395,1471,1512,1286,1300,1621,1896,1627,1568,1395,1349,2029,2541,2031,2289,2205,2032,2370,2173,1769,1652,1880,1952,1891,1868,1938,1540,1467,1550,1623,1976,1916,1716,1483,1450,1606,1543,1665,1882,1467,1479,1366,1329,1337,1323,1464,1459,1545,1584,1505,1544,2027,2531,1860,1882,2339,1982,1835,1646,1353,1481,1635,1752,1714,1538,1416,1459,1533,1629,1360,1434,1499,1439,1403,1591,1552,2046,2281,1885,2118,2309,2143,1913,1956,2119,1981,2052,2280,2265,1850,1805,1902,1952,2290,2014,1766,3210,3598,3266,2949,2836,2897,3119,3328,3357,3116,3317,3827,3501,2351,2099,2038,2000,1748,1633,2140,2426,2394,2127,1978,1742,1795,1827,2009,2317,1815,1739,2295,2215,2555,3000,2952,2830,2833,2856,2370,2808,2394,1954,2034,1963,2128,1847,1797,2268,1928,1682,1870,1996,2480,2634,2050,2176,1454,1783,1804,1831,1823,2430,3305,3264,2710,2532,2779,2279,2116,1867,1843,1796,1804,1831,1824,1924,1971,1976,2047,2345,2487,2223,2009,1779,1627,1951,1898,2160,2364,2070,2107,2192,1820,2008,2046,1351,1370,2484,3040,2414,2321,1644,1606,1892,2397,2608,2188,2103,2799,2586,1878,2192,3077,2492,2672,3713,3521,3006,3296,3574,3224,2831,2952,2997,2665,2862,2502,2232,1578,2204,3054,3096,2984,3075,3334,3088,2811,3107,2841,2770,3385,3550,3277,3342,3119,2814,1605,1339,2665,3305,3078,2853,2872,3298,3328,3220,3120,3185,2768,2734,2965,3000,2686,2410,2832,3539,3938,3792,3309,2944,2809,2272,1912,2239,2674,2741,3348,3608,2967,3073,3011,2877,2853,2952,3123,3234,3307,2994,2474,2553,2907,2866,3062,3333,2543,2472,2909,3309,3235,3086,3142,3205,3230,3216,3287,3212,3140,3328,3709,3774,3530,2957],[3848,3597,3415,3166,3033,3085,2888,2401,2991,3500,2735,2187,2144,2481,2603,2342,1762,1673,1619,2311,3459,4182,4260,3531,2844,2667,2820,3442,3484,3193,2240,1950,2521,3139,2990,2973,3029,3032,2666,2610,2584,1970,2300,1866,1885,1831,1691,1708,2200,2184,2566,3529,3733,3390,3885,3737,3324,3482,3124,2444,2965,3296,3386,2744,2051,2182,2791,2836,2041,1670,1798,2132,1891,2036,2566,2604,2417,1871,1567,1577,1475,1670,1770,1915,2166,2084,1869,1937,2159,1650,1538,1522,1768,2271,2558,2328,1624,1770,2226,2337,1974,2031,2143,2685,3084,2454,1782,2009,2120,1880,1655,1952,2167,2115,2333,1981,2023,2237,1954,1504,1354,1831,2109,1907,1662,1738,1974,2069,1688,1862,2297,2173,1862,1931,1749,1598,1469,1481,1617,1447,1326,1741,1685,1680,1936,2002,1981,1766,1853,1882,1474,1463,1488,1402,1140,1085,1210,1600,1771,1849,2060,2264,2201,1980,1936,1897,1804,1780,1614,1447,1952,1785,1537,1692,1734,1602,1642,1722,1930,1873,1694,1736,1897,1998,2406,2808,2714,2313,2608,2373,2287,2041,2098,2081,1961,2065,1920,2073,2823,2164,1732,1814,1835,1796,1715,1555,1715,1872,1542,1749,2348,2822,2736,2485,2900,2553,2280,2776,2364,1862,1769,1796,1898,1784,1636,2062,2587,2781,3518,4398,3540,2131,2563,3374,3550,3261,3241,3340,3095,2569,2535,3244,3489,3157,2779,2364,2324,2985,2331,1950,1941,1845,1763,1830,1621,1571,1942,2433,2275,1919,1824,1949,2030,2124,1794,1744,1739,1626,2049,2919,3198,3427,3349,2946,2669,2888,3007,3143,2894,2648,2678,2556,2566,2060,1431,2720,2921,2849,3002,2811,2348,2368,2286,2609,2866,2528,1921,1558,1988,2565,2363,1819,2347,2087,1734,1982,1897,1653,1861,1895,1766,1796,1798,2035,1720,1827,2065,1897,2335,2193,2532,2973,2929,2840,2409,2448,2618,2520,3615,3959,4263,3491,2008,1801,1810,1927,2082,1873,1863,1674,1356,1988,1972,1730,1777,1835,1619,1509,1596,1629,1519,1541,1651,1873,1897,1908,1861,1699,1565,2008,2447,2678,2427,2243,2631,2633,1967,2445,2743,1922,1971,1902,1900,2549,2196,1906,2051,1929,1874,1913,1689,2078,2778,2602,3228,3708,3045,2432,2217,2000,2467,2082,2053,2487,2513,2792,2732,2415,2428,3159,3329,3111,2612,2564,2679,2530,2423,1971,1730,2201,2589,2492,1880,1555,1455,1980,2103,1993,2270,2030,1590,1543,1988,2352,2329,2055,2011,1981,1566,1537,1772,1992,1725,1267,2240,2693,1956,2090,1600,1611,1719,1581,1821,1582,1393,1433,1595,1649,1569,1438,1366,1284,1227,1394,1619,1526,1559,1498,1820,1815,1527,1914,1974,1449,1571,1833,1734,1607,1519,1625,1568,1763,1998,1993,1926,1770,1732,1559,1347,1377,1629,1540,1628,1515,1410,1410,1431,1710,1694,1553,1782,2325,2015,1625,1964,1677,2055,2811,3198,3143,2812,2847,2159,1860,2631,2818,2164,1801,2412,1599,1393,1916,2416,2182,1824,2274,2828,3103,2995,2270,2639,3617,3696,2866,2479,2001,1852,1737,1595,1661,1561,1730,2155,2159,1820,1655,1537,1474,1503,1539,1638,1799,2075,1970,2036,2083,1691,1760,2055,1908,2066,2545,2047,1744,1636,1467,1772,2049,1938,1562,1665,1669,1599,2003,2699,2520,2088,1895,2154,1957,1932,1841,1929,2105,2152,2296,2537,2379,1716,1525,1483,1502,1632,1578,1446,1349,1535,1720,1605,1628,2089,1937,1689,2001,1745,1625,1571,1714,1655,1746,1788,1942,1992,2016,2458,2527,2202,2732,2499,1749,1400,1320,1409,1481,1405,1719,1815,1649,1656,1608,1534,1524,1815,2707,3092,2978,3624,3602,3435,3516,3596,3654,3676,3848,4013,4001,4287,4348,4195,4464,4588,4079,1977,2066,3595,3918,3542,3225,3237,3160,3023,3119,3087,3152,3694,3458,3371,3377,3539,3704,3902,4027,4079,3853,3552,2889,2461,2457,2182,2035,1925,2038,1976,2168,2081,1583,1590,1531,1627,1731,1643,1511,2481,2150,1939,2471,2363,2181,2015,1633,1634,1744,1644,1732,1927,1526,1726,1967,1773,1912,1932,1782,1628,1626,1715,1759,1475,1670,1661,1968,2613,2687,2605,2890,2108,1389,1395,1560,1657,1788,2234,2092,1715,2150,2012,1672,1584,1668,1865,1893,1950,1849,1593,1608,1566,1724,1769,2000,2093,2285,1752,1724,1845,1661,1523,1583,1876,1785,1727,1702,1878,1536,1635,1644,1576,1517,1387,1411,1605,1598,1579,1367,1393,1654,1800,1641,1579,2060,1975,1949,2098,1972,1962,2093,2496,2604,2288,2115,1905,1999,1946,1816,2265,1858,1418,1412,1457,1475,1379,1323,1366,1405,1487,1457,1481,1477,1390,1451,1546,1634,1621,1602,1856,1795,1763,1570,1306,1458,1453,1495,1787,1950,1873,1787,1404,1254,1675,1739,1478,1316,1286,1156,1220,1215,1337,1609,2694,2744,2166,2366,2326,2098,1892,1912,2676,2551,1859,1515,1537,1877,1920,1854,1858,1829,1660,1527,1619,1831,2555,2488,1749,1536,1575,1713,1848,1758,1742,1798,1920,1841,1538,1534,1303,1230,1483,1890,1850,1808,1759,1643,1731,1854,1736,1794,2172,2042,1573,1871,1562,1699,1571,1632,1953,1750,1660,1897,1736,1675,1798,1672,1738,1768,1586,1650,1672,1699,1574,1631,1925,1815,1534,1472,1533,2040,2178,1556,1487,1633,1567,1540,1523,1535,1520,1527,1723,1974,2127,1713,1788,2195,1512,1393,1302,1495,1493,1364,1433,1407,1487,1624,1447,1385,1593,1596,1441,1528,1705,1805,1924,1834,1845,1911,2340,3030,3095,2113,1450,1607,1638,1698,1865,2086,2340,2408,2179,1949,2062,2297,1884,1386,1465,2057,2275,1998,2174,1937,2392,2727,2425,2596,2302,1779,1671,1678,1979,1926,1926,2210,1977,1909,2233,2835,2828,2353,1696,1814,2377,2353,2287,2535,2563,1966,2380,2745,2965,2755,2558,2978,3121,3323,3837,3676,3439,3344,2777,2114,2197,2490,2167,2047,2443,2535,2402,2644,2957,2712,2201,2223,2237,2310,2732,2707,2755,2968,2755,2239,1905,1679,1539,1273,873,874,1076,1686,1618,1958,1818,1515,1399,1116,756,718,1165,1641,1728,1855,1796,1700,1771,2016,2437,2850,2932,3397,3072,2839,3395,3333,3132,3209,2623,2263,2247,2480,2796,2883,2673,2608,2629,2789,2859,2960,2711,2680,3939,3861,2312,2281,3009,3222,2589,2524,2633,2522,2579,2199,1707,1583,1580,2415,2974,2358,2237,2009,1968,1949,2904,3764,3361,2665,2162,2544,2830,2377,1920,2104,2244,2089,2346,2200,1992,2162,1787,2168,3267,3450,2481,1835,1601,1455,1841,1680,1654,1431,2063,2409,2492,2775,2702,2798,2517,2798,3526,3333,2862,2949,1991,1137,1145,1246,1348,1424,1597,2028,2665,2501,2147,3010,2573,2009,1957,2067,2412,2737,2474,2477,2796,2269,1920,1814,2624,3096,3079,3113,3046,2906,3043,3022,2401,1918,1828,1506,1544,1563,1967,2086,2282,2669,2780,2010,1422,1508,2056,2311,2215,2249,1954,2075,3033,2958,3220,3526,2991,3013,2924,3013,3278,2767,2072,1789,1920,1717,2019,1779,2235,2263,2017,2380,2435,2744,2853,1984,1554,1484,1467,1409,1382,1555,1648,1536,1681,2025,1943,1621,2098,2086,1726,2046,2293,1867,1720,2154,1986,1608,1436,1618,1457,1824,2096,1579,1525,1888,1892,1700,1626,1924,1604,1536,2329,2704,2847,2439,2128,2329,1948,1605,2033,2207,2418,2504,2586,2459,2616,3268,3076,2727,2997,2790,2366,2361,2854,2603,2058,1945,1731,2204,2522,2691,2464,2238,2598,3061,3168,2776,2029,2027,1636,1623,1676,1655,2039,2511,2603,2422,1990,1827,2481,2573,2602,2110,2397,2260,2129,2445,2728,2897,2962,2985,3039,3004,2999,3009,3108,3148,2994,2918,3122,2555,1701,1453,1309,1231,1214,1290,1338,1248,1490,1450,1786,2315,2830,2667,2396,2270,2527,2540,2344,2187,1904,1635,1704,1924,1963,1666,1614,1499,1490,1449,1506,1752,1642,1417,1577,1581,2118,2896,2975,2821,2770,2867,2702,2418,2229,2199,2351,2545,2828,2651,2713,2681,2599,2695,3178,3183,3045,3221,3101,2277,1749,1835,1824,1662,1821,2116,1739,1733,1568,1554,1376,1408,1813,2230,1938,1442,1275,1331,1445,1404,1294,1369,1521,1607,1499,1466,1485,1345,1128,1282,1600,1605,1560,1353,1592,1975,2114,2226,2446,2530,2714,2275,1846,1785,1646,1702,2010,1852,1686,1641,1605,1514,1423,1565,2151,2052,1725,1621,1674,2021,1914,1543,1704,1890,1866,1570,1629,1512,1304,1366,1412,1456,1618,1742,1632,1819,2356,1889,1990,2438,2441,2306,1739,1929,2468,2123,1875,1698,1528,1478,1451,1490,1596,1453,1450,1411,1451,1428,1660,1754,1880,2113,1622,1803,1913,2083,2399,1990,1770,2243,2317,2211,2045,1912,1859,1758,1940,1968,1786,2431,3703,3893,3554,2975,2593,2732,2978,3248,3285,2376,2386,2883,2325,1967,2390,2953,2438,1770,1512,1810,2504,2243,1812,1826,1688,1959,1926,1897,2495,2305,2179,2899,2244,2475,3209,3309,2913,2669,2763,3028,3718,3193,2157,1892,2091,2341,2286,2346,2167,1945,1698,1709,1587,1971,2151,2143,2898,2495,2710,2636,2500,2464,3000,3432,3435,3009,2514,2735,2186,1930,1809,1824,1878,1952,1968,2002,1911,1924,2059,1873,1461,1636,1815,1670,1652,1659,1860,1870,1948,2222,2288,2302,2035,2281,2557,2653,2215,1432,1910,2143,2138,1930,1554,1683,2097,2657,2808,2377,2302,2966,2394,2158,2190,2230,2526,3115,3762,3121,2470,2827,2983,2730,2833,2667,2758,2796,2723,2282,2033,1783,2500,2752,2785,3312,3363,3638,3360,2650,2815,3319,3229,3549,3564,3350,3185,3230,2792,1843,1595,2338,3119,2869,2592,3085,3581,3694,3684,3577,3427,3010,3063,3025,3041,2987,2552,2408,2840,3460,3605,2797,2340,2243,1807,1771,2438,3724,3355,3531,3522,2665,2800,2976,2996,3210,3169,3165,3326,3288,2950,2522,2578,2911,2990,3209,3294,2838,2841,2981,3030,3163,3331,3161,3008,3031,3030,3127,3103,3083,3384,3616,3552,3444,2872],[3772,3329,3226,3193,3305,3519,3247,3162,3391,3095,2386,1880,2462,2404,2852,2454,1956,2041,1885,2217,2741,3261,3730,3269,2333,2625,2610,2479,2850,3108,2421,2063,2642,3108,3120,3232,3142,2930,2735,2505,2153,2174,2252,1989,1760,1610,1527,1578,1989,1896,1567,2275,2900,2872,3979,3558,3030,2939,2764,2522,2998,3222,2696,2517,2315,1981,2496,2482,1859,1629,1631,1885,1940,2039,2564,2491,1976,1713,1885,2050,1693,1521,1625,1836,1764,1866,2076,1877,2116,2079,1752,1707,1928,2317,2604,2373,2010,1625,1854,1968,2115,1918,1494,1896,2485,2250,1808,2010,1996,1882,1762,2027,1770,1913,2167,1870,1686,1781,1626,1407,1771,2034,1794,1764,2018,2336,2388,1760,1493,1894,2328,1807,1648,1678,1487,1618,1655,1984,1892,1621,1512,2011,2028,1917,2115,2037,2208,2699,2700,1975,1290,1412,1547,1527,1014,1192,1343,1802,2059,2179,2127,2036,1944,2115,2150,1850,1767,1679,1808,2277,2340,1742,1452,1512,1548,1486,1480,1606,1990,1823,1738,1719,1624,1890,1946,2335,2630,2665,2593,2099,1896,1924,1849,1521,1492,1884,1764,2147,2909,2349,2020,1766,1730,1756,1731,1744,1935,1976,1857,2342,2565,3084,2478,2467,2362,2207,2323,2567,2696,2651,2623,2640,2376,2170,2094,2128,2070,2209,2632,3112,1998,1675,2451,3013,3544,3720,3465,3319,3387,2963,2687,3206,3142,2894,2689,2634,2873,2790,2449,2354,2159,2226,2155,2286,1960,1797,2004,2482,2253,1852,1845,1986,2207,2096,1761,1697,1728,1598,1863,2700,3250,3166,3008,2933,2953,3163,3076,2790,2698,2531,2732,2765,2208,1610,1562,2734,2916,2955,3041,2519,1705,1771,2048,2358,2714,2932,1951,1433,1698,2291,1786,1576,1982,1698,1559,1686,1560,1575,1596,1641,1908,1798,1838,1898,2110,2162,2295,2401,2618,2836,2898,2681,2238,2294,2409,2697,2710,2863,3672,3881,3998,3253,1941,1448,1366,1898,2798,2911,2910,2559,1770,1870,1728,1822,1926,1814,1515,1429,1618,1610,1509,1547,1548,1727,1592,1828,1768,1686,1820,2622,2720,2071,2046,1908,1939,1823,1881,2533,2243,1800,2063,2088,2370,2573,2389,2330,2120,2003,2229,2291,1812,2072,2850,3515,4066,3907,3251,2542,2078,1930,2164,2266,2164,2198,2191,2430,2730,2842,2701,2947,2887,2994,2741,2600,2656,2435,2155,2040,1827,1948,2470,2548,1750,1583,1532,1868,1914,1864,2125,2076,1571,1858,1933,1927,2012,2100,2370,2414,2087,1919,1619,1924,2404,2313,2837,2701,1681,1626,1584,1905,1805,1735,1771,1515,1498,1596,1538,1560,1832,1719,1705,1620,1859,1653,1604,1678,1564,1493,1598,1585,1472,1781,1746,1488,1560,1700,1439,1576,1681,1499,1387,1936,1921,1614,1654,1577,1494,1429,1374,1301,1312,1436,1499,1495,1414,1265,1494,1681,1608,1469,1852,2735,2387,1984,1607,1621,2674,3477,3250,2812,3020,2922,2019,1860,2336,2486,2190,2127,2322,2106,1828,1606,1590,1548,1772,2414,2754,3366,3076,2077,2751,3690,3682,3096,2829,2802,2642,2059,1692,1637,1516,1761,2480,2749,2271,1770,1936,1664,1504,1530,1466,1464,1730,1730,1874,2193,1982,2091,2324,2105,2373,2477,1761,1719,1718,1421,1550,1565,1439,1393,1370,1426,1540,1475,2130,2977,2518,1713,1497,1501,1561,1731,2102,2545,2788,2194,1858,1939,1669,1549,1510,1400,1428,1651,1520,1341,1432,1680,1764,1898,2115,2031,1563,1897,1611,1460,1439,1498,1570,1542,1522,1807,2221,2610,2679,2185,2344,2975,2244,1556,1352,1370,1558,1428,1448,1720,1613,1997,2269,1864,1549,1819,2248,3085,3352,3529,3893,3746,3540,3459,3454,3661,3820,3640,3540,3763,4072,4311,4416,4535,4507,3951,2145,1775,3319,3316,3183,3328,2624,2297,2349,2743,2800,3005,3342,3219,3034,3082,3072,3141,3619,4135,4140,3909,3793,3044,2809,2601,2220,2017,2002,2309,2290,2439,2514,2191,1788,1889,1762,1786,1607,1552,2264,1893,1547,1744,1721,1926,2057,1710,1633,1471,1464,1861,2181,1741,1499,1709,1706,1561,1622,1587,1621,1617,1730,2047,1802,1774,1611,1920,2148,1810,1597,1735,1660,1482,1572,1874,1959,2192,2104,1709,1593,1816,1648,1786,1733,1698,1960,1912,1756,1764,1758,1501,1476,1489,1667,2067,2117,1874,1523,1735,1806,1622,1582,1763,1678,1577,1709,1677,1888,1654,2082,2021,1832,1786,1518,1825,1716,1474,1490,1394,1416,1525,1462,1433,1498,1919,1982,1913,1936,1804,1790,1758,2008,2482,2668,2556,2138,1858,1607,1603,1880,1765,1510,1540,1583,1498,1481,1480,1424,1517,1495,1627,1596,1372,1413,1539,1649,1595,1632,1949,2116,1982,2133,2254,2015,1603,1454,1157,1649,2205,1974,1714,1450,1456,1969,1490,1362,1258,1266,1172,1177,1298,1637,2550,3386,2594,2166,2318,2358,2126,1648,1789,2314,2273,1934,1620,1760,1944,1764,1650,1578,1577,1858,2012,1792,1340,1536,1662,1485,1437,1425,1421,1503,1733,2107,1815,2068,1954,1794,1801,1750,1425,1293,1373,1694,1773,1562,1707,2104,2007,1724,1637,2148,1935,1817,1638,1491,1677,1677,1552,1650,1549,1526,1747,1963,1945,1998,1993,1764,1546,1462,1546,1776,1964,1728,1688,1972,1783,1706,1689,1672,1707,1637,1441,1229,1668,1720,1380,1350,1468,1453,1472,1717,1749,1926,1532,1960,1919,1505,1311,1273,1466,1398,1538,1748,1377,1533,1697,1536,1411,1331,1445,1385,1345,2231,2601,2028,1789,1758,1915,2221,3102,3203,1989,1615,1448,1496,1681,2316,2554,2471,2014,1643,1555,1897,2224,2046,1750,2102,1813,2194,1893,1849,1500,1726,2372,2484,2523,2341,2092,1923,1512,1958,2553,2266,1884,1642,1882,2160,2209,2127,2013,1944,1750,1995,2054,2648,3196,2814,2181,1890,1920,2344,2109,2186,2820,2574,2647,3309,3736,3310,2899,2631,2346,2170,2051,1936,2093,2430,2522,2422,2534,2918,2946,2534,2141,2246,2830,2932,2622,2754,3044,2678,2126,1853,1503,1183,938,874,1274,1447,1620,1864,2384,2174,1962,2244,1845,971,895,1434,2000,2065,1856,1743,1560,1615,2505,3014,3020,3271,3414,3255,3238,3844,4051,4089,3360,2454,2423,2536,2668,2809,2787,2868,2865,2654,2423,2524,2612,2217,2619,3436,3222,2425,2281,2733,2625,2374,2649,2220,2139,2046,1832,1406,1612,2136,2475,2334,2025,1755,1579,1886,2079,2392,2402,1605,1687,1571,2336,2305,2020,2762,2526,2047,2029,2766,2762,2263,2141,2074,2400,3124,2411,1612,2444,2398,1918,1866,1649,1692,1880,2382,2699,2642,2614,2670,2742,2908,3065,3368,3531,3713,3506,2414,1716,1873,1701,1568,1804,2098,2387,2813,2190,2388,3696,2690,1787,1754,1803,2423,2768,2003,2409,3334,2896,2244,2519,2995,3024,2958,2762,2853,3341,3772,3250,2391,2063,1678,1891,1858,1692,1788,2033,1821,1606,1933,2292,2154,1968,2192,2390,2348,2098,1906,2008,2765,2797,3022,2839,2139,2458,2740,2435,2976,2314,1807,2000,2061,2047,1950,2496,2784,2505,2164,1827,1920,2203,2196,1907,1536,1606,1431,1414,1572,1444,1472,1618,1716,2122,2022,1765,2419,1936,1692,1699,1680,1416,1370,1536,1792,1802,1716,1704,1934,2066,2032,1937,1647,1909,2123,1973,1834,1670,1410,1885,2681,2865,2712,2271,2216,2467,1941,1596,2304,2433,2485,2524,2603,2522,2565,3248,3282,2684,3011,3016,2451,2415,2828,2552,2048,1636,1578,1939,2281,2376,1923,1878,2294,2440,2798,2395,1898,1956,2070,2261,2010,1731,1812,2087,2416,1963,1586,2252,2611,2613,2314,1876,1581,1827,2291,2654,2834,2933,2950,3131,3000,2912,2978,2808,2880,2997,3043,3072,2801,1903,1536,1528,1400,1341,1343,1226,1467,1260,1222,1238,1890,2076,2031,2122,2176,2105,2070,2106,1948,1925,1720,1366,1426,1682,1940,1644,1668,1561,1462,1503,1408,1616,1646,1782,1975,1803,2084,2579,2266,1766,1564,1577,1461,1410,1414,1431,1388,1478,2126,2009,2156,2174,2143,2345,2908,3012,2896,3083,2677,1894,1580,1853,1886,1640,1478,1677,1483,1411,1382,1356,1362,1604,2149,1958,1559,1546,1214,1187,1208,1403,1502,1625,1831,1509,1295,1322,1322,1474,1540,1723,2176,1767,1744,1520,1600,1856,1955,1887,1919,2128,2238,2320,2200,1897,1628,1664,1866,1641,1565,1689,1797,1620,1882,2337,2188,1877,1574,1622,2114,2297,2116,1724,1826,2022,2118,1865,1519,1366,1294,1326,1405,1374,1360,1375,1424,1505,1588,1559,2147,2160,2003,1878,1575,2269,3178,2742,2082,1576,1751,1624,1411,1580,1655,1607,1525,1419,1541,1558,1744,1639,1644,1789,1520,1508,1742,2190,2340,2088,2215,2569,2575,2290,2061,2160,1635,1923,2361,2426,1930,2857,4011,4014,3826,3163,2459,2555,2842,2889,2980,1809,2044,2348,2195,2375,3188,3683,2770,2053,1561,2002,2254,1732,1581,1545,1840,2244,1713,1601,1954,1761,2272,2391,1812,1888,2284,2696,2768,3172,3253,2876,3281,3339,2138,1475,2336,2642,2489,2399,2127,2040,1684,1685,1765,1645,1714,1814,2274,2668,2898,2890,2866,2889,2934,3098,3370,2708,1836,2035,1828,1278,1460,1930,2110,2186,2292,2254,2222,2362,2271,1815,1670,1918,1705,1522,1607,1339,1562,1827,1780,1782,1879,2364,1954,2525,1918,2027,1734,1133,1082,1133,1548,1465,1361,1732,1830,1983,2452,2585,2908,3274,2370,2317,2494,2686,3206,3271,3117,2801,2575,2857,3352,3219,2966,2543,2718,2690,2298,2265,2458,2228,2548,2731,2908,3338,3315,3790,3674,2840,2624,3081,3751,3549,3220,3160,3078,3145,2986,2719,2361,2708,2755,1809,2032,3385,4124,4145,3620,2673,2302,2664,2770,2946,3021,2653,1904,1512,1888,2759,3309,2673,2414,2353,2161,1770,2470,3526,3051,3063,3173,2728,2916,3142,3276,3491,3071,3126,3300,3166,3277,3046,2827,2910,2899,2951,3063,3100,3233,3151,2967,3095,3428,3365,3381,3487,3396,3184,3023,2753,2714,2906,3161,3408,3332],[3926,3345,2836,2633,3033,3816,3794,3830,4056,3492,2877,2404,2955,2798,3098,2502,1826,2024,2265,2754,2974,2978,3162,2866,2208,2123,2611,2354,2507,3050,2995,2489,2460,2872,2775,2562,2521,2907,3072,2524,2574,2592,2124,2031,2078,1794,1433,1292,1682,1540,1630,1766,1809,2450,3377,3355,3119,2682,2767,2563,2733,2938,2285,2380,2398,2083,2518,2061,1663,1383,1372,1605,1868,2198,2534,2338,1915,2025,2641,2357,1590,1813,1830,1737,1685,1793,1980,1809,1946,2188,2254,2103,1739,1854,1997,2372,2182,1636,1747,1764,1865,1579,1463,1511,1516,1594,1874,2070,2150,2553,2604,2338,1928,2010,2032,1794,1626,1510,1439,1663,2306,1863,1468,1753,2125,1870,1721,1406,1545,1900,1758,1559,1848,1481,1257,1721,1880,1720,1675,1646,1994,2314,2583,2309,1980,1896,2089,2815,2616,1603,1221,1296,1665,1689,1212,1356,1484,1827,2121,2040,1834,1801,1766,2252,2170,2229,2065,1952,2202,2345,2281,1759,1341,1462,1349,1292,1226,1123,1593,1708,2234,2113,1882,1902,1806,2158,2375,2329,2103,2094,1841,1426,1227,1113,2044,1949,1541,1876,2198,2353,2312,2155,2260,2004,1925,2182,2362,1937,1718,2098,2403,2897,2166,2337,2535,2913,3050,2599,2447,2511,2949,3227,3007,2705,2530,2242,1620,2237,2472,2312,1983,2556,2810,2541,3061,3119,3226,3046,2902,2986,3277,2945,2757,2994,2763,2656,2762,2497,2543,2223,2143,2547,2791,2712,1643,1627,2018,2408,2510,2296,1931,1772,1936,2045,1828,1659,1673,1543,1923,2853,3356,3467,3329,3218,3497,3642,3230,2710,2706,2829,3072,2339,1470,1521,2266,2853,2844,2944,3078,2293,1526,1502,1558,1719,1908,2386,1662,1434,1898,1919,1616,1449,1425,1443,1636,1902,1707,1731,1530,1483,1515,1634,2223,2044,2056,2282,2580,2812,2985,3038,2940,2391,1675,1685,1926,2218,2668,3210,3672,3536,3430,2779,1647,1527,1461,1919,2780,2900,2435,2045,1722,1605,1615,1938,2160,1995,1792,1753,1670,1598,1505,1420,1510,1693,1704,1736,1506,1636,2079,2854,3032,2252,1970,1688,1636,1689,1946,2307,1986,2137,2359,2360,2215,1908,2376,2799,2239,2137,2609,2557,2148,1954,2207,3151,3820,3484,2854,2427,2047,1917,2402,2723,2501,2294,2416,2319,2303,2132,1999,2203,2582,2674,2271,2164,2362,2566,2534,2437,1873,1903,2743,2753,1974,1636,1492,1489,1739,2029,2225,2076,1730,1848,2009,1769,1841,1931,2401,2637,2343,1997,1627,1869,2313,2520,2369,1924,1622,1527,1530,1532,1538,1721,1655,1358,1345,1505,1493,1720,2161,2085,2245,2044,1938,1537,1751,1673,1444,1475,1426,1398,1477,1639,1500,1661,1805,1692,1601,1520,1826,1700,1508,1796,1757,1479,1439,1455,1454,1522,1440,1350,1488,1717,1516,1452,1402,1394,1534,1625,1813,1827,1811,1920,1869,1865,1824,1642,2219,2463,2164,2586,3100,2842,1953,1598,2005,2697,2263,2004,1900,2042,1883,1574,1699,1799,1918,2125,2372,3431,2887,2275,3072,3640,3488,2741,2589,2793,2643,2275,1666,1585,1831,2129,2443,2889,2077,1888,2328,1771,1583,1658,1593,1595,2096,2703,2618,2631,2812,2788,2612,2194,2453,2226,1735,1591,1510,1394,1579,1663,1532,1360,1511,1671,1597,1275,1430,2659,2611,1817,1579,1627,1570,1716,1789,2044,2380,1864,1709,1918,1716,1542,1491,1482,1536,1527,1469,1485,1478,1733,1596,1648,1721,1777,1701,2114,1806,1697,1773,1604,1454,1423,1438,1706,2195,2092,2050,1817,2423,2619,1879,1542,1427,1354,1445,1387,1712,1892,1854,2869,3244,2941,2766,3165,3361,3436,3480,3761,3953,3760,3543,3354,3009,3422,3407,3450,3581,3827,4103,4240,4389,4328,4093,3784,2249,1565,3422,3754,3714,3570,2718,2577,2963,3284,3228,3277,3604,3379,2974,2988,3007,3011,3850,4229,4220,4231,4127,3847,3489,2708,2165,2047,1847,2109,2668,2464,2342,2830,2165,2215,1921,1650,1531,1517,1787,1793,1683,1837,1989,1653,1629,1879,1808,1598,1682,2033,1728,1405,1664,2247,2140,1734,1698,1601,1529,1621,1693,1771,1711,1849,1905,1855,1841,1728,1736,2080,1827,1692,1910,1924,2055,1944,1728,1599,1715,1657,1627,1885,1728,1722,1764,1621,1685,2149,2020,1687,1656,1687,2116,2080,1990,2061,1867,1510,1516,1657,1461,1917,1948,1997,1780,1987,2153,2056,2023,1831,2050,1825,1490,1526,1505,1423,1505,1524,1564,1453,1350,1406,1400,1637,2243,2184,1771,1586,1736,1779,1783,1992,2266,2604,2474,2087,1754,1563,1722,1837,1752,1735,1548,1467,1446,1331,1394,1601,1627,1874,1775,1324,1399,1493,1554,1398,1470,1788,1919,1786,2067,2775,2458,1991,1815,1520,1761,2144,1893,1810,1753,1708,1744,1404,1306,1236,1284,1392,1434,1644,1739,2137,3264,2643,2015,2429,2604,2272,1804,2060,2466,2450,1810,1448,1609,1615,1598,1420,1397,1488,1587,1811,1693,1089,912,1449,1558,1413,1472,1412,1322,1671,2194,1820,2031,2087,2015,1909,1824,1649,1633,1504,1472,1581,1622,1659,1870,1887,1542,1806,1922,1685,1707,1688,1648,1586,1533,1556,1731,1890,1816,2089,2298,2100,1888,1997,2053,1903,1703,1578,1495,1657,1729,1683,1821,1948,1830,1947,1542,1382,1456,1287,1701,2358,2087,1843,1940,2137,2226,2462,2511,1735,1557,1552,1672,1670,1632,1462,1442,1463,1414,1757,2126,2060,1871,1720,1500,1385,1310,1430,1699,1819,2540,2902,2318,2202,1714,1926,1975,2497,2790,1956,1520,1483,1520,1935,2211,2057,2034,1851,1781,1866,2027,2195,2168,2540,2470,1681,1783,1802,1772,1521,1563,2008,2196,2326,1985,1906,2158,1856,2425,2811,2293,1395,1208,1703,1885,1965,1831,1892,2430,2236,1990,1649,1975,2758,2378,1807,1825,1881,2008,2053,2025,2097,2163,2801,2862,3290,3321,2710,2447,2193,2048,2103,2126,1974,2214,2861,2953,2755,2662,2699,3133,2768,2180,2684,2508,1950,2590,2945,2241,1658,1520,1266,1072,1109,1119,1432,1310,1381,2010,2366,2087,2115,2444,1959,961,899,1397,2010,1826,1635,1555,1437,1695,2525,3066,3531,3449,3364,3327,3404,3572,3543,3432,2739,2305,2395,2441,2522,2370,2119,2595,2903,3046,2988,2415,2040,1934,2652,3186,2714,2619,2807,3009,2536,2229,2437,1902,2143,2075,1287,1238,1998,2315,1932,1974,2105,1831,1650,1886,1974,2141,1867,1389,1436,1555,1722,1426,2066,2876,2599,2062,2201,2862,2834,2293,2219,2196,2234,2143,1635,1991,2542,2408,2265,2021,1596,1901,2104,2311,2499,2348,2517,2967,3055,2988,3000,3196,3719,3861,3222,2710,1970,1920,2214,2364,2859,2880,2706,2469,2436,3198,3768,2962,2009,2210,2628,2965,2909,2295,2831,3423,3251,2624,2877,3056,2894,2517,2826,3560,3712,3652,2966,2678,2097,1299,1939,1421,1008,1292,1824,2047,1832,2106,2244,2268,2631,2198,1782,1891,2070,1797,1640,2050,2549,2567,2212,1992,2554,2732,2525,2769,1875,1511,1655,1867,2109,2070,2557,2933,3019,2548,1768,1756,1958,1948,1760,1664,1568,1620,1858,1694,1288,1414,1668,1858,1898,1980,1852,2702,1956,2029,1994,1670,1387,1717,2433,2652,2326,2066,2083,2232,1738,2078,2133,1642,1810,2164,2115,1848,1565,1413,1907,2487,1917,1989,2015,2136,2643,2040,1640,2316,2699,2791,2895,2924,2855,2596,2902,2564,2512,2929,2840,2518,2373,2833,2639,2030,1586,1456,1858,2179,2088,1592,2056,2388,2192,1987,2104,2123,1957,2166,2383,2121,2084,2112,1973,1909,1539,1823,2468,2701,2538,2040,1691,1510,1498,1875,2642,3153,3131,3009,3189,2856,2463,2754,2818,2893,2942,2933,2690,1975,1437,1298,1317,1412,1225,1204,1228,1486,1280,1241,1257,1735,1804,1730,1881,1771,1727,1770,1978,1841,1830,1657,1343,1431,1823,1710,1448,1578,1547,1490,1605,1471,2011,2609,2610,2688,2267,2095,2454,2275,1671,1420,1456,1493,1521,1511,1466,1425,1454,1832,1730,1946,2219,2405,1979,1748,1805,2154,2171,1823,1506,1487,1895,2070,1685,1441,1265,1304,1405,1325,1512,1513,1446,1996,2050,1644,1532,1237,1255,1298,1302,1388,1680,1751,1299,1236,1283,1504,1767,2006,2172,2441,2025,2033,1875,1755,1791,1925,2069,1871,1939,2546,3135,2391,2059,1904,1562,1527,1566,1407,1543,1703,1450,1752,2280,1880,1591,1520,1780,2104,1719,1927,1813,2115,1933,1692,1701,1508,1560,1521,1474,1516,1611,1610,1531,1438,1620,1936,1919,1872,1868,1995,1893,1719,1973,2940,2873,1875,1760,2005,1683,1525,1742,1675,1578,1756,1982,2128,2006,2018,1701,1600,1529,1425,1349,1605,1897,1971,2262,2743,2751,2580,2469,2169,2314,1791,2193,2700,2757,2098,2837,3660,3661,3529,2918,2315,2808,2865,2733,2846,1788,2204,2546,2566,2830,3310,2723,2437,2587,1794,1895,1835,1725,1693,2116,2279,2112,2005,2015,1978,1892,1703,1662,1755,1745,2169,2109,2091,2501,2776,3074,3340,3065,2397,2120,1957,2215,2317,2233,2452,2086,1920,1992,2195,1792,1649,1597,1788,2032,2175,2336,2516,2569,2726,2803,3024,2400,1914,1865,1671,1147,1193,1572,1780,2011,2202,2265,2482,2625,2272,1668,1852,2043,1934,2441,2582,1820,1734,1931,1987,1860,2071,2813,2751,2710,1854,1709,1416,1259,1279,1520,1886,1836,1793,1737,1591,1322,1903,2370,2907,2710,2562,2541,2463,2906,3500,3405,3040,3091,3043,3330,3659,3160,2864,2916,2898,3326,3095,2956,3042,2168,1980,2289,2491,2978,3440,3962,3802,2871,2575,3074,3331,2683,2618,2667,2165,2321,2698,3087,2905,3161,2578,1593,1665,2873,4209,4301,3362,2444,2386,2594,2947,2639,2316,1841,1584,1670,1586,2118,2850,2696,2810,2963,2844,1995,2511,3269,3060,3138,3103,2857,3216,3368,3293,3449,2954,2964,3096,3365,3528,3275,3288,3417,3363,3483,3567,3299,3299,3185,3096,3163,3383,3450,3761,3801,3482,2577,1964,2327,2442,2193,2465,3271,3445],[3585,3242,2828,2386,2720,3528,3908,4018,4365,4008,3581,3232,2800,2266,2294,2430,2188,1709,1911,2566,3107,3211,3035,2685,2505,2707,2939,2238,1947,2438,2521,2241,2414,2818,2757,2868,2858,2842,2610,2323,2453,2688,2561,2445,2186,1621,1396,1325,1839,1655,1630,1628,1628,2541,2687,2790,2858,2379,2823,3085,2877,2665,2322,2339,2268,2279,2459,2337,1919,1662,1760,1738,1611,1707,1826,2181,2236,2137,2066,1797,1460,1745,1568,1744,1888,1700,1668,1470,1581,2055,2102,1765,1610,1786,1930,1912,1587,1611,1754,1748,1545,1547,1890,1518,1387,1690,2487,2443,2384,2647,2417,2288,1876,1914,1949,1504,1633,1637,1566,1914,2166,1638,1504,1668,1619,1340,1365,1558,1894,2281,1708,1506,1588,1343,1354,1902,1955,1666,1745,2084,2525,2525,2607,2002,1544,1685,1432,1750,1880,1180,1242,1301,1719,1504,1459,1505,1458,1546,1599,1594,1661,1588,1889,2009,1584,1500,1831,1926,2010,1930,1839,1561,1461,1539,1356,1301,1515,1533,1740,1793,1632,1685,2019,1910,2169,2394,2239,1987,1842,2139,1985,1471,1294,1291,1919,1604,1467,1993,2330,2482,2453,2531,2138,1834,1892,2075,2074,1797,1682,1772,2253,2464,2235,2229,2600,3341,3622,3348,2498,2004,2105,2421,2238,2661,2557,2352,2316,2496,2498,2254,2294,2825,2457,2213,2944,3108,3342,2720,2603,3062,3329,3038,3051,3095,2504,2542,2765,2569,2459,2749,2746,2700,2750,2887,2324,2002,2291,2531,2544,2232,1626,1492,1726,2014,1860,1921,1774,1764,2032,2880,3404,3660,3596,3395,3484,3061,3129,2676,2930,3364,2793,1492,1698,2276,2478,2318,2417,2864,3097,2691,2240,2421,2044,2070,2036,2159,1817,1732,1939,2123,2071,1755,1686,1588,1745,1981,2214,2059,1944,1641,1644,1877,2295,2119,1902,2248,2270,2510,2562,2696,2863,2240,1542,1454,1452,1547,2365,2791,2284,2253,2579,2425,1976,1804,1742,2112,2531,2699,2062,1581,1506,1534,1557,1757,2209,2284,2132,1980,1980,2056,1992,1958,1842,1924,1860,1672,1764,1966,2109,2224,2322,2190,1752,1926,1789,1889,1946,1977,1894,2228,2344,2049,1930,2211,3160,3154,2824,2735,2662,2908,2543,2463,2343,2320,2720,2929,2867,2344,1656,1971,2488,2640,2631,2356,2695,2438,2371,2470,2336,2265,2477,2165,1762,2046,2618,2898,2425,2059,2041,1964,2397,2462,1970,1741,1643,1714,1862,2236,2124,1757,1780,2236,2344,2172,2123,2056,2284,2156,2088,1761,1561,2371,2439,2245,2134,2008,1911,1739,1682,1670,1621,1712,1624,1409,1400,1611,2036,2091,1768,2071,2048,1714,1648,1563,1592,1560,1413,1577,1937,1699,1466,1501,1446,1507,1567,1483,1554,1744,2014,2018,1584,1517,1419,1371,1400,1754,1634,1498,1480,1631,1757,1688,1569,1618,1562,1571,1428,1392,1738,1936,1700,1831,1734,1683,1676,1627,1731,1597,1585,1797,2069,2802,2690,1948,1970,2406,1944,1758,1594,1555,1554,1463,1644,1903,2295,2568,2827,3510,2876,2418,2964,3383,3522,2721,2169,2540,1982,1650,1637,1455,1554,1987,2108,2630,2020,1895,1804,1646,1819,1893,1987,2070,2558,3100,2750,2809,3200,2935,2334,1933,1787,1996,2070,1793,1635,1498,1739,1888,1581,1491,1969,2106,1792,1638,1991,2398,2046,1671,1742,1761,1547,1551,1499,1823,2095,1799,1617,1858,1663,1441,1428,1456,1891,2172,1967,1644,1488,1669,1843,1935,1628,1562,1900,1824,1583,1716,1715,1592,1432,1433,1519,2002,2489,1966,1909,1873,1922,1918,1633,1493,1477,1360,1389,1544,1860,1699,1660,2407,2989,3009,3054,3309,3329,3269,3422,3566,3834,3840,3588,3640,3304,3167,3362,3775,3728,3649,3813,3888,4014,3993,3806,3918,2410,1443,3383,3759,3484,3273,3372,3781,3805,3728,3948,3961,4169,3792,3118,2850,2820,3087,3865,3981,4219,4364,4263,4143,3869,3058,2182,2014,2123,2540,3640,2658,2013,2083,1937,2067,2005,1820,1579,1389,1566,2188,2286,2511,2389,1570,1483,2009,2040,1758,1891,1826,1491,1570,1706,2210,1761,1529,1499,1644,1731,1693,1432,1398,1477,1677,1838,2258,2396,2310,2088,2013,1838,1761,1859,1871,1960,1838,1774,1556,1473,1508,1764,2067,1686,1742,1673,1620,1819,1837,1956,2343,2136,2023,2081,1973,2221,2344,1894,1391,1295,1578,1550,1509,1700,1875,2304,2547,1948,1971,2174,1908,1768,1547,1395,1501,1776,1596,1675,1838,1680,1549,1448,1494,1638,2079,2513,1949,1555,1818,1903,2004,2086,1986,2132,2303,2077,2107,2592,2158,1702,1700,1686,1632,1955,1894,1670,1485,1431,1611,1821,2088,2092,1424,1440,1571,1528,1461,1478,1446,1597,1550,1704,1995,2153,2089,1824,1426,1433,1754,1556,1739,1938,1686,1510,1378,1340,1397,1459,1482,1476,1534,1471,1682,2394,2007,1455,2113,2426,2242,2185,2151,1882,1790,1620,1613,1645,1486,1396,1659,1637,1565,1475,1461,1466,1259,1166,1395,1510,1413,1423,1371,1294,1488,1748,1670,2014,2062,1858,1770,1741,1793,1879,1718,1627,1490,1467,1549,1462,1556,1471,1664,1641,1585,1589,1544,1592,1520,1512,1469,1594,2233,1951,1824,1588,1637,1868,1881,2097,2498,2002,1807,1415,1549,1792,2008,1730,1787,1823,1888,1700,1982,2125,2114,2587,2875,2743,2545,2964,2918,2574,3238,3179,2078,1795,1841,1897,1964,1892,1825,2165,1925,1990,1930,1862,2713,2175,1786,1750,1746,2185,2677,3071,3305,3372,3208,2967,2901,1810,1823,1928,1859,2007,1855,1794,1825,1863,2254,2690,2517,2069,2004,1763,2352,2608,2728,2841,2591,2016,1846,1577,1515,2128,2268,1976,1944,1841,1878,1824,1816,2044,1913,2050,2126,1762,1293,1710,1937,1875,1837,2021,2179,2084,2078,1811,1721,1860,2432,2316,1791,1771,2023,2251,2404,2024,2684,2890,2909,2887,2841,2796,2692,2094,1609,1846,2066,2193,1813,1643,2517,2942,2952,2634,2138,3042,3516,3117,3109,2566,2142,2337,2361,2065,1892,1522,1358,1627,1592,1682,1692,1275,1353,2036,2054,2082,1986,1858,1575,939,857,1192,1727,1719,1526,1468,1499,1861,2193,2766,3356,3111,3113,3105,3632,3581,3510,3163,2894,2943,2923,2710,2380,2029,1942,2603,2876,2905,2897,2366,2282,2043,2396,2902,3360,3609,3636,3134,2228,2061,2363,2191,2299,2141,1562,1864,2149,1907,1721,1813,2095,2127,1789,2146,2079,2262,1836,1928,1641,1895,1923,2499,2641,2008,2135,1881,1862,2028,2348,2078,2330,2106,2065,2094,2302,2490,2518,2236,2110,1854,1728,1835,2041,2285,2439,2518,2780,2871,2545,2171,2664,3084,2818,2755,3163,2988,1986,1598,1895,2833,3732,3168,2348,2614,3294,3471,3555,3128,2875,3140,3338,3242,3161,3162,3407,3152,2689,2524,2827,2921,2785,2774,3174,3603,3676,3441,2501,2570,1724,1256,1909,1576,939,1091,1803,2469,2504,2746,2447,2398,2531,2032,1554,2030,2604,2274,1734,2125,2577,2555,2165,2198,2546,2398,2584,2227,2115,2146,1831,2051,2235,1887,2092,2669,2742,2508,2059,1687,1997,1952,1551,1594,1521,1642,1947,1804,1715,1689,1912,2466,1997,2273,2120,2344,1945,1699,1724,1566,1592,1797,1990,2203,2466,2688,2692,2235,1787,2024,2076,1757,1897,2211,2057,1701,1595,1442,1648,1788,1939,2061,1944,2129,2699,2208,1854,2692,3201,3182,3249,3359,3303,2612,2513,2156,2347,2656,2629,2196,2104,2831,2754,2035,1668,1586,1921,1948,1627,1692,2212,2138,1977,1788,2262,2430,2143,2614,2813,2387,1903,1807,1947,1856,1667,2242,2554,2563,2135,1995,2205,2061,1798,2017,2750,3063,2610,2443,2611,2459,2474,2708,2912,3097,3076,2728,2162,1557,1321,1140,1136,1302,1203,1219,1169,1230,1309,1291,1256,1490,1620,1816,1948,1669,1540,1566,1847,1722,1610,1654,1578,1734,1938,1803,1694,1579,1358,1487,1662,1581,2154,2850,3017,2973,2485,2227,2277,2060,1661,1489,1470,1463,1560,1554,1583,1531,1409,1755,1970,1993,2278,2192,1776,1561,1655,1964,1707,1597,1337,1568,1761,1945,1773,1455,1399,1617,1647,1450,1632,1708,1485,1588,1611,1310,1338,1355,1406,1230,1155,1241,1454,1591,1389,1428,1434,1325,1861,2767,2666,2021,1773,2182,2056,1565,1411,1443,1537,1558,1647,2134,2401,1632,2122,2361,1994,1697,1609,1688,1477,1753,1807,1707,1751,2088,1709,1638,1701,1582,1909,2512,2182,1927,2044,1764,1981,2454,1932,1747,1622,1601,1709,1792,1930,1614,1561,2004,2120,1824,1753,1688,1740,1848,1741,2707,2786,2177,2076,1943,1770,1905,1972,1763,1704,1852,1936,2214,1984,1893,1670,1570,1648,1759,1642,1792,2082,2083,2184,2069,1885,1841,2388,2299,2563,2156,2116,2686,2423,2016,2774,3163,3117,2762,2215,1765,2589,2950,3011,2757,2205,2641,3074,3010,3221,2793,2266,3050,2945,2222,1747,1898,2126,2532,2886,2415,2023,2022,1851,1958,1930,2020,1840,1754,2047,2497,2247,2238,2123,2450,3123,3183,2499,2107,2181,1812,1982,2216,2620,2191,1835,1753,1799,1712,1594,1683,1678,1808,1901,1999,1882,2099,2226,2310,2613,2676,2199,1826,1769,1758,1780,1847,1628,1709,1676,1815,2078,2245,2260,2166,2103,2287,2106,1991,2462,2520,2103,1937,1766,1962,1721,2144,2765,2876,2404,1920,1836,1733,1700,2015,2435,2320,2109,1945,1504,1890,2072,2130,2524,2574,2590,2849,2934,3037,3373,3460,3090,2682,3039,3342,3489,3240,2749,2780,2848,3095,3573,2818,2357,2665,2285,2124,2029,2217,2531,2731,2908,2988,3128,3184,2972,2437,1856,1971,2177,2320,2779,2954,3165,3616,4057,3352,2634,1902,2035,2856,2763,2836,2620,2286,2433,2566,2157,1774,1560,1542,1532,1875,2762,3070,2809,2858,3123,3287,2967,3270,3588,3348,3037,2889,3001,3474,3552,3608,3868,3596,3405,3156,3463,3610,3563,3579,3457,3483,3638,3660,3326,3328,3409,3439,3417,3508,3607,3452,3245,3210,2345,1860,2610,2688,1904,2075,3198,3595],[3473,3187,3105,2683,2466,2889,3489,3836,4189,4230,4060,3733,3124,2508,2520,2540,2664,2745,2137,2357,2458,2774,2799,2381,2343,2543,2534,2068,1788,1945,1958,2090,2018,2384,2808,3006,2387,1788,1825,2107,2469,2371,2316,2680,2170,1782,1866,2026,2094,1926,1843,1719,1886,2491,2735,3127,3084,2611,3310,3605,3061,2618,2325,2435,2216,2432,2472,2117,1776,1706,1614,1561,1384,1455,2040,2536,2542,1823,1883,2069,1740,1445,1470,2336,2678,2111,1726,1529,1504,1927,1664,1492,1405,1442,1951,1843,1293,1424,1698,1678,1544,1580,2085,1560,1520,1842,2379,2296,2316,2293,2231,2122,2031,2299,2128,1630,1625,1387,1387,1715,1749,1604,1528,1606,1655,1419,1465,1692,1730,2085,1677,1382,1417,1534,1582,1616,1559,1833,2193,2543,2409,1969,2048,1566,1335,1625,1435,1474,1220,1216,1555,1547,1738,1832,1739,1617,1378,1255,1223,1278,1457,1620,1676,1773,1704,1350,1977,2480,2281,2127,1810,1657,1588,1461,1292,1613,2141,2085,2083,1782,1953,2321,2333,2147,1932,2302,2302,1899,1858,1841,1780,1449,1358,1601,1717,1538,1615,1978,2380,2531,2285,2478,2120,1961,1569,1620,1542,1588,1600,1775,2313,2443,2403,2478,2976,3281,3256,3327,2645,2515,2180,2325,2590,2600,2645,2531,2303,2446,2381,2520,3273,3387,2613,1974,2234,2568,2999,2910,2777,2823,3163,2947,2673,2660,2636,3079,2785,2879,3386,3848,3461,2824,2648,2744,2586,2684,2839,3227,3034,2313,1603,1730,1620,1926,1808,1852,1874,1724,2212,3260,3461,3499,3627,3425,3374,2301,2785,2247,2656,3111,1844,1615,2631,2531,2162,2457,2820,2864,3073,3101,2577,2447,2713,2895,2957,2873,2195,1794,1917,2107,2031,1988,2467,2314,1804,2120,2540,2384,2294,1960,1929,2128,2336,2037,2261,2173,1730,2135,2275,2376,2130,1921,1921,1881,1651,1687,2027,2039,1586,1691,1929,2247,2110,1730,1960,2169,2292,2512,2110,1635,1697,1523,1498,1829,1995,2112,2073,1930,1914,1906,2017,2082,2008,1922,1949,2026,2032,2037,2067,1802,1937,1989,1840,1853,1864,1960,2012,2016,2005,2281,2851,2238,2147,2319,3477,2762,3022,3055,2734,2314,2037,2473,2482,2211,2097,2215,2426,2087,1946,2185,2998,3289,2920,2866,2563,1895,1802,2001,2171,1906,2192,2105,1924,1793,2661,2612,2308,2396,2183,1845,1887,1875,1830,2020,2137,1969,1806,2109,1976,1603,1619,2094,2116,2181,2103,1703,1714,1757,1977,1927,1865,2580,2454,2211,2264,2272,1947,1865,1980,1676,1460,1763,1611,1518,1771,2171,2417,2099,1793,1675,1422,1299,1397,1482,1528,1755,1883,2486,2568,1959,1483,1418,1460,1427,1449,1709,1731,1953,2001,1820,1498,1401,1380,1338,1441,1548,1435,1373,1616,1849,1696,1735,1631,1792,1782,1588,1506,1271,1709,1881,1861,2123,2164,1958,1901,1627,1653,1574,1608,1863,1751,2619,3233,3042,3156,2494,1758,2064,2089,1792,1521,1416,1558,1929,2888,3320,3653,3675,3081,2728,2811,2808,2853,2695,1845,1828,1511,1667,1904,1584,1417,1769,1887,1980,1930,2041,1805,1696,1879,1620,1616,1966,2750,3128,2884,2811,3027,2651,1945,1521,1339,1664,2020,1741,1535,1624,1859,1810,1559,1628,1953,2060,1836,1876,2256,2336,2376,2490,2344,1917,1817,1698,1738,1632,1772,1888,1828,1835,1610,1498,1591,1649,2187,2466,1992,1561,1481,1577,1859,2271,2077,1775,1771,1548,1626,1606,1482,1510,1525,1489,1598,1825,1972,1715,1662,1649,1655,1798,1546,1438,1562,1438,1365,1724,1897,1810,1642,2299,2740,2379,2972,3819,3863,3438,3704,3974,4132,3930,3654,3794,3581,3260,3669,4176,4047,3736,3744,3827,3898,3752,3675,4028,2587,1446,3066,3697,3293,3409,3558,3680,3662,3652,4273,4436,4400,3883,3063,2835,3155,3660,3775,3874,4201,4236,4119,3653,3264,2554,2161,1891,2280,2736,2410,2039,2051,2236,2203,1830,1754,1777,1589,1559,1570,1941,2173,2563,2180,1741,1662,1887,1799,1527,1867,1838,1694,1709,1621,1692,1482,1472,1560,1731,1633,1486,1539,1560,1851,1986,2070,2422,2280,2177,1854,1725,1834,1804,1644,1572,1802,2049,1946,1399,1745,1896,1763,1838,1609,1393,1425,1475,1661,1560,2097,2613,2169,2018,1826,2220,2218,2061,1827,1742,1766,1484,1460,1513,1357,1524,2446,2897,1716,1864,2689,2249,1686,1475,1547,1912,2242,1860,1721,1612,1360,1645,1489,1632,1816,2168,2352,1699,1742,1789,1885,2319,2325,2090,2120,2114,1778,1758,2007,2048,1725,1739,1969,1967,2043,1979,1909,1763,1570,1648,1596,1701,1507,1276,1637,1718,1409,1404,1354,1336,1388,1534,1594,1654,2198,2116,1600,1421,1462,1393,1475,2037,2244,2036,1682,1366,1391,1575,1498,1439,1367,1352,1391,1558,1606,1556,1418,1676,2213,2024,1720,1791,1632,1686,1450,1660,2293,2021,1872,1899,1768,1519,1381,1402,1312,1323,1508,1416,1487,1392,1311,1284,1384,1456,1620,1639,1838,1821,1619,1734,1655,1675,1805,1661,1845,1727,1799,1806,1699,1583,1441,1675,1865,1597,1698,1596,1667,1546,1564,1707,1820,1952,1798,1725,1732,1567,1819,1981,2130,2234,1813,2093,1822,1649,1725,1753,1919,2393,2316,1782,1816,2129,1931,1812,1981,2189,2392,2186,2489,2380,1989,1864,1642,1799,1796,1975,2305,2179,1895,1791,1871,1796,2274,1998,1692,2697,2462,2001,2414,3439,4071,4175,4180,4088,4057,3838,3084,2541,1907,1954,1961,2215,2121,1461,1649,2444,2363,2822,3261,2684,2128,1856,1958,2061,2664,3279,2942,2284,1815,1372,1250,1725,2160,2264,2173,2283,2141,2234,2059,1880,1826,1672,1730,2095,2020,1682,1794,2226,2040,2201,2331,2401,1948,1476,1709,2008,2231,2685,2696,2598,1990,2433,2093,2253,2098,2895,3012,2466,2064,2016,2265,2164,1625,1472,2227,2072,2168,2168,2050,2171,2798,3212,3022,2386,2445,3077,3687,3470,2600,2155,2192,2272,2872,2572,1831,1888,2126,1750,1617,1992,1873,1505,1863,1981,2147,1898,1647,1440,1048,923,1353,1842,1694,1428,1610,2019,2144,2215,2977,3362,3343,3016,3136,3493,3360,3416,3228,3067,3187,3284,2990,2444,1914,2156,2956,2910,2810,2474,2352,2821,2904,2379,2609,3571,3580,3161,2321,2105,2173,2554,2368,1974,1735,1744,2041,2064,1759,1604,1968,2117,2009,2270,2349,1637,1886,1884,1661,1409,1980,2640,2834,2491,2834,2746,1781,1749,1657,2018,2079,1957,1960,1747,2069,2621,2818,2491,2447,2172,1633,1367,1698,2114,2147,2097,2699,3275,3064,2569,2700,2808,2465,1638,1846,2918,2738,1792,1407,2217,3416,3541,2654,2494,3423,3506,3252,3411,3458,3443,3218,2874,3448,4179,4043,3484,3064,2653,2814,2906,2426,2435,3044,3239,3827,3746,3641,3174,2286,1992,2587,2225,1866,1591,1655,1704,1830,2079,2278,2469,2769,2698,2087,1830,2070,2167,2023,1995,2696,3042,2481,2265,2301,2375,2240,2187,1793,1925,1740,1584,2478,2750,1878,2058,2319,2357,2387,2045,1799,1861,1701,1573,1490,1426,1588,1853,1839,1564,1527,2063,2545,1944,1622,1560,1915,1781,1796,2014,1675,1619,1547,1760,2107,2605,2835,2301,2112,1725,1482,1634,1676,1742,2176,2145,1679,1559,1556,1625,1372,1832,1957,1831,1993,2417,2272,1941,2735,3095,3149,3186,3028,2813,2437,2568,2546,2370,2379,2699,2418,1993,2708,2788,1972,1748,1826,1584,1664,1773,2119,2069,1821,1829,1838,2170,2436,2164,2929,3017,2580,1953,1863,2211,2056,2080,2408,2563,2355,2145,2234,2219,2007,2165,2583,2942,2852,2364,2221,2222,2379,2639,2818,2976,3074,3116,2556,1859,1365,1218,1202,1231,1382,1583,1525,1432,1396,1292,1297,1213,1276,1514,1803,1994,1760,1565,1499,1583,1810,1821,1689,1754,1925,1924,1855,1770,1713,1342,1422,1566,1470,1687,2004,2475,2835,2678,2693,2745,2625,1990,1620,1525,1419,1515,1563,1565,1517,1379,1598,1693,1566,1658,1667,1928,2075,1732,1699,1726,1485,1508,1769,1703,1787,1880,1647,1575,1758,1810,1624,1930,1930,1656,1578,1516,1319,1295,1411,1366,1152,1145,1251,1402,1599,1451,1580,1784,1930,2357,2873,2955,2472,1733,1610,1785,1711,1521,1299,1470,1663,1452,2332,2130,1663,2093,2097,2047,1860,1689,1785,1640,1908,1955,1912,1518,1578,1586,1576,1470,1296,1679,2756,2791,2142,2313,2173,2625,2978,2162,1705,1613,1596,1571,1560,1648,1555,1816,2589,2364,1970,1811,1933,2171,1942,1670,2146,2034,1547,1649,1763,1684,1794,2120,1692,1693,1954,2399,2027,1982,1985,1780,1679,1812,1902,1540,1742,1988,1738,1796,1904,2022,1852,2178,2310,2518,2406,2429,3010,2643,2101,2559,2867,2715,2079,1229,1580,2447,3394,3763,2951,2082,2617,3155,2980,2752,2081,2268,3191,3181,2802,2430,2403,2663,2975,2700,2202,2381,2370,2125,2285,2092,1756,1636,1711,2281,2509,2240,2005,2048,2842,3467,2908,2117,1786,2031,2397,2066,1941,2511,2208,1642,1606,1758,1624,1522,1685,1753,1780,2008,1731,1762,2020,2254,2299,2318,2367,2119,1732,1613,1688,1941,2250,1996,1688,1591,1757,2199,2312,2160,2434,2666,2510,2264,2244,2357,2341,2231,1964,1820,1871,1542,1972,2352,2218,1736,1282,1537,2001,2568,2604,2517,2711,2734,2457,2360,2647,2740,2733,2957,3128,3020,2947,3030,3452,3489,2950,2764,3012,2795,2684,3116,3210,3053,3108,3107,3203,2862,2241,2309,2308,2081,2043,1765,1963,2307,3089,3964,3981,3868,3596,3202,3065,2258,2030,2188,2930,2821,3156,3157,2718,3018,2887,2707,2214,2237,2555,2763,2644,2506,2663,3191,3069,2176,1852,1771,1554,2021,2834,3297,3393,3100,2996,3164,3420,3300,3098,3210,3350,3308,3365,3730,3941,3824,3769,3819,3710,3300,3162,3594,3492,3451,3451,3396,3530,3640,3621,3402,3417,3439,3484,3487,3508,3586,3121,2752,3231,3152,2690,2892,2922,2640,2996,3448,3571],[3157,3203,3429,2856,2118,2415,2830,3058,3642,4059,3693,3470,2964,2481,2377,2265,2128,2291,2071,2120,1830,2273,2600,2521,2356,2319,2604,2167,2625,2635,2234,2132,1766,2310,2534,2577,2404,2113,2248,2410,2206,1911,1832,2237,2401,2364,2254,1959,1892,2077,1980,1936,2458,2651,3098,2953,3111,3034,3294,2953,3046,2956,2758,2963,3296,3186,2446,1614,1597,1824,1600,1663,1938,2319,2909,3350,2986,2189,2301,2474,2176,2081,2250,2806,3077,2851,2252,1648,1538,1840,1705,1555,1570,1752,1986,1818,1548,1998,1936,1672,1732,1605,1421,1335,1573,1730,1810,2132,2364,2149,2008,1897,2543,2558,2054,1851,1670,1338,1354,1482,1609,1771,1399,1401,1649,1537,1546,2010,2098,2333,2067,1691,1588,1447,1623,1806,1621,1738,1953,1802,1454,1495,1952,1688,1369,2047,2566,2649,2034,1678,1796,1556,1474,1767,1857,1774,1636,1585,1549,1675,1647,1638,1592,1923,1882,1600,2392,3248,2894,2209,1918,1791,1759,1637,1668,2195,1930,1541,1624,1777,2281,2480,2462,1916,1909,2310,1830,1472,1532,1724,1710,1523,1376,1574,1564,1363,1423,1718,1902,1902,2192,2456,2559,1983,1672,1664,1666,1834,1573,1656,2175,2542,2295,2667,3260,3371,3256,2907,2706,3067,2526,2243,2403,2269,2692,2263,2215,2459,2296,2463,2958,2800,2127,1844,1798,2397,3130,3161,2801,2524,2761,2373,2438,2472,2916,2917,2242,2230,3332,4229,3730,2784,2649,2531,2756,3076,3112,3506,2699,1893,1798,1933,1907,1946,1974,1964,1776,1532,2176,3288,3471,3391,3782,3758,3371,2580,2654,1990,2732,3119,1648,1961,2922,2200,2124,3067,2755,2594,3042,3094,2612,2878,3617,3505,3352,2819,1649,1912,1871,1522,1538,1781,2874,3089,2787,3073,3264,3100,2537,2099,2092,2460,2697,2397,2457,2263,1819,1821,2089,2145,1942,1908,2210,2049,1738,1845,1952,1812,1598,1619,1839,2323,1948,1442,1824,2027,1830,2117,2258,1931,1891,1622,1899,2118,2062,1864,1649,1547,1485,1610,1708,1788,1944,1781,2159,2142,1936,1857,1824,1822,1842,1803,1798,1814,1798,1780,1970,2193,2055,1891,2985,2765,2767,2171,2276,1923,2494,2887,2745,2380,2233,2309,2244,2309,2265,2460,1802,2081,2356,2459,2744,2724,2358,2071,1995,1855,1517,1893,2237,2091,2104,2079,1842,1914,2587,2426,2208,2037,1878,1906,1765,2033,2260,2093,2204,2045,2103,1952,1658,1677,1836,2102,2244,2250,2161,1675,1901,1766,1598,1568,1792,2001,2048,2067,1888,1510,1617,2171,1920,1575,1495,1719,1592,1442,1455,2343,2458,1671,1520,1723,1710,1465,1420,1494,1456,1860,1841,2023,2050,1763,1736,1864,1736,1598,1614,2091,1871,1848,1591,1402,1467,1447,1462,1393,1444,1549,1460,1567,1920,1811,1630,1561,1592,1626,1570,1566,1540,1544,1866,2099,2034,2090,2188,2200,1757,1898,1796,1631,1827,1698,1831,2626,3243,3964,4275,2757,2072,3263,3408,2293,1507,1415,1492,2373,3333,3409,3663,3781,3404,3028,2996,2807,2797,2728,1781,1433,1378,1443,1610,1625,1725,1641,1726,1962,1998,2522,2169,1609,1628,1498,1490,1636,2576,3093,3175,3164,3050,2592,1924,1722,1457,1674,1922,2138,1950,1982,1845,1531,1450,1405,1595,1813,1528,1326,1630,2121,2175,1873,1601,1806,1676,1786,2025,1724,1587,1879,2309,1972,1484,1645,1584,1874,2131,2154,2078,1939,1785,1516,1534,1934,1670,1471,1484,1529,1614,1448,1445,1399,1389,1595,1664,1450,1490,1589,1592,1429,1500,1727,1600,1648,1504,1435,1482,1813,2143,2166,1780,2676,3582,3133,3914,4413,4528,3891,3961,4032,4255,4207,3826,3305,3181,3653,3937,4147,4179,3875,3858,3858,4020,3603,3541,3973,2695,1450,2696,3695,3485,3521,3076,3011,3270,3424,3649,3912,4033,3646,3360,3362,3730,3901,3459,3548,4064,4236,3928,3077,2744,2273,2088,1948,2292,3054,2863,2081,1761,1767,1852,1623,1500,1337,1504,1808,1710,1523,2182,2326,2139,2004,1541,1504,1412,1374,1582,1591,1594,1611,1678,1511,1419,1537,1813,1763,1556,1489,1416,1716,1926,1946,2176,1939,1777,1729,1958,2360,2204,1785,1641,1699,1616,1648,1894,1480,1952,2524,2126,1910,1636,1265,1312,1402,1434,1550,2062,2321,2496,2570,1825,2190,2452,1929,1707,1994,1997,1549,1534,1549,1571,1852,2750,3076,2038,2221,2548,2076,1632,1484,1802,2316,2187,1794,1974,1677,1618,2100,1631,1820,1932,2155,1975,1870,2016,1865,2141,2480,1912,1818,2018,2002,1813,1815,2260,2394,2006,1887,1786,1616,1600,1678,1754,1617,1695,1795,1291,1291,1284,1221,1647,1633,1454,1447,1334,1266,1355,1636,1712,1706,2008,1983,1682,1416,1336,1721,2150,2231,2504,2414,1771,1533,1506,1460,1277,1296,1246,1302,1482,1533,1444,1373,1364,1544,1864,1864,1771,1716,1477,1653,1544,1470,1920,1744,1782,1921,1719,1499,1516,1272,1416,1562,1484,1450,1572,1459,1308,1353,1554,1711,1832,1862,1932,1768,1508,1757,1695,1907,1561,1511,1863,1947,1984,2014,1928,1964,1784,1654,1724,1470,1914,1891,1808,1587,1600,1599,1520,1560,1622,1736,1886,1708,1898,2388,2270,1826,1635,2067,2015,1780,1635,1673,2120,2442,2090,1844,1970,1989,1916,1681,1673,1771,1659,1992,2459,2060,1706,1617,1905,1718,1522,1891,1932,1637,1845,2146,2530,2997,3104,2270,1614,1748,2017,2331,2386,3727,4228,4357,4311,4038,4092,4046,3444,2598,2120,1990,1856,2085,2064,1586,1937,2845,2436,2652,2784,2288,1922,1918,2108,2071,2207,2326,2316,2210,1406,1454,1961,2073,2062,2423,2574,2374,2263,2287,1988,1891,1910,2085,1992,2096,2054,1689,2048,2243,2138,2686,2043,1757,1868,1465,2036,2354,2266,2119,2258,2888,2336,2003,1860,2395,2521,2496,2629,2331,2164,2375,2480,2095,1576,1843,2492,1554,1618,2175,2103,2193,2791,3140,3177,3164,2731,2389,3030,2885,2471,2446,2536,2749,3705,3530,2646,2101,1634,1646,1512,1918,2077,1780,1700,2038,2039,1693,1525,1410,1044,1065,1691,2042,1673,1504,1672,2537,2047,2399,2603,2620,2879,2983,3342,3429,3059,3021,3068,3076,3127,3197,2702,2361,1904,1847,2676,2890,2574,1993,2018,2608,2940,2524,2288,2814,3056,2469,2071,1647,2004,2713,2257,1968,1908,1676,1644,1737,1772,1853,2298,2281,1975,2341,2072,1759,1778,1810,1881,1872,2813,3022,2846,2867,2803,2543,1686,1491,1942,2031,1716,1653,1664,1868,2214,2090,2352,2180,2122,1830,1852,1861,2148,1974,1802,2479,3039,2989,3031,2830,2464,2595,2257,1888,2400,2858,2717,2320,2374,3183,3334,2619,2553,3333,3529,3210,3142,3243,3176,3240,3351,3088,3490,3890,3664,3394,3047,2817,3432,3547,2963,2876,2525,3103,3631,3730,3499,2966,1999,2862,5029,3105,1941,2022,2113,1980,1697,1886,1990,2261,2766,2562,2216,2605,2298,2176,2198,2208,2380,2580,2192,2503,2395,2220,2147,1925,1688,1528,1666,2282,2946,2764,1814,1592,1760,2399,2502,1953,2077,2264,1671,1592,1370,1412,1579,1562,1524,1361,1520,1930,2320,2067,1670,1787,1914,1717,2026,2110,1888,1787,1624,1648,1946,2291,2377,2284,1992,1635,1494,1568,2014,2065,2210,2308,2164,1948,2070,1775,1554,1692,1655,1664,1695,2086,2524,1860,2176,2232,2205,2013,2008,2153,2303,2718,2832,2445,2288,2497,2568,2047,2054,1958,1826,1787,1846,1724,2085,2198,1993,1815,1798,2123,2351,2452,2604,2179,2928,3049,2524,2098,1912,1861,2108,2403,2347,2339,2094,2558,2487,2281,2348,2470,2546,2423,2246,2176,2231,2373,2566,2651,2775,2939,3134,3074,2014,1383,1312,1297,1309,1349,1434,1549,1434,1347,1330,1243,1217,1155,1338,1411,1681,1994,1710,1628,1586,1471,1728,1836,1632,1813,1784,1802,1781,1579,1449,1249,1404,1567,1407,1487,1656,2002,2820,2954,2718,2868,3018,2143,1621,1499,1409,1522,1759,1742,1431,1178,1139,1055,1012,1187,1528,1930,2067,1964,1830,1637,1494,1565,1736,1760,1714,1547,1503,1502,1508,1591,1572,1809,1968,1661,1608,1670,1570,1488,1614,1574,1440,1194,1318,1470,1738,1459,1448,1783,2118,2658,2856,2853,2554,1839,1576,1770,1997,1836,1561,1677,1710,1484,2055,2148,1778,1780,1796,2089,2218,2007,1642,1696,1823,1823,1755,1489,1333,1336,1388,1356,1328,1741,2569,2231,1835,2098,2703,2942,2430,1446,1346,1659,1800,1684,1596,1423,1412,1700,2461,2259,2263,2033,1950,1892,1792,1952,2078,1525,1347,1466,1794,2023,2217,2237,1832,1691,1696,2202,2244,2114,1871,2130,2193,1844,1736,1411,1493,1594,1432,1453,1862,1791,1410,2047,2602,2483,2626,2442,2978,2851,2923,2770,2456,2190,2266,1754,1826,2619,3228,3776,3274,2277,2770,3076,2509,2250,2261,2099,2666,3040,3141,3144,2866,2524,2770,2438,2076,2440,2376,2696,2864,2498,1911,1711,1846,2334,2676,2253,1954,2459,3277,3222,2076,1835,2195,2109,2215,2089,1772,1953,1942,1803,1940,1896,1753,1637,1842,2116,1969,1885,1716,1920,2012,2185,2354,2395,2404,2337,1929,1662,1836,1937,1972,1879,1765,1826,2067,2402,2193,2249,2773,2733,2433,2314,2407,2735,2566,1749,1675,2156,2502,2618,2484,1901,1908,2169,2198,2363,2454,2605,2252,1974,2587,2872,2786,2782,2460,2674,3497,3813,3297,3016,2758,2230,3019,3286,3063,2896,3223,2961,2666,3344,3313,2858,2779,2787,2876,2780,2481,2281,1976,1665,1572,1722,2296,2670,3228,4026,3555,3270,3106,2511,2578,2159,2011,2331,2685,3739,3880,3343,2392,2432,2476,2919,2734,2630,2612,2445,2461,3058,3797,3784,3391,2873,2220,1689,2021,2918,3253,3319,3352,3281,3123,3018,3006,2702,2530,2622,3223,3588,3786,4012,4056,3880,3729,3619,3474,2908,2967,3427,3276,3240,3295,3302,3416,3438,3518,3391,3226,3227,3378,3469,3554,3614,3438,2960,3167,3462,2871,2886,3028,3009,3046,3200,3420],[2767,2876,3521,3252,2490,2217,2524,2643,2546,2805,3021,2829,2493,2686,2506,2331,2017,2171,2778,2358,2101,2287,2432,2687,2723,2625,2534,2670,3456,3459,2866,2193,2149,2655,2605,2500,2490,2360,2789,2723,2009,1868,1875,2090,2282,2757,2519,1822,1686,1451,1266,2276,2890,2775,3104,3143,3182,3128,3270,3122,3222,3361,3156,3006,3021,2927,2643,1776,1608,1500,1617,1763,1981,2429,2896,3006,2834,2800,3001,2913,2606,2552,2348,2652,2774,3094,2426,1582,1949,2247,1982,1725,1777,2178,2033,1820,1954,2580,2193,1659,2069,1858,1398,1296,1354,1489,1726,2077,2070,1769,1640,1837,2541,2395,2019,1875,1686,1509,1368,1390,2066,2293,1554,1587,1659,1697,1787,1930,2076,2536,2696,2265,1724,1969,2550,2736,2566,2510,1844,1737,1654,1617,1862,1889,1952,2569,2722,2438,1856,1570,1717,1586,1775,2070,1897,1817,1789,1776,1600,1924,2061,1726,1309,1497,1813,2017,3200,3790,2575,1524,1795,2099,1929,1761,1886,1940,1705,1577,1654,2226,2683,2565,2191,1873,2070,1741,1469,1557,1736,1741,1867,1667,1432,1528,1617,1616,1572,1748,2240,2085,2477,2631,2082,2069,2409,1968,1732,1798,1732,2071,2065,2382,2241,2680,3272,3443,3298,2905,2801,2813,2358,2386,2109,2184,2434,2208,2768,3007,2397,2154,2223,2612,2326,1847,1772,2282,2783,2943,2922,2305,2520,2442,2731,2457,2936,2600,2362,2275,2975,3918,3747,2841,2857,2787,3068,3303,3517,3632,2968,1984,1741,1960,2175,2133,1671,1737,2136,1852,2541,3588,3893,3649,3701,3682,3295,2762,2471,2105,2676,2546,1456,2399,2954,2357,2836,3432,2743,2594,3372,3295,2607,2695,3173,3072,2888,2322,1741,1860,1831,1641,2010,2255,2290,2331,2548,2863,3098,2956,2279,2049,2108,2469,2334,2483,2968,2530,1788,1482,1561,1835,2007,2049,2170,2153,2121,2040,2250,2359,2141,1785,1800,2004,1732,1572,2084,2163,1704,2160,2097,1772,1580,1573,1942,2129,1948,1663,1654,1537,1361,1660,2179,2024,1693,1798,2199,2117,2016,1908,1684,1638,1566,1800,2145,2116,1811,1802,2280,2320,2277,2413,2503,2307,2194,2092,2038,1653,1702,2277,2696,2230,2128,2004,1912,2313,2780,2060,1738,2214,2078,2063,2107,1666,1589,1581,1848,1518,1456,1758,2271,2170,2181,2217,1860,2075,2519,2635,2387,1727,1854,2303,2172,2568,2339,1895,1836,2195,2536,2120,1666,1667,1744,2114,2275,2307,2288,2153,2255,1998,1683,1900,2189,2155,1931,1819,1713,1602,1861,2161,1741,1722,1484,1603,1534,1511,1461,1938,2026,1578,1620,1702,1752,1532,1478,1568,1576,1795,1814,1997,2186,1973,2050,1992,1588,1534,1622,1973,1873,1688,1562,1617,1562,1398,1608,1619,1393,1377,1437,1598,1830,1635,1830,1725,1626,1511,1465,1492,1495,1499,1572,1618,1621,1569,1584,2201,2571,2715,1812,1399,1538,1569,1796,2166,2395,3086,3276,2475,2612,3664,3696,2279,1425,1382,1528,2896,3983,3493,2869,2890,2679,2122,2294,2527,2454,2290,1705,1551,1479,1313,1399,1574,1488,1565,1969,2215,2007,2113,2042,1947,2115,1837,1346,1557,2553,3196,3331,3210,2992,2578,2336,1808,1139,1427,1754,2170,2143,2094,1910,1515,1444,1723,1782,1907,1483,1448,1706,1991,2211,2143,1704,1893,1582,1441,1754,1734,1574,1659,2087,2091,1763,1697,1474,1632,1690,1833,2172,2129,1672,1413,1477,1516,1355,1315,1385,1423,1140,1245,1409,1398,1750,1992,1641,1531,1460,1599,1542,1613,2026,1687,1460,1613,1607,1444,1958,2758,2754,2187,1720,2358,3605,3536,3794,3819,4084,3820,3962,4148,4236,4121,3797,3375,3548,3812,4036,4288,4400,4081,4035,4124,4196,3990,3908,3985,2768,1339,2480,3506,3359,3331,2909,2555,2896,3109,3349,3825,4000,4060,4092,3904,4260,3630,3029,3065,3448,4048,4235,3297,2546,2203,1999,1908,2121,2365,2113,1981,1703,1592,1597,1681,1453,1008,1352,2088,1942,1606,1782,1666,1776,1652,1424,1577,1391,1534,1447,1458,1547,1539,1645,1578,1576,1904,1856,1631,1655,1501,1543,1787,1715,2654,2548,2133,1968,2019,2186,2574,3183,2381,1656,1507,1410,1428,1582,1482,1731,2000,1834,1698,1598,1460,1434,1620,1712,1584,1782,1707,2080,2251,1784,1606,2003,1875,1719,1812,1695,1873,2054,1801,1677,1666,1679,1772,2080,2194,1884,1581,1536,1520,1776,2178,2161,1455,1891,1690,2286,2042,1663,1722,1845,1800,1553,1681,1863,1846,2223,2513,1613,2008,1910,1867,1731,1623,2089,2367,2335,2107,1523,1545,1455,1521,1590,1432,1680,1904,1516,1363,1533,1517,1457,1419,1394,1357,1365,1441,1449,1923,1877,1804,1739,1625,1517,1411,1449,1718,1723,1909,2391,2330,1980,1632,1394,1255,1338,1210,1112,1295,1556,1553,1327,1376,1479,1501,1675,1811,2080,1992,1555,1461,1546,1468,1403,1486,1574,1776,1619,1741,1637,1379,1658,1580,1304,1504,1443,1334,1317,1403,1591,1797,1902,1947,1930,1771,1391,1465,1597,1672,1653,1718,1984,1869,1885,2172,2231,2122,1780,1713,1467,1395,1661,1587,1545,1576,1775,1762,1486,1658,1617,1524,1550,1728,1931,2428,2458,2162,2004,1929,1617,1503,1781,2102,2328,2617,1825,1852,2048,1914,1923,1788,1591,1513,1438,1595,1754,1808,1701,2030,2358,1779,1671,2010,1859,1817,2249,2688,3373,3904,3640,2718,1973,1763,2469,3216,2786,3419,3862,4293,4268,3861,3692,3978,4141,3229,1903,1823,1929,1631,1812,1709,2194,2117,1733,2085,2008,1829,1933,1996,2062,1908,2146,2444,2435,2570,2250,2201,2123,2248,3118,2728,2180,2141,1963,1798,1842,2152,1758,1687,1866,2078,1845,1560,2059,2047,2174,2605,2125,2054,2214,1904,2536,2534,1849,1754,1831,1923,2007,1920,1986,2831,3127,2274,2111,1903,1834,2243,2589,2417,2150,2161,2257,1453,1135,1806,2422,2585,2959,3278,3449,3360,2546,2074,2221,2401,2732,2811,2349,2599,3464,3195,2307,1802,1311,1324,1656,1970,1881,2065,1761,1636,1717,1671,1500,1203,783,874,1442,1861,1554,1769,1588,2385,2326,2364,2292,2114,2314,2612,2754,2722,3161,3527,3533,3306,3024,2855,2211,1898,1897,2061,2225,2415,2166,1828,2430,2643,2792,2643,2215,2188,2240,2355,2198,1904,2824,3084,2155,2167,2311,1741,1619,1615,1660,1475,1812,2233,2266,2282,1838,1750,1995,2799,2920,2609,3337,2665,2467,2291,1935,1964,1923,1792,1976,1781,1538,1896,1880,1678,1879,1986,2294,1979,2078,2020,2523,2524,2031,1900,1868,1859,1752,2435,3088,3266,2653,2740,2443,2374,2603,2754,2831,2783,3075,3516,2755,2370,3172,3850,3516,3242,3069,3145,3031,2802,2761,3044,3605,3971,3790,3439,2590,2811,3420,3144,2939,2998,2752,2986,3398,3720,3575,3096,2169,3500,6224,3297,2370,2031,1909,2203,2204,1911,1935,2214,2540,2590,2684,2719,2096,2018,2530,2093,2097,2252,2569,2523,2008,2106,2413,1901,1893,1925,2110,2378,3174,2679,1987,2159,2690,2556,2377,2080,2052,2005,1538,1516,1376,1259,1572,1510,1986,2111,2059,2415,2585,2610,2120,1551,1535,1535,1943,1819,1977,2156,1778,1853,1895,1697,2099,2394,2093,1836,1743,1600,1532,1713,1860,2111,2164,2121,2192,2145,2023,1816,2227,2070,1702,2259,2668,1818,1864,2213,2429,2521,2522,2474,2470,2734,2944,2720,2310,2513,2719,2230,1685,1426,1808,1986,2128,2316,2313,2002,1875,1864,1877,2150,1965,2053,2532,2248,2731,2972,2409,1945,1862,1863,2442,2764,2104,2045,1996,2428,2442,2281,2480,2686,2702,2599,2397,2341,2259,2325,2579,2576,2634,2722,3029,3050,1835,1246,1374,1476,1542,1491,1433,1402,1300,1369,1345,1450,1478,1399,1629,1944,2280,2360,2017,2025,2139,2153,2239,2186,1643,1628,1686,1577,1437,1490,1425,1376,1551,1644,1474,1592,1750,1787,2122,2009,1797,1719,1844,1720,1614,1528,1464,1439,1397,1200,1046,1144,1263,1420,1523,1594,1744,1671,1571,1545,1561,1498,1478,1555,1606,1486,1515,1518,1584,1529,1409,1331,1626,2636,2884,2482,2043,1823,1770,1636,1693,1577,1446,1415,1603,1730,1660,1403,1454,1521,1728,2214,2431,2639,1865,1562,1347,1760,1852,1804,1642,1312,1294,1359,1559,1543,1402,1609,1433,1522,2250,1866,1631,1824,1765,1861,1724,1522,1379,1363,1378,1537,1495,1455,1659,1680,1978,2275,2875,3011,2347,1437,1153,1651,2115,1886,1836,1545,1465,1487,1926,2283,2123,1964,2182,1868,1370,1837,2189,1944,1883,1478,1793,1877,2110,1868,1687,1824,1912,1751,1700,1695,1726,2295,2332,1775,1696,1571,1696,1687,1550,1652,1984,1915,1532,1813,2147,2245,2267,1750,2240,2770,3066,2459,2170,1928,2315,2407,2047,2347,2795,3429,3342,2935,3294,3360,2667,2190,2264,1983,2244,3065,3448,3321,2644,2397,2698,2298,2165,2461,2226,2379,2583,2130,1821,2014,2089,2514,2737,2424,2238,2719,2996,2406,1644,2029,2366,1806,2208,2411,1987,1811,1953,2520,2499,2116,2237,2034,2135,2322,2048,2131,2399,2069,1902,2123,2575,2402,2286,2306,2026,2029,2185,2051,1901,1968,2019,1980,2264,2389,2220,2309,2384,2252,2155,1969,1933,2259,2514,1992,1708,2376,2917,2952,2734,2159,2418,2814,3107,2997,2326,2248,2131,2066,2564,2711,2551,2451,2235,2761,3831,4039,3232,3262,2626,2656,3294,3221,3103,2777,2735,2349,2265,3175,2974,2783,2556,2519,2494,2407,1896,1754,1684,1578,1697,2025,2533,3218,2996,3322,3007,2916,3466,3438,3414,3175,2509,2414,3241,4019,3355,3257,2619,2746,2735,3037,2964,2640,2684,2986,3252,3374,3741,3207,3232,3560,3310,2786,3062,3384,3332,3164,3151,3154,3005,2841,2843,3095,2908,2946,3421,3572,3696,3862,3892,3916,3531,3250,3238,2728,2701,2866,3154,3092,3205,3229,3339,3366,3259,3076,3009,3168,3195,3375,3632,3571,3472,3151,3094,3369,3322,3374,3480,3340,3031,2919,3045],[3304,2962,3404,3592,3169,2718,2592,2353,2320,2243,2530,2308,2343,2639,2531,2315,1944,2481,3150,2679,2933,2449,2434,2661,3016,2895,2651,2929,3215,3297,3020,2442,2676,3348,2919,2136,2266,2653,3277,2706,1986,1823,2168,2248,1884,2114,2266,2175,1987,1478,1769,3011,2929,2809,3006,3096,3110,3349,3145,2702,3109,3270,2957,2907,2884,3218,3206,2004,1458,1454,1576,1621,1984,2501,2763,2866,2335,2465,2791,2643,2788,2386,1910,2047,2324,2752,2439,2100,2203,2116,2072,1881,2002,1992,1907,2199,2193,2414,2315,2296,2254,1651,1313,1222,1449,2250,2088,1963,1713,1602,1486,1482,1945,2041,2432,2586,2013,1629,1565,1870,2001,1535,1569,1816,1704,1785,1780,1870,1785,1829,2473,2311,1618,2367,3607,3604,3537,3095,1824,1841,1744,1609,1852,1631,2058,2671,2604,2770,2567,2070,1924,1844,2030,2398,2088,1877,1881,1810,1947,2335,2317,1637,1366,1378,1848,2924,4168,3548,1975,1440,1994,2022,1657,1663,1694,1829,1910,1643,1577,1890,2556,2666,2121,1944,2121,1909,1644,2113,2094,1647,1732,1560,1492,1746,1912,1555,1579,1566,2399,2138,2224,2505,2090,2095,2418,2284,1853,1676,1864,2137,2248,2150,1749,1612,2304,3073,3204,2973,3033,2341,2024,2211,1959,2627,2213,2445,2915,2480,2282,2198,2146,2213,2060,1809,1994,2506,2822,2553,2575,2408,2662,2365,2293,2631,2823,2651,2542,2152,2610,2978,2873,2994,3454,3364,3382,3381,3740,3756,3293,2500,1977,1954,2007,1927,1693,1863,2480,2176,2442,3279,3684,3764,3602,3217,2624,2297,2465,2822,2785,2205,1621,2666,2946,2919,3298,3608,2973,2655,3138,3288,3078,2806,2774,2909,2618,2275,2126,2637,2526,2083,2514,2394,2008,1922,1990,2296,2446,2579,2061,2130,2502,2843,3222,3306,2872,2108,1708,1439,1314,1597,2373,2465,2356,2301,2365,2053,1862,1960,1830,1534,1448,1533,1490,1443,1759,1838,1692,2306,2309,1731,1470,1593,1860,1963,1763,1623,1631,1438,1416,1435,2085,2082,1584,1440,1664,1772,1787,1883,1881,1712,1751,1935,2101,2220,2014,1909,1754,2001,1991,2076,1768,1522,1573,1681,1764,1599,1615,1885,2686,2231,1896,1710,1533,1971,2358,1935,1998,2220,2080,1903,2137,1597,1853,1859,1613,1483,1803,1954,2224,1965,1951,1707,1372,1819,2342,2641,2784,2351,2521,3196,3077,2297,1734,1798,1754,2004,2341,2281,1894,1791,1824,2181,2708,2461,2088,1976,1924,1965,2014,2244,2632,2402,1966,1745,1634,1547,1631,1686,1733,1778,1618,1595,1879,2033,1612,1551,1482,1638,1694,1658,1577,1613,1512,1617,1947,1886,1814,2159,2116,1904,1926,1887,1687,1720,1583,1640,1743,1625,1524,1569,1543,1424,1549,1721,1621,1797,1682,1701,1562,1565,1721,1581,1411,1378,1455,1518,1504,1594,1538,1694,1663,1562,1388,1570,2364,2316,1699,1410,1548,1739,1729,1708,2194,2260,1950,2566,2964,3356,3140,2007,1395,1332,1544,2730,3854,3208,2576,2476,2004,1473,1587,1942,1991,1764,1485,1449,1464,1458,1499,1593,1380,1459,1747,1769,1622,1511,1421,2148,2839,2415,1603,1652,2687,3445,3747,3365,2679,2925,2482,1636,1198,1238,1391,1520,1503,1575,1622,1489,1856,2556,1896,1706,1836,1742,1898,1981,2236,2339,2070,1815,1548,1589,1550,1582,1591,1613,1919,2083,2188,1919,1432,1359,1578,1682,1816,1635,1519,1666,1677,1285,1473,1391,1440,1268,1374,1681,1600,1493,1732,1724,1478,1655,1458,1706,1799,2226,2265,1661,1608,2046,2230,1698,1766,2187,2260,1781,2100,2954,3994,3061,2002,2051,3110,3605,3770,4002,3968,3883,3925,3893,4015,3970,4139,4182,4320,4277,4048,3968,3870,3979,4024,3884,2745,1257,2342,3014,3166,3154,3328,3327,3416,3654,3862,3967,3885,3874,3751,2985,3466,3028,3055,3023,2974,3665,4084,3249,2439,2170,1983,2028,2866,2875,2257,1997,1516,1575,1447,1487,1472,1320,1547,1817,1601,1484,1638,1748,1918,1559,1364,1533,1650,1609,1425,1448,1542,1544,1725,1857,1712,1666,1467,1599,1540,1642,1770,1562,2374,3648,3430,3074,2484,2127,2088,3144,4569,3704,2167,1632,1500,1585,1612,1572,1488,1399,1644,1823,1487,1457,1587,1591,1532,1527,1548,1349,1564,1693,1659,1603,1666,1528,1478,1575,1578,1898,2000,2342,1787,1513,1516,1671,2095,2137,1678,1552,1676,1814,1824,1794,1566,1663,2203,1908,1834,1538,1495,1639,1698,1373,1579,1740,1802,2101,2160,1814,1652,2481,2565,2155,1771,1547,1764,1924,2088,2039,1493,1622,1636,1518,1462,1724,2585,2415,1536,1353,1543,1623,1533,1490,1452,1393,1392,1495,1410,1727,1872,1806,1521,1483,1547,1455,1600,1441,1503,1708,1890,2041,2062,1742,1582,1449,1409,1333,1426,1526,1617,1554,1334,1377,1427,1462,1733,1588,1983,1763,1737,1831,1872,1803,1560,1546,1764,1873,1661,1593,1580,1724,1615,1273,1422,1532,1416,1426,1488,1563,1756,1941,2476,2492,2192,1665,1486,1742,1795,1635,1435,1575,1832,1875,1977,2098,2207,2309,2136,2030,1626,1525,1601,1563,1687,1640,1705,1674,1744,2102,1633,1574,1772,1981,1750,2069,2164,1712,1757,1677,1420,1470,1902,2119,2177,2210,1848,2159,2024,1740,1566,1493,1476,1361,1373,1539,1678,1758,1654,2039,2242,1676,1570,1748,2162,2742,2799,2535,2338,2115,2125,2190,1877,1748,2379,3059,3153,2822,2831,3178,3133,3041,3153,3348,3619,3522,2619,2464,2309,1627,1902,2317,2305,1746,1450,1606,1891,2557,2304,1850,1838,2010,2562,3084,2758,2417,2399,2406,2238,2373,2223,2239,2557,2313,2126,2622,3050,2732,1825,1491,1758,1981,1802,1841,1962,2009,1807,1915,2245,2132,1963,1903,2040,1928,1644,1732,1772,1745,1900,1899,2036,2629,2813,1973,1772,2042,1827,1873,2336,2548,2713,2343,1991,2031,1698,2071,2440,2310,2739,3499,3498,3139,2234,2320,2412,2426,2857,2815,2478,2609,3042,3028,1898,1502,1191,1374,1788,1744,1323,1425,1749,1737,1555,1474,1449,1064,705,690,1064,1468,1788,2168,2372,2804,2262,1861,2053,2338,2825,2616,2169,1865,2213,3001,2998,2837,2657,2254,1760,1619,2049,2338,2501,2278,1826,1998,2218,2866,3186,2863,2414,2241,2229,2075,1916,2220,2596,2416,1782,1856,2261,1804,1779,1812,1608,1403,2062,2666,2422,2195,1884,1895,2311,3536,3156,2414,2565,2062,1924,1845,1963,2146,2076,1900,1584,1604,1636,2100,2359,1937,2231,2619,2198,1837,1798,1991,2853,2972,2185,2171,1925,1951,2401,2852,3045,2812,2241,2378,2719,3137,3438,2801,2335,2284,2392,2486,2264,3054,3767,3706,3350,3286,3067,2968,3033,3073,3099,3238,3563,3845,3968,3647,3028,3361,3031,2743,2618,2457,2399,2519,3144,3835,3549,2905,1939,3460,5473,3036,2450,2467,2198,2325,2353,2432,2360,2447,2475,2362,2289,1916,1797,2117,2284,1994,1752,2029,2636,2459,1918,2316,2062,1531,1683,2275,2116,2103,2574,2434,2461,2732,2332,1897,1918,2073,1961,1675,1652,1634,1415,1134,2113,1870,1865,2260,2349,2608,2655,2674,2097,1682,1491,1705,1959,1874,1872,1791,1557,1677,1769,1756,2080,2216,2042,1686,1572,1435,1284,1369,1688,2053,2186,2304,2381,2546,2687,1591,1552,1671,1717,2307,2613,1803,1983,2510,2482,2543,2567,2614,2582,2687,2853,3000,2341,2754,2873,2504,1898,1540,1622,2071,2401,2159,1957,1965,2063,2070,1888,1926,1845,1857,2340,2372,2581,2896,2429,1946,1900,1908,2200,2388,1838,1958,2052,2127,2403,2542,2469,2371,2463,2797,3188,2908,2453,2264,2622,2386,2293,2530,3172,3144,1975,1282,1322,1438,1498,1313,1238,1321,1694,1570,1407,1604,1660,1686,2225,2596,2664,2690,2655,2873,2980,2998,2728,2956,2201,1560,1941,2197,1914,1642,1539,1459,1502,1661,1500,1555,1732,1922,1543,1299,1422,1500,1368,1411,1549,1447,1554,1555,1478,1499,1663,1794,1580,1542,1521,1396,1330,1269,1319,1576,1815,1466,1569,1717,1549,1472,1429,1493,1788,1715,1533,1368,1604,2183,2415,2450,1925,1930,1744,1557,1610,1676,1616,1615,1820,1827,1542,1415,1566,1574,1970,1804,2154,2329,1575,1357,1098,1539,1919,1754,1434,1359,1343,1275,1296,1286,1447,1534,1310,1789,2357,2095,2098,1873,1639,1636,1610,1852,1676,1560,1654,1714,2062,2152,1924,1747,1786,1807,1937,2208,2104,1477,1562,2142,2003,1649,1664,1749,1764,1766,1750,1853,1731,1897,2437,1839,1404,1586,1865,1965,2289,2097,1977,1607,1623,1817,1749,1791,1850,1823,1798,1858,1824,1788,1851,1736,1769,1675,1619,1770,1890,1906,2004,1985,1814,1731,1778,1911,2261,1956,1781,2493,2514,2086,2046,2110,2630,2557,2059,2291,2337,3086,3401,3231,3558,3375,2875,2140,1844,2359,2230,2433,2891,2620,2386,2346,2485,2229,2237,2831,2683,2566,2564,2001,2082,2534,2054,2304,2718,2296,1817,2019,2326,3164,2823,2547,2417,2125,2471,2148,1948,2136,2698,2731,2308,2033,2118,1992,1974,1903,1917,2480,2430,1863,2136,2791,3208,2328,2195,2565,2208,2353,2620,2352,2146,2141,2017,2105,2101,2037,2021,1988,2063,2047,2116,2107,1980,2162,2452,2181,2056,2549,2934,2974,2856,2760,3051,3403,3415,2736,2178,1989,2098,2295,2419,2568,2339,2520,2469,2558,3251,2829,2132,2712,2894,2881,2818,2857,2584,2510,3082,2975,2679,2746,2613,2468,2598,2620,2367,2001,1915,1965,2030,2233,2158,2059,2250,3420,3088,2967,3370,3781,4052,4061,3994,3441,2197,3104,3370,2808,2680,3190,3190,3142,3266,3443,3131,2870,2814,3367,3620,3093,3338,3574,3677,3808,3979,3941,3780,3540,3333,3046,2917,2930,3150,3321,2941,3129,3255,3105,3054,3176,3499,3692,3818,3940,3642,3383,3287,2777,2630,2856,3178,3259,3367,3396,3386,3363,3294,3262,3221,3275,3050,3227,3586,3469,3438,3214,2953,2988,2841,2642,3072,3415,3066,2529,2403],[3597,3251,3295,3501,2883,2313,2016,2397,2634,2740,2589,2357,2788,3018,2619,2329,2352,2895,3874,4030,3399,2856,3023,3142,3443,3561,3454,3081,2865,3054,2843,2662,3416,3520,2533,2358,2813,3304,3082,2258,1805,2019,2424,2195,1839,2298,2655,2468,2712,2518,3067,3224,2968,3071,3200,3005,2915,3167,3065,2647,2895,2572,2207,2333,2311,2699,3050,2257,1721,1519,1476,1783,2260,2414,2847,3508,2448,2514,2097,2259,2747,2237,1986,2468,2978,3198,3250,2775,1898,1741,1922,1814,1804,1505,1461,1718,1866,1665,1924,2668,2543,1876,1410,1168,1394,2104,2165,1995,1846,1816,1660,1455,1612,1908,2303,2131,1589,1354,1415,1874,1722,1346,1511,1845,1766,1633,1789,1958,1580,1715,2199,2273,1718,2195,3563,3641,3453,2933,1800,1880,1957,1870,1777,1582,2072,2363,2722,3237,3274,2811,2574,2190,2108,2069,1968,2154,2142,1841,1726,1915,2311,1722,1887,1714,2242,3312,3805,3062,2084,1741,1725,1421,1448,1800,2066,2051,1816,1709,1910,1701,2094,2354,1884,1864,2198,1762,1600,2218,2305,1923,1801,1920,1518,1542,1452,1472,1491,1537,1884,1759,1934,2342,2298,1871,2565,2633,1984,1753,1790,2055,2126,1970,1662,1610,1912,2436,2824,3019,2921,2213,2182,1946,2531,2630,2136,2528,2525,2500,2757,2523,2593,2778,2292,2152,2215,2346,2775,2587,2449,2544,2400,2185,2224,2581,2460,2477,2493,2028,2097,2186,2484,3026,3374,3120,3250,3209,3013,2698,2610,2879,2695,2362,2083,2206,1940,1883,2164,2101,2054,2752,3284,3096,2778,2558,2148,1952,2535,3375,2846,2007,2189,2831,2957,3098,3393,3495,2964,2501,2840,3014,3071,2774,2586,2774,2584,2641,2449,2974,2663,2583,2800,2698,2636,2418,2243,1948,2105,2308,1865,2059,2533,2865,3473,3593,3134,2657,2351,1681,1361,2208,3039,2978,2443,2414,2448,1851,1157,1271,1641,1598,1622,1687,1631,1616,1759,1650,2053,2472,2230,1721,1553,1770,1992,1975,1895,1888,1994,1674,1541,1802,2101,2232,2065,1733,1673,1918,1706,1699,1924,1956,1853,1785,2168,2266,2041,1787,1801,1758,1541,1832,1887,1616,1924,2514,2344,1741,1835,2320,3232,2920,1885,1681,1750,2163,2344,2144,2180,2107,2215,2178,2117,1992,2185,1889,1834,2002,2079,2034,1871,1870,1934,1915,1657,1710,2064,2294,2492,2396,2775,3408,3076,2212,2126,2239,1867,2032,2209,2146,1797,1830,2073,2362,2502,2139,2101,2141,1865,1907,2013,2226,2176,1914,2020,1636,1472,1403,1561,1651,1560,1521,1553,1637,1784,1771,1672,1813,1621,2051,2017,1758,1886,1969,1648,1475,1681,1692,1716,1932,1879,1842,1612,2009,1884,1665,1505,1586,1666,1693,1635,1548,1389,1293,1454,1751,1736,2061,1946,1758,1561,1738,1657,1484,1615,1510,1325,1361,1582,1782,1715,1788,1623,1557,1443,1339,1571,1862,1990,1566,1393,1577,1672,1547,2223,1763,1677,2330,2172,2070,2049,1635,1394,1372,1437,2003,2700,2314,1930,1732,1622,1515,1496,1605,1775,1677,1455,1393,1338,1377,1315,1318,1368,1372,1593,1698,1701,1670,1631,1917,2168,2047,1802,1666,2440,2932,3484,3021,2291,3200,2526,1613,1533,1487,1404,1416,1463,1765,2192,2093,1955,1899,1807,1958,1827,1813,2656,2814,2192,2001,1987,1790,1599,1504,1426,1579,1550,1586,2251,2343,2199,2004,1724,1713,1475,1295,1528,1613,1844,1843,1556,1412,1702,1628,1406,1321,1572,1948,2043,1754,1534,1665,1590,1548,1394,1414,1601,2243,2065,1650,1811,2662,2820,1907,1898,2175,2142,1676,2317,3058,3974,3133,1825,1856,2766,3349,3741,3657,2880,3254,3409,3582,3818,3834,4001,4124,4385,4121,3497,3475,3657,3698,3685,3870,2984,1242,2426,3329,3514,3353,3606,3864,3912,4277,4268,4085,4168,4092,4121,3304,3341,3108,2736,2419,2744,3394,3414,2827,2519,2191,2022,1929,2732,2999,2150,1661,1088,1241,1531,1549,1476,1405,1469,1505,1529,1414,1542,1659,2046,1715,1573,1452,1926,1974,1924,1971,1516,1728,2053,1991,1652,1526,1546,1605,1394,1531,1813,2164,3038,3393,4252,4485,3661,2359,1971,3697,4713,3869,2048,1635,1561,1489,1340,1299,1553,1551,1633,1656,1605,1661,1628,1563,1449,1388,1475,1694,1913,1990,1881,1662,1589,1469,1492,1583,1474,1490,1787,1971,1920,1934,2019,1908,2146,2216,1810,1949,1570,2036,1886,1847,1845,2126,2621,2395,1626,1505,1635,1770,1806,1773,2123,2060,1905,2100,2139,1772,1981,2290,2190,2156,1945,1628,2016,2040,1643,1818,1631,1533,1545,1483,1415,1819,2208,1785,1452,1833,1619,1410,1442,1483,1560,1351,1294,1364,1398,1470,1506,1465,1614,1968,1968,1447,1554,1456,1613,1731,1894,1927,2018,1980,1640,1367,1378,1449,1536,1448,1457,1388,1295,1443,1424,1291,1529,1608,1596,1542,1681,1658,1766,1885,1820,1715,1862,1876,1594,1323,1683,1878,1448,1221,1451,1547,1647,1554,1620,1669,1783,2074,2834,2750,2436,1992,1853,1909,1776,1769,1762,1598,1637,1842,1785,1913,2023,2022,1858,1697,1501,1523,1606,1816,1774,1553,1562,1444,1667,1880,1576,1483,1534,1454,1504,2093,2160,1779,1499,1652,1864,1598,2004,2177,2089,2053,2371,2409,1953,1795,1474,1411,1627,1355,1325,1629,1919,2184,1852,1590,1466,1511,2056,2547,2681,2742,2504,1918,1562,1553,1815,1928,1771,1896,2366,2833,2754,2458,2289,1987,1837,1910,1921,2069,2470,2829,2589,2429,2362,2050,2033,2328,2438,1934,1572,1577,2154,3298,3241,2458,2350,2431,2535,2769,2669,2191,1954,1943,2398,2459,1820,2093,2602,2641,2448,2622,3254,2936,2066,1398,1317,1294,1691,1877,1940,2259,1789,1622,1767,1570,1739,1746,1911,2041,1815,1813,1953,2031,1899,1767,2033,2214,1739,1658,2326,2433,2198,1861,2280,2809,2905,2658,2286,2769,2341,2126,2592,2619,2789,3494,3530,3512,2878,2751,2988,2932,3042,3169,3176,3077,3131,3017,2247,1526,1126,1236,1350,1226,1074,1073,1231,1525,1560,1631,1428,1003,884,772,964,1280,1724,1872,1961,2012,1928,1927,1962,2056,2363,1984,1753,2187,2130,2187,2386,2602,2587,2249,1749,1746,2098,1919,2302,1835,1888,1941,1606,2178,2643,2599,2318,2132,2054,1999,2077,2199,1953,1860,1744,1832,2040,2231,2156,2092,2598,2515,2357,2734,2024,2103,2147,1912,2397,3009,2642,2556,1956,1603,2008,2440,2516,2556,2207,1700,1440,1429,1522,2359,2126,2041,2530,2932,2470,2049,1902,1848,2160,2919,2531,2223,2077,2586,2984,2850,2827,2591,2138,2147,2229,2612,2840,2114,2191,2356,2105,2259,3060,3824,3918,3705,3462,3252,3300,3365,3514,3723,3728,3609,3432,3359,3439,3701,4024,3792,3194,3194,3067,2963,2685,2460,2675,3398,3278,2536,1838,2308,3322,2708,2530,2568,2514,2593,2460,2403,2732,2898,2444,2107,1823,1678,1801,2058,2216,1916,1580,1950,2544,2548,2179,2061,1588,1619,1696,1950,2090,2124,2182,2498,2797,2785,2345,1968,2060,2555,2197,1809,1945,1838,1546,1215,1910,1907,1542,2405,2652,2499,2412,2364,2245,1765,1869,2195,2045,1941,1807,1853,2104,2157,1920,1582,1732,1630,1471,1500,1388,1184,1482,1831,1912,1878,1926,2203,2010,2275,3073,1961,2139,2532,1958,1992,2360,1883,1954,2690,2708,2854,2905,2965,2766,2745,2856,3041,2617,2519,2619,2264,1708,1596,1817,2298,2457,1978,2126,2442,2256,1888,1925,1891,1723,1926,2360,2369,2202,2397,2208,1946,1911,1888,1879,1837,1885,1968,2252,2350,2260,2372,2358,2416,2392,2281,2595,2612,2315,2195,2191,2036,2198,2753,3278,2911,1972,1383,1369,1323,1406,1429,1325,1380,1615,1368,1363,1875,2292,2622,2858,2692,2687,2736,2910,3100,3265,3196,2930,3421,2628,1632,1930,2477,2314,1820,1551,1395,1355,1638,1475,1508,1812,1904,1525,1460,1534,1562,1417,1563,1992,1970,1969,1827,1765,1674,1607,1550,1427,1375,1332,1311,1283,1354,1333,1738,2057,1610,1914,1686,1491,1611,1560,1626,1744,1509,1481,1471,1521,2165,2160,1601,1493,1887,1783,2013,1943,1975,1885,1592,1807,1760,1581,1516,1679,1634,2108,1510,1605,1632,1443,1494,1362,1461,1658,1633,1715,1453,1359,1352,1417,1310,1748,1936,1568,1776,2009,1980,1820,1653,1623,1552,1720,2186,1752,1713,1954,1996,2304,2222,1832,1550,1514,1829,1733,1891,2184,1558,2017,2528,1816,1772,1772,2081,2415,2218,1656,1958,2126,1913,2035,1722,1737,2087,2327,2282,2852,2847,2568,2332,2218,2003,1772,1667,1520,1623,1601,1821,1535,1679,2061,2002,1814,1647,1621,1732,1858,1550,1393,1430,2041,1946,1713,2108,2286,2038,1719,1811,2010,1991,1998,2087,2343,2243,2351,2448,2310,3129,3561,3834,4128,3908,3519,2611,2267,2556,1803,1681,2210,2276,2747,2669,2426,2162,2354,3000,2923,2887,2662,2077,2108,2315,2136,2281,2556,2131,1734,1575,1816,2598,2714,2448,2124,1958,2223,2030,1863,2068,2570,2756,2039,1758,1754,1647,1569,1564,1996,2707,2174,1768,2453,3295,3230,2349,2654,3098,2586,2597,2834,2566,2575,2846,2579,2684,2446,2070,1891,1935,2141,2197,2405,2595,2352,2241,2264,2337,2128,2077,2296,2181,2086,2237,2544,2876,2890,2569,2092,1840,2164,2459,2669,2412,2186,2288,1970,2134,2341,2180,2313,2664,2725,2354,2305,2379,2096,2524,2896,2451,2192,2209,2309,2584,2740,2679,2181,1813,1907,1612,1946,2430,2325,2429,2780,3448,3330,3064,4007,4196,3512,3591,3956,3211,2656,3595,2805,2356,2321,2880,3534,3508,3627,3626,3213,2906,2705,2898,3372,3453,3679,3991,3941,3849,3788,3857,4016,3632,3271,3067,2673,2774,3269,3720,3353,2995,3019,2802,2520,2845,3421,3573,3652,3749,3659,3609,3513,3172,3002,3124,3338,3432,3366,3338,3493,3511,3509,3573,3270,2878,2712,2878,3027,2928,2764,2561,2806,2771,2149,2108,3116,3396,3121,2863,2910],[3408,3329,3050,2740,2126,2071,2256,2799,2877,2712,2688,2787,2751,2503,2354,2159,2148,2546,3288,3470,2963,2592,2746,3145,3494,3613,3353,3204,2843,2885,2818,2821,3323,2702,2425,3016,3005,2972,2792,2170,1840,1936,2314,2399,2164,2356,2768,3030,3052,3065,2740,2531,2830,2723,2331,2465,2863,2879,2755,2642,2950,2393,1924,1987,1644,1803,2666,2700,1913,1569,1708,1874,2208,2750,2852,3106,2834,2903,2524,2235,2252,2189,2352,2895,3150,3031,3219,2698,1677,1914,1894,1742,1654,1687,1924,1766,1392,1477,1876,2413,2357,1663,1404,1307,1566,1954,2426,2348,1926,1689,1632,1706,1858,1810,1682,1426,1400,1437,1452,1893,1767,1422,1436,1475,1632,1897,2124,1967,1678,1879,2282,2017,1656,2013,2530,2656,2336,2073,1693,1458,1656,2255,2200,1841,1760,1854,2819,3042,3023,3097,2863,2536,2092,1741,1982,2258,2028,2023,1839,2356,2977,2314,2614,2533,2378,2494,2718,2428,1938,1621,1628,1619,1598,1685,2094,2093,1842,1751,1986,1724,1522,1576,1488,1521,1626,1373,1522,2026,2281,1840,1825,2257,1692,1479,1774,2048,2024,1893,1826,1817,2004,1967,2273,2084,2751,2133,1745,1832,2194,2411,2489,2490,1988,2035,2097,2102,2416,3155,2288,2163,2193,2329,2600,2332,2350,2413,2591,3016,3185,2731,2750,2541,2591,2595,2717,2895,2928,2801,2470,2221,2009,1816,2138,2693,2718,2640,2278,1730,1731,1757,1802,1847,2084,2520,2696,2259,2036,2145,2488,2586,2636,2423,2396,1915,1698,1974,2076,1948,2116,2832,2994,1832,1390,1664,2003,2142,3194,3610,2690,1974,2555,3276,3264,3288,3632,3580,3024,2475,2863,3008,3088,3257,3060,3063,3037,2629,2604,2640,2508,2832,2294,2612,2113,2231,2092,1805,2014,1962,1770,1961,1989,1968,2191,2381,2499,2190,2068,1548,1051,2131,3420,3195,2522,2307,2316,1831,858,1063,1282,1192,1484,1756,1762,1765,1780,1574,1910,2012,1829,1646,1656,2000,1986,1688,1681,1825,2023,1735,1660,2054,2041,2137,2632,2323,1824,2006,1792,1709,1744,1917,1942,1721,1973,1911,1906,2134,2286,2012,1677,1739,1821,2063,2026,2703,2290,1978,1954,2394,2774,2254,1850,2152,2267,2275,2267,2351,2201,2155,2290,2364,2142,2618,2322,1785,1848,1928,1939,2028,2117,2003,1737,1989,1768,1873,2137,2463,2597,2383,2533,2612,2340,2040,2266,2159,2046,1887,1774,1960,1824,1831,2046,2096,2041,2049,2019,2271,2540,2453,2088,2335,1788,2156,1852,1447,1496,1547,1826,1707,1453,1671,1766,1748,1655,1649,1810,2176,1733,2041,2037,1678,1725,1936,1898,1588,1614,1506,1421,1432,1888,1918,1624,1725,1754,1805,1802,1571,1870,2314,1756,1681,1534,1699,1433,1421,1798,1919,1848,1591,1485,1577,1451,1536,1680,1543,1378,1515,1700,1820,1864,1751,1664,1748,1743,1730,1709,1858,2149,1736,1455,1404,1537,1523,1671,1495,1758,1816,1401,1433,1627,1448,1386,1369,1302,1403,1469,1819,2105,2054,1851,1578,1538,1610,1518,1665,1549,1448,1321,1349,1577,1951,1665,1436,1466,1515,1557,1585,1507,1351,1444,1527,1691,2065,2710,2909,2704,2392,2421,2892,2383,1570,1650,1579,1619,1484,1448,2125,2841,3078,2754,2397,2386,2164,1693,2369,3277,2884,2266,2041,1824,1915,1842,1515,1470,1488,1520,2100,2544,2093,1913,1904,1942,1707,1432,1352,1438,1509,1770,1679,1426,1414,1607,1486,1383,1561,1680,2232,2348,1902,1555,1502,1456,1439,1672,1926,1862,2208,2691,2314,1886,2502,3155,2184,1849,2276,2298,2069,2424,3188,3948,3758,2658,2166,2518,3168,3110,3098,1880,2195,2266,2609,3548,3857,3977,4235,4384,4428,4061,4120,3913,3527,3549,3961,3297,1383,1914,3234,3729,3478,3602,4041,4140,4424,4569,4404,4154,4272,4362,3438,3146,3113,2676,2532,3301,4018,4040,3352,2814,2166,1939,1979,2198,2221,1661,1397,1288,1627,1790,1443,1355,1426,1415,1413,1500,1394,1536,1823,1824,1532,1542,1653,1872,1991,2236,2046,1832,2194,2436,2016,2065,1955,1560,1442,1483,1775,2053,2824,3278,2733,4179,4499,4491,3293,2754,4060,4340,2908,1682,1591,1584,1387,1270,1469,1806,1645,1466,1435,1472,1636,1497,1523,1548,1441,1470,1588,1622,1668,1765,1547,1441,1467,1475,1468,1486,1475,1572,1836,1906,2006,2029,1837,2205,1953,1742,2002,1627,1767,1791,2018,2000,2038,2625,2360,1606,1632,1774,1811,1514,2079,2024,1715,1807,2548,2584,2003,1932,1848,1955,1898,1802,1560,1703,1484,1288,1979,2051,2223,2226,1785,1534,1585,1636,1518,1513,1872,1572,1411,1395,1541,1506,1287,1289,1413,1436,1528,1551,1490,1974,2431,2391,2233,1919,1638,1667,1583,1572,1652,2017,2267,1808,1396,1386,1379,1403,1498,1450,1528,1468,1835,1610,1458,1754,1803,1918,2071,1670,1658,1760,1544,1636,1497,1908,1868,1404,1455,1489,1438,1484,1332,1418,1503,1494,1476,1619,1695,1486,1432,1570,1822,2162,1969,1803,1811,2065,3078,3212,2631,2267,1825,1687,1687,2055,1998,1610,1603,1911,2290,2204,2141,1947,1866,1947,1556,1466,1388,1589,1549,1371,1373,1634,1808,1970,2020,1760,1886,1944,1900,2170,2154,2148,2063,2225,1927,1560,1620,1568,1675,1635,1425,1468,1549,1735,2171,1844,1478,1594,2205,3218,3532,3044,2230,1621,1558,1399,1570,1784,1992,1820,2120,2437,2110,2102,2208,2237,2309,1981,1741,1741,1875,2014,2039,2237,2398,2495,2532,2271,2386,2644,2108,1553,1635,2996,3889,3579,3019,2860,2504,2475,2622,2398,1857,1544,1754,2424,2714,2409,2069,2356,2548,2419,2954,3215,3142,2580,1794,1986,2106,2034,2120,1997,1964,1841,2166,2388,2189,1985,1964,1991,1897,1799,2184,2444,2271,1806,1578,1761,1879,1646,1966,2766,2646,2352,2258,2514,3044,2795,2501,2121,2931,2409,1885,2812,3178,3164,3432,3480,3414,3455,3482,3582,3326,3283,3407,3241,3045,2908,3013,2627,1852,1610,1610,1203,1054,1107,1060,1130,1479,1439,1603,1490,1144,943,891,1058,1279,1463,1615,1784,1946,2273,2276,2072,2187,2132,1923,1854,2272,2006,2138,2746,2523,2664,2439,1830,1934,1863,1976,1876,1760,2408,2414,2546,2476,2060,1947,1955,2095,2011,2111,2170,2131,2205,2435,2280,2051,2171,2523,2414,2657,3614,3198,2718,2732,2081,1980,1772,1643,1724,2053,2132,1944,1621,1553,1892,2408,2742,2821,2478,2218,1732,1384,1624,2244,2170,1960,2204,2443,2077,1990,1881,1914,1427,2105,2697,2425,2093,2591,2784,2601,2518,1718,1116,1112,1393,1768,1972,2132,2181,2127,2180,2776,3498,4007,4191,3951,3554,3375,3412,3536,3464,3530,3354,3258,3205,3248,3235,3550,3528,2629,2587,2764,2558,2845,2252,2213,3288,2984,3204,2800,1922,2014,2579,2487,1901,1979,2004,1998,2017,2063,2534,2713,2466,2520,2194,1989,2022,1909,1816,1748,1980,1922,1890,2288,2226,1727,1730,2078,2366,2376,2520,2285,2377,2888,3240,2788,2844,2236,2273,2315,1794,1742,1824,1564,1529,1901,2204,2168,1996,2602,2223,2077,2248,2387,2020,2116,2846,2442,1770,1550,1494,1798,2338,2116,1643,1390,1437,1349,1306,1541,1398,1315,1813,1909,1854,1753,1947,2208,1975,2248,2613,1886,1606,1614,1620,1933,2513,2169,2136,3050,3177,3221,3249,3255,3096,2785,2563,2684,2426,2067,2192,1816,1413,1574,1980,2060,2051,2112,2334,2136,1889,1780,2066,2015,1989,2523,2497,2188,1771,1776,1896,1933,1766,1521,1575,1704,1844,1894,2262,2491,2077,1931,1867,2022,2417,2286,2279,2245,2226,2244,2199,2139,2382,2911,3149,2900,2020,1391,1429,1365,1322,1340,1301,1353,1462,1372,1593,2349,2497,2455,2413,2608,2688,2731,2761,2877,3130,3080,2831,2883,2418,1999,1991,2338,2146,1700,1424,1355,1334,1581,1516,1387,1894,1955,1653,1444,1420,1468,1542,1697,1910,1669,1520,1399,1463,1394,1458,1561,1402,1347,1496,1499,1318,1526,1596,2659,2348,2059,2372,2129,2092,2081,1630,1461,1450,1385,1428,1533,1520,2664,2980,1982,1310,1412,1666,2094,2110,2039,1869,1604,1904,1652,1576,1691,1915,1720,1632,1548,1433,1305,1438,1463,1342,1371,1266,1471,1618,1271,1274,1440,1477,1529,1899,1952,1836,1814,1808,2180,1744,1697,1909,2083,2909,3265,2599,1876,1878,1938,1851,1640,1554,1718,1732,1856,1984,2051,1952,1652,1680,1727,1654,1890,1917,1917,2140,2402,2292,2104,2168,1825,2358,2605,2792,2840,2573,2325,2834,2834,2493,2410,2002,1902,2042,1927,1622,1500,1738,1780,1535,1580,1770,1899,2170,2413,2088,1849,1659,1481,1192,1320,1699,1854,1785,2095,2129,1889,1766,1821,1860,2026,2248,2448,2549,2693,2680,2641,2820,3182,3401,3680,3957,3447,3418,3196,3128,2751,1886,1937,2595,2768,2938,2979,2581,2137,2462,2864,3078,2975,2289,1928,2452,2588,2428,2195,2128,1961,1772,1737,1845,1840,2123,2095,2122,2014,1685,1905,2042,2232,3082,3253,2405,2140,2086,1919,1606,1673,1858,2138,2180,2119,2178,2240,2280,2054,2458,2543,1920,2070,2920,3084,2742,2574,2244,2470,2894,2829,2990,2853,2664,2685,2792,3200,2829,2552,2629,2470,1637,1458,1804,1908,1724,1516,1766,1880,2014,2247,2332,2199,2301,2437,2911,2513,2260,2197,2273,2199,2106,2316,2480,2446,2427,2502,2889,2175,2510,3116,2456,1643,1954,2107,2274,2349,2496,3483,2504,1796,1625,1937,2214,2727,3159,3210,2972,3221,3243,2863,3620,3651,3229,3570,3732,2917,3001,3134,2955,2877,2604,2780,3338,3659,3309,3210,3332,2736,2736,3276,3934,3896,3762,3980,4212,4017,3597,3265,3440,3527,3350,2923,2661,2806,3462,3862,3730,3359,2831,2231,2144,2666,3222,3464,3491,3535,3624,3591,3646,3646,3438,3463,3588,3575,3414,3363,3450,3485,3536,3232,2642,2513,2322,2242,2400,2244,1589,1647,2264,2361,2302,2202,2968,2785,2270,2213,2762],[2634,2366,2743,2730,2503,2330,2186,2732,3076,2994,3064,3056,3065,2617,2271,2159,2093,3095,3549,2995,2610,2865,3217,3199,3397,3280,3370,3216,2482,2838,3061,3529,2997,2365,2737,3046,2894,2561,2522,2458,2008,1735,2640,2650,2208,1955,2305,2978,2675,2376,2317,2426,2453,2592,2941,3429,2778,2556,2710,3110,3301,3128,2233,1741,1669,1644,2514,2941,2084,1789,1714,1639,1738,2792,3132,2824,3266,3234,2453,2116,2171,1959,2210,2757,2418,2435,2679,2677,1990,2431,2414,2026,1901,1945,2313,2133,1437,1502,1611,1784,1702,1527,1594,1697,1711,1668,1628,1732,1735,1595,1486,1851,1931,1862,1779,1715,1764,1527,1417,1524,1398,1301,1426,1488,1653,2115,2169,2044,2420,2710,2833,2054,1360,1346,1584,1548,1426,1797,2047,1644,1585,2065,2359,2094,1687,1615,2762,3143,3459,3627,3528,3176,2344,2504,2553,2553,2171,2402,2347,2975,2709,2065,2088,2213,1853,1531,1542,1659,1694,1535,1688,2281,1906,1624,1622,1766,2042,1973,1753,1664,1673,1646,1478,1362,1433,1497,2002,2338,2554,1976,1890,2037,1693,1455,1525,1927,2096,1582,1560,1676,1865,1768,2369,2833,2658,1945,2036,2484,2434,2375,2789,2549,2034,1991,1705,1543,1851,1849,1918,2309,2082,2362,2401,2498,2758,2591,3216,3248,3369,2698,2605,2250,3027,3089,3019,2863,2599,2469,2059,1745,1864,1953,1967,2430,2787,2380,2177,1781,1708,1845,1757,1626,1792,2304,2388,2122,2178,2730,2806,2609,2448,2037,2178,1819,1372,1560,1888,1842,2176,2630,2775,2337,2116,2357,2653,3320,3616,2691,2115,2287,2877,3392,3312,3002,3003,2834,2720,2596,2874,2891,3177,3351,2743,2816,3376,2729,2264,2030,2405,2625,2091,2046,2017,2125,1782,1919,2112,1912,1951,2148,2570,2420,2195,2046,2193,1765,1816,1694,1379,2439,3314,2981,2784,2248,1980,1583,823,979,1120,1035,1377,1744,1753,1809,1719,1685,1700,1548,1707,1713,1780,1948,1733,1609,1568,1880,1969,1750,1648,1740,1869,1935,1894,1800,1644,1634,1588,1511,1536,1740,1853,1881,1881,1768,1820,2155,2411,2327,1960,1720,1720,1888,1743,1938,1719,1650,1648,1721,2085,2448,2422,2522,2495,2281,2439,2568,2450,2358,2166,1830,2120,2547,2447,2288,2360,2019,1672,1769,2193,2225,2452,2653,2025,1940,2373,2633,2426,2358,2598,2248,2198,2118,2247,2172,2575,2170,1765,1746,1960,2122,2239,2160,2295,2252,2043,2315,2861,2879,2475,2136,1843,2427,1994,1575,1957,2128,2055,1699,1741,1654,1814,1903,1608,1699,1990,2280,1974,1799,1850,1657,1427,1509,1707,1588,1426,1456,1368,1881,2326,2258,1911,1590,1604,1942,1997,1488,1399,1553,1518,1562,1531,1616,1396,1551,1668,1543,1675,1704,1532,1476,1482,1502,1584,1498,1365,1407,1550,2026,2268,2159,1843,1834,2044,2332,2097,1978,1621,1527,1534,1488,1755,1716,1570,1507,1471,1415,1515,1714,1716,1663,1557,1397,1499,2082,2258,2023,1696,1640,1621,1542,1736,2022,1658,1792,1488,1393,1443,1414,1719,2040,1748,1487,1375,1344,1439,1666,1610,1522,1542,1595,1741,1890,2596,3096,2986,2634,2111,1993,1766,1690,1952,1741,1778,1481,1490,1492,1901,2380,2730,3052,2908,2035,1809,2565,2334,1813,2492,2613,2508,2238,2046,1838,1566,1525,1587,1814,1961,2133,2136,1985,2059,2087,1861,1784,1670,1613,1810,1943,1658,1425,1447,1395,1549,1744,2250,2636,2410,2350,1996,1617,1736,1701,1924,2093,2041,2524,3024,2987,2145,2051,3123,2326,1762,2185,2402,2137,2084,2503,3435,3926,3187,2459,2197,2452,2212,2534,1934,1770,2134,2845,3746,4075,4161,4255,4124,4355,4187,3736,3359,3461,3774,4175,3462,1645,1483,3006,3588,3380,3637,3804,3975,4337,4337,4103,3938,4316,4151,3649,3607,3594,3323,3056,3463,3990,4016,3786,2993,2325,1825,1770,2013,2033,1617,1465,1498,1593,1616,1401,1362,1375,1501,1619,1450,1453,1483,1883,1843,1444,1476,1413,1528,2274,2281,2082,2090,2489,2249,1733,1736,1543,1445,1499,1507,1538,1653,2083,2722,3453,4201,4357,3727,2569,2198,2928,2968,2119,1432,1647,1896,1721,1670,1901,1731,1709,1625,1459,1284,1421,1601,1774,1711,1429,1566,1442,1537,1791,1700,1528,1727,1622,1549,1527,1588,1596,1582,1604,1619,1938,2087,1897,2200,1900,1918,1793,1561,1646,2047,2368,2193,2399,2303,1976,1949,1884,2015,2208,2261,2597,2047,1686,1807,2840,3068,2198,1618,1626,1628,1569,1671,1685,1599,1234,1368,1932,2437,2527,2259,2127,1686,1537,1477,1426,1406,1396,1366,1432,1378,1509,1686,1695,1470,1506,1367,1321,1264,1399,1790,2003,2708,3223,2530,2023,1976,1981,1890,1664,2277,2894,1994,1584,1475,1535,1522,1508,1457,1494,1331,1454,1575,1621,1731,1624,1671,2022,1865,1984,1534,1433,1447,1291,1688,1542,1238,1637,1771,1757,1759,1610,1643,1740,1505,1479,1654,2162,1825,1392,1356,1708,2122,1901,1804,1748,2179,3283,3825,3930,3583,3375,2780,2039,2080,1938,1645,1578,1754,2200,2510,2774,2346,2100,2180,1918,1624,1704,2355,2270,1278,1403,1680,1612,1635,1788,2081,1941,1814,1820,1841,1767,1721,1918,2026,1766,1817,1847,1726,1682,1495,1721,1748,1824,2020,1906,1606,1803,2188,2907,3522,2767,2038,1704,1598,1797,1478,1353,1573,1794,1941,2478,2253,1483,1736,1882,1964,2123,1840,1715,1874,1875,1937,1900,2026,2190,2390,2459,2052,1812,1875,1595,1499,1719,2935,3434,3197,3191,2921,2719,2728,2712,2735,2453,2371,2557,2698,2319,2109,2229,2170,2183,2084,1756,1831,2536,2708,2425,2752,2432,1729,1656,1535,1562,1646,2047,2061,1904,2175,2371,2216,1897,1902,2403,2447,2002,1850,1659,1759,2014,2047,1913,2105,2138,2135,2367,2283,2680,3120,2715,2069,2367,2096,2163,3356,3726,3338,3365,3390,3392,3429,3450,3704,3725,3770,3179,3171,3357,2828,2544,2725,2397,2092,1746,1064,902,1067,1374,1422,1597,1655,1581,1459,1193,932,942,1176,1395,1468,1714,1929,1803,1992,1917,1941,2041,2175,2352,2404,2601,2356,2463,2647,1949,2018,1635,1999,2030,1954,1978,1676,2161,2754,2739,2453,2287,2007,1946,2254,2263,2126,2523,2170,2221,2252,2026,2108,2154,2072,2463,2438,2369,3449,3371,2757,2583,2147,2431,1949,1355,1792,2114,1787,1860,1548,1577,1975,2312,2509,2571,2214,2344,2434,1969,2089,2491,2313,1874,2063,2026,1948,1913,2060,2221,2093,2535,2193,2002,2014,2406,2573,2546,2125,1306,1522,1853,1960,2203,2438,2491,2054,1989,2247,2832,3203,3393,4119,4221,3528,3137,2999,3180,3230,3312,3053,3072,3222,3255,2998,2657,2586,2247,2853,2822,2532,2499,2326,3319,3914,3162,2942,2908,2666,2569,2429,1941,1757,2237,2210,2169,2668,2687,2918,2744,2252,2451,2737,2453,1917,2199,2189,2111,2115,1979,2402,2455,1918,1785,1886,2021,2288,2719,2611,2114,2071,2397,2776,2744,2636,2135,2110,1972,1792,2019,2343,1867,1837,2067,2459,3242,2646,2165,1989,2232,2404,2680,2574,2575,2626,1858,1350,1443,1627,1738,2075,1994,1570,1340,1283,1446,1578,1733,1635,1428,1773,1808,1742,1813,1894,2080,1878,2070,2164,2328,2178,1720,1699,2146,3179,2420,2305,2920,3116,2890,2675,2675,2615,2551,2614,2596,2105,1808,2331,2033,1703,1879,1961,2092,2169,2081,2155,2029,1920,2062,2018,1711,2074,2541,2491,2052,1583,1717,1793,1768,1637,1587,1575,1482,1544,1749,1845,1773,1834,1939,1972,2244,2398,2271,2098,1968,2060,2322,2341,2322,2901,3179,2877,2358,1831,1571,1441,1327,1303,1315,1255,1245,1343,1418,1825,2737,2669,2624,2525,2592,2637,2744,2742,2602,2751,2932,2897,2624,1994,1897,1605,1723,1927,1637,1470,1428,1292,1458,1526,1370,1568,1965,2021,1488,1426,1505,1557,1456,1409,1280,1187,1232,1462,1632,1650,1561,1297,1232,1365,1218,1401,1492,2062,3183,2908,2810,3011,3087,3047,2583,1721,1098,1350,1449,1494,1670,1788,2452,3341,2449,1417,1561,1632,1737,1907,1928,2288,2119,2248,2006,1570,1396,1674,1755,1608,1561,1561,1561,1559,1336,1404,1342,1437,1497,1405,1339,1325,1546,1684,1871,1764,1548,2128,2127,1669,2318,1961,1812,2298,2990,3850,3854,2932,2385,2481,2443,2200,1938,2006,2102,2342,2856,3113,2176,1582,1574,1572,1575,1700,1852,2060,2172,1946,2359,2199,1693,1722,1908,2468,2709,2662,3009,2890,2637,3006,2459,1948,1990,1539,1593,1947,2022,1809,1713,1667,1667,1578,1412,1450,1519,2402,2735,2847,2929,2304,2007,1743,1872,1978,1751,1708,1788,1856,1681,1563,1741,1720,1764,1997,2449,2047,2329,3003,3032,2924,2908,2708,2484,2830,2494,3045,2845,2593,2644,2381,2529,2966,2955,2999,3186,2643,2385,2746,2766,3395,3042,2661,2578,2543,2939,2989,2535,2304,2422,2085,1782,1734,1892,2181,2005,2291,2137,1763,1841,2475,3013,3020,2826,2364,2336,2324,2196,2097,2019,1827,2337,2540,2745,2421,2067,1985,2026,2074,1975,2072,2103,3285,3537,2825,2196,2025,2221,2754,2979,2944,2873,2711,2630,3034,3460,3376,3234,3354,2648,1691,1696,1833,1908,1767,1532,1931,1803,1769,2179,2784,2569,2126,2340,2608,2390,2426,2551,2188,2163,2271,2391,2909,3078,2643,2601,2813,2345,2800,3106,2518,2145,2461,2584,2310,2200,2474,2584,2113,2208,1964,2009,2588,2995,3086,2865,2795,2938,2858,2774,3465,3317,3448,3360,3225,3031,2718,2813,3151,3086,3040,3169,3191,2886,2588,3086,3134,2497,2307,2915,3649,3950,3885,3984,4034,3918,3601,2905,2773,3394,3576,3140,2945,3288,3595,3666,3616,3425,3163,2585,2181,2747,3023,3430,3455,3447,3588,3609,3575,3461,3382,3379,3338,3311,3190,3086,3067,3164,3213,2904,2714,2433,1819,1756,2097,2314,1976,2150,2297,2040,1885,1925,2160,2007,1994,2049,2428],[2681,2370,2600,2689,2635,2521,2250,2741,3002,3041,3095,2988,3404,3165,2708,2641,2807,3668,4006,3183,2669,3085,3006,3160,3281,3122,3367,2403,2518,3220,3719,3718,2735,2730,2777,2455,2312,2366,2038,2541,2583,2314,3001,2580,1908,1775,1806,2102,2219,1992,1972,2348,2534,2791,2974,2993,2673,2415,2453,2921,3615,3912,2770,1617,1697,1675,2372,2880,2220,1810,1544,1624,2001,2829,2722,2556,2730,2352,2046,2179,1874,1575,1795,2094,2057,2768,3500,3173,2232,2513,2602,2266,2314,1757,1688,1958,1721,1424,1400,1546,1418,1719,2242,2029,1644,1516,1560,1816,1542,1479,1482,1997,1840,2134,2148,1684,1355,1383,1490,1566,1369,1399,1918,2130,1737,1902,1924,2423,2771,2865,2856,2183,1444,1345,1455,1617,1419,1539,1828,1560,1548,1722,2088,2347,2005,1939,2421,3000,4079,4417,4407,3706,2812,2919,2539,2619,2623,2756,2496,2300,2124,1880,1566,1462,1410,1600,2049,2009,1836,1657,1801,2138,1855,1664,1544,1572,1818,1977,1914,1855,1714,1783,1622,1469,1464,1621,1816,2040,2523,2450,2239,2078,1715,1804,1977,1932,1819,1493,1599,1792,1932,2079,2662,3249,2844,2081,2510,2836,2493,2719,2612,2041,1942,1727,1163,1554,1914,1803,2244,2189,2208,2468,2294,2795,2653,3097,3738,3602,3409,2840,2180,2275,3025,2825,2923,2753,2282,2501,2386,1873,2189,1853,1961,2276,2907,3076,2664,2048,1854,1937,1909,1858,1686,1889,2016,2220,2254,2518,2322,2308,2034,2013,1976,1915,1753,1553,1761,2147,2527,2286,3040,3253,3119,3335,3685,3739,2643,1873,2004,2587,3122,3187,3198,2742,1854,1721,2234,2477,2399,2324,2850,3435,2873,2723,3305,2331,1918,1704,1815,2509,2623,3074,3043,3021,2662,2130,2211,1975,2085,2294,2134,1781,2010,2100,2171,2405,2230,1812,1955,2845,2919,2407,2354,2054,1631,1514,1241,1267,1265,1235,1536,2116,2513,2314,1984,1688,1612,1586,1903,1966,1943,1770,1622,1796,1816,1871,2148,2091,1505,1691,2224,2233,1919,1687,1629,1483,1409,1261,1506,1702,1610,1666,1837,1957,1983,2150,2038,2228,2099,1698,1642,1796,2021,2006,1722,1771,2027,1978,2030,2120,2614,2695,2513,2137,2164,2049,2397,2543,2153,2071,2099,2092,2518,2039,2080,2045,1911,2182,2917,3110,2862,3038,2422,1932,2331,2532,2513,2792,3086,2610,2216,1969,2097,2731,2659,2020,1761,1510,1543,1722,1908,2080,2293,2102,2291,2430,3010,2681,2532,2482,2626,2658,2083,1747,2135,2102,2020,1560,1538,1398,1588,1818,1542,1730,2316,2536,2008,1451,1501,1362,1593,1532,1724,1849,1664,1455,1416,1627,1789,1969,1875,1703,1627,1616,1463,1458,1598,1722,1607,1413,1504,1575,1630,1550,1370,1433,1850,1621,1490,1730,1852,1537,1517,1526,1392,1368,1781,2204,2381,2163,2018,2386,2165,2440,2199,1869,1524,1489,1533,1643,1814,1692,1516,1412,1349,1389,1570,1614,1704,1811,1664,1267,1968,3132,3304,2432,1441,1640,1492,1491,1620,1792,1720,1678,1515,1477,1534,1520,1474,1479,1447,1456,1504,1487,1429,1763,1789,1669,1570,2136,1979,1541,1861,2280,2773,2420,1532,1449,1440,1739,1841,1740,1691,1615,1489,1356,1520,1691,1591,1792,2005,1794,1999,2482,2257,1951,2956,2460,2236,2220,1863,1604,1236,1502,1819,1779,2136,2341,2276,2510,2701,2186,1982,1875,1675,1607,1830,1854,1534,1369,1600,1606,1698,1574,1694,1854,1853,1996,1679,1862,2279,1950,1745,1585,1805,1999,1894,1931,1836,2121,2545,1886,1482,1575,1627,1657,1660,1969,2903,3784,3016,2351,1848,1549,1825,2208,2222,2050,2519,3436,3516,3698,4080,4271,3986,3989,3903,3276,2979,2835,3324,3936,3508,1959,1316,2805,3494,3224,3231,3351,3526,3627,3637,3686,3608,3841,3729,3448,3427,3466,3421,3069,2907,3350,3274,3364,2741,2113,1838,1807,1957,1613,1600,1738,1534,1459,1332,1227,1466,1390,1334,1345,1655,1754,1563,1762,1675,1560,1528,1430,1568,2309,1896,2048,2296,2367,1768,1565,1637,1532,1577,1531,1654,1623,1595,1696,1782,2522,3538,3538,2376,1637,1534,1508,1738,1722,1730,2131,2263,2021,1869,1745,1585,1721,1730,1591,1454,1592,1747,1668,1561,1586,1850,1782,1684,1713,1659,1471,1722,1902,1801,1648,1542,1695,1772,1685,1682,1887,1920,1909,2012,2065,2046,1970,1709,1665,2070,2096,2212,2273,1554,1527,1835,1881,2288,2275,2016,2053,2053,1809,2294,3117,2674,2242,1566,1459,1495,1562,1758,1697,1490,1477,1660,1766,2138,2021,1732,1920,1771,1960,1742,1368,1444,1495,1564,1542,1463,1441,1782,2117,1613,1350,1371,1398,1510,1471,1696,1650,1750,2503,2893,2474,1936,1727,1630,1412,1825,2170,1860,1852,1699,1584,1444,1376,1287,1379,1745,1980,1916,1950,1960,1851,1704,1666,2004,2341,1814,1566,1548,1409,1641,1662,1576,1605,1609,1821,1688,1581,1686,1679,1622,1515,1511,1682,1541,1449,1532,1676,1990,1980,1592,1676,2285,3520,4040,3836,3816,4040,3463,2807,2649,2443,2306,1742,2028,2054,2361,2938,2221,2016,2230,2150,2032,1898,2042,1809,1216,1472,1542,1656,1651,2206,2302,1899,1834,2309,2376,1671,1693,2226,2134,2323,2346,2268,1974,1951,1842,2088,2089,1776,1543,1690,2382,2932,3159,3459,3478,2634,2109,1802,1931,2144,1696,1546,1890,1915,1797,1785,1633,1405,1600,1873,2183,2231,1979,1614,1474,1558,1747,1873,1917,1869,1968,2285,2098,1789,1692,1359,1501,1603,2347,2509,2265,2524,2598,2645,2763,2922,3008,2440,2054,2664,2586,2282,2340,2349,2162,2240,2088,1384,1703,2171,2133,1698,1959,1750,1964,2172,2084,1736,1917,2203,1856,1708,1902,2066,2110,2066,1928,2077,2053,1906,1921,1779,1896,2169,2069,1912,1937,1725,1975,2277,2019,2271,3041,2841,2156,2177,2221,2298,3178,3516,3510,3485,3300,3286,3370,3238,3427,3641,3666,3391,3440,3667,3339,2954,2828,2555,2025,1750,1539,1229,1296,1487,1707,1882,1770,1683,1738,1614,1232,1038,1074,1018,989,1664,1833,1783,1694,1761,1838,1729,2281,2558,2307,2376,2652,2297,1977,1674,2259,2462,2724,2431,2267,1838,1665,1970,2501,2690,2280,2207,2069,2155,2562,2397,2620,2958,2469,2210,2207,2111,2144,2348,2003,1987,2056,1888,2940,3016,2555,2359,1802,1836,1604,1130,2050,2533,1924,2115,1821,1549,1904,2127,2005,2483,2247,2160,2530,2543,2887,2818,2283,1911,2094,2021,2062,1826,2193,2275,2321,2138,1791,1738,1918,2361,2347,2223,2433,2369,2184,1870,1839,2206,2304,2063,2386,2718,2426,2641,3047,2805,2802,3068,2900,2644,2730,2976,3082,3109,2957,2977,3029,2879,2644,2343,2932,3099,3317,3010,3084,2520,2520,3564,3740,3067,2961,3007,3068,3096,3046,2462,2878,2865,2652,2551,2919,2975,2996,2824,2389,2951,2979,2490,1679,1744,2265,2033,1605,1721,1866,1714,1564,1750,1848,1679,2047,2434,2404,2219,1915,1974,2100,2814,3270,2910,2158,1924,2036,2263,2656,1981,2000,2026,1920,2806,2590,2048,1782,1696,2026,2681,2744,2153,2001,1653,1506,1594,1698,2040,2361,2172,1741,1449,1364,1720,1706,1544,1520,1388,1625,1728,1909,1799,1890,2095,1894,1893,2096,2250,1948,1662,1854,2322,3220,2497,2219,2326,2274,1708,1591,1914,1965,2300,2706,2537,2164,1973,2037,1895,1970,2025,2372,2755,2330,1902,2001,1982,2112,2181,2079,2819,2630,2886,3062,2224,1661,1667,1597,1593,1647,1571,1483,1531,1561,1670,1819,1542,1736,2092,2283,2190,2258,2313,2229,2140,2331,2563,2671,2656,2857,3075,2740,2332,2385,1973,1447,1276,1309,1316,1312,1298,1206,1381,1992,2846,2751,2572,2561,2347,2447,2570,2642,2611,2512,2646,2712,2495,1653,1298,1417,1571,1890,1678,1415,1284,1272,1393,1504,1394,1504,1573,1605,1552,1604,1564,1441,1369,1271,1064,1257,1391,1352,1376,1486,1586,1398,1200,1359,1475,1749,1587,1970,2244,2216,2702,3400,3467,3042,2762,1944,1357,1650,1610,1431,1857,2146,2574,2976,2120,1471,1636,1746,1881,1822,2243,3205,2668,2424,2121,1690,1439,1388,1398,1344,1359,1454,1579,1562,1531,1406,1253,1424,1401,1459,1405,1384,1557,1843,2022,1639,1720,2195,1788,1432,1797,2086,2719,3459,3636,3583,3552,3195,2868,2966,3106,2109,1957,2830,2806,2619,2872,2579,1964,1824,1621,1478,1581,1737,2022,1883,1976,2252,2274,1832,1755,1670,1770,2519,2721,2205,2570,2840,2588,2576,2085,1952,2043,1654,1709,1874,1882,1782,1588,1494,1551,1450,1434,1579,1454,1943,1915,1970,2416,2542,2386,2173,2284,2122,1614,1627,1728,1946,1920,1832,1907,2053,2182,2000,1863,1807,2361,3096,2980,2056,1643,1335,1874,1659,1503,2376,2539,2467,2885,2932,2844,2909,3159,3162,3319,2847,2472,2588,2979,2924,2928,3210,3623,3863,3324,2795,3200,3362,2605,1894,1615,2414,3023,2796,2567,2626,2207,1886,2128,2851,2734,2194,2197,2424,2408,2896,3272,2812,2499,2250,2542,2836,2689,2342,2097,1916,1920,1975,1826,2092,2526,2955,2835,2505,2283,2142,2190,2355,2384,2262,2187,2007,2458,2739,2667,2678,2902,2973,2755,2352,2172,1968,1526,1600,2048,2358,1885,1726,2069,2902,2861,2428,2471,2518,1905,1924,2863,2346,2246,2131,2630,2989,2633,2266,2272,2093,2095,2642,2641,2752,2699,2532,2152,2236,2323,2396,2092,2162,2402,2062,2302,2858,2619,2792,2979,3121,2375,2406,2626,3316,3628,3312,2843,2910,2686,2199,2338,2851,3537,2524,2667,3105,2845,3104,2954,2889,2715,2257,2436,3360,4002,4052,4176,4184,3666,3364,2852,2692,3188,3808,3845,3572,3550,3560,3725,3705,3606,3242,2888,2380,2946,3163,2879,2840,2967,2875,2770,2711,2628,2478,2410,2590,2516,2507,3011,3233,3323,3054,2599,2928,2990,2308,1846,1976,2375,2201,2493,2769,2225,1986,2296,2248,2106,2183,2008,2489],[2625,2686,2236,2812,3240,2807,2724,3051,2757,2675,3082,3241,3495,3110,2654,2547,2566,3256,3627,2827,2746,2539,2512,2338,2761,2994,2977,2692,2931,3210,3251,2560,2272,2799,2395,2068,2319,2937,2046,2228,2685,2770,2708,2034,1825,1800,1731,2002,1906,1787,2115,2684,3006,3378,3272,3018,2750,2212,2679,3293,2922,3297,3130,1716,1772,1695,2017,2349,2200,1945,1854,1738,2189,2913,2536,2071,2011,1741,1914,2084,1851,1668,1894,2056,2659,3299,3641,3272,2522,2503,2646,2655,2720,1952,2347,2709,2057,1427,1772,1915,1590,1986,2363,2138,1787,1667,2032,2600,1955,1637,1748,2008,1999,1976,2095,1898,1540,1499,1500,1609,1554,1847,2214,2632,2907,2614,2699,3336,3420,3194,3136,2392,1484,1458,1487,1614,1687,2073,2183,1561,1354,1665,2663,3476,3111,2805,2809,3173,3820,3732,3548,3194,2446,2485,2857,3307,2988,2187,2082,2222,2118,1640,1339,1475,1504,1764,2095,1996,1844,1416,1564,1925,1786,1538,1456,1431,1459,1666,1921,1895,1665,1824,1851,1666,1494,1382,1371,1579,1921,1822,1740,1543,1579,2176,2347,1974,1832,1832,1703,1614,1878,1996,2130,2711,2812,2325,2744,2535,2802,3104,2279,1683,1675,1442,1433,2075,2127,2370,2468,2021,2465,2285,2318,2780,2471,3417,3033,2806,3113,2735,2045,2764,3216,2323,2669,2757,2921,3549,3041,2120,1940,1841,2131,2688,2765,2456,2360,1961,1806,1705,1353,1418,1368,1603,2186,2450,2257,2165,2354,2062,1940,2318,1824,2158,2546,2043,2015,2555,2385,2390,3439,3736,3936,3840,3499,2972,2186,2131,1951,2558,2636,2485,2956,2830,2525,2619,2851,2636,2199,2102,2624,3235,3050,2797,2564,1785,1644,1666,1538,2400,3209,3459,3233,3539,3205,2486,2884,2780,2360,2485,1864,1492,1695,2132,2374,2850,2501,1768,2413,2889,2131,2165,2321,2153,1532,1391,1749,1721,1823,1910,1758,2396,2599,2223,2532,1922,1823,1767,1892,1950,1823,1601,1637,1982,1945,1569,1811,2250,1774,1823,2200,2281,2123,1738,2376,2226,1444,1598,1826,1792,1586,1449,1736,1968,2007,2104,1971,1993,2011,1905,1697,1699,1762,1726,1704,1884,2166,2483,2691,2365,2540,2687,2439,2634,2241,1751,2250,2328,1979,2231,2547,2276,2028,1603,1712,2097,1957,2214,3034,2735,2194,2364,1899,1712,1625,2102,2618,2886,3553,2972,2165,1881,2240,2636,2127,1531,1654,1484,1327,1432,1687,1527,1637,1801,2207,2345,2198,2080,2313,3053,3253,2843,2678,2175,2754,2766,2078,1714,1827,1914,1916,1867,1654,1561,2150,2742,2059,1798,1902,1639,1742,1865,1859,1637,1476,1490,1499,1400,1519,1453,1600,1743,1823,1496,1404,1641,2167,2363,1942,1657,1623,1812,1857,1453,1474,1774,1902,1566,1588,1879,2497,2267,1826,1539,1417,1643,1621,1431,1788,1812,2014,2273,1716,1825,1630,1691,1602,1534,1504,1491,1640,1525,1384,1381,1294,1429,1714,1713,2189,2098,1667,1384,1767,2418,2618,2009,1596,1960,1571,1780,2054,1703,1530,1387,1516,1516,1550,1681,1488,1309,1594,2051,1689,1570,1359,1440,1688,1606,1527,1775,1852,1864,1915,2009,2264,1935,1562,1487,1576,2084,1964,1587,1421,1457,1381,1308,1455,1543,1510,1542,1724,1775,1969,2750,2763,2120,2463,2323,2282,2254,1541,1540,1346,1798,2218,2136,2062,2214,2278,2489,2287,1904,1949,1942,1901,1882,1668,1417,1602,1527,1842,1771,2217,2078,1493,1570,1814,1929,1874,1942,2385,2457,1951,1637,1954,1831,1478,1666,2074,2426,2288,1781,1696,1771,1773,1919,1844,2308,3215,3589,2525,1911,1722,1718,1781,2065,2472,1790,2157,2789,2546,3431,3805,3870,3155,2411,3059,3923,3606,3393,3480,3042,2890,2142,1266,2590,3331,3301,3331,3339,3234,3019,3008,3024,3144,3303,3209,3513,3354,3084,3299,3023,2852,3090,2482,2564,2452,1989,1886,2216,2182,1889,2106,1829,1580,1472,1332,1280,1398,1445,1382,1497,1930,1930,1639,1664,1796,1721,1541,1456,1594,1780,1673,1888,2209,2087,1654,1734,1914,1886,1756,1703,1886,1646,1323,1484,1817,1836,2032,2188,1924,1550,1598,1575,1669,1459,1840,2332,2178,1937,1902,1913,1990,1907,1673,1441,1463,1514,1588,1486,1409,1526,1561,1670,1700,1832,1620,1370,1534,1691,1621,1605,1450,1516,1457,1531,1674,1751,1635,1521,1976,2232,1824,1563,1505,1715,1631,1594,1952,1779,1693,1788,2125,2265,2093,1671,1288,1497,1669,1825,2875,3320,2899,2250,1655,1447,1315,1438,1410,1494,1500,1343,1517,1678,1837,1803,1550,1701,1751,2179,1872,1404,1432,1470,1507,1753,1682,1479,1671,1853,1509,1414,1518,1430,1354,1371,1600,1692,1571,1752,2099,2015,1553,1505,1473,1323,1499,1672,1738,1684,1585,1411,1221,1282,1654,2018,2186,2475,1970,2130,2077,1909,1757,1683,1831,1851,1688,1720,1604,1595,1830,1771,2075,1829,1725,1621,1523,1411,1578,1750,1681,1533,1395,1359,1413,1472,1588,1583,1780,1836,1645,1715,2232,3378,3638,3296,3382,3664,3040,2455,2696,2702,2148,1765,2354,2254,2258,2075,1542,1735,1859,1902,1870,1701,1410,1356,1618,1515,1534,1767,2097,2057,1784,1919,2056,1965,1858,1758,2075,2547,2260,2620,2641,2130,1627,1637,2003,2094,1802,1569,1404,1744,2442,2973,3673,3626,3639,3020,2962,2703,2182,2405,2186,1518,1574,2041,1874,1909,1837,1826,2420,2804,2457,2327,2196,1591,1671,1899,1837,1927,1953,1837,2105,2307,2284,2035,1454,1207,1465,1761,2366,2216,1357,1507,1786,1682,2274,2700,2831,2382,1869,1837,1889,2180,2442,2469,2381,2343,2098,1582,2041,2374,1767,1553,2188,2186,2102,2179,1520,1264,2245,2837,2094,1941,1671,1559,2115,2308,2095,1907,1922,2017,1999,1993,2251,2175,1930,1948,1859,1764,2234,2189,2157,2710,2751,2867,3106,2747,2176,2157,3239,3822,3637,3465,3372,3419,3321,3256,3351,3545,3709,3601,3451,3585,3310,2592,2154,2285,2121,2174,2071,1586,1482,1532,1618,1664,1732,1920,2190,2079,1762,1619,1347,1188,1397,1943,1894,1935,2174,2274,1798,1430,1678,1761,1825,2446,2732,2430,2079,1936,2430,2435,2382,2599,2087,1876,2459,2423,2100,2042,1909,2170,2234,1909,2075,2105,1952,1998,2286,2337,2497,1992,1936,2237,2504,1797,1699,2072,2888,2614,2094,2295,2172,1969,1562,1256,2201,2668,1947,1966,1787,1649,2052,2240,2115,2540,2470,2331,2924,3344,3190,2799,2400,1929,1755,2031,1817,1740,2020,1990,1706,1355,1597,1781,1861,1922,2138,2004,2138,2146,1866,1959,2230,2182,2058,2471,3029,3060,2615,2384,2621,2435,2051,2485,2663,2691,2855,2875,2873,2912,2908,2920,3017,3017,2744,2836,3121,2739,2756,2697,2676,2509,2844,3640,3218,2739,3021,2918,3030,3450,3428,3619,3292,2324,2154,2679,3195,2714,2580,2596,2397,3610,3267,2202,2172,1955,1924,1312,1248,1568,1697,1584,1557,1817,1743,1575,1596,1753,2152,2065,1926,2269,2376,2872,3501,2849,2425,2485,2775,2722,2378,2153,2615,2498,2431,2865,2678,2407,2515,2037,2117,2588,2945,2141,1810,1989,1611,1752,2290,2344,2185,1672,1556,1830,1774,1745,1537,1498,1464,1407,1562,1683,1825,1764,1873,1868,1707,1660,1953,2306,2336,2238,2179,2496,3166,2684,1944,1950,2154,1864,1787,2146,1934,2153,2316,2066,2091,2080,1958,2026,2324,2761,3240,3306,2621,1872,1942,2093,1997,1655,1972,2807,2681,2778,3069,2474,1694,1609,1758,1726,1644,1849,1786,1681,1752,1880,1853,1586,1766,2212,2419,2269,2075,2139,2381,2583,2697,2953,2845,2756,2976,2868,2279,2013,2104,2033,1521,1310,1306,1284,1345,1377,1224,1404,2036,2613,2552,2480,2384,2195,2329,2530,2463,2401,2470,2561,2622,2331,1592,1255,1448,1613,1675,1712,1440,1242,1229,1310,1443,1338,1481,1566,1751,1548,1296,1130,1110,1312,1349,1405,1504,1361,1247,1559,1788,1580,1347,1309,1570,1756,1720,1656,2036,2154,1968,2294,2996,3282,2367,2057,1738,1598,1456,1371,1426,1743,1782,1584,1694,1647,1627,1550,1394,1761,2078,2785,3503,3204,2439,1748,1614,1649,1690,1283,1197,1277,1456,1670,1628,1514,1399,1415,1406,1599,1710,1510,1491,1548,1648,1616,1405,1806,2437,2005,1698,1695,1793,1926,2542,3174,2552,2547,3178,3014,2733,2393,1902,2385,2613,2622,2813,2682,1821,1580,1654,1462,1455,1476,1698,2148,1889,1947,2162,1584,1247,1669,1844,2211,2946,2974,2445,2527,2387,2264,2433,2303,2146,2048,1880,1819,1705,1691,1636,1560,1562,1560,1497,1524,1406,1364,1395,1476,1538,1633,2204,2592,2222,1903,1948,1810,2375,2158,2057,1989,1997,2318,2364,2105,1715,1592,1767,2080,2729,3031,1826,1409,1425,2272,1708,1344,2207,2655,2680,3059,2887,2801,2873,3199,3421,3510,2641,2171,2438,2958,2932,2937,3328,3796,4048,3528,2193,2453,2698,2101,1785,1914,2526,2656,2640,2902,3213,2994,2420,2631,2791,1961,1515,1748,1894,2249,2386,2184,2283,2264,2223,2578,2434,2035,1733,1692,1764,1682,1616,1668,2124,2320,2222,2386,2431,2243,2244,2465,2107,2205,2023,1851,1797,2423,2510,2220,2221,2462,2551,2473,2359,2463,2109,1510,1918,2842,2977,2347,2303,2312,2641,2852,2861,3220,3165,1895,1251,2095,2233,2119,2105,2392,2457,2558,2060,1855,2272,2277,2781,2987,2479,2333,2482,2026,2206,2768,2745,2057,2056,2233,2196,2671,2896,2503,2900,3205,2663,1625,1804,2344,3124,3206,2400,2380,2776,2546,2319,2109,2379,3322,2799,2856,3150,2732,2440,2790,3233,3074,2876,2865,2956,3795,4012,4003,3873,3510,3241,3010,2810,3000,3454,3564,3484,3386,3470,3544,3639,3550,3140,2820,2518,2968,3335,2868,2689,2755,2880,3089,2986,2320,1948,2065,2542,2649,2700,3360,3885,3882,3096,2257,2667,2870,2139,1484,1915,2265,2264,2448,2487,2293,2076,2254,2524,2027,1808,1781,2246],[2767,3105,2138,2271,2983,3034,2828,3378,3580,3264,3256,3614,3826,3373,3055,2867,2231,2363,2846,2768,3135,2300,2083,2253,2630,2452,2501,2474,2755,3161,2868,2092,2352,2924,2494,2247,2605,2537,1898,2409,3060,3088,2602,1868,2092,2133,2205,2242,1901,2266,2231,2664,2916,2799,2700,2531,2215,1881,2581,3381,2570,2521,3161,1849,1890,2173,2280,2391,2910,2868,2092,1593,1670,1640,1523,1624,1843,1732,1958,2446,2382,1886,1603,1409,2004,2973,3601,3592,2493,2033,1982,1978,1889,2304,3440,3116,2325,1955,1809,1641,1478,1828,2225,2373,2030,1852,2171,2777,2880,2154,1804,2061,2036,1747,1722,1670,1908,1751,1634,1643,1714,1903,1708,1991,2603,2372,2806,4204,4248,3703,3624,3187,2784,2879,2002,1617,1811,2369,2470,1904,1468,1705,2712,3526,3521,3271,3422,3433,3450,3559,3510,3542,2778,2654,3112,3487,3189,2430,2136,2079,1856,1397,1240,1401,1669,1629,2053,2289,1760,1252,1422,1797,1912,1494,1312,1448,1480,1454,1688,1745,1853,2008,1959,1753,1622,1661,1564,1627,1804,1518,1969,1395,1864,2281,1930,1758,1704,1719,1610,1661,1948,1958,1877,1977,2454,2800,2558,2616,3312,3508,2846,2080,1832,1832,2156,2147,1958,2382,2529,2455,2398,2171,2424,2320,2427,3165,2752,2813,3431,3162,3056,3318,2878,2449,2333,2226,3028,3509,2954,2157,1826,1983,2944,3688,3167,2313,2520,1856,1664,1661,1466,1521,1506,1447,2070,2470,2147,1947,1893,1572,1983,2014,1672,1898,2464,2276,2048,2258,1960,2310,3420,3639,2988,2636,2172,2303,2522,2645,2820,2663,2344,2281,2398,2586,2890,2708,2464,2479,2136,2097,2522,3032,3127,3199,2309,1755,1832,1802,1678,2011,2690,3066,2665,2608,2772,3100,3068,2639,2612,2515,2020,1697,1726,2167,2480,3040,2921,2683,2843,2522,2752,3009,2664,1872,1482,1591,1750,1766,2070,2050,1872,2130,2119,2356,2464,2195,1968,1880,1758,1747,1772,1582,1550,1750,1686,1538,2000,2430,2225,2094,1852,2150,2175,1855,2810,2940,1800,1771,1772,1662,1572,1642,1664,1835,1940,2071,1810,1735,1991,1807,1783,1934,1555,1546,1758,1656,2530,2829,3426,3426,2824,2381,2357,2386,1793,1945,2175,2227,2194,2088,2253,2294,1792,1438,1810,2009,1685,1782,2134,2237,2252,1989,1698,1563,1440,2176,2754,2954,3210,2962,2152,2091,2360,2176,2160,1681,1676,1571,1394,1634,1788,1826,1710,1497,2062,2499,2376,2157,2396,3191,3498,3626,3879,3133,3205,2802,1942,1748,1729,1795,2180,2145,1844,1765,2072,2239,1837,2242,2382,1946,1978,1952,1624,1512,1585,1729,1968,1859,1696,1549,1751,1715,1756,1671,1494,1559,1876,1970,1816,2010,2166,2018,1666,1728,1781,1688,1532,1477,1506,1910,2000,1711,1788,1538,1562,1886,1738,1376,1531,1826,2120,1820,1721,1640,1432,1461,1475,1505,1393,1448,1458,1422,1388,1282,1516,1687,1910,1688,1888,2116,1656,1501,1622,1680,1638,1405,1383,1609,1574,2385,2351,1615,1425,1442,1623,1772,2139,1945,1522,1417,1488,1772,1492,1708,2266,2469,1794,1507,1641,1364,1534,1913,1660,1611,1613,1691,1862,1702,1672,1768,1715,1525,1444,1545,1460,1332,1382,1521,1660,2098,2690,2618,2264,2599,2502,2086,2752,2967,2287,2106,1708,1858,1717,1812,1957,1756,1697,2024,2298,2714,2517,1877,1924,2043,2031,1702,1382,1586,1760,1692,1676,2023,2952,2558,1727,2018,1821,1952,1960,1553,1840,3113,2558,1704,1870,1981,1857,2155,2508,2425,2098,1767,1852,2055,1772,1736,1744,1931,2220,2664,2271,1956,1953,2001,2059,2402,2867,1938,1859,1989,2554,3687,3520,3215,2543,1643,2350,3750,3725,3806,3498,2600,2397,2248,1237,2243,2950,3110,3333,3207,3186,3125,2990,3041,3337,3670,3443,3671,3516,3378,3352,2529,2222,2281,1900,2336,2396,2069,1904,2554,2260,2192,1962,1768,1631,1714,1694,1449,1412,1449,1600,1888,1797,1464,1432,1598,1914,1761,1591,1482,1640,1729,1706,1835,2307,2380,1781,1679,1764,1788,2094,2245,1879,1469,1358,1383,1756,1857,1703,2601,2832,1775,1825,1561,1469,1493,1564,1734,1543,1622,1652,1552,1814,1989,1703,1462,1603,1935,1842,1586,1513,1677,2018,1822,1748,1715,1384,1412,1570,1659,1648,1578,1562,1462,1439,1482,1612,1674,1637,1575,1908,2181,1785,1497,1434,1838,1515,1671,1872,2148,2123,1883,2382,2701,2022,1548,1302,1336,1368,1477,2776,2812,2453,1990,1726,1738,1758,1610,1310,1352,1361,1305,1320,1757,1547,1608,1714,1569,1629,1753,1604,1680,1664,1641,1970,2524,2108,1577,1512,1510,1526,1436,1352,1274,1334,1412,1433,1545,1747,1540,1622,1541,1664,1564,1439,1569,1617,1643,1702,1697,1642,1533,1360,1477,2002,1973,2020,1918,2008,2078,1848,1887,1923,1809,1673,1673,1888,1692,1555,1597,1686,1589,2108,2442,1990,1440,1462,1488,1883,2236,1858,1519,1457,1676,1658,1663,1806,1905,1878,1824,1770,1410,1729,2441,2554,3079,2922,3156,2643,2375,2230,2316,1958,1924,2017,1719,1694,1532,1428,1239,1458,1561,1703,1852,1808,1580,1488,1511,1682,1886,2090,2109,2063,2050,1966,1929,2403,2003,1731,2077,2368,2779,2474,1712,1604,1846,2221,2004,1655,1649,1643,1679,1751,2302,3298,3560,3448,3146,2900,2296,1620,1898,1802,1463,1556,1843,1653,1835,1548,2236,3575,4256,3396,2254,2073,1407,1396,1897,2057,2014,1936,1736,2246,2411,2331,1989,1194,1140,1853,2088,1919,1959,1792,1980,2186,1391,1463,2444,2690,2368,2238,2436,2587,2447,2355,2392,2512,2048,1918,1939,2140,1865,1584,1889,2179,1632,1290,1370,1209,1652,2128,2554,2214,2197,1962,1723,2322,2361,1848,1824,1824,1797,1771,1977,1979,1709,1720,1989,1849,1804,1935,1824,2146,2710,2810,3414,3813,2486,1841,2487,3305,3929,4057,3828,3731,3558,3500,3388,3075,3346,3452,3479,3666,3643,3396,2790,2717,2511,2441,2653,2306,1719,1476,1492,1672,1656,1722,2098,2344,2022,2019,1911,2009,1974,1634,1660,1713,1813,1942,2057,1562,1598,1830,2052,2242,2796,2641,2147,2023,2557,2652,2405,2294,2388,1798,1871,2338,2542,1998,1871,2327,2732,2381,2314,2387,2149,1994,1760,2062,2372,2216,1871,1837,1895,2153,2184,2172,2199,2427,2006,1735,2500,2618,2299,1605,1552,2518,2531,2083,1613,1722,2221,2364,2452,2314,2539,2717,2705,3438,3371,2554,2263,2381,2087,1792,1897,1826,1926,1953,2007,1709,1143,1388,1706,1705,1611,1793,2038,1838,1713,2068,2305,2176,2017,2144,2686,3009,3082,2692,2519,2668,2074,2134,2680,2756,2958,3194,3205,3110,3056,2942,3059,3254,3205,2764,2359,2268,2857,3218,2619,2719,2698,2137,2866,3333,3461,3460,3377,3648,3160,2373,2835,2625,2053,1984,2285,2350,2190,2355,2334,2590,2898,2758,2292,2411,2336,1766,1554,1718,1649,1725,1814,1861,2226,2046,2159,2098,2008,1926,1945,2559,2844,2332,2545,2844,2430,2931,2921,3118,3292,2696,2554,2959,3109,3352,3404,3156,2841,2730,1978,1986,2024,2156,1846,1804,1903,1544,1609,1831,2188,2374,1973,1730,2437,2393,1842,1785,1976,1792,1729,1766,1758,1804,1785,1598,1665,1630,1647,1848,2169,2335,2310,2269,2622,3182,2699,2060,2392,2475,2225,2065,2183,1946,2200,2131,2085,2316,2149,1885,2351,3104,3195,3234,3240,2873,1945,1820,2009,1982,1559,1946,2503,2542,2646,3060,2652,1874,1571,1695,1500,1782,2032,1841,1799,1803,1669,1793,1876,1792,2245,2741,2339,2086,2334,2690,2613,2909,3168,3010,2932,3200,2797,2178,1792,1758,1689,1324,1257,1328,1282,1350,1351,1252,1442,1870,2291,2367,2462,2521,2467,2362,2469,2489,2415,2170,2190,2293,1722,1467,1432,1377,1330,1251,1504,1584,1529,1390,1458,1562,1609,1633,1634,1651,1511,1186,1135,1344,1344,1368,1512,1376,1343,1281,1398,1591,1511,1263,1382,1586,1715,1828,1788,1942,1724,1650,1988,2436,2770,2500,2329,2046,1880,1738,1505,1376,1371,1433,1418,1480,1498,1470,1419,1572,1924,2548,3253,3746,3635,2336,1588,1682,1917,2055,1767,1499,1261,1456,1670,1573,1369,1403,1510,1601,1678,1424,1444,1494,1472,1383,1530,1502,1469,1653,1504,1432,1272,1331,1553,2321,2723,1848,2152,2654,3242,2331,1915,2020,1920,2210,2653,2798,2282,1644,1500,1468,1462,1562,1500,1728,1865,2021,2040,1876,1520,1588,1909,2613,3024,3210,3344,3022,2884,2149,1882,2032,1682,1548,1677,1624,1417,1463,1538,1566,1432,1395,1604,1693,1558,1410,1309,1288,1579,1659,1565,2319,2542,2466,2280,2497,2388,3060,2781,2480,2179,2402,2831,2596,2336,2122,2250,2022,1997,2790,3308,2648,2199,1877,1814,1863,1895,2287,2568,2486,2339,2410,2577,3028,2957,3076,3322,2625,2135,2410,3248,3401,2768,2846,3746,4187,2687,1698,1914,2013,1741,1912,2320,2478,2504,2394,2600,3139,3031,2299,2366,2166,1721,1888,2456,1972,1823,2170,2354,2498,2254,1792,1877,1475,1665,1538,1589,1508,1526,1584,1688,2222,2271,1996,2377,3146,3333,2770,2055,2186,2718,2125,1729,1870,2090,1876,1804,2024,2116,2212,2218,2150,2182,1959,1830,2263,3133,3022,2291,2236,2303,2138,2330,2952,3119,3418,2431,1388,1508,1765,1882,2148,2300,2182,1996,1697,2196,2801,2458,2601,2614,2092,2228,2343,2031,2098,2497,2574,2126,2392,2229,2303,2508,2502,2288,2765,2917,2463,1825,1632,2344,2807,2489,1937,2157,2750,2735,2446,1984,2144,3023,3331,3413,2932,2228,1989,2463,2736,2733,2632,3010,3019,3630,4039,4179,4074,3784,3598,3347,3217,3186,3146,3172,3269,3186,3155,3193,3386,3317,3182,3054,2723,3011,3440,3097,3044,3174,3166,3055,3081,2454,1913,2262,2675,2730,2808,3168,3272,3117,2819,2439,2692,2959,2414,1819,1965,1833,2171,2659,2286,1947,1871,2010,2732,2147,2165,2289,2459],[2679,3157,2651,1956,2169,3002,2739,2489,2955,3769,4124,4157,4113,3863,3414,3145,2824,2464,2812,3308,3437,2555,2036,2481,2613,2341,2520,2587,3321,3453,2957,2456,2491,2532,2788,2364,2140,2238,2126,2388,3142,3292,2652,2206,2552,2059,2322,2710,2495,2906,2723,2731,2363,2322,2530,2370,2456,2055,2034,2420,2116,2504,3317,2339,2444,3167,3200,3027,3075,3160,2459,1757,1682,1489,1521,1392,1532,1738,1881,2131,2164,1755,1578,1541,1639,2228,3380,3703,2445,1853,1661,1682,1880,2544,3056,2385,1763,1693,1393,1374,1443,1842,2540,2483,2514,2722,2798,2864,2656,1979,1747,1807,2114,1914,1869,1693,1739,1746,1789,1644,1360,1674,1611,1747,2031,1963,2591,3843,3839,4287,4521,3780,2874,3122,2310,1616,1598,1903,2034,1648,1484,1717,2220,2710,3583,3518,3681,3553,3364,3730,4085,3696,2718,2583,2801,2379,2460,2554,1921,1740,1449,1235,1231,1370,1451,1319,1699,1939,1508,1314,1451,2120,2370,1779,1417,1502,1346,1496,1888,2324,2563,2341,2019,1801,1732,1662,1662,1658,1605,1454,1577,1119,1952,2415,2287,1983,1559,1493,1433,1552,1761,1710,1660,1512,1750,2327,2293,2952,3473,3474,3289,3064,2784,2483,2589,2189,1976,2213,3154,3209,2636,2742,2963,2832,3073,3244,3093,3209,3451,3430,3647,3486,3364,2840,2263,1962,2415,2622,2171,1849,1944,2493,3624,3937,3504,2480,2078,1470,1576,1926,1744,1563,1515,1457,1839,2169,2119,2001,1794,1468,2129,1842,1984,2264,2706,2569,2107,2051,1736,1703,2423,2405,1809,1872,2524,2395,2593,2435,2698,2046,2154,2326,1886,1966,2421,2463,2513,2658,2259,2254,2533,2681,2783,2941,2359,2062,2015,1774,1561,1459,1652,2366,2168,2727,2936,3143,2883,2356,2546,2653,2570,2009,1864,2231,2585,2813,2497,2453,2462,2328,2635,2691,2233,1884,2101,1974,1561,1641,1730,1766,1726,2052,1979,1957,2084,1895,1720,1883,1916,1946,2176,1812,2122,1882,1614,1733,2111,1933,2408,2088,1573,1700,1955,2202,2530,2524,1869,1981,1935,1685,1796,1696,1521,1614,1641,1831,1847,1938,2062,1716,1666,1703,1860,1968,1775,2290,2895,2836,3292,3364,2998,2688,2209,2256,2208,2083,1975,1881,2020,1924,1921,1971,1683,1427,1791,1935,1634,1604,1655,1779,1930,1721,1804,1752,2244,2865,3050,2804,2740,2783,2276,2647,2604,1927,2188,1966,2058,1389,1281,1859,1945,1924,1880,1812,2334,2903,2666,2149,2424,2544,2809,3442,3557,3282,3193,2813,1925,1362,1483,2466,3616,2639,2082,2584,2806,2775,2228,2084,2354,2176,1849,1695,1483,2009,2701,2462,2791,2921,2148,1797,1946,1701,1449,1472,1606,1675,1597,1700,1822,1721,2060,1887,1627,1826,1813,1625,1662,1516,1593,1825,1733,1741,2026,1816,1606,1735,1824,1833,1714,1789,1905,1781,1732,1528,1493,1456,1656,1495,1509,1380,1416,1544,1467,1396,1499,1775,2106,1843,1599,1511,1428,1586,1597,1591,1537,1439,1386,1447,1708,2417,2336,1687,1840,1980,1754,1666,2180,1787,1633,1631,1486,1626,1528,1648,2236,2743,2250,1833,1783,1879,2304,2656,2364,1763,1410,1513,1765,1650,1514,1459,1549,1596,1724,1558,1517,1494,1756,1660,1656,2503,3228,3317,2451,1764,1970,2135,2404,2617,1975,1830,2357,2423,1953,1881,1939,1877,2499,2814,2326,2695,2689,2133,1924,1996,2075,1999,1763,1555,1431,1497,1632,2019,2521,2304,1832,2248,1558,1616,1700,1625,1675,2995,2931,1887,1677,1918,1829,2154,2823,2040,1736,1566,1714,1799,1777,1889,2204,2410,2566,2481,2180,2072,2251,1914,2318,3416,3686,2888,2282,2412,2996,3312,3395,3414,2818,1678,2210,3659,3942,3913,3552,2399,2286,2465,1447,1991,2811,2938,3253,3166,3326,3068,3040,3265,3517,3820,3669,3847,4293,4128,3308,2296,2291,2413,2136,2593,2251,2067,2099,2819,2397,1907,1685,1620,1727,1927,1766,1531,1567,1554,1710,2110,1692,1460,1461,1481,1784,1920,1641,1374,1537,1742,2072,2018,2224,2081,1580,1537,1630,2054,2429,2441,1955,1694,1567,1436,1576,2052,1600,2185,2646,1723,1567,1463,1388,1449,1383,1325,1367,1542,1686,1787,1489,1515,1602,1390,1300,1821,1782,1566,1433,1716,1998,1989,2409,2356,1898,1905,2102,2128,2233,2289,1780,1664,1513,1401,1522,1500,1510,1510,1578,1838,1853,1569,1773,1716,1614,1564,1763,2031,1847,1865,2186,2248,1843,1716,1639,1541,1475,1457,2487,2214,1601,1558,1623,1638,2053,1896,1568,1494,1813,1382,1169,1737,1676,1806,1874,1677,1704,1589,1401,1550,1717,1784,2243,2369,2067,1703,1580,1588,1519,1338,1390,1448,1522,1362,1374,1461,1613,1603,1720,1692,2037,1761,1718,1804,1638,1575,1736,1808,1731,1576,1449,1493,1570,1564,1842,1943,2300,1984,1580,1835,1718,1612,1449,1425,1661,1693,1729,1568,1557,1711,2048,2427,2119,1920,1772,1555,2159,2534,2288,1686,1582,1582,1561,1494,1594,1754,1916,1875,1635,1459,2140,2714,2480,2895,2347,2754,2835,2568,2208,2119,1838,1791,1623,1591,1531,1449,1281,1531,2358,2030,1744,1805,1980,1891,1660,1785,2123,2167,1959,1979,2098,2238,1929,1659,1650,1438,1354,1544,1948,2331,2019,1671,1892,1981,2105,1935,1809,1682,1572,1580,1627,1794,2583,3094,2962,2952,2823,2220,2059,1925,1475,1480,1518,1490,1371,1832,2431,3281,3796,3450,2984,2214,1860,1354,1332,2581,2808,2533,2203,1959,2342,2569,2405,1889,1499,1627,2452,1949,1793,2613,2513,2193,2198,1973,2197,2451,2534,2595,2692,3373,3564,3406,2938,1792,1880,1369,1614,2104,1805,1538,1701,1825,1982,1648,1601,1354,1892,2497,2141,2115,2344,2049,2008,2271,2599,2423,2020,1974,1626,1548,1551,1511,1626,1699,1813,1931,1992,2061,2027,1997,2237,2482,2805,3123,3904,3196,2852,2960,3143,3848,4470,4287,3927,3752,3859,3518,2639,3019,3344,3428,3687,3189,3284,3453,3230,3168,3010,2765,2552,2053,1658,1628,1332,1089,1642,1860,1893,1822,2158,2095,1994,1619,1346,1418,1545,1564,1760,1778,1437,1704,1894,2625,2923,2800,2787,2211,2374,2632,2256,2190,1946,1856,1896,1738,1770,2338,2657,2255,1763,1482,1958,2609,2492,2370,2328,1872,2073,2681,2407,2140,1816,1835,1845,1912,2099,2113,2081,2074,2081,2786,2684,2566,1549,1683,2729,2511,2425,2498,3108,3434,2812,2465,2209,2484,3112,2609,3010,2770,2234,2176,2370,2414,2381,2088,2018,2001,2132,1818,1314,1289,1746,2124,1677,1529,1599,1760,1749,1864,1989,1865,1976,2156,2445,2729,2538,2629,2199,2286,2206,2012,2788,3158,3204,3075,3396,3576,3361,3097,3188,3269,3310,3020,2649,2209,2130,2729,3452,3842,3688,2992,2569,3195,3144,3686,3785,3342,3355,2620,2268,2767,2678,2154,1960,2085,1718,2423,1899,1891,2465,2703,2657,2252,2101,1957,1748,2023,2148,1870,1919,1992,1848,2159,2154,2333,2386,2164,1892,1894,2172,2288,2115,1736,2094,2555,2608,2677,2876,3288,3094,2618,2448,2751,3011,2409,2566,2490,2231,1936,1612,1538,1610,1612,1785,1889,1773,1682,1405,2050,2458,2113,1611,2039,2200,1680,1720,1932,1997,2181,2156,1950,1936,1838,1590,1848,1811,1938,2094,2120,2390,2910,2895,2744,2857,2754,2088,2618,2482,2215,1743,1730,1691,2159,2231,2177,2344,1969,2084,3056,3139,2650,2964,3154,3011,2170,1814,1900,1872,1543,1731,2419,2713,2923,3078,2531,1891,1615,1485,1395,2163,2451,2442,2324,2128,2098,2245,2128,1903,2545,2620,2287,2216,2729,2951,2706,2757,2740,2935,3021,2713,2667,2344,2085,1788,1537,1446,1509,1510,1342,1378,1303,1262,1353,1752,2246,2431,2545,2631,2476,2554,2579,2614,2279,1839,1772,1450,1201,1542,1504,1232,1258,1247,1320,1676,1682,1567,1715,1608,1412,1428,1536,1574,1492,1305,1377,1403,1283,1247,1309,1354,1422,1394,1501,1717,1552,1273,1320,1233,1378,1807,1874,1613,1770,1863,1775,2384,2661,2271,2158,2294,2161,1804,1474,1288,1343,1532,1495,1400,1276,1248,1360,1679,1864,2149,2929,3579,3053,1734,1581,1599,1561,1810,1840,1532,1355,1467,1515,1386,1349,1215,1259,1483,1369,1469,1533,1482,1403,1319,1468,1502,1383,1319,1388,1395,1300,1509,1910,2340,2669,2397,2368,2422,2375,1894,2142,2305,1891,2052,2729,2666,1996,1740,1691,1702,1708,1600,1746,2010,2036,2071,2012,1704,1875,2532,2697,2843,3030,3581,3698,3473,3110,2379,1774,1484,1389,1300,1403,1493,1431,1698,1592,1670,1558,1443,1561,1672,1571,1511,1406,1337,1526,1558,1493,1891,1970,2492,2598,2765,3321,3131,2275,2002,2050,2417,2778,2881,2775,2494,2278,2343,2774,3279,3435,3338,3020,2244,1883,2182,2029,1649,2436,2928,2628,3019,2765,2417,2441,2665,2790,2718,2402,2657,3670,3603,2579,2094,2857,3277,2064,1662,1737,1698,1677,1957,2172,2386,2519,2467,2403,2521,2113,1723,1615,1810,1861,2227,2357,1755,1521,1778,2290,2935,2869,2221,2128,1787,1681,1640,1761,1811,1966,2074,2043,2527,2534,2277,2260,2567,2465,2326,1900,2251,2422,1919,1605,1881,2215,2087,1818,1511,1620,1799,1591,1361,1723,1694,1489,2026,2699,2504,2060,1946,1966,1938,2014,2724,2716,3570,3034,1870,1793,2001,1831,2152,2097,2070,3146,2656,2849,2899,2581,2325,2165,1876,2396,2811,2304,2205,2205,2105,2309,2706,2235,2215,2321,1922,2149,2334,1973,2518,2577,2082,2319,2663,2677,2170,2135,2470,2856,2923,2366,2369,2758,3059,3122,2501,2138,1554,1830,2602,2783,3188,3634,3350,3395,3725,4067,4046,3863,3776,3406,3109,3073,3047,3173,3108,3135,3093,3237,3376,3215,3149,3030,2636,3022,3229,3063,3006,3146,3064,3017,3276,2614,2233,2632,2630,2672,2647,2434,2323,2663,2860,2839,2830,3007,2678,2408,2415,2078,2571,2810,2488,2404,2904,3044,3073,2576,2571,2603,2534],[2467,3059,3298,2475,1805,2286,2773,2366,1893,2551,3736,3997,3925,3908,3128,2498,2592,2526,2736,3086,3010,2511,2131,2477,2615,1895,2150,2447,3757,3884,2644,2334,2215,2623,2801,2387,2605,2919,2262,1860,2352,2309,2762,3033,3181,2359,2446,3350,3338,2961,3238,2875,2331,2712,2381,1910,2012,1653,1657,1993,1886,2718,3802,3471,3204,3357,3436,3542,3388,3361,2636,1898,1944,1692,1539,1793,2268,2229,1699,1818,2280,2092,1838,1695,1820,1913,2964,3769,2856,2110,1936,1762,1892,2438,2669,2623,2457,2038,1820,1787,1689,1782,1947,1941,2640,2988,2666,2712,2103,1631,1644,1974,2040,1888,1902,1453,1395,1530,1582,1329,1352,1472,1399,2114,2514,2493,2098,2634,2791,3833,4176,3251,2047,2200,2251,2049,1909,1683,1687,1437,1557,1885,1623,1909,3209,3562,3081,2873,3134,3603,4007,3552,2831,2902,2992,2376,2676,2656,2181,1641,1438,1448,1312,1230,1188,1196,1356,1507,1392,1311,1459,2322,2499,1907,1546,1364,1323,1701,1990,1839,2082,2418,2172,1832,1834,1880,1776,1717,1530,1449,1363,1277,1616,1969,2042,1695,1493,1791,1736,1560,1543,1583,1548,1419,1871,2024,1806,2197,2850,3422,3480,3343,2886,2246,2166,2577,2842,2750,3360,3487,3086,2777,2766,3645,4107,3995,3630,3221,3028,3317,3608,3297,3149,2807,2484,2171,1858,1826,1714,1603,1721,2608,3016,2765,2534,2665,2204,1661,1938,1987,1875,2002,1816,1573,1614,1657,2006,2356,2035,1960,2297,2190,2150,2361,2656,2346,2042,2073,1777,1753,1949,1658,1804,1869,2072,2201,2384,2190,2194,2149,2484,2676,2140,2125,2387,2396,2621,2535,2204,2131,2502,2710,2876,2702,2215,1913,1627,1592,1751,1476,2078,3031,2988,3505,3299,2811,2775,2858,2717,2839,2662,1927,2274,2602,2698,2588,2000,1556,2004,2271,2064,2084,2065,2151,1932,1743,1672,1723,1704,1484,1544,2071,1903,1793,1744,1516,1615,1881,1933,2197,2732,2069,2150,1853,1678,2141,2360,1984,2030,1932,1638,1517,1594,1682,2021,1844,1561,1947,2542,2087,1689,1672,1698,1522,1468,1592,1818,1934,2109,1859,1661,1614,2150,2293,2304,2154,2261,2573,2676,2917,2696,2642,1968,1753,1748,1701,1437,1565,2031,1971,2020,2010,1678,1593,1843,1690,1644,1686,1716,1685,1694,1934,1924,2059,2939,3140,3112,3283,3087,2964,2385,2666,2359,1885,1980,2030,2140,1658,1675,2287,2253,1968,2050,1930,2455,2961,2555,2735,2308,1736,1736,2157,2662,3124,3400,2867,2035,1553,1798,2944,3594,2539,2066,2900,3295,2940,2349,2001,2232,2482,1872,1804,1764,2379,3331,3479,3176,3317,2787,2218,2145,1770,1404,1288,1520,1724,1631,1992,1778,1339,1717,1644,1610,1830,1688,1827,2010,1616,1512,1520,1630,1812,2375,2229,1619,1504,1874,2002,1737,1636,1476,1334,1505,1606,1776,1594,1736,1503,1539,1440,1511,1646,1466,1348,1666,2232,2371,1974,1834,1830,1639,1874,2630,2766,2438,2237,1887,1730,1750,1933,1907,1598,2208,2778,2128,1483,2210,1937,2014,1950,1713,1809,1563,1440,1910,3043,2675,2554,1900,1706,2284,2778,2866,1914,1409,1729,1824,1530,1411,1289,1687,1778,1846,1602,1515,1446,1850,1664,1603,2241,3060,3145,2035,1885,2481,2158,1724,2480,2702,2170,2413,2426,1974,1726,1834,2080,2570,3135,2676,2443,2531,2153,2016,1995,1938,2061,1981,1645,1493,1467,1514,1453,1595,1841,1922,2093,1784,1962,2121,2130,2176,2821,2834,2188,2098,2301,1885,1947,2511,1870,1793,1633,1626,1548,1960,2645,2989,2910,2593,1883,1895,2056,2322,1708,2710,3897,4175,4063,3609,3271,3081,3527,4034,4148,3297,1747,1985,2712,2802,2539,2444,1995,2310,2676,1782,1645,2778,2931,3240,3145,3538,3308,3065,3296,3116,3094,3294,3608,3895,3352,2275,1837,1955,1937,2443,2599,2182,1926,2047,2314,2083,1583,1345,1580,1755,1848,1942,1987,1968,1739,1590,1607,1442,1477,1415,1503,1745,1952,1764,1536,1706,1859,2542,2125,1886,1610,1572,1600,1604,1817,2388,2167,1864,1999,1797,1569,1623,1855,1825,1736,1696,1505,1409,1433,1417,1512,1603,1616,1657,1616,1739,1820,1528,1744,1802,1603,1582,1502,1586,1560,1280,1383,1543,1615,2040,1949,1826,2271,2546,2677,2876,2193,1542,1531,1574,1607,1566,1378,1319,1528,1457,1900,1837,1576,1671,1651,1677,1626,1888,1926,1740,1893,2124,1971,1692,1582,1452,1516,1482,1676,1996,1812,1510,1526,1679,1536,1775,1709,1763,1904,2472,1971,1620,1712,1744,1574,1420,1476,1654,1611,1478,1484,1752,1850,1860,1778,1658,1686,1559,1521,1555,1436,1557,1551,1590,1262,1359,1479,1550,1629,1519,1438,1618,2128,2302,1796,1549,1423,1786,1774,1647,1413,1402,1699,1581,1574,1780,2000,2292,2008,1696,2063,1618,1393,1482,1461,1515,1469,1590,1499,1574,1931,2203,2134,1771,1580,1550,1750,2094,1888,1706,1554,1394,1435,1500,1595,1555,1476,1792,1935,1735,1787,2336,3170,2708,2246,1952,2315,3101,3011,2331,2104,2393,2448,1564,2084,1660,1377,1497,2262,2308,1790,1455,1651,2036,1852,1958,2093,2351,2127,1983,1630,2044,2622,2154,1600,1431,1509,1483,1582,2046,2133,1983,1887,1815,2076,1992,1915,1969,1604,1407,1577,1843,1993,2661,2890,2662,2481,2858,2939,2814,2169,1482,1353,1617,1643,1475,1862,2618,2952,2996,2556,3073,2442,1706,1393,1394,1744,2128,2622,2345,1951,2098,2920,3181,2918,2264,2008,2402,1824,1644,2614,2471,1785,2023,2520,2383,2162,2308,2218,2414,3374,3329,3673,3211,1763,1205,1224,1549,1578,1630,1915,1648,1477,1713,1555,1819,1886,2441,2445,2163,2150,2329,2265,2344,2412,2290,2024,1957,1937,1730,1746,1704,1509,1643,1984,2148,2278,2358,2261,2093,2034,1930,2243,3006,2631,3137,3140,3115,3464,3428,3781,4422,4299,3888,3680,3707,3795,2855,2877,3665,3740,3417,2939,2916,2712,2640,2797,2808,2749,2360,1965,1779,1804,1254,1127,1926,1727,1308,1543,2025,2158,1953,1564,1355,1348,1446,1490,1704,1699,1542,1634,1895,2722,2864,2680,2586,2297,2385,2191,2551,2326,1823,2071,1799,1740,1769,2138,2265,1667,1356,1453,1920,2297,2333,2696,2426,2376,2742,3138,2690,1703,1321,1533,1565,1605,1967,1994,1848,2143,2691,2561,2511,2597,1634,1698,2302,2310,2509,3508,4096,3624,2405,1966,1654,2242,2950,2359,2312,2384,2108,2219,2449,2558,2137,1630,1959,2022,1936,1586,1328,1575,2031,2020,1725,1590,1734,2073,1947,1852,1720,1598,2047,2056,1923,2243,2368,2142,2192,2855,2547,2488,3418,3717,3942,3609,3815,3748,3483,3255,3132,3215,3291,2780,2026,2139,2732,2269,2718,3342,3193,2676,3016,3284,3319,3472,3376,3238,2885,2334,2642,3144,2497,1899,1783,1963,1693,1932,1720,1784,1925,2100,2248,2359,2446,2384,2249,3103,2964,2504,2235,2043,2084,2065,2116,2072,2019,1852,1941,2394,2194,2479,2498,2242,2592,2524,2218,2313,2722,3010,2901,2506,2365,2507,2456,2475,2170,2348,2237,1865,1557,1614,1682,1851,2206,2116,1720,1532,1676,1758,2234,2156,1614,1923,2148,1710,1766,2117,2071,2040,1963,1886,1952,1879,1548,1633,1961,2014,2213,2295,2480,2803,2968,2677,2382,2625,1995,1979,2028,2104,2002,1655,1366,1916,2144,2200,2430,1968,2261,3191,2386,2034,2519,3050,2900,2126,1912,1982,1876,1643,1730,2332,2852,2992,2987,2575,1971,1695,1681,1751,2273,2508,2401,2414,2420,2384,2443,2585,2644,2966,2354,2194,2213,3160,2724,1669,1879,1970,2004,1970,1743,2061,1660,1610,1655,1824,1661,1616,1599,1589,1475,1259,1256,1421,1745,2186,2397,2588,2564,2494,2433,2141,1792,1359,1523,1802,1594,1622,1870,1610,1425,1493,1544,1676,1957,1930,1676,1508,1421,1276,1376,1682,1578,1404,1311,1281,1213,1270,1332,1393,1742,1827,1682,1572,1437,1506,1358,1181,1201,1250,1718,1672,1466,1809,1826,1839,2474,2720,2469,2584,2632,1936,1501,1305,1201,1364,1499,1372,1249,1231,1271,1437,1701,1670,1362,1844,2403,1824,1489,1538,1577,1351,1318,1361,1271,1276,1534,1723,1464,1252,1027,1430,1418,1310,1747,1741,1484,1428,1452,1476,1485,1437,1434,1325,1312,1720,1772,2237,2268,2240,2183,1851,1766,1972,2067,2100,1993,1907,1802,2282,2147,1987,2047,1776,1954,1945,1865,2018,1949,1941,2036,1691,1999,2199,2105,3301,3428,3223,3418,3581,3298,2565,2196,2025,1690,1516,1418,1486,1492,1707,2540,2135,1721,1650,1580,1509,1487,1477,1473,1455,1469,1572,1418,1319,1993,2147,2757,3152,3418,3695,2842,1925,1912,2002,2036,2494,2485,2743,2721,2088,2201,2562,2788,3208,3360,2954,2074,1719,2130,2277,1919,3020,3341,3085,2784,2482,2308,2481,2745,2238,2366,2374,2990,3671,2662,2038,2364,3387,3119,2399,1949,1493,1638,1794,1858,1853,2518,2955,2829,2457,1919,1648,1962,1749,1629,1842,1860,1807,1875,1974,1928,1822,1782,1994,2071,2424,2267,1882,1660,1733,2068,2554,2764,2231,2322,2575,2306,2099,2386,2095,2080,2136,1980,1566,1028,1254,1936,2526,1957,1723,1469,1621,1888,1638,1318,1818,1938,1537,1678,1912,2050,2223,2574,2754,2880,2513,2245,2653,3184,2779,1994,1970,1846,1851,2355,2572,2656,3243,3159,3238,2990,2280,2060,2025,1854,2364,2289,2023,2334,2419,2100,2137,2729,2535,2584,2549,2182,2409,2136,1496,2285,2570,2427,2603,2670,2597,1981,2491,2758,2958,3195,2612,2419,2459,2443,2352,2908,2697,2335,2077,2353,2926,3448,3177,3082,3264,3220,3740,3861,3665,3599,3407,3348,3304,3060,2908,2876,2958,3016,3178,3150,3091,2975,2612,2438,2994,3299,3252,3129,3056,2990,3077,3294,3192,3012,3156,2888,2763,2855,2761,2735,2883,3054,3042,2942,3176,3043,2901,2852,2514,2380,2633,2984,3063,2985,2586,2299,2237,2196,2058,2078],[2666,3172,3528,3317,2844,2640,2896,3117,2753,2388,3572,3816,3483,3363,3233,2360,1782,1807,1958,2433,3019,2675,2369,2554,2282,1530,2603,3504,3884,3576,2800,2282,2175,2888,2921,2719,2789,2784,1941,1887,2385,2068,2093,2678,3011,2482,2352,3177,2814,2118,2241,2519,2552,2503,2185,2001,1980,1554,1751,2118,2020,2678,3465,3408,3275,3279,3066,3056,2986,3293,2690,2527,2579,1803,1556,2231,2746,2653,2058,1659,1990,1985,2117,2642,2396,2001,2719,3795,3211,2072,1831,1762,2017,2089,2056,2700,3106,2483,2019,1985,2041,1793,1509,1603,2149,2296,2310,2691,2053,2037,2099,2088,1879,1942,1868,1532,1660,1681,1494,1393,1376,1460,1505,2309,2565,2297,2131,2601,2801,3481,3073,2290,1795,2057,2879,2973,2367,1683,1892,1807,1952,2044,1528,2131,3152,3326,2955,2885,3167,3159,3492,3505,3308,2776,2700,2808,3056,2911,2754,2289,2411,2451,1570,1225,1225,1196,1160,1263,1574,1378,1563,2684,2383,1802,1590,1366,1287,1550,1740,1185,1201,1846,1980,1637,1609,1951,1865,1671,1670,1678,1544,1445,1471,1613,1784,1528,1788,1988,1662,1531,1868,1816,1508,1649,2054,1815,1637,1802,1706,1979,2484,2697,2475,2174,1885,2354,2876,2497,2501,3023,3278,2565,2457,3924,3708,3508,3518,2578,2312,2852,3342,3227,2964,3001,3120,2731,1948,1678,1519,1448,1316,2647,2969,1933,2093,2961,2277,1646,1918,1924,1841,1897,1726,1531,1671,1784,2055,2353,2241,2209,2272,2288,2127,2219,2482,2548,2316,2121,1938,1696,1525,1503,2086,2346,2419,2542,2186,2118,2540,3104,3023,2745,2571,2375,2187,1966,2288,2341,2155,2215,2670,2768,2870,2820,2313,1913,1692,1690,1883,1564,2003,2675,3284,3596,3292,3184,3283,2721,2430,2545,2527,1857,2405,2655,2188,1996,1812,1548,1972,2174,1626,1602,1663,1892,1663,1621,1582,1451,1494,1666,1744,1721,1737,1807,1825,1704,1859,1968,1718,2310,2799,2622,2311,1945,1810,2031,2141,2016,2174,1942,1810,1785,2004,1809,1557,1483,1508,2646,3746,2999,1887,1647,1560,1488,1491,1411,1503,1734,1916,1898,1891,1831,1949,1867,2030,2166,2498,2347,2395,3121,2698,2689,2211,1637,1687,1943,1616,1805,2417,2605,2453,2184,2096,1716,1667,1549,1726,1701,1537,1770,2045,2266,1886,1727,2349,2602,2470,2290,2255,2530,2102,2878,3305,2491,2222,2255,2080,1946,1937,2175,2046,1807,1708,1436,1907,1886,1662,2358,2243,2237,2256,1700,1838,2731,3107,2599,2196,2020,1912,2358,2437,2369,2151,2428,2970,2831,2474,2010,1736,2069,1937,2270,2494,2763,3500,3720,3065,2813,2541,2155,2077,1821,1648,1463,1599,1904,1840,2046,1704,1715,1834,1613,1447,1452,1670,2268,2318,1604,1478,1504,1503,1964,2977,2581,1634,1411,1506,1650,1505,1505,1431,1294,1413,1731,1657,1587,1741,1647,1590,1647,1688,1653,1510,1437,1593,1766,1864,1997,2332,2065,1745,1937,3034,3682,3730,3256,2077,1903,1808,1618,1493,1649,1720,1858,1836,1414,1534,1402,1792,1882,1694,1711,1520,1593,1979,2546,3176,2888,1639,1389,1644,1870,1809,1439,1434,1776,2320,2077,1686,1442,1555,1470,1677,1733,1592,1611,1782,1546,1658,2846,3553,2779,1788,2040,2492,2127,1709,2387,2881,2284,1903,2097,1918,1375,1433,1621,1785,1827,2142,2043,2318,2290,2080,1868,1731,1866,1896,1791,1677,1503,1542,1482,1459,1968,2170,1964,1806,1787,1616,2087,2731,2668,2578,2897,3144,2858,2325,1968,2181,2048,2075,2005,1792,1804,2011,2570,2842,2646,2244,1689,1709,1873,1721,1828,2828,3635,3967,3913,3876,3444,3028,3729,3987,3850,2929,1897,1843,1589,1321,1502,2092,2458,2519,2721,2190,1143,2095,2466,3398,3227,3175,3398,2845,3068,3419,3144,2835,2826,3404,3084,2018,1622,1785,1811,2065,2186,2147,1881,1770,1817,1699,1587,1663,1799,1694,1557,1673,1779,1983,1651,1442,1413,1407,1368,1345,1314,1405,1786,1635,1453,1461,1891,2210,2014,1750,1717,1531,1710,2021,2137,2207,1606,1638,1972,1700,1553,1723,1509,1644,1713,1797,1685,1518,1651,1535,1602,1633,1537,1538,1564,1911,1692,1438,1811,2257,2122,1525,1449,1617,1470,1415,1335,1430,1527,1794,1900,1654,2103,2391,2172,1663,1357,1389,1503,1548,1535,1657,1568,1770,1935,1830,1872,1552,1717,1805,1673,1721,1671,1809,1546,1539,1763,1942,1872,1672,1532,2083,2488,2115,1671,1476,1543,1533,1665,1765,1696,1626,1543,1796,1872,1895,1753,1757,1891,1687,1531,1575,1592,1599,1788,1927,2041,2222,1860,1575,1490,1573,1786,1842,1432,1478,1527,1460,1464,1537,1340,1320,1454,1510,1446,1396,1315,1667,2362,2425,1887,1752,1841,1975,1699,1596,1487,1523,1637,1546,1387,1461,1721,2292,2110,1721,1981,1685,1563,1567,1683,1679,1562,1621,1634,1537,1621,1891,2203,1629,1481,1483,1954,1840,1668,1530,1380,1393,1509,1812,2193,1937,1591,1784,1974,1703,2137,1859,2089,2128,1970,1858,2049,1994,1938,1743,2009,2384,2177,1892,2012,1586,1281,1720,1794,1497,1364,1467,2244,2135,1609,2272,2162,2148,1972,2360,2125,2489,2460,1771,1487,1481,1696,1732,1770,1998,2198,2149,2127,2111,1878,2042,2364,2025,1783,1614,1386,1566,2072,2713,2592,2470,2651,3024,2676,2278,1643,1376,1555,1617,1444,1445,1726,2067,1663,1834,1715,1857,1793,1618,1382,1321,1450,2169,2659,2255,2005,2259,3584,3895,3648,3218,2323,1855,1847,1620,1959,2151,1688,1931,2322,2456,2290,2107,1911,2509,3218,3151,3287,3085,2545,1978,1808,1684,1168,1145,1780,1503,1541,1826,1922,2112,2498,2989,2588,1936,2249,2372,2226,2615,2183,1749,1821,2013,2061,1600,1800,1868,1736,1790,1916,2287,2508,2442,2118,2259,2495,1649,1795,2778,2399,2182,2299,2984,3577,3333,3418,3827,4108,4027,3955,3720,3825,3659,3573,3920,3727,3277,3274,3108,2867,2958,2521,2358,2795,2131,2040,2166,1969,1390,1313,1448,1307,1189,1228,1529,1931,1985,1917,1819,1534,1193,1211,1410,1368,1468,1620,2374,3452,3406,3034,2621,2107,1815,2052,2664,1867,2104,2465,1935,1684,1623,1766,1659,1224,1379,1468,1742,2280,2085,2127,1872,2173,2491,2103,1698,1330,1266,1484,1563,1707,2181,2226,2044,2417,2577,2036,2203,2372,1886,1628,2210,2711,2540,3229,3329,2602,1781,1563,1601,2196,2601,2528,3122,2953,2106,1807,1993,1960,1811,1635,1794,1794,1798,1753,1737,1503,1769,2025,1783,1824,1935,1754,1754,1804,1771,2057,2283,2097,2178,2873,2897,2157,2710,3999,3801,3438,3750,4116,4272,3862,3897,3515,3204,3174,2976,2909,3008,2117,1338,1841,2749,2002,2193,2589,2791,3005,2774,2328,2599,2730,2634,2360,2121,2160,2241,2784,2143,1832,1836,1915,1878,1778,1872,2008,1931,2030,1807,1854,2353,2764,2588,3144,2830,2282,1980,2394,2494,1938,1877,1776,1907,2104,2308,2658,2574,2642,2311,2191,2136,1789,1999,2553,2604,2220,2386,2380,2397,2160,2058,2010,1945,2196,2037,1799,1958,2019,1636,1999,2307,2112,1986,1673,1860,1728,1903,2193,1726,1636,2062,1864,1864,1744,1556,1506,1775,2048,1853,1881,1716,1870,1782,1678,1945,1945,1913,2539,2520,2530,2536,2008,1862,1469,1715,2496,2535,1807,1589,2001,2120,2252,2346,2546,2477,3030,2207,1722,1856,2297,2333,1996,1861,1855,1865,1808,2014,2446,2771,2853,2975,2946,2678,2731,2591,2343,2750,2671,2578,2496,2395,2378,2492,2625,3178,3097,2471,2103,2298,3451,3084,1584,1740,1614,1520,1500,1665,2171,2177,1970,1904,1747,1518,1405,1391,1355,1292,1260,1246,1787,2138,2078,2398,2733,2598,2231,1813,1644,1497,1377,1511,1715,1425,1732,2215,1738,1496,1593,1732,1786,1731,1493,1305,1357,1340,1229,1393,1493,1259,1309,1487,1217,1377,1375,1364,1362,1432,1658,1692,1455,1346,1454,1285,1159,1266,1432,1857,1771,1454,1562,1759,1872,2160,2185,2205,2411,2348,1555,1274,1215,1156,1322,1412,1288,1311,1498,1590,1692,1793,1365,1353,1902,1584,1311,1322,1404,1425,1239,1274,1269,1254,1343,1481,1679,1430,1282,1236,1589,1360,1326,1492,1490,1458,1639,1760,1588,1511,1359,1437,1453,1432,1816,1733,2238,2365,1909,1697,1570,1428,1432,1485,1871,1819,1852,1695,2001,1781,1749,1635,1428,1766,1863,1748,1858,1775,1726,1543,1320,2037,1942,2059,2910,2576,2421,2962,2987,2075,1476,1522,1840,1730,1484,1432,1508,1469,1513,2168,2292,1797,1667,1673,1610,1689,1605,1551,1466,1511,1511,1331,2087,2512,2058,2284,2956,3273,3018,2203,1835,2107,2067,2031,2546,2292,2751,2799,1974,1829,2049,2381,3154,3269,3098,1584,866,1394,2384,2525,2988,3389,2922,2172,2205,2309,2693,2467,1236,1801,2214,2600,2874,2139,2127,2507,2821,2473,1932,1649,1677,2213,1841,2025,1724,1888,2190,2212,2141,1910,2373,2884,2407,1852,1829,1825,1730,1871,1947,2060,1922,2038,1916,1832,2425,2554,2209,1651,1674,2152,2791,2540,2097,2177,2444,2222,2395,2908,2419,2187,2340,2082,2083,1976,1963,2019,2705,2254,1872,1587,1608,1883,1745,1665,2052,2161,2035,2226,2071,1828,2205,2416,2368,2661,2531,2569,2685,2357,1914,2039,1935,2040,2139,2242,2389,2386,2689,3275,3264,2540,2197,2684,2491,2342,2680,1945,2001,2597,2712,2402,2088,2327,2486,2336,2327,2534,2325,1660,1971,2975,2193,1995,2450,2541,2440,2574,3000,2463,2402,2769,2371,2002,1517,2023,3100,3717,3282,3384,3111,2600,3009,3425,3485,3416,3421,3151,3140,3448,3363,3329,3277,3285,3261,3230,3100,2879,2884,2942,3041,3030,3064,2812,2195,2412,2788,3047,3168,3232,3089,2873,2800,3104,3278,3008,3067,2688,2373,2578,3273,3850,3773,3437,3216,3141,3160,3339,3100,2579,2542,2465,2426,2377,2123,2103,2052,1924,1987,1925,1843,2154],[2674,2944,3176,3648,3647,3329,2945,2654,3323,3186,2807,3266,3227,3085,2833,2383,1943,1601,1592,2291,3263,2988,2916,3154,2897,2893,3664,3762,3785,3350,2767,2551,2425,2766,3181,3454,3129,2792,2274,2252,2387,2177,2296,2648,2648,1940,2250,2938,2257,1963,2294,2723,2830,2533,2236,2025,1937,1572,1859,2417,2540,2376,2652,2824,2934,2598,2334,2378,2444,2690,2752,3140,3172,2265,1591,1945,2697,3027,2280,2147,2232,2043,2565,2850,2565,2583,3128,3730,3367,2412,2101,1809,1943,2290,1912,2387,2916,2329,1885,2125,2205,1640,1456,1696,1660,1664,1745,1829,1691,1876,2415,2177,1795,2054,2067,1948,1969,1830,1580,1896,1717,1469,1508,2111,2544,2494,2648,2715,2592,2796,3041,2504,1789,2214,2844,2830,1904,1364,1809,1610,1699,1720,1412,1929,2866,3151,2784,2230,2510,2644,2762,2880,2885,2279,2349,2863,3390,3494,3220,3225,3593,3610,1968,1210,1202,1188,1332,1604,1862,1592,1652,1807,1669,1754,1599,1433,1616,1809,2062,2315,1705,2014,1920,1641,1592,1752,1854,1765,1733,1804,1860,1704,1538,1776,1716,1565,1557,1551,1432,1571,1856,1694,1632,1926,1967,1550,1727,1772,1549,1920,2315,2259,2281,3130,2938,2448,2359,1787,2069,2527,2919,2293,2120,2785,2861,3122,2834,1848,1874,2577,3106,2619,2867,2804,3024,2679,1776,1563,1722,1560,1422,1945,2134,1786,1880,2091,1926,1719,1814,1827,1782,1654,1519,1407,1608,1841,2060,2181,2449,2832,2708,2304,1937,2305,2940,2655,2482,2185,1925,1645,1530,1829,2702,3383,3384,2609,2281,2390,2422,2729,2423,1889,2143,1793,1810,2138,2408,2392,2354,2875,2736,2400,2766,2614,2128,1788,1766,1937,1737,2056,2321,2158,2691,3191,3193,3198,2975,2399,2215,1980,1948,2197,2613,2423,1943,1657,1739,1604,1731,2136,1830,1854,1713,1823,1680,1529,1517,1544,1624,1910,2076,2148,2106,1781,1864,2002,2025,1693,1450,1571,2072,2132,1920,1748,1509,1782,2238,1838,2008,2072,2392,2189,2000,2134,2010,1871,2132,3056,3636,3504,3107,2259,1748,1849,1842,1588,1765,1932,1832,1746,1824,2024,1832,1626,1716,1676,1784,1775,1863,2509,2777,2945,2792,2321,2012,1973,1796,1832,2042,1951,2101,1978,1989,2678,2623,2229,1897,1888,1829,1721,1900,1938,1754,1497,1507,1936,2066,1941,2419,2468,2202,2977,3298,3099,2974,2372,2131,2127,1957,1672,1750,1760,1684,1638,1660,1704,1960,1886,1798,2732,3072,2091,1986,2242,2477,2276,2105,2163,2412,2574,2381,2387,2122,2141,2442,2520,2275,1751,1568,2496,2884,3120,3151,3380,3676,3675,3457,3138,2696,2090,2089,2039,2027,2002,1599,1891,1992,2173,2164,1777,1634,1557,1378,1475,1827,2634,2745,1958,1643,1607,1386,1926,3106,2591,1472,1381,1421,1571,1722,1714,1319,1284,1326,1496,1610,1538,1600,1694,1572,1571,1571,1537,1550,1784,1560,1581,1792,2014,2458,2099,1761,2082,3030,3500,3806,3534,1930,1868,1892,1730,1604,1736,1613,1543,1616,1576,1572,1732,1653,1614,1893,1922,1656,1604,1754,2283,3112,2366,1328,1387,1486,1456,1540,1432,1514,1594,2242,2769,2414,1723,1562,1518,1724,1823,1564,1654,1828,1486,1593,2878,3414,2159,1629,1856,2366,2056,1643,1920,2232,1952,1669,1659,1721,1730,1875,1833,1726,1526,1737,1826,2060,2662,2878,2495,2356,2063,1556,1728,1914,1584,1539,1419,1382,1776,1842,1804,2202,1977,1614,2082,2350,2097,2120,2786,3210,3038,2584,2361,2130,2167,2602,2437,2235,2314,1976,1827,2145,2302,2088,1913,1870,1664,1558,1968,2253,2485,2600,2314,2462,2586,2670,2914,3637,3435,2946,2812,2578,2074,1880,1996,2428,2844,2665,2757,2182,1058,1534,1940,2706,2910,3186,3278,2764,3082,3592,3012,2818,3134,3366,3593,3147,2828,2712,2631,2567,2229,2037,1981,2179,2238,1706,1741,1869,1580,1607,1551,1644,1624,1498,1528,1519,1375,1334,1405,1387,1354,1412,1542,1390,1421,1564,1656,1806,1770,1800,1938,1692,2029,2363,2042,1809,1594,1490,1677,1706,1679,1676,1454,1480,1778,2117,2003,1655,1714,1605,1566,1557,1702,1749,1861,1998,2129,2020,1973,2295,2001,1538,1444,1470,1490,1472,1357,1376,1501,1648,1570,1624,1763,1879,1728,1349,1237,1390,1617,1574,1421,1476,1489,1591,1820,2048,1770,1860,2205,1800,1687,1707,1578,1564,1525,1528,1632,1739,1786,1685,2213,3121,2853,2411,1916,1484,1625,1656,1562,1802,1781,1492,1425,1551,1693,1692,1780,2192,2338,1619,1502,1794,1819,1565,1617,1875,2212,1932,1580,1554,1707,1776,1723,1885,1746,1704,1515,1501,1998,2225,1646,1305,1479,1474,1538,1620,1377,1491,2060,2382,1749,1397,1640,1812,1747,1575,1441,1428,1445,1394,1394,1461,1460,1599,1806,1538,1596,1730,1655,1620,1895,1672,1444,1538,1631,1520,1647,1903,2032,1636,1439,1470,1480,1638,1772,1622,1641,1807,1813,2574,2768,2071,1573,1744,1936,1858,2100,1902,2098,2316,1854,1866,2044,1938,1970,1726,1961,1998,1566,1382,1277,1273,1408,1548,1632,1764,1559,1794,2290,1746,1786,2046,2201,2128,2054,2109,1928,2152,2069,1672,1745,1759,2022,1859,1831,2020,2238,1978,2121,1924,1516,2174,2454,2008,2106,1708,1401,1868,2321,2613,2658,2444,2876,3398,2756,1781,1477,1605,1937,1887,1529,1495,1665,1466,1500,1682,1475,1289,1522,1676,1702,1816,1877,2212,2408,2141,1879,2286,3241,3937,3716,3318,2285,1654,2037,1860,1299,1741,1769,2004,1853,1842,2355,2043,1807,1728,1875,2315,2312,2126,2041,1962,1918,1891,1900,1760,2220,2070,1845,1986,2174,2391,2561,2665,2126,1874,2389,2180,2060,2584,2015,1591,1653,1974,1949,1661,1989,2098,1716,1578,1832,1865,2135,2382,2131,2233,2411,1838,1715,2054,1754,1578,1998,2679,2483,2317,2805,3294,4024,4228,4296,4016,3873,4029,4039,3881,3464,3032,2868,2266,2045,2587,2775,2543,3173,2879,2429,2322,1718,1300,1241,1167,1168,1422,1505,1664,2432,2800,3061,2688,1829,1322,1422,1353,1296,1476,1857,2545,2997,3016,2923,2655,2256,1996,1945,2303,1917,2156,2669,2116,1653,1522,1510,1598,1546,1626,1843,2384,2409,2242,2067,1587,1847,1905,1637,1642,1491,1511,1873,1566,2043,2688,2568,2109,1980,2122,2114,1834,1643,1516,1548,2009,2644,2728,2666,2308,1979,1722,1604,1575,2387,2868,2978,3354,3184,2620,1908,1863,2098,1694,1805,1803,2001,2078,2264,2469,2137,1787,1720,1635,2090,1869,1565,1501,1715,1663,2344,2821,2384,2308,2708,2366,1947,2482,3917,3802,3587,3978,4213,4156,3896,3417,3132,3082,2720,2342,2200,2358,1526,1490,2372,3226,2861,2806,3260,3663,4062,3244,2264,2656,2909,2664,2421,2835,2668,2498,2289,1850,1910,2336,2430,2368,2315,1643,1852,1863,2182,2032,1896,1907,2269,2446,2603,2354,1859,1813,2290,2534,2075,1953,1958,1792,2087,2325,2429,2609,3033,2288,1800,2060,1863,2219,2431,2182,2518,2132,2343,2692,2021,1662,1774,2602,3068,2496,2511,2544,2055,1625,2402,2542,2701,2376,1698,1954,1692,1418,1943,1893,1872,1897,1457,1716,1607,1690,1489,1708,2030,1999,1867,1695,1549,1738,1883,1896,1992,2198,2890,2402,2347,2330,2577,2474,1625,1520,2236,2818,2444,1957,1895,1858,1753,1896,2692,2612,3087,2646,1910,1859,1700,1600,1607,1358,1275,1324,1365,1589,1803,2264,2789,2871,2841,2749,2502,2450,2509,2722,2291,2714,2807,2689,2924,2808,2893,3465,3595,2930,2242,2302,2939,3109,1689,1346,1462,1440,1379,1834,2179,2160,1971,1852,1798,1830,1521,1361,1404,1322,1374,1670,2156,1970,1622,1898,1978,1801,1602,1456,1622,1540,1375,1399,1574,1349,1738,2110,1755,1558,1614,1591,1419,1316,1284,1526,1859,1424,1359,1715,1428,1199,1294,1376,1351,1450,1333,1275,1298,1332,1398,1376,1251,1274,1478,1299,1409,1479,1701,1954,1710,1414,1471,1474,1427,1564,1723,1811,1957,1802,1546,1368,1261,1256,1378,1450,1383,1360,1601,1604,1615,1688,1724,2266,2665,1783,1345,1308,1342,1368,1223,1106,1232,1378,1334,1257,1432,1290,1197,1320,1366,1279,1207,1222,1402,1526,1893,2403,2088,1568,1426,1466,1428,1418,1792,1704,1953,2400,1852,1686,1912,1901,1773,1622,1657,1636,1562,1472,1548,1501,1575,1687,1627,1845,2157,1739,1556,1823,2048,1892,2497,2899,2454,2541,2620,2206,2618,3310,2663,1792,1595,1610,1789,1636,1544,1750,1794,1500,1278,1568,1713,1594,1703,1549,1560,1879,1621,1631,1605,1526,1364,1444,1939,1918,1917,2285,2776,2469,2411,1892,2142,2713,2202,2033,2511,2611,2592,2118,1980,2454,2392,2138,2872,3220,3377,1744,1031,1652,2448,2664,3312,3649,2835,2164,2706,2866,3046,1748,1181,1756,1949,2030,2061,2299,2589,2354,2145,1929,1848,1796,2169,2740,2684,3006,2496,2042,1757,2173,2534,2199,2409,2798,2596,2005,1705,1895,1954,1656,1686,2050,2193,2588,2397,2316,2285,1720,1700,1565,1655,1954,2549,1882,1815,2349,2445,2270,2424,2657,2148,2118,2097,1939,1992,1996,2003,2206,3120,3185,2282,1451,1331,2066,2741,2647,2337,2095,2113,2024,1975,1898,2132,2298,2871,3308,3183,2852,1976,1620,1993,2598,2500,2059,1987,2013,1819,1559,2032,2648,2562,2402,2828,2797,2823,2860,2823,2356,2521,2608,2596,2476,2374,2441,2335,2107,2214,2280,2112,1532,1512,1994,1946,1811,2266,2668,2626,3182,3792,2864,2485,2280,2006,2171,2049,2343,3207,3742,3408,2812,2524,2999,3160,3133,3430,3544,2977,2663,2635,2831,3024,3143,3109,3185,3419,3559,3649,3256,3034,2940,2917,2919,2710,2265,2284,2624,2717,2787,2985,3117,3060,2862,2576,2745,2909,2656,2671,2518,2413,2386,2999,3812,3813,3553,3318,3278,3311,3415,3225,2403,1980,1729,2091,2104,1959,2160,2202,2254,2202,2157,2467,2866],[3119,3399,3321,3364,3342,3383,3321,2810,3458,3753,3111,2665,2674,3018,2879,2469,2104,1887,1968,2879,3435,3396,3237,2540,2446,3283,3687,3618,3648,3227,2924,2954,2964,3203,3554,3738,3531,3044,2561,2573,2561,2547,2624,2740,2413,1853,2065,2791,2939,2585,2843,2331,1763,1988,2062,2064,1938,1685,2299,2664,2850,2574,2665,2752,2677,2442,2413,2541,2656,2691,2739,3094,3276,2410,1865,2041,2723,3357,2454,2189,2322,2178,2654,3163,3109,2997,3051,3152,3206,2854,2525,2301,2510,2530,1885,2442,2941,2373,2070,2394,2152,1549,1758,1794,1399,1444,1538,1740,1829,1876,2211,1914,1642,1785,1903,1742,1438,1847,2041,2030,1545,1752,2120,2275,2777,3238,3097,3024,3291,3344,3388,2524,1982,2429,2833,2484,1642,1605,2336,2182,1600,1490,1255,1408,2074,2364,2267,1979,2409,2443,2512,2818,2871,2622,2573,2593,3406,3567,3339,3705,3926,3043,1799,1425,1472,1371,1299,1467,1542,1714,2104,2211,2173,1938,1882,2015,1983,1980,2654,2825,2408,2211,1772,1687,1646,1439,1355,1537,1664,1917,2146,2099,1833,2015,1976,1626,1295,1416,1593,1726,1758,1760,2176,2206,1801,1426,1665,1863,2122,2474,2897,2603,2665,3670,3554,2425,2122,1806,2184,2308,2490,2349,2401,2071,2142,2609,2166,1772,1661,2003,2574,2518,2687,1756,2021,2324,2035,1834,2066,1988,1638,1536,1604,1946,1743,1497,1776,2202,2056,1927,1970,1828,1776,1882,1860,1555,1766,2109,2599,2968,2204,1889,2287,2993,3422,2887,2784,2106,1928,2120,1844,2011,2502,2770,2668,2562,2256,2053,2415,2398,2116,1823,1869,1729,1927,2494,2800,2553,2696,2621,2038,2003,2452,2061,2025,1742,1813,1980,2215,3079,3011,2835,2988,2987,3263,2956,3007,2974,2213,1739,1795,2445,2602,2326,2042,1836,1762,1751,1944,2399,2174,2277,1878,1756,1896,1729,1660,1661,1615,1797,2405,2424,2347,2201,2062,2121,2041,1860,1805,1634,1632,1889,2141,1509,1350,2049,2427,1831,1860,2070,2678,2421,2428,2476,2209,2054,1811,2279,3347,3146,2916,2304,1960,2244,2526,2319,2391,2170,1852,1540,1483,1761,2125,1988,1831,1646,1664,1592,1739,2393,3153,3262,2789,2153,2053,2223,1941,1855,2235,1866,1909,1957,1829,2751,3116,2584,2370,3047,3007,2148,1670,1558,1686,1698,1598,1686,1778,1919,2259,2072,2392,2815,2723,2653,2779,2416,2416,2093,1737,1518,1525,1585,1942,2194,2073,1870,2001,2043,1923,2497,2431,2335,2570,2242,2362,1984,1870,1986,2176,2167,1786,1667,1526,1839,2002,2042,1731,1619,1803,2079,2707,3589,3759,3216,3098,3259,3305,2830,1924,1559,2468,2547,2301,2447,2272,1998,1650,1690,1667,1393,1786,1906,1744,1598,1724,2154,2039,1576,1512,1703,1561,1578,1970,1656,1251,1456,1526,1596,1935,1794,1473,1485,1413,1361,1521,1465,1478,1653,1537,1518,1515,1530,1863,2222,1581,1579,1986,1920,1704,1760,1849,2365,3101,2917,3350,3443,1948,1775,1953,1946,1642,1521,1516,1434,1635,1722,1486,1667,1384,1443,1832,1646,1468,1437,1309,1634,2033,1711,1406,1557,1460,1485,1744,1525,1428,1488,1583,2295,2139,1771,1803,1515,1513,1557,1470,1449,1431,1381,1711,2165,2279,1708,1400,1479,1616,1775,1678,1458,1620,1587,1587,1623,1674,2199,2790,2427,1923,1909,1947,1861,2307,3189,3517,3295,3280,2548,1873,1925,1984,1808,1832,1664,1866,2266,1975,2272,2986,2410,1737,1649,1961,2222,2321,2867,3024,2700,2780,3146,2804,2197,2061,2064,2169,2159,1587,1651,2102,1848,1730,1745,1677,1504,1804,2282,1970,2017,2323,1843,1801,2180,2836,3532,3624,3382,3220,2705,2455,2723,2869,2990,3106,3075,3178,2973,2255,1192,1267,1768,2244,2778,3241,3284,2952,3093,3247,2269,2215,2795,2532,2497,2757,2941,2490,2481,2986,2599,1936,1936,2427,2731,2067,1829,1742,2018,1996,1759,1552,1510,1557,1405,1355,1249,1261,1413,1462,1290,1340,1417,1371,1461,1597,1686,1915,1891,1770,1802,2122,2215,1854,1508,1636,1778,1516,1540,1745,1690,1721,1636,1601,1598,1848,1675,1487,1771,1913,1797,1837,1697,1544,1583,1687,1828,1607,1648,1609,1575,1489,1323,1381,1649,1471,1538,1523,1369,1143,1394,1681,1503,1935,1627,1492,1545,1613,1678,1576,1508,1599,1526,1391,1577,1490,1621,2319,2556,2018,1853,1620,1737,1982,1801,1521,1543,1583,1593,1875,2551,2928,1942,1838,1862,1503,1795,2298,1736,1579,1599,1444,1399,1431,1693,1607,1588,2160,2122,1626,1518,1508,1524,1777,1702,1548,1547,1607,1728,2036,2055,1913,1887,1786,1742,1750,1626,1892,2614,2613,1793,1338,1508,1504,1493,1607,1624,1604,1789,1693,1555,1479,1623,1866,1928,1633,1358,1582,1626,1540,1753,1527,1361,1509,1681,1741,1665,1617,1453,1494,1722,1658,1505,1406,1566,1772,1667,1726,1640,1627,1714,1822,1776,1688,2277,2287,2330,2225,1861,1727,1480,1600,1410,1614,1813,1839,2107,2380,2122,1791,1865,2020,1809,1647,1713,1731,1770,1562,1390,1502,1556,1482,1378,1195,1983,2336,2025,2122,2107,1730,1682,1582,1503,1723,2083,2140,2067,2414,2215,1856,1727,1930,1958,1690,1511,1513,1613,1830,1963,1586,1509,1736,1733,1960,1954,1709,1902,2496,2279,2576,2676,2482,2588,2359,1793,1655,1859,2030,2049,1730,1636,1536,1636,1629,1735,1730,1350,1147,1283,1351,1625,1727,1557,1594,1773,1729,1548,1796,2556,2908,2520,2088,1885,1847,2040,2025,1577,1717,1968,2337,2157,1772,1943,1789,1827,1475,1224,1824,1674,1671,1844,1833,1937,2047,2159,2323,2519,2487,2294,2224,2223,2330,2480,2020,2088,2192,2230,2052,1946,2183,1731,1455,1598,1541,1533,1762,1809,1702,1797,1708,1780,1795,1879,2226,2093,2018,2294,2181,2008,1765,1447,1754,2057,2455,1967,2025,2663,3904,4443,4429,4560,4381,3883,3552,3626,3575,3420,2997,2877,2466,1929,1913,2190,2476,3130,3264,3112,2411,1446,1310,1337,1858,1984,2358,1928,1672,2000,2303,2591,2902,2287,1477,1475,1482,1576,1703,2373,3074,3045,2392,2461,2713,2321,2144,2267,2232,2086,2280,2420,1905,2096,1762,1739,1836,1637,1631,1757,1843,2060,2684,2620,1986,1716,1794,1685,1732,1554,1500,1779,1975,2208,2131,2036,2130,2178,1966,1690,1383,1743,1672,1651,1455,2289,2409,2137,2595,2426,1777,1676,1817,2443,2805,2898,2890,2909,2931,2070,2154,2120,1726,2263,3066,3104,2497,2545,3340,2992,1850,1476,1819,2246,2007,1894,1870,1837,2004,2844,2986,2198,1912,2242,2222,2030,1920,3060,3474,3405,3727,3962,3792,3333,2986,3216,3485,3254,3054,2614,2533,2249,2612,2985,3476,3030,2689,3117,3247,3318,3020,2514,2363,2643,2930,3009,3068,3086,2718,2073,1741,1891,2383,2048,2070,2425,1416,1765,2047,2225,2720,2757,2554,2696,2676,2551,2304,2298,2151,1910,2265,2667,2308,2022,1859,1941,2038,2019,2382,2819,2263,1636,1918,2278,2125,1942,1860,2631,2157,2182,2345,1833,1793,2158,3145,3360,2588,2483,2050,1771,1955,2408,1890,2092,2382,2151,2012,1688,1443,1747,1615,1586,1387,1247,1348,1393,1573,1527,1754,1986,1734,1681,1720,1547,1897,1972,1953,1944,2297,2643,2313,2144,2534,2965,2326,1595,1588,2337,2670,2226,1812,1653,1792,1658,1926,2635,2624,2635,2224,1619,1577,1195,1219,1165,1174,1172,1114,1156,1131,1401,2214,2935,2842,2562,2369,1535,1892,2208,2325,2576,2990,3040,2986,3239,3183,3050,3294,3484,3073,2612,2219,1936,2161,1569,1483,1761,1490,1283,1704,2094,1729,1311,1428,1693,1804,1617,1680,1604,1449,1328,1456,1730,1866,1690,1483,1571,1759,1670,1387,1535,1638,1592,1609,1681,1744,1759,1725,1697,1554,1315,1302,1355,1527,1421,2237,2579,1746,1427,1660,1325,1303,1420,1272,1289,1193,1207,1233,1296,1258,1192,1434,1326,1578,1792,1621,1617,1372,1341,1542,1392,1285,1356,1316,1309,1418,1525,1649,1980,2002,1653,1337,1226,1250,1321,1400,1571,1341,1379,1278,1380,1892,2568,2789,2303,1526,1289,1353,1377,1291,1231,1191,1325,1339,1512,1387,1178,1268,1295,1334,1452,1439,1323,1672,1669,1674,2426,2830,2428,1852,1639,1594,1824,1721,1656,1761,1818,1874,1799,2120,2754,2495,1830,1602,1591,1544,1562,1490,1453,1463,1750,2120,2171,2009,2184,2005,2074,2440,2373,2603,3181,3113,2642,2208,2394,2311,3516,3375,2425,1679,1698,1830,1816,1449,1376,1854,2004,1483,1397,1468,1346,1484,1726,1551,1476,1592,1266,1335,1514,1482,1538,1709,1717,1737,2255,2259,1931,1702,2311,2309,2779,3423,2788,1953,1714,1478,1281,1333,2164,2559,2137,2438,2875,2831,2498,2154,1936,2313,2851,2439,2512,3023,2516,2084,2676,2963,2609,1305,1600,1881,1838,1758,1646,2230,2789,2486,2154,1837,2105,2297,2666,2453,2821,2967,2928,2576,1917,2275,2489,1994,1636,1775,1642,1741,1628,1765,1716,1759,2371,2522,2279,2115,2310,2690,2662,1875,1859,1893,1802,1561,1672,1686,1940,2179,2263,2121,2271,2330,1907,2072,1805,1354,1101,1187,2013,2374,3047,2756,1405,1064,1186,2397,2470,2321,1990,2426,2365,2109,1969,1999,2079,2007,2379,3564,3460,2843,2061,1725,2309,3001,3006,2265,1977,2094,1642,1231,1398,1904,2185,3020,3222,2919,2722,2941,2984,2783,2645,2567,2567,2476,2564,2587,2303,2189,2155,2260,2133,1943,1360,1678,2003,1925,2554,2984,2776,2956,3992,3838,2752,2182,2201,2487,2250,2337,3032,3176,2728,2520,3232,3327,2616,2732,2692,2741,2284,2361,2517,2490,2735,2960,3163,3381,3569,3729,3918,3643,3448,3201,2852,2596,2311,2391,2719,2809,2809,2809,2973,2830,2831,2878,2724,2775,2489,2438,2528,2361,2296,2253,2621,3575,3849,3793,3639,3476,3303,3308,3179,2632,2381,2226,2272,2465,2512,2389,2558,2308,1967,2263,2414,2148],[2894,3353,3290,2636,2374,2999,3660,3662,3726,3664,3429,2939,2497,2386,2491,2856,3117,2582,2666,3470,3291,3405,3560,2971,2830,2751,3145,3665,3764,3209,2952,3132,3906,3952,3838,3874,3328,2436,2554,2909,2574,2344,2579,2351,2368,2575,2200,2510,2998,2968,2788,2068,1570,1692,1913,2226,2046,1890,2322,2421,2841,2847,2789,2613,2492,2474,2687,2928,3075,3188,3152,3152,3203,2412,2384,2474,2710,3264,2920,2514,2592,2874,3250,3452,3579,3593,3312,3282,2910,2666,2802,2734,2530,2207,2041,2314,2261,1970,1971,2151,1908,1696,1699,1625,1446,1596,1689,1653,1720,1961,2058,1756,1417,1388,1552,1475,1566,2654,3024,2438,2347,2997,3155,3032,3279,3974,3714,3762,3652,3187,2979,2413,1846,1788,2054,1654,1536,1902,2029,1832,1555,1407,1234,1428,1672,1924,2524,3146,3160,2170,2134,2712,2536,2899,3090,2188,2994,2656,2403,2671,2723,2004,1588,1645,1721,1427,1438,1572,1748,2366,2426,2469,2568,2368,2276,2025,1932,2448,2934,2687,2438,1926,1535,1501,1700,1547,1369,1339,1422,1756,1904,1954,1983,1900,1886,1654,1452,1598,1866,2050,1940,1918,2167,2000,1669,1638,1945,2091,1991,1916,2315,2630,2882,3442,3494,2585,2535,2318,2740,2722,2557,2630,2945,2439,1827,1633,1616,1852,1776,1650,1714,2220,2271,1638,1794,2654,3264,2569,2183,2048,1752,1554,1654,1932,1900,1735,1864,2386,2205,1895,1771,1855,1847,1846,1716,1444,1667,1735,2291,2007,2111,2256,2889,3487,3593,3197,2854,2458,2613,2584,2211,2090,1880,2459,2679,2702,2276,2422,2392,2165,2303,2473,2216,1719,1729,2458,2646,2485,2403,1765,1759,2076,1973,1778,1942,1904,1765,1643,2386,3517,3299,3319,3094,3152,3160,2545,2502,2445,1825,1710,2120,2475,2415,2345,2010,1809,1700,1767,2105,1976,2588,2833,1901,1752,2016,1987,1948,1858,1991,2110,2476,2029,2067,1955,1564,1765,1926,1748,1603,1642,1816,2238,2283,1866,1431,2240,2370,1942,1730,1896,2494,2454,2170,2181,2028,2032,1664,1941,2973,2836,2285,2142,1684,1882,2098,2137,2395,2233,1939,1475,1461,2111,2769,2145,1838,1891,1885,1848,2449,3232,3369,2922,2150,1907,2008,2024,1964,2221,2416,1810,1568,1764,2077,2453,2446,1802,1920,2806,3365,2209,1540,1597,1520,1510,1591,1962,2310,2459,2231,1991,2393,2590,2774,2393,2765,2451,1969,1819,1674,1555,1968,2040,1696,1958,1991,1725,2344,2918,2779,2661,2398,2533,2567,2476,2465,1991,1883,1964,1855,1809,1529,1732,1632,1732,1830,1873,1764,1649,1639,1831,2536,3272,3066,2661,3378,3000,2608,1934,1476,1703,2510,2336,2125,2380,2486,2125,1602,1480,1598,1543,1834,1638,1471,1533,1615,1692,1802,1624,1518,2021,1966,1531,1623,1414,1413,1542,1450,1416,1643,1567,1770,2153,2049,1615,1583,1490,1449,1666,1733,1844,1671,1696,2266,2111,1656,1923,2378,2275,1700,1527,1568,2460,2896,2383,2742,2691,1928,1788,2082,2167,1833,1619,1607,1545,1701,1745,1691,1780,1521,1621,1876,1498,1477,1527,1389,1411,1660,1453,1439,1704,1798,1577,1363,1534,1530,1493,1446,1586,1539,1644,1765,1428,1663,1640,1763,1531,1399,1381,1846,2156,2130,1706,1383,1398,1505,1984,2018,1721,1542,1422,1430,1548,1467,2128,2636,1996,2023,2743,2608,2165,2847,3388,3299,3308,3143,2310,1872,1634,1654,1846,1782,1753,2130,2468,1952,2280,2392,2339,1793,1650,2006,2543,2916,2962,2577,2437,2918,3359,3085,2680,2355,2187,2041,1773,1588,2021,2027,1685,1550,1444,1562,1925,2535,2843,2659,2388,2156,1901,1826,2307,2806,3069,3120,3318,3208,2673,2689,2873,2700,2474,2842,3527,3922,3231,2486,1496,1138,1799,2314,2964,3179,2964,2887,2906,2890,2188,1750,1900,1865,1885,1785,1901,2265,2583,2790,2541,2044,1806,2152,2866,2335,1967,2036,2310,2260,1902,1570,1768,1754,1636,1588,1347,1290,1330,1366,1261,1353,1365,1462,1657,1740,1903,2243,2134,1566,1724,2269,2122,1540,1553,1710,1821,1610,1564,1703,1814,1803,1790,1576,1507,1569,1417,1494,1938,2207,2214,2178,1864,1776,1889,2061,2100,1569,1470,1390,1578,1539,1354,1365,1606,1523,1542,1739,1694,1669,2210,1669,1856,2210,1804,1654,2021,1899,1771,1556,1444,1589,1609,1660,1952,1503,1491,1792,2102,2028,2219,2114,2024,1798,1540,1498,1559,1731,1803,1916,2299,2504,1736,1647,1848,1648,1781,1972,1526,1371,1334,1461,1512,1642,1589,1408,1431,1661,1718,1525,1445,1562,1772,2084,2003,1754,1633,1873,1816,2163,2141,2000,1949,1730,1549,1721,1666,1986,2632,2397,1577,1544,1607,1300,1249,1242,1460,1509,1289,1527,1899,1884,1936,1976,1936,1774,1439,1108,1470,2113,1942,1615,1562,1492,1408,1488,1925,2237,1627,1426,1461,1529,1364,1296,1482,1635,1754,1807,1890,1817,2060,3002,2800,1590,1909,2336,2691,2178,1584,1344,1711,1741,1461,1612,1766,1787,2102,2521,2093,1838,1884,1766,1753,1792,1954,1712,1887,2237,1995,1888,1834,1478,1582,1787,2653,2928,2763,2710,2496,1758,1393,1430,1451,1489,1741,1935,2150,2330,2165,2259,1889,1564,1585,1542,1446,1660,1864,1969,1943,1739,1797,1598,1527,1819,1858,1858,1955,2052,1967,2089,2285,2240,1940,1669,1939,1952,1929,2020,1667,1570,1386,1355,1660,1696,1609,1461,975,989,1183,1296,1591,1440,1268,1336,1394,1346,1301,1674,1834,1590,1643,1472,1789,1864,2024,2317,2014,1924,2102,2047,1746,1589,1556,1543,1736,1479,1549,2106,1651,1616,1823,2367,2511,2081,2507,2987,2795,2758,2655,2342,1881,2096,2540,1829,1930,1887,2002,1999,2178,2243,1718,1586,1641,1527,1559,1742,2026,1924,2168,1902,1687,1987,1914,2094,2269,2393,2591,2306,2096,1818,1417,1444,2125,2564,2299,2017,2162,3342,4042,3798,3652,3483,3111,3022,3375,3218,2556,2598,2934,2813,2698,2468,1833,1635,2149,2700,2768,2203,1578,1536,1445,2271,2460,2894,2652,1713,1392,2050,2684,2722,2435,1875,1559,1597,1859,1909,2353,2894,2881,2042,1919,2438,2363,2120,2132,2434,2923,2900,2538,2273,2533,2186,2259,2030,1541,1505,1512,1441,1754,2214,2322,2322,1824,1751,1568,1879,1811,1588,1488,1560,1477,1332,1429,1706,1984,1926,1808,1730,2262,1864,1985,1764,2208,2598,2488,2623,2305,1844,1983,1966,1903,2003,2531,2949,3112,2863,2310,2329,1834,1604,2299,3583,4050,3308,2810,3539,2751,2546,1952,1663,1761,1723,1587,1794,2070,2315,2486,1919,1632,1803,2568,2711,2548,1956,2507,3308,3356,3426,3307,3203,2933,2954,2743,2829,2972,2877,3000,3051,3247,3115,2572,2722,2529,2406,2132,2110,2043,2304,2245,1983,1899,2234,2710,2996,3063,2596,1999,1645,1822,2056,1647,1781,2198,1528,1509,1882,2820,3967,3663,3087,3028,3122,2653,2325,2708,2359,2182,2764,2897,2524,2051,1781,1985,1886,1823,2010,2548,2543,1793,2362,2689,2558,2068,1853,2382,2143,1754,1660,1603,1799,2094,2535,2321,1806,2087,1986,1946,1968,2137,1811,1565,2110,2171,1980,1585,1562,1704,1499,1642,1499,1483,1406,1374,1364,1439,1841,2249,1958,1860,1804,1632,1910,1964,1926,1881,2038,2417,2269,2087,2491,2593,1958,1753,2151,2249,1941,1825,1928,1887,2175,1863,1815,2484,2538,2586,1917,1453,1608,1356,1470,1531,1503,1486,1467,1494,1479,1705,2228,2532,2712,2450,2257,2257,2918,2901,2797,2775,2985,2962,2884,3158,3175,2727,2558,2986,3042,2943,2186,1759,2149,1674,1378,1494,1421,1338,1567,1992,1944,1718,1580,1501,1567,1455,1476,1456,1381,1350,1391,1533,1772,1742,1404,1338,1422,1326,1272,1403,1629,1759,1814,1761,1586,1446,1429,1486,1550,1402,1470,1518,1635,1427,2330,2512,1698,1446,1674,1382,1308,1321,1283,1322,1310,1485,1374,1434,1411,1311,1566,1408,1329,1265,1282,1474,1515,1537,1355,1390,1350,1345,1406,1422,1419,1317,1410,2107,2496,1739,1269,1175,1148,1232,1369,1374,1357,1597,1357,1338,1744,1936,1913,1829,1517,1506,1444,1336,1307,1307,1353,1197,1210,1364,1273,1253,1301,1329,1439,1521,1529,1490,2188,1647,1635,2227,2054,1639,1491,1500,1542,1547,1505,1562,1659,1908,1626,1856,2536,3339,2968,2222,1979,1624,1451,1399,1400,1439,1780,2008,2320,2613,2526,2522,3042,3220,2987,2780,3012,3035,3098,2858,1908,1802,1675,2442,2436,2333,1959,1779,1859,1709,1512,1447,1614,1681,1423,1334,1340,1436,1586,1574,1350,1315,1390,1445,1755,1700,1460,1463,1844,2225,1826,2137,1732,1500,1807,1948,2088,2214,2536,2313,1578,1244,1108,1301,1479,2233,2373,1897,2313,2966,3144,2705,2678,2718,2458,3163,2747,2797,3196,2424,1696,1908,2632,1951,1049,1444,2198,2018,1722,1748,2294,3053,2812,2252,1815,1836,2484,2812,2792,2899,3169,3053,2822,2275,1898,1862,1840,1494,1583,1697,1643,1764,1953,2206,2973,3686,3537,2303,2064,2311,2426,2431,1908,1945,2081,1945,1842,1829,1900,2422,2757,2556,2003,2564,2554,2069,2444,2374,1365,858,1512,2286,2200,2570,2512,1699,1829,2114,2396,2236,1951,1554,2159,2455,2223,2199,2306,2314,2514,2514,3012,3220,2977,2720,2120,2206,2993,3043,2084,1636,2094,2107,1932,2121,2654,2838,3046,2602,2720,2874,2878,2481,2622,3128,2908,2773,2966,2605,2244,2172,2292,2302,2282,2348,2397,1859,1552,1948,2076,2405,2655,2521,2490,3184,2910,2198,2061,2046,1632,1596,2404,2897,2714,2710,3140,3108,2657,2353,2812,2766,2619,2812,3066,2482,2198,2542,2740,2984,3174,3284,3291,3234,3067,3032,2901,2544,2276,2116,2304,2481,2780,2754,2599,2609,2380,2431,2676,2658,2411,1953,2147,2656,2634,2500,2307,2503,3472,3670,3671,3654,3768,3620,2740,2290,2555,2455,1968,2151,2728,2303,1824,1936,2039,2020,2026,2053,1930],[3249,3413,3471,2985,2552,3034,3648,3618,3428,3288,3350,3255,3153,2567,2520,3012,3303,2812,2839,2851,2677,3686,4253,3665,3142,2362,2917,3675,3140,2499,2503,3255,3980,4064,4094,4095,3550,2729,2736,2928,2175,2186,3134,2854,2733,2733,2635,2609,2721,3006,2829,2176,1809,1822,1781,2002,1642,2031,2309,2266,3168,4043,3615,3081,2921,3082,3160,3219,3109,3318,3631,3196,3319,3284,2668,2522,2761,3117,3494,3937,4257,4272,4011,4184,4253,4407,4067,3278,2513,2316,2409,2254,2104,2065,2223,2424,2361,2187,1929,1919,1985,1975,1999,1863,1714,1842,1686,1760,2292,2490,2087,1809,1965,1810,1542,1524,1931,3011,3241,2600,2392,2347,2955,3592,3680,4056,3850,3670,2954,2467,1752,1628,1543,1496,1935,1875,1645,1566,1537,1560,1589,1290,1271,1421,2016,2445,2691,3129,2812,2062,2178,2447,2260,2623,2972,1841,2353,2166,1763,2204,2150,1795,1511,1502,1366,1288,1533,1645,2262,2928,2475,2080,2126,2362,2035,1512,1909,2245,2214,2366,2014,1497,1610,1530,1876,1736,1516,1323,1417,1699,1850,1984,1867,1776,1897,1931,1713,2118,2252,2039,1901,2062,1747,1599,1910,2049,1995,1930,1804,1727,2049,2588,2724,2667,3005,2917,2757,2461,2597,2567,2287,2613,2968,2488,2114,1289,1175,1962,2030,1804,1728,1866,1391,1367,1535,1962,2279,2146,1978,1728,1594,1625,1858,1731,1815,1585,1481,2111,2246,1749,1561,1700,1662,1611,1455,1612,1789,1708,1949,1880,2476,2750,2925,2820,2806,2885,2611,2599,2444,2007,1980,2083,2054,2623,2504,2372,2562,2614,2631,2402,2085,2114,2117,2119,1881,1957,2098,2479,2186,1912,2303,2228,2354,2610,2113,2024,2015,1649,2194,3197,3254,3320,3183,3384,2751,2543,2820,2517,2430,2613,2671,2907,3066,2612,1975,1679,1812,1729,1644,1717,2377,2247,1873,2199,2330,2476,2396,1900,1836,1905,1949,1591,1593,1549,1494,1748,1783,1523,1610,1606,1670,2025,1940,1766,1488,1898,1946,1809,1704,1741,2159,2341,2025,2148,2485,2281,1920,2008,2520,2876,2584,2288,1940,1791,1645,1671,1951,2126,1814,1726,1663,1918,2475,1942,1624,1831,1971,2000,2547,3139,3074,2356,1780,1812,1963,1828,2054,2433,2347,1824,1505,1852,2194,2282,1974,1916,1636,1697,2042,1668,1537,1508,1521,1697,1590,1905,2298,2472,2272,2243,2284,2322,2497,1877,2406,2307,1992,1677,1449,1435,1765,1873,2063,1999,2128,2260,2359,2787,3010,2514,1925,2071,2231,2138,1993,1632,1861,2024,1947,1875,1583,2040,1865,1718,1790,1901,1825,1636,1646,2376,3189,2707,2410,2855,2998,2666,2503,1969,1668,1549,1761,1952,1838,1912,2029,1840,1632,1587,1850,1568,1580,1496,1684,1919,1790,1681,1730,1403,1387,1838,1773,1766,1490,1527,1541,1449,1433,1586,1666,1819,2302,2501,2490,1825,1706,1610,1669,1908,1959,2367,2138,1999,2213,1799,1639,1995,2570,2383,1636,1559,1811,2670,2708,2430,2432,2059,1704,1756,1757,1634,1859,1857,1636,1743,1871,1676,1835,1608,1554,2129,2051,1499,1506,1505,1656,1760,1890,1560,1375,1471,1505,1367,1394,1460,1378,1311,1365,1476,1519,1671,2018,2239,2316,2100,1810,1593,1502,1574,1659,1823,2090,1781,1709,1609,1462,1347,1538,1670,1484,1424,1479,1490,1470,1621,1692,1432,1622,2386,2930,2656,3527,3776,3214,3105,2482,1940,1876,1627,1765,1889,1846,1837,2353,2759,2097,1890,2010,2296,2336,2405,2236,2111,2404,2621,2270,2351,2918,3308,2270,2039,2090,2009,1767,1558,1675,2315,2664,2105,1815,2041,2008,1990,2587,2999,3270,2912,2361,2426,2708,2864,2999,3195,3123,3404,3785,3513,3484,3381,2588,2182,2519,2955,3364,3248,2910,1926,1123,1650,2430,3563,3322,2711,2833,2791,2564,2031,1764,1654,1697,1754,1571,2092,2867,2778,2474,2063,2037,1840,1891,2373,2054,1771,2051,2044,1839,1719,1864,2214,2210,2464,1861,1638,1529,1441,1521,1542,1523,1577,1685,1883,1953,1976,2200,1957,1678,1615,1886,1734,1449,1834,1973,1750,1835,1831,1936,2009,1587,1536,1345,1358,1452,1354,1400,1875,2402,2331,1938,1810,2236,2060,2004,2026,1559,1575,1554,1525,1447,1354,1443,1478,1411,1658,2110,1976,1960,2623,2127,2106,1764,1540,1743,1742,1555,1573,1500,1485,1551,1735,1832,1841,1660,1470,1374,2030,2603,2534,2506,2274,1809,1780,1920,1837,1692,1642,1982,2312,2211,1717,1660,1977,1861,1768,1848,1424,1390,1334,1517,1449,1532,1635,1532,1609,1674,1699,1560,1726,1719,1652,1777,1832,1785,1983,2031,1857,1948,2311,2221,1865,1620,1770,2110,1613,1775,2024,1874,1476,1542,1472,1399,1360,1351,1386,1328,1376,1519,1562,1691,1759,1671,1907,1928,1672,1314,1425,2069,1715,1614,1886,1639,1680,1786,1733,1681,1578,1517,1497,1693,1525,1387,1415,1447,1515,1801,2402,2156,1929,1895,1763,1777,1470,1795,1996,1857,1411,1686,2222,1848,1472,1710,1828,1750,1785,2042,1960,1838,1873,1962,2050,2047,1990,1702,1736,2308,2662,2496,2202,2029,2083,2218,2210,2544,2901,2959,2351,1700,1414,1377,1551,1549,1590,1602,2133,2419,2285,2339,1920,1579,1543,1487,1499,1331,1389,1547,1708,2078,1777,1756,1745,1540,1621,1609,1598,1909,1927,1778,1972,1666,1525,1665,1731,1709,1860,2087,2025,1757,1385,1536,1881,1836,1916,1744,1101,1120,1251,1747,2144,1726,1495,1478,1322,1378,1709,2031,2002,1720,1586,1253,2070,2073,2140,2404,2076,2138,2128,1681,1492,1626,1648,1550,1770,1726,1774,1811,1523,1750,1970,2435,2431,2168,2507,2954,2850,3043,2846,2401,1768,2038,1960,1832,1910,1879,1871,1904,2286,2282,1813,1487,1313,1567,1532,1856,2109,1954,1904,2008,2011,1758,1582,1807,2437,2612,2707,2379,2087,1723,1526,1801,2449,2746,2699,2175,2040,2730,3221,3163,3128,3233,3278,3101,3382,2606,1774,1929,2719,3245,3489,3165,2235,1833,1806,1690,1918,1880,1800,1747,2137,2562,2449,2406,2335,1836,1686,2164,2907,2787,3039,2167,1659,1629,1764,1803,2205,2802,2916,1993,1477,1830,2173,1940,2164,2780,3582,3673,3167,2655,2382,2308,2480,2125,1617,1659,1877,2001,1599,1565,1662,1803,1587,1512,1518,1541,1647,1614,1483,1409,1349,1345,1460,1438,1660,1843,1761,1875,2018,1764,1816,1691,1778,1872,1918,2327,2225,2007,1876,1668,1603,1873,2121,2266,2509,2390,2545,2320,1463,1524,1716,2463,2968,2855,3177,3220,2075,1947,2254,1869,1470,1533,1589,1939,2220,2251,2040,2104,1988,2178,2604,2347,2030,1785,2829,3619,3092,3226,2458,1943,2167,2746,2391,2471,2765,2570,2874,2844,2729,2624,2336,2398,2456,2731,2865,3090,2747,2380,2288,2159,1904,1826,1864,2167,2386,1877,1816,1766,1765,1673,1677,1549,1862,2072,1890,1779,2805,3481,2710,2195,2168,2336,1886,2339,2797,2918,2864,2701,2299,1864,1612,1924,2020,1626,1953,2132,2208,2425,1832,1929,2430,2549,2091,2237,2573,2140,1545,1526,1509,2004,2667,2408,1996,1951,1986,1969,1931,1731,1801,1522,1439,2024,2346,2110,1442,1469,1593,1744,1692,1542,1473,1373,1301,1346,1774,2030,2358,1902,1747,1795,1711,2014,2054,1962,1997,2284,2481,2112,2015,2257,2397,2103,1853,2174,1937,1897,2027,2095,1949,1941,1673,1648,2536,2474,2437,2025,1701,1897,1583,1441,1462,1438,1442,1470,1472,1389,1552,2315,2432,2542,2343,2144,2432,2864,2800,2542,2535,2700,2968,3007,3143,3041,2624,2543,2911,3169,2771,1953,1867,2347,1992,1315,1294,1389,1490,1596,1798,1766,1750,1490,1247,1357,1355,1368,1305,1258,1519,1622,1386,1588,1695,1514,1393,1323,1512,1494,1627,1776,1766,1661,1451,1425,1693,1431,1389,1430,1406,1454,1355,1336,1370,1354,1224,1145,1505,1893,1429,1196,1272,1670,1822,1782,1856,1578,1665,1537,1224,1342,1379,1221,1267,1341,1284,1219,1254,1344,1448,1468,1496,1440,1430,1384,1270,1241,1591,1981,1383,1190,1137,1149,1412,1527,1507,1681,1509,1297,1532,1757,1421,1484,1523,1564,1540,1416,1285,1285,1401,1369,1426,1546,1312,1350,1296,1262,1323,1362,1333,1354,1573,1980,1822,1843,1908,2061,1806,1378,1484,1902,1658,1482,1528,1880,2106,2004,1881,2270,3108,3005,2388,1902,1381,1515,1382,1349,1562,1800,1794,1925,2499,2898,3199,3598,3455,2954,2429,2661,2748,3339,3094,2423,1849,1956,2183,2270,2116,1793,1975,1996,1612,1508,1520,1594,1413,1426,1356,1292,1426,1498,1467,1340,1303,1383,1424,1459,1345,1584,1533,1966,2097,1697,1996,1699,1743,1929,2004,2012,2211,2238,1787,2140,2080,1519,1964,2075,2273,2344,2136,2080,2503,2731,2830,3394,3295,2587,3482,3082,2493,2597,2053,1412,1800,2312,2259,1581,1750,2309,2088,1729,2063,3185,3322,2986,2691,2493,2375,2215,2692,2681,2310,2635,2343,2636,2558,2086,1911,1828,1758,1816,2017,2149,1949,2087,2553,2816,3307,3418,2188,1882,1653,1900,2018,1816,1959,2141,1887,1674,1843,1968,2626,3216,2831,2230,2161,2523,2436,2784,2370,1293,1387,1670,2262,2308,2108,2186,2030,2391,2396,2196,2045,1882,1772,1913,1933,1876,2315,3024,2807,2334,2471,2831,2860,2877,2890,2465,2395,2839,2966,2496,1875,2135,2481,3194,3354,2844,3207,2975,2562,2619,2751,2722,2759,2986,2932,2868,2946,3118,2790,2215,2032,2024,2008,2113,2182,2048,1786,1866,2046,1809,2219,2362,2280,2297,2517,2360,2383,2286,1648,1491,2247,2646,3128,3774,3633,3242,2610,2769,2936,3188,3176,2795,3140,3288,2959,2714,2576,2880,3028,2702,2619,2503,2636,2795,2885,2856,2592,2350,2322,2464,2684,2755,2822,2918,2563,2262,2451,2639,2670,2381,1919,2147,2621,3020,3224,2690,2487,3354,3526,3431,3608,3640,2740,1721,1829,2088,2171,2264,2803,2754,2663,2612,3062,3233,2331,1742,1914,1882],[3011,3316,3549,3550,3284,3149,3349,3318,3035,2700,3082,3313,3340,3221,3022,2921,3186,3304,3060,3066,3632,3884,4046,3982,3962,3075,2530,2548,2338,2617,3072,3917,4156,3917,3886,3658,3317,2437,2214,2170,2071,2473,3464,3210,2391,2173,2256,2531,2611,2872,2659,2398,2178,1880,1804,1832,1595,2063,2732,2436,3222,4296,4116,3968,3846,3685,3416,3410,3384,3465,3555,3075,2946,2688,2389,2486,2679,3415,4078,4328,4435,4307,3833,3801,3864,3836,4127,3127,2002,2009,2077,1849,1968,2003,2230,2959,2968,2332,1846,1732,1750,1825,2110,2079,1929,1834,1849,2380,2911,2834,2132,1751,1606,1670,1687,1896,2259,2902,2798,2482,2442,2812,3270,3131,2655,2280,2117,2270,2785,2820,2060,1807,1750,2050,2335,1946,1600,1303,1482,1769,1770,1490,1418,1720,2420,2354,2204,2453,2285,1796,2013,2235,2084,2083,2683,1838,1937,2051,1497,1765,2049,1601,1304,1425,1537,1955,1682,1627,2481,2581,2176,1724,1928,2494,2230,2023,2337,2152,2038,1939,1577,1756,2122,1765,1730,1802,2005,1593,1474,1949,2242,2039,1714,1845,1938,1953,2065,2601,2413,2217,1990,1710,1494,1516,1763,2201,2402,2405,1848,1904,1761,2062,2171,2316,2787,2679,2922,2999,2590,2309,2403,2744,1980,2191,2648,1851,1730,1831,2282,2254,1910,1399,1099,1193,1289,1443,1625,2095,2032,1835,1878,1766,1654,1817,1836,1603,1462,1735,1886,1471,1349,1426,1503,1497,1450,1489,1785,1997,1974,1830,1804,2486,2595,1649,1594,2381,2354,2456,2325,1999,1938,1992,2475,2598,2438,2689,2766,2327,2333,2241,1972,1714,2314,2420,1687,1780,2332,2371,2156,2310,2564,2566,3088,3305,2810,2584,2368,1601,2504,3206,3225,3138,3052,3077,2774,2714,2789,2749,2877,2782,2796,2539,2680,2287,1682,1574,1592,1664,1914,1873,1594,1725,2116,2432,2669,3074,2554,1843,1915,2446,2249,1703,1579,1432,1559,1796,1750,1522,1527,1559,1694,1679,1694,1649,1414,1389,1722,1955,1871,1842,2321,2438,2094,1963,2642,2460,2009,2626,2844,2630,3274,3230,2169,1962,2072,2325,2583,2159,1776,1720,1635,1601,1638,1615,1578,1657,1793,2020,2049,2473,2630,2184,2046,2145,1970,1899,2010,2122,2110,2138,1926,1742,2026,2766,1942,2145,2098,1740,1584,1545,1578,1522,1905,2609,2385,1917,2008,2079,2456,2182,2209,2220,2266,1942,2060,2458,2396,2077,1768,1706,1682,1532,1844,2114,2568,2657,2845,3261,2965,2699,2490,2189,2405,2424,2374,2184,2131,1875,2054,1759,1646,2076,1805,1547,1725,2046,2026,1720,1677,2131,2753,2103,2510,2755,2501,2709,2621,1924,1462,1454,1754,2338,2143,1995,1572,1683,1608,1622,1583,1626,1588,1538,2072,2346,2220,2037,2047,1840,1648,1518,1588,1825,1622,1538,1416,1292,1360,1505,1622,1783,2233,2197,2330,1716,1764,1825,1841,2147,2095,2155,2091,1881,1754,1666,1606,1859,2226,1870,1942,1847,2012,2468,2460,2372,2128,1837,1587,1780,1767,1602,2029,1908,1966,1884,1690,1895,2350,1894,1573,1784,1738,1389,1476,1573,1613,2010,1917,1726,1524,1381,1353,1424,1483,1373,1346,1570,1743,1707,1807,1643,2272,2387,2015,1714,1860,2017,2024,2316,2008,1775,1663,1502,1931,1713,1543,1221,1319,1465,1437,1588,1601,1579,1538,1709,1798,1681,1608,1758,1920,2396,3399,3550,3182,2791,2206,1919,1932,1694,1830,1381,1785,1969,2952,3017,2076,1599,1712,1972,2022,1852,1847,1802,1794,2254,2100,2385,2699,2751,1930,1729,1750,1605,1428,1414,1622,2438,3228,2330,2060,2497,2188,2089,2768,2828,2714,2542,2700,3488,3842,3507,3194,3277,3495,3522,3997,4044,4068,4054,3069,2454,2598,2715,2864,3375,3188,2018,1107,1247,2312,3320,3243,2916,2949,2787,2164,1652,1658,1476,1698,2163,2182,2940,2568,2562,2415,2026,1921,1765,1803,2130,2032,1953,2287,2161,1807,1511,1504,1525,2358,2451,1761,1385,1401,1655,1598,1771,1519,1583,1628,1672,1958,1934,1737,1608,1695,1686,1697,1550,1598,1744,1530,1493,1766,1905,2065,2169,1766,1542,1516,1552,1525,1511,1736,2004,2082,1709,1554,1454,1526,1627,1441,1690,1742,1776,1678,1671,1716,1730,1706,1533,1316,1336,1549,1487,1973,2282,1955,1700,1639,1483,1573,1584,1477,1396,1439,1582,1688,1634,1611,1548,1620,1733,1572,1989,2114,1627,1839,1749,1802,1769,2212,2067,1636,1378,1376,1625,1783,1923,2035,2078,1899,1741,1572,1426,1474,1526,1656,1601,1711,1863,1835,1701,1567,1536,1756,1971,2018,1803,1783,1776,1838,2226,2346,2365,2452,2432,2191,1934,1528,1391,1433,1343,1498,1544,1375,1366,1330,1290,1522,1404,1278,1453,1443,1436,1440,1559,1589,1561,1656,1909,2034,1829,1920,2014,1700,1582,1989,1918,1647,2343,2340,1777,1538,1545,1715,1665,1589,1437,1402,1449,1514,1670,1824,2315,1816,1378,1434,1784,2144,1876,1604,1964,2438,1916,1735,2520,2279,1603,1926,2097,1776,1766,2200,2398,2302,2221,2147,2099,2414,2577,1742,1397,1770,1759,1974,2270,2093,2026,1772,1565,1779,2139,2163,2018,1758,1544,1526,1744,1714,1590,1393,1821,2473,2542,2208,1779,1676,1698,1526,1585,1670,1993,1712,1577,1722,1765,2106,2098,1748,1770,2005,1591,1604,1574,1537,1673,1731,1671,1910,1961,1621,1753,2043,1879,1662,1620,1678,2036,2020,1920,1739,1401,1414,1367,1608,1893,1543,1315,1443,1361,1448,1512,1800,2728,2072,1598,1562,2253,2207,1846,2154,2392,1988,1832,1650,1482,1486,1684,1439,1832,2202,1807,1310,1339,1664,1960,1873,2018,2402,2113,2568,2834,3016,2533,1786,1456,1750,1634,1879,1853,1761,2091,2260,2099,2039,2033,1525,1686,1681,1678,1738,1776,1807,1659,2065,2029,1584,1661,2052,2482,2331,2374,2877,2508,1990,1606,1970,2610,2890,2303,1920,2863,3692,3088,2768,3078,3748,3500,2823,2812,2387,2199,2359,2775,2856,2858,2824,2594,2673,2537,2114,1856,1852,1903,2217,2955,3077,2313,1806,2188,2548,2314,1759,2151,2153,2420,1713,1388,1305,1597,2062,2521,2625,2561,1798,1659,2190,2327,2046,2361,3241,3658,3076,2757,2675,2444,2455,2766,2410,1929,1623,1569,1909,1607,1822,1857,1793,1838,1940,1936,1940,1671,1462,1595,1468,1434,1551,1442,1365,1833,1987,1713,1880,1838,1603,1572,1566,1490,1392,1990,2451,2728,2590,2668,2450,2104,2094,2110,2498,2493,2358,2568,1788,1460,1641,1762,2124,2201,2420,2741,2770,2344,2336,2548,2263,1976,1893,1858,1885,1902,1938,1835,2017,2133,2361,2361,2152,1852,1572,2563,4083,4355,4220,3438,2800,2109,2437,2490,2066,1914,1874,2104,2305,2097,2248,2505,2230,2396,2272,2476,2755,2909,2724,2419,1925,1810,1842,1642,2098,1931,1526,1674,1732,2199,1996,1703,1695,1632,1788,1902,1832,2430,2218,1993,2042,2680,2084,2186,2827,2862,2685,2307,1777,1534,1716,2201,2382,2051,1888,2016,1714,1870,2332,1980,1918,2518,2518,2216,2596,3074,2518,2175,2141,1719,2010,2330,2351,2105,1960,1841,1701,1451,1489,1544,1302,1421,1689,1980,1818,1694,1526,1587,1594,1427,1603,1592,1423,1546,1737,2467,2348,2192,1580,1568,1843,1735,1882,2128,1998,2049,2261,2468,2634,2396,2259,2361,2234,1980,1812,1912,2063,2168,2143,1714,1812,1620,1538,2530,2490,2570,2570,2041,1841,1430,1183,1268,1338,1337,1325,1314,1345,1429,2110,2376,2529,2395,1956,2396,2851,2123,1892,2584,2928,3228,3255,3044,3106,3021,3030,3051,3204,2784,2098,1766,2266,2464,1562,1426,1515,1645,1471,1242,1360,1739,1760,1490,1438,1422,1498,1598,1534,1510,1542,1292,1371,1724,1630,1552,1475,1575,1652,1677,1640,1538,1371,1359,1538,1811,1489,1423,1462,1486,1506,1452,1350,1355,1281,1289,1437,1686,1889,1262,1024,1339,1667,1789,1613,1283,1332,1489,1461,1344,1376,1340,1286,1390,1488,1345,1127,1245,1488,1506,1500,1288,1246,1414,1389,1376,1395,1417,1447,1505,1368,1309,1311,1518,1461,1493,1521,1344,1281,1405,1682,1435,1611,1403,1334,1684,1665,1393,1642,1619,1252,1729,2126,1763,1417,1171,1212,1318,1334,1379,1669,1994,2814,3430,2570,2308,2306,1572,1510,1606,1983,1707,1750,1933,2376,2043,1674,1934,2310,2352,2266,2176,1978,1698,1576,1726,1665,1591,1622,1682,1824,2322,2920,3670,3570,2976,2676,2126,2482,2467,3045,2808,3123,3156,2818,2137,2182,2451,2388,2257,2367,1915,1663,1774,1976,1572,1488,1520,1428,1381,1500,1623,1516,1436,1565,1714,1667,1445,1928,2003,1957,1813,1826,1843,1742,1817,2060,2309,2944,3199,2536,1912,2713,2239,2443,2770,2339,2270,2295,2241,1974,2173,2469,3230,3539,2844,2389,3249,3653,2827,2229,1790,1952,2671,2718,2684,1869,1630,1852,2223,2152,3064,3761,3510,2807,2468,2880,2701,2445,3045,2752,2221,2544,2332,3012,2841,2200,2008,1845,1967,2155,2655,2964,2622,2524,3117,2808,2941,3154,2991,2396,1938,2264,2199,1576,1739,1836,1648,1656,1631,1662,1901,1891,1691,1757,2244,2470,2176,2309,1931,1432,1685,2653,2918,2788,2202,2316,2731,2663,2373,1765,1212,1468,1791,1976,2030,1980,2116,2923,3051,2120,2194,2610,2492,2574,2427,2160,2364,2570,2171,2245,2592,2829,2861,3042,2588,2478,2850,3040,3532,2934,2471,2071,2508,2608,2843,3227,2755,2673,2874,2350,2128,1896,1599,1825,1986,1864,2055,2544,2119,2088,2334,2534,2701,2389,2093,1828,1567,1417,1382,1837,2354,2508,3835,4544,4223,3469,3129,3376,2954,2878,2998,2684,2909,2907,2887,2852,3122,3568,3255,2500,2358,2630,2788,2728,2618,2692,2624,2440,2489,2778,3103,3006,2877,2511,2266,2586,2821,2928,3127,2940,2357,2653,2752,2823,3142,3173,2817,3052,3308,3212,2965,2688,1817,1798,1947,1594,1972,2478,2460,2078,2777,3393,3837,3562,2422,1921,2050,1786],[2954,3442,3648,3340,2766,2756,3187,2961,2842,2691,3040,3275,3275,3000,2976,3089,3122,3392,3305,3132,3364,3005,3469,4152,4104,3351,2700,2313,2282,2586,3197,4277,4380,4140,3862,3204,2744,2333,2072,3166,3172,2857,3153,2313,1886,1985,2314,2419,2314,3038,3016,2491,2390,2221,2106,1936,1918,2469,2922,2561,2915,3659,3728,3508,3400,3292,3134,2943,2850,2357,2552,2979,2535,1925,2389,2689,2641,3626,4147,4110,4082,3904,3659,3548,3556,3618,3817,3388,2451,2106,2320,2164,2247,2378,2499,2879,2943,2253,1815,1605,1607,1991,1860,1774,1803,1766,1960,2658,2777,2298,1737,1747,1770,1503,2050,2544,2231,2232,2216,2697,2835,2602,2701,2336,2182,1747,1489,1617,2236,2699,2295,1863,1844,2401,2297,1870,1655,1882,2053,1827,1637,1469,1482,1922,1848,1434,1866,2730,3237,3110,2504,2397,1918,1728,2294,1842,1562,1877,1803,1586,1569,1489,1412,1312,1889,2419,2070,1704,1632,1834,1860,1769,2013,2253,2446,2419,2255,2175,2103,1868,1459,1988,2536,2015,1597,1876,1970,1516,1445,1688,1918,1796,1524,1714,1954,1844,2128,2418,2680,2570,1824,1409,1457,1601,2056,2429,2374,2289,1764,1936,1931,1880,2280,2708,2555,2663,3001,2535,1836,1941,2474,2183,1752,3047,3416,2553,1876,2053,2488,2556,2183,1600,1306,1486,1650,1645,1488,2067,1927,1660,1679,1526,1510,1814,1738,1605,1399,1440,1716,1559,1544,1453,1811,1631,1438,1522,1930,2083,2050,1709,1634,1932,2196,1810,1936,2828,2469,2209,2169,2154,2135,2335,2341,1873,1847,2387,2464,2363,2549,2308,2188,2195,2244,2177,1805,1959,2342,2311,2110,2201,2480,2475,2799,3045,2975,2536,1976,1639,2626,3107,3095,3222,3112,2884,2768,2581,2461,2858,2731,2553,2591,2586,2610,2287,1993,1702,1445,1715,2162,1917,1782,1573,2230,2460,2906,3296,2414,2110,2668,2803,2055,1791,1679,1753,1970,1702,1743,1503,1472,1662,1767,1639,1494,1520,1482,1551,1812,1771,1866,1669,2288,2438,2200,2131,2598,2350,2316,2814,2451,2486,3593,3444,2268,2731,3024,3040,2632,1838,1612,1687,1982,2168,1973,1882,1870,1715,1923,2531,2112,2155,2081,1928,2502,2639,2055,1618,1663,1790,1696,1731,1438,1559,2117,2603,2259,2691,2609,2168,1908,1688,1541,1470,2088,2976,2389,2047,2596,2251,2099,1778,2115,2106,2223,2433,2383,2524,2235,2096,1572,1991,1711,1853,1831,2081,2901,3239,3112,3081,2799,2770,2459,2274,2646,2785,2830,2700,2921,2578,2196,2227,2312,1759,1480,1556,1693,2090,2198,1902,1775,1791,1963,2360,2805,2511,2069,2169,2246,1959,1758,1643,1327,2145,1866,1927,1907,1606,1654,1753,1616,1789,1702,1776,2668,2578,2293,2108,2569,2470,2020,1710,1616,1795,1633,1459,1492,1415,1484,1598,1592,1896,2010,1936,2314,1491,1578,1808,1815,1900,2053,2304,2398,2167,1846,1511,1487,1798,1897,1780,2019,2007,1959,1832,1945,2418,2098,1892,1902,2128,1742,1721,1949,1722,2210,3050,2507,2586,2908,1971,1612,1521,1742,1575,1583,1597,1442,1947,2016,1867,1554,1356,1464,1502,1559,1365,1524,1693,1772,1854,1992,2061,2118,1682,1518,1793,2491,2719,2417,2358,1696,1482,1382,1438,2018,2062,1768,1689,1905,1589,1358,1738,1917,1816,1409,1510,1570,1548,1617,1490,1521,1906,2388,2886,2861,2456,2372,2635,1911,1711,1730,1076,1373,1886,1943,1923,1682,1457,1582,2061,1930,1641,1782,1742,1644,2056,1918,2099,2531,2444,1991,1749,1723,1587,1394,1334,1382,1788,2491,1913,1777,2024,1773,1818,2019,1919,1830,1879,2138,2224,2629,3251,3295,3237,3737,3904,3955,4022,4200,4177,3363,2573,2548,2531,2813,3548,3016,2308,1324,1035,1820,2551,2729,2993,2987,2440,1938,1718,2035,1927,1711,2546,3160,3673,3326,3105,2562,2111,1919,1921,2200,2213,2095,1963,2289,1961,1665,1713,2090,1812,1998,1848,1538,1300,1654,2146,1666,1710,1356,1604,1679,1540,1691,1932,1595,1515,1678,1749,1715,1747,1632,1498,1561,1483,1572,1838,1992,2071,1661,1640,2136,2302,1858,1593,1914,2243,1978,1459,1356,1386,1614,1558,1481,1614,1767,1713,1538,1566,1628,2032,2298,1888,1384,1487,1673,1427,1771,2029,1778,1649,1984,2087,1916,1799,1666,1568,1622,1599,1521,1467,1404,1516,1636,1619,1531,1508,1514,1381,1331,1284,1511,1497,1880,2121,1743,1377,1422,1631,1841,1921,1731,1839,1715,1580,1552,1526,1440,1475,1555,1437,1518,1688,1748,1892,1691,2002,3029,2183,2333,2265,2032,1783,1656,1525,1901,2523,2348,1884,1938,1742,1501,1458,1454,1356,1290,1426,1369,1319,1371,1355,1393,1337,1305,1284,1267,1362,1422,1478,1440,1385,1583,1740,1984,2060,2190,2241,1820,1655,1763,1690,2037,2720,2272,1649,1461,1600,1901,1932,1883,1693,1448,1468,1604,1674,1304,1482,1892,1549,1693,1874,1847,1906,1926,2313,2772,2157,1499,1662,1636,1484,1953,2137,1711,1721,1965,1747,1736,2273,2314,2155,2474,2330,1774,1906,2489,2415,2060,1807,1581,1540,1552,1563,1674,1958,1595,1606,1431,1561,1585,1826,1798,1657,1541,1808,2339,2510,2077,1856,1976,1830,1600,1757,1825,1727,1790,1714,1735,1874,1786,1957,1952,2178,2621,1754,1559,1497,1543,1714,1903,1632,1759,1853,1534,1582,1642,1397,1347,1632,1714,1854,1690,1603,1740,1515,1421,1404,1515,1582,1244,1489,2250,1509,1405,1448,1994,2966,2258,2094,2391,2354,2240,1907,1875,2444,2343,2111,1881,1555,1390,1418,1453,1829,2280,1885,1355,1471,1747,2167,2216,2196,1998,1877,2331,2717,2652,2165,1634,1534,1450,1704,2037,1863,2171,2755,2756,2590,2695,2698,1711,1345,1636,2022,1543,1277,1518,1782,2004,1714,1611,1806,2049,2151,2258,1930,2189,2379,2014,1662,1877,2261,2132,1509,1582,2809,3109,2612,2617,3276,3894,3483,3166,3144,3262,3354,2830,2618,2209,2161,2432,2406,2115,2162,2084,1951,2065,2003,2510,3300,2600,1867,1421,1827,2907,2825,1749,1672,1447,1363,1265,1409,2376,2863,2691,3062,2674,2624,2163,1908,2665,2500,2336,2589,3049,2863,2919,2966,2846,2812,2254,2514,2314,2208,1686,1694,2078,1892,2023,2135,1916,2055,2117,2181,2029,1618,1419,1618,1700,1614,1511,1465,1732,2586,2455,2107,2333,1914,1703,1876,1700,1423,1487,1932,2293,3021,2724,2280,2076,1949,2320,2868,3138,2811,2521,2267,1780,1844,1726,1741,2127,2122,2178,2633,2834,2475,2515,2503,2320,2244,1957,1477,1677,1791,1709,1764,2069,2229,2077,2281,2518,2587,1804,1909,3494,4162,4209,3880,3571,3117,2851,2327,1636,1631,1703,1879,2235,2309,2562,2469,2209,2111,2149,2253,2090,2089,2424,2252,1894,1881,1932,2054,2294,1864,1776,1827,1873,2098,1933,1782,1709,1529,1458,1823,1881,2105,1894,3155,3200,3055,2508,2865,3526,3244,2243,1758,1792,1969,2325,2449,2322,2065,1616,1525,1875,2838,3044,2292,2040,1803,1837,1919,2113,2531,2113,2263,2106,2080,1938,1681,1897,2005,1975,1797,1630,1160,1403,1383,1382,1740,1910,2173,2646,2425,1876,1821,1748,1549,1793,1676,1371,1455,1694,2324,2270,1995,1616,1622,1864,1625,1572,1998,1842,1655,1918,2281,3009,3099,2671,2310,2110,1937,1929,1929,1702,1977,2185,1556,1582,1534,1665,2522,2461,2501,2281,1835,1732,1393,1446,1569,1526,1558,1668,1770,1851,1793,2069,2374,2460,2385,2496,2644,2423,2152,2245,2687,2592,3030,3239,3029,3010,2997,2990,3084,3097,3112,2793,2208,2260,2796,2178,1693,1533,1393,1344,1382,1362,1623,1518,1281,1410,1475,1587,2191,1592,1261,1300,1346,1552,1540,1561,1716,1637,1570,1514,1454,1417,1470,1322,1342,1458,1565,1528,1502,1436,1394,1576,1580,1404,1354,1271,1361,1722,1884,1977,1446,1399,1470,1858,2786,2195,1102,1442,1748,1490,1356,1327,1555,1794,1557,1381,1369,1449,1554,1362,1274,1414,1183,1263,1280,1248,1294,1356,1760,1679,1559,1301,1250,1445,1479,1346,1414,1243,1238,1231,1234,1449,1586,1440,1327,1282,1555,1645,1709,2148,1804,1283,1442,1830,1698,1354,1226,1239,1312,1307,1482,2257,2850,3655,3445,2526,2402,1866,1397,1440,1607,1709,1737,1896,2095,2354,2031,1631,1642,1857,1908,2277,1995,1942,2271,1639,1634,1755,1772,2082,2114,2175,2286,2544,3465,3625,2990,2732,2491,2574,2447,2583,2634,2710,2853,2397,1602,1820,2259,2900,2525,2292,1981,1599,1783,1799,1526,1576,1539,1449,1561,1498,1675,2171,1769,1561,1811,1716,1583,2349,2535,2413,2041,1661,1790,1727,2045,2486,2386,3153,3495,2925,2203,2192,1891,2181,2436,2601,2643,2451,2862,2624,2349,2764,3431,2802,2517,2220,2701,3770,3511,2475,1868,2603,2779,1938,1789,1810,1565,1769,2052,2176,3019,3541,3251,2729,2272,2359,2423,2459,2717,2762,2648,2564,2475,2865,3045,3244,2643,1761,1805,2375,2907,3289,3495,3217,3185,2673,2801,3119,2966,2307,1808,2026,1849,1741,2055,1902,1638,1590,1464,1651,1345,1682,1669,1910,2338,2562,2863,2365,1554,1032,1536,2685,3046,2932,2842,3166,2611,1611,1723,1678,1541,1350,1722,2342,2150,1591,1835,2397,2531,1685,1346,2056,2421,2439,2135,2244,2173,2112,1927,2683,3023,3047,3119,2824,2590,3208,3493,3300,3342,2487,2146,1952,2309,2551,3122,3584,2954,2764,2605,2117,2451,1967,1803,1825,1835,1895,2156,2499,2474,2721,2786,2729,2621,2436,2160,1979,1438,1511,1472,2430,2702,2818,3596,3585,3415,3155,3282,3532,2798,2374,2190,1941,2297,3031,3354,3532,3705,3715,3453,2885,2460,2578,2769,2734,2420,2170,2231,2469,2577,2821,3079,3153,2964,2731,2872,3127,3119,3272,3654,3483,3130,2978,2831,2705,2733,3006,2774,2237,2502,2322,1942,2366,2258,1921,1819,1714,1817,2311,2581,2126,2096,2536,3010,3454,2855,2011,2003,1853],[2834,2955,3394,3090,2326,2367,2614,2518,2666,2730,2819,3285,3344,2717,2723,3441,3508,3158,3320,3237,3334,3085,3702,4255,3625,2846,2723,2368,2429,2862,3693,4357,4524,4584,4285,3374,2768,2712,2710,4116,4220,3472,2806,2397,2151,2147,2302,1936,2452,2685,2361,2406,2559,2714,2831,3134,3082,2784,3327,3159,2723,2665,2529,2322,2438,2578,2322,2463,2736,2756,2900,3226,2519,1980,2130,1932,1955,3485,4237,4172,4014,3746,3445,3269,3326,3387,3380,3374,2929,2538,2806,2719,3061,3250,2767,2318,2193,1980,1885,1553,1742,1978,1702,1908,1649,1580,2010,2254,1932,1790,1730,1731,1756,2023,2385,2292,2065,2066,2333,2567,2231,1887,1914,1741,1673,1591,2012,2103,1815,1596,1394,1724,1843,2126,2102,1791,1999,2038,1719,1455,1412,1328,1397,2169,2596,2175,2304,2930,3184,3042,2521,2408,2078,1820,1809,1582,1595,1961,1840,1682,1483,1444,1426,1469,1969,2149,1860,1991,2003,1768,1726,2209,2887,2763,2483,2528,2504,2104,1899,1674,1661,1585,1671,1564,1603,2202,2097,1447,1390,1491,1625,1497,1407,1376,1572,1792,1832,1989,2246,2051,1550,1717,2014,2137,2216,2207,2404,2076,1580,1747,2004,2057,2571,2786,2445,2751,2424,1774,958,1409,2254,2043,2842,3504,3229,2457,2060,2144,2354,2568,2110,1738,1197,1316,1632,1642,1393,1429,1544,1605,1622,1583,1744,1777,1379,1344,1558,1621,1722,1738,1768,1671,1998,2037,2019,1858,1712,2165,2248,1908,1706,1593,1996,2153,2158,2319,2083,2055,2056,2226,2457,2411,1945,1758,1982,2430,2561,2363,2384,1931,2164,2502,2445,2266,2175,2155,2314,2487,2131,1808,2364,2496,2592,2801,2678,2252,1687,1567,2315,2881,2819,2824,2739,2702,2542,2120,2052,2599,2479,2626,2541,2846,2923,2499,2203,2069,1903,1861,1947,2080,2113,1902,2223,2510,2946,2988,2526,2669,2911,2243,1588,1660,1673,1851,1722,1652,1860,1727,1542,1603,1707,1610,1460,1592,1589,1676,1672,1503,1406,1507,1641,1858,2099,2199,2046,1785,2024,2419,3278,3382,3086,2208,1903,2133,2735,2434,1893,1886,1748,1643,1765,1908,1766,1659,1781,1565,2059,2348,2302,2146,1953,1959,2177,2168,1721,1614,1646,1538,1424,1457,1620,1547,1833,2100,2410,2489,2393,2107,1709,1704,1770,1556,1771,2433,2250,2080,2558,2254,1641,1657,2148,2020,1625,1829,2418,2666,2396,2096,1706,2280,2325,1963,1816,1925,2497,2863,2994,2812,2457,2613,2610,2452,2836,2714,2708,2895,2832,2107,1840,2496,2403,1732,1890,2073,1982,1741,1656,1859,1932,1761,1674,2153,2346,1857,1889,2067,2055,2009,1975,1393,839,1455,1484,1927,1942,1625,1625,1470,1484,1606,1638,1692,2033,1930,1951,1897,2498,2293,2084,2080,2054,2062,1557,1480,1730,1748,1676,1691,1603,1738,1762,1936,1632,1476,1920,2138,2183,1719,2097,1969,1588,2103,2232,1963,1826,1616,2183,2491,1926,1942,2143,1880,2035,2619,2040,2201,2383,2212,1641,1453,1611,1614,1879,2328,2500,3139,3182,1792,1554,1619,1770,1649,1941,1990,2050,2396,2291,1980,1412,1359,1440,1411,1482,1609,1568,1528,1636,1810,1917,1963,1940,1924,1648,1715,2137,2310,2034,1937,1546,1421,1449,1576,1813,2048,1971,1852,1936,1543,1512,1867,2022,1896,1542,1489,1670,1637,1590,1484,1654,1697,1841,2366,2598,2154,1747,1893,1566,1704,1882,1453,1372,1746,1887,1747,1638,1513,1708,2308,2111,1605,1592,1538,1598,1892,2080,2116,2155,2226,2092,1758,1796,1757,1527,1380,1406,1631,1822,1640,1999,2176,1940,1635,1636,1682,1822,2003,2509,2563,2700,3319,3277,3141,3461,3897,4072,4085,4048,3791,3231,2691,2662,2662,3095,3673,3417,3213,1947,1006,1348,2025,2634,3166,2912,2389,2213,2243,2828,2421,2324,3229,3834,3816,3340,2741,2354,2081,1980,2156,2975,2584,2613,2512,2119,1790,1822,1807,1972,1686,1406,1477,1558,1577,1830,2092,1668,1570,1570,1916,1833,1499,1690,1772,1460,1539,1906,2025,1700,1835,1602,1453,1477,1300,1550,1818,1580,1616,1911,2061,2024,2039,1988,1787,2019,2230,1944,1614,1558,1562,1576,1620,1807,1560,1458,1511,1374,1456,1484,1868,2057,1824,1434,1446,1475,1437,1516,1649,1603,1631,1924,2364,2261,1749,1749,1660,1578,1516,1378,1556,1696,1640,1663,1649,1455,1327,1528,1391,1418,1494,1722,1738,1914,2065,1699,1512,1678,2010,1910,1300,1404,1920,1782,1780,1802,1585,1765,2032,1835,1474,1512,1449,1864,2591,1961,2199,3193,2577,2512,2443,1969,1705,1627,1556,1942,2341,1852,1553,1367,1311,1560,1489,1388,1303,1431,1603,1403,1468,1691,1428,1391,1533,1482,1537,1539,1499,1480,1498,1456,1346,1354,1555,1952,2176,1820,1860,1804,1600,1534,1622,2229,2631,2115,1656,1620,1695,1634,1692,1654,1323,1300,1368,1448,1417,1428,1639,1824,1714,1594,1413,1389,1527,1550,1775,2261,1886,1587,1780,1716,1505,1656,1880,1848,1782,1811,1747,1950,2271,1856,1532,1842,1793,2468,2622,2247,2495,2696,2060,1687,1798,1632,1546,1727,1929,1514,1688,1660,1688,1605,1523,1684,1712,1646,1653,1780,2023,2156,1972,1990,1807,1896,1862,1598,1973,2046,1650,1942,2089,1650,1901,1701,1725,1655,1440,1655,1656,1424,1529,1581,1588,1875,1845,1610,1454,1618,1587,1350,1682,2058,1936,1796,1996,1918,1511,1388,1274,1376,1440,1328,1478,1798,1355,1303,1467,2308,2951,2290,1768,1880,2034,2344,2185,1983,2402,2274,2194,2009,1662,1520,1559,1709,2024,2312,1964,1647,1944,2176,2010,1940,1773,1500,1992,2449,2131,2040,1930,1794,1725,1489,1883,2433,2000,1788,2258,2530,2662,2810,2487,1462,1491,1788,1303,838,757,1097,1560,1776,1818,1993,1825,1735,2003,2262,1875,1807,2102,1859,1902,2080,2320,2027,1857,2004,2440,2470,2440,2578,3065,3452,3630,3905,3753,3392,3231,2584,2330,2233,1851,1779,2110,2087,1981,1709,1806,2630,3107,2611,3084,2352,1693,1518,1721,2325,2122,1747,1669,1549,1483,1266,1461,2041,2085,2677,3068,2990,3109,2568,2541,2564,2347,2492,2886,3128,3001,3372,3200,3310,3095,2734,2929,2607,2316,1780,1810,2430,2198,2009,2018,1840,2036,1836,1743,1426,1522,1527,1477,1540,1460,1729,1818,1865,1997,1648,1808,1965,1637,1704,1613,1380,1501,1772,2476,2902,2774,2442,1791,1362,2001,3067,3795,4003,3548,2984,2017,1994,1987,1613,1485,1831,2520,2986,3023,2832,2663,2752,2928,2995,2912,2784,2026,1853,1802,1715,1630,1882,1920,1791,2312,3659,3617,2194,1637,2016,2271,2547,2455,2202,1975,2040,2344,2686,2713,2194,2397,1942,2010,2482,2564,2276,1864,1930,1997,1888,1697,2114,2341,2468,2381,2248,2183,2279,2200,2032,2062,1997,2003,2223,2308,2182,1644,1308,2337,2209,1889,2678,4028,3845,3249,3327,3758,4127,3709,2508,2136,2325,2175,2233,2488,2273,1600,987,1203,1931,2635,3121,2386,1974,1512,1890,1837,1955,2549,2435,2165,2047,1974,1471,1409,1836,2204,1960,1814,1433,1231,1695,1700,1706,1899,1980,2158,2437,2357,2092,1838,2012,1786,1880,1561,1394,1437,1427,1654,1896,1856,1594,1647,1832,1733,1812,2056,2043,2121,2128,2209,2847,3101,2438,1952,1925,2078,2116,1490,1065,1585,2015,1576,1402,1291,1686,2599,2567,2340,2340,1922,1680,1614,2189,2521,2787,3012,2895,2852,2925,2887,2766,2680,2416,2179,3174,3449,2893,2312,2869,3262,3012,2870,2825,2906,2875,2845,3034,2854,2469,2963,2972,2861,2746,3098,2535,1685,1374,1349,1506,1477,1438,1478,1332,1299,1449,1503,1442,2176,1607,1338,1444,1404,1433,1487,1632,1676,1496,1279,1262,1351,1350,1432,1371,1273,1372,1511,1448,1576,1613,1348,1578,1443,1343,1316,1488,1434,1625,2330,2137,1403,1404,1377,1582,1988,1727,1378,1439,1496,1237,1253,1468,1860,1831,1430,1320,1372,1614,2092,1892,1255,1269,1301,1241,1210,1221,1310,1260,1224,1245,1246,1196,1126,1221,1219,1195,1296,1276,1278,1163,1057,1604,1898,1436,1309,1431,1416,1424,1508,1783,1729,1428,1236,1431,1405,1336,1227,1212,1196,1239,1979,2945,3356,3320,2471,2391,2056,1556,1589,1565,1579,1702,2181,2307,2043,1901,1919,1775,1487,1610,2640,2744,2293,2318,2430,1908,1544,1475,1808,2597,2599,2229,2271,2319,3221,3680,2517,2525,2711,2710,2678,2779,2977,2502,1961,1688,1728,1682,1783,1971,1975,2174,2047,2001,1906,1663,1567,1593,1740,1672,1735,1478,1505,1622,1485,1422,1508,1585,1986,2558,2563,2656,2243,2385,2450,1919,2288,1971,2148,2734,2979,2564,1999,1821,1728,1729,2155,2653,2645,2468,3031,2866,2242,2653,3046,2731,2588,1996,2302,3527,3495,2792,2289,2631,1937,1583,1722,1743,1786,1760,1737,1890,2531,3009,2807,2920,2536,2354,2654,2631,2580,2554,2633,2580,2648,2674,2198,2253,2140,1749,1785,1978,2249,3438,3522,3021,2927,2721,2497,2666,2814,2274,1667,1671,2192,2340,2642,1887,1721,1722,1707,1719,1723,1823,1925,2431,2466,2374,2542,2248,1952,1308,1835,2874,3030,2714,2897,3732,3310,1747,1643,1511,1587,1869,1714,1982,2194,2138,2182,1932,1917,2430,2330,2205,2004,1886,1984,2335,2128,2199,2757,3374,3400,3029,2766,2686,2735,3346,3208,2731,2383,2310,2298,2407,2300,2350,2889,3184,2542,2072,2112,2503,2778,2320,2358,2122,2023,2089,2207,2667,2681,2490,2684,2482,2595,2459,1939,2262,1931,1728,1977,2828,2588,2746,3131,2823,2860,3356,3421,3144,3134,2491,1854,2019,2928,3351,3302,3510,3503,3317,3526,3400,2881,2675,2645,2744,2291,1917,2215,2589,2944,3196,2984,2946,3029,3108,3062,3022,3252,3491,3518,3309,3387,2964,2833,3194,3075,2845,2429,2132,2333,2272,2339,2021,1870,1854,2298,2492,2396,2897,2750,1985,1765,1713,2039,2823,2627,1836,2027,2014],[2962,2851,2945,2879,2553,2474,2532,2425,2436,2451,2887,3385,3195,2484,2451,3639,3826,3242,3141,3031,3460,3694,3930,4139,3317,2435,2124,1873,2473,3068,4413,4575,4623,4537,4155,3593,3388,3553,3173,2807,3242,3287,3030,2701,2501,2575,2648,2785,2668,1956,1614,2018,2584,2867,2851,3052,3096,2629,3145,2933,2257,2747,2372,1853,2103,2052,2186,2580,2463,2380,2112,2490,2272,2238,2064,2281,2413,3098,3880,4128,3914,3746,3519,3374,3509,3557,3431,3431,3397,2721,2765,2719,3511,3631,2701,2169,2237,2480,2474,2039,2031,1878,2114,2588,2408,1875,2137,2025,1692,1684,1663,1832,2148,2806,2601,1883,1779,2001,2289,2375,2266,2006,1651,1527,1781,2199,2810,2770,2073,1448,1400,1584,1787,2045,1878,2292,2605,2130,2120,2244,1888,1799,1566,1810,2566,2736,2467,2576,2566,2282,2225,2367,2578,2460,1475,1262,1547,1689,1399,1495,1482,1904,1844,1614,1824,1954,2056,2215,2077,1919,1588,1993,3400,3485,2730,2451,2906,2950,2166,1626,1694,1547,1508,1349,1628,1685,1513,1338,1580,2370,2088,1456,1327,1257,1364,1708,2009,2113,2018,2008,1808,1839,1858,1623,2035,2453,2808,2663,1880,1747,2049,2349,2444,2393,2290,2521,1957,1373,1169,1766,1947,2028,2713,3240,2950,2329,2419,2580,2098,1995,1969,2260,1577,1423,1499,1636,1431,1433,1756,1809,1755,1552,1470,1643,1531,1533,1755,1800,1638,1645,1670,1674,1823,2154,2333,1680,1576,2058,1994,1874,1921,1916,1773,1793,2197,2061,1852,1988,2120,2486,2466,2323,1990,1904,1902,2124,2342,2320,2435,2016,1774,2035,2275,2149,2073,2213,2463,2588,2223,1861,2196,2460,2464,2370,2103,1802,1664,1721,2009,2735,2934,3191,3386,2950,2670,2227,1779,1830,2308,2787,2988,2712,2344,2142,2070,2423,2843,2476,2007,1904,1700,1643,1937,2402,3050,2798,2454,2820,2754,1981,1764,1643,1766,1916,1857,1671,1996,2020,1565,1581,1639,1514,1632,1816,1882,2035,1653,1379,1381,1633,1599,1620,2041,2205,2024,1713,1594,1674,2623,3389,3111,2179,1787,1803,2175,1884,2021,2592,2013,1315,1407,1492,1643,1503,1541,1821,2413,2142,1937,1914,1974,2264,2010,1973,1775,1875,1960,1688,1389,1577,1871,1568,1449,1782,2049,2143,2331,2133,1775,1926,2016,1871,1664,1911,1931,1672,2013,2142,1885,1662,1827,2030,1853,1769,2449,2458,2901,2802,2095,2183,2205,1815,1769,1859,1935,2007,2499,2190,2412,2607,2802,2928,3123,3003,2913,3048,2857,2271,1992,2396,2368,2522,2544,2380,1948,1845,1780,1793,1937,1874,1626,1775,2213,1891,1705,1736,2325,2204,2022,1384,1214,1372,1541,1713,1555,1621,1774,1729,1594,1413,1702,1628,1568,2085,2337,2271,2183,1425,1490,2231,2765,2751,1776,1558,1788,1948,1704,1677,1881,1915,1886,1825,1612,1784,1974,1741,1665,1572,1844,1742,1767,2268,2546,2432,1913,1908,2743,2734,2332,2729,3173,2358,1998,1680,1967,2553,2353,1917,1600,1489,1600,1649,1683,2309,2881,2718,2391,1430,1389,1490,1522,1516,1778,1904,2210,2499,2427,1885,1681,1453,1441,1521,1471,1776,1564,1437,1445,1457,1562,1648,1992,2090,1641,1712,2338,2574,2386,2016,1692,1997,1985,1598,1637,1736,1632,1514,1590,1644,1694,1755,1692,1621,1475,1516,1510,1584,1656,1789,2125,2238,2151,2107,2061,1994,1634,1477,1346,1608,1953,1747,1422,1644,1907,1834,1763,1635,1534,1620,1700,1580,1639,1626,1570,1798,2294,2380,1988,1954,1787,1791,1786,1855,1708,1505,1362,1449,1698,1781,1600,1724,1818,1548,1614,1958,2389,2821,3470,3509,3455,3698,3648,3188,3189,3571,3912,3851,3368,2810,2735,2721,2987,3106,3386,3663,3641,3577,2540,1109,1131,1711,2588,3078,2830,2718,2757,3290,3690,3270,3278,3541,3760,3869,3471,2858,2523,2066,1960,2471,3123,3123,2787,2609,2144,1896,1812,1737,1960,1637,1455,1531,1461,1415,1654,1593,1475,1586,2497,2845,2070,1702,1755,1832,1587,1728,2253,2115,1747,1709,1513,1421,1494,1329,1465,1785,1732,1874,2362,2337,1743,1579,1551,1635,1948,2240,1880,1794,1621,1432,1362,1581,1924,1515,1367,1521,1380,1632,1712,1920,1891,1567,1280,1240,1293,1452,1522,1565,1643,1592,1703,2384,2227,1729,1952,1846,1575,1400,1467,1750,2165,2094,2085,1739,1716,1648,1438,1276,1397,1503,1708,1693,1761,1873,1664,1531,1531,1769,1724,1613,2220,2314,2022,2200,2080,1753,2160,2555,2121,1682,1678,1462,1807,1913,1814,1865,2315,2426,1887,1674,1732,1608,1694,1982,2378,2359,1866,1682,1438,1364,1505,1558,1478,1401,1434,1509,1491,1990,2108,1543,1423,1395,1339,1521,1509,1410,1454,1534,1494,1482,1595,1722,1860,2057,1614,1385,1421,1559,1798,1533,1505,1741,1746,2025,2108,1630,1758,2227,2157,1515,1422,1397,1461,1469,1708,1662,1621,1704,1310,1348,1421,1350,1407,1532,1875,1896,1726,1622,1483,1404,1439,1691,2078,2377,2150,2119,2239,1570,1366,1538,1563,1631,2255,2201,1687,2036,2375,1751,1723,2075,1758,1550,1518,1513,1518,1791,1723,1850,2046,1948,1571,1460,1795,1844,1947,2055,2075,1809,1849,1892,1869,1780,1691,1729,1559,1627,1920,1940,1570,1672,1568,1512,1556,1700,1878,1760,1431,1246,1348,1630,1758,1830,1628,1516,2102,1987,1636,1997,2002,1699,1889,2133,1721,1502,1507,1569,1507,1238,1337,1409,1337,1226,1289,1572,2443,2865,2196,1781,1978,2186,2353,1952,1779,1646,1803,2064,1979,1882,1788,1678,1806,2107,1950,1785,1769,2308,2857,2280,2298,2093,1942,2481,2693,2381,1985,1716,1814,1849,1760,2366,2544,2186,1903,1917,1917,2034,2253,1721,1474,2061,1786,1692,1072,893,1771,2093,1870,2010,2329,2226,1768,1644,1962,1699,1525,1912,1816,1777,1472,2021,2689,2364,2255,2290,2298,2417,2795,3438,3906,4254,4232,3896,3497,3109,2525,2446,2547,2177,2156,2369,2762,3061,2548,2139,2531,2854,2657,3113,1910,1553,1579,1685,1891,1808,2088,2162,1691,1513,1306,1500,1939,1962,2364,2934,3267,3120,2677,2854,2796,2359,2129,2542,2931,2996,3042,3105,3093,3083,2945,2896,2612,2402,2099,1933,1809,1737,1998,2194,1651,1927,1844,1704,1650,1929,1739,1514,1547,1534,1526,1470,1463,1497,1433,1417,1320,1509,1787,1693,1514,1895,2120,2477,2655,2199,2432,1885,1943,2626,2811,2873,3473,2950,2290,1822,1864,2135,2224,1930,2112,2730,3163,2950,2728,2754,3585,3474,3507,3544,3397,3020,2079,1645,1903,1892,1883,1591,1947,1979,2896,2845,1755,1425,1460,1288,1237,1403,1577,1902,2197,2206,2836,2555,2243,1974,1713,2024,2176,2440,2210,2088,2349,1926,1676,1658,1661,1802,2077,2535,2308,2046,2071,1685,2014,2730,2710,2495,2786,2530,2249,1663,2084,2909,2302,2035,2790,3457,3581,3896,4085,4474,4427,3571,2677,2162,1797,1548,1792,1918,1442,958,849,1212,1739,2138,2790,2535,1903,1903,2260,1835,1892,2295,2210,2167,2145,1861,1701,1715,1989,2101,1710,1651,1761,1870,1904,1983,1593,1161,1392,1803,2305,2095,1944,1908,1875,1654,1974,1754,1545,1512,1360,1368,1727,1845,1519,1504,1633,1747,1777,1952,2230,2160,2104,2276,2612,2637,1914,1797,1907,2231,2134,1851,1790,2172,2099,1508,1483,1571,1918,2663,2452,2100,2277,2195,2067,2236,2917,3441,3652,3749,3497,3248,3335,3293,2678,2109,2490,2190,3239,3504,2741,2634,3182,3386,3402,2902,2452,2974,2935,2802,2798,2491,2288,2910,3045,2961,2843,2580,1885,1436,1420,1387,1355,1355,1421,1356,1394,1337,1445,1470,1424,1494,1390,1404,1408,1428,1495,1664,1630,1372,1334,1231,1329,1345,1390,1394,1361,1286,1339,1561,1797,2215,1915,1423,1260,1387,1326,1245,1485,1435,1498,2093,1982,1519,1285,1186,1340,1458,1516,1585,1509,1348,1372,1491,1592,1587,1543,1560,1534,1322,1459,1730,1549,1243,1254,1293,1281,1226,1220,1275,1184,1189,1263,1189,1202,1149,1132,1151,1182,1248,1262,1296,1302,1186,1208,1304,1556,1792,1716,1715,1521,1359,1318,1439,1443,1362,1310,1265,1274,1229,1223,1211,1563,2706,3005,3561,3155,2956,2449,1632,1442,1498,1436,1465,1726,1989,1872,1932,1641,1871,1959,1794,1974,2816,2830,2285,2087,2407,2114,1715,1858,2049,2323,2468,2107,2306,2576,3068,3642,2966,2580,2685,2749,2653,2603,3208,2504,1549,1775,1612,1590,1686,1734,1819,1957,2046,2068,1707,1867,2013,2282,2561,1985,1753,1728,1748,1518,1531,1510,1533,1527,2094,2399,2085,2303,2343,2906,3198,2788,2519,2194,2423,2909,3040,2651,1937,1739,1610,1717,1939,2150,2008,2119,2291,2371,2380,2469,2519,2406,2142,1953,2468,3182,3010,2730,2513,1958,1600,1699,1713,1753,1876,1837,1708,2046,2612,2139,2157,2744,2653,2459,2623,2665,2584,2541,2686,2667,2507,2908,2243,1782,1499,1726,2215,2200,2510,3409,3519,3296,3262,2884,2269,2345,2382,2585,2452,1841,2188,2678,2470,1743,1872,2265,2239,1896,1822,1709,2126,2865,2759,2247,1842,1565,2154,2553,2843,2777,2247,2308,2413,2700,2580,2355,2416,1934,1958,2231,2074,2118,2172,1964,1794,1808,2060,2522,2702,2448,1985,1838,1996,2284,2123,2815,3544,3586,3507,3015,2596,2842,2846,2999,2621,2449,2371,2461,2615,2494,2071,2283,2850,3082,2252,1931,2710,2884,2878,2835,2391,2065,2183,2338,2546,2767,2235,2128,2274,2181,2068,1894,1852,2192,2278,1987,2612,3135,2319,2222,2885,3233,3262,3848,4027,2940,2553,2470,2397,3184,3993,3943,3896,3725,3097,3239,3481,3584,3509,3023,2641,2624,2684,2934,3178,3075,3096,3334,3328,3317,3389,3125,2534,2695,3473,3465,3079,3204,3275,2928,2897,3107,3065,2902,2191,2203,2224,2397,2046,1755,1832,2208,2806,2558,2310,2380,2601,2350,2110,1720,1711,2062,2072,1999,2159,2079],[2912,2796,2974,2946,2780,2699,2607,2513,1999,1983,2900,3205,2954,2485,2510,3178,3618,3509,3278,3242,3408,3694,4017,3906,3109,2566,2328,2287,2878,3464,4125,4604,4819,4256,3609,3541,3614,3360,3084,3068,2828,2966,3190,2844,2690,2768,3294,3196,2608,2254,2345,2598,2854,2663,2688,2771,2744,2293,2504,2459,2380,2661,2189,2042,2439,2199,1928,2041,1827,1814,2046,2350,2908,3098,2492,2883,3422,3426,3642,3665,3428,3337,3652,3738,3492,3569,3617,3564,3094,2406,2319,2690,3185,3318,2810,2304,2447,2621,2604,2523,2080,1683,1786,2610,3140,3044,2609,1919,1617,1656,1586,1887,1938,2331,2569,2442,2160,1987,2060,2259,1985,1591,1574,1859,2368,2152,2925,2733,2128,1682,1617,1936,2046,1873,2060,2419,2271,2074,2354,2260,1906,1977,1679,1428,1724,1699,1980,2221,1946,1778,1936,2229,2308,2253,1615,1353,1663,2094,1710,1459,1676,1896,1588,1365,1463,1488,1648,1642,1648,2108,1938,2003,2958,2878,2401,2404,2128,1725,1782,1781,1768,2023,2148,1648,1742,1637,1545,1509,1673,2298,2164,1490,1310,1449,1467,1608,1450,1752,2041,2172,2030,1888,1553,1455,1934,2161,2575,2579,2266,2336,2360,2526,2437,2214,2130,2001,1784,1753,1744,1902,1786,2179,2683,1968,1923,2264,2172,2315,1724,1663,2160,2093,1582,1475,1511,1524,1601,1633,1628,1542,1450,1365,1600,1710,1800,1748,1670,1581,1591,1600,1574,1936,2172,1674,1481,1514,1598,1521,1498,1605,1670,1479,1589,1955,2261,2338,2132,1689,1708,2449,2066,2082,1982,2154,2222,2201,1638,1829,2486,2493,2178,2214,2270,1952,1896,2007,2770,2829,2208,1776,1830,1758,1604,1582,1612,2096,2558,2498,2282,2744,3372,3539,3370,2818,2521,2219,1898,2067,2297,2474,2388,2265,2470,2166,1798,1835,2249,2412,2141,2066,1756,1692,1976,2203,2963,2955,3160,2957,2819,2023,1644,1578,1792,1656,1317,1574,2202,2361,1886,1509,1464,1609,1950,1686,1951,1977,1562,1465,1573,1656,1698,1756,2041,2181,2366,2117,2442,2259,2113,2939,2690,2025,1774,1923,2071,1789,1974,2805,2519,1241,1592,1805,1528,1387,1226,1592,2170,1919,1682,1820,2316,2333,1711,1750,1902,1864,1972,1698,1531,1533,1452,1461,1420,1561,1765,1968,2098,1966,1903,1892,1754,1839,1856,1589,1484,1694,1795,2192,2578,1743,1612,1671,1793,2154,2447,2413,2623,2696,2063,1448,1465,1964,2851,2547,2275,2095,2308,2304,2858,2827,2864,3231,3045,2691,2971,2916,1920,2212,2005,1764,2046,2819,2360,2011,1739,1575,1784,1805,1773,1753,1824,2055,2504,2459,1826,1830,2232,2013,2071,2020,1674,1547,1630,1467,1363,1465,1938,1937,1870,1810,1912,1973,1933,1992,1991,2324,2337,1615,1937,2532,2656,2693,2348,1825,1707,1802,1814,1754,1964,2172,2041,1924,1711,1832,2050,2050,1884,1637,1567,1498,1826,2470,2824,2613,1828,2238,2626,2884,2942,3130,3263,2762,2625,3097,2872,2119,2009,1784,1517,1448,1505,1476,1628,2137,2354,1984,1693,1542,1643,1504,1350,1341,1548,2144,2542,2004,1980,1896,1949,1489,1460,1500,1432,1461,1386,1395,1524,1589,1764,2040,2050,1642,1504,1557,1702,1866,2194,1910,1398,1706,1735,1587,1953,1494,1495,1507,1724,1808,1500,1771,1868,1676,1522,1614,1523,1556,1803,2270,2908,2786,2288,1866,1497,1506,1534,1456,1466,1576,1615,1732,1722,2262,2497,2021,1628,1460,1397,1528,1520,1493,1604,1660,1471,1701,1904,2049,1990,2139,1870,1643,1802,1849,1810,1742,1456,1352,1488,1595,1700,1715,1600,1577,2164,2964,3110,3150,3356,3217,3210,3904,3995,3349,3378,3603,3808,3185,2818,2328,2132,2041,2189,2625,2993,3340,3579,3651,3176,1396,1017,1700,3231,3364,3034,2934,3024,3675,3890,3553,3436,3340,3060,3284,3384,3461,2766,2082,1808,2579,3345,3099,2286,2207,2049,1535,1472,1918,3072,2221,1496,1448,1479,1389,1542,1466,1484,1591,2244,2472,1815,1664,1682,1900,1817,2030,2520,2338,2138,2078,2113,1863,1598,1514,1550,1839,1819,1954,2261,1878,1482,1629,1332,1384,1656,1958,2066,1896,1703,1615,1572,1723,1598,1410,1482,1664,1550,1588,1618,1770,1708,1330,1344,1523,1611,1606,1676,1668,2094,1787,1799,2184,1929,1788,1684,1620,1551,1407,1612,2026,2336,2429,2396,2011,1972,1912,1556,1439,1453,1457,1667,1614,1666,1857,1636,1549,1562,1815,1702,1829,1795,2105,2452,2291,2108,1834,1870,2113,2255,2476,2424,1686,1615,1490,1664,1860,2248,2245,1648,1426,1836,1710,1714,1764,2126,1902,1688,1668,1807,1705,1526,1426,1270,1392,1339,1608,1541,1400,1271,1385,1511,1488,1436,1288,1279,1429,1499,1382,1317,1359,1409,1604,1805,1669,1527,1618,1622,1746,1942,1696,1444,1625,1770,2189,1945,1538,2728,3414,2930,2174,1686,1462,1584,1882,2092,1687,1548,1466,1247,1434,1508,1359,1350,1451,1672,2156,2168,1928,1690,1544,1688,1791,2056,2674,2777,2569,1810,1493,1758,1688,1479,1517,1981,2361,2136,2169,2270,1647,1768,1966,1604,1636,1651,1634,1622,1504,1678,1920,1744,1641,1449,1579,1920,1779,1858,1835,1784,1772,1712,1654,1793,1952,1885,1856,1976,2210,1989,1995,1925,1700,1556,1473,1482,1820,1965,1453,1495,1612,1660,1559,1804,1699,1500,1748,2185,2054,1730,1668,1721,1837,1876,1728,1642,1729,1426,1405,1457,1295,1284,1366,1398,1725,2273,2568,2745,2533,2231,2286,2458,2395,2307,1792,1482,1537,1782,1799,1782,1764,1632,1709,1792,2193,2145,2106,1942,2104,2214,1720,1975,2144,2197,2279,2198,2222,1986,1879,1930,1911,2298,2568,2376,2619,2524,2021,1424,1460,1644,1666,1860,2272,2170,2216,1596,1254,1875,1985,1770,1855,2317,2680,2404,2203,2345,1931,1766,1983,1730,1462,2086,2999,3554,3161,2458,2047,2120,2850,3537,3714,3950,4264,4341,4070,3760,3458,2953,2686,2611,2461,2255,2279,2752,3000,2150,1708,1779,1767,1615,1808,1543,1498,1550,1793,1957,2014,2768,2923,2004,1578,1364,1644,2354,2382,2354,3040,3408,3263,3001,2876,2668,2279,1899,2280,2228,1979,2145,2831,2866,2972,2881,2537,2437,2514,2018,1722,1582,1445,1650,2336,2105,2087,2329,2217,1757,1556,1492,1549,1424,1365,1564,1496,1750,1875,1622,1548,1626,2112,2147,1843,1854,2086,2214,2329,3025,3053,3020,2367,2452,2410,2136,2288,3066,3032,2214,1846,1753,1819,2106,2454,3526,3786,3376,2928,2585,2877,3648,3590,3552,3343,3508,3204,1980,1598,1858,1597,1476,1720,2236,1939,2064,1892,1447,1583,1509,1164,1288,1886,2142,2370,2245,1847,2082,1939,1966,2053,2388,2546,2805,2475,1610,2215,2996,1859,1494,1706,1697,1719,1623,2066,1979,1913,2296,2149,2259,2541,2394,2189,2515,2258,2453,1731,2000,2436,1785,2096,2889,3331,3366,3999,3941,4172,4227,3653,2910,1983,1527,1665,1934,1918,1596,1222,1091,1455,2248,2408,2092,2823,2254,2040,2196,1680,1523,1831,2396,2273,1904,1920,2065,2545,2323,1673,1477,1561,2190,2405,1942,1833,1284,1122,1454,1710,1931,1817,1928,2076,2044,2049,2122,1939,1650,1585,1528,1333,1516,1588,1334,1396,1522,1706,1542,1565,1868,1666,2064,2532,2192,1967,1839,2032,2150,2252,2084,1997,1804,2079,2414,2513,2762,2600,2754,2885,2214,2314,2193,2205,2112,2204,2678,2544,2258,2247,2129,2112,2112,2043,2130,2146,2484,2305,3273,3566,3104,2992,3095,3141,3195,2485,1982,2935,2974,2878,2641,2231,1886,2360,2930,3106,2452,1655,1496,1759,1902,1495,1423,1454,1462,1376,1332,1353,1404,1640,1619,1397,1462,1388,1548,1866,1691,1499,1476,1404,1376,1410,1337,1336,1444,1356,1380,1541,1479,1698,2206,2332,2125,1521,1484,1900,1524,1331,1353,1275,1318,1602,1790,1437,1282,1221,1292,1269,1238,1377,1538,1434,1362,1425,1434,1642,2010,2170,2237,1460,1376,1439,1384,1310,1269,1274,1373,1293,1222,1270,1290,1328,1410,1133,1099,1137,1262,1328,1324,1311,1246,1271,1357,1326,1186,1264,1605,1767,1293,1282,1736,1606,1362,1323,1253,1251,1194,1202,1303,1249,1197,1375,1908,2688,1899,2687,3031,2624,2026,1524,1360,1406,1458,1333,1603,1981,1641,1580,1772,1789,1916,1814,2001,2585,2717,2164,2283,2405,2182,1797,1858,1831,1840,2078,1747,2102,2200,2314,3140,3000,2325,2610,2941,2879,2623,2933,1882,1615,1686,1636,1672,1642,1567,1904,2352,2664,2513,2038,1815,1795,2066,2260,1908,1660,1734,1704,1698,1730,1788,1684,1490,1593,1697,1854,2161,2130,2214,2924,3009,2358,1952,2006,2380,2787,2775,1843,1677,1592,1556,1961,2182,2050,2009,2102,2938,3270,2494,2825,2600,2644,2764,2887,2976,2831,2654,2441,1964,1676,1646,1581,1550,1560,1565,1499,2084,2438,2164,2449,2333,2238,2187,2140,2276,2505,2569,2579,2416,2015,2112,2001,1681,1557,1542,1910,2181,2790,3493,3559,3132,3134,2788,2310,2679,2618,2701,2602,2629,2538,2821,2609,2116,2612,2834,2680,2308,2670,2675,2641,2818,2584,2302,1852,1796,2571,3087,3580,3078,2014,2116,2039,2095,2235,2844,3200,2763,2516,2492,2319,2336,2204,2109,1907,2460,2736,2669,2379,2060,2144,2302,2722,2834,2555,2897,3184,3088,3392,3265,3521,3781,3322,2746,2630,2718,2613,2359,2562,2600,1963,2171,2593,3175,2591,2286,2740,2885,2852,2962,2662,2186,2362,2491,2403,2217,2091,2565,2477,2219,2350,2345,2371,2372,2095,2025,2998,3329,2652,2215,2917,3669,3299,3308,3615,2728,2205,2615,2589,2622,3404,3588,2836,2505,2907,3720,3585,3452,3679,3165,2518,2452,2920,3264,3110,2846,2905,2978,3111,3128,3178,2758,2382,2712,3444,3436,3360,3522,3107,2830,2744,2431,2471,2641,2217,2181,2439,2215,1843,1727,1856,2568,2857,2447,2482,2182,2602,2607,2073,1751,1679,2132,2217,2210,2038,2012],[2780,2776,2922,2858,2714,2636,2793,2832,2419,1830,2197,2745,2664,2429,2527,2767,3353,3708,3630,3350,2979,3333,3809,3491,2841,2601,2858,2830,3172,3539,3684,3996,4625,4556,3752,3177,2797,3010,3093,3306,2763,2684,2653,2498,2523,2883,2768,2639,2888,2585,2525,2807,2780,2543,2724,2786,2677,2512,2469,2347,2489,2378,2237,2689,2408,1908,1931,2122,2269,2262,2586,2927,3501,3286,2756,3294,3897,3694,3687,3828,3427,2818,3188,3387,3206,3447,3876,3714,2743,2448,3221,3442,3407,3225,2644,2138,2283,2585,2583,2562,2542,2731,2465,2124,2625,3045,2179,1787,1656,1755,1632,1745,1762,1698,2035,2336,2305,1959,2092,2547,1952,1645,1555,1731,1916,1743,2083,1991,1905,1794,2299,2922,2410,1749,2280,2808,2962,1929,1801,1680,2098,2070,1786,1532,1612,1975,2423,2341,2025,1895,1738,1889,1914,2251,1916,1533,1898,1992,1698,1744,1733,1658,1462,1453,1456,1441,1552,1645,1987,1930,2060,2107,1940,1806,1871,1968,1685,1531,1745,1920,1765,1815,1916,1690,1841,1665,1628,1802,1615,1749,1642,1289,1424,1710,1418,1137,882,1075,1530,1962,1960,1845,1962,2306,2598,2544,2259,1884,2028,2126,2494,2540,2499,2237,2113,1851,1835,2211,2418,2191,2004,2690,2288,1709,2090,2259,2100,1791,1532,1728,2314,2273,1862,1858,2176,1782,1667,1623,1416,1412,1580,1655,1621,1439,1829,1932,1693,1582,1449,1577,1785,2171,2034,1318,1116,1557,1760,1566,1403,1429,1693,1749,1716,2081,2535,2866,2108,1826,1919,2088,2114,2083,2145,2258,1901,1841,1907,2121,2749,2742,2570,2273,2164,2009,1849,1793,3096,3332,2468,1840,1752,1923,2087,1997,1784,2509,2448,2947,3145,2831,2930,2968,3003,2602,2345,2627,2417,2067,2337,2293,1856,2055,2580,2287,1947,1602,1884,2226,2026,2011,1942,1785,1686,1890,2160,2258,2498,2780,2620,2009,1545,1608,1897,1700,1567,1806,1973,1866,1598,1469,1463,1851,1892,1736,1655,1592,1847,2150,2015,1865,1874,1820,1974,2010,3009,2834,2806,2615,2404,2048,1669,1817,2051,1832,1708,1815,1789,2000,2452,1700,1641,1572,1408,1367,1470,2027,2059,1746,1735,1516,1989,1863,1597,1471,1599,1740,1920,1850,1743,1667,1812,1794,1479,1542,1635,2294,2593,2370,2224,2024,1891,2028,2024,1829,2000,2190,1980,2185,2177,1751,1709,1588,1708,2119,2703,2743,2359,1944,1584,1669,1815,2159,2408,2367,2480,2302,2360,2262,2497,2511,2680,3288,3142,2467,2570,2369,1829,2307,1905,1519,1761,2264,1875,2252,2331,1961,2003,1882,1926,1624,1732,2085,2340,2110,1802,1436,1323,1765,2250,2340,1881,1738,1406,1433,1219,1367,1811,2135,2806,2665,2007,1841,1930,2002,1895,2529,2780,2036,2311,2448,2096,2360,2510,2130,1663,1697,1678,1576,1869,1948,2039,2052,1777,1785,1702,2055,2051,1842,1717,1723,2671,3638,3266,2854,2419,2657,2471,3153,2603,2005,2597,2787,2436,2632,2270,1786,2148,2557,2083,1579,1490,1488,1690,2143,2137,1759,1594,1951,2063,1812,1447,1381,1720,2693,2951,1880,1504,1816,1758,1480,1483,1524,1527,1425,1408,1453,1556,1570,1788,1848,1847,1466,1426,1347,1346,1595,1929,1687,1433,1586,1510,1560,1840,1653,1645,1610,1981,1948,1697,1676,1885,1949,1589,1563,1456,1461,1937,2798,3012,2225,1741,1561,1386,1513,1517,1326,1560,1844,1591,1541,1649,2447,2707,2011,1821,1729,1720,1569,1532,1604,1730,1929,1599,1669,1973,2491,2387,2189,2199,2155,2187,1842,1711,1664,1500,1533,1775,2026,2026,2049,2053,1946,2564,3235,3465,3173,2912,3140,3350,3826,3941,3594,3476,3565,3505,3075,2844,2248,1858,1776,1996,2429,2862,3208,3403,3703,3949,1977,984,1510,3387,3874,3486,3436,3606,3598,3512,3139,2710,2507,2179,2543,2338,2767,2389,2105,1726,1930,2825,2782,2375,2272,1965,1443,1694,2380,3258,2265,1594,1456,1473,1556,1705,1636,1660,1847,1544,1519,1465,1402,1700,2075,2318,2190,2190,2127,1921,2219,2448,1954,1602,1691,1609,1671,1560,1732,1628,1400,1466,1611,1490,1546,1610,1592,1576,1505,1571,1471,1337,1505,1413,1345,1394,1600,1693,1570,1555,1635,1295,1224,1598,1527,1725,1703,1698,1472,1813,1775,2051,2348,1921,1590,1361,1270,1377,1438,1366,1747,1812,2123,2244,2381,1969,1543,1634,1621,1346,1546,1648,1572,1519,1519,1627,1818,1813,1711,1853,1958,1716,1809,2042,2009,1919,1634,1504,1667,1926,2188,2300,1809,1466,1475,1562,1875,2142,1797,1830,1804,2060,1729,1533,1597,1807,1576,1439,1435,1610,1760,1489,1575,2010,1795,1583,1754,1615,1485,1389,1417,1422,1377,1288,1297,1371,1366,1320,1314,1332,1351,1354,1561,1783,1663,1977,2152,1653,1534,1917,2153,1533,2131,2158,1980,1656,1469,2698,2865,2301,2150,1744,1649,1726,2419,2880,2290,1547,1567,1744,1610,1422,1508,1972,1766,1670,2197,2099,2145,2339,2049,1998,2036,2124,2498,2671,2115,1529,2336,2975,2723,2348,2320,2825,3459,2991,2561,2702,2037,1626,1555,1591,2168,2165,1657,1624,1510,1603,1348,1257,1640,1417,1763,1987,2038,2007,1804,1904,1925,1603,1717,2099,2200,1921,2204,2464,2295,1566,1500,1736,1636,1424,1480,1672,2021,1979,1737,2072,1982,1559,1298,1731,1672,1465,1459,1492,1561,1597,1516,1613,1886,1792,1619,1878,1664,1359,1236,1252,1244,1187,1393,1865,2464,3104,3011,2811,2793,2322,2233,2426,2162,1600,1496,1715,2243,2097,1609,1738,2634,2319,2071,2388,2719,2699,2375,2181,1925,1310,1245,2103,2540,2222,1942,2278,2224,2050,2082,2210,1759,1960,2042,1971,2236,2713,2543,1569,1488,1872,2052,1973,2463,2575,2374,2031,1965,1926,1657,1651,1703,2030,2840,3109,2785,2657,2648,1753,1694,1708,1654,2778,3344,2852,2493,2301,2136,1990,3329,3935,3542,3927,4340,4316,3986,3671,3551,3343,2900,2664,2459,2117,2275,2175,1949,1454,1332,1548,1622,1678,1629,1323,1449,1720,1734,1768,1974,3359,3340,2104,1631,1490,1766,2311,2313,2362,2879,3243,3257,2997,2872,2285,2145,1824,2161,2242,1880,1936,2448,2679,2789,2921,2645,2377,2586,2137,2030,1728,1434,1429,1776,1947,1937,2194,1992,1469,1471,1614,1752,1775,1820,1726,1530,1722,1595,1375,1666,2046,2202,2046,1792,1793,1820,2140,2327,2488,2590,2860,2574,2165,2177,2215,2331,2566,2415,1905,2124,2149,2107,2075,2872,4311,4476,3508,2607,2159,2519,2785,3136,3470,3242,3364,2967,1717,1454,1619,1620,1869,2175,2322,1952,1685,1686,1584,1641,1515,1459,2365,2735,2792,2744,2585,2293,2108,1676,1259,1699,2334,2580,2867,1787,1167,1945,2722,2109,1861,1903,1947,1765,1510,1737,1704,1792,2007,2181,2271,2087,2500,2596,2575,2398,2725,2273,2355,2619,1681,2525,3467,3332,3105,3551,3347,3630,4011,3792,3111,2303,1695,1620,1715,2084,2439,2090,1766,2218,2546,2381,2270,2808,2343,2087,2264,1944,1756,2009,2414,2072,1784,1806,1797,2478,2344,1532,1308,1443,1968,2210,1678,1627,1549,1289,1344,1461,1877,1780,1989,2247,2238,2352,2210,2036,2187,1948,1651,1292,1358,1362,1271,1504,1653,1712,1526,1842,2389,2077,2212,2159,1875,2179,2086,2070,2084,2126,2139,2083,1772,2064,3142,3582,3750,3542,3421,2956,2141,2669,3044,2430,1971,1734,1484,1537,1580,1733,1770,1700,1636,1650,2022,2091,2353,2200,2885,3255,2822,2394,2441,2496,1911,1748,1930,2913,3240,3342,2786,2062,1721,1786,2148,2578,2094,1577,1606,2015,2133,2110,1605,1522,1365,1291,1344,1321,1439,1718,1654,1542,1407,1441,1908,1984,1559,1288,1437,1487,1354,1358,1411,1468,1409,1310,1620,2140,2190,2707,2575,1791,2078,1566,1432,1453,1350,1317,1226,1201,1293,1585,1835,1297,1161,1202,1306,1177,1289,1498,1487,1335,1382,1324,1247,1638,1951,1810,1765,1609,1372,1290,1343,1282,1156,1259,1376,1316,1391,1821,1491,1279,1289,1206,1290,1358,1285,1188,1214,1286,1252,1235,1202,1145,1126,1213,1282,1296,1208,1221,1327,1305,1293,1220,1172,1191,1130,1249,1329,1303,1195,1380,2335,2987,2170,2517,2557,1879,1725,1570,1348,1358,1425,1214,1509,1868,1797,1853,2127,2027,1927,2041,2217,2431,2874,2449,2440,2393,2525,2198,1825,1596,1728,2139,2077,2034,2066,2296,2814,2776,2419,2374,2455,2887,2576,2146,1647,1666,1668,1681,1619,1617,1485,1508,1799,2308,2220,2391,2005,1538,1510,1751,1600,1370,1445,1516,1667,1739,2031,1615,1475,1419,1615,1823,1947,1627,1805,2598,2539,2071,1626,1522,1936,2178,2472,1809,1512,1494,1689,1831,2159,2343,2094,2208,2661,2851,2851,3604,3030,3181,2843,2163,2036,2153,2142,2331,2500,2263,1930,1690,1866,1904,1744,1478,1625,1653,2012,2015,1683,1670,1804,2174,2317,2242,2475,2380,2175,2365,2041,1704,1645,2048,2100,1743,2107,2817,3428,3638,2871,2985,2768,2771,2988,2829,2447,2641,2947,2719,2554,2292,2092,2338,2448,2334,2666,2808,2683,2663,2641,2265,1924,1746,2060,2081,2302,3188,2754,1789,1943,1906,2063,1927,2077,2530,2442,2428,2042,1519,1641,1815,1639,1977,2766,2878,2475,2190,1992,1966,2603,3590,3725,2795,2535,2928,2806,3554,3853,3838,4012,3561,2707,2458,2564,2485,2492,2810,2816,2088,1895,1882,2668,2764,2567,2749,3072,3046,2857,2075,1615,2385,2461,2270,2072,2404,2918,2785,3216,3621,2890,2229,2577,2587,2612,3219,3183,2541,2221,3040,3343,2775,2651,2922,2445,2569,3522,3211,2298,3420,3872,2786,2653,2638,3218,3183,2662,2620,2287,1812,2216,2684,2923,2743,2398,2168,2226,2710,2946,3024,3002,2924,3050,3392,3191,3034,3220,3212,2995,2604,2533,2552,2722,2619,2847,2855,2467,2230,2023,2517,3337,3393,2807,2402,1975,2774,2944,2080,1913,2316,2454,2239,2046,1710,1795],[2534,2595,2640,2691,2626,2524,2544,2762,2820,2320,2532,2464,2351,2419,2499,2583,3085,3469,3448,3378,2807,2719,3394,3157,3027,3133,3098,3053,3360,3624,3564,3620,4376,4183,3684,3506,2933,2943,3029,3691,3517,2810,2973,3087,3188,3603,3204,3431,3618,3190,3054,3082,3074,3027,2954,2727,2823,2942,2720,2624,2780,2496,2732,3666,2920,2663,2052,2562,3429,3282,3273,3685,3504,2874,2730,3140,3806,3734,3751,3746,3472,3185,3028,2496,2557,3575,4100,4024,3532,3464,3679,3127,3494,4024,3344,2327,2103,2344,2579,2525,2821,3109,2430,1794,2109,2302,1738,1571,1468,1591,1631,1823,1813,1641,1828,2460,2347,1725,1688,1982,1518,1383,1723,1663,1615,1940,2319,2610,2420,1964,2140,2631,2410,2107,2074,2221,2953,1890,1640,1840,2375,2238,1984,1887,1647,1818,2098,1838,1553,1474,1836,1739,1852,2180,1996,1586,1596,1749,1942,1784,1947,2205,1858,1362,1234,1402,1454,1478,1672,1768,1834,1824,1734,1578,1600,1769,1915,1680,1632,1829,1864,2062,2098,2060,2155,2004,2014,1808,1404,1703,1709,1566,1578,1507,1417,994,1011,1011,1190,1739,2022,1979,2025,2211,2396,2205,1709,1720,1909,2113,2286,2686,2756,2264,1839,1741,2199,2735,2980,2791,2644,2418,1819,2030,2121,1869,1946,1871,1533,1562,1723,1724,1581,1738,2259,1808,1439,1585,1624,1648,1534,1478,1514,1485,1973,2302,1804,1634,1473,2004,2196,1614,1382,1230,1171,1391,1507,1497,1387,1421,1785,1945,1542,1742,2239,2558,2359,2338,2094,2001,1933,1941,2414,2031,1609,1939,2497,2910,3306,3124,2601,2071,1990,2084,1836,2154,3164,3300,2768,1941,1865,2326,2287,1728,1544,2122,1666,2041,2269,2155,2008,2231,2553,2340,2109,2302,2480,2865,2952,2247,1772,2056,2013,1790,2388,2585,2054,1915,1931,2362,2867,2231,1901,1861,1657,1960,2298,2193,1878,1643,1471,1785,1850,1638,1610,1547,1620,1462,1435,1354,1509,1785,2067,2151,1876,2316,2527,2239,2020,1820,1894,1808,1787,2063,2973,2780,2286,2163,1872,1279,1300,1689,1887,1654,1855,1831,1628,1559,1556,1605,1596,1345,1458,1671,1874,2372,2059,1819,1686,1537,1482,1443,1433,1487,1534,1595,1654,1850,1931,1880,1795,1669,1528,1708,1611,2497,3076,2986,2622,2577,2706,2721,2469,2144,1880,1812,2187,2496,2272,2004,1798,1559,1396,1844,2204,2050,2151,1924,1825,1693,1651,1897,1952,2190,2250,2236,2041,2059,2338,2149,2684,3040,2780,2175,1959,1841,1948,1865,1599,1372,1659,1980,2226,2609,2082,2171,1986,2025,2024,1669,1689,1833,2101,1871,1556,1256,1488,1943,1810,1575,1587,1847,1752,1756,1302,2126,2718,2590,3184,3150,2168,1944,2238,2309,2079,2665,2654,2069,2318,2064,2128,2635,2579,2040,1547,1775,1967,2265,2308,1980,2060,1848,1728,1776,1562,1647,2081,2049,2428,3012,2833,3293,2862,2590,2751,2279,1930,2231,1945,1722,2604,2727,2023,2160,1969,1595,1730,2067,1760,1565,1404,1521,1789,2061,2150,1832,1728,1862,1672,1837,1712,1565,1581,1877,2255,1697,1345,1514,1548,1534,1574,1816,2111,1513,1359,1514,1686,1394,1436,1963,1980,1550,1471,1499,1589,1666,1748,1586,1425,1431,1781,1677,1548,1635,1676,1912,2080,1790,1995,2333,1918,1821,1602,1900,1446,2085,2510,2496,2322,1958,1976,1615,1428,1597,1590,1466,1594,1660,1596,1694,1729,1811,1541,1505,1865,1763,1357,1308,1542,1888,1832,1644,1542,1541,1785,2171,2441,2552,2373,2168,2101,1876,1778,1791,1786,1999,2319,2415,2828,3053,2669,2363,2803,3084,3321,3493,3233,3496,3706,3661,3613,3784,3651,3250,2964,3072,2986,2590,2292,1939,1952,2437,2830,2999,3550,3986,4408,2774,1220,1110,2640,3830,3488,3237,3664,3436,3564,3182,2608,2307,2127,2242,1882,2151,2195,2022,1748,1839,2095,1823,2131,1831,1590,1474,1647,2280,2721,1921,1585,1567,1493,1708,1608,1549,1606,1709,1432,1648,1694,1445,1718,2165,2342,1975,1705,1738,1826,2077,1824,1679,1508,1427,1517,1612,1504,1471,1270,1237,1370,1483,1566,1572,1577,1429,1380,1295,1372,1327,1398,1563,1583,1478,1476,1600,1821,1654,1283,1476,1638,1824,2092,2085,1852,1460,1414,1379,1695,1835,2120,2392,1884,1510,1469,1323,1407,1464,1573,1966,1923,1807,1831,1877,1968,2127,1897,1494,1698,1943,1749,1648,1585,1531,1765,1888,1794,1937,2137,1848,1613,1628,1738,2077,1816,1728,1471,1575,1643,1743,2048,1753,1577,1887,1678,1743,1898,2261,2207,2022,1807,1505,1381,1549,1482,1364,1479,1542,1764,1908,1645,1657,1964,1699,1526,1662,1632,1433,1394,1461,1428,1247,1241,1529,1559,1545,1471,1415,1356,1307,1291,1568,1809,1888,2081,1881,1404,1541,1978,2358,2144,2862,2366,1874,1842,1605,2052,2196,2068,2186,1933,1830,1478,1880,2522,2642,1730,1742,2292,2088,1560,1527,1844,1622,1476,2096,2374,2470,2116,2141,2278,2210,2119,2143,2208,1957,2061,3062,3554,3256,2330,2279,2664,3261,3210,2835,2450,1791,1478,1533,2065,2632,2194,1472,1606,1645,1394,1390,1389,1435,1408,1450,1623,1717,1562,1497,1497,1578,1587,1851,1775,1776,1569,1775,2016,1831,1597,1834,1880,1331,1254,1626,1914,1807,1838,1930,1877,1559,1530,1638,1628,1439,1374,1384,1322,1484,1701,1610,1466,1610,1664,1710,1526,1261,1177,1283,1456,1295,1164,1412,1993,2250,2757,2585,2609,2625,1894,2270,2589,1775,1614,1827,1705,1703,1642,1880,2128,3299,3190,2767,2609,2574,2454,2250,2343,2127,1396,1500,2260,2458,2018,1735,2118,1880,1892,2003,2267,1923,1862,2035,1777,1895,2078,2184,1806,1740,2574,2124,2190,2432,2421,2258,2038,2014,1809,1637,1636,1651,1892,2308,2879,2731,2514,2491,1640,1631,1701,1667,2128,2139,1551,2057,2348,1855,1467,2504,3453,3708,4284,4545,4048,3623,3276,3165,3264,2991,2769,2509,2230,2237,1719,1724,1576,1266,1432,1526,1587,1702,1415,1389,1498,1450,1482,1944,3739,3670,2136,1888,1764,1534,1817,1865,1859,2324,2599,2968,2993,2702,2138,2144,2186,2194,2178,2055,2235,2622,2559,2547,2610,2429,2507,2997,2800,2231,1779,1569,1682,1954,2065,2078,1825,1620,1365,1364,1754,1914,1966,2290,2020,1583,1447,1388,1505,1846,1882,1731,1527,1547,1673,1541,1815,2192,1863,1685,1905,2157,2375,2181,2055,2022,2215,2046,1995,2278,2178,1768,1726,3195,4352,4116,3090,2299,2010,2186,2217,2685,2912,2869,3063,2492,1635,1809,2172,2250,2322,2533,2238,1966,1515,1380,1429,1606,1553,1709,2513,2502,2820,3066,2632,2256,2171,2011,1732,1975,2477,2709,1826,1337,1434,1849,2084,1919,1825,1944,1716,1486,1644,2010,1710,1964,2226,2806,2540,2371,2258,1963,2131,2035,1985,1759,1760,2215,1967,2349,2663,3060,3366,3398,3200,3565,3960,3769,3404,2600,1954,1732,1754,2200,2201,2065,2460,2557,2404,2645,2667,2458,2153,2442,2526,2455,2439,2098,2162,1975,2010,2029,2156,2442,1952,1420,1556,1584,1635,1763,1576,1708,1803,1632,1312,1257,1660,1786,2166,2483,2279,2209,2012,2073,2083,1504,1260,1359,1469,1397,1429,1719,1853,1715,1700,2128,2539,2180,2005,1916,1958,2668,2362,1975,1998,2193,2331,2047,2152,2664,3525,3516,3528,3322,3161,2713,2201,2683,3041,2453,1988,1770,1586,1964,1879,1866,1835,1825,1911,1854,2106,3095,2980,1943,2097,2809,3201,2608,2474,2823,2568,2490,2648,3075,3386,3311,2402,1758,2019,1843,1646,1907,1638,1400,1500,1476,2279,2570,1678,1376,1251,1321,1491,1495,1634,1437,1486,1507,1534,1743,1914,1812,1677,1468,1432,1423,1340,1351,1432,1488,1503,1805,1888,2125,2451,2639,1897,1862,2031,1592,1412,1286,1267,1299,1382,1382,1493,1598,1759,1361,1371,1390,1292,1226,1324,1531,1543,1344,1432,1520,1370,1462,1585,1512,1656,1610,1295,1205,1193,1139,1164,1416,1460,1506,1488,1726,1389,1209,1314,1239,1322,1418,1252,1128,1210,1300,1211,1252,1211,1162,1150,1244,1261,1243,1244,1280,1288,1207,1233,1346,1270,1281,1239,1281,1282,1171,1153,1680,3220,3792,3257,2909,2075,1655,1649,1557,1272,1448,1387,1247,1459,1621,1890,2043,1922,1896,2007,1943,1851,2001,2602,2125,2486,2430,2474,2141,1742,1835,1853,1880,1904,2148,2133,2391,2170,2578,3001,2232,1852,2146,2226,2070,1977,1649,1546,1590,1642,1598,1428,1499,1603,1419,1598,1900,1848,1765,1748,1720,1621,1593,1553,1564,1709,1562,1629,1559,1402,1420,1678,2115,2160,1459,1377,2037,2331,2382,1681,1630,1997,1872,2071,1898,1569,1310,1483,1868,2016,1914,1693,1660,1681,2175,3421,3816,3000,2652,2070,1469,1677,2009,1980,2336,2730,2286,1864,2076,2359,2164,2033,1859,1609,1630,1892,1986,1786,1905,1831,1788,1963,2446,2743,2011,1880,2343,2424,1989,2088,3640,3728,1845,1998,2684,3456,3492,2855,2868,2856,2553,2547,2184,1794,2187,2608,3082,3164,2675,2149,1808,1911,2166,2318,2533,2751,2886,2762,2236,1677,1685,2030,1814,1916,2809,2540,1721,1817,2148,2234,2061,2114,2087,2012,2122,1716,1543,1582,1616,1685,2225,2724,2601,2419,2460,2171,2143,2751,3418,3118,2573,2928,3249,2812,3134,3742,3870,3543,2883,2273,2050,2311,2557,2976,2978,2268,1834,1771,2119,2714,2648,2215,2407,2919,2932,2473,1683,1188,1929,2349,3001,2907,2774,2480,2785,3823,4200,3284,2163,2575,2711,2377,2792,3420,2854,2576,2951,3249,2956,2928,3309,2958,2866,3430,3307,2524,3129,4085,3846,3376,3134,3368,3050,2416,2667,2319,2075,2425,2429,2730,2552,1807,1652,2291,2863,3223,3293,3210,3250,3208,2924,2396,2330,2414,2372,2836,2644,2401,2512,2496,2444,2592,2272,2018,2236,2424,2416,2934,3019,2718,2375,2365,2697,2610,2326,2335,2409,2140,1866,2166,2343,2470],[2613,2567,2469,2531,2522,2576,2567,2416,2319,2750,3039,2969,2733,2464,2350,2598,2913,2853,2730,2719,2967,2842,3468,3461,3491,3718,3561,3304,3259,3457,3564,3623,4279,3973,3617,3818,3630,3629,3543,3630,3598,3357,3345,3072,3500,3725,3654,3583,3607,3785,3682,3241,3385,3429,3068,2973,3154,3098,2842,2661,2636,2639,2523,3521,2584,2615,2121,2198,2821,2808,3251,3651,3237,2545,2425,2424,3463,3751,3742,3347,3095,3487,3343,2370,2660,3969,3870,3745,3834,3842,3543,2834,3178,3980,3605,2854,2675,2744,2395,2204,2685,3039,2126,1445,1637,1696,1642,1545,1677,1783,1511,1500,1651,1622,2037,2954,2497,1939,1734,1803,1932,1973,2286,2009,1919,2171,2482,2671,2481,2290,2326,1938,2049,2280,1830,2151,2424,1677,1629,1730,1620,1655,1816,1706,1638,1953,1959,1624,1899,2175,1824,1876,1971,1652,1461,1433,1571,1746,1893,1916,2226,2030,1765,1639,1568,1509,1440,1450,1781,2002,1920,2263,2069,1676,1579,1987,1914,1521,1591,1796,2007,2059,1943,1883,1982,2157,1989,1606,1334,1814,1716,1487,1445,1586,1723,1326,1203,1226,1306,1550,1776,1685,1895,1981,2059,1953,1881,2090,1872,1908,2354,2534,2227,2107,2123,1792,2868,3319,2967,2702,2503,1986,1971,2178,2106,1963,2244,2135,1663,1627,1484,1743,2030,1923,1850,1626,1415,1628,1958,1879,1434,1363,1487,1668,1888,2138,1799,1689,1774,2010,2163,1760,1586,1420,1283,1379,1390,1397,1414,1575,1611,1435,1479,1774,2064,2279,2375,2103,1745,1729,1717,2420,3078,2335,2182,2105,2154,2488,3154,2696,2467,2265,2191,2232,2165,2937,3662,3607,3176,1903,2084,2909,2620,1802,1833,1942,1593,1665,1955,1994,1739,1920,2119,2078,1945,1668,2023,2644,2581,2087,1864,2055,2001,1841,2345,2657,2077,1654,1697,2441,2536,2273,2526,2375,1860,1693,1890,1682,1750,1756,1617,1827,1754,1786,1682,1481,1499,1519,1413,1395,1493,1491,1872,1844,1746,2360,2769,2133,1710,1583,1856,1847,1602,1738,1875,1698,1487,1772,2258,1807,1506,1563,1644,1627,2032,2069,1721,1528,1647,1621,1620,1490,1974,1828,1841,1936,1880,1989,1897,1798,1503,1382,1534,1643,1593,1601,1459,1736,1771,1908,1852,1715,1578,1613,1591,1802,2504,2677,2348,2137,2246,2230,1907,1655,1290,1294,2494,2885,2597,2082,1473,1348,1763,2339,1925,1730,1905,1760,1604,1421,1749,2031,2360,2338,1903,1947,1955,1982,1905,2013,2858,2396,1960,1843,1596,1532,1698,1673,1468,1368,1562,2024,2481,2897,2754,2631,2032,1991,1786,1547,1639,1774,1890,1809,1505,1705,2061,1606,1357,1559,1848,1784,1726,1578,1737,3025,3445,2347,1950,1898,1850,2033,2183,2592,2469,2657,2245,1933,1897,1636,2141,2547,2377,2176,2017,2186,2110,2273,2263,1783,1848,2105,1847,1692,1613,1785,2020,1786,2854,2962,1882,2029,1775,1958,2304,2136,1848,1821,1766,1876,2256,1916,2091,2719,2470,1887,1653,1892,1799,1614,1415,1534,1858,1583,1563,1584,1638,1787,1788,1924,1986,1767,1456,1585,1780,1571,1547,1513,1477,1548,1648,1672,1780,1281,1350,1741,1703,1517,1643,2133,1811,1412,1584,1902,1660,1640,1610,1548,1512,1812,2803,2081,1395,1605,1747,1823,1849,1939,2358,2103,1626,1574,1592,1993,2162,2825,2242,1701,1720,1952,1985,1703,1796,1767,1867,1704,1622,1431,1311,1561,1797,1725,1482,1499,1753,1824,1623,1503,1512,1886,1676,1686,1682,1538,1507,1818,2216,2622,2674,2288,2278,2319,1748,1568,1788,2212,2143,2235,2697,3226,3352,3209,3262,3082,3409,3872,3684,3365,3300,3517,3173,3023,3123,3068,2889,3023,3095,2517,2222,1958,1940,2504,2780,2697,3343,3979,4628,3580,1703,944,2114,3504,3674,3643,3743,3564,3821,3470,3476,3304,1993,1610,1939,2326,2415,1892,1834,2145,1831,1653,1856,1618,1540,1655,1600,1740,1884,1594,1722,1765,1556,1653,1589,1500,1606,1632,1571,1677,1579,1430,1734,2190,2396,2136,1810,1826,2030,2033,1681,1908,1517,1351,1380,1557,1673,1672,1488,1332,1439,1489,1622,1553,1422,1344,1265,1491,1537,1366,1333,1544,1592,1424,1352,1504,1529,1575,1754,2045,2054,2307,2390,2160,1707,1488,1408,1394,1521,1557,1599,1907,1662,1503,1692,1690,1476,1344,1530,2082,2262,2262,2396,2151,2277,2060,1870,1715,2149,2087,1853,1769,1733,1563,1537,1659,1812,1954,1963,1898,1866,1819,1935,2164,1970,1551,1417,1568,1512,1833,2161,1556,1831,2307,1814,2039,1804,2061,1970,1789,1840,1628,1462,1535,1476,1488,1518,1672,2066,1742,1561,1503,1503,1534,1595,1503,1450,1382,1462,1444,1366,1114,1170,1535,1484,1428,1395,1324,1448,1532,1489,1702,1860,1898,1747,1333,1355,1565,1924,2834,3440,2828,2288,2198,1991,1830,1970,2502,2513,2519,1956,1544,1553,1716,2106,1968,1502,1782,2298,2115,1608,1511,1749,1632,2124,2302,2513,2142,1487,2001,2377,2270,2076,2000,2049,2039,2290,2607,2687,3111,2731,2442,3065,3200,2897,2648,2316,2018,2001,1823,1886,1951,1725,1650,1921,2157,1734,1702,1534,1367,1354,1455,1728,1849,1691,1415,1333,1420,1250,1329,1404,1330,1313,1557,1818,1870,1775,1875,1760,1091,1203,1544,1771,1931,2340,2306,1996,1677,1796,1639,1217,1369,1435,1509,1360,1376,1735,1588,1528,1513,1583,1476,1301,1353,1440,1863,1954,1399,1225,1481,1926,2103,2225,2006,2396,2519,2100,2565,2880,2569,2160,1951,1802,1642,1770,2018,2311,3112,2987,2626,2426,2257,2155,2146,2353,2093,1517,1559,2006,1949,1876,1568,1637,1697,1715,1792,1932,1866,1891,1994,1843,1920,2493,2329,2071,1800,1930,2191,2494,2048,1747,2007,2190,1861,1650,1607,1722,1702,2227,2084,2136,1901,1952,1608,1143,1307,1677,1847,1777,2254,2525,2924,2806,2021,1575,1961,3131,4168,4480,4035,3561,3627,3386,3052,3287,2987,2731,2451,2121,2083,1976,1998,1719,1577,1542,1545,1617,1546,1446,1550,1361,1498,1508,2096,3759,3444,1869,1735,1736,1464,1480,1809,2359,2215,2737,3267,3388,2857,2311,2437,2589,2206,2328,2764,2908,2887,2866,2353,2162,2234,2015,2894,3195,2602,2146,1817,1894,2036,2046,1830,1636,1681,1611,1715,2511,2421,2427,2702,2192,1618,1454,1546,1972,1827,1419,1530,1356,1512,1617,1581,1916,2127,1860,1489,1216,1462,1800,1964,2014,1921,2208,2051,2235,2237,1893,1596,1749,2713,3440,3319,2938,2255,1608,1611,2278,2552,2544,2684,2979,2229,1526,1717,2418,2591,2510,2316,1999,1649,1234,1141,1748,2064,1935,1855,2199,2388,2502,2372,2153,2291,2327,2533,2648,2995,3268,2788,1757,1414,1627,1747,1700,1748,1998,2352,1820,1694,1717,1764,1686,2025,2454,2256,2293,2632,1852,1703,1889,1623,2165,1881,1907,2295,2289,2033,1673,2635,3432,3455,3486,3751,4145,4101,3687,2944,2294,1958,1754,1700,1557,2119,2880,2956,3076,2700,2391,2946,2554,2549,2114,2168,2453,2668,2531,2317,2515,2578,2564,2094,1701,1694,1897,1796,1725,1703,1889,1969,2124,2229,1645,1349,1662,2117,2415,2713,2036,1969,1902,2271,2261,1966,1619,1464,1420,1302,1394,1739,1864,1810,1722,1931,2106,1944,1876,1973,2120,2608,2351,1724,1757,2204,2690,2148,2318,2807,3466,3466,3445,3308,2964,2430,2092,2498,2996,2621,2185,1831,1592,1785,1805,1859,1912,1906,1886,1750,2079,3124,2888,1752,1964,2690,3444,3229,3252,3171,3093,2933,2944,3062,3091,2990,2592,2623,3075,3012,2466,1886,1517,1592,1890,1900,2349,2042,1469,1336,1338,1549,1674,1771,2073,1547,1401,1508,1766,1760,1593,1775,1916,1736,1501,1406,1377,1376,1404,1344,1431,1340,1431,1580,2142,2305,2160,2724,2612,1728,1339,1219,1288,1323,1391,1563,1640,1681,1726,1658,1614,1506,1310,1131,1287,1388,1394,1409,1529,1443,1368,1353,1413,1701,1860,1511,1343,1295,1240,1305,1272,1376,1766,1852,1505,1398,1333,1280,1318,1245,1190,1245,1239,1221,1181,1156,1193,1227,1221,1208,1179,1230,1229,1294,1456,1499,1535,1432,1324,1614,1702,1299,1383,1352,1237,1191,1340,1922,3194,3792,3135,2212,1678,1538,1898,1609,1376,1586,1403,1532,1904,2239,2294,2121,1860,1633,1558,1601,1586,1853,2144,1873,2195,2265,1930,1518,1547,1672,1637,1599,1670,2204,2088,2305,1907,2270,2688,2448,2340,2426,2164,2186,2383,2171,1836,1603,1713,1528,1423,1691,1730,1486,1587,1764,1765,2006,2560,2263,2172,2218,1847,2191,2096,1496,1459,1564,1395,1371,1561,1936,1993,1498,1560,2170,2702,2744,2351,1801,1760,1882,1939,1775,1507,1268,1302,1578,1552,1719,1709,2002,2359,2576,2749,2564,2370,2013,1465,1422,1651,1875,1907,2540,2900,2399,1896,2028,1929,1693,1709,1698,1839,2090,2029,2620,2352,2436,2012,1734,1899,2347,2192,1991,2094,1809,2269,2143,2494,3095,3055,2169,2691,3648,4078,3636,3205,3439,3411,2957,2668,2055,2063,1992,2320,3034,2960,2569,2469,2019,1740,1718,1864,2510,3195,3186,2584,2541,2101,1809,1824,1754,1816,2847,2496,1479,1571,1798,2154,2150,2230,2192,2208,2016,2156,2094,1739,1588,1418,1394,1783,2098,2564,2513,2039,2446,2945,2971,2907,2896,3355,3447,3211,2909,2930,3244,3066,2749,2417,2054,2123,2365,2552,2372,1917,1813,1638,1931,2463,2185,2018,2165,2220,2218,1928,2208,1793,1751,2286,3089,3121,2467,2150,2587,3373,4059,3839,2835,2755,2703,2533,2985,3488,3289,2963,2865,2988,3083,3085,3572,3320,2927,3351,3106,2574,2481,3264,3397,3065,3492,3642,3046,2196,2944,2326,2184,2605,2551,2866,2636,1646,1710,2429,2879,3351,3287,3143,3454,3032,2337,2059,2041,2047,2131,2691,2714,2363,2232,1981,1924,2144,1699,1586,1945,2465,2454,2875,2946,2854,2479,2221,2126,2111,2262,2440,1873,1973,2074,2608,2489,2487],[2451,2407,2662,2486,2476,2588,2710,2421,2314,2632,2814,3098,2812,2909,2768,2518,2515,2430,2793,3023,3097,3620,3907,3546,3506,3727,3733,3226,3258,3483,3469,3394,3951,4271,4034,3684,3505,3728,3649,3485,3346,3537,3605,2843,3154,3429,3681,3330,3538,4144,4042,3608,3573,3790,3730,3410,3340,2919,2330,2590,2210,1840,2171,2514,2229,2350,2209,2129,2036,2275,3076,3564,3430,2984,3062,2879,3075,3270,3050,2774,3190,3586,3304,2658,2298,3541,3992,4019,4181,3541,3310,3189,3464,3692,3376,3073,3021,2457,1962,1950,2624,3221,1942,1302,1484,1670,1861,1907,2035,1756,1487,1589,1454,1455,1719,2067,1832,1960,1794,1876,1990,1889,1756,1786,1898,1598,1771,2036,2003,2379,2554,1805,1810,2054,1713,1931,1875,1796,2132,1606,1546,1713,1682,1610,1564,1968,2260,2051,2231,2485,2410,2402,2052,1523,1496,1551,1911,2344,2208,1971,1610,1428,1607,2006,2167,1903,1854,1871,1804,1807,2231,3143,2313,1804,1781,2270,1891,1596,1902,2114,1947,1579,1555,1360,1803,2388,2342,1693,1534,1608,1453,1483,1674,1880,1896,1727,1530,1300,1300,1578,1948,1488,1869,1880,1996,1997,2187,2295,2098,2275,2558,2065,1652,1889,1922,2058,3145,3062,2695,2545,2060,2011,1714,1701,2024,2219,2366,1859,1550,1833,1678,1699,1846,1690,1677,1706,1635,1694,2081,1882,1449,1520,1688,1644,1567,1827,1567,1722,2023,1925,2197,2033,1918,1884,1471,1419,1467,1566,1490,1693,1492,1515,1931,1824,1964,2122,1873,1680,1710,1956,2184,2783,3375,2966,2318,2167,1939,2053,2580,2820,2815,2490,2400,2546,2980,3447,3907,3641,3541,2519,2658,3089,2533,1972,2048,1936,1768,1680,1570,1700,1542,2002,2178,1995,1922,1898,2020,2156,2176,1889,1787,1992,2222,2324,2314,2663,2198,2093,1954,2055,1889,2065,2417,2747,2413,1904,1932,1877,2228,1824,1805,1709,1644,1872,1800,1724,1686,1826,1722,1630,1632,1572,1786,2200,2063,2384,2455,1876,1543,1553,1748,1833,1778,1722,1700,1400,1256,1844,2077,1560,1644,2033,1986,1934,1942,1876,1735,1401,1486,1484,1647,2065,2814,2426,1974,2093,2115,1811,2146,2327,1802,1593,1599,1533,1542,1490,1448,1534,1478,1834,2094,1909,1727,1640,1575,1911,2369,2030,1830,2014,2194,1852,1740,1649,1691,1718,2563,3005,2631,2001,1510,1559,2031,2789,2681,2172,1793,1877,1645,1444,1751,1892,2232,2131,1697,1697,1650,1802,1881,2533,3082,2398,1952,1669,1478,1635,1719,1364,1566,1809,1544,1980,2524,3263,2963,2548,2082,1785,1700,1607,1508,1545,1620,1812,1710,1646,1620,1447,1471,1513,1772,2040,2030,1616,1514,2364,2464,1685,1490,1798,1803,2159,2302,2604,2276,2487,2522,2220,1848,1561,2066,2578,1666,1754,2755,2641,2001,2040,1871,1631,2138,2467,2171,1819,1853,1715,1678,1829,2536,2155,1527,1560,1701,1759,1936,1852,1602,1535,1322,1428,1839,1562,1992,2608,2744,1949,1632,1743,1591,1878,1706,1399,1448,1341,1401,1506,2009,2136,1656,1417,1682,1600,1472,1732,1676,1492,1619,1616,1598,1548,1630,1698,1678,1367,1358,1963,2361,1977,1677,1664,1188,1450,1594,1622,1262,1498,1466,1410,1465,1682,2258,1996,1832,2143,2078,1825,1672,2406,2851,2029,1711,1512,1729,2031,2535,2470,1828,1853,2152,1824,1460,1928,2196,1958,1917,1681,1582,1439,1355,1574,2088,2095,1793,1612,1608,1642,1753,1678,1692,1663,1518,1510,1407,1321,1441,1679,1936,2457,2821,2851,3211,2702,1992,1603,1716,2179,2502,2474,2674,3461,3724,3938,3979,3859,3854,3854,3698,3354,3023,3322,3160,3071,3238,3197,3550,3471,3370,2676,2332,2301,2905,3435,2834,2214,2471,3449,4404,3924,2323,939,1520,2774,3028,2950,2944,2839,3251,3353,3044,2327,1557,1608,2073,2287,2112,1919,1873,1954,1495,1654,1837,1639,1634,1691,1522,1519,1654,1668,1513,1627,1488,1488,1469,1551,1701,1848,1771,1693,1660,1648,1748,2159,2294,2158,2007,1757,1722,1631,1671,2020,1732,1236,1144,1547,1794,1502,1421,1349,1301,1339,1599,1746,1622,1513,1401,1656,1650,1538,1438,1442,1477,1532,1570,1766,1588,1462,1921,1979,2131,2360,2355,2017,1662,1479,1478,1368,1622,2448,2035,2020,1656,1475,1725,2036,1791,1317,1541,2176,1906,1974,2078,1935,2186,1866,1942,1831,1991,1957,1654,1926,2026,1610,1350,1264,1394,1438,1450,1703,1946,2107,1942,1863,1798,1633,1670,1470,1459,2164,2587,1961,1911,2056,1814,1846,2091,2202,1884,1731,1840,1695,1550,1403,1428,1688,1807,1835,1841,1575,1690,2107,1875,1524,1598,1486,1528,1441,1464,1392,1388,1340,1532,1476,1223,1346,1584,1614,1660,1520,1450,1712,1874,1829,1762,1526,1519,1909,2686,2488,1997,1851,1853,1946,2135,2452,2292,2330,2450,2089,1687,1626,1686,1541,1585,1511,1454,1766,2308,2102,1306,1544,2138,2339,2280,2064,2132,1656,1996,2493,2402,2237,1801,2114,2020,2096,2057,2413,2553,2897,3021,2709,3138,3309,2667,2084,2040,1788,1997,1730,1716,1482,1406,1579,1818,2119,1796,1574,1692,1572,1682,2193,2270,2048,1668,1420,1408,1409,1406,1665,1608,1481,1522,1360,1378,1881,2002,1932,1871,1551,1366,1393,1810,2210,2336,2042,1574,1578,1617,1193,683,1091,1436,1598,1870,1923,1590,1472,1810,1703,1477,1410,1412,1432,1541,1541,1475,1450,1650,1790,2014,2205,2344,2202,1999,2120,2425,2932,2388,2279,1905,1851,1958,1736,1644,1969,2090,2180,2216,2492,2798,2562,2246,2419,2705,2024,1475,1840,2302,2224,2056,1699,1612,1556,1510,1713,1782,1688,1562,1498,1735,2290,2885,2419,2159,1699,1674,2375,2445,2014,1812,2092,1880,1621,1793,2281,2316,2082,2333,2123,1930,2022,1914,1406,1200,1450,1610,1852,1767,2343,2601,2631,2298,1853,1826,2045,2824,3638,3359,3254,3710,3830,3598,3666,3706,3245,2798,2167,2040,2288,2834,3339,3112,2498,1606,1521,1616,1355,1461,1768,1538,1700,1806,2458,3436,2963,1604,1523,1480,1478,1405,2051,2334,2437,3172,3288,3016,2741,2330,2409,2881,2957,3064,3437,3458,2645,2464,1843,1704,1806,1792,2176,2437,2381,1930,1921,2057,1765,1714,1304,1193,1468,1600,1758,2374,2323,2165,2259,1846,1553,1754,2002,2188,1178,1009,1250,1462,1708,1801,1792,1883,1809,1588,1438,1716,2047,1706,1970,2040,1995,1932,2278,2490,2060,1760,1675,1889,2144,2324,2570,2436,1865,1673,2092,2410,2708,2322,2575,2939,2264,1750,1767,2177,2336,1969,1793,2332,2062,1655,1437,2172,2281,1960,1760,1528,1934,2282,2229,2730,2858,2481,2451,1995,2005,2864,2916,2395,1886,1843,2014,1921,1913,2180,2398,1716,1453,1487,1585,1613,1631,1760,1555,2053,2603,1731,1993,2216,2048,2703,2477,2624,2141,2163,1880,1532,2426,2994,3176,3248,3542,4072,4132,3966,3271,2556,1990,1649,1814,1970,2323,2746,2618,2689,2591,3079,3859,3009,2535,2066,1672,2102,2646,2287,2123,2364,2598,2754,1870,1965,1894,2058,2468,2286,2182,2100,1608,1722,1838,1512,1886,2196,2698,2336,2308,1805,1800,2062,2081,2109,2010,1556,1320,1714,1726,1610,1863,1901,1855,1728,1814,1901,1980,1985,1997,1990,2237,2469,2046,1897,1989,3027,2501,2360,2823,3392,3432,3306,3186,2818,2121,1869,2358,3046,2803,2564,2072,1800,1858,1930,2085,2105,2026,1892,1534,1638,2329,2260,2115,3032,3187,2875,2852,3220,2701,2410,2544,2744,2935,2530,2739,3197,3492,3205,2563,2674,2101,1659,1593,1588,1565,1739,1666,1410,1357,1422,1622,1864,1871,1842,1679,1504,1636,1808,1493,1681,2061,1940,1774,1544,1417,1403,1527,1352,1259,1607,1564,1438,1465,1631,1706,2107,2827,2764,1885,1378,1282,1317,1302,1201,1314,1570,1642,1692,1594,1498,1605,1537,1529,1430,1342,1292,1412,1496,1383,1324,1208,1109,1468,2010,2049,1770,1228,1404,1717,1543,1331,1408,1607,1758,1470,1263,1186,1231,1292,1186,1147,1330,1496,1615,1322,1266,1349,1196,1154,1144,1113,1146,1238,1308,1205,1358,1463,1404,1870,1654,1221,1328,1337,1206,1347,1730,2316,3066,3373,2349,1742,1717,1565,1797,1670,1441,1550,1899,2049,2163,2147,1858,1951,1700,1445,1319,1632,1546,1706,1697,1530,1766,1940,1434,1407,1692,1878,1699,1895,2110,2167,2022,2403,2167,2424,2878,2370,2146,2361,2199,2329,2591,2327,1838,1638,1785,1603,1393,1916,1842,1555,1715,1915,2062,2375,2836,2642,2426,2249,2424,4265,3677,1753,1513,1566,1359,1468,1533,1542,1587,1531,1784,1988,2136,2348,2270,1888,1982,2176,2000,1739,1658,1586,1521,1549,1713,2338,2541,2801,3016,2423,1750,1792,1866,1811,1678,1867,1847,2123,2192,2503,2444,2633,2709,2092,1606,1624,1737,1764,1921,2085,1873,1917,2094,1941,1631,1887,1887,1777,2222,2127,2559,2524,2350,2236,2483,2640,2260,2531,3505,3916,3829,3579,3363,3375,3427,3288,2546,2197,2728,2497,2567,2774,2591,2506,2484,2401,2130,1890,1942,2294,3074,3475,3360,2750,2188,1992,1924,1957,1762,2003,2167,2068,1852,1835,2084,2322,2088,2072,2046,2047,2398,2320,1756,1451,1099,1290,1694,2427,3283,3161,2670,2595,2878,2785,2907,3152,3560,3403,2719,2938,2813,2667,2731,2192,2358,2355,1993,2172,2382,2370,2395,2249,1760,1218,1990,2511,2006,1654,1976,2031,1833,2277,2168,2269,2720,2740,2462,1824,1721,2021,2889,3624,3861,3161,2430,2260,2423,2843,3266,2984,2611,2394,2522,2708,2758,3727,3782,2938,2632,2323,2270,2280,2879,3441,3458,3240,3042,2735,2414,2946,2150,2320,2565,2620,2916,2717,2214,2316,2635,2990,3351,3437,3588,3248,2201,2159,2082,1841,2144,2532,2719,2654,2220,1763,1763,1825,1973,1831,2008,1990,2026,2283,2709,2810,2576,2359,2337,2018,1869,1886,2438,1688,2111,2486,2646,2475,2241],[2632,2646,2519,2602,2634,2641,2712,2483,2519,2575,2448,2880,2662,3045,2752,2475,2285,2511,2580,1988,2557,4050,3974,3499,3350,3430,3372,3252,3483,3538,3654,3715,4140,4300,4101,3739,3514,3106,2814,3561,3568,3882,3834,3436,3278,3172,3630,4152,4397,4445,4372,4472,4298,4429,4401,3928,3775,3235,2873,2751,1996,2264,2535,2203,2239,2407,2103,2193,2112,2423,2833,3397,3935,3815,3808,3687,3260,3068,2969,2953,3285,3707,3287,2789,2163,3265,4020,4073,4316,3917,3394,3528,3750,3650,3167,3073,2976,2358,1758,1991,2745,2842,1684,1224,1350,1766,1856,1677,1868,1656,1662,1561,1472,1603,1684,1851,1703,1789,1709,1868,2001,1608,1482,2228,2742,2150,2260,2043,1756,2323,2432,1945,1835,1990,1845,1818,1905,2051,2094,1863,1869,1683,1415,1433,1540,1586,2092,2563,2352,1996,2061,2261,2254,1764,2024,2082,1977,2045,1814,1447,1239,1230,1368,2080,2459,2177,2072,1936,1472,2130,3014,3522,2584,1787,1841,2415,2205,1877,2035,2189,1958,1404,1422,1582,2230,2135,2016,2119,2276,2149,2018,2055,1879,1814,1922,2072,1717,1533,1687,1981,1896,1804,2126,1935,2069,2228,2136,2072,2164,2420,2392,1844,1865,1959,1840,2622,2878,2142,2142,2066,1853,2007,1590,1453,1517,2051,2155,1615,1303,1563,1528,1563,1930,1710,1438,1610,1481,1675,2049,1714,1592,1682,1608,1318,1211,1441,1674,2080,1902,2009,2534,2281,1926,1699,1317,1374,1534,1511,1434,1615,1637,2107,2214,1796,1688,1703,1743,1894,1895,2012,1806,2582,3407,3124,2272,2170,2194,2275,2677,3294,3068,2641,2586,2765,2713,2322,3293,3604,3485,2817,2920,3492,3135,2402,2059,2054,1902,1997,1526,1605,1953,2242,1827,2327,2397,2095,2072,2067,1837,1488,1548,1704,1892,2168,2252,2454,2210,2319,2657,2270,1814,2081,2125,2300,2333,2326,2088,2068,2251,1831,1642,1406,1571,1868,2270,2066,1637,1675,1484,1536,1750,1708,1772,2200,2459,2461,2104,1863,1703,1698,1683,1765,2018,1879,1709,1979,1692,2158,2175,1518,1574,1910,1736,1790,1772,1556,1666,1450,1425,1327,1460,2496,3278,2886,2424,2561,1955,1707,2043,2311,1938,1618,1375,1413,1544,1413,1391,1418,1491,1810,1916,1772,1853,1815,1842,1978,1693,2164,2201,2857,2349,1968,2077,1859,1628,1707,2454,2596,2398,2128,1666,1860,2322,2812,2940,2127,1573,1712,1471,1359,1466,1589,1931,1509,1707,1648,1509,1921,2137,2447,2338,1791,1475,1518,1849,1873,2082,1552,1650,1693,1511,1625,1980,2533,2286,1824,1666,1731,1754,1763,1682,1445,1471,1750,1787,1645,1485,1643,1882,1881,1808,2148,2339,1569,1516,1914,2108,1824,1792,1967,1793,1776,1972,2235,2182,2414,2655,2392,2045,1951,2167,2212,1678,1684,2701,2461,1720,1708,1631,1502,1693,2176,2311,1825,2030,1819,1779,1753,1788,1604,1559,1483,1638,1839,1848,1675,1979,1750,1371,1331,2101,1803,2073,2686,2704,2047,1652,1418,1313,1653,1804,1507,1578,1615,1441,1497,2005,1799,1366,1330,1454,1604,1823,1846,1584,1516,1633,1734,1537,1515,1704,1902,1705,1460,1409,1583,2079,2049,1727,1487,1269,1451,1465,1345,1419,1685,1504,1485,1382,1828,2626,2603,2675,2736,2482,2017,1724,2441,2317,1924,1638,1459,1654,2127,2613,2332,1970,1992,2232,1983,1660,2151,2098,1771,1736,1549,1403,1583,1713,1783,1706,1665,1626,1499,1454,1451,1782,1921,1774,1498,1309,1316,1300,1414,1577,1858,2125,2910,3278,3144,3415,3398,3055,2146,1953,3035,3799,3638,3742,3806,3737,3953,3743,3653,3621,3491,3349,3290,3575,3803,3584,3317,3487,3332,3855,4001,3915,2786,2579,3220,3696,3903,3119,1917,2053,3173,4276,3940,2731,1103,1141,2171,1745,1679,1901,1643,2155,2942,2920,2469,1807,1684,1902,2275,2018,1913,1895,1861,1579,1477,1531,1443,1371,1399,1473,1609,1549,1513,1497,1455,1620,2039,2281,2099,1840,1855,1685,1675,1726,1732,1635,2009,2162,2093,1999,1840,1911,1743,1642,1625,1660,1523,1232,1557,1804,1505,1508,1454,1362,1414,1131,1612,1888,1618,1790,2070,1703,1752,1570,1625,1715,1566,1382,1641,1610,1398,1683,1970,2100,2275,2310,1902,1537,1244,1449,1744,1783,2232,2184,1937,1777,1559,1664,2106,2135,1751,1788,2461,1676,1566,1448,1648,2072,1887,1839,1972,2248,1998,1580,1911,1677,1491,1114,1182,1843,1589,1606,1820,1655,1683,1833,1737,1816,1887,1748,1372,1405,1961,2248,2037,1910,1957,1996,1824,2194,2642,2303,1681,1699,2101,1909,1746,1635,1934,2190,2434,2328,1947,2337,2723,2378,1754,1522,1484,1500,1413,1430,1503,1543,1726,1881,1489,1262,1537,1877,1760,1581,1364,1290,1635,1938,1980,1797,1627,1560,2338,2790,1785,1591,1827,1665,1750,1978,2641,2592,2232,2288,1981,1778,1741,1718,1673,1338,1272,1721,2120,2026,1677,1458,1964,2494,2652,2035,1898,1676,1700,2294,2502,2531,2255,1987,2623,2281,1963,2076,1913,1911,2316,2373,2170,2266,2481,2222,1596,1767,1852,1937,1599,1506,1464,1483,1582,1448,1117,1222,1838,2567,2337,1907,2191,2095,1841,1488,1315,1365,1282,1608,2035,1922,1631,1439,1524,1473,1743,1771,1678,1947,1880,1526,1346,1577,1749,1749,1814,1540,1663,1561,1303,1183,1684,2093,1793,1905,1762,1576,1943,2066,1687,1323,1333,1351,1236,1365,1363,1634,1924,1918,1989,2342,2584,2972,2959,2508,2309,2275,2313,2070,2610,2490,2192,2078,1808,1923,2181,1860,1603,1739,1833,2349,2591,2431,2587,2585,2069,2024,2230,1953,1985,2010,1578,1428,1413,1611,1803,1636,1417,1404,1391,1586,2065,2203,2067,2068,1635,1456,2228,2322,1903,1964,2050,1484,1426,2040,2809,2446,1980,1999,2012,1984,1899,1952,1775,1645,1775,1614,1576,1814,2053,2175,2100,1960,2056,2338,2394,2517,2806,2817,3351,3881,3688,3447,3616,3724,3066,2096,1863,1906,2139,2376,2314,1860,1704,1619,1633,1419,1291,1830,1857,1475,1619,2197,3050,3569,2843,1529,1375,1529,1715,1643,2330,2416,2747,3127,2929,2651,2150,2001,2237,2708,3045,2962,2447,2390,1841,1695,1528,1478,1992,2393,2078,2092,1997,1529,2020,2100,1675,1620,1187,1192,1509,1604,1749,2057,2106,1882,1826,1922,1866,2540,2386,1896,1456,1354,1858,1986,1802,1777,1688,1844,1968,2089,2090,2033,2443,2209,2254,2206,2009,1791,2041,2347,2491,2453,2566,2322,1922,1747,1969,1925,1899,1787,2167,2355,2468,2261,2179,2413,2244,2015,1674,1992,2217,1745,2107,2585,2280,1792,1459,1746,1761,1272,1336,1447,1770,2125,2445,2591,2351,1820,1785,1759,1539,1823,2628,2658,1482,1560,2352,2641,1992,2489,2417,1554,1459,1764,1930,1948,1781,1588,1196,1979,2354,1755,2608,2410,2689,2301,1781,2105,1769,1851,1582,1219,1943,2739,3197,3392,3576,4042,4160,4175,3559,2731,1973,1638,1871,1970,1955,2145,2079,2170,2267,2973,3707,2957,1999,1721,2113,2612,2408,2163,1773,1725,2156,2144,1555,1708,1809,2072,2328,2261,2254,1975,1746,1756,1904,2035,2529,1558,1960,2239,1995,1769,1708,1626,1532,1579,1698,1587,1516,1825,1482,1521,1869,2007,1908,1821,1876,2098,2079,1895,1908,1916,1899,2630,2570,2295,2729,3288,2479,2379,3265,3537,3162,2960,2926,2833,2040,1879,2062,2911,2911,2514,2070,1831,1806,1958,2050,1790,1572,1598,1387,1615,2298,2014,2446,2980,3183,3041,2786,2944,2817,2493,2412,2632,2762,2088,2532,2518,2271,2274,1687,1675,1936,1709,1792,1870,1588,1703,1815,1694,1589,1624,1711,1524,1505,1626,1659,1748,1829,1578,1492,1994,2193,1677,1738,1405,1298,1595,1577,1564,1402,1462,1557,1371,1412,1758,1693,1625,2551,2946,2121,1506,1277,1268,1255,1173,1415,1467,1488,1681,1458,1412,1744,1706,1710,1705,1653,1406,1425,1430,1342,1391,1613,1439,1819,2324,2238,1858,1443,1734,1955,1799,1471,1320,2111,2287,1449,1360,1331,1279,1333,1300,1325,1429,1624,1740,1457,1326,1322,1332,1364,1230,1223,1195,1224,1175,1317,1426,1392,1288,1368,1223,1148,1215,1214,1163,1371,2178,3234,3687,3203,1807,1616,1577,1431,1576,1801,1449,1462,1702,1846,2035,1843,1547,1618,1549,1434,1556,1612,1608,1571,1659,1954,1830,1848,1457,1607,1941,2628,2001,2186,1873,1693,2303,2622,2392,3052,3293,2574,2170,2427,2198,2318,2367,1919,1786,1757,2005,1713,1716,2036,1800,1791,1810,1701,1773,1808,1977,1929,1935,1838,2384,3201,2337,1590,1677,1675,1548,1551,1513,1465,1254,1471,1677,1651,1629,2089,2275,1978,1853,2041,1958,1743,1722,1688,1914,2304,2438,2868,2961,2944,2934,1915,1298,1535,1845,2413,2009,1981,2276,2191,1963,1997,1898,2281,2622,2394,1722,1638,1678,1724,1867,1808,1751,1877,1620,1260,1626,1936,1830,2157,2160,1984,2094,2447,2049,1843,2317,2456,2063,2524,3395,3597,3618,3571,3494,3239,3143,3270,2668,2397,2895,2697,2802,3016,2974,2610,2023,1796,1735,1696,1735,2317,3410,3908,3598,2325,2058,2329,2646,2677,1788,1950,2764,2722,2140,2106,1894,1619,1528,1846,2024,1901,1761,1753,1632,1289,1232,1708,2178,3334,4020,3761,3310,2875,2751,2902,2980,2971,3386,3648,3492,3555,3377,3294,3019,2570,2695,2601,2285,2567,2803,2933,2845,2931,2575,1525,1995,2897,2544,1965,1907,1958,1902,1939,1681,1901,2652,2939,2435,1729,1754,1951,2627,3107,3414,3008,1772,1721,2304,2585,2641,2522,1953,2086,2370,2336,2179,3018,3736,3019,2330,2449,2658,2908,2866,3002,3229,2699,2373,2346,2211,2243,2009,2192,2367,2669,3071,2832,2487,2597,2627,2994,3217,3665,3881,3276,2501,2221,1910,1788,2165,2612,2491,2320,2119,1894,2160,2245,1794,1720,2057,1953,1753,2052,2460,2441,2195,2105,1923,1533,1605,1829,2679,2850,2923,2750,2223,2190,2566],[2630,2553,2432,2568,2590,2646,2745,2617,2591,2280,2236,3086,3034,3223,3044,2969,2918,2925,2933,2612,3226,3675,3393,3261,3215,3350,3275,3383,3529,3468,3588,4014,4252,4284,4020,3747,3530,2489,2640,3355,3664,3831,3730,3378,3109,3049,3535,4059,4410,4417,4397,4388,3885,3926,3898,3824,3759,2749,2603,2745,2333,2433,2440,2393,2131,2409,2242,1953,2496,2623,2370,2883,3842,4184,3894,3417,3194,3147,2929,2721,2517,3751,3607,3083,2091,2610,3821,3981,4063,3876,3660,3813,3812,3649,3819,3585,3386,2931,2031,1897,2706,2403,1437,1320,1398,1549,1703,1548,1621,1648,2025,1719,1509,1577,1645,1656,2062,2215,1900,2018,1920,1511,1710,2581,2541,2103,1783,1927,2305,2711,2608,2247,2035,1951,1987,2015,2103,1934,1982,1999,1948,1675,1525,1475,1613,1707,2072,2587,2286,1842,1904,2111,2109,1807,2413,2374,1965,1670,1623,1645,1665,1721,1732,2137,2279,2614,2103,1955,2378,2996,3589,3610,2482,1575,1907,2178,1761,1691,1793,1982,1836,1578,1488,1675,1998,2142,1902,1879,2425,2836,3062,2865,1959,1564,1776,2580,2008,2085,2278,2404,2054,2238,2642,2451,2219,2417,2604,2415,2146,2231,2480,2460,2401,2507,2812,2565,1906,1687,1791,1627,1548,1659,1811,1655,2146,2297,2060,1656,1644,1739,1609,1619,1661,1499,1548,1753,1510,1726,1902,1808,1851,1609,1512,1569,1521,1840,1972,1675,1576,1633,1730,1981,1701,1469,1696,2155,1926,1715,1561,1587,1749,1903,1947,1870,1860,2431,2142,2027,1985,1924,1910,2619,2901,2660,2924,3165,2706,2180,2391,3226,3341,2981,2574,3332,3116,2949,3494,3406,2990,2684,2840,3052,2181,1587,1579,2252,2041,1622,1625,1808,2436,2149,1477,1872,2558,2656,2183,1775,1625,1431,1328,1663,2176,1770,2137,2085,1902,2295,2476,2259,1997,1976,1733,1686,2071,2190,2304,2151,1905,1804,1592,1387,1498,1938,2648,1853,1819,1750,1660,1631,1626,1402,1470,1777,2212,2167,2072,1835,1779,1859,1961,1893,1926,1958,2345,2729,2123,2003,1960,1720,1597,1431,1468,1578,1718,1621,1617,1451,1377,1225,1987,2910,3142,2597,2794,3270,2312,1788,1573,1832,1701,1397,1452,1637,1599,1629,1685,1791,2022,1966,1591,1836,1859,1852,1930,1997,1975,2519,2851,2588,1990,2326,1968,1801,1796,1765,2030,2019,2107,1914,1641,1639,1750,1849,1919,1513,1329,1455,1347,1598,1540,1734,1857,1486,1565,1505,1562,1609,1934,2280,1957,1648,1438,1657,2405,1773,1755,1698,1584,1671,1770,1648,1476,1577,1858,1837,1606,1648,1836,1814,1526,1400,1514,1570,1782,1903,1722,1672,1893,1948,1743,1918,2450,2042,1925,1858,2081,1666,1661,1881,1604,1322,1394,1571,1956,2536,2791,2494,2200,2217,2403,2156,1903,1555,1677,1662,1580,1521,1381,1377,1743,2406,2395,2263,2442,2055,1665,1581,1562,1901,1854,1327,1685,1724,1794,1802,2092,1775,1427,1499,2089,1860,1954,2080,1803,1693,1487,1311,1332,1498,2051,1831,2092,2193,1677,1425,1506,1393,1340,1337,1434,1877,2257,2049,1518,1471,1709,1914,1598,1573,1688,1705,1460,1443,1924,2050,2559,1861,1738,1592,1756,1544,1439,1426,1570,1842,1938,1919,1786,2140,2802,3233,2884,2415,2493,2135,1744,1904,1858,1784,1644,1511,1528,2023,2641,2382,2491,2754,2776,2563,1984,1856,1628,1665,1884,1742,1772,2370,2159,1788,1551,1674,1585,1593,1815,1563,1657,1854,1665,1465,1491,1663,1485,1728,2362,2698,2640,3012,3340,3282,3312,3673,3585,2885,2144,2852,3755,3587,3676,3796,3799,3565,3176,3330,3467,3491,3548,3830,3936,4080,4272,3800,3285,3195,3566,3916,3692,3064,3084,3605,3572,3419,3119,2436,2356,3108,4018,3320,2806,1312,934,1962,2265,2621,2940,2647,2726,3153,3160,2641,2250,1926,1776,2073,2062,1890,2210,2544,1902,1745,2007,1620,1438,1583,1578,1755,1612,1464,1394,1359,1731,2134,2645,2725,2410,2208,1820,1780,1676,1542,1461,1913,1930,1982,1866,1801,1699,1659,1594,1503,1541,1328,1352,1665,1743,1487,1428,1383,1361,1410,1522,1708,1791,1711,1955,2237,1921,1846,1618,1753,1897,1549,1352,1640,1543,1371,1476,1631,1955,2121,1862,1605,1598,1527,1506,1863,1780,1655,1650,1691,1720,1584,1520,1653,1903,1448,1843,2283,1811,1727,1700,1934,1849,1514,1658,2147,2173,1937,1487,1498,1391,1259,1023,1493,2079,1905,1636,1687,1576,1576,1647,1680,1687,1880,1505,1396,1460,1651,1641,1804,1775,1864,1725,1478,1888,2304,2236,1983,1891,2346,1926,1645,1655,1913,2042,2350,2387,1951,2458,2304,1775,1510,1606,1486,1344,1344,1402,1522,1593,1845,1760,1303,1282,1546,1750,1331,1275,1405,1612,1911,1976,1967,1857,1671,1531,1786,1890,1371,1765,1935,1743,1671,2035,2145,2244,2186,2149,1945,1614,1554,1745,1513,1448,1518,1726,1956,1600,1628,2003,2047,2463,2476,2198,2042,1692,1833,1888,2364,2546,1873,1687,2405,2173,1984,2075,2204,2428,2362,1909,1723,1640,1843,1889,1619,1930,2632,2322,1578,1382,1440,1594,1996,1918,1555,1399,1782,2728,2486,1702,1635,1731,1531,1288,1465,1536,1500,1731,1537,1625,1581,1575,1894,2010,1781,1521,1554,1976,2000,1689,1502,1434,1463,1575,2138,1676,1581,1454,1198,1360,1767,1869,1619,1468,1392,1477,1667,1594,1552,1472,1466,1510,1159,1247,1475,1938,2017,2054,2596,2633,2682,2874,3226,3394,3190,2016,1372,1496,2035,1992,1858,2050,2243,2586,2438,1757,1371,1461,1412,1657,2431,2666,2388,1947,1802,1943,1972,2032,2423,2431,1758,1643,1680,1820,1873,1445,1624,1838,1575,1483,1968,2280,1902,1902,1577,1588,2137,1858,1559,1712,1665,1628,1729,2128,2036,1567,1842,2096,2211,2328,1961,1934,1841,1784,1962,1718,1575,1615,1703,1960,2227,2476,2792,2767,2501,2438,3096,3803,3751,3570,3636,3631,3418,3437,2940,2149,2068,1947,1931,1809,2143,1696,1878,2070,1668,1374,1714,2258,1957,1639,1774,1767,2447,4156,3010,1756,1597,1641,1851,1992,2333,2385,2293,2439,2203,2028,2029,1919,1892,1868,2173,2542,1776,1855,2070,1809,1677,1541,1691,1945,2194,2319,2149,1714,2125,1992,1692,1821,1475,1427,1706,1435,1356,1646,2061,2109,2490,2778,2154,2712,2810,2240,1699,2026,2536,2028,1982,1708,1642,1700,1950,1997,1832,1596,1671,2001,2139,2083,2003,1937,1960,2315,2540,2183,2252,2530,2070,1710,1928,2083,1868,1768,1918,2275,2881,2497,2104,2321,1942,1835,1618,1852,2221,1905,1999,2467,2363,1830,1495,1473,1736,1603,1791,1998,2007,2002,2200,2303,2074,1744,1637,1692,1635,1521,2388,1995,1151,1609,2641,2477,1619,2350,2336,1730,1645,1725,2055,2417,2495,1574,1447,2393,2265,1749,2770,2426,2541,2166,1799,1825,1476,1717,1371,1276,1980,2908,3507,3564,3739,4079,4256,4144,3475,2774,2076,1611,1441,1609,1882,1968,2365,2241,2560,3306,3541,2897,2082,1946,2309,2390,2104,1936,1612,1515,1886,2025,1795,1788,2083,2134,1776,1678,1667,1916,2502,2592,2786,2822,2701,1979,2529,2746,2178,1852,1726,1493,1655,1862,1952,2031,1782,1851,1920,2084,2059,1929,1838,1832,1899,1966,1924,1762,1753,1916,1824,2318,3034,3521,3593,3017,2213,2629,3720,3586,3018,2899,2850,2948,2190,1919,1887,2297,2542,2254,1996,1912,1862,1641,1437,1331,1488,1719,1654,2471,2894,2224,2587,3017,2562,1904,1972,2543,3081,2710,2713,2669,2666,2032,2089,1977,1703,1770,1511,1594,1996,2336,2789,2364,1837,1670,1931,1992,1653,1793,1757,1327,1288,1472,1802,1930,1592,1387,1541,1637,2287,2386,1890,1482,1447,1566,1609,1706,1541,1537,1490,1421,1644,1717,1556,1552,2709,3012,1998,1404,1270,1361,1524,1532,1531,1453,1605,1734,1411,1352,1474,1732,1664,1632,1563,1436,1483,1471,1365,1577,2136,1715,2245,2430,1747,1517,1416,1572,1764,1587,1379,1384,1477,1406,1251,1410,1327,1292,1346,1228,1375,1427,1383,1294,1218,1294,1305,1319,1342,1363,1263,1164,1196,1250,1343,1421,1374,1284,1284,1207,1177,1230,1334,1377,1691,2946,3660,3284,1969,1385,1437,1380,1323,1774,1891,1360,1329,1404,1605,2179,1917,1488,1444,1600,1620,1592,1536,1576,1537,1844,2216,1930,1613,1643,1539,1756,1714,1578,1712,1672,2094,2816,2894,2675,3121,3178,2965,2159,2082,1851,2098,1820,1549,1627,1875,1986,1883,1923,1575,1551,1626,1832,1727,1324,1308,1709,1696,1547,1675,1926,1684,1381,1476,1626,1424,1431,1421,1556,1465,1323,1353,1540,1838,1937,1818,1576,1585,1565,1908,1956,1690,1702,1614,1630,2209,2514,2752,2921,2796,2753,2140,1699,1778,1864,1899,1629,1845,2409,2114,1875,1901,1941,2240,2209,2158,1833,1756,2112,2387,2140,1750,1651,1652,1609,1638,1909,2029,1868,2123,2030,2232,2375,2243,2260,2346,2513,2532,2134,2381,2820,2979,3228,3229,3157,2769,2997,3320,3407,3033,2720,2865,3438,3673,3204,2791,2264,1863,1883,2001,2276,3185,3985,4436,3768,2334,2003,1969,2472,3025,2505,2432,3328,3211,2360,1797,1679,1355,1556,1869,1852,1811,1570,1613,1756,1506,1598,1861,2654,3422,3779,3786,3405,2964,2796,2644,2575,2741,3022,3122,3485,3519,3618,3737,2834,2344,2679,2407,2383,2665,3022,3295,2618,2522,2936,2427,1985,2587,2835,2176,1854,1843,1754,1723,1538,1585,1864,2613,2304,1903,1896,1759,2310,2955,3378,2633,1392,1718,2062,2153,2433,2995,2442,2367,2429,2259,2180,2612,2847,2357,2109,2624,2875,3415,3060,2742,3496,3348,2647,2277,2070,2041,2116,2099,2573,3000,3153,2333,2318,1982,2126,2876,3318,3552,3696,3330,2668,2145,1667,1890,2379,2741,2304,2099,2003,2272,2447,2348,1865,1650,1833,1954,1772,1729,2175,2104,1810,1549,1670,1838,2113,1939,2282,3121,2951,2086,1952,2288,2902],[2453,2474,2511,2551,2477,2490,2780,2700,2561,2562,2838,3217,3320,3464,3473,3223,3217,3334,3046,2603,3470,3382,2977,3106,3422,3508,3375,3384,3395,3473,3881,4309,4299,4328,4036,3883,3663,3072,2492,3115,3775,3781,3775,3730,3532,3352,3892,4272,4296,4104,3868,3898,3637,3708,3892,3753,3651,3073,2554,2708,2696,2553,1752,1744,1916,2039,2264,2279,2524,2304,2236,2702,3366,3698,3517,3153,2944,3019,2851,3289,3059,3825,3776,3432,2574,2934,3946,3841,3969,4174,4094,3782,3818,3746,3798,3366,3522,3073,2055,1772,2442,2773,2497,2154,2032,1486,1550,1428,1478,1485,2070,2076,1581,1369,1258,1489,2068,2024,2088,2403,2658,2453,2562,2830,2592,2764,2586,2817,3161,2728,2400,2305,1742,1591,2320,2217,2024,1829,1743,1736,1930,1815,1593,1857,2336,2127,2001,2184,2802,3160,2671,2192,1952,1594,1720,1888,1905,2070,2182,2024,2236,2200,1356,1935,2240,2496,1881,1614,2321,2830,3046,3113,2547,1685,2047,1979,1445,1506,1464,1961,2084,1722,1509,1287,1348,1627,1504,1542,2128,2806,2996,2986,2317,1445,1432,1921,2041,2093,1932,2004,2186,2359,2315,2154,2226,2546,2711,2821,2402,2270,2388,2732,2994,3476,3507,2257,1271,1489,1382,1561,1641,1812,1712,1468,1580,1764,1819,1749,1788,1698,1804,1921,1850,1947,1670,1549,1449,1600,1533,1692,1781,1470,1608,1835,1979,2176,1960,1713,1647,1459,1280,1421,1787,2061,2633,3118,3034,2518,1840,1751,1786,1658,1539,1902,2612,2855,2009,1969,2225,1784,1428,1487,1674,1924,2554,3493,3382,2760,2291,2530,3395,3597,3234,3136,3321,3941,3908,3204,2689,2705,2485,2215,1606,1722,1722,1919,1760,1449,1565,2032,2304,1865,1535,1763,2303,2374,2206,1758,1706,1557,1446,1577,1844,1714,2209,2579,2340,2151,2001,1837,1920,1816,1588,1528,1488,1994,2122,1823,1795,1766,1640,1551,1444,1546,1851,1844,2070,1939,1748,1602,1466,1412,1450,1575,1992,2176,2217,1861,1893,1695,1620,1821,1924,2491,2858,2461,2254,1866,1733,1675,1638,1340,1394,1410,1434,1547,1549,1571,1657,1532,1714,2544,3010,2542,3018,3351,2526,1823,1588,1776,1683,1597,1644,1712,1686,1698,1762,2265,2408,2141,1891,2725,1920,1657,1833,1903,1922,2148,2643,2343,2458,2854,2045,2055,2205,2014,1673,1507,1755,1815,1771,1554,1482,1575,1486,1335,1340,1443,1382,1724,1814,2018,2127,1641,1395,1443,1414,1380,1864,2220,1769,1432,1501,1595,2049,2100,2010,1842,1660,1831,1816,1490,1362,1471,1732,1678,1410,1464,1753,1731,1686,1670,1609,1526,1772,1900,1742,1827,1990,2021,1766,1845,2127,2201,2038,1787,1686,1613,1773,1694,1460,1431,1427,1494,1635,2106,2303,2053,1643,1857,2087,2050,1744,1460,1506,1557,1481,1454,1546,1455,1841,2393,3261,3194,2834,2503,2061,1748,1728,1966,1667,1569,1903,1688,1531,1853,1686,1608,1715,1619,1822,1859,1603,1695,1842,1620,1322,1521,1833,1827,2057,2098,2262,2204,1752,1542,1575,1541,1523,1645,1620,2060,2237,1919,1454,1390,1533,1493,1512,1572,1453,1569,1281,1452,1917,1492,1616,1313,1328,1520,1892,1776,1494,1523,1932,2317,2631,2252,2348,2942,3072,3047,2512,2365,2597,2507,2204,1796,1739,2050,2238,1998,1990,2631,2258,1840,2119,2963,3549,3453,2536,1736,1733,1696,1706,1793,2608,3487,2636,1896,1628,1596,1817,2018,1947,1603,1694,2004,1964,1723,1629,1536,1458,1786,2500,2905,2735,2482,2407,2474,3117,3533,3517,3306,2292,2236,2505,2634,3408,3543,3337,3408,3283,3166,3596,3871,4039,3937,3505,3660,4040,3856,3086,2964,3533,3564,3272,3287,3078,2862,2595,2952,2864,2751,2552,2977,3701,3206,3133,1791,894,1803,2945,3636,3796,3694,3706,3806,3862,2529,2457,2121,1845,1909,1973,1853,2306,2831,2311,2235,2098,1498,1419,1707,1789,1770,1729,1704,1505,1341,1494,1540,1749,2192,2230,1975,1764,1675,1715,1570,1596,1952,1993,1886,1971,1896,1562,1696,1595,1600,1632,1560,1482,1571,1604,1523,1394,1461,1432,1388,1502,1535,1669,1958,2253,2207,2196,1830,1548,1592,1798,1467,1294,1408,1383,1457,1435,1376,1583,1971,1557,1525,1639,1618,1659,1608,1496,1587,1704,1642,1469,1392,1432,1481,1510,1311,2336,2435,1836,1599,1670,1815,1673,1655,1648,2092,2242,2350,1875,1426,1501,1398,1422,1499,1802,1783,1302,1383,1471,1599,1454,1582,1607,1849,1621,1534,1546,1414,1449,1490,1477,1754,1628,1586,1739,1835,1729,1577,1805,2081,1708,1601,1730,1718,1632,1567,1517,1515,1889,2107,1692,1770,1956,1697,1516,1461,1462,1643,1515,1424,1275,1262,1344,1406,2043,1859,1400,1356,1404,1632,1922,2009,1954,1673,1478,1411,1613,1539,1753,2356,2383,2272,2163,1847,2002,2177,2049,1703,1610,1670,1938,1665,1916,1534,1461,1635,1545,1459,1547,1821,2412,2582,2122,1717,2189,2594,2477,2690,2490,2025,2781,2794,2132,2174,2405,2364,1925,1961,1689,1898,1895,2361,2475,2114,2238,2720,2351,1675,1558,1644,1879,2283,2179,2111,1405,1424,1892,1653,1907,2227,1861,1651,1349,1545,1849,1824,1640,1376,1660,1577,1951,2110,2465,2144,1824,2038,2168,2142,1951,1732,1416,1471,1489,1748,1615,1520,1406,1327,1366,1460,1458,1517,1524,1315,1266,1365,1365,1739,1646,1343,1368,1293,1433,1371,1311,1345,2096,3467,3440,2826,2381,2541,2920,3171,2437,1942,1644,1942,2339,2134,2063,2250,2058,1745,1683,1396,1508,1446,1344,1880,2275,2050,1662,1510,1562,1824,1874,2416,2593,2032,1853,2078,2048,1937,1758,2155,2287,1691,1509,1847,2110,1794,1958,2018,2177,1946,1605,1593,1848,2271,2270,1979,2027,1982,1785,2303,2636,2046,2064,2074,1932,1764,1744,1837,1798,1778,1636,1571,2042,2619,2992,2917,1936,1663,2158,3345,3892,3459,3189,3544,3638,2976,2996,3168,2597,2009,1628,1578,1960,2479,2064,2347,2239,1624,1439,1401,1537,1598,1650,1675,1735,1979,3212,2707,1958,1668,1544,1688,1643,1926,1997,1772,1952,1912,2353,2408,2075,1824,1709,2385,2844,1952,1676,2095,2004,1754,1748,1833,1938,2319,2677,2514,2129,2643,2359,1641,1777,1968,1696,1697,1385,1407,1550,1598,1737,2072,2133,2314,2663,2365,2121,2235,2554,2509,1899,1513,1434,1531,1878,2169,2110,1824,1493,1542,1813,1923,1952,2074,2453,2069,1936,2115,1378,1199,1990,2113,2003,2101,2002,1868,2246,2189,2670,2992,1851,1608,2157,2096,2449,2117,1948,2249,1901,1896,2104,1837,1488,1336,1796,2465,2287,2195,2011,1853,1812,1886,1852,1866,2004,1921,1674,1622,1720,2854,2293,1573,1625,2718,2310,1815,2526,2235,1663,1841,2186,2020,2526,3098,2114,2411,3012,2311,1930,2464,2567,2598,1963,1883,1725,1458,1824,1560,1406,2300,3330,3721,3648,3862,4184,4173,3919,3388,3071,2340,1778,1377,1900,2348,2176,2265,2000,2330,2954,3117,2724,2222,1983,1909,1737,1826,1712,1555,1654,1756,1865,1878,1948,2313,2289,1917,1908,1698,1944,2520,2059,2125,2284,2369,2437,2410,2295,1811,1588,1459,1477,1992,2205,1692,1543,1623,2037,2406,2375,2077,1836,1806,1786,1691,1853,1790,1784,1643,1821,1956,2360,3328,3516,2950,2457,2555,3285,4012,3730,2960,2732,2997,3111,2328,1871,1744,2030,2330,2162,1913,1376,1444,1335,1311,1598,1705,1629,1649,2656,3190,2637,2514,2876,2402,1790,1612,2372,2699,2222,2486,2764,2400,1911,2042,2096,2105,2165,1840,1671,2101,2786,2945,2275,1874,1695,1784,1805,1610,1627,1524,1423,1378,1293,1876,1704,1305,1532,1500,1543,1786,1578,1439,1432,1450,1700,1814,1571,1627,1603,1555,1623,1880,1520,1366,1694,2409,2341,1571,1372,1323,1425,1596,1565,1520,1642,1670,1793,1450,1260,1316,1609,1465,1469,1574,1527,1521,1405,1518,1826,1903,1566,1805,1974,1628,1453,1706,2466,2667,1842,1559,1617,1518,1276,1275,1587,1548,1366,1333,1372,1331,1199,1208,1232,1277,1303,1275,1207,1531,3069,2251,1329,1245,1285,1301,1384,1433,1329,1335,1290,1499,1450,1562,1788,2536,3493,3485,2507,1519,1194,1323,1461,1488,1572,1415,1290,1379,1381,1594,1894,1649,1435,1659,1778,1558,1438,1488,1579,1545,1638,1753,1637,1668,1898,1637,1544,1470,1553,1667,1801,2376,2994,2579,2082,2521,2669,2018,1781,1868,1724,1606,1565,1599,1687,1718,1731,1899,1850,1525,1570,1417,1937,1844,1456,1419,1720,1894,1747,1565,1721,1497,1308,1362,1459,1258,1252,1259,1409,1552,1588,1654,1739,2365,2479,1938,1625,1898,1645,1873,1905,1585,1538,1491,1443,2039,2736,2874,2800,2853,3189,2957,2261,1917,1628,1636,1831,1938,1865,1709,1634,1762,2205,2180,2239,2023,2042,2103,2124,2417,2321,2008,1920,1593,1727,2039,1675,1792,2105,2298,2336,2380,2159,2470,2987,2905,2819,2552,2032,2420,2524,2511,2647,2492,2563,2644,2868,3467,3736,3436,3539,3696,3780,3604,2968,2763,2211,1933,2422,2521,2809,3439,3811,4180,3507,2078,2557,2441,2712,3400,3609,3431,3623,3552,2886,2308,1997,1732,2028,1799,1673,1576,1456,1676,2052,1761,1646,2089,2735,3306,3632,3379,2652,2573,2766,2901,2247,2207,2651,2888,2833,3029,3562,3651,3027,2574,2304,2121,2371,2984,3774,3292,2742,2861,3021,2576,2209,2588,2563,1766,1824,1854,1699,1792,1520,1307,1431,1964,1833,1612,1521,1639,2248,2808,3307,2775,2026,1916,2205,2332,2648,3416,2961,2568,2708,2643,2386,2266,2245,2026,1787,2495,2688,3277,3410,2655,3039,3316,2521,2159,2271,2636,2388,1968,2667,3109,3041,2355,2193,1813,1975,2523,2563,2700,3443,3379,2843,2473,2109,2178,2803,2729,2163,2100,2154,2420,2326,1994,1705,1569,1750,2091,1870,1890,2177,1920,1546,1710,2155,2112,2070,1864,2040,2931,3062,2395,2415,2783,3338],[2448,2675,2766,2710,2640,2453,2588,2796,2768,2908,3110,3501,3606,3522,3251,2645,3212,3592,3266,2933,3033,2334,2190,2665,3150,3177,3240,3596,3715,3775,4094,4416,4503,4531,4328,4179,3897,3858,3890,3969,3897,3898,3947,4073,4030,3962,4104,4124,4256,4120,3718,3272,3109,3470,3962,3996,3722,3812,3374,3110,3334,2989,2064,1778,1920,1938,2242,2653,2367,1637,1737,2338,3139,3088,2724,2681,2526,2663,2792,3298,3819,3977,3773,3782,3642,3883,3994,3792,3774,3775,3759,3867,3894,3836,3440,3207,3631,3312,2262,2140,2744,3396,3085,2842,2777,2186,1865,1565,1538,1556,2137,2429,1695,1223,1209,1610,2275,2397,2207,2435,3100,2846,2840,2895,2850,3147,3340,3457,3359,2603,2513,2918,2136,1813,2336,2049,1753,1665,1490,1594,1868,1779,1553,2083,2156,1832,1970,1792,2121,2188,2060,2004,1906,1668,1488,1708,2241,2574,2446,2377,2850,2480,1636,1738,2394,2808,2445,1789,2199,3282,3090,2875,3045,1837,1816,2011,1715,1615,1606,1691,1802,1841,1696,1388,1466,1437,1427,1473,1784,2014,2279,2387,2230,1592,1288,1548,1666,1555,1403,1608,2214,2806,2140,2067,1898,2205,2442,2333,2306,2370,2137,2183,2543,2714,2416,1851,1642,1990,1869,1972,1685,1890,1679,1475,1324,1528,1546,1502,1608,1779,2191,2221,1945,2029,1724,1525,1261,1564,1880,2174,2119,1672,1649,1852,2049,2204,2094,1678,1494,1460,1427,1331,1488,2279,2975,3086,3361,3264,2267,1795,1742,1555,1632,2021,2574,1994,1578,1814,1860,1598,1356,1426,1673,1843,2191,3067,3387,3705,3217,2531,2621,3398,3430,2451,2741,3617,3636,2845,2841,3096,2356,2468,2410,2289,1986,1600,1437,1468,1547,1670,1824,1538,1424,1462,1532,1908,1989,1667,1858,1849,1628,1581,1552,1511,2102,2589,2278,2075,2619,2430,1886,1776,1837,1779,2254,3030,2316,1763,1830,1802,1502,1687,1635,1580,1854,2489,2032,1581,1540,1682,1614,1544,1688,1733,2166,2300,2097,1723,1494,1515,1584,1695,1712,2023,2119,2160,2512,1772,1586,1600,1549,1384,1468,1562,1500,1493,1885,2101,2075,2140,1754,1753,1832,2349,2679,2540,1884,1600,1466,1521,1526,1544,1711,1757,1666,1575,1604,2045,2468,2358,2316,1942,1545,1538,1549,1714,1915,2027,2099,2046,2425,2264,2302,2402,2039,1995,1933,1851,1918,2079,2091,1837,1675,1393,1364,1532,1410,1411,1545,1803,2453,2684,2094,1483,1569,1660,1427,1363,1749,1937,1656,1678,1536,1472,1826,1642,1562,1709,1513,1698,1647,1515,1791,2117,1970,1723,1582,1562,2052,2710,2303,1744,1904,1663,1815,1894,1897,2206,2155,1958,1749,1917,1704,1968,2254,1982,1676,1689,1574,1415,1479,1550,1469,1481,1550,1860,2071,1799,1682,1903,1694,1608,1608,1721,1690,1754,1616,1794,1861,1643,2008,2215,2732,2881,2678,2754,2230,1623,1588,1633,1537,1552,1799,1769,1926,1860,1520,1808,1909,1525,1855,1953,1631,1719,1826,1756,1689,1767,1797,1855,2012,2082,1926,1530,1526,1719,2220,1994,2105,2372,2062,1589,1638,1758,1604,1471,1604,1751,1700,1551,1705,1605,1537,1485,1463,1696,1917,1566,1433,1709,2101,1789,1444,1449,1695,2054,2514,1892,2454,3132,2712,2159,1961,2347,2802,3022,2849,2976,2588,2553,2418,2432,2194,2247,1931,2348,2338,2225,2786,3542,3232,2041,1603,1477,1583,1570,2204,2553,1990,1796,1593,1987,2518,2262,1682,2053,2636,2097,2023,1795,1724,1694,1727,1900,2556,3134,2812,2104,2128,2956,3674,3640,3613,3632,3143,2285,2116,2562,3322,3520,3355,3586,3618,3474,3938,3960,3938,3628,3308,3398,3738,4125,3476,2784,3038,3055,2779,2544,1842,1751,1499,1780,1896,1964,2094,2480,3325,3941,3803,2408,917,1417,2654,3261,3572,3886,3762,3709,3334,2410,2520,2896,3077,2746,2069,1924,2204,2855,2874,2343,2003,1508,1397,1534,1717,1658,1736,1817,1531,1431,1488,1489,1558,1578,1402,1383,1538,1657,1578,1476,1554,1822,1946,1722,1743,1565,1598,1679,1660,1547,1826,1817,1452,1498,1688,1686,1691,1628,1388,1449,1470,1528,1615,1761,1791,2415,2237,1792,1668,1879,1993,1533,1354,1448,1442,1374,1330,1390,1368,1758,1693,1505,1428,1579,1599,1445,1441,1517,1570,1469,1288,1273,1350,1372,1249,1242,1614,1631,1512,1386,1438,1693,1750,1842,1982,2049,2348,2570,2040,1654,1742,1725,1770,1855,1830,1493,1333,1437,1824,1898,1780,1645,1654,1788,1766,1750,1526,1372,1440,1584,1644,1740,1614,1555,1716,1920,2003,1828,1780,1634,1406,1432,1566,1488,1511,1491,1412,1470,1491,1712,1480,1698,2036,1849,1641,1505,1495,1736,1544,1311,1370,1376,1461,1234,2686,2598,1444,1310,1372,1531,1881,1964,1920,1996,1486,1444,1376,1414,1554,2192,2416,2522,2317,2203,2536,2408,2042,1459,1578,1803,2043,1902,1833,1676,1524,1532,1477,1452,1454,1829,2664,2664,2279,1989,2870,2813,2495,2503,2144,1859,2177,2108,2286,2268,2320,2242,1745,1598,1502,1571,1954,2766,2736,2609,2588,2491,2397,1908,1657,1536,1879,2095,2469,2349,1522,1337,1510,1353,2410,2779,1734,1621,1504,1732,1922,1658,1454,1455,1671,1655,1896,2124,2234,1912,1757,1878,2011,1950,1822,1839,1756,1742,1571,1454,1460,1396,1396,1367,1388,1384,1390,1582,1962,1501,1350,1397,1354,1998,1896,1442,1394,1484,1588,1456,1532,1561,1742,3035,3182,2192,1818,2321,3082,2918,2319,2049,1938,2411,2647,2483,2235,2149,1671,1649,1950,1526,1477,1508,1654,2146,2213,1885,1914,1633,1834,2477,2755,2668,2320,2059,2411,2690,2220,1903,1920,2144,2115,1689,1802,1838,1823,1968,2254,2178,2000,1880,1848,1876,1897,1906,1993,2049,2170,2391,2213,2392,2467,1821,1996,2124,1920,1914,2000,1859,2026,2544,2213,1824,2298,2646,3171,2373,1648,1602,2194,3056,3462,3542,3091,3002,2997,3148,3416,2611,1548,995,1348,1652,2037,2147,1708,1738,1478,1434,1446,1297,1555,1776,1700,1661,1743,1828,2262,2094,1729,1665,1628,1594,1387,1665,1449,1583,1606,1538,1688,1569,1659,1832,1801,2399,2856,1891,1594,1776,1726,1757,1726,1790,2103,2464,2829,2642,2190,2138,2160,1858,2092,1910,1644,1538,1442,1588,1501,1482,1764,1991,1995,2410,2306,1763,1842,1989,2293,2391,1935,1596,1560,1521,1787,1793,1918,1881,1622,1896,1808,1925,1886,2407,2458,1586,1928,2208,1678,1441,1824,2569,2416,2309,2086,1597,2017,2534,3208,3011,2100,1692,2009,2229,2788,2625,2009,1916,1537,2031,1880,1784,1955,1808,2244,2348,2038,1895,1687,1463,1461,1542,1606,1709,1896,2321,2216,2308,2364,2722,2395,2696,2441,2345,2470,2374,2330,1902,1714,2068,2179,2268,2655,2955,2156,2142,2789,2286,1942,2287,2464,2759,1878,1758,1676,1534,1837,1589,1378,2285,3149,3496,3772,3913,3959,3601,3442,2837,2814,2317,1966,2421,2734,2245,1971,1858,1931,2566,2862,3269,2737,2103,2016,1960,1939,1804,1716,1774,1937,1881,1919,1943,1980,2122,2260,2305,2025,1914,1900,2106,1816,1683,1550,1979,2403,1807,1707,1607,1539,1371,1438,1950,1890,1583,1876,1992,2076,2236,2074,2023,2250,2050,1918,1818,1970,1593,1732,1892,2014,1841,2220,3222,3536,2795,2320,2874,3428,3793,3769,3287,2901,2933,3037,2530,1936,1920,2272,2649,2380,1763,1294,1598,1817,1759,2036,1927,1740,1980,2521,3104,2897,2002,1781,1709,1786,1956,2729,2235,1736,1739,1766,1603,1487,1387,1359,1622,1826,1896,1954,1897,2135,2220,2063,1762,1597,1737,1615,1434,1490,1452,1422,1334,1667,1959,1490,1481,1453,1327,1436,1433,1289,1439,1504,1592,2210,1896,1438,1555,1362,1480,1734,1772,1694,1571,1709,1997,1879,1890,2041,1542,1761,1818,2056,2150,1824,1924,2000,1445,1285,1638,1763,1537,1432,1507,1404,1488,1848,2268,2267,2033,1658,1542,1692,1568,1583,1989,2890,3149,2050,1544,1398,1374,1436,1927,2220,1882,1477,1456,1540,1327,1349,1284,1291,1303,1214,1217,1166,1251,2211,2142,1582,1261,1256,1302,1261,1369,1289,1273,1154,1405,1421,1401,1836,2961,3708,2941,1713,1353,1162,1612,1762,1521,1453,1470,1294,1614,1627,1404,1422,1366,1466,1650,1686,1688,1611,1617,1742,1563,1426,1423,1543,1897,1910,1598,1597,1591,1614,1665,1698,2143,2490,1952,1459,1925,1995,1730,1646,1817,1780,1795,1808,1716,1518,1375,1516,1722,1599,1535,1480,1555,2069,2182,1880,1497,1670,1782,1730,1477,1498,1409,1376,1544,1636,1342,1266,1367,1470,1478,1699,1766,1561,2566,2386,1745,1683,1747,1550,1725,1906,1828,1689,1688,2100,2287,2090,2219,2579,2789,3297,2901,2293,1968,1368,1341,1904,1892,1466,1411,1501,1566,2558,2565,2310,2299,2156,1978,2046,2417,2633,2403,2162,1774,1957,2035,1725,1505,1631,2214,2346,2076,2319,2885,2955,2507,2298,2652,2288,2720,3186,2920,2646,2385,2564,3035,3128,3458,3464,3513,3726,3406,2754,2881,2524,2260,2072,2271,2762,2810,2698,2713,3087,3526,3059,2045,2939,3566,3968,4255,4204,4026,4071,4285,3588,2401,1810,1733,1654,1644,2252,1914,1674,1914,1920,1453,1870,2010,1931,2662,3275,3265,2380,2708,2953,3205,2399,2024,2521,2731,2380,2873,3459,3465,3740,2791,1906,2207,2414,3199,2971,2340,3032,3464,2822,2582,2653,2510,2381,1809,1782,1978,2147,2062,1708,1361,1593,1833,1701,1644,1719,2091,2470,2588,3008,2764,2288,2288,2631,2679,2480,2749,2843,3119,3296,2906,2476,2477,2708,2294,2208,2254,2686,2892,3452,3248,2765,2736,2600,2307,2492,2774,2489,2312,2642,2894,2248,1823,2098,2163,1896,1946,2047,2321,3072,3373,2905,2745,3010,2626,2601,2198,2004,2396,2745,2414,2010,1977,1909,2132,2180,2133,1626,1709,2020,2043,1852,2260,2308,1645,1781,1970,2142,2608,3228,2843,2930,3297,3652],[2353,2598,2631,2413,2226,2384,2777,3075,3073,2989,2933,3088,3235,3466,3193,3030,3423,3543,3505,3169,2909,2351,2166,2603,3196,3096,3413,3632,3622,3662,3928,3929,4309,4761,4820,4601,4112,4013,4041,3994,4064,4124,3961,3829,3703,3961,3797,3536,4332,4493,3930,3286,2855,3076,3792,3868,3151,3114,2955,2773,3117,3573,3619,3300,2908,2460,2471,2844,2567,2056,2056,2832,3342,2677,2294,2337,2127,2382,2937,3505,4132,4019,3781,4188,4112,4297,4173,3849,3770,3627,3614,3687,3587,3334,2814,2634,3130,3139,2656,2712,3046,3771,3023,2810,2744,2500,2093,1538,1637,2231,2509,2724,2051,1409,1246,1499,1625,2168,1962,2226,2894,2802,2448,2336,2418,2599,3055,3451,3300,2801,2849,2558,2341,2064,2206,2382,2036,1592,1563,1809,2148,2133,2196,2035,2082,2536,2631,2010,2423,2980,2718,2040,1783,1608,1560,1852,2411,2474,2579,2857,3050,2559,2047,1991,2559,3357,3636,2822,2405,3308,3365,3352,2611,1581,1576,1911,1895,1721,1563,1599,1760,1883,1914,1599,1548,1403,1394,1510,1454,1481,1771,1941,2107,1758,1793,1770,1539,1592,1919,2012,2263,2877,2462,2426,1918,1986,2383,2037,1826,2077,2273,2161,2071,2139,2500,2436,2314,2164,1983,1789,1642,1691,1593,1320,1353,1455,1584,2079,2416,2731,2988,2411,2146,1903,1620,1512,1367,1835,2420,2707,2223,1769,1634,2001,2116,2373,2267,1827,1706,1747,1550,1370,1475,2059,2742,3023,2969,2921,2304,1983,1753,1621,1682,1893,1908,1591,1635,1909,2137,1631,1636,1702,1610,1540,1455,2098,3139,3861,3898,3185,2236,2409,2859,2580,2350,2651,3257,3274,3457,3874,2602,2603,3145,2807,2065,1749,1571,1395,1388,1461,1541,1428,1512,1472,1461,1832,1922,1854,2056,2367,1973,1629,1495,1681,1806,2166,2108,1987,2588,2399,1857,1913,2172,2150,2055,2192,1905,2052,1950,1823,1694,1768,2084,2562,2768,2241,1634,1538,1443,1575,1551,1507,1557,1723,1942,2249,2321,1822,1431,1404,1494,1584,1799,1777,1673,1953,1825,1442,1428,1631,1530,1898,2082,1734,1497,1488,1716,1808,1995,2201,2190,1953,1454,2091,2766,2478,1777,1507,1528,1477,1547,1573,1667,1646,1563,1573,1609,1720,2321,2222,2117,1938,1763,1759,1699,1746,2007,2096,2226,2212,2361,2434,2635,2394,1805,1687,2271,2796,2354,2040,2407,2035,1699,1292,1411,1560,1566,1552,1508,1826,2600,2736,1957,1826,1902,1672,1544,1481,1841,1877,1562,1825,1657,1493,1932,2128,2019,1648,1614,1642,1867,1605,2095,2526,1972,1676,1710,1704,2086,2417,2071,1984,2359,1788,1944,1898,1869,2244,2128,2032,2250,2025,1509,1688,2048,2107,2053,2110,1801,1641,1531,1798,2022,1635,1828,2089,2032,2016,2126,1994,1600,1357,1373,1511,1470,1595,1603,1621,1679,1748,1946,1871,1980,2113,2119,1963,1669,1622,1701,1795,1693,1551,1396,1461,1727,1728,1617,1648,1468,1439,1918,1838,1678,2022,2338,2229,2102,1931,1931,1907,1886,2081,2003,1497,1401,1617,2221,2329,1825,2276,2410,1864,1732,1812,1892,1590,1524,1668,1567,1481,2009,1716,1632,1565,1642,1943,1849,1655,1662,1954,2265,1810,1686,1616,1940,2541,2403,1882,2217,2532,2408,1933,2116,2655,2933,2997,2471,2900,2208,2303,2071,2086,2159,2144,2247,2569,2323,1680,1869,2967,3207,2080,1842,1572,1439,1504,2060,2201,1866,1826,2089,2445,2500,2372,2007,2153,2241,1986,1947,1868,1748,1622,1552,1699,2002,2058,1974,1605,2393,3606,4020,3861,3616,3562,3425,3131,3340,3439,3399,3377,3470,3675,3674,3573,3927,3390,3076,3240,3187,3078,3188,3253,2803,2379,2467,2803,2690,2127,1664,1560,1316,1294,1412,1575,1898,2200,2618,3199,3564,2901,968,1066,2139,2706,3306,3470,3471,3320,2547,1932,2657,3744,3603,2731,2097,1912,2133,2413,2363,2094,1760,1542,1422,1458,1578,1542,1719,1769,1662,1622,1587,1596,1573,1459,1364,1557,1870,1786,1555,1513,1530,1627,1836,1538,1492,1423,1572,1694,1665,1423,1549,1548,1353,1395,1538,1725,1882,1716,1390,1445,1511,1562,1616,1615,1789,2066,2021,2066,1904,1505,1573,1550,1563,1480,1437,1428,1384,1465,1592,1771,1925,1760,1522,1612,1521,1405,1339,1314,1374,1400,1313,1270,1388,1470,1356,1251,1211,1369,1422,1390,1446,1637,1933,1792,1694,1475,1720,2113,1729,1653,1757,1599,1665,2273,1968,1463,1371,1543,1976,1932,1981,1904,1733,1555,1846,1934,1530,1447,1615,1679,1508,1592,1538,1538,1979,2417,2165,1904,1797,1489,1670,1561,1393,1478,1631,1506,1429,1481,1564,1527,1364,1474,1740,1753,1586,1558,1371,1579,1549,1374,1441,1427,1343,1348,1798,1515,1332,1441,1378,1614,2020,2054,1983,1912,1504,1359,1242,1289,1272,1351,1636,2177,2831,3185,2585,1822,1991,1821,1683,1724,1654,1820,1955,1616,1726,1880,1707,1496,1529,2138,2247,2067,2427,2338,2302,1945,1997,2117,1769,1829,2057,1903,2266,2099,2138,2139,1934,2053,2071,1670,1975,2271,2210,2449,2445,2566,2692,2429,2184,1817,1931,1988,2648,2383,1598,1406,1433,1411,1478,1480,1644,1433,1165,1668,1807,1428,1475,1697,1740,1560,1739,2092,1803,1654,1553,1365,1445,1718,1719,1808,1814,1854,1764,1432,1144,1292,1444,1296,1383,1329,1287,1404,1760,1614,1366,1290,1367,1771,2101,2034,1765,1437,1422,1495,2295,2508,1686,2188,3088,2310,1628,2193,2551,2529,2332,2008,1819,2229,2370,2635,2994,2686,2017,1794,1828,1609,1679,1836,2169,2772,2342,2048,1956,1473,2050,2986,3096,2886,1973,1739,2205,2083,2330,2471,2025,1874,1592,1708,2010,2040,2210,2340,2288,2104,1968,1887,2349,2601,2524,1749,1599,1941,2079,2332,2624,2230,2144,2266,2237,2151,2184,1971,1980,2225,2730,3096,2474,1868,2955,3627,3209,2126,1701,1928,2432,2585,2544,2976,2946,2852,2855,3318,3326,2156,1324,1371,2098,2355,2707,3115,2424,1717,1421,1305,1381,1345,1476,1683,1646,1470,1649,2604,3439,2824,1875,1611,1621,1448,1458,1732,1500,1697,1628,1588,1849,1970,2316,2375,1900,2163,2461,2149,2049,2137,1715,1565,1600,1773,2023,2236,2088,1792,1844,1700,1920,1790,1717,1452,1747,1577,1454,1522,1429,1428,2148,2812,2282,2260,1680,1870,2250,1767,1959,2413,2011,1886,1819,1494,1461,1625,1818,2119,1955,1950,1986,2205,2242,2791,2543,1896,1911,1898,2183,2060,2261,2740,2603,2842,2595,2276,2615,2344,2611,2402,2071,2295,2569,2460,2387,2492,1753,1738,1758,2180,1882,1704,1620,1508,1512,1574,1764,1969,1952,1607,1450,1421,1605,1591,2105,2952,3019,2431,2247,2159,2077,2337,2104,2077,2218,2307,1872,1719,1894,2230,2222,2553,2309,2123,1771,2024,2564,2188,1921,2340,2194,2249,2271,2331,1981,1706,1817,1697,1599,2325,3078,3253,3218,2978,3384,3484,3356,2918,2870,2291,2200,2511,2466,2435,2089,2154,2247,2608,2456,2580,2152,1877,1895,2186,2062,1618,1633,1915,1913,1936,1990,1644,1578,1644,1722,1993,2274,2099,2225,2128,1575,1420,1406,1515,1723,1526,1732,1666,1466,1361,1317,1679,1840,1820,1926,2170,2202,1979,2002,2525,3087,2512,1882,1908,1962,1752,1759,1739,1762,1747,1954,2592,2736,2231,2396,3242,3699,3939,3852,3416,2968,2897,2910,2618,1941,2022,2611,2878,2224,1078,812,1259,1593,1687,2018,1987,1986,2514,2887,2823,2624,1825,1431,1378,1878,2880,3001,1873,1423,1471,1423,1417,1254,1288,1456,1504,2207,2676,2136,1649,1767,1750,1961,2012,1729,1724,1444,1389,1395,1353,1382,1554,1872,1682,1584,1708,1613,1381,1357,1383,1434,1799,1775,1924,1918,1640,1415,1399,1758,1916,1487,1476,1570,1382,1483,1582,1613,1904,1901,1920,2645,2516,2510,2465,1823,2103,2230,1585,1484,1398,1606,1470,1425,1753,1424,1475,1796,1729,1863,2242,2034,1779,1905,1636,2222,2267,2390,3010,1948,1431,1386,1843,2236,2798,3316,3019,2197,1738,1715,1489,1344,1315,1325,1278,1223,1201,1183,1131,1315,1512,1642,1511,1252,1242,1295,1258,1238,1283,1201,1247,1239,1270,1730,2689,3040,2064,1459,1334,1298,1738,1784,1534,1362,1280,1274,1455,1425,1387,1516,1477,1442,1336,1478,1701,1565,1513,1571,1454,1356,1274,1306,1561,1819,1836,2160,1873,1504,1438,1599,1840,2037,1938,1598,1554,2000,1947,1454,1559,1734,1975,1793,1512,1429,1503,1462,1545,1508,1512,1453,1664,2027,2142,2082,1826,1716,1569,1581,1586,1590,1421,1494,1812,1569,1207,1157,1244,1480,1501,1854,1664,1700,2496,1832,1583,1881,1838,1614,1643,1797,1666,1651,1843,2268,2362,1644,1800,2059,2215,3249,3322,2620,2447,1901,1427,1521,1703,1520,1920,1836,1932,2425,2192,2473,2670,2023,1730,1922,2217,2155,2066,2042,2243,2719,2851,2329,1903,1799,1920,2081,2451,2808,2690,2523,2640,2574,3095,2825,3222,3818,3206,2570,2470,2785,3091,2743,2686,2939,3439,3627,3254,2598,2613,2579,2631,2510,2406,2545,2656,2436,2150,2618,3150,3295,2419,2502,3293,3986,4372,4500,4322,4261,4381,3824,2340,2295,1919,1809,1979,2318,2048,1965,2033,1759,1555,1926,1891,1817,1903,2052,2523,2833,2940,2642,2817,2843,2263,2159,2269,2584,2747,2599,2756,3306,2154,2227,2543,2423,2663,2938,3212,3749,3893,3006,2714,2947,2546,2333,1822,1772,2095,2160,1984,1892,1730,1795,1919,2194,2253,2500,2463,2359,2446,2310,2306,2531,2523,2797,2815,2299,2163,2640,3373,3069,2575,2198,1931,2402,2376,2534,2425,2693,2956,3173,2943,2276,2510,3167,2699,2609,2849,2783,2576,2602,2746,2645,2410,2477,2465,2592,2614,2837,2343,2235,3056,2925,2708,2929,2806,2647,2387,2383,2824,2619,1882,1952,2123,2304,2352,1891,1861,1869,2146,2296,2075,2015,2295,2422,2302,2403,2159,2546,2453,3075,3250,3181,3203,3632],[2123,2078,2006,2134,2258,2765,3247,3263,3007,2888,2438,2348,2812,3451,3505,3233,3322,3474,3229,2504,2151,2526,2784,2785,3395,3298,3610,3731,3768,3591,3501,3343,3924,4560,4666,4496,4082,3947,3894,3894,3960,4068,3946,3875,3853,3686,3620,3783,4372,4297,3906,3672,3264,3028,3526,3652,2981,2901,2966,2220,2451,3625,4018,3648,3051,3295,2733,2237,2061,2142,2000,2655,3294,2866,2905,3465,3162,2923,3449,4050,4251,4010,4084,4417,4384,4252,4176,4069,3804,3694,3818,3474,2932,3255,3079,2540,2654,2680,2178,2338,3068,3563,2820,2647,2454,2031,1828,1529,2055,3353,3190,2933,2938,2149,2005,2602,2697,3297,3231,2822,2558,2416,2249,2453,2293,2290,2485,2690,2740,3135,3078,2343,2040,1985,2136,2025,1927,1606,1920,2272,2166,2229,2353,1725,2154,2292,2054,1927,2296,2780,2420,1588,1725,1506,1505,1804,2188,2558,2714,2411,2328,2302,2314,1785,1749,2197,2710,2368,2064,2052,3024,3406,2229,1462,1422,1825,1991,1660,1664,1790,1761,1828,2189,1839,1541,1489,1348,1492,1626,1742,1619,1540,1376,1727,2328,1858,1536,1629,2030,2151,1860,1781,2042,1927,1675,1912,2164,1999,1946,2243,2878,2696,2316,2238,2071,2324,2640,2183,1789,1625,1534,1516,1497,1447,1502,1498,1818,1945,2367,2676,2827,2263,2110,1876,1544,1409,1367,1436,1622,1969,1609,1929,1814,2002,2083,2159,2004,1936,2088,1914,1478,1407,1500,2036,3047,2685,2614,2213,1916,2070,1932,1690,1626,1720,1766,1822,1604,1806,2463,2181,2208,1534,1373,1685,1638,1887,3003,3692,3985,4040,3450,2580,2250,2812,2734,2634,2579,3173,3670,3898,2808,2408,2933,2540,2029,1869,1670,1505,1385,1413,1515,1670,1616,1344,1410,1409,1471,1732,2177,2519,1863,1643,1603,1814,2016,2396,2574,2201,2130,2236,2250,2099,2082,2239,1662,1502,1498,1786,1909,1600,1539,1459,1914,2393,2362,1952,1583,1449,1478,1721,1738,1611,1458,1449,1878,2563,2692,2320,1902,1634,1761,2050,2212,1869,1655,2219,1853,1533,1526,1449,1577,1992,2090,1931,1624,1872,2204,1883,1909,2246,2634,2257,1648,2342,2784,2157,1617,1579,1704,1923,1732,1542,1400,1424,1592,1834,1906,2380,2574,2143,2282,2134,1869,1647,1618,1861,2036,2006,2165,2131,2032,2328,2293,1890,1714,1466,1740,2542,2680,1951,2136,1823,1462,1233,1359,1420,1472,1452,1410,1598,2181,2159,1476,1638,1825,1824,2068,1620,1616,1670,1490,1526,1555,1489,1819,2404,2086,1375,1644,1860,2082,1932,1970,1935,1606,1866,2058,2003,2089,1895,1696,1751,2424,2377,2011,1768,1837,2086,1898,1610,1678,1679,1584,1657,1792,2154,2087,2308,2407,2077,1742,2133,2096,1617,1790,2010,2002,2166,1824,1741,1718,1459,1585,1890,1653,1687,1666,1533,1556,1639,1686,1665,1961,1702,1872,1613,1466,1919,2104,2141,1929,1560,1360,1404,1490,1658,1783,1750,1308,1288,1468,1346,1638,2150,2470,2553,2089,1799,1700,1700,1938,1943,1740,1548,1709,2050,1848,1832,1659,2008,2183,2009,1632,1644,1709,1598,1639,1618,1531,1718,1795,1732,1810,1775,1675,1673,1751,1614,1717,1703,1708,1852,1799,1802,2123,2742,2458,2378,2366,2000,2024,1981,2136,2110,2168,2132,1978,2396,2491,2294,2009,1860,1819,1873,1968,1658,1650,1609,1771,2792,2944,2018,1600,1550,1702,1750,1905,1808,1571,1858,1748,2242,2559,2219,2137,1894,2695,2254,1781,1872,1830,1770,1760,1666,1525,1368,1626,2315,3116,3698,4090,4301,4232,3928,3774,3898,3726,3408,3138,2967,3096,3640,3337,3311,3875,3728,3264,3077,2973,2470,2069,1980,2236,2047,1907,2195,2376,1904,1830,1981,1696,1721,1886,1716,1697,1797,1898,2197,2717,2915,1288,825,1521,2156,3105,3520,3376,3039,2336,2017,2364,2713,2932,2270,2024,1895,1981,1836,1508,1527,1572,1502,1479,1577,1673,1646,1680,1526,1476,1442,1502,1482,1420,1362,1322,1516,1738,1762,1789,1745,1722,1615,1768,1654,1548,1495,1512,1553,1568,1629,1767,1410,1335,1643,1611,1562,1625,1685,1592,1545,1576,1722,1648,1509,1653,1861,1991,1888,1644,1368,1572,1708,1561,1365,1505,1644,1716,1858,1914,1792,1908,1892,1487,1445,1541,1636,1814,1452,1468,1433,1222,1285,1397,1293,1284,1289,1359,1532,1543,1470,1359,1504,1729,1903,1876,1525,1745,1976,1718,1707,1985,1808,1627,2062,1823,1638,1393,1562,1604,1390,1420,1601,1649,1510,1685,1808,1625,1423,1426,1500,1433,1424,1416,1555,2137,2252,1853,1712,1712,1474,1660,1489,1496,1687,1616,1515,1433,1408,1519,1423,1527,1587,1461,1642,1507,1489,1560,1596,1422,1315,1312,1372,1334,1405,1687,1635,1560,1637,1453,1611,1990,2043,1842,1599,1499,1345,1376,1521,1410,1513,1650,2169,2449,2928,2038,2095,2518,2074,1688,1897,1765,1742,1863,1613,1752,1650,1506,1440,1460,2170,2324,2636,2325,2020,2127,2147,2100,1958,1703,1948,2032,2039,1958,2156,2207,2046,2174,2730,2847,2741,2699,2409,2093,2269,2324,2352,2587,2687,2431,1853,1876,1854,1764,1793,1721,1617,1725,1692,1636,1504,1678,1663,1799,2449,2352,1834,1861,2108,1998,1693,1649,1660,1730,1833,1794,1570,1700,1730,1629,1541,1472,1688,1858,1676,1386,1522,1546,1462,1437,1407,1573,1432,1580,2264,1960,1350,1446,1601,2106,2148,2282,1557,1417,1477,2323,2665,1797,1577,1962,1688,1445,1698,1571,1592,2103,2415,2142,2366,2471,3030,3581,3353,2415,1587,1566,1836,2442,2532,2562,2651,2899,2680,2099,1387,1889,2530,2819,2710,1878,1981,2447,2732,3422,2989,1790,1859,2053,2309,2326,2226,2291,2280,2221,2770,2707,2499,2989,3087,2958,2106,2032,1999,1660,2179,2733,2452,2305,2176,2033,1986,2401,2212,1888,2070,2327,2464,2666,2483,2943,3588,3150,2149,1759,1878,2032,2422,2150,1767,2631,3155,3011,2798,2846,2544,2497,2754,2721,2689,2966,3140,2631,1817,1449,1344,1382,1382,1554,1786,1739,1509,1812,3299,4300,2988,1950,1802,1544,1519,1352,1519,1561,1621,1636,1748,1834,2121,2750,2410,1887,1762,1774,2164,2463,2495,1923,2021,2077,2122,2574,2387,2231,1709,1822,1608,1912,1883,1773,1490,1539,1457,1367,1477,1472,1454,2358,2930,1953,1804,1996,2082,1820,1278,1968,2405,2027,2048,2259,1603,1604,2375,2085,2302,2008,1913,2141,2081,2652,2737,2121,1805,1318,1639,2284,1915,2158,2429,2917,2946,2398,2434,2404,1770,2045,2050,2324,2811,2651,2357,2172,2203,1806,1736,1788,1865,1427,1322,1420,1433,1553,1685,1920,1997,1912,1607,1639,1561,1565,1768,1944,2225,2635,2774,2438,2183,2552,2537,2062,2144,2024,2275,1671,1944,2532,2642,2767,2443,2096,2276,2549,2518,2051,2181,2787,3107,2188,2146,2534,2092,1613,1863,2230,2379,2476,2676,2953,2942,2762,2680,3190,3753,3354,2787,2380,2172,2452,2602,2931,2979,2321,3139,2943,2297,1920,2024,2103,1983,2185,2556,2074,1482,1635,1890,1853,1931,1858,1478,1410,1404,1935,2245,2176,2440,2522,2293,1820,1639,1647,1836,2087,1764,1799,1550,1221,1216,1414,1556,1732,1814,1927,2014,1903,1879,2055,2302,2758,2429,1836,1819,1905,1906,1809,1661,1743,1961,1961,2235,2508,2059,2630,3516,3969,4050,3749,3044,2712,2697,2719,2529,1953,2031,2786,2987,2002,934,787,1093,1212,1489,2050,2069,2014,2657,2565,1985,2110,1810,1487,1385,1459,2397,2541,1659,1661,1650,1364,1522,1354,1363,1389,1495,2133,2260,1678,1388,1520,1479,1692,1896,1541,1492,1437,1367,1322,1395,1426,1704,1625,1552,1844,1948,1924,1581,1672,1412,1483,1627,1650,1919,1759,1982,1584,1371,2235,2415,1671,1644,1489,1483,1451,1535,1356,1535,1668,2077,2824,2569,2379,2448,2034,2432,2276,1556,1332,1315,1509,1377,1965,1760,1492,1638,1531,1329,1447,1933,2179,2235,2365,1892,2608,2990,3220,3161,2141,1572,1549,2375,3222,3623,3768,3496,3108,1846,1707,1418,1204,1218,1279,1317,1286,1289,1255,1272,1251,1279,1953,1948,1327,1302,1550,1717,1619,1317,1241,1244,1244,1426,1741,1764,1562,1297,1356,1300,1341,1466,1478,1362,1285,1294,1242,1274,1358,1364,1614,1609,1513,1387,1431,1386,1555,1625,1532,1428,1340,1343,1429,1587,1780,1737,2309,2137,1814,1533,1506,1791,2349,2547,2095,1586,1900,1839,1654,1490,1648,1777,1805,1713,1601,1517,1422,1494,1694,1612,1499,1649,1834,1725,1655,1736,1656,1715,2022,2086,1830,1419,1524,1699,1490,1639,1610,1449,1493,1498,1595,1641,1874,2072,1696,1587,1665,1698,1700,1749,1808,1609,1536,1471,1592,1843,1853,1967,1888,1778,2764,3698,2866,2821,2536,2149,2107,1947,2131,2367,1883,1938,1860,1725,2712,2968,1947,1697,1762,2030,1939,2213,2425,2700,3088,3374,3276,2592,1990,1988,2060,1943,2399,2354,2682,2713,2770,2842,2709,3019,3496,3377,2868,2363,2409,2697,2569,1996,1963,2410,2912,3156,3095,2791,2219,1881,2106,2122,1814,2071,1898,1685,1858,2613,3076,2492,2255,2607,2808,3073,3349,3551,3847,4109,3659,2415,2158,2032,2074,1943,1831,1778,1793,1888,2065,2093,2284,1802,1433,1879,1770,1653,1739,2225,2292,2745,3088,2808,2666,2708,2693,2100,1324,2126,2551,2137,2576,3196,2819,2158,2464,3223,3476,3430,3095,2442,2874,2872,2916,2381,1842,2088,1978,1648,1664,1682,1715,2012,2360,1991,2437,2626,2598,2850,2491,2584,2681,2391,2752,2475,1919,2068,2405,2650,2242,2514,2404,1974,2248,2250,2366,2713,2485,2885,3099,2481,2438,2644,2901,2697,2720,3116,2872,2485,2430,2868,3417,3217,2802,2591,2850,2569,3028,2587,2480,2596,2307,2291,2541,2715,2338,2213,2497,2533,2080,1985,2065,1770,2020,2069,1794,1968,2077,2180,2047,1747,1958,2319,2451,2366,2012,2143,2278,2453,2916,2890,2601,2540,3071],[1917,2136,2559,2820,2757,2844,2879,2932,2841,2619,2171,1965,2498,3351,3782,3709,3599,3483,2792,1921,2158,2810,3167,3015,3106,3439,3605,3665,3560,2543,2091,2645,3550,4152,4503,4396,4007,3707,3793,3904,3946,3876,4060,4196,3816,3847,3773,3558,3663,3767,3752,3711,3660,3390,3371,3305,3191,3476,3386,2284,2482,3694,4018,3426,2908,3636,3349,2534,2553,3129,2974,3032,3381,3397,3416,3375,3335,3351,3528,3921,3772,3797,3589,3658,4012,4069,4033,4295,4440,4356,4384,4219,3705,3960,3770,3207,3298,3494,2999,2555,2785,2744,2468,2532,2291,1647,1555,1989,3047,3785,3116,2696,3033,2639,3010,3792,3951,3857,3848,3386,2334,2343,2686,2811,2379,2224,2409,2476,2167,2461,2699,2377,1895,1868,2010,2262,2282,1747,1956,2737,2176,1704,1740,1950,2272,1970,1748,1754,1724,2037,2001,1570,1786,1927,1837,2120,2423,2371,2421,2662,2081,2068,2367,1981,2287,2419,2341,2044,2052,2134,2677,2939,2283,1574,1281,1564,1930,1726,1672,1681,1792,1898,2536,2237,1751,1435,1476,1761,1976,2063,1570,1450,1657,2025,2122,1699,1600,1775,1469,1677,1732,1492,1469,1500,1550,1714,1501,1606,2154,2817,3234,3113,2676,2626,2024,1770,1974,1813,1532,1587,1632,1774,1860,1688,2041,1615,1567,1992,2405,2300,2061,1753,1600,1673,1704,1435,1327,1409,1542,1595,1436,1622,1811,1722,1694,1889,1754,1449,1544,1533,1406,1753,1616,1837,3047,2481,2279,2096,1926,1876,1618,1377,1418,1562,1575,1688,1742,1832,1992,1899,1610,1555,1759,1798,1710,2186,2891,3217,3514,3754,3738,3617,3028,3002,2990,2851,2308,2030,2307,2769,2456,2156,2411,2473,2292,2084,2062,1804,1509,1443,1421,1694,1769,1649,1515,1424,1363,1504,1788,1995,2032,1772,1628,1498,2058,2693,2576,2042,2125,2460,2338,1908,1766,1916,2108,2055,1875,1974,1792,1518,1484,1473,1509,1456,1447,1671,1738,1734,1774,1730,1709,1644,1510,1845,2553,3075,3106,2156,1799,1599,1699,2253,2204,1864,1654,2625,2428,1866,1848,1820,1875,2131,2025,1779,1975,3156,3190,2482,2172,2176,2317,2163,1908,1986,2084,1814,1821,1604,1689,2007,1656,1594,1488,1516,1526,1905,2715,3429,2819,1872,2013,1936,1775,1666,1777,1824,1882,1793,1975,2046,1920,1996,1863,1663,1575,1686,1627,1939,1963,2012,1620,1449,1385,1358,1440,1480,1388,1372,1475,1881,2047,1963,1853,1715,1713,1921,1808,1512,1505,1585,1619,1625,1666,1506,1638,2292,2115,1406,1432,2039,2209,1853,1751,1775,1889,2343,2197,1832,1819,1699,1779,1756,2511,2770,2208,1888,1906,1960,1904,1700,1548,1492,1815,2122,1859,1642,1576,1876,2168,2014,2036,2390,2165,1768,2009,2330,2323,1951,1909,1752,1632,1498,1859,1989,1595,1677,1433,1265,1570,1461,1422,1488,1511,1536,1760,1791,1875,2157,2198,2155,2030,1605,1522,1694,1462,1552,1656,1627,1208,1104,1544,1511,1818,2069,1940,2164,1964,1931,1474,1391,1571,1542,1921,1964,2516,2553,1721,1572,1918,1782,1946,2295,2198,1571,1330,1482,1716,1667,1605,1705,1685,1820,1814,1685,1557,1503,1808,1620,1591,1594,1592,1676,1614,1616,1643,1959,2153,2266,2209,2191,2700,2490,2067,2060,1828,1836,2030,2346,2426,2155,2112,2226,2071,1865,1644,1391,1543,1734,1549,2141,2482,1965,1660,1695,1938,1818,1578,1636,1646,1592,1399,2151,2016,1907,2026,1893,1992,1840,1822,1873,1864,1829,1936,1822,1606,1681,2079,2707,2425,2809,3708,4160,4272,4141,4176,3982,3387,3064,2951,2801,2836,3182,2722,3104,3877,4072,3575,2735,2186,1981,2046,2226,2456,2126,1861,1929,2332,2198,1953,2245,2326,2261,2014,1815,1613,1527,1504,2027,2377,2754,1636,903,1225,1779,2509,2566,2408,2196,1967,2293,2392,2177,2817,2227,1941,1903,1826,1473,1301,1550,1526,1538,1570,1568,1848,1980,1848,1613,1539,1516,1442,1470,1497,1451,1465,1507,1705,1513,1927,1744,1467,1599,1827,1828,1591,1486,1562,1573,1479,1550,1569,1418,1712,1817,1921,1587,1447,1578,1684,1550,1545,1726,1649,1541,1674,1843,1800,1869,1773,1614,1665,1802,1736,1650,1483,1596,1756,1927,1791,1674,1781,1837,1770,1618,1680,1729,1759,1577,1570,1500,1364,1267,1333,1417,1593,1448,1435,1482,1749,1708,1604,1523,1534,2075,2404,1884,1777,1699,1818,1699,1759,1379,1382,1538,1390,1366,1347,1441,1464,1430,1518,1526,1494,1798,1850,1778,1585,1422,1618,1938,1842,1609,1450,1730,2079,1777,1593,1638,1577,1578,1549,1596,1675,1629,1516,1525,1584,1560,1526,1482,1722,1791,1757,1737,1581,1441,1473,1448,1394,1408,1413,1460,1518,1643,1704,1530,1526,1484,1620,1801,1994,1919,1526,1356,1407,1422,1499,1638,1702,1807,1796,2485,2907,2751,2269,2511,2514,2095,1926,2107,2189,1838,1565,1930,1997,1662,1509,1444,1422,1541,1694,1717,1680,1853,2228,2281,1918,1586,1582,1820,2081,2403,2415,2559,2474,2132,2261,2534,2434,2699,3038,3032,2625,2346,2382,2511,2853,2787,2152,1666,1900,1742,1393,1742,1718,1655,1821,1801,1480,1218,1263,1504,1662,1791,1872,1988,1834,1716,1742,1819,1626,1833,1959,1719,1866,1715,1820,1672,1460,1506,1464,1363,1674,1785,1815,1999,1726,1529,1577,1617,1730,1687,1746,2087,1873,1500,1470,1996,2330,1957,2605,2040,1475,1399,1413,1277,1290,1260,1201,1248,1323,1522,1471,1946,2459,2555,2229,1848,1677,2382,2796,2752,2612,1959,1985,2163,2532,2404,2426,2241,3152,3294,2755,2194,2155,2021,1909,1948,1809,1755,1632,2521,2907,2482,2070,2501,3044,2921,2030,1692,2085,2376,2751,3576,3386,2533,2570,2661,2738,2514,2526,2004,1675,2032,2004,2230,2654,2156,1788,1730,2120,2330,2091,1872,2139,2307,2230,1959,2007,2486,2593,2062,1602,1657,2181,2266,1981,1809,2267,2592,2799,2632,2046,1994,2554,2763,2685,2289,2129,1895,1748,1492,1428,1516,1560,1658,1705,1624,1688,1488,1582,2690,3429,2252,1636,1677,1615,1599,1516,1528,1561,1614,1636,1840,2078,1608,1798,1860,1966,1774,1646,1816,1811,1666,2203,2854,2425,2320,2363,2253,2690,2147,2006,1634,1465,1581,1856,1636,1460,1475,1434,1491,1478,1620,2055,2076,1771,1819,2035,1912,1669,1626,2110,2601,2625,2579,2237,1615,1923,3276,2802,2195,2097,2326,2236,2068,2644,2306,1834,1506,1400,1561,1489,1215,2398,2633,2595,2549,2762,2766,2013,1975,2082,1967,2826,3025,2662,2708,2179,1900,1814,1353,1009,1155,1217,1439,1528,1455,1686,1918,2216,2131,2061,1641,1742,1678,1538,1533,1426,1463,1599,1633,1923,2309,2286,2072,2238,2327,2082,1774,1331,2187,3085,3219,2736,2255,2462,2137,2040,2007,1922,2835,3412,2474,1785,2352,2289,1700,2114,2708,2498,2504,2789,2906,2874,2941,2833,2614,2331,2544,2645,2432,2418,2443,2693,3244,3586,3103,2392,3275,2678,1873,1859,2419,2448,1825,1923,2417,1908,1449,1840,2003,2145,2340,1880,1396,1424,1506,1956,1977,2043,2654,2555,2411,1788,1598,1846,1875,1850,1581,1492,1425,1088,967,1541,1593,1519,1904,2030,1801,1749,1600,1657,1703,1952,2166,1753,1668,2056,1874,1710,1715,1706,1970,1932,2233,2536,2371,3058,3727,3858,3704,3186,2415,2872,2696,2424,2678,2222,2121,2787,3031,2063,999,826,1060,1190,1509,2050,1981,1775,2501,2525,2356,2202,2002,1632,1375,1421,1700,1851,1612,1784,1842,1590,1318,1332,1417,1230,1512,1826,1656,1459,1448,1427,1332,1469,1610,1423,1519,1642,1388,1374,1476,1546,1700,1610,1736,1916,2098,2714,2396,1944,1637,1444,1521,1723,1645,1682,1679,1381,1353,1704,1710,1931,1874,1452,1535,1568,1773,1578,1488,1500,1838,2272,2030,2100,2232,1918,2686,2233,1641,1417,1261,1235,1229,1422,1412,1592,1700,1382,1244,1315,1694,1961,1953,1903,1995,2057,2799,3697,2916,1980,1684,1528,1946,2797,3371,3702,3611,2794,2085,1656,1232,1252,1244,1235,1258,1302,1342,1302,1264,1262,1724,2448,1798,1288,1359,1609,1999,1759,1433,1318,1234,1246,1666,1849,1466,1205,1267,1215,1244,1325,1436,1359,1253,1246,1319,1272,1273,1399,1346,1470,1501,1449,1380,1337,1418,1514,1534,1447,1338,1401,1436,1494,1562,1714,2194,2311,2106,1980,1664,1719,2141,2400,2444,2014,1664,1750,1634,1633,1473,1546,1604,1717,1771,1695,1715,1504,1531,1619,1626,1521,1628,1599,1505,1583,1575,1449,1654,1853,1789,1556,1283,1490,1530,1517,2041,1843,1490,1448,1403,1439,1433,1487,1687,1594,1444,1444,1643,1752,1948,2042,1716,1578,1953,2200,1921,1923,2122,1936,1837,2353,3643,3587,3183,3147,2437,2017,1913,2005,2001,2001,2033,1962,1690,2598,2944,1971,1852,1606,1714,1775,2052,2565,2918,2766,2683,2647,2265,1936,1830,1906,2179,2899,2733,2767,2510,2690,2995,2811,3032,3626,3799,3423,2472,2253,2818,2612,2438,2331,2024,2106,2518,2699,2645,2022,1581,2106,2029,1798,1787,1678,1959,2352,2470,2221,2201,2547,2725,2209,2146,2415,2467,2823,2691,2466,2107,1707,1612,1691,1841,1737,1636,1651,1621,1903,2431,2675,2514,2286,2624,2399,2042,2034,1951,2102,2506,2453,2832,3064,2923,2326,1529,1359,1979,2282,2153,2347,2824,2872,2317,1892,2194,2540,2963,2092,1521,2189,2709,2572,2039,1739,1855,1925,1741,1587,1764,1770,2151,1976,1645,2082,2743,3037,3000,2375,2277,2182,2143,2482,2415,1901,2364,2490,2360,2435,2497,2559,2266,1843,2013,2630,3109,2652,2835,3040,2443,2613,2762,2590,2084,2278,2696,2490,2332,2471,2833,2841,2497,2409,2138,2150,2068,2591,2445,2270,2136,2109,2308,2835,3277,2421,2114,2013,1861,1996,2177,1920,1456,1652,1970,2070,2135,2225,2179,1958,2069,2269,2087,2035,1981,2174,2657,2497,2496,2689,2541,2343,2349,2192],[2326,2625,2877,2924,2706,2511,2433,2556,2834,2558,2172,1960,2192,2854,3364,3552,3725,3495,2273,1947,2507,2773,3002,3097,3055,3173,3423,3543,2994,1897,1532,1703,2465,3444,3941,4002,3916,3642,3422,3437,3459,3353,3493,3574,3972,4184,3728,3811,3566,3753,3740,3849,3947,3925,3624,3209,2690,2607,2840,1967,2064,3062,3596,3780,3840,3936,3592,2818,2764,3299,3558,3640,3704,3796,3636,3463,3388,3208,3053,3176,3225,3476,2678,2528,3498,4112,4143,4319,4516,4388,4452,4283,4335,4384,3710,3206,3451,3632,3688,3181,2257,1991,2288,2229,2303,1749,1530,2188,3296,3466,2702,2301,2352,2713,3306,3930,4108,3805,3493,3205,2382,1777,2047,2685,2822,2514,2203,2053,1815,1959,2143,1695,1448,1688,1873,1967,1770,1649,1892,2255,2078,1842,1819,2482,3072,3022,2589,2186,1975,1743,1902,1688,2076,2167,1904,2232,2316,1836,2151,2404,2146,2646,2396,2600,2792,2906,2447,3168,2931,1760,1926,2137,1808,1416,1427,1873,1816,1607,1578,1622,2162,2394,2461,2308,2279,2215,2209,2113,1885,1938,1688,1489,1733,1704,1607,1684,1852,1594,1383,1831,1832,1365,1493,1500,1415,1416,1325,1524,1848,2743,3199,2653,2114,2054,2122,2061,1869,1857,1757,1858,1844,2751,2420,2109,2191,1692,1682,1918,1780,1492,1438,1609,1333,1482,1926,1717,1486,1538,1436,1489,1480,1410,1546,1654,1676,1692,1639,1301,1544,1504,1758,2564,2052,1737,2485,2577,2300,2052,1874,1584,1494,1349,1265,1392,1379,1395,1625,1649,1547,1499,1458,1854,1994,1581,1461,1624,1925,2136,2237,2740,2638,3049,3011,3153,3062,2752,2472,1946,2173,2450,2127,2120,2637,2912,2430,2177,2346,2131,1672,1426,1518,1726,1727,1986,1626,1454,1396,1320,1650,1779,2002,1846,1777,1560,1601,1918,1824,1681,1968,1919,1656,1916,1846,1891,2100,1936,1946,1914,1607,1412,1413,1531,1708,1520,1214,1159,1240,1567,1590,1359,1417,1472,1610,2878,4209,4216,3487,1730,1472,1545,1763,2121,1876,1421,1479,1918,2162,2238,2230,2515,2282,2383,2123,1714,2579,3981,3904,2750,1832,1705,1692,1824,1714,1519,1660,1651,1702,1636,1856,1769,1547,1374,1589,1736,1548,1957,2399,2373,2071,1697,1860,1852,1719,1811,1618,1457,1570,1525,1618,1622,1603,1663,1942,1883,1707,1748,1914,1971,1825,2074,1783,1468,1480,1569,1573,1420,1378,1411,1523,1845,1672,1631,1715,1445,1514,1590,1422,1522,1620,1837,1902,1849,1666,1679,1541,1985,1992,1565,1607,2143,2465,2013,1710,2031,2196,2238,1912,1578,1562,1620,1928,2093,2582,2852,2680,2590,2100,1832,2010,1888,1679,1570,1957,2267,2028,1748,2171,2171,1920,2070,2270,2351,2200,1844,1898,2353,2144,1757,1820,1485,1461,1476,1962,1862,1443,1950,1609,1589,1824,1548,1716,1758,1726,1653,1710,2040,2109,2042,1970,1891,1870,1625,1955,2080,1622,1562,1608,1439,1129,1292,1620,1550,1676,1748,1574,1597,1645,1713,1410,1456,1582,1716,2188,2087,1783,1664,1784,2242,2154,1925,2011,2022,1902,1532,1310,1527,1878,1834,1782,1704,1643,1726,1732,1671,1575,1512,1856,1645,1617,1553,1503,1635,1637,1702,1748,1699,1674,1712,1680,1636,1891,1746,1804,2205,1920,1747,1874,1939,1908,2206,2266,2417,2228,1866,1530,1604,1746,1722,1594,1729,1832,1759,1910,1842,1986,1604,1670,1661,1548,1471,1748,1804,1905,1973,1820,1827,1875,2046,2090,2094,1930,1901,1820,2053,2118,2008,1882,1845,1487,1709,2807,3870,3968,3919,4239,3815,3383,3151,3022,3091,3078,2802,2382,2876,3804,3837,3577,2646,2025,2337,2754,2836,2886,2326,2105,2099,2514,2454,2001,2567,2388,2087,1834,2046,2014,1742,1470,2022,2408,2667,1964,954,1194,1666,2410,2089,1810,1883,1858,2032,2510,2731,2841,2204,1827,1811,1768,1362,1374,1564,1440,1505,1479,1417,1438,1860,1866,1450,1396,1444,1360,1388,1424,1388,1410,1504,1671,1410,1356,1321,1417,1651,1816,1744,1543,1802,1963,1710,1436,1493,1613,1734,1983,1523,1929,1783,1548,1548,1532,1666,1735,1442,1544,1441,1165,1366,1616,2032,2013,1651,1600,1802,1810,1529,1559,1702,1545,2022,2292,2312,2258,1929,1970,1967,1786,1684,1705,1724,1620,1585,1564,1496,1509,1704,2161,1948,1729,1719,1873,1758,1718,1886,1944,2175,2419,2135,1875,1811,1737,2264,2408,1664,1541,1594,1494,1562,1615,1673,1639,1476,1555,1517,1521,1644,1627,1703,1655,1553,2244,3016,2338,1617,1772,2054,1702,1571,1510,1524,1432,1524,1458,1433,1398,1485,1611,1521,1554,1655,1638,1719,1697,1956,2282,2178,2079,1858,1468,1492,1482,1377,1283,1319,1385,1503,1945,1964,1602,1570,1874,1771,1798,1900,1723,1664,1672,1576,1418,1538,1896,2100,1709,1813,1902,1651,1677,1925,2007,1949,1411,1513,1860,1682,1922,2464,2220,1741,1500,1427,1470,1519,1529,1641,2057,1851,2350,2172,1526,1548,2012,2317,2498,2287,2145,2425,2545,2432,2355,2194,1736,2127,2849,3078,3066,2785,2526,2726,2753,2209,1816,1623,1668,1592,1592,1538,1533,1669,1642,1876,1776,1489,1435,1565,1592,1553,1501,1604,1560,1478,1376,1465,1704,1921,1586,1559,1655,1659,1638,1499,1386,1385,1517,1427,1381,1385,1582,1853,1646,1451,1596,1636,1680,1848,1748,1828,1983,1869,1675,2496,2925,2397,2609,2425,1729,1382,1363,1258,1290,1356,1278,1398,1408,1471,1580,1638,1642,1690,1566,1380,1340,1642,1854,1772,1976,1738,2395,2452,2209,2033,2178,2259,2316,2452,2440,2212,2142,1865,1384,1344,1360,1537,1669,2003,2339,2197,2005,2025,2440,2331,1653,1561,2084,2801,3071,3209,2592,2362,2229,2263,2536,2563,2388,1968,1749,1654,1610,2024,2740,2303,1764,1772,1998,1899,1957,1971,2026,2212,2072,1910,1828,1856,1577,1539,1440,2238,2760,2256,1890,1732,1610,1844,2532,2243,1982,1795,1848,2430,2446,2269,2009,1639,1494,1465,1492,1534,1499,1487,1511,1506,1789,1781,1899,2316,2085,1638,1549,1619,1485,1417,1425,1243,1475,1770,1895,2591,2478,1420,1620,1810,1927,1827,1614,1672,1780,1866,2408,2812,2496,2610,2236,2220,2570,2332,2174,1959,1574,2000,2286,1705,1544,1547,1614,1566,1405,1532,1504,1635,1984,2083,1736,1553,1466,1493,2114,2697,2734,2349,1765,1576,1751,2015,2382,2728,2465,2491,2220,2204,2332,1696,1710,1387,888,1093,1442,1426,1958,2206,2434,2718,2601,2280,1878,2166,2210,2396,3039,3071,2313,2253,2011,1624,1607,1464,1405,1654,1604,1957,2358,2362,1900,1936,2122,2268,2452,2004,1676,1603,1592,1638,1530,1638,1598,1769,2056,2267,2178,2085,2200,2254,2028,1742,1772,2030,2406,2665,2302,2253,1712,1507,1836,1907,2154,2708,2863,2044,2093,2845,2101,1636,2354,2634,1890,2231,2393,2523,2786,2819,2810,2502,2159,2498,2507,2290,1938,2007,2320,2950,3378,2905,2276,2319,2411,2342,2036,2146,2030,1637,1782,2156,1876,1700,1946,1895,2039,2634,2384,1695,1618,1868,2073,1931,1909,2508,2415,2192,1832,1703,1824,1615,1527,1676,1960,2486,2082,1207,1802,1825,1628,1979,1849,1763,1966,1524,1304,1316,1952,2426,1839,1989,2426,2055,1924,2420,2702,2554,2352,3025,3330,3129,3640,3684,3690,3582,2658,2142,2779,2292,1518,2204,2509,2329,2770,3130,2166,998,876,1149,1196,1438,1996,2034,1603,2309,2840,2866,2491,2154,1824,1306,1307,1722,1616,1466,1449,1618,1584,1324,1287,1247,1378,1672,1613,1309,1341,1444,1532,1395,1398,1452,1399,1581,1567,1461,1429,1459,1693,1676,1462,1460,1628,2007,2139,1952,1642,1588,1578,1832,1658,1439,1467,1318,1227,1483,1446,1353,1463,1385,1298,1423,1492,1656,1664,1526,1400,1478,1670,1748,1959,2253,2376,2709,2220,1739,1389,1268,1345,1424,1552,1588,1353,1549,1461,1434,1403,1379,1701,1730,1757,1856,2126,3203,3163,2067,1657,1446,1414,1236,1361,1797,2758,3538,3187,2619,1964,1568,1294,1265,1295,1396,1443,1409,1282,1207,1196,1582,1736,1311,1296,1412,1593,1591,1326,1426,1277,1198,1456,2063,1802,1353,1272,1208,1250,1228,1300,1444,1300,1290,1223,1415,1342,1277,1407,1385,1368,1427,1432,1390,1380,1338,1372,1755,1566,1431,1455,1694,2271,1991,1806,2363,2385,1941,1845,1944,2042,2052,2494,2366,1708,1584,1484,1552,1467,1504,1515,1349,1543,1753,1780,1620,1704,1531,1390,1450,1420,1393,1469,1587,1587,1485,1556,1742,1981,1683,1517,1406,1412,1499,1438,1990,1765,1550,1437,1403,1589,1538,1507,1882,1753,1432,1552,1936,2116,2127,1996,1754,1736,2597,2720,2047,2103,2078,1771,1565,1804,2316,2452,2657,2789,2354,1954,2048,2021,1895,2154,2336,2146,1712,2236,2248,1800,1859,1948,1786,1640,1841,2454,2950,2779,2540,2383,1876,1733,1677,1824,1882,2381,2687,2741,2664,2770,3033,2885,2904,3378,3499,3162,2529,2255,2482,2384,2464,2450,2144,2060,2121,2444,2409,2072,1804,2332,2119,1868,1654,2196,2885,2831,2204,1824,2174,2250,2464,2500,2441,2593,2580,3245,2580,1819,1805,1660,1883,2539,2678,1949,1557,1837,1876,1757,2115,2386,2540,2587,2568,2531,2420,2349,1871,1886,2520,2257,2342,2598,2640,2440,2151,2100,2175,2085,1870,1875,2020,2329,2045,1746,1860,1851,2649,2169,1608,1844,2050,1753,1869,2360,2276,2018,2082,1944,1994,2082,2034,1764,1828,2353,2625,2839,2612,2007,2417,2464,2109,2327,2894,2192,2238,2392,2336,2552,2300,2178,2420,2092,2336,2856,2497,2084,2466,3008,2468,2450,2799,2425,1797,2012,2366,2138,2392,2697,2687,2313,2117,2145,1904,1829,2057,2407,2151,2164,3005,3129,2434,2986,3746,3366,2258,1770,1955,2280,2329,2134,2183,2345,2132,2070,2330,2692,2618,2389,2745,2597,1985,1852,2029,2272,2496,2299,2078,2476,2632,2430,2664,2032],[3002,2777,2910,2938,2714,2449,2299,3010,3239,3043,2700,2468,2542,2684,2880,3190,3337,3206,2440,2357,2670,2784,2796,2957,2935,3067,3226,3284,2614,1582,1385,1362,1482,2218,3312,3716,3819,3406,2822,2579,2400,2706,3349,3615,3934,4038,3898,3830,3775,3889,3895,4069,4188,4336,3993,3179,2372,2484,2908,2643,2469,2209,3151,3884,3884,3078,2999,3097,2540,2722,3211,3597,3633,3511,2668,2187,2652,3043,2947,3142,3740,3921,3086,2484,3187,3759,3727,3659,3880,4085,4132,4083,3983,3995,3558,3264,3231,3139,3241,2785,2098,1631,1760,2016,2922,2714,2240,2009,2160,2181,2025,2155,2558,2795,3107,3406,3777,3676,3485,3404,2552,2265,2687,3238,3806,3262,2210,1867,1677,2187,2401,1991,1416,1577,1576,1408,1627,1674,1943,1813,1514,1746,2185,2720,3294,3349,2829,2059,1724,1897,2032,1759,2212,2320,2146,2309,2019,1825,2247,2120,1978,2751,2393,2017,1755,1951,1757,3476,3587,1591,1706,2063,1754,1813,2133,2049,1701,1748,1549,1432,1935,2190,2238,2407,2700,2843,2272,1854,1960,1991,1652,1390,1658,1837,1873,1767,1544,1398,1488,1957,1952,1470,1536,1439,1621,1490,1403,1745,2191,2505,2459,2110,1916,2099,1754,1760,1681,1785,1787,1803,1895,2901,2618,2357,1955,1692,1630,1334,1439,1424,1590,2409,1789,1578,1958,1864,1645,1514,1497,1515,1443,1558,1513,1548,1549,1637,1644,1811,1956,1608,1861,2820,2593,1974,1927,2122,2142,1807,1650,1418,1424,1330,1261,1361,1305,1403,1641,1631,1506,1327,1356,1628,1570,1553,1643,1517,1412,1441,1521,1625,2158,2428,2346,2555,2663,3166,2730,1859,2151,2415,2232,2487,2581,2059,1834,1957,2411,2362,1958,1725,1732,1743,1603,1598,1595,1447,1453,1554,1794,1740,1828,2039,2059,1924,1583,1434,1419,1562,1874,1738,1444,1652,1693,1786,1669,1612,1820,1797,1593,1543,1782,1678,1810,1859,1918,1921,1726,1577,1491,1319,1450,1547,1827,3437,4200,4113,3243,1738,1395,1636,1733,1965,1667,1224,1147,1222,1753,1932,2209,2698,2214,2448,2504,2009,3061,3852,3083,1695,1609,1726,1655,1926,1908,1621,1482,1547,1556,1751,1758,1612,1641,1614,1760,1913,1665,2163,2435,2479,2263,2083,2186,1915,1707,1755,1598,1572,1557,1869,1690,1575,1641,1623,2282,2089,1907,1995,2063,1875,1658,1604,1707,1700,1677,1493,1403,1349,1405,1425,1731,1659,1682,1841,1758,1543,1497,1523,1463,1526,1805,2046,2148,1990,1793,1669,1678,1926,1890,1542,1680,2341,2463,2166,1821,2010,1992,1878,1621,1352,1438,1465,2159,3011,3360,3240,2692,2675,2198,1748,1756,1660,1678,1780,1867,2058,1980,2125,2576,2326,1964,2151,2353,2263,1854,1906,1882,1963,1641,1628,1516,1475,1519,1569,1954,2144,2520,2110,1744,1618,1567,1425,1627,1572,1714,1786,1703,1555,1273,1467,1897,1765,1809,1588,1918,2005,1886,1670,1584,1590,1470,1677,1904,1522,1484,1666,1577,1604,1648,1460,1437,1389,1504,1700,1812,1677,1449,1594,2197,2766,2203,2230,1792,1509,1445,1667,1600,1608,1719,1556,1676,1775,1598,1511,1641,1750,1584,1573,1713,1603,1507,1452,1792,1974,1575,1757,1934,1766,1594,1670,1609,1784,1952,1470,1513,1803,1705,1767,1928,1971,2010,2105,1800,1945,1999,1900,1598,1765,1871,2278,2257,1620,1701,1771,1694,1620,1809,1601,1571,1636,1527,1802,2007,1913,1868,1681,1736,1986,2247,2358,2526,2571,2153,1951,2090,2116,2086,1970,1670,1610,1539,1491,1834,2669,3222,2963,3152,2632,3004,3382,3259,3090,3068,3101,2966,3066,3893,4109,3924,2795,2153,2782,3198,2986,3055,2665,1847,1787,2112,2386,2348,2799,2302,2001,1669,2009,2560,2176,1453,1733,2212,2522,2298,1035,1203,1391,2483,2124,1885,2258,2814,2457,1891,2235,2330,1951,1902,1992,2147,1598,1378,1675,1437,1720,1650,1398,1472,1872,1832,1492,1505,1420,1403,1370,1290,1207,1486,1687,1641,1627,1629,1609,1492,1452,1511,1629,1595,1754,1829,1826,1506,1710,1647,1620,1768,1695,1831,2002,2081,1833,1927,1704,1452,1338,1487,1363,1502,1693,1531,1844,2136,1819,1583,1726,1760,1863,1929,1538,1921,2793,2877,2785,2645,2099,1844,1911,1865,1838,1727,1519,1620,1747,1799,1721,1582,1641,1873,1693,1655,1900,2080,2348,2210,2058,2018,2180,1869,1884,2060,1889,1723,2115,1952,1561,1673,1803,1829,1834,1738,1696,1792,1722,1673,1722,1818,1813,1776,1812,1880,1669,1854,2627,2444,1972,1828,1813,1603,1557,1739,1609,1418,1324,1433,1587,1408,1401,1543,1567,1730,1818,1815,1615,1497,2018,2374,2383,2627,2207,1441,1473,1495,1506,1447,1378,1311,1450,1809,1854,1551,1538,1810,1714,1745,1903,1681,1450,1459,1356,1316,1353,1593,1518,1293,1386,1506,1592,1903,2132,1758,1719,1431,1386,1489,1526,1893,1946,1721,1555,1372,1470,1761,1643,1632,1989,2584,2073,2328,1805,1687,2171,2567,2602,2400,2154,2046,2170,2244,2284,2192,2182,1931,2212,2929,3358,3270,3049,2777,2736,2383,1611,2027,1819,1548,1445,1569,1421,1880,1970,1805,2010,1984,1624,1459,1710,1599,1656,1530,1608,1532,1770,1527,1412,1774,1694,1496,1460,1352,1345,1476,1361,1297,1296,1428,1367,1374,1369,1432,1569,1709,1845,1998,1837,1582,2046,2159,1992,1620,1509,1745,2491,3114,3025,2714,2391,2047,1819,1328,1250,1226,1303,1204,1290,1346,1273,1550,1645,1484,1579,1772,1843,1840,1862,1798,1640,1845,1815,1777,2336,2272,1989,2315,2073,1834,1875,2031,2188,2200,2247,2402,1963,1851,1853,1874,1941,2024,1977,1645,1841,2386,2283,2153,2229,2909,3044,2252,2121,1958,2040,2223,2362,2453,2691,2448,2122,1525,1014,793,1072,2193,2219,2076,1980,1838,1902,2355,2381,2068,2153,2240,2288,2047,1975,1624,2062,2297,2753,2570,2316,1957,1489,1649,2188,2605,1929,2265,1909,1856,2461,2526,2204,1893,1583,1396,1483,1694,1628,1571,1356,1425,1529,1600,1803,1767,1573,1540,1440,1404,1351,1208,1373,1502,1620,1790,1874,2072,2716,2144,1658,1925,1954,1778,1964,2578,2368,1907,2420,2589,2542,2580,2722,2186,2222,2729,2395,1969,1935,1983,2128,2093,1804,1531,1459,1688,1823,1711,1537,1703,1825,1610,1657,1639,1526,1426,1381,1798,2149,2247,1907,2150,2014,1566,1544,2398,2878,2611,2570,2078,2318,1886,1498,1596,1321,1035,1448,1460,1458,2370,2469,2764,2932,2580,2386,2282,2046,2178,2447,2759,2562,1928,1978,1903,1400,1560,1823,1986,2028,1725,2133,2386,2361,2071,2097,2522,2640,2410,2084,2002,1783,1662,1614,1304,1703,2011,2351,2068,2288,2395,2220,2200,1970,1632,1589,1991,1954,1910,1974,1951,2047,1608,1827,2261,2353,2214,1945,1903,2154,2376,2254,2062,2352,2702,2280,2076,2691,2494,2588,2799,2484,2396,2305,2182,2663,2480,2542,2098,2015,1898,2373,2568,2310,2165,2133,2324,2114,2048,2081,2189,2223,2377,2929,2265,1888,1902,1758,1863,2391,2464,1686,1593,1630,1770,1981,2253,2458,2260,1982,1938,1805,1665,1641,1724,2084,3161,3874,3208,1902,2012,1888,1915,2160,1992,1929,2057,2242,2171,1726,1920,2193,1876,2054,2424,2352,2186,2482,2898,3087,3177,3483,3189,3307,3716,3657,3695,3208,2165,2044,2598,2344,1700,2026,2574,2420,2684,3167,2330,1101,934,1253,1254,1387,1957,2069,1964,2198,2358,2395,2241,2035,1699,1483,1305,1377,1352,1430,1412,1353,1387,1491,1384,1328,1450,1406,1346,1231,1280,1390,1500,1409,1319,1348,1288,1549,2060,2030,1604,1603,1867,1516,1392,1543,1603,1892,2193,1899,1537,1672,1811,1654,1534,1456,1373,1252,1194,1657,1848,1866,1568,1264,1297,1396,1455,1685,1870,1679,1651,2008,1611,1930,2032,1617,2064,2428,2132,1671,1318,1299,1459,1483,1874,2005,1498,1722,1692,1737,1598,1404,1958,2522,2863,2820,3028,3287,2490,1759,1321,1388,1495,1310,1209,1280,2348,2656,2182,2061,1845,1871,1546,1367,1411,1539,1466,1341,1276,1242,1307,1477,1382,1309,1505,1548,1394,1213,1278,1276,1238,1272,1595,1759,1384,1203,1215,1176,1183,1158,1207,1160,1233,1355,1318,1610,1391,1251,1310,1269,1312,1521,1773,1587,1388,1191,1333,1580,1646,1568,1578,1943,2267,2277,2123,2258,2172,1980,1937,2305,2752,2440,2592,2127,1947,1769,1419,1451,1457,1542,1472,1481,1632,1558,1746,2182,2465,1926,1544,1455,1343,1337,1506,1532,1399,1504,1714,1739,1839,1368,1348,1377,1668,1731,1858,1989,1791,1705,1670,1879,1896,1493,1107,1416,1992,1720,1882,2459,2658,2362,2159,2051,1727,1874,2361,2231,2397,1924,1755,1730,1807,1417,1104,1342,2008,2287,2047,1960,2080,1729,1460,2025,2066,2171,2285,1848,1857,2047,1722,1578,1984,2637,2803,2887,3110,2527,1782,1619,1555,1562,1599,1775,2101,2147,2328,2593,2762,2780,2744,2786,3146,3100,2581,2200,2224,2195,2229,2337,2065,1929,1982,2342,2851,2357,2026,1969,1889,1908,1860,1823,2592,2820,2054,1820,2333,2308,1935,2067,2191,2265,2527,2531,2898,2556,1888,1880,1763,1813,2232,2620,2136,1723,1912,2009,2072,1950,1779,2214,2320,2081,2115,2007,2080,2065,2272,2545,2030,1696,1941,2191,2187,2242,2510,2706,2099,1733,1914,1850,2230,2386,2071,1638,1717,2007,1966,1688,1665,1708,2199,2451,2592,2542,2820,3236,2858,2592,2287,1740,1693,1970,2136,2088,2208,1929,1898,2366,2555,2018,2178,2677,2340,2513,2688,2583,2667,2274,1842,2781,2460,2107,2051,2077,1885,2056,2646,2447,2186,2496,2724,2205,2064,2364,2156,2737,2646,2618,2378,2033,2057,2254,2229,2291,2612,2608,2712,3584,3706,2778,2910,3199,2587,1955,2382,2604,2409,2535,2530,2814,2898,2480,2024,2450,2680,2302,1994,2244,2002,1821,1832,1701,1610,1681,1748,1968,2246,2370,2544,2853,2667],[2918,2718,2852,2937,2813,2466,2177,2777,3320,3141,3043,3449,3323,2786,2608,2920,2644,2790,3028,2807,2711,2698,2843,2810,2846,3063,2908,2666,1897,1408,1305,1309,1305,1889,3307,3732,3768,3792,3254,2539,2309,2453,2802,2547,3122,3739,3946,3881,3828,3870,4027,3994,4009,4207,3946,2842,2128,2573,3051,3096,3217,2177,2496,3765,3566,2143,2031,2501,2245,2631,3204,3714,3386,2820,2072,1948,2364,2652,2601,2729,3090,3059,2563,2221,2930,2991,3072,2939,2924,3142,3334,3387,3177,2951,2705,2812,2862,2652,2793,3002,2496,2115,1958,2403,3237,3418,2824,2498,2609,2175,1738,2103,2210,2454,3024,3343,3721,3829,3514,3527,3350,3071,2985,3448,3992,2912,2056,1913,1959,2451,2243,1928,1729,1702,1480,1520,1624,1750,1787,1556,1356,2034,2713,2578,2408,2045,2491,1932,1432,1664,1535,1509,1860,2079,2240,2126,2045,1991,2031,1679,1624,2069,1950,1682,1999,1996,1908,2736,2610,1967,1959,2331,2061,2281,1940,1449,1534,1684,1473,1546,2049,2481,2352,2291,2352,2721,2027,1498,1899,2254,1732,1422,1771,2145,2163,1765,1512,1407,1494,1744,1743,1664,1582,1440,1394,1265,1516,1977,2163,1786,1456,1387,1980,2468,1699,1816,1580,1520,1686,1887,2012,2153,2177,1833,1507,1615,1273,1226,1416,1449,1606,2146,1669,1538,1436,1411,1787,1793,1644,1714,1592,1533,1661,1576,1438,1571,1632,1927,1830,1463,1608,1717,1626,1805,1576,1465,1572,1567,1311,1371,1366,1267,1302,1444,1537,1575,1588,1549,1494,1468,1584,1670,1531,1827,1991,1982,1838,1601,1496,1398,1420,1566,2021,2297,2670,2956,2270,1729,2173,2002,2265,2609,2518,2061,1644,2010,2473,2113,1704,1748,1866,1826,1620,1443,1476,1559,1968,2371,2174,1878,1879,1934,1890,1770,1559,1396,1548,1656,1946,1924,1799,1815,1766,1556,1462,1701,1929,1688,1466,1456,1622,1545,1660,1802,1742,1921,1882,1738,1712,1485,1658,1693,2157,3553,3618,3514,2579,1714,1495,1566,1695,1625,1400,1245,1169,1436,2184,2303,2640,2886,2176,2343,2942,2906,2845,3191,2453,1409,1481,1477,1466,1545,1802,1669,1531,1428,1371,1518,1544,1542,1682,1542,1739,1881,1886,2327,2432,2658,1994,1926,2513,2339,1756,1775,1838,1560,1599,2431,1746,1814,1870,1663,2091,2231,2082,1982,2058,1947,1894,2457,2853,2276,1656,1403,1373,1349,1391,1516,1770,1736,1918,2103,2116,1677,1423,1481,1424,1332,1674,1985,2147,1877,1629,1555,1612,1680,1709,1457,1671,2194,2072,1780,1721,2031,2238,2002,1568,1375,1390,1443,2222,3520,4072,3440,2820,2473,1865,1497,1521,1428,1470,1603,1603,1620,1627,1720,1776,1798,2116,2171,2183,2292,1924,1894,1824,1663,1640,1568,1434,1536,1451,1624,1775,1997,2706,2002,1830,1653,1487,1449,1522,1621,1533,1535,1435,1250,1206,1345,1943,1763,1576,2060,2266,1931,1730,1498,1440,1677,1695,1714,1550,1568,1649,1765,1582,1556,1477,1574,1526,1456,1779,1769,1607,1460,1340,1336,2206,2783,2270,2745,2304,1482,1608,2056,1946,1924,1558,1313,1538,1761,1860,1992,1863,1740,1626,1697,1762,1786,1986,1935,1870,1892,1587,1712,1930,1821,1531,1403,1498,1953,1808,1571,1958,1874,1750,2267,2170,1977,2283,2098,1746,1737,1719,1838,1765,1544,1680,1980,1836,1539,1555,1664,1528,1508,1589,1592,1521,1607,1702,1771,1711,1697,1899,1989,2430,2961,3243,2789,2691,2433,2116,2097,1895,1608,1788,1827,1484,1553,1587,1595,1598,1764,2633,2885,2331,2013,2418,2818,2786,2417,2602,3000,3104,2973,3168,3334,3363,2489,2456,3030,3378,3742,3692,2886,1553,1869,2833,3332,3179,3019,2394,1903,1870,2561,2983,2614,1960,1644,2374,2513,2310,1074,1108,1167,2348,2530,2059,2288,3304,3007,1782,1615,1737,1807,1993,2305,2873,1796,1432,1970,1715,1827,1608,1443,1780,1959,1902,1557,1276,1516,1554,1375,1319,1277,1650,1662,1719,1677,1762,1991,1673,1396,1124,1510,1781,1842,1831,1472,1390,1920,1926,1636,1865,2453,2668,2313,2130,1876,1837,1794,1641,1577,1551,1485,1519,1570,1692,1887,2191,1988,1573,1610,1850,1995,1573,1348,1838,2634,2777,2512,2532,2285,2237,2263,2194,1778,1460,1758,2446,2317,2241,2081,1727,1525,1479,1397,1650,2292,2216,2340,2021,2571,1969,2022,1759,2179,1954,1393,1550,1692,1478,1371,1586,1682,1303,1106,1331,1419,1606,1529,1382,1542,1694,1662,1778,1702,1852,1914,1712,1849,2187,2168,1887,1802,1488,1543,1736,1574,1499,1445,1560,1627,1474,1445,1507,1584,1646,1706,1853,1685,1858,2265,2026,2041,2481,1931,1441,1411,1384,1518,1588,1535,1288,1394,1604,1458,1295,1383,1613,1676,1755,1860,1651,1824,1652,1431,1483,1336,1380,1362,1345,1409,1404,1405,2033,2286,1776,1436,1339,1258,1366,1475,1576,1560,1447,1465,1346,1396,1449,1576,1898,2598,2246,2127,1914,1659,1921,2177,2496,2442,2314,2185,2126,2161,2088,1943,2002,2026,1920,2198,2928,3385,3152,2937,2844,3039,2632,1799,2382,2427,1746,1516,1508,1589,2121,2002,1608,1570,1283,1353,1699,1845,1618,1556,1485,1847,1640,1592,1470,1425,1615,1738,1626,1336,1410,1458,2217,1582,1477,1488,1416,1465,1516,1521,1589,1558,1775,1953,2214,1972,1787,2214,2276,1769,1409,1367,1465,2109,2824,2837,2440,2059,1898,2003,1420,1396,1289,1241,1250,1318,1346,1282,1511,1757,1666,1772,1820,1659,1498,1488,1484,1983,1966,1493,1334,1962,2161,2105,2392,1833,1996,1854,2014,2581,2592,2881,3564,3059,2676,2293,1824,1698,1688,1932,1823,2294,2323,2613,2368,2500,2755,2249,1654,1845,2078,2170,2820,2872,2420,2145,1835,2132,1548,1009,910,1559,2525,2330,1792,1724,1787,2244,2386,2075,2332,2123,2044,1927,1398,1617,1990,2221,2304,2197,2535,2644,1866,1640,2115,2242,2030,1583,1637,1707,2054,2242,2036,1771,1585,1356,1347,1546,1607,1776,1662,1435,1538,1651,1513,1431,1407,1592,1682,1416,1441,1363,1269,1498,1428,1708,1750,1750,2075,2292,2111,2043,1908,2122,2054,2259,3282,3063,2586,2929,2824,2526,2530,2243,2023,2381,2759,2755,2526,2306,2409,1640,1396,1872,1600,1408,1633,1920,1786,1637,2093,2182,1482,1783,1942,1943,1574,1452,1397,1643,1840,1631,1961,2201,2118,2271,2562,2384,2335,2387,2223,2338,1661,1582,1642,1373,1422,1636,973,1630,2774,2075,2788,2552,2372,2274,2381,2142,2330,2299,2016,1952,2210,2542,2141,1564,1676,1906,1989,1955,1616,1669,1786,2332,2403,2579,3153,3064,2520,2120,2175,1882,1650,1262,1374,1600,1543,1503,1660,2208,2341,2255,1976,1570,1470,1554,1783,1866,1914,1810,1810,1885,2097,2430,2515,2637,2705,2385,2431,2527,2289,1561,2298,2566,2272,2303,2725,2732,2570,2837,2768,2757,2354,2409,2624,2545,2209,2294,2147,2122,1902,2065,2264,1908,1670,2224,2114,1633,2002,2317,2449,2290,2540,3150,2762,2260,1966,1913,1885,2212,2118,1589,1419,1388,2164,2214,1733,1756,1802,1759,1924,1985,1672,1746,1988,2265,3196,3681,3274,2114,1992,1983,1992,2122,1870,1695,1942,2365,2778,1886,1673,1840,1830,2153,2393,2254,2353,2400,2217,2198,2523,2603,2400,3328,3528,3251,3175,2548,1875,1944,2443,2362,1826,2266,2934,2481,2624,3115,2383,1187,847,1144,1225,1330,1884,2112,1896,1796,1760,1919,1973,2003,1699,1652,1638,1645,1599,1415,1365,1407,1457,1495,1403,1362,1507,1556,1457,1345,1364,1413,1443,1396,1318,1251,1237,1532,1894,2142,2086,1858,1772,1465,1452,1487,1596,1634,1892,1785,1422,1473,1539,1857,1792,1527,1191,1186,1274,1847,2230,2285,1844,1398,1478,1427,1477,1698,1836,1601,1665,1792,1406,1826,2123,2146,2812,2918,2088,1503,1464,1390,1455,1487,1936,1569,1443,1676,1575,1603,1416,1689,2388,2750,3022,3799,3580,2701,2337,1670,1441,1577,1363,1243,1265,1810,2627,1932,1738,1892,1608,1684,1624,1421,1464,1410,1321,1347,1326,1387,1407,1340,1418,1695,1742,1415,1295,1376,1434,1293,1221,1195,1214,1254,1197,1166,1235,1250,1232,1238,1242,1164,1204,1341,1305,1438,1412,1264,1215,1250,1346,1510,1725,1495,1451,1428,1565,1722,1664,1743,1840,1863,2175,2402,2440,2736,2651,2218,1837,2160,2641,2293,2192,1866,2231,2108,1464,1512,1813,1911,1636,1589,1682,1386,1785,2553,2633,2622,2321,1714,1331,1391,1450,1497,1510,1415,1476,1699,1626,1488,1567,1700,2039,2168,2213,1930,1853,1924,1824,2359,2344,2193,1983,1773,2302,1694,1680,2175,2478,2183,2397,2148,2148,1863,2042,2374,2531,2427,2310,2111,1953,1676,1742,1863,1882,2127,2168,2093,2047,1799,1499,1654,1891,2102,2355,2459,2002,1805,1704,1799,2120,2380,2284,2580,2706,2186,1779,1738,1682,1562,1483,1744,1920,1830,1756,1675,2396,2698,2379,2387,2566,2639,2763,2909,2941,2540,2777,2620,1992,1765,1862,2717,2995,2490,2072,2077,2177,2047,1925,2450,2588,2045,2254,2331,2098,2221,2348,2573,2253,2345,2693,2609,2656,2104,1462,1556,1655,1648,1934,2391,2063,1782,1958,2346,2562,2069,1984,2778,2736,2304,2029,1775,1979,2059,2056,1906,1779,1697,1861,1987,1931,1924,2171,2466,1954,1866,1662,2181,2835,2919,2383,1802,1758,2258,2126,1615,1773,2097,2464,2711,3242,3574,3597,3584,3309,2573,1738,1499,1565,1693,1798,1987,1948,1792,1994,2102,2299,2202,2367,2587,2634,2635,2272,2352,2435,2385,1538,2443,2658,2147,1925,2227,2054,2106,2430,2294,2100,2799,3492,2833,2323,2285,2297,2328,2371,2680,2552,2218,2307,2607,2674,2587,2630,2663,2765,3465,3056,2745,2546,2156,1654,1650,2382,2535,2518,3042,3106,3041,2761,2700,2628,2830,2866,2258,2192,2269,1954,1659,1758,1626,1468,1561,2124,2429,2510,2789,2990,2941,2765],[2726,2524,2749,2862,2877,2542,2192,2443,2824,2711,2717,3371,3275,2754,2553,2757,2932,3067,3161,3046,2912,3056,3116,2788,2762,2858,2580,2029,1517,1335,1244,1266,1225,1985,3316,3732,3749,3912,3838,3453,3106,2497,2580,2387,2966,3710,3793,3672,3570,3793,3536,3053,3255,3520,3369,2573,2062,2550,3087,2938,3074,2242,2447,3614,3058,1985,2675,2674,2250,2501,3130,3496,3099,2620,2504,2231,2164,2427,2380,2226,1962,1672,1562,1885,2786,3129,3156,3204,3167,3095,3005,2975,3171,2812,1828,1797,2369,2532,2562,2507,2581,3162,3262,2871,3229,3605,3095,3164,2662,1841,2146,2459,2242,2763,3377,3668,3254,2467,2146,2588,2799,2579,2298,2285,2780,2102,1892,2082,2338,2498,2408,2270,2258,1897,1543,1434,1392,1704,1694,1559,1797,2681,3313,2679,2347,2350,2431,1924,1425,1424,1837,2094,1731,1907,1989,2187,2275,1895,1729,2056,1986,1666,1509,1700,1973,1614,1791,2475,2673,1920,1896,2198,2178,2314,1951,1561,1621,1747,1997,2426,2552,2701,2503,2263,1794,1922,1887,1564,1959,2042,1660,1688,1903,2047,1914,1511,1385,1352,1437,1651,1742,1786,1521,1717,1755,1462,1558,1697,1691,1547,1535,1564,1765,1813,1814,1709,1736,1693,1646,1956,2028,1778,1675,1569,1743,1679,1372,1610,1779,1632,1730,1660,1490,1496,1470,1857,2120,1814,1716,1890,1622,1417,1527,1459,1507,1571,1575,1766,1696,1447,1687,1981,1982,1936,1481,1517,1585,1457,1410,1426,1407,1422,1465,1693,1815,1796,1521,1317,1251,1490,1570,1741,1679,1738,1886,2192,2068,1616,1532,1490,1507,1593,1642,2003,2346,2096,1983,1974,2128,1967,1878,2000,2415,2473,1765,2187,2679,2026,1628,1787,1862,1803,1990,1790,1499,1654,2295,2500,1684,1661,2117,1806,1772,1938,1747,1415,1477,1588,1655,1689,1647,1588,1449,1427,1500,1793,1759,1659,1420,1205,1417,1475,1692,1686,1415,1459,1492,1471,1557,1438,1737,1310,2214,3212,3041,2641,2017,1568,1561,1515,1614,1858,1853,1603,1994,1980,2553,2712,2666,2877,2754,2516,2845,2959,2778,2451,2057,1929,2082,1839,1727,1661,1519,1522,1695,1577,1234,1236,1576,1591,1558,1601,1566,1551,1643,2279,2796,1901,1121,1419,2233,2662,2066,1903,1942,1539,1754,2134,1956,1777,1685,1563,1569,1792,1809,1719,1818,1976,2109,2874,3459,2719,1751,1466,1438,1409,1335,1329,1333,1570,1776,1753,1694,1637,1604,1655,1632,1655,1827,1902,1741,1643,1693,1883,1909,1878,2125,1811,1638,1692,1526,1508,1840,2169,2396,2251,1894,1499,1394,1449,1839,2957,3815,3081,2580,2412,1941,1495,1448,1678,1858,1700,1750,1709,1757,1737,1980,2078,2333,2136,2090,2090,1832,1685,1614,1646,1722,1534,1769,1555,1510,1493,1675,2137,2385,2091,2127,1957,1654,1588,1538,1512,1549,1497,1278,1586,1737,1561,2165,2105,1677,1836,1854,1802,1887,1622,1506,1503,1538,1620,1426,1365,1688,1775,1535,1448,1554,1694,1642,1699,1866,2128,1891,1430,1128,1180,2272,2531,2756,3185,2297,1479,1870,2314,2055,2067,1514,1592,1624,1606,1732,1642,1710,1768,1603,1698,1915,2346,2526,2206,1819,1638,1635,1909,1912,1749,1666,1497,1544,1637,1615,1782,2345,2512,2072,1963,1937,1881,2266,2121,1670,1793,1630,1537,1820,1747,1819,1773,1616,1834,1700,1755,1598,1514,1693,1577,1418,1516,1569,1493,1565,1708,1805,2336,3110,3710,4051,3442,2495,1874,2004,2289,1962,1572,1532,1607,1694,1548,1515,1471,1368,1430,2463,3218,2502,1766,1916,2767,2809,2168,2373,2743,2519,2240,2028,1970,2357,2256,2523,2836,2876,2955,2708,2091,1646,1903,2824,2904,3078,3216,2525,1813,1847,2741,3504,3124,2541,1711,2405,2545,2279,1201,1047,1188,2014,2522,2223,2211,2835,2883,2319,1978,2113,1972,1840,2742,3419,2629,2619,2625,2017,1595,1584,2052,2321,2096,1824,1500,1040,1448,1634,1748,1722,1614,1620,1593,1508,1454,1548,1715,1753,1584,1090,1353,1758,1648,1538,1516,1495,1868,2044,1807,1977,3108,3850,3042,1802,1382,1472,1728,1958,1980,2318,2662,1956,1671,2051,1872,2178,2005,1772,1838,1832,1816,1612,1455,1533,2325,2846,2740,2991,2798,2601,2373,2213,1771,1729,2065,2474,2107,2082,2492,2223,1609,1537,1359,1226,1748,1989,1881,1918,2075,1791,1782,1773,1675,1412,1614,1752,1523,1470,1392,1447,1510,1418,1317,1379,1375,1416,1493,1267,1192,1500,1483,1477,1527,1767,1920,1600,1684,1903,1758,1944,2034,1601,1486,1517,1823,1811,1765,1597,1393,1381,1515,1615,1745,2013,2372,2184,1992,1694,1866,2031,2110,2293,2128,1683,1412,1344,1663,1780,1593,1486,1511,1361,1279,1232,1350,1583,1827,1837,1875,1835,1802,1571,1550,1460,1187,1300,1424,1665,1561,1438,1859,2224,2387,1990,1482,1318,1281,1390,1377,1360,1372,1404,1511,1328,1439,1445,1647,1923,1910,2021,2096,1865,2266,2086,1866,2311,2238,2139,2125,2238,2207,1828,1553,1752,1920,1975,2028,2415,3110,3009,2941,2944,3155,2778,2542,2684,2337,1823,1691,1698,1816,1684,1548,1412,1457,1356,1870,2201,2056,1647,1483,1627,1793,1833,1717,1443,1328,1411,1709,1544,1522,1576,1470,1926,1675,1611,1605,1503,1485,1643,1711,1767,1744,1867,1867,1999,1917,2195,2392,2348,2033,1755,1685,1478,1671,1924,1615,1473,1403,1737,2069,2082,1970,1588,1392,1412,1388,1455,1466,1427,1417,1436,1537,1503,1497,1588,1648,1603,2285,2111,1253,1395,1791,1695,1627,1860,1738,1759,1703,2221,2495,2473,2601,3043,3193,2721,2542,2261,1873,1630,1857,2000,2059,2517,3012,2225,2118,2478,2084,1498,1803,1832,1910,2457,2693,2193,2022,2289,2095,1663,1504,1682,2301,2715,2469,1731,1510,1735,2254,2151,2358,2448,2292,2090,1838,1345,1786,2431,2338,2338,2235,2571,2147,2002,2363,2294,1958,1717,1632,1860,2167,2322,2048,1634,1837,2088,1886,1886,2025,1737,1975,1675,1381,1482,1714,1627,1429,1721,2019,1986,1568,1463,1287,1296,1402,1500,1629,1902,1836,2373,2493,1660,1525,1556,1854,2428,2758,2935,2768,2408,2360,2205,2364,2625,2502,2344,2124,2090,2537,2812,2658,2535,1881,1539,1802,2006,2008,2292,2128,1578,1651,1883,1887,1336,1750,1927,1868,1681,1538,1485,1680,1742,1752,2209,2348,2172,1958,1983,1884,2286,2172,2307,1821,1699,2092,2213,2049,2036,2048,1317,2144,3313,2917,2757,2081,2046,2154,2039,1890,1738,2010,2279,1981,1937,2145,2496,1927,1981,2143,2521,2258,1809,1502,1437,1959,2277,2319,2402,2109,2068,1985,1798,1841,1656,1521,1953,2061,1764,1669,1890,2384,2342,2083,1920,1659,1542,1583,1809,1725,1719,1595,1559,1802,2240,2287,2031,2190,2690,2741,3260,2493,1965,2042,2853,3035,2735,2808,2745,2155,2548,2818,2576,3134,2771,2154,1867,2020,2220,1971,1768,1859,2017,2186,2578,2130,2167,2389,2024,1689,2194,2096,2072,2020,2113,2541,2734,2492,2256,2084,2070,2138,1927,1959,1707,2012,2732,2212,1698,1730,1719,1622,1771,2082,1797,1752,1909,1862,2232,3010,2957,2122,1731,1813,2171,2018,1655,1614,1547,1816,2390,1926,1788,1889,1845,2119,2249,2066,2179,2191,2161,1944,2059,2049,2363,3355,3400,3051,2832,2156,1770,1880,2524,2853,2880,3016,3265,2564,2510,2928,2210,1169,865,1089,1183,1247,1780,2081,1904,1859,1749,1801,1926,2117,2111,2293,1960,1665,1709,1363,1321,1465,1373,1325,1378,1384,1390,1296,1448,1380,1361,1445,1415,1452,1385,1256,1441,1567,1415,1349,1577,1838,1524,1432,1510,1469,1892,2100,1572,1422,1335,1281,1485,1932,1721,1472,1493,1554,1631,1947,2214,2477,2116,1433,1479,1686,1730,1676,1529,1330,1468,1435,1451,1611,1703,1824,2103,2430,2148,1764,1470,1380,1443,1404,1499,1414,1365,1389,1395,1423,1587,1993,2003,2049,2879,3831,3248,2567,2032,1509,1486,1589,1530,1317,1189,1815,2407,1574,1850,1923,1579,1374,1356,1403,1391,1396,1357,1282,1373,1560,1490,1350,1354,1882,1679,1307,1388,1778,1870,1568,1337,1296,1154,1219,1225,1184,1227,1258,1304,1351,1402,1266,1208,1300,1295,1349,1416,1404,1482,1529,1538,1527,1523,1344,1416,1683,1764,1675,1601,1936,2037,1784,1784,2223,2378,2352,2529,2337,1775,1909,1937,1811,2013,1926,1896,1781,1484,1628,2068,1783,1626,1741,1694,1545,2209,2536,2702,3388,3231,2263,1643,1501,1417,1543,1735,1434,1448,1538,1405,1505,1695,1677,1769,2249,2008,1559,1533,1588,1760,2502,2501,2379,2144,1737,1737,1810,2019,2291,2323,2026,2217,2330,2804,2096,1933,2197,2478,2678,2175,2392,2702,2360,2403,2010,1722,2219,2625,2658,2206,1883,1882,1809,1787,1659,2060,2594,2326,2032,1870,2044,2250,2200,2154,2258,2151,2124,2270,2071,1820,1629,1447,1706,1848,1821,1659,1447,2192,2459,2169,2437,2402,2620,3297,3218,3153,2864,3034,2394,1777,1776,2192,2889,2718,2729,3301,3226,2733,2281,2334,2667,2316,1767,2298,2285,2362,2642,2548,2513,2404,2425,2230,2206,2287,1919,1512,1629,1594,1524,1951,2352,1970,2199,2553,2186,2185,2044,2343,3025,2855,2115,1855,1801,1781,1953,1760,1994,2381,1967,2250,2556,1988,1616,1641,1854,1835,1688,1689,2356,2829,2799,2578,2085,2018,2563,2404,2000,2365,3076,3055,3340,3904,4125,3684,3375,3153,1928,1602,1723,1660,1808,2071,2163,1998,1818,1815,1842,2152,2470,2693,3065,3024,2332,2194,2255,2667,2804,2327,2530,2521,2313,2366,2724,3086,3069,2399,2379,1963,2213,2872,2945,2853,2887,2667,2629,2798,2493,2025,2014,2165,2593,2504,2366,2534,2696,2688,2653,2167,2461,2373,1691,1532,1657,1718,2107,2522,2884,3087,2785,2592,2843,2442,2675,3199,2817,2264,2237,2386,1638,2061,2298,1736,1410,1941,2253,2431,2369,2312,2589,2727],[3089,3067,3120,2838,2791,2558,2119,2149,2109,2077,2645,3118,2916,2633,2684,2851,3198,3342,3178,2988,2940,3104,3003,2798,2806,2683,2364,1727,1408,1281,1334,1412,1268,1753,2876,3122,2957,3202,3729,3806,3542,2598,2709,2556,2928,3726,3588,3340,3054,3253,2941,2551,2357,2673,2987,2731,2889,3316,3171,3011,2873,2584,2908,2972,3077,2421,2190,2120,1861,2273,3121,3212,2258,2282,3089,2824,2380,2287,2292,2145,1980,1931,2024,2164,2367,2621,2836,3165,3384,3486,3342,3262,3879,3650,2178,1734,2125,2765,2943,2371,2237,2603,2809,2874,3115,3650,2879,2952,2519,1906,2386,2591,2621,3254,3675,3654,2728,1664,1641,1760,2248,2523,2109,1890,1891,1923,1886,2334,2112,2120,2499,2633,2464,1972,1728,1882,1934,1734,1885,2070,2752,3298,3491,2553,1910,2322,2378,1863,1440,1411,1986,2711,1954,1844,1866,1940,1978,2103,2202,2140,2115,2127,1644,1883,2270,1512,1470,2540,2673,1776,1933,2097,2236,2523,2220,1830,1562,1734,2363,3110,2844,2526,2128,1574,1404,1653,1974,1816,1548,1514,1736,1977,1988,1776,1516,1693,1631,1480,1397,1664,1991,2038,1734,1596,1709,1633,1415,1651,1896,1696,1833,1772,1577,1382,1428,1476,1590,1559,1461,1696,2115,1898,1732,1884,2201,1888,1737,1759,1588,1506,1700,1736,1878,1863,2115,2416,2156,2021,1920,1684,1451,1323,1406,1591,1557,1537,1620,1650,1588,1748,1722,1917,2163,1900,1441,1390,1337,1421,1475,1465,1470,1417,1489,1832,1922,1682,1623,1447,1454,1565,1475,1699,1910,1808,2082,2469,2144,1509,1498,1551,1324,1367,1620,1805,1550,1461,1882,2164,2031,1704,1595,1622,1847,1950,1644,2102,2273,1709,1689,1751,1695,1797,2137,1904,1624,1910,2100,1877,1484,1578,1889,1757,1824,2442,2288,1768,1470,1368,1550,1701,1750,2155,1685,1672,1680,1756,1686,1744,1461,1197,1380,1479,1427,1334,1372,1405,1501,1437,1806,1817,1548,1421,2016,2285,1863,1725,1958,1920,1874,1752,1656,2027,2208,2299,2250,1845,2191,2642,2842,2780,2640,2675,3116,2831,2577,1930,1562,1569,2054,1921,1834,1742,1477,1578,1636,1646,1538,1497,1513,1578,1810,1789,1512,1461,1357,1534,1579,1258,1003,1332,1827,2541,2240,2065,2151,1913,1880,1995,1908,2116,2143,1425,1598,1664,1522,1403,1606,1810,1946,2668,3338,2318,1672,1609,1463,1383,1278,1281,1490,1656,1541,1673,1709,1758,1561,1789,1868,1554,1546,1626,1650,1657,1614,1720,1779,1756,1803,1758,1498,1549,1544,1427,1468,1997,2541,2373,2224,1720,1425,1751,2086,2799,3150,2701,2602,2475,1836,1396,1604,2241,2057,1782,1819,2541,2692,2344,2056,1808,2157,2324,2256,2157,1960,1815,1675,1501,1569,1576,1771,1566,1521,1784,2302,2473,2247,2069,2144,1721,1568,1501,1577,2308,1898,1541,1336,1445,1508,1494,2408,3038,2264,1637,1672,1637,1798,1580,1550,1506,1456,1404,1316,1376,1602,1713,1511,1432,1650,1751,1531,1580,2116,2336,2352,2205,1814,2122,2800,3032,2976,2680,2042,1919,1965,1722,1792,1832,1919,1632,1426,1539,1530,1548,1627,1603,1542,1927,1980,2281,1962,1826,1621,1360,1689,1907,1702,1566,1568,1499,1492,1531,1725,1996,2341,2486,2114,1764,1826,2085,2219,1860,1893,2150,1816,1745,1750,1730,1876,1704,1482,1343,1518,1874,1831,1578,1584,1469,1384,1478,1491,1689,1820,2085,2303,2855,3440,3812,4046,3795,2924,1942,1828,2099,2094,1770,1740,1740,1750,1527,1495,1465,1419,1619,2404,2691,2164,2018,2159,2918,3110,2836,3000,2832,2285,2282,2032,1787,1964,2115,2162,2148,2047,1802,1804,1649,1712,1792,2074,2401,3418,3676,2599,1957,1798,2402,3366,3309,2382,1635,2236,2585,2276,1344,1000,1226,1686,2233,2438,2271,2746,3141,3003,2405,2259,1994,1672,2545,3171,3155,3325,3027,2194,1648,1976,2324,2253,2148,2002,1905,1826,1751,1870,2026,2032,1980,1824,1839,1803,1820,1708,1706,1875,1801,1604,1513,1744,1811,1738,1632,1524,1753,1914,1730,1924,3062,3654,3041,2004,1525,1688,2199,2523,2403,3386,3687,2647,2200,2182,1870,2076,1960,1778,1822,1797,1933,2010,1750,1664,2359,2918,2949,3106,2966,2912,2631,2290,2091,2271,2648,2133,1267,1757,2288,2082,1577,1578,1971,1875,1944,1915,1706,2058,1943,1484,1488,1659,1462,1424,1816,1839,1561,1444,1377,1504,1621,1594,1503,1524,1412,1300,1571,1548,1396,1542,1516,1562,1730,1754,1730,1686,1768,1748,1888,2286,1926,1573,1582,1831,2176,2048,1709,1332,1181,1622,1796,1822,1926,2187,2382,1692,1744,1571,1819,2143,2214,1870,1649,1521,1449,1497,1628,1698,1603,1519,1699,1736,1384,1270,1383,1510,1572,1751,1956,1768,1518,1435,1208,1232,1269,1350,1697,2172,1842,1838,2024,2136,2537,2060,1427,1488,1388,1335,1346,1355,1374,1410,1427,1313,1342,1678,1889,1852,1997,2441,1918,2022,2281,1829,1969,2374,2257,2296,2320,2340,2360,2008,1769,2200,2776,2718,2600,2768,3101,3100,2959,2810,3178,3284,3208,3040,2437,1975,1952,1591,1753,1486,1630,1577,1599,1377,1818,2022,1600,1417,1880,2082,1832,1858,1693,1500,1346,1570,1809,1667,1744,1536,1411,1546,1635,1684,1743,1766,1462,1611,1710,1698,1618,1638,1809,1896,1976,2230,2188,2082,2046,1846,1731,1303,1376,1409,1440,1436,1450,1610,1873,2196,2210,1766,1403,1393,1398,1624,1682,1594,1912,1801,1942,1828,1953,2053,1977,1882,2072,2034,1706,1616,1737,2095,1635,1569,1723,1768,1923,2514,2236,2074,2246,2674,3162,2532,2398,3016,2302,1688,1793,2330,2103,2769,2906,2080,1929,2290,2025,1682,1878,2032,2253,1948,2127,2225,2504,2405,1812,1826,2459,2531,2186,2319,3331,2669,1846,2145,1998,2387,3155,2901,2441,2374,2117,1491,2158,2733,1796,1901,2216,1916,2069,2392,2502,2420,1988,1963,1941,1636,1930,2258,1997,1730,2027,2526,2327,2353,2136,2136,2192,1688,1267,1440,1694,1696,1560,1841,1897,1730,1693,1533,1408,1404,1366,1202,1221,1534,1800,2264,2157,1492,1460,1420,1946,2512,2236,2361,2359,1930,1746,1880,2230,2139,2529,2452,1786,1592,2488,2840,2980,2770,2408,2122,2254,2332,2308,2790,2570,1878,1504,1730,1551,1427,1215,1380,1858,2200,2007,1809,2087,2076,1790,2171,1747,1712,1667,1903,2514,2548,2165,2087,1744,1826,2076,2147,2199,2130,2228,2093,2327,2431,2502,2281,1848,2310,2398,2258,2385,2116,2303,2372,1903,2042,2492,2768,2135,2275,2484,2832,2468,1983,1825,1551,1665,1917,1540,1445,1459,1528,1846,1831,1733,1671,1503,1880,2112,2046,2175,2348,2387,2113,2146,2439,1895,2039,2448,2149,1803,2067,2265,1899,2123,2435,1751,1750,1823,2075,3019,3088,2165,1896,2341,2851,2962,3028,2950,2471,2320,2572,2308,2312,2830,2339,1794,1473,2114,2779,2658,2071,2048,2187,2487,3008,3068,2828,2645,1961,1430,1750,1805,1802,1875,2128,2777,2426,1909,2024,2062,2068,1862,1736,2408,2326,2244,2426,2014,2276,2435,2215,1954,1836,2218,2171,1668,1684,1879,1961,2248,2142,1621,1594,1955,2191,2168,2078,1796,1692,1661,1973,1925,1568,1710,1789,1900,2067,2045,1964,2034,2292,2310,2453,2140,2603,3226,2931,2964,2654,1952,1942,1943,2539,2498,3154,3365,3216,2519,2570,3001,2468,1735,1311,1191,1192,1171,1762,2064,1995,1866,1960,1897,1950,2305,2410,2241,1820,1448,1418,1289,1390,1520,1463,1424,1446,1509,1479,1210,1263,1369,1454,1507,1394,1372,1331,1305,1388,1411,1345,1529,1930,1702,1494,1793,1692,1509,1968,2162,1524,1489,1350,1338,1545,1731,1651,1411,1513,1445,1561,2046,2394,2320,2160,1550,1536,2076,1695,1507,1410,1371,1876,2003,2078,2048,1536,1573,1992,2464,2326,2089,1560,1386,1325,1324,1555,1613,1490,1497,1493,1528,1694,1631,1322,2129,2670,3044,3162,2964,2404,1903,1422,1571,1644,1559,1929,2257,2626,1675,1461,1537,1996,1780,1290,1304,1282,1266,1306,1468,1414,1467,1697,1851,1394,1613,1464,1344,1607,1726,1811,2039,2006,1628,1301,1229,1298,1220,1262,1233,1316,1461,1542,1371,1295,1345,1347,1377,1422,1423,1576,1603,1550,1488,1410,1338,1461,1775,1982,1826,1843,2135,1964,1807,1971,2448,2252,1886,1978,1973,1953,2250,2177,2047,2254,2054,1621,1529,1492,1913,1835,1627,1624,1604,2104,2306,2292,2409,2592,3289,2898,2002,1923,1610,1373,1416,1489,1426,1444,1669,1572,1390,1741,1798,1685,1450,1317,1356,1463,1584,1843,2062,2055,2198,2292,1768,2060,2083,2127,2187,2126,1951,2106,2552,2644,2140,2010,1851,1954,2489,2919,3410,3332,2496,2270,2116,1767,2177,2710,2658,2285,2226,2102,1612,1564,1642,1910,2139,2532,2256,1963,2292,2579,2470,2221,2077,2054,2320,2248,2069,1955,1831,1258,1224,1593,1932,1996,1687,1888,1949,1952,2167,2505,2553,3152,3016,2777,2939,2742,1911,1505,1790,2492,2741,2435,2775,3536,3442,3100,2595,2262,2096,2040,1945,2239,2482,2755,2746,2653,2515,2802,2618,1887,2048,2354,2334,2142,2049,1788,1659,1896,1951,2114,2474,2295,1835,2226,2071,2327,2611,2613,1952,1417,1667,2242,2264,1939,1759,1952,1999,2868,3199,2256,1734,1749,1719,1606,1715,1896,1979,2120,2242,2429,2065,2260,2711,2806,2561,3077,3322,3032,3420,4037,4037,3610,3198,2478,1795,1692,1643,1532,2248,3139,3022,2380,1843,1654,1806,2221,2534,2684,2994,2702,1937,1856,2023,2477,2778,2971,2853,2630,2846,2858,3065,3409,2908,2240,2248,2206,2182,2457,2764,2842,2917,2814,2577,2433,2271,2337,2547,1977,2281,2175,1697,2092,2526,2541,2108,1730,2164,2466,2225,2026,1707,1717,2405,2505,2332,2497,2424,2597,2893,2687,2743,3186,3231,2588,2535,2546,1891,1926,2178,1984,1483,1465,1674,1800,1697,1769,2310,2548],[3696,3464,3062,2782,2709,2547,2149,2110,1765,1741,2522,2828,2585,2543,2603,2753,3096,3163,3066,2979,2941,3204,2956,2742,2715,2741,2118,1545,1522,1425,1514,1628,1263,1557,2142,2335,2355,2646,3296,3608,3422,3001,2799,2636,2913,3573,3459,2944,2599,2619,3032,3200,2458,2333,3233,3449,3724,4200,3429,2817,2889,2754,2998,2829,3496,2963,1880,1742,1656,2143,3320,3159,2132,2192,2947,3041,2862,2315,2335,2338,2281,2262,2337,2225,2151,2354,2667,3009,3272,3761,3784,3332,3854,3395,2173,1858,2017,2417,2336,2136,2273,2098,2176,2309,2600,3470,2938,2999,2833,2410,2345,2476,2700,3116,3298,3142,2719,2025,1654,1480,2485,2850,2658,2407,2009,1734,1582,1764,2008,2259,2191,2091,2086,1731,1793,2048,1942,1561,1887,2585,2857,2781,2624,2054,1628,2084,1941,1857,1669,1330,1708,2152,2256,2273,1867,1578,1659,1940,2221,2065,2244,2453,2097,2626,2426,1640,1471,2135,2072,1626,2038,2348,2722,3454,3331,2490,1722,1829,2482,2932,2611,2061,1726,1549,1711,2222,2366,1759,1361,1350,1482,1573,1630,1551,1456,1563,1422,1321,1332,1646,2069,1905,1486,1357,1810,1825,1736,1782,1805,1591,1446,1365,1437,1369,1200,1216,1284,1435,1579,1396,1581,1547,1665,1904,1937,2120,2079,1612,1241,1428,1498,1523,1742,1820,1913,1885,1638,1569,1659,1590,1605,1516,1687,1959,1749,1638,1977,2148,1814,1797,1485,1499,1433,1344,1472,1397,1296,1427,1421,1312,1435,1450,1445,1506,1833,1577,1675,1601,1576,1529,1399,1707,1915,1681,1825,1842,1606,1370,1837,1668,1319,1422,1766,1955,1705,1396,1686,2039,2006,1771,1623,1628,2033,1749,1592,1893,2024,1729,1439,1489,1591,1876,1898,1693,1866,2262,2002,1628,1669,1630,1515,1628,1507,1599,1797,1671,1471,1397,1549,2011,1817,1588,1284,1497,1839,1787,1661,1599,1466,1294,1428,1366,1166,1202,1406,1585,1708,1773,2057,1814,1616,1846,2216,2345,1925,2089,2186,2029,2055,1666,1588,1647,1919,2301,1993,1554,2037,2590,2417,2102,2395,3165,3496,3276,2306,1923,1608,1724,1832,1464,1569,1799,1841,1630,1455,1709,1815,1562,1528,1487,1571,1528,1589,1622,1621,1409,1431,1599,1538,1838,1922,2562,2236,1984,1831,1913,2179,2069,2031,2842,2626,1682,1709,1655,1590,1452,1506,1590,1621,1875,2112,1840,1636,1540,1500,1355,1271,1337,1491,1548,1490,1500,1856,2024,1696,1781,1802,1448,1506,1702,1981,1955,1499,1433,1537,1562,1571,1792,1552,1487,1600,1461,1618,1940,2198,1871,1856,1678,1653,1829,1813,2091,2374,2578,2331,1655,1443,1361,1639,2339,1999,1654,2144,3001,3020,2730,1876,1547,2061,2394,2077,1955,2248,2216,1792,1691,1606,1673,1445,1418,1462,1918,2392,2247,2252,1941,1854,1640,1533,1580,1647,1955,1793,1469,1314,1418,1298,1593,2580,2897,1868,1730,1759,1539,1631,1480,1379,1375,1546,1538,1416,1500,1546,1575,1543,1688,2070,2042,1886,1879,2147,2145,2824,3209,2865,2508,2257,2388,2399,2601,2023,1981,1930,2024,1889,1651,1979,1748,1431,1510,1506,1499,1545,1629,1791,2213,2280,2391,2026,1909,1795,1618,1642,1794,2002,1759,1527,1522,1350,1528,1632,2310,2669,2512,1919,1966,2311,2362,2040,1688,1570,1785,1819,1775,1720,1602,1763,1687,1408,1560,1664,1599,1574,1609,1610,1479,1592,1509,1735,1962,1776,2052,2869,3366,3525,3718,3805,3971,3716,2534,2009,2016,2323,2020,1774,1667,1644,1531,1430,1335,1336,1655,2197,1985,1882,1881,1947,2046,2131,2135,2444,2170,2258,2468,1824,1734,1862,2366,2536,2395,1819,1669,1860,1698,1550,1644,1828,2467,3681,3760,2358,1841,1546,1575,2013,2207,1954,1862,2269,2545,2271,1489,1028,1202,1478,1841,2493,2159,2274,1991,1512,1958,2046,1861,1730,2158,2766,2859,2806,2697,2280,1937,2187,2243,2217,2042,1969,1839,1754,1763,1750,1715,1700,1735,1787,2004,1879,1969,1895,1863,1843,1773,1883,1795,1814,1952,2049,2073,1953,2083,1727,1476,2292,2476,2281,2362,1908,1652,1764,1970,2358,2610,4037,4297,2870,1895,1807,1719,1731,1439,1204,1656,1952,1986,2383,2115,2052,2792,3348,3347,2854,2413,2532,2726,2542,2419,2464,2689,2127,1417,2022,2559,2100,1653,1735,2484,2438,2417,2145,1838,1970,1729,1395,1824,1859,1616,1550,1724,1522,1449,1437,1428,1729,1889,1703,1710,1660,1477,1465,1716,1517,1483,1504,1701,1971,1947,1586,1454,1628,1556,1687,1999,2037,1909,1761,1771,1903,1926,1657,1436,1480,1719,1882,2058,2072,1699,1477,1411,1596,1658,1832,1726,1961,1981,1534,1445,1555,1584,1597,1776,2494,2563,1990,1886,2085,1560,1272,1502,1777,1899,1980,1955,1712,1544,1511,1275,1232,1308,1300,1751,2399,2258,1743,1367,1524,2164,2067,1457,1527,1363,1382,1290,1300,1359,1456,1416,1355,1537,1751,2069,2215,2485,2209,1574,1976,2137,2231,2206,2289,2125,2294,2081,2121,2788,2768,2564,2649,3007,2558,2394,2345,2525,2774,2148,1847,2632,3212,3282,3120,2694,2207,2396,1636,1456,1570,1855,1558,1408,1328,1804,1870,1552,1826,2455,2333,1794,1725,1578,1422,1267,1614,1590,1710,1881,1545,1436,1452,1388,1524,1599,1642,1543,1588,1476,1401,1461,1534,1638,1829,1734,1753,2031,1829,1816,1806,1659,1441,1447,1623,1708,1529,1518,1499,1625,1759,1761,1561,2051,1830,1548,1904,2368,2235,2426,2485,2238,2029,1833,1474,1623,1570,1765,2562,2695,1876,1740,1996,1432,1814,2113,1907,1831,1885,2294,2422,2132,2590,2545,2072,1940,2931,2194,1747,2473,2871,2633,2613,2718,2367,2328,2115,1865,2458,2769,3022,2911,2402,2204,2488,2872,2845,2309,2325,3023,2680,2219,2480,3164,2321,2292,2501,1730,2347,3133,2596,2507,2719,2148,1827,2668,2584,1964,2120,1928,2043,2664,2462,2276,2341,2213,2193,1841,1619,1770,1697,1590,1570,2372,2829,2738,2743,2424,1914,1681,1605,1445,1505,1559,1400,1399,1377,1352,1354,1539,1637,1935,2092,1720,1394,1704,1887,1813,1610,1870,1825,1623,1495,1959,2303,1898,1743,1888,2277,2494,2182,2655,2037,2476,2388,1793,1640,2321,2729,2552,2360,2052,1957,2393,2251,1814,2406,2183,1398,1359,1922,1582,1383,1305,1534,2181,2654,2167,2026,2536,2271,1973,2194,2058,2182,2167,2201,2578,2391,2046,2158,2276,2046,2037,2100,2184,2027,2052,2041,1907,2159,2351,2041,2333,2940,2495,2632,3102,2362,2108,2107,2143,2199,2187,2309,2068,2048,2548,2818,2565,2111,2315,2106,2346,2363,1551,1543,1582,1561,1878,1765,1880,2094,1591,1514,1509,1599,1843,1917,2004,2527,3006,2438,1931,2504,2768,2490,2684,2389,2039,1747,2934,2842,2088,2014,1945,2033,2890,2813,2074,1790,2109,2517,2729,2533,2198,1995,2752,2486,2391,2541,2280,1815,1753,1974,2343,2448,2639,2618,2731,2301,2619,2902,3252,2518,2450,2375,2185,2125,1920,1309,1668,1987,2089,1891,1825,1801,2167,2169,1835,1731,2281,2257,2065,2142,2019,2179,2182,2201,2249,1925,2455,2383,1705,1721,2050,2094,1929,1722,1684,1576,1699,2047,2279,2022,1861,2071,1719,1964,2049,1671,1721,1780,1904,2187,2393,2183,2257,2684,2746,2376,2193,2950,3208,2822,2698,2055,1695,1866,1901,2433,2269,2920,3380,3088,2478,2696,3189,2735,2202,1424,1153,1166,1246,1694,2056,1907,1655,1738,1732,1738,2349,2535,1747,1963,2102,1831,1378,1353,1374,1331,1582,1546,1337,1384,1367,1411,1393,1589,1548,1484,1483,1342,1370,1309,1374,1350,1986,2218,1505,1421,1582,1488,1562,1810,1690,1678,1232,1422,1542,1503,1737,1852,1954,1914,1509,1960,2233,2210,2165,1926,1485,1786,2055,2001,2208,1746,1802,2002,1643,2138,2454,1600,1741,2223,2436,2644,2535,1841,1469,1356,1484,1888,1938,1760,1775,1650,1386,2155,1855,1874,2391,2498,2971,3580,3152,2188,1659,1618,2006,2004,1851,2712,2727,2633,1882,1498,1597,2085,1858,1267,1204,1173,1375,1676,2036,2088,1770,2114,1982,1519,1527,1455,1315,1371,1295,1273,1847,2290,1766,1274,1438,1640,1390,1261,1260,1279,1325,1258,1307,1316,1322,1248,1274,1299,1333,1389,1324,1387,1364,1320,1500,1928,2309,2098,2086,2373,2480,2344,1904,1983,2918,2611,1932,1732,1959,2336,2526,2570,2024,1713,1987,1821,1678,1730,1689,1577,1669,1605,1621,2632,2941,1913,1859,2063,2452,2076,2072,2409,1821,1360,1483,1580,1410,1633,2456,2490,1558,1710,2044,1818,1749,1790,1629,1583,1753,1983,2294,2377,2735,2522,1639,2037,2121,1721,1684,1923,2019,2316,2592,2452,2141,1910,1583,1528,2176,2968,2993,2879,2491,2666,2266,1535,1630,1645,1474,1741,2180,1909,1667,1720,1740,1789,1853,1989,2136,2025,1941,2127,2375,2293,1737,1709,2288,2205,1652,1780,2023,1709,1513,1491,1837,1889,1801,1859,1954,1857,1761,1805,1856,2450,2663,2639,2563,2087,1641,1763,2166,2576,2480,2339,2876,3386,3156,3183,3130,2868,2263,1859,1992,2282,2601,2397,2308,2674,2499,2268,2453,1878,2393,3108,3133,2643,2287,1886,1559,1433,1684,2071,2218,1885,1894,2297,2137,2028,2297,2217,1644,1287,1836,2552,2297,2115,1635,1698,2266,2836,2663,1864,1578,1788,1738,1512,1682,2029,1910,1894,2036,2148,1787,2102,2546,2201,2339,3177,2944,2347,2848,3742,3583,3461,2944,2028,1725,1441,1626,1779,1952,2698,3013,2366,2056,2165,2007,1996,2119,2298,2729,2701,2294,2170,2354,2498,2570,2688,2873,2630,3084,3064,2877,2908,2801,2526,2265,2582,2609,2625,2873,2865,2744,2754,2297,1981,2096,2386,2845,2229,2394,2342,1730,2074,2473,2209,2098,2193,2376,2423,2416,2110,2112,1924,2265,2271,2364,2867,2866,2661,2807,2825,2546,2706,3166,3246,2700,2326,2079,1795,2132,2148,1681,1555,1702,1798,1778,2103,2313,2062],[4000,3563,2965,2796,2767,2735,2711,2675,2766,3007,3221,3018,2721,2449,2722,2925,2864,3086,3171,3140,3172,3222,2990,2498,2443,2763,2032,1489,1594,1765,1685,1699,1513,2605,2593,2524,2561,2706,3286,3364,3326,3518,3144,2734,2786,3353,3505,3739,3705,3507,3666,3383,2286,2438,3436,3816,4036,4208,3357,2765,2836,2923,2598,2266,2427,2223,1850,1860,1751,2193,3536,3293,2873,2811,3063,3007,2963,2766,2670,2452,2334,2455,2498,2531,2964,3185,3157,3251,3394,3411,3482,3464,3574,2899,2641,2853,2702,2317,1808,2283,2692,2126,1812,2071,2225,2855,2934,3226,3482,3129,2740,2700,2910,3020,2982,2917,2203,1987,1836,2402,2880,3206,2775,2210,2020,1794,1756,1812,2083,2449,2007,1991,1963,1716,1742,1656,1628,1445,1932,2337,2040,2230,2457,2352,2263,2504,2291,2189,1921,1507,1786,2077,2458,2278,1606,1660,1554,1484,1704,1691,1870,1970,2098,2564,1956,1456,1542,1912,2138,2122,2183,2182,3000,3551,3195,2776,2131,1700,2265,2724,2533,2227,2006,2049,2070,2189,2146,1611,1512,1382,1432,1367,1377,1872,2312,1848,1344,1390,1520,1748,1901,1790,1558,1636,1964,2381,2181,1588,1410,1448,1469,1555,1638,1523,1388,1353,1556,1738,1885,1913,1638,1490,1570,1774,1923,1930,1862,1826,1830,1983,2078,1857,1796,2151,1810,1595,1606,1814,1880,1727,1875,1791,1832,2137,1696,1554,1385,1492,1744,1609,1460,1548,1465,1447,1664,1494,1378,1477,1449,1332,1926,2022,1692,1403,1344,1467,1625,1635,1636,1620,1627,1630,1564,1502,1663,1509,1498,1385,1918,1678,1416,1545,1690,1820,1642,1440,1793,2203,1995,1665,1541,1657,2099,2177,1904,1835,2095,1799,1435,1449,1498,1839,1987,1600,1838,1996,1852,1776,1582,1459,1586,1636,1568,1628,1426,1397,1497,1583,1488,1930,1620,1694,1681,1725,1914,1860,1656,1443,1375,1222,1399,1404,1440,1579,1552,1565,1593,1697,1608,1452,1557,1650,1944,2486,2823,2585,1972,1583,2072,1911,1620,1813,1854,2038,2307,1835,2420,2762,2722,2712,2918,4108,3985,2893,2329,2504,2309,1799,1576,1318,1408,1654,1767,1392,1570,1865,1688,1482,1645,1620,1689,1777,1494,1539,1751,1757,1799,1629,1688,1939,1868,1976,2178,2032,1610,1791,2058,1715,1905,2784,2464,2245,1705,1524,1489,1447,1598,1632,1533,1714,1841,1938,1841,1618,1590,1380,1432,1521,1478,1590,1522,1664,2070,1990,1848,1809,1644,1455,1940,2107,1760,1789,1484,1451,1465,1515,1539,1570,1408,1443,1588,1577,1477,1524,1695,1626,1463,1887,2289,1942,1662,1914,2220,2247,1752,1550,1872,1826,1550,1562,1822,1939,2599,2809,2591,2328,2063,1906,1753,2087,1720,1784,2857,2359,1597,1865,1824,1504,1390,1577,1668,2145,2430,2222,1996,1623,1618,1692,1758,1622,1707,1742,1888,1653,1287,1438,1509,1701,2079,2119,1722,1713,1602,1561,1519,1533,1568,1469,1663,1736,1453,1515,1554,1517,1587,1669,1926,1813,1843,1677,1519,1729,2354,2877,2946,2043,1625,1494,1669,1556,1659,1534,1546,1693,1574,1602,2033,1875,1605,1620,1479,1576,1697,1828,2332,2209,2271,2326,2091,1993,1884,1538,1668,1621,1968,2111,1754,1864,1618,1532,1738,2036,2376,2602,2454,2160,2006,2096,1592,1492,1567,1572,1618,1604,1916,1839,1851,1710,1533,1546,1600,1483,1595,1798,1549,1801,2020,1804,1936,1847,1792,2064,2699,3396,3459,3483,3619,3835,3872,3066,2195,2107,2300,2237,1867,1492,1533,1510,1477,1622,1818,1667,1589,1544,1771,1832,1670,1708,2024,2270,2289,1960,2226,2038,1515,1437,1713,2601,2975,2658,1977,1504,1550,1782,1837,1683,1720,1757,2678,3082,2007,1642,1483,1493,1652,1887,2132,2262,2482,2432,2280,1724,1031,1147,1493,1519,2154,2127,1772,1513,1366,1505,1625,1612,1528,1837,2238,2242,2138,2093,2148,2171,2195,2086,1860,1641,1593,1530,1500,1529,1484,1487,1428,1648,1744,2000,2164,2745,2523,2049,1954,1936,1948,1568,1434,1647,1686,1780,1910,2070,1787,1573,2100,2025,1938,2346,1822,1481,1486,1800,2604,3021,3854,3737,2356,1830,1733,1739,2078,2025,1697,1939,2302,2189,1966,1704,2056,2918,3295,3181,2952,2532,2406,2574,2633,2620,2466,2620,2071,1671,2314,2798,2143,1804,1978,2083,1809,1986,2360,2150,1930,1733,1416,2030,1708,1643,1471,1408,1405,1439,1475,1417,1756,2022,1577,1503,1348,1517,1772,1884,1489,1475,1616,1766,1898,1882,1582,1526,1582,1671,1728,1751,1758,1944,2027,1878,1566,1431,1451,1614,1711,1468,1562,2667,2404,1733,1487,1460,1721,1854,2014,1887,1618,1410,1312,1333,1440,1605,2073,2339,2503,2663,2194,1824,1968,1780,1416,1446,1550,1752,1808,1924,1748,1528,1355,1288,1366,1428,1444,1604,2501,2579,1733,1435,1483,2090,2097,1455,1456,1512,1462,1261,1384,1559,1675,1506,1673,2091,2001,2279,2165,1748,1422,1459,1669,2452,2412,2071,2185,2250,2285,2279,2758,3500,2750,2097,2252,2091,2091,2210,1944,2224,2308,1879,2116,2677,3031,3159,3131,2646,2448,2381,1559,1306,1645,1549,1407,1338,1387,1810,2075,2144,2351,2719,2443,1850,1624,1504,1479,1415,1568,1552,1637,1688,1591,1577,1496,1610,1450,1284,1354,1326,1461,1518,1317,1359,1350,1594,1924,1695,1431,1940,2026,1844,1677,1898,1831,1514,1587,1621,1410,1202,1271,1464,1461,1333,1260,1777,1614,2060,2768,3010,2850,2697,2381,1976,1992,1948,1658,1910,1594,1560,1975,2336,2001,2041,2301,2455,2466,2108,1832,2138,1923,2655,2795,2485,2319,1919,1755,1654,2285,2082,2255,3167,3174,2702,2294,2949,2479,2597,2070,1867,2505,3106,3210,2662,2109,2077,2554,2979,2676,2268,2284,2540,2418,2357,2278,2335,2491,3089,2906,2339,2626,2787,2945,3514,2636,2244,1867,2087,2058,2148,1938,2213,2956,2967,2369,1626,1757,2178,2304,1858,1676,1755,1983,2299,1953,2108,2336,2303,2596,2329,1308,1012,1435,1582,1440,1382,1285,1308,1520,1805,1973,1878,1593,1886,2248,1804,1635,1786,1908,1771,1729,2042,1734,1485,1814,2352,2361,2143,2431,2222,2535,2261,1994,2636,2041,1791,1937,1751,1584,2114,2408,2072,2040,1719,2072,2708,2504,1822,2328,2777,2004,1825,2048,1842,1615,1486,1698,1923,2199,2178,2109,2084,1542,1670,2017,2281,2254,2122,2164,2179,2164,2357,2204,2189,2070,2163,1930,1756,1548,1963,2485,2820,3489,3359,2910,3187,3238,1791,2415,2955,2088,2199,2362,2025,2376,2457,2093,1809,1888,2034,2244,1990,1924,2088,1932,2266,2484,2223,1854,1336,1388,1655,1738,2056,2029,1720,1598,1599,1692,1958,1897,2398,2622,2798,2708,2499,3094,3177,2422,2298,1914,1779,2176,2771,2426,2351,2612,2674,2369,2266,2374,2215,1824,2052,2602,2928,2567,2929,2354,2459,2583,2653,2482,2082,1896,2118,2771,2803,2200,1791,2435,3166,2777,3022,2860,2709,3095,3189,3054,3044,2033,1511,943,1534,1866,1868,2080,2077,2216,2552,2557,2097,1686,2214,2464,1890,1774,1787,2388,2351,2147,2187,2121,2460,2396,1951,1956,2066,1754,1677,1659,1601,1442,1707,2189,2675,2411,2187,2384,1652,1788,1728,1716,1724,1810,2008,2534,2451,2240,2136,2064,2093,2073,2369,3140,2852,2703,2273,1655,1743,1890,1978,2434,2409,2646,2973,2808,2344,2462,3061,2754,2255,1718,1688,1756,1575,1721,2075,1908,1518,1626,1737,1737,2199,2534,2159,2408,2585,1884,1360,1354,1357,1358,1546,1479,1454,1838,1747,1771,1614,1607,1646,1600,1420,1382,1415,1389,1349,1478,1745,1710,1578,1596,1733,1546,1822,1791,1393,1518,1676,1821,1811,1762,1678,1776,2111,2016,1577,2076,1862,1991,2076,1736,1582,1735,1925,2488,2458,2104,2563,2290,1715,1848,2063,1656,1763,1778,1630,2106,2139,1639,1538,1619,1869,2170,2444,2102,2266,2190,2128,2115,1981,2227,2106,2012,2358,2836,2924,2376,1805,1944,1996,1843,1597,1919,2300,2762,2487,1765,1730,1726,1567,1311,1155,1230,1410,1604,2629,2896,1935,1742,1713,1572,1588,1529,1343,1315,1269,1202,1584,2288,1908,1432,1611,1704,1356,1213,1247,1207,1216,1275,1471,1374,1474,1373,1265,1210,1436,1467,1300,1300,1379,1807,2107,2254,2427,1949,2056,1937,2481,2639,2065,1960,2084,1975,2151,2191,2294,2050,2271,2688,2035,1763,2321,1953,1616,1523,1504,1607,1607,1561,2124,3282,2844,1680,1845,1892,1682,1626,2113,1976,1659,1766,1602,1396,1367,1713,2642,2353,1686,1528,1629,1732,2159,2135,1829,1695,1589,1760,2116,2264,2238,1765,1489,1749,1867,1691,1704,1871,1920,1920,2172,2352,2132,1947,1918,1860,2182,2376,2166,2157,2359,2698,2451,1870,1648,1424,1498,1577,2073,2040,2227,2072,1738,1612,1695,2262,2721,2097,1723,1652,1984,1930,1649,1785,1925,1710,1594,1711,2054,2090,1703,1767,1867,1469,1546,1907,1973,1654,1707,1755,1638,1729,1845,1969,1959,1584,1592,1773,1890,2093,2301,2056,2079,2510,2703,2604,2777,3227,3074,2342,2093,2322,2566,2545,2474,2287,2389,2286,2827,2496,2652,3074,2918,2898,2731,1972,1779,1942,2170,2039,2564,2402,2431,2474,2306,2264,2092,1768,1790,1800,2028,2140,2012,2149,2197,2711,2612,2204,1796,1495,1507,1641,1599,1566,1698,1762,1860,1932,2248,2438,2126,2067,2065,1740,2419,3725,3320,2821,2973,3166,3373,3501,2721,1940,1635,1599,1777,1598,1469,1969,2239,1948,2000,2001,2074,1739,1792,2155,2487,2633,2275,1986,1895,2138,2522,2351,2761,3010,3504,3024,2675,2405,2148,1926,2101,2511,2334,2390,2950,2944,2575,2614,2355,2071,1847,2183,2589,2253,2497,2580,2370,2374,2257,1960,1705,2153,2131,2007,2212,2472,2568,2605,2398,1842,2339,3084,2649,2192,2188,2374,2386,2766,3118,3087,2300,2103,1985,1813,1916,1716,1996,2082,1865,1682,1597,2195,2147,1711],[3532,3707,3651,3316,3154,3480,3949,4289,4185,3947,3464,2890,2555,2401,2819,2953,2797,2916,3228,3414,3479,3393,3386,3197,3143,3230,2639,2303,2553,2690,2491,2298,2194,2919,2980,2906,2779,2853,3238,3418,3458,3281,3297,3135,3067,2882,3435,4098,3862,3398,3732,3599,2692,2646,2860,3449,3926,3598,2909,2686,2501,2966,2954,2445,2229,2597,2488,2322,2456,2829,3662,3742,3662,3615,3569,3332,3159,3186,3025,2742,2715,2785,2636,2827,3282,3162,3207,3271,3259,3511,3497,3326,3419,3052,2480,2206,2453,2612,1774,1954,2213,2228,2323,2264,1896,2007,2141,2772,3718,3706,3252,2965,3251,3299,3343,3503,2671,2613,2749,2985,2597,2199,2227,2495,2397,2078,1980,1732,2016,2190,2168,2087,1982,1854,1726,1546,1486,1696,2318,2614,2520,2944,3106,3116,3185,3098,2753,2499,2427,1935,1617,1912,2277,2068,1943,2062,1588,1811,1744,1754,1606,1671,1819,2002,1931,1746,1593,1686,2048,2312,2232,1891,1931,1846,2198,2835,2400,1860,2135,2416,2438,2066,2025,2481,2438,2466,2497,1816,1717,1815,1625,1331,1419,2365,3061,2262,1744,1646,1738,2036,2125,2446,1830,1471,1699,1899,1455,1260,1316,1344,1515,1961,2047,1823,1772,1737,1876,2007,1864,1843,1876,1793,1724,1786,1879,1874,1840,1794,2040,2953,3219,2124,1758,1864,1523,1739,1885,1709,1535,1566,2051,1748,1669,1811,1518,1481,1395,1514,1505,1434,1423,1380,1310,1745,2086,1555,1480,1491,1470,1471,1743,1687,1499,1476,1331,1426,1654,1531,1554,1694,1707,1617,1385,1368,1510,1646,1836,1647,1499,1417,1333,1441,1672,1643,1747,1659,1897,2022,1639,1402,1500,1792,2199,2172,1787,1685,1723,1582,1368,1404,1515,1715,1565,1382,1456,1754,1978,1718,1372,1322,1437,1590,1787,1657,1346,1537,1946,1622,1421,1569,1622,1852,1670,1707,1896,1843,1607,1600,1294,1433,1879,2043,2132,2048,1855,2048,1996,1477,1361,1514,1750,1718,1771,2522,3020,2477,2160,2316,2468,2093,1910,2226,2037,1792,2017,2322,3034,3249,3285,2987,3295,4108,3915,2886,2598,2930,2546,1817,1499,1489,1469,1566,1543,1474,1776,1748,1508,1695,1835,1619,1651,1630,1438,1418,1672,2021,1837,1482,1561,1613,1746,1990,1977,1807,1458,1626,1979,1883,1993,2280,2366,1895,1465,1387,1431,1492,1727,1729,1679,1643,1736,1865,1932,1746,1853,1606,1719,1793,1652,1622,1671,1682,1747,1775,1906,1674,1550,1750,2111,2208,1808,1775,1592,1465,1596,1898,2084,2041,1521,1405,1421,1649,1764,1670,1375,1307,1357,1681,2027,1746,1439,1678,1915,1946,1687,1863,2260,2186,1710,1687,2346,2229,2087,2680,2723,2196,2414,1860,1577,2271,2163,2102,3264,2950,2114,2128,2008,1646,1532,1522,1555,2002,2405,2039,1687,1482,1830,1805,1456,1400,1471,1609,1621,1588,1635,1859,1577,1688,1454,1834,1742,1430,1666,1795,1561,1708,1802,1522,1790,2151,1487,1506,1825,1615,1512,1506,1398,1562,1689,1505,1538,1569,1721,1896,1686,1404,1679,1715,1547,1559,1588,1450,1453,1590,1544,1521,1773,1899,2184,2021,1622,1576,1709,1940,2087,2111,2288,2396,2359,1993,1958,1583,1660,1857,1884,1907,2370,2703,2126,2059,2344,2181,2065,1853,1736,2046,1847,1580,1898,1897,1485,1472,1572,1513,1644,1797,1838,1682,1742,1497,1592,1727,2017,2097,2046,2215,2177,2281,2024,1733,2509,2964,2802,3426,3421,3320,3536,3707,3746,3468,2505,1941,1810,1907,1892,1525,1599,1513,1536,1688,2032,1613,1582,1682,1855,2010,1865,2270,2646,1987,1814,1798,2123,1830,1779,1887,2385,2837,2553,2152,2019,1871,1771,1945,1893,1678,1551,1663,2488,2432,1735,1540,1471,1509,1736,2240,2646,2916,3173,2487,2125,1699,1056,1103,1420,1498,1934,2059,1989,2027,1880,1670,1540,1635,1645,1939,2317,2592,2668,2588,2386,2018,1744,1644,1507,1389,1548,1388,1366,1644,1485,1479,1437,1500,1561,1648,1979,2778,2766,2059,1927,1654,1458,1423,1375,1503,1587,1688,1692,1645,1721,1738,1926,2176,2395,2231,1688,1593,1640,1816,2249,2696,3443,2918,1982,1647,1428,1998,2490,2117,1715,1780,2105,2237,1809,1663,1781,2076,2545,2950,2938,2725,2416,2259,2486,2777,2879,2619,2313,2360,2533,2619,2052,1819,2247,2245,2343,2367,2369,1809,1712,1778,1609,1903,1616,1387,1376,1510,1558,1510,1485,1472,1941,2041,1561,1559,1450,1488,1682,1970,1707,1677,1768,1968,2330,2106,1722,1662,1700,1965,1879,1683,1925,1984,1871,1863,1827,1791,1628,2157,2298,1681,2331,3116,2690,2171,1685,1536,1581,1685,1759,1559,1311,1382,1311,1290,1346,1445,2165,2339,2010,2090,2188,1964,1697,1686,1610,1473,1682,1671,1453,1798,2050,1844,1446,1427,1595,1527,1266,1686,2815,2536,1703,1521,1753,2207,1970,1448,1326,1541,1576,1320,1284,1444,1589,1486,1529,1822,1615,1933,2048,1692,2030,1925,1763,2270,2365,2220,2440,2254,2047,2663,2955,3186,2657,2437,2601,2344,2385,2309,2359,2372,2105,2202,2652,3052,3028,2833,3028,2898,2625,2286,1750,1705,1860,1754,1417,1289,1501,2000,2440,2179,2276,2666,2357,1788,1540,1582,1582,1636,1656,1553,1869,1727,1611,1733,1777,1670,1358,1309,1389,1330,1480,1458,1280,1164,1246,1588,1787,1511,1623,2053,2040,1679,1737,2086,1908,1578,1599,1750,1461,1128,1217,1360,1418,1359,1382,1370,1417,1948,2482,2911,3107,2473,1935,1859,2343,2140,1896,1730,1565,1515,1642,1947,1986,2044,2315,2198,1903,2046,2244,2380,2008,2350,2581,2489,2112,2027,1815,1613,2130,2315,2137,2779,2931,2651,2129,2597,2090,2065,1831,2074,2490,2908,2953,2260,1674,1798,2294,2712,2377,2054,1804,1945,2396,2298,2022,2148,2799,3378,3038,2614,2570,2728,3153,2985,2018,2586,2030,2072,2630,2489,1997,2392,2932,3086,2754,1609,1742,2156,1906,1493,1655,1774,2159,2416,2180,2179,1737,1566,1811,1835,1390,1268,1496,1570,1516,1539,1518,1377,1489,1847,2162,1889,1509,1551,1687,1570,1688,1525,1499,1914,2265,2486,1908,1503,1901,1934,1826,1971,2545,2272,2430,2053,1578,1582,1515,1516,1521,1465,1587,2093,2450,1997,2095,1891,2095,2361,2470,2193,2231,2755,2332,1907,2068,1985,1897,1903,2007,1667,1674,2182,2024,1392,1440,2147,2317,2239,2129,2056,2087,2099,2093,2009,1963,1721,1820,1677,1462,1322,1385,2496,3162,3019,3139,2854,3255,3504,2719,1903,2567,3203,3199,3000,2273,1960,2283,2292,2021,1955,1917,1726,2106,1914,2038,1992,2086,2019,2356,2807,2453,1925,1922,1763,2083,2272,2078,1989,1828,1998,2264,2072,2372,2810,2438,2591,2886,3120,3573,3101,2460,1629,1660,2190,2744,2675,2455,2437,2645,3152,3160,2554,2209,2533,2742,3051,3108,2854,2298,2532,2589,2333,2253,2409,2327,2042,2145,2385,3086,3061,2072,1719,2322,2803,2935,3161,2783,2344,3034,3097,2663,2225,1229,1586,1668,1459,2158,2388,2266,2271,2111,2155,2452,2133,1700,2018,1803,1459,1536,1723,2237,2047,2054,2723,2548,2140,2053,2018,1696,1546,1620,1353,1333,1457,1528,2118,2494,2865,2678,2680,3000,2045,2303,2144,1983,1824,1699,2182,2711,2889,3103,3001,2919,2570,2232,2524,3024,2861,2558,2058,1732,1905,1899,2155,2542,2136,1858,2063,2513,2456,2287,2830,2734,2338,2011,1939,1998,1683,1667,2076,1807,1530,1777,1882,2051,2309,2429,2562,2908,2483,1540,1210,1318,1543,1580,1437,1510,1772,2537,2110,1883,1934,1844,1836,1579,1334,1291,1582,1835,1585,1715,1824,1755,1676,1627,1737,1605,2216,1830,1440,1542,1676,1626,1651,1666,1688,1719,1860,1692,1830,1858,1808,2033,1898,1761,1691,1678,1590,1705,1885,2163,2204,1905,1628,1605,1487,1563,1503,1551,1642,1978,2276,1802,1899,2016,1797,1938,2030,1566,2093,2019,1814,2165,2135,1769,2157,2331,2245,2664,3051,2316,1805,1831,1641,1560,1575,1839,2225,2687,2809,1963,1720,1794,1593,1238,1312,1279,1345,1840,3346,3199,1791,1604,1677,1497,1570,1522,1369,1326,1553,1500,1545,1660,1455,1449,1506,1382,1352,1562,1205,1224,1319,1231,1141,1300,1441,1410,1326,1249,1471,1438,1280,1637,2172,2415,1696,1302,1283,1431,1460,1466,1780,1957,1828,1594,1410,1460,2052,2830,2938,2155,1945,2738,2377,1974,1904,1699,1499,1308,1381,1555,1540,2051,3057,3387,2227,1964,2323,1721,1415,1567,1433,1146,1659,2228,1742,1719,1790,1994,2470,2553,2442,2209,1921,2183,2143,1735,1573,1470,1391,1532,1888,1845,1841,1640,1606,1858,1805,1678,1859,1960,1799,1687,1825,2159,2028,1973,2166,2123,2066,2323,2232,1907,2337,3045,3134,2415,2088,1720,1892,1658,1803,2401,2165,2009,2160,1989,1755,2321,2611,2048,1901,1547,1576,1834,1999,2061,2115,1852,1693,1688,2132,2380,2348,2247,2057,1424,1483,1903,1955,1584,1431,1467,1765,1975,1768,1670,1596,1527,2065,2041,1801,1888,2054,1948,1749,1647,1930,2387,2842,3577,3773,3133,2443,2313,2763,3791,3663,2945,2401,2419,2757,2502,2599,2842,3239,3435,3018,2163,2003,1885,1961,2124,2646,2875,2646,2324,2243,2000,1603,1381,1880,2162,1959,1896,2114,2010,2297,2789,2533,1930,1688,1861,1717,1669,1845,1874,1733,1645,1645,1801,2468,2579,2001,1932,2437,2514,3133,3357,2687,2609,2794,2708,2769,2566,1997,1982,2150,1996,1769,1487,1380,1694,2081,1932,1763,1632,1785,1796,1870,2061,2381,2288,1840,1747,1770,1820,2100,2122,2491,2509,3410,3029,2336,2133,2093,2132,2075,2242,2634,3021,3184,2965,2631,2408,2465,2498,2386,2953,2992,2309,2402,2453,2915,3088,2576,2246,1792,1919,1937,2078,2530,2840,3017,3211,2437,1750,2121,2236,2061,2086,1945,2020,2042,2307,2583,2699,2738,2598,1922,1748,1617,1533,1972,2214,2014,1636,1937,2370,2308,1984],[3637,3913,3914,3825,3961,4061,4167,4483,4484,4040,3054,2522,2699,2963,3037,2765,2597,2687,2958,3279,3378,3264,3263,3661,3654,3807,3779,3695,3963,4329,4381,3672,3287,3717,3983,3758,3620,3763,3775,3830,3925,3413,3287,3253,3030,2794,3430,3784,3363,3199,3632,3824,3189,2808,2721,3430,3078,2258,2100,2164,1972,2325,3186,3164,2655,3208,2707,2357,2602,3039,3517,3812,4058,4033,4080,4120,3870,3444,3266,3263,3187,2950,2857,3160,3403,3246,3239,3333,3615,3212,2756,3269,3435,3240,2462,1765,1909,2617,2137,2257,2476,2311,2186,1930,1588,1494,1729,2486,3016,2862,2879,2467,2544,2658,3364,3849,3316,2890,2832,2574,2063,1912,2648,3559,3304,2939,2734,2769,2562,2006,1892,2054,1964,1926,1945,1735,1764,2383,2490,2302,2316,2330,2750,3200,3263,2929,2076,1761,1935,1767,1664,1900,1937,1691,1858,1976,1667,1837,1674,1493,1613,1666,1591,1753,1880,1748,1726,1660,1562,1508,1705,1543,1361,1274,1997,2830,2631,2026,1835,2365,2343,1893,2524,2777,2909,3030,2574,1644,1483,1886,1878,1747,1723,2008,2193,1928,1998,1853,1738,1896,1830,1622,1378,1519,1775,1444,1316,1311,1336,1437,1510,1690,1898,1880,1851,1763,1842,1914,1672,1648,1722,1803,1787,1896,1903,1924,1947,1859,1874,2560,2862,2040,1593,1600,1589,1648,1750,1655,1706,2033,2238,1775,1549,1744,1966,1753,2020,2143,1584,1406,1448,1396,1370,1760,1830,1586,1422,1427,1520,1400,1586,1882,1726,1527,1442,1500,1566,1395,1409,1630,1610,1876,1484,1371,1315,1375,1651,1626,1576,1314,1323,1479,1673,1460,1445,1703,1904,1759,1594,1578,1548,1917,2366,2101,1762,1573,1514,1603,1438,1569,1584,2074,2542,2123,1460,1737,2181,2105,1484,1335,1466,1686,1533,1363,1462,1736,1832,1446,1440,1520,1780,2026,1690,1810,1839,1759,1865,2133,1822,1770,2210,2328,2194,2083,2121,2219,1727,1431,1560,1722,1903,1828,2462,2755,2470,2413,2674,2840,2474,2107,2275,2927,3436,3496,3648,3203,3589,4280,4356,3820,3322,3329,3497,3063,3352,3030,2186,1680,1473,1598,1438,1507,1625,1604,1770,1658,1389,1830,2060,1528,1416,1618,1765,1626,1744,1877,1638,1528,1797,1817,1747,2020,1728,1583,1422,1687,1757,1970,2147,2129,2055,1775,1758,1888,2014,1854,1758,1446,1470,1567,1656,1851,2072,2186,2085,1925,1972,1912,1732,1908,2144,1685,1482,1743,1810,1780,1848,1786,2236,2214,1960,1849,1575,1621,1763,1872,1721,1948,1751,1367,1438,1687,1601,1482,1214,1371,1660,1456,1400,1383,1293,1443,1817,2301,3465,2541,1631,1664,1734,2136,2450,1975,1710,2369,3094,2811,2511,1648,1678,2699,2668,2488,3381,3362,2533,2386,2246,1962,1802,1669,1479,1500,1797,1606,1561,1402,1688,1670,1383,1504,1628,1727,1549,1520,1666,1621,1742,1928,1825,1956,1657,1561,1785,1678,1626,1606,1458,1349,1918,2167,1564,1583,2022,2052,2041,1633,1450,1700,1742,1488,1398,1495,1628,1620,1482,1492,1911,2126,1936,1654,1358,1414,1585,1711,1642,1503,1608,1739,2013,1739,1527,1721,1739,1629,1744,1992,2004,2172,2287,1916,2092,1768,1506,2279,2224,1997,2554,2664,2298,3167,3571,3046,2447,2047,2422,2931,1946,1609,2142,1756,1326,1672,1823,1715,1712,1590,1727,1665,1635,1513,1555,1743,1670,1847,2089,1974,2098,2293,1972,1711,2294,2544,2271,2818,2950,3186,3544,3349,3163,2670,1980,1817,1536,1544,1870,1815,1786,1677,1478,1644,1660,1643,1876,1854,1954,2160,2128,2408,2513,2046,1909,1790,1849,1984,2272,2577,2712,2696,2463,2267,2366,2474,2589,2115,1385,1521,1584,1612,1983,1843,1607,1593,1505,1573,1802,1896,2068,2715,3174,2386,2360,1925,1500,1562,1826,2009,2144,2209,2133,2097,2163,2187,1930,1771,1915,2678,2920,2865,2546,2056,1658,1454,1436,1483,1454,1520,1588,1415,1345,1643,1359,1385,1430,1475,1396,1519,2266,2544,2263,1924,1798,1739,1580,1609,1576,1526,1532,1534,1570,1579,1670,1767,1843,2049,2269,2452,2018,1913,1997,1808,1885,2182,2924,2566,1794,1663,1685,2402,2379,1977,1548,1833,2001,2088,2121,1661,1462,1610,1746,1833,1914,2267,2322,2050,2379,2866,2895,2542,2413,2336,2082,2068,1753,2010,2808,2462,2404,2556,2353,1703,1696,1580,1690,1855,1621,1467,1660,1945,2297,1999,1442,1431,1998,1865,1559,1466,1532,1552,1914,1990,1888,2008,1774,1819,1975,1865,1838,1657,2128,2055,1735,1699,1971,2123,2204,2283,2397,2185,2098,2744,2640,2111,2552,2359,2188,2220,1979,1716,1608,1683,1520,1520,1541,1472,1463,1473,1444,1327,1498,1721,1604,1691,2677,2714,1678,1639,1685,1490,1936,1654,1527,1846,2054,1755,1563,1569,1521,1474,1365,1650,2957,2633,2214,2093,1998,2280,1945,1537,1344,1676,1792,1371,1344,1345,1318,1453,1375,1538,1584,1892,1760,1741,2114,2230,2130,2014,2354,2394,2684,2025,1918,2341,1992,2407,2178,2022,2473,2709,2510,2264,2438,2604,2732,2799,2801,2959,2899,2899,2996,3098,3129,2922,2635,2520,2652,2526,1700,1822,2130,1974,2104,2229,2620,2679,2165,1593,1431,1397,1417,1578,1454,1396,1729,1515,1379,1536,1707,1665,1622,1588,1614,1543,1335,1268,1134,1127,1335,1314,1503,1469,1680,1887,2231,2519,2470,2566,2076,1944,2176,2037,1654,1522,1404,1359,1441,1414,1327,1409,1400,1721,2416,2932,2668,2045,1898,1968,2952,2700,2170,1819,1853,1897,1916,1820,1609,1700,1793,1803,1914,1982,2178,1986,1802,2078,2299,2091,2023,1913,1766,1688,1874,2013,1710,2288,2478,2440,1797,1639,1703,1897,2036,2307,2635,2758,2701,2437,2078,1973,1918,2053,2408,2117,1667,1731,2097,1973,1822,2102,2813,3348,3023,2679,2952,3350,2867,1857,1632,1866,1844,2432,3207,2880,2206,2162,2553,3077,2544,1857,2029,1861,1485,1547,2052,1994,1830,1890,2270,2065,1488,1554,1541,1904,1688,1451,1538,1506,1482,1511,1402,1368,1562,1776,1738,1464,1460,1626,1456,1474,1468,1340,1698,2154,2250,2099,1731,1897,1992,1838,1856,1813,2159,2092,2020,1612,1731,1983,1864,1648,1354,1371,1575,2081,2548,2109,2234,2049,2221,2077,2018,2114,1961,1982,1864,1713,1698,1667,1927,2025,2116,1650,1784,2273,2047,1435,1733,2254,2208,2199,2248,2254,2254,2164,1867,1875,2263,1938,2134,1760,1193,1475,1804,2213,2510,2301,2464,2633,3028,3178,2343,2274,2445,2909,3542,3096,2348,2263,2256,1869,1232,1283,1612,1602,1794,1817,1730,1902,2170,2101,1954,1941,2126,2260,1873,1769,2348,2087,1940,1691,1902,2309,2264,1995,2391,2416,1953,2120,2080,2224,2644,2711,2710,2395,2620,2590,2398,2433,2715,2253,2103,2645,3413,3286,2512,2162,2342,2793,2972,2461,1990,1957,2030,2348,2517,2326,2034,2138,2360,2473,2656,2255,1750,1773,2170,2312,2079,2300,2334,2229,2857,1902,1698,1770,1075,1933,2048,2066,2923,2507,2035,2274,1953,1737,1945,1943,1664,1943,1819,1673,1624,1660,1813,1569,1616,2611,2684,2053,1980,1653,1294,1210,1319,1109,1394,1671,1664,2138,2946,3122,2630,2898,3121,2538,2131,1764,1715,1767,1708,2163,2937,3680,3994,3271,2918,2676,2034,2753,2952,3062,2495,2035,1748,1321,1352,1964,2190,2207,2788,2597,2493,2407,2510,2913,2593,2233,2107,2066,1952,1635,1544,1982,1735,1735,1746,1746,1788,1975,1898,1778,1831,1602,1275,1277,1521,1699,1402,1455,1534,1476,2536,2847,2166,1979,1969,1683,1443,1395,1396,1611,1844,1914,1917,1820,1578,1772,1768,1767,1705,1599,1592,1566,1406,1470,1505,1490,1428,1452,1504,1739,1650,1626,1631,1950,1832,1534,1556,1455,1450,1470,1469,1788,1885,1585,1732,1907,1918,1704,1551,1517,1618,1844,1946,1971,1629,2018,1995,1576,1710,1912,1812,1911,1770,1599,2022,1859,1759,2165,2266,2326,3152,2912,2284,2063,2033,1708,1529,1585,1883,2017,2177,2822,2270,2000,2111,1730,1837,1682,1396,1515,1983,2810,2524,1600,1686,1909,1587,1803,1704,1462,1700,2316,2047,1571,1477,1547,1466,1450,1209,1415,1700,1367,1312,1296,1221,1267,1423,1412,1378,1429,1320,1305,1461,1632,2031,2880,2819,1622,1226,1269,1409,1605,1826,1676,1548,1557,1310,1355,1452,1598,2356,2931,2206,1677,2437,2537,2326,2174,1868,1676,1326,1199,1543,1466,1917,2084,2455,2402,2554,2263,1628,1545,1878,1754,1552,1689,2019,1908,1924,2088,2502,2654,2746,3016,2718,2282,2182,1704,1527,1658,1677,1578,1459,1603,1628,1634,1635,1736,1751,1468,1305,1527,1859,1489,1447,1822,2108,1848,1872,1838,1896,2187,2730,2972,2618,3017,3525,3084,2345,1990,1626,2157,2025,2180,2911,2790,2763,3197,2642,1887,2112,1748,1520,1564,1555,1585,2096,2116,2302,2290,2087,2342,2282,2690,2830,2665,1853,1533,1295,1874,1887,1639,1404,1300,1388,1433,1650,1809,1859,1711,1788,2040,2416,2264,2248,2119,1976,1877,1622,1627,1706,2121,2801,3338,3210,2457,2164,2658,3497,3522,3349,2974,2574,2588,2163,2184,2626,3548,3557,3018,2110,2398,2257,2316,2230,1903,2369,2370,2030,2272,2037,1557,1677,2035,2003,1757,1880,2216,2264,2087,2214,2073,1804,2132,2291,1878,1897,2680,2612,1988,1611,1448,1756,2150,1971,1715,2009,2840,3176,3360,2619,2126,2098,2050,1783,1832,1924,1895,2155,2317,2020,1746,1650,1590,1800,1919,2061,2317,2224,1750,1556,1799,2014,1940,1795,1828,1626,1821,1698,1898,2100,2298,2837,3300,2624,2003,1830,1861,2218,2272,2352,2685,3066,2928,2619,2622,2922,2845,2697,2742,2742,2663,2562,2581,2652,2879,2719,2303,2231,2206,2326,2326,2344,2535,2460,2862,3109,2631,2588,2231,1938,1863,1962,1755,1716,1701,1713,1858,1689,1977,2476,1910,1624,1490,1456,2088,2334,1998,1919,2575,2931,2768,2350],[4027,4056,3870,4228,4393,4143,4310,4758,4740,4211,3460,2907,2743,2921,3287,3248,3020,2900,2972,2951,3051,3173,3120,3483,3549,3686,3794,4233,4408,4063,4092,4156,3892,4137,4309,4381,4366,4285,4144,4001,3826,3686,3610,3429,3297,3372,3334,3203,3365,3054,2993,3270,3506,3338,2617,3185,3332,2938,2423,2022,2104,2645,3052,2529,2055,2245,2093,2483,2577,3172,3840,4125,3968,4025,4462,4477,4103,3689,3555,3374,2729,2366,2999,3005,3084,3493,3375,3453,3770,3580,3501,3453,3510,3370,2066,1770,1886,2373,2198,2096,2347,2077,1976,2019,1752,1672,1980,2026,2072,2075,2469,2401,2424,2315,2922,3815,3974,3376,2557,2205,1953,2213,3098,3388,3112,2950,2791,3179,3115,2382,2079,2087,1899,1996,1993,2071,2264,2526,2580,2161,2494,2220,2184,2665,3002,2709,2127,1562,1431,1432,1730,1905,1598,1574,1570,1774,1866,1897,1769,1637,1700,1570,1696,1731,1580,1733,1890,1859,1659,1694,1756,1695,1648,1331,1765,2617,2612,2214,2049,2519,2098,2238,3116,3481,3385,3427,2688,1706,1834,2121,2141,1938,1742,1522,1541,1826,1825,1779,1577,1580,1675,1736,1664,1716,1679,1358,1484,1485,1594,1715,1738,1630,1553,1556,1561,1383,1572,1772,1550,1453,1463,1616,1686,2132,1794,1539,1692,1792,1823,1782,1926,2078,1732,1550,1493,1353,1435,1448,1483,2059,2235,1927,1838,1991,1969,1706,1838,1930,1734,1535,1429,1335,1299,1481,1270,1434,1836,1830,1623,1537,1692,1867,1873,1697,1925,1546,1454,1438,1440,1632,1660,1497,1322,1266,961,1027,1417,1629,1758,1445,1333,1451,1548,1395,1368,1419,1638,1622,1483,1478,1413,1485,1878,1977,1573,1541,1529,1553,1501,1519,1544,1864,1992,1641,1578,1779,1728,1816,1527,1415,1485,1555,1361,1382,1499,1804,1880,1522,1512,1575,1502,1476,1587,1829,1700,1627,1554,2099,2290,1929,2111,2178,2010,1908,2118,1937,1618,1690,1641,1731,1763,2034,2945,2569,2446,3033,2953,2584,2603,2978,3374,4015,4584,4453,4534,3863,3812,4388,4220,3918,3693,3447,3554,2916,2700,2408,1876,1605,1481,1447,1460,1526,1783,2176,1952,1701,1767,2380,2314,1918,1588,1690,1850,1860,1842,1741,1660,1888,2445,2603,1750,2038,1841,1537,1230,1794,1928,2009,1979,1967,1830,1893,1965,2058,2218,2169,2160,1629,1652,1761,1990,1964,2229,2593,2149,1767,1918,2021,1935,1863,1906,1700,1439,1575,1760,1793,1880,1989,2246,2046,1733,1631,1570,1736,1730,1620,1454,1584,1722,1658,1787,1831,1588,1421,1394,1412,1296,1369,1482,1364,1145,1339,1937,2045,2950,2536,1712,1578,1695,1910,2238,1780,1859,2166,2591,2567,2369,1703,1959,3033,3237,3210,3718,3221,2499,2263,2273,2164,2073,1894,1703,1688,1527,1553,1585,1429,1707,1745,1558,1540,1673,1701,1443,1546,1462,1506,2034,2164,2085,1679,1506,1544,1412,1509,1667,1484,1458,1522,1649,1601,1566,1822,1792,1887,2200,1903,1527,1618,1522,1429,1537,1713,1836,1673,1540,1657,2103,2177,2128,1952,1556,1487,1654,1587,1437,1418,1559,1719,1773,1451,1545,2099,1902,1439,1607,1703,1553,2230,2350,2117,2151,1796,1833,2360,2659,2591,2709,2569,2135,3576,3793,3765,3449,3030,2735,2466,1863,1736,1703,1569,1495,1583,1930,1987,1650,1646,1852,1837,1852,1564,1621,1848,2071,2573,2563,1808,2087,2255,1965,1622,1754,1958,1938,2312,2463,2676,2574,2284,2083,1691,1576,2083,1796,1527,1852,1809,1667,1559,1454,1637,1834,2072,2011,1751,1958,1854,1606,1855,1944,2137,1938,1844,1723,2069,2477,2193,1936,2154,2586,2411,2243,2475,2999,2246,1525,1662,1674,1484,1462,1482,1597,1622,1546,1666,1745,1667,1741,2096,2415,2122,2110,1939,2002,2208,2319,2336,2309,2402,2697,3108,3250,2878,2091,1796,1975,2440,2463,2093,1797,1533,1355,1433,1432,1493,1415,1462,1499,1587,1446,1411,1415,1434,1487,1466,1310,1533,2024,2106,2442,1957,1779,1676,1642,1570,1439,1447,1481,1508,1547,1688,1821,1714,1619,1614,1629,1866,1849,1945,2040,1957,1854,1874,2057,1885,1651,1713,1972,2344,2084,2020,1876,2140,2192,1995,1828,1530,1342,1495,1537,1555,1464,2003,2106,1604,1737,2282,2149,1962,2078,1920,1714,1623,1730,2000,2296,2067,2025,1892,1647,1667,1550,1676,1811,1628,1699,1870,1878,2314,2340,1896,1417,1365,1775,1591,1605,1751,1538,1643,1828,1782,1861,1707,1688,1834,2019,1788,1821,1730,1986,1727,1354,1481,1666,1848,2081,2480,2872,2285,2070,2280,2024,2137,2369,2026,1853,2005,2039,1693,1875,1696,1393,1461,1526,1412,1476,1943,1920,1406,1349,1432,1590,1712,2775,3026,1750,1780,1585,1567,1622,1462,1570,1826,1852,1636,1586,1520,1553,1600,1512,1602,2943,2812,2536,2142,1825,1831,1752,1663,1562,1584,1475,1315,1286,1322,1284,1554,1837,1928,2117,2095,1702,1759,1937,2328,2097,1744,2149,2393,2419,2294,2288,2018,2040,2308,1753,1726,2219,2339,2308,1813,2283,3145,3096,2502,2475,3041,3388,3646,3460,2888,2940,3246,3302,3406,3399,3134,2532,2328,2439,2776,2392,1931,2052,2053,1788,1722,1720,1532,1367,1349,1238,1331,1701,1720,1448,1415,1642,2134,2206,1686,1506,1434,1521,1513,1267,1391,1433,1368,1576,1546,1378,1270,1988,2801,2010,2152,2183,2158,2477,2441,1915,1618,1474,1346,1436,1412,1595,1816,1367,1534,2267,2637,2099,1959,1991,2233,2915,2617,1916,1594,1766,1812,1955,1863,1487,1528,1851,2193,2094,1568,1704,1757,1571,1726,2089,2591,2486,1993,1810,1766,1814,2273,2223,2314,2230,2148,1732,1715,1806,2052,2843,3108,2350,2334,2808,2759,2116,2061,1702,1707,2094,1903,1488,1768,2012,1629,1763,1992,2813,3328,3168,2760,2718,3287,2719,1801,1642,1917,2579,2676,2593,2192,1582,1827,2080,2580,2183,2273,2048,1518,1300,1741,2359,2099,1852,1882,2414,1866,1617,1689,1598,1760,1600,1537,1599,1496,1404,1360,1404,1432,1628,1853,1702,1500,1922,1955,1429,1225,1238,1656,2351,2241,1826,1532,1601,1727,1610,1802,1901,1902,1869,1807,2029,2132,2385,2735,2468,1792,1473,1401,1580,1846,1928,1697,1694,1937,1931,1709,1669,1484,1489,1638,1290,1484,1485,2000,3842,3073,2248,1881,1630,1640,1953,2169,2382,2700,2794,2454,2147,2265,2281,2360,2264,2409,2226,1825,2082,1955,1167,1509,1983,1877,1945,2156,2301,2698,3107,3284,3021,3173,2917,3033,3642,3422,2895,2968,2480,1811,1461,1363,1453,1568,1655,1730,1596,1499,1712,2096,1773,1737,1856,2029,1851,2219,2589,2048,1803,1746,1842,2234,2086,1780,2104,2097,2133,2431,2476,2142,1973,2050,2105,2378,2464,2486,2675,2679,2482,1784,1945,2181,2477,2636,2366,2144,2251,2415,2490,2530,2439,2347,2282,2360,2327,2094,1960,1832,2093,2287,2017,1864,1959,1954,2125,2280,2078,2315,2368,2530,2636,1419,1684,1729,1080,1418,1938,2645,2658,1557,1569,2464,2191,1854,1755,1853,1774,1979,2047,1629,1598,1813,1857,1609,1540,2272,2303,1974,1626,1388,1271,1526,1841,1716,1860,2069,1951,2364,2950,2116,1571,2586,2554,1974,1497,1481,1680,1802,1690,1962,3273,3817,3619,3045,2800,2745,2479,3043,2842,2537,2345,2177,1598,1187,1647,1779,1842,2570,3360,2749,2739,2390,2410,2698,2414,1956,1953,2071,1877,1634,1844,2088,1918,1857,1713,1625,1749,1837,1655,1428,1542,1852,1814,1704,1941,2014,1666,1547,1637,1610,2445,2809,1938,1607,1671,1710,1473,1470,1355,1386,1643,2035,1918,1590,1679,1891,1772,1712,1709,1603,1478,1434,1461,1398,1470,1467,1476,1597,1673,1751,1605,1550,1826,1738,1698,1486,1400,1412,1512,1640,1784,1932,1998,1474,1362,2229,2602,1805,1754,1932,1582,1795,1956,2221,1818,1851,2088,2055,1500,1390,1632,1563,1487,1402,1652,1669,1819,1942,2392,2404,2556,2490,2558,2464,2021,1760,1807,2117,1915,1873,2058,2485,2030,2423,2355,1778,1661,1471,1654,2060,1975,2202,2014,1933,1791,1927,1951,2020,1811,1473,1534,1853,1909,1619,1272,1418,1394,1338,1184,1268,1301,1403,1399,1258,1260,1349,1424,1455,1481,1429,1678,1748,1922,1847,1625,2099,2005,1655,1643,1500,1451,1476,1465,1351,1399,1513,1389,1373,1451,1450,1619,1877,1763,1865,1876,1818,2470,2676,2010,1991,1926,1791,1726,1878,1810,1838,2461,3036,2476,1841,1931,2251,2316,2168,2093,2608,2568,2775,2729,2032,2091,2505,2674,2534,2241,2097,1801,1565,1654,1662,1800,1918,1757,1680,1964,2045,1714,1741,1707,1362,1266,1559,1887,1220,1152,1708,1856,1690,1586,1514,1654,2213,3340,2988,2355,3230,4071,3106,2362,2053,1793,2239,2072,1999,2618,2786,2890,2751,1962,1900,1873,1562,1835,2482,2558,2150,1854,1721,2069,2291,2149,2424,3064,3267,2836,2197,1933,1784,1743,1694,1573,1623,1456,1326,1413,1467,1739,1831,2071,2123,2018,1859,1962,2069,2507,2331,1854,1956,2144,1925,1750,1605,1953,2104,2800,2511,2802,2976,2676,2492,2577,2884,2769,2716,2468,2353,3204,3847,3239,2478,1995,2238,2251,2485,2143,1616,1998,2368,2178,2260,2248,2325,2352,2831,3064,2896,2952,3376,3285,2242,1926,1816,1912,2123,2088,2023,2049,2500,2380,1853,1676,1766,1842,1793,1645,1887,2092,2573,2479,2325,2113,2007,2008,1714,1624,2299,3094,2668,2265,2154,2034,1918,1598,1861,1988,1655,2352,3283,2769,1975,1749,1538,1406,1554,1971,2111,2083,2308,2260,2414,2311,2070,2459,2679,2203,1937,2080,2399,2286,1995,2131,2544,2975,2959,2632,2880,3243,2994,2777,2545,2577,2546,2527,2454,2429,2020,1710,1635,1807,2292,2728,2166,2126,2667,2542,2467,2563,2609,2768,2011,1973,2172,2061,1766,1625,1438,1622,1793,1736,1308,1407,1784,1550,1503,1779,2302,2586,2225,1975,2338,2875,3048,2843],[3749,3598,3176,3627,4061,4000,4352,4717,4733,4328,3674,2617,2496,3062,3286,3198,3086,2953,3085,3033,3230,3098,3034,3393,3629,3680,3687,3958,4112,3984,4291,4143,3818,3959,4136,4273,4225,4196,4055,3935,3770,3529,3586,3798,3828,3553,2853,2520,3222,2680,2447,2611,3329,3492,2815,3123,3718,3563,2930,2500,2260,2581,2850,2615,2022,1831,1830,2264,2597,2913,3233,3497,3443,3614,4132,4327,4203,3616,2978,2479,2089,2173,2942,2850,2668,2964,3187,3398,3230,3176,3729,3360,3152,2612,1882,2353,2580,2558,2043,2070,2371,2023,2008,1780,1647,1931,2370,2199,2075,1872,2697,3204,2951,2945,3407,3951,4168,3758,3242,3085,2249,2010,2688,2983,3115,3278,2943,2540,2631,2604,2317,1835,1990,2053,2028,2108,2248,2260,2502,2535,2502,2193,2074,2437,2764,2353,1970,1548,1816,1930,2213,1928,1688,1589,1604,1634,1699,1963,1930,1799,1637,1476,1659,1703,1961,1777,1465,1785,2014,1826,1544,1787,2116,1625,1863,2888,2612,2266,2376,2847,2172,2655,3143,3005,3066,3176,2627,1703,1727,1929,1808,1563,1489,1461,1679,1952,2288,2054,1678,1672,1555,1663,1820,1758,1858,1715,1709,1735,1588,1671,1610,1414,1384,1505,1714,1493,1492,1613,1453,1378,1567,1556,1819,2316,1819,1524,1476,1260,1721,1958,2074,2084,1898,1894,1653,1592,1558,1575,1800,2029,2338,2293,1880,1715,1725,1923,2022,1849,1676,1489,1386,1410,1386,1553,1578,1488,1466,1413,1548,1745,1799,1444,1571,1614,2082,1634,1473,1425,1488,1565,1521,1434,1360,1265,1242,1222,1463,1644,1742,1651,1532,1475,1421,1381,1374,1274,1245,1294,1383,1370,1494,1599,2036,2141,1628,1492,1405,1311,1298,1301,1378,1523,1550,1527,1639,1635,1451,1541,1521,1420,1461,1554,1690,1632,1516,1966,2224,1628,1494,1543,1272,1374,1822,1845,1578,1444,1638,2317,2238,2128,2764,3107,2768,1840,1745,2023,1835,1730,1640,1795,2116,2579,2665,2149,2120,2358,2505,2259,2588,2288,2242,3422,4444,4600,4587,4056,3652,4086,4172,3571,3648,3258,3553,3039,2452,2044,1642,1673,1742,1572,1504,1527,1478,1637,1402,1616,1984,2161,1880,2076,1909,2237,2604,2188,1880,1508,1463,1697,2491,3085,2790,2486,2170,1906,1557,1782,1866,1862,1922,1898,1618,1469,1366,1719,1971,2288,2024,1669,1593,1609,1820,1918,2158,2269,1822,1738,1739,1843,1932,1866,1909,1695,1486,1543,1605,1627,1606,1692,1990,2024,1595,1545,1566,1588,1742,1745,1506,1384,1528,1710,1771,1764,1538,1361,1426,1477,1363,1390,1505,1349,1242,1459,1695,1750,2089,2087,1782,1657,1527,1465,1807,1905,2284,2687,2897,3007,2462,1754,2321,3204,3115,3302,3728,2789,2291,2124,2160,2249,2260,2189,2131,2032,2002,2033,1789,1638,1705,1671,1403,1876,1547,1540,1538,1626,1654,1832,1992,1952,1954,1590,1493,1373,1419,1507,1490,1672,1792,1632,1546,1713,1958,2402,2491,1907,1694,1584,1332,1434,1426,1639,1682,1904,1842,1496,1665,2243,2408,2009,2221,2295,1996,1526,1561,1615,1796,1743,1672,1720,1538,1535,1594,1823,1782,1494,1591,1537,1686,2186,2125,2292,2047,1553,1753,2420,2888,2717,2968,2823,2481,3273,2823,2322,3001,3370,3063,2431,1958,1841,1639,1564,1567,1732,1715,1720,1533,1584,1567,1970,1861,1633,1715,1864,2797,3372,3376,2487,2552,2836,2426,1801,1682,1798,1889,2011,2057,1853,1730,1804,1651,1592,1592,2407,2324,1773,1855,1850,1918,1812,1475,1472,1489,1748,1824,1503,1804,1865,1641,1760,1873,1866,1701,1859,1820,1677,1863,1793,1707,2003,2109,1765,1895,2292,2478,1940,1686,1779,1753,1709,1720,1687,1764,1828,1889,1827,1787,1825,1902,1972,1912,1845,1885,1942,2140,2246,2379,2599,2718,2845,2987,2654,2521,2200,1884,1776,2094,2819,2840,2232,1729,1736,1364,1394,1465,1561,1490,1472,1490,1461,1395,1481,1525,1471,1467,1499,1539,1695,1638,2137,2404,2021,1970,2243,2092,1678,1530,1455,1387,1408,1463,1581,1627,1647,1622,1464,1456,1484,1538,1700,1970,2092,2048,1896,1669,1620,1616,2094,2023,1674,1731,1924,1723,1781,2010,1846,1736,1538,1344,1498,1501,1436,1682,2331,2314,1982,2194,2523,2326,2169,2059,2058,1879,1617,1642,1943,1757,1616,1569,1402,1522,1638,1545,1677,1684,1423,1554,1934,1860,2275,2040,1805,1466,1577,1671,1410,1665,1630,1378,1864,2082,2115,1963,1837,1909,1933,1802,1598,1591,1692,1570,1343,1399,1548,1658,1754,2022,2635,2534,1971,1924,2018,1808,1682,1757,2125,1922,1854,2184,1845,1744,1485,1368,1305,1319,1659,1855,2269,1927,1493,1516,1405,1548,1552,2210,2304,1720,1581,1457,1449,1640,2202,2114,1869,1957,1762,1671,1703,1912,1936,1631,1558,2172,2283,2028,1796,1666,1560,1605,1767,1569,1455,1306,1287,1428,1457,1343,1532,1839,2074,2183,1914,2037,2008,1690,1942,1908,1715,2078,2358,2358,2911,3013,2449,2384,2428,2293,2440,2790,2441,2409,2197,2604,3276,2858,2217,2524,3089,3361,3505,3296,3145,2897,3034,3176,3567,3398,2978,2943,2697,2438,2840,2415,1760,2219,2293,1904,1938,1875,1494,1304,1383,1329,1358,1604,1532,1429,1381,1480,2120,2136,1660,1459,1357,1396,1419,1377,1272,1245,1418,1662,1625,1362,1236,1339,1743,1459,1878,2156,2071,2143,2038,1588,1444,1470,1490,1426,1392,1816,2051,1622,1605,2160,2377,2191,2108,2396,2612,2805,3083,2437,1974,1897,1938,1869,2210,1881,2533,2668,2656,2100,1425,1536,1594,1411,1532,2179,2292,1904,1829,1765,1827,1850,1916,1957,1853,1952,1854,1621,1631,1867,2237,3437,3640,2354,2472,2575,2868,2812,2283,1888,1750,2098,2278,1811,1990,2555,2358,2187,2143,2638,2827,2658,2454,2278,2718,2668,1995,1646,1748,1943,1800,1565,1771,1610,1977,2111,2116,1726,1760,2088,2048,1840,2217,2145,1969,1936,2182,2254,1944,1939,2039,2204,2426,2096,1725,1653,1503,1404,1464,1543,1647,1802,1865,1757,1561,1632,1416,1144,1232,1209,1483,2150,2220,1804,1579,1504,1376,1110,1188,1537,1919,1790,1701,2112,2579,2956,3239,2697,1902,1584,1633,1730,1666,1617,1338,1551,1836,1159,879,789,658,940,1677,1582,1672,1468,1924,2828,2507,1960,1642,1812,2084,2354,2624,2431,2526,2700,2408,2122,2136,2215,2542,2588,2288,1873,1607,1808,1915,1234,1383,1917,1934,2145,2233,2351,2916,3430,3519,3727,3852,3393,3763,3771,3084,2842,2866,2542,2342,2045,1731,1569,1538,1578,1776,1831,1799,1562,1826,1782,2031,1869,1762,2282,2620,2862,2817,2297,1925,2219,2152,1960,2035,2154,2476,2530,2395,2530,2181,1856,1829,1892,1984,1884,2080,2662,2695,2209,1858,1954,2344,2503,2320,2120,2319,2518,2160,2059,2668,2871,2786,2604,2458,2051,1941,1862,1471,1573,1742,1782,2106,2400,2570,2177,2180,2335,2729,2665,2285,1896,1834,2308,1978,1630,1732,2328,2607,2495,2018,1983,2410,2024,1892,1822,1908,1984,2139,1946,1399,1597,2339,2520,2031,1877,2229,2039,1621,1304,1464,1610,1798,1863,1519,1476,1771,1402,2012,2709,1499,1298,2115,2006,1546,1638,1944,1891,1776,1699,2030,3617,3951,3273,2818,3115,3155,3366,3267,2662,2303,2360,2248,1640,1216,1870,2145,1980,2610,3035,3210,3310,2758,2311,2177,2202,1959,2065,2102,2112,1995,2409,2258,1975,1908,1818,1712,1832,1898,1556,1321,1527,2444,2792,1999,1676,1833,1793,1843,1823,1834,2824,3066,1998,1405,1499,1522,1416,1470,1312,1454,1953,2058,1600,1386,1400,1349,1485,1444,1575,1629,1380,1595,1656,1524,1613,1591,1748,2337,2337,1888,1525,1963,2300,1642,1713,1438,1596,1998,2293,1986,1904,1838,1440,1021,1033,1644,1956,1626,1837,2105,1898,1906,2546,2625,1781,1657,2308,2788,2498,1702,1418,1300,1201,1161,1462,1941,2011,2192,2511,2127,1652,2208,2655,1901,1675,2021,1930,2178,2378,2195,2577,2243,2457,2864,2036,1568,1422,1464,1755,2100,2229,1954,2276,2886,2575,2325,2792,3100,2532,1827,1505,1504,1504,1477,1404,1406,1327,1199,1202,1285,1382,1417,1383,1329,1307,1382,1488,1388,1453,1668,1980,2212,2187,2116,1848,1542,1339,1460,1593,1412,1361,1274,1259,1347,1346,1588,1521,1452,1416,1429,1498,1476,1730,1844,1695,1929,2735,2869,2379,2101,1978,1668,1659,2464,2275,1922,1826,2204,2019,1646,2000,2170,2346,2295,2664,3310,2898,3251,3072,1996,2015,2003,1901,1822,1898,2259,1861,1703,1837,1614,1738,2024,1937,1699,1652,1817,1604,1722,1889,1275,1237,1772,1903,1215,1547,2247,2196,1938,1974,1510,1339,1869,2586,2295,1882,2778,3858,2993,2266,2139,2077,2307,2060,2094,2112,2050,2142,1983,1585,2047,2038,1786,2301,3029,2868,2337,1798,1601,1500,1955,2154,2585,2933,2653,2182,1797,1694,1924,1975,1694,1651,1640,1577,1370,1349,1425,1727,1851,1890,2129,1918,1860,1918,1616,1839,1897,1535,1841,2045,1713,1725,1823,1908,1825,2106,2675,2850,2375,2466,2566,2275,2595,2812,2565,2570,2757,3595,3949,3371,2364,1942,1870,2211,2561,2164,1815,1751,1738,1821,2019,2597,2884,3081,3928,4061,4013,3801,3494,3144,2154,1740,2147,1955,1739,1702,1944,1932,1896,1866,1825,2027,2153,2056,1778,1687,1739,2232,2778,2318,2061,1953,1803,1716,1570,1512,2313,3427,2697,2166,2225,2256,2232,1817,1674,1785,1700,1961,2559,2361,2232,2204,1742,1548,1211,1621,1988,2500,2860,2929,3143,2929,2663,2130,2124,1999,1891,2076,2744,2331,1705,1904,2421,2873,2906,2634,2709,3040,3085,3265,3239,3122,2775,2435,2283,2085,2009,2252,2240,2047,2345,3335,3045,2670,2799,2430,2181,2372,2436,2376,2035,2128,2455,2618,2061,1764,1484,1431,1526,1599,1291,1562,2081,2015,1814,2118,2461,2188,2407,2854,2352,2778,3109,3043],[3175,3646,3382,2538,3429,3761,3967,4461,4669,4517,3873,3181,3116,3001,3134,3055,3038,2986,2986,3015,3099,3030,3001,3340,3641,3739,3563,3472,3906,3974,3920,3783,3763,3948,3974,3984,4034,4104,4141,3980,3586,3386,3408,3748,4050,3772,2737,2258,2866,3001,2935,2823,3139,2973,2712,2983,2918,2933,2673,2410,1775,2166,2510,2129,1694,1615,1633,1686,1970,2142,2286,2357,2646,2909,3688,4148,4239,3448,2437,2300,2261,2164,2631,2818,2415,2490,2844,3034,2908,2509,2809,3005,2518,1966,1740,1860,2287,2255,1766,2018,2214,1802,1713,1340,1536,2156,3176,3327,2337,1801,2889,3640,3340,2954,3869,4563,4367,3896,3167,3486,2813,2084,2310,2845,3384,3316,2166,1900,2609,2679,2084,1980,1932,1741,1990,2528,2322,2150,2585,2620,2404,2365,2468,2641,2692,2233,1854,1602,1757,1771,1981,2422,2842,3144,3223,2300,1718,1651,1556,1505,1426,1431,1566,1485,1837,1633,1182,1450,1723,1597,1530,1703,2027,1606,1767,2649,2480,2332,2343,2160,1768,1924,2369,2742,2565,2439,2383,1749,1538,1571,1517,1563,1557,1523,1639,1883,2067,2053,2124,1953,1950,1946,1859,1942,1833,1609,1533,1758,1886,2136,2012,1708,1666,1520,1501,1538,1786,1874,2020,2593,2156,1972,2352,2699,2348,1978,1595,1119,1587,1804,2066,2060,1951,1937,2142,2038,1831,2084,2543,2304,1985,2284,1992,1628,2067,2378,1863,1477,1426,1431,1292,1341,1424,1574,1599,1452,1380,1410,1567,1654,1810,1877,1653,1314,1411,1469,1643,1549,1399,1437,1493,1498,1560,1355,1315,1249,1309,1363,1635,1716,1870,1842,1497,1367,1410,1360,1295,1269,1318,1421,1802,1864,2036,1968,1717,1560,1452,1328,1315,1243,1274,1453,1528,1436,1528,1338,1654,1813,1471,1383,1479,1514,1364,1381,1811,2324,2499,1765,1586,1384,1140,1746,2035,1670,1491,1442,1675,2121,1706,2024,2496,3229,3209,1950,1865,2668,2249,1852,1947,1995,2187,2264,2174,2155,1936,1764,1755,1777,2243,2060,2416,3618,4400,4571,4431,4196,3587,3625,4145,3875,3242,2835,3164,2687,2238,1733,1566,1933,2246,1671,1381,1611,1643,1515,1571,1930,2222,2096,1910,1954,1800,1968,1886,1604,1688,1606,1568,1494,1619,2105,2305,2384,2647,2367,2084,1955,1716,1716,1722,1953,1682,1606,1635,1784,1819,1853,1929,1751,1576,1653,1908,2088,1770,1887,1918,1923,1743,1625,1778,1860,1811,1747,1686,1559,1485,1475,1483,1419,1423,1667,1480,1453,1495,1483,1844,1843,1648,1565,1527,1598,1890,2083,1783,1522,1597,1522,1373,1416,1398,1375,1497,1486,1510,1737,2268,1973,1849,1619,1742,1794,1637,1797,2317,2718,2775,2591,1825,1663,2469,3274,3522,3673,3441,2663,2255,2164,2214,2346,2440,2439,2379,2295,2236,2136,2071,1928,1895,1698,1528,1916,1645,1529,1409,1448,1661,1699,1565,1492,1611,1596,1663,1612,1387,1304,1367,1470,1440,1419,1693,2365,2832,3231,3101,2058,1514,1348,1465,1629,1509,1470,1415,1550,1561,1362,1599,2107,1850,1825,2135,2095,1720,1385,1617,1974,2184,1997,1756,1699,1844,2030,1549,1394,1518,1851,1638,1440,1557,1636,1823,1882,1696,1648,1543,1955,2667,2942,3027,3042,3169,2767,2015,1696,2160,2909,3129,2649,1875,1787,1786,1446,1512,1779,1779,1558,1543,1659,1643,1880,1865,1895,1626,1635,2572,3409,3396,3039,2846,2754,2462,2160,1798,1577,1660,1686,1701,1626,1549,1575,1571,1589,1566,2380,2544,1809,1665,1886,2092,1769,1442,1551,1432,1470,1472,1454,1542,1486,1385,1688,1959,1776,1509,1738,1882,1579,1837,1968,1803,1896,1735,1659,1813,1979,1941,1884,1903,1784,1668,1699,1746,1701,1998,1970,1739,1675,1746,1647,1660,1958,2078,1802,1826,1886,1921,1483,1448,1651,1595,2026,2632,2342,2021,1960,1828,1757,2192,2743,2684,2236,1616,1740,1426,1313,1500,1449,1334,1313,1360,1461,1340,1315,1409,1542,1343,1355,1676,1606,1531,1856,2484,2547,2546,2499,1759,1500,1623,1494,1512,1529,1606,1611,1514,1679,1619,1512,1476,1443,1554,1664,1851,1750,1823,1910,1895,1902,1686,1480,1533,1696,1870,1667,1263,1544,1793,1802,1778,1502,1272,1378,1245,1580,2047,2470,2436,2227,2497,2493,1918,1632,1588,1891,1731,1537,1434,1693,1653,1627,1562,1285,1389,1526,1470,1539,1653,1561,1576,1598,1509,1785,1974,1935,1509,1437,1644,1529,1655,1667,1468,1816,2304,2622,2563,2183,1954,1722,1630,1722,2440,2364,1523,1551,1740,1572,1462,1324,1763,2008,1747,1628,1839,1930,1673,1437,1595,2457,2291,1886,1867,1576,1447,1401,1363,1383,1761,2044,2167,2175,1502,1420,1654,1444,1554,1704,2099,2093,1977,1815,1766,1505,1578,1875,1932,2198,2007,1810,1726,1587,1736,1691,1437,1409,1489,1426,1402,1550,1903,1562,1520,1704,1444,1469,1477,1418,1403,1443,1371,1367,1623,2003,1945,2065,2644,2365,2116,1857,2378,2605,2538,2203,2070,2662,2873,2460,2417,3012,3448,3340,3089,2347,2395,2735,2569,2905,3023,2710,2895,3310,3403,2965,3087,3768,3297,3032,2966,3227,3162,2798,2740,2734,2656,2363,1870,1902,2177,2124,1872,1661,1722,1461,1333,1478,1390,1368,1515,1532,1508,1430,1529,2019,1858,1851,1629,1341,1323,1511,1560,1300,1367,1542,1438,1610,1605,1440,1607,1614,1560,1844,1927,1935,1968,1875,1851,1565,1444,1814,2774,2120,1606,1544,1505,1462,1946,2273,2099,1931,1977,1783,2619,3539,2139,1922,1742,2359,2222,2520,2534,2746,2670,2494,1913,1499,1440,1391,1335,1647,1941,1676,1787,1888,1738,1722,1692,1658,1713,1827,1756,1787,2100,2396,2407,2575,3149,3360,2689,2846,2411,2646,3164,3010,2930,2713,3185,3294,2405,2141,1826,1826,2280,2324,2504,2613,2331,2140,2066,2378,2400,2318,2025,2025,2030,1755,1701,1871,2095,2239,2221,2015,1632,1821,2468,2586,2247,2307,1925,1801,1897,2321,2371,2036,1828,1774,1811,1692,1403,1615,1705,1539,1353,1360,1323,1752,2082,1884,1851,1674,1290,1396,1414,1388,1209,1204,1853,2073,1803,1685,1389,1280,1278,1267,1634,2193,2264,2310,2421,2600,2238,2235,2113,1485,1430,1669,1669,1534,1361,1448,2078,1881,1081,792,936,1202,1422,1771,2079,1909,1500,1560,2045,2556,2112,1676,2046,1937,1714,2115,1784,1778,1858,1845,2181,2074,1958,2225,2356,2029,1691,1600,1896,1714,1371,1416,1744,2076,2184,2075,2334,2764,2890,2633,3009,3891,3505,3284,3650,3123,2709,1904,2186,2695,2557,2120,1877,1847,1457,1576,1708,1865,1952,1757,1859,1926,1955,2269,2345,2339,2729,3317,3254,2750,2407,2150,1817,1968,2244,2439,2251,2127,2255,1937,1610,1602,1880,2167,2139,2230,2640,2808,2434,1872,1986,2709,2956,2588,2080,2049,2029,2032,2392,2320,2285,2424,2160,2184,1830,1673,1874,1817,1859,2036,2216,2241,2297,2775,2510,2186,2008,2592,2644,1828,1563,1906,2126,1902,1719,1912,2144,2410,2800,2740,2508,2153,1900,1774,1721,1742,1872,1801,1536,1369,1791,2395,2805,2404,1851,1763,1615,1526,1432,1386,1571,1628,1493,1000,1376,1937,1490,1792,2487,1873,1872,2413,2145,1698,1773,1969,1975,1838,1764,2153,3040,2894,2836,2940,3211,3684,3594,2879,2360,2071,2608,2609,2294,1383,1637,1970,1887,2360,3097,3493,3264,2755,2482,2083,2058,2120,2269,2285,2301,2308,2343,2019,1902,2057,1875,1671,1849,1896,1475,1258,1500,2774,3161,1961,1409,1503,1621,1945,1923,1759,2217,2974,2395,1600,1512,1470,1412,1481,1431,1546,1935,1862,1508,1509,1404,1490,1444,1271,1546,1597,1544,1948,2020,1788,2026,1968,1632,1705,2041,2198,1529,1968,2114,1547,1820,1795,2256,2633,2565,2073,1847,1482,1325,1086,1295,1612,1954,1851,2204,2951,3006,2402,2295,2312,1849,1716,2061,2577,2612,1907,1719,1404,1311,1539,1532,1944,1985,1782,2366,2384,1334,1848,2063,1535,1766,2084,1614,1586,1743,2232,2501,1965,2517,2753,1805,1444,1318,1440,1653,1728,2011,1918,2590,2998,2586,1959,2142,2858,3141,2854,1855,1484,1485,1506,1418,1285,1310,1315,1317,1350,1404,1373,1282,1214,1274,1723,1942,1832,2066,2214,1833,1775,1739,1781,1783,1492,1431,1503,1444,1310,1270,1306,1346,1370,1607,1801,1685,1636,1388,1482,1543,1738,2084,2344,2463,3002,3593,3317,2876,2445,2332,2007,2311,2502,2110,1813,1573,1867,1744,1834,2092,2272,2422,2378,2915,3205,3212,3064,2103,1803,1888,1786,1885,1854,2177,2293,2051,2081,1892,1449,1410,1479,1712,1550,1766,1918,1717,1806,1710,1450,1699,1909,1881,1677,1815,2408,2621,1846,1608,1394,1328,1750,1788,1571,1706,2540,3119,2482,1797,1822,2121,2238,1941,1554,1678,1817,2048,2197,2046,2073,2210,2280,2083,1962,2332,2758,2069,1899,1868,2254,2302,2103,1949,1876,1838,1673,1488,1558,1743,1596,1662,1832,1824,1540,1585,1520,1515,1692,1828,1929,1808,2063,2028,1558,1503,1664,1617,1847,1942,2046,2336,2233,2369,2451,2255,2691,2679,2283,2388,2122,1878,2164,2435,2320,2630,3006,3220,3492,3046,2031,1855,1753,1865,2046,2442,1997,1580,1231,1619,2037,2309,2408,2881,3930,3973,3946,3575,2875,2478,2082,1816,2088,2250,2062,1925,2021,1826,1753,1466,1693,2101,2652,2476,2045,2060,1781,2238,2725,2662,2539,2115,1598,1445,1691,1895,2148,2583,2596,2611,2337,2248,2271,1785,1491,1832,1859,1685,1844,2016,2327,2210,2105,2004,1457,1240,1635,2260,2462,2721,3091,3057,2924,2668,2652,2425,2093,2196,2532,2503,2532,2641,2625,2886,3030,3187,3252,3796,4037,3903,3602,3244,3081,2810,2585,2428,2383,2696,3016,2825,2184,2786,3018,3017,2481,2815,2704,2197,2487,2277,2056,2164,2447,2906,2711,2226,1828,1563,1609,1743,2106,2523,2530,2137,1861,2674,2302,1493,2256,3596,3399,3514,3211,2799],[3430,3599,3372,2560,3165,3521,3738,4185,4268,4400,3880,3507,3133,2936,3174,3023,2702,2814,3096,3498,3541,3185,3124,3414,3506,3566,3548,3603,3997,3861,3892,4003,3785,3788,3902,3915,3893,3768,3794,3702,3472,3291,3532,3660,3784,3974,3188,2282,2445,3168,2983,2550,2790,2328,2574,2878,2530,3088,2752,2610,2650,3198,2985,2187,1779,1769,1899,1827,2288,2206,2266,2357,2780,3209,3896,4160,4256,3464,2337,2477,2902,3150,3164,3153,2945,3328,2762,2618,2417,2055,2398,2602,2131,2078,1983,1765,1646,1953,2353,2666,2094,1713,1614,1340,1248,2151,3256,3025,2468,2495,3658,3979,3361,2808,4063,4655,4479,4149,2827,2839,3455,3499,3548,3640,3541,2852,2149,2623,2883,3097,2540,2258,1746,1568,1887,2304,1982,1892,2360,2786,2924,2495,2521,2801,2800,2241,1676,1725,1776,1913,2298,2829,3854,4333,4144,2535,1931,1664,2077,1818,1448,1461,1511,1714,1888,1521,1273,1377,1732,2038,2064,1796,1765,1584,2136,2415,2026,1871,1726,1564,1433,1522,2170,2845,2405,2334,2624,1979,1655,1655,1572,1515,1591,1680,1861,2184,2094,2036,2054,1848,2017,1872,1918,1785,1800,1945,1824,1947,1926,1671,1602,1648,1852,1865,1888,2127,2700,2768,2698,2638,2300,2533,2602,2275,2547,2500,1946,1721,2411,2120,1728,1887,2056,1913,1924,2039,2072,2092,2242,2815,2402,1995,1738,1598,2175,2076,1839,1797,1776,1602,1366,1355,1446,1393,1349,2008,1780,1486,1422,1432,1566,1890,1641,1280,1258,1317,1428,1501,1476,1346,1315,1551,1690,1554,1350,1429,1366,1186,1409,1753,1993,1966,1528,1362,1447,1415,1444,1331,1354,1358,1481,1377,1622,1933,1784,1686,1574,1444,1488,1447,1418,1473,1482,2113,2212,1773,2497,2542,1528,1496,1470,1517,1616,1729,2025,2072,1976,1509,1315,1343,1330,1742,1863,1553,1502,1502,1847,2339,1852,1820,2409,3085,2916,2193,2156,2455,2252,2231,2144,1841,1735,1756,1965,1958,2326,2159,1842,1804,1714,2062,3211,4007,4268,4279,4207,4380,3705,3471,3786,3027,2344,2453,2257,2317,2029,1627,1761,1869,1874,1700,1461,1514,1462,1518,1498,1809,2330,2139,1754,1874,1732,1730,1704,1948,1802,1870,1527,1555,1592,1479,1494,1557,1834,2115,2343,2061,1816,1543,1684,1921,1646,1741,1866,1832,1652,1620,1602,1555,1694,1624,2024,2172,1657,2135,2724,2630,1962,1521,1655,1795,1790,1797,1832,1838,1787,1588,1410,1366,1530,1740,1426,1331,1345,1272,1438,1560,1597,1667,1732,1686,1772,2167,1917,1573,1592,1780,1909,1887,1698,1686,1940,1367,1337,1439,1864,1786,1772,1804,2206,2042,1681,1693,1844,2024,2395,2469,1726,1672,2172,2938,3666,3816,3133,2619,2335,2238,2248,2236,2308,2357,2365,2411,2458,2355,2232,2150,1699,1575,1908,1825,1714,1618,1510,1638,1627,1487,1512,1867,2222,1993,1968,1531,1350,1382,1367,1391,1549,1601,1764,2312,2370,2337,2475,1873,1486,1383,1701,1835,1579,1581,1580,1588,1684,1597,1544,1762,1491,1491,1610,1674,1509,1563,1913,1783,1633,1891,1949,1833,2154,1826,1409,1526,1465,1452,1454,1655,1655,1525,2018,1852,1626,1472,1464,1615,1936,2147,2665,2784,2793,2277,1691,1579,1744,2172,2147,1765,1786,1704,1628,1695,1780,2182,2282,1609,1422,1675,1678,1696,1759,1657,1591,1546,1704,2509,2895,2855,2767,2789,2780,2532,1981,1455,1495,1671,1853,1903,1666,1565,1650,1638,1817,2420,2178,1722,1738,1880,2139,1619,1438,1408,1393,1376,1396,1467,1476,1425,1484,1801,1953,1895,1758,1873,1915,1805,1953,1955,1856,1820,1782,1855,1822,1714,1759,1539,1485,1574,1639,1677,1593,1496,2072,2151,1873,1821,1619,1519,1495,1906,2590,1910,1864,1932,1786,956,802,1234,1500,2010,2555,2387,2215,2037,1810,1730,2222,1859,1559,1476,1515,1837,1561,1388,1491,1430,1542,1523,1487,1453,1448,1504,1448,1523,1432,1560,1604,1453,1565,1841,2276,2484,2508,2082,1561,1515,1548,1490,1512,1520,1730,1673,1496,1490,1490,1640,1614,1660,1788,1845,1534,1780,1824,1740,1788,2004,1924,1687,1854,1938,1974,1935,1729,1929,1737,1910,1859,1503,1429,1638,1572,1626,1902,1992,1946,2038,2042,1986,1770,1714,1620,1698,1820,1982,1808,1733,1716,1650,1461,1295,1414,1428,1476,1638,1793,1866,2025,1803,1933,1831,1414,1694,1888,1737,1780,1765,1621,1374,1340,1815,2481,2639,2520,2367,1907,1703,1781,2026,3326,2580,1572,1526,1670,1427,1429,1458,1737,1739,1532,1613,1671,1674,1678,1410,1608,2108,2381,1980,1527,1486,1620,1466,1289,1648,2141,2135,2024,1686,1402,1589,1688,1726,2636,2615,2051,2393,2369,1801,1657,1789,1535,1606,2302,2405,2004,1780,1556,1930,1928,1424,1396,1303,1341,1435,1402,1495,2141,1810,1611,1731,1490,1588,1684,1513,1503,1426,1374,1509,1654,1918,1807,2566,3010,2543,2336,2141,2633,2850,2569,2270,2070,2510,2471,2040,2034,2434,2910,2884,2918,2517,2763,2980,2645,3044,3431,2819,2710,3062,3329,2972,3042,3087,2532,2708,2931,3054,2963,2750,2777,2739,2802,2306,2373,2584,2459,2242,1904,1630,1719,1666,1488,1560,1688,2055,2053,1676,1557,1556,1418,1581,1505,1532,1420,1250,1326,1576,1525,1520,1855,1806,1616,1940,1964,1834,1588,1808,2151,2025,1534,1690,1858,1849,2122,1924,1715,2507,3177,2193,1677,1641,1616,1599,2037,2282,2013,1924,2126,1847,2282,3208,2139,1851,1784,2098,2046,2368,2047,1544,2160,2417,1694,1432,1307,1478,1499,1365,2054,2446,2114,1917,1854,1635,1501,1572,1612,1654,1432,1632,2235,2791,2252,2250,2094,2623,3317,3146,2422,3118,3918,3730,3554,3388,3304,3383,2488,2231,1365,1406,2207,2299,2342,2033,1544,1720,2076,2770,2663,2723,2555,2087,1911,1763,1868,2143,2343,2400,2054,1677,1588,1981,2042,1869,1642,1990,1816,1904,2186,2123,1957,1786,1562,1595,1574,1462,1104,1499,1486,1445,1560,1527,1332,1588,1840,1588,1554,1634,1521,1572,1462,1459,1650,1639,1784,1578,1461,1479,1432,1505,1614,1602,1539,1864,2148,2130,2274,2416,1845,1530,1472,1569,1798,1638,1487,1416,1520,1620,1760,1618,1366,1409,1733,2037,1878,1683,1747,1791,1929,2020,2294,2700,2181,2039,2116,1813,1771,1886,1906,2070,1726,1985,2447,1982,1826,2218,2500,2203,1478,1032,995,1318,1490,1699,1999,2125,2032,2182,2663,2619,2042,1890,2589,3698,3773,3682,3549,3318,2955,2175,1986,2192,2310,2240,2014,2192,1508,1477,1782,1887,1986,1882,1726,1637,2290,2678,2469,2817,3196,3344,3473,3204,2532,2040,1816,2149,2228,2177,1970,2125,2604,2169,1732,1647,1590,1682,1842,1992,2050,2388,2260,1896,2427,3120,2906,2635,1994,2385,2744,2465,1940,1949,2215,2092,1974,1919,1583,1777,2182,1724,1814,2283,2242,2246,1902,2117,2410,2322,2051,2585,2652,2275,2674,2420,2147,2454,2022,1869,1847,2050,2087,2646,2647,2185,1930,1692,1844,1939,1990,1965,1649,2009,2676,2544,2454,2271,2044,1809,1598,1197,993,1322,1770,2098,1523,1168,1461,1781,1209,1122,1785,1996,2314,2530,1793,1530,1531,2164,1820,1669,1654,2189,2813,2546,2536,2980,3160,3573,3387,2971,2584,2130,2634,2429,1956,1345,1484,1899,1940,2104,2636,3133,2915,2711,2398,2057,2070,2399,2698,2661,2653,2636,2614,2711,2802,2579,2236,2364,2666,2398,1556,1367,1419,1732,1932,1738,1510,1425,1629,1728,1696,1579,1835,1990,1763,1736,1614,1469,1530,1644,1718,1693,1686,1541,1599,1553,1630,1755,1442,1376,1478,1571,1773,1858,1926,2255,2362,1970,1502,1505,2185,2432,1743,1776,1734,1551,1685,1568,1569,1957,1756,1399,1443,1492,1764,1623,1513,1720,2311,1968,2320,3609,3834,2687,1998,2140,1832,2136,1834,1944,1992,1930,1903,1703,1780,2302,2361,1691,1459,1736,2084,1730,1606,1937,1860,1477,1660,1765,1544,1453,1852,2272,2138,1923,1874,1883,1956,1620,1506,1455,1746,1932,2632,2701,2408,2522,2400,2017,1935,2091,3187,3270,1824,1353,1381,1450,1404,1451,1428,1405,1327,1297,1256,1267,1229,1227,1361,1876,2341,2792,2800,2242,1560,1309,1400,1479,1378,1383,1514,1746,1615,1425,1318,1394,1478,1537,2470,2785,1854,1615,1641,1715,1705,2051,2363,2965,2611,2875,3208,3013,2254,2265,2478,2195,2028,2062,1851,1749,1765,1755,2138,2246,2322,2402,2311,2665,3062,3173,3397,2537,1739,1703,1700,2055,1981,1803,2025,2247,2296,2185,1766,1385,1394,1767,1969,1569,1775,1619,1397,1609,1618,1955,2098,1800,1871,1924,1698,2209,2142,1626,1687,1783,1491,1637,1686,1441,1821,2792,3426,2689,1932,1996,2216,2250,1814,1571,1700,1777,1797,1902,2038,2157,2513,2176,1506,1517,2271,2501,2290,2424,2491,2479,2359,2177,1901,1889,1984,1939,2108,2123,2040,1643,1742,1818,1720,1832,1890,1599,1623,1870,2217,2286,1820,1812,1656,1586,1584,1570,1627,1712,1606,2224,2898,2508,2338,2402,2526,2577,2514,2554,2502,2009,1781,2039,2108,2096,2524,3187,3664,3566,2598,1885,1820,1722,1557,1653,2064,1956,1664,1510,1896,2030,1761,1570,2182,3041,3046,2717,2564,2069,1785,2195,2141,2109,2622,2398,1978,1964,1712,1606,1532,1825,2031,2543,2236,2460,2715,2185,2338,2791,2698,2287,1990,1543,1566,1707,2009,2249,2273,2537,2643,2184,2019,2064,1782,1668,1773,1721,1771,2012,2173,2124,2210,2361,2408,1979,1581,1841,2052,2064,2171,2705,2974,2998,3053,3124,3184,3306,3649,3950,3982,3884,3710,3781,4043,3871,3936,3706,3892,3931,3150,2411,2902,3668,3420,3243,2857,2713,3391,4064,3328,2281,2424,2953,2836,2418,2580,2227,2123,2174,2237,2124,1954,2398,2933,3312,2619,2141,1932,1806,2078,2536,2786,2699,2396,2440,2707,1597,1340,2148,3184,3228,3406,3285,2372],[3623,2842,2167,2532,3288,3565,3450,2957,2906,3978,3917,4052,3684,3181,3156,2988,2793,2837,3075,3131,2832,2967,3239,3461,3583,3661,3595,3608,3891,4196,4300,4236,3951,3833,3950,3893,3715,3548,3563,3687,3406,3292,3540,3658,3820,3826,3518,3162,3208,3519,2995,2715,2856,2692,3098,2767,2411,3162,2933,3121,3668,3816,3605,3010,2400,2494,2947,2541,2284,2486,2509,2453,2738,2935,3022,2795,3034,3140,1996,2040,2687,2902,3039,3301,3177,3538,3319,2882,2717,2853,3164,2589,2203,2212,1702,1714,2121,2209,2398,2828,2418,2381,2212,1720,1686,2403,2575,2223,2156,2597,3323,3835,3825,3529,3920,4283,4452,3984,3120,2845,2842,3547,4321,3997,3223,2298,2253,2868,3130,3333,3044,2214,1886,2192,1977,1768,1716,1856,2168,3120,2927,2698,2762,2744,2233,2014,1946,1725,1736,2137,2632,2696,3609,4193,3863,2236,1629,1597,2067,1737,1581,1667,1587,1810,1792,1641,1511,1537,1621,1909,1980,1948,1788,1792,2199,2027,1738,1732,1570,1523,1498,1440,1949,2751,2628,2662,2693,2104,1962,1897,1608,1597,1680,1657,1766,1798,1735,1780,1543,1568,1929,1850,1647,1381,1896,2643,1968,1737,1502,1391,1499,1847,2316,2091,1768,1838,2865,3205,2888,2231,1709,2324,2454,1737,2148,2790,2368,1820,2478,2132,1803,1696,1552,1601,1775,1708,1852,2266,2547,3136,3169,2155,1559,1438,1542,1635,1780,1822,1753,1623,1540,1526,1312,1335,1393,1948,1657,1438,1388,1466,1478,1729,1743,1498,1633,1394,1506,1534,1658,1652,1613,1606,1409,1557,1451,1344,1247,1265,1781,2041,1515,1657,1398,1394,1497,1408,1425,1272,1376,1426,1310,1342,1620,1645,1674,1763,1676,1486,1481,1476,1404,1532,1597,2168,2195,1748,2086,1873,1272,1279,1457,1518,1471,1571,1877,1833,1625,1294,1364,1482,1505,1832,1743,1519,1580,1505,2124,2030,1614,1761,1947,2058,2184,2120,2132,1900,1790,1838,1754,1583,1583,1757,1688,1817,2486,2747,2701,2615,2260,2270,3007,3631,4085,4051,3950,4149,3660,3087,2407,1734,1881,1725,1645,2087,1751,1834,1840,1594,2010,1812,1474,1333,1304,1394,1321,1511,2000,1791,1503,1549,1704,1903,1909,1778,1882,1906,1505,1604,1702,1713,1805,1475,1450,1732,1934,1692,1687,1572,1826,1699,1566,1816,2038,1876,1691,1920,1810,1825,2035,1974,2249,1827,1526,2055,2597,2351,1898,1639,1654,1833,1893,1771,1914,2161,1935,1872,1730,1700,1670,1605,1455,1363,1334,1403,1638,1584,1598,1614,1627,1327,1377,1667,1641,1449,1486,1798,1783,1760,1765,2071,2282,1453,1301,1427,1760,1663,1569,1737,1647,1626,1872,1732,1686,1702,1771,1947,1906,1798,1847,2031,2746,3154,2854,2465,2300,2260,2195,2065,2137,2215,2365,2332,2376,2348,2448,2167,1365,1473,1922,1767,1865,1846,1795,2001,1759,1680,1515,1886,2058,2493,2512,1810,1683,1541,1510,1562,1549,1556,1606,1785,1815,1957,2235,1871,1578,1542,1448,1431,1460,1571,1843,1577,1696,1729,1854,1767,1503,1338,1396,1642,1736,1543,1747,1795,1619,1918,2604,2110,1889,1679,1483,1575,1632,1655,1532,1697,1671,1768,1983,1912,1870,1703,1877,1678,1589,1737,2735,2788,2060,1851,1607,1474,1483,1831,1641,1519,1771,1794,1736,1614,1754,2333,2329,1900,1762,1956,1741,1649,1764,1913,2124,1737,1525,2019,2564,2630,2360,2337,2176,2121,1752,1494,1451,1447,1732,2029,1888,1622,1672,1593,1636,1837,1797,2084,2105,1954,2073,1733,1495,1378,1446,1521,1671,1682,1658,1652,1701,1843,1813,1831,1792,1745,1804,1895,1813,1731,1723,1613,1594,1686,1600,1737,2499,1848,1538,1479,1698,1933,1675,1896,2504,2448,2911,2681,1816,1576,1378,1797,2751,1841,1677,1606,1562,1090,846,1190,1385,1692,2106,2146,2181,1934,1853,1676,1775,1584,1511,1465,1466,1700,1742,1567,1562,1506,1382,1484,1574,1393,1393,1461,1425,1459,1416,1450,1427,1443,1612,1605,1852,1819,1689,1577,1556,1573,1382,1399,1439,1632,1922,1886,1482,1427,1571,1604,1597,1629,1956,1694,1631,2179,1860,1499,1535,1829,1863,1889,1932,1789,1765,1892,1984,2089,1660,2057,2262,1819,1679,1859,1830,1627,1706,1764,1799,1639,2260,2402,1996,1663,1530,1596,1856,2052,1951,1959,1644,1584,1410,1367,1490,1529,1544,1759,1704,1675,1926,2153,2465,2232,1751,1741,2291,2083,1655,1677,2025,1644,1537,2191,2402,2247,2545,2567,2125,1782,1516,1559,1867,1675,1470,1538,1517,1495,1637,1637,1810,1756,1576,1615,1609,1694,1886,1845,1950,2258,2466,1991,1456,1401,1439,1522,1556,1807,2567,2281,1791,1599,1548,1547,1394,1895,2792,2397,1775,2202,2306,2220,2237,2160,2097,2550,2987,2652,2037,1766,1551,1753,1854,1536,1463,1400,1586,1497,1274,1640,2483,2087,1646,1608,1590,1838,1688,1474,1481,1421,1480,1661,1743,1784,2121,2930,2898,2808,2417,2024,2853,3188,3122,2776,2438,2564,2798,2733,2873,2481,2708,2700,2750,2837,2898,3083,3116,2832,3228,2995,2752,3068,3232,3387,3393,2954,2578,2799,3091,3160,2809,2762,2888,2891,3202,2331,2351,2843,2927,2648,2013,1542,1712,1747,1755,1682,1658,1807,1662,1730,1876,1909,1605,1444,1398,1307,1327,1284,1218,1287,1425,1614,1526,1477,1823,2236,2106,1649,1403,1619,1775,1442,1405,1925,1632,1548,1958,2019,2267,2735,2288,1994,1678,1656,2206,2798,2968,2686,2551,2121,1732,1686,1566,2407,2570,1807,1788,1942,1611,1788,1996,1770,2250,2300,1948,1600,1572,1745,2025,2295,2678,2562,2188,1945,1872,1742,1704,1775,1421,1472,1453,1431,2164,2167,2168,2669,2645,2638,3188,3313,2483,2379,2938,3519,3474,3614,3757,3452,2956,2240,1223,1240,2003,2460,2546,2394,2175,2209,2117,2449,2164,2275,2236,1983,2155,2424,2446,2321,2201,1994,1600,1577,1902,2654,2475,1780,1576,2146,1994,1924,2085,1899,1793,1810,1865,2566,2768,2558,1544,1316,1345,1424,1468,1381,1415,1530,1516,1479,1532,1551,1860,1510,1775,2193,2173,1874,1737,1635,1541,1513,1460,1537,1697,1514,1460,2040,1625,1479,1872,2035,1649,1658,1979,2047,1746,1678,1509,1436,1604,1647,1647,1748,1370,1218,1543,1537,1408,1522,1465,1648,2068,2149,2429,2985,2930,2557,2137,1731,2287,2716,2758,2912,2287,2128,2310,2148,2109,2467,2840,2726,2006,1463,1347,1542,1759,2054,2180,2391,2335,2623,2921,2577,2228,1767,2187,3157,3498,3621,3465,2943,2634,2261,2011,1386,1749,2569,2060,1771,1515,1642,2034,2189,1831,1736,1695,1772,2378,2510,2141,2779,3251,3256,3420,2590,2066,1941,2218,2481,2020,2208,2160,2256,2543,2099,1835,1596,1582,1991,2021,1709,1765,2349,2287,2321,2711,2813,2588,2490,2284,2658,2690,2039,1754,2273,2409,1942,1668,1779,1854,1885,1769,1754,1620,1713,1796,1821,1654,1765,2137,1962,1804,2232,2364,1875,1958,2268,2770,2796,2370,2164,2126,1886,1986,2637,2485,2263,1685,1689,2102,1922,2037,2242,1716,2632,3025,2676,2209,1842,1567,1621,1925,1881,1798,1989,2018,1982,1682,1719,1777,1656,1249,1289,1753,1937,2252,2105,1531,1749,2671,2820,2000,1637,1630,2476,3597,3413,2995,3572,3437,3532,3175,3253,2762,2353,2405,1781,1426,1292,1407,1816,1931,2213,3100,3011,2557,2685,2258,1991,2154,2702,3108,3140,3251,3168,3034,3052,3044,2792,2809,2888,2963,2565,1561,1382,1484,1575,1791,1633,1496,1523,1741,1532,1397,1465,1966,1747,1790,1796,1447,1613,1748,1650,1671,1775,1592,1348,1511,1504,1565,1389,1396,1489,1399,1520,1804,1916,2314,2579,2214,2047,1538,1457,1845,1659,1505,1677,1970,2087,2041,1833,2018,2438,1785,1444,1515,1571,1716,1820,1585,1710,2349,2320,2542,3181,3307,2624,1850,1866,1693,1597,1461,1618,1587,1699,1654,1843,1980,2252,2566,1792,1586,1959,1837,1527,1618,1795,1792,1638,1638,1583,1637,1851,2076,1773,1848,2020,1738,1939,2011,1640,1584,1492,1432,1791,2802,2865,2155,2031,2535,2902,2260,2338,2950,2467,1584,1371,1403,1292,1278,1301,1562,1970,1561,1330,1298,1337,1477,1510,1947,2435,2799,3030,2756,2131,1407,1226,1290,1119,1060,1239,1424,1489,1453,1471,1660,1892,1900,2176,2714,2709,1962,1472,1400,1665,1855,1732,1523,1874,2700,3207,3177,2996,2534,2264,2209,2052,2017,2001,2065,1979,2076,2103,2105,2113,2054,1972,2261,2819,2942,3205,3219,2425,1739,1575,1497,1529,1638,1865,2058,2120,2220,1912,1714,1690,1490,1812,1775,1618,1964,1991,1714,1592,1481,1748,1661,1914,2097,1907,1968,2330,2153,1767,1911,1997,1622,1573,1616,1579,1727,2411,3068,2873,2032,2066,2315,2172,1600,1571,1763,1604,1493,1748,1835,2119,2552,2058,1825,2025,2232,2037,1958,2173,2584,2634,2352,2043,1902,2041,2046,1565,2267,3097,2337,1694,2113,1768,1337,1672,1898,1793,1914,2028,2135,2025,1685,1731,1764,1793,1905,1692,1525,1588,1659,2258,2653,2409,2054,1929,2141,2604,2534,2348,2093,1798,1782,1878,1918,1862,1685,2578,3110,2897,2293,1978,1750,1509,1503,1667,1622,1632,1742,1864,1853,1902,1851,2019,2354,2253,1984,1855,2283,2038,1799,1929,1636,2169,2800,2396,2447,2423,2298,2172,2143,2323,2014,1723,1608,2018,2150,1873,2097,2919,2420,1787,1786,1572,1555,1625,2082,2375,2299,2323,2609,2850,2558,2216,2428,2280,1810,1549,1671,1997,2214,2409,2351,2281,2482,2351,2280,2662,2673,2672,2972,2898,3190,3923,4188,4101,4176,4356,4348,4331,4353,4214,4009,3946,3872,3850,3639,3202,3500,3759,2729,1763,2379,3360,3145,3188,2674,2382,3016,3640,2892,2161,2071,2132,2195,2441,2511,2571,2436,2054,2293,2135,1876,1850,2794,3760,3104,2534,2408,2215,2321,2287,2679,2646,2394,2399,2126,1450,1472,2288,3245,3542,3890,3538,2474],[3625,3371,3088,3165,3371,3377,3150,2862,3106,3909,3570,3862,3710,2872,2414,2461,2642,2720,2779,2730,2499,2962,3206,3239,3443,3429,3065,3120,3726,4070,4056,4140,4011,4098,4196,4342,3885,3617,3608,3608,3288,3206,3470,3629,3709,3675,3666,3767,3649,3416,3205,3206,3329,3331,3178,2896,3050,3108,2856,3464,4097,3882,3306,3649,2502,2260,2630,2798,2316,2631,2878,2772,2712,2473,2657,3021,3000,2678,1908,1944,2624,2354,2740,3113,2940,3530,3849,3615,3425,3000,2918,2685,3205,3222,2220,1817,2410,2199,2307,2792,2727,2813,2635,2209,2450,2953,2862,2373,1988,1862,2106,3310,3796,3571,3531,3639,3971,3883,3760,3195,2719,3011,2830,2951,2350,2126,2302,2903,3364,3185,2766,2030,2360,2764,2179,1817,1969,2041,2642,3274,2599,2334,2576,2676,2335,2154,2189,1807,1559,1653,2030,1968,3195,4144,3637,2434,1441,1541,1701,1584,2095,2089,1738,1953,2011,1800,1630,1468,1468,1706,1939,1840,1786,1963,1995,1866,1762,2012,2045,1819,1821,1844,2098,2372,2540,2757,2743,2379,2082,1788,1603,1849,2175,1866,1608,1492,1542,1594,1478,1597,1989,1874,1586,1528,1754,2073,1612,1581,1437,1463,1428,1871,2210,2118,1748,1547,2147,2431,2202,2284,2438,2884,2497,2468,2872,2657,1964,1691,1930,1975,1921,1535,1359,1475,1532,1748,1866,2024,2208,2666,2526,1926,1525,1480,1541,1819,2139,1730,1677,1648,1654,1607,1386,1302,1302,1332,1350,1338,1390,1477,1534,1646,1610,1598,1700,1470,1506,1533,1428,1499,1559,1500,1505,1570,1406,1566,1477,1619,1856,1830,1458,1650,1396,1349,1483,1510,1371,1242,1348,1451,1437,1490,1521,1795,2068,1668,1877,1698,1699,1622,1561,1871,2022,1793,1469,1430,1562,1521,1455,1451,1744,1717,1409,1476,1473,1503,1664,1814,1816,1626,1650,1742,1634,1432,1361,1562,2068,1420,1108,1520,1817,1882,1656,1841,1735,1671,1899,1675,1618,1520,1403,1393,1494,1752,2225,2441,2402,2895,2918,2723,2833,2999,3510,3997,3754,3617,3485,2896,2100,1656,1661,1572,1657,2029,2348,2316,2083,1859,1724,1605,1516,1393,1314,1378,1584,1609,1712,1810,1960,1471,1614,1788,1729,1663,1953,1976,1740,2160,2507,2209,1787,1473,1525,1556,1676,1583,1496,1575,1636,1529,1572,1810,1989,1730,1614,1704,1710,1771,1886,1930,1740,1588,1457,1730,2024,1844,1931,1683,1795,1842,1726,1786,1750,1843,1739,1679,1826,1910,1932,1874,1788,1643,1676,1772,1782,1647,1610,1489,1475,1255,1344,1561,1603,1410,1411,1425,1447,1493,1382,1913,1885,1515,1590,1676,1816,1707,1623,1671,1228,1363,2105,1991,1961,1642,1633,1782,1820,2042,2346,2249,2110,2181,2416,2491,2242,2265,2319,2268,2267,2159,2327,2325,2270,2302,2351,1948,1140,1472,1833,1659,1755,1681,1822,1954,1764,1776,1609,1576,1852,2547,2458,1922,2026,1748,1590,1772,1532,1412,1503,1585,1788,2245,2374,1895,1720,1609,1701,1636,1464,1367,1463,1317,1461,1730,1887,1719,1375,1280,1675,1940,1837,1496,1679,1672,1746,1880,2077,1769,1614,1460,1484,1599,1630,1498,1519,1620,1461,1636,1676,1695,1656,1768,1939,1746,1422,1597,2475,2490,2149,2053,1631,1632,1532,1751,1825,1860,2118,2046,1631,1493,1642,1813,1954,1880,1568,2056,1889,1577,1643,1860,1927,1853,1642,1593,2202,2520,2314,2249,2216,2095,1628,1583,1749,1656,1698,1869,1727,1532,1665,1737,1746,2079,2257,2236,1936,1798,1913,1877,1743,1685,1674,1732,1768,1707,1672,1609,1714,1722,1586,1576,1606,1697,1815,1793,1791,1776,1661,1603,1826,1503,1588,1775,2878,1988,1433,1592,2496,2828,2293,2820,2852,2180,2679,2619,2113,1621,1444,1845,2774,2083,1556,1683,1776,1258,821,1124,1391,1572,1880,2242,2190,1884,1764,1558,1416,1594,1558,1470,1475,1628,1872,1526,1440,1582,1482,1461,1580,1566,1463,1447,1451,1402,1390,1421,1488,1499,1553,1416,1474,1469,1568,1475,1407,1528,1670,1644,1768,1612,1681,1971,1682,1668,1592,1593,1710,1733,1921,1859,2019,1951,1665,1507,1414,1792,1830,1769,1587,1669,1616,1617,1663,1670,1772,1976,1710,1886,2147,2144,1995,1843,1980,1830,1947,2217,2220,1878,1908,1926,1897,1837,1885,2232,2172,1905,1583,1568,1470,1498,1480,1517,1572,1542,1374,1524,1624,1699,2122,2463,2114,1760,1638,1530,1447,1396,1771,1843,1936,2420,2396,2395,2733,2359,2107,1753,1517,1545,1455,1378,1416,1421,1414,1572,1581,1404,1569,1756,1748,1729,1794,1981,2261,2296,2598,2866,2656,2114,1490,1384,1390,1599,1645,1664,2396,2376,1820,1562,1442,1409,1504,1852,2321,2363,1798,1952,2264,2070,2095,2272,2405,2869,3197,2764,2058,1722,1568,1250,1320,1483,1458,1352,1365,1357,1221,1592,2002,1763,1659,1554,1489,1454,1354,1432,1636,1685,1571,1518,1614,2191,2766,2717,2797,3138,2590,2457,3419,3365,2741,2452,2154,2534,3122,3155,2812,2745,2646,2128,2123,2686,2784,3144,2817,2542,3199,3264,3213,3265,3187,3317,3386,3118,2783,2710,2787,3146,2997,2498,2655,3220,3348,2814,2752,2832,2887,2880,2692,2195,1968,1721,2032,1726,1788,1648,1616,1812,1882,1971,1864,1575,1490,1349,1302,1328,1339,1236,1372,1410,1630,1844,2243,2392,2097,1588,1446,1382,1482,1431,2059,2260,1580,1472,2012,2110,2424,2276,2154,2215,1837,1914,2348,2533,2629,2865,2923,2294,2085,2057,1607,1847,2270,1958,1752,1728,1632,1593,1803,1740,1563,1726,1802,1645,1665,1651,2056,2171,1936,2236,2400,2131,1644,1641,1841,1770,1477,1449,1504,1735,2247,2308,2430,2746,2746,2333,2508,2890,2482,1857,2124,3107,3507,3772,3615,3309,3154,2597,1909,1628,2055,2558,2599,2422,2408,2005,1818,2402,2817,2802,2339,1730,2054,2687,2387,2078,1840,1403,1515,1839,2465,3082,3232,2577,2196,2149,1812,2041,1905,1893,1785,1677,2106,2316,2386,2438,1681,1271,1438,1609,1481,1395,1638,1578,1476,1425,1519,1386,1476,1608,2690,2684,2015,1926,1854,1693,1980,2447,1719,1856,1873,1453,1317,1619,1532,1377,1696,1851,1564,1887,2504,2204,1936,1920,1780,1573,1441,1537,1463,1694,1643,1598,1671,1329,1275,1426,1400,1428,1745,2202,2479,2344,2432,2523,2050,1650,2347,3059,3066,2787,2488,2395,2437,2588,2619,2651,2685,2657,2445,2275,2236,2289,2465,2601,2843,3016,2687,2647,2802,2645,2443,1902,1701,1989,2443,3451,3692,3161,2762,2423,2001,1095,1125,2156,2468,1924,1642,1898,2322,2186,1770,2204,2036,1865,2047,2093,1901,2360,2672,2841,2776,2341,2130,1899,2563,3169,2878,2648,2733,2776,2606,2207,2157,1689,1493,1390,1397,1457,1766,2553,2636,2272,2275,1933,1782,2457,2617,2211,2310,2502,2546,2770,2590,2124,1882,2054,2247,1937,1886,2139,1824,1570,1649,1719,1662,2050,2499,1994,1628,1612,2013,2113,2066,1831,2436,2674,2279,2131,2087,1899,2425,2771,2277,2304,1609,1513,2046,1847,2013,2138,1672,1381,1770,2081,1765,1615,1711,1656,2031,2003,1718,1904,1933,1772,1517,1570,1850,1595,1337,1574,2082,2286,2041,1882,1503,1561,3007,3018,1966,1668,1685,2631,4120,4177,3586,3602,3333,3408,3166,3195,2652,2459,2342,1576,1337,1203,1466,1783,1920,2197,2700,3153,3264,2799,2192,2052,2070,2316,2576,2658,2846,2700,2813,2651,2544,2438,2406,2396,2856,2610,1642,1306,1636,2403,2342,1613,1648,1566,1676,1591,1436,1341,1860,1985,2162,2211,1841,1972,1780,1553,1566,1691,1425,1504,1413,1376,1451,1483,1591,1604,1581,1760,1925,2067,2363,1934,2264,2254,1974,2015,2033,2026,1744,2032,2497,2027,2005,1908,1681,1894,2018,1799,1799,1670,1698,1721,1494,1403,1513,1941,2259,2303,2523,2217,1672,1954,2004,1466,1240,1255,1240,1597,1736,1553,1664,2383,2836,1673,1620,1820,1618,1444,1355,1623,1800,1887,2128,2046,1791,1895,2179,1699,1397,1627,1754,2181,1935,1730,1589,1449,1572,1983,2661,2485,1838,1751,1758,2240,2134,2041,2153,1907,1625,1645,1450,1275,1363,1405,1820,2636,2316,1655,1389,1340,1705,2115,2566,2802,2752,2374,1770,1474,1300,1208,1221,1375,1251,1129,1254,1218,1354,1573,1770,1837,2128,2531,2192,1941,1908,1947,2037,1793,1522,1488,1467,1676,2534,3196,2642,2227,2106,2167,2477,2753,2861,2417,1969,1993,2288,2267,2018,1824,1692,1553,2287,3042,3129,3452,2916,1922,1650,1756,1688,1602,1546,1752,1785,1964,2032,1671,1654,1598,1480,1384,1469,1587,1904,2229,1998,1763,1680,1817,1656,1785,2100,2298,2469,2730,2416,1797,1876,2072,1915,1736,1589,1777,1830,2228,2226,2707,2323,2129,2454,2360,1995,1706,1653,1615,1692,1819,1861,2016,2320,2400,2527,2221,1929,1806,1758,1950,2547,2791,2344,2136,2269,2251,2233,1484,1868,3231,2654,2170,2409,1813,1406,1531,1918,1893,1809,2121,2490,2525,2199,1813,1807,2031,2049,1678,1517,1716,2447,3220,2556,2025,2062,2215,2072,2458,2268,2146,2196,1869,1765,1844,1931,1745,1877,2310,2216,1973,1882,1758,1610,1438,1511,1815,2054,1897,2502,2222,1816,2009,1952,2206,2216,1990,1831,1978,2281,1977,1845,1709,1770,2116,2404,2341,2491,2193,2437,2178,2194,2120,1791,1861,1676,1766,2384,2268,2138,3182,3347,2004,1224,1493,1777,1986,2420,2955,3019,2548,2116,2512,2596,2079,1939,1441,1157,1272,1507,1745,1919,2238,2447,2473,2674,2745,2823,3226,3130,3024,3242,2983,3215,3731,4156,3869,4056,4297,4208,4093,4135,4002,3970,3914,3871,3902,3450,2778,2915,3332,2681,2253,2757,3443,3000,2787,2636,2292,2746,3314,2669,1812,1997,2359,2483,2669,2796,2701,2468,2335,2205,1939,2030,2115,2906,3770,3286,2325,2281,2519,2339,1992,1976,1902,1963,2247,2145,1787,2158,3321,3934,3871,4132,3588,2434],[3893,4061,3979,3798,3697,3429,3348,3530,3683,3886,3603,3488,3159,2587,2303,2262,2250,2636,3085,2864,2582,3233,3311,3232,3196,2922,2890,3216,3446,3396,3903,3924,3762,3983,4108,4208,3936,3769,3873,3751,3240,3133,3275,3253,3386,3240,3385,3651,3517,3398,3189,3033,3277,3084,2952,3289,3621,3369,3301,3748,3858,3942,3564,3918,2807,2456,2860,3468,3113,2907,3247,3435,3322,3162,3090,3203,3011,2780,2260,2181,2376,2243,2385,2413,2721,3585,3648,3791,3755,2699,2759,3061,3406,3761,3024,2514,2666,2455,2485,2830,3152,3212,2728,2540,3089,3167,3495,2623,2243,2120,2040,2722,2733,2301,2489,2685,3230,3414,3510,3454,3726,3553,2956,2603,2194,2454,2779,3311,3763,3580,3393,2852,2695,2826,2566,2432,2642,2802,3125,2697,2433,2380,2274,2880,2801,2171,2024,2136,1933,1854,2019,1856,3306,4008,3365,2514,1817,1680,1797,2236,2288,1831,1649,1696,1805,1577,1434,1336,1606,2030,1851,1471,1597,1684,1750,2012,1937,2272,2355,2037,2016,2003,1759,1779,2252,2707,2367,2189,1950,1748,1714,2684,2981,2002,1532,1457,1750,1690,1498,1825,2100,2019,1973,1976,1700,1550,1450,1497,1699,1526,1498,1978,2223,2173,1726,1717,2283,2180,1886,2415,2722,2810,2632,3107,3318,2690,2061,1991,1806,1804,1803,1514,1536,1462,1466,1707,1804,1780,1754,1908,2018,1868,1587,1500,1348,1420,2011,1708,1567,1381,1600,1515,1300,1296,1284,1306,1336,1482,1487,1383,1504,1437,1471,1240,1264,1374,1584,1729,1725,1710,1831,1892,1753,1678,1562,1686,1557,1640,1491,1299,1373,1371,1441,1446,1541,1709,1538,1353,1374,1470,1503,1437,1505,2276,2122,1735,1708,1638,1702,1782,1815,1807,1902,1825,1457,1508,1566,1666,1538,1664,2024,1638,1284,1349,1289,1511,1772,1803,1404,1541,1837,1797,1702,1534,1358,1699,1954,1555,1522,1693,1886,2003,1915,2031,1851,2553,2610,1941,1765,1813,1678,1448,1449,1425,1533,1604,1513,1875,2288,2644,3007,2849,2923,3703,4014,3596,3045,2555,2288,2036,1744,1591,1384,1732,2116,2354,2665,2330,1584,1398,1389,1461,1437,1574,1860,1543,1571,1697,1804,1554,1631,1551,1376,1552,1921,1930,1921,2473,3187,2660,1731,1771,1863,1824,2010,1724,1607,1768,1620,1499,1406,1484,1859,1879,1588,1545,1663,1537,1507,1611,1644,1740,1636,1778,1743,1638,1732,1481,1455,1775,1719,1619,1520,1425,1233,1335,1555,1547,1679,1761,1868,1888,1766,1844,1949,1867,1682,1535,1514,1504,1590,1789,1624,1429,1389,1289,1412,1452,1416,1505,1509,1449,1553,1597,1876,2388,2097,1715,1167,1374,1667,1582,1400,1392,1819,2399,2086,1742,2242,2027,1824,1722,1993,2343,2316,2288,2266,2305,2295,2233,2327,2304,2216,2265,2263,1863,1111,1772,2379,2028,1709,1536,1545,1664,1778,1790,1755,1670,2015,2317,2210,1840,1676,1607,1477,1686,1609,1640,1598,1511,1832,2259,2116,1956,1697,1571,2565,2121,1550,1475,1359,1286,1477,1569,1439,1567,1704,1438,1700,1992,2001,1714,1858,1565,1515,1390,1345,1503,1472,1480,1479,1549,1680,1598,1511,1538,1666,1505,1403,1549,1666,1688,1538,1750,1823,1818,2256,1909,1969,1858,1635,1693,1448,1865,2060,2178,3063,2735,1753,1463,1594,1780,2023,2078,1797,2263,2046,1596,1519,1798,1980,1837,1617,1737,1781,1917,2032,2014,2088,2250,1941,1721,1672,1571,1504,1471,1644,1785,1799,1946,1964,1771,1732,1606,1456,1625,1908,1827,1677,1578,1467,1403,1512,1518,1505,1505,1425,1493,1597,1599,1701,1976,1949,1825,2011,1814,1759,1750,1882,1860,1761,1551,2009,1621,1264,1694,2819,3221,2252,1864,1886,2161,2522,2702,2742,2411,1791,1808,2475,2087,1564,2080,2274,1381,887,1125,1410,1670,1823,2174,2036,1775,1692,1467,1717,2116,1815,1637,1521,1593,1821,1493,1432,1518,1514,1740,1885,1661,1445,1356,1337,1445,1612,1527,1467,1518,1557,1432,1406,1454,1608,1683,1482,1708,1954,1564,1820,1630,1510,1598,1710,1731,1646,1791,1804,1585,1653,1746,1691,1701,1833,1654,1535,2051,1972,1586,1459,1554,1466,1405,1510,1682,1963,1815,2042,2608,2730,2702,2523,2187,2002,1921,1898,1951,1933,1963,1986,1874,1960,1951,1723,1999,2194,1882,1629,1452,1930,2140,1579,1307,1383,1493,1649,1848,1810,1679,1707,1652,1488,1515,1426,1411,1476,1365,1636,2082,2197,2388,2198,2243,2162,1824,1713,1568,1630,2077,1910,1591,1748,1424,1355,1477,1594,1462,1583,1822,1882,1755,1851,2241,2393,2327,2187,2510,3210,2733,1943,1455,1409,1338,1428,1834,2000,1841,1574,1519,1666,1571,1711,1695,1649,2043,1782,1635,1924,1731,2247,2370,2391,2610,2267,2013,2094,1773,1694,1211,1170,1381,1418,1451,1495,1550,1510,1506,1724,1959,1930,1453,1627,1798,1573,1518,1627,1993,1695,1352,1813,3024,3020,2353,3068,3352,2944,3063,3597,2872,2657,2913,2665,2780,3050,2779,2383,2310,2169,2485,3061,3077,2799,3272,3332,3542,3519,3154,3121,3019,3066,3227,3014,2611,2467,2550,2552,2524,2130,2079,2511,3103,3107,2939,2858,2841,2887,2889,3108,3068,2553,2435,2431,1934,2043,1562,1294,1633,1676,1635,1815,1538,1402,1460,1341,1363,1377,1276,1342,1559,1830,2314,2434,2187,1821,1534,1383,1477,1836,1628,1958,1956,1587,1496,1731,1923,1823,1806,2010,1998,2023,2228,2416,2136,1942,2295,2849,2241,1955,2333,1989,1736,1728,1731,1865,1689,1811,1711,1718,1584,1439,2109,2080,1785,1803,2215,2212,1434,1754,2256,2047,2286,1825,1609,1725,1730,1636,1507,1428,1835,2225,2038,1844,2337,2363,2424,2413,2355,2146,2022,2128,2559,2829,2862,2650,2463,2170,2208,1753,1651,1946,2438,2830,2609,2642,2138,1756,2323,2733,2838,2587,1761,1809,2002,2263,2054,1664,1471,1514,1722,1953,2505,2811,2092,1958,2045,2092,2632,2102,1938,1732,1583,1864,1559,1971,2538,2002,1457,1956,2206,1792,2044,2106,1404,1497,1723,1867,1596,1507,2057,2254,1886,2188,2571,1955,1786,1990,2158,1527,1933,1883,1487,1244,1405,1446,1346,1712,1935,1714,1871,2589,2237,2050,2077,1801,1520,1490,1453,1394,1574,1606,1685,1527,1452,1411,1450,1550,1550,1794,2086,2150,1836,2008,2291,1869,1721,1840,2573,2997,2268,2291,2514,2804,3029,3016,2877,2800,2740,2680,2600,2608,2721,2824,2731,2855,2839,2732,2657,2819,2797,2535,2341,2383,1693,1501,3066,3750,3529,2898,2706,2230,1720,1650,1844,2061,1974,1836,1716,1798,1697,1560,1889,2112,2161,2028,1926,1859,2094,2238,2222,2048,2122,2000,1881,2502,2177,1862,2049,2183,2370,2329,2483,2299,1935,2061,1825,1470,1264,1829,2527,2753,2157,2045,1910,1640,2165,2218,1873,2475,2844,2712,2448,2416,2405,2446,2557,2763,2287,2124,2230,2172,1862,1725,1731,1924,2083,2215,1890,1594,1462,1756,1954,1940,1626,1711,1894,1755,2146,2049,2054,2268,2139,2350,2181,1783,1784,1832,1703,1975,2065,1738,1629,1788,1593,1344,1521,1621,1759,2100,1974,1687,1561,1605,1662,1537,1340,1491,1510,1506,1834,2454,2579,2073,1741,1339,1421,2008,1961,1881,1739,1698,2683,4176,4168,3685,3297,3033,3395,3190,2645,2098,1800,1391,1126,1044,1007,1570,1853,1850,2192,2884,3321,3376,2868,2258,2047,1926,2004,1919,1702,1626,1689,2331,2382,1691,1416,1433,1786,2786,2759,1830,1381,1868,2752,2092,1650,1733,1836,1737,1692,1594,1415,1553,1697,1974,1947,1699,1755,1795,1456,1685,1603,1507,1609,1650,1715,1643,1650,1916,2011,2131,2156,2207,2195,2339,2444,2641,2370,2031,1769,1972,2009,1757,2059,2278,1789,1848,1579,1676,2011,1901,1775,1596,1603,1797,1518,1281,1362,1404,1453,1344,1395,1786,1850,1722,2466,2289,1541,1219,1135,1255,1450,1417,1565,2570,3526,3189,1866,1757,2112,1946,1424,1387,1759,1652,1887,2576,2611,1912,1508,1772,1619,1488,1477,1894,2032,1730,1936,2103,1791,1905,2419,2634,2404,1816,1846,1675,1686,1903,1580,1464,1532,1591,1474,1450,1526,1849,1511,1590,2283,2766,2071,1410,1420,1510,1865,2281,2195,1805,1673,1510,1287,1400,1440,1310,1360,1252,1251,1370,1317,1460,1765,1834,1546,1635,1876,2232,2322,2128,2027,1826,1565,1450,1493,1658,2252,2697,2766,2451,2228,2449,2344,2709,2657,2918,3298,2688,2468,2491,2416,2498,2147,1848,2017,2608,2807,3101,3067,2214,1548,1500,1657,1835,1657,1347,1374,1516,1966,2151,2501,2272,1739,1515,1470,1591,1452,1404,1567,1532,1481,1771,1603,1685,1690,1993,2209,2101,2194,1998,1992,2316,2580,2122,1798,1787,1703,1783,2163,2463,3209,2951,2334,2445,2375,2230,1810,1873,2054,1977,1845,1739,2166,2405,2771,2888,2415,2100,1878,1627,1841,2413,2755,2460,2087,1887,2166,2438,1866,2095,3117,2998,2678,2956,2678,1859,1637,2099,1968,1538,2709,3570,3638,2888,1962,1882,1930,1825,1706,1524,1585,2461,3013,2426,1808,2041,2296,2298,2088,1773,1806,2018,1921,1829,1807,1750,1437,2189,2389,1795,1466,1628,1758,1824,1974,1845,1746,2658,2565,2991,2349,1948,2088,1986,1817,1771,1964,2037,2351,2571,1975,1829,1727,1650,1770,1981,1870,1944,2026,2110,2268,2314,1903,1637,1520,1547,1687,1976,1857,1829,2916,3408,2356,1635,1813,2177,2250,2408,3055,3280,3097,2374,2446,2208,1709,1389,1133,1284,1487,1449,1429,1498,2114,2661,2795,3064,2862,2819,3196,3237,3464,3617,3626,3450,3272,4120,4059,4180,4155,4079,4107,3934,3686,3773,3837,3763,3825,3594,3318,3282,3399,3208,3367,3584,3784,3106,2757,2765,2460,2645,2851,2396,1643,1980,2276,2316,2985,3630,2895,2319,2426,2171,1672,1952,2390,2581,2849,3008,2117,2242,2468,1865,1634,1825,1729,1766,2350,2615,2369,2780,3808,4155,3972,4091,3440,2408],[3378,3569,3885,3925,3985,3795,3663,3772,3731,3679,3798,3909,3640,3355,3254,3008,3046,3149,3395,3097,2996,3395,3582,3630,3282,2818,2975,3299,3332,3349,3697,3724,3530,3683,3918,3924,3752,3747,3916,3708,3172,3124,3142,3348,3194,2735,3162,3531,3444,3406,3016,2900,2984,2788,2766,2997,3471,3274,3286,3439,3440,3731,3830,3962,3550,3145,3095,3278,3234,3183,3417,3579,3701,3550,3052,2828,2764,2670,2657,2610,2376,2220,2254,2184,2542,2862,2853,3559,3432,2132,2492,2387,2408,2608,2382,2589,2768,2563,2626,3109,3457,3632,3513,3425,3028,3032,3462,3111,2747,2565,2339,2245,2298,1869,1795,2021,2476,2300,3027,3737,3890,3738,3646,3385,3034,3001,3082,3642,4026,4041,3914,3561,3204,2939,2968,3270,2745,2901,3309,2933,2938,2928,2952,3031,2875,2217,1899,1984,1920,2212,2206,2197,2770,2898,2676,2265,1817,1830,2156,3063,2476,1825,1946,1850,1739,1603,1490,1436,1594,1872,1852,1711,1760,1810,1888,2096,2250,2035,1783,1601,1583,1662,1743,1977,2333,2379,1968,1766,2039,1951,1860,2138,2164,1925,1621,1384,1419,1326,1416,1675,2077,2068,2133,2065,1560,1478,1482,1758,1902,1481,1371,1743,1916,1971,1772,1557,1968,2156,1810,2150,2557,2728,3066,3328,2941,2522,2327,1979,1760,2035,1984,1675,1800,1485,1386,1588,1494,1582,1760,1803,1804,2066,1938,1705,1208,1213,1546,1482,1312,1449,1550,1408,1298,1262,1598,1702,1442,1667,1440,1427,1624,1484,1310,1322,1459,1505,1503,1520,1764,2116,2604,2532,2465,2104,1764,1760,1460,1430,1373,1315,1297,1305,1506,1637,1818,1587,1439,1729,1888,1660,2008,1831,1818,2173,2040,1738,1510,1431,1466,1478,1542,1372,1650,2014,1628,1550,1548,1687,1534,1475,1630,1569,1544,1417,1600,1700,1716,1634,1589,1757,1814,1654,1512,1448,1344,1463,1534,1487,1879,2250,2135,2524,2429,2090,2046,2273,2119,1895,1869,1703,1626,1515,1412,1299,1343,1404,1418,1454,1552,1624,1919,1987,1977,2683,3496,3253,2829,2590,1975,1992,2070,1848,1882,2160,1848,1922,2362,2020,1472,1402,1464,1418,1650,1539,1376,1488,1622,1419,1503,1753,1619,1423,1584,1873,2025,2224,2347,2665,3186,2808,2210,1988,1779,1975,1928,1636,1711,1931,1816,1751,1546,1815,1852,1955,1536,1678,1981,1753,1546,1499,1688,1825,1696,2041,1780,1856,1538,1487,1590,2030,1767,1384,1508,1510,1454,1397,1389,1425,1391,1451,1526,1642,1741,1885,1995,1890,1628,1496,1553,1597,1632,1518,1462,1527,1404,1275,1305,1306,1313,1389,1488,1395,1533,1994,1968,2016,1803,1429,1147,1465,1632,1680,1482,1544,1598,1805,1644,1418,1994,1730,1609,1526,1636,2019,2198,2113,2070,2136,2193,2181,2215,2238,2219,2206,2149,1862,1584,1832,1925,1752,1594,1490,1524,1593,1526,1620,1819,1797,1731,1757,1853,1679,1578,1544,1589,1636,1744,1803,1611,1594,1515,1437,1694,2051,1700,1920,2734,2132,1538,1427,1338,1368,1248,1384,1710,1772,1574,1577,2146,2005,2123,1968,1783,1648,1482,1454,1726,1549,1645,1614,1454,1428,1616,1667,1388,1601,1854,1600,1361,1521,1940,1843,1653,2038,2079,1791,2089,1621,1614,1588,1826,2074,1668,1857,2264,2319,2657,2630,2076,1339,1441,1706,2076,2204,1815,1537,1512,1580,1520,1607,1971,1959,1758,1794,1544,1708,1914,1686,1583,2034,2035,1800,1754,1671,1725,1763,1858,2048,1938,1788,1660,1415,1295,1426,1432,1401,1788,1866,1642,1467,1272,1314,1428,1513,1582,1485,1343,1544,1716,1613,1578,1770,1750,1851,1907,1665,1593,1861,1715,1652,1980,1970,1713,1740,1770,1796,2567,3220,2144,1817,2128,2468,2324,2407,2997,2990,2028,1716,2203,1883,1548,2154,2353,1363,901,1048,1335,1776,2013,2242,2150,1831,1709,1570,1959,2449,2429,2231,2532,2426,1929,1596,1482,1495,1494,1771,1890,1700,2067,1827,1597,1475,1412,1482,1576,1542,1510,1437,1483,1542,1537,1604,1649,2168,2101,1285,1478,1428,1418,1494,1569,1561,1726,1873,1627,1688,1834,1571,1481,1667,1733,1416,1568,1779,1676,1537,1561,1560,1380,1460,1534,1935,2542,1823,1574,1891,2574,2921,3328,2841,2144,1907,1692,1736,1853,1814,1982,1862,1855,1910,1755,1708,1718,1683,1464,1261,1708,1915,1418,1448,1638,1871,2064,2102,1909,1825,1664,1552,1554,1754,1668,1499,1687,1460,1381,1571,1503,1725,2127,1873,1705,1708,1488,1409,1855,2221,1771,1818,2056,1718,1332,1605,2054,2075,1688,1737,1886,1736,2194,2719,1981,2182,1690,2015,2922,2689,1948,1504,1393,1339,1456,1815,2188,2149,1588,1720,2142,1652,1781,1549,1562,2258,1779,1377,1504,1688,1959,2326,2636,2327,2124,1873,2042,1815,1528,1256,1345,1429,1339,1346,1280,1287,1335,1260,1440,1714,1765,1475,1926,2100,1746,1546,1605,1998,1812,1593,2362,3206,3196,3132,3360,3084,3298,3625,3549,2863,2814,2958,2896,2775,2743,2671,2489,2417,2519,2990,2965,2886,2740,2819,2877,3075,3002,2963,2958,2523,2618,3328,3363,2834,2799,2664,2766,2416,2090,2341,2621,2681,2698,2678,2702,2545,2721,2832,3053,3211,2764,2919,2896,2740,2603,1945,1484,1694,1556,1510,1676,1771,1644,1531,1265,1175,1268,1281,1428,1544,1561,1710,1834,2002,1759,1677,1670,1834,1939,1924,1724,1677,1910,1760,1748,1987,1513,1636,1749,1804,2092,2181,2127,1765,1512,1746,2836,2798,2272,2596,2451,2012,1758,2232,2453,1861,1896,1994,1953,1717,2075,2331,2130,1931,2074,2588,2725,1773,2032,1811,1623,1939,2105,2010,1954,1964,1842,1566,1539,1881,1945,2047,2130,2105,2076,2321,2496,2209,2192,2503,2247,2008,2516,2592,2366,1765,1465,1820,1982,1555,1860,2493,2578,2185,2176,1972,1642,2094,2680,2632,2520,2157,2088,2430,2681,2294,1639,1522,1530,1534,1798,1607,1405,1174,1414,1951,2035,1934,2098,2403,2041,1642,1781,1972,2399,2619,2135,1834,2092,1780,1264,2024,1938,1804,2220,2114,1978,1914,2416,3196,2884,2228,2447,2834,1981,1823,1648,1550,1758,1902,1709,1416,1248,1239,1390,1611,1704,1712,2226,2273,2768,2458,1874,1543,1360,1372,1464,1430,1496,1444,1448,1433,1567,1550,1312,1341,1563,1556,1437,1646,1794,1830,2416,2128,1864,2469,2773,2851,2622,2015,2077,2460,2895,3040,2933,3066,3104,3119,3151,3129,3017,2783,2542,2406,2634,2980,2898,2812,3042,2897,2407,2360,2259,1129,1046,2282,3139,3099,2609,3077,2942,2278,1903,1609,1784,1805,1804,1483,1726,1760,1528,1766,2194,2446,2436,2022,1811,1788,1783,2072,2301,2493,1949,1862,1648,1256,1614,1784,1731,1836,1832,1615,1747,1925,1918,1756,1577,1663,2228,2778,3140,2517,1980,2387,2776,2611,2116,2543,2578,2242,2700,2072,1802,1673,2067,2437,2475,2354,2027,2120,2624,2150,1700,1825,2485,2170,1784,1898,1772,1578,1736,1848,2014,1969,1844,1660,1708,2396,1982,1831,1803,1934,1854,1755,2288,2530,1878,1760,2354,2319,1924,1942,1747,1645,1555,1617,1696,2021,2204,1921,1608,1444,1526,1471,1420,1350,1554,1856,2037,2117,2170,1909,1724,1529,1395,1543,1786,1761,1943,1820,1610,2795,4080,4208,4164,3605,3174,3458,3247,2445,1632,1281,1171,1268,1373,1441,1573,1660,1719,2031,2590,3053,3094,2762,2173,1912,1883,2173,2075,1851,1780,1752,1976,2072,1715,1601,1544,1787,2833,2877,2050,1407,1548,2140,1932,1698,1937,2138,1714,1442,1440,1439,1547,1764,1836,1655,1782,1874,1910,1819,1740,1651,1665,1649,1724,1593,1685,1754,2075,2683,3010,2011,2168,2345,2308,2714,2862,2718,2238,1693,1726,1985,2110,2320,1927,1907,2194,2016,1952,1893,1965,1864,1634,1581,1845,1520,1606,1632,1446,1445,1339,1321,1683,1670,1950,2541,2436,1789,1268,1367,1548,1233,1442,1615,3035,3234,2689,1918,1788,2321,1992,1543,1580,2103,2010,1791,1723,1770,1621,1568,1649,1568,1550,1523,1685,1811,1731,1898,1891,1985,2376,2404,2155,2241,1703,1814,1853,1669,1569,1442,1432,1443,1705,1751,1809,2129,2908,2415,1674,1816,2366,1886,1381,1394,1334,1520,1538,1561,1317,1451,1372,1384,1456,1449,1340,1302,1200,1332,1770,1733,1445,1500,1384,1431,1790,2624,3794,3643,2570,1981,1694,1450,1756,2340,2986,3605,3492,3031,2850,2700,2433,2217,2108,1925,2461,3106,2999,3075,2668,2597,2226,2143,2088,2587,3017,2966,2931,2437,1875,1637,1407,1333,1593,1368,1402,1481,1858,2112,2224,2788,2943,2358,1611,1557,1454,1272,1334,1844,1834,1472,1468,1550,1799,1841,1979,1954,1749,1717,2154,2210,2364,2510,2086,1688,1858,2152,1910,1862,2335,2961,2676,1895,2381,2340,1643,1761,2710,2608,1914,1836,2126,2221,2104,2720,3244,2712,2251,1971,2091,2186,2218,2621,3040,2539,2042,2274,2288,1850,2304,3301,3432,3142,3172,3496,2630,2268,2358,2039,1958,3178,4038,3547,2763,2596,2498,2135,1738,1840,1854,1559,2405,2388,1765,1807,2105,2234,1882,1818,2160,2098,2209,1805,1799,1757,1717,1655,2165,2219,1504,1478,2122,2030,1870,1797,1826,1858,2500,2987,3111,2616,2322,2114,2018,2161,2322,2409,1970,2036,1850,1660,1866,1705,1561,1794,1749,1792,1876,1709,2185,2878,2470,2050,1648,1433,1573,1593,1882,1945,1700,2254,2634,2372,2187,2275,2374,2268,2023,2632,2930,2325,2172,2186,1593,1524,1677,1552,1588,1657,1604,1383,1620,2621,2898,2974,2717,2625,3016,3291,3375,3373,3886,4167,3287,3081,3709,3151,3838,4172,4080,4080,3811,3687,3704,3651,3704,3825,3663,3713,3600,3623,3872,3732,3409,3443,2825,2705,3195,3228,3513,3339,2391,2075,2585,2600,2587,3374,3956,3317,2628,2613,2424,2100,2166,2294,2141,2049,2244,2107,2580,2463,1814,1654,1648,1591,1814,2355,2698,3038,3090,3519,3860,4120,4090,3114,2343],[2716,3252,3748,3819,3883,3726,3662,3781,3813,3658,3498,3809,3597,3283,3213,3196,3224,3265,3419,3542,3647,3641,3718,3751,3349,2940,2832,3040,2870,3050,3237,3608,3648,3800,3916,3707,3565,3605,3649,3343,3021,2984,2966,3306,3304,3016,3210,2939,2593,2908,2721,2593,2543,2448,2893,3415,3441,3479,3458,3385,3333,3365,3429,3429,3216,2955,2928,3078,3015,2989,3226,3340,3247,2773,2562,3021,3184,3103,3040,2809,2634,2444,2426,2307,2061,2208,2188,3145,2932,2451,2437,1970,2007,2011,1624,1754,2003,2297,2786,3118,3367,3452,3419,2722,2547,3194,3574,3561,2697,2416,2523,2150,1770,1711,1736,1671,1973,2350,2958,3414,3570,3736,3869,3870,3607,3474,2641,2376,3340,4113,3892,3547,3626,3171,3175,3044,2733,3453,3415,3346,3472,3264,2984,2595,2695,2497,2073,1587,1642,2257,2474,2225,2036,2178,2317,2148,1987,2221,2418,2670,2251,2233,2255,2467,2714,2040,1694,1682,1688,1791,1791,1729,2077,2084,1771,1798,2017,1921,1698,1578,1532,1578,1536,1689,1998,1746,2095,1973,2119,2314,2171,2000,2074,1900,1704,1564,1739,1460,1377,1401,2014,2098,2008,1714,1690,1866,1952,2059,1893,1516,1821,2302,1851,1605,1698,1581,2106,2273,2522,2818,3008,3356,3465,3295,3260,2881,2295,1684,1427,1628,1549,1486,1614,1526,1500,1294,1496,1948,1773,1680,1980,2109,2049,1893,1825,1654,1571,1454,1343,1511,1567,1758,1766,1493,1935,1789,1433,1415,1451,1719,1695,1456,1418,1584,1736,1767,1589,1459,1517,2249,3069,2879,2730,2554,1943,1602,1454,1402,1321,1398,1434,1439,1410,1379,1580,1472,1611,1937,2314,2292,2281,2106,1733,1779,2009,1784,1570,1463,1530,1450,1428,1419,1770,2022,1744,1488,1418,1451,1425,1477,1422,1572,1802,2106,2137,1543,1338,1430,1490,1687,1730,1554,1453,1398,1317,1381,1471,1601,1793,2094,2116,2666,2456,2029,2475,3296,3055,1930,1801,1554,1512,1465,1405,1508,1555,1470,1496,1505,1341,1355,1506,1606,1696,1795,2585,2569,3042,2578,1722,1849,2209,2284,2180,1864,1445,1487,1498,1469,1372,1427,1475,1343,1578,1426,1327,1610,1750,1489,1649,1860,1533,1377,1416,1470,1619,1922,1867,1961,2375,2187,1756,1815,2216,2402,2190,2208,1930,2147,2430,1989,1619,1842,1855,1814,1560,1481,1602,1653,1532,1443,1408,1694,1643,1870,1923,1798,1527,1559,1903,2208,1807,1367,1502,1531,1643,1504,1366,1448,1777,1600,1288,1498,1726,1744,2007,1936,1793,1815,1766,1693,1684,1468,1541,1529,1344,1365,1412,1361,1299,1471,1755,1403,1662,2146,1709,1464,1535,1525,1593,1447,1852,2111,1896,2231,1723,1573,1574,1664,1918,1650,1418,1400,1584,1855,1672,1565,1730,1760,1814,1986,2164,2154,2237,2214,2207,2061,2363,2652,2160,1740,1587,1430,1528,1567,1446,1709,1967,1991,1927,1942,1750,1605,1408,1371,1578,1529,1559,1577,1633,1825,1787,1703,1852,1867,1677,1588,1671,1509,1580,1798,1625,1410,1389,2123,1918,1825,1494,1550,2021,1882,2040,2120,2047,1750,1674,1897,2027,1672,2242,2117,1683,1585,1764,1697,1626,1729,1583,1486,1461,1570,1748,1576,1503,1691,1724,1980,2031,1657,1592,1519,1829,2269,1981,2416,3051,2380,2310,2361,2317,1659,1533,1793,2147,2251,2137,1876,1597,1520,1599,1957,2270,2065,2099,1830,1689,1678,1902,1788,1782,2200,2020,1798,2172,2460,2117,1963,1929,2020,1700,1429,1592,1544,1258,1506,1678,1212,1513,1843,1665,1510,1271,1311,1448,1628,1832,1626,1350,1455,1552,1532,1809,1831,1888,2177,1937,1608,1556,1828,1623,1481,1968,2209,2014,1783,1809,2165,2850,3507,2496,1977,2171,2336,2242,2204,2674,2840,1966,1837,2310,1907,2130,2483,2274,1390,876,933,1270,1801,2094,2185,2184,1853,1828,1920,2575,3011,3061,3410,3481,2858,2243,1840,1509,1401,1444,1592,1506,1977,3431,2899,1995,1466,1565,1755,1563,1409,1461,1388,1570,1869,1707,1821,1585,1969,2296,1515,1964,1775,1473,1562,1498,1597,1871,1738,1548,1576,1524,1468,1425,1554,1456,1418,1561,1656,1901,1779,1656,1734,1714,1416,1438,2043,2592,1963,1722,2055,2616,2280,2413,2841,2081,1557,1397,1422,1360,1642,1858,1825,1869,1670,1719,1798,1758,1763,1679,1514,1565,1780,1487,1554,1767,2129,1893,2021,1797,1776,1693,1430,1668,2003,1990,1939,1754,1606,1365,1382,1714,1717,1841,1678,1549,1472,1407,1308,1584,1719,1395,1792,1724,1710,1733,1921,2104,2137,1805,1765,2020,1838,2749,3596,1904,1948,1577,1668,2167,2010,1573,1455,1357,1301,1342,1468,1823,2121,2017,1876,1885,1713,1488,1251,1426,1788,1665,1595,1631,1668,1886,2790,2996,2192,1606,1926,2065,1885,1589,1445,1445,1366,1333,1450,1355,1261,1461,1342,1506,1792,1937,1792,1837,1728,1582,1525,1681,1788,1647,1922,2714,3112,3504,3460,2780,2602,3337,3408,2871,2813,2834,2776,3027,2938,2511,2510,2619,2388,2611,2810,2706,2578,2470,2567,2674,2655,2698,2555,2364,2107,2219,2725,2929,2850,2985,2938,2900,2767,2759,2786,2810,2643,2657,2808,2820,2303,2622,3013,3191,3038,2667,3011,3214,3100,3230,2768,2441,2277,1816,1568,1841,1961,1659,1471,1800,1874,1505,1338,1429,1403,1261,1324,1684,2276,1900,1919,2174,1986,1681,1627,1850,2295,2282,1872,1935,1815,1339,1459,1549,1610,1784,1976,1848,1603,1465,1685,2620,2776,2222,2190,2268,2125,2089,2725,2497,1765,1780,2425,2452,2202,2317,2377,2002,1795,2092,2297,2729,1982,1426,1452,1471,1417,1722,2056,1931,1790,1649,1414,1641,1845,1643,2092,2051,1785,2154,2207,2185,2127,2284,2444,2243,2475,3152,2965,2364,1849,1543,1720,2115,1852,1898,2282,2263,1905,1719,1669,1615,1996,2765,2584,2544,2464,2129,2216,2656,2521,2008,1924,1682,1581,2021,1594,2021,1670,1108,1262,1594,1991,2164,2410,2170,1908,2207,2294,2238,2228,1916,1930,1899,1578,2028,2217,1978,2306,2464,2583,2210,2182,2624,2750,2406,1954,2264,2745,2287,2000,1744,1542,1958,2397,2104,1862,1838,1570,1769,1670,1451,1840,2610,2560,2525,2118,1572,1436,1378,1433,1383,1337,1318,1381,1453,1557,1562,1348,1677,2477,2681,2040,1425,1643,1733,1593,2013,1968,1831,2585,2580,2312,1996,1880,2187,2589,2931,3228,3295,3316,3226,3298,3488,3627,3376,2977,2679,2474,2661,2989,2995,2922,3117,2774,2473,2416,1936,1173,1775,2112,2294,2769,3216,3404,3056,2367,2240,2238,2257,1930,1844,1734,2236,2156,1986,1803,1616,2176,2467,1780,1498,1581,1810,1961,2122,2072,1891,1748,1237,1108,1365,1730,1982,2090,2055,1575,1852,1859,2423,2308,2001,2398,2729,2879,3022,2373,2288,3160,3545,3264,2767,2901,2457,2399,2245,1815,1561,1495,2258,2470,2031,2244,2061,1759,2282,2164,2272,2311,2258,2386,2188,1863,1651,1553,1689,1720,1706,1906,2203,1858,1521,1686,1862,1681,1648,1666,1571,1786,2062,1807,2044,2652,2742,2291,1729,1701,1660,1639,1860,1841,1796,1765,1748,1551,1528,1510,1499,1608,1346,1418,1823,2009,2251,2201,1699,1522,1590,1412,1511,1539,1905,1904,2211,1955,1523,2800,4195,4284,3863,3315,3145,3334,3247,2510,1613,1218,1233,1503,1640,1604,1584,1656,1674,1791,2567,3257,2723,2642,2135,1957,1812,2074,1947,1797,1804,1750,1886,1818,1425,1506,1983,2491,2975,2884,2374,1381,1033,1420,1681,1671,1845,2030,1862,1627,1494,1368,1552,1912,1939,1911,1946,1825,1889,2022,1859,1782,1728,1585,1539,1733,1808,1775,1844,2527,2916,2262,2210,2329,2192,2238,2608,2763,2083,1535,1932,2602,2445,1837,1613,2179,2446,2452,2133,2173,2376,1981,1647,1530,1763,1735,1958,1558,1391,1426,1435,1431,1508,1731,1952,2148,2271,1421,1313,1728,1638,988,984,1525,2231,2256,2440,1890,1613,1947,1959,2017,1528,1831,2254,2007,1979,1577,1483,1478,1356,1317,1282,1408,1545,1478,1295,1495,1435,1581,2027,2061,1850,1668,1464,1437,1425,1482,1606,1771,1830,1800,1526,1450,1907,2597,3287,3286,2473,1807,1622,1479,1356,1355,1344,1284,1336,1492,1414,1393,1481,1605,1437,1277,1316,1436,1424,1582,1885,1977,1596,1559,1714,1944,2275,2972,3786,3824,2741,2267,2297,2404,3033,3595,3466,3137,2744,2526,2596,2656,2316,1804,1558,2084,2991,3488,3383,3366,3257,3166,2518,2009,2109,2943,3072,2534,2330,2288,2289,1823,1402,1523,1610,1409,1456,1716,2231,2294,2057,2061,2239,1837,1458,1323,1283,1948,2336,2622,2074,1641,2130,2274,2042,2025,2042,1851,1820,2155,2374,1878,1643,1694,1709,1677,1999,1947,1812,2181,2460,2694,2251,1908,2417,2491,2186,2559,3182,2852,2200,1892,1862,1669,1801,2308,2003,1849,1892,1785,2049,2343,1969,2082,2573,2336,1934,2139,2103,1750,1859,2383,2911,3000,3237,3596,3154,3144,3197,2789,2426,2872,3522,3161,2944,3286,2859,2203,1681,1937,2061,1730,1979,1839,1903,2264,2079,2029,1585,1750,2149,1991,2135,1847,2320,2129,1570,1626,1914,2036,1538,1656,2121,1806,1593,1481,1805,2128,2468,2976,3107,3106,2779,1892,1747,1992,2109,2103,1675,1568,1815,1815,1811,1647,1904,2458,2596,2481,1903,1336,1637,2543,2151,1882,1534,1450,1624,1630,2024,2057,1648,1895,2174,2343,2242,2094,2160,2367,2327,2733,2546,1838,1985,1758,1495,1747,1863,1607,1539,1830,2221,1715,1614,2341,2895,3077,2906,2842,2945,2809,2608,2207,2961,4100,3662,3594,3795,3462,4038,4297,4084,3848,3750,3912,3809,3848,3824,3781,3542,3672,3607,3538,3702,3339,2937,2784,2372,2639,3329,3654,3677,3661,2657,2432,3173,3332,3130,3495,3830,3405,2712,2689,2383,2634,3009,2754,2003,1912,1921,2142,2596,2355,2081,2050,1831,1682,1915,1881,2198,2734,2962,2697,2722,3650,4417,3278,2242],[2451,3277,3790,3830,3796,3614,3520,3684,3728,3701,3582,3916,3641,3243,3104,3381,3648,3187,2932,3364,3112,3155,3699,3626,3175,3063,3030,3061,2735,2888,3414,3455,3408,3886,3924,3726,3650,3586,3592,3199,2915,2893,2955,3098,3106,2863,3060,2775,2301,2560,2321,2387,2325,2866,3476,3638,3403,3339,3333,3327,3196,3130,3123,3054,2879,2858,3066,2932,2840,2838,3009,3076,3194,2629,2477,2952,3062,3173,3074,2820,2742,2335,2230,2001,2125,2561,2011,2758,3001,2756,2604,2090,2207,2520,2016,1647,2130,2136,2072,2215,2689,2533,2384,2017,1847,2087,3090,3405,1891,1908,1941,1884,1663,2060,1938,1598,2078,3140,3580,3241,3174,3737,3967,4184,3981,3626,2514,2607,3455,3898,3498,3331,3384,3329,3647,3471,3242,3543,3428,3140,3299,3083,2808,2782,2872,2768,2297,1676,1636,2175,2656,2347,1967,1895,2078,1794,1827,2060,2056,1989,1873,1983,2082,2424,2648,2113,1837,1707,1778,2012,1784,1640,2164,1947,1598,1684,1977,2076,1931,1623,1644,1637,1524,1825,2053,1871,2186,2278,2280,2696,2641,2281,2206,1910,1450,1467,1705,1706,1572,1596,1813,1956,1718,1615,1763,1796,1714,1812,1870,1810,1946,1808,1836,1874,1874,1692,1759,2078,2799,3141,3149,3525,3255,2812,3616,2922,2268,2181,2075,2201,1876,1533,1462,1581,1619,1521,1661,1839,1447,1349,1798,1997,1975,1692,1826,1864,1631,1527,1420,1419,1412,1571,1609,1597,1960,1745,1530,1470,1512,1924,2024,1645,1503,1584,1668,1794,1630,1592,1532,1991,2491,2443,1883,1898,1800,1417,1381,1394,1276,1383,1384,1566,1356,1271,1450,1449,1647,2176,3323,3240,2381,1952,1637,1780,2416,1978,1840,1661,1550,1505,1504,1488,1666,1872,1731,1548,1378,1365,1465,1843,1899,1548,1542,1768,1787,1479,1267,1455,1700,1791,1648,1642,1704,1620,1585,1640,1606,1568,1747,1798,1962,2250,1848,1975,2884,3785,3141,1757,1532,1449,1555,1546,1431,1583,1559,1558,1598,1324,1202,1505,1534,1907,2213,1579,1773,2137,2895,2530,1992,2258,2828,2648,1734,1664,1531,1405,1502,1764,1539,2036,1788,1542,1616,1594,1338,1358,1623,1638,1475,1398,1394,1501,1500,1499,1530,1598,1694,1686,1960,2024,1920,1989,2503,2480,2198,2119,2029,2641,2532,2007,2036,2004,2004,2062,1768,1725,1670,1695,1711,1437,1405,1595,1593,1625,1725,1591,1402,1482,1709,1675,1442,1715,1865,1555,1517,1401,1296,1404,1815,1648,1287,1493,1526,1510,1899,2020,1997,1927,1911,1860,1869,1852,1838,1614,1576,1795,1767,1524,1384,1479,1682,1512,1504,1516,1239,1313,1484,1401,1329,1220,1613,2129,2484,2837,1952,1555,1494,1591,1667,1663,1577,1481,1609,1770,2071,1963,1626,1538,1614,1896,2155,2054,2205,2286,2254,2099,2379,2357,1818,1708,1544,1450,1417,1348,1490,1617,1785,1610,1660,1832,1851,1692,1418,1493,1614,1705,1656,1616,2027,2491,2183,1691,1678,1712,1742,1858,1725,1520,1784,1770,1514,1255,1955,2173,2004,1991,1710,1675,1808,1942,1749,1754,2006,1758,1754,2017,1850,1672,2026,1980,1695,1655,1838,1776,1680,1632,1440,1404,1564,1480,1527,1498,1930,1925,2092,2387,2105,1990,1697,1505,2018,1907,1621,2629,3654,2403,1680,2398,2585,2124,1766,1718,1837,1953,2009,1860,1521,1432,1555,1499,1589,1857,1865,1758,1669,1289,1580,2118,1865,1735,2013,1883,2034,1991,2144,2558,2271,2081,1770,1472,1694,1635,1395,1472,1773,1387,1472,1707,1742,2128,1722,1300,1491,1607,1720,1632,1412,1415,1611,1869,2280,2439,2945,2590,1959,1647,1762,1971,1728,1431,1620,1710,1883,2312,2272,2247,2746,2842,2072,1632,1788,2177,2192,2191,2744,2897,1832,1687,2014,1819,2031,2769,2315,1355,929,819,1228,1810,2084,2225,2317,1935,1790,2171,3263,3565,3791,4109,3407,2656,2451,2199,1604,1499,1494,1561,1576,1818,2521,2039,1518,1669,1750,1630,1623,1521,1567,1577,1854,2013,1749,1800,1544,1583,1664,1436,1657,1549,1570,1550,1556,1731,1893,1523,1794,2101,1673,1353,1570,1779,1512,1487,1686,1984,2092,1572,1617,1745,1716,1332,1439,1976,1920,1725,1688,1963,2452,2001,2404,2862,1847,1540,1503,1282,1289,1521,1484,1488,1998,2407,1261,1788,1807,1844,1705,1726,1718,1645,1886,1618,1847,2071,1896,1847,1530,1472,1538,1560,1768,1936,2016,1747,1384,1555,1402,1431,1524,1423,1475,1630,1628,1474,1721,1497,1633,1704,1488,1468,1517,1997,2061,1746,1666,1599,1534,1777,2003,1779,1778,1932,1637,1946,1822,1497,1636,1502,1388,1377,1305,1348,1436,1546,1594,1829,1948,1634,1722,1769,1450,1213,1434,1765,1733,2128,2407,2356,1866,2302,2448,1843,1462,1734,2044,1976,1630,1424,1427,1278,1276,1343,1514,1416,1617,1481,1550,1687,1789,1636,1466,1396,1370,1474,1718,1733,1647,2354,2792,3074,3164,2886,2380,2855,3167,2884,2675,2457,2888,3229,2929,2698,2493,2559,2546,2431,2707,2442,2106,2229,2130,2087,2287,2491,2810,2309,2359,2548,2230,2466,2974,3072,2937,3046,3008,2979,3261,3177,2713,2410,2472,2654,2662,2198,2426,2850,2984,2791,2755,2962,2750,2647,2812,2723,3129,3254,2707,1958,1741,1716,1716,1797,2032,2062,1927,1383,1372,1399,1366,1525,1542,2146,2050,1996,1818,1462,1528,1762,2452,2784,2664,2580,2205,1658,1345,1464,1636,1536,1429,1746,1944,1807,1785,1809,1950,2123,2220,2063,1788,1707,1791,1936,1816,1620,1722,2522,3017,2648,2003,1828,1823,1778,2280,2244,2422,2030,1406,1577,1997,1841,1550,1550,1528,1748,1818,1520,1584,1759,1745,2065,1930,2043,2061,1935,2152,1974,2458,3515,3320,2517,2745,2954,2164,1715,1724,1803,2103,2047,1785,1904,1722,1365,1809,2174,2170,2314,2531,2544,2366,2376,2101,1871,1917,1980,1882,2064,1910,1528,1685,1716,2161,1667,1376,1531,1913,2175,2198,2110,1998,1905,1921,1983,1944,1603,1483,2060,2490,2083,2645,2813,2529,2730,3122,3300,2276,2396,2400,2155,1862,2040,2525,2719,2503,2324,1960,1674,2086,2312,2141,2216,2452,1901,1811,1532,1262,1827,2078,1928,2229,2012,1686,1426,1422,1545,1481,1390,1196,1390,1454,2067,2083,1592,2175,2477,1932,1930,1906,1672,1635,1465,1839,1936,1514,1763,2099,2142,2004,2081,2567,3061,3248,3443,3566,3561,3562,3582,3652,3783,3550,3244,3144,3068,3130,3255,3251,3090,3161,3042,2946,2408,1867,2191,2412,2161,1952,2199,2624,2807,2656,2182,2408,2592,1986,1635,1954,2266,2380,2352,2466,2157,2171,2808,2776,1892,1493,1890,2281,2053,1992,1812,2081,2353,2105,1822,1633,1699,2218,2226,2010,1409,1633,2119,3068,2922,2557,2541,2366,2410,2453,2188,2801,3040,3406,3251,3055,2642,2835,2441,1746,1953,2118,2350,2592,2598,2437,2416,2083,2245,2481,2082,2242,2607,2121,2388,2621,2098,1539,1552,1748,1843,1781,2132,2445,2293,1826,1637,1693,1458,1449,1666,1757,1807,2237,1823,2481,2679,2172,1936,1617,1488,1485,1737,1759,1779,2182,1586,1405,1292,1202,1320,1456,1560,1769,2173,2132,1700,1857,2079,1940,1656,1540,1453,1501,1559,1722,1636,2130,1948,1802,3104,4408,4251,3513,3088,2934,3183,3317,2602,1728,1214,1164,1456,1627,1599,1622,1675,1707,1888,2920,3438,3311,2912,2209,1959,1946,2069,1827,1498,1676,1822,1925,1902,1526,1487,2164,2968,3165,2900,2342,1381,881,1085,1514,1296,1403,1938,1905,1465,1546,1403,1438,1726,1720,1666,1649,1599,1727,1824,1671,1463,1321,1236,1330,1646,1625,1613,1620,1724,1781,1902,2010,1835,2148,2435,2823,2745,1904,1736,2577,2198,1851,1882,2114,2193,2059,1915,2138,2527,2240,2566,2082,1909,1834,1807,1665,1358,1355,1315,1582,1756,1434,1773,2026,1729,1807,1682,1847,2000,1630,1364,1244,1703,2055,1902,2006,2015,1684,1541,2060,2387,1838,1858,1987,2209,2104,1543,1566,1669,1526,1377,1288,1546,1744,1396,1368,1305,1274,1597,2084,1949,1578,1459,1539,1410,1379,1522,1622,1792,1767,1657,1534,1682,2390,2868,3042,3230,3022,1994,1616,1479,1290,1386,1506,1457,1232,1095,1260,1525,1731,1550,1390,1492,1397,1455,1385,1504,1548,1743,1728,1936,2530,2687,2676,3161,3903,3658,2802,3184,3689,4037,4040,3836,3249,2404,1964,2181,2588,2388,1803,1751,2164,2933,3529,3763,3616,3429,3199,2577,2186,1868,1931,2208,2558,2483,2187,1975,2018,2139,1706,1793,1836,1613,1524,1817,2105,1906,1896,1889,1641,1457,1453,1460,1297,2120,3016,3248,2420,2281,2835,2680,2272,1923,1808,1660,1813,2423,2294,1872,1638,1830,1777,1676,1785,1729,1871,1932,2307,2377,2267,2026,2309,2372,2641,2788,2373,2145,1968,1976,1892,1534,1804,2404,1990,1894,1871,1733,1960,1996,1726,1989,2344,2301,2122,2241,1975,1518,1486,1835,2714,3006,3218,3220,2978,3214,3565,3140,2265,2198,2719,2796,2465,2693,2443,2053,1703,1639,1634,1790,1802,1519,1948,2665,2692,2062,1704,1884,1826,1703,1744,1994,2720,2544,1922,1989,1982,1990,1876,1918,1744,1695,1504,1404,1796,1982,2323,2887,2942,3066,3076,2680,2899,2291,2012,1934,1716,1670,1964,1792,1626,1650,1735,2246,2621,2371,1638,1120,1476,1812,1609,1627,1541,1527,1629,1499,1736,1842,1664,1873,2075,2363,2327,2286,2428,2599,2578,2697,2335,2058,2336,2646,2201,1809,1991,1917,2059,2534,2653,2065,2280,2814,2896,3327,3266,2618,2896,2630,2869,3108,3343,3696,3339,3464,3822,3904,4169,4101,3901,3862,3653,3717,3746,3692,3777,3503,3211,3395,3514,3632,3891,3686,3384,3286,2687,1984,2356,2908,3090,3020,2539,2040,2286,2886,3166,3765,3956,3394,2689,2489,2336,2514,2908,2755,1930,2232,2553,2555,2722,2157,1872,2184,2165,1968,2086,1958,1969,2017,2113,1933,1996,2843,3519,2713,2106],[2511,3194,3812,3813,3598,3377,3431,3639,3755,3769,3786,3539,3023,3015,3241,3172,2621,1988,2424,2974,2573,2358,3442,3653,3427,3377,3178,2964,2973,3144,3343,3108,3034,3783,3973,3702,3574,3770,3836,3256,2908,3030,3060,2897,2846,2865,3162,2939,2548,2939,2879,2777,2908,3299,3325,3441,3407,3118,3110,3218,3162,3121,3165,3042,3071,3161,3015,2900,2896,2906,2989,3033,3021,3022,3160,2975,2801,2819,2931,2811,2735,2347,2225,2010,2286,2641,2509,2706,3085,2864,2626,2574,2610,2681,2318,2097,2260,2166,1943,2135,2252,1798,1647,1773,1784,1736,2731,2414,1796,1874,1722,1699,1497,1701,1741,1479,2106,3122,2953,2789,2817,3677,3968,4068,4255,4100,3422,3354,3717,3697,3344,3168,3158,3317,3474,3510,3706,3638,3440,3382,3419,3249,2819,3130,3726,3259,2199,1932,1828,2263,2774,2288,2042,2083,2118,1637,1707,1885,1722,1674,1630,1769,1904,2114,2289,1687,1599,1580,1860,2448,2126,1807,1926,1710,1516,1737,2236,2374,2100,1577,1604,1606,1457,1507,1963,2143,2244,2173,1896,2246,2673,1944,2042,2142,1739,1646,1606,1356,1331,1667,2055,2152,1962,1818,1617,1576,1528,1697,1816,1668,1669,1913,2306,2397,2058,1593,1547,1859,1964,1873,2329,3184,3297,3491,4512,4259,3190,2424,2359,1897,1328,1386,1557,1536,1714,1636,1513,1483,1477,1318,1455,1627,1786,1862,2107,2089,1819,1808,1377,1387,1399,1327,1442,1456,1669,1701,1741,1625,1458,1789,1887,1561,1591,1543,1465,1491,1394,1619,1482,1369,1829,1794,1255,1314,1421,1299,1275,1292,1437,1323,1236,1275,1241,1417,1521,1529,1510,2585,4353,4312,3244,2745,2101,1771,2190,1907,1960,1443,1289,1720,1760,1437,1552,1916,1643,1578,1307,1202,1449,1613,1900,1522,1349,1399,1561,1631,1877,2217,1904,1698,1531,1768,1471,1421,1815,1745,1582,1557,1764,1709,2146,2643,1827,2064,3023,3907,2873,1951,1911,1784,1682,1560,1479,1577,1907,2185,1781,1923,1940,2064,1754,1618,1790,1525,1428,1677,2558,2853,2284,2568,2908,2347,1581,1531,1560,1530,1527,1654,1650,1792,1936,1880,1689,1616,1338,1305,1599,1583,1682,1461,1427,1501,1431,1569,1475,1582,1750,1400,1584,1858,2262,2106,1738,1393,1462,2122,2305,2461,2024,1652,1885,2198,2366,2499,1962,1933,1990,1828,1646,1402,1507,1482,1543,1531,1466,1454,1350,1599,1754,1724,1367,2158,2548,2272,1982,1315,1183,1583,1862,1677,1550,1569,1446,1364,1323,1531,1782,1708,1681,1648,1688,1838,2004,1928,1910,1975,1927,1765,1738,1759,1842,1771,1713,1657,1465,1553,1597,1353,1473,1807,1872,2206,2691,2491,1911,1634,1447,1612,1690,1997,2193,1666,1448,1567,1854,1886,1837,1555,1506,2114,2101,1856,2076,2325,2304,2013,1922,2021,2375,2235,1842,1458,1379,1302,1343,1429,1605,1524,1425,1427,1876,1812,1761,1711,1628,1693,1600,1569,2021,2171,1798,1609,1649,1543,1570,1806,1620,1799,1893,1679,1313,1320,1998,1944,1715,1668,1816,1635,1471,1622,1474,1728,1857,1531,1711,1621,1564,1753,1864,1724,1551,1634,2080,1967,1769,1838,1599,1659,1864,1714,1395,1176,1788,1918,2151,2266,2154,2237,1824,1481,1887,2331,2119,1965,2547,2113,1906,2399,2847,2487,1864,1504,1528,1704,1930,1836,1812,1685,1603,1670,1688,1765,1660,1589,1611,1636,1802,2159,1869,1929,2081,1715,1935,2115,2536,2652,2162,1667,1390,1771,2139,2399,1792,1738,1826,1527,1554,1828,1775,1791,1466,1355,1391,1404,1384,1438,1891,1615,1664,2220,3123,3560,3891,3260,2047,1664,1794,1752,1672,1649,1670,1644,1828,2568,2545,2257,2293,2092,1935,1696,1768,1937,1803,1687,2162,2876,2098,1673,1477,1681,2250,2988,2330,1371,979,764,1268,1986,2220,2352,2156,1950,1830,2374,3386,3583,3872,3882,3029,2489,2580,2395,1852,2056,1738,1570,1710,1929,1869,1667,1851,1832,1663,1547,1498,1609,2245,2377,1900,1673,1742,1490,1542,1627,1375,1438,1530,1628,1650,1497,1571,1643,1575,1501,1673,1837,1577,1562,1904,2099,1664,1518,1682,1873,1851,1526,1657,1912,1482,1386,1365,1691,1730,1618,1644,1879,2212,2133,2564,2392,1672,1643,1417,1254,1410,1440,1276,1486,5549,6740,1409,1499,1478,1291,1686,1853,1882,1726,1835,1836,2122,2092,1757,1519,1321,1600,1649,1443,1586,1650,1656,1640,1578,1524,1441,1344,1343,1485,1551,1808,1853,1584,2121,1765,1780,2543,1919,1252,1363,1584,1501,1549,1689,1556,1738,1669,1499,1885,1803,1975,1838,1925,1779,2015,2379,1638,1422,1290,1424,1461,1489,1392,1546,1772,1503,1804,2385,1932,1378,1270,1333,1478,1417,1804,1997,1957,1589,1600,1707,1598,1417,1637,1982,1948,1696,1408,1517,1605,1390,1440,1584,1443,1465,1575,1520,1398,1436,1368,1352,1458,1482,1418,1707,1866,2092,2787,2877,2585,2473,2181,2163,3155,3602,3448,3073,2478,2788,3379,3419,2909,2509,2566,2663,2779,3054,2571,1866,2290,2271,2078,2343,2529,2578,2730,2843,2855,2896,3150,3233,3013,2731,2708,2780,2790,2409,2629,2712,2766,2678,2646,2508,2123,2270,2699,2757,2749,2832,2658,2564,2453,2733,2979,3364,3369,3209,2685,1899,1837,2227,1807,1577,1624,1871,1439,1319,1327,1328,1534,1433,1602,1647,1635,1757,1596,1499,1587,2522,2922,2916,2507,1804,1494,1340,1372,1364,1256,1405,1722,1820,1790,1798,1960,1835,1888,1853,1794,2126,2097,2145,2333,2073,1749,1678,2094,2448,2071,1805,1833,1862,1906,2402,2331,2500,2381,1729,1709,2055,1867,1491,1409,1881,1909,1625,1641,1667,1791,2302,2519,2178,1828,1674,1731,2030,1997,2246,2853,2762,2155,2336,2540,1899,1621,1739,1861,1903,1710,1633,1814,1815,1279,1997,2491,2185,2341,2792,2212,1794,1931,1727,1930,1892,1878,1752,2158,2249,1978,2046,2331,2149,1866,1751,1728,1835,1676,1778,1957,1863,1849,1920,2228,2254,1793,1818,2523,2568,2115,2364,2265,2129,2269,2264,2294,2158,2352,2171,2124,1924,1892,2186,2437,2213,1958,1878,2174,2208,2227,2455,1907,1876,1570,1731,1812,1640,1977,2500,2320,2631,2115,1569,1478,1556,1636,1552,1416,1246,1404,1567,1840,1840,1798,2071,2218,1830,1811,2133,1924,1908,1715,2161,2145,1754,2050,2555,2318,2143,2423,3044,3241,3375,3551,3632,3601,3581,3615,3653,3762,3665,3423,3404,3435,3399,3172,3162,3308,3410,3177,3071,2393,2049,2311,2473,3039,2723,2809,2124,2294,2259,2018,2416,1937,1030,1324,2094,2587,2377,2169,2460,1998,2131,2908,2631,2059,2060,2089,2198,2160,1991,1720,2053,2477,1981,1577,1892,2295,2637,2383,2533,2448,2482,2839,2597,1794,1721,1925,2044,2301,2304,1880,2454,2753,2768,2336,2454,2235,2297,2233,1714,1931,1931,2549,2409,2566,2468,2156,1978,2642,2636,2061,2074,2186,2349,2519,2103,2084,1724,1598,1866,1858,2128,2438,2361,1998,1872,2025,1659,1382,1508,1642,1795,1547,2183,1911,2172,1933,1677,1718,1646,1541,1604,1798,1515,1695,1953,1572,1360,1300,1397,1464,1751,1923,2129,2493,2402,1898,1917,1898,1820,1536,1426,1533,1474,1506,1487,1498,1764,1810,1966,2995,4258,4253,3419,3193,3188,3388,3284,2677,1830,1259,1183,1419,1639,1604,1602,1648,1736,1797,2574,3263,3364,2984,2238,1898,1915,1986,1836,1435,1636,1791,1735,1861,1642,1428,2033,2897,3208,3031,2310,1467,1107,1297,1968,1480,1310,1454,1432,1419,1693,1674,1643,1620,1427,1361,1497,1636,1917,1826,1447,1427,1359,1300,1466,1395,1168,1400,1646,1557,1550,1652,1581,1541,1981,2121,2344,2313,1882,1656,1755,1635,1747,1912,1981,1730,1464,1376,1673,2451,2078,2729,2083,1607,1804,1836,1600,1558,1566,1331,1471,1593,1389,1644,1694,1481,1495,1480,1701,1681,1426,1526,1520,1875,2554,2786,3256,3087,1746,1239,1845,2476,2042,1951,2191,2348,1752,1395,1578,1676,1381,1218,1391,1707,1588,1397,1474,1588,1412,1461,1828,1511,1428,1716,1525,1520,1447,1498,1375,1678,1763,1791,2081,2654,3061,3275,2973,2597,2411,1650,1527,1491,1475,1634,1688,1686,1435,1293,1417,1439,1594,1555,1546,1707,1753,1636,1537,1525,1587,1921,2296,2604,2585,2309,2388,3259,3172,3237,3423,3845,4200,4234,4080,3776,2883,2085,1890,1894,2344,1942,2042,2677,3132,3768,3887,3536,3361,3655,3017,2048,2000,1931,2177,2068,2026,2160,2214,1837,1675,2078,2163,2099,1959,1635,1686,2050,1653,1520,1721,1686,1812,1789,1867,1983,1622,1926,2854,2939,2577,2810,2395,2337,2230,1730,1452,1415,2011,2754,2710,1994,1755,1626,1537,1559,1658,1891,1842,1676,2049,2201,2162,2138,2069,2227,2874,2797,2122,1671,1669,2000,2016,1879,2120,2141,1870,2089,2177,2068,2076,1876,1859,2031,2395,3166,2658,2002,1818,1563,2171,2787,3056,3061,2998,2893,2633,2979,3605,2900,2264,1912,2220,2644,2210,1743,1795,1930,1738,1627,1555,1673,1640,1641,1761,2115,2874,2597,1986,1910,1908,1737,1537,1385,1952,2039,1743,1886,1880,1908,2014,2032,1936,1701,1560,1711,1994,2048,2468,2906,2721,3097,3831,4017,4069,2716,2066,2001,1772,1743,1918,1875,1786,1746,1789,1924,2221,2197,1937,2306,2514,1812,1505,1721,1460,1659,1772,1441,1820,1704,1804,2042,1969,2106,2132,2170,2558,2577,2414,2209,2173,2115,2963,3719,2744,2312,2322,2734,2777,2618,2648,2629,3304,3475,2978,3906,4097,3529,3662,3207,2970,3423,3328,3099,3187,3625,4048,3875,4051,3989,3812,3689,3346,3681,3896,3965,3724,3120,2986,3284,3394,3640,3539,3316,3044,2893,2881,1792,2101,2726,2475,2152,2149,2126,2478,2884,2942,3643,3916,2861,2073,1955,2321,2669,3123,2648,1724,1881,2082,2243,2562,2316,2075,2057,2070,1994,1999,2110,1970,1930,1830,1864,2095,1953,1900,1776,2007],[2389,3217,3565,3618,3541,3311,3495,3641,3672,3597,3543,3562,3488,3316,3068,2269,2215,2513,3328,2373,1457,1304,2979,3542,3060,2974,3209,3208,3189,2987,3098,3453,3618,3937,4036,3847,3649,3737,3697,3472,3165,3128,3076,2973,2920,2923,3262,3204,2684,3049,3141,2910,3050,3083,3254,3544,3449,3242,2924,2914,3145,3249,3204,3262,3271,3388,3215,3021,2922,2780,2725,2744,2811,3078,3288,2754,2570,2620,2808,2749,2639,2386,2214,2329,2372,2410,2214,2058,2636,2548,2241,2555,2414,2218,1942,2184,2056,1951,2322,2643,2533,1936,1532,1644,1698,1654,2264,2038,1986,1742,1873,2014,1754,2000,1851,1437,1606,2028,2311,2883,2844,3415,3673,3644,3940,4212,4108,4013,3981,3805,3681,3519,2902,2979,3201,3444,3781,3601,3489,3484,3293,3103,3118,3578,4163,3895,2591,2182,2406,2579,2426,1975,2147,2532,2292,1713,1732,2054,2128,2153,1666,1605,1877,2041,2250,1729,1586,1598,1994,2710,2492,1876,1732,1639,1456,1724,1967,1843,1788,1667,1508,1383,1468,1622,1934,2313,2411,2014,1861,2297,2723,1783,1916,2088,1935,2163,2073,1442,1306,1454,1730,2060,2058,1461,1450,1671,1438,1483,1652,1665,1562,1706,2322,2552,2257,1715,1576,1708,1508,1608,2614,2973,3220,3287,3399,3331,2589,1824,1622,1416,1356,1223,1688,1709,1846,2062,1892,1705,1616,1616,1590,1440,1554,1732,1934,1880,1731,1811,1829,1508,1331,1392,1474,1474,1439,1461,1652,1805,2014,1858,1559,1638,1435,1316,1361,1469,1471,1452,1440,1477,1670,1551,1434,1478,1272,1270,1378,1345,1687,1550,1509,1360,1315,1388,1442,1461,1364,2229,3985,4308,3650,3519,2019,1677,2048,1801,2057,1910,1542,1422,1439,1540,1687,1981,1848,1785,1679,1703,1787,1816,1622,1453,1462,1491,1475,1553,1860,2076,1810,1543,1430,1640,1422,1572,1652,1492,1446,1503,1701,1781,2367,3110,2303,2194,3182,3935,2776,2264,2359,1899,1478,1520,1560,2020,3172,3266,2352,2976,2968,2970,2180,1538,1489,1476,1557,1554,2055,2631,2754,3053,2540,1643,1472,1409,1409,1693,1753,2303,2938,2558,2490,2148,1616,1722,1782,1486,1666,1466,1413,1567,1711,1437,1874,2598,2078,2457,2482,1740,1783,2053,2723,2620,1949,1738,1562,2014,2693,2502,1843,1944,1742,2119,2441,2410,2099,1944,1754,1564,1344,1419,1375,1369,1522,1485,1594,1956,1466,1651,1600,1739,1536,2003,2080,1996,1768,1291,1267,1746,2484,2292,1804,1735,1937,1956,1781,1638,1469,1444,1455,1323,1519,1808,1900,1650,1772,1724,1748,1808,1836,1897,1953,1905,1963,2014,1942,1882,1673,1508,1730,2225,1874,1505,1856,1782,1765,1660,1516,1816,1918,2060,2225,1796,1537,1576,1645,1600,1672,1576,1561,1955,1996,1727,1803,2186,2332,1909,1638,1803,2447,2548,2086,1494,1358,1389,1586,2172,2303,1683,1645,1718,1887,1849,1970,1677,1530,1433,1466,1570,1480,1438,1411,1301,1462,1383,1343,1518,1541,1622,1642,1580,1493,1521,1759,1852,1647,1602,1664,1469,1396,1548,1678,2080,2253,1637,1672,1606,1452,1655,1847,1844,1713,1934,2573,2533,2126,1958,1698,1732,1708,1724,1271,989,1271,1498,1887,1854,1932,1725,1508,1466,1578,2104,2192,1824,1578,1487,1403,1796,2576,2809,2247,1499,1485,1791,1638,1737,2090,1761,1454,1555,1620,1726,1538,1444,1592,1838,1923,2059,2008,1694,1640,1674,2060,2449,2078,1706,1666,1428,1592,1885,2256,3232,3226,2360,1927,1659,1571,1786,1685,1271,1425,1488,1420,1460,1392,1499,2233,2253,1820,2177,2942,3137,3376,2994,2536,2698,2156,1621,1576,1654,1683,1392,1780,2604,2679,2446,2309,2139,2173,1873,1863,1802,1628,1605,2252,3208,2523,1742,1685,1888,2431,2756,1836,1234,938,756,1158,1891,2136,2294,2033,1854,1870,2614,3522,3719,3940,3986,2855,1880,2144,2698,2325,2050,1722,1592,1781,2566,2304,1686,1754,1538,1560,1723,1694,2154,2885,2813,1977,1652,1666,1557,1745,1653,1517,1748,1805,1891,1766,1839,1846,1735,1802,1688,1548,1566,1940,2236,2294,2087,1629,1555,1592,1522,1498,1371,1506,1773,1534,1364,1488,1776,1622,1522,1808,1879,2023,1981,2181,2083,1693,1615,1276,1246,1347,1316,1282,1462,2356,1910,1330,1472,1765,1738,1893,1720,1786,1841,1801,1898,1943,1819,1672,1374,1396,1667,1612,1525,1743,1542,1388,1852,1969,1521,1500,1340,1408,1425,1508,2151,1859,1736,1823,1606,1906,1914,1265,1173,1522,1751,1541,1625,1843,2114,1978,1499,1656,1936,1801,1900,1788,1511,1464,1772,2103,1544,1541,1600,1284,1435,1739,1510,1577,1646,1424,1646,1697,1364,1378,1308,1304,1327,1469,1853,1620,1394,1231,1383,1865,1650,1379,1493,1815,1866,1758,1455,1696,1977,1493,1283,1388,1449,1431,1463,1494,1497,1590,1595,1411,1505,1462,1459,1642,1693,2258,2764,2702,2412,2504,2335,2261,3005,2957,2655,2899,3023,3226,3357,3083,2944,3009,2987,2974,3085,3275,2809,2489,2943,2801,2674,2670,2901,2765,3174,3231,3198,3527,3373,2868,2687,2305,2551,2916,3094,2729,2722,3082,2874,2523,2721,2345,1733,2155,2662,2756,2934,2743,2763,3373,3037,3174,3421,3249,3040,2972,2999,2633,1953,2031,1811,1503,1524,1624,1514,1361,1314,1349,1472,1624,1764,1676,1650,1686,1679,1418,1803,2663,3086,2548,1841,1566,1758,1922,1296,1280,1242,1477,1754,1829,1638,1655,1881,1920,1739,1544,1844,2537,2623,2736,2829,2364,1865,1756,2226,2471,2220,1896,1875,1898,1925,2175,2666,3109,2850,2353,1681,1595,1720,1594,1740,2270,2202,1908,1909,1880,2121,3045,3156,2596,1922,2097,1785,1831,1687,1675,2168,2318,2106,2160,1694,1601,1780,2075,2301,1642,1494,2062,2050,2468,1921,2513,2749,2372,2603,2653,2425,2400,2367,2214,2610,2717,2588,2384,2298,2370,2278,2154,1901,1569,1621,1605,1707,1947,2069,2526,2342,2107,2181,2002,2158,2450,2270,1873,1931,2023,1793,2408,2275,1948,2072,2200,2381,2433,2531,2432,2072,1794,1848,2304,2386,2172,2020,2056,2734,2709,2799,2365,1840,1874,1896,1885,1949,2000,2027,2442,2410,2387,1792,1510,1703,1936,1708,1604,1809,1835,1735,1572,1644,1982,1850,2174,2568,2408,2018,2131,2082,1972,2114,2066,1800,1982,2262,2751,2308,2183,2727,3231,3285,3351,3539,3677,3529,3417,3466,3472,3697,3754,3693,3605,3589,3452,2810,2898,3342,3347,2809,2589,2504,2537,2270,2684,3694,3050,3256,2884,2232,2294,2071,1744,1679,1940,2061,2040,2533,2577,2658,2544,1668,1521,1935,2070,2070,2098,2087,1947,1639,1707,1910,2367,2236,1576,1461,1881,2460,2792,2843,2697,2236,2376,2732,2476,1864,2033,1938,1841,1981,1338,992,2176,2815,2468,1940,2079,2279,2468,2593,1993,1649,1555,2494,2614,2635,2197,1884,2340,2547,2144,2131,2148,1985,1986,1912,2222,2167,1884,1868,1943,1924,1760,1703,1782,1740,2146,2149,1942,1874,1810,2555,2153,1651,1819,1809,1842,1833,1803,1759,1614,1440,1440,1644,1974,2609,2172,1459,1286,1264,1531,1990,2588,3051,2802,2446,2131,1613,1809,2250,1929,1545,1440,1399,1342,1388,1423,1547,1731,1721,1673,2945,3918,3672,2784,2580,2828,3165,3237,2686,1844,1313,1239,1393,1607,1605,1630,1624,1725,1604,1772,2743,3426,3046,2248,1897,1857,1786,1704,1456,1588,1770,1689,1832,1759,1671,2251,3031,3300,3000,2229,1498,1393,1374,1373,1466,1612,2124,1739,1516,1796,1505,1302,1438,1356,1478,1595,1626,1943,1715,1412,1375,1396,1637,1656,1374,1116,1337,1882,1707,1756,1745,1588,1853,2386,2343,2000,2094,2002,1758,1462,1482,1832,1831,1787,1650,1578,1414,1566,2186,1900,1841,1496,1308,1464,1597,1778,2040,1997,1511,1367,1345,1324,1692,1643,1787,1830,1575,1570,1403,1333,1538,1653,2126,2430,2820,3570,2758,1736,2009,2536,2546,2198,1874,2441,2454,1500,1377,1514,1474,1305,1275,1597,1631,1432,1483,1450,1482,1584,1544,1419,1436,1488,1811,1770,1631,1615,1489,1288,1628,2284,2291,1945,2478,3353,3426,2336,1687,1297,1211,1386,1469,1702,1909,1795,1687,1487,1577,1839,1489,1550,1538,1430,1372,1655,1939,1913,1443,1365,2059,2746,2724,2341,1834,2242,3387,3553,3547,3762,3876,4188,4249,3776,3095,2171,2025,1806,1588,1822,1906,2314,2729,3638,4388,3853,2892,3042,3464,2424,1737,1772,1970,2057,2294,2438,2286,2074,1905,1839,1931,1901,1803,1670,1557,1680,2127,1593,1409,1554,1570,1964,2117,2395,2379,1954,2134,2762,2317,2188,2469,2243,2420,2182,1661,1468,1655,1902,2299,2298,1965,1908,1539,1509,1649,1882,1878,1662,1551,1891,2040,2440,2745,2232,2071,2144,2636,2438,2120,2222,2099,1765,2315,2632,2263,2219,2361,2109,1996,2192,1917,1695,1504,1691,1904,1556,1619,2171,2349,2202,2367,2832,2444,2230,2599,2425,2844,3234,2224,1874,1850,1986,2328,2588,2207,1847,1848,1550,1678,1682,1605,1324,1556,1557,1607,2176,2114,1852,2069,1946,1708,1680,1604,2116,1836,1774,1748,1749,1896,1837,1954,2045,1808,1863,2143,2135,1974,2324,2999,3234,3535,3829,3277,2663,2085,1833,1865,1737,1681,1776,1494,1662,2024,1988,1892,2268,2292,2362,2567,2496,2256,2076,1977,1567,1700,1628,1656,2068,1773,1726,1826,1688,2288,2576,1998,2173,2028,1970,1960,2299,1780,2519,2757,2258,2652,2512,2566,2701,2840,2866,2729,3133,3256,2883,3243,3487,3479,3436,3001,2733,3052,3292,3516,3983,4208,3972,3188,3554,3405,2967,3449,3769,3697,3847,4013,3850,3420,3046,3206,3373,3354,2756,2862,2814,2533,2222,1809,2182,2497,2220,2219,2653,2742,2730,2877,2830,3243,3775,2866,2274,2318,2458,2703,2822,2524,1750,2042,2442,2624,2885,2677,2846,2476,2634,2304,1986,1987,1882,1716,1757,2061,2138,1994,1997,1917,1985],[2668,3495,3453,3334,3275,3266,3468,3538,3480,3474,3494,3655,3550,3436,3000,2765,3462,2798,1992,1845,2024,2268,2741,3022,3103,3286,3453,3452,3455,3273,3207,3239,3675,3530,3814,3895,3557,3571,3568,3034,2735,3143,3251,3063,2732,2819,2994,2452,1955,2788,3121,2853,2975,3009,2901,3038,3142,3592,3298,3100,2997,2957,2965,3200,3233,3352,3338,2988,2754,2839,2868,2929,3097,3089,3270,3038,2918,2756,2632,2675,2596,2436,2702,2562,2052,2210,2337,2285,2467,2827,2636,2470,2045,1787,1567,1715,1716,1704,2370,3221,2770,2320,1869,1581,1544,1570,1888,2179,2168,1699,1915,2117,1786,2106,1988,1681,1613,1767,2093,2520,2692,3243,3539,3647,3925,4070,4257,4159,3978,4014,3997,3898,3382,3618,3450,3494,3696,3649,3400,3325,3228,2944,3581,4165,4230,4132,3493,2841,3044,3275,2876,2764,2964,2544,2240,1974,2024,1917,1961,2233,1979,2072,2085,1994,1867,1605,1769,1851,2092,2823,2457,1881,1591,1604,1515,1650,1821,1890,1964,1643,1394,1447,1664,1805,2010,2121,2466,2842,2534,2206,2407,1834,1855,2052,1823,2116,1937,1372,1312,1443,1975,1826,1608,1480,1426,1511,1289,1522,1632,1483,1455,1621,2375,2916,2825,2034,1542,1726,1572,1780,2920,4096,3699,3329,3292,2187,1603,1734,1815,2119,2094,1805,1627,1778,1647,1767,1715,1548,1593,1606,1557,1496,1517,1544,1658,1925,1897,1751,1811,1743,1880,2325,1971,1433,1392,1498,1688,1958,1982,1778,1454,1830,1910,1454,1230,1422,1361,1320,1409,1459,1760,1866,1666,1719,1945,1697,1335,1289,1440,1386,1409,1463,1465,1371,1396,1440,1366,1690,2555,3628,3054,1793,1525,1755,1909,1865,2045,2122,1799,1704,1600,1772,1729,1914,1932,1939,1900,1846,2304,2592,2311,2015,1521,1488,1466,1522,1854,1869,1637,1448,1381,1529,1565,1452,1471,1405,1399,1448,1655,1699,2686,3519,2643,2410,3424,3761,2619,2270,2674,2049,1501,1506,1555,1987,3599,3292,2546,2453,2249,2001,1523,1429,1426,1452,1503,1439,2035,2458,2665,2802,1967,1404,1366,1490,1478,1622,1799,2203,2555,2315,2281,2010,1483,1722,1620,1729,1669,1467,1525,1974,2155,1841,2575,3570,3042,3364,2306,2322,2130,2249,2666,2181,1674,1773,1589,1741,2703,2627,2100,2132,1641,1989,2207,2225,2333,2415,2128,1625,1444,1542,1667,1518,1427,1644,2018,2110,1830,1869,1707,1657,1913,2040,1786,1933,1974,1772,1634,1765,2243,1910,1847,1798,1916,1910,2051,1997,1528,1426,1465,1463,1528,1853,1888,1675,1567,1505,1508,1392,1477,1617,1653,1831,2066,1880,1794,1911,1941,1832,1826,1953,1883,1781,1722,1620,1685,1637,1554,1655,1867,1698,1643,1557,1709,1583,1548,1582,1556,1681,1683,1729,1900,1729,1991,2453,2504,2066,1635,1699,1592,1642,1597,1458,1510,1759,2298,2520,2359,1602,1578,2217,1966,1686,1881,1977,1792,1581,1672,1766,1715,1682,1499,1332,1588,1404,1598,1489,1461,1637,1721,1558,1668,1594,1674,1619,1592,1486,1585,1567,1460,1402,1526,2196,2146,1694,1520,1348,1547,1583,1699,1876,1927,2441,2535,1927,1882,1753,1522,1362,1395,1481,1374,1332,1397,1440,1620,1543,1566,1333,1415,1466,1475,1617,1441,1260,1277,1445,1666,1685,1829,2315,1902,1662,1592,1653,1584,1772,1829,1664,1685,1696,1664,1548,1401,1361,1609,1929,1942,2058,1920,1625,1827,1914,1730,1781,1738,1705,1717,1852,1614,1344,1931,2964,2900,2062,1755,1613,1404,1568,1667,1328,1607,1657,1570,1614,1623,1506,1929,2326,2036,1930,1729,2085,2942,2200,2380,3232,2387,1766,1582,1728,1984,1797,1883,2417,2413,2242,2524,2842,2774,1850,1883,1976,1668,1825,2701,2710,1961,1642,1587,1931,2565,2810,1319,880,789,684,1313,1986,2121,2212,2093,1864,1947,2749,3596,3628,3664,3778,2888,2153,2168,2754,2643,2094,1822,1532,1926,2954,2601,1627,1586,1578,1618,1676,1571,2533,2865,2149,1682,1790,1808,1657,1707,1804,1766,2018,2136,1904,1776,1883,1942,1919,2008,1811,1528,1765,2223,2217,2417,2126,2284,1784,1324,1362,1363,1282,1322,1439,1469,1545,1848,1940,1593,1570,1681,1945,2032,2171,2403,2032,1877,1700,1317,1285,1306,1277,1312,1323,1267,1501,1518,1645,1739,1560,1483,1398,1448,1471,1586,1707,1749,1649,1647,1432,1490,1538,1508,2041,2041,1530,1417,1511,1649,1351,1393,1289,1391,1522,1878,2922,3122,2698,2120,2096,2525,1827,1329,1421,1658,1905,1732,1510,1525,1638,1604,1622,1841,1814,1727,1808,1523,1246,1292,1520,1585,1599,1584,1619,1405,1528,1598,1537,1526,1462,1345,1350,1396,1262,1269,1284,1327,1293,1713,2269,2031,1453,1296,1754,2040,1537,1585,1820,2008,1927,2023,1695,1398,1626,1636,1371,1358,1449,1348,1283,1490,1481,1428,1614,1730,1602,1580,1486,1647,2244,2819,3095,2938,2714,3003,2968,2799,3125,2693,2905,3401,3688,3580,3220,2963,3033,3226,2958,2843,2998,3197,2997,2808,2684,2702,2679,2292,2170,2680,3053,2818,3061,3071,3001,3199,3201,2837,2636,3055,3273,3277,3283,3016,2562,2718,2753,2153,1960,2613,2929,2756,2477,2427,2872,3296,2700,2751,3285,3139,2901,2918,2901,2814,2094,1660,1759,1639,1588,1472,1351,1428,1572,1655,1579,1670,1730,1441,1532,1574,1569,1739,2233,2366,2126,1778,1530,1487,2046,2344,1418,1374,1488,1887,1849,1666,1556,1547,1704,1772,1682,1583,1829,2330,2171,2575,2331,2280,2320,2286,2372,2575,2820,2356,1987,1991,1664,1886,2531,2718,2283,2566,1905,1767,1695,1531,1758,2209,2675,2586,2235,2049,1800,2913,3527,2820,2270,2155,1874,1823,1736,1574,1887,1913,2021,1903,1629,2183,2259,2769,3264,2270,2243,2382,2006,1889,2291,3120,3198,3216,3107,2807,2931,2659,2654,2512,2523,2454,2344,2248,2086,2023,1835,1640,1931,2403,2273,1844,1962,2956,3889,3438,2392,2207,2504,2109,1634,2037,2524,2387,2131,2229,1860,1763,1930,2195,2171,2456,2730,2534,2252,2099,1665,1584,2279,2664,2268,1833,1658,1884,2313,2411,2543,2238,2144,2168,2060,2076,1795,1864,1815,2173,2784,2348,1791,1749,1786,2019,2018,2075,2352,2278,2113,1704,1538,1636,1691,2626,2850,2609,2145,1990,1964,1856,2222,2128,1948,1945,2170,2503,2207,2266,2964,3282,3085,2984,3176,3299,3230,3240,3307,3294,3653,3736,3750,3579,3547,3529,3204,3123,3333,3195,2833,2554,2411,2798,2505,2395,3167,2679,2595,2242,2347,2531,1875,1531,1920,2561,2724,2447,3266,2897,3071,2432,1976,2076,1990,2278,3016,2774,2064,2002,1699,2352,2081,1904,1822,1693,1689,2089,2907,3356,3248,2784,2138,2386,2498,2352,1691,2108,1956,1780,1866,1140,1076,2261,2833,2617,2373,2242,2714,2663,2295,1720,1410,1805,2573,2733,2819,2346,2101,2503,2095,2030,2199,2322,2334,1933,1794,2155,2003,1892,2308,2373,1791,1599,1579,1503,1409,1627,1816,2181,1964,2304,2675,2048,1997,2003,1798,1940,2005,1695,2096,2106,1559,1455,1610,1969,2076,1624,1239,1309,1401,1370,1598,2356,3134,3121,2910,2281,1885,2076,2066,1945,1772,1549,1437,1461,1456,1484,1509,1578,1619,1900,3451,3780,2587,1968,1916,1978,2620,3341,2712,1857,1386,1290,1381,1586,1635,1650,1629,1731,1593,1859,2932,3273,2900,2336,1941,1859,1957,1844,1757,1751,1787,1793,1948,1825,1545,2071,2735,2839,2462,1838,1433,1458,1340,1334,1392,1448,1681,1541,1635,1694,1500,1506,1577,1433,1533,1619,1869,1955,1653,1530,1545,1825,2165,2229,2155,1787,1788,2153,1618,1604,1739,1532,1758,2136,2376,2278,2307,2446,1884,1329,1529,1810,1749,1660,1690,1632,1475,1629,1800,1687,1438,1375,1627,1784,1570,1745,1689,1627,1717,1662,1592,1679,1986,2041,2293,2298,1644,1440,1532,1588,1859,1961,1838,1773,2093,2143,1783,1887,2625,2770,2207,2072,1904,2610,1816,1388,1421,1417,1384,1411,1601,1639,1475,1365,1546,1631,1502,1547,1463,1569,1484,1683,1729,1546,1456,1542,1696,1848,1973,2377,2537,1850,2162,3461,3259,2598,2116,1786,1741,1493,1448,1696,1893,1750,1717,1347,1384,1450,1164,1224,1423,1436,1321,1450,1887,1927,1959,1959,2747,2531,2609,2877,2426,2803,3443,3928,4141,3920,3462,3574,3403,2666,2341,1874,1627,1692,1999,2520,2997,2641,2597,3846,4257,3665,3452,3619,2684,1833,1772,1748,1811,1903,2219,2475,2555,2627,2534,2106,1822,1702,1714,1655,1718,1661,1786,1792,1838,1823,1699,1789,1982,2500,2627,2512,2621,2642,1775,1528,2016,2251,2202,2060,1740,1693,1788,1764,1876,1621,1708,1582,1366,1671,1750,1889,1686,1505,1543,1684,2128,2771,2614,2477,2107,1935,2387,2124,2155,2326,1981,1760,2423,2700,2375,2566,2666,2097,2088,2013,1739,1473,1452,1571,1713,1782,1942,2396,2629,2226,2495,2878,2530,2540,2989,2877,2594,2611,2360,2056,2391,2391,2166,2471,2392,2004,2015,1920,1826,2046,1893,1423,1567,1621,1672,1763,1902,2260,2256,1821,1819,1759,1625,1737,1900,2078,1863,1953,2136,2039,2068,1909,1843,2031,2204,1817,1493,1942,3101,3588,3190,2486,1922,1913,1935,1645,1692,1727,1703,1973,1753,1672,1732,1868,1851,2064,2352,2673,2570,2008,2144,2230,1836,1609,1788,1597,1749,2196,1903,1622,1817,1713,2200,2761,2253,2163,2301,2018,1811,1905,1581,1946,2108,2121,2182,2031,1744,2100,2909,2918,3084,3174,2647,2653,2585,2734,3031,3032,2722,2569,3006,3582,3291,3880,4073,3911,3295,3607,3284,2891,3514,3619,3559,3863,3974,3864,3506,2778,2332,2169,2896,2924,2790,2534,2239,2242,2117,1981,2323,2283,2536,3480,3572,3298,3585,2988,2839,3044,2508,2036,2192,2367,2422,2543,2751,1792,2387,2737,1982,2231,2568,2555,2135,2106,2636,2736,2578,2544,2050,2249,2291,2064,1788,1714,1884,1845],[3202,3262,3378,3361,3198,3204,3379,3482,3471,3369,3300,3287,3161,3305,3205,3375,2406,1170,1385,2387,2359,1293,1274,2498,3571,3729,3617,3595,3620,3528,3438,3430,3536,3709,3994,3777,3540,3640,3474,2985,2929,2997,3292,3039,2979,2965,2938,2238,1730,2266,2832,2887,3051,3039,2762,2866,2939,3507,3222,2985,3005,2931,2756,2892,3061,3120,3334,3086,2868,3068,2978,2938,2930,3188,3187,3034,2784,2249,2104,2262,2264,2643,2775,2319,2229,2978,2980,2696,2503,2385,2066,1945,2002,2144,2263,2021,1842,1734,2068,2753,2567,2555,2054,1677,1517,1691,2079,2114,1870,1744,1944,2129,2165,2248,1976,1939,2095,2048,1936,2123,2500,3047,3385,3352,3651,3846,3984,4176,4087,4037,3960,4049,4439,4457,4041,3739,3618,3588,3444,3329,3219,2951,3416,3928,4004,4064,3540,2920,3558,3846,3030,2758,3216,2271,2129,1865,2106,1830,1917,2194,2161,2288,2059,1978,1884,1611,1853,2033,2071,2562,2517,2348,1742,1560,1432,1470,1468,1662,1994,1845,1821,1797,1995,2736,2576,2490,2458,3377,3189,2474,2401,2317,2566,2292,1739,1751,1591,1496,1458,1405,1952,1883,1677,1505,1478,1478,1354,1668,1731,1725,1954,1969,2425,3108,2884,2205,1678,1843,1961,2113,3236,4243,3869,3450,2746,2353,2160,2242,2132,2566,2601,2199,1859,1888,1709,1493,1376,1299,1298,1598,1550,1616,1652,1635,1613,1656,1628,1685,1918,1875,2097,2249,1620,1294,1332,1389,1373,1342,1505,1866,1805,1643,1639,1249,1036,1313,1302,1505,1724,1931,1943,1705,1599,1533,1937,1671,1318,1324,1382,1563,1588,1492,1560,1509,1429,1411,1438,1644,1748,2685,2182,1533,1809,1971,1954,1889,1820,1824,1679,1635,1535,1648,1792,2060,1967,1829,1814,1730,1943,2319,2414,2195,1630,1518,1459,1759,1945,1791,1668,1709,1771,2100,2006,1492,1602,1404,1351,1523,1633,1678,2695,3076,2256,2358,3588,3625,2314,2174,2512,2013,1696,1493,1528,1757,2648,2686,2665,2113,1478,1391,1369,1354,1417,1444,1468,1941,2291,2199,1894,1786,1564,1499,1606,1534,1565,1604,1808,1808,1838,1795,1657,1852,1569,1497,1709,1907,1835,1833,1817,1876,2059,2533,3309,3362,3421,3465,2828,2763,2639,2338,1990,1687,1646,1812,1939,1967,2336,2160,2230,1921,1905,2600,2901,2611,2402,2206,2086,1924,1672,1537,1832,1605,1570,1718,2347,2531,2082,1929,1907,1626,1701,1786,1619,1656,1805,1652,2020,1794,1836,1570,1416,1479,1673,1881,2027,1848,1692,1575,2073,2354,2009,2035,1748,1543,1408,1347,1361,1467,1472,1566,1575,1642,1885,1720,1585,1715,1687,1770,1876,1797,1802,1860,1860,1823,1880,1920,1882,1821,1956,1898,1904,1714,1721,1667,1792,1728,1521,1951,2535,1833,1731,1653,2094,2520,2492,1954,1672,1632,1918,2154,1661,1500,1467,1478,1626,1870,1988,1784,1904,2711,2116,1547,1706,1861,1845,1621,1372,1449,1656,2027,1792,1378,1375,1495,1656,1614,1447,1708,1835,1621,1723,1487,1448,1373,1431,1437,1579,1695,1665,1560,1644,1863,1620,1462,1446,1924,1931,1698,1487,2088,2202,2175,1862,1585,1661,2072,2200,1521,1486,1600,1670,1498,1339,1486,1540,1690,1749,1591,1554,1457,1532,1501,1525,1646,1550,1693,1712,1502,1676,2280,2156,2233,2039,1658,2082,2135,1619,1674,1634,1548,1629,1569,1630,1876,2115,1944,1956,2665,2968,2340,1614,1585,1504,1605,1899,1676,1587,1810,1606,1360,1569,2042,2135,1964,1808,1531,1429,1493,1799,1645,1681,1744,1620,1706,1688,1425,1757,2120,2333,2201,2223,2282,2612,1779,1901,1938,1774,1659,1587,1809,2071,2144,2030,2406,2436,2177,2513,3093,2750,2077,2117,1990,1667,1817,1919,1511,1423,1720,1896,2427,3538,3138,1362,867,821,660,1154,1823,2154,2261,2092,1920,1972,2896,3565,3629,3448,3610,3475,3214,3292,3330,2889,2155,1734,1653,2041,2570,2323,1829,1604,1766,1924,1820,1670,2175,2280,1827,1860,1952,2098,1715,1591,1541,2074,2404,2570,2040,1804,1773,1749,1713,1566,1630,1521,1628,2029,2046,2187,2589,2598,1815,1436,1354,1307,1328,1372,1395,1617,1778,1579,1508,1516,1497,1437,1415,1714,2349,2104,1607,1686,1565,1464,1310,1279,1312,1375,1436,1338,1716,1853,1658,1626,1779,1823,1581,1459,1392,1410,1417,1616,1720,1704,1732,1612,1637,1636,1918,2031,1588,1500,1312,1402,1394,1725,1626,1499,1781,1777,2619,4002,4270,3130,2541,2890,1896,1535,1881,1700,1634,1496,1443,1446,1652,1707,1409,1444,1471,1578,1765,1551,1466,1404,1540,1572,1588,1572,1411,1437,1438,1522,1590,1390,1432,1377,1287,1535,1386,1372,1328,1248,1289,1534,1914,1731,1317,1335,1385,1391,1362,1424,1819,2077,2039,1882,1427,1214,1549,1710,1796,1841,1751,1412,1323,1371,1424,1311,1341,1409,1710,1938,1515,1886,2526,2966,3334,3488,3287,3030,2721,2923,3017,2490,2769,3383,3730,3581,3437,3464,3155,3087,2994,3045,2974,2697,2896,2898,2675,2668,2722,2413,2380,3107,3432,3107,2834,2667,3186,3575,3483,3109,2795,2956,3238,3419,3327,3082,2742,2796,2827,2695,2874,3173,2900,2659,2690,2532,2739,3360,3138,2799,2663,2924,3143,3081,2868,2565,2256,1815,1743,1744,1534,1314,1421,1639,1572,1418,1360,1469,1340,1244,1334,1366,1479,1864,2393,2357,2006,1689,1495,1428,1346,1304,1447,1425,1468,1462,1509,1506,1440,1455,1606,1692,1749,1839,2197,2485,1740,1958,2203,2710,2797,2643,3084,3430,2934,2235,1825,2074,2154,1933,1815,1700,1721,2241,2265,2259,1958,1620,1819,2203,2401,2743,2881,2647,2463,3481,3730,2798,1830,1721,2060,2499,2423,1848,1914,1708,1331,1444,1687,2261,2198,2509,3116,2612,1603,1193,1406,1567,2044,2546,3008,2933,2947,2653,2432,2106,1974,1900,1747,1668,1760,1852,1990,2509,2274,2144,2624,2736,2246,1792,1851,2141,2069,1685,1786,2404,2465,1997,2007,2158,2188,2186,2065,2050,1706,1631,2331,2324,2452,2751,2769,2399,1815,1660,1838,1814,2186,2279,2051,2288,2256,2075,2330,2624,2393,1978,1721,1678,1667,1546,1603,1964,1641,1959,2514,2076,1644,1582,1769,2586,2937,2839,2945,2887,2817,1898,1661,1567,1531,2359,2609,2170,1748,1928,2037,1780,2174,2373,2316,2041,2150,2209,2127,2460,2688,2556,2384,2510,2709,2907,3066,3144,3211,3393,3575,3445,3346,3344,3499,3717,3482,3187,3131,2832,2463,2140,2209,2524,2355,2455,2637,2696,2509,2272,2483,2110,1903,1839,2187,2834,2880,2803,3086,2636,2327,1969,1964,2366,2196,2038,2629,2968,2754,2470,2175,2335,1773,1810,2132,1742,2003,2610,2454,2676,2576,2420,2050,2209,2715,2367,1554,2042,2250,2374,2486,1889,1530,1949,2087,1888,1647,1888,2636,2671,2410,1864,1838,2158,2517,3069,3272,2785,2646,3074,2599,2454,2280,2051,2355,2304,2084,1964,2014,2193,2652,2512,1703,1400,1421,1517,1466,1362,2212,1997,1839,2450,2178,1988,2310,1828,1427,2200,2116,1600,1821,1954,1551,1628,1679,1736,1904,1787,1570,1620,1572,1647,1593,1743,1885,1911,1823,1933,2279,2237,2311,2359,1862,1711,1748,1596,1652,1540,1359,1506,1654,2060,3260,3416,2285,1837,1637,1808,2384,3345,2828,1940,1526,1352,1403,1594,1655,1632,1606,1716,1638,1650,2587,3296,3196,2476,1940,1907,1952,2003,2230,2047,1618,1542,1580,1587,1601,1924,2555,2756,2003,1430,1399,1415,1416,1380,1252,1310,1471,1569,1606,1415,1380,1726,1837,1648,1484,1700,1926,1863,1764,1789,1747,1922,2469,2922,2807,1802,1483,1421,1336,1400,1533,1738,1832,1798,1937,2017,2478,2467,1945,1772,1630,2081,1891,1518,1475,1828,1936,1552,1601,1704,1448,1430,1577,1713,1691,1657,1505,1483,1670,1801,1912,2092,2254,2255,1999,2042,1688,1724,1609,1619,1693,1687,1464,1611,1969,2072,1851,1677,2045,2591,2252,2347,2347,2313,1652,1503,1395,1385,1377,1654,1731,1418,1427,1381,1636,1843,2117,1880,2157,2200,1920,2544,2485,1574,1466,1647,1936,2107,2036,2071,2880,2565,2519,2924,3354,3871,3138,2160,1950,1765,1612,1538,1688,1786,1543,1235,1202,1285,1357,1399,1337,1374,1265,1617,2110,1660,1719,2640,3269,2721,2866,2466,2251,2930,3534,4047,4157,3860,3355,3241,3162,2220,2456,2562,2089,2642,3145,3376,3651,3429,3621,4101,3372,2825,2253,2779,1929,1710,1572,1640,1995,2254,2311,2367,2750,3151,3119,2994,2401,1848,1860,1868,1796,1638,1693,1824,2011,1882,1570,1749,1707,1845,2130,2317,3145,2908,2156,2001,2194,2171,2125,1993,1895,2165,1555,1596,1961,1547,1417,1568,1631,1491,1531,1750,1661,1452,1401,1542,2183,2640,2437,2685,2199,2315,2339,1902,1907,2085,1776,1744,2273,2622,2493,2681,2408,2366,2207,1953,2039,2077,1843,1549,1715,1998,2114,2353,2297,2310,3243,3072,2998,3042,2951,2932,3048,3492,3186,2786,3286,3287,2391,1786,1765,1779,2215,2159,2143,2169,1823,1554,1612,1782,1944,1720,1760,1967,2108,2176,2476,2044,1661,1825,2251,2290,2253,2570,2630,2684,2741,1938,1949,2218,2196,1760,1501,2344,3421,3662,3143,2446,2245,2160,1906,1736,1737,2077,2360,2285,1846,1356,1276,1509,1613,1925,2266,2459,2109,1832,1959,1801,2022,1593,1619,1796,1924,2107,1945,1780,1971,1801,1842,2514,2390,2736,2880,2210,1691,1746,2046,2045,2315,2395,1615,1908,2277,2247,2342,2561,3078,2868,2347,2622,2945,2829,2900,3098,2761,2844,3319,3731,3305,3793,3934,3894,3624,3806,3735,3515,3822,3882,3860,3754,3872,3801,3580,2958,2017,1990,3106,2856,1920,1652,1700,2062,2126,2186,2414,2204,2329,2896,3327,3265,3078,2702,2266,2076,1874,2021,2258,2378,2565,2618,2115,1807,2462,2588,2042,2504,2541,2245,2265,2321,3443,3189,2116,2109,1916,2492,2618,2443,1887,1885,1795,1672],[3042,2631,2567,2852,3309,3152,3161,3310,3306,3173,3045,3195,3517,3492,2876,2554,2202,2253,2215,2044,1936,1602,2140,2951,3252,3054,3046,3361,3481,3517,3575,3481,3854,4325,3948,3559,3658,3708,3178,3017,2985,3075,3327,3297,2968,2927,3031,2711,2500,2678,2711,2888,2877,2900,2941,2989,3120,3447,3284,3085,3198,3286,3117,2940,2789,2523,3078,3082,2831,2719,2864,2956,2610,2821,3159,3241,3029,2429,2151,2179,2119,2439,2376,2259,2621,2798,2676,2254,1966,1646,1691,2131,2316,2159,1968,1696,1864,1903,1923,1690,1702,1901,1663,1717,1894,2128,2426,2212,2012,2067,1735,1874,2076,2098,2116,2358,2311,2054,2065,2252,2862,2786,2507,2831,3438,3713,3858,3982,3948,3983,4068,4465,4672,4640,4596,4320,3883,3551,3288,2777,2625,3242,3555,3860,3982,4072,3387,3018,3958,4116,3239,2416,2757,1825,2208,2267,2556,2518,2634,2559,2473,2624,2303,2789,2645,2019,1813,2363,2313,1903,2358,2671,1899,1573,1534,1462,1382,1369,1763,1913,1860,2071,3220,3094,2598,2280,1882,2976,3283,2544,2379,2186,2627,1996,1951,1786,1599,1517,1602,1488,1635,2054,2163,1655,1431,1511,1465,1914,1980,1969,2120,2201,2768,3144,2266,1834,2093,2149,1770,2032,3084,3715,3871,3389,2917,2778,2190,2099,2005,2529,2402,2127,2017,1706,1511,1342,1324,1533,1873,1911,1544,1757,1865,1607,1542,1417,1266,1483,1678,1786,1895,1784,1763,1540,1432,1322,1374,1447,1409,1421,1580,1696,1376,1136,1220,1358,1447,2120,2182,2270,1926,1579,1650,1500,1416,1306,1249,1306,1452,1636,1515,1583,1594,1416,1393,1388,1642,1529,1457,2028,2061,1708,1644,1692,1679,1680,1607,1788,1621,1406,1617,1677,1907,2475,2699,2490,2263,1829,1893,2001,1804,1974,1559,1453,1481,1719,1777,1647,1724,1759,1871,2226,1926,1475,1358,1307,1337,1515,1555,1967,2306,2045,2034,2484,3627,3494,1986,1717,1575,1548,1492,1492,1604,1764,1808,2066,2593,2201,1573,1571,1438,1522,1518,1512,1901,2441,2128,1690,1482,1539,1583,1557,1626,1534,1610,1576,2104,2198,1802,1522,1449,1682,1566,1406,1767,2070,1999,2032,1639,1513,2077,3493,3704,3097,2655,2789,3075,2561,2180,2088,1653,1623,2047,2136,2136,1858,1794,1678,1988,1731,2012,2857,2754,2297,1944,1941,2076,2091,1773,1594,2154,2096,1979,2207,2718,2416,1763,1618,1647,1932,2168,1823,1511,1448,1653,1598,1786,1619,1605,1475,1341,1439,1451,1592,1826,1494,1646,1780,2049,2449,2637,2732,2097,1564,1528,1376,1395,1426,1435,1595,2053,1964,1813,1867,1659,1699,1584,1625,1905,1939,1544,1536,1555,1886,2314,2215,2012,2088,2071,1979,1948,1933,1880,1857,1898,2009,1910,2015,2368,1681,1632,1652,2024,2593,2416,1817,1677,1720,1770,1477,1498,1504,1495,1702,1514,1825,2462,2260,2378,2502,1737,1637,1562,1555,1743,1690,1557,1582,1413,1876,1496,1399,1435,1410,1456,1419,1448,1493,1481,1635,1423,1353,1461,1425,1387,1352,1539,1709,1664,1636,1724,1662,1421,1341,1550,2605,2107,1690,1780,2089,1957,1688,1505,1403,1511,2203,2785,1631,1388,1505,1360,1223,1364,1525,1516,1790,1797,1455,1345,1615,1917,1700,1929,1909,1587,1782,1634,1399,2182,3335,3146,2758,2282,1814,2161,1959,1719,1676,1509,1719,1724,1700,1820,1819,1695,1566,1726,2015,1941,1612,1719,2007,1819,1612,1779,1669,1467,1486,1422,1193,1318,1664,1949,2113,1752,1469,1417,1577,1859,1825,1705,1555,1508,1651,1495,1300,1385,1704,2312,2303,2205,1892,1997,2227,2520,2424,1963,1430,1546,1604,1750,1976,2053,2078,2509,2416,2575,2511,2061,1973,2009,1885,1808,1825,1575,1573,1822,2115,1990,2008,3168,2977,2105,1684,1401,981,1120,2048,2599,2314,1943,1921,2116,2968,3487,3547,3474,3718,4060,4208,3865,3164,2545,1805,1741,1716,2010,2070,1737,1515,1481,1876,1866,1823,1970,1885,1975,1755,1706,1829,1701,1476,1756,1742,1656,1941,2165,1976,1702,1626,1739,1696,1746,1699,1467,1476,1681,1819,2365,2692,2352,2111,1653,1326,1324,1286,1369,1333,1571,1582,1428,1387,1477,1566,1639,1681,2127,2283,1711,1448,1497,1415,1481,1348,1660,1560,1534,1582,1576,1927,1834,1517,1731,1814,1888,1864,1441,1323,1306,1249,1468,1570,1602,1636,1657,1803,1748,1840,2122,1712,1495,1315,1414,1504,1584,1575,1595,1522,1561,2524,3887,3928,2743,2392,2957,2082,1902,2211,1841,1495,1507,1542,1585,1816,1630,1461,1599,1499,1520,1757,1678,1476,1400,1414,1377,1428,1359,1378,1443,1652,2476,2304,1455,1350,1336,1237,1245,1296,1523,1436,1342,1306,1308,1313,1283,1240,1257,1323,1408,1378,1411,1711,2044,1946,1576,1551,1539,1601,1513,1608,1596,1607,1419,1405,1385,1548,1362,1357,1523,2189,2340,1714,2416,2488,2739,3141,3583,3490,2635,2174,2299,2503,2467,2099,2667,3100,2907,3146,3230,3000,2828,2967,2731,2517,2420,2701,2967,2714,2377,2332,2461,2632,2866,3473,3463,3436,3392,3365,3300,3121,2944,3123,3250,3315,3443,3214,3032,2857,2459,2534,2966,2981,2878,2639,2247,2186,2159,2373,3117,3392,3118,2827,3165,3082,3260,3067,2616,2428,2198,1976,1750,1559,1298,1388,1499,1353,1289,1312,1408,1354,1384,1434,1558,1534,1771,2118,1675,1602,1367,1278,1373,1363,1512,1467,1462,1383,1344,1555,1482,1390,1449,1379,1604,1813,2093,2546,2281,1695,2344,3106,2969,2442,2549,2845,2551,2111,2025,1701,1853,1986,1831,1644,2097,2331,2714,2978,2578,1965,1654,2184,2314,2323,2673,2633,2308,2469,2958,3172,2814,1943,2073,2406,2558,2543,2269,1495,1614,1621,1732,1311,1741,1843,1911,2660,2568,1808,1615,1835,2030,2181,2103,2279,2280,2534,2135,1966,2025,1849,1695,1430,1353,1484,1742,2139,3236,2980,2959,3166,2954,2510,2280,1796,1764,2426,2260,2060,2499,2282,2133,2642,2668,2259,1877,2076,1851,1738,2270,2224,2289,2589,2769,2827,2302,2104,1725,2136,2119,2132,2251,1976,1969,1800,1637,1935,2340,2866,2621,1627,1539,1569,1541,2021,2346,1895,1647,1798,1566,1315,1354,1920,2749,2957,2569,2357,2512,2551,1785,1529,1579,1855,2347,2586,2164,1480,1755,1915,1710,1837,2515,2491,2019,1894,1952,2333,2677,2509,2293,2131,2431,2564,2721,2917,2909,3060,3360,3483,3184,3007,3114,3404,3558,3309,2994,2715,2146,2285,2799,2534,2059,1935,2483,2687,2623,2218,1956,1640,1825,2264,2034,1922,2420,2770,2947,2479,2075,2170,1932,1890,1848,1711,1620,2012,2580,3061,2973,2311,2046,2426,2299,2265,2141,2219,2313,1515,1513,1893,1952,2045,1626,2724,2502,1575,1963,2635,2858,2545,1887,1769,1776,1660,1916,2158,2358,2604,2623,2571,2273,2509,2702,2542,3187,3500,3007,2601,3141,2535,2289,2132,1802,2201,2144,1958,2123,2057,2404,2455,2130,1596,1070,1372,1705,1960,2136,2241,1968,2227,2570,2480,2085,2093,1651,1458,1886,1785,1718,1546,1463,1603,1729,1715,1898,2149,2150,1925,1730,1575,1679,1490,1864,2050,2031,1796,1840,2036,2070,2128,1775,1564,2004,2128,1916,1920,1726,1676,1695,1541,1702,2880,3156,1872,1899,1779,1934,2371,3326,3038,2167,1510,1260,1437,1636,1669,1613,1603,1710,1676,1564,2901,3442,3487,2566,1915,1937,1781,1639,1668,1495,1267,1229,1101,1221,1693,1975,2365,2585,2037,1626,1477,1367,1358,1426,1356,1422,1448,1315,1344,1609,1818,1923,1909,1883,1759,1842,1837,1691,1825,1725,1621,2075,2762,3028,2390,1719,1415,1402,1433,1348,1355,1510,1601,1735,1705,1711,1755,1689,1726,1580,1562,2046,1967,1564,1692,2419,2310,1524,1451,1632,1439,1338,1595,1953,1694,1478,1438,1428,1500,1525,1626,1891,2242,2298,1860,2132,1672,1603,1432,1589,1624,1432,1335,1541,1887,2037,2002,1928,1690,1825,2600,2435,2408,2059,1525,1367,1444,1377,1355,1369,1348,1326,1322,1630,1766,1708,2054,2574,3685,3135,2114,2325,1729,1347,1597,1802,2019,2238,2232,2274,2669,2912,2945,2917,3539,4146,3298,2455,2316,2636,2385,1942,1448,1357,1353,1233,1185,1285,1636,1645,1381,1396,1477,1619,2130,1962,1588,2285,3454,3501,2934,2339,2561,3194,3567,3829,3682,3984,3946,3801,3623,3065,3174,3531,3575,3628,3755,3897,3595,3670,4231,4173,3186,2199,1879,2478,2170,1893,1692,1899,2479,2924,2905,2924,3417,3364,2872,2955,2161,1759,1720,1796,1908,1813,1764,1711,1612,1598,1632,1498,1269,1136,1231,2072,3054,3195,2692,2209,2142,1946,1905,1865,1967,2300,1471,1694,1925,1770,1553,1519,1504,1489,1553,1591,1610,1405,1312,1622,2564,3059,2706,2612,2497,2629,2936,3001,2851,2128,1599,1611,2255,2543,2234,2530,2640,2669,1925,1680,2089,2258,1887,1765,2166,2132,1889,2415,1913,2289,3564,3811,3618,3315,2919,2878,3285,3648,3318,2743,2755,3042,2095,1621,1560,1474,2005,2208,2247,2128,1656,1498,1588,1774,1803,1702,1744,1842,1907,2135,2111,1627,1621,2281,3042,3186,2897,3157,2851,2302,2192,2246,2464,2493,2252,2130,2351,2564,2456,2226,2025,2053,2012,2151,2225,2122,2292,2502,2841,2510,1952,1927,1881,1850,1839,2242,2503,2480,2242,2095,2108,1952,1883,1570,1787,2293,2288,2006,1823,1848,2107,2699,3018,3308,3139,3079,2624,2004,1736,2199,2382,1952,2184,2335,1094,1482,1981,1897,2046,1893,2338,2613,2176,2503,2930,2523,2535,2512,2625,3222,3575,3659,3472,3638,3631,3703,3790,3852,3964,3990,4071,3977,3759,3729,3491,3324,3316,2843,2222,2741,3510,2766,1725,1677,1964,2242,2226,2575,2867,2477,2046,2297,2677,2498,2289,2126,1951,1851,2086,2056,2101,2435,2465,2264,1873,2010,2356,2441,2492,2439,2147,2213,2203,2273,3438,2999,2160,1945,2081,2398,2462,2497,2539,2128,1706,1670],[2520,2111,2276,2714,3334,3077,3116,3082,3018,3030,3060,3218,3276,2750,2254,2531,2954,2543,1226,1349,2596,3352,3402,3196,2863,2828,2966,3117,3378,3631,3608,3585,3824,3894,3486,2985,3452,3519,3142,3086,2922,3090,3560,3469,2868,2743,2700,2836,3006,3142,3088,3190,3340,3385,3542,3430,3494,3674,3484,3159,2998,3116,3193,3123,2940,2665,3033,2989,2832,3044,3117,3043,2777,2757,3381,3496,3275,2778,2044,2113,2270,2540,2708,2677,2446,2160,2186,1923,1736,1754,2136,1970,1852,1904,2037,2048,2217,1969,1796,2204,2718,2327,1808,2072,2262,1903,2102,2041,2115,1870,1576,1684,2127,2553,2796,2986,2886,2230,1732,2045,2655,2593,2055,2204,3084,3630,3808,3682,3893,4159,4187,4333,4383,4420,4476,4337,4100,3748,2964,2401,2767,3580,3942,4016,3958,3807,3238,3517,4008,4344,3222,2137,2243,1960,2759,3030,3154,3184,3278,3142,2773,2578,2410,3419,2853,2285,1875,2557,2734,2321,2468,2333,1768,1649,1463,1376,1272,1350,1774,1952,1860,1981,2883,3088,2853,2076,1878,3016,3548,2856,2452,1860,2292,1812,2009,2093,1735,1465,1458,1501,1616,1870,2001,1974,1580,1522,1375,1854,1873,1533,1465,1916,2858,2986,1920,1392,1925,2171,1793,2081,2169,3128,3308,2554,2754,2623,2025,1808,2151,2445,1986,2138,1794,1565,1544,1593,1565,1999,2145,1698,1468,1566,1666,1518,1497,1491,1322,1350,1372,1589,1932,1965,1830,1749,1732,1781,1882,1604,1314,1177,1246,1534,1370,1520,1576,1377,1586,2468,2203,1692,1571,1549,1522,1547,1476,1321,1304,1256,1272,1343,1504,1423,1377,1384,1404,1544,1614,1306,1472,1897,1786,1482,1514,1686,1812,1623,1509,1545,1432,1697,1888,1751,1798,1971,2175,2355,2236,1787,1753,2216,2472,2360,1930,1650,1606,1725,1643,1637,1456,1411,1615,1792,1652,1555,1384,1323,1368,1557,1504,2019,2498,2105,2160,2632,3602,3228,1725,1333,1574,1849,1679,1568,1584,1622,1728,1904,2336,2080,1368,1389,1614,1672,1712,2040,2493,2604,2216,1708,1438,1477,1567,1454,1357,1488,1575,1571,1986,2332,2024,1714,1676,1861,1778,1537,1817,1936,1787,1805,1974,1718,2424,4160,3530,2679,2833,2969,2784,2039,2150,1732,1510,1752,2250,2188,1660,1742,1947,1768,1984,2200,2436,2719,2318,1929,1513,1822,1813,1992,1628,1433,2111,2494,2111,2206,2494,2271,2204,2003,1936,1930,1823,1903,1734,1477,1504,1644,1454,1333,1642,1708,1562,1536,1484,1621,1615,1538,1764,2171,2917,2762,3035,3489,2593,1813,1654,1309,1400,1413,1344,1355,2178,2165,2112,1884,1578,1511,1636,1749,2040,2040,1475,1477,1522,2074,2544,2502,2430,2409,2294,1903,1659,1720,1754,1910,1924,1964,1868,2003,1954,1899,1955,1882,2054,2258,2061,1736,1681,1790,1557,1387,1564,1182,1348,1482,1396,1848,2656,2381,2001,1674,1452,1554,1490,1508,1625,1758,1456,1376,1372,1420,1447,1924,2004,1501,1438,1405,1385,1416,1500,1594,1484,1377,1337,1437,1628,1656,1650,1741,1544,1495,1671,1541,1460,1497,1506,1562,1608,1796,1928,1577,1490,1688,1714,1309,1479,1775,2098,1908,1672,1401,1548,1554,1370,1520,1554,1465,1345,1294,1405,2222,2535,2066,1736,1671,1671,1836,1759,1562,2470,3603,3256,2679,2242,1832,1746,1807,1837,1633,1738,2010,1923,1793,1724,1810,2130,1996,1613,1442,1632,1906,2976,3227,2101,1932,2035,1600,1323,1367,1442,1412,1566,1672,1567,1491,1344,1489,1452,1562,1765,1672,1501,1526,1484,1434,1426,1301,1376,1623,1889,1928,1731,1712,2495,2995,2862,2751,2136,1422,1654,1610,1488,1781,2084,1780,2204,2281,2120,1990,1809,1668,1891,2448,2626,2859,2089,1908,2518,2354,1552,1797,2652,2684,2499,2592,2204,1481,1407,2171,2928,2420,1947,1824,2002,2876,3438,3414,3492,3815,4124,3659,2619,2304,1948,1754,1786,1996,1968,1713,1577,1466,1515,1556,1498,1791,2152,2352,2280,1697,2245,1816,1504,1584,1842,1947,1698,1555,1569,1671,1623,1567,1580,1704,1750,1640,1552,1538,1688,1657,2122,2120,1693,1693,1423,1331,1337,1411,1425,1380,1423,1377,1347,1451,1510,1569,1650,1852,2193,2176,1972,1722,1546,1518,1418,1358,1427,1371,1431,1446,1604,1903,1753,1609,2046,1851,1676,1698,1356,1230,1198,1272,1390,1388,1466,1318,1543,1615,1720,1783,1865,1750,1700,1671,1627,1645,1414,1380,1552,1524,1771,2456,3694,3603,2346,2321,2959,2140,1782,1821,1546,1372,1353,1341,1362,1319,1352,1437,1601,1554,1324,1354,1642,1644,1562,1510,1482,1544,1438,1345,1422,1734,2209,1902,1460,1511,1447,1447,1490,1496,1521,1375,1354,1258,1251,1401,1492,1567,1369,1251,1270,1261,1287,1505,1886,1899,1687,1727,1588,1398,1329,1311,1351,1608,1691,1384,1354,1420,1359,1359,1636,2256,2055,2176,2886,2909,2920,3281,3465,2972,2395,2508,2475,2742,2919,2589,2972,3222,3093,2838,2798,2806,2409,2447,2556,2438,2525,2868,3000,2485,2073,1983,2452,2942,2724,3019,2958,3261,3254,2902,2724,2700,2714,3062,3318,3253,3086,2907,2973,2899,2758,2873,2958,2733,2640,2603,2187,1800,2014,2520,2880,3233,2834,3244,3416,3204,3321,3238,2945,2802,2635,2273,1709,1583,1416,1316,1441,1372,1322,1394,1418,1471,1460,1426,1463,1533,1619,1591,1580,1606,1344,1229,1356,1283,1318,1301,1315,1293,1344,1544,1442,1439,1550,1583,1733,1665,1746,2063,1903,2241,2814,2554,2030,1794,2357,1963,1693,1853,2276,2075,2143,2349,2241,2263,2562,2860,3301,3028,2520,1923,2614,2899,2352,2236,2247,2080,1690,2207,2376,2360,2580,2309,2532,2525,2317,2255,2531,1414,1383,2014,1891,1508,2005,2047,2023,2619,2379,2087,1824,1980,1936,1860,1898,2102,2437,2322,2031,2576,2700,1979,1573,1412,1415,1589,1976,2114,2878,2784,2854,3071,3065,3286,3090,2239,1908,2019,1656,1767,1860,1842,2338,2522,2708,2409,1787,1752,1650,2057,2645,2558,2687,2389,2986,3353,2690,2502,2360,2416,2066,2041,2162,2136,2046,1704,1580,1664,1754,2171,2323,1806,1645,1523,1628,2230,2481,2220,1746,1719,1383,1872,1316,2149,2978,3024,2414,1782,1765,1798,1779,2197,2406,2027,2182,2835,2398,1566,1560,2006,2670,2417,2300,2414,2032,1849,2105,2619,2524,2397,2286,2325,2583,2728,2707,2862,2796,2828,3128,3230,3000,2987,3149,3465,3470,3167,2752,2486,2147,2031,2258,2442,2303,2204,2003,1704,2056,1913,1808,1664,2184,2373,2014,1727,1664,1924,2161,2213,2542,2685,2232,2140,2193,1786,1561,1918,2341,2695,3028,2266,2218,2886,2397,2215,2253,2162,1876,1427,1543,2198,2398,2009,1830,2644,2675,2307,2392,2623,2762,2665,2796,2563,2107,2057,2163,2561,3102,3045,2762,2611,2490,2581,2176,1862,2486,2981,2388,1860,2221,2236,1971,1700,1749,1848,1852,2304,2439,1909,2208,2216,2115,1755,1612,1820,1968,1886,1726,1759,2088,2369,2309,2183,1741,1596,1702,1644,1953,2001,1753,1491,1416,1462,1627,1722,1797,2332,2314,1952,2090,1778,1479,1559,1787,1985,1908,1836,1870,2010,2010,2015,1656,1753,1878,1849,2092,2039,1758,1702,1778,1673,1964,2974,3100,1843,1926,1903,2069,2541,3331,3289,2679,1998,1307,1426,1651,1664,1674,1621,1676,1729,1859,3000,3438,3418,2520,1780,1882,1554,1364,1368,1378,1362,1331,1360,1649,1729,2092,2470,2661,2395,1770,1408,1294,1349,1476,1427,1307,1283,1318,1395,1935,2106,1862,1965,1965,1936,2063,1781,1588,1983,1786,2310,2304,2469,2665,2007,1678,1440,1338,1480,1439,1454,1256,1396,1510,1722,1791,1655,1638,2081,1981,1598,1583,1658,1512,1796,2354,2168,1440,1471,1465,1447,1476,2052,2196,1781,1602,1523,1626,1588,1483,1371,1675,1877,2174,2098,2034,1605,1467,1515,1714,1670,1318,1340,1672,1630,1624,2128,2156,1907,1723,1815,1550,1676,1732,1553,1688,1681,1554,1422,1400,1305,1319,1312,1621,1554,1670,1943,2880,3167,1952,1243,2059,1824,1648,1860,2064,2157,2454,2098,1798,2254,2684,2424,1842,2304,3146,2852,2526,2581,2588,2279,1792,1542,1569,1476,1401,1299,1449,1719,1407,1364,1404,1519,1765,2245,2876,3188,3296,3498,3442,2962,2530,2458,3022,3454,3347,3154,3602,3994,4140,4096,4116,4056,4068,4068,3627,3565,4067,4232,4151,4141,4099,3868,3096,2442,2292,2429,2388,2140,2221,2545,2972,3275,3377,3675,3173,2768,3086,2269,1723,1701,1663,1804,1800,1738,1566,1548,1732,1815,1464,1294,1593,1785,1894,2188,2494,2050,1584,1598,1608,1807,1716,1596,1785,1697,1888,2067,1972,1755,1677,1677,1617,1588,2424,2375,1556,1485,1954,2614,2779,2518,2604,2793,2911,3439,3474,3085,2009,1659,1642,1947,1918,1765,2492,2889,2482,1903,2024,2276,2025,1585,1739,2183,2270,2004,2454,1996,2128,3088,3472,3218,2856,2751,2676,2721,2496,2208,1839,1901,2182,1771,1545,1708,1716,1874,2238,2481,2200,1506,1568,1926,1903,1882,1936,1728,1573,1853,2175,1874,1643,1839,2657,3198,2998,2369,2702,2779,2249,1953,2088,2247,2491,2369,2307,2520,1898,1598,1926,1834,1748,2100,2282,2396,2136,2375,2438,2180,2054,2035,2222,2404,2515,2509,2918,3200,2920,3247,2783,1839,1662,1540,1465,2006,2632,2375,1976,2233,2384,2751,3277,3357,3341,3067,2663,2497,2210,2127,2127,1876,1750,1985,2385,1486,1373,1974,2362,2254,1869,1989,2379,2313,2792,2890,2508,2354,2532,2731,2954,3428,3670,3479,3354,3470,3504,3786,3758,3904,4062,4037,3960,3788,3614,3459,3669,3028,2291,2788,3422,3442,2709,2347,2174,2337,2348,2293,2720,3110,2292,1642,2099,2034,1749,2235,2257,2325,1934,2061,2292,2622,2422,2003,2284,2376,2010,2063,2625,2938,2972,2601,2408,2271,2714,3200,3460,3591,3384,3097,2730,2509,2776,2785,2378,1835,1787],[2003,2356,3168,3793,3527,3115,3160,3042,3071,3098,2824,2026,1802,2376,2722,2433,1858,2109,2019,2921,3406,3376,3152,2942,2806,2899,2939,2961,3380,3699,3637,3320,2861,2983,2946,3017,3315,3097,3165,3250,3288,3355,3271,3154,3179,2917,2325,2718,2983,2818,2821,3167,3340,3520,3776,3720,3702,3694,3540,3410,3134,3055,3116,3045,2886,2940,2952,2831,2931,3219,2877,2619,3097,3222,3841,4126,3997,3190,2152,2263,2415,2558,2787,2946,2576,2451,2631,2677,2356,2038,1956,2021,1865,1968,2242,2184,1965,1546,1704,2580,2923,2404,2408,2846,2170,2090,2380,2042,2203,1998,1662,1959,2371,2246,2534,3008,3055,2512,1882,1824,1830,2121,2282,2532,2965,3218,3041,2927,3430,3991,4129,4007,4156,4272,4143,4021,4100,3584,2758,2615,3020,3005,3287,3720,3871,3907,3760,3938,4008,4145,2541,1849,2150,2309,2611,2807,3187,3243,3397,3107,2403,2179,2720,3332,2526,2474,2125,2171,2605,2328,1910,1521,1485,1687,1615,1412,1246,1405,1918,2522,2587,2670,2623,2373,2334,2494,2646,2944,3226,2659,2376,2170,2334,1781,1910,2072,1688,1549,1442,1420,1579,2044,2235,2218,1810,1511,1239,1792,1678,1432,1405,1502,1894,1928,1519,1505,1925,1786,2095,2080,1299,2168,1967,1575,1877,1924,1970,2122,2081,2222,1703,2061,1777,1795,1867,1854,1651,1866,1994,2051,1687,1369,1389,1453,1727,1652,1352,1448,1381,1414,1650,2015,2042,1908,1855,1950,1989,1627,1370,1406,1465,1514,1496,1800,1612,1435,1447,1608,1552,1374,1454,1498,1378,1666,1570,1530,1409,1355,1335,1359,1480,1346,1323,1499,1588,1643,1493,1388,1614,1735,1618,1439,1501,1694,1700,1622,1620,1527,1544,1563,1567,1973,2138,2183,1998,1759,1698,1819,2323,2989,2813,2373,2136,2073,2075,1858,1607,1666,1437,1599,1745,1619,1877,1832,1471,1279,1358,1594,1585,1925,3000,2728,1905,2689,3632,2812,1642,1504,1887,2110,1804,1414,1197,1279,1568,1612,1521,1638,1396,1381,1533,1641,2057,2521,2855,2778,2275,1668,1415,1310,1375,1368,1327,1362,2178,1890,1416,1713,1942,2022,1991,2187,2172,1859,1855,2047,1814,1581,1910,1673,2004,2964,3462,3500,3286,3049,2907,2151,2028,1584,1788,2104,2004,1782,1659,2165,2249,2037,2361,2888,2564,2248,1854,1687,1819,2184,2024,1954,1821,1724,1898,1972,1776,1719,1752,1991,2402,2141,1965,1693,1895,1826,1627,1494,1455,1481,1443,1385,1608,2229,1911,1583,1522,1654,1759,2182,2088,2064,2729,2784,2670,2828,2699,2057,1663,1472,1425,1326,1389,1663,2373,2352,1810,1539,1608,1564,1884,1652,1820,1784,1399,1541,1691,1818,1862,2119,2331,2199,1932,1754,1640,1505,1513,1523,1730,1911,1721,1672,1678,1721,1805,1875,2052,2090,2096,2037,1982,2005,1743,1673,1748,1486,1547,1499,1380,1815,2303,2196,1961,1411,1647,1575,1618,1578,1632,1774,1432,1386,1437,1377,1517,1499,1615,1558,1532,1513,1627,1515,1458,1585,1566,1420,1478,1598,1439,1458,1440,1433,1440,1733,1641,1387,1388,1649,1629,1424,1433,1643,1505,1308,1521,1616,1627,1432,1471,1612,2205,2477,2047,1878,2340,2113,1391,1478,1563,1693,1860,1550,1598,1987,2083,1900,1737,1634,1675,1799,1671,1536,1953,3360,3773,2829,2350,1899,1660,1623,1666,1657,1827,1968,2000,1917,1914,2082,1700,1534,1447,1785,2200,2276,3112,3653,2397,1409,1468,1412,1360,1804,1788,1680,1760,1755,1660,1577,1561,1599,1590,1577,1755,1689,1504,1595,1701,1653,1650,1544,1802,1876,1960,1719,1383,1815,2387,2312,1756,1624,1499,1509,1654,1622,1375,1793,1782,1833,2586,2525,1789,1715,1585,1605,2033,3298,3501,3080,2223,1919,2562,2740,2095,2348,3162,2989,2580,2887,2433,1613,2006,2141,2681,2357,1981,1820,1985,2853,3404,3307,3482,3663,3182,2100,1589,1500,1532,1584,2266,2690,1894,1636,1763,1558,1520,1657,1537,1693,1499,1788,1889,1778,1807,1505,1795,1882,2222,2771,1949,1644,1511,1573,1596,1744,1591,1627,1715,1682,1547,1611,1815,1860,1898,1658,1511,1814,1577,1442,1438,1620,1614,1443,1476,1498,1423,1593,1702,1477,1542,1617,1689,1610,1795,1788,1586,1596,1508,1431,1331,1307,1370,1329,1481,2147,2249,2001,1953,1752,1682,1498,1404,1408,1323,1367,1437,1561,1578,1375,1525,1412,1400,1398,1610,1688,1718,1846,1865,1811,1865,1781,1571,1487,1738,2076,3145,3348,2195,2272,2979,2298,1552,1506,1610,1738,1547,1418,1250,1128,1251,1402,1737,1893,1573,1438,1699,1748,1570,1323,1357,1582,1556,1403,1394,1761,1623,1407,1355,1333,1389,1472,1494,1312,1269,1379,1425,1342,1329,1401,1539,1623,1394,1238,1351,1599,1615,1348,1554,1897,1500,1481,1715,1485,1324,1417,1434,1775,1811,1567,1536,1364,1513,1483,1649,1847,1902,2670,2968,2747,2283,2824,3165,2589,2624,3069,3063,3122,3155,3117,3327,3088,2881,2978,2883,2686,2460,2480,2642,2878,3089,3084,2983,2504,2189,2484,2880,3185,3168,2849,2565,2800,3124,2864,2419,2418,2343,2632,3108,3194,2845,3128,3146,2743,2720,2730,2496,2435,2451,2625,2327,1935,2380,3081,3000,2754,2663,2938,3455,3761,3461,3288,3244,3011,2763,2580,2027,1645,1522,1409,1456,1399,1443,1541,1407,1400,1399,1451,1477,1596,1620,1475,1471,1388,1246,1344,1400,1349,1316,1273,1387,1319,1260,1312,1361,1424,1481,1540,1586,1466,1623,1578,1552,2061,2248,2352,2178,1933,1896,1513,1481,1885,2196,1792,2215,2354,1988,2706,3130,2765,2166,1976,2506,2066,2237,2282,2211,2067,2048,1948,1848,2296,2503,2464,2500,2349,2696,2686,2330,2224,2316,1703,1682,1948,1807,1860,2167,2050,2077,2254,2119,1991,1593,1700,1644,1735,2293,3056,3260,2446,1991,2105,2379,1969,1636,1539,1469,1655,2042,2232,2473,2370,2961,3282,3105,3137,3100,2476,2592,2327,1782,1685,1587,1886,2284,2643,2957,2789,2447,2144,1938,2200,2786,3242,2664,2687,2517,1994,2181,2644,2999,2711,2630,3372,3134,2241,2294,2208,1914,1736,1815,2780,2891,2250,1981,1956,1976,1804,2185,2765,2077,1638,1603,2375,1544,2172,2794,2959,2363,2114,2443,2073,2055,2572,2472,1948,2195,2459,1887,1665,1524,2240,3231,2453,1971,2391,2326,1934,2194,2563,2293,2112,2133,2345,2677,2610,2340,2454,2802,2919,2754,2451,2524,3055,3450,3678,3459,2866,2506,2599,2712,2225,1826,2289,2545,1971,1632,1400,1585,1814,1872,1744,2131,2309,1993,1941,1749,1664,1895,2163,2326,2447,2121,1699,2016,2303,2204,2130,2358,2763,2683,1904,2349,2521,1859,1811,1909,1635,1412,1442,1567,2070,2461,2182,1968,2358,2913,2950,2554,2435,2618,2647,2801,2675,2643,2721,2527,2854,3104,2850,2619,2544,2501,1929,1561,1666,1819,2018,1791,1756,1778,1677,1500,1349,1717,1892,2024,2124,2032,1984,1994,1991,2067,1737,1744,2075,1929,1641,1705,2079,2026,2120,1922,1701,1372,1478,1638,1567,1632,1693,1724,1644,1441,1238,1514,1874,2380,2455,2135,1941,2178,1943,1719,1529,1469,1613,1680,1852,1941,2123,1663,1628,1718,1912,2114,2283,2324,2304,1742,1694,1781,1749,1804,2596,2912,2298,2176,2172,2262,2600,3204,2974,2688,2573,1446,1482,1601,1587,1639,1644,1716,1710,1988,2873,3327,3266,2695,1769,1938,1686,1552,1480,1441,1289,1706,1867,1732,1591,1869,2589,3166,3253,2288,1465,1325,1383,1326,1276,1345,1360,1414,1500,1869,2138,2248,1650,1494,1847,2100,1820,1699,2021,1936,2314,2509,2823,2327,1680,1604,1334,1625,2224,2129,1644,1392,1316,1262,1551,1740,1519,1636,2094,2026,1936,1655,1513,1574,2288,2189,1935,1797,1654,1608,1530,1531,1769,1609,1707,1837,1639,1998,1968,1623,1445,1565,1844,2297,2273,2029,1695,1637,2161,1756,1494,1422,1395,1439,1416,1604,1816,1857,1649,1697,1676,1400,1427,1602,1691,1813,1735,1641,1550,1582,1404,1446,1552,1570,1744,1767,2159,2622,2865,2500,2237,2023,1769,1810,2120,1814,1695,1917,1809,1591,1724,2160,2065,1583,2268,2537,2339,2387,2824,2727,2032,1585,1562,1706,1452,1559,1595,1688,1775,1589,1466,1416,1587,2056,2594,3386,3659,3530,3607,3609,3238,2792,2595,3376,3498,2849,2970,3369,3672,3927,3888,4096,4221,4201,4117,3962,3562,3716,4400,4039,3739,3807,3647,2942,2241,2153,2508,2932,2890,2770,2761,2972,3293,3652,3558,3105,3004,2609,1925,1831,1546,1748,1596,1721,1707,1432,1408,1606,1583,1512,1584,1716,1720,1617,1767,1926,1629,1506,1442,1473,1872,1575,1470,1750,1786,1753,1954,2097,2188,1770,1623,1976,1942,2377,1909,1638,1734,1907,2203,2578,2798,3018,2847,3090,3606,3233,2350,1989,2046,2200,2118,1673,1783,2345,2479,2297,1876,1911,1865,1713,1471,1644,1794,2033,1879,2189,2238,2214,2730,2978,2603,2483,2682,2409,2589,2226,1771,1771,1929,1942,1617,1462,1590,1640,1971,1861,1688,1909,1506,1525,1505,1823,2627,2303,1715,1631,1948,2130,1719,1626,2209,2871,3106,3072,2676,2191,2468,2425,2218,1987,1868,2388,2603,2676,2899,2689,2711,3119,2481,1899,2073,1903,1989,2197,2348,2125,1781,2042,2280,2880,3254,3182,2520,2933,3553,3407,3831,3051,1720,1616,1665,1936,2140,2967,2530,1926,2022,2499,3099,3315,3310,3118,2601,2470,2699,2386,2280,1975,1817,2036,2534,2503,2169,2059,2399,2433,2136,2165,2439,3002,3146,2933,2758,2863,2556,2844,2944,3119,3539,3652,3383,3272,3414,3330,3452,3199,3653,3994,3927,3939,3881,3531,3459,3717,3446,3271,3262,3108,2871,2407,2697,2800,2501,2278,2268,2798,3047,2018,1846,2310,1972,2050,2618,2342,2449,2133,2215,2615,2991,2858,2495,2586,2347,1836,2017,2955,3041,3240,2900,2467,2242,2332,2757,3630,4009,3933,4072,3470,3012,2887,2623,2502,1952,1912],[2360,3309,3853,4257,3762,3190,3020,3120,3129,2912,2413,1645,2215,2918,2858,1654,1688,3009,3764,3785,3328,3133,3156,3107,2953,2888,2932,2931,3086,3250,3441,3310,2766,2774,2910,3119,3206,3238,3392,3449,3242,3061,3117,3129,3034,2924,2635,2932,3118,2930,3031,3265,3418,3663,3696,3395,3470,3548,3459,3387,3301,3211,2846,2908,2966,2834,2852,2630,2556,3006,2578,2087,2815,2696,3308,3559,3777,3083,2686,2834,2744,2514,2680,2863,2541,2514,2372,2547,2120,1710,1786,1954,1897,2018,2355,2355,1830,1512,1707,2115,2535,2304,2642,3190,2602,2728,2392,2051,2161,1996,1908,2006,2280,2158,2534,3010,2788,2315,2008,2026,2248,2142,2185,2534,2841,2763,2364,2233,2762,3167,3710,3392,3589,3973,3598,3184,3660,4062,3244,2690,3094,2973,2800,3175,3492,3450,3640,4068,4300,3543,2142,2098,2230,2505,3846,4185,3720,3495,3264,2676,1982,1798,2562,2544,1930,1817,1662,1720,1836,1859,2054,1641,1504,1582,1490,1270,1467,1755,2220,2372,2571,3107,2689,2357,2252,3285,3474,3361,3093,2516,2482,2109,1668,1605,2126,2540,2486,2147,1713,1729,1801,2364,2832,2189,1939,1511,1311,1579,1538,1505,1435,1569,1935,1785,1532,1713,2012,1947,2707,2231,1312,1426,1564,1466,1441,1515,1692,2059,1854,1741,1676,2142,1923,1728,1522,1418,1547,1737,1888,1829,1615,1449,1582,1700,1737,1552,1406,1460,1456,1506,1536,1599,1656,1858,1842,1849,1859,1861,1947,1744,1535,1460,1418,1622,1522,1403,1528,1816,1780,1395,1410,1352,1169,1390,1407,1411,1419,1639,1617,1512,1509,1468,1393,1447,1613,1494,1478,1482,1475,1719,2066,2004,1921,1784,1537,1569,1579,1427,1506,1496,1387,2263,2417,2087,1670,1508,1676,1650,2057,2328,2072,2186,2418,2142,1787,1737,1903,1766,1578,1581,1547,1685,1887,1717,1418,1300,1362,1496,1378,1811,3127,2783,2154,3016,3890,2789,1616,1663,1776,1807,1549,1336,1226,1247,1329,1332,1378,1556,1810,2024,2066,2285,2508,2696,3152,2977,2014,1554,1415,1394,1402,1382,1361,1376,1677,1500,1385,1636,1784,1702,1759,1610,1683,1898,1757,2282,2243,1782,1532,1973,2294,2078,3659,4144,3084,2999,3386,2678,1860,1642,2046,2250,1899,1485,1631,2081,2066,2305,2504,2693,2664,2289,2493,2421,2122,2016,1685,1584,1776,1782,1738,1819,2027,1774,1887,2228,2408,2347,1820,1793,1851,1394,1393,1463,1436,1467,1609,1550,1672,2092,2104,1813,1700,1681,2024,2395,2041,2387,2790,1858,1898,1993,2579,2411,1788,1597,1510,1409,1310,1681,2147,1989,1822,1583,1553,1482,1903,1931,1920,1769,1455,2007,2314,1559,1443,1933,2124,1797,1318,1466,1464,1419,1321,1186,1454,1664,1620,1618,1521,1528,1709,1693,2039,1951,1758,1894,1892,1954,1972,1993,1998,2005,1958,1819,1697,1881,2082,1827,1672,1673,1803,1687,1568,1822,2114,1758,1537,1624,1431,1530,1726,1510,1403,1447,1489,1416,1568,1462,1385,1573,1646,1486,1591,1818,1576,1433,1516,1428,1389,1808,1700,1430,1361,1516,1484,1549,1654,1708,1716,1677,1605,1577,1622,1738,1616,1657,2035,2054,2191,2380,2480,1953,1477,1578,1508,1859,2006,1778,1578,1375,1684,1841,1736,1724,1650,1526,1990,2587,1788,2132,2557,2602,2310,1913,1716,1606,1643,1852,1880,1699,1902,2179,2358,1945,1194,1642,1829,2015,2213,2142,2495,2729,2043,1412,1356,1359,1503,2359,2078,1814,1752,1676,1562,1497,1544,1543,1489,1695,1879,1731,1672,1946,2024,1715,1478,1435,1437,1464,1655,1506,1542,1686,1510,1654,2070,1757,1555,1470,1453,1469,1429,1470,1308,1592,2676,3196,2430,1895,1737,1492,1880,2999,3511,2328,1680,1738,2031,2403,1978,2168,3151,2886,2588,2903,2637,1506,2396,2894,2397,1961,1933,1810,1996,2943,3379,3347,3474,3340,2141,1438,1678,1578,1506,1693,2183,1967,1416,1543,1605,1532,1596,1789,1674,1801,1755,1581,1604,1687,1586,1671,1938,1864,1856,2064,1741,1739,1786,1581,1634,2094,1932,1835,1780,1533,1568,1768,1670,1498,1434,1518,1408,1612,1520,1499,1418,1397,1478,1512,1909,2040,1604,1611,1726,1465,1549,1679,1661,1573,1478,1435,1658,1657,1478,1285,1174,1350,1275,1223,1378,2026,2272,2309,2049,1953,1756,1460,1478,1667,1464,1490,1440,1481,1429,1336,1274,1426,1542,1377,1346,1461,1485,1469,1548,1838,2093,1967,1921,2014,1841,1972,2824,3089,2214,2316,2990,2403,1759,1561,1650,1792,1771,1550,1384,1305,1438,1537,1742,1842,1564,1594,1958,1760,1452,1333,1261,1503,1408,1328,1326,1619,1593,1462,1402,1267,1391,1327,1248,1169,1162,1381,1388,1267,1187,1195,1353,1388,1283,1161,1333,1641,1449,1274,1602,2031,1806,1758,1664,1377,1387,1489,1310,1291,1434,1657,1493,1527,1618,1531,1406,1588,2329,2909,2866,2640,2618,2788,2568,2293,2240,2751,2766,2644,2598,2686,2788,2217,2371,3142,2843,2274,2652,2713,2788,2784,2899,2722,2541,2397,2501,2692,2837,2934,2957,2667,2680,2801,2742,2469,2617,2858,2490,2596,3205,3210,2901,3305,3260,2372,2543,3209,2847,2301,2037,2244,2328,2271,2254,2887,2956,2435,2436,2579,2938,3538,3565,3165,3109,3032,2779,2807,2482,1921,1636,1440,1411,1477,1412,1453,1340,1529,1483,1361,1444,1522,1576,1425,1609,1586,1322,1400,1400,1340,1358,1343,1411,1412,1461,1372,1487,1721,1582,1345,1258,1379,1721,1958,2078,2064,2187,1912,2087,1736,1460,1391,1603,2268,2140,1856,2354,2352,1917,2501,3076,2842,2070,1915,2195,1739,2021,2312,2106,1903,1716,1643,1704,2602,2763,2604,2589,2269,2202,2082,2073,1872,1783,1745,1910,2004,1898,1866,1710,1979,2600,2300,1850,1609,1670,1793,1776,1799,2198,2943,2943,2625,2710,2375,2198,2102,1898,1918,1592,1652,2020,2336,2358,2575,3273,3085,2563,2778,3022,2659,2976,2500,1992,1798,1880,2374,2765,2601,2543,2686,2558,2173,2199,1839,2068,3002,2764,2567,2022,1545,1908,2602,3089,3298,2765,2940,2985,2093,2285,1971,1640,1782,2430,3229,3152,2375,2027,2168,2100,2077,2654,2963,2302,1655,2021,2138,1540,1483,1875,2422,2509,2468,2384,1932,2082,2392,1972,1813,2205,1958,1905,2183,1643,1901,2736,2671,2287,2363,2369,1948,1793,1985,2300,2320,2350,2351,2335,2146,1868,1961,2608,3132,2810,2028,2019,2758,3217,3355,3251,2967,2705,2751,3032,2752,1992,1969,2327,2048,1722,1626,1833,2281,1939,1231,1982,2247,1824,1796,1750,1693,1851,2023,2210,2735,2184,1462,1470,1950,2332,2385,2392,2691,2367,1957,2170,2020,2056,2053,1969,1838,1772,1634,1400,1567,2297,2448,1961,2353,2901,2677,2090,2228,2441,2481,2498,2430,2800,2686,2292,2411,2922,2920,2766,2574,2787,2110,1838,1671,1555,1858,2098,1969,1964,1897,1704,1641,2267,2291,2221,2074,1943,2034,1873,1874,1930,1712,1665,1810,1597,1511,1921,2370,2199,1898,1693,1584,1554,1637,1444,1388,1504,1412,1502,1627,1451,1648,2021,1946,2284,2577,2234,1975,2113,2139,1951,1582,1688,1746,1505,1699,2221,2394,1964,1752,1755,1976,2644,2742,2180,2566,1788,1971,1982,1610,1634,2564,3212,2972,2692,2603,2446,2590,3024,2331,2394,2896,2179,2118,1519,1421,1607,1606,1695,1717,1892,2590,3027,3023,2944,1992,1934,1775,1596,1375,1374,1265,1728,1748,1480,1333,1441,1890,2052,2325,1858,1368,1302,1255,1252,1448,1707,1620,1362,1367,1446,1654,1888,1403,1559,1910,2012,1636,1578,1734,1622,1683,2084,2180,1636,1619,1664,1721,2540,2731,2209,1644,1489,1325,1306,1411,1721,1722,1870,1979,1737,1621,1614,1464,1440,2100,1917,1911,2193,2108,2192,1909,1533,1536,1963,2323,2452,1910,1982,1970,1661,1487,1450,1873,2440,2361,2050,1703,2100,2712,1844,1432,1497,1413,1177,1319,1594,1569,1425,1286,1437,1691,1721,1464,1545,1726,1540,1615,1709,2148,1972,1452,1716,1716,1565,1648,1673,2049,1879,2311,2041,1729,1543,1188,1302,1798,2058,1815,1659,1644,1462,1410,1680,1983,2218,2686,2217,2117,2359,2689,3108,2461,1883,1608,1856,1557,1838,1754,1793,1845,1763,1570,1493,2386,3271,3296,3680,3807,3182,3629,3598,3531,3593,3325,3394,3155,2718,3262,3665,3451,3442,3648,4050,4188,4208,4111,3681,3304,3541,3824,3627,3806,3785,3053,2642,3032,2695,2774,3062,3222,3451,3372,3190,3006,3251,3322,2696,2438,2126,1920,2039,1511,1850,1571,1612,1488,1453,1506,1472,1521,1610,1606,1516,1475,1453,1511,1596,1529,1489,1491,1532,1839,1578,1453,1747,1682,1797,2120,2367,2098,1573,1703,2404,2553,2237,1717,1520,1576,1492,1577,2018,2529,2895,2663,2955,3405,2912,2420,2084,1977,2154,2388,1995,1583,1732,2144,2192,1931,2001,1798,1654,1493,1783,2087,2388,2362,2236,2593,3178,3338,2699,2151,2002,1946,1896,2122,1959,1619,1497,1637,1678,1653,1747,1532,1520,1746,1501,1556,1654,1578,1626,1467,1960,2705,2291,1631,1928,1894,1806,2119,2514,2868,3040,3404,3212,2406,1702,1824,2014,2154,2020,2003,2278,2623,2836,2876,2670,2758,2811,2312,2001,1813,1998,2420,2143,2430,2390,1716,1809,2071,3110,3488,3046,2620,3228,3487,3717,3737,2513,2013,2123,1705,1895,1995,2740,2622,2185,2402,2887,3143,3373,3395,2653,2078,2018,1999,1908,2568,2684,2598,2934,3166,2849,2489,2538,2289,1750,2095,2396,2809,2653,2783,2722,2674,2830,2634,2641,2956,3264,3532,3602,3299,3291,3318,3356,3540,3268,3387,3812,4064,4159,4144,3838,3171,2964,3204,3440,3373,3288,2533,2277,2984,3182,2175,1529,1716,2142,2337,1800,2049,2568,2388,2260,2424,2059,2165,2131,2050,2460,3229,3674,3426,3200,2511,2032,2087,2624,2654,2492,2442,2099,2081,2440,2600,3010,3271,3319,3854,3055,2858,2446,2490,2104,1869,1992],[3174,3750,3919,4186,3673,3123,3138,2867,1853,1571,2461,2623,2575,2676,2986,2645,3295,3788,3677,3381,3150,3216,3287,3151,2960,2914,2966,2867,2867,2974,2967,2826,2774,2830,2732,2705,3074,3316,3037,3011,3045,3207,3606,3488,3256,3331,3378,3338,3322,3415,3642,3707,3769,3414,3287,2892,3200,3199,3043,3090,3411,3328,3005,3032,3038,2942,2942,2819,2814,2998,2714,2203,2922,2645,2511,2726,3023,2732,2635,2995,2699,2426,2755,2736,2003,2141,2110,1796,1553,1393,1604,1810,1807,1790,1977,1807,1515,1594,1761,2241,2279,2037,2302,2276,1772,1948,2078,2028,1921,1903,1878,2060,2016,1932,2607,3082,3045,2788,2454,2066,1991,1960,1982,2233,2288,2310,2150,1887,2255,2454,3088,2833,2930,3470,3525,3396,3798,4052,3527,3029,3083,3130,3006,3385,3495,3187,3149,3629,4179,3619,2523,2606,3112,3205,4420,4520,3935,3646,3510,2704,1968,1864,1929,1969,1799,1546,1554,1686,1665,2131,2104,1837,1944,1895,1510,1466,1624,1716,2213,2525,2613,2750,2266,2017,2418,3724,3854,3558,3298,2858,2469,1836,1655,1789,1896,2535,2535,2461,2039,1981,1741,2001,2358,2260,2194,1818,1477,1438,1426,1528,1426,1550,1639,2009,1976,1982,1999,1983,2832,2440,1443,1340,1588,1514,1462,1761,1505,1413,1706,1645,1931,2077,1847,1761,1672,1574,1502,1541,1506,1472,1578,1505,1591,1490,1719,1840,1615,1570,1555,1456,1542,1435,1335,1453,1292,1695,1825,1804,1911,1966,1912,1641,1386,1465,1407,1371,1663,1965,1596,1396,1378,1250,1261,1303,1332,1321,1520,1696,1538,1439,1472,1411,1411,1395,1584,1534,1467,1522,1644,2088,2608,2442,1943,1605,1481,1575,1560,1331,1376,1401,1477,2307,2456,2075,1845,1717,1605,1476,1520,1678,1792,1869,2365,2078,1825,1649,1699,1606,1601,1636,1633,1841,2319,2143,1427,1354,1444,1501,1522,2264,3219,2721,2372,3207,3804,2708,1553,1471,1575,1626,1395,1253,1211,1271,1433,1497,1726,2132,2342,2220,2379,2780,2852,3152,3263,2565,1731,1485,1328,1435,1388,1308,1337,1352,1386,1354,1371,1503,1582,1715,1615,1379,1361,1912,2316,2468,2256,2062,2152,2999,2975,2562,3921,4047,2836,2768,2955,2037,1382,1526,1922,2107,1838,1640,1885,2160,2198,2407,2376,1958,2317,2316,2441,2431,2005,1852,1673,1540,1503,1437,1404,1538,1679,1880,2061,2161,1842,1901,1988,1860,1374,1070,1324,1664,1443,1550,1874,1586,1772,2090,1887,1611,1585,1529,1974,2508,2159,2357,2298,1841,2504,2681,2938,2306,1613,1453,1401,1294,1210,1576,1990,1976,1673,1899,1589,1491,1894,1798,1752,1640,1506,2470,2859,1742,1481,1904,1697,1677,1440,1479,1681,1495,1332,1745,2189,1925,1686,1629,1350,1323,1408,1747,2271,1987,1528,1570,1583,1577,1736,1882,1799,1955,1813,1954,1934,1848,1989,1934,1875,2076,2094,1952,1858,2192,2430,1896,1758,1615,1454,1489,1523,1606,1542,1392,1513,1449,1333,1392,1476,1487,1539,1700,1786,1543,1662,1559,1704,1695,1469,1733,2088,1757,1440,1494,1580,1633,1561,1651,1874,2103,1944,1926,1971,1769,1646,1774,1727,1833,2583,2613,2402,1885,2163,1959,2023,1837,1590,2047,1954,1868,2488,2376,1739,1548,1650,1598,2362,2882,1921,1380,1810,2030,1749,1798,2021,1992,1843,1767,1564,1417,1917,2211,2096,1775,1793,1993,1917,1875,2216,2440,2212,1754,1690,1612,1543,1343,1271,1612,1730,1968,1786,1501,1369,1339,1596,1881,1754,1821,1907,1802,1621,1776,2061,1777,1576,1570,1476,1960,2087,1621,1853,2210,1689,1774,2823,2297,1584,1416,1454,1535,1555,1555,1561,2256,2741,2864,2388,2181,2000,1636,1676,2121,2540,2070,1572,1704,1538,1554,1549,1926,3074,2714,2822,2833,2368,1525,2243,3069,2644,2025,1943,1915,2459,3301,3439,3448,3529,3499,2413,1624,1620,1549,1616,1905,1827,1685,1584,1464,1482,1543,1514,1489,1512,1669,1701,1520,1541,1675,1817,1981,1993,1897,1609,1657,1647,1648,1896,1801,2118,2247,1924,2056,2090,1571,1626,1933,1593,1520,1449,1361,1375,1532,1663,1663,1664,1931,2057,2002,2562,2303,1541,1449,1418,1550,1521,1817,2017,1822,1591,1996,2174,1595,1454,1170,1131,1210,1156,1814,2226,2376,2373,2226,1842,1611,1635,1508,1319,1373,1364,1331,1345,1460,1490,1378,1274,1438,1572,1389,1357,1419,1431,1395,1619,2186,2007,1686,1784,1852,1810,1884,2268,2477,2155,2246,2723,2297,2164,2021,1803,1569,1383,1306,1470,1466,1496,1524,1430,1488,1520,1666,1908,1814,1706,1454,1248,1405,1409,1329,1364,1409,1401,1384,1385,1292,1344,1220,1172,1239,1278,1284,1302,1256,1236,1406,1425,1255,1202,1255,1328,1404,1262,1279,1652,2082,2145,1767,1304,1213,1282,1316,1306,1395,1405,1488,1460,1450,1474,1676,1644,1626,2187,2812,2989,2769,2375,2245,2093,2243,2305,2654,2595,2522,2852,2850,2531,2374,2875,3538,3339,2727,3129,2749,2844,2398,2207,2142,2232,2617,2558,2569,2634,2789,2775,2607,2978,2845,2551,2496,2777,2668,2403,2776,3239,3273,3130,3274,3262,2598,2840,3177,2710,2238,2094,2283,2463,2591,2348,2136,1983,2254,2647,2688,2480,2386,2496,3156,2970,2902,2915,2948,2833,2312,1638,1381,1479,1549,1429,1208,1487,1619,1546,1446,1434,1375,1399,1335,1354,1416,1381,1403,1415,1306,1379,1444,1411,1395,1403,1516,1583,1572,1456,1302,1345,1684,2137,2458,2248,2117,2476,2684,2922,2158,2007,2230,2288,2570,2413,2254,2442,2336,2046,2140,2652,2787,2358,2147,2139,2051,1836,1757,2146,2197,1936,2126,1905,2543,2446,2640,2583,2070,1694,1770,1877,1594,1505,1650,1498,1456,1802,1925,1644,2527,2954,2391,1860,1868,1705,1687,1628,1433,1659,1822,1665,2221,3021,2895,3096,2605,2266,2413,1790,1775,2534,2640,2608,2691,2890,2833,2995,3006,2376,2316,3061,3035,2355,2102,2255,2463,2820,2217,1991,2191,2442,2613,2030,1689,1722,2018,2247,2432,2351,1977,2320,2659,2832,3280,2590,2013,2167,1961,1882,2077,1896,1973,2371,2634,2483,1775,2175,2460,1824,1790,2343,2720,2157,1635,1903,1744,1442,1493,1704,2044,2396,2292,1910,1652,1754,2208,1948,1456,1628,1849,2159,2371,2141,1977,2250,2340,2177,2337,2002,1782,1233,1479,2077,2338,2266,2094,2068,1857,1799,2131,2301,2876,2574,1890,1755,2129,2598,2958,3024,2900,2779,2856,2797,2800,2508,2015,1930,1710,1564,1591,1776,2220,1992,1698,2668,2415,1941,1782,1636,1886,1765,1852,2733,3151,2436,1752,1555,1677,2028,1928,2032,2132,1875,2464,2080,2131,2356,1837,1735,2100,2208,2158,2071,1947,2318,2598,2544,2299,2227,2417,2262,2219,2274,2435,2366,2124,2031,1941,2762,3200,3409,3157,2788,2214,2005,1954,1586,1251,1699,2501,2316,1919,2046,1886,1575,1636,1776,1845,2215,2352,2464,2211,1817,1824,1820,1854,1852,1841,1870,1849,2136,2020,1782,1637,1669,1663,1650,1616,1116,1178,1287,1334,1561,1614,1515,2055,2746,2243,2056,2339,2080,2097,2271,1768,1687,1740,1880,1963,1729,2161,2426,2320,2054,1604,1570,2002,2556,2544,1890,2592,2277,2776,2700,1892,1946,2812,3087,2458,2116,2184,2337,2195,2901,2403,2666,3029,2487,2537,1710,1289,1612,1605,1667,1728,1864,2558,3281,3453,3152,2384,1926,1799,1498,1287,1306,1265,1268,1445,1593,1314,1342,1533,1469,2212,1872,1412,1284,1302,1382,1506,1665,1477,1404,1461,1337,1353,1490,1359,1591,1832,1849,1518,1588,1984,2098,1972,2657,2399,1614,1672,1663,1807,2504,2112,1750,1522,1384,1381,1412,1486,1538,1552,1917,1872,1659,1350,1433,1439,1483,1835,2161,2306,2150,2259,1966,1623,1923,2728,3593,3367,2812,2259,1709,1306,1439,1481,1424,1624,1723,1836,1930,1729,1881,2053,1904,1993,1914,1519,1426,1715,1695,1340,1358,1503,1745,1939,1827,1604,1882,2207,2280,2092,2235,2702,1942,1739,1708,1511,1708,1570,1565,2040,1881,2029,2042,1811,1605,1353,1319,1805,1976,1781,2018,1719,1463,1550,1520,1974,2780,3090,2578,2497,2460,2322,2659,1988,1689,1496,1664,1694,1892,1803,1743,1874,1716,1377,1384,2113,3378,3987,3748,2930,2612,3394,3184,3562,3846,3571,3227,2566,2211,3081,3406,3405,3351,3405,3898,3728,3807,3694,3373,3437,3405,3119,3252,3702,3403,2388,2005,3229,3360,3229,3045,3437,3688,3400,3145,3119,3529,2976,1651,1658,1787,1488,1663,1534,1802,1736,1709,1641,1658,1621,1645,1876,1704,1486,1581,1683,1660,1470,1595,1677,1636,1369,1482,1759,1556,1494,1556,1489,1770,1923,2097,1805,1560,1661,2170,2391,2186,1697,1537,1489,1284,1404,2142,2490,2475,2580,2913,3042,2640,2387,2062,2133,2536,3025,2261,1623,1975,2285,2207,1704,1849,2169,1894,1571,1693,1862,2320,2703,2820,2997,2540,2555,2240,1869,1812,1734,1675,1692,1667,1615,1971,2191,1852,1759,1600,1473,1818,1737,1510,1427,1571,1827,1874,1723,1794,2257,2112,1760,2094,2061,2770,3557,4500,5073,4760,4166,3935,3236,2078,1819,1756,1781,2078,2345,2349,2272,2309,2316,2270,2417,2164,1799,1818,1860,1940,2141,1803,2287,2476,1749,1739,2074,2474,2953,3128,3293,3188,3471,4097,3427,2711,3217,3089,2735,2552,2183,2651,3081,3216,3384,2990,2407,2467,2473,2282,2188,1886,1803,1944,2550,3147,3253,2995,2852,2777,2304,2361,2135,2140,2668,2653,2812,2540,2419,2465,2607,2930,3312,3004,2746,2770,2744,2667,2393,3194,3363,3007,2739,2588,2983,3783,3901,4091,3911,3602,2962,2872,3115,3269,3095,2920,2742,2751,3073,2884,2259,1107,1009,1289,1752,1798,1792,2631,2748,2119,1542,1367,1780,2165,2200,2275,2614,2957,2874,3167,3068,2624,2236,2084,2065,1973,2109,2304,2689,2573,2498,2763,2809,3025,3218,2551,2541,2540,2371,2075,2010,2200],[3222,3536,3706,3691,3341,3068,2507,1494,1370,2010,2784,2976,2854,3172,3552,3902,3805,3381,3319,3417,3299,3310,3332,3190,2973,2994,3010,2919,2888,2938,2986,3176,3312,3254,3051,3015,3177,3548,2902,2741,3057,3274,3531,3472,3249,3326,3353,3302,3438,3575,3847,3702,3529,3284,3007,2821,3001,3218,3128,3204,3364,3291,3338,3209,3125,3021,3066,2852,2890,3067,2878,2544,2742,2767,2558,2601,2766,2745,2814,3038,2791,2808,2534,2104,1861,2102,1748,1978,2089,1559,1510,1776,1932,1870,1666,1788,1914,1807,1742,2007,1804,1658,1838,1924,1474,1557,2036,2131,1912,2038,1980,2156,2107,2440,2788,2855,2951,2872,2259,1686,1818,1870,1921,2114,1698,1804,2079,2482,2744,2632,2566,2396,2630,3285,3894,3738,3616,3466,3225,3550,3707,3327,2997,3758,3980,3336,3121,3504,3718,3619,3357,3356,3886,3845,4108,4121,4036,4011,4078,3949,3641,2790,1896,1982,1853,1644,1541,2018,2872,3863,3140,1942,2248,2255,1544,1368,1412,1517,2100,2419,2347,2556,2674,1976,2150,3510,3592,2664,2165,2190,2052,1853,1754,1706,1746,2315,2415,2288,1951,1907,2012,2358,2552,2339,1903,1925,2194,1697,1473,1649,1621,1975,1776,2474,2604,2207,1974,1914,2223,2124,1920,1396,1650,1851,1535,1732,1620,1491,1572,1411,1549,1671,1749,1803,1886,1742,1440,1498,1461,1431,1428,1541,1536,1576,1772,1714,1621,1770,1742,1612,1669,1436,1484,1179,906,1418,1628,1764,1905,1876,1926,1814,1714,1604,1522,1371,1632,1626,1396,1454,1278,1200,1510,1751,1642,1337,1404,1471,1378,1344,1472,1396,1438,1369,1464,1550,1460,1697,2002,2041,2014,1786,1490,1521,1575,1561,1673,1562,1420,1472,1783,2358,2440,1989,1665,1521,1628,1679,1535,1609,1696,1891,2094,1847,1704,1468,1521,1561,1489,2060,2507,2261,2661,1917,1426,1361,1483,1540,1723,2424,2966,2597,2045,2395,2837,2043,1462,1468,1888,1727,1376,1205,1209,1311,1664,1858,1919,2120,2386,2391,2052,2454,2962,2938,2388,1735,1890,1670,1332,1390,1259,1236,1338,1446,1459,1414,1384,1269,1296,1788,1614,1300,1490,2180,2974,3284,2978,2633,2547,2707,2437,2978,3838,3471,2416,2202,2005,1619,1512,1543,1892,2268,2313,2216,2366,2388,2084,2057,2536,2597,2248,1911,2252,2497,2102,1913,1836,1888,1813,1512,1552,1692,1753,2023,2362,2243,1881,1799,2092,2093,1371,1057,1518,1678,1488,1688,1789,1455,1918,2261,1716,1483,1377,1460,1938,2497,2450,2168,1886,2130,2294,2487,2338,1885,1569,1377,1278,1382,1322,1505,1590,1490,1392,1866,1744,1688,1808,1694,1522,1425,1836,2828,2783,2064,1814,2130,1642,1501,1510,1555,1780,1764,1731,2397,3140,2922,1816,1562,1165,1399,1510,1895,2042,1723,1529,1455,1517,1606,1695,1626,1533,1722,1638,1652,1586,1953,2247,2312,2128,1735,1745,1923,1995,1953,1926,1920,2024,1872,1702,1529,1532,1524,1460,1700,1908,1487,1445,1494,1598,1418,1638,1676,1798,1625,1600,2035,2206,1709,1547,1679,1684,1526,1408,1346,1450,1520,1453,1482,1599,1650,1700,1776,1628,1710,1733,1764,1941,2458,2916,2412,2127,1779,1949,2062,2376,2219,2049,2264,2211,2556,2573,2266,2061,1859,1906,2059,2059,2331,1871,1333,1977,2592,2279,2295,2438,2047,1698,1516,1649,1761,2071,1817,1516,1555,1548,1457,1457,1553,2094,1747,1691,1499,1817,2231,1731,1300,1275,1323,1442,1669,1673,1495,1462,1527,1713,1987,1910,1737,1793,1771,1527,1417,1552,1599,1620,1553,1478,2023,2370,1637,1632,1838,1572,1661,2336,2282,1794,1447,1545,1885,2032,1907,2008,2172,1766,1953,1596,1803,1866,1605,1666,1960,2250,2063,1907,1826,1583,1478,1595,1859,2988,2785,2842,3097,2192,1603,2396,2635,2514,2060,1896,1781,2501,3140,3206,2932,3054,3320,2478,1655,1806,2045,1678,1698,1605,1814,1956,1697,1665,1665,1776,1755,1566,1630,1659,1465,1514,1908,1848,1598,1650,1780,1785,1719,1568,1599,1780,1919,2044,1996,1900,1923,1815,1567,1444,1439,1518,1853,1511,1213,1446,1756,1801,1847,2156,2559,2402,2192,2386,2141,1858,1545,1678,1776,1616,1794,2004,1740,1600,1935,1894,1624,1499,1346,1306,1412,1442,2125,2306,1882,1722,1825,1506,1287,1313,1368,1397,1384,1376,1356,1370,1570,1417,1288,1317,1249,1378,1596,1551,1765,1792,1852,1940,2154,1780,1576,1914,2021,1800,1800,1929,2019,2018,2013,2088,2106,2741,3001,2158,1497,1248,1187,1416,1470,1339,1310,1466,1449,1236,1334,1489,1647,1751,1545,1330,1358,1440,1410,1282,1295,1352,1349,1289,1289,1296,1261,1321,1204,1285,1482,1345,1273,1365,1387,1379,1327,1222,1396,1387,1265,1181,1131,1569,1983,2003,1748,1293,1325,1308,1364,1460,1523,1433,1406,1424,1536,1746,1931,1836,1862,2397,2754,2784,2619,2294,2145,2284,2423,2701,2865,2684,2811,3576,3443,2844,2826,3233,3252,3056,2903,3038,2856,2879,2114,2035,2269,2312,2109,2330,2765,2688,2729,2702,2541,2955,3053,2727,2391,2731,2887,2614,2599,2701,2800,2943,2850,2951,3166,3040,2846,2497,2199,2139,2264,2646,2957,2410,1769,2024,2570,2540,2448,2544,2711,2796,3423,3366,2956,2971,3040,2917,2394,1582,1418,1498,1400,1700,1592,1700,1561,1414,1357,1438,1479,1412,1377,1354,1388,1396,1418,1408,1406,1506,1411,1366,1446,1524,1583,1641,1571,1558,1600,1589,2043,2095,2281,1961,2045,2548,2475,2098,1975,2354,2307,2054,2441,2670,2197,2171,2597,2248,1878,1848,2017,2098,2139,2623,3028,2301,2127,2274,2139,1930,1788,1670,1802,1929,1898,1802,1792,1681,1783,1939,1637,1538,1529,1354,1361,1569,1594,1885,2846,3383,2855,2294,2088,1932,1731,1450,1398,1594,1596,1552,1936,2444,2061,2499,2280,1856,1857,1566,1669,2330,2755,3319,3020,2944,2902,2615,2578,2131,2073,2792,2852,2332,2456,2420,1903,1968,2117,2422,2374,2258,2180,1825,1701,1792,1818,1976,2277,2563,2283,2491,2499,2566,2724,2138,2236,2396,2027,1650,1569,1576,1626,1770,2633,2512,1815,2115,1723,1368,1595,1827,2080,1864,1634,1611,1648,1671,1519,1311,1505,1919,2134,1924,1803,1761,2184,2093,1795,2121,2466,2688,2598,2240,1993,1936,1892,1810,1760,1789,1621,1447,1618,1804,2136,2037,2028,2050,1670,1885,2042,1649,1796,1970,1777,1660,1937,2403,2865,2796,2762,2878,2910,2602,2290,1879,1637,1597,1697,1632,1449,1513,1919,1860,1095,2385,2447,1735,1502,1686,2218,2264,1989,2270,2498,2165,1671,1538,1990,2237,2234,2051,1870,1987,2743,2328,2006,2173,2187,2369,2744,2436,2418,2314,2286,2352,2349,2094,1281,1084,1591,1948,1828,1843,2070,2143,2258,1841,1769,3234,3675,3508,2999,2609,2167,1981,2054,1666,1585,2285,2548,1782,1775,1896,1629,1627,1547,1641,2293,2396,1830,1926,1848,1709,1510,1757,1815,1908,1815,1930,1962,1892,1709,1760,1726,1465,1674,2154,2092,1354,1142,1207,1231,1550,1519,1487,2041,2490,2146,2186,2580,2395,2103,2436,1709,1651,1605,1724,1673,1496,1648,1701,1863,2042,1834,1583,1614,1871,2052,2430,2730,2376,2764,2752,1906,1654,2636,2886,1953,1709,1808,2028,1933,3006,2592,2808,2966,2255,2102,1733,1177,1595,1578,1608,1763,1877,2071,2995,3313,3020,2180,1646,1573,1368,1298,1375,1311,1351,1631,1942,1588,1444,1510,1682,1921,1560,1320,1290,1322,1350,1361,1396,1326,1626,1926,1558,1375,1473,1531,1717,1944,1826,1596,2011,2806,2942,2278,2817,2678,1982,1770,1589,1770,1775,1527,1465,1231,1291,1409,1512,1465,1462,1560,1791,1627,1618,1476,1348,1637,1790,1865,2446,2244,2002,2545,2512,2063,2930,3714,3604,3245,2846,2360,1642,1483,1616,1492,1372,1372,1427,1676,1905,1866,1992,2081,2096,2129,1960,1887,1791,1648,1462,1353,1473,1920,1874,1637,1503,2012,2210,2172,1832,1615,2100,2862,2314,2416,2122,1721,1648,1464,1623,2393,2357,1996,2148,2435,1942,1587,1716,1972,1594,1461,2007,2430,2587,2315,1721,1670,2426,3047,2614,2540,2479,2540,2656,1904,1640,1513,1491,1741,1914,1840,1884,1860,1524,1628,1658,1882,2875,3641,3591,2643,2303,2758,3410,3794,3645,3304,2975,2511,2335,2798,3200,2916,3081,3610,4108,4025,3828,3405,3498,3854,3461,2862,2674,2952,2880,1889,2042,3364,3507,2941,2754,3007,3140,3168,2972,3394,3516,1965,1495,1757,1798,1865,1843,1792,1756,1579,1580,1598,1624,1561,1731,2142,1791,1628,1656,1716,1643,1703,1732,1813,1708,1191,1482,1704,1461,1434,1435,1506,1860,1575,1654,1749,1622,1546,1690,2044,1908,1555,1481,1418,1329,1733,2242,2421,2490,2685,2724,2225,2396,2344,1919,2320,2403,2416,2206,1903,1924,1773,1699,1459,1585,1829,1758,1754,1940,1817,1931,2403,2929,2654,2137,2013,1989,1823,1876,1757,1583,1770,1825,1849,2794,2824,2836,2543,1900,1486,1707,1707,1530,1631,2002,2038,2077,2141,1863,1992,1894,1686,2035,2185,3181,4163,4795,4920,4452,4187,4268,3625,2058,1759,1795,1953,2140,2177,2111,1760,1699,1908,2425,3132,2494,1613,1628,2069,1841,1803,1726,2208,2158,1852,2552,2964,2707,2533,2520,2543,2163,2467,3440,3020,2844,3272,3496,3416,3056,2822,3188,3316,3398,3471,3244,2043,1637,1804,2095,2119,1817,2044,2449,2879,3332,3206,2644,2254,2258,2272,2174,1925,2030,2335,2585,2817,2664,2330,2482,2601,3046,3972,2903,2545,2547,2334,2764,2601,2897,3146,2775,2630,2625,3077,4308,4285,4256,3726,2944,2430,2471,3082,3633,3010,2822,3195,3144,2946,2496,2499,1620,1411,1441,1860,1863,2053,2755,2964,2196,1406,1285,1844,2062,2157,2232,1914,2286,2297,2486,2730,2766,2293,1849,1695,1753,2377,2764,3269,3009,2522,2952,2795,2510,2408,2359,2432,2313,2072,2142,2208,2335],[3045,3177,3347,3329,3226,2856,2358,1859,2524,2611,2639,2923,3123,3355,3710,3826,3527,3293,3353,3493,3355,3254,3286,3143,3032,3033,2943,2885,2885,2947,3003,3215,3447,3405,3594,3353,3300,3471,3053,2657,2887,3074,3145,3394,3519,3309,3253,3371,3675,3777,4035,3458,3121,3192,2977,2896,3011,3269,3404,3373,3063,3271,3399,3326,3251,3043,3118,2817,2729,3152,3067,2829,2997,2998,2813,2697,2524,3100,3426,2924,2874,2375,1825,1735,2042,2126,1616,1866,2078,1794,1816,1958,1899,1886,1686,1585,1779,1804,1756,1626,1986,2142,1798,1847,1598,1919,2356,1907,1829,1853,1821,2002,2343,2596,2502,2523,2594,2589,2449,1843,1901,1766,1802,1321,1605,1863,2101,2591,2743,2451,2014,2302,2764,2813,3097,2663,2633,3028,3451,4003,4237,3753,3374,3559,3610,3356,3353,3735,3940,3758,3504,3394,3181,3579,3753,3740,4109,4241,3936,3760,3693,3373,2478,2533,2245,2317,2188,2498,3714,4717,3526,1982,2081,1880,1636,1461,1357,1615,1659,1605,2337,2898,2932,2148,2085,3359,3862,3195,2629,2535,2243,2580,2739,2001,1692,2049,2317,2184,1947,1795,1964,2238,2319,2021,1609,1975,2398,1882,1878,1814,1869,1841,1622,2242,2623,2841,2502,2365,2437,2613,2265,1619,2303,2446,1621,1399,1682,1681,1479,1450,1438,1576,1895,1705,1663,1863,1668,1671,1484,1409,1421,1510,1627,1522,1456,1645,1607,1603,1478,1589,1645,1517,1702,1271,1267,1567,1575,1546,1667,1752,1861,1738,1746,1890,1853,1701,1571,1399,1449,1296,993,1081,1601,2070,2072,1844,1720,1299,1418,1426,1714,1515,1415,1376,1428,1533,1528,1705,2057,1915,1428,1433,1516,1503,1540,1644,1774,1611,1430,1296,1422,2152,2474,1983,1517,1760,1802,1765,1748,2647,2568,2199,1816,1538,1464,1332,1485,1613,2113,3160,3687,2323,2390,1829,1434,1613,1829,1668,2031,2514,2382,2348,1760,1596,1853,1603,1542,1443,1662,1721,1745,1612,1257,1436,1867,1934,1968,1831,1641,1958,1663,1930,2338,2169,1611,1509,1710,1459,1300,1251,1223,1262,1251,1576,1645,1578,1383,1518,1622,1605,1422,1361,1947,2600,2435,3106,3544,2599,1942,2038,2233,3124,3710,3149,3074,3459,3002,2248,1793,2008,2374,2296,2198,2590,2365,2092,1793,1627,2248,2692,2198,1714,1605,1808,1584,1745,1920,2049,1904,1613,1416,1982,2102,1760,2044,1940,1650,1590,1631,1807,1216,1112,1722,1790,1744,1636,1465,1341,1548,1737,1864,1535,1447,1549,1605,1618,2046,1975,1682,1807,2149,2065,1856,2030,1754,1425,1300,1632,1447,1371,1294,1294,1366,1539,1758,1753,1698,1610,1497,1435,1966,2257,2461,2012,2188,1963,1665,1710,1431,1304,1519,1575,1624,2276,2937,2770,1758,1525,1251,1812,2234,2179,1794,1549,1559,1332,1435,1616,1692,1517,1535,1474,2265,2042,1565,2268,2889,3341,2995,1654,1757,1733,1577,1742,1695,1830,1874,1840,1914,1840,1904,1995,1953,2204,2234,1690,1455,1485,1678,1357,1519,1555,1528,1594,1502,1910,2143,1948,2698,2203,1509,1383,1397,1480,1636,1841,1637,1431,1487,1555,1670,1645,1525,1840,1637,1726,2010,2261,2766,2578,2394,2243,1961,1749,2094,2384,2637,2585,2613,2999,2353,1718,1753,1881,1885,1813,1656,1765,1766,1688,2140,3492,3436,2568,1908,1473,1400,1716,1758,1943,2324,2068,1815,1891,1540,1129,1630,1663,1884,1620,1361,1735,2142,2028,1630,1450,1562,1449,1600,1855,1738,1617,1666,1672,1773,1728,1637,1599,1803,1793,1553,1501,1377,1395,1393,1420,1541,1541,1894,1391,1344,1543,1529,1549,2048,2496,2193,1416,1460,1747,2317,2056,2311,2208,1735,1595,1566,1676,1947,1819,1732,2050,2056,1888,2462,2082,1627,1506,1451,1835,2978,2948,2899,3092,2249,1749,2318,2334,2492,2010,1884,1802,2336,2840,3045,3015,2896,2787,2753,2985,3372,3020,1915,1684,1954,2477,2252,1793,1674,1610,1592,1669,1716,1614,1683,1526,1598,1759,1581,1545,1531,1453,1546,1672,1730,1698,1671,1784,1972,2293,2160,2089,1787,1623,1416,1323,1141,1212,1432,1323,1425,1575,1671,1914,2054,2184,1661,1405,1898,2203,2536,2209,1666,1784,1965,1883,1858,1560,1533,1794,2073,2030,1678,1402,1409,1382,1533,2007,1911,1546,1540,1798,1496,1381,1359,1385,1323,1277,1298,1338,1440,1629,1585,1455,1303,1295,1408,1968,1730,2447,2920,2675,2222,1951,1586,1564,2061,2478,2118,2000,2088,1913,1822,1791,1792,1936,2281,2461,2040,1656,1474,1473,1549,1415,1263,1313,1451,1325,1322,1404,1475,1721,1776,1756,1462,1340,1339,1394,1238,1322,1289,1258,1090,1172,1346,1428,1432,1259,1466,1689,1528,1478,1483,1344,1306,1311,1434,1498,1402,1245,971,935,1315,1619,1732,1502,1367,1398,1408,1433,1415,1345,1398,1455,1422,1697,2022,1999,1780,2064,2675,2635,2351,1991,1969,2080,2467,2754,2343,2424,2917,2889,3704,3681,3298,3337,3321,2977,2665,2462,2657,2916,2690,2254,2356,2650,2793,2460,2641,2996,2979,2935,2967,2497,2533,2634,2734,2666,2811,2994,2316,2448,2469,2220,2725,2653,2837,3049,2972,2678,2385,2224,2169,2375,2636,2600,2060,2114,2662,2897,2717,2585,2770,2995,3000,3156,3088,2963,3201,2996,2918,2360,1580,1419,1525,1447,1628,1687,1707,1579,1513,1637,1641,1605,1433,1389,1382,1340,1384,1357,1357,1368,1374,1290,1385,1655,1488,1466,1795,1587,1709,1743,1251,1946,2244,2246,1993,2179,2463,2040,1963,2393,2548,2002,1644,2427,2503,2644,2780,2513,2114,1793,1799,2110,2159,2405,2690,2900,2287,1855,1664,1664,1896,1894,2309,2522,1982,1423,1556,1738,1694,1525,1405,1345,1527,1493,1463,1400,1215,1377,2164,2248,1979,2512,2456,2042,1996,1507,1415,1582,1615,1616,1498,1927,2071,1670,1680,1560,1371,1425,1483,1838,2227,2574,2801,3064,3112,3023,2740,2911,3009,2685,2784,2654,2435,2928,2491,1724,1709,1843,2228,2544,2369,2038,1897,1768,1804,2132,2435,1873,2136,2172,1958,2188,2685,2951,2933,2945,2522,2113,1768,1527,1806,1519,1462,1795,1718,1504,1498,1426,1916,2225,2032,1738,1552,1717,1698,1856,1884,1676,1509,1543,1606,1597,1599,1616,1727,1774,1610,1927,2608,2542,2214,2339,1949,1915,1764,1708,1735,1771,1731,1788,2050,2092,2052,1995,1809,1771,1922,1643,1820,1812,1534,1661,1820,1597,1609,1918,2337,2887,2788,2522,2653,2487,1986,1795,1763,1662,1678,1669,1416,1468,1649,2363,2194,1423,2568,3032,2507,1863,2032,2601,2549,2082,1883,1741,1735,1522,1581,2125,2784,2576,2408,1897,1790,2443,2315,2023,2534,3326,3536,3350,3041,2250,1803,2085,2420,2247,2019,1611,1367,2091,2662,1958,2034,1851,1951,2300,1828,1700,2900,3603,3370,2540,2305,2551,2310,2544,2477,2057,2374,2411,1695,1512,1636,1737,1646,1616,2283,3339,2921,1331,1246,1660,1460,1348,1655,1786,1793,1961,2079,1809,1886,2073,2320,2249,1983,1850,2010,1828,1733,1430,1339,1469,1522,1437,1533,1955,2035,1757,1716,2567,2430,2302,2314,1844,1748,1655,1578,1435,1372,1460,1787,2540,2551,2109,2054,1677,1757,2087,2394,2093,1663,1968,2325,1809,1638,2677,3189,2552,2106,2151,2250,2460,3245,2950,2854,3041,2396,1950,1792,1126,1552,1576,1595,1765,1957,2732,3135,3155,2999,2303,1802,1643,1360,1324,1301,1313,1406,1433,1625,1625,1537,1428,1606,1665,1457,1418,1283,1300,1331,1333,1359,1388,1622,1485,1412,1546,1457,1588,1827,1944,2099,2202,2296,2712,2495,2185,2447,2545,2261,2114,1719,1521,1542,1630,1544,1287,1412,1457,1516,1520,1445,1711,1901,1555,1578,1475,1387,1705,1969,1821,2036,1800,2015,2193,2181,2524,3471,3953,3671,3417,3442,2855,1770,1488,1583,1377,1289,1424,1505,1541,1737,1648,1464,1593,1880,1914,1803,1875,1804,1569,1914,1659,1389,2055,2000,1653,2020,2261,1882,1781,1656,1503,2665,3896,3571,3720,3443,2448,2024,1500,1370,1975,2229,2116,1930,1980,1948,2037,1919,1748,1533,1544,1897,2643,2712,1897,1354,1329,1820,2388,2494,2673,2547,2843,2503,2002,1854,1676,1554,1606,1709,1735,1942,1978,1578,1794,1926,1619,1818,2480,3231,3060,2942,3738,4070,3716,3217,2920,2754,2912,3206,3079,2967,2292,2475,3574,4228,4316,4061,3661,3540,3626,3604,3483,3146,3415,3581,2662,3146,3293,2254,2040,2669,2775,2517,2482,2842,3423,3250,2220,1887,1886,1586,1620,1933,2134,1931,1475,1606,1654,1740,1531,1641,1135,1153,1506,1498,1564,1530,1585,1678,1739,1525,1376,1752,1810,1854,1911,1598,1452,1616,1758,1859,1694,1504,1526,1844,2173,1932,1543,1556,1471,1471,1997,1897,1703,1874,2024,2116,2098,2558,2435,2151,1862,2069,1727,2279,2292,1766,1599,1529,1389,1608,1976,1825,1684,1900,1895,2199,2294,2213,1924,2007,1817,1745,1992,2025,1817,1843,1817,1955,1724,2243,2424,3124,2751,1926,1604,1741,1670,1604,2173,2276,1985,1990,2192,1958,2069,1779,1595,1955,2166,2921,4016,4617,4784,4447,4037,3875,3384,2287,1858,1699,1753,1880,2148,2342,2141,1914,1829,2277,3274,3050,1922,1440,1813,2082,1752,1462,1928,1976,2056,2677,2520,2504,2520,2123,1880,1721,2021,2710,2429,2405,2996,3164,3231,3216,3382,3284,3479,3646,3513,3530,2447,1865,2228,2083,1741,1783,1932,2332,2828,3010,2814,2303,2069,2354,2759,2527,2684,2877,2723,2780,2818,2690,2558,2793,2793,2763,3327,2950,2441,2321,2596,2775,2453,2518,2531,2082,2121,2406,3000,4216,4157,3698,3666,2833,2240,2271,2991,3517,2850,2681,3095,3522,3264,3439,3135,2619,2143,2171,2196,1774,1950,2662,3001,2136,1601,1443,2082,1743,2100,2414,2220,2997,3341,2891,2546,2540,2227,2043,2019,1852,2526,2921,3163,3282,3140,3056,2641,2512,2741,2633,2591,2473,2252,2605,2769,2318],[3329,2964,3016,3121,2088,1724,2613,2885,2800,2577,2798,3220,3463,3586,3494,3518,3491,3307,3242,3316,3204,3313,3262,3089,3011,2978,2947,2665,2554,3019,3084,3106,3346,3286,3370,3244,3650,3401,3002,2797,2843,2898,2862,3282,3542,3342,3377,3349,3630,3818,3996,3394,3121,3029,2879,2953,3098,3271,3354,3160,3030,3400,3532,3561,3561,3310,3190,3077,3021,3117,3438,3222,3209,3094,3099,2824,2473,2753,3015,2971,2913,2314,1836,1635,2083,2202,1702,1732,1745,1920,2303,2395,2229,2148,1997,1696,1623,1825,1937,2114,2744,2578,2257,3009,3272,2876,2231,1753,1822,1858,1912,2264,2535,2264,2438,2589,2174,2262,2304,2007,1704,1521,1621,1332,1801,2224,2148,2254,2366,1946,1544,2077,1970,2431,2341,2054,2291,2856,3557,4252,4520,4108,3479,3316,3528,3366,3141,3140,3903,4073,3280,3514,3978,3926,3720,3950,4473,4231,3540,3491,3797,3661,3143,2943,2455,3220,3260,2972,3617,4092,3053,1922,2004,1711,1719,1682,1669,2108,2146,1917,2346,2571,2671,2640,2496,3361,3791,3923,3839,4002,3219,3447,3915,2321,1470,1632,1613,1876,2195,1996,1770,1745,1780,1787,1638,2146,2238,2042,2287,2214,2398,2164,1898,1849,2439,3533,3099,2684,2613,2753,2344,2081,2666,2337,1588,1390,1477,1510,1416,1435,1244,1554,1842,1884,1770,1750,1775,1620,1541,1510,1489,1472,1446,1387,1720,1772,1588,1556,1593,1745,1541,1604,1635,1304,1081,1491,1913,1673,1529,1361,1607,1663,1843,1910,1917,2026,1940,1728,1467,1047,854,1313,1730,1780,2046,1656,1546,1404,1504,1377,1491,1545,1448,1348,1443,1549,1598,1672,2015,1630,1430,1772,1508,1317,1390,1454,1561,1503,1411,1291,1340,1693,1982,1798,1661,1469,1449,1904,2392,3099,2562,1736,1492,1512,1664,1656,1636,2388,2656,3575,3228,1847,1549,1353,1425,1814,2035,2013,2187,2363,2552,2743,1988,1637,1695,1573,1657,1953,1978,1777,2082,2326,1524,1543,1930,1595,1418,1544,1302,1682,1954,2048,2078,1788,1374,1395,1382,1173,1326,1721,1588,1551,1300,1449,1544,1468,1389,1473,1483,1447,1422,1560,2370,2759,1922,1898,2258,1709,1576,1959,2371,2744,3134,3435,3742,3814,4014,3463,2626,2131,2110,2402,2428,2611,2372,2188,2593,2536,2021,1697,1797,1992,1788,1480,1319,1961,1890,1569,1865,1803,1569,1760,1824,1589,1653,1552,1544,1438,1752,2148,1608,1504,1672,1695,1644,1472,1508,1588,1456,1491,1686,1767,2612,2165,1500,1499,1592,1521,1506,1803,2150,1843,1566,1739,1695,1446,1350,1396,1302,1465,1687,1739,1650,1649,1690,1637,1686,1666,1678,1388,1554,2199,2646,2491,2414,1941,1537,1548,1341,1239,1588,1767,1551,1826,2595,2522,1728,1405,1523,1929,2078,2009,1858,1656,1539,1333,1510,1651,1615,2041,2048,1945,2238,1836,1562,1783,2124,1892,1732,1918,2275,1649,1510,1490,1386,1580,1549,1461,1507,1655,1772,1924,1908,2092,2154,2117,1930,1793,1857,1549,1394,1572,1596,1489,1563,1747,2063,2732,3709,2758,1834,1452,1458,2041,2397,2031,1873,1975,1875,1655,1780,1877,1682,1640,1561,1757,2056,1965,2396,2642,2322,2215,2371,2251,2024,1979,2277,2194,2718,3414,2754,1858,1714,1739,1734,1582,1617,1937,2080,2231,2609,3169,2469,1631,1456,1951,2053,1806,1876,2370,2543,2160,1800,2067,1559,1271,1890,1938,1946,1814,1571,1944,2002,1802,1630,1589,1947,1757,1709,1747,1604,1541,1461,1577,1668,1464,1300,1462,1850,1933,1687,1525,1484,1899,2032,1592,1664,1611,1456,1424,1908,2565,2246,1569,1523,1591,1880,1643,1613,1927,2225,2030,2459,2861,2370,1775,1725,1847,2302,2149,2143,2259,1838,1619,2138,2094,1678,1556,1549,2329,3462,3102,3415,3139,2203,2293,2461,2306,2200,1906,1788,1813,2334,2670,3104,3710,3431,3340,3397,3132,3702,3778,2484,1929,2290,2608,2063,1536,1537,1451,1488,1864,1969,1614,1567,1418,1631,1677,1630,1570,1584,1608,1550,1550,1606,1643,1692,1861,1876,2393,2050,1761,1817,1604,1510,1689,1488,1452,1521,1402,1490,1416,1423,1566,2051,2231,1628,1475,1825,1888,2152,2179,1652,1791,2220,2199,1710,1295,1338,1638,2232,2310,2093,1885,2019,2056,1898,1899,1571,1492,1613,1743,1506,1772,1687,1504,1301,1530,1867,1513,1372,1562,1466,1421,1408,1499,1526,1624,1442,2131,2811,2398,1791,1894,1729,1604,1633,1895,1949,1919,1930,1947,1832,1953,2224,1962,1780,1819,1860,1796,1813,1831,1814,1699,1676,1659,1720,1560,1638,1542,1612,1878,1598,1666,1603,1326,1236,1271,1162,1260,1326,1198,1164,1359,1338,1282,1272,1289,1315,1408,1506,1357,1174,1261,1347,1362,1385,1293,1327,1232,1078,1137,1178,1416,1593,1490,1576,1521,1416,1338,1269,1275,1448,1567,1629,1790,1863,1784,2226,2680,3124,2775,2689,3011,2735,2351,3006,3294,2791,2935,3249,2641,3326,3836,3522,3332,3237,3187,3311,3162,2952,2674,2412,2445,2699,2853,2872,2625,2429,2957,2972,2932,3110,2900,2624,2743,3066,2744,2498,2901,2963,2828,2410,2197,2798,2861,3121,3308,3039,2764,2556,2585,2588,2554,2491,2743,2691,2524,2504,2436,2585,2878,2951,3062,3013,2753,2447,2341,2557,2551,2742,2192,1606,1584,1488,1396,1408,1496,1600,1513,1693,1589,1545,1468,1410,1396,1464,1362,1272,1289,1334,1315,1303,1305,1414,1535,1543,1528,1694,1672,1831,1556,1316,2121,2491,2270,1858,1897,2233,2334,2301,2477,2279,2139,2109,2810,3284,3063,2198,1749,1642,1569,1880,2257,2830,3032,2746,2631,2247,2000,1926,1880,1995,2722,3463,2644,1929,1615,1718,1853,1534,1584,1698,1490,1508,1528,1570,1477,1410,1914,2382,1676,1590,2031,2085,2235,2086,1437,1330,1544,1442,1484,1484,1924,2316,1748,1570,1789,1729,1648,1908,2404,2481,2351,2075,2519,3150,2963,2211,2452,2882,2450,2318,2218,2541,2475,2414,2030,1681,1721,1936,2396,2172,1859,1876,1687,1555,2193,2192,2237,2482,2143,1862,2092,2770,2792,2404,2290,2289,2100,2071,2201,2314,1866,1662,1569,1441,1702,1646,1534,2101,2362,1941,1766,1582,1582,1495,1652,1522,1532,1942,1962,1874,1626,1321,1512,1596,1563,1883,2106,1991,2030,1692,1663,1855,1942,1833,1819,1822,1795,1720,1807,1900,2292,2402,2176,1858,1822,2155,1820,1442,1674,2034,2247,2040,1742,1683,1890,2393,2654,2474,2324,2519,2254,1858,1892,1836,1785,1675,1377,1435,1809,1992,2569,2332,2377,3024,3199,2767,1841,1667,1952,2285,2442,1913,1867,1799,1588,1904,2254,2230,1810,1881,1666,1921,2174,1964,1843,2397,3312,3685,3350,2962,2218,1681,2035,2532,2296,2107,2228,2258,2310,2534,2118,2570,2020,2032,2091,1728,1517,2461,3420,3016,2273,2067,2584,2626,2475,2458,1956,2054,1872,1439,1322,1510,1649,1672,1979,2595,2902,2014,1173,1490,1760,1394,1393,1600,1736,1754,2264,2350,1941,2161,1915,1909,2125,2318,2347,2420,2140,1784,1501,1563,1722,1698,1520,1613,2069,2047,2314,2322,2740,2413,2523,2259,1830,1684,1483,1435,1520,1614,1638,1968,3197,3274,2451,2510,2054,2017,2348,2436,1992,1434,1588,1704,1738,1764,2620,3219,2643,2243,2404,2390,2599,3168,3061,2372,2475,2212,1770,1739,1213,1516,1597,1656,1752,1835,2440,3198,3218,2956,2234,1743,1602,1286,1246,1433,1342,1400,1499,1581,1571,1443,1403,1647,1780,1574,1490,1216,1264,1345,1369,1416,1543,1767,1712,1802,1724,1369,1547,1842,1840,1927,2197,2741,2710,2482,2347,2349,2238,2062,1998,1653,1378,1535,1603,1404,1604,1484,1371,1539,1566,1554,1948,1790,1561,1638,1511,1537,1543,1669,1869,2242,2045,2463,2835,2861,2445,2796,3536,3582,3421,3605,3220,2313,1659,1814,1420,1381,1496,1428,1263,1600,1649,1379,1486,1612,1625,1766,2051,1996,1775,1939,1654,1336,1554,1792,1919,1889,1949,1715,1692,1663,1990,3221,3707,3195,3559,3174,2199,2081,1582,1435,1831,2060,2043,1938,1985,2268,2197,1743,1465,1903,2343,2400,2272,2018,1717,1438,1608,2025,2109,2504,2849,2447,2225,2026,1928,1827,1725,1730,1712,1769,1663,1933,1881,1630,1688,1708,1512,1696,1941,2369,3082,3521,3765,3564,3083,2868,3064,3387,3608,3518,3163,2872,2481,2390,3016,3894,4197,3982,3460,3193,3482,3383,3277,3426,3912,3746,3633,3780,2753,1807,2098,3032,2885,2491,2457,3300,3317,3044,2950,2503,1981,1503,1547,1700,1986,1779,1511,1555,1870,2214,2057,2105,1388,1144,1394,1474,1525,1498,1526,1444,1487,1461,1533,1771,1794,1784,1865,1731,1539,1499,1614,1849,1887,1672,1500,1610,1876,1786,1582,1640,1421,1437,1780,1815,1946,1835,1737,2357,2040,1762,1957,2240,2019,2107,1840,2361,2596,1867,1528,1600,1528,1636,1875,1783,1545,1758,1599,1570,1910,2093,2480,2502,1965,1876,2177,1999,1644,1720,1710,2130,2160,2270,2588,2885,2396,1678,1762,2068,1977,1781,2076,2099,2526,2731,2683,2294,1900,1629,1609,1804,2016,2587,3664,4236,4496,4235,3649,3306,2822,2543,2171,2282,2482,2602,2775,2492,2387,2415,1913,2330,3068,2990,2276,1562,1560,1847,1590,1770,2179,2049,2144,2453,2424,2917,3589,2667,2107,2117,2527,2626,2063,1924,2314,2862,3227,3416,3326,3350,3473,3549,3378,3625,2942,2564,2891,2336,2236,2690,2785,2774,2906,2664,2308,2105,2242,2666,2875,2828,3298,3241,2756,2800,2809,2612,2499,2787,2823,2462,2468,2439,2113,2168,2543,2654,2812,2721,2435,1855,1991,2145,2620,3499,3425,3432,3682,3232,2871,2902,2969,2952,2539,2834,2996,3503,3485,3886,3575,2640,1984,2315,2347,1876,1904,2197,2662,2216,2070,2113,2409,2281,2778,2766,2654,3174,3394,3006,2263,2108,2808,2209,2064,2259,2823,2720,2742,2889,2711,2605,2675,2798,2602,2436,2648,2669,2607,2413,2586,2275],[2821,2514,2658,3073,1763,1073,2194,3119,3232,3188,3259,3388,3464,3432,3298,3328,3409,3340,3200,3211,3206,3371,3354,3230,3143,3076,3020,2690,2569,2900,3001,3106,3204,3451,3205,3183,3387,3240,3078,2933,3304,3499,3251,3383,3558,3384,3164,3120,3250,3475,3782,3703,3432,3176,3145,3061,3051,3465,3417,3027,2880,3384,3339,3328,3790,3688,3146,2943,3024,2876,3351,3409,3842,3808,3504,3674,3504,3288,3194,2916,2610,2399,2076,1667,2297,2837,2857,2417,1827,1907,2386,2674,2814,3067,2666,1695,1748,2320,2386,2118,2314,2144,2448,3086,3381,2944,2170,2050,2252,2226,2322,2649,2702,2524,3022,2545,2364,2864,2569,2330,1992,1437,1386,1991,2764,2768,2438,2280,1854,1857,1780,1885,2123,2521,2099,2040,2589,3228,3898,4343,4681,4480,3538,3390,4047,3981,3474,3252,3797,3992,3671,3808,4099,4295,4229,4057,3688,3803,3809,3875,4049,4079,3983,3774,3606,3552,3472,3608,3926,4147,3880,3037,2942,2913,2866,2876,2806,2885,2581,2042,2038,2226,2588,3012,2640,2653,2805,3354,3830,3680,3154,3469,3785,2536,1564,1484,1465,1961,2182,1854,1893,1768,1786,2211,2189,2254,2034,1967,2004,2422,2955,2579,2557,2474,3107,3432,2298,2127,2385,2137,1916,2163,2212,1753,1571,1392,1387,1444,1345,1404,1472,1686,1924,2538,2619,2302,1903,1924,1985,1418,1404,1360,1245,1344,1584,1475,1525,1658,1754,1527,1506,1828,2014,2016,1629,1820,1891,1499,1219,1373,1297,1428,1438,1638,1756,1830,2046,1895,1660,1362,1269,1423,1616,1524,1639,1455,1792,1858,1550,1324,1312,1345,1404,1310,1428,1460,1454,1494,1687,1552,1560,1531,1361,1356,1371,1398,1400,1555,1521,1258,1454,1715,2041,1792,1388,1260,1931,2277,2490,2588,1858,1478,1697,1583,1755,1961,1533,1918,3044,3519,2156,1425,1416,1281,1528,1832,1998,2190,2482,2444,2445,2552,2062,1772,1629,1695,1865,1566,1627,1869,1878,1970,1584,1819,1837,1487,1416,1439,1461,1945,2415,2015,1542,1457,1591,1415,1281,1134,1247,1365,1464,1623,1474,1281,1414,1621,1499,1367,1351,1510,1721,1826,2533,2075,1356,1001,1105,1345,1484,1875,2612,2387,2269,2508,3212,3159,3780,3470,2651,1511,1049,1677,2014,1692,1599,1738,1996,2674,2763,2121,1533,1709,1620,1630,1766,1693,1434,1718,2160,2149,2499,1868,1805,1780,1696,1637,1866,1578,2386,2515,1793,1876,1777,1676,1568,1536,1708,1812,1673,1943,1893,2415,3160,2305,1568,1470,1375,1512,2015,2199,2504,1975,1699,1700,1621,1415,1306,1295,1254,1442,1695,1660,1805,1982,1542,1591,1755,1621,1698,1511,1473,1762,2271,2622,2599,2413,1884,1764,1592,1396,1526,1440,1383,1623,2348,2223,1613,1473,1563,2037,2184,1909,1814,1489,1424,1502,1669,1681,1642,2357,2581,2318,2158,1763,1777,1560,1542,1397,1572,1553,1901,1869,1944,1616,1428,1481,1461,1604,1460,1744,2242,2093,1684,1765,1766,1785,1888,1975,2026,1860,1650,1588,1392,1501,1502,1372,1529,2962,3795,3105,1959,1603,1757,2525,2660,2066,1920,2019,2047,2110,2345,2366,2024,1929,2045,1945,1892,2036,2106,1936,1885,2054,2088,1901,2119,2107,1814,1756,2455,3278,3161,2270,1737,1895,1910,1841,2049,2476,2309,2288,2293,1969,1563,1429,1509,2402,2689,1881,2258,2475,2494,1872,1974,2088,2010,1919,1779,1776,1794,1728,1852,1840,1873,2080,2067,1761,1780,1730,1710,1535,1471,1382,1399,1591,1562,1270,1270,1495,1802,1729,1407,1330,1426,2394,2744,1886,1788,1836,1435,1493,2156,3285,2853,1806,1627,1958,2037,1810,1684,2258,2459,2031,2167,2522,2351,1669,1580,1649,2115,1970,1494,1562,1506,1279,1483,1735,1620,1859,2375,2845,3790,3251,3816,3533,2226,2617,2890,2545,1996,1813,1800,1901,2365,2546,3275,3699,3603,3873,3374,3084,3583,3253,2343,1996,2505,3003,2259,1643,1489,1491,1659,1690,1952,1641,1521,1483,1541,1649,1815,1762,1560,1570,1577,1476,1523,1629,1868,1594,1546,1996,1805,1454,1432,1369,1399,1707,2250,2256,1494,1372,1442,1421,1365,1400,2006,2049,1614,1519,1577,1757,1811,1937,1684,1793,2176,2360,1625,1342,1482,1987,2293,1994,1838,1736,1957,2183,1903,1591,1399,1316,1516,1486,1298,1422,1584,1548,1552,1843,1804,1332,1552,1754,1679,1500,1579,1634,1433,1380,1514,1697,2008,2010,1675,1948,2181,2027,1761,1889,1615,1487,1852,1776,1540,2131,2341,1693,1713,1513,1638,1626,1838,1775,1704,1788,1803,1791,1782,1731,1763,1643,1542,1703,1593,1688,1659,1477,1465,1379,1278,1270,1252,1141,1189,1289,1114,1225,1201,1288,1267,1278,1377,1478,1526,1601,1290,1225,1209,1178,1257,1303,1265,1382,1306,1582,1990,1632,1460,1443,1322,1355,1426,1461,1523,1527,1741,1981,2037,1817,2627,3142,3161,2768,2692,3232,3006,2535,3396,3585,3010,2896,2897,2600,3068,3178,2843,2894,3175,3334,3066,2724,3031,2646,2414,2299,2520,2703,2806,2612,2411,2649,2752,2848,3106,3013,2703,2438,2601,2186,2063,2513,2688,2335,2042,2437,2846,2909,3232,3388,2953,2978,2935,2936,2828,2722,2867,3169,3083,2655,2508,2575,2722,2874,2789,2939,2918,2731,2482,2206,2002,2220,2379,1839,1544,1788,1629,1467,1526,1557,1611,1657,1758,1521,1493,1433,1395,1441,1572,1490,1299,1303,1365,1275,1216,1250,1300,1538,1476,1383,1394,1448,1522,1475,1814,2679,2941,2208,1538,1745,1904,2456,2186,2269,2222,1967,2171,2862,3310,2496,1620,1493,1550,1476,1597,2106,2496,2429,2299,2276,2054,2139,2200,2071,2138,2525,2809,1545,1554,1498,1477,1851,1412,1470,1520,1344,1533,1660,1677,1858,2099,2480,2339,1627,1709,1851,1640,2115,2029,1425,1525,1580,1536,1719,1508,1691,2259,2513,1823,1645,1584,1463,1980,2364,2523,2467,2579,2993,2979,2663,1764,1766,2459,2345,2353,2431,2556,2305,2088,1919,2203,2349,1928,1832,1564,1747,2059,1548,1489,1934,1574,2264,2685,2471,2342,2388,2718,2445,2007,2316,2811,2271,1902,1917,1651,2140,2955,2489,1875,2263,1959,1592,1942,2137,1614,1707,1443,1484,1465,1433,1346,1497,1785,1745,1826,2048,1852,1840,1748,1790,2005,2295,2363,1882,1510,1575,1612,1618,1743,1805,1664,1781,1938,1765,1505,2178,2089,2180,1950,1714,1879,1687,1619,1903,1919,2198,2210,2093,1963,2062,2486,2442,2145,1969,2099,2036,1825,1823,1750,1674,1716,1470,2294,2474,2304,2328,2215,2346,2159,2330,2476,1874,1844,1627,1920,2356,2600,2469,2156,1989,2075,2383,2153,1901,2104,2089,2485,2401,1898,1766,1828,2344,2966,2912,2547,2385,2179,2032,2095,2245,2544,2360,2237,2275,2310,1771,2100,1813,1917,2046,1699,1498,1985,2501,2630,2310,2068,2097,1871,2004,2199,1910,1579,1541,1526,1404,1400,1548,2055,2286,2962,3283,2349,1754,2219,2101,1703,1584,1623,1488,1450,1653,1804,1966,2376,2273,1931,1874,2053,2473,3118,3000,2048,1654,1920,1734,1847,1801,1875,2275,2499,2759,2770,2562,2330,2284,2138,2247,2043,1571,1734,1883,2229,2170,1663,2435,2558,2076,2246,2437,2264,2241,2357,2259,1608,1496,1571,1793,1624,2294,3272,2834,2128,2158,2198,2389,3007,3160,1916,2297,2264,1775,1510,1380,1594,1688,1714,1820,1846,2528,3344,2858,2867,1918,1627,1403,1393,1388,1432,1482,1504,1497,1455,1225,1217,1458,1813,1934,1374,1164,1228,1376,1411,1401,1509,1627,1712,1887,2055,1883,1539,1737,1961,1760,1594,2293,2662,2425,2463,2541,2813,2769,2566,2327,1658,1402,1862,1917,1549,1504,1333,1490,1982,1999,1688,1663,1611,1692,1734,1475,1611,1624,1545,1791,2257,2331,2420,2510,2228,1935,2184,2884,3441,3205,3457,3205,2780,1860,1583,1337,1553,1655,1392,1484,1738,1849,1653,1824,1739,1577,1887,1973,1656,1671,1747,1580,1467,1388,1604,1853,1629,1719,1736,1497,1488,1982,2486,2652,2830,2864,2124,1714,1892,1735,1580,1615,1896,1627,1636,1845,2013,1830,1556,2067,2730,2510,2373,2018,1898,2053,1809,1885,1899,1913,2375,2855,2602,2087,1910,1518,1440,1612,1623,1712,1748,1528,1830,1785,1556,1615,1524,1439,1602,1611,1979,2080,3081,3498,3165,2805,2843,3353,3690,3961,3740,2848,2319,2586,2408,2928,3558,3491,3094,2569,2447,2781,2658,2504,3031,3475,3343,3692,3147,1958,1643,2041,2490,2406,2137,2469,3118,2921,2598,2546,2719,2724,1959,1734,1687,1621,1561,1622,1504,1954,2136,2414,2086,1134,1226,1538,1597,1429,1499,1499,1406,1387,1461,1443,1618,1905,2079,1942,1724,1614,1481,1657,1652,1849,1567,1545,1609,1833,1628,1626,1561,1369,1574,1617,1455,1560,1651,1872,2324,1898,1852,1862,2018,1845,2162,2348,2205,2199,1732,1465,1686,1955,1746,2015,1794,1608,1602,1398,1442,1662,2326,3245,3185,2058,1810,1978,1778,1587,1541,1615,2149,2830,3011,2571,2165,2012,1685,1659,1915,1896,1878,1778,1778,2297,2462,2418,2388,2222,1958,1778,1797,1988,2482,3640,3957,3859,3657,3098,2241,1777,2051,2568,3529,3586,3094,2939,2668,2481,2307,2083,2676,2822,2453,2229,1908,1904,2348,2095,2136,2298,2069,2247,2285,3211,3333,3078,2700,2852,3086,3095,2707,2380,2077,2040,2897,2929,3356,3216,3098,2867,2808,2920,3404,3297,2599,2242,2007,2721,3234,3090,2698,2386,1998,1936,2128,2296,2657,2819,2710,3043,2998,2721,2698,2548,2670,3030,2917,2387,2186,2297,2580,2720,2235,2031,2369,2792,2797,3360,2730,2533,2648,2824,3190,3321,3254,2845,2693,3067,3119,3307,3222,2506,2841,3180,3637,3560,3803,3625,2393,1907,2024,2151,2109,2431,2584,2592,2218,2078,2450,2649,2719,3035,2947,3075,3250,3264,3130,2203,2107,3289,3060,2366,2184,2498,2280,2099,2254,2324,2300,2429,2450,2514,2499,2547,2647,3141,2398,2455,2413],[2322,2315,2548,3060,2556,1362,1396,2668,3127,2986,3087,3173,3376,3292,3184,3362,3430,3561,3496,3339,3266,3151,3250,3292,3164,3020,3194,3118,2978,3012,2998,3108,3140,3196,3107,2933,2978,3593,3576,3194,3759,3996,3650,3558,3506,3460,3339,3207,3326,3498,3550,3681,3520,3216,3470,3501,3276,3472,3463,3089,3107,3658,3750,3709,3780,3986,3683,3515,3952,3698,3019,3506,3871,3719,3872,4171,3782,3420,3090,2744,2457,2398,1975,2008,2578,3206,3322,2885,2035,1655,2241,3212,3814,3964,2798,2131,2623,2896,2714,2134,1859,2181,2633,2370,2303,2302,2303,2329,2569,2285,2216,2637,2708,2757,2671,2254,2957,3964,3531,3037,2615,1791,1903,2372,2544,2321,2461,2568,2231,2302,2277,1783,2056,2279,1820,2178,2949,3198,3874,4177,4412,4339,3889,3680,3895,4104,3740,3349,3461,3623,3851,4115,4129,4543,4179,3409,3110,3485,3952,4135,4091,4116,4181,4147,4056,3961,4244,4328,4365,4197,4077,3464,3558,3416,3121,3243,3476,3295,2466,1882,1827,2150,2588,2853,2734,2375,2592,3263,3656,3614,3295,2853,2769,2362,1918,1637,1810,2027,1693,1722,1768,1677,1720,2348,2564,2416,1990,1550,1622,2162,2360,1808,1938,2835,3748,3417,2246,2155,2294,1749,1508,1842,1819,1664,1593,1520,1440,1499,1414,1450,1711,1838,1884,2349,2501,2314,2470,2742,2546,2264,1933,1513,1686,1759,1648,1585,1520,1559,1588,1493,1790,2019,1919,2050,1988,1972,1583,1404,1408,1544,1354,1275,1120,1315,1561,1691,2047,1917,1799,1810,1902,1687,1499,1252,1052,1483,2078,2162,1826,1554,1666,1731,1730,1404,1350,1411,1528,1528,1616,1787,1804,1646,1581,1665,1642,1537,1501,1597,1792,1732,1760,1868,2365,2072,1584,1741,2247,2436,2314,1959,1629,1936,1941,1601,1495,1790,1489,1921,3687,3771,2112,1382,1403,1404,1623,1780,2121,2204,2358,2207,1907,1896,1710,1748,1705,1888,1901,1469,1538,1749,1644,1635,1854,2064,1787,1409,1367,1676,1848,2220,2354,1744,1460,1397,1672,1536,1338,1205,1416,1379,1313,1513,1617,1621,1606,1520,1388,1490,1412,1383,1483,1568,1771,1568,1261,1078,1232,1648,2064,1720,2259,2364,2115,2915,3274,2806,3112,3376,2614,1632,1094,1362,1866,1487,1620,1561,1608,1732,1952,2241,2066,2173,2214,2305,2008,1531,1502,1970,1975,1797,2282,1631,1663,1576,1508,1544,1669,1738,2391,2164,1557,1606,1765,1509,1594,1821,1988,1902,1632,1560,1491,2065,2330,1848,1510,1476,1444,1540,1858,2180,2798,2272,2220,2116,1665,1528,1604,1651,1479,1343,1335,1453,1644,1973,1531,1606,1548,1415,1425,1443,1434,1473,1897,2398,2700,2832,2557,1894,1590,1372,1400,1391,1318,1819,2452,2214,1832,1745,1539,1966,2245,2055,1776,1626,1355,1470,1840,1641,1801,2496,2288,1787,1627,1619,1984,1638,1524,1434,1650,1853,1758,1892,2164,1725,1630,1623,1561,1766,1520,1729,1992,1707,1673,1535,1508,1714,1562,1711,1862,1942,2018,1920,1808,1677,1418,1461,1732,3196,4220,2941,1576,1642,1950,2757,2545,1522,1654,1955,2142,2196,2420,2321,1836,1659,1928,1956,1538,1904,2060,1933,2131,2020,1865,1842,2418,2355,1710,1790,2269,2645,2774,1935,2095,2065,2195,2409,2360,1985,2090,2032,1674,1451,1638,2083,2075,1701,1871,2196,2408,2389,2525,1953,2122,1939,1670,1533,1539,1697,1659,1606,1697,1656,1670,1885,2082,1687,1442,1512,1526,1405,1312,1467,1617,1581,1754,1684,1467,1643,1755,1652,1622,1623,1605,1983,2081,1816,1652,1532,1513,1526,1788,2656,2658,2286,2366,2404,1842,1627,1616,1721,1619,1690,1941,1881,1897,1647,1568,1676,1872,1717,1708,1903,1654,1635,1935,2128,1896,1911,2696,3325,3713,3469,4029,3184,2219,2853,3081,2631,2104,1803,1884,2008,2307,2734,3074,3085,3403,3798,3566,3282,3128,2508,1892,1625,1910,2150,1813,1520,1466,1516,1788,1920,2340,2312,1950,1634,1505,1681,1926,1955,1526,1360,1614,1656,1620,1838,1711,1307,1407,1652,1589,1461,1553,1691,1426,1557,1763,1948,1592,1396,1350,1445,1388,1450,1560,1606,1493,1368,1497,2020,2000,2024,1830,1930,2402,2258,1714,1654,1584,1686,1714,1532,1414,1615,1714,1866,1454,1335,1444,1505,1550,1478,1457,1555,1773,1798,1733,1792,1301,1135,1673,1778,1561,1437,1703,1791,1515,1449,1437,1583,1886,2063,1602,1841,2177,1857,2226,2444,1830,1873,2001,1577,1725,1847,1688,1634,1564,1437,1437,1569,1837,1581,1447,1565,1619,1582,1448,1528,1669,1838,1822,1871,1784,1801,1887,1930,1799,1718,1678,1558,1505,1394,1321,1353,1168,1280,1288,1366,1308,1199,1286,1465,2058,2093,1268,1159,1274,1529,1484,1429,1322,1457,1294,1555,2052,1841,1644,1634,1587,1329,1468,1459,1409,1461,1856,2070,2236,2340,2568,2579,2751,2708,2451,2945,3073,2894,3404,3526,3208,3087,2966,2958,2984,3052,3188,3217,3362,3334,2796,2593,3196,2808,2269,2329,2482,2687,2907,2502,1878,2045,2509,2675,3130,3029,2709,2834,3076,2457,2256,2525,2623,2586,2624,2532,2558,3116,3303,2868,2226,2745,2958,2790,2707,3072,3526,3244,3072,2831,2562,2722,2754,2624,2630,2872,3065,2939,2535,2104,2272,2341,2070,1884,1732,1679,1412,1498,1592,1522,1438,1749,1543,1468,1483,1476,1376,1317,1383,1371,1296,1322,1348,1286,1380,1359,1400,1610,1404,1252,1568,1783,1720,1480,1744,2719,2658,1930,1942,1993,1883,2676,2128,1920,2330,2177,2183,2663,2699,1893,1838,1726,1807,1666,1311,1580,1819,2158,2544,2392,2054,2112,2182,2062,2212,1844,1694,1489,1589,1594,1435,1351,1381,1751,1711,1586,1794,1924,2890,3283,3362,3475,2653,1861,1918,2164,2369,2957,2719,2025,1949,1607,1710,1944,1632,1655,1764,2036,2071,1635,1622,1783,1926,2502,2735,1917,1957,1847,1903,2322,2436,2213,2439,2349,2500,2652,2546,2126,1616,1537,1776,2134,1732,1481,1545,1864,2182,2326,1885,1699,1556,1590,1980,2188,2289,2168,2302,2820,2846,2932,2790,2073,1720,1781,1561,2078,2658,1953,1810,1972,1764,1632,2310,2161,1632,1544,1414,1538,1478,1466,1492,1702,2046,1477,1374,1939,1940,1990,1965,1916,1996,2740,2920,1951,1422,1392,1268,1407,1697,1689,1519,1645,1729,1677,1596,1631,1615,1846,1966,1803,1520,1311,1576,1926,1955,2135,1936,2185,2385,2441,2666,2599,2298,2099,1936,1908,2203,2172,1725,1790,1549,1589,2555,2429,2108,2116,2205,2362,2298,2364,2114,2197,2439,1877,2229,2475,3047,2561,1851,1898,1963,2036,1958,2093,1902,2483,2591,2258,1700,1658,1642,2162,2675,2596,2243,1811,1940,2298,1832,1931,2531,2152,2348,2653,2230,1906,2182,1873,2065,2836,2801,2176,2154,2765,2535,1947,1782,1835,1750,1726,1888,1815,1636,1648,1897,1654,1793,1816,2154,1802,2464,3818,2946,2217,2391,2003,1654,1650,1534,1554,2159,2341,2046,2162,2316,2401,2000,1973,2276,2575,2784,2642,2481,2131,1904,1839,2300,2099,1867,1882,2178,2301,2194,2100,2170,2029,1865,2185,1709,1714,1990,2390,2346,2169,1891,1797,1725,1599,2459,3359,2734,2512,2276,2530,1938,1896,2154,2095,1696,2133,3206,2953,2185,2230,2260,2382,3006,3305,2408,2546,2304,1859,1737,1947,2220,2152,2020,1834,1819,2146,3210,3624,3223,2029,1572,1440,1635,1666,1476,1522,1534,1542,1332,1065,1307,1566,1769,1579,1266,1285,1383,1505,1579,1627,1820,1942,2144,2014,1903,1685,1611,1994,1718,1538,1679,2421,2658,2538,2592,2698,3099,3804,3850,3725,3154,2491,2192,1994,1730,1690,1562,1595,2116,2501,2698,2143,1663,1903,1866,1763,1692,1752,1838,1852,1992,2082,2191,2448,2399,2384,2026,2498,3365,3442,3033,2372,1953,1548,1343,1254,1379,1366,1162,1505,1753,1909,2189,1892,1533,1641,1720,1615,1604,1662,1621,1662,1584,1453,1476,1614,1669,1968,2001,1448,1299,2001,2336,2474,3404,3374,2604,1638,1506,1592,1718,2027,2120,1876,1656,1653,2039,2035,2116,2702,2520,2644,2142,1680,1936,1899,1973,1925,1615,1535,1958,2648,2559,2084,2251,1693,1578,1905,1980,1694,1584,1683,1656,1461,1586,1554,1429,1525,1520,1745,2352,1851,2713,3075,2919,3241,3717,3862,4036,4211,3928,3488,2789,2367,2250,2930,2769,2247,2006,1969,1786,1636,1926,2315,2842,3119,3225,3255,2524,1797,1672,1784,1859,2030,2214,2770,3233,2976,2827,3085,3049,3250,2195,1731,1652,1592,1644,1554,1584,1788,1930,1997,1121,1096,1383,1634,1923,1721,1601,1622,1551,1521,1544,1605,1794,1974,1949,1822,1788,1763,1481,1545,1886,1764,1454,1424,1690,1850,1546,1443,1566,1624,1847,1964,1488,1382,1323,1738,2270,2585,2364,2216,2182,1790,2381,2907,2457,1746,1610,1471,1793,2070,1747,1599,1707,1784,1556,1557,1660,1666,1830,2166,2515,2031,1950,1927,1751,1916,2150,1929,1960,2529,2943,2544,1744,1672,1533,1547,1996,2015,1847,1806,1831,1869,2202,2540,2539,2388,2140,2112,2125,2147,2332,3319,3628,3480,3019,2329,1476,1122,1466,2191,3396,4100,4083,3626,2669,2566,2375,1748,1757,2308,2429,2209,2188,2284,2856,2327,2025,1966,2235,2259,2376,2874,2684,2126,2334,2854,3028,2867,2786,2812,2698,1953,2163,2429,2840,2851,2764,2885,2872,2863,3480,3641,2741,2290,1960,2632,2780,2472,2267,2104,1910,1840,1954,1957,2469,2938,2602,2831,2675,2507,2220,1965,2200,2584,2344,1748,2026,2424,2622,2756,2077,2517,3067,3122,2740,3650,3374,2920,3050,2954,2868,2613,2175,1741,2235,3090,3001,3085,3244,2413,2929,4040,3918,3378,3530,3231,2670,2312,1925,2157,2145,2081,2076,2168,1839,1593,2414,2821,2408,2700,2940,2766,2621,2644,2700,2223,2008,3016,3661,2629,2322,2865,2379,1681,1970,2073,1700,1903,2086,2711,2706,2609,2575,2420,2280,2729,2476],[2421,2600,2553,2765,3146,2391,1869,3024,3188,2974,2911,2833,3084,3015,2983,3250,3363,3426,3444,3425,3415,3263,3141,2999,2928,2888,3096,3239,3142,3120,3068,3034,2978,2894,2936,2975,3191,3783,3768,3630,3915,3763,3620,3647,3373,3204,3377,3400,3373,3427,3548,3560,3281,3423,3585,3704,3697,3531,3181,3109,3598,3934,3898,3728,3596,4312,4465,4505,4351,3842,3311,3746,4120,4143,4352,4072,3183,2712,2835,3381,3094,2895,2383,2281,2562,3124,3210,2686,1942,1642,2045,2188,2487,3429,2687,2419,2360,2758,2855,2231,1707,2205,2378,2195,2368,2250,2286,2588,2674,2568,2196,2510,2667,2894,3264,2962,3249,4187,4189,3500,2771,2311,1996,1901,2376,2587,2639,2564,2734,3030,2620,1738,1911,2314,2125,2655,3018,3096,3834,3638,3768,3919,3978,3828,3693,3794,3824,3537,3531,3461,3538,3649,3996,4226,3454,2697,2885,3231,3528,4043,4073,4152,4272,4310,4332,4239,4365,3861,3632,3658,3850,3573,3428,3362,3363,3479,3623,3404,2563,2419,2621,2534,2529,1958,2483,2791,3038,3776,3747,3443,3397,2570,2452,2162,2038,1685,1780,1771,1789,2070,1831,1597,1956,2119,1769,1907,1936,2064,2172,1996,1758,1552,2034,3758,4409,3228,2178,2633,2603,1908,1786,1972,1503,1533,1442,1482,1465,1633,1638,1606,1768,1834,1757,1945,1935,2208,3011,3163,2387,2342,2167,1676,1727,1978,2106,1830,1505,1506,1520,1537,1965,1728,1463,1593,1989,2040,1644,1308,1385,1574,1439,1252,1363,1566,1799,1943,2049,1843,1780,1803,1815,1748,1633,1407,1275,1473,1667,1443,1509,1585,1638,1510,1562,1449,1672,1665,1470,1909,2557,2440,1903,1675,1737,1892,1761,1538,1686,1679,2003,2130,2039,2051,2187,2107,1735,1554,2219,2491,1913,1492,2019,2145,1868,1335,1432,1797,1959,2662,3450,3037,1846,1400,1344,1448,1619,1741,2161,2200,2232,2338,2237,1743,1376,1458,1547,1426,1343,1468,1620,1636,1716,1923,1768,1772,1802,1535,1288,1437,1444,1806,1873,1386,1300,1341,1392,1462,1372,1383,1479,1459,1685,1821,1773,1536,1363,1332,1555,1517,1374,978,915,1157,1273,1384,1250,1388,1643,1375,1562,1448,1918,2355,2566,3084,3001,2425,2798,3312,3129,2845,2021,2211,2574,1837,1693,1732,1637,1374,1726,2230,2349,2380,2508,2156,1742,1590,1461,1634,1590,1493,1803,1673,1591,1823,1858,1543,1352,1754,2509,2480,2082,2053,1804,2053,1885,1597,1731,1680,1597,1571,1462,1576,1826,1644,1500,1516,1556,2030,2116,2177,2249,2025,2311,2234,1885,1808,1947,1865,1738,1688,1739,1665,1633,1790,1598,1641,1521,1348,1411,1483,1482,1600,1906,2297,2257,2554,3031,2081,1424,1352,1489,1470,1534,2070,2279,1731,1474,1741,1965,2024,1963,1992,1632,1466,1324,1746,2095,1599,1897,2263,1673,1616,1723,1532,1404,1543,1609,1653,1802,1891,1619,1556,1565,1265,1373,1427,1648,1692,1750,1728,1494,1423,1554,1384,1380,1616,1446,1476,1604,1830,1948,2021,2020,1937,1805,1627,2348,3739,3907,2318,1626,1591,1905,2659,2404,1691,2100,2417,2071,1783,1908,1728,1549,1671,2117,2327,1402,1460,1717,1715,1708,1644,1812,1676,2070,2196,1876,1790,1655,1748,2120,1926,2187,2119,2260,2074,2314,2130,1804,1575,1428,1571,2103,2680,2556,2045,2256,2498,2370,2593,2707,2310,1958,1736,1449,1408,1790,1686,1426,1542,1857,1714,1500,1820,2151,1692,1484,1494,1376,1260,1312,1638,1406,1583,2172,2341,1653,1805,1749,2034,2164,1897,2094,2062,1565,1489,1471,1484,1731,1550,1438,1903,2242,2015,2107,1927,1448,1534,1616,1709,1948,2374,2755,2589,1935,1552,1600,1838,1922,1913,2521,2612,1869,2094,2286,2524,2277,1989,2010,2934,3470,3364,3812,2784,1982,2879,3005,2624,2117,1803,1789,2054,2169,2591,2231,2023,2839,3298,2933,2709,2144,1775,1723,1645,1708,1707,1620,1549,1596,1510,1937,2255,2342,2764,3022,2159,1671,1725,1725,1823,1643,1725,2934,2332,1698,1951,1619,1868,2236,2017,1437,1375,1403,1699,1428,1444,1356,1467,1514,1460,1618,1626,1464,1655,1631,1514,1514,1351,1409,1541,1660,1970,1896,1865,2378,2630,2591,2325,1741,1759,1474,1616,1533,1705,1965,1955,1792,1724,1547,1499,1421,1404,1484,1914,2454,2631,2055,1823,1530,1394,1548,1565,1953,2149,1716,1734,1376,1305,1296,1400,1626,1760,1537,1750,1715,1591,2401,2590,2087,2254,2160,2199,2671,1848,1428,1861,1453,1285,1282,1398,1614,1594,1488,1413,1386,1333,1174,1333,1596,1714,1765,1675,1518,1531,1672,1814,1863,1754,1792,1787,1679,1632,1661,1482,1248,1439,1401,1310,1370,1320,1268,1254,1284,1142,1225,1287,1412,1369,1290,1316,1267,1265,1155,1281,1693,2003,1902,1981,2165,1610,1432,1388,1428,1632,1632,1778,2320,2670,2608,2601,3169,3013,2867,2954,3062,3423,3720,3490,3079,3051,3052,3029,2878,2609,2598,2938,3515,3426,2456,2532,3094,2902,2779,2632,2481,2904,2919,2328,1787,1892,2333,2703,2664,2764,2664,2873,2784,2435,2626,2974,2951,2965,2910,2719,2817,3002,2821,2382,2182,2961,3124,2818,2790,3097,3069,2742,2950,2559,2122,2657,2830,2479,2405,2601,2851,2896,2954,2847,2891,2468,1736,1577,1598,1438,1479,1483,1430,1480,1528,1493,1543,1399,1250,1337,1321,1290,1362,1388,1360,1362,1249,1376,1378,1367,1482,1518,1260,1335,2156,2110,1656,1648,1809,2464,1881,1918,2294,2176,2200,2468,2027,1935,2170,1957,1812,2272,2610,2288,1954,1612,1635,1686,1730,1970,2114,2507,2631,2116,1720,1464,2221,2003,2133,1755,1354,1449,1628,1673,1633,1570,1653,1969,2316,2228,2113,2381,3116,2766,2673,2909,2331,1752,1744,2007,2491,2972,2109,1337,1637,1571,1581,2023,1841,1636,1426,1454,1481,1349,1604,1937,1832,1922,2226,1832,2587,2137,2194,2293,2565,2062,1764,2128,2477,2403,2249,2164,1968,1886,2181,2543,2517,2517,2155,1959,2315,2806,2273,1857,1743,1603,1781,2068,2238,2056,1988,2247,2758,2930,2349,1926,2060,1688,1530,2091,2103,2047,2092,1658,1605,1554,1688,1519,1509,1454,1469,1583,1594,1496,1395,1600,2024,1355,1720,1697,1598,1544,1596,1800,1787,2237,2517,1981,1507,1205,1318,1516,1702,1574,1534,1766,1815,1818,1755,1735,1660,1633,1613,1587,1342,1109,1234,1724,2163,2130,1734,2091,2385,2379,2491,2736,2509,2111,1803,1923,2050,1904,1688,1753,1407,1908,2422,2110,2184,2220,2211,2265,2155,2015,1918,1979,1771,2125,2788,2650,2241,1883,1546,1688,1902,1658,1506,1998,1797,2773,3066,2342,1749,1663,1821,2298,2874,2681,2012,1584,1872,2534,2327,1808,1465,2011,2577,2443,1907,2018,2255,1975,2254,2802,2962,2478,2027,2207,1977,1811,1697,1722,1714,1676,1705,2156,2333,2081,2093,1919,2100,1991,2035,1958,2031,2307,2103,2114,2156,2046,1944,1669,1813,2210,2155,1994,2021,2114,1769,1866,2300,2441,2535,2527,1846,2379,2844,2755,1920,1812,2129,1824,1709,2175,2143,1694,1710,1542,1910,2186,1954,2109,2125,2314,2163,2332,2100,2465,2376,1844,1639,1774,2751,3791,3069,2723,2786,2287,1767,1698,1835,2066,1692,1879,2846,3078,2420,2325,2462,2752,3245,3384,2954,2441,2050,1958,1956,2215,2815,2788,2476,1643,1784,2465,3386,3663,3262,2388,1735,1440,1491,1424,1213,1369,1736,1672,1459,1293,1456,1563,1606,1400,1227,1449,1724,1835,1788,1621,1656,1877,1930,1561,1440,1335,1538,1877,1615,1446,1751,2117,2314,2256,2362,2955,3392,4004,3885,3834,3168,2619,2009,1575,1928,2332,2080,1564,1630,1829,1917,1688,1937,1884,1727,1655,1636,1682,1779,1709,1532,1697,2188,2554,2375,2147,2225,2357,3084,3298,2451,1729,1728,1661,1489,1404,1346,1307,1687,1746,2021,2302,2398,1938,1657,1762,1587,1502,1643,1421,1486,1641,1647,1660,1652,1574,1654,1788,1676,1191,1408,2084,2173,2369,3329,3640,3398,2291,1723,1506,1645,1922,1857,1727,1714,2108,2555,2393,2553,2665,2152,2588,2204,1847,1683,1761,2109,1792,1642,1761,2136,2299,2278,2040,2060,2101,1896,2109,2309,2082,1836,1812,1752,1926,2476,2105,1814,2437,2259,2290,1909,2003,2669,3051,3068,3251,3707,4056,4056,3726,3712,3507,2861,1995,2180,2796,2530,2168,2093,1927,1665,1902,2458,2501,2856,3274,3354,2777,2327,2173,2181,2292,2131,1909,2271,3206,3718,3510,3176,2393,2225,2261,1808,1582,1527,1517,1514,1619,1908,1879,2048,2019,1321,1481,1405,1572,1741,1650,1432,1598,1636,1544,1452,1516,1793,1948,1880,1971,2076,1884,1734,1647,1594,1430,1477,1653,1734,1615,1434,1567,1897,1638,1757,1870,1629,1309,979,1595,2297,2322,1960,2287,2427,1962,2568,3248,2972,2249,1761,1338,1639,1962,1851,1599,1656,1648,1512,1664,1569,1518,1473,1713,2116,1968,1821,2002,2442,3076,3284,2454,1851,2098,2819,2522,1865,1678,1773,1680,1847,1831,1542,1618,1889,2066,2535,2674,2636,2399,1993,2387,2557,2254,2219,2573,2486,2273,2239,1735,1172,1467,2421,2707,3016,3602,2823,2499,2079,2223,2375,2128,1953,2322,2667,1950,2157,2614,2541,1950,2040,2184,2333,2171,2156,2258,2034,1954,2173,2571,2731,2437,2756,2751,2389,1603,1636,1997,2520,2969,2670,2876,3045,3044,3522,3682,2875,2457,2217,2284,2010,2185,2596,2516,1894,1876,2120,2166,2602,3042,2880,2769,2683,2713,2039,1979,2413,2636,2358,1581,1750,2342,2698,2834,2017,2341,2803,2514,2176,3024,3345,2889,2554,2264,2495,2386,2192,1802,2248,2273,1938,1979,2360,2157,2343,2964,2588,2408,2692,2718,2521,2197,2047,1963,1732,1667,1625,1694,1702,1655,2485,2687,1994,1971,2410,2388,2358,2366,2256,2177,2376,3172,3447,2554,2344,2723,2271,1553,2192,2325,2024,2178,2204,2453,2408,2289,2185,2075,2433,2608,2235],[2740,2991,2802,3042,3437,3348,3041,3320,3319,3197,3120,3026,3028,2931,2941,3042,3196,3333,3395,3422,3528,3318,3333,3182,2946,2916,2858,3011,3096,3038,3131,3204,3090,3012,2912,2841,3052,3133,3169,3369,3654,3647,3588,3430,3143,3047,3209,3326,3010,3248,3405,3394,3253,3513,3521,3431,3683,3818,3570,3603,3791,3829,4017,4220,4208,4340,4848,4652,3954,3861,3898,3954,4037,4122,4192,4117,3921,3039,2917,3733,3395,2607,2166,1970,1781,2082,2268,2053,1776,1629,1604,2048,2376,3174,3027,2719,2480,2986,3117,2169,1560,1936,2110,1945,2845,2824,2200,2501,2359,2086,2486,2831,3062,3142,3039,3485,3943,4156,4156,3454,2692,2408,2038,1913,2774,3251,3018,2606,2395,2801,2783,1883,2046,2500,2586,2997,2957,3381,3650,3487,3540,3527,3685,3941,3824,3834,3961,4057,4059,3558,3051,3253,3802,3787,3304,3320,3368,2787,2933,3459,3440,4036,4360,4516,4608,4432,4227,3372,3185,3493,3596,3442,3255,3128,3263,3453,3517,3414,3012,2931,3454,3165,2326,1731,2310,2996,3228,3898,4295,3990,3480,2699,2343,1772,1643,1548,1905,2031,2209,2322,1882,1923,2270,2149,1836,1619,1708,1951,2131,2059,1908,1687,2758,4149,4040,2762,2081,2363,2172,1816,1747,1794,1534,1514,1526,1378,1560,1899,1870,1713,1825,1835,1984,2082,2264,3019,3139,2579,1981,2128,1962,1599,1560,1704,1770,1802,1552,1529,1693,1890,1945,1477,1436,1726,1884,1855,1647,1417,1644,1908,1743,1588,1382,1559,1911,1964,1805,1386,1306,1622,1855,1780,1665,1677,1810,1798,1480,1361,1460,1786,1618,1269,1383,1456,1710,1494,1426,2205,2915,2578,1901,1730,1865,1898,1679,1868,1867,1799,2008,2011,1932,1963,2083,2030,1954,1975,2254,2028,1562,1988,2296,1929,1420,1212,1691,2138,2632,2994,3296,2974,1866,1530,1346,1509,1703,1897,2259,2310,2229,2302,2250,1613,1662,1420,1460,1277,1320,1521,1551,1691,1824,1914,1912,1731,1718,1504,1391,1638,1504,1520,1625,1359,1346,1226,1224,1306,1277,1394,1515,1638,2085,2222,1946,1313,1278,1384,1206,1241,1096,834,1144,1353,1411,1387,1372,1495,1557,1226,1256,1195,1606,2248,2922,2930,1844,1628,2754,3627,3748,3171,2707,2415,2107,1838,1622,1659,1661,1683,1927,1894,2005,2166,1902,1675,1699,1554,1256,1580,1590,1550,1784,1725,1749,2123,2278,2043,2060,2348,2425,2264,1881,2241,3341,3426,2099,2131,1543,1337,1781,2086,1567,1731,1849,1687,1588,1409,1558,3122,3554,3139,2602,2115,2432,2593,2394,1874,1824,1805,1847,1982,1978,1672,1566,1576,1550,1715,1619,1409,1484,1526,1522,1488,1610,1892,1497,1720,2242,2045,1636,1440,1433,1462,1802,1935,1693,1539,1536,1672,1954,1929,2399,2226,1501,1470,1580,1729,2094,1751,1682,1563,1551,1515,1687,1705,1710,1647,1735,2005,2052,1739,1538,1532,1345,1421,1460,1390,1568,1738,1817,1601,1560,1539,1643,1310,1115,1425,1406,1277,1705,2352,2335,2114,1818,1809,1982,1933,2014,2447,2404,1635,1498,1723,1983,2448,2677,2260,2202,2365,1997,1707,1570,1338,1470,1661,1736,1838,1471,1382,1534,1758,1521,1796,1973,1823,2058,2193,2037,1290,1311,1872,1984,2375,2056,1970,1888,1747,1959,2017,1785,1526,1798,2282,2566,2797,2746,2617,2480,2469,2397,2534,2646,2320,1915,1819,1927,1642,1831,1684,1681,1587,1494,1877,1737,1479,1469,1414,1426,1350,1276,1269,1343,1481,1247,1606,2087,2112,1653,1637,1919,2066,1952,2028,2158,1718,1494,1462,1496,1662,2040,1721,1454,1761,1910,1635,1507,1387,1632,2014,2236,1978,2182,2522,2705,2656,1926,1743,1877,1882,1846,1875,2187,2048,1570,1801,1704,1830,1748,1807,2010,2878,3078,3028,3454,2567,2056,2812,3088,2618,2032,1809,1681,1932,1976,2157,1760,1832,2697,2499,2605,2833,1929,1679,1755,2189,2865,2598,1973,1909,1744,1484,1812,2082,1994,2364,2854,2028,2073,1941,1884,1797,1590,2034,2664,2073,1898,1692,1598,2126,1788,1555,1406,1433,1456,1329,1304,1428,1392,1386,1455,1428,1566,1418,1292,1554,1875,1598,1452,1392,1346,1292,1628,1974,1644,1549,1781,2012,2542,2519,1904,1749,1400,1356,1423,1788,2322,2389,2245,1955,1821,1767,1511,1492,1812,2492,3010,3109,2395,1578,1373,1375,1417,1551,1966,2081,1567,1649,1433,1151,1248,1322,1449,1520,1606,1599,1547,1565,1710,1999,2076,1851,2302,3155,2755,1710,1504,1597,1407,1298,1302,1455,1502,1485,1548,1371,1331,1155,1177,1239,1394,1579,1644,1521,1420,1450,1532,1686,2154,2286,2659,1889,1491,1607,1636,1323,1346,1618,1334,1320,1797,1693,1539,1507,1588,1399,1342,1309,1409,1374,1304,1346,1275,1251,1206,1259,1559,2121,1821,1802,2067,1811,1566,1344,1321,1423,1552,2208,2718,2765,2432,2531,3128,3208,3082,2792,2818,3029,3182,3067,2938,2999,2931,2796,2569,2431,2428,2941,3115,3039,2819,2734,2853,3040,3106,2568,2434,2858,2573,2320,2073,1945,2152,2352,2140,2374,2417,2578,2867,2890,2798,3217,2942,3011,3194,3393,3243,2898,2647,2792,2861,3040,2940,2804,2683,2896,2805,2463,2398,2291,2255,3183,3028,2767,2482,2524,2907,3100,3284,3176,2952,2333,1665,1421,1501,1446,1422,1390,1416,1396,1312,1431,1570,1418,1394,1354,1383,1361,1361,1372,1284,1228,1236,1335,1418,1465,1471,1671,1770,1856,2542,2454,2090,2076,1982,1939,1822,2178,2156,2356,2737,2405,2244,2276,2414,2037,1902,2376,2416,2569,2228,1725,1862,1863,1767,1716,1638,1775,2004,1925,1813,2018,2387,1817,1953,1829,1542,1464,1512,1678,1732,1743,1827,1930,2320,1799,1776,2370,2155,1512,1496,1835,2066,1914,1614,1937,2463,2742,2143,1490,1684,1637,1499,2024,2063,1613,1794,1919,1454,1475,1644,1766,1838,1793,1793,1856,2436,1966,1871,2148,2490,2579,2364,2039,1865,2141,2668,2851,2442,2613,2395,2154,2641,2733,2737,2532,2336,2218,2103,2216,1811,1888,1870,2082,1886,2100,2664,2437,2348,2461,2085,1990,2028,1513,1859,2347,2273,2264,2094,1746,2088,2200,2167,2622,2484,1941,2067,2399,2363,2348,2039,1838,1705,1358,1981,1883,1454,1189,1411,1773,1868,1977,1916,1801,1632,1360,1282,1498,1692,1603,1650,2004,2328,2286,1892,1804,1726,1667,1532,1500,1429,1344,1500,1901,2465,2310,1989,2117,2167,2213,2327,2709,2518,1932,1738,1650,1629,1583,1515,1722,1785,2141,2644,2364,2501,2175,1894,1605,1345,1688,2005,1992,1864,2116,2445,2056,1571,1695,1787,1966,2584,2177,2177,2114,2342,3116,2923,2249,2005,2286,2140,2119,2342,2325,1780,1619,2319,2433,2618,2220,1598,1892,2143,1916,1720,1721,1682,1946,1750,1976,2116,2324,1932,1693,2040,2089,1750,1607,1627,1936,2017,2363,2517,2054,1768,1897,2445,2454,2130,2219,2118,1770,1892,1968,1796,1945,1842,1713,2543,2907,2002,1526,1730,1788,1744,2035,2150,2078,1768,1740,1648,2421,2440,2369,1759,1576,1582,1564,2171,2658,1762,1201,1434,1522,1553,1988,2113,2126,2258,2193,2204,2288,2336,2269,2407,2353,1627,1728,2764,3420,2930,2286,2621,2417,1705,1605,1924,2286,1836,1973,2829,3209,2498,2381,2650,2928,3318,3499,3108,2522,2364,2251,1839,1914,2305,2473,2376,1609,1791,2409,3054,3438,2909,2138,1692,1384,1238,1327,1273,1453,1466,1486,1515,1438,1509,1487,1500,1455,1290,1501,1724,1913,1982,1589,1476,1691,1806,1688,1637,1555,1622,1888,1671,1612,1914,2211,2397,1982,1805,2152,2928,3611,3742,3249,2727,2514,1848,1619,2254,2656,2934,2009,1548,1673,1671,1866,1921,1595,1541,1667,1773,1597,1513,1692,1859,2053,1981,1952,2643,2548,2453,2091,2214,3007,2758,2040,1909,1677,1582,1831,1570,1552,1807,1770,2066,2279,2223,1802,1676,1810,1707,1471,1542,1354,1656,1751,1781,1948,1874,1826,1732,1748,1652,1287,1871,2322,2361,2665,3630,3477,2624,2221,1863,1583,1564,1649,1615,1643,1587,2392,3051,2620,2458,2423,2851,2789,2238,2013,1642,2021,1930,1540,1796,1755,1775,2156,2538,2110,2080,2409,2088,2017,1998,1964,1913,2022,2562,2662,2688,2181,2079,2522,2447,2259,1752,2223,3124,3395,3299,3402,3726,4004,3865,2883,3381,3143,2578,2259,2640,3108,3077,2742,2546,2248,1929,2584,3089,2737,2784,3129,2968,2514,2808,3371,3342,3360,3359,2733,2568,3538,3728,3521,2801,1882,1982,1719,1707,1670,1587,1552,1535,2011,2630,2573,2343,2231,2034,1560,1493,1578,1628,1465,1372,1578,1770,1686,1511,1524,1777,1888,1635,1748,1934,1717,1736,1632,1502,1560,1659,1779,1500,1412,1479,1407,1589,1605,1726,1705,1738,1434,1233,1661,2232,2310,2107,2394,2887,2830,3234,3697,3633,2495,1609,1603,1746,1934,1942,1568,1656,1544,1570,1744,1614,1568,1622,1848,2042,1876,1602,2183,3200,3382,3174,2347,1875,1859,2101,1979,1704,1606,1654,1738,1719,1636,1660,1977,2404,2054,2485,2678,2098,2164,1986,2245,2132,2000,2223,2222,1793,1845,2076,1704,1738,2261,2782,2962,3094,2619,2171,2079,1908,1964,1825,1781,1712,2246,2990,2785,2584,2530,2456,2055,1847,1914,1874,1660,1832,2150,1908,1875,1730,1964,2254,2698,2994,3125,2866,2197,2209,2699,3436,3715,2742,2806,3130,3518,3329,3168,2624,2096,1918,1961,2191,2552,2718,2385,1781,2071,2858,2749,2197,2541,3100,2880,2800,2687,2106,2348,2922,2696,2270,1830,1746,1860,2450,2619,2114,2000,2382,2439,2324,2532,2313,2290,2279,2169,2532,2571,2344,1793,2213,2367,2118,2312,2434,2581,2458,2443,2198,2116,1910,2519,2708,2304,2207,2290,1976,1686,1615,1765,1852,2196,2928,2676,1938,2354,2776,2598,2430,2449,2240,2170,2272,2566,2698,2302,2490,2610,2249,1863,2282,2390,2690,2747,2335,2316,2076,1627,1824,2101,2220,2598,2252],[3168,3216,3184,3356,3432,3183,3099,3244,3316,3038,2980,3132,2991,2801,2878,3022,3191,3313,3370,3225,3421,3321,3234,3001,2916,3086,3217,3272,3253,3349,3213,3166,3118,3010,2975,3006,2872,2932,2971,3275,3464,3436,3517,3260,3067,3020,2968,3173,3134,3366,3602,3509,3425,3413,3487,3733,3987,3893,3429,3562,3987,4086,4247,4231,4384,4444,4601,4168,3786,3817,3931,4005,4096,4141,4235,4116,4400,3792,3223,3219,3041,2570,2348,1960,1448,1562,1593,1827,1609,1594,1945,2187,2757,3728,3720,3538,3051,3040,2684,1900,2017,2592,2087,1934,2113,2240,1808,2122,2251,2115,2426,2591,2735,2873,2689,3603,4051,4050,3693,2700,2287,2369,2377,2446,3223,3735,3548,3043,2743,3051,3045,2500,2370,2474,3080,3111,3121,3553,3832,3709,3178,3024,3299,3673,3774,3915,3708,3766,4209,3367,2583,2876,3689,3918,3764,3776,3129,2646,2923,3455,3651,3974,4426,4484,4577,4171,3515,3320,3457,3327,3016,3177,3404,3477,3492,3642,3565,3386,3310,3363,3846,3597,2532,1793,2509,3305,3154,3726,3880,3188,3058,3044,3294,3030,2238,2048,2369,2265,2774,2895,2330,2368,2268,2072,2106,1639,1510,1720,1856,2110,2135,2356,3459,4170,3804,3028,2038,1766,1478,1672,2117,1941,1584,1593,1597,1498,1596,1887,1846,1723,1803,1616,2141,2217,3028,3778,3108,1870,1474,1661,1640,1557,1718,1753,1646,1550,1604,1688,1813,1713,1672,1547,1719,1838,1814,1900,2027,1760,1838,2146,1980,1773,1553,1692,1540,1559,1471,1264,1182,1457,1741,1735,1910,1858,2018,2126,2025,1692,1729,1848,1526,1342,1365,1400,1300,1416,1756,1881,2369,2050,1873,1955,1959,1760,1559,1782,1986,2046,1994,1919,1839,1968,2077,2041,2062,2442,2052,1525,1587,2019,2054,1803,1463,1561,1608,2177,2902,3333,3450,3031,1813,1460,1399,1544,1619,1941,2294,2292,2222,2201,1949,1475,1049,949,1194,1328,1553,1565,1172,1393,1737,1802,1873,1803,1594,1479,1628,1581,1927,2296,1867,1314,1190,1251,1533,1295,1380,1311,1397,1430,1822,1677,1421,1512,1462,1331,1268,1251,1106,1140,1509,1484,1372,1359,1398,1302,1164,1218,1327,1255,1454,2015,2649,2463,1660,2502,3117,3487,3535,3365,3116,2643,2021,1759,1421,1385,1648,2174,2680,1856,1687,1876,1606,1617,1583,1430,1564,1799,1616,1456,1571,1542,1805,1914,2114,2070,2325,2428,2266,2311,2093,1575,3875,3939,2416,2417,1647,1488,1862,1905,1642,2299,1859,1516,1517,1429,1489,2573,3558,3328,2544,1975,2743,2707,2230,1943,2020,1736,1707,1725,1628,1663,1526,1410,1403,1712,1650,1485,1628,1519,1504,1415,1443,1445,1440,1685,1749,1687,1546,1490,1366,1409,1956,1872,1806,1838,1724,1758,1648,1836,2258,1820,1550,1659,1629,1771,2227,1999,1815,1605,1492,1459,1473,1800,1939,1576,1802,2255,1948,1696,1748,1644,1611,1572,1407,1493,1651,2011,2099,1762,1758,1533,1491,1337,1385,1465,1332,1431,1829,2659,2803,2333,1764,1645,1656,1743,1970,1991,1829,1841,2075,2531,2297,2336,2767,2608,2278,2392,2523,2048,1852,1562,1587,1827,1599,1660,1865,1809,1794,1755,1540,1639,1680,1873,1992,2366,2057,1374,1547,1697,2204,2524,2204,1991,1901,1891,2068,2592,2607,2044,2441,2492,2237,2288,2746,2450,2467,2721,2514,2566,2575,2049,1706,1886,1952,1626,1575,2130,2526,2098,1578,1653,1574,1461,1666,1504,1469,1299,1291,1312,1444,1450,1396,1792,2085,2095,1886,1629,1799,1860,1853,2251,2097,1474,1339,1368,1469,1890,2154,1713,1334,1437,1697,1891,1556,1615,2149,2592,2564,1792,1538,1688,1735,1892,1850,1553,1462,1591,1908,2095,1809,1860,2057,2127,1898,1705,1772,2194,2570,2828,2780,2454,2706,2111,2348,3085,3141,2599,1989,1778,1748,1985,2180,2093,1616,1580,2569,2984,3138,2947,2179,1654,1484,2093,2930,2979,2498,2021,1926,2084,2182,2331,2382,2835,3430,2407,2478,2299,1952,1781,1689,1882,1843,1920,1824,1444,1870,2924,2769,1927,1519,1585,1666,1472,1327,1401,1456,1580,1644,1527,1703,1583,1300,1459,1535,1619,1578,1494,1549,1572,1792,1855,1489,1764,2197,2291,1931,1742,1626,1460,1411,1519,1430,1867,2348,2079,1819,1739,1603,1687,1470,1483,1798,2294,2799,3034,2218,1407,1510,1549,1474,1457,1536,1579,1434,1516,1395,1375,1606,1599,1452,1538,1701,1652,1739,1664,1483,1493,1607,1432,1837,2274,1939,1508,1470,1486,1428,1387,1406,1502,1360,1360,1575,1547,1500,1395,1396,1299,1321,1510,1556,1584,1486,1336,1447,1782,2105,1958,2248,1740,1393,1701,1684,1371,1535,1640,1443,1696,2018,1804,1752,1670,1694,1663,1698,1794,1794,1533,1426,1403,1267,1289,1252,1406,1501,1749,1964,1909,1792,1717,1611,1436,1496,1316,1691,2512,3037,3051,2758,2906,2819,2940,2385,2061,2421,2503,2440,2445,2664,3166,2950,2789,2495,2631,2631,2842,2850,2897,2840,2790,2929,3228,3181,2641,2665,2448,2282,2271,2332,2142,2577,2595,2473,2293,2358,2751,3022,3094,2670,3031,2658,2580,2708,3042,3094,3443,3392,3187,3063,2661,2548,2578,2657,3034,2997,2893,2844,2691,2743,3020,2901,2913,2750,2919,2945,3014,3067,2995,3051,2222,1582,1585,1531,1456,1426,1422,1361,1310,1419,1604,1499,1323,1400,1363,1341,1325,1319,1303,1222,1285,1306,1400,1513,1418,1504,1953,2654,2364,1992,2339,2522,2190,1880,1737,1907,1742,2053,3420,3921,2719,2162,2431,2719,2017,2084,2519,2474,2475,2216,1962,1923,1710,1509,1725,1670,1576,1814,2064,2437,2272,1941,1801,1896,1848,1792,1628,1568,1694,1587,1455,1771,1634,2366,1948,1906,2563,2314,2009,2325,2285,2230,1901,1616,2181,2894,3117,2536,1577,2074,2251,2211,2342,2068,1710,1857,1709,1465,1680,1665,1745,1589,2456,2221,1719,2123,2189,2045,2203,2115,2086,1749,1599,1515,1981,2685,3087,2434,2493,2081,2230,2432,2289,2836,3140,2579,2288,2574,2603,1766,1787,2055,2243,1876,2440,3038,2455,2111,1815,1857,2209,1852,1437,1877,2332,2270,1969,2143,2072,2138,2247,2765,3339,2709,1997,2931,3628,3858,3843,3652,3617,3284,2526,2304,2302,2082,2010,2087,1814,1724,1978,1938,1880,1757,1720,1665,1692,1743,1747,1976,2364,2293,2082,1847,1688,1481,1557,1497,1510,1664,1846,1970,2217,2370,2271,2023,2001,2126,2316,2426,2603,2357,1921,1573,1432,1717,1744,1493,1833,1879,1863,1892,2030,2283,1612,1359,1293,1438,1863,1909,1694,1746,1930,1975,2031,1946,1976,2207,2369,2963,2896,2555,2077,2232,2482,2504,1939,1923,2469,2293,1937,1527,1800,2025,2254,2702,2441,2342,2128,1626,2009,2165,2002,1654,1486,1334,1470,1453,2181,2691,2661,2210,2148,2317,2233,1905,1465,2070,2284,2271,1990,1714,1790,2098,2039,2295,2437,2480,2664,2567,2339,2261,2029,1858,1841,2321,2601,2839,2765,2186,2327,2360,1880,1975,2309,2108,1912,1910,1875,1646,1974,2315,2413,2345,1836,1454,1469,2098,2584,2067,1553,1534,1664,1589,1609,2182,2288,1866,1891,1966,1973,2345,2438,2930,2226,1722,1938,2242,2687,2808,2360,2753,2553,1434,1479,1754,1898,1810,1872,2821,3231,2634,2589,2787,2886,3150,3464,3303,2897,3167,2925,2017,1885,1864,2421,2665,1830,1846,2547,3099,3338,2776,1920,1900,1566,1419,1444,1254,1380,1508,1602,1493,1370,1490,1508,1606,1489,1367,1437,1466,1576,1765,1749,1691,1683,1735,1666,1664,1575,1612,1859,1648,1635,1756,2282,2429,2134,2075,2097,2153,2655,3271,2688,2279,2143,1675,1492,2109,2286,2066,1433,1337,1703,1608,1565,1590,1451,1383,1420,1671,1673,1603,1714,1784,2029,1736,1956,2148,1344,1472,2185,2169,2423,2809,2770,2389,1695,1527,1840,1609,1964,2002,1650,1982,2165,2014,1521,1467,1731,1799,1553,1481,1750,1930,1953,1906,2003,2343,2437,1901,1744,1520,1686,2192,2230,2150,3251,4093,3413,2861,2732,2338,1934,1508,1481,1630,1929,1663,2071,2254,2021,1980,1983,2510,2633,2415,2248,1519,1554,1825,1762,2003,1946,2048,2274,2482,2231,2055,1935,1828,1875,1938,2291,2138,1879,2453,2406,1686,1432,1875,2728,3034,2345,1671,2298,3147,3440,3628,3819,4116,4014,3718,3282,3337,3321,2953,2824,3238,3322,3266,3156,3012,2890,2548,2916,2966,2517,2365,2690,2779,2770,3551,3983,3913,3892,4092,3467,3333,3433,3250,3018,2090,1641,1942,2085,2065,2015,1867,1579,1693,2289,2836,3168,2463,2169,1840,1561,1781,1741,1606,1495,1553,1538,1606,1603,1513,1477,1612,1801,1700,1820,1838,1658,1515,1569,1689,1810,1881,1878,1555,1525,1466,1439,1722,1788,1657,1543,1640,1617,1666,2346,2335,2281,2280,2619,3287,3630,3829,3924,3674,2679,2127,2021,2058,1837,1759,1803,1988,1448,1505,1672,1585,1704,1732,1666,1665,1657,1561,2276,3183,2722,2169,1937,1853,1784,1914,1799,1502,1519,1612,1597,1623,1661,1671,1787,2302,2219,2660,2664,1964,1762,1847,1775,1693,1715,1967,2085,1752,1776,1410,1836,2686,2771,2950,3021,2387,1868,2031,1858,1687,1987,1937,2155,1995,2770,3087,3047,2736,2592,2657,2349,2072,2086,1532,1392,1821,1764,1675,1615,1670,1703,1819,2554,3184,3287,3265,3230,3141,3592,4396,3687,2469,2452,2915,3233,2963,2488,2119,1803,1893,2503,2824,2469,2198,2209,1988,1970,2610,2421,2148,2593,3124,3042,2711,2265,1876,2382,2964,2980,2656,2102,2033,1844,1879,2105,2093,2127,2383,2235,2209,2139,1949,2301,2315,2373,2666,2597,2225,1881,2642,3313,3165,3548,3162,2952,2449,2680,2885,2476,2000,2482,2900,2382,2109,2396,2112,1640,1770,1655,1687,1924,2421,2564,2637,2986,2701,2305,2325,2326,2165,2050,1960,2120,2248,2497,2308,2267,2531,2712,2486,2438,2812,2631,2488,2403,1878,1618,1815,2284,2784,2763,2281],[2917,3128,3406,3603,3362,2899,2680,2921,2994,2859,2989,3019,2754,2739,2873,3066,3178,3178,3341,3261,3377,3470,3318,3128,3028,3188,3322,3309,3452,3537,3252,3128,3127,2988,2922,3069,3022,2855,2910,3402,3694,3508,3482,3114,3063,3064,2968,3172,3439,3518,3564,3660,3569,3280,3282,3649,3853,3765,3229,3515,3898,4117,4128,4364,4570,4518,4063,3218,2642,2819,3443,3651,3708,4214,4788,4297,3520,2937,2746,2593,2480,2575,2296,1820,1661,1669,1638,2262,1686,1828,2151,2012,2426,2968,3594,3680,3122,3172,2791,2997,2814,3344,2808,2809,2293,2159,1825,1851,2015,1942,2254,2240,1892,2257,2612,3208,3488,3813,3675,2673,2264,2444,2439,2689,3684,4132,3748,3106,2813,2918,2680,2543,2677,2958,3209,3060,3197,3592,3553,3003,2387,2311,2687,3077,3492,3709,3603,3660,3641,2852,2642,2966,3272,3587,3816,3829,3570,3147,3110,3432,3615,4200,4616,4501,4172,3767,3618,3732,3816,3562,2933,3164,3561,3597,3535,3534,3434,3170,3160,3282,3173,3551,2998,1880,2358,2924,2728,3297,3343,2856,3051,3173,3503,3672,3199,2769,2500,2249,3321,3758,3639,3607,3162,2478,1972,1684,1804,1772,1856,2063,1850,2308,3484,3775,3752,2957,1723,1633,1448,1671,2148,2073,1726,1763,2308,2371,2216,2316,1937,1646,1593,1321,1670,2603,3006,2786,2336,1681,1394,1501,1518,1590,1658,1793,1732,1627,1582,1617,1939,2035,1549,1401,1682,2134,2533,2589,2544,1746,1573,1581,1852,1694,1396,1334,1500,1835,1832,1482,1318,1476,1403,1423,1767,1870,1954,1855,1998,2002,2156,2052,1705,1427,1533,1488,1418,1788,1886,2013,2081,1875,1896,1875,1820,1665,1554,1959,2308,2079,1963,2027,1964,1982,2100,2194,2042,1901,1614,1591,1980,1967,1750,1504,1296,1475,1394,2274,2952,3053,3286,2825,1810,1455,1425,1508,1496,2015,2111,1897,1826,2047,1653,1425,881,958,1124,1055,1497,1563,1040,1421,1848,1987,1866,1610,1284,1530,1879,1992,2124,2198,1729,1320,1230,1318,1547,1286,1287,1358,1369,1423,1688,1526,1340,1473,1614,1703,1559,1297,1378,1221,1482,1413,1275,1248,1289,1338,1290,1219,1229,1311,1479,1559,2115,2377,2372,3218,3870,3746,3550,3286,3264,3235,3055,2598,1988,1707,1700,2297,2858,2201,1822,1696,1622,1762,1636,1592,1765,2027,2066,1532,1371,1414,1641,1627,1897,2180,2282,2442,2462,2709,2854,2675,2461,2168,1868,1792,1594,2052,2064,1979,1996,2402,1924,1452,1433,1451,1576,1769,2010,2129,2344,2058,2563,2014,1626,1886,2336,1971,1976,2062,1572,1583,1604,1725,1540,1715,1627,1612,1637,1605,1531,1428,1443,1628,1909,1741,1724,1986,1663,1547,1614,1787,1860,1725,1863,1682,1976,2512,2520,2438,2093,2038,1715,1583,1428,1644,2108,1947,1882,1837,1497,1281,1313,1555,1581,1448,1775,2329,2239,1907,1609,1659,1739,1580,1412,1421,1664,2009,2266,1919,1593,1473,1499,1310,1494,1455,1376,1706,2270,2421,2228,1738,1622,1583,1466,1494,1562,1806,1978,1967,2282,2498,2382,2432,2874,3294,2721,2507,2822,2285,2019,1736,1560,1585,1698,1919,2054,1919,1842,1633,1394,1278,1812,1839,1994,2360,1956,1626,2034,1954,2208,2673,2317,1937,1929,2069,2458,2905,2883,2312,2608,2344,1888,2054,2455,2417,2519,2843,2596,2437,2308,1891,1610,1641,1506,1500,1539,1968,2160,1976,1813,1636,1727,1643,2221,1811,1585,1417,1374,1404,1722,1963,1754,2130,2605,2266,1853,1457,1699,1930,1716,1867,1774,1457,1400,1358,1365,1654,1932,1632,1286,1417,1596,1745,1515,1753,2514,2420,1976,1528,1498,1581,1720,2515,3051,2384,1777,1682,2063,2575,2269,2092,2474,2442,1958,1745,1704,1685,1978,2701,2956,2065,2114,1462,2142,3243,3382,2954,2239,1755,1918,2408,2226,2286,2101,1896,2655,2603,2520,2507,2312,1775,1472,1687,1920,1992,2126,1941,2368,3094,2797,3239,3317,3470,3454,2374,2334,2798,2470,1616,1642,1752,1832,2041,1664,1500,1688,2073,2301,1765,1495,1732,1558,1430,1354,1398,1412,1423,1412,1614,1614,1439,1663,1808,1498,1365,1388,1432,1524,1578,1748,1947,1901,2327,2810,2480,2114,1761,1476,1698,1805,1507,1548,1807,1852,1954,2313,2247,2020,1953,1952,1799,1516,1737,2226,2202,1717,1510,1507,1528,1453,1378,1468,1345,1383,1520,1576,1696,1726,1722,1660,1731,1559,1522,1479,1685,1803,1608,1533,1345,1332,1336,1346,1332,1510,1578,1372,1434,1446,1397,1464,1731,1696,1675,1548,1349,1396,1456,1381,1534,1478,1547,1381,1365,1839,2003,1787,1466,1544,1471,1513,1592,1417,1477,1552,1570,1434,1333,1398,1543,1524,1339,1439,1638,1747,1832,1921,1784,1597,1604,1568,1433,1464,1290,1252,1596,2053,2115,1871,1945,2002,1819,1786,1520,2198,3039,2850,3076,2866,2670,2761,2912,2678,2591,2700,2802,3062,2902,2854,3399,3271,3042,2804,2745,2720,2599,2896,3067,2940,3055,3124,3311,3624,2611,2251,2117,2226,2243,2132,2276,2702,2561,2385,2550,2778,2946,2654,2375,2426,3050,2602,2186,2348,2470,2994,2979,2479,3020,3388,2739,2632,2684,2731,2561,2450,2667,2931,2558,2195,2259,2480,2592,2448,2651,2795,3032,2949,2924,2432,1736,1682,1716,1637,1527,1514,1462,1404,1343,1336,1650,1469,1428,1449,1281,1290,1338,1310,1246,1348,1528,1503,1486,1688,1515,1399,1568,1918,1909,1767,1882,1760,1514,1545,2024,2314,2336,3806,4592,4416,3234,2504,2386,2156,1636,1986,2603,2364,1801,1797,1575,1790,1782,1520,1814,1566,1734,1808,2165,2521,2529,2592,2470,1924,1802,2156,1951,1755,1630,1558,1625,1805,1701,2270,2454,2163,2274,2126,1969,2048,2060,1932,1776,1928,1983,2186,2308,1898,1917,2347,2438,2195,1879,1853,1798,1554,1540,1500,1586,1534,1574,1470,2042,2069,1619,1735,2358,2436,2631,2708,2732,2626,2238,1856,2460,2499,2661,2798,2619,2007,2177,2756,2500,2807,2708,2075,2166,2550,1964,1661,1766,2020,2169,2133,2598,2534,1936,2021,1556,1943,2200,1952,1597,2274,2802,2161,1882,2640,2849,2025,1814,2813,3063,2018,2141,3199,3626,3749,3980,4017,3985,3538,2644,2418,2161,1599,1932,2289,1777,1551,1581,1681,1808,1846,1801,1773,1694,1532,1640,1794,2030,2136,1937,1600,1399,1372,1462,1443,1474,1850,2124,2145,2201,2090,1873,1752,2063,2256,2395,2507,2520,2379,2045,1678,1467,1569,1665,1554,1783,2199,2008,1702,1748,1533,1398,1440,1298,1522,1965,1936,1800,1678,1550,1922,2231,2008,1676,2086,2498,2864,3032,2364,1926,2198,1917,1786,1741,1808,2111,2366,1940,1651,1677,1902,2042,2135,1935,1736,1541,1686,2208,2186,2004,1846,1872,1958,1598,1841,2641,2878,2360,1864,2095,2267,1934,1745,1223,1501,1930,1958,1870,1832,2067,2178,1897,2173,2520,2875,3417,2932,2408,2055,1751,1937,1904,2526,2786,2337,2015,2084,2698,2468,1793,1674,1766,2054,2007,2270,2289,1982,2182,2122,1870,1791,1605,1528,1599,2517,2431,1646,1606,1674,1488,1439,1636,1985,1958,1914,2136,2104,2216,2398,2663,2362,1953,1940,2046,2078,2514,2500,2120,2668,2241,1478,1574,2298,2084,1692,1465,2360,3200,3153,2953,2968,3006,3159,3360,3535,3173,3307,3266,2549,2047,1692,2294,2730,2047,1711,1968,2446,3522,3384,2510,2156,1671,1439,1376,1460,1606,1537,1575,1625,1427,1359,1389,1566,1440,1296,1587,1515,1355,1649,1882,1836,1621,1447,1411,1334,1360,1636,1765,1578,1550,1616,1953,2087,2079,2147,2275,2422,2527,2912,2144,2045,1976,1598,1723,2090,1924,1698,1502,1310,1572,1688,1702,1971,2066,1936,1649,1909,1643,1576,1347,1235,1380,1797,1725,1904,1610,1583,2000,2237,2402,2636,2800,2496,1848,1638,1848,1666,1778,1785,1657,1976,2076,2118,1681,1438,1554,1761,2327,3138,2862,2382,2361,2143,2164,3107,3416,2689,2209,2108,2002,2230,2080,1876,2929,3500,3161,3188,2871,2598,1837,1737,1494,1456,1575,1425,2072,2239,1766,1749,2052,2657,2667,2046,2042,1694,1354,1417,1788,1942,1897,2109,1984,1892,2076,2062,1958,1730,1997,2105,2143,1852,1534,1593,1581,1952,1803,2026,2923,3216,2868,2092,2108,2898,3441,3762,3958,3912,3526,3211,3239,2806,2512,2552,3024,3262,3381,3406,3364,3172,2939,2552,2585,2700,2555,2403,2656,2806,3182,4063,4081,3886,3830,3760,3316,3433,3339,3143,2952,2322,1963,2238,2386,2299,2271,2052,1801,1991,2308,2424,2744,2144,1600,1431,1777,2258,2122,1818,1579,1550,1461,1525,1807,1709,1555,1539,1658,1573,1531,1732,1694,1356,1475,1569,1605,1732,1804,1757,1793,1602,1538,1465,1510,1590,1712,1902,1636,1693,2786,2458,2613,2778,2730,3298,3694,3382,3264,2940,2395,2481,2307,2163,1778,1784,1866,1662,1506,1452,1519,1677,1700,1656,1744,1616,1671,1826,2511,2401,2097,2034,2056,1921,2002,2481,2176,1662,1980,1730,1631,2105,2215,2464,2407,2536,2745,2874,2646,1996,1663,1677,1464,1376,1666,2370,2645,2096,1720,1582,2019,2308,2009,2040,2153,1867,1932,2156,2178,1976,2308,2218,2188,2304,2564,2318,2183,2160,2076,2329,2316,2320,2185,2009,1854,2133,1973,2370,2241,1825,1828,2014,2369,3072,3260,3044,2817,2836,3361,4276,4176,3398,2734,2709,2444,1848,1659,1910,1846,1799,2015,1909,1823,1850,2171,2208,1997,1881,1810,1852,2259,2844,2867,2452,2337,2276,2656,3186,3139,2613,2119,2048,1978,2132,2389,2288,2231,2406,2237,2072,2071,1903,2031,2601,3039,3045,2535,2247,2427,2623,2797,2700,2730,2520,2170,2161,2772,3299,3059,2446,2260,2260,2463,1992,1779,1836,1952,2151,1952,1781,1665,1866,2129,2442,2554,2486,2424,2584,2422,2175,1908,1782,1858,1929,2104,2106,2376,2657,2586,2374,2619,2596,2183,1940,1974,2030,1930,1990,2138,2561,2458,2115],[2816,3055,3195,3152,3063,2932,2732,2769,2875,2784,2958,2933,2619,2617,2777,3067,3154,2999,3190,3351,3595,3782,3557,3509,3372,3298,3262,3239,3021,3053,3188,3165,3134,3083,2953,2887,2819,2828,2761,3124,3528,3484,3529,3197,3438,3446,3099,3001,3238,3593,3649,3740,3763,3009,1849,1743,2466,2878,3042,3352,3553,3696,3799,3986,3995,4078,3874,3876,3477,3435,3740,4009,4204,4375,4740,3759,2343,2357,2425,2126,1785,1790,1889,1737,1982,1744,1768,2005,1975,2231,2106,1735,1937,2332,3172,3615,3145,2557,3339,3678,3237,3361,3284,3272,2667,1857,1685,1732,1758,1936,2323,1499,1596,2448,2840,2586,2557,2996,3173,2771,2427,2366,2498,2055,2640,3218,3068,2907,2417,2194,2372,2666,2764,2978,3074,2888,3174,3427,3343,2862,2363,1931,2247,2890,3278,3067,3226,3607,3226,2845,3070,3340,3581,3873,3960,4203,4181,3785,3715,3532,3184,3317,3892,4123,3769,3936,4054,4058,4161,3627,2685,2803,3400,3392,3306,3065,2983,3038,2960,2597,2445,3429,3249,2468,2307,2241,2643,3754,3282,2457,2363,2429,3201,3494,3387,3015,2314,2833,3824,3959,3882,3736,3405,3048,2667,2226,1986,2079,2156,1829,1613,1846,2541,2966,3132,2718,2372,2203,1756,1682,2296,2678,1860,2321,3552,3216,2883,2862,2392,2477,2454,2002,2365,3719,3462,2249,1814,1743,1437,1559,1584,1520,1438,1605,1615,1500,1457,1469,1537,1499,1372,1575,1973,2669,2590,2527,2708,1925,1587,1680,1756,1715,1440,1372,1557,1862,1844,1498,1307,1423,1265,1018,1242,1544,1653,1685,1831,1959,1988,2033,1958,1638,1513,1473,1614,1902,1953,1854,1799,1771,1842,1755,1672,1741,1920,2321,2367,2018,2048,2166,2140,2068,2098,2094,1942,1583,1578,1964,1966,1287,1308,1233,1100,1693,1742,2213,2766,2641,3235,2810,1563,1523,1418,1282,1365,1971,1976,1462,1415,1903,1970,1476,869,909,1037,1008,1413,1532,1063,1650,2100,2050,2066,1601,1422,1550,1466,1708,1942,1592,1364,1327,1343,1459,1426,1343,1359,1471,1440,1540,1493,1360,1485,1671,1572,1617,1765,1272,1299,1377,1626,1374,1219,1263,1326,1367,1279,1166,1238,1311,1331,1280,1742,2495,3326,4075,4496,4195,3797,3520,3167,3014,3230,3176,2822,2440,1951,2874,3464,2569,1759,1565,1393,1388,1572,1695,1799,1742,1876,1722,1590,1558,1810,2047,2260,2277,2486,2601,2718,2811,2717,2668,2444,2254,1915,2372,2265,2625,2301,2734,2830,2196,1693,1487,1554,1773,1957,2154,1759,1844,1654,2150,2261,1815,1733,2132,2152,1538,1613,1803,1415,1464,1338,1534,1532,1693,1679,1503,1369,1472,1627,1569,1442,1673,1919,1837,1769,1748,1699,1567,1654,1875,1614,1676,2085,1921,2089,2806,3208,2495,1624,1880,1801,1583,1537,1522,1730,1715,1601,1786,1769,1555,1507,1927,1786,1635,2029,2288,1971,1661,1543,1711,1678,1570,1500,1428,1611,1879,1939,2038,1695,1545,1454,1535,1668,1488,1422,1803,1992,2133,2070,1741,1910,1605,1311,1433,1612,1691,1657,1731,1976,2004,2126,2293,2707,3354,3096,2903,2632,2490,1815,1526,1494,1538,1715,1528,1444,1656,1687,1344,1444,1583,2042,2286,2322,2352,1903,1746,2458,2395,2235,2295,2046,1813,1991,2204,2364,2834,2913,2490,2201,1900,1809,1866,1988,2480,2676,2301,1872,2007,2057,1875,1682,1432,1399,1645,1758,1531,1549,1693,1678,1487,1752,1487,1889,1749,1567,1565,1692,1722,1898,2031,1748,1699,1750,1740,1678,1394,1804,1893,1460,1450,1532,1508,1394,1315,1333,1562,1752,1550,1411,1459,1466,1316,1443,1518,1715,1938,1993,1539,1472,1613,2223,2814,2876,2722,2337,2122,2020,1943,1572,1512,1923,2003,1732,1660,1848,1814,2400,2974,3182,2382,1716,1317,2211,3120,3208,2888,2283,1772,1903,2846,2305,2170,2377,2120,2365,2559,2091,2081,2017,1538,1529,1454,1436,1664,1969,1894,2570,2822,3241,3938,3773,3312,2994,2294,2077,2984,3042,2027,1537,1678,1901,1702,1519,1491,1432,1564,1900,1591,1481,1578,1403,1353,1499,1443,1440,1475,1447,1592,1421,1462,1749,1637,1326,1291,1482,1500,1471,1441,1545,1728,1962,2294,2713,2403,1893,1671,1531,1692,1616,1543,1637,1665,1516,2169,2025,1865,1874,1568,1721,1849,1453,1445,1707,1566,1391,1516,1430,1540,1558,1531,1480,1365,1312,1533,2162,2296,1836,1918,2028,1918,1471,1561,1417,1478,1522,1613,1517,1375,1294,1416,1465,1359,1666,1692,1638,1541,1460,1490,1496,1383,1402,1477,1404,1356,1477,1542,1609,2092,1821,1830,1355,1515,1917,2090,2036,1793,1683,1499,1633,1471,1389,1318,1416,1560,1384,1270,1421,1477,1370,1331,1361,1531,1709,1878,2104,1806,1833,2046,1996,1927,1731,1321,1210,1682,2167,2079,1973,1954,1910,1980,1689,1880,2458,2655,2691,3076,2770,2404,2612,3006,3448,3327,3129,3144,3217,3376,3528,3394,3165,2942,2855,2758,2614,2890,3210,3154,3227,3147,2984,2778,3503,2929,2314,2350,2341,2217,2119,2158,2454,2534,2450,2588,2281,2489,2601,2334,2567,3043,2856,2969,2790,2404,2664,2655,2272,2378,2973,2786,2894,2844,2327,2060,2073,2360,2563,2149,2260,2407,2480,2187,2320,2401,2762,3217,3062,3122,2352,2083,2328,2048,1728,1454,1357,1307,1401,1438,1382,1318,1291,1377,1387,1272,1362,1432,1410,1327,1389,1371,1359,1478,2284,1776,1393,1649,2160,2688,2531,1883,1836,1937,1737,2121,3019,4021,4352,4351,3318,2883,2323,1777,1643,1857,2275,2066,1406,1523,1915,1938,2117,1805,1643,1517,1659,1865,1940,2271,2606,2778,2950,2399,1565,2030,2859,2342,1687,1377,2030,2132,2210,2212,2381,2701,1836,1916,2210,1868,1788,1869,2218,2038,1723,1669,1970,2172,2005,2082,2158,2138,2109,2110,1719,1510,1434,1681,1793,1696,1550,1384,1455,1553,1865,2140,2009,2926,2641,2311,2303,2603,2392,1707,1537,2174,2291,2291,2534,2432,2141,2365,2579,1985,1900,1694,1584,1985,2281,2172,2376,2254,1936,2104,2665,2813,2080,2357,2511,2460,2665,2030,1737,2054,2655,2621,1923,1618,1860,2039,2091,2458,2425,3143,2670,2448,2751,3014,3272,3417,3495,3533,3053,2217,2368,2344,1860,2188,2139,1461,1498,1385,1203,1413,1626,1775,1638,1306,1307,1544,1520,1717,2130,1929,1457,1569,1646,1518,1584,1642,1908,2129,2301,2116,1890,1806,1813,2055,2315,2426,2486,2481,2247,1963,1701,1382,1462,1421,1632,2465,2663,2043,1698,1728,1822,1945,2035,1959,2097,2062,1802,1722,1688,1617,1925,2075,2126,1936,1952,2214,2371,2572,2090,2141,1978,1630,1786,1815,1655,1791,2109,2132,1843,1769,2002,2088,2142,1660,1504,1747,2567,2539,2232,2026,1872,2402,2742,2281,2591,3253,2966,1893,1828,2265,2275,1886,1761,1375,1561,1954,1897,1999,2035,2198,2275,1994,2207,2632,3032,2919,2326,2178,1933,1725,1932,1876,1971,2059,1532,1633,2010,2498,2510,2166,1797,1670,1750,2037,2481,2335,2218,2230,1689,1468,1689,1627,1582,1526,1915,1671,1439,1409,1410,1591,1870,1845,1836,1615,2004,2587,3010,3152,2837,2836,2336,2023,2203,2175,2367,2642,2272,1903,1871,1757,1452,1611,2249,2045,1727,1638,2306,3258,3268,3055,3176,3222,3282,3234,3531,3463,3361,3318,2983,2317,1671,1996,2410,1958,1760,2213,3121,3654,3522,2942,2314,1826,1503,1600,1779,1520,1414,1640,1958,1620,1207,1184,1265,1288,1268,1491,1491,1358,1550,2011,1884,1537,1549,1307,1324,1560,1832,1713,1477,1561,1742,1832,2194,2759,2399,1516,1831,1835,2592,2082,2107,1899,1721,2160,2142,1758,1613,1417,1309,1440,1466,1322,1804,1843,1782,1611,1277,1098,1427,1301,1920,2493,2425,2378,2266,1608,1322,1542,1952,2515,2486,2241,2662,2570,2050,1973,1700,1638,1531,1825,2297,2376,2359,1827,1514,1690,1892,2696,3961,3827,3559,3230,2821,2321,3666,3972,3407,2753,2339,2006,2227,2003,1514,1882,2477,2623,2727,2140,1996,1774,1912,1580,1390,1548,1427,1719,2263,2113,1823,2031,2703,2092,1576,1748,2016,1848,2057,2155,1874,1908,2191,2216,2364,2232,1876,1679,1800,2244,2214,1793,1483,1678,1521,1710,2353,2351,2361,2814,2981,3666,3221,2308,2309,2756,3487,3557,3125,3068,3200,2722,2341,2553,2471,2652,2631,2676,2767,2941,3024,2689,2405,2437,2546,2542,2450,2712,2790,3334,4008,3810,3595,3627,3585,3288,3258,3300,3341,3384,3175,2775,2619,2513,2261,2355,2185,1975,2066,2065,2103,2104,1628,1460,1493,1714,2234,2693,2680,2138,1882,1519,1497,1569,1613,1555,1449,1727,1671,1555,1722,1577,1341,1489,1905,1624,1484,1612,1698,1836,1931,1879,1732,1710,1625,1830,2255,1687,1686,2444,2604,3085,3120,2854,3063,2916,3178,3444,2452,1837,1819,1959,1775,1609,1621,1620,1654,1697,1604,1483,1765,1793,1594,1652,1930,2440,2623,2771,2098,2159,2352,2122,1900,1900,2058,1830,1870,2659,2054,1730,2619,3056,3443,3300,2916,2542,2279,2454,2521,2113,1658,1560,1892,2852,3433,2968,2113,1758,1579,1705,1882,1969,2216,2268,2083,2126,2133,2083,1978,2053,1865,1817,2055,1950,1973,2776,2980,2165,2319,2248,1981,1856,2116,2016,2040,2294,2858,2632,1758,1902,2400,2230,2481,2677,3068,3270,3237,2906,3528,3939,3395,2792,2185,1770,1650,1882,1959,1810,1604,1965,1940,1948,2090,2316,2337,2021,1859,1810,1829,2406,3087,3190,2827,2366,2111,2437,2919,2742,2303,2272,2554,2440,2499,2824,2524,2120,2205,1959,1841,2093,2012,1985,2521,3221,3298,2657,2262,2438,2389,2514,2522,2057,2186,2260,2460,2712,2964,2643,2209,2808,2735,2564,2048,1709,1533,2279,2037,1842,1813,1594,1724,1926,1865,2387,3289,2941,2646,2457,2162,1859,2151,2259,2004,1967,2188,2294,2242,2056,1714,1661,2033,2224,1798,2085,2398,2498,2325,2095,2145,2127,2002],[2835,2846,2931,2867,2890,2897,2868,2764,2736,2764,2938,2818,2578,2590,2778,3031,3025,2922,3191,3488,3660,4040,3884,3693,3484,3452,3364,3082,2856,2878,2964,2922,2921,2991,3057,2974,2941,2790,2771,2833,3204,3172,3216,3310,3676,3563,2952,2830,3164,3732,3826,3754,3947,2910,1479,1007,1527,1987,2084,2290,3030,3550,3720,3973,3991,3915,3520,3503,3209,3234,3275,3795,3969,3745,3580,2790,2050,2309,2400,2226,2194,1918,1919,2043,1832,1759,2374,2698,2225,2225,2550,2350,2371,2745,3222,3551,3251,2982,3648,3772,3491,3601,3642,3291,2353,1263,1571,1806,1751,1988,2163,1734,1924,2598,2669,2403,2129,2160,2232,2242,2325,2573,3156,2380,2576,3194,2824,2498,1990,1634,2420,3105,3040,3129,3000,2779,3078,3183,3133,2833,2395,1891,2006,2587,2863,2735,2846,3062,3708,3437,3215,3140,3382,3726,3974,4300,4353,4187,4312,4124,3353,2812,3312,3939,3982,4280,4311,4263,4273,3460,2344,2309,3088,3374,3416,3239,3006,3111,3134,2869,3120,3693,3437,2484,2480,3392,3720,3632,2986,2315,1759,1740,2611,2612,3006,2991,2644,3516,3952,3762,3328,3385,3570,3415,3248,2520,2142,2257,2224,1751,1655,1618,1923,2230,2212,2170,2233,2264,2194,2002,1995,2035,1969,3289,3951,3399,2900,2467,2582,3406,3574,3120,3714,4781,3560,1955,1793,1616,1421,1832,1682,1689,1652,1521,1532,1552,1519,1492,1441,1714,1788,1945,1975,2250,2329,1797,2024,1862,1779,1749,1791,1817,1471,1300,1296,1369,1528,1442,1234,1465,1247,1092,1220,1259,1397,1428,1445,1497,1729,1888,1952,2163,1828,1561,1594,2201,2385,2088,1904,1816,1837,1804,1730,1835,2137,2401,2283,2039,2130,2257,2300,2230,2020,1876,1452,1389,2321,2271,1517,1248,1476,1282,1307,1831,1580,1791,2509,2736,3031,2255,1441,1340,1388,1186,1352,1809,2032,1432,1560,2021,1809,1266,810,987,1129,1001,1219,1462,1067,1697,2175,1937,1767,1526,1538,1714,1363,1394,1610,1702,1394,1305,1372,1515,1532,1521,1545,1419,1444,1567,1482,1499,1516,1661,1724,1443,1674,1514,1249,1225,1304,1264,1272,1213,1255,1176,1164,1207,1319,1347,1343,1284,1488,2822,3465,3789,4407,4108,3527,3252,3123,2563,2767,2898,2946,2955,2628,2620,2984,2346,1746,1968,1714,1461,1455,1571,1858,1551,1620,1551,1412,1619,2342,2564,2321,2474,2686,2198,2490,2713,2360,2510,2653,2403,1712,1603,2020,2328,2372,2785,2777,2203,1703,1701,2396,2200,1999,2176,1661,1736,1790,1952,2002,1603,1638,2140,1944,1744,1498,1426,1459,1463,1373,1705,1894,2117,1985,1508,1278,1529,1712,1417,1490,1519,1541,1902,2024,1691,1426,1488,1735,1813,1606,1706,2286,2240,2491,3222,3094,1963,1598,1700,1859,1761,1652,1660,1628,1561,1506,1620,1766,2044,1763,2320,2310,1779,2161,2287,1614,1483,1643,1656,1461,1609,1887,1643,1653,2059,1972,2144,2014,1684,1415,1422,1612,1404,1571,1928,1591,2039,1715,1825,1954,1776,1722,1841,1835,1895,1642,1565,1744,1827,1961,2027,2191,2351,2657,2711,2228,2041,1833,1787,1662,1461,1502,1169,1282,1762,2135,1850,2041,2230,2019,2297,2244,2101,2004,2182,2336,2439,2319,1872,1656,1526,2046,2336,2505,2519,2686,2479,2125,1996,1721,1920,1818,1973,2257,1875,1650,1826,1644,2061,1962,1404,1366,1521,1879,2116,2145,1820,1734,1727,1688,1650,2038,2048,1899,1575,1594,1935,2147,2309,2403,2240,1717,1687,1608,1361,1621,1772,1512,1504,1752,1677,1455,1479,1459,1566,1480,1388,1422,1382,1445,1526,1470,1456,1512,1971,2233,1444,1451,1769,2388,2398,2317,2553,2182,1837,1733,1495,1428,1572,1720,1828,2328,2588,2576,2127,2352,2889,3415,2699,1409,1300,2510,3262,2857,2333,1903,1808,1939,2915,2533,2464,2624,2327,2122,1987,1701,1827,2333,1581,1553,1459,1582,2623,3140,2574,2204,1865,2597,3544,3471,2956,2906,2675,2596,3052,2955,2362,1693,1738,1677,1455,1512,1476,1482,1650,1627,1386,1439,1426,1422,1396,1274,1343,1470,1492,1579,1577,1534,1589,1535,1446,1242,1284,1449,1271,1274,1371,1511,1618,1553,1699,2229,2322,2421,2148,1879,1870,1824,1711,1482,1399,1395,2170,1874,1569,1644,1350,1524,1466,1324,1684,2302,1706,1372,1415,1379,1577,1627,1527,1449,1403,1366,1684,2424,2011,1344,1470,1753,1773,1555,1412,1451,1560,1604,1436,1406,1575,1356,1328,1200,1316,1768,1970,2052,1733,1360,1399,1410,1355,1394,1432,1304,1213,1332,1303,1412,1887,1553,1502,1432,1750,1813,1948,2287,2161,1972,1756,1575,1417,1296,1432,1753,1515,1215,1216,1475,1512,1359,1403,1484,1509,1440,1648,1715,1532,1733,1981,1881,1807,1782,1703,1659,1798,1873,1789,2030,1909,1921,1637,1400,2060,2635,2558,2810,3066,2559,2458,2636,2623,3104,3272,3161,3001,2952,3027,3285,3166,2800,2641,2724,2613,2218,2736,3172,3349,3289,2939,2906,3068,3563,3154,2674,2579,2524,2380,2214,1954,2396,2576,2552,2544,2324,2613,2762,2952,3306,3088,2670,2759,2686,2754,2776,2374,2039,2041,2513,2658,2744,2741,2535,2566,2642,2879,2652,2573,3156,2891,2058,1808,2226,2423,2560,3017,3527,3507,2607,2677,2564,2159,1682,1402,1390,1269,1305,1373,1304,1282,1356,1347,1274,1328,1445,1333,1423,1248,1314,1322,1380,1498,1514,1286,1354,1505,1848,2458,2092,1604,2448,2452,1854,2548,3876,4449,4204,3514,2112,1744,1607,1687,1733,1963,1930,1267,1315,1714,1614,1792,2014,2059,1913,1908,1883,1749,2045,2339,2540,2209,2040,1543,1806,2219,2284,1836,1383,1758,2331,2219,2451,2331,2183,2618,2094,1918,2375,2280,2128,2025,2318,2200,2085,2113,2405,2585,2468,2388,1949,1953,1750,1948,1798,1937,2041,1918,1942,1924,1505,1428,1672,1682,2209,2115,1849,2380,2022,1791,1755,1848,1726,1686,1908,2058,1822,2060,2047,2297,2448,2197,1910,1762,1818,1830,1809,2259,2499,2434,2208,2338,2288,2209,2261,2276,2169,2476,2854,3642,3203,2409,2364,2148,2229,2309,1870,1656,2066,2152,2446,2510,2269,2844,2274,1895,2165,2544,2423,2196,2482,2608,2553,1979,2027,2056,1800,1875,1546,1517,1630,1372,1440,1444,1518,1747,1477,1154,1330,1561,1518,1482,1537,1573,1612,1679,1604,1647,1587,1757,2022,2168,2234,2087,1952,1934,2011,2115,2222,2266,2337,2357,2174,1775,1654,1544,1444,1384,1370,1515,1715,1849,2112,2227,2196,2331,2532,2322,2324,2014,1795,1553,1318,1679,1838,1940,2189,1930,2182,2626,2160,2088,1797,2014,1742,1617,2196,2159,1748,1660,1576,1590,1875,1871,2322,2398,2546,2237,2008,2007,2166,2071,1875,1982,2108,2286,2244,1982,2230,2789,2998,2274,2437,2508,1922,1630,1677,1464,1390,1581,2206,2336,1857,2097,2397,2229,2439,2856,2391,1923,2094,1788,1575,1823,2086,1797,1668,1976,1716,2103,2359,2076,1736,1893,1887,1738,1679,2024,2389,2120,2013,1829,1842,1830,1999,1444,1104,1229,1366,1528,1674,1482,1335,1488,1699,1623,1671,1663,1794,2355,2902,3044,3044,2934,2289,2137,2265,2355,1859,2062,2049,2048,1697,2021,1724,1542,1653,1563,1692,1682,2241,3226,3131,2884,3032,3151,3212,3225,3389,3552,3204,2860,3029,2767,1924,1941,2223,1963,1942,2001,2689,3467,3555,2975,2271,1775,1447,1544,1575,1326,1418,1655,1867,1497,1208,1362,1293,1260,1400,1359,1391,1381,1450,1835,1664,1395,1478,1356,1354,1481,1859,1695,1382,1550,1756,1712,1786,1570,1638,2055,2774,2408,2727,2452,2197,1836,1688,1942,1619,1532,1730,1694,1544,1656,1817,1767,1447,1543,1565,1680,1652,1798,1750,1584,2330,2319,1787,1819,2159,1720,1523,1675,2078,2823,2384,1905,2854,2872,2006,1850,1746,2040,2088,2314,2622,2693,2600,2420,2263,2546,3090,3060,3636,3399,3437,3485,3024,2510,3021,3270,3183,3015,2760,2382,2262,1954,1939,2433,2553,2302,2317,2106,1674,1714,1952,1892,1645,1656,1516,1366,1516,1802,1986,2219,2714,2094,1690,1769,1954,2095,2517,2530,2268,2053,2090,2588,2564,2296,1940,1974,2101,2222,2030,1697,1698,1779,2037,2574,2268,2050,2018,2381,2625,3526,3739,3270,2358,2432,3257,2950,2336,2546,2766,2272,2360,2387,2668,2643,2391,2476,2642,2624,2572,2584,2648,2588,2511,2458,2710,2865,2810,3310,3845,3753,3640,3583,3575,3598,3376,3292,3491,3278,2834,2807,2634,2428,2062,2069,2146,2135,2297,2343,2146,1924,1496,1554,1565,1632,2072,2453,2402,2420,2312,1767,1438,1393,1599,1588,1718,2325,2156,2001,2512,2165,1573,1603,1962,1798,1497,1409,1571,1802,2037,2304,2158,1911,1860,1866,2042,1697,1688,2071,2318,2979,2985,2797,2757,1931,2542,3209,2278,1776,1667,1600,1566,1582,1540,1544,1556,1723,1860,1743,1980,1904,1846,1766,2156,3110,3219,2630,2304,2491,2417,2026,1932,1881,1998,2005,2122,2341,2014,2224,3010,3472,3675,3146,2437,2270,1997,2344,3094,2626,1793,2203,2890,3432,3219,2318,2010,1966,1919,2045,2151,2432,2402,2053,1792,2109,2535,2055,1649,1566,1189,1123,1567,1715,1836,2456,2719,2181,2174,2049,1801,1967,2140,2122,2099,1968,2177,2620,2211,2204,2576,2043,1926,2185,2568,3396,3551,2933,2841,2633,2098,1896,1741,2033,1959,1916,1580,1760,2005,2356,2027,1823,2074,2135,1913,1821,1964,1874,1893,2649,3375,3043,2396,2055,1914,2272,2587,2183,2010,2144,2700,2796,2576,2728,2124,1853,2147,2489,2351,2216,2135,2021,2408,3199,3265,2918,2244,2363,2640,2815,2781,2292,2308,2352,1943,1946,2362,2390,2380,2714,2551,2531,2229,2078,1798,2324,2014,1758,2022,2078,2090,1694,1814,2675,3077,2894,2776,2553,2035,1729,2160,2686,2977,2894,2342,2108,2114,1875,1682,1795,2041,2046,1437,1744,2647,2877,2613,2608,2545,2601,2162],[2593,2539,2598,2611,2767,2703,2623,2666,2785,2867,2919,2828,2751,2709,2713,2849,2898,2909,3095,3440,3531,3982,3898,3617,3496,3420,3409,3252,3090,3017,2958,2980,2932,3002,3064,3017,2963,2906,2772,2663,2879,3030,3230,3410,3378,2994,2811,3123,3222,3407,3792,3907,4051,3408,2083,1316,1833,2395,2154,2376,3227,3523,3503,3656,3816,3539,2724,2520,2587,2197,2246,2811,3339,3432,2880,2470,2050,2337,3054,2378,2424,2394,2101,2039,2071,2249,2647,2975,2600,2962,3364,2939,2587,3142,3621,4063,4553,3979,3517,3758,3820,3663,3563,3090,2049,1072,1180,1463,1880,2261,2117,2050,2377,2736,2674,2109,2136,2135,2567,2544,2710,2740,3077,2557,2706,3227,3016,2712,2340,2317,2569,2662,2696,2889,2811,2836,2845,2778,2943,3110,2331,1760,2093,2185,2107,2443,2822,2911,3662,3590,3518,2850,2684,3361,3939,4225,4408,4648,4871,4816,4352,3869,4356,4220,4133,4584,4392,4259,4333,3709,2545,2387,2958,2997,3094,3048,2874,2876,3173,2942,3586,4229,3371,2052,2622,3949,3663,2541,2241,2198,1674,1696,2231,1964,2291,2601,2898,3243,3516,3350,2972,3493,3654,3507,3249,2690,2820,2863,2120,2136,2116,1843,2314,2567,2117,2120,2284,2599,2990,2788,2194,1763,2248,3529,3257,2735,2495,2150,2779,3639,3142,3302,4308,4501,2939,1975,1880,1622,1674,1971,1764,1765,1762,1751,1848,1675,1746,2128,1962,2067,2272,2461,2053,2556,2304,1580,1504,1395,1394,1726,1668,1584,1367,1367,1349,1316,1409,1298,1216,1548,2359,2843,1744,1227,1267,1239,1085,1339,1535,1682,1664,1764,1621,1664,1700,1960,2286,2229,1902,1937,1846,1644,1500,1730,1972,2053,2097,2120,2208,2349,2336,2030,1665,1432,1399,2132,2810,1963,1279,1354,1771,1205,1386,1923,1405,1799,2667,2494,2199,1483,1400,1294,1298,1270,1384,1757,2069,1705,1777,2099,1410,1097,918,1297,1400,1340,1416,1581,1173,1664,2285,1933,1658,1760,1674,1845,1196,1202,1288,1707,1587,1566,1735,1740,1666,1562,1428,1445,1621,1612,1582,1621,1460,1311,1455,1285,1378,1480,1334,1214,1223,1282,1442,1239,1272,1195,1307,1472,1432,1371,1460,1208,1828,2802,2644,3381,4145,4025,3597,3194,3160,2697,2900,3076,3010,2979,3074,3029,2799,2039,1751,2178,1898,1508,1338,1292,1436,1643,1614,1354,1495,2354,2552,1949,1844,2055,2168,2058,1981,2314,2206,2226,1953,1854,1661,1377,1745,2122,1760,1615,2211,2002,1957,1869,1919,1809,1887,1908,1721,1855,1794,1673,1666,1472,1537,1907,2003,2248,1716,1496,1667,1556,1632,1962,2458,2765,2075,1498,1459,1600,1670,1464,1556,1641,1667,2214,2283,1699,1440,1592,1698,1574,1593,1803,2547,2506,3174,3451,2404,1646,1731,1678,1759,1845,1764,1555,1744,1787,1770,1769,1796,1989,1711,1941,2362,1873,1813,1892,1469,1443,1567,1496,1476,1505,1799,1755,1785,2216,2311,2383,2190,1661,1383,1514,1554,1686,1862,1852,1664,1924,1506,1861,2508,1967,1715,1941,1746,1793,1622,1440,1506,1758,1757,1901,1905,1983,2104,2052,2064,2133,2077,1997,1881,1834,1747,1570,1727,2009,2035,2232,2619,2452,2272,2474,2479,2299,2247,2557,2385,2034,2112,2057,1895,2042,2575,2567,2518,2417,2406,2217,2344,2289,2144,2405,1910,1641,1534,1532,1578,1535,1727,2298,2099,1474,1388,1559,2207,2658,2548,2018,1818,2067,1826,1464,1699,2066,1911,1619,1774,1937,1889,2458,2416,2335,1681,1884,1798,1470,1725,1747,1560,1531,1504,1719,1839,1823,1749,1509,1425,1433,1389,1575,1904,1799,1388,1332,1411,1630,1856,2194,2277,1578,1837,2273,2640,2642,2027,1658,1594,1470,1496,2010,2172,1816,2741,2860,2339,2113,2754,3286,3232,2329,1365,1767,3017,3306,2611,2211,1945,1726,2171,3260,2982,2523,2502,2555,2365,1939,1601,2051,2477,1770,1663,1509,1479,1786,2210,2307,1769,1713,2485,3425,3602,3244,3110,2924,2803,2895,2821,2208,1707,1687,1505,1478,1519,1481,1529,1634,1545,1462,1341,1624,1583,1444,1387,1446,1456,1528,1650,1696,1526,1513,1616,1458,1306,1433,1404,1343,1270,1397,1548,1627,1528,1774,2593,2924,2581,2050,2185,2139,1909,1768,1636,1465,1411,1793,1829,1706,1562,1486,1659,1504,1559,1942,2547,1863,1432,1445,1532,1807,1884,1541,1393,1399,1382,1637,2242,1803,1389,1299,1462,1544,1382,1365,1449,1408,1499,1354,1348,1583,1578,1546,1615,1570,1790,1976,1831,1437,1324,1451,1305,1455,1662,1607,1463,1238,1316,1226,1314,1560,1511,1425,1373,1643,2011,2227,2151,2060,1967,1700,1488,1512,1220,1335,1438,1235,1100,1231,1354,1280,1195,1299,1460,1313,1417,1382,1431,1381,1338,1408,1365,1493,1851,1951,1950,1970,1920,2064,2093,1982,1979,1316,1318,2303,2912,3074,3326,2924,2292,2515,2422,2163,2672,3015,2979,2921,2822,2530,2774,3089,2732,2099,2074,2551,2886,2941,2797,2975,3113,3022,2899,3340,3673,3128,2568,2629,2775,2913,2329,2039,2265,2307,2381,2777,2944,2930,2786,2718,3057,3123,2741,2752,2789,2966,2732,2069,1884,1917,2493,2619,2641,2961,3121,3065,2724,2816,2968,3326,3527,3075,2062,1780,2163,2431,2707,3091,3565,3218,2091,2247,1808,1776,1683,1472,1686,1568,1517,1409,1284,1361,1361,1426,1481,1404,1332,1293,1514,1316,1284,1433,1526,1287,1293,1439,1439,1438,1566,1843,1327,1377,1854,1742,1792,2981,4051,4264,3783,2403,1607,1559,1733,1798,1771,1732,1831,1621,2048,1798,1637,2152,2231,1963,1861,1962,2047,2023,1878,1960,2172,1770,1493,1469,1826,1677,1618,1404,1311,1824,2097,2170,2404,1788,1934,2080,2416,2137,2021,2227,2083,1938,1983,1939,2086,2203,2327,2065,2003,2160,1924,1984,2038,2582,2935,2709,2237,2074,1910,1665,1414,1502,1615,1675,2146,1580,2097,2674,2460,2263,2181,2116,2355,2484,2397,2050,2099,2037,1853,2272,2214,2019,1838,1802,1886,1763,1864,2147,2336,2125,1688,1995,2181,2042,1933,1989,2950,2767,2658,3327,2745,2077,1919,2160,2138,1936,1792,1751,2119,2279,2376,2069,2307,2181,1870,1974,1660,1837,1947,2054,2116,2187,2162,2001,1997,1644,1361,1330,1347,1771,1544,1531,1652,1520,1815,1738,1263,1225,1335,1400,1465,1470,1533,1666,1773,1873,1792,1866,1738,1909,1921,1843,1951,2031,1989,1896,1853,2014,2144,2136,2217,2096,1869,1575,1862,1765,1528,1381,1353,1523,1565,1769,2129,2307,2352,3350,4387,4341,3295,2171,1649,1441,1515,1691,1801,2172,2462,2267,2611,2877,2770,2094,1774,1992,2054,1859,2462,2813,1612,1478,1462,1692,1823,1752,1789,1615,2262,3109,2998,2198,1839,1694,1571,1685,1666,1917,1864,1919,2015,2581,2828,3057,2743,2195,2054,1821,1569,1518,1818,2286,2398,2419,1923,2160,2089,1798,2201,2640,2103,2127,2499,2452,2675,1926,1757,1684,1588,1808,1986,2205,2320,2136,1785,1715,1668,1715,1666,1424,1523,1676,1857,1883,1881,1620,1549,1522,1355,1390,1551,1712,1990,1587,1387,1640,1887,1682,1814,1818,2228,2953,2841,2331,2368,2236,2144,2292,2022,2016,1975,2003,2062,2238,2216,2150,1708,1703,1877,1514,1461,1632,1990,3020,3055,2760,2976,3153,3211,3226,3349,3535,3554,3362,3272,3174,2414,1903,1964,2372,2570,2408,3117,3660,3485,3184,2421,1567,1261,1367,1279,1318,1442,1631,1649,1369,1292,1638,1562,1372,1367,1266,1269,1374,1637,1498,1328,1341,1348,1400,1454,1837,2034,1602,1652,1837,1800,1663,1606,1501,1764,2835,2918,2181,2041,2043,1728,1087,1694,2416,1551,1315,1426,1775,1766,1618,1917,1747,1625,1702,2136,2087,1719,1821,1839,1954,2295,2384,1914,1865,2379,2109,1354,1583,2608,3063,2548,2312,3022,2946,1919,2279,2542,2722,2499,2093,2050,2366,2604,2382,2190,2479,3156,3117,2792,2618,2931,3183,2722,2146,2097,2530,3034,3068,3171,2963,2507,2038,2113,1916,1892,1873,2099,2099,1807,1708,1882,1620,1683,1673,1406,1479,1494,2147,2352,2712,2890,2581,2046,1793,2063,2619,2574,2254,2008,1700,1587,2304,2060,2081,2619,2610,2113,1868,2104,2213,2147,1785,2279,2745,2771,2389,2226,2276,2370,2834,3375,2928,1982,2473,2941,2550,2260,2466,2336,2236,2310,2472,2626,2630,2680,2764,2497,2260,2498,2589,2735,2458,2563,3099,3904,3538,3358,3761,3926,3741,3764,3705,3691,3776,3830,3896,3811,3494,3121,2441,2385,2541,2331,2220,2236,2136,2462,2786,2429,2062,1742,1710,1704,1613,1583,1614,1800,2334,2401,1980,1613,1504,1547,1461,1950,2510,2387,2394,2807,2642,2078,1582,1597,1680,1474,1335,1592,1593,1562,1948,2047,2130,2078,2005,1945,1727,1872,2131,1802,2108,2183,2375,2360,1939,2504,2542,1947,1671,1571,1489,1670,1748,1387,1500,1553,1676,1983,1769,1684,1624,1993,2291,2908,3581,3125,2464,2260,2239,2098,1854,2220,1898,2037,2620,2954,2916,3325,3781,3764,3462,3349,3222,3000,2824,2494,2625,3021,2699,2310,2729,3017,2735,2285,2492,3030,2386,2131,1942,1979,2013,2106,1692,1611,2089,2105,1814,1782,1693,1453,1266,1638,1695,1626,1937,2649,2452,2169,1799,1628,1977,1958,2096,2172,2055,2476,2802,2801,2672,2712,2125,1968,2039,1959,2618,3178,2648,2046,1864,1816,1925,1987,2193,2042,1725,1424,1814,2216,2071,1745,1841,2060,1901,1841,1936,1953,1793,2222,2372,2590,2412,2248,2237,2006,2121,2480,2142,2250,2303,2579,3211,3388,2501,1935,1841,1844,2320,2541,2384,1947,1909,2270,2588,2805,3003,2425,2161,2256,2101,1958,1922,2221,2266,1779,1975,2785,3318,3078,2931,2588,2691,3123,2900,2458,2121,1840,2180,2041,2457,2230,1635,2314,3057,2874,2544,2445,2217,1880,1774,1901,2589,3160,3165,2192,1620,2214,2054,1828,1971,1867,1736,1307,1401,2371,2679,2784,3083,2839,2739,2212],[2177,2254,2419,2601,2626,2441,2369,2417,2720,2951,2956,2889,2815,2732,2841,3081,2994,3016,3153,3233,3398,3761,3742,3588,3510,3506,3464,3373,3203,3173,3214,3271,3104,3005,2994,3194,3141,2986,2745,2611,2797,3064,3106,3147,3024,2940,2764,3234,3328,3454,3754,3806,3740,3462,3002,2651,2799,3408,3234,2923,3443,3422,3394,3551,3654,3054,2367,2116,1943,1836,1874,2282,2764,3098,3205,2420,1815,1934,2556,1985,2160,2499,2142,2034,2448,2338,2545,3351,3439,3608,3554,3334,2776,3491,3685,3790,3903,3431,3333,3471,3426,3265,3176,3190,2483,1560,1345,1367,1672,1655,1405,2088,2602,2274,2855,2676,2685,2512,3006,2695,2626,2422,2381,2229,2276,2358,2790,2953,2556,2534,2106,2128,2578,2563,2644,2786,2751,2772,2958,3090,2562,1842,1614,2626,2730,2181,2335,2518,3218,3536,3254,2557,2266,2647,3602,4030,4243,4295,4572,4328,4608,4833,4796,4363,4152,4517,4492,4283,4082,2927,2251,2579,3140,3135,3112,3003,2862,2855,3558,3592,3635,3880,3143,2414,3096,3811,3410,2063,1949,1803,1564,1444,1642,1615,2137,2814,3068,3399,3997,3520,2520,2964,3496,3298,2974,2816,2843,2761,2351,2534,2643,2369,2752,2779,2131,2293,2103,1731,2310,2169,1819,1929,2783,3146,2874,2662,2377,2381,2930,3670,3460,3664,4232,3603,2543,2125,1770,1396,1670,2133,2254,2227,2004,2500,2007,1486,1898,2336,2302,2179,2304,2490,2544,2763,2232,1744,1592,1505,1772,2128,1682,1390,1390,1415,1472,1520,1465,1355,1371,1772,3166,3045,1492,1125,1207,1356,1238,1490,1528,1334,1372,1482,1614,1883,1873,1782,1772,1864,1923,1816,1794,1743,1636,1861,2156,2321,2348,2249,2218,2286,2190,1855,1350,1332,1844,2189,1830,1261,1323,1854,1810,974,1520,1819,1417,2089,2670,2809,2192,1515,1399,1348,1166,1139,1423,1501,1548,2008,2366,2166,1316,1196,1092,1521,1500,1246,1248,1285,1217,1655,2187,1874,1626,1802,1714,2151,1582,1356,1693,2116,2263,2153,2030,2196,2269,1827,1472,1613,1596,1791,1866,1822,1733,1585,1410,1360,1228,1248,1257,1203,1338,1333,1290,1281,1327,1265,1532,1710,1482,1507,1524,1281,1869,2282,1990,2824,3067,3311,3496,3365,2796,2867,3031,2900,2878,2945,2981,2999,2972,2187,1736,1766,1690,1512,1506,1339,1489,1825,1684,1544,1725,2204,2232,2115,2057,1953,2256,2322,2331,2381,2400,2414,2098,2004,1926,1396,1808,1944,1268,1350,2080,1919,1864,1688,1496,1543,1694,1705,1940,2213,1553,1399,1613,1535,1599,1908,2626,2463,1875,1751,1498,1524,1716,1744,2085,2507,1692,1456,1332,1417,1548,1484,1541,1559,1966,2665,2299,1597,1527,1514,1334,1649,1720,1848,2678,2799,2827,2574,1818,1649,1672,1777,1674,1760,1631,1655,1808,2019,2214,2268,2028,1873,1737,1626,1620,1541,1737,1577,1544,1596,1657,1588,1573,1501,1622,1704,1730,2108,2526,2277,1960,1619,1450,1871,1914,2039,1921,1660,1899,2242,1669,2041,2912,2127,1813,2330,1622,1596,1533,1395,1555,2029,1860,1830,1651,1521,1798,1821,1882,2021,1982,2044,1996,1983,1996,2087,2171,2121,2264,2372,2194,2281,2504,2736,2764,2625,2290,2223,1965,1760,2150,2098,1885,2663,3064,2641,2436,2276,2300,2387,2392,1976,2248,2404,2082,1691,1482,1646,1616,1451,1691,1937,1850,1790,1632,1495,1967,1957,2107,2033,1760,1806,1650,1468,1424,1405,1369,1455,1463,1626,1852,1921,1679,1633,1561,1885,1796,1561,1804,1766,1605,1532,1417,1626,1922,1737,1714,1551,1402,1338,1400,1476,1459,1393,1401,1437,1380,1641,1908,2329,2508,1900,1744,2089,2038,2065,2010,1744,1875,1905,1388,2167,2184,1532,2188,2283,1902,2352,2984,2931,2922,1906,1238,2084,2888,2712,2354,2084,1988,1710,2274,3110,2803,2297,2026,2192,2382,2047,1746,2548,2342,2453,2396,1791,1422,1375,2071,2700,2079,1870,2498,3183,3260,3193,2985,2654,2758,2776,2500,2034,1927,1709,1467,1481,1533,1490,1619,1786,1592,1408,1322,1506,1572,1640,1706,1613,1598,1438,1572,1905,1586,1440,1584,1445,1516,1587,1548,1585,1396,1337,1510,1705,1448,1619,2041,2146,1900,2008,2198,2045,1748,1683,1680,1540,1623,2117,2380,1912,1591,1505,1577,1784,1730,1965,1917,1448,1383,1413,1523,1828,1896,1543,1448,1440,1316,1612,1790,1703,1681,1557,1561,1646,1372,1445,1588,1368,1585,1457,1344,1481,1512,2017,3038,2591,1814,1860,1610,1406,1566,1798,1508,1528,1780,1676,1439,1307,1322,1211,1318,1427,1488,1477,1339,1388,1706,1970,1628,1569,1571,1302,1595,1632,1266,1319,1538,1292,1171,1320,1331,1167,1225,1284,1378,1416,1448,1353,1305,1315,1407,1274,1108,1407,2142,1616,1821,1864,1855,1787,1825,1970,2046,1784,1755,2446,2670,2714,3032,3008,2862,2964,2706,2416,2712,2667,2758,2959,2684,2653,3232,3286,3021,1822,2054,2798,2718,2724,2740,2793,2933,2972,2944,2935,2642,2420,2452,2634,2552,2620,2392,2345,2509,2542,2452,2728,2925,2772,2476,2440,2741,3003,2304,2441,2910,2700,2358,2178,2144,2288,2766,2956,3117,3231,3156,2899,2979,2630,2650,3286,3638,3365,2720,2343,2570,2894,2934,3194,3637,2764,2546,2830,2082,1592,1522,1433,1517,1693,1832,1524,1246,1263,1292,1387,1454,1436,1338,1290,1374,1330,1367,1476,1336,1200,1372,1416,1518,1686,1558,1348,1300,1572,1418,1444,1698,2325,2727,2592,2407,2098,1788,1888,2066,1842,1701,2037,2215,1727,2159,2008,1854,2231,1876,1788,1928,1902,2080,2242,1672,1506,1671,1532,1550,1650,1598,1528,1450,1356,1324,1678,2066,2432,2796,1898,1966,2374,2210,1990,2078,1858,1596,1816,1995,1837,2080,2217,2220,2092,2045,2518,2491,2604,2967,2905,2928,2350,1853,1729,1414,1208,1352,1464,1902,2169,2315,2143,2282,2291,2238,2456,2477,2453,2622,2382,2144,1804,2072,2552,2216,2036,2001,2043,1933,1670,1708,1838,1803,1785,2164,1798,1423,1741,2164,2159,1933,2224,3558,3344,2496,2588,2148,1455,1360,1902,1996,1983,1959,1964,1930,1648,2029,2875,2801,2313,2336,1983,1738,1769,2043,2050,2070,1990,1898,1792,1862,1675,1522,1781,1762,1603,1349,1251,1357,1487,1749,1501,1204,1336,1418,1348,1256,1359,1671,1630,1671,1709,1614,1698,1809,1666,1534,1569,1855,2168,2121,1879,1655,1888,1854,1775,2159,2162,1878,1657,1671,1622,1561,1484,1651,1515,1542,1916,1904,2408,2558,3842,5081,4808,3499,2198,1651,1560,1651,1606,1830,2280,2507,2525,2619,2553,2817,2197,1955,1969,1960,1736,2188,2615,1503,1499,1542,1998,1655,1841,1749,1343,2016,3265,3514,3076,2651,1947,1794,1769,2285,2174,2270,2311,2060,2106,2026,2889,3100,2649,2431,2197,1918,1724,2198,2362,2209,2385,2212,2008,1668,1782,2308,2360,1963,1836,1730,2019,2401,1801,1672,1771,1569,1370,1803,2030,2138,2163,2075,2120,2008,2062,1668,1484,1538,1587,1654,1740,1688,1513,1788,2021,1758,1844,1733,1703,1771,1467,1925,1977,1513,1715,2236,2216,2114,2171,2297,1715,1939,1862,1942,2166,2327,2142,2067,1869,2040,2283,2059,1746,1804,1641,1368,1268,1548,1754,1952,3111,3320,3064,3141,3177,3388,3420,3441,3579,3753,3593,3266,3308,3012,2284,1822,2509,2940,2313,2513,3394,3419,3212,2233,1649,1302,1354,1416,1380,1494,1700,1576,1326,1556,1676,1506,1277,1177,1267,1320,1397,1594,1506,1354,1346,1432,1404,1553,2221,2150,1463,1532,1623,1452,1475,1710,1783,1742,1880,1655,1382,1299,1411,1552,1683,2822,2647,1693,1326,1348,1476,1852,2411,2144,1802,1743,1720,2221,1836,1518,1531,1710,2088,2160,2092,1852,1983,2534,2172,1633,1930,2491,2390,2216,2268,2594,2952,2078,2229,2289,2406,2374,2374,2300,2396,2441,1661,1930,2668,2766,2193,2263,2575,2670,3081,2770,2380,2676,2954,3374,2468,2558,3078,3000,2533,2296,2454,2430,2280,2276,2302,2153,1745,1864,1542,1698,1628,1444,1731,2132,2487,2557,2933,3134,2766,2182,2088,2112,1781,1737,1958,1670,1498,1648,1971,2030,2490,2921,2964,2392,1975,2898,3082,3275,2744,2764,2587,2607,2714,2438,2354,2230,2122,2428,1954,1988,2836,2830,2272,2358,2836,2769,2508,2308,2259,2556,2957,2727,2582,2604,2939,3320,2964,2879,2656,3016,3991,4484,4355,4560,4633,4236,4006,3743,3648,3681,3660,3749,3728,3706,3529,3528,2972,2392,2570,2808,2369,2264,2280,2569,2749,2344,2076,1729,1771,1777,1577,1516,1510,1628,1815,1806,1619,1556,1689,1532,1247,1544,1874,1810,2119,2486,2600,2200,1800,1700,1549,1316,1436,1624,1428,1152,1340,1660,1839,1974,2021,2024,1873,1861,2197,1932,1883,1858,2039,1919,1762,1764,1788,1847,1689,1516,1559,1908,1859,1554,1581,1614,1963,2013,1735,1688,1683,2010,2599,3185,3068,2584,2324,1952,2029,2128,2019,2558,2455,2707,3297,3392,3507,3790,3824,3746,3343,3386,3418,2986,2573,2586,2595,2718,2824,2565,2380,2252,1821,1980,2818,3289,2293,1887,1758,1930,2113,2679,2315,1953,2066,1902,1743,1678,1860,2032,1949,1676,1537,1848,1807,2126,2336,2335,1779,1828,2021,1220,1584,1960,2141,2670,2739,3049,3239,2853,2342,2295,2340,2600,2503,2322,1820,1828,1974,1912,2056,2188,2314,2309,1871,1458,1672,2016,2115,1871,1800,1860,1826,1859,1911,1968,1830,1853,1947,2020,2078,2219,1973,1481,1591,1972,2075,2467,2471,2820,3551,3362,2401,1840,1810,1915,1796,1809,2000,1947,1822,2054,1814,2004,2129,2082,2238,2133,1900,1944,2112,2646,2477,2308,2544,2896,2972,2808,2634,2268,2641,3479,3365,2709,2578,2668,2420,2060,2736,2544,1886,2852,3356,3085,2688,2230,1817,1664,1486,1842,2780,3087,2942,1989,1643,1942,2103,2030,1751,1780,2076,2236,2172,2326,2737,2985,2996,2511,2313,2194],[2103,2248,2380,2625,2610,2532,2474,2501,2776,3025,2928,2790,2772,2733,2854,3074,2898,2987,2908,2905,3140,3442,3560,3437,3436,3608,3484,3380,3333,3370,3140,3274,3039,2828,3022,3231,3195,2937,2732,2731,2993,3260,3154,3134,3074,2911,2845,3130,3423,3733,3826,3780,3672,3520,3802,3293,3295,3826,3838,2599,2949,3244,3263,3444,3143,2792,2723,2310,1822,1752,1715,2157,1701,1779,2486,2085,1586,1872,1931,1613,2272,2837,2352,1767,2164,2196,2753,3516,3278,3183,3352,3365,3208,3051,2670,2564,2439,2495,2653,2900,2999,3064,3143,3397,3062,2029,1493,1553,1666,1437,1302,2215,2806,2401,2511,2437,2428,2566,2635,1899,1533,2066,2324,2222,2370,2352,3093,3139,2901,2638,2137,1953,2404,1876,1795,2531,3056,2988,2700,2542,2367,2614,2109,2556,2947,2492,2799,2607,2834,3012,2568,2879,2807,2804,3704,3764,4206,3989,3740,3607,4302,4681,4564,4627,4688,4669,4520,4382,3965,2698,2763,3176,3800,3753,3606,3622,3656,3226,3504,3653,3283,3429,2722,2284,3393,3978,3382,1889,1695,1992,1791,1517,1576,1704,2078,2677,2905,2624,3008,2851,1963,2501,3018,2777,2562,2497,2400,2155,1788,1929,2348,2587,2976,2877,2288,1971,1886,1613,1426,1396,1619,2235,2876,2817,3171,3388,3370,2775,2865,3277,3805,4025,3840,3224,2928,2589,2119,1927,1936,1692,2069,2671,2405,2589,2449,2028,2092,2426,2165,1938,2043,1842,1907,2354,2447,1833,1638,1426,1666,2029,1903,1493,1446,1749,1777,1565,1554,1809,2067,2302,2935,1988,1218,1006,1282,1213,1423,1722,1518,1316,1310,1395,1610,1867,1910,1692,1816,1807,2073,2017,2035,1858,1716,1845,2221,2491,2447,2286,2194,2155,2039,1569,1331,1737,2110,2006,1341,1304,1846,2298,1571,976,1809,1690,1331,2388,2881,3130,2134,1569,1463,1215,1196,1777,2187,1696,1424,2169,2421,2000,1327,1291,1223,1648,1416,917,972,1096,1285,1551,2120,2004,1407,1453,1732,2049,1587,1579,2446,2688,2379,2090,1730,1937,2067,1570,1475,1614,1477,1979,2165,2080,2003,1858,1983,1640,1354,1250,1190,1186,1284,1249,1120,1157,1232,1378,1634,1672,1494,1530,1432,1389,1428,1716,1774,2379,2309,2153,2489,2835,2591,2627,2753,3031,2847,2337,2100,2427,2384,1826,1741,1912,2153,1931,1799,1541,2080,2662,2301,2261,2431,2234,2439,2585,2381,2338,2382,2605,2578,2406,2260,2083,2274,2120,1954,1678,2114,2034,1789,1745,1730,1620,1600,1563,1394,1582,2099,2060,2053,2219,1570,1512,1578,1544,1746,2327,3230,3025,2762,2242,1761,2017,2279,1873,1918,1932,1505,1525,1525,1498,1608,1694,1542,1456,1896,2354,2314,1784,1672,1439,1854,2196,1755,2005,2787,3072,3120,2425,1723,1764,1788,1982,1537,1794,1668,1583,1605,1941,2132,1954,1768,1693,1831,1748,1829,1777,1696,1613,1381,1396,1549,1591,1716,1630,1417,1540,1659,1949,2325,1954,1729,1557,1610,2161,2348,1928,1448,1335,1670,1924,1709,2044,2254,1759,2140,2443,1689,1506,1497,1405,1706,1971,1688,1651,1580,1621,2023,1780,1672,1643,1681,1743,1849,1890,1947,1901,1896,1928,1970,1930,1945,2034,1993,1999,1956,1956,1896,2032,1975,2027,2289,2143,2045,2120,2496,2814,2627,2177,1936,2099,2196,1926,2184,2465,2159,1715,1449,1428,1421,1411,1898,2152,2046,1921,1627,1437,1781,1559,1728,1815,1439,1552,1693,1570,1389,1369,1382,1356,1326,1506,1627,1439,1355,1570,1614,1443,1484,1453,1691,1800,1652,1353,1332,1444,1500,1430,1490,1504,1344,1242,1388,1487,1575,1560,1490,1484,1368,1598,1877,2116,2133,1796,1912,1883,1680,2424,2559,1987,1716,1382,1268,1441,1498,1443,1748,2008,1970,2290,2282,2453,2576,1377,1210,2325,2669,2424,2299,2010,1843,1807,2220,2520,2145,2114,1970,1750,2016,2064,2353,2442,2670,3278,3190,2298,1514,1484,1978,2867,2328,1949,2615,2957,2709,2736,2854,2654,2491,2565,2371,2129,2257,1740,1688,1770,1732,1882,1759,1744,1595,1593,1594,1443,1451,1573,1726,1597,1552,1493,1527,1554,1724,1446,1345,1521,1615,1695,1772,1470,1322,1523,1597,1640,1534,1361,1342,1642,1808,1884,2081,1865,1628,1710,1509,1377,1570,1809,2482,1891,1617,1484,1686,1918,1546,1415,1382,1510,1488,1284,1244,1498,1348,1330,1387,1272,1261,1443,1427,1436,1664,1723,1626,1722,1387,1506,1488,1442,1626,1759,1484,1377,1338,1638,2148,1810,1391,1474,1455,1628,1777,2188,2029,1538,1501,1488,1272,1269,1214,1124,1164,1416,1428,1519,1362,1311,1698,1695,1534,1490,1256,1306,1621,1573,1312,1287,1434,1143,1292,1667,1426,1332,1377,1411,1392,1448,1474,1366,1474,1485,1632,1386,1377,1295,2054,1695,2217,2089,1861,1811,1704,1874,2107,1947,1640,2170,2114,2365,2525,2642,2912,2942,2729,2684,2549,2251,2587,3320,3123,3343,3680,3396,3335,2642,3038,3454,2486,2455,3039,2792,2661,2684,2522,2542,2218,2493,2557,2596,2627,2604,2659,2806,2824,2644,2535,2688,2809,2869,2552,2171,2363,2553,2013,2764,3242,2860,2349,2271,2504,2416,2744,3178,3177,3288,3027,2488,2854,2539,2353,2993,3453,3239,2996,3184,3252,3239,3041,2979,3594,2579,2543,2394,1702,1414,1378,1405,1384,1403,1694,1523,1326,1295,1301,1329,1412,1445,1274,1285,1371,1326,1245,1253,1368,1631,1636,1718,1490,1248,1208,1576,1853,1721,1534,1729,1964,2434,2308,2335,2524,2297,1848,2071,1911,1492,1485,1928,1775,1535,1928,2002,1757,1908,1599,2050,1600,1636,2080,2125,1680,1951,2058,1618,1572,1551,1537,1600,1377,1377,1394,1972,2578,2696,2497,2309,2165,2205,1855,1530,1671,1516,1460,1815,1857,1591,1679,2285,2636,2960,2742,2729,2524,2407,2676,2668,2522,2269,2014,2155,1401,1271,1647,2081,2629,2894,2937,2840,2596,2719,2655,2590,2075,2234,2504,2102,1955,1731,1908,2322,2196,2178,2258,2310,2274,2029,2194,1957,1958,1853,1756,1435,1474,2164,2554,2297,1810,2432,3711,3047,2077,1865,1581,1376,1902,1767,1707,1974,2036,1998,1792,1708,2386,3287,2917,2349,2156,2013,1904,1856,1852,1749,1665,1613,1653,1626,1561,1613,1750,1865,1865,1692,1426,1057,1550,1829,1635,1338,1270,1388,1354,1304,1153,1207,1270,1357,1506,1663,1752,1832,1895,1910,1927,1806,1876,2138,2034,1951,1924,2416,2316,2050,2218,2343,2009,1901,1948,2007,2256,2330,1984,1570,1763,2350,2219,2453,2360,3212,4187,4437,3527,1960,1801,1693,1638,1709,1718,2022,1977,2025,2301,2846,2736,2319,2791,2590,1816,1712,1809,1625,1466,1626,1876,1954,2098,2293,2474,2808,2633,2557,2534,2440,2503,1882,2008,2245,2188,1977,2101,2352,2216,1783,2517,2975,2677,2651,2762,2420,2302,1670,1726,2297,2807,3195,2518,1708,1957,2485,2504,2032,1676,1578,1217,1191,1416,1455,1749,2026,1934,1885,2149,1911,1787,2300,2468,2377,2518,2158,1562,1825,1622,1416,1425,1365,1592,1954,2008,1881,1887,1931,1673,1787,1613,1415,1954,1914,1511,1690,2008,2013,2097,2643,2733,1856,1832,1618,1317,1935,2510,2155,1956,2023,1927,1746,1858,1892,1888,1531,1104,1025,1340,1679,1720,2732,3493,3359,3300,3351,3375,3508,3594,3781,3882,3729,3409,3304,3221,2648,2049,2428,2867,2335,3013,3619,3488,3215,2282,1645,1393,1355,1378,1337,1403,1675,1592,1607,1673,1364,1347,1277,1251,1350,1320,1233,1439,1513,1407,1479,1506,1384,1398,1815,1756,1448,1428,1444,1423,1415,1611,1606,1421,1360,1600,1577,1592,1509,1507,2261,3241,2897,2194,1727,1621,1810,2104,2197,1815,1786,1838,1521,1557,1483,1460,1748,1923,1853,1687,1561,1461,1671,2007,1914,2019,1905,1990,1937,1760,2376,2523,2185,1741,1703,2168,2358,2254,2418,1897,1951,1926,1441,2120,2543,2265,1888,2166,2485,2656,2990,2777,2778,2784,3544,3440,2103,2282,2486,2581,2615,2477,2600,2678,2436,2142,2136,1853,1849,1773,1527,1486,1436,1455,1737,1956,2221,2778,3130,3088,2636,1926,1963,1895,1825,2084,1888,1820,1735,1742,1755,2273,2815,2890,3173,2997,2414,2702,2724,3510,3942,3417,2385,2248,2573,2446,2436,2243,1774,1669,1783,2438,3210,3020,2517,2777,3405,3273,2810,2776,2637,2602,2797,2779,2846,3223,3596,3640,3498,3508,3373,3738,4434,4621,4547,4591,4343,3996,4073,3913,3661,3605,3528,3496,3558,3691,3660,3728,3324,2445,2254,2977,2980,2709,2526,2785,2494,2362,2053,1610,1810,1895,1628,1602,1638,1552,1576,1542,1591,1461,1519,1580,1533,1616,1792,1490,1232,1791,2307,2216,1702,1713,1456,1066,1250,1561,1446,1324,1514,1655,1578,1716,1755,1907,1942,1711,1685,1723,1795,1836,2028,2020,1857,1631,1581,1711,1677,1547,1572,1566,1429,1557,1632,1625,1960,1773,1614,1812,1862,1915,2409,3112,2584,2567,2176,1830,2179,2236,2416,2912,3028,3260,3563,3359,3343,3717,3579,3569,3405,3300,2976,2284,2105,2132,2229,2597,2686,2280,2103,1907,1860,1943,2090,2145,1745,1499,1780,2099,2183,2475,2439,1936,1662,1853,1912,1919,2197,2096,1942,1295,1570,2046,1840,1790,2169,2290,1867,1968,1534,1058,1334,1787,1971,1899,2709,3328,3343,2855,2160,2241,2355,2170,1857,2119,1841,1861,1782,1785,2116,2294,2379,2471,2088,1843,1770,2074,2813,2513,2095,2012,2426,2489,2034,1983,1923,1730,1904,2243,2155,2244,2797,1900,1407,1385,1749,2031,2143,3045,3193,2686,2751,1980,1814,1772,1610,1804,2223,2229,2083,2045,1744,2004,2410,2057,2128,2115,1770,1916,2495,3051,2452,2098,2025,2188,2395,2379,2178,2040,2618,3639,3200,2462,2246,2191,2231,2489,2823,2617,2516,2815,3072,3040,2359,1803,1675,1789,1705,2162,2514,2877,2564,1934,1685,1642,2194,2168,1699,2265,2145,2179,2071,2264,2575,2548,2236,2011,2385,2502],[2265,2471,2406,2542,2856,2842,2632,2668,2733,2971,2955,2829,2771,2711,2733,2770,2668,2836,2957,2942,3050,3303,3510,3452,3349,3484,3435,3362,3348,3421,3154,3140,3044,3022,3060,2987,2886,2705,2692,2796,3426,3536,3328,3282,3277,3131,3050,3077,3285,3615,3908,4200,4034,3839,3962,3845,3493,3479,3046,2356,2742,2833,2920,3209,3145,2846,2474,2015,2059,1801,1803,2129,1733,1207,1880,2258,1630,1599,1671,1843,2402,3003,2484,1691,1761,2805,2874,3124,3178,3303,3630,3398,2934,2308,2342,2191,2619,2484,2271,2763,3100,3175,3352,3448,3034,2152,1684,1722,1666,1609,1762,2497,2488,2209,2543,2894,2540,2620,2552,1825,1745,2105,2243,2647,2878,3161,3558,3281,3105,2691,2170,1941,1776,1186,1654,2233,2511,3198,3241,2590,2508,3375,3406,3125,2798,2594,2677,2889,3173,2382,1930,2968,3335,3049,3538,3124,3760,3228,3087,3764,4315,4720,4660,4616,4897,4884,4784,4532,3527,2673,2972,3283,3758,3727,3378,3337,3340,3049,3040,3460,3112,3272,2123,1829,2329,2852,2598,1764,1583,1737,1987,2166,2283,2881,2824,2679,2861,2272,2226,2146,2349,2799,3028,3138,2857,2497,2618,2835,2374,2221,2288,3099,3417,2975,2798,2714,2812,2664,2482,2581,2474,2404,2270,2534,3739,4156,3959,3486,3396,3490,3685,3694,3431,3177,3217,3235,3094,3022,2996,2530,2069,1964,2453,2502,2548,2719,2580,2395,2346,2092,1846,1627,1471,1704,2212,1794,1389,1371,1461,1323,1753,1699,1543,1861,1750,1369,1478,1481,1532,1782,1816,1525,1452,1339,1471,1560,1773,1918,1730,1792,1457,1500,1591,1609,1780,1771,1793,1844,1951,2039,1857,1625,1738,1742,1980,2286,2576,2309,2201,2085,1932,1709,1690,1968,2139,1603,1219,1851,2701,2503,1651,1640,1940,1409,1448,2374,3285,3442,2218,1534,1481,1236,1413,2618,2157,1656,1610,1759,1899,1920,1636,1516,1401,1515,1357,993,940,994,966,1374,1969,1874,1362,2109,2371,1941,1577,1801,2400,2294,1829,1627,1620,1844,1906,1964,2145,2008,1857,2011,1914,1885,1809,1822,2336,2304,1814,1342,1268,1217,1120,1070,1155,1192,1143,1260,1520,1537,1386,1475,1395,1223,1477,1941,1784,1943,1888,1512,1816,2310,2610,2663,2681,2984,2554,1574,1412,1608,1594,1617,1637,2254,2792,2626,2366,2006,2060,2756,3007,2986,2701,2198,2180,2315,2231,1943,1809,1948,2009,2109,2002,2337,2685,2263,1886,1740,2193,2337,2030,1793,1782,1629,1410,1454,1396,1738,2114,1712,1987,2443,1931,1943,1760,1515,1532,2511,3066,2422,2724,2820,2548,2166,1899,1605,1880,1697,1553,1670,2077,2385,2020,1566,1527,1641,1935,2317,2021,1724,1905,1791,2114,1977,1656,1960,2214,2541,2771,2033,1753,1841,2018,1663,1688,2088,1964,1688,1476,1620,1794,1707,1926,1905,1814,1611,1594,1719,1659,1631,1550,1463,1374,1414,1519,1455,1417,1741,1654,1688,1576,1672,1652,1497,1604,2075,2585,2264,1624,1576,1584,1531,1512,1692,1796,1521,2058,1925,1635,1514,1431,1373,1709,1979,1440,1558,1810,2199,2491,1900,1518,1488,1490,1477,1586,1723,1726,1686,1595,1755,1744,1569,1840,1794,1565,1453,1497,1599,1748,1858,1807,2183,2221,1901,1866,1952,2525,2945,2746,2125,1781,1736,1838,1855,2138,2135,1758,1633,1526,1377,1198,1428,2066,1951,1677,1600,1477,1689,1739,1416,1572,1802,1674,1792,1834,1601,1444,1374,1276,1411,1540,1466,1455,1376,1302,1491,1614,1457,1350,1390,1700,1791,1620,1375,1325,1307,1272,1377,1432,1310,1252,1305,1522,1463,1389,1434,1376,1345,1344,1371,1788,2147,1709,1785,2214,1843,1620,1990,2363,2541,1974,1566,1741,1771,1780,1761,2182,2229,1927,1851,1581,2240,2178,1108,1606,2553,2634,2430,2202,2026,1820,1825,2305,2442,2208,1728,1703,1580,1626,1721,2009,1985,2488,3243,2921,2081,1536,1483,1546,1805,1670,1572,1882,2102,2281,2212,1909,2227,2395,2485,2231,2083,2066,1749,1842,1747,1930,2147,2024,1835,1510,1726,1701,1750,1844,2209,1929,1734,1415,1371,1333,1424,1728,1503,1326,1427,1380,1506,1498,1353,1306,1725,1924,1530,1349,1350,1619,1631,1562,1806,1949,1791,1720,1582,1459,1412,1490,1824,2183,1927,1832,1562,1662,1629,1309,1322,1300,1636,1569,1293,1301,1366,1321,1606,1664,1354,1603,1870,1575,1458,1613,1635,1550,1509,1431,1557,1468,1412,1416,1459,1340,1341,1306,1526,1864,1578,1471,1257,1351,1578,1754,2301,3087,2542,1898,1885,1364,1428,1520,1185,1139,1431,1474,1377,1335,1326,1387,1450,1714,1667,1411,1505,1526,1481,1290,1339,1349,1217,1353,1652,1456,1340,1350,1376,1364,1327,1258,1266,1477,1459,1654,1510,1479,1384,1278,1646,2234,2042,1821,1609,1437,1662,1978,2019,1829,2149,1932,2263,2446,2241,2215,2321,2177,1965,2210,2177,2451,3228,3398,3541,3650,3339,2774,2857,3421,3107,2232,2677,3117,2707,2420,2344,2149,2286,2188,2355,2429,2508,2824,2799,2626,3070,2844,2713,2871,2902,2828,2825,2024,1884,2689,2830,2896,3293,3218,2921,2569,2153,2634,2662,2698,2762,2984,3255,3077,2573,2347,2302,2375,2566,2991,3173,3114,3396,3387,3195,2683,2863,3262,2195,1732,1544,1340,1388,1417,1316,1404,1329,1459,1361,1254,1245,1273,1340,1312,1299,1350,1321,1445,1400,1227,1302,1478,1721,1594,1593,1418,1431,1782,2333,2656,2064,1569,1683,2489,3177,2793,2522,2458,2235,2010,1928,1902,1781,1752,1690,1482,1545,1991,2170,1770,1693,1674,1593,1265,1997,2405,2122,1824,2214,2483,2056,1565,1513,1600,1716,1627,1670,1514,1638,1968,2200,2317,2623,2315,1872,1997,1495,1370,1411,1378,1842,1839,1577,1551,2177,2426,2811,3496,3594,3257,2209,2076,2256,2516,2364,1895,2243,2071,1869,2367,2747,2844,2794,2783,3128,2459,2519,2977,3000,2073,2042,1982,1753,1878,1796,1690,1599,1763,1969,1852,1838,2351,2647,2861,3172,3203,2337,1945,2192,2346,2295,2090,1803,1943,2944,3437,2972,2250,2025,2132,1870,1982,1739,1539,1533,1757,1999,1903,1923,2091,2605,2382,1905,2058,2070,1777,1599,1483,1405,1423,1454,1656,1786,1676,1803,1529,1649,1759,1939,1843,1864,1971,1817,1695,1659,1529,1416,1247,1490,1496,1406,1212,1249,1192,1422,1688,1811,1860,1787,1637,1751,1524,1677,1642,1791,2047,2625,2597,2193,1916,1853,1932,2038,2448,3486,3116,2284,1864,1736,1866,2428,2445,2466,2576,2986,3805,4048,3285,1844,1738,1910,1739,1866,1737,1889,1910,1649,1920,2757,2233,1933,2654,2649,1766,1772,1862,1903,1459,1844,2548,2311,2132,2096,2188,2420,2259,2051,1742,2440,2491,2171,2228,2658,2652,2197,1383,1328,1584,1945,2990,2696,2504,2105,2479,2363,2399,1897,1692,1842,2564,3498,3398,2700,2378,2433,2010,1914,1615,1424,1247,1566,1673,1671,1808,1839,1642,1741,2394,2097,1593,1715,1670,1698,2222,2226,1938,1534,1242,1282,1318,1632,2220,2407,2130,2029,2061,1603,1558,1605,1468,1455,1525,1443,1407,1740,2228,2472,2709,3426,2536,2135,2260,1929,1676,2248,2432,1974,1920,2080,1948,1599,1907,1909,1821,1542,1436,1179,1263,1606,1572,2402,3450,3595,3473,3466,3256,3446,3708,3715,3700,3762,3586,3261,3162,2909,2374,2530,3219,2552,3153,3545,3399,3098,2292,1609,1647,1630,1470,1300,1442,1744,1581,1589,1587,1344,1345,1459,1514,1913,1679,1242,1329,1337,1491,1600,1511,1519,1531,1776,1683,1601,1678,1578,1347,1404,1526,1600,1665,1534,1739,1422,1297,1422,1578,2224,2807,2471,2120,1787,1631,1759,1556,1541,1788,2049,1792,1606,1621,1566,1621,1722,1864,1857,1672,1513,1478,1575,1907,2003,2182,2242,2237,2003,2414,2601,1880,1985,2280,2543,2635,2868,2604,2099,1714,2004,1831,1783,2524,2932,2979,2372,1754,2127,2856,2965,2366,1984,2342,3116,2543,2099,2168,2154,2192,2141,2078,2417,2210,1904,1774,1772,1955,2118,1782,1434,1394,1451,1529,1650,1630,1800,2515,2836,2460,2091,1720,1735,1686,1835,1757,1863,1898,1714,1650,1873,2530,2885,2618,2583,2896,2623,2793,2723,3044,3627,2792,1765,2208,2520,2415,2626,2006,1794,1906,2527,3088,3059,2977,2870,2819,3008,3176,3112,2923,2597,2350,2576,3172,3394,3503,3624,3560,3532,3738,3685,3672,4048,4311,4276,4327,4263,4172,4113,3860,3648,3500,2819,2253,2817,3836,4060,3912,3396,3001,2442,2556,2789,2690,2707,2705,2341,2085,1555,1484,1651,1610,1437,1404,1593,1564,1915,1811,1669,1532,1430,1677,1644,1615,1824,1591,1439,1541,1557,1821,1795,1774,1303,735,953,1620,1620,1389,1812,2002,1841,1841,1684,1771,2008,1950,1819,1752,1837,1890,1931,1929,1884,1736,1697,1766,1750,1454,1521,1752,1598,1677,2051,1992,1864,1832,1859,1846,1654,1782,2417,3174,2783,2652,2181,2111,2353,2530,3197,3629,3271,3308,3518,3045,2938,3444,3632,3431,3353,3286,2724,2612,2558,1959,2219,2724,2521,2054,2098,1945,1999,1959,1484,1550,2050,1998,1910,1937,1949,2358,2293,1949,1831,2004,2347,2777,2374,1888,1760,1471,1423,1800,1975,2018,2006,2047,2213,2081,1434,1470,1712,1915,2344,2500,2556,2630,2358,1970,1660,1858,1889,1710,1918,2138,1757,1752,1833,1722,1769,1914,2476,3072,2407,2020,1739,1748,2329,2576,2470,2425,2818,2886,2463,2047,2313,3003,2608,2431,2679,2393,2435,2049,1592,1673,2245,2272,2526,3386,3140,2642,3084,2497,1967,1620,1722,1832,2082,2030,2075,2160,1835,2090,2692,2182,2142,1664,1457,1916,2658,2710,2279,2090,2323,2540,2381,2325,2486,2219,2820,3431,2555,2140,2000,1681,1821,2277,2575,2621,2436,2010,2105,2276,1787,1838,2187,2273,1970,1947,1981,2132,2085,2024,1839,1895,2457,1960,2183,2447,1804,2221,1823,2326,2569,2053,1779,1846,2138,2164],[2811,2791,2482,2611,2941,2819,2519,2651,2801,3108,2925,2858,2764,2719,2702,2554,2558,2850,3002,3034,3152,3320,3587,3504,3330,3481,3599,3376,3289,3318,3251,3296,3331,3228,3154,3049,2851,2709,2654,2726,3175,3172,3145,3195,3120,3042,3245,3159,3218,3519,3838,4004,4069,4051,3840,3421,3205,3104,2421,1909,1587,1890,2590,2856,2970,2332,2132,1726,1747,1659,1781,1955,1600,1243,1791,1970,1503,1706,2039,2151,2432,2910,2886,2464,2107,3135,3234,2484,2338,2875,2899,2609,2584,1932,2247,2046,2539,2955,2952,2869,2824,2993,3253,3320,2791,2015,1903,1635,1718,1837,2137,3047,2535,2073,2276,2355,2603,2712,2625,2120,2116,1996,2168,2771,2822,2885,3342,3248,2676,2894,2667,2269,2230,1648,2089,2244,2307,3256,3354,2622,2798,3363,3239,2863,2758,2416,2312,2721,2702,2041,2012,2874,3648,3688,3684,3314,3558,3291,3560,4164,4199,4636,5005,5017,5049,4989,4845,4545,3428,2949,3066,3452,3887,3694,3038,2647,2868,2979,2654,2592,2392,2312,1810,2014,1993,1776,1638,1524,1484,1879,2479,2664,2496,2720,3179,3180,2876,2393,2102,1831,2212,2656,3062,3381,3351,3019,2946,2889,2730,2494,2596,2956,3323,2900,2762,3119,3162,3354,3871,4006,3614,3114,2294,2331,3162,3565,4049,4144,3942,3913,3739,3375,3188,3017,3175,3177,3050,3241,3309,3347,2751,2460,2735,2587,2688,2996,2454,2399,2456,2281,2049,1496,1681,2050,2047,2114,1713,1825,1830,1418,1641,1698,1579,1582,1499,1328,1371,1403,1516,1517,1425,1576,1531,1362,1809,1965,1668,1751,2148,1920,1596,1395,1365,1454,1386,1447,1537,1697,1680,1813,1799,1836,1963,2063,2251,1975,2137,2283,2216,1824,1644,1672,1663,2084,1938,1287,1423,2137,2591,1946,1737,1970,1917,1271,1735,2591,3539,3681,2150,1819,1508,1295,1253,2266,1979,1794,1707,1570,1659,1842,1748,1597,1649,1374,1175,1207,1339,1440,1040,1315,1619,1465,1795,2610,2343,1769,1714,1752,2093,1981,1890,1884,1919,2047,2160,2172,2202,2233,2112,1998,1942,1998,2146,2240,2213,2309,2272,2016,1708,1239,962,970,1070,1070,1242,1721,1572,1377,1299,1444,1507,1296,1877,2297,2006,1926,1706,1557,1589,2079,2538,2366,2663,2351,2008,1443,1387,1437,1383,1538,1853,2371,2427,2188,2360,2768,2860,2366,2301,2615,2231,2276,2467,2324,2214,2013,1785,1798,2138,2408,2599,2979,2633,2405,2123,2087,2679,2717,2241,2029,1733,1695,1318,1241,1444,1613,1928,1486,1987,1917,1605,1937,1855,1540,1605,2487,2450,1761,1969,2387,2084,1921,2119,2008,1938,1732,1562,1739,2358,2744,2416,2098,1822,1682,1987,2058,1831,1636,1828,1992,1930,1936,1802,1745,1928,1955,1679,1527,1530,1771,1843,1924,2247,2238,2149,2061,1833,1815,1871,1800,1660,1865,1774,1551,1663,1805,1909,1813,1654,1564,1416,1411,1518,1602,1608,1816,1652,1663,1609,1625,1588,1327,1392,1978,2565,2753,2634,2744,2712,1943,1782,2564,2273,1953,1871,1642,1600,1456,1360,1366,1880,2152,1496,1467,1956,2620,2105,1639,1551,1454,1345,1462,1626,1729,1482,1482,1372,1651,2386,2612,2364,1912,1497,1270,1394,1441,1556,1771,1687,1872,1708,1728,1713,1766,2075,2255,2164,1968,1808,1605,1301,1365,1937,2047,1774,1583,1555,1532,1306,1585,1804,1860,1771,1467,1460,1562,1452,1425,1437,1447,1395,1440,1649,1564,1431,1440,1349,1412,1449,1530,1470,1206,1237,1354,1410,1300,1238,1435,1685,1825,1741,1487,1399,1365,1283,1404,1559,1476,1411,1326,1490,1552,1674,1624,1451,1368,1309,1459,1694,1792,1471,1480,1738,1862,2028,1773,1914,2604,2337,1696,1458,1673,2056,2032,1916,1787,2238,2343,2363,2717,1978,1265,2160,2658,2756,2722,2147,1918,1919,1755,2208,2098,1889,1617,1380,1444,1499,1499,1794,1958,2091,2623,2360,1964,1626,1493,1585,1832,1844,1520,1654,1949,2191,2085,1789,1881,2116,2060,1909,2271,2323,2091,1926,1833,1933,1973,2292,2052,1688,1336,1445,1819,2156,2154,1933,1897,1580,1265,1118,1271,1521,1433,1451,1536,1448,1686,1773,1578,1343,1448,1723,1712,1423,1432,1982,2135,1742,1499,1656,1689,1538,1614,1483,1499,1817,1775,1558,1790,1852,1704,1605,1247,1268,1460,1492,1701,1689,1549,1479,1411,1351,1603,1594,1451,2012,2479,1788,1524,1821,1794,1479,1400,1364,1316,1527,1460,1289,1274,1251,1317,1382,1731,2024,1435,1406,1487,1585,1696,1709,2248,3106,2600,2496,3442,3007,2231,1738,1355,1672,2072,1810,1521,1691,1726,1485,1737,1707,1459,1444,1433,1367,1488,1377,1399,1357,1221,1272,1344,1315,1412,1417,1442,2160,1592,1302,1265,1226,1229,1541,1505,1339,1406,1605,1856,1769,1842,1828,1567,1366,1796,2363,2145,1747,1922,2128,2621,2735,2471,2313,2198,2177,2163,2569,2453,2603,2839,2957,3156,3236,3108,3128,3318,3318,2879,2837,3130,2999,2531,2503,2465,2088,2071,2139,2355,2427,2195,2534,2808,2548,3083,3189,3237,3258,3071,2854,2811,2229,2523,3043,3142,3342,2755,2727,2931,2975,2524,2562,2568,2810,2698,3117,3269,3377,3373,2674,2645,2761,2542,2984,3151,3293,3219,3284,3130,2728,3091,2576,1677,1488,1348,1323,1379,1463,1359,1358,1334,1387,1323,1279,1279,1242,1316,1410,1571,1561,1400,1416,1273,1253,1361,1455,1669,1721,1517,1403,1520,1635,2039,2190,1619,1373,1403,1937,2384,2324,2050,2065,2200,2062,2207,2808,2656,1891,1377,1698,1816,1885,1796,1982,1768,1730,1690,1995,2513,2427,2063,2039,2017,2030,1964,1780,1661,1716,1843,1876,2081,1712,1389,1601,2171,2767,2959,2599,2101,2681,1712,1401,1415,1114,1519,2064,2268,2003,1843,1981,2432,3329,3120,3187,2232,1937,2161,2613,2563,2502,2755,2479,2280,2720,3104,3177,3112,3365,3768,2941,2720,3067,2986,2350,2030,1906,1697,1584,1789,1714,1713,1680,1721,1847,2251,2512,2565,2380,2763,2885,2278,2201,2546,2519,2252,1677,1148,1630,3335,3386,2888,2238,2173,2390,2178,1752,1709,1401,904,1320,1708,1831,2003,2144,2104,1817,1917,1878,1775,1935,1644,1271,1517,1411,1188,1848,1997,2331,2443,1802,1758,1897,1804,1708,1846,1855,1639,1609,1974,1872,1581,1194,1296,1498,1289,1150,1183,1239,1417,1538,1600,1555,1435,1829,2171,1665,1931,2453,2007,1773,1994,1816,1630,1451,1599,1909,2351,2965,3320,2673,2298,2075,1693,1815,2123,2094,2109,2330,2663,3869,3964,3309,2137,1584,1593,1544,1527,1465,1557,1749,1680,1893,2347,1892,2432,2309,1787,1620,1673,1905,1764,1587,1979,2131,2132,1743,1601,2035,2552,2645,2746,2144,2320,2078,2435,2588,2409,2571,2515,1344,835,1492,2144,2564,2532,2451,2264,2444,2429,2356,2100,1931,1822,2074,2721,3260,2812,2125,1837,1590,1815,1691,1365,1288,1606,1679,1600,1619,2044,1939,1809,2497,2590,2252,2071,1897,1659,2071,2382,1766,1227,1183,1240,1609,1869,2590,2488,2247,2171,1968,1738,1577,1395,1391,1535,1613,1489,1444,1518,2067,2392,2698,2983,2185,2235,2804,2526,2049,2380,2691,2090,1593,1617,1569,1649,1756,1654,1829,1656,1601,1567,1499,1651,1606,2686,3506,3724,3571,3400,3302,3334,3420,3593,3728,3773,3752,3436,3153,2849,2644,2330,2640,2319,3014,3428,3352,3186,2447,1881,1823,1564,1441,1358,1527,1722,1736,1679,1679,1439,1299,1333,1188,1282,1379,1300,1334,1303,1433,1392,1532,1800,1621,1595,1618,1625,1675,1525,1194,1566,1778,1533,1546,1381,1507,1334,1310,1290,1584,2280,2553,2373,2344,1829,1375,1479,1448,1391,1714,2132,2148,2255,2048,1756,1805,1748,1582,1475,1591,1433,1406,1392,1630,1855,2240,2488,2334,2280,2486,2200,2156,2708,2708,2809,2399,2732,2335,1974,1715,1710,1671,1827,2520,3068,3018,2040,1679,1918,2725,2787,2379,2065,2985,2585,2044,2487,2468,2209,2073,1882,1556,1824,2184,2156,1983,1886,2226,1976,1659,1566,1675,1665,1504,1474,1533,1756,2071,2124,2201,2599,2366,1801,1836,1876,1584,1826,2331,2896,2395,1848,2042,2532,2173,2308,2780,2496,2230,2502,2822,2437,1781,1691,2103,2094,2054,2574,2352,1994,1824,2177,2636,3060,3147,2789,2695,2743,2844,2624,2552,2650,2643,2744,3015,3357,3586,3551,3276,3249,3507,3449,3406,3536,3754,3802,3823,4018,4212,4073,3559,3335,2902,2242,2408,2941,3903,4012,3868,3549,3409,2898,2586,2753,2812,2871,2695,2364,1810,1689,1792,1476,1485,1538,1437,1648,1771,1816,1736,1854,1748,1678,1912,1699,1604,1781,1582,1657,1585,1565,1780,1812,1933,1402,713,905,1439,1413,1663,2177,2018,2080,2074,1922,1967,1991,2019,2071,1942,1789,1729,2037,1997,1987,1792,1792,1642,1548,1362,1246,1646,1654,1543,1675,1685,1893,1972,2237,2276,1749,1762,2435,2260,2353,2775,2646,2499,2463,2906,4035,4044,3073,3437,3398,2977,2733,3050,3545,3051,2902,2990,2642,2880,2711,1891,2279,2649,2489,2220,2199,2249,1984,1855,1758,2319,2687,2035,1747,1894,1936,2192,2403,2410,2492,2321,2625,2545,2190,1883,1787,1943,1675,1690,1814,1785,1932,1922,2115,1775,1471,1561,1616,1874,2684,2713,2366,2153,1959,1761,1605,1504,1487,1588,1614,1554,1621,2002,2203,2005,1781,1786,2220,2544,2224,1924,1567,1504,1902,2228,2262,2615,2868,2833,2520,2077,3029,4028,3862,3339,2942,2164,1901,1755,1566,1931,2188,2026,2146,2865,3191,3063,2687,2364,2007,1965,1775,1821,2024,1982,2181,2244,1922,2092,2621,2246,2027,1415,1649,2188,2612,2675,2309,2318,2652,2493,2352,2473,2761,2331,2460,1937,1638,1756,1949,2067,1915,1824,1982,2144,2048,1578,1742,2043,2175,2126,2498,2273,2032,1920,1837,2437,2766,2492,2037,2201,2553,2452,2622,2128,1875,2265,2017,2456,2283,1732,1703,1906,2315,2450],[2720,2933,2754,2756,2918,2894,2754,2987,3073,3078,2810,2857,2999,2975,2799,2631,2750,2898,2874,2885,3108,3332,3481,3297,3283,3503,3708,3508,3364,3329,3341,3452,3436,3285,3252,3081,2928,3069,3112,2899,2899,3052,3104,3187,3028,3182,3514,3341,3177,3414,3632,3779,4112,3951,3583,3188,3150,2699,2028,1804,1656,2381,2473,2280,2372,1830,1874,1747,1743,1747,1898,1880,1390,1500,1920,1807,1516,1558,2066,1991,2135,2273,2377,2519,2729,3386,3340,2604,1965,2110,2372,2489,2577,2293,2198,2164,2696,2802,2695,2809,2861,2977,2758,2513,2373,1987,1808,1702,2112,2626,2924,2996,2403,2491,2554,2060,2197,1990,1976,1617,2137,2457,2418,2264,2392,2546,2699,2558,2052,2075,2103,2288,2764,2275,1773,1888,2912,3308,2700,2424,2540,2833,2558,2283,2473,2229,2293,2111,2226,2437,2303,3297,4041,3956,4009,3666,3487,3608,3858,4224,4097,4683,5048,5071,4811,4690,4624,4796,4397,4018,3958,3956,3956,3921,3252,2195,2069,2042,1926,1841,1918,2159,2042,1813,2024,2221,2112,1842,1730,1869,2198,2419,2243,2165,2388,2239,2073,2490,2565,2104,1855,2050,2607,2776,2931,2995,3118,3294,2846,2292,2360,2505,2876,2568,2523,3184,3217,3372,3785,4003,3874,3607,2722,2181,2214,2435,2782,3498,4124,3994,3672,3178,2962,2767,2876,2827,2812,3060,3326,3540,2984,2889,3308,3040,2990,3032,2891,2996,3083,2819,1926,1642,2154,2930,3351,3272,2587,2031,1861,1783,1834,1743,2031,1776,1390,1335,1382,1360,1359,1461,1500,1603,1506,1443,1571,1531,1462,1876,1854,1295,1267,1682,1759,1411,1302,1141,1290,1635,1460,1613,1943,1880,1960,2148,2657,2490,2180,2201,1991,1777,1910,1316,1422,2280,1666,1267,1282,2101,2458,2130,1930,1891,1901,1451,1920,2888,3372,3152,1976,2270,1657,1439,1776,1840,1557,1571,2010,2041,1680,1893,1827,1806,1989,1614,1274,1558,1398,1443,1171,1607,1974,1852,2176,2014,1666,1727,2042,1860,1726,1734,1787,1885,1920,1868,1854,1753,1706,1776,1838,1929,1984,1974,1958,2050,2250,2409,2185,2052,1780,1205,959,744,774,850,921,1174,1186,1127,1366,1329,1237,1185,1486,1617,1910,2296,2005,2051,1707,1996,2211,1846,1848,2396,2128,1469,1460,1394,1286,1402,1887,2303,2056,2116,2030,2584,2975,2812,2564,2248,1947,2193,2036,1565,1782,2314,2215,2385,2624,2994,3233,2793,2557,2587,2366,2079,2396,2698,2251,1688,1413,1585,1476,1312,1404,1823,2153,2089,2310,1979,1614,1629,1513,1553,1958,2786,2585,2096,2104,2249,2152,2295,2449,2174,2046,1946,1684,1745,1691,1578,2242,2030,1786,1712,1724,1861,1986,1812,1912,1998,1662,1577,1577,1767,1971,1555,1456,1478,1441,1880,1871,1876,1859,1604,1670,1762,1570,1863,2254,2351,1940,1692,1621,1573,1586,1829,2096,1897,1658,1550,1661,1879,2054,1968,1511,1480,1712,1823,1672,1702,1657,1272,1345,1610,1992,2127,2352,2602,3300,2451,1884,2143,2103,1813,1598,1672,1633,1427,1521,1528,2119,1724,1599,1625,2044,2226,1836,1554,1494,1427,1304,1457,1649,1554,1505,1514,1503,1682,2061,2079,1963,1837,1569,1453,1556,1408,1539,1763,1570,1445,1754,1887,1802,1777,1662,1735,1798,1614,1548,1404,1256,1521,1738,1735,1934,1760,1688,1516,1312,1553,1621,1549,1444,1387,1394,1530,1470,1732,1828,1399,1534,1704,1632,1530,1530,1406,1328,1452,1558,1484,1394,1320,1337,1322,1283,1346,1372,1555,1806,1853,1799,1749,1465,1408,1308,1296,1485,1473,1275,1323,1562,1568,1609,1515,1305,1281,1311,1348,1301,1468,1475,1538,1532,1697,2162,2454,2333,2311,1995,1492,1422,1656,1896,2325,1885,1645,2366,2921,2919,2699,1649,1467,2394,2623,2918,2734,2229,1837,1833,1930,2038,1721,1619,1488,1328,1363,1300,1508,2348,2439,1984,2128,2570,2429,1665,1339,1581,2240,2474,2127,1954,2227,2222,2025,2239,1986,1922,1697,1669,1913,2196,2156,1961,1881,1918,2364,2543,2081,2032,1499,1603,1736,1986,1844,2222,2148,1599,1412,1246,1185,1362,1418,1369,1513,1620,1772,1532,1306,1304,1375,1808,2326,2096,1800,2238,2395,1696,1539,1648,1614,1362,1449,1356,1378,1621,1605,1720,1987,1735,1670,1590,1296,1371,1397,1509,1628,1576,1575,1698,1687,1429,1302,1260,1382,1724,2081,1568,1574,1671,1710,1499,1395,1394,1354,1376,1372,1542,1333,1331,1282,1420,1782,1858,1462,1390,1475,1501,1551,1721,2905,2862,1987,3096,4024,3936,3676,2408,1584,1800,1981,2152,2221,2374,2285,1533,1768,1535,1343,1306,1337,1497,1903,1854,1497,1412,1329,1276,1241,1395,1688,1472,1305,1817,1417,1243,1405,1224,1333,1516,1426,1595,1692,1993,2208,1838,1715,1676,1332,1428,1748,1968,1774,1717,1773,1940,2366,2492,2413,2679,2457,2184,2457,2962,2934,2898,2840,2808,2888,2994,3086,3081,3222,3167,2556,2362,2445,2654,2343,2623,2601,2332,2399,2494,2681,2662,2307,2272,2633,2432,2659,2832,3254,3805,3570,3084,2761,2659,3128,3103,3060,3046,2598,2994,2974,2984,2830,2442,2590,2779,2731,3162,3285,3408,3719,2974,2606,2527,2531,2798,3064,3400,3396,3296,2753,2570,2598,1732,1549,1487,1405,1478,1353,1359,1479,1496,1301,1284,1324,1342,1314,1340,1429,1455,1358,1470,1347,1209,1260,1324,1302,1432,1632,1551,1387,1616,1537,1571,1776,1500,1005,1197,1812,1792,1554,1683,1855,1924,1948,1850,2377,3352,3095,2213,1919,2424,2655,2170,1768,1781,1357,1396,2029,2533,2500,2118,1803,2286,2248,1990,1772,1644,1659,2036,2206,2382,2373,1825,1331,1258,1846,2352,2596,2596,1949,2450,2244,1834,1560,1201,1331,1688,1835,1564,1648,1832,1860,2630,2695,3165,2461,1897,2554,3548,3337,3172,3396,2654,2309,2677,3242,2740,3103,3607,3615,3127,2814,2557,2710,2915,2624,1851,1493,1413,1902,2120,1911,1631,2073,2021,1732,1710,1786,1875,2276,2375,2009,1918,2021,1976,1525,1274,1341,1889,2974,3139,2727,2484,2446,2233,1859,1489,1535,1174,949,1879,2468,2392,2223,1963,1852,1830,2020,1964,1925,1925,1422,1438,2099,1870,1329,1223,1567,2592,2424,2199,2669,2610,1765,1451,1566,1711,1349,1383,1604,1454,1316,1272,1273,1223,1037,1083,1237,1408,1373,1450,1469,1576,1510,1998,2009,1682,2073,2194,1546,1654,1703,1789,1781,1490,1403,1779,1888,1756,1999,2374,2653,2176,1757,1854,1991,1876,1788,1742,2465,3428,3616,2708,1897,1522,1461,1615,1589,1255,1483,1780,2106,2136,1912,1716,1634,1388,1236,1236,1301,1486,1577,1882,2211,2262,2149,1814,1692,2088,2778,2782,2832,2490,2187,2020,2095,2317,2139,2170,1988,1665,1526,1813,2186,2846,2940,2636,2741,2923,2872,2302,2116,1915,1660,1701,2063,2624,2286,1694,1619,1690,1801,1802,1662,1655,1772,1694,1736,1864,2225,2295,2487,2389,2342,2489,2778,2625,2081,2314,2286,1867,1605,1271,1584,2239,2610,3135,2298,2113,2359,2117,1861,1515,1427,1458,1482,1822,2161,1958,1709,1417,1717,2155,1928,1778,2164,2654,2648,2193,2144,2856,2494,2026,1926,1800,1657,1696,1793,1654,1544,1756,1788,1560,1809,1754,2736,3296,3592,3473,3396,3424,3360,3344,3551,3642,3601,3702,3650,3361,2844,2546,2262,2323,2188,2315,3141,3505,3216,2392,2085,1998,1430,1290,1300,1418,1599,1581,1579,1767,1575,1304,1251,1252,1325,1327,1451,1645,1432,1331,1363,1446,1494,1582,1605,1545,1556,1602,1786,1678,1982,2690,1920,1560,1618,1700,1484,1241,1257,1460,1604,1887,2017,2172,1707,1549,1643,1519,1453,1466,1533,1638,1659,1486,1451,1679,1678,1438,1384,1698,1497,1666,1647,1646,1825,2158,2210,2648,3212,2137,2336,2420,2390,2468,2460,2620,2512,1917,1907,1858,1852,1876,1924,2178,2521,2235,1710,1679,1715,2294,2531,2338,2075,2127,2163,2364,2416,2413,1959,1494,1555,1502,1427,1757,2184,2242,2119,1814,1606,1598,1660,1606,1564,1466,1538,1859,1872,2177,1964,1964,2246,2438,2047,1804,1935,1691,1511,2588,3797,3244,2611,1909,1795,2142,2155,2007,1953,2048,2415,2207,1697,1556,1721,1605,1721,2056,2388,2554,2649,2293,1773,1788,2143,2428,2657,3204,3423,2846,2802,2755,2519,2546,2939,2942,2690,3085,3345,3141,3284,3303,3406,3346,3457,3592,3753,3586,3089,2958,3276,3141,2556,2120,2022,2364,3398,3848,4143,4037,3674,3604,3583,3273,3303,3743,3688,3030,2546,1866,1729,1604,1440,1549,1531,1536,1600,1651,1672,1745,1628,1707,1713,2065,1786,1489,1613,1594,1461,1395,1664,1920,2117,2062,1460,1159,1060,1044,1104,1810,2198,2040,2066,2186,1872,1744,1726,1874,2002,1743,1936,2034,2536,2408,2071,1777,1701,1448,1543,1598,1610,1840,1594,1476,1543,1424,1627,2408,3190,2720,2132,1992,2067,1932,2511,3348,3074,2532,2475,3439,4339,3816,3570,3602,3462,3388,2997,2844,2680,2291,2285,2553,2405,2128,2179,1931,2298,2259,1921,2007,2385,2392,2139,2081,2517,3195,3282,3030,2117,2002,2264,2298,2749,3186,2898,2407,2329,2490,2425,2303,2165,2088,2154,1932,1882,1882,2295,2398,2106,1680,1748,1980,1620,2164,2991,2732,2674,2247,2193,2002,1737,1468,1668,1902,1696,1644,1885,2196,1990,1748,1891,2050,2112,2474,2608,2275,1797,1812,2053,1870,1857,2655,2389,2477,2609,2088,2525,3643,3872,3395,2930,2496,2338,2125,1722,1820,2125,2122,2063,2452,2674,2434,2221,2184,2542,2564,1924,1920,2272,2463,2521,2294,2141,2164,2295,1980,1874,1557,1671,1980,1896,1637,1647,1864,2101,2002,2404,3010,2953,2328,1978,1619,1662,1764,2016,2591,2136,1892,1847,1990,1882,1708,1991,1999,2052,1945,2214,2150,1757,1874,2420,2844,2810,2564,1827,1887,1898,1990,2048,1578,1806,2138,2445,2976,2426,1892,1756,1894,1959,2662],[2874,2621,3063,3351,3131,3150,3063,3321,3297,3084,2998,3002,3021,3089,3065,3000,3096,3063,3041,3032,2934,3245,3453,3409,3330,3426,3537,3436,3418,3412,3474,3411,3242,3288,3188,3136,3267,3486,3383,3002,3005,3176,3235,3230,2899,3111,3683,3741,3321,3617,3984,4135,4029,3237,2742,3102,3205,2613,2064,1753,2034,2969,2382,2362,2302,1919,2120,2387,2359,1912,1926,2014,1909,1585,2009,2182,1677,1702,1814,1511,1685,1711,1517,1581,2317,3307,2796,2101,1738,2290,3069,3433,3262,2901,2549,2410,2425,2209,1950,2249,2348,2077,1699,1731,2230,2237,2040,2262,2211,2565,2610,2172,2011,2383,2474,2200,2142,1966,1725,1552,1969,2314,2161,1988,2077,1891,1653,1702,1667,1733,1822,2068,2203,2176,2178,2024,2421,2308,1786,1778,2352,3197,3272,2963,2687,2144,1991,1769,1818,2199,2910,3776,3730,3737,4006,3818,3652,3942,4272,4312,4228,4309,4424,4453,4327,4389,4321,4227,4416,4169,3978,3875,3924,3993,3308,1970,1640,1566,1546,1700,2029,2383,2100,1664,1821,2124,2319,1971,2167,2310,2730,2530,2267,2298,2554,2024,1491,1746,1947,2046,1990,1900,2365,2686,2706,2635,2712,2999,3120,2853,2326,2124,2500,3071,3262,3313,2754,3119,3207,3206,3159,3516,3564,2972,2695,2585,2631,3562,4263,3863,3269,2861,3037,2876,2940,2710,2652,3000,3310,3207,2920,3155,3185,2709,3113,3054,2885,2618,2821,2691,2258,2522,3095,3563,3798,3864,3663,2898,2501,2490,2409,2125,1961,1425,1222,1385,1436,1475,1642,1449,1353,1509,1632,1597,1529,1409,1368,1422,1422,1422,1478,1687,1425,1261,1389,1343,1481,1455,1088,1208,1713,1912,2169,2171,2197,2103,1963,1972,1897,2188,1624,995,1847,1986,1364,1347,1302,1782,1893,2063,2605,2985,2742,1845,2049,2642,2735,2094,1777,1867,1495,1543,1684,1526,1698,1844,2035,2052,1645,1617,2041,2060,1909,2056,1526,1556,1402,1319,1437,2084,2618,2193,1854,1821,1928,1850,1817,1595,1543,1587,1564,1608,1533,1438,1456,1431,1525,1649,1705,1698,1551,1617,1928,1902,2021,2147,1818,1658,1559,1235,1409,1138,944,902,872,1073,1057,993,1004,920,1087,1230,1345,1286,1312,1626,1934,1852,1501,1645,1578,1955,2331,2670,2110,1443,1483,1432,1358,1362,1649,1789,1983,2125,2109,2431,2553,2553,2602,2311,1986,2032,2110,2058,1934,2155,2489,3104,3307,3561,3235,2729,2401,2379,1996,1711,1871,2622,2709,2502,2256,1825,1743,1730,1666,2065,2490,2602,2698,2482,2171,1652,1479,1547,1757,2451,2944,2855,2173,1783,1919,2121,2411,2454,2447,2467,1667,1793,1892,1885,1912,1779,2046,1704,1661,2089,2122,2049,2039,1865,1540,1627,1738,1715,1589,1412,1560,1425,1463,1706,1614,1638,1613,1805,1916,1751,1318,1317,1825,1812,1605,1484,1521,1677,1842,1704,1784,1989,1813,1852,1872,2182,2113,1760,1696,1790,1761,1716,1904,1833,1544,1328,1597,1520,1749,1529,1670,1950,2243,2222,1750,1497,1737,1723,1946,2168,1794,1585,1548,1533,2076,1715,1679,1707,1708,1625,1427,1417,1466,1248,1204,1369,1658,1381,1588,1804,1914,1766,1606,1594,1644,1659,1557,1384,1519,1433,1819,1875,1634,1476,1767,1765,1865,1968,1776,1824,1822,1848,1571,1523,1441,1700,1677,1582,1831,1843,1876,1628,1424,1616,1678,1578,1514,1554,1588,1923,1872,2409,2276,1862,2095,2001,1614,1442,1487,1582,1488,1571,1649,1623,1479,1393,1415,1416,1418,1454,1422,1559,1724,1857,2732,2391,1760,1884,1691,1583,1587,1337,1151,1477,1772,1570,1557,1565,1404,1554,1449,1485,1516,1505,1495,1490,1449,1490,2311,3152,3009,2834,1836,1413,1390,1433,1784,1947,1537,1325,1683,2261,2635,2171,1376,1928,2580,2744,3065,2579,2070,1906,1739,2281,2612,1886,1439,1523,1404,1321,1397,1861,2822,2718,2050,1912,2253,2101,1631,1511,1996,2593,2460,2235,2132,2305,2430,2082,2046,1883,1727,1756,1674,1678,1804,1649,1776,2115,1703,1598,1903,2065,1908,1684,1553,1720,1655,1761,2064,1779,1571,1541,1435,1455,1457,1507,1511,1586,1674,1532,1408,1399,1331,1408,1894,2301,2227,2215,2359,2008,1664,1641,1689,1503,1428,1305,1301,1350,1087,1445,2216,2196,1823,2078,1759,1498,1456,1352,1316,1409,1540,1655,1879,1937,1740,1707,1472,1361,1382,1481,1458,1810,1856,1677,1407,1370,1624,1836,1525,1360,1515,1333,1430,1329,1451,1740,1659,1451,1638,1700,2005,2031,2125,4048,4060,2779,3124,3526,3451,3558,2827,1952,2040,2242,2041,2069,2559,2351,1769,1640,1400,1411,1309,1421,1346,1616,1770,1687,1504,1334,1337,1259,1367,1434,1266,1376,1403,1278,1281,1349,1271,1532,1644,1477,1824,1973,1874,1948,1811,1500,1459,1281,1334,1385,1355,1333,1431,1738,1946,1881,1883,2013,2300,2370,2264,2745,3069,3077,3128,2953,2774,2872,3131,3117,3010,2923,2856,2322,2236,2178,2276,2263,2569,3008,3179,3243,3025,2754,2595,2551,2712,3014,2885,2786,2641,3266,3820,3710,3352,2901,3087,3582,3032,2784,2597,2805,2909,2789,2669,2678,2627,2833,2811,2591,2620,3218,3123,3332,2517,2110,2337,2635,2724,3108,3371,3347,3442,3235,2584,1740,1549,1816,1476,1446,1475,1323,1306,1392,1490,1474,1378,1271,1275,1326,1417,1475,1430,1320,1255,1187,1311,1322,1232,1279,1346,1525,1468,1460,1750,1562,1491,1615,1202,1069,1362,1719,1581,1412,1684,2004,2113,1850,1582,1943,2846,2957,2414,2570,2719,2410,1952,1799,1474,1129,1546,2188,2465,1901,1619,1897,2189,2080,1760,2061,1994,1639,1931,2343,2476,2113,1653,1287,1543,1683,1626,2074,2210,1810,2486,2593,2172,1723,1441,1615,2129,2035,1695,1988,1643,1500,2462,2740,3223,3112,2976,3470,3532,2764,2774,3322,2509,2200,2415,2503,2470,2984,3061,2704,2677,2884,3274,3748,4034,3731,2281,2245,2126,1780,1654,1807,1656,2100,2126,1980,2131,1982,2229,2276,2205,1897,1785,1764,1817,1584,1599,1623,1729,1822,1959,2178,2441,2478,1849,1515,1371,1576,1093,1395,2620,2636,1953,1586,1969,2240,2004,1811,1916,2002,1629,1340,1738,2284,2136,1827,1600,1967,2260,2312,3028,3072,2069,1396,1509,1673,1546,1207,1204,1322,1601,1670,1601,1489,1099,1093,1255,1334,1298,1158,1267,1515,1795,1722,1672,1609,1417,1558,2004,2153,2250,1949,2254,2240,1650,1419,1851,1809,1715,2098,2532,2575,1903,1748,1952,2141,2170,2086,1898,2531,2990,2622,1895,1705,1541,1437,1719,1791,1229,1868,1918,1898,2287,1960,1591,1337,1342,1438,1286,1241,1639,2156,2213,2031,2036,2037,1594,1497,1936,2474,2742,2535,2392,2120,1595,1811,2432,2114,1909,2040,2088,2281,2117,2823,3487,2876,2674,2692,2548,2459,2152,1931,1680,1760,2065,2196,2043,1641,1594,1723,1770,1807,1730,1833,1750,1594,1618,2250,2193,2532,2700,2576,1965,2221,3030,2770,2132,1997,2354,2191,1876,1865,1656,2259,2410,2900,2776,1857,2038,2200,1910,1975,1743,1667,1682,1686,1735,2290,2173,2039,1790,1897,2045,1934,1919,2017,2204,2220,2133,1982,2010,1765,1813,2227,2332,1897,1896,1901,1415,1404,1637,1678,1430,1819,1837,2073,2720,3348,3495,3529,3430,3283,3323,3289,3321,3321,3299,3074,2917,2864,2768,2495,2429,2382,2864,3530,3115,3146,2598,2257,1921,1429,1260,1333,1510,1666,1482,1438,1707,1554,1312,1356,1245,1298,1534,1520,1339,1497,1686,1476,1434,1542,1570,1565,1535,1469,1402,1549,1561,1979,2527,1935,1817,1824,1459,1451,1508,1811,2216,1755,1591,1506,1567,1531,1439,1426,1628,1673,1404,1439,1541,1537,1630,1576,1519,1744,1672,1666,2040,1741,1643,1536,1492,1646,1794,2033,3272,3820,2233,2351,2147,2354,2278,2317,2721,2304,2031,2244,1863,1773,2123,2152,2139,2055,2139,2149,2232,2416,2846,2765,2146,1865,2110,2341,2469,1989,2417,2101,1710,1658,1568,1482,1435,1669,2088,2200,1873,1871,1755,1875,1405,1287,1514,1663,1787,2322,3012,2898,2253,1982,2115,1796,1778,1634,1361,1416,2189,2912,3328,3389,2349,1733,1982,2068,1748,1689,1975,1896,1667,1616,1767,1641,1511,1668,2358,2689,2677,3218,3020,2109,1866,2003,1912,2355,3060,3007,2764,2823,2711,2518,2407,3105,3561,3073,2675,2962,3228,3357,3333,3406,3544,3521,3521,3418,3052,2210,1804,1953,1965,1847,1925,1970,2131,2832,3459,4042,4007,3319,3252,3675,3618,3535,3855,4138,3211,2134,1555,1512,1422,1431,1429,1466,1548,1571,1499,1737,2385,1828,1745,1739,1987,1561,1383,1839,1909,1444,1285,1561,1715,1875,1821,1866,1729,1407,1638,1524,1797,1741,1605,2121,2272,1776,1736,1731,1976,1840,1592,1925,2109,2493,2461,2172,1620,1402,1623,1781,1759,1686,1757,1690,1870,1838,1754,1750,3122,3768,2575,1815,1849,1939,2049,2690,3951,3051,2485,3218,4205,4508,3884,3267,2697,3213,3423,2752,2050,1991,2109,2082,2060,1853,1664,1903,2145,1960,1576,1761,2299,2244,2078,2222,2093,2207,3098,3740,3571,2706,2112,2148,1823,2486,2947,2440,2249,2379,2608,1975,1931,2246,2264,2288,2188,2007,1893,2275,2654,2408,1755,1799,2162,1975,2797,2820,2530,2786,2565,2293,2060,1817,1562,1692,1896,1734,1604,1715,2037,1977,1746,1865,2401,2731,2759,2555,2201,1847,2124,2269,2134,1997,2648,1985,2074,2179,2041,2158,3060,3475,3498,3253,2579,2344,2298,1858,1977,2340,2105,2236,2362,2402,2959,2808,2281,2634,2711,2092,1675,1873,2314,2303,2198,2138,1920,2050,1918,1634,1492,1446,1651,1726,1784,1704,1598,1704,1825,2140,2903,3145,3272,2938,2155,2376,2364,2016,1681,1547,1725,1616,1870,1942,1784,1881,2071,1949,1858,2200,2364,1627,1612,2295,2482,2800,2333,1636,1795,1888,1804,1500,1483,1998,2207,2440,2739,2640,1848,1747,2045,1868,1647],[1941,1674,2894,3480,3437,3328,3320,3432,3260,3175,3220,3100,3046,3153,3105,3071,3284,3483,3404,3165,2896,3117,3251,3237,3311,3482,3483,3421,3416,3354,3195,3007,2931,3040,2928,2932,3125,3432,3323,2979,3027,3141,3143,2905,2964,3252,3687,3797,3731,4135,4200,4124,3919,3466,3423,3385,3536,3387,3128,2565,2057,2098,1923,2041,2080,2246,2492,3025,3222,2160,1948,1938,2064,2166,2603,2392,1814,1808,1607,1545,1662,1779,1855,1802,2107,2632,2541,2017,2072,2180,2925,3227,2796,2483,2257,2186,2293,2801,2271,2340,2364,2586,2522,2166,2336,2389,2438,2299,2018,2342,2792,2455,1898,1957,2051,1844,2140,2227,1915,1734,1618,1779,2413,2906,2932,2249,1788,1637,2016,2164,2370,2447,2115,2446,2725,2377,2244,2267,2050,1751,2225,2788,2674,2986,2586,2281,1960,2014,2160,2883,3836,3560,2996,3547,3773,4151,4367,4388,4383,4251,4228,4105,3992,3886,4049,4353,3951,3086,3701,3635,3499,3594,3934,4220,3495,2234,1762,1757,1621,1631,1994,2236,2126,1966,1772,1752,1524,1622,1955,1694,1465,1758,1784,1873,2244,1914,1314,1371,1716,1790,2003,2249,2674,2806,2818,2836,2812,3085,3130,2731,2207,2113,2686,3299,3664,3449,2921,2946,2773,2852,2827,2870,3078,3128,3528,3813,3714,3816,3906,3714,3239,3077,3155,3220,3211,3083,3162,3284,3286,2946,2854,3176,3010,2733,3349,3140,2854,2769,2817,2749,2920,3414,3432,3456,3457,3710,4046,3046,2228,2216,2490,2736,1926,1339,1433,1567,1874,1815,1613,1270,1260,1806,1960,1653,1372,1419,1414,1459,1667,1595,1550,1444,1327,1336,1454,1499,1509,1348,1236,1251,1439,1616,1676,1710,1804,1809,1951,1919,1859,2006,1193,1289,1777,1447,1262,1340,1369,1316,1372,2164,2777,3262,2943,1714,1506,2479,2867,1758,1672,1448,1243,1458,1302,1587,2116,1835,1406,1504,1204,1327,1932,2065,1986,1903,1682,1613,1201,1188,1449,1842,2233,2035,1920,1943,1517,1561,1602,1365,1419,1387,1281,1321,1403,1424,1332,1341,1575,1665,1485,1416,1266,1629,1881,1606,1657,1792,1764,1882,1881,1647,1420,1261,1215,1227,1247,1268,1185,1037,960,1250,1362,1517,1410,1237,1216,1383,1602,1488,1324,1606,1679,1776,2003,2175,1864,1523,1426,1477,1470,1377,1571,1410,1751,2319,2553,2664,2493,2315,2482,2221,1977,2179,2373,2364,1864,1566,1942,2207,3078,3393,2899,2857,2178,2195,1854,1952,2426,2765,3040,3097,3263,2363,1750,1605,1776,2803,3318,3106,2652,2479,1665,1515,1569,1509,2094,2604,2744,2721,2306,1969,1824,1857,2045,2128,2287,2174,1737,1868,1942,1938,1694,2001,2145,1541,1577,1734,1763,2020,1978,1760,1705,1691,1860,1935,1591,1500,1562,1543,1786,1928,1650,1518,2040,2709,2401,1710,1484,1461,1505,1510,1510,1719,2207,2049,2124,1565,1687,2057,2385,2261,2017,2555,2494,2004,1922,1885,1765,1625,1656,1728,1405,1572,1637,1405,1498,1530,1445,1454,1611,1657,1447,1402,1516,1796,2020,1953,1514,1610,1751,1967,2344,1981,1534,1694,1576,1442,1405,1544,1516,1319,1451,1587,1791,1921,1784,1969,2141,1863,1646,1622,1644,1454,1527,1500,1449,1411,1658,1860,1824,1765,2100,2076,2013,1696,1824,1897,1764,1902,1620,1509,1547,1753,1671,1716,1804,1760,1848,1909,1844,1741,1676,1635,1566,1482,1590,1971,2492,2643,2080,2198,2814,2386,1967,1900,1879,1722,1399,1430,1373,1412,1363,1266,1306,1393,1418,1354,1460,1603,1735,1786,3082,2336,1766,1900,1764,1753,1594,1363,1378,1526,1688,1523,1544,1526,1465,1565,1495,1488,1553,1505,1396,1449,1456,1509,2634,3374,3186,2966,2138,2103,2134,2017,1780,1584,1416,1311,1277,1618,2240,1687,1457,2325,2514,2800,3239,2610,1932,1812,1787,2475,3028,2392,1828,1785,1393,1332,1615,3010,3746,3364,2740,2327,2497,2290,2042,2425,2324,2254,2200,2097,2099,2235,2020,1602,1610,1709,1730,1798,1633,1716,1786,1602,1645,1970,1926,1699,1747,1598,2248,2559,1796,1509,1628,1539,1558,1594,1567,1600,1625,1644,1728,1643,1543,1583,1554,1563,1885,1974,1708,1614,2170,2418,1900,1771,1798,1771,1799,1686,1625,1577,1442,1338,1572,1524,1226,1872,1959,1837,1819,2064,1798,1502,1447,1428,1344,1451,1688,1737,1659,1738,1838,1907,2021,1763,1426,1459,1522,1537,1607,1626,1331,1321,1481,2319,1884,1518,1495,1437,1542,1588,1576,1824,1833,1676,1847,2018,1958,1885,2986,4320,4249,2849,2357,3200,3422,3269,2887,2169,2264,2235,1943,2044,2176,2040,2131,1964,1632,1560,1593,1505,1369,1388,1653,1789,1466,1436,1440,1517,1704,1492,1516,1544,1311,1287,1333,1281,1432,1751,1384,1315,1832,1881,1829,1848,1556,1421,1526,1468,1340,1289,1342,1400,1315,1399,1726,1949,1957,1886,1870,1974,1995,2482,2876,2939,3118,3075,2764,2863,3054,3204,3240,3131,2769,2365,2304,2377,2275,2230,2558,3240,3304,3295,3087,2852,2574,2769,3141,3161,3062,3066,3406,3688,3242,3362,3134,3084,3119,3288,2426,2143,2728,3013,2844,2629,2599,2722,2920,3278,2810,2568,2865,3233,2717,2767,2855,2611,2667,3088,3139,3196,3121,3228,3386,2552,1772,1459,1527,1685,1379,1450,1507,1342,1325,1374,1431,1403,1350,1303,1473,1342,1262,1321,1389,1443,1418,1374,1291,1264,1331,1383,1410,1461,1489,1546,1463,1560,1528,1655,1578,1581,1677,1838,1644,1469,1806,2032,2264,2100,1845,1664,1933,1961,2177,2646,2486,2013,1787,1657,1513,1338,1735,2260,2095,1418,1405,1509,1538,1896,2410,2666,2344,1902,2141,2283,2060,1883,1880,1631,1926,1637,1472,1871,1979,1880,1959,1937,1869,1576,1700,1931,2209,1887,1660,1911,1672,1498,2380,2908,2886,2963,2742,2651,2728,2413,2318,2833,2652,2293,2244,2384,3066,3308,3196,3184,3104,3272,4508,4047,3439,3227,3159,3017,2499,2026,1952,2106,1844,1797,1913,2264,2404,2091,1943,2093,1950,1804,1763,1700,1731,1680,1758,1880,1823,1544,1495,1635,2040,1946,1793,1720,1584,1659,1223,1778,2568,2278,1598,1763,2681,2356,1958,2060,1954,1818,1546,1834,2137,2020,1686,1692,1692,1981,2568,2546,2701,2286,1559,1337,1636,1698,1443,1397,1265,1573,2244,2062,1693,1561,1524,1493,1302,1354,1262,1292,1361,1515,1782,1805,1548,1510,1879,1730,2337,2688,2524,2275,2856,2675,1874,1483,1953,2208,2082,2431,2610,2569,2163,1749,1880,2127,2155,2091,1866,2104,2674,2690,2576,2198,1683,1710,1950,1942,1750,1910,1805,1876,2124,1863,1659,1756,1933,2116,1820,1560,1655,1853,2174,2040,1938,2374,1912,1587,1583,1983,2410,1921,2269,2489,1782,1728,2291,2224,2225,2132,2097,2238,2090,2917,3250,2131,2284,2382,2035,1714,1808,2042,2258,2325,2476,2110,2068,2133,1842,1749,1854,1928,1710,1542,1488,1542,1604,1822,2041,2442,2547,2141,1900,2752,3086,1964,1684,2078,2181,1977,1626,1692,2069,2623,2943,3012,2414,2125,2122,1809,2093,2453,2085,1853,1684,1636,1612,1847,1994,2040,1814,2139,2138,2100,2060,1940,1865,1842,1938,1698,1425,1378,1991,3124,3124,2141,1918,1703,1688,1804,1760,1655,1480,1792,1868,1712,2291,2932,2972,2849,2676,2464,2357,2232,2104,1951,1865,1665,2099,2820,2975,2591,2174,2189,2370,3019,2946,3204,2836,2410,2022,1598,1362,1341,1520,1776,1668,1390,1958,2236,1528,1388,1229,1307,1834,1609,1374,1478,1374,1319,1539,1589,1698,1972,1657,1556,1435,1560,1483,1423,1853,1838,1892,1925,1603,1733,2359,2622,2667,1843,1852,1981,1726,1470,1615,1890,1989,1965,1550,1485,1726,2066,2059,1714,1623,1909,2019,2058,1852,1640,1541,1568,1496,1502,1578,1572,2024,2380,2210,2264,2153,2160,2119,2316,2358,1972,2125,2209,1947,2165,2509,2259,2236,2445,2777,2866,2896,2936,3035,2850,2280,2439,2565,1921,2108,1758,2330,2311,1916,1679,1458,1446,1470,1423,1525,1982,2280,2127,2300,2327,1804,1438,1597,2008,2578,3186,3452,3523,2954,2092,1532,1393,1645,1586,1688,1928,1991,2454,3123,3122,2480,2035,2062,2201,2140,2094,1793,1743,1689,1734,1886,1772,1781,1844,2474,3099,2808,2701,2598,2260,2172,1769,1837,2028,2450,2423,2306,2453,2653,2415,2326,3143,3200,3331,3196,3064,2831,3185,3540,3343,3351,3470,3311,3187,2456,1631,1640,1462,1677,1780,1829,1794,1861,2705,3256,3404,3620,3082,2810,3174,3322,3431,3413,3835,2865,1698,1475,1516,1409,1410,1396,1483,1676,1606,1797,2524,3130,2480,2076,1897,1918,1574,1704,2183,2458,2278,1901,1835,1996,1821,2679,3031,2279,1494,1691,1845,1845,1681,1557,1650,1678,1726,1722,1704,2090,1616,1858,2106,2125,2130,2198,2338,1981,1725,1907,1793,1895,1793,1927,2150,2313,2298,2166,1731,2884,3551,2420,1856,2056,1969,2028,2796,3594,2742,2801,3704,4244,4344,3737,2357,1820,2099,2246,1845,1603,1651,1802,2104,1968,1948,2104,2071,1993,2012,2192,2359,2440,2272,1847,1905,2186,1741,2626,3507,3571,3017,2386,2078,2220,2593,2234,1882,2258,2302,2292,2013,1829,2119,2499,2548,2562,2404,1964,2002,2304,2232,1569,1948,2236,2103,2511,2674,2962,3133,3081,2717,2074,1885,1737,1691,1818,1906,1661,1641,1823,1954,1980,2173,2282,2373,2653,2512,2070,1798,1880,1973,2621,2844,2949,2503,2763,3051,2997,3361,3746,3939,3794,2829,2122,1964,2259,2027,2208,2237,2165,2448,2299,2402,2995,2458,2149,2148,2278,1803,1930,1995,2324,2544,2441,2122,1996,2119,2031,2047,1858,1903,2091,1837,1815,1959,2176,2130,2104,2122,2358,2842,3398,3100,2686,2942,2856,2255,1733,1618,1541,1643,2048,2270,2011,1845,1732,1730,2308,2069,2327,2119,1957,1804,2372,2463,1729,1690,1982,2177,2025,1519,1704,2037,2172,1861,1851,1974,1659,1843,1981,1759,1748],[2230,2040,2753,3174,3030,3150,3566,3499,3447,3470,3328,3209,2945,2949,3027,3054,3451,3511,3179,2920,2884,2942,2941,2778,2995,3340,3451,3414,3205,3187,3000,2856,3010,2973,2686,2607,2854,3153,3274,3036,3131,3156,3085,2979,3085,3006,3349,3617,3930,4364,3934,3340,3366,3650,3649,3001,2996,2943,3167,2768,2144,1967,2084,2245,2320,2478,2288,3082,3458,2317,1978,1803,1877,1778,1669,1782,1854,1793,1897,2286,1638,1622,1631,1505,1591,1918,2383,2534,2200,1726,2433,2877,2621,2280,2490,2665,2795,3277,3232,3322,3264,3663,3233,2648,2475,2210,2070,1842,1793,1838,2042,2212,2054,1919,1998,1881,1900,2267,2366,2360,2124,2106,2656,3256,2829,2098,1924,1829,2467,2557,2741,2898,2391,2499,3067,2982,2387,1863,1748,1893,2325,2405,1964,2592,2524,2080,2176,2374,2820,3849,4056,3320,3121,3915,3764,3982,4432,4403,4215,4188,4204,4001,3906,4083,4003,3226,3097,2423,2980,3785,3751,3651,3805,3762,3145,2461,1926,1651,1394,1489,1699,1736,1739,1698,1610,1919,1693,1731,1949,1577,1380,1373,1282,1703,2096,1459,899,1279,2404,2337,2143,2475,3042,3249,3157,2958,2991,3061,3009,2714,2453,2862,3341,3208,3631,3543,3408,3592,3383,3151,2812,2561,2658,2714,3208,3919,4095,3949,3794,3904,3829,3670,3639,3687,3500,3253,3250,3436,3587,2774,2938,3197,3397,3421,3441,3355,3317,3257,2975,2453,2701,3298,3270,3338,3629,4087,4071,3023,2088,1890,2319,2451,1657,1543,1574,1561,1853,1826,1506,1265,1245,1723,1623,1416,1423,1429,1355,1779,2068,1595,1383,1316,1411,1548,1570,1749,1520,1379,1471,1418,1428,1405,1395,1575,2012,1810,1762,1674,1939,1908,1660,1791,1710,1474,1448,1289,1145,1274,1440,2445,2915,3345,2618,1652,1621,3254,3218,1793,1373,1376,1438,1430,1353,1197,1406,1265,1219,1345,1330,1688,2302,2684,2591,2437,2395,1700,1073,1355,1636,1698,1896,1786,1729,1449,1200,1848,1880,1434,1466,1167,645,663,844,997,937,1260,1612,1666,1435,1252,1282,1792,1758,1219,1248,1363,1601,1742,1953,1870,1773,1597,1380,1461,1328,1052,1114,1140,1434,1969,1746,1698,1480,1425,1313,1294,1367,1288,1576,2095,1905,1514,1420,1532,1678,1561,1684,1700,1860,1769,1921,1784,1879,2281,2281,2438,2157,1212,1569,2047,1862,2065,2361,2056,1745,1861,1714,1487,1917,2673,2990,2485,1764,1957,1511,2088,2825,2796,2558,2217,2148,1935,1647,1452,1869,2770,3111,2885,1960,1620,1571,1469,1434,1635,2094,2332,2583,2791,3078,2407,1681,1646,1627,1547,1562,1827,1983,1827,1713,1838,1785,1841,1695,1547,1399,1380,1603,1908,2010,1736,1612,1606,1706,1686,1476,1533,1621,1772,2014,1915,1665,1551,1902,2374,1951,1743,1664,1394,1490,1598,1628,1707,2173,2069,1825,1796,1865,1765,2099,2010,2304,3165,3043,2398,2005,1615,1583,1631,1587,1615,1616,1805,1585,1609,1690,1505,1437,1534,1734,1689,1493,1505,1436,1788,1729,1699,1520,1311,1739,1936,1979,1707,1494,1750,1594,1400,2026,2555,2399,2012,1874,1683,1875,2191,2213,2343,2138,1887,1547,1515,1538,1508,1666,1592,1531,1439,1331,1709,2026,2334,2659,2099,1780,1520,1670,1671,1749,1720,1688,1659,1650,1643,1601,1613,1639,1504,1650,1935,2036,1731,1641,1520,1441,1433,1621,1823,1962,2080,1706,1781,1991,1867,1873,2473,2946,2080,1503,1438,1430,1482,1542,1382,1293,1295,1265,1359,1423,1468,1716,1810,1666,1479,1438,1371,1424,1447,1496,1502,1400,1629,1694,1519,1418,1359,1503,1403,1317,1355,1499,1469,1404,1403,1416,1443,2279,2589,1892,1913,2464,2846,3332,2721,1663,1482,1267,1283,1540,1853,2059,1313,1948,2636,2552,2974,3130,2498,1970,1821,1754,2338,2395,2247,2110,1706,1511,1561,1919,2942,3311,3291,3037,2997,3086,2357,2595,3241,3072,2509,1980,1765,1722,1807,1730,1500,1619,1711,1606,1675,1625,1593,1743,1866,1815,1786,2039,1947,1663,1548,2563,2884,2035,1672,1875,1541,1514,1732,1488,1789,1715,1598,1644,1570,1465,1460,1458,1564,1939,2135,1849,1886,1982,2013,1637,1473,1463,1585,1643,1599,1635,1762,1543,1404,1592,1448,1682,2208,1945,1800,1853,1841,1738,1512,1399,1377,1356,1462,1416,1454,1387,1506,1593,1630,2033,1887,1544,1460,1538,1458,1544,1973,1886,1518,1372,1687,1458,1376,1594,1998,2371,2133,2219,2284,1780,1641,1970,2017,1628,2614,4018,3959,3629,3061,2484,2909,3304,3599,3198,2232,2313,2273,2033,1831,1882,2009,2244,1952,1631,1619,1628,1410,1399,1387,1567,1473,1321,1371,1471,1563,1607,1643,1877,1907,1617,1325,1309,1376,1515,1638,1350,1853,2642,2374,1882,1691,1446,1318,1616,1812,1396,1289,1499,1490,1334,1358,1665,1905,1817,1824,1806,1834,2237,2776,2832,2732,3351,3288,3030,2830,2959,3012,2713,2617,2718,2587,2674,2768,2524,2521,2997,3255,3335,3354,3105,2858,2811,2964,2946,2878,2859,2980,3340,3138,2417,3122,3018,2876,3187,3145,2230,2149,2829,2919,2650,2696,2809,2873,3219,3388,2641,2346,2544,2579,2696,2608,2821,2511,2442,3042,3113,3121,2910,2668,2417,1604,1375,1375,1363,1365,1288,1280,1277,1300,1555,1358,1343,1276,1421,1403,1505,1426,1637,1698,1370,1636,2095,1574,1299,1395,1305,1359,1583,1435,1429,1502,1587,1523,1338,1531,1991,2043,1775,1671,1854,1903,1958,1903,2070,2417,2150,1618,1472,1734,2344,2811,2763,2899,2351,1832,1900,1754,1576,2056,1812,1565,1708,1703,1799,2204,2317,2282,2935,2416,2350,2217,2367,2421,2150,1892,1768,1736,1671,1709,1795,1778,1635,1583,1508,1520,1908,1759,1683,1757,1821,1899,1756,1711,1939,1894,2052,2481,2269,2285,2487,2512,2755,2687,2417,2661,3035,3488,4012,4091,3837,3907,3651,3209,4081,2914,2196,2273,3040,3531,3143,2392,2115,2196,1668,1646,1799,2035,2158,1944,1505,1569,1598,1660,1672,1605,1578,1546,1682,2145,2194,1486,1346,1627,2092,1697,1597,1658,1606,1797,1651,1636,1930,1999,1489,1720,2223,1991,1973,2107,2027,1594,1843,2115,2059,1886,1681,2104,2292,2540,2634,2135,1933,1888,1489,1394,1553,1395,1349,1433,1288,1570,2129,1829,1441,1526,1441,1319,1382,1409,1405,1489,1441,1471,1619,1647,1578,1520,2365,1756,1855,1960,1896,2009,2316,2237,1902,1667,2110,2120,1887,2105,2391,2217,1992,2109,2286,2221,2740,3098,2353,2209,2753,2785,2457,2189,1466,1356,1585,1963,1788,1653,1858,2395,2355,1992,2120,2221,1596,1623,1867,1873,2408,2268,2298,2217,2037,1955,1631,1487,1377,1912,2222,1714,1986,2071,1883,2180,2393,2418,2405,2127,2178,2027,1839,2406,2553,1801,2320,2525,1886,1874,1530,1844,2197,2258,1878,1846,2569,2357,1660,1474,1717,2058,1801,1533,1563,1464,1541,1977,1906,1787,2301,2086,1821,2212,2315,1950,2259,2065,2295,2010,1559,1924,2543,2764,2778,2553,2470,2219,1929,1971,2334,2711,2345,1938,1674,1434,1686,1769,1786,1872,1731,2161,2312,1936,1816,1889,2076,2107,1844,1560,1456,1514,1931,2713,2864,2386,2107,2060,2314,2154,1931,1586,1554,1901,1977,1758,1729,1606,1942,2042,2048,1895,1648,1527,1568,1700,1603,1323,1770,2916,3118,2711,2292,2433,2620,3143,2943,3370,3094,2534,2140,1742,1544,1510,1573,1773,1619,1711,2935,2902,1728,1327,1260,1350,1302,1256,1354,1471,1366,1509,1867,1597,1685,1731,1453,1526,1443,1434,1435,1665,2039,1930,1688,1688,1555,1869,2368,2658,2754,2234,2317,2357,1958,1666,1803,2050,1685,1615,1570,1738,1878,2259,1866,1670,1842,2002,2002,1782,1767,1816,1601,1727,1471,1534,1740,1946,2545,2735,2405,2090,1922,1874,1986,2048,2207,2576,2452,2197,2436,2702,2658,2620,2532,2528,2903,2996,2512,2650,2684,2288,1695,1800,2072,2152,2463,2057,2395,2647,2202,1798,1423,1409,1428,1434,1492,2057,2410,2259,2577,2611,2008,1576,1757,2312,2858,3367,3222,3321,3156,2114,1353,1342,1334,1605,2476,2438,2010,2392,2733,2561,2153,2099,1960,2365,3151,3428,2734,2169,2149,2098,1804,1710,1655,1635,1928,2382,2267,2382,2161,2274,2160,1812,2089,2237,2455,2533,2323,2433,2520,2063,2128,2614,2585,2839,3097,3076,2609,2917,3274,3085,3062,3374,3249,2872,1893,1675,1653,1797,1786,1772,2030,2497,2614,3052,3203,3168,3256,2901,3330,3333,3404,3882,3891,3428,2231,1460,1438,1367,1362,1424,1387,1653,1879,1913,2351,2991,3009,3009,2504,1980,1729,1700,2027,2143,2465,2503,2489,2133,2503,2793,3548,3222,2176,1644,1903,1923,1652,1656,1603,1586,1709,1834,1886,1986,1803,1770,2210,2486,2481,2206,2183,2200,2198,2279,2172,1804,1899,2072,2203,2304,2403,2569,2139,1634,2731,3248,2231,1754,2069,2030,2169,3154,3355,2732,3157,3768,4125,3959,2813,1726,1668,1823,1760,1912,2714,1871,1866,2032,1898,1977,1987,1842,1683,1777,1834,1808,2215,2658,2049,1864,2381,2238,2851,2985,2645,2530,2293,2565,2353,2056,2143,1824,2023,2072,2083,2456,2127,1957,2283,2497,2459,2330,2205,2084,2024,1954,1836,2468,2087,2065,2431,2650,2998,3038,3019,2963,2433,1917,1572,1674,1808,1744,1532,1607,1732,1873,1971,2079,2007,1660,2221,2493,2042,1838,1712,1947,2662,2790,2354,2403,3098,3500,3731,3914,3905,3666,3000,2388,2126,1836,2079,2092,1948,2186,2341,2353,2842,2763,2379,2225,2163,2214,2447,2646,2990,2997,2924,2814,2295,1946,2192,2187,1865,1809,2308,2576,2566,2752,3056,3286,3366,3552,3444,2766,2542,2244,2001,2126,2701,2809,2531,2081,1687,1847,2132,2231,2700,2809,2441,2282,1908,1953,2078,1810,2693,2627,2567,2228,2468,2558,2215,1882,1928,2163,1974,1762,1805,1651,1843,1757,1713,1725,1863,1993,2006,1953,1816],[2276,2277,2596,3100,3122,3200,3422,3242,3187,3249,3214,3089,3139,3229,2707,2830,3419,3464,3334,3067,2813,2871,3061,2873,3032,3131,3304,3426,3270,3187,3138,3080,3095,2900,2680,2639,3130,3285,3409,3256,3196,3061,3034,2888,2937,3193,3384,3483,3930,3903,3507,2661,2611,2949,3166,3283,2773,2007,1986,2041,2130,2131,2069,1990,1768,1735,2145,2641,2423,1795,1867,1692,1712,1560,1576,1911,2118,2586,2685,2655,1592,1669,1599,1742,1811,1930,2289,2693,2231,1525,1996,2435,2340,1537,2702,3351,3837,3868,3572,3593,3511,3475,3077,2404,2234,2052,1902,1714,1580,2037,2632,3306,2588,1870,1830,1680,1942,2320,2199,2209,1907,2450,2534,3008,2481,1821,1791,1936,2708,2780,2643,2574,2058,3045,3540,2971,2648,2099,2532,3064,2957,2540,2326,2485,1965,1759,2482,3006,3429,3555,3221,3287,3410,3572,3486,4018,4415,4332,4058,3955,4107,4105,4046,4368,4040,3154,2869,2652,3086,3685,3528,3117,3011,2519,2298,2537,2114,2134,2602,2745,2066,1535,1537,1595,1342,1357,1364,1598,1919,1700,1469,1295,1355,1774,2104,1589,1137,1668,2750,2953,2578,2622,3266,3432,3366,3131,3074,3008,2662,2252,2554,2878,2877,3020,3283,3428,3640,3723,3785,3640,3311,2795,2532,2631,2702,3275,3870,3984,3840,3914,4165,4365,4284,4078,3882,3792,3415,3072,3169,2925,2633,2783,3420,3688,3977,4264,4093,3805,3398,3072,3448,3563,3596,3956,4070,3890,3726,3232,2532,2265,2592,2173,1659,1708,1592,1387,1671,1638,1268,1353,1380,1423,1466,1443,1410,1443,1770,2167,1972,1574,1408,1390,1352,1610,1527,1512,1496,1417,1295,1418,1442,1300,1393,1689,2529,2075,1692,1508,1709,1761,1766,1836,1725,1716,1668,1408,1311,1404,1816,2524,3054,3210,2370,1615,1952,3283,3174,2068,1910,1725,1409,1356,1484,1227,1242,1370,1404,1400,1665,1969,2491,3030,2632,2514,2040,1464,1484,1807,1870,1787,1718,1598,1590,1315,1592,2523,2108,1461,1604,1098,559,1208,1406,1152,1101,968,888,1045,1073,935,1302,1859,1708,1365,1451,1489,1492,1730,2135,2110,2006,1870,1694,1643,1534,1411,1289,1332,2389,3056,2413,1509,1562,1637,1471,1475,1408,1256,1432,1487,1505,1664,1688,1476,1738,1655,1661,1933,1899,1745,2010,1818,1753,1909,1784,2029,1946,1523,2029,2387,2342,2375,2131,1561,1721,2138,2038,1625,1473,1831,2177,2377,1931,2040,1685,2255,2973,2887,2233,1853,1983,1765,1633,1894,2404,3125,2968,2187,1602,1568,1607,1427,1354,1626,2333,2576,3177,3266,3010,2529,2338,1938,1771,1679,1477,1614,2060,2072,1700,1872,1948,1636,1454,1521,1534,1411,1489,1674,1842,1664,1538,1578,1649,1579,1400,1965,1992,1723,1545,1525,1543,1946,2041,1822,1626,1560,1440,1355,1442,1556,1506,1521,1498,1892,1762,1499,1621,1688,1910,2565,3021,3230,2547,1911,1952,1836,1626,1674,1893,1666,1862,1964,1536,1591,1708,1510,1464,1512,1532,1619,1628,1443,1475,1892,2130,2316,1944,1398,1460,1431,1664,1612,1538,1561,1472,1470,2401,2835,2644,2340,2136,1853,2189,2125,2010,2133,2720,2194,1671,1520,1572,1570,1548,1547,1734,1677,1530,1625,2237,2219,1874,1549,1602,1853,2052,1996,1870,1621,1675,1693,1694,1568,1470,1524,1592,1761,1722,1831,1908,1838,1738,1506,1463,1461,1494,1478,1261,1496,1440,1558,1803,2075,1994,2033,2309,1991,1505,1551,1583,1555,1570,1451,1299,1291,1261,1412,1378,1756,1960,1698,1353,1307,1375,1569,1758,1494,1488,1450,1498,1825,1924,1854,1550,1443,1460,1545,1745,1458,1521,1509,1487,1460,1384,1302,1616,1702,1400,1749,2513,2761,2931,2676,2468,1676,1360,1572,2013,2338,1692,1600,2276,2669,2873,3123,2915,2486,1902,1855,1770,2515,2016,1830,2002,1879,1759,1685,1869,2307,2974,3379,3410,3610,3615,3137,3124,3379,3306,2640,1940,1592,1593,1914,1883,1852,2190,2097,1685,1914,1787,1438,1567,1431,1396,1423,1579,1963,1987,2150,3140,3204,2454,1848,1748,1465,1427,1398,1400,1696,1604,1417,1455,1631,1419,1283,1280,1371,1563,1535,1493,1633,1802,1734,1394,1486,1764,2031,1672,1612,1744,1832,1559,1662,1481,1367,1760,1774,1483,1500,1692,1865,1570,1300,1432,1378,1304,1362,1316,1352,1347,1741,1974,2009,1790,1746,1621,1509,1511,1389,1652,2204,2160,1588,1462,1635,1476,1344,1427,1936,2469,2113,2707,2863,1951,1685,1922,1888,1782,2451,3286,3558,3789,3262,2309,2489,2950,3542,3010,2518,2401,2204,1766,1607,1672,1949,2217,2155,2095,1572,1376,1264,1365,1332,1252,1378,1278,1214,1368,1420,1433,1475,1619,1734,1592,1268,1288,1378,1448,1655,1396,1721,2505,2322,1736,1638,1593,1418,1351,1512,1278,1227,1329,1294,1306,1285,1416,1314,1179,1581,1724,1861,2020,2152,2330,2495,2884,2406,2437,2475,2652,2908,2950,2979,3023,2707,2523,2612,3184,2727,2990,3129,3219,3591,3508,3010,2834,2910,2872,2949,3203,3595,3222,2373,2228,2886,2903,2708,3099,2958,2060,1755,2142,2675,2887,3022,3162,3110,3205,3106,2554,2437,2534,2639,2822,2856,2995,3270,3206,3086,2730,2415,1879,1518,1429,1389,1383,1486,1448,1438,1450,1308,1292,1244,1360,1358,1400,1399,1534,1299,1417,1672,2047,1795,1226,1814,2296,1437,1404,1404,1265,1460,1581,1459,1462,1586,1626,1525,1494,1918,2414,2329,2398,2089,2044,2043,1837,2176,2080,2065,2088,1831,1953,2062,1984,2373,2785,2934,2277,2100,2363,2413,2169,2524,2336,1949,1814,1896,2182,2142,1721,1836,2119,2228,2344,2063,2062,2028,1880,1918,1913,2131,2181,2194,2075,2231,1756,1430,1350,1394,1494,1513,1524,1554,1780,1801,1653,1854,1934,1853,2575,2825,2319,2098,1975,2109,2322,2193,2045,2569,3354,3465,3228,2902,2942,3113,2852,3050,3646,2589,1927,2126,2833,3680,3855,2772,1335,1192,1163,1932,1998,2314,2236,1665,1591,1752,1760,1687,1691,1594,1427,1049,1288,1849,2090,1573,1456,1685,1976,1626,1962,1919,1465,1771,1567,1153,1544,2009,1775,1638,1317,1383,1814,2261,2176,1953,2103,1955,1688,1548,1760,2481,2952,3632,2481,1863,2148,2149,1698,1504,1130,987,1312,1281,1234,1054,1198,1443,1435,1535,1368,1524,1720,1520,1440,1495,1495,1380,1493,1849,2040,1611,2218,1862,1532,1338,1281,1425,1632,1726,1728,1760,2041,1764,1805,2188,2308,2127,1831,1902,2051,2221,3177,3729,2851,2285,2340,2182,1875,1493,1273,1040,1151,1486,1639,1731,2042,2598,2036,2048,1998,1917,1431,1537,1732,1682,2038,1960,1869,1809,1702,1697,1664,1642,1355,1662,2026,2218,1899,1581,1550,1931,2218,2338,2366,2312,1995,1819,1902,2139,2152,2082,2458,2426,1995,1607,1666,2127,2044,1815,1748,1935,2069,1902,1745,1576,1772,2050,1924,1841,1708,1565,1714,1892,1874,2060,2339,2280,1944,1640,1963,2214,2039,1853,2290,2170,2309,3153,3584,2790,2304,2292,1884,1874,1886,1840,1992,2430,2400,2148,1672,1620,2188,2043,1915,1768,1655,1814,1752,1811,1852,2040,2702,2311,1497,1517,1495,1552,1797,2357,2685,2347,2026,2048,1825,2009,2269,2171,2226,2270,2066,1749,1609,1608,1832,1857,1826,1757,1560,1442,1534,1511,1542,1498,1754,2878,3164,2884,2482,2446,2419,3115,3824,3807,3077,2274,1855,1547,1744,1873,1295,1262,1296,1359,2076,2191,1762,1427,1472,1425,1330,1349,1268,1379,1450,1408,1365,1458,1654,1465,1357,1485,1411,1363,1588,1673,1556,1607,1676,1576,1479,1639,2148,2159,1979,2002,2090,2348,2111,1613,1592,2020,2139,1875,2095,2188,1770,1542,1535,1936,1968,1769,2254,2275,2336,2237,2037,2084,1813,2194,2266,2136,2272,2453,2243,1941,1854,1936,2094,2049,2352,2429,2391,2271,2448,3151,3320,3065,2894,2529,2512,2554,2336,2586,2612,2066,1851,2179,2460,3112,3340,2338,2144,2536,2414,2287,1554,1396,1492,1670,1982,2261,2198,1779,2164,2387,1750,1659,2375,2656,2545,3060,3116,3032,3142,1929,1281,1273,1156,1240,2104,2869,2556,2385,2352,2418,2185,2387,2238,2861,3815,3979,3772,3091,2100,1965,1770,1836,1561,1764,1794,1919,2420,2491,2342,2449,1889,1551,1680,1876,1926,1999,2026,2147,2081,1930,2282,2504,2717,2727,2812,2887,2821,2846,2446,3108,3586,3455,3374,2622,1952,1858,1794,1870,1714,1610,1920,2588,3037,3366,2958,2967,3097,3138,3658,3686,3592,3755,3256,2510,1824,1480,1406,1432,1603,1609,1902,2552,2112,2714,3088,2874,2648,2774,2370,1904,1693,2083,2399,2293,2233,2415,2380,2300,2350,2475,2840,2640,2049,1962,2416,2134,1733,1563,1694,1755,1659,1652,1732,1841,1786,2071,2303,2459,2530,2452,2424,2115,2353,2246,2260,2089,2202,2244,2166,2171,2127,2219,1982,1753,2714,2699,2030,1946,1954,1969,2393,3371,3063,2707,2984,3393,3806,3274,2254,1824,1898,1937,1770,2209,2778,2211,2052,2139,2194,2000,1742,1719,1572,1562,1553,1795,2165,2796,2720,2454,2631,2275,2488,2502,1717,1323,1896,2358,1982,2501,2661,2301,2250,2125,2303,2410,2214,1965,2087,2453,1995,1946,2159,1829,1887,1633,2016,2522,2601,3034,2785,2400,2742,2530,2547,2557,2599,2128,1871,1726,1260,1394,1672,1632,1700,1833,1973,1854,1926,1634,1951,2120,1993,1713,1733,2239,2778,2578,2476,2806,2629,3185,3637,3619,3721,3017,2280,2537,2398,2129,2106,2021,2026,2518,2732,2908,3208,2640,2068,2474,2393,2588,2732,2623,2797,2974,2996,3185,2699,2320,2420,2040,1704,1861,1921,2234,3006,3786,3685,3214,3110,3430,3392,2690,2703,2010,1506,1624,2188,2360,1886,1592,1499,2173,2728,2574,2899,3012,2578,2302,1612,1352,1384,1964,2403,2409,2533,2320,2247,2415,2132,1764,1957,2500,1990,1692,1586,1628,1750,1828,1729,1793,1930,1738,1890,1796,1731],[2508,2662,2599,2592,2181,2661,3386,3439,3275,2954,2818,2554,2818,3177,3382,3482,3545,3499,3715,3482,3128,3068,3000,2878,3048,3028,3187,3392,3289,3204,3120,3024,2962,2975,2907,2923,3153,3141,3256,3265,3132,3074,3040,2893,3044,3322,3463,3328,3606,3652,3164,2641,2442,2773,3555,3920,3125,2319,2308,2335,2239,2251,1991,1764,1572,1762,2099,2484,2430,2131,1870,1808,1800,1728,1826,1769,1990,2373,2635,2446,1772,1797,1901,1961,2014,1998,2140,2348,2014,1320,1477,1761,1793,1679,2586,3507,4084,3803,3487,3462,3341,2962,2646,2200,2654,2194,1752,1714,1454,2432,3354,3360,2362,1739,1863,1676,1844,1821,1874,1986,2424,2511,2660,2757,2317,2002,2078,1943,1868,1911,2115,2090,1992,2907,3840,3631,3655,2329,2676,3791,3303,2799,2919,2591,1859,2042,2663,3540,3480,2911,2665,2562,3244,3783,4017,4397,4372,4155,3942,3967,3989,4047,4108,4291,3899,3540,3008,3576,3697,3326,3063,2634,2517,2596,2911,2644,2046,3218,3586,3217,2243,1740,1680,1447,1481,1686,1469,1464,1823,1833,1452,1314,1306,1745,2380,2414,1925,2377,2758,2544,2348,2494,3288,3357,3142,3184,2949,3028,2444,2587,3374,3154,2792,3244,3132,3350,3554,3540,3568,3607,3631,3477,3350,2839,2621,3155,3444,3593,3686,3716,3917,4163,4196,4018,3930,4240,3946,2877,2614,3099,3098,3326,3562,3909,4209,4311,3671,3453,3458,3517,3987,3972,3763,4191,4320,4004,3464,3100,3265,3024,2699,1781,2002,1908,1646,1443,1719,1676,1505,1485,1398,1355,1520,1605,1455,1532,2053,1943,2329,1910,1582,1742,1671,1542,1404,1295,1378,1440,1344,1387,1369,1321,1235,1836,2199,1639,1267,1207,1409,1616,1793,1868,1814,1945,1871,1920,1805,1454,1816,2336,2999,2850,2123,1659,2267,3600,3019,2461,2802,1853,1313,1588,1341,1136,1159,1256,1404,1417,1617,1798,2168,2679,2027,2021,1677,1698,2027,2139,1763,1438,1354,1261,1334,1510,1843,2503,2049,1533,1630,986,872,2053,2355,2251,2070,1495,952,720,933,1034,994,1438,1771,1732,1865,1910,1826,2050,2230,2208,2076,2024,1959,1850,1757,1804,1648,1602,2201,2455,2087,1509,1425,1453,1411,1571,1557,1433,1550,1557,1621,1694,1756,2022,2083,1746,1606,1704,1810,1770,1636,1371,1392,1810,1924,1850,1763,1606,2106,2143,1930,1863,1587,1298,1810,2124,2100,1461,1372,1805,1998,2275,2162,2113,1747,1672,2143,2450,2050,1845,1896,1986,2027,2018,2242,2579,2054,1603,1476,1558,1456,1386,1327,1672,2618,2722,3370,4034,4168,3838,3318,2719,2208,1750,1680,1599,1694,1832,1725,2214,2280,1869,1687,1548,1432,1481,1507,1565,1720,1589,1628,1547,1591,1502,1483,2028,1832,1521,1478,1526,1578,1761,1836,1578,1646,1851,1476,1420,1477,1587,1524,1733,1787,1977,1982,1661,1660,1791,2035,3116,3374,3473,3085,2587,2059,1744,1598,1672,1810,1568,1484,1567,1350,1590,1941,1632,1480,1550,1600,1500,1556,1863,1897,1855,2017,1813,1583,1644,1656,1835,1888,1987,2024,1770,1510,1426,1664,1931,1917,1957,1964,1778,2362,1862,2026,2352,2701,2112,1559,1661,1766,1654,1568,1524,1491,1519,1608,1504,1852,2534,2274,1859,2328,2472,2081,2155,1829,1580,1663,1466,1562,1618,1500,1384,1469,1552,1411,1434,1642,1896,1809,1532,1598,1501,1429,1548,1359,1321,1409,1659,1820,1857,1859,1705,1616,1432,1233,1344,1620,1825,1549,1637,1413,1337,1257,1395,1476,1723,2019,1792,1257,1276,1367,1539,1919,1821,2026,2153,1636,1465,2055,2464,1921,1425,1365,1645,1611,1505,1406,1501,1544,1715,1488,1375,1462,1403,1405,1849,2185,2260,3117,3802,3182,1968,1440,1909,2643,2309,1728,2236,2690,2790,2920,2856,2282,2112,1976,1769,2156,2666,2134,1837,2056,2009,1677,1686,1969,2257,2763,3062,3629,4043,4161,3631,3133,3272,3043,2196,1949,1865,1659,1872,1622,1798,1958,1944,1617,2165,1878,1668,1670,1345,1329,1528,1602,1773,2116,2181,2237,2263,2158,1843,1692,1554,1622,1388,1500,1920,1569,1406,1416,1610,1423,1350,1350,1464,1757,1582,1338,1205,1308,1331,1410,1626,1831,2153,1876,1699,1887,1826,1682,1830,1550,1531,1797,1744,1629,1553,1381,1573,1364,1433,1620,1530,1261,1240,1318,1672,2043,1772,1940,2342,1722,2027,1602,1826,1664,1515,1689,1858,1735,1509,1458,1555,1425,1560,1579,1674,1595,1592,2075,2280,2254,2016,1681,1515,1707,2097,2479,2954,2895,2746,2541,2054,2211,2624,2284,2176,2312,2046,1597,1662,1737,1939,2546,2902,2424,1781,1479,1511,1651,1556,1406,1403,1295,1353,1440,1411,1639,1895,1674,1448,1330,1314,1439,1429,1403,1730,1742,1732,1847,1768,1767,1522,1377,1461,1393,1317,1199,1311,1322,1282,1333,1222,1456,1706,1492,1748,1550,1617,1785,1873,1918,2143,2052,2028,2013,1946,2343,2942,3112,2981,2730,2385,2243,2328,3278,2893,3256,3342,3117,3538,3354,2736,2922,3127,3365,3812,4312,4532,3473,2334,2476,2806,3133,3546,3516,2919,1896,2081,2374,2496,2731,3206,3022,2942,2792,2524,2340,2428,2666,2676,2707,2946,3095,3330,3033,2356,1861,1587,1572,1526,1439,1411,1358,1324,1301,1375,1359,1381,1244,1172,1350,1510,1530,1503,1489,1381,1371,1615,1737,1479,1374,1404,1526,1242,1405,1322,1351,1334,1583,1705,1557,1579,1624,1714,1708,1952,2520,2426,2388,2030,1800,1792,1967,2091,1996,2099,2143,2100,1964,1775,1929,2224,2964,3054,2470,2271,2264,2595,2950,2988,2872,2079,1731,2074,1951,1710,1537,1629,1328,1736,2056,1796,1687,1744,1764,1801,2141,2434,2436,2279,2248,2382,1756,1635,1572,1591,1709,1584,1443,1469,1846,2133,1907,2009,2137,2015,2486,2668,2221,2060,2092,2087,2028,2285,2432,2552,2353,2286,2275,2285,2922,2834,2761,2834,2844,2449,1925,2073,2294,2706,2897,2546,1724,1865,1664,2336,1868,1840,1894,1734,1881,1909,1885,1864,2126,1947,1761,1092,1320,1540,1593,1559,1720,1702,1837,1838,1964,1931,1736,1830,1550,1246,1708,1990,2066,1650,1239,1829,2107,1672,1575,1829,1957,1801,1471,1482,1783,2104,2728,2783,2201,2100,2349,2111,1957,1720,1066,1137,1376,1377,1247,966,992,1339,1781,1769,1482,1645,1604,1457,1433,1434,1427,1377,1498,1993,2227,2353,2580,2597,2150,1534,1699,1734,1857,1556,1649,1569,1700,1734,2142,2368,2375,2251,1977,1970,2037,2117,2481,2993,2554,2027,1730,1686,1533,1524,1721,1532,1829,2215,1945,2030,2415,2420,1999,1827,1736,2028,1732,1580,1788,1665,1554,1488,1381,1391,1566,1668,2359,2162,1890,1809,1638,1800,1721,1414,1370,1780,2020,2084,2501,2495,1913,2121,2149,2078,1960,1901,2193,2091,1554,1349,1659,1731,1749,1782,1799,1645,1726,1924,2167,2004,2065,1991,1898,1832,1631,1779,2115,1852,2190,2309,2398,2127,1591,1889,2442,2254,1821,1829,2160,2353,3042,3399,2994,2168,1962,1851,1766,2076,2625,2508,2157,2142,2024,2008,1790,2072,2196,1958,1604,1864,1594,1666,1775,1958,2045,2476,3465,3007,1791,1745,1675,1731,1884,2945,3349,2460,1995,2276,2198,2262,2542,2632,2295,2266,1987,1833,1995,1785,1609,1617,1506,1511,1624,1575,1785,1870,2256,1826,1804,2685,3073,2894,2508,2307,2662,3306,3699,3607,2824,1859,1556,1397,1500,1427,1410,1275,1242,1321,1335,1495,1556,1368,1366,1376,1392,1423,1354,1411,1544,1558,1364,1546,1720,1583,1619,1661,1542,1587,1826,1802,1579,1410,1625,1433,1451,1573,2020,1821,1803,2050,1753,2061,2083,1597,1738,2208,2407,2361,2372,2144,2031,2116,2182,2365,2204,2213,2667,2433,2364,2031,2008,2062,2150,2294,2158,2159,2165,2213,1956,1637,1670,2112,2329,1988,2396,2586,2357,2482,2487,2164,2308,3067,3119,2754,2331,2413,2549,2393,2291,2172,2236,2503,2709,3129,3378,2626,1965,2303,2688,2599,1850,1786,1836,1991,2307,2318,1637,1154,1791,1998,1598,2359,3184,2539,1869,2108,2304,2112,2398,1954,1156,1040,1173,966,1482,2324,2519,2757,2708,2765,2841,2595,3016,3021,2667,2983,3372,3035,2329,1933,1609,1919,2240,2634,2316,1996,2397,2010,1898,2149,2172,2276,1998,1922,1486,1188,1282,1866,1924,1983,2186,2410,2699,2397,2290,2720,2809,2731,2256,2984,3572,3307,3077,2371,2087,1939,1958,1931,2021,1940,1633,2273,3096,3432,2891,2503,3016,3649,3732,3217,3031,3342,3233,2220,1582,1490,1508,1932,1902,1726,2093,2743,2566,2879,3156,3016,2968,2841,2080,1862,1657,2340,2610,2565,2494,2358,2349,2364,2264,2259,2513,2610,2547,2754,2689,2092,1823,1634,1830,1901,1950,2210,2090,1739,1895,2299,2436,2957,3031,2751,2343,2239,2643,2388,2058,2056,2259,2320,2289,2259,2174,2160,1916,2175,2547,2186,1933,1735,1785,1853,2500,3110,2640,2582,2384,2226,2214,2180,2200,1930,1834,2009,2050,2058,2128,2062,1980,2276,2295,2064,1925,1615,1653,1882,1740,1898,2010,2781,2719,2345,2239,1749,1691,1431,1229,1707,2407,2872,2801,3473,3554,2850,2259,1951,1970,1739,1913,2000,2156,2359,2688,3072,2765,2157,1984,1745,2386,3073,3858,4164,3199,2774,2793,2492,2229,2261,2579,2513,2250,1775,1495,2050,2121,1895,1704,1763,2180,1996,1811,1604,1712,1906,1873,1721,1626,1696,1801,1954,2964,3582,3167,3529,3378,3069,3239,2674,2067,2125,2320,2056,1645,1823,2292,2410,2916,2902,2236,1806,2068,2372,2321,2662,2753,2497,2689,3234,3364,3514,2944,2737,2470,2006,1669,2128,2330,2390,3375,4153,3679,3039,2885,3028,3145,2481,2031,1756,1711,1594,1607,1650,1632,1623,1874,2318,2334,2371,2510,2872,2566,2114,1426,1198,1654,2078,1920,2288,2458,2360,2205,2537,2103,1925,2286,2480,2128,1864,1915,2255,2162,1751,1634,1792,1773,1581,1824,1946,2319],[2468,2460,2565,2612,2248,2853,3198,3172,3108,3028,2434,2151,2601,2940,3266,3422,3662,3371,3454,3547,3604,3559,3466,3151,2973,3034,3285,3496,3307,3032,2951,2785,2721,2867,2847,2950,2994,3033,3112,3087,3009,2995,2996,3049,3363,3663,3206,3066,3518,3560,2749,2350,1912,1957,2868,3432,3018,2758,2753,2434,2211,2155,1976,1753,2066,2250,2208,2551,2932,3034,2284,2028,1722,1750,2010,1808,1940,1926,2024,1911,1761,1848,1876,1885,2114,1946,1883,1616,1752,1663,1628,1635,1829,1954,2098,2977,3520,3514,3472,3484,3043,1890,1868,2691,3160,2519,1894,1824,1732,2539,3530,3100,2347,2176,2431,1770,1567,1500,1818,2308,2382,2219,2789,2862,2722,2570,2404,2378,2312,2242,2426,2336,2216,2656,3182,3101,3164,2155,2525,3494,2799,2475,2437,1961,1875,2164,2456,2696,2498,2402,2329,2937,3466,3065,3908,4388,4073,3849,3802,3889,3819,4006,4168,4269,3829,3438,3740,4297,3860,3072,2576,2699,2765,3340,3356,2477,1924,3001,3390,2779,2250,2364,1990,1365,1398,1763,1731,1531,1790,1635,1276,1388,1550,2053,2855,2945,2318,2409,2644,2511,2120,1930,2332,2913,3212,3216,3006,3094,2988,3481,4204,3199,2452,3161,3110,3280,3507,3416,3629,3720,3506,3811,4085,3239,2900,3317,3338,3364,3464,3553,3686,3729,3760,3658,3725,4026,3830,2938,3163,3625,3395,3494,3770,4396,4449,3763,2972,3283,3076,3248,3880,3798,3322,3395,3792,3615,2453,2234,2950,3033,2398,1633,1771,1759,1892,1676,1637,1781,1633,1453,1448,1427,1482,1591,1490,1473,1860,1949,2026,1772,1670,1723,1670,1659,1654,1449,1424,1407,1368,1665,1678,1429,1346,1667,1396,1176,1297,1278,1433,1690,1626,1531,1769,1822,1737,1812,1658,1632,1683,1834,2083,2123,1918,1973,2884,3797,2647,2740,2764,2044,1589,1737,1495,1331,1378,1527,1755,1695,1725,1803,1948,1992,1736,1810,1870,1857,1892,1678,1222,1186,1362,1207,1450,1699,1928,1828,1635,1582,1647,984,1009,2080,2295,2253,2264,1909,1395,1237,1572,1708,1171,1467,1516,1548,1509,1780,2031,1682,1515,1679,1562,1777,2209,2010,1618,1746,1838,1845,1952,2062,1848,1509,1462,1671,1656,1568,1481,1581,1652,1578,1626,1676,2066,2824,2893,2308,1768,1430,1520,1518,1514,1367,1876,2336,1867,1575,1682,1641,1661,1735,1652,1339,1128,1713,2371,2702,2343,1659,1562,1797,1833,2089,2230,1789,1468,1613,1907,2270,2268,2856,2945,2385,2041,1693,2036,2267,1888,1566,1501,1343,1333,1406,1332,2004,2742,2569,2643,2876,2862,2994,2906,2669,2219,1657,1850,1569,1584,2035,1758,1533,1735,1910,1904,1701,1478,1499,1570,1823,2001,1627,1570,1621,1501,1762,2164,1975,1658,1606,1541,1549,1561,1670,1923,1713,1968,1905,1530,1487,1740,2009,1833,1775,1813,1615,1597,1600,1616,1938,2348,3155,3124,3537,3692,2652,1873,1727,1616,1661,1674,1477,1498,1706,1399,1576,1889,1587,1368,1413,1444,1382,1537,1884,2064,2031,1844,1650,1589,1692,2298,2214,2258,3007,2811,1884,1462,1245,1456,1728,1760,1871,2337,2401,2718,2424,1944,2376,2553,1814,1467,1593,1765,1693,1656,1623,1330,1300,1444,1622,2088,2891,2718,2061,2358,2484,2153,2103,1621,1567,1496,1350,1449,1689,1531,1394,1551,1417,1278,1426,1585,1690,1809,1844,1923,1356,1159,1389,1423,1480,1660,1875,1811,1582,1440,1560,1815,1757,1445,1239,1323,1406,1559,1592,1415,1388,1355,1382,1490,1703,1908,1736,1522,1438,1420,1442,1816,1903,2714,2866,2087,1835,2303,2787,2212,1456,1365,1439,1391,1400,1491,1414,1438,1689,1703,1668,1578,1483,1842,2159,1915,1702,1975,2959,2445,1854,1732,2339,2601,1851,1909,2906,2974,3031,3300,2726,2579,1992,1919,1780,2621,2680,1950,1992,2070,1807,1852,1962,1982,2132,2524,2441,3160,3916,4064,3416,2642,2920,3072,2304,1982,1892,1692,1738,1693,1953,1791,1847,2064,2166,1763,1652,1644,1375,1379,1490,1464,1871,2081,2024,2038,1838,1598,1706,1760,1788,1740,1377,1510,1781,1643,1528,1424,1485,1428,1339,1250,1367,1584,1543,1869,2459,2424,2327,2072,1898,1444,1370,1454,1555,1637,1388,1441,1546,1523,1614,1689,1889,2674,2111,1387,1344,1327,1350,1554,1576,1484,1593,1518,1696,1904,1930,1782,1871,1591,1841,1430,1494,1452,1470,1558,1615,1760,1700,1875,1919,1691,2095,1968,2093,1985,1697,1724,1920,2262,2245,1792,1481,1887,1744,2036,2220,1898,2024,2311,1924,1785,1866,1539,1565,2160,2186,1838,1995,1988,1975,2610,3150,3244,2312,1535,1195,1185,1417,1584,1663,1299,1299,1400,1484,1808,1802,1530,1449,1370,1459,1700,1498,1482,1853,1777,1904,1797,1615,1615,1201,1230,1282,1409,1414,1369,1345,1227,1289,1318,1242,1532,1724,1477,1368,1355,1397,1370,1501,1760,1851,1908,2049,2171,2302,2655,3088,3140,2843,2219,1967,2188,2314,2574,2652,3034,3044,2918,3248,3086,2874,3397,3470,3570,3985,4256,4314,3450,2417,2496,2795,3095,3764,3541,2805,2045,2810,3201,3238,3108,2884,2510,2643,2707,2478,2349,2491,2950,2614,2280,2382,2160,1894,1534,1390,1277,1295,1418,1374,1382,1356,1300,1321,1238,1318,1412,1450,1163,1202,1424,1432,1474,1529,1471,1510,1498,1433,1362,1417,1334,1228,1340,1222,1291,1336,1496,1430,1515,1710,1664,1469,1570,1731,1828,1932,2330,2366,1985,1468,1526,2040,2026,1938,2030,1761,1917,2013,1712,1578,2292,2720,2916,3112,2599,2041,1932,2047,2033,1994,2534,2065,1759,1726,1477,1315,1376,1479,1402,1673,2328,2294,1857,1953,1693,1722,2280,2304,2031,2566,3444,3130,2174,2063,1796,2098,2419,1871,1642,1990,2034,2260,1973,2045,1772,2247,3128,2489,1896,2440,2798,2304,1918,2097,2626,2556,2120,1940,2019,2432,3051,3063,3016,2966,3197,3017,2030,1976,2012,2113,2291,2382,1858,1621,1553,2285,2215,2106,2289,2160,1946,1805,1993,2122,2634,2298,2002,1308,1206,1880,2384,2544,2253,1685,1621,1769,2016,1847,1869,1891,1700,1547,1648,1663,1591,1209,1682,2784,2667,1632,1461,1519,1650,1763,1592,1744,1875,1796,2131,2566,2494,1935,1741,1524,1775,1747,1566,1693,1614,1483,1335,1406,1646,1716,1979,2095,1869,1796,1458,1562,1477,1566,1206,1272,1619,2045,2777,3639,3432,2949,2977,2895,2821,2325,2208,1579,1629,1476,1566,1717,1810,1862,1938,1874,1696,1822,1832,2172,2062,2470,2236,2056,1771,1787,2028,2106,2008,1994,2105,2409,2342,2239,2477,1951,1954,1598,1614,1919,1988,2153,2254,1762,1566,1456,1508,1482,1695,1780,1957,2014,2575,2330,1968,2154,2044,1748,1709,1631,1672,1813,2194,2308,2250,2194,2211,2181,1979,1873,2106,2273,1589,1904,1787,1470,1760,1846,1598,1671,2191,2387,2183,2225,2242,1770,1715,1793,1828,1947,1963,1750,1801,1624,2138,2288,1932,2164,2297,1828,1608,1667,1968,1979,2496,2474,1920,1738,1660,1760,2031,2636,3177,2609,2108,1639,1504,1756,2062,2215,1874,1791,1856,1920,1654,1841,1893,1741,2292,3174,4052,3518,2009,1786,2113,2236,2472,2942,3074,2787,2264,2293,2229,2470,2431,2394,2002,2090,2003,2023,1885,1517,1654,2102,1881,1484,1820,1893,1930,1927,2563,2001,1687,2491,3011,2709,2268,2286,2347,2414,3442,3648,2690,1737,1798,1742,1775,1641,1529,1303,1332,1472,1359,1424,1534,1289,1350,1547,1433,1415,1348,1356,1497,1490,1321,1558,1658,1594,1599,1644,1626,1689,1598,1555,1509,1472,1477,1377,1483,1612,1571,1560,1495,1571,1620,2028,2178,1975,1841,1893,2372,2542,2340,2341,2478,2807,2526,2118,2083,2338,2017,1853,1861,1655,1693,1652,1807,1864,1932,2319,2317,2337,1926,1695,1588,2253,2242,1958,2288,2349,2200,2347,1880,1831,2451,2874,2705,2510,2248,2348,2251,2066,2119,2331,2461,2816,3266,3262,3118,2709,1860,2020,2374,2292,2203,1990,1771,1815,2183,2461,1934,1259,1638,1922,2188,3054,3069,2406,1664,2085,1962,1217,1501,1996,1656,1243,1310,1323,1884,2178,2473,2972,3151,2877,2840,2574,2340,1822,1553,1922,2498,2337,2377,2331,1874,1946,2610,2835,2136,2019,2188,1959,2026,1931,2281,2091,2264,1871,1729,1555,1804,2468,2596,2552,2460,2493,2431,2243,2538,3085,2632,2437,2934,3340,3339,3056,2752,2342,2045,2030,1909,1627,2250,2687,2314,2767,3044,3097,2940,2972,3413,3738,3694,3359,2961,3116,3291,2175,2268,2436,2162,1742,1831,1932,1909,2176,2238,2120,2468,2667,2479,2012,1968,2171,2104,2421,2489,2489,2607,2653,2489,2297,2167,2305,2424,2524,2544,2736,2299,1836,1982,1896,2062,2285,2263,2232,2035,1724,2182,2321,2736,3264,3343,2855,2390,2637,2656,2625,2713,2475,2130,2149,2305,2388,2383,2322,2120,2530,2367,2141,1719,1461,1869,2018,2635,2702,2160,2177,2074,1733,1316,1760,2106,1884,1869,2034,2136,2140,2244,2095,1654,2272,2409,2524,1874,1641,2030,2216,1908,1907,2393,2534,2160,2050,1999,1770,1944,1909,2226,2722,3189,3851,3476,3780,4014,3282,2452,1892,1804,1859,1876,1960,1893,2071,3120,3318,2850,2674,2358,2395,2696,3120,3980,3804,2610,2812,2925,2562,2065,2198,2881,2858,2308,1957,1950,2036,1838,1970,1665,1789,2115,1893,1704,1711,1774,1667,1610,1621,1568,1529,1784,1802,2262,2944,3262,3561,3330,2997,2887,2743,2408,2173,2331,1999,1871,1981,2170,2057,2345,2031,1694,1724,1899,1922,2366,2941,2665,2737,2625,3264,3774,3471,2783,3060,2768,2454,2655,2888,2764,2955,2995,3767,3665,3396,3250,3327,3275,2387,1318,1264,1504,1632,1663,1593,1556,1723,2251,1987,2321,2622,2577,2268,2314,2012,1387,1225,1666,1912,1864,2440,2285,2159,2410,2671,2370,2225,2347,2267,2347,2058,1908,2223,1999,1671,1908,1797,1760,1749,1967,1874,1923],[2508,2714,2699,2830,2747,2877,2765,2080,2001,2718,2480,2578,2983,2960,3145,3064,3161,3241,3273,3243,3339,3538,3719,3530,3198,3153,3241,3218,3062,2907,2979,2995,2796,2789,2813,3034,3147,3004,3016,3044,3077,3066,2973,2955,3147,2996,2489,2833,3565,3754,3593,2803,1332,1525,2668,2449,1872,1965,2221,1873,1813,2001,1785,1720,1873,2035,2343,2331,2469,2697,2187,1916,2056,2309,1927,1763,1863,1709,1749,1815,1888,1895,1753,1796,1880,2045,1725,1469,2313,2502,2087,1927,2272,2202,2340,3248,3525,3784,4136,4376,3697,2545,2150,2410,2820,2789,2323,1944,1890,2562,3395,2945,2576,2630,2526,2029,1756,1505,1760,2411,2082,2379,2759,2391,2686,2563,2036,2667,2287,2109,2413,2327,1789,1736,2109,2115,1914,1645,1692,2127,1935,1783,2093,2481,2503,2011,1937,2574,2770,1979,1537,2752,3660,2656,3200,3866,3969,4074,3815,3774,4028,4295,4307,4043,3654,3493,4058,4600,4140,3077,2159,2657,2778,3085,2937,2291,2101,2861,2998,2489,2203,2557,2265,1688,1576,1953,1702,2027,2371,1952,1555,1524,1719,2032,2438,2524,2060,2262,2358,2362,2112,1917,1772,1891,2589,3168,3112,3106,3400,3995,3824,2224,1771,2165,2438,2658,3110,3311,3576,3561,3597,3936,3921,3554,3275,3254,3316,3353,3550,3563,3649,3562,3687,3702,3663,3552,2970,2647,3393,3916,3672,3515,3958,4489,4516,3459,3254,3608,3291,2937,3075,3557,3067,2943,2956,2249,1594,1750,2588,2720,1891,1546,1510,1844,2098,1610,1593,1678,1508,1479,1375,1410,1486,1575,1512,1456,1509,1657,1768,1665,1627,1478,1423,1466,1770,1855,1620,1307,1489,1870,1734,1432,1373,1428,1252,1231,1316,1332,1420,1656,1448,1052,1213,1392,1420,1505,1696,1769,1700,1765,1861,1807,1848,2010,2499,2613,2656,2745,2431,1963,1783,1830,1846,1909,1785,1655,1846,1779,1650,1736,1756,1620,1703,1900,1833,1571,1619,1701,1273,1372,1503,1265,1699,1533,1387,1330,1480,1632,1660,1063,1318,2766,2585,2752,2776,2100,1355,1274,1606,1740,1295,1488,1860,1761,1538,1656,1760,1509,1503,1335,1250,1758,2084,1869,1371,1813,2176,2019,1986,1957,1866,1892,1726,1648,1432,1415,1248,1360,1400,1312,1318,1490,1593,2174,3024,2579,1687,1525,1288,1444,1518,1317,1969,2055,1557,1600,1737,1583,1665,1743,1686,1403,1718,2352,2644,2643,2488,2082,1746,1617,1553,1767,1968,1470,1331,1767,1770,1837,1845,2111,2099,1836,1592,1502,1648,1613,1482,1377,1357,1377,1498,1362,1471,2161,2817,2619,2023,1721,2321,2874,2457,2548,2085,1416,1494,1483,1704,1955,1747,1510,1616,1678,1785,1897,1710,1489,1555,2030,2230,1838,1670,1866,1793,2185,2318,1868,1932,1865,1685,1681,1697,1740,1790,1816,1991,1967,1694,1650,1754,1951,1775,1810,1699,1522,1563,1925,1864,2358,2824,2998,2989,3245,2920,2191,2007,1666,1576,1657,1692,1399,1686,1789,1610,1668,1775,1766,1732,1815,1305,1224,1567,1535,1523,1708,1648,1785,2019,2533,2505,2114,2242,2728,2258,1680,1757,1909,1544,1398,1544,1874,2161,2579,2942,2744,2221,2633,2554,1458,1405,1523,1663,1724,1697,1810,1491,1422,1563,1836,2017,2371,2284,1630,1541,1487,1531,1658,1582,1561,1649,1461,1445,1637,1595,1523,1558,1496,1441,1463,1599,1611,1717,1910,1827,1312,1255,1444,1830,1941,1730,1730,1978,1852,1564,1289,1679,1760,1600,1477,1409,1533,1630,1520,1436,1519,1445,1275,1287,1482,1796,1833,1798,1491,1418,1427,1358,1674,2554,2581,2122,2296,2399,2589,2025,1524,1508,1487,1406,1338,1694,1657,1462,2036,2476,2198,1636,1582,2088,2033,1768,1513,1332,1600,1699,1471,1559,2124,2270,1553,2305,3087,3169,3566,3598,3007,2550,1974,1792,1941,2935,2889,1897,1651,1803,1653,1514,1785,2041,2126,2319,2258,2504,2932,3117,2294,1663,2139,2275,1775,1795,1793,2062,2055,1959,1951,1729,1812,2141,2193,1936,1587,1689,1612,1449,1456,1478,1873,2114,2138,2052,1715,1422,1332,1605,1918,1852,1673,1720,1843,1650,1432,1404,1486,1533,1527,1619,1855,1741,1598,2473,3746,3742,3693,3520,2382,1267,1278,1469,1539,1322,1404,1474,1424,1485,1598,1952,2499,2980,2102,1642,1523,1426,1403,1431,1532,1544,1501,1522,1642,1338,1331,1395,1442,1604,1697,1480,1367,1323,1494,1638,1694,1793,1794,2240,2173,1804,2042,1996,2045,1830,1876,1973,2170,2274,1944,2109,1893,1998,2291,2492,1976,1878,1832,1652,1652,1781,1718,1556,1656,1826,1918,2170,2121,2005,2067,2571,2977,3175,2193,1425,1403,1484,1422,1551,1830,1418,1420,1321,1566,2481,2272,1831,1639,1472,1388,1356,1389,1644,1898,1799,1769,1670,1781,1557,1417,1396,1289,1339,1598,1731,1474,1459,1434,1171,1187,1617,1673,1442,1338,1395,1436,1400,1429,1561,1605,1798,2012,2208,2265,2449,2291,2027,2437,2127,2121,2503,2404,2455,2722,2551,2767,2843,2772,2688,3265,3338,3124,3263,3552,3575,3683,3363,2784,3098,3267,2706,2965,2916,3013,2806,2755,2787,2627,2045,1951,2235,2451,2530,2309,2403,2686,2786,1972,1526,1498,1339,1254,1335,1372,1360,1504,1437,1580,1547,1294,1300,1269,1146,1194,1434,1333,1284,1407,1479,1434,1451,1406,1379,1734,1607,1362,1469,1488,1368,1366,1352,1341,1325,1341,1359,1341,1340,1526,1709,1526,1532,1720,1803,1732,1829,1808,1541,1659,2751,2977,1960,1918,1513,1611,2040,2213,2113,1836,2334,2516,2349,2954,3021,2451,2244,1901,1889,1834,2149,1962,1835,1929,1808,1415,1235,1393,1563,1886,2652,2796,1936,1917,2026,2571,2526,1981,1724,2253,3078,2750,2072,1941,1576,1796,2069,1704,1554,2017,2035,2008,1776,1884,2057,2903,3379,2734,2664,3445,2956,2067,2077,2302,2663,2571,2275,2370,2186,2358,2996,3018,3066,2797,2742,2765,2216,2056,2082,2313,2315,2139,1774,1666,1663,1808,1780,2014,2328,2343,1955,1893,1907,1963,2266,2022,1866,1740,1635,1914,2181,2212,1876,1654,1679,1722,1909,1975,1903,1857,1810,1764,1731,1677,1705,1977,2324,2369,2132,1663,1521,1453,1553,1867,1813,1875,1746,1331,1597,2358,2392,1635,2071,1905,1670,1793,1929,1809,1672,1540,1284,1315,1560,1771,1931,1925,1882,1769,1782,1859,1628,1440,1225,1361,1799,2254,2976,3584,3197,2697,3419,3542,3061,2192,1873,1682,1647,1517,1529,1751,1623,1584,1632,1643,1495,1902,1979,2827,2862,3174,3002,2327,2052,2204,2188,2133,1768,1694,1654,1904,1967,2239,2090,1783,1634,1612,1554,1616,2190,2409,2124,1663,1659,1618,1774,1612,1708,1987,1842,1934,2190,2154,2307,2250,2101,1799,1863,1476,1528,1839,1849,2027,1892,1824,2229,2156,1948,1694,1934,2250,2050,1832,1582,1461,1475,1541,1493,1559,1961,2320,2650,3003,3013,2348,1985,2298,2149,1989,1907,1902,1647,1831,2262,2303,2305,1918,1575,1249,1290,1823,1750,1682,1687,1791,1996,2127,2079,1995,2376,3424,3128,2212,2271,1649,1520,1776,2106,2174,2103,2164,2175,1853,1778,1826,1820,1830,2103,2909,3753,3306,2417,2253,2445,2454,2423,2255,2382,2502,2101,2306,2486,2632,2442,2156,1985,2035,1988,1992,1883,1565,1656,1999,1575,1345,1603,1678,1750,1671,2118,1749,1534,2365,2752,1947,1740,2313,2370,2761,3209,3285,2758,2191,2188,2175,1870,1480,1417,1300,1329,1389,1424,1363,1416,1282,1346,1482,1389,1389,1366,1431,1512,1438,1397,1655,1712,1531,1439,1489,1394,1469,1362,1353,1471,1468,1394,1481,1606,1771,2065,2043,1664,1748,1870,2258,2227,2150,2107,2110,2421,2522,2410,2418,2283,2426,2077,2091,2227,2413,2139,1961,1640,1564,1744,1622,1802,1886,1945,2125,1957,2207,1881,1591,1547,1790,2036,2211,2335,2476,2332,2307,2353,2935,2957,2241,2147,2244,2339,2327,2021,1939,2137,2684,2965,3118,3162,3009,2429,2164,1643,1565,2079,2558,2657,2157,1659,1509,2062,2832,2778,1719,1916,2336,2338,2739,2990,2538,2209,2613,2457,2032,1301,1325,1959,1426,1788,2333,2721,2932,2746,2837,2758,2187,2129,2303,2281,1864,1593,1522,2012,2254,2631,2485,2038,1947,2460,2432,1722,1955,1990,2328,2422,2278,2289,2088,2361,2334,1832,1505,1889,2250,2507,2662,2251,2100,2014,2381,3138,2946,2024,2547,3385,3438,3298,3164,2869,2722,2740,2454,1649,1592,2153,2596,2757,3059,3039,2813,3252,4042,4463,4228,3616,2957,2730,2909,2711,2298,2874,2888,2168,1769,2237,2363,1895,2196,2460,2331,2480,2240,1698,1509,1942,2295,2718,3043,2952,2825,2629,2561,2612,2537,2286,2271,2335,2389,2477,2557,2279,2123,2001,1730,1759,1895,1735,1737,1687,2046,2342,2486,2929,3181,3117,2595,2821,3061,2699,3014,3752,3472,2453,2410,2296,2147,2300,2232,2275,2273,2160,2336,2282,2217,2142,2250,2649,2233,1999,1797,1950,1986,1680,2023,2140,2015,2063,2080,2187,2308,2055,2140,2019,2791,3260,3117,2119,1690,2194,2313,1885,2031,2253,2227,2613,2461,2040,2214,2636,2966,3416,3859,3859,3160,2432,3039,3738,3412,2266,1571,1739,2076,1862,1674,1958,2187,2563,2682,2580,2631,2564,2875,2730,2660,2761,2393,2144,2456,2814,2584,2420,2929,2958,2383,2366,2377,2232,2021,1802,1784,1997,2469,2335,1753,1793,2235,1942,1565,1502,1703,1961,1835,2100,2018,1881,2830,3531,3575,3438,2920,2469,2543,3142,2695,2269,2193,2389,2223,2311,2308,2076,1940,1894,1879,1880,2022,2345,2668,2409,2648,2177,2354,3098,3162,2978,2707,2407,2633,2833,2778,2421,2868,2698,3509,3819,3443,3275,3647,3260,2160,1661,1542,1538,1670,1544,1527,1707,2137,2011,2410,3206,2968,2567,2261,2473,2667,1975,1348,1431,1422,1573,1918,1867,1866,2190,2296,2325,2599,2419,2150,2260,1881,1772,2179,2003,1914,1882,1721,1827,1981,1882,2017,2108],[2588,2842,2768,2666,2678,2743,2756,2285,2226,3006,2953,2954,3024,2979,3169,3000,2868,3391,3791,3585,3295,3236,3352,3204,3059,3151,3082,2872,2805,2795,3103,3207,2923,2756,2876,3154,3175,3076,3112,3060,3249,3065,3012,3024,3151,3082,2928,3095,3562,3916,3834,3032,1390,1787,2855,2395,2121,2335,2534,2048,1700,1757,1973,2422,2301,2365,2502,2199,1570,2249,2412,2297,2465,2612,1948,1767,2182,2350,2244,2156,2314,2276,2217,2065,2002,2282,2168,1979,2361,2600,2364,2135,2117,2501,3327,4042,4192,4387,4663,4800,3658,2680,2296,2329,2620,2655,2756,2149,1726,2257,3270,3187,2280,2381,2374,2055,1689,1680,2061,2046,2393,3230,2752,2592,2318,2570,2343,2524,2277,2036,1781,1672,1368,1166,1593,1956,1717,1729,1852,1844,1642,1572,1780,2530,2885,2379,2170,2885,3448,2564,1771,2916,3310,2517,2176,2984,3852,3973,3804,4006,4144,4084,3784,3250,3527,3427,3616,3543,3476,3140,2214,2253,2865,2796,2640,2523,2759,2962,2244,2106,2369,2186,2088,1628,1812,1702,1574,2089,2332,2109,1484,1348,1626,2150,1945,1370,1780,2109,1993,2086,2416,2396,2291,2244,2172,2354,2812,2822,2801,3311,2786,1720,1574,1622,1648,2046,2556,3197,3575,3476,3469,3504,3608,3750,3376,3529,3400,3327,3500,3595,3574,3478,3505,3594,3640,3284,2634,2545,3516,3982,3581,3569,3982,4644,4816,4057,3740,3585,3492,3515,3799,3613,3438,3342,2593,1779,1613,1835,1982,1898,1708,1593,1570,1595,1582,1376,1472,1512,1622,1632,1510,1652,1544,1391,1405,1444,1457,1876,2201,1902,1744,1560,1618,1443,1419,1612,1581,1337,1308,1384,1334,1307,1498,1606,1260,1341,1306,1418,1592,1770,1497,1047,1238,1239,902,1054,1314,1484,1562,1590,1494,1596,1702,1783,1838,1845,1919,1911,1826,1678,1613,1526,1666,1732,1656,1626,1722,1635,1624,1519,1493,1703,2078,2264,1875,1958,2079,1783,1256,1690,1765,1345,1427,1341,1432,1426,1488,1606,1706,1497,1530,2952,3132,3161,3349,2104,1356,1708,2098,1826,1454,1802,1926,1892,1876,1888,1759,1228,1526,1434,1382,1665,1780,1477,1397,1926,1976,2170,2050,1967,1881,1897,1786,1650,1699,1482,1463,1426,1328,1300,1461,1619,1686,2018,2418,1925,1463,1344,1282,1518,1372,1366,1690,1638,1494,1575,1600,1627,1406,1361,1455,1751,2322,2635,2492,2225,2233,2089,2030,1730,1826,2229,2707,1791,1538,2326,1815,1332,1242,1166,1445,1763,1794,1631,1852,1762,1532,1432,1864,1927,1460,1304,1499,1816,2273,2476,2056,1896,2814,2496,2132,2690,2022,1485,1489,1487,1600,1984,1914,1484,1506,1519,1732,1657,1711,1449,1594,1943,2114,2033,1968,2018,1742,1683,1654,1731,2022,1969,1770,1820,1847,1919,1728,1687,1840,1642,1973,2128,1736,1785,1782,1913,1748,1630,1874,2165,2079,2777,3293,2823,2308,2476,2412,2547,2170,1497,1365,1656,1699,1470,1729,1909,2171,1811,1832,2173,2031,2018,1444,1273,1507,1449,1492,1557,1512,1714,1788,1797,1888,1807,1942,2251,2204,2074,2104,2343,1819,1660,1514,1579,1476,1842,2201,2004,1785,2046,2072,1291,1317,1252,1548,1628,1599,1546,1636,1710,1578,1680,2001,2151,1827,1577,1480,1584,1586,1512,1626,1533,1511,1287,1344,1544,1495,1504,1432,1416,1556,1550,1636,1808,1838,1596,1931,1872,1579,1688,2053,2065,2042,1882,1870,1695,1595,1526,1661,1534,1556,1573,1621,1577,1484,1540,1407,1435,1491,1245,1310,1599,1879,1776,1488,1357,1520,1552,1383,1515,1656,1665,1677,1856,1854,2249,2008,1698,1494,1654,1636,1496,1759,1704,1468,1834,2140,2302,1932,1432,1448,1616,1569,1423,1349,1472,1384,1368,1631,2001,1815,1736,2854,2949,3042,3806,3420,2706,2116,1881,1906,2414,2896,2424,2070,1803,2019,1592,1449,1691,1990,2166,1895,1749,1930,2036,2170,1737,1691,1742,1787,1907,1930,1728,2204,2401,2232,2031,2098,2622,2674,2240,2054,1497,1358,1590,1478,1464,1492,1824,2337,2326,1643,1584,1512,1383,1468,1726,1678,1874,1876,1892,1544,1462,1507,1573,2025,2413,2602,2677,2435,2538,3138,3449,3624,3776,3824,2354,1450,1607,1672,1768,1550,1977,1873,1492,1566,1443,2164,3000,3118,2036,1556,1454,1484,1452,1318,1442,1486,1489,1599,1448,1319,1283,1373,1570,1874,1620,1301,1396,1562,1782,1840,1898,1733,1823,2196,2003,1569,1713,1656,1698,1851,1901,2301,2639,2043,2038,2951,2407,1970,2368,2076,1810,2045,1876,1510,1820,1986,1811,1498,1571,1673,1903,2337,2300,1818,1842,2220,2526,2340,1770,1546,1465,1409,1261,1359,1663,1499,1360,1341,1521,1913,2141,2082,1592,1362,1296,1268,1270,1616,1823,1872,1444,1487,1684,1466,1399,1438,1311,1254,1539,1532,1463,1579,1516,1435,1575,1642,1581,1488,1793,1882,1385,1400,1500,1587,1472,1470,1791,2022,2019,2035,1945,2114,2396,2135,2202,3060,3270,3095,3156,2718,2564,2898,3128,2967,3281,3205,2852,3072,3166,3150,3231,2920,2806,2810,2822,1925,1937,1656,2117,2706,2497,2241,2100,1913,2094,2260,2281,2584,2452,2328,2221,1981,1719,1606,1581,1384,1233,1354,1338,1630,1719,1542,1814,1515,1252,1157,1232,1186,1197,1361,1353,1366,1534,1630,1326,1296,1522,1729,2003,1660,1635,1577,1438,1340,1249,1402,1459,1316,1317,1361,1390,1403,1560,1560,1565,1787,1853,1812,1838,1736,1595,1660,2331,3376,3186,2210,1910,1494,2068,2340,2663,2989,2625,2199,1887,2028,2366,2410,2674,2566,2134,2004,1858,1944,1990,1952,1919,1758,1622,1726,1760,1750,1681,1975,2061,1941,2237,2370,2478,2197,1831,1836,1886,2256,2633,2542,1937,1954,2166,2166,1866,1749,1841,1847,1918,2036,2110,2569,3072,3012,2661,2667,2851,2912,2604,2391,2312,2436,2344,2091,1953,1422,1569,2256,2394,2413,2093,1864,1888,1840,1764,1736,1773,1763,1880,2018,1943,1755,1362,1350,2137,2238,2191,2007,2102,1788,1790,2100,1975,1851,1673,1512,1411,1544,1687,1745,1731,1776,1880,1863,1780,1672,2001,2099,1846,1804,1447,1381,1666,1571,1489,1384,1332,1426,1521,1582,1747,1821,1866,1702,1543,1875,2062,1835,1629,2092,1897,1836,2183,2108,1774,1745,1530,1365,1581,1842,1990,2008,1946,1500,2062,2060,1595,1561,1566,1588,1756,1903,2171,2866,3555,3074,2768,3411,3711,2978,2030,2116,2737,2807,2210,1550,1759,1684,1560,1624,1624,1571,1985,2438,3318,3378,2882,2549,2187,2097,2391,2003,1830,1363,1827,2788,2817,2387,2503,2164,1758,1628,1459,1412,1417,2130,2310,2130,1765,1638,1947,2126,2000,1614,1736,2111,2054,1541,1642,1734,2076,2061,1796,1738,1653,1992,2128,2278,2544,2354,2291,2414,2087,1848,1546,2002,1851,1682,1628,1433,1462,1558,1584,1441,1503,1932,2030,2286,2570,2586,2374,1986,1875,1864,1758,1634,1540,1757,2372,2616,2648,2486,1851,1489,1255,1460,1682,1598,1884,2026,2165,2206,1940,1663,1953,2539,3000,2586,2076,1970,1640,1653,1916,2294,2434,2208,2268,2245,1804,1579,1565,2430,2685,2388,2751,3333,2951,2338,2181,2103,1928,1661,2078,2120,1729,1924,2420,2642,2880,2539,2113,2172,2100,1876,1842,1646,1356,1302,1402,1208,1372,1600,1404,1560,1672,1233,759,1291,2314,2778,1935,1703,2197,2060,2431,2758,3022,2844,2480,2281,2045,1627,1485,1545,1292,1306,1366,1504,1351,1282,1351,1472,1389,1545,1626,1424,1342,1362,1519,1648,1685,1978,1895,1548,1571,1576,1454,1478,1588,1607,1707,1720,1813,1731,1997,2381,2086,1852,1800,2119,2427,2494,2558,2315,2103,2062,2071,1907,1825,2186,2214,1982,2094,2386,2757,2546,2004,1478,1584,1840,1793,1620,1790,1791,2161,2924,2852,2060,1626,1804,2114,2370,2711,2921,3075,2768,2612,3159,3457,3066,2280,1924,2050,2240,2245,2072,2120,2165,3024,3195,2898,2819,2568,2062,2110,1883,2128,2688,2481,2326,2094,1884,1748,1736,2590,3220,2292,2360,2855,2513,2318,2790,2930,3375,3558,3423,3691,2355,1359,1864,1896,2064,2334,2631,2353,1939,2108,1900,1547,1866,1949,2114,1825,1664,1887,2620,2930,3013,2375,1471,1272,2178,2635,2083,2357,2531,2736,2486,2287,1990,1975,2426,2426,1582,1464,2080,1580,1703,2105,1845,1835,1977,2710,3123,2251,1840,2705,3507,3676,3393,3045,3009,2882,2929,2361,1714,1937,2803,3084,2722,2929,3124,2806,2834,3812,4835,4668,3580,2740,2564,3000,2956,2743,2952,3008,2556,2156,2652,2865,2404,2534,2592,2656,2499,2286,2105,1600,1715,2312,3072,3436,3480,3432,3071,2651,2524,2442,2736,2730,2476,2343,2332,2476,2335,2057,1902,1758,1682,1478,1606,1909,1913,2280,2464,2839,3078,3131,2803,2754,3370,3300,3190,3554,4028,3731,3174,3216,3019,2722,2550,2498,2398,2216,2278,2264,2265,2273,2194,2283,2236,2203,2207,1934,2098,2288,2305,2376,2200,2026,2136,2160,2062,2199,1995,2206,1835,2373,3054,3091,2522,1982,2264,2425,2211,2025,2227,2375,2498,2631,2745,2641,2932,3393,3904,4273,3516,2141,2155,2548,2888,2360,1871,2081,2537,2338,1804,1860,2366,2427,2464,2338,2349,2619,2021,2674,2667,2525,2641,2508,2360,2359,2209,2001,2640,2722,2712,2533,2416,2186,1929,1863,1822,1688,1974,2171,1932,1714,1814,1918,1786,1665,1676,1983,2005,1936,2374,2315,2512,3162,3483,3587,3131,2408,2176,2457,3740,3438,2298,1990,2088,2062,2452,2264,1842,1754,1664,1744,2106,1815,1794,1952,2691,3266,2544,1825,2492,2897,2524,2408,2548,2597,2754,2182,1942,1942,1964,2238,2842,3043,3063,3253,2880,2060,1910,1528,1504,1908,1548,1521,1812,2439,2243,3185,3527,2504,2338,2522,2690,2974,2251,1471,1437,1469,1803,2429,2586,2435,2226,1954,2142,2643,2250,2001,1876,1744,1989,2465,2048,2085,2014,1444,1420,1705,1727,1754,1815],[2658,2891,2858,2775,2887,2748,2835,2943,2806,3071,3112,3055,2856,2968,3240,3194,3045,3394,3899,3681,3614,3364,3225,3185,3139,3225,3127,2961,2907,2962,3153,3187,2886,2686,2713,2687,2845,2739,2953,3212,3349,3095,3045,3030,3024,3153,3067,3095,3331,3652,3565,3002,1719,2062,2978,2899,2720,2895,2737,1981,1804,1954,1853,2014,2452,2652,2380,2563,2253,2536,2326,1999,2181,2285,1995,1980,2525,2859,2625,2249,2262,1943,2126,2565,2416,2447,2934,2993,2921,2643,2479,2327,2220,2380,3419,4184,4307,4474,4892,4501,2894,2014,1940,2012,2280,2678,3811,2811,1781,1906,3197,3683,2563,2015,1982,1832,1843,2013,2388,1968,2288,2735,2557,2832,2301,2309,2535,2478,2401,1803,1591,1683,1173,1311,1777,1903,1626,1599,1930,1992,1814,1773,1543,1957,2678,3041,2930,3154,3993,3727,2731,2921,2173,2025,2264,2792,3413,3720,3930,4144,4176,3808,3173,2674,3550,3492,3420,3208,3005,2924,2742,3122,3251,2687,2287,2144,2097,2284,2519,2756,2308,2174,2033,1494,1717,1663,1746,1601,1528,1694,1214,1263,1649,2395,2318,1620,2137,2222,1880,1849,2182,2327,2479,2440,2263,2448,2940,2718,1949,2320,1987,1738,1756,1654,1592,1934,2326,2444,2509,3197,3054,3105,3614,3552,3310,3648,3721,3669,3661,3429,3207,3325,3330,3376,3274,2820,2740,3348,4152,4296,4003,3625,3826,4023,3982,4585,4409,4289,4157,3937,4000,4157,4276,4150,3517,2358,1873,2270,2191,2212,2226,2281,1886,1775,1620,1525,1389,1431,1662,1576,1758,1779,1508,1499,1451,1416,1554,1693,1653,1662,1623,1662,1875,1718,1430,1482,1743,1489,1279,1330,1402,1455,1505,1355,1165,1326,1279,1396,1785,1616,1210,1138,1261,1184,861,1125,1035,1205,1352,1146,967,1469,1610,1455,1512,1805,1724,1550,1456,1577,1688,1660,1520,1501,1555,1515,1460,1903,2128,1640,1523,1626,2030,1890,1937,2637,2309,2129,1579,1969,1752,1300,1367,1329,1316,1328,1501,1561,1554,1460,1416,1756,1947,2120,2564,1576,1432,2485,2941,2278,1379,1851,1921,1854,1893,1927,1521,1461,1756,1899,1831,1481,1461,1635,1810,2123,1907,2421,2557,2570,2194,1857,1786,1754,1794,1855,1792,1698,1630,1595,1856,1795,2209,2404,2343,1785,1422,1390,1521,1554,1620,1873,1919,1984,1878,1523,1371,1520,1365,1303,1530,2278,2530,2386,2282,2287,2281,2281,2462,2122,2122,2324,2524,1905,1817,2073,1589,1361,1520,1676,1677,1507,1604,1675,2128,2081,1774,1524,1773,1534,1325,1449,1638,1925,2130,2303,2102,1931,2485,2475,2534,2835,2159,1554,1608,1587,1510,2035,2147,1621,1896,1998,1663,1591,1789,1517,1857,1882,2004,2236,2107,1979,1637,1525,1434,1665,1738,1754,1737,1806,1725,1662,1719,1988,1908,1789,2002,1891,1688,1743,1826,1903,1918,2401,2996,2945,2873,3209,3510,2910,1963,2064,2434,2209,1722,1575,1577,1794,1710,1575,1814,1996,1981,1723,1903,2132,1813,1832,1609,1448,1511,1465,1589,1582,1548,1734,1719,1429,1367,1540,1776,1735,1686,1880,1952,1861,1684,1651,2046,2149,1685,2112,2393,1693,1236,1628,1698,1534,1415,994,1061,1390,1478,1421,1498,1615,1636,1569,1984,1766,1565,1479,1481,1519,1700,1704,1517,1579,1417,1188,1515,1584,1636,1636,1600,1495,1643,1772,1728,1780,1711,1900,2497,2394,1896,1869,1687,1590,2125,1912,1886,2012,1651,1596,1552,1521,1510,1547,1615,1586,1518,1550,1311,1461,1630,1450,1513,1933,1801,1420,1362,1410,1436,1393,1256,1419,1347,1323,1371,1240,1429,1983,2083,1621,1256,1415,1742,2048,2182,2373,1665,1681,1891,1930,1749,1589,1603,1508,1520,1407,1414,1672,1532,1638,1967,2046,1446,2554,3141,2902,3311,3553,2900,2395,1956,1913,2023,2761,2553,2184,2033,2172,2150,1700,1636,1707,1852,2038,1677,1514,1727,1739,1844,1788,1721,1708,1787,1715,1597,1559,1783,1987,2237,2332,2270,2680,2670,1944,1829,1733,1580,1355,1318,1400,1409,1689,2656,2361,1583,1517,1435,1781,1839,1832,1730,1808,1798,1738,1654,1618,1570,1759,2515,2954,2540,2330,2151,2424,3212,3107,3321,3604,3331,1948,1180,1478,1469,1554,1546,1783,1970,1978,1757,1399,1864,2482,2269,1491,1302,1456,1708,1478,1438,1450,1484,1673,1608,1331,1268,1294,1268,1498,1714,1493,1313,1362,1562,1701,1692,1673,1493,1539,2055,1945,1606,1726,1649,1385,1511,1884,2142,2406,2115,2565,2753,2095,2042,2232,1949,1800,1996,2263,1946,2087,2007,1945,1459,1454,1604,2034,2572,2290,2017,2108,1840,1695,1614,1597,1856,1766,1442,1291,1343,1451,1439,1429,1479,1539,1532,1639,1493,1319,1421,1345,1332,1376,1828,1993,1693,1409,1389,1412,1453,1583,1447,1273,1281,1660,1562,1405,1628,1601,1327,1521,1508,1444,1490,1785,1860,1336,1402,1319,1390,1431,1363,1731,2177,2167,2001,2184,2339,2410,2276,2360,2985,2622,2462,2812,3146,2873,3062,2984,2915,3099,2479,2402,2688,2336,2410,2665,2251,2552,2329,1862,1498,1873,2083,2172,2331,2301,2112,2016,1965,1980,2088,1889,1847,1687,1614,1572,1671,1731,1667,1731,1670,1660,1615,1493,1696,1580,1882,1975,1560,1340,1199,1196,1186,1265,1323,1296,1397,1458,1309,1126,1267,1789,1803,1880,1857,1672,1378,1266,1289,1321,1446,1348,1352,1561,1516,1504,1564,1487,1486,1743,1896,1854,1851,1913,1793,1601,1693,2238,2630,2261,2062,2276,2569,2468,2182,2330,2799,2842,2284,1703,1786,1838,2235,2476,2038,1746,1957,1591,1528,1920,1889,1874,1860,1766,1780,1841,1897,1790,1890,1783,1893,1881,1749,1782,1763,1841,1954,1815,1899,2025,2121,1820,1568,1963,2203,2030,1893,1754,1265,1129,1844,2305,2897,3177,2442,2153,2193,2107,1986,1966,1904,1919,2115,2064,1991,1770,1680,2365,2835,2952,2354,1966,1893,1765,1809,1562,1301,1584,2092,2995,3240,3129,2559,1858,2066,2424,2268,2511,2214,1886,1749,2284,2778,2553,2324,1597,1259,1307,1695,1601,1658,1927,2072,2207,2492,2190,1832,2048,2034,2098,2042,1313,1378,1616,1454,1394,1418,1580,1623,1554,1469,1462,1644,1758,1720,1781,1939,2111,1859,1803,1787,1706,2008,2261,1732,1187,1549,1699,1711,1559,1498,1892,2133,2045,1357,1819,1892,1420,1471,1389,1621,1727,1829,1853,1991,2114,2151,2302,2326,2501,2487,2093,2113,2676,2935,2377,1716,1829,1969,1842,1932,1757,1929,2310,2592,3182,3063,2962,2872,2202,1897,2126,2121,2394,1957,2473,3160,2764,2561,2593,2003,1649,1451,1399,1460,1543,1886,2199,2182,1891,1871,1927,2370,2122,1373,1640,1861,1704,1559,1597,1688,2230,1993,1996,1932,2104,2409,2348,2563,2485,2148,2087,2010,1779,1649,1558,1876,1728,1951,1874,1391,1461,1677,1712,1515,2151,2414,2104,2403,2291,2050,2454,1996,1729,1856,1380,1452,1749,2245,2810,2905,2978,2349,2071,2193,2365,2289,2081,2236,2331,2168,2051,2249,1771,1605,1907,1985,1840,2081,1833,1582,1629,1728,1852,1993,2304,2359,2399,1989,1693,1541,1304,2053,2253,2426,2789,2986,2824,2435,2006,1767,1548,1820,2477,1838,1855,2598,2794,2903,2706,2235,2159,2178,1840,1720,1628,1729,1461,1372,1295,1301,1724,1732,1418,1404,1464,1372,1236,1386,2248,2916,2025,1748,2333,2404,2567,2646,2927,2873,2381,2208,2119,1628,1297,1304,1274,1586,1601,1532,1338,1260,1420,1427,1346,1666,1939,1680,1473,1488,1397,1618,1530,1852,2013,1499,1462,1511,1481,1528,1713,1766,1988,2111,2260,2136,2284,2536,2411,2248,2609,2942,2784,2172,2006,2314,2280,1887,1877,1630,1934,2270,2103,2213,1993,2132,2900,2775,2159,1893,1985,1937,1880,1784,1772,1913,2792,3500,3129,2439,2339,2796,3272,3181,3606,3458,3072,2974,3016,3189,3076,2712,2128,1856,1989,2073,2195,2244,2545,2535,2878,2790,2380,2419,2339,2149,2080,1653,2046,2482,2100,1919,1749,1885,2056,1728,2087,2721,2492,2350,2941,2822,2139,2200,2944,4118,3536,3396,3753,2713,1709,1634,1932,1893,2009,2646,2510,1997,1947,1880,1984,1698,1861,2190,1949,1566,1993,2897,3606,3349,1932,1124,1073,2158,2358,2130,2166,2271,2097,1709,1941,2208,1841,1593,1687,1505,1483,1688,1587,1976,1900,1671,1619,1707,1998,2006,1686,1646,2046,2680,3372,3413,2618,2831,2545,2654,2074,1643,1825,2690,3256,3174,3157,2808,2527,3016,3704,4311,4345,3261,2690,2603,2851,3242,3356,3301,3463,3204,2989,3557,3353,2841,2691,2692,2707,2493,2317,2194,1945,1805,2297,3175,3408,3303,3331,3198,2876,2824,2767,2922,2994,2932,2732,2484,2366,2336,2570,2486,2139,1847,1472,1614,1936,2277,2377,2456,2908,3265,3009,2617,3110,3169,2933,2831,3370,3700,3491,3016,2745,2620,2763,2858,2720,2655,2743,2602,2618,2445,2351,2152,2067,2070,2166,2081,2015,2157,2129,2007,2016,1666,1681,1726,1656,1642,1935,2077,2137,1674,1797,2610,2845,2264,1862,1941,1961,2170,2302,2301,2475,2437,2614,2753,2904,3383,3841,3820,3717,3615,2613,2549,2454,2329,2033,2353,2511,1938,1669,1779,2364,2776,2490,2594,2656,2956,2938,2649,2764,2525,2541,2832,2793,2334,1994,2041,2260,2610,2404,2852,2624,1918,1809,1848,1909,1923,1708,1647,1613,1491,1505,1652,1722,2105,1691,1779,1909,1969,2603,2879,2515,2535,2770,3073,3196,2607,2297,2604,2658,3348,3186,2087,1834,1900,1975,2585,2360,2144,2179,1769,2077,2222,1857,1730,2003,2581,3039,2886,2308,2388,2777,2938,2644,2825,2409,2614,2131,2043,1874,1536,1873,2675,2986,2918,2923,2942,2014,1918,1577,1537,1969,1768,1516,1762,2240,2475,2932,2701,1772,1807,2208,2480,2441,1937,1594,1433,1563,1843,2061,2092,2034,2057,2057,1760,1869,1919,1917,1819,1693,1572,1550,1731,2055,1786,1365,1404,1500,1488,1451,1571],[2464,2534,2732,3095,3504,3273,3100,2951,2973,2957,3052,2918,2786,3270,3548,3151,2978,3239,3667,3377,3593,3406,3253,3304,3234,3278,3382,3364,3128,2986,2987,3067,2883,2905,3001,2685,3096,2929,2686,2910,3180,3064,3172,3188,2956,3105,3265,3235,3253,3300,3497,3154,2605,2746,3333,3460,3332,3265,2863,2598,2850,2618,2137,2125,2549,2396,2062,2557,2752,2278,1902,1885,2156,2081,1675,1747,2049,1954,1760,1654,1691,1687,1618,1644,1760,2565,3407,3117,3125,2966,2899,2982,3098,2898,3519,4103,4214,4548,4976,4139,2697,2244,2587,2258,2227,2309,3731,3237,2008,2024,3151,3581,2620,1965,1857,2078,2176,2117,2119,2209,2398,1851,2060,2460,2565,2612,2378,2203,1995,1570,1942,1886,1244,1555,1759,1785,1803,1811,1985,1693,1841,2179,2156,2271,2808,3244,2955,2929,3138,2797,2800,2336,2259,2691,2843,2855,3029,3549,3772,3881,4096,3994,3395,2763,3228,3336,3138,2922,2946,2734,2436,2524,2584,2601,2064,2076,2017,2618,2707,2669,2401,1985,1654,1722,1639,1434,1351,1334,1627,1782,1469,1445,1798,2317,2532,2849,3067,2474,1526,1465,2001,2250,2286,2405,2426,2729,3006,2581,1772,1979,2191,2123,1867,1757,1735,1961,2232,2280,1980,2519,2623,3090,3356,3355,3580,3764,3699,3813,3791,3491,3206,2795,2889,3009,2789,2696,2819,3702,4084,4127,3883,3513,3885,3738,3307,4055,4232,4441,4540,4384,4428,4600,4727,4204,3374,2401,1944,2274,1990,1995,2398,2766,2225,2115,1808,1654,1348,1511,1583,1560,1866,1809,1542,1543,1422,1439,1972,1930,1623,1592,1593,1704,1526,1399,1215,1309,1965,1725,1284,1495,1757,1399,1204,1146,1241,1274,1203,1547,1896,1356,1301,2156,1764,1218,944,1043,896,1193,1304,1169,1181,1381,1608,1532,1343,1412,1551,1841,2213,1650,1406,1470,1535,1394,1373,1417,1410,1847,2064,1554,1301,1267,1930,2321,2424,2657,2247,2275,1704,1395,1256,1163,1248,1273,1357,1351,1598,1284,1272,1101,1199,1317,1366,1323,1344,1127,1450,2533,3123,2359,1356,1747,1915,1977,1867,2007,1534,1560,1916,1823,1678,1511,1512,1932,1879,2099,2014,2375,2402,2297,1795,1515,1618,1586,1935,1975,1933,1821,1771,1765,1888,1753,2159,2046,1694,1532,1515,1528,1470,1736,1861,2293,2213,1712,1500,1272,1546,1835,1734,1652,1747,2003,2030,1929,2041,2248,2393,2557,2641,2587,2243,2059,1968,1981,2029,1825,1582,1653,2102,2192,1964,1566,1750,2265,2444,1922,1625,1587,1440,1330,1431,1450,1818,2520,2272,1976,2008,2090,2362,3068,3649,3242,2150,1552,1647,1637,1742,2791,3117,2303,2200,2116,1648,1469,1553,1488,1620,1542,1566,1801,2003,2129,1757,1642,1636,1742,1584,1649,1852,1846,1705,1679,2242,2847,2352,1886,1679,1730,1494,1620,1672,1668,1888,2909,3522,3061,2419,2634,3116,2541,2271,2420,2411,1965,1744,1732,1854,1952,1889,1822,1746,1721,1629,1514,1577,1801,1801,2310,1925,1672,1642,1495,1542,1560,1500,1708,1844,1592,1382,1683,1695,1623,1576,1602,1685,1541,1522,1633,2094,2165,1776,1541,1512,1418,1771,2214,1902,1538,1307,1069,1132,1326,1429,1454,1426,1613,1937,1790,1729,1843,1620,1358,1498,1798,2120,1858,1644,1747,1361,1527,1943,1545,1510,1563,1783,1916,2113,2072,1722,1536,1563,1803,2365,2435,2207,1903,1570,1620,2125,2256,2352,2204,2050,2003,1712,1659,1550,1686,1510,1488,1489,1544,1346,1283,1229,1286,1585,1939,1857,1491,1365,1319,1324,1335,1298,1537,1669,1630,1426,1350,1498,1811,1830,1439,1322,1454,1630,2113,2654,3208,2132,2020,2008,1743,1471,1550,1585,1512,1566,1608,1614,1826,1736,1908,2345,1889,2168,3074,2969,3072,3494,3060,2349,2136,1942,1882,2463,3364,2897,2248,1906,2046,1935,1498,1506,1659,1827,2027,1848,1627,1762,1812,1733,1599,1595,1860,1894,1746,1647,1684,1594,1460,1610,2141,2427,2890,2932,2425,2276,2391,2152,1591,1368,1349,1423,1942,2895,1807,1516,1447,1498,1691,2193,2048,1670,1591,1510,1644,1667,1478,1542,1759,2150,2341,2194,2360,2229,2629,3494,3385,3130,3312,2898,1670,1307,1354,1498,1629,1603,1727,2149,2336,1845,1513,1546,1502,1499,1308,1376,1480,1507,1412,1362,1411,1452,1418,1670,1962,1752,1430,1344,1306,1368,1357,1376,1429,1461,1437,1468,1548,1507,1378,1672,1845,1642,1708,1806,1440,2045,2145,1833,2032,1947,1810,1920,1715,1499,1488,1643,1871,1863,1705,1688,1628,1627,1570,1594,1717,1617,1607,1665,2014,3073,3212,2222,1562,1738,1904,2010,1726,1357,1302,1418,1392,1361,1344,1328,1344,1338,1420,1354,1392,1458,1470,1542,1787,2111,1921,1459,1332,1334,1441,1734,1793,1445,1254,1267,1321,1581,1694,1606,1549,1487,1518,1615,1387,1353,1228,1272,1315,1248,1242,1487,1507,1361,1738,2400,2305,1855,1879,2014,2252,2198,2347,2299,2228,2122,2399,2895,3073,2815,2191,2429,2831,2328,2241,2200,2264,2625,2770,2183,2083,2071,2077,2198,2412,2420,2121,2066,1973,1886,1815,1788,1770,1609,1665,1614,1591,1692,1716,1794,1632,1608,1795,1734,1767,1750,1689,1478,1588,1961,1821,1515,1254,1084,1229,1296,1319,1314,1426,1332,1346,1323,1309,1420,1685,1648,1767,1910,1684,1470,1687,1516,1509,1673,1359,1200,1346,1460,1410,1430,1459,1549,1630,1584,1587,1620,1720,1320,1526,1717,1690,1820,2149,2173,2707,2802,2274,2213,2224,2431,2589,2557,2155,1788,2067,2104,1593,1463,1677,1896,1601,1654,1916,2045,1898,1614,1786,1975,2272,2495,2379,2096,1963,1739,1632,2080,1841,1875,1998,2066,1593,1605,1841,2206,1708,1668,2427,2247,1703,1743,1596,1225,1884,2940,2878,2605,2418,2339,2188,2456,2375,2080,2246,2160,2028,2092,2143,2080,2006,2320,2520,2621,2640,2138,1869,1840,1837,1616,1503,2104,2148,2536,3111,2836,2524,2263,1934,2072,2075,2513,3047,2887,2698,2410,2555,2698,2458,2138,1664,1556,1522,1524,1333,1584,1979,2253,2685,2699,2441,2330,2332,2338,2197,2382,1623,1322,1466,1455,1457,1673,1558,1370,1637,1466,1281,1348,1486,1730,1701,1830,2238,2349,2103,1614,1364,1671,1870,1590,1172,1246,1673,1206,850,1084,1891,2126,1913,1645,1914,2136,2023,1635,1825,1900,1738,1839,1739,2298,2811,2779,2640,2522,2012,1844,1735,1845,1803,1810,1781,1760,1830,2147,2348,2226,1820,2008,2411,2344,2972,2527,2332,2657,1873,1713,1858,2081,2778,2451,2461,2834,2723,3000,2545,1807,1764,1476,1423,1095,1122,1432,1781,1742,1959,2149,1991,2230,2004,1936,2066,2083,1681,1960,1943,2192,2116,1874,2066,1993,2379,2663,2228,2200,2135,1760,1802,2116,2025,1939,1952,1819,1786,2195,2323,1735,1381,1873,2432,2611,3120,2438,2486,2931,2670,2707,2976,2364,2150,1948,1180,1992,2186,2319,3033,2790,2544,2508,2649,2577,2123,1737,1879,2086,2038,2053,2220,2494,1884,1689,1765,1572,1432,1815,2009,2091,2142,2096,2125,2203,2334,2833,2675,2224,2048,1594,1342,1962,2471,2222,2057,2569,2643,2321,1759,1648,1907,2441,2569,2142,2591,2821,2351,1978,1763,1968,2355,2338,1892,1695,1603,1435,1188,1304,1237,1273,1680,1874,1612,1578,1745,1754,1373,1457,2365,2840,2451,2156,2453,2589,2495,2697,2985,2822,2029,2015,2132,1486,1311,1293,1190,1371,1440,1441,1467,1396,1439,1389,1388,1530,1723,1717,1824,1739,1519,1642,1730,2184,1948,1555,1715,1565,1670,2066,2150,2009,1889,2461,2931,3029,3153,3386,3252,3034,2977,2440,2302,1693,1775,2603,2763,1987,1692,2292,2797,2407,1968,2104,1756,1972,3120,2747,2017,1918,2163,1925,1660,1614,1568,2009,2947,3287,2776,2267,2233,2182,3033,2854,3529,3737,3172,3064,2964,2720,2541,2153,1720,1853,1989,2291,2485,2586,2509,2096,1865,1862,1759,1986,2171,2100,1975,1589,1672,1815,2110,1924,1942,2403,2525,2304,2094,2020,1793,1696,2089,2104,1824,1705,2295,3318,2917,2784,2530,2208,1848,1510,1766,2164,2482,2666,2187,2045,2238,2577,2579,1798,1719,2031,1888,1415,1687,2486,3272,2827,1405,1313,1445,1953,2041,1793,1719,1881,1804,1700,2001,2298,2191,1430,1434,1480,1567,1570,1979,2288,1893,1618,1748,1613,1349,1278,1481,1742,1513,1664,2221,2829,2547,2569,2418,2440,2225,2026,2092,2374,2408,2503,2788,2492,2507,3052,3394,3541,3447,3182,3045,2885,2955,3315,3230,3175,3159,3038,3551,3572,3116,2871,3080,3076,2726,2579,2578,2511,2141,1870,2273,3119,3227,3178,3233,3556,3729,3454,3184,3208,3105,2909,2974,2845,2546,2109,2280,2502,2618,2429,1956,1904,2305,2424,2408,2379,2485,2846,2621,2576,3216,3018,2926,2893,3347,3504,3384,2856,2351,2448,2769,2973,2976,2699,2563,2929,3074,2896,3021,2756,2561,2494,2383,2344,2166,2088,1963,1708,2183,1604,1799,1734,1583,1828,2032,1949,1878,1409,1573,2636,2824,2222,1614,2011,2498,2430,2104,2078,2507,2836,2896,3288,3957,4077,3930,3753,3623,3928,3106,2814,2565,2426,2200,2229,2210,1955,1686,1847,2179,2068,2044,2572,2889,3294,2660,2520,2658,2592,2596,2687,2501,2190,2234,2275,2281,2297,2479,2719,2512,2092,1929,1789,1802,1889,1654,1448,1410,1466,1549,2078,2131,1919,2008,2244,1889,2042,2656,2466,1969,2012,2195,2326,2536,2396,2801,2654,1880,2091,2397,2212,2320,2206,1975,2840,2295,2235,2077,1906,2370,2076,1951,1955,2207,2433,2623,2684,2574,2548,2866,2759,2183,2311,2445,2890,2828,2394,1924,1735,2307,2786,2639,2574,2688,3312,2413,2068,1865,1608,1904,1863,1625,1592,1693,1688,1720,1592,1421,1592,1951,2330,2244,1841,1780,1632,1581,1680,1698,1737,1798,1861,1862,1789,1708,1642,1848,2002,1819,1659,1800,2032,2145,2032,1838,1578,1487,1659,1819,2268],[2265,2509,2651,3176,3589,3539,3472,3183,3116,3048,3209,3024,2770,2900,3167,2997,2953,3118,3340,3377,3304,3249,3195,3181,3185,3225,3438,3151,2757,2979,3206,3217,3217,3115,3294,2940,2692,2611,2165,1930,2233,2209,2374,2956,3095,2917,3182,3310,3293,3143,3407,3219,2947,3443,3630,3466,3372,3230,2795,2564,3234,3174,2803,2613,2376,2040,1935,2597,3073,2253,1797,2014,2194,1825,1815,1649,1421,1800,2123,1956,1920,2004,1729,1866,2435,3309,3669,3260,2989,2931,3307,3471,3429,3528,3883,4288,4323,4562,4879,4163,2769,1818,1732,1784,2013,2365,3573,3448,2304,1807,1983,2296,2438,2718,1974,2055,2083,1986,1768,2578,2177,1551,1827,2143,2187,2236,2210,2041,1903,1379,1578,1372,1675,2519,2557,2310,2105,2403,2359,1655,1715,1816,2043,2459,2720,2720,2206,1856,1753,2223,2504,2565,2856,2792,2784,2884,3409,3661,3435,3686,4080,4271,3072,1997,2424,2688,2165,2118,2834,3009,2775,3141,3606,3213,2020,2448,2457,2315,2182,2003,2454,2429,2234,2477,1960,1837,1531,1592,1642,1552,1566,1498,1785,2093,2353,2719,2793,2170,1650,1170,1237,1978,2300,2441,2094,2556,2906,2432,1851,2128,3039,3189,2772,2337,1954,2267,2276,1970,2143,2009,2047,2733,3647,3881,3903,3697,3450,3515,3692,3796,3672,3201,2664,2580,2571,2398,3029,3760,3805,3905,3894,3814,4148,4150,3998,4163,4209,3984,3959,3596,3906,4451,4503,4132,3798,2931,1788,2012,2203,2210,2036,1829,1676,1938,1974,1580,1390,1468,1602,1786,1855,1807,1689,1716,1528,1417,1968,2082,1764,1555,1518,1510,1554,1535,1567,1626,1987,1283,1313,1350,1491,1362,1287,1278,1266,1251,1280,1556,1844,1487,1537,2792,2521,1461,1421,1447,1262,1336,1472,1475,1242,1245,1642,1789,1461,1417,1501,1740,2292,1822,1427,1475,1410,1185,1205,1426,1756,2330,2386,1721,1633,1483,2260,2990,2613,2599,2633,2244,1569,1502,1542,1207,1144,1237,1441,1287,1493,1218,2017,1772,1371,1578,1409,1337,1249,1173,1720,2757,3320,1952,1425,1722,1982,2003,2096,2082,1630,1646,1729,1538,1660,1362,1650,1635,2011,1886,1673,1687,1450,1636,1686,1683,1488,1219,1786,2021,2067,1908,1875,1757,1839,1989,2268,2366,1945,1541,1676,1801,1534,1709,2018,2503,2198,1554,1330,1306,1842,2345,2484,2453,2061,1753,1954,2044,2395,2499,2689,2152,2495,2426,1865,1652,1656,1956,2045,2020,1703,1883,2002,1777,1634,1611,1729,2576,2750,1923,1445,1616,1902,1839,1515,1415,1836,2352,2142,1741,1709,2143,2103,2262,3091,2813,1753,1459,1499,1655,2053,3109,3530,3116,2233,1801,1532,1459,1475,1509,1243,1071,1403,1638,1827,1798,1490,1394,1519,1650,1544,1464,1635,1622,1555,1439,1958,2793,2407,1996,1754,1641,1573,1562,1471,1428,1716,2377,2706,2560,2251,2406,2686,2092,2787,2809,2400,2376,1903,1533,1770,1869,1983,2018,1819,1826,1738,1608,1650,1693,1792,2314,2012,1668,1727,1686,1813,1760,1778,1804,1686,1616,1624,1723,1824,1770,1626,1883,2008,1654,1527,1615,1852,1804,1522,1600,1739,1501,1809,2222,2019,1648,1528,1474,1588,1449,1453,1427,1615,1973,2153,1882,1719,1980,1687,1412,1565,1674,1693,1751,1794,1570,1454,1683,1629,1422,1461,1493,1569,1891,1970,1944,1775,1414,1672,1781,2122,1909,2340,2189,1781,1629,2070,2445,2923,3075,2619,2202,1734,1778,1541,1645,1552,1481,1604,1578,1482,1333,1466,1676,1769,1716,1721,1517,1849,1648,1450,1261,1248,1435,1531,1425,1376,1415,1420,1810,1878,1653,1537,1484,1466,2320,2511,2239,1748,1810,1933,1673,1593,1634,1559,1570,1589,1662,1654,1836,1719,1857,1943,1859,3141,3493,3182,3393,3525,2775,2333,1953,1883,2033,2839,3773,3094,2154,1817,1640,1593,1383,1507,1638,1738,1747,1734,1743,1903,1826,1762,1779,1943,1995,1762,1686,1687,1743,1600,1514,1653,1957,2619,3131,2931,2875,2808,2722,2253,1459,1306,1421,1672,1660,1519,1154,1181,1324,1281,1516,2607,2934,2393,1652,1625,2182,2175,1657,1579,1649,1642,1733,2163,2708,2855,3110,3559,3695,3518,3509,3117,1561,1828,1765,1929,2504,2269,2172,2501,2392,1962,1702,1476,1314,1458,1404,1396,1358,1419,1424,1397,1462,1418,1438,1989,2678,2514,1505,1360,1311,1439,1360,1333,1425,1429,1361,1344,1410,1461,1457,1438,1494,1488,1696,1616,1358,1422,1398,1756,1969,1916,1976,2109,1858,1484,1497,1547,1981,1925,1709,1537,1981,2086,1941,2310,2503,2101,1889,2384,2595,3414,3085,2031,1936,2212,2119,1953,1709,1431,1416,1461,1410,1373,1280,1245,1553,1597,1360,1358,1407,1380,1323,1384,1644,1898,1652,1349,1356,1389,1488,1794,1809,1474,1331,1374,1273,1534,1543,1468,2125,2249,1935,1914,1541,1432,1257,1341,1331,1399,1943,2183,1707,1580,1831,1615,1541,1533,1439,1460,1671,1987,2094,2139,2209,2190,2302,2352,2208,2136,2152,2238,2187,2033,2172,2287,2514,2562,2351,2090,1834,1809,1992,2053,2009,1991,1965,1898,1753,1779,1745,1478,1497,1713,1948,1621,1642,1642,1559,1491,1308,1458,1731,1661,1786,1736,1647,1600,1832,2148,1939,1598,1424,1331,1420,1442,1426,1365,1583,1363,1351,1717,1695,1416,1534,1671,1646,1536,1369,1533,2123,1948,1620,1523,1409,1322,1403,1557,1453,1415,1451,1279,1462,1649,1751,1758,1891,1549,1765,1918,1874,1898,2003,2045,2070,2532,2725,2601,2344,2563,3076,2209,2240,2028,2117,1909,1717,1756,1643,1809,1797,1837,1814,1720,1669,1453,2211,2746,2877,3231,3021,2652,2822,2229,2201,2721,2196,2189,1973,2029,1829,1752,2149,2241,1809,2339,3233,2818,2152,1987,1976,1889,2744,3460,3141,2766,2480,2231,2296,3024,2611,1636,1868,2017,2002,2066,2182,2011,2155,2426,2002,1530,1545,1715,1698,1922,2000,1445,1389,1877,1712,2380,2513,2414,2267,2215,2339,2579,2810,3084,2944,3216,3117,2342,2266,2058,2182,2207,1965,1953,1497,1134,1581,2163,2297,2611,2590,2122,2684,2309,2209,2392,2586,2553,1847,1404,1569,1548,1594,1810,1689,2094,2107,1649,1689,1481,1312,1662,1826,1780,1763,1875,1843,1449,1501,1857,1835,1918,1673,1212,1057,825,1139,2455,2886,2150,1787,1715,2135,1931,1926,1506,1900,2081,2034,1940,1775,2187,2896,2925,2545,2224,1799,1828,1749,1973,1665,1629,1739,1538,1498,2016,2165,1866,1768,1721,1991,2080,2453,2131,2231,2702,2129,2106,2125,2437,2563,2264,2710,3355,3396,3113,2091,1732,1871,1688,1435,1080,1254,1526,1782,1850,2297,2609,2107,2312,2226,2024,1979,2229,2208,1766,1926,2272,1677,1635,1879,1842,2008,2167,1883,2093,1900,1968,2163,2310,2111,1781,1477,1583,2065,2602,2501,2330,1931,2388,2721,2987,3608,3292,2796,2162,2045,2588,2887,2542,2360,1918,1107,1754,1952,2336,2647,2225,2085,2058,2182,2194,1749,1622,1646,1609,1891,1893,1893,2222,2518,2027,1688,1874,1850,1979,2220,2080,1903,1801,2385,2243,1850,2356,2207,2415,2239,1513,1867,2496,2619,2073,1949,2587,2429,2218,1948,1776,2194,2554,2503,2415,2325,2302,2217,1777,1769,1916,1886,1888,1969,1814,1759,1865,1724,1478,1469,1449,1556,1792,1565,1539,1676,1590,1469,1741,2583,3022,2945,2532,2552,2632,2486,2756,2933,2663,1735,1798,1740,1338,1317,1268,1304,1346,1265,1530,1694,1394,1454,1387,1327,1521,1670,1526,1349,1504,1703,1811,1876,1945,1971,2042,2078,2021,2130,2124,2077,2034,2307,3081,3344,3413,3595,3652,3499,3132,2536,2290,1897,1512,1536,2373,2805,2170,1728,1788,2383,2749,2579,2568,1990,1992,2887,2644,2214,2177,1969,1613,1518,1582,1639,2257,2643,2234,1816,1755,1781,1980,2921,2576,2501,3145,3397,2809,2429,2163,2107,2015,1665,1782,2097,2413,2553,2575,2447,2286,1993,1779,1889,2045,2098,2327,1893,1567,1990,1886,1597,1657,2770,3128,2539,2520,2332,1776,1776,1831,1729,1646,1643,1794,2132,2456,2368,2267,2097,1969,1623,1548,1896,2453,2700,2692,2743,2481,2299,2582,2646,2098,1699,2133,2245,1636,1703,2049,2282,1690,1372,1505,1704,2188,2315,1963,2000,2080,1794,1654,1708,1957,2498,1951,1717,1548,1704,1822,1838,2359,2735,2096,1576,1467,1481,1394,1573,1652,1613,1625,1881,2384,2520,2279,2302,2220,2131,2270,2341,2169,2400,2428,2532,2459,2503,2933,2854,2884,3404,3173,2706,2994,3448,3499,3220,3322,2873,2885,3827,3691,3085,2799,2752,2697,2509,2441,2531,2346,2008,1818,2327,3102,3311,3499,3674,3840,3966,3874,3647,3584,3431,3303,3104,2817,2428,2290,2294,2154,2307,2503,2309,2232,2518,2473,2435,2471,2447,2355,2039,1857,2416,2356,2635,3418,3491,3216,3411,3010,2721,2733,2585,2829,2887,2654,2629,2953,3055,3060,3226,3326,3393,3166,2679,2544,2567,2417,2077,1854,2179,2026,2126,1839,1683,2112,2076,1552,1629,1604,1721,2217,2298,1748,1571,2363,2989,2869,2752,2578,2663,3342,3422,3164,3341,3786,3681,3282,3391,3661,2995,2335,1984,1886,1899,1861,2068,2147,1753,1918,2321,2087,2225,2768,3032,2973,2667,2555,2806,3073,2664,2689,2618,2498,2787,2832,2619,2653,2979,3133,2580,1913,1681,1480,1779,1914,1826,1577,1513,1614,2050,2335,2473,2655,3152,3149,2417,2025,2366,3030,2478,2389,2446,2558,2694,2929,3242,2751,2104,2133,2564,2649,2526,2220,1932,2528,1974,1927,1849,2273,2203,1808,1892,2040,2232,2490,2548,2359,2482,2770,2928,2293,1762,1881,2135,2552,2357,1845,1686,1765,2032,1956,1955,1944,1964,2798,2467,2579,2497,2125,2324,2386,1998,1644,1674,1764,1876,1803,1489,1465,1887,2261,2081,1920,1943,1599,1647,1743,1640,1535,1761,2449,2296,1817,1793,1926,2031,1964,1767,1753,1935,1932,1927,2126,2241,2048,1744,1957,2299,2853],[2356,2717,2877,3052,2930,3076,3210,3086,3121,3004,3022,2751,2336,2386,2941,3132,3082,3130,3296,3118,2880,3074,3300,3285,3174,3295,3409,3144,3084,3203,3438,3450,3376,3262,3151,2599,1999,2114,2384,2214,1925,1837,1938,2372,2802,3140,3348,3334,3310,3296,3706,3558,3116,3684,3662,3353,3293,3384,3235,3392,3781,3217,2593,2465,2057,1935,2164,2325,2514,1989,1872,2143,2286,1854,2200,1973,1747,1877,2014,2148,2203,2343,1858,2160,2600,3395,3506,2990,2240,2532,3395,3664,3581,3527,3696,4397,4388,4588,4820,4409,3012,1863,1656,2052,2402,2766,3449,3118,1886,1352,1782,2299,2876,2952,2036,1507,1814,2250,2440,2645,2131,1637,1569,1832,1708,1776,1985,1767,1902,1435,1299,1282,1898,2455,2266,1989,1906,2478,2481,1466,1499,1506,1704,2342,2382,2002,1857,2135,2566,2947,2930,2938,3042,2918,3034,3429,3828,3948,3771,4048,4288,3895,2924,2182,2125,2251,2379,3189,3276,3330,3539,4312,4243,2893,1815,2170,2164,1985,1767,1745,2372,2742,2774,2666,1950,1824,1791,1656,1417,1365,1486,1448,1702,2187,2121,2052,2131,1967,2100,1747,1642,1843,2048,1813,2018,2977,3168,2437,1884,2880,3754,3709,3812,2686,1854,2394,2401,2246,2570,2774,2805,3326,4111,4077,3930,3547,3448,3105,3178,3858,4155,3914,3188,2652,2293,2022,2544,3230,3676,3548,3618,4059,4195,4364,4308,4095,3886,3615,3142,2642,3245,3905,4094,4097,3480,2231,1875,2623,3206,2700,1986,1552,1340,1474,1460,1514,1517,1417,1708,1590,1522,1706,1701,1731,1831,1554,1729,1887,1732,1927,2150,1581,1539,1438,1811,1708,1530,1498,1419,1378,1450,1419,1321,1273,1333,1284,1309,1532,1748,1487,1407,1928,1722,1475,1968,2071,1742,1669,1710,1766,1776,1381,1400,1706,1322,1364,1509,1699,1780,1598,1466,1363,1194,1192,1152,1201,1448,2178,2264,1863,1682,1671,2148,1920,1840,2420,2622,2360,1688,1854,1665,1185,1331,1442,1557,1418,1509,1475,2129,1969,1530,2043,1948,1844,1743,1221,1967,2916,3333,1891,1507,1982,2039,1965,2098,1836,1476,1630,1638,1481,1443,1372,1798,1821,2389,1808,1498,1485,1186,1720,1582,1512,1560,1566,1882,2004,1646,1586,2014,2230,2170,2025,1878,1986,1898,1805,1912,1995,1817,1715,2418,2580,1932,1462,1340,1443,1830,2237,2420,2162,1785,1621,2337,2419,2956,3419,3271,2719,2714,2391,1810,1600,1606,1504,1573,1651,1437,1680,1617,1483,1548,1699,1977,2558,2795,1948,1392,1630,2361,2157,1462,1427,1937,1870,1775,1641,1438,1604,1484,1654,2126,2126,1515,1414,1542,2178,2589,3351,3544,2586,2047,2006,1675,1681,1742,1785,1156,1217,1450,1675,1870,1574,1412,1490,1456,1494,1483,1687,2194,1886,1954,1728,1600,1744,1916,1772,1766,1675,1564,1450,1580,1753,1583,2098,2153,1742,2140,2764,2788,2407,2869,2907,2609,2341,1616,1494,1772,1780,1559,1618,1799,1755,1823,1673,1708,1760,1734,1797,1663,1629,1829,1946,1738,1498,1952,2118,2066,2076,1826,1664,1632,1934,2194,2111,2088,1745,1604,2222,2188,1727,1494,1536,1671,1874,1878,1874,2079,1882,1728,1562,1636,1512,1615,1628,1816,2340,2553,2095,1980,2048,1646,1593,1581,1476,1404,1657,1664,1499,1531,1522,1339,1502,1671,1582,1601,1622,1767,2160,1996,1848,2134,1846,1769,1839,2233,2319,2043,1819,1857,1833,2260,3217,2526,1780,1722,1799,1516,1434,1454,1431,1339,1423,1394,1185,1230,1299,1455,1591,1890,1829,2018,1910,1560,1353,1301,1263,1266,1292,1390,1425,1260,1506,1518,1667,2105,2082,1567,1675,1570,1388,1382,1566,1623,1533,1766,1844,1882,1870,1654,1521,1800,2387,2090,1898,1668,2364,3830,3580,3586,3550,3663,2800,2075,1878,1878,2376,3308,3991,3482,2399,1745,1570,1517,1465,1506,1460,1660,1708,1680,1816,1970,1833,1934,2002,1906,1734,1554,1583,1689,2316,2521,2061,1825,2142,2879,3056,2924,2967,2750,2546,2028,1477,1384,1444,1606,1557,1528,1302,1333,1545,1363,1507,2099,2554,2293,1516,1771,2878,2900,2385,2044,1650,1459,1550,1604,1664,2188,2655,3099,3394,3452,3133,2588,1586,1640,1645,2321,3116,2796,2395,2671,2799,2332,2048,1566,1570,1484,1418,1374,1406,1404,1344,1428,1501,1533,1647,1476,1891,1910,1460,1337,1505,1448,1381,1310,1409,1469,1380,1397,1493,1473,1554,1513,1493,1570,1473,1346,1278,1280,1522,1758,2142,2302,1860,1898,1765,1499,1629,1911,2066,1692,1510,1586,2105,2325,2104,2119,2272,2202,2150,2858,3173,3362,2705,1749,1737,1782,1591,1561,1498,1466,1579,1653,1472,1396,1383,1300,1787,1726,1381,1371,1324,1281,1493,1730,1637,1876,1875,1510,1298,1307,1330,1426,1466,1444,1405,1383,1279,1268,1121,1462,1907,1809,1760,1819,1712,1578,1423,1334,1398,1446,1693,1826,1578,1542,1591,1482,1454,1569,1649,1710,1571,1732,1758,1704,1842,2036,2208,2094,2035,2069,1989,1916,2029,2110,2117,2132,2150,2097,2090,2036,1797,1744,1569,1652,1761,1879,1764,1554,1447,1584,1644,1520,1313,1936,2366,1453,1449,1622,1372,1328,1371,1434,1484,1500,1739,1797,1675,1666,1654,1491,1265,1300,1525,1778,1920,1738,1428,1287,1332,1339,1328,1494,1489,1397,1421,1533,1435,1388,1368,1780,1762,1584,1240,1368,1968,2171,1848,1613,1361,1546,1704,1585,1679,1533,1752,1644,1624,1593,1610,1649,1666,1676,1706,1522,1282,2184,2588,2504,2251,2440,2142,1872,2242,2609,2470,1730,2031,2180,1837,2022,2446,1898,1472,1876,2076,1960,2868,3033,2266,2346,2500,2764,2884,1928,1609,2160,1831,2066,2149,2215,2001,1779,1793,1748,2047,3117,3559,3016,2709,2425,2226,1882,2613,3139,2765,2501,2555,2355,2808,3472,2603,1823,2176,2157,2074,1320,1184,2032,2608,2622,2132,1620,1830,2367,2056,2073,1847,1716,1670,2165,2157,1971,2077,2369,2842,2947,2758,2823,3057,3221,3001,3764,3820,2623,1744,1843,2310,2455,2850,3123,2756,2257,2387,2702,2503,2697,2186,2230,2624,2394,2213,2503,2717,2622,2224,1675,1696,1501,1577,1851,1553,1908,1936,1707,1827,1719,1559,1616,1688,1750,1874,1776,1732,1712,1765,1510,1551,1792,1699,1200,942,1028,1651,2622,2286,1875,1643,2199,2192,1665,1801,1614,1460,1610,1662,1714,1842,1800,2069,2171,1909,1559,1422,1361,1748,2002,1632,1413,1677,1587,1597,2790,3322,2010,1672,1440,1639,1662,1806,1880,2021,1990,2172,2263,2028,2177,2198,2336,2592,2712,2622,2222,1789,1931,1870,1851,1535,1331,1853,2424,2966,2406,2398,2491,2032,2180,1761,1489,1864,2390,2068,1414,2012,2436,1788,1526,1548,1866,1872,1832,1797,1964,1721,1817,2140,1898,1757,1793,1875,1783,1830,1857,2143,2225,2018,2185,1990,2172,3061,3254,2546,2283,2310,2204,2020,1976,1883,1686,1282,1400,1566,2410,2326,1766,1913,2287,2254,2272,1813,1636,1659,1771,2010,2150,1922,2184,2350,1760,1704,1937,1909,1945,2060,1582,1417,1549,2350,2584,2141,1859,2036,2494,2154,1842,2369,2486,2784,2878,2044,2375,2319,2634,2433,1790,1788,1904,2374,2319,1937,2144,1870,1673,1477,1691,2595,2324,1989,1771,1613,1647,1682,1722,1689,1428,1420,1765,1497,1401,1455,1240,1411,1976,2808,3093,2765,2602,2717,2591,2213,2542,2913,2490,1649,1694,1562,1244,1137,1237,1516,1701,1594,1442,1394,1358,1630,1561,1439,1592,1757,1600,1431,1568,1704,1806,1943,1972,2017,1984,2173,2240,1856,1690,1805,1588,2149,3060,3366,3581,3592,3549,3328,2846,2612,3010,2476,1664,1784,2451,2366,1933,1750,2010,2797,3174,2827,2649,1979,2078,2526,2497,2622,2282,1578,1418,1500,1594,1594,1825,1803,2054,2172,1986,1858,1704,2060,2445,1923,2123,2905,2714,2363,2029,2200,2008,1649,1595,1896,1979,2080,2132,2248,2364,2094,2156,3053,2547,2047,2269,1930,1439,1622,1652,1622,1870,2344,2354,1936,2076,2515,1830,1907,2479,2191,2050,2002,1976,2244,2256,1859,1787,2164,2024,1891,1737,1999,2155,1969,1776,2315,2604,2387,2498,2632,2370,2166,2008,1862,1862,1702,1840,2304,2436,1947,1498,1722,2082,1929,2072,2459,2316,1804,1748,1594,1504,1710,1682,1517,1719,1802,1742,1494,2011,3053,3248,2472,1765,1573,1456,1324,1390,1795,1704,1570,2061,1998,1746,2099,2106,2019,1853,2003,1647,1864,2259,2855,2902,2679,2880,2595,2473,3089,2844,2718,3186,3485,3318,2640,2571,2661,2935,3094,3052,3249,2922,2503,2482,2139,2000,2224,2449,2102,1737,2447,3383,3820,4041,4120,3870,3751,3620,3942,3986,3893,3790,3570,3087,2586,2491,2519,2391,2141,2047,1962,2176,2404,2544,2518,2487,2426,1976,2031,2151,2368,2320,2487,2989,2920,2828,2897,2812,3046,2791,2464,2711,2807,2797,2954,3153,3146,3265,3730,3789,3585,3313,2845,2776,2721,2656,2075,2100,2281,2586,2566,1626,1714,2064,1956,1907,1863,1562,1543,1744,1980,1952,2342,2867,2553,2211,2734,2635,2586,2613,2324,2544,2295,2495,2933,2953,3173,3514,2952,1978,1725,1814,2091,2301,2330,2215,2223,2455,2923,2859,2349,2265,2808,2684,2579,2634,3377,3110,2473,2397,2664,3145,3423,2518,2482,2972,2887,2780,2421,1876,1659,1677,2294,2240,2152,1749,1693,1770,1714,1879,2199,2678,3085,3127,2662,2308,2702,3276,3403,3061,2941,2842,3296,3706,3140,2411,1825,1772,2731,2956,2618,1970,1775,1919,1795,1715,1726,2062,2159,2287,1945,2133,2285,2645,2674,2573,2609,2750,2705,2110,1926,1820,1995,2484,2075,1797,1826,1709,1621,1887,1886,1595,1764,2288,2561,3059,2699,2174,2565,2946,2172,1781,1593,1687,1922,1856,1804,2204,2099,1820,1964,1540,1772,1522,1607,1708,1587,1531,1937,3160,3260,2439,1969,1884,1767,1813,2040,1896,1772,1627,1859,1933,1818,1784,1798,1887,2291,2677],[2041,2849,3286,2951,2364,2500,2874,3040,3130,2977,3161,2799,1477,1608,2604,3212,3132,3034,2946,2688,2657,3063,3444,3239,3297,3542,3510,3331,3287,3116,3156,3247,3161,3031,2883,2503,2365,2598,2382,2562,2005,2188,2315,2081,2451,3116,3318,3342,3239,3312,3483,3549,3139,3399,3670,3406,3499,3686,3758,3846,3573,2887,2564,2570,2408,2389,2567,2346,2526,1882,1669,2490,2373,1997,1887,1882,2120,1815,1640,2132,2448,2242,1836,1787,2219,2651,2840,2556,2232,2742,3755,3882,3858,3321,2938,3056,2940,3084,3119,2913,2325,1674,1496,2172,2579,2699,2846,2255,1427,1153,2537,3198,3732,2522,1728,1557,1655,2157,2777,2752,2620,2320,1801,1998,2050,2313,2232,1703,1968,2176,1963,1721,1923,1928,1798,1779,1938,2176,2005,1441,1648,1612,1788,1939,1822,1746,2041,2491,2878,2892,3233,3672,3763,3662,3787,4027,3984,4093,3691,3833,3556,2943,2591,1557,1439,2121,2752,3110,2918,2635,2783,2865,2583,2295,1979,2043,2032,1739,1766,2088,2220,2724,2442,2378,1891,2034,1618,1341,1306,1281,1413,1385,1839,2534,2476,2259,2094,1985,1976,2044,2750,2795,2156,1778,2474,2745,2718,2396,2069,2725,3123,3570,3702,2113,1361,1838,2275,2505,2397,2636,3012,3052,3549,3376,3771,3863,3793,3283,3354,3915,4124,3941,3507,2623,1772,1378,1621,2281,2953,2996,3420,3841,3806,3674,3741,4021,4043,3888,3438,2887,3246,3162,3254,3072,2705,2155,2000,2642,3197,2779,2421,2178,1501,1398,1699,1853,1646,1671,1649,1686,1744,1814,1995,2264,1875,1461,1547,1587,1567,1967,2378,1699,1458,1489,1427,1373,1438,1477,1235,1598,1904,1501,1453,1449,1367,1197,1449,1803,1932,1489,1328,1699,2072,1948,1848,1912,1659,1656,1745,1793,1882,1540,1460,1728,1560,1483,1703,2178,2262,1809,1549,1329,1364,1357,1218,1226,1281,1412,1413,1439,1377,1765,2098,1599,1760,2569,2445,2575,1753,1891,1533,1260,1424,1433,1550,1966,1995,1707,2156,1786,1192,1271,1533,2020,2060,1458,2116,3032,3082,2260,1864,1868,1757,1468,1676,1924,1919,1687,1748,1617,1218,1276,1625,1894,2009,1607,1640,1688,1240,1531,1478,1920,1996,1662,1709,1762,1605,1724,2289,2356,2464,2318,1776,1846,1760,1892,1891,2010,1783,1963,2536,2204,1726,1571,1412,1501,1686,1703,1760,1659,1421,1794,2512,2213,2840,3585,3286,3195,2979,2430,2133,2042,2003,1617,1494,1453,1375,1391,1505,1507,1356,1454,1862,2253,2347,1894,1462,1395,2202,2093,1439,1372,1744,1653,1594,1647,1497,1306,1600,1923,1647,1954,2013,1729,1611,2353,2951,3207,3065,2554,2184,2012,1868,1748,1528,1672,1429,1484,1519,1674,1851,1757,1644,1737,1627,1478,1467,2480,2913,2050,1884,1591,1672,1772,1772,1586,1444,1600,1624,1332,1645,2030,1809,2468,2530,2578,2253,2106,2511,2605,2304,2109,2077,1992,1731,1786,1770,1894,1830,1696,1573,1567,1511,1577,1776,1842,2133,2051,1728,1632,1656,1760,1690,1474,1757,2200,2335,1948,1606,1556,1965,2767,2691,2646,2216,1750,1644,2094,1948,1609,1782,1820,1755,2266,2126,1540,1810,1648,1667,1549,1623,1994,2263,1982,2080,2565,3012,2719,1902,1957,2523,2711,2245,2065,1565,1454,1586,1614,1585,1581,1463,1398,1471,1579,1609,1482,1816,2106,1641,1876,1824,1577,1608,1695,1760,1920,2005,1948,1894,1595,1484,2091,2088,1905,1828,1559,1449,1462,1345,1302,1321,1321,1076,1127,1280,1250,1411,1670,1806,1556,1529,1507,1387,1426,1413,1287,1219,1259,1336,1407,1445,1347,1296,1280,2093,2062,1561,1459,1438,1554,1509,1381,1382,1448,1783,1739,1537,1750,1579,1440,1971,2511,2643,2125,1672,3305,3720,3616,3250,2698,2478,2239,1960,1850,2017,2912,3753,3893,3090,2232,1838,1826,1585,1525,1387,1377,1649,1804,1595,1620,1797,1742,1879,2048,1984,2052,1699,1611,1550,2567,2479,1741,1721,2531,3398,3217,3168,3111,2459,1814,1562,1950,2265,2244,2131,1916,1806,1807,1831,1676,1487,1345,1000,1214,1614,1505,1703,2321,3013,3275,2543,1929,2086,2295,2130,1567,1821,1875,2128,2529,2697,2745,2352,1964,1360,1294,2369,2865,2717,2641,2376,2233,2080,2280,2071,1741,1675,1531,1337,1444,1432,1361,1301,1326,1451,1519,1425,1331,1316,1293,1541,1606,1606,1744,1450,1507,1528,1500,1571,1538,1670,1599,1394,1476,1753,1630,1422,1287,1501,1831,1523,1715,1988,1731,1688,1579,1559,1525,1421,1598,1841,2000,1796,1795,2083,1703,1603,2464,2645,1981,2627,3718,2985,1943,1811,1724,1661,1532,1563,2115,2061,1887,1897,1665,1544,1411,1299,1621,1668,1584,1523,1442,1352,1532,1756,1726,1569,1682,1577,1429,1353,1361,1357,1276,1250,1428,1512,1258,1202,1368,1685,1892,1831,1848,1751,1656,1511,1300,1324,1404,1307,1233,1306,1580,1474,1428,1451,1572,1521,1570,1628,1461,1494,1578,1511,1672,1693,1781,1658,1589,1597,1647,1900,1816,1600,1703,1728,1865,1974,1885,1920,1726,1488,1340,1375,1385,1593,1547,1484,1375,1329,1387,1317,1184,1808,2166,1521,1502,1772,1499,1418,1300,1218,1392,1429,1368,1346,1360,1654,1650,1622,1644,1482,1398,1705,2382,2067,1383,1128,1181,1422,1346,1236,1316,1441,1478,1442,1429,1498,1710,1739,1436,1622,1982,1864,2216,2711,2051,1408,1450,1523,1738,2003,1694,1725,1846,1606,1743,1643,1445,1421,1717,1993,1782,1572,1841,3144,2850,2432,2247,1998,1717,1973,2079,2342,1926,1658,1871,2076,2596,2612,2142,1873,1945,2956,3287,2722,2825,2980,2526,2731,2568,2254,1968,1577,1512,2466,2079,1701,1600,1915,2002,1791,1607,1887,2504,2988,2822,2231,2137,2387,1765,1454,2262,2731,2138,2172,2733,2131,2881,3553,2779,3268,2820,2452,2770,2110,2010,2934,3272,2642,1810,1933,2135,2611,2483,2405,1913,1821,1948,2345,1975,1927,2344,2880,3487,2913,2284,2500,2847,3244,3223,3295,3299,2451,2054,2580,2420,2341,3108,3366,3344,2325,2353,2713,2499,2445,1872,2212,2686,2789,2773,2845,2729,2695,2726,2020,1715,1511,1683,1981,1710,1703,1907,1650,1483,1695,1739,1527,1562,1807,1983,1769,1902,1838,1332,1040,1342,1568,1574,1093,1039,1312,1334,1831,2283,2000,1797,2223,2010,1863,2106,1705,1280,1324,1207,1519,2015,1889,1841,2112,1687,1182,1171,1529,1710,1678,1375,1392,1788,1644,1540,2964,2957,1552,1385,1343,1599,1561,1619,1780,1894,1985,2106,2179,2186,2462,2138,1949,2085,2035,2163,1961,1866,2081,1987,2009,1927,1731,1770,2063,2547,2318,2342,1976,2057,2283,1650,1641,2381,2463,1853,1522,1972,2224,1830,1550,1585,1783,1813,1832,1739,1713,1695,1904,2033,1681,1621,1660,1669,1729,1814,1766,1565,1637,1778,2225,2558,2317,2114,2133,2071,1978,2037,2138,1769,1834,1986,1719,1586,1776,2003,2215,2241,2465,2283,2357,2663,2441,1806,1577,1521,1739,1986,2166,2146,2033,1543,1842,1968,1926,1992,2220,2523,1961,1794,2060,2432,2390,1975,1857,1996,2287,2463,2274,2263,2131,2499,2549,2512,2281,2357,2951,2437,1791,1918,1991,2541,2197,1973,2089,1822,2035,2121,2608,2876,2502,2028,1791,1695,1788,1983,1867,1754,1627,1788,1788,1753,1465,1148,1218,1493,2010,2334,1963,2208,2568,2603,2496,2055,2492,2845,2128,1435,1703,1823,1289,1211,1292,1401,1482,1502,1362,1477,1449,1487,1456,1446,1494,1654,1678,1577,1560,1637,1759,1870,1727,1623,1461,1838,2224,1748,1691,1948,1748,2050,2947,3195,3144,3304,3237,2984,2343,2335,2788,2384,1904,2126,2254,2104,1781,1697,2181,2523,2795,2308,2275,2238,2535,2383,2338,2841,2371,1638,1548,1883,2040,1730,1616,1492,2029,2906,2396,1750,1904,2157,2144,1963,1844,2180,1942,2056,1704,1549,1605,1756,2124,2239,2273,2378,1956,1919,1878,1620,2042,3399,2646,2210,2637,2514,2117,2145,2128,1937,1878,1789,1991,1677,1773,2340,2296,2254,2296,1969,2275,2908,2735,2370,2377,2059,2223,2554,1920,1700,1746,2079,1784,1242,1211,1904,2450,2745,2780,2651,2505,2359,1709,1574,1766,1557,1874,2662,2553,1811,1557,1808,1970,1807,1874,2144,2265,2070,1781,1714,1780,1994,1741,1632,2051,2090,1757,1402,1807,2619,3022,2451,1718,1700,1632,1287,1545,1971,1682,1813,2241,2130,1748,2187,2263,2232,1748,1648,1609,1675,2168,3100,3176,2617,2776,2946,2556,2626,2586,2910,3464,3215,3057,2828,3009,2923,2670,2406,2604,2872,2864,2751,2670,2548,2110,2155,2286,2014,1932,2596,3544,3677,3564,3746,3675,3498,2927,3638,4152,4229,4014,3906,3580,3116,3065,3121,2832,2567,1991,1630,1743,2032,2282,2510,2558,2076,1804,2321,2643,2656,2768,2813,2764,2874,2781,2497,2568,2956,2531,2308,2490,2767,3119,3245,3154,3106,3146,3593,3613,3398,2856,2723,2912,2945,2857,2333,2112,2204,2441,2483,1715,1916,1835,1808,2082,2118,1914,1746,1787,1797,1412,1647,2572,2497,2321,2670,2554,2181,1753,2499,2775,2181,2029,2276,2359,2626,2859,2899,2199,1571,1950,2148,2317,2266,2186,2541,3111,3537,3970,3572,2694,2578,2547,2710,2936,3367,2846,2258,2366,2407,3064,3448,3176,3208,2500,2457,2522,2365,2079,1772,1922,2417,2518,2224,1836,2200,2255,1598,1676,1695,2122,3087,3169,2300,2018,2408,3062,3149,3020,3196,3404,3961,3772,3050,2502,2269,2129,2768,2878,2446,2020,2048,1873,1691,1776,1981,2514,2635,2370,1925,2188,2387,2362,2441,2591,2485,2520,2206,1735,1725,1885,1966,2563,2213,2022,2043,1848,1849,1882,1767,1737,1984,2386,2756,2877,2194,1928,1927,2360,2771,2730,2266,1957,1760,1578,1809,2262,2070,1773,1876,1364,1752,1512,1645,1691,1528,1596,2361,3493,3964,3602,2698,2447,2286,1921,2013,1691,1434,1235,1645,1782,1498,1526,1782,1878,1781,2075],[2373,2734,3406,3109,2721,2994,3229,3349,2986,3086,2942,2361,1647,2225,3143,3200,2990,2876,2522,1967,2030,2620,3235,3043,3034,3624,3391,3059,3115,3033,3106,3297,3244,3104,3186,2956,2902,2785,2874,2785,2310,2020,2082,2196,2476,2910,3252,3316,3315,3465,3559,3573,3125,3348,3641,3564,3604,3761,3859,3875,3708,3139,2500,2002,2643,2952,3106,3016,3166,2594,2509,2923,2775,2423,2086,1802,1852,1733,1783,2333,2397,2207,2399,2182,1974,2302,2429,2240,1874,2422,3865,3619,3409,2861,2657,2184,2420,2010,1384,1477,1643,1476,1548,1901,2076,2455,2580,2548,2083,1896,2930,2866,2587,2404,2074,1664,1708,2172,2376,2816,2987,2608,2294,2272,2236,2275,2259,2119,2099,2018,1934,2161,2219,2115,2300,2215,2188,1892,1896,1901,2102,2091,2289,2482,2216,2231,2728,2509,2833,3262,3741,3803,3993,4165,4171,3989,3946,4006,4068,3995,3209,2653,2546,2079,1920,2419,2565,2186,1821,1879,2204,2312,2508,2549,2047,1942,1416,1377,2018,2164,2171,2886,2407,2177,2082,1952,1737,1560,1275,1424,1561,1594,2129,2505,2414,1872,1884,1909,1959,2121,2488,2742,2257,2141,2875,2233,2475,2531,2101,2184,2392,2856,2868,1998,1201,1408,2299,2577,2139,2257,2779,3072,2629,2939,3769,4007,4078,4201,4100,4080,4083,3848,3572,2684,2204,1675,1280,1450,2098,2532,3297,3616,3497,3351,3418,3655,3732,3394,3538,3572,3597,3061,2764,2543,2305,2247,2222,2100,2136,1890,1774,1938,1424,1368,1654,1749,1599,1692,1749,1679,1657,1577,2136,2897,2363,1838,1680,1698,1561,1680,1577,1549,1580,1728,1794,1611,1448,1330,1210,1595,1613,1327,1579,1380,1297,1383,1682,1746,1818,1576,1434,1556,1724,1695,1753,2078,1860,1938,1928,1786,1836,1719,1570,1636,1628,1537,1795,2403,2246,1707,1560,1579,1681,1550,1309,1462,1376,1293,1654,2011,1638,1562,1698,1506,1410,2508,2230,2567,1868,1826,1462,1309,1358,1352,1786,2317,2231,1554,1808,1241,1116,1291,1570,1574,1411,1599,2420,3152,3120,2627,1861,1261,1284,1465,2019,2025,1776,1735,1698,1594,1224,1257,1609,1758,1835,1471,1908,1945,1167,1386,1754,1747,1893,1886,1996,2169,1950,1936,2353,2256,2302,2234,1658,1817,1750,1722,1519,1532,1677,1931,2138,1882,1844,1838,1474,1405,1456,1814,2177,1749,1458,2093,2555,2132,2502,2950,2998,3068,2792,2079,1981,2863,2940,2007,1593,1692,1641,1593,1657,1630,1444,1299,1434,1817,1838,1536,1506,1433,1803,1737,1322,1328,1444,1447,1434,1553,1714,1447,1606,1740,1824,2229,2371,2010,1581,2238,3227,3360,3447,3515,2977,1941,1925,1572,1456,1493,1478,1453,1571,1646,1767,1669,1776,1790,1551,1433,1468,1860,2249,1773,1565,1491,1549,1592,1588,1730,1659,2010,1753,1464,1503,1835,1926,2138,2081,2242,1948,1603,1948,1897,1473,1524,1624,1650,1783,1826,1921,2034,2027,1753,1556,1538,1408,1577,1558,1657,2060,1944,1531,1401,1362,1543,1488,1613,2076,2405,2010,1505,1735,1562,2043,2854,3410,2943,2134,1681,1486,1645,1900,1733,1759,1731,1776,2128,1949,1625,1816,1725,1565,1424,1878,2881,2985,2552,2400,1971,2471,2314,1826,2127,3072,2817,2720,2815,1954,1581,1652,1623,1542,1453,1393,1383,1502,1561,1622,1571,1912,2193,1738,1323,1383,1601,1738,1546,1548,2003,1712,1948,2104,1803,1601,1584,1805,1871,1695,1528,1543,1612,1892,2041,1532,1151,1162,1281,1296,1289,1554,1793,1873,1623,1412,1382,1467,1469,1295,1351,1247,1211,1324,1466,1752,1606,1532,1607,1532,1378,1405,1415,1516,1803,1744,1416,1436,1469,1566,1581,1508,1708,2060,2358,2669,2604,2868,1921,1984,3587,3404,3118,2486,2203,2305,1986,1845,1835,2367,3429,3864,3048,2259,2336,2054,1789,1546,1372,1352,1338,1534,1855,1593,1518,1814,1965,1986,1931,2265,2702,2107,1745,1620,2050,2244,1985,2061,2769,3685,4067,3972,3486,2753,2045,1760,2536,3404,3197,2964,3340,3197,2956,3116,2976,2189,2156,1823,1731,2116,1954,1814,1673,2545,3396,2625,2144,3099,3220,2842,2653,2835,2234,1632,1686,2097,2121,2076,2045,1648,1759,2941,3065,2835,3074,2556,2369,2178,2431,2698,2407,2137,1788,1672,1974,1698,1460,1533,1390,1606,1462,1466,1306,1286,1299,1569,1532,1520,1600,1350,1432,1508,1502,1494,1444,1824,1798,1636,1389,1501,1723,1504,1370,1619,1848,1404,1343,1403,1239,1351,1453,1568,1492,1563,1790,1886,2063,1646,1506,1850,1787,1880,2116,2246,1940,3004,4083,2911,1760,1664,1642,1860,1553,1558,1700,1583,2087,1792,1500,1842,1764,1434,1550,1782,2019,1703,1403,1038,1216,1499,1599,1343,1353,1377,1395,1439,1440,1383,1458,1373,1533,1490,1536,1270,1527,1732,1714,1705,1739,1574,1443,1423,1454,1528,1399,1323,1478,1485,1611,1427,1311,1416,1506,1422,1473,1583,1496,1437,1650,1520,1381,1393,1419,1444,1428,1494,1503,1791,1657,1394,1503,1679,1828,1873,1863,1916,1739,1504,1449,1332,1295,1396,1440,1391,1283,1317,1477,1477,1306,1553,1564,1383,1365,1547,1608,1455,1202,1234,1446,1488,1328,1242,1492,1622,1639,1640,1347,1297,1337,1416,1560,1443,1328,1269,1367,1535,1406,1217,1433,1577,1496,1314,1454,1556,1562,1511,1524,1992,2555,2002,1792,2238,1898,1636,1456,1436,1565,1807,1645,1900,2150,1868,1648,1692,1592,1680,1984,2390,2248,1910,2048,2512,2798,2852,2536,2122,2023,2240,1923,2344,1804,1896,1805,1810,2101,1854,1924,2510,2705,3010,2995,2696,2221,2473,1896,1971,2126,1633,1625,1592,1610,1889,1737,1318,1625,2759,2596,2430,2436,3084,2866,2081,2073,2078,2603,2778,2416,2524,2802,2900,2207,2358,3176,2327,2866,3191,2609,3382,2795,2509,2964,2944,3075,3317,3356,3116,2574,2771,2495,2336,2242,2137,1814,1726,1610,1439,1673,2466,2676,2431,2485,2248,2381,2403,2118,1817,1850,2326,2216,1840,2430,2709,2019,2137,2251,2132,2236,1605,1469,2110,2553,2292,2041,1964,2017,2326,2414,2326,2526,2471,2397,2061,1823,1496,1567,1780,1817,1730,1646,1414,1238,1574,1627,1425,1339,1562,1715,1830,1975,1468,1143,1706,1780,1365,1786,1790,1581,1928,1395,1356,2241,2171,1925,1948,2168,2184,1948,1588,1551,1611,1481,1926,2030,1852,1885,1992,1375,1302,1572,1532,1714,1704,1182,1461,2163,1474,1408,3031,2585,1577,1443,1394,1317,1349,1495,1603,1831,2207,2048,2244,2220,2418,2238,2249,2228,2409,2424,1841,1937,1895,1610,2163,2144,1951,1762,1976,2445,2418,2224,1749,1973,2128,1577,2264,3010,2458,1885,1632,2209,2364,1804,1512,1574,1523,1452,1592,1770,1737,1370,1481,1602,1736,1781,1738,1669,1572,1721,1736,1515,1589,1815,2098,2180,1959,2068,1802,1816,1526,2076,2041,1806,1830,1933,1838,1833,1920,1749,1895,2224,2636,2496,2326,2186,2191,2001,1954,2017,2046,1976,1904,1841,1990,1669,2269,2199,1877,1690,2448,3262,2718,1898,2058,2299,1930,2100,2410,2336,2546,2279,2016,2012,1929,1960,2027,2149,2305,2843,2865,2069,1598,2013,2036,2292,2153,2212,2013,1843,2329,2328,2055,2036,2025,1891,1861,1828,1752,1730,1731,1472,1242,1534,1632,1874,1648,1243,1498,1707,1866,1983,1700,1974,2347,2406,2498,2455,2642,2846,2370,1615,1785,2031,1382,1349,1253,1267,1290,1422,1445,1414,1376,1396,1373,1281,1244,1397,1627,1337,1234,1366,1766,1970,1666,1433,1317,1684,2239,2071,1901,2232,2808,2461,2652,2636,2258,3124,3086,2824,2061,1734,2028,1882,1880,2132,2420,2616,2865,3077,3138,3252,2431,1979,2360,2843,3007,2475,2420,3051,2755,2014,1608,1612,1434,1474,1751,2228,3139,3548,2674,2121,2494,2599,2050,1986,1694,1538,1474,1840,1782,1587,1693,1902,2091,2160,2455,2305,1856,2080,1876,1596,1948,2910,2460,1943,2345,2494,2180,2103,2077,1993,2059,2234,2289,2114,1780,1732,1844,1759,1528,1427,1975,2921,2899,2612,2464,2036,2157,2034,1476,1367,1705,1940,1622,1189,1784,2570,2946,3094,2471,2260,2475,2094,1855,1716,1461,1573,2076,2210,1990,1720,1770,1699,1513,1633,1460,1453,2533,2664,2448,2281,2144,2337,2266,1936,2144,1971,1589,1627,1692,2727,3015,2046,1525,1718,1682,1515,1770,1924,1628,1900,2612,2842,1844,1924,2159,2317,1830,1572,1706,1763,2327,3319,3827,3095,2888,2907,2626,2635,2399,2680,2963,2576,2457,3062,3278,3112,2962,2503,2472,2457,2613,3011,2684,2561,2312,2450,2478,2154,1996,2378,2933,3348,3543,3495,3596,3732,3484,3656,4021,4241,4197,3974,3682,3465,3385,3215,3205,3248,2951,2410,1965,1889,2084,2258,2055,1773,2068,2688,2853,2569,2643,2719,2792,2817,2355,2035,2264,2566,2474,2520,2774,2890,3061,3201,3111,3034,3006,3186,3293,2920,2479,2377,2784,3203,3011,2395,1916,2060,2060,2031,2008,2464,2186,1916,2041,2131,2155,2045,1839,1636,1029,1488,2677,2630,2347,2573,2460,1979,2248,3121,3116,2706,2383,1988,2270,2843,2622,2766,2325,2296,2742,2542,2160,2272,2822,3319,3817,4095,3898,3681,3338,2507,2461,2886,3078,2841,2857,2561,2052,2216,3018,3636,3649,2584,2062,2498,2759,2612,2298,1966,2010,2426,2369,2080,1985,2040,2196,2088,2166,1922,1916,2305,2238,1968,1722,1823,2149,2331,2668,2990,3798,3798,3211,2855,2702,2767,2264,2053,2272,2249,2128,2310,2135,1679,1730,2652,2972,2646,1874,1816,2177,2242,2150,2098,1982,2149,2041,1870,1954,2288,2566,2198,2208,2142,2120,2203,2076,1901,1664,1587,1731,2006,2304,2154,2295,1995,1980,1733,2274,3293,3208,2838,2885,2678,2186,2009,2041,2253,2292,2428,1972,1881,1518,1619,1696,1545,1622,2413,3559,4184,4086,3745,3549,2967,2125,1596,1530,1484,1361,1548,1562,1447,1548,1672,1456,1615,2084],[2569,2591,3249,3116,3079,2922,3091,3085,2800,3159,3099,2743,2556,2943,3187,2984,3000,3105,2624,2341,2358,2473,3117,3414,3527,3569,3272,3002,2742,2831,3415,3385,3020,3152,3226,3162,3049,2651,2668,2724,2669,2295,2007,2018,2452,2927,3382,3511,3386,3469,3409,3467,3489,3536,3617,3657,3671,3695,3694,3741,3743,2603,2314,2184,2525,2844,3254,3448,3108,2276,2179,2763,2686,2023,1827,1704,1958,2214,2274,2137,2047,2316,2258,1873,2531,3478,2829,2101,1714,1710,3086,3755,3362,3094,2510,2475,2850,2349,1950,1919,2080,2077,1746,2116,2495,2729,2423,2398,2038,2467,2544,2112,2115,2221,2042,1859,1914,2142,1894,2056,2304,2284,2579,2384,2368,2554,2470,2293,1989,1724,2066,2332,2365,2156,2056,2046,2134,2156,2150,2134,2508,2701,2821,2985,2820,2447,2790,2697,3376,3751,3674,3550,3613,3833,4070,3961,3907,3956,4026,3879,3795,3349,3001,2623,2150,2125,1963,1734,1823,1778,1793,1928,1896,1828,1741,1794,1638,1861,2258,2459,2249,2474,2585,2577,2833,2884,3181,2037,1515,1660,1769,1864,2459,2662,2287,1763,1770,2013,1778,1323,1554,1846,2120,2907,3377,2885,3039,2743,2011,1753,1884,2176,2714,2520,1627,1408,1836,2261,2114,1980,2298,2710,2979,3514,3565,3612,3905,4246,4217,4162,4069,3872,3288,2877,2981,2974,2181,1514,1462,2011,2663,3186,3567,3659,3646,3216,3128,3020,3429,3437,2939,2731,2941,2722,2351,1997,1581,1496,1755,1577,1414,1555,1342,1364,1679,1835,1577,1533,1691,1686,1676,1928,2829,3675,2802,2056,1788,1597,1440,1710,1717,1661,1576,1739,1870,1531,1457,1605,1613,1845,1367,1255,1445,1514,1492,1457,1487,1680,1804,1538,1412,1399,1378,1302,1864,2095,1942,2178,2077,1888,1925,1790,1611,1483,1488,1570,1458,1846,1842,1527,1638,1786,1735,1453,1475,1648,1516,1402,1540,1713,1484,1327,1545,1499,1580,2633,2414,2379,1933,1715,1403,1253,1489,1585,1933,2206,2005,1556,2045,1341,1345,1709,2035,2253,1994,1923,2619,3328,3077,2636,1560,1443,1877,2048,2332,2009,2011,1831,1528,1548,1123,1244,1660,1782,1801,1590,2082,2260,1572,1708,2101,2286,2205,2216,2891,3834,3320,2886,2602,1936,1546,1677,1437,1598,2056,2161,1698,1544,1604,1727,1922,1825,1839,1736,1630,1627,1463,1572,1650,1473,1548,2331,2377,1995,2512,2980,3122,3106,3047,2499,2125,2632,3028,2563,2407,2299,1690,1669,1692,1953,1790,1557,1613,1571,1571,1453,1503,1518,1546,1484,1524,1536,1387,1396,1395,1556,1749,1716,1667,1507,1899,2046,1884,1774,1540,2575,3765,3666,3386,3145,2374,1575,1635,1469,1385,1596,1658,1578,1532,1571,1784,1512,1565,1556,1486,1546,1537,1495,1623,1550,1454,1481,1562,1636,1787,1707,1798,1886,1654,1576,1461,1495,1654,1585,1708,2188,1975,1984,2102,1933,1664,1542,1612,1656,1806,1887,1930,1947,2009,1662,1563,1701,1568,2067,1740,1770,1692,1603,1675,1612,1556,1769,1604,1356,1700,2308,2115,1730,1682,1648,1780,1707,2023,1988,1813,1682,1421,1698,1874,1637,1667,1637,1516,1709,1699,1753,1728,1543,1541,1617,1646,2348,2958,2759,2222,1878,2156,1575,1571,1724,2094,1796,1985,2283,2162,1937,1606,1586,1419,1469,1578,1616,1438,1381,1451,1449,1594,1762,1556,1483,1658,1775,1903,1511,1563,2233,1743,1772,2023,1948,1767,1510,1480,1460,1398,1330,1553,1757,2381,2549,1660,1133,1526,1440,1471,1504,1539,1889,1853,1422,1498,1479,1508,1565,1333,1394,1358,1262,1251,1497,1662,1605,1758,1773,1615,1523,1453,1447,1375,1509,1942,1667,1470,1617,1538,1792,1914,2059,2985,3466,3184,2268,2229,1360,1514,2454,2972,2832,2448,2366,2250,1770,1772,1948,2729,3798,3526,2646,2080,1989,1709,1576,1381,1331,1448,1441,1506,1714,1648,1641,1913,1916,1915,1629,1935,2742,2448,1764,1645,1916,2557,2784,2813,3051,3324,3630,3835,3705,3374,2933,2449,2593,2967,2887,2656,3595,3740,3516,3850,3925,2837,2521,2625,2659,2610,2545,2485,2338,2871,2893,2414,2218,3317,3383,2942,3164,2918,2197,1625,1748,2090,1881,1904,1984,2155,2121,2774,3020,3020,3023,2944,2906,2756,2652,2774,3007,2716,2169,2296,2502,1881,1285,1495,1376,1361,1332,1384,1245,1232,1381,1578,1427,1344,1310,1369,1482,1404,1401,1606,1658,1468,1437,1388,1349,1563,1562,1412,1400,1572,1741,1620,2042,2054,1567,1376,1585,1768,1505,1755,1678,1313,1789,1815,1868,1708,1627,1590,1843,1905,2165,3375,4265,3965,3327,2254,1729,1617,1349,1788,1648,1656,1888,1599,1323,1488,1606,1595,1664,1766,1676,1588,1356,1108,1486,1811,1774,1626,1383,1448,1422,1409,1377,1361,1398,1367,1511,1428,1299,968,1513,2208,2294,1915,1449,1267,1317,1401,1485,1657,1840,1466,1511,1381,1416,1368,1241,1367,1540,1473,1430,1592,1711,1699,1831,1524,1359,1437,1659,1644,1505,1519,1573,1560,1420,1347,1432,1561,1590,1848,2216,2427,2136,1582,1367,1309,1288,1375,1371,1317,1200,1308,1487,1909,1547,1656,1637,1423,1361,1556,1644,1411,1202,1314,1497,1468,1278,1370,1475,1469,1613,1656,1453,1433,1560,1543,1364,1426,1294,1256,1177,1572,1357,1282,1337,1419,1248,1259,1449,1505,1470,1496,1687,1872,1722,1730,1844,1826,1871,2114,1799,1605,1651,1782,2063,1720,1798,2353,2312,1735,1594,1710,1777,2225,2319,2026,1685,1815,2821,2974,2269,1881,1928,2047,2092,2489,2257,2069,1765,1430,1441,1544,1856,2176,2230,2298,2066,1842,2023,2545,2001,1775,1433,1235,1533,1700,1913,2481,3009,2858,3204,4035,3520,3221,2590,2758,2236,1887,2357,2696,3146,3040,2690,2534,2683,2985,2114,2004,2552,2272,2490,2468,2302,2813,3052,3143,3236,3184,3073,2999,3096,2988,2243,2042,1881,1750,1614,1565,1538,1275,1170,2097,2861,3176,2356,2047,2452,2422,2507,2417,2148,2309,2287,2029,2059,1755,1940,1908,1408,1569,1708,1912,1952,1720,1442,1718,1921,1896,2040,2481,2623,2004,1973,2058,2600,2321,2154,2049,1644,1631,1633,1567,1735,1754,1836,1493,1345,1678,1556,1476,1382,1464,1774,1939,1557,1152,1226,1749,1638,1250,1603,2075,2222,2129,1825,2063,2317,2118,1914,2019,2093,1902,1791,1459,1480,1871,2076,2014,1787,1333,1464,1593,1501,1943,2117,1843,1882,2010,2047,2135,2141,1554,1859,2940,2656,1865,1656,1589,1627,1551,1702,1647,2232,2364,2037,2193,2121,2060,2019,2065,2024,2564,2597,1820,1854,1775,1496,1907,1759,1697,1728,1912,2129,1997,1903,1755,1819,1903,1743,2570,3027,2588,2002,1820,2072,2197,2042,1565,1167,1116,1298,1690,1868,1716,1543,2102,1803,1599,2074,2032,1625,1440,1688,1690,1405,1536,1761,1795,1825,1813,1870,1729,1786,1638,1597,1936,2132,1927,1737,1691,1894,1924,1552,1642,1887,2287,2789,2403,2085,2155,2038,2146,2486,2332,1878,1865,1620,1306,1543,2019,2039,1489,1105,1863,2641,2220,1672,2038,1961,2307,3075,3068,2486,2553,2415,2388,2166,2205,2289,2228,2013,2823,2534,2671,2152,2322,2374,2381,2610,2382,2119,2139,2179,2042,1847,2033,2064,2323,2072,1800,1780,1932,1840,1859,1509,1321,1315,1404,1650,1496,1163,1323,1569,1688,2081,1744,1898,2109,2370,2640,2424,2542,2818,2617,1751,1704,1981,1556,1458,1344,1299,1334,1373,1400,1393,1463,1566,1366,1317,1213,1260,1502,1393,1291,1296,1730,2016,1811,1674,1536,1563,1777,1729,1720,2002,2756,1810,1573,1885,2493,3435,3652,3310,2779,2770,2295,1737,2052,2375,2304,2408,2515,3025,3253,2851,1951,1766,2785,3408,2503,2182,2236,2864,2918,2397,1918,1681,1536,1521,2137,3267,3414,2844,2239,2024,2054,1970,1800,1597,1548,1492,1600,2000,1946,1600,1690,1884,1936,1940,1866,2140,2084,2246,2082,1979,2101,2564,2469,1968,2235,2470,1982,1970,2426,2317,1872,1596,2115,2379,1801,1480,1726,2014,1704,1603,1809,1971,1880,2310,2254,2357,2080,1583,1292,1269,1664,2103,1903,1627,2125,2661,2808,2436,1944,2122,2166,2228,2544,2037,1438,1905,2206,2007,2196,1716,1749,1607,1711,1430,1251,1738,2830,2900,2686,2585,1985,2019,2386,2214,2176,1811,1870,1791,1544,2130,2094,1662,1815,1824,1738,1717,2082,2236,1806,1619,2240,1905,1597,2144,2236,2063,1980,1890,1982,2042,2752,3461,3851,3500,3306,2678,2275,2264,2446,2472,2624,2531,2482,3265,3570,3435,3574,3471,3210,2756,2894,2885,2542,2426,2091,1968,2337,2405,2137,2484,2878,3382,3795,3516,3482,3781,3728,3803,4040,4179,4241,4005,3862,3807,3710,3448,3455,3613,3840,3584,3086,2669,2712,2794,2558,2561,2841,3045,3006,2928,2899,2898,2845,2721,2471,2254,2315,2331,2386,2714,3108,2964,2961,2861,2928,2907,3019,3128,3147,2884,2807,2840,3092,3216,2844,2117,1828,1888,2355,2151,1835,2069,2192,2243,2423,2443,2237,2038,2002,1843,1200,1738,3298,3054,2834,2633,2112,1851,2286,2855,3067,2717,2426,1797,1807,2331,2398,2339,2154,2382,2580,2575,2533,2866,3305,3518,3927,3883,3946,4009,3874,3110,2700,3172,3555,3074,3357,3257,2498,2722,3348,3798,2697,2070,2145,2338,2372,2103,2050,1999,1886,2163,2087,2315,2126,2325,2641,2176,1907,2199,2244,1876,2205,2310,1924,2065,2379,2529,2964,3332,4195,3508,2755,2743,2849,2696,2229,1922,1727,2063,2543,2608,1996,1611,1634,2579,2593,2008,1741,1672,1792,2069,2333,2080,1685,1666,1726,2340,2547,2326,2237,2355,2037,1771,1921,2608,2766,2081,1751,1921,1582,1500,1770,2085,2484,2553,2524,2054,2659,3197,2708,2784,2843,2620,2242,2079,2679,2752,2863,3279,2346,1460,1371,1593,1667,1729,1804,1948,2536,3217,3172,3206,3474,2554,1797,1538,1532,1618,1892,2088,2096,1763,1775,1500,1128,1470,1709],[2668,2467,2526,2697,2978,3076,3234,3114,3067,3373,3296,2877,2757,2668,3162,3344,3368,3496,3041,2947,2654,2700,3204,3547,3673,3457,3260,2788,2631,2956,3399,3454,3286,3053,3143,3382,3108,2900,2564,2096,2577,2565,2372,1923,2546,3241,3425,3528,3361,3061,2844,3120,3462,3653,3740,3637,3696,3706,3582,3503,3583,2534,2570,2969,3061,3275,3421,3253,2734,2491,2512,2524,2346,2230,2220,1991,1910,2007,1858,1718,1792,1938,1938,1603,2500,3672,3360,2835,2442,1974,3064,3972,3762,3561,2963,2797,2730,2544,2375,2408,2565,1952,1674,1925,2302,2338,2360,2592,2518,2812,2648,1914,1754,2149,1674,1654,1989,2397,2188,2059,1993,2483,2933,2682,2486,2238,2286,2511,2274,2133,2308,2500,2394,1993,1751,1699,1952,2444,2266,2074,2360,2502,2551,2796,2801,1969,2142,2451,3515,3360,2964,3405,3378,3548,4067,4115,4060,3979,3935,3611,3140,2974,3060,2587,1796,1638,1870,1777,1626,1715,1904,2271,2286,2469,2362,1896,2446,2614,2776,2814,2255,2557,2952,3028,2961,3110,3348,1873,1471,1766,2104,2163,2721,3197,2705,2357,2202,2203,1790,1453,1620,1718,1967,2518,2885,2563,2977,2480,1701,1494,1404,1793,2365,2335,1898,1800,1647,1640,2092,1920,2078,2425,2924,3673,3804,3475,3477,3812,3816,3657,3696,3784,3162,2934,3174,3385,3307,2598,1688,1425,1938,2767,3260,3232,3299,3407,3598,3560,3617,3107,2419,3182,3623,3284,2987,2234,1750,1528,1539,1501,1360,1355,1318,1344,1895,2114,1610,1437,1547,1576,1726,2401,3497,3639,2514,1647,1517,1468,1814,2053,1846,1742,2003,1925,1412,1324,1434,1636,1560,1682,1698,1654,1649,1841,1618,1480,1726,1733,1660,1534,1398,1309,1256,1260,1931,1731,1471,1924,1952,1843,1868,1697,1627,1499,1527,1664,1509,1695,1794,1238,1218,1745,1800,1483,1502,1500,1433,1437,1448,1642,1646,1371,1347,1173,1726,2272,2285,2364,1860,1575,1293,1318,1508,1744,1960,2321,2180,1861,2076,1617,1425,1786,2244,2358,2217,2180,2749,3167,3151,3068,1669,1615,1945,2146,2170,1942,2244,2230,1670,1512,1013,1269,1592,1895,1586,1727,2762,3351,3043,2497,2071,1859,1472,1765,2907,3857,3960,3913,3069,1698,1235,1372,1446,1722,1996,1892,1864,2010,2190,2624,2335,2001,1874,1937,1995,1976,1884,1566,1328,1390,1790,2404,2039,2241,2850,3360,3350,2816,2633,2728,2410,2749,3305,2986,3530,3234,1991,1587,1649,1995,1992,1311,1281,1412,1329,1390,1479,1488,1500,1859,1944,1561,1372,1350,1382,1500,1548,1573,1576,1534,1672,1678,1500,1567,1672,2468,3116,3350,3494,3075,2060,1561,1440,1351,1344,1427,1579,1824,1632,1337,1461,1569,1724,1621,1541,1694,1702,1789,1726,1461,1482,1463,1438,1639,2099,2016,2258,2072,1681,1649,1447,1502,2242,1750,1690,2674,2346,2671,2276,1901,1582,1559,1700,1745,1730,1925,1946,1994,2398,1747,1536,1656,1707,2018,1693,1489,1506,1504,1715,1744,1708,1727,1613,1382,1737,2194,2496,2130,1826,1686,1772,1731,1782,1732,1595,1576,1546,1608,1542,1732,1954,1782,1734,1776,1762,1929,1706,1123,1224,1543,1671,2078,3003,2768,1854,1869,2003,1750,1487,1654,1956,1769,1592,1600,1854,2056,1828,1636,1338,1605,1732,1523,1382,1401,1417,1425,1519,1564,1480,1660,1819,1822,1514,1390,1612,1820,1560,1472,1705,2020,1971,1802,1772,1537,1536,1496,1826,1857,2107,1859,1518,1357,1598,1588,1532,1594,1710,1883,1624,1382,1396,1373,1384,1411,1372,1340,1325,1245,1245,1434,1480,1344,1665,2121,1805,1691,1595,1430,1222,1416,2132,1969,1730,1631,1532,1648,1864,2053,2783,3492,3463,3027,2130,1296,1034,1278,1898,2558,2822,2259,1865,1760,1717,1976,2511,2688,2213,2344,2287,1899,1694,1553,1461,1580,1377,1395,1455,1665,1764,1787,1809,1530,1618,1571,1805,2732,2785,1935,1854,2165,2448,2442,2164,2449,2764,2889,3288,3464,3262,2739,2446,2418,2003,2247,2266,3232,3660,3552,3715,3768,2873,2538,2666,2556,2135,2241,2359,2419,3216,3164,2766,2369,2911,3277,2834,2914,2987,2424,1876,2164,2473,2357,2634,3056,2858,2113,2083,2284,2336,2659,2634,2734,3112,2933,2972,3322,3057,2817,2448,2885,2198,1445,1237,1223,1325,1628,1836,1401,1280,1381,1709,1398,1314,1478,1455,1307,1322,1368,1602,1613,1449,1285,906,1180,1403,1388,1360,1495,1659,1990,1970,2056,1899,1693,1682,2032,2374,1498,1636,1435,1693,2702,2851,2630,1874,1541,1421,1832,2150,2086,2657,3188,2880,2832,2370,1816,1742,1649,1945,1912,1914,2026,1612,1474,1415,1405,1572,1670,1644,1346,1294,1376,1402,1721,1771,1803,1750,1453,1606,1468,1289,1262,1412,1471,1322,1422,1852,1816,1553,1964,2349,2294,1817,1405,1255,1288,1320,1243,1594,1773,1367,1295,1428,1452,1240,1214,1337,1533,1423,1385,1416,1654,1720,1675,1582,1433,1353,1567,1651,1549,1515,1627,1508,1481,1387,1653,1452,1451,1985,1863,2092,2225,1830,1472,1400,1295,1419,1327,1350,1325,1439,1527,1692,1746,1817,1594,1353,1384,1559,1596,1370,1204,1337,1634,1444,1352,1646,1760,1782,1750,1730,1614,1418,1566,1618,1484,1300,1191,1254,1289,1361,1316,1345,1186,1127,1246,1407,1339,1418,1517,1498,1515,1458,1377,1504,1367,1340,1896,2696,2332,1782,1736,1864,2255,2014,1713,1894,1669,1541,1592,1608,1619,1798,2013,1945,1583,2113,3284,3179,2292,2136,2569,2420,2154,2103,2046,1948,1823,1691,1921,2098,1820,1882,2036,1890,1874,1751,2020,2618,2326,2202,2198,2163,2592,2488,2254,3485,3756,2703,3088,3350,2986,2906,2627,2364,2041,2142,2452,2524,2472,2099,2806,3088,2708,2812,2071,1871,2323,2553,2279,2164,2204,2104,1964,2852,3332,3203,2846,2859,2951,2912,2218,1755,1742,1660,1665,1813,1743,1439,2239,2830,2280,2296,2460,2603,2901,2659,2653,2589,2444,2574,2288,1800,2247,1754,1803,1448,1421,1530,1521,1656,1843,1684,1514,1621,1701,1973,1791,2028,2367,1814,1734,1959,2222,2161,2194,1964,1675,1804,1715,1834,1755,1731,1985,1672,1508,1640,1421,1598,1664,1719,1757,1467,1583,1400,1011,911,1143,2054,2257,2130,1975,1831,1920,2192,2245,2019,1933,2153,1869,1969,2036,1694,1906,2321,2415,2288,1985,1581,1426,1538,1896,1859,1573,1510,1694,1902,1938,1811,1543,1422,1750,2236,2311,2116,1767,1560,1632,1727,1505,1412,2325,2270,2272,2363,2147,1978,2019,1776,2116,2972,2199,1835,1971,1815,1342,1436,1465,1511,1592,2048,2592,2348,2132,1744,1802,1912,1897,2032,2239,2230,1942,2022,2134,2004,1690,1483,1399,1773,1939,1957,1812,1814,2102,2237,2091,2068,2327,2330,1965,1715,2018,1592,1535,1853,1842,1801,1725,1712,1634,1650,1760,1636,1852,2482,2674,2167,1681,1645,2121,2106,1704,1504,1932,2766,2966,2463,2439,2292,1984,2233,2852,2273,1690,1562,1481,1772,1763,2098,2247,1600,1260,1560,2144,2227,1580,1768,1848,2377,2857,2487,2000,1985,2351,2568,2520,2237,1930,1858,1627,1598,1920,2436,2520,3234,3096,2662,2451,2109,2125,2216,2043,1964,1997,2362,2476,2778,2255,1875,1937,1991,2042,1949,1627,1500,1338,1488,1513,1328,1248,1400,1349,1510,2199,2008,2014,2062,2362,2906,2414,2532,2903,2728,1721,1646,1924,1728,1464,1282,1321,1397,1432,1605,1522,1419,1405,1439,1364,1256,1333,1390,1407,1310,1345,1733,1963,1866,1784,1594,1714,2047,1990,1960,2235,2463,1972,1988,2176,2744,3518,3811,3864,3569,2984,2385,1771,1752,1596,2282,2362,1743,1952,2377,2585,2279,1925,2104,2485,1902,1754,2042,2604,2814,2496,2236,2064,1621,1461,1967,3054,2632,2229,2080,1773,1720,1652,1638,1708,1694,1622,1814,2012,1725,1445,1782,2299,2204,2254,2262,2610,2282,2073,2076,1756,1593,1849,1964,1982,2189,2645,2000,1759,1775,1866,1539,1303,2068,2324,1484,1257,1405,1771,1892,1719,1609,1870,1969,1791,1908,2179,1922,1719,1462,1072,1172,1532,1689,1665,1860,2590,2355,1959,1907,2016,2321,2797,2505,1099,859,1701,1922,2136,1953,1665,1690,2121,2526,2132,2210,2676,2568,2471,2643,2728,2237,2491,2514,2055,2116,2337,2360,1945,1704,1603,1316,1333,1823,2027,1973,1841,2676,2901,2049,1870,2188,1911,2008,2188,1788,1656,1620,1986,2060,2187,3242,3855,3774,4078,3362,2937,2452,2324,3040,3175,3167,3190,3008,3395,3881,3737,3718,3597,3348,2893,2901,2386,1970,1989,1878,1749,1971,2184,2272,2667,2556,2985,3633,3632,3721,3943,3918,3941,4151,4212,4020,3570,4133,4330,4025,3758,3569,3537,3782,3980,3876,3657,3375,3216,3304,3727,3541,3269,3197,3233,3109,2890,2584,2511,2536,2533,2480,2231,2540,2995,2966,2947,3002,2921,2930,2931,3029,3204,3088,3109,3352,3264,3209,3017,2676,2071,1888,1556,2344,2339,2196,2264,1940,2266,2624,2762,1934,1897,2322,2568,2076,1987,3112,3536,3767,3140,1927,1856,2184,2417,2329,1931,2102,2164,1924,1882,1930,1932,2070,2146,2140,2685,3107,3435,3436,3009,2801,3292,3874,4156,4091,3436,2348,2376,2996,3043,3418,3076,2214,2829,2767,3281,2990,2552,2372,2225,2170,2016,1888,1903,1636,1704,2148,2270,2054,2591,3087,2503,2026,2305,2326,2381,2807,2792,2278,2072,2764,2542,2867,3834,3673,2940,2578,2299,2481,2598,2700,2779,2184,1970,2456,2494,1976,1750,1815,1927,1995,2125,2334,2296,2098,2607,2833,2187,1822,1507,1858,2497,2294,1811,2269,2392,2078,2017,2100,2563,2604,2119,1952,2151,1968,1807,2139,2876,2668,2689,2831,2463,2629,2886,2502,2601,2449,2199,2060,1988,2968,2846,2374,2458,1914,1401,1494,1734,1807,1821,1944,1731,1930,2077,2382,2775,2652,2013,1694,1694,1457,1481,1917,1969,2241,2371,2645,1987,1786,1902,1732],[2413,2247,2061,2599,2933,3154,3047,2958,3055,3159,2892,2877,2486,1944,2561,3206,3085,3029,2888,2602,1964,2184,2922,3259,3517,3177,3129,2865,3068,3240,3247,3270,3133,2898,3156,3252,2858,2886,2601,2067,2637,2667,2503,1945,2619,3506,3662,3580,3529,3203,2745,2787,3508,3715,3642,3563,3486,3352,3103,2464,2266,2250,2578,2526,2081,2208,2536,2654,2406,2510,2328,2199,2508,2415,2348,2053,1660,1534,1860,2317,2233,2226,2245,1802,2497,3060,2627,2221,1688,2061,3190,3425,3356,3137,2834,2728,2462,2684,3198,3450,3321,2245,1865,1577,1992,2196,2510,2908,2389,2373,2491,2452,2419,2808,2061,1843,2216,2868,2850,2624,2504,2899,2902,2865,2632,1926,1935,2492,2513,2562,2367,2378,2460,2091,1731,1593,1887,2618,2381,2108,2128,2242,2175,2726,2373,1996,1897,1864,2866,3118,2940,3445,3041,2732,3913,4154,4005,3848,3087,2945,2393,2426,3041,2851,2129,1855,2181,2456,2303,2461,2407,3454,3653,3486,2844,2517,3167,3229,3035,2777,2615,2648,2289,2452,2509,2867,2595,1953,1584,1745,2411,2018,2231,3334,3168,2714,2162,2120,1823,1886,2436,2360,2334,2944,2688,2766,2984,1987,1503,1545,1413,2036,1916,1863,1765,1858,2066,2201,2152,1674,1896,1988,2119,2912,3615,3304,2941,3290,3133,3062,3393,3574,3106,3052,3408,3248,3013,2919,2801,1771,1581,2200,3164,3155,3226,3436,3417,2835,2712,2364,2412,3527,3542,3438,3581,3397,2762,2490,2166,1893,1701,1457,1324,1447,1813,1932,1411,1374,1749,1604,1870,2108,2325,2010,1616,1472,1440,1518,1729,1815,1802,1656,2444,1821,1454,1517,1502,1447,1309,1300,1628,1579,1460,1608,1408,1439,1825,1860,1599,1732,1431,1322,1394,1304,1885,2001,1591,1626,1669,1618,1610,1801,1694,1642,1563,1574,1563,1563,1440,1214,1466,1867,1836,1674,1385,1262,1327,1405,1465,1437,1425,1494,1764,1704,1912,2005,1919,2512,1743,1539,1175,1308,1421,1761,2010,2647,2498,2283,2301,1747,1665,2023,2238,2366,2289,2266,2767,2875,2832,2840,1868,1703,2168,2277,1979,2176,2631,2105,1520,1256,1304,1438,1794,2359,1933,1938,2668,3299,3066,2480,1692,1634,1760,2211,3011,3630,3262,3463,2728,1445,1354,1451,1567,2104,2174,1746,1826,2273,2182,2258,2670,2485,1981,1796,1791,1835,1944,1882,1630,1685,1841,1671,1631,2642,2934,2986,3205,2394,1663,1983,2184,2932,3244,3670,3972,3967,3017,2130,2118,1980,1562,1001,1027,1126,1172,1432,1678,1375,1335,1694,1623,1348,1268,1570,1705,1589,1509,1419,1451,1583,1431,1396,1448,1509,1925,1941,1928,2126,2742,2986,2169,1653,1558,1549,1396,1410,1542,1534,1322,1460,1555,1982,2203,1990,2107,2154,1908,1607,1636,1468,1550,1391,1275,1684,2053,1870,1741,1797,1750,1650,1728,2143,2979,2011,1899,2663,2566,2301,1906,1682,1550,1529,1714,1739,1705,1873,1900,1712,1781,1638,1556,1530,1582,1589,1481,1504,1572,1599,1545,1606,1799,1724,1474,1292,2170,3029,2829,1848,1598,1547,1596,1610,1590,1554,1288,1443,1798,1772,1532,2109,1879,1919,2170,1904,1616,1814,1749,1377,1502,1481,1915,2136,2447,2146,1666,1957,2221,1919,1489,1531,1896,1843,1595,1631,2015,1828,1837,1605,1670,1727,1523,1365,1462,1548,1617,1565,1542,1550,1679,1786,1929,1992,1592,1453,1560,1568,1555,1503,1567,1830,1998,1765,1735,1701,1642,1477,1788,1810,1821,1632,1432,1427,1623,1500,1328,1476,1801,1851,1456,1342,1204,1263,1400,1306,1298,1344,1249,1228,1243,1333,1303,1259,1754,2708,2162,1797,1666,1526,1487,1954,2578,2604,2106,1285,1435,1356,1515,2095,2523,3435,3628,2943,1771,1237,998,1352,1770,2093,2289,1890,1859,1678,1859,2021,2003,1756,1658,1828,1983,2031,1835,1481,1555,1545,1360,1391,1331,1577,1697,1664,1533,1231,1536,2148,2465,2939,3425,2884,2759,2941,2759,2702,2688,2580,2498,2373,2614,3044,2907,1993,1688,1828,1636,1692,1814,3138,3669,3559,3748,3658,2796,2140,2533,2812,2378,2602,2150,1811,1932,2051,2228,2137,2451,2785,2739,3020,3505,3603,3797,3587,3386,3178,3029,3257,2972,2462,2301,1895,1997,2452,2408,2116,2183,2136,2347,2651,2924,2586,1985,2283,2374,2172,1676,1452,1459,1508,1848,1636,1432,1318,1285,1335,1389,1539,1491,1379,1419,1569,1689,1661,1645,1666,1106,1273,1365,1500,1459,1443,1484,1693,1687,1633,1764,2071,2244,2322,2553,1596,1882,1864,2382,3187,3370,2470,1648,1478,1334,1546,1615,1555,1997,2017,1466,1928,2032,1648,1598,1670,2267,3197,3423,3087,1799,1387,1317,1344,1399,1486,1429,1418,1455,1403,1496,1762,1673,1412,1414,1314,1351,1338,1277,1312,1384,1346,1283,1502,2229,2395,2127,2128,1903,1748,1382,1292,1258,1501,1488,1691,1886,1569,1294,1257,1527,1687,1343,1287,1344,1501,1480,1438,1411,1511,1349,1494,1776,1781,1685,1464,1488,1656,1431,1429,1498,1562,1619,1821,1617,1615,1716,1551,1512,1746,1949,1443,1347,1259,1425,1297,1340,1448,1523,1484,1415,1435,1392,1243,1299,1421,1424,1394,1244,1063,1202,1379,1390,1607,1615,1908,2308,1911,1662,1626,1528,1436,1555,1443,1241,1207,1341,1386,1305,1335,1360,1263,1293,1291,1352,1460,1503,1549,1394,1484,1384,1438,1425,1535,1629,2194,2912,2378,1794,1670,1844,1818,2439,2229,1818,1642,1526,1483,1684,1806,1653,1606,1660,1779,1853,2185,2905,2267,1868,2170,2299,2163,1816,1455,1362,1609,1887,2464,2199,1886,1972,2138,2043,2540,2941,2630,2733,2776,2413,2589,2952,3226,2813,2657,2985,2337,2339,2756,2888,2719,3129,3034,2331,2495,2261,1971,1640,1227,1843,2701,2406,2310,2604,2302,1902,1810,1505,1516,2264,2729,2806,2642,3185,3497,3450,2780,2695,2573,2835,2721,2140,1871,1787,2146,2850,2790,2492,3095,2765,2066,1886,2664,2890,2292,2382,2810,2227,1937,2552,3050,2487,2523,2181,2117,2179,2258,2206,2279,2178,2018,1909,1737,1708,1909,2200,1752,2010,2618,1965,1686,2084,2242,2037,1972,1969,1747,1721,1714,2013,1809,1768,1722,1542,1515,1527,1602,1650,1459,1790,1642,1389,1705,1057,714,1161,2077,2643,2312,2303,2478,2222,2040,2018,2197,2000,2119,2447,1909,2024,2296,2052,2445,2513,2393,2520,2534,2547,2462,2191,2386,1939,2023,2196,1832,1774,1592,1401,1312,1454,1708,1686,1934,2048,1798,1858,2022,2255,2033,1914,2470,2287,1920,2104,2310,2793,2714,1910,2266,2690,1869,1759,2015,1913,1593,1622,1675,1638,1496,1778,2392,2476,2345,2165,2355,2233,2462,2629,2414,2141,2014,2007,1926,1960,1974,1838,1871,1940,1852,1898,2001,1896,1862,1780,2117,2448,2006,2051,2025,1666,1833,1666,1678,1616,1853,1726,1592,1779,1808,2238,2927,2574,2230,2120,2335,2132,1818,1868,2070,2161,1811,1754,2273,2584,2451,2239,2579,2253,2131,2247,2688,2452,1664,1877,1980,1638,1642,1887,1731,1717,1699,1582,1953,2211,1766,1760,2243,2009,1962,2503,2489,2426,2391,2000,2074,2082,1713,1911,1235,1777,2304,2143,2294,2899,2711,2310,2034,1847,2069,2164,1798,1849,2052,2238,2343,2380,2024,1808,1684,1373,1454,1632,1397,1294,1132,1393,1440,1317,1358,1396,1430,1725,2401,2527,2196,2165,2420,3024,2343,2264,2538,2402,1685,1644,1840,1573,1383,1362,1334,1423,1317,1482,1551,1581,1509,1504,1344,1317,1447,1434,1390,1336,1431,1600,1876,1643,1517,1489,1664,2139,2178,2189,2683,3060,3086,2954,2331,2555,3727,3925,3926,3792,3094,2596,1962,1656,1634,1902,2178,2375,2303,2498,3150,2757,2298,2477,2310,2144,2078,1880,1963,2488,2876,2842,2093,1569,1597,1525,1932,2077,2083,1822,1672,1818,1760,1760,2013,1926,1740,1765,1707,1881,2188,1783,1890,2420,2591,2177,2117,2050,1952,1742,1414,1581,1539,1247,1453,1736,2147,1642,1613,1801,1698,1606,1507,1613,1549,1204,1569,2667,2575,1848,1575,1683,1745,1614,1496,1864,2165,1900,1645,1466,1153,993,1529,1644,1583,1786,1895,1831,1946,2032,2442,2690,2649,1877,752,978,2164,2575,2664,2114,2000,1905,2296,2976,3041,2729,2841,2601,2455,2249,2556,2557,2703,2562,2119,2229,2665,2110,1667,1841,1543,1301,1076,1256,1954,1945,2017,2282,2723,2596,2354,2201,2416,2633,2203,1887,1799,1530,2242,2091,1827,3022,3890,4264,3835,2708,2521,2250,2603,3012,3166,3251,3648,3172,3326,4280,4093,3813,4013,3836,3408,2765,1830,1771,1763,1779,2001,1883,2117,2872,3043,2598,3041,3510,3495,3794,3941,3767,3847,3972,3737,3869,3785,4029,4417,4153,3756,3574,3360,3538,3845,3886,3921,3669,3560,3534,3420,3215,3282,3292,3186,3152,2973,2582,2273,2411,2514,2421,2433,2487,2754,2778,3027,3301,3179,3073,3050,3020,3098,2954,3248,3229,3037,3173,3342,2588,1994,1682,1630,2268,2289,2233,2186,1792,1893,2163,2652,2014,2197,2611,2852,2395,1873,2076,2584,3049,2561,1829,2313,2048,2364,2192,1659,2156,2673,2467,2116,2098,2303,2420,2347,2441,3089,3388,3317,2998,2645,2529,3286,3804,4058,4094,3256,1499,1241,2345,3132,3020,2460,2275,2197,1857,2384,3292,3019,2190,2046,2064,2081,1963,1815,1952,2103,2481,2063,1995,2355,2602,2559,2501,2191,2122,2416,2472,2739,2603,2663,2873,2470,2889,3798,3247,3030,2877,2221,2424,2159,2670,3146,2848,2290,2598,2598,2030,1714,1748,1941,2264,2224,2244,2743,2331,2492,2471,1781,1388,1403,2404,2602,1755,1641,2433,2255,2132,2143,2041,1684,1622,1772,1808,1844,2173,2048,2037,2330,2488,2500,2189,2114,2710,2953,2710,2525,2280,2142,2240,2364,2632,2447,2272,2144,1814,1534,1682,1870,2214,2318,1968,1776,1848,1726,2314,2722,2255,1886,1731,1717,1432,1412,1849,2121,2535,2588,2813,2608,2664,2663,2412],[2536,2279,2564,2959,3040,3024,2895,2823,2878,2701,2566,2832,2061,1996,2862,3106,2867,2809,2829,2555,1971,2185,2966,3197,2953,2727,2928,2988,3007,3050,3095,3107,3024,3087,3176,2845,2627,2984,3116,2631,2528,2599,2268,2002,2653,3583,3853,3748,3863,3648,2964,2898,3348,3176,3262,3100,2951,2742,2791,2510,2369,2276,2325,2436,1702,1631,2126,2521,2194,2523,2037,1837,2546,2500,2122,1808,1618,1753,2200,2490,2293,2144,2219,1888,1859,1907,1650,1991,2451,2968,3044,2843,2842,2761,2520,2330,2077,2276,3206,3817,3798,3272,2447,1677,1891,2281,2221,2821,2653,2013,2166,2523,2318,2443,2154,2262,2600,2270,2126,2264,2413,2761,2850,2766,2545,2214,1889,1963,2021,1960,2010,2047,2192,2220,1777,1661,1888,2701,2430,2415,2097,1827,1952,2196,2112,2036,1856,2040,2474,3261,3580,3817,3750,3567,3896,3759,3547,3947,3208,2858,2898,2778,3210,3035,2539,2303,2789,3440,3397,3084,2717,3698,4207,3863,3167,3309,3707,3503,3008,2865,2846,2343,2267,2520,2776,2382,1912,2019,2087,1815,1926,1804,2452,3327,3023,2493,2062,1990,2532,2891,2924,2107,2079,2780,3077,3141,2502,1662,1672,1551,1517,2193,2021,1997,1914,1543,1753,2107,1737,1511,1660,1835,2308,2449,2509,2800,3176,3105,2634,2958,3432,3238,2911,3201,3307,2973,2764,2641,3144,2831,1925,1663,2352,2822,3029,3211,2811,2149,2286,2834,2823,3306,3373,3173,3542,3708,3703,3556,2649,1597,1500,1491,1554,1744,1745,1809,1465,1412,1695,1778,2203,2207,1679,1541,1514,1744,2154,1703,1684,1904,1765,1459,1957,1803,1682,1477,1545,1447,1294,1355,1500,1490,1355,1386,1454,1553,1802,1816,1640,1814,1543,1252,1353,1551,1860,2218,1844,1693,1813,2099,2163,2243,2030,1793,1595,1477,1564,1607,1444,1466,1624,1726,1888,1898,1641,1501,1432,1371,1385,1455,1542,1618,1799,1602,1505,1705,2050,2791,2013,1796,1316,1300,1491,1792,2147,2708,2588,2373,2426,1714,1714,1955,1905,2233,2210,2276,2813,2828,2474,2105,1639,1603,1750,1813,1361,1898,2666,1933,1661,1265,1512,1813,2271,2520,2498,2278,2407,2727,1899,1793,2056,1909,1996,3252,3768,3728,2941,2769,2534,1851,1798,2032,1824,2319,1995,1873,2143,2374,1972,2012,2332,2239,2111,2231,1847,1679,1627,1704,1819,1968,1838,1668,2013,2646,2542,2447,2625,2088,1612,1725,1934,2595,3189,4011,4040,3749,3508,3274,2700,2234,1594,1130,1432,1418,1394,1479,1744,1592,1887,1639,1568,1587,1419,1528,1538,1484,1367,1556,2079,2366,1862,1562,1518,1506,1582,1401,1671,1841,2702,3838,2376,1591,1512,1416,1619,1562,1366,1157,1044,1323,1588,1818,2203,2515,2518,2150,2214,1675,1437,1450,1415,1315,1381,1950,2601,2809,2054,1675,1848,1749,2186,2363,1938,1516,1936,2958,2619,1973,1855,1758,1530,1495,1759,1630,1677,1836,1537,1588,1469,1328,1591,1688,1638,1581,1650,1799,1571,1577,1371,1470,1782,1969,1710,2179,2713,3140,2326,1773,1820,1569,1542,1789,1877,1780,1954,1837,1831,1709,1610,2077,1828,2002,2325,1857,1652,1847,1804,1729,1884,1814,2360,1957,1821,1992,2288,2320,2079,1908,1704,1808,1755,1578,1452,1762,1749,1523,1506,1382,1423,1552,1469,1412,1493,1555,1629,1619,1678,1533,1867,1797,2242,2025,1419,1381,1477,1554,1506,1450,1454,1575,1742,1738,1754,1648,1555,1687,1781,1710,1968,1930,1519,1738,2102,1505,1489,1574,1794,1717,1401,1342,1422,1532,1449,1302,1174,1282,1247,1243,1276,1353,1251,1774,1770,1826,1745,1582,1641,1709,1631,1919,2319,2380,1815,1451,1405,1396,1470,2166,3063,3486,3164,2365,1570,1340,995,1589,2226,2192,1863,1851,1771,1783,1772,1714,1777,1735,1691,1654,1737,1890,1969,1603,1442,1484,1283,1360,1423,1656,1748,1737,1785,1610,1843,2038,2116,2584,3448,3679,3507,3183,2891,2703,2298,2176,2224,2088,2116,2312,2513,1879,1556,1754,1703,1620,1777,3112,3785,3604,3748,3152,2100,1732,2450,2978,2585,2153,1938,1782,1503,1937,2254,2276,2732,2935,2710,2726,2728,3449,3792,3869,3889,3863,3355,3137,2892,2576,2588,2185,2087,2558,2652,1925,2153,1852,1716,2108,2001,1895,1858,1645,1847,1968,1944,1782,1769,1676,1958,1751,1610,1503,1453,1493,1455,1463,1393,1286,1475,1982,2092,1583,1733,1850,1406,1224,1249,1323,1341,1241,1356,1606,1658,1883,1913,2213,2266,2054,2178,1836,1996,2053,2395,2998,2761,1768,1554,1560,1526,1455,1325,1636,2565,2491,1688,1655,1665,1722,1894,1590,2512,4083,3482,2409,1836,1526,1350,1317,1314,1273,1251,1375,1470,1595,1593,1795,1676,1504,1390,1299,1503,1324,1260,1301,1293,1338,1305,1311,1642,1754,1601,1578,1472,1387,1287,1308,1236,1484,1407,1489,1744,1534,1410,1482,1601,1599,1440,1477,1454,1496,1449,1395,1533,1497,1293,1591,1831,1781,1674,1428,1422,1694,1566,1533,1606,1466,1592,1671,1621,1694,1302,1135,1324,1742,1798,1540,1358,1288,1426,1400,1448,1584,1515,1441,1494,1434,1396,1272,1325,1185,1164,1240,1412,1340,1376,1489,1494,1521,1484,1808,1866,1528,1672,1685,1678,1332,1383,1469,1414,1339,1275,1224,1229,1425,1672,1461,1505,1386,1422,1580,1500,1426,1363,1461,1534,1475,1511,1761,1925,2258,1970,1514,2142,2199,1853,1569,2290,2396,1721,1538,1594,1643,1664,1678,1538,1624,2328,3232,2631,2461,2589,1746,1728,2500,2507,1888,1309,1400,2079,2288,2302,2316,1925,1804,1955,2108,2589,3272,3016,2402,2729,2786,2366,1956,2231,2396,2365,2495,2185,1751,2109,2394,2957,3598,3326,2543,2598,3298,2832,2447,2110,1941,2524,2799,2558,2432,2320,2279,1975,1382,1776,2036,2352,2239,1928,1976,2590,3333,3255,3012,2584,2185,3204,3637,2225,1749,1909,2208,2068,1896,2419,2757,2484,2030,1908,2248,2875,2612,1937,2050,2220,1808,2666,3524,2580,2569,2268,2013,2412,2338,2318,2613,2744,2583,2411,1846,1714,1981,2082,1968,2230,2606,2204,1763,1914,2141,2036,2088,2168,1927,1637,1770,1932,1737,1581,1329,1192,1639,2033,1866,1720,1694,2282,2317,2076,1336,879,1190,2207,2491,2092,2397,3410,3574,2424,1942,2452,3150,2374,2304,2510,1995,1990,2214,2449,2568,2210,2041,2179,2576,2647,2685,2349,2413,1948,2488,2236,1629,1555,1439,1456,1334,1582,1821,1597,1559,2011,2375,2183,2213,2635,2555,2192,2340,1964,1526,1580,2147,2845,2666,2077,2393,2082,1709,1891,2182,2297,1971,1560,1410,1600,1951,2305,2332,2430,2890,2565,2064,2366,2966,2724,2829,3090,2196,2014,1947,1797,1798,1773,1817,1758,1882,2339,2511,2132,1699,1401,1736,1982,1586,1541,1579,1415,1621,1716,1833,1846,1798,1625,1925,2024,1485,2113,3417,2289,1791,1790,1739,1740,1416,1247,1466,1662,1553,1655,1719,1646,2027,2436,2050,1675,1874,2076,2147,1944,1537,2073,2381,1795,1659,1909,1903,2156,1928,1480,1665,1807,2282,2748,2234,2072,1869,1879,2428,2888,2648,2083,1816,1959,2139,2270,1917,2344,2586,2398,2196,2138,2126,1914,1702,1618,1868,1856,1719,1658,1814,1828,1641,1629,1719,1719,1489,1301,1317,1378,1409,1448,1361,1432,1557,1618,1428,1488,1846,1941,1907,1578,1627,2109,2523,2856,2337,2110,2505,2735,2025,1626,1789,1548,1403,1396,1350,1438,1299,1479,1603,1606,1549,1643,1404,1330,1493,1470,1406,1590,1593,1732,1904,1597,1606,1532,1554,2110,2230,2254,2900,3160,3108,2790,2146,2857,4064,3994,3802,3912,3646,2695,1825,1726,1956,2207,2655,2616,2413,2649,3142,2788,2638,2819,2732,2454,1902,1582,1805,2283,2604,2508,1913,1569,1770,1772,1615,1489,1671,1755,1605,1613,1548,1620,1640,1596,1941,1661,1627,1842,2029,1869,1625,2201,2282,1757,1829,2061,2041,1547,1273,1564,1511,1311,1395,1727,1775,1713,1792,1444,1636,2086,1591,1578,1771,1500,1503,2350,2156,1563,1460,1435,1527,1758,1815,2129,2315,1897,1588,1745,1716,1881,2238,2088,1844,1664,1732,2108,2231,2091,2576,2306,2037,1570,982,1706,2397,2819,2728,2548,2563,2228,2316,2676,2749,2816,2879,2801,2652,2666,2641,2490,2593,2630,2457,2796,2775,2192,1665,1850,1510,1860,1373,1165,1802,1704,1718,2134,2768,3257,2963,2789,2625,2259,1998,2199,1971,2185,2361,2307,2374,3156,4007,4107,3493,2974,2359,2045,2310,2316,2765,2923,3616,3334,3660,4409,4200,3912,3853,3812,3382,2352,1570,1600,1581,1844,2001,1870,2508,3409,3554,3364,3616,3741,3526,3585,3731,3872,4132,4078,3940,3901,3823,3766,3997,4152,3948,3748,3496,3616,3576,3473,3665,3498,3460,3570,3348,3142,3232,3174,3165,3276,3189,2965,2687,2540,2489,2343,2388,2350,2667,3018,3337,3495,3269,3009,2499,2555,2573,2863,3011,2877,2584,2860,2987,2273,1775,1736,2017,2304,2508,2731,2604,1746,1928,2547,2493,2167,2725,2851,2571,2190,1857,1632,1730,2722,3341,2839,2357,1628,1780,1915,1713,2543,3174,2565,2008,2092,2348,2566,2971,3081,3373,3422,3114,3003,2908,3111,3713,3916,3557,3545,3185,1872,2212,2846,2890,3016,2728,2198,1803,2142,2707,3208,2885,2210,2068,2098,2175,2302,2103,2183,2398,2213,1869,2056,2232,1944,2290,2599,1912,1927,2113,2216,2712,3040,2876,2710,2764,3486,3774,2600,2242,2173,2143,2437,2208,2301,2294,2040,1923,2378,2512,2014,1538,1650,2217,2548,2446,2486,2459,2403,2442,2476,2053,1523,1983,2679,2230,1582,2100,2342,2071,1758,1734,2125,1944,1730,1803,1814,2113,2412,2526,2239,1749,2341,2445,2060,1794,2007,2438,2540,2329,2448,2575,2641,2731,2624,2377,2268,2048,2026,1822,2037,1849,2142,2693,2442,1915,1705,1830,2200,2393,2207,1784,1716,1764,1595,1670,1854,1933,1924,2302,2390,2358,2798,2656,2770],[2230,2488,2585,2341,2584,2972,2875,2675,3020,3033,2912,2526,2344,2466,2890,3040,2980,3105,3106,2945,2743,2800,2946,3087,2996,2750,2909,3042,3127,3161,3100,3221,2999,2956,3152,3034,3143,3306,3118,2598,2371,2534,2416,2373,2896,3616,3694,3875,3790,3589,3050,2622,2463,2699,2834,2864,2797,2667,2795,2647,2839,2735,2749,2952,1847,1940,2345,2468,1909,2580,2522,2199,2464,2279,1857,1947,1902,2024,2242,2586,1946,1675,1859,2073,2250,2046,1904,2035,2598,2824,2524,2734,2202,2128,2523,2356,2103,2453,3105,3301,3000,2622,2270,1783,1855,2263,2093,2278,2484,1940,2073,2055,2179,2235,2007,2354,2453,1803,1643,2209,2801,3076,2889,2578,2244,1785,1624,1813,1844,1811,1922,1966,2117,2674,2315,1884,1779,2352,2382,2741,2258,1667,1992,2369,2180,1963,2204,2403,2106,2585,3432,3598,3565,3255,3272,3243,3400,3441,2262,2392,3024,2778,2226,1947,2354,2439,2407,3122,3902,3614,3220,3398,4012,4115,3373,2878,2814,2912,2740,3005,2713,2558,2857,3165,2974,2257,1814,2210,2224,1647,1796,1865,2744,3123,3096,2676,2255,2182,2597,3032,2470,1931,2471,2353,2611,2778,1874,1479,1297,1355,2015,1824,1684,1967,1871,1578,1701,2401,2061,1836,1709,2002,2867,2805,2243,2848,2878,2601,2833,3044,3151,3130,2808,3255,3450,2883,2683,2955,3012,2952,2863,2123,1931,2478,2840,2908,2489,2098,2632,3451,3533,3914,3704,3281,3141,3112,3144,3013,2174,1598,1347,1253,1489,1612,1587,1531,1449,1490,1354,1811,2825,2633,1938,1598,1467,2025,2427,1682,1481,1714,1649,1622,1671,1714,1595,1332,1236,1248,1256,1234,1347,1442,1621,1427,1456,1644,1809,1613,1776,1749,1408,1189,1405,1865,1791,2217,2042,1750,2059,2454,2080,1968,1836,1664,1717,1432,1602,1910,1677,1587,1749,2237,2078,1869,1888,1626,1368,1548,1611,1391,1446,1481,1342,1260,1753,2692,3222,2974,2022,1665,1372,1457,1722,1788,2105,2661,2719,2415,2437,1668,1792,2050,1732,1880,2257,2737,2775,2097,1716,1654,1449,1316,1059,1250,1662,2902,2872,2034,1710,1415,1730,1915,1847,2271,2718,1983,1796,1625,1528,1529,2213,2182,2252,3448,4084,3741,2859,2472,2497,2219,1965,2255,2056,2144,1864,1954,2228,2197,1864,1690,1810,2010,1940,1964,1635,1598,1576,1802,1895,1729,1918,1847,2070,2564,2591,2567,2641,2111,1677,1713,2072,2150,2690,3482,3898,3400,2946,2824,2532,2522,1960,1227,1431,1439,1500,1695,2558,2459,2486,2085,1700,1610,1570,1517,1394,1453,1382,1544,2010,2087,1841,1552,1467,1610,1744,1604,1587,1589,1960,2567,1658,1318,1391,1454,1458,1519,1261,1167,1196,1343,1463,1509,1601,1738,1800,1537,1901,1856,1456,1451,1361,1357,1555,1810,2897,3213,1838,1552,1489,1653,2085,2481,2074,1674,2202,3516,3575,2749,2536,2344,1758,1731,1864,1776,1874,1863,1549,1716,1538,1411,1530,1798,2331,2254,2178,1847,1532,1483,1444,1485,1627,1727,1686,2148,2793,2529,1924,1835,2009,2003,1849,1898,1895,1720,2248,2156,1775,1643,1745,1922,1997,1873,1829,1663,1792,2049,1814,1581,1645,1828,1969,2219,2076,1944,2129,2255,2274,2343,1960,2083,1650,1401,1466,1514,1501,1563,1511,1402,1466,1606,1636,1469,1299,1382,1463,1562,1668,1528,1522,1479,1765,1665,1525,1497,1567,1504,1550,1477,1431,1565,1511,1754,1873,1729,1642,1727,1550,1422,1654,1636,1907,2074,2511,1635,1332,1499,1785,1689,1433,1333,1686,1899,1329,1240,1315,1421,1334,1298,1290,1266,1478,1939,1932,1939,1651,1523,1571,1495,1515,1886,1898,2125,1631,1457,1510,1433,1448,1927,2868,3295,2647,1789,1392,1008,1192,1929,2042,2008,1883,1920,1708,1699,1701,1785,1844,1893,1993,1800,1632,1609,1894,1860,1432,1326,1325,1339,1402,1545,1764,2084,2270,1925,1663,1620,1765,2215,2965,3576,3370,2613,2146,1995,1949,2171,1944,2199,2482,2194,2185,2132,2270,2308,1948,1572,1453,2756,3854,3825,3992,3176,2380,2165,2319,2890,2641,1914,1803,1754,1642,2071,2382,2577,3481,3705,2776,2301,1858,3030,3714,3769,3803,3982,3585,3083,2849,2625,3002,2520,2911,3487,3618,3603,3096,2404,2368,2435,2163,1780,1490,1475,1620,1568,1497,1599,1561,1520,1665,1609,1632,1804,2004,1858,1600,1516,1426,1459,1446,1752,1777,1399,1546,1672,1538,1401,1398,1338,1280,1218,1793,2439,2537,2436,2163,2405,2476,2143,2577,2612,2059,2248,2810,3136,2790,1678,1597,1583,1495,1481,1294,1525,2081,1962,1443,1272,1379,1450,1615,1470,2511,3872,3105,2250,1926,2322,2254,1627,1301,1171,1224,1235,1300,1675,1688,1813,1742,1561,1426,1490,1447,1290,1333,1377,1294,1291,1313,1274,1342,1402,1684,1743,1436,1320,1287,1249,1250,1278,1234,1287,1316,1495,1731,1490,1382,1295,1368,1413,1592,1605,1480,1593,1865,1808,1435,1423,1598,1503,1400,1324,1430,1614,1522,1475,1534,1559,1542,1317,1515,1823,1565,1349,1416,1584,1401,1369,1369,1401,1453,1328,1420,1469,1353,1399,1440,1426,1339,1327,1412,1328,1537,1616,1631,1566,1415,1383,1332,1313,1366,1438,1284,1359,1698,1794,1681,1443,1449,1432,1327,1239,1191,1258,1434,1834,1822,1531,1460,1383,1426,1426,1354,1274,1372,1521,1562,1578,1626,1429,1712,1749,1200,1559,2474,2256,1805,1938,2588,2452,1709,1613,1861,1503,1397,1570,1594,1840,3155,3262,2333,2154,2219,1850,1561,2066,2297,1726,1685,1860,1708,2520,3033,2678,2529,2468,2100,1838,2055,2046,1537,1518,2428,2228,1904,1734,1987,1991,2070,2328,2337,2018,1922,2063,2642,3724,3572,3514,3404,3331,3157,2566,2099,2143,2430,2489,2125,1467,1592,2147,2087,1720,2132,2263,2541,2131,2144,1978,1919,2608,2667,2329,1932,2124,3108,3085,1969,2128,2254,2214,2194,2419,2115,2137,2431,2390,2505,2333,3100,2961,2233,2125,2832,3040,3051,3023,2291,1993,1611,1261,1288,1284,1484,1897,2265,2193,2262,2028,1994,2050,1916,1904,1958,2182,2452,2164,1711,2148,2189,2207,2329,2154,2011,1785,1873,1804,1371,1171,1203,1547,1874,1897,2669,3032,2930,2142,2277,2161,1579,1601,2237,2007,2118,2758,3692,3420,2329,1888,3347,3550,2271,2195,2222,1733,1653,2142,2436,2075,2325,2862,2628,2675,2595,2574,2717,2846,2144,2096,2094,1547,1404,1377,1499,1375,1584,1619,1737,1771,2342,2502,1964,2046,2736,2914,2157,2113,1735,1571,1903,2586,2369,2623,2674,2526,1937,1671,1870,2026,2198,2162,1667,1443,1830,2046,2353,2668,2990,3456,2628,1912,2369,2336,1908,2809,2991,1911,1925,1987,1887,1785,1791,1830,1844,1993,2218,2174,1952,1488,1237,1222,1453,1483,1638,1969,1848,2005,2094,1742,1542,1578,1641,2454,2819,2140,2173,2953,1965,1636,1665,1791,1601,1098,1246,1540,1741,1876,1876,1752,1549,1997,2641,2125,1778,1902,1975,2079,2077,2059,2522,2490,2011,1933,2331,2345,2223,2354,1644,2132,2216,2187,2224,2240,2255,2058,2602,2766,3098,2802,1887,1547,2300,2610,2248,2129,2209,2486,2796,2379,2459,1801,1290,1349,1676,1898,1879,1713,1495,1570,1624,1536,1492,1694,1846,1752,1717,1703,1619,1452,1482,1588,1486,1666,1776,1542,1759,1997,1900,1797,1505,1599,1874,2209,2415,2221,2297,2573,2668,2053,1517,1813,1537,1470,1419,1328,1346,1375,1415,1423,1418,1466,1483,1432,1535,1699,1550,1614,1610,1476,1671,1871,1853,1759,1494,1587,2098,2276,2604,3145,3408,2877,2249,2500,3175,3906,3882,3871,4057,3694,2668,1843,1620,2047,2447,2082,1984,2579,2967,2917,2820,2852,2942,2810,2024,1482,1615,1851,1994,1908,2122,1676,1729,1800,1687,1511,1587,1986,1833,1462,1638,1653,1526,1587,1955,2374,1878,1744,1749,2031,2122,1783,1901,1870,1748,1885,1926,1911,1786,1761,1613,1639,1698,1599,1903,1990,2141,1891,1483,1777,2615,2070,1682,2057,1715,1390,1824,1917,1600,1475,1368,1422,1838,1999,2264,2098,2162,2070,2182,2133,2101,2270,2210,1906,1783,1931,1811,2248,2293,2224,1911,1766,1536,870,1477,2380,2692,2663,2755,2666,2121,1892,2085,2208,2556,2643,2711,2813,2950,2918,2803,2586,2152,2435,3205,3308,2439,2248,1854,1759,1995,1080,764,1340,1475,1578,1859,2429,2985,3095,2778,2431,2008,1872,1966,1948,2138,2037,2364,2720,2903,3559,3606,3108,2346,1989,2326,2232,1973,2381,2943,3725,3747,3707,4324,4052,3308,2930,3215,3097,2283,1961,1872,1709,1961,2080,1991,2496,3377,3455,3325,3926,3911,3839,3623,3705,3829,3713,3482,3608,4104,4239,4059,3869,3937,4228,4118,4030,3963,3576,3571,3587,3261,3279,3428,3431,3194,3155,3008,3040,3244,3189,3045,2985,2734,2539,2530,2573,2811,3266,3431,3405,3444,3140,2691,1653,2103,2534,2903,2788,2391,2000,1979,1896,1808,1798,1767,1895,2326,3057,3519,3008,2126,2456,3304,2967,2677,2997,2777,2417,2363,2354,2185,2135,2698,3218,3031,2156,1837,1830,1706,2110,3024,3074,2778,2347,2081,2366,2742,2964,3017,3313,3196,2919,3105,3273,3538,3790,3462,2611,2503,2404,1817,1878,2411,2645,2998,2799,2348,2500,2906,2911,2530,2208,2100,2125,1982,1764,1889,2103,2502,2401,2265,2383,2459,2500,2036,1874,2092,1738,2186,2140,2041,2258,2765,2933,2555,2222,2956,3487,2174,1687,1426,1760,2050,2280,2028,1693,1737,2016,2059,1987,1982,1844,1764,1708,1725,2019,2114,2142,2490,2888,2825,2157,1797,2158,2380,1908,2019,2388,2172,2168,1760,1983,2118,1759,1636,1695,1709,1805,2104,2354,1972,2002,2556,2387,2116,2391,2432,2467,2378,2216,2323,2135,2107,1973,1927,2131,2357,2326,2092,2142,2534,2471,2468,2658,2122,1612,1596,1970,2196,2478,2054,1228,1458,1732,1760,1816,1803,1642,1767,2293,1913,2021,2232,2159,2696],[2172,2839,2365,2078,2519,2910,2822,2922,3069,3112,2776,2380,2328,2523,2845,2713,2695,3111,3149,2974,2820,2796,2680,2754,2740,2743,3106,3272,3308,3293,3082,3205,3044,3055,3217,3352,3416,3205,2817,2585,2589,2663,2612,2233,2232,2775,3019,3665,3332,3140,3024,2889,3145,3362,3394,3705,3579,3071,3066,3253,3544,3549,3741,3561,2552,2031,2427,2442,1804,1926,2192,2079,1916,1797,1534,1520,1744,2336,2756,2932,2230,1976,1842,2097,2352,2136,2170,2130,2713,2249,2244,2409,2229,2424,2646,2959,3200,2871,2476,2232,1802,1741,1804,1615,2058,2128,2262,2231,2317,2175,2060,2033,2087,2302,2486,2236,2048,1712,1958,2545,2896,3252,2829,2448,2170,1954,2164,2343,2434,2521,2604,2445,2124,2542,2230,1941,1698,2104,2336,2223,2243,2248,2322,2095,1854,1892,2143,1867,1765,2037,2928,3282,2828,2230,2563,2802,3415,3320,1678,1918,2348,2596,1960,1802,1986,2009,1960,2858,3640,3423,2896,2656,3318,3493,2864,2210,2184,2964,3232,3267,2964,2835,2909,3131,2952,2533,2091,2298,1917,1544,1639,1715,2746,3211,2580,1975,2284,2733,2735,2224,1923,2597,3176,3078,2910,2929,1802,1442,1239,1455,1854,1791,1868,1974,1965,1993,1737,2518,2592,2154,2296,2467,2307,1876,2423,2930,1922,2131,3140,3120,2877,3311,2946,3139,3659,3205,2775,2689,2543,2482,3074,3112,2377,2334,3264,3110,2473,2083,2349,2686,3492,4037,3868,3429,3234,3305,3194,2502,1721,1409,1281,1389,1410,1630,1852,1572,1546,1730,1434,1664,2283,2246,2481,2029,1855,2281,1729,1394,1488,1751,1726,1543,1767,1952,1720,1457,1443,1623,1423,1247,1227,1520,1512,1275,1361,1613,1830,1665,1410,1359,1251,1298,1408,1518,1559,1736,1795,1294,1632,1992,1805,2047,1980,2150,2159,1543,1874,2160,1642,1612,1832,2095,1686,1593,1844,1559,1520,1794,1698,1497,1654,1465,1482,1372,1577,2310,2921,2564,1772,1404,1254,1472,1912,1800,2010,2481,2344,2338,2326,2040,2132,2364,2100,1734,2156,2542,2121,1871,1892,1731,1814,1689,1658,1914,2403,3118,2988,2626,1916,1484,1848,1660,1674,2157,2383,1903,2126,1660,1446,1350,1526,1692,2188,2867,3248,3030,2180,2232,2232,2097,2382,2829,2508,1980,1620,1814,2194,2149,1880,1639,1422,1912,1869,1455,1295,1446,1672,1818,1671,1962,2084,1646,1837,2045,2289,2569,2599,1982,1867,1918,1969,2009,2259,2622,3222,2967,2098,1840,2065,2210,1772,1396,1592,1522,1416,2344,3207,2989,2964,2656,2248,1983,1786,1754,1631,1588,1399,1493,1786,2377,2338,1609,1426,1399,1637,1882,1684,1533,1593,1657,1579,1328,1229,1250,1434,1419,1260,1379,1392,1622,1476,1598,1292,1378,1440,1609,1730,1553,1337,1355,1462,1510,1488,1896,2986,2641,1752,1707,1461,1513,1729,2472,2422,1741,1999,2552,2574,2431,2836,2610,1749,1699,1716,1757,2021,1945,1874,1836,1625,1434,1582,2079,2158,2347,2455,1621,1535,1618,1560,1499,1516,1436,1417,1678,1866,1923,2166,2198,2511,2514,2018,1873,2020,1992,1932,1752,1692,1978,1929,2132,2148,2045,1919,2319,2600,2388,2041,1725,1528,1555,1511,1531,1780,1978,1960,1802,1920,2324,2285,2403,1841,1494,1672,1896,1955,1776,1716,1435,1403,1413,1635,1401,1290,1466,1494,1599,1532,1469,1502,1432,1504,1717,1588,1586,1587,1456,1470,1504,1460,1438,1406,1672,1954,1987,1860,1693,1556,1479,1556,1445,1510,1644,1938,1588,1268,1498,1768,1561,1390,1372,1701,1663,1205,1245,1294,1284,1296,1442,1442,1208,1372,1599,1910,1797,1345,1457,1375,1435,1870,2273,2296,2288,1842,1631,1887,2045,1924,1851,2625,2912,2222,1592,1376,965,1761,2202,1924,1813,1906,1832,1914,1832,1750,1974,1854,1678,1942,2144,1782,1951,2052,1784,1560,1372,1345,1414,1404,1456,1743,1908,2136,1955,1758,2204,2348,2212,2724,3008,2577,2125,1688,1853,1926,2195,1716,2018,2510,2155,2466,2739,2927,2715,2247,1747,1289,2498,3785,3826,4107,3343,2623,2411,2270,2684,2880,2472,2091,1785,1735,2232,2382,2264,3515,3882,2894,2215,2032,3057,3713,3715,3880,3859,3498,2909,2521,2762,2901,2355,3220,3566,3730,3798,3492,3443,3307,3286,3416,3175,2271,1702,1649,1557,1414,1307,1334,1590,1657,1499,1802,2395,2174,1549,1588,1580,1636,1510,1454,1474,1466,1407,1749,2034,1715,1469,1512,1348,1382,1554,2394,2974,2836,2938,2629,2806,3166,2777,2743,2198,2160,2536,2786,2785,2208,1935,1992,2093,1918,1643,1470,1543,1495,1362,1293,1312,1437,1465,1480,1377,1754,2586,2398,1794,2092,2832,2372,1542,1384,1174,1308,1266,1498,1902,1748,1560,1724,1636,1527,1411,1274,1261,1300,1434,1752,1697,1328,1356,1488,1214,1786,1717,1505,1905,1774,1361,1351,1229,1233,1353,1388,1704,1701,1469,1334,1384,1424,1382,1533,1642,1733,1509,1447,1474,1318,1283,1383,1644,1730,1590,1550,1517,1498,1421,1522,1733,1665,1639,1668,2136,1914,1618,1543,1554,1311,1438,1640,1625,1658,1652,1548,1367,1404,1397,1434,1339,1320,1346,1332,1405,1599,1530,1371,1323,1242,1222,1324,1249,1293,1482,1349,1453,1723,1817,1758,1720,1589,1533,1482,1340,1356,1441,1327,1471,1628,1727,1460,1374,1428,1426,1444,1428,1462,1533,1550,1563,1585,1452,1763,1506,1347,1950,2110,1919,1993,2063,2265,1959,1692,1767,2332,1775,1231,1381,1327,2213,2880,2269,1741,1461,1842,2034,1616,1905,1780,1644,2313,2087,2288,3245,3310,2468,2468,2499,2033,1709,1860,1752,1462,1948,2414,2153,2032,2009,2200,2261,1937,2035,2447,2376,2302,2097,2466,3257,2996,2876,2750,2942,2824,2365,2162,2245,2355,2077,1972,1850,2023,2000,1768,1883,2176,2469,3052,3127,3293,2840,2423,2763,2664,1772,1641,1982,2450,2456,1998,2261,2084,1917,2079,2094,1787,2079,2718,2625,2663,2072,2342,2056,2192,2134,2280,2923,2677,2341,2341,1945,1599,1310,1176,1166,1180,1210,1288,1556,1916,2145,2477,2481,2230,2537,2588,2402,2679,2498,1738,1790,2253,2237,2234,2441,2336,1935,2078,2013,1476,1375,1393,1576,1737,2153,3334,3283,2574,2430,2477,2540,2484,2315,2162,2401,3196,2920,3155,2473,2066,2780,3798,2888,2001,2057,1888,1973,2483,2630,1998,1765,2470,3892,3872,3174,2842,3132,3794,3904,2808,1869,1549,1487,1484,1424,1456,1398,1352,1409,1509,1473,2268,2341,1692,1865,1957,2019,1958,2023,2031,2009,2352,2565,2056,2127,2655,2512,1704,1383,1666,1453,1569,2356,2046,1892,2034,1707,1839,2595,3684,3610,2270,2028,2809,2087,1885,2829,2264,1588,1627,1710,1994,2115,1993,1900,1656,1561,1480,1502,1780,1748,1704,1561,1378,1346,1537,1709,1910,2189,2215,1863,1833,1770,1975,2741,3394,3460,2706,2225,1706,1521,1672,2030,2042,1581,1589,1683,1912,2056,1818,1599,1435,1888,2238,2590,2966,2787,2379,2378,2204,2210,2188,1988,2878,2452,2397,2396,2589,2222,1858,2191,2434,2404,2664,2433,2187,2302,2410,2255,2928,2762,2020,2051,2866,3061,2588,2754,2429,2059,2547,2787,2254,1691,1575,1783,2052,2029,1868,1652,1381,1255,1350,1574,1754,1806,1970,2010,1870,1808,1543,1407,1594,1632,1531,1582,1504,1444,1791,2047,1929,1931,1613,1841,2352,2655,2224,2258,2920,2663,2676,2350,1722,2035,1755,1555,1461,1427,1408,1340,1370,1468,1622,1638,1466,1570,1669,1769,1661,1782,1636,1729,1795,1854,1920,1752,1560,1787,2127,2393,2467,2425,2754,2584,2144,2332,2664,3073,3179,2909,2789,2590,2295,1891,1781,2337,2541,1975,1585,2736,3350,2577,2128,2308,2590,2724,2144,2150,1867,1611,1892,2304,2546,1989,1964,1877,1418,1499,1883,1943,1448,1514,1855,1620,1378,1588,1758,1722,1506,1549,1720,1880,1888,1803,2036,1859,1677,1638,1857,2048,2202,2013,1616,1548,1553,1618,1937,1979,2464,2082,1728,1813,2354,2067,1847,1837,1793,1780,1769,1995,1799,1658,1448,1470,2225,2167,2080,1828,1979,2154,2521,2496,2144,2074,2062,1964,1556,1715,1609,1656,2043,2228,1870,1815,1607,990,1256,2235,2721,2710,2622,2483,2076,1769,2185,1735,1635,2360,2905,2985,2993,2891,2418,1886,1726,1799,2194,2733,2328,1939,1719,2045,1630,790,954,1263,1462,1515,1532,1828,2328,3363,3127,2619,1866,1685,2132,2267,2017,1848,2390,2779,2578,2622,2831,2668,2403,2457,2438,2199,2102,2462,3060,3984,4292,3759,3850,3760,3006,2739,3032,2780,2191,2009,2112,1961,1900,2155,2096,2288,2971,3256,3461,3999,3985,3942,3760,3824,3714,3352,2838,2932,3820,4208,4544,4432,4104,4387,4735,4520,4029,3605,3599,3430,3474,3521,3366,3520,3091,3139,3030,2743,3103,3254,3132,3286,3077,2763,2940,3195,3480,3554,3247,3016,3113,3000,2222,1730,2230,2585,2775,2535,1925,1782,1628,1464,1722,1832,1884,1932,1996,2540,2930,2581,2209,2455,3218,3720,3542,3140,2845,2459,2453,2194,2375,2186,1756,1807,2328,2584,2562,2056,1841,2349,2864,2519,2631,2392,2452,2744,2778,2824,2900,3068,2849,2656,3282,3670,3491,3354,2684,1735,2246,2091,1583,1652,2222,2751,2780,2564,2657,2647,2877,2542,2430,2481,2658,2417,1902,1935,1964,2344,2705,2225,2148,2498,2644,2375,2330,2074,2060,1820,1902,2258,2480,1874,2083,2602,2458,1964,2160,2666,2941,2574,1910,1794,2310,2540,2302,2175,2313,2126,1745,1722,2020,2286,1717,1660,1964,1716,1465,1694,1908,2202,2207,1868,2200,2393,1992,1886,2036,1843,1878,1844,1856,2074,1905,1728,1884,1901,2005,1860,1916,1676,1764,1864,2034,2187,2408,2685,2536,2439,2352,2142,1810,1412,1406,1799,1934,1916,2005,2155,2171,2114,2346,2741,2786,2558,2038,1657,1860,2148,2031,2070,1835,1428,1572,1738,1764,1786,2094,2133,2231,2300,1560,1760,1843,2141,2403],[2305,2928,2864,2707,2718,2614,2541,2609,2623,2538,2332,2256,2250,2279,2489,2707,2944,2845,2641,2380,2348,2501,2596,2453,2425,2971,3430,3520,3520,3476,3316,3210,3064,3229,3386,3432,3210,3074,3001,2822,2708,2865,2752,2410,2298,2415,2702,3093,3176,3283,3724,3970,3498,3207,3651,4086,3762,2983,3166,3828,3830,3653,4034,3902,3045,2249,2219,2139,1996,2064,2474,2100,1795,1550,1457,1430,1544,2076,2379,2617,2570,2214,2045,2153,2609,2031,1993,1951,1984,2140,2242,2797,3455,3045,2549,2995,2869,1932,1716,1582,1468,1434,1666,1548,1783,1895,2054,1908,2091,2765,2912,2925,2580,2820,2763,2497,2215,2081,2591,2788,3167,3071,2413,2172,2302,3289,3451,2521,2398,2442,2482,1586,1802,2354,2490,2090,1731,2316,2536,2440,2790,2734,2811,2105,1885,1835,1600,1466,2242,2483,2020,2260,2281,1809,1769,2079,2651,2271,1748,2102,2304,2524,2054,1655,1787,1868,1966,2613,3107,2763,2808,2849,2999,2828,2435,2041,2091,2659,3019,3029,3017,2799,2573,3324,2824,2492,2575,1977,1581,1409,1511,2068,2850,2989,2192,1636,1885,2388,2359,1980,2119,2307,2851,3052,3648,2940,1913,1462,1231,1337,1489,1705,1840,1772,1764,2045,1956,2204,2802,2519,2526,3030,2804,1833,2355,2641,1924,2714,3099,2438,2562,2997,2707,2777,3277,3374,2617,2321,2433,2464,3188,3495,3061,2392,2842,3446,2753,1851,1463,2268,3432,4050,4068,3572,3485,3501,2856,2304,2092,1611,1361,1395,1771,1949,1888,1725,1578,1757,1837,1499,1526,1719,2523,2269,2148,1968,1560,1396,1524,1671,1550,1675,1925,1757,1544,1489,1421,1511,1398,1432,1289,1460,1447,1354,1641,1847,1747,1532,1284,1204,1397,1607,1473,1259,1524,2070,2691,2217,2078,2364,2361,2388,2409,2410,2052,1503,1671,1603,1370,1441,1571,1524,1515,2184,2336,1880,1965,1700,1637,1581,1457,1466,1535,1527,1575,1874,1990,1690,1339,1205,1195,1311,1683,1613,1699,1911,1791,1927,1982,1921,1960,1875,1676,1628,1635,1577,1643,1694,1539,1755,2072,2146,1827,1839,2082,2298,2404,2269,2009,2114,2504,1920,2100,2310,1935,1449,1697,1547,1349,1418,1476,1676,2293,2297,2466,2379,1781,1680,1936,2408,2236,2427,2896,2632,1800,1924,2114,2122,2061,1763,1742,1859,1766,1569,1410,1542,1816,1725,2023,2313,2017,1726,2400,1983,1576,1935,2103,2307,2585,2451,2132,1920,2030,2212,2495,2270,1732,1518,1633,1678,1306,1740,2666,2406,1857,2280,2625,2797,3235,2974,2763,2729,2723,2729,2238,1873,1723,1832,2000,2214,2022,1489,1476,1391,1403,1588,1545,1767,1945,1921,1569,1393,1379,1424,1499,1371,1342,1367,1345,1484,1364,1582,1555,1503,1631,1779,1642,1489,1482,1455,1758,1757,1781,2265,2574,1931,1485,1391,1416,1555,1667,1925,1760,1712,2491,2333,2326,2194,2294,2134,1711,1685,1670,1885,2110,2148,2099,1887,1651,1521,1889,2381,1963,2087,1936,1647,1636,1803,1743,1607,1626,1533,1505,1585,1460,1908,2029,2177,2490,2253,1829,1824,1798,1751,1934,1607,1566,1927,2040,2560,2745,2268,2046,2439,2520,2131,1999,1739,1578,1604,1653,1784,2666,2856,2112,1564,1498,1929,2163,1931,1480,1419,1625,1815,1636,1563,1751,1432,1602,1770,1880,1981,2152,1900,1630,1576,1441,1388,1431,1328,1622,1876,1555,1410,1522,1522,1451,1505,1485,1450,1553,1751,1926,1800,1744,1961,1698,1804,1732,1489,1327,1484,1572,1394,1529,1954,1738,1371,1302,1347,1613,1433,1365,1309,1336,1515,1404,1406,1372,1284,1326,1378,1524,1447,1388,1494,1304,1421,1942,2604,2458,1775,1415,1562,1865,2105,2497,2798,3110,2544,1627,1380,1141,1379,2456,2496,1939,1851,1848,1752,1811,1634,1578,1678,1772,1956,2193,2127,1842,2083,1993,1639,1590,1583,1718,1610,1532,1713,1948,1813,1856,1837,1952,2806,3151,2643,2380,2367,2103,1810,1556,1843,1948,2085,1957,2234,2734,2858,3085,2962,2664,2199,1857,1648,1521,2129,3057,2932,2691,2407,2164,1977,2202,2803,3029,2905,2918,2812,2668,2080,2143,2184,3172,3209,2858,2699,2520,3111,3576,3608,3673,3911,3601,3249,2879,2824,2508,2365,2976,3330,3407,3398,3165,2936,2865,3458,3719,3962,3649,2777,2002,1775,1600,1380,1390,1405,1321,1333,1861,2982,2653,1699,1641,1471,1570,1540,1429,1437,1369,1365,1797,2047,1882,1591,1623,1580,1610,1699,2478,3021,2756,3099,3261,2940,2738,2759,2732,2078,2405,2753,2240,1865,1475,1574,2026,2080,1724,1473,1413,1609,1517,1577,1342,1251,1441,1497,1326,1224,1262,1495,1541,1461,1733,2061,1635,1322,1664,1361,1252,1424,1606,1876,1746,1806,1795,1594,1680,1462,1369,1346,1309,1459,2006,1644,1444,1425,1376,1317,1618,1445,1444,1966,2014,1570,1450,1419,1358,1445,1456,1448,1475,1555,1387,1449,1588,1411,1358,1411,1714,1423,1380,1350,1367,1501,1367,1256,1398,1587,1542,1511,1499,1521,1519,1563,1475,1494,1830,1872,1577,1959,2043,1733,1505,1278,1521,1722,1731,2136,1699,1469,1548,1805,1794,1609,1598,1407,1382,1573,1670,1416,1309,1272,1295,1336,1454,1346,1249,1349,1307,1403,1779,1886,1862,1767,1664,1800,1558,1428,1524,1417,1497,1760,1775,1697,1516,1402,1398,1493,1694,1533,1445,1532,1668,1671,1552,1400,1404,1371,1780,1956,1892,2011,1804,1854,2425,2128,1666,1646,1799,1577,1438,1605,2138,2852,2611,2454,2083,1818,1859,2098,2071,1735,1674,2459,2823,2430,2450,3083,2889,2259,3163,2799,2453,2387,2526,2390,2281,2303,2175,2005,2062,2353,2580,2680,2160,2244,2225,2337,2466,1986,2391,2738,2321,2029,2501,3294,3273,2752,2799,2480,2695,2066,2200,2956,2946,2589,2365,2674,2946,3219,3445,3046,2869,2652,2544,2468,2226,1734,2003,2355,2007,1817,2210,2491,2084,1855,1997,2025,2288,2345,2343,2174,1980,1648,1919,1901,2082,2068,2242,2645,2565,2546,2688,2463,1620,1301,1299,1244,1275,1316,1220,1572,2036,2248,2713,2845,2264,2219,2033,1790,1885,1871,1847,2012,2073,1886,1891,2066,1922,1958,2099,1992,1716,1620,1620,1523,1660,1902,2425,2469,2185,2330,2470,2124,2311,2555,2525,3469,4172,3497,2613,1869,2408,3594,3308,2261,2279,1985,1782,2003,2479,2419,1716,2041,2901,3899,4016,3140,2717,3284,3792,3256,2578,1972,1613,1653,1447,1353,1534,1639,1389,1645,1868,1525,1895,2028,1698,1799,1917,1849,1759,1814,2083,2212,2085,2016,1859,2048,2496,2172,1534,2020,2546,1785,1733,2309,2120,2030,1721,1504,1778,2673,4001,3916,2784,2434,3104,2601,2457,2723,2232,1648,1549,1687,1815,1846,1874,1892,1733,1718,1423,1840,2060,1954,2084,1767,1308,1730,1924,1704,1701,2021,2151,1982,2477,2075,2708,3582,3405,2766,2049,1902,1833,1554,1679,2009,2009,1641,1510,2003,2426,2030,1970,2017,1907,2084,2392,3050,3212,2886,2376,1721,1301,1479,1885,2349,2598,2196,1753,1942,2159,2029,1842,1901,2568,2808,2899,2023,1914,2662,2658,2126,2054,2201,2614,2452,2265,2390,2835,3213,2747,2503,2556,2230,1859,2226,2382,2352,2256,1884,1463,1368,1295,1417,1280,1496,1665,1841,1970,1703,1289,1316,1312,1287,1352,1284,1187,1221,1248,1354,1621,2280,2547,2419,2332,2665,2843,2964,2325,2065,3009,3161,2812,2241,1768,2144,1878,1535,1748,2051,1810,1298,1289,1403,1600,1624,1655,1700,1686,1581,1411,1501,1742,2137,2261,1925,1794,1598,1462,1558,1690,2231,2155,1736,1896,2031,1762,1775,2071,2135,2282,1959,2041,2438,2536,2488,2378,2423,2092,1762,1459,1975,2443,1974,1631,2056,2084,2690,2599,2280,1740,1542,2116,2468,2523,2483,2343,1830,1426,1454,1755,1578,1346,1700,1868,1620,1535,1505,1434,1541,1582,1699,1720,1607,1570,1795,1811,1763,1735,1681,1876,2083,1992,1831,1876,1940,2026,1938,2076,2180,2132,2061,1803,1687,1807,1726,1763,1654,1677,1734,1815,2270,2001,1897,1736,1570,2080,2270,2188,1749,1721,2541,2796,2809,2407,2050,2010,1888,1693,1766,1739,1850,2271,2357,2046,1887,1543,1455,1701,2212,2413,2474,2653,2665,2325,2091,2324,1930,1720,2260,2680,2560,2569,2769,2091,1642,1578,1442,1547,1965,2164,1843,1938,2329,1895,1188,1269,1449,1552,1590,1732,1815,2525,3642,3364,2123,1161,1348,2055,2364,2267,2068,2316,2510,2436,2532,2602,2670,2909,2800,2237,2107,2547,2912,3403,4501,4543,3604,3398,3799,3458,3117,2890,2379,2057,2098,2118,2097,1966,2172,2002,1902,2135,2808,3283,3615,3609,3598,3831,3986,3796,3308,3064,3079,3705,4061,4142,4345,4317,4637,4827,4343,3802,3728,3653,3498,3637,3537,3192,3461,3401,3055,2822,2702,3002,3267,3207,3165,3111,2973,3084,3110,3169,3277,2889,2833,2946,2774,2323,2466,2875,2894,2520,2117,1908,1704,1457,1700,2285,2303,2449,2223,2015,2094,2232,2203,2277,2232,2235,2755,2852,3132,2952,2758,2511,2069,2055,1582,1150,1714,2422,2404,1986,1243,1223,2266,2390,2389,2595,2907,2978,2717,2587,2531,2488,2671,2441,2331,3283,3311,2493,3050,2566,1591,2392,2394,1552,1664,2250,2543,2800,3116,3045,2480,2126,2103,2558,3059,3228,2691,2291,2154,2337,2842,2823,2041,1453,2176,2341,1959,2047,2241,1910,1934,1820,1979,2189,1869,2393,2271,2114,2105,2191,2265,3183,3695,2774,2007,2207,2171,2042,2329,2935,1967,1152,1266,1760,2122,1957,1716,1977,1955,1449,1642,1893,1902,1746,1615,1759,2133,1873,2163,2200,1610,1510,1628,1824,2112,2059,2514,2500,2104,2340,2275,1745,1626,1880,1806,1692,1913,2200,2196,2135,1588,1873,1962,1411,993,1513,2402,2294,2068,2215,2244,2235,2087,2234,2822,2598,2302,2161,2140,2382,2679,2571,2300,1942,1739,1842,2000,1887,1868,2648,2445,2569,1948,1599,1510,1725,2355,2639],[2059,2121,2697,2895,2591,2508,2626,2435,2135,2244,1958,1943,2161,2144,2676,2752,2667,2431,2307,2314,2296,2440,2618,2434,2642,3325,3437,3331,3532,3362,3198,3259,3225,3528,3708,3359,3061,3009,2990,2788,2747,2974,2776,2575,2675,2997,2946,3032,3430,3694,3930,4015,3535,2898,2990,3532,2802,2555,3100,3544,3585,3527,3659,3601,2814,1922,1889,1949,2227,2277,2542,2036,1806,1580,1589,1643,1773,2140,2280,2510,2656,2408,2470,2556,2644,2121,2030,2104,2490,2819,2921,2872,2825,2556,2036,2468,2382,2087,2076,1657,1603,1421,1762,1770,2189,2221,2196,2165,2157,2846,3111,3339,3103,2662,2501,2664,2393,2313,2766,3496,3486,2289,2088,1960,1971,3362,3447,1945,1586,1756,2012,1496,1807,2040,2273,2465,2156,2485,2521,2973,3298,2892,2626,2085,1867,1651,1579,1582,2104,2125,1470,1942,2517,1670,1691,2445,3195,2397,1842,2181,2577,2448,2005,1728,1730,1835,1971,2391,2964,2957,2780,2816,3116,2618,2246,2052,1854,1807,2264,2326,2546,2679,2520,3351,2470,1978,1816,1730,1810,1918,1953,1975,2220,2337,1877,1502,1699,1992,1693,1939,2220,1986,2854,2808,2797,2403,1835,1434,1483,1325,1278,1369,1659,1514,1579,2166,2017,2310,2675,2100,2094,3086,3404,2526,2846,2725,2472,2835,2376,2167,2669,2379,1940,2061,2740,3371,2869,2533,2602,2674,3726,3741,3006,2038,1783,2752,2962,1946,1519,2788,4024,3826,3566,3042,3076,2932,2244,2091,1947,1702,1695,1617,1883,1923,1853,2004,1640,1503,1515,1494,1633,1820,1998,1757,1754,1618,1550,1599,1759,1726,1728,1674,1491,1379,1492,1665,1572,1536,1651,1682,1564,1803,1699,1488,1918,1982,1602,1347,1396,1298,1551,1547,1326,1183,1591,2576,2862,2263,2185,2284,1810,1650,2025,1813,1742,1844,1612,1282,1395,1520,1554,1496,1935,2502,2171,2037,1949,1832,1750,1535,1413,1338,1380,1501,1504,1528,1486,1504,1616,1681,1725,1644,1815,1914,1960,2041,1991,2105,2121,1959,1920,1620,1528,1670,1553,1437,1836,1808,1525,1466,1709,1851,1825,1958,2066,2557,2743,2420,2030,2170,2644,2479,2413,2360,1989,1827,1707,1489,1398,1475,1867,1876,2277,2181,2524,2366,2450,2320,2492,2423,2313,2574,2410,2421,2077,2183,2055,2109,2354,2102,1909,1584,1615,1779,1585,1698,1975,2186,2711,2041,2005,1904,2753,2197,1948,1994,1852,1929,1918,2171,2231,1885,2008,2358,2196,2148,1872,1789,1747,1533,1240,2175,3366,3143,2148,1636,2087,3075,3062,2647,2917,3235,3488,3516,2901,2736,2835,2743,2835,2186,1616,1483,1609,1541,1580,1490,1406,1559,1731,1772,1584,1470,1434,1419,1584,1447,1525,1461,1363,1426,1427,1421,1403,1639,1848,2020,2294,2070,1756,2122,2574,2845,2806,2630,2023,1577,1391,1436,1588,1853,2126,1843,1582,1993,3090,2314,1919,1866,1729,1592,1525,1591,1757,1926,1736,1651,1684,1714,1744,1977,2128,2463,2264,2741,2792,2187,1952,1659,1742,1786,1710,1681,1516,1429,1560,1717,1627,1858,2404,2412,2058,1835,1598,1837,2426,2229,1808,1855,2122,2697,3345,2688,2029,2265,2159,1761,1886,1729,1820,1873,2231,2058,2656,2788,1785,1493,1517,1836,1976,1544,1499,1517,1449,1483,1363,1460,1498,1507,1455,1891,2052,2300,2417,2003,1554,1394,1242,1426,1439,1453,1705,1550,1396,1455,1660,1633,1400,1321,1457,1503,1646,1763,1772,1363,1496,1783,1938,2141,1940,1687,1460,1565,1653,1511,1814,2004,1448,1211,1265,1365,1650,1644,1534,1326,1366,1462,1425,1472,1397,1290,1320,1401,1423,1902,1633,1389,1392,1359,1498,2006,1992,1375,1396,1726,1569,1513,1990,2832,2778,1941,1461,1260,1188,2114,2466,1998,1744,1820,1776,2367,2786,1935,1766,1912,2121,2361,2283,1941,1848,1895,1884,1743,1523,1692,1741,1930,2071,2153,2194,1739,1576,1674,1781,2253,2929,2503,2088,1884,1766,1796,1805,1842,1842,2110,2156,2292,2501,2886,3397,2749,2366,1956,1474,1333,1532,1738,2070,1980,1612,1757,2108,2250,2364,2498,2487,2822,3264,3330,2979,2122,2166,2797,3124,2702,2670,2758,2578,3264,3454,3395,3626,3974,3786,3621,3219,2842,2592,2424,2631,3189,3074,2934,2596,2666,2504,3370,3784,3863,3961,3475,2229,1605,1555,1433,1426,1410,1346,1864,2175,2498,2284,1638,1482,1281,1499,1852,1672,1475,1340,1321,1354,1544,1527,1597,1834,1906,1872,1851,2336,2643,2630,3082,3319,2206,1889,2768,2627,2382,2814,3329,2828,1930,1438,1582,1805,1548,1443,1382,1400,1366,1317,1371,1353,1540,1885,1759,1407,1256,1298,1361,1308,1267,1195,1371,1261,1599,2069,1815,1870,1952,1866,1899,1650,1403,1435,1595,1541,1454,1468,1230,1255,1412,1482,1389,1350,1306,1280,1388,1520,1301,1307,1531,1524,1349,1476,1464,1515,1504,1545,1565,1661,1642,1486,1732,1700,1540,1458,1418,1472,1357,1280,1272,1498,1677,1704,1857,1802,1439,1477,1426,1453,1700,1522,1305,1495,1845,1963,1664,1562,1816,1772,1533,1558,1366,1376,1503,2085,2432,1938,1711,2018,2333,1962,1952,1886,1340,1333,1310,1500,1472,1432,1421,1381,1479,1454,1399,1396,1384,1448,1350,1332,1354,1689,1677,1669,1781,1654,1425,1500,1347,1215,1326,1433,1380,1334,1453,1516,1500,1506,1339,1402,1639,1792,1907,1840,1711,1395,1471,1812,1583,1581,1711,1731,1917,1929,2329,2237,1722,1533,1694,1710,1681,2339,2995,2973,2774,2282,1996,1589,1885,1820,1830,2059,2795,3075,2177,1828,1767,2407,3262,3408,2707,2404,2440,2339,2389,2793,2088,1639,1663,1720,2219,2222,2636,2250,1953,2325,2930,2379,2109,2385,2965,2806,2614,3532,3398,2962,2395,3020,3373,3864,2867,2511,2383,2261,2535,2778,2890,2148,1939,2630,2270,1839,2234,2144,1671,2050,1985,2481,2934,2444,2049,2266,2420,2413,2415,2740,2923,2689,2081,1976,1962,1805,1703,1794,1977,2063,2339,2442,2501,2344,2106,2146,2288,1921,2272,2180,2347,2302,1660,1374,1670,1929,2213,2154,2289,2234,1938,1700,1614,1863,2498,2372,1835,1825,1890,1743,1717,1705,1699,2099,2509,1971,1641,1520,1488,1762,1707,1697,2156,2304,1981,1368,1543,2046,2053,2494,3335,3382,2631,2047,1873,2076,2547,2291,2343,2702,1875,1764,1986,2093,2525,2008,1929,2770,3320,3394,3109,2808,2614,2368,1696,1946,1990,1883,1876,1728,1662,1978,1958,1639,1969,2070,1577,2070,1809,1572,1666,1816,1669,1722,1877,1660,1468,1671,1847,1842,1967,2191,1903,1710,2539,2501,1679,1426,1665,2052,2015,1841,2076,2778,3298,3750,3890,3174,2333,2774,2817,2599,2293,2118,1986,1748,1893,2002,1972,1964,1934,1782,1753,1881,2232,2007,1703,1816,1586,1898,2536,2107,2043,1986,2186,2072,2250,3063,2510,2816,3255,2651,1661,1588,2266,2126,1475,1539,2398,2017,1732,2232,2812,2584,2078,2654,2957,2452,1749,2364,3132,2368,2105,2085,1891,1808,1890,1963,2226,2106,1589,1741,2226,2008,2129,2065,1850,2320,2190,2083,2221,2646,2866,3008,2482,2003,2542,2967,2390,1782,1758,2684,2864,2866,2734,2442,2561,2868,3021,2789,2239,2141,1848,1476,1571,1459,1662,1495,1584,1682,1791,1896,1546,1282,1504,1391,1317,1250,1265,1253,1133,1330,1373,1543,2382,3061,2735,2645,2503,2242,2769,2522,2215,3322,3753,2979,2089,1715,2026,1882,1696,2102,2339,1791,1429,1642,1522,1560,1905,1860,1830,1928,1760,1512,1643,1696,1756,1960,1875,1843,1688,1360,1351,1914,2601,2360,1741,1649,1767,1688,1870,2029,1927,2281,2416,2788,2808,2808,2827,2721,2641,2123,1840,1742,1914,2210,1926,1948,2376,2164,2404,1679,1473,1548,1692,1998,2072,2076,1930,1919,1742,1629,1474,1437,1533,1532,1888,2154,2105,2087,1908,1544,1549,1797,1849,1817,1747,1538,1674,1861,2004,2012,1844,1780,1894,1703,1769,1929,2217,2401,2473,2180,1876,1604,1671,1875,2202,2069,1841,1577,1526,1656,1575,2039,2498,2382,2184,1939,2122,2314,2115,1981,1699,2135,2456,2082,2359,2473,2249,1969,1752,1696,1681,1888,2121,2165,1999,2080,2084,1531,1687,1754,2007,2280,2820,3185,3282,2823,2082,2007,2018,2120,1887,1985,2082,2337,2856,2558,2197,1854,1973,2003,2258,2400,2068,2249,2851,2743,2122,1713,1750,1861,1849,1930,1744,2084,2963,2888,1737,1266,1624,2001,2069,2646,2815,2773,2541,2500,2862,2806,2742,3270,3416,2609,2540,3219,3502,4160,4928,4351,3026,3331,4042,3749,3359,3203,2827,2486,2360,2216,2163,1967,2162,2037,1833,1729,2066,2381,2811,2932,3098,3610,3653,3760,3632,3496,3662,3588,3769,3984,4014,4011,4190,4437,4084,3564,3474,3560,3307,3388,3382,3109,3148,3344,3130,2971,3029,3082,3090,2887,2643,2764,2809,2931,2886,2932,2898,2789,2823,2906,2509,2370,2763,3296,3167,2534,2202,2301,1684,1765,2304,2968,3340,3423,2923,2461,2367,2164,2023,2073,2016,1726,2384,2750,2981,2541,2141,1890,2020,1802,1472,1836,2352,2272,2052,1410,1066,1430,1968,2049,2440,3143,3378,2988,2802,2707,2708,2498,2435,2137,2271,2812,2865,2775,3141,2146,1979,3243,2641,1638,1710,2322,2377,2623,2908,2666,2116,1478,1635,2451,3164,2835,2506,2672,3016,3558,3161,3044,2585,2093,2181,2202,2092,1973,1614,1702,2089,1777,1361,1599,1800,2093,1908,2189,2413,2329,2266,2997,3372,2566,2321,2221,2119,2230,2448,2833,2000,1188,861,1466,2124,2102,1822,1998,2090,1645,1660,1378,1790,1723,1877,2056,1790,1567,1794,1772,1769,1952,1824,1953,2116,2276,2505,2322,1945,1759,1952,1704,1768,1736,1541,1348,1461,1614,1549,1528,1128,1813,2491,2209,1465,1795,2344,2010,1840,2043,2397,2337,1968,2434,3254,2599,2214,2820,2831,2535,2589,2518,2319,2131,1765,1838,2143,2370,2685,3581,3288,2750,2344,2228,1703,1624,2251,3045],[2372,2332,2895,2814,2527,2599,2630,2305,2071,2606,2359,2331,2188,2212,2494,2575,2610,2337,2288,2518,2492,2412,2392,2334,2626,3002,3168,3166,3297,3151,3276,3392,3312,3334,3270,3133,3023,3044,3169,3239,3028,2820,2834,2634,3025,3360,3128,3034,3253,3508,3842,3836,3772,3536,3308,3428,2327,2169,2788,2707,2303,2532,3295,3408,2763,1965,1651,1791,2072,2964,3343,2524,1739,1619,1832,2106,2253,2291,2214,2405,2316,2305,2440,2714,2719,2480,2206,2154,2032,2087,2474,2112,2124,2574,2394,2337,2049,2167,1907,1621,1769,1808,1824,1898,2198,2236,1970,2175,2303,2819,3134,3007,2817,2940,2939,2881,2535,1809,1922,3013,3112,2245,2300,1954,1790,3101,3611,2129,1247,1316,1382,1396,1826,2160,2559,2823,2101,2428,2567,2678,2780,2853,2280,1954,1975,1760,1533,1512,1628,1787,1942,2687,3241,2536,2343,2768,3379,2645,1952,2007,1985,2008,2266,2143,1656,1665,1754,2131,2774,2719,2365,2351,2615,2530,2283,2379,2394,2602,3185,2463,2404,2487,2494,2683,2139,2055,1990,2085,2122,1804,1575,1746,1942,1877,1819,1854,1741,1931,2014,1776,1605,2170,2599,2652,2807,2438,2048,1731,1527,1289,1232,1319,1477,1455,1588,2424,2310,1994,2003,1843,1995,2507,2752,2949,3167,3199,3140,3484,2686,2243,2715,2060,1792,2624,2943,3570,3281,3194,3055,3161,3786,3052,1941,1664,1604,1879,2208,1846,1917,3242,3502,2483,2851,2270,2665,2479,1741,1603,1453,1916,2351,1947,2063,1972,1614,1838,2147,1667,1406,1450,1418,1701,1546,1459,1505,1425,1487,1529,1505,1495,2054,1482,1361,1502,1694,1615,1752,1698,1944,2024,1602,1949,2198,1760,1954,1682,1414,1468,1390,1422,1500,1376,1278,1235,1705,2531,2543,2215,1977,1874,1589,1516,1758,1842,2247,2614,1969,1448,1542,1571,1535,1618,2208,2165,2011,1915,1659,1775,1860,1603,1525,1504,1408,1446,1535,1589,1527,1685,1858,1833,1827,1770,2117,2422,2405,2408,2357,2485,2542,2023,1805,1745,1533,1433,1513,1541,1915,1803,1575,1575,1527,1617,1998,2575,2522,2618,2569,2264,1613,1642,2331,2823,3195,2707,2147,2192,1655,1494,1379,1402,1762,1735,1619,1839,2045,2165,2368,2482,2530,2264,2846,2509,1809,2087,1895,1931,2192,2296,2114,1856,1765,1622,1565,1551,1599,1793,1814,2263,2664,2373,2750,2409,2866,2490,2199,2193,1982,1936,1762,1877,1863,1875,2106,2451,2669,2524,2069,1955,1810,1455,1344,1959,2374,2485,1699,1456,1738,2493,2754,2446,2925,3290,3233,3052,2742,2923,2936,3094,3317,2697,2304,2340,2502,2486,2207,1897,1881,1653,1644,1882,1670,1529,1425,1456,1724,1421,1417,1459,1415,1559,1583,1578,1417,1457,1542,2042,1981,1553,1796,2526,2791,3316,3392,2236,1503,1607,1522,1635,1665,1653,1820,1706,1488,2082,3198,3009,2224,1801,1617,1480,1546,1770,1987,1941,1583,1707,2187,1840,1715,1916,2112,2398,2460,2513,2312,2076,1924,1549,1482,1537,1464,1587,1476,1394,1407,1436,1387,1891,2674,2602,1991,1919,1958,2079,2293,2353,1876,1942,2104,2796,3455,2930,2543,2644,2147,1684,1761,1757,1654,1543,2358,2131,1893,1874,1628,1406,1749,2678,2555,1620,1647,1477,1364,1467,1333,1281,1323,1371,1525,1740,1815,2107,2275,2324,1796,1681,1315,1378,1402,1404,1477,1431,1537,1531,1417,1495,1538,1459,1435,1504,1617,1598,1808,1688,1577,1406,1542,1687,1823,1897,1883,1715,1643,1572,1725,1768,1360,1338,1463,1446,1603,1670,1640,1486,1222,1252,1365,1426,1368,1341,1406,1576,2114,1993,1431,1501,1477,1350,1461,1637,1592,1382,1460,1797,1595,1636,1855,2479,2504,2029,2014,1431,1589,2428,2026,1713,1922,1844,2477,2898,2495,2133,2432,2534,2192,1901,1825,1929,1920,1694,1737,1909,1739,1514,1959,2985,3162,2610,2032,1875,1639,1621,1817,1889,1721,1447,1744,1887,2074,2367,1916,1704,2050,2362,2300,2220,1874,2456,3045,2142,2103,2103,1647,1347,1543,1947,2216,2221,1917,2099,2249,2238,2148,2285,2175,2533,2729,2872,2586,1990,2033,2514,3001,2972,3029,3008,2916,3259,3241,2982,3474,3671,3655,3499,3277,3018,2548,2692,3096,3349,3008,2944,2822,2955,2645,3085,3612,3514,3449,3094,2166,1608,1539,1742,1955,1637,1605,2711,2687,2098,1631,1281,1272,1323,1494,1668,1703,1846,1584,1436,1455,1404,1686,2082,1685,1880,2074,1670,1758,2221,2383,2694,2829,1835,1648,2295,2414,2677,3012,3488,3652,3142,2326,1612,1614,1405,1318,1344,1478,1352,1345,1432,1625,2193,2221,1533,1214,1233,1296,1354,1355,1382,1306,1345,1336,1721,1844,1731,1914,1950,1912,1825,1525,1473,1362,1403,1382,1457,1471,1403,1426,1347,1365,1424,1343,1259,1339,1410,1354,1453,1370,1414,1468,1398,1383,1499,1550,1432,1594,1694,1628,1515,1483,1820,1569,1591,1554,1553,1518,1369,1460,1411,1332,1790,2496,2598,2037,1591,1454,1419,1530,1522,1594,1468,1992,2351,1790,1866,2037,1824,1498,1505,1653,1490,1671,2153,2366,1802,1622,1927,2545,2868,2347,2302,1687,1333,1327,1583,1588,1433,1236,1316,1407,1521,1429,1334,1289,1272,1304,1291,1375,1398,1594,1703,1678,1623,1526,1502,1427,1265,1304,1373,1399,1471,1366,1504,1550,1410,1202,1331,1339,1315,1470,2022,2778,2193,1606,1825,1627,1487,1704,1676,1796,1814,2164,2516,2021,1381,1560,2416,2272,1545,1927,2587,2735,2498,2004,1842,2122,2012,1865,1941,1930,2680,2829,2019,1817,2187,3421,3498,2529,2453,2692,2473,1793,2285,2600,1957,1757,1637,1875,2325,2258,2676,2097,1690,2676,3327,2711,2631,2788,3289,3045,3194,3957,3363,2876,2866,3408,3798,3973,3507,2561,1814,2390,2862,2191,1756,1575,1752,2272,2312,2272,2591,2008,1662,2534,3424,3550,2901,1983,1571,2332,2481,2716,2604,2444,2047,1845,2097,2135,2172,2286,2092,2182,2331,2473,2415,2340,2869,2717,2486,2530,2221,2173,2458,2779,3161,2916,2329,1921,1852,1753,2136,2199,2308,2090,1577,1552,1767,2587,3182,2264,1614,2119,2308,1996,1951,1679,1451,2244,2709,2039,1320,1141,1362,1627,1783,1994,1980,2062,1568,1626,2305,2526,2222,2151,2039,1925,2271,2648,2074,1735,1813,1811,1783,1694,1665,1729,1868,2318,3154,2586,2209,3110,3573,3495,3645,3355,2452,1680,1553,1955,1929,1859,1917,1744,1743,1999,2086,2053,2885,3039,2063,2069,1608,1458,1568,1748,1620,1685,1954,1769,1890,2054,1802,1560,1627,1832,1759,2366,2327,1658,1828,1819,1747,2175,2031,2048,2337,2541,2456,2776,3555,2908,2292,2820,2834,2525,2540,3763,4232,2011,1663,1693,1794,2438,2170,1856,1716,2035,2238,1981,2470,2635,2360,2438,2463,2187,2537,2556,2513,2549,2337,2119,2645,3265,3099,2445,1744,1789,2178,1801,1870,1833,2560,2297,2333,2912,2756,2070,2265,2973,3012,2712,2070,2562,2618,1848,1622,1863,2072,2056,2213,2189,1653,1310,1689,2332,2536,2211,2692,2242,1975,2622,2387,2145,2629,2640,2430,2465,2160,2136,2152,2520,2402,1904,2188,2744,2818,2787,2193,2119,2725,2865,2504,2418,2002,1883,1714,1774,1693,1627,1741,1930,2009,1889,1833,1760,1438,1374,1490,1559,1472,1279,1308,1282,1208,1272,1283,1435,2399,3200,2941,2678,2303,2144,2783,2965,2792,3217,3417,2938,2081,1657,1901,1949,1629,1655,1666,1470,1383,1360,1366,1716,1887,1683,1643,1909,2050,2291,2613,2354,1692,1777,1881,2040,2299,2242,2180,2381,2543,2466,2154,1804,1651,1602,1889,2219,2730,2974,3043,3352,3293,3099,2682,2798,2537,1696,2193,2359,2507,2226,2084,2322,2720,2591,2131,1542,1561,1840,2330,2465,2246,1850,1298,1811,1892,1697,1707,1667,1443,1603,2119,2464,2388,2313,2281,2296,1817,1616,1846,1854,1777,1704,2303,2718,2525,2066,1599,1592,1873,1728,1714,1751,2044,2094,2306,2462,1874,1760,1888,1976,2721,2435,2347,2204,1649,1744,1586,1623,2042,2320,2293,2350,2556,2054,1807,1747,1845,2222,1903,2022,2292,2272,2172,2018,1834,1848,2048,2033,2094,2185,2318,2510,2100,1691,1766,1640,1853,2103,2627,2889,2919,2386,1858,2056,2151,2101,1748,1713,1947,2581,2835,2743,2598,2806,3039,2819,2449,2106,1948,2410,2791,3025,2641,2083,1956,2013,1795,1790,1627,1590,1979,2029,1854,1442,2037,2109,1940,2784,3110,2817,2600,2583,2480,2141,1869,2207,2990,3105,3182,3620,4081,4893,4719,4212,3408,3409,3985,3729,3460,3528,3382,2920,2527,2134,2179,2270,2192,2017,1803,1864,1973,1945,2230,2231,2449,2897,2735,3020,3519,3570,4002,3981,3589,3234,3406,3816,3929,4286,3963,3565,3226,3153,3045,3173,3321,3244,3110,3222,3219,2784,2667,3032,3136,2904,2712,2931,3045,3029,2774,2898,2873,2698,2736,2401,2041,2588,2865,3399,3236,2687,2585,2568,1912,2032,2781,3266,3220,3153,3227,3218,3122,2959,2193,2011,2061,1953,2220,2168,2053,2042,2143,2315,2477,1999,2002,2266,2406,1717,2170,1786,1339,1363,1832,2375,2706,3357,3629,3310,3137,2985,3046,2785,2623,2445,2617,2680,2862,3152,3128,2526,2542,3227,2455,2042,1779,2327,2800,2561,2840,3090,2456,1699,1577,2115,2654,2662,2820,3150,4136,4825,4164,3149,2677,2631,2059,1760,1995,1871,1850,2524,2371,1787,1571,1812,1575,1469,1856,2436,2878,2764,2433,2336,2358,2359,2825,2743,2267,2605,2265,2024,1815,1463,1199,1760,2501,2938,2751,2110,1820,1584,1809,1685,1622,1645,2182,2087,1627,1826,1846,1717,1932,1873,1986,2249,2405,2110,1850,2175,1977,1567,1416,1590,1840,1950,1614,1211,1361,1648,1753,1454,1137,1334,2266,2644,2544,2710,2527,2012,2100,2053,2036,1924,1632,2183,2471,2372,2296,2643,2780,2591,2239,2020,1919,2014,1906,1848,1876,2105,2575,3439,3538,3355,3062,2466,2101,2090,2520,3271],[2366,2708,2918,2686,2677,2701,2630,2567,2492,2422,2332,2526,2466,2392,2467,2288,1998,2046,2370,2465,2244,2322,2131,2199,2506,2691,2854,3122,3209,3298,3486,3471,3308,3195,3196,3218,3118,3175,3204,3109,2871,2895,2810,2800,3200,3407,3537,3467,3519,3572,3731,3692,3673,3541,3566,2864,1347,1643,2568,2116,1720,2001,3474,3522,3373,3566,2729,1863,2126,3239,3754,2532,1346,1498,1682,2114,2416,1643,1556,1758,1720,2116,2656,2743,2500,2184,2057,2157,1793,1725,2088,1967,1981,1973,2136,1914,1893,1998,1905,1641,1628,1831,1762,1593,1949,2122,2436,2669,2686,3082,3238,2992,2661,2897,3079,3375,3355,2275,2134,2630,2751,3018,2834,2067,1760,2377,2652,1901,1284,1289,1453,1583,2030,2244,2626,2386,2138,2452,2836,2536,2542,2436,1897,1663,1982,2303,1999,1445,1326,1878,2754,2951,3116,2857,2472,2263,2215,2222,2156,1972,2159,2437,2223,2113,2204,1687,1532,1655,1767,1643,1610,1826,2454,2901,2618,2379,2035,2012,2930,2776,2580,2521,2274,2224,2393,2401,2154,2199,2114,1430,1466,1747,1958,1866,2292,2230,2173,2031,1935,1554,1743,2239,2280,2747,3086,2518,1990,1668,1335,1433,1516,1404,1464,1810,1892,2424,2886,2344,1906,1786,1682,1708,2185,2555,2480,2837,3052,3234,2888,2603,2532,2282,2416,2696,3031,4176,3957,4164,3647,3111,2589,1981,1598,1724,1787,1604,1879,2019,2490,2978,3248,3586,3422,2482,2720,2776,2198,1658,1383,1462,1436,1467,1796,1614,1521,2408,2847,1827,1427,1384,1312,1323,1423,1550,1484,1563,1486,1492,1389,1581,2112,1897,1533,1378,1406,1446,1588,1510,1692,1973,1636,1595,2024,1923,1810,1463,1410,1468,1520,1551,1374,1230,1265,1262,1535,2292,2460,2143,1833,1725,1880,1805,1682,1786,1992,1921,1677,1614,1811,2063,2342,2103,2128,2052,1814,1619,1484,1667,2003,1824,1679,1520,1448,1430,1450,1279,1432,1463,1438,1500,1576,1565,1904,2202,2264,2268,2546,3195,2809,1952,1816,1722,1694,1700,1794,1787,1721,1541,1860,2094,1614,1572,2090,2734,2651,2123,1926,2205,2030,2030,2484,2735,2626,2094,1874,2150,2320,1560,1344,1462,1668,1728,1883,2088,2014,2013,1970,2365,2969,3061,3703,2544,2288,2664,2482,2170,2112,2195,1976,1874,1747,1844,1848,1672,1837,1892,1847,1963,1882,1923,2308,2603,3211,3299,2508,2055,1798,1638,2008,2163,1942,1844,1780,1953,2425,2404,2051,1981,1922,1290,1357,1438,1226,1484,1434,1612,1974,3074,2831,2133,2520,2615,2464,2589,2430,3487,2700,2778,3220,3129,2758,2721,2851,2529,1833,1969,2468,2135,2159,2446,1907,1547,1498,1643,1739,1564,1416,1367,1566,1644,1706,1951,1852,1610,1552,1672,1665,1678,1907,2228,2336,2728,2887,2091,1496,1743,1618,1689,1531,1488,1678,1479,1326,2148,3283,3184,2388,2065,1843,1636,1608,2161,2234,1844,1800,1649,1910,1867,1632,1527,1614,2008,2292,2278,1880,1552,1443,1566,1542,1559,1516,1473,1604,1584,1449,1490,1427,1711,2194,2344,1555,1592,1729,1618,1856,2397,2160,2066,2213,2530,2902,2852,2490,2263,1779,1655,1670,1827,1444,1662,2062,1861,1710,1532,1693,1554,1901,2787,2919,1852,1621,1515,1444,1470,1225,1187,1290,1367,1699,1926,1985,2039,2109,2310,1907,1554,1380,1409,1430,1379,1386,1699,1958,1640,1261,1347,1539,1397,1378,1512,1618,1491,1700,1893,1636,1431,1478,1646,1810,1760,1937,2039,2026,1941,1895,1804,1518,1519,1533,1492,1532,1946,2481,1799,1308,1296,1360,1348,1374,1422,1480,1910,2154,1415,1393,1572,1408,1383,1355,1276,1296,1382,1434,1622,1501,2315,2788,2584,2318,2459,2129,1454,2294,2480,1896,1844,1704,2207,2846,2885,2586,2360,2801,3157,2440,1778,1938,2098,1737,1573,1776,1718,1834,2271,3141,3470,3270,2305,1878,1452,1458,1400,1404,1592,1629,1972,2152,2241,2646,2374,1646,1664,1960,2220,2228,1774,1353,1795,2144,1880,2138,2023,2001,1834,2177,2507,2171,2484,2546,3461,2460,1765,1948,2304,2309,2463,2701,3112,2931,2699,2479,2218,2797,2788,2708,2800,3108,3274,3160,3077,3142,3045,3109,3142,2965,3045,2441,2222,2602,2872,2894,2938,2995,3175,2798,2665,3155,3474,3340,3172,2643,2061,1582,1990,2348,2001,1996,2479,2370,1995,1300,897,1184,1506,1758,2032,2533,2733,2320,2314,2150,1807,2042,2127,1797,1949,2093,1493,1503,1526,1558,1653,1701,1512,1538,1793,2434,3030,3308,3837,3903,3094,2586,2029,1809,1507,1322,1362,1418,1421,1442,1366,1613,2258,2185,1525,1323,1515,1673,1598,1465,1283,1222,1362,1476,1686,1726,1442,1442,1593,1821,1742,1530,1384,1183,1391,1439,1428,1280,1394,1563,1570,1577,1436,1511,1321,1384,1557,1600,1510,1334,1394,1694,1655,1432,1460,1398,1314,1345,1482,1506,1461,1448,1447,1467,1592,1621,1628,1575,1443,1472,1398,1391,1634,1861,1726,1405,1315,1354,1462,1566,1565,1484,1605,2194,2309,2087,2235,1949,1609,1522,1494,1651,1758,2376,2736,2044,1359,1442,1748,2552,2691,2634,2310,1661,1549,1459,1621,1426,1340,1524,1521,1336,1324,1288,1362,1316,1259,1261,1257,1378,1337,1327,1500,1648,1682,1622,1460,1248,1161,1287,1282,1506,1528,1340,1329,1310,1242,1504,1874,1568,1272,1376,1936,2342,1603,1503,1697,1774,1534,1610,1694,1664,1875,2402,2243,1494,1455,1679,2187,2448,1653,1610,1622,1871,2122,1998,2223,2054,1655,1948,2082,1572,1950,2292,1831,2159,3230,4200,2786,1838,2026,2836,2666,1812,2113,2641,2562,1918,1836,2575,2830,2906,2723,2166,2115,2715,2888,2377,2045,2254,2702,2999,3428,2670,3169,3324,3194,3382,3592,3719,3676,2856,2213,2630,2693,1722,1635,2229,2525,2643,2322,2482,2422,2220,1878,2008,2510,2517,1863,1782,2196,2813,2507,2302,2460,2768,2404,2294,2392,1936,2143,2431,2266,2294,2417,2623,1904,2052,2641,2523,2500,2929,3100,2500,2130,2380,2574,2420,2081,1814,1474,1664,2286,2378,1846,1561,1720,2198,2544,2684,2797,2252,1813,2460,2222,2014,1954,1494,1466,2008,1974,1392,1340,1529,1348,1294,1541,1524,1359,1802,1553,2145,2612,2644,2467,2121,1832,1827,2557,2724,2023,1836,1907,1866,1851,1895,1805,1750,1781,2156,2431,2344,2883,3768,3807,3407,3510,2902,1938,1566,1522,1732,1758,1760,1887,1637,1595,1756,1999,1798,2678,2520,2219,2023,1416,1285,1515,1741,1682,1543,1944,1976,1999,2104,1948,1603,1876,1936,1867,2303,2285,2169,2251,2389,2009,2482,2647,2509,2041,2078,2365,3022,3341,2728,2651,3061,3108,2714,2613,6837,8130,2907,1512,1891,2163,2004,1933,1929,1387,1465,2013,1862,2367,2620,2562,2517,2438,2044,2618,2854,2382,2758,2812,2304,3023,3586,3386,2762,1998,1948,2044,2141,2128,1936,2021,1921,1965,1794,1376,1694,1942,2456,2530,1936,2260,2514,2798,2276,2000,2089,1967,2160,2341,2365,2235,2156,2112,1842,1983,2186,2787,2512,2621,3100,2862,2476,2492,2277,1900,1628,2025,2491,2154,2533,2675,2579,2955,2504,2035,2230,2344,2477,2231,2005,1631,1770,1743,1773,1686,1754,1687,1690,1837,2122,1959,1913,1912,1642,1317,1472,1488,1618,1417,1288,1351,1284,1209,1185,1187,1484,2259,2460,2185,2316,2188,2111,2680,2829,2741,2702,2818,3056,2412,1752,2143,2091,1388,1494,1604,1566,1381,1394,1434,1438,1407,1378,1545,2032,2503,3104,3060,2661,2002,1821,1751,2389,2979,2820,2562,2677,2624,2535,2299,2226,2025,2104,2266,2251,2698,2915,3075,3497,3871,3587,2915,2884,2852,1973,2539,2500,2319,2500,2996,3213,3162,2867,2287,1953,1942,1934,2598,2622,2124,1872,1625,1833,1984,2084,2266,2088,1666,1754,2088,2284,1912,1905,2288,2887,2358,1684,1842,1989,2078,2296,2486,2612,2386,1857,1598,1886,1980,1980,1800,1759,2156,1844,1735,2090,2060,2181,2279,2374,2447,2432,2412,1952,1672,1516,1527,1882,2082,2008,2287,2352,2431,2291,1865,2110,2363,2498,1930,1904,1932,1732,1898,2326,2226,2028,1841,1898,2466,2470,2133,1869,1619,1809,1953,1810,1954,2232,2941,3422,3016,2303,2186,2109,1876,1670,1650,1734,1771,1976,2460,2534,2306,2722,2896,2658,1965,1892,1703,2120,2085,2198,2416,1936,1853,1846,1719,1866,1710,1545,1642,1574,1527,1837,2411,2245,2342,3257,3270,2695,2908,3100,2583,2050,1751,1591,1896,2548,3271,3686,4145,4472,4404,4445,3931,3500,3454,3394,3352,3594,3408,3042,2786,2267,2128,2105,2055,2056,1810,1875,2041,1914,2172,2195,2241,2426,2391,2454,2866,3182,3395,2978,2103,1465,1663,3113,3738,3957,3817,3557,3270,3044,3208,3292,3265,3334,3237,3228,3239,2467,2000,2656,3223,3208,3064,3208,3417,3328,2985,2868,2719,2625,2541,2276,2595,3004,3247,3437,3459,2819,3041,2658,1800,1820,2238,2925,2873,2832,2465,2313,2625,2996,2754,2271,1919,1968,2061,2096,1920,2052,2828,2880,2571,2004,1842,1868,1842,1492,1694,1652,2131,2820,3072,3173,2919,3222,3322,3020,3259,3133,3220,3024,2832,2966,2985,2564,2438,2978,3039,2575,2657,3264,2310,1788,1898,2690,3035,2448,2401,2890,2884,2226,1719,1919,2813,3488,3320,3564,4605,4720,4465,3648,2918,2549,1973,1748,1560,1409,2006,2348,2192,1635,1455,1778,1802,1668,2076,2402,2576,2460,2370,2238,2243,2404,2411,2438,2379,2533,2286,2042,1963,1932,1784,1674,2458,3020,2610,1992,2058,1924,2137,2024,1617,1570,1875,1808,1830,2369,2041,1748,1717,1413,1897,2260,2426,1894,1835,2183,1897,1592,1677,1870,1901,2623,2622,1371,1399,1698,2051,2168,1643,1390,1809,2184,2242,2132,2125,2267,1986,1788,1689,1517,1436,1765,1785,1952,2123,2136,2574,2770,2357,1927,2104,2014,1906,2012,2078,1942,1976,2321,2852,3615,3355,2814,2400,2079,2719,2914],[2265,2941,2887,2705,2824,3055,2889,2708,2697,2374,2085,2172,2132,2041,2183,2250,1837,1942,2725,2696,2042,2089,2172,2239,2047,2180,2642,2625,2661,3181,3285,3304,3329,3170,3262,3405,3175,2910,3027,3086,2980,2878,3075,3205,3259,3444,3497,3278,3378,3659,3604,3658,3672,3383,3442,2851,1832,1957,2352,1881,2128,2898,3874,3620,3538,3632,2798,2089,2204,2896,3241,2127,1244,1448,1819,2158,2674,1730,1422,1527,1730,2292,3079,2989,2105,1741,1846,2012,1964,1857,1942,1843,1697,1765,1780,2043,1949,1614,1884,1703,1922,2286,2292,1576,2110,2409,2823,3109,3089,2775,2731,2880,2951,3078,2745,2635,2494,2687,2581,2367,2603,3043,3010,2047,1493,1495,1666,1862,1641,1825,2099,1663,2081,2018,2139,2296,2093,2075,2518,2700,2331,1784,1622,1766,2150,2463,2514,1569,1501,2128,2953,2873,2537,2076,2082,1953,1817,2431,2635,1997,2382,2591,2017,2002,2229,1992,1996,1903,1808,1623,1711,2435,2576,2319,2343,2209,2040,2428,2509,2375,2476,2447,2043,1952,2059,1823,1734,2173,2232,1746,1740,2138,2250,2098,2283,2269,2375,2368,2054,1941,2251,2247,1844,2223,2209,1828,1525,1376,1580,1590,1655,1610,1848,2527,2405,2490,3120,2734,2064,1680,1646,2302,2470,1780,1841,2522,2970,2667,2451,2395,2569,2924,3252,3230,3322,4248,4228,3839,3354,2358,1834,1832,1783,1917,2140,1619,1818,2335,2940,2923,3311,3605,3176,2706,2298,1801,1797,1469,1418,1532,1495,1411,1428,1325,1373,1426,1316,1283,1273,1282,1285,1345,1385,1336,1506,1618,1453,1486,1715,1711,1924,1898,1527,1369,1389,1353,1239,1295,1691,1658,1606,1566,1792,1641,1428,1395,1366,1412,1604,1560,1317,1167,1195,1308,1488,2073,2260,2223,2083,1668,1762,1948,1908,1810,1648,1647,2003,1854,1952,2073,1910,1720,1860,1809,1526,1571,1611,1886,2234,1856,1793,1545,1422,1350,1366,1403,1307,1275,1423,1893,2237,1960,1728,1733,1766,1739,2520,3880,2957,1842,1583,1621,1585,1348,1399,1761,1807,1868,1773,1694,1622,1740,2432,2820,3186,2573,2273,2736,2437,2283,2276,1972,2134,2200,1886,1918,1696,1500,1466,1664,1916,1783,1897,2261,2412,2513,2263,3017,3494,3344,3474,3299,3274,2974,2658,2530,2621,2417,2061,1749,1734,2110,2244,2393,2526,2113,2009,1853,1772,2084,2604,3017,2851,2775,2050,1766,1538,1679,1785,1682,1569,1621,1778,1748,1786,1880,1867,2112,2132,1477,1533,1516,1412,1482,1503,1725,2020,2776,2552,1580,1857,2085,1964,2478,2104,3202,2721,2810,3024,2661,2243,2150,2065,2109,1901,2055,2342,2281,2450,2422,1982,1800,1544,1557,1605,1466,1435,1567,1873,1990,2005,1708,1641,1436,1454,1561,1539,1466,1725,1908,1726,1684,1744,1678,1732,2575,2798,2419,2137,1879,1723,1663,1633,2540,3688,3178,2387,2520,2210,1763,1581,1805,1865,1700,1747,1725,1895,1933,1679,1421,1687,1860,1672,1962,1810,1625,1742,1888,1773,1593,1451,1417,1484,1409,1452,1565,1445,1469,1483,1805,1575,1470,1425,1647,1958,2076,2025,1831,1655,1898,1863,1925,2066,2169,2040,1964,1931,2168,1769,2020,2188,1873,1726,1479,1732,1836,1776,1735,1990,1624,1447,1427,1388,1367,1261,1159,1446,1852,1721,1904,1711,1664,1646,1537,1704,1529,1368,1427,1511,1543,1571,1718,1898,1755,1487,1597,1752,1623,1666,1493,1519,1499,1455,1618,1726,1605,1432,1761,1870,1469,1558,2005,2048,2030,2031,1776,1382,1282,1383,1887,1742,2622,2743,1727,1321,1423,1372,1351,1449,1443,1410,1739,1715,1277,1484,1485,1324,1405,1347,1277,1395,1353,1433,1609,2240,3190,3204,2535,1874,2373,1687,1986,2495,2053,1863,1829,1732,2275,2178,2037,2280,2407,2895,2894,1994,1771,1946,2092,1735,1647,1749,1723,1624,2288,3172,3415,2986,1740,1609,1412,1314,1287,1452,1734,2463,3109,2777,2374,2487,2131,1586,1645,1791,1578,1692,1453,1420,2669,2554,1988,2252,2379,2402,2228,2774,2577,1995,2753,2469,2978,2195,1994,2142,1887,1618,2076,3412,4082,3648,3607,2873,2312,2258,1953,2443,2938,2877,2823,2944,3166,3040,3041,3081,2859,2572,2811,2471,2093,2359,2394,2648,2762,2632,2886,2801,2509,3207,3515,3282,3404,2918,1910,1636,1801,1797,1647,1888,2062,2042,1743,1124,1182,1546,1622,1973,2402,3262,3529,3008,2670,2637,2577,2093,1874,1731,2183,2063,1498,1753,1579,1437,1397,1316,1310,1363,1561,1782,2165,2640,3140,3312,3045,2643,2131,1570,1530,1621,1556,1430,1399,1438,1338,1628,2105,1985,1346,1387,1441,1605,1628,1486,1333,1238,1421,1694,1878,1735,1557,1355,1727,1881,1760,1843,1798,1687,1545,1449,1322,1319,1457,1531,1585,1481,1410,1499,1306,1401,1417,1404,1443,1312,1530,1880,1412,1226,1289,1362,1353,1308,1438,1415,1335,1415,1556,1500,1670,1623,1403,1636,1621,1521,1607,1466,1417,1443,1489,1449,1403,1549,1642,1670,1779,1877,2498,2422,1565,1715,1887,1570,1573,1562,1420,1430,1691,2350,2446,1631,1262,1466,1553,1968,1778,1816,2027,2234,2067,1649,1521,1481,1663,1961,1769,1437,1404,1378,1439,1346,1471,1281,1170,1343,1366,1204,1275,1556,1735,1525,1229,1207,1230,1367,1539,1609,1437,1343,1287,1314,1368,1495,1572,1461,1337,1434,1609,1548,1151,1432,1599,1815,1641,1721,2079,1731,1602,1685,1710,1705,1941,1695,1910,2147,1753,1422,1691,2026,1894,1905,1717,1480,2016,2334,2605,2107,1910,2077,2017,2699,3183,3227,2228,1686,2099,2587,2119,2188,1849,1871,1722,1758,1868,2547,2810,2877,2485,2201,2590,2979,2709,1995,1673,1968,2325,3242,3584,3194,3167,3083,2480,2046,2471,3182,3168,2428,2086,2019,2029,2316,2786,2479,2436,2386,2248,2326,2657,2456,1747,2289,2465,1815,1747,1971,1906,2319,2655,2586,3104,3531,2521,1941,2248,2112,2568,2625,1925,2012,2075,2110,2329,2101,2098,2321,2151,2379,2665,1816,1584,2035,2298,2402,2124,1822,1548,1932,2420,2338,1816,1882,2332,2511,2622,2715,2622,2692,2266,2111,1939,1944,1670,1445,1701,1698,1325,1365,1689,1600,1412,1167,1276,1391,1628,1687,1614,1853,2030,2116,1960,1481,1533,1779,1787,1672,1815,1884,1918,1982,1861,1863,1924,1874,2289,2579,2395,2523,2976,2704,2674,3221,2778,2075,1726,1593,1412,1638,2113,1699,1852,1901,1557,1832,2026,1507,1484,1454,1460,1478,1288,1201,1377,1632,1675,1488,1697,1560,1422,1450,1839,2215,2305,1956,1891,1962,1690,1591,1685,2005,2383,2941,3511,3063,1957,2266,2757,3088,3343,2916,2717,3351,3406,2431,1914,2601,2369,2080,1948,2144,2295,2036,2007,2088,1627,1907,2113,2049,1786,1883,2081,2548,2437,2386,2454,1790,1847,2448,3032,2994,3334,2952,2625,2349,1599,2053,2699,2218,1662,1919,1782,1838,1614,1610,1717,1612,2017,1960,1929,1137,1515,1646,2000,2077,2116,2205,2320,2753,2877,2967,3001,2099,1360,1379,2018,2948,2747,2359,2503,2302,1982,2045,2192,2061,2017,1833,2089,2701,2625,2531,2431,2498,2543,2300,2566,3000,3174,2533,1727,1366,1671,1824,1530,1342,1900,2116,1871,1718,1671,1942,1797,1704,1825,1706,1411,1379,1248,1325,1422,1452,1334,1170,1264,1577,1636,1442,1592,1489,1338,2066,2214,2122,2458,2734,2924,2692,2798,3098,2328,1576,2248,2101,1426,1395,1408,1340,1230,1200,1221,1291,1351,1429,1632,1997,2906,3485,3343,2719,2286,2045,1729,1960,2416,2225,2229,2644,2569,2003,2037,2283,2066,2105,2340,2623,2831,2901,3142,3423,3374,3397,2833,2557,2722,2659,2692,2228,2078,2229,2481,2959,3054,3377,3246,2981,2780,2521,2350,2308,2101,1981,2070,1937,2197,2709,2721,2447,1988,1825,2359,2416,1852,1802,1963,2015,1874,1783,1797,1847,1923,2298,2342,2298,1961,1791,1879,2182,2071,2223,2030,1825,2132,1843,1434,2223,2324,2090,2113,2355,2619,2799,2292,1890,1723,1551,1592,1888,1728,1412,2026,2006,1769,2010,2059,2048,2192,2281,1889,1723,1650,1490,1835,2843,2567,2172,1964,2155,2394,1985,1636,1802,1856,2208,2240,1648,1865,2448,3174,3440,3541,3167,2802,2447,2191,2012,1768,1805,1886,1903,2124,2029,1738,1819,2136,2200,1933,1867,1749,2358,2093,2172,2490,1727,1640,1716,1892,1912,2110,1708,1544,1604,1502,1854,2028,2426,3067,2999,2741,2806,2765,2474,2361,2266,2109,1864,1587,1926,2752,3375,3383,2951,3409,3876,4222,3523,2670,3173,3396,3117,3042,2964,2533,1987,1975,2132,2103,2176,1980,2088,2004,1918,2082,2324,2758,2744,2734,2599,2377,2431,2440,2047,1543,1491,1065,1632,3145,3868,3914,3750,3551,3216,3167,3315,3355,3385,3373,3140,2907,2217,1729,1792,2578,3121,3273,3356,3488,3333,2977,2764,2638,2541,2209,2640,3120,3243,3408,3520,3554,3181,3352,2986,2196,2133,2531,3841,3397,3094,2230,2408,2306,2654,2828,2385,2365,2327,1923,2206,2333,2056,2231,2131,1919,1764,1691,1566,1309,1320,1453,1520,2215,3047,3329,3334,2872,2974,3176,3017,3422,3265,3032,2861,2874,2899,2762,2558,2200,2621,2919,2930,3327,3300,2222,1938,1869,2032,2413,2335,2293,2350,2836,2656,1863,2047,3227,3804,3614,3615,3564,3074,3249,3259,2395,2077,1931,1981,1623,1646,2537,2641,2019,1768,1652,2426,2580,2136,2372,2431,2332,2209,2040,2280,2647,2652,2344,2053,2235,2374,2308,2093,1826,1966,2188,1845,2585,2743,1813,1875,2552,2518,2398,2031,1814,1813,1797,1621,1753,2130,1695,1614,1734,1930,2203,2294,2079,1891,2154,2015,1924,2176,2569,2134,2061,2321,2016,1161,1280,1504,1872,2340,2250,1934,2033,2167,1931,1834,2302,2397,1906,1851,1785,1583,1663,2048,2152,2137,1869,2165,2911,2603,2128,1885,1953,1820,1883,1930,1924,2272,2964,2489,2381,2779,2156,1912,1985,1909,2422,2773],[2644,2866,2789,2761,2809,3281,3256,2688,2436,2225,1803,1922,2329,2348,2359,2330,1895,1832,2509,2542,2564,2549,2337,2056,1853,2137,2472,2420,2440,2706,2988,3308,3463,3353,3328,3217,3203,3374,3139,2953,2965,2936,3304,3450,3495,3350,3352,3228,3510,3797,3572,3393,3430,3365,2885,2498,1636,1769,2249,2213,2720,3395,3917,3541,3086,2833,2316,1997,1914,2262,2317,1991,1757,1717,1803,2020,2610,2226,1862,1719,1944,2420,2666,2424,1792,1675,1599,1641,1897,1826,1682,1579,1818,2149,1941,2162,1784,1562,2030,2075,2432,2415,2621,1841,1927,2200,2366,2751,2793,2406,2244,2504,3168,3234,2845,2700,2956,3694,2808,2060,2342,2534,2681,2289,1586,1471,1780,2155,1738,1556,1750,1974,2398,2207,2191,2601,2548,2364,2460,2495,2201,1806,1806,1866,1840,2148,2087,1704,1638,1911,2167,2209,1841,1780,1842,1762,2027,2251,2186,1733,2147,2375,2045,2265,2375,2337,2471,2422,1893,1550,1813,2242,2041,2061,2082,2400,2535,2237,2072,1937,1761,1853,1788,1726,1609,1600,1443,1969,1938,1817,1734,1899,1968,2087,2334,2777,2822,2313,2141,2033,2432,2677,2091,1709,1524,1611,1500,1473,1673,1806,1831,1995,2206,2685,2809,2956,2876,2458,2016,2034,2024,2453,2232,1804,1938,2814,3386,2631,2135,1433,2071,2850,3485,3504,3111,3513,3874,3436,2352,1653,1604,1569,1862,1778,2021,2123,2431,1963,1859,2393,2746,2388,2149,2270,1938,1637,1648,1579,1453,1752,1497,1560,1592,1479,1519,1484,1500,1395,1294,1332,1225,1226,1238,1432,1516,1281,1450,1811,2255,2112,1644,1715,1784,1385,1322,1324,1280,1329,1424,1295,1411,1600,1815,1672,1388,1363,1304,1406,1272,1344,1381,1609,1586,1645,1549,1766,2171,2618,2592,2007,1794,2117,2063,1769,1792,2010,2260,1984,1710,1810,1528,1294,1404,1463,1504,1547,1674,1980,2202,2014,2104,1758,1242,1171,1187,1396,1432,1291,1536,2262,2734,2161,1715,1654,1601,1667,2662,3875,2840,1756,1562,1686,1689,1137,1302,2195,1958,1924,1491,1546,1617,1832,2574,3254,3700,2613,1526,1808,1734,1757,1574,1705,2557,2543,1750,1641,1591,1519,1624,1782,1960,1863,1744,1805,1963,2315,2959,3715,3262,2542,2467,2941,3050,2533,2505,2700,2799,2578,2109,1688,1826,2089,1924,2169,2583,2441,2228,2050,2158,2750,2978,3110,2820,2418,2192,1949,1498,1624,1600,1503,1405,1422,1613,1810,1953,2025,1880,1788,1940,1961,1826,1741,1819,1909,1795,1778,2107,2524,1927,1460,1361,1344,1750,2117,1868,2376,2789,2597,2517,2391,2356,2206,1639,1850,2048,1973,1660,1917,2419,2435,2314,2135,2045,1986,1735,1382,1573,1583,2282,2374,1939,1681,1608,1646,1725,1782,1741,1473,1625,1808,1660,1503,1842,2272,1809,2066,2348,2868,3190,2800,2440,2159,2159,3000,4293,3828,2997,2723,2032,1626,1724,1771,1679,1938,2037,1966,2352,2272,1717,1429,1569,1611,1514,1613,1529,1593,1903,2228,2381,1958,1484,1432,1337,1336,1686,1664,1512,1402,1399,1627,1534,1481,1532,1587,1568,1610,1622,1732,1864,1863,1697,1697,1776,2244,2614,2171,1807,1882,1811,1924,2027,1944,1909,1887,2188,2759,2326,1679,1516,1655,1656,1540,1536,1440,1377,1415,1629,1862,1617,1750,1439,1415,1466,1347,1338,1378,1464,1631,1682,1683,1678,1625,2293,2133,1667,1687,1334,1347,1608,1489,1412,1400,1440,1493,1640,1532,1383,1458,1597,1377,1644,1991,1977,2075,2102,1833,1403,1485,1638,2181,2108,2591,1845,1410,1471,1592,1436,1677,2081,1816,1512,1449,1461,1330,1352,1436,1401,1432,1350,1399,1443,1516,1703,2029,3096,3581,3075,2028,2127,2259,1854,2681,2554,1896,1875,1750,2069,2467,2100,1732,1842,1738,2589,2248,1753,1939,2118,1931,1807,1876,1643,1648,1704,1908,2322,2903,2659,1928,1633,1701,1432,1628,2238,2744,3458,3749,3138,2539,2314,1959,2093,2668,2564,2018,1723,1534,1488,2420,2385,1842,2098,1661,1759,2326,2875,2555,1684,1614,1642,2203,1923,1776,2097,1766,1483,2006,3157,3542,3554,3406,2364,1764,1619,1628,2580,3000,2751,2180,1570,2222,2977,3493,3431,2503,2480,2495,2245,2126,2150,2056,2578,2930,2544,2526,3013,3008,3395,3451,3570,3201,2268,1610,1817,1890,1597,1503,1636,1726,2105,2085,1358,1289,1593,1626,1975,2748,3695,3683,3210,3056,2496,2354,1780,1778,2165,1873,1594,1934,2850,2182,1285,1284,1431,1272,1517,1663,1332,1454,1477,1596,1948,2053,1816,1738,1552,1631,1590,1439,1378,1412,1480,1353,1323,1491,1494,1458,1610,1521,1549,1499,1455,1400,1254,1455,2044,1892,1501,1495,1422,1694,1767,1616,1744,2055,1898,1517,1524,1298,1432,1438,1317,1426,1388,1332,1378,1317,1333,1299,1334,1377,1332,1505,1759,1367,1284,1290,1300,1383,1350,1412,1400,1445,1610,1622,1722,1784,1448,1337,1621,1610,1659,1570,1494,1758,1904,1550,1392,1388,1455,1773,2066,1905,2001,2541,2137,1659,1716,1413,1309,1441,1411,1217,1245,1536,1832,1396,1156,1085,1348,1295,1377,1430,1886,2265,2395,2159,1758,1718,1882,1693,1953,1859,1610,1454,1439,1373,1333,1371,1384,1443,1570,1570,1190,1091,1415,1741,1532,1443,1399,1418,1476,1786,1782,1473,1315,1266,1350,1338,1324,1383,1477,1561,1355,1434,1364,1431,1886,1804,1654,1554,1990,2475,1732,1565,1592,2065,1939,2043,2127,2047,1977,1846,1719,1923,2064,1992,1915,1629,1947,2548,2844,2613,2166,1810,1968,2395,2708,3332,3176,2209,2017,2541,2232,2195,2322,1909,1854,1755,1990,2352,2812,2696,2696,2920,2558,2701,2505,2323,1961,2025,2084,2414,2824,3019,3363,3249,2858,2293,1881,2394,2932,2933,2458,2378,2259,2257,2522,2512,2016,1759,2198,2262,1948,2132,2299,2090,2284,1706,2075,2234,2315,3086,4057,4229,3576,2835,2311,2200,2416,2373,2261,2081,2308,1676,1887,1991,2044,2354,2252,2141,2319,2305,2145,2006,1543,1695,2312,2490,2657,2238,1833,1955,1990,2057,2096,1687,1911,2508,2555,2652,2431,2233,2688,2299,1548,1559,1903,1876,1714,1708,1356,1261,1713,1607,1560,1577,1488,1322,1265,1399,1537,1503,1372,1467,1663,1638,1461,1896,1417,1195,1664,1957,1901,2220,2382,2131,2154,2508,2580,2884,3033,3183,3303,2664,1961,2316,2542,2165,1969,1898,1817,1787,2130,2340,1539,1918,2042,1610,1818,1690,1547,1651,1471,1367,1463,1251,1285,1375,1344,1523,1475,1529,1445,1389,1478,2040,2451,2082,1664,1643,1876,1956,1830,1914,1938,2273,2573,3210,2828,2293,2314,2257,2719,3282,3228,2921,3416,3172,2359,2088,1844,2074,2153,2002,1988,2153,2373,2612,2265,1699,2148,1861,1873,1979,2261,2159,2191,2177,2522,2070,1342,1714,2025,2388,2752,2596,2274,2341,2182,1613,2087,2578,2441,2072,2062,2047,1982,1993,1969,2053,1956,2259,2193,1558,1256,1573,1621,1899,2015,1989,2159,2696,3149,3472,3362,3366,2386,1722,1594,1864,2328,2400,2302,1778,1731,2018,2092,1843,1786,2183,2056,2373,2832,2688,2380,2244,2155,1941,2661,2728,2639,2494,1742,1438,1644,1922,1914,1507,1508,2279,2390,1846,1708,1709,1852,1861,1822,1958,1792,1471,1318,1388,1428,1434,1437,1361,1296,1273,1414,1513,1341,1499,1488,1502,2076,2175,2106,2343,2460,2626,2630,2830,2730,1888,1373,1683,1666,1329,1221,1317,1408,1395,1460,1490,1593,1514,1392,1507,1677,2668,2953,2480,2148,1997,1779,1623,1621,1711,1707,2231,3119,3011,2576,2206,2262,2045,1592,1803,2339,2520,2906,2718,2710,2536,3022,2360,2261,2376,2030,1736,1735,1878,1808,1987,2271,2074,2508,3089,3417,3312,2940,2111,1990,2156,2260,2234,2170,2944,3054,2518,1895,1381,1423,1936,1828,1589,1795,1844,1534,1586,1640,1804,1753,1172,1125,1220,1504,1858,1802,1634,2120,2254,2482,2418,2092,1658,1672,1983,2236,1539,1551,2020,2403,2608,2416,1989,1815,1758,1416,1521,2481,2483,2298,1990,1759,1825,1936,2188,1798,1665,1717,1613,1776,1786,1964,1878,2595,2912,2620,2044,1998,2031,1679,1577,1795,2040,2563,2754,2446,2381,2598,2934,3208,3254,2825,2779,2482,2218,2121,1849,1738,2054,2338,2232,1672,1560,1700,1723,1865,1940,1708,1479,1832,2065,2476,2089,1525,1383,1655,1714,1948,2349,1808,1658,1632,1592,1758,1855,2698,3242,2243,2041,2328,2016,2192,2441,2335,2250,2337,2030,1978,2277,2610,2698,2412,2833,3105,3624,3018,2543,2961,3108,2744,2856,2733,2434,2464,2366,2046,1986,2078,2264,2149,1600,1669,1750,2086,2518,2789,2687,2292,2316,2468,2410,2042,2175,2598,2276,2117,3212,3830,3683,3802,3917,3563,3368,3461,3697,3647,3471,3156,2623,2029,1589,1549,1975,2709,3339,3470,3352,3109,2833,2894,2812,2098,1894,2812,3270,3488,3653,3804,3824,3472,3535,3537,3363,3388,3212,3976,3426,3277,2341,2279,2754,2891,2363,2147,2307,2259,1730,1876,1817,1446,1813,2370,2719,2602,1938,1401,1408,1519,1459,1754,2586,2850,2907,2981,2407,2281,2728,2945,3094,3055,2894,2752,2648,2470,2454,2345,2081,2366,2727,3160,3189,3002,2351,2010,1774,1387,1797,2573,2186,2264,2763,2867,2578,2500,2550,2945,3274,3152,2973,2876,2683,2219,1728,1870,1987,2052,1666,1816,2412,2069,1992,2462,1974,1623,1937,2714,3034,2787,2149,2030,1858,2090,2526,2494,2018,1716,1761,1956,2026,1909,1757,1891,1869,1762,2243,1970,1263,1705,2265,2363,2191,1742,2011,2244,2192,1868,1653,1692,1498,1501,1655,1677,1782,1896,1755,1961,1975,1688,2039,2546,2592,1926,1628,1992,2152,1748,1560,1878,2011,1693,1744,2037,1968,1892,2074,2308,2901,2526,1904,1664,1810,1860,2035,2208,1957,2030,2061,2552,3075,2588,1908,1698,1650,1714,1647,1582,1781,2480,3297,2259,2230,2379,1832,1738,1806,2176,2597,2589],[2155,2318,2710,2646,2613,2634,2650,2467,2183,2271,2084,2078,2302,2466,2166,2151,2084,2176,2056,2144,2458,2305,2278,2204,2181,2007,2244,2445,2407,2790,3035,3152,2973,2822,2929,3138,3330,3427,3016,2833,2766,3293,3401,3171,3031,2989,3131,3162,3458,3606,3383,3144,3356,3052,1765,1924,1422,1528,2055,2751,3310,3422,3614,3434,3130,2676,1735,1655,1865,1705,1498,2048,2107,1658,1517,1653,2026,2232,2043,1895,2167,2127,2114,1734,1467,1518,1604,1682,1669,1628,1718,1650,1997,2267,2191,2226,1848,1776,2012,2201,2264,2041,2193,1919,1926,1909,1592,2194,2793,2632,2905,3020,3321,3372,3105,2438,3023,3790,3262,2367,1976,2195,2476,2204,1654,1500,2024,2192,1659,1282,1264,2098,2480,2074,2189,2688,3019,3222,2769,2584,3011,2501,2253,1884,1702,1748,1825,2364,2912,2933,2598,2479,2405,2565,2407,1966,2468,2257,2333,2340,2530,2591,2639,2654,2359,2279,2229,2276,1873,1929,2603,2551,2689,2458,1925,2288,2184,1821,2160,2195,1815,2109,1829,1760,1670,1541,1523,1673,1896,2046,1704,1619,2164,2151,1981,2045,1901,1926,1946,2012,2023,2048,2208,1897,1556,1585,1796,1627,1758,1924,1947,2142,2618,2764,3165,3440,2602,2305,2344,1979,1691,1980,2450,2264,2175,2833,3683,3395,2249,1677,2164,2725,3108,2905,2718,3239,3269,2346,1855,1806,1461,1549,1692,1497,1873,2081,1784,1469,1480,1825,1727,1480,1730,1952,1945,1687,1394,1433,1490,1926,2086,1987,1562,1332,1350,1516,1514,1483,1460,1522,1299,1243,1292,1483,1346,1265,1599,1723,1768,1753,1632,1687,1649,1420,1322,1609,1724,1562,1594,1556,1509,1693,1732,1516,1462,1511,1288,1328,1282,1398,1497,1800,1813,1663,1471,2032,3042,3260,2984,2422,2180,2355,1803,1669,1779,2083,1998,1666,1611,1724,1605,1642,1656,1586,1538,1442,1321,1873,2608,2295,2138,2028,1466,1131,911,950,1229,1459,1492,2096,2778,2226,1802,1854,1553,1682,2298,2798,2608,2132,1736,1563,1594,1366,1642,1889,1840,1601,1433,1481,1623,2032,2434,2592,2356,1813,1117,1442,1507,1449,1301,1759,2273,2320,1732,1646,1556,1594,1806,1671,1726,1592,1507,1858,2287,1976,2136,2862,2680,2287,2514,2647,2508,2357,2775,2851,2591,2657,2039,1764,1703,1537,1560,1857,2033,2201,2591,2580,2994,3783,3309,2463,2236,1835,1867,1810,1696,1698,1728,2026,1558,1332,1615,1775,1744,1984,1969,1398,1478,1846,1843,1880,2297,2588,2558,2195,2101,2432,1768,1862,1692,1688,1595,1731,1811,2004,1943,1554,1888,1852,2231,2541,1845,1879,2291,2262,1728,1619,1865,1941,1736,1911,2519,2580,2283,1518,1942,2071,2193,2417,2231,2178,2167,2247,2239,2319,2103,1793,1897,1994,2098,1993,1938,1813,1337,1591,1974,2344,2887,2867,2311,2267,2409,2553,3066,3599,3812,3024,2138,1820,1786,1773,1775,2071,1871,1748,1838,1911,1562,1455,1757,1598,1512,1516,1455,1548,1656,1877,1744,1499,1481,1486,1448,1568,1756,1810,1652,1480,1448,1513,1490,1505,1835,1788,1763,1814,1622,2541,2818,1930,1541,1541,1374,1969,2532,2251,1754,1583,1834,2281,2203,2101,1896,1874,1996,2332,2222,1891,1815,1836,1729,1486,1688,1574,1429,1929,1999,1743,1655,1552,1372,1343,1366,1356,1366,1448,1496,1714,1901,1668,1639,1555,1874,1879,1456,1284,1500,1721,1657,1516,1411,1445,1475,1529,1587,1414,1432,1493,1583,1513,1792,1968,1909,2076,2030,1810,1455,1570,1916,1964,1720,1635,1426,1471,1419,1385,1431,1694,2069,1832,1694,1331,1371,1525,1772,1650,1516,1368,1340,1513,1542,1685,2225,2247,2865,3055,2842,1773,2230,2123,2521,3108,2248,1833,1792,1869,2657,3057,2545,1656,1674,1722,1732,1721,1805,1949,2098,2025,1898,1844,1606,1749,1961,1789,1925,2310,2172,2250,1906,1627,1888,2193,2470,2890,3276,2829,2539,3248,2724,2144,2514,2580,2699,2732,1996,1475,1544,2062,2396,2140,2314,1903,2236,2768,2752,2535,1996,1529,1433,1742,1548,1571,2133,1934,1814,2033,2536,2111,2240,2646,2040,2053,2175,2026,2777,2987,2369,1875,1416,2027,2287,2713,3099,2131,1720,2036,2191,2008,1941,1917,2601,2739,2366,2915,3737,3882,3893,3729,3609,2741,1724,1445,1470,1699,1512,1487,1827,1929,2189,2185,1305,1221,1601,1702,1821,2451,3409,3405,3178,3737,3672,2968,2392,2023,2332,2220,1961,2543,3256,2388,1445,1457,1666,1097,1531,1435,1323,1462,1395,1393,1497,1394,1394,1443,1483,1533,1528,1402,1426,1409,1484,1290,1458,1564,1367,1685,1908,1724,1707,1629,1608,1472,1385,1455,1691,1486,1501,1599,1705,1776,1657,1487,1481,1550,1590,1851,2088,1814,1701,1423,1394,1323,1400,1354,1255,1273,1268,1335,1478,1485,1424,1488,1684,1406,1281,1237,1310,1271,1431,1714,1680,1772,1780,1597,2276,1775,1449,1344,1360,1568,2060,1827,1706,2380,2172,1455,1571,1371,1238,1785,2397,1866,1461,1657,1756,1894,1632,1349,1511,1571,1407,1166,1284,1373,1730,1523,1302,991,1164,1320,1368,1454,1594,1654,1600,1554,1763,1640,1772,1657,2024,1736,1398,1429,1417,1275,1324,1493,1628,1627,1582,1505,1163,1046,1343,1654,1617,1388,1211,1139,1230,1452,1444,1395,1339,1234,1220,1430,1729,1682,1659,1734,1404,1815,1805,1599,1936,1917,1886,1543,1692,1855,1528,1470,1551,2272,2241,2187,2054,1991,1909,1780,1592,1760,1893,1978,1686,1729,2331,2259,2656,2318,2056,2575,2896,2541,2690,3130,2978,2665,2545,1947,1571,1774,2181,2057,1641,1828,2320,2806,2968,2721,2798,3047,2477,1803,1521,2191,1958,1990,1709,1880,2268,2552,2745,2743,2685,1920,1676,2419,3242,3222,2290,2105,2116,2206,1955,1671,1920,2141,2590,2110,2154,2824,2620,2237,2198,2485,2477,2299,3045,3637,3866,3952,3176,2357,2547,2593,2389,2129,2129,1884,1946,1814,1681,1694,2001,2107,1786,2136,2437,2300,2231,2064,1810,2036,2519,2652,2564,2149,2021,1985,1918,1771,1357,1435,2228,2497,2397,2679,2277,2183,2221,1882,1640,1919,2191,2186,1769,1543,1385,1561,1608,1521,1722,1662,1617,1681,1433,1478,1681,1771,1563,1542,1625,1549,1650,2310,1811,1433,1692,1961,2262,2417,2542,2526,2131,2720,2873,2915,3098,3163,3084,2302,2371,2971,2767,2417,2025,2492,2526,2670,2690,2513,2382,2416,2041,1909,1824,1688,1788,1671,1393,1464,1455,1314,1428,1699,1577,1452,1562,1609,1408,1304,1482,1877,2072,1705,1403,1443,1540,1566,1808,2183,2441,2412,2191,2055,2038,2343,1781,1664,2618,3322,3580,3094,3144,2810,2581,2776,2943,2598,2198,2248,2215,2358,2658,2900,2002,1667,1745,1710,1928,2370,2249,2041,2265,2657,2426,1219,1721,1959,2146,2460,2075,1991,2068,2332,2350,2108,2092,2341,2444,2024,2067,2055,2108,2105,2031,2011,1990,2095,1996,1450,1438,1468,1807,1996,2401,2193,2177,2843,3275,3359,3261,3275,2677,1907,1671,1617,1275,1539,1938,1628,1924,2099,1952,1984,2098,2397,2319,2386,2377,1952,1985,2427,2409,2098,2236,1866,1740,1681,1571,1783,2084,1923,1462,1306,2052,2521,2277,2152,1889,1610,1795,2055,2060,1892,1822,1615,1396,1437,1305,1288,1221,1220,1397,1258,1210,1204,1461,1597,1637,1824,1925,2021,1945,1882,1715,1756,1886,2220,2210,1554,1317,1487,1526,1374,1390,1583,1614,1541,1437,1453,1490,1504,1549,1464,1572,2013,1919,1569,1346,1267,1400,1598,1674,1738,1737,2897,4121,3759,2925,2154,2159,2286,1861,1865,2090,2189,2210,1945,1799,2105,3119,2626,2056,2171,1914,1709,1998,1961,1777,1933,1808,1693,1765,1952,2631,3053,2547,1828,2258,2423,2583,2460,2140,2702,2644,2158,1606,1366,1422,1559,1623,1572,1841,1940,1779,1832,1764,1978,2031,1528,1119,962,1320,2013,1892,1753,2169,2323,2369,2138,2110,1432,1741,2229,2342,1848,1721,2009,1983,1786,1964,2129,1794,1384,1002,1384,2303,2208,2195,2036,1957,1843,2208,2596,2169,2023,1926,1856,2077,1953,1686,1848,2505,3354,3190,2390,2235,2125,1902,1883,2053,2231,2493,2470,2452,2294,1970,2138,2756,2914,2639,2499,2172,2130,2120,2257,1782,1620,1814,1995,1763,2077,2420,2216,1881,1692,1561,1581,1482,1831,2552,1931,1617,1909,1753,1477,1776,1875,1757,1795,1776,1871,1958,1774,2062,2235,2061,2038,2117,2070,1816,2058,2387,2404,2488,2157,1925,2219,2497,2369,2668,3257,3354,3079,2732,2704,2713,2829,3284,3272,2784,2473,2396,2495,2182,2018,2285,2137,1668,1381,1534,1720,1824,2143,2953,2417,1878,1891,2130,2471,2566,2534,2464,2837,2974,3270,3708,3669,3862,3927,3737,3703,3434,3674,3731,3574,3211,2773,2175,1667,1563,1797,2567,3317,3458,3343,3173,3011,3087,2880,2046,2399,3208,3469,3429,3275,3459,3431,3331,3688,3771,3927,3895,3282,2990,2874,3075,2696,2555,2921,2476,1803,2092,1973,2085,1902,2372,2557,1495,1451,2153,2925,2908,1825,1459,1548,1235,1377,1834,2743,2627,1854,2353,2328,2424,2884,2880,2916,2962,3059,2830,2555,2382,2392,2502,2500,2786,2787,2824,3001,2849,2102,1802,2078,2304,2777,3255,2669,2887,3379,3040,2750,2588,2647,2769,2536,2622,2531,2587,2852,2134,1942,2002,2171,2045,1628,1727,2199,2203,2161,2404,1785,1784,2360,3276,3438,3001,2620,2096,1698,1953,2371,2029,1570,1399,1422,1593,1906,2126,2077,2268,2139,1877,2100,1543,1177,1902,2279,2411,1981,1422,1549,2214,2358,2395,2120,1671,1561,1687,1579,1661,2139,2129,2314,2610,2391,2187,1946,2130,2213,2011,1729,1930,2499,2341,2066,2366,2349,1768,1774,2056,1841,1953,2258,2496,2469,1892,1684,2092,2222,2255,2128,1831,1763,1941,2181,2480,2596,2274,1902,1705,1681,1808,1870,1830,1850,1740,1799,2053,2216,2116,1875,1728,1950,2515,2498,2106],[2030,2202,2268,2592,2824,2668,2499,2507,2206,2224,2376,2095,1996,2353,2090,2045,2016,2100,2270,2752,2526,2302,2322,2012,1648,1653,2344,2551,2275,2485,2686,2330,1959,2133,2920,3506,3307,3199,2909,2708,3016,3383,3340,2865,2621,2911,3082,3215,3410,3472,3178,3073,3160,2821,1710,1916,1436,1009,1441,2499,3030,3347,3342,3176,2388,1938,1532,1550,1981,1618,1522,2144,1974,1681,1592,1559,2101,2176,2019,2223,2335,2189,2242,2036,1833,1692,1749,1711,1565,1470,1416,1504,1730,2266,2150,1864,2201,2106,2099,2116,2356,2174,1776,1753,2139,2164,1804,2439,2884,2563,3106,2964,3384,3931,3254,2192,2391,3021,3096,2610,2248,2149,2049,2083,1886,1904,2314,2195,1970,1807,1924,2515,2474,1746,1871,2293,2708,2895,2360,2724,3338,2844,2296,1819,1903,1877,2114,2802,3375,3647,2768,2674,2814,2690,2232,2107,2441,2304,2635,2867,2699,2130,1891,1863,1686,1713,2004,2571,2324,2677,3122,3068,2657,1839,1703,2111,1999,1777,2082,2495,1998,2139,2130,1887,1745,2381,2688,2383,2514,2161,1562,1926,2647,2566,2879,2725,2447,2165,1797,1852,1922,1819,1721,1806,1948,2183,2363,1835,1691,1705,2043,1893,2186,2617,3263,2998,2326,2107,2207,1925,1589,1997,2512,2236,2335,2281,3356,3548,2429,1926,2589,3107,3069,3020,3343,3073,2302,1824,2014,1677,1560,2501,3007,2553,2249,2047,1625,1395,1555,1561,1396,1452,2117,2193,2080,1908,1550,1413,1744,2604,2959,2111,1544,1383,1384,1400,1320,1557,1520,1710,1598,1372,1266,1217,1194,1375,1607,1458,1390,1456,1473,1465,1522,1480,1439,1829,1870,1556,1572,1660,1665,1671,1426,1527,1514,1996,2066,1459,1296,1359,1507,1657,1538,1418,1462,2295,3383,3072,3017,2622,2186,2126,2176,1902,1644,1809,1670,1603,2027,1996,1693,1617,1506,1370,1294,1239,1452,2801,3050,1807,1736,2082,1824,1610,1389,1473,1589,1578,1542,2002,2602,2178,1912,1717,1514,1823,1987,2393,2366,2155,1688,1669,1671,1499,1405,1533,2170,2013,1614,1575,1814,1997,2200,2039,1976,1948,1438,1176,1522,1412,1244,2004,2902,2586,2140,1865,1600,1514,1598,1669,1481,1300,1618,2610,2507,1593,1700,1930,1860,2362,2777,2314,2100,2353,2696,2756,2618,2486,1975,1856,1633,1433,1770,1857,2024,2696,3024,2674,2906,3393,3024,2198,1850,2054,2292,1936,1842,1808,1816,1926,1076,1095,1478,1521,1500,2051,1967,1585,1816,1886,1739,1853,1936,2099,2376,2525,2284,2010,2072,2326,2648,2624,2080,1933,1815,2021,2018,1604,1726,1747,1836,2222,1816,1717,2104,2003,1675,1605,1842,2022,2036,1949,2160,2277,2258,1939,2078,2176,2141,2249,2389,2423,2512,3038,3255,3431,2532,1704,1838,1877,2046,2037,2066,2080,2248,2613,2742,2806,3064,2727,2221,2368,2250,2061,1854,2729,2871,2259,2184,2045,1799,1790,1898,2170,1764,1487,1372,1527,1404,1477,1549,1435,1527,1448,1434,1552,1425,1507,1410,1635,1598,1464,1426,1529,1764,1962,1814,1645,1574,1542,1656,1592,1760,1728,2482,2116,1566,2120,2101,1531,1415,1614,1948,2094,1780,1626,1524,1608,1710,2031,2219,2479,1773,1390,1626,1880,1875,1797,1817,1860,2003,1790,1924,1771,2181,2733,2308,1942,1787,1567,1597,1523,1433,1411,1593,1828,1720,1778,1819,1708,1664,1605,1681,1712,1342,1276,1588,1506,1448,1556,1562,1519,1500,1591,1542,1379,1346,1431,1567,1517,1424,1239,1466,1727,1901,1760,1426,1523,1782,1974,1960,1520,1576,1858,1573,1582,1401,1372,1729,1675,1836,1615,1358,1873,2151,1663,1548,1533,1253,1357,1614,1919,2834,2808,2732,3061,2379,1583,2192,2453,3111,2769,1873,1792,1730,2566,3142,2079,1792,1726,1958,1813,1747,1786,1714,1672,1898,2154,1842,1609,1656,1736,1875,1837,2066,2083,1689,1970,1920,1464,1790,2093,2082,2319,2709,2090,2200,2409,1810,2369,2432,2001,2460,2485,1532,1460,1925,2754,2755,2416,2501,2473,2724,2630,2878,2788,1912,1607,1509,1633,1499,1783,2221,2122,2063,1890,1878,1844,1536,1487,1879,2667,2323,1743,1936,2409,1844,1578,1558,1578,1372,1736,2226,1851,1536,1983,1894,1631,2124,2039,2734,2874,2546,2921,3836,4110,4127,3908,3591,2667,1500,1457,1482,1641,1848,2449,2026,2182,3002,3250,2504,1766,1692,1651,1774,2114,2917,3095,3426,3565,3610,3610,3127,2508,2915,3687,3498,3394,3056,1914,1734,1953,1897,1655,1884,1593,1435,1462,1506,1512,1539,1565,1680,1541,1500,1401,1622,1541,1566,1382,1404,1448,1600,1672,1663,1560,1550,1767,1902,1569,1478,1412,1478,1636,1571,1604,1571,1735,1927,1784,1484,1538,1427,1384,1484,1468,2144,2236,1912,1512,1310,1244,1341,1357,1442,1544,1368,1363,1417,1411,1358,1667,1671,1428,1317,1294,1362,1287,1412,1568,1521,1732,1870,1521,2094,1654,1822,1563,1302,1606,1881,1635,1786,2251,1796,1405,1515,1389,1252,1877,1942,1581,1416,1550,1527,1517,1669,1601,1511,1612,1724,1305,1309,1344,1536,1776,1607,1135,1082,1256,1359,1479,1328,1438,1498,1534,1786,2008,1564,1625,1923,1510,1417,1516,1386,1528,1648,1532,1445,1488,1349,1301,1221,1181,1348,1606,1693,1378,985,984,1282,1556,1531,1397,1215,1361,1481,2049,2483,1852,1690,1632,1253,1461,1670,1490,1901,2177,2056,1383,1436,1819,1592,1589,2317,2518,2575,2577,2046,2080,1638,1705,1383,1609,1740,1536,1759,2246,2436,2466,2304,2224,2712,3011,3254,3113,2916,2578,2226,2700,2743,1937,1938,1931,2304,2262,1703,2104,2740,2454,1958,2460,2734,2126,1929,1677,1902,2112,2287,2432,2298,2289,2334,2785,3006,2270,2042,1729,2216,2701,3075,2632,2193,2435,2270,2373,2367,2059,2446,2696,2569,2753,3441,3845,3277,2389,2577,3173,2910,2787,3047,3460,3545,3536,2798,2515,2152,1731,1658,1545,1628,1943,2392,2346,1924,1870,2384,2048,1466,2036,2401,2701,2107,1592,1471,1864,2248,2352,2142,2011,2204,2162,1912,1656,1091,1782,2555,1922,2130,2710,2854,2488,1853,1925,1920,2105,2172,1859,1698,1629,1490,1252,1542,1936,1976,1632,1410,1376,1402,1575,1653,1627,1685,1639,1774,1610,1478,1697,1685,1649,1692,2074,2332,2252,2470,2292,2270,2287,2282,2789,3181,3347,2768,2161,2718,2509,2093,2256,2084,2605,2532,2313,2314,2546,2291,2032,2257,2077,1533,1553,1686,1520,1512,1654,1618,1476,1396,1614,1767,1709,1859,1862,1353,1246,1389,1441,1764,1592,1685,1517,1358,1362,1437,1731,2322,2798,3028,2532,2083,2295,1807,1537,2610,3422,3601,3440,2934,2442,2447,3044,3310,2764,2552,2491,2965,3339,2600,1957,1504,1519,1539,1612,1880,2239,2001,1945,2238,2513,1377,1510,1906,2172,1793,1808,2025,2170,2030,2159,2384,2367,2186,2019,1913,1951,1887,2189,2320,1974,1684,1712,1800,1736,1511,1382,1767,1637,2140,1934,1836,1863,2008,2785,3404,3540,3463,3450,3098,2016,1780,1786,953,1415,1952,2082,2057,1743,1676,2073,2254,2147,2114,2142,2182,2359,2565,2670,2196,2023,2024,1914,1618,1700,1896,1992,1981,1724,1291,1633,2358,2500,2308,2534,1753,1187,1562,1877,1874,1827,1890,1680,1354,1321,1334,1228,1182,1275,1390,1358,1376,1357,1395,1296,1442,1601,1536,1522,1689,1687,1802,2043,1979,2010,1968,1538,1332,1582,1514,1345,1392,1462,1360,1409,1543,1582,1624,1659,1627,1517,1686,1902,2011,1514,1379,1559,1730,1589,1469,1671,1608,2584,3006,2081,1825,2232,2578,2335,1860,2031,1832,1600,1690,1537,1730,2328,2934,2663,2036,1863,1778,2002,2151,2148,2220,1916,1620,1762,1674,1500,1664,2101,1912,2076,2785,2397,2368,2328,2094,2070,2128,1909,1752,1462,1538,2080,1932,1663,1787,1953,2185,2542,2352,1924,1896,1648,1273,1600,1804,1627,1268,1233,1606,2097,1930,1814,1793,1771,1837,1947,2479,2322,1914,1835,2026,2153,2260,2406,1680,970,933,1581,1945,1768,1746,2138,2296,1824,1773,1976,2055,2388,2435,2448,2442,2008,1720,1880,1806,2333,2446,2209,2301,2195,2115,2075,2190,1873,1888,2256,2240,2250,2217,2103,2381,2790,2687,2636,2358,2013,1909,2712,2281,1387,1438,1825,1848,2315,2673,2183,1832,1779,1678,1827,1482,2023,2210,2114,1998,2200,1821,1749,1985,2004,2058,1722,1427,1593,1495,1526,1587,1618,2104,2004,1996,2065,1751,1924,2280,2395,2798,2382,2028,2556,2403,2069,1912,2556,2837,2620,2690,2958,3037,3095,3355,3015,2733,2092,2077,2293,2220,2201,2099,1851,1574,1355,1516,1723,1871,2181,2762,2164,1765,1608,1736,2093,2661,3022,2849,2712,2542,2855,3522,3684,3890,4094,3911,3842,3405,3403,3616,3581,3504,3282,2568,1810,1692,2038,2660,3167,3459,3138,3190,3239,3290,3237,2984,3055,3341,3522,3326,3114,3329,3320,3098,3439,3559,3760,3604,2563,1791,2282,2784,2945,3408,2884,1711,1692,2111,2290,2382,2198,2889,3435,2344,1614,2100,2588,2469,1813,1586,1451,1394,1636,1717,2264,2186,2078,2486,2440,2551,3017,2756,2782,3155,3466,3271,2711,2744,2836,3066,3259,3349,3274,2924,3027,3009,1977,1916,2075,2744,3113,3152,3023,3376,3120,2446,2286,2144,2079,2612,2910,2300,2055,2465,2854,2288,2117,2316,2353,1982,1841,1750,1860,1952,1756,1730,1627,2050,2729,3270,3348,3284,2736,2224,2142,2308,2382,1638,1563,1526,1397,1697,1886,2032,2188,2244,2248,2363,2404,2122,2182,2279,2361,2414,1547,1221,1273,1466,2020,2491,2188,1670,1800,1986,1903,1903,2502,2040,2013,2967,2788,2224,1978,2596,2618,2190,1847,1763,2064,2424,2296,2304,2428,1886,1892,1974,1904,2020,2208,2168,1708,1554,1882,2666,2065,2172,1958,1671,1898,1819,1986,2136,1999,1994,2107,2040,2335,2523,2438,2250,1828,1838,2055,2044,1938,1852,1671,1761,2614,3536,3331,2802],[2527,2742,2220,2568,3017,3029,2665,2395,2020,2012,2362,2517,2588,2553,2256,2106,2085,2054,2504,3300,2809,2603,2316,1753,1220,1847,2812,2875,2209,1658,1610,1676,2041,2020,2163,2654,2943,2948,2805,2900,3263,3426,3570,3352,2962,3206,3438,3597,3669,3968,3487,3701,3848,3006,2075,2082,1509,943,1560,1888,1759,2884,2788,2544,1940,1744,1572,1580,1836,1617,1554,1759,1652,1449,1394,1613,2005,1936,1825,1928,2445,2503,2305,2191,1876,1702,1762,1717,1409,1039,1324,1804,2009,2081,1981,2569,2718,2218,2079,2232,2537,2455,1815,1782,1878,2082,2225,2415,2383,2147,2457,2502,2981,3904,3840,3184,2855,2865,2995,2835,2644,2137,2550,2798,2768,3067,2966,2657,2566,2371,2732,3034,2543,1786,2168,2330,2173,2387,2435,2701,2585,2617,2324,1870,1870,2299,2458,2774,2929,2912,2320,2820,2846,2756,2538,2657,2575,2680,3481,3467,2880,1827,1504,1838,1674,1358,1745,2474,2240,2283,2481,2272,2274,2325,2406,2877,2612,1869,2085,2378,1903,1895,2306,2143,1809,2401,2853,2915,3119,2621,2029,2387,2675,2883,3284,3068,2309,1929,2141,2051,1876,1570,1413,1697,2032,2263,2219,2006,1837,1700,1871,1949,1776,1918,2013,2094,2170,1791,1849,1875,1705,2543,2599,2652,2444,1616,2063,2843,2468,2173,3156,3904,3772,3318,3107,2224,1762,1850,1599,1397,1957,3225,3936,3357,2492,2303,2014,1478,1349,1252,1418,1526,1881,1940,1599,1417,1387,1411,1460,1885,1923,1480,1470,1276,1386,1323,1329,1534,1395,1292,1396,1455,1266,1265,1224,1342,1663,1582,1594,1449,1465,1602,1971,2038,1694,1590,1539,1400,1537,1753,1512,1428,1641,1603,1389,2334,2348,1532,1328,1352,1483,1558,1383,1445,1516,2106,2854,2363,2714,2614,2050,2035,2120,1641,1565,1970,2154,2238,2520,2127,1757,1497,1304,1237,1456,1568,2243,3234,2463,1246,1953,2238,2051,2093,1985,1912,1354,1404,1485,1597,1922,1938,1929,1720,1721,2029,1826,2074,1623,1939,1890,1889,1790,1858,1566,1561,1943,1756,1449,1577,1819,1799,1931,1653,2531,2176,1610,1458,1384,1150,1205,2408,3119,2791,2404,1715,1510,1435,1593,1799,1735,1604,1502,2209,1913,1374,1788,1762,1621,2315,2657,2465,2264,2120,2148,2045,1986,1757,1643,1972,1738,1412,1700,1988,2101,2776,2836,2359,2944,3152,2705,2175,2312,3378,3133,2486,2073,1865,2023,1613,897,1071,1349,1367,1921,2405,1925,1607,1472,1455,1689,1923,1967,1886,1853,2052,2088,2105,2282,2331,2542,2558,2339,2018,1749,1664,1661,1648,1656,1789,2106,2352,1952,1675,1609,2063,2106,2005,2337,2068,2002,1618,1643,2006,1719,1444,1645,1956,2324,2130,2030,1995,2154,3208,3200,3526,2507,1663,1771,1685,1794,2040,1972,2139,2854,3076,3217,2656,2526,2770,2243,2202,2493,2156,2126,2984,2779,1936,2237,2311,1827,1601,1703,1976,1912,1748,1599,1815,1634,1547,1528,1395,1454,1518,1458,1376,1409,1413,1375,1407,1382,1527,1731,1685,1537,1528,1603,1673,1780,1528,1667,1747,1580,1749,2610,2820,2212,2193,2075,1542,1505,1617,1618,1815,1759,1637,1743,1748,1462,1568,2064,2107,1622,1422,1638,1522,1359,1385,1561,1686,1675,1960,1948,1735,1931,2116,1890,1761,1797,1816,1823,1690,1741,1827,1997,1968,1737,1471,1397,1488,1527,1444,1383,1506,1519,1359,1354,1786,1543,1839,1733,1562,1397,1365,1471,1492,1381,1369,1780,1638,1462,1368,1422,1719,1841,1700,1613,1591,1531,1641,1776,1425,1555,1550,1430,1346,1360,1384,1527,1448,1785,1937,1625,1535,1555,1444,1484,1442,1392,1533,1365,1840,2547,2558,2214,2513,1841,1621,2200,2763,3434,2224,1851,1709,1998,2784,2501,1692,1704,1887,1816,1518,1661,1846,1571,1605,1889,1879,1766,1728,1776,1787,1880,1853,1823,1825,1663,1633,1689,1513,1755,1946,1910,1874,2552,2323,2416,1767,1592,2354,2639,2814,2921,2494,1908,1963,2109,2524,2468,2374,2430,2691,2856,2524,2768,2428,1684,1590,1598,1903,1643,1986,2084,2014,2468,2288,1831,1933,1701,1499,2209,3249,2707,1942,1737,1953,1866,1632,1799,1606,1515,1964,1972,1722,2115,2352,2122,2166,2084,2031,2793,3099,2548,2877,3818,4023,3893,3792,3790,2810,1556,1673,1535,1846,2762,3622,2503,2556,3452,3388,2652,1962,2768,2770,2619,2347,2940,2655,2865,2897,2773,2886,2731,2365,2887,3936,4117,3651,2524,1707,1890,1716,1701,1904,1985,1999,1701,1463,1640,1454,1621,1891,2468,2454,2197,2224,2244,1873,1705,1784,1619,1393,1427,1521,1752,1521,1663,1777,1846,1433,1266,1286,1296,1529,1598,1439,1457,1702,1786,1765,1504,1458,1394,1361,1671,1544,1771,2142,1844,1413,1444,1296,1292,1490,1772,1832,1468,1275,1397,1294,1320,1450,1394,1396,1373,1392,1277,1310,1399,1358,1602,1849,1693,1813,1725,1438,2113,2070,1430,1791,1681,1302,1375,1497,1508,1463,1366,1339,1343,1729,1934,1713,1677,1823,1393,1356,1636,1708,1529,1634,1560,1293,1454,1547,1553,1644,1456,1187,1032,1115,1265,1267,1281,1326,1326,1469,2278,2648,1678,1252,1366,1352,1601,1754,1717,1746,1387,1384,1371,1345,1382,1351,1304,1268,1430,1733,1916,1570,1073,1175,1512,1566,1440,1338,1504,1924,2015,2523,2221,1609,1990,1509,1034,1583,1865,1747,2247,2251,2117,2105,2132,2165,2095,2774,3598,3007,2513,2197,2230,2004,1512,1721,1610,1539,1514,1833,2230,1918,1979,2283,2275,2777,2946,2523,3339,3546,2932,2257,2025,2786,2957,2141,1895,2342,2304,2084,1924,2669,2165,1582,1708,2124,1711,1420,1381,1301,1804,2453,2700,2469,2223,1979,2263,2742,3211,2757,1910,1828,2296,2449,2471,2228,2461,2597,2142,2475,2522,2099,2174,2473,2538,3326,4016,4288,3572,2652,2881,2753,2807,2342,1944,2831,3311,3081,2343,2563,1992,1833,1797,1549,1767,2071,2082,2114,2654,2665,2803,2060,1643,2020,2160,2436,2193,1963,2026,1969,2246,2177,1869,2293,2188,1715,1430,1171,993,1803,2056,1542,2020,3018,3055,2100,1841,2481,2633,2326,1874,1608,1653,1685,1405,1092,1242,1548,1697,1487,1306,1138,1300,1470,1681,1909,2170,2202,2318,1888,1898,2042,1802,1722,1895,1978,2058,2438,2280,2264,2766,2572,2254,2363,2802,2964,2307,2091,2337,2527,2591,2120,2124,2385,2205,1834,2016,2353,2385,2465,2228,1914,1649,1636,1568,1368,1765,1698,1620,1670,1433,1313,1541,1728,1906,2050,1688,1577,1570,1592,1876,1783,1648,1370,1368,1402,1373,1549,1907,2143,2408,1968,2312,2470,2083,1610,2497,3249,3016,3274,3431,3089,2381,2641,2696,2580,2330,2313,3187,3431,2609,1745,1570,1493,1588,1942,2441,2941,2474,1911,2067,2134,1208,1576,1992,1715,1377,1881,2445,2207,1983,1975,2124,2456,2552,1785,1507,1764,1972,2497,2408,1951,1627,1682,1659,1818,2288,2227,2222,2183,1904,1791,1765,1956,1964,2196,2897,3304,3208,3122,3032,2163,1604,1736,1032,1574,2050,2209,2084,2019,2182,2280,2234,2336,2698,2714,2524,2381,2375,2051,1455,1491,1920,1611,1484,2040,2141,2130,2141,1771,1861,2387,2448,1954,1918,2265,1993,1565,1644,1707,1577,1568,1830,1623,1276,1193,1222,1256,1356,1378,1433,1485,1375,1334,1417,1661,1568,1692,1716,1857,1938,1887,1962,1961,1762,1669,1722,1504,1325,1598,1499,1327,1378,1370,1335,1285,1324,1382,1455,1565,1607,1499,1550,1788,2186,2019,1796,1907,2015,1772,1516,1648,1556,1712,2182,2153,2262,2203,2300,1904,1710,1924,1886,1624,1482,1430,1818,2122,2134,1821,1698,1769,2032,2214,2071,2091,2549,2092,1478,1565,1581,1548,1674,1791,1727,1935,2243,2393,2019,1920,1898,2045,1919,1757,1671,1639,2201,2670,2203,2029,1957,1995,2157,2587,2555,2223,2071,1689,1754,2611,2237,1429,1012,1048,1575,2072,2060,1847,1608,1815,1732,2142,2725,2261,2162,2626,4206,3271,2762,2676,2154,1716,1570,1915,1964,1614,1692,2157,2054,1723,1425,1510,2022,2353,2505,2390,2263,1950,1877,1972,1864,2047,1915,1895,2144,2156,2467,2735,2585,2072,2014,2185,2157,1948,2099,2498,2785,2699,2518,2902,2799,2071,2131,2951,2249,1395,1598,1875,1969,2215,2427,2147,2068,1845,2156,2679,2471,2179,1835,1722,1889,1918,1744,2015,2186,1942,2341,2044,2061,1903,1543,1536,1794,2093,2192,1903,1672,1581,1780,1955,2276,2440,2648,2792,2471,2457,2169,1938,1691,1794,2177,2651,2957,3277,3275,3163,3007,2591,2171,1793,1875,1873,2073,2371,2239,2105,1975,1792,1699,1668,1809,1642,1626,1935,1701,1600,1933,2409,3272,3764,3316,2808,2264,2218,3205,3748,3798,3978,3737,3686,3479,3387,3551,3508,3504,3360,2692,2130,2093,2711,3042,3326,3473,3093,3064,3297,3494,3552,3447,3252,3560,3661,3352,3269,3485,3629,2986,2727,2563,2492,2967,2820,2432,2530,2412,2736,3108,1868,1471,1797,1874,2112,2283,2058,2631,3452,2873,2672,2711,2558,2325,1901,1656,1509,1671,1803,1775,1939,1924,1784,2193,2230,2279,3420,2797,2385,3098,3519,3442,3243,3353,3282,3349,3549,3425,3320,3089,3163,3277,2527,2713,2498,2829,3085,2826,2744,2526,2199,2334,2315,2040,1828,2700,3400,2303,1949,2107,2172,1904,1782,1955,1643,1681,2025,2024,2045,1903,1757,1697,2080,3116,2996,2507,2832,2902,2452,2396,2597,2706,2069,1626,1677,1761,1683,2100,1990,1818,2036,2263,2405,2169,2223,2478,2485,2303,2369,2140,1771,1525,1626,1738,1904,2002,1742,1610,2005,2200,2348,2248,2097,1666,1737,2491,2249,1669,2200,3247,3118,2374,1650,1773,2012,2258,2131,1865,1950,1926,1816,2031,2008,1788,2181,1963,1165,1667,2158,2549,2081,2000,1861,2055,2344,2253,2220,2079,2121,2144,2680,2286,2675,2488,2215,2480,2447,2350,2260,1950,1538,1483,1601,2311,3220,3683,3896,3196],[2073,2459,2430,2460,2554,3100,2566,1945,1937,2279,2309,2413,2921,2661,2214,2472,2460,2006,2425,2817,2850,2526,1886,1447,1836,2730,2984,2778,2526,1865,1958,1918,2094,2128,2321,2562,2676,2735,2947,3121,3304,3558,3728,3658,3416,3561,3646,3872,4111,4023,4078,4264,4311,3745,3007,2722,1797,1252,1584,2135,2278,2543,2434,2314,1938,1616,1550,1745,1962,1864,1487,1388,1635,1829,1704,1630,1459,1759,1868,1544,2016,2492,2244,2105,2003,2014,1732,1860,1931,1715,1732,2407,3090,2956,2236,1976,2427,2305,2019,2087,2081,1869,1802,2220,2098,2373,2384,2052,2053,2083,2394,2895,3297,3619,3351,3039,2844,2718,2824,2789,2362,2194,2534,2512,2705,3510,3328,2565,2796,2490,2634,3003,2824,2137,1970,1913,1759,2137,2448,2359,2401,2575,2557,2403,1965,2400,2232,3052,3366,3237,3261,3629,3400,3065,2574,2405,2965,3303,3693,3204,2453,1787,1459,1610,1740,1610,1812,2414,2740,2988,2787,2507,3219,3112,3205,3517,2822,2154,2021,2062,1852,1984,2294,2090,1848,1890,2231,2957,3297,2498,1974,1898,2052,2273,2698,2617,1947,2241,2740,2075,1712,1510,1462,1840,2398,2728,2458,2021,2001,1971,2130,2201,1879,1684,1537,1918,2015,1967,1794,1771,1801,2807,2855,2803,2483,1540,1433,1788,2223,2755,3196,3185,2714,2531,1845,1693,1897,1715,1456,1519,2077,3111,3696,3598,3025,2670,2373,1948,1776,1753,1521,1440,1425,1197,1247,1301,1324,1354,1338,1411,1403,1282,1310,1324,1388,1501,1538,1451,1298,1261,1518,1732,1359,1360,1443,1433,1603,1538,1515,1542,1493,1527,1654,1712,1622,1443,1385,1499,1709,1566,1260,1642,2327,1699,1283,1835,1771,1428,1334,1444,1389,1499,1600,1598,1498,1556,1864,2147,2238,2056,1742,1755,1686,1456,1480,1961,2353,2121,2264,1806,1578,1490,1389,1506,1931,2021,1970,2501,2260,1743,2706,2830,2209,2115,2116,2026,1720,1823,1793,1782,1979,1966,1900,2198,2390,2248,1824,2266,2137,2285,2200,2026,2120,2260,2092,1981,1785,1555,1499,1677,1695,1909,2170,2426,2732,2319,1721,1559,1693,1378,1878,3117,3021,2931,2838,2199,1952,1774,1735,1719,1610,1520,1430,1394,1169,1181,2077,2049,1886,2077,2382,2415,2143,1895,1938,1781,1626,1639,1600,1891,1432,1490,1818,2178,2292,2544,2713,2750,3637,3696,2840,2359,2409,3575,3632,3408,3088,2934,2506,1511,875,845,1088,1437,2061,2352,1771,1505,1412,1484,1414,1575,1833,1741,1865,1918,1838,1895,2002,2028,2121,2129,2243,1940,1843,1410,1594,1642,1591,2112,3169,2746,1932,1782,1587,2484,2317,2644,2876,2105,1989,1642,1744,2030,1506,1277,1465,1549,1714,1815,1858,1712,2086,2832,2688,2887,2280,1571,1535,1534,1867,2613,2610,2324,2433,2798,3038,2367,2508,3038,2758,2545,2467,2195,2182,2529,2191,1940,2492,2287,2029,1791,1586,1626,1726,1645,1747,1996,1858,1621,1523,1482,1437,1617,1417,1367,1300,1414,1444,1499,1664,1967,2420,2373,1842,1505,1470,1560,1443,1462,1415,1500,1549,1701,2452,2965,2599,2439,1816,1539,1677,1627,1789,1873,1937,1906,2204,2833,2446,1619,2007,1932,1538,1418,1466,1346,1418,1360,1514,1982,1970,1810,1584,1535,1561,1527,1546,1530,1501,1529,1670,1596,1637,1595,1543,1504,1576,1538,1289,1179,1368,1436,1289,1293,1364,1286,1389,1952,1781,1623,1566,1501,1410,1373,1461,1542,1610,1762,2192,2220,1618,1354,1416,1612,1706,1864,1865,1562,1376,1332,1456,1388,1378,1262,1374,1283,1437,1512,1426,1430,1551,1775,1856,1567,1554,1491,1505,1484,1470,1455,1360,1436,1682,1646,1830,2158,1572,1628,2296,3186,2845,1898,1884,1628,2214,2248,1655,1686,2008,2098,1874,1587,1433,1885,1870,1925,1625,1665,1837,1782,1704,1799,1931,1888,1838,1885,1900,1819,1748,1710,1776,2209,2184,2253,2385,2224,2344,2053,1913,2316,3095,3091,3074,2741,2118,1933,1940,1869,1838,2148,2368,2282,2010,2032,2140,1939,1896,1624,1626,2084,1559,1512,1838,1804,2318,2286,1676,1838,1763,1569,2036,3293,3075,2612,2182,1672,1570,1558,1864,1851,1721,1983,2014,2630,2264,1895,2313,1900,1612,1752,2510,2980,2646,2909,3746,3957,3853,3996,3979,2600,1560,1607,1564,2150,2492,2619,2308,2574,3464,3430,2321,2102,3797,4004,3784,2603,2218,2019,2300,2545,2304,2300,2494,2436,2589,2735,2984,2291,1728,1520,1368,1594,1892,1864,1866,2056,1946,2054,2244,1283,1717,2143,2668,2632,2643,2919,2884,2833,2799,2687,2656,2309,2015,2012,1746,1507,1494,1450,1564,1570,1529,1435,1356,1441,1476,1161,1262,1450,1613,1550,1430,1308,1371,1478,1782,1560,1394,1813,1605,1244,1232,1287,1428,1397,1616,1643,1508,1547,1572,1549,1454,1223,1287,1416,1402,1398,1268,1249,1406,1660,1927,1787,1434,1627,1675,1428,1688,1878,1617,1958,1634,1312,1360,1469,1592,1454,1406,1575,1521,1886,2248,2102,2358,2231,1948,2266,1783,1500,1445,1419,1366,1358,1375,1260,1460,1678,1226,1179,1158,1315,1315,1456,1499,1507,1449,1778,2480,2364,1648,1232,1157,1300,1431,2233,1947,1765,1300,1261,1277,1244,1187,1324,1484,1382,1317,1438,1737,1644,1323,1346,1660,1622,1562,1400,1687,1801,1607,1675,1432,1566,1847,1303,1212,1692,1786,1776,2226,2061,2041,2046,1986,2272,2502,2943,3095,2223,2254,2209,2249,1861,2079,2220,1800,1349,1541,2326,2242,1898,1962,2556,2612,2754,2850,2685,2898,2632,2483,2169,2106,2881,2932,2108,2475,2495,1778,1489,1860,2398,1875,1941,2042,2028,1676,1562,1804,2356,3107,3241,2920,2879,2535,2153,2142,2331,2626,2534,2160,2176,2436,2710,2998,3032,2743,2392,2375,2270,1791,1892,2064,2344,2796,3307,3542,3437,2543,1825,2032,1593,2096,1950,2264,2822,2979,2421,2143,2370,2382,2444,2298,1904,1726,2179,2142,1998,2564,2724,3198,2432,1917,2266,2577,2541,2254,2331,2188,1836,1898,1738,1898,2788,1996,1293,1196,933,1066,1678,2157,2184,2498,2968,2407,1958,1994,2293,2038,1823,1747,1607,1688,1755,1754,1693,1413,1193,1465,1483,1570,1325,1366,1587,1737,1814,1784,2188,2330,1683,2179,2040,1644,2040,2404,2012,2319,2395,2338,2856,3143,3123,2691,2374,2569,2413,2331,2201,2318,2559,2458,1913,1492,1842,2372,2515,2494,2677,2777,2306,1764,1946,2099,2003,1785,1781,1779,1340,1447,1537,1478,1362,1438,1536,1813,1826,1539,1622,1576,1591,1693,1497,1359,1551,1703,1403,1409,1597,1749,1721,1729,1856,2216,2673,2507,1753,2626,3667,2867,3212,3034,2902,2799,2722,2701,2248,1664,1744,2260,2171,1850,2071,2296,2134,1749,1673,3248,3884,3232,2769,2510,1630,1361,1948,2396,2235,1697,2156,2690,2148,1405,1621,1730,2010,2178,1860,1918,2331,2798,2719,2324,2041,2042,2066,1911,2573,3052,2984,2565,2228,1935,1963,2004,2019,1735,1559,2186,2883,2934,2912,3082,2198,1501,1694,1644,1887,1993,1959,1940,1975,2335,2656,2822,3002,2798,2729,2288,1840,1577,1329,1186,1624,1876,1639,1970,2581,2200,1798,1871,2010,2503,2288,1770,1569,1884,2601,2584,1880,1611,1748,1977,1941,1892,1705,1478,1477,1504,1513,1454,1511,1669,1609,1362,1374,1375,1958,1874,2007,1952,1867,1806,1675,1515,1504,1533,1474,1624,1616,1399,1573,1692,1423,1382,1326,1254,1309,1307,1253,1284,1332,1466,1446,1443,1521,1784,1778,1836,2366,2492,1916,1486,1391,1268,1450,2065,1752,1763,1517,1586,1671,1741,2237,2249,1678,1485,1554,1831,2093,2167,2012,1830,1822,1691,2373,2532,2199,2216,1565,1520,2083,1998,1562,1709,1837,1765,1678,2012,2226,1807,1455,1660,2121,2018,1765,1615,1757,2294,2625,2266,2259,1787,1628,1712,1983,2216,1998,1912,2102,2555,3242,2658,1686,1366,1534,1878,2431,2586,2180,1975,2018,2035,2240,2306,2141,2193,2416,4036,3694,2901,2525,2384,2230,2017,2048,1743,1130,1285,1921,1291,1350,1655,2124,2421,2247,2036,2028,2421,2023,1957,2574,2475,2200,2175,1806,1888,2112,2460,2438,1900,2165,2379,1972,1810,1538,1635,2022,2570,2318,2586,2674,2260,1987,2624,2700,1837,1641,1597,1637,1874,2031,2173,2159,2270,2137,2840,3471,2676,1685,1512,1874,2455,2808,2480,2276,2532,2732,2828,2429,2448,2028,1589,1616,1860,1704,1758,2010,2214,1982,2336,2322,2123,1918,2258,2482,2390,2330,1996,1794,1776,1659,1945,2759,3486,3513,3415,3737,3151,2246,1748,1625,1531,1646,2142,2728,2963,2640,1977,1914,1740,1714,2163,1897,1731,2125,2282,2263,2371,3011,3948,4197,3780,2896,2334,1952,2376,3163,3631,3958,3419,3053,3360,3432,3249,3286,3272,3316,2986,2611,2909,3370,3388,3349,3370,3224,3031,3152,3526,3629,3517,3485,3977,3705,3127,2884,3266,3071,2435,2386,1780,1523,1957,2621,3294,3562,3386,3235,2146,1448,1670,1816,1805,1897,2066,1787,1786,2372,2390,2744,2711,2410,1553,1659,1746,1564,1637,1908,2258,2395,2257,2120,2406,2221,1770,2217,2019,2002,2690,3082,3140,3329,3649,3827,3915,3716,3305,3127,3105,3154,3210,2979,2846,2373,2629,2977,2621,2587,2420,2136,2212,2561,2695,2444,3134,2741,2015,1993,2026,2265,2356,2529,1995,1462,1855,1901,1896,2109,2376,2122,2170,3234,3464,2307,1992,2194,2004,1861,1992,2098,1991,1802,1838,1776,1713,1706,1925,2047,2044,2063,1961,1843,1653,2366,2462,2327,2204,1983,2092,2137,2107,2226,2214,1850,1813,1448,1406,1714,1923,1977,2233,2077,1850,2121,2293,2071,1882,2192,3248,2617,2145,1887,1803,1951,1837,1577,1516,2168,2553,2093,2132,2279,2540,2080,1577,1411,1977,2156,1765,1737,2038,1978,2071,2665,3054,2508,2141,1903,1790,2610,2366,2106,1880,1787,2114,2520,2404,2174,2171,1639,1981,2612,3718,3664,2946,3355,2684],[1893,2454,1995,1858,2030,2342,1809,1979,2460,2742,2692,2696,2642,2115,1897,2337,2802,2315,2250,2449,2453,2211,1992,2159,2422,2577,2361,2379,3213,2106,1800,1870,1841,1987,2077,2314,2661,2934,3008,3122,3237,3409,3498,3355,3282,3399,3344,3688,3859,3879,4300,4276,4184,3935,3364,3002,2281,1887,1991,2697,2912,2313,2009,1993,1890,1936,1924,2148,2421,2365,1421,1311,2223,2786,2053,1485,1402,1614,1714,1469,1789,2231,2258,2197,2093,2291,1974,2075,2037,1933,1737,2859,3902,3820,2598,1771,2249,2409,2303,2252,1865,1665,2029,2424,2320,2346,2083,1686,2007,2309,2331,2511,2535,2551,2507,3023,3294,2932,3089,2671,2519,2589,2474,2311,2613,3164,2978,2293,2832,2316,2601,3516,3416,2609,2407,2518,2155,2073,2220,2543,2869,2768,2944,2950,2320,2375,2456,2958,3020,2929,3304,3583,3586,3300,2393,2004,2874,3327,3448,3028,2293,2082,2119,1960,1932,1829,1553,1735,2372,2832,3442,3504,3815,2943,2872,2930,2091,1859,2149,2348,2226,1893,2122,1861,1730,1712,2359,3176,3226,2397,2106,1827,1665,2154,2669,2331,1780,1999,2381,1780,1757,1661,1794,1677,2120,2405,1960,1793,2203,2039,1698,1726,1947,2009,1847,1860,1810,1782,1542,1818,2326,2669,2332,2127,2242,1721,1350,1655,2574,3606,2979,2342,2678,2741,1951,1636,1904,1998,1905,1931,2200,2805,3231,3649,3780,3692,3093,2563,2342,2307,1822,1408,1580,1686,1455,1456,1657,1578,1509,1410,1299,1412,1484,1436,1439,1455,1399,1392,1360,1403,1494,1803,1557,1330,1431,1542,1686,1459,1522,1654,1586,1534,1431,1459,1692,1587,1689,1785,2080,1519,1939,2558,2678,2065,1598,1565,1439,1396,1522,1690,1402,1354,1610,1744,1481,1308,1383,1503,1548,1540,1470,1382,1389,1396,1375,1586,2141,1972,1926,1650,1706,1861,1920,1923,1989,1836,2106,2797,2393,2379,3040,2453,1747,1932,2174,2120,2153,2208,2040,1904,2020,2067,1879,1887,1932,2057,1898,2212,2142,2048,2038,2142,2351,2237,2441,2480,2356,2248,1765,1843,2040,2070,2098,1942,1853,2077,1980,2041,1851,1995,3087,3645,3239,3333,3321,2325,1760,1702,1836,2141,2664,2604,2060,1884,1445,1431,2253,1782,1642,1795,1998,2119,1863,1849,1862,1692,1828,2089,1686,1487,1398,1505,1700,1895,1813,2013,2547,3138,3890,3625,2586,2081,2705,3110,2952,3291,3862,3834,3051,2177,1680,1344,1394,2084,2370,2272,1663,1516,1637,1624,1371,1559,1586,1446,1583,1362,1441,1706,1797,1795,1868,1908,1988,2046,1854,1632,1662,1585,1485,2008,2475,1894,1855,1777,1821,3002,2731,2523,2269,2011,1738,1509,1933,1976,1402,1403,1556,1527,1547,1670,1626,1711,2521,2476,2246,2468,2015,1681,1687,1661,2345,3038,2922,3414,3188,3295,3377,2900,2592,2908,3278,3002,2614,2280,2536,3134,2687,2198,2344,2207,2614,2387,1851,1829,1804,1393,1503,1663,1718,1589,1431,1417,1547,1577,1381,1374,1324,1382,1426,1417,1664,1610,1636,1557,1713,1838,1642,1633,1489,1416,1500,1741,2148,2100,1881,1877,1714,1970,1912,1625,1764,1702,1578,1504,2146,2303,2182,3264,3018,1883,2650,2701,2138,1690,1644,1926,1678,1403,1753,2175,2137,1752,1475,1410,1428,1566,1596,1358,1383,1820,1736,1422,1389,1495,1533,1439,1528,1749,1632,1314,1439,1444,1278,1300,1311,1409,1521,1719,1646,1489,1443,1472,1472,1378,1400,1483,1476,1547,1774,1968,1530,1311,1395,1634,1851,1706,1445,1265,1265,1448,1453,1605,1500,1227,1284,1263,1394,1726,1801,1606,1483,1617,1695,1549,1517,1434,1369,1404,1471,1549,1465,1378,1665,2030,2339,2298,1625,1544,2525,3350,2216,1875,1782,1842,2398,2205,1816,1615,1954,1926,1760,1655,1664,1846,1942,1752,1565,1764,1797,1717,1737,1885,1965,1912,1846,1886,1938,2041,1940,2024,2202,2088,2089,2301,2103,2093,2329,2132,1821,2120,2846,2601,2502,2471,1792,1562,1583,1261,1393,2080,2309,2033,2373,2503,2051,2336,2333,1985,2119,2271,1928,2116,2300,1935,2159,1875,1700,1749,1998,1945,1815,1901,2383,2564,1980,1575,1425,1735,2121,1804,1770,1900,1748,2442,2285,1798,2020,1925,1471,1410,2192,2641,2469,2718,3477,3688,3430,3537,3703,2289,1438,1477,1413,1554,1646,1954,2068,2473,3459,3666,2042,2141,2275,2229,2615,2272,2055,2131,2569,2810,2423,2246,2244,2169,2306,2622,2500,1551,1489,1664,1600,1727,2125,2025,1316,1219,1693,2484,2530,1746,2168,2371,2758,2977,2963,3009,2958,2831,2897,2786,2898,2543,2416,2462,1868,1498,1448,1323,1278,1372,1306,1289,1437,1557,1535,1501,1660,1688,1720,1574,1395,1258,1348,1400,1510,1308,1381,1555,1515,1547,1383,1430,1551,1433,1447,1419,1504,1633,1726,1892,1572,1322,1338,1327,1369,1739,1615,1636,1606,1543,1549,1439,1493,1609,1556,1405,1319,1415,1473,1590,1423,1350,1423,1249,1368,1549,1627,1809,1637,2182,2135,2158,2446,1966,2504,2449,1830,1515,1531,1495,1408,1430,1537,1748,1411,1611,1366,1261,1157,1189,1190,1651,1738,1634,1681,1771,1819,2330,2620,1564,1396,1461,1972,2548,2132,1709,1406,1348,1310,1184,1254,1646,1656,1545,1211,1327,1612,1649,1479,1444,1562,1472,1295,1204,1336,1460,1396,1295,1402,1778,1725,1515,1637,1441,1432,1803,2092,1749,1748,1812,1824,2122,2325,2523,2363,2118,2545,3009,3029,2513,2429,2323,1600,1552,2339,2563,1728,1659,1937,2636,2819,2290,2424,2548,2555,2332,2339,2275,2347,2804,2745,2062,2243,2100,1709,1787,2515,2857,2566,2060,1943,2114,1923,2135,2542,2685,2881,2728,2517,2196,2108,1949,2124,2451,2484,2158,1828,2178,2714,2416,2676,3569,3311,2754,2605,1901,1672,1991,1965,2065,2365,2485,2221,2093,1815,1449,1714,1676,1931,1819,2293,2533,2941,2774,2240,2431,2382,2348,2027,1916,2013,2409,2258,2003,2121,2283,2613,2287,1779,2113,2255,2428,2599,2225,2014,2482,1713,1497,2259,2965,2032,1267,1109,908,1203,1552,2083,2174,2070,2379,2238,2525,2359,1939,1790,2034,2004,1858,2076,1829,1776,1820,1715,1478,1496,1395,1545,1353,1327,1631,1791,1707,1648,1876,2023,1872,2438,2169,1647,2169,2372,2077,1929,1930,2544,3125,3265,3274,2868,2495,2227,2208,2460,2565,2910,2627,2542,2071,1490,1907,2194,2247,2353,2378,2136,2002,1863,1914,2046,2250,2177,2176,1890,1850,2150,1796,1425,1460,1317,1385,1846,1650,1337,1339,1489,1645,1627,1620,1723,1543,1589,1540,1373,1392,1551,1691,1729,1693,1912,2404,2486,2411,2631,3732,3263,3012,2864,2468,2288,2568,2502,2048,1515,1404,1482,1561,2073,3164,2888,2388,2382,3023,4030,4160,4015,3376,2273,1432,1782,2094,2030,2060,1736,1723,1903,1669,1500,1552,1723,2103,2303,2135,2302,2499,2475,2552,2598,2651,2747,2754,2742,2752,2832,2833,2245,1927,2083,2302,2152,1997,1483,1468,2039,2459,2812,2614,2526,2132,1889,1836,1837,1738,1597,1929,2331,2564,3065,3264,3367,3351,3116,2436,1873,1574,1200,1153,1662,2117,1853,1938,2292,2568,2091,1616,2182,2577,2228,1772,1628,1932,2710,3317,3131,2560,1725,1600,1650,1996,2036,1938,1768,1453,1359,1415,1476,1620,1684,1656,1482,1351,1324,1554,1589,1571,1509,1405,1316,1377,1371,1281,1251,1427,1539,1538,1471,1808,1792,1443,1329,1288,1251,1185,1301,1367,1305,1277,1278,1250,1326,1399,1678,1947,2308,2792,2605,1660,1245,1323,1090,1625,1867,1601,1607,1520,1385,1630,1974,2190,1800,1431,1554,1578,1627,1819,2334,2487,2272,1956,1679,2284,2366,1891,1757,1537,2227,2735,2374,1619,1763,1849,1868,2062,2424,2138,1543,1409,1619,1869,1766,1545,1489,1726,2084,2354,1941,1773,1647,1560,1560,1964,2329,1997,1981,2008,1800,2213,2149,1714,1726,1754,1948,2403,2489,2509,2744,2360,2150,2188,1781,1720,1750,1658,1875,1824,2396,2652,2143,2010,1941,1603,1584,1314,1550,1773,1130,1303,1810,2360,2475,2245,1875,2145,2447,1786,2325,2428,1757,1792,2150,2200,1984,1879,2253,2228,2312,2809,2715,2324,1888,1687,1597,1669,1942,1712,2098,2405,2174,2402,2778,2078,1797,1895,1526,1367,1644,2003,2454,2807,2687,2472,2740,2889,2182,1575,1910,2380,2310,3087,3329,3207,3793,3564,2934,2935,3018,2450,1758,2297,2576,2009,1767,1660,2062,1870,2116,2115,2107,1967,1760,1819,2334,2370,2222,2200,1897,1934,2432,2824,3151,2984,3107,3761,3391,2041,1440,1490,1570,1770,2041,2812,3011,2735,1995,1662,1461,1712,1843,1685,1932,2304,2530,2773,3230,2832,2940,3949,3934,3040,2248,2050,2168,2535,3400,3748,3323,3227,3188,3417,3162,3081,3298,3746,3521,3138,3284,3388,3285,3083,3096,3152,3089,3112,3355,3518,3409,3431,3540,3121,2820,2845,3008,2636,2596,2337,1516,1488,1542,1609,2543,3219,3516,2347,1405,1704,1807,1836,1817,1891,1926,1698,1362,1914,2468,2384,2353,2157,1932,2086,2009,1827,1868,2127,2952,2900,2214,2153,2036,2035,1863,2281,2205,1810,2149,2787,3212,3309,3667,3765,3925,3740,3659,3514,3421,3341,3095,2790,2552,2646,2961,2770,2379,2512,2226,1814,2031,2490,2624,2404,2635,2167,1728,1916,2100,2108,1984,2859,2398,1515,1766,1895,1801,2187,2568,2214,2552,3129,2392,1728,1887,1771,1915,1934,1826,1787,2211,2441,2377,2240,2113,2020,1828,1607,1729,1864,1738,1383,1627,3352,3500,2709,2074,2083,2207,2179,2449,2555,2326,1703,1701,1538,1476,1578,1742,1925,2106,2052,1865,1747,1743,2244,1996,1599,2247,2035,2190,1849,1602,1779,1585,1091,1324,2765,3113,1999,1786,2002,2228,1946,2001,1953,2434,2051,1500,1874,2406,2988,2597,2977,3064,2368,2168,1756,1802,2434,2314,1896,2081,2371,2231,2030,1782,1938,1904,2188,2589,3025,3703,3345,2626,2545,2109],[1797,2131,2166,1842,2016,1941,2370,3207,2976,3033,3060,2900,2176,1708,1728,2182,2468,1972,1853,2105,2176,2123,2312,2534,2339,2475,2413,2117,3238,2687,1992,1978,2014,2132,2294,2622,3044,3134,3018,3186,3118,3109,3220,3264,3232,3376,3311,3554,4000,4308,4407,4239,4094,4201,3680,3247,3096,2917,2950,2820,2878,2541,2121,2049,2291,2315,1819,1949,2382,2343,1404,1444,2610,3111,2407,1680,1664,1844,1740,1721,1717,1683,2177,2149,2585,2355,2037,2119,1926,1775,1876,2549,3138,3050,2536,2313,2321,2171,2200,2176,1998,1765,1862,1857,2082,2425,2320,2097,2021,2248,2142,2379,2526,2630,2584,3042,2856,2922,2602,2124,2372,2499,2766,2962,3229,3164,2831,2409,2595,2381,3089,4360,4204,2777,2607,2780,2142,2248,2518,2328,2627,2644,2884,2526,1891,2043,2156,2447,2852,3032,3342,3419,3084,3388,2788,2724,3062,3602,3291,2392,2073,2266,2258,1936,1808,1683,1572,1757,2335,2839,3444,3306,3111,2703,2856,2865,2511,2717,2786,2414,2442,2121,2370,2066,2100,2192,2232,2259,2360,2210,2325,2271,1972,2252,2532,2205,2368,2053,2171,2236,2636,1845,1715,1729,2148,2137,1288,1333,1930,1645,1478,1343,1817,1773,2106,2125,1972,1714,1516,1514,1709,2030,2102,1913,1889,1770,1843,2524,2393,3121,2885,2530,2668,2356,1951,1521,1299,1856,2698,2815,3088,3628,3931,4089,4332,4256,3475,2384,2034,2540,2236,1391,1722,2145,1525,1426,1560,1480,1537,1472,1332,1518,1532,1310,1332,1448,1460,1341,1518,1606,1586,1764,1789,1550,1432,1657,1754,1504,1460,1698,1849,1510,1492,1529,1526,1641,1852,1692,1738,1922,2800,2614,1882,2078,2142,1332,1312,1421,1428,1434,1488,1405,1582,1749,1668,1616,1526,1494,1538,1617,1466,1251,1278,1360,1440,1379,1338,1313,1456,1570,1618,1981,2443,2486,2302,2201,3087,2707,1958,1905,2314,2264,1909,1984,2104,2150,2258,2294,1885,2036,2484,2617,2367,2077,2298,2321,2388,2496,2379,2251,2241,2453,2617,2425,2435,2496,2432,2477,1902,1626,1861,1919,1972,1797,1874,2272,2734,2622,2120,2565,3528,3526,2871,2828,2693,2003,1657,1835,1989,2471,2910,3326,3395,3407,3252,2598,1911,1613,1660,1658,1733,1856,1885,2037,1873,1794,2090,1965,2094,1801,1499,1342,1440,1801,1758,1576,1742,2345,2558,2807,2476,2156,2757,2664,2756,3234,3914,3802,2801,2231,2235,1998,1937,2241,2163,2165,1732,1586,1785,1794,1707,2291,2348,1670,1461,1070,1833,2145,2080,1935,1828,1826,1798,1847,1945,1863,1720,1583,1534,1772,2068,2251,2218,1856,1884,2769,2608,1967,1796,1926,1917,1684,1974,1886,1521,1538,1462,1550,1634,1795,1656,2059,2283,1979,2508,2442,1882,1693,1477,1897,2655,2922,2746,3249,3300,3536,3713,3289,2863,2893,2925,3040,2632,2050,2176,2392,2540,2434,2238,2217,2446,2454,2455,2746,2630,1736,1574,1707,1637,1687,1502,1478,1746,1714,1598,1572,1382,1306,1387,1328,1537,1058,1289,1570,2000,2030,1734,1525,1446,1409,1490,1650,2004,2155,1744,1414,1408,1698,1620,1515,1683,1667,1520,1511,1846,2164,2171,1720,1432,1779,2784,3024,2721,1941,1720,1777,1561,1637,2106,2465,2284,1499,1456,1281,1463,1617,1322,1249,1388,1700,1692,1461,1615,1877,1783,1495,1418,1380,1657,1581,1558,1375,1707,1829,1648,1583,1448,1493,1557,1462,1436,1410,1225,1492,1559,1584,1414,1558,1802,1617,1425,1361,1442,1643,1952,2075,1806,1370,1318,1501,1613,1615,1447,1347,1356,1348,1400,1553,1675,1591,1410,1327,1310,1368,1351,1372,1316,1245,1210,1297,1350,1407,2069,2646,2663,1982,1923,1670,3101,3076,1933,1869,1655,2078,2591,1894,1598,1550,1415,1549,1539,1489,1516,1729,1656,1556,1836,1993,2019,1941,1852,1873,1903,1914,1771,1792,1801,1836,1775,1881,1876,1735,1852,2132,2414,2317,2554,1822,1996,2558,2830,2540,2343,2636,2159,1637,1562,1384,1604,2091,2282,2552,3381,3481,2664,2441,2167,2282,2491,2286,1964,1846,1902,1798,2321,1952,1662,1405,1661,1750,1604,1941,2566,2063,1568,1515,1686,2311,2740,2487,2086,1822,1964,2537,2734,2156,1652,2045,2036,1774,2167,2778,2895,3025,2995,2609,2185,2754,3259,2155,1480,1604,1468,1362,1700,2046,1820,2226,2588,3084,2236,2627,2536,2287,2471,2272,2164,2279,2723,2930,2539,2374,2076,1731,1914,2050,1738,1528,1506,1242,1054,1261,1575,1620,1303,1519,1582,2260,2477,2060,2076,2584,2987,2963,3298,3340,3074,2791,2851,2641,2547,1935,1974,2392,2136,1854,1833,1573,1372,1277,1349,1215,1163,1319,1378,1375,1474,1674,1674,1569,1477,1383,1324,1448,1626,1453,1493,1526,1448,1391,1369,1654,1529,1367,1324,1248,1372,1465,1603,1808,1666,1628,1594,1535,1701,1981,1679,1589,1577,1488,1369,1455,1724,1807,1431,1298,1306,1249,1289,1423,1343,1484,1649,1332,1562,1749,1742,2117,1839,2188,2275,2179,1786,1584,2398,2787,2362,1747,1506,1427,1328,1394,1805,2006,1619,1522,1338,1237,1247,1199,1190,1567,1814,1654,1594,1616,1396,1951,1804,1538,1626,1382,1441,1488,1525,1435,1318,1306,1304,1294,1306,1430,1384,1227,1201,1337,1512,1603,1643,1687,1561,1400,1268,1186,1410,1412,1448,1438,1764,1907,1643,1574,1612,1462,1566,1930,1900,1957,2352,1886,1980,2136,2724,2925,2292,2229,2521,2720,2785,2467,1968,1569,1704,2748,3240,2425,1568,1776,2725,2847,2676,2119,2347,3216,3128,2503,2807,3273,2935,2712,2398,1994,1753,1939,1784,1999,2942,3299,2610,1951,1992,2837,2808,2253,2056,2388,2282,2002,2469,2708,2265,1844,2351,2687,3041,2256,1719,2053,2810,2216,2619,3360,3218,2751,2612,2206,2104,2160,1909,1688,1670,1756,1836,2027,2010,1945,2368,2381,2092,1860,1899,2018,2530,3075,2820,2592,2589,2321,2220,2238,2574,2687,2571,2030,2108,2311,2256,1930,1671,2115,2366,2288,2258,1794,1720,2245,1774,1875,2789,2979,2220,1594,1260,928,1247,1543,1881,1885,1937,2349,2613,2621,2139,1918,1871,1958,2038,1996,1988,1655,1562,1609,1760,1839,1748,1577,1686,1748,1561,1594,1609,1598,1589,1854,1985,2334,2710,2244,1825,1922,1977,1806,1765,2097,2322,2643,2799,2764,2510,2244,2176,2391,2489,2710,2419,2081,2492,2154,1880,2078,2370,2605,2380,1747,1852,2134,1797,1923,2024,2077,2647,2364,2153,2419,1753,1654,2171,2588,2016,2117,2288,1873,1560,1572,1843,1862,1645,1992,2124,1886,1522,1442,1402,1548,1776,1750,1669,1610,1849,1949,2035,2573,2656,3204,3247,3112,3297,2818,2624,2126,2040,2238,2016,1849,1518,1636,2078,3098,3076,2466,2326,3023,3839,4028,3957,3063,1810,1688,2050,2268,1948,1521,1377,1561,1763,1775,1738,1872,1913,2474,2861,2586,2574,2254,2401,2686,2820,2740,2783,2706,3062,2943,3104,3046,2220,1821,2267,2496,2424,2036,1431,1565,2162,2338,2452,2321,2143,1960,1789,1798,1873,1247,1184,2075,2529,2905,3482,3570,3499,3470,3131,2235,1460,1100,1240,1894,2097,1930,1810,2031,2656,2630,2284,2457,2758,2230,1686,1583,2083,2872,3296,3310,3152,2620,1691,1303,1494,1907,1910,1909,1750,1357,1275,1577,1687,1641,1609,1859,1792,1559,1348,1294,1335,1290,1406,1477,1306,1344,1241,1243,1239,1329,1408,1544,1432,1833,1953,1475,1351,1371,1413,1588,1716,1432,1340,1361,1317,1316,1406,1473,1548,1728,1848,1857,1920,1699,1996,1575,1216,1838,1947,1722,1745,1477,1596,2104,2237,1980,1512,1482,1759,1660,1702,2512,2670,2217,2082,1947,1702,1942,2166,1382,1564,2013,2584,2460,2078,2036,2116,1840,1902,2144,2129,1880,1480,1371,1863,2121,1543,1467,1886,2039,1986,1768,1853,2385,2456,1967,1668,2117,2406,2083,2224,2110,1817,2082,1834,1778,1900,1771,2010,2001,2061,2081,2350,2574,2486,2072,1654,1541,1563,1465,1584,1948,2627,3052,2691,2402,2194,1866,2170,1636,1836,1709,1318,1356,1562,2002,2489,2785,2452,2565,2170,1800,2134,2247,2013,2055,2184,2348,1886,1766,2200,2059,2062,2326,2391,2514,2248,2117,1792,1907,2335,1964,1866,2332,2392,2338,2060,1655,2105,2238,1068,1005,1630,2355,2841,2768,2447,2263,2280,2322,2023,1863,2073,2314,2511,2207,2496,2313,2421,2636,3199,3617,3406,2987,2397,2514,2413,2030,1372,1202,1574,1805,1998,2059,2302,2270,1791,1758,2031,1842,1902,2148,2166,2330,2701,2828,2423,2047,2048,2463,2435,1815,1686,1691,1879,1908,2119,2548,2832,2802,2448,2185,1970,1820,1618,1670,1990,2397,2375,2792,3264,2185,1941,2901,3015,2606,2168,2157,2268,2644,3321,3408,3350,3366,3311,3064,2895,3132,3626,4137,3875,3388,3260,3242,3053,2499,2464,2994,3084,2916,3072,3239,3183,3093,2964,2916,2952,3129,2934,2583,2449,1499,1430,1463,1440,1456,1554,1910,1992,1443,1694,1900,1861,1856,1955,2362,1761,1400,1461,1927,2217,2050,2042,2076,1952,2048,2144,1864,2307,3082,3044,2612,2056,1860,1822,1921,1968,2234,2177,2025,1986,1960,2644,3332,3492,3497,3680,3636,3473,3496,3408,3095,3120,3087,2802,2830,2558,2048,2084,2627,2602,2284,2568,2784,2385,2028,1883,1824,1848,2262,2602,1767,1227,2065,1814,1708,1715,1683,1946,2403,2460,2431,2791,2624,2396,1852,1561,1512,2345,2723,2120,2256,3012,2872,2619,2533,2687,2315,1679,1499,1886,1738,1736,1403,2093,2953,2832,2509,2107,2070,2375,2070,2234,2147,1763,1670,1750,1759,1698,1713,1868,2087,2048,1823,1703,1577,2086,2432,2272,2176,1850,1786,2114,1865,1548,1486,1606,1481,1736,3082,3266,1954,1568,1947,2142,2226,2059,2375,3118,2742,2094,2128,2188,2646,2082,2186,2074,2270,2360,2189,2274,2176,1935,2269,2820,2985,2806,1942,1622,1969,2100,2736,2898,2988,3142,3167,2818,2304,2102],[1671,1798,2145,2156,1914,1837,2277,2877,2953,3021,3406,3636,2457,1812,1947,2214,2229,1949,1980,2250,2324,2150,2166,2226,2270,2182,2609,1980,2285,2025,1652,2004,2159,2327,2612,3117,3230,3017,3093,3350,3182,3148,3367,3394,3223,3343,3426,3507,3946,4227,4323,4308,4090,4169,3726,3372,3089,3073,3264,3112,2795,2618,2578,2684,2374,2013,1811,2368,2603,2142,1489,1613,2300,2744,2813,2591,2169,2075,2132,2115,2152,2346,2446,2196,2382,2127,2020,2125,1901,1632,1626,1576,1980,2299,2237,1966,2086,2199,1879,2109,2001,1462,1698,2093,2280,2344,2706,3012,2428,2755,2630,2734,2994,2754,2161,2249,2599,2674,2524,2595,2543,2358,2879,3463,3551,3230,2674,2005,1818,2083,2720,4015,3947,2566,2403,2627,1876,1900,2550,2383,2556,2532,2554,1956,1750,2244,2287,2256,2946,2966,3084,3499,3097,3577,3562,3740,3707,3851,3373,2441,2000,2138,2285,2043,1760,1711,2118,2067,2561,3073,2757,2380,2360,2482,2697,2866,3086,3153,2652,2183,2424,2703,2718,2874,2634,2062,1682,1970,1948,1662,2257,2622,1893,1829,2035,2431,2776,2225,2526,3003,2480,1805,1873,1830,1796,1691,1430,1562,1756,1759,1556,1521,1763,1232,1460,2017,1930,1838,1715,1584,2022,2233,2063,1869,1759,1634,2518,2617,2263,2536,2511,2268,1705,1648,1995,2097,2247,2822,3133,3309,3482,3813,3813,3651,3373,3050,3000,2402,1915,1990,1946,1790,1489,1610,1399,1289,1413,1482,1630,1664,1615,1597,1438,1463,1403,1482,1527,1307,1491,1723,1876,1832,1657,1558,1424,1432,1526,1475,1475,1656,1828,1600,1454,1433,1682,1753,1842,1811,1522,2103,2762,1809,1583,1985,1634,1095,1291,1539,1471,1469,1654,1522,1479,1500,1544,1565,1767,2159,1696,1591,1446,1335,1421,1436,1433,1416,1319,1411,1605,1721,1639,1538,2070,2468,2458,2351,2309,1896,1786,1651,1986,2422,2414,2422,2461,2352,2146,2175,2258,2176,2416,2615,2353,1936,1887,2188,2556,2308,2343,2367,2455,2562,2623,3073,3342,2856,2422,2249,1910,1788,1807,2014,2284,1988,2128,2133,2227,2251,2366,2857,3356,3066,2129,2034,2259,1756,1635,1911,2077,2533,2713,2553,2764,3355,3738,3093,2256,2012,1929,1648,1641,2095,1967,1991,1929,1709,1877,2091,2151,2192,1824,1429,1837,2121,1494,1419,1410,1635,1863,2032,1926,2436,2636,2652,2918,3369,4164,4093,3151,2415,2165,1950,2501,2800,2440,2350,2210,1905,1632,1626,1847,2535,2081,1489,1064,1219,1956,2299,2131,2083,1771,1561,1544,1671,1832,1847,1865,1779,1816,1769,1626,2199,2311,1961,1856,2242,2041,1699,1843,2043,1921,1459,1777,1685,1920,1817,1431,1549,1787,1765,1773,2228,1974,1929,2186,2446,2328,2383,2236,2330,2366,2805,2894,2867,3063,3330,3662,3122,2091,2422,2741,2564,2309,2032,1891,1947,2539,2730,2302,2217,2721,3119,2591,2799,2911,1885,1587,1855,1786,1862,1808,1809,1765,1632,1672,1469,1236,1399,1405,1171,1366,1482,1749,1905,2099,1941,1732,1947,1781,1435,1471,1633,2132,2223,1948,1478,1192,1398,1744,1742,1709,1603,1535,1488,1341,1831,2258,1935,1621,1561,1932,2224,2057,1638,1494,1407,1453,1718,2228,2389,2328,1986,1637,1156,1515,1606,1395,1362,1418,1485,1466,1506,1763,1824,2004,1641,1394,1236,1743,1936,1874,1667,1681,1605,1671,1571,1459,1492,1488,1308,1385,1411,1547,1727,1589,1461,1356,1576,1788,1666,1776,1654,1406,1701,1798,2129,2012,1514,1229,1223,1432,1449,1524,1746,1591,1537,1583,1324,1355,1370,1405,1281,1069,1184,1431,1432,1389,1285,1138,1256,1307,1498,2271,2464,2356,1924,1657,2107,3277,2526,1778,1809,1668,2367,2445,1613,1359,1291,1548,2035,2037,1824,1718,1723,1502,1633,1874,1964,2325,2204,1930,1907,1880,1920,1860,1827,1812,1665,1660,1728,1715,1799,1886,2133,2387,2228,2776,2405,2693,2640,2650,2485,2809,3209,2394,1683,1528,1489,2188,2216,2425,2845,3039,2967,2491,2194,2265,2390,2187,1741,1548,1604,1737,1836,1698,1634,1786,1515,1573,1805,1866,2162,2232,1674,1604,2131,2159,2410,2487,2148,1875,2026,2480,2835,3125,2492,1734,2254,1911,1747,2010,2734,2743,2754,2252,1768,1879,2621,2791,2042,1684,1615,1554,1681,1987,1745,1656,1969,2588,2635,2250,2536,2814,2997,2668,2086,2288,2240,2352,2624,2244,2077,1997,1481,1245,1453,1561,1427,1360,1341,1577,2143,2229,2182,2132,2243,2148,2151,1845,1846,2240,2758,3088,2876,3432,3538,3254,2986,2908,2718,2418,1696,1383,1599,1788,2011,2337,1958,1728,1610,1470,1162,1216,1282,1329,1422,1636,1675,1451,1720,2130,1819,1450,1405,1456,1747,1730,1499,1383,1512,1614,1498,1328,1312,1416,1268,1193,1292,1386,1474,1434,1714,1826,1771,1555,1294,1300,1459,1517,1484,1533,1948,2282,2154,1416,1243,1250,1266,1342,1408,1243,1255,1382,1417,1733,1610,1426,1753,2010,2048,2158,1817,1571,1584,1953,2381,2344,1866,1406,1382,1389,1274,1600,1936,2013,1649,1334,1396,1424,1313,1336,1642,1945,1693,1621,1632,1649,2051,1917,1741,1560,1361,1347,1431,1485,1456,1438,1365,1372,1576,1349,1192,1307,1449,1433,1460,1516,1577,1698,1721,1603,1581,1232,1180,1487,1402,1477,1490,1802,1684,1471,1515,1260,1203,1478,1462,1594,2438,2492,2032,1991,2137,3275,3166,2665,2349,1985,1747,1584,1646,1601,1624,2330,2831,3319,2425,1524,1819,2918,2832,2325,2380,2886,3244,2968,2230,2598,2480,2234,2700,2271,1957,1918,1736,1742,2289,3140,3206,2670,2440,2513,2761,2445,2290,2398,2679,1967,2309,3288,3334,2446,2358,2700,2728,3085,2047,2089,2207,2687,2462,2415,3039,3175,2824,2493,2232,2058,1756,1550,1449,1618,1799,1976,1874,2135,2404,2542,2397,1994,1841,2366,2080,1824,3028,3582,3118,2951,2531,2370,2366,2454,2366,1989,1689,1876,2064,1666,1449,2025,2368,2108,2541,2185,1649,1948,2908,2613,2151,2743,2835,2111,1872,1256,1063,1439,1470,1901,1917,2180,2579,2560,2200,1875,2048,2141,2065,1976,1846,1809,1665,1498,1510,1560,1564,1547,1593,1710,1717,1469,1624,1593,1673,1838,2107,2136,2131,2148,2042,1922,1850,1917,1982,1915,2020,2083,2175,2770,2887,2642,2486,2479,2399,2229,2316,2255,2467,2732,2341,2084,2251,2472,2441,1920,1560,2431,2650,2014,2214,2538,2744,3453,2680,2568,2599,1791,1979,2913,2646,2218,2807,2952,2301,1810,1818,2142,2050,1829,2091,2130,2352,2145,1780,1541,1929,2708,2343,1688,1509,1465,1743,2150,3063,3465,3099,2657,2515,2039,3257,4481,2121,3473,3921,2769,2412,1860,1822,2052,2281,2392,2622,2927,3559,3951,3941,3356,2387,2172,2012,1892,2014,1948,1617,1752,2318,2454,2112,2131,2091,1837,2148,2698,2798,2400,2324,2497,2333,2407,2385,2699,3042,3161,3118,3164,2983,2664,2503,2779,2558,2415,2193,1916,2302,2630,2550,2314,1988,1816,1599,1403,1536,1671,1351,1593,2039,2684,3218,3340,3240,3126,3331,3435,2373,1625,1574,2010,2138,1941,1781,1884,2448,3137,2852,2557,2618,2182,1612,1809,2412,3249,3320,3160,3124,2968,2057,1353,1319,1567,1720,1704,1783,1743,1458,1321,1699,1500,1476,1493,1557,1678,1629,1433,1309,1310,1295,1462,1454,1316,1275,1277,1396,1408,1373,1416,1492,1506,1954,1870,1391,1244,1270,1391,1654,1631,1375,1507,1520,1344,1309,1365,1432,1554,1614,1599,1686,1772,1686,1887,1596,1315,1614,1699,1738,1645,1485,2083,2200,1901,2010,1497,1393,1672,1837,2497,3463,3305,2395,1715,1575,1577,1678,1676,1209,2136,2887,2531,2111,1763,1933,2244,1964,1943,2342,2144,2051,1670,1843,2442,2264,1685,1712,1928,2058,1783,1495,1977,2464,2498,2116,1892,2309,2366,2047,2170,2069,1863,1733,1565,1881,1975,2026,2216,1869,1971,2107,2425,2581,2458,1875,1466,1591,1553,1617,2180,2493,2210,2620,2684,2307,1802,2083,2306,1842,2025,1898,1506,1489,1621,1934,2339,2939,2658,2500,2315,2187,1993,2945,3266,2622,2311,2044,1708,1796,2194,2269,2088,2363,2230,2299,2345,2099,1801,1800,1998,2117,2067,1884,1998,1824,1705,1775,2062,1489,943,1475,2019,2530,2835,2723,2336,2130,2063,2093,1958,1897,1926,2100,1886,1159,1233,1469,1884,2595,3240,3354,3100,2823,2342,2205,2472,2134,1485,1583,1838,1945,2073,2392,2170,1995,1947,1895,1755,1765,1875,2005,2350,2408,2497,2902,2718,2171,2119,1945,1771,1642,1533,1777,1890,1919,2204,2424,2553,2616,2424,2407,2491,2339,2185,2505,2640,2582,3152,3253,2298,1720,1793,2177,2501,2381,2096,2329,2719,2530,2535,2453,2905,2985,2972,2675,2657,3275,3812,4057,3625,3241,3571,3525,2789,2522,2631,2774,3120,2885,2911,3015,3187,3369,3041,3123,3062,2988,2754,2454,1547,1229,1404,1416,1408,1491,1701,1649,1343,1829,2088,1919,1914,1919,2434,2240,1521,1356,1843,2229,2060,1948,1966,2002,1902,1944,1969,2420,3143,2763,2166,2191,2038,2164,2558,2396,2307,2108,1687,1907,1770,1837,2769,3162,3296,3165,3049,3117,3122,2989,2766,2760,3094,3101,2571,2437,2492,2012,2276,2754,2620,2667,3350,2973,2178,2287,2366,2415,2381,2636,2820,1710,1632,1873,1572,1730,1517,1548,2104,2303,2552,2910,2796,2688,2875,2240,1935,1930,2247,2223,1903,2803,3338,2965,2681,2486,2909,2476,2065,1989,2231,2117,1881,1527,1885,1941,1702,1853,1743,1763,2107,1854,1759,1854,1878,1800,1829,1829,1854,1825,1809,1945,1808,1751,1936,1675,1915,2218,2664,2511,1827,2077,2366,2161,1908,1572,1987,2107,2637,3260,3639,2642,2104,2122,2356,2465,2185,2398,2484,2284,2156,2141,2039,2016,1973,1782,1974,2341,2406,2272,2247,2298,2210,2712,3254,2905,2687,2199,2355,2855,2856,2774,2806,2755,2729,2850,2533,2325,1950],[1344,1365,1586,1749,1598,2023,2293,2872,3313,3171,3493,3749,3122,2675,2415,2439,2426,2195,2426,2493,2234,1925,2252,2160,2139,2138,2656,2264,1927,1723,1829,2352,2351,2566,3086,3356,3287,3241,3309,3162,3123,3221,3441,3423,3129,3221,3331,3608,4220,4272,3774,3773,3826,3925,3715,3318,3085,3222,3313,3385,2733,2425,2471,2731,2432,1998,1858,2232,2448,2301,2056,1784,1763,2193,2615,3073,2769,2361,2774,3020,3410,3760,2839,2101,1989,1893,2122,2226,2141,1770,1812,1818,2109,2262,2441,2316,2265,2642,2536,2356,2163,2049,2069,2148,1881,1925,2423,2609,2425,2573,3017,3088,3214,2871,1629,1427,2406,2274,2263,2868,2878,2364,2534,2999,3334,3396,3208,2614,2531,2845,3208,4015,3706,3044,2849,3056,2193,1866,2300,2469,2135,2195,2422,2122,2075,2059,2081,2383,3073,3074,2956,3363,3400,3430,3426,3562,3550,3571,3128,2542,2218,2488,2502,2129,1981,2051,2548,2423,2394,2653,2844,2590,2347,2642,2807,2721,3138,2702,2331,2662,2598,2271,2086,2609,2699,2173,1803,1677,1746,1606,1944,2220,1569,1828,2138,2099,1968,1881,2417,2540,1840,1901,2635,2854,2533,2324,2457,2265,1779,1737,1620,1686,1848,1652,1516,1697,1971,2297,1738,1983,2376,2277,1958,1713,2169,2265,2482,2613,2033,1697,2007,1725,1375,1404,1735,2317,2602,2668,3081,3050,3024,3493,3382,2826,2395,1830,1914,1882,1867,1483,1533,1660,1477,1317,1354,1552,1592,1544,1556,1585,1476,1361,1304,1544,1562,1692,1398,1327,1403,1616,1892,1677,1421,1463,1483,1356,1420,1336,1756,1828,1770,1543,1516,1663,1819,1754,1904,1993,1797,1891,2001,1647,1983,1869,1432,1502,1503,1863,1817,1565,1490,1347,1293,1272,1364,1347,1628,2085,1759,1538,1480,1436,1371,1313,1394,1499,1330,1336,1509,1668,1469,1493,2024,2120,2265,2380,2026,1876,2191,2690,2847,2558,2425,2170,2015,2104,2348,2097,2331,2534,2336,2218,2204,1768,1443,1604,2073,1898,1675,1576,1770,2219,2043,1620,1844,2040,2095,2132,1716,1610,1726,1914,2084,2062,1984,1918,1839,2203,2917,3260,3376,3050,2204,2295,2120,1614,1700,1821,1669,1908,2121,1991,1919,2380,2885,2484,2073,2497,2051,1614,1852,2441,1981,1996,2207,1886,2137,2203,1776,1823,1489,1268,1633,1856,1368,1271,1528,1451,1532,1733,1694,1769,1947,2296,2510,2647,3392,3493,3256,3099,2774,2337,2658,3051,2957,2360,2070,1714,1401,1505,1674,2175,1685,1367,956,1543,1752,1478,1650,1764,1421,1484,1481,1670,1809,1946,1961,1855,1843,1690,1625,1694,1732,1712,1712,1775,1614,1647,1776,1921,1510,1359,1649,1463,1356,1562,1562,1865,2385,2027,1575,1974,1968,2066,2044,2252,2456,3067,2865,2486,2464,2700,2613,2477,2986,2836,2798,2962,2500,2820,3253,2875,2398,2162,2157,2082,2136,2201,2024,2408,3130,3451,2548,2573,2815,2108,1583,1520,1596,1582,1524,1488,1366,1475,1712,1495,1456,1593,1390,1363,1614,1942,2177,2254,2054,1829,1973,2442,1725,1714,1994,1871,1663,2123,2282,1534,1177,1443,1544,1582,1585,1490,1533,1500,1599,1622,1688,1819,1759,1561,1506,1575,1519,1499,1449,1368,1484,1743,2149,2224,2192,1856,1615,1756,2040,1686,1446,1349,1356,1329,1356,1440,1744,1610,1897,1539,1439,1504,1794,1946,1857,1648,1365,1438,1749,1496,1388,1393,1443,1359,1332,1325,1741,2138,1846,1492,1412,1450,1695,1802,2056,1786,1557,1912,1654,1422,1426,1323,1383,1494,1316,1402,1587,1728,1410,1386,1488,1443,1428,1548,1450,1208,1136,1272,1526,1542,1512,1435,1422,1645,1746,2077,2635,2620,2157,1599,1238,2390,3166,2020,1823,1743,1787,2626,2132,1504,1354,1550,2150,2352,2114,1743,1734,1724,1479,1353,1702,2243,2714,2203,1905,1889,1878,1927,1892,1789,1656,1557,1619,1802,2143,1869,1832,1920,1863,1572,2009,2451,2211,2049,2391,1924,2279,2865,2577,1780,1668,1651,2570,2692,2625,2392,2200,2140,1784,1647,1726,1515,1460,1265,1318,1749,1786,1707,1515,2023,2066,1691,1785,2017,1952,1679,1669,1642,1818,2468,2265,2210,2072,1793,1837,2076,2340,2621,2620,2107,1879,2489,1994,1923,2070,2426,2752,2963,2574,2257,2376,2602,2296,1637,1534,1670,1598,1790,2155,1852,1899,2382,2868,2553,2098,2181,2294,2290,2155,2143,2867,2498,2491,2417,2064,2101,1824,1221,1117,1433,1639,1513,1421,1614,2084,2385,2299,2248,2398,2896,2745,1904,1807,1989,2193,2740,2754,2808,3198,3394,3526,3497,3147,2908,2245,1575,1494,1456,1788,2229,2237,1922,1844,1657,1273,1170,1459,1542,1513,1528,1738,1645,1441,1620,1769,1928,1786,1521,1672,2352,1891,1335,1543,2423,2534,1515,1268,1294,1306,1244,1198,1229,1275,1243,1316,1493,1544,1555,1410,1280,1344,1445,1350,1360,1428,1733,2274,1953,1375,1257,1360,1367,1438,1628,1526,1433,1710,1540,1408,1355,1333,1555,1658,1960,2005,1699,1565,1553,1821,1766,1439,1514,1529,1640,1502,1395,1606,2085,2110,1760,1568,1605,1649,1516,1539,1772,1896,1517,1742,1904,1720,1549,1510,1434,1303,1252,1324,1398,1622,1426,1607,1586,1500,1620,1470,1631,1858,1695,1460,1322,1449,1632,1803,1752,1641,1506,1413,1234,1377,1555,1531,1575,1648,1401,1489,1428,926,1246,1454,1470,1561,1884,1962,2341,2122,2396,2711,2247,1858,1801,1892,1597,1639,2084,2039,2490,2244,2339,2917,2675,1921,2263,3161,2707,2110,2346,2946,2713,2610,2164,2754,2585,2555,2896,2680,2510,2621,2153,2251,2684,2732,2507,2610,2472,2293,2024,2213,2610,2366,1933,1990,2478,2762,2883,3137,2675,2680,3089,3168,2281,2226,2079,2384,2620,2369,2498,2416,2129,2138,2116,1939,1346,1253,1492,1838,1815,1622,1642,1929,2357,2634,2532,2575,2419,2828,2187,1989,2905,3698,3890,3531,2756,2179,2079,2043,1723,1542,1547,1769,1942,1736,1769,2287,2326,2352,2465,1838,1816,2519,2948,2219,2274,1903,2217,2415,2404,1288,1205,1647,1558,1626,1797,2018,2242,2200,1923,1844,1931,2250,1960,1848,1712,1748,1600,1427,1535,1448,1364,1621,1645,1442,1310,1210,1337,1581,1549,1578,1697,1767,1808,2004,2202,1966,1726,1685,1875,1901,1869,2220,2587,2452,2299,2802,2509,2002,2129,2296,2078,2389,2077,1994,2662,2567,2748,2791,2092,1392,1449,1938,2237,2396,2600,2940,2932,3466,2753,2497,2432,1834,2237,2932,2727,2764,3161,3392,2633,2148,2338,2366,1928,1856,1967,1916,2304,2447,2192,1804,1998,2889,2554,1589,1125,1568,2375,3204,2730,1686,1589,2047,2179,1780,2139,1818,2611,4696,5665,5220,3753,2818,2344,2292,2218,2425,2712,3514,4112,3941,3579,2440,1867,2116,1994,1960,1997,2238,2281,2579,2844,2514,2500,2699,2198,1854,1940,2240,1961,2052,2115,2208,2241,2139,2189,2202,2294,2318,2406,2731,2886,2752,2487,2508,2476,2312,2212,2172,2196,2413,2930,2777,1998,1697,1622,1564,1440,1472,1451,1803,1930,2590,3025,2680,2435,2940,3341,3522,2766,2274,1877,1858,1973,1979,2428,2688,3181,3706,3123,2533,2050,1613,1787,2657,3332,3461,3338,3266,2958,2330,1643,1384,1539,1707,1818,1715,1763,1750,1595,1366,1599,1401,1287,1273,1269,1362,1414,1337,1216,1204,1218,1222,1207,1419,1539,1505,1244,1330,1461,1411,1448,1428,1633,1538,1416,1416,1447,1415,1287,1205,1231,1411,1446,1362,1293,1406,1589,1819,1802,1600,1562,1614,1327,1426,1543,1311,1631,2106,2026,1701,1794,2123,1959,1808,2114,1750,1817,1960,2409,3349,3632,3369,2790,2283,1797,1780,2156,2225,2000,2824,3182,2639,2258,2114,2028,2098,2013,2470,2541,2230,2003,1972,2269,2047,1757,2048,2547,2428,1847,1638,1837,1806,1942,2059,1855,1958,2034,1843,1935,2236,2435,2510,2237,1853,1902,1764,1979,2103,1495,1157,1218,1616,1757,1894,1882,1737,1789,1583,1948,2553,2453,2124,2341,2176,1930,1600,1721,1864,1763,1783,1831,1573,1543,1747,1936,2026,2326,2712,2703,2534,2349,2226,2924,3541,3038,2525,2371,2122,1787,2459,2807,2461,2293,2258,2258,2194,1898,1758,1804,1933,2325,2562,2117,2021,1881,1727,2088,2082,1256,1313,1807,2158,2572,2813,2900,2931,2322,2214,1853,1718,1938,1929,1816,1523,1237,1438,2215,2728,2737,2640,2643,2851,2113,2091,2689,2896,2229,1940,2023,2010,2144,2522,2897,2092,1851,1997,2475,2143,1709,1794,1870,2000,2165,2080,2657,3312,3303,3161,2578,2013,1575,1573,1804,1851,1995,2270,2293,2364,2152,1631,1763,1976,2336,2192,2416,2552,2449,2742,2537,1951,1859,1920,1924,1829,1791,1809,2356,2733,2831,2674,2740,2557,2023,2277,2630,3022,3176,3317,3768,3661,3703,4006,3626,3087,2886,2160,1998,2784,3197,3334,3140,3185,3780,3225,3088,2922,2729,2588,1866,1286,1356,1344,1343,1383,1662,1957,1447,1457,2111,2080,1967,1831,1787,2014,1839,1584,1816,1951,1332,1427,1976,2149,1937,1871,2147,2046,2352,2842,2416,2117,2279,2093,2402,2964,2588,2301,1908,2024,1794,2099,2534,2382,2546,2819,2679,2521,2535,2647,2302,2315,2650,2930,2782,2165,1934,1885,2375,2700,2491,2492,2788,3333,2230,2022,2364,2254,2301,2655,2996,2687,1858,1940,1764,1677,1596,1422,2044,2697,2135,2805,3118,2832,3150,3273,2937,2902,2754,2555,2376,2711,3749,3584,3108,2246,2096,2856,2822,2653,2355,2177,2279,2044,1803,2166,2017,1692,1627,1410,1715,1747,1709,1602,1695,1955,1860,1793,1909,2082,1889,1775,2009,1908,1868,2395,2321,1920,2055,2398,2068,1866,2188,2093,2050,1832,1889,2278,2435,2607,2555,3089,2883,2180,1900,1989,2085,1836,2020,2024,2387,2660,2858,2365,1881,1908,2060,2176,2164,2189,2299,2281,2707,2622,2566,2476,2398,2677,3044,3443,3268,2734,2498,2667,2680,2540,2579,2266,2320,1956],[1502,1367,1855,2074,2019,2240,2591,2834,3161,3321,3513,3583,3673,3384,2802,2789,2570,2408,2603,2643,2635,2251,2426,2222,2146,2735,2958,2382,2010,1991,2330,2489,2652,2851,2996,3364,3506,3516,3350,3339,3504,3454,3432,3505,3426,3394,3430,3802,4299,3781,2531,2538,3329,3640,3474,3104,3234,3310,2780,3268,3040,2901,2639,2824,2555,2013,1915,1842,2186,2779,2551,1863,2167,2564,2940,2617,2386,2289,2745,3183,3463,3616,2655,1840,2083,2236,2088,1915,2143,2062,2277,2278,2265,1961,2293,2750,2473,2069,1871,1981,2302,2366,1860,1844,1558,1800,1836,1569,1828,2544,2746,2408,3009,3059,2022,1236,1717,1802,1997,2575,3084,2576,2445,2828,3022,3163,3054,2911,2964,2964,3230,4258,4252,3880,3282,2633,2074,1957,2214,2612,2536,2475,2471,2290,2802,3268,3142,3121,3418,3233,3123,3031,3007,3045,3265,3296,3155,3317,2439,2169,2002,2106,1952,1740,1975,1804,2418,2975,2334,1948,2605,2957,3010,2688,2243,2625,3307,3196,3038,2973,2642,2115,2149,2865,2886,2354,1770,1659,1876,1641,1462,1725,1579,2089,2324,1942,1835,1975,2187,1751,1840,2365,3221,3377,2888,2910,3069,2378,1604,1577,1599,1432,1583,1705,1721,2468,3024,2679,2226,2237,1814,1931,2105,2296,2978,2598,2275,2656,2041,2215,2385,1694,1433,1457,1571,2075,2558,2944,2790,2345,2696,3547,3518,2364,2314,2273,2393,2650,2227,1665,1491,1511,1451,1317,1639,1803,1388,1536,1509,1492,1354,1314,1396,1452,1425,1444,1360,1348,1282,1393,1521,1399,1390,1531,1455,1397,1367,1246,1574,1642,1504,1567,1785,1867,1847,1831,1792,1950,1744,1874,1756,1995,2151,1711,1541,1588,1617,1671,1434,1361,1287,1355,1368,1301,1484,1570,1588,1837,1914,1658,1502,1433,1422,1380,1357,1600,1364,1463,1523,1632,1570,1601,1667,1864,2117,2060,1853,2105,2998,4385,3276,3174,2699,2116,1849,1547,1546,1720,1977,2201,2044,2182,2164,1751,1672,1782,2049,2055,1764,1640,1752,2227,1871,1380,1567,1754,1809,1922,1510,1626,1748,2177,2720,2653,2191,2032,2019,2728,3760,3633,2786,2401,1925,2334,1999,1679,1750,1710,1514,1483,1562,1598,1516,1759,2356,2124,1616,2091,1997,1665,2192,1963,1636,1787,1931,2017,2428,2073,1578,1731,1605,1589,2031,1830,1410,1545,1674,1629,1666,1747,1913,1816,1941,2648,2380,1708,1892,1944,2105,2769,2696,2669,2797,2742,2452,1791,1771,1449,1347,1466,1571,1729,1714,1264,1136,1792,1851,1462,1596,1648,1265,1754,1731,1814,2221,3042,2700,1874,1820,1829,2074,2311,2075,1820,1724,1682,1799,1939,1770,1497,1514,1589,1557,1240,1040,1488,1669,2082,2358,1669,1344,1733,1955,1647,1812,1914,1921,2187,2603,2830,2677,2332,1940,2177,2846,2451,2198,2291,2370,2607,2968,2831,2248,2100,2309,2204,2014,1732,1740,2308,2381,2102,2712,3156,2939,2343,1692,1397,1406,1470,1450,1460,1343,1435,1471,1453,1528,1486,1538,1532,1362,1503,1711,1635,1463,1634,2086,2337,1889,2345,2741,2321,1873,1699,1594,1567,1626,1644,1452,1507,1458,1396,1446,1482,1679,1452,1426,1803,1929,1621,1555,1527,1520,1390,1441,1488,1484,1573,1708,1904,1987,1840,1542,1877,2188,1765,1498,1430,1373,1289,1300,1441,1723,1434,1790,1744,1446,1449,1490,1582,1644,1549,1449,1704,1660,1582,1403,1300,1288,1402,1348,1315,1825,2180,1714,1535,1496,1478,1599,1677,1686,1359,1446,1859,1669,1511,1697,1731,1613,1575,1287,1356,1328,1501,1302,1304,1358,1447,1449,1586,1523,1368,1454,1622,1533,1600,1881,2155,2072,2210,2482,2945,2857,2438,2192,1377,1324,3116,2975,1829,1845,1664,1998,2364,1770,1618,1683,1552,1565,1863,1891,1719,1677,1815,1836,2017,2125,2713,2868,2235,1845,1848,1904,1894,1839,1731,1525,1537,1602,2188,1982,1557,1672,1732,1571,1594,1760,1625,1301,1985,2409,1937,2289,2604,2725,2074,1746,1675,2226,2403,2213,2005,2134,2397,2125,1551,1609,1654,1737,1607,1454,1549,1741,1737,1760,2099,2160,1751,1565,1985,1814,1621,1710,1672,1721,1902,1808,1964,1863,1652,1778,1745,1793,2336,1748,1634,1824,1973,1904,1855,2093,2269,2574,3060,2981,2499,2088,1838,1814,1699,1729,1896,1712,1866,2164,2465,2398,2357,2937,2723,1854,1852,2097,1921,1861,2755,2821,2532,2530,2014,1913,1945,1843,1687,1760,1812,1797,1520,1378,1815,2295,2272,1963,2636,3293,3301,2577,1943,2064,2331,2146,2718,2502,2429,2875,3342,3835,3945,3504,2821,2243,1526,1481,1595,2237,2430,2266,2092,1905,1667,1381,1386,1455,1387,1410,1449,1729,1681,1665,1503,1441,1392,1860,1820,1690,1731,1732,1825,1846,3097,2778,1479,1370,1361,1316,1450,1331,1205,1274,1274,1389,1367,1293,1432,1500,1482,1555,1481,1350,1238,1276,1733,2289,2047,1599,1619,1716,1516,1544,1656,1476,1491,1630,1427,1360,1439,1434,1444,1442,1638,1744,1550,1615,1676,1661,1684,1477,1641,1693,2349,2366,1699,1783,1991,1993,1745,1865,2183,1833,2047,1719,1755,1467,1278,1320,1534,1455,1494,1628,1573,1328,1475,2145,2394,2159,1854,1815,1515,1461,1475,1629,1770,1531,1637,1694,1583,1865,1905,1810,1810,1602,1426,1263,1156,1380,1714,1798,1794,1460,1464,1544,1441,1152,1466,1208,1648,1825,1513,1759,1969,1847,1909,1807,1737,1728,2309,2756,2656,2154,1921,2075,2477,2299,2770,3161,2673,2394,2331,2929,2698,2439,2646,2690,2421,2420,2260,2844,2951,2523,3006,3112,2874,3085,2493,2863,2764,1949,2292,2339,2095,1894,1891,2194,2536,2878,2689,2065,1813,1937,2512,3516,2963,3041,3465,3088,2000,1972,2160,2461,2491,2076,1967,1869,2186,2584,2000,1780,1358,1006,986,1376,1617,1688,1999,2141,2198,2512,3161,3304,2362,2007,1946,2139,2253,3122,3758,3666,3219,2619,2236,1729,1689,2094,2020,1960,1826,1670,1970,2569,2453,2314,1854,1802,2284,2674,2079,1770,1777,1306,1611,2308,2349,1687,1510,1550,1435,1467,1836,2094,1842,1653,1470,1550,1829,2214,2225,2261,2027,2483,2922,2199,1793,1612,1964,2089,1604,1384,1098,1067,1296,1581,1643,1634,1837,1757,1604,1723,1935,1754,1493,1419,1674,1555,1825,2475,2532,1721,1812,2548,1896,1648,1685,2224,2012,2258,2349,2614,2605,2701,2778,2149,1564,1272,1311,1260,1298,1744,2454,2788,2274,2402,2512,2548,2597,2316,2367,2818,3156,3133,3034,3205,2789,2548,2307,2107,1941,1992,2021,1816,1995,2636,2641,1584,1652,2157,2250,1499,1891,2728,3598,3762,2776,2083,2516,2706,2570,2036,2043,2342,4606,4855,4791,5220,5613,4034,2752,2740,2556,2251,2568,3208,3152,3414,2916,1766,1646,1662,1649,2036,2279,2582,2801,2653,2551,2397,2552,2868,2410,2298,2344,2512,2444,2160,1631,1676,1915,2160,2183,2258,2083,1893,2146,2154,2133,1961,1967,2041,2033,1986,1870,1738,1877,2454,3209,3233,2311,1839,1644,1721,1859,1907,1710,1860,2391,3067,3107,3292,3000,3375,3580,3528,2975,2645,2165,2020,2062,2423,3356,3589,3440,3634,2829,2651,2553,1923,2422,3438,3548,3416,3373,3011,2238,1843,1695,1607,1871,1692,1574,1560,1830,1776,1636,1545,1501,1390,1283,1251,1233,1215,1155,1197,1281,1382,1642,1542,1373,1418,1462,1410,1330,1459,1606,1407,1374,1386,1666,1625,1563,1571,1376,1286,1272,1330,1494,1431,1372,1418,1537,1631,1788,1914,1885,1587,1447,1657,1668,1938,1961,1477,1702,1983,1753,1810,1942,1923,1749,2039,2485,2196,2212,2624,2921,3031,3359,3642,3251,2925,2366,2471,2411,2113,2453,3348,3639,3239,2629,2297,2062,2811,2757,2589,2359,2133,1737,2425,2534,2044,2246,2382,2642,2595,2277,2601,2521,2295,1944,1641,1499,1625,1682,1688,1815,2140,2477,2554,2348,1716,1784,1685,2138,2125,1690,1395,1343,1758,2050,1864,1946,2123,1815,1724,2391,3071,2579,2372,2352,2183,2002,1704,1556,1588,1558,1675,2110,1716,1636,1850,1989,2164,1971,2210,2321,2080,2148,2078,2034,2547,2856,2533,2462,2780,2504,2726,2965,2899,2576,2190,2205,2201,2077,1947,2124,2534,2862,3064,2304,1919,1946,1833,1892,1538,1148,1635,1780,1833,1972,2235,2540,3134,2705,2158,1712,1725,1835,1692,1694,2048,1892,1814,2422,2499,2359,2513,2699,2829,2352,2392,2575,2460,2270,2235,2065,2256,2727,2328,2149,2095,1893,1692,1904,2148,2040,1875,1762,1980,2303,2120,2829,3662,3774,3177,2762,2167,1632,1661,1799,1987,2080,2063,2272,2484,1986,1748,1647,1562,2100,2034,1762,1941,1969,2086,2060,1917,2751,2710,2546,1855,1956,2231,2809,3086,3119,3120,2942,2168,2097,2136,2343,2753,2858,2997,3497,3853,3970,4006,3959,3941,3479,2392,2079,2810,3161,3188,3253,3063,3465,3292,3024,2611,2463,2172,1434,1389,1443,1370,1332,1473,1871,1957,1415,1688,1986,2223,2043,1910,1776,1429,1404,1653,2171,1668,1264,1921,1936,2012,1862,2325,3198,2832,2207,2229,2208,2145,2010,2091,2046,2460,2598,1930,1606,2161,2504,3146,2962,2464,2705,2665,2430,2395,2721,3020,2252,2328,2651,2539,2360,2211,2056,1897,2143,2470,2386,2364,2160,2575,2039,2328,2442,1909,2164,2917,3000,2955,2997,2272,1621,1708,1438,1650,2729,2896,2362,3146,3408,3055,3243,3379,3375,3463,3211,2491,2094,3252,3697,3250,2817,2554,2824,2958,2661,2357,2029,2051,2244,1901,2025,2746,2293,1541,1402,1375,1659,2115,2392,1964,1911,2360,2049,1856,1883,1829,1800,1808,1968,1866,1684,2265,2399,2069,2049,2137,1836,1815,1897,1853,1676,1720,1845,1947,2541,2373,1838,2363,2608,2076,1957,1990,2222,2219,2634,2999,3438,3139,2563,1986,1706,2103,2424,2194,2047,2230,2574,2261,2399,2645,2546,2491,2620,2916,3271,3527,3566,2940,2258,2172,2369,2239,2651,2522,2201,1744],[1954,1794,1954,1959,1903,1792,2446,2691,2630,3207,3597,3572,3562,2986,2585,2863,2721,2462,2287,2642,3173,3022,2636,2444,2656,2744,2610,2465,2166,2039,2019,2248,2836,2934,2902,3374,3691,3596,3406,3519,3576,3548,3584,3694,3492,3343,3355,3517,4027,3682,2620,2971,3968,3559,3156,3094,3449,3547,3130,3146,3121,2907,2696,2843,2797,2685,2708,2620,2735,2724,2731,2401,2873,3082,3410,2749,2261,2051,2126,2563,3177,3311,2451,2137,2062,1992,2158,2291,2194,1677,1495,1684,1996,2011,2045,2379,2415,2046,1895,2375,2614,2256,2122,2336,1952,1968,1705,1509,1849,2537,2930,2770,3274,2818,2361,1917,2091,2306,2183,2335,2889,2770,2393,2546,2755,3259,3108,2852,2800,2589,2928,3567,3405,3490,2920,2185,2307,2437,2420,2564,2398,2309,2252,2243,2974,3151,3219,2617,3120,3234,2918,2897,2846,2894,3060,3055,3150,3077,2020,1555,1424,1605,1692,1593,1544,1622,2899,3676,2673,1733,2361,2503,2762,2613,1744,2159,3143,2962,2371,2325,2520,2391,2479,2840,2634,2444,1619,1471,1729,1540,1520,1646,1648,1990,2088,2054,2013,2101,2102,1694,2047,2917,3176,2997,2842,2417,2330,1829,1317,1681,1839,1668,1516,1559,1880,2555,3195,2596,2724,2272,1739,1942,1910,2243,2719,2130,1910,2175,2303,2718,2392,1893,1593,1549,1856,2088,2310,2306,1954,2016,2170,2461,3148,2994,2706,2898,2706,2580,2221,1697,1460,1374,1236,1336,1745,1823,1578,1676,1560,1496,1361,1339,1490,1455,1396,1536,1598,1485,1321,1479,1419,1416,1354,1573,1396,1355,1214,1091,1299,1452,1520,1858,1932,1769,1660,1663,1831,2154,2112,1887,1570,1691,1878,1796,1692,1667,1710,1560,1458,1538,1666,1395,1342,1379,1550,1588,1572,1565,1608,1683,1584,1683,2050,1803,1946,2152,1946,1692,1571,1570,1611,1560,1377,1668,2396,2145,1698,2020,2978,4751,3262,2719,2587,1975,1474,1462,1516,1505,1952,2172,2003,1941,1722,1472,1543,1700,1522,1468,1582,1653,1722,1676,1685,1755,1802,1879,1911,2034,1498,1584,1768,2404,3179,3133,2788,2342,2061,2709,3552,3333,1984,1609,1493,1643,1504,1553,1760,1969,1766,1707,2049,1713,1432,1475,1706,1685,1580,1941,2300,2276,2194,1873,1714,1744,1687,1952,2552,1855,1551,2201,2525,2306,2418,2111,1630,1459,1396,1440,1686,1944,2092,1857,1783,2263,2092,1548,1488,1493,1526,1604,1682,2225,2979,2856,2186,1825,1656,1368,1402,1457,1462,1802,2095,1519,1478,2144,2316,2114,2144,1762,1657,2143,1882,1973,2916,3650,2646,1710,1866,1910,1781,1822,1886,1980,1951,1853,1506,1853,1990,1933,2089,1725,1379,1084,1217,1975,2126,2244,1880,1560,1842,1893,1905,1733,1556,1809,1750,1787,2214,2305,2147,2073,1759,1915,2422,2569,2298,2166,2204,2234,2400,2165,1551,1614,1770,1892,1742,1504,1722,2033,2019,2177,2740,2680,2405,2623,2214,1556,1332,1577,1478,1721,1428,1497,1834,1740,1470,1391,1660,1662,1430,1434,1436,1622,1704,1761,1740,2082,2208,2143,2408,3025,3242,2209,1707,1672,1672,1644,1628,1531,1394,1299,1289,1362,1339,1266,1425,1854,1926,1541,1484,1729,2014,1868,1779,1753,1752,1630,1554,1696,1771,1664,1490,1466,1687,1845,1701,1876,1803,1482,1537,1636,1662,1394,1662,1798,1510,1361,1388,1451,1562,1748,1742,1782,1652,1491,1432,1362,1296,1346,1334,1404,1571,1433,1585,1523,1359,1367,1530,1568,1444,1432,1685,1797,1583,1481,1716,1870,1459,1387,1286,1245,1217,1388,1400,1448,1575,1599,1676,1470,1374,1527,1571,1512,1447,1850,2092,2157,2134,2046,2143,2827,2922,2458,1988,1560,1823,3381,2420,1800,1847,1655,2106,2340,2080,1975,1875,1583,1491,1785,2118,1605,1776,1817,1836,2115,1897,1890,2137,2017,1731,1786,1832,1821,1757,1677,1442,1524,1587,2445,2310,1713,1677,1792,1766,1741,1860,1576,1407,1975,2140,2105,1997,2147,2371,1989,1756,2144,2188,2005,2150,2347,2589,2884,2470,1732,2142,2126,1939,1920,1858,1755,1682,1607,1671,1776,1652,1457,1498,1948,1828,1754,1714,1517,1439,1368,1321,1518,1614,1458,1472,1614,1654,1933,1682,1647,1780,1658,1955,2459,2658,2902,2524,1990,1881,1729,1669,1591,1708,1884,2020,1974,1794,1622,1857,2327,2428,2138,2458,2354,2187,2449,2192,1993,1994,3118,2925,2442,2341,1814,1974,2288,2243,2622,2843,2562,1907,1665,2011,2276,2327,2270,1875,1975,2554,2825,2032,1807,1682,1968,2520,2991,2717,2501,2752,3106,3375,3710,3366,2796,3120,2873,2270,2049,2347,2288,2097,1968,1936,1789,1543,1472,1337,1343,1346,1512,1682,1812,1628,1406,1326,1572,2022,1846,1416,1333,1599,2121,2317,3414,2246,1459,1440,1350,1224,1365,1372,1337,1380,1378,1474,1284,1316,1383,1597,1502,1514,1546,1426,1292,1377,1895,2316,2019,1671,1686,1576,1429,1456,1493,1294,1422,1709,1454,1408,1467,1400,1628,1448,1362,1600,1632,1920,1760,1496,1529,1477,1685,1658,2270,2370,1984,1970,1954,2114,1923,2492,2806,1946,2580,2061,1387,1080,944,1230,1377,1307,1584,1557,1515,1300,1994,2755,2230,2081,2424,1873,1403,1611,1450,1510,1622,1842,2326,2356,2001,1775,1753,1704,1732,1490,967,817,1209,1737,2016,1843,1614,1361,1482,1462,1359,1670,1626,1533,1880,1538,1253,1683,1720,1954,2316,2364,1929,1964,2767,2888,2612,1956,1833,2180,2520,2484,2394,2724,2243,2728,2487,2762,3019,2940,2620,2401,2740,2980,2423,2804,3458,3277,3194,3018,2783,2389,2484,3128,2822,2535,3311,2501,1862,1550,1417,2294,2718,2576,2632,2198,2222,2569,2967,3519,3478,3342,3451,2997,2494,2712,2537,1966,1412,1534,1707,1990,2513,2299,1842,2182,1961,1228,1406,1986,2605,3093,3424,3013,2177,2252,3228,3343,2415,1671,2159,2514,2449,3143,3461,3426,3167,2618,2347,2029,2273,2362,2048,2083,2195,2601,2946,2692,2536,2272,1511,1755,2023,2846,2034,2177,1855,1346,1827,2656,2400,1736,1700,1450,1473,1864,2206,2089,1880,1604,1588,1682,1554,1590,2178,2562,2432,2957,2835,2326,2186,1593,2023,2000,1489,1422,1241,1318,1574,1626,1555,1558,1554,1377,1179,1460,1911,1599,1349,1231,1459,1974,2452,2532,2618,2790,2732,3056,2297,2232,2116,2075,2106,2037,2384,2732,2492,2286,2073,1760,1953,1733,1641,1410,1394,1428,1882,2334,2140,2150,2536,2583,2071,1951,2373,2815,3243,3450,3421,2602,2125,2625,2750,2211,2062,2195,1815,1632,2524,3713,3519,1965,1077,1558,2331,1670,2298,2895,3027,2676,2027,2428,2455,2486,2801,2506,2207,2250,3430,5087,5566,4898,3838,2932,2383,2388,2433,2494,2918,2788,2157,1953,1971,1730,1599,1536,1856,2181,2512,3329,3378,2890,2315,1996,1979,2219,2237,2475,2180,2152,2457,2242,1989,1673,1724,2126,2172,2139,2279,2427,2281,1948,1592,1512,1636,1598,1640,1633,1541,1578,1766,2226,2664,2945,2503,1838,1652,1852,2376,2320,1670,1896,2199,2599,2698,3564,3764,3764,3533,3056,2606,2402,2268,2356,2406,2566,2986,3087,2382,2283,1981,2432,3162,2409,2603,3320,3442,3357,3097,2158,1512,1600,1585,1459,1562,1298,1479,1661,1848,1910,1827,1550,1321,1321,1251,1272,1258,1149,1222,1368,1382,1434,1689,1508,1225,1316,1866,2180,2274,2042,1675,1714,1750,1526,1904,1757,1472,1552,1507,1362,1282,1400,1524,1427,1392,1625,2210,2276,1896,1712,1859,1614,1446,1772,1874,2053,1995,1538,1748,1590,1918,2437,2387,2194,2015,2194,2482,2149,2237,2883,2898,2779,3197,3560,3152,2754,2283,2508,2859,2470,2391,2712,3098,3164,3255,2845,2554,3295,3727,3055,2636,2492,2273,2518,2548,2655,2845,2590,2815,2956,2791,2276,2351,2641,1808,1285,1383,1562,1897,1670,1793,2013,2225,2597,2331,2018,1844,1772,2009,1960,1937,1742,1454,2222,2690,2354,1944,1756,1625,2098,2908,2995,2346,2011,1973,1973,1929,1938,1843,1826,1656,1724,1929,1776,2247,1996,2080,2514,2346,1991,1833,2071,2122,2141,1929,2002,2544,2699,2956,2951,2757,2532,2385,2899,2811,2461,2289,2234,2343,2223,2171,2558,2862,2788,2043,1560,1746,1897,1875,1513,1385,1768,1689,1582,1483,1573,1772,2340,2453,1932,1691,1731,1820,1631,2091,2932,2912,2537,2390,2140,2127,2623,2829,2645,2459,2198,1973,2270,2742,2671,2165,2386,2395,2059,2145,1987,1819,1930,1999,2116,2094,2214,2123,2438,2742,2228,2874,3792,3754,2820,2909,2308,1408,1798,2477,2232,2019,2231,2440,2243,1750,1598,1579,1825,2198,2018,1611,1401,1402,1749,2100,2062,3012,2448,2026,2064,2902,3432,3559,3252,2888,2981,2197,1742,1942,1901,2587,3120,2836,3090,3809,4135,4099,4046,4087,4080,4030,3567,3046,3033,2889,2861,2699,2802,3228,3242,3063,2791,2438,1656,1305,1484,1463,1357,1415,1718,2078,1870,1411,1601,1713,1816,1623,1382,1144,1293,1613,1996,2493,1888,1725,1882,2009,1964,2097,3079,3704,2847,2119,2248,2214,1998,2090,2229,1743,2150,2831,2478,2111,2404,3165,3480,2871,2648,2785,2453,2436,2418,2429,2587,2215,2264,2437,1908,1737,2156,2475,2168,1767,2254,2309,2400,2599,2302,2047,1932,1950,1897,2544,3028,2832,2744,2604,1902,1810,1559,1444,1933,3046,2795,2430,3032,3462,3110,2614,2910,3499,3296,2916,1960,1635,2211,3074,3161,3205,3074,3050,3008,2818,2302,1935,2038,2214,1914,2449,2680,1865,1422,1443,1620,1786,2054,2536,2321,2109,2433,2052,1938,1882,1776,1763,1930,2050,1816,1640,1785,1781,1750,1742,2072,1839,1656,1447,1694,1682,1764,1588,1904,2994,2906,2240,2555,2627,1969,1615,1653,2734,3120,3061,2979,2776,2458,2206,1864,2242,2492,2155,1974,2018,2100,2144,2126,2407,2750,2424,2116,2363,2584,2894,3538,3129,2364,2276,1783,1971,2210,2858,2734,2239,1945],[1689,1929,1766,1670,1678,1867,2192,1961,2041,2851,3042,3068,2927,2763,2884,3052,2797,2537,2503,2722,3009,3009,2608,2690,2511,2381,2518,2865,2590,2142,2250,2574,2843,2832,2819,3286,3666,3607,3515,3460,3464,3466,3450,3571,3628,3375,3185,3375,3891,4125,3754,3926,4140,3698,3189,3062,3496,3203,2015,2406,3205,2983,2481,2708,3175,2866,3013,3221,3062,2578,2737,2807,3039,3228,3340,3031,2520,2053,1924,2214,2369,2176,2251,2336,1781,1633,2203,3067,2779,1814,1595,1711,1909,1984,1848,2428,2609,2256,2100,2600,2770,2346,2648,2653,2198,2147,1752,1533,1902,2626,3198,3206,3012,3134,2448,2458,2269,1869,2036,2056,2136,2416,2420,2757,2953,3064,2888,2580,2605,2587,3239,3063,2266,2595,2790,2478,2818,3264,3109,2574,2188,1703,1803,2377,2964,3152,2624,2376,2995,3299,3127,2911,2798,2823,2876,2756,2799,2491,2149,2112,2034,2025,1974,2330,2408,1896,2612,2864,2422,2134,2934,2857,3006,2467,1632,2113,3105,3218,2531,2329,2483,2880,2817,1971,1925,2337,1766,1505,1502,1419,1426,1552,1889,2018,1868,2055,1979,2327,2030,1965,2090,2751,3149,3175,2789,2177,1955,1201,1628,2485,3024,2504,1826,1535,1643,2154,2348,2415,2366,1882,1750,1832,1520,1980,2574,2160,1751,2048,2481,2136,1897,2023,1950,1797,2068,2144,2097,2342,2236,1986,2060,2340,2897,3096,2921,2863,2720,2568,2329,1981,1693,1422,1209,1360,1824,1948,1775,1526,1545,1513,1324,1301,1323,1423,1508,1620,1914,1950,1425,1325,1486,1558,1408,1454,1360,1505,1726,1598,1548,1513,1713,1885,1910,1987,1815,1669,2484,2518,1949,1790,1638,1452,1545,1482,1454,1609,1694,1647,1806,1855,1784,1435,1321,1326,1358,1671,2137,1680,1458,1493,1694,1799,1914,2333,2302,2352,2343,1748,1603,1606,1521,1740,1600,1903,2718,3002,2989,2735,2170,2684,2767,2384,1759,1384,1722,1783,862,1072,1648,1788,1918,2136,2320,1725,1454,1603,1349,1405,1565,1671,1735,1769,1910,1752,1763,1814,1768,1739,1401,1449,1747,2523,3082,3023,3018,2451,2077,1852,2263,2434,2345,2109,1919,1642,1729,1863,1733,1647,1707,1954,1926,1520,1300,1414,1519,1525,1575,1600,1968,2001,1661,1677,1642,1601,1633,1897,2036,1693,1457,1766,1912,1799,1717,1798,1915,1842,1715,1646,1766,1532,1650,1815,1787,2092,1744,1483,1525,1494,1453,1418,1437,1870,3022,3191,2226,1988,1667,1597,1541,1463,1499,1905,2129,2078,2046,2141,1872,1862,2175,1760,2005,1941,1664,2444,3617,3401,2135,1567,1756,1637,1215,1173,1483,1656,1806,1886,1898,1974,2145,2137,1655,1390,1538,1263,1452,1791,2167,1951,1138,1254,1722,1606,1566,1582,1825,1946,1937,2169,2223,1832,1741,2147,2237,1988,2165,2649,2737,2418,2304,2356,2342,2094,1565,1636,1454,1591,1627,1433,1427,1621,1763,1694,1937,1697,1504,1907,2045,2065,1963,1776,1628,1593,1366,1449,1644,1709,1616,1437,1606,1615,1450,1651,1657,1739,1736,1977,1800,1730,1841,2025,2353,3654,3630,1941,1671,1588,1419,1440,1444,1455,1263,1285,1369,1325,1414,1457,1558,2019,1789,1449,1377,1515,2004,2255,1964,1682,1472,1450,1567,1630,1683,1765,1648,1443,1505,1741,1581,2232,2132,2009,2055,1747,1667,1390,1467,1568,1596,1520,1413,1401,1427,1731,1952,1687,1516,1458,1369,1348,1275,1293,1332,1540,1510,1573,2247,1978,1433,1458,1672,1644,1563,1560,1587,1839,1603,1509,1418,1359,1313,1430,1354,1321,1244,1228,1251,1489,1672,1707,2150,1807,1454,1502,1585,1418,1454,1522,1586,1684,2203,2486,2225,2545,2645,2474,1945,1595,2386,3009,2099,1867,1859,1736,2176,2707,2990,2666,2391,2300,1890,1741,1940,1870,1951,1821,1788,1603,1507,1791,2034,1939,1760,1774,1751,1743,1748,1603,1470,1557,1790,2279,2105,1675,1697,2110,2369,1618,1741,1923,1698,1555,1835,2360,2602,2365,2265,1913,1637,1817,2107,2570,2675,2961,2697,2164,2178,2013,2007,2061,1899,1715,1725,1752,1782,1548,1583,1980,2060,1867,1782,1869,1719,1609,1593,1526,1552,1621,1558,1814,1797,1564,1544,1548,1854,1877,1896,1678,1560,1670,2502,3629,3220,2786,2254,1974,2031,1641,1538,1741,1845,1913,1926,1953,2019,1769,2066,2149,2267,2003,2138,2110,2262,2232,2143,2068,1848,2241,2425,2086,2057,1803,1881,2050,2186,2352,2520,2475,2408,2611,2844,2327,1968,2030,1633,1520,1664,1619,1667,1788,1798,1821,2287,2631,2566,2592,2868,2716,2484,2848,2926,3402,3765,3983,3343,2684,2294,2226,2169,2107,2097,1885,1597,1456,1392,1535,1571,1781,1703,1702,1486,1322,1380,1416,1536,1633,1385,1522,1530,1705,2133,2166,1537,1411,1427,1274,1162,1463,1760,1490,1568,1714,1499,1336,1334,1341,1332,1278,1312,1388,1368,1334,1491,1982,1736,1592,1644,1562,1349,1296,1348,1517,1451,1291,1350,1414,1444,1539,1607,1697,1383,1355,1547,1465,1719,1582,1536,1673,1669,1637,1771,1916,1720,2011,2247,2334,2098,1957,2292,2195,1896,2008,1992,1814,1589,1570,1855,1523,1371,1404,1401,1462,1275,1860,2038,1604,1739,2172,1807,1708,1889,1575,1716,1660,1978,2323,2235,1913,1766,1844,1732,1717,1617,1330,1476,1924,2201,2218,1932,1527,1560,1579,1636,1594,1780,1629,1342,1421,1415,1493,2131,2380,3151,2851,2306,1896,2150,2513,2196,2018,2106,2237,2046,2310,2225,2093,1897,2029,2338,2170,2182,2707,2588,2284,2560,3208,2975,2343,2607,3161,2795,2722,2662,3066,2940,2774,2977,2833,2940,3256,2640,2113,1507,1571,2372,2653,2357,2685,1989,2285,2858,3491,4013,4251,4144,3848,3297,2553,2632,2446,2134,1800,1942,2024,2047,2121,2287,2203,2498,2917,2755,3080,3264,3399,3387,3419,2973,2065,1838,2382,3211,3155,2258,2172,2636,2708,3017,2975,2973,3007,2486,1851,1879,2270,2263,2233,2602,3010,3281,3138,2610,2055,1670,1590,1759,1910,2810,2649,2734,2052,1162,1409,1956,2148,1469,1890,1647,2023,2282,2146,2288,2251,1803,1718,1720,1627,1499,1732,2067,1865,2373,2542,2049,2339,2282,2165,1946,1644,1480,1336,1336,1529,1479,1452,1739,1530,1397,1548,1854,1748,1581,1525,1498,1953,2380,2359,2254,2753,3241,2711,2981,2809,2118,1787,2074,2174,2166,2321,2353,2415,2002,1638,1614,1560,1759,1864,1840,1778,1610,1504,1753,1965,2132,2646,2792,2198,2380,3070,3211,3523,3472,2886,1841,1464,2422,2859,2052,2065,2251,2159,2362,3467,4208,3492,2056,1531,2331,2609,2430,2347,2298,2109,1920,2083,2723,2676,2986,3117,2718,2167,1863,1789,2496,3839,4851,4436,2482,2178,2212,2310,2289,2362,2489,2114,1947,2126,2096,2099,2070,2141,2248,3193,4121,4044,3371,2268,1818,1868,1862,2089,2246,1929,2110,2293,2284,2455,2234,2228,2087,2031,1622,1539,1510,1583,1857,1804,1484,1476,1560,1654,1526,1541,1747,1710,1846,2603,2966,2217,1707,1691,1822,2301,2146,1622,2014,2004,1830,2217,3319,3740,3497,2750,1912,1620,1950,2548,2446,2318,1950,2253,2191,1877,2040,2180,2282,2635,2281,1944,2162,2591,2692,2136,1538,1418,1667,1582,1482,1461,1771,2157,1917,1717,1825,1684,1464,1374,1512,1295,1208,1187,1188,1265,1214,1257,1491,1606,1422,1234,1617,2602,2776,2736,1999,1504,1763,2056,1697,1713,1733,1301,1368,1470,1431,1535,1373,1341,1428,1352,1716,2877,3255,2433,1750,1664,1605,1570,1879,2097,2302,1914,1532,1721,1865,2222,2490,2121,2057,2392,2522,2454,2193,2792,2739,2744,2940,2823,2846,2689,2798,2436,2135,2711,2923,2486,1985,2262,3016,3699,2859,2622,3131,3108,2624,2478,2699,2852,2803,2728,2899,2945,2600,3230,3641,3055,2117,2198,2265,1706,1557,1516,1577,1905,1611,1506,1648,1803,2191,2498,2138,1771,1771,1982,1911,1853,1566,1592,1983,1934,2253,1847,1547,2090,2568,2735,2853,2526,1949,2002,1974,1865,2154,2475,2681,1849,1618,1595,1701,1929,1928,2137,2075,2123,1941,2003,1974,1823,2266,2492,2006,1919,2266,2876,2891,2649,2521,2023,2220,2463,3055,2918,2584,2050,1947,2112,2196,2614,2548,1932,1872,1974,1537,2071,2292,1797,1554,1478,1442,1411,1489,1982,2259,1794,1470,1579,1590,1757,1623,2018,2872,3480,3305,2845,2201,2017,2326,2413,2570,2244,1854,2124,2428,2621,2347,2088,2100,2057,2326,2597,1983,1623,2306,2836,2263,1991,2432,2091,2449,2508,1982,2745,3286,2532,2417,2750,2133,1677,2264,2774,2331,2134,2537,2311,2120,2052,1938,1794,2016,2242,2050,1888,1600,1587,1748,1890,2492,2726,2002,1746,2608,3425,4151,4083,3055,2833,2741,1708,1698,1773,2108,3202,3913,3631,3659,4063,4179,4072,4006,4074,3990,4148,3699,2997,3409,2885,2905,2798,2800,3037,3122,3040,2658,1901,1540,1645,1518,1456,1375,1618,1910,1972,1443,1360,1742,1608,1356,1372,973,845,1434,1824,2053,2393,2131,1748,1743,1934,1808,1968,2599,2826,2426,2178,1763,1928,1864,2315,2235,1938,2098,2640,3020,2651,2513,3081,3496,2976,2499,2573,2431,2575,2401,2400,2551,2358,2063,1793,1564,1713,2039,2415,2322,2292,2609,2665,2622,2763,2387,1757,1708,2034,2637,2608,2235,2468,2923,2337,1719,1770,1493,1570,2453,3051,2447,1935,2210,2829,2654,1524,1525,2052,2254,2208,2008,1687,2068,2766,3025,3120,3167,3213,2799,2653,1983,1708,1971,2236,2026,2383,2376,1695,1705,1770,1365,1415,1680,2088,1953,2088,2247,2082,1974,1775,1667,1670,1866,2056,2002,1917,1857,1668,1623,2023,2276,1982,1705,1531,1773,1756,1626,1597,2088,3482,3440,2848,2982,2763,2137,1443,1433,2380,2596,2303,2312,2657,3377,3468,2617,2887,2442,2178,2047,1838,1687,1832,2336,2578,2806,2648,2156,1891,2025,2265,2574,2142,2276,2286,2078,2271,2290,2675,2733,2453,2664],[1772,1812,1839,1728,1940,2079,1961,1846,2173,2512,2553,2906,3273,2986,3066,3287,2780,2436,2894,2853,2934,2978,2608,2724,2220,1884,2619,3263,3059,2679,2605,2632,2833,3094,3196,3559,3760,3597,3419,3327,3331,3372,3420,3476,3558,3470,3317,3377,3576,3981,4080,4265,4372,3956,3450,3171,3263,3205,2674,2814,3326,2985,2684,2732,2976,2686,2579,2105,2305,2508,2766,2954,2923,2810,2802,2829,2778,2578,2470,2393,2176,2105,2702,2199,1614,1860,2415,3214,3191,1973,1627,1456,1716,1666,1691,2268,2465,2373,2771,2781,2399,2237,2457,2657,3099,3030,2270,2554,3219,3458,2964,3104,2802,2644,2403,2327,1835,1661,2175,2440,2498,2856,3106,2675,2532,2292,2671,2337,2020,2205,2825,2848,2117,2510,3138,2887,2498,2506,2603,2199,1850,1593,1758,2353,2576,2297,2430,3052,2821,3174,3157,2811,2595,2520,2469,2382,2077,2042,2404,2600,2626,2247,1902,2143,2264,1836,2129,2270,2330,2517,2984,3188,2857,2568,2766,3056,3407,3142,2416,2482,2564,3362,2905,2023,1908,2007,1711,1682,1913,1971,1649,1822,2244,2172,1694,1682,1940,2525,2426,2113,2164,2490,2555,2964,2789,1753,1614,1627,2178,2679,3604,3516,2429,1907,2118,1953,1883,2105,1858,1716,1806,1797,1754,2049,2671,2630,2156,2662,2498,2057,2243,2547,2501,2064,2195,2199,2149,2587,2656,2525,2734,2813,2798,2975,3024,2874,2686,2581,2220,2164,1997,1759,1360,1311,1683,1688,1526,1467,1860,1827,1242,1305,1282,1405,1572,1420,2322,2195,1534,1345,1345,1269,1277,1389,1478,1698,2013,2154,1990,1939,1927,1777,1758,1781,1782,1744,2210,2448,1921,1562,1447,1441,1449,1472,1926,2291,2036,1809,1660,1812,1936,1697,1543,1622,1680,1675,1928,1566,1424,1403,1682,1716,1827,2043,1686,1797,1876,1631,1692,1655,1533,2069,1723,2125,2373,2181,2577,2201,1594,1632,1777,1810,1866,1791,2259,2458,1381,1259,1358,1799,1894,1885,2376,2002,1632,1628,1476,1866,2075,2257,2402,2296,2374,2247,1949,1850,1878,1478,1218,1578,2062,2778,2636,2124,2592,2094,2188,1966,1866,1935,2210,2262,1800,1504,1900,1809,1605,1891,1892,2291,1975,1631,1479,1573,1688,1564,1550,1413,1364,1611,2163,2157,1609,1460,1914,1957,1753,1654,1594,1661,1552,1468,1694,2138,2278,2102,1721,1753,1475,1057,1512,1861,1848,1824,1501,1514,1569,1525,1483,1453,1382,1683,3254,3085,2030,1721,1583,1609,1760,1685,1548,1963,2217,2272,2097,2019,1765,1620,1755,1625,1672,1549,1701,2946,3631,2597,1854,1811,1630,1414,1032,1344,1559,1523,1677,1827,1855,1952,2036,2068,2094,1753,1686,1508,1760,1992,2002,1233,976,1377,1460,1371,1474,1879,2395,2125,2112,2091,2047,1828,1808,2263,2832,2919,2414,2587,2844,2786,2625,2423,2062,1964,1733,1526,1506,1737,1736,1593,1559,1869,1934,1528,1843,1798,1552,1718,2094,3033,3294,3199,2855,2154,1794,1560,1422,1534,1566,1449,1226,1395,1686,2100,1840,1523,1588,1906,1925,1719,1846,2008,2154,3255,2924,2210,2142,1638,1405,1486,1394,1332,1224,1260,1378,1367,1560,1750,1538,1917,1537,1327,1440,1414,1933,2013,1646,1678,1514,1547,1644,1299,1311,1784,1864,1642,1470,1457,1644,2549,2656,2724,2973,2012,1680,1351,1340,1567,1547,1430,1398,1503,1465,1725,1980,1848,1748,1620,1506,1502,1312,1461,1597,1969,1731,1686,2029,1961,1583,1433,1540,1500,1575,1576,1711,1944,1577,1366,1210,1315,1438,1474,1477,1519,1520,1261,1418,2159,2067,1741,2501,2084,1555,1494,1612,1847,1993,1875,1909,2656,3005,3208,3288,3261,2796,2135,2006,1635,2625,2767,1812,1829,1816,1781,2004,2176,2447,2402,2285,2192,1687,1721,1817,1991,1896,1712,1632,1522,1664,1735,1847,1655,1703,1747,1671,1639,1792,1608,1478,1634,1859,2058,1750,1552,1604,1854,2031,1665,1627,1953,1720,1388,1532,2214,2148,1759,2163,1858,1921,2574,2082,2365,2433,3016,2964,2314,2405,2122,1659,1914,1976,1747,2002,2098,1851,1687,2334,2990,2579,1957,1832,1820,1586,1620,1685,1683,1760,2284,2099,2022,1639,1483,1505,1439,1570,1718,1791,1483,1372,1471,1720,2256,2126,1809,1728,1318,1233,1796,2500,3011,2723,2102,1859,2231,2856,2103,2036,2010,2018,2249,2357,1906,1556,1893,1992,1670,1932,2069,2378,2155,2181,1564,1850,2049,1768,2009,2104,2122,2497,2522,2541,1886,2070,2248,1996,2238,2122,2056,1742,1792,2260,2128,1743,1886,2106,2448,2801,2238,2154,2822,2741,3173,3529,3466,3012,2431,2162,2431,2299,2271,2292,2195,1781,1532,1732,1812,1832,1831,1611,1512,1430,1463,1439,1424,1524,1457,1342,1403,1390,1393,1673,1716,1604,1555,1494,1273,1126,1494,2171,1606,1507,1478,1419,1450,1345,1321,1368,1439,1395,1312,1565,1752,2030,2503,1910,2249,2047,1688,1438,1215,1176,1362,1369,1269,1615,1769,1687,1745,1576,1395,1460,1616,1720,1685,1691,1417,1563,2008,1830,1578,1694,1516,1109,1581,2170,2236,1772,1495,1465,1560,1648,1992,2696,2643,2312,1701,1860,1721,1622,1515,1471,1521,1544,1892,1796,1594,1886,1975,1547,1686,1708,1638,1926,2015,1952,1792,1769,1604,1587,1472,1302,1643,1737,1555,1521,2007,2358,2225,1937,1714,1680,1766,1837,1826,1802,1715,1636,1871,1910,1982,1989,2082,2520,1841,1407,1631,2130,2056,1791,2136,2583,2210,1580,2031,1860,2161,1792,2481,2542,2499,2435,2438,2536,2589,2765,2911,2328,2463,2675,2875,2191,2263,2441,2876,3010,3041,3059,2774,2708,2921,2304,2236,1257,1762,2191,2514,2814,2464,2658,3045,3015,3320,3973,4185,3618,2934,2564,2225,2210,2440,2678,2403,2298,2339,2364,2105,2216,2676,3038,3543,3629,3304,3051,2944,2905,3035,3054,2447,1976,2187,2732,3138,2373,1884,2478,2822,2310,2215,2226,3005,3227,2233,1914,2380,2677,2687,2945,3091,3060,2775,2244,2083,1848,1836,1979,2341,2662,2836,2940,1916,1039,1493,2000,2016,1681,2241,1998,2031,1884,1840,2245,2100,1895,1765,1562,1471,1456,1714,1828,1528,2195,2431,2074,2455,2607,2454,2366,1826,1668,1758,1996,2269,2282,2367,1927,1411,1452,1774,1804,1666,1888,2059,2113,2172,2040,2024,2214,2437,2604,2605,2791,2552,1770,1394,1661,1869,2048,1977,2018,2099,1841,1160,1378,2267,2547,2297,2046,2034,1772,1149,1597,2048,2178,2603,2833,2530,2338,2731,2827,3038,3086,2634,1947,1829,2002,1963,1306,1880,2170,2354,2632,3316,3577,3100,1831,2076,3066,3292,3130,2452,1898,1670,2076,2910,2852,2780,2447,3011,2731,2158,2079,2047,2050,1906,2256,2372,2172,2065,2227,2244,2208,2220,2482,2141,2003,2103,2240,2369,2432,2588,2823,3772,4140,4047,3072,2554,2366,2577,2768,2313,2398,2967,2807,2099,2060,2137,1977,2105,2239,2159,1943,1931,1798,1766,2054,2141,1621,1532,1705,2044,2088,1875,1966,1694,1560,2557,2696,1822,1884,2003,2159,1988,1708,1729,2198,2309,1958,1831,2497,3204,3321,2931,2327,1874,2471,2681,2010,1612,1986,2448,2100,1939,1744,1479,1765,2093,1692,1734,1887,2112,1851,1457,1590,1455,1663,2221,2575,2349,2242,2122,1560,1555,1767,1553,1160,1480,1816,1431,1362,1515,1533,1439,1518,1736,1699,1554,1367,1346,1622,1949,1986,1795,1600,1477,1498,1619,1492,1665,1719,1307,1386,1476,1449,1593,1347,1218,1383,1488,1954,2962,3343,2879,2035,1646,1594,1404,1738,1946,1887,1288,1482,2044,2253,2618,2658,2258,2608,2933,2786,3011,2745,2857,2253,2600,2751,2486,2271,2303,2644,2543,2175,1975,2654,2645,2288,2273,2733,2581,1984,2074,2203,1702,1719,2093,1944,1873,2706,3274,2677,2853,3320,3410,3436,2953,2447,2346,2208,1895,1697,1714,1724,1661,1670,1439,1416,1461,1775,2074,2160,2305,2316,2286,1903,1902,1808,1801,1567,1792,2210,1858,1532,2146,2347,2011,2175,2224,1870,1918,1897,1713,1788,2600,2584,1700,1700,1899,1554,1561,1976,2106,1857,1897,2222,2320,2410,2438,2595,2493,2237,2126,2035,2081,2265,2444,2303,2182,2026,2226,3293,3582,2514,1823,2282,2150,1872,1985,1882,1938,2084,1957,1691,2274,2498,1871,1564,1521,1433,1552,1945,2048,1823,1608,1594,1520,1299,1316,1575,1771,1968,2282,2862,3017,2421,2385,2514,2251,2716,2235,2140,2241,2470,2559,2710,2407,1812,1981,2470,2499,2046,2178,1978,2071,2413,2750,2311,1730,2049,2603,2410,2310,2556,2493,2305,1874,1697,1615,1567,1927,2045,2040,1860,1769,2064,2167,2085,2145,2183,2079,2181,2401,1892,2102,2130,2007,2482,3025,2518,1918,2143,2848,3676,3461,2841,3186,2256,1772,1748,1892,2854,3912,4108,3719,3596,3550,3505,3906,3996,3871,3803,3803,3073,2817,3234,2980,2744,2785,2929,2968,3217,3230,2408,1337,1639,1944,1808,1626,1560,1797,2004,1981,1638,1599,1636,1267,1372,1458,1162,1158,1693,1823,1905,2275,2362,1991,2002,2210,2382,2227,2374,2260,2126,1665,1648,2101,2046,2119,2356,2545,2439,2469,2819,2893,3084,3263,3030,2430,2596,3093,3161,2713,2340,2469,2640,2398,1880,1487,1591,1802,1875,1609,2031,2428,2618,2975,2731,2248,1854,1339,1729,2402,3072,2523,2309,2952,3176,2467,1901,1720,1509,1967,3068,3068,2064,1580,1594,1720,1787,1331,1500,1734,1902,1850,2149,2068,1789,1844,1848,2004,2581,2973,2738,2014,1805,1631,1628,2077,2157,2362,2083,1622,1638,1456,1430,2058,2344,2148,1847,1690,1938,2388,2134,1977,2092,1988,1978,1871,1976,1978,1902,1799,1648,1808,1512,1525,1732,1793,1888,1900,2007,2251,2250,3221,2906,2208,2292,2564,2580,2220,1917,1802,1791,1788,2054,3011,3897,4040,3259,2488,1846,1922,2051,2069,2012,2416,2502,2270,2261,2307,2410,2197,2188,2464,2614,2368,1826,1814,2131,2356,2400,2790,2776,2359,2296],[1966,1645,1727,1805,1944,2127,2431,2689,2596,2297,2080,2774,2654,2003,2358,2939,2545,2300,2973,3100,3006,2458,2308,2327,1900,2181,3228,3463,2921,2616,2648,2852,3054,3374,3429,3457,3804,3717,3436,3374,3476,3428,3529,3628,3539,3343,3189,3363,3637,4012,4160,4176,4352,4120,3636,3594,3516,3412,3411,3278,3097,2506,2375,2583,3056,3051,2332,1937,2163,2500,2675,2681,2697,2565,2643,3023,2874,2233,2204,2489,2353,1801,1903,1890,1783,1929,2355,2896,2826,2099,1879,1465,1454,1588,1730,2261,2439,2346,2579,2520,2199,2298,2808,3053,3326,3267,2558,2345,2954,3288,2964,3175,3008,2214,2082,2132,1914,1798,1742,2383,2543,3210,3104,1885,1763,2032,2192,1835,1760,2053,2630,3073,2128,2302,2733,2192,1924,1728,2005,1962,1562,1563,1648,1942,2198,2143,2836,3110,2597,3020,2986,2526,2475,2332,1889,1838,1852,1750,1735,1701,2454,2363,2233,2115,1631,1735,2711,2752,2258,2171,2613,2941,3028,3262,3297,3340,3818,3238,2438,2358,3053,2891,2024,1935,2024,1924,2178,2175,1913,2120,1838,1958,2059,1979,1519,1232,2186,2888,2341,2049,2532,2307,2020,2844,3032,1863,1778,1991,1996,2597,3351,3393,2708,2303,1990,1435,1678,2009,1694,1491,1654,1577,1606,2255,2925,2797,2666,2824,2599,2345,2419,2558,2471,2137,2380,2297,2075,2161,2292,2722,2963,2801,2808,2811,2955,2943,2852,2850,2199,1748,1833,2039,1652,1305,1362,1357,1327,1353,1650,1648,1414,1405,1375,1339,1429,1372,1384,1330,1390,1530,1538,1469,1415,1327,1308,1418,1461,1827,1869,1915,1622,1511,1607,1582,1750,1624,1738,2088,2018,1566,1381,1367,1383,1604,2376,2588,1992,1759,1379,1541,1958,1802,1647,1779,1681,1294,1361,1425,1499,1494,1568,1644,1657,1599,1586,1583,1597,1509,1583,1709,1504,2259,2343,2293,1946,1799,2178,2088,1701,1377,1444,1395,1664,2212,2377,2962,2019,1310,1517,1834,2061,2020,1903,1879,1726,1662,1668,2314,2364,2294,2344,2544,2636,2406,1915,1649,1671,1313,1254,1894,2070,2531,2544,2247,2207,2043,2366,2146,1938,1825,1789,1937,1579,1566,1706,1657,2040,2300,1678,2036,1656,1327,1580,1574,1500,1689,1780,1424,1598,1667,1783,1758,1561,1513,1792,1924,1983,1806,1695,1540,1448,1672,2224,2366,2373,1947,1547,1569,1238,1312,1954,2007,1719,1637,1625,1676,1600,1563,1489,1533,1425,1660,2548,2129,1766,1832,1772,1872,2194,1741,1544,1947,2085,1771,1910,2294,2029,1834,1921,1676,1491,1483,1991,3122,3282,1917,1630,1899,1433,1396,1598,1933,1995,1798,1770,1732,1777,1779,1830,1911,1930,1908,1910,2041,2377,2410,1761,1035,1204,1996,2403,1807,1569,1625,2090,2059,2115,1917,1884,1526,1721,2308,2668,2930,2565,2598,2785,2887,2548,2399,2007,1851,1802,1620,1621,2129,1949,1500,1606,1903,1700,1581,1576,1837,1644,1699,2470,3371,3583,3899,4104,3377,2415,1977,1982,1826,1520,1432,1096,1363,1605,1905,1881,1493,1873,2251,2223,2566,2533,2083,2179,2114,1890,1978,1911,1524,1450,1484,1412,1401,1358,1389,1360,1331,1642,1661,1418,1700,1606,1444,1450,1508,1805,1900,2031,1847,1556,1903,1848,1693,1819,2460,2302,1757,1545,1457,1723,2597,2780,2156,2036,2070,1876,1585,1178,1245,1419,1426,1730,1914,1743,1987,1981,1807,1824,1670,1482,1656,1777,1875,1889,2133,1872,1496,1686,1874,1757,1453,1448,1276,1371,1509,1845,1964,1582,1355,1337,1508,1540,1426,1400,1490,1838,1519,1401,1660,1621,1720,2942,2664,1602,1286,1539,1958,2184,2254,1929,2654,3270,3406,3398,3429,2776,1945,1893,1989,2813,2498,1672,1816,1707,1941,2596,2367,1735,1681,1591,1559,1565,1710,1941,2243,2359,2276,1938,2092,1904,1663,1400,1500,1544,1577,1608,1473,1555,1549,1570,1739,1926,1752,1587,1479,1405,1534,1659,1679,1860,1943,1454,1301,2031,2205,1294,1294,1899,1676,1830,2372,2217,1874,1686,2208,2450,2382,2766,2111,1663,2020,2490,2086,1907,1835,1583,1675,2933,4008,3226,1952,1779,1876,1761,1991,1672,1939,1834,1723,1853,1889,1632,1418,1593,1738,1600,1577,1755,1487,1367,1459,1899,1814,1419,1451,1655,1781,1761,2334,3853,4279,3153,2026,1676,1875,2547,2148,1643,1738,1886,2392,2562,1991,1863,2102,1872,1864,2286,2566,3130,2612,2372,2053,2446,2311,1958,2245,2432,2396,2113,1612,1852,2121,2785,2930,2448,2809,2736,2285,1798,1625,1981,2042,1399,1123,1806,2337,1740,1183,1348,1958,2795,3256,3233,2967,2768,2482,2066,2237,2040,2097,2365,2327,1855,1824,2174,2070,1910,1810,1769,1672,1544,1504,1420,1412,1572,1472,1546,1452,1354,1434,1584,1620,1456,1511,1472,1266,1165,1273,1801,1658,1426,1321,1350,1285,1234,1297,1484,1616,1550,1342,1372,1993,3109,3489,2625,2588,2280,1549,1429,1408,1289,1395,1301,1393,1723,1683,1637,1601,1425,1350,1346,1935,2675,2544,2093,1769,1593,1655,1466,1478,1499,1524,1290,1295,1688,1739,1411,1438,1488,1546,1650,2296,2956,2924,2309,2345,2154,1943,1838,1765,1875,1669,1785,2133,1757,1795,2158,1880,1557,1576,1670,1888,1985,2048,1827,1746,1776,1541,1461,1272,1213,1677,1735,1772,1648,2050,2292,1931,1625,1690,1736,1839,1830,1728,1562,1510,1761,2080,1839,1748,1944,1908,1591,1545,1503,1575,1940,1821,1537,1813,2079,1838,1792,2303,2040,1768,1870,2379,2706,3006,2973,2985,2941,2688,2456,2831,2547,2266,2527,2886,2526,2164,2341,2719,2801,3208,3201,2865,2446,2495,2593,2177,1386,1931,2101,2499,2590,1891,2271,3210,3562,3154,2975,3196,2302,2103,2322,2461,2670,2851,2701,2422,2030,2297,2660,2395,2906,3499,3848,3812,3502,2971,2720,2634,2629,2721,2934,2696,2498,2470,2018,2289,2122,2630,2915,2510,1917,1828,2144,3193,3286,2855,2820,2833,3334,3311,2808,2297,2215,1598,1508,2111,2059,1926,1982,2361,2546,2175,2245,2199,1893,1895,2235,2281,2236,2072,2036,1886,1584,1958,2188,2094,2062,1992,2003,2097,1887,2064,1969,2059,2625,2380,2160,2468,2547,2368,2065,1487,1535,1795,2790,3478,3261,3096,2377,1679,1550,1461,1673,2019,1870,1975,2171,2200,1881,1410,1737,2170,2181,2429,2722,2327,1845,1596,1960,1918,1970,2004,2523,2111,1796,1658,2183,2843,3219,3002,2316,2352,2505,1889,2145,2146,2295,2708,2761,2498,2590,2875,2608,2349,2690,2535,2099,2281,1803,1628,1767,1510,1602,2385,2857,2931,2818,2559,2180,2500,2630,2635,2696,1910,1569,2156,2791,2702,2579,2514,2398,2490,2375,2385,2708,2313,2073,1852,2013,2075,2163,1833,1791,2019,2019,2241,2610,2247,2042,2095,2209,2292,2304,2600,2765,3198,3351,3295,3043,3077,3021,2858,2667,2435,2714,2773,2166,2024,2154,2020,1809,1808,2100,2225,2235,2245,1815,1864,2204,1885,1527,1445,1602,2464,2843,2714,2435,1621,1575,2008,1883,1602,2117,2145,2553,1924,1692,1861,2186,2342,2045,1764,2189,2989,3565,3426,2917,2643,2852,2002,1875,2098,2122,1688,1283,1030,874,809,1230,1685,1781,1954,1860,2014,1626,1558,1582,1387,1504,2168,2724,2543,2338,2008,1974,1929,1827,1605,1455,1686,1745,1539,1472,1673,1814,1766,1782,1886,1639,1422,1500,1508,1411,1313,1209,1270,1455,1416,1478,1633,1512,1590,1665,1929,1775,1644,1355,1353,1366,1372,1561,1512,1648,2097,2280,2299,1896,1663,1601,1371,1640,1726,1602,1465,1785,2312,2409,2469,2877,2656,2922,2784,3249,3449,2896,2454,2611,3152,3020,2431,1949,1948,2047,2186,1982,1802,2047,2566,2586,2255,2115,1887,1652,1851,1875,1762,2419,2336,1640,2105,2798,3153,2809,2701,2731,2913,3019,2536,2371,2300,2008,1604,1507,1660,1803,1742,1602,1427,1572,1848,2148,2212,2209,2399,2314,2176,1680,1554,1783,1726,1541,1795,1984,1731,1771,2091,2001,1670,1776,2294,1748,1551,1565,1953,2604,2854,2670,2258,2068,1974,1457,1975,1771,1655,1645,2067,2309,2274,2689,2829,2475,2312,2133,2044,1748,1704,2248,2393,1940,2120,2014,1996,2700,2741,1727,1959,2667,2270,2033,2059,1950,2013,2015,2027,2157,2713,2271,1767,1829,1628,1406,1604,2146,2386,2115,1807,2105,1830,1443,1459,1642,1692,1603,1580,1955,2245,2135,2287,2239,2090,2256,2170,2242,2200,2427,2801,3098,2536,1911,1751,2075,2129,2233,2210,1668,1695,2492,2577,2028,1875,2164,2838,2784,2236,2257,2345,1937,1456,1179,1147,1651,2095,2012,1762,1659,1686,1817,1846,1897,2200,2476,2401,2447,2371,2089,2704,2667,2437,2403,2931,2586,1864,2184,2699,2320,2026,1737,1803,1810,2141,2070,2061,3219,4138,3662,2977,3059,2997,2917,3729,4061,3843,3825,3594,2962,2971,3242,3227,2995,2905,3123,3217,3383,3495,2458,1560,1569,1658,1845,1935,1889,1868,1909,1872,1804,1770,1267,1207,1525,1500,1339,1213,1593,1866,1824,1843,1946,2129,2071,2255,3224,2563,2308,2305,2040,1875,2148,2108,1800,2082,2647,2590,2268,2084,2226,2186,2324,2859,2604,2337,2908,3274,3231,2802,2159,2255,2403,1974,1878,1993,1776,1990,2147,1802,2047,2531,2464,2659,2398,2077,2376,1504,1224,1996,2832,2709,2996,3199,2955,2547,2209,1907,1632,2029,2796,2621,1809,1631,1705,1726,1683,1941,2122,1924,1980,2215,2033,2124,1898,1737,1614,1489,1784,2276,2611,2215,1909,1618,1881,1983,1866,1811,1391,1679,1691,1552,1996,2879,2952,2153,1766,1776,2275,2657,2177,1828,1885,1972,2054,1884,1829,1987,1890,1892,1964,2018,1806,1604,1810,2034,2010,1974,2067,2310,2203,2271,2041,1850,2285,2577,2342,2201,2099,1873,1799,1724,2074,2838,3529,3714,3594,2695,1903,2055,2670,2866,3078,3016,2802,2519,2047,2255,2225,2249,2501,2724,2890,2608,2387,2642,2597,2449,2143,2922,3079,2635,2244],[1764,1675,2054,2024,1931,2243,2457,3055,2918,2276,2172,2425,1910,1694,2446,3034,2867,3196,3386,3254,2648,1959,2101,2071,2044,2819,3283,2987,2609,2623,2798,2724,2818,3281,3632,3803,3728,3487,3374,3507,3610,3563,3504,3366,3189,3110,2977,3454,3869,4013,4033,4083,4072,3691,3548,3323,2828,2801,3310,2752,2473,2263,2210,2376,2556,2472,2007,1791,2248,2418,2293,2077,2168,2374,2556,2597,2331,2020,2254,2545,2191,1775,1842,2318,2308,2128,2523,3011,2710,2553,2410,1904,1536,1705,1555,1721,2081,2541,3096,2769,2074,1868,2272,2547,2806,2697,2464,2441,3020,3206,2854,3196,2916,2250,2082,2024,2144,2041,1750,2522,2596,2944,2831,2532,2597,2692,2209,2177,2096,2127,2680,3216,2776,2645,2654,2207,2353,2398,2554,2226,1809,1873,1627,1811,2345,2557,3286,3006,3034,2912,2571,2694,2581,2051,2010,2004,1886,1507,1600,1621,2687,2590,2513,2191,1778,1768,2276,2244,1886,1794,2438,2627,2316,2701,3216,3444,3640,3344,2502,2656,3310,2706,2178,2405,2438,2081,2322,2466,2590,2750,2876,2876,2741,2169,1554,1532,2415,2889,2129,2061,2674,2136,1887,2218,2348,1989,2014,1730,1555,1927,2524,2689,2410,2062,1604,1498,2071,2029,1670,1636,2222,2063,1470,1834,2641,3203,2855,2335,2285,2308,2402,2274,2436,2845,2951,2513,2114,2378,2564,2776,3108,3018,2966,2872,2842,2609,2791,3119,2444,1598,1478,1796,1704,1391,1345,1251,1378,1287,1532,1459,1532,1556,1521,1808,1554,1320,1466,1486,1369,1371,1579,1763,1599,1416,1451,1476,1545,1554,1799,1733,1434,1727,2065,2143,2055,1749,1790,1822,1831,1384,1389,1323,1356,1530,1842,1768,1503,1484,1341,1622,1548,1676,1611,1611,1138,978,1238,1399,1501,1423,1420,1433,1415,1384,1585,1652,1673,1650,1720,1726,1757,1962,1795,1441,1416,1636,1692,1911,1800,1362,1544,1336,1648,2322,2483,2910,2096,1391,1334,1218,1657,2317,2185,1934,1855,1651,1651,2241,2160,2073,2277,2459,2446,2274,1882,1616,1458,1096,1362,2008,1860,1897,1957,1895,1737,2200,2272,1742,1710,1761,1840,2054,1830,1849,2268,1746,1885,1946,1388,1703,1484,1181,1374,1393,1299,1504,1527,1567,1680,1535,1510,1624,1764,2020,2019,1791,1756,1781,1614,1588,1472,1948,1998,1879,2125,2156,2008,1928,1709,1664,2288,2702,2692,2632,2408,2041,1668,1616,1560,1377,1294,1655,1806,1713,1718,1967,2094,1973,1960,1598,1820,2030,1842,1518,1546,2067,2220,2176,2050,2021,1668,1601,1982,2632,2588,1735,1446,1501,1313,1643,2058,2026,1610,1574,1632,1649,1643,1554,1601,1716,1765,1732,1876,2080,2104,1965,1606,1509,1594,1615,2051,2137,1926,1623,1926,2123,2296,2001,1893,1838,1931,2149,2153,1992,1947,2217,2905,2734,2138,2160,2083,1647,1783,1910,1714,2241,1738,1480,1603,1605,1384,1594,1618,1577,1531,1835,2798,3539,3517,3773,4273,3703,2724,2434,2712,1912,1670,1678,1450,1562,1873,2361,2007,1565,1791,1555,1954,2984,2928,2518,2500,1973,1458,1643,1858,1874,1830,1747,1627,1530,1476,1481,1432,1324,1534,1516,1404,1478,1558,1694,1280,1454,1500,1737,2298,1675,1675,2040,1942,2044,1858,1816,1770,1881,1873,1566,1691,2664,2424,2014,2069,2665,2212,1571,1318,1425,1538,1491,1764,2125,1882,1997,1765,1427,1423,1250,1224,1500,1634,1649,1850,2177,1977,1850,2029,1919,1678,1511,1400,1582,1547,1507,1710,1874,1590,1373,1440,1404,1378,1542,1585,1791,2301,1763,1420,1388,1276,1735,2540,2104,1422,1635,2128,2009,1732,1633,1529,2498,3465,3167,2942,3042,2542,1824,1351,1781,3054,2257,1795,1925,1764,1930,2540,2152,1685,1534,1492,1538,1716,1994,1882,1965,1692,2248,2696,2796,1691,1406,1377,1387,1425,1757,1946,1731,1567,1572,1659,1781,1930,1597,1558,1504,1268,1268,1490,1628,1664,1521,1462,1867,2356,2094,1501,1925,2154,1788,2002,2286,1908,1512,1428,1625,1559,2021,2691,2080,2192,2543,2509,1809,1798,1641,1703,1865,2496,3117,2278,1578,1792,1843,1743,1552,1371,1630,1679,1967,2256,2432,2058,1649,1873,2154,1810,1589,1582,1519,1502,2030,2378,2024,1601,1390,1778,2463,2079,2365,4208,4336,2453,1406,1431,1738,2155,2008,1982,2179,2080,2305,2619,2319,2238,1877,1578,1906,2346,2622,2331,2187,2379,2419,2208,2293,2721,2587,2474,2245,2008,1763,1615,2312,2643,2755,2207,2097,2187,1695,1481,1528,1819,2154,1088,942,1666,1933,1460,1223,1592,1802,1668,1765,2497,2737,2579,2473,1738,1334,1370,1672,2001,2152,2178,2402,2402,2053,1835,1865,1887,1636,1536,1437,1413,1386,1556,1439,1470,1399,1336,1452,1455,1360,1301,1307,1256,1299,1324,1445,1480,1562,1404,1281,1336,1243,1302,1334,1424,1458,1442,1470,1406,2232,3453,3873,3326,3076,2558,1599,1392,1462,1529,1390,1277,1504,1592,1511,1469,1429,1455,1439,1404,2084,2820,3065,2607,1924,1413,1358,1383,1408,1648,1638,1648,1591,1642,1666,1612,1668,1306,1353,1555,2755,2320,2344,2380,2574,2206,2027,1899,1728,1804,1920,2012,2288,2000,1922,2198,1896,1450,1314,1443,2031,2216,2186,2258,2171,1760,1676,1422,1326,1456,1763,1736,1686,1844,2014,2022,1686,1556,1782,1578,1691,1701,1646,1723,1487,1630,2061,2231,1896,1806,1512,1407,1492,1475,1799,1961,1382,1184,1538,1907,1705,1901,2367,2330,2255,2532,2495,2491,2436,2557,2661,2856,2618,2081,2041,2299,2113,2286,2696,2831,2324,2474,2667,2226,3090,3228,2823,2045,1786,2235,2085,1832,2075,2322,2504,2503,2202,2319,2310,3023,2768,2260,2348,1888,2205,2587,2226,2200,2256,2143,2062,1784,2640,2609,2300,2731,2690,3113,3437,3255,2979,2862,2854,2849,3066,2938,2228,2557,2957,1958,1519,2232,3303,2962,2066,2104,2414,2376,2308,3117,3351,3278,3139,3002,2932,2061,1851,1708,1499,1763,1924,1976,2044,2023,2257,2298,1740,2188,2722,2373,2325,2734,2720,2131,1641,1916,2078,1644,1692,1875,1930,1967,1840,2050,2334,1798,1824,1792,1974,2357,1928,1637,1927,2393,2382,2098,1728,1610,1810,3098,3663,3242,3217,2858,2221,1981,1605,1938,2132,1749,2048,2686,2735,1759,1289,1432,1848,2234,2476,2356,1836,2269,2212,2135,1957,2292,2402,2321,2280,2138,2286,2578,2379,2756,2689,1980,1937,2238,2092,2609,2545,2322,2769,3019,3094,3824,4078,3118,2293,2342,1927,2328,2554,2409,1907,1732,1290,1706,2438,2938,2965,2232,1842,2188,2512,2647,2931,2522,1997,2195,2724,2978,2591,2234,2159,2344,2566,2440,3588,5224,3616,1888,1278,1539,1999,2066,1931,1972,2138,1954,1854,2272,2023,2050,2231,2316,2509,2354,2329,2391,2461,2708,2973,2866,3008,3163,3034,2696,3052,2994,2325,2056,1929,1961,1989,1766,1698,1964,1955,1749,1682,1814,1729,1708,1485,1592,1448,1632,2688,3108,2997,2630,1558,1785,1781,1713,1430,1965,2114,2647,2287,1895,1843,1889,2017,1952,1851,2183,2770,3237,2749,2235,2114,2168,2143,2320,2107,1454,938,850,796,803,748,1270,1716,1814,1627,1452,1461,1570,1605,1526,1676,1633,1585,1818,2010,2270,1864,2151,2093,1860,1562,1550,1488,1406,1611,1803,2094,1917,1840,1748,1655,1660,1465,1545,1544,1325,1288,1286,1370,1447,1451,1482,1639,1534,1663,1803,1815,1474,1391,1328,1543,1613,1349,1437,1447,1444,1517,1560,1567,1554,1648,1828,1575,1693,1709,1424,1556,1819,1831,1806,2210,2368,1930,2231,2292,2841,2631,2209,2109,2437,3194,2684,1945,1845,1912,1748,1639,1706,1653,1887,2213,1947,1852,2107,1888,1687,1826,1826,2103,2607,2470,2234,2540,2305,2187,2317,2072,1953,2139,2210,2052,2303,2187,1974,1781,1832,2027,1964,1743,1660,1609,1744,2004,2344,2396,2473,2744,2498,2159,1917,2044,2265,2154,1796,1651,2003,1844,2014,2215,2094,1800,1888,2000,1686,1662,1762,2224,2666,2831,2878,2634,2299,1703,1710,1915,1704,1617,1557,1959,2297,2530,2732,2287,1864,2092,2028,1996,1754,1744,1984,2265,2074,2364,2089,1801,2270,1892,1604,1860,1882,1989,1978,2017,1958,2023,2089,2111,2292,2367,1950,1755,1836,1455,1517,1870,2197,2668,2275,1603,1741,1757,1698,1699,1638,1569,1484,1460,1447,1641,1938,2008,2032,2396,1965,1717,2272,2572,2614,3274,3931,3725,2842,1798,1747,1886,2136,1720,1722,2396,2930,2832,2554,1835,1970,2503,2414,2195,2310,2214,1788,1628,1533,1409,1772,2260,2023,1766,1825,1803,1820,1744,1714,2014,2224,2312,1881,1517,1909,2346,2454,2320,2179,2530,1998,1749,1777,2302,2222,1752,1706,1815,1678,1735,1960,2668,3426,3667,2866,2435,2764,2800,2535,3205,3748,3735,3674,3646,3566,3594,3576,3510,3396,3189,3184,3320,2997,2481,1644,1565,1660,1584,1625,1765,1782,1717,1654,1494,1695,1529,1199,1437,1538,1521,1562,1558,1535,1584,1742,1650,1462,1892,1860,2039,2824,2711,2569,2584,2284,2074,2077,2036,1786,2093,2330,2350,2360,2155,2046,2110,2298,2472,2643,2547,2644,3059,3296,3210,2810,2974,2677,1712,1996,2316,1831,1913,2238,1926,2045,2308,2248,2491,2491,2313,2540,2272,1863,1970,1854,2501,3541,3363,2831,2845,2605,2026,1787,2279,2815,2351,2042,1985,2128,2193,1874,1900,1942,1758,2215,2655,2079,2218,1940,2105,2073,1682,1666,2071,2304,2072,1679,1603,1972,1960,1666,1368,1656,2104,2288,2429,2886,3199,2732,2153,1957,1719,1873,2214,2026,1771,1826,1804,1527,1735,1777,1742,1870,2066,2093,2312,2354,2040,2064,2364,2210,2053,1987,2195,2166,2019,2120,2252,2252,2248,2045,1808,2016,1920,1680,1667,1937,2417,2555,2611,2827,2381,2073,2571,2669,2811,3100,2388,2626,2479,2410,2635,2718,2934,3171,3054,2873,2897,3376,3518,3090,2886,2938,3143,3108,2665,2589],[1732,1857,2164,2085,2025,1906,1910,2383,2513,2423,2831,3042,2709,2598,2736,2578,2722,3172,2999,2855,2332,1802,1898,1922,2384,2881,2709,2475,2609,2657,2459,2168,2217,2962,3746,3907,3604,3383,3495,3617,3617,3405,3358,3518,3314,3270,3275,3648,3904,3912,3903,4072,3883,3310,3495,2598,2283,2624,3189,2525,2179,2365,2059,1818,1881,2326,2206,1804,2430,2014,1673,1525,1558,1786,2405,2703,2309,2463,3073,2769,2069,1938,2242,2888,2323,1955,2077,2728,2406,2191,2488,2234,1864,1893,1829,1509,1536,2198,2748,2094,1815,1946,2046,2045,2698,2891,2735,2535,2768,2875,2553,2622,2109,2119,2046,2077,2629,2899,2601,2351,2351,2342,2500,2607,2521,2511,2492,3078,3001,3041,3194,3177,3495,3049,2602,2560,2766,2828,2886,2883,2426,2174,2142,1985,2413,2723,2691,2774,2785,2604,2614,2662,2415,1874,2142,2249,2050,1594,1780,1793,2625,2750,2527,2431,2004,1668,1760,2055,1781,1640,2303,2323,1946,2520,3343,3247,2710,2928,2724,2745,3178,2755,2308,2283,2165,2598,2540,3177,3330,3405,3366,3053,2813,2031,1495,1515,1622,1708,1891,2333,2912,1957,1447,1401,1614,2109,2140,1790,1513,1590,1796,1781,1897,1614,1417,1479,1724,1895,1714,1778,2663,2850,2315,1859,2265,2939,2374,1892,1940,2159,2133,2038,2611,3638,3696,3122,2835,2829,2730,2605,2820,3140,3255,3251,2782,2572,2956,2864,1924,1360,1330,1491,1632,1660,1709,1439,1618,1569,2094,1720,1785,1661,1794,2122,1781,1494,1452,1450,1338,1312,1559,2017,1802,1478,1500,1533,1806,1880,1750,1583,1622,1682,1849,1754,1627,1881,1859,1710,1559,1419,1484,1297,1301,1391,1866,2092,1767,1779,1845,1948,1590,1531,1525,1385,827,971,1470,1543,1469,1519,1888,1736,1549,1417,1567,1645,1658,1508,1490,1474,1544,1625,1548,1366,1714,1793,1587,1715,1600,1540,1427,1757,2585,2741,2459,2495,2100,1309,807,750,1231,2733,2851,1819,1748,1781,1632,1775,1667,1463,1463,1507,1660,1730,1707,1841,1628,1025,1445,2013,1617,1455,1413,1448,1707,2176,2281,1800,1694,1689,1660,2100,1795,1813,2232,2282,2671,2304,1826,1834,1507,1378,1356,1308,1287,1572,1453,1504,1500,1427,1623,1735,1909,2205,2091,1623,1830,1709,1466,1428,1367,2024,1966,2176,2452,2200,1932,2050,2144,2025,1596,1866,2474,2946,3031,2708,2352,1982,1665,1304,1348,1661,1852,1945,1766,1643,2170,2115,1660,1655,1969,1977,1698,1415,1589,1879,1850,2170,1982,1875,1783,2036,2248,2564,2197,1646,1399,1262,1339,1645,1618,1498,1563,1643,1664,1623,1523,1424,1452,1515,1615,1490,1522,1796,1875,1868,1885,1850,1888,1825,2102,2377,2316,1900,1880,2226,2209,1915,1873,1897,1960,1913,1897,1676,1799,2315,2880,2285,1695,1797,1853,1795,2076,1976,1947,1933,1692,1709,1721,1541,1400,1963,2645,2285,1456,2181,3538,3723,3783,4056,4388,4573,3919,2845,2216,1725,1730,1714,2250,2890,2717,2611,1868,1590,1597,1454,1903,2789,2822,2408,2397,2256,2048,2264,2128,2488,2448,2647,2458,2155,1763,1614,1507,1405,1672,1594,1563,1635,1673,1861,1324,1456,1065,1172,1807,1620,1664,1801,1960,1946,1620,1397,1534,2035,2358,2391,1921,2293,1819,1642,1739,2193,2042,1567,1474,1581,1684,1631,2130,2534,2129,1666,1492,1363,1323,1257,1283,1377,1421,1419,1567,1874,1790,1791,1821,1730,1752,1858,1636,1888,2008,2012,1933,1666,1456,1391,1340,1271,1401,1642,2316,2417,2232,1686,1400,1380,1507,1711,1617,1469,1370,1831,2509,2288,1703,1505,1417,2228,2930,2425,1976,2432,2291,1189,884,1838,3192,2159,1764,1829,1932,2050,2239,2181,1948,1603,1470,1606,1805,2166,1904,1998,1619,2019,3132,2710,1651,1528,1512,1531,1739,2316,2292,2015,1671,1594,1641,1891,1830,1503,1457,1355,1122,1271,1755,1576,1510,1052,1316,2469,2349,1738,1836,2206,2004,1583,1780,2070,1785,1561,1688,1958,1400,1337,1184,1504,2089,2173,1418,1060,1403,1466,1577,1700,1826,1853,1675,1430,1714,1843,1730,1337,1457,1713,1854,1909,2289,2562,2164,1734,1976,2300,1958,1652,1760,1588,1424,1728,2318,2322,1648,1447,2001,2788,2375,2432,3151,3100,1891,1012,1387,2128,2077,1936,2379,2365,2034,1698,2059,1923,1838,1698,1584,2020,2647,2317,2281,2460,2059,1962,1444,1918,2611,2807,3677,3567,3245,2484,1744,1772,2339,2723,2331,2235,2104,1742,1690,1815,2057,2259,1971,2171,1952,1763,1493,1390,2038,1977,2044,1919,2323,2313,2423,1953,1611,1171,1326,1507,1330,1616,2310,2798,2756,2489,2027,1952,1813,1665,1884,1822,1509,1416,1407,1366,1383,1318,1330,1293,1272,1295,1413,1354,1274,1383,1357,1540,1704,1707,1466,1342,1550,1413,1373,1196,1138,1059,1189,1523,1550,2575,3549,3759,3787,3301,2753,2288,1433,1508,1703,1337,1353,1526,1387,1280,1407,1464,1535,1532,1661,1976,2055,2200,1760,1475,1264,1442,1706,1783,1632,1243,1422,1845,1953,1526,1409,1425,1199,1232,1290,2115,2236,2556,2871,2645,1959,1855,1766,1843,2724,2679,2082,1954,1766,2033,2147,1800,1308,1069,1377,1456,1710,1731,1587,1654,1603,1752,1492,1398,1370,1557,1691,1667,1693,1746,1785,1583,1484,1644,1476,1602,1635,1722,1588,1230,1744,2553,2256,1738,1660,1602,1365,1417,1440,1892,1765,1218,1733,2168,2141,1817,1854,1918,2035,2651,2538,2248,2392,2347,2402,2168,2645,2553,2247,2578,2541,2164,2209,2724,2900,2257,2806,3248,2818,2996,3101,3028,2727,2003,1727,1964,1743,1980,2478,2488,2800,2873,2736,2932,3161,2930,2934,2519,1994,2244,2160,1765,1991,2231,2052,2126,2337,2953,2427,1904,2119,1831,2544,3529,3492,3109,3018,3170,2876,2567,2216,2309,2545,2432,1921,1839,2148,3044,2938,2249,2624,2852,2840,2834,2798,1932,1998,2170,2392,2536,2001,1936,1810,1808,2067,2080,2130,2238,2182,2130,2256,1952,1987,2178,2274,2730,2567,1909,1571,1659,1660,1690,1639,1685,1774,1781,1884,1938,1758,1912,1714,1569,1606,1465,1798,1507,1483,1965,2267,2309,2014,1988,1946,1798,2957,4177,3919,3629,3218,2680,2000,1646,1759,1853,1859,2138,2339,1963,1591,1564,1455,1544,1980,2750,2366,2192,2698,2548,2086,1794,2341,2415,2330,2763,2505,2170,2430,2742,2290,1877,1669,1694,1643,1797,1970,1817,1525,1785,2819,3311,3451,3741,2909,1984,1955,1825,2377,2654,2405,1987,1360,1108,1831,2051,2211,2432,2030,1704,2107,2006,2502,2801,2251,2555,3028,3288,2929,2230,2285,2220,2555,2636,2280,2801,3624,2843,1522,911,944,1088,1432,1838,2125,2157,1911,1734,2145,2056,2265,2315,2411,2542,2452,2302,2309,2224,2169,2612,3008,2949,3022,3215,3135,3508,3339,2982,2541,1804,1635,1908,2006,1791,1855,1825,1558,1439,1679,1678,1438,1599,1768,1596,1687,2231,2939,2886,2303,1709,2018,2271,1773,1739,1939,2435,2998,2669,2014,1974,1885,1952,1956,1919,1880,2469,2718,2191,2015,2234,2116,2058,1838,1131,863,839,847,808,829,775,1279,1605,1532,1437,1377,1248,1432,1513,1500,1710,1875,1460,1472,1526,1571,1887,2047,1762,1681,1691,1538,1482,1451,1520,1595,1855,1588,1682,1455,1336,1555,1381,1317,1347,1347,1599,1660,1589,1474,1395,1414,1401,1322,1699,2056,1629,1256,1304,1368,1504,1529,1573,1624,1361,1416,1457,1451,1506,1471,1599,1768,1720,1695,1664,1479,1817,1931,1993,1920,2294,1945,1958,2373,2596,2448,1851,1910,2042,2277,2519,2060,1760,1797,1815,1576,1547,1811,1931,2150,2005,1782,1932,1994,1933,2102,2199,1991,2073,2354,2436,2252,2346,2084,1669,1736,1913,2189,2243,2356,2389,2457,2578,2344,2019,2107,2511,2314,2177,2445,2147,1901,2024,2323,2193,2189,2747,2619,2136,2299,2603,2722,3054,2380,1998,2763,2049,1757,1982,1814,1807,1993,1869,1691,1770,1772,1794,2044,2304,2630,2703,2406,1898,1922,1792,1683,1667,1605,1989,2307,2200,2242,2132,1869,1739,1676,1557,1561,2150,2264,1776,1748,2027,1856,1840,2214,1732,1646,1971,2186,2187,1895,2048,1823,1655,1765,1900,2069,2153,2177,1893,1572,1534,1801,1980,2153,2333,2170,1527,1250,1393,1572,1596,1655,1514,1507,1410,1587,1953,2047,1797,1536,2002,1771,1972,2780,2485,2360,2373,3102,3975,3605,2541,1829,1888,2132,2099,2176,2946,3553,3647,3198,1813,1599,1960,2232,2105,2217,2055,1533,1521,1579,1619,2156,2527,2084,2182,1896,1673,1815,2338,2894,2080,1775,1793,1621,1814,2024,1922,2143,2295,2167,1869,1800,1625,1550,2015,2454,2175,2343,2423,1805,1547,2130,3105,3146,2929,2286,2450,3239,2821,2310,2792,3344,3423,3574,3737,3798,3660,3423,3409,3568,3136,3266,3396,2258,1333,1466,1638,1674,1680,1770,1594,1753,1873,2033,1614,1638,1319,1401,1547,1564,1592,1694,1743,1738,1459,1665,1808,1491,2112,2190,2058,2147,2485,2667,2374,2299,2181,2124,2156,2204,2368,2503,2751,2408,2509,2322,2544,2636,2355,2232,1873,2375,2893,3189,3439,2956,2891,2678,2164,2341,2164,1571,1749,2149,2042,2167,2177,2101,2014,2056,2055,2338,2755,2359,1577,1404,1988,2683,2801,2812,2697,2333,2213,2198,2658,2737,2119,2241,2186,2511,2536,2081,2110,1990,2026,2294,2613,2325,1941,1877,2386,2179,1965,2067,2249,2237,1781,1744,1831,1947,1858,1484,2120,2126,1984,2444,2676,2800,2800,2392,2218,2059,2127,1916,2290,2442,2087,2329,1971,1279,1506,1750,1590,1756,1983,1901,2133,2347,2215,2294,2326,1970,1934,1891,1809,1904,1936,2110,2323,2347,2203,2377,1951,1979,2098,1902,1779,1897,1964,1803,1996,2307,1824,1970,2425,2003,2129,2557,2576,2821,2718,2851,2811,2802,3221,3338,2789,2450,2764,3662,3526,2994,2962,3046,3321,3293,2857,2600],[2547,2402,2091,2200,2182,1871,1707,1716,2042,2546,3143,3407,3219,3263,2240,1712,2338,3051,2852,2813,2845,2481,2237,2370,2613,2526,2358,2466,2603,2409,2126,2074,2161,3017,3936,3835,3575,3605,3646,3526,3388,3206,3169,3428,3386,3603,3742,3758,3786,3681,3738,4148,4332,3818,3674,2078,2032,2050,2801,2995,3142,2921,2299,2227,2135,2085,1690,1655,2433,1982,1644,1714,1642,1626,2065,2370,2570,2907,2647,2430,2136,2209,2112,3119,2302,1859,2170,2458,2287,2121,2255,2378,2272,2222,2029,1521,1490,1680,1995,1772,1755,2266,2348,2402,2721,3006,3016,2519,2359,2798,2712,2554,2666,2707,2348,2243,2885,2928,2170,1813,1985,2214,2000,2111,2187,2285,2800,3535,3579,3680,3790,3869,3118,2701,3218,3110,2752,2563,2454,2730,2339,2181,2155,1930,2306,2680,2309,2284,2712,2727,2357,1983,2158,2051,2358,2734,2219,1737,1706,1885,2632,2658,1990,1694,1760,1777,1898,2291,2039,2240,2631,2786,2670,2907,3196,2619,2364,2943,2958,2698,2946,2559,2150,1919,1574,2479,2561,2598,2576,2421,1825,1964,1925,1439,1322,1424,1635,1713,2280,2637,2722,1795,1619,1704,1474,1645,2078,2123,1733,1638,1727,1796,1904,1614,1486,1514,1763,2010,1973,1925,2250,2928,3082,2309,2122,2335,1960,1797,1846,1859,1780,1810,2717,3664,3685,3853,3780,3613,2849,2108,2096,3082,3432,3356,2963,2817,2430,1627,1324,1349,1533,1495,1529,1846,1992,1892,1644,1694,2002,1785,1622,1597,1682,1633,1566,1411,1390,1485,1333,1348,1455,2016,1782,1513,1467,1490,1681,1765,1559,1462,1453,1396,1496,1425,1410,1600,1608,1605,1458,1410,1393,1343,1459,1621,2234,2166,1799,1643,1633,1395,1360,1413,1456,1543,1176,1258,1800,1691,1567,1831,2142,1752,1702,1761,1626,1606,1598,1416,1336,1355,1381,1781,1898,1446,1577,1640,1844,1713,1354,1899,2134,2498,2990,2766,2497,2459,2377,1813,812,753,946,2344,3009,2502,2172,2026,1858,1742,1694,1603,1778,1815,1525,1482,1770,1954,1715,1133,1484,1945,2026,1721,1470,1670,1643,1748,2335,2040,1808,1466,1461,1886,1573,1646,1858,2185,2699,2402,1903,1435,1424,1884,1615,1294,1438,1744,1587,1624,1457,1332,1435,1655,1880,1976,1819,1581,1813,1538,1733,1506,1518,2047,2215,2166,2104,2178,2170,1866,2049,2306,2222,1935,1575,2085,2531,2792,2817,2556,2152,1453,1490,1665,2019,1721,1775,1816,2041,1900,1421,1517,1885,1925,1839,1543,1676,1902,2004,2383,2033,1714,1709,2104,2386,2076,1743,1583,1398,1350,1440,1550,1575,1485,1542,1925,2011,1717,1442,1378,1408,1498,1640,1549,1526,1646,1847,2150,2027,1851,1863,1891,1979,2249,2347,2383,2450,2415,2265,1967,1886,2058,2091,2314,1941,1614,1663,2279,2656,2113,1742,1749,1798,1922,1768,1527,1976,2050,2260,2010,1683,1509,1846,2613,3164,2265,1365,2219,3499,3488,3706,3942,4061,4271,3704,3183,2442,1821,1588,1711,2642,3558,3515,2413,1800,1771,1565,1826,2354,2576,2492,2163,2072,1931,2111,2249,2258,2250,2282,2598,2556,2644,2033,1553,1606,1631,1655,1427,1412,1550,1512,1532,1308,1302,1148,1207,1635,1585,1371,1604,2022,1904,1565,1549,1580,1610,1800,1824,1546,1572,1586,1911,1794,1413,1561,1614,1534,1476,1599,1516,1715,1735,1485,1471,1504,1422,1410,1322,1355,1357,1427,1377,1325,1635,1862,1949,1830,1630,1589,1756,1768,1720,1780,1798,1808,1471,1233,1339,1377,1218,1263,1326,1674,1912,1854,1518,1361,1317,1527,1427,1261,1414,1562,1442,1677,1764,1493,1314,1275,1593,2065,2209,2172,2204,1765,974,917,2237,3112,2285,1946,1827,1903,2208,2055,1720,1923,1780,1766,1858,1835,1786,1818,1833,1746,2324,3166,2411,1663,1525,1531,1645,1520,2242,2234,2171,2182,2061,1860,1904,1748,1446,1310,1290,1153,1354,1804,1638,1688,1152,2028,3183,2349,1861,2323,2446,2049,1503,1392,1559,1446,1576,1706,1937,1634,1543,1476,1520,1742,1736,1393,1497,1851,1863,1732,1894,2117,2320,2294,1902,1798,1777,1506,1357,1490,1899,2371,2481,2676,2600,2246,1677,1928,2501,2187,1606,1355,1504,1578,1512,2011,2024,1881,1711,1926,2298,1695,2191,2692,2685,2002,1415,1676,2152,2153,2146,2248,2009,1834,1843,1758,1835,1847,1820,2001,2366,2369,1985,2192,2109,1628,1744,1478,1620,1772,2809,4240,4168,3706,2730,1876,1708,2105,2133,1947,2017,1952,1979,1924,2106,2236,2349,1980,2176,1884,1342,1432,1483,1954,2094,2249,2199,2386,2153,2231,1759,1491,1305,1233,1369,1364,1450,1863,2157,2263,2068,1968,1933,1849,1596,1980,1948,1392,1425,1342,1307,1374,1386,1357,1333,1334,1304,1514,1479,1337,1345,1313,1237,1310,1618,1732,1510,1445,1438,1272,1256,1184,1014,1204,1395,1790,2733,3107,3255,3630,3260,2480,2513,1647,1492,1315,1170,1418,1638,1494,1290,1346,1406,1722,1780,1698,1659,1853,1719,1412,1643,1505,1430,1759,2024,1786,1403,1617,1906,1926,1449,1294,1335,1205,1318,1556,1725,2120,2277,2066,2050,1842,1656,1566,1741,3140,2710,2135,1589,1352,1527,1638,1812,1462,1499,2051,1476,1597,1465,1498,1571,1546,1694,1615,1473,1356,1418,1666,1793,1756,1668,1626,1327,1306,1240,1306,1602,1596,1491,1155,1050,1663,2435,2610,2128,2144,2309,1901,1834,1768,2264,2075,1812,2404,2631,2136,1931,1910,1669,1947,2338,2188,2274,2452,2448,1884,1536,1932,2571,2801,2629,2424,1965,2004,2436,2744,2541,2696,2984,2920,2957,2939,2942,2876,2252,1952,2380,2148,2675,2668,2321,2403,2728,2670,2584,2697,2431,2414,2479,2495,2438,2121,1969,2522,2708,2224,1728,2558,3124,2703,2000,1690,1688,2351,2976,2854,2728,2620,2842,2547,2496,2410,2549,2372,2203,1749,1581,1992,2343,2414,1951,2225,2687,2386,2592,2718,1884,1582,2202,2624,2168,1769,1685,1772,1908,2132,2412,2576,2346,2062,1991,2190,2374,1914,1764,2378,2344,1885,1772,1747,1820,1585,1694,1732,2127,1952,1560,1512,1478,1416,1619,1704,1536,1510,1560,1708,1538,1465,1888,2118,2013,2009,2288,2050,1757,2820,4219,4200,4062,3798,3141,2452,1806,1487,1535,1786,1910,1853,1887,1810,1325,1369,1673,1907,2548,2244,2872,2250,2276,2665,2355,2322,2708,3039,3107,2366,1984,2207,2359,2096,1780,1674,1609,1870,2177,1928,1851,1869,2128,2396,2661,2215,2361,2398,2106,2098,1970,2319,2686,2172,1555,1145,1162,1683,1791,2115,2300,1733,1337,1814,1660,1726,1918,2103,2994,3859,3539,2453,2416,2247,2185,2192,1784,1958,2040,2150,1791,1102,926,919,894,919,961,1280,1682,2336,2295,2181,2148,2384,2464,2287,2389,2384,2253,2303,2291,2215,2374,2494,2639,3000,3248,3008,3163,3308,2990,2011,1443,1408,1676,1845,1598,1559,1836,1710,1544,1580,1632,1440,1281,1541,1530,1581,1859,2375,2070,1644,1761,2154,2076,2011,2106,1902,1887,2358,2579,1967,1951,1885,1884,1794,1559,1627,2268,2370,2012,1904,1648,1105,1045,1005,874,886,843,817,769,801,732,1150,1621,1501,1383,1406,1352,1394,1308,1303,1357,1693,1416,1308,1238,1202,1388,1397,1469,1722,1898,1487,1428,1456,1331,1589,1794,1720,1786,1524,1411,1455,1295,1462,1680,1381,1535,1636,1577,1387,1482,1445,1446,1403,1543,1925,1922,1496,1305,1339,1500,1443,1487,1593,1305,1422,1449,1367,1377,1470,1594,1595,1497,1550,1761,1891,2094,2050,2182,2148,2250,1992,2043,2634,2974,2420,1878,2095,2055,1939,2046,2308,2170,1908,1725,1719,1819,1899,2094,2353,2001,1810,1957,1926,1804,2086,2314,2179,1930,2094,2000,1686,1678,1622,1875,1958,1893,1791,2388,2805,2469,2373,2445,2065,1819,2387,2535,1908,2316,2790,2455,2634,2701,2426,1963,2108,2465,2293,2035,1751,1713,1846,2092,1832,2536,2822,2161,1811,1758,1691,1831,2087,2094,1719,1704,1596,1502,1601,1662,2039,2222,2024,1599,1687,1938,2402,2769,2230,2200,2459,2181,2444,2268,1870,1628,1558,1393,1798,2615,2467,2102,1710,1669,1635,1690,2044,2236,1935,2003,2113,1989,2012,2042,1644,1559,1541,1692,1873,2047,2042,1990,1721,1622,1729,1665,1847,1809,1746,1632,1511,1767,1956,1808,1751,1832,1597,1622,1968,1999,1936,1807,1434,1394,1945,2880,2424,2363,2378,1847,2264,3516,3286,3012,2536,2000,2096,2236,2392,2947,3480,3549,2767,1878,1730,1876,2183,2020,2012,1961,1654,1458,1632,1762,2212,2504,1965,1937,1727,1655,1736,2493,2714,1966,1770,1740,1649,1782,1982,2244,2593,2358,1996,1835,1807,1721,1632,1747,1943,1960,2643,2900,2320,1964,1993,2942,2829,2298,2478,3213,3674,3264,2945,3406,3533,3184,3435,3310,3474,3553,3310,3362,3543,3431,3431,2846,1744,1451,1589,1623,1730,1678,1734,1880,1898,1814,1830,1592,1244,1350,1552,1545,1634,1915,1890,1589,1732,1693,1830,1786,1546,1802,2266,2363,2097,2486,2580,1853,1992,2181,2321,2323,2585,2688,2596,2501,2788,3112,2697,2349,2477,2427,2115,1973,2364,2274,2849,2923,2160,2051,2150,2377,2252,1737,1832,2365,2654,2209,1666,1560,1656,1976,2288,2189,2313,2932,2580,1524,1246,1671,1902,2078,2460,2051,1710,1960,2144,2489,2215,2029,2198,2182,2026,1701,2309,2343,1919,1743,2036,2719,2655,2148,2231,2578,2237,2310,2525,2587,2059,2113,2192,2094,1860,1888,1957,2106,2028,1944,2067,2524,2669,2109,2181,2214,2370,2258,2124,2554,2632,2535,2706,2172,1517,1679,1867,1807,1986,2143,2111,2508,2468,2458,2388,2207,1939,1766,1831,2170,2625,2259,2287,2246,2123,1919,1968,1911,1909,2171,1944,1734,1953,2238,2479,2463,2851,2047,1727,2133,2055,2092,2482,2763,2601,2791,3319,2953,2910,3069,2466,1865,1964,2548,2940,3131,3220,3009,2972,3162,3231,3086,2539],[2874,2247,1944,2381,2565,2056,1770,2087,2227,2293,2771,3254,3251,3352,2357,1901,2686,3132,3029,3105,3143,3040,2730,2750,2557,2352,2335,2602,2596,2228,2104,2186,2601,3363,3880,3796,3716,3718,3506,3341,3299,3190,3082,3207,3513,3825,3673,3449,3513,3457,3615,3963,4148,3627,3816,2483,2127,2774,3286,2908,2407,2528,2774,1985,2226,2307,2127,2663,2632,2293,1906,1708,1957,2496,2588,2075,2321,2556,1950,2252,2449,2225,1936,2463,1796,1663,1856,1997,2281,2231,2004,2316,2489,2244,1944,1726,1597,1501,2150,2231,1946,2094,2195,2249,2323,2822,2653,2178,2367,2802,2683,2511,2350,2078,2084,2343,2708,2348,1777,1726,2076,2471,1847,2238,2043,2017,2825,3449,3554,3612,3829,3680,2977,3605,4435,3768,3007,3012,2340,2044,2163,2188,1583,1621,2250,2425,2497,2505,2669,2459,2361,1898,2060,2223,2256,2526,2326,2085,1844,1714,2122,2055,1807,1977,2401,2176,1978,2173,2526,3338,3588,3268,2702,2437,2264,1987,2018,2702,3044,2702,2645,2807,2901,2555,2165,2372,2687,2415,2202,1826,879,1317,1776,2029,1681,2099,2426,2075,2360,2622,2466,2214,2128,1941,1528,1343,1405,1643,1647,1588,1633,1808,1704,1730,1737,1535,1569,2085,2461,2093,2225,3038,3316,3167,2430,2187,1926,1773,1793,1742,1804,2374,3252,3341,2956,3772,3692,3625,2798,2303,2212,3117,3571,3429,3227,2687,2040,1533,1544,1571,1542,1626,1473,1697,1804,1679,1425,1396,2003,2198,1679,1627,1528,1413,1494,1423,1432,1477,1330,1333,1528,1488,1281,1345,1548,1721,1678,1494,1374,1336,1337,1354,1459,1564,1539,1479,1435,1516,1575,1496,1478,1511,1469,1503,2043,2140,2045,2116,1768,1510,1481,1349,1458,1713,1786,1678,1750,1897,1726,1824,1929,1888,1819,1873,1920,1627,1522,1543,1523,1391,1300,1421,1375,1308,1521,1731,1928,1639,1099,1772,2934,3334,2831,2498,2520,2130,2458,2376,1107,838,1386,2145,2842,3066,2257,1988,1982,1675,1572,1449,1488,1536,1296,1337,1791,1858,1685,1289,1450,2222,2297,1685,1503,1615,1489,1612,1894,1665,1637,1496,1405,1543,1685,1903,1832,1952,1980,1824,1764,1738,1425,2412,2430,1711,1572,1654,1716,1586,1526,1851,1592,1475,1782,2100,2106,2193,1834,1726,2083,1743,1487,1687,1830,1867,2050,2127,2259,1639,1691,2604,3257,2722,2300,2473,2797,2901,2556,2602,2744,2113,1771,1880,2376,2951,3083,2702,2154,1972,2001,1730,1876,1691,1631,1571,1657,1528,1563,1958,1851,1805,1918,2728,3400,2625,1681,1497,1654,1928,1638,1681,1556,1541,1689,2008,1988,1616,1371,1431,1472,1407,1585,1454,1476,1441,2017,3031,2731,1929,1543,1689,1794,1727,1865,2080,2139,2327,2430,2454,2116,2098,2374,2587,2230,1917,1853,2193,2369,1845,1589,1732,1767,1808,1776,1675,1653,1805,2283,2366,1715,1745,2240,2681,2835,1565,1257,1831,2349,2819,3514,3585,3869,4107,3480,2940,2475,1815,1462,1836,2976,3620,3696,2802,1862,1787,1771,2008,2161,1889,1762,2169,2659,1879,1765,2448,2356,1600,1521,1863,2002,1991,1670,1458,1648,1518,1470,1366,1441,1481,1394,1504,1306,1314,1265,1328,1592,1456,1483,2290,2728,2057,1524,1460,1672,1435,1202,1274,1482,1705,1667,1786,1584,1358,1438,1514,1423,1376,1367,1387,1373,1333,1333,1435,1523,1737,1699,1285,1318,1374,1502,1478,1353,1345,1312,1582,1886,1710,1460,1469,1629,1613,1571,1650,1861,1222,1200,1349,1418,1444,1396,1307,1286,1535,1556,1344,1360,1432,1809,1489,1404,1474,1616,1749,1951,1765,1390,1350,1432,1652,1830,1954,2114,2019,1614,1560,1192,2323,2758,2115,1996,1855,1889,2141,2035,1537,1339,1499,1715,1790,1889,1784,1817,2097,1878,2035,2463,1913,1839,1717,1693,1742,1655,2184,2219,2074,1852,1896,2008,1903,1660,1418,1401,1466,1981,1643,1202,1333,1573,1193,1687,2237,1940,1995,2503,2593,2130,1572,1468,1428,1850,1726,1419,1660,1921,1961,1794,1499,1558,1615,1782,2084,2248,2164,1923,2109,2252,2358,2348,2072,1964,1814,1460,1420,1519,1973,2265,2644,2536,2429,2395,1935,1921,2139,1854,1554,1544,1774,1787,1631,1996,2041,2043,1819,1660,1644,1577,2141,2322,2062,2035,2029,2132,2478,2570,2539,2225,2022,1722,2046,2066,2322,2384,1888,1865,1963,1881,1833,1994,2019,1685,1602,1771,1866,1859,3095,4200,4028,3100,2386,2489,1954,1838,1434,1624,1725,1709,1722,1899,1948,2023,2188,2148,2076,1895,1693,2035,1869,1771,2029,2474,2491,2210,2073,1845,1554,1738,1679,1081,1105,986,980,1325,1601,1766,1969,1775,1582,1754,1594,1375,1552,1992,2193,1432,1322,1349,1502,1420,1371,1300,1296,1477,1455,1310,1317,1365,1266,1365,1372,1442,1642,1687,1444,1190,1244,1349,1423,1406,1399,1455,1658,1892,2029,2509,2841,2172,2162,2209,1890,1419,1312,1411,1878,2129,1331,1167,1315,1710,1802,1730,1877,2205,1929,1598,1640,1520,1461,1928,2107,1846,1669,1780,2001,1707,1498,1512,1582,1403,1357,1464,1322,1731,2222,2321,2590,2490,2208,1808,1597,2558,2689,2380,1896,1614,1526,1470,1402,1283,1658,2021,1613,1601,1504,1372,1250,1339,1554,1700,1693,1605,1600,1716,1747,1741,1594,1591,1572,1600,1495,1260,1133,1439,1516,1378,1670,1708,2154,2938,2568,2372,2301,2454,2056,1972,2521,2501,2519,2741,2372,2196,2495,1733,1539,2330,2212,2023,1982,2469,2482,2031,1671,1704,2170,2169,1963,2110,1995,2509,2498,2202,2046,2163,2663,2751,2864,2908,2509,2354,1914,1752,2630,2431,2051,1678,1499,1642,2382,3015,2746,2076,1863,2475,3027,2690,2459,2340,2385,2331,1906,1792,1823,2456,2728,2743,2324,1675,2042,2387,2480,2742,2791,2601,2523,2206,2105,2250,2319,2232,2350,2121,2110,2349,2197,1975,1799,2294,2556,1854,2352,2417,1896,1736,2130,2158,1581,1685,1881,2104,2667,2525,2482,2422,2374,2382,1872,1836,2070,2162,2170,2049,1880,1804,1810,1837,1781,1549,1602,1947,2577,2193,1476,1344,1318,1392,1647,2151,1860,1515,1543,1498,1504,1529,1747,2041,2167,2347,2211,2021,2046,2724,3732,3825,3729,3697,3619,2939,2006,1964,2063,1833,1954,1876,2015,1774,1405,1533,2048,1921,2016,2220,2609,2036,2162,3101,2955,2446,3320,3278,2368,2265,2265,2222,1794,1769,1904,1992,1474,1578,1942,1958,1708,1673,1946,1919,1878,2164,2431,2849,2418,1926,1906,2221,2301,1867,1603,1079,1374,1742,1747,2162,2384,1814,1394,1940,2237,2437,2968,3340,3928,3764,2428,1790,1810,2436,2272,1787,1924,2086,2139,1980,1436,975,921,918,925,911,930,882,978,1879,2091,1768,2037,2469,2528,2096,2464,2282,2186,2212,2231,2301,2436,2372,2385,2901,3109,3071,3034,2673,2375,1699,1410,1478,1710,1675,1558,1614,1812,1720,1468,1422,1598,1570,962,1204,1408,1675,1899,2051,1568,1462,2309,2874,2288,1690,1655,1557,1330,1625,1797,1713,1628,1607,1655,1928,2300,2739,2585,1870,1325,1094,954,887,833,821,879,851,846,813,761,782,772,1131,1637,1520,1477,1369,1398,1359,1224,1379,1322,1245,1135,1319,1314,1340,1466,1390,1466,1776,1804,1412,1159,1224,1137,1526,1672,1606,1615,1422,1425,1560,1398,1428,1705,1455,1490,1527,1597,1554,1559,1370,1390,1460,1337,1596,1638,1538,1478,1532,1560,1462,1582,1532,1436,1501,1361,1377,1490,1633,1731,1566,1449,1692,1875,2234,2229,1986,1957,2091,2019,1669,1697,2427,2826,2691,1806,1838,1749,1769,2143,2475,2453,2189,2025,1957,2070,2306,2330,2139,2125,2094,1787,1599,1713,1760,1946,2220,2382,2042,1683,1583,1648,1682,2425,2132,1573,1788,2603,2901,2322,2135,2070,2131,2578,3206,2888,1918,1894,2592,2918,2846,2848,2332,1941,2567,2668,2287,2111,1830,1637,1687,1474,1832,2353,2674,2466,2145,1699,1520,1680,1676,1765,1778,1625,1606,1743,1777,1637,1708,1719,1567,1524,1895,2190,2396,2599,2282,1990,2381,2118,2135,1860,1659,1587,1395,1531,2270,2469,2616,2602,2191,1888,1693,1622,2102,2362,1977,2056,2084,1719,1795,1864,1584,1576,1604,1755,2111,2393,2148,1963,1831,1653,1554,1647,1603,1597,1927,1748,1537,1829,1950,2274,2135,1983,1775,2067,2182,1858,1732,1596,1575,1855,2645,2646,1901,2337,2142,1830,1694,1903,2322,2807,2744,2589,2463,2369,2710,2819,3037,3086,2519,2143,2084,1898,2310,2558,2177,2232,2171,1578,1687,1915,2491,2405,1853,1780,1810,1671,1614,2159,2311,1857,2162,2160,2063,1903,1629,1912,2176,2121,2155,1953,1688,1791,1858,2037,2341,1969,2382,2833,2546,1909,1587,2065,2019,2185,3043,3572,3727,3662,3563,3873,3827,3399,3591,3326,3342,3372,3453,3497,3599,3639,3153,2101,1555,1683,1861,1863,1711,1733,1766,1916,1711,1396,1206,1117,1334,1617,1633,1673,1825,2311,2424,1980,1676,2062,1886,1540,1506,1519,1847,2102,1956,2216,2056,1936,1886,2110,2235,2647,2847,2894,2688,2419,2955,3363,3133,2824,2884,2271,1854,2125,2157,2264,2366,2191,2223,2073,1773,1980,1820,1854,2104,2820,3220,2420,1901,2308,2336,1907,2168,2160,2010,2713,2793,1925,1773,2025,1982,2088,1879,1635,1798,1714,1687,1815,1887,2324,2405,2018,1767,1991,2336,2149,2030,1762,1985,2674,2984,2482,2352,2293,1969,2119,2144,2668,2128,2698,2589,1705,1730,1925,1756,1680,1953,2072,1913,1922,2355,2534,2466,2370,2800,2623,2165,2093,2235,2736,3101,2383,1745,1993,2755,2789,2938,2832,2418,1959,2143,2978,2938,2360,2097,1958,1982,2226,2602,2293,2223,1957,1747,1771,1869,1905,1867,1793,1799,1859,2059,2613,2988,3432,2823,2235,2446,2878,2726,2489,2392,2093,1927,2423,3167,2719,2220,2535,1920,1808,2465,2896,2773,3025,3297,3394,3526,3347,3062,3173,2643],[2096,1932,2192,2955,2710,1977,1824,2081,1797,1580,1988,2717,3131,3664,3454,3081,3374,3153,2844,3109,3278,3334,2818,2570,2356,2320,2496,2903,2898,2392,2188,2504,3196,3567,3762,3604,3488,3420,3269,3150,3161,3152,3073,3139,3472,3731,3584,3499,3607,3463,3638,3718,4028,3983,3742,2743,2287,3188,3327,2304,1813,2451,2800,2544,2812,2912,2932,2879,2714,2654,2349,2230,2532,3250,3062,2287,2576,3200,3373,3419,3221,2663,2188,1597,1236,1633,2221,2404,2166,1725,1118,1644,1941,1863,1780,2140,1853,1607,2034,1695,1455,1675,1952,2033,2293,2627,2514,2256,2579,2895,3023,2588,1850,1694,1848,2041,2297,2505,2303,2188,2003,1991,1764,1728,1480,1264,2263,3536,3759,3829,3852,3375,2692,3097,3394,3171,2617,2633,2148,1676,1987,1880,1140,1273,2187,2343,2259,2192,2090,2239,1902,1502,1777,1905,1880,1744,1840,2459,2629,2359,2092,1762,1833,1970,2438,2337,2145,2276,2176,2713,3480,2711,1840,1896,2348,2144,2081,2665,2866,3304,3152,3297,3256,3319,3272,2910,3197,2918,2168,1810,1767,1500,1746,2258,2215,2260,2086,2215,2670,2453,2000,1706,1675,1825,1734,1540,1726,1812,1682,2183,2188,1852,1582,1603,1829,2175,1902,2121,2544,2163,2112,2829,3230,3474,3034,2492,2110,1831,1660,1792,2489,3226,3440,2597,1948,2509,2584,2635,2988,3154,2863,3033,3104,3119,2844,2007,1732,1879,1642,1533,1368,1732,1605,1509,1534,1404,1299,1573,2420,2426,1882,1337,1198,1227,1358,1498,1403,1449,1412,1424,1412,1293,1341,1617,1742,1696,1717,1354,1437,1565,1475,1381,1493,1706,1558,1375,1392,1518,1501,1479,1496,1453,1304,1610,2264,2767,2709,2730,2074,1458,1347,1371,1616,1842,1865,1678,1513,1939,1852,1778,2176,2337,1826,1819,1931,1674,1506,1517,1698,1525,1311,1299,1336,1573,1577,1430,1440,1461,1482,2154,3116,3475,2798,2683,2903,2374,1897,1928,1791,2094,2813,2613,2674,3012,2461,2458,2189,1694,1423,1363,1334,1472,1404,1858,1954,1395,1534,1527,1495,1769,1685,1406,1522,1455,1446,1554,1763,1700,1587,1512,1477,1730,2540,2534,1878,1845,1423,1520,1541,1677,1671,2894,2872,1840,1502,1575,1730,1792,2010,2154,1994,1893,2264,2353,2010,1734,1388,1599,1800,1468,1476,1666,1706,1645,1919,1780,1642,1506,1886,2958,3087,2979,2998,2657,3165,3266,2604,2363,2878,2812,2446,2249,2585,3437,2996,2085,1930,2446,2602,1635,1760,1491,1503,2050,1936,1636,1584,2007,2233,1984,2123,3020,3848,3294,2067,1624,1748,1794,1544,1638,1509,1363,1478,1722,1754,1475,1539,1450,1472,1390,1550,1431,1526,1476,2353,3433,3195,2172,1540,1567,1533,1434,1591,1692,1728,1772,1786,2044,1990,2018,2152,2176,2179,2418,2379,2596,2744,1749,1555,1594,1332,1275,1591,1650,1674,1688,2116,2401,1970,2127,2578,1982,1678,1438,1512,1839,2504,3286,3620,3828,5236,4715,2643,1989,1802,1459,1430,1889,2917,3360,3384,2785,2170,2125,1866,1800,1830,1644,1671,2122,2565,2413,2181,2355,2096,1841,1612,1840,2077,1860,1440,1441,1653,1598,1514,1498,1678,1650,1592,1553,1426,1369,1410,1567,1552,1772,2652,3296,2842,1867,1361,1296,1579,1438,1276,1290,1538,1838,1710,1615,1746,1470,1432,1422,1324,1394,1300,1244,1235,1268,1310,1320,1396,1510,1493,1381,1396,1478,1336,1343,1385,1442,1440,1874,2154,1794,1573,1500,1623,1739,1554,1599,1849,1341,1395,1560,1390,1329,1488,1395,1294,1400,1422,1280,1427,1421,1502,1542,1526,1765,1980,2208,2420,2128,1562,1476,1360,1293,1312,1270,1311,1707,1688,1643,1513,2241,2579,1919,1904,1859,2013,1931,1816,1490,1492,1592,1582,1770,1701,1508,1612,1600,1543,1643,1766,1707,1749,1676,1794,1793,1685,2002,1984,1671,1762,2030,2062,1893,1618,1541,1454,1979,3837,2615,1395,1516,1657,1614,1895,2040,1860,1882,1909,2347,2136,1823,1780,1672,1859,1660,1455,1591,1689,1886,1886,1679,1750,1837,1876,1728,1578,1589,1720,1773,1707,1669,1807,1989,1958,1636,1615,2044,1781,2126,2249,2573,2351,2213,2334,2285,2537,2498,1926,1933,1952,1648,1674,1656,1709,1531,1610,1559,1561,1417,1539,1951,1978,1890,1913,1807,2082,2392,2360,2535,2596,2069,2004,2956,2798,2691,2754,1980,1801,2051,1844,1510,1566,1598,1766,2163,2520,2388,2220,2940,3540,3348,3182,3065,2965,2296,1792,1685,1979,1772,1858,1885,1659,1583,1409,1932,2182,2003,2004,2087,2138,2211,2011,2353,2582,2327,2142,1932,1588,1456,1869,1590,1036,1017,1147,945,1347,1831,2063,1846,1466,1466,1500,1429,1362,1470,2456,2170,1556,1346,1328,1466,1582,1477,1376,1428,1343,1316,1285,1320,1307,1273,1301,1279,1230,1488,1716,1618,1488,1377,1349,1327,1360,1538,1563,1605,1517,1908,2427,2831,2354,1979,2030,1548,1174,1399,1362,1447,1360,1231,1237,1371,1620,1733,1746,1725,1886,2128,1943,1564,1448,1439,1622,1873,1532,1648,2055,1984,1669,1508,1455,1530,1398,1378,1449,1483,2191,2755,3296,3592,2996,2193,1946,1650,2114,2555,2094,1845,1748,1482,1305,1209,1318,1415,1348,1164,1306,1405,1290,1294,1390,1484,1545,1719,1777,1790,1735,1565,1620,1676,1676,1681,1602,1604,1255,1152,1534,1493,1627,2070,2093,2241,2248,2774,2742,2551,2383,1833,1997,2413,2413,2437,2552,2231,2255,2036,1613,1770,2504,2397,2184,2271,2706,2856,2374,1772,1648,1685,2117,2752,2358,1986,2138,1885,1561,1546,1996,2304,2612,3260,3639,3174,2938,2629,2622,2645,2762,2724,2872,2035,1470,1893,2332,2363,2454,2273,2666,2873,2652,2596,2536,2430,2244,2204,2198,2342,2499,2534,2776,2372,1764,2554,2979,2532,2360,2377,2446,2393,2131,1997,2126,2313,2208,2509,2742,2708,2284,2297,2088,1921,2318,1975,1532,1738,1500,1382,1637,1980,2212,2183,2184,2034,1918,1804,1636,1856,1922,2190,2216,1990,2177,2429,2474,1666,1568,1759,1449,1483,1588,1560,1608,1754,1826,2079,2259,1880,1788,1606,1652,1848,2473,2311,1698,1396,1398,1571,1770,2069,2338,2353,2464,2142,2015,1863,1908,2023,2386,2518,2958,3121,2248,1963,2067,1814,1666,2072,1787,1921,2117,2226,2120,2269,1996,1756,2092,2249,1882,1956,2676,2918,2418,2556,1918,1715,2340,2193,2353,2428,2177,2197,2142,1503,1342,1717,1864,2056,1372,1374,1688,1907,2474,3331,3452,2506,2120,2114,2197,2259,1926,1926,1433,1623,2244,1998,1916,2014,1815,1618,1770,2248,2621,3039,3952,3831,2574,1641,1516,1816,2940,2053,1421,2081,2086,1952,1662,1128,937,915,930,974,964,921,933,1192,2076,1903,1552,1981,1949,2024,1905,2164,1938,2176,2410,2508,2502,2554,2354,2298,2786,3243,3403,3288,2636,2165,1723,1591,1713,1759,1859,1877,1675,1676,1794,1615,1546,1610,1825,1222,1354,1664,1846,1670,1388,1362,1710,2176,2238,1736,1354,1648,1821,1540,1484,1621,1556,1499,1816,2181,2521,2524,1937,1248,963,903,888,878,848,833,860,915,901,823,812,781,770,749,1220,1889,1730,1405,1306,1347,1334,1396,1371,1306,1276,1328,1380,1384,1440,1453,1651,1511,1877,1914,1518,1116,1114,1333,1572,1473,1323,1379,1359,1340,1249,1295,1361,1634,1566,1445,1498,1680,1667,1463,1224,1370,1658,1328,1602,1330,1547,1519,1394,1407,1300,1270,1322,1383,1333,1300,1467,1628,1683,1685,1502,1537,1785,1948,2270,2405,2244,2170,1935,1608,1433,1547,1962,2012,2124,1652,1632,1722,1845,2092,2282,2360,2442,2534,2100,2143,2189,2118,2172,2178,2598,2735,2170,1675,1556,1523,1971,2385,2076,1792,1920,1838,1889,2165,1798,1660,1704,2028,2205,1891,1804,1837,2299,2533,2619,2923,2830,2536,2622,2662,2779,2732,2347,2268,2481,2275,2422,2098,1710,1554,1710,1565,1996,2431,2656,2684,1986,1525,1509,1514,1416,1597,1805,1661,1681,1938,1832,1959,2290,1991,1734,1788,2179,2577,2162,2094,1976,2041,2320,2249,1832,1534,1456,1393,1528,2065,2222,2023,2128,2157,2502,2288,2072,1821,1969,1969,2013,2173,1896,1634,1714,1559,1588,1507,1535,1720,2356,2912,2742,2437,2126,1903,1911,1882,1676,1653,1537,1632,1968,1814,1582,2229,2411,2059,1981,2174,1923,1919,1788,1539,1656,2304,2575,2042,1722,1691,1910,2031,1708,1665,1916,2160,2701,3037,2785,3105,3627,3067,2544,2862,2504,2353,2596,2438,3098,3539,3164,3441,2503,1590,1672,1915,2286,2254,1808,1762,1870,1865,1654,1731,1773,1895,2299,2020,1716,1576,1599,1597,1715,1988,2253,2172,1967,1878,2080,2570,2754,2411,2450,2707,2365,1815,1822,1742,1748,2640,3399,3790,3924,3629,3585,3896,4108,3831,3705,3507,3381,3416,3240,3166,3264,3312,3274,2896,2198,2078,2420,2183,1990,1729,1883,1780,1390,1229,982,1222,1598,1691,1717,1681,1850,2567,2919,2514,1835,1506,1336,1395,1527,1510,1628,1771,1814,2163,2306,2078,1960,2129,2286,2630,2500,2695,2981,2275,2359,3165,3254,3097,2700,2069,1767,1770,1356,1687,2146,2080,2467,2109,1973,1677,1592,1827,2046,2734,3270,2735,2276,2436,2221,1802,2142,2606,2502,2431,2120,1679,1591,1788,1829,2020,1938,1808,1897,1852,1748,1659,2034,3146,3042,2819,2052,2102,1920,1979,2060,2104,2160,2588,2768,2268,2132,1671,1632,1767,2038,2052,1989,2355,2228,1844,2070,2082,1642,1528,1909,1932,1868,1868,2110,2370,2217,2369,2232,2090,2202,2022,1922,2239,2389,1759,1664,2040,3110,3473,3333,3143,2964,2652,2874,3309,2839,2666,2596,2141,1880,1950,2014,2110,2054,2000,1844,1826,1822,1712,1936,2056,2050,1830,1918,2333,2792,3018,2468,2378,2801,3041,2732,2351,2210,1839,2071,2315,2677,2903,2263,1801,1687,1860,2254,2508,2636,2823,3448,3695,3794,3570,3070,2964,2336],[2150,2384,2712,2944,2468,2183,2186,2233,2136,1751,2292,2987,3177,3466,2984,2656,2595,2618,2620,3044,3223,2977,2598,2370,2238,2394,2791,3198,3377,3085,2734,2661,3275,3526,3536,3372,3333,3328,3242,3185,3145,3142,2988,3163,3735,4152,3920,3727,3783,3476,3385,3606,4002,4101,3635,2856,2901,3527,2854,2525,2648,3044,2699,2535,2924,3221,3441,3363,3329,3329,3188,2567,2325,2563,2555,2180,3189,4260,4596,4277,3393,2991,2653,2050,2169,2256,2105,2537,2443,2061,1286,1602,1954,2325,2453,2642,2257,1616,1827,1892,1684,1640,1969,2269,2299,2242,2285,2475,2623,2768,2769,2175,1756,1650,1678,1895,2013,2434,2737,2691,2170,1866,1853,1580,1268,1111,2109,3742,3929,3959,3880,3222,2490,2159,1837,1913,2013,2335,1892,1432,1604,1665,1433,1420,1938,2007,1813,2043,1918,2019,1822,1826,2063,2374,2321,1614,1742,2437,2808,2587,2040,2102,2117,2238,2291,2928,3153,2596,2430,2937,3136,2565,1964,1751,2195,2292,2686,2994,3065,3349,3428,3604,3121,2895,3179,3086,3233,2426,1876,2318,2431,1740,1510,1964,2288,2316,2498,2725,2796,2104,1713,1535,1566,1808,1892,2113,2048,1758,1519,2130,2557,1876,1538,1569,1640,2143,1958,1635,1890,1699,1543,2355,3082,3437,3481,2935,2257,1929,1849,2388,3190,3339,2763,2107,1788,1656,1470,1914,2889,3144,3113,3196,2569,1867,1664,1583,1459,1443,1336,1402,1596,2327,2178,1519,1592,1636,1455,1745,2084,1899,1663,1454,1368,1319,1505,1545,1414,1416,1379,1355,1265,1369,1583,1982,1980,1844,1650,1405,1804,1869,1440,1340,1477,1488,1454,1475,1478,1470,1476,1524,1506,1502,1376,2060,2910,2789,2827,2845,1973,1547,1471,1451,1561,1679,1676,1752,1232,1293,1576,1903,2418,2156,1830,1911,1635,1496,1365,1403,1747,1675,1371,1309,1500,1734,1616,1300,1354,1495,2083,2902,3132,3116,2922,2475,2145,1810,1613,1538,2207,2977,3006,2484,2453,2220,2131,2497,2079,1762,1487,1305,1382,1644,1665,1765,1717,1542,2044,2420,2729,2613,2250,1801,1763,1616,1436,1714,1996,1972,2013,1584,1538,1562,1908,1775,2004,1588,1312,1395,1426,1329,1938,2833,2247,1626,1597,1719,1709,1501,1892,2514,2525,2183,1907,1603,1576,1575,1382,1552,1517,1402,2024,2130,1740,1447,1536,1769,2117,1841,2070,2832,2727,3041,3054,2567,2937,2730,2024,1894,2494,3476,3283,2457,2571,2763,2579,1832,2053,2647,2177,1594,1645,1494,1432,1927,1962,2029,2077,2042,2088,1942,2194,2987,3629,3298,2010,1695,1759,1542,1464,1511,1587,1637,1547,1785,1722,1608,1706,1772,1556,1528,1658,1631,1806,1920,2510,3305,2913,1927,1373,1486,1570,1526,1458,1537,1421,1530,1680,1679,1709,1753,1834,1862,1890,2061,2079,2281,2610,1808,1613,1813,1068,989,1646,1699,1509,1485,1592,1554,1709,2116,2504,1819,1524,1628,1880,2617,2871,3093,3340,3996,5636,3142,1885,2319,2110,1908,1662,1914,2301,2745,3240,2986,2701,2969,2310,2083,2276,2574,2709,2975,3198,3145,2946,2609,2460,2225,1949,2130,2425,1871,1570,1541,1467,1392,1355,1449,1835,1835,1471,1460,1527,1476,1484,1559,1499,1687,2357,2684,2176,1490,1331,1477,1454,1400,1454,1302,1438,1600,1698,1693,1748,1415,1433,1404,1319,1336,1273,1232,1218,1355,1457,1397,1253,1232,1374,1247,1449,1426,1407,1471,1427,1423,1324,1272,1428,1612,1523,1793,1786,1662,1371,1508,1809,1539,1395,1545,1419,1355,1433,1405,1282,1456,1649,1358,1432,1456,1666,1572,1496,1607,1616,1737,1740,1586,1282,1256,1157,1246,1418,1465,1591,1780,1622,1659,1943,2473,2539,1890,1861,1784,2190,2060,1896,1465,1388,1443,1463,1621,1538,1493,1748,1890,1717,1664,1758,1730,1698,1737,1703,1757,2232,2421,1772,1591,1764,2273,2390,1892,1595,1677,1766,3605,4953,3408,2364,2473,2280,1847,1841,1899,2033,1946,1895,1931,1865,2026,1842,1755,1848,1659,1612,1759,1793,1876,1921,1737,1493,1374,1444,1258,1277,1504,1536,1523,1533,1553,1743,2089,2003,1807,2187,2408,1968,1915,2304,2333,1835,1780,2193,2168,1973,1829,1788,1985,1916,1951,1813,1709,1631,1675,1578,1632,1819,1610,1685,2022,2526,2515,2344,2463,2183,1990,1840,2259,2599,1877,1724,2047,2175,2540,2298,2351,3006,3131,2337,1891,1967,1878,1908,2330,2652,2375,2299,2809,2917,2097,1910,2128,2133,2183,2035,1842,1827,1788,1666,1129,1238,1691,2108,2068,1793,2024,1855,2067,2194,2262,2204,2191,2348,2198,2028,1995,1109,1011,1108,1073,1243,1491,1287,1108,1574,2111,2017,1657,1377,1439,1529,1572,1494,1429,1720,1585,1396,1282,1264,1431,1578,1489,1512,1445,1259,1366,1396,1378,1465,1476,1338,1285,1319,1376,1473,1583,1506,1387,1458,1410,1444,1784,2115,2035,1623,2346,3320,3014,1703,1450,1448,1306,1313,1560,1510,1387,1290,1162,1229,1421,1562,1645,1660,1458,1318,1412,1420,1336,1477,1704,1741,1754,1529,1732,2295,2017,1575,1448,1405,1495,1438,1830,2337,2193,2331,2344,3288,3806,2902,2140,2006,1754,2082,2512,1881,1658,1640,1846,1809,1660,1584,1595,1548,1378,1226,1103,1058,1372,1665,1681,1711,1835,2096,1872,1598,1360,1466,1699,1827,1703,1708,1457,1126,1437,1554,1569,1902,2251,2460,2247,1892,2632,3065,2727,2228,2095,2386,2700,2653,2219,2247,2306,2252,1944,1889,2121,2206,2050,2042,2244,2646,2697,2433,2003,1677,1702,2442,2698,1901,1651,2000,1760,1455,1945,2648,2539,2356,2355,3252,3308,2976,3065,2815,2599,2579,2695,3030,2735,2125,1617,1694,2182,2392,2225,2250,2067,2153,2348,2144,2134,2835,3172,2965,2885,2535,2099,2587,2445,2370,3256,3216,2458,2372,2426,2669,2845,2787,2478,2023,1922,1810,1902,2700,2962,2355,2375,2437,2215,2198,2077,1879,2001,1864,1942,2146,2261,1978,1781,1634,1415,1539,1745,1583,1677,1812,2193,2931,2800,2292,2431,1724,1132,1416,1537,1596,1721,1794,1725,1798,1776,1318,1392,2383,2520,2171,1815,1664,2264,3034,2613,1854,1500,1465,1483,1692,2193,2621,2611,2281,1715,1499,1737,1748,1592,1844,2051,2497,2484,2313,2315,2196,2061,2073,2172,1998,1747,2464,2504,2041,2014,1852,1995,2213,1989,1854,2467,2786,2934,2408,2148,2372,2503,1875,1509,2198,2289,1807,1827,2023,1913,2002,2110,1722,1186,1224,1466,1830,1986,1780,2309,2853,2708,1961,2249,2467,2214,1842,1997,1971,2160,2436,2098,1664,1720,1742,1525,1530,1660,1882,2490,3015,2566,1840,1429,1431,2084,2398,1447,1898,2574,2104,1841,1849,1465,1063,930,933,950,937,953,901,1496,2660,1992,1817,1944,2092,2178,2298,2708,2626,2224,2490,2872,2894,2698,2441,2265,2575,3129,3604,3709,3212,2742,2399,2431,2437,2453,2603,2567,2146,1791,1858,1530,1853,2257,1991,1674,1833,1876,1953,1802,1563,1668,1631,1596,1849,2001,2116,2154,2248,2233,1807,1762,1677,1903,2426,2586,2091,1510,1125,1041,973,942,912,877,858,837,991,1339,1200,842,854,805,771,791,1412,1820,1613,1367,1270,1288,1345,1362,1311,1328,1282,1301,1079,1273,1472,1736,1639,1543,1800,1958,1833,1444,1267,1428,1504,1403,1338,1125,1201,1191,1174,1287,1628,1651,1431,1355,1417,1479,1319,1271,1299,1426,1625,1260,1395,1310,1264,1021,1075,1368,1338,1274,1379,1291,1193,1427,1421,1499,1633,1520,1448,1608,1714,1866,2040,1907,2199,2187,1965,1928,1660,1579,1593,1531,1513,1500,1643,1688,1548,1634,1853,2026,2258,2399,1930,1729,1769,2167,2470,1978,2134,2745,2643,1873,1649,1603,2034,2030,2207,1785,1958,2103,2056,1775,1495,1609,1707,1399,1419,1631,1554,1995,2509,2499,2501,2954,2721,2275,2463,2502,2661,2661,2563,2751,2258,2286,2452,2046,1692,1738,1738,1852,2186,1859,2225,2243,1662,1582,1485,1371,1491,1778,1773,1703,1758,1833,1917,2310,2448,1747,2298,2803,2790,2364,1779,2056,2297,2325,2380,2099,1678,1512,1190,1057,1640,2162,2041,1856,1775,2010,2447,2494,2403,2440,2521,2388,2245,1910,1908,1910,1778,1783,2025,1773,1552,1699,2143,2460,2700,2732,2493,1904,1850,1882,1893,1748,1667,2057,2656,2205,1849,2339,2455,2152,2126,1965,1243,1516,2346,2260,2202,2438,2130,1968,1823,1613,1793,1925,1659,1574,1707,1668,2196,2414,2491,3335,3795,2633,2118,2729,2422,2530,2989,2916,3441,4036,2769,2717,2042,1470,2453,2592,2322,2236,1778,1791,1869,1927,1618,1498,1522,1826,1969,1618,1475,1799,1833,1749,1998,1827,1833,2080,2361,1991,1979,2358,2241,2062,2143,2105,1932,1994,1992,1676,2086,2743,2864,3382,3798,3754,3575,3526,3694,3472,3519,3475,3305,3244,2965,2728,2769,3361,3773,3711,3211,2733,2381,2298,2083,1804,1931,1788,1559,1249,1013,1501,1690,1731,1770,1784,2060,2662,2644,2398,2126,1786,1523,1527,1546,1604,1786,1996,2025,2147,2239,2164,2078,2264,2449,2440,2239,2098,2053,1214,1233,2278,2730,2746,2811,2585,2157,1909,1731,1934,2202,2307,2656,2364,2261,1774,1708,1620,1651,1897,2359,2450,2383,2635,2675,2147,1736,1657,1836,1633,1587,1540,1478,1531,1551,1807,2062,1944,1990,2095,2056,1722,1773,2785,2524,2071,1638,1681,1918,2165,2085,1826,1747,2146,2316,2284,1933,1924,2039,2034,1686,1674,1930,2055,1763,1505,1747,2211,2180,2229,1789,1695,1859,1972,1775,1851,2060,2080,1939,2029,2052,1999,1675,2209,2193,1840,1599,2376,3597,3883,3661,3353,3153,3013,3206,2971,2728,3009,3198,2668,2134,1863,1828,2060,2310,2456,2345,2066,1721,1706,2016,1888,1696,1721,1583,2023,2632,2786,2622,2531,2588,2783,2842,2408,2115,1843,2119,2265,2139,2123,1772,1692,1737,1534,1644,2266,2903,2829,3612,3497,3219,3410,3194,2666,2276],[2792,3127,3364,2609,2307,2663,2844,2858,2387,1625,2343,3117,3103,2999,2138,2199,2010,2821,2728,2642,2636,2404,2240,2123,2231,2606,3150,3415,3513,3413,3392,2908,3254,3562,3444,3382,3290,3110,3183,3593,3430,3326,3329,3766,4196,4264,3817,3739,3682,3329,3348,3517,3758,4014,3762,3353,3004,2603,2710,2176,1963,2872,3133,3089,3435,3594,3624,3421,3350,3216,3241,2743,2119,2080,2394,2195,3118,3915,4000,4015,3555,3072,2751,2639,2720,2488,2219,2438,2447,2098,1523,1897,2487,2732,3010,3168,2743,1680,1580,1958,1925,1747,1966,2331,2117,1913,2400,2512,2186,2656,2484,1982,1878,1578,1903,2115,2622,2397,2238,2593,2182,1656,1514,1422,1760,1716,2376,3190,3780,4020,3979,3265,2313,1860,1922,2075,2022,1943,1787,1771,1638,1498,1858,2192,2076,2131,2370,2369,2147,1786,1642,1892,2338,2670,2414,1659,1819,2254,2290,2175,1814,1885,1946,2003,2019,2913,3609,2934,2941,3387,2721,2430,2124,2022,2523,2554,2374,2214,2530,2640,3159,3762,3208,3034,3245,3229,3198,2591,2734,2998,2454,1809,1572,1829,2215,2467,2581,2843,2731,2297,1492,1381,1959,2041,1896,2163,2525,2254,1699,2259,2492,1935,1652,1554,1514,1582,1780,1708,1541,1621,1736,2236,2985,3415,3481,3395,3038,2313,2240,3050,3364,2776,2181,1914,1814,1715,1664,2201,2718,2839,2933,3386,2976,1808,1327,1522,1522,1640,1772,1724,2587,3419,2432,1774,1748,2088,2438,2271,1730,1594,1730,1708,1576,1443,1401,1391,1389,1421,1475,1487,1498,1422,1427,1606,1578,1785,1654,1476,1657,1574,1340,1200,1395,1659,1716,1752,1707,1564,1565,1524,1526,1570,1393,1568,1819,1943,2238,2170,1938,1788,1566,1469,1561,1632,1899,1977,1227,925,1113,1737,2660,2176,1593,1644,1786,1803,1526,1411,1471,1590,1554,1349,1356,1556,1529,1398,1470,1282,2015,2758,3284,2806,2122,2154,1920,2096,2370,2169,2626,2608,2684,2770,2204,1878,1941,1992,1831,2099,1837,1464,1533,1452,1487,1531,1432,1575,2281,2641,2480,2214,2332,2132,1897,1709,1598,1777,2019,2230,2397,1901,2020,1881,1971,2300,2392,1908,1667,1773,1693,1484,1959,1933,1792,2228,2293,2067,1858,1583,1942,3279,3541,2639,1936,1712,1676,1704,1628,1541,1486,1723,2470,2138,1553,1438,1469,1872,2483,2301,2094,2758,2803,2865,2775,2691,2588,2290,1870,1621,2056,2815,2311,1882,2195,2289,2656,2344,2009,1844,1619,1475,1592,1486,1320,1311,1504,1870,1947,1844,1886,2215,2796,3376,3436,2630,1760,1722,1621,1455,1440,1353,1564,1772,1629,1899,1622,1697,2185,2174,1756,1624,1818,1758,1642,1815,2097,2552,2210,1671,1346,1496,1594,1421,1411,1506,1598,1697,1647,1647,1598,1541,1677,1880,1900,1860,1920,1957,2039,1974,2350,2266,1490,1388,1581,1853,1947,1432,1335,1302,2094,2002,1787,1558,1726,1769,2053,2544,1910,1815,2388,2885,3539,2307,2696,2625,2522,2532,2008,1830,2123,2566,2853,2678,2730,3323,3063,2946,2674,2993,3295,3318,3273,3032,2750,2668,2718,2480,2329,2094,2220,1970,1758,1532,1542,1489,1409,1485,1586,1552,1376,1462,1845,1677,1363,1537,1797,1757,1770,1785,1620,1480,1552,1711,1480,1484,1651,1785,1506,1222,1267,1267,1310,1323,1410,1399,1319,1329,1251,1322,1252,1436,1599,1426,1264,1196,1283,1434,1376,1321,1420,1398,1395,1500,1677,1352,1449,1548,1405,2008,2446,1980,1578,1611,1651,1503,1320,1399,1361,1330,1349,1419,1397,1415,1460,1362,1442,1421,1368,1362,1404,1284,1298,1259,1259,1281,1295,1384,1296,1535,1614,1514,1685,1701,1520,1959,2044,2140,1973,1847,2026,1841,2186,2234,1924,1590,1385,1361,1522,1715,1655,1742,1760,1720,1648,1578,1638,1644,1507,1648,1920,1973,2289,1935,1772,1799,1830,2010,1918,1723,1612,1566,2850,4868,4492,3675,4541,5197,4425,2831,1888,1680,1987,1781,1664,1724,2059,2190,1908,1669,1725,1715,1814,1804,1737,1590,1578,1489,1286,1377,1542,1370,1435,1482,1475,1729,1909,1922,1637,1779,2042,2167,2371,2076,1711,1599,1908,2106,2046,2202,2329,1957,1693,1511,1447,2067,2715,2987,2368,1783,1712,1745,1792,1880,1913,1766,1920,2179,2598,2636,2568,2684,2343,2045,1865,2193,2199,1743,1782,2046,2302,2466,2416,2741,3487,3052,2272,1944,2248,2637,2128,2302,2641,2601,2664,2934,2317,1991,2100,2062,1961,1960,1898,1843,1960,1930,1545,1110,1412,1556,1956,1748,2615,2622,1912,2332,2220,1707,1878,1743,2150,2168,1973,1874,962,1115,1199,1411,1500,1351,1084,1097,1386,1941,1717,1548,1504,1474,1538,1627,1588,1465,1407,1386,1271,1289,1362,1471,1667,1623,1552,1423,1711,2004,1672,1308,1255,1249,1354,1383,1332,1325,1341,1352,1202,1307,1237,1323,1350,1422,1986,2151,1870,2232,2639,2358,1484,1648,1413,1676,1688,1624,1538,1392,1367,1250,1426,1705,1629,1500,1549,1261,1180,1168,1244,1360,1412,1943,2215,2132,1694,1788,2193,1958,1615,1458,1450,1510,1378,1801,2675,2206,1956,2434,3076,3284,2890,2191,1798,1855,1888,2043,1782,1643,1432,1866,2164,1898,1644,1546,1584,1413,1104,1074,1356,1544,1909,1892,2186,2102,2095,1843,1440,1466,1677,1796,1846,1716,1613,1197,1398,1570,1693,1968,1882,2228,2529,2240,2087,2557,2898,2517,2501,2314,2078,2347,2061,2075,2034,2210,2143,2004,2148,2063,1768,1852,1880,1578,1830,2073,2564,2130,1947,2125,2288,2066,1702,2063,2318,1988,2006,2254,2676,2973,2312,2000,2368,2735,2506,2323,2141,2293,2495,3040,3298,2985,2688,1684,1743,2556,2408,2447,2318,2351,2602,2454,2492,2692,2688,2990,3106,2412,1622,2160,2877,2452,2082,2477,2386,2093,2110,2286,2890,3072,2826,2741,2622,2093,2144,2443,2900,2613,2761,2481,1812,1977,2520,2349,2035,1991,1925,1957,2373,2288,1848,2020,1775,1789,2269,2018,1781,2295,2729,3063,2711,2072,2176,1912,1548,1537,1472,1469,1676,1759,1803,2043,2388,1931,1498,1716,2294,2799,2391,1978,2008,2998,3461,2862,2192,1889,1860,1607,1620,2138,2435,2171,1770,1350,1268,1804,1872,1717,1610,1956,2175,2300,2832,2674,2643,2923,2183,1928,1698,1410,1964,2566,2527,2110,2106,2376,1923,1508,2008,2738,2178,1558,2116,2452,2299,2180,1863,2104,2412,1915,1562,2096,1945,2026,2495,2122,1279,1174,1406,1471,1650,1606,1682,1963,2087,2060,1620,2403,2535,1997,1781,1847,2002,2081,2164,2051,1719,1921,1816,1543,1420,1416,1612,1766,1731,2014,1909,1577,1350,1476,1752,1505,2230,2351,2122,2069,2270,1943,1390,1144,1014,983,932,904,1050,2298,3582,1973,1955,1780,1981,1983,2569,3499,3648,3343,2927,2817,2632,2769,2719,2831,2831,2855,3435,3754,3408,3129,3021,2743,2756,3094,3242,3499,2806,2262,2032,1961,2859,3484,2869,2467,2254,2127,2360,2087,1755,1703,1582,1427,1824,1885,2187,2240,2012,1824,1793,2075,2459,2688,2419,1832,1161,975,998,1005,973,928,892,863,842,812,1107,1556,1144,822,832,792,788,812,1371,1632,1388,1246,1347,1341,1379,1291,1301,1405,1264,1200,1241,1291,1315,1395,1226,1196,1456,1770,1769,1470,1328,1359,1434,1300,1277,1200,1282,1271,1151,1234,1612,1693,1590,1553,1375,1219,1276,1384,1370,1525,1644,1361,1463,1642,1484,1284,1299,1386,1389,1327,1322,1196,1302,1498,1568,1687,1714,1616,1554,1563,1528,1803,1879,1718,2167,1697,1748,1794,1787,1659,1448,1515,1749,1666,1592,1511,1452,1477,1666,1762,1847,1791,1667,1737,1866,2179,2076,1571,1809,2576,2484,2365,1863,1559,1699,1711,1649,1625,1843,1976,1996,2042,1864,1708,1838,1655,1798,1655,1342,1606,1966,2200,2280,2298,1978,1549,2381,2534,2728,2352,2080,2480,2010,2036,2332,2098,1692,1930,1910,2149,2601,2068,2035,1660,1510,1459,1522,1577,2096,2444,2226,2211,1909,1902,1934,2133,2164,2204,3212,3529,3519,2523,1704,1788,2021,2222,2194,1936,1522,1479,1412,1042,1540,1996,2026,2038,2236,2583,2452,2003,1996,2440,2746,2634,2015,1818,2494,2131,1678,1904,2330,2347,1812,1897,2212,2112,2335,2435,2227,1830,1797,1937,1930,1902,2137,2455,2542,1931,1897,2608,2678,2183,1797,1734,1350,1438,2086,2276,2292,1841,1616,1782,1793,1667,1694,1685,1764,1647,1647,1743,2076,2154,1824,2591,3516,2861,2013,2507,2634,2429,2313,2969,3164,3548,2521,2067,1462,1345,2230,2555,2708,2299,1647,1500,1526,1725,1578,1507,1592,1861,1786,1498,1340,1633,1688,1551,1855,1571,1648,2096,2265,2002,1998,1775,1722,1635,1758,2004,2105,2213,1886,1322,1637,1986,2173,3254,4268,4265,3780,3748,3790,3630,3798,3686,3210,2791,2570,2483,2644,3597,3803,3585,3588,3415,2846,2306,1977,1720,1388,1591,2013,1209,1317,1677,1739,1766,1858,1973,2315,2358,2114,2117,2090,1906,1601,1442,1394,1893,1918,2165,2265,2046,2072,2240,2165,2057,2152,2812,2741,1987,1241,1052,1096,1460,2261,2945,3074,2929,2678,2430,2270,2029,2758,2885,2603,2418,2136,2071,2095,1764,1655,1772,1998,2259,2245,2448,2472,2025,1480,1732,2089,1895,1936,2107,1816,1399,1512,1640,1946,1878,2021,2228,2292,1896,1805,2066,1918,1335,1282,1625,1913,2114,1944,1701,1651,1799,2073,1904,1911,2070,2332,2318,1986,2013,2283,2301,1715,1467,1765,1993,1859,1947,1726,1677,1699,1847,1753,1662,1811,2057,2073,1777,1576,1743,1939,2270,2167,1886,1490,1802,2543,3097,2976,2479,1943,1980,2599,2616,2798,3151,2997,2842,2848,2358,1889,1991,2016,2040,2171,1948,1649,1574,1826,1668,1996,1921,1664,1907,2256,2609,2823,2808,2553,2826,2984,2513,2267,2111,2265,2099,1854,1802,1647,1699,1786,1598,1583,1885,2124,2213,2865,3078,2975,3135,3020,2416,2123],[3044,3420,2940,2381,2332,2731,3292,3453,2954,2075,2511,2466,2556,2872,2309,2228,2276,2552,2598,2820,2909,2575,2119,2000,2260,2919,3241,3488,3453,3448,3327,3187,3492,3566,3493,3283,3121,3167,3564,3813,3827,3634,3706,3823,3902,3812,3484,3464,3558,3246,3237,3639,4024,3760,3679,3589,3417,3392,3206,2220,2229,2824,2654,3015,3548,2823,2282,1558,2017,2611,2885,3208,2599,2147,2061,2226,2984,3514,3515,3796,3403,3328,3237,2816,2662,2676,2807,2735,2823,2796,2182,2006,2109,2777,3440,2710,2322,1887,1772,2039,2405,2118,1998,2122,1984,2304,2953,2449,1754,2303,2601,2411,2017,1737,2028,1881,2387,2001,1712,2330,1888,1397,1592,1896,2513,2149,2580,2775,3596,3852,3805,3071,2320,2176,2199,2251,2286,2393,2578,2771,2515,2085,2231,2316,1668,1690,2252,2392,2186,2003,1553,1737,2554,2975,2461,1561,1540,1945,2003,1945,1813,1815,2116,2062,1842,2430,3297,3075,2652,3028,2968,2370,2137,2264,2566,2641,2197,2043,2385,2650,3432,3518,2946,3072,2947,3110,2941,2558,2490,2407,1896,1383,1323,1484,2257,2934,2821,2940,2850,2401,1561,1470,1944,1915,1686,1547,1707,1722,1706,2165,2156,2046,1703,1600,1648,1718,2106,1861,1532,1511,1321,1628,2468,3383,3475,3537,3555,3156,3181,3396,3088,2153,1951,2273,2190,1986,2058,2092,1934,2421,2900,3228,2705,1925,1692,1814,1673,1719,1767,2005,3086,3620,2578,2229,1780,2781,3428,3121,2380,2072,1771,1417,1544,1456,1308,1389,1404,1383,1650,1714,1895,1544,1380,1396,1471,1739,1628,1475,1474,1669,1570,1430,1918,2314,2229,2295,1737,1648,1633,1508,1600,1554,1360,1349,1441,1472,1463,1522,1708,1536,1406,1519,1507,1559,1889,1741,1512,1626,1569,1713,2453,2056,1457,2055,2438,2514,1775,1421,1416,1446,1511,1274,1348,1484,1287,1352,1366,1488,1993,2234,2376,2287,2447,2531,2251,2557,2787,2591,2348,1728,2092,2401,2393,2011,1635,1685,1805,1938,1859,1843,1628,1411,1393,1579,1595,1578,1953,2030,1656,1844,2162,1939,1680,1437,1653,1891,2062,1761,1815,2056,2345,2367,2267,2172,2330,2388,1835,1478,1370,1504,1884,1946,2431,2955,2525,1837,1628,1493,1727,2597,3394,3322,2907,2657,2605,1978,1841,1795,1543,1569,1975,1875,1767,2258,2370,2232,2237,2022,1891,2135,2322,2510,2304,2065,2060,2424,2405,2312,2442,2264,1641,1981,2365,2005,2307,2383,1442,1300,1484,1361,1405,1415,1352,1406,1592,1532,1920,2112,2403,2339,3262,3548,2829,2269,1911,1647,1553,1537,1402,1490,1486,1564,1845,2016,1862,1510,1776,2163,2173,2225,2269,1747,1471,1515,1621,1646,1520,1585,1402,1593,1638,1379,1437,1617,1759,1842,1730,1544,1562,1850,2053,2017,1895,1802,1855,1895,1821,1802,1942,2060,1965,1825,1902,2426,2339,1670,1338,1272,1616,1705,1544,1365,1741,2115,2343,2353,2032,2115,2196,2027,2952,3525,3517,2952,2522,2289,1828,1677,2450,2615,2294,1993,1949,2214,2008,2092,1963,2155,2751,3205,3162,2510,2259,2482,2891,2751,2480,1810,1531,1881,1923,1632,1571,1549,1505,1494,1414,1367,1425,1602,1649,1432,1311,1753,2092,2403,2557,1981,1611,1576,1516,1697,1594,1561,1593,1727,1501,1317,1291,1197,1223,1251,1339,1427,1364,1347,1257,1425,1350,1459,1689,1693,1446,1280,1327,1426,1654,1831,1356,1372,1449,1600,1709,1284,1372,1483,1403,1562,1710,1591,1515,1637,1712,1494,1486,1465,1456,1514,1380,1234,1242,1298,1380,1463,1455,1260,1304,1461,1452,1253,1282,1330,1455,1370,1376,1332,1288,1327,1388,1858,2184,1939,1687,2154,2141,1899,1779,1801,1994,2008,2262,2299,2106,1984,1796,1592,1606,1626,1698,1853,1868,1571,1417,1401,1562,1740,1716,2003,2223,2133,2396,1992,1700,1650,1862,1668,1673,1812,1678,1823,3589,4795,3782,4711,5748,5951,5857,4932,3056,1882,1997,1876,1525,1467,1713,2075,2062,1690,1838,1782,1704,1684,1468,1410,1412,1525,1539,1571,1556,1574,1594,1636,1795,1951,1952,1801,1463,1721,2126,2304,2127,1752,1482,1443,1750,2046,2002,1865,1920,1830,1770,1511,1433,2100,2721,3021,2556,1824,1716,1774,1984,2183,2744,2222,1771,1726,1832,2016,2033,1996,2123,2244,2330,2477,2324,2099,2359,2364,2344,2155,2147,2705,3486,2647,1725,1873,2654,2815,2092,2166,2175,2209,2547,2810,2335,2395,2376,2305,2288,2031,1626,1784,2295,1865,1524,1451,1671,1959,1988,1959,2392,2309,1704,1894,2148,2111,2411,2696,2784,2371,2093,1690,1350,1213,1386,1596,1702,1340,1009,1592,1648,1670,1692,1543,1602,1544,1664,2254,2449,1997,1670,1539,1446,1434,1553,1579,1520,1445,1466,1356,1691,2119,1733,1351,1323,1315,1462,1420,1343,1384,1420,1508,1238,1208,1286,1241,1301,1367,1714,2287,2699,2831,2468,2451,1916,2111,1647,1610,1606,1566,1405,1367,1390,1510,1727,2175,2064,1775,1628,1134,1362,1423,1353,1359,1377,1852,2248,2050,1781,1848,1814,1909,1716,1608,1460,1279,1295,1670,1996,1981,2605,2965,2653,2438,2153,1951,1843,2424,2393,2117,2189,2125,1594,1441,1493,1497,1461,1459,1581,1367,1220,1277,1707,1696,1946,2228,2256,2083,1935,1711,1572,1584,1713,1820,1581,1797,1708,1678,1940,1836,2014,1782,1656,2197,2025,1527,1842,2771,2734,2198,3110,2273,1647,1775,2047,2174,2098,2078,1843,1781,2002,1958,1797,1708,1759,1787,1837,2085,2842,2575,2370,2188,1747,1672,1795,2022,1739,2021,2527,2130,1936,2368,2159,2077,2632,3143,3030,2006,1803,2230,1928,2511,2915,3130,3062,2213,2031,2298,2344,2510,2449,2476,2302,2287,2679,2142,1710,2423,3083,1902,1485,2196,3057,2980,2194,1929,2142,1815,1931,2350,3129,2979,2662,2476,2484,2394,2361,2568,2610,2725,2902,2469,1859,2031,2722,2232,2283,2266,1968,1925,2110,1903,2136,2349,2108,2206,2278,2463,2563,2646,2533,2143,1815,2171,2466,1974,1954,1775,1543,1825,2698,2170,1886,2381,2632,2030,1952,1968,2285,2763,2420,2065,2253,2563,2742,3155,2540,2104,1898,1770,1721,2145,2183,1887,1770,1514,1689,2296,2600,2467,1826,1953,2277,2666,3001,3097,2627,2428,1973,1604,1672,1674,2098,2731,2703,2042,1933,1900,1820,1969,2037,2379,1979,1087,1273,2207,2463,1792,2032,1930,2018,1796,1907,2506,2327,2124,2105,1828,1630,1689,1537,1519,1615,1800,2053,2059,2007,2056,2320,2568,2185,1803,1843,1895,1895,1755,1712,1650,1765,1862,1792,1658,1574,1591,1468,1523,1768,1662,1829,1808,1351,1243,1425,1780,2408,2290,2226,2386,2421,1838,1554,1574,1419,1255,1187,1186,1322,2724,2896,1977,1922,1694,1788,1935,2724,3494,3516,3653,3444,3242,3054,2812,2764,2887,2752,2542,2742,3281,3300,3065,2798,2576,2575,3141,3347,3604,3097,2637,2209,2670,3630,4019,4027,3676,2951,2454,2747,2908,2707,2165,2043,2338,2776,2575,2696,2942,2856,2541,2308,2482,2193,1671,1210,987,971,977,973,983,972,954,918,858,844,870,1221,1747,1182,854,796,789,776,838,1240,1505,1310,1271,1373,1260,1225,1132,1212,1235,1290,1210,1317,1426,1231,1076,1146,1201,1546,1750,1829,1687,1651,1306,1295,1314,1314,1446,1446,1255,1097,1185,1529,1457,1387,1454,1258,1209,1338,1736,1750,1796,1673,1460,1729,1614,1391,1331,1284,1346,1303,1355,1410,1249,1451,1576,1554,1623,1615,1515,1426,1458,1676,1819,1652,1563,1647,1436,1504,1698,1624,1415,1388,1541,1759,1521,1550,1462,1691,1600,1603,1852,1908,1802,1874,1906,2010,2165,2023,1459,1679,2433,2465,2686,2050,1715,1898,1880,2031,1991,1675,1627,1656,1925,2109,2245,2165,2216,2115,1590,1262,1208,1260,1652,1957,2110,2067,1910,1992,1956,2259,1917,2102,2214,1726,1778,2307,2055,1631,1758,1754,2030,2144,1954,1682,1627,1514,1671,1828,1770,2119,2169,2044,2597,2017,1849,1889,1865,1908,2443,3145,3197,3100,2379,1705,1638,1958,2194,2186,2097,1943,1649,1801,1660,1705,1921,1925,1945,2406,2470,1954,1842,2167,2527,2404,2047,1693,1754,2282,1906,1621,1677,2074,2295,1624,1753,1997,1924,2258,2381,2017,1859,2093,2115,1713,1863,1896,1914,2081,1840,2052,2800,2887,2134,1557,1561,1520,1678,1936,2201,2024,1477,1384,1616,1744,1770,2265,1992,1955,2048,1933,2030,2215,2005,1856,2219,2361,1983,1664,1894,2321,2153,2277,2423,2343,2269,2052,1992,1649,1711,1931,2148,2845,1935,1618,1422,1602,1563,1431,1671,1815,1850,2081,2010,1465,1705,1559,1693,1904,1748,1468,1715,1583,1890,2308,1923,1609,1845,2056,2250,2207,2208,1697,1437,1476,1725,1656,2727,4047,4178,3959,4136,4064,3868,3629,3639,3226,2990,2732,2562,2469,3049,3517,3480,3356,3494,3617,3234,2394,1688,1383,1461,1442,1339,1601,1714,1765,1794,1865,2060,2068,1955,1889,1937,2022,1911,1685,1410,1452,2028,2205,2409,2472,2129,2013,2159,2400,2695,2619,2733,3062,2430,1641,1698,1557,1494,2265,3063,3207,3074,2961,2676,1857,1641,2214,2219,2153,2050,2028,2286,2194,1899,1929,1826,1941,2102,1754,1583,1627,1818,1998,2405,2519,2354,2297,2688,2295,1509,1796,1670,2048,2077,1967,2272,2808,2487,2348,2370,1982,1710,1691,2096,2211,2282,2111,2030,1671,1684,1838,1686,1748,1939,2182,2020,1746,1932,2206,2255,2015,1851,1815,1772,1714,1504,1891,2036,1734,1684,1734,1803,1854,1953,2128,1716,1304,1664,2166,2089,2213,2237,1919,1697,1825,1563,1560,1583,1632,1902,2677,2699,2647,3051,2754,2590,2920,2555,2278,2457,2011,1919,1906,1748,1782,1792,1908,1998,2178,1991,1738,1609,1719,2451,3343,3220,2198,1909,2452,2487,2255,1964,1764,1833,2123,2120,1697,1704,1718,1617,1708,2092,1944,1858,2298,2820,2678,2415,2176,1921,1957],[2600,2771,2308,1977,2076,2480,3376,3491,3263,2993,3150,2541,2727,3129,2502,2219,2137,1994,2746,3072,2555,2578,2220,2090,2272,2980,3188,3240,3272,3231,3157,3270,3264,3334,3375,3143,3318,3707,3917,3653,3942,3864,3584,3571,3594,3485,3304,3127,3298,3203,3145,3747,4037,3725,4004,3680,3384,2994,2262,1902,2402,2828,2488,3210,3548,1931,1429,1343,1678,2161,2612,2566,2252,2213,2028,2202,2696,3427,3386,3826,3177,3118,3147,3041,2868,3017,3194,3062,3376,3356,2271,1958,2097,2786,3227,2727,2279,2175,1743,1585,1867,2163,2467,2529,2265,2942,3032,1935,1813,2354,2596,2360,2177,2170,2187,1940,2032,2197,2438,2458,1710,1883,2791,2497,2423,2623,2677,2598,2863,3105,3032,2478,2381,2342,2128,2207,2265,2334,2823,3213,2548,2080,2156,1879,1672,2210,2830,2391,1763,1681,1309,1980,2728,2808,2213,1776,1648,2045,2370,2367,2250,2168,2375,2041,1666,2028,3316,3385,2139,1778,2359,2403,2110,2258,2487,2645,2818,2755,2945,3362,3363,2675,2306,2707,2574,2695,2880,2597,2052,1887,1727,1981,1719,1865,2154,2307,2165,2502,2524,2040,1691,2014,2416,1881,1621,1786,1736,2146,2388,2445,1851,2038,1882,1972,1968,2008,2342,1875,1533,1437,1426,1447,1892,2864,3110,3447,3497,3539,3438,3339,2856,1954,1996,2458,2733,2251,1907,1865,1886,2416,2954,2722,2313,1770,1737,1919,1619,1587,1959,2695,3194,2566,1950,1804,2082,3229,3626,3171,2684,2222,1577,1290,1450,1488,1394,1441,1479,1677,1577,1461,1593,1498,1661,1787,1869,1922,1674,1659,1712,1574,1607,1983,2234,2403,2351,1912,1930,2188,1687,1488,1463,1300,1454,1456,1401,1353,1418,1487,1953,1942,1631,1765,1701,1665,1889,1628,1866,1707,1655,1548,1570,1656,1475,2012,2758,2388,1838,1521,1359,1279,1447,1375,1558,1743,1494,1504,1396,1448,1670,1632,1598,1615,1431,1537,2106,2684,2482,2064,1636,1443,2320,2164,1644,1470,1363,1332,1488,1745,1620,1517,1372,1370,1387,1451,1477,1620,1561,1670,1700,1753,2238,2070,1638,1532,1844,1875,2025,1497,1594,2088,2358,2237,1963,1809,2414,2408,1593,1426,1350,1599,1809,2290,2335,2527,1927,1436,1608,1562,1472,1656,2690,3850,4400,4188,3955,3573,3588,3095,2710,2249,2136,2504,2244,2445,2447,2407,2391,2206,2297,2905,3286,2950,2708,2557,2464,2257,2391,2564,2142,2008,1908,2805,3157,2480,2248,2066,1406,1310,1582,1504,1372,1293,1407,1605,1732,1492,1740,2000,2307,2582,3094,2583,2064,2238,1957,1670,1514,1213,1387,1670,1584,1548,1801,2041,1805,1580,1965,2576,2652,2272,2306,1624,1532,1554,1572,1433,1599,1637,1578,1906,1962,1612,1548,1698,1815,1816,1576,1387,1407,1693,1596,1686,1809,1703,1758,1771,1562,1438,1354,1677,1766,1854,1959,2034,1997,1938,1630,1520,1701,1813,1563,1461,1616,1799,1732,1727,1792,1729,1897,1997,2699,3378,3843,3749,2764,2596,2683,2127,2658,2680,2250,1690,1662,1664,1621,1738,1560,1580,2034,2577,2461,2296,2216,2218,2380,2605,2492,1990,1504,1518,1858,1942,1564,1593,1570,1512,1503,1391,1453,1453,1440,1522,1483,1604,1794,2355,2648,2039,1558,1412,1385,1320,1448,1718,1563,1454,1414,1448,1450,1388,1344,1362,1394,1415,1403,1294,1422,1549,1365,1352,1742,1833,1630,1554,1422,1489,2076,2287,1453,1435,1433,1404,1396,1311,1354,1547,1548,1454,1484,1476,1267,1287,1467,1301,1409,1345,1309,1261,1220,1347,1226,1352,1889,1879,1495,1474,1760,1875,1572,1296,1247,1607,1665,1611,1607,1429,1357,1312,1697,2540,2874,1992,1936,2134,2333,2629,2176,1875,1877,2041,2352,2263,2091,1622,1779,1704,1635,1499,1522,1502,1556,1523,1517,1533,1765,1898,1637,1498,1660,1872,2063,1851,1426,1743,2203,1886,1926,2090,1771,1951,4070,5348,4695,5412,5968,6054,5974,6154,4960,2807,1698,1811,2012,1765,1785,2050,2104,2054,1898,1433,1386,1665,1643,1580,1474,1426,1420,1301,1334,1499,1645,1654,1889,1918,1750,1654,1500,1764,2082,2470,2486,1969,2029,2454,2337,2011,1963,1379,1516,1830,1853,1834,1961,2189,2291,2329,2260,1821,1725,1616,1883,2165,2502,2080,1686,1510,1584,1792,1791,1873,2220,2545,2135,1990,2017,2082,2464,2536,2279,2115,1974,2602,3194,2435,2117,2626,2847,2321,2377,2166,2442,2226,2053,2077,2090,2245,2389,2375,2486,1792,1476,2366,2348,1717,1578,1860,1886,1981,2148,1986,1816,2004,1484,1576,1996,2209,2754,3142,2878,2972,2343,1674,1829,1759,1505,1595,1958,1629,1720,2237,2171,1677,1676,1824,1884,1726,2360,3328,3053,2343,1925,1689,1853,1990,1668,1454,1344,1622,1653,1383,1409,1350,1372,1436,1572,1331,1394,1453,1428,1719,1922,1627,1276,1124,1269,1331,1484,1726,1864,2408,3020,3371,3119,2240,1698,1762,1586,1560,1522,1356,1302,1319,1488,1755,1651,2288,2750,2106,1622,2070,2463,1955,1400,1300,1393,1610,1700,1649,2114,1978,1707,1686,1589,1809,1747,1467,1502,1956,2252,2458,2741,2361,1706,1690,1550,1621,1973,2520,2256,2134,2524,2277,1599,1480,1330,1275,1261,1500,1572,1336,1298,1361,1851,1997,1989,2031,1876,1753,1675,1773,1697,1616,1486,1273,1216,1611,1821,1732,1812,1945,2354,2353,2174,2046,2075,2042,2432,2647,2160,1987,2359,1958,1790,1646,1979,2315,2132,1941,1833,1910,1928,2255,2222,2123,1979,2115,2120,2204,2472,2482,2197,1796,1602,1927,1984,2011,1874,2037,1990,1740,1672,1926,1990,1908,1868,2316,2670,1694,2156,2418,1510,2071,2219,2264,2678,2371,2003,1802,1965,1952,1665,1635,1738,2185,2326,1825,1912,2364,2984,2208,1997,2723,3376,3350,2624,2584,2496,1983,2126,2282,2376,2514,2729,2494,2492,2010,1722,2220,2753,2761,2872,2953,2176,2512,3141,2321,2317,2286,2091,2212,2080,1892,1937,2057,2196,2084,2094,2319,2279,2201,1992,1773,2048,3095,3234,2616,2292,2041,1716,1797,2958,2270,2097,2178,1912,1858,2104,2039,2233,2348,2380,2258,2088,2009,2351,2388,2467,2078,2032,1882,1982,2317,2055,1646,1722,1766,1924,2198,2617,2689,2529,2152,2455,2616,3046,3431,2631,1942,1823,2031,2234,1726,1842,2070,1822,2148,1996,1866,2018,2142,2225,2393,2413,1831,966,1392,2690,2271,2207,1898,1899,1694,1882,2306,2767,2640,1976,1731,1997,1814,1422,1570,1832,1669,1512,1719,2091,2294,2203,2063,1865,1679,1728,1600,1621,1621,1960,1677,1754,1710,1662,1622,1716,1666,1518,1971,2144,1470,1670,1774,1807,1852,1810,2074,2543,2407,2209,2323,2054,1546,1638,1765,1773,1718,2066,1971,1930,2416,2102,1752,1704,1627,1767,1926,2731,3463,3630,3532,3178,3230,3384,3403,3442,3073,2750,2538,2800,3278,3525,3287,2942,2454,2603,3111,3288,3427,3219,2655,2327,3052,3789,4014,4188,3414,2010,1892,2586,2987,2186,1447,1605,1870,1814,1946,2371,2387,2062,1786,1701,1484,1108,1003,998,987,969,964,971,985,979,968,909,862,848,860,1232,1654,1106,824,783,764,749,901,1268,1401,1383,1142,1180,1247,1362,1214,1264,1415,1490,1291,1344,1438,1250,1227,1397,1366,1604,1604,1696,1736,1565,1249,1191,1235,1381,1493,1522,1545,1470,1308,1726,2077,1720,1549,1334,1517,1787,1876,1725,1605,1520,1516,1692,1327,1477,1361,1428,1418,1355,1454,1388,1282,1462,1622,1619,1570,1450,1463,1489,1372,1794,1716,1490,1417,1334,1369,1551,1483,1306,1571,1811,1573,1771,1571,1433,1389,1511,1729,1856,1842,1821,1924,1998,2221,2385,2278,1915,1725,1668,2113,2612,2404,1824,1895,1924,2215,2636,1977,1693,1868,1610,1679,1956,2086,2028,1997,1788,1486,1301,1293,1387,1770,2424,2729,2344,2060,1753,1705,1788,2156,2828,2493,1804,1986,2378,1884,1672,1562,1675,1728,1688,1458,1621,1691,1605,1889,2021,1649,1443,1639,1584,2068,2066,2067,2022,1988,2109,2488,2744,2701,2485,2296,1953,1669,1903,1908,2215,2237,2446,2289,2069,1801,1787,2280,2656,2539,2734,1997,1776,1990,1911,2134,2070,1954,2048,2103,1921,1688,1684,1704,1549,1629,1758,1726,1582,1702,2030,2083,1992,2058,2480,2202,1784,1918,1908,1914,2020,1984,2297,2313,2329,2183,1937,1808,1627,1573,1920,2159,1738,1310,1490,1755,2052,2576,2632,1861,1807,2217,2332,2110,1864,1540,1596,1696,1829,1732,1643,1990,1933,1828,1832,1725,1902,1792,1778,1908,1934,1883,1596,1859,2295,1842,1878,1618,1871,1766,1541,1880,1960,1745,2095,2005,1455,1615,1792,1766,1888,1658,1464,1590,1428,1577,1826,1759,1612,2179,2494,2943,2468,2243,1867,1530,1489,1513,1265,2144,3504,3891,4007,4236,3978,3639,3120,3200,2873,2769,2669,2460,2532,2951,3346,3396,3262,3362,3918,4041,3564,2507,2122,1723,1616,1866,1748,1754,1792,1814,2032,2243,1890,1795,1760,1946,1972,1744,1693,1824,2364,2710,2524,2280,1945,1877,2102,2161,3000,3854,3552,3339,3382,2411,1864,2003,1919,2443,2983,2996,3018,3074,2990,2837,1985,1873,1953,1779,1771,1959,2452,2547,2338,1910,2171,2330,2198,2170,1887,1554,1633,1894,2363,2374,2138,2198,1995,2213,2296,2056,2493,2005,1917,2167,1997,2024,2308,2178,1836,1703,1810,1926,2163,2625,2508,2247,1870,1761,1656,1560,1521,1743,2070,2232,2138,1738,1454,1645,2260,2907,2899,2187,1744,1728,1584,1655,2123,2217,2243,2087,1899,2058,2014,2107,2037,1741,1537,1885,2270,2157,2012,2234,2076,1835,1714,1548,1570,1592,1925,2124,2675,2587,2551,2918,2498,2158,2404,2160,2114,2763,2656,2279,1973,1756,2008,2215,2265,2432,2257,2037,1866,1719,1535,2025,3259,3232,2177,2158,2897,2812,2105,1705,1757,1882,2036,2148,1922,1860,1584,1608,1949,1958,1855,1704,1726,1990,1834,1780,1812,1753,1756],[2132,2202,1995,1863,1952,2192,2790,2916,3661,3012,2430,2588,3188,3249,2660,2740,2916,2077,2467,2617,2277,2665,2540,2264,2316,2829,3002,2862,3019,3075,3089,2721,1991,2225,3129,3585,3674,3842,3895,3605,3628,3662,3466,3466,3488,3090,2996,3095,3498,3426,3252,3729,3999,3842,3912,3603,2876,2441,1910,1238,1511,1639,1770,2617,2741,1903,1604,1446,1148,1374,2036,2211,2455,3274,2905,2516,2854,3230,3394,3353,2766,2624,2833,3096,3230,3364,3078,2895,2755,2378,2038,2278,2533,2654,2834,2552,2304,2286,1946,1481,1671,2523,3421,3030,2269,2492,2498,1896,1850,2130,2302,2202,2325,2363,2120,2178,2387,2406,2319,2240,2040,2612,3822,3572,3116,3155,2856,2786,2973,2775,2776,2607,2891,2592,2640,2853,2922,2758,2564,2583,2545,2561,2475,2204,2140,2640,2467,1999,1609,1807,1542,2010,2472,2341,2473,2544,2407,2658,2430,2055,1868,1881,2686,2317,1809,1714,2529,2606,2265,2379,2496,2161,2109,2187,2389,2576,2579,2844,2713,2538,2842,2523,1936,1884,1954,2060,2339,2150,1697,1840,2356,2253,1826,1884,2187,2329,1995,2279,2417,2136,2034,2626,2880,2269,2159,3176,2964,2646,2788,2426,1544,1415,1548,1709,1874,2308,2493,1946,1543,1537,1855,1741,1703,2543,3382,3571,3560,3573,3372,3084,2340,2103,2304,2059,2320,2098,1894,1767,1782,2232,2203,2053,1694,1274,1664,1761,1752,1636,1822,2589,2928,2534,2047,1931,2055,2535,3438,2840,2106,1766,1372,1280,1509,1673,1409,1570,1449,1414,1362,1382,1445,1488,1773,1912,1670,1916,1885,2347,2946,2547,2041,2236,2331,2259,2317,2201,2230,2154,1562,1417,1363,1453,1484,1582,1588,1637,1957,1935,2002,1743,1490,1784,1661,1682,1802,1738,1914,1645,1729,1496,1389,1794,1661,1975,2255,1858,1924,1560,1395,1438,1506,1434,1505,1516,1437,1505,1470,1433,1512,1602,2054,1619,1473,1578,1866,1700,1600,1892,1621,1549,1708,1493,1423,1361,1304,1352,1594,1863,1766,1641,1402,1285,1370,1365,1606,1999,1781,1604,1787,1990,2294,2078,1714,1637,2017,2145,1887,1620,1833,2182,1941,1871,1805,1863,2380,2104,1452,1401,1305,1399,1974,2206,2358,2259,1741,2059,1882,1443,1387,1655,2785,3958,4283,4352,4304,4280,4460,4500,4301,3650,3350,3423,2596,1883,1860,2363,2564,2885,2819,2645,2708,2814,3030,3235,2604,2021,2162,2433,2089,2234,2712,3283,2706,1886,2144,2202,1584,1478,1714,1509,1444,1289,1565,1780,1859,1605,1460,1468,1714,2450,2881,2314,2251,2017,2112,2203,1874,1461,1640,1675,1520,1485,1818,1912,1655,1977,2358,2609,2374,2279,2397,1619,1562,1586,1478,1463,1555,1545,1659,1531,1580,1589,1718,1643,1604,1789,1570,1318,1534,1598,1498,1694,1596,1454,1565,1781,1506,1427,1584,1874,1805,1700,1852,2033,2034,2044,1983,1904,1983,2082,1782,1654,1460,1356,1308,1428,1570,1653,1755,1871,2403,2698,3414,3540,2797,3130,3032,3076,2903,2729,2095,1624,1830,1650,1627,1656,1505,1665,2241,3230,2987,2463,2156,2104,2219,2220,2329,2129,1636,1803,1870,1934,1679,1536,1241,1452,1416,1657,1648,1331,1647,1914,1763,1631,1600,1932,1923,1409,1387,1397,1388,1410,1557,1730,1672,1516,1435,1622,1438,1350,1305,1342,1366,1418,1679,1434,1470,1634,1615,1566,1360,1361,1526,1519,1371,1541,2096,2509,1786,1448,1415,1462,1545,1461,1396,1485,1489,1411,1283,1373,1287,1404,1500,1326,1537,1663,1614,1593,1550,1519,1282,1575,2107,1963,1696,1581,1698,1830,1735,1622,1505,1572,1742,1973,2208,1841,1408,1643,2082,1984,2334,1741,1981,2194,2591,2753,1932,1888,1908,1980,2485,2150,2026,1717,1683,1666,1566,1543,1742,1782,1658,1559,1475,1601,1750,1686,1489,1439,1577,1735,1926,1786,1527,2177,2776,2360,2160,1911,1846,1543,2053,4084,5547,5879,6056,5968,5876,5488,3698,1972,1650,1670,1520,1671,1813,2088,2050,1848,1503,1566,1606,1585,1627,1518,1457,1418,1448,1408,1546,1880,2062,2132,2408,2190,1764,1450,1444,1661,2006,2438,2314,2414,3032,3262,2984,2695,2187,1460,1101,1627,2353,2351,2098,2116,2438,2576,2549,1818,1653,1765,2107,1894,1929,2007,1625,1560,1580,1403,1526,1753,2430,2932,2512,2208,2232,2160,2038,2130,2421,2368,2116,2296,2462,2314,2457,2623,2554,2140,2365,2386,2564,2211,1961,2240,1989,2340,2657,2335,2577,1931,1792,2665,2242,1571,1421,1572,1609,1576,1930,1876,1604,1543,1312,1442,1726,1765,2293,2509,2547,3195,2625,1755,2454,2747,1883,1890,1958,1525,1845,2083,2048,1621,1100,1406,1860,1841,2681,3152,2475,1928,1875,1948,2866,3220,2806,2263,1904,2206,1910,1438,1460,1498,1535,1522,1483,1333,1556,1489,1412,1693,1932,1904,1541,1330,1434,1323,1415,1726,1966,1776,1841,2364,2587,1859,1440,1400,1422,1616,1694,1644,1485,1370,1477,1841,2054,2520,2911,2211,2271,2868,2477,1531,1369,1358,1405,1422,1925,2048,2219,2055,1935,1848,1677,1739,1721,1434,1339,1395,2121,2707,2588,1917,1459,1375,1422,1376,1848,2185,2004,2234,2242,1921,1665,1811,1463,1727,1605,1737,1668,1341,1195,1156,1516,1837,1824,1615,1613,1613,1726,1876,1740,1587,1557,1469,1349,1442,1668,1810,1788,1813,2092,2564,2568,2132,2048,2460,2562,2162,1737,2070,2066,1881,1760,1858,2217,1792,1431,1668,2156,2242,1766,1975,2500,2420,2284,2243,1981,1871,2120,2398,1935,1849,1772,1916,1886,2221,2344,2454,2331,1958,1914,1880,1880,1641,1612,1928,2079,1769,2484,2563,2327,2912,2918,2790,2945,3021,2573,1996,2611,2506,2366,2171,2169,2528,2720,2363,2598,2923,2876,2790,2709,2742,2945,3032,2292,2394,2352,2080,2338,3022,2708,2333,2122,1827,1713,1697,1883,2191,3045,2788,2806,2798,2362,3195,3001,1996,1838,2046,2225,2094,1982,2020,1820,1757,1706,1792,2347,2633,2578,2160,1842,1690,1631,2519,3438,2727,2332,2424,1980,1635,2388,2421,2167,1812,1616,1864,2100,2013,2205,2469,2499,1848,1835,1969,2176,2093,2080,1801,1912,1716,1615,1974,2096,1860,1767,1688,1736,1802,2443,2889,2569,2497,3065,3159,3694,3943,2352,2025,2059,1938,1996,1814,1907,1793,1492,1864,1883,1787,1800,2313,2888,2648,2146,2026,1516,1426,2271,2480,1996,1799,1683,1648,1883,2410,3227,3031,2383,1969,2119,1765,1315,1631,1698,1654,1648,1554,1852,2255,2125,1859,1786,1509,1512,1480,1457,1699,2008,1781,1768,1699,1581,1627,1782,1817,2226,2130,1604,1448,1495,1649,1936,2017,2020,1992,2120,2244,2325,1942,1748,1653,1488,1555,1729,2192,2306,2109,1942,2019,1766,1588,1801,1624,1857,2004,2973,3736,3528,3317,3029,2941,2868,3004,3304,3608,3638,3625,3275,3388,3495,2930,2633,2540,2909,3385,3569,3715,3515,2673,2311,3173,3782,3984,3523,2114,1223,1273,1848,1977,1388,1051,986,900,979,1062,988,929,983,1060,1015,948,962,996,982,972,975,973,971,968,968,998,895,870,866,824,1219,1356,994,834,778,758,797,986,1191,1135,1210,1165,1274,1364,1481,1426,1548,1655,1406,1272,1212,1107,1246,1406,1380,1401,1409,1427,1650,1594,1359,1361,1360,1495,1716,1571,1559,1777,1672,1550,1470,1642,1688,1563,1303,1425,1654,1703,1659,1584,1515,1463,1519,1439,1600,1491,1461,1377,1293,1248,1265,1331,1374,1387,1438,1523,1601,1438,1367,1386,1545,1610,1453,1409,1360,1575,1818,1694,1417,1622,1796,1479,1426,1415,1383,1490,1572,1799,2004,2061,1961,1967,2046,2496,2306,2091,1904,1699,1638,1763,2020,1918,1691,2000,2360,2736,2398,1665,1807,1776,1869,2252,2285,2297,2359,2129,2041,1880,1621,1311,1233,1631,2332,2518,2385,2250,2122,2332,2577,2957,3211,2432,2016,1990,2194,1787,1662,1561,1574,1618,1460,1608,1863,1757,1789,1818,1599,1780,1766,2193,1954,1870,2124,2577,2315,2140,2599,2703,2235,1693,1869,2270,2089,1659,1279,1453,1990,2223,2236,2248,2042,1883,1921,2083,2818,2797,2370,1581,1732,2005,1692,1552,1878,2012,2194,2378,1931,1775,1690,2018,2074,2148,2512,1890,1471,1860,2149,1949,1928,2120,2282,1957,2109,1997,2426,2354,2401,2339,2148,1935,2077,2101,1886,1751,1648,1750,1998,1917,1461,1502,1516,1359,1928,2822,2729,2279,1882,2402,2496,2102,1977,1648,1723,1801,2656,2799,2756,2655,1952,1732,1712,2006,2105,1829,1815,1563,1767,1630,1332,1751,1936,1842,1831,1632,1569,1609,1836,1919,1748,1710,1658,1672,1764,1769,1634,1430,1823,1931,1933,1815,1562,1483,1740,1995,1903,2132,2130,2600,2772,2491,1854,1620,1646,1483,1766,2552,3704,4028,4036,4061,3726,2433,2626,3169,2988,2752,2468,2434,2846,3255,3387,3331,3264,3493,3848,3851,4100,3538,2858,2262,2619,2897,2247,1985,2366,2206,2236,2111,2072,2177,1996,1673,1479,1568,1994,2524,2566,2146,2230,2322,1905,1764,1980,2390,3420,4031,3493,3340,3046,2159,2078,2049,1842,2759,3184,2809,2416,2903,3030,2971,2806,2399,1862,1833,1988,2328,2801,3054,2864,2181,2092,2223,2206,2138,2160,1824,1738,2101,2296,2305,2167,2257,1926,2307,2494,2605,2604,1999,1701,1939,2048,1750,1571,1783,1923,1913,2025,1755,1926,2626,2747,2185,1793,1846,1864,1564,1420,1605,2022,2095,1855,1544,1662,1953,2558,3246,2850,1905,1506,1538,1674,1844,2046,2421,2666,2776,2674,2526,2223,2323,2049,1759,1590,1811,1852,1736,1836,1875,1666,1597,1750,1627,1660,1764,2042,2405,2640,2604,2792,2774,2424,2393,2227,2038,2757,3637,3021,2287,2195,2126,2150,2154,2408,2493,2442,2075,1714,1750,1600,1670,2724,3089,2669,3203,3676,2943,2261,2059,1848,1645,2100,1972,1836,1720,1736,1784,1870,1828,1795,1627,1477,1590,1696,1838,2026,2292,1829],[1966,2044,2309,1928,1650,2208,2608,2734,2796,2166,2230,2967,3263,3251,2579,2624,2602,2153,2333,2546,2770,3266,2902,2261,2143,2662,2956,2749,2789,2934,2800,2126,1269,1419,2520,3186,3185,3294,3450,3366,3311,3370,3453,3306,3105,3008,2956,3082,3392,3411,3256,3641,4004,3792,3454,3322,3049,3260,2608,2259,1935,1313,1410,1881,2074,2032,1500,1317,1510,1881,2200,2964,3926,4689,4048,2977,2432,2425,3072,2963,2192,1865,2312,2640,2858,3117,2864,2296,2259,2341,2019,2296,2311,2375,2357,1862,1484,1599,2105,1992,1758,2438,3543,3497,3050,2920,2273,1800,1763,2124,2286,2313,2815,2767,2071,1899,2611,2312,2258,2523,2291,2133,2624,2635,2754,3227,2766,2122,2641,2615,2090,2402,3118,2325,2852,3292,2998,2698,2288,2454,2810,2457,2350,2291,2393,2896,2542,2262,1906,1856,1626,1898,2132,1964,2102,2508,2337,2330,2030,2193,2442,2052,2723,2299,1825,2085,2179,1929,1985,2337,2273,1823,2110,2440,2558,2468,2121,2583,2438,2292,2784,2830,2336,1702,1761,1974,1992,2000,1978,2082,2656,2297,1857,2218,2952,2762,2225,2469,2595,2574,2241,1922,2494,2763,2906,3282,3002,2565,2084,1726,1479,1489,1587,1415,1692,2278,2593,1982,1617,2120,2920,2532,1780,2212,2946,3030,3118,3529,3194,2423,2265,2724,2480,2010,2088,1660,1573,1578,1594,1816,2002,1858,1274,1687,2164,1909,1584,1409,2031,2355,2520,3094,3072,2910,2376,2015,2733,2037,1666,1718,1786,1578,1464,1264,1369,1583,1448,1391,1510,1629,1732,1610,1375,1443,1468,1798,1916,2418,3094,3131,2985,3067,2686,1994,1826,1974,1686,1448,1437,1267,1385,1517,1440,1416,1679,2242,2452,2446,2062,1233,1648,1953,1618,1598,1660,1878,2139,1997,1871,1566,1564,1830,1628,1630,1710,1815,1827,1584,1354,1537,1634,1621,1683,1630,1411,1343,1677,1802,1681,1565,1741,1603,1614,1895,1641,1439,1415,1532,1870,1889,1580,1539,1562,1523,1470,1543,1638,1863,1908,1766,1512,1405,1566,1575,1388,1497,1523,1992,2721,2532,2387,2097,1844,1831,1699,1598,1819,2057,2505,2599,2236,2062,2334,1835,2050,1873,1559,1646,1786,2087,2577,2602,2316,1781,2274,2890,2536,1837,1662,1910,2963,3773,4051,4200,4180,4332,4548,4520,4020,3651,3924,3609,2510,1707,1592,2250,2075,2341,2536,2366,2692,2720,2470,2634,2583,1963,1576,2185,1843,1812,2342,2691,2182,1533,1609,1694,1429,1454,1494,1638,1632,1554,1780,1672,1559,1537,1536,1531,1711,1888,2005,1780,1904,1726,2425,2434,1804,1552,1732,1928,1598,1476,1836,1845,1678,1865,1681,1952,1888,2103,1925,1757,1748,1577,1469,1610,1615,1323,1629,1635,1675,1574,1775,1685,1488,1842,1786,1430,1487,1583,1913,2044,1814,1719,1588,1783,1578,1441,1675,2060,1905,1591,1681,1842,1661,1615,1782,1961,1970,1936,2004,1896,1948,1764,1571,1659,1780,1863,1939,2005,2519,2552,3010,3095,3087,3250,2675,3074,3052,2471,1713,1549,1490,1452,1415,1456,1694,1697,2127,3044,3250,2931,2533,2310,2197,2084,2137,1974,1851,1820,1722,1682,1524,1331,1306,1636,1842,1954,1628,1377,1902,1666,1718,1479,1552,1600,1572,1435,1372,1331,1289,1301,1341,1395,1566,1645,1343,1459,1378,1438,1449,1222,1220,1338,1407,1385,1466,1508,1512,1543,1476,1442,1545,1636,1678,1591,1786,1992,1702,1451,1461,1534,1424,1426,1322,1342,1401,1228,1204,1350,1359,1641,1484,1282,1810,2106,1675,1963,1604,1383,1208,1462,1920,1719,1543,1488,1490,1502,1631,1543,1441,1525,1757,1849,1960,1786,1482,2287,2938,2813,2425,1664,1912,2334,2438,2554,1848,1835,1997,1885,2648,2381,1931,1643,1591,1592,1575,1942,2493,2449,2015,1581,1658,1814,1624,1605,1546,1516,1628,1669,1775,1634,1656,2083,2148,2049,2078,1903,1865,1665,1548,1988,3564,4472,4840,5581,5692,4089,2187,1910,1624,1659,1700,2193,2011,1875,1824,1603,1612,1565,1384,1484,1687,1560,1498,1476,1480,1462,1604,2684,2685,2083,2048,2083,1864,1458,1882,2018,2320,2405,2570,3051,3053,2889,2742,2856,2345,1372,1108,1687,2307,1873,1680,2156,2368,2314,2457,1819,1565,1779,2001,1802,1930,2065,1769,1891,1752,1470,1866,1924,2460,3035,2649,2081,2032,2167,2098,2213,3018,3070,3287,2895,2067,2104,2204,2078,2045,1926,2098,2195,2128,2061,2200,2496,2083,2360,2600,2434,2266,2049,2254,2739,2219,1447,1454,1668,1404,1333,1841,1844,1345,1254,1075,1354,1638,2116,2447,2053,1995,2383,2267,2320,2821,2407,2108,2617,2119,1970,2082,2110,2342,1748,1171,1429,1392,1736,2836,2579,1948,1641,1637,1900,2769,3449,3445,2595,2194,2104,1714,1421,1395,1595,1624,1578,1382,1622,1862,1532,1720,2311,2752,2617,2176,1747,1689,1356,1348,1616,1802,1575,1426,1438,1572,1764,1826,1605,1629,1748,1895,2080,2454,1987,1612,1810,2210,2207,1787,1536,1676,1896,1723,1426,1410,1533,1490,1365,1562,1690,1725,2071,2137,1895,1647,1557,1590,1378,1248,1121,1858,1852,1564,1627,1548,1339,1410,1660,2112,2163,2061,2448,2047,1649,1644,1752,2047,2517,2152,1803,1690,1445,1166,1125,1193,1216,1473,1583,1642,1537,1680,1866,1681,1296,1361,1719,1620,1549,1909,2086,1852,1971,1798,1879,1868,2055,1704,2201,2420,1774,1855,2012,1690,1642,1382,1747,2176,2364,1669,1699,2080,1921,1996,2674,2900,2463,2307,2375,2229,2301,2236,2298,1990,1608,1542,1966,2202,2332,2092,2668,3063,2677,2506,2179,2011,2013,2228,2382,2341,2381,2401,2287,2466,3028,3017,2609,2943,3453,3150,2966,3188,3330,3173,2713,2878,3228,3366,3097,3076,2989,2602,2749,2823,2707,2455,3042,2932,2990,2522,1942,2075,2364,2569,2590,2036,1497,1714,2253,2292,2185,2986,2793,2416,2241,2430,2953,2620,1894,1809,1909,1939,1796,1730,1469,1383,1317,1829,2535,3027,3481,3145,2122,2236,2635,2224,2687,3562,3232,3267,3307,2488,1890,1898,1903,1660,1540,1673,1582,1923,2132,2393,2283,1905,1668,1685,1646,1974,2145,1354,1315,2109,2160,2000,1973,2080,1792,1645,1486,1526,1641,1643,1801,2088,2608,3394,3411,2876,2218,1735,1922,2014,2227,2222,1891,1841,1724,1599,1661,1841,1873,1851,2387,2396,2107,1908,1711,1693,1995,2657,2294,1546,1678,1894,2077,2221,2521,2841,3104,2533,1881,1846,1888,1768,1921,1910,1890,1888,1780,1686,2129,1907,1735,1905,2048,2002,1496,1375,1735,2158,2289,2092,1949,2001,1692,1478,1778,2040,1343,1399,1644,1526,1793,2446,2724,2328,1374,1235,1683,1715,1119,1384,1921,2042,1784,1766,2165,2339,2029,1831,1834,1596,1591,1819,1555,1707,1925,3142,4051,3737,3365,3175,2894,2646,2595,2809,3059,3494,3978,3915,3717,3360,2949,2514,2398,2621,2918,3095,3312,3366,2748,2168,3007,3651,3968,3141,1596,1088,1026,1109,1183,1066,1018,1004,984,987,959,1000,1009,1004,986,977,992,994,966,955,961,961,964,974,973,951,995,917,882,876,863,1156,1172,880,825,806,770,832,1206,1347,1320,1388,1395,1433,1534,1593,1561,1616,1526,1252,1222,1282,1236,1218,1283,1333,1498,1435,1496,1764,1694,1543,1505,1484,1548,1630,1556,1690,1736,1946,1820,1426,1379,1472,1426,1410,1543,1638,1939,1990,1598,1644,1517,1622,1506,1321,1323,1376,1427,1369,1312,1206,1390,1507,1367,1422,1431,1629,1417,1363,1524,1853,1754,1505,1506,1659,1574,1682,1653,1359,1369,1511,1472,1479,1459,1410,1440,1521,1717,1932,2394,2072,1807,1950,2056,1904,2100,2178,1992,1838,1388,1175,1667,1947,2105,2465,3020,2653,1887,1915,2039,2186,2808,2828,2318,2676,2803,2364,1887,1932,1735,1465,1774,2059,2245,2590,2676,2385,2666,2978,2802,2522,1961,1643,1734,2021,1582,1563,1600,1510,1622,1482,1425,1448,1538,1712,1770,1742,2306,2100,2168,2134,2122,2644,2695,2218,2297,2508,2150,1737,1613,1942,2083,1752,1261,1452,1599,1698,1852,1745,1768,1917,1999,1974,1874,2264,2295,2245,2002,1864,1854,1554,1754,2250,2198,2202,2158,2428,2100,1980,2353,2460,2420,2153,1901,1996,2254,2190,1801,1793,2119,2197,1961,2138,2420,2703,2464,2847,3090,2478,1856,1789,1685,1721,1722,1863,1950,2129,1873,1739,1635,1547,1687,2488,2751,3081,3521,3387,2976,2290,1989,2288,1917,1709,2235,3071,3553,3536,2541,2176,2298,1950,1990,1953,1791,2178,1631,1469,1551,1505,1675,1806,1905,1910,1528,1344,1466,1752,1905,1738,1988,1735,1943,1912,1643,1423,1510,1799,1651,1565,1613,2019,2085,2394,2038,2112,1882,1992,2958,3157,2231,1599,1845,2100,2396,2998,3706,4211,4253,4007,3840,3706,2434,2272,3131,3244,2674,2555,2544,2752,3105,3303,3164,3242,3573,3818,3711,3918,3929,3135,2564,2878,3233,3130,2908,2986,2630,2387,2159,2323,2218,1584,1250,1594,2319,2685,2486,1823,1508,1638,1655,1969,2093,2358,2734,3352,3682,3452,3016,1968,1873,1919,1792,2196,2653,2597,2292,1853,2098,2603,3062,3263,2899,2070,1813,2420,3098,2654,3050,3094,2571,2266,2043,1776,2021,2164,1724,1844,1909,1935,2133,1954,2009,2197,2601,2474,2122,1884,1697,1760,2243,2381,1987,1758,1858,1731,1657,2284,1937,1700,2600,2990,2461,1980,1804,1721,1439,1501,1600,1570,1722,1814,1776,1783,2409,3293,3190,2317,1782,1791,1909,2066,2584,2298,1991,2314,2608,2453,2267,2525,2297,2086,2225,2152,2052,1610,1927,1931,1818,1838,1527,1515,1551,1697,1726,1804,2044,2293,2328,2830,2749,2351,2209,1946,1738,2038,2362,2133,1754,1799,2006,1948,1850,2342,2463,2376,2161,1801,1611,1612,1748,2345,2608,2380,2563,2563,2231,2375,2213,1854,1868,2100,1743,1576,1717,1853,1863,2067,1919,1774,1845,1688,1448,1520,1746,1879,2041,1683],[1769,1955,2540,2287,1944,2673,3385,3313,2438,1682,2050,2652,2337,2152,1770,1998,1986,1953,2614,3134,3205,3274,3003,2397,2250,2790,2984,2927,2731,2684,2934,3156,2735,2639,3143,3329,3087,3059,3210,3295,3027,3095,3213,3204,3084,3104,3118,3128,3225,3155,3181,3506,3747,3775,3628,3670,3462,3574,2730,2518,2108,1560,1773,2404,2877,2296,976,1123,2081,2940,2978,3973,4620,4892,4341,3216,2448,2164,2632,2752,2039,1991,2192,1812,2193,3110,3272,2173,2590,2486,1803,2062,2176,2219,2414,2275,1657,1398,1844,2210,2486,2884,2950,3326,3480,3109,2553,2165,2029,2302,1843,1951,2447,2576,2018,1648,2227,2242,2291,2608,2313,1845,2258,2655,2933,3554,3229,2397,2230,2415,1858,2310,2600,2220,2783,3190,3021,2567,2148,2610,2977,2503,2349,2177,2544,2767,2812,2591,2188,1771,1541,1788,2041,2082,1820,1929,1361,1463,1757,2473,2820,2256,2024,1719,1758,2254,2228,2170,2045,1887,1771,1732,2287,2909,2641,2279,2051,2329,2219,1996,2352,2240,1879,1445,1521,1780,1775,1845,1962,2226,2729,3012,2974,3090,3098,2766,2556,2680,2731,2673,2475,1878,2546,3057,3068,2620,2375,2294,2077,2618,2634,1848,2144,1566,1874,2578,2148,1677,1520,1846,2468,2243,1705,1798,2035,1957,1975,2727,2418,2090,2004,2296,2017,2109,2280,1943,1585,1490,1515,1722,1814,1494,1636,2536,2316,2033,1664,1584,1903,2214,2559,2646,2544,2957,2592,2416,3064,2452,1825,2185,2492,2346,1660,1246,1497,1574,1622,1672,1521,1724,1699,1587,1408,1585,1884,2076,2052,1969,2264,2562,2581,2821,2365,1669,1785,1648,1376,1444,1438,1253,1367,1702,1647,1447,2050,2176,1748,1879,1663,1567,2225,2149,1783,1716,1685,2236,2774,2354,1969,2245,2321,1998,2041,1986,2009,1857,1527,1563,1439,1503,1598,1873,2497,2261,1642,1419,1704,1713,1676,1493,1367,1546,1670,1910,1795,1648,1598,2084,2397,1904,1737,1803,1875,1787,1843,1410,1295,1689,1791,1587,1503,1467,1730,1789,1519,1721,1649,2573,2778,2662,2709,2367,2193,2004,1775,1713,1792,2093,2194,2468,2621,2282,2385,1608,1489,1544,1474,1592,1648,1961,2732,3012,2011,2198,2156,2246,2766,2385,1972,2708,3652,3790,4013,4155,4168,4320,4407,4452,3679,3468,3773,3091,2267,1408,1065,1445,1699,2098,2103,2128,2313,2362,2015,1950,2182,1672,1338,1803,2227,2069,1702,1946,1983,1791,1508,1426,1429,1531,1563,1632,1511,1606,1730,1857,1897,1726,1745,1571,1662,1713,1490,1808,1923,1688,2685,2650,1780,1461,1544,1839,1540,1762,1725,1856,1649,1681,2313,2799,2322,1876,1870,1973,1653,1418,1339,1559,1499,1456,1695,1827,1672,1725,1759,1553,1432,1693,1786,1633,1483,1690,1811,1969,2044,1804,1622,1611,1468,1155,1676,2149,1814,1580,1379,1417,1519,1424,1621,1826,1895,1858,1890,2258,2360,2027,1933,1731,1698,2092,1947,2208,2457,2849,2810,2678,3261,3182,2264,2290,3425,3044,1744,1597,1345,1382,1426,1742,1921,1647,1712,2068,2287,2447,2459,2250,2080,1772,1760,1831,2047,2131,2321,1919,1451,1173,1302,1588,1749,1896,2042,1866,2494,1615,1459,1499,1454,1381,1505,1486,1462,1592,1304,1443,1431,1367,1337,1342,1336,1394,1352,1590,1688,1312,1252,1335,1252,1210,1207,1331,1360,1359,1333,1365,1350,1308,1260,1436,1824,1820,1466,1254,1493,1561,1408,1666,1511,1647,2651,2335,1576,1408,1514,1735,1433,899,1229,1704,1532,1464,1236,1321,1248,1375,1643,1661,1382,1548,1804,1705,1594,1382,1338,1502,1672,2147,2396,2014,1824,2570,2994,2679,2071,1565,1875,2292,2666,2407,1957,1796,1882,2076,2546,2570,2301,1836,1654,1674,1651,1726,1694,2076,1730,1389,1580,1614,1723,1924,1641,2036,2423,1967,2024,1547,1738,1997,1849,1863,1798,1791,1762,1852,1944,1528,1782,2259,2648,4108,5089,3197,2436,2886,1738,1447,1772,2087,2302,2043,1582,1573,1605,1431,1459,1704,1750,1942,1596,1617,1470,1367,1395,2347,2540,1681,1518,1997,2002,1516,2459,2265,2177,2331,2563,2443,2586,2656,2444,2662,2411,1832,1737,1654,1955,1834,1784,2216,2367,2864,2545,1910,2115,2512,2442,2102,1817,1938,2123,2079,1729,1620,2245,2380,2677,3030,2437,1800,2132,2514,2395,2433,3648,3531,3587,2915,2200,2422,2280,2116,2017,1682,2057,2527,2295,2401,2483,2274,2160,2259,2027,1806,1631,1975,2220,1940,1679,1594,1677,1480,1518,1720,1765,1542,1149,1224,1244,1287,1622,2179,2127,1642,1506,1813,1789,2386,2492,2172,2047,2410,1940,1593,1434,2185,3118,1844,989,1481,1443,1924,3064,3063,2287,1850,1926,2059,2281,3217,3139,2380,2371,2095,1789,1684,1891,1706,1739,1636,1435,1536,1597,1650,1997,2382,3156,3134,2710,2235,2019,1726,1836,1884,1768,1588,1564,1523,1411,1606,1799,1716,1832,1966,2149,2582,3616,3354,2350,2147,2419,1689,1443,1605,1508,1544,1477,1394,1378,1532,1390,1294,1376,1411,1493,1685,1632,1541,1560,1403,1027,1170,1337,1840,2365,1971,1652,1615,1583,1416,1437,1721,1902,1879,2302,2252,1513,1287,1418,1561,1589,1993,1882,1511,1591,1473,1239,1258,1173,1495,1675,1628,1416,1381,1531,1545,1337,1142,1594,1817,1780,1718,1702,1819,1780,1812,1760,1708,1763,1854,1977,2545,2338,1945,2286,1902,1722,1548,1386,1641,2107,2236,1929,1886,1793,1872,2484,3110,2758,2391,2626,2907,2856,2877,2314,1970,1856,1649,2352,2671,2431,2161,1837,2580,2640,2090,2262,2756,2506,2364,2370,2241,2266,2496,2351,1988,1864,2059,2362,2566,2844,2894,2962,3043,2657,3377,3835,3234,3123,3398,2917,2386,2389,2708,2552,2696,2984,3089,2706,3031,3576,3473,2382,2082,2632,2789,2810,2579,2108,1665,2246,2498,2196,2164,2448,2427,2128,2131,2220,2124,1993,1790,1764,1902,1942,1836,1761,1869,2136,2057,2371,3002,3403,3405,2465,2023,2623,3089,3387,3422,3001,2414,2689,3321,2888,2220,2228,2444,1834,1715,1788,1764,2335,2894,2701,2122,1867,1566,1577,1563,1687,1356,1009,1554,2241,2144,1968,1980,2005,1748,1406,1660,1586,1778,1846,1669,1921,2319,2762,2675,2047,1809,1708,1808,1851,2149,2345,2241,2048,1793,1815,1860,1808,2115,2397,2507,2395,2370,2013,1867,1894,2166,2468,2024,1970,2338,1981,2003,2149,2017,2335,2880,2326,1757,1807,1867,2024,2332,2155,1489,1499,1729,1884,1670,1632,1486,1753,2022,1869,1589,1554,1914,1920,1698,2008,2478,2885,1792,1336,1795,1584,1238,1991,2563,2345,2122,1935,2072,2214,1796,1659,1293,1359,1457,1836,2120,2155,2093,2062,2116,1977,2005,2098,1982,1668,1529,1661,2014,1772,1571,2590,3496,3717,3425,3378,3154,2809,2624,2862,3008,3459,4009,4053,3874,3688,3287,3042,2858,2714,2541,2522,2194,2636,2409,2031,2792,3311,3667,2927,1606,1041,1118,1338,1275,1088,1036,1002,968,971,952,953,952,951,964,976,969,980,957,994,969,955,961,966,966,934,939,942,932,902,866,917,913,825,788,797,804,925,1347,1624,1705,1524,1371,1522,1665,1566,1461,1462,1355,1335,1234,1293,1376,1396,1339,1571,1675,1404,1563,1717,1790,1651,1463,1472,1747,1748,1648,1963,2335,2384,1893,1554,1469,1332,1348,1364,1313,1320,1890,1896,1522,1504,1351,1439,1373,1261,1342,1445,1513,1372,1384,1220,1461,1865,1675,1398,1336,1479,1538,1477,1538,1614,1355,1279,1402,1781,1458,1582,1715,1384,1272,1425,1404,1383,1522,1445,1785,2362,1828,1876,2131,2037,1959,1665,1575,1498,1831,2532,2896,2396,1730,1786,1960,2127,2113,2069,2334,2501,2100,2375,2303,1801,2388,2329,1611,2383,2803,2222,1775,1980,1742,2042,2432,2436,2590,2718,2745,2473,2654,2450,1985,2169,1780,1567,2121,2316,1803,1727,1731,1707,1794,1537,1416,1511,1834,2201,1996,2225,2568,2185,2136,2163,2357,2814,2152,1405,1248,1544,1694,2062,2110,2092,2110,1884,1917,2054,1941,1741,1579,1610,1678,2236,2165,2023,2069,1968,1807,2270,2615,2279,1542,1464,2041,2752,2935,2335,1809,2293,2030,1977,2245,2049,1636,1552,1649,1860,1893,1757,1860,2046,2132,2003,2141,2732,2690,2236,2343,2845,2964,2293,1733,2124,2047,2145,1814,1810,2091,2396,2230,2018,1869,1732,2019,2391,2566,3482,3738,3143,2368,2241,2021,2028,1876,2038,2652,3008,3365,3300,2777,2536,2098,1675,1714,1655,1806,2090,1804,1798,1777,1780,1909,1909,1804,1892,1550,1604,1587,1676,1686,1662,1772,1498,1736,1827,1593,1488,1511,1580,1407,1460,1817,2164,2204,2211,1999,2003,1493,1642,2399,2420,1947,1947,2219,2533,3090,3215,3946,4066,4000,3908,3894,3558,2637,2376,3007,3452,2728,2626,2495,2558,3188,3241,3316,3474,3499,3606,3525,3597,3780,3396,2797,2680,3144,3035,2803,2658,2764,2609,2180,1900,1456,1337,1960,2577,2559,2273,1970,1500,1359,1335,1345,1660,2116,3065,3630,3576,3699,3280,2514,2026,1881,1595,1906,2167,2075,2239,2230,1931,1844,2404,3121,3360,2876,2607,2481,3271,3226,2924,3272,3156,2497,2003,1765,1629,1809,1764,1731,1925,2061,1948,2692,2052,1981,2247,2230,2309,2041,1780,1683,1890,2481,2656,2421,1838,1770,1793,2037,2631,2051,1530,2244,2712,2590,2176,2046,2073,1908,1658,1479,1591,1776,1942,1959,1807,2543,3430,2988,1979,2059,2211,2205,2045,2632,1946,2019,2361,2195,1855,1909,2046,2024,2000,2036,2115,2755,3240,2428,1859,2153,2058,1868,1896,1825,1898,1886,2044,1736,1835,2379,2798,2467,1867,1689,1527,1631,1808,1949,2264,1686,1576,1660,1635,1615,1854,2050,2454,2414,2150,1952,1582,1533,1772,2089,2000,1758,1787,2019,2071,1996,1786,1976,2006,1680,1417,1650,2147,2483,2559,1735,1807,2305,2128,1674,1665,1873,1769,1482,1587],[2224,2540,2813,2766,2881,3474,3607,2680,2445,2605,2457,2326,1942,2099,2050,1723,1763,2443,3190,3476,3185,3073,3042,2873,2820,3006,3016,3050,2920,2719,3018,3096,3074,3315,3161,2996,2912,2928,3056,3068,3229,3334,3205,3297,3118,3021,3096,3147,3206,3178,3320,3628,3890,3920,3606,3288,3326,3397,3120,3051,2588,1959,1918,2348,2814,2552,1521,1539,3046,2994,2736,3742,4306,4276,3340,2553,2546,2212,2322,2098,1561,1934,2186,1824,1977,2360,2324,2369,2553,1992,1965,1976,1657,1901,2310,2423,2007,1698,1828,1909,2535,2998,2714,2739,2828,2644,2632,2653,2741,2777,2001,1934,2501,2511,1838,1685,1756,1879,2614,3365,2962,2585,2810,2989,2632,3149,2977,2816,2490,2339,2366,2509,2657,2866,3042,3432,2873,1946,1648,2223,2554,1813,2199,2512,2330,2197,2250,2288,2144,1830,1496,1700,2244,2496,2182,1704,1131,1660,2078,2199,2474,2337,1767,1723,1995,2272,1860,2077,2216,1750,1628,1605,2149,2675,2540,2326,1994,1955,2183,2480,2204,2416,2209,1759,1480,1701,1786,2204,2788,2985,3318,3376,3132,3075,3242,2852,2923,2913,2916,3017,2834,2512,2656,2805,2797,2373,2172,2204,2380,2494,2226,1681,2089,1692,1671,1866,1756,1762,2035,2178,1939,1628,1545,1604,1739,1922,1738,1883,2188,2048,2033,1943,1905,2093,1971,2007,1805,1577,1534,1513,1428,1619,2009,2117,1643,1549,2006,2249,1870,2061,2314,2376,3216,3726,3462,2906,2796,2337,2375,2565,2642,2555,1809,1390,1527,1677,1680,1625,1506,1947,1815,1766,1842,2051,1974,1856,1896,2020,2136,2420,2106,1900,2129,1826,1730,1584,1532,1557,1507,1476,1604,1896,1670,1579,2163,2012,1941,2040,1968,2321,3134,3032,2554,1897,1729,2291,2906,2629,2328,3291,3299,2997,3155,3056,2573,2215,1886,1649,1405,1403,1432,1996,2714,2414,1892,1781,1785,1592,1635,1537,1693,1586,1376,1371,1483,1558,1699,1739,1798,1364,1641,1630,1490,1678,1770,1471,1477,1684,1746,1530,1542,1730,1801,1966,1830,2008,1630,2298,2262,2104,2062,2105,2010,1898,2124,1741,1672,1800,1728,2332,1904,1998,2238,1797,1400,1404,1832,2354,2032,1845,2342,2447,1664,2250,1656,1332,2281,2408,2109,3127,3863,3707,3968,3916,4104,4296,4383,4395,3646,3574,3431,2875,2791,2124,1555,1649,1537,1670,1972,1863,1822,1825,1750,1764,1534,1403,1252,1300,1996,2021,1557,1696,1664,1889,1666,1374,1522,1617,1504,1457,1567,1714,1802,2213,2290,1896,1771,1520,1612,1656,1680,1645,1657,1854,2356,2238,1635,1511,1473,1513,1654,2008,2114,2036,1774,2176,3138,2949,1979,1697,1932,2093,1836,1646,2142,2061,1832,1842,1751,1580,1444,1396,1448,1406,1538,1730,1894,1761,1584,1531,1682,1696,1708,1581,1584,1811,1626,1419,1771,1814,2058,1936,1444,1407,1548,1552,1644,1726,1958,2056,2024,2255,2063,1896,2001,1897,1796,1903,1846,2354,2665,2996,2452,1954,2438,2577,1937,2307,4109,3138,1678,1540,1433,1506,1578,1404,1498,1608,1516,1626,1670,1787,1772,1705,1623,1519,1622,1814,2098,2574,2366,1768,1470,1241,1346,1277,1373,1449,1564,1629,2139,1817,1439,1431,1502,1340,1344,1353,1544,1751,1289,1484,1766,1622,1417,1357,1252,1260,1389,1664,1655,1360,1380,1362,1363,1350,1338,1474,1428,1334,1235,1166,1172,1200,1367,2028,2564,2278,1713,1600,1764,1609,1756,1827,1764,2003,3472,2962,1603,1597,1591,1748,1638,1525,1471,1282,1338,1383,1345,1344,1311,1267,1423,1564,1296,1165,1400,1601,1555,1558,1370,1596,1760,2156,2023,1877,2288,2666,2396,1891,1786,1418,1988,2235,2619,2099,1964,1866,1729,2237,2553,2414,2401,1693,1677,1651,1496,1415,1626,1939,1678,1453,1561,1776,1914,1895,1792,1970,2307,2052,2018,1629,1897,1869,1981,1952,1685,1749,1811,1795,1656,1554,1908,1927,1880,2247,3039,2137,2070,1680,1570,1819,1483,2081,2720,2002,1688,1709,1510,1497,1554,1627,1578,1542,1506,1627,1678,1743,1576,1731,1971,1750,2061,2359,1902,1525,1664,2080,2480,2404,2945,3052,2645,2458,2040,2483,2935,2366,1987,1639,2038,2244,1889,1459,1774,2274,2071,1973,2472,3382,3430,2638,1809,1972,1938,1810,1545,1385,2305,3075,2856,2665,2323,1992,2273,2732,2291,2817,3505,3262,3227,2784,2478,2435,2092,2246,2144,1575,1930,2220,2010,2552,2530,2164,2226,2333,2080,1650,1071,1294,1617,1882,1900,1901,1932,1823,1756,2235,2354,1970,1466,1586,1578,1628,2152,2039,1503,1446,1403,1649,1854,2127,1919,1992,2236,2250,2061,1611,1731,2267,2683,1557,1146,1632,1920,2297,3220,3341,2756,2349,2414,2424,2301,2996,2226,1837,2269,2109,1620,1527,1608,1696,1697,1421,1346,1238,1346,1673,1806,2058,2749,2734,2221,2275,2692,2533,2252,1911,1714,1649,1792,1431,1388,1512,1563,1867,2460,2867,3142,3516,3820,3751,3218,3038,2764,1428,1372,1344,1372,1454,1475,1454,1420,1375,1438,1546,1687,1782,1542,1381,1430,1308,1644,1299,929,1226,1512,1994,2272,2255,1844,1475,1520,1590,1651,1745,1757,1651,2646,2280,1489,1407,1382,1339,1300,1448,1569,1686,1721,1530,1272,1355,1676,1914,1782,1575,1372,1499,1719,1779,1234,1111,1515,1625,1742,1838,1710,1687,1657,1780,1765,1596,1613,1683,1926,2021,1956,2549,2590,1928,1516,1542,1702,1851,1967,1721,1937,2066,2102,2445,2318,2452,2285,2227,2208,3089,3451,3416,3426,3233,2474,2033,2348,2421,2094,2208,2651,2941,2289,2359,2120,2365,2374,2617,2836,2656,2241,2403,2502,2235,2058,2007,1958,2656,2626,2062,2304,2487,2458,2734,2983,2861,2834,3035,2708,2602,2688,2553,2384,2279,2524,2677,2394,2236,2724,2792,2142,1913,2093,2056,2364,2556,2145,2335,2596,2398,2148,1901,1823,1892,1776,1696,1834,1851,1846,1848,1708,2086,2246,2098,2000,2290,2220,1837,2048,2749,3049,2592,2051,2623,2844,3174,3828,3244,1994,2135,2718,2978,2856,2113,2040,2448,2062,2194,1989,1920,2787,3039,2436,2003,1584,1554,1744,1543,1535,1278,1443,1947,2163,2386,2186,1954,1912,1910,1654,1636,1664,1981,1960,1848,2259,2656,2437,2522,2485,2307,2431,2569,2234,2106,2180,1943,1962,2038,1934,1785,1804,2454,2607,2317,2145,2092,2063,2163,2192,2137,2266,2298,2426,2368,1792,2060,2477,2503,2796,2412,1609,1459,1590,1842,1978,2396,2433,1942,1621,1707,2000,1864,1958,1773,1851,2337,2419,2215,2096,2547,2374,1951,2045,2206,2842,2329,2087,2026,1636,1698,2232,2292,2354,1947,1932,1969,1811,2191,1921,1468,1636,2004,2276,2557,2509,2388,2155,2046,1724,1967,2135,2059,1306,1252,1892,2093,1368,1446,2129,2545,2799,3052,3397,3194,2965,2885,2923,3260,3768,4192,4108,3886,3525,3252,3350,3475,3768,3384,2768,2153,2180,1998,2182,2578,2857,3275,2776,1453,1154,1985,2935,2788,2262,1561,1138,982,991,965,946,948,934,934,974,987,988,951,980,954,940,948,964,963,954,959,943,934,942,902,890,847,850,797,781,770,996,1236,1494,1639,1504,1408,1477,1515,1346,1470,1596,1589,1532,1236,1168,1372,1406,1696,2293,1838,1223,1610,1760,1802,1618,1593,1701,1791,1680,1862,2491,2924,2667,1875,1572,1497,1247,1291,1454,1517,1344,1315,1338,1396,1426,1383,1367,1360,1329,1299,1347,1339,1312,1479,1427,1686,1886,1621,1471,1419,1528,1499,1394,1360,1382,1334,1226,1390,1518,1392,1633,1647,1284,1243,1251,1283,1625,2022,1651,2058,3124,2385,1917,1819,1815,1753,1655,1600,1248,1518,2230,3110,2810,2587,2048,1813,1864,1707,1634,1814,1859,1963,2331,2115,2094,2066,1616,1391,1842,2231,2210,1999,2206,2228,2965,3370,3008,2792,2802,2554,2199,2349,2342,2231,2731,2362,2193,2789,2698,2001,1719,1775,1954,1744,1748,2014,1970,2123,2381,2127,2280,2592,2458,2109,2080,2141,1786,1219,1082,1111,1275,1697,2304,1959,1784,2080,2146,1955,1725,1787,1662,1642,1712,1660,2050,2043,1963,2178,2188,1859,1681,2116,1814,1499,2035,2595,3329,3061,2292,1908,1923,2084,2208,2302,2364,2191,1980,1801,1865,1796,1781,1780,2019,1936,2283,3018,3373,2747,2057,2398,2674,2475,1814,1894,2446,2293,2196,2055,1906,2141,2565,2865,2800,2311,2125,2188,1893,2383,3351,3396,2365,2082,2178,1992,1760,1834,2542,2984,3167,3356,2889,2285,1974,1509,1599,1924,1628,1704,1873,1882,1849,1874,2034,1854,1892,1642,1542,1484,1706,1619,1892,1787,1509,1453,1444,1753,2204,2250,1726,1447,1482,1375,1539,1878,1815,1799,2024,2355,1958,1395,1494,1557,1866,2437,2579,2326,2636,3052,3474,3984,3947,3905,4075,3903,2997,2265,2376,2720,3396,2888,2653,2447,2579,3312,3422,3256,3252,3374,3530,3689,3558,3348,3313,2433,2410,2932,2949,3031,3055,2946,2769,2261,1759,1543,2178,2482,2342,2436,2680,2094,1533,1396,1262,1528,1920,2178,3094,3450,3210,3116,2511,2077,1842,1684,1620,1757,2104,2214,1996,1973,1913,2147,2876,3099,3209,2809,3055,3152,3311,3090,3276,3342,2968,2736,2732,1987,1800,2033,1844,1747,2110,2365,2022,2150,1910,1958,2136,2185,2388,2596,2677,2246,2005,2068,2308,2110,1714,1901,2008,1956,2024,1875,1931,2468,2568,2605,2272,2178,2182,2288,1966,1747,1830,1735,1716,1810,1945,2239,2585,2168,1824,2410,2507,2156,1945,2040,1775,2159,2586,2303,1859,1704,1788,1875,1805,1838,1744,2946,3610,2727,1977,1970,1908,1807,2060,2304,2063,2374,2567,1923,1930,2228,2310,1891,1594,1696,1565,1749,2013,2349,2800,1818,1735,1716,1617,1572,1576,1618,1896,1984,2100,2094,1821,1984,1730,1870,2292,2434,2232,2137,2040,1993,1940,1831,1859,1636,1416,1648,1936,2202,1950,1907,2272,2384,2248,2238,2496,2692,2203,1630,1598],[2777,3221,3141,2752,2822,3220,2907,2188,2481,2981,2620,2270,2169,2396,2473,2279,3011,3599,3460,3665,3255,3065,3062,3059,2857,2835,3109,3294,3197,2896,2901,2923,2894,3007,2787,2748,2798,2806,2953,3242,3588,3538,3197,2967,2863,2931,2931,3068,3181,3362,3508,3624,3841,3738,3443,2973,2996,2994,2774,2857,2845,2648,2265,2247,2580,2784,2592,2592,2909,1862,1393,2758,3895,3868,3337,2853,2451,1606,1620,1678,1772,2248,2470,2489,2307,2050,1880,2118,2152,1789,2187,1740,1738,1882,2556,3589,3428,2580,2014,1869,2496,2783,2667,2845,2821,2867,2929,2758,2811,2762,2325,2206,2500,2152,1807,1839,1824,1929,2531,2815,2640,2802,2895,2919,3184,2908,2154,2149,2854,3165,2821,2956,3233,2835,2570,2876,2257,1728,1707,2153,2625,2585,2824,2424,1846,2132,2393,2103,1973,1947,2034,2225,2562,2585,2623,2204,1633,1827,2030,2234,2730,2451,1764,1628,1578,2385,2408,2274,2111,1807,1842,1722,1835,1868,1762,1788,1731,1789,1734,1886,2061,2955,2917,2432,2245,2341,2312,2453,2820,2957,3232,3007,2931,3039,3219,2685,3006,3234,3306,3408,2785,1998,2088,3028,3085,2684,2147,1840,1797,1753,1809,1677,1581,1595,1578,2087,2426,2286,2340,2149,1810,1744,1574,1773,2075,2152,2122,2056,2476,2653,2192,1662,1914,2244,2104,2001,2032,1708,1474,1278,1430,1768,1920,1791,1433,1735,2553,2568,1861,1761,1997,2127,3409,4039,3952,3374,2806,2406,2294,1835,2047,2241,1675,1589,1682,1672,1619,1473,1689,1793,1556,1537,1712,1741,1541,1586,1924,2077,2051,2114,1848,2295,2535,2447,2343,2038,1783,1707,1578,1500,1455,1676,1574,2125,2683,2778,2736,2492,2405,2542,2557,3149,3378,2797,2732,2422,2491,2200,2358,3039,3309,3241,3183,3320,3196,2798,2320,1564,1361,1380,1412,1664,1714,2208,1943,1628,1551,1606,1597,1699,1692,1473,1528,1642,1519,1587,2254,1726,1402,1313,1455,1521,1470,1644,1672,1549,1656,1609,1847,1938,1765,1792,1839,2008,1973,1718,1594,1914,2190,1966,1722,1915,1521,1323,1702,1586,1697,1568,1787,1901,1714,1901,1919,1863,1516,1544,2267,2875,2646,2437,2559,2375,2324,2475,1959,1621,2128,2302,2674,3632,3841,4047,4026,3958,4041,4271,4343,4379,4008,3715,3097,2576,3061,2706,2212,1860,1941,2271,2175,1410,1178,1199,1317,1427,1092,817,825,846,1308,1692,1513,1478,1378,1878,1858,1703,1934,1757,1533,1554,1519,2184,2176,1779,1746,2055,1875,1836,1691,1613,1711,1574,1705,1697,1631,1637,1618,1735,1676,1814,1904,1878,2206,1997,2001,2799,3294,2776,2147,2146,2188,2031,1623,1642,2414,2521,2043,1963,1738,1490,1482,1536,1642,1529,1838,2062,1915,1636,1598,1932,2193,1861,1605,1467,1578,1737,1615,1445,1505,2232,2497,2234,2098,1749,1523,1586,1271,1114,1503,1819,2152,2055,1645,1706,2085,1969,1966,1928,2004,2390,2564,2622,2221,1280,1426,1830,1930,2689,3768,2412,1578,1459,1396,1603,1621,1359,1422,1448,1360,1543,1829,2230,1859,1497,1485,1653,1791,1945,2150,2414,2078,1517,1372,1405,1448,1320,1453,1325,1287,1334,1544,1815,2031,1913,1509,1350,1288,1279,1317,1268,1436,1568,1854,1800,1578,1443,1300,1341,1593,1866,1759,1513,1518,1250,1385,1340,1307,1384,1345,1313,1319,1431,1599,1327,1415,2008,2574,2433,1986,1682,1919,1664,2137,2456,2099,2158,2734,2289,1466,1478,1502,1785,1544,1454,1555,1402,1237,1269,1492,1535,1372,1376,1293,1270,1289,1164,1227,1318,1483,1614,1478,1355,1748,2176,1759,1598,2207,2741,2092,1600,1659,1343,2340,2414,2136,1954,1901,1932,1871,2210,2751,2207,2418,2127,1898,1610,1538,1442,1465,1626,1847,1819,1830,1983,1940,1931,2243,1710,2274,2570,2172,1854,1672,1699,1634,1771,1810,1623,1765,1792,1072,1537,2097,1914,2029,2102,1587,1828,2002,1715,2407,2468,1837,2008,2444,1785,1642,1341,1542,1706,1791,1638,1568,1722,1743,1750,1900,1836,1472,1427,1596,1601,1799,2273,2306,1897,1569,2002,1997,1679,2004,1881,2094,2201,1757,2122,2303,2292,2590,1985,1649,1814,1518,1561,2273,2426,2229,2139,2457,3318,3633,2664,1792,1740,1685,1707,1602,1597,2539,3138,2899,2833,2431,2018,2501,2753,1959,2536,3155,3302,3576,3223,2415,2715,2383,2374,2002,1608,1410,1236,1437,2108,2048,1713,2031,2204,1943,1692,876,1149,1565,1815,1814,1747,1737,1854,1974,2172,2150,1630,1505,1758,1494,1772,2625,2244,1819,1489,1517,1518,1711,1755,1974,2611,2172,2190,3056,2339,1693,1578,1848,1714,1800,1603,2065,3113,3449,2790,2599,2318,2360,2722,2609,2192,1769,1729,1719,1603,1351,1299,1455,2053,2020,1008,1102,1155,1224,1460,1632,2263,3104,2833,2269,3081,3450,2983,2380,1921,1776,1842,1747,1452,1433,1469,1650,2376,3234,3565,3489,3441,3592,3576,3419,3556,2699,1427,1258,1310,1385,1350,1218,1322,1446,1407,1473,1662,1881,1869,1513,1351,1426,1886,2288,1618,1318,1189,1389,1714,1777,1989,1706,1532,1682,1952,1738,1704,2073,1942,2670,2265,1535,1567,1506,1447,1519,1708,1702,1516,1207,1343,1192,1293,1761,1790,1618,1540,1522,1577,1844,2123,1390,1175,1462,1571,1561,1866,1894,1709,1675,1958,1909,1600,1561,1854,1770,1664,1858,2482,2554,1862,1483,1786,1805,1864,2088,2199,2226,2165,1970,2023,1961,2178,2413,2173,1725,2717,3637,3745,3983,4081,3616,2757,2244,2107,2039,2214,3344,3197,2509,2131,1942,2086,2272,2254,2342,2597,2494,2921,2271,1987,2114,2376,2353,2786,2091,1586,1693,1654,1857,2270,2718,2625,2243,2495,2632,2500,2457,2169,1964,1829,2122,2121,1864,2125,2614,2663,2156,1850,1877,2230,2602,2460,2343,2426,2187,1865,1702,1656,1663,1985,2004,1695,1898,1851,1781,1671,1495,1747,1710,1677,1953,1938,1804,1988,2310,3161,3414,2374,2181,3110,3465,3536,3834,3064,2239,2261,2028,2365,2408,1889,1859,2027,1770,1803,1875,2084,2707,2575,2030,1712,1528,1910,2220,1795,1470,1329,1562,2097,2087,2522,2199,1824,1838,1515,1471,1792,1990,2305,2071,1949,2646,3164,3051,2746,2455,2408,2553,2625,2367,1976,1961,2082,1915,2222,2068,2159,2252,2237,2076,2087,2416,2451,2416,2286,1883,1873,2288,2447,1973,1630,2141,2362,2571,2451,1826,1396,1144,917,1077,1576,1773,1931,2214,2046,1811,1815,1584,1657,2225,2188,1925,2465,2576,2315,2331,2500,2735,2602,2192,1831,1879,1670,1620,1674,1540,1765,2183,2377,2486,2116,1830,1681,1715,2150,1941,1737,2150,2135,1969,2128,2201,2387,2110,1873,1837,1750,1811,1756,1388,1687,2329,2323,1974,2189,2500,2182,1704,2214,2343,2254,2343,2546,2864,3209,3575,3972,4165,3986,3779,3598,3489,3632,3997,3930,3137,2336,1993,1718,2166,2742,2713,2487,2005,1177,1129,2337,3211,3030,3020,2643,1557,967,980,938,930,964,994,947,947,963,981,966,971,960,960,968,957,956,985,991,948,922,954,910,897,903,878,796,806,828,1019,1261,1325,1350,1461,1449,1377,1685,1769,2007,2112,1839,1485,1312,1330,1397,1250,1505,1891,1698,1359,1581,1713,1799,1644,1428,1237,1334,1451,1724,2623,2854,2691,1932,1522,1598,1444,1925,2064,1835,1583,1451,1348,1446,1645,1490,1465,1389,1368,1386,1555,1570,1820,1759,1388,1600,1738,1648,1484,1654,1761,1559,1352,1427,1485,1339,1157,1178,1304,1296,1533,1785,1447,1372,1219,1275,1733,1895,1669,1717,2310,2108,1974,1834,1769,1722,1664,1475,1495,1903,2515,2987,2491,2451,2539,2613,2322,1969,1788,1993,1670,1893,2757,2621,2499,2119,1806,2396,2459,2320,2160,1871,2113,2121,3066,3039,2677,2313,1991,2120,2048,2454,2599,2642,2428,2212,2831,3199,2764,2144,1887,1888,1909,1679,1972,2474,2100,1930,2002,2051,2487,2065,1917,1983,2566,2515,1735,1286,1094,1328,1656,1820,1713,1518,1808,2072,2102,1739,1586,1621,1761,1648,1496,1564,1620,1914,2449,2335,2313,1952,1908,1917,1615,2191,2847,2995,3116,2631,2251,2394,2631,2710,2745,2615,2568,2471,2501,2584,2272,2036,1734,1452,1636,1996,2727,3252,2987,2663,2163,2337,2551,2268,2058,1842,1738,2066,2288,2184,2114,2026,2148,2524,2807,2475,2474,2211,1982,2061,2610,2605,2030,1943,1848,1716,1686,1955,2596,2828,2981,2841,2452,1995,1673,1405,1694,1848,1703,1874,1971,1947,1908,1886,2283,2126,1719,1486,1470,1500,1645,1751,2022,1996,1690,1543,1657,2059,2362,1931,1514,1598,1597,1641,1739,1808,1565,1310,1888,2244,1797,1642,1579,1552,2290,2842,2868,2645,2957,3633,4275,4111,3803,4009,4001,3197,2438,2190,2303,2591,3506,3189,2433,2206,2722,3431,3565,3270,3113,3408,3363,3575,3712,3313,2908,2262,2490,2882,3023,3249,3278,3197,3319,2821,2276,2271,2612,2454,2605,2592,1965,1432,1370,1455,1397,1936,2116,2296,3242,3588,3064,2335,2338,2074,1659,1578,1947,2468,2573,2188,2398,2339,2222,2785,3283,2982,2452,2916,3378,3071,2888,3006,3051,2940,2644,2673,2995,2503,2262,2339,1975,1968,2290,2324,1924,1789,1919,1754,2048,2185,2433,2880,2697,2586,2329,1951,1859,2192,2287,1819,1837,1851,1609,1713,1829,1981,2157,2131,1960,1925,2193,2356,2142,2141,2244,1965,1926,1828,1746,1883,1936,1699,1715,2016,2014,1974,2189,1920,1895,2603,2632,2448,2375,1858,2166,1767,2089,2100,1979,2273,2357,2196,1946,1936,1851,1770,2019,2260,1901,2399,2509,2184,1993,1920,2091,2118,2033,2145,1772,2007,1993,2007,2183,1920,1864,1874,1612,1423,1421,1411,1511,1691,1804,1927,2156,2154,1874,1703,1899,1959,1917,2198,2055,1676,1852,1728,1764,1950,1695,1674,1875,1605,1294,1690,2316,2326,2230,2354,2545,2502,2115,1801,1661],[2833,3326,3378,3247,3200,2570,1859,1935,2051,1880,2105,2437,2305,2578,2577,2431,3816,4388,3874,3648,3172,2905,2911,2893,2713,2667,2976,3514,3528,2930,2854,3019,2734,2650,2697,2871,2880,2809,3009,3340,3376,3196,2940,2796,2898,3001,3001,2940,3011,3453,3777,3709,3754,3902,3662,2998,2830,2835,2698,2930,3040,2989,2719,2608,2612,2803,2520,2000,2314,2084,1084,1340,2539,3915,4018,3171,2216,1564,1357,1402,1902,2390,2399,2346,2036,1782,1588,1536,1927,1975,2475,2171,2200,1815,2784,4012,4329,3588,2208,1822,2254,2457,2749,2947,2737,2755,2963,2655,2509,2701,2739,2706,2692,2341,2139,1832,2032,2021,2281,2668,2718,2561,2770,2679,3166,2897,2564,2788,3203,3044,2919,3116,2780,2570,2613,2521,2570,2235,1715,1770,1830,1748,2213,2407,2370,2350,2598,2131,1795,2004,2469,2508,2157,2125,2401,2390,2262,2066,2066,2468,2822,2396,1936,1624,1852,1974,2564,3038,2615,2045,1721,1608,1723,1939,1980,1537,1583,1493,1368,1721,2078,2428,2571,2231,1888,2451,2845,2262,2370,2828,2918,2916,2730,2815,2718,2769,2990,3151,3566,3366,2544,2222,2150,3263,3321,2902,1952,1701,1574,1543,1626,1811,1870,1547,1706,2541,3273,3048,2101,1655,1929,2152,1975,2956,3694,2977,2662,3144,3296,2972,1899,1413,1547,1766,2029,2208,2234,2003,1860,1649,1722,1941,2243,1957,2078,2515,2750,2602,2082,1571,1670,1866,2793,3420,3068,3078,3201,2501,2580,1768,1596,1923,1968,1754,1879,1833,1848,1747,1676,1484,1440,1770,1848,1633,1622,2201,2410,2509,2315,1949,1795,2127,2286,2603,3022,3024,2620,2293,2248,2399,1634,1613,1688,2411,2987,3015,2955,2684,2668,2745,2219,2765,3348,3085,3458,2777,2371,2114,2350,2988,3283,3098,3166,3566,3398,2835,2350,1610,1544,1433,1528,1475,1621,1712,1556,1405,1338,1459,1525,1570,1474,1577,1710,2083,1845,1659,1815,1627,1337,1364,1345,1337,1650,1855,1541,1570,1464,1431,1685,1865,1964,1893,1718,1768,1514,1442,1685,1456,1910,2135,1992,1946,1809,1683,1847,1864,1655,1616,1781,1584,1786,2047,1657,1812,1464,1816,2217,2270,2294,2401,2502,2932,3318,3264,2784,2341,2495,2357,2645,3833,4240,4351,4241,4148,4213,4344,4427,4487,4120,3806,3541,2884,2980,2625,2287,1986,2008,2383,1959,1609,1860,1747,1589,1779,1869,1527,1348,1069,1153,1468,1446,1470,1386,1546,1684,2236,2508,2017,2025,2041,1632,2424,2427,1950,1732,2093,1849,1930,1931,1760,1667,1566,1560,1644,1737,1703,1611,1885,1838,1864,1906,1694,1560,1704,2340,3167,3238,2752,2557,3029,2592,1919,1555,1546,1624,1950,2304,2213,1865,1558,1566,1685,1861,1719,1858,2100,1893,1635,1810,2223,2159,1880,1504,1510,1838,1862,1649,1538,1428,1670,2047,1996,1954,1803,1811,1561,885,909,1102,1761,2002,1876,1319,1470,1892,1801,1806,1896,1924,1979,2045,2083,2089,1439,1655,1660,1456,2209,2870,2019,1521,1472,1341,1248,1260,1303,1418,1544,1576,1641,1859,2086,1848,1638,1843,1730,1700,2019,1967,1819,1750,1550,1550,1411,1202,1123,1373,1420,1620,1704,1553,1888,2427,1876,1416,1506,1282,1267,1405,1297,1456,1541,1714,1683,1420,1262,1251,1378,1505,1585,1736,1588,1390,1145,1376,1565,1412,1239,1234,1308,1386,1548,1622,1277,1438,1896,2436,2934,2553,2106,2106,1686,1886,2071,1986,1965,1830,1516,1396,1328,1497,1864,1477,1359,1630,1476,1339,1244,1394,1603,1433,1375,1272,1361,1413,1333,1395,1359,1457,1443,1343,1320,1898,2542,2109,2165,2890,2907,2006,1676,1657,1520,2624,2569,1652,1671,1911,1837,1950,2176,2880,2226,2139,1659,1704,1654,1515,1621,1601,1521,1770,2176,2041,1686,1708,2020,2644,2174,2806,2956,1965,1387,1493,1553,1534,1549,1642,1792,1587,1780,1171,1860,1876,1804,2372,2438,2203,2420,2143,2154,2372,2230,1886,1879,1818,1704,1439,1662,2200,1975,1947,1832,1616,1735,1901,2106,1926,1672,1484,1411,1452,1510,1694,1903,1932,1543,1649,2281,2130,1735,2157,2507,2896,2624,2652,2978,2834,2614,2752,2090,1516,1647,1579,2044,2577,2569,2442,2241,2489,3558,3928,3007,2169,1637,1657,2048,2164,1951,2657,3278,3211,2966,2867,3041,3296,2897,2214,2618,3348,2846,2400,2361,2166,2820,2483,2508,1594,1305,1496,1560,1627,1861,2318,2810,2711,1975,1720,1318,1129,1331,1586,1511,1587,1591,1587,1619,1780,1886,1899,1903,1992,1952,1732,1815,3283,2980,2350,1776,1641,1628,1535,1427,1549,1827,1710,1914,2392,2130,1748,1619,1841,2048,1893,1562,2015,3142,3491,3194,3041,2444,2187,2396,2036,1814,1980,1832,1653,1521,1406,1443,1777,1983,1406,698,1128,1318,1714,1887,1718,2598,3306,2554,2598,3876,4487,4452,2722,2254,2054,2051,1813,1781,1653,1693,2135,2845,3218,3426,3551,3307,3072,3185,3342,3543,2273,1484,1420,1405,1417,1432,1338,1349,1438,1433,1422,1511,1540,1487,1938,1691,1602,2167,2055,1677,1529,1222,1255,1438,1532,1832,1876,1853,2182,2261,1805,1979,2326,2668,2947,2147,1882,1913,1853,1822,1798,1821,1582,1315,1691,2253,1872,1479,1656,1570,1367,1482,1628,1608,1605,2074,1809,1753,1748,1235,1336,1869,1769,1744,1598,1629,1577,1590,1785,1875,1698,1719,1718,1843,2053,1764,1804,1997,1810,1848,1922,2081,2055,1776,1631,1647,2200,2442,2546,1782,1926,3185,3528,3465,3616,3798,3812,3450,2764,2269,2311,2349,2954,3188,2866,2204,2286,2763,2829,2752,2268,2380,3054,3673,2659,2219,2338,2765,2671,2293,1943,1639,1725,1865,2032,2322,2422,2302,1758,2090,1984,1683,2072,2200,2000,2133,2230,1832,2313,3066,3282,2761,2577,2773,2700,2654,2670,2555,2336,1901,1837,1794,1860,1802,1764,1947,2087,1728,1700,1565,1462,1366,1413,1660,1475,1389,1575,1687,2457,2534,2666,3355,3116,2158,2461,3306,3710,3615,3749,3491,3255,2692,2154,2199,2296,2435,2699,2450,2106,1864,1767,1879,2134,2137,1732,1882,1907,2092,2045,1934,1498,1327,1541,1722,1934,1878,1564,1586,1508,1456,1825,2093,1966,2199,2155,2235,2504,2796,2818,2437,2427,2523,2495,2319,2343,1744,1921,2373,1772,2211,2654,2688,2146,1533,1754,2160,2278,2291,2718,2558,1911,1988,2100,2289,2102,1787,1748,1801,1990,1708,1270,1012,725,743,1095,1647,1866,1791,1780,1793,1862,1622,1325,1439,1618,1772,1838,2099,1986,1944,2279,2369,2820,2596,1960,1898,1694,1450,1488,1612,1550,1841,1975,2786,3091,3165,3091,2258,1627,2014,1870,1967,2777,2412,1995,2222,2148,1597,1610,1539,2228,2079,1571,1668,2018,2320,2289,2209,2195,2493,2584,1886,1329,1409,1662,1416,1525,2105,2455,2641,2790,3115,3271,3287,3328,3154,2900,3210,3311,3228,2625,2052,1980,1846,2145,3046,2896,1798,1095,1091,1081,1122,1332,1443,1684,1780,1333,952,925,939,938,976,993,873,866,1173,1276,1049,983,981,976,963,938,939,954,969,948,931,939,921,907,904,852,805,807,884,1098,1238,1367,1907,1774,1520,1282,1829,2490,2372,1820,1670,1489,1301,1380,1538,1345,1382,1335,1398,1461,1506,1566,1724,1669,1328,1066,1356,1645,1720,2574,2649,2626,1899,1438,1831,2136,2120,2089,1904,1568,1411,1365,1531,1536,1322,1403,1332,1341,1388,1500,1719,1966,1683,1317,1310,1555,1843,1802,1770,1644,1485,1521,1705,1650,1314,1232,1287,1197,1187,1334,1467,1306,1333,1360,1408,1594,1586,1500,1497,1655,1762,1683,1730,1780,1643,1594,1457,1814,1895,2512,2930,2339,2081,2558,3194,2720,2389,2208,2187,1858,1704,2744,2897,2318,1880,1758,2342,2191,1910,2246,2347,2461,2126,2386,2608,2408,2010,1762,2080,2193,2473,3143,3067,1980,2403,3066,3076,2617,2533,2026,1576,1665,1599,1765,2260,2259,1948,2283,2259,1891,1186,1400,1728,2100,2210,2207,1740,1496,1882,2054,1892,1615,1575,1538,1582,1729,1833,2224,2325,2224,1909,1619,1885,1906,1788,2133,2093,2301,2334,2356,2072,1968,2138,2780,2749,2562,2459,2061,2030,2031,2237,2961,3411,2801,2572,3074,2890,2367,1981,1497,1440,1569,1593,2335,3388,3104,2840,2535,2434,2743,3066,2483,1683,1588,1875,1870,1885,2256,2164,2055,1981,2043,2244,2476,2659,2237,1933,2091,1829,1621,1641,1915,2071,1892,2299,2775,2731,2588,2697,2296,1715,1532,1518,1654,1852,1903,1760,1913,2211,1997,2098,2620,2335,1786,1575,1526,1499,1490,1621,1678,1803,1804,1767,1956,2239,2042,1562,1561,1744,1719,1661,1463,1551,1697,1503,1622,1804,2011,1800,1709,1899,2259,2537,2729,2822,2804,3359,4262,4123,3885,3387,2769,2239,2298,2707,2744,3043,3228,2607,2200,2284,2800,3159,3558,3399,3235,3567,3623,3492,3394,3213,2916,2514,2498,2972,3230,3627,3645,3438,3342,3141,2700,2355,2212,2466,2460,1715,1278,1481,1601,1679,1763,2304,2184,2149,3042,2925,2358,2133,2258,2015,1630,1997,2555,2585,2302,2187,2973,2980,2467,2631,3122,2557,1735,2584,3288,2853,2642,2313,2463,2867,2866,2699,2623,2530,2420,2353,2281,2314,2344,2090,1669,1790,1822,1971,1875,2154,2487,2499,2217,2455,2601,2421,2212,2314,2369,1973,1982,1952,1728,1649,1813,1996,2095,2071,1989,1798,1882,2340,2622,2725,2373,1720,1941,1838,1896,1936,1860,1854,1760,1776,1698,1733,2081,1749,2049,2648,2923,2788,2468,2304,2390,1773,2155,2487,2418,2590,2486,2042,1741,1723,2047,1932,2001,2096,1788,2209,2699,2171,1668,2171,2411,2843,2552,2270,1944,2250,2050,1784,1899,1766,1615,1690,1634,1465,1383,1403,1450,1457,1649,1698,1719,1887,2056,1938,1721,1869,2143,1993,1762,1628,1506,1271,1487,2012,1805,1744,1921,1803,1475,1332,1835,2123,2387,2131,2256,2007,1942,1820,1582],[2357,2956,3144,2690,2413,2103,2009,2131,2121,2167,2505,2533,2331,2360,2507,3224,4236,3933,3570,3386,2975,2844,2808,2917,3083,2997,3298,3658,3275,3027,3067,2871,2690,2630,2746,3053,3074,2862,3039,3353,3203,2962,2789,2740,2894,3376,3311,2839,2801,3193,3699,3681,3640,4027,3797,2867,2857,3035,2921,2861,3120,2910,2833,1886,1809,2550,2519,2136,2180,2505,2001,1258,2181,3731,3640,2811,2290,1601,1145,1078,1430,1925,2282,2117,1571,1544,1391,1305,1537,2162,2532,2436,2102,1415,1717,2954,3960,3341,2443,2054,2119,2373,2955,2910,2589,3016,3185,2889,2720,3033,3082,2757,2984,2488,2299,2079,1987,2099,2615,2493,2596,2648,2633,2472,2201,2347,2762,2764,3190,2712,2694,2799,2368,2303,2554,2769,2602,2295,2010,1624,1405,1649,2292,2856,2940,2603,2429,2024,1792,2618,2803,2269,1917,1917,2452,2564,2285,2272,2436,2513,2469,2554,2078,1892,2060,1894,2563,3028,2338,2110,2100,1653,1415,2233,2031,1661,1670,1497,1421,1571,1663,1619,1706,1613,1521,1745,2604,2325,2822,3339,3034,2906,3017,2964,2938,3099,3084,3278,3642,3152,2096,1689,1819,2631,3158,2574,1701,1669,1655,1468,1594,2064,2002,1568,1799,2742,3108,2786,2180,1703,1581,1970,2309,3166,3708,3214,3444,4037,3615,2251,1562,1770,1899,1671,1773,2238,2203,2193,2215,1842,1741,1832,2140,2206,2207,2072,2274,2718,2179,1719,1730,1949,2442,2444,2317,2243,2422,1770,2066,1984,1674,2029,2449,1959,1721,1654,1604,1608,1647,1688,1681,2015,2331,1991,1590,1912,1996,2158,2527,2294,1587,1451,1843,2322,2376,2580,3165,3017,2955,2727,2176,1777,1576,2383,3094,2987,2988,2718,2686,3207,3093,3122,3303,3347,3671,3133,2471,2144,2464,3120,3285,3208,3094,2956,2666,2330,1910,1487,1316,1406,1494,1409,1612,1756,1726,1764,1752,1606,1421,1329,1375,1339,1388,1566,1668,1570,1650,1643,1562,1553,1337,1454,2207,2030,1389,1531,1752,1454,1509,1734,1778,1527,1505,1572,1478,1794,2003,1596,2008,1859,1903,2098,2105,1974,2261,2476,2067,1851,1897,1903,2179,1923,1513,1683,1711,1777,1727,2106,2037,1879,2132,2591,3097,3478,3221,3017,3422,3649,3481,3880,4542,4604,4339,4359,4497,4507,4535,4236,3620,3693,3558,2965,2779,2339,2175,2138,2261,2013,1485,1705,2365,2321,1994,2101,2266,2248,2124,1525,1395,1529,1615,1585,1617,1726,1678,2274,2227,1707,1861,1785,1878,2338,2832,2548,2025,1935,2237,2448,1976,1727,1547,1411,1573,1668,1794,1823,2100,2155,1761,1779,1725,1582,1527,1782,2514,3470,3251,2827,2456,2592,2214,1889,1686,1434,1467,1479,1636,1926,1771,1539,1908,1960,1779,1566,1592,1687,1834,1991,1816,1625,1895,1700,1399,1534,1671,2136,1898,2101,1964,1885,2054,1903,1682,1544,1829,1444,1060,2701,3210,3957,2890,2159,1623,1608,1708,1542,1640,1714,1837,1782,1931,1969,2062,1951,2127,1829,1646,2276,2372,1649,1378,1465,1435,1201,1366,1417,1608,1591,1643,1522,1504,1624,1422,1417,1566,1560,1617,1851,1952,2065,1630,1443,1456,1347,1261,1129,1349,1748,2035,2213,2292,2486,2436,1953,2015,2026,1779,1637,1489,1466,1639,1646,1808,1675,1410,1376,1423,1431,1268,1222,1411,1446,1295,1252,1389,1446,1314,1190,1214,1398,1447,1311,1240,1282,1574,1721,2314,3161,2505,2312,2303,1556,1535,1696,1904,1831,1799,1729,1548,1293,1520,1795,1439,1383,1492,1435,1277,1123,1358,1566,1411,1356,1342,1425,1407,1257,1295,1429,1657,1637,1403,1449,1951,2627,2154,2190,2573,2642,2388,2189,1608,1594,2541,2097,1355,1731,2046,1815,1951,2381,2745,2366,2024,1513,1459,1550,1481,1583,1791,1929,1968,2182,2141,1748,1525,1934,2449,2232,2667,2933,1978,1294,1365,1168,1524,1603,1720,1692,1664,1702,1556,1965,1787,1726,1903,1826,1991,1897,1863,2370,2564,2130,1767,1714,1778,2207,2052,1984,1828,1581,1593,1593,1360,1580,1507,1776,1591,1506,1543,1594,1515,1562,1600,1428,1302,1411,1688,1890,1877,1917,2778,2737,2454,2623,3813,3443,2358,2320,2330,2025,1731,1587,1478,1965,2404,2698,2991,2561,2656,3632,3575,2884,2081,1489,1699,2211,2558,2565,2863,2831,3077,3020,2775,2153,2092,2380,2370,2855,3473,2834,2227,2109,2030,2000,2222,2236,1739,1678,1909,2054,1970,1802,2008,3161,3313,2143,1675,1570,1469,1551,1206,1043,1341,1360,1562,1743,2167,2081,2711,2710,2188,1920,1949,1962,2566,2696,2508,1981,1519,1377,1337,1411,1260,1384,1722,1498,1421,1904,1810,1647,1876,2003,1987,1829,1848,2164,2203,2899,3721,3128,2949,2702,1853,2171,2587,2042,1858,1490,1440,1582,2305,2100,1148,1111,1269,1575,2728,2212,1151,2036,2823,2462,3129,4196,4800,3895,2544,1843,1791,1959,1853,1693,1593,1799,2564,3010,2974,3388,3626,3519,3082,3059,3141,3118,2274,1709,1431,1537,1904,2161,1837,1439,1360,1496,1548,1539,1397,1886,2473,1883,1582,1632,1511,1625,1628,1336,1353,1384,1475,1760,2053,2122,2649,2368,1733,1804,1955,2533,2452,2128,2122,1878,1534,1448,1424,1439,1684,1821,2102,2658,2602,1955,1809,1534,1512,1621,1741,1564,1490,1562,1610,1898,1661,907,1340,1853,1703,1576,1390,1417,1227,1583,1687,1461,1535,1727,1642,1666,1736,1746,1969,2076,2160,2334,1858,1814,2001,2016,1893,2232,2437,3144,3201,2198,2598,3602,3499,3512,3553,3678,3738,3753,3663,3286,3272,3007,2674,2514,2126,1998,2762,3286,3191,3155,2963,2839,3252,3240,2311,2322,2581,2187,1593,1691,1762,1564,1546,1585,1798,2099,1932,1710,1594,1643,1497,1490,1765,2171,2254,2396,2616,2520,2994,3384,3211,2800,2596,2692,2332,1937,1847,2060,2228,2050,1903,1864,1832,1656,1902,1952,2322,1981,2018,2427,2431,2246,1786,1653,1500,1757,1899,1996,2380,2385,2475,2596,2177,2175,2922,3421,3679,3639,3503,2906,3194,2994,2552,2401,2718,3132,3379,2999,2435,2045,1982,1847,1825,1491,1189,2036,2222,2362,2097,1910,1640,1443,1534,1748,1707,1550,1494,1410,1449,1802,1680,1696,1729,2145,2443,2238,2144,2877,2911,1970,2130,2473,2724,2152,2146,1856,1735,2195,2305,2697,2658,2392,2191,1957,2092,2222,2644,3229,3231,2916,2381,1940,1737,2106,2115,1698,1560,1626,1605,1262,838,698,1392,1599,1956,2580,2256,1866,1834,1817,1808,1720,1300,1343,1403,1770,1746,1958,1969,1916,2248,2312,2369,1999,1835,1832,1755,1553,1700,1938,1873,1718,1790,2087,2554,3322,3605,2484,1871,2587,2788,2374,2645,2056,1797,1660,1732,1521,1511,2025,2630,2229,1535,1629,2327,2345,1783,1650,1784,2225,3076,2581,1736,1837,2066,1782,1856,1791,1734,2253,2233,3030,3382,3075,3030,3090,2946,2861,2867,3000,2534,2061,2460,2249,2398,3492,2720,1336,1045,1078,1049,1029,1051,993,1008,1025,975,930,927,936,948,934,931,981,1358,1992,1814,1228,991,968,953,944,942,937,949,960,953,960,962,943,940,926,900,846,803,905,1274,1434,1448,2191,2328,1677,1301,1587,2271,2155,1709,2036,1794,1375,1607,1515,1298,1237,1209,1271,1505,1476,1421,1640,1734,1497,1193,1136,1585,2120,2396,2290,2084,1681,1341,1663,1772,1596,1707,1749,1528,1372,1151,1307,1295,1218,1472,1489,1357,1447,1415,1434,1603,1485,1374,1404,1596,1521,1566,1865,1612,1395,1753,2122,1914,1466,1581,1525,1094,1150,1302,1324,1334,1493,1760,1793,1670,1577,1481,1424,1477,1416,1293,1905,1961,1814,1605,1482,1694,1980,3228,3279,2520,2120,2056,2259,1973,2167,2113,2276,2675,1806,1900,2273,1876,1710,1746,1801,1755,2011,2173,2274,2126,2314,2566,2600,2214,1898,1919,2254,2655,2841,3221,3023,2135,2316,2270,2831,2542,2470,1924,1560,1567,1438,1402,1881,2382,2075,2210,2226,1928,1854,1766,1553,1798,1993,1978,1810,1671,1706,1803,1751,1961,1870,1713,1786,1931,2250,2530,2586,2563,1896,1654,2268,2564,1961,1557,1679,2188,2520,2055,1830,1765,1693,2163,2577,2718,2211,1882,1900,1811,2243,3256,3287,2260,2418,2783,2546,2315,1873,1453,1418,1362,1393,2007,2705,3260,3032,2405,1982,2372,3033,2659,1785,1477,1782,2179,2258,1982,1994,1867,1899,1907,1683,1885,2302,1976,1897,1975,1604,1459,1721,2627,2141,1850,2226,2424,2250,2243,2363,2064,1734,1771,1746,1578,1746,2144,2035,1923,1856,1662,2194,2778,2589,1957,1652,1603,1494,1444,1509,1457,1670,1545,1688,1975,1965,1830,1775,1854,1729,1716,1688,1387,1679,2191,2225,2103,1848,1897,2084,2116,2069,2237,2446,2655,2911,3083,3249,3467,3190,2513,1880,1709,1744,1898,2738,3099,2988,2653,2241,2241,2545,2839,3135,3676,3543,3090,3454,3728,3327,2854,2825,2908,2581,2570,3228,3482,3648,3406,3087,3111,3085,2941,2646,2495,2069,1543,1515,1765,2070,2069,2004,1914,2204,2587,2777,3393,2798,2687,2735,2342,2116,2022,2333,2394,1958,1824,1973,2205,2733,3146,3301,3050,2293,1816,1971,2285,2267,2254,1855,2063,3270,3699,3111,2248,2055,2162,2096,2265,2490,2631,2264,1896,1558,1620,2282,1791,1875,2171,2281,2163,2101,2035,2059,2155,1744,1654,1859,1858,1704,1672,1764,1884,1957,2173,2246,2153,2071,1773,2283,2946,3275,2912,2059,1710,1703,2096,2141,1791,1643,1600,1736,1605,1480,1569,1498,1668,1931,2533,2810,2419,2025,1756,1533,1693,1711,1698,1995,2385,2373,1947,1944,2096,1932,1828,1940,1946,2100,2236,2065,1980,2815,2939,3031,3031,2469,2176,2504,2445,2270,2026,1484,1393,1401,1506,1369,1421,1403,1458,1478,1760,2129,2246,2116,1918,1908,1910,2080,2059,1926,1831,1957,1810,1709,1781,1728,1521,1603,1609,1631,1636,1400,1801,2237,2371,1908,1746,1677,1646,1535,1488],[2454,2498,2106,1772,1964,2120,2186,2162,2084,2391,2884,3089,2862,1938,2720,3936,3870,3231,3442,3571,3082,2921,2865,3020,3405,3318,3254,3264,3144,3405,3493,3073,2808,2676,2808,3151,3252,3120,2896,2923,3002,2889,2886,2785,2862,3218,3248,3012,2916,3145,3332,3579,4029,4244,3805,2795,2509,2830,3082,3005,2920,2873,3096,2458,1946,2067,2179,2026,1600,2253,2611,2306,2476,3072,3277,3350,2975,2128,1791,1459,1561,1913,1967,2050,1702,1433,1232,1305,1544,2291,2580,2501,1904,1201,1389,2125,2592,2517,2654,2220,2214,2518,2770,3087,3377,3509,3587,3297,2518,2423,2519,2459,2785,2398,2319,2342,2056,2404,2500,2329,2618,2597,2404,2556,2624,2746,2862,2780,2736,2344,2466,2878,2370,1861,2326,2587,2220,2146,2000,1703,1744,1555,2027,2827,2445,1870,2042,2014,1924,2478,2609,2313,1765,1858,2147,2461,2175,2007,2478,3022,3190,2727,2137,2062,2119,2437,2678,2555,2382,2670,2360,2099,1932,2433,2209,1703,1614,1734,1694,1688,1676,1609,1460,1413,1581,1568,2204,2460,2814,3205,2932,2595,2648,2783,3090,3162,2949,2899,3028,2496,1762,1595,1687,1947,2590,2164,1708,1829,1810,1410,1466,2254,1884,1757,2119,2724,2864,2643,2834,2800,2222,2084,2448,3131,3238,3173,4028,4070,2871,1749,1618,1852,2340,2141,1706,1925,2404,2433,1969,1769,1705,1422,1318,1894,1582,1341,1817,2170,2113,2092,1787,1865,2430,2299,2154,1884,1793,1534,1492,1753,2002,1876,1828,1975,1677,1746,2000,1964,1792,1860,1760,1569,1804,1844,1670,1666,1616,1762,2224,2248,1804,1770,2098,2262,2084,2107,2580,2644,2697,2679,2764,2421,2062,2526,3076,2920,3030,2448,2436,2827,2945,3159,3230,3631,3582,2879,2297,2049,2341,2519,2740,2603,2991,2553,2088,2103,1989,1569,1376,1409,1522,1488,1515,1713,1760,1730,1743,1578,1569,1468,1422,1536,1606,1506,1550,1499,1440,1510,1632,1656,1619,1605,1810,1638,1463,1542,1477,1355,1440,1678,1633,1427,1416,1537,1562,2008,2071,2082,2076,1792,1881,1881,1722,1744,2219,2326,2255,2009,1928,2844,3032,1869,1574,1547,1688,1731,2002,2268,2110,2138,2099,2201,2778,3231,3356,3372,3452,3552,3695,4059,4652,4743,4507,4443,4603,4647,4427,3564,3234,3072,2786,2768,2423,2059,2098,2091,1767,1466,1578,1761,2498,2651,2341,2120,2288,2514,2562,2684,2822,2326,1836,1602,1754,1967,1728,1977,1836,1621,1994,2463,2056,2097,2846,2973,2750,2270,2369,2545,1995,1547,1578,1564,1833,2009,1976,1871,2005,1859,1721,2130,2142,1828,1550,1815,2540,3343,2691,2253,2314,2028,1898,2082,2078,1591,1732,1565,1444,1528,1591,1843,2562,2684,2429,1895,1544,1592,1948,2098,1708,1564,1948,1549,1503,1688,1622,1706,1633,1712,1722,1972,2083,2233,1967,1822,1943,1510,1593,3124,2818,3297,3728,3008,1656,1652,1723,1370,1397,1382,1362,1499,1628,1727,1898,1949,2055,2165,2350,2476,2245,1702,1530,1558,1402,1395,1548,1418,1428,1401,1408,1375,1614,1716,1523,1412,1520,2040,1925,1951,1614,2043,1791,1652,1996,1896,1282,1204,1827,2085,2441,2801,2879,2931,2814,3016,2965,2853,2592,2381,1896,1326,1389,1327,1402,1390,1316,1263,1234,1213,1227,1301,1311,1362,1318,1421,1533,1481,1372,1262,1194,1287,1773,1430,1370,1381,2006,2130,2370,2590,2205,2513,2066,1489,1397,1510,1581,2019,2013,1836,1492,1316,1664,1789,1405,1403,1504,1588,1289,1259,1325,1287,1272,1284,1274,1366,1304,1226,1382,1522,1782,1690,1596,1893,1920,2310,1810,1859,2070,2141,2095,2092,1628,1433,2146,1753,1444,1760,1998,1916,1782,2677,2814,2313,1960,1433,1520,1582,1482,1517,1831,2494,2879,2889,2990,2558,1860,2175,2425,2325,2944,3106,1912,1383,1354,1242,1950,1958,1697,1627,1782,1324,1590,1960,1688,1851,1908,1964,1761,1691,1943,1985,2078,2064,2074,2094,2204,2249,2194,2068,2031,1823,1554,1596,1587,1787,1613,1579,1412,1515,1736,1660,1557,1583,1785,2118,1928,1847,1874,1858,1645,1650,2851,2632,2039,2589,3780,3704,2666,2618,2630,2276,1978,1855,1811,2009,2200,2455,2476,2175,2383,2614,2535,2483,2079,2181,2284,2105,1939,2384,2767,3068,3122,2762,2197,1932,2215,2046,2010,2490,2887,2378,2426,2400,2009,2017,2308,1935,1641,1665,1812,1976,2336,1741,1754,2556,2501,2242,1646,1488,1664,2032,1471,854,1144,1197,1404,2065,2353,2677,4055,3709,2209,1634,1790,1732,1733,1843,1974,1867,1584,1349,1214,1337,1345,1489,1857,1243,1534,2104,1724,1624,1791,1852,2172,1994,1617,1286,1458,1765,2125,2274,2664,2568,2036,2791,2994,2285,1870,1484,1678,1659,1888,1544,977,1232,1384,2197,2823,1528,884,1721,2030,2088,3207,4302,4759,3305,2325,1852,2544,3029,2664,2065,1802,2212,3134,2884,2766,3365,3784,3484,3213,2906,3042,2806,2116,1994,1839,1937,1848,2038,1949,1457,1372,1535,1591,1506,1381,1858,2147,1941,1808,1756,1503,1702,2144,1888,1580,1743,1724,1855,2090,2258,2439,1953,1686,1832,1828,1890,1647,1509,1417,1315,1256,1469,1600,1557,1714,1809,1671,2083,2403,1974,1539,1350,1644,1659,1523,1431,1403,1374,1505,1904,1589,771,970,1444,2285,1884,1807,1635,1410,1689,1644,1360,1490,1620,1580,1677,1642,1670,1716,1957,2598,2559,2188,1973,1864,2039,2071,2122,2524,3292,3239,3171,3362,3655,3658,3569,3604,3603,3696,3684,3762,3792,3862,3765,3304,2510,2179,2520,2866,2965,3521,3307,2792,3041,3676,3752,2877,2172,2343,1803,1484,1753,1796,1538,1492,1643,1633,1653,1651,1281,1208,1701,1906,1741,1894,2216,2270,2703,2820,2791,2962,2859,2600,2383,2164,2014,1769,1628,1565,1663,1962,1951,1722,1665,1684,1683,1886,1779,1953,2017,2144,2426,2364,2282,1758,1631,2099,2562,2188,2135,2192,2155,1858,1873,1948,2509,3548,3813,3870,3937,3659,3050,2728,2507,2605,3038,3208,3338,3554,3510,3046,2338,1974,1884,1874,1635,1704,1730,1641,1992,2128,1759,1520,1618,1767,1815,1924,1738,1582,1549,1592,1758,1818,1672,1780,2202,2237,1970,2228,3204,2821,1728,1470,1857,2276,2155,2136,1999,1808,1913,2271,2556,2256,1895,2346,2545,2210,1921,2396,3103,3566,3296,2366,1643,1886,2191,2100,1869,1632,1657,1518,919,738,1887,3003,2531,2299,2294,2041,1759,1750,1799,1843,2021,1476,1401,1809,1898,1471,1816,1816,1664,1884,1714,1733,1530,1793,1660,1645,1516,1659,1773,2244,2000,2242,2723,2676,3162,3210,2273,1866,2166,2320,2291,2248,1878,1592,1724,2233,2036,2104,2959,2780,2259,1874,1663,1930,1950,1778,1621,1740,2046,2487,2236,1781,1813,1997,2082,2110,2088,2074,2076,2310,3173,3422,3441,3587,3625,3650,3517,3107,3046,2443,2316,2900,2250,2954,3220,1832,1137,1058,1042,1032,1032,1023,990,982,994,976,914,939,940,947,958,935,1095,1615,2060,1866,1235,999,953,947,950,950,942,941,929,951,977,965,941,925,942,923,865,821,944,1249,1396,1228,1520,1726,1506,1332,1397,1909,2364,1670,1654,1613,1411,1479,1463,1207,1161,1249,1318,1448,1438,1397,1521,1755,1542,1079,948,1330,1758,1771,1588,1626,1387,1203,1509,1422,1276,1291,1462,1411,1223,1100,1220,1361,1281,1506,1651,1450,1332,1334,1450,1576,1454,1310,1389,1568,1391,2011,2679,2131,1525,1830,2174,1950,1525,1670,1385,1162,1109,1289,1371,1368,1520,2019,2001,1376,1375,1576,2098,2058,1517,1698,2173,2098,1823,1754,1803,2026,2909,3432,2784,2544,2199,2586,2592,2492,2576,2027,2538,2776,1923,2036,2132,1872,1956,1828,1813,1702,1946,2172,2085,2027,2354,2387,2125,2055,1946,1810,2141,2653,2331,2172,2786,2579,2309,2460,2811,2438,1868,1579,1358,1384,1396,1361,1462,1803,2040,1854,2244,2042,1886,1754,1693,2130,2508,2352,2107,2091,1778,1773,1856,1759,2122,2404,2136,1688,1825,2016,2294,2688,2150,1521,1711,2467,1880,1373,1665,2083,2120,1946,2417,2465,1842,1962,2425,2402,2035,1859,2075,2390,2017,2134,2191,1918,1855,2027,2397,2501,2019,1654,1356,1394,2057,2150,2315,2608,2358,2062,1952,2214,2592,2354,1466,1284,1588,2150,1891,1611,1967,1573,1649,2014,1778,1955,2189,1867,1851,2157,2092,1602,2083,2567,1898,1720,1736,1830,2002,1958,1771,1596,1796,1810,1689,1825,1771,1997,2138,1711,1489,1641,2044,2460,2360,1868,1665,1677,1735,1529,1456,1452,1681,1559,1514,1682,1820,1986,2308,2187,1614,1591,1695,1798,1966,2076,2044,1970,1930,2130,2452,2524,2481,2369,2579,2852,2703,2360,2596,2467,2163,2110,2111,1820,1469,1460,1690,2170,2601,2418,2400,2360,2834,3038,3326,3575,3077,2320,2475,2908,2436,1844,2468,2863,2446,2204,2932,3428,3499,3348,3127,2943,2741,2630,2447,2116,1587,1367,1508,1698,1985,2118,2183,2084,2396,2696,3031,3217,3151,3135,2479,2150,2165,2353,2539,2233,2182,1969,1988,2095,2518,3397,4020,3610,2580,2217,2059,2050,2042,2016,2078,2096,2557,2754,2478,1921,1563,1637,1591,1756,2231,2500,2664,2584,1869,2030,2361,1948,1666,1569,1730,2008,1860,1806,2361,2138,1483,1490,1806,1842,1580,1605,1547,1583,1936,1994,1990,2326,2350,1898,2281,2751,3003,3181,2865,2242,1906,2056,1858,1664,1659,1847,1853,1552,1637,1525,1471,1593,1677,1858,2108,1873,1768,1700,1532,1537,1504,1593,1542,1880,1889,1847,1953,1874,1677,1681,1699,1676,1772,1434,1594,2148,3365,3605,3076,2487,2138,2374,2773,2667,2336,2185,1753,1548,1388,1426,1467,1810,1932,1895,1647,1631,2034,2245,2046,1611,1600,1628,1739,1959,2071,1962,2266,2221,1924,1926,1756,1447,1533,1602,1514,1564,1390,1463,1908,1970,1570,1426,1487,1427,1579,1724],[2367,2026,1511,1408,1614,1879,1930,2146,2208,2583,2962,3105,3694,3677,3716,3480,3008,2808,3313,3317,2843,3199,3552,3671,3604,3603,3455,3166,3435,3620,3631,3394,2984,2723,2889,3135,3120,3168,2981,2739,2979,3127,2990,2889,2887,2882,3150,3281,3145,3308,3399,4015,4372,4424,3982,2921,2014,2497,3033,2813,2685,2740,2856,2574,2230,1924,1861,1861,1910,2429,2643,2996,3207,3472,3588,3904,4140,4002,3456,2165,2051,1997,2007,2209,1958,1523,1289,1470,2018,2340,2583,3032,2509,1924,2099,2230,2260,2131,2430,2613,2657,2541,2314,2645,2613,2236,2828,2933,2544,2799,2504,2503,2554,2334,2227,1929,2259,2795,2888,2906,2896,2684,2668,2377,2502,2851,2350,2347,2237,2118,2462,2765,2386,2277,2819,2661,2307,2005,1763,1636,2149,1989,2058,2523,2321,1739,1714,1870,2119,2433,2640,2347,1779,1539,1620,1983,2149,2140,2874,3365,3556,3221,2479,1963,2473,3084,2253,2212,2441,2520,2252,2622,2437,2063,1941,1917,1914,1871,2073,2391,2276,2521,1820,1746,1778,2104,2267,2266,2184,2478,2714,2358,2187,2657,3122,3240,3145,2268,1805,2050,1815,1585,1600,1938,2393,2631,2170,1952,2148,1571,1539,2063,1672,1843,2712,2910,2743,2665,2944,3261,3111,2364,2066,2497,2535,2932,3516,3120,1904,1621,1655,1831,2247,2480,2343,2193,2424,2354,2269,1964,1670,1290,1656,2295,1902,1454,1491,1518,1680,2165,2119,2024,2149,1881,1532,1592,1696,1608,1521,1869,2276,1904,1879,2316,2319,2614,2253,1561,1561,1660,1532,1378,1559,1758,1844,1654,1722,1938,1804,1781,1739,1798,2129,2120,2004,1916,1988,2195,2360,2485,2545,2589,2518,2510,3077,3118,2986,2424,2806,3190,3213,3182,3210,2900,2280,2397,2202,2256,2328,2019,2024,2057,2997,2539,2035,2132,2083,1642,1355,1450,1550,1436,1431,1880,1758,1499,1439,1530,1709,1524,1341,1565,1722,1592,1554,1507,1382,1309,1420,1717,1733,1713,1841,1644,1481,1497,1405,1354,1422,1749,1768,1836,1538,1575,1474,1631,1732,1970,1800,1937,2403,2254,1837,2269,2562,2013,2188,1928,1730,1693,1620,1499,1705,1729,1637,1838,1913,2078,2309,2411,2645,2514,2709,3252,3675,3439,3318,3617,3483,3425,4185,4750,4585,4448,4716,4797,4152,3161,2671,2064,1955,2242,2156,2053,2063,2186,2214,1663,1466,1692,2374,2447,2434,2133,2204,2441,2663,3421,4092,3886,3385,2818,2434,2022,1686,1793,1681,1847,2361,2599,2283,2461,2441,2185,2654,2476,2314,2014,1520,1499,1550,1536,1756,1844,1756,1726,1676,1912,2095,2211,2160,1737,1488,1711,2077,2142,2175,2491,2364,2073,1973,1614,1804,2008,2208,1841,1389,1469,1754,1804,1704,1964,2210,1755,1399,1616,2540,2320,1901,1635,1798,1694,1554,1644,1572,1487,1572,1714,2122,2286,2023,2079,2035,2101,1787,1505,2361,2658,1931,2296,3615,3360,1921,1618,1494,1462,1418,1439,1133,1192,1352,1590,1637,1630,1740,2029,2193,2231,2199,2227,2062,1568,1085,1229,1152,1089,1360,1408,1295,1415,1875,1785,1475,1215,1677,1915,1842,1665,1426,1794,1695,1613,1830,1713,1297,1198,1916,2447,3108,2752,2690,2852,2745,2541,2576,2890,2975,2904,2277,1910,2218,1946,1794,1565,1382,1265,1154,1136,1376,1394,1391,1539,1395,1601,1576,1477,1376,1407,1340,1424,1831,1591,1383,1370,1551,1821,2053,2059,1735,1950,1715,1381,1370,1597,1967,1785,1582,1466,1354,1402,1676,1745,1410,1381,1388,1504,1243,1231,1198,1114,1217,1366,1436,1388,1343,1393,1678,1563,1582,1746,1650,1804,1842,1983,1775,1575,1610,1662,1735,1990,1628,908,1114,1307,1395,1837,1978,1932,1830,2656,2886,2321,2117,1470,1604,1499,1533,1718,1812,2545,3459,4068,3917,3059,2388,2164,2247,2579,2745,2467,2156,1636,1572,1547,1886,1932,2048,2333,2186,1658,1727,1690,1757,1982,1764,1692,1706,1833,1803,1822,1980,2047,2002,1786,1622,1827,1967,2599,2999,2557,1710,1500,1551,1627,1736,1744,1517,1606,1680,1525,1526,1527,1908,2511,2144,1973,2056,1920,1797,2134,2603,2240,2272,2508,3123,3072,2459,2379,2503,2221,1733,1680,1750,1659,1555,1737,1837,1690,1902,2153,2387,2359,2229,2189,2536,2061,1612,2101,2332,2396,2389,2425,2388,1991,2346,2207,1909,2600,3227,2664,2323,2024,2004,2301,2257,2093,2103,1857,2242,2000,2691,2045,2086,2567,2415,2253,1688,1655,1901,1781,1571,1417,1595,1422,1620,2458,2310,3188,4164,3784,2509,1753,1751,1425,1122,1229,1547,1694,1862,1703,1632,1495,1466,1873,1714,1498,2565,2772,1881,1916,1666,1848,2566,2643,1606,1179,1528,1703,1704,1492,1714,1882,1938,2577,2094,2459,2755,1861,1947,1883,1671,1422,1576,1813,1804,2664,2600,1001,1278,1707,1832,1900,2204,3196,3589,2840,1563,1488,2697,3159,3662,2996,1891,2086,2312,2084,2690,3537,3750,3515,3042,2773,3186,2751,1709,1585,1801,1948,1604,1487,1722,1503,1749,1750,1571,1538,1375,1686,2115,2049,1627,1611,2017,2299,2314,2235,1775,1536,1898,2241,2478,2393,2160,1817,2196,1956,1565,1380,1463,1435,1405,1339,1435,1498,1363,1255,1284,1467,1582,1845,1708,1280,1162,1301,1958,1684,1367,1416,1455,1470,1518,1776,1508,1183,1337,1655,1817,1477,1547,1533,1559,1560,1389,1276,1553,1604,1539,1619,1345,1199,1459,1666,1859,2039,2282,2235,2187,2317,2258,2277,2665,2443,2235,3233,3658,3706,3706,3613,3629,3740,3715,3438,3203,3319,3569,3497,3031,2187,1651,1783,2253,2691,3123,2922,2643,2713,2921,3455,3475,2889,2123,1502,1664,1934,1993,1641,1718,1933,1994,2105,2166,1938,1751,2315,2328,1988,2090,2197,2659,3059,2745,2229,2045,2006,1941,2020,2265,2291,1823,1599,1528,1544,1738,1700,1984,1748,1484,1764,1937,1953,2097,2283,2186,2364,2352,2073,1702,1738,2316,2610,2393,2167,2110,2146,2042,2148,1752,2631,3478,4161,4112,3941,3752,3026,2729,2834,2859,3009,3042,3352,3457,3547,3473,2908,2163,1828,1727,1560,1759,1851,1627,1763,1805,1515,1444,1855,1896,1787,1926,1665,1601,1706,1834,1787,1711,1656,1904,1881,1917,1824,2339,3300,2585,1880,1658,1894,2335,2655,2797,2667,2289,1835,1934,2522,2490,2263,2740,2481,2199,1884,1899,2794,3562,3242,2567,2306,2677,2308,2555,2200,1823,1714,1568,1466,2284,3493,3053,2138,1948,1936,1930,2152,2595,2380,2112,1981,2018,2264,2434,1812,1560,2847,3231,2131,2226,1977,1623,1477,1554,1622,1654,1666,1531,1742,2178,2158,2364,2658,2653,2468,1937,2061,1834,1767,1703,2083,2500,1970,1695,2199,2515,2317,2430,2705,2535,3083,3019,2669,2152,1832,1794,1709,1894,2888,3584,2942,2315,1990,2053,1852,1903,2065,2009,2293,2641,2919,3249,3343,3343,3484,3482,3304,2665,2373,2429,2366,2576,2158,3211,2984,1544,1093,1034,995,1010,1007,989,948,950,951,941,933,935,952,944,964,956,994,1323,1813,1617,1110,1000,946,937,947,951,948,935,935,960,986,1016,1035,973,940,873,827,823,1028,1335,1311,1234,1317,1350,1230,1317,1360,1473,1636,1351,1256,1327,1254,1127,1140,1306,1547,1441,1367,1201,1042,1239,1553,1788,1465,974,860,1126,1395,1451,1475,1348,1125,1525,1856,1915,1425,1242,1201,1256,1212,1112,1247,1459,1337,1382,1589,1528,1417,1352,1465,1495,1510,1569,1577,1594,1454,1761,2289,1985,1451,1587,1632,1556,1483,1635,1404,1240,1296,1398,1360,1313,1538,2071,2115,1679,1757,1922,2834,2478,1740,1802,1963,1957,2071,2438,2712,3260,3793,3132,2066,2088,2185,2441,2464,2720,2454,1896,2218,1984,1739,2110,1931,1876,1887,1828,1859,1984,2156,2221,1987,1802,1954,2168,2190,2035,1843,2116,2114,2364,1954,1693,2772,2569,1881,1989,2364,2098,1580,1628,1388,1491,1686,1637,1602,2024,1919,1663,1919,1891,1636,1654,1985,2386,2705,3235,2820,2334,1791,1976,2093,2031,2514,2381,1566,1252,1720,2161,2276,2109,1882,1384,1610,2170,1734,1571,1924,2044,1858,1801,2327,2246,2031,2174,2755,2974,2586,2309,2447,2523,1769,1235,1577,1896,1831,1966,2269,2216,1820,1824,1554,1651,2097,2220,2501,2336,2211,1919,1857,2053,2455,2199,1412,1372,1730,2145,1772,1896,2081,1633,1831,1772,1606,2267,2093,1898,1883,2257,2367,1997,2314,2121,1913,1791,1525,1548,1877,2141,2238,1818,1756,1620,1504,1737,1543,2313,2474,1895,1655,1831,2110,2237,2031,1908,1668,1957,1824,1448,1391,1550,1640,1516,1630,1863,2101,2178,2237,2094,2025,2107,2233,1644,1624,1930,1910,1960,2101,2134,2207,2322,2128,2024,2468,2729,2098,1959,2329,2176,1748,1863,2015,1691,1311,1330,1614,2103,2445,2330,2265,2470,2664,3122,3351,3473,3012,2144,1765,1818,1699,1696,2483,2492,2105,2280,2490,2919,3295,3344,3113,2720,2557,2526,2407,2445,2215,1709,1592,1652,1880,2109,2309,2693,2958,2884,3188,3088,3003,2796,2305,2243,2718,3255,3444,2805,2669,2330,1916,1952,2119,2780,3379,3729,2802,2471,2204,2186,2319,2130,1996,1968,1931,1796,1964,1735,1605,2019,2161,1837,2172,2230,2697,2358,1801,2011,1805,1601,1560,1524,1960,2250,2165,2206,1932,1836,1739,1440,1590,1713,1662,1726,1699,1828,1866,1610,1903,2280,2266,2051,2370,2593,2048,2020,2533,2366,2051,1942,1582,2018,2035,1995,1633,1701,1864,1704,1620,1887,2056,1937,1813,1715,1857,1685,1578,1549,1446,1688,1676,1635,1592,1675,1870,2025,1761,1918,1685,1543,1565,1387,1498,2193,3516,3913,3241,2637,2548,2565,2984,3072,2630,1901,1707,1604,1502,1515,1570,2093,2319,2349,2279,1761,1853,2028,1830,1629,1441,1430,1637,2044,2110,1907,2172,2144,2115,2092,1775,1453,1449,1521,1504,1499,1357,1349,1708,1881,1708,1643,1546,1604,1735,1667],[2491,2128,1913,2276,1861,1885,1920,2088,3062,3587,3002,2988,3695,3688,3452,2990,2494,2354,2752,2877,3203,3919,4029,4073,3783,3273,2895,2986,3168,3073,3278,3474,3259,2807,2820,2972,2957,3061,3204,3011,2863,2828,2875,2862,2941,3059,3252,3393,3309,3348,3378,3870,4132,4255,3968,3365,2566,2491,2952,3028,2891,2609,2412,2296,2493,2545,1950,1870,2124,2108,2731,3044,2777,3043,3133,3327,3907,4184,3122,2359,2207,1868,1845,1805,2092,2319,2098,1882,2324,2765,3276,3372,3055,3145,2382,1793,1946,1769,1823,1941,2338,2400,1862,2004,2200,1816,2218,2376,1974,2085,2486,2223,2210,2366,2032,2101,2741,2859,2920,2874,2802,2449,2496,1553,1914,2806,2318,1966,1917,1875,2229,2565,2470,2899,3049,2873,2802,2132,1736,1810,1908,1948,1730,1683,2188,2293,1775,1521,2269,2304,2183,1932,2337,2009,2064,2562,2242,2296,2807,2731,2810,2944,2875,2013,2644,2589,1836,1780,1910,1989,2238,2585,2448,2238,2239,2222,1882,1557,2253,2857,2476,3152,2207,1648,2059,2420,2352,2170,1945,2314,2532,2300,2179,2489,3076,3651,3552,2899,2452,2258,1918,1610,1615,1758,1979,2422,2076,2371,2005,1545,1498,1637,1602,2266,3208,3231,2966,2824,2952,2989,2633,2145,2006,1951,1857,1890,2276,2102,1676,1808,2307,2036,1844,2843,3270,2404,2321,2081,2035,1881,1592,1501,2094,2519,2378,2076,1775,1732,1841,1907,2070,2401,2361,2352,1902,1482,1624,1712,1786,2280,2432,2187,2534,3287,3142,2596,2215,1750,1674,1709,1674,1852,2018,2048,2293,2295,2190,2160,1892,1538,1612,1819,1946,1980,1976,1917,1901,1904,2072,2330,2294,2150,2280,2564,3032,3133,3009,2479,2792,3250,3151,3040,3073,2670,2182,2310,2282,2597,2522,2068,1987,2066,2491,2593,2099,1643,1894,1655,1484,1549,1458,1428,1438,1686,1585,1481,1430,1451,1448,1437,1419,1262,1297,1530,1528,1449,1441,1289,1520,1715,1613,1474,1784,1756,1477,1583,1398,1362,1366,1772,1922,2113,1893,1963,2097,1966,1936,1779,1645,2076,2194,2049,1797,1895,1849,1969,1933,1699,1692,1682,1858,1896,1905,1886,1981,1952,1455,1681,1841,1841,2889,3089,3128,3925,4140,3393,3063,3767,3667,3196,3586,4208,4428,4355,4415,4243,3693,3138,2320,1847,2642,2846,2288,2192,2011,2192,2648,2013,1518,1653,2182,2108,1697,1764,2317,2496,2425,3031,3728,4461,4280,4364,3780,2993,2141,1672,1749,1945,2070,1935,2194,2658,2076,1646,2008,2408,2051,1764,1787,1604,1434,1719,1792,1956,1950,1826,1708,2100,2084,2136,1751,1748,1971,1902,1636,1651,1903,2123,2313,2199,2137,1804,1927,2207,2542,2225,1700,1521,1537,1497,1517,2060,2324,2408,2486,2263,2213,2155,2202,2137,2218,2121,2043,2078,1859,1784,2059,2079,2474,1845,1487,1619,2083,1985,1658,1795,1950,1655,1825,2437,3138,2779,2118,1977,1584,1711,1599,1296,1299,1377,1505,1860,1548,1544,1904,1835,1802,1720,1874,2063,1891,1675,1481,1568,1568,1598,1664,1457,1360,1458,1720,1573,1220,1431,1678,1947,1896,1462,1526,1643,1646,1520,1577,1711,1235,1330,1858,2715,2809,2682,2902,2958,2913,2470,2186,2357,2871,3076,2263,2583,2574,2707,2942,2270,1869,1827,1744,1670,1793,1581,1389,1632,1615,1670,1592,1580,1635,1743,1656,1623,1669,1482,1264,1296,1601,2259,1736,1677,1768,1546,1512,1371,1200,2048,2314,1349,1307,1260,1210,1339,1704,1755,1440,1378,1313,1319,1253,1334,1368,1296,1328,1469,1611,1445,1511,1597,1762,1796,1598,1725,1658,1798,1908,1858,1761,1608,1622,1618,1703,1833,1367,738,641,1080,1538,2034,2046,1847,2039,2601,2804,2386,2100,1607,1599,1557,1526,1510,1405,2112,3166,3310,2871,2809,2389,1841,2181,3028,2915,2271,2119,1843,2055,2451,2464,2257,2207,2317,2189,1824,1812,1986,2149,1948,1698,2004,1819,1568,1772,2015,1854,1935,2090,1915,1789,1930,1772,3169,3153,2077,1712,1594,1354,1554,1923,1734,1524,1669,1746,1578,1440,1634,1782,2227,2155,2106,2197,2470,2296,2286,2653,2436,2208,2542,3532,3399,2916,2489,2548,2798,2822,2330,1649,1510,1682,2219,2342,2003,1940,1959,1918,1997,2475,2579,2604,2169,2225,2336,2132,2380,2286,2422,2548,2230,2600,2452,2023,2321,2002,1877,2058,2021,2181,2413,2315,2216,1992,1831,2180,2281,2727,1997,2602,3453,3393,2550,1560,2200,2552,1955,1743,1463,1540,1523,1731,1921,2104,3012,3374,2934,1879,1573,1542,1294,1054,1427,1471,1424,1632,1769,1860,1831,1772,1848,1919,2062,2290,2323,1886,1933,1534,1434,1867,1694,1134,1224,1475,1366,1023,1276,1556,1968,1865,1775,1649,2116,2061,1919,2380,2125,1831,1823,2051,2368,2296,2884,2092,1113,1452,1839,2344,2222,1822,1960,2296,2073,1126,1445,2665,2437,2844,2944,2076,2041,1865,1968,2735,3467,3488,3052,2454,2684,3204,2324,1504,1482,1572,1788,1807,1854,1710,1572,2011,1943,1550,1567,1564,1586,1513,1455,1358,1697,2498,2662,2153,2322,2409,2157,2494,2591,2555,2448,2313,2074,1901,1503,1438,1309,1293,1282,1275,1385,1368,1265,1241,1362,1386,1566,1723,1754,1570,1245,1526,1631,1758,1855,1682,1433,1496,1510,1447,1409,1374,1481,1899,1710,1341,1420,1360,1479,1553,1512,1480,1519,1441,1375,1490,1551,1064,1183,1722,1774,1721,1848,2010,2298,2343,2185,2490,2924,2708,2701,2754,3423,3768,3705,3808,3880,3808,3800,3719,3431,2996,2801,2894,2701,2462,1826,1587,1897,1980,2335,2811,2619,2329,2352,1998,2394,2903,2518,1883,1533,1577,1641,1703,1617,1754,1830,2108,2654,2556,1946,1732,2315,2173,1987,1828,1964,2303,2286,1938,1668,1770,1670,1509,1770,2210,2057,1696,1393,1393,1598,1812,1754,1824,1638,1418,1642,1954,2163,2222,2331,2143,2265,1892,1724,1815,2059,2238,2042,2023,2220,2277,2260,2034,2023,1641,2910,3930,4140,3753,3299,2920,2961,3718,3584,3033,3204,3640,3583,3528,3926,3939,3452,2529,1966,1619,1514,1949,1987,1849,2147,1771,1556,1700,1679,1446,1583,1663,1670,1572,1613,1650,1450,1522,1695,1868,1793,1954,2027,2210,2905,2260,1892,2010,2228,2482,2777,3155,3063,2397,2227,2120,2026,1947,2092,1806,1675,2208,2336,2197,2844,3748,3748,3548,2523,2488,2287,2501,2534,2301,1686,1473,1549,1716,1899,1692,1677,1675,1787,2386,3135,3574,3330,2984,2338,2138,2194,2274,2119,2057,2841,2608,1711,1842,1926,1572,1489,1476,1506,1564,1570,1837,1952,1842,2032,1928,1880,1898,1700,2107,2549,2226,2016,1663,1998,2254,1665,1568,1897,2175,2812,3386,3422,2604,2598,2676,2846,2263,1749,1779,1686,1996,3517,4336,3771,3288,2698,1647,1305,1841,2241,2377,2552,2570,2592,2678,3168,3299,3420,3488,3157,2494,2281,2942,2959,2756,2257,2778,3208,1997,1114,1098,994,991,1011,987,972,981,971,953,949,963,933,945,940,948,928,1002,998,929,990,1003,953,951,957,942,951,946,937,930,1049,1410,1578,1160,950,902,842,833,1032,1263,1380,1467,1467,1343,1263,1288,1240,1273,1309,1332,1173,1183,1198,1277,1303,1459,1453,1174,1134,958,1077,1310,1444,1631,1535,1188,1076,1342,1438,1510,1780,1696,1456,1689,1681,1704,1292,1071,1142,1022,833,998,1443,1486,1392,1401,1470,1441,1379,1422,1474,1448,1572,1745,1616,1448,1439,1345,1422,1494,1472,1442,1498,1603,1464,1471,1377,1318,1368,1483,1721,1764,1622,1750,1790,1898,2720,3082,2762,1815,1421,1429,1716,1971,1958,2070,2419,2922,2862,2280,2175,2185,2354,2317,1830,1980,1924,1675,2118,2095,1950,1835,1687,1802,1804,1745,1743,1797,1916,1847,1725,1939,2122,2488,2574,2052,1768,1885,1841,2038,2187,1984,2159,1972,1675,1896,2111,1938,1711,1667,1472,1501,1652,1637,1578,1923,2210,2268,2131,1796,1846,1810,2099,2489,3041,2973,2452,2137,1837,2056,2073,1971,2104,1866,1470,1587,1732,1955,1985,1810,1956,2093,2521,2512,2004,1860,1955,1877,1648,1483,1814,1798,2186,2791,3013,2858,2733,2683,2511,2336,2155,1819,1980,2144,1676,2133,2657,2359,2028,1971,1798,1756,2056,2460,2272,2126,2597,2482,2372,1950,2289,2448,1850,1918,2220,2014,1762,1989,1843,1508,1775,1548,1404,1707,1715,1825,1854,1959,1986,2110,2426,2494,2250,2142,1926,1703,1829,1999,2058,2118,2138,1820,1863,1953,1923,2542,2591,2103,1713,1756,2087,2047,1685,1568,1694,2092,1895,1594,1639,1832,1674,1481,1537,1640,2032,2095,2105,2144,2525,2535,2254,1733,1763,2048,2004,1844,2178,1902,1793,1833,2112,2170,2203,2245,1846,1832,2375,2195,1613,1680,1538,1318,1301,1331,1817,2165,2348,2315,2320,2366,2510,3076,3728,3619,3381,2834,2012,1815,2288,2177,2135,2103,2387,2861,2719,2710,2878,2908,2667,2459,2278,2664,2664,3018,2938,2279,1957,2252,2035,2170,2977,3253,3217,3320,3500,2901,2771,2627,2536,2406,2642,3111,3088,2675,2342,1947,1702,1844,1973,2354,2966,2856,2445,2328,2312,2396,2278,2260,2360,2259,2344,2106,2277,1895,1584,2032,2231,2030,2232,2282,2544,2438,2250,2198,1689,1582,1786,1886,2376,2192,2190,2082,1652,1613,1553,1634,1854,1680,1704,1852,1734,1648,1659,1706,2024,1954,2462,2568,2552,2619,1909,1512,2023,2291,2502,2599,2286,2194,2012,1610,1571,1780,1787,1750,1700,1831,2311,2105,1851,1789,1812,1785,1625,1408,1633,1873,1763,1710,1766,1959,2289,2556,1962,1951,1728,1894,1817,1877,2068,2530,3339,3632,2996,2555,2011,2246,2766,2492,2307,1963,1980,1802,1594,1563,1467,1738,2209,2579,2949,2635,2345,2167,1728,1594,1508,1596,1585,2246,2210,1714,1840,1803,1987,1986,1832,1715,1732,1804,1649,1576,1628,1667,1994,2282,2120,1961,1770,2086,1927,1994],[2384,2079,1997,2315,2293,2501,2181,2102,2714,3016,2883,3332,3813,3813,3382,2906,2531,2259,2579,3448,3884,4091,4196,4096,3482,2893,2799,2837,2855,3130,3519,3360,3261,2968,2877,2874,2799,2911,3183,3196,2780,2710,3117,3084,2966,3298,3622,3400,3177,3153,3221,3505,3825,4132,3729,3517,3441,2521,2555,2920,2692,2587,2376,2336,2719,2587,2261,2672,2627,2424,2750,2656,2133,2729,2622,2838,3021,2938,2479,2611,2101,1876,1799,1827,2213,2344,2522,2282,2668,3057,3157,2711,2691,3272,2677,2038,1861,1891,1761,1826,2241,2012,1620,1454,1734,2020,2358,2336,1959,2084,2280,1922,1785,2062,2382,2771,2918,2729,2686,2633,2608,2369,2707,2497,2429,2907,2781,2252,2076,1912,2406,2204,1792,2318,2662,2864,2670,1997,1747,1975,2000,1793,1589,1562,1945,2318,2316,2122,2890,2821,2646,2496,2897,2801,2521,2360,1920,2065,2534,2663,2740,2657,2133,2136,2773,2850,2264,1642,1759,1756,1860,2545,2598,2525,2498,2370,2193,2098,2517,2801,2813,2997,2458,1995,2068,2140,2396,2755,2496,2523,2249,1901,2259,2247,2752,3462,2900,2610,2802,2762,2204,1967,1746,1517,1854,1981,1731,1646,1459,1399,1659,1984,1986,2686,3344,3277,3164,3125,3074,2572,1851,2006,2021,1928,1749,1804,1964,1936,1655,1832,2158,2045,1880,2540,2732,2534,2706,2498,2104,2024,1938,1566,1810,2319,2558,2267,2260,2540,1847,1261,2061,2460,2313,2164,1735,1508,1434,1445,1926,2165,1954,2006,2637,3123,2458,2228,2169,1844,1754,1600,1525,1757,2261,2089,2099,2061,1691,1705,1738,1576,1708,1790,1870,2099,2173,1937,1787,1800,1876,1932,2126,2386,2082,2579,3115,3176,3010,2516,2813,3287,2985,3181,3417,3146,2850,2497,2241,2303,2166,2098,1853,1869,2718,3365,2543,1693,1941,1825,1598,1457,1444,1399,1296,1384,1418,1462,1598,1554,1655,2010,1740,1374,1387,1589,1678,1604,1383,1436,1560,1489,1466,1530,1663,1635,1768,2150,1757,1514,1315,1751,1927,1946,1866,2048,2149,1892,1674,1625,1544,1758,1821,1740,1800,1607,1667,1924,1628,1652,1850,1721,1906,2635,2779,2343,2026,1913,1562,1482,2061,2866,3500,3184,3481,4265,4156,3539,3185,3873,3957,3883,3705,3565,3583,3649,3472,3075,2976,2940,2410,2468,3163,2850,2914,3284,3099,2871,3052,2624,1807,1909,2199,1892,1692,1918,2447,2540,2294,2931,3266,3890,4168,4439,3919,2854,2054,1753,1897,1785,1693,1574,1851,2011,1708,1754,1748,1694,2042,2420,2299,1734,1699,2112,1566,1748,1704,1840,1842,2263,2441,2162,1753,2013,2173,1849,1582,1598,1577,1659,2155,2145,2553,2910,2998,2801,2493,1832,1539,1440,1418,1656,2036,3084,3582,3604,2912,2175,1940,2408,2645,2789,3298,2877,2186,1942,1990,2138,2427,2247,2425,2016,1700,1665,1852,1621,1547,1828,1801,2765,3187,2655,2172,2121,1854,1714,1588,1676,1608,1373,1581,1684,1677,2038,1449,1706,2030,1882,1748,1659,1635,1742,1710,1729,1915,1986,1974,1981,1988,1897,1684,1618,1471,1788,1724,2321,2333,2018,1823,1501,1437,1567,1851,1673,1659,1605,1293,1654,2021,2387,2319,2741,3177,2989,3019,2392,2184,2219,2619,2817,2025,1768,1719,1872,2006,2118,2071,1953,1865,1826,1838,1662,1583,1901,1654,1512,1625,1750,1842,1833,1901,1926,1785,1594,1353,1344,1329,1600,1614,1478,1395,1352,1370,1196,1073,1659,1995,1223,1285,1323,1292,1344,1641,1588,1188,1083,1097,1199,1273,1397,1494,1368,1395,1621,1478,1521,1614,1424,1411,1365,1414,1723,1757,1599,1597,1678,1749,1658,1672,1874,1721,1766,1173,667,681,1035,1459,1929,2092,1834,2046,2781,2686,2471,1890,1695,1700,1584,1541,1566,1461,1631,2323,2663,2306,2023,1783,1955,2371,3086,3199,2559,1815,1783,2014,2496,2668,2015,1311,1866,1553,1507,1621,1820,2095,1762,1619,1715,1526,1576,2418,2865,2043,2153,2644,2431,2398,1864,1510,2276,1909,1498,1682,1634,1456,1550,1649,1532,1455,1703,1842,1750,1794,1896,1760,2053,2040,1793,1695,1775,1897,2404,3265,3332,3176,3375,3500,3233,2678,2296,2439,2819,3099,2364,1603,1971,1992,2063,1866,2014,1873,1764,1799,1881,2491,2874,2583,2394,2642,2441,2041,2137,2085,2376,2593,2815,2798,2294,2292,2658,2344,2078,1992,2363,2657,2731,2806,2138,1825,2143,2412,2707,2411,1815,2519,3776,3930,2948,1862,2422,2799,2477,2003,1939,2431,2357,1837,1623,1873,2324,2624,2240,1430,1507,1482,1421,1392,1432,1462,1605,1736,1583,1475,1550,1712,1836,2105,1981,1463,1493,1577,1797,1392,1287,1436,1559,1647,1540,2010,2027,1313,1653,1730,1877,1692,1854,1774,1655,1635,2257,2358,1665,1515,1462,1732,2112,2022,2809,2292,1727,1694,2238,3211,3212,2456,2158,2196,1831,1022,1571,2258,2402,1765,1907,2049,2054,1895,1770,2155,2879,3129,2643,2546,2579,2771,2076,1622,1643,1874,1945,2054,2242,2208,2004,1809,1678,1496,1533,1536,1618,1413,1331,1305,1388,1632,2029,2057,2115,2191,2229,2721,2759,2147,1701,1830,1881,1478,1460,1525,1301,1209,1124,1212,1304,1383,1306,1234,1325,1564,1886,1941,1822,1584,1549,1829,1961,1866,2171,2154,1597,1444,1539,1406,1467,1715,1509,1467,1315,1432,1561,1314,1404,1390,1427,1554,1816,1483,1556,1576,1409,1302,1643,1875,1569,1468,1762,1890,1913,1943,2034,2775,3482,2964,3022,3352,3683,3823,3860,3918,3980,3982,3890,3659,3494,3196,2818,1937,2236,2230,1973,1858,2388,2656,2141,2721,2366,2502,3313,3012,2806,3468,2867,2303,1885,1500,1675,1976,1582,1433,1649,2026,2281,2131,1813,2191,2337,2167,2370,2437,2143,1874,1643,1337,1431,1878,1677,1594,1709,1983,1947,1844,1539,1600,1856,1985,2263,2448,1990,1582,1687,1887,2066,2171,2386,2113,1862,1624,1561,1779,2010,1987,1694,1718,1958,2007,2100,2148,1841,2088,3383,4241,3963,3321,3083,3096,3598,3860,3830,3536,3396,3566,3605,3726,3892,3602,2866,2045,1698,1809,1757,1700,1658,1728,2119,1736,1542,1549,1461,1439,1360,1561,1997,2033,1768,1446,1570,1610,1824,1758,2003,2065,1980,2171,2491,2097,1950,1992,2301,2376,2664,3085,3252,2540,2030,2014,2092,1895,1694,1642,1688,1849,2501,3000,3016,3186,3514,3667,2614,2441,1982,1922,2461,2410,1692,1332,1323,1439,1737,1789,1738,1910,2608,3395,3646,3509,3565,3112,2215,1968,1946,2225,2159,2065,2437,2221,1766,1787,1828,1843,1730,1702,1711,1656,2291,2946,2180,1871,1881,1781,1874,1798,1902,2051,1920,2151,1936,1502,2051,2216,1601,2051,2437,2389,2978,3146,2985,2298,2225,2201,1865,1940,2224,2218,1970,1764,3233,4157,3204,3033,2707,1907,1691,2244,3056,3160,2279,2028,2365,2895,3387,3470,3528,3230,3059,3076,2735,3001,3133,2548,1734,2387,3636,2654,1297,1085,1044,983,997,983,986,994,969,941,955,968,965,950,943,957,935,964,969,981,996,999,970,965,951,965,950,944,944,929,1392,2238,2245,1387,948,880,838,861,1002,1231,1335,1527,1740,1408,1260,1334,1332,1228,1278,1323,1291,1257,1471,1444,1378,1606,1264,1085,1082,1037,1233,1363,1458,1638,1683,1290,1100,1289,1233,1652,2105,2013,1374,1171,1418,1579,1305,1230,1322,1220,1182,1420,1993,1809,1383,1335,1381,1375,1211,1237,1433,1631,1568,1405,1360,1368,1370,1363,1442,1671,1749,1589,1786,1781,1499,1476,1523,1378,1425,1543,1626,1655,1439,1329,1330,1615,2554,3327,2631,1523,1363,1501,1897,1869,1615,1447,1819,2173,1886,1728,2062,2415,2731,2463,1560,1617,1713,1603,1648,1824,1958,1875,1973,1926,1607,1415,1596,2023,2299,2077,1846,1788,2300,2577,2610,2285,2444,2239,1922,2076,2460,2551,2254,1757,1788,2017,1968,1878,1685,1961,1884,1672,1682,1705,1787,2208,2770,2954,2480,2221,2182,1990,2192,2642,3316,2457,2230,2610,2233,2061,2109,2101,1813,1959,1847,2219,1819,1621,1686,1809,1786,2230,2680,2359,2080,1984,1972,1831,1715,1847,2237,1800,2252,2547,2452,2696,2741,2836,2503,1967,2514,2501,2265,2596,1934,2367,2563,1966,1683,1935,2071,2062,2456,2081,1808,1859,2120,2481,2248,1718,2018,1991,1748,2292,2472,2150,1517,1534,1492,1251,1482,1635,1302,1130,1867,2182,2406,2151,1664,1839,1953,2055,2236,3162,2047,1371,1540,1466,1546,2145,2515,2192,2113,2115,2183,2182,1971,1907,1475,1408,2161,2231,1791,1756,1807,1722,1648,1614,2021,2244,1930,1783,1572,1606,1440,1232,1538,2035,2342,2257,1849,1819,2094,2201,2027,1844,1949,1902,1981,1938,2214,1935,1866,1928,1793,1837,2116,1942,1601,1478,1459,1457,1330,1469,2019,2582,2603,2408,2271,2280,2655,3378,3994,3759,3737,3019,2547,2466,3023,2448,1740,1775,2490,3032,2918,2932,2775,2663,2502,2544,2381,2978,3252,3275,3110,2722,2899,2966,2250,2839,3588,3705,3674,3782,3398,2752,2789,2873,2747,2591,2577,2453,2428,2555,2429,2447,2186,1826,1950,2503,3239,2916,2515,2182,1966,2216,2295,2062,2265,2389,2184,2316,2359,1985,1519,1549,1680,1664,1908,2264,2525,2640,2689,2646,1884,2024,2189,1722,1471,1742,2148,2249,2190,1904,1990,2612,3010,2476,2057,1800,1485,1520,1864,2425,2386,1770,1958,2083,2102,2342,1994,1687,2130,2555,2533,2522,2512,2276,1773,1507,1552,1718,1871,1675,1761,1965,2116,1604,1519,1484,1630,1672,1665,1520,1661,1699,1441,1389,1549,1915,2071,2191,1699,1551,1556,1516,1565,1646,1784,2109,2989,3166,2277,1852,1490,1961,2264,2082,2019,2070,2328,2383,2222,1946,1990,1735,1830,2336,2998,2994,2598,2433,2105,1782,1570,1549,1619,1691,1536,1701,1638,1536,1670,1910,1889,1891,1887,1804,1671,1755,1816,1870,2140,2343,2079,2025,2184,2164,2096,2121],[1748,2041,2395,2383,2469,3199,3156,2927,2916,2709,2840,3384,3602,3551,2932,2874,2766,2666,2944,3518,3908,4017,3933,3508,2696,2345,2661,2785,2872,3283,3408,3189,3195,3107,2996,2878,2874,2963,3106,3186,3053,2828,2997,3349,3369,3549,3572,3216,3047,3156,3333,3481,3663,3795,3626,3630,3632,3065,3003,2700,2212,2264,2182,2000,2019,1550,1944,2718,2754,2387,2498,2467,2209,2533,2484,2721,2467,2120,2764,3186,2636,2159,1648,2111,2216,2017,2227,2140,2522,2790,2408,1928,2429,2954,3073,2953,2212,1915,1513,1816,2258,2084,1688,1559,2278,3335,3146,2877,2874,2490,2072,2114,1780,1716,1980,2512,2792,2203,1798,2046,2427,2552,2520,2420,2401,2407,2438,2249,2384,2342,2896,2084,1664,2386,2996,2702,2395,2182,1870,1968,2023,1731,1999,2164,1968,2126,2647,2949,3322,3673,3610,2929,2713,2644,2142,2437,2913,3067,3328,2945,2468,2189,1274,2245,2796,2869,2698,1831,2018,2021,1565,2092,2380,2032,1842,2259,2350,2184,2470,2802,2797,2713,2613,2517,2310,2156,2404,2564,2576,2977,2480,1946,2222,2159,2785,3190,2865,2790,2477,2577,2062,1998,1937,1807,2152,1901,2159,2192,1749,1775,1978,1891,2236,3008,3140,3115,3194,3125,2780,2346,1925,1581,1523,1935,2153,1675,1472,1380,1562,2006,1968,1763,1869,2316,2034,1813,2288,2601,2392,2610,2565,1748,1826,1671,1787,1597,2074,2358,1592,1927,2828,2918,2756,2169,1650,1503,1717,1751,2016,2068,1767,1897,2204,2024,2153,2818,2296,1926,1792,1456,1310,1693,2410,2209,1704,1466,1637,1780,1416,1481,1791,1758,1813,2160,2293,2032,1943,1871,1858,1796,1940,2345,1977,2326,3140,3061,2779,2530,3005,3216,3364,4040,4071,3291,2940,2722,2336,2464,2113,1537,1670,2226,2312,2100,1810,2195,2080,1714,1426,1567,1740,1578,1296,1569,1601,1428,1991,2198,2296,2575,2221,1610,1445,1683,1643,1491,1360,1489,1564,1448,1488,1626,1598,1502,1838,2106,2116,1509,1339,1751,1870,1659,1569,1682,1681,1687,1569,1938,1578,1800,2276,1829,1572,1525,1427,1294,1324,1537,1661,1609,1858,2600,2613,2390,1989,1963,1677,1590,2087,2765,2784,2279,2380,2850,3221,3146,3029,3493,3899,3904,3660,3308,3134,2995,2886,2802,2143,2284,2609,3074,3116,2943,3854,4197,3580,3177,3521,2810,1629,1673,1856,2167,2406,1835,1699,2190,2800,3265,3129,3736,4463,4295,3128,2209,2126,2243,2010,1650,1813,1752,2028,1854,1449,1268,1362,2102,2975,2940,2030,1614,2104,1977,1704,1866,1574,1643,1696,1736,2132,2540,2208,1828,1640,1566,1430,1359,1475,1801,2750,2620,3111,3370,2862,2785,2691,2400,2121,1626,1509,1680,2351,3119,3416,3811,3250,2708,2665,2832,3020,2780,3078,2800,1905,2014,2299,2678,2368,2263,2498,2422,1910,1915,2210,1829,1793,2074,2139,3266,3906,3538,2749,2442,2322,2085,1578,1376,1360,1320,1348,1413,1450,1760,1506,1703,1904,2009,1692,1296,1427,1680,1620,1681,1975,1865,2069,2088,2071,1926,1784,1781,1868,1942,1895,2098,2066,2002,1910,2088,2313,2299,1886,1625,1731,1465,1551,1924,1999,2163,2171,2475,3040,2918,3089,2311,2165,2143,2784,3028,2289,1982,1793,1718,1954,2177,2070,1885,1756,1532,1545,1663,1806,2061,1582,1402,1588,1654,1629,1636,1825,1852,1768,1781,1522,1305,1281,1510,1696,1468,1430,2144,2249,1205,1176,1267,1290,1148,1194,1334,1338,1422,1680,1432,1209,1346,1230,1251,1317,1512,1621,1369,1316,1811,1754,1707,1682,1402,1256,1287,1484,1788,1720,1891,1855,1878,2150,2437,2192,1871,1657,1618,1022,643,710,1073,1528,2024,2038,1928,1909,2932,2555,2485,1918,1627,1559,1482,1672,1509,1188,1238,1725,2532,2468,1763,1501,1742,1828,2025,2508,2173,1526,1654,1727,1671,1718,1332,1659,2095,1325,1697,1722,1819,1828,1597,1542,1615,1642,1823,2288,2286,1968,2460,3088,2221,1774,1624,1520,1438,1394,1568,1528,1412,1489,1715,1649,1560,1599,1583,1625,1568,2150,2395,1903,1796,1869,1543,1615,2046,2221,2857,3589,3659,3799,3471,2991,3003,2881,2656,2467,2588,3218,2910,1776,2053,1814,1621,1790,1944,1700,1554,1521,1439,1828,2525,2972,2660,2215,2511,2248,2524,2384,2385,2565,3062,3050,2127,2476,3484,3296,2403,2230,2897,3142,3108,3015,1968,1824,2192,2611,2675,2158,1755,2781,3598,3761,3657,2472,2091,2345,2038,1744,1973,2437,2172,1679,1491,1656,1816,2064,1661,1493,1564,1374,1383,1406,1398,1434,1732,1937,1562,1440,1489,1429,1519,1832,2045,1826,1860,2017,1854,1518,1467,1590,2092,2084,1816,1908,1748,1405,1595,1640,1967,2281,1914,1539,1542,1584,1715,1263,1212,1252,994,1472,1693,1773,2017,1984,2191,2071,2405,3372,3445,3118,2897,2228,1648,1550,1637,1556,1302,1448,1443,1150,1522,1844,2157,2464,2365,2374,2378,2688,2729,2661,2426,2122,2215,2336,2215,2089,1968,2372,2563,2251,2220,1715,1552,1604,1578,1479,1426,1404,1591,1866,2112,2442,2737,2070,2292,2394,2199,2030,2251,2166,1672,1685,1890,1776,1765,1338,1215,1327,1325,1433,1387,1296,1388,1786,1947,1826,1667,1510,1479,1577,1734,1618,1708,1682,1345,1348,1556,1524,1984,1992,1253,1406,1802,1790,1594,1333,1316,1318,1405,1621,1649,1471,1610,1522,1214,1400,1771,1816,1535,1475,1421,1926,1958,1851,1858,2322,3083,3070,2732,3107,3618,3730,3801,3927,4028,4140,3935,3801,3702,3504,2657,2037,2303,2165,2143,2420,2881,2808,1906,1818,1830,2325,3577,3345,3050,3016,2564,2140,1870,1826,2025,2187,1636,1443,1612,1583,1570,1769,2004,2023,2082,2016,1971,1944,1844,1882,1576,1518,1520,1736,1644,1655,1694,1872,1847,1802,1618,1851,2457,2313,2378,2556,2138,1914,1772,1844,2200,2707,2871,2215,1685,1598,1434,1448,1648,1800,2167,2288,1857,1626,1631,1719,1700,2356,3501,4046,3441,3356,3532,3754,3921,3942,4011,3868,3309,3365,3586,3485,2978,2283,2041,1906,1913,1838,1684,1639,1648,1605,1742,1602,1427,1394,1418,1444,1400,1466,1648,1786,1958,1583,1416,1300,1676,1982,1993,2258,2259,2131,2151,2142,2099,1615,1770,1928,2203,2881,3069,2353,1833,2028,2055,1711,1461,1472,1582,1445,1954,2732,2712,2458,2604,2596,2621,2490,1884,1871,2112,2210,1813,1471,1548,1706,1754,1640,1760,2276,3263,3608,3222,2964,2916,1763,1414,1918,1946,1962,2043,1805,1992,2048,1972,2241,2127,1956,1911,1832,1613,1760,2779,2446,1841,1688,1594,1600,1919,2293,2155,1673,1807,2164,1940,1817,2078,1958,1935,2590,2451,1956,1953,1863,1724,1992,2680,2201,1380,1615,2148,2319,2069,1863,3096,3581,2664,2601,2483,2123,2446,2942,3549,3511,2233,1880,2177,2718,3282,3854,3934,3296,2982,2907,2687,2871,3046,2520,1863,2154,3009,3182,2155,1691,1302,1047,1031,1003,978,979,976,973,967,949,970,953,958,940,932,950,945,926,993,993,1005,995,956,968,956,954,979,950,1645,2307,2263,1829,1116,903,837,892,1084,1262,1278,1500,1662,1394,1300,1310,1145,1148,1374,1454,1479,1374,1616,1258,1455,1648,1401,1421,1333,1076,950,1199,1544,1794,1673,1197,1255,1464,1202,1482,1579,1246,1019,1219,1561,1650,1536,1471,1467,1502,1497,1503,1992,1963,1636,1400,1409,1376,1213,1264,1454,1587,1436,1433,1423,1392,1288,1270,1295,1503,1592,1626,1561,1367,1431,1534,1569,1444,1847,1594,1379,1358,1245,1271,1418,1694,1987,2490,2431,1452,1290,1405,1579,1670,1740,1621,2568,2608,1700,1500,1886,2398,2551,2394,1591,1498,1735,1732,1789,1880,1709,1588,1627,1738,1853,1917,1936,1994,2285,2213,2075,2044,2641,2714,2512,2500,2718,2602,2365,2441,2307,2526,2771,2108,1676,1894,2000,1735,1534,2530,2620,1889,2010,2070,2153,2374,3007,3036,2983,3038,2520,2182,1968,2185,2664,2604,2767,2898,2381,2285,1885,1666,1642,1959,1863,2170,2032,1775,1788,1767,1866,2518,2450,2065,1973,1892,1838,1698,1575,1847,2097,1764,2236,2421,2149,2165,2608,2810,1907,1538,2098,2518,2548,2450,1808,1847,1681,1510,1904,2474,2368,2040,1981,2062,1918,1667,1561,1642,1657,1666,1814,1812,1951,2220,1901,1911,1620,1855,2024,1560,1852,1784,1428,1482,1820,2354,2598,1588,1388,1702,1689,1714,1820,2454,1705,1526,1589,1529,1528,1820,2049,2018,1997,1968,1908,1754,1958,2135,1539,1472,2108,2108,1697,1793,2081,1835,1873,1800,2270,2808,2059,1654,1476,1752,1592,1271,1426,1603,2002,2219,1731,2054,2310,2272,2358,2115,1901,2367,2297,1875,1717,1718,1829,1816,1748,1852,1627,1592,1586,1406,1526,1524,1401,1596,2382,2987,2840,2533,2370,2514,2753,3225,3441,3812,3759,2824,2625,3007,3010,2222,1681,1500,2227,3206,3415,3340,3103,2923,2775,2999,3087,3256,3388,3183,2845,2625,2586,2214,2502,3550,3602,3650,3670,3467,3154,2496,2523,3080,2887,2523,2435,2304,2287,2668,2678,2756,2557,1782,1633,1871,2565,2891,2541,2359,2591,2255,1942,1858,2287,2286,2518,3131,2928,2164,1762,1874,1758,1627,1903,2081,2602,2344,2098,2162,2511,2975,2317,1563,1713,2115,2193,2636,2921,2529,2480,3001,3426,2966,2183,1784,1751,2386,3044,3435,2912,1820,1539,1683,2106,2432,2025,2032,2300,2430,2243,2325,2382,2125,1767,1710,1919,2223,1964,1778,1690,1795,2250,1720,1541,1630,1781,2084,2161,1900,1771,1682,1746,1708,1537,1504,1771,1895,1532,1426,1548,1710,1742,1902,2019,2198,3132,3342,3125,2674,1683,1942,2382,2414,2066,1869,2160,2237,2269,2336,3088,3078,2715,2788,2913,2688,2336,2425,2349,1844,1537,1760,2186,2252,2301,1805,1548,1571,2026,2075,1747,1558,1493,1419,1597,1960,1917,2003,2014,1859,1982,1966,1981,2077,2077,2024],[1797,2261,3029,3173,3125,3742,3824,3531,3362,3067,3008,3329,3500,3299,2842,2752,2863,2907,2952,3291,3846,3814,3414,2955,2453,2136,2641,2842,2695,2952,3134,3169,3121,3017,2996,3051,2970,2897,2990,3034,3152,2562,2584,3208,3399,3528,3487,3217,3187,3297,3317,3536,3507,3536,3500,3063,2930,3268,2830,2491,1809,1949,1760,1507,1520,1508,2217,2613,3028,2685,2695,2507,2298,2634,2647,2548,2333,2250,2913,3201,3018,2865,2443,2548,2243,1926,1977,1814,1986,2595,2571,2288,2918,3117,3234,2986,2382,1754,1416,1441,2028,1915,1570,1593,2665,3579,3148,2934,2828,2529,2055,2601,2111,1700,1525,2251,2553,2032,1905,1911,2126,2721,2568,2093,2083,1791,2185,2003,2145,2298,2479,1787,1143,1437,1941,2022,1846,1511,1678,1901,1727,1931,2462,2470,2055,2239,2387,2662,3042,3058,3064,3272,2939,2569,2375,3140,3659,4028,3960,2852,2409,2127,1653,2565,3155,3408,3450,2964,3104,2624,1681,1651,2103,1842,1646,2265,2176,1839,2581,3231,2956,2819,2809,2730,2388,2318,2479,2503,2571,2856,2697,2611,2888,2998,3172,3184,3272,2975,2061,1798,1628,2003,2328,2374,2305,1777,1825,1790,1627,2301,2610,2790,2973,3147,3131,3051,3064,2973,2157,2037,2505,2084,1676,2241,3040,3083,1782,1381,2227,2525,2296,2061,2165,2226,2004,1952,1968,2269,2123,2243,2613,1990,1947,1761,1538,1444,1775,2057,2000,2457,3179,3616,3201,2258,1750,1277,1569,1835,1631,1827,1748,1635,1797,1765,2216,2554,1790,1641,1620,1478,1338,1658,2372,2405,1733,1331,1306,1354,1407,1705,1676,1529,1750,1903,2231,2249,2042,1913,1874,1885,2005,2391,2121,2057,2906,3295,2975,2775,3241,3398,3384,3783,3783,2821,2234,2183,2071,2337,2023,1576,2266,2847,1906,1489,1775,2354,2150,1624,1617,1941,1932,1657,1608,2187,1874,1505,1936,2162,1817,2136,2290,1719,1409,1432,1420,1558,1639,1669,1744,1801,1711,1795,1577,1671,1815,1762,1655,1444,1401,1572,1694,1622,1675,1579,1470,1703,1465,1398,1296,1834,2587,2259,1496,1478,1532,1503,1357,1562,1761,1620,1697,2216,2337,2413,2620,2836,2471,2091,2376,2755,2109,2255,2357,2378,2997,3140,3023,3239,3569,3772,3295,2730,2719,2563,2721,3139,2168,2823,2409,2175,2491,3233,3577,3188,3062,3396,3530,2620,1997,1924,1759,1848,2072,1437,1444,2079,3278,3924,3369,3347,4316,3560,2031,2381,2510,2119,1786,1694,2062,2492,2314,1687,1410,1674,2358,2795,2701,2199,1638,1324,1505,1527,1567,1659,1590,1588,1635,1557,2476,3703,2486,1843,1725,1720,1595,1853,2624,2979,2847,2698,2947,2612,2449,2521,2299,2487,2172,1625,1527,1577,2412,3293,3654,3711,3216,3228,2954,2003,2434,3312,3549,2785,1912,1927,1782,2257,2171,1814,2071,2386,2022,2478,2784,2832,2496,2186,2030,2215,2761,2611,2764,2425,1648,1791,1650,1921,1724,1612,1334,1300,1456,1681,1609,1963,2366,2223,1593,1397,1645,1594,1754,1729,1798,1755,2614,2918,2469,2061,1837,1907,1773,1722,1766,1738,1807,1749,1873,2138,2314,2309,1938,1691,1785,1619,1726,2073,2283,2589,2627,2586,3078,2690,2792,2425,2351,2333,2959,3147,2910,2896,2796,2822,2612,2160,2150,1911,1712,1328,1661,1817,1942,2055,1654,1547,1678,1532,1422,1650,2018,2061,1910,1949,1629,1338,1454,1793,1693,1470,1656,1770,2010,1342,1378,1350,1230,1212,1247,1346,1374,1516,1853,1633,1373,1473,1246,1259,1294,1520,1689,1389,1281,1758,1662,1446,1549,1450,1307,1257,1650,2647,2052,1937,1536,1854,2265,2743,2470,1739,1767,1523,791,656,784,1443,1742,2149,1949,2008,1966,2864,2517,2223,1905,1548,1682,1896,1917,1936,1504,1260,1210,1740,1902,1433,1493,1612,1745,2086,2017,1798,1912,2041,1718,1699,1589,1071,1906,1742,1539,2368,2553,2140,1791,1630,1602,1552,1461,1613,1728,1807,1895,2831,3179,2149,1553,1429,1391,1343,1578,1697,1532,1549,1596,1597,1468,1538,1674,1495,1540,1756,2204,2416,2275,2377,2186,1797,1902,2369,2577,2708,3254,3649,3611,2765,2091,2721,3288,2845,2563,2424,3156,3194,2135,1788,1688,1981,2194,1948,1549,1850,2009,1958,2245,2521,2558,1739,1891,2545,2216,2137,1834,1924,2377,2872,3090,2350,2115,2692,2590,2366,2349,3082,3386,3576,2932,1951,1953,2022,1892,2121,2491,1828,2729,3468,3430,3182,2217,2376,2468,2185,2230,1991,1628,1439,1510,1483,1632,1763,1754,1616,1461,1361,1321,1340,1302,1245,1381,1921,2674,2202,1614,1583,1640,1617,1685,1528,1593,1837,2121,2108,1943,1727,1733,2548,2517,2562,2282,1746,1641,1700,1992,2714,2545,1496,1290,1650,1658,1614,1295,1310,1092,1169,1598,1475,1605,2020,2141,2099,2046,2285,2712,3181,3493,3388,2358,1827,2250,2121,1706,1655,1876,1438,936,1372,1964,2277,2300,2204,2381,2862,3024,2818,2807,2729,2441,2700,2621,2061,2100,2031,2279,2577,2796,2636,2000,1730,1722,1616,1634,1684,1596,1846,2405,2925,3385,3564,2850,2609,2382,2085,1961,2410,2176,1621,1909,2112,2197,2116,1370,1509,1396,1272,1295,1323,1360,1778,2052,1789,1739,1680,1522,1474,1380,1586,1319,1359,1121,1185,1377,1359,1374,1658,1576,1532,1862,2121,1892,1748,1521,1402,1350,1409,1614,1592,1416,1686,1897,1526,1581,1731,1837,1937,1727,1508,1780,1860,1771,1834,1728,1953,2457,2997,3189,3286,3215,3469,3881,4025,4100,4026,3972,4015,3814,2814,2345,2402,2350,2382,2088,1755,1781,1842,1498,1427,1739,2447,2598,2547,2297,2203,1980,1691,2096,2320,2107,1842,1703,1850,2126,2216,2635,2754,2249,1820,1575,1574,1903,1847,2184,1964,1838,1659,1913,1798,1475,1488,1615,1555,1517,1447,1903,2481,2161,2240,2012,2056,1772,1945,2186,2467,3092,2703,1888,1435,1588,1618,1648,1664,2235,2390,2345,1731,1760,1769,2026,2054,2126,2544,3502,3485,3417,3495,3897,4060,4209,4180,3941,3355,2880,2756,2315,1905,1951,2131,1822,2013,2034,1914,1842,1483,1591,2046,1836,1443,1448,1500,1563,1454,1544,1498,1743,1957,1515,1096,1366,1650,1862,2170,2018,1864,1936,1863,2006,1630,1791,1706,1898,1933,1825,1984,2094,2048,2137,2183,2009,1953,1806,1528,1472,1759,2213,2331,2223,2142,1909,1955,1824,1848,1922,1908,1833,1569,1731,1849,1791,1671,1669,1744,2262,2698,2722,2632,2240,2214,1753,1741,2166,1961,1733,1803,1668,2030,2063,1996,2066,1987,2050,1711,1671,1490,1652,2109,2164,1907,1505,1574,1842,2205,2275,1993,1909,2234,1940,1769,2020,2159,2227,2366,2426,2399,2324,2024,1854,1777,1882,1787,1563,1463,1930,2185,2093,1864,1872,2507,2373,1969,2465,2582,2200,2591,3179,3494,3289,2267,2081,2226,2841,3218,3686,4105,3376,2663,2482,2238,2457,2725,2485,2135,2049,2364,2981,3249,2807,2005,1405,1138,1063,1026,1024,979,977,977,978,969,962,968,973,983,966,882,927,1075,977,990,1024,1042,998,977,967,1001,944,1632,2398,2591,2316,1171,904,830,941,1173,1338,1242,1291,1337,1370,1334,1153,1027,1175,1339,1374,1350,1261,1519,1737,1538,1341,1514,1662,1462,1025,930,1416,1700,1887,1711,1386,1602,1613,1251,1362,1419,1202,1362,1554,1570,1614,1714,1549,1503,1547,1542,1447,1803,1966,1672,1475,1633,1475,1290,1357,1346,1305,1263,1349,1487,1371,1287,1366,1387,1362,1350,1437,1582,1622,1449,1423,1482,1530,1725,1416,1322,1395,1404,1360,1462,1589,1469,1643,1890,1499,1437,1457,1609,1613,2003,1987,2416,2251,1667,1664,1732,2000,2112,2235,1941,1919,2028,1990,2073,2026,1758,1707,1631,1555,1802,2124,2071,2138,2421,2198,2068,2261,2370,2497,2520,2479,2712,2784,2463,2610,2701,2708,2829,2174,1706,1844,1979,1725,1492,2017,2334,2168,2236,2157,2192,2658,3218,3051,2820,3013,2810,2316,2052,1801,2072,2502,2670,2746,2713,2486,1960,1724,2152,2282,2157,2025,2072,2014,1688,1700,2409,3151,2265,1840,1848,1519,1597,1613,1685,2095,1835,1710,2214,2679,2888,1957,2466,2607,1879,1680,1929,2157,2200,1763,1641,1501,1469,1649,1838,1785,1878,1799,1454,1588,1811,1725,1493,1356,1695,1928,1754,1770,2431,2368,1664,1541,1574,1868,2078,1683,1788,1677,1537,2042,2283,2181,2179,1571,1452,1556,1765,1686,1753,1692,1654,1732,1587,1532,1541,1209,1381,1914,2029,1920,1998,2010,1859,1875,1540,1749,2161,1913,1836,1895,1968,1770,2031,2128,2182,2460,1928,1883,2167,2172,1924,1688,1745,1702,2135,2409,1804,2198,2037,2139,2451,2312,2147,2205,2010,1729,1689,1583,1743,1776,1533,1542,1612,1671,1503,1414,1418,1376,1475,1710,2214,3000,3104,2453,2051,2470,2220,2087,2286,2670,2518,2213,2253,2459,2400,1874,1552,1688,2587,3184,3438,3706,3620,2971,2921,3232,3323,3305,3109,2918,2776,2506,2524,2563,3020,3351,3439,3558,3095,2776,2817,2273,2244,2662,2508,2339,2518,2531,2486,2806,3164,2990,2315,1944,1767,1927,2666,2745,2412,2103,2629,2817,2121,2160,3031,3378,2983,2956,3061,2285,1626,1550,1523,1597,2009,1855,2405,2245,2066,2209,2764,2606,1858,1883,2294,2291,2120,2535,2923,2798,2004,2599,3305,3203,2767,2558,3023,3659,3616,3263,2630,1772,1630,1882,2499,2464,1939,1756,1923,2130,2444,2444,2181,1813,1651,1643,2094,2221,2110,2122,2181,2023,1734,1648,1826,1935,1842,1978,2504,2083,1729,1723,2144,1999,1508,1477,2107,2203,1714,1542,1693,2230,2172,2520,2171,1920,2542,2894,3312,2780,2014,2427,2896,2644,2122,2248,2288,2064,2115,2315,2976,3206,2631,2197,2159,2022,1813,1844,1788,1605,1488,1667,1841,2140,2261,1725,1411,1787,2083,1830,1541,1418,1685,1753,2025,2176,2177,2286,2155,1810,1963,2002,1990,1971,1835,1824],[2129,2540,3497,4051,3893,3673,3494,3392,3293,3105,3295,3537,3792,3233,2710,2547,2662,2868,2900,3318,3837,3432,2920,2698,2676,2398,2774,3054,2929,3110,3254,3116,3006,3015,3128,3262,2980,3127,3011,2795,2378,2359,2879,3038,3218,3416,3395,3321,3345,3373,3316,3482,3320,3310,3328,2877,2542,2894,2963,2743,2480,2236,1751,1543,1847,2696,3064,2727,2655,2785,2976,2963,2512,2113,1923,2457,3166,2903,2698,2922,3410,3348,2512,2708,2263,2031,2043,1840,1751,2303,2818,2901,2625,2723,2796,2553,2385,1831,1736,1714,2056,1811,1561,1688,2395,2890,2592,2641,2466,2106,2496,2748,2141,1779,1854,1931,2033,2012,1718,1436,1969,2752,2272,2030,1862,1846,2246,2048,2456,2767,2580,1778,1308,1800,2122,1907,1554,1436,1402,1331,1575,1844,2370,2310,2070,2149,2287,2640,3021,2906,2766,3247,2814,2670,2698,3210,3558,3650,3548,2800,2508,2264,2106,3122,3255,3189,3626,3643,3486,2682,2215,1952,2144,2039,1659,1860,2063,2035,2322,2856,3072,2938,2756,2734,2330,2186,2369,2222,2363,2554,2464,2957,3503,3136,2860,2769,2922,2354,1902,1944,1879,2341,2482,2525,2409,2003,2195,1746,1794,2581,2590,2767,2713,2913,3175,3073,3118,2603,1444,1605,2365,1989,1940,2322,2720,2800,1825,1980,2603,2610,2261,2546,3121,2831,2770,2581,1939,2406,2741,2692,2684,2170,1923,1806,1772,1526,1610,1907,2161,2483,2786,3406,3232,2485,1718,1592,1551,1349,1373,1531,1544,1440,1496,1497,1598,1961,2142,1696,2025,1829,1388,1549,1864,1697,1490,1548,1569,1635,1636,1676,1453,1568,1816,1835,1996,2058,1971,1972,1932,1965,2179,2391,1972,1691,2270,3301,3520,3265,3134,3205,3095,2973,2957,2494,2352,2364,1545,1863,1850,2321,2744,2438,1785,1714,1816,1873,1897,1566,1694,2236,2155,1743,1690,1741,1717,1664,2078,2416,2482,2768,2512,1949,1696,1825,1764,2365,2258,2215,2312,2451,2351,2090,1746,1995,1813,1487,1610,1558,1344,1511,1636,1527,1655,1411,1553,1668,1517,1369,1236,1667,2565,2280,1384,1620,1649,1584,1627,1742,1764,1561,1897,2477,2283,2356,2743,2724,3020,2728,2326,3093,2713,2752,2558,1967,2730,3155,3122,3449,3618,3559,3033,2834,2825,2409,2316,2552,2050,2243,2154,1975,2381,3287,3516,2879,2641,3020,3106,3105,3119,2872,2564,2035,1739,1589,1750,2197,3128,4175,3743,2945,4091,3011,1676,2523,2567,2397,1808,1495,1743,1912,1811,1508,1275,1759,2374,2800,2673,2486,1956,1493,1533,1914,2128,2129,1782,1515,1596,1599,2264,2881,1810,1624,1979,2379,2228,2313,2537,2845,2808,2503,2387,1916,2145,2064,1722,1959,1738,1533,1609,1835,2740,3465,3483,3146,2968,3411,2947,1998,2070,3002,3339,2735,2076,2150,2235,2070,1772,1480,1895,2620,2647,2431,2307,2426,2403,2327,2169,2104,2236,2183,2110,1584,1278,2080,2098,2355,2020,1645,1417,1391,1474,1398,1532,1765,1966,1888,1413,1502,1660,1654,1585,1541,1632,1727,2436,2319,2189,1952,1780,2250,1635,1402,1580,1565,1694,1624,1718,1708,1762,1763,1813,1924,1905,1860,1857,1865,2442,3025,3007,2910,3235,2736,2831,3094,3071,2857,2863,2841,2444,2676,2702,2493,2576,2223,2110,1931,1642,1302,1617,1794,1598,1609,1410,1437,1777,1679,1460,1439,1897,1976,2032,2257,1767,1496,1479,1401,1458,1533,1639,1474,1616,1558,1456,1290,1268,1317,1367,1484,1484,1564,1900,1713,1497,1301,1163,1228,1272,1659,1667,1323,1298,1485,1350,1228,1394,1396,1115,1000,1624,2444,2518,2316,1633,1625,1852,2185,2253,2186,2076,1416,885,693,887,1460,1898,2317,1990,1897,2097,2617,2447,1929,1557,1575,1788,1846,1821,1815,1522,1292,1256,1488,1482,1697,2136,1971,1848,2051,1438,1636,2183,2295,1756,1516,1600,1496,1626,1624,1776,2327,2519,1909,1615,1378,1584,1541,1576,1556,1515,1714,1808,2977,3197,1930,1435,1389,1505,1387,1606,1547,1569,1592,1648,1494,1550,1714,1614,1582,1655,1934,1987,2076,2431,2356,2085,2007,1953,2177,2587,2249,2182,2523,2570,1880,1874,2910,3829,4056,3052,2431,2758,3109,2606,2142,2298,2409,2592,2379,1788,2021,2070,2542,2630,2638,2355,1713,1804,2181,2153,1880,1562,1684,2002,2192,2442,2277,1813,2819,3234,3179,2956,2906,2990,3348,2750,1740,1820,1659,1692,1783,1877,1627,2385,2667,2131,1841,2015,2591,2759,2477,2090,1724,1685,1530,1537,1810,1948,1919,1913,1778,1540,1532,1432,1382,1403,1358,1388,2092,3194,2227,1662,1734,1765,1578,1260,1296,1590,1661,1921,1728,1733,1821,1882,2622,2525,2665,2503,2469,2320,1889,2460,2889,1893,1532,1863,1762,1438,1463,1400,1180,1019,1483,1916,1568,1553,1833,1972,2161,2100,2228,2154,2007,2174,2496,2127,1828,2081,2187,2088,2527,2446,1373,1059,1175,1259,1434,1809,2443,2896,2813,2670,2552,2460,2648,2110,2036,2002,1984,1942,1829,2088,2276,2351,2303,2154,1877,1519,1453,1720,1797,1591,2601,3506,3852,4019,3814,3160,2501,2540,2326,1783,1817,1852,1655,1891,1869,1970,1426,1095,1416,1423,1311,1211,1351,1689,1927,1755,1474,1441,1467,1351,1424,1665,1613,1514,1509,1493,1579,1401,1314,1406,1377,1551,1738,1463,1476,1582,1594,1491,1570,1614,1547,1671,1770,1601,1783,1572,1430,1625,1853,1970,2262,2148,1838,1731,1757,1793,1721,1568,1797,1806,2069,2624,3010,3143,3432,3635,3586,3679,3919,3918,4055,3894,3190,2434,1940,2499,2521,2396,2420,2234,1830,1714,1510,1513,1641,1813,2141,2060,1872,1855,1582,1810,2210,2096,2024,2075,2452,2728,2598,2325,1855,1540,1403,1405,1459,1742,1975,2104,2006,1698,1788,2253,2142,1605,1403,1423,1409,1384,1310,1860,2596,2602,2629,2115,1807,1739,2214,2272,2446,3034,2401,2205,1708,1993,2176,2241,2002,2531,2632,2190,2002,1918,2155,2610,2085,2568,3221,3591,3912,3828,4003,4168,3991,4120,4185,3798,2918,2048,2130,2383,2219,2374,2191,1806,1672,1739,1786,1712,1673,1839,1889,1687,1510,1397,1410,1621,1575,1674,1605,1906,1776,1612,1636,1629,1431,1522,1997,2030,2202,2590,2343,2338,1955,1969,1969,2020,1762,1512,2089,2266,1950,1815,1992,2426,2159,1858,1677,1782,2025,2134,2116,1931,1759,1823,1854,1361,1669,1889,1878,1642,1569,1722,1685,1501,1631,1892,2064,2545,2691,2507,2499,2177,2413,2422,1907,2166,2178,1924,1787,2025,2446,2360,2276,1972,2097,2135,1729,1630,1549,1996,1909,1781,1613,1650,2135,2647,2895,2327,1741,1738,1923,2065,2448,2843,2391,1958,1940,1966,2048,2002,1935,1795,1649,1776,1724,1824,1807,2164,2185,2059,1698,1826,2513,2460,2395,2201,1897,1839,2294,2510,3039,2944,2122,1970,1920,2330,2752,3206,3702,3287,2298,1921,1946,1918,2311,2258,2062,1971,2009,2144,2233,2438,2865,2646,1786,1726,1354,1075,1026,977,1000,1005,973,982,1001,979,925,801,841,1371,1511,1133,1054,1056,1059,1036,1001,997,997,943,1358,2160,2239,1646,1001,873,815,1032,1264,1338,1329,1309,1219,1246,1268,1171,1144,1380,1366,1504,1260,1418,1584,1634,1442,1404,1540,1434,1334,1300,1243,1633,1847,1861,1790,1490,1224,1134,1042,1365,1525,1284,1546,1898,1694,1565,1602,1424,1392,1451,1466,1438,1656,1886,1666,1408,1573,1408,1224,1331,1265,1266,1273,1415,1447,1310,1300,1282,1386,1530,1589,1569,1541,1588,1448,1829,1786,1667,1508,1362,1403,1530,1437,1415,1425,1390,1407,1391,1490,1588,1645,1608,1645,1458,1507,1552,1681,1783,1892,1831,1918,1844,1868,2008,1969,1951,1767,1716,2024,2050,1888,1870,2011,1946,1778,1809,1797,1925,2065,1986,1879,2041,2249,2413,2407,2352,2532,2781,2483,2595,3017,2218,1932,1783,1665,1874,1936,1672,1599,1664,2111,2192,2244,2216,2285,3166,3397,2474,1757,2216,2441,2402,1896,1805,2244,2533,2312,2127,2348,2557,2111,1870,1969,2078,2112,1612,1742,2104,1713,1836,2097,2169,1602,1742,1910,1605,1710,1742,1899,2044,2031,2576,2648,2562,2919,2374,2586,2115,1717,1629,1454,1816,1877,1736,2025,1814,1793,1634,2149,1869,1991,1888,1521,1546,1611,1635,1546,1484,1709,2184,2128,1731,1771,1810,1613,1566,1542,1584,1562,1547,1835,1834,1562,2110,2415,2021,2132,1828,1624,1743,1793,1797,1985,1812,1795,1785,1719,1628,1461,855,1171,2172,2332,1771,1619,1692,1439,1457,1576,1974,2390,1906,1709,1428,1544,1610,1703,2050,1985,1923,1805,2097,2280,1665,1594,1571,1731,1680,2258,2466,2023,1671,1650,1960,1936,2080,2248,2045,1823,1628,1487,1478,1745,1694,1508,1664,1836,1737,1673,1772,1460,1347,1410,1426,1754,2692,2668,2146,1935,2331,2371,1954,1835,1919,1776,1941,2177,2014,1896,2072,1815,1867,2832,3029,2995,3407,3212,2818,2946,3012,2933,3122,3174,2955,2743,2581,2452,2736,2894,3009,3294,3377,2863,2501,2104,1831,1888,2139,2156,2162,2522,2680,2738,2783,3110,2952,2478,2396,2278,2246,2493,2661,2266,1764,2348,2990,2457,2452,2844,3251,3270,2901,2623,2253,1873,1830,1639,1832,1958,1808,1982,2260,2555,2808,2752,2346,2046,2466,2378,2177,2272,2544,2260,2129,2294,2912,3045,2984,2952,3074,3636,3845,3907,3914,3364,2604,2117,1762,1940,2038,2044,1928,1791,2120,2709,2442,1958,1565,1523,1768,2358,2231,1941,1880,1709,1302,1305,1538,1607,1754,1767,1853,2570,1976,1533,1688,2216,1914,1700,1860,2094,2099,1901,1816,1821,2182,2123,2498,2024,2266,2409,2712,3045,2553,2409,2595,2896,2596,1799,2286,2163,1985,1868,2200,2752,2679,2514,2182,1720,1618,1655,1583,1527,1644,1704,1471,1416,1670,1698,1574,1344,1555,1693,1548,1377,1516,1991,1745,2135,2396,2502,2282,2062,1865,1890,2072,2083,1792,1682,1628],[2694,3507,3843,4090,3933,3620,3276,3280,3540,3689,3696,3683,3805,3240,2601,2404,2445,2674,2979,3499,3865,3065,2227,2315,2608,2532,2706,2953,2881,2857,2921,3018,3243,3259,3285,3127,2827,3249,3085,2880,2423,2722,3060,3106,3333,3394,3354,3311,3247,3160,3064,3176,3251,3237,3455,3197,2542,2669,3248,3440,3155,2980,2922,2843,3122,3226,3260,3090,2617,2933,3338,3040,2221,1344,1314,2419,3487,3560,3517,3022,3492,3772,3374,3410,2851,2163,1957,1763,1631,2051,2359,2442,1981,2355,1869,2019,2197,2056,1908,1748,1894,1937,1914,2455,3203,2993,2622,2520,2147,1946,2719,2688,1957,2062,2347,2121,2205,2246,1886,1835,2291,2270,1699,1671,1845,2260,2146,2302,3223,3432,2655,2093,2105,2475,2282,1886,1510,1485,1219,1767,2661,2696,2166,1880,2019,1976,2424,2868,3273,3069,2829,3528,3308,2984,3182,3270,3228,3085,2911,2994,2878,2430,2454,2863,2918,3023,3194,3298,3248,2734,2293,2160,2377,2604,2158,1795,1618,2077,2448,2584,2594,2819,2829,2658,2156,2106,2130,2314,2488,2459,1857,2017,2638,2842,2542,2200,2169,1753,1700,1827,2062,2563,2535,2677,1986,1939,1979,2025,2242,2648,2672,2857,2637,2833,3100,2905,2743,2101,1451,1605,2111,1734,1715,1935,2227,2379,1733,1598,2249,2480,2646,3272,3602,3429,3011,2405,2131,2394,2541,2452,2421,2344,1864,1942,1888,1527,1672,1494,1720,2287,1815,2540,2977,2661,2006,1760,1635,1635,1611,1531,1690,1510,1489,1483,1491,1782,2346,2575,2834,2071,1416,1357,1449,1492,1381,1471,1436,1571,1824,1683,1629,2343,2634,2174,1802,1735,1778,1848,1766,1864,2248,2581,2000,2043,2424,2643,3132,3366,3143,2587,2200,2373,2159,1834,1892,1722,1666,2166,2144,2277,2031,1917,1713,1604,1693,1815,1950,1766,1606,2250,2646,1878,1647,1541,1795,1769,2089,3044,3437,2374,1983,2082,1874,1942,1997,2745,2493,2180,2167,2303,2272,1886,1796,1899,1626,1434,1534,1435,1349,1571,1719,1582,1496,1527,1687,1760,1679,1531,1735,2276,2839,2525,1504,1490,1605,1589,1931,1898,2048,1888,1681,1806,1948,2367,2499,2724,3138,2561,2867,3227,3240,3248,2973,2242,2288,2308,2004,2016,2134,2932,3383,3310,2877,2719,2386,2570,2487,2199,2088,2070,2118,2589,2731,1849,1787,1965,2421,3282,3593,2807,2314,2235,1959,1933,2008,1984,2779,3942,3797,3032,3805,2599,1751,2686,2731,2343,1896,1402,1641,1874,1784,1550,1782,2239,2362,2786,3399,3306,2094,1392,1764,2199,1946,1882,1609,1548,1749,1773,2243,2178,1852,1713,2144,2347,2123,1899,1744,1772,1866,2025,1906,1996,2122,1901,1569,1718,1653,1582,1728,2183,2978,2670,2645,2955,3060,3125,2849,2548,2250,2456,3027,2499,1963,2306,2371,2615,2258,1712,2233,2221,2082,1784,1749,2115,2789,2774,2343,2495,2723,2505,1800,1252,1537,2355,2504,1775,1548,1378,1229,1360,1376,1296,1398,1629,1811,1658,1439,1628,1503,1631,1516,1673,1654,1682,1778,1575,1497,1278,1436,1912,1638,1336,1395,1503,1667,1439,1438,1551,1607,1722,1668,1673,1810,1867,1806,1640,2069,2442,2480,2554,2663,2562,2680,3365,3499,2795,2426,2312,1792,1812,1813,1880,2125,2007,2026,1985,1655,1327,1670,1833,1428,1336,991,1193,1648,1723,1494,1426,1660,1706,1834,1798,1390,1414,1407,1596,1630,1409,1409,1528,1822,1766,1475,1444,1509,1405,1366,1582,1654,1599,1873,1622,1824,1540,1256,1202,1246,1357,1260,1246,1273,1245,1271,1308,1328,1440,1031,1617,1973,1971,2137,2149,1814,1396,1488,1830,2072,2124,1947,1183,1021,839,1032,1421,2082,2372,2056,1916,2194,2833,2334,1827,1441,1645,1760,1743,1730,1656,1439,1276,1450,1606,1475,1424,1591,1833,1908,1937,1429,1672,1908,1954,1674,1821,2201,2077,1754,1606,1539,1934,2008,1671,2140,1681,1592,1755,1646,1533,1628,1772,2048,2932,3101,1941,1307,1721,1947,1577,1505,1605,1581,1512,1676,1548,1700,1849,1676,1613,1547,1843,1836,1876,2045,1911,1893,1891,2020,2510,2601,2096,1791,1829,1879,1746,2322,2714,3287,3073,2257,2307,2650,2371,1998,2161,1981,2043,2553,2243,2110,2368,1770,1992,2577,2884,2509,1902,1764,1971,2242,1938,1482,1537,1815,2093,2316,1847,2522,3693,3674,3353,2956,2722,2655,2769,2240,1708,1770,1584,1611,1492,1548,1555,1671,1438,1260,2009,2397,2786,2580,1937,1557,1937,1529,1231,1393,1584,1635,1637,1897,1961,1443,1509,1417,1427,1418,1455,1396,1940,2249,1793,1950,2021,1720,1459,1340,1487,1703,1882,1845,1702,1583,1855,1954,1903,2071,2184,2246,2591,2409,1787,2640,2698,2001,2165,3133,2644,1209,964,1327,1240,1289,1683,1625,1205,1481,2376,2481,2296,2009,2030,2154,2222,2143,1871,1757,1845,2050,1929,2123,2507,1960,1050,1003,1235,1229,1469,2149,3066,3505,2818,2219,2194,2108,2471,1765,1526,1419,1654,1630,1584,1959,2222,2468,2610,2453,2312,1757,1539,2177,2038,1617,2472,2862,3395,3613,3581,3422,2727,1918,1707,1543,1572,1569,1662,2270,2189,1997,1332,1416,1800,1629,1392,1257,1533,1821,1646,1356,1294,1521,1527,1594,1792,1719,1302,1399,1618,1894,1933,1470,1649,1491,1420,1726,1541,1403,1294,1374,1563,1642,1682,1641,1555,1911,2081,1831,1920,1474,1826,1927,2061,2061,2141,2186,1810,1633,1754,1637,1344,1406,1702,1669,1780,1881,2215,2762,3039,3270,3252,3262,3637,3849,3940,3617,2979,1836,2002,2312,2281,2368,2482,2116,1698,1778,1668,1652,1629,1794,2248,2004,2226,2114,1749,1847,2042,2169,2512,2754,2599,2140,1675,1436,1504,1578,1432,1337,1233,1487,1966,2173,2212,2275,2480,2569,2297,1794,1437,1415,1448,1401,1345,1664,2094,2447,2611,2104,1641,1761,2140,2025,1920,1860,2325,2810,1963,1962,1954,1782,1749,1824,1861,1849,1768,1884,2577,2933,1871,2640,3969,3876,4025,4444,4529,3964,3530,3654,3289,2425,1480,1418,2083,2245,2169,2229,1941,1617,1554,1365,1337,1606,1833,1725,1519,1543,1648,1594,1572,1522,1656,1645,1691,1561,1409,1685,1823,1761,1560,1622,1733,1864,2078,3166,3262,2832,2086,2072,2186,1945,1715,1597,2092,1976,1658,1726,2019,2578,2293,1818,1642,1963,2057,1947,1802,1710,2023,2517,2519,1814,1613,1870,2019,2227,2122,1763,1670,1798,2164,2454,2662,2489,2500,3018,2666,2578,3105,2931,2116,1891,2114,2085,1872,2036,2363,2611,2316,2008,1983,1773,1484,1762,1999,2370,2556,2373,1801,1854,2199,2245,2366,2224,1426,1613,1973,3096,3583,2852,1969,1620,1748,1967,2130,1625,1709,1754,1817,1973,1973,2150,1962,2094,1904,1284,1489,2014,2513,2090,2409,2379,2197,2019,2144,1879,2363,2407,1924,1731,2026,2551,2697,2832,2940,2303,1323,1501,1726,1643,1893,2004,2016,2113,1980,1743,1861,2106,2459,2392,2241,2793,2201,1747,1415,1073,1011,1008,1016,1010,954,926,1345,1615,1621,2165,2192,1594,1250,1120,1126,1094,1060,1037,1013,977,997,1220,1367,962,860,846,876,1060,1239,1261,1328,1373,1231,1208,1289,1217,1154,1199,1138,1143,1450,1702,1582,1697,1758,1694,1611,1342,1439,1670,1353,1425,1598,1643,1741,1590,1371,1382,1403,1621,1660,1365,1643,2080,1952,1553,1499,1363,1395,1586,1646,1632,1602,1735,1585,1197,1543,1335,1312,1294,1306,1348,1273,1334,1294,1248,1255,1349,1602,1611,1474,1440,1494,1575,1460,2085,2165,1854,1762,1482,1240,1283,1277,1354,1418,1454,1377,1484,1600,1620,1543,1652,1663,1381,1605,1713,1692,1866,1894,1733,1982,1796,1980,2054,1835,1936,2193,2425,2453,1908,1790,2083,2028,1994,1974,1935,1858,1950,2230,2128,1837,1913,1956,1945,1824,1815,2498,2766,2525,2967,3166,2298,1800,1919,1960,1987,1989,1694,1559,1756,1692,1610,1904,2365,2857,3033,2721,1803,1460,1900,2400,2474,2169,2346,2054,2348,2045,1703,2094,2556,2038,1699,1823,1669,1791,2053,2840,2392,1941,1928,1809,1652,1522,1721,1620,1452,1612,1768,1778,1698,1834,2834,3133,2824,2302,2215,2345,1818,1657,2041,2062,2006,1937,2393,2745,2424,2246,1943,1998,1806,1869,1581,1524,1824,1726,1698,1655,1802,1595,1781,1898,1758,1698,1635,1670,1543,1643,1780,1603,1593,2175,2451,2039,2199,2003,1823,1851,1673,1763,1995,1835,1876,1990,1791,1776,1477,1609,1648,1650,1539,1616,2364,2382,2100,2344,2122,1803,2020,2073,2060,2015,1906,1985,1722,1567,1477,1926,2474,2204,1958,1794,1998,2110,1587,1716,2086,2108,1757,2115,2181,2258,1977,1785,1887,1988,2664,2835,2533,1990,1790,1664,1500,1741,1929,1822,1552,1796,1976,1707,1592,1400,1332,1338,2011,2566,2598,2718,2434,2128,2263,2622,2797,2647,2322,1599,1435,1593,1828,1979,2057,2166,2478,2813,2296,2446,2754,2752,2964,3118,2892,2606,2801,2957,2984,2814,2761,2651,2872,3016,2931,3020,3185,2929,2486,1650,1453,1664,2082,2121,2144,2535,2708,2602,2660,2853,2778,2424,2214,2341,2586,2754,2580,2230,2070,2654,3123,2853,2885,3196,3650,3510,3374,2313,2275,2160,2002,1568,2000,2349,2226,2247,2521,2988,3251,2535,2503,2296,2332,2142,2296,2562,2688,2045,2117,2677,2716,2845,3106,2876,3263,3498,3763,4152,4356,3627,2632,1774,1589,1578,1806,2166,2234,2092,2406,2568,2221,1569,1671,1652,1926,2220,1895,1721,1814,1571,1480,1797,1745,1635,1766,2188,2832,2426,1748,1570,1559,1567,1591,1803,1592,1657,1692,1967,2075,1803,1750,1996,2067,1766,2017,2302,2645,2843,2650,2952,2571,2676,2806,2120,2614,2355,1923,1604,1746,2254,2711,2943,2238,1603,1631,1446,1320,1640,1876,2048,1830,1811,1722,1643,1565,1388,1493,1486,1648,1753,1878,1756,1693,1981,1992,1786,1879,1982,1894,1831,1786,1723,1703,1661,1345],[2840,3626,3739,3915,4133,3563,3269,3528,4060,4203,3855,3573,3472,3207,2688,2542,2414,3245,3773,3940,3943,2940,2124,1983,2420,2740,2846,2875,2739,2622,2692,2843,3264,3415,3607,3662,3510,3291,3128,2972,2884,2996,2995,3284,3467,3250,3155,3141,3115,2956,2862,2932,3154,3342,3538,2955,2119,2658,2852,2568,2624,3297,3544,3851,4135,3647,3281,3341,3564,3573,3559,3351,2741,2021,2062,3062,3150,2953,3452,3287,3692,3804,3304,3437,3711,3141,2557,1838,1755,2169,2298,2165,2004,1826,1716,2690,2994,2584,2366,1912,1989,2490,2214,2597,3528,3340,2801,2382,1886,1763,2211,2426,2265,2077,1823,2025,2396,2348,2445,2619,2385,1977,1793,1727,2116,2430,2120,2331,3146,3137,2337,2012,2330,2374,2288,1982,1898,1860,1770,2447,3298,3371,2613,2027,2176,2205,2792,3162,2770,2669,2686,2669,2586,2801,3205,3165,2431,1797,1976,2535,2640,2557,2688,2347,2282,2171,2668,3429,3298,2680,2514,2215,1917,2448,2413,1963,1614,1885,2380,2655,2688,2666,2841,2597,2636,2593,2166,2521,2586,2323,1478,1869,2773,2686,2313,2104,1892,1677,1923,2050,1945,2378,2388,2521,2012,2084,1678,2053,2580,2698,3018,3232,2932,3100,3126,2730,2337,2269,2217,2074,1986,1949,1867,2083,2478,2505,1691,1233,2009,2540,2963,3443,3075,3264,3482,3001,2530,2301,2791,2994,2564,1967,1549,1924,1964,1753,1658,1472,1990,2088,1936,2657,3217,3044,2470,1841,1571,1693,1800,1677,1642,1721,1672,1503,1512,1636,1992,2331,2257,1668,1335,1321,1498,1561,1454,1668,1504,1548,2018,1863,2002,2744,3164,2756,1842,1659,1553,1559,1489,1549,1876,2304,1858,1816,2073,2071,2714,3344,3242,2562,2194,2411,2158,2308,2216,1978,2154,2062,1877,2144,2103,1834,1952,2206,1886,1885,2336,2078,1452,1602,2229,2115,1967,1900,1938,1813,1693,2765,3197,1884,1958,2264,1889,1910,1905,2114,2121,2147,2133,2060,1856,1844,2006,1727,1363,1382,1563,1427,1477,1544,1668,1783,1501,1509,1622,1686,1665,1559,1626,1875,1665,1539,1515,1477,1674,1880,1776,1812,2054,1948,1754,1693,1921,1854,1950,2397,2906,2662,3249,3428,3373,3547,3055,2197,2051,2288,2060,1520,1824,2607,3580,3665,2901,2796,2932,2733,2186,1685,1628,1912,2026,2127,2352,1931,2132,2320,2888,3172,3144,2451,2497,2696,1880,1970,2266,2364,2872,3356,3348,3153,3020,2041,1916,3022,2755,1776,1766,1530,1498,1666,1549,1485,2048,2206,2440,2850,3130,2677,1852,1493,1750,1787,1676,1702,1797,2154,2265,2541,2643,2370,2055,1780,1860,1883,1766,1612,1858,1943,1982,1896,1676,1867,1826,1785,1826,1991,1908,1603,1733,2064,2360,1851,2194,2883,2821,2682,3036,3242,2884,2630,2735,2109,1918,2088,1726,2127,2302,1989,1744,1740,1822,1630,1320,1591,2511,2736,2357,2854,2952,2396,1768,1432,1529,1632,1573,1380,1300,1347,1340,1280,1347,1300,1379,1902,1880,1665,1688,1778,1577,1562,1485,1427,1496,1542,1410,1474,1588,1436,1447,1643,1691,1432,1472,1490,1417,1395,1490,1422,1434,1319,1315,1316,1642,1752,1796,1782,1750,1745,1850,1804,2009,2145,2078,2403,2520,2116,2092,1910,1624,1820,1650,1693,1755,1736,1810,1745,1815,1532,1770,1750,1372,1334,971,1382,1638,1700,1720,1705,1815,1827,1750,1532,1179,1260,1258,1647,1576,1323,1370,1691,1968,1866,1594,1467,1593,1534,1432,1737,1692,1714,1820,1576,1542,1547,1641,1454,1328,1343,1366,1365,1240,1153,1411,1368,1366,1422,946,1943,3025,3053,2950,2841,2121,1538,1466,1554,1505,1746,1912,1237,1032,1089,1448,1736,2098,2076,1854,1886,1985,2451,2134,1932,1775,1675,1598,1644,1443,1475,1576,1465,1516,1584,1558,1480,1306,1465,1986,1809,1502,1658,1805,1653,2080,2599,2214,2154,2351,1791,1784,1999,1772,1403,1596,1665,1546,1425,1455,1488,1642,1772,2099,2339,2718,2241,1830,1859,1859,1586,1511,1498,1360,1534,1545,1417,1620,1808,1700,1653,1601,1755,1700,1641,1879,1926,1748,1627,1712,2021,2069,1815,1958,1969,1964,1960,2005,2029,2549,2294,1832,2204,2342,1903,1862,2132,2235,2511,2541,2270,2523,2940,2202,2403,2875,2861,2460,2123,1770,1709,1816,1544,1570,1752,1896,1817,1936,1704,2566,3627,4073,3550,2526,2544,2758,2768,2192,2418,2586,2731,2332,1923,2208,2141,1788,1469,1599,2614,2044,2648,2656,2005,2018,2100,1648,1366,1274,1339,1538,1612,1917,2010,1627,1620,1588,1539,1500,1442,1383,1637,1462,1505,1897,1908,1511,1410,1604,2002,1966,1980,1703,1748,1602,1686,1762,1655,1838,2025,2019,2065,2058,2126,2690,2340,2070,2823,3685,2519,1004,1164,1260,1057,1250,1418,1523,1477,1891,2900,2654,2186,1997,1943,1824,2109,2383,2060,2049,2001,1786,2055,2319,2099,1822,1115,1222,1682,1498,1506,2297,3441,3564,2369,2040,2188,1953,2118,1950,1535,1382,1440,1056,1101,1910,2207,2526,2667,2380,2789,2464,1875,2480,2270,1708,1952,2706,2998,2797,3298,3714,3220,2078,1464,1439,1660,1728,1679,1801,1981,1903,1469,1654,1757,1535,1320,1384,1699,1767,1517,1037,1449,1830,1597,1460,1978,2490,2263,1629,1630,1438,1299,1769,2353,1976,1726,1764,1482,1396,1478,1542,1658,1571,1506,1702,1866,1830,1736,1976,1875,1946,1996,1843,2012,2197,2015,1666,1451,1739,1786,1511,1218,1534,1625,1136,1298,1577,1633,1875,2191,2680,3098,3320,2974,3264,3418,3078,2168,1932,2121,1932,1996,2230,2842,2661,1671,1560,1636,1610,1880,2180,2059,1715,2466,2808,2490,2145,1927,2018,2188,2148,1810,1426,1409,1591,1673,1611,1575,1463,1338,1671,1909,1982,2085,2208,2307,2429,2286,1654,1481,1486,1529,1541,1412,1406,1516,1941,2268,1627,1541,1720,2239,1974,1641,1512,1634,2242,2556,2446,2061,1685,1800,1599,1816,1888,1732,1732,2348,2808,2120,3038,4136,4047,4139,4436,4313,3864,3229,2608,1958,1595,1335,1655,2010,1983,2058,1969,1529,1735,1780,1306,1373,1775,1938,1734,1540,1653,1647,1539,1413,1548,1716,1690,1792,1575,1609,1528,1555,1626,1437,1774,2056,2247,2300,2730,3151,2872,2152,1841,2143,2053,1887,1731,1954,1766,1592,2447,2659,2126,1929,1708,1754,1886,1654,1440,1372,1658,2512,2724,2334,1864,1685,1827,2013,1920,1625,1638,1799,1800,2070,2478,2600,2221,1913,2101,2111,2384,2802,3030,2686,2078,1847,1725,1869,2244,2150,2359,2177,2149,2002,1694,1503,1758,2182,2344,2523,2198,1874,1750,1697,2055,2392,2211,1753,1750,2297,3639,3688,2421,1733,1642,1656,1698,1793,1522,1638,1782,1761,1695,1967,2250,2040,2020,1820,1536,2446,2600,2458,2513,2974,2716,2596,2504,2069,1819,1814,1924,2170,2209,2742,2784,2677,2830,2823,2023,1533,1750,1776,1644,1745,1856,1934,2075,1963,1656,1649,1638,1749,1590,1659,2319,2432,2501,2299,1729,1470,1220,996,1027,1196,1484,2549,2666,2164,2246,2168,2111,1903,1334,1130,1136,1078,1054,1038,974,921,1168,1144,924,859,824,901,1102,1256,1440,1697,1508,1340,1456,1380,1294,1095,958,981,1306,1703,1692,1724,2126,1875,1677,1494,1295,1380,1541,1334,1412,1579,1606,1648,1697,1621,1354,1234,1743,2078,1472,1494,1675,1724,1511,1413,1402,1419,1481,1487,1474,1534,1644,1359,1193,1644,1400,1406,1327,1336,1359,1335,1291,1244,1320,1452,1568,1548,1692,1480,1285,1402,1558,1588,1838,2066,2156,1816,1346,1334,1302,1361,1389,1361,1438,1491,1716,1853,1725,1623,1831,1773,1569,1764,1767,1790,2026,1948,2111,2246,1979,1935,1901,1807,2192,2585,2525,2589,2319,2083,2255,2132,1964,1975,1935,1887,1974,1998,2049,1912,1874,2014,2062,1793,1656,1687,1757,1985,2316,2409,2054,2035,2498,2276,1992,1982,1832,1597,2058,1971,1848,1848,2409,3072,2688,2007,1561,1788,1909,1975,1898,1787,1724,1850,2468,2179,1824,2324,2733,2116,1853,1866,1636,1691,2163,2409,1972,1828,1792,1805,1686,1437,1159,837,1119,1607,1716,1892,1856,2479,2731,2612,2438,2152,2096,2053,1965,2097,2633,2512,1785,1869,2796,3021,2421,1988,2136,2160,1933,1634,1121,1528,1893,1377,1915,1801,1888,1713,1583,1539,1584,1519,1695,1835,1766,2315,2252,1765,1627,2317,2515,2579,2208,1706,1897,1869,1614,1844,1997,1735,1672,1622,1712,1571,1471,1452,1726,1912,1919,2133,2321,2160,2239,2445,2013,2143,2937,2980,2380,1947,1941,1842,1680,1647,1805,2250,2293,2257,2004,1619,1678,1704,1392,1904,2391,1939,1886,2002,2007,2490,2303,2120,1883,2133,2634,2710,2298,1712,1902,2067,1809,1985,2236,2062,1784,1953,2082,1782,1628,1398,1467,1655,2688,3283,3636,3577,2864,2400,2489,2840,2841,2401,2310,1645,1620,1975,2187,2236,2329,2319,2574,2570,2452,2042,2038,3051,3306,3251,3162,2930,2964,2959,2894,2823,2766,2678,2653,2817,2797,2726,2823,2853,2343,2511,2030,1782,2113,1973,1982,2459,2678,2555,2541,2691,2624,2164,1672,2246,2786,2765,2562,2744,2974,2989,3120,3583,3698,3559,3664,3526,3168,2458,2435,2309,1958,1615,1890,2338,2463,2443,2605,2458,2610,2508,2418,2237,2404,2173,2447,3087,3054,2511,2050,2184,2365,2500,2685,2821,3306,3363,4048,4536,3660,2576,1914,1597,1525,1526,1642,1897,2242,2358,2768,2099,1656,1503,1656,1985,2365,2227,1957,1971,1898,2148,2114,1984,1882,1793,1842,2557,2994,2146,1707,1596,1594,1843,1664,1826,1782,1735,1579,2231,2460,2317,2266,2121,2207,2397,2408,2389,2588,2597,2350,2310,2399,2417,2168,2104,2511,2645,2713,2357,2070,2211,2437,2872,2004,1578,1760,1789,1616,1614,1796,1833,1708,1582,1796,2051,1980,1782,1708,1559,1827,1910,1864,1618,2030,2374,2015,2013,2154,2051,1898,1664,1688,1732,1557,1515,1384],[2750,3387,3570,3726,3913,3905,3862,3916,4196,4091,3714,3594,3332,3266,3109,3210,2717,3071,3624,3851,3426,2530,2002,1969,2467,2989,2888,2610,2555,2606,2624,2920,3200,3393,3882,4018,3790,3573,3276,2828,3084,3050,3052,3140,3154,3066,2981,3118,3200,3032,2941,2996,3087,3193,3159,2932,2214,2214,3006,3342,2654,2817,3361,4062,4496,4248,3606,3619,3486,3316,3750,3650,3551,3573,3219,3676,3496,2952,3225,3794,3795,3328,3043,3026,3154,3573,3602,2689,2042,2169,2301,2169,2065,1892,2276,3006,2680,2480,2622,2598,2454,2707,2154,2545,3162,2591,2385,2353,2216,2069,1992,2460,2667,2061,1811,2198,2557,2460,2685,2463,2324,2341,2089,2016,2217,2375,2223,1958,2077,2479,2432,1763,1786,1845,1855,2203,2520,2277,2120,2501,2717,2897,2095,1892,2026,2152,2479,2792,2017,2441,3059,2467,2225,2751,2703,2780,1966,1797,1637,1789,2187,1901,1967,2224,2105,2159,2818,3332,3030,2657,2382,1965,1608,1533,1490,1361,1392,1584,2194,2634,2059,1950,2271,2322,2604,2996,3034,2734,2186,1770,2040,2719,2974,2546,2216,2083,2180,2083,1886,1870,2176,1977,1723,1812,2496,2302,1687,2177,2779,2824,3264,3284,3053,3198,3113,2811,2278,2244,2476,2344,2220,1956,1542,1962,2221,1750,1636,1884,2468,2391,2541,2864,2572,2801,3506,3635,3153,2445,2460,2576,2203,1859,1714,2387,2257,1949,1761,2289,2729,2573,2544,2946,3105,2905,2562,2167,1686,1621,1594,1431,1538,1656,1521,1566,1686,1813,1999,2280,2132,1628,1364,1285,1489,1562,1461,1556,1602,1962,2374,2065,1909,2496,2945,2888,1944,1735,1746,1707,1635,1586,1754,1973,1643,2016,2691,2789,3322,3461,2920,2069,2302,2287,2101,2519,2131,2023,2002,1765,1720,2044,2102,1701,2236,3019,2378,2341,2820,2398,2148,2039,2231,1987,1767,1825,1678,1688,1902,3385,3384,2814,2341,2017,2161,2240,1948,1777,1777,1927,1994,2018,2162,2367,1861,1512,1497,1790,1783,1559,1561,1404,1490,1668,1571,1461,1671,1557,1545,1734,1526,1858,1771,1535,1649,1688,1774,2045,2363,2286,1851,1816,1913,1989,1913,1610,1950,3034,3241,3229,3804,3784,3521,3661,3223,2924,2558,2370,2286,2078,2830,2944,3283,3773,3555,3463,3285,2525,2042,1948,1826,1908,2217,2524,3104,2930,2510,2479,2985,3251,3164,3188,3493,2913,2004,1969,2706,2642,2703,2893,2685,2994,2808,1848,2312,3226,2757,1759,1638,1571,1591,1699,1537,1685,2587,3155,3522,3624,2985,2226,2047,1549,1661,1669,2231,1974,1734,2180,2452,2201,1624,1756,1843,1899,2280,1846,1837,1983,1866,1764,1911,1827,1587,1696,1814,1923,2216,2399,2276,1545,1532,1861,1951,2092,2381,2757,2753,3142,3310,2852,2769,3216,3030,1794,1705,1692,1415,1887,2198,1876,1575,1645,1653,1613,1420,1725,2692,3165,2631,2874,3039,2800,1882,1544,1663,1629,1614,1551,1346,1434,1413,1494,1367,1367,1704,1802,1648,1716,1679,1543,1546,1640,1660,1605,1519,1494,1383,1378,1361,1456,1428,1376,1599,1723,1549,1405,1367,1245,1210,1326,1424,1327,1237,1229,1525,1467,1409,1680,1700,1677,1812,1824,1901,1804,1860,1855,1931,1968,1834,1472,1831,2007,1730,1937,2137,2081,1872,1797,1826,1613,1781,1581,1336,1429,1338,1435,1753,1957,1776,1593,1900,1934,1910,1624,1422,1167,1295,1637,1548,1375,1496,1855,2009,1848,1672,1591,1807,1697,1700,1955,1948,1786,1745,1547,1708,2688,2931,2131,1683,1542,1492,1469,1648,1559,1621,1378,1377,1420,1272,1966,2745,2755,2709,2511,1813,1520,1462,1542,1496,1657,1686,1300,1367,1734,1871,1873,1978,1697,1421,1352,1786,2099,2096,2043,2096,1863,1709,1618,1408,1526,1730,1686,1647,1465,1499,1432,1333,1465,1916,1605,1337,1522,1540,1357,1579,1757,1604,1986,2511,2054,1776,1815,1663,1635,1539,1499,1683,1877,2057,1785,1804,1605,1853,2071,2404,2330,1845,1507,1508,1531,1572,1551,1556,1731,1377,1358,1579,1736,1543,1611,1677,1603,1557,1569,1803,1847,1645,1637,1603,1833,2497,2058,2005,1885,2115,1907,1744,1903,2139,1923,1840,2100,1672,1605,1960,2285,2173,2142,1872,1956,2366,2390,2115,2219,2376,2746,2480,2217,1452,1246,2005,1780,2331,2468,2148,2172,2270,1769,1687,1988,2049,2318,2762,2532,2224,2469,2484,3009,3337,3295,2840,2379,2460,2396,1709,1732,1868,2380,1823,2192,2719,2476,2652,2480,1743,1575,1383,1338,1576,1583,1787,1692,1558,1693,1781,1523,1803,1881,1557,1820,2245,2198,1585,1619,1521,1938,2099,2276,2128,1685,1437,1616,1660,1691,1572,1300,1584,1930,1809,1865,2137,1808,2112,2165,1892,2497,2997,1790,1278,1572,1379,1030,1272,1135,1248,1454,2453,2868,2223,1884,1671,1505,2085,2501,2427,1960,2033,1706,1372,2165,2234,2151,1896,1146,1318,1563,1274,1710,2103,2636,2665,2173,2063,2213,2035,2413,2163,1633,1548,1366,930,1388,1854,1820,2050,2265,2176,2835,2815,2347,2169,1827,1977,2596,2942,2598,1878,2176,2678,2501,1932,1716,1636,1461,1602,1488,1598,2185,1937,1659,1577,1455,1377,1374,1705,1861,1668,1225,1299,1897,1848,1503,1352,1565,2109,2116,1578,1702,1579,1890,3354,3560,2643,2062,1552,1412,1537,1456,1411,1605,1489,1599,2170,2056,1634,1950,1964,1745,1825,1781,1618,1656,1829,1643,1576,1653,1973,1725,1414,1502,1572,1272,903,945,1167,1613,1630,1715,1873,2370,2889,2913,2684,2849,2770,2065,2217,2014,1737,1865,2024,2047,1900,1291,1281,1400,1572,1983,2094,1763,1835,2448,2712,2445,1918,1647,1561,1537,1655,1503,1437,1379,1622,1682,1488,1594,1652,1616,1797,1717,1626,1565,1678,1614,1796,1762,1528,1529,1571,1603,1663,1650,1691,1537,1650,2172,1799,1888,2239,1944,1706,1735,1820,1898,2674,3544,3576,2912,2320,2216,1672,1926,2209,1891,1918,2820,2731,2407,3338,3947,4008,3951,3615,3012,2477,2003,1667,1675,1960,1894,1801,1644,1517,1665,1547,1711,2110,1603,1310,1765,1942,1631,1618,1742,1715,1592,1590,1580,1910,2077,1740,1646,1539,1663,1564,1537,1581,1608,2053,2186,2294,2135,2195,2555,2094,1726,1732,2041,1840,1774,1780,1583,1534,1417,1974,2391,2240,1963,1781,1788,1579,1265,1317,1331,1754,2243,2120,2182,2208,1929,1833,1864,1712,1626,1841,1916,1834,2098,2264,2219,1798,1471,1497,1612,2202,2777,2733,2656,2253,1735,1859,2221,2482,2119,1929,2088,2344,2304,2139,2037,2122,2243,2000,1886,2019,2261,2122,1994,1949,2115,2297,2244,2161,2807,3535,3308,2316,2023,1925,1676,1352,1444,1628,1563,1569,1715,1914,2002,2281,2116,1763,1837,2186,2721,3029,2771,2362,2402,2234,2432,2483,2030,1837,1584,1857,2449,2559,2814,2784,2695,2639,2818,2310,1872,1740,1599,1700,1766,1814,1640,1671,1935,1716,1581,1652,1661,1500,1496,1702,1959,2156,2225,2208,2176,1795,1426,1942,2109,2087,2203,1837,1549,1570,1626,1735,1720,1790,1600,1220,1110,1092,1071,1025,966,1101,1024,884,874,863,986,1229,1288,1412,1532,1379,1300,1366,1437,1236,1041,1002,1202,1461,1478,1534,1497,1617,1630,1362,1286,1259,1279,1359,1296,1139,1264,1707,1791,1638,1175,841,1013,1677,1900,1425,1477,1604,1449,1358,1401,1485,1456,1511,1606,1650,1778,1859,1568,1260,1258,1472,1576,1398,1298,1247,1349,1294,1288,1576,1654,1530,1455,1536,1412,1304,1776,1981,1655,1497,1638,1651,1381,1317,1526,1357,1620,1626,1433,1451,1635,1969,2004,1916,1729,1850,1774,1676,1339,1256,1442,1732,1614,1667,1804,1785,1732,1714,1674,1983,2267,2032,1920,1931,1781,1999,2072,1941,2056,1751,1721,1788,1792,2044,2087,2024,1935,1928,1943,1747,1495,1543,1573,1604,1815,1920,1903,2077,2094,2055,2004,1844,1715,2315,2791,2647,2712,2991,2878,2211,1871,1880,1936,1968,2166,2327,2178,1829,2073,2315,1974,1738,2239,2430,2336,2491,2242,1839,1637,1710,1737,1703,1599,1645,1862,1682,1512,1339,1155,1516,1657,1759,1856,1714,2344,2137,1570,1732,2289,2239,1946,2037,2298,2297,1944,1794,1698,2119,2785,2713,2112,2157,2361,2110,1592,1572,2723,2700,1995,2259,1922,1956,1887,1672,1558,1558,1476,1683,1770,1895,2189,2322,2008,1962,2245,2210,2275,1881,1588,1733,1594,1767,2090,2069,1739,1894,1764,1581,1475,1441,1446,1833,1854,1743,1888,2124,2194,2238,2302,2205,1977,2109,2091,2042,1972,1771,1487,1581,1670,1784,1953,1823,1752,1685,1933,1821,1899,1693,1861,1997,1837,2148,2457,2287,2512,2403,2257,1647,2112,2005,1946,1923,1775,1970,1834,1615,1913,2162,2179,1961,1953,1591,1643,1831,1577,1711,1878,2358,2998,3177,2942,2523,2216,2127,2168,1964,2012,2541,2599,2322,2376,2210,2105,2140,2583,3099,2214,1520,1782,1816,2842,3226,3273,3294,3203,3219,3011,2919,3000,2759,2519,2545,2614,2776,2846,2511,2556,2519,3112,2623,2673,3019,2938,2454,2074,2238,2558,2378,2441,2309,1410,1543,2307,2181,2303,3012,3393,3224,2731,3319,3786,3749,2940,2658,3060,2766,2849,2844,2422,1967,1852,2229,2356,2370,2368,2373,2155,2332,2478,2563,2548,2555,2553,3117,3367,2974,2692,2344,2452,2749,3122,2214,2572,3674,3531,3592,3408,2524,1901,1668,1771,1593,1422,1475,1696,1734,2121,2146,1899,1795,1780,1889,1854,2009,2169,2675,2687,2441,2571,2770,2412,2088,1909,1765,1826,1656,1642,1970,1754,1582,1726,1502,1811,2021,1752,2257,2798,2481,2810,3039,2887,2896,2693,2386,2459,2834,2523,2513,2621,2708,2336,1895,2350,2851,3051,3380,3173,2641,2288,2579,2786,1918,1590,1731,1991,1686,1382,1537,1619,1868,2478,2708,2420,2089,1794,1774,1823,1708,1461,1419,1637,2092,2233,2184,2266,2012,1830,1678,1652,1772,1627,1580,1578,1493],[2828,3340,3718,4078,3957,3695,3650,3507,3627,3999,3386,3275,3041,2565,2866,3282,3111,3351,3615,3692,3031,2244,2235,2106,2078,2584,2554,2412,2524,2585,2666,2873,3020,3289,3458,3554,3510,3492,3356,3074,3350,3150,3076,3078,3037,3099,3119,3139,3254,3252,3134,3118,3066,3108,3074,3046,2362,2055,3002,3410,3296,2914,3275,4299,4544,4131,3437,3119,3384,3606,3550,3230,3388,3683,3551,3789,3662,3187,3308,3839,3587,2867,3094,3146,1988,2730,3428,3492,2801,2509,2540,2674,2679,2721,3140,3128,2062,2190,2862,2862,2310,1496,1813,2749,2688,2313,2509,2569,2412,1741,1706,2500,3030,2975,2591,2463,2331,2293,2182,1758,2006,2442,2132,2081,2192,2230,2099,1889,1694,2238,2068,1522,1538,1730,1762,2082,2520,2248,1957,2082,2248,2397,2240,2275,2058,2024,2381,2170,1926,2780,3316,2708,2199,2048,2317,2176,1982,2005,2187,1821,2020,2252,2424,2413,2147,2474,2918,3047,2878,2832,2509,2077,2114,1664,1360,1247,1119,1411,2408,2959,2242,2172,2130,2085,2255,3109,3316,3066,2685,2398,2653,2994,2699,2339,2034,1982,2244,2125,2023,1967,2142,1707,1564,1760,2204,2048,2152,2766,2776,2621,3271,3149,3066,3174,2918,2684,2380,2215,2064,1902,1936,1579,1341,1557,1724,1817,2613,2514,2105,2427,2888,2633,2348,2529,3213,3982,3880,3152,2264,1835,2017,2301,1805,1958,1860,1802,2225,2750,2774,2691,2610,2806,2920,2619,2642,2847,1934,1465,1381,1380,1578,1544,1494,1610,1660,1889,2020,1789,1605,2244,2008,1703,1879,1963,1929,2330,2654,2561,2757,2497,2122,1504,1678,1999,1805,1570,1623,1596,1628,1659,1684,1729,1673,2071,2996,3510,3333,3089,2398,2163,2106,2152,2350,2070,1873,2006,2062,2330,1841,2100,2187,2019,2221,2844,2661,2797,3253,2815,2126,1879,1960,1708,1583,1637,1524,1663,2112,3503,3163,2474,1764,1625,1963,1782,1606,1630,1673,1858,1916,2011,2017,1888,1614,1437,1776,2204,2000,1586,1400,1320,1287,1429,1676,1701,1850,1329,1581,2082,1915,1777,1558,1438,1608,1738,1827,2439,3466,3281,2137,1589,1845,2289,1866,1833,2380,3006,3088,3086,3471,3296,3061,3231,2979,2942,2387,2450,2462,2531,3056,2938,3162,3438,3177,3585,3631,2728,2071,2004,2471,2562,2662,3062,3372,3399,2987,2577,2701,2863,2927,2940,2652,1982,1904,2145,2727,2149,2172,2756,2526,2691,2828,2126,2799,3411,2801,1885,1926,1886,2106,2086,1903,2189,3007,3868,3973,3973,3552,2441,1984,2052,1777,1798,2054,1876,1699,1824,2259,2087,1513,1642,1742,1877,1750,1659,2142,2315,1973,1824,1998,2009,1804,1970,2189,1935,2041,2314,2442,1659,1714,1907,2443,2829,2776,2832,2746,3111,3343,2691,2465,2888,2608,1897,1655,1677,1649,2031,2165,1872,1794,1713,1642,1923,1890,1809,2199,2752,2585,2385,2386,2334,1910,1777,2030,2115,1706,1579,1588,1660,1515,1622,1509,1734,1926,1611,1716,1925,1935,1642,1434,1447,1482,1431,1474,1476,1366,1405,1487,1469,1398,1529,1838,1825,1595,1466,1396,1214,1268,1316,1380,1551,1412,1286,1455,1413,1471,1782,1755,1646,1684,1614,1746,1628,1654,1668,1766,1945,1669,1571,1998,1929,1905,2008,2016,2015,1858,2050,1991,1867,1810,1638,1488,1455,1473,1581,1743,1816,1699,1762,1995,1950,1866,1736,1715,1493,1705,1885,1784,1638,1640,1709,1828,1743,1760,1741,1971,1832,1852,1901,1890,1906,1858,1648,1666,2062,2265,2023,1851,1874,1839,1808,1908,1814,1808,1665,1642,1758,1707,1815,2018,2094,2168,2132,1960,1715,1726,1913,1892,1982,1912,1765,1886,1902,1982,2007,2086,1556,1421,1317,1730,2096,2083,2042,2132,1997,1920,1954,1996,1936,1832,1899,1840,1533,1498,1571,1415,1707,1910,1534,1373,1398,1340,1250,1507,1765,1980,2178,2233,1888,1646,1873,1986,2004,1951,1634,1748,1848,1831,2238,1900,1499,1558,2058,2412,2334,1859,1406,1429,1607,1738,2048,1724,1776,1472,1605,2034,1676,1638,1713,1523,1498,1494,1646,1654,1591,1627,1662,1588,1708,2042,1956,1866,1905,1951,1776,1604,1346,1501,1520,1717,1547,1567,1839,2240,2276,1790,1633,1413,1592,2663,3119,2685,2272,2242,2545,2118,2184,1842,1653,2380,2334,2209,2231,1969,2008,2098,1593,1296,1354,1447,2496,2702,2376,1903,1774,1771,2116,2342,2047,2097,2632,2599,2419,1602,1702,2126,2204,2091,2477,2987,3054,3303,2872,1756,1608,1438,1387,1645,1597,1462,1393,1408,1507,1560,1401,1675,1835,1632,1998,2261,1893,1619,1553,1510,1679,1770,1591,1601,1341,1130,1733,2375,2307,1810,1779,1664,2229,2315,1944,1778,1879,2036,2021,1952,2205,2386,1783,2174,2060,1427,1224,1316,1421,1584,1951,3097,3067,2325,2231,1461,1052,1906,2194,2048,1701,1744,1654,1677,2029,2227,2468,1998,1095,1055,1201,1585,2079,1853,1708,2047,1920,2083,2024,1779,1852,1682,1665,1688,1691,1476,2281,2248,2533,2356,2112,2206,2856,3129,3132,2509,1695,2241,2906,3034,2364,1762,1869,2014,1681,1619,2591,2744,1873,1651,1538,1485,1712,1974,2288,1726,1414,1299,1548,1940,1845,1576,1442,1666,1836,1692,1482,1254,1254,1555,1822,1682,1736,2114,2259,3177,3606,2890,1908,1438,1517,1396,1238,1500,1511,1340,1571,1770,1827,1833,1660,1785,2026,1824,1519,1646,1577,1477,1669,1563,1431,1838,1756,1502,1378,1414,1458,1322,1229,1632,1938,1304,1539,1670,1796,1998,2448,2831,3321,2715,2078,2281,1858,1747,1742,1776,1796,1505,1273,1217,1309,1435,1461,1723,1849,1927,1874,1743,1503,1368,1660,1553,1442,1388,1361,1309,1533,1745,1739,1699,1794,1849,1739,1854,1915,1842,1770,1694,1798,1831,1731,1556,1395,1461,1591,1699,1853,1869,1944,1946,2078,2358,2199,2299,2071,1685,2042,2308,2178,2258,2853,3438,2809,2495,2357,1978,1908,2147,2322,2335,2573,2361,2291,3296,3692,3432,2908,2241,1896,1714,1585,1809,2230,2392,2001,1769,1789,1765,2005,1937,2162,1717,1402,1734,2045,1719,1551,1821,2105,1992,1735,1753,1605,1760,1964,1708,1514,1576,1594,1426,1414,1510,1971,2121,1793,2149,2504,2427,2512,1960,1452,1417,1510,1889,1720,1176,1179,1430,1594,1785,2147,2266,2160,1980,1858,1284,1282,1502,1381,1309,1382,1542,1968,2214,1976,1738,1656,1632,1780,2046,1916,2040,2302,2120,2075,1743,1643,1938,2035,2396,2696,2711,1999,1647,1842,2048,2170,2189,1979,1856,2038,2317,2287,2265,2069,1978,2031,1966,1706,1900,1961,2037,1877,1578,1916,2320,2354,2636,3908,3850,2789,1861,1983,2174,1836,1648,2204,2267,2046,1947,1648,1584,1784,2247,1909,1528,1620,1819,2093,2688,2315,1852,2031,1684,1777,2191,2110,2234,2243,2360,2712,2656,2546,2855,2950,2958,2780,2257,1919,1650,1571,1859,1815,1882,1635,1664,1688,1513,1573,1787,1764,1587,1650,1841,1830,1658,1963,2147,2213,2023,1813,1959,1814,1688,1562,1472,1490,1592,1570,1650,1808,1819,2182,1918,1415,1138,1083,1114,1086,997,931,898,850,876,1335,1544,1539,1404,1338,1383,1332,1519,1664,1376,1230,1130,1450,1770,1549,1455,1515,1977,1879,1424,1504,1562,1546,1610,1411,1174,1457,1814,1953,1807,1423,1459,1633,1613,1532,1450,1552,1582,1386,1406,1522,1469,1366,1446,1531,1456,1453,1594,1435,1078,1091,1388,1388,1322,1389,1316,1401,1553,1417,1745,1826,1850,1888,1711,1311,1204,1430,1654,1605,1404,1647,1742,1640,1426,1336,1249,1437,1505,1509,1658,1852,2032,1898,1883,1766,1877,1766,1434,1248,1510,1626,1503,1600,1703,1565,1562,1770,1840,2043,2050,2636,2326,1968,1902,1506,2040,2508,2355,2131,1907,1968,1722,1641,1768,1852,1887,1914,1920,1892,1872,1824,2004,2080,1755,1784,1717,1641,1628,2331,2525,2118,1956,1744,2199,3132,3274,3407,3138,2332,2100,2001,2136,2114,2513,2523,2492,2445,2139,2326,2438,2514,1884,2148,2071,2084,2219,2032,1729,1690,2132,2291,2030,1888,1685,1828,1629,1714,1599,1459,1645,2138,2205,1793,1781,1802,1628,1533,1545,1814,1922,2126,2133,1863,1942,1802,1880,1705,1709,2591,2928,2642,2610,3011,2039,1603,1794,2493,2205,1975,1786,1597,1602,1642,1627,1580,1650,1943,1796,1555,1816,1677,1784,1968,2076,2118,1846,1649,1585,1598,1532,1551,1870,1869,1937,1909,1908,1929,1661,1432,1348,1495,1578,1510,1572,1708,2217,2237,2181,2303,2185,1903,1541,1394,1530,1798,1816,1682,1815,1554,1496,1682,1726,1651,1936,1977,1742,1838,1920,1732,2056,2783,2700,2673,2254,1985,2127,1997,1688,2099,2036,1757,1676,1795,1780,1524,1434,1594,1970,2100,2236,2078,1610,1653,1941,1936,1744,1612,1842,2018,1854,2667,2895,3023,2834,2862,2578,2452,2626,2857,2630,2228,2048,2008,1860,2648,3772,3497,2604,2216,1870,2397,3175,3395,3254,3294,3416,3120,2850,2817,2741,2919,3174,2977,3218,3406,2909,2268,2665,2864,2677,3104,3505,4619,3792,2570,1822,1968,2021,2183,1795,1584,2229,2490,2117,1652,1924,2647,2997,3077,3594,3522,3133,2316,1833,1906,2110,2164,2066,1979,1817,1954,2577,2552,2357,2243,2175,2038,1917,2082,2423,2414,2652,3471,3212,3023,2756,2828,2597,2102,2377,3270,2820,3029,3586,3450,3054,2546,1946,1729,1511,1576,1594,1566,1640,1512,2069,2610,2348,2449,2086,1833,1898,1639,1796,2396,2674,2822,2630,2169,2329,2337,2327,2393,2077,1901,1836,1967,2045,1665,1448,1454,1560,1665,1494,1371,2387,2684,2223,2504,2468,2688,2780,2784,2414,2764,2565,2256,2186,2359,2448,2196,2299,2684,3326,3383,3007,2569,2054,2496,3122,2866,2172,1752,1583,1548,1420,1351,1403,1421,1632,2145,2290,1739,1426,1400,1650,1857,1668,1395,1385,1497,1571,1824,2053,1916,1711,1736,1666,1577,1493,1633,1872,1628,1485],[3140,3341,3898,3899,3194,2732,2882,2843,3103,3607,3540,3253,2829,2395,2431,2834,3250,3266,3414,3453,2610,1891,1959,1791,1892,2335,2445,2377,2557,2691,2770,2663,2786,3018,3019,3309,3492,3400,3452,3538,3476,3142,3096,3150,3240,3221,3016,2941,3134,3176,3169,3174,3139,3063,2996,2798,2054,2262,2626,2623,2699,2568,3120,4095,4120,3806,3385,2862,3017,3387,3161,2974,3142,3292,3641,4050,4011,3872,3875,4056,3969,3194,2944,3284,2552,2751,3307,3666,3636,3131,2965,3043,2362,2843,2989,2851,2226,2646,3430,3571,2767,1769,2100,2847,2916,2756,3007,3068,2689,1714,1748,2240,3243,3299,2557,2198,2254,2371,2142,1633,2131,2662,2043,1800,2045,2034,2214,2564,2316,1815,1586,1506,1630,1892,1826,1723,2127,2031,1686,1632,1985,2584,2963,2746,2092,2367,3153,2819,2721,3072,3260,2885,2933,2525,2699,2381,2322,2926,3065,2357,2162,2377,2389,2197,2291,2401,2308,2277,2275,2341,2875,3066,2811,2128,1572,1396,1408,1788,2476,3186,3448,2784,2541,2299,2568,2765,2843,3254,2977,2259,2640,2997,2530,1882,1931,2253,2185,1923,1983,1821,1517,1467,1538,1954,2152,2151,2590,2834,2521,2611,3349,3253,3220,2957,2611,2300,2395,2465,2014,1726,1726,1542,1609,1650,1671,1738,2116,1894,1331,2053,2526,2453,2313,2591,3072,3829,4047,4185,3238,2222,1836,2046,2106,1758,1723,2247,2497,2474,2554,2529,2407,2631,2778,2258,2200,3288,2627,1582,1290,1358,1526,1584,1551,1453,1458,2308,2300,1619,1981,3465,3207,2328,2526,2830,2492,2950,3252,2355,2292,1895,2120,1826,1652,1716,1937,1765,1624,1458,1404,1442,1529,1564,1422,1923,3377,3635,2275,2304,2041,2144,2236,2888,3191,2304,2256,1985,2245,2946,2100,2547,2641,2745,2779,3466,3106,2769,3485,3239,2138,1897,2081,1777,1632,1614,1692,1562,2008,2842,2851,2342,2058,2252,2070,1791,1501,1324,1432,1542,1725,1917,1863,1815,1587,1260,1726,2128,1674,1503,1456,1475,1570,1559,1643,1825,1694,1293,1633,1801,1707,1581,1439,1425,1582,1575,1681,2238,2795,3044,2103,1454,1820,2343,2136,2350,2721,2798,2820,2854,3128,3164,2768,2646,2565,2591,2361,3037,3062,2498,2536,2732,2685,2463,2553,3374,3448,2727,1967,2031,2624,2823,2990,3183,3177,2932,2897,2569,2710,3090,2856,2439,2303,2540,2784,2590,2630,2501,2734,2938,2513,2388,2563,2143,2632,2839,2360,2130,2172,2074,2111,2081,2175,2138,2183,2482,2484,2530,2414,1953,2002,2475,2024,1769,1922,1944,1794,1823,2068,2154,1803,1724,1840,1998,1875,1910,2215,2214,2167,2176,2117,2030,1741,1830,2117,1891,1610,1774,1925,1871,1892,1824,1993,2045,2192,2255,2277,2363,2292,2186,2148,2381,2246,1940,1833,1754,1827,2091,2149,2150,2047,1847,1858,2037,1852,1896,2378,2570,2228,1912,1863,1805,1889,1782,1912,1746,1570,1684,1675,1759,1669,1973,2073,1925,1757,1718,1855,1982,2259,1652,1511,1795,1759,1447,1389,1388,1403,1462,1391,1343,1286,1365,1656,1559,1402,1512,1556,1407,1362,1368,1476,1613,1434,1296,1347,1271,1274,1556,1680,1502,1483,1505,1625,1581,1522,1582,1864,1946,1766,1798,2054,1921,1653,1457,1680,2007,1832,1926,2011,1968,1874,1770,1700,1703,1773,1779,1775,1842,1852,1836,1812,1860,1759,1690,1736,1759,1772,1753,1859,1774,1831,1881,2014,1999,1864,1873,1943,1910,1961,1896,1798,1772,1744,1698,1731,1842,1778,1681,1813,1859,1729,1787,1830,1852,1860,1844,1866,1876,1817,1807,1893,1918,1896,1913,1917,1858,1925,1967,1972,2066,2028,1968,1875,2051,2534,2404,2431,2059,1823,1729,2242,2845,2310,2169,2451,2183,1981,2089,2148,2127,1993,2115,1969,1814,1779,1806,1856,1997,1958,1693,1606,1632,1725,2129,2340,2097,2049,1961,1874,1891,1899,2212,2438,2159,2325,1943,1403,1433,1864,2101,1735,1406,1217,1388,1575,1991,2380,1734,1555,1694,1943,2254,1837,1639,1519,1685,1922,1855,2511,2366,1529,1387,1387,1504,1517,1533,1652,1526,1476,1821,2127,1941,1838,2084,2463,2563,1961,1489,1490,1574,1638,1462,1958,1739,1990,1992,1619,1609,1512,1808,2701,2673,2830,2377,2142,1948,1748,1646,1497,1731,2048,2130,1911,1808,1985,2024,1826,1305,1328,1603,1809,2370,2094,1843,1821,1790,1549,1395,1497,1554,2190,2917,3156,2535,1654,1814,2445,2416,2349,2608,3121,3526,3598,2374,1797,1775,1509,1261,1309,1605,1542,1403,1403,1484,1500,1416,1609,1443,1489,1615,1600,1398,1313,1304,1343,1485,1648,1618,1908,2357,2200,1681,1817,2065,2153,2183,1981,2396,2565,2036,1733,2000,1802,1763,2154,2044,1909,1883,2066,1996,1845,1683,1404,1412,1565,2600,3683,2603,1497,1925,1825,1647,1737,2099,2053,1471,1355,1586,1905,2438,2874,2411,1402,892,1284,2133,2170,2050,1872,1715,1725,2060,2309,1689,1549,1612,1465,1727,1806,1875,2322,2258,2306,2787,2113,1829,2394,2976,3040,3021,2292,1594,2166,2395,2104,1708,1587,1609,1746,1575,1710,2458,2624,2294,2047,2106,1524,1658,2286,2169,1986,1850,1496,1561,1721,1503,1347,1544,1566,1510,1484,1381,1411,1524,1656,1686,1417,1446,1921,1981,1996,2241,2066,1481,1527,1492,1444,1425,1676,1337,1256,1393,1339,1421,1494,1741,2298,2220,1991,1730,1649,1638,1488,1711,1663,1529,1642,1593,1487,1434,1570,1865,1583,1336,1938,1636,1328,1481,1679,1795,1680,1947,2258,2342,2205,2200,2344,2168,1895,1923,1960,2080,1789,1508,1184,1369,1379,1415,1931,2190,2094,1804,1914,2128,2149,1732,1688,1641,1675,1894,1880,1770,2059,2366,2110,1747,1840,1784,1981,1830,1705,1804,1826,1714,1932,2205,1540,1526,1542,1169,1369,1871,2020,2047,2073,1995,2172,2451,2687,2409,1862,1925,1868,1870,1644,1913,2669,2489,2810,2930,2249,1776,2066,2117,2008,2175,2244,2058,2605,2430,2002,1691,1670,1687,1679,1915,2163,2290,2577,2455,2031,2122,2204,2288,2149,1692,1379,1405,1758,1825,1640,1587,1687,1874,2020,2234,2274,1672,1782,1898,1744,1459,1454,1403,1353,1745,1780,1472,1689,1537,1781,2197,2206,2270,2094,1616,1403,1497,1793,1573,1346,1355,1148,1197,1784,2170,1970,2069,2079,1842,1394,1383,1534,1427,1492,1708,1771,2024,1893,1618,1538,1543,2173,2260,1863,1765,2074,2216,2245,2309,2082,1970,2132,2414,2186,2144,2092,1394,1404,1783,1813,2133,2198,1843,1947,2252,2192,2131,2316,2052,1989,2066,1876,1675,1861,1968,1755,1448,1571,1947,1948,2268,2933,3905,4074,2966,2257,1670,1517,1748,2040,2254,2277,2321,2276,1770,1638,2234,2079,1808,1737,1570,1427,1601,1853,1713,1859,2013,1690,1755,1849,2060,2593,2674,2624,2668,2435,2660,3090,3171,2811,2387,2136,2244,2144,1772,1884,1880,1663,1637,1644,1498,1524,1619,1788,1886,1614,1692,1930,1875,1830,2004,2001,2111,1839,1737,1780,1585,1417,1384,1491,1639,1699,1651,1841,2320,2199,2102,2208,2099,1646,1179,1095,1058,1049,989,897,846,1172,1693,1883,1941,1912,1684,1427,1412,1511,1562,1519,1340,1423,1494,1525,1351,1520,1687,1600,1363,1735,2402,2597,2186,1977,1516,1220,1405,1770,1875,1861,1649,1521,1480,1522,1696,1703,1533,1491,1470,1825,1812,1526,1333,1282,1241,1239,1233,1261,1248,1098,1057,1296,1432,1388,1467,1228,1248,1412,1449,1876,2156,2031,1884,1622,1246,1244,1284,1584,1494,1542,1791,2082,2222,1844,1311,1258,1533,1584,1679,1821,1715,1618,1737,1591,1597,1602,1758,1774,1752,1808,1977,1833,2208,2437,2070,1460,1813,2403,2858,2327,2441,2280,2214,2370,1625,2152,2232,1981,2216,2438,2671,2279,1898,1693,1674,1685,1631,1744,1830,2046,1966,1975,1962,1709,1726,1716,1992,2231,2344,2214,2120,1999,1929,1876,1990,2275,2406,2579,2147,1804,2134,2214,2087,2718,3124,2564,2186,2259,2351,2305,2620,2156,1828,1874,2065,2071,1985,1836,2088,2438,2448,2305,2217,1750,1754,1942,1996,1755,1632,1569,1730,1924,1904,1903,1876,2165,1947,1588,1476,1681,2303,1957,1602,1855,1802,1786,1862,2099,2593,2574,2315,2705,2546,1712,1644,1640,1497,1290,1419,1589,1608,1791,1690,1808,1779,1511,2174,1874,1405,1461,1449,1594,1577,1624,1757,1882,1704,1517,1603,1422,1804,1930,1595,1712,1950,1969,1795,1540,1354,1608,1770,1820,1601,1690,1703,2071,1972,1869,1996,2156,2181,1890,1498,1510,1693,1693,1714,1748,1558,1567,1734,1662,1680,1748,1601,1761,2028,1824,1831,2569,3065,3131,3141,3081,2534,2062,1736,1488,1899,2393,2002,1623,1812,1869,1729,1572,1784,1988,2226,2869,2634,1918,1720,1921,1780,1437,1482,1571,1674,1560,2230,2937,3510,3196,2888,2859,2753,2576,2205,1856,1685,1611,1728,2050,3045,3331,3409,3288,2944,2042,1875,2585,3273,3312,3333,3496,3582,3217,3071,3391,3861,4184,3805,3594,3707,3263,2630,2840,2507,2942,3172,4343,4793,3674,2545,2166,1891,1741,1878,1879,2084,2284,2481,2494,2412,2014,2330,2618,3034,3239,2644,2454,2294,1883,1913,1843,1741,1829,1736,1673,1597,1938,1982,2055,1976,1876,1957,2031,2054,2404,2447,2266,2979,3382,3131,2529,2598,2158,1906,2665,2847,2511,2830,3181,3127,3044,3168,2444,2046,1816,1787,1858,2066,1920,1899,2655,2856,2623,2493,2061,2255,1734,1788,2258,2444,2602,2663,2207,1965,2260,2541,2787,2691,1933,1750,1659,1774,1898,1751,1554,1498,1571,1717,1730,1665,1991,1990,1757,1914,2160,1835,1763,2147,2489,2945,2774,2740,2998,2319,1751,1836,2074,2609,3423,3500,3054,2820,2934,3023,2885,2536,1932,1663,1415,1579,1517,1389,1404,1454,1431,1499,1650,1574,1501,1443,1543,1652,1559,1355,1472,1537,1998,2161,1908,1651,1646,1650,1493,1326,1335,1648,1642,1397,1425],[2208,2503,3254,3081,2831,2930,2912,2994,3263,3050,3292,3520,3104,2588,2665,3286,3785,3772,3570,2924,2310,2059,1980,2181,2439,2490,2410,2436,2762,2987,2754,2643,2920,2986,3100,3318,3406,3001,3695,3723,3444,3367,3120,2941,3154,3254,3076,2912,2985,2931,3167,3255,3069,3106,3167,2521,2076,2481,3066,3384,3176,3144,2952,3746,3662,3542,3178,2424,2110,2530,2864,3063,3222,3067,3106,3677,3840,3517,3550,3821,3814,3297,3261,3006,2692,2998,2974,2893,3286,3096,3039,3007,2654,2876,2532,2557,2430,2762,3200,3529,2944,2065,2084,2555,2894,3067,3325,3393,3043,2235,1915,2598,3247,3032,2780,2661,2873,2598,1926,1970,2630,2662,2304,2396,2360,1917,2133,3076,2917,1937,1500,1487,1908,2559,1982,1831,2032,2074,1926,1796,2409,3149,2951,2334,1991,2938,3453,3395,3006,2857,3022,2569,2755,3018,2733,2433,2467,2789,2922,2431,2252,1880,1532,1508,1749,1952,2153,2002,2081,2521,3131,3185,2796,2358,1701,1438,1748,1882,2236,2675,3640,3040,2231,2271,2600,2811,3354,3670,2872,2554,2710,2762,2534,2242,2298,2467,2232,1936,1919,1887,1823,1738,1926,2276,2128,2137,2152,1963,2299,3030,3242,3050,3034,2800,2591,2539,2486,2458,2640,2001,2122,2353,1915,1784,1786,1831,1710,1320,1641,2215,2532,2657,2566,2884,3164,3540,3992,3940,2648,2096,2327,2126,2066,1730,1744,2612,2721,2712,3117,2789,2241,2486,2763,2705,2604,3275,2976,1934,1567,1524,1481,1534,1550,1339,1522,2602,2612,2000,2220,3082,3091,2349,2452,3191,2790,2318,2289,1827,1662,1468,1941,1794,1635,1982,1970,1809,1479,1393,1580,1700,1548,1466,1764,2889,3828,3428,2142,1969,1846,2103,2514,2981,2966,2489,2561,1905,2386,3086,2514,2852,2968,2711,2644,3107,2988,2473,2955,2731,1860,1741,2010,1699,1980,2236,2232,1831,2322,2342,2301,2702,2625,2564,2016,1725,1498,1216,1136,1444,1842,1864,1905,2262,2008,1339,1798,1758,1601,1438,1242,1353,1596,1551,1571,1755,1808,1716,1736,1827,1680,1509,1526,1598,1794,1674,1518,1992,2136,1849,1498,1575,2119,2194,1770,2175,3028,3213,3177,2997,3146,2834,2178,2244,2678,2522,2160,2620,2910,2408,2226,2197,2047,2141,2697,3178,3296,2840,2319,2406,2547,2622,2613,2394,2427,2448,2468,2298,2460,2496,2212,2110,2155,2227,2268,2369,2552,2271,2356,2768,2754,2532,2046,2406,3123,3067,2464,2242,2445,2191,1757,1570,1943,2066,2177,2221,2292,2343,1872,1601,1772,1756,1735,2122,2088,1753,1685,1765,1842,1815,1748,1747,1720,1620,1575,1668,1874,2091,2518,1951,1968,2010,1565,1539,1515,1632,1753,2018,1924,1677,1576,1550,1497,1766,1923,1672,1860,2709,2370,2278,1908,2109,2256,1853,1876,1862,1668,1932,2285,2071,2271,2194,1914,1841,1669,2190,2552,2009,1466,1426,1716,2249,2338,2097,2131,1533,1718,1943,2965,3113,2221,2555,2328,1873,2304,2158,1698,2066,2625,1852,1786,2523,2544,1824,1554,1646,1591,1518,1356,1322,1188,1302,1635,1341,1260,1657,1714,1475,1453,1482,1581,1568,1310,1356,1432,1284,1357,1427,1531,1417,1397,1544,1672,1779,1709,1649,1866,1822,1874,1741,1825,2204,2078,1780,2298,2454,2006,1829,1937,2046,1868,1711,1683,1737,1654,1614,1870,1904,1792,1654,1687,1856,1623,1532,1667,1753,1948,1841,1691,1793,2115,1902,2215,2040,1752,1697,1455,1697,1919,1875,1747,1859,1739,1485,1633,1566,1666,1686,1672,1579,1410,1490,1700,1794,1744,1719,1726,1732,1704,1739,1765,1793,1728,1811,1854,1699,1760,1895,1916,1971,1964,1987,1972,2119,2763,2698,2447,2149,1981,2055,2556,3310,2554,2308,2884,2676,2139,2063,2116,2091,2045,2011,1954,1885,1859,1882,1957,1963,1960,1940,1896,1945,2004,2259,2270,2061,1838,1822,1936,1952,1792,2046,2313,2035,2096,2080,1576,1556,1936,1842,1776,1858,1980,2051,1704,2007,2536,2725,1983,1751,1902,2079,1831,1721,1686,1657,1626,2117,2830,2039,1509,1393,1542,1565,1761,1659,1810,1760,1694,1860,1902,1758,1825,1843,2497,2714,2103,2031,1869,2018,1754,1722,1824,1391,1236,1234,1391,2041,2159,1999,1959,1706,1874,1736,1479,1511,1648,1593,1629,1782,1946,2182,1857,1790,2234,2041,1990,1206,1257,1836,2139,2319,2024,1953,2032,1454,1511,1549,1792,1934,1731,2109,2412,2004,1572,1919,2479,2280,2000,1818,2601,3410,3261,1806,1455,1608,1462,1095,1180,1519,1459,1501,1550,1467,1309,1387,1598,1523,1556,1466,1556,1556,1428,1454,1448,1465,1513,1680,1905,2354,2670,2499,1942,1586,1826,2027,1968,2070,2423,2425,2042,2352,2144,2060,2529,2319,2058,1848,1642,1763,2056,2019,1715,1602,1998,3376,3457,1770,1344,1490,2656,3053,2413,2316,2003,1457,1411,1565,1741,2046,2334,1663,922,1042,1697,2437,2763,2633,2108,1687,1779,2237,1969,1377,1619,1951,1666,1687,1741,1981,2036,2009,2587,2500,1913,1974,2169,2460,2004,2323,1790,1487,1650,2199,1884,1476,1172,1277,1707,1771,1738,1754,2075,1965,2100,2019,1563,1841,2007,1728,1897,2018,1931,1810,1629,1300,1309,1462,1649,1645,1382,1316,1360,1594,1784,1605,967,697,1269,1750,1947,1960,1722,1561,1536,1426,1459,1613,1441,1342,1385,1429,1478,1319,1452,2182,2732,2530,2070,1851,1811,1648,1466,1444,1484,1316,1306,1312,1298,1435,1705,1903,1855,1661,1528,1114,1432,1475,1709,1946,1728,1650,1756,1782,1872,2282,2415,2359,2141,2270,2222,2029,1912,1654,1289,1396,1471,1633,1698,1775,1567,1343,2031,2090,1683,1526,1739,1907,2023,2036,1684,1636,2142,2691,2292,2017,1769,1864,2098,1948,1773,1798,1670,1461,1445,1622,1620,1940,1825,1201,1364,1857,2152,1670,1548,1541,1737,2196,2114,2050,1913,1906,2177,2076,1624,1918,2108,2491,3466,3607,2404,1489,1347,1331,1848,2166,2028,1876,1813,1597,1614,1692,1978,2035,1698,1759,1961,2038,2203,2119,1972,2155,2060,2369,2774,2115,1552,1466,1612,2089,2279,2001,2136,2271,2156,2389,2291,1887,2072,1898,1456,1613,1764,1371,1391,1698,1720,1834,2174,1925,1509,1681,2009,2213,2300,2162,1730,1665,1954,1866,1349,1320,918,858,1331,1811,1638,1798,2040,1865,1498,1324,1382,1417,1567,1813,1859,1825,1718,1475,1488,1494,1990,2144,1952,1839,1872,1963,2043,1915,2085,1907,2142,2019,1807,2373,2114,1426,1534,1840,1920,2223,1986,1987,2380,2387,2274,2156,2396,2360,2222,2002,1782,1692,1717,1736,1689,1778,1910,2586,2443,2321,2425,3028,3118,2730,2256,1802,1918,2164,2262,2329,2292,2364,2472,1833,1688,1893,1878,1906,1871,1523,1480,1905,1800,1635,1870,1824,1753,1704,1779,1740,1968,2020,2248,2233,2210,2679,2820,2712,2285,2125,2060,2154,2024,2042,2136,2111,1864,1682,1628,1425,1304,1452,1407,1454,1669,1770,1868,2022,2376,2118,1646,1545,1524,1559,1632,1413,1318,1366,1452,1504,1548,1548,1676,1924,2026,2078,2190,2086,1912,1610,1180,1085,1056,1008,946,871,1294,1628,1785,2099,2459,2198,1554,1348,1344,1252,1371,1453,1600,1427,1352,1358,1566,1680,1510,1618,2526,2832,2170,1711,1548,1206,1144,1664,2009,1911,1879,1744,1498,1465,1601,1803,1699,1436,1410,1696,2320,2266,1636,1296,1212,1255,1532,1354,1168,1225,1176,1065,1195,1387,1284,1358,1298,1247,1214,1350,1855,1957,1739,1545,1362,1318,1278,1396,1582,1656,1834,2009,2389,2586,2014,1412,1562,1880,1930,1875,1788,1493,1968,2116,1824,1577,1638,2030,2241,1786,1812,2037,2148,2490,2200,1829,1742,2057,2378,2234,1799,1931,2306,2186,2135,1884,2324,1979,1788,2353,2566,2523,2235,1948,1633,1696,1800,1777,1935,2057,2234,1765,1689,1894,1930,1931,1998,2072,2186,2113,2034,1937,2025,2014,1740,1675,1537,1499,2078,2176,2134,2151,1948,1903,2126,2639,2450,2286,2436,2392,1870,1943,1783,1621,2257,2568,2468,2518,1920,1822,1939,1897,1929,1965,1937,1774,1806,1849,1928,1865,1398,1443,1805,1728,1588,1937,2215,1970,1715,1578,1741,1902,1881,2023,2061,2043,1711,1768,2231,2577,2370,2439,2502,1854,1490,1612,1658,1448,1560,1841,2056,2117,2336,2072,1939,1788,1560,1820,1575,1355,1401,1478,1310,1314,1510,1436,1573,1592,1755,1804,1484,1563,1622,1703,1828,1717,1562,1570,1616,1650,1660,1564,1891,1802,1663,1465,1642,1730,1909,2365,2411,2119,2001,1719,1716,1825,1632,1680,1652,1754,1544,1493,1622,1854,1962,1927,1906,1582,1584,2189,2791,3343,3307,3938,3806,3538,3592,2699,1622,1826,2293,1841,1830,2189,2008,1661,1585,1802,1828,2002,2281,2067,1607,1469,1620,1545,1358,1419,1710,2411,1889,1438,1876,2702,2751,2394,2546,2499,2110,1852,1943,1685,1549,1675,2355,3066,2765,2907,3292,2800,1909,1609,1844,2686,3031,2965,3382,3798,3517,3658,4079,4087,4003,3891,3571,3551,3156,2580,2690,2490,3082,3620,4824,4168,2658,2175,2311,2358,2084,1660,1729,1923,2248,2612,2610,2541,2184,1851,1764,2194,2362,2349,2445,2088,2003,1980,1828,1952,2263,2258,1966,1604,1564,1759,2060,1982,1814,2398,2799,2542,2368,2145,2210,2887,3037,2215,1703,1897,2216,2514,2631,2398,2175,2397,3046,3220,3072,3237,2639,2548,2292,2219,2546,2555,2050,1988,2624,2930,2586,2154,1765,2648,2237,2332,2674,2465,2770,2635,2050,2019,2126,2164,2586,2359,1629,1565,1661,1718,1694,1725,1534,1407,1556,1655,1802,1828,1630,1700,1433,2113,2320,1946,1956,2386,2395,2503,2775,2722,2928,2553,1874,1835,1708,2293,3100,3165,3050,2937,2752,2306,2223,2312,1907,1695,1821,1879,1472,1285,1368,1594,1571,1423,1476,1478,1410,1367,1200,1312,1267,1453,1876,1971,1938,1710,1615,1750,1749,1569,1436,1262,1342,1670,1471,1343,1390],[2236,2713,3266,3500,2932,3025,2866,3297,3395,3043,3100,3428,3393,3547,3790,3651,3797,3991,3263,2746,2759,2598,2382,2411,2382,2331,2455,2639,2924,2856,2689,2843,2916,2971,3096,3175,2761,2727,3509,3789,3530,3441,3130,2902,2998,3144,3082,2917,2964,2923,3008,3185,2994,3008,3034,2942,2894,2890,3182,3715,3775,3805,3200,3490,3541,3607,3166,2599,2273,2395,2851,2751,3199,3429,3434,3704,3550,2697,2662,3294,3651,3327,2956,2671,2321,2463,2335,2531,2583,2835,3135,2535,2761,3043,3075,2846,2513,2827,2810,2666,2090,1582,1685,2099,2259,2807,3272,3370,3439,3119,2669,3089,3185,3039,3106,3000,2834,2454,2191,2315,2665,2430,2655,2547,2344,2026,1980,3365,3614,2215,1478,1461,1548,2482,2056,2130,2304,2266,2195,2444,3107,2977,2518,1869,2336,3499,3395,3242,2927,2877,2897,2884,2715,2544,2784,2988,2568,2193,2297,2401,2275,1758,1672,1580,1519,1543,1903,2235,2543,2994,3300,3136,3001,2944,2148,1886,1981,1975,1775,2248,2880,2600,2345,2317,2700,3159,3493,3696,2795,2269,2403,2866,2669,2785,3160,2934,2314,1981,2109,2452,2273,1884,1800,1748,1904,1815,1782,1837,2742,3002,2365,2503,2805,2718,2656,2475,2319,2225,2587,2425,2764,3019,2798,2406,2029,1680,1759,2003,2203,2177,2452,2667,2452,2324,2990,2927,3283,2995,1928,2159,2482,2098,1775,1815,2532,2610,2677,2740,3031,2811,2406,2687,3406,3605,3302,3266,3371,2830,2037,1681,1628,1554,1501,1708,1658,1857,1765,1564,1953,2441,2358,1766,2121,3140,3187,2448,1791,1607,2030,1872,1694,1927,1753,1578,1564,1705,1470,1433,1690,1892,1590,1641,1844,2512,3166,2690,2108,2574,2747,2745,2664,2344,2432,2809,2953,2407,2482,3082,2598,1906,1528,1909,2172,1931,2014,1998,2145,1927,1763,1680,1822,1636,2017,2548,2470,2332,2732,2654,2333,2295,1940,2046,1698,1677,1566,1257,1149,1518,1907,1984,1914,2123,2182,1830,2076,1541,1802,1596,1455,1688,1937,1907,1781,1521,1780,1952,2005,1997,1742,1544,1605,1764,2014,1833,1677,2136,2190,1845,1599,1558,1974,2258,1718,1969,2661,3088,3430,2905,2987,2745,2265,2535,2958,2655,2176,2448,3138,3079,3021,2662,2878,2885,3095,3220,3347,3322,2942,2670,2906,3232,2849,1952,1991,2097,2325,2369,2089,1807,1831,1977,1757,2049,2168,2143,2316,2256,2298,3006,3358,2459,1930,2788,3520,3493,2604,2252,2725,2418,2083,2046,2686,2646,2377,2490,2554,2078,1656,1686,1930,1803,1807,2283,2125,1821,1651,1816,1798,1697,1591,1476,1335,1372,1722,2081,2054,1875,2030,1869,2673,2409,1776,1587,1658,1824,1973,2070,2034,1809,1810,1858,1560,1543,1644,2240,2371,2668,2590,2574,2102,1794,1599,1506,2172,2533,1914,2456,2448,1944,1822,1751,1650,1603,1852,2535,2464,1552,1238,1455,1799,2234,2296,2120,1980,1615,1714,1997,2933,2598,2144,2337,2176,2408,3452,2438,1953,2238,3041,2381,1910,2293,2570,2087,1723,1731,1530,1350,1422,1528,1306,1315,1644,1489,1456,1686,1378,1383,1571,1631,1710,1580,1354,1456,1520,1478,1722,1894,1960,2205,2246,2041,2045,1996,2137,1886,1853,1752,1958,2115,1976,2189,2255,2098,2237,2093,1776,1573,1650,1738,1724,1710,1619,1692,1574,1762,2767,3549,3410,2643,2612,3082,2967,2623,2092,1895,2289,1995,1436,1642,1870,1841,2026,1767,1703,1550,1554,2122,2030,1685,1641,1806,1667,1186,1382,1247,1453,1859,1620,1087,716,987,1754,1981,1833,1489,1469,1630,1442,1293,1494,1762,1420,1066,1318,1421,1958,1977,2042,2066,2086,2008,1956,1834,2683,2917,2450,2201,1847,2060,2680,3295,2673,2398,3090,3229,2498,2076,2162,2115,1744,1558,1621,1588,1501,1541,1748,1842,1884,1872,1883,1873,1737,1765,1860,1748,1571,1664,1958,1719,1621,1794,1726,1769,1809,1742,1783,1782,1914,1904,1846,1842,1716,1554,1520,1779,1749,1974,1738,1665,1719,1787,1657,1631,1683,1733,1874,1905,1895,1622,1743,1688,1688,1784,2051,2179,2156,2080,1964,1879,1895,1840,1832,1792,2440,2540,2174,2038,1727,1622,1741,1806,1692,1448,1441,1470,1588,2168,2061,1659,1781,1630,1613,1682,1637,1707,2071,2291,2143,2248,2238,2260,2079,1897,1783,1537,1820,1233,1256,1987,2226,2092,1719,1873,1966,1637,1818,1528,1647,1550,1083,1328,1304,1436,1584,1945,2151,2065,1984,2209,2520,2944,2516,1621,1213,1155,1269,1302,1395,1421,1395,1533,1483,1464,1391,1914,1549,1346,1566,1517,1521,1600,1550,1472,1440,1408,1419,1701,1641,1716,1917,2211,1941,1693,1656,1540,1743,2203,2348,2567,2128,2336,2261,2155,2009,1963,2366,2046,1666,1801,1815,1890,1997,1847,2110,3473,2626,1424,1254,1851,3142,3458,3275,2542,1656,1543,1608,2041,2040,1775,2060,1697,1244,1310,1782,2310,2572,2261,2125,1736,1855,2534,1707,1623,1616,1528,1637,1518,1850,2200,2250,2531,2373,2166,2286,2514,2311,1970,1423,1469,1548,1593,1457,1614,1472,1394,1468,1520,1576,1615,1487,1572,2094,1875,1656,1702,1821,1826,1671,1603,1600,1618,1688,1657,1399,1316,1399,1540,1587,1522,1386,1332,1325,1572,1705,1268,735,593,769,1246,1772,1844,1890,1621,1409,1178,1495,1627,1309,1342,1374,1561,1502,1418,1478,2125,2133,2191,1879,1592,1520,1490,1303,1350,1554,1211,1322,1317,1345,1488,1583,1765,1775,1621,1291,1394,1625,1588,1521,1740,1638,1782,1584,1572,1731,1950,2147,2140,2360,2502,2328,1929,1811,1682,1512,1538,1609,1443,1286,1307,1419,1119,1310,1587,1720,1716,1437,1636,1713,1705,1680,2122,2065,2061,1872,2150,1867,1780,2026,1862,1519,1477,1375,1333,1619,1901,1780,1819,1587,1146,1975,2587,2054,1676,1571,1382,1306,1642,1797,1901,1941,1737,1836,1770,1819,1970,2070,2551,2921,2785,2316,1889,1747,2169,2180,2242,1971,1869,1711,1474,1747,2147,2577,2401,1908,1595,1811,2174,2030,2085,2287,2370,2553,2894,3011,2392,1828,1593,1926,2198,2075,1939,2140,2277,2194,2135,2113,2091,1875,1533,1536,1839,1758,1660,1560,2146,2355,2024,2003,2345,2120,2140,2718,2678,2378,2059,1679,1763,2023,1906,1625,1055,830,1002,1201,1998,1926,1798,2093,1988,1743,1588,1425,1522,1782,1879,1772,1776,1706,1597,1593,1615,1731,2075,2074,1835,1826,1823,1937,1736,1869,1717,1767,1531,1837,2359,2176,1765,1609,1659,2082,2537,2235,2316,2531,2222,2127,2059,2176,2220,2291,2202,2090,2152,1939,1584,1560,1705,1947,2474,2117,2073,1856,2281,2695,2137,1806,2157,2425,2591,2691,2707,2322,2480,2416,1840,1786,1715,1710,1926,1902,1609,1964,2243,2008,1619,1853,1689,1675,1842,1816,1555,1425,1559,1910,2014,2021,2138,2187,2373,2530,2371,1932,1771,1786,1829,1707,1743,1794,1616,1682,1613,1009,1073,930,967,1477,1642,1621,1912,1998,1790,1535,1359,1358,1453,1490,1362,1390,1383,1433,1686,1724,1570,1445,1417,1567,2017,2458,2131,1725,1784,1562,1208,1001,973,979,903,1211,1600,1664,2049,2526,2409,1955,1498,1409,1480,1463,1604,1831,1771,1551,1527,1435,1539,1737,1843,2357,2241,1707,1449,1130,1005,1213,1723,2004,1945,1942,1804,1111,1074,1345,1595,1531,1389,1527,1829,2145,2168,1644,1268,1223,1567,1695,1175,1119,1296,1253,1297,1263,1286,1166,1114,1316,1418,1438,1391,1493,1511,1487,1343,1251,1420,1482,1437,1509,1745,1799,1768,2032,2231,1892,1640,1759,1950,1975,1915,1767,1592,2170,2597,1970,1747,2244,2481,2448,2045,2546,2276,2049,2185,1822,2055,2424,2415,2187,1873,1804,2090,3145,2991,2508,2584,2901,2658,2465,2571,2513,2056,1845,1714,1670,1693,2564,3090,2411,2233,2092,1579,1678,2016,2082,2495,2531,2288,2232,2035,2047,1949,2050,2026,2064,2028,1693,1544,1721,1988,1983,1646,1650,2008,2102,2443,2326,2074,1899,1828,1829,2177,1991,1754,2374,2655,2191,2544,1968,1568,1677,1678,1901,2251,2187,2174,2277,2150,2030,1773,1292,1448,1586,1571,1651,1787,1915,1883,1684,1613,2007,2387,2465,2834,2746,2375,1648,1978,2363,2017,2200,2562,2128,1728,1649,2024,2201,1772,1625,1535,1980,1908,1909,2041,1931,1969,2095,1788,1518,1434,1410,1699,1827,1730,1938,1754,1510,1543,2073,1994,1642,1542,1599,1773,1844,1855,1938,1705,1655,1586,1418,1635,1749,1656,1606,1587,1506,1487,1695,2138,1921,1769,1780,1694,1800,1729,1717,1899,1959,2078,1983,1691,1583,1740,1755,1881,2186,1774,1805,2381,2565,3142,3762,4041,3448,3868,4383,3065,1749,2454,2833,2106,1854,2316,1977,1742,1867,1834,1925,1918,1703,1661,1592,1466,1496,1456,1433,1391,1687,2376,1979,1593,2043,2388,2008,1822,2153,1994,1848,2753,2916,2507,2177,2056,2852,2598,1944,1997,1958,1787,1635,1759,2125,2566,2352,2363,3016,3432,3533,3797,4030,3977,4028,3895,3687,3874,3021,2612,2273,2921,3178,4336,4853,3273,2033,2103,2307,2126,1779,1829,2154,2089,2620,2771,2425,2244,2223,1510,1268,2079,2480,1967,1768,2064,2294,2003,2098,1706,1787,2197,2287,2202,2005,1854,2044,2060,2024,2645,2873,2835,2219,1611,1775,2309,1944,1537,1500,1730,2366,2469,1977,2101,1958,2126,2611,2778,3038,3114,2602,2379,2539,2944,3155,3055,2184,2077,2685,2376,2149,2475,2106,2179,2404,3437,3791,3368,2862,2375,1846,1515,1533,1573,2006,1817,1573,1511,1562,1454,1311,1507,1502,1759,2205,2049,2176,2212,1871,1927,1583,2449,3019,2729,2679,2932,2592,2361,2569,2516,2670,2464,2273,2048,1839,2050,2380,2204,2060,2043,1961,2055,2373,2007,1897,2615,2821,1732,1501,1659,1583,1599,1507,1375,1340,1267,1373,1435,1385,1556,1760,2121,2150,1815,1610,1630,1726,1825,1750,1460,1311,1306,1449,1765,1505,1496,1535],[3374,3710,3443,3196,2612,2425,2558,3197,3505,3163,3300,3311,3258,3627,3992,3979,3907,3565,2883,3042,2984,2625,2513,2536,2431,2454,2751,2796,2730,2684,2924,2950,2853,3010,3110,2865,2413,2390,3128,3836,3592,3428,3249,3287,3129,3046,3086,3016,2994,2971,3011,3064,3003,2939,2984,3400,3341,3133,3150,3596,3703,3665,3438,3324,3549,3619,3400,2763,2024,2353,3143,2856,3086,3431,3367,3731,3227,2318,2094,2484,3338,3618,2798,2498,2763,2420,1736,2093,2500,2678,2855,2655,3000,3156,3406,3197,3110,3407,2873,2220,2179,2178,2006,2055,1932,1960,2292,2786,2883,2423,2340,2945,3420,3752,3790,2943,2272,2189,2098,2137,2465,2524,2887,2442,1706,1643,1924,3363,3651,2023,1660,1667,1554,1344,1671,2315,2106,2251,3018,3265,3112,2743,2078,1638,2280,3117,3239,2919,2977,2950,2994,3040,2812,2942,3189,3217,2562,1995,1897,2472,2208,1838,1562,1484,1613,1757,1891,2147,2656,2949,2897,3018,3153,3256,3165,2785,2598,2375,2075,2795,2701,2322,2571,1749,2279,3162,2872,2891,2866,2765,2825,2835,2457,2540,2929,2800,2404,2097,2938,3799,3084,2341,2330,2082,2302,2451,2030,1904,2734,2624,2417,2764,2708,2813,2545,2586,2666,2175,2749,2995,3052,3194,3106,2844,2243,2042,2657,2859,2523,2217,2229,2480,2043,2190,2326,2110,2386,2196,2170,2460,1986,1872,1739,1922,2375,2929,2880,2674,2955,2800,2722,2984,3063,2898,2425,2562,3138,2963,2182,1814,1647,1521,1950,2173,1707,1423,1454,1505,1612,1837,1808,1548,2347,3103,3129,2402,1930,1880,2719,2281,1534,1548,1384,1576,1853,1789,1490,1483,1469,1450,1491,1664,1454,1509,1965,2029,3316,4205,3626,3247,3670,3008,2728,3055,3161,2462,1855,2258,2144,1307,1290,2019,2061,1783,2122,1973,1925,1730,1623,1692,1745,1975,2347,2353,2324,2099,1980,2387,2154,2040,1589,1864,1666,1475,1500,1392,1309,1476,1798,1860,1700,1547,1511,2094,2126,2127,2322,2286,2137,2009,2048,2450,2463,1642,1825,1850,1967,1928,1850,1889,1843,2050,2052,1834,1759,1866,2144,2200,2065,2047,2208,2391,2279,2446,2666,2940,3210,2921,2710,2572,2747,2770,2740,2417,2449,2896,3265,3250,3040,2813,3076,3515,3723,3584,3432,3337,2944,2282,2795,3680,3154,1898,1680,1857,2108,2221,1942,1567,1998,2078,1731,1961,1885,2019,2125,2302,2359,3316,3445,2423,2258,2808,2938,3124,2379,1919,2150,2068,2314,2268,2713,2155,1793,2176,2213,1931,1803,1640,1932,1865,2098,2222,2088,2031,1898,1918,1928,1717,1491,1447,1378,1619,2067,1966,1768,1720,1534,1824,2078,1854,1686,1676,1652,1622,1667,1901,2048,1791,1899,1988,1680,1565,1426,2192,2230,2359,2144,1517,1610,1855,1724,1707,2184,2352,1790,2011,2150,2022,2041,1923,1489,1511,1990,2100,1882,1422,1344,1814,1856,2198,2126,1902,1758,1542,1741,2416,2588,2015,1855,1780,2051,2018,2653,2571,2150,2075,2226,2007,1911,2107,2332,2138,1598,1437,1438,1534,1652,1526,1270,1387,2171,1926,1582,1548,1228,1227,1584,1554,1630,1353,1405,1598,1538,1630,2086,2630,3098,3653,3942,3884,3322,2856,3144,2579,2138,1715,1842,1983,1968,1729,1471,1784,2070,1952,1758,1560,1531,1481,1575,1655,1512,1616,1685,1915,2827,3919,4132,3443,3604,4002,3769,3670,2862,2047,2363,2085,1530,1569,1933,2305,1837,1512,1749,1618,1678,2721,2092,1386,1422,1735,1747,1196,1301,1433,1628,1988,1790,906,730,1104,1817,2062,1838,1386,1577,1814,1669,1615,1700,1972,1346,1051,1427,1435,2020,1948,1911,1877,1942,1942,1826,1879,2546,2898,2725,2260,1960,1973,2952,3431,2868,2679,3233,3310,2532,1909,1952,1738,1748,1753,1769,1544,1309,1519,1798,1717,1664,1873,2104,1841,1551,1470,1471,1736,1646,1812,1813,1612,1512,1764,1419,1487,1667,1555,1520,1507,1697,1710,1599,1379,1248,1215,1525,1775,1648,1432,1466,1465,1562,1548,1545,1439,1553,1571,1648,1539,1736,1730,1654,1643,1655,1755,1802,1792,1822,1770,1654,1512,1761,1771,1676,1760,1924,1936,1886,1876,1745,1619,1688,1676,1743,1709,1760,1775,1809,1927,1764,1644,1816,1979,2194,2145,2007,1907,2303,2566,2469,2377,2423,2332,2296,2092,1748,1885,2130,1629,1687,1991,2077,1938,1605,1659,2009,1709,1318,1419,1487,1162,1336,1691,1640,2050,2054,2023,1792,2015,2227,3030,2435,2049,1697,1458,1302,1133,1265,1478,1590,1417,1642,1605,1562,1729,1710,2322,1514,917,1783,1962,1657,1158,1190,1283,1460,1489,1532,1738,1755,2094,1884,1579,1677,1954,1997,1770,1631,2494,3041,2735,2225,2270,1921,2138,1875,1937,2603,2137,1843,1686,1762,1754,1990,2037,2072,2470,1865,1515,1544,2606,3325,3296,3072,2048,1643,1535,1690,2117,1823,1976,2391,2577,2052,1802,2076,2325,2319,2153,1985,1886,1641,2163,1976,1832,1604,1502,1731,1676,1936,2028,1683,2025,2636,2403,2178,2045,1882,1522,1410,1421,1682,1742,1714,1480,1471,1502,1484,1505,1504,1676,1504,2048,2303,2124,1982,2141,2221,1905,1340,1453,1687,1788,1698,1426,1389,1594,1466,1448,1359,1354,1409,1317,1412,1401,1384,1362,1148,763,976,1418,1643,1996,1871,1549,1406,1382,1628,1475,1382,1324,1324,1317,1458,1512,1534,1533,1388,1670,1834,1758,1712,1560,1211,1259,1568,1672,1448,1190,1418,1454,1618,1782,1787,1601,1542,1576,1411,1457,1482,1455,1515,1808,1414,1449,1629,1654,1764,1815,1939,2191,2073,1737,1794,1599,1577,1317,1350,1282,1274,1224,1410,1375,1476,1842,1941,1919,1707,1593,1868,1620,2131,2152,2016,1730,1656,1781,1670,1743,1963,1878,1661,1549,1472,1522,1943,1949,1866,1735,1621,1478,1923,2084,1755,1673,1716,1976,1644,1719,1647,1932,2008,1821,1717,1671,1832,2114,2648,2750,2585,2239,1950,2114,2470,2801,2059,2088,2045,1954,1940,1631,1786,2253,2814,2596,2501,1779,1586,1797,1988,2242,2446,2886,3072,3108,2850,2414,2384,1809,1863,1383,1124,1491,1769,2076,2022,1842,1950,1889,1553,1471,1782,1730,1792,1891,1617,2096,2132,1798,1765,2094,2089,2370,2856,2307,2006,2067,2062,1977,1934,2315,2298,1486,1163,1316,1992,2559,2364,2158,2109,2073,1986,1987,1785,1803,1881,1731,1416,1178,1588,1871,1828,2087,2105,2910,2142,1616,1688,1741,1960,1993,1856,1771,1648,1575,1671,1782,1941,2009,1863,1711,2294,2496,2855,2812,2514,2257,2112,2018,1802,2061,2380,2330,2075,2290,1786,1636,1718,1550,2192,2288,1801,1661,1792,2385,2360,1875,2410,2510,2389,3034,3283,3672,3420,2695,2220,2178,2064,1808,1709,1773,1711,1627,2018,2055,1821,1842,1917,1653,1781,2057,2089,1841,1655,1536,1779,1787,1804,1918,1906,1812,2372,2471,1801,1480,1620,1511,1468,1679,1816,1493,1583,1652,1148,1372,1457,1373,1516,1587,1821,2083,2042,1801,1523,1332,1606,1477,1430,1404,1456,1444,1604,1826,1738,1578,1703,1876,1964,2401,2689,2124,1703,1722,1893,1791,1383,1077,962,1074,1435,1568,1598,2039,2461,2541,2430,2082,1696,1555,1568,1718,2013,1903,1890,2068,1590,1571,1828,1797,1738,1836,2021,1686,1189,1151,1331,1473,1709,1859,1835,1840,1192,1220,1229,1315,1844,2040,1796,1666,1743,1809,1557,1469,1283,1351,1302,1264,1310,1396,1296,1388,1320,1151,1162,1189,1332,1428,1441,1230,1264,1612,1736,1665,1373,1426,1560,1523,1606,1741,1716,1811,1845,1833,1926,1908,1707,1731,1936,1787,1674,1586,1845,2236,1587,1929,2335,2348,2031,1944,2334,2327,2144,1890,1577,1735,1907,2235,2016,2066,2412,2567,3084,2657,2456,2873,3098,2741,2383,2450,2680,2747,2364,1556,1577,1792,2715,2505,1994,2289,2118,1478,1779,2178,2134,3061,3608,3739,3716,3076,2407,1947,1744,1783,1916,1836,1785,1780,1719,1862,1774,1869,2010,2135,1989,1743,1853,1840,1740,1897,1982,2059,1832,1594,1859,2409,2380,2542,1953,1708,1723,1614,1656,1921,2009,1969,2290,2346,1959,1849,1420,1345,1650,1750,2074,2215,1974,1713,1697,1586,1803,2531,2490,2729,2566,2091,1771,2335,2400,2162,2069,1782,1566,1643,1892,2294,2128,1707,1839,1707,1979,1822,1850,2018,1772,2009,2138,1887,1487,1504,1688,2046,2159,1879,2166,2011,1774,1781,1716,1644,1499,1475,1679,1687,1516,1701,1888,1460,1636,1623,1376,1315,1510,1600,1590,1437,1449,1502,1797,1753,1575,1613,1488,1788,2089,1787,1703,1875,1880,2091,2003,1793,1745,1744,1720,1650,1992,2177,2400,2578,2784,3100,3649,4046,3504,3475,3366,2193,1870,3274,3117,2533,1889,1611,1781,2078,2066,1932,2535,2321,2138,2062,1672,1491,1615,1795,1773,1614,1844,2602,2179,1697,2647,2338,1953,1636,1964,1779,1856,2734,3194,3294,2859,2436,2324,1854,1412,1598,1878,1771,1677,2375,3034,2931,2374,2285,2524,2912,3293,3576,3971,4042,3957,3860,3972,3977,2845,2844,2736,2717,3449,4672,4224,2630,1842,1944,2102,1776,1878,2621,2802,2562,2769,2862,2667,2513,2064,1518,1677,2409,2494,2021,1821,2075,1886,1952,1824,1469,1671,1883,2088,2862,2986,2365,2276,2002,1896,2150,2383,2298,2136,1992,1782,1763,1888,1897,2103,2248,2127,2082,1913,1901,1830,2377,2226,1887,2543,2584,1963,1970,2387,2968,2978,2514,2004,2111,2154,1973,2676,2952,2888,2722,2576,3195,3558,2599,1991,1789,1480,1315,1668,1853,1661,1516,1561,1598,1628,1431,1333,1585,1422,1882,2464,2145,2126,1963,1853,1913,1790,2281,2695,2482,2629,2649,2551,2611,2463,2338,1910,1373,1526,1694,1584,1497,1501,1520,1578,1657,1448,1348,1538,1554,2188,2958,2521,1639,1735,2017,1446,1191,1230,1335,1300,1316,1394,1347,1563,1765,2105,2104,1744,1533,1632,1664,1615,1483,1509,1601,1491,1484,1409,1509,1494,1475,1476],[3805,4037,3416,3012,2766,2927,2978,3284,3748,3342,3350,3128,2983,3081,3658,4165,3948,3246,3072,2975,2641,2591,2646,2610,2690,2732,2744,2701,2588,2755,2932,2896,2886,2944,2919,2563,2086,1982,2843,3693,3693,3417,3329,3365,3138,2993,3082,3141,3103,2953,2956,3117,3116,2985,2984,3343,3726,3364,3230,3486,3471,3574,3439,3518,3665,3631,3423,2226,1643,2187,2969,3175,3163,3311,3552,3541,2915,2428,2330,2786,2899,3576,2733,2442,3139,2707,1976,2406,2430,2610,2611,2703,3136,3549,3627,3616,3362,3155,2731,2442,2266,2374,2468,2400,2382,2028,2107,2601,2467,1805,1378,1986,3427,3753,3815,2864,2446,2484,2133,2171,2315,2407,2427,1944,1958,1418,1538,2747,2972,2283,2167,2386,1983,1440,2203,2484,2040,1836,2548,2560,2477,2344,1684,1892,1837,2600,3543,3483,2866,2379,2473,2786,2913,3283,3062,3009,2710,2236,2362,2183,1893,1976,1765,1561,1538,1577,2021,2402,2787,2822,2745,3260,3173,3149,3166,2635,2460,2212,2200,2893,2338,2234,2148,1720,2855,3574,2597,2678,3155,2806,2430,2589,2621,2630,2838,2812,2769,3008,3708,3851,2768,2035,2328,2448,2490,2604,2161,2195,2761,2352,2266,2868,2843,2555,2065,2670,2877,2706,3076,3029,2984,3093,2974,2237,1787,1881,2353,2465,2459,2576,2436,2041,2100,2348,2135,2305,2530,2209,2045,2122,1950,1990,1825,2190,2654,2903,2964,3075,2807,2355,2712,3077,3004,2935,2507,2943,3020,2944,2706,2140,1505,1665,2637,2678,2035,1568,1675,1698,1731,1627,1610,1927,2824,3155,2966,2370,1849,1858,2294,2164,1591,1466,1639,1848,2142,1915,1576,1549,1448,1327,1570,1599,1200,1333,1601,1973,3721,3882,3240,3155,3454,3444,2994,2840,3105,2502,1666,2222,2022,1103,1718,2467,2133,1930,2330,2026,1771,1811,1735,1819,1919,2187,2529,2363,2048,1781,1323,1513,1851,1974,1657,1766,1583,1503,1744,1488,1391,1616,1715,1719,1766,1960,1791,2081,2436,2578,2303,2753,2676,1975,1943,2061,1980,1716,1906,1864,1662,1914,2083,1865,1635,1750,1799,1707,1827,1925,2165,1947,1886,1752,1700,2081,2224,2122,1823,2109,2656,2723,2746,2644,2571,2282,2355,2456,2752,2941,3138,3227,2953,2688,3090,3603,3583,3405,3178,3121,3062,2286,2583,3006,2465,1720,1623,1624,1488,1659,1478,1578,1701,1487,1505,1581,1633,1433,1711,2094,2115,2333,2658,2543,2469,2857,2675,2897,2404,1958,1802,2100,2404,2089,2002,1841,1925,2156,2024,2010,1950,1491,1749,2152,2512,2419,2209,2425,2043,1615,1980,1933,1536,1549,1400,1566,1764,1725,1990,2348,2203,2090,1853,1695,1999,1841,1883,1888,1775,1746,1672,1879,2009,2119,2116,1759,1601,1642,1599,1819,1729,1576,1720,1943,1741,1960,1866,1594,1523,1947,2005,1907,2115,1875,1419,1519,1914,1840,1749,1519,1528,1887,1814,1771,1810,1862,1908,1577,1603,2099,2335,2078,1682,1586,2095,1770,2082,2386,1967,1914,1983,2032,2461,2590,2331,2067,1537,1444,1457,1559,1922,2020,1633,1685,2084,1768,1547,1667,1848,1336,1354,1375,1791,2201,1886,1606,1884,2736,3640,4077,4281,4344,4329,4340,4329,4109,4101,3277,2592,1999,1628,1881,2056,2226,2172,2288,2434,1897,1651,1533,1510,1520,1705,1778,1671,1843,1777,1709,2107,2786,3651,3620,3738,4329,4264,3971,3121,2007,2003,2043,1668,1576,1730,2222,1489,1120,1298,1240,1416,2286,1993,1581,1590,1798,1606,1359,1574,1437,1475,1723,1637,901,722,1081,1548,1673,1587,1424,1619,1680,1624,1837,1773,2084,1371,1237,1511,1502,1682,1874,1741,1627,1816,1888,1996,1963,2497,2902,2877,2140,1969,1949,2974,3286,3051,3376,3461,3165,2494,1981,2056,1577,1942,1977,1887,1451,1323,1484,1835,1745,1616,2006,2088,1835,1895,1593,1366,1650,1632,2031,1728,1466,1425,1543,1616,1789,1652,1515,1441,1689,2083,1776,1251,1252,1477,1340,1948,2477,1860,1735,1947,1345,1617,1649,1624,1374,1589,1655,1828,1816,1896,1864,1960,1762,1558,1887,2144,1966,1932,1886,1886,1959,2053,1867,1770,1801,1823,1970,2030,1881,1813,1443,1665,1891,1826,1693,1773,1748,1697,1861,1810,1731,1898,1990,1962,1925,2115,2039,2130,2084,2014,1995,2154,2061,2002,2103,2057,2166,2076,2036,2235,2176,1976,2075,1950,1870,1956,1743,1670,1852,1859,1543,1729,2214,2306,2568,2640,1988,1717,1844,2041,2279,2128,1786,1426,1283,1436,1506,1844,1932,2232,1779,1496,1544,1520,1538,1587,1687,1047,1219,2154,2395,2049,1000,1373,1355,1433,1416,1654,1572,1675,2025,1692,1799,2155,2125,2015,1582,1962,2756,3431,2908,2575,2330,2005,2297,2374,2453,2433,1858,1916,1844,2015,2095,2567,2463,2171,2015,1920,1899,2360,3448,3692,3770,2995,1890,1920,1716,1998,2076,1917,1901,2023,2190,2084,2314,2163,2065,2038,2337,2054,1814,1756,2441,2344,1787,1534,1691,1978,1673,1554,1640,1712,1844,2472,2597,1994,1653,1428,1387,1439,1554,1467,1510,1615,1417,1508,1595,1378,1715,1598,1387,1735,2208,2328,2049,1893,1794,1867,1877,1570,1681,1890,1828,1745,1417,1514,1441,1269,1369,1373,1496,1494,1473,1717,1404,1381,1804,1791,1427,1491,1512,1527,1969,2094,1560,1411,1444,1200,1224,1399,1547,1305,1153,1400,1491,1388,1354,1603,1751,1814,1765,1911,1737,1380,2020,2039,1621,1343,1315,1383,1574,1657,1509,1656,1770,1752,1595,1561,1482,1412,1416,1577,1431,1318,1690,1741,1428,1513,1500,1575,1830,1804,1806,1837,1701,1383,1362,1566,1502,1456,1260,1237,1305,1535,1855,2127,2097,1602,1209,1695,1411,1660,1788,1591,1520,1760,1958,1714,1909,2010,1884,1722,1663,1757,1965,2165,1883,1755,1732,1576,1556,1502,1452,1305,1584,1663,1865,1673,1570,1731,1954,1999,1889,1865,1718,1738,1910,1794,2045,2316,2348,2179,1810,1713,1970,1889,2123,1988,1855,1839,1626,1618,1763,2150,2076,1904,1767,1538,1392,1619,1970,2815,3432,3211,3042,3028,2939,3096,2097,1594,1353,1486,1738,1789,1652,1583,1786,1807,1803,1820,1603,1641,1444,1523,1659,1578,1544,1485,1666,1877,1975,1811,2068,2699,1957,1776,2106,2116,1793,1933,2371,2280,1929,1715,2070,2491,2416,2381,2191,2017,2001,1932,1946,1903,1716,1642,1472,911,1163,2053,1996,1964,2298,2199,2075,1687,1365,1410,1598,1732,1792,1730,1361,1294,1599,1592,1852,2127,1875,1915,2122,2251,2159,2515,2510,2138,2005,1887,1951,1930,2294,2031,2077,2160,1979,1836,2237,1839,1607,2006,2031,1953,1737,1952,2458,2117,1881,2514,2526,2922,2915,2831,3362,3110,2059,1768,2240,2545,2755,2108,1680,1607,1699,1695,1904,1861,1843,1692,1629,1816,1981,2077,2122,2051,1561,1619,1757,2075,2032,1975,2340,2720,2488,1871,1527,1577,1694,1780,1885,1998,1625,1743,1616,1294,1594,1758,1707,1649,1597,1679,1926,2261,1717,1477,1443,1811,1591,1365,1325,1477,1560,1585,1637,1733,1738,1858,1961,2047,2550,2769,2185,1705,1559,1751,1842,1748,1741,1313,1375,1598,1870,1943,2200,2011,2134,2424,2433,2144,1729,1659,1698,1743,1453,1542,1874,1673,1820,1832,1637,1503,1791,1938,1554,1260,1145,1130,1455,1767,1727,1743,1924,1352,1213,1266,1433,1971,1968,1464,1451,1945,2328,2072,1572,1519,1709,1725,1615,1492,1467,1472,1428,1350,1453,1537,1557,1378,1382,1227,1234,1461,1708,1924,1760,1408,1526,1654,1744,1748,1715,1650,1600,1535,1576,1794,1815,1741,1944,1935,1860,1931,1731,1693,2244,2136,2337,2546,2496,1831,1644,1803,2072,2409,1979,2358,2924,2162,2087,1825,1725,1810,2223,2598,2657,2750,2837,2744,2687,2548,2565,2884,2810,2293,1696,1600,1582,1887,1975,1910,1986,1946,1892,2298,2008,2156,2713,3461,3870,4480,4216,2993,1800,1555,1807,2104,2058,1980,1891,1876,1953,2005,1823,1745,1858,1925,1835,2042,2015,1725,1958,1684,1561,1773,1690,2380,2512,2618,2302,2217,2286,1870,1580,1521,1808,2128,2135,2707,2651,1841,1721,1527,1817,2196,2160,2262,2234,1915,1789,1958,1809,2209,2524,2183,2541,2448,2408,2972,2806,2510,2677,2275,1789,1527,1899,2347,1967,1566,1560,1665,1824,2330,2179,2025,1813,1711,2026,1999,1529,1361,1615,2155,2110,2084,1931,1902,1958,2177,2063,1534,1510,1437,1613,1903,1954,1913,1905,1473,1216,1551,1717,1499,1451,1489,1362,1391,1444,1435,1910,2138,2081,1906,1479,1333,1587,1802,1700,1532,1623,1802,2019,1961,1669,1648,1686,1564,1506,1622,1734,2075,2309,2435,2396,2254,2785,3084,2799,2535,2030,2289,3366,3031,2590,2156,1690,1581,1693,1771,2122,2916,2373,2068,2115,1673,1399,1500,1685,1792,1656,1933,2604,2126,1887,2446,2262,2138,1707,1538,1588,1851,2520,3420,3530,2984,2536,2377,1756,1636,2075,2076,1803,1912,3079,3461,3088,2941,2780,2467,2110,2634,3188,3789,4152,4073,4165,3996,3243,2871,2764,2367,2336,2846,3505,3243,2352,1688,1666,1873,1985,2624,3193,2625,2420,2600,2555,2698,2698,2676,2390,2217,2448,2143,1588,1859,1671,1464,1759,1644,1548,1895,1974,2099,2846,2802,2263,2322,2116,1694,1660,1936,2040,2033,2165,2168,2156,2262,2052,2276,2635,2657,2555,2530,2142,1910,2498,2424,1965,2384,2577,2231,2248,2379,2225,2106,1822,2125,2049,1613,1742,2242,2575,2754,2358,1678,2128,2654,1890,1888,1879,1625,1484,1692,1858,1654,1457,1447,1562,1771,1812,1606,1562,1558,2007,2103,1964,1728,1449,1608,1678,1626,1884,2317,2941,3011,2362,2326,2926,2454,2273,1526,1122,1616,1659,1309,1414,1546,1686,1720,1690,1425,1404,1458,1598,2597,3671,3292,2017,1657,1877,1493,1434,1362,1709,1643,1622,1600,1565,1832,1974,1827,1592,1602,1659,1626,1505,1619,1509,1538,1561,1481,1450,1507,1633,1447,1260,1497],[2742,2874,3561,3420,2903,3238,3132,3151,3879,3648,3035,2514,2461,2309,3040,3806,3693,3240,2913,2632,2634,2697,2764,2798,2740,2722,2604,2697,2812,2785,2753,2849,2902,2854,2548,2224,1864,1754,2374,3492,3442,2895,3264,3406,3171,2989,2990,3254,3231,2940,2909,3006,3023,3034,3033,3592,3797,3637,3560,3019,2932,3506,3573,3159,3084,3312,3244,2315,1704,2090,2151,2307,2843,3129,3284,3320,2893,2488,2364,3288,2646,3123,2872,2741,3075,2875,2837,2256,1888,2285,2097,2849,3252,3730,3606,4111,4211,3851,3228,2889,2383,2715,2801,2136,2283,2035,1902,2409,2580,2077,1580,1995,3431,4000,3779,2867,2445,2366,2134,2382,2340,2642,2868,2499,2337,1709,1924,2484,2663,2566,2257,2191,1869,1854,2478,2323,2365,2409,2777,2520,2450,1966,1654,2378,2590,2758,3420,3195,2470,2230,1874,2105,2680,2595,2279,2458,2354,2047,2037,1968,2151,2164,1748,1964,2170,2402,2217,2152,2344,2564,2943,3432,3211,2926,2831,2830,2544,2181,1987,1849,2159,2369,1973,2517,3318,3169,2605,2754,2958,2464,2316,2652,2546,2499,2656,2841,2254,2603,3416,3066,1907,1997,2579,2332,2329,2412,2394,3122,2944,1886,1701,2177,1766,1411,1677,2452,2710,2867,2973,2875,2888,2786,2236,1675,1822,1727,1847,1674,1958,2600,2620,2052,1819,1808,1800,1962,2113,1920,1694,1721,2128,2144,2005,1937,2229,2796,2986,2958,2894,2191,2552,3257,2778,2643,2389,2929,3180,3052,2858,2545,2121,2035,2318,2510,2530,2094,1889,1599,1550,1741,2035,2213,2695,2999,2595,1902,1521,1559,2300,2824,2300,1853,1703,1736,1945,1737,1463,1488,1448,1393,1472,1355,1347,1498,1408,2050,3216,3432,2911,3082,3726,3655,2980,2550,2757,2453,1482,2217,2082,1345,1899,2482,2206,1749,1731,1699,1732,1964,1974,2262,2298,2273,2192,2012,1875,1635,1494,2086,2617,2288,1948,2348,2370,1925,1837,1677,1809,1941,1904,1857,1927,1954,1886,2078,2298,2122,1912,2024,2047,1980,1981,2182,1674,1215,1504,1500,1094,1374,1666,1542,1628,1804,1760,1522,1567,1559,1612,1656,1672,1526,1539,1704,1619,1945,2467,2354,2289,2427,2243,2099,1901,1922,2268,2573,3077,3190,3096,3134,3205,3011,2744,2950,3403,3064,2946,3012,2894,2007,2031,2179,1811,1673,1694,1350,1420,1780,2112,2352,1923,1532,1534,1620,1760,1495,1538,1883,1941,1664,2142,2292,2693,3216,2976,2403,1964,1859,1726,2096,2409,2078,2035,1926,2632,2453,2526,2110,1946,1767,2291,2640,2734,2470,2086,2254,1904,1533,2040,2004,1598,1736,1576,1682,1784,1676,2052,2463,2087,2030,2030,1957,2261,1855,1652,1723,1752,1693,1666,1585,1803,2062,2061,1885,1867,1979,2054,2338,2276,1844,1982,1924,1858,2157,1960,1732,1677,1828,1982,2013,1977,1864,1758,1592,1939,2566,2322,1772,1544,1809,2003,1965,1974,1811,1911,1417,1562,1888,2043,1813,1549,1908,2318,1856,1689,2022,1946,1596,1652,2304,2109,1917,2019,2066,1996,1675,1505,1684,1683,1696,1815,1687,1500,1427,1693,2369,2231,1736,1506,1559,2152,2568,2286,1976,2054,3118,4108,4219,4388,4388,4388,4288,4124,3744,3541,3557,3777,2846,1830,2232,2508,4027,4008,3460,2300,1637,1584,1397,1418,1516,1764,1843,1828,1802,1684,2322,2510,2330,2590,3109,3620,4105,4296,3876,2708,1935,1905,1862,1684,1719,1759,2792,2002,1427,1354,1312,1281,1653,2004,2010,1983,1947,1784,1587,1549,1249,1328,1659,1469,947,656,1102,1654,1782,1743,1407,1366,1283,1413,1722,1908,2110,1637,1546,1438,1501,1710,1827,1812,1806,1806,1602,2031,1958,2302,2618,2570,1901,1773,1959,2806,3007,2909,3398,3298,2634,2037,2073,2352,2102,2000,1745,1352,1227,1298,1516,1659,1662,1826,2191,1995,1847,2090,1696,1533,1632,1543,1610,1418,1282,1283,1308,1681,1836,1550,2004,1829,1742,2070,2029,1465,1280,1476,1525,1740,2117,1808,2104,2408,1712,1757,1588,1392,1332,1334,1473,1656,1810,1967,2226,2471,1977,1710,2231,2584,2179,2040,2229,2755,3183,2873,2464,2484,2468,2154,2769,2842,2334,2384,2099,2088,2035,1994,1692,1628,1635,1664,2208,2356,2019,2046,2190,1886,1996,2051,2000,2196,2270,2132,1785,1884,2076,1989,2073,2155,1820,1765,1941,2053,1739,1731,1894,2109,2101,1989,2025,2094,2173,2128,1949,1953,2145,2120,2388,2406,2235,2066,1954,1943,1919,1965,1796,1607,1378,1571,1696,2706,2876,2410,1760,1492,1553,1708,1664,1507,1167,680,1561,2517,2988,2358,1443,1666,1733,1580,1604,1746,1257,1062,1343,1613,1937,2554,2342,2162,1840,2342,2504,2316,2013,1932,1869,1937,2382,2451,1737,1924,1876,1809,1768,1953,2272,2883,3452,3328,2665,2207,2075,2346,3134,3657,3714,2410,1670,1676,1599,1888,2010,1888,1742,1922,2006,1781,2142,2261,2291,2388,2178,2031,2031,2070,2457,2077,1584,1422,1454,1486,1495,1474,1407,1583,1780,2118,2120,1754,1670,1712,1569,1402,1466,1506,1599,1305,1342,1434,1569,1648,1766,1468,1340,1256,1468,2021,1921,1798,1606,1686,1960,1792,1809,1765,1668,1696,1465,1310,1260,1342,1446,1518,1682,1509,1371,1490,1309,1750,1846,1506,1642,1553,1680,2183,2420,2302,1502,1374,1314,1048,1318,1486,1923,1957,1618,1523,1450,1223,1525,1946,1950,2302,2142,1951,1700,1115,1661,1818,1547,1631,1734,1618,1845,1580,1511,1520,1528,1365,1363,1471,1445,1446,1626,1562,1418,1436,1945,2348,1762,1626,1441,1555,1636,1632,1662,1713,1703,1561,1633,1697,1733,1558,1252,1611,1763,1818,1989,1952,1688,1486,1667,1811,1542,1688,1898,1680,1450,1457,1556,1804,2000,2178,1820,1615,1631,1600,1756,1841,1732,1600,1517,1544,1664,1725,1600,1500,1535,1434,1827,2332,2185,1924,2055,1965,1773,1780,1728,1598,1622,1373,1611,2033,2231,2478,1837,1070,1283,1962,2555,1932,1873,1956,1883,1830,1853,1957,1970,2229,2487,2078,1592,1273,1411,2160,3139,3332,3055,3127,3181,3340,2491,1616,1521,1716,1643,1435,1484,1756,1876,1692,1910,2048,1809,1497,1383,1431,1295,1270,1318,1520,1771,1888,1771,1330,1587,2160,1999,1338,1267,1746,1737,1886,2099,2087,2098,2097,2107,2098,2161,2100,1851,1738,1661,1797,1840,1742,1653,1860,1694,1345,2116,2741,2502,1856,1759,1767,1615,1592,1539,1462,1411,1538,1730,1849,1808,1630,1626,1937,1992,1765,1510,1592,1860,2235,2320,2091,1944,1946,1933,1768,2302,2812,2718,2241,2158,2574,2256,2219,2563,2222,2032,1952,2208,2394,2285,2017,2209,2102,1961,2314,2658,2834,2753,2732,2928,2490,1663,1461,1880,2256,2623,2218,2148,2010,1684,1624,1736,1781,1773,1869,1913,1886,1983,1986,2531,2138,1790,1770,1791,1816,1849,1814,2006,2478,2494,1984,1647,1760,1583,1374,1842,1884,1564,1894,1770,1622,2053,1997,2036,2093,1867,1719,1488,1859,2155,1933,1656,1660,1544,1312,1444,1564,1577,1561,1687,1671,1713,1832,1576,1438,1966,2176,2179,1952,1483,1437,1439,1610,1866,1805,1617,1626,1652,2106,2393,2036,2039,2032,1855,1845,1686,1424,1391,1293,1127,1183,1610,1691,1647,1449,1375,1382,1482,1543,1315,1296,1193,1290,1692,1687,1740,1788,1910,1599,1341,1395,1497,1806,1677,1435,1896,2134,2380,2412,1865,1814,2062,1915,1638,1435,1480,1487,1306,1467,2002,1682,1382,1322,1351,1252,1309,1509,1647,1812,1759,1667,1622,1674,1775,1770,1675,1537,1534,1562,1547,1609,1473,1510,1909,2076,1927,1958,1844,1577,2175,2298,2114,1999,2200,2110,1829,1920,2492,2828,2337,2303,2820,2198,1921,1836,1809,1704,1876,2350,2723,2580,2464,2302,2754,2542,2331,2188,1974,1900,1769,1581,1442,1692,1910,1749,1810,1780,1704,1642,1819,2720,3284,3532,3496,3595,3781,3138,2199,2127,2182,2418,2190,1929,1837,1857,2148,2112,1818,2113,2207,2326,2662,2254,1978,1682,1958,1900,1677,1805,2514,2620,2116,2321,2301,2176,2244,1892,1640,1916,2288,2497,2700,2626,2012,1921,1629,1354,1765,2046,1835,2103,2352,2187,1971,1958,1590,1920,1869,1904,2205,2159,2533,2962,2555,2507,2460,2226,1698,1525,1637,1770,1620,1523,1531,1709,2031,1945,1803,1859,1522,1490,1721,1944,1636,1530,1848,2354,2304,2352,2338,2110,1791,2013,2126,1614,1499,1510,2042,2340,2223,2014,2048,2214,1810,1369,1576,1625,1509,1748,1687,2060,1651,1457,2294,2640,2425,1844,1405,1312,1509,1776,1668,1344,1412,1512,1798,2126,1805,1564,1737,1847,1911,1693,1477,1558,1680,1758,1598,1967,2465,2742,2614,2309,1935,2216,2668,2730,2721,2120,1658,1500,1454,1579,2353,2355,1875,1575,1704,1736,1552,1485,1383,1416,1489,1621,1866,2026,2009,1876,2475,2396,1663,1506,1626,1788,2705,3723,3405,2702,2017,1927,1616,1902,2249,2033,2070,2049,2562,3117,3117,2798,2821,2731,2507,2249,2689,2862,3211,3753,4268,3945,2883,2735,2786,2388,2376,2286,2458,2546,2248,1682,1678,1904,1805,2513,2955,2492,2558,2730,2607,2661,2402,2579,2963,2841,2503,1813,1636,1887,1730,1777,1923,1899,1959,2051,2279,2888,2752,2104,2039,2055,1718,1412,1730,2168,2046,1896,1808,1692,1838,1733,1469,1614,2502,2812,2608,2478,2177,1745,2082,2857,2835,3374,3794,3308,2229,2030,1864,2074,1857,2066,1913,1559,1810,2051,2205,2270,2358,2201,2565,2607,2567,2316,2063,2137,2319,2464,2228,1766,1532,1744,2366,1927,1681,1648,1569,1592,1954,2039,1791,1472,1392,1598,1655,1930,2041,2985,3598,2880,2473,2343,2417,2387,2254,1894,1611,1584,1591,1516,1793,1892,2049,2086,1863,1787,1639,1426,1652,2565,3064,2235,1893,1716,1598,1592,1812,1708,1931,1676,1522,1632,1898,1950,1646,1540,1535,1558,1476,1523,1572,1694,1516,1716,1708,1553,1532,1456,1547,1372,1417,1684],[2454,2939,3768,3564,3087,2728,2965,3123,3828,3724,2367,1850,2022,2001,2448,3059,3355,2962,2655,2565,2642,2692,2696,2749,2756,2728,2676,2730,2751,2761,2844,2840,2812,2636,2382,2136,1844,1625,2075,3227,3499,3377,3748,3761,3316,3061,2961,3111,3068,2810,2769,2976,3128,3051,3037,3551,3775,3574,3404,3098,2918,2876,3611,2921,3063,3372,3520,3196,2706,2590,2190,1917,2272,2295,2749,3083,2779,2343,2019,2354,2354,2687,2749,3088,3044,2786,3016,2588,2446,2049,2111,3087,3532,3479,3455,3813,4398,4210,3483,2913,2579,2691,2566,1972,1926,1891,2519,3471,3191,2776,2791,2787,3305,3497,2807,2241,2288,2243,2041,2246,2329,2940,3331,3376,2685,1967,2270,2386,2303,2251,1952,1792,1551,2010,2142,2388,2722,2829,3066,3053,2523,1842,1868,2876,2951,2168,2363,2479,2197,2302,1869,2009,2009,1375,1375,1647,1672,1570,1594,2124,2562,2218,2207,2530,2520,2775,2395,1810,1793,2391,3075,3139,2883,2830,2885,2783,1990,2030,2148,1770,2064,2288,2178,2488,2865,2755,2245,2465,2519,1897,2432,2666,2262,2259,2293,2160,1803,2502,2624,1894,1638,1765,1931,2136,2354,2871,2721,2852,2724,2040,2074,2405,1924,1581,2088,2554,2723,2964,2365,2675,2476,2174,1817,2020,2099,1844,1936,2071,2034,2175,2489,2426,1910,1642,1556,1620,1596,1631,1643,1635,1797,2150,2236,2155,2612,3182,3146,2909,3296,2583,2320,2610,1785,1811,2678,3074,2881,2642,2279,2669,2676,2450,1918,2059,2229,2387,1920,1592,1837,2136,2239,2334,2849,2965,2060,1549,1789,1822,1924,2129,2345,2280,1921,1536,1505,1643,1698,1701,1616,1469,1356,1318,1656,1811,1557,2166,2842,2850,2431,2312,2223,2117,1989,1885,1915,1976,1731,1890,1784,1586,1938,2053,1854,1576,1982,2272,2011,2129,2200,2013,1794,1935,1890,1745,1678,1722,1854,2270,2438,2129,2066,2143,2081,1625,1672,1683,1669,1686,1852,1995,2164,1925,1626,1836,1921,2010,2450,2492,2624,2153,1897,2283,1738,1543,1699,1447,1318,1515,1527,1544,1696,1730,1553,1659,1637,1618,1497,1358,1838,1837,1372,1569,1824,2210,2637,1892,2042,2587,1943,1901,1730,1696,1881,1988,1935,2083,2188,2390,2676,1798,1602,2264,3175,2124,1694,1781,1893,1962,2171,2022,1652,1756,2076,2114,1970,2242,2503,2370,2072,1666,1841,1906,1871,2141,1832,1747,1888,1597,1979,1985,2431,2675,2204,1757,1693,2105,2252,2383,2254,1791,1808,2353,3500,3199,3199,2325,1729,1950,2418,2304,2177,1991,1737,2023,2335,2040,1985,1926,1811,1700,1503,1750,2052,1822,1669,1756,1554,1823,2155,1900,1844,2181,2007,1727,1827,2034,1802,1654,1854,1879,2006,1599,1742,2268,2354,2722,2049,1780,2066,2051,2068,2087,1997,1786,1790,1943,1987,2163,2677,2499,2414,1898,2014,2296,1879,1622,1832,2159,1888,1930,1977,1855,1882,1199,1652,1829,1613,1296,1503,1925,1970,1774,1596,2184,2226,1544,1838,2719,2316,2006,1770,1561,1836,1823,1588,1592,1355,1546,1702,1478,1338,1506,1812,2111,2428,2416,2035,1800,1946,1818,1734,1843,1861,2509,3400,3488,3489,3859,4007,3760,3393,3120,3122,2864,2472,2297,2319,2347,2353,3353,4200,4165,2610,1910,1936,1547,1511,1703,1824,1851,1891,1796,2141,2786,2893,2644,2384,2495,3128,3852,3906,2791,1896,1876,1913,1676,1668,1677,1851,2265,2027,1810,1946,2237,1906,1646,1640,1546,1696,1915,1736,1408,1349,1301,1385,1612,1272,865,687,830,1397,1800,1770,1472,1576,1343,1436,1848,1868,1836,2019,1988,1670,1705,1761,1749,1881,1942,1713,1269,1582,1895,1969,2073,1895,1426,1287,1566,2163,2193,2353,2585,2467,2110,2075,2056,2299,2249,2031,1509,1234,1324,1500,1683,1792,1857,2149,2521,2317,1984,1942,1709,1836,1682,1826,2154,1493,1456,1451,1663,1779,1578,1443,2137,1959,1691,2167,2207,1743,1563,1845,1458,1329,1695,1767,2060,2250,1935,1621,1436,1415,1288,1335,1682,1792,2007,2205,2142,2174,1858,1722,2432,2602,2143,1949,2080,2778,3455,3318,2450,2367,2510,2237,2322,2520,2493,2280,1547,1434,1582,1698,1605,1497,1411,1468,1792,1704,2004,2069,2304,1891,1834,1861,1863,2093,2499,2198,1707,2182,2287,2014,2059,2089,1662,1671,1693,1812,1657,1771,1994,2094,1865,1777,1753,2018,2098,2199,2280,2192,2310,2247,2279,2178,2020,1972,1982,1915,1935,1909,1741,1775,1743,1958,1864,2595,3144,2425,1654,1567,1500,1608,1508,1424,974,904,1803,2779,3114,2729,2164,1614,1416,1377,1709,1757,1161,1166,1202,1456,2092,3008,2902,2382,1787,1736,1579,1429,1521,1510,1317,1309,1965,1938,1525,2088,1854,1670,1678,1946,2184,2707,3651,3880,3619,2702,2303,2081,2469,3142,2907,1845,1447,1417,1369,1411,1643,2062,2087,1983,1946,2117,2792,2646,2857,3113,2930,2752,2284,2309,2556,2323,1929,1820,1324,1383,1507,1361,1348,1424,1702,2009,1977,1823,1736,1887,1691,1382,1401,1548,1538,1198,1208,1237,1330,1700,1783,1300,1267,1226,1432,1990,2038,1733,1570,1595,1930,1802,1765,1482,1321,1593,1538,1522,1512,1501,1606,1480,1545,1454,1656,1973,1679,1722,1554,1448,1688,1575,1869,2127,1619,1584,1499,1696,1500,1508,1587,1551,2144,2732,2349,1603,1418,1631,2057,1813,1795,1972,1900,1878,1277,761,1013,1351,1684,2057,2081,1875,1998,1676,1460,1331,1440,1544,1445,1416,1301,1269,1387,1400,1363,1699,2586,2923,1937,1323,1526,1583,1459,1479,1591,1693,1793,1770,1701,1728,1675,1442,1741,1848,1735,1953,1954,1873,1510,1387,1737,1826,1656,1673,1682,1744,1503,1360,1381,1474,1723,2042,1959,1950,1905,1710,1601,1713,1637,1527,1484,1492,1963,1987,1695,1748,1738,1682,2074,2609,2743,2218,2121,1865,1687,1499,1665,1506,1407,1709,1772,1907,2227,2164,1698,1287,1417,1963,2442,1877,1859,2151,2077,1726,1576,1693,2118,2688,2459,2199,1808,1335,1307,1683,2427,3095,3333,3342,3164,3089,2540,1837,1614,1535,1428,1333,1458,1472,1460,1580,2092,2453,2318,1834,1644,1438,1103,1114,1503,1901,2177,1792,1535,1489,1887,2111,2027,1225,937,1236,1343,1605,1830,2083,2015,2116,2089,2049,2069,1953,1808,1706,1763,1815,1774,1913,2113,2140,2113,2006,1948,2170,2668,2132,1691,1584,1660,1807,1889,1682,1479,1523,1561,1776,1839,1663,1481,2056,1971,1570,1510,1485,1558,1894,2103,2342,2208,2070,1355,1982,2776,2834,2540,2687,2663,2362,2185,2648,3200,2773,2215,2041,2131,2149,2489,2908,2933,2017,1750,2534,2734,2573,2503,2404,2255,1843,1615,1655,1607,1699,2069,2362,2613,2176,2007,2047,1955,1926,1875,2304,2116,2020,2102,2609,3271,2851,2122,2008,2202,2073,2049,1694,1676,2136,2187,1878,2009,1908,1565,1509,2006,2053,1669,1708,1644,1374,1379,1873,2140,2100,1660,1736,1708,1935,2188,2028,1840,1780,1919,1805,1870,1621,1730,1974,1893,1708,1481,1567,1376,1272,1504,1809,1870,2058,1726,1321,1151,1157,1438,1588,1574,1870,2264,2502,2365,2026,2010,2023,1644,1544,1593,1775,1941,1508,1312,1437,1496,1492,1370,1321,1354,1279,1251,1293,1308,1378,1386,1423,1312,1225,1423,1624,1821,1808,1551,1406,1239,1465,1441,1792,2176,2145,2544,2802,2143,1698,1742,1719,1487,1432,1453,1544,1280,1379,1830,1575,1286,1297,1451,1526,1594,1776,1802,1818,1751,1684,1262,1404,1481,1620,1602,1573,1707,1550,1451,1514,1631,2064,2563,2476,1685,1896,1952,1980,1979,2136,2112,1985,2487,2552,2033,2062,2122,2376,2242,1904,2004,1771,1676,1899,2000,2001,1926,2114,2568,2059,2018,2047,2456,2141,2017,1761,1757,2067,2075,1880,1835,1748,1736,1757,1730,1642,1596,1654,1884,3105,3559,3014,2824,2785,3047,3013,1972,1729,1759,1745,1648,1745,1895,1905,2235,2302,2576,2915,2197,2074,2525,2025,1555,1393,1700,2014,1728,1440,2243,2604,2192,2145,1890,1436,2037,2686,2535,2872,2887,2513,2418,1885,1682,1761,1610,1571,1697,1676,1673,1774,1907,1709,2134,2586,1969,1930,2076,1807,1861,2332,2633,2791,2590,2555,2143,2314,1758,1410,1383,1481,1550,1486,1466,1852,2370,1879,1902,1863,1451,1456,1814,1910,1961,1879,1994,2122,2179,2303,2358,2141,1599,1853,1910,1561,1424,1460,2039,2205,1757,1500,1576,1543,1427,1509,1899,1775,1461,1585,2291,2286,1602,1592,2355,2837,2183,1617,1461,1501,1838,1824,1764,1474,1426,1274,1584,1896,1860,1849,1853,2235,2221,1754,1387,1462,1677,1688,1696,2011,2635,2697,2489,2141,1837,1869,1953,2093,2299,2113,1634,1564,1452,1925,2687,2098,1780,1599,1548,1726,1675,1517,1328,1381,1313,1314,1406,1567,1725,2054,2603,2191,1676,1792,1648,1745,2653,3298,2744,2165,1697,1912,1764,1655,1529,1618,1767,1870,2387,3067,3088,2633,2941,3124,3567,3343,2802,2383,2432,2761,3516,3488,2722,2880,2874,2633,2466,2247,2354,2631,2128,1526,1630,1864,1768,2337,2835,2587,2416,2845,2834,2441,2114,2511,2985,3211,3004,2492,2211,1901,1641,1770,2111,2396,2067,2676,3331,3593,2899,1886,2066,2354,1956,1902,1974,2009,1830,1626,1446,1385,1643,1639,1494,1457,1864,2148,2012,1725,1822,1837,2160,2642,2790,3222,3241,3024,1966,1555,1548,1545,1478,1571,1643,1498,1592,1983,2163,1886,2013,1893,2083,2323,2288,1817,1644,1959,2347,2335,2230,1765,1705,2016,2209,1828,1875,2177,2148,1822,1729,1790,1557,1519,1619,1824,1675,1910,2204,2985,2786,2719,2857,2712,2909,2542,2028,1787,1530,1478,1623,1548,1460,1815,2157,2139,1827,1513,1507,1726,1859,1902,2363,2092,1831,1710,1433,1510,1785,1769,1727,1773,1920,1894,1803,1648,1596,1579,1595,1647,1543,1480,1504,1438,1356,1485,1500,1672,1790,1613,1714,1454,1555,1633],[2330,3330,4522,3723,3117,2894,3364,3350,3162,2890,2302,2150,2222,2428,2474,2641,2788,2612,2557,2557,2636,2708,2745,2766,2741,2765,2842,2877,2768,2743,2854,2853,2668,2486,2482,2224,1955,1744,1968,2967,3745,3929,4152,3836,3274,3299,3062,3032,2902,2784,2736,2975,3131,3008,2945,3253,3539,3320,2866,2945,3251,2953,3343,3377,3550,3131,3160,3207,2785,2829,2867,2511,2634,2432,2618,2494,2315,2236,2272,2243,2359,2753,3055,3357,3294,3255,3731,3227,2918,2720,3066,3481,3720,3219,2723,3104,3785,3947,3423,2707,2267,2311,2215,2318,1766,1859,3285,4184,3693,2996,2907,2588,2153,2213,2240,2095,2185,2129,2026,1996,2574,3227,3319,3322,2659,2127,2276,2352,2388,2377,1765,1753,1550,2335,2781,2779,3000,2951,3088,2996,2302,1963,2330,2879,2675,1958,1779,2034,2387,2447,2094,2388,2750,2416,2010,1985,1665,1267,1180,1739,1979,2147,2677,2858,2834,3054,2752,2093,1757,1852,2811,3161,2999,3062,3001,2412,2031,2596,2552,2398,2368,2312,2269,2206,2709,3072,2117,2327,2004,2075,2685,2544,2294,2243,1864,1769,2176,2633,2330,2038,1834,1693,2578,3173,3326,3531,3552,3139,2708,2497,2532,2668,2336,2339,2298,2413,2391,2692,1920,2189,2210,2281,2372,2524,2476,2148,2044,2126,1933,1827,2081,2186,2204,1915,1606,1559,1696,1875,2156,2050,2018,2481,2409,2094,2196,3105,3238,2990,3021,2231,1898,1897,1506,2433,3498,2763,2222,2641,2200,2508,2674,2793,2456,2221,2546,2473,1928,1846,1830,2022,2298,2353,2500,2627,1662,1533,1548,1468,1865,1785,1879,1914,1390,1151,1367,1757,1583,1562,1635,1550,1450,1461,1449,1640,1648,2186,3153,3174,2322,2037,2057,2239,1847,1777,1797,1814,1628,1998,2071,1687,1838,1953,1750,1800,2215,1844,2036,1878,1907,2000,2244,2502,2134,2029,2466,2327,2084,1975,1717,1571,1862,1605,1481,1388,1345,1413,1412,1618,2012,2397,2691,2493,1817,1634,1672,1686,1854,2319,2641,2409,2270,2360,1932,1736,1710,1551,1577,1572,1689,1741,1990,2315,2126,1897,1765,1931,1573,1406,2083,1977,1597,1951,2089,1929,1922,1930,2592,2604,2018,2178,2214,1850,2194,2422,2094,2007,1869,2054,2754,2438,2229,2319,2439,1634,1269,1276,1294,1748,2168,2056,1740,1885,2045,2113,1984,2335,2126,1831,1875,1957,1785,1641,1830,2254,1798,1654,1686,1624,1691,1581,1703,2006,1893,1550,1543,1961,1958,2168,1976,1870,2063,2663,3482,3696,2900,1903,1876,2394,2496,1772,1735,1757,1630,1752,2479,2208,1773,1876,1977,1659,1528,1881,2284,1971,1488,1648,1650,1853,2158,2009,2003,2401,2072,1656,1860,2002,1939,2417,2471,2307,2564,1930,1848,1993,2307,2313,1896,2104,2238,2117,1926,1694,1604,1488,1664,2330,2187,2301,2649,2308,2070,1934,1954,2026,2015,1648,1813,2106,1918,2204,1767,1455,1483,1630,2013,1776,1472,1541,2033,2037,1527,1552,2130,2645,2058,1393,1525,1935,2150,2143,1779,1542,1716,1720,1607,1507,1506,1690,1738,1448,1420,1656,1459,1345,1669,2223,2513,2007,2092,1834,1492,1540,1530,1709,1833,1781,1898,2445,2569,2652,3153,3527,3454,2858,2680,2370,2380,2076,1977,2250,3196,3580,2307,1653,2046,1581,1631,1656,1654,2066,1840,1593,1881,2408,2786,2909,2724,2461,2463,2570,2739,2478,2248,1878,1760,1455,1520,1633,1603,1701,2003,1869,2020,2248,2186,1982,1798,1649,1696,1904,1657,1293,1246,1278,1222,1272,1238,987,845,771,1332,1838,1553,1235,1623,1527,1628,2186,1937,1705,2021,1938,1804,1775,1827,1825,1925,1810,1601,1140,1026,1572,1969,2055,1858,1378,1420,1576,1985,2017,1998,1912,1913,2016,2116,2074,2071,2166,2302,2010,1678,1520,1613,1310,1722,1951,2029,2451,2333,2291,2027,1820,1994,1680,2745,3173,1748,1488,1496,1769,1570,1563,1508,1804,1782,1579,1837,2025,1605,1390,1324,893,1401,1616,1715,1820,1746,1885,2017,1976,1750,1444,1618,1881,1714,1671,1883,1809,2045,2036,1582,2208,2620,2322,2040,2115,2532,3032,2742,1936,2139,2118,2263,2447,2351,2253,2006,1504,1722,1860,1606,1714,1748,1764,1751,1619,1704,2083,1983,2126,2000,1739,1769,1691,1882,2336,2157,1593,2125,1825,1867,2164,1948,1871,1862,1503,1589,1603,1529,2216,2655,2079,1788,1860,2120,2023,2220,2297,2488,2979,3190,3196,3010,2504,2244,2554,2514,2359,1855,2026,2104,1721,1911,1925,1880,2231,2113,1931,1656,1609,1585,1475,1582,1280,1478,2219,2742,2472,2622,2415,1344,1081,1123,1648,1735,1389,1542,1543,1392,1654,1839,2293,2230,1534,1412,1534,1481,1374,1067,1053,771,1320,1699,1328,1281,1481,1457,1588,2101,2587,2875,3547,3617,3195,2480,2377,2152,2097,2146,1953,1953,1942,1576,1403,1419,1391,2322,2854,2518,2536,2728,2644,2286,2379,2757,2951,2508,2180,2885,2878,2799,2114,2282,2253,2186,1749,1371,1335,1368,1584,1771,1990,1958,1830,1708,1700,1816,1605,1472,1121,1019,1164,1302,1333,1452,1660,1529,1430,1520,1939,2171,1808,1775,1498,1427,1786,1810,1659,1404,1732,2358,1843,1687,1563,1278,1245,1348,1385,1343,1911,2285,1871,1621,1957,1888,2005,1640,1662,1486,1509,1405,1416,1633,1563,1574,1530,1440,1510,1736,2012,1641,1470,1787,1850,1835,1580,1738,1908,1750,1398,1230,1716,1864,1951,2270,2244,2556,2286,1740,1350,1400,1440,1588,1781,1592,1513,1512,1400,1450,1514,1786,2044,2217,1843,1543,1596,1502,1312,1259,1452,1576,1715,1607,1709,1671,1719,1717,1916,2126,2421,2182,2039,2049,1723,1586,1764,1770,1665,1498,1521,1576,1572,1527,1359,1295,1537,1870,1747,1534,1626,1500,1613,1931,1535,1585,1613,1460,2075,2009,1678,1527,1561,1745,1977,2146,2382,2104,1907,1782,1790,1728,1620,1422,1711,1998,1512,1534,1732,1581,1466,1699,1743,1892,1964,1601,1584,1737,1693,1524,1575,1721,2061,2198,1844,1642,1487,1431,1381,1478,1603,2141,3066,3356,2766,2366,1932,1570,1438,1285,1332,1335,1556,1503,1564,1765,2149,2753,2724,2130,1763,1662,1316,1372,1699,1933,1857,1732,1652,1761,1891,2304,2532,1963,1241,1362,1480,1449,1527,1794,1809,2145,2316,2188,2098,1999,1897,1908,1791,1702,1889,2318,2302,2199,2025,1861,1697,1699,2181,2301,2014,1927,2066,1932,1731,1466,1544,1645,1531,1622,1759,2070,1750,1776,1866,1704,1630,1602,1726,1656,1702,2502,2252,1994,1716,2118,2526,2723,2749,2898,2877,2060,1985,2515,2612,2558,2268,2232,2189,2219,2352,2788,2898,2069,1747,2473,2604,2517,2375,2374,2039,2116,2080,1912,1669,1706,1867,2326,2379,2160,2643,2558,2530,2120,1815,2329,2223,1825,1997,2827,3652,3511,2706,2670,2542,1933,1802,1831,2196,2208,2289,2019,2542,2508,1851,1616,1704,1666,1616,2220,2268,2018,2415,2984,3053,2954,2664,2587,2652,2844,2808,2531,2270,2086,2015,1580,1625,1731,1830,1958,1914,1664,1537,1523,1257,1162,1562,2100,1835,1576,1498,1134,1093,1046,1145,1413,1460,1752,2420,2496,2045,1814,1779,1886,1707,1827,2258,2452,2349,1738,1371,1474,1481,1340,1221,1165,1225,1288,1287,1340,1461,1500,1477,1331,1226,1230,1189,1577,1749,1860,1555,1399,1135,1147,1664,1669,1530,1444,1731,2064,1764,1481,1392,1390,1409,1455,1425,1471,1322,1240,1526,1651,1559,1590,1690,1691,1810,1865,1664,1667,1594,1517,1256,1589,1765,1752,1636,1502,1561,1426,1477,1666,1841,2086,2126,1732,1452,1872,2373,2272,2102,2359,2059,1902,2276,2615,2076,1930,1829,2051,2101,2235,2208,2026,2002,1618,1828,2030,1883,2234,2356,1919,1582,1937,2053,1892,1869,1668,1732,1784,1469,1534,1829,1753,1829,1610,1647,1928,1724,1647,2071,2988,2943,2273,2284,2426,2658,2924,1869,1484,1546,1510,1598,1776,1968,1908,2081,2514,2375,2125,1664,1577,1773,2051,1598,2073,2508,2187,1737,1263,1302,1953,2298,2052,1743,1527,2489,3683,3059,2576,2442,2486,2558,2236,1847,1600,1635,1914,1816,1948,2093,1787,1814,1761,2600,3132,2370,2031,2042,1722,1925,2486,2512,2714,2670,2447,2025,1748,1573,1578,1538,1444,1528,1461,1568,2485,3068,1952,1797,1791,1973,2099,2195,1863,1546,1472,1583,1731,1881,2119,2210,2060,1749,1891,1843,1634,1516,1785,1981,1749,1553,1388,1295,1258,1399,2045,2707,2154,1619,1549,2042,1836,1690,1788,2070,2079,1627,1852,1625,1725,1789,1757,1869,1520,1296,1382,1728,1706,1657,1824,1885,1815,1828,1911,1585,1598,2054,1770,1575,1632,2139,2663,2715,2128,1629,1586,1789,1750,1916,2122,1923,1924,2067,2448,2559,2088,1549,1286,1297,1487,1754,1554,1369,1412,1281,1282,1306,1385,1745,2312,2424,1937,1929,1958,1584,1478,1798,1897,1920,1948,1958,1960,1949,1584,1306,1532,1469,1602,2056,2464,2702,2619,3050,3430,3626,3200,2522,2266,1981,2051,2846,2822,2573,2899,2823,2989,2937,2691,2624,2364,2006,1900,1975,2025,1888,2186,2790,2894,2497,2704,2720,2493,2397,2696,3020,2995,2932,2967,2740,1904,1524,1483,1630,1923,1963,2624,3108,3022,2209,1435,1533,1981,2485,3046,2951,3002,2422,1715,1453,1494,1649,1666,1645,1614,1583,1761,1966,2089,2222,2140,1947,1848,2025,2073,1947,1781,1526,1466,1417,1440,1526,1560,1685,1504,1528,1729,2102,1896,1765,1583,1519,1582,1487,1428,1591,1629,1936,2146,2305,2409,1877,1664,1672,2081,2316,2375,2242,1675,1520,1592,1491,1506,1720,1624,1509,1536,1928,2388,2513,3056,3528,3370,2988,2164,1788,2303,1972,1988,1765,1419,1733,2223,2097,1958,1719,1413,1419,1887,2126,1775,1649,1349,1477,1899,1666,1546,1694,1786,1947,2198,2208,1800,1582,1647,1776,1498,1781,1696,1444,1541,1607,1455,1422,1683,1709,1520,1612,1634,1670,1540,1547,1593],[2586,3005,4309,4296,3416,3156,3372,3149,3002,2942,2598,2828,3072,3487,3176,2861,2507,2429,2468,2548,2652,2720,2710,2712,2754,2827,2865,2768,2790,2809,2813,2878,2678,2708,2542,2281,2101,1815,1880,2862,3978,4049,4009,3753,3449,3426,3320,3122,2934,2943,3034,3046,3006,2931,2947,3396,3550,3405,3034,2620,3035,3150,2901,3011,3203,3172,3207,3121,2898,3164,3256,2958,3232,3323,2898,2209,1992,2103,2193,2151,2422,3216,3520,3470,3576,3288,4002,3772,3487,3747,3865,3961,3717,2634,2204,2675,2941,3198,3098,2932,2539,2298,1947,1976,1712,2170,2968,3584,3648,2900,2587,1998,1958,2042,2060,1849,1667,1710,1971,1985,2830,3508,3401,3142,2303,1832,1911,2210,2375,2293,1826,1592,1649,2313,2543,2531,2958,3101,2972,2363,1904,1807,2376,3010,2557,2059,1994,2376,2428,2469,2286,1940,2400,2984,2612,2569,2165,1721,1528,1664,1604,1835,2659,3331,3284,2986,2292,1975,1763,2069,2813,2916,2890,2976,3394,3038,2421,2677,2681,2366,2575,2537,2535,2890,2866,3169,2896,2844,2147,2570,2502,1960,2259,2359,1949,2151,2405,2357,2128,2312,2399,2261,2731,3464,3125,2954,3660,3870,3413,2779,2522,2708,2259,2226,1763,1812,2392,2621,2068,2078,1798,1906,2306,2531,2636,2080,2371,2433,1962,1866,1858,1733,1886,2015,1904,1661,1741,2351,2865,2620,2105,2307,2575,2456,2355,2984,2622,2380,2778,2623,2134,1794,2119,3354,3648,3102,2591,2382,2138,2812,2858,2645,2565,2507,2746,2422,1697,1603,1619,1685,2047,2282,2326,2086,1516,1437,1578,1861,1970,1685,1650,1734,1430,1317,1540,1818,1530,1619,1458,1310,1474,1830,1669,1554,1649,1818,2588,2832,2042,1929,2044,2299,2187,1804,1402,1387,1454,2926,3666,2480,2062,2189,1950,1982,2175,2049,2261,1809,2086,2707,3235,3595,3174,3023,3115,2718,2236,1938,1800,1702,1739,1793,1524,1319,1383,1483,1610,1726,2055,2436,2801,2787,2283,1982,1655,1484,1387,1544,2025,2232,2278,2246,1659,1382,1440,1524,1603,1638,1688,1610,2089,2372,2652,2100,1502,1642,1504,1731,2211,1790,1662,1757,1632,1421,1453,1744,2204,2272,2346,2686,2448,2049,2263,2485,1987,2135,2769,3076,3260,2928,2556,2868,3196,2930,2675,2359,1694,2056,2513,2302,2108,1974,1768,1575,2035,2518,2551,2285,2297,2546,2285,1615,1284,1614,1785,1888,2169,2207,1649,1565,2014,1987,1899,2060,2113,2165,1447,1590,2141,2692,2961,3404,3501,3254,2274,1825,2046,2290,2284,1970,1797,1672,1615,1842,2039,1901,1843,1749,1573,1549,1626,1784,1861,1861,1666,1912,2088,1907,2013,1895,1990,1980,1378,1311,1603,1763,2330,2386,2600,2424,2313,1943,1974,1908,2314,2395,2006,1842,2026,2127,1858,1521,1501,1657,1871,2173,1832,2055,2267,2042,2198,2360,2151,2189,1860,1787,1592,1712,1683,1695,1617,1489,1547,1940,1901,1736,1881,2042,2258,2077,2030,2214,2252,2723,2130,1374,1368,1565,1894,2262,2111,1803,1563,1553,1387,1375,1575,1997,2019,1866,1844,1547,1390,1475,1410,1629,1788,1582,1885,1668,1383,1366,1252,1240,1280,1340,1583,1753,2051,3185,4039,3952,3772,3500,3207,2568,2104,1972,2355,2474,2239,2809,2456,1894,1978,2009,1731,1664,1773,1892,1610,1712,1927,1969,2279,2824,2841,2609,2248,1748,2112,2039,2090,1848,1824,1579,1380,1473,1551,1672,1577,1450,1766,1781,2016,2020,1852,1852,1808,1822,1664,1395,1235,1200,1271,1433,1472,1226,1069,978,1491,1703,1382,1435,1786,1653,1946,2156,1628,2032,2198,1932,1637,1619,1822,1896,1911,1577,1502,1221,857,1541,2045,2059,2196,1809,2000,2010,2483,2163,2135,2310,2330,2208,2153,2189,2059,2017,2352,2267,2128,1772,1514,1295,1430,1594,1717,1807,1701,2279,2244,1966,2306,2047,3521,3402,1933,1409,1400,1393,1251,1327,1419,1599,1599,1494,1579,1730,1628,1296,1137,1434,1420,1275,1601,1884,1867,2070,2148,2161,2402,1958,1876,1676,1672,1588,1700,1628,1644,1825,1674,1776,2294,2634,2170,2098,2387,2519,2437,2222,2353,2413,2332,2359,2182,2065,2075,2013,2221,2275,2100,2253,2567,2751,2415,2277,2569,2453,2220,2287,2799,2810,1992,1676,2337,2264,2015,1883,2261,2198,2787,2746,2448,2523,1924,1636,1785,1501,1733,1941,2270,2282,1919,1916,1982,1951,2166,2397,2546,2764,3100,3508,3450,2955,2321,2386,2244,2561,2876,3279,3552,3394,3188,2798,2570,2312,1844,1839,1895,1771,1804,1638,1574,1658,2008,2490,2803,2608,2762,2290,1269,1433,1313,1764,1668,1568,1570,1603,1670,1974,2032,1766,1778,1519,1517,1600,1458,1213,1113,1098,1104,1693,1830,1484,1534,1568,1395,1626,2075,2574,2450,3199,3492,2523,1778,2040,2776,2801,1926,1891,2471,2566,1846,1703,1616,1433,1699,2084,2752,2824,2653,2468,2312,2429,2315,2377,2437,2663,3580,3807,3239,2146,2353,2532,2184,1966,1708,1499,1538,1743,1717,1834,1689,1496,1554,1680,1841,1621,1436,1287,1281,1290,1348,1395,1360,1730,1619,1560,1663,2061,2213,1858,1828,1680,1560,1842,1837,1748,1954,2489,2732,1791,1425,1424,1390,1472,1759,1597,1455,1569,1622,1898,1870,1943,1875,2014,1476,1458,1305,1514,1532,1429,1448,1529,1761,1564,1478,1385,1561,1863,1730,1671,1955,1878,2194,2079,2186,2080,1692,1564,1686,1953,1980,2055,2168,2005,1958,1760,1596,1590,1488,1253,1588,2009,2041,2080,1576,1342,1547,1749,1808,1968,1957,1732,1606,1452,1470,1427,1391,1606,1593,1827,1861,1515,1699,1687,1643,1656,1725,1710,1729,1861,1905,1869,1880,1897,1833,1772,1752,1787,1605,1642,1664,1386,1306,1501,1882,2046,1936,1794,1418,1619,1609,1455,1523,1479,1417,1409,1504,1669,1837,2188,2209,1963,1935,2100,2034,1836,1771,1972,1736,1394,1367,1628,1793,1309,1263,1389,1534,1412,1522,1592,1676,1484,1064,987,1170,1406,1496,1608,1979,2248,2018,1542,1424,1427,1460,1412,1440,1390,1454,2097,2486,1875,1604,1660,1494,1527,1268,1177,1189,1582,1913,1826,1589,1827,2431,2314,1999,1853,1825,1316,1466,1678,1775,1625,1698,1788,1821,2254,2859,2616,2221,1579,1686,1761,1510,1294,1237,1695,2120,2210,2164,2144,2066,1953,1831,1726,1918,2487,2823,2351,2208,2035,1919,1883,2240,2547,2317,2120,2040,1971,1968,1549,1383,1504,1718,1551,1502,1742,1740,1506,1748,2047,2008,1819,1921,1710,1451,1814,2159,1913,1861,1895,2125,2404,2719,2662,2576,2486,2092,2031,2104,2404,2395,2467,2110,2128,2217,2291,2376,2344,1728,1857,2373,2500,2706,2562,2305,2285,2792,3073,2513,1943,1855,1753,1912,1857,2012,2755,2264,2194,1959,1949,2353,1945,1746,2431,3139,3211,3188,2731,2366,2242,2481,2007,1935,2055,1866,2010,2087,2024,1780,1720,2046,2531,3029,3279,3541,3506,3353,3195,3170,3516,3614,3502,3719,3974,4017,4001,3952,3796,3419,3327,3041,2603,2524,2447,2123,1907,1922,1859,1732,1414,1287,1644,1944,1660,1560,1494,1189,1058,916,1105,1471,1513,2217,2515,2200,1802,1785,1753,2024,1637,1608,2285,2655,2463,1911,1433,1480,1532,1362,1396,1470,1371,1411,1327,1439,1521,1440,1458,1248,1036,1096,1220,1703,1697,1666,1240,1263,1262,1301,1433,1399,1267,1246,1679,1963,1583,1547,1460,1303,1223,1304,1495,1498,1439,1389,1451,1772,1815,1818,1690,1629,1511,1344,1326,2109,2404,1910,1321,1516,1743,1743,1739,1537,1368,1328,1378,1334,1459,1711,1953,1927,1548,1830,2731,2588,2187,1980,1691,1658,1961,2591,1992,1892,1950,1799,1989,2461,2273,2136,2452,1953,1795,1972,1907,2174,2586,2305,1810,1779,1685,1840,1880,1646,1693,1588,1505,1527,1599,1866,2001,1755,2019,2333,1902,1983,2689,3234,2647,2332,2355,2364,2424,2482,1712,1741,2167,2123,1736,1840,2171,1776,1680,2115,1937,2015,1711,1586,1710,1879,1631,2159,2604,2095,1678,1451,1779,2477,2542,2210,1883,1873,2745,3560,2750,2296,2052,1998,2376,2253,2228,2083,1672,1852,1723,1751,1842,1786,1814,1583,1829,2219,2023,2214,2214,1682,1742,2132,2320,2282,2143,2110,1856,1736,1702,1581,1511,1314,1525,1653,1707,2535,2701,1843,1424,1626,1714,1770,1915,1661,1440,1571,1927,1772,1577,1772,1821,2029,2062,1930,1823,1639,1591,1998,2089,1637,1511,1527,1565,1439,1555,1983,2381,2181,1841,1758,1597,1554,1797,1658,1605,1421,1418,1589,1563,1575,1474,1581,1692,1530,1552,1745,1605,1531,2072,2480,2779,2014,2187,2442,1851,1597,1663,1651,1547,1646,2029,2358,2565,2496,1995,1867,1744,1581,1906,2432,2367,2261,2229,2009,1756,1528,1196,1982,1975,2077,1829,1518,1416,1433,1365,1349,1354,1354,1489,1926,1968,2098,2699,2004,1670,1759,2057,1825,1756,1907,2163,2168,1722,1586,1585,1470,1376,1643,1814,2097,2310,2547,2663,2718,3051,3121,2375,1901,1533,1520,1871,2305,2654,2877,2785,3189,3431,3225,3185,2861,2469,2343,1952,1891,1813,1874,2755,3276,2856,3082,2778,2600,2493,2327,2294,2344,2770,2956,2092,1756,1764,1911,1830,1806,1965,2029,1976,1895,1927,1883,2011,2775,3256,2933,2654,2559,1955,1585,1485,1561,1625,1522,1665,1861,1592,1632,2299,2543,2581,2828,2272,1727,1678,1576,1478,1577,1648,1413,1460,1968,1744,1642,2311,2362,1622,1501,1902,1854,1525,1667,1722,1431,1389,1490,1723,1655,1708,2020,2285,2368,1815,1479,1887,2107,1875,2064,1944,1571,1479,1559,1736,1995,2055,1930,1699,1651,1688,1854,2379,2862,2854,2714,2250,1942,1850,2168,1874,1720,1508,1356,2055,2744,2180,1945,1675,1394,1410,1874,2056,1675,1384,1584,2148,2337,2163,1857,2097,2306,2191,1951,1637,1581,1759,2174,2301,1808,1666,1774,1929,1854,1762,1509,1318,1461,1401,1454,1452,1463,1461,1484,1651,1724],[2786,2644,3298,3704,3272,2961,3089,2865,2908,3103,3130,3561,3752,3861,3768,3287,2746,2437,2466,2569,2640,2720,2634,2641,2722,2752,2740,2944,3045,3034,3012,2890,2799,2745,2582,2531,2326,2007,1773,2516,3816,4100,4078,3989,3685,3358,3194,3109,2962,2923,2979,2902,3034,2894,2580,3340,3508,3484,3471,2758,3038,3287,2924,3039,3304,3440,3566,3520,3415,3120,2950,2697,2771,3072,2830,2087,1828,1958,2166,2272,2373,3177,3471,3814,3776,3507,4028,3996,3463,3527,3792,3641,3421,2741,2580,3208,3122,2379,2552,2930,2955,2880,2490,2010,1520,1753,2504,2917,2685,2455,1970,1824,2238,1957,1694,1724,1555,1496,1852,2323,2905,3408,3482,3394,2688,2400,1873,2036,2319,2446,2325,1962,1805,2153,2434,2701,3056,3132,2641,2120,2200,2511,3141,3218,2381,2059,2313,2469,2454,2508,2458,1896,2009,2280,2354,2401,2206,2209,2004,1862,1930,1923,2476,3044,2814,2705,2626,2302,1652,2307,2809,2661,2754,2807,3234,3262,2665,2597,2592,2397,2569,2355,2643,3196,2916,2983,3474,3278,2974,2858,2448,2297,2381,2066,1869,2356,2802,2244,1964,2545,2540,2565,2617,3283,3009,2531,3298,3916,3834,3227,2323,2541,2534,2126,1936,2084,3106,3164,2624,2175,1965,2183,2048,1908,2266,1968,2060,1996,1902,1954,1864,1884,1919,2048,2042,1765,1958,2221,2226,2091,2144,2280,2384,2263,2333,2536,2344,2182,2458,2668,2548,2204,3164,3860,3384,3242,2944,2509,2618,2766,2652,2389,1987,1866,2454,2732,2155,1989,1691,1718,1562,1614,1586,1476,1472,1601,1996,2118,1978,1597,1754,1692,1616,1184,1454,1889,1615,1752,1892,1810,1914,2160,1948,1682,1662,1563,1622,1688,1603,2021,2820,3265,3112,2314,1845,1773,1832,3054,3555,2561,2156,2127,2064,1978,2202,2542,2351,1956,2475,2940,3253,3596,3620,3415,2658,2925,2574,2261,1998,1713,1599,1764,1770,1559,1404,1519,1887,1849,2115,2256,2620,2643,2735,2777,2376,1875,1467,1482,1693,2023,1996,1903,1541,1405,1730,2305,2254,2143,1938,1749,2184,2730,2808,1955,1373,1351,1508,1718,1793,1606,1786,1793,1682,1449,1382,1533,1554,1559,1898,2498,2735,2372,1711,1924,1682,2056,3155,3342,2996,3085,3294,3020,2865,2533,2498,2432,2069,2285,3144,2891,2302,1991,2092,2032,1996,2413,2815,2323,2140,2542,2396,1673,1072,1503,2208,2081,1689,1508,1402,1880,2088,2013,2216,2499,2473,2192,1606,2210,3066,3674,3726,3683,3508,2662,1843,2082,2183,1920,2048,1951,1692,1597,1592,1722,1776,1863,1990,1731,1754,1984,1808,1714,1681,1856,1732,1806,1932,1820,1790,1664,1631,1661,1478,1818,1672,1689,2303,2183,2325,1951,1913,2208,2259,2135,2135,2091,1983,1687,1877,1980,1641,1532,1460,1571,1605,2000,2047,2068,2107,1687,1993,2471,2269,2114,1766,1681,1673,1742,1788,1791,1692,1666,1820,1903,1904,2071,2203,2422,2018,2292,2790,3217,2346,1634,1587,1576,1880,2093,2050,2301,2243,2269,1890,1546,1389,1430,1457,1607,1538,1809,2002,1762,1584,2030,2053,1868,1575,1448,1494,1492,2025,2090,1684,1360,1174,1208,1456,1598,2032,2833,2924,2843,3145,2780,2086,1851,2192,2291,2554,2788,1917,2577,3035,2690,2955,3308,2154,1649,1776,1705,1518,1683,1966,2181,2511,3069,2257,2138,1876,1941,2114,2199,2024,1932,1917,1645,1666,1667,1655,1594,1389,1270,1515,1580,1569,1541,1417,1518,1771,1836,1626,1367,1210,1186,1154,1354,1376,1300,1486,1378,1278,1339,1449,1399,1356,1560,2135,2054,1596,2482,2403,1807,1661,1665,1752,1582,1472,1531,1835,1704,910,1652,2138,2024,2186,1959,2082,2242,2620,2193,2062,2328,2284,2193,2386,2253,2120,1866,2166,2382,1959,1465,1434,1481,1621,1798,1856,1595,1893,2462,2014,1681,2192,1853,2747,2974,2005,1638,1514,1312,1507,1853,1860,1968,1773,1509,1506,1467,1605,1215,1463,1672,1482,1658,1991,1937,1828,2208,1970,1715,2101,1796,1836,1625,1887,1919,1756,1793,2101,2235,2209,2114,2395,2997,2265,2127,2532,2421,2308,2450,2488,2651,2363,1950,2310,2630,2629,2347,2432,2257,2248,2517,2750,3131,2336,2412,2622,2416,2786,3029,3680,3313,1974,2125,2988,3188,3097,2798,2563,2424,2771,2668,2790,2994,2410,2408,2054,1932,2364,1549,1472,2257,2242,2153,2192,2046,2181,2271,2461,2404,2339,3018,2912,2315,1773,2154,2434,2343,2274,2740,3772,4491,4151,3698,3252,3256,2996,2430,2324,2265,2088,1644,1226,1506,1954,2078,2374,2511,2626,2272,1770,1591,1524,1838,1852,1795,1661,1671,1718,1930,1974,1842,1926,1710,1665,1638,1502,1159,1248,1042,1377,2089,1817,1791,1504,1537,1577,2420,2492,1824,1730,2552,3024,2482,1971,2025,2612,2823,2194,1927,1968,1967,2041,2110,1998,1756,1621,2206,2566,2398,2504,2567,2665,2500,2201,2308,2575,3271,3890,3968,3252,1937,1896,2301,1872,1773,1801,1664,1548,1484,1536,1519,1271,1327,1422,1489,1602,1623,1512,1312,1379,1258,1439,1483,1492,2191,2002,1729,1552,1650,1788,1587,1742,1910,1822,1924,1970,2015,2151,2632,2542,1790,1371,1400,1418,1396,1447,1381,1780,1603,1557,2108,2300,1858,1661,1557,1382,1253,1302,1532,1506,1535,1600,1663,1879,1602,1339,1489,1632,1842,1736,1764,1753,2053,2404,2168,2046,1731,1646,1672,1824,1617,1647,1813,1770,1850,1947,1663,1520,1619,1264,1577,2278,1937,1768,1760,1636,1575,1870,2022,1939,1997,1848,1530,1619,1497,1525,1396,1492,1510,1546,1664,1643,1857,1953,1700,1460,1234,1449,1579,1386,1390,1572,1686,1850,1764,1794,1944,1870,1929,1899,1886,1792,1627,1655,1649,1962,2030,2002,2000,1681,2076,2031,1774,1752,1544,1526,1512,1644,1630,1845,2199,2009,1655,1667,1779,2040,2001,1926,1873,1440,1464,1522,1592,1708,1321,1432,1642,1547,1437,1376,1295,1573,1398,944,1098,1399,1592,1619,1710,1971,2264,1948,1483,1464,1537,1454,1324,1339,1410,1500,1699,1734,1583,1540,1474,1342,1312,1284,1151,1267,1998,2186,1666,1396,1613,1818,1644,1484,1643,1886,1919,1822,1691,1632,1689,1676,1608,1704,2054,2215,1801,1964,1874,1801,1658,1658,1392,1224,1509,1859,2104,2132,2184,2076,1913,1758,1919,1953,2836,3196,2576,2087,2218,2302,2374,2666,2418,2141,2478,2425,2286,2062,1729,1616,1511,1508,1327,1319,1615,1666,1699,1687,2023,2171,2238,1937,1450,1512,1962,1914,1888,1964,1813,1624,1978,2866,3360,3554,2619,2706,2798,2612,2178,2503,2774,2527,2092,1872,2343,2024,1827,1575,1801,2164,2396,2596,2378,1954,2037,2210,2235,2142,2039,1968,1910,1815,1559,1996,2455,2602,3089,2372,2074,2238,1924,2274,3066,3615,3697,3654,2991,2117,1893,1838,1864,1817,1747,1918,1917,1601,1693,2360,3009,3378,3558,3595,3672,3738,3848,3864,3693,3440,3485,3453,3355,3488,3898,4016,3947,3823,3775,3761,3936,3939,3826,3763,3669,3366,2865,2746,2068,1632,1609,1616,1646,1808,1605,1593,1362,1188,1150,1146,1409,1556,1600,2302,2073,1876,2253,2463,2495,2329,1884,1876,2584,2845,2857,2139,1632,1578,1998,1630,1481,1489,1417,1472,1396,1428,1476,1322,1387,1364,1278,1254,1270,1648,1776,1735,1455,1350,1332,1434,1664,1406,1277,1495,1514,1440,1559,1704,1475,1406,1488,1466,1588,1631,1618,1556,1400,1524,1602,1585,1581,1926,1920,1587,1381,2366,3108,2198,1179,1376,1765,1980,1760,1484,1334,1460,1461,1301,1141,1326,1735,1717,1507,1776,2576,2238,1656,1520,1572,1605,2017,2744,2578,2460,2342,1942,2105,2294,1820,1670,1829,1782,1715,2001,1782,1867,2504,2396,1986,1918,1987,2450,2084,1726,1965,1722,1554,1522,1582,1870,2332,2057,1872,2145,1963,2042,2470,3055,2734,2332,2266,2292,2385,2164,1769,2032,2219,2030,1636,1848,1791,1553,1487,2184,3061,2750,1887,1593,1641,1721,1633,1918,2252,2095,1686,1838,2333,2496,2759,2644,2051,1875,2485,2621,2468,2571,1925,1958,2219,2267,2690,2302,1547,1602,1989,2214,2302,2094,1661,1558,1986,2061,2183,2330,1854,1600,1753,2284,2944,2441,1833,1721,1757,2054,2144,1772,1594,1655,1555,1608,1603,1720,1622,1473,1594,1869,1865,1781,1597,1544,1644,1556,1921,1682,1383,1416,1676,2150,2290,1943,1750,1955,1921,1920,2093,1807,1506,1514,1576,1439,1445,1513,1718,1757,1681,1627,1448,1349,1452,1484,1545,1592,1516,1310,1531,1796,1749,1487,1169,1557,1778,1733,1503,1604,2676,2710,2647,2453,2539,2408,1882,1715,1608,1677,1549,1806,1976,1983,2009,2001,1981,1727,1663,1736,2188,2817,2691,2032,1744,1760,1563,1444,1582,2519,2020,1648,1472,1402,1478,1560,1515,1466,1415,1496,1468,1766,1794,1772,2250,1850,1921,2752,2965,2352,1953,1789,2097,2156,1989,1698,1932,1840,1549,1948,2244,2402,2484,2433,2271,1963,2421,3222,2729,2126,1596,1459,1746,2322,2715,2898,2861,2991,3097,3275,3188,2447,2326,2190,1786,2027,1945,2210,2601,2761,2783,3037,2879,2666,2515,2210,2026,2138,2244,2018,1949,2227,2025,1898,1699,1466,1515,1768,2034,2181,1947,2060,2024,2118,2392,1840,1763,1754,1531,1512,1526,1708,1826,1608,2032,2192,1704,1566,2315,2227,2190,2345,2001,1750,1674,1467,1479,1579,1493,1328,1370,1516,1273,1510,2160,2142,1770,1616,1742,1795,1754,2423,2225,1570,1547,1635,1526,1587,1580,1522,1506,1589,1613,1696,1907,1765,1932,1778,1905,1788,1417,1714,2178,2441,2061,1724,1876,1954,1597,1516,1819,2090,1730,1648,1734,1701,1754,1650,1510,1538,1460,1404,1760,2114,2150,2106,2010,1507,1555,1824,1786,1607,1493,1800,1888,1966,2126,1825,1948,2062,1757,1576,1375,1614,2612,3221,2652,2013,1536,1908,2449,2016,1905,1746,1475,1454,1444,1628,1593,1430,1409,1462,1522,1710],[3169,3323,3417,3308,3169,2829,2462,2619,3085,3607,3834,3868,3928,3794,3765,3721,3253,2705,2534,2541,2541,2587,2614,2634,2547,2628,2785,3025,3107,3044,2811,2653,2623,2664,2601,2669,2361,2381,2189,2773,3860,4175,4147,4058,3846,3561,3335,3310,3063,3010,3011,2901,3145,3054,2580,3097,3551,3499,3365,3303,3246,3137,2978,3316,3487,3440,3786,3929,3522,2919,2778,2675,2887,3264,2856,2118,1843,2023,2304,2512,2500,2499,2232,2786,3538,3912,4008,3913,3530,3530,3562,3333,3373,2580,2688,3133,2665,2037,2983,3329,2889,2839,2751,2439,2093,1847,2135,1995,2188,2238,1747,1811,1654,1559,2085,2291,1963,1806,1971,2447,2689,2857,3120,3086,2409,2737,2541,2432,2576,2731,2951,2739,2124,2451,2736,2793,2722,2896,2599,2486,2913,3139,3108,3010,2972,2906,2833,2601,2544,2957,2833,2145,2587,2312,1990,1869,1833,2157,2254,2017,2031,1830,2150,2620,2325,2387,2724,1908,1865,2642,2997,2808,2674,2641,2759,2766,2765,2695,2225,2377,2611,2285,2661,2783,2789,2862,3095,3270,2880,2437,2613,2765,2656,1780,2052,2873,3407,3090,2707,2837,2646,2449,2673,3086,3387,3426,3707,3752,3895,2754,1869,2707,3041,2608,2277,2473,2784,2625,2453,2149,2066,1825,1709,1706,1978,1968,1791,1681,1898,1940,1887,1971,2053,1995,2040,2058,2075,1980,1835,1815,2127,2061,2051,2213,2294,2518,2446,2191,2455,3022,2667,2152,3029,3135,2622,2750,2574,2437,2189,2083,2326,2294,1987,1771,2199,2743,2790,3042,2697,2383,2034,2240,2266,2030,1675,1574,1982,2576,2534,1576,1697,1833,1911,1279,1505,2062,1852,1833,2021,1982,1879,1697,1686,1859,1573,1593,1478,1666,1541,1839,3028,3699,3418,2812,2246,1858,1887,2496,2797,2293,1762,2090,2105,1929,2147,2878,2908,2338,2459,2752,3253,3516,3366,2821,2465,2902,3034,2821,2580,2073,1655,1786,1777,1561,1411,1565,1937,2082,2413,2500,2654,2435,2446,2565,2709,2186,1653,1454,1690,2286,1989,1630,1226,1538,1764,2334,2144,1921,2228,2218,2154,2921,2844,1642,1293,1685,1687,1366,1386,1582,2042,1818,1589,1715,1804,1760,1518,1170,1274,1701,2031,1604,1402,1665,1902,2720,3304,3329,3520,3594,3376,2741,2068,2414,2264,1948,1752,2318,3139,2589,1800,1835,2486,2712,2658,2159,2221,2083,2205,2242,2084,1739,1320,1556,2153,2185,1780,1554,1533,1807,1687,1769,1833,1936,1872,1937,2302,3078,3804,3208,2629,3496,3437,2806,3078,2689,2232,2169,2388,2014,1614,1874,1749,1619,2002,1983,1931,1794,1710,1792,1914,1647,1548,1765,1845,1629,1463,1615,1860,1926,1600,1542,1581,1843,1538,1550,2397,2568,1890,1696,1946,1953,2115,2044,1710,1599,1604,1642,1890,2262,2197,1840,1614,1463,1709,2614,2729,2336,2010,1822,2004,1979,2251,1892,1420,1598,1726,1709,2025,2150,1911,2128,2511,2192,2039,1857,2208,2151,1740,1873,2024,2300,2031,1745,1601,1654,1893,2355,2447,2252,2111,2951,2671,1766,1820,1676,1517,1496,1318,1636,2194,2054,1723,2089,2054,1525,1290,1599,1579,1806,2360,2663,2520,1976,1627,1181,1110,1346,1783,1997,1642,1892,2284,2091,1659,1602,2021,2344,2569,3598,2989,3064,3728,4180,4308,4036,2600,1742,1858,1791,1803,2284,2047,2272,2438,2499,2075,1623,1521,1787,1802,1949,1941,1965,1908,1702,1799,1827,1780,1527,1439,1416,1519,1492,1444,1388,1400,1584,1756,1795,1467,1193,1113,1373,1587,1461,1416,1471,1553,1440,1352,1561,1587,1371,1631,1925,2123,1428,1249,2275,2167,1599,1599,1686,1622,1405,1570,2014,2244,2396,1122,1730,2176,2027,2083,2000,1880,2268,2631,1979,1791,2005,1966,1922,2141,2183,2148,1927,1996,2345,2090,1786,1763,1445,1588,1904,1946,1562,2114,2160,1937,1641,1840,1737,2304,2406,1847,1893,1840,1432,1726,2238,2200,2214,1782,1405,1392,1436,1494,1552,2024,2041,1897,2124,2302,2474,2208,2312,2169,1783,1603,1464,1793,1748,1610,1611,1613,1802,2250,2165,2381,2835,3200,3225,2351,2447,2928,2741,2482,2547,2728,2952,2564,1970,2273,2464,2341,1915,1991,1791,2337,2428,2416,2692,2213,1884,1791,2144,2527,2899,2936,2208,1909,2555,2837,2996,2947,2587,2125,2071,2226,2442,2787,2817,2828,2685,2320,2089,2263,1531,1389,1978,2183,2737,2462,1981,2047,2123,2352,2556,2532,2745,2375,1986,2165,2691,2578,2474,2503,2196,2652,3538,3839,3397,2534,2538,2500,2598,2529,2464,2497,2291,2233,2501,2588,2263,2163,2264,2111,1953,2106,2093,2027,2044,1970,1987,1985,2010,1913,1943,1949,1989,2027,1924,1861,1715,1480,1266,1152,1100,1763,1980,2116,2088,1713,2087,2019,2812,2718,1931,1734,2421,3287,3244,2547,1981,2484,2873,2297,1792,1810,1964,2081,2330,2510,2050,2025,2415,2214,2324,2416,2452,2482,2134,2449,2372,2373,3111,3779,3907,3085,1541,1608,2137,2345,2404,2004,2533,1820,1602,1705,1492,1310,1293,1467,1664,1715,1511,1331,1444,1459,1304,1439,1284,1283,1744,1802,1634,1644,1716,1808,1669,2070,1996,1830,1816,1987,2335,2088,2779,2818,1808,1478,1590,1295,1296,1355,1438,1545,1367,1846,2045,2191,2047,1919,1822,1526,1521,2100,1867,1513,1631,1838,1823,1509,1424,1385,1791,2066,2396,2247,1646,1508,1526,1668,1696,1271,1441,1625,1694,1632,1529,1552,1487,1610,1978,2168,1795,1816,1592,1506,1969,1805,1669,1553,1786,1918,1809,1981,1910,1732,1823,1783,1709,1909,1642,1656,1461,1479,1502,1561,1629,1526,1824,2040,1730,1181,1200,2247,2320,1130,1105,1487,1898,1722,1423,1513,1555,1652,1768,1730,1843,1898,1891,1863,1910,2060,1865,1946,2084,2142,2205,1916,1929,1997,1640,1688,1896,2182,2083,2043,1875,1546,1666,1942,1926,1883,1746,1725,1812,1483,1453,1550,1562,1525,1207,1439,1701,1592,1560,1534,1663,1933,1677,1251,1337,1472,1756,1950,1983,1948,2062,1895,1556,1526,1533,1398,1371,1483,1454,1447,1590,1682,1978,1735,1317,1311,1384,1399,1366,1508,1781,1693,1552,1488,1649,1753,1622,1390,1259,1704,2000,1720,1692,1901,1931,1704,1639,1653,1756,1877,1534,1867,1791,1390,1487,1910,1857,1358,1270,1631,2280,2129,2046,1826,1677,1811,1995,2389,2767,3025,2890,2365,2358,2754,2770,2576,2164,1929,2500,2784,2988,2525,2100,1618,1287,1189,1087,1121,1484,1418,1623,1386,1615,1899,1744,1581,1695,1992,2354,2399,2069,2012,1697,1296,2313,3595,3754,2648,2510,2575,2757,3119,2525,2220,2598,2912,2599,2646,2199,1678,1605,1615,1588,1659,1886,2298,2446,2215,2038,1703,1734,1907,2270,2286,2069,1843,1506,1979,1937,2075,2588,2209,2049,1931,1762,2114,2963,3097,3163,3203,3020,2345,1804,1705,1848,1788,1736,1886,1908,2196,3012,3459,3636,3538,3495,3638,3658,3682,3682,3635,3291,3064,3407,3470,3545,3708,3775,3791,3761,3776,3725,3638,3698,3808,3993,4049,4071,4008,3883,3875,3220,2761,2415,2135,1889,1904,1981,1612,1301,1583,1354,1383,1595,1377,1719,2030,2214,2654,3047,3168,3134,3038,2625,2121,2382,2332,2333,1860,1823,2002,2043,1565,1381,1449,1437,1373,1383,1469,1289,1171,1373,1399,1135,1134,1377,1689,1840,1870,1650,1446,1403,1396,1470,1151,1320,1409,1351,1426,1621,1596,1306,1319,1533,1586,1668,1606,1569,1484,1272,1356,1493,1477,1472,1839,1971,1622,1435,1682,1752,1419,1109,1306,1776,2010,1754,1600,1403,1269,1294,1338,1448,1886,1848,1470,1587,1672,1899,1843,1937,1750,1556,2049,2814,3162,3108,2729,2700,2142,2083,1982,2010,1820,1583,1565,1586,1817,2187,2406,2190,2113,1997,2210,2094,2010,2018,2403,2400,1931,1698,1834,1901,2026,2243,1893,1518,1967,1940,1917,2589,2742,2395,1883,2018,2333,2741,2540,1909,2341,2044,1859,1471,1797,1665,1910,2011,2192,2394,2051,1632,1506,1509,1573,1775,1738,1814,1781,1590,1728,2059,2502,2940,2623,2175,2066,1867,1821,2163,2508,2344,2303,2304,2403,2632,2243,1713,1891,1945,2026,2367,1954,1645,1727,2081,2076,2243,2257,1931,1838,1876,2299,2873,2477,2038,1656,1638,1681,1804,1780,1635,1410,1166,1311,1607,1645,1628,1973,2403,2238,1947,2114,1627,1237,1389,1455,1720,1561,1544,1672,1548,1783,1738,1804,2278,2167,1934,2454,2926,2067,1444,1510,1565,1642,1679,1854,1944,1586,1497,1408,1622,1616,2121,1709,1650,1985,1894,1519,2013,2402,1911,1377,1332,1738,1903,1854,1560,2162,2867,2480,2181,2285,2405,1953,1887,1992,1792,1737,1615,1933,1841,1708,1587,1551,1638,1499,1601,1655,1652,1891,2076,1609,1539,1660,1807,1700,1850,1961,1540,1425,1468,1527,1604,1660,1495,1504,1411,1395,1522,1831,1822,1731,1945,1624,1710,2256,1990,1966,1861,1682,1817,1866,2043,1671,1981,1861,1539,1593,1733,2216,2458,2044,1729,1817,2777,3313,3092,2417,1661,1548,1601,1836,2459,2740,2484,2719,2855,3022,2820,1893,2279,2212,2070,2065,2109,2290,2446,2419,2559,2791,2801,2767,2607,2414,2371,2110,2110,1863,2080,2398,2162,2037,1910,1741,1692,1918,2260,2631,2078,2401,2011,1825,1850,1571,1574,1597,1478,1468,1487,1582,1582,1444,1667,1696,1535,1919,2242,2195,2094,1801,1932,1830,1740,1440,1473,1506,1437,1406,1486,1381,1350,1487,1662,1800,1768,1586,1518,1840,2113,2188,1774,1505,1609,1726,1531,1727,1815,1409,1465,1729,1644,1933,1996,1667,1556,1801,2632,2377,2033,1874,2033,2374,1887,1707,2355,2284,1631,1528,1721,1509,1399,1603,1849,1849,1826,1874,2072,1919,1478,1476,1602,1349,1903,2100,2177,1695,1968,2239,1906,1796,2018,1943,1505,2076,2327,2282,1940,1667,1651,1758,1430,1736,3208,3459,2274,2044,1659,1658,2223,2008,2006,1880,1572,1660,1719,1546,1611,1512,1420,1601,1536,1547],[3322,3284,3375,3033,2887,2700,2565,3088,3470,3431,3498,3775,3698,3537,3557,3592,3619,3320,2912,2373,2316,2416,2612,2644,2564,2677,2954,3019,3019,2951,2958,2719,2668,2845,2689,2421,2509,3168,3505,3825,4220,4208,4112,4028,3913,3815,3251,3208,3115,3187,3139,3010,2976,2966,2677,3288,4079,3522,3233,3620,3666,3413,3197,3570,3580,3651,4007,4288,3571,2990,2877,2377,2800,3288,3072,2408,1917,2226,2486,2413,2829,2382,1820,2272,3345,3981,3964,3874,3291,3271,3597,3428,3110,2436,3174,3310,2584,2351,3504,3906,3159,2607,2249,2385,2571,2111,2278,2724,3075,2720,2157,1732,1483,1621,1866,1762,1970,1979,2244,2613,2352,2261,3097,2558,1850,2089,2380,2710,2797,3087,3846,3422,2186,2562,2950,2857,2576,2928,3045,2746,2927,3352,3275,3146,3349,3282,2508,1932,2007,2940,2921,2126,1802,1788,1512,1388,1542,2337,3006,2786,2634,2236,2114,2576,2282,2340,2384,2370,3030,3321,2662,2032,1904,2133,2250,2381,2887,2788,2158,2435,2520,2445,2763,2966,2829,2538,3010,2896,2392,2644,2492,1961,1804,1908,2410,2831,3217,3299,3015,2901,2613,2518,2698,2941,2888,3414,3494,3388,3310,2363,1940,2712,3371,3098,2510,2629,2587,2667,2496,2521,2294,2158,2186,2127,2091,2184,2202,2122,2118,2167,2376,2374,2204,2205,2164,2191,2531,2450,2257,2480,2862,2743,2589,2551,2386,2780,2343,2273,2237,2373,2280,2009,2228,2155,2611,2934,2591,2490,2072,2082,2124,1928,1970,1832,1637,1870,2534,2871,2533,2131,2196,2351,2293,2204,2092,2039,2125,2754,2186,1560,1852,1958,2102,1646,1687,2322,2264,2326,2296,2765,2820,1808,1964,2376,2010,1804,1611,1786,1801,1910,2566,2996,2812,2836,2798,2098,2526,3030,3218,2695,2435,2349,2111,1973,2116,2564,2791,2311,2396,2463,2895,3253,3298,3170,3102,3239,3416,3469,3093,2032,1820,1842,1909,1938,1648,1723,1858,2326,2609,2503,2518,2431,2428,2667,2624,2279,2211,1636,1704,2151,2164,2291,1887,1671,1764,2072,1754,1820,2402,2217,1662,2526,2639,1511,1259,1933,1949,1600,1528,1915,2060,1604,1528,1522,1588,1650,1865,1608,1356,1719,1748,1411,1543,2171,2591,3086,3439,2954,2873,2863,3296,2806,2062,2311,2355,2364,1692,1890,2460,2314,1907,1951,2281,2056,2770,2375,2233,2140,1759,1631,1736,1605,1519,1581,1886,2392,2029,1866,1560,1527,1532,1981,2126,1883,1776,1860,2165,2967,3139,2284,2709,3034,2691,2582,2678,2142,2149,2205,2398,1994,1679,2114,1842,1483,1707,1827,1660,1736,1862,1749,1839,1759,1632,1808,1876,1685,1384,1405,1526,1421,1437,1635,1676,1688,1502,1514,2002,2154,1909,1795,1782,1552,1511,1472,1312,1405,1484,1719,1724,2510,3200,2747,1795,1367,1996,2570,2242,2302,2168,2131,2257,1787,1863,1686,1526,1637,1697,2019,2321,1800,2034,2489,2677,2082,1901,1929,2548,2618,2158,1659,1503,1631,1745,1581,1471,1506,1753,2181,2306,1958,2230,3142,2440,1614,1809,1785,1788,1623,1509,1887,2578,2234,1903,1431,1813,1845,2130,2831,2775,2288,2675,2770,2626,2382,2270,1726,1312,1264,1622,1793,1994,1923,1823,1911,1710,1748,1813,2156,2231,3297,3454,3428,4024,4556,4459,3816,2678,2007,1895,1801,1742,2095,1811,1643,1518,1768,1781,1455,1506,1586,1666,1869,1992,1850,1615,1470,1496,1494,1607,1461,1431,1471,1460,1484,1430,1475,1492,1629,1650,1740,1484,1293,1567,1666,1428,1399,1527,1600,1553,1469,1486,1744,1693,1409,1699,1791,1796,1229,1259,2048,1988,1721,1670,1646,1574,1635,1877,2021,2322,2540,1245,1612,2196,2156,2060,2030,2008,2325,2824,1694,1257,1233,1402,1605,1820,1896,2226,2129,1892,2182,2333,2315,2256,1430,1573,1829,1604,1834,2679,2463,2066,1735,1825,1913,2455,2655,1834,2289,2200,1571,1890,2266,2054,1833,1426,1468,1455,1402,1523,1832,2301,2325,1909,1885,1881,2049,1873,1881,2030,1864,1354,1529,2172,2204,1963,1983,2027,2151,2620,2937,2915,3349,3615,3154,2502,2868,3096,2687,2555,2643,2998,3394,2647,2163,2287,1951,1864,1744,1800,2037,2789,3444,3276,2522,2436,2264,2066,2074,2210,2624,2369,2473,2471,2509,2888,2639,2532,2876,2602,2862,2856,2950,2480,1974,2217,2281,2369,2356,2423,1877,1771,1968,2195,2692,2678,2519,2624,2644,2497,2908,2924,2700,2520,2253,2193,2054,1693,2274,2429,2777,2928,2643,2431,2689,2634,2386,2486,2433,2024,1990,2070,2261,2554,3078,3366,2876,2381,2666,2922,2865,2478,1857,1839,1896,1885,1981,1897,2011,2044,2022,1886,1863,1885,1725,1692,1762,1592,1550,1476,1465,2093,1774,1897,1669,2055,2707,2110,1798,1704,1824,2207,2774,3638,3696,2518,1663,1844,2066,1844,1757,1935,1990,1696,1857,2132,1863,2186,2547,2422,2531,2577,2508,2464,2392,2808,2785,2287,2481,2748,3197,2866,1853,1946,1814,2041,2176,2985,3666,2332,1600,1465,1385,1446,1394,1405,1520,1559,1363,1036,1521,1376,1261,1512,1660,1537,1349,1394,1561,1852,1676,1682,1591,1911,1874,1771,1650,2041,2367,2522,3379,3398,2336,2388,2293,1577,1444,1284,1296,1172,1431,2045,2069,2141,2142,1910,1708,1478,1556,2018,1597,1497,1643,1814,1569,1488,1493,1576,1779,1810,2206,2091,1497,1446,1359,1355,1434,1318,1824,1810,1564,1436,1410,1451,1535,1673,1888,2168,1819,1880,1578,1794,1566,986,1335,1690,1797,1859,1801,1775,1700,1560,1510,1591,1699,1728,1844,1903,1574,1399,1402,1504,1667,1526,1520,1687,1524,1274,1385,2212,2205,1372,1231,1471,1715,1538,1484,1486,1625,2252,2010,1738,1594,1637,1718,1807,1787,1832,1855,1889,2069,2156,1974,1834,1920,1796,1859,2134,2448,2225,2159,2289,2053,1753,1914,1920,1720,1583,1541,1617,1708,1413,1344,1664,1623,1390,1202,1195,1354,1576,1548,1686,1936,1992,1836,1736,1629,1387,1766,1903,1829,1798,1781,1614,1720,2080,1707,1529,1479,1559,1471,1518,1753,1941,1975,1791,1458,1266,1390,1313,1424,1750,1932,1739,1720,1574,1499,1605,1554,1314,1153,1510,1772,1704,1774,1759,1687,1476,1631,1639,1540,1759,1819,2107,2297,1918,1636,1636,1816,1515,1221,1572,2376,2097,1709,1687,1704,1794,1980,2622,2912,2666,2920,3002,2574,2611,2100,1840,1779,1888,1991,2126,2344,2442,2070,1439,1286,1172,1277,1421,1640,1849,2194,1906,1688,1632,1649,1901,2190,2114,1970,2069,1847,2066,1747,1834,2976,3597,2876,2038,2338,2136,2071,2735,3119,2475,2209,2626,2619,2586,1947,1808,1752,1568,1783,1814,1609,2030,2198,2023,2006,1394,1512,1842,2347,2438,2064,1807,1751,2188,2387,2222,2198,1924,2056,1742,1675,1947,2951,3300,3134,3294,3394,2720,2051,1860,1672,1730,1893,2230,2758,3392,3753,3861,3850,3602,3594,3760,3750,3564,3405,3270,3398,3500,3467,3650,3626,3529,3624,3726,3692,3717,3661,3670,3724,3799,3952,3949,3936,3962,3984,3949,4110,4055,3738,3086,2287,1856,1875,1744,1738,2136,1856,1524,1514,1780,2134,2018,2368,3088,3360,3437,3430,3165,2890,2078,1828,1647,1729,1948,2005,1860,1621,1374,1411,1633,1479,1299,1360,1252,1152,1261,1367,1326,1124,1212,1430,1627,1798,1844,1415,1384,1549,1588,1451,1368,1353,1323,1329,1498,1516,1455,1495,1534,1609,1714,1735,1511,1425,1386,1216,1289,1526,1550,1358,1644,1977,1694,1393,1156,1129,1111,1119,1326,1598,1887,1871,1734,1480,1390,1542,1462,1544,1788,1765,1862,1860,1896,2272,2359,2253,1932,1592,1865,2243,2580,2722,2632,2252,2066,1737,1839,2175,1921,1644,1646,1583,1726,2173,2208,1873,1826,1738,1782,1856,2173,2335,2364,2110,2008,1933,1933,2354,2849,3056,2622,1710,1894,1768,2136,2819,2684,2022,1915,2398,2432,3218,2630,2103,2630,2281,2265,1901,1780,2243,2429,2332,2342,2183,1797,1639,1622,1634,1522,1686,1416,1698,1758,1889,1936,1670,1882,2386,2855,2645,2259,1957,1940,1704,1677,2327,2345,2320,2086,1754,1592,1837,2098,1748,1793,1839,1558,1614,1507,1586,1864,1883,2220,2132,1778,1751,2103,2227,1901,2050,1759,1613,1592,1171,1274,1529,1298,1303,1682,1799,1734,1724,1953,2592,2180,1577,2025,1776,1340,1237,1428,1910,1930,1890,2084,1982,1924,2062,2692,2495,1646,1427,2222,2564,1862,1498,1522,1527,1606,1583,1895,1936,1656,1476,1489,2089,1951,1698,1641,1715,1717,1590,1530,2327,2652,2000,1354,1514,1555,1785,1732,1631,2617,2789,2141,2340,2491,1966,1466,1516,1618,1829,2129,1967,2277,2200,1746,1521,1427,1412,1604,1567,1311,1462,1671,1713,1554,1571,1942,1842,1643,1681,1583,1568,1566,1449,1587,1767,1504,1171,1277,1587,1638,1730,2026,2215,1928,1769,1616,1564,2047,1679,1619,1432,1639,1472,1422,1520,1464,1529,1771,1958,1781,1817,2281,2367,1843,1708,2535,3306,2800,2166,1700,1559,1836,1773,1440,1712,1980,2251,2703,2663,2779,2664,1935,2153,2430,2309,1966,1957,2264,2375,2310,2279,2545,2619,2396,2231,2526,2559,2155,2199,2328,2253,1976,2138,2374,2463,2076,1698,1782,2414,2942,2621,2467,2123,1890,1715,1525,1405,1391,1343,1396,1399,1505,1590,1696,1664,1578,1484,2150,2872,2899,2335,1553,1622,1908,1868,1644,1609,1846,1742,1498,1406,1309,1421,1638,1811,1816,1526,1428,1360,1963,2111,1722,1599,1574,1638,1496,1371,1657,1688,1429,1789,2378,2026,2069,1937,1814,2144,3116,3494,2736,2366,2023,1692,1664,1618,1751,2198,2152,1665,1448,1504,1378,1456,1684,1811,2164,2072,2238,2698,2232,1524,1496,1461,1584,1916,2113,2481,2766,2610,2162,1743,1888,2157,2126,2216,2648,2300,1809,1609,1648,1714,1640,1656,2230,2735,2271,1692,1805,1791,1764,2231,2244,1868,1687,1591,1448,1344,1458,1742,1644,1626,1802,1551,1462],[2874,3132,3097,2985,3188,3007,3362,3860,3805,3186,3339,3353,2876,3341,3479,3619,3710,3149,3040,2599,2265,2259,2294,2460,2530,2673,2919,2893,2687,2817,3489,3047,3206,2861,2663,2977,3728,4196,4252,4254,4138,4058,3920,3798,3964,3847,3392,3250,3250,3211,3028,2926,2920,2868,2788,3313,4028,3630,3352,3672,3958,3636,3530,3597,3337,3387,3506,3561,3030,2867,2880,2301,2796,3353,3352,2844,2525,2530,2208,2642,3128,2554,2171,2411,3129,3611,3255,3292,2192,2463,2937,2846,2468,2335,2824,3085,2951,3045,4034,4002,3178,2788,2185,2090,2315,2067,2430,3160,3373,3629,3330,2415,1709,1765,1660,1766,2031,1775,1951,2207,2085,2306,2964,2347,1739,1770,2090,2442,2932,3304,3640,3052,2534,2787,2366,2405,2270,2492,2719,2733,3188,3303,3515,3322,3063,2957,2276,1649,1730,2302,2850,2546,2088,1743,1412,1626,1982,2623,3149,3084,2999,2701,2220,2359,1930,2357,3350,3520,3695,3580,2712,1996,1634,1903,2048,2135,2498,2630,2327,2460,2517,2657,2828,2719,2875,2775,2784,2267,2120,2629,3024,2396,1698,1907,2104,2441,2866,2983,2875,2578,2125,2435,2377,2493,2644,2726,2666,2787,2680,2580,2523,2501,2719,2489,2403,2630,2607,2774,2658,2602,2319,2033,2180,2254,2350,2483,2184,2059,2101,1947,2164,2503,2130,2676,3095,3169,3001,2322,2022,2556,2931,2615,2277,2170,2279,2350,2170,2386,2264,2193,2060,1865,1663,1386,1779,2202,2030,2056,1628,1808,1958,1718,1924,2063,1755,1765,2323,2632,2357,2008,1952,2020,2194,2248,2431,2264,1946,2408,1895,1829,2070,1789,2063,2141,2047,2241,2492,2461,2876,3928,3493,2121,2176,2531,2200,1924,2034,1880,1998,2028,2028,2117,2124,2881,2819,2170,2712,3097,2934,2557,2215,2186,2308,2020,2024,2365,2441,2319,2105,2031,2562,2780,2620,2539,2896,3247,3163,3249,3186,1967,1897,1645,1721,1807,1830,1732,2172,2655,2735,2858,2622,2556,3087,3410,2706,2697,2226,1499,1836,1996,1880,2036,2064,1920,2115,2223,1823,2364,2562,1912,1563,1939,2000,1461,1549,1671,1838,1859,1443,1670,1651,1533,1618,1311,1222,2069,2885,2369,1602,1486,1433,1496,1926,2648,2864,3339,3271,2854,2944,2745,2905,2319,1938,2119,2763,2659,2040,1980,2135,2109,1901,2179,2548,2388,2522,2039,1787,1704,1676,1755,1866,1764,1354,1805,2590,2800,2144,2078,1786,1866,1974,2542,2541,1931,1638,1643,2033,2725,2287,2526,2927,2738,2563,2589,2485,2134,1870,1765,2049,1978,1568,1607,1524,1599,2105,2239,1762,1853,2176,1896,1995,2220,1936,1749,2070,2062,1909,1643,1632,1462,1563,1976,1823,1759,1749,1591,1610,1681,1647,1540,1604,1751,1566,1466,1549,1554,1642,1738,1845,2556,3311,2933,1782,1287,1974,1857,1800,2145,1943,2113,2092,1691,1702,1725,1902,1846,1820,1948,1764,1743,2656,2529,2417,2374,1976,1798,2441,3308,3002,1715,1472,2089,1869,1408,1395,1453,1722,1974,2148,1983,1916,1910,1671,1468,1502,1569,1582,1722,1721,1791,1897,1747,1588,1597,2843,3244,2190,3072,3653,2457,2247,2330,2514,2362,2160,2038,1758,1720,1824,2158,2671,1909,1680,1855,1773,1804,1758,1991,2117,2185,2319,2553,2724,2734,2872,2835,2352,2258,1864,1831,1637,1674,1606,1552,1441,1580,1588,1562,1488,1516,1783,2070,1838,1541,1478,1333,1361,1333,1462,1388,1367,1598,1692,1586,1540,1642,1821,1798,1720,1753,1583,1513,1802,1749,1438,1340,1436,1459,1467,1428,1384,1560,1559,1609,1788,1732,1634,1454,1701,2138,2410,2302,1913,1638,1630,1722,1903,2002,2343,2229,1159,1625,2369,2189,2149,1917,2098,2413,2668,1610,1120,1238,1263,1501,1847,2107,2122,2075,1962,2086,2259,2405,2985,2588,2273,2413,2172,2403,2622,2503,2490,2412,2407,2366,2666,2909,1911,2072,1860,1853,2155,2448,2257,1671,1370,1495,1543,1708,1530,1831,2131,1969,1679,1686,1596,1926,1632,1750,2098,1865,1655,1815,2160,2366,2072,1946,2197,2791,3541,4112,4116,3858,3560,3116,2858,2978,2988,3005,2915,2528,3027,3483,2668,1972,1855,1719,1629,1691,1838,2093,2379,2788,2740,2635,2635,2438,2051,2308,2500,2647,2443,2723,2464,2092,2304,2127,2679,2448,2429,2623,2279,2301,2369,2276,2334,2372,2676,3039,2460,1559,2132,2540,2916,2254,2204,2498,2345,2444,2611,3095,3176,2806,2620,2730,2769,2691,2287,3077,2890,3555,3753,3382,3081,2858,2685,2190,2091,2186,2323,2286,1817,1863,1901,2517,2754,2505,2306,2995,3244,2713,3110,3273,2825,2548,2602,1950,2133,2314,2213,1807,1487,1551,1639,1781,1847,1967,1958,1974,2106,2200,2191,2153,2194,2342,2743,2618,1943,1455,1560,2046,2234,2565,3175,3110,2664,2611,2096,1980,1779,1704,2133,2188,1621,1685,1640,1674,2089,2319,2311,2600,3002,3209,2775,2320,2788,2775,2445,2435,2028,2207,2235,2071,1949,1764,1704,1584,2765,2959,1895,1775,1668,1509,1599,1440,1350,1483,1437,1521,1365,1574,1211,1154,1353,1435,1576,1504,1415,1273,1265,1271,1478,1804,2005,1849,1362,1062,1520,2057,2520,2885,2953,2363,2618,2285,1637,1550,1612,1591,1304,1692,2223,2131,2302,2325,2023,1583,1368,1444,1338,1387,1463,1420,1386,1281,1648,1727,1509,1505,1605,2061,1838,1592,1440,1629,1716,1406,1453,1658,1754,1859,1697,1511,1417,1389,1366,1522,1441,1737,1516,1503,1907,1560,1495,1795,1964,1849,1766,1753,1671,1674,1643,1563,1559,1706,1554,1528,1612,1504,1454,1371,1393,1556,1677,1743,1678,1296,1266,1344,2076,1852,1308,1214,1366,1531,1570,1634,1456,1451,1637,1566,1620,1362,1839,2117,2010,2175,2226,1967,1855,1831,1801,1782,1844,1931,1889,2029,2074,2228,1975,1892,2273,2263,1745,1820,1694,1578,1520,1492,1748,1714,1463,1488,1672,1565,1424,1348,1207,1271,1353,1298,1684,1712,1823,1774,1870,1790,1584,1766,2025,1985,1869,1933,1799,1592,1930,1588,1424,1399,1843,1836,1699,1855,2097,2093,2049,1850,1336,1354,1439,1470,1496,1712,1760,1924,1833,1609,1741,1684,1316,1450,1727,1736,1848,1890,1646,1701,1526,1387,1501,1553,1631,1603,1768,2008,2102,1907,1444,1458,1764,1616,1743,2070,1829,1579,1669,1753,1647,1624,1785,2260,1954,2178,2710,2490,2014,1576,1647,1634,1750,1974,1932,1870,2038,1766,1337,1302,1363,1391,1722,1656,1776,2062,2010,1645,1689,1990,2088,2220,2088,2042,2213,2099,1891,1627,2289,2957,2493,1638,1529,2037,2431,2261,1981,2627,2439,2093,2156,2609,2469,1929,1819,1582,1505,2100,2204,2469,2570,2378,2042,2070,1439,1507,1815,1869,1995,1989,1820,1937,2530,2898,2497,2163,1797,2165,1765,1927,2569,3769,4445,4434,4220,3571,2565,1947,1655,1859,2611,3052,3391,3601,3646,3581,3673,3885,3786,3563,3711,3516,3049,3248,3040,3177,3474,3575,3616,3450,3483,3671,3695,3646,3673,3639,3699,3806,3907,3972,3938,3913,3952,3993,3898,3880,3983,3995,3812,3414,2732,2072,1918,1929,1983,1964,1814,1652,2194,2527,2486,2840,3211,3211,3372,3254,2792,2566,2278,1749,1584,1886,2086,1881,1707,1675,1412,1468,1451,1325,1365,1324,1114,1236,1266,1420,1525,1449,1464,1749,1705,1719,1886,1774,1672,1794,1821,1806,1724,1628,1552,1622,1732,1694,1703,1583,1542,1446,1323,1358,1438,1387,1410,1366,1302,1304,1282,1277,1391,1541,1436,1343,1131,1288,1332,1411,1528,1637,1869,2010,1802,1800,1826,1745,1620,1508,1848,1735,1843,2181,2166,2105,2364,2374,2101,1705,1945,1698,2018,1851,2132,1836,1936,1865,1637,1795,1713,1558,1516,1605,1572,1513,1596,1881,2129,1995,1780,1823,2030,2018,1750,1666,2165,2408,2189,2354,3016,3584,3117,2201,1991,1969,2111,2797,3164,2437,2186,2462,2304,3295,2161,1828,1940,2116,2713,2756,2422,2440,2608,2555,1800,1692,1723,1913,1801,1758,1586,1858,1854,1707,1653,2237,2482,1969,1872,2533,3244,3173,2822,2452,1743,1576,1561,1963,2307,2177,2221,2184,1604,1882,2179,1919,2352,2244,1857,1769,1671,1727,1602,1330,1733,1934,1896,2068,2287,2120,2105,2036,1845,1562,1574,1388,1367,1452,1278,1386,1690,1628,1618,1552,1576,2100,1999,1661,1606,1776,1720,1328,1570,2076,2316,2306,2302,2091,1845,2160,2665,2378,1930,1735,1764,1781,1679,1680,1616,1772,1731,1757,1753,1732,1692,1687,1705,1926,1896,1617,1598,1557,1392,1579,1994,2445,2570,1882,1348,1566,1744,1752,1627,1860,2477,2490,2388,2743,2487,1873,1537,1560,1810,2125,2328,2068,2071,1999,1654,1613,1675,1783,1773,1465,1425,1823,2124,2137,1895,2337,2648,2004,1695,1498,1425,1556,1648,1926,2019,1750,1458,991,1346,2420,2899,2463,2151,2126,2102,2449,2245,1863,2055,1679,1785,1569,1582,1682,1639,1677,1652,1405,1477,1612,1794,2139,2096,1823,2182,2393,2992,3184,2626,1961,1559,1556,1736,1779,1469,1449,1718,3217,3440,2685,2681,3033,2733,2447,2547,2210,2050,1647,1907,2242,2356,2953,3094,2947,2456,2493,2888,2658,2333,2336,2524,2655,2641,2802,2735,2657,2300,1882,1743,1843,1898,1866,1852,1838,1983,2116,1897,1582,1363,1225,1344,1657,1656,1629,1666,1456,1450,1455,1573,2031,2280,1898,1509,1450,1625,1842,2033,2066,1761,1464,1478,1491,1604,1889,1832,2113,2243,1884,1779,1630,1939,1914,1915,2011,1911,1666,1448,1531,1487,1365,1382,1765,2014,1798,1748,1724,1842,2199,2677,2662,2352,2476,2217,1636,1387,1571,2187,2327,1943,1563,1547,1540,1478,1706,1827,1789,2251,2136,1793,1878,1650,1543,1554,1516,1396,1513,2018,2544,3285,2951,1840,1417,1897,2002,2103,2505,2315,1765,1588,1712,1754,1762,2000,1844,2080,2269,1917,1653,1992,1998,1931,1858,1776,1528,1512,1615,1510,1649,1617,1605,1615,1725,1682,1559,1542],[2796,2824,3028,3327,3308,3076,3427,3635,3232,2841,3005,2986,2853,3449,3518,3842,3500,3053,3399,3041,2519,2386,2434,2556,2659,2887,2877,2758,2387,2700,3161,3012,3351,3056,2790,3283,3928,4042,4040,4205,3985,4041,4165,4016,4175,3902,3614,3360,3394,3205,2922,3019,3128,3041,2879,3232,3916,3873,3461,3562,3677,3449,3565,3728,3748,3177,2622,2974,2363,2550,3154,3039,3073,3288,2680,2526,2786,2622,2847,3863,3772,2811,2709,2387,2189,2511,2392,2213,2078,2535,2886,2973,2556,2353,2698,2818,2845,3126,4038,3853,3165,2765,2203,1901,2137,2374,2424,2507,3294,3780,3676,3266,2570,2169,1772,1706,1881,2245,2334,2061,1707,2034,2448,2215,1786,1878,2051,2247,2830,3037,3427,2789,2915,3319,3144,2713,2260,2731,2651,2722,3277,3351,3724,3395,2964,2363,1930,1570,1805,2256,2767,2859,1882,1453,1613,1626,2001,2877,3322,3151,2778,2435,2298,2149,1870,2525,3384,3241,3363,3705,3109,2223,1931,1964,2031,1997,2057,2360,2480,2449,2548,2655,2787,2608,2620,2393,2190,2120,1958,1925,2318,2264,1965,1841,1954,2176,2446,2513,2760,2590,2292,2636,2414,2459,2639,2366,2962,3063,1989,2235,2492,2245,2556,2441,2317,2529,2912,2990,3002,2930,2312,1590,1371,1854,2611,2744,2316,2698,2282,1880,2341,2895,2192,2386,3216,3579,3071,1968,1634,1946,1779,1740,1953,1781,1916,1800,2022,2062,2010,1810,1616,1710,1412,1044,933,1408,1624,1575,1412,1400,1594,1837,1848,1779,1762,1823,2291,2891,2489,1720,1544,1711,2165,2308,2640,2561,2171,2198,1905,1873,2137,2007,1878,2285,2257,2208,2577,2163,2824,3530,3140,2283,2337,2757,2316,2181,2497,1820,2049,1827,2258,2881,2708,2614,2482,1885,1926,2579,2856,2800,2689,2372,2176,1806,1984,2219,2802,2978,2354,2223,2002,1854,2154,2197,2308,2719,2988,3105,2900,1930,1861,1660,1626,1669,1731,1799,2320,2577,2494,2602,2720,2767,3127,3285,3039,2906,2383,1641,1700,1863,1704,1555,1638,2243,2316,2098,1694,2073,2020,1729,1620,1722,1650,1682,1862,1780,1976,2031,1520,1611,1376,1222,1632,1708,1494,1926,2729,2373,1545,1314,1458,1830,2077,2663,3104,3131,2912,3052,3282,2780,2620,2746,2400,2414,2730,2070,2088,2223,2137,1805,1583,1965,2132,2382,2127,1748,2060,2402,2439,2239,2004,1525,1037,2137,3122,2570,1959,1797,1779,2009,2117,2091,2154,2034,1582,1655,2041,2213,2792,3666,3585,3470,2846,2320,2245,2105,1720,1475,1376,1486,1271,1525,1550,1591,1754,1707,1815,2478,2495,1699,1804,2316,2003,1633,2600,2195,2179,1841,1700,1559,1594,1804,1757,1501,1550,1588,1500,1681,2048,2043,2352,2521,2019,1541,2192,2925,2192,1348,1710,2609,3110,3155,1764,1874,2310,1756,1820,2295,1985,2249,2106,1504,1520,1820,1824,1692,1715,1581,1942,2295,2796,2556,2310,2419,2198,1988,2432,3164,2611,1706,2304,3309,2392,1635,1719,1708,1670,1888,1792,1568,1532,1543,1830,1975,1904,1547,1418,1636,1660,1608,1726,1753,1782,2425,2874,2377,1888,2989,2592,2077,2055,2081,2214,2302,2378,2187,1824,1944,2219,2079,1859,1637,1576,1572,1537,1446,1418,1755,1909,1841,2154,2279,2017,1782,1838,1981,2474,2552,1802,1878,2175,2175,1837,1626,1483,1481,1642,1789,1626,1525,1560,1581,1581,1724,1567,1339,1456,1504,1553,1526,1666,2398,2148,1475,1643,1694,1850,1738,1745,1859,1665,1518,1577,1572,1440,1237,1303,1326,1295,1454,1608,1751,1731,1771,1863,1832,1593,1526,1671,1981,2188,1888,1763,1755,1673,1726,1923,1836,2154,2062,1047,1439,2344,2139,2184,1936,1980,2670,2468,1947,2051,1930,1649,1559,1653,1831,1842,1906,1895,1924,1937,2066,2990,3519,3270,3176,3066,2642,2272,2675,3362,3072,2493,2318,2718,2632,2071,1727,1512,1995,2535,2453,1834,1534,1576,1472,1457,1590,1527,1788,1409,1709,1892,1781,1641,1986,1606,1703,2276,1703,1992,2512,2134,1941,1882,2044,2665,3238,3725,3937,3955,3713,3153,2972,3061,3065,3118,3549,3522,2943,3298,3517,2940,2108,1730,1629,1633,1747,2072,2708,2711,2807,2446,2466,2245,2066,1833,1974,2250,2481,2618,2845,2524,2402,2390,2087,2094,1794,2173,2596,3013,2975,2886,2828,2654,2677,3045,3362,2757,1575,2178,2579,2952,1997,1550,1429,1320,1847,2618,3295,3300,2870,3056,3384,2989,2872,2418,2735,2983,3356,3084,3284,3943,3659,3219,2381,2570,1526,1458,1660,1340,1716,2172,2604,3000,3485,3460,3285,2829,2719,3715,4036,3946,3570,3256,3354,3610,3285,2788,1958,1612,1883,1718,1567,1688,1809,1775,1889,1923,2127,2116,2091,2250,2577,2321,2070,1970,1782,1623,1750,1777,1957,2340,2226,2430,2898,2820,2328,1891,1865,1920,1959,2232,1876,1560,1529,1849,1854,2131,2644,2797,2911,2428,2037,2130,2439,2468,2254,1852,1679,1958,2143,1954,1736,1561,1400,1670,1779,1842,2153,1740,1639,1806,1693,1549,1582,1564,1581,1547,1466,1328,1331,1329,1609,1500,1584,1616,1463,1412,1384,1584,2078,2060,1419,796,1045,1488,1610,2165,2319,2692,2919,2576,2001,1615,1395,1524,1676,1454,1920,2150,1984,2026,2130,1732,1569,1436,1407,1368,1527,1502,1620,1542,1198,1492,1553,1422,1278,1692,1851,1615,1656,1698,1781,1628,1559,1745,1750,2092,1969,1989,1989,1606,1755,1686,1503,1569,1826,1833,1932,2004,1868,1693,1750,1686,1569,2060,2105,1807,1575,1616,1614,1351,1538,1498,1487,1551,1367,1438,1472,1476,1225,1461,1538,1607,1359,898,1203,1759,1361,1050,1249,1668,1945,2060,1804,1660,1361,1349,1568,1483,1284,1666,1794,1930,2495,2691,2664,2499,2397,2406,1958,1648,1724,1825,1809,1768,1720,1783,1960,2122,2076,1882,1946,2007,1864,1787,1776,1947,1766,1498,1547,1486,1356,1282,1430,1476,1581,1312,1140,1092,1398,1754,1632,1634,1733,1655,1839,2102,2024,2037,1984,1903,1680,1760,1461,1324,1367,1452,1466,1450,1583,1937,1881,1687,1712,1312,1249,1565,1455,1187,1410,1684,1882,1794,1510,1488,1433,1300,1543,1644,1608,1925,2039,1992,2010,1672,1390,1682,1826,1702,1388,1339,1498,1954,1927,1718,1469,1834,1979,1904,1876,1694,1558,1724,1762,1614,1553,1225,1465,1512,1406,1354,1575,1758,1578,1624,1636,1658,1952,1918,1826,2343,2095,1657,1489,1671,1641,1654,1731,1802,1832,1806,1800,2410,2435,1997,2003,2017,1925,2274,2452,1990,1907,2411,2181,1676,1799,1408,1597,2287,2031,1711,1664,1611,1814,1948,2113,2223,2222,1895,1691,2009,2139,2359,2802,2606,2510,1946,1604,1436,1441,1463,1713,1972,1912,1572,1824,2308,2585,2282,1718,1904,2089,1794,1776,2728,4034,4072,3575,3020,2370,1996,1736,2364,3381,3795,3397,3250,3451,3560,3441,3525,3786,3370,2611,2940,3536,3497,3607,3312,3531,3500,3372,3374,3527,3688,3695,3675,3631,3630,3697,3635,3745,3763,3827,4020,4052,4048,3985,3929,3830,3895,3894,3906,4026,3949,3483,3184,2759,2208,2040,1817,1711,2108,2360,2648,2644,3011,2916,3165,3011,2312,2264,2250,1838,1593,1505,1663,1574,1637,1760,1447,1435,1231,1270,1256,1196,1274,1362,1220,1306,1906,2032,1421,1541,1484,1571,1820,1877,1807,1901,1971,1931,1986,1964,1776,1741,1658,1614,1530,1324,1262,1159,1063,1330,1520,1290,1260,1231,1138,1304,1350,1324,1196,1191,1252,1242,1194,1408,1463,1440,1553,1615,1710,1680,1418,1696,1853,1742,1540,1641,2046,1885,2137,2820,2330,1845,2085,1787,1981,1871,1776,1848,2106,1643,2143,2012,1658,1686,1836,1896,1540,1558,1438,1926,1816,1738,2208,2262,2082,2094,2133,2116,2243,2125,1930,2166,2600,2382,1912,1872,2497,2624,2069,1858,2037,2069,2203,2444,2482,2015,1973,2272,2262,2451,1830,1689,2136,2194,2525,2830,2420,2155,2294,2308,1544,1898,1913,1975,2176,1906,1791,2323,2085,1648,1780,2007,2120,1845,1641,2038,2381,2223,2230,1972,1696,1917,1758,1912,2123,1881,1914,1759,1566,1777,2133,2213,2421,2107,1934,2108,2028,1901,1792,1874,2806,2633,2019,1950,2336,2562,1902,1553,1567,1271,1288,1487,1626,1561,1421,1516,1459,1465,1654,1575,1397,1710,1798,1855,1816,1806,1924,1388,1226,1647,1860,2085,1998,1680,1652,1758,1694,1591,1744,1769,1877,1648,1878,2062,1620,1538,1600,1823,1850,1911,1751,1576,1502,1627,1818,1566,1484,1610,1742,1816,2304,2403,2296,1812,1460,1793,2205,2055,1544,1609,1731,2090,2630,2647,2518,2332,1805,1736,1721,1829,2015,1867,1970,2002,1710,1630,1598,1652,1672,1474,1718,2024,2322,2359,2028,2149,2426,2253,1958,1476,1736,1831,1811,2542,2831,2329,1734,1489,1880,2483,2416,2270,1952,1916,1803,2154,2700,2364,2106,2139,1924,1510,1631,1954,1871,1787,1799,1659,1666,1819,1812,2175,2125,1814,2169,2580,2763,2622,2186,1980,1752,1491,1520,1670,1630,1643,2260,3162,3229,2984,2396,2254,2390,2248,2124,1810,1853,1470,2008,2831,2674,3521,3921,3603,2997,3019,3353,2900,2492,2708,3327,3397,3304,3184,2828,2396,2030,1902,1748,1537,1570,1614,1678,1689,2169,2444,1960,1665,1479,1383,1434,1946,1992,1703,1545,1465,1454,1554,1493,1582,1698,1573,1480,1627,1874,1901,2004,1899,1494,1338,1388,1523,1584,1865,1892,2709,3141,2981,2632,2224,2182,1877,1560,1796,2126,1739,1506,1544,1692,1470,1295,1750,1782,1593,1607,1605,1775,1851,1500,1656,1707,2153,2310,1736,1435,1367,1898,2270,2017,1738,1699,1628,1954,2129,1937,1691,2066,2667,2082,1861,1942,1882,1724,1677,1534,1499,2083,2150,2916,2259,1437,1485,1872,2129,2139,1795,1514,1616,1664,1559,1758,1816,2332,2099,2009,1972,1821,1523,1756,2093,1844,1601,1498,1303,1484,1666,1674,1889,1755,1748,1732,1676,1640,1699,1860],[3256,3496,3460,3063,2751,3006,3116,2775,2477,2533,2920,3527,3445,3747,3685,3284,2706,2895,3173,2733,2524,2632,2764,2869,2886,2737,2692,2840,3006,2963,2774,2666,2710,3028,3437,3435,3329,3754,3927,4200,4132,4201,4276,4200,4232,4032,3464,3136,3319,3165,2911,3023,3130,3167,3231,3610,4038,3952,3481,3283,3067,3207,3561,3365,3182,2695,2236,2864,2343,2242,2846,3256,3098,2755,2292,2137,2132,2060,2695,3772,3917,2918,2579,2519,2118,1925,2099,2454,2703,2790,2955,2930,2600,2368,3407,3689,3819,3608,3361,3351,3233,3351,3122,2214,2125,2830,2568,2252,3285,3476,3294,3264,3532,2858,1790,1187,1876,2756,2618,2251,2271,2509,2403,1923,1678,1671,1673,1922,2508,3641,3666,2687,2754,3232,3395,3121,2326,2770,2900,2971,2853,3088,3370,3207,2578,2029,1732,1470,1594,1725,1942,2277,1832,1673,1800,2034,2238,2985,3076,2949,2751,2598,2448,1865,2231,2780,3094,2840,2909,3367,2854,2179,2055,2076,2048,2100,2080,2174,2434,2422,2430,2593,2508,2350,2380,2307,2226,2121,1957,1933,2096,2036,1728,1559,1503,1902,2186,2246,2995,2533,2354,2622,2166,2045,3215,4207,3710,2999,1866,2332,2385,2217,2563,2152,2248,3068,3208,3009,2987,2705,2210,2099,2032,2233,2556,2136,1813,2260,2156,2097,2310,2501,2375,2292,2354,2511,2536,1692,1707,1949,1659,1580,1710,1860,1959,1998,1931,1703,1842,1808,1616,1655,1531,1414,1197,1326,1548,1491,1513,1435,1668,1871,1656,1450,1780,1871,1992,2399,2419,2160,1849,1910,2354,2495,2811,2866,2871,3066,2051,1542,1755,1779,2079,2234,1656,1905,2587,2133,2810,3750,3396,2342,2223,2470,2398,2417,2292,1775,1737,1576,2327,3374,2829,2231,2353,2094,2089,2541,2672,2104,2032,1957,1713,1499,1677,1732,2699,3230,2837,2682,2338,2213,2344,2024,1786,2148,2491,3021,2484,1954,1650,1589,1556,1561,1654,1814,2182,2306,2447,2308,2864,3139,3264,3099,2852,2900,2699,1911,1608,1949,2034,1695,1741,2115,2370,2393,2194,2255,1734,1603,1615,1474,1356,1656,1989,2122,1841,1707,1852,1919,1879,1541,1669,1646,1290,1241,1702,2122,1822,1528,1804,2392,2072,2549,3274,2894,2696,2938,3379,3520,3604,3594,3128,2999,2514,1757,1932,1996,2066,1926,1628,1649,1685,2255,2583,2544,2709,3062,2731,2263,1886,1477,1375,2045,2622,2384,2094,1753,1642,1837,1771,1927,3022,2763,1926,1647,2149,2694,3352,3112,2585,2279,1868,2245,2644,2278,1586,1458,1147,1248,1337,1641,1550,1547,1743,1780,1952,2203,1946,1622,1640,1992,1720,1599,2130,1915,1708,1731,1611,1205,998,1153,1598,1567,1440,1476,1526,2000,2245,2641,3172,3029,2367,1868,2618,3168,1857,1436,1723,2637,2569,2237,1858,2377,2246,1699,2098,2393,2005,2297,2241,2102,1978,2122,1804,1697,1661,1355,1799,2141,2514,2467,2229,2189,2252,2195,2317,2476,2512,2297,2958,3451,2754,2156,2195,2028,1597,1906,1487,1332,1487,1524,1852,2264,2069,1872,1686,1489,1640,1714,1790,1808,2178,2720,2061,1556,1614,1713,1729,1897,1892,2085,2253,2253,1961,1764,1670,1797,2589,2380,2059,1815,1655,1656,1594,1613,1609,1810,1798,1546,1729,2123,1957,1301,1366,1829,2313,2201,2125,2192,2575,2424,1721,1465,1366,1387,1631,1798,1853,1714,1717,1743,1783,1788,1607,1660,1921,1790,1733,1730,1823,2399,1951,1392,1638,1785,1573,1446,1721,1779,1533,1518,1509,1464,1344,1300,1287,1299,1365,1601,1576,1851,2270,2137,1874,1793,1469,1587,1641,1672,1503,1259,1930,2218,1874,1769,1896,1765,2088,2122,1009,1483,2321,2184,2082,2023,1821,2736,2591,2344,3358,3177,1821,1572,1842,1927,1714,1633,1769,1896,1804,1858,2353,2678,2452,2307,2336,2268,1786,2087,3194,2963,2097,2046,2618,2204,2051,1962,1529,1533,1822,1677,1560,1609,1527,1378,1429,1331,1432,1740,1606,2122,1998,1443,1440,1729,1521,1585,1970,1446,2109,2342,2165,1884,2119,2996,3582,3560,3441,3261,3399,3492,3215,3332,3423,3220,3498,3897,3938,3869,3862,3730,3173,2286,1824,1694,1523,1489,2088,2776,3393,3411,2810,2703,2250,2256,2049,2017,2713,2864,2653,2590,2011,2297,2132,2164,2273,2598,3097,2940,2149,2119,2532,2406,2427,2202,2524,2893,3266,2276,2336,2632,2717,1904,1389,1537,1573,1792,2364,2921,3229,2730,2580,2746,2390,1767,1677,1952,2313,2489,2179,2893,4016,3979,3489,2706,1917,1786,2204,1972,1778,1749,1835,2119,2801,3368,3649,3669,3689,3673,3784,3514,3470,2809,2385,2565,2712,2657,2214,1810,1991,2421,2381,2702,2521,2064,1854,1824,1490,1556,1866,1521,1730,2042,1912,2118,2119,1716,1765,1959,1838,1802,1883,2025,2109,2495,3262,2769,1939,1788,1915,1847,1900,1679,1503,1397,1732,1718,1960,2481,2706,2798,2546,2235,2287,2131,2332,2410,1749,1559,1955,2263,2176,2129,1703,1514,1532,1650,1606,1840,1990,2001,1918,1620,1439,1470,1562,1665,1680,1486,1538,1451,1824,1483,1381,1721,1901,1638,1520,1359,1262,1617,1670,995,959,1630,1833,1822,1914,1868,1842,1984,2135,2061,1879,1655,1560,1855,1775,2026,1784,2000,1560,1589,1468,1400,1398,1563,1705,1749,1937,2337,2011,1411,1560,1501,1409,1393,1860,1646,1415,1792,2280,1929,1345,1591,1720,1888,3170,2549,2220,1892,1863,1687,1595,1781,2068,1938,1740,2008,2401,2047,1665,1451,1369,1557,2627,2461,1700,1455,1649,1432,1364,1755,1789,1505,1508,1317,1529,1821,1695,1230,1257,1412,1473,1274,1015,1439,1734,1352,1387,1493,1727,1699,1738,1714,1771,1489,1329,1444,1431,1276,1390,1494,1800,2131,2005,1952,2327,2396,2120,1693,1305,1462,1622,1531,1661,1768,1696,1881,1935,1905,1977,1982,1992,1764,1671,1766,1964,1784,1375,1334,1291,1315,1473,1505,1430,1322,1133,1168,1039,1340,1732,1616,1732,1990,1850,2002,2027,1974,1994,1842,1692,1686,1621,1489,1394,1271,1219,1170,1214,1417,1854,1574,1367,1407,1293,1367,1512,1351,1248,1322,1492,1781,1642,1611,1592,1448,1267,1430,1555,1581,2070,2321,2142,2204,2187,1758,1954,2042,1842,1466,1341,1503,1565,1615,1737,1948,2337,2205,1863,1682,1507,1504,1638,1568,1690,1768,1552,1811,1736,1427,1553,1956,1815,1443,1685,1684,1812,1921,1692,1517,1599,1854,1735,1502,1636,1792,1666,1759,1562,1407,1565,1848,2084,2099,1948,1973,2432,2267,2063,2132,1930,2150,2099,1468,1986,2178,1529,1681,2151,1785,1494,1020,1083,1666,1971,1925,2124,2609,2335,2211,2182,1831,2043,2306,2428,2483,1984,2077,2967,2561,2106,2224,2236,2023,1909,2058,2420,2762,2463,1912,1960,2024,1764,1624,2403,3461,3458,3064,2545,1967,2245,2978,3913,4146,3721,2845,2210,2466,3178,3294,3350,3519,3030,2512,2834,3427,3746,3850,3632,3470,3344,3394,3475,3601,3620,3638,3650,3709,3748,3806,3715,3644,3588,3835,4094,4090,4160,4119,4001,3895,3911,3950,3952,4012,4029,4176,3948,3394,2930,2491,2021,2032,2260,2693,2952,2806,2861,2850,3177,2787,2021,1998,1792,1353,1152,1378,1632,1445,1535,1712,1360,1344,1286,1109,1193,1346,1375,1465,1317,1258,1549,1527,1338,1482,1476,1631,1846,1900,1887,1941,1866,1815,1856,1831,1738,1522,1308,1212,1251,1355,1294,1289,1194,1422,1619,1317,1300,1241,1265,1328,1251,1367,1258,1275,1387,1135,1282,1748,1665,1545,1589,1747,1731,1605,1449,1405,1555,1576,1472,1593,1782,1719,2072,2523,2061,1665,1807,1680,1837,1880,2071,2071,1926,2193,2832,2401,1765,1539,1804,1801,1709,1575,1884,2392,1990,2185,2388,2160,2283,2340,2245,2220,2466,1932,2143,2186,2106,2370,2475,2229,1929,1855,1973,1944,1948,1818,1697,1621,1752,1966,1849,1840,1596,1534,1699,1787,1792,1773,2096,2382,2173,1881,2052,1941,1897,2273,1887,1759,2367,2306,2163,2506,1914,1516,1589,1561,1725,1996,1884,1946,2040,1839,1623,1559,1976,2087,1711,1895,1855,1767,1637,1466,1590,2031,2658,3043,2676,2158,2249,2376,2249,1741,1385,1816,2414,2346,1872,1382,1763,2384,2169,1732,1455,1175,1274,1556,2195,2231,2352,2239,2062,1754,1750,1740,1514,1768,1852,1927,1818,1728,1759,1518,1345,1649,1680,1781,1359,1601,1977,1686,1464,1394,1497,1730,1993,1573,1781,2116,1680,2053,2397,2107,2047,2150,2018,1721,1502,1625,1873,1532,1528,1915,2085,1902,2020,2176,2315,1887,1499,1968,2489,2298,1747,2078,1930,2052,2622,2818,2589,2187,1768,1615,1722,1739,1737,2075,2585,2750,2010,1843,1676,1593,1756,1918,1968,1838,1624,1711,1832,1636,1572,1920,1935,1671,1647,1836,1850,2321,2494,2208,2182,2309,2024,2058,1753,1728,1681,1787,1793,2171,2355,2021,1688,1693,1615,1422,1648,1824,1583,1512,1557,1596,1717,2046,2374,2751,2409,1903,2329,2677,2476,2047,1645,1513,1710,1530,1677,1790,1729,1873,2327,2167,1914,2144,2190,2381,2475,2329,2220,2310,2438,2019,2468,2967,3012,3668,4062,3620,3162,3397,3408,2885,2750,2991,3497,3703,2871,2330,2247,2142,1775,1629,1648,1539,1537,1356,1441,1503,2043,2398,1839,1651,1432,1471,1628,1687,2032,1948,1519,1607,1716,1851,1755,1713,1711,1614,1710,2003,1960,1685,1816,1642,1511,1838,2171,2223,1842,1664,1708,2307,3052,3063,2233,2040,2308,2451,2233,2030,1849,1792,1851,1814,1935,1687,1576,1786,1575,1539,1705,1614,1508,1789,1618,1680,1711,1853,1837,1678,1416,1343,1569,1881,1924,1594,1491,1985,2299,2147,1964,1857,2221,2612,2491,2410,2521,2590,2223,1638,1476,1591,1969,1599,1888,1651,1702,1934,2061,1958,1664,1583,1793,2147,1736,1387,1849,1793,1937,1724,1778,1815,1737,1770,1968,2114,1992,1816,1639,1561,1633,1939,1782,1769,1704,1770,1834,1743,1712,1875,2063],[3328,3631,3514,2812,2504,2574,2430,2398,2424,2345,2929,3142,2493,2777,3104,2579,2135,2871,3353,2861,2932,3188,3410,3222,3019,2281,2391,2727,2932,2833,2843,2878,2910,3274,3721,3421,3365,3675,3760,4069,4211,4271,4286,4283,4176,3926,3544,3299,3295,3076,2923,3009,3162,3316,3464,3608,4056,4000,3369,2666,2548,3176,3475,2897,2801,3114,2541,2505,2385,2607,2890,3226,2944,1974,1688,1752,1746,2147,2713,3207,3262,2810,2608,2526,2238,2054,2201,2524,2628,2935,2900,2692,2754,2875,3582,3884,3843,3620,3164,2741,2912,3561,3470,2367,2181,3077,3118,2986,3176,3496,3044,3115,3312,3107,2193,1301,1798,2562,2530,2561,2747,2431,2343,2152,1870,1784,2021,1891,1913,2955,3329,2777,3118,3351,3118,2943,2045,2044,2460,2752,2465,2301,2646,2908,2231,1581,1598,1931,1933,1911,1867,1989,1808,1713,1725,2313,2924,3495,3142,2827,2879,3077,3020,2159,2264,2221,2553,2643,2420,2706,2519,2059,1940,1976,2056,1894,1833,2127,2446,2791,2762,2800,2554,2338,2308,2223,2076,2020,1956,2000,2242,1858,1587,1373,1429,2225,2376,2277,2416,2028,1791,2285,2220,2588,5493,6445,3689,2206,2396,2604,2384,2170,2132,2199,2813,3548,3646,3394,3394,2978,2371,2630,2608,2199,2116,1897,2299,2187,1828,1830,1990,2293,2455,2451,2405,2367,1844,1508,1845,2049,1681,1739,1780,1836,1861,1650,1477,1580,1744,1583,1638,1745,1560,1459,1347,1359,1434,1518,1642,1900,2072,1641,1411,1565,2014,1763,1875,1814,1909,2231,2195,2115,2547,2866,2899,2812,2950,3198,1908,1677,1583,1723,1835,1780,1512,2054,2399,2570,3572,4297,3828,2030,1673,2204,2266,1947,1837,1744,1593,1549,2007,2923,2965,2762,2424,2220,2019,2421,2192,1671,2196,2154,1737,2007,1902,1742,2630,3155,3082,2939,2799,2680,2381,1835,1341,1398,2033,2654,2649,2260,1763,1751,1594,1803,1892,2068,2428,2379,2721,2609,2952,3264,3233,3153,3068,3119,2790,2013,2063,2339,2139,1774,2004,2066,2279,2094,2054,1860,1650,1613,1466,1439,1432,1678,1850,1771,1812,1505,1693,1884,1907,1763,1743,1818,1678,1662,1987,2564,2273,1655,2104,2585,1787,2499,2994,2663,2618,2831,3387,3571,3420,3240,2833,3256,2278,1928,2206,2308,2367,2021,1676,1576,1900,2788,3085,2932,2396,2085,2245,2159,2164,1654,1650,2142,2214,2024,1705,1626,1778,1755,1911,2475,3430,2925,1928,1570,2160,2596,2220,1872,1658,1481,1524,2190,2421,2308,1921,1741,1538,1425,1427,1518,1444,1487,1537,1715,1843,1982,1852,1668,1640,1650,1656,2031,2138,1671,1610,2041,1640,1027,862,1193,1671,1664,1693,1634,1694,2158,2266,2308,2642,2944,2675,2155,2880,2820,2304,2079,1997,2022,1861,1413,1644,2023,2068,2299,2577,2696,2373,2381,1935,2197,2737,2276,1909,1876,1617,1598,1605,1742,2025,2090,2020,2133,2401,2154,1742,1849,2398,2574,2850,2854,2140,1509,1866,2074,1650,1952,1602,1543,1512,1493,1820,1839,1844,2126,1845,1531,1478,1453,1770,2014,1924,1906,1610,1694,1593,1487,1891,2069,1963,2013,2142,2186,1671,1689,1687,2062,2311,2341,2192,1689,1463,1436,1508,1581,1788,1855,1865,1691,1618,2025,2016,1490,1549,1919,1992,2131,2142,1771,1977,1760,1380,1366,1384,1426,1552,1768,1937,1692,1685,1744,1610,1798,1853,2018,2643,2273,1848,1771,1917,1969,1831,1523,1508,1621,1409,1436,1736,1716,1496,1499,1470,1382,1289,1193,1316,1417,1556,1655,1670,1979,2329,2423,2386,2162,1599,1492,1618,1705,1578,1543,2101,2293,1979,1616,1698,1992,2147,1885,912,1600,2251,2249,1989,2027,2018,2664,2614,2051,2357,1990,1036,1100,1692,1931,1593,1498,1338,1344,1600,1941,2348,2316,1931,2049,2237,2163,1666,1658,2708,3188,2497,2191,2336,1868,1968,1853,1532,1440,1360,1567,1725,1920,1433,1337,1437,1445,1385,1721,1882,1749,1552,1412,1419,1729,1686,1604,1704,1830,2662,2902,2831,2606,2964,3913,3982,3464,3038,3052,3484,3560,3514,3538,3501,3329,3602,3849,3706,3552,3534,3552,2797,2036,1816,1744,1368,1560,2008,2378,3025,3061,2806,2336,2285,2688,2448,2778,3097,2642,2633,2501,1847,1923,1853,2181,2803,3221,3408,3109,2633,2628,2577,2311,2352,2194,2188,2438,2862,2073,1499,1713,1855,1524,1396,1711,1875,2411,2577,2445,2623,2653,2510,2350,2001,1705,1688,1860,2062,2370,2155,2275,3191,4169,3762,2597,1667,2106,2591,2447,2446,2845,2630,2050,2342,2897,3270,3428,3779,3152,2495,2764,2783,2438,2078,1666,1754,2003,1896,1831,1755,2061,2381,3570,3812,3266,2430,2068,2273,2710,2371,1902,1901,1903,1870,2118,2211,2293,2476,2344,1959,1859,2134,2338,2357,2795,3508,2722,1709,1540,1847,1952,1829,1816,1553,1305,1600,1562,1738,2518,3055,2759,2428,2066,2097,1736,1895,1795,1530,1552,1950,2164,2399,2579,1958,1559,1452,1510,1440,1809,2295,2188,1759,1513,1427,1544,1521,1471,1527,1376,1576,1908,2294,1914,1479,1671,1876,1619,1524,1503,1382,1777,1463,774,1461,1846,2133,2137,1647,1333,1312,1488,1792,1771,1578,1452,1611,1917,2142,2011,2202,1758,1422,1419,1318,1281,1405,1576,1802,2179,1958,2265,2065,1590,1664,1625,1328,1686,1916,1602,1371,1493,1616,1247,1498,1570,1507,1611,1977,2076,2165,2056,1835,1649,1566,1918,2187,1968,2003,1973,1968,1598,1312,1092,1518,1627,2025,1946,1485,1654,1462,1141,1431,1874,1810,1486,1575,1394,1342,1642,1810,1831,1688,1456,1457,1471,1424,1601,1791,1712,2021,1952,1946,2135,1860,1648,1584,1495,1384,1494,1888,1872,1528,1687,1886,2253,1796,1615,2049,1806,1614,1628,1494,1616,1914,2207,2010,1869,1438,1543,1684,1656,1703,1816,1808,1777,1833,1934,1934,1673,1340,1335,1278,1308,1665,1652,1465,1247,1066,1072,1196,1522,1799,1803,2015,2154,1990,1895,1847,1840,1793,1599,1458,1471,1394,1424,1521,1296,1252,1185,1152,1690,2142,1840,1455,1436,1473,1444,1550,1593,1584,1658,1829,1904,1694,1612,1494,1490,1347,1687,1809,1560,2008,2610,2513,2070,2131,2174,2253,1841,1518,1436,1298,1247,1265,1598,2004,2179,2133,1808,1711,1650,1502,1417,1433,1464,1539,1666,1819,2148,1864,1494,1836,2189,1854,1877,2187,1772,2280,2065,1601,1435,1410,1341,1478,1495,1563,1764,1844,1952,1512,1455,1633,1874,1934,1890,2061,2057,2334,2066,1739,2135,2398,3063,2523,1953,2397,1955,1539,1405,1796,1930,1246,873,1383,1817,2127,2022,1970,2198,2418,2444,2308,1631,1441,1769,1897,2055,2106,2563,3986,3395,2347,2103,1873,1686,1826,1828,1970,2636,3130,2785,2352,2220,1860,1691,1903,2574,2633,2100,2009,2675,3444,3971,4073,3754,3447,3127,2464,2302,3034,3283,3341,3011,3095,3161,3461,3608,3551,3665,3514,3233,3294,3617,3787,3616,3658,3619,3648,3585,3650,3816,3811,3671,3629,3830,4027,4008,4152,4164,4040,3996,3946,3915,3936,3986,4038,4095,4094,4016,3856,3448,2540,2203,2231,2765,3023,2898,2957,2876,2673,2330,1858,1793,1835,1495,1403,1519,1743,1456,1397,1361,1367,1472,1338,1246,1396,1309,1230,1456,1240,936,1143,1493,1681,1743,1766,1815,1896,1943,1866,1541,1295,1378,1515,1528,1470,1338,1196,1133,1271,1282,1219,1290,1173,1231,1612,1390,1418,1422,1322,1299,1449,1361,1287,1339,1412,1441,1517,1722,1662,1455,1477,1879,1882,1568,1694,1570,1384,1622,1848,1812,1731,1547,1612,1746,1838,1683,1581,1672,1929,2364,2500,2461,2674,2579,2613,2567,2136,1377,1497,1647,1678,1691,2544,2685,1974,2273,2589,2343,2419,2376,2247,2105,2338,1830,1813,1677,1548,1924,2109,1894,1966,2613,2387,1858,2176,1853,2096,2042,1943,2163,2170,1991,1631,1543,1769,1879,1733,1862,2110,1804,1721,2062,2622,2370,2006,1665,1502,1820,2364,2158,2045,2422,2059,1694,1519,1372,1485,1823,1950,1683,1680,1991,1852,1693,1724,1851,1866,1742,1876,1584,1378,1551,1865,2470,3089,3200,2809,2308,2168,1973,2081,1412,930,1273,1855,2148,1882,1663,1756,2109,2226,1789,1430,1527,1468,1743,2669,2895,2907,2546,2455,2215,2024,1786,1462,1672,1664,2310,2180,1788,1642,1550,1405,1437,1826,1960,1781,2099,2212,1729,1607,1494,1715,2276,1877,1983,2141,1960,1699,2036,2401,2426,2315,2102,1726,1543,1569,1717,1863,1838,1730,1810,1745,1643,1702,1783,1962,1811,1822,1815,2050,1844,1591,1777,2090,2297,2363,2135,1767,1594,1638,1642,1558,1582,1768,2057,1951,1951,1653,1786,1846,1585,1730,2092,2162,1712,1508,1548,1551,1509,1488,2076,2205,1780,1405,1417,1809,2087,1866,1680,1635,1576,1602,1798,1785,1665,1554,1727,1788,1792,1764,1480,1431,1530,1508,1411,1560,1411,1334,1606,1604,1454,1440,1981,2734,2844,1968,1765,2561,2722,2066,1986,1797,1712,1786,1597,1554,1759,1911,2004,2009,1584,1752,1809,1979,2426,2776,2591,2644,2526,2140,2173,2421,2402,2575,3009,3581,3970,3565,3518,3471,2978,2824,2919,3213,3546,2565,1605,1807,1973,1684,1602,1787,1619,1331,1454,1951,1969,2260,2311,1926,1714,1355,1349,1472,1527,1714,1839,2364,2447,2396,2535,2539,2213,1900,1827,1810,1798,1886,1805,1988,2059,2267,3120,3497,2979,2588,2441,1974,1766,2292,2418,1841,1529,1682,1815,1820,1653,1605,1808,2034,2186,2311,2049,1958,1770,1555,1898,1796,1648,1704,1745,1575,1564,1594,1453,1484,1550,1367,1432,1774,1726,1764,1784,1606,1658,1824,1744,1783,1858,1910,2098,2374,2366,2409,2298,1953,1682,1657,1735,1876,1932,1904,1900,2169,2139,1850,1610,1598,1743,1969,1815,1529,1576,1958,1870,1800,1676,1611,1639,1671,1858,2071,1821,1903,1750,1560,1468,1590,1831,1720,1667,1702,1538,1334,1804,1832,1901,1992],[3144,3218,3062,2536,2258,2592,2580,2323,2433,2726,3616,3164,2621,2714,2865,2931,2957,3243,3227,2779,3552,3553,3396,3062,3020,2594,2625,2985,2806,2819,3008,2953,2883,2919,2779,2380,2567,3419,3770,3908,3963,4096,4242,4082,3850,3890,3597,3525,3408,3204,2995,3059,3357,3517,3464,3834,4116,3706,3185,2557,2315,3121,3431,2791,2342,2200,2271,2426,2610,3064,3107,3282,2966,2019,2001,2289,2008,2246,2841,2414,1980,2347,2928,3038,2958,2807,2800,2981,2974,3120,3251,3107,2764,3216,3419,3311,2899,2679,2780,2871,3474,3919,3812,2541,2230,2933,3394,2807,2788,3161,3067,3066,3120,2885,2171,1556,2074,2317,2751,2880,2520,2508,2808,2756,2611,2856,2947,2383,1955,2264,2425,2476,3182,2707,2476,2272,2169,1951,2011,2588,2645,2313,2569,2395,1977,1714,1861,2282,2248,2175,2286,2298,2404,2595,2411,2425,2928,3168,3188,3076,2689,2565,2415,2213,2286,2332,2475,2341,2253,2424,2219,2170,1982,2048,2189,1712,1880,2302,2599,2815,2639,2541,2665,2410,2309,2331,2097,1989,1605,1582,1959,1782,1687,1575,1854,2255,2337,2082,1730,1509,1927,2822,2966,3033,3460,3130,2454,2188,2828,2595,2247,1950,1876,2261,2663,3233,3373,3500,3567,2585,1926,2365,2144,2036,2202,2277,2344,2407,2047,1893,2037,2732,2741,2670,2913,2537,1914,1798,2187,2320,1898,1825,2005,2092,2069,1628,1589,1668,1737,1508,1564,2058,1902,1614,1456,1504,1471,1560,1709,1716,1775,1648,1603,1780,1776,1690,1804,1717,1703,2023,1992,1946,2614,3264,3177,3071,2985,2885,1932,1665,1674,1804,1854,1782,1804,2005,2000,2819,3635,4135,3340,1921,1533,1806,2098,1764,2345,2426,2456,2981,3138,3335,2970,2791,2268,2143,1952,2305,1968,1707,2399,2277,1940,2527,2213,1656,1983,1975,1880,2311,2558,2651,2404,2175,2049,2272,2709,2812,2668,2548,2076,1842,1659,1924,2073,2457,2917,2761,2592,2610,2944,2953,2783,2951,2873,2800,2448,1956,2378,2842,2437,2282,2247,2194,2125,1959,1864,1671,1705,1699,1898,1963,1668,1675,1800,1760,1811,1583,1404,1378,1458,1495,1861,2372,2099,1914,2366,2448,2041,1733,2546,2618,2131,2664,2743,2622,2701,2767,3103,3295,3372,2836,2854,3042,2079,1890,2425,2326,2021,1959,1926,2078,1996,2569,2899,2689,2194,1807,2028,2152,2205,2126,2100,1960,1996,1667,1465,1549,1698,1652,1777,1605,1610,1814,1752,1489,1749,1821,1378,1593,1601,1511,1519,1819,2191,2051,1976,2009,1962,1824,1792,1690,1389,1344,1606,2010,2053,1936,1645,1900,2095,1763,1710,1916,1754,1434,1723,2196,1526,1301,1599,1892,1694,1894,2106,1893,1779,2043,2338,2141,2193,2865,2769,2424,3016,2737,2801,2347,1935,1566,1478,1622,1765,1690,1880,2019,2654,2908,2629,2249,1864,1876,2049,1898,1918,1661,1555,1656,1630,1709,1699,2013,2446,2252,1816,1579,1422,1510,1924,2172,2542,2233,1853,1705,2178,2116,1805,1955,1997,1881,1553,1533,1674,1531,1563,1748,1764,1721,1442,1615,1848,1747,2012,1933,1709,1544,1637,2113,2129,2060,2011,1742,1841,1778,1674,1661,1835,2306,2073,2290,1961,1447,1325,1310,1520,1655,1704,1542,1758,1758,1430,1564,1759,1564,1516,1909,1795,1811,1869,1506,1409,1334,1353,1295,1485,1714,1624,1540,1724,1511,1527,1780,1628,1724,1995,2087,2193,1912,1775,1666,1810,2175,2424,1885,1418,1554,1532,1527,1705,1635,1433,1513,1468,1358,1357,1345,1457,1684,1865,1866,2045,2185,2239,2522,2693,2523,1881,1652,1762,1986,1912,1928,1898,1816,1792,1455,1464,1790,2041,1281,717,1660,2153,2196,2024,1927,2207,2792,2451,1871,1813,1741,1651,1197,1471,1514,1407,1393,1226,1416,1867,2053,2430,2523,2047,1872,2396,2045,1599,1473,1959,2787,2862,2469,1621,1664,2280,1860,1688,1403,1444,1970,1670,1747,1461,1430,1639,1468,1412,1630,1736,1508,1707,1646,1655,1793,2010,1676,1936,2536,2689,2414,2643,3102,3658,4053,4129,3612,2884,3561,3692,3538,3272,3503,3510,3141,3255,3108,2558,2355,2565,2595,1943,1792,2209,2534,2387,2366,2452,2563,2541,2752,2751,2322,2865,3296,2827,2400,2259,2523,3098,3125,2428,2199,2108,2179,2770,2873,2648,2734,2445,2067,2524,2884,2906,2356,2365,2689,2614,2003,1824,1750,1443,1470,1368,1443,2138,2752,2914,3034,2920,2948,2731,2196,1824,1805,1833,1769,1703,2241,2554,2347,2445,3726,4057,2947,2187,2685,2830,2270,3080,3198,2358,1950,2240,2920,3574,3635,3251,2822,2963,2869,2457,2807,2611,1973,2131,2625,2167,2061,2336,2185,2249,2776,3482,3023,2061,2751,3394,3116,2731,3321,2646,2169,1733,1753,2030,1943,1770,1820,1605,1697,1814,1869,2292,2602,2757,2082,1586,1638,1904,1991,1786,1654,1581,1457,1286,1476,2071,2625,2445,2808,2486,2495,2137,1927,1938,1277,1496,1745,1712,1961,2796,2746,1892,1638,1552,1378,1422,1556,1793,1783,1631,1526,1450,1584,1607,1730,1399,1356,1588,2245,2468,2123,1704,1459,1417,1332,1368,1426,1687,1876,1449,1108,1629,1654,1802,1802,1521,1330,1320,1471,1634,1769,1496,1365,1525,1823,2128,2161,2047,1698,1710,1593,1448,1545,1908,1690,1641,1900,1779,1997,2132,2008,2006,1748,1627,1956,1636,1376,1185,1259,1575,1776,1691,1661,1611,1544,1435,1417,2033,2369,1896,1555,1688,1972,2299,1964,1657,1473,1457,1543,1186,889,1448,1685,1823,1649,1790,2325,1737,1491,1599,1855,1839,1677,1477,1423,1527,1534,1710,2007,1898,1742,1747,2005,2405,1868,1702,1886,1917,1957,1855,1902,2020,1791,1499,1443,1500,1536,2272,2331,1640,1591,1850,2264,2097,1990,2119,2106,2159,2410,2212,1540,1653,1816,1808,1656,1405,1451,1452,1469,1560,1474,1459,1769,1730,1877,1905,1846,1853,1646,1499,1414,1622,1556,1415,1288,1032,1178,1271,1561,1853,1847,2030,2147,1974,1760,1731,1737,1554,1353,1400,1472,1346,1387,1687,1581,1504,1445,1090,1326,1698,1760,1526,1411,1394,1495,1779,1764,1731,1771,1625,1880,1808,1609,1499,1671,1506,1541,1604,1422,1801,2602,2714,2150,2001,2357,2204,1472,1355,1476,1388,1417,1507,1986,2396,1982,1600,1673,1701,1767,1580,1387,1425,1414,1489,1678,1686,1800,1754,1718,2066,1927,1979,2499,2097,1759,1825,1732,1501,1432,1350,1354,1493,1501,1557,1766,1919,1846,1685,1847,1830,1920,1921,2084,2045,1777,2054,2164,2408,2651,2581,3133,2093,1847,2375,2365,2032,1801,1987,1675,983,1311,1668,1977,2226,2094,2383,2350,2270,2347,2246,1880,1765,1816,1954,1963,2269,2490,3049,3078,2336,2079,1925,2041,2077,1741,1787,2750,3272,2954,2653,2259,1945,1922,1898,2016,1968,2237,3008,3785,3982,3928,3660,3400,3258,3362,3312,2821,3232,3540,3176,2889,3140,3193,3399,3458,3453,3602,3395,3153,3378,3562,3871,3537,3505,3659,3688,3617,3676,3767,3862,3761,3741,3724,4029,3935,4031,4090,3995,3916,3948,3940,3959,3939,3970,4060,4024,3922,3939,4095,3704,2855,2192,2064,2479,2833,2997,2665,2075,1812,1733,1882,2022,1637,1610,1722,1686,1518,1344,1472,1700,1593,1378,1241,1205,1247,1406,1573,1362,1385,1695,1948,1878,1730,1691,1654,1849,1928,1709,1031,923,1079,1305,1387,1294,1319,1340,1360,1560,1325,1205,1260,1203,1103,1403,1271,1458,1637,1550,1453,1362,1349,1649,1603,1506,1555,1771,2070,2191,1703,1656,2072,1984,1860,2121,1815,1520,1980,2339,2093,1560,1430,1624,2005,1866,1675,1490,1568,1919,2471,2310,1994,2460,2274,2042,1984,1765,1714,1730,1571,1615,1913,2326,2093,1874,2007,2236,2144,2165,2144,1897,2013,2157,1701,1689,1758,1566,1465,1592,1852,2065,2300,2517,2074,2115,1769,2283,2511,2245,1842,1870,2051,2055,1896,1995,2142,1761,1931,2239,2023,1841,2266,2475,2189,1698,1368,1558,1890,2038,2073,2194,2277,1771,1377,1318,1369,1404,1585,1623,1427,1521,2065,1869,1873,1694,1895,2177,2571,2515,1990,1934,2035,2069,2391,2668,2801,2586,2039,1744,1250,1860,1820,1384,1438,1770,2030,1983,2012,2577,2924,2511,1525,1400,1702,1576,1812,2348,2800,2754,2206,2128,2178,2193,2100,1404,1373,1603,2332,1897,1679,1734,1749,1561,1675,2042,2053,2021,2325,2470,2178,2087,1770,2305,2541,2029,2184,2113,1792,1492,1559,2013,2259,2253,2195,1914,1681,1560,1726,2024,2041,1852,1951,2012,1763,1643,1688,1910,1692,1721,1639,1665,1680,1827,1923,2091,2257,2150,1801,1668,1569,1510,1624,1526,1438,1573,1770,1632,1531,1527,1933,2169,1787,1801,1724,1864,1473,1397,1433,1539,1559,1639,1933,2018,1517,1310,1869,2424,2066,1648,1601,1931,1525,1631,1772,1737,1525,1477,1847,1735,1750,1832,1449,1434,1520,1553,1543,1401,1332,1516,1633,1725,1535,1349,1927,2616,2254,1791,1917,2342,2231,1854,1935,1848,2057,1887,1670,1810,1762,1648,1854,2037,1765,1939,1815,1781,2684,3520,2749,2191,1919,1562,1812,2102,2066,2787,3515,3287,3385,3283,3699,3828,3619,3042,2655,3177,3171,1946,1556,1801,2165,2083,1625,1753,1645,1534,1597,2051,2146,2009,1642,1634,1616,1340,1276,1268,1348,1539,1887,3051,3037,2890,3211,3068,2739,2482,2114,1787,1601,1792,1958,2093,2403,2397,3011,3325,2810,2418,2143,1819,1699,1979,1988,1989,1640,1606,1921,1842,1558,1493,1652,1691,2071,2493,2297,2099,2107,1664,2482,1885,1504,1575,1593,1797,1839,1562,1515,1608,1654,1379,1309,1606,1594,1876,2110,2083,1824,1671,1712,1692,1690,1798,2172,2193,1795,1788,1321,1405,1560,1580,1661,1915,2053,2040,2287,2113,1746,1593,1637,1688,1793,2018,1648,1589,1862,2110,1941,1754,1748,1746,1692,1500,1521,1794,1502,1415,1682,1967,1844,1803,2052,2088,1607,1624,1603,1284,1588,1887,2699,2133],[2873,2713,2371,2207,2686,3219,2613,2345,2644,3006,3204,3387,3202,2792,2756,3007,3406,3461,3627,3382,3276,3382,3043,2531,2808,2922,3099,3306,2706,2710,2744,2739,3206,3771,3138,2221,2533,3747,3979,3808,3681,3606,4069,3924,3629,3754,3476,3326,3353,3386,3130,3251,3576,3485,3352,3768,4003,3321,2889,2640,2662,3230,3165,2561,2497,2583,2600,2280,2177,2843,3244,3252,2675,1923,2154,2524,2293,2333,2707,2363,1789,1731,1965,2518,3188,3274,3064,2828,3240,3087,3464,3413,3144,3329,2711,2082,1808,2132,3118,3755,3808,3519,3503,2887,2918,2953,3277,3276,3414,3366,2821,2489,2824,2570,2142,1919,2126,1923,2547,2611,1666,2086,2903,2853,2864,3010,2800,2401,2207,2460,2458,2421,2676,2610,2788,2864,2877,2358,2045,2566,2767,2253,2377,2342,2434,2265,2366,2418,2412,2640,2909,2983,3304,3132,2712,3142,3763,3741,3624,3206,2867,2677,2277,2263,2498,2425,2268,2211,2282,2071,1721,2035,1901,2230,2492,2187,2416,2250,2595,2962,3067,3421,3217,2723,2633,2702,2398,2002,1826,1883,1776,1727,1670,1738,2254,2458,2104,1689,1541,1546,1896,2513,2862,3341,3430,2873,2294,2120,2802,3062,2417,1891,1614,1610,2038,2695,2876,3215,2880,1830,1459,2082,2400,2498,2719,2721,2642,2920,2258,1973,1802,2101,2503,2817,2756,2918,2523,2045,2228,2034,1806,1898,1819,1892,1764,1513,1593,1622,1710,1551,1531,1786,1820,1532,1568,1904,1656,1655,1881,2025,1602,1608,1653,1668,1678,1593,1572,1693,1782,1925,1757,1863,2639,3217,3241,3050,3055,2545,1998,1801,1726,1744,1841,1852,1854,1890,1812,2873,3898,4165,3300,2028,1765,2147,2662,3179,3230,2960,3385,4027,3748,3307,2221,2385,1759,1266,1554,1842,1731,1614,2200,2186,2009,2730,2258,1603,1753,1294,1150,2104,2524,2447,2504,2568,2932,3187,2753,2333,2766,2812,2474,1863,1694,1923,2322,2534,2764,2764,2708,2660,2872,3094,3233,3527,3161,2761,2104,2176,3292,3388,2520,2239,1894,1837,2379,2522,2177,1785,1641,1523,2294,2391,1862,1590,1518,1638,1654,1531,1381,1365,1604,1771,1930,2056,1824,1733,2320,2266,2009,2184,2906,3197,3059,2949,2618,2498,2721,2563,2536,2881,2702,2532,3084,2878,2022,2143,2534,2049,1809,1851,2136,2929,2787,3343,2678,2197,1957,1489,1412,1515,1533,1625,1621,1527,1642,1498,1554,1770,1838,1957,1816,1702,1633,1522,1621,1672,1839,1629,1716,1721,1474,1473,1533,1887,2256,1930,1616,1697,1863,2089,2111,1595,1882,2151,2324,2190,2208,1743,1579,2003,2018,1772,1715,1825,1717,1554,1668,1727,1484,1348,1981,1942,1425,1636,1896,1898,2007,2288,2862,2583,2688,3121,2490,2181,3022,3055,2592,2347,2294,2162,1651,1406,1460,1568,1919,2539,3349,3482,3234,2159,1747,1908,1660,1940,1868,1781,1951,1543,1727,1636,1712,2215,3116,2684,1827,1628,1621,1804,2177,2448,2988,1798,1594,2050,2378,2052,1775,1952,2047,1708,1538,1629,1616,1418,1419,1440,1544,1732,1888,1807,1666,1481,1758,2132,2127,1542,1799,2464,2071,2048,1799,1677,1873,1967,1837,1648,1902,1755,1720,1806,1537,1596,1560,1493,1699,1625,1512,1659,2143,2056,1384,1011,1280,1471,1813,2003,1520,1435,1391,1521,1491,1538,1446,1387,1562,1822,1728,1494,1672,1708,1741,1461,1600,1937,1744,1638,1625,1805,2228,2074,2902,4576,3946,2768,2244,1544,1627,1554,1712,1688,1642,1613,1528,1439,1350,1314,1361,1582,1982,2097,2294,2335,2231,2275,2511,2405,2018,1851,1946,2123,2091,2095,2258,1918,1708,1359,1597,1692,1921,1204,745,1616,2155,2078,1990,1917,2126,3039,2440,2037,1894,1847,2114,1967,1617,1336,1416,1402,1300,1450,1928,2018,2304,2965,2420,2187,2515,1983,1681,1532,1850,2564,2496,2040,1682,2033,1956,1717,1656,1378,2182,2379,1809,1642,1400,1619,1860,1629,1667,1587,1791,1958,2182,1849,2041,2255,1614,1295,2050,2472,2248,2391,3099,3668,3684,3548,4207,3999,3111,3594,3706,3494,3134,3183,3320,3160,3098,2492,1534,1587,1837,1385,1306,1490,2290,3132,2857,2255,2379,2618,2787,3306,2962,2460,3374,3084,2689,2359,2810,3113,3210,3267,2946,2669,2296,2253,2313,1991,1608,1986,2018,2023,2089,2823,3242,2570,2088,2256,2196,2141,2218,2211,2067,2352,2188,2000,2337,2676,2982,2823,2930,3166,2950,2546,2301,1986,1935,1685,2115,2530,2717,2654,2588,3276,4050,3464,2295,2689,2912,2530,3601,3463,2493,1743,1812,2106,2808,3337,3364,3074,2778,2182,2024,2508,2549,1882,1754,2662,2238,2001,1936,1955,2026,2289,2552,2006,2350,2943,2896,2753,3707,3727,2500,2408,2374,2128,2574,3352,3242,2385,1642,1891,1533,1789,1821,1761,1892,1880,1645,1589,1940,2035,1796,1709,1803,1701,1433,1765,2619,2374,2207,2624,2272,2452,2392,2123,1367,669,1087,1370,1648,2321,2856,2721,2059,1879,1637,1495,1526,1364,1522,1549,1414,896,1064,1640,1787,2070,1747,1457,1628,2054,2143,1974,1978,1389,1150,1310,1474,1559,1773,1471,1296,1503,1665,1665,1678,1657,1578,1259,1384,1681,1803,2138,1932,1858,1687,2139,2325,2116,1875,1534,1463,1494,1443,2016,2596,2157,1645,1770,2000,1747,1639,1779,1738,1405,1726,1902,1636,1516,1500,1604,1626,1557,1538,1558,1653,1457,1349,1393,1726,2194,2069,1904,1965,1998,1860,1569,1189,1175,1420,1462,1279,1417,2194,2796,2546,1936,2053,2224,1887,1442,1394,1659,1626,1666,1566,1486,1613,1604,1786,1655,1584,1848,1827,2194,2735,2305,2061,2112,1957,1914,1751,1443,1520,1361,1291,1284,1405,1312,1826,1980,1700,1813,2074,2276,2492,2545,2456,2411,2644,2954,2037,1148,1341,1790,1900,1533,1418,1522,1497,1610,1658,1447,1620,1699,1642,1834,1906,1847,1869,1962,1814,1530,1413,1367,1426,1273,915,1146,1243,1548,1896,1874,1871,1855,1710,1615,1686,1600,1305,1232,1343,1359,1440,1495,1972,2060,1765,1766,1345,1117,1452,1613,1444,1416,1508,1703,1563,1641,1851,1943,1883,2094,1780,1348,1349,1587,1475,1660,2244,2002,1939,2085,2203,2120,1941,2101,1754,1458,1826,1791,1442,1388,1478,1805,2018,1558,1693,1998,1828,1823,1571,1499,1861,1720,1512,1596,1607,1595,1624,1558,1942,1726,1932,2040,1494,1346,1399,1315,1258,1308,1320,1411,1399,1388,1817,1785,1495,1607,2102,1877,1622,1713,1785,2076,2330,1934,1630,1899,2789,2131,2253,2530,1864,2262,3239,3057,2147,2215,2243,1676,1235,2080,2063,2165,2244,2224,2370,2273,2066,1976,1800,1592,1560,1689,1738,1659,1725,2546,3075,2842,1886,1560,1754,1871,2256,2396,2172,2290,2491,2856,2800,2555,2446,2163,1933,1856,2365,3188,3616,3665,3520,3392,3296,3312,3260,3288,3426,3465,3617,3658,3071,2775,3208,3322,3414,3511,3470,3449,3384,3449,3563,3377,3870,3845,3784,3860,3604,3617,3751,3708,3632,3709,3899,3785,3748,3791,3816,3899,3949,3845,3762,3935,4038,3991,3918,4016,3918,3770,3807,3939,4016,3824,2932,2024,1935,2142,2477,2410,1751,1621,1648,1688,1734,1780,1818,1637,1528,1591,1592,1560,1432,1462,1366,1314,1329,1489,1740,1657,1511,1638,1782,1651,1206,1031,1227,1329,1740,1826,1699,1073,906,1055,1262,1337,1206,1229,1432,2011,2363,1677,1617,1409,1183,1093,1235,1179,1463,1728,1529,1332,1297,1440,1931,1782,1466,1577,1793,2200,2450,1953,1737,1971,1784,1677,1967,1831,1933,2212,3022,2254,1760,2250,2559,2153,1578,1607,1615,1699,1909,2284,1903,1963,2353,1891,1885,1798,1704,2209,2100,2129,2276,2205,1996,1779,2047,1945,2054,2330,2509,1945,1660,2042,2284,2155,1741,1616,1595,1819,1968,2001,1808,1920,2665,1974,1506,1603,1808,2160,2260,1886,1668,1667,1798,1980,1937,1711,1665,2155,2574,2574,2614,2459,1888,1755,1805,1676,1677,1631,1674,2155,2353,2010,1455,1439,1664,1577,1603,1898,1664,1725,1449,1831,1561,1761,1896,2119,2363,2799,2657,2247,2370,2339,2525,2301,2238,2283,1794,1273,1589,1481,1922,1945,1666,1793,1888,2094,2022,2103,2322,2522,2244,1679,1482,1356,1659,2210,2349,2553,2751,2302,2211,2168,1854,1766,1715,1515,1646,1715,1649,1882,2149,2005,1676,1625,1875,1851,2014,2374,2261,1998,1895,1891,2241,2048,2046,2026,1847,1737,1401,1345,1753,1902,2042,2280,2577,2076,1613,1593,1733,1808,1675,2024,2274,1781,1648,1559,1797,1553,1424,1842,2113,2219,2214,2182,1985,1668,1672,1778,1775,1860,1498,1466,1441,1540,1768,1998,1912,1590,1652,2011,1840,1826,2094,1889,1633,1336,1748,1585,1430,1485,1680,1935,1967,1797,2011,2552,2967,2149,1976,1925,1692,1489,1659,1831,1643,1393,1632,1835,1547,1605,1772,1419,1510,1582,1450,1496,1374,1561,1883,1706,1552,1737,1883,2169,2006,1669,1656,1712,2110,1753,1722,1680,1676,2024,1942,1699,1887,1983,1737,1949,2031,2024,1910,1881,1991,2478,2968,3052,2722,1905,1447,1488,1705,1749,2432,3886,3809,2276,2026,2723,3315,3710,3487,3189,3190,2677,1780,1813,1913,2128,2137,1657,1724,1727,1594,1610,1688,1787,1863,1456,1487,1505,1497,1562,1586,1593,1617,2150,2899,2734,2924,3222,3118,3110,2840,2294,1733,1551,1614,1667,1943,2140,2378,2921,3189,3426,3405,2554,2219,1967,1852,1920,2026,1797,1733,1802,1730,1590,1473,1455,1453,2048,2300,2341,2039,2127,2051,2791,2434,2106,2084,2067,2259,2151,1722,1909,1987,1799,1337,1220,1295,1418,1681,1915,1944,1781,1867,2034,1792,1990,2150,2474,2091,1780,1743,1670,1717,1573,1636,1945,2315,2427,2106,1859,1578,1713,1676,1558,1506,1908,2025,1981,2019,2035,1942,1765,1713,1671,1616,1745,1582,1677,1957,1909,1915,2036,1954,1721,1562,1883,2018,1581,1639,2238,2302,1973,1876,2473,2382],[2196,2332,2254,2348,3001,3413,3018,2648,2858,2997,2878,3119,2315,1790,2220,2591,3084,3369,3773,3276,2891,3396,3560,3405,3205,3205,3407,3185,2668,2555,3028,3674,4071,4000,3840,3020,2873,3055,3005,3437,3663,3598,4144,4073,3753,3482,3153,3183,3310,3277,3072,3297,3719,3620,3435,3547,3863,3505,3434,3385,3664,3767,3051,2378,2647,3010,2790,2435,2203,2365,2834,2900,2397,2257,2257,1984,1824,1879,2131,2277,1855,2016,1820,2016,2621,2419,2187,2473,2985,2657,2931,3272,3286,2939,2209,1548,1426,1775,2840,3899,3658,3430,3543,3563,3533,3172,3094,3631,4038,3707,3251,3096,3253,3077,2824,2413,2208,1450,2005,2988,2297,1820,2553,2751,2931,2985,2588,2424,2380,2411,2485,2592,2734,2931,2933,2769,2332,1872,1771,2031,2081,2523,2427,2247,2308,2412,2721,2720,2446,2866,3047,3078,3474,3531,3387,3638,3814,3653,3850,3593,3277,2750,2198,2097,2334,2265,2278,2171,1954,2027,2500,2422,1966,2320,2999,2908,2505,2372,2817,3211,3536,3532,3177,2988,2184,1907,2089,1787,1991,2050,1822,1863,1783,1989,2755,3113,2670,1832,1566,1550,1552,1607,1870,2646,2814,2234,2097,1829,2298,3295,3200,2955,2618,2174,2632,2258,2452,3087,2796,1944,1875,2147,2537,2465,2180,2292,2357,2346,2426,2149,1968,1945,2577,2877,2444,2438,2236,1895,2142,2261,2455,2334,1806,1549,1462,1315,1516,1564,1450,1451,1548,1607,1646,1558,1733,2205,1901,1876,2300,1992,1513,1905,2124,1929,1960,1574,1388,1537,1531,1709,1599,1621,2268,3013,2972,2965,2675,1947,1584,1471,1705,1938,1882,1742,1879,1800,1830,2198,3525,3918,3082,1783,1515,1779,2085,2840,3537,3387,3505,3008,2232,2112,2221,2967,2076,1149,1180,1532,1940,1933,2351,2155,2148,2163,2088,2011,2004,1595,1331,1764,2088,2229,2669,3223,3120,2751,2364,1822,2845,2919,2522,2221,2368,2243,1956,2130,2260,2233,2431,2331,2588,3145,3256,3304,3304,2589,1767,2132,2845,2545,2314,2455,2074,1857,2769,2734,1828,2098,1805,1384,1998,1931,1781,1611,1476,1555,1475,1379,1320,1412,1849,1994,1624,1582,1482,1640,2217,2144,2021,2288,2647,3076,3275,2888,2652,2489,2600,2522,2373,2586,2526,2763,3225,2657,1556,1610,1828,2075,1952,1952,2249,2742,2775,2998,2270,1885,1999,1772,1510,1314,1294,1527,1240,1293,1377,1331,1542,1650,1745,1826,1794,1679,1460,1425,1602,1730,1670,1483,1715,1747,1874,2039,1752,1578,1677,1818,1762,1765,1644,1706,1909,2472,2684,2257,2222,2857,2975,2073,1631,1693,1632,1719,1681,2040,2056,1898,1604,1408,1402,1484,1645,1469,1382,1644,2127,2142,2484,2540,3250,3152,3263,2903,2391,2385,3102,3315,2952,2469,2618,2519,1905,1565,1450,1536,1945,2470,2153,2357,2851,2229,1908,1981,1782,2174,1627,2099,1907,1524,1843,1799,1696,2433,2796,2072,1712,1706,1620,1948,2222,1711,1763,1840,1818,2183,2479,2326,1989,1813,1655,1554,1636,1587,1589,1448,1561,1606,1447,1558,1788,1720,1530,1482,1595,2193,2676,2215,2059,2430,2037,1998,1792,1917,2348,2717,2268,1694,1381,1364,1515,1553,1467,1693,1721,1695,1505,1363,1658,1840,1923,1858,1702,1415,1446,1568,2128,1873,1487,1465,1465,1475,1492,1574,1506,1449,1541,1686,1686,1476,1609,1606,1426,1254,1570,1581,1316,2042,2666,2462,2095,1789,2489,3001,2374,2145,1939,1549,1673,1578,1695,1648,1455,1355,1467,1475,1245,1259,1473,1412,1557,1751,2025,2170,2167,2163,2352,2501,2295,1941,1957,2116,1944,1631,1881,1432,1308,1321,1459,1755,2049,1273,877,1616,2008,2077,1891,2047,2113,2844,2541,2150,1806,1678,1703,1771,1648,1663,1665,1499,1202,1299,1764,1885,2012,2505,2183,2172,2362,1945,1552,1524,2063,2995,2373,1681,1686,1738,1816,1840,1742,1482,2120,2214,1990,1808,1360,1869,1906,1594,1888,1805,1891,1971,2128,1877,1869,1930,1505,1597,2052,2104,1973,2678,3282,4141,3892,3890,4207,4024,3406,3536,3693,3345,2976,2916,3083,2841,2513,2170,1655,1526,1268,1317,1804,2222,2586,2613,2390,2272,2312,2604,3043,3492,3343,3295,3065,2824,3252,3444,3230,2746,2270,2855,3032,2966,2684,2444,2062,1933,1855,2113,2372,2187,1877,2272,2823,2661,2614,2382,2196,2065,2270,2877,2952,2910,2832,2545,2574,3053,3039,2740,2823,2941,3042,2642,2693,2312,2005,1844,2564,2693,2338,2622,2807,2750,2971,2643,1958,2419,3312,3386,3609,3035,1751,1699,2187,2093,1827,2094,2683,2939,2770,2081,2229,2298,2456,1782,1917,2575,2099,2327,2708,2416,1724,2326,2433,2798,2988,2555,2260,2647,3655,3264,2452,2196,1972,1746,2660,3120,2746,2355,2237,2468,2399,2693,2456,2117,2236,2152,1466,1132,1852,1980,1768,1555,1590,1743,1872,2099,2700,2740,2830,2687,2404,2510,2326,2075,871,837,1432,1648,1979,2475,2425,2121,1923,1720,1593,1726,1542,1287,1486,1595,1167,760,1483,2724,2688,2439,1952,1572,1716,1996,1831,1995,2030,1415,1688,1624,1523,1736,1744,1311,1188,1490,1622,1773,1564,1507,1339,1348,1583,2001,2132,1977,2257,2200,2026,2770,2933,2423,1806,1806,1518,1412,1534,2326,2609,2337,1904,1824,1681,1331,1127,1939,1857,1755,1771,1665,1538,1504,1485,1531,1360,1456,1479,1458,1642,1767,1964,1834,1823,1942,1952,2083,1695,1311,1318,1562,1364,1172,1381,1475,1556,2160,3066,3370,3100,2291,1883,1817,1723,1492,1490,1703,1709,1634,1620,1785,1938,1976,2041,1588,1493,1808,1722,1942,1987,2244,2503,2474,2089,2031,1952,1458,1525,1523,1421,1381,1566,1436,1452,1709,1672,1555,1833,2222,2470,2601,2492,2287,2747,2825,1873,1342,1844,2137,1831,1412,941,1067,1339,1610,1730,1546,1891,1935,1592,1798,2005,1641,1538,1794,1789,1676,1654,1638,1621,1529,1291,1428,1608,1733,1896,1835,1745,1708,1476,1481,1814,1779,1384,1304,1353,1440,1721,1764,1805,1605,1472,1632,1664,1463,1388,1426,1340,1337,1425,1415,1464,1736,1769,1732,1736,1815,1626,1393,1642,1948,1609,1699,2179,2007,1886,1851,1787,2065,2239,2052,1666,1546,1806,1710,1506,1523,1562,1609,1541,1323,1763,1974,1795,1730,1758,1794,1965,1766,1693,1654,1528,1609,1540,1743,1637,1626,1689,1453,1311,1287,1389,1364,1246,1312,1487,1374,1434,1466,1738,1590,1428,1692,1775,1546,1440,1388,1589,1735,2270,2173,1561,2109,2427,2165,2680,2490,2008,2636,3329,2740,2466,1903,1820,2020,1623,1617,1798,2104,2230,2164,1920,1669,1966,2046,1892,1963,1904,1742,1669,1785,1953,2501,2500,1775,1224,1239,1565,1960,2459,2246,2293,2127,2256,2632,2799,2631,2064,1777,1746,1936,2777,3551,3630,3173,3124,3159,3329,3397,3316,3243,3315,3465,3581,3536,3107,2899,3322,3611,3581,3476,3298,3324,3407,3390,3470,3814,4079,4072,4013,3829,3517,3835,3848,3851,3692,3734,3911,3480,3557,3828,3729,3744,3691,3537,3507,3580,3904,3961,3895,3903,3834,3782,3841,3873,3824,3906,3686,2657,1802,1838,1825,1769,1515,1603,1523,1592,1604,1635,1706,1578,1384,1403,1456,1455,1407,1480,1469,1501,1627,1712,1695,1526,1508,1553,1565,1382,1182,1186,1272,1387,1692,1845,1662,1209,1240,1457,1432,1315,1238,1456,1828,2277,2081,2107,1887,1284,1179,1100,1136,1210,1463,1623,1379,1505,1531,1256,1423,1366,1408,1430,1482,1555,1684,1689,1566,1765,1837,1572,1839,1731,2180,2828,3278,2090,2149,2178,1869,1652,1697,2133,1785,1658,1492,1724,1634,2219,2480,1913,1643,1651,1966,2133,1992,1857,2226,2521,1708,1476,2186,2197,2071,2711,3163,2499,2422,2699,2482,1741,1609,1553,1652,2316,2604,2036,1805,2045,2166,1786,1491,1396,1542,1783,1930,1858,1676,1990,2220,2041,1769,1511,2059,2929,2876,2700,2895,2744,1742,2040,2693,2389,2116,1887,2165,2438,2348,2118,2007,1969,1960,1766,2153,2372,2059,1370,1073,1412,1814,2432,2316,2189,2397,2279,2007,2294,2373,2137,2308,2152,1986,1537,1357,1571,1909,1825,1854,2186,2359,2750,2636,2763,2346,2277,1878,1680,1533,1505,1405,1393,1569,1902,2439,2413,2679,2634,2554,2299,1797,1708,1666,1532,1567,1527,1499,2011,2453,1968,1469,1560,1985,1810,1678,2328,2239,1802,2157,2881,2701,1963,1832,1697,1731,1732,1424,1394,1626,1883,2052,2243,2332,1934,1592,1483,1410,1542,1645,1985,1788,1545,1708,1966,1885,1480,1378,1707,1980,2101,2016,1872,1806,1576,1443,1623,1752,1750,1733,1949,1854,2059,2111,2055,2071,1918,1972,2036,1451,1432,1687,1652,1580,1622,1940,1611,1258,1453,1845,1853,2074,2007,2230,2294,2577,2206,2108,2078,1910,1732,1814,1756,1490,1421,1634,1764,1863,1582,1594,1524,1814,1903,1693,1644,1585,1729,2067,1946,1683,1879,2048,2114,1711,1508,1460,1886,2082,1728,1519,1553,1559,1762,2003,1896,1710,2278,2280,2054,1898,1791,1628,1935,2380,1943,1841,2768,3496,2402,1705,1638,1679,1516,1609,2067,2269,2087,2094,2374,2778,3141,3558,3301,2766,2377,1942,2150,2095,2277,2449,2168,1851,1679,1653,1629,1597,1699,1650,1470,1579,1409,1389,1454,1476,1608,1538,2111,2814,2688,3086,3116,3184,3361,3348,2851,2238,1700,1624,1964,2071,1970,2525,2962,3203,3770,4079,2985,2159,1940,1715,1927,2106,1881,1789,2193,2785,1875,1503,1489,1820,2188,2177,2120,2088,2149,2208,2401,2500,2388,2353,2370,2255,1912,1854,2122,1615,1533,1322,1155,1286,1574,1875,1981,1831,1926,1846,2005,1661,1640,2293,2383,1748,1797,1801,1697,1718,1589,1937,2196,2259,2236,1730,1582,1767,1783,1610,1805,2433,2362,1989,2421,2469,2294,1823,1713,1870,1569,1754,2170,2047,1665,2173,2925,2872,2591,2610,2396,1602,1550,1638,1553,1794,2450,2833,2426,1711,2192,2474],[2503,2777,3511,3341,3039,3118,2755,2647,2850,2830,2457,2801,2575,2113,2341,2877,3154,3123,3295,3171,3081,3230,3142,3138,3067,3207,3109,2573,2736,2653,3188,3806,3120,2753,3166,2789,2597,2509,2662,3122,3504,3978,4243,4000,3580,3206,3002,3031,3150,3145,3096,3378,3738,3505,3616,3682,3645,3726,3772,3654,3573,3572,3232,2695,2834,3110,2890,2650,2539,2629,2778,3040,2393,2032,2083,1785,1748,1764,2104,2258,1863,2451,2114,2301,2304,1798,2210,2364,2261,2186,2276,3105,3066,2912,2742,1932,1601,1891,2780,3737,3672,3459,3507,3614,3458,3187,3347,3614,3576,3496,3731,4113,3864,3363,3117,2513,2326,2213,2580,3253,3064,3030,3470,3303,3090,2853,2446,2308,2138,2052,2527,2834,2768,2923,2999,2433,1652,1427,1323,1529,1662,2233,2044,1940,1993,2248,2523,2199,2462,3079,2604,2279,2807,2986,3340,3491,3449,3596,3288,2948,2853,2741,2336,1894,1964,2082,2098,1521,1680,2156,2544,2353,2434,2519,2770,2687,2578,3138,3261,2948,3120,3188,2825,3070,2459,2012,1819,1674,2012,2138,1888,1775,1789,2383,3052,3164,2531,2279,2387,1961,1917,2062,1902,1915,2041,2121,2111,1847,2587,3488,3474,3419,3406,3086,2623,1859,1952,2540,2241,1982,2404,2371,2524,2016,1730,1876,2348,2465,2320,2341,2564,2702,2779,2811,2388,2500,2807,2352,2226,1956,1958,1979,1640,1399,1544,1650,1622,1540,1448,1449,1524,1566,1608,1960,1901,1765,2023,2057,2094,1964,1677,2021,2254,2351,3045,1958,1579,1736,1648,1591,1561,1613,1872,2459,2736,2683,2359,2362,1877,1649,1825,1968,1904,1627,1866,1981,2030,2894,4185,4304,3260,1794,1681,1584,1794,2246,3140,3207,3647,2565,1624,1867,2544,3000,2679,2172,1732,1711,1991,1938,2754,2208,2029,1704,2276,2272,2201,2042,1645,1897,2402,2319,2437,2958,2620,1860,1580,2092,3212,2986,2186,2313,2825,2646,2320,2359,1879,1713,1438,1725,2645,3161,2978,3059,3059,2153,1845,2132,1780,1976,2442,2433,2150,2551,3061,2317,1512,1582,1462,1508,1707,1748,1705,1473,1512,1444,1556,1509,1364,1326,1644,1998,1716,1596,1426,1469,1760,1530,1630,1798,2065,2887,3275,2964,2604,2404,2460,2472,2396,2438,2588,2823,2784,2132,1507,1281,1437,2071,1885,2006,2320,2288,2045,1728,1660,2065,2326,2370,1756,1576,1876,2344,1822,1565,1445,1354,1417,1647,1833,2120,2428,1951,1795,1836,1614,1440,1443,1355,1500,1575,1607,1648,1703,2235,2548,2404,1704,1709,2067,2354,2344,2581,2388,1836,1887,2574,2797,1927,1599,1645,1560,1659,1770,2193,1925,1591,1440,1565,1566,1507,1440,1529,1843,1819,1887,2330,2802,2137,2467,3341,3433,3002,2799,2668,2753,3320,3538,2529,2380,2242,1793,1515,1424,1597,2079,2177,1852,1700,1841,2102,2199,1918,1691,1982,1764,1815,1487,1726,2459,2128,1427,1960,2173,2333,2281,1754,1600,1992,2234,1991,2143,1983,1728,1811,1822,1833,2065,1730,1707,1911,1739,1525,1566,1584,1429,1433,1688,1865,1817,1506,1368,1324,1420,1848,2573,2602,2610,3016,2866,2460,2037,1921,2405,2625,1820,1655,1354,1438,1415,1427,1512,1641,1736,1737,1517,1686,1739,1809,1802,1712,1946,1802,1568,1708,1578,1616,1852,2035,2336,2152,1497,1402,1559,1379,1416,1402,1463,1544,1629,1455,1444,1436,1556,1578,1404,1647,1757,1332,853,1301,1920,2862,3353,2018,1635,1990,1689,1577,1672,1514,1266,1259,1353,1396,1448,1409,1403,1335,1249,1477,1938,2003,1971,2099,2144,2270,2242,1950,2020,2100,1834,1176,1184,1607,1560,1381,1450,1994,1986,1042,963,1735,1812,2033,1828,1953,2453,2620,2210,1817,1604,1553,1506,1507,1676,1659,1569,1464,1524,1654,1858,1909,2058,1935,1743,1916,2261,2226,1534,1471,1796,2891,2424,1648,1496,1739,2034,1787,1698,1678,1575,1841,2347,2292,1666,2336,2003,1744,1960,1785,1920,1973,2004,1987,2014,1874,1580,1975,2230,2226,2310,2598,2923,3361,3412,3694,3670,3195,2901,2607,2540,2240,2510,3085,2988,2481,2123,1971,1934,1716,1670,2193,2689,2630,2226,2240,2645,2297,2421,2692,2713,2497,3103,3071,2792,2807,3362,3420,2920,2898,2414,2834,3067,2905,3065,2465,1764,1843,2414,2438,2357,2265,1704,1709,2675,2997,2911,2415,2372,2376,2204,2243,2440,2571,2586,2457,2807,3223,2751,2895,2939,2777,2890,2762,2666,2629,2648,2504,2354,2205,2166,2232,2380,2531,2360,2277,2357,2623,3166,3413,3087,1995,1332,1991,2294,1789,1738,2361,2138,2499,2612,1994,2009,1857,1997,1751,2303,2603,2470,3516,3294,2431,2180,2598,2447,2474,2402,2639,2728,2630,2795,2678,2444,2622,2476,1802,2994,3115,2830,2711,2247,2677,2801,2517,2808,3083,3404,3263,2325,1989,2322,2371,1858,1416,1554,1913,1854,1740,2114,2376,2413,2436,2670,2623,2258,1903,1190,1495,2381,2540,2381,2097,1729,1757,1620,1592,1779,1991,1452,916,1072,1580,1215,880,1709,2764,3220,2958,1680,1424,1442,1564,1573,1598,1550,1503,1897,1987,2150,2059,1786,1704,1690,1633,1577,1626,1318,1336,1533,1770,1654,2103,1985,1463,1637,1811,2077,2463,2661,2335,1635,1699,1410,1306,1198,1143,1664,2014,1822,1677,1528,1325,1640,1878,1475,1575,1638,1505,1551,1700,1610,1604,1542,1456,1328,1378,1487,1775,2338,2093,2000,2016,1835,1563,1635,1559,1695,1967,1808,1494,1356,1459,1517,2074,3120,3683,2856,1979,1395,1508,1566,1521,1628,1743,1672,1545,1754,2033,2093,2161,2336,1864,2116,2496,2689,2052,1694,2176,2184,2176,1897,1907,1782,1488,1580,1584,1582,1630,1642,1567,1559,1621,1581,1577,1698,1965,2122,2344,2361,1931,2060,2026,1844,1643,2027,2090,1633,1113,818,868,1408,1952,2038,1806,1778,1968,1576,1615,1859,1663,1758,1889,1668,1714,1730,1750,1809,1787,1680,1659,1787,1820,1825,1859,1708,1509,1404,1576,1745,1724,1475,1404,1426,1585,1702,1622,1494,1449,1523,1983,2149,1631,1367,1301,1424,1333,1300,1293,1509,1498,1408,1542,1792,2034,1902,1923,1888,1816,1886,1814,1646,1512,1894,2037,1822,2205,2425,2175,1948,1763,1620,1726,1749,1725,1622,1504,1193,1343,1642,1702,1559,1559,1697,1551,1763,1566,1604,1773,1709,1625,1764,1882,1686,1570,1312,1356,1375,1381,1354,1519,1352,1488,1878,1719,1515,1715,1823,1611,1930,2294,2082,1707,1520,1499,1614,2065,2486,2243,2078,2536,2470,2418,2639,2844,2645,2630,2504,2152,2425,1897,2091,2014,1276,1031,1311,1729,1917,2142,2711,2430,2445,2585,2234,2411,2098,1663,1504,1577,2143,2480,2060,1737,2032,1875,1620,2383,2890,2717,2736,2204,2086,2203,2311,1965,1560,2050,2645,2999,3462,3530,3222,2929,2993,3145,3218,3194,3015,3009,3264,3399,3551,3683,3487,2575,2270,2987,3426,3539,3340,3369,3476,3355,3551,3937,4072,4072,4030,4050,3940,3928,3874,3861,3834,3961,4014,3881,4026,3948,3824,3790,3448,3374,3645,3297,3714,3871,3891,3834,3772,3929,3973,3850,3765,3842,3867,3258,2622,2264,1864,1601,1521,1400,1367,1539,1616,1585,1780,1855,1296,1249,1528,1578,1440,1604,1715,1698,1621,1597,1474,1490,1443,1560,1462,1553,1460,1312,1226,1397,1587,1766,1675,1377,1426,1594,1497,1210,1198,1439,1508,1477,1489,1746,1487,1288,1242,1204,1190,1238,1416,1538,1390,1688,1579,1452,1530,1381,1390,1444,1416,1455,1544,1539,1472,1708,1888,1781,1906,1571,1601,1986,2215,2003,2309,2207,1477,1626,1991,2210,1784,1455,1325,1424,1624,2186,2461,2073,1791,2131,1992,1916,1836,1776,1688,1927,1332,1592,2022,1928,1912,2377,2494,2384,2749,2578,2546,2435,2455,2118,2070,2879,2598,1916,1967,2276,2403,1984,1401,1287,1838,1961,1631,1636,1588,2052,2331,2013,1610,1499,2104,2853,2639,2678,2790,2473,1632,1996,2625,2746,2856,2589,2249,1939,1853,2521,2841,1885,1924,1866,2524,2125,1764,1158,1037,1215,1603,2056,2015,2239,2346,1770,2036,2578,2247,1957,2138,2286,2064,1805,1932,1919,2106,1980,1741,2097,2806,3541,3274,2863,2399,2208,1928,1627,1512,1564,1689,1770,1741,1748,2470,2486,2764,2680,2412,2146,1983,1627,1526,1628,1598,1588,1520,1827,1808,1626,1563,1786,2306,2037,1738,2271,1964,1690,2414,3049,3274,2130,1759,1676,1407,1425,1457,1470,1584,1706,1908,1909,1847,1857,1630,1703,1807,1641,1742,1587,1408,1568,1932,1908,1702,1477,1510,1426,1320,1685,1613,1556,1430,1455,1505,1636,1621,1373,1836,2289,1896,1767,1787,1835,1853,1903,2164,1823,1487,1338,1399,1450,1437,1573,1754,1591,1557,1559,1595,1760,1763,1794,2032,2441,2538,2141,1621,1925,2254,1724,1605,1593,1309,1226,1708,1704,1880,1726,1481,1490,1624,1553,1639,1771,1594,1528,2011,2610,2176,1929,1626,1674,1591,1517,1737,1961,1982,1807,1580,1765,1654,1614,2134,2044,1786,2244,2240,1952,1781,1668,1592,2096,2312,1624,2010,3078,3384,2846,2060,1922,1592,1365,1402,1422,1606,1886,2258,2478,2548,3146,3759,3632,3107,2862,2756,2828,2698,2908,2656,1961,1902,2379,1820,1439,1356,1660,1565,1613,1773,1378,1283,1394,1611,1808,1609,2030,2567,2662,3185,3342,3360,3437,3437,3392,2673,1728,1664,2094,2144,1716,1992,2546,2927,3506,3883,3051,1991,1697,1550,1654,1820,1664,1597,1814,1933,1466,1452,1476,1781,2009,2164,2041,1919,1975,2040,2149,2168,2168,2278,2266,1821,1777,1880,1656,1325,1416,1402,1305,1637,2175,2364,2511,2104,2047,1860,2012,1700,1448,2094,2085,1484,1514,1838,1935,1844,1632,2209,2092,1815,1558,1676,1830,2101,1828,1830,2226,2169,1882,2138,2336,2065,1815,1928,1976,1885,1618,2110,2730,2463,2063,2896,3561,3309,2941,2964,2422,1664,1609,1671,1669,1724,1854,2128,1973,1500,1599,1668],[3333,3889,3884,3951,3616,3327,2940,2940,2809,2457,2078,2281,2820,2773,3223,3605,3330,2909,2893,2966,2944,3078,3124,2722,2557,2465,2521,2399,2500,1998,2106,2934,3034,2849,2871,2607,2310,2007,2020,2614,2755,3285,3907,3672,3271,3111,3071,2960,3017,3045,3132,3293,3422,3250,3437,3660,3653,3528,3385,3333,3455,3426,3117,2674,2192,2288,2701,2632,2590,2619,2764,3047,2438,1800,1930,1898,2317,2171,2636,2121,1807,2339,2599,2213,1882,2459,3106,2696,2585,2085,1903,2977,2535,2329,2389,1982,1901,2435,3151,3462,3386,3119,3166,3295,3108,2812,3029,3111,3138,3109,3140,3257,3316,3439,3372,3293,3473,3659,3968,4160,3936,4099,4073,3864,3450,2823,2559,2477,1913,1681,2062,2086,2688,3493,3184,2545,1953,1497,1482,1732,1652,1548,1556,1642,1903,2272,2474,2403,2792,2547,2567,2587,3208,3189,3220,3312,2894,2824,2762,2557,2674,2566,2198,1859,1558,1667,2068,1937,1996,1832,1898,1954,2064,2205,2109,2464,3129,3394,3084,2907,3143,3372,3152,3355,2858,2029,1703,2023,2683,2766,2143,1699,2174,3038,3140,2428,1808,1791,2233,2253,2478,3023,2702,2114,1998,1814,2170,2384,3066,3538,3464,3255,3123,2954,2854,2718,2576,2728,2294,1903,1951,1911,2518,2414,2373,2357,2215,2230,2201,1841,1880,2278,2722,3041,2438,1913,2304,1996,1788,1490,1875,1807,1375,1345,1757,2046,1930,1850,1580,1439,1519,1540,1522,1814,1797,1863,2216,2353,2170,1883,1812,1860,1699,2322,2201,1700,1661,1814,1751,1425,1651,1947,2203,1814,1796,1998,1922,2399,1885,1742,1902,1913,1793,1470,1594,1911,1820,2842,4144,4308,3549,1980,1644,1787,2020,2306,3048,3178,3309,2828,2073,1954,2102,2608,3161,2881,2709,2734,2670,2267,2922,2567,2028,1757,1712,1535,1814,1953,1825,2320,3094,2668,2421,2511,2678,2183,1617,2386,3615,3310,2350,2215,2258,2024,2684,2889,1955,1600,1680,2375,3122,3282,3323,3319,2787,2149,2276,2664,2204,2511,2261,2474,2393,2562,2351,1793,1624,1536,1549,1540,1686,1423,1469,1516,1413,1386,1526,1599,1475,1383,1732,1821,1477,1503,1517,1877,2091,1803,1587,1612,2449,2991,2962,2828,2499,2284,2314,2343,2374,2397,2435,2517,2589,2136,2053,2156,2388,2117,1675,2167,2556,2343,2046,1952,2233,2403,2518,2844,2008,1797,2276,2525,2069,1577,1534,1576,1406,1604,2021,2611,2605,2039,2034,1848,1837,1787,1622,1447,1429,1916,2286,2359,2371,2802,2365,2200,1932,1778,2125,2527,1942,1914,2676,2723,2585,2473,1957,1539,1618,1516,1526,1643,1740,1726,1570,1420,1338,1417,1504,1582,1469,1540,1637,1786,2114,2841,2841,2160,2039,2343,2438,2998,3793,2944,2637,3153,3567,2972,2543,3024,2850,2126,1697,1889,2104,1915,1696,1871,1970,1796,1939,1771,1987,2258,2554,2116,1765,2077,2402,2072,1612,1989,1874,2621,2209,1615,1549,1953,2405,2289,2091,1958,1792,2077,2249,2170,2131,1882,1894,2198,1818,1433,1499,1655,1483,1410,1649,2105,2138,1526,1452,1541,1554,1573,2027,2543,3074,3023,3153,3343,3019,2315,2181,2258,1915,1953,1554,1512,1519,1559,2078,2078,1947,1760,1880,2188,1632,1659,1668,1570,1858,1766,1350,1115,1230,2120,2885,3242,3414,2703,1638,1686,1793,1526,1387,1372,1386,1448,1491,1488,1660,1621,1454,1607,1534,1282,1343,1315,1260,1632,2449,4433,4361,2548,1739,1655,1648,1659,1507,1523,1335,1231,1244,1240,1460,1446,1292,1167,1181,1519,1912,1892,1752,1684,1729,1614,1837,1949,1885,2071,2050,1814,2082,2083,1606,1404,1476,2046,1835,852,1184,2199,2029,1894,1942,1889,2503,2730,1934,1492,1622,1677,1618,1576,1746,1848,2026,1786,1567,2097,2339,1931,1995,2112,2120,1990,2210,2103,1587,1832,1982,2264,2177,1773,1461,1651,1928,1764,1701,1908,1833,1931,1810,1833,2081,2186,1791,1767,1848,1760,2099,2230,2127,2469,2612,2377,2155,2451,2256,1902,2176,3087,3473,3261,3206,3504,3011,2324,2708,2435,2122,1907,2219,3031,2733,2368,2399,2021,1705,1709,1920,2088,2029,2094,2509,2477,3185,3143,2922,3378,3145,2257,2851,3537,3278,3188,3504,3106,2879,3414,3140,3153,3311,3163,3130,2675,2276,2351,2363,2044,1731,1917,1780,1573,2212,2827,2097,1698,1874,1892,1566,1410,1664,1735,1499,1782,2968,3227,2427,2974,2994,2513,2508,2624,2737,2811,2879,2840,2626,2446,2486,2127,2352,2326,2260,2502,2201,2133,2700,3007,3100,2253,1369,2144,1659,1161,2009,2298,1948,2581,2382,1720,1727,1797,1832,1779,2641,2838,3266,3725,3494,2810,2654,2316,2559,2521,2255,2754,2585,2444,2743,2629,2130,2274,1879,2071,2835,3242,3466,3119,2317,2205,2280,1982,2519,2824,3439,3522,3012,2603,2432,3020,3350,3241,2899,2587,2282,2081,1989,1687,1415,1513,1606,1845,1910,1779,1652,1888,2292,2300,2082,1835,1631,1574,1489,1691,2115,2099,1345,840,1506,1868,1342,1117,1448,1809,2320,2092,1271,1163,1522,1494,1538,1628,1556,1296,1303,1837,2102,1854,1694,1959,1842,1758,1658,1460,1505,1653,1785,1786,1597,1772,1875,1623,1305,1665,2576,2373,2379,1729,1288,1312,1299,1366,1209,1310,1578,1792,1830,1754,1498,1327,1672,1654,1418,1687,1344,1015,1441,1899,1857,1803,1682,1500,1413,1405,1484,1709,2294,2045,1875,1824,1377,1588,2192,2161,1803,1544,1958,2161,1627,1654,1748,1843,2556,2885,1976,1344,1433,1827,1742,1638,1593,1715,1888,1753,1649,1974,2273,2184,2172,2141,2168,2149,2307,1761,1644,1808,1844,1854,1615,1622,1687,1521,1378,1486,1755,2016,2014,1919,1883,1875,1688,1722,1578,1852,1712,1526,1618,2002,1801,1464,1642,1866,1993,1562,1470,1039,982,1110,1606,2138,2125,1854,2063,2163,1565,1627,1954,1749,1612,1924,1487,1439,1584,1698,1583,1556,1679,1765,1852,1843,1827,2047,2006,1545,1457,1579,1657,1743,1653,1560,1460,1436,1403,1313,1445,1656,1731,1861,1983,1444,1156,1299,1685,1656,1331,1411,1474,1633,2132,1775,1703,1999,1954,1767,1826,1684,1761,1621,1456,1403,1665,2011,2026,1904,1914,1906,2005,1813,1632,1823,1878,1630,1603,1676,1540,1547,1598,1583,1531,1399,1450,2147,2513,1617,1412,1808,1791,1636,1908,1912,1759,1382,1334,1427,1425,1388,1381,1375,1284,1572,1764,1570,1508,1858,1942,2251,2552,2569,2751,2425,2245,1934,1875,1950,2082,2008,2020,2410,2733,2576,2591,2807,2722,2583,2221,2363,2351,2474,2605,1828,1013,1186,1535,1683,2029,2943,3304,3017,2851,3062,2980,2410,1872,2006,2028,1690,1887,2087,2041,2152,2825,2419,2226,2886,3141,2638,2336,2001,1920,1980,1934,1619,2155,2809,3806,3969,3386,2844,2930,3107,3127,3133,3139,3100,2943,3105,3303,3604,3505,3500,3419,3256,2643,2909,3416,3437,3243,3150,3419,3758,3870,3929,4042,3959,3950,3686,3469,3617,3833,3839,3798,3915,4009,3941,3919,3861,3840,3871,3817,3732,3751,3495,3507,3653,3940,3859,3803,3872,3860,3806,3707,3815,3868,3896,3505,2613,2023,1782,1314,1102,1356,1630,1579,1688,1774,1756,1549,1722,1832,1772,1743,1722,1528,1363,1433,1615,1574,1377,1040,1291,1515,1917,1792,1449,1384,1480,1598,1751,1693,1411,1422,1566,1479,1252,1412,1598,1655,1726,1802,1678,1650,1549,1298,1238,1297,1274,1412,1690,1464,1600,1812,1942,2069,1914,1692,1572,1463,1575,1632,1666,1670,1881,1893,1641,1507,1798,2101,1803,2084,2675,2627,2079,1570,1981,1761,1543,1565,1345,1439,1548,1546,1738,2144,2127,1960,2467,2085,2333,2479,2234,2042,1997,1710,2251,2222,1969,1999,1969,1858,2003,2566,2043,1998,2468,2454,2144,1736,1854,1853,1716,1923,2066,2223,1950,1642,1569,2050,2160,2141,2106,2039,2096,2049,1682,1670,2079,1880,2315,2469,2500,2032,2089,1681,1753,2193,2458,2805,2812,2102,1713,1861,2702,3025,2009,1579,1972,2346,1555,1197,1313,1391,1262,1341,1503,1594,2096,2140,1629,1796,1998,1932,1879,2143,2667,2409,2069,1998,1893,2244,2292,2429,2699,2599,3350,3294,2817,2490,2210,2160,1726,1597,1690,1645,1601,1524,1405,2055,2407,2492,2707,2612,2614,2455,1820,1742,1969,2005,1791,1478,1395,1356,1349,1671,1797,2167,1913,1472,1447,1545,1643,1991,1987,2208,1703,1942,1995,1501,1375,1409,1398,1409,1604,1836,1458,1455,1364,1572,2011,2069,1710,1655,1556,1554,1740,1831,1956,2049,1946,1948,1676,1542,1772,1687,1589,1517,1517,1645,1763,1610,1459,1820,2092,1870,1819,1892,1786,1687,1596,1891,1788,1399,1353,1450,1674,1558,1462,1562,1770,1655,1502,1497,1939,1759,1661,1834,2177,2428,2088,1502,2060,2317,1646,1580,1638,1359,1679,2069,1697,1555,1702,1545,1410,1434,1438,1664,1765,1573,1515,1764,2384,2221,1959,1918,1939,1479,1606,2068,1883,1994,2491,1981,1667,1653,1626,2286,2339,2106,2150,1901,1537,1585,1646,1936,2153,1909,1771,2477,2957,3113,2997,2003,1415,1266,1386,1494,1531,1608,1873,2043,2513,2109,2507,3270,3616,3206,3342,3958,3432,2530,2451,2236,2036,2430,2764,1969,1600,1373,1631,1596,1709,1740,1388,1301,1331,1441,1634,1728,2091,2453,2734,3164,3230,3185,3378,3438,3459,2895,1888,1955,2407,2327,1695,1925,2428,2900,3340,3361,2566,2066,2096,1656,1611,1712,1436,1359,1706,1593,1519,1791,1668,1708,2038,1954,1662,1738,1787,1627,1654,1585,1666,1658,1658,1566,1589,1772,1666,1420,1501,1561,1416,1431,1830,1938,2253,2109,1765,1737,1931,1669,1430,1582,1666,1506,1482,2022,1857,1693,1839,1890,1640,1556,1572,1740,1930,2017,1964,2025,2120,1981,1842,2280,1982,1507,1548,2239,2504,2246,2009,2316,2768,2707,2938,3466,3362,3150,3056,2803,2104,1657,1671,1529,1445,1597,1647,1510,1657,1889,1725,1684],[3732,3399,3405,4451,4028,3137,3350,3400,2710,2901,2752,2855,3260,3526,3306,2951,2966,2686,2902,3104,3226,3181,3097,2651,2270,2115,2459,2786,2406,1949,2290,3144,3387,3155,3054,2863,2688,2297,2044,2675,2630,2986,3826,3548,3137,3137,3162,3037,3075,2962,2907,2915,2946,2879,3138,3520,3477,3313,3168,3174,3305,3195,2723,2110,1642,1890,2476,2419,2426,2652,2686,2692,2333,2419,2978,2316,2522,2130,2212,2408,2356,2064,2102,2054,1876,2570,3203,3156,2766,1620,1596,2313,1975,1837,2170,2142,2170,2765,3032,2844,2728,2600,2555,2874,2893,2743,2829,2708,2978,3120,3088,3276,3552,3796,3907,3926,3872,3896,4176,4285,4164,4090,3589,3621,3355,2789,2737,2693,2376,2246,1712,1777,3360,3582,3442,3378,2410,1576,1387,1568,1542,1418,1498,1621,1885,2667,2810,2184,2216,2412,2801,3542,3732,3437,3592,3580,3354,3121,2973,2805,3216,3054,2542,2010,1732,1618,1803,1953,1864,1649,1706,1871,2004,1983,1986,2713,2978,2812,2502,2872,3298,3234,3442,3640,2875,1987,1947,2459,3084,2724,2042,1945,2841,3530,3719,3349,2520,1729,1834,2119,2250,2758,2570,2098,1622,1131,1932,2854,3273,3284,3339,3064,2445,2456,3350,3448,2648,2364,1936,1909,1339,1518,2510,3218,3438,3016,2244,2070,1882,1423,1752,2171,2563,2569,2677,2297,1992,1653,1516,1324,1541,1619,1339,1482,1789,1558,1916,2176,1494,1317,1541,1670,1812,1831,1943,1941,1842,2001,2272,2381,2194,1835,1483,2532,2164,1537,1467,1652,1487,1609,1942,1975,2094,1581,1786,1820,1662,1632,1438,1431,1763,1810,1835,1643,1750,2013,2008,2566,2862,3002,2878,2060,1844,1821,1564,1981,2934,3162,3364,3201,2416,2102,2322,3115,3287,3221,2830,2934,2786,1889,1844,2013,1899,1638,1354,1468,2006,1964,2242,2613,2619,3019,2796,2203,2297,2372,1905,2386,3448,3062,2204,2103,1897,2175,3033,2470,2101,1599,1407,1864,2325,2867,3426,3132,2436,1973,2588,2769,2648,2309,1883,2045,1880,1711,1822,2245,2118,1872,2002,1690,2089,1602,1436,1534,1394,1344,1538,1562,1389,1421,1685,1628,1757,2042,2092,2421,2357,2277,1936,1757,2484,2873,2636,2469,2490,2525,2330,2306,2288,2336,2346,2348,2448,3000,3652,3186,2621,2378,2229,2248,2229,1857,1923,1926,2207,2226,2554,2750,1883,1489,1902,2080,1968,1735,1643,1863,1621,1649,1912,2334,2018,2581,2746,2119,2140,1930,1613,1563,1717,2386,3196,3439,3333,2463,1824,2023,2063,1939,1859,2204,2194,2024,2338,2205,1910,2148,1997,1747,1798,1618,1644,1725,1725,1816,1837,1528,1274,1352,1877,2237,1634,1404,1599,1974,2193,2310,2083,1840,1680,1478,1554,2496,3610,2621,2903,2458,2876,2886,3002,3575,3272,2271,1890,2095,2400,2120,1689,1933,1961,1643,1564,1510,2142,2615,2328,1812,1939,1971,1711,1819,2272,2446,2297,2620,2055,1604,1448,1557,1594,1519,1915,2458,2239,2308,2170,2634,2147,2418,2261,1937,1968,2170,2382,2014,1830,1994,2016,1658,1547,1857,1668,1519,1610,1831,1973,2810,3124,2402,2302,2710,3166,3239,2591,2119,1950,1863,1583,1492,1754,1916,1863,1889,2017,1769,1615,1672,1576,1444,1439,1477,1798,1758,1434,1486,2126,2692,2730,2381,2090,1738,1675,1840,1688,1549,1492,1485,1440,1440,1449,1447,1556,1644,1600,1673,1574,1451,1593,1540,1471,1673,3646,3840,2234,1932,1578,1328,1618,1622,1558,1570,1394,1277,1262,1204,1334,1322,1041,1145,1542,1626,1510,1792,1678,1457,1477,1519,1762,2018,2123,2409,2700,2918,2851,2185,1347,1257,1375,2102,1533,781,1411,2251,2083,1840,1950,2139,2514,2554,2009,1521,1664,1684,1611,1554,1605,1783,1680,1671,1653,2081,2246,2048,1965,2058,2083,1870,1836,1620,1389,1655,1762,1703,1886,1760,1493,1870,2259,2019,1820,2072,2334,2483,1951,1671,1549,1708,1626,1669,1688,1629,2164,2054,1959,1976,2143,2546,2612,2356,1988,1738,1829,2613,3752,3691,3391,3664,3181,2713,3072,2395,2022,2297,2354,2438,2601,2669,2050,1762,2104,1979,1794,1919,1995,2013,2209,2123,2867,2839,2806,3563,3354,2789,2850,3422,3673,3127,3057,2802,2858,3427,3097,3296,3727,3216,2646,2663,2579,2084,2158,2412,2404,2338,1834,1722,2058,2512,2188,1901,1939,1867,1725,1889,1813,1724,2026,2342,3252,3187,2565,3145,3053,2402,2241,2449,2756,2831,2968,2834,2413,1993,2066,1809,1974,2254,2319,2301,1663,1794,2541,2706,3042,2121,1774,2398,2194,1971,2360,2150,1864,2277,2035,1741,2062,2070,2282,2090,2569,2609,2752,3166,3508,2929,2753,2675,2846,3041,3033,2995,2176,2480,2642,2978,2380,2244,2177,2002,2073,2609,2933,2859,2705,2270,2600,2447,3060,2587,2728,3057,3386,2561,2400,3402,3930,4026,3627,3451,3792,3824,3046,2265,2241,2513,2137,2207,1968,1461,1504,1529,1428,1394,1488,1629,1626,1620,1924,1936,1816,1794,1328,1218,2090,2262,1652,1580,1466,1344,1443,978,924,1287,1692,1725,1704,1652,1373,1007,1187,1711,1870,1675,1542,1915,2343,1976,1551,1675,1656,1530,1681,1603,1700,1876,1701,1504,1751,1962,2355,2142,2061,1660,1341,1460,1526,1600,2035,2096,1795,1671,1542,1416,1520,1636,1767,1779,1770,1550,1066,1278,1528,1632,1786,1732,1720,1612,1643,1631,1745,1793,1841,1640,1704,1808,1664,2017,2292,1966,2062,2067,2404,2410,1688,1587,1835,1807,1946,1721,1396,1399,1730,2309,2043,1818,1735,1902,2830,2439,1638,1836,2100,2112,2076,1983,1839,1946,2238,1635,2046,1849,1897,2192,2040,1564,1432,1316,1549,1868,1846,1927,1856,1604,1918,1954,1713,1986,1886,1767,1534,1343,1557,1956,1747,1781,1996,2228,1836,1231,1466,1548,1326,1324,1651,1837,1738,1592,1853,1991,1470,1476,1961,1652,1296,1610,1403,1229,1506,1408,1143,1376,1605,1585,1630,1701,1757,1958,2082,1806,1632,1573,1522,1466,1530,1511,1370,1363,1542,1406,1260,1457,1498,1348,1542,1381,1316,1839,2397,1936,1436,1701,1616,2075,2864,2142,1650,1672,1781,1561,1726,1693,1438,1395,1462,1187,1395,1772,1968,1755,1806,1824,1884,1864,1770,1832,1870,1745,1879,1908,1531,1374,1512,1964,1852,1423,1383,1727,1764,1364,1418,1939,1708,1647,2060,1952,1781,1371,1402,1464,1394,1361,1368,1327,1576,1730,1571,1653,1794,2106,2022,2419,2448,2415,2554,2342,2233,1958,1903,1901,2054,2332,2298,1916,2054,2225,2881,2758,2093,2197,2120,2195,2237,2388,2612,1993,1332,1472,1586,1910,2559,3319,3056,2442,2758,3147,3140,2740,2265,2221,2440,2023,2041,2270,2161,2125,2248,2135,2189,2062,1976,2105,2308,2590,2608,2229,2034,1720,2585,3198,3801,3650,2896,2589,2822,3016,2910,2839,2978,3097,3035,3156,3438,3575,3485,3303,3140,3353,3448,3615,3648,3587,3407,3237,3661,3713,3572,3767,4029,3740,3476,2949,3168,3898,4051,3907,3918,3929,3936,3807,3824,3838,3735,3685,3855,3858,3784,3765,3496,3286,3889,3959,3958,3924,3764,3761,3705,3761,3849,3925,3839,3149,2237,1763,1326,1074,1319,1487,1592,1836,1946,1914,1893,1938,1750,1545,1664,1678,1378,1265,1460,1793,1845,1699,1338,1390,1684,2365,2418,2019,1845,1446,1341,1676,1764,1449,1271,1257,1410,1830,1856,1657,1559,1547,1546,1566,1642,1617,1240,1056,1168,1249,1460,1643,1395,1306,1517,1700,1764,1701,1677,1426,1408,1390,1525,1635,1680,1763,1832,1640,1320,2137,2752,1900,2460,3213,2556,1604,1622,2201,1849,1737,1716,1401,1391,1287,1199,1459,2176,2265,2329,2224,2286,2811,2706,2225,2833,2450,2091,2552,2097,1635,1821,1787,1726,1680,1841,1791,2050,2143,1797,1572,1331,1469,1910,1721,1946,1969,1916,2330,2097,1959,1852,1676,1851,1980,2097,2335,2050,1760,2122,2113,1503,2269,2150,2063,1964,1720,1600,1594,1784,2180,2740,2820,2047,1716,1638,2054,2082,1705,1572,2401,2663,1978,1642,1643,1440,1381,1613,1843,2089,2215,2436,2503,2152,1933,2446,2732,2622,2863,2187,1831,1573,1839,2173,2363,3038,3275,2606,2809,2890,2750,2584,2310,2734,2285,2138,1885,1356,1357,1456,1644,2310,2574,2494,2618,2520,2287,2164,1737,1806,2445,2857,2778,1908,1397,1484,1694,1810,1806,1856,1637,1543,1508,1699,1713,1973,1860,1653,1530,1714,1630,1476,1502,1520,1678,1660,2076,1930,1483,1408,1429,1922,2187,1827,1600,1563,1786,2250,2330,2151,2075,1836,2025,1948,1642,1466,1572,1620,1527,1499,1517,1726,1745,1614,1661,1628,1576,1981,1814,1723,1698,1692,1570,1792,1792,1510,1616,1594,1960,1637,1528,1648,1580,1721,1860,1869,2087,2000,1950,2000,2058,2330,1971,1634,1897,1779,2081,2214,1891,2293,2558,1992,1531,1454,1474,1304,1365,1432,1438,1354,1314,1738,1680,1535,1787,2135,2191,2157,2164,1923,1851,1904,1835,2363,2587,1766,1469,1581,1539,1821,2057,2088,2196,1880,1683,1722,1516,1610,1833,1892,2319,2952,2901,2940,2603,1742,1629,1487,1459,1470,1494,1505,1626,1982,2530,2208,1823,2192,2724,2901,3312,3736,2856,2121,2169,2832,2490,2258,2038,1848,1655,1422,1441,1440,1543,1602,1499,1503,1368,1423,1910,2170,2135,2178,2192,2416,2644,2972,3321,3377,3319,2930,2115,2287,3066,2576,1848,2052,2092,2584,3119,2864,2081,2152,2015,1616,1593,1504,1403,1507,1677,1512,1442,2004,1969,1682,2072,2098,1642,1818,1845,1610,1548,1422,1438,1506,1490,1458,1504,1735,1733,1519,1702,1652,1577,1480,2281,2502,2213,1743,1549,1611,1513,1485,1368,1364,1708,1732,1707,2238,1962,1757,1723,1632,1572,1726,1749,1648,1653,1664,2118,2266,2376,1866,1602,1848,1666,1569,1837,2287,2548,2234,2087,2840,2808,2457,2486,2118,2302,3006,2966,2141,1557,1610,1588,1372,1396,1632,1910,1552,1446,1740,2289,2172],[3741,3899,4305,4424,3804,2914,3461,3562,2563,2458,3082,3557,3505,3369,2957,2896,2756,2801,3286,3395,2967,2797,2699,2336,1956,2099,2741,3034,2718,2861,3097,4062,4292,3873,3275,3111,3195,2522,2043,2462,2762,3099,3776,3387,3010,3071,3143,3017,3089,2994,2976,3044,2928,2822,3186,3585,3710,3788,3205,3149,3348,3447,3153,2646,1975,2130,2483,2193,2447,2611,2594,2419,2224,2596,2918,2117,2300,2149,1916,2468,2786,2186,2074,2294,2271,2332,2530,2715,2142,1614,1806,2209,2120,2142,2432,2598,2912,2884,2813,2917,3276,3411,3057,3095,3016,2863,3028,3064,3162,3268,3020,2598,2347,3097,3887,4052,3896,3723,4140,4213,3897,3394,3331,3671,3407,2975,3075,2630,2192,2697,2078,1954,3709,3657,3527,3636,2658,1570,1441,1638,1475,1366,1474,1807,2137,2545,2653,2391,2429,2582,3045,3646,3717,3621,3841,3859,3839,3850,3887,3318,3211,2959,2216,2141,2167,2010,2011,1839,1706,1823,1794,1972,1895,1749,2016,2336,2500,2117,1855,2155,2853,3489,3687,3547,2783,1796,1925,2585,2890,2586,2437,2675,3083,3362,3468,3526,2973,2062,2070,1796,1869,2459,2180,2318,1860,1606,2370,2918,3050,3383,3457,2954,2217,2019,2374,2302,1804,1639,1993,2060,1381,1645,2122,2700,3145,2540,2186,2368,1644,1281,1671,1847,1853,1806,2538,2383,1838,1588,1460,1528,1607,1566,1441,1598,1641,1660,1829,2077,1719,1807,1789,2211,2642,2272,2537,2624,2127,2246,3076,2209,1691,1550,1412,2165,2073,1504,1406,1716,1666,1911,2373,2015,1681,1675,1628,1688,1944,1801,1569,1534,1625,2042,2381,1963,2070,2088,2050,2144,2226,2313,2323,2010,1903,1789,1677,2348,3043,2954,3318,3426,3134,2676,2564,3179,3116,3654,3385,3174,2676,1937,1852,2009,1849,1650,1644,1404,1842,1953,2536,2388,2233,2479,2764,3019,2822,2238,1674,1861,2185,2459,2421,2237,2031,2153,2000,1823,2094,1792,1439,1670,1605,2130,2824,2864,2105,1942,2629,2679,2127,1676,1691,1791,1853,1822,2099,2659,2109,1726,2123,2043,1919,1490,1505,1528,1492,1543,1655,1659,1576,1662,1676,1668,2201,2204,2296,2306,2355,2352,1942,1837,2313,2686,2369,2071,1939,1798,2008,2016,1952,2094,2379,2484,2383,2614,2785,2533,2496,2585,2586,2659,2277,1700,2143,2094,2631,2358,2204,2348,1944,1828,1952,1644,1603,1487,1455,2102,1876,1648,1802,2034,2090,2633,2676,2203,1746,1520,1448,1490,1780,2098,2753,3260,3118,2180,1753,1602,1565,1825,1732,1881,2054,1879,1801,1755,2026,2311,2032,1797,1940,1812,1575,1593,1692,1914,1793,1539,1418,1731,1935,2161,1747,1507,1611,1792,1885,1793,1744,1754,1726,1501,1483,2038,3394,3339,3222,3141,3531,3489,3213,2974,2655,2214,2068,2104,3018,3075,2385,1630,1687,1728,1709,1743,2239,2580,2020,1652,1748,2111,1876,1605,1772,2521,2943,2681,1985,1620,1613,1619,1739,1848,1914,2219,2051,1772,1739,2360,1994,2713,2610,1824,1905,2539,2724,2106,1858,2056,1911,1691,1496,1829,1807,1546,2164,2598,2457,2968,2803,2125,1946,2118,2867,3437,3495,2579,1881,1811,1534,1764,2380,2004,1776,1898,1605,2125,1802,1830,1842,1608,1484,1577,1924,1894,1472,1661,2322,2361,1958,1592,1551,1659,1810,1726,1487,1557,1737,1575,1428,1438,1440,1573,1713,1690,1568,1543,1434,1455,2031,2052,1684,1627,2827,3220,2157,1659,1560,1265,1463,1577,1732,1625,1510,1404,1288,1182,1278,1252,1081,1174,1314,1450,1784,2192,1926,1609,1638,1813,2146,2436,2669,2864,3058,3487,3483,2921,1670,1798,1782,2219,1365,679,1590,2233,2028,1986,1928,2147,2792,2313,1793,1564,1609,1637,1651,1574,1434,1405,1571,1798,1897,1857,2286,2190,1874,1760,1526,1432,1826,1736,1430,1406,1447,1561,1753,1851,1725,2324,2364,2225,1975,2081,2834,2719,2364,2047,1753,2027,2094,1605,1599,1775,1911,1665,2010,1876,1822,2229,1779,1512,1727,1727,1844,2360,3496,3462,3045,3181,3086,2665,2921,2261,2211,2686,2954,2733,2585,2698,2048,1919,1819,1764,2191,2652,2721,2409,2334,2360,2386,2185,2508,2967,2878,2729,2552,3365,3317,2439,2765,2732,3040,3608,3416,3228,3240,3063,2857,3096,2820,2208,2629,2996,2852,1954,2045,2467,2286,1706,1456,1599,1912,1994,1770,1896,1815,1793,1910,1940,2744,2806,2431,3093,3131,2706,2543,2350,2306,2478,2965,2473,2009,1640,1816,1881,1701,1526,2130,2636,2086,2056,2808,3038,2526,1934,2311,2314,2149,2288,2524,2103,1853,2175,2081,2301,2989,2829,2928,2557,2483,2602,2033,2329,2739,2539,3022,3354,3208,3454,3465,3471,2442,2344,2631,2590,2420,2448,2519,2397,2023,2367,2597,2511,2503,2422,2541,2427,2540,2806,2843,3414,3714,2714,2824,3300,2731,2928,3124,2679,3316,3713,3551,2929,2856,3187,3364,3431,2574,1979,1991,1828,1680,1781,1614,1866,1669,1679,1882,1751,1613,1821,1836,1777,2166,2037,1611,1654,1626,1465,1266,821,1119,1583,1587,1492,1574,1658,1263,1039,1665,1897,1804,1606,1585,2200,3427,2999,1703,1540,1786,1816,1579,1605,1644,1480,1581,1347,1935,2123,2618,2544,1905,1493,1285,1604,1838,1518,1656,1685,1655,1780,1771,1628,1875,1770,1650,1542,1751,1435,1201,1361,1180,1575,1502,1217,1412,1861,1975,1880,1744,1649,1511,1413,1597,1827,1819,1918,1917,1835,2046,2339,2440,1970,1762,1950,2130,1936,1658,1684,1961,1971,1742,1951,1942,1795,1677,1930,2933,2280,1492,1642,1726,2041,2444,2128,1826,2000,2236,2376,2645,2285,1930,1881,1976,1695,1377,1388,1601,1775,1732,1738,1638,2092,2215,1968,1682,1471,1591,1667,1424,1380,1851,2121,1826,2158,2164,2025,1472,1368,1448,1414,1330,1483,1748,1744,1572,1404,1312,1365,1212,1500,1841,1782,2187,2525,2056,1636,1588,1542,1764,1766,1779,1615,1688,1711,1753,1828,1736,1693,1753,1760,1579,1446,1432,1387,1359,1749,2231,2005,1939,1678,1367,1396,1400,1499,1892,2123,2035,1935,1898,2236,2155,2623,2621,2406,1925,1609,1675,1650,1721,1791,1563,1479,1712,1398,1461,1649,2034,1931,1758,1682,1714,1632,1550,1722,1761,1750,1764,1680,1473,1453,1673,2466,2202,1807,1751,1727,1873,1828,1608,1693,1729,2465,2608,1997,1433,1376,1400,1260,1293,1429,1342,1444,2060,2110,2199,2780,2512,2302,2279,2719,2654,2298,1718,1487,1681,1749,2236,3056,2822,2845,2965,2091,2280,2381,2578,2721,2648,2107,1514,1682,1675,1930,2242,1938,1704,1689,1781,2195,2647,3324,3113,2864,3107,3425,3566,3395,2918,2123,1981,2039,2220,2149,2000,1970,2010,2109,2171,2291,2801,3276,3494,2878,2698,1900,2260,2543,2931,3344,3576,3074,2744,2679,2854,2868,2743,2863,2931,2854,2972,3139,3471,3618,3605,3558,3560,3564,3593,3681,3560,3531,3762,3754,3927,3597,3553,3595,3740,3491,3519,3813,3884,3728,3685,3980,4027,4124,4094,3749,3591,3753,3725,3597,3591,3653,3736,3803,3580,3041,3510,3873,4030,3959,3707,3820,3925,3833,3775,3811,3806,3354,2470,1900,1751,1525,1593,1784,1908,1861,1855,1810,1696,1738,1538,1329,1438,1463,1337,1395,1548,1841,2013,2013,1484,1295,1575,2174,2655,2367,1641,1243,1214,1491,1739,1483,1063,981,1191,1584,1739,1491,1367,1378,1288,1297,1425,1481,1248,1199,1295,1274,1297,1380,1195,1109,1312,1412,1415,1532,1332,1274,1468,1632,1660,1786,1758,1671,1754,1710,1510,1851,2108,1630,2259,2454,1623,1470,1785,1862,1683,1620,1580,1488,1344,991,1107,1424,1648,1738,1931,2005,2442,2953,2599,2541,2846,2353,2070,2148,1668,1785,2657,1926,1471,1565,1672,1783,1892,1901,1767,1626,1621,1930,2208,1960,1860,1809,2142,2449,2359,2191,1919,1842,1954,1909,1885,1891,1655,1883,2405,2425,2406,2850,2309,2256,1905,1347,1547,1437,1603,1951,2295,2212,1833,1465,1420,1717,1624,1675,2056,2740,3153,2589,1599,1247,1207,1554,1826,2104,2157,2166,2118,1862,1922,2122,2253,2188,2298,2094,1762,1582,1579,2090,2233,2346,2640,3133,2923,2270,2596,2944,2366,1935,2191,2055,1826,1482,1575,1871,2277,2345,2442,2486,2012,2323,2040,1837,2303,1673,1985,2433,3095,2785,1758,1353,1468,1846,2026,1963,1903,1612,1585,1704,1769,2009,2415,2143,1723,1534,1483,1434,1367,1320,1722,1829,1530,1663,1772,1562,1452,1681,2166,2078,1665,1687,1754,2147,2553,2382,2216,2047,1936,1934,2004,2165,2031,1902,1684,1642,1773,1584,1449,1527,1736,1577,1292,1486,1638,1652,1901,1650,1660,1966,2032,1669,1413,1547,1455,1849,1724,1662,1731,1558,2192,2284,1740,1651,1699,1917,1843,1907,2298,1942,2056,1982,1673,2236,2214,1693,2192,2465,1892,1468,1393,1434,1399,1487,1619,1397,1466,1564,2067,1861,1477,1566,1923,2223,1958,1840,2244,2032,1655,1651,2264,1885,1264,1367,1461,1491,1544,1554,1760,1747,1408,1686,1671,1625,1491,1710,2082,2922,3002,2407,2556,2103,1720,2051,1897,1597,1529,1430,1352,1241,1512,1764,1964,2069,1935,2045,2125,1880,2071,2043,2248,2200,2164,1731,1476,1497,1559,1451,1349,1302,1505,1783,1882,1759,1583,1404,1450,2066,2402,1858,1472,1387,1488,1963,2400,3010,3203,3241,3044,2280,2381,2886,2646,2308,2006,1758,2014,2523,2537,2200,2152,1636,1481,1524,1444,1533,1422,1362,1353,1371,1625,1686,1725,2393,2371,2061,2043,1953,2082,1991,1779,1818,1927,1844,1658,1680,1771,1826,1619,1888,1576,1482,1368,2144,2411,2148,1497,1210,1510,1416,1461,1395,1570,2097,2003,1837,1865,1696,1682,1935,2351,2498,2352,1772,1540,1713,2149,2592,2674,2137,1581,1526,1712,1643,1726,1959,2140,2116,1930,1728,2181,2416,1932,1713,1547,1837,2458,2264,1686,1700,1659,1516,1344,1317,1604,1920,1614,1754,1934,2285,1985],[3392,3861,3970,3674,2979,3065,3970,3388,2263,2116,2679,2777,2799,2713,2547,2415,2597,2812,3150,3107,2921,2878,2710,2326,2174,2466,2812,2375,2716,2585,3076,4476,5068,4521,3422,3615,4059,3387,3242,3334,2890,3123,3540,3319,3100,3020,2954,2921,2756,2651,2675,2922,3279,3470,3709,3564,3483,3486,3248,3415,3531,3541,3544,3072,2555,2362,2407,2097,2141,2529,2509,2640,3060,2604,2490,2308,2237,2427,2463,2314,2157,2180,2350,2206,2051,2166,1962,2376,2351,2236,2715,2928,2336,2220,2503,2866,3663,3548,3749,3691,3456,3254,3161,3064,3105,3173,3339,3264,3165,3207,2919,2353,1996,2925,3887,4021,3533,3550,4078,4176,3529,2896,3184,4062,4059,3581,3704,2740,1818,2022,1682,2353,3792,3870,3772,3836,2862,1526,1434,1785,1602,1532,1516,2470,2792,2284,1957,2002,2296,2878,3474,3654,3752,3816,4304,4271,4139,4216,4111,3653,3232,2741,2468,2544,2226,2109,2068,1735,1936,2303,2174,1999,1773,1873,1954,1918,1787,1802,2084,2154,2526,3384,3714,3496,2693,2120,1781,2039,1980,2434,3218,3398,3306,3259,3230,3047,2286,1761,1877,1698,2383,2504,1975,2005,1641,1842,2800,3074,2984,2934,3138,2825,2304,2237,1978,1714,1517,1778,2509,2049,1516,1835,1809,1873,2391,2454,1979,1919,1394,1816,2060,1747,1543,1952,2131,1751,1887,1716,1920,1795,1558,1617,1749,1709,1810,1794,1511,1476,1616,1811,1598,2116,2754,2354,2780,2646,2861,2720,2980,2560,2105,1750,1611,1816,2166,2173,1782,1721,1647,1980,2155,1690,1501,1431,1460,1832,1943,1750,1730,1754,1678,1967,2182,1945,1893,2150,2222,2478,2753,2668,2094,1776,1864,1866,1831,2182,2496,2719,2530,2764,3039,2799,2535,2716,2750,2700,2658,2555,2260,2206,1802,1350,1799,1953,2103,1488,1826,2018,2294,2398,2006,1610,1912,2741,3262,2578,1999,2303,2079,2961,2632,2321,2458,2070,1698,1752,1865,1736,1859,1794,1535,1917,2214,2183,2237,2385,2718,2966,2285,1495,1529,1699,1883,1907,2472,2331,1747,1557,2195,1991,1543,1404,1363,1357,1447,1577,1692,1589,1599,1543,1483,1845,2129,1674,1804,1831,2268,2460,2004,1977,2439,2589,2116,2020,1639,1484,1407,1521,1816,1914,2218,2643,2449,1978,1850,1728,2218,2274,2119,2465,2086,1836,1766,1599,1907,1848,1641,1812,1705,1651,1905,1827,1949,1635,1625,2149,1997,1803,1773,1826,2266,2596,2360,1780,1749,1728,1645,1448,1339,1691,2315,2474,2311,2082,1823,1555,1711,1852,1700,1541,1684,1868,1788,1718,1750,1716,1813,1855,1998,2008,1770,1593,1780,1793,1694,1561,1851,2123,1515,1143,1402,1915,2200,1874,2083,2620,2620,1882,1757,1647,1530,1652,3029,3894,3666,3532,3431,2973,2642,2420,2508,2286,2180,2248,2881,3602,3288,2319,1795,1771,1624,1831,2422,2557,1948,1642,2130,2207,1881,1576,1512,2289,3042,2659,1988,1802,1904,1704,2033,2079,2035,1749,1928,1741,2450,2617,2229,2607,2158,1721,2265,2990,2577,1691,1627,1619,1419,1516,1403,1768,2275,2029,1942,2318,2608,2792,2280,2014,2087,2275,2556,3057,3418,2567,1758,1666,1850,2365,2302,1828,1671,1995,1979,2647,1826,1546,1593,1535,1453,1504,1906,1997,1832,2092,2175,2094,2062,2059,1577,1497,1794,1811,1596,1679,1977,1777,1663,1739,1882,1972,2072,1655,1255,1534,1516,1848,2090,1687,1571,1763,2158,2697,1807,1837,2144,1844,1822,1932,1864,1794,1683,1349,1137,1222,1471,1410,1372,1505,1618,1737,2321,2631,2409,2030,2114,2564,2876,2912,2813,2942,3131,3555,3511,3393,2654,2866,2658,2092,1136,879,1786,2218,2045,1850,2041,2271,2691,2344,1614,1527,1625,1699,1767,1651,1549,1778,1842,1796,1964,1905,2160,1960,1867,1882,1808,1876,1899,1603,1429,1410,1714,1566,1657,1892,1968,2049,1691,2007,2077,2052,2338,2254,2057,1868,1808,1854,1938,1639,1708,1503,1564,1552,1925,2088,2072,2005,1652,1766,1952,2521,3218,2599,2573,2994,3172,3010,2751,2701,2966,3023,2984,3150,3082,2511,2256,2973,2663,2268,2056,2503,2809,2835,2857,2558,2326,2686,2597,2192,2715,3240,2856,2387,2046,2416,2579,2573,2222,2371,3086,3498,3740,3751,3319,3432,3420,3277,3408,3576,3106,3021,2426,1981,2570,3142,2676,1759,1884,1816,1663,1865,2042,2048,1888,1732,1649,1458,2271,2474,2281,2983,2840,2752,2533,2776,2851,2818,2932,2858,2530,2104,2222,2454,2437,2273,2690,3163,2743,2163,2476,2944,2534,2409,2469,2290,1890,2198,2477,1971,2113,2711,2100,2891,3548,2836,2556,2409,2510,2802,2408,2150,2454,2203,2217,2761,2414,2620,2708,3018,2558,2623,2404,2135,2724,2589,2364,2445,1959,2201,2721,2711,2210,2677,2868,2767,2806,2885,3002,3201,2832,2625,3422,3341,2448,2328,2930,2384,2708,2624,2734,2475,2036,2298,2316,2835,2383,2646,2972,2954,2904,2541,2353,2392,1873,1533,1292,1053,1403,1860,1852,1780,1775,1650,1656,1699,1567,1644,1354,1001,1328,1611,1548,1481,1556,1513,1305,1528,2097,2037,1763,1591,1620,2517,3472,2821,1667,1610,1785,1950,1375,1941,1517,1626,1520,1351,1351,1747,2499,2322,1592,1405,1412,1891,2145,1813,1594,1738,2176,2328,1932,1461,1456,1458,1723,1942,1860,1657,1637,1327,1324,1447,1499,1896,1832,1844,1864,1690,1605,1713,1713,1547,1500,1664,1802,2020,1864,2118,2201,2358,2298,1822,1747,1774,1687,1642,1426,1609,1826,1743,1488,1624,1726,1814,1826,1805,1936,1810,1568,1481,1614,1899,2116,2050,1738,1717,1846,2059,1997,1995,1970,1992,1930,1642,1520,1550,1656,1719,1802,1888,2037,2698,2476,2257,2089,1735,1860,2157,2146,1700,2154,2398,1906,1706,1710,1663,1623,1885,1749,1507,1410,1576,1723,1503,1494,1691,1634,1525,1450,1598,1793,1804,2209,2746,2553,2071,1688,1506,1832,1723,1747,1747,1760,1830,1900,1694,1610,1740,1840,1864,1780,1716,1627,1556,1386,1701,1584,1743,2373,2019,1436,1409,1436,1803,2305,2029,1979,2042,2017,2419,2542,2611,2381,2119,1825,1588,1536,1642,1865,1929,1750,1559,1694,1800,1731,1780,1864,1716,1728,1756,1651,1556,1644,1547,1537,1477,1562,1620,1687,1703,1734,1654,1715,1853,1682,1559,1630,1927,1916,1995,2129,2270,2338,1784,1365,1410,1028,823,1138,1328,1401,1572,1869,1692,2542,3038,2380,2032,2710,3536,3394,2730,1969,1801,2191,2190,2962,3506,3079,2857,2919,2333,2466,2480,2308,2579,2556,1755,1418,1395,1266,1530,1508,1619,1901,2077,1886,2073,2743,2796,2828,3395,3413,3768,3382,3015,2693,2087,1783,1805,1866,2100,2351,2591,2905,3189,3460,3732,4164,4356,4240,2860,2733,2570,3133,2776,2701,3341,3222,2928,3075,2730,2791,2695,2584,2799,2912,3162,3243,3272,3415,3544,3579,3451,3587,3647,3660,3606,3551,3324,3525,3682,3808,3583,3343,3459,3780,3781,3816,3780,3104,2652,3364,4039,4242,4212,4060,3792,3538,3658,3806,3694,3606,3564,3549,3653,3576,2816,2937,3654,3874,3823,3826,3877,3946,3840,3686,3644,3597,3359,2641,1903,1885,1877,1844,1879,1814,1659,1643,1506,1592,1715,1552,1676,1539,1261,1261,1624,1624,2330,2910,2299,1600,1230,1492,1875,2486,2415,1657,1418,1474,1628,1790,1661,1305,1206,1186,1339,1374,1202,1165,1371,1216,1384,1471,1394,1323,1343,1448,1429,1396,1393,1187,1311,1476,1383,1288,1611,1569,1319,1506,1627,1526,1479,1482,1699,1816,1613,1406,1694,1805,2257,2658,2265,1323,1471,1955,1910,1560,1670,1960,1592,1330,956,953,1833,1920,1664,1803,2137,2768,3152,2828,2809,2887,2337,2266,2265,1843,1958,2591,2155,2040,1937,1774,1991,2004,1725,1713,1706,1719,1888,1749,1886,1852,1769,2028,2371,2512,2338,1946,1678,2168,2138,1948,1693,1986,2025,1925,1793,2292,2397,2061,2148,1726,1597,1823,1655,1711,1964,1903,1633,1718,1638,1601,1722,1671,1654,2064,2586,2758,2319,1516,1262,1465,1768,1865,1879,1830,1899,2138,2119,1866,1801,1829,1892,2143,2230,2085,1919,1739,1549,1654,2059,2702,3054,2874,1923,1854,2283,1872,1844,1798,1609,1531,1473,1706,1892,2199,2283,2576,2368,1698,2122,2100,2276,2468,1931,1909,2371,2520,1992,1610,1513,1483,1880,2192,2314,1753,1613,1580,1569,2047,2186,2146,1889,1581,1497,1632,1400,1291,1521,1733,2002,1929,1617,1666,1593,1514,1719,1859,1698,1535,1764,1625,1898,2202,2101,1893,1881,2159,2044,1594,1970,2657,2491,2004,1900,1509,1489,1332,1390,1416,1527,1616,1570,1489,1724,1877,1881,1836,1606,1456,1521,1721,1593,1453,1755,1650,1841,2063,1821,1855,1769,1478,1588,1882,1832,1633,1603,2081,2409,2397,1996,1544,1605,1726,1425,1711,2077,1656,1403,1373,1488,1602,1694,1730,1768,1732,1654,1864,1627,1321,1439,1541,1675,1672,1362,2001,1874,1649,1589,1675,1411,1333,1422,1394,1503,1547,1466,1655,1561,1583,1804,1720,1638,1694,1919,2379,2632,2205,2115,2264,1694,1685,2048,1958,1757,1557,1548,1519,1379,1409,1457,1670,1751,1614,1598,1773,1455,1894,2535,2561,2071,1592,1509,1439,1375,1577,1446,1344,1433,1666,1858,1807,1871,1744,1616,1769,2430,2589,1991,1560,1428,1499,1670,1943,2714,2758,2786,2841,2545,2856,3240,3281,3217,2652,1814,1909,2336,2426,2597,2258,1698,1487,1497,1654,1565,1406,1449,1294,1439,1559,1809,1841,2203,2259,2023,1956,1915,2050,2049,1869,1990,2223,1879,1621,1560,1684,1924,1749,1678,1516,1381,1331,1513,1744,1791,1410,1284,1570,1504,1682,1860,1870,1831,1723,1604,1645,1837,2150,2438,2526,2602,2304,1674,1443,1823,2797,2806,2745,2150,1562,1688,1842,2002,1873,1781,1902,1726,1582,1588,1692,1696,1662,1656,1523,1789,2320,1986,1736,1812,1616,1541,1395,1443,1829,1842,1665,1619,1631,1675,1630],[3174,3573,3054,2917,2670,3176,4059,3056,2101,2055,2671,2818,2762,2763,2676,2730,2778,2706,2854,2623,2285,2546,2647,2196,2411,2583,2711,2554,3166,2866,3060,4239,4840,4352,3814,3816,3891,3492,3342,3264,3039,2753,2731,2990,2980,2796,2802,2423,2257,2465,2598,2899,3563,3582,3581,3044,2814,3089,3332,3569,3472,3448,3308,2556,2209,2064,2402,2577,2532,2909,2291,2477,3227,2576,1899,1846,2224,2780,2758,2328,2304,2233,2163,2454,2425,2317,1772,1728,1947,2320,3069,3083,2598,2863,3022,2984,3510,3243,3336,3547,3557,3393,3266,3313,3284,3229,3183,3314,3321,3222,3077,2423,1884,2586,3054,2999,2890,2932,3209,3362,3044,3171,3296,4180,4227,4093,4095,2980,2084,1736,1609,2601,3793,4047,4004,3908,2678,1468,1542,1844,1752,1637,1829,2970,3154,2545,2024,1654,2290,3331,3608,3553,3630,3776,4096,4340,4352,4311,3849,3065,2688,2573,2680,2364,1852,1789,1835,1670,2249,2823,3075,2401,1996,2038,1781,1897,2248,2403,2543,2483,2840,3282,3664,3244,2429,1997,1694,1696,2043,2852,3401,3552,3309,3231,3116,2541,2029,1818,1836,2236,2756,2426,1997,1790,1640,2268,2925,3089,3304,3198,3052,2808,2570,2342,1934,1581,1660,1739,2084,2323,1874,1674,1774,1867,2083,2609,2252,1859,1446,2347,2878,2183,1933,2284,1960,2264,2955,2475,2556,2053,1635,1559,1625,1756,2092,1843,1445,1298,1500,1844,1734,1744,1908,2362,2228,2887,3386,2944,2586,2725,2438,2196,2416,2132,2008,2066,2003,1829,1633,1566,1378,1401,1633,1910,1818,1578,1625,1529,1672,1732,1776,2119,1963,1745,1655,2192,2069,1769,1950,1980,1685,1726,2021,1960,1804,1906,2003,1966,2071,2242,2509,2657,2483,2525,2395,2031,2163,2097,1608,1656,1621,1946,2756,2381,1904,1572,1682,1856,2355,2546,1779,2034,1856,2359,2686,2082,2121,2730,2762,2750,2142,2337,3068,2641,1706,1760,1803,1638,2052,1948,1825,2271,2342,2415,2243,2088,2176,2327,2174,1676,2049,2461,2290,1896,2319,2175,1871,1574,1730,1641,1439,1387,1454,1641,1480,1425,1645,1620,1566,1458,1426,1742,1970,1874,1819,1990,2490,2674,2471,1877,1926,1904,2204,2111,1622,1417,1489,1496,1566,1923,2232,2432,2710,2612,1888,1767,1970,1763,1741,2251,2666,2280,1703,1444,1433,1736,1891,1862,1473,1517,1756,1878,1970,1600,1613,2193,2168,2124,2382,2198,1954,1752,1875,1986,2283,2288,2121,1453,1226,1458,1631,1933,2511,2207,1975,1870,2131,2020,2020,2064,2273,1930,1601,1894,1715,2023,2605,1959,1795,1776,1850,1628,1782,1779,1761,1792,2109,1863,1410,1524,1805,2393,2768,2458,3064,3731,3465,2807,2012,1867,1907,1466,2087,3418,3518,3075,2998,2754,2771,2864,2938,2466,2139,2321,2383,2895,3319,2713,1981,1901,1593,1481,1949,1869,1680,1907,2033,1945,1758,1569,1544,1999,2508,2320,2089,2400,2344,1588,1657,2146,2475,2025,1750,1699,1807,1893,2145,2495,2613,2431,2750,3051,2806,2105,1781,1621,1578,1528,1596,2334,2631,1925,1282,1553,2278,2741,2390,2402,2443,2303,2474,2925,2662,1800,1447,1809,2706,2515,1717,1618,1479,1623,2566,2662,1791,1438,1457,1638,1543,1516,1688,1892,1865,2073,1765,1584,1905,1840,1348,1366,1720,2101,2112,2022,2259,1898,1587,1811,1825,1771,1854,1483,1288,1446,1653,1875,1562,1383,1498,1843,1889,2475,1825,1747,2284,2196,2146,2158,1802,1767,2027,1660,1367,1315,1373,1595,1506,1614,1687,1798,2310,2750,2568,2230,2596,2950,2809,2392,2711,3105,2922,2993,2900,2722,2570,2755,2722,2002,824,1224,2156,1956,2049,1847,1874,2608,2440,1808,1577,1548,1655,1794,1857,1709,1636,1616,1309,1554,1738,1845,1837,1888,2065,2040,1939,1907,1658,1323,1254,1349,2018,1845,1687,1559,2040,2138,1863,2305,2691,2513,2090,2046,1758,1958,2043,1801,1768,1654,1499,1628,1998,1745,1512,1712,2056,1986,1901,1969,1754,2762,3225,2521,2487,2554,2854,2829,2810,2995,3423,3442,2801,2768,2657,2372,2222,2869,3040,2357,2319,2540,2509,2112,2050,2382,3093,3899,3619,2435,2840,3207,2921,2543,2261,2086,2608,2520,1695,1852,2341,3000,3381,3661,2992,3038,3333,3281,3422,3218,2979,2834,2423,2563,2785,2916,2754,2773,2388,2167,1793,2304,2434,2156,1994,1763,1633,1377,1769,2090,2228,2364,2360,2756,2654,3009,3054,2933,3060,3239,2597,2046,2598,2850,3276,2886,3012,3118,2534,2319,2272,2296,2521,2647,2553,2428,2526,2630,2363,2465,2841,3085,2599,3152,3128,2540,2336,2295,2412,2629,2465,2277,2939,2369,1854,2459,2252,2655,2454,2113,2366,2995,2809,2643,3104,2773,2769,2426,1587,1949,2285,2210,2039,2655,3178,2980,2428,2621,2621,2248,2533,3061,2958,3041,3220,3383,3440,3051,2586,2048,2204,2342,2376,2594,1875,2341,2462,3017,3522,3455,3187,2778,2700,2681,2149,1809,1616,1360,1798,2142,1327,908,1115,1549,1866,1793,1670,1753,1594,1434,1649,1736,1836,1728,1554,1493,1610,1816,1943,1918,1772,1492,1591,1945,2107,1639,1686,2106,1718,1519,1535,1454,1378,1503,1417,1455,1498,1652,1988,1838,1462,1400,1338,1514,1710,1786,1608,2006,2873,2548,1890,1471,1256,1288,1611,1780,1465,1410,1670,1618,1483,1209,1757,2274,2033,1832,1669,1485,1532,1714,1571,1589,1614,1740,2021,1799,1757,1884,1815,1840,2020,2103,2102,1803,1628,1504,1395,1673,1772,1819,2047,2094,1986,1953,1787,1451,1488,1656,1657,1388,1625,2009,2094,1865,1749,2101,2198,2091,2180,2010,1371,1287,1357,1421,1721,1878,1674,1741,1852,1696,1681,2076,2568,2630,2282,2099,1854,2221,2398,1759,1848,2136,1917,1719,1580,1210,1546,1990,1856,1842,1797,1977,1934,1841,1901,2094,2028,1669,1476,1547,1632,1726,2075,2668,2754,2019,2054,2004,1982,1886,1989,1991,1807,1994,2136,1629,1259,1425,1744,1675,1731,1787,1763,1748,1692,1578,1066,840,1307,1486,1412,1450,1712,1964,2343,2496,2040,1825,2376,2685,2031,1859,1996,1859,1619,1399,1396,1585,1896,2010,1948,1704,1501,1628,1750,1734,1511,1487,1663,1842,1676,1506,1527,1410,1471,1313,1483,1453,1451,1567,1635,1622,1725,1636,1603,1819,1836,1888,2027,2515,2470,2264,2282,1758,1500,1335,891,1088,1651,1603,1410,1416,1441,1436,2459,2393,1959,1886,2396,3053,3157,2874,2728,2079,2142,2417,3647,3627,3081,2690,2542,2482,2606,2414,2189,2579,2454,1564,1476,1222,1293,1437,1514,1888,2092,2461,2280,2289,2854,2568,2546,2445,2756,3226,2775,2152,2060,1910,1809,1800,2176,2864,3191,3829,4149,4289,4385,4444,4308,3613,3659,3204,2698,2678,2389,1990,2544,3472,3372,3140,3074,3344,3009,2742,2648,2759,3034,3362,3356,3284,3269,3469,3479,3518,3754,3719,3510,3417,3480,3420,3392,3374,3209,3295,3684,4006,4049,4108,3754,2478,1686,1696,2900,3969,4429,4444,4060,3399,3133,3449,3559,2988,3378,3436,3372,3505,3535,2732,2454,3161,3556,3673,3821,3910,3871,3760,3599,3570,3586,3405,2579,2149,2041,1860,1842,1904,1631,1663,1914,2040,2522,2433,2049,1515,1184,1065,1243,1661,1795,2676,3142,2152,1726,1333,1235,1492,2023,1937,1596,1461,1588,1601,1709,1760,1441,1261,1368,1490,1240,1209,1403,1503,1255,1376,1252,1144,1266,1253,1304,1285,1245,1343,1229,1375,1438,1408,1328,1454,1414,1309,1422,1398,1217,1334,1525,1678,1894,1631,1551,1787,1768,2302,2440,1828,1521,1729,1994,1969,1623,1681,1673,1572,1287,886,1011,2004,2365,2147,2001,2295,2513,2538,2331,2301,2722,2325,2188,2075,1717,1585,1942,2165,2109,2021,1958,1753,1855,1522,1537,2013,1960,1881,1739,2116,2363,1909,2033,2293,2083,2189,1900,1802,2221,2174,2365,2263,2244,2088,1820,2021,2264,2060,2156,2175,2245,1983,2093,1748,1688,1939,1719,1505,1526,1650,1776,1705,1572,1514,1542,1838,1924,2100,1826,1709,1745,1656,1685,1838,1912,1949,2297,2095,1882,1611,1672,1612,1710,2203,2159,1980,1787,1525,1272,1605,2188,2070,2296,2059,1599,1749,1752,1990,2135,3185,3230,1520,1391,1380,1430,1446,1962,1858,1923,2222,1782,1854,2554,2204,1758,2210,1935,1515,1479,1989,1852,2065,2199,2456,1930,1550,1521,1447,1458,1750,1778,1473,1556,1563,1558,1559,1909,1866,1736,2109,2458,2171,2082,2251,2098,1660,1603,1523,1720,2009,1916,1880,2072,2002,1948,2156,2339,2191,2072,2425,2781,2785,2390,2011,1477,1393,1200,1372,1550,1841,1863,1557,1708,2128,2309,2441,1992,1638,1521,1698,2210,2218,1861,1625,1502,1533,1554,1638,1434,1387,1433,1389,1897,1940,1770,1817,2227,2613,2310,1768,1323,1462,1838,1481,1641,2034,1622,1353,1367,1457,1577,1666,1556,1564,1511,1439,1430,1417,1473,1550,1678,1720,1782,1860,2192,1866,1665,1605,1433,1383,1511,1461,1495,1531,1562,1537,1493,1538,1827,2192,1926,1510,1692,2105,2417,2421,2480,2427,1848,1594,1568,1779,1676,1515,1333,1550,1793,1708,1757,1681,1630,1690,1487,1521,1859,1834,2231,2592,2376,1849,1672,1505,1226,978,1381,1407,1366,1620,1692,1710,1519,1725,1994,1883,1897,2481,2299,1837,1516,1426,1506,1680,2230,2757,2642,2506,2534,2631,3022,3429,3393,3240,2669,1795,1840,2350,2510,2534,2194,1975,1679,1414,1482,1509,1398,1305,1321,1470,1880,2238,1700,1687,2007,2124,2157,2040,2116,2267,2115,2281,2381,1681,1559,1420,1506,1578,1600,1826,1694,1395,1464,1705,1778,1887,1660,1601,1730,1655,1810,1798,1605,1558,1634,1832,2093,2239,2307,2035,1942,2248,1738,1609,1519,1828,2840,2776,2812,2708,1737,1769,1851,2111,1988,1853,2302,2094,1844,1708,1642,1687,1959,1915,1499,1840,2656,2329,2436,2457,2036,1685,1460,1638,1652,1627,1724,1621,1672,1848,1760],[3479,3616,3023,2341,2586,3000,2750,2205,2167,2281,2132,2103,2707,2845,2689,2202,1986,2423,2854,2676,2228,2570,2728,2766,3076,3315,3110,3250,3174,2494,2608,3964,4320,4304,4400,3970,2918,2849,3243,3139,3174,2989,2664,2896,2836,2548,2830,3215,3095,3020,3150,3835,4090,3801,3682,3582,3376,3353,3553,3790,3637,3162,3275,2692,2216,2461,2570,2937,2755,2617,2260,2259,2535,2099,1727,1950,2248,2396,2304,2342,2778,2621,2458,2954,2481,1999,1942,1968,2144,2367,2783,2731,2431,2375,2688,2796,2915,2012,2213,3508,4100,3950,3782,3506,3312,3202,3142,3350,3265,3007,3008,2809,2394,2186,2090,2302,2662,2743,3024,2961,3086,3282,3428,3840,4284,4428,3718,3128,2824,2654,2750,2908,3373,3652,3649,3747,2316,1383,1560,1603,1669,1683,2330,3452,3117,2417,2005,2125,3108,3398,3316,3155,3542,3827,4097,4259,4340,4453,3820,2664,2382,2247,2542,2882,2466,2276,1887,2037,2601,2544,2791,2735,2597,2045,1643,2077,2551,2700,2756,2343,2600,3271,3522,2753,2295,2025,1926,2381,2940,3206,3265,3378,3377,3056,2677,2022,1842,1672,1824,1928,2074,2168,1965,2001,2066,2877,2886,2952,3310,3156,2873,2893,2808,2498,2062,1825,1782,1559,1560,2007,2163,2377,2052,1699,2300,2708,2634,2220,2117,2776,2766,1894,1717,1601,1696,2256,2476,2796,2561,1946,1830,1887,1744,1998,2260,1970,1647,1432,1637,2199,2969,2684,2166,2754,2486,2271,2855,2813,2272,2491,2491,2198,2378,2097,2156,1757,1580,1753,1914,2010,1814,1517,1788,2442,2182,1787,1855,1542,1744,1765,1779,1948,1923,1699,1478,1895,1965,1642,1801,1813,1740,1627,1531,1295,1598,1621,1538,1778,1958,1961,1976,2045,2330,2631,2517,2543,2387,2082,1901,1782,1976,2204,2448,2336,2315,1836,1406,1928,2504,2568,2102,2340,2552,2938,2938,2442,1787,2075,2187,1971,2018,2020,2360,2270,2094,2494,2208,1721,2181,1909,1898,2285,2569,3077,2830,2013,1562,1680,2119,2065,2457,2734,2088,2453,2153,2278,1915,1408,1628,1542,1435,1368,1834,2281,2098,1697,1695,1504,1377,1636,1638,1486,1753,2043,1954,2284,2591,2787,2388,1677,1565,1598,1792,1698,1518,1430,1698,1930,1588,1723,1896,2364,2861,2680,2060,2259,2288,1819,2132,2853,2832,2059,1517,1119,1377,1925,2226,2194,2061,1569,1880,2563,2724,2032,1699,2214,2302,2508,2670,2407,2091,2070,1628,1857,1818,2129,1953,1447,1570,1673,1652,1898,2102,1946,2048,2069,2347,2518,2584,2356,2534,2269,2275,2626,1880,2521,3319,2120,1740,1656,1553,1461,1481,1625,1732,1844,1756,1450,1445,1692,2229,2780,2254,2004,2497,3404,3553,3507,2874,2128,2011,1557,1786,2802,3684,3286,2903,2745,2663,2733,2911,2692,2567,2474,2388,2854,3088,2412,2002,1818,1723,1700,2056,1874,1900,2098,1909,1819,1856,1582,1535,1554,1630,1752,1941,2517,2176,1632,1730,2026,2169,1949,1640,1717,1643,1878,1710,2040,3000,2832,2136,2366,2317,1649,1538,1674,1628,1395,1900,2702,2479,2242,2070,1932,2278,2654,2518,2631,2402,2189,2532,2480,1920,1446,1420,1583,2020,1904,1762,1776,1606,1554,2120,2266,2114,1618,1710,1923,1772,1677,1654,1802,1544,1810,1883,1807,1844,1535,1349,1366,1651,2069,2229,2523,2564,2123,1733,1577,1538,1847,2079,1799,1428,1376,1600,1966,1562,1540,1598,1650,1526,1534,1478,1477,1960,2217,1882,1856,1715,1874,2265,1600,1445,1300,1211,1491,1426,1311,1418,1442,2036,2746,2940,2911,3265,2993,2247,1925,2758,3066,2840,3055,2951,2307,2062,2256,2365,1628,937,1562,2387,1995,1838,1998,2096,2574,1951,1328,1469,1465,1610,1676,1690,1611,1477,1588,1636,1865,1841,1900,2002,2230,2286,2023,1798,1650,1434,1427,1570,1479,1850,1805,1600,1695,2042,2315,2530,2427,2406,2570,1998,1961,1538,1484,1824,1886,1784,1535,1693,2194,2193,1823,1519,1813,2043,1791,1499,1493,1514,1992,2812,3161,3150,2965,3018,3492,3625,3355,3307,3109,2739,2645,2696,2216,1674,2188,2853,2531,2357,2162,1647,1612,1971,2900,3300,3971,3276,2457,2265,2584,2764,2402,2002,1807,2255,2066,2021,2249,2156,2495,3083,3232,3098,3151,3462,3296,3021,2818,2530,2233,2302,3042,2789,2833,2764,2717,2583,2685,2376,2376,1976,1954,2351,3098,3288,2327,2029,2190,2622,3039,2906,3138,3030,2930,3078,3218,3096,2421,2160,2353,2803,2941,3846,3286,3073,3155,3141,2953,2282,1874,1903,2048,2026,1910,2372,2498,2319,2532,2878,2725,1976,2322,2934,3057,2706,2498,2653,2181,1928,2325,2474,2105,1874,2243,1808,1960,2149,1876,2562,2921,2629,2956,3269,3217,2699,2499,1930,2640,2563,2133,2170,2042,2410,2808,2591,2991,2620,1849,2648,2584,2228,2868,3430,3499,3680,3703,3353,3181,3124,3044,3184,2946,2700,2822,2414,2218,3068,3146,2732,2614,2175,1863,1583,2072,2122,1989,2390,2614,1534,1428,1682,1827,1788,1422,1602,1750,1743,1729,1806,1828,2051,1950,1744,1713,1762,1787,1761,1712,1495,1628,1972,1990,2486,2205,1976,2220,1678,1666,1708,1599,1441,1352,1526,1550,1598,1782,1711,1673,1538,1346,1413,1531,1726,1734,1638,2425,3034,2642,1980,1657,1384,1426,1756,1951,1404,1434,1760,1914,1774,1793,1884,1722,1596,1636,1804,1802,1560,1626,1720,1861,2098,2164,2071,1792,1785,1979,1910,1521,1605,1880,2008,1700,1564,1568,1649,1925,2050,2815,3012,2275,1758,1913,1936,1974,1896,1738,1659,1800,1881,1917,1857,1626,1670,1908,2193,2595,2452,2033,1206,777,681,1174,1831,2135,1666,1600,1636,1396,1658,2718,3499,2722,1957,1878,1617,2077,2030,1827,2048,2120,2042,2086,1910,1732,1914,1880,1803,1697,1907,2048,2110,2392,2341,2020,1886,1539,1214,1441,1837,1666,2181,2811,2791,1728,1686,1718,1631,1857,2309,2332,2062,1997,2219,1730,1266,1418,1556,1293,1254,1496,1616,1754,1825,1732,1559,1260,1182,1131,1237,1488,1745,2005,2353,2332,1853,2165,2475,1879,1678,1837,1764,1686,1421,1535,1508,1562,1732,1800,1955,1801,1555,1522,1600,1660,1576,1681,1724,1703,1528,1573,1252,1359,1562,1402,1308,1265,1304,1347,1378,1419,1635,1590,1665,1514,1606,1720,1884,2140,1933,2186,2198,1711,1792,1554,1442,1635,2195,1990,1454,1354,1424,1454,1559,1681,1930,1924,2402,2536,2414,2758,3010,1841,1725,2757,4009,3909,3219,2512,1943,2193,2496,2303,2182,2527,2537,1816,1542,1412,1495,1418,1461,1907,2303,2684,2720,2620,2026,2025,2088,1376,1962,2079,2160,2633,2461,1896,1634,1713,1967,2570,3115,3850,3873,4094,4196,4231,4279,3526,3334,3090,2886,2753,2236,2379,3108,3342,2922,2490,2786,3799,4007,3340,2724,2608,3021,3222,3304,3548,3610,3724,3642,3839,3759,3713,3682,3363,3137,3211,3406,3554,3370,3109,3167,3343,2895,2971,3598,2646,2144,1947,2176,3298,4203,4099,3274,2242,2309,2941,3241,2834,3310,3139,2991,3241,3476,3087,2567,2660,3255,3704,3674,3704,3625,3541,3404,3252,2988,2593,2294,2178,1926,1547,1914,2062,1712,1843,1732,2039,2624,3217,2732,1729,1390,1422,1467,1582,1626,1685,1899,1504,1322,1245,1158,1266,1776,1921,1558,1731,2082,1508,1590,1812,1485,1198,1295,1604,1482,1454,1687,1499,1246,1231,1225,1282,1460,1172,1170,1143,1282,1355,1250,1440,1576,1382,1294,1352,1326,1352,1326,1282,1292,1268,1650,1793,2010,1733,1522,1531,1504,1657,1554,1495,1636,1598,2004,2102,1689,1526,1704,1681,1516,1265,1124,1259,1934,2348,2028,2249,2163,1959,1969,2052,2392,1859,1444,1541,1746,1995,2298,2699,2840,2443,2015,1552,1836,2005,1848,2055,1971,1873,1904,2618,3024,2585,2757,2229,1999,1949,1721,2181,2376,2438,2810,2831,2454,1951,1936,1744,1826,1974,2448,2642,2720,2059,2174,1932,1918,1875,1527,1456,1440,1489,1615,1482,1480,1540,1494,1942,1980,2300,2185,1829,1827,2215,2482,2078,2078,1980,2134,2287,2004,1589,1621,1717,2192,2532,2257,1879,1561,1325,1463,1599,2295,2386,2622,2475,1928,1921,1925,1953,1990,2626,2522,1741,1582,1411,1311,1312,1520,1547,1820,1859,1526,1975,2553,1881,1632,1982,1837,1703,2006,1996,1703,1782,1890,2072,2019,1719,1956,2262,2014,1901,1623,1543,1546,1389,1284,1457,1666,1723,1583,1893,2457,2056,2081,2426,2348,2104,1958,1872,1962,1996,2009,1950,1877,1820,1813,1801,1823,1911,2094,2304,2678,2707,2393,1968,1879,1753,1730,1795,1816,2008,1849,1670,1502,1626,1792,2259,1716,1513,1583,1453,1801,2092,1942,1730,1548,1440,1624,1436,1474,1599,1689,1716,1726,1574,1600,1692,1976,2258,2004,1565,1443,1471,1440,1568,1782,1740,1491,1350,1254,1234,1509,1603,1536,1465,1446,1473,1407,1488,1544,1572,1514,1643,1559,1591,1670,1642,1792,1611,1356,1363,1526,1822,1644,1840,1744,1510,1613,1869,2041,2047,1856,1841,1820,1780,2076,1997,1802,1843,1818,1567,1555,1492,1535,1634,1618,1630,1962,2105,2358,2033,1630,1450,1511,1647,2274,2445,1705,1704,1761,1571,1599,1486,1257,887,1368,1916,1859,1656,1594,1505,1310,1326,1584,1591,1718,2155,1920,1512,1546,1550,1587,1633,2208,2886,2792,2336,2110,2285,2768,3167,2996,2812,2543,1780,1625,2195,2377,2348,2237,2041,1764,1556,1376,1336,1129,1128,1438,1553,1870,1910,1825,2263,2640,2644,2143,2275,2832,2588,2210,1986,1797,1604,1497,1448,1574,1611,1892,2161,1844,1576,1713,1770,1803,2061,1924,1810,1698,1651,1730,1674,1621,1672,1627,1714,2194,2272,1886,1953,2114,2016,1896,1923,2137,2423,2868,3017,3182,2950,2092,2048,1840,1810,1746,1757,1942,2000,1920,1800,1735,1991,2230,2076,1726,1756,2225,2337,3076,3422,2633,1735,1443,1500,1472,1511,1724,1804,1619,1769,1670],[2705,3162,3270,2319,2470,2298,2102,2153,1953,1899,1578,1834,2409,2707,2631,2610,2863,3007,3433,3540,3494,3286,3029,2957,3164,3239,3088,3130,3152,2664,2371,3754,3986,3882,3608,3364,2467,2466,2308,2368,2783,2562,2488,3072,3099,3284,3514,3228,3076,3398,3795,4357,4436,3991,3720,3914,3898,3717,3641,3204,2776,2591,2994,2525,1782,2257,2879,2767,2208,2158,2110,2186,2278,2054,1974,2543,2295,2259,2369,2420,2831,2811,2447,2332,2093,2009,2072,1877,2282,2662,2586,2644,2220,1884,2249,2548,2373,1812,2422,3593,4263,4204,4059,3884,3711,3266,2996,3188,3320,3163,3159,2878,2235,1773,1794,1825,1769,2140,3251,3509,3137,2673,2731,3171,3623,3470,3027,2885,2966,3146,3278,3219,3297,3347,3331,3462,2207,1402,1857,2004,1876,1786,2474,3318,2642,2227,1966,2805,3005,3256,3385,3385,3708,3968,4065,4049,4076,3995,3173,2428,2358,2596,3253,3675,3322,2857,2493,3063,2796,1884,1925,2298,2565,2083,1848,2242,2610,2771,2725,2566,2519,3089,3061,2520,2569,2799,2924,3281,2976,2998,2937,3294,3334,2751,2191,1896,1836,1560,1711,2070,2453,2088,1671,1924,2210,2600,2303,2587,2928,2701,2719,2808,2866,2984,2957,2835,2422,1943,1843,1884,2318,2519,2398,2110,2634,2964,3038,3130,2959,3155,2955,1934,1790,1553,1518,1706,1870,2316,2148,1649,1662,1901,1785,1933,2166,2345,2064,1794,1825,1970,2605,2720,2096,2091,2049,1787,2031,2039,2127,2339,2454,2382,2359,1762,2227,2137,1613,1751,2179,2308,2106,1756,2150,2622,1941,1580,1677,1644,1781,1593,1547,1837,1918,1380,1333,2072,2522,2027,1760,1875,1683,1289,1273,1360,1542,1488,1795,2391,2545,2419,2129,1859,1911,2205,2368,2355,2159,2353,2237,1955,2031,2027,1824,2072,2624,2612,2499,2698,2732,2401,2477,2699,3035,3091,3423,3020,2025,2259,2250,1799,1859,1553,1608,1958,2564,2877,2397,2034,2098,1620,1649,1844,1829,2722,2532,1686,1616,1848,2333,2257,2040,2245,2014,1830,1873,2016,1739,1769,1804,1506,1513,1463,1715,2023,1945,1841,1716,1382,1377,1477,1398,1332,1549,1714,1559,1757,1895,2181,1794,1537,1535,1649,1548,1363,1521,1975,2024,2170,1653,1483,1631,2603,2888,2391,2255,2081,1670,1698,2254,2666,2209,1472,1367,1353,1390,2480,2898,2570,2326,1843,2127,2863,2817,2127,1687,1962,2203,2262,2708,2397,2211,2235,2292,2214,1866,2029,1953,1763,1709,1809,1890,1824,2055,2370,2312,2023,2370,2898,2906,2639,2701,2554,2658,2275,1620,1873,2259,1948,1781,2000,1907,1541,1476,1748,1784,1760,1704,1582,1502,1713,2327,2624,2336,2412,3018,3597,3560,3494,3123,1998,1896,1803,2302,2075,2810,2690,2379,2243,2104,2131,2099,2029,1871,2192,2645,2750,2665,2227,2081,1823,1602,1716,1933,2035,2043,1808,1484,1416,1671,1598,1562,1450,1454,1568,1829,1873,1743,1707,2184,2446,1926,1774,1471,1501,1831,2210,1771,1759,2243,2333,2093,2570,2364,1654,1561,1786,1591,1527,2020,2231,1805,1677,1813,1769,2104,2259,2178,2275,2223,2141,2245,2122,1802,1469,1495,1496,1541,1515,1489,1672,1721,1950,2083,1848,2706,2187,1731,1722,1705,1571,1628,1792,1508,1600,1749,1841,1955,1698,1534,1504,1610,1697,1999,2568,2148,1848,1797,1525,1563,2174,2719,2258,1389,1494,1763,1865,1540,1499,1539,1470,1367,1259,1264,1340,1586,1709,1415,1728,1795,1696,1610,1258,1461,1802,1869,2009,2041,2244,1632,1604,2756,3124,3184,3206,3274,3259,2471,2115,2539,3099,3415,3465,3075,2180,1910,2002,2063,1056,1293,2122,2277,1884,1758,1892,2307,2531,1660,1311,1441,1415,1505,1541,1575,1578,1512,1520,1910,2107,1969,2023,2033,2083,2159,1973,1811,1787,1677,1555,1670,1703,1657,1471,1341,1835,2464,2424,2480,2170,2078,2094,1923,1775,1425,1168,1626,2083,1995,2274,3122,2380,1778,1964,1584,1884,2033,1886,1796,1703,1534,1887,2684,3161,3155,2911,3296,3588,3275,2801,2560,2335,2324,2435,2388,1725,1613,2387,2777,2554,2067,2059,2073,2767,2757,2447,1931,2835,2531,2452,2283,2370,2178,1755,1691,1568,1519,1494,1946,2259,2590,2531,3042,3186,3177,3175,3111,3135,3112,2688,2176,2656,2710,3120,3127,3142,3133,3250,3178,2875,2547,2173,1942,1753,2237,3814,3816,3275,2404,2483,2499,2278,2323,3039,3115,2877,2921,3243,2864,1871,2376,2329,2624,2696,2933,2291,2623,3255,2994,2401,2342,2216,2165,1982,1749,1862,2047,2075,2276,2220,2430,2141,1584,2139,3038,3285,2547,2038,2071,1961,2383,2821,2013,1358,1438,1863,1709,1905,2139,2413,2796,2102,2213,2595,2727,3301,3073,2718,2439,2755,3068,2403,2129,1852,2350,2493,2207,2707,2646,2210,2540,2090,2546,3130,2743,3044,3669,3716,3625,3310,3205,3228,3041,3021,3190,2858,2497,2789,3254,2689,2347,2536,1932,1496,1905,2623,2336,2345,3003,3009,2109,1940,2338,2610,2469,2309,2892,2521,2369,1774,1335,1687,1927,2024,1982,1791,1828,1821,1843,1656,1740,1992,1976,2272,2776,1860,1846,1773,1520,1659,1710,1699,1381,1433,1663,1568,1399,1471,1862,2111,1726,1432,1624,1550,1513,1595,2084,3013,3410,2912,1958,1904,1701,1806,1918,2092,1489,1263,1798,2047,1949,1757,1534,1563,1700,1888,2106,2100,2065,2286,2270,2075,2460,2394,1953,1894,2165,2737,2498,1644,1820,1880,1794,1560,1593,1749,1816,1506,1964,3078,3078,2258,1456,1708,2308,2420,2050,1901,2084,2505,2141,1963,2130,1815,1562,1522,1762,1951,1778,1585,1209,1220,1006,1277,1903,1871,1410,1631,1661,1578,2087,3134,3430,2712,2071,2057,2311,2336,2093,2100,2021,1625,1697,1793,1587,1641,1746,1774,1667,1687,2003,1687,1707,1975,1931,1917,1917,1550,1393,2049,2381,1736,1830,2088,2320,2179,1986,1933,1703,1876,2452,2247,2227,2025,2132,1671,1333,1320,1410,1315,1329,1519,1692,2103,2095,1698,1706,1642,1474,1334,1306,1392,1589,2078,2205,1883,1930,2554,2557,2061,2329,2130,1833,1625,1549,1540,1708,1702,1620,1831,2071,1851,1465,1318,1513,1781,1754,1750,1898,1619,1427,1640,1506,1804,1881,1425,1205,1239,1293,1277,1282,1396,1880,2093,1902,1553,1702,1626,1678,1728,1589,1916,1700,1390,1571,1561,1730,1615,1759,1717,1532,1522,1560,1556,1482,1804,2213,1718,1912,2155,2255,2828,2919,2208,2353,3206,3885,3541,2869,2555,2127,2393,2657,2322,2413,2632,2598,2800,2104,1456,1477,1203,1364,1926,2258,2757,2684,2370,1403,1797,1549,1795,2823,2504,2356,2474,2198,1899,1797,2540,2646,2468,2730,3278,3439,4031,3892,3516,3513,3362,3155,2732,2447,2436,2407,2845,2696,2382,1901,1944,2575,3245,3423,3311,3331,3088,3025,3163,3465,3752,3715,3608,3550,3504,3652,3796,3659,2931,2634,3351,4030,4300,4271,3521,3219,2646,2172,2030,2372,2452,2931,2684,2105,2565,3627,3473,2896,2566,2586,2436,2946,3316,3444,3133,3020,3119,3388,3441,2941,2357,2827,3360,3462,3289,3097,2849,2623,2573,2555,2698,2532,2025,1979,1831,2300,1736,1952,2231,2254,2215,2463,2625,2070,1614,1414,1390,1388,1180,1266,1289,1281,1394,1278,1233,1184,1271,1460,1328,1121,1911,2462,1663,1759,1778,1498,1401,1426,1759,1689,1723,1943,1903,1554,1246,1204,1203,1282,1184,1121,1029,1172,1228,1412,1721,1665,1433,1415,1555,1438,1444,1405,1352,1359,1528,1769,1914,2040,1719,1491,1504,1440,1365,1539,1582,1503,1618,2856,3500,3007,2496,2410,2483,2316,2351,2465,1752,2002,2211,2120,2227,2492,2406,2476,2479,2282,1686,1467,1581,1706,2104,2700,2653,2571,2609,2342,1848,1875,2066,2021,2032,2266,2103,1963,2533,2698,2658,2446,1942,1961,1808,1714,1863,2322,2655,2477,2609,2375,1929,2155,1639,1486,1520,2071,2290,2406,2648,2502,2011,1849,1991,1825,1700,1689,1565,1417,1374,1606,1716,1557,1768,2006,2100,2042,1998,2007,2809,2687,1970,1897,1583,1762,2081,1678,1418,1631,1839,2440,2458,2105,1955,1717,1952,2024,1770,2317,2457,2366,2426,2385,2286,2344,2152,1923,2350,2238,1596,1487,1411,1275,1212,1503,1638,1720,1651,1531,2108,2221,1496,1535,1625,1744,1742,1664,1553,1433,1743,2097,2217,2363,2106,2598,2331,1898,2034,1806,1762,1621,1422,1420,1448,1509,1810,1831,2061,2601,2126,2011,2030,1921,1887,1909,1748,1687,1666,1659,1674,1619,1536,1609,1569,1703,1723,1663,1796,1963,2007,1877,1774,1862,2070,2314,2229,2050,2020,2039,1851,1779,1846,1864,1919,1576,1290,1327,1462,1591,1662,1708,2018,1709,1475,1756,1690,1624,1842,1675,1478,1736,2077,1991,1439,1641,1660,1702,1620,1788,1672,1357,1540,1630,1583,1450,1357,1045,823,1311,1484,1437,1408,1449,1485,1549,1495,1634,1861,1728,1568,1495,1420,1438,1510,1780,1661,1523,1532,1729,2226,2374,2321,2104,1917,1721,1760,1849,1896,1611,1537,1675,2053,2137,1823,1688,1841,1642,1683,1623,1553,1744,2111,2219,1736,1669,1748,2392,1924,1430,1383,1615,1783,2469,2788,1937,1829,1679,1711,1913,1702,1166,952,1554,1824,1737,1698,1559,1432,1367,1392,1661,1397,1387,1699,1766,1558,1425,1428,1511,1466,1821,2536,2622,2102,2257,2374,2778,3044,2999,3056,2798,1876,1764,2116,2175,1991,1772,1798,1734,1520,1473,1438,1353,1367,1440,1512,1533,1533,1805,2039,2299,2536,1928,2329,2958,2299,1526,1338,1427,1463,1383,1481,1736,1830,1655,1779,1952,2031,2037,1958,1960,1881,1714,1624,1613,1630,1664,1698,1717,1516,1436,1483,1823,2123,1936,2318,2561,2381,2381,2751,2858,2206,2157,2678,3032,2889,2663,2208,1769,1530,1430,1565,1619,1516,1531,1609,2038,2582,2030,1680,1688,1786,1865,2033,2781,3101,2332,1620,1464,1337,1424,1765,2264,2045,1943,2317,1992],[1747,2383,3134,2575,2474,2211,2313,2172,1975,2080,2382,2046,1855,2591,3582,3470,2912,3194,3882,3942,3487,3259,3054,2743,2599,2567,2578,2475,2600,2644,2719,3118,2977,2458,2635,3040,3051,3222,2730,2330,2854,2519,2989,3253,3543,3595,3562,3211,2863,3434,4112,4264,3985,3700,3750,3913,3639,3902,3746,2495,2245,2466,2543,2186,1892,2465,2860,2457,2063,2688,2758,2152,2331,2382,2563,2906,2717,2797,2467,2345,2708,2473,2119,2095,1812,1813,2030,1786,2084,1922,2108,2255,1937,1814,1976,2261,2465,2646,3219,3352,4059,4035,3957,3971,3760,3038,2730,2895,3197,3473,3608,3451,2623,1685,1708,1751,1776,1918,2686,3162,2937,2802,2877,3142,3548,3365,3397,3397,3623,3442,3200,3016,3107,3444,3598,3475,2370,1845,2230,2040,1889,1598,2098,2511,2440,2802,2898,3101,3212,3444,3383,3293,3613,4056,3989,4005,3832,2874,2311,2474,2340,2172,2909,3643,3328,2854,2808,2951,2822,2438,2321,1949,1858,2036,2135,2058,2556,2724,2397,2360,2345,2445,2294,2175,2339,3198,3399,3149,2898,3270,3341,3283,2865,2615,2238,1897,1960,1679,1741,1848,1795,1802,1630,1791,2024,2157,1809,1969,2002,2275,2922,2805,3087,3716,3904,3918,3693,2873,2212,2030,2143,2214,2874,2902,2298,2168,2210,2596,2634,2940,2815,1702,1732,1825,1892,1827,2088,2282,1902,1616,1570,1721,1436,1726,2316,2644,2056,1825,1945,2337,3096,2699,1794,1780,1734,1682,1808,1750,2058,2174,2500,2829,3001,2138,1656,1625,1549,1584,1687,2015,2246,2243,2258,2401,1856,1353,1508,1845,1756,1505,1414,1602,1750,1520,1534,1730,2035,1762,1604,1560,1220,1147,1265,1389,1621,1620,2001,2988,3370,2832,2780,2410,1904,1924,2002,1852,2160,2380,1893,1600,1721,1776,1867,2059,2286,2519,2296,2556,2896,2740,2707,2433,2464,2978,3328,2494,1894,2284,2183,1677,1845,1607,1706,2670,3283,2624,2073,2301,2038,1495,1741,1836,1353,1826,1778,1566,1886,2520,2556,1841,1944,2238,1986,1766,1380,1236,1328,1678,1576,1401,1403,1446,1718,2077,1769,1667,1632,1431,1403,1205,1214,1280,1521,1376,1335,1426,1449,1517,1699,1782,1747,1809,1602,1767,1930,2434,2254,1889,1575,1643,2264,3212,3000,2510,2456,2152,1649,1707,2692,2464,2001,1866,1714,1890,2481,3099,2927,2510,2143,1928,2165,2171,2060,1888,1830,1890,2249,2450,2589,1983,1769,2227,2597,2142,1844,1913,2042,2011,1957,1852,2020,2433,2474,2176,1970,2120,2384,2471,2490,2083,2080,2299,2256,1714,1520,1584,1742,1724,1820,1949,1911,1650,1464,1483,1430,1704,1900,1452,1215,1427,1374,1712,2544,3282,3487,3547,3425,3105,3141,2269,1808,1763,2177,2042,2280,2671,2732,2740,2996,2920,2197,2117,1930,2498,2552,2357,2505,2026,2022,2017,1808,1836,1854,1782,1614,1446,1553,1581,1777,1695,1470,1418,1466,1449,1501,1677,1700,1448,2077,2759,1882,1597,1357,1306,1651,1788,1735,1639,2211,2565,2448,2375,1776,1575,1982,2778,2198,1643,1682,1661,1584,1429,1716,2066,2178,2067,1753,1880,2205,2145,2071,1930,1745,1696,1648,1528,1576,1494,1497,1737,2010,2144,2142,1659,2613,2353,1978,1890,1898,1771,1842,1987,1612,1369,1756,1949,1868,1374,1208,1387,1511,1345,1326,1408,1448,2920,4099,2442,1427,1883,2402,1896,1780,2136,1810,1563,1656,1792,1628,1398,1392,1331,1363,1596,1394,1202,1577,1806,1736,1758,1848,1384,1517,1866,1816,1895,2242,2825,1885,2137,3111,3233,3393,3742,3941,3682,2857,2093,2380,3066,3168,3271,3218,2583,2081,1960,1471,970,1729,2442,2220,1822,1741,1843,2242,2286,1621,1404,1560,1611,1668,1709,1723,1758,1817,1876,2142,2189,2020,2126,2153,2104,2059,1984,1882,1917,1626,1431,1433,1561,1903,2162,2656,3587,3072,1758,1906,1904,1668,1666,1964,1872,1412,1219,1433,1941,2484,2761,3316,2322,1770,1996,1755,1660,1927,1869,1855,1781,1982,2803,3212,3308,2862,2533,3019,2411,2058,2247,2401,2358,2541,2533,2429,2341,2012,2195,3206,3209,2059,2150,2479,3089,3195,2221,1935,2451,2425,2221,2253,2051,1847,1770,1873,1628,1558,1510,1865,2591,2805,2312,2372,2669,2744,2598,2496,3071,3177,2827,2902,3035,2834,3006,3032,3010,3075,3146,3151,3173,2984,3075,2885,2219,2675,3662,3508,3256,2965,3050,3027,2952,3185,3271,3212,3389,3030,2909,2386,2052,2910,2594,2484,2511,3243,3736,3661,3565,2810,2728,3340,3440,3532,3212,2518,2657,2194,1620,1800,2105,2242,2067,1895,2542,2963,2728,2763,2424,2701,2762,2798,2785,2056,1672,2066,1952,2112,2404,2326,2668,2531,2432,3018,2586,1915,2131,2545,2879,2269,2038,3282,2644,1992,1969,2796,2796,2686,3066,2684,2524,2509,1941,2157,2293,2316,2687,2851,2992,3160,3504,3602,2879,2402,2883,2525,2232,2511,2664,3116,2810,2614,3028,2344,1950,2436,3209,3155,2956,3464,3486,2814,2675,2932,3182,3291,2945,3161,2867,3030,2007,1900,2092,1692,1995,1858,1642,1617,1787,1751,1709,1694,1809,1875,2074,1996,1908,1932,1713,1846,1897,1772,1627,1419,1577,1454,1331,1570,1691,1865,1967,1801,2322,2330,1876,2031,2142,2563,3365,3133,2281,1733,1925,1874,1860,1508,1708,1704,1588,1805,1766,1681,1496,1482,1758,1674,1811,2250,2200,2407,2602,2303,2279,2324,2020,1824,1890,2013,2324,1911,2476,2418,1941,1748,1329,1179,1816,2113,1781,2203,3115,3227,2385,2116,1945,1919,1929,2189,2154,2077,2217,2127,2127,2299,1944,1787,1539,1806,1809,1621,1221,937,1058,1142,1357,1656,1630,1802,2318,2110,2075,2269,2998,2787,2856,3222,2565,1781,1849,1854,2026,2063,1615,1759,1696,1718,1854,1765,1688,1611,1998,2184,1870,2041,2076,1799,1690,1676,1712,1782,2086,2224,2023,2167,2633,3262,3364,3185,3552,3264,2890,3000,2567,2503,2331,2077,1690,1439,1380,1528,1548,1580,1587,1733,2553,2373,1487,1475,1673,1704,1626,1548,1469,1758,2095,1952,1929,2166,2383,2240,2248,2688,2178,1836,1845,1788,1752,1823,1697,1555,1630,1886,2024,1685,1446,1728,1897,1775,1802,2104,1719,1576,1514,1390,1620,1657,1373,1329,1245,1268,1321,1278,1534,2232,3061,2735,1755,1612,1784,1694,1858,1965,1904,1312,1538,1499,1395,1667,1687,1437,1437,1516,1515,1469,1572,1674,1893,2032,1620,1664,2304,2524,2487,2372,2330,2521,2557,2790,2902,2334,2131,2540,2755,2868,2258,2544,2969,2889,3039,2270,1358,1381,1250,1558,2060,2620,2913,2492,1736,1443,1708,1380,2081,3082,3041,2508,2563,2400,2032,2710,3627,3459,2473,2084,2280,2785,3499,3210,3080,3031,2644,2531,2458,2353,3109,3217,2665,2338,2439,1958,1813,1991,2415,2512,2647,3584,3891,3754,3840,3906,3750,3650,3498,3392,3421,3454,3362,3305,2621,2742,3621,4188,4057,3870,3233,3376,2797,2210,2099,2240,3005,3567,3195,2592,2254,3124,3384,3586,3260,2972,2817,3159,3461,3496,3305,3122,2856,2972,3099,2854,2314,2521,2925,3030,2806,2545,2458,2690,3062,3372,3584,3564,3030,2754,2271,2231,1764,1968,2426,2512,1982,1766,1593,1344,1416,1357,1414,1660,1616,1884,1570,1354,1394,1303,1272,1208,1171,1322,1419,1101,1562,1952,1750,1613,1641,1552,1305,1426,1742,1814,1902,1818,1605,1370,1339,1330,1344,1258,1291,1142,1042,1134,1087,1463,1834,1682,1663,1763,1767,1597,1533,1490,1392,1404,1582,1604,1708,1911,1782,1453,1478,1571,1761,2553,1841,1530,1688,2570,3570,3912,3143,2655,2511,2266,3115,3677,1924,1766,2048,2234,2060,2250,2677,2452,2141,1867,1467,1466,1662,1734,2586,2961,2412,1918,2089,1962,1471,1726,2215,1930,2078,2963,2577,2264,2124,2101,2132,2084,1698,1558,1649,1542,1864,2548,2518,1887,2106,2194,1910,1991,1553,1408,1562,2041,2159,2348,2500,2513,1989,1481,1996,2283,2058,1875,1631,1546,1561,1804,2007,2005,2065,2031,1959,1872,2056,1696,2475,2348,2048,1827,1577,1687,2205,2207,1798,1691,1723,2028,1676,1782,1858,1895,1841,1871,2048,1987,1763,1831,2209,2603,2354,2065,2037,2241,2298,1829,1215,1466,1597,1432,1634,1803,1604,1635,1733,1643,1831,1644,1430,1448,1452,2046,2811,2548,1792,1482,1882,1836,1690,1966,1852,2128,1735,1605,1864,1794,1769,1888,1952,1946,1823,1769,1764,1691,1902,2038,1810,1709,1749,1757,1572,1455,1542,1532,1472,1662,1562,1359,1134,1482,1636,1726,1803,1666,1435,1483,1692,1712,1682,1670,1768,1778,1837,1793,1816,1973,1699,1752,1971,2023,1964,1856,1593,1391,1480,1646,1515,1492,1760,1358,1266,1518,1521,1560,1887,1852,1704,2041,2482,2136,1388,1325,1346,1491,1533,1770,1710,1510,1520,1487,1406,1306,1500,1329,1012,1300,1556,1383,1472,1527,1657,1641,1529,1708,1826,1604,1677,1598,1471,1569,1659,1655,1606,1487,1585,1736,1730,1745,1857,2357,2632,2238,2033,2387,2724,1962,1711,1802,1802,1748,1814,2150,1967,1777,2150,1962,1697,1916,1996,2016,1724,1681,1871,2015,1621,1532,1592,1654,1715,1961,2332,2131,1710,1570,1497,1664,1512,1167,1194,1580,1760,1725,1737,1610,1501,1518,1773,1865,1560,1379,1447,1510,1609,1693,1584,1562,1584,1694,2452,2921,2469,2791,2517,2609,2880,3122,3329,2742,1999,2229,2273,2411,2430,2164,2040,1744,1397,1536,1551,1482,1447,1416,1578,1744,1576,1431,1708,1882,2186,1919,2096,2809,2422,1708,1565,1691,1642,1556,1709,1926,1911,1935,2024,1857,1781,1704,1618,1596,1661,1729,1772,1768,1664,1618,1499,1434,1248,1437,1632,1800,2203,2547,2949,3118,3392,3325,3048,3142,2363,1962,2186,2542,2592,2583,2127,1696,1784,1993,1897,1538,1453,1432,1510,1831,2032,1712,1709,1700,1782,1918,1962,2150,1921,1693,1592,1545,1354,1376,1875,2414,2089,2163,2579,2736],[2114,1949,2065,2297,2183,2074,2307,2698,2447,2231,2248,2039,2098,2728,3501,3062,2673,2941,3128,2995,2832,2611,2512,2343,2510,2977,2850,2600,3164,3219,2964,3037,2651,2040,2918,3858,3642,3732,3116,2262,3085,2297,3091,3349,3070,3012,3188,3063,3064,3421,3844,4002,3794,3852,4049,3717,3497,3873,3236,2613,2824,2259,1869,1802,2019,2004,1879,2375,2397,2655,2522,2425,2760,2640,2809,2354,2052,2364,2504,2542,2603,2192,1812,1824,1740,1753,1843,1692,1801,2214,2383,2337,2384,2367,2390,2364,2941,3143,3761,3303,3853,4112,4046,4005,3837,3309,2872,2790,3128,3107,3244,3316,3034,1983,1689,1686,1782,1934,2044,2263,2431,2744,3261,3540,3855,3471,4028,4357,4316,4021,3084,2290,2701,3378,3891,3830,3066,2758,2529,1979,2049,1669,2107,2374,2596,3339,3536,3317,3492,3615,3532,3361,3843,4057,3851,3541,2971,2624,2016,2139,2290,1986,2063,2244,2531,2885,3096,2774,2119,2731,2542,1847,1693,2266,2586,2313,2484,2440,2241,2446,2364,1979,2062,1978,2051,2833,3272,3120,3157,3482,3210,2835,2487,2025,1837,1582,1747,2246,2089,1674,1642,1521,1605,1714,1937,2046,1713,1658,1952,2577,3331,2953,3111,3616,3716,3915,3373,2500,2338,2446,2234,2234,2857,2971,2320,1606,1515,1745,1698,1974,1872,1539,1924,2166,2432,2184,1880,2092,2090,1943,1865,1746,1621,2298,3003,2635,1793,1871,2082,2134,2197,1870,1873,1913,1652,1722,2016,2164,2108,2055,1825,2073,2714,2524,1912,1643,1611,1370,1334,1817,2182,2476,2135,2160,2114,1729,1810,1793,1545,1663,1887,2166,2547,2375,1856,1703,2051,2294,2235,1992,1614,1460,1614,1762,1795,1794,2465,2779,2891,2576,2522,2248,1905,1819,1904,1875,2009,2088,1794,1458,1737,2431,2648,2161,2176,2384,2416,2786,2783,2661,2478,2062,2141,2691,2142,1933,2340,2460,2246,1935,2054,1732,1806,2419,2576,2111,1868,1967,1731,1526,1337,1476,1350,1621,1639,1506,1772,2534,2509,1933,2025,2036,1925,2015,1434,1165,1276,1465,1439,1371,1364,1332,1538,1850,1882,1845,1642,1521,1411,1169,1586,1765,1632,1431,1397,1393,1434,1620,1821,1989,1650,1957,1671,1790,1867,2355,2422,1881,1547,2369,3340,3096,2212,1954,2261,2196,2194,2152,2852,2342,2220,2248,2017,1883,1979,1975,1910,1726,1524,1733,1902,1624,1745,1894,1758,1850,2147,2270,2189,1923,1732,2132,2465,2344,1854,1656,1664,1595,2105,2100,2042,2453,2320,1733,1660,2031,2116,1919,1866,1635,1670,1781,1792,1605,1613,1708,1780,2116,2246,1768,1817,1499,1502,1587,1562,1612,1562,1326,1525,1724,1691,1825,2671,3389,3515,3166,3295,3005,3007,2137,1624,1552,2034,2026,2146,2767,2973,2503,2857,3620,2612,2319,2182,2220,1889,2006,2293,1951,1931,2054,1923,1874,1731,1563,1463,1353,1485,1720,1830,1615,1438,1361,1368,1396,1363,1482,1561,1475,1830,2013,2050,1738,1604,1543,1764,1982,1775,1795,2356,2166,2093,2255,2174,1856,1975,3106,2512,1628,1616,2075,2238,2034,2134,2332,2468,2686,2597,2335,1962,1881,2206,1843,1761,2381,2186,1509,1620,1671,1564,1894,2349,2053,2087,2056,2145,2092,2337,2295,2027,1614,1616,1865,1838,1641,1815,1805,1460,1269,1543,1460,1288,1187,1213,1192,1618,3466,4078,2215,1539,1671,1947,1940,2003,1643,1371,1403,1723,2065,1716,1400,1644,1779,1819,2036,1552,1398,1660,1837,1674,1801,1951,1522,1504,1543,1435,1726,1794,1768,1817,2385,3105,3405,3868,4209,4132,3415,2330,1733,2045,2570,2552,2784,3218,3340,2837,2105,1079,986,2089,2588,2032,1800,1821,1821,2363,2518,1988,1669,1726,1734,1789,1863,1874,1901,2043,2294,2468,2308,2172,2112,2136,1882,1732,1656,1831,2008,1731,1431,1387,1438,1951,2552,2692,2337,1707,1698,1782,1776,1828,2293,2182,1740,1338,1049,1340,1786,2464,2658,2380,2154,1932,2093,1960,1845,1897,1623,1733,1941,2387,3553,3629,3319,2679,2298,3042,2734,2136,2165,2384,2502,2460,2104,2220,2544,2192,2119,3229,2830,2076,2191,2330,2800,2944,2260,2343,2835,2640,2026,1935,2031,1976,1863,1730,1570,1564,1523,1643,2017,2080,1680,1636,2301,2637,2369,2287,3008,3452,2900,2883,2740,2796,2846,2874,2917,2901,2887,2916,3092,3199,3304,3305,2835,3238,3173,3121,3263,3019,3125,3243,3261,3576,3343,3166,2474,1822,2126,2248,2128,2208,2330,2521,2899,3494,3996,4030,3418,3001,3728,3267,3429,3847,3665,3672,3146,2114,1636,1813,1859,2034,2004,2374,2492,2193,2463,2770,3012,3208,2564,2148,2392,1958,1816,2349,2115,2741,3239,2854,2362,2268,3129,3561,2831,2217,2396,2812,2598,2297,1722,2078,1927,2185,2337,2818,3012,2951,2656,2109,2397,2580,2027,2011,1880,2411,2693,3161,3107,2945,3072,2934,2236,2522,2891,2304,2492,2426,2661,2669,2406,2774,2775,2479,2632,2792,3384,3740,3641,3943,3694,3396,3550,3842,3842,3516,3430,3222,2956,2777,2018,2038,2184,1945,1829,1886,1940,1827,1921,1818,1526,1504,1649,1527,1376,1738,1841,1776,1793,1850,1915,1940,1840,1816,1836,1739,1547,1636,1640,1506,1331,1725,2602,2809,2644,2925,2956,2819,2940,2526,2095,2017,1996,2091,2171,1786,1804,2040,1853,1695,1780,1765,1667,1829,1906,1539,1709,2332,2579,2692,2421,2058,2080,1790,1613,1559,1601,1763,1741,1781,2596,2426,1760,1544,1228,1307,2104,2106,2087,2618,2629,2455,1994,2090,2019,2198,2237,2363,2377,2052,2034,2019,1769,1881,1908,1800,1702,2058,1919,1637,1179,837,788,758,949,1353,1460,1622,2278,2512,2081,1867,1995,1887,2276,2566,2200,2228,2419,1957,1862,1669,1594,2030,1837,2033,2355,2141,1909,1715,1851,1926,2044,2466,2675,2461,2234,2124,2136,2004,1857,1861,2301,2724,2554,2923,3617,3627,4020,4285,3943,3641,3168,2741,2336,1899,1688,1618,1504,1446,1497,1701,1678,1820,2670,3043,2189,1605,1423,1566,1678,1664,1620,1666,1719,1691,1825,1845,2071,2205,2047,2249,2125,1850,1722,1564,1651,1929,1714,1499,1382,1643,1954,1892,1820,1881,1678,1578,1559,1591,1653,1578,1356,1367,1425,1363,1210,1369,1330,1337,1389,1483,1543,1950,2701,2514,1685,1621,1553,1547,1743,1816,1610,1704,1936,1343,1209,1722,1746,1472,1300,1397,1535,1533,1649,1740,1854,1723,1585,1582,1891,2161,2085,2065,2548,2748,2076,1878,1982,1868,1587,2020,2624,2994,2329,2495,3135,2829,2858,2252,1264,1295,1433,1775,2337,2996,2652,2580,2088,1907,1691,1381,2177,2757,2997,2203,2037,2227,2106,3279,3706,2393,1482,1931,2386,2725,2695,2652,3372,3231,2362,2354,2452,2411,2862,2881,2242,2453,2404,2189,2075,1588,1766,1825,2456,3316,3929,3814,3753,3759,3671,3215,2970,3373,3482,3488,3433,3528,3217,2642,3309,4321,4102,3538,3604,3784,3158,2791,2717,2777,3012,3125,2862,2724,2845,3253,3216,3405,3472,3738,3915,3686,3473,3468,3120,3011,2595,2637,2740,2680,2333,2188,2271,2458,2712,2961,3188,3465,3650,3956,3881,3912,3342,2940,2290,2155,1907,1748,1774,1667,1585,1578,1428,1286,1309,1450,1964,2178,1932,2054,1807,1422,1246,1228,1301,1294,1226,1210,1349,1153,1272,1411,1555,1580,1679,1748,1574,1492,1479,1592,1635,1377,1286,1262,1271,1274,1313,1255,1398,1293,1123,1056,854,1384,1697,1578,1748,1852,1789,1732,1609,1426,1370,1395,1515,1629,1593,1762,1810,1707,2090,2169,2211,2266,1789,1696,1794,2471,3386,3486,2712,2326,2024,1878,2985,3319,1996,1865,2258,2461,2099,2270,2842,2336,1968,1736,1603,1754,1731,1644,2679,3014,2697,2494,2314,1907,1601,2126,2542,2725,2468,2756,2679,2585,1927,1645,1875,1985,1733,1714,1600,1575,1743,1719,1974,1853,2145,1901,1915,2049,1729,1595,1767,2125,2459,2364,2632,2627,1949,1399,1825,2060,1785,1671,1468,1463,1714,1954,1993,1811,1819,1789,1810,1574,1376,1715,2061,2231,2383,2096,1831,1571,1655,1964,1725,1545,1530,1815,1848,2113,2027,1910,1684,1961,2232,2319,2478,2377,2038,2497,1955,2023,2381,2496,2160,1692,1769,2284,1967,1405,1426,1432,1364,1480,1572,1831,1680,1525,1650,1715,1502,2231,3052,2384,1754,1629,1537,1411,1524,1732,1699,1597,1706,1802,1906,2036,2350,2469,2245,1899,1703,1668,1537,1591,1721,1797,1843,1868,1917,2071,2210,2317,2216,1720,1674,1620,1235,1229,1433,1862,1732,1645,1886,1859,1639,1693,1739,1722,1650,1748,1748,1606,1652,1649,1592,1498,1510,1604,1636,1732,1883,1859,1843,1844,1774,1815,2062,1977,1897,1636,1685,1813,1630,1491,1592,1860,2210,1880,1741,1627,1397,1281,1383,1508,1396,1405,1427,1637,1697,1476,1323,1399,1703,1774,1531,1773,1866,1681,1580,1524,1549,1534,1744,1885,1677,1354,1519,1405,1776,2244,2015,1767,1506,1477,1590,1422,1339,1404,1539,1609,2078,1940,1687,1907,2427,2068,1897,1864,1684,1473,1567,1630,1505,1859,2076,2176,1856,1861,1653,1617,1598,1858,2158,2179,2293,1788,1481,1616,1586,1564,2110,2189,1804,1715,1794,1938,1811,1627,1484,1341,1477,1622,1749,1719,1551,1572,1883,1771,1501,1405,1463,1692,1998,1946,1603,1471,1508,1648,2457,3002,2752,2548,2534,2554,2698,2924,2924,2512,2051,2468,2540,2632,2519,2208,2175,1767,1506,1643,1583,1598,1808,1930,1887,1792,1658,1414,1863,1915,1931,1913,2078,2351,2292,2081,1958,1975,1906,1943,1835,1831,1670,1656,1617,1661,1742,1761,1620,1644,1664,1820,1957,1715,1474,1550,1333,1247,1230,1401,1691,1731,1852,2664,2998,2407,2873,2819,2602,3063,2297,1876,1865,2043,2020,1968,1991,2157,2558,2709,2213,1623,1660,1564,1579,1720,1639,1787,2092,1903,1770,1786,1874,1857,1710,1791,2007,1701,1156,1268,1488,1682,1780,2082,2626,3061],[2216,2316,3088,3031,2804,2871,2852,2846,2273,2270,2714,2667,2558,2798,2774,2734,2994,3411,3256,3310,3281,2521,2210,1917,2501,2718,2510,2873,3510,3008,3012,3020,2242,1848,2721,3723,3657,3463,2796,2276,3101,2442,2980,3521,2907,2723,3050,3028,3066,3266,3710,3974,3937,3916,3768,3244,3432,3835,2952,2596,2928,2955,2580,1932,2281,1843,1965,2844,2547,2624,2779,2611,2557,2535,2530,2292,2172,2141,2597,2666,2588,2182,1753,1774,1897,1771,2336,2555,2300,2440,2349,2144,2209,2490,2683,2432,2613,2685,3450,3507,3674,3818,3776,3853,4113,3952,3505,3254,3056,2436,2206,2966,3422,2392,1852,1649,1726,2010,1874,1991,2212,3065,3432,3542,3476,3181,3739,3807,3706,3801,2918,2064,2333,2995,3341,3115,3316,3394,2857,2097,2223,2046,2230,2707,3253,3707,3652,3419,3460,3625,3706,3783,3886,3938,3462,2934,2270,2238,1885,2254,2406,1928,2060,2109,2512,3147,3078,2789,2701,2802,2420,1819,2188,2750,3024,3075,2642,2274,2181,2527,2501,2403,2402,2213,2643,2645,3051,2998,2725,3060,2768,2476,2214,1864,1754,1765,2135,2383,2220,1939,1576,1429,1673,1656,1704,2097,1732,1417,1763,3032,3627,3286,2583,2920,3484,3970,3167,2168,2410,2763,2409,2672,3100,2789,2407,1801,2110,2065,1811,1807,1506,1493,2106,2314,2336,1929,1742,1727,1759,2127,1914,1843,1849,2668,3242,2448,1856,2150,2314,2513,2160,2104,2066,1933,2087,2164,2283,2107,1793,1739,1698,1962,2203,2263,2231,2132,1722,1532,1670,1754,1840,2141,1723,1525,1595,1770,1920,1803,1930,2293,2408,2524,3030,3277,2884,2818,2864,2899,2802,2484,2449,2493,2200,2099,2061,2019,2453,1982,2219,2555,2386,2140,1889,1754,1927,2128,2181,2108,1968,1872,2379,2251,2552,2706,2834,2768,2545,2395,2236,2374,2399,2332,2170,2347,1730,1754,2250,2510,2142,2121,2082,1597,1716,2029,1946,1505,1587,1482,1543,1549,1188,1155,1301,1510,1537,1426,1478,1710,1839,1868,1924,1841,1751,1615,1328,1117,1171,1262,1568,1846,1577,1418,1429,1587,1871,1941,1321,1703,1817,1538,1709,1793,1809,1577,1417,1416,1336,1390,1512,1786,1734,2100,1800,1421,1708,1857,1657,1519,1836,2531,2510,2402,1818,1850,1931,1746,1884,2032,2110,1857,2060,2446,2103,1717,1838,1933,1747,1506,1464,1571,1599,1749,1858,1780,1643,1876,2238,2324,2138,2079,2051,1992,2111,1703,1834,1659,1511,1837,2441,2153,1952,2397,2562,2042,1972,1817,1741,1474,1544,1653,1684,1952,2092,2148,2487,2648,2702,2863,2756,1981,1549,1453,1592,1658,1540,1626,1634,1766,1870,2140,2192,1663,1915,2554,3228,2753,2541,2186,1918,1812,1628,1433,1548,1760,1857,1917,2272,2604,3316,3696,2695,2447,2693,2416,1972,2026,2090,1946,1848,1896,1676,1553,1400,1405,1479,1411,1541,1756,1660,1604,1578,1474,1520,1563,1490,1501,1405,1616,1656,1759,2140,2145,1826,1345,1915,2601,2286,1785,2389,1796,1485,2338,2282,2086,2239,2900,2591,1953,2333,2574,2292,1649,2110,2781,2530,2658,2563,2077,1998,1815,1765,2157,2805,2886,2380,1620,1896,1902,1553,2182,2534,2570,2293,1945,1717,1969,2432,2368,2278,2188,1642,1455,1630,1636,1717,1760,1479,1412,1332,1130,1040,1025,1103,1340,1619,1800,1629,1463,1408,1359,1482,1723,1838,1636,1486,1402,1687,2368,2040,1653,1964,1843,1714,1843,1495,1381,1418,1551,1522,1560,1793,1317,1403,1747,1784,1938,1852,1537,1680,2564,3259,3630,3852,4221,4042,2482,1420,1487,1901,1833,1714,2027,3111,3581,3079,1848,858,1484,2862,2533,1904,1723,1820,1926,2286,2762,2284,1865,1749,1687,1754,1955,2033,2039,2094,2145,2156,1945,2154,1929,1563,1469,1239,1447,2137,2141,1943,1489,1482,1609,1923,2131,1912,1812,1794,1652,1637,1313,1349,1688,1603,1514,1555,1462,1567,1478,2093,2292,1658,1597,1722,1746,1724,1877,1740,1636,1637,1790,2068,3063,2975,3459,3372,2312,2635,2797,2242,2123,2190,2282,2358,2287,2037,2168,2169,2281,2645,2318,2078,1965,2138,2521,2495,2203,2542,2545,2646,2141,2022,2349,2115,1774,1632,1537,1378,1320,1552,2080,2445,1918,1972,2464,2073,1927,2488,3065,3006,2738,2741,2945,3146,2834,2668,2784,2761,2705,2668,2694,2890,2832,2690,2687,3132,2875,3123,3172,2364,2786,3089,2804,3495,3060,2430,1865,2231,3002,3072,2525,2461,2463,2552,2874,2596,2678,3006,2641,3074,3616,2520,2835,3374,3229,3120,2749,2425,1886,2436,2359,2203,1850,2414,2913,3066,2441,2217,2286,2181,1979,2204,2819,2272,2479,2846,2629,2553,2426,2557,2508,2335,2801,2994,2589,2166,1869,2236,2236,2340,1700,1444,1721,2354,2468,2618,2655,2921,2577,2035,2563,2598,2194,2326,2231,2172,2498,2916,2990,2862,2476,2354,2169,2306,2246,2352,2519,2639,2381,1938,2348,2426,2000,2259,2476,2362,3222,3581,3609,3977,3978,3861,3722,3693,3782,3466,3537,3144,2797,3212,3143,2680,2622,2502,2576,2403,2415,2566,2485,1982,1453,1510,1480,1258,1665,1860,1253,1277,1621,1814,1738,1718,1766,1860,1923,1863,1760,1928,2073,1848,1733,1909,2302,2385,2119,2629,2622,2763,2939,2138,1910,2326,2497,2530,2448,2182,2106,2104,1526,1922,2026,1421,1211,1708,2182,2164,2154,2374,2653,2788,2440,1645,1741,1772,1552,1550,1584,1726,1732,1700,1798,1742,1603,1605,1400,1566,2112,1979,2000,2531,2558,2226,2338,2306,2149,2431,2106,1971,1974,2061,2139,1767,1501,1517,1738,1651,1834,2094,1899,1661,1318,1021,1120,1217,1160,1495,1591,2018,2989,3218,2207,1773,1987,2018,1920,1794,2288,3084,3052,2468,1907,1570,1516,1852,1744,2379,2664,2633,2674,2154,1632,1472,2184,2655,2564,2478,2297,2281,2313,2004,1780,2009,2677,2850,2580,2786,3602,3544,3513,3862,3725,3445,2842,2357,2094,1813,1558,1483,1447,1490,1619,1618,1631,2356,3379,3921,3698,2983,2126,1671,1877,2036,1874,1703,1583,1752,1861,1852,1916,1737,1567,1911,2071,1964,1902,1937,2370,2498,1734,1348,1347,1556,1695,1734,1724,1458,1271,1303,1377,1648,1577,1361,1446,1429,1312,1279,1165,1326,1335,1268,1312,1535,1617,1591,1517,1632,1491,1676,1677,1468,1409,1514,1563,1764,1932,1838,1853,1949,1850,1462,1347,1428,1362,1513,1780,1850,1844,1686,1583,1616,1751,1732,1623,2060,2453,2128,1683,1554,1750,1784,1603,1722,2388,2850,2232,2342,2897,2654,2987,2298,1393,1320,1711,1932,2590,2721,1985,1974,2039,1938,1477,1627,2255,2123,2310,1924,1910,1911,2081,3124,3673,2736,2202,2962,3229,2632,2496,3133,3364,2676,2519,2467,3216,3426,3073,2714,2689,2990,2897,2728,3208,2446,2078,1896,2547,3574,4065,3764,3638,3570,3537,3508,3562,3597,3570,3520,3530,3608,3386,2700,3355,4372,4188,3748,3842,3548,3107,3097,3128,2809,2453,2133,2052,2720,2526,2556,3006,3259,3933,4370,4320,3870,3381,3354,3159,2970,2476,2329,2327,2318,2238,2420,2898,3265,3597,3448,3364,3378,3446,3789,3850,3984,3570,2909,2590,2389,1748,1458,1277,1250,1543,1968,1817,1616,1658,1678,1984,2154,1947,2014,1949,1442,1201,1260,1328,1232,1203,1036,1085,1274,1371,1328,1452,1612,1754,1764,1266,1011,966,1261,1512,1397,1292,1352,1212,1144,1113,1135,1319,1248,1168,1024,936,1228,1296,1268,1442,1504,1399,1251,1145,1263,1382,1370,1534,1708,1666,1872,1655,1722,2562,2619,2479,2059,1797,1937,1720,1899,2249,2436,2228,2185,1731,1808,2082,2396,2717,2977,2909,2599,2140,2072,2898,2496,1988,1801,2346,2178,1682,1714,2064,1990,1933,1948,1914,1758,1668,2358,2713,2584,1887,1809,2119,2395,1985,1534,1636,1807,1836,1711,1775,1840,1777,1714,1725,1812,2182,1929,2116,2294,1989,1712,1764,1908,2141,2166,2314,2320,1792,1890,1858,1634,1600,1520,1418,1580,1772,1914,1728,1748,2218,1750,1636,1632,1809,2468,2454,2238,2077,1984,2013,1844,1936,2026,1704,1606,1672,2204,2260,1926,1755,1533,1721,2081,2053,2138,2218,2353,2104,2309,1983,1673,1758,1998,2274,2098,1766,2029,1714,1644,1811,1461,1294,1481,1409,1402,1255,1453,1966,2150,1630,1788,1950,1768,1744,1778,1594,1588,1798,2245,2058,1846,2007,2060,1997,2053,1924,1684,1650,1594,1631,1703,1704,1636,1560,1714,1832,1791,1847,2261,3051,3284,2626,1714,1448,1450,1189,1331,1726,1732,1471,1526,1626,1522,1520,1570,1518,1648,1636,1586,1408,1106,1002,1228,1354,1359,1512,1527,1593,1642,1711,1710,1602,1570,1684,1774,2015,2037,2100,2091,2379,2823,2620,2027,1703,1600,1780,1533,1442,1505,1411,1251,1412,1480,1367,1419,1516,1560,1602,1578,1602,1596,1581,1505,1544,1490,1649,1802,1497,1656,1827,1526,1800,1859,1661,1484,1399,1426,1517,1632,1836,1798,1669,1698,1535,1484,1367,1582,2387,1944,1707,1492,1888,2806,2520,1836,1731,1870,1736,1424,1499,1632,1866,1841,2060,2084,1737,1656,1705,1702,1684,1901,2039,1957,2154,1824,1552,1706,1514,1499,2073,2113,1945,2162,2219,1930,1868,2018,1836,1464,1397,1522,1736,1556,1251,1364,1823,1830,1628,1704,1708,2146,2497,2362,1559,1513,1555,1752,2388,2810,2566,2369,2651,2721,2688,2585,2590,2526,2118,2452,2465,2254,2029,2087,2072,1565,1373,1503,1525,1818,2148,2339,2116,2065,2321,2055,2146,2223,2014,1997,2036,1905,1825,1888,1845,1726,1681,1669,1692,1754,1813,1941,2103,1683,1507,1584,1392,1599,1571,1548,1380,1451,1440,1401,1156,1253,1350,1344,1542,1620,1721,2216,2574,1974,2364,2997,2908,2626,2385,2578,2417,2088,1991,2105,2271,2564,2829,2796,2274,1736,1718,1620,1401,1467,1547,1743,2103,1948,1613,1692,1858,1550,1668,1686,1894,1614,1032,1024,1424,1678,1671,1774,1726,2120],[2040,2635,3067,2787,2887,2731,2038,2842,2484,2272,3157,3321,2902,2431,2304,2226,2437,3075,3238,3511,3334,2595,2133,1768,2219,2011,1844,2328,2939,2962,2902,2697,2054,2156,3056,4035,3663,3229,3628,2773,3130,2895,2952,3659,3337,3143,3261,3172,3274,3528,3739,4036,4037,3985,3672,3342,3528,3818,3220,2567,2789,2822,2632,2007,2122,2298,2417,2884,2666,2246,1778,2011,2382,2707,2877,2604,2726,2459,2852,2810,2827,2521,2054,1923,1897,1988,2590,2543,2293,2351,2247,1698,1653,2470,2801,2655,2619,2495,2662,3370,3509,3438,3694,3957,4485,4256,3694,3392,3144,2280,1648,2614,3574,2916,1943,1703,1975,1988,1805,1889,2181,3111,3088,3039,3058,3162,3330,3067,2883,2856,2336,2235,1986,2374,3537,3506,3432,3776,3549,3055,2686,2686,2865,2953,3206,3625,3726,3562,3491,3681,3808,4094,3903,3292,3008,2689,2622,2563,2215,2918,2957,2218,2297,2012,1851,2212,2719,2800,2703,2740,2313,1968,2497,2569,2706,2839,3001,2742,2042,2540,2282,2235,2301,2592,2767,2648,3021,2711,2512,2917,2773,2337,2062,2478,2463,1904,2260,2235,2509,2654,1848,1349,1582,1601,1543,2107,2081,1581,2319,3310,3539,3387,2570,2673,3121,3398,3094,2586,2664,2530,2337,2602,2752,2711,2586,2693,2422,2007,1961,1962,1716,1853,2798,2531,2305,2003,2227,2000,1909,1865,1627,1863,1980,2494,2617,2019,2018,1927,1798,2333,2405,2178,1914,1832,1932,2239,2170,1486,1615,2224,2037,2081,2223,2263,2514,2594,1657,1601,1803,1826,2031,1875,1519,1554,1571,1795,1797,1706,1939,2164,2330,2573,3171,3253,2953,3122,3263,3276,2995,2630,2643,2626,2320,2588,2136,1857,1764,1715,1881,2042,2030,1866,2002,2000,2127,2054,1945,2448,2341,2144,2409,2381,3007,3275,3140,3310,2820,2240,2009,2186,1820,1519,1484,1812,1764,1815,1989,2225,1856,1548,1780,2082,1997,1921,1602,1599,1391,1553,1616,1482,1597,1587,1616,1453,1327,1447,1538,1725,2433,2298,2101,1659,1713,1627,1744,1722,1582,1691,2210,2470,1653,1421,1368,1617,1842,1792,1471,2411,2279,1714,1662,1831,2045,1618,1454,1520,1517,1587,1640,1597,1608,1859,1636,1699,2251,1914,1475,1573,1925,1977,1735,2041,1951,1939,2156,1904,1621,1663,2059,2131,2077,2304,2060,1841,1794,1848,1726,1615,1699,1647,1777,1835,1775,1833,2138,2169,2068,2295,2554,2179,2105,2002,1673,1560,1781,1802,1497,2159,3139,2346,2020,2010,2208,1935,2060,1923,1660,1393,1428,1224,1251,2170,2518,2407,2306,2159,2326,2213,2364,1958,1536,1470,1634,1578,1495,1510,1658,1961,1856,2106,1893,1394,1419,1791,2001,1807,1638,1578,1727,1782,1515,1465,1475,1672,1898,2008,2201,2382,2852,3236,2699,2467,2429,1946,1754,1888,1598,1647,1460,1606,1573,1594,1546,1530,1497,1429,1632,1840,1549,1486,1671,1603,1602,1644,1362,1290,1321,1510,1656,1937,2138,2302,1841,1555,2080,2482,2421,1681,2166,1663,1547,2078,2326,2555,2497,3001,3207,2640,2577,2623,2394,1754,2233,2697,2311,2075,2075,2300,2393,1960,1986,2925,2828,2169,1969,1694,1681,1542,1627,2137,2878,3583,2709,1739,1718,1578,2155,2195,2237,2334,1846,1457,1369,1482,1825,1759,1488,1509,1399,1213,1211,1339,1648,1925,2220,1895,1553,1344,1297,1349,1350,1783,2134,1782,1699,1405,1466,2006,2201,1874,1832,1660,1466,1408,1463,1385,1374,1467,1599,1551,1896,1509,1455,1743,1699,1504,1383,1187,1759,2974,3317,3160,3103,3373,3122,2095,1478,1394,1970,2099,1899,2331,3097,3244,2712,1577,929,2020,2891,1981,1749,1835,1791,1865,2454,2640,2364,2111,1868,1715,1793,1960,2054,2054,1995,1753,1620,1587,2055,1871,1594,1610,1271,1628,2345,1926,1931,1626,1591,1785,1689,1730,2208,2231,1874,1995,1671,1285,1112,1346,1753,1758,1591,1411,1525,1442,2005,2127,1678,1522,1537,1464,1479,1532,1694,1643,1532,1874,1918,2031,2168,3087,3377,2696,2488,2197,1705,1975,2064,2019,2327,2328,1871,1913,1742,1891,2169,2366,2286,2386,2414,2058,2473,2359,2316,2521,2709,2130,1831,2435,2404,1830,1533,1521,1632,1443,1643,2334,2341,1771,1837,1887,2316,2448,2884,3186,2697,2580,2591,2843,3106,2963,2654,2680,2502,2543,2546,2605,2779,2775,2385,2610,3011,2168,2173,2698,2483,2613,2981,3250,3535,2570,1786,2077,2907,4021,3732,2740,2940,2626,1944,2198,2286,2337,2574,2669,3056,3008,2247,2619,2875,2733,3013,2874,2759,2188,2415,2678,2419,2301,2990,3837,3030,1962,2413,2186,1500,1790,2656,2755,2220,2380,2500,2773,2425,2170,2623,2711,2808,3021,2679,2302,2075,2044,2542,2634,2410,1637,1309,1874,1794,1462,1861,2336,3117,3157,2261,2685,2025,2372,2578,2179,2281,2591,2077,2456,2878,3116,3265,2377,2503,2724,3293,2730,2677,2177,2074,2375,2138,1973,2512,2270,2285,3503,3477,3350,3859,3775,3915,3736,3656,3299,2997,3210,3328,3219,3493,3375,3090,2834,2786,2795,2561,2533,2964,2773,2059,1650,1584,1596,1506,1708,1573,1069,1103,1560,1727,1737,1496,1536,1667,1724,1574,1544,1919,1943,1874,1848,1834,2024,2031,2088,2565,2239,2535,2674,1959,1725,2020,2307,2464,2249,2546,2471,1685,1737,2462,2019,1541,1456,1735,2203,2094,1935,1974,2314,2619,2182,1517,1698,1798,1542,1384,1868,2270,2114,2044,1815,1775,1865,2023,1714,1726,1936,1960,1874,1857,1749,1759,2098,1907,1884,2756,2169,1709,1699,2026,1877,1556,1571,1622,1698,1767,1697,1674,1806,1643,1366,1357,1614,1738,1776,1931,1873,2607,3056,2701,2110,2069,2226,2152,2056,1653,2275,3466,3053,2446,1907,1650,1873,1481,1635,2489,2108,2429,2780,2254,1664,1496,2235,2801,2657,2420,2162,2150,2271,2163,2033,2129,2725,2790,2872,3436,3883,3564,3556,3947,3769,2909,2267,2206,1938,1871,1779,1832,1979,2152,1899,1487,1283,1959,3052,3628,3641,3326,3087,2054,1666,1633,1788,1732,1656,1708,1695,1766,1683,1620,1888,1910,1641,1837,2345,2633,2832,2208,1467,1319,1532,1649,1726,1771,1519,1138,1311,1520,1356,1234,1509,1362,1381,1344,1253,1180,1245,1292,1266,1243,1273,1428,1487,1636,1788,1870,1582,1720,1873,1579,1471,1585,1430,1461,1725,1802,1864,1832,1772,1500,1422,1273,1276,1706,2004,1920,1825,1512,1382,1456,1707,1604,1409,1885,2198,1697,1421,1644,1800,1619,1572,1689,2100,2641,2218,2369,2768,2889,2899,2295,1514,1285,1962,2157,2448,2565,1818,1669,1694,1869,1758,1999,2083,2036,1955,1813,2155,2141,2222,2718,2677,2564,2489,2941,3287,3157,2274,2465,2414,2644,2773,2824,3573,3710,3518,3693,3471,3535,4019,4048,4277,3152,2396,2530,3018,3869,4170,3764,3659,3525,3435,3554,3861,3854,3781,3472,3507,3683,3413,3060,3316,4100,4315,4261,4020,3342,2491,2349,2375,2088,1909,2088,2100,2788,2857,2282,2866,3317,3992,4356,4389,3852,2895,2602,2811,2736,2387,2354,2758,2950,2874,2968,3222,3670,3864,3474,3388,3576,3563,3705,3781,3738,3607,3142,2827,2480,1501,1527,1621,1364,1842,2313,2059,1843,1763,1672,1925,2160,1828,1688,1622,1373,1206,1307,1333,1309,1127,1109,1284,1398,1551,1477,1394,1628,1853,1838,1511,1815,1592,1706,1788,1583,1308,1261,1215,1113,1067,1180,1177,1064,1060,1092,1163,1237,1258,1185,1226,1324,1318,1191,1250,1311,1265,1366,1429,1559,1640,1883,1677,1643,2036,2066,2332,2408,1796,1791,1718,1620,1864,1922,1902,2153,1910,1784,1678,1863,2207,2387,2378,1945,1869,1588,1900,1842,1700,2243,2397,1742,1455,1725,2049,1671,1975,2401,1954,1800,1836,2233,2563,2342,1885,1560,1554,1853,1644,1407,1626,2354,2145,1720,2049,2443,2625,2599,2008,2188,2441,1829,1805,2003,1783,1729,2220,1950,1659,1996,2041,1711,1756,2051,1836,1601,1665,1761,1663,1817,1947,2026,1850,1838,1785,1678,1639,1398,1555,2003,2199,2340,2567,2365,2231,2093,2056,2011,1937,1837,1983,2122,1781,1576,1491,1416,1541,1699,1913,1784,1972,2142,1839,1652,1518,1442,1551,1596,1866,2016,1651,1268,1168,1485,1617,1394,1273,1608,1658,1368,1239,1312,1695,1716,1382,1464,1316,1722,1886,1735,2053,2175,2211,2219,2004,1865,1789,1665,1688,1484,1497,1649,1767,1890,2057,2370,1979,1261,1270,1589,1583,1608,1830,2233,2451,2343,2273,1831,1406,1255,1269,1333,1178,919,884,882,856,720,743,763,700,879,991,1175,828,368,459,618,647,974,1310,1391,1547,1767,1708,1635,1659,1636,1608,1687,1660,1631,1635,1646,1862,2144,2208,2107,1886,1854,1920,1859,1767,1636,1443,1307,1269,1215,1246,1237,1245,1310,1501,1490,1416,1559,1560,1417,1458,1492,1734,1615,1313,1564,1703,1521,1627,1804,1804,1547,1373,1381,1218,1360,1595,1650,1592,1794,1570,1593,1533,1896,2420,2071,1670,1459,2014,2471,2171,1963,1704,1607,1588,1594,1567,1540,1737,1876,2023,2136,2230,1992,1742,1781,1779,1672,1819,1487,1657,1720,1437,1619,1509,1511,1815,1941,2085,2281,2104,1735,1695,1929,1955,1795,1504,1490,1772,1752,1623,1659,1768,1977,2368,2606,2663,2420,2149,2049,1707,1823,1654,1743,2391,2768,2534,2335,2598,2719,2790,2643,2700,2543,2157,2344,2191,2023,1918,1807,1663,1404,1493,1688,1842,2020,2231,2541,2495,2334,2374,2209,2066,1939,1856,1845,1793,1698,1669,1698,1677,1822,1933,1763,1851,2058,1998,2483,2690,1579,1782,1720,1965,1850,1524,1412,1346,1445,1354,1136,1128,1309,1311,1282,1374,1461,1619,2054,2271,1877,2092,2530,2476,2394,2839,3295,3039,2627,2508,2324,2556,2938,3329,3230,2402,1765,1584,1553,1431,1476,1477,1489,1659,1588,1592,1853,1731,1766,1735,1731,1731,1717,1647,1493,1776,1922,1590,1688,1636,1612],[2105,2228,1803,1964,2009,1933,2037,3152,3273,2597,2741,2872,2500,2031,1821,1835,2089,2563,3093,3006,2713,2446,1998,2072,2248,2250,2330,2291,2866,3306,3162,2805,2723,2403,3130,3972,3518,2746,2802,2723,3542,3729,3305,3689,3451,3170,2984,2855,3306,3964,4014,3925,4029,4047,3682,3350,3717,3761,2925,2839,2778,2764,2853,2577,2302,1996,1857,2250,2419,1998,1709,1678,1867,2382,2567,2462,2840,2190,2296,2887,3112,2785,2497,2408,2347,2213,2293,1880,2144,2230,2244,1793,1810,2158,2512,2645,2689,2307,2408,3430,2998,2821,3519,4148,4485,4003,3278,3128,3157,2325,1627,2389,3470,3098,2014,1644,1902,1897,2060,1892,2288,3256,3388,2971,2989,3250,3352,3217,2829,2319,2026,2064,1887,1957,3024,3148,3499,3825,3498,3140,2772,2970,3433,3614,3306,3469,3660,3693,3688,3593,3681,4271,4004,2964,2676,2814,3307,3561,2416,2276,3230,2898,2125,1756,1572,1748,2410,2554,2267,2084,2259,2257,2405,2521,2759,2824,2831,2144,1990,2124,2024,2389,2798,2833,2669,2946,3024,2240,2757,3099,3068,2899,2431,2807,2427,1703,1883,2171,2455,2204,1542,1327,1413,1391,1505,1316,2019,2167,2957,3618,3728,3016,2466,2501,2112,2587,2687,2379,2456,2447,2230,2041,2306,2602,2821,2888,2624,2886,2944,2119,2149,2635,3033,2786,2386,2001,1763,1611,1970,1670,1710,2330,2486,2468,2420,2250,1842,1613,1672,1805,1934,1696,1585,1629,1946,2382,2053,1842,2243,2599,2283,2113,2400,2508,2396,1882,1512,1509,1594,1496,1450,1449,1426,1429,1676,1914,2035,2102,2242,2202,2567,3011,3370,3199,2715,2796,3023,3355,3643,2856,2281,2171,1968,2249,2183,1940,1892,2306,2523,2242,1923,2038,2601,1960,2184,2501,1960,1823,2081,2024,2117,2112,2381,2657,2785,3123,2975,2767,2500,2128,1739,1481,1591,1893,1784,1568,1985,2042,1695,1718,2204,2623,2362,1945,1478,1455,1558,1616,1758,1967,1955,1935,1865,1673,1772,1931,1616,1907,2569,2243,2124,2003,2174,2114,2135,2079,2022,2229,2686,2522,1769,1562,1456,1653,1719,1571,1694,2281,2170,1647,1367,1600,1999,1823,1599,1786,2230,2092,1614,1575,1548,1632,1820,2215,2420,1970,1749,1743,2010,1833,1875,2063,2082,2333,2141,1506,1696,2059,2283,2024,1526,1548,1638,1565,1764,1769,1650,1549,1354,1463,1610,1622,1492,1626,2310,2029,1919,2350,2570,2053,2238,2100,1616,1732,2006,2030,1666,1756,2328,2186,2102,1819,2154,2063,2154,1935,1349,1260,1500,1238,1399,2222,1970,1744,1579,1488,1538,1763,1858,1723,1506,1534,1766,1670,1594,1593,1410,1844,2372,2172,1433,1487,1740,2003,1991,1631,1454,1634,2021,1839,1558,1820,1593,1465,1682,2128,2120,2101,2408,2376,2030,1785,1549,1316,1531,1961,1744,1977,1656,1471,1622,1454,1538,1590,1558,1504,1707,2153,1948,1675,1791,1750,1672,1736,1465,1369,1460,1405,1556,1859,2094,1940,1765,1898,1715,2192,2315,1923,1872,1716,1852,2078,2210,1888,1876,2845,3398,2806,2585,2866,2802,2507,2379,2106,1889,1954,1999,1853,2121,1699,1810,2513,2050,1489,1565,1724,1853,1649,1964,2551,3207,3654,2586,1671,1672,1619,2519,2202,1992,1689,1763,1824,1694,1749,1843,1572,1338,2054,1748,1223,1532,1783,1872,2041,2448,2291,1758,1456,1445,1346,1518,2081,1968,1684,2161,1878,1819,2089,2047,1683,1673,1914,1729,1664,1578,1343,1558,1527,1673,1509,1642,1563,1341,1188,1107,1036,1118,1339,1994,2924,2679,2587,2346,2708,2312,1664,1406,1390,1574,2059,2549,2619,2504,2806,2509,1371,1032,2375,2209,1771,1704,1728,1730,2107,2543,2472,2308,2124,2020,1821,1852,1859,1888,1903,1826,1675,1729,2080,2264,2003,1694,1368,1236,1496,1812,1907,1967,1979,1887,1702,1561,1524,2037,2353,2501,2530,1768,1708,1202,1030,1828,2149,1758,1774,1934,1775,1841,1971,1908,1940,1626,1515,1447,1713,2105,1578,1455,1595,1996,2042,2358,3263,3213,2586,2243,1851,1463,1831,1902,1870,2011,1951,1773,1819,1865,1978,2147,2087,2062,2321,2184,2447,2702,2088,1610,1924,2156,2147,2179,2310,2375,2162,2010,2020,2260,1732,1542,2026,1916,1720,1586,1750,2502,2697,2916,3039,2449,2321,2317,2689,2671,2765,3161,3106,2955,2770,2392,2469,2654,2817,2713,2419,2407,1393,1312,2220,2780,2533,2734,3097,3238,2408,2146,2712,3492,4221,3190,2028,2188,2108,1809,2276,2362,2249,2701,2604,2379,2076,1984,2531,2164,2215,2298,2632,2320,2097,2181,2160,2045,2014,2574,3819,3310,1966,2192,1976,1406,2084,2614,2244,1872,2114,2634,2756,2684,2891,2854,2765,3334,2878,2361,2287,2316,1995,1625,1770,1953,1857,1954,2273,2071,1659,1784,2350,2972,2664,2099,2270,2053,2534,2636,2245,2666,2641,1794,2769,2612,2553,3435,2957,2706,2880,2822,2407,2044,1971,2341,2453,2134,2000,2070,2675,3154,3571,3466,3414,3836,3643,3448,3317,3295,3125,2979,3260,3294,3237,3477,3477,3190,2739,2764,2345,2413,2890,3226,2599,1931,1670,1628,1682,1475,1874,1832,1561,1456,1712,1725,1690,1582,1591,1708,1679,1478,1527,1915,1792,1569,1625,1760,1665,1626,1790,1957,1967,2155,2201,2040,1970,2116,2354,2443,2397,2620,2494,1872,2325,2497,2213,2260,2181,2281,2326,2069,1960,1677,1797,2010,1865,1836,2004,1887,1497,1410,1795,1908,1744,2218,2410,2216,2449,2427,2302,2436,2768,2693,2249,2129,2083,2148,2078,1687,1916,2633,2039,1741,2556,2923,2215,1722,1656,1614,1875,1958,1742,1771,1843,1962,1908,1676,1637,1688,1887,1760,1669,2315,2652,2573,2264,2084,2052,2399,2407,1918,2476,3319,3047,2318,1749,1826,2061,1629,2062,2645,2052,1829,2123,2116,1545,1516,2247,2626,2495,2320,2305,2501,2730,2764,2667,2085,2334,2747,3160,3609,3652,3458,3468,3513,3565,3082,2620,2410,1986,1873,1897,2191,2290,2191,1901,1482,1285,1724,2160,2535,2547,2334,2285,2193,1703,1580,1412,1291,1449,1521,1544,1602,1631,1770,1817,1583,1544,1578,2166,2774,2129,1523,1422,1435,1463,1614,1661,1461,1361,1341,1508,1549,1208,1360,1814,1485,1379,1436,1359,1300,1338,1326,1287,1181,1346,1672,2167,1938,2467,2096,1670,1909,1854,1539,1528,1455,1288,1594,1741,1801,1678,1692,1694,1687,1535,1510,1572,2048,2110,1842,1760,1404,1346,1378,1602,1604,1494,1823,2435,1950,1500,1607,1537,1517,1583,1655,1944,2347,2063,2209,2529,2622,2448,1639,1076,1347,2002,2130,2117,2283,1894,1628,2176,2779,2777,2881,2631,2562,2285,1933,2140,2185,2749,3304,3440,3138,2791,2959,3029,2447,1778,1576,1928,3333,3979,3472,3425,3571,3671,3714,3923,4175,4259,3784,3813,3373,2798,2948,3547,4035,4095,3968,3972,3886,3723,3608,3764,3987,4047,3704,3618,3757,3718,3209,2821,3851,4255,4196,3542,3533,2596,2088,1985,2031,2294,2912,2686,2483,2924,2288,2633,3105,3499,4005,4080,3281,2732,2812,3147,3201,2755,2525,2857,3288,3537,3322,3373,3846,3852,3670,3370,3237,3417,3631,3686,3745,3686,3353,2971,2833,1765,1576,1572,1321,1815,2229,2030,1770,1726,1680,1762,1780,1553,1479,1422,1508,1271,1202,1441,1692,1415,1360,1411,1416,1670,1482,1333,1510,1750,1772,1451,1880,2065,1656,1489,1482,1264,1301,1325,1199,1294,1295,1170,1155,1078,1166,1248,1309,1333,1228,1213,1169,1242,1295,1365,1345,1299,1354,1398,1441,1694,1866,1908,1991,1749,1562,1951,2338,1632,1690,1731,1886,1996,1829,1929,2040,1995,2046,2071,1952,1812,1553,1736,1933,2231,1651,1345,1356,1555,2317,2447,2035,1615,1904,2077,1736,2431,2836,1831,1806,1929,1981,2087,1953,1819,1766,1461,1520,1472,1380,1620,2211,1960,1700,2031,2388,2640,2440,1842,1982,1997,1693,1902,1969,1774,2078,2404,2045,1948,1960,1458,1445,1873,2010,2072,1720,1715,2104,2027,1858,2220,2514,2213,1717,1372,1534,1522,1433,1959,2074,1784,2075,2382,2404,2310,1960,2003,1994,1882,1858,1797,1657,1551,1703,1431,1396,1676,1965,2035,1686,1759,1928,1737,1481,1403,1468,1680,1493,1506,1625,1060,1458,1660,1449,1319,1321,1273,1407,1499,1447,1315,1315,1523,1504,1598,1884,1847,1990,1986,1858,1882,1920,1872,1714,1545,1627,1758,1764,1910,1746,2076,1937,1803,2026,2339,2325,1499,1326,1450,1412,1399,1516,1672,1828,1866,1785,2093,2046,1592,1440,1358,1175,676,878,856,717,835,1024,1020,867,718,750,790,699,636,700,1240,1482,1337,1052,1194,1417,1892,2024,1787,1710,1482,1376,1718,1902,2121,2082,1851,1870,1693,1611,1695,1668,1726,1786,1733,1733,1912,1930,1798,1773,1745,1628,1547,1532,1179,1175,1439,1485,1435,1517,1546,1531,1609,1582,1438,1510,1511,1566,1537,1472,1462,1607,1813,1683,1459,1334,1175,1303,1468,1620,1648,1647,1700,1579,1970,2257,1990,1712,1520,1534,1802,1887,1932,1974,2018,1751,1603,1816,1848,1893,1835,1817,1923,2213,2415,1965,1624,1582,1654,1670,1849,1584,1842,1666,1569,1694,1528,1688,1924,2026,2109,2241,1958,1964,1836,1922,1905,1954,1819,1685,1882,1988,1833,1837,1718,2100,3311,4105,3808,2868,2449,2286,1724,1521,1471,1581,2094,1998,1990,2237,2768,2868,2526,2625,2839,2480,2479,2471,2098,2100,1915,1523,1654,1718,1785,1893,1935,1876,1894,2161,2183,1919,1797,1807,1819,1708,1587,1458,1458,1610,1835,2264,2443,2654,2378,1642,1721,1942,1676,2021,2608,2078,2156,1696,1767,1672,1725,1714,1446,1404,1381,1233,1375,1350,1369,1291,1330,1450,1597,1913,1671,1493,2109,2489,2335,2530,3132,3219,3122,3084,3169,2604,2481,2662,3197,3103,2534,2052,1671,1744,1586,1431,1513,1639,1896,1699,2007,2264,1923,2069,2059,2166,2336,1976,1645,1641,1776,1866,1687,1742,1930,1806],[2277,2235,2116,1829,1695,1636,2515,3512,3419,2730,2311,2360,2580,2423,1883,1829,2632,3149,3213,2447,2294,2356,1923,1932,2072,2089,2148,2870,3731,3291,3043,3096,3243,3040,3208,3218,2790,2316,1908,2175,3902,4618,3784,3639,3566,3039,2909,2989,3223,3695,3995,4058,3583,3310,3311,3252,3625,3573,2388,2611,2321,2764,2778,2700,2666,2568,2562,2633,2300,1688,1570,1857,1769,1770,2028,2109,2081,1694,2069,3340,3698,3328,3733,4389,4142,2938,2492,2025,2206,2175,2295,2468,2658,2566,2622,2770,2763,2664,2564,3008,2244,2475,3489,3720,3664,3466,3109,3028,3008,2531,1956,2166,3173,3333,2542,2010,2192,2380,2239,1948,2021,2939,3432,3136,3227,3410,3476,3648,3464,2780,2150,1907,2066,2074,2828,2978,3106,3287,3119,3274,2885,3259,3914,4024,2978,3185,3527,3654,3855,3603,3551,4067,3569,2775,3024,3508,3759,3919,2944,2143,3243,3340,2523,1923,1662,1972,2239,2499,2482,1976,1994,2322,2465,2712,2776,3028,3001,2472,2065,2250,2555,1913,1926,2401,2795,3104,2807,2630,3227,2932,3091,3282,2846,3035,2442,1558,1758,2193,2231,1883,1519,1542,1516,1435,1475,1252,1636,2661,3331,3239,3406,2899,2596,2435,2198,2455,2379,2126,2322,2570,2275,1951,1803,2046,2735,2808,3265,4140,3860,2084,1862,2202,2851,3088,2674,1972,1487,1531,1587,1653,2240,2286,2323,2288,2456,2426,2194,1597,1614,1891,1753,1441,1355,1466,1793,2375,2095,2266,2162,2188,1865,1792,2324,2538,2173,1897,1642,1475,1799,1866,2003,1881,1730,1507,1711,1995,2281,2394,2464,2547,2634,2943,3305,3019,2499,2721,2899,3325,3376,2498,2190,2502,2640,2821,2818,2485,2047,1970,2589,2346,2119,1721,1748,1552,2227,2557,1771,1485,1635,1575,1976,2473,2354,2226,2330,2656,3099,3531,2784,2101,2017,1863,1639,1805,2115,2149,1797,1455,1426,1720,1716,2027,2237,2193,1734,1732,1876,1595,1485,1688,2323,2049,1758,1553,1767,1991,1526,1627,1714,1675,2090,2425,2243,1848,1878,1965,2340,2714,2906,2499,1788,1579,1577,1519,1598,1577,1500,1628,1838,1537,1431,1426,1792,2386,2109,2070,1936,1743,1735,1687,1670,1986,2424,2528,2254,2259,2138,2213,2622,2277,1903,1995,2146,2556,2192,1770,2204,2070,1907,1819,1568,1669,1974,1548,1542,1452,1617,1745,1594,1627,1331,1521,1610,1749,2041,2078,1922,2485,2565,2220,2210,1802,1462,1781,2364,2060,1620,1675,1699,1658,1709,1609,1704,1728,1810,1696,1591,1749,1910,1377,1367,1484,1487,1478,1439,1382,1636,1751,1554,1579,1681,1865,1938,1511,1414,1566,1375,1618,1882,1772,1667,1675,1822,2243,2201,1622,1460,1722,2129,1942,1620,1833,1758,1781,2009,2143,2042,2027,1840,1744,1652,1688,1639,1531,1734,1995,1892,1643,1387,1424,1516,1641,1766,1471,1499,1654,2193,2663,2742,2050,1568,1460,1677,1730,1546,1574,1614,1749,1806,1568,1853,1595,1700,1589,1373,2194,2481,2188,1860,1872,1832,1872,2031,1997,2176,2989,2688,2194,1917,2154,2329,2180,1970,2010,1907,1847,2041,1753,2265,1870,1741,2265,1896,1669,1700,1622,1607,1591,2223,3332,3108,2473,1794,1743,2253,1841,1989,1966,1837,1749,2034,2096,1843,1523,1517,1722,1736,2456,2041,1845,1837,2099,2451,2600,2495,2314,2098,1469,1358,1485,1578,1534,1375,1581,1866,1968,1852,1788,1631,1455,2007,2623,1776,1743,1678,1360,1557,1427,1423,1135,1073,1112,1078,962,957,1110,1209,1420,2067,2819,2019,2434,2447,3134,2524,1703,1560,1495,1673,2132,2634,2653,2086,2427,2669,1406,935,1782,1888,1651,1677,1758,1977,2330,2623,2401,2260,2095,1945,1903,1784,1659,1698,1675,1737,1987,2136,2123,1914,1685,1525,1440,1375,1574,1641,1892,1924,2156,2226,1943,1675,1553,1647,2238,2945,2652,2096,1919,1416,1327,2275,2449,1967,1589,1522,1508,1550,1857,1817,1948,1640,1557,1593,2115,2007,1646,1638,1966,2589,2620,2364,2776,2416,1823,1628,1588,1354,1845,1867,1706,1768,2061,2114,2048,2112,1987,1970,1860,2089,2497,2621,2997,2768,1989,1447,1748,2011,2528,2696,2240,2057,2177,2164,2148,1914,1603,1547,1647,1754,1890,2081,2161,2270,2652,2773,3176,2957,2610,2550,2943,2646,2619,3248,3329,3327,3493,3593,3364,2823,2750,3097,2256,1793,1548,1660,2098,2581,2701,2401,2658,3089,2950,2850,2700,3293,3595,2189,2119,2969,2298,2163,2797,2441,2329,2511,2339,2551,2301,2381,2059,1710,2225,2200,2285,1830,1652,1939,2033,1923,1619,1851,2653,2908,1836,2004,1720,1516,2063,2450,2791,2620,2353,2598,2608,2648,2427,2554,2472,3082,2754,2470,1953,2257,2166,1453,1309,1727,2063,2129,2094,2084,1920,1957,1797,2320,2327,2392,1978,1848,2687,2410,2605,2484,2203,2246,2550,2722,3066,3292,2902,1892,2063,2465,2056,2017,2585,2493,2136,2056,2173,2321,3141,3304,3530,2790,3255,3581,3212,3342,3436,3209,2951,2923,3257,3493,3518,3482,2999,3001,3043,2789,2402,2266,2485,2595,2293,2007,1643,1617,1516,1390,1992,2051,1939,1750,1635,1765,1902,1712,1560,1728,1556,1527,1608,1703,1808,1662,1789,1867,1638,1524,1471,1588,1797,1685,1620,1743,1736,2029,2047,2019,2077,2076,2041,1993,2140,2372,2481,2289,2213,2562,2263,2045,1711,1782,1791,1665,1571,1511,1805,1837,1654,1668,1753,1657,1440,1955,2316,2132,2813,2763,2325,2234,2889,2903,2244,2259,2138,2508,2302,2075,1941,2108,1858,1887,2475,2592,2210,1762,1818,2068,1774,1935,2122,1983,1954,2617,2236,1760,1721,1844,2159,1916,1671,2464,2842,3132,3023,2075,2146,2637,2472,2685,2678,2462,2533,1987,1731,1820,2066,2227,2230,2571,2418,2404,2362,2121,1695,1687,2072,2350,2183,2150,2214,2386,2643,2769,2385,1759,2217,2774,3172,3558,3450,3305,3475,3164,3287,3138,2919,2440,1981,2127,2041,2222,2168,1762,1742,1603,1359,1643,2104,2082,1692,1435,2013,1948,1580,1811,1762,1273,1186,1308,1390,1340,1288,1460,1653,1616,1687,1727,2135,2172,1686,1537,1550,1541,1351,1402,1475,1379,1439,1344,1387,1417,1485,2001,1954,1506,1501,1482,1341,1310,1333,1249,1337,1305,1623,2153,2108,1880,2173,1854,1838,1962,1516,1486,1548,1416,1399,1652,1487,1472,1331,1721,2013,1731,1703,1685,1775,2086,1953,1700,1638,1332,1408,1457,1502,1566,1632,2061,2519,2012,1427,1368,1387,1507,1446,1571,2420,2375,2293,2561,2487,2624,2698,2031,1554,1633,2193,2154,2177,2730,2446,2558,2699,2916,2702,2680,2599,2520,2398,2172,2133,2108,3140,3413,4039,3892,3763,3580,2832,2373,2430,1985,2048,2463,2901,3050,3094,3383,3130,3167,3315,3391,3364,3188,3497,3632,3662,3508,3987,4244,4194,4151,4271,4340,4166,4225,4188,3984,4035,4001,3823,3948,4051,3518,2777,3762,4364,4136,3030,2856,3105,3122,2552,2110,2261,2756,2713,2242,2600,2368,2552,3310,2912,2808,2835,2768,3178,3684,3892,3652,3206,2723,2513,3000,3508,3414,3376,3702,3697,3673,3297,2879,3075,3504,3659,3625,3535,4008,3433,2945,1853,1404,1424,1443,1657,1876,1791,1728,1722,1747,1656,1468,1327,1301,1581,2084,1777,1411,1692,1608,1350,1560,1461,1412,1840,2310,1692,1598,1703,1753,1500,1451,1468,1265,1199,1431,1412,1372,1244,1096,1168,1221,1136,1320,1266,1122,1111,1321,1427,1228,1219,1068,1150,1176,1333,1507,1453,1545,1500,1464,1716,1790,1835,2009,1748,1704,1985,1789,1510,2099,2296,2215,1719,1485,1757,2178,2341,2330,2144,2008,1855,1701,1836,2127,2250,1745,1387,1497,2003,2845,3017,2396,1725,2306,2752,2818,2921,2531,2179,2496,2586,2250,2066,2010,1786,1780,1571,1487,1613,1574,1675,1838,1657,1896,2340,2514,2622,2048,1675,1658,1633,1515,1955,2109,1887,1877,1938,1892,1904,1836,1734,2010,2266,2641,2409,2125,2060,2046,1862,1779,2288,2471,2221,2098,1654,1453,1503,1755,2161,1921,1817,1832,2024,3020,2800,1993,1916,1962,1924,1981,1757,1758,1742,1665,1597,1476,1644,1695,1519,1460,2050,2662,2214,1653,1579,1593,1707,1425,1410,1552,1246,1904,2138,1598,1386,1457,1416,1417,1788,1998,1775,1644,1754,2076,1942,1946,1889,1812,1870,1840,1728,1726,1851,1879,1786,2277,2750,2521,1995,1828,1843,1639,1738,2078,2469,2370,1665,2232,2133,1542,1399,1407,1370,1564,1693,1581,2098,2366,1882,1783,1443,1022,943,2006,1825,1603,1797,1793,1635,1749,1652,1511,1541,1470,1362,1427,1796,1729,1590,1602,1528,1633,1871,1928,1960,1888,1328,887,1290,2019,2588,2510,2543,2318,2100,2901,2543,1749,1857,1794,1653,1629,1612,1677,1750,1666,1787,1880,1887,1917,1704,1773,1902,1881,1759,1594,1541,1792,1804,1597,1536,1579,1542,1480,1470,1468,1464,1531,1835,1637,1468,1406,1394,1397,1589,1403,1639,1715,1734,1748,2002,2014,1634,1558,1615,1998,2282,1927,1767,1715,1743,1669,1860,1686,1697,1921,1655,1517,1787,2036,2125,1573,1193,1362,1536,1487,1637,1752,1671,1456,1410,1332,1832,2322,2079,1919,1909,2239,1779,1741,1955,1853,1659,1808,1898,1698,1656,1719,1653,1825,1878,2324,3378,4329,3987,3120,2775,2295,1750,1519,1527,1538,1727,1752,1901,2127,2103,1788,2250,2662,2325,2307,2581,2494,2403,2344,2040,1590,1886,1920,1868,1838,1785,1701,1714,1861,1826,1788,1825,1813,1721,1610,1549,1607,1861,2073,2142,2722,2967,2995,2622,1656,1658,1720,1411,1434,2229,2482,1778,1418,1443,1505,1767,1623,1369,1457,1510,1242,1424,1376,1310,1429,1448,1498,1780,1924,1715,1742,2173,2407,2308,2480,2999,3074,3161,3365,3365,2640,2337,2338,2333,2156,2117,2187,1711,1699,1783,1592,1747,1964,2527,2048,1873,2261,2360,2493,2744,2778,2148,1628,1406,1635,1838,1813,1742,1937,2325,2304],[3359,3867,3370,2435,2435,2432,2514,2908,3081,2600,2297,2649,2962,2994,2436,1709,2731,3650,2952,2359,2608,2497,2050,1909,2280,2268,2114,3116,3046,2497,2777,3159,3116,3061,2774,2329,2453,3353,3122,2056,3375,3288,2685,2901,3565,3161,2834,2966,3118,3022,3384,3632,3200,3295,3357,3309,3806,3764,2385,2430,2178,2154,2620,2664,2809,2727,2844,2956,2519,1699,1666,2084,1932,2241,2946,2691,1946,1432,1898,3220,3259,3180,3824,4573,4376,3008,2320,1859,1829,1921,2285,2476,2379,2268,2249,2641,2496,2476,2260,2931,2524,2853,3293,3318,3414,3232,2938,2889,3065,3007,2976,2898,3362,3676,3130,2413,2436,2376,2163,1988,2094,2829,3062,3110,3243,3457,3400,3521,3754,3633,3480,2831,2260,2053,2520,3168,3598,3666,3688,4047,3850,4328,4176,3260,2292,2531,2894,3009,3120,3123,3371,3804,3742,3492,3672,3831,4050,3915,2710,2046,2548,3419,3498,2644,2093,1957,1778,2013,2783,2622,1827,2046,2300,2210,2104,2483,2890,2745,2162,2597,2503,1747,2066,2762,2984,3060,2729,3255,3562,2861,2671,2731,2912,2906,1919,1207,1370,1694,1774,1642,2087,1992,1766,1695,1508,1630,2018,2720,3041,3030,3164,2958,2370,1935,2286,2460,2082,1881,1972,2270,2363,1990,1552,1927,2898,2954,3449,3967,3702,2420,1915,2573,3516,3421,2658,2441,2288,1731,1748,1901,2270,1881,1837,1694,1694,1880,1942,1506,1757,2099,1614,1615,1715,2014,1867,2023,2466,2248,2021,2217,2238,2155,2341,2396,1964,1919,1965,1662,1920,2069,2205,1809,1650,1628,1809,2055,2314,2368,2601,2601,2480,2880,3032,2986,2684,2974,3089,2990,3097,3044,3041,2842,2520,2501,2633,2502,2266,2268,2521,1961,2051,1730,1534,2007,2775,2374,1650,1904,2462,1982,1770,1838,2347,2330,2170,2105,2426,2877,2449,2125,1996,2117,2038,2115,1920,2584,1886,1472,1504,1793,1844,1643,1715,2002,1709,1560,1917,2054,1755,1728,2232,1838,1685,1542,1587,1639,1573,1509,1522,1936,2238,2654,2018,1932,1882,2126,2190,2358,2357,1770,1490,1604,1456,1417,1650,1585,1484,1480,1574,1457,1522,1480,1742,2222,2315,2030,1948,2149,2214,1684,1500,1610,2376,2491,2084,2037,2210,2535,2765,2820,2911,2478,2022,1951,2274,2427,2136,1832,2252,2194,1908,2118,2329,1837,1461,1646,2108,2193,2056,1489,1325,1494,1955,1970,1710,1730,1738,2124,2438,2307,1713,1328,1483,1674,2142,2002,1478,1609,1708,1454,1474,1531,1784,1899,1536,1718,1728,1736,2072,1396,1360,1490,1510,1620,1764,1629,1560,1524,1534,1678,1852,1763,1848,1533,1630,1562,1991,2106,1699,1660,1691,1834,2020,2397,2396,1871,1784,1976,2236,1936,1770,1743,1826,2026,2125,2182,2186,2127,1458,1660,1610,1425,1401,1504,1614,1459,1475,1665,1524,1410,1425,1599,1557,1362,1346,1593,2546,2864,2766,2075,1627,1617,1735,1615,1525,1697,1510,1907,1787,1421,1548,1417,1572,1589,1710,1872,2059,2301,2024,1694,1404,1860,2474,2091,1993,2832,2248,1735,1766,1956,2002,1917,2088,2305,2278,1683,1571,1447,2120,2199,1995,2232,1865,1703,1911,1728,1536,1429,1831,2546,2194,1649,1529,1837,2255,1873,1805,2262,2222,1744,1510,1693,1647,1499,1554,1759,1810,1908,1775,1729,1790,2396,3155,3465,2944,2501,2742,2138,1746,2284,1672,1311,1500,1229,1364,1820,1746,1568,1668,1738,2482,3062,1998,1725,1903,1962,2122,1941,1422,1179,1528,1533,1339,1125,997,1147,1290,1427,2038,2448,2036,2010,2332,2453,1826,1661,1649,1537,1602,1990,2692,2796,2310,2643,2708,1435,976,1629,1760,1653,1639,1701,1991,2053,2237,2254,2191,2078,1913,1835,1718,1767,1952,2079,2182,2136,2164,2043,1750,1581,1448,1477,1380,1659,1749,1818,1944,2124,2521,2414,1903,1605,1642,1914,2726,2580,2126,1835,1741,1650,1626,1599,1759,1761,1882,1682,1622,1847,1604,1416,1576,1581,2054,2147,1745,1719,1852,1879,2220,2758,2342,2156,1792,1946,1895,1750,1793,1682,1541,1497,1738,2151,2340,2344,2099,1522,1411,1786,2056,1991,2301,2344,2092,1678,1554,1691,2452,3016,2402,2145,2499,2414,2238,2106,1854,1687,1644,1676,1636,1893,2409,2177,2217,2404,2534,3000,3146,2713,2954,3035,2658,2973,3284,3093,3209,3687,4094,3776,3193,2683,2580,2091,2110,1972,1944,2196,2464,2330,2288,2740,2879,3426,2996,2451,3203,2842,1774,2137,2790,2353,2578,2923,2510,2635,2423,2352,3072,2651,2480,2475,2150,2247,2375,2169,1953,1539,1595,1815,2192,1568,2105,2619,2776,2005,2155,1732,1398,2134,3072,3445,2674,2313,2338,2137,2278,1948,2149,2249,2490,2215,1888,1864,2218,2420,1930,1705,1693,1945,1762,1863,1884,1910,2320,1913,2166,2577,2586,2073,2237,2398,2074,2102,1910,1815,2333,2197,3050,3576,3030,2255,1974,2752,2756,2373,2524,2802,2268,2432,2483,2141,2352,2670,3374,3106,2397,3304,3848,3517,3375,3521,3291,2787,2901,3226,3467,3642,3408,2766,2589,2757,2762,2258,2030,2172,2132,2284,2054,1607,1560,1509,1594,2020,1968,1852,1788,1631,1750,1877,1831,1375,1426,1446,1496,1816,1736,1666,1616,1719,1780,1520,1418,1469,1694,1845,1608,1760,1821,2063,2349,2172,1984,1964,1774,1707,1824,1839,1987,2095,2018,2010,2162,2094,2276,2421,2383,2017,1787,1604,1482,1559,1779,1841,1853,1868,1643,1537,1598,1479,1539,2302,2894,3065,2744,2673,1970,1635,1761,2031,2272,1801,1908,2100,2126,1693,1772,1990,1892,1921,1656,1670,1732,1606,2264,2543,2057,1837,1775,1565,1626,1758,1798,2249,2768,2475,2038,1925,3374,3499,2700,2385,2510,2531,2907,2929,2770,2392,1632,1799,2051,1929,2156,2176,2333,2502,2774,2591,2089,1911,1798,1913,2094,2032,2116,2254,2320,2400,2472,2165,2055,2453,2967,3364,3616,3462,3394,3532,3322,3188,2688,2337,2105,2249,2502,2261,2047,1775,1544,1604,1623,1344,1359,1808,1876,1875,1742,1721,1596,1439,1797,1786,1308,1304,1309,1119,1156,1156,1402,1459,1599,1755,1820,2009,1852,1543,1574,1593,1433,738,926,1830,2012,1528,1377,1397,1431,1583,1869,1766,1543,1502,1418,1390,1391,1319,1260,1233,1350,1670,2018,1808,1694,1626,1590,1877,1934,1444,1632,1505,1351,1429,1369,1288,1382,1424,2322,2605,1659,1582,1665,1816,1980,2061,1802,1575,1378,1570,1629,1521,1649,1713,1876,2006,1642,1472,1416,1361,1396,1372,1596,2742,2655,2387,2689,2558,2591,2862,2720,2359,1800,2219,2066,2351,2977,3146,2723,2163,2327,2541,2563,2599,2429,2439,2185,2325,2180,3350,3925,4300,4161,3903,3226,2264,2854,3286,2763,2833,2032,2007,2161,2170,1992,2149,2842,3120,3344,3033,2648,3208,3596,3924,3596,4025,4268,4328,4328,4540,4636,4395,4396,4356,4063,3955,3948,3870,4049,4259,3727,2967,3676,4345,4205,3227,2825,3572,3807,3142,2172,2079,2380,2761,2653,2889,2811,3211,3979,3806,3073,2788,3224,3206,3315,3562,3703,3415,2886,2431,2563,3188,2958,2813,3360,3536,3598,3518,2958,2661,3150,3430,3440,3273,3938,3574,2815,2050,1535,1263,1205,1477,1400,1687,1771,1729,1778,1716,1532,1338,1704,1958,2119,1759,1316,1484,1519,1353,1399,1345,1400,1627,2142,1675,1484,1711,1841,1710,1440,1206,1219,1266,1322,1384,1249,1262,1318,1308,1283,1269,1470,1376,1172,1191,1306,1374,1219,1110,1160,1318,1245,1487,1654,1575,1644,1595,1494,1577,1732,1541,1666,1932,1907,1849,1850,1917,2369,2842,2496,1641,1304,1817,2525,2316,1818,1763,2323,1808,1621,1982,1917,1880,1820,1542,1680,2179,2950,3044,1985,1571,2142,2809,3074,2955,2492,2272,2436,2519,2457,2611,2634,2562,2329,1953,1872,1815,1856,1909,1722,1697,2020,2299,2497,2781,2267,2126,1913,1821,1976,2306,2504,2479,2248,2129,2275,1824,1957,1891,1895,2338,2623,2021,1910,1990,1804,1591,1729,2284,2476,2031,1791,1626,1636,1670,1902,2459,2371,1902,1598,1865,2254,2292,2087,1690,2186,2130,2240,1942,2222,2305,1898,1603,1359,1267,1176,1237,1489,1902,1898,1707,1444,1492,1464,1482,1433,1611,1682,1499,1808,2040,1721,1565,1687,1728,1568,1677,1631,1755,1746,1686,1615,1561,1663,1727,1738,1732,1826,1869,1855,1853,1964,1906,2340,2696,2388,1746,1451,1442,1613,1735,2147,2141,1986,1736,2408,2243,1614,1343,1362,1440,1538,1985,2557,2808,2634,1930,1988,2047,1077,1497,2198,2212,2219,2191,2216,2115,1738,1500,1515,1575,1561,1639,1799,1802,1592,1525,1520,1592,1692,1708,1793,1835,1726,1067,1024,1457,2130,2557,2578,2428,1888,2051,2916,2353,1693,2027,1976,1870,1822,1602,1636,1563,1589,1635,1675,1722,1724,1749,1822,1910,1954,1906,1820,1781,2033,1889,1788,1861,1708,1542,1373,1127,1260,1403,1378,1584,1322,1421,1593,1556,1622,1669,1572,1773,1532,1363,1426,1534,1700,1794,2005,2311,2285,2090,2039,1883,1620,1600,1902,1873,1560,1568,1580,1434,1526,1767,2154,2446,1808,1355,1450,1450,1384,1720,1796,1551,1449,1553,1428,2696,2250,1782,1570,1562,1842,1892,1864,1731,1735,1573,1556,1615,1631,1541,1424,1603,2076,1901,2434,3552,4231,3768,2999,2533,1802,1599,1499,1349,1482,1718,1586,1635,1990,1834,1583,2346,2546,1933,2072,2643,2570,2485,2546,2231,1952,1896,1793,1820,1809,1784,1838,1848,1854,1914,1907,1820,1715,1741,1906,2060,2049,2173,2005,2075,2713,2429,2420,2706,1697,1619,1767,1475,1358,2258,2609,1938,1668,1700,1528,1532,1579,1460,1566,1661,1422,1504,1924,1572,1404,1415,1666,2160,2150,2035,1757,1715,1765,2123,2340,2689,2807,2910,3077,2485,1847,1973,2191,2076,1650,1717,1805,1618,1508,1530,1259,1291,1614,2032,1968,1855,1931,2279,2414,2242,1690,1387,1470,1776,1930,1970,1835,1936,2148,2242,2473],[3516,3140,2441,2544,2776,2199,2162,2885,3046,2757,2401,2693,2931,2712,2236,1498,2150,3000,2673,2326,2392,2250,2496,2401,2553,2509,3029,3454,2857,2508,3004,3135,3210,3287,2316,1619,2142,3393,3522,2300,3249,2897,3012,3480,3588,3292,3286,3586,3355,2960,3414,3594,3460,3649,3492,3253,3274,2822,2272,3084,2797,1695,1913,2417,2946,3188,2898,2451,2587,2548,1932,1938,1866,2321,2928,2448,1741,1535,1829,2879,2639,3031,2689,2488,3138,2428,1689,1818,2070,1990,2036,2143,2304,1991,1842,2239,1880,1940,2392,3245,3183,3122,3298,3316,3323,3243,3166,3272,3501,3303,3608,3750,3751,3905,3547,2480,2343,2846,2817,2307,2329,2509,2831,3131,3200,3390,3365,3499,3601,3521,3620,3319,2585,2416,2851,3466,3813,4064,4233,4336,4574,4954,4273,2923,2037,1971,2469,2633,2619,2672,2997,3564,3994,3928,3899,4117,4066,3579,3139,2807,3023,3688,3386,2830,2346,1900,2110,2452,3022,2420,1894,1993,2088,1857,1883,1928,2090,2377,2177,2746,2193,2237,2435,2920,3037,2931,3353,3466,2984,2427,1876,2021,2601,2199,1473,1245,1388,1480,1634,1543,1478,1353,1476,1635,1519,1627,2474,3001,2506,2878,2988,2789,2052,1742,2284,2429,2141,2184,2288,2502,2674,2320,2144,2425,2981,3185,3515,3741,3796,2810,2778,3621,3798,2929,1865,2127,2687,1839,1666,1912,2193,2206,2040,1776,1378,1842,2534,2499,2394,2228,1582,2128,2392,2546,1885,1972,2615,2261,2085,2433,2434,1853,1844,2081,1675,1785,2431,2116,1931,1959,1913,1654,1576,1828,1933,2052,2297,2337,2292,2405,2471,2947,3008,2984,2584,2697,2866,2775,2825,2929,2836,2749,2708,2644,2664,2641,2553,2326,1995,1924,1950,2079,2328,2703,2846,2278,1949,2230,2759,2558,1909,2025,2036,1741,1763,1680,1797,1998,2177,2282,2639,3121,2632,2260,1986,2740,2508,2042,1993,1769,1600,1712,1890,2025,1767,1622,1896,2491,2288,1896,1643,2075,1829,1541,1624,1674,1842,1675,2088,2567,2018,2522,2025,2211,2135,2000,2145,2344,1917,1381,1444,1568,1471,1480,1636,1476,1519,1538,1545,1520,1632,1682,1971,2621,2527,1913,1924,2244,2536,2122,2082,1899,2356,2156,1658,1756,2299,2659,2808,3251,3287,2951,2135,1682,2165,2260,1757,1985,2470,2514,2377,2227,2425,2138,1908,2024,2326,2230,1791,1519,1467,1631,1810,1634,1667,1669,1522,1612,1630,1959,2047,2482,3104,2584,2711,2327,1628,1792,1960,1704,1488,1862,2808,2632,1600,1588,1577,1791,2166,1676,1464,1554,1539,1824,2144,2163,1944,1901,1883,2063,2013,1717,1738,1709,1787,1683,2458,2449,1900,1951,1989,1928,2172,2189,2125,2084,1921,1870,1861,1703,1976,2160,2217,2459,2073,1933,1765,1681,1382,1587,1692,1643,1737,1805,1547,1077,1299,1871,1666,1534,1411,1438,1322,1474,1496,1551,1945,2185,1982,1876,1868,1830,1995,1757,1654,1691,1481,1470,1391,1409,1477,1482,1717,1842,1714,1822,2216,2834,2490,2163,1775,2169,2268,1643,1838,2334,2002,1776,2144,2452,2079,1910,2121,2280,2451,1911,1506,1387,1811,1910,1884,1886,1535,1675,1912,1477,1343,1377,1428,1531,1582,1512,1452,1594,1852,2017,2492,2803,2379,1875,1653,1908,2166,2537,2178,1697,1562,1325,1210,1367,1592,1860,2069,2193,2000,1863,2105,1971,2040,2230,1438,1153,1265,1026,1233,1762,1610,1547,1810,1700,1876,3083,2905,2551,2227,2148,2422,2080,1424,1191,1740,1406,1142,1045,1057,1185,1326,1573,1787,1586,1330,1357,1805,1788,1729,1796,1875,1794,1501,1476,2115,2651,2308,2633,2770,1720,1247,1644,1685,1740,1606,1741,2054,2090,2193,2115,2046,2082,1976,1667,1487,1727,2330,2755,2604,2069,1885,1795,1820,1714,1491,1596,1727,1636,1576,1847,2184,2010,2259,2160,1649,1370,1547,1743,2277,2235,2070,2269,2475,2666,2314,1580,1537,1489,1541,1575,1678,1685,1521,1503,1547,1491,1654,1742,1745,1722,1966,1757,1659,2343,2310,2077,1808,1923,2143,2047,1604,1556,1519,1444,1802,2033,2022,2164,1635,1428,1626,1860,2145,1820,1321,1417,1545,1534,1670,1830,2428,2383,1934,2435,2950,2108,1631,1895,1998,1654,1349,1472,1681,2304,2698,2263,2254,2150,2639,2928,3054,3068,3082,2679,2761,3281,3429,3386,3337,3276,3311,3311,2397,2302,2382,2464,2649,2887,2721,1785,1582,1731,1891,1908,1990,2494,2137,2306,3098,2589,2208,2532,2498,2177,2537,2513,2625,2765,2693,2876,3069,2250,2608,3218,2477,2182,2374,2747,2533,2129,2488,2269,2173,1409,1921,3078,2852,1908,1967,1669,1490,2488,3431,3566,2574,1963,1842,1888,2193,2128,2304,2431,2401,2077,2042,2409,2581,2801,2891,2826,2036,2175,1912,1535,2053,2503,2394,2155,2094,2601,2484,1655,2598,2575,2253,1754,2271,2345,2519,2596,2381,1550,1281,2026,2880,3487,3260,2619,2290,2041,2145,2499,2608,2363,1873,2352,3504,3287,3106,3643,4031,3657,3355,3632,3735,3283,3279,3356,3463,3438,3073,2821,2555,2540,2662,2186,2049,2109,2106,2357,2142,1660,1689,1959,1980,1997,1922,1743,1623,1486,1389,1605,1830,1592,1998,1825,1811,1961,1755,1556,1466,1829,1973,1592,1488,1731,1810,1533,1043,1858,2574,2792,2626,2331,2230,1968,1795,1639,1728,1560,1678,1751,1861,1747,1764,1921,2066,2170,2093,2024,1964,1737,1660,1843,1993,1804,1747,1766,1426,1592,1704,1565,1697,1692,2191,2330,1803,1952,1367,1342,1591,1448,1267,1354,1401,1449,1392,1367,1435,1577,1670,1730,1664,1519,1436,1835,2563,2494,2088,1873,1600,1426,1438,1509,1561,2346,3233,2602,1695,2014,2707,2455,2182,2480,2421,2134,2646,2700,2633,2039,1775,2024,1836,1664,1604,1912,2040,1888,2069,2114,1935,1585,1613,2044,2314,2598,2791,2885,2786,2736,2729,2552,2307,2567,3160,3158,3495,3683,3730,3805,3610,3329,2282,1859,2150,1970,1939,2022,1998,1725,1805,1754,1690,1586,1402,1545,1814,1863,1788,1932,1764,1553,1742,1906,1688,1725,1527,1189,969,1116,1417,1602,1651,1546,1530,1655,1733,1708,1751,1709,1470,1028,854,1811,1998,1569,1350,1242,1373,1512,1331,1280,1744,1584,1340,1402,1593,1499,1328,1543,1782,1636,1447,1385,1556,1416,1543,1598,1503,1519,1648,1433,1316,1311,1378,1411,1238,1621,2391,2178,1462,1510,1412,1406,1736,1886,1808,1543,1462,1666,1688,1740,1842,1689,1811,1744,1400,1316,1361,1398,1322,1309,1707,2580,2658,2301,2429,2233,2243,2467,2723,2791,2329,2199,1837,1794,1897,2585,3067,2677,2414,2695,2832,2538,2371,2584,1958,2062,2355,3442,4341,4435,4070,3518,2526,2037,2836,2858,3005,3161,2115,1854,1754,1524,1885,2990,3677,4109,4077,3475,2986,3116,3571,4085,3582,3508,3874,4301,4400,4544,4615,4362,4276,4372,4111,3982,3782,3918,4069,4252,3659,2806,3499,4325,4148,3485,2806,3666,4104,3548,2724,2598,2832,2874,3035,3719,3959,4077,4404,4079,2877,2670,2935,2861,3171,3317,3521,3585,3131,2611,2636,3142,2721,2288,2805,3473,3459,3602,3505,2778,3042,3328,3306,3182,3669,3659,2876,2077,1850,1303,1453,1579,1526,2125,1826,1675,1749,1623,1489,1490,1611,1624,1436,1336,1269,1265,1367,1489,1650,2087,1576,1387,1522,1383,1364,1708,1787,1754,1541,1350,1239,1269,1369,1368,1432,1629,1426,1166,1216,1463,1644,1273,1333,1358,1173,1267,1352,1306,1447,1441,1456,1627,1649,1554,1428,1490,1498,1618,1733,1526,1606,1867,1920,1725,2230,2979,3163,3065,2507,1721,1576,1958,2347,2340,1946,1881,2201,1767,1571,1727,1566,1570,1771,1507,1601,1879,2403,2700,2080,1803,1844,1675,1756,1921,2046,2284,2498,2369,2356,2486,2618,2679,2608,2017,2052,2278,2467,2591,2369,2146,2306,2609,2578,2400,2511,2457,2188,1969,1936,2501,2721,2309,2135,2382,2753,1779,2079,2395,2164,2147,2025,2108,1908,1550,1498,1517,1780,2275,2720,1989,1662,1575,1513,1489,1648,2103,2230,1795,1517,1611,1751,2266,2501,2191,2902,2247,1888,1938,2048,1979,1687,1424,1450,1410,1274,1304,1321,1341,1411,1414,1372,1327,1426,1507,1548,1848,1829,1590,1812,1998,1769,1691,1724,1825,1711,1625,1681,1681,1590,1615,1520,1633,1708,1572,1384,1422,1595,1649,1978,2066,1898,1785,1931,2092,1930,1648,1754,1817,1961,1712,2158,1918,1814,1559,1892,1896,1571,1345,1374,1314,1471,2335,3331,3461,2541,1814,1767,1902,1439,1712,1825,1670,1798,1935,2024,1973,1687,1580,1448,1398,1559,1659,1798,1692,1566,1598,1654,1685,1536,1883,1956,1944,1780,1164,1213,1807,2183,2253,2099,2116,2028,2211,2576,1967,1466,1792,1665,1368,1048,1084,1391,1797,2042,1829,1736,1703,1697,1546,1630,1732,1689,1690,1724,1770,1855,1874,1901,1904,1792,1660,1594,1569,1577,1612,1545,1559,1528,1719,2020,2083,2098,1720,1688,1714,1714,1991,2001,1905,1658,1824,2586,2812,2526,2489,2103,1736,1538,1411,1573,1671,1754,1722,1490,1407,1636,1843,1982,1832,1576,1470,1568,1552,1461,1623,1467,1608,1659,1832,1745,2664,2216,1742,1549,1509,1614,2124,2108,1736,2014,1658,1715,1968,1948,1678,1665,1974,2388,2200,2330,2938,3276,3101,2837,2521,1712,1533,1469,1307,1791,1833,1635,1881,2177,2313,2585,2467,2140,2122,2012,1979,2008,1934,1997,1835,1731,1748,1830,1910,1840,1721,1858,1949,2147,2066,2043,1759,1699,1914,1944,1990,1952,1980,2161,2342,2647,2057,1771,1964,1632,1518,1688,1571,1656,2558,2945,2308,1782,1801,1405,1390,1621,1450,1627,1744,1657,1501,1444,1285,1331,1440,1570,1764,1844,1990,1824,1931,2243,2344,2109,2655,2943,2878,2626,1740,1549,1730,1950,2122,2132,2213,2005,1614,1421,1565,1290,1007,1399,1703,1879,1854,1742,1577,1684,1677,1271,1575,1793,1637,1576,1901,1980,2087,2106,2000,2143],[2285,1950,1633,1729,1942,1753,2139,2440,2723,3014,2756,2373,2486,1888,1377,1299,1447,2155,2642,2340,2633,2955,2898,2691,2691,3269,4048,3602,2604,2619,3194,3451,3488,3480,2531,1800,2264,3432,3676,2801,2958,3261,3697,3808,3585,3388,3459,3753,3805,3554,3608,3687,3366,3326,3072,3067,3185,2796,2568,2831,2484,1851,2139,2669,2768,2166,2354,2449,2580,2512,2139,2100,1941,2135,2279,2155,1750,1847,1962,2714,2708,3019,2536,2231,2486,2137,1835,2208,2286,1841,1812,1899,1952,1682,1826,1830,1879,2028,2170,2939,3061,2645,2777,2799,2728,3176,3438,3384,3432,3111,3573,4005,3926,4023,3758,2861,2544,2967,3308,2931,2492,2484,2938,3185,3209,3260,3548,3601,3427,3483,3595,3293,2696,3098,3181,3542,3684,3707,3841,3946,4198,4349,3824,2833,2506,2331,2685,2691,2355,2395,2652,3295,3627,3747,3890,4036,4057,3903,3604,3316,3570,3614,2990,2646,2580,2098,2265,2754,2209,1992,2158,2051,1786,1587,1678,1610,2350,3165,2813,2855,2890,3178,3104,3091,2933,3085,3144,2163,1900,1950,1763,2056,1998,1661,1820,1955,1862,1814,1881,1968,1726,1441,1490,1902,1664,1796,2996,3144,3144,3278,3229,2585,2290,2185,2130,2185,2550,2808,2643,2542,2622,2321,2342,2854,3376,3692,3586,3773,3852,3262,3654,3663,2906,1901,1846,1786,1821,1575,1803,1953,2574,2322,1800,1673,1492,2414,2928,2984,2691,2482,2376,2590,2712,2492,2192,2315,2747,2967,2677,2490,2225,2083,2220,2245,1834,1910,2188,1902,1974,2106,1915,1835,1938,1996,1929,1786,1742,1784,1423,1718,2490,2415,2272,2286,2135,2318,2490,2545,2525,2489,2436,2413,2362,2461,2533,2592,2419,2159,1949,2051,2266,2419,3163,3544,3140,2661,2131,2283,2461,2357,1764,1800,1653,1731,1782,1652,1827,2160,2174,2020,2522,2436,2298,1987,1853,2213,2366,2233,2009,1653,1485,1848,2289,1898,1869,1777,1931,2846,2758,1929,2040,2612,2144,1557,1572,1974,2037,1587,1698,1897,1651,2263,2080,1970,1920,1901,2211,2099,1644,1505,1445,1591,1832,1585,1529,1277,1293,1343,1393,1452,1588,1746,2190,2624,2330,2090,1924,1773,2200,2271,2115,1656,1697,1758,1699,1897,2295,2431,2523,2836,2380,2515,2134,2163,2258,2127,1974,2107,2102,2161,2070,2046,2402,2458,2402,2292,2226,2007,1717,1745,1640,1845,1855,1652,2016,2413,2204,2080,1689,1974,2131,2675,3519,2811,2578,2443,1998,1947,2045,1912,1654,2111,2752,2427,1760,1650,1827,1800,1897,1845,1768,1790,1888,1952,1949,2026,2220,2172,1739,2132,2240,1857,1671,1584,1500,1471,1681,1852,1635,1816,1797,1619,1970,2079,2415,2129,1620,1556,1495,1628,2203,2604,2595,2099,1731,1502,1619,1588,1388,1566,1712,1687,1774,2036,2018,1460,1831,2633,2030,1710,1505,1356,1401,1765,1878,1697,1538,1628,1770,1860,1787,2033,2574,1975,1570,1421,1501,1461,1415,1414,1560,1559,1743,1967,1685,1903,2224,2950,2588,2592,2485,2365,2146,1964,1789,1630,1924,2147,1960,1819,1732,1775,2174,2226,2204,2093,1739,1459,1584,1634,1464,1437,1684,1865,1974,1447,1463,1676,1561,1607,1701,1501,1564,1689,1836,2165,2780,2580,2451,2308,1887,2341,2720,3034,2425,1663,1470,1256,1186,1237,1106,1191,1294,1593,1642,1536,1650,1719,1687,1641,1306,1308,1540,1273,1184,1781,1594,1456,1495,1550,1290,2448,3392,3567,2500,1815,2090,1816,1238,1373,1829,1587,1344,1145,1230,1296,1350,1672,1760,1632,1417,1305,1754,1699,1926,1919,2317,1994,1700,1738,2297,2862,2885,2510,2414,2085,1608,1643,1773,1647,1635,1790,2060,2097,2093,2059,2020,2503,2741,1937,1448,1545,1802,1892,2072,2177,2200,2124,1964,1629,1433,1703,1996,1707,1473,1740,2503,2019,1581,1809,1795,1655,1600,1830,2097,2275,2548,2599,2492,2679,2170,1839,1593,1534,1556,1842,2048,2050,1668,1377,1297,1509,1998,2046,1959,1921,1909,2338,2043,2089,2080,1934,1920,1957,2764,3288,2165,1710,1909,1773,1837,1614,1485,1471,1598,1693,1750,2076,2259,1935,1550,1854,2001,2011,2225,2599,1813,1465,1787,2474,2488,1562,1715,2112,1764,1388,1430,1903,2864,3116,3012,2639,2089,2209,2758,3245,3334,3342,3238,2939,3310,3188,3248,2945,2838,2773,2569,2412,2048,2395,2935,2707,2689,3352,2787,1755,2149,2357,1841,1518,1586,1582,1828,2646,2919,2523,2344,2447,1996,2188,2456,2494,2115,2338,2474,2823,2730,2452,3131,3254,2216,2366,2920,2753,2116,2432,3122,3038,1688,1321,2035,3096,2986,1912,1921,1676,1475,2601,3774,3229,2635,1872,1806,2238,2146,2244,2411,2303,2340,2570,2780,2646,2998,3253,3100,3117,2486,2695,2417,1892,2363,2430,1930,2196,2405,3199,2578,2053,2676,2164,1866,2465,2765,2791,3116,2884,1969,1845,2390,2852,3698,3865,2968,2365,2517,2758,2524,2294,2333,2198,2098,3062,3792,3441,3436,3820,4020,3792,3608,3894,3881,3695,3602,3692,3884,3642,3184,2865,2668,2544,2414,2193,2285,2553,2404,2077,2007,1784,1870,2503,2074,1740,1915,1754,1522,1433,1554,1718,1663,1756,2208,2238,2050,1735,1562,1557,1658,2119,2204,1698,1533,1844,1815,1343,1524,2342,2745,2957,3128,3319,2768,1981,1952,1901,1876,1748,1783,1904,1853,1610,1703,1776,1788,1994,1920,1963,1936,1736,1835,1850,1810,1817,1734,1630,1489,1579,1600,1725,1614,1390,1804,1847,1796,1782,1368,1639,1736,1361,1358,1328,1235,1428,1370,1563,1606,1562,1667,1744,1835,1523,1522,2033,2250,2040,1973,1749,1726,1740,1507,1451,1499,2638,3189,2202,1697,2287,2403,1857,1892,2451,2233,1927,2570,2452,2482,2248,2052,2004,1566,1468,1560,1718,1838,1636,1897,2186,2040,1688,1600,1945,1799,2029,2726,2884,2778,2741,2806,2884,2410,2583,3429,2976,2820,3321,3497,3605,3548,3270,2206,1820,2291,1922,1799,2037,2014,1814,1832,1816,1673,1693,1471,1455,1804,1728,1682,1899,1711,1504,1476,1592,1760,1918,2031,1615,1317,1326,1361,1447,1400,1275,1189,1503,1774,1743,1679,1644,1358,1288,1268,1572,1583,1435,1364,1297,1383,1413,1352,1817,2267,1897,1551,1663,1776,1682,1408,1425,1454,1362,1311,1383,1516,1473,1621,1614,1350,1334,2002,2337,1810,1356,1644,1769,1352,1685,1688,1677,1789,1545,1260,1285,1486,1722,1708,1521,1483,1493,1516,1559,1686,1591,1686,1589,1313,1215,1383,1386,1387,1482,1738,2413,2670,2354,2608,2131,2145,2498,2636,2338,2324,2409,1997,1734,1788,2400,3210,3209,2757,2566,3041,2446,2295,2454,2079,2131,2418,3454,4354,4246,3926,3437,2323,2184,2626,3134,3378,3231,2251,1748,1582,1521,2519,3798,3974,3850,3608,3475,3930,4009,3646,3646,3894,3766,3747,4139,4268,4464,4640,4388,3974,4006,3995,4019,3908,3873,3876,4184,3903,3183,3420,3990,3551,3829,3640,3139,3630,3603,3397,3580,3252,2809,3431,4255,4396,4262,4363,4107,2811,2373,2643,2810,3344,3416,3330,3453,3362,2918,2715,2978,2852,2364,2457,3377,3618,3474,3374,3112,3295,3409,3283,3306,3716,3865,3008,2396,2483,1608,2220,1712,1559,1533,1414,1603,1770,1636,1500,1510,1522,1459,1321,1330,1300,1270,1229,1337,1985,2197,1826,1708,1690,1818,1633,1754,1772,1731,1401,1207,1252,1346,1495,1672,1659,1487,1301,1159,1248,1627,1550,1178,1244,1294,1231,1366,1588,1765,1670,1454,1400,1455,1496,1465,1440,1578,1617,1786,1698,1726,1854,1807,1743,1717,2085,2615,2618,2585,2351,1706,1748,2007,2176,2082,1890,2002,2024,1823,1788,1678,1249,1399,1720,1780,1872,1707,1476,1939,2021,2102,2077,1913,2064,1862,1798,2400,2366,2447,2525,2257,2160,2220,2278,1990,1958,2575,3165,3003,2505,2706,3294,2765,2639,2750,2614,2424,2221,1950,1874,2111,1886,1898,2139,2264,2618,2177,2512,2517,2102,1872,1919,1930,1784,1800,1538,1421,1543,1785,2144,1681,1465,1458,1601,1592,1991,2216,1705,1600,1374,921,1088,2009,2210,2046,2282,1914,1862,1736,1539,1644,1513,1553,1683,1527,1262,1182,1534,1883,2027,1751,1626,1654,1816,1811,1775,1898,1754,1572,1728,1824,1712,1764,1687,1699,1743,1686,1644,1416,1481,1604,1697,1697,1602,1626,1559,1565,1123,1387,1913,1943,1739,1691,1723,1792,1564,1591,1800,1767,1832,1830,1958,1721,1786,1677,1572,1735,1548,1401,1542,1192,1772,2208,2663,2624,2023,2010,2076,1823,1669,1813,1683,1720,1968,1956,2028,2097,1995,2087,1914,1658,1696,1765,1708,1591,1417,1339,1528,1783,1883,2103,2018,2025,1903,1573,1660,1892,1967,1908,2296,2855,2608,2452,2399,1926,1517,1692,1480,1220,1164,1412,1792,2288,1936,1500,1604,1650,1563,1381,1516,1552,1508,1667,1712,1655,1679,1696,1758,1829,1758,1732,1882,1911,1937,1914,1992,2123,1996,2097,2243,2328,2142,1730,1697,1666,1954,2188,2588,2458,1814,1622,1939,2214,2907,3197,2284,1529,1370,1320,1628,1943,1942,1655,1402,1398,1660,1543,1503,1543,1701,1902,1876,1708,1415,1486,1701,2465,2132,1788,1642,2073,2338,1929,1558,1676,1704,2078,1948,2190,2147,1640,1980,2305,1957,1699,1878,2184,2557,2471,2223,2082,2025,1856,2190,2359,1924,1643,1527,1615,1922,2124,2495,2662,2567,2278,2059,1893,1872,1911,1806,1759,1753,1697,1664,1738,1915,2036,2005,1932,1765,1661,1789,1655,1810,1539,1651,1717,1807,1935,1881,1854,1882,1735,1873,2198,2244,1920,1664,1665,1630,1487,1853,1866,1574,2100,2630,2454,1976,1375,1306,1490,1458,1438,1402,1498,1560,1392,1315,1348,1324,1487,1636,1495,1641,1738,1897,2010,2361,2434,2212,2720,3132,2786,2500,2320,2491,2754,2844,2328,2690,2392,1760,1519,1715,2182,1972,1807,2041,1877,1815,1605,1172,1094,1507,1736,1635,1714,1942,1900,2199,2681,2298,1778,1695,1634,1594],[1801,1601,1101,1470,2082,2208,2215,2420,2839,2835,2209,2013,2316,1863,1094,1424,1765,1860,2317,2285,2858,3384,2875,2817,3071,3748,4344,3874,3124,3120,2996,3418,3448,3398,2590,2041,2365,2599,2339,2540,2880,3305,3820,3586,3417,3230,3171,3726,3925,3588,3564,3686,3523,3404,3245,3161,3333,3603,2718,1807,1708,2040,1980,2391,2336,1757,2129,2403,2866,2742,2159,2454,2365,2249,2345,2267,2135,1967,2171,2659,2844,2792,2635,2521,2231,1912,2048,1881,1823,2053,2070,1719,1626,1459,1613,1701,2186,2203,1838,2213,2120,1971,2170,2036,2109,2876,3177,3416,3238,3060,3514,3940,3968,4095,4051,3539,2647,2338,2610,3233,3222,3360,3108,3169,3212,3276,3589,3378,3383,3542,3277,3091,2978,3161,3049,2962,2685,2938,3178,3203,3012,2844,2910,2801,2723,2977,2859,2943,2458,2361,2390,2665,3110,3596,3860,4202,4111,3698,3068,2987,2868,2664,2634,2642,2361,2170,2562,2351,1647,1852,1992,1743,1615,2025,1780,1902,2387,2756,2548,2557,2907,2817,2600,2379,2249,2696,2655,1983,1699,1870,1841,1911,1944,1728,1764,1854,2372,2707,2410,2040,1876,1632,1544,1831,1648,1957,3001,3131,3025,3020,2856,2213,2163,2455,2233,2160,3105,3439,2907,2206,1975,2261,2211,2576,3195,3384,3272,3394,3514,3233,3676,3228,2140,2021,2167,1873,1514,1541,1487,1959,2889,2503,1878,1648,1752,2766,2376,2269,2365,2743,2623,2789,2878,2264,2089,2066,2426,2710,2601,2184,2438,3018,3052,2512,1885,1758,1554,1670,2302,2178,1792,2098,2557,2272,1887,1552,1472,1422,1135,1922,3013,2419,1900,2210,2261,2408,1996,1718,2077,2285,2605,2464,2115,2236,2576,2601,2601,2829,2604,2277,2481,2415,3323,3710,3210,2598,2192,2402,2746,2217,1737,1687,1691,2042,1772,1612,1671,2113,2668,2513,2293,2067,2131,2292,2354,2120,1614,1602,1730,1762,1594,1666,2339,2198,2344,2001,1565,2083,2091,2107,2481,2675,2553,2232,1967,2313,1872,1650,1842,1914,1700,1921,1594,1494,1744,1707,1859,1953,1969,1732,1582,1465,1628,1772,1801,1411,1329,1671,1656,1512,1726,2012,2266,2468,1885,2053,1976,1778,1947,1976,1984,1852,1700,1665,1779,1720,1882,2225,2710,2590,1967,1766,1824,2412,2425,1973,2098,2121,1664,1451,1604,1874,1673,1908,1896,1677,1752,1637,1605,1579,1642,1804,1711,1795,2230,3019,2770,2289,2037,2094,2029,2249,2643,2499,2306,2176,1999,1941,1954,1902,1775,1806,1801,1714,1590,1672,1737,1692,1739,1743,1691,1831,1683,1566,1978,2290,3085,2661,1669,2094,2475,1990,1532,1334,1399,1505,1831,1981,1874,1731,1784,1627,1521,2126,2686,2022,1548,1584,1566,1847,2017,2401,2508,2084,1876,1898,2126,1997,1553,1478,1445,1379,1439,1907,2177,2017,2194,2437,2085,1961,1682,1539,1526,1569,1826,2044,1914,1844,2043,1743,1775,1856,2216,1990,1779,2025,1996,1637,1439,1564,1966,1563,1646,1730,1568,1519,1785,2458,2241,1956,2134,2232,2014,1888,1595,1677,1990,2058,2163,2026,1721,1359,1604,1840,1880,2067,1847,1425,1529,1733,1440,1486,1992,1930,1805,1646,1740,1922,1766,1824,1858,1659,2080,2106,1911,1908,2732,2844,2518,2131,1463,1753,2484,2769,2303,1774,1580,1451,1318,1223,1183,1347,1340,1494,1542,1449,1802,2280,2380,2114,1480,1371,1284,1134,1410,1820,1661,1478,1422,1400,1272,1919,2980,2885,1953,1626,1804,1662,1324,2043,2119,1771,1571,1388,1522,1578,1475,1670,1646,1493,1454,1333,1505,1540,1659,1681,1843,1567,1723,2121,2125,2723,3308,2791,2680,2082,1638,1788,1700,1614,1771,1837,2014,2071,2064,1975,1809,2217,3098,2217,1642,1834,1831,1709,1636,1758,2342,2620,2166,1671,1455,1493,1748,1697,1336,1394,2126,2177,1694,2084,2139,1835,1963,2221,2720,2517,2270,2570,2729,2708,2267,1640,1353,1285,1490,1760,1976,1947,1671,1597,1536,2235,2304,1923,1893,2005,1896,2155,2056,1989,2040,2307,2069,2175,2896,3459,2238,1791,2170,2007,1702,1677,1523,1278,1620,1892,1920,2034,2004,1808,1279,1753,2062,2436,2899,2426,1550,1440,1959,2594,2234,1415,1751,1743,1296,1705,1875,2083,2636,2878,3146,2687,2029,1948,2500,3189,3217,3599,3496,3234,3608,3651,3453,2875,3015,2812,2076,2155,2393,2629,2840,2246,2203,2517,2452,2404,2584,2504,1974,1721,1712,1614,1973,2335,2086,2217,2386,2442,1840,2314,2518,2436,2263,2547,2485,2263,2501,2622,3008,2920,2026,2465,3098,2415,2101,2345,2944,3021,1892,1565,2181,2620,2689,2198,2248,1553,1658,2575,3662,3072,2315,1935,1970,2255,2589,2417,2174,2624,2553,2048,1924,2199,2442,2498,2234,2172,2315,2417,2428,2525,2510,2221,1803,2267,2121,3140,3100,2824,2676,2550,3045,2845,3065,3357,3343,2503,2052,2351,2939,3307,3597,3120,2639,2295,2266,2752,3167,2977,2666,2445,2307,3275,3610,2756,2739,3582,3716,3676,3864,4184,4003,3759,3650,3697,3819,3620,2890,2530,2731,2483,2172,2044,2332,2635,2474,1891,1753,1748,1747,2375,1785,1609,1476,1485,1386,1344,1520,1482,1389,1671,1981,1963,1778,1620,1529,1635,2264,2304,2194,1788,2067,2066,1751,1731,2081,2474,2950,3105,3205,3496,3433,2674,2227,1691,1667,1778,1780,1864,1821,1910,1953,1843,2160,2206,1735,1687,1839,2086,2146,1917,1740,1754,1823,1747,1781,1762,1729,1816,1562,1709,2169,2188,2079,1740,1557,1825,1688,1305,1241,1227,1382,1876,1961,1969,1874,1614,1742,2110,2221,1929,1822,2129,2190,2227,2263,2105,2165,2577,2221,1907,1595,1840,2222,2007,2080,2625,2872,2265,2048,2579,2135,2232,2490,2502,3216,3349,2634,1810,1517,1687,1610,1968,2118,2084,2199,2294,1686,1598,1848,2019,1682,1966,2663,2587,2574,2741,2729,2781,2444,2723,3271,2698,2707,3195,3408,3392,3481,3542,2822,2287,2256,1832,1884,2020,2026,1950,1838,1827,1723,1684,1594,1532,1691,1699,1699,2154,1779,1446,2006,2164,1580,1450,1938,2249,2127,1790,1804,1686,1676,1249,1141,1539,1745,1544,1463,1453,1461,1423,1609,1964,1670,1357,1294,1394,1339,1299,1403,1699,1983,1731,1651,1708,1710,1758,1535,1367,1542,1495,1344,1713,1656,1414,1456,1632,1433,1461,2230,2252,1592,1475,1808,1750,1451,1401,1303,1623,2094,1717,1321,1149,1363,1729,1562,1317,1313,1342,1459,1472,1574,1630,1538,1323,1350,1478,1416,1442,1482,1603,1700,2570,3252,2928,3107,2517,2364,2886,2768,2148,2381,2387,1893,1843,1986,2504,2372,2841,3131,3010,3218,2258,2319,2692,2425,2441,2402,3535,4223,4069,3876,2922,2566,2514,2910,3471,3805,3486,2318,1624,1579,2137,2998,4054,4124,3585,3448,3889,4236,4134,3455,3218,3584,3416,3434,3937,3863,4027,4425,4244,3260,3460,3895,3968,3781,3339,3326,3604,3915,3754,3317,3488,2924,3638,3719,3487,3711,3861,3733,3846,3482,2819,3370,4260,4491,4395,4219,4332,3355,2449,2946,3137,3177,3274,3372,3420,3509,3206,2868,3015,3218,3284,3050,3384,3793,3640,3473,3476,3455,3488,3484,3459,3708,4049,3437,3103,2742,1843,1985,1767,1768,1592,1440,1548,1643,1592,1345,1475,1624,1460,1256,1224,1320,1452,1498,1686,1845,1529,1337,1219,1202,1366,1725,1735,1796,1615,1302,1324,1462,1391,1535,1725,1469,1156,1069,1323,1288,1424,1288,1163,1282,1340,1327,1366,1395,1457,1410,1471,1399,1520,1487,1649,1736,1683,1722,1747,1721,1841,1769,1577,1763,1969,1676,1763,1843,2060,2139,1941,2066,2354,2172,2028,2210,2156,1943,1825,1853,1710,2166,2204,1798,1839,2020,1795,2031,2308,2050,1944,1626,1940,2218,2541,2546,2482,2153,2398,2481,2095,2126,2482,2753,2746,2540,2698,2620,2787,2286,3272,3480,2577,2952,3129,2644,2512,2018,1812,1978,1713,1575,2124,2663,2482,2265,2420,2339,2334,2228,1897,1900,1941,1996,2104,1979,1626,1265,1899,2099,1843,1698,1656,1666,1569,2210,2252,1968,1888,1468,1527,1804,2166,1917,2225,2439,2061,1818,1590,1570,1931,1455,1457,1562,1549,1179,1311,2228,2494,2078,1850,1780,1839,1850,1796,1719,1716,1690,1770,1723,1866,1920,1827,1567,1509,1400,1237,1272,1282,1559,1562,1635,1559,1255,1478,1610,1515,1460,1918,2122,1990,1852,1863,1729,1841,1472,1345,1501,1738,1714,1832,1841,1702,1715,1603,1526,1697,1508,1470,1518,1329,1838,1834,1626,1362,1707,2207,2096,1665,1664,1677,1809,2002,2154,2133,2237,2361,2329,2272,2028,1748,1995,2326,2327,2148,1779,1691,1570,1995,2596,2404,1993,1975,2007,1897,1899,1842,1876,2363,2809,2732,2512,2401,1858,1817,1760,1855,1830,1560,1735,2251,2591,2763,2019,1571,1786,1639,1472,1236,1291,1355,1258,1401,1698,1722,1739,1787,1817,1790,1817,1792,1774,1846,1826,1818,1940,2044,1972,2001,1980,1993,2080,2120,1898,1996,2048,1937,2177,2375,1981,1697,1565,2079,2933,2561,1918,1581,1705,1610,1700,1571,1505,1453,1350,1712,1893,1556,1511,1708,2138,2545,2161,1741,1483,1477,2096,2648,1987,1783,1675,1531,1853,1949,1745,1653,1608,1842,1830,2024,1741,1736,2195,2455,2116,1947,1969,1712,2058,2222,2091,1956,1906,1886,1749,1880,1839,1780,1660,1652,1967,2427,2477,2420,2204,1921,1725,1751,1744,1747,1692,1811,1874,1856,2016,2036,2120,2141,1806,1513,1137,1156,1425,1710,1790,1636,1636,1606,1649,1487,1549,1752,1817,1681,1697,2028,2259,2117,1855,1899,1921,1918,1911,1682,1632,2003,2663,2482,2043,1623,1589,1608,1427,1402,1519,1623,1485,1425,1438,1470,1455,1579,1636,1665,1748,1625,1892,2113,2077,1930,1976,2190,2302,2087,2188,2921,3386,3322,3094,2513,2768,2522,1676,1634,1914,1903,1788,2106,2106,1753,1729,1605,1137,1276,1755,1966,1690,1623,2173,2707,2706,2364,2190,2021,1721,1712,1728],[1968,1697,1717,2072,2518,2513,2586,2676,2712,2402,2040,2090,2124,2319,1807,1940,2317,2394,2475,2834,3452,3323,2810,2829,3295,3906,4236,4153,3680,3603,3545,3425,3281,3284,2547,2117,2010,1792,2072,2426,2923,3329,3442,3285,3097,2983,2980,3417,3820,3819,3702,3593,3484,3372,3292,3076,3060,2717,2075,1737,1628,1644,1712,2116,1936,1731,1919,2076,3008,3153,2422,2713,2542,2238,2138,2097,2230,2002,1918,2207,2714,2977,2705,2075,1663,1903,2336,1650,1504,1555,1455,1579,1561,1595,1794,1748,2053,2333,2533,2355,2214,2155,2286,2423,2485,2558,2496,2753,3139,3216,3387,3679,3962,4139,4139,3797,2734,2298,2436,3129,3619,3328,3037,3208,3156,3067,3392,3095,2943,3207,2945,2915,3354,3386,3244,2824,2537,2883,2983,2673,2419,2426,2893,3251,2986,2976,2730,2485,2413,2464,2460,2276,2396,2887,3579,4199,3880,3499,2504,2721,2916,2655,2565,2358,2233,2504,2639,1793,1564,1598,1962,2503,2396,2632,2612,2437,2454,2435,1758,2149,3166,3185,2808,2472,2402,2744,2598,2065,1777,1715,1648,1697,2074,2238,2060,1979,2642,2955,2964,2597,2095,1755,1750,1873,1692,2475,3239,3054,2381,2476,2990,2632,2112,2200,2261,2327,3161,3304,2504,1729,1631,2138,2454,2702,2580,2331,2032,2603,3235,3281,3516,2744,1853,1967,2038,1786,1576,1685,1512,1972,3081,3410,2422,1495,1700,2437,2544,2677,3056,3284,2746,2675,2423,1770,1750,1522,1960,2029,2303,2067,2253,3044,3124,2542,1576,1001,1040,1693,2006,1770,1889,2558,2874,2337,1867,1644,1554,1607,1294,1775,2817,2618,1718,1750,1703,1922,1627,1942,2258,2191,2448,2750,2676,2673,3000,3008,2584,2778,2592,2234,2453,2389,2408,2759,2812,2609,2329,2294,2344,2067,1986,1692,1710,1575,1611,1721,1717,2080,2839,3099,2974,2544,2148,2136,2366,2386,1483,1466,1601,1658,1841,1688,2429,2601,2274,1809,1722,1849,1660,1853,2520,2872,2835,2326,1660,1762,1529,1739,1859,1621,1573,1549,1438,1443,1834,1660,1761,1707,1718,1744,1778,1697,1677,1976,2024,1578,1539,1697,1437,1535,1662,1859,2191,1993,1810,1828,2210,2353,2078,2094,1752,2127,2486,1993,1849,1713,1534,2273,2910,2320,1785,1607,1888,2692,2784,2278,2525,2468,1698,1396,1346,1403,1363,1757,2018,1956,1699,1478,1626,1661,1729,1888,2160,2377,2428,2952,2834,2562,2449,2120,1864,1854,1880,1908,1774,1644,1626,1616,1597,1852,1694,1565,1600,1313,1329,1632,1688,1760,1832,1887,1626,1876,1654,1560,1712,2032,3292,3188,2233,2303,2496,2107,1747,1553,1547,1683,1664,1550,1665,1591,1543,1561,1451,1904,2571,2159,1748,1992,2144,2210,2174,2182,1894,1604,1782,2100,2350,2029,1434,1529,1510,1833,1907,2181,1837,1943,2507,2517,2082,1877,2104,2328,1892,1717,1562,1735,1801,1806,1820,1649,1639,1537,1571,1716,1796,1903,2026,1809,1473,1483,1542,1588,1721,1539,1670,1620,1634,2177,2144,1769,2361,2494,2321,2298,1839,1542,1697,2099,2338,2003,1691,1582,1915,1967,1818,1938,1616,1156,1533,1649,1568,1763,1903,2020,1764,1521,1563,1654,1706,1704,1890,2011,2337,2298,1958,1875,2402,2531,2109,1758,1387,1753,2568,2706,2044,1593,1503,1504,1564,1572,1434,1449,1313,1349,1443,1369,1444,1425,1388,1460,1482,1843,1828,1498,1693,1787,1703,1566,1427,1322,1227,1394,2326,3532,2564,1826,1522,1636,1562,1920,1808,1496,1404,1316,1490,1609,1665,1778,1560,1437,1544,1388,1330,1352,1377,1438,1562,1624,1781,2002,2312,2968,3222,2913,2324,1740,1655,1731,1616,1677,1800,1903,2029,1924,1753,1657,1638,1721,2460,1959,1960,2230,1914,1774,1788,1904,2326,2382,2005,1583,1544,1497,1497,1550,1381,1438,1750,1929,1885,2140,2320,2057,1962,1839,2043,1584,1802,2598,2889,2112,1418,1321,1337,1424,1547,1691,1762,1715,1697,1720,1825,2833,2389,1947,2079,1890,1858,2111,2150,1758,2100,2736,2248,2060,2070,2570,2082,1528,1648,1782,1763,1826,1721,1655,1874,1546,1588,1594,1754,1259,1443,1731,1778,2078,2350,2015,1506,1704,2052,2108,1794,1541,1386,1274,1721,2353,2153,2467,2273,2377,2691,2319,2375,2455,2591,3097,3282,3496,3231,3081,3394,3373,3001,3108,3571,3241,2524,2369,2196,2655,2050,1917,1743,1857,2250,3000,3440,3155,2298,1730,1598,1530,2113,2210,2625,2623,2670,2618,2376,2476,2557,2406,2490,2577,2258,2087,2503,2132,2908,2864,2426,2872,3340,2566,2398,2727,3239,3698,2732,1941,2474,2182,1705,1720,2525,1799,1789,2396,3002,2787,1893,1419,1565,2054,2305,2173,2396,2887,2598,1986,1986,2166,1948,2079,2322,2002,1834,1882,2338,2287,2223,2376,1950,1385,1490,2636,3118,2512,2270,2476,2706,2513,2699,3050,3027,2061,2450,2698,2867,2519,2647,2171,2712,3028,2809,3352,3835,3657,3328,2434,2124,3309,3532,2899,2705,3165,3198,3205,3551,3889,3836,3353,3181,3624,3641,3089,2098,2053,2678,2584,2104,1886,2198,2541,2335,1837,1722,1752,1553,1859,1663,1694,1484,1408,1404,1319,1338,1414,1703,1815,2048,2045,2043,1535,1425,2151,2526,2235,2043,1980,1980,1787,1766,2054,2162,2181,2840,2902,2819,2799,2696,2820,2261,1908,2348,1954,1765,1754,1659,1821,1655,1499,2070,1987,1776,1726,1710,2244,2714,2446,2005,1688,1644,1749,1794,1783,1896,1848,2020,2320,2474,2415,2119,1765,1671,1741,1624,1403,1385,1377,1437,1163,1406,2107,2017,1761,2026,2382,2267,1937,1622,1743,1950,2361,2991,2193,1801,2357,2150,1743,1513,1378,1530,1904,2016,2075,2848,3278,2878,2823,2398,2432,2146,2405,3372,3507,2711,1610,1538,1491,1562,2148,2121,2250,2056,1493,1274,1337,1488,1739,1838,1994,2281,2375,2428,2230,2252,2511,2385,2647,3200,3388,3278,3587,3880,3814,3764,3702,3186,2609,2098,1654,1560,1712,1942,1991,1936,1860,1712,1556,1487,1621,1562,1715,1906,1995,1928,1621,1941,2260,1829,1455,1560,1918,2165,1849,1788,1788,1942,1651,1576,1721,1344,1154,1377,1442,1551,1592,1628,1808,1642,1382,1350,1392,1294,1368,1434,1457,1458,1391,1535,1726,1658,1685,1495,1321,1310,1265,1313,2111,2320,1785,1510,1483,1470,1706,1671,1276,1239,1332,1377,1312,1284,1263,1273,1609,1766,1545,1267,1219,1338,1836,1544,1604,1400,1436,1478,1509,1706,1872,1780,1758,1923,1681,1395,1478,1337,1513,1619,2410,2951,3156,3176,2732,2514,2222,1796,2003,2394,2403,2643,2296,1886,2777,3364,3726,3592,3238,3167,2800,2618,2946,2722,2345,2209,3701,4167,3848,3417,2557,2820,2746,3310,3990,4096,3652,2216,2148,3012,3418,3221,3604,3826,3461,3230,3509,4078,3685,3028,3330,3544,3435,3216,3465,3522,3919,4095,4183,3652,3731,3950,4006,3930,3631,3234,3096,3328,3430,2996,2783,2496,3604,4236,3752,3088,3362,3760,4018,3820,3119,3106,4059,4500,4409,4078,4287,3462,2479,2666,3043,3089,2977,3492,3580,3820,3583,3085,3109,3374,3651,3415,3364,3682,3818,3566,3406,3284,3370,3433,3377,3392,3567,3426,2880,2536,2246,1755,1542,1549,1474,1416,1302,1337,1378,1447,1556,1592,1356,1592,2075,2313,2518,2814,2919,2204,1368,1272,1079,1188,1460,1814,1867,1897,1700,1366,1475,1628,1345,1566,1767,1686,1384,1166,1183,1272,1434,1343,1309,1336,1255,1340,1430,1306,1209,1313,1430,1602,1599,1698,2061,1908,1643,1688,1747,1739,1721,1829,1918,2417,2733,2347,2077,2020,1862,1857,2111,2454,2323,1880,1998,2158,1902,1627,1678,1699,1862,2954,2333,1536,1926,1984,1980,2276,2214,2368,2275,2123,2551,2798,2954,2972,2666,2204,2382,2252,1685,1742,2188,2652,2514,2269,2508,2235,2595,3008,3200,2887,3062,3242,2541,2433,2824,2124,1704,1854,1946,2004,1890,2210,2264,2422,2338,2170,2552,2641,2508,2452,2223,1758,1967,2108,1650,1380,1932,1953,1979,1854,1489,1537,1678,1987,2019,2195,1849,1789,2153,2458,2141,1965,2094,2104,1633,1495,1454,1488,1674,1280,1265,1472,1658,1595,1725,2089,1997,1853,1802,1776,1836,1821,1700,1717,1466,1476,1679,1664,1689,1652,1331,1196,1350,1278,1306,1498,1443,1522,1611,1636,1547,1457,1526,1782,1641,1602,1885,1967,1972,1902,2025,1929,1823,1587,1345,1636,1714,1528,1836,2026,1898,1666,1567,1570,1477,1390,1539,1356,1629,2072,2091,1804,1720,1855,1996,2026,1836,1761,1538,1975,2214,2136,2076,2179,2175,2182,2286,2048,1678,2458,3615,3652,3406,3165,2645,1896,2161,2302,1853,1692,1936,2066,1858,1930,2013,2104,2578,2609,2533,2357,2041,1981,2070,1782,1698,2120,2483,1954,2300,2200,2047,1572,1691,1930,1623,1611,1561,1511,1568,1355,1481,1667,1609,1558,1648,1670,1813,1924,1858,2084,2132,1929,1821,1850,1844,1896,2043,1908,1787,1788,1849,1880,1946,2059,1935,2082,2575,2711,2222,1825,2468,2614,2023,1829,1851,1932,1606,1570,1654,1544,1459,1435,1508,1615,1493,1470,1516,1644,1818,1954,1642,1468,1610,2224,2060,1724,2072,1703,1448,1564,1688,1597,1486,1772,1726,1651,2181,2337,1908,1680,1835,1985,2001,2082,1729,1913,1924,2008,2288,2325,2145,1970,1841,1772,1686,1576,1640,1800,1947,1867,1761,1747,1824,1884,1826,1820,1806,1716,1986,2143,2034,2260,2178,2032,1797,1571,1782,1589,1357,1512,2119,2386,1831,1544,1555,1660,1541,1563,1579,1816,2048,1957,1749,2173,2272,1736,1745,2232,2311,1914,1724,1612,2336,2934,2965,2517,1847,1584,1512,1393,1412,1434,1534,1433,1354,1353,1362,1515,1661,1576,1710,1654,1609,1916,2456,2828,2500,2304,2382,2146,2248,2564,2996,2914,2457,2352,2567,2899,2249,1737,1758,1855,1686,1696,1874,1478,1588,1536,1259,1185,1156,1450,1892,1619,1633,1975,2052,2625,2208,1908,2110,1823,1947,2318],[2329,2141,1859,1972,2497,2351,2024,2185,2403,2494,2452,2362,2504,2197,1800,1868,2238,2536,2901,3294,3452,3243,2984,3027,3572,4124,4311,4079,3049,2728,2776,3056,3177,2874,2352,2308,2145,1891,2519,2881,3277,3034,3031,2978,2953,2942,2955,3177,3624,3989,3781,3218,3111,3475,3542,3392,3382,2816,2393,2003,1832,1785,1847,2453,2433,1857,1828,2137,2533,2680,1891,2394,2752,2546,2242,2015,2031,1935,1558,1619,2078,2633,2647,2264,1718,2422,2813,2259,1817,1776,1895,1775,1681,1995,2318,1869,1975,2815,2511,2368,2744,2689,2935,3275,3106,2614,2370,2665,3231,3001,3199,3484,3642,4014,4132,4019,2995,2229,2246,2821,3403,3375,3243,3173,3344,3152,3072,2855,2462,2742,2486,2399,3090,3704,3240,2399,2504,3321,3450,3212,2730,2282,2728,3162,3431,3351,2414,1834,2478,2929,2713,2345,2341,2794,3175,3585,3184,3103,3001,2967,2679,2497,2470,2602,3003,2677,2041,1576,1419,1709,2776,3466,2629,2666,3148,2814,2668,2427,1804,2365,2990,2530,2612,2920,3190,3023,2730,2498,2268,2039,1811,1758,1902,2158,1973,1866,2093,2122,2457,2203,1932,2139,1816,1900,2142,2888,3418,2753,2526,3033,3477,3294,2370,2758,2314,2159,2475,2350,1811,1466,1511,1734,2261,2297,1991,2172,1730,1599,2013,2491,3029,2331,1991,1958,1924,1767,1555,1387,1437,1915,2290,2593,2105,1569,1709,2184,2523,2464,2545,2408,2071,2197,2116,1650,1759,1448,1936,2431,2778,2764,2447,2195,2419,2045,1274,1008,991,1618,1859,1822,1894,2493,2548,2119,1862,1669,1799,1855,1609,2158,2723,2603,1862,1878,1857,2131,2372,2745,2482,2448,2861,2930,2730,2853,3136,3146,2563,2373,1980,2402,2608,2476,2156,2380,2908,2898,2642,2630,2475,2227,1815,1477,1931,1583,1492,1809,1914,2307,2698,2350,2302,2387,2128,1947,1926,2109,1670,1631,1495,1562,1749,1788,2665,3028,2288,1855,1875,2081,1936,2344,3086,3230,2408,2023,1879,1674,1968,2309,1753,1436,1587,2121,2510,2361,1955,2081,1935,1521,1418,1468,1555,1737,1830,1801,1823,1677,1661,1770,1650,1534,1675,2181,2003,1749,2042,1901,1986,1938,2104,2103,1265,1715,1972,1763,1664,1668,1821,2268,2137,1764,1521,1528,2039,2399,2329,2698,2522,2818,2059,1583,1404,1498,1542,1793,2084,2032,1822,1601,2066,2059,1544,1699,1833,2266,2101,2177,2307,1982,1557,1327,1462,1716,1881,1833,1643,1423,1526,1537,1836,1956,1591,1375,1257,1266,1628,1783,1799,1961,2014,1997,1700,2022,1758,1668,1608,1813,2931,3427,2942,3076,3094,2290,2010,1902,1854,1534,1668,1865,1594,1465,1556,1779,1557,1662,2130,1741,1525,1859,2274,2285,2408,2242,2124,2075,2294,2459,2387,2070,1637,1644,1930,2256,2386,2556,2031,1537,1772,1757,1599,1636,1889,2034,1606,1444,1339,1468,1935,2165,2026,1809,1578,1451,1448,1586,1875,2151,2197,1920,1490,1548,1754,1869,1759,1531,1944,2056,1779,1917,1970,1834,2341,2459,2562,2332,1877,1601,1806,2447,2411,1814,1860,1949,1692,1709,2215,2034,1820,1376,1961,1963,1625,1553,1583,1692,1688,1488,1576,1693,1547,1416,1599,2052,2577,2433,2128,2121,2192,2074,2116,1916,1540,1992,2566,2323,1971,1875,1644,1555,1646,1432,1539,1560,1353,1542,1751,1546,1269,1191,2153,2128,1637,1921,1937,1686,1776,1957,1849,1620,1432,1319,1297,1486,2007,3371,2568,1786,1606,1730,1566,1666,1663,1315,1191,1239,1432,1411,1375,1360,1321,1278,1283,1281,1283,1289,1366,1488,1638,2075,3138,3283,3147,3283,3260,2548,1840,1727,1749,1605,1597,1733,1870,2018,2022,1795,1533,1573,1627,1847,2099,2024,2229,2266,1916,1888,2364,2272,2042,1930,1750,1600,1644,1566,1433,1460,1509,1535,1310,1327,1801,1963,2227,1753,1469,1593,1689,1724,1842,2204,2440,1828,1531,1628,1769,1737,1830,1759,1604,1751,1889,1887,1693,2599,2545,1830,1686,1717,1781,1930,2071,1585,2080,2357,2057,1750,1889,2308,1936,1718,1785,1741,1701,1719,1893,2267,2369,1936,1748,1597,1748,1479,1779,1810,1755,2089,2166,1758,1625,2128,2062,1912,1669,1414,1594,1613,2324,2330,2111,2760,2853,2478,2079,2285,2843,2750,2813,2900,2993,2994,3159,3000,3128,3447,3364,3260,3287,3303,2908,2059,2066,2957,2409,1913,1779,1848,1886,2098,2755,3006,2185,2124,2193,1819,2764,2378,2991,2309,2198,2978,2951,2557,2607,2867,2847,2492,2669,2587,2498,2617,2535,2675,2941,2577,2311,2457,2645,2745,2482,3066,2322,2272,2342,2024,1502,1485,2223,1973,2345,2811,2666,2350,1470,1503,1838,1845,1755,1636,1757,2603,2277,2098,2234,1969,1947,1941,2088,2482,2467,2634,2928,2207,1560,2006,1948,1774,2077,2541,3003,3075,2734,2460,2175,2666,2696,2260,2447,2283,2638,3045,2844,2727,2567,2253,2835,2373,2196,2951,3830,3922,3327,2943,2608,3191,3221,2973,2873,2820,2732,2714,2936,3164,3229,2894,2928,3420,3550,2891,2148,2263,2788,2690,2308,2007,2042,2512,2370,1834,1733,1661,1502,2048,2159,1869,1621,1577,1496,1368,1432,1798,2486,2189,2343,2204,2231,1686,1578,1979,2013,1769,1755,1735,1597,1625,1767,1823,1708,1932,2108,2003,2585,3320,3352,3162,2371,2463,2963,2203,1936,1662,1747,1885,1774,1839,2034,1824,1902,1859,1731,2373,2984,2732,2398,1830,2452,2621,1852,1671,1742,1621,1665,1738,1817,1787,1878,2036,1904,1850,1973,2115,1880,1791,1677,1533,1933,2089,1829,1612,1794,1907,1614,1420,1339,1897,1982,2287,2881,2201,1893,2044,1621,1108,1328,1570,1911,1992,1956,2004,2888,3774,3186,3100,3086,2645,2188,1903,2018,2442,2059,1327,1461,1283,1170,1878,1944,1803,1681,1626,1710,1394,1497,1699,1896,1732,1510,1639,1738,1772,1858,1731,2105,2480,2622,2761,3196,3673,3607,3727,3764,3449,2614,2155,1805,1862,1954,1909,1967,2010,2047,1793,1489,1249,1394,1544,1458,1862,2021,1771,2014,1956,1707,1637,1748,1844,1866,1675,1559,1362,1467,1736,1828,1722,1648,1283,877,1171,1448,1534,1388,1290,1329,1404,1541,1428,1340,1271,1278,1328,1321,1282,1327,1348,1603,1762,1563,1663,1520,1456,1410,1255,1722,2500,2048,1520,1556,1452,1410,1539,1465,1511,1425,1313,1265,1191,1204,1263,1340,1265,1283,1396,1318,1283,1893,2332,1550,1493,1411,1396,1425,1572,1755,1765,1803,1893,1565,1453,1542,1499,1407,1603,1541,1911,2264,2544,2385,2108,1872,1478,1808,2318,2482,2758,3025,2768,2470,3095,3840,3895,3787,3595,3464,3277,2834,2674,2568,2185,2131,3570,4124,3437,2175,2355,3201,3418,4254,4461,4433,3776,2223,3186,4110,4385,3958,3140,2713,2850,2435,2606,3357,3252,3334,3971,3494,3686,3914,3682,3530,3317,3529,3735,3638,3827,3843,3902,3918,3588,3320,3317,3061,2915,2689,2219,2514,3668,4177,3762,3473,3492,3875,4229,4242,3785,3034,3727,4353,4400,4001,4159,3662,2565,2564,2986,3239,2777,3555,3459,3731,3673,3266,3098,3345,3480,3391,3294,3601,3796,3430,3293,3194,3275,3220,3195,3090,2965,3162,3133,2888,2343,1710,1414,1434,1310,1664,1416,1606,1581,1579,1541,1431,1380,2194,3122,3188,3260,3306,3011,2116,1330,1278,1288,1654,2011,1883,1810,1853,1859,1703,1526,1274,1154,1233,1237,1760,1490,1355,1327,1528,1465,1290,1287,1197,1168,1289,1387,1248,1286,1257,1428,1722,1891,2030,1954,1632,1448,1541,1676,1830,1964,1825,2032,2508,2521,1932,1736,2112,1952,1816,2091,2359,1946,1587,1654,1499,1737,1720,2026,2038,1876,2674,2521,1615,1723,1989,2137,2397,2416,2458,2180,2250,2558,2569,2102,2196,2453,2383,2420,2163,1829,1709,1577,1696,1435,1682,2019,1991,2228,2719,2845,2932,3295,2859,1991,1772,2111,1733,1741,2121,2117,2015,1949,1854,2011,2252,1934,2396,2743,2737,2454,2278,2266,1934,1766,1814,1626,1602,1716,1738,1855,1734,1627,1764,1842,1946,2010,1860,1731,1814,2327,2536,2266,2131,1767,1670,1709,1453,1423,1677,1914,1750,1843,2024,2008,1873,1762,1679,1637,1643,1527,1562,1714,1616,1483,1766,1661,1784,1983,1808,1608,1546,1186,1239,1335,1255,1252,1392,1271,1488,1686,1674,1920,1966,1536,1587,1720,1594,1673,1831,1753,1973,2154,1790,1575,1778,2143,2235,1864,2011,2355,2211,1985,1947,2042,1573,1445,1399,1733,1854,1866,2223,2521,2013,2023,2003,2069,2083,1711,1364,1672,2328,2239,1771,2002,2327,2323,2127,2075,1882,1784,2895,4000,4104,4103,4036,3323,2345,1967,1446,1346,1627,1641,1843,1761,1893,2156,2380,2299,2321,2368,1998,1976,2285,1923,1635,1511,1813,2535,2073,2433,1691,1571,1543,1625,1690,1641,2042,2157,1689,1387,1287,1421,1527,1611,1447,1568,1637,1631,1555,1807,2334,2406,2104,1537,1376,1599,1816,1981,1960,1907,1883,1889,1803,1763,1882,1875,1838,2091,2237,2087,2094,2381,2319,2203,1987,2093,2137,2072,2021,1735,1469,1493,1604,1615,1671,1432,1453,1448,1587,1909,1914,1679,1584,1685,1928,1726,2140,2753,1965,1618,1687,1747,1614,1684,1806,1562,1604,2390,2603,1863,1584,1863,1795,1771,2065,1973,1898,1801,1906,2032,1996,1871,1781,1727,1764,1742,1664,1759,1852,1859,1879,1608,1707,1987,1992,1762,1680,1929,1990,2150,2154,1901,2143,2101,2114,1986,1780,2102,2127,1709,1528,1995,2420,1937,1907,1767,1919,1812,1825,1747,2156,2598,2127,1848,2146,2021,1670,1853,2071,1933,1882,2123,2143,2380,2622,2808,2654,2107,1666,1496,1516,1512,1290,1351,1381,1341,1369,1410,1594,1634,1560,1638,1622,1888,2083,2620,3088,3082,3186,3287,3110,3155,3533,3791,3230,2378,2328,2852,3122,2147,1638,1655,1835,1794,1670,1605,1699,1860,1598,1375,1564,1489,1577,1866,1733,1641,1830,2034,2316,1951,1879,1859,1491,1548,2273],[2885,2484,2289,2513,2587,2405,2127,2160,2220,2720,2918,2608,2279,1822,2048,2612,2619,2530,2597,2391,2476,2966,2759,2945,3779,4007,3926,4057,2592,2181,2426,2504,2810,2713,2542,2366,2136,2769,3366,3059,3282,2784,2688,2769,2869,2902,2588,2242,2958,3824,4005,3442,3273,3460,3614,3751,4036,2942,2090,2330,2653,2360,2250,2632,2373,1761,1931,2543,2238,2025,1659,2279,2777,2598,2239,1731,1751,1775,1391,1576,2176,2418,2501,2502,2200,2675,2567,2334,2126,1946,2042,2310,2241,2178,2130,1883,2462,3514,3195,2646,2555,2744,3098,3273,2941,2719,2597,2805,3379,3072,2946,3008,3051,3610,3514,3187,2643,2221,2169,2415,3098,3529,3442,3211,3496,2850,2432,2735,2520,2658,2764,2509,2851,3429,3099,2617,3140,3784,3814,3870,3240,2508,2331,2835,3596,4129,3592,2524,1975,2646,3386,3400,3040,3204,3362,3206,2570,2141,2181,2548,2690,2342,2303,2128,2644,2016,1538,1623,1528,2321,3874,4320,3569,2996,2993,2830,2430,1531,1515,2666,2313,2172,2193,2644,3124,2996,2978,3232,3163,2652,2239,1860,1662,2036,2112,2252,2062,1707,1841,1601,1865,2009,1675,2159,2843,3261,2831,2612,2690,3431,3421,2981,2373,2470,2008,1881,1707,1632,1700,1720,1657,2128,2668,2268,2388,2652,2282,1881,1374,1511,2033,1914,2146,2068,2144,1842,1534,1393,1895,2485,1893,1732,1540,1453,1926,2198,1881,1722,1616,1352,1529,1536,1519,1602,1766,1495,2068,2557,2453,2482,2187,1686,1619,1302,1039,1060,1238,2202,2544,2039,1726,1858,2082,2022,1900,2127,2548,2094,1655,2022,2666,2410,2201,2033,2048,2533,2861,3045,3151,3404,3507,3271,2940,3406,3096,2574,2339,2128,2348,2789,2761,2665,2489,2635,2835,2967,2705,2258,2602,2845,2424,2163,2051,1762,1449,1441,1647,2294,2320,1869,2024,2068,1538,1665,1763,1826,1755,1774,1769,1771,1554,1450,1972,2319,2216,2108,1832,2178,1773,1728,2265,2468,1884,1908,1847,1917,2458,2348,1550,1343,1439,2340,2647,2248,2054,1942,1607,1437,1514,1559,1574,1905,2382,1866,1960,1757,1627,1571,1581,1560,1564,1629,1403,1635,2238,2091,2075,2237,2623,1648,1336,1641,1672,1638,1848,1699,1572,1663,1569,1587,1733,1838,2002,1792,1676,2633,2301,2732,2746,2266,1970,1846,1604,1550,1778,1902,1948,1844,1788,1755,1660,1785,1590,1851,1926,1813,1844,1869,1644,1514,1676,1988,1824,1713,1613,1444,1467,1476,1787,1999,1753,1546,1480,1365,1576,1547,1864,2430,2396,1998,1560,1710,1765,1954,1864,1524,2153,2696,2587,2836,3086,2496,2474,2127,1765,1361,1754,1938,1642,1411,1453,1820,1748,1561,1864,1787,1928,1952,1902,1804,1813,2114,2292,2158,2287,2333,2184,1764,1606,1451,1746,1710,1758,1996,1727,1459,1562,1599,1750,1783,1770,1858,1646,1486,1416,1339,1545,1779,1748,1630,1425,1367,1400,1549,1931,2279,1753,1602,1556,1732,1791,1758,1599,1530,1921,2340,2327,1896,1706,2005,2459,2556,2186,1820,1608,1728,1886,2170,1953,1897,1987,1815,1458,1611,1761,1830,1910,2094,2356,2293,2024,1930,1947,1691,1579,1496,1838,1665,1576,1547,1585,1805,2136,2059,1960,2034,1897,2043,2224,2000,1737,2101,2201,1984,1782,1615,1492,1658,1616,1323,1475,1325,1306,1306,1450,1637,1622,2138,3021,2503,1796,1940,2033,1716,1687,2139,2354,2253,1863,1484,1358,1359,1641,2143,1904,1780,1750,1721,1730,1704,1561,1405,1442,1444,1485,1352,1440,1326,1188,1220,1266,1250,1322,1386,1369,1412,1510,1658,2289,2448,2877,3387,3103,2052,1700,1728,1600,1548,1684,1876,1857,1952,2398,2063,1542,1586,1810,2136,2320,2383,2298,2005,1952,2346,2669,2109,1724,1711,1686,1631,1523,1364,1306,1402,1504,1382,1153,1242,1878,1918,1794,1508,1671,1811,1901,2288,2086,1923,1753,1588,1798,2047,2420,2053,1918,1716,1456,1737,1837,1863,1666,1881,1942,1728,1818,2003,1764,2159,2106,1499,1826,2150,2053,1848,2051,2051,1946,1975,2086,2242,1964,1897,1968,2288,2279,2335,2104,1918,1776,2099,2387,1954,2035,2462,2676,2089,2107,2085,1785,1794,1446,1607,1878,1854,2028,1709,1933,2405,2541,2143,1449,2403,3085,3100,3045,2875,3076,3637,4344,3861,3076,3020,3322,3522,3407,3162,3356,2587,2390,2719,2388,2055,2076,2025,2098,2265,2330,2232,2252,2721,2363,2014,2701,2602,2824,2399,2566,3330,2729,2071,2763,3151,2897,2975,3171,2464,2570,2641,1954,2439,3097,2249,1822,2138,2404,2317,2142,2807,2138,2645,2492,2268,1510,1460,2140,2105,2172,2698,2521,2042,1681,1815,1974,1815,1466,1466,1854,1957,1928,2468,2665,1991,2269,1462,1765,2540,2784,2998,2486,1527,1730,2312,2120,2018,2187,2359,2880,3559,3343,2539,2448,2656,2482,1982,1988,2013,2238,2624,2779,2968,2711,2364,2752,2237,1584,2137,3503,3862,3166,2629,2890,3343,3131,2949,2874,2469,2267,2143,2264,2476,2488,2488,2713,3276,3051,2469,2472,2791,2757,2551,2522,2331,2240,2461,2018,1771,1713,1728,1627,1942,1973,1607,1510,1527,1482,1371,1389,1555,2152,2080,1964,1933,1682,1846,2171,2296,2317,1714,1799,1671,1602,1769,1898,2010,1794,1827,1360,993,1866,2770,2728,2512,2340,2525,2699,2117,1864,1737,1918,1970,1732,2028,2175,2025,1832,1953,2366,2601,2806,2555,2167,1880,2831,2691,1923,1743,1771,1738,1640,1609,1900,2108,1973,1881,1858,1928,1975,1917,1976,1986,1927,1922,1836,1948,1865,1563,1876,1782,1457,1437,1598,2165,2183,2286,2352,2084,1725,1900,1533,1156,1808,2241,2354,2072,2068,2411,3386,3830,3056,2425,2400,2416,2237,1759,1770,1860,1470,1326,1490,1293,1245,2087,2359,2279,2282,1865,1736,1470,1554,1657,1990,1864,1872,1835,1873,1918,1786,1843,2258,2530,2736,2437,2489,2719,2802,3144,3059,2578,2010,2024,1856,1848,1778,1758,1877,2136,1953,1735,1670,1643,1710,1544,1521,2151,2157,1610,1845,2060,1796,1612,1655,1645,1491,1243,1283,1459,1797,2018,1820,1595,1476,1054,1209,1500,1596,1643,1410,1242,1340,1250,1384,1338,1252,1294,1288,1276,1297,1381,1339,1455,1896,1773,1646,1648,1575,1422,1524,1687,1943,1850,1572,1381,1412,1358,1415,1325,1277,1615,1622,1538,1339,1197,1322,1384,1392,1348,1615,1503,1444,1436,2267,2144,1714,1627,1365,1332,1380,1472,1642,1708,1731,1904,1529,1501,1448,1310,1362,1336,1418,1540,1614,1986,2340,2600,2702,2332,2642,2986,3121,3221,2652,2590,2430,2609,3687,3802,3849,3702,3356,3481,3497,2812,2472,2163,2210,3369,4018,3184,2464,2887,3420,3929,4553,4287,4144,3894,2598,3184,3979,4192,4024,2967,2080,2010,2160,2441,3060,3448,3621,3577,3414,4042,4264,4084,3602,3473,3611,3269,3150,3240,3103,3400,3273,2888,2777,2984,2908,2963,3077,2689,2834,3515,3872,3715,4034,3608,3974,4034,4116,3931,3032,3273,4165,4473,4083,4145,4133,3203,2841,2854,3326,3015,3344,3392,3220,3405,3508,3250,3217,3442,3602,3745,3938,3696,3394,3249,3184,3241,3245,3230,3174,3030,3177,3242,2710,2059,1972,1692,1378,1870,2536,2064,1661,1620,1575,1474,1370,1284,2114,3392,3212,2974,2533,1968,1548,1372,1326,1365,1672,1740,1462,1423,1676,1771,1842,1591,1130,1131,1188,1134,1146,1222,1303,1385,1485,1517,1382,1371,1470,1244,1202,1324,1635,1838,1468,1406,1817,2181,1851,1537,1354,1415,1523,1603,1822,2109,1846,1825,1999,1737,1391,2184,2553,1868,1626,1812,2256,2094,1597,1475,1574,2040,2002,2431,2394,2025,2797,2750,1654,1916,2100,2632,3146,2645,2006,1717,2218,2635,2264,1813,1855,2027,2063,2242,2210,2241,2088,1891,1893,1440,1675,2290,2248,1941,2261,2751,2064,2443,2317,2330,2132,1961,1811,1991,2197,2330,2402,2574,2777,2886,2448,2129,2497,2156,2132,2208,1726,1794,1893,1572,1539,1584,1556,1540,1522,1595,1699,1569,1702,1582,1556,1527,1579,1682,1775,2189,2108,2048,1614,1583,1486,1844,1840,1936,2289,2234,2000,2090,1954,1747,1609,1524,1544,1617,1512,1231,1660,2068,2040,2128,1987,1582,1507,1538,1719,1689,1635,1384,1283,1127,1125,1198,1302,1381,1528,1544,1484,1604,1860,1618,1485,1759,2313,2300,2172,2013,1940,1770,1648,1817,2063,2548,2360,2200,2484,2766,2405,2033,2037,1967,1617,1520,1652,1750,1697,1763,2130,2304,1722,2436,2609,2084,1672,1451,1427,1920,2537,2355,1947,1888,2040,2189,2241,2210,1955,2017,3464,4332,4467,4375,4347,3438,2092,1587,671,663,1232,1233,1589,1673,1671,1994,2251,2315,2281,2115,2004,2270,2404,1811,1510,1716,1556,1704,1681,1477,1332,1505,1838,1855,1532,1713,1978,1670,1531,1378,1316,1372,1497,1709,1699,1733,1731,1711,1494,1677,2092,2120,1772,1408,1409,1748,1736,1657,1848,1920,1836,1760,1587,1804,1867,1927,1698,1696,1684,1652,1753,1851,1836,1923,1983,2135,2370,2502,2347,2001,1817,1914,1905,2061,2152,1713,1431,1437,1592,1927,1913,1670,1754,1875,1912,1912,2108,2071,1716,1514,1607,1678,1618,1598,1599,1483,1530,1728,1880,1598,1707,1897,1934,1969,1990,1906,1805,1840,1815,1784,1824,1793,1827,1804,1862,1943,1846,1920,1853,1649,1754,1531,1434,1842,1866,1752,1731,2128,2055,2042,2045,1903,1990,1970,2065,1981,1788,1856,1948,1698,1670,2043,2265,1814,1829,1869,2007,1663,1700,1759,2353,2608,1752,1802,2283,2102,2064,2385,1967,1876,2025,2186,2216,2221,2446,2585,2258,1756,1786,1635,1567,1446,1437,1462,1377,1317,1355,1407,1526,1584,1719,1878,1660,1980,2247,2620,2858,2874,3279,2521,1204,1687,3257,3930,3104,2172,2512,2766,2576,1950,1554,1687,2142,2062,1855,2152,2077,1850,1741,1478,1776,1706,1792,2132,2004,2077,2258,2630,2552,1842,1770,2036,1589,1625,2690],[2712,2223,2282,2105,1764,2048,2346,2234,2690,3160,3363,2781,2174,2192,2658,2800,2553,2344,2525,2663,2691,2463,1655,2587,3706,4083,3982,4024,2785,1932,2140,2136,2303,2717,2875,2359,1970,2876,2621,2625,3251,2908,2591,2759,2669,2459,2176,1794,2755,3491,3688,3413,3914,3959,3688,3397,3277,3009,2692,3096,3164,2297,1885,2199,2090,1579,1914,2019,2175,2330,2342,2746,2917,2498,2076,1719,2108,2205,1830,2009,2571,2257,2007,2308,2873,2701,1777,1519,1747,2380,2611,2753,2381,2668,2199,2206,2836,3161,3560,3288,2609,2578,2611,2509,2550,2954,2692,2821,3119,3120,3062,2851,2873,2921,2567,2425,2430,2063,2073,2305,3145,3603,3372,3198,3338,2845,2678,2787,2717,2852,2683,2508,2938,3316,3558,3438,3587,3792,3821,3932,3605,3124,2971,3051,3566,3820,3642,3259,2868,2790,3227,3820,3610,3535,3386,2974,2382,1813,2078,2977,3453,3124,2913,2335,2246,1666,1578,1644,1873,3319,4304,4167,3549,3655,3595,2922,2122,1323,1747,2653,2097,2020,1970,2397,2939,2985,2830,3152,3566,3244,2987,2467,2286,2362,2747,2981,2563,2069,1935,1793,1895,1781,1827,2193,2499,2822,2702,3024,3157,3615,3264,2531,2521,2370,2073,1929,1658,1653,1699,1732,2205,2645,2670,2588,3228,2778,1964,1805,1392,1650,2231,2002,2880,2597,2171,1970,1668,2109,2759,2557,1880,1558,1615,1635,1864,2498,2579,1745,1450,1443,1569,1538,1608,1576,1378,1255,1616,1895,1970,1873,1744,1472,1469,1404,1678,1748,2159,2332,2362,2040,1670,1830,1975,1943,2057,2129,2136,1675,1592,1593,1956,2223,2353,2045,2058,2381,2460,2583,2707,3363,3737,3634,3077,3133,3552,3124,2852,2939,2778,2163,2100,2274,2430,2520,2442,2863,2733,2181,2254,2574,2777,2610,1941,1734,2057,1598,1499,1918,1916,1878,2020,1938,1835,1499,1539,1849,1875,1751,1920,2089,2053,1806,1747,1774,1734,1754,2114,2251,1666,1517,1771,1563,1853,2090,1828,2321,2459,1844,1441,1446,1390,1574,1656,1462,1440,1516,1640,1603,1729,1960,1816,1750,1650,1736,1870,2026,1955,1721,1630,1661,1552,1668,1439,1594,2050,1902,1904,2037,2187,1560,1665,1945,1779,1794,2175,1853,1649,1720,1729,1836,2546,2260,1916,1768,1684,2821,3174,3088,3396,3162,2182,1537,1414,1531,1781,2336,2068,2134,1889,1659,2018,2103,1922,1839,1766,1707,1658,1732,1503,1710,2024,2396,2053,1850,1705,1447,1365,1349,1674,1925,2030,2248,1783,1261,1684,2237,2410,2686,2714,1982,1422,1765,2080,2182,1895,1607,1538,1719,1948,1786,2305,2976,3198,2751,1917,1549,1630,1608,1577,1383,1537,2035,2012,1947,2110,2008,2164,2147,2098,2142,2148,2294,2324,2176,2241,2130,2001,1519,1406,1320,1516,1649,1677,1535,1594,1887,1882,1646,1513,1623,1832,1930,1856,1609,1405,1393,1772,1787,1572,1670,1613,1530,1435,1532,1882,1886,1676,1826,1803,1818,1660,1542,1656,1721,2268,2402,2026,1662,1562,1843,2297,2242,1820,1446,1567,1852,1945,1816,1525,1867,2145,1702,1449,1789,1978,1665,1627,2056,2298,2379,2370,2066,2041,2018,1919,1984,1986,1603,1627,1618,1617,1589,1533,1616,1801,2021,1885,1667,1470,1634,1574,1972,2269,2009,1770,1776,1670,1564,1479,1323,1453,1312,1318,1229,1379,1733,1777,2469,3331,2829,2074,2126,2319,1913,1720,2541,3387,3617,4113,2385,1462,1383,1435,1612,1675,1673,1589,1698,1592,1475,1479,1539,1416,1422,1379,1388,1606,1523,1360,1352,1358,1237,1299,1473,1532,1497,1544,1397,1395,1567,2541,3249,2392,1798,1923,1661,1597,1659,1752,1969,1932,2242,2561,1982,1645,1680,1887,2258,2261,2064,2021,1679,1643,2299,2604,1951,1570,1548,1504,1511,1359,1258,1433,1388,1359,1372,1369,1308,1801,2065,1937,2051,2370,1866,1701,1946,1880,1766,1560,1671,1932,2388,2325,1805,1691,1829,1750,1713,1662,1669,1647,1566,1561,1749,1972,2084,1987,2048,1873,1631,1572,1893,2075,2193,2211,1979,2522,2470,2544,2415,2052,1744,1572,1725,2388,2781,2656,2523,2393,1975,2401,2621,2463,2501,2686,2861,2745,2452,1920,1700,1754,2111,2239,2500,1723,1675,2281,2288,2265,1976,1641,2587,3173,2803,2523,3184,3586,3750,4421,3816,3258,3265,3304,3703,3449,2889,2832,2830,2681,2397,2536,2646,2598,2757,2947,2832,1944,1998,2269,2227,1926,2182,2711,2890,2947,2221,2414,3254,3073,2743,2998,2709,2282,2602,2309,1969,2401,2206,2098,2795,2699,1961,2131,2166,2219,1990,2327,2688,2508,2780,2454,2063,1823,2069,2682,2503,1835,1910,1916,1789,1958,1939,1750,1497,1425,2210,2180,1766,2043,2197,2142,3153,2828,1575,2226,2389,2843,2886,1920,1376,1920,2117,1985,2322,2287,2456,2939,3279,2864,2593,2270,2220,1991,1698,1863,1978,1635,1858,2894,2711,2752,2486,2823,2352,1214,2054,2807,2893,2482,2247,2417,2890,3487,3038,2495,2270,2471,2479,2504,2353,1921,1721,2433,2908,2373,2103,2240,2379,2538,2451,2429,2424,2198,2297,2087,1809,1610,1716,1717,1591,1492,1480,1634,1681,1495,1477,1532,1985,2360,1935,1747,2065,1912,2036,2587,2670,2280,1728,1904,1902,1710,1576,2052,2062,1234,773,660,771,1268,2021,2176,2127,2296,2377,2020,1784,1687,1996,1967,1720,1800,1964,2396,2228,1802,2012,2912,2681,2197,2208,1919,2141,3008,2455,1700,2103,2441,1900,1710,1571,2168,2166,1967,1866,2007,1928,1562,1247,1400,1681,1731,1852,1926,2184,1990,1725,1751,1747,1860,1764,1576,1635,1946,2019,1884,1787,1503,1696,1333,1345,2519,3608,3332,2699,2536,2956,3119,2818,2020,1930,2446,2265,2020,1786,1882,1615,1292,1560,1815,1554,1616,2547,2774,2623,2312,2041,1888,1445,1333,1337,1547,1641,1808,2008,1951,1581,1426,1596,1798,2399,2854,2353,2401,2785,2907,2895,2897,2387,2071,2080,1667,1772,1552,1512,1668,1948,1998,1952,1806,1692,1422,1366,1559,1707,1648,1689,1951,1968,1498,1633,1565,1507,1272,1414,1561,1508,1714,1865,1268,1027,1400,1401,1485,1503,1661,1515,1303,1280,1277,1197,1204,1255,1243,1218,1359,1355,1319,1380,1275,1445,1682,1626,1680,1780,1735,1467,1636,2084,1860,1392,1465,1327,1325,1287,1175,1155,1187,1320,1648,1861,1373,1186,1275,1592,1880,1707,2166,2041,1884,1622,1718,1552,1420,1436,1390,1441,1437,1437,1652,1603,1718,1803,1446,1369,1244,1309,1482,1428,1482,1528,1797,2972,3987,3738,3984,3344,2903,2780,2581,2284,2278,2604,2007,2289,3692,3806,3728,3483,3113,3376,3356,2805,2459,2154,2005,2749,3155,2813,2732,2885,3464,4188,4385,4335,4252,4152,3601,3558,3915,4113,3476,2580,1941,2566,3155,3297,3497,3743,3349,3283,3920,4308,4244,3231,2193,2665,3518,3177,3031,3184,3168,2962,2563,2550,3097,3440,3097,3048,3230,3333,3330,3029,3253,3065,3649,3414,3845,3574,3858,4256,3497,3074,3820,4509,4393,4328,4300,3152,2867,2824,3449,3131,3087,3373,3237,3594,3842,3419,3156,3468,3843,4001,3913,3682,3387,3233,3097,3119,3164,3167,3163,3167,3228,3110,2698,2634,2256,2159,1751,2422,2845,2361,1905,1747,1557,1654,1722,1439,1839,2533,2298,2157,1925,1669,1396,1352,1442,1436,1257,1239,1125,1199,1638,1708,1789,1564,1824,1898,1325,1141,1292,1484,1466,1512,1756,1888,1366,1292,1658,1331,1259,1358,1845,1946,1648,1545,1625,1668,1488,1505,1424,1381,1391,1545,1621,1655,1745,1803,1786,1721,2017,2623,2020,1518,1596,1942,1976,1961,1793,1650,1693,1806,1987,2298,2017,2171,2968,2506,1915,2054,1947,2706,3265,2543,1978,2121,2696,2775,2532,2200,2052,2156,2045,2324,1968,2049,2470,2218,1859,1770,1947,2595,2874,2369,2026,2491,1963,1794,2273,2266,1717,1675,1916,2254,2610,2608,2382,2302,2126,1996,2098,2193,1993,1757,2389,2690,2222,2141,1525,1029,1423,1688,1625,1483,1610,1594,1709,1824,1764,1560,1441,1559,1723,1749,1794,1817,1403,1337,1282,1473,1565,1765,2049,2067,2018,1826,1665,1653,1688,1658,1664,1726,1759,1434,1079,1375,2056,2414,2198,2040,1843,1307,1268,1278,1720,1780,1638,1392,1244,1111,1438,1621,1525,1817,1782,1490,1502,1398,1482,1748,1510,1968,2505,2371,2223,2253,2257,1871,1669,1912,1702,2048,1964,2137,2026,2035,1817,1696,1883,1953,1794,1670,1693,1716,1608,1598,1901,1744,1743,2455,2369,1766,1550,1535,1672,2408,2721,2413,1987,1731,1793,1881,1918,2126,2020,2082,2768,3515,3961,4119,4152,3060,1847,1449,563,551,1339,1683,1585,1611,1521,1668,2089,2306,2122,1770,1757,2173,2127,1600,1637,1691,1733,1655,1435,1384,1473,1592,1788,1608,1593,2037,2049,1629,1851,1753,1530,1479,1434,1538,1621,1502,1560,1902,1532,1505,1567,1567,1539,1568,1519,1682,1521,1150,1610,1932,1875,1629,1336,1675,1796,1717,1580,1863,1901,1822,1892,1873,1630,1599,1742,1725,1863,1946,1913,1959,2087,2183,2063,2117,2088,1991,1842,2008,2218,2223,2147,1774,2204,2553,2567,2118,2053,2015,1914,1770,1650,1858,2056,1814,1765,1752,1668,1859,1869,1783,1865,1869,1860,1843,1828,1844,1795,1627,1545,1782,1902,1898,1987,1944,1911,1910,1795,1848,1736,1665,2118,2046,1572,1837,1861,1674,1737,2082,1986,1960,2026,1946,1786,1923,2225,1976,1836,1660,1895,1809,1757,2126,2118,2013,1626,2082,2108,1532,1769,2067,2406,2239,1520,2112,2476,2132,1884,2011,1914,1914,2136,2364,2093,2049,2221,2084,1793,1696,1652,1487,1356,1319,1465,1536,1422,1422,1463,1358,1393,1541,1669,1884,1838,1986,2376,2831,3009,2928,3270,2832,1915,2314,3260,3681,2761,2015,1951,2228,2272,1889,1765,1969,2571,2621,1830,1750,1620,1605,1822,1637,1477,1449,1611,2128,2391,2381,2315,2140,1360,1242,2142,2433,1699,1909,2947],[2325,1950,1997,1947,1923,2327,2868,2580,2478,2877,2708,1868,2049,2664,3007,2942,2513,1885,2534,2502,2282,1897,1836,2967,3771,3894,4023,4188,3587,2399,1853,2172,2128,2522,2392,1924,2149,2579,2259,2518,3167,3177,2953,2799,2649,2428,2546,2343,2886,3248,3186,3085,3947,4353,3821,3161,2439,2229,2647,3636,3066,1978,1947,2203,1930,1571,2164,2510,2487,2958,3276,3122,2819,2241,1855,1925,1922,2005,1866,2219,2541,2025,1671,2036,2838,2499,1587,1519,1747,2672,2946,2641,2849,2762,2392,2736,2812,2583,2567,2714,2856,2543,2293,2331,2603,2745,2602,2853,3118,3064,3304,3312,2719,2497,2556,2159,2245,2214,2287,2369,3049,3353,3360,3295,3130,2919,2945,3032,2848,2919,2865,2594,2962,3220,3436,3829,3982,3791,3667,3685,3644,3616,3500,3395,3496,3401,3162,3131,3610,3616,3273,3183,3616,3730,3041,2680,2593,2743,3241,3177,3247,3383,2834,2018,2211,2030,1599,1760,2740,3462,3584,3274,2466,2809,3583,2958,1934,1331,2220,2753,2756,2517,2459,2931,3023,2827,2586,2653,3032,2757,2827,2997,2946,2791,2786,2743,2386,2215,2111,2070,1688,1464,1627,1825,2225,2277,2540,2812,3292,3658,3155,2790,2864,2216,1728,2087,2121,2024,1722,1475,2205,2416,2627,2982,2991,2375,1828,1816,1340,1882,2854,2835,3330,3244,2567,2288,1888,1923,2031,1944,1793,1489,1720,1816,2084,1995,1975,1545,1391,1346,1538,1592,1643,1657,1520,1510,1396,1446,1700,1626,1495,1513,1867,1674,1731,2475,2810,2319,2502,2364,1590,1518,1783,1901,1912,1810,1562,1434,1506,1597,2082,2518,2450,1980,1884,2244,2390,2044,2147,2823,3480,3597,3553,3775,4037,3824,3674,3727,2776,1479,1695,1957,2500,2469,2482,2732,2724,2566,2364,2240,2437,2600,2272,2039,2182,1742,1698,1793,1556,1641,2115,2721,2846,2167,1512,1720,1722,1680,1896,1886,1992,2041,2125,1818,1454,1859,2452,2255,1875,1980,1974,1963,2292,2045,2302,2923,2188,1439,1503,1510,1494,1405,1390,1740,1866,1781,2196,2345,2454,2156,1604,1571,1344,1943,2208,2405,2190,1604,1575,1679,1946,2198,1612,1685,1512,1889,1816,1520,1699,1862,2062,2384,2106,1895,2233,2062,2134,1949,1687,1749,2404,2093,2218,2900,2765,2919,3392,2950,2598,2301,1802,1569,1367,1473,1524,1717,1512,1967,2169,2367,2656,2092,1744,1725,1892,2048,1797,1531,1598,1852,2247,2460,2079,1803,2166,2129,1518,1530,1717,1771,2050,2233,1911,1526,2073,2471,1951,1781,1944,1677,1407,1944,2084,1861,2046,2043,1536,1538,1644,1467,1605,2464,3666,3422,2031,1393,1780,1875,1666,1531,1647,1743,1821,2043,2049,2156,2166,2046,2163,2219,2208,2282,2354,2263,2201,2164,2026,1912,1658,1715,2192,2243,2130,1647,1981,2168,1850,1561,1526,1725,2297,2667,2076,1558,1478,1593,1874,1662,1788,2166,2002,1706,1573,1815,2182,2148,2276,2187,1779,1562,1536,1683,1750,1747,2133,1975,1528,1480,1642,1668,1656,1724,1728,1832,1924,2014,2236,2137,2253,1985,2008,1749,1588,2060,2085,1505,1500,1629,1892,2285,2419,2263,2093,2476,3021,2965,2112,1624,1629,1677,1912,2096,2358,2737,2600,2337,2498,2041,1456,1913,2132,2303,2281,1872,1534,1506,1436,1337,1361,1476,1466,1458,1328,1202,1314,1484,1454,1919,2384,2352,2455,2155,2376,2092,1989,2325,3488,4287,4256,2584,1936,2170,2115,1857,1643,1627,1804,1798,1662,1572,1668,1534,1340,1421,1383,1504,1648,1411,1322,1328,1262,1383,1265,1477,1821,1843,1532,1262,1368,1531,2104,2142,1767,1868,1744,1644,1676,1743,1838,1896,2038,2818,2858,1979,1756,2026,1951,2030,2216,1860,1859,1586,1532,2203,2852,2339,1664,1694,1600,1447,1366,1395,1344,1354,1388,1345,1180,1012,1224,1749,1882,2103,2313,1757,1818,2128,2278,1490,1336,1620,1776,2324,2055,1640,1898,2048,1881,1639,1513,1608,1606,1803,1572,1477,1710,1897,2074,1776,1731,1646,1433,1651,1821,2072,1888,2049,3331,2899,2449,2094,1886,1962,1768,1901,2276,2171,1923,2322,2398,2046,3244,3261,2618,2570,3094,3591,3407,2722,2198,1820,1857,2031,2734,3159,2001,2454,2574,2376,2426,2272,2556,3266,3418,2819,2955,3059,3134,3632,3824,3472,3405,3630,3606,3394,2736,2611,2686,3117,2884,1873,2274,2424,1988,2524,2758,2980,2310,1882,1860,1752,1852,2495,2744,2395,2428,2076,2875,3338,3247,3286,3211,2940,2562,2477,2367,2362,2521,2364,1704,2131,2215,2197,2510,2312,2213,2322,2554,2335,2596,2716,2114,2234,2060,2047,2443,2777,1814,1841,1992,1991,2023,1840,1622,1443,1825,2173,1533,2691,2474,1980,2104,2553,2459,2305,2298,2236,2542,2183,1545,1660,1982,1958,2201,2292,2303,2124,2520,2590,2306,1973,1742,2541,2696,2124,2432,2696,2109,2263,2842,2198,2390,2249,2811,1781,1176,2692,3659,3021,2545,2680,1826,2137,3338,2775,2470,2542,2521,2600,2729,2332,1722,1927,2731,3076,2788,2735,2612,2491,2403,2357,2494,2622,2359,2279,2282,1983,1640,1704,1790,1576,1625,2008,2455,2238,1528,1442,1570,1974,2102,1746,1850,2286,2372,2165,2662,2887,2420,1909,2012,1987,1584,1430,1827,1459,723,787,1027,975,1001,1407,1847,1915,2020,2150,2259,2082,1960,2549,2556,2242,1992,2192,2689,2237,1939,2248,2831,2714,2339,2094,1782,2321,2977,2201,1628,2145,2438,2060,1556,1576,1997,1928,2059,1889,2041,1952,1466,1617,1976,1839,1512,1542,1667,1707,1755,1782,1626,1659,1873,1971,2092,2100,2062,2284,2259,1779,1676,1857,1678,1792,2767,3629,4073,3252,1904,1960,1968,1781,1836,2198,2491,2293,1893,1919,2314,1770,1503,1938,2250,1748,1673,2397,2376,2387,2518,2821,2442,1908,2014,2129,1910,1858,1565,1314,1654,1388,1269,1632,1887,2511,2759,2263,2251,2683,2944,2909,2756,2153,1830,1931,1660,1654,1629,1484,1453,1715,1978,1998,1908,1730,1670,1713,1624,1593,1876,1910,1668,1768,1497,1522,1508,1622,1974,1929,1649,1674,1688,1616,1248,1249,1630,1563,1470,1592,1475,1258,1224,1329,1346,1187,1235,1340,1231,1262,1411,1400,1322,1299,1355,1313,1412,1535,1501,1658,1698,1294,1568,1798,1658,1446,1393,1470,1434,1344,1375,1483,1472,1376,1300,1364,1112,1202,1244,1973,2020,2052,2187,1974,1786,1664,1577,1410,1440,1476,1361,1378,1375,1271,1561,1513,1504,1542,1678,1626,1332,1498,1431,1308,1482,1395,2044,3548,4200,3409,3415,3161,2315,1720,1626,1778,2542,2957,2458,2736,3830,4121,3706,3481,3415,3461,3444,2917,2402,2229,1953,2407,3121,3266,2780,2624,3559,4356,4500,4500,4344,4292,4106,3571,3510,3759,2897,2346,2526,3306,3244,3400,3858,3182,2500,3221,3647,3663,3352,1947,1466,1963,3276,3182,3066,3174,3301,2731,1847,1887,2872,3492,3403,3309,3284,3498,3541,2871,2553,2225,2864,3331,3846,4045,4527,4708,4132,3491,3364,4203,4301,4311,4358,3884,3010,2622,2796,2897,3461,3625,3344,3675,3869,3406,3155,3098,3682,3883,3792,3662,3349,3164,3065,3067,3168,3218,3292,3360,3399,3613,3450,2981,2226,1963,1616,1967,2733,2556,1986,1615,1476,1769,1896,1604,1412,1465,1576,1588,1750,1610,1316,1315,1400,1461,1118,1170,1170,1310,1544,1665,1808,1597,2215,2141,1293,1110,1275,1503,1406,1141,1107,1207,1074,1271,1594,1438,1307,1223,1324,1515,1740,1768,1925,1879,1866,1699,1378,1334,1416,1551,1546,1462,1466,1411,1477,1738,2014,2475,2088,1608,1745,1914,1598,1452,1618,1675,1760,1873,2198,2220,1849,2308,2739,2235,2485,1999,1375,1947,2548,2814,2655,2297,2298,2081,2165,2481,2198,2241,2054,2186,2061,2199,2787,2644,1858,1829,1968,1778,2164,2203,1928,2110,1926,1685,2082,2171,2094,1949,1936,2461,2790,2293,2004,1578,1708,2032,2204,1988,1739,1864,2438,2496,2422,2388,1671,1200,1576,1705,1689,1977,2216,1814,1660,1758,1726,1670,1594,1702,1539,1236,1373,1490,1381,1372,1513,1778,1848,1734,1714,1695,1665,1570,1678,1669,1735,1628,1504,1836,1864,1531,1761,1857,1958,2277,2158,1970,1932,1410,1285,1317,1576,1717,1660,1666,1436,1254,1655,1733,1821,1910,1921,1780,1865,1892,1799,1764,1902,2724,2820,2209,2045,2112,2176,1672,1640,1697,2187,2142,1888,1839,1745,1796,1801,1665,1824,2294,2094,1820,1554,1579,1628,1563,1477,1385,1600,1851,1889,1915,1744,1622,1935,2577,2655,2270,1979,1843,1788,1771,1802,1851,1887,1967,2062,2147,2307,2719,2949,2743,2226,1657,947,846,1394,1649,1698,1679,1490,1702,2054,2094,1882,1508,1754,2045,1648,1639,1818,1696,1796,1766,1520,1448,1610,1634,1649,1532,1514,1735,1896,1897,2110,1907,1883,1915,1817,1559,1328,1523,2119,1677,1504,1455,1294,1546,1788,1560,1300,1486,1289,1120,1499,1505,1554,1757,1808,1976,1863,1552,1597,1743,1623,1512,1669,1857,1722,1816,1861,1783,1793,1622,1706,1681,1632,1716,1754,1836,1935,1932,1915,2128,2385,2498,2774,2294,2746,3078,2895,2234,2504,2764,2374,2102,2040,2150,2412,2380,2192,2100,1852,1775,1802,1788,1731,1638,1616,1746,1772,1708,1681,1267,1396,1888,2048,1969,1952,1812,1733,1740,1786,1899,1860,1807,2165,2375,1949,1926,1953,1699,1828,1999,1922,1932,2022,1954,1904,1961,2030,1890,1794,1551,2192,2349,2118,2269,1985,2098,2598,2750,2207,1657,1576,1762,1998,2066,1700,2297,2351,1719,1593,1876,1770,1405,1892,2588,2009,1686,1630,1541,1651,1765,1699,1446,1267,1332,1528,1570,1470,1430,1397,1449,1434,1557,1490,1553,1616,1979,2426,3032,3204,3009,3298,3555,3286,2941,2223,2840,2724,2187,1930,2079,1838,1776,2082,1880,1979,2063,1601,1599,1639,1539,1516,1577,1643,1668,1743,2083,2348,2146,1952,1798,1790,2307,2856,2344,1538,2069,3264],[2378,2243,1947,2046,2187,2669,2803,2665,1828,1602,1959,1836,1703,2397,2937,2962,2699,2074,2509,2313,2243,2521,2978,3248,3200,3398,3813,4276,4017,2678,1647,1798,1795,2143,2330,2403,2750,2964,3069,3355,3395,3039,2996,2872,2895,3085,3282,2987,3002,3349,3275,2974,3565,4230,3705,3235,2364,2239,2800,3165,2423,1870,1872,1760,1643,1576,1700,1870,1932,2823,3406,3352,2690,2202,1942,1776,1526,1851,2157,2175,2188,1934,1915,2449,3642,3031,2569,2664,2938,2679,2339,2259,2635,2532,2467,2509,2068,2006,1974,2758,2963,2606,2657,2504,2354,2461,2701,2964,3042,3042,3366,3373,2698,2436,2528,2183,1858,1971,2286,2522,3008,3263,3184,2958,2833,2845,3212,3190,3077,3198,3186,2939,2482,2507,2878,3473,3825,3795,3616,3694,3875,3826,3371,3485,3650,3517,3396,3320,3400,3953,3759,3186,3632,3554,2938,3041,3160,3756,4196,3264,3146,3099,2368,1921,2428,2417,2241,3075,3797,3124,3012,2787,2561,2611,2950,2483,1888,1956,2547,3120,3339,2708,2666,2910,2939,2904,2873,3403,3044,2645,2808,2648,2691,2843,2553,2237,2330,2402,2251,2451,2078,1624,1723,2330,2760,2656,2752,3262,3862,3656,3099,3347,3455,2557,2094,2427,2321,2244,1998,1920,1845,2108,2840,2957,2700,2309,2116,2504,1743,2131,3251,3575,3188,2519,2657,2945,2514,1995,1678,1721,2207,1950,1936,2293,2517,2269,2230,1693,1568,1865,2177,2233,2195,2260,2015,1788,1512,1735,1714,1601,2036,2264,2512,2408,2221,2784,3032,2804,2346,2320,2320,1691,1727,1982,2331,1824,1610,1611,1489,1649,2043,2303,2248,1970,2153,2081,2418,1905,2019,2349,2818,3167,3401,3645,3919,3955,3925,3647,2841,1786,2172,2425,2979,3016,3009,2835,2349,2192,2106,2022,2221,2535,2436,2081,1922,1813,1601,1469,1497,2376,2603,1957,2252,2272,1613,1574,1664,1531,1803,1623,1793,1851,2009,1756,1793,2076,2222,2191,1906,1996,2360,2367,2051,1769,2241,2270,1703,1433,1587,1568,1521,1562,1567,1615,1601,1773,1763,2026,2129,1660,1725,2057,1973,2198,2473,2268,1829,1731,2342,1857,1968,1865,1714,2074,1637,1710,1555,1391,1666,1889,1956,1917,1705,1809,2054,1799,1630,1737,1817,2091,2353,2359,2939,3595,3000,2933,3082,2753,2259,2427,1931,1606,1376,1333,1346,1531,1689,2088,2218,2022,1810,1875,1661,1532,1534,1625,1913,1486,1671,2213,2347,2612,2214,2099,3082,2801,1610,1468,1754,1849,2155,2362,2263,1831,2096,2082,1714,1715,1836,1764,1548,1865,1875,1791,1931,1730,1228,1180,1500,1492,1465,2217,3099,2929,1967,1462,1815,1778,1968,2122,2136,2296,2259,1823,1800,2053,2010,2008,2060,2134,2137,2161,2270,2272,2238,2133,2088,2183,1945,1929,2314,2398,2470,2177,2196,1759,1367,1434,1833,1731,1960,2339,1908,1490,1444,1674,2427,2421,2290,2369,2248,1783,1672,2236,2296,1846,1646,1526,1495,1525,1618,1713,1510,1616,1779,1851,1902,2076,1876,1553,1534,1624,1553,1971,1954,2042,2049,2106,2021,1750,1690,1802,2024,2147,1865,1397,1354,1445,1710,2192,2275,2060,1856,2448,3109,2614,1737,1571,1594,1909,2359,2144,2548,2935,2979,2707,2734,2037,1892,2416,2657,2646,2360,1974,1554,1493,1451,1478,1525,1548,1790,1747,1366,1263,1443,1596,1749,2181,2432,2358,2447,1778,1843,1631,1546,1727,2428,3331,3119,2603,3174,3312,2554,1626,1575,1650,1895,1590,1600,1707,1572,1493,1471,1297,1648,2451,2669,1543,1247,1229,1184,1322,1488,2054,2511,2631,2231,1760,1916,2090,1918,1797,1883,1745,1771,1685,1485,1634,1808,1968,2209,2696,2523,1826,1653,2105,2020,2030,1889,1666,1734,1548,1540,1770,2318,2022,1457,1461,1373,1332,1315,1339,1217,1337,1403,1314,1435,1229,882,1199,1718,1923,2047,1753,1553,1525,2202,1707,1602,1600,2110,2811,2432,1884,1834,1731,1830,1534,1289,1656,1854,1902,1514,1381,1486,1832,1888,1795,1928,1809,1679,1726,1634,2178,1891,2294,2886,2713,2543,2220,1975,1882,1620,1654,1612,1654,1801,1825,1913,3019,3370,3654,3846,3144,3076,3519,2833,2290,2093,1958,1860,1861,2585,2090,1658,2446,2409,2396,2481,3104,3646,3791,3943,3838,3731,2819,2614,2919,3037,3109,3310,3771,3630,3045,2696,2669,2622,2531,2015,1421,1852,2061,1589,1684,1861,2467,2143,1735,1844,1660,1470,1889,2269,2246,2427,2113,2677,3022,3481,3985,3242,2448,2148,2169,2286,2532,2573,2389,2099,2279,2198,2552,2786,2134,1879,2678,2988,2611,3008,3089,2666,2380,2055,1368,1967,2880,2412,2822,2869,2260,1665,1475,1445,1532,1866,1787,2182,3030,1776,1703,2044,2055,2689,2917,2248,1958,2142,1809,1592,1897,2284,2307,2318,1953,2282,1962,1895,1928,1728,1196,1485,2777,3045,2381,2654,2897,2791,2679,2531,2119,1939,2127,2636,1912,2069,3742,3843,2898,2878,2959,2104,2417,3227,2718,2556,2361,1991,2394,2824,2333,2155,2795,2975,2969,2425,2253,2831,2466,2262,2496,2633,2676,2426,2012,1921,1900,1484,1487,1772,1645,1750,2214,2674,2452,1679,1531,1572,1634,1635,1838,2350,2802,2718,2597,2857,2658,1835,1817,2425,2337,1928,1297,733,881,861,908,874,715,759,963,1623,1709,1714,2233,2984,2909,2371,2498,3064,3040,2320,2467,2477,2055,2045,2542,2791,2752,2485,2076,2075,2652,2954,1765,1484,1688,1772,1674,1526,1948,2122,2286,2634,2342,1967,1957,1798,1411,1353,1438,1255,1303,1431,1579,1832,1633,885,764,1425,2019,1883,1504,1735,2158,2233,1897,1874,1948,2126,2205,2768,3580,3839,3247,2066,2069,1901,1735,1864,2013,2325,2332,1798,1642,1681,1494,1795,2107,2267,1593,1611,2209,2054,1863,1988,2153,2162,2461,2796,2612,1836,1815,1716,1853,2169,1459,1367,1722,2024,2398,2510,2327,2202,2620,2869,2810,2831,1837,1781,1996,1720,1452,1283,1387,1543,1913,2010,2017,2012,1847,1882,1788,1642,1758,1806,1432,1494,1806,1748,1630,1533,1713,2347,2264,1869,1818,1459,1153,1090,1213,1502,1582,1451,1322,1323,1260,1239,1457,1480,1274,1536,1505,1356,1343,1349,1371,1260,1375,1412,1318,1296,1262,1283,1387,1377,1413,1577,1821,1983,1701,1521,1488,1365,1300,1260,1422,1741,1905,1389,1240,1258,1266,1296,1886,1979,1959,2145,1744,1143,1449,1692,1349,1361,1253,1348,1362,1322,1235,1294,1365,1338,1404,1817,1974,1596,1598,1676,1759,1675,1469,2286,3536,4164,3293,2578,2746,2062,1353,1378,1445,2224,3167,2700,2959,3812,3543,3015,3248,3517,3601,3834,3295,2580,2184,2066,3176,3677,3513,3682,3655,3986,4340,4440,4480,4345,4329,4235,3612,3030,3071,2485,2391,3084,3781,3306,3447,3820,3094,2791,3247,3228,2685,1994,1410,1388,2236,3309,3402,3263,2853,2604,2179,1713,2300,3187,3439,3458,3351,3195,3504,3883,3673,2735,2055,2235,2661,3143,3726,4171,4417,4101,3271,2932,3947,4261,4168,4221,3532,2552,2490,2792,3033,3548,3270,3074,3472,3837,3435,3144,2888,3479,3825,3816,3662,3370,3191,3199,3112,3139,3195,3188,3450,3680,3797,3283,2735,2397,1887,1544,1717,2350,2091,1703,1575,1588,1649,1426,1280,1333,1476,1479,1452,1700,1694,1475,1347,1455,1361,1137,1370,1370,1410,1629,1645,1765,1680,1352,1237,1121,1190,1428,1568,1560,1390,1268,1282,1145,1275,1544,1498,1526,1317,1316,1265,1958,2126,2135,1893,1602,1480,1684,2050,2007,1820,1512,1547,1475,1448,1391,1655,1826,1969,2010,1748,1704,1732,1620,1585,1765,2269,2097,1885,2603,2492,2193,2940,3069,2423,2401,1951,1264,1675,2263,2498,2153,1642,1715,1873,2129,2456,2634,2591,2019,2049,2454,2282,2211,2781,2309,1919,1953,1735,1661,1741,2029,1845,1602,1748,1986,2179,2372,2054,2121,2066,2094,1969,1741,1672,2212,2570,2537,2270,2643,3046,2540,1902,2381,2330,2015,1485,1514,1466,1513,1886,1892,1573,1542,1715,1842,1923,1764,1503,1361,1101,1456,1975,1790,1685,1785,1702,1570,1642,1702,1641,1346,1201,1511,1787,1708,1453,1357,1909,2191,2149,2238,1827,1909,1925,2083,1881,1680,1454,1600,1622,1412,1516,1660,1734,1602,1554,1615,1659,1797,1632,1859,1795,1878,1892,1752,1787,2012,2278,2278,2005,1787,1785,1841,1459,1545,1568,2265,2021,1537,1658,1686,1736,1689,1469,1616,2313,2014,1839,1432,1412,1500,1588,1633,1485,1397,1561,1934,2396,1957,1699,1908,1801,2053,1978,1870,1892,1885,1891,1743,1838,1923,1930,1845,1590,1688,1835,2032,2060,2238,2132,1678,1502,1495,1578,1743,1562,1682,1885,1898,1859,1579,1572,2257,2157,1715,1730,1666,1533,1499,1554,1482,1415,1550,1674,1630,1581,1397,1229,1473,1649,1586,1723,2064,1978,1872,1451,1399,1560,2123,1742,1729,1583,1517,1978,2165,1773,1562,1432,1184,1383,1465,1355,1517,1547,1675,1820,1806,1896,1890,1708,1648,1737,1970,1829,1660,1860,1765,1860,1960,1841,1801,1640,1612,1666,1671,1662,1636,1629,1669,1801,1863,1895,2028,1997,2077,2171,2224,2166,2207,2186,2048,1952,1886,1872,1902,1831,1746,1677,1582,1477,1527,1647,1736,1719,1776,1893,1686,1725,1700,1681,1785,1934,1930,1919,1773,1608,1715,1733,1874,2080,1941,1826,1891,2087,2005,1816,1890,1902,1923,2013,1929,1868,2126,2061,2036,1902,1696,1834,1773,1537,2108,2443,2533,2405,2082,2706,3427,3093,2421,1958,1759,1630,1876,2286,2358,2504,2083,1649,1891,2060,1723,1431,1797,2254,2145,1755,1482,1524,1741,1764,1606,1478,1336,1322,1497,1605,1461,1318,1312,1411,1736,2201,2066,1574,1709,2121,2416,2888,2800,2983,3221,3365,2944,2242,1632,2235,2783,2599,2380,2061,1452,1746,2138,1574,1625,1546,1505,1654,1654,1530,1645,1754,1898,2428,2500,2242,1986,2070,1935,1950,2231,2806,3014,2419,1919,2212,3152],[2803,2472,1832,1768,2126,2478,2763,3200,2911,1971,1894,1589,1951,2641,2962,2634,2376,2497,2920,2583,2153,2744,3225,2961,2735,3168,3415,4100,3550,2280,2092,2275,2071,2099,2524,2813,3096,3177,3209,3377,3458,2894,2977,3275,3234,3415,3408,3203,3171,3351,3443,3010,3243,3754,3292,2997,2619,2170,2054,2146,1722,1520,1623,1550,1638,1616,1568,1420,1654,2533,3448,3261,2573,2369,2552,2204,1638,2389,3231,2531,1661,1683,1909,2232,2878,3257,2908,2808,2788,2351,2076,1907,1876,1922,2564,2699,2067,2831,3061,2886,2553,2535,2657,2441,2264,2378,2916,3019,2972,3045,2876,2557,2335,2245,2457,2277,2028,2099,2283,2523,2612,2920,3060,2917,2788,2845,3544,3426,3231,3331,3540,2920,2359,2464,2435,2459,2888,3245,3494,3627,3299,3564,3373,3417,3368,3515,3707,3537,3341,3272,3299,3432,3580,3383,3558,3510,3350,3444,3483,3658,3420,2939,2603,2854,2658,2474,2869,3808,3771,3318,3196,3082,2785,2755,2818,2240,1753,2177,2686,3436,3588,3479,3219,3178,3000,3536,3554,3329,3206,3414,3300,2535,2534,2686,2502,2535,3326,2915,2856,2452,2484,2076,2470,3195,2934,2699,3129,3551,4165,3882,3248,2750,3121,2466,2315,2600,2471,2181,2007,1826,1950,2674,3155,2733,2761,2641,2692,3023,2267,2591,3417,3497,3019,2443,2370,3002,3168,3237,2544,2147,2837,2517,2200,2376,2259,2154,2071,1795,1800,2295,2691,2908,2640,2426,2098,2186,2515,2265,2110,2019,2750,2951,2509,2308,2315,2449,2675,2646,1775,2290,2386,1759,1863,1910,1953,1792,1731,1779,1677,1571,1719,2041,2071,1999,2398,2062,2160,2103,2388,2519,2620,3075,3001,3440,4086,4232,4203,3846,3200,2270,2366,2552,2518,2498,3068,3209,2692,2814,2770,2695,2445,2314,2666,2451,2366,2202,1717,1549,1894,2172,1891,1359,1344,1595,1904,1881,1964,1655,1540,1462,1476,1674,1881,1887,1968,1986,1928,1953,1992,2351,2364,2145,1822,1950,2404,2030,1464,1454,1412,1458,1659,1814,1843,1434,1624,1550,1215,1458,1488,1676,2270,2400,2255,2450,2379,1844,1752,1954,1892,1736,1663,1786,1957,1932,1759,1744,1606,1552,1776,1685,1665,1617,1679,1710,1781,1570,1805,2030,2376,2939,2872,2308,3139,3337,2254,2477,2632,2375,2236,1985,1653,1518,1490,1450,1437,1646,2040,2197,1968,1923,2224,2196,1683,1374,1477,1904,2077,1833,2052,2163,2105,2466,2137,1710,2013,1730,1534,1614,1611,1730,1994,2198,1771,1423,1732,1697,1834,1566,1401,1935,2204,2406,2050,1640,1528,1465,1378,1594,1591,1389,1909,1727,1625,2174,1850,1543,1757,2172,2362,2151,2990,3488,2372,1568,1519,1613,1730,1870,1863,1929,2009,2047,2171,2211,2099,2065,2122,2088,1771,1755,2011,2587,2836,2586,2091,1458,1344,1645,1678,1476,1503,1544,1578,1455,1472,1513,2410,2371,2098,2143,2060,1860,2123,2462,2209,1931,1667,1643,1669,1553,1592,1686,1493,1367,1642,1920,2230,2884,2689,1673,1649,1605,1522,1598,1601,1896,1867,1898,1548,1419,1593,1877,1952,1924,1759,1469,1543,1755,1976,2056,1919,1704,1535,1736,2082,1876,1594,1419,1571,2256,2756,2213,2094,2127,2384,2487,2108,1856,2368,2598,2678,2599,2245,2114,1920,1808,1730,1649,1577,1552,1789,1657,1407,1446,1584,1749,2260,2633,2374,1939,1914,1460,1390,1394,1664,1827,2008,3105,3485,3824,4315,3676,2025,1492,1573,1653,1797,1635,1667,1634,1199,1096,1122,1617,2852,3426,3387,2087,1447,1273,1303,1326,1504,2172,2565,2356,2326,2453,2482,2166,1728,1892,1789,1763,1750,1082,1187,1627,1753,1849,1938,2219,1892,1457,1433,1591,1550,1496,1549,1669,1540,1424,1544,2045,2294,1633,1476,1378,1232,1250,1392,1437,1296,1259,1324,1839,2260,1738,1155,862,1434,1854,1886,2034,1494,1811,2482,1964,1698,1705,1867,2522,2829,2092,1497,1617,2200,2013,1477,1648,1774,1459,1318,1419,1654,2176,2108,2404,2504,1982,1840,1497,1511,1771,1989,2376,2240,2305,2666,2353,2148,2143,1918,1745,1799,2158,1992,1858,2026,2502,2231,2844,3488,2608,2332,2439,2564,2466,1966,2104,2033,1783,1836,1476,1690,2279,2296,2260,2625,3682,3934,3780,3784,3673,3685,3505,3458,3122,3022,2644,2705,3278,3299,3000,2655,2235,2010,2113,1672,1670,1732,1483,1258,1639,2144,2631,2603,1952,1708,1568,1771,2308,2156,2406,2244,2277,2359,2634,3598,3739,2999,2340,2176,2656,2384,2657,2521,2178,2295,2208,2430,2589,2504,2494,2624,2821,2916,2763,3046,3486,3472,2377,1760,1963,2880,3153,2622,2417,2792,2733,1655,1511,1667,2152,1999,2018,2317,2128,1919,1919,1880,1885,2597,2861,2326,2235,2170,1560,1772,1824,2194,2513,1783,1908,2036,1537,1694,1757,1440,1569,1900,2565,2696,2420,2710,2835,2319,2625,3241,2910,2054,1930,2374,2177,1901,2520,2056,2648,2741,1930,2036,2887,3607,2823,2496,2458,2203,2733,2618,2213,2685,2868,2787,2455,1559,1853,2604,2197,2197,2261,2100,2324,2278,1889,2020,1773,1346,1402,1654,1692,1717,2435,3055,2416,1798,1745,1557,1521,1598,1882,2107,2063,1945,2415,2406,1975,1458,1697,2375,2386,1837,1462,929,991,752,770,899,955,1163,1431,1653,1652,1855,2220,3051,3603,2424,1659,2139,2797,2314,2771,2666,2286,2322,2476,2696,2778,2378,1923,2317,2713,2677,1569,1351,1387,1650,1611,1598,1984,2142,2297,2729,2376,2202,1729,1614,1382,1352,1258,1253,1385,1404,1492,1780,1571,794,825,1581,2230,1711,1733,2064,2120,2092,1983,1989,2120,2168,2049,2266,3156,3400,2867,2052,1822,1741,1608,1703,1982,1882,1703,1636,1678,1582,1437,1739,2299,2025,1485,1675,2377,2215,1899,2259,1923,1751,2321,1997,1725,1919,2225,2476,2469,2097,1416,1355,1574,1964,2233,2316,2527,2604,2864,2696,2496,2762,1926,2096,2096,1846,1435,1323,1444,1536,1997,2056,2205,2090,1816,1868,1849,1614,1666,1598,1654,1590,1527,1692,1714,1652,1529,1808,1819,1863,1724,1250,1203,1140,1180,1511,1776,1544,1233,1217,1258,1293,1280,1287,1342,1476,1371,1368,1345,1299,1235,1303,1372,1364,1365,1181,1228,1346,1369,1268,1357,1437,1527,1866,1843,1462,1335,1336,1300,1362,1251,1318,1562,1391,1261,1262,1229,1228,1345,1302,1521,2004,1651,1486,1954,1841,1343,1296,1425,1521,1498,1456,1418,1361,1378,1325,1340,1482,1672,1748,1636,1522,1454,1309,1491,2617,3937,4235,3525,2399,2446,1919,1359,1362,1512,2415,3438,2511,2561,3683,3519,3023,3352,3607,3694,3626,2699,2276,2072,1954,2928,3226,3406,3940,4062,4093,4212,4207,4300,4271,4332,4255,3872,3754,3241,2316,2469,3037,3047,3376,3794,3680,4176,3853,2376,2392,2388,1715,1809,2403,2846,2933,3071,3212,3049,2822,2207,1946,2164,2298,2896,2908,2897,3250,3483,3560,3719,3032,2178,2265,2424,2513,2831,2657,3221,3088,2612,2646,3408,3582,3356,3030,2499,2780,3219,3243,3145,3185,2733,3023,3441,3771,3707,3383,3298,3629,3833,3820,3742,3573,3363,3404,3178,3046,2995,3029,3436,3789,3923,3488,3198,2864,2008,1844,2001,1764,1555,1628,1649,1506,1474,1437,1433,1448,1431,1449,1375,1366,1543,1473,1316,1659,1261,1129,1383,1434,1465,1554,1564,1748,1740,1442,1346,1302,1320,1529,1789,1585,1321,1166,1156,1087,1332,1820,1655,1803,1424,1473,1469,1787,1837,1626,1434,1424,1491,1713,1928,2050,1927,1624,1892,1578,1394,1154,1527,1750,1729,1730,1662,1649,1792,2002,1950,1971,2629,2208,1954,2503,2282,1873,2445,3011,2506,2075,1998,1427,1538,1896,2251,1947,1528,1920,1815,1842,2190,2714,2598,1895,1948,2162,1766,1781,2495,2323,2107,1840,1571,1448,1664,1815,1643,1433,1699,1897,1848,2089,1847,1582,1489,1592,1979,2042,2053,2112,2309,2543,2422,2843,2765,2070,1823,2272,2221,2083,1638,1499,1639,1700,1710,1582,1477,1406,1781,1965,1877,1526,1400,1441,1475,1758,1820,1537,1569,1590,1589,1558,1741,2081,1891,1522,1250,1529,1781,1681,1566,1654,1937,2227,2387,2626,2147,1789,1759,1918,1653,1746,1693,1498,1433,1484,1597,1645,1754,1533,1470,1514,1595,1958,1840,1551,1425,1724,2024,1935,1735,1741,1991,1977,1681,1455,1924,2039,1637,1468,1628,2070,1778,1431,1680,1809,1745,1346,1638,1832,1997,1839,1981,1499,1358,1482,1592,1756,1746,1510,1758,2052,2490,2018,1581,1697,1731,1820,1889,2107,2007,2064,2281,1972,2141,2201,2001,1739,1625,2036,1966,1849,1543,1569,1825,1743,1484,1335,1501,1708,1968,2092,1675,1642,2192,2324,2504,2752,2308,2132,2436,2063,1686,1788,1666,1560,1629,1538,1622,1659,1412,1266,1418,1583,1473,1431,1647,1859,1671,1614,1412,1464,1470,1569,1672,1692,1672,1771,1817,1875,1686,1736,1578,1190,1599,1376,1325,1350,1467,1557,1534,1626,1620,1538,1501,1534,1849,1937,1705,1814,1887,1841,1828,1888,1777,1592,1596,1641,1609,1754,1943,1913,1901,1907,1869,1718,1687,1653,1582,1606,1724,1707,1650,1650,1642,1608,1675,1678,1634,1525,1593,1557,1550,1670,1639,1885,2166,1572,1236,1705,1820,1591,1675,1649,1974,1849,1746,1930,2052,1926,1650,1531,1636,1826,2122,2014,1893,1826,1845,1825,1694,1789,2003,2161,2117,2075,2222,2324,2069,1876,1721,1707,2012,1978,1610,1832,2119,2390,2263,2315,2708,2961,2962,2448,2238,1792,1804,2168,2192,2380,2576,2236,2156,2272,2191,1721,1634,1922,2246,2593,2128,1604,1606,1687,1447,1464,1569,1514,1385,1460,1472,1418,1405,1411,1337,1783,2115,1770,1494,1720,1874,2326,2669,2267,2810,3371,3349,2389,1677,1871,2208,2396,2598,2980,2558,1604,1552,1642,1782,1951,1713,1662,1633,1587,1569,1715,1678,1964,2776,2851,2902,2413,2064,2294,2444,2329,2843,3130,2799,2386,2507,3364],[2563,1964,1667,1538,1634,2149,2975,3472,3428,2809,2525,2570,3185,2574,2322,2368,2414,2611,2921,2654,2458,2872,2994,2849,2531,3162,3789,3957,2949,1839,2289,3007,2875,3110,3352,2939,3087,3141,3053,3072,3155,3040,3005,3240,3653,3710,3427,3469,3528,3386,3405,2961,3044,3433,3228,2860,2971,2597,1936,1859,1779,1744,1574,1521,1784,1555,1399,1429,1603,2170,3008,2546,1828,1945,2220,2378,2243,2620,3370,3270,2149,1967,1995,2036,2481,2941,2721,2340,2406,2432,2374,1900,1858,1775,2014,2321,2447,3017,3023,2422,2199,2773,2976,2622,2309,1908,2250,2416,2652,2985,2517,2525,2128,2119,2688,2389,2004,1923,2192,2432,2403,2737,2863,2940,2707,2687,2951,2956,2867,2919,2974,2731,2371,2338,2216,1972,2254,2526,3130,3277,3065,2893,2967,2943,3139,3617,3308,3507,3588,3493,3329,3738,3596,3637,3993,4019,3526,3010,2976,3041,3155,3178,3024,3477,3443,3026,3086,3329,3084,3386,3594,3465,3117,2662,2546,2298,1985,2545,3095,3872,3877,3539,3419,3798,3517,3842,3963,3643,3431,3583,3488,2675,2655,2666,2555,3112,3541,3749,3112,2313,2321,2207,2518,3119,3250,3077,3420,3084,3629,3660,2857,2204,2705,3215,2903,2290,2121,2064,2347,2302,2604,3016,2787,2798,2947,2700,2482,2275,2109,2496,2794,2631,2677,2687,2627,2768,2938,3482,3147,2908,2994,2403,2257,2019,1869,2020,1864,2026,2032,2352,2562,2623,2236,1763,1750,2099,2057,2019,2133,1957,2432,2719,2127,2158,2491,2437,2094,1857,1690,2082,2235,2195,2099,1930,1932,1887,1667,1649,1741,1837,2104,2406,2244,2076,2241,2085,1943,1906,2191,2387,2359,2674,2654,3471,3970,4276,3929,3506,2811,2622,2842,2940,3007,2499,2558,2906,3009,3332,3404,3275,3147,2750,2444,2657,2556,1962,1540,1678,1613,1514,1563,1382,1189,1710,2233,2120,1996,1675,1374,1380,1447,1569,1659,1855,2144,1957,1959,1958,2078,2366,1977,1808,1984,2278,2406,2083,1731,1537,1334,1424,1372,1561,1855,1386,1783,1629,1476,1610,1434,1501,1811,1817,1885,2137,1951,1704,1792,1836,1736,2007,1936,2254,2367,1793,1668,1880,1841,2186,2060,1643,1671,1644,1700,1598,1655,1541,1604,2075,2592,2785,2596,2300,2847,2579,2787,2976,3204,2436,2057,1987,1528,1418,1669,1709,1730,1843,2028,1808,1645,2035,2688,2071,1467,1387,1751,2072,1967,1691,1713,1803,1705,1712,1979,1947,1787,1501,1704,1707,1550,1656,1603,1745,1716,1552,2047,2167,1944,1730,1691,1917,2042,2129,2049,1931,1580,1531,1909,2185,1673,1389,1814,1635,2010,2170,1836,2016,2343,2736,2644,2338,3101,3038,1791,1520,1523,1594,1635,1734,1753,1787,1918,2000,2120,2170,2096,2023,2087,2230,2080,1576,1664,2528,2486,2038,1862,1662,1587,1614,1560,1551,1583,1495,1697,1600,1507,1920,3055,2493,1553,1725,1689,1779,2040,2093,2109,2192,1684,1688,1854,1666,1692,1737,1595,1422,1543,1651,1670,2641,2702,1959,1936,1538,1458,1411,1612,1590,1743,1858,1477,1572,1719,1944,1551,1796,1835,1649,1511,1510,1777,1699,1495,1623,1777,1653,1679,1666,1755,1862,1891,2317,2380,1736,1956,2458,2151,1789,1456,1804,2344,2312,2072,2177,2104,1796,1763,1901,1905,1851,1720,1809,1931,1605,1687,1574,1546,1757,2380,2815,2402,2218,2020,1619,1401,1384,1679,2074,1769,2221,2252,3263,3896,3261,2041,1789,1743,1636,1689,1654,1421,1231,968,1053,1139,1916,2995,3515,3458,2357,1465,1285,1307,1332,1487,1972,2658,2357,2384,2544,2216,1794,1822,1825,1896,2197,1571,919,1338,1668,1932,2089,1688,1702,1635,1519,1408,1339,1287,1376,1716,1666,1471,1412,1427,2032,2469,1919,1610,1532,1211,1134,1339,1460,1402,1318,1648,2455,2657,1898,1328,1106,1563,1906,1948,1842,1359,1659,1779,1556,1678,1827,1735,2359,2611,1997,2051,2248,2736,2386,1765,1822,1598,1139,1202,1306,1775,2769,2922,2496,1886,1864,1999,1582,1608,1974,2412,2569,2258,2454,2497,2395,2189,1918,2271,2090,2360,2300,1945,2010,2029,1911,1875,2335,2176,1372,1745,1850,2489,2170,1793,1990,1950,1732,1674,1673,2044,2381,2199,2046,2575,3540,3243,3330,3741,3812,3669,3816,3916,3850,3816,3437,2933,2867,2607,2752,2444,1969,2103,2381,2515,2631,2209,1539,1499,2308,2798,3016,3205,2641,2011,1676,2387,2923,2422,2578,2418,2313,2131,2337,2973,2732,3109,3304,3128,2483,2004,2198,2074,2403,2525,2197,2560,2862,2788,2503,2319,2430,2596,2288,2759,3155,3489,2436,1988,3147,3874,3473,2632,2214,2449,2325,1760,1885,2834,2802,2202,2489,2409,2065,2154,1916,1446,1761,2329,1988,1947,2279,2142,2089,2483,2036,1751,1764,1920,2394,1878,1563,1790,1838,1718,2648,2964,3055,2662,1926,2436,2707,2153,2597,3120,2994,2546,1784,1739,1917,1958,2286,2416,3108,2420,1645,1957,3229,3963,2756,1726,1802,2025,2263,2094,2320,2425,2370,2686,2571,2179,2518,2513,2545,3122,2508,1963,2450,2425,1978,2156,2157,1908,1803,1797,1741,1680,2404,3405,2777,1710,1744,2026,1723,1561,1605,1564,1715,1836,1968,2447,2645,2216,2101,2534,2511,1888,1714,1173,937,731,941,1129,1290,1447,1321,1043,1549,2049,2069,2424,3444,3105,2104,1627,1558,1374,2544,3034,2752,3031,3311,3395,3239,2620,2554,2595,2521,2186,1656,1548,1584,1752,1717,1629,1626,1619,2157,2356,1924,2094,1578,1502,1921,1739,1280,1261,1280,1342,1519,1779,1686,884,1122,2056,2470,2348,2642,2765,2677,2584,2287,2042,2126,1881,1587,1791,1937,2163,2187,2030,1909,1942,1917,1861,1870,1734,1641,1710,1974,1590,1606,1773,2206,2050,1770,1728,2319,2519,2316,2521,2098,2130,2173,2217,2133,2580,2623,2901,3218,2431,1474,1525,1717,2018,2491,2646,2743,2774,2835,2502,2388,2498,1963,1994,2029,1583,1265,1396,1438,1550,2117,2088,1969,2015,1997,1880,1758,1811,1772,1614,1502,1235,1158,1317,1487,1881,1812,1660,1652,1851,1610,1468,1436,1249,1273,1614,1801,1377,1305,1265,1465,1456,1371,1442,1483,1389,1288,1437,1533,1284,1247,1408,1334,1362,1328,1419,1430,1358,1367,1382,1382,1488,1567,1782,1547,1307,1300,1332,1178,1313,1257,1254,1200,1194,1188,1275,1553,1583,1247,1225,1289,1371,1289,1490,1787,1691,1398,1413,1541,1615,1510,1448,1460,1470,1366,1260,1197,1335,1480,1653,1647,1461,1381,1569,1543,2368,3982,4124,3959,3161,2989,2093,1421,1412,1466,2212,3318,2726,2275,3024,3372,3507,3704,3540,3140,2552,2477,2746,2387,1711,2422,3524,3905,3933,3957,3968,4144,4175,4212,4209,4301,4251,4026,3451,2945,3020,3438,3277,3011,3334,3696,4263,4663,4111,2584,2502,2802,2494,2753,3329,3453,3184,2862,2997,2998,2811,2655,2249,2335,2554,2601,2490,2885,3326,3206,2988,3076,2735,2112,2181,2373,2369,2612,2978,2719,2611,2856,2675,2349,2470,2742,2695,2651,2976,3461,3544,3559,3362,3073,3476,3581,3570,3758,3618,3560,3717,3697,3538,3564,3655,3398,3140,2917,3029,3151,3294,3708,4016,3880,3598,3411,2825,2154,2078,2004,1716,1621,1645,1497,1408,1970,2211,1461,1563,1430,1283,1265,1311,1388,1215,1192,1374,928,803,1018,1179,1344,1473,1552,1780,1767,1412,1328,1419,1400,1512,1682,1430,1185,1174,1165,1078,1258,1333,1241,1325,1219,1281,1588,1504,1320,1455,1398,1650,1819,1578,1570,1940,1825,1609,1605,1672,1567,1263,1437,1670,1635,1480,1520,1587,1672,1450,1473,1627,2049,1915,1957,2040,1942,2379,3006,2983,2868,2078,1685,1534,1753,2125,2216,1974,2129,2232,2116,2107,2183,2511,2347,1831,1682,1913,1616,1742,2434,2643,2392,2173,2088,1837,1620,1833,1831,1530,1796,1869,1743,1826,1821,1666,1555,1494,1900,2300,2458,2159,1744,1721,2154,2779,2901,2284,1820,1865,1869,1970,1888,1632,1692,1605,1639,1540,1459,1401,1734,1765,1693,1582,1507,1498,1525,1505,1494,1446,1533,1618,1621,1515,1646,2255,2337,2356,1978,1537,1679,1690,1587,1591,1643,1669,1807,2405,2388,1936,1776,1554,1762,2285,1949,1538,1458,1777,1943,1638,1576,1660,1615,1520,1534,1702,1568,1415,1504,1946,2370,2114,1588,1785,2087,1953,1863,2149,2343,2227,2081,1730,1724,1986,1640,1519,1794,1939,1918,1728,1866,1900,1686,1670,1786,1630,1598,1606,1708,1717,1804,1756,1870,1863,2258,2078,1842,1885,1886,1754,1627,1742,1747,1892,1942,2023,2326,2688,2204,1708,1512,1817,2002,1825,1651,1606,1826,1944,1791,1679,1354,1612,1842,1698,1745,2146,2345,2311,2764,2691,2222,2293,2868,2460,1952,1894,1514,1392,1559,1415,1482,1559,1516,1479,1658,1664,1627,1709,1626,1625,1739,1537,1455,1545,1404,1483,1499,1300,1518,1698,1634,1932,1735,1773,1557,1393,1399,1625,1865,1469,1324,1490,1536,1511,1543,1331,1352,1259,1612,1678,1677,1722,1833,1970,1903,1847,1717,1582,1652,1697,1647,1739,1957,1880,2083,2040,1748,1668,1670,1726,1788,1719,1720,1850,1832,1927,1905,1687,1765,1840,1795,1736,1861,1793,1837,2016,1768,1857,2071,1188,1632,2152,1848,1625,1725,1720,1694,1643,1693,1980,2176,1983,1784,1561,1727,1734,1891,1937,1950,1810,1862,1949,1699,1724,1896,2117,2174,2084,1905,1678,1820,1828,1770,2237,2931,2422,1617,1526,1653,1757,1990,2469,2178,2364,2333,1921,1792,1740,1891,1867,1667,1836,2218,2690,2574,2213,1811,1505,1797,2086,2212,2431,2532,2004,1760,1889,1750,1662,1542,1557,1410,1438,1413,1505,1483,1362,1408,1347,1309,1282,1433,1571,1696,2280,2587,2439,2767,3222,3168,2403,1669,1584,1745,1849,2149,2564,2328,1869,2131,1946,1870,1896,1768,1568,1497,1563,1485,1607,1688,1845,1992,1962,2448,2263,1831,2183,2327,2020,2203,2604,2712,2865,2919,3242],[1986,1840,1947,1770,1672,1993,3021,3099,3272,3030,2592,3394,3240,2514,2630,2702,2612,2624,2512,2879,2885,3143,2906,3144,2448,2840,3532,3550,2767,2072,2522,2939,2857,2922,2800,2731,2937,3022,2901,2870,3098,3312,3189,3384,3693,3760,3625,3473,3370,3034,3140,3234,3191,3554,3771,3346,3094,2611,1968,1947,1702,1676,1669,1882,2076,1880,1466,1665,1695,2055,2787,2566,2443,2612,2585,2529,2348,2695,3594,4014,2844,2092,2046,1981,2670,3772,3100,2281,2645,2240,1862,1595,1891,2136,2402,2079,2402,2634,2325,2126,2389,3038,3046,2634,2533,2047,2272,2396,2375,2530,2781,3022,2598,3073,3526,2768,2176,2102,2172,2280,2132,2510,3084,2810,2472,2530,2460,2544,2968,3095,3193,3305,2261,1817,1841,1924,2180,2489,2654,2792,2916,2921,3173,3051,3220,3514,3286,3575,3226,3285,3598,4233,3808,3992,4058,3571,3193,2684,2576,2707,2632,3001,3688,3919,3770,3480,3471,3265,2773,3081,3484,3252,3105,2969,2203,1748,2370,3658,3581,3763,4116,3994,4248,4124,3597,3794,4090,3908,3652,3642,3404,2964,2322,2276,2172,2988,3506,3317,2720,1990,1774,2288,2722,2830,2868,3156,3222,2788,3294,3454,2980,2645,2841,3385,2767,2097,2046,1924,2475,2348,2109,2610,2554,2901,2950,2559,2114,2049,2194,1982,1676,2032,2964,3099,3067,2586,2479,2673,2729,2909,2728,2488,2787,2419,2051,2183,1929,2027,2031,2143,1818,1980,1936,1802,1768,1805,1965,2353,2249,1811,1896,2996,2990,2762,2220,1907,2061,1888,1789,1982,2142,2106,1929,1765,2004,1965,1726,1577,1528,1758,1798,2008,1882,1842,2230,2277,1963,1650,2185,2124,1874,2531,3378,3549,3611,3918,3658,3480,3251,3497,3680,3354,3348,2963,2395,2432,2247,2950,3278,3060,3228,3109,2698,2480,2373,2283,1933,1805,1554,1524,1521,1317,1210,1681,2149,2058,1992,1792,1594,1483,1620,1643,1534,1425,1789,1934,2030,1994,2027,1960,1816,1808,1714,1842,2141,2411,2192,1721,1472,1389,1190,1235,1467,1424,1750,2040,2020,1982,1726,1655,1394,1583,1600,1660,1834,1751,1778,1603,1582,1749,1737,1802,1723,1548,1611,1810,2009,1854,1552,1755,1779,1697,1584,1418,1389,1547,1952,1989,2360,2236,2214,2866,2442,2114,2710,2632,3078,2442,1700,1840,1959,1945,1886,1876,1780,1846,2139,1808,1460,2094,2590,2395,1840,1477,1650,1700,1682,1774,2165,2335,1950,1779,1813,1898,1815,1533,1736,1724,1566,1576,1414,1489,1710,1934,2255,2165,2089,1948,1986,1764,1542,1764,2066,2242,1865,1995,2334,2326,1734,1455,1650,2397,2896,2390,2134,2718,3166,2732,2341,2343,2395,2307,1678,1450,1548,1775,1786,1593,1480,1571,1715,1839,1974,2199,2226,2110,2298,2078,1613,1366,1738,2367,2188,1607,1677,1657,1476,1603,2038,2238,1855,1616,1831,1732,1577,2193,3074,2686,1643,1543,1557,1461,1581,1792,2177,2173,1839,1752,1712,1669,1584,1621,1669,1527,1521,1443,1539,2204,2197,2180,1768,1382,1330,1465,1543,1419,1779,1766,1500,1427,1976,2100,1624,1428,1618,1864,1534,1419,1594,1643,1622,1718,1671,1503,1581,1830,1996,2333,1961,1882,1969,1569,1835,2182,1897,2256,2044,1884,2203,2297,1999,1810,1727,1602,1734,1693,1585,1686,1700,1808,1914,1820,1966,1760,1714,1841,2104,2067,1792,1674,1851,1771,1353,1317,1691,2103,1614,1781,2898,3357,3304,2928,2098,1499,1525,1681,1609,1649,1333,1128,998,967,1051,1562,1837,1939,1975,1809,1532,1474,1564,1735,2206,2394,2527,2295,2231,2160,1896,1797,1709,1785,2286,2223,1102,868,1294,1544,1732,1781,1397,1377,1454,1395,1322,1333,1349,1748,2114,1590,1396,1473,1412,1808,2052,1571,1277,1282,1297,1378,1310,1368,1510,1350,1552,2062,2155,1572,1488,1701,1874,1869,1956,1568,1443,1830,1810,1627,1266,1553,2221,2361,2013,2038,2339,2409,2312,2060,2386,2375,1649,1158,1268,1503,1449,1749,2182,1890,1709,1980,2139,1946,1772,2080,2507,2353,2382,2599,2359,2604,2055,2118,2460,2309,2363,2242,2164,2115,1885,1775,1710,1952,2126,2005,2010,1845,1711,1823,1714,1764,2153,2216,1910,1929,1962,2011,2068,1990,2366,3242,2858,3353,3982,4029,3872,3736,3728,3780,3936,4009,3692,3702,3286,2878,2532,2279,2197,2293,2591,2897,2585,2067,1966,2602,2823,3526,3249,2998,2621,2453,3078,3073,2623,2861,2908,2863,2408,2687,3078,2853,3174,2897,2524,1630,1556,1963,1974,2442,2843,2626,2978,2933,3252,2902,2540,2876,2518,2563,2873,2573,3060,2512,2303,2669,2778,3153,2548,2442,3276,2939,2105,2137,2852,3075,2695,2754,2862,2728,2351,1651,1494,1874,1437,1591,2114,2101,2026,2366,2431,2071,1704,1615,2629,3211,2124,1921,1849,1629,1765,2677,2632,2924,2230,1667,2684,3158,2740,2327,1976,2249,2234,1788,1972,2049,2304,2676,2529,2319,2274,2238,2377,3160,3374,2316,1240,1449,1774,1561,1665,2332,2208,2316,2477,2059,2007,2292,2207,2025,2436,2497,2255,2741,2578,2366,2459,2535,2540,2294,1736,1743,1902,2092,2508,1578,957,1915,2408,1941,1760,1728,1783,1664,1327,1920,3244,3050,2429,2573,2486,2148,1886,1773,1494,1163,1039,1174,1334,1538,1635,1525,1594,2010,1980,1952,1857,2609,3266,2476,1686,1515,1482,2262,3088,2909,3220,4114,4643,4083,3098,2605,2257,2047,1899,2225,2427,2230,1890,1575,1603,1579,1692,2395,2465,2303,1947,1515,1432,1651,1499,1190,1212,1177,1456,1725,1818,1589,1488,1912,2432,2496,2442,2158,2091,2358,2436,1989,1686,1881,1472,1182,1365,1560,1774,1597,1438,1621,1951,1997,1874,1813,1700,1802,1902,1910,1484,1388,1519,1929,2061,1740,1736,2156,2155,2024,2260,2325,2330,2088,2806,2951,2526,1959,2329,2849,2044,1387,1745,1836,1952,2207,2593,2629,2720,2657,2412,2348,2581,2685,2221,1770,1736,1642,1486,1430,1682,1935,2050,2010,2030,1929,1928,1927,1844,1587,1492,1657,1345,1025,970,1202,1729,1953,1833,1780,1863,1649,1394,1289,1253,1442,1560,1632,1358,1343,1396,1527,1400,1389,1499,1497,1406,1279,1363,1548,1470,1464,1405,1266,1309,1247,1358,1322,1267,1362,1421,1432,1411,1506,1788,1208,1344,1376,1328,1137,1116,1266,1274,1215,1192,1198,1508,2215,2340,1625,1044,907,1080,1268,1580,1658,1431,1263,1288,1390,1357,1410,1635,1705,1722,1453,1278,1248,1287,1545,1760,1544,1479,1553,1644,1389,2015,3604,3994,4112,3638,3477,2407,1560,1485,1466,2249,3397,3008,2330,2734,3186,3209,2906,2510,2449,2916,3484,3575,2767,2130,3134,4260,4330,4175,4280,4012,4111,4253,4136,4105,4131,4192,3986,3219,3073,3663,3933,3952,4031,3941,4246,4720,4696,4632,3950,3387,3222,3329,3491,3398,3493,3352,3095,2942,3317,3112,2917,2599,2647,2767,2594,2808,3266,3254,3117,2881,2736,2758,2954,2686,2245,2086,2697,3022,3068,3357,3330,2857,2232,2578,3078,2952,2951,3068,3243,3530,3629,3328,2909,3120,3465,3485,3815,3904,3683,3807,3942,3836,3544,3492,3374,3028,2858,3074,3163,3332,3873,4012,3592,3326,3244,2720,2382,2022,1637,1599,1607,1540,1468,1511,2314,2756,1496,1526,1368,1216,1159,1290,1284,1173,1152,812,575,843,1057,1258,1388,1689,1785,1750,1647,1434,1472,1507,1452,1704,1855,1460,1285,1209,1278,1183,1290,1353,1227,1160,1143,1230,1867,1888,1470,1466,1353,1420,1548,1419,1417,1638,1800,1551,1408,1496,1490,1351,1383,1628,1747,1680,2008,1842,1503,1444,1525,1340,1543,2124,2226,1898,1930,2439,2446,2634,3025,2026,1654,1992,2295,2410,2244,2131,2132,2054,2038,2101,2299,2542,2135,1896,1888,1794,1900,2092,2255,2474,2248,1862,1742,1787,1581,1906,1829,1882,2008,2210,2236,1977,1874,1747,1693,1788,1734,2044,3134,2640,1732,1526,1809,2218,2142,1719,1581,1527,1599,2010,2187,1763,1464,1408,1568,1394,1421,1486,1519,1598,1712,1732,1607,1594,1599,1559,1594,1608,1612,1747,1747,1585,1339,1633,2149,2361,1645,1197,1671,1675,1628,2067,2194,1627,1565,2219,2492,2170,1571,1273,1760,2162,1637,1462,1642,1644,2015,1691,1835,1920,1714,1788,1746,1561,1517,1565,1626,1784,1880,1687,1579,1676,1952,1964,1952,2118,2079,2020,1908,1528,1470,1754,1503,1522,1721,2060,1716,1600,1614,1605,1559,1664,1719,1765,1782,1880,1524,1511,1728,2321,2052,1725,1802,1772,1957,2168,1968,1647,1608,1706,1715,1568,1636,1945,1868,2408,2083,1530,1640,1769,1931,1823,1607,1356,1759,1759,2309,2246,1617,1719,1567,1530,1714,1972,2099,2296,2413,2026,2228,2320,2339,2162,1752,1482,1315,1636,1656,1428,1439,1671,1963,1805,1757,1566,1603,1864,1769,1611,1566,1549,1625,1478,1393,1472,1364,1284,1400,1539,1888,1803,1819,1834,1478,1417,1569,2178,2481,1650,1321,1358,1319,1255,1343,1332,1344,1562,1714,1686,1616,1498,1647,1686,1642,1826,1788,1852,1986,1939,1918,1918,1825,1769,1919,1744,1568,1667,1594,1719,1748,1572,1510,1688,1758,1860,1888,1780,1647,1722,1805,1695,1758,1625,1761,1822,1528,1380,1151,1146,1732,1850,1554,1482,1611,1614,1745,1722,1786,1965,2083,1948,1901,1832,2045,2245,2114,1754,1538,1368,1700,1891,1614,1812,2049,2014,2104,1982,1631,1700,1854,1798,1803,2084,2228,1974,1613,1426,1432,1620,2142,2331,1734,1708,1823,1635,1501,1811,2041,2024,1728,1867,2134,2596,2284,1978,1658,1494,1437,1630,1821,1815,1755,1527,1625,1757,1742,1691,1482,1422,1382,1444,1375,1436,1456,1475,1544,1396,1409,1717,1546,1744,1865,2430,2986,2820,2755,2873,2551,2041,1569,1588,1692,1736,1997,2038,1860,2281,2620,1990,1530,1616,1568,1529,1692,1974,1543,1463,1505,1686,1562,1424,1671,2070,2001,1853,2282,2012,1615,1549,2320,3089,3124,3153],[1870,1976,1708,1647,1724,2247,2742,2995,2806,2657,2553,3009,3230,3184,3238,2631,2141,1997,2044,2178,2562,2667,3039,3482,2866,2670,2950,2978,2910,3007,3024,2815,2456,1769,2000,2357,2810,3051,3003,2805,2926,3163,3064,3122,3504,3908,3710,3831,3604,3250,3244,3375,3286,3431,3798,3463,2992,3032,2452,2497,1992,1638,2098,2182,2200,2262,1880,1795,1902,2544,2730,2076,2149,2366,2944,2334,2163,2475,3272,3216,2115,1849,2099,1952,2741,3596,2847,2399,2292,1615,1538,1854,2243,2451,2712,2658,2635,2667,2498,2410,2814,3099,2639,2432,2068,1929,2158,2015,1560,1941,2863,2964,3075,3572,3365,2770,2294,2354,2291,2043,1823,2676,3188,2673,2427,2476,2481,2689,2945,3134,3053,2242,1928,1826,1784,2074,2593,2609,2341,2420,2554,2685,3304,3297,3270,3432,3480,3305,3009,2582,3150,4176,4201,4172,3616,2972,2500,2100,2438,2835,2228,2829,3507,3710,3682,3610,3910,3698,3097,3171,3112,2416,2599,2897,2154,1655,2888,3758,3627,3663,3898,4039,4057,4203,3939,4024,3933,3552,3276,3024,3028,3104,2454,2197,2162,2713,2845,2796,2607,1756,1226,2065,3320,3333,2824,2697,2588,2773,2789,2607,2366,2176,2550,3263,2701,2467,2422,2000,2221,2032,1563,1980,2303,2215,2075,2097,2221,2329,2160,1757,1683,1890,2202,2880,3375,3213,2644,2666,3018,3177,2912,2891,3016,2725,2267,1978,2194,1933,1896,1824,1458,1773,1732,1614,1874,1735,1721,2007,2011,1918,1591,2330,2450,2060,1872,2001,2201,2115,2078,2361,2228,1931,1804,1439,1459,1649,1729,1673,1805,1814,1600,1681,1660,1690,1886,2108,1931,1753,2678,2547,2809,3426,3693,3470,3415,3619,3919,3963,3606,3727,3768,3136,3061,2857,2454,2509,2320,2331,2315,2710,3086,3086,3061,2601,2480,2745,2210,2027,1701,1572,1572,1468,1414,1624,1802,2059,2109,2046,2136,1716,1770,1789,1438,1344,1839,1798,1522,1753,1990,1870,1923,1987,1723,1728,1835,2142,1929,1545,1454,1453,1318,992,1159,1575,1647,1997,1980,2025,2104,1888,1534,1909,1678,1587,1782,1787,1912,1836,1442,1460,1479,1487,1472,1571,1488,1217,1346,1337,1342,1751,1870,1725,1605,1456,1413,1975,2187,2106,2210,2013,1899,1983,1867,2046,1991,1989,2078,1620,1544,1675,2416,2348,1642,1517,1498,1724,1918,1755,1444,1797,2569,2689,1839,1536,1604,1691,1692,1782,2031,1626,1642,1765,1631,1902,1902,1431,1568,1533,1553,1562,1426,1409,1769,2039,1929,1781,1872,1750,1634,1474,1543,1909,1892,1800,1694,1804,1398,1362,1440,1470,1747,2758,3790,3769,3570,3264,2813,2101,1715,1571,1461,1577,1449,1546,1668,1738,2020,1705,1410,1422,1521,1770,1946,1815,1695,2244,2601,2057,1505,1504,1629,1861,1864,1617,2002,1593,1675,1777,2449,2950,2288,2036,2055,1775,1724,2088,3054,3421,2099,1524,1596,1521,1570,1724,2193,2231,1881,1543,1539,1801,1679,1610,1765,1887,1644,1526,1568,1587,1938,1897,1493,1411,1404,1505,1440,1679,1926,1833,1572,1557,1817,2066,1683,1424,2061,2073,1577,1624,1720,1825,1701,1626,1478,1537,1742,2266,2177,1881,1651,1800,1826,1844,1987,1862,1733,2123,1896,1873,1839,1865,1950,1949,2031,2050,1787,1673,1559,1425,1510,1972,2314,2315,2042,1889,1962,2014,1882,1647,1575,1752,2130,1783,1340,1270,1759,2107,1644,1612,2233,2511,2628,3044,3024,1902,1571,1911,1737,1632,1520,1433,1470,1280,1506,1859,1873,2030,2441,2654,2625,2645,2751,2840,2947,2899,3034,3141,2503,1874,1821,1768,1829,2145,2053,1327,914,1130,1310,1581,1688,1453,1273,1255,1310,1279,1231,1274,1434,1722,1720,1442,1518,1524,1344,1296,1304,1218,1236,1258,1328,1427,1433,1530,1441,1267,1552,1732,1532,1412,1761,1903,1611,1365,1573,1643,1910,2330,2312,1647,1412,1850,2104,1842,1852,2109,2046,2023,1902,1940,2344,1973,1549,1333,1454,1706,1649,1729,1572,1826,1883,1813,2017,1847,1960,2316,1983,1808,2064,2277,2706,2750,2035,2479,3010,2539,2081,2059,1953,2014,1990,2035,2219,1953,2082,1711,1417,1642,1955,2009,2014,2247,2950,2894,2376,2268,2193,2054,1730,1524,2088,3352,3730,3789,4027,4163,4018,3736,3019,2812,3579,3920,3864,4058,4039,3570,3289,3140,2894,2342,2082,2393,2122,1693,2330,2365,2659,3066,2543,2623,2741,2855,2953,2473,2148,2579,2243,1857,2386,2905,3393,3576,2932,2093,1572,1360,2142,2535,2186,2227,2587,2564,3248,3392,3765,3097,2711,2886,2503,2669,3242,3020,2338,2174,2297,2430,2282,2388,2140,2715,2697,2722,2667,2449,2600,2905,2757,2591,3129,3550,2489,1790,2134,2013,1555,1896,2567,3069,2428,1925,2187,1985,1925,2563,3514,3759,2801,2161,1377,1232,2199,2666,2385,2580,2254,2296,3251,3573,3606,3040,2019,1779,2187,2342,2354,2359,2448,2547,2008,1764,2131,2141,2298,2730,2247,1867,1377,1888,2504,1975,2056,2393,2150,2139,2173,2035,2477,2298,2338,1775,2409,2373,2169,2579,2287,1930,2125,2341,2463,2227,1659,1803,1937,1707,2073,1515,1650,2299,2208,1824,1722,1884,1879,1512,1467,2010,2571,2042,1831,1779,1649,1689,1810,1806,1760,1531,1382,1711,2149,2032,1771,1679,1689,2098,2112,2031,1974,2074,2464,2366,2082,1712,1416,1980,2946,2642,2888,4219,5093,4007,2809,2670,2630,2375,2309,2313,2557,2590,1837,1503,1666,1671,2298,2722,2711,2421,1787,1428,1365,1483,1357,1201,1237,1246,1335,1415,1596,1524,1912,2180,2276,2746,2913,2604,2614,2259,2259,1925,1901,1681,1233,1323,1947,2232,1861,1391,1554,1762,2156,1876,1647,1895,1888,1952,1992,1893,1663,1403,1402,2186,2348,2000,1760,1827,1795,2046,2348,2284,1691,1997,2425,2403,2257,1908,2317,2422,1891,1483,1809,1975,1787,1860,2518,2600,2807,2805,2474,2520,2751,2778,2286,1979,1928,1559,1426,1390,1550,1700,1737,2047,2043,1865,1909,1825,1656,1355,1510,1577,1020,729,786,887,1388,1792,1725,1771,1670,1363,1228,1293,1463,1692,1406,1286,1376,1360,1339,1417,1455,1447,1396,1354,1421,1361,1472,1743,1755,1711,1510,1388,1362,1306,1393,1457,1440,1409,1398,1334,1111,1365,1671,1269,1744,1783,1456,1404,1306,1350,1346,1310,1220,1464,1795,2202,2199,1714,1287,1327,1340,1343,1570,1669,1421,1448,1588,1542,1309,1428,2028,2585,2566,2044,1628,1337,1164,1544,1790,1532,1513,1594,1521,1029,1349,2633,3414,3385,2695,2591,2475,2153,2244,2402,2502,2585,2342,1980,2134,2321,2450,2756,3146,3496,3633,3375,3258,3007,2156,3017,4220,4358,4382,4492,4084,4060,4100,4078,4144,4195,4329,4086,3616,4035,4216,4240,4316,4420,4472,4764,4817,4727,4444,3828,3319,3065,3340,3511,3440,3321,3230,3449,3255,3428,3441,3211,2609,2216,2302,2720,3155,3340,3361,3178,2596,2392,2916,2987,2546,2469,2544,2911,3084,3300,3185,2897,2728,2411,2892,3200,2918,2967,3096,3074,3089,3162,3129,2619,2614,3068,3303,3761,4141,3708,3912,3911,3891,3783,3650,3325,2954,2932,3069,3086,3188,3574,3837,3538,3381,3284,3021,2801,2315,1764,1624,1556,1413,1323,1388,1705,1843,1388,1451,1360,1432,1397,1344,1262,1164,1042,780,1020,1234,1361,1554,1535,1615,1848,1846,1681,1715,1614,1436,1288,1306,1291,1203,1387,1422,1408,1355,1324,1294,1263,1306,1229,1297,1521,1391,1346,1391,1504,1322,1245,1392,1436,1631,1710,1585,1526,1513,1451,1342,1333,1462,1694,1732,2107,1820,1398,1377,1514,1352,1573,2348,2258,1992,1608,1527,2021,2746,2817,1991,2054,2600,2605,2388,2468,2376,2174,1885,1784,1939,2376,2508,2169,2188,2173,1942,2263,2523,2457,2416,2655,2476,1954,1873,1593,1549,1643,1826,1598,2160,2063,1489,1886,1834,1709,1653,1876,2218,2866,2468,2434,2189,1636,1548,1565,1831,2034,1630,1692,1716,1937,1965,1736,1488,1527,1583,1703,1750,1851,1942,1779,1514,1491,1441,1482,1625,1638,1542,1700,1620,1616,1558,1398,1411,1566,1822,1322,1377,1595,1649,1785,3064,2391,1487,1832,2321,2343,2135,1493,1462,1636,1966,1701,1527,1755,1655,1848,1779,1798,1782,1988,2220,1867,1498,1470,1664,1561,1489,1627,1540,1532,1549,1744,1825,1630,1596,1656,1716,2023,2008,1663,1766,1582,1534,1654,1815,1571,1593,1750,1792,1665,1554,1606,1760,1865,2172,1853,1806,1996,2121,2127,2139,1950,2061,1949,2341,1993,1881,2056,1663,1454,1626,2024,1747,1576,2157,1908,1808,2163,1678,1882,1769,1674,1762,1829,1761,2666,2194,1691,1838,1569,1482,1592,1542,1746,2245,2063,1839,1873,1771,1699,1724,1685,1497,1429,1662,1626,1605,1604,2261,2160,1936,1576,1279,1304,1615,1686,1730,1605,1360,1481,1601,1588,1341,1326,1584,1550,1486,1627,1540,1695,1606,1360,1857,2193,2200,2068,1579,1369,1281,1326,1336,1300,1406,1399,1647,1722,1748,1687,1538,1576,1688,1465,1471,1563,1690,1676,1730,1843,1922,1873,1881,1844,1765,1919,1952,1816,1875,1836,1753,1724,1758,1802,1804,1670,1544,1591,1647,1688,1873,2040,1518,1762,1792,1561,1474,1334,1506,1678,1598,1465,1664,1501,1676,1998,1763,1765,1826,1862,1982,2021,2247,2755,2989,2670,1651,1128,1029,1348,1898,2078,2242,1933,1944,2124,1914,1721,1643,1616,1545,1539,1805,2083,1879,1600,1677,1675,1754,2195,2196,1833,1652,1817,1870,2023,2733,2360,2206,1697,2031,2110,2098,2121,2025,1800,1629,1600,1982,2394,2064,2285,2101,1943,1732,1716,1994,1701,1393,1381,1443,1432,1529,1505,1531,1532,1501,1404,1586,1314,1641,1912,2590,3453,3179,2907,3198,2709,2424,2312,2131,1926,2303,2664,2118,1841,2430,2299,1628,1660,1625,1493,1673,1781,1844,1662,1683,1691,1873,1721,1518,1549,1732,1710,1916,2031,1700,1724,1792,2384,3607,4233,4112],[2444,2088,1719,1530,1638,2195,2408,2006,1703,2376,2642,2524,3117,3532,3134,2091,2198,1744,1750,2097,2612,2591,2930,3379,3604,3270,2641,2810,3081,3217,3045,2366,1915,1531,2190,2440,2467,2954,2974,2706,2610,2919,3121,3652,3463,3723,3544,3854,3608,3376,3362,3447,3371,3527,3747,3753,3263,2763,2148,2945,3039,2271,2742,2678,2298,2106,1729,1785,2144,2665,2649,2334,1527,1219,2245,2304,2407,2417,2126,1925,1857,1992,2114,2271,2630,2722,2264,1941,1665,1498,1595,1799,2196,2380,1986,1843,1694,1814,2052,2800,3178,3273,2424,2069,1972,2286,2236,1750,1702,2204,2692,2874,3274,3550,3061,2887,2291,2455,2590,1921,1918,2924,3260,2665,2392,2482,3086,2907,2719,2569,2370,1944,1876,2023,2152,2310,2445,2319,2275,2280,2610,2989,3220,3366,3619,3740,3526,3129,3097,3054,3829,4604,4296,3145,2291,2165,2302,2431,3238,3261,3125,2916,2712,2998,3347,3431,4014,4196,3624,3464,2584,1797,2199,3088,3024,2785,3352,3567,3628,3685,3709,3729,3792,4082,4247,4160,3435,3240,2745,2383,3086,3343,3112,2658,2141,2513,2420,2934,2363,1938,1554,2541,3651,3670,3432,2846,2776,2640,2532,2578,2318,2105,2663,3163,2619,2663,2829,2327,2273,2379,2106,1982,1863,1789,1713,2045,2469,2343,1959,2133,2054,2043,2106,2107,2974,3150,2477,2497,2605,2912,3127,3016,2336,1964,2154,2262,2007,1763,2226,2104,1788,1915,1682,1682,2133,2131,2194,2210,2036,1834,1484,1639,1512,1343,1728,1990,1810,1638,1882,2501,2613,2206,1924,1741,1575,2032,1778,1438,1723,1976,1895,1675,1816,1885,1797,2169,2148,2508,3332,3305,3703,3715,3328,3422,3741,4185,4520,4221,3774,4175,3578,3053,3098,3043,2967,2641,1980,1725,2386,3250,3731,3783,3653,2944,2987,2928,2470,1892,1488,1990,2206,1936,2000,1837,1729,2037,2019,1909,2099,1814,1704,1565,1206,1465,1982,1686,1276,1447,1916,1977,1848,1858,1973,2086,2232,2242,1778,1516,1490,1470,1493,1194,1449,2510,2622,2232,1754,1808,1894,1624,1950,2021,1599,1655,1787,1676,1876,2050,1535,1360,1338,1541,1506,1423,1447,1086,1090,1381,1461,1697,1808,1669,1574,1570,1663,2302,2254,1873,1864,1939,1713,1570,1714,1641,1210,1094,1639,1875,1848,1675,2068,1866,1244,1280,1497,1597,1833,1814,1769,2217,2449,1942,1537,1581,1809,1906,1638,1650,1732,1882,2160,1885,1708,1813,1794,1841,2104,1857,1444,1485,1474,1584,2056,2250,2128,2086,2237,1785,1555,1519,1791,2336,1891,1625,1825,1792,1290,1317,1528,1721,2337,2832,3649,4268,4260,2601,1853,1493,1370,1379,1291,1522,1617,1498,1592,2110,2329,1791,1512,1541,1885,2109,2025,1599,1810,2273,2228,1801,1409,1365,1335,1485,1668,1556,1814,1605,1886,1969,1823,1797,1686,1685,1829,1715,1470,1606,2702,2863,1886,1672,1814,1832,1836,1915,2234,2205,1620,1722,2227,2876,2090,1579,1788,1992,1781,1692,1735,1857,1870,1588,1600,1601,1466,1424,1383,1561,1604,1713,1575,1596,1844,2048,1817,2076,2440,1933,1373,1577,1790,1717,1570,1651,1604,1500,2150,2481,2017,1873,1766,1670,1604,1736,1756,1516,1720,2013,1958,1942,1546,1785,2417,2464,2438,2165,1763,1733,1574,1476,1513,1741,2517,3066,2567,1974,1470,1565,1726,1733,1760,1897,2008,1860,1717,1664,1818,1746,1516,1527,1926,2403,2518,2884,3443,2594,1728,1742,1832,1734,1533,1470,1688,1681,1732,1904,1866,2168,2888,3152,3273,3204,3098,2708,2291,2700,3276,2655,1842,1791,1760,1811,2188,2246,1411,849,1148,1391,1393,1821,1841,1631,1576,1256,1283,1248,1212,1317,1381,1382,1362,1458,1585,1603,1448,1340,1453,1487,1452,1363,1290,1347,1410,1594,1525,1720,1808,1537,1502,1687,1697,1539,1355,1243,1367,1579,1844,2000,2100,1836,1900,2417,2199,1995,2066,1681,1719,2135,2208,2020,1694,1687,1788,1765,1555,1663,1836,1681,1777,2202,2092,2028,2109,2316,2778,2379,1732,1684,1685,2059,2589,2633,2802,2654,2043,2322,2711,2360,1969,2059,2260,2514,2340,2248,2110,1227,1319,2238,2266,2492,2708,2343,2551,2812,2492,2498,2543,1995,1568,1453,2133,3277,3562,3027,3798,4196,3892,3282,2380,2873,3500,3375,3342,3882,4110,4143,4133,4039,3909,3190,2322,2690,2789,2210,2520,2422,2475,2399,2309,2357,2897,3240,2546,1997,1935,2055,2187,2220,2997,2801,2728,2546,2078,2133,2015,2152,2872,2683,2517,2513,2646,3160,3662,4082,3705,3106,3060,2967,2493,2397,2570,2237,2397,2744,2371,2387,2250,1981,2294,2419,1785,1678,2093,2565,2601,2429,2745,2535,2861,2865,1867,1918,2128,1997,2079,2161,2941,3408,2089,1506,2062,2252,2183,2277,2603,2925,2771,2038,1215,1927,3345,3189,2215,2232,1942,2510,3296,2872,2654,2473,1900,2056,2635,2934,2513,2055,2364,2580,2078,2061,2389,2522,2188,1979,1890,1845,1477,1970,2292,2182,2342,2592,2608,1898,1808,1970,2183,2084,2271,1772,1959,2109,2331,2401,2126,2185,2396,2731,2908,2249,1661,1789,1447,977,1832,2333,2332,2146,1914,1715,1794,1942,1818,2075,2306,2268,1816,1787,2381,2092,1854,2034,2004,1807,1662,1656,1558,1857,2728,2459,1740,1559,1502,2002,1806,1482,1741,2030,2111,2209,2164,2298,1893,1655,2442,2498,2352,2834,4297,4157,2984,2876,3192,3007,2756,2532,2451,2268,1677,1716,1736,2110,2666,2889,2990,2275,1548,1490,1375,1713,1322,1260,1353,1298,1388,1444,1417,1428,1611,1663,1990,3002,3288,2432,2288,2405,2553,2055,1860,1716,1434,1695,2146,1953,1538,1343,1839,1919,2100,1734,1638,1722,1623,1787,1923,1680,1708,1659,1968,2966,2033,1660,1710,1792,2114,2259,2455,2244,1876,2416,2565,2482,2318,2137,2298,2149,1856,1719,2159,2124,2023,2151,2640,2944,3167,3175,2900,3075,2918,2792,2261,2127,1924,1585,1470,1462,1374,1324,1325,1321,1522,1803,1880,1737,1565,1481,1472,1576,1216,815,745,703,1106,1744,1817,1525,1155,1625,1676,1577,1583,1409,1365,1292,1244,1266,1396,1508,1536,1491,1448,1394,1378,1396,1500,1645,1840,1708,1405,1345,1322,1277,1332,1394,1333,1301,1302,1315,1277,1607,1586,2172,4036,3213,1516,1511,1479,1496,1370,1273,1227,1437,1656,1685,1584,1421,1316,1307,1312,1375,1670,1802,1635,1584,1450,1629,1509,1408,1820,2254,1840,1625,1626,1430,1325,1299,1526,1635,1626,1713,1662,1375,1427,2307,2696,2389,2411,2755,2486,2198,2340,2126,1910,1793,1685,1995,2842,3488,3716,3807,3666,3482,3328,3062,2990,3090,2174,2883,3885,4208,4709,4684,4145,4026,4028,4051,4208,4328,4399,4034,3787,4157,4479,4395,4536,4664,4692,4735,4783,4575,3815,3220,3123,3159,3238,3097,2898,3051,3371,3471,3419,3454,3647,3542,2868,2409,2030,2640,3316,3142,2976,3074,2570,2603,3106,2585,2331,2621,2866,3066,3162,3217,2890,2795,2968,2907,3173,3105,2984,3187,3002,2831,3128,3475,3415,2885,2577,3000,3417,3812,4168,3928,4037,3929,3660,3718,3704,3327,2977,2938,2855,2930,3106,3330,3566,3415,3316,3498,3432,3128,2542,1628,1440,1444,1478,1367,1356,1226,1268,1312,1339,1376,1462,1372,1236,1215,1119,1018,1042,1134,1216,1368,1478,1556,1576,1940,2030,1708,1447,1273,1326,1283,1254,1301,1333,1312,1282,1296,1318,1322,1261,1363,1400,1267,1266,1533,1289,1311,1296,1375,1294,1287,1431,1352,1532,1788,1522,1418,1346,1284,1273,1315,1290,1383,1573,1717,1748,1735,1644,1549,1509,1963,2597,2585,2263,1698,1570,1962,2646,2693,2106,2103,2580,2368,2062,2163,2015,2083,2068,2391,1735,2409,2504,2061,2089,2104,2289,2342,2339,2620,2602,2842,2592,2642,2420,1895,1636,1683,1588,1904,2376,2021,2113,2573,2530,2422,2171,2236,2128,2002,2162,2464,2163,1790,1480,1497,1848,1984,1638,1743,1630,1896,1996,1950,1738,1744,1831,1811,1802,1806,1652,1511,1408,1466,1448,1655,1908,1814,1780,1849,1538,1416,1479,1477,1385,1381,1414,1225,1423,1612,1698,1729,1793,1534,1461,1847,2258,2476,2217,1697,2014,1873,1710,1616,1760,1942,1831,1811,1763,1794,2156,2190,1874,1716,1470,1607,1702,1571,1477,1621,1689,1745,1765,1936,2166,1770,1442,1366,1716,2428,2437,2087,2169,1936,1648,1690,1760,1454,1428,1937,1908,1744,1644,1690,1590,1665,1750,1617,1775,1928,1644,1938,2260,2039,1892,1748,2210,1872,2313,2216,1734,1542,1731,1781,1590,1830,2036,1783,1917,2151,2039,2071,1775,2150,2100,1626,1738,2135,1901,1612,1581,1449,1478,1448,1622,1737,1672,1600,1858,1968,1812,1721,1770,1900,1694,1420,1697,1989,2134,2098,2766,2227,1609,1355,1168,1684,2122,1741,1649,1615,1368,1434,1600,1599,1420,1505,1650,1670,1710,1644,1643,1916,1581,1528,2576,3016,2620,1775,1835,1746,1560,1481,1506,1421,1358,1506,1549,1521,1676,1785,1549,1528,1502,1360,1372,1532,1715,2021,1803,1434,1624,1669,1526,1492,1899,1963,1804,1871,1942,1950,1858,1783,2015,2113,2054,1892,1825,1829,1855,1781,1716,1361,1446,1911,1936,1716,1501,1557,1605,1713,1616,1687,2015,1685,1670,1915,1814,1768,1666,1582,1992,2449,2699,2633,2697,2945,1888,1560,1656,1434,1902,2598,2602,2050,2242,2452,1892,1752,1860,1852,1716,1689,1843,2029,1768,1687,2070,2374,2216,1967,1949,1924,1763,1797,1791,2392,3171,2710,2268,1673,1790,1767,1854,2039,2114,1742,1571,1594,2099,2762,2273,2819,2474,1984,1695,1535,1511,1449,1469,1604,1666,1500,1490,1644,1714,1694,1660,1578,1512,1605,1929,1971,2536,3341,2946,2934,3333,2710,2518,3130,2844,2575,2933,3125,2381,1765,2246,2114,1476,1592,1676,1608,1600,1998,2135,2284,2330,2071,2064,1984,1697,1758,1758,2229,2649,2008,2148,2415,2250,2547,3726,4173,3820],[2847,2292,2002,1739,1583,1835,2241,1917,1239,1626,1648,1321,2570,4024,3835,2931,2365,1743,1595,2304,2891,3033,3362,3102,2971,2954,2857,3196,3115,2800,2538,2309,2211,2215,2497,2374,2122,2642,2862,2697,2543,2787,2867,3699,3820,3645,3726,3754,3636,3543,3500,3829,3698,3690,3715,3901,3620,2978,2326,2576,2757,2425,2644,2724,2569,2184,1714,1720,1880,2307,2617,2475,1737,1677,2021,2037,2614,2609,1711,2054,2934,2317,2103,2172,2376,2405,2076,2031,1902,1784,1790,2168,2897,2874,1895,1777,1720,1712,2027,3161,2911,2961,2222,1813,2316,2768,2437,2026,2126,2632,2818,3240,3240,3298,3075,3286,3034,2846,2780,2787,2789,3078,3012,2576,2530,2370,2448,2371,2670,2437,2093,2023,1990,2144,2267,2263,2426,2355,2223,2094,2608,3043,3199,3460,3689,3703,3476,3397,3356,3318,3688,4407,4143,2360,2099,1885,2691,3492,3710,3185,2762,2727,2866,3371,3466,2760,3155,4055,4028,3382,2469,2117,2114,2221,2440,3060,3444,3273,3495,3783,3563,3338,3460,3739,3870,3703,3175,3243,2736,2651,3191,3015,3006,2769,2379,3256,3585,3351,2712,2746,2661,3277,3463,3318,3088,2821,2684,1981,2283,2307,2040,2071,2445,2691,2770,2904,2885,2419,2227,2443,2470,2363,2053,2212,2263,2512,2298,2020,1837,1785,1820,2159,2087,1721,2105,2231,2431,2488,2092,2276,2754,2697,2144,1832,1963,2635,2579,2446,2598,2236,1682,1586,1398,1707,2404,2491,2286,2232,2014,1788,1575,1416,1321,1402,2015,2831,2739,1685,1511,1700,2204,2338,2002,1854,1713,1510,1318,1375,1374,1611,1830,1881,1824,1516,2391,3162,2647,3033,3504,3028,3163,3593,3761,3718,3680,3816,4287,4224,4149,4160,3459,3233,3222,3028,2920,2702,1922,1802,2404,3293,3916,4135,3949,3387,3286,3121,2556,1936,1917,2154,2240,2382,2304,1752,1647,1855,1845,1617,1689,1764,1455,1374,1350,1681,1867,1335,1210,1475,1903,1953,1824,1925,1848,1920,2192,2067,1848,1903,1570,1399,1360,1340,2010,3205,3107,2075,1613,1758,1691,1794,2157,2087,2127,2479,1978,1629,2065,2337,1781,1503,1548,1804,1711,1474,1401,1323,1471,1710,1694,1843,1634,2094,1990,1950,2077,2521,2554,1990,1721,1830,1719,1426,1538,1744,1604,1589,2089,1999,2033,1902,1789,1396,1129,1527,1908,1930,2056,2022,1908,1881,2207,2054,1686,1637,1674,1437,1331,1677,2248,2675,2603,2197,2060,1961,2039,2239,2176,1899,1504,1578,1809,2003,2208,2200,2165,2104,2398,2114,1589,1832,2867,3198,2089,1569,1826,1707,1447,1438,1524,1577,2217,2257,2655,3376,4140,2741,1887,1549,1312,1338,1390,1552,1585,1703,1690,1690,1957,1929,1833,1757,1912,1979,1819,1664,1938,2087,2179,1974,1741,1432,1437,1857,1998,1819,1918,1956,2056,1979,1791,1743,1483,1483,1685,1559,1536,1490,2104,2888,2587,2351,2294,2248,2169,2113,2278,2161,1654,2336,2489,2621,1821,1404,1368,1412,1512,1591,1715,1991,2020,1643,1453,1504,1488,1701,1648,1526,1461,1593,1567,1609,2004,1874,1630,1829,1892,1697,1296,1584,1691,1675,1694,1836,1750,1638,1980,1919,1865,2157,1860,1636,1810,1677,1726,1546,1680,1962,1953,1780,1794,2357,2604,2382,2370,1887,1826,1591,1541,1553,1586,1556,2396,2940,2449,1989,1391,1395,1392,1403,1676,1631,1641,1756,1750,1857,1825,1577,1498,1868,2932,3486,3654,3548,3796,2928,1754,1497,1698,1744,1552,1532,1599,1719,2401,2432,2215,2679,3274,3167,2961,2762,2976,3039,2658,2896,2736,1909,1840,1865,1925,2266,2459,1410,791,1150,1417,1316,1355,1764,1734,1601,1645,1449,1481,1293,1493,1466,1399,1336,1452,1448,1248,1397,1460,1410,1461,1474,1405,1386,1404,1413,1524,1566,1431,1963,1975,1632,1626,1633,1567,1458,1463,1463,1429,1651,1980,1906,1923,1938,2052,2229,2043,1947,1640,1439,1599,1861,1998,1842,1478,2204,2774,2362,1918,1852,1700,1595,1888,2289,2365,2168,2009,2580,3610,2635,1597,1600,1337,1624,2250,2404,2872,2375,1941,2646,3695,3621,2423,1944,2062,2017,1745,2048,2400,1998,1815,2095,2156,2950,2732,2033,2002,2255,2260,2262,2227,2415,2555,2282,2978,3721,3430,2565,3659,4140,3022,2230,1844,2497,2791,2509,3028,3746,4104,4276,4298,4465,4372,4006,3398,3470,3460,2868,2683,2750,2509,2193,2109,2191,2844,3094,2265,2128,2318,2293,2566,2751,3123,2878,2802,3107,2878,2562,2436,2945,2588,2669,2864,2575,2925,3077,2750,2937,2679,2311,2909,3486,3240,2809,2645,2290,3065,3278,2522,2114,1794,1763,2181,2112,1842,1445,1524,2205,2588,2367,2083,2635,2949,2951,2673,2417,2244,2212,2696,3178,3442,3151,1750,1665,2070,3029,3021,2337,1982,1967,2177,1853,1511,2211,3211,2846,1610,1988,1995,2584,2600,2255,1980,2007,2395,3039,3134,3027,2703,2104,2017,2033,2540,2611,2813,2578,1888,1716,2345,2002,1674,2237,2436,2544,2101,2366,2865,1896,1716,1576,1888,2410,2241,1941,2086,2234,2192,2156,2277,2753,2467,2938,3364,2214,1632,1625,1157,1437,2288,2454,2041,1661,1814,1838,1848,1844,1600,1905,2084,1723,1675,2156,2556,2024,1755,2147,2040,1932,2044,1871,1699,1598,1925,2099,1783,1461,1389,1368,1214,1276,1501,1773,2565,2808,2093,1770,1869,1890,2017,2097,2296,2740,3773,4084,3223,2871,3082,3168,2818,3207,3211,2504,2107,1864,1739,2242,2506,2747,2563,1725,1541,1573,1655,2265,1858,1379,1494,1475,1361,1399,1389,1379,1390,1483,1786,2747,3022,2085,2222,2844,2489,1847,1741,1724,1787,2198,2262,1923,1277,1311,1677,1882,1860,1613,1600,1427,1376,1829,2019,1681,1808,1803,2216,2569,1833,1570,1908,2469,2919,2644,2433,2515,2627,2532,2271,2601,2051,1750,2050,2219,1867,1807,2178,2210,1987,1873,2252,2854,3194,3297,3183,3317,2945,2703,1489,1033,1156,1039,1135,1432,1475,1512,1566,1455,1792,1910,1892,1794,1655,1546,1405,1428,1295,1109,976,1028,1367,1970,2004,1193,952,1946,2106,1903,1522,1432,1496,1343,1273,1394,1439,1394,1431,1447,1524,1677,1526,1594,1664,1654,1609,1515,1400,1327,1279,1277,1282,1302,1268,1230,1328,1328,1280,1265,1507,2366,2520,1779,1220,1305,1344,1335,1254,1145,1284,1426,1572,1477,1550,1544,1328,1250,1333,1694,1931,1843,1683,1451,1323,2050,2046,1591,1603,1448,1373,1659,1476,1541,1716,1872,1924,1869,1576,1679,1758,1703,1771,2179,2184,1782,1847,1902,1678,1668,1758,1691,1762,1770,1592,2194,3600,3923,3432,3415,3475,3415,3315,3288,3193,3226,2219,2358,3794,4281,4692,4876,4488,4151,4128,4282,4254,4312,4441,3894,3785,4228,4436,4353,4431,4576,4661,4639,4612,4272,3218,3247,3517,3151,2964,2390,2457,2966,3193,3407,3654,3654,3548,3441,3141,2878,2438,2994,3239,3140,3054,2923,2707,3168,3519,3405,3157,2963,2988,2917,2788,2994,3045,3433,3376,2962,2809,2766,3062,3328,2961,2982,3348,3642,3538,3179,2562,3020,3464,3576,3984,4161,3984,3812,3450,3451,3463,3281,2844,2898,2859,2921,3076,3167,3253,3262,3365,3542,3447,2849,2441,1794,1567,1475,1652,1578,1331,1228,1348,1504,1578,1398,1384,1305,1284,1380,1359,1229,1206,1269,1322,1339,1561,1764,1786,1892,1968,1710,1454,1251,1190,1021,1074,1486,1563,1369,1383,1351,1231,1273,1462,1474,1755,1359,1231,1323,1190,1220,1270,1328,1336,1384,1559,1540,1597,1838,1461,1295,1215,1299,1347,1433,1395,1634,1833,1711,1748,1619,1713,1613,1497,1743,2136,2514,2002,1576,1556,1743,2210,2449,1975,1614,1851,1802,1904,2072,1881,1931,2086,2370,1548,1666,2231,2235,1947,2051,2352,2105,1960,2245,2078,1838,1929,2021,2092,2032,1870,1738,1606,2087,2374,2107,2389,2548,2869,2505,2136,2162,2007,2030,2382,2197,2158,2137,1672,1460,1665,1789,1818,1647,1591,1687,1957,2054,1899,1867,1842,1724,1807,1668,1496,1532,1735,1981,2184,2167,2141,2042,1957,1787,1658,1766,1710,1612,1244,1188,1216,1343,1675,1703,1819,1866,1577,1567,1542,1605,1881,2121,1702,1801,2176,2158,1931,1746,1741,1787,1882,1946,1919,1837,1991,1676,1651,1683,1706,1900,1811,1636,1522,1605,1796,2181,2227,2187,2173,1672,1511,1588,1533,2276,2252,1935,1908,1762,1800,1866,1794,1461,2156,2570,1848,1653,1582,1442,1474,1487,1610,1660,1573,1638,1581,1546,1519,1779,1521,1715,1631,1634,2117,1885,1446,1554,1735,1733,2031,1606,1576,1681,2095,2217,2220,2148,2175,2605,2320,1647,1315,1142,1384,1761,1856,1838,1704,1636,2098,1991,1575,1393,1803,2408,2576,2236,2352,2250,1648,1477,1723,2306,2438,2137,2193,1836,1273,1069,1098,1587,2156,1926,1714,1556,1415,1501,1467,1431,1460,1493,1464,1503,1595,1650,1686,1980,1994,1919,2218,3042,2511,1571,1642,1791,1672,1577,1599,1529,1700,1607,1486,1510,1520,1482,1553,1677,1461,1332,1469,1503,1776,2262,1971,1456,1605,1637,1593,1563,1768,1717,1592,1659,1599,1569,1788,2104,2237,1995,1900,1696,1631,1827,1963,1949,1970,1865,2113,2122,1924,1741,1589,1596,1530,1792,1616,1582,1730,1869,1820,1931,1893,1923,1886,1710,2138,2697,2953,2366,2040,2038,1742,1972,1940,1498,1963,2685,2765,2612,2813,2977,2365,1720,2000,2145,2080,1869,1875,1978,1861,1764,2043,2099,1809,1792,1914,1888,2073,2053,1583,1884,2689,3409,2544,1696,1808,1798,2097,2019,2042,1883,2253,2235,1783,1963,2391,2571,1866,1556,1596,1584,1619,1558,1636,1704,1692,1610,1627,1808,1875,1772,1582,1681,1832,2003,2161,1946,2231,3087,3208,3071,3051,2629,2497,2699,2439,2598,2777,2238,1946,1595,1856,2021,1710,1890,1893,1637,1776,2281,2388,2622,2979,2579,2314,2105,1674,1563,1666,1940,2544,2445,2663,2386,1997,2436,3404,3990,3729],[3053,2687,2449,2117,1864,2132,2062,1698,1338,978,768,1312,2438,3172,3739,3816,3240,2322,1536,1981,2744,2854,3083,2754,2886,2562,2498,2769,2375,1991,2151,2179,2281,2699,2707,2375,2250,2272,2556,2283,1910,2314,2764,3603,3982,3789,3839,3544,3493,3535,3654,3841,3706,3797,3813,3741,3480,2573,1870,2070,2030,1670,1310,1400,2131,2646,2938,2507,2262,2670,2688,2310,1930,2066,1982,1875,2686,2911,1790,1926,2501,2090,2070,1815,2156,2254,2102,2151,2391,2301,2000,3144,3592,2724,1780,1743,2276,1906,1816,2217,2638,2818,2333,2741,3477,3077,2541,2950,3015,3144,2612,2341,2588,3392,3618,3510,2811,2391,2810,3609,3238,2999,2890,2865,2901,2470,2542,2511,2654,2757,2408,2097,2168,2365,2534,2548,2409,2373,2062,1761,2648,3385,3504,3758,3941,3752,3674,3663,3496,3320,3482,4067,3850,2640,2220,1909,2476,3348,3216,2368,2297,2901,3404,3566,3273,3161,3083,2984,2841,2514,2223,2261,2500,1936,1664,2801,3430,3316,3431,3576,3343,3249,3466,3550,3618,3209,2606,2737,2644,2553,2712,2455,2421,2160,2524,3705,4148,3970,3541,2931,2964,3321,3228,3041,2479,2204,2294,2225,2491,2044,1777,2077,2309,2736,2923,2493,2510,2687,2430,2791,2685,2186,2360,2875,2754,2573,2798,2708,2196,2159,2177,2191,2424,2111,1708,2126,2712,2866,2042,1591,2070,2415,2213,2033,2099,2331,2467,2547,2294,2079,1780,1831,1572,1560,2079,1990,1609,1526,1444,1507,1611,1360,1339,1698,2145,2788,2901,1775,1446,1899,2531,2338,1956,1821,1750,1661,1828,1792,1741,2110,2214,2382,2170,1768,2499,2889,2495,2954,2864,2019,2559,3602,4356,4165,3794,3452,3915,3629,3518,3637,3492,3429,3277,2840,2679,2567,2030,2116,2214,1991,2673,3610,3431,3375,3594,3271,2809,2808,2524,2026,2178,2205,1533,1523,1658,1961,1900,1665,1588,1520,1793,1914,1346,1784,1658,1295,1350,1628,1639,1912,1921,1759,1948,2037,1904,1802,2132,2203,1656,1730,1436,1444,1969,2741,2912,2104,1718,1810,1803,1780,1782,1877,1977,3156,2681,2007,1924,1838,1773,1604,1610,1677,1637,1589,1375,1431,1505,1614,1473,1637,1446,1638,1572,1909,2405,2854,2500,1716,1392,1636,1721,1305,1311,1885,2114,2095,1896,1763,1755,1670,1628,1372,1400,1910,2296,2553,2269,1897,1580,1691,2071,2058,1836,1706,1751,1656,1510,1719,2916,3532,2670,2809,2724,2448,2250,2051,1961,1918,1618,1750,2088,2040,2015,2485,2276,2198,1950,1641,1479,1935,2774,2686,1864,1475,1584,1834,1752,1435,1406,1405,1583,1863,2244,2578,2700,2177,1682,1397,1463,1477,1948,1952,1908,2474,1952,1677,2004,2185,1919,1937,1992,1855,1861,1956,2084,2061,2320,2029,1716,1695,1682,1806,1660,1514,1572,1727,1846,2079,1938,1709,1651,1547,1658,1748,1897,1711,2041,2834,2956,2408,1858,2014,1838,2003,2203,2014,1601,1861,1710,1499,1478,1449,1384,1435,1835,1952,1830,1996,2028,1731,1421,1381,1434,1757,1761,1581,1422,1456,1466,1536,1400,1423,1592,1458,1942,1821,1521,1808,1888,1762,1748,1798,1781,1786,1835,1624,1599,1744,2158,2050,1911,1768,1873,1838,1800,1804,1678,1708,2030,2374,2744,2403,1911,1665,1694,1692,1542,1476,1632,1542,1670,1803,1763,1716,1557,1377,1464,1547,1856,1683,1446,1487,1453,1621,1964,2173,1864,1794,1998,2858,3886,4189,4090,3264,2166,1487,1648,1689,1682,1915,1946,1815,2952,2545,2599,2976,2928,2886,2822,2741,2998,3001,2844,2724,2076,1874,1862,1997,2336,2199,1354,881,1198,1533,1434,1299,1483,1671,1413,1382,1682,1788,1664,1369,1544,1527,1452,1381,1610,1689,1372,1435,1528,1514,1373,1425,1434,1344,1328,1301,1483,1417,1260,1524,1844,1774,1502,1589,1532,1384,2086,2024,1510,1748,2070,2045,1954,1920,2054,2035,1858,1277,971,1487,1721,1649,1608,1466,1432,2268,2807,2369,1650,1522,1515,1638,1733,2136,2459,1860,1716,2377,3408,2879,2408,2454,1668,1454,1803,2377,3353,2880,2405,3270,3964,3084,1686,1754,1938,1886,2066,2248,2286,2027,1776,1902,2530,3466,3159,2474,2438,2574,2375,2150,1920,2399,3112,2857,3197,4217,4071,3646,3681,3906,2636,1822,1698,2098,2513,2757,3354,2863,3462,4351,4395,4439,4443,4399,4168,3868,3516,2684,2365,2662,2750,2170,2249,2078,2183,2457,2430,2252,2316,2383,2652,3029,2900,2937,3168,3129,3049,3382,2518,2469,2224,2684,2719,2526,2967,2929,2272,1961,2186,2726,2540,2690,3293,3476,3164,2641,2918,3146,2801,1865,1682,2172,2182,2138,1832,1462,1594,1802,2450,3307,2644,2399,2878,3085,2620,2763,3112,2813,3023,3278,2376,2127,1835,2120,2367,3476,3925,3349,2436,1901,1944,1988,2462,2733,2744,1806,1532,2491,2414,2309,2334,2078,1766,2079,2840,3276,2806,3195,3042,2495,2614,2423,2483,2314,2469,2500,1885,2098,2519,2026,2406,3269,3120,2334,1956,2600,3072,2360,2164,1848,1720,2144,2184,2089,2475,2840,1993,1849,2210,2320,2184,2357,2410,1995,1709,1440,1652,2370,2272,1903,1715,1623,1738,1742,1687,1744,1551,1714,1897,1758,1704,2060,2389,2045,1687,1974,1858,1862,2194,1850,1753,1561,1736,1836,1538,1334,1484,1661,1598,1561,1556,2052,3096,3096,2742,2461,2680,2620,2073,1954,1678,2158,3294,3451,2820,2889,3204,2910,2885,3539,3252,2673,2783,2302,1671,1615,1875,2187,1933,1455,1542,1422,1534,1683,1648,1531,1484,1346,1413,1545,1622,1587,1504,1613,1816,2522,3009,2627,2699,2986,2531,2012,1732,1792,1720,2106,2136,1908,1258,1323,1428,1572,1650,1544,1382,1231,1409,1822,2011,1783,1785,1655,1870,1890,1931,2184,2370,2662,2958,2569,2070,2627,2743,2301,2155,2722,2008,1736,2364,2679,2145,1653,1713,1757,1741,1802,2379,2968,3005,2884,2901,3002,2265,1920,1242,793,1382,1127,947,1360,1739,1769,2122,1856,1692,1677,1772,1824,1849,1669,1506,1367,1367,1514,1664,1569,1708,2115,1947,1044,1001,1228,1602,1691,1299,1387,1488,1604,1334,1292,1352,1584,1442,1560,1897,1736,1707,1676,1504,1516,1544,1376,1451,1466,1322,1287,1438,1335,1267,1204,1274,1169,1280,1406,1846,2316,1771,1298,1418,1408,1242,1202,1204,1254,1298,1321,1437,1655,1750,1685,1416,1261,1345,1633,1702,1493,1268,1352,1532,2475,2522,1880,1823,1676,1811,1770,1738,1982,2294,2438,2134,1775,1335,1475,2030,2089,1713,1842,1865,1715,1990,2060,2204,2796,2330,1917,1880,2170,1917,2032,3085,3209,2655,3115,3466,3156,3339,3496,3559,3480,2414,2831,4062,4251,4563,4788,4835,4564,4268,4308,4188,4259,4300,3339,3188,4028,4287,4354,4440,4636,4696,4608,4436,4220,3626,3341,3050,2542,2346,2187,2520,2950,3287,3595,3666,3508,3488,3174,2446,2554,2822,3088,3138,3332,3521,3383,3344,3718,3869,3929,4002,3838,3065,2859,2619,2565,2944,3504,3204,2619,2624,2800,3038,3116,3038,3149,3309,3271,3322,3299,2718,2857,3217,3037,3460,3993,3451,3317,3415,3498,3500,3332,2758,2864,3134,3059,3094,3333,3406,3333,3351,3671,3649,2839,2552,2002,1689,1615,1674,1658,1495,1526,1672,1786,1670,1544,1443,1323,1272,1557,1526,1373,1240,1187,1217,1249,1302,1361,1388,1542,1713,1682,1471,1318,1346,1345,1490,1666,1549,1406,1395,1346,1252,1259,1405,1369,2410,1753,1302,1331,1302,1265,1270,1334,1399,1354,1456,1518,1678,1755,1377,1228,1294,1383,1456,1766,1852,1648,1553,1487,1671,1689,1866,2105,1709,1567,1908,2028,1698,1614,1766,1953,2243,2252,1792,1745,1584,1666,1880,1913,1961,2010,2122,2217,1890,1764,2122,2015,1859,2083,2325,2006,1799,1737,1698,1526,1484,1540,1868,1903,1686,1714,1884,1909,2136,1802,1834,1963,2267,2023,2019,2232,2004,1960,2219,2073,1986,1629,1671,1640,1528,1577,1705,1744,1863,1951,2157,2070,1881,1709,1544,1556,1568,1579,1580,1780,1956,2294,2383,2029,1941,2094,2131,1949,2015,2054,1873,1709,1050,1002,1368,1590,1670,1578,1640,1692,1698,1515,1444,1473,1912,2117,1770,1839,1972,1909,1931,1816,1734,1809,2216,2519,2210,1875,1851,1653,2025,1954,1688,1721,1875,1699,1645,1890,1779,2029,2042,1844,1742,1843,1970,1892,1741,2251,2178,1940,2019,1742,1642,1754,1523,1493,2029,2181,1792,1781,1754,1628,1488,1381,1604,1955,1810,1693,1858,1808,1610,1605,1504,1476,1463,1601,1770,1716,1542,1834,1902,1833,2023,1760,1638,1542,1748,1997,1960,2169,2653,2421,1880,1770,1619,1278,1382,1592,1677,1848,1764,2136,2106,1814,1922,1977,1791,1991,2132,1888,2102,2029,1619,1521,1584,1770,1894,1654,1510,1413,1022,1103,1268,1372,1465,1786,1814,1480,1402,1480,1736,1830,1836,1842,1592,1625,1622,1703,1865,2104,2206,1967,2311,2890,2159,1498,1865,2192,1898,1635,1554,1434,1772,1782,1577,1457,1534,1520,1578,1686,1638,1654,1542,1540,2004,2403,2178,1631,1655,1532,1533,1483,1460,1632,1566,1608,1524,1456,1673,1851,1954,1958,1845,1654,1699,1924,2207,1938,1575,1672,1930,1964,1900,1909,1836,1954,1906,1978,1995,1922,1838,1954,1932,1834,1710,1696,1737,1904,1912,2091,2359,1856,1814,2046,1885,1947,2060,2049,2177,2507,2798,3227,3259,3491,3238,2102,1663,1781,1968,1977,1989,2145,2171,1884,1747,1568,1565,1827,1934,2183,2130,1809,1658,2070,3031,3266,2446,1814,1725,1724,1997,1819,1816,2429,2642,2663,2316,2243,2610,2348,1727,1552,1678,1937,1760,1681,1660,1647,1701,1838,1832,1803,1765,1699,1527,1708,1948,2869,2974,2744,2964,3420,3552,3382,2956,2545,2662,2450,1830,2199,2737,2137,1962,1562,1494,1773,1770,1719,1786,1622,1733,2297,2570,2585,3238,3123,2994,2459,1850,1566,1592,1950,2463,2642,2414,2124,2470,2644,3626,3989,3642],[2741,2842,2375,1856,2185,2605,2355,1609,1699,1480,1499,2498,2717,2433,2893,3462,3522,2397,1916,2673,3167,2863,2998,2752,3088,2841,2595,2498,2222,2000,1988,1728,2005,2725,2966,2425,2416,2510,2343,1781,1737,2346,2726,3322,4179,4212,3831,3537,3549,3535,3708,3787,3886,3949,3762,3757,3777,2941,1985,2237,2077,1735,2036,1930,1894,2031,2392,2213,2218,2286,2026,1792,1922,2152,1950,1686,2229,2292,1585,1999,2346,2563,2493,1857,1918,2047,2013,2662,2626,1956,1681,2994,2840,2311,1830,1958,2147,1982,2266,2631,3247,3352,3160,3752,3874,3265,2806,3210,3308,2987,2449,2126,2865,2988,2874,2823,2335,2423,2409,2801,3172,3239,3089,3107,2792,2301,2333,2395,2469,2646,2496,2299,2392,2468,2545,2350,2372,2404,2565,2874,3287,3406,3361,3560,3484,3591,3706,3684,3293,3262,3464,4180,3672,2745,2591,2567,2403,2748,2514,2541,2973,3370,3454,3233,3413,3907,3106,2486,2795,2675,2216,2589,2949,2136,2273,3250,3531,3521,3564,3372,3312,3429,3594,3598,3620,3064,2518,2395,2069,2135,2205,1981,2072,2129,2545,2981,2933,3536,3658,2885,2408,2272,2454,2801,2252,1930,2556,2644,2906,2312,1895,2140,2570,3107,2878,2392,2285,2614,2670,2972,3122,3083,2937,3059,3184,3011,3330,3400,2801,2854,2724,2235,2630,2811,2253,2449,2422,2683,2627,2120,2386,2477,2054,1964,2099,2503,2842,2463,2243,1967,1758,1787,1491,1458,1935,2028,1590,1522,1510,1997,2495,2316,1949,1914,2043,2566,2592,1854,1752,2117,2228,2036,1950,1942,1988,1995,2230,2214,2138,2051,2269,2306,2226,1937,2409,2819,2413,2317,2249,2216,3020,3743,3884,4059,3883,3604,3716,3448,3474,3682,3661,3532,2943,2876,3150,2879,2351,1967,1834,1878,2014,2539,3198,3726,3792,3476,2822,2647,2081,1885,2019,1796,1550,1733,1940,1810,1698,1900,1567,1372,1541,1316,1296,1505,1630,1638,1754,2029,1453,1567,1670,1605,1870,1676,1589,1754,1836,1874,1714,1877,1664,1667,1789,2237,2247,1881,1970,1738,1766,1794,1555,1698,1660,2067,2730,2499,1960,1641,1686,1677,1655,1783,1716,1592,1544,1561,1542,1798,2011,1781,1676,1583,1537,1603,1951,2520,2640,1881,1590,1548,1779,1566,1519,1769,1930,1830,1552,1542,1511,1476,1488,1441,1633,2161,2614,2542,2028,1791,1519,1692,1765,2059,2216,1785,1830,1968,1678,1646,2976,3721,3408,3807,3297,2446,2207,2086,2013,1836,1866,2044,1962,2001,1830,2176,2013,1911,1589,1568,1555,1649,1937,2070,1826,1610,1522,2118,2160,1597,1343,1548,1619,1630,2081,2094,1610,1798,1694,1619,1934,1713,1681,1795,2108,2806,2384,1793,1940,2148,1891,1816,2127,2265,2211,2199,1870,1931,1885,1531,1495,1549,1577,1400,1400,1575,1345,1557,2052,2181,1689,1503,1635,1875,2055,1923,1985,2046,2183,2604,2293,1696,1409,1721,1484,1669,2076,2223,1638,1587,1617,1617,1801,1408,1572,1819,2247,2018,1892,1825,2165,1982,1527,1317,1418,1476,1548,1689,1606,1567,1836,1688,1440,1442,1562,1488,1587,1474,1535,1761,1578,1397,1785,1799,1688,1655,1829,1742,1462,1527,2090,2238,1924,1633,1736,1858,1735,1980,2324,2417,2378,2640,3225,3005,2082,1550,1523,1705,1739,1700,1967,1731,1449,1435,1583,1546,1498,1395,1558,1477,1465,1476,1499,1483,1408,1425,1711,2122,1857,1778,1663,1980,2797,3417,3741,3653,2451,1515,1656,1471,1644,1809,1982,2077,3039,3108,2856,2623,2267,2441,2818,2884,2939,3001,2801,2059,1867,1804,2154,2555,2363,1474,880,1154,1566,1630,1492,1381,1642,1600,1294,1267,1421,1515,1383,1204,1233,1364,1426,1433,1383,1342,1356,1245,1452,1550,1350,1354,1338,1301,1315,1485,1661,1434,1458,1416,1572,1453,1410,1787,1861,1416,1705,1788,1648,1747,1901,2075,2040,1825,1872,2021,1934,1181,1234,1572,1764,1827,1638,1423,1601,1864,2421,2499,1722,1412,1615,1585,1453,1862,1960,1697,1992,2632,3033,2616,2800,2674,2151,1909,2186,3124,3721,2276,2320,3422,3251,1819,1712,2036,2049,2093,2242,2514,2292,2167,2353,2635,3317,4082,4268,4056,3548,3145,2743,2206,1922,2878,2712,2604,2199,2858,3672,3553,3574,3707,2862,2255,2330,2615,2933,2844,3343,2964,3650,4308,4428,4404,4402,4328,4184,4108,3244,2162,2406,2572,2843,2364,2680,2556,2376,2706,2936,2154,1957,2045,2195,2143,1586,2648,3144,3093,3431,2855,1709,1834,1801,2100,2327,2460,3041,2703,1671,1702,2644,3632,3327,2939,2352,2668,2838,2616,2205,2687,2723,1797,2100,2417,1942,1706,1685,2121,1891,1581,1729,2791,2810,2223,2336,2578,2692,2679,2814,2114,2445,2721,1561,1685,1968,2163,2579,3156,2957,2476,2261,1850,1892,2107,2215,2026,2680,2468,2700,2888,2890,2881,2747,2086,1950,2232,2842,3217,2352,2197,2016,2613,3344,3445,3572,2575,1964,2191,2349,2660,2663,2836,3072,3562,3007,2039,2112,2448,2808,2710,2637,2427,2071,2277,2175,2065,1990,2461,1736,1639,2244,2552,2345,1803,1718,1858,1730,1969,2304,2294,1842,1691,1803,1823,1771,1762,1835,1854,1549,1671,2131,1999,2401,3199,3266,2304,2020,1602,1403,1702,1864,1700,1672,2070,2119,1579,1422,1346,1613,1968,1788,1570,1482,2198,3035,2902,2635,2477,2700,2722,2207,2129,1515,1728,2057,2106,2154,2530,2781,2666,3164,3551,2899,2841,3089,2286,1345,1399,1351,1499,1433,1377,1353,1376,1341,1366,1633,1659,1460,1283,1499,1794,1910,1646,1447,1452,1574,2084,2263,2298,2689,2686,2539,2874,2073,1858,1542,1580,1887,1552,1428,1737,1589,1536,1495,1395,1472,1694,2058,2173,1759,1668,1852,1646,1575,1849,1926,1699,1636,1971,2110,1918,2026,2474,2393,2445,2073,2328,1953,1968,2276,1908,1746,1591,1838,2017,2008,1888,2602,3033,2666,2822,2973,2808,2435,2458,1643,1143,2036,1988,2063,2099,2075,2047,2376,2155,1770,1703,1756,1788,1880,1742,1570,1415,1539,1604,1663,1246,1720,2148,1966,1249,1045,1291,1545,1730,1526,1513,1766,1806,1374,1374,1701,2007,1626,1603,1758,1797,1788,1601,1451,1571,1523,1201,1291,1274,1168,1242,1316,1237,1322,1659,2090,1943,1566,1538,1754,1845,1449,1312,1509,1381,1301,1193,1204,1130,1002,1158,1496,1627,1466,1579,1432,1341,1400,1477,1544,1496,1466,1485,1787,2358,2324,2080,1892,1724,1973,1908,1826,1800,1736,1712,1867,2027,1909,2382,3039,2851,1938,2614,3161,3191,2710,2081,2161,2588,2714,2486,2272,2182,1787,1814,2644,3117,2564,3134,3350,2812,3131,3625,3969,3788,2537,2429,3493,4132,4863,4865,4805,4695,4355,4170,4204,4243,4205,3253,2931,3950,4212,4311,4428,4628,4652,4373,3852,4208,4204,3351,2509,2278,2234,2364,2775,3146,3393,3588,3730,3475,3514,3510,2580,2687,3182,3159,3117,3370,3827,3719,3776,3815,3973,4058,3782,3527,2851,2469,2581,2810,3112,3375,2907,2459,2550,2709,2921,3142,3246,3197,3301,3026,2962,3277,3096,3137,3286,2831,2961,3863,3031,2325,2759,3251,3427,3533,3135,2919,3197,3176,3046,3300,3272,3105,3072,3286,3560,3064,2814,2126,1648,1583,1569,1367,1411,1821,1796,1960,1992,1788,1371,1216,1265,1554,1513,1281,1215,1148,1254,1103,898,914,1012,1573,1720,1736,1870,1801,1622,1461,1412,1566,1467,1331,1437,1307,1195,1196,1295,1164,1727,1611,1239,1228,1289,1206,1350,1456,1505,1561,1413,1469,1589,1594,1488,1467,1349,1380,1472,1688,1664,1487,1578,1389,1322,1635,2036,2308,1822,1476,1592,1647,1670,1453,1594,2011,2154,2049,1863,1948,1716,1577,1707,1804,1954,2228,2164,1907,1791,2149,2230,2053,1911,1665,2041,2089,1812,1745,1826,1511,1241,1599,1900,1682,1497,1245,1640,2061,2061,1758,1466,1642,1998,1701,1497,1611,1502,1572,1746,1902,1606,1346,1389,1645,1854,1643,1435,1600,1867,1976,2064,1918,1654,1434,1427,1437,1667,1919,1893,1947,2062,1920,1624,1968,1879,2239,2468,2072,1907,1722,1672,1389,1100,1368,1605,1600,1507,1473,1539,1937,1937,1638,1569,1661,2484,2636,1869,1587,1505,1578,1793,1792,1915,2598,2626,2784,2499,2112,1764,1791,2082,1982,1913,2264,2215,1952,2264,2354,1864,1648,1692,1609,1471,1521,1722,1755,1864,1996,1702,1815,2392,2162,1650,1515,1387,1451,1676,1731,1495,1345,1486,1706,1532,1631,1698,1728,1703,1730,1975,2192,1914,1662,1554,1429,1537,1665,1636,1459,1894,2496,2062,1724,1696,1703,1752,1639,1700,2147,2339,2531,2464,1686,1497,1803,1688,1433,1471,1506,1492,1872,1866,1530,1508,1660,1953,2137,2158,1785,1493,1477,1749,2111,1963,1709,1951,2160,1929,1403,1204,1123,1123,1439,1933,1559,1416,1694,1749,1631,1569,1668,2047,1946,1839,2116,1906,1682,1622,1720,1843,2023,2000,2280,2688,2647,2168,1665,1843,1908,2012,1703,1437,1597,1698,1842,1581,1426,1477,1504,1713,2119,2588,2195,1569,1531,1939,2649,2232,1717,1548,1553,1729,1591,1544,1609,1462,1484,1383,1511,1454,1584,1724,1793,1752,1609,1586,2176,2424,1843,1530,1577,1628,1798,1875,1618,1698,1907,1890,1814,1929,2070,2105,2194,2177,1958,1941,1813,1743,1846,1726,1680,1609,1434,1630,1864,1804,1719,1963,2355,2219,2184,2379,2233,2247,2655,2857,2079,1443,1663,2017,2155,2085,2236,2543,2337,1946,1905,1871,1803,1635,2041,2215,2066,1760,2186,3357,3135,2371,2132,1742,1814,2083,2078,2131,2517,2625,2545,2482,2441,2472,2432,2009,1609,1716,2194,2241,1997,1741,1726,1726,1582,1589,1637,1575,1671,1409,1530,1788,2828,3526,3934,4148,4007,3628,3530,3251,2989,2974,2564,1825,1764,2128,1743,1675,1609,1533,1604,1640,1816,1876,1614,1732,2194,2728,2866,3228,3270,3194,2515,1951,1684,1836,2460,2741,2635,1973,1860,1929,2055,3703,4334,4229],[2154,2344,2144,2096,2223,2680,2675,2005,2216,2447,2487,2900,3094,2728,2620,2168,2192,2249,2995,3076,3074,2753,2602,2849,3186,3378,3098,2544,2493,2269,2470,2279,2618,2751,2666,2443,2793,3078,2436,1879,2062,2315,2689,3459,4596,4347,3697,3496,3529,3529,3675,3958,4063,3867,3716,3829,3985,3604,2208,1926,1870,2044,2122,1673,1448,1500,1644,1582,1360,1395,1534,1545,1808,1983,1990,1928,2076,2121,2056,2009,2145,2600,2444,1863,1907,2149,2451,3316,2878,2409,2126,2808,3015,2401,1772,2086,2457,2540,2603,3145,3553,3753,3570,3753,3694,3095,2544,2908,3270,3431,2988,2648,2614,1952,2523,2362,2751,2486,2461,2276,3035,3184,2972,2834,2508,2547,2386,2599,2481,2577,2346,2718,2994,2711,2548,2338,2381,2674,3000,2924,3280,3392,2879,2700,2596,3065,3373,3674,3435,2953,2991,3532,3328,2713,2974,3034,2476,2796,2700,3067,3228,3459,3120,2888,3532,3931,3300,3085,3558,3038,2382,3163,3422,2390,2512,3236,3209,3331,3373,3186,3230,3444,3558,3615,3488,2749,2483,2460,2113,2284,1943,2104,2457,2662,2875,2896,3043,2937,2907,2909,3463,3006,2430,2387,1914,2518,3017,2423,2264,1960,2118,2344,2443,2296,2070,2421,2078,1989,1998,2277,3331,3874,3796,3971,3942,3484,3449,3431,2884,2919,2745,2257,2265,2467,2098,2410,2631,2790,2695,2472,2642,2392,1963,1934,2150,2326,2277,1910,2292,1908,1680,1647,1716,1832,2129,2203,1452,1458,1613,2607,2994,2740,2250,1957,1828,1689,1574,1850,2045,1906,1813,1669,1908,2061,1750,1842,2081,1919,2120,2009,1863,2282,2504,2192,2542,2574,2035,2282,2609,2474,3197,3620,2843,3015,3602,3519,3559,3330,3229,3596,3673,3117,2863,3429,3204,2779,2789,2057,1568,1881,2038,2108,2774,3563,3868,3607,3494,2885,2162,2020,2082,1907,1772,1980,2407,2234,2208,2014,1458,1383,1226,959,1201,1335,1534,1675,2210,2172,1420,1242,1477,1898,1879,1813,1776,1649,2007,2073,1828,1963,1932,1959,2149,2266,1874,1801,1866,1776,1389,1375,1827,1947,1967,1850,1839,2040,2302,2392,2048,1823,1542,1721,1724,1588,1548,1386,1521,1838,2063,1960,1953,1846,1676,2066,2320,2002,2230,1867,1846,1586,1867,1986,2014,1861,1526,1507,1482,1403,1432,1461,1472,1593,1948,2221,2188,1980,1904,1924,1654,1487,1958,2853,2612,2032,2194,2086,2026,1960,2610,2978,3270,3819,3311,2472,2430,2112,2033,1700,1736,1632,1685,1690,2096,1916,1735,1596,1518,1578,1489,1513,1628,1887,1760,1745,1909,2081,2231,1840,1342,1735,1958,1671,2142,2330,2344,2505,1992,1990,2254,2066,1819,1582,1688,1991,2024,1831,1997,2010,1599,1525,2056,1918,2016,2088,1984,2092,1681,1606,1896,1641,1585,1832,2145,2113,1605,1797,2018,2034,1718,1600,1566,1932,2129,1873,2127,2010,1708,1979,1644,1302,1224,1609,1572,1571,1950,2035,1698,1719,1594,1543,1593,1481,1744,1932,1999,1798,1611,1663,1985,1921,1667,1422,1563,1517,1494,1550,1764,1741,1848,1587,1430,1337,1425,1702,1886,1693,1544,1518,1522,1514,1991,1696,1549,1958,2434,2072,1466,1732,2090,2120,2094,1633,1757,2139,2011,2332,1936,1842,1892,2315,2847,2796,2108,1653,1672,1805,1898,1675,1774,1644,1528,1458,1475,1458,1382,1354,1403,1348,1278,1418,1595,1384,1350,1361,1546,1579,1716,1734,1584,1672,2402,2850,2422,2232,1826,1686,1718,1390,1548,1525,1452,1572,2416,3064,2923,2509,2308,2353,2563,2697,2920,2793,2067,1801,1813,2048,2632,2598,1608,938,1216,1632,1664,1714,1629,1512,1770,1666,1699,1466,1282,1259,1224,1213,1417,1622,1795,1560,1384,1388,1362,1396,1853,1734,1359,1209,1284,1418,1460,1642,2104,1542,1608,1442,1477,1439,1519,1882,2216,1852,1412,1553,1927,1877,1816,2000,1907,1749,1854,1942,2136,2036,1727,1582,1557,1514,1510,1586,1605,1660,2022,2640,2200,1672,1451,1570,1614,1670,1546,1969,2552,2954,3086,2396,2130,1450,1866,2481,2236,2744,2640,1880,2127,2685,1974,1541,2286,2320,2139,2323,2103,2135,2328,2162,2620,3653,4164,4221,4269,3442,2370,2727,2918,2046,2376,3475,3076,2588,2571,2566,2544,2598,2812,3076,2588,2387,2823,2951,3062,2779,2564,2546,3088,3752,4100,4113,4100,4295,4439,4239,3550,2777,2730,2534,2257,2731,3498,3024,2518,3090,3191,2498,2368,1909,1680,1794,2324,3124,2776,2687,3443,2569,2194,2270,2264,2754,2652,2568,3186,2543,1748,1808,2150,2642,3310,3463,2084,2060,2502,1853,2001,2820,2351,2229,2730,1898,1313,1393,1594,2286,2481,1991,1520,1786,2210,2603,2622,2181,2323,2577,2335,1831,2054,1560,1424,2229,2569,2972,3318,2708,2157,2486,2590,2150,2186,2432,2199,1857,1994,2482,2546,2175,2218,2641,2720,2306,1851,2770,2719,2437,2046,2309,2317,2777,2814,2967,3376,2443,1918,2121,2196,2342,2536,2986,3016,2707,2270,2332,2331,2264,2406,2401,2289,2061,1967,1905,1716,1687,2007,2361,2055,2232,2646,2494,2203,1789,1837,1832,1633,1799,1844,1646,1772,1509,1503,1682,1454,1861,2293,1671,1364,1864,2340,1855,2392,2878,2526,2077,2110,1655,1404,1562,1928,1691,1570,2210,2083,1612,1490,1361,1486,1604,1693,1431,1362,1677,2359,2666,2470,2304,2523,2660,2830,2306,1585,1802,1886,1614,1962,2145,2122,2587,3228,3277,2568,2868,3256,2074,1714,1713,1533,1409,1355,1435,1489,1523,1371,1433,1814,1680,1444,1361,1366,1629,1839,1654,1503,1449,1520,1683,1598,1396,1441,1715,2662,3947,2092,1582,1916,2211,2210,1521,1436,1766,1697,1713,1422,1329,1742,1500,1610,2010,1530,1586,2189,2188,1745,1562,1637,1592,1226,1667,1996,1580,1679,2390,2600,2670,2296,2289,2061,1957,2491,2303,2198,1743,1760,1709,1792,1718,2566,3020,2745,2807,2905,2712,2511,2769,2010,1815,2403,2375,2344,2309,2072,1873,1818,1809,1861,1975,1903,1794,1949,1830,1384,1572,1735,1707,1588,1399,1873,2149,1857,1417,1250,1534,1274,1643,1860,1666,1754,1715,1473,1473,1778,1648,1552,1735,1499,1592,1731,1477,1529,1792,1514,1235,1422,1444,1251,1262,1282,1433,1688,1975,2280,1941,1507,1447,1758,1916,1382,1329,1363,1316,1301,1362,1438,1169,1082,1222,1486,1532,1458,1746,1577,1425,1404,1465,1570,1539,1516,1628,1740,1786,1678,1526,1713,1555,1765,1672,1593,1394,1510,2059,2544,2953,2293,2574,3309,3015,1958,2261,2902,2868,2191,1804,2100,2985,3064,2543,1902,1840,1752,1853,2553,3574,3330,3360,3338,2950,3122,3537,4079,4079,2539,2429,3636,4385,4904,4486,4727,4895,4583,4060,3992,4199,4083,3650,3448,3909,4136,4243,4339,4651,4520,4360,3978,4156,4421,3870,3078,2562,2341,2530,3166,3441,3340,3369,3883,3632,3508,3397,3082,2974,2965,3154,3563,3229,3617,3745,3786,3536,3028,2958,3186,3287,2934,2841,3055,3096,3133,3063,2578,2405,2451,2690,2927,2747,2929,3081,3316,3349,3348,3510,3347,3175,3218,2989,3002,3950,3118,1960,1863,2641,3352,3640,3344,2756,2829,3017,2941,3234,2435,2377,2670,2828,2916,2993,2917,2122,1625,1648,1475,1357,1434,1859,1775,1876,1700,1452,1316,1392,1555,1706,1334,1226,1441,1541,1642,1410,1359,1549,1394,1693,1896,1801,1815,1605,1453,1356,1228,1408,1515,1386,1363,1145,1125,1116,1184,1174,1135,1151,1221,1346,1317,1215,1360,1456,1888,1617,1347,1369,1431,1291,1547,1781,1585,1459,1440,1476,1700,1643,1585,1511,1635,1764,1796,1865,1801,1734,1671,1582,1618,1477,1676,2141,1542,1828,2022,1968,1770,1482,1480,1704,1982,2183,1619,1587,1755,1968,2360,2286,1580,1371,1976,2382,2053,1926,2118,1713,1551,1750,1844,1654,1416,1409,2068,2113,1835,1890,1811,1780,2076,1721,1528,1546,1483,1527,1535,1581,1396,1446,1440,1601,1817,1775,1648,1720,1744,1635,1657,1610,1376,1294,1362,1549,1714,1559,1758,1946,2033,1979,2008,2510,1953,1703,2036,2165,1806,1685,1704,1353,1248,1526,1585,1496,1474,1584,1606,1704,1694,1730,1735,1786,2043,1912,1624,1570,1543,1589,1687,1944,2041,2352,2403,2453,2505,2138,1687,1693,2050,1991,2308,2260,2004,2273,2569,2176,1803,1720,1794,1693,1455,1560,1884,1951,2299,2316,2088,1974,1969,1775,1522,1504,1386,1348,1599,1556,1269,1341,1682,1862,1549,1660,1671,1789,1689,1803,1984,2069,2102,2020,1642,1471,1437,1600,1664,1731,2157,2283,2135,1929,1707,1606,1697,1847,1873,1824,2196,2265,1757,1454,1366,1818,1828,1599,1453,1465,1544,1782,1736,1558,1713,1844,2088,2403,1934,1634,1752,1538,1720,2098,1850,1550,1739,2089,1982,1808,1733,1203,1054,1574,2149,1595,1615,1984,1952,1842,1786,1995,2195,2040,1986,1851,1850,1610,1548,1710,1670,1889,2310,2554,2591,2553,2062,1625,1782,2046,2009,1643,1538,1748,1851,1910,1685,1403,1424,1665,1710,1752,2147,1619,1656,1602,1774,2213,1973,1574,1432,1483,1583,1571,1671,1573,1506,1634,1569,1618,1498,1571,1860,1777,1680,1608,1658,1862,1795,1609,1564,1605,1582,1765,1656,1493,1706,1687,1694,1640,1551,1609,1732,1745,1836,1965,2114,2019,1973,1980,2009,1947,1719,1681,1996,2008,1624,1730,2242,2054,1942,1966,2083,2121,1925,1918,2360,2006,1742,2203,2359,2603,2964,2965,2840,2840,2836,2313,1873,1902,1654,1690,2004,1780,1636,2304,3342,3189,2296,2007,2015,2010,2036,2563,2750,2663,2861,2776,2475,1947,1866,1860,1614,1603,1590,1740,1806,1937,1898,1666,1564,1535,1732,2053,1675,1707,1552,1505,2101,2651,2842,2982,3527,3560,3155,3207,3433,3545,3377,2799,2043,1626,1789,1864,2037,2022,1654,1655,1925,1787,1791,1756,2018,2546,3051,3122,3031,3078,2858,2394,2282,2193,2320,2490,2812,2831,1812,1895,1828,1823,3465,3921,3867],[2111,2283,2396,2584,2385,2531,2404,2188,2201,2592,2698,2623,2453,2331,2486,2135,2555,3055,2973,2316,2500,2557,2445,2879,3055,3144,3432,2829,2601,2502,2660,2531,2850,2907,3098,3157,3145,3278,2965,2440,2239,2525,3022,3702,4472,4341,3561,2971,2870,2739,3099,3793,3836,3836,3906,3942,3759,3452,2508,2023,1717,1907,1944,1587,1576,1763,1523,1365,1387,1453,1599,1710,1644,1691,1965,2208,2523,2944,2370,1455,1716,2358,2778,2706,1965,2001,2626,2969,2654,2268,2832,3368,2902,2115,1840,2577,3186,2762,2693,3063,3122,3292,3341,3571,3041,2000,1793,2522,3044,3471,3305,3105,2733,1731,1924,2443,3107,2647,2376,2263,2847,3216,3305,2905,2399,2841,2554,3055,2852,2751,2675,2665,2821,2636,2685,3010,2780,2563,3024,3032,3338,3294,2624,2620,2697,2767,2595,3055,3740,3594,3067,2695,2920,2415,2642,2702,2685,2684,2920,2486,2534,3034,3096,2878,2995,3685,4244,4188,4401,4057,3300,2924,2498,2128,2466,2932,3045,3341,3628,3460,3462,3609,3777,3718,3388,2812,2575,2392,2056,2278,2355,2555,2484,2478,2820,2928,3366,3138,2973,2880,4031,3917,3032,2512,2116,2429,2401,2173,1804,1523,2345,2577,2553,2216,2700,2347,1861,1869,1668,1894,2601,2800,3010,3470,3928,3819,3905,3828,4042,4006,3542,3414,3080,2722,2676,2885,2980,3066,3132,2792,2766,2824,2277,1817,1761,1525,1677,2180,2500,2339,2009,1621,1743,1758,1851,2054,1711,1768,1593,2137,3095,3095,2185,1753,1893,1880,2183,2319,2069,2050,1781,1599,1922,2194,2084,2077,1707,1757,2463,2460,2332,2502,3001,2654,2225,1751,2080,2611,2437,2347,2807,3144,2877,3206,3671,3295,3467,3130,3028,3395,3527,2801,3269,3388,2294,2391,2432,1848,2105,2200,2289,2081,2786,3421,3742,3741,3985,3602,2603,2051,1920,1804,1966,2177,2693,2662,2526,1932,1560,1118,837,1015,1242,1333,1295,1276,1531,1499,1272,1612,1832,2117,2068,2249,2004,2040,2293,2129,1948,1818,1759,1851,2120,2211,1877,1775,1662,1838,1736,1990,2063,2128,2728,2564,1704,1724,2602,2953,1959,1668,1451,1933,2010,1728,1752,1469,1497,1693,1688,1653,1711,1744,1771,2076,2413,2080,2010,1897,1833,1829,2026,1976,2129,1961,1315,1414,1490,1699,1691,1605,2211,2189,1997,1950,1749,1697,1780,1709,1501,1438,2031,2888,2599,2194,2264,2096,1996,1807,2284,2650,2502,3130,3249,2658,2177,2447,1980,1574,1501,1508,1572,1603,1883,1771,1509,1355,1564,1577,1459,1591,1588,1914,1921,1854,2068,1952,2086,1995,1441,1678,2088,1719,2200,2978,3499,3232,2832,2799,2421,2066,1808,1596,1521,1533,1550,2105,2714,2117,1486,1453,1589,1650,1553,1612,1776,1628,1528,1854,1941,1489,1638,2173,2144,2203,1989,1698,1622,2164,1970,1512,1489,1591,1740,1986,2017,1623,1460,1479,1451,1375,1362,1715,1832,1596,1704,1832,1684,1648,1699,1783,1605,1638,1646,1690,1572,1516,1589,1617,1531,1781,1934,1371,1411,1535,1567,1550,1741,1842,1808,1511,1311,1360,1557,1899,1912,1691,1485,1533,1627,1760,1882,1486,1528,2224,2856,2238,1551,1756,2008,1990,2106,1654,2157,2383,2205,2173,1770,1433,1344,1701,2369,2461,1775,1791,2611,2823,2095,1395,1316,1474,1395,1377,1470,1335,1320,1316,1401,1466,1339,1437,1496,1344,1378,1504,1436,1520,1696,1547,1324,1828,3095,3292,2202,1799,2258,2286,1843,1455,1531,1431,1301,1651,2524,3169,2865,2469,2469,2574,2633,2896,2822,2077,1783,1793,1853,2358,2587,1750,937,1121,1693,1820,1662,1731,1590,1653,1663,1532,1466,1405,1507,1459,1311,1378,1537,2026,2061,1632,1476,1393,1355,1458,1520,1451,1736,2220,1379,1499,1672,1453,1800,1462,1437,1275,1554,1694,1738,1977,2088,2081,1784,1669,2196,1703,1585,1907,1767,1682,2254,2191,1868,1842,1676,1544,1454,1498,1449,1584,1554,1321,1426,2298,2454,2212,1870,1948,2053,1808,1649,1798,1958,2746,3163,2383,1528,1023,1954,2759,2164,1794,1750,1865,2310,2004,1566,2178,2389,2165,1914,2366,2252,2162,2039,1834,2583,3605,3934,3731,3597,3384,2252,2307,2669,2192,2557,3309,3564,3281,3241,3588,3440,2927,2938,3409,2774,2424,2999,2823,2247,2128,1798,1732,2022,2553,3137,3518,3977,4223,4260,4232,4164,3155,2684,2365,2421,2595,2342,2166,2210,2773,2801,2390,2250,1824,1777,1911,2641,3232,2764,2121,2263,2284,2410,2460,2692,3012,3098,3264,3393,2525,2264,2451,2291,1975,2157,2081,1738,2281,2314,2184,2749,2621,1665,2327,2415,1398,1397,1598,1814,2866,3162,2272,1980,1727,1992,2652,3696,3044,2207,2192,2066,2015,1915,1636,1910,2586,3641,4145,3403,1971,2542,3285,2414,2485,2686,2430,2024,2117,1990,1644,1550,1769,2010,2128,2478,2546,2347,2698,2123,2234,2965,2981,2653,2963,2796,2756,2872,2051,2171,2554,3055,3139,2654,2340,1933,1611,2375,2732,2284,1906,1559,1571,2000,1763,1765,1615,1516,1491,1876,2030,2079,2600,2810,2601,2450,1871,2264,1911,1571,1592,1662,1986,1770,1467,1650,1828,1794,2163,2388,1655,1312,1469,1986,1805,1797,1979,2359,2339,1770,1486,1412,1483,1814,1248,1113,1377,1482,1478,1398,1322,1354,1656,1626,1376,1307,1334,1570,2198,2543,1984,2250,2368,2452,2059,1713,1815,1934,1904,2153,2274,2312,2740,2780,2501,2559,2741,3194,1936,1646,1731,1637,1459,1488,1549,1674,1640,1579,1555,1693,1781,1522,1375,1303,1262,1379,1376,1349,1436,1504,1496,1543,1453,1350,1254,2470,3122,1948,1601,2461,2995,2393,1465,1195,1375,1635,1605,1243,1197,1384,1201,1456,1794,1542,1610,2115,2061,1876,1715,1345,1719,1716,1826,1918,1449,1443,2021,2504,2526,1926,1929,1947,1934,2495,2347,2162,1779,1860,1677,1554,1896,2291,2098,2204,2655,2690,2622,2202,2423,2008,2176,2406,2198,1897,1970,1902,1693,1641,1592,1693,2048,2024,1969,1970,1997,1480,1450,1643,1827,1685,1483,1979,2376,1780,1554,1572,1733,1486,1583,1726,1639,1650,1608,1415,1409,1502,1470,1522,1671,1424,1462,1698,1500,1713,1862,1560,1615,1881,1652,1396,1474,1528,1720,1564,1655,1537,1469,1533,1383,1654,1749,1644,1719,1637,1532,1489,1673,1626,1505,1527,1549,1612,1717,1714,1770,1697,1686,1594,1561,1621,1444,1688,1720,1679,1628,1615,1493,1545,1345,1547,1659,1606,1469,1432,2049,2452,2501,2270,2575,3395,2999,2112,2083,2701,2459,2250,2453,2085,2251,2318,2413,1961,1967,2121,2355,2745,3765,4057,3757,3419,3018,3221,3576,3926,3990,2525,2480,3567,4492,5078,4498,4423,4855,4468,3582,3449,4012,3962,3587,2997,2994,3646,4176,4275,4447,4361,4348,4415,4468,4361,4253,3842,3408,3142,3317,3239,3132,3007,2908,3221,3173,3028,2797,2647,2855,3117,3040,3317,3197,2851,2957,3350,3012,2314,2533,3291,3189,2953,2993,2898,2934,2854,2668,2451,2445,2678,3054,3263,3432,3572,3419,3467,3393,3298,3435,3545,3676,3522,3195,3100,3441,3064,2207,1844,2636,3295,3298,3163,2818,2790,3153,3360,2953,2370,2657,2736,2818,2901,2963,2840,2365,2115,2089,1521,1455,1521,1609,1545,1578,1637,1589,1665,1837,2294,2236,1488,1848,2000,1984,1886,1595,1462,1454,1215,1541,1864,1725,1719,1530,1476,1270,1179,1207,1470,1404,1312,1283,1250,1231,1184,1159,1262,1266,1170,1142,1223,1215,1229,1283,1442,1546,1534,1648,1761,1566,1583,1535,1590,1353,1475,1578,1534,1425,1368,1653,1922,1932,1819,1695,1786,1804,1575,1495,1460,1481,1453,2005,1842,1848,1990,1844,1627,1425,1067,1284,1863,1641,1134,1375,1668,1866,2436,2137,1801,1908,2395,2740,2520,2046,1961,1882,1735,1532,1471,1650,1454,1785,2436,2299,1789,1584,1604,1793,2233,2015,1541,1443,1435,1314,1406,1543,1483,1427,1658,1833,1881,1866,1628,1570,1451,1445,1675,1710,1259,1128,1630,1915,1884,1540,1608,1855,2029,2355,2137,2338,2350,2073,2652,2802,2123,1882,1913,1566,1425,1566,1506,1476,1551,1579,1389,1370,1715,1707,1587,1585,1826,1965,1707,1794,1611,1737,2088,1968,1806,2056,2400,2460,2301,2138,1970,1800,2061,2094,2193,1816,1746,2048,1895,1782,2012,2020,1964,1689,1520,1789,2388,1838,1719,1843,1853,1863,1651,1522,1550,1569,1469,1556,1544,1419,1369,1554,1887,2082,1867,1801,1707,1571,1792,2139,2081,2232,2132,1847,1663,1669,1672,1894,1820,1676,1850,1754,1988,2156,1901,1711,1685,1719,2025,2059,2469,2046,1493,1385,1549,1815,1879,1641,1477,1449,1432,1513,1679,1564,1785,1780,1850,1877,1633,1804,1832,1459,1628,1779,1479,1433,1569,1744,1793,1974,1682,1048,855,1620,2068,1688,1555,1853,2194,2212,2308,2642,2592,2509,2059,1921,1616,1559,1656,1629,1684,2009,2337,2226,1868,1982,1741,1892,2270,2567,2247,1561,1493,1707,1650,1609,1715,1621,1448,1530,1793,1931,1935,1843,2263,1768,1537,1603,1427,1493,1748,1819,1716,1651,1852,1659,1594,1698,1635,1607,1628,1622,1570,1600,1707,1755,1655,1556,1691,1667,1678,1691,1759,1639,1514,2026,2176,1864,1750,1526,1639,1752,1665,1534,1671,1725,1765,1620,1621,1790,1881,1937,1981,2026,2293,2396,2049,2041,2072,2032,2612,2302,1937,2143,1958,2068,2312,2088,1976,2652,2724,3104,3681,3300,3195,3226,3399,2688,2072,2424,2232,1783,2046,1658,1534,2118,2317,2270,1965,1965,2075,1859,1927,2416,2217,2171,2618,2824,2558,1792,1498,1853,2129,2090,1954,1925,1766,1725,1988,2105,1794,1659,2245,2610,2021,1711,1614,1630,2031,2562,2440,1888,2630,3007,3011,3193,3588,3500,3401,3230,2345,2294,2765,2598,2449,2453,2140,2039,1890,1724,1980,2281,2510,3060,3530,3271,2957,2924,2858,2967,3052,2554,2470,1955,2326,2800,1932,1730,1732,1851,3228,4028,3842],[2652,2532,2094,1960,2350,2493,2512,2874,2942,2987,2662,2544,2331,2249,2416,2393,2894,3055,2712,2393,2635,3104,3044,2979,2911,3008,3265,3200,2767,2360,2339,2776,3021,2972,3300,3329,3231,3351,2917,1955,1952,2785,3082,3527,4239,4104,3299,2894,2842,2430,2766,3560,3927,3917,3646,3727,3392,3029,2930,2213,1741,1832,1561,1369,1643,1860,1630,1487,1733,1953,1969,1679,1519,1916,1920,1786,2198,2646,1824,866,1251,1983,2853,2929,2179,2461,3478,3217,2348,2361,3076,2852,2263,2050,2176,3012,3331,2699,2766,2908,2691,2406,2666,2652,2179,1812,2181,2630,2814,3527,3276,2873,2769,1989,1888,2324,2499,2303,2438,2625,2424,2722,2905,2805,2382,2670,2614,2853,2908,2715,2324,2297,2645,2663,2753,3187,3244,3041,3300,3765,3637,2752,2438,3157,3118,2500,2076,2713,3479,3740,3383,2592,3222,3187,3241,3042,3108,2678,2828,2587,2278,2626,2961,3064,2972,3563,4380,4707,4671,4360,3970,2899,1996,1938,2042,2171,2509,3053,3749,3738,3671,3660,3776,3597,3174,2912,2696,2728,2836,2886,2832,2835,2641,2531,3138,2856,2329,2839,3482,3826,4460,4130,3085,2706,2751,2633,2478,2422,1892,1949,2880,2463,2649,2608,2675,2221,1811,1798,1725,2053,2690,2453,2518,2972,3549,3406,3601,3607,3720,3964,4271,4275,3830,3790,3846,3634,3707,3273,2978,2666,2849,2885,2437,2108,2019,1692,1874,2273,2230,2367,2077,1990,2498,2258,2030,2010,1615,1527,1470,1774,2228,2626,2556,1973,2230,2142,2440,2448,2194,2330,1732,1587,1792,1668,1822,2048,1515,1688,2335,2359,2441,2798,2940,2318,1938,2640,3139,2711,2282,2395,2749,3196,3272,3211,3506,3238,3146,2984,3196,3097,3186,2812,2966,2731,2318,2598,1927,1781,2252,2366,2322,2375,2957,3656,3480,3109,3146,3211,2850,2148,1734,1820,2656,2340,2192,2497,2432,2076,1584,879,883,1107,1098,1087,1029,1135,1949,1606,1276,1670,1504,1697,1851,1904,1753,1849,1751,1668,1642,1594,1751,1931,1985,1901,1798,1618,1558,1484,1588,1968,1952,2104,2436,2013,1568,1937,2647,2184,1403,1397,1430,1611,1440,1633,1704,1461,1361,1299,1568,1677,1500,1356,1426,1552,1752,1807,1547,1728,1915,1891,1995,2202,2445,2050,1446,1419,1745,2209,2128,1839,1986,2021,1758,1559,1497,1574,1517,1528,1427,1720,2123,2187,1979,1974,2174,1817,1472,1875,2778,2585,2330,2343,2356,2260,2392,2611,2105,1624,1692,1864,1635,1635,1758,1625,1431,1350,1487,1504,1363,1613,1920,2070,1912,1605,1738,1966,2054,1877,1555,1686,1981,1757,2072,2658,2856,2436,2248,2165,1920,1742,1618,1531,1496,1571,1510,2148,2244,1847,1561,1484,1792,2066,2031,2263,2402,1947,1823,1853,1730,1595,1626,1717,1640,1537,1631,1597,1614,1727,1542,1511,1501,1501,1629,1691,1687,1636,1338,1599,1661,1825,2220,2080,1791,1477,1538,1853,1658,1488,1713,1815,1600,1640,1601,1506,1619,1803,1633,1666,1932,1974,1500,1359,1368,1472,1588,1733,1762,1687,1622,1586,1418,1438,1594,1961,1924,1902,1434,1632,1721,1718,1659,1555,1727,2137,2238,1627,1532,2095,2348,2127,2049,1772,2016,2071,1840,1515,1473,1570,1464,1569,2062,2093,1643,2363,3155,2521,1713,1641,1489,1515,1520,1454,1445,1283,1288,1325,1336,1314,1208,1298,1493,1400,1353,1378,1350,1398,1594,1686,1440,1853,2913,3364,2336,1540,2175,2379,1816,1549,1615,1509,1500,2087,2718,3097,2690,2643,2634,2645,2763,2918,2258,1821,1816,1852,2312,2423,1614,902,1148,1611,1745,1756,1654,1677,1851,1924,1695,1300,1198,1588,1675,1516,1605,1392,1290,2132,1860,1510,1394,1399,1476,1374,1529,1857,2218,2733,1574,1507,1352,1458,1724,1605,1423,1411,2226,2833,2758,2508,1883,1835,1928,1497,1554,1344,1625,1634,1367,1613,2136,2104,1728,1836,1886,1872,1608,1462,1286,1468,1748,1469,1620,1712,1698,2039,2437,2286,1948,1703,1622,1443,1568,1992,2512,2078,1248,1332,1818,1813,1663,1829,2117,2426,2218,1853,2338,2485,2254,2139,2147,2210,2357,2297,2008,2198,2676,2908,3188,2608,2330,2449,2336,2345,2152,3068,3638,3189,3319,3339,2730,3370,3624,3453,3815,3584,2194,1820,2316,2627,2223,1382,1299,1549,1644,1825,2174,2655,3386,3771,3862,3801,3585,2813,2778,3116,3497,2379,2230,2555,2533,2258,2451,2063,2082,2184,1927,1974,2872,3459,2780,1831,1849,2105,2176,2119,2562,3419,3495,3066,2540,2541,3016,3287,2938,2134,1983,1696,1852,2554,2499,3098,2810,1760,1358,2189,2681,2149,1667,1802,2654,3863,3616,2866,2565,1990,2294,3633,4632,4313,3416,2333,1738,1831,1698,1678,1962,2230,3550,4356,3232,2732,3208,2978,2312,2571,2476,2171,2215,2052,1826,1483,1706,2198,2376,2366,2852,2265,1942,2192,2225,2280,2411,2157,1944,2456,2989,2984,2018,1976,2470,2661,2935,3375,3307,2664,1908,2227,3044,2378,1786,1542,1398,1541,2121,1879,1777,1666,1631,1407,1615,2093,2258,2524,2706,2071,1666,1670,2093,1803,1484,1616,1830,1880,1621,1421,1466,1828,2053,1910,1766,1701,1516,1398,1918,1799,1793,1699,1789,1980,1510,1463,1515,1455,1584,1194,1144,1180,1284,1457,1412,1321,1291,1367,1533,1518,1425,1555,1475,1835,2566,2198,2496,2576,2071,1773,1625,1696,1834,1829,2100,2292,2188,2629,2648,2542,2676,3008,3261,2603,2040,2003,1869,1770,1911,1541,1521,1604,1622,1515,1466,1431,1332,1348,1194,1141,1271,1173,1227,1283,1331,1556,1788,1656,1357,1219,2062,2962,2458,1669,2308,3028,2623,1656,1643,1593,1626,1222,1058,1135,1070,1193,1643,1946,1626,1655,1871,1480,1589,2315,1837,1568,1774,1781,1786,1835,2043,2224,2374,1974,1489,1968,1716,1425,1542,1483,1765,1624,1640,1548,1716,2150,2217,2281,2644,2835,2531,2511,2367,2040,1798,1946,2174,2099,2029,2142,1960,1683,1610,1626,1814,2060,2046,1947,1845,1940,1726,1384,1512,1843,1643,1500,1951,2231,1861,1707,1670,1695,1802,1709,1526,1399,1356,1293,1429,1614,1624,1730,1692,1653,1687,1682,1709,1632,1689,1605,1660,1876,1842,1649,1636,1627,1511,1554,1471,1363,1366,1360,1406,1409,1462,1462,1566,1679,1656,1529,1539,1534,1512,1627,1521,1436,1536,1618,1657,1565,1396,1497,1581,1638,1485,1371,1820,1709,1476,1473,1601,1522,1344,1306,1605,1588,1324,1581,1520,2380,2542,1802,1840,1794,2294,2568,2322,2490,3144,3514,3570,3334,2146,2193,2338,2554,3012,3515,3264,2786,2753,3509,4190,4011,3594,3159,3206,3542,3752,3880,2733,2359,3225,4531,5007,4231,3993,4496,4500,4308,3992,4048,3885,3508,2175,2099,3465,4271,4388,4183,4180,4395,4395,4355,4058,3670,3504,3253,2968,2851,2712,3088,3142,2922,2924,2787,2844,2814,2752,3023,2851,2489,2673,2886,2728,2909,3177,3056,2742,2943,3453,3187,3108,2937,2999,2866,2612,2546,2428,2511,2897,3103,3146,3440,3466,3153,3106,3304,3304,3431,3646,3649,3308,3021,2926,3022,2802,2263,2136,2886,3152,3003,2996,2865,2908,3074,3010,2706,2624,2730,2952,3267,3504,3300,3056,2844,2178,1986,1782,1694,1504,1443,1518,2008,2135,1885,1885,2361,2602,2066,1703,1928,1849,1443,1339,1254,1077,1082,1278,1595,1842,1669,1743,1801,1506,1240,1232,1331,1542,1376,1414,1470,1293,1528,1338,1227,1357,1337,1371,1339,1322,1150,1189,1233,1288,1503,1675,1799,1714,1722,1731,1338,1398,1363,1509,1566,1606,1661,1545,1779,2092,1812,1721,1562,1791,1791,1512,1526,1650,1515,1536,2065,2132,1675,1449,1549,1861,1723,1357,1271,1601,1489,1461,1456,1422,1795,2024,1984,1886,1754,2301,2678,2645,2377,2131,1961,1569,1460,1648,1669,1494,1675,1986,1945,1693,1391,1394,1909,2417,2443,1856,1567,1417,1292,1277,1429,1557,1566,1808,1836,1708,1570,1434,1450,1601,1881,1986,2041,1788,1748,2248,2092,1600,1500,1505,1705,2200,2477,2148,2298,2293,2023,2079,2282,2116,1961,1870,1801,1870,1832,1716,1686,1786,1638,1258,1433,1840,1642,1649,1725,1996,1846,1740,1861,1748,1916,2228,2077,2013,2315,2146,1998,2120,2374,1956,1792,1872,2106,1929,1627,1640,1721,1736,1859,1870,1814,1768,1682,1553,1992,2128,1685,1910,1923,1738,1767,1669,1613,1777,1990,1832,1691,1564,1382,1520,1580,2076,2220,2110,1826,1944,2097,2307,2405,2289,2044,1881,1840,1838,1918,2021,2128,2024,1724,1470,1439,1692,1741,1799,1807,1718,1852,2324,2653,2618,2128,1867,1770,1611,1632,1811,1734,1586,1487,1527,1776,1718,1611,1845,1947,1803,1647,1732,1936,1968,1849,1931,1677,1472,1715,1681,2047,2354,1758,1308,997,984,1504,1871,2142,1843,1853,2118,1879,1974,2355,2403,2291,1973,1713,1440,1533,1491,1617,1700,1754,1907,2086,2002,1913,1972,1914,2059,2317,2002,1504,1510,1615,1562,1444,1575,1686,1597,2240,2359,2272,2180,2185,2051,1556,1466,1643,1432,1718,1909,1675,1742,1708,1732,1807,1797,1716,1566,1594,1686,1682,1842,1920,1722,1814,1622,1752,1812,1906,1758,1699,1799,1455,1446,2201,2375,2010,1829,1796,2287,1898,1596,1659,1549,1559,1594,1500,1705,1771,1672,1708,2038,2232,2237,2264,2196,2222,2212,2298,2578,2221,1508,1375,1738,2377,1997,1976,2258,2929,2657,3057,3467,3169,2835,2761,2974,2829,2510,2913,2962,2039,1663,1516,1776,2352,2610,2451,2379,2441,2452,2446,2104,1794,1736,2097,2351,2784,2674,2040,1832,2209,2288,2026,2057,2147,2048,2072,2480,2115,1749,1645,1914,1930,1690,1556,1465,1621,1898,2187,2188,1763,2380,2832,3059,3256,3354,3163,3065,2828,2569,2754,2720,2282,2234,2542,2508,2149,1733,1703,1682,2398,2940,3522,3858,3427,3044,2957,2744,3040,3371,2714,2032,1704,1846,2049,1762,1782,1883,1931,3118,4529,4152],[2678,2545,2226,2041,2105,2177,2427,2569,3038,3137,2939,2946,2728,2411,2541,2555,2590,2720,3134,3294,3248,3142,2855,2811,2884,3117,3108,3256,3008,2619,2381,2449,2558,2433,2878,3232,3174,3310,2787,2166,2785,3423,3230,3342,3826,3854,3410,3397,3313,2576,2750,3375,4097,3984,3520,3615,3331,3186,2901,1962,1895,2243,1864,1717,1753,1760,1686,1633,1937,2242,2635,2401,2126,2179,1874,1602,2061,2563,2082,1422,1769,1853,2033,2540,2834,2760,2475,1890,1792,2368,3132,2932,2455,1958,2050,2281,3054,3139,2552,1761,1545,2039,2276,2212,1960,2210,2963,2390,2413,3079,2889,2865,2619,2068,2054,2366,2624,2840,3108,3346,2524,2997,3084,2554,2285,2070,2032,2112,2543,2652,1948,2008,2186,2518,2600,2822,3338,3060,3193,2927,2612,2430,2580,2725,3010,3322,2972,2872,2884,3049,2706,3086,3927,4000,3321,2849,2687,2790,3097,3140,3323,3427,3111,3316,3160,3120,3854,4697,4721,4358,3637,2629,2090,2002,2133,2027,2090,2575,3551,3628,3608,3542,3421,2997,2883,2978,2829,2865,3033,3090,2922,3104,3229,3286,3454,3011,2745,2810,3758,4341,4496,4384,3594,2943,3061,2819,2496,2540,2557,2959,3405,2938,2770,2715,2438,2029,1874,1753,1651,2308,3370,3151,3432,3709,3863,3785,3888,3715,3753,4049,4078,3941,3875,3743,3549,3760,4029,3962,4074,3651,3451,3363,2780,2473,2750,2406,2216,2422,2662,2639,2095,2166,2323,2321,2637,2332,1733,1582,1838,2092,2264,2995,3047,2404,2229,2265,2631,2303,1943,1695,1847,2137,1814,1796,2382,2292,1787,1697,1772,2268,2483,2542,2554,2421,3043,3816,3632,3232,3078,2565,2533,3190,2862,2323,2871,3072,3207,3359,3152,3132,3298,2854,2866,2712,2636,2065,1740,2217,2642,2631,2311,2604,2830,3220,2830,2564,2817,2517,2719,2753,2121,2121,2917,2446,1907,2244,2578,2467,1737,1359,1274,1045,1038,1069,1060,1458,1598,1503,1775,1674,1348,1300,1527,1947,2188,2035,1785,1964,1752,1523,1844,2426,2128,1878,1823,1675,1484,1460,2118,2705,2532,2143,1780,1952,1629,1774,2036,1541,1394,1486,1440,1327,1346,1469,1321,1343,1364,1390,1466,1382,1345,1292,1513,1521,1527,1573,1709,1953,1879,1950,2399,2192,1522,1654,1538,1570,2029,1886,1826,1825,1682,1754,1770,1647,1782,2077,1982,2100,1982,2204,2414,2075,1700,2066,2336,1886,1670,1815,2100,1985,1910,1511,1685,1803,1915,2079,2179,1892,1715,1798,1441,1321,1516,1693,1525,1437,1500,1443,1381,1577,1805,1679,1495,1680,2175,2390,2133,1837,1795,1885,1796,1983,1938,1971,1986,1766,1730,1612,1694,1584,1571,1548,1544,1439,1368,1444,1505,1823,1922,1920,2288,2765,2559,2309,2376,2233,2128,2046,1877,1592,1449,1487,1562,1677,1853,1747,1613,1359,1487,1509,1621,2110,2497,2330,2072,1769,1858,2201,1858,1784,2110,1835,1615,1380,1587,2012,1674,1447,1504,1453,1415,1505,1566,1481,1700,1753,1724,1996,2331,2127,1570,1525,1493,1736,1971,1687,1566,1608,1555,1521,1544,1655,1770,1654,1511,1477,1350,1660,1672,1670,1846,1621,1513,1585,1708,1715,1647,1573,1885,2018,1861,1845,1802,1746,1737,1597,1731,1698,1542,1952,1806,1749,2148,2949,2465,1786,2213,2227,1626,1439,1427,1493,1284,1249,1235,1367,1367,1420,1423,1450,1429,1429,1369,1245,1342,1532,1671,1613,1411,1441,1842,2204,1923,1680,1825,1847,1639,1491,1638,1719,1931,2183,2323,2703,2657,2611,2620,2653,2854,2429,1802,1768,1784,2153,2576,1715,915,1196,1488,1678,1685,1792,1935,2226,2223,1640,1571,1284,1223,1305,1333,1730,2318,1703,1298,1579,1589,1409,1244,1378,1554,1393,1419,1653,1510,1317,1377,1349,1300,1703,1870,1662,1584,1843,2898,3524,3316,2565,1656,1726,1902,1498,1427,1394,1827,1588,1258,1282,1549,2007,2028,1868,1860,1847,1605,1583,1364,1850,2167,1820,1426,1236,1068,1488,2100,1953,1649,1630,1413,1521,1693,1795,2414,2656,2153,1753,1718,1533,1531,1726,1804,2218,2225,2328,2402,2282,2390,2609,2600,2473,2310,1967,2268,2289,2050,2258,2050,1798,2077,2029,2237,2190,2720,3975,4093,3319,2920,2812,3055,3956,3509,3277,3477,3797,3046,1874,1697,1880,1259,1050,1671,2109,1638,1664,1682,1537,1957,2391,3077,3322,3110,2796,2767,2393,1994,1972,1957,1883,1804,2206,2863,2807,2298,1468,1375,2225,2541,2266,2129,1449,1799,1921,1859,1989,2417,2589,3112,2620,1946,2408,2738,3277,3027,2595,2938,2656,2104,2565,2921,2452,2267,1896,2012,2446,2518,2146,1908,2317,3182,4276,3828,3182,2193,2479,3456,4552,4848,4791,4529,3397,2314,2111,1743,1880,1986,2137,3070,4224,4255,3771,2965,2182,2529,2476,1905,2406,2468,2152,1691,1599,2197,2485,2830,2792,2717,2303,2231,2556,2499,2182,2260,2438,2078,2014,2410,1919,1841,2605,2808,2578,2415,2578,2703,2669,2188,2295,2282,1458,1365,1448,1498,1616,2110,2051,1968,2156,1897,1565,2051,2500,2344,2069,2099,1222,995,1218,1482,1634,1606,1669,1596,1486,1422,1349,1349,1520,1664,1490,1471,1675,1552,1457,1682,1583,1498,1429,1620,1921,1466,1698,1730,1625,1656,1656,1485,1332,1479,1631,1430,1261,1322,1339,1386,1493,1569,1549,1606,1772,2659,2664,2632,2689,2219,1677,1629,1765,2018,1857,1892,2280,2404,2542,2490,2745,2826,3059,3055,2249,1762,1565,1672,1930,2133,1750,1472,1625,1542,1403,1438,1299,1215,1212,1114,1175,1366,1256,1324,1303,1374,1801,2032,1680,1355,1380,1812,2408,2335,1714,1981,2832,2656,1945,1877,1721,1644,1498,1413,1344,1513,1858,2015,1938,1517,1713,1908,1489,1529,2178,2153,1991,1749,1574,1754,2098,2299,2276,2125,1415,1261,1751,1863,1793,1952,2061,1921,1802,1907,2060,2195,2057,2033,2138,2100,2126,2205,2271,1968,1865,1803,1746,1814,1519,1694,2083,1931,1458,1638,1889,2093,2189,2342,2138,1935,2081,1990,1670,1340,1516,1454,1511,1826,1771,1699,1506,1381,1494,1523,1482,1440,1496,1534,1519,1462,1149,1401,1488,1522,1571,1743,1786,1635,1503,1368,1360,1464,1578,1832,1688,1578,1387,1312,1270,1166,1215,1277,1252,1330,1279,1261,1315,1560,1753,1629,1586,1572,1461,1429,1581,1568,1462,1452,1587,1635,1588,1346,1421,1620,1578,1533,1703,1680,1542,1455,1473,1516,1380,1284,1134,1413,1565,1402,1733,1535,2258,2404,1787,1633,1953,2518,2656,2503,2586,3053,3761,4074,3797,2368,2213,1963,2279,3362,3736,3329,2797,2584,3122,3916,3840,3455,3342,3299,3585,4014,4329,3145,2298,3338,4520,4584,4444,4452,4173,3798,3551,4000,4167,3849,3596,2720,2927,4248,4553,4248,3722,4229,4526,4233,4062,3729,3602,3759,3122,2751,2672,2836,3367,3543,3222,2735,2585,2886,2933,3072,3197,2896,2859,2818,2367,1943,2355,3341,3593,3430,3204,3063,3040,2959,2827,2798,2677,2545,2507,2462,2666,3046,3007,2934,3096,3133,3119,3056,3338,3304,3489,3559,3228,3077,3064,3073,3063,2567,2710,2871,3052,3253,3193,2766,2408,2285,2454,2943,2886,2732,2869,3347,3536,3411,2701,2743,2678,2082,1703,1627,1626,1593,1439,1626,2092,2022,1798,1570,2130,1943,1453,1413,1578,1484,1262,1215,1190,1125,1389,1544,1487,1691,1668,1742,1684,1614,1661,1787,1886,1826,1525,1456,1484,1332,1447,1254,1225,1296,1293,1333,1539,1456,1189,1172,1164,1086,1210,1500,1783,1743,1520,1424,1313,1507,1678,1518,1420,1570,1638,1581,2103,2683,2216,1755,1383,1743,1782,1497,1489,1549,1480,1684,2015,1569,1397,1530,1918,2043,1977,1720,1428,1627,1858,1814,1621,1425,1643,1830,1795,1727,1843,2125,2131,2257,2338,2230,2039,1931,2136,2264,2054,1687,1638,1765,1896,1782,1654,1478,1509,2053,2161,1603,1397,1491,1550,1388,1455,1648,1695,1663,1512,1435,1472,1543,1538,1727,2055,2008,2116,1902,1610,2052,2030,1469,1454,1388,1504,1889,1794,1612,1786,1644,1518,1642,2017,2096,1997,1715,1569,1461,1719,1749,1726,1638,1319,1543,2178,2537,1865,1576,1560,1590,1748,2078,1948,1782,1942,2065,1930,1931,1958,1972,2056,2210,2356,1867,1980,1994,2029,2037,1826,1547,1681,1836,1708,1588,1570,1519,1637,1498,2089,2086,1688,1726,1793,1952,1873,1713,1777,2131,2523,1859,1699,1683,1413,1589,1759,1962,2387,2311,1828,2131,1934,1920,1993,2309,2167,1843,1693,1649,1865,1904,2027,2244,1791,1465,1694,1704,1610,1516,1647,1557,1951,2307,2310,1993,1885,1966,1815,1778,1706,1823,1947,1689,1344,1381,1973,1677,1559,1963,2161,1951,1667,1500,1837,1882,1790,1657,1734,1857,1833,1878,2181,2118,1624,1289,1055,983,1249,1757,2766,2452,2100,1763,1558,1902,2198,2215,2080,2005,1678,1474,1488,1588,1841,1686,1775,2020,1911,1698,1890,1997,1778,2003,2315,1732,1397,1653,1635,1576,1636,1647,1657,1738,2310,2227,1892,1757,1813,1907,1631,1603,2015,2075,1863,1726,1359,1591,1602,1735,1893,1874,1633,1482,1456,1639,2192,2678,2509,2106,1808,1662,1588,1657,1790,1637,1765,1814,1534,1960,2148,2156,1849,1995,2452,2642,2118,1779,1631,1520,1546,1772,2056,2049,1684,1750,2092,2441,2853,2471,1983,1969,2138,2250,2353,2475,2139,1759,2481,2612,2592,2122,1992,2448,2752,2420,2600,2706,2401,2233,2327,2653,2753,2702,2945,2918,1970,1489,1653,1925,2190,2351,2140,2136,2362,2452,2620,2555,2475,2113,2098,2186,2410,2625,2618,2806,3018,2447,2161,1985,1960,2305,2510,2436,1874,1898,1905,1637,1426,1430,1472,1572,1557,1619,1611,1730,1771,2108,2380,2332,2284,2314,2127,1779,1669,2023,2103,1992,1798,2104,2846,2388,2285,2094,1941,1813,2381,3111,3386,3329,3042,2813,2879,2854,2983,3204,2865,1919,1625,1678,1631,1880,1908,1721,1665,2874,4445,3927],[2603,2752,2441,2169,2322,2391,2446,2445,3250,3406,3252,2923,2601,2402,2106,2303,2829,3122,3178,3331,3210,2890,2819,2888,3139,3206,3089,3104,2972,2600,2322,2032,2040,2163,2630,3110,2961,2938,2632,2696,3231,3241,3254,3539,3691,3481,3410,3587,3256,2541,2934,3596,3907,3543,3309,3179,2995,3021,2913,2106,1804,1927,1734,1590,1506,1505,1622,2101,2213,2154,2879,2735,2331,2171,2149,2266,2876,2791,2346,2164,1903,1614,1856,2593,2933,2646,2021,1702,1997,2373,3626,4047,2923,1964,1805,1945,2441,2488,2024,1477,1770,2224,1989,1950,1758,1587,2192,1896,1941,2644,3315,3153,2323,2224,2636,2840,2618,2450,3010,3485,2750,2554,2331,2071,2257,2197,2444,2563,2520,2574,2145,2242,2340,2742,3177,3400,3465,3376,3226,2539,2077,2175,2218,1691,2175,3230,3586,3109,3085,3238,2518,2353,3309,3905,3554,2971,2764,2530,2513,2968,2902,3225,3167,3109,2775,2636,3272,3783,3790,3861,3330,2648,2417,2580,3018,2434,1949,2293,3101,3415,3383,3131,3323,3095,3015,3269,2818,2862,3242,3042,3152,3383,3146,3085,2965,2265,1952,2665,3492,3657,4001,4072,3732,3225,3106,2928,2722,2708,2667,3575,3883,3093,2749,2522,2212,1869,1841,1762,1840,2613,3232,3549,3902,4078,4240,4074,3710,3427,3373,3465,3628,3603,3827,3847,3515,3719,3695,3298,3187,3485,3530,3282,2857,2731,2850,2894,2736,2890,2871,2530,2159,2092,2373,2536,2757,2715,2415,2221,2292,2244,2388,2604,2426,2071,1800,1926,2098,2248,1871,1730,2991,3438,2198,2011,2196,2200,1968,1945,2114,2304,2610,2647,2662,2778,3020,3179,2996,2690,2728,2426,2608,2955,2371,2499,2230,2325,3266,3827,3929,3994,3407,2574,2504,2457,2333,1793,2054,2732,2974,2407,2348,2597,2698,2607,2411,3087,3340,2752,2476,3205,2863,2883,3189,2329,1914,2187,2027,1647,1503,1372,1144,1186,1174,1136,957,1425,1431,2004,2374,1794,1398,1208,1427,1894,2432,2392,1978,1919,1687,1269,2110,2888,2850,2877,2588,2021,1578,1843,1930,1605,1806,1670,1354,1660,1526,1451,1537,1436,1487,1497,1411,1367,1318,1368,1505,1557,1834,1638,1582,1623,1348,1329,1567,1487,1478,1690,2192,1959,1598,1561,2083,1926,1688,1895,1731,1710,1936,1708,1672,1942,1735,1640,1925,1779,1824,2588,2332,2179,2159,1954,2050,2106,2005,1930,2085,1909,1920,1695,1670,1926,1870,1826,1755,1561,1746,1795,1636,1797,1769,1557,1213,1187,1278,1636,1672,1452,1503,1530,1332,1406,1395,1148,1191,1492,1672,2320,2136,2558,2310,1896,1930,2313,2186,1957,1842,1582,1645,1755,1720,1636,1620,1560,1529,1364,1318,1294,1712,2247,2221,2040,2348,2942,2585,2170,1838,1815,2198,2063,1974,1874,1568,1545,1804,1849,1662,1593,1671,1481,1563,1444,1618,2548,3062,2374,1548,1539,1964,1878,1720,1649,1615,1549,1448,1550,2028,2232,1756,1481,1432,1415,1400,1322,1477,1549,1810,2119,2245,2141,1940,1728,1687,1922,1698,1587,1818,1659,1552,1582,1541,1444,1508,1596,1736,1420,1462,1640,1670,1772,1839,2085,2019,1584,1316,1279,1535,1849,2019,1761,1892,2019,1731,1641,1691,1685,1950,1895,1597,1557,1622,1997,2004,2459,3134,2855,1735,2015,2598,1939,1525,1416,1529,1433,1324,1363,1463,1417,1386,1512,1643,1612,1487,1437,1297,1225,1265,1394,1628,1503,1527,1637,1533,1453,1618,1609,1540,1659,1776,1616,1861,1903,2072,2010,1965,2015,2249,2475,2576,2774,2637,1903,1809,1860,2056,2396,2016,1038,1071,1350,1631,1974,2278,2578,2597,2520,2070,1588,1552,1395,1306,1211,1235,1604,1878,1507,1363,1443,1394,1362,1526,1354,1255,1254,1299,1282,1225,1468,1438,1444,1538,1685,1578,1468,1534,1624,2396,2828,2350,1605,1372,1586,1522,1426,1444,1514,1527,1375,1336,1280,1804,1996,1826,1748,1699,1762,1882,1814,2104,2514,2080,1463,1146,1209,1120,1457,1694,1508,1780,1782,2130,2424,2114,1933,1996,2282,2364,1849,1782,1597,1494,1646,1517,1765,2015,2241,2249,2532,2774,2641,2343,2303,2264,2073,1987,1952,1800,1857,1756,2200,2566,2403,2172,2040,3210,4172,3801,2616,2358,2689,3864,4252,3436,2618,2814,3874,3282,1744,1654,1284,994,1503,2644,3088,2287,1796,1510,980,1772,2206,2401,2531,2442,2242,1972,1781,1828,2137,2518,2059,1612,1759,2453,2611,2043,1728,2191,2670,2202,2200,2103,2032,2353,1968,2031,2683,2622,1914,2120,1758,1952,2832,2646,2622,2350,2416,2216,2018,2508,2768,2365,1840,2569,2764,2442,2724,2647,2501,2452,2886,3514,4309,2909,2447,2711,3704,4551,4888,4883,4794,4688,4325,3753,3021,2000,1670,1747,2406,3563,4207,4254,3468,2221,2486,2991,2546,3187,2787,2414,2442,1691,2443,2865,2990,2909,2495,2669,2966,2683,2451,2098,2296,2799,2954,2626,2523,2241,1891,2549,3226,3162,2635,2663,1837,1802,2443,2166,2252,2344,1827,1838,2085,2219,1926,1733,1911,2277,2325,2114,1897,2045,2689,2169,1519,1474,1229,1471,1621,1666,1727,1610,1654,1734,1759,1504,1311,1410,1416,1491,1397,1331,1475,1363,1353,1575,1542,1322,1281,1486,1898,1500,1394,1418,1554,1648,1785,1656,1447,1485,1454,1288,1349,1429,1350,1470,1605,1958,2543,2598,2264,2658,2987,2689,2151,1723,1736,2149,1804,1716,1736,1677,2181,2314,2256,2469,2805,3142,3331,2391,1555,1514,1493,1796,1941,1944,1666,1273,1454,1554,1404,1355,1299,1211,1206,1088,1175,1263,1316,1344,1310,1456,1594,1544,1347,1462,1590,1736,1904,1851,1819,1971,2388,2045,1507,1624,1558,1339,1482,1589,1627,1776,1676,1389,1565,1368,1764,1909,1676,1904,1959,2178,2403,1748,1349,1719,1932,1824,2127,2618,2511,2310,2418,2502,2292,2151,2105,2046,1948,1850,1820,1802,1797,1880,2066,2078,1953,2200,2575,2608,2296,1880,1948,1747,1558,1972,1998,2071,1746,1692,1854,1895,1902,2332,2283,2056,2067,2132,2035,1700,1529,1523,1647,1768,1825,1594,1343,1324,1206,1186,1307,1356,1432,1353,1439,1198,1090,1633,1603,1350,1484,2024,2153,1739,1607,1417,1459,1205,1488,1735,1507,1924,1609,1309,1328,1242,1316,1305,1055,1239,1247,1297,1151,1381,1379,1327,1640,1612,1526,1593,1574,1601,1483,1440,1556,1622,1635,1416,1464,1653,1483,1600,1767,1667,1936,2168,1837,1717,1362,1343,1178,1319,1587,1644,1770,2020,2686,2554,2069,1814,1761,2276,2564,2072,2012,2862,3460,3257,3466,2454,1917,2071,2595,3211,3451,3347,2995,2590,2833,3146,3266,3184,3285,3361,3572,4116,4443,3387,2156,2798,3879,4540,4541,4070,3200,2696,2570,3378,4054,4005,3889,3438,3287,4428,4541,4401,4270,3924,3859,3818,4055,4174,4416,4384,3927,3470,3300,3374,3146,3018,2695,2447,2720,2951,3118,3432,3356,2986,2919,2814,2120,1700,2317,3439,3500,3328,3298,2996,3033,2901,2740,2777,2627,2491,2492,2436,2583,2767,2900,2933,2953,2874,3167,3233,3251,3342,3507,3517,3383,3492,3387,3243,3118,2629,3129,3321,3531,3180,2833,2309,2125,2542,2852,2997,3066,3199,3319,3806,3540,3086,2548,3053,3096,2203,1698,1677,1735,2570,2602,2166,2140,1720,1412,1360,1627,1582,1395,1373,1454,1506,1507,1340,1255,1194,1693,1754,1668,1761,1783,1721,1784,1869,1867,1950,2055,2066,1833,1544,1416,1380,1268,1155,1146,1148,1141,1142,1204,1179,1103,1088,1306,1203,1220,1378,1646,1640,1430,1291,1250,1682,1888,1566,1534,1506,1609,1989,2108,2468,1960,1424,1494,1826,1859,1640,1487,1563,1482,1528,1440,1270,1823,2180,2079,2194,2053,1785,1604,1671,1858,1692,1570,1528,1638,1617,1741,2148,2026,1432,1284,1758,2130,2054,1861,1888,1969,1931,2036,1850,1605,1675,1816,1737,1645,1604,1643,1751,1643,1461,1636,1662,1843,1688,1581,1523,1566,1494,1473,1486,1382,1491,1467,1574,1697,2031,2266,1858,1547,2454,2159,1531,1509,1460,1597,1882,1804,1521,1454,1435,1446,1539,1611,1874,2049,1957,1525,1403,1582,1532,1543,1489,1367,1782,2144,2237,1658,1411,1788,2169,2198,2185,1948,1629,1696,1996,1919,1573,1804,1880,2159,2077,2047,2178,2078,1876,1749,2002,2125,1727,1861,2030,1858,1966,1782,1767,1676,1744,2452,2459,2083,1806,1644,1824,1868,2173,2688,3187,3042,2333,2163,2116,1746,1525,1836,2085,2127,1892,1731,2346,1758,1694,1974,2702,2345,1774,1780,1678,1820,1703,1936,2178,1904,1811,1684,1754,1810,1674,1767,1874,1952,2102,1810,1440,1565,1716,2534,3457,2810,2518,2185,1889,1481,1698,2056,1720,1712,1871,1902,1770,1626,1770,1954,1749,1581,1634,1961,1988,1725,1836,2095,1930,1496,1255,944,1019,1374,1925,2513,2214,2049,1763,1841,2255,2358,2258,2290,2238,1598,1592,1583,2003,1868,1831,1939,2062,1891,1670,1703,1792,1907,1917,1744,1303,1125,1469,1672,1669,1936,1878,1750,1874,1976,1873,1963,2580,2721,2158,2145,2006,2158,2081,1986,1632,1426,1434,1541,1844,2122,2218,1882,1754,1848,1869,2217,2417,2713,2474,1930,1694,1453,1286,1425,1593,1685,1721,1619,2156,1869,1891,1720,1700,2345,2320,2124,2040,1598,1522,1597,1766,1930,2178,1869,1712,2090,2643,2911,2316,1820,1847,2030,2173,2072,2139,2065,2076,2372,2258,2292,2182,2182,2402,2448,2381,2400,2363,2379,2567,2441,2644,2686,2270,2205,2075,1663,1981,2229,1718,1622,1675,1803,2199,2141,2272,2751,2928,2896,2048,1758,2125,2543,2806,2644,2899,2618,2084,2401,2174,1819,1760,1698,1707,1709,1773,1753,1569,1460,1545,1562,1421,1391,1393,1489,1831,1832,1817,1833,1797,1660,1534,1480,1223,1159,2121,2323,2166,1888,2408,3011,2446,2384,2655,2308,1844,2540,3200,3686,3500,2964,2802,2154,2250,2611,2708,2383,1952,2189,2226,1837,1757,1950,2060,1743,2635,4240,3985],[2943,2997,2981,2368,2378,2808,2656,2241,2563,2945,2997,2865,2413,1890,1565,2184,2951,3032,2810,2961,2868,2872,3064,3215,3203,3067,2906,2752,2800,2700,2639,2170,2323,2377,2876,3085,2830,2735,2617,3078,3287,2611,2605,2891,2676,2696,2895,2773,2718,2923,3461,3563,2769,2184,2432,2535,2501,2274,2458,2324,1751,1578,1595,1685,2042,2363,2776,3558,3193,2654,3212,2834,2375,2399,3055,2945,2555,2276,2240,2126,1914,2122,2556,2729,2697,2120,2154,2526,2288,2425,3930,4237,2908,2088,1904,2063,2187,1897,1834,1802,2065,1957,1847,1847,1788,1652,1898,1649,1579,2149,2596,2734,2696,2295,2186,2668,2712,2264,2558,3088,2242,2214,2831,3392,3385,2614,2382,2155,1972,2478,2665,2788,2906,3718,4043,3980,3691,3338,3125,3032,2798,2237,1904,1427,1477,2046,2811,2928,3282,3329,2779,2563,2743,2963,2784,2612,2612,1943,1635,1996,2106,2417,2684,2900,2664,2721,3392,3677,3340,3500,3449,3616,2718,3188,3608,2894,1837,2191,3033,3427,2983,2697,3061,3128,3141,3185,2864,2813,3559,3380,3382,3640,3529,3275,3195,3152,3120,2788,2745,2950,3095,2995,3018,3196,2873,2343,2439,2345,2640,4074,3846,3009,3105,2759,2064,1804,1834,1784,2018,2500,2796,2952,2995,3107,3315,3275,2901,2675,2723,3024,3254,3067,3371,3839,4133,4137,3662,3471,3505,3063,2896,2884,2993,2498,2015,2587,2407,2280,2469,2214,2029,2243,2511,2622,2810,2592,2410,2469,2592,2357,2304,2291,2188,1979,1864,1757,1711,2027,1979,1645,2196,3055,2047,1889,1868,2159,2060,2290,2574,2478,2497,2404,2520,2784,2710,2453,1853,1872,2374,2745,2446,2015,2096,2755,2501,2447,3343,3746,3752,3470,2569,2425,2342,2394,1925,2051,2398,2844,2884,2668,2588,2625,2709,2497,2890,3683,3609,3136,2648,2678,2913,2832,2431,2069,1847,1824,1598,1325,1250,1338,1517,1455,1217,1168,1094,1221,1217,1882,2062,1398,1214,1142,1316,1819,1871,1853,1993,1890,1498,1225,1687,2283,2356,2521,3124,2896,2110,1926,1759,1696,1533,1416,1272,1470,1455,1416,1460,1344,1456,1389,1437,1446,1338,1265,1602,1869,2590,2122,1523,1664,1438,1433,1717,1835,1959,1840,1803,1617,1712,1531,1633,1460,1260,1660,1875,1598,1809,1694,1760,1817,1507,1631,1780,2102,2522,3209,2657,1998,1743,1615,1964,2252,2215,1712,1738,1737,2024,1885,1633,1891,2344,2366,2052,1858,1897,1901,1619,1780,1927,1925,1607,1383,1325,1470,1539,1429,1699,1973,1539,1548,1428,1270,1237,1478,1810,2297,2078,2411,2323,1826,1931,2281,2266,1719,1622,1411,1576,1607,1600,1712,1716,1585,1364,1346,1386,1350,1626,1969,2071,2033,1952,2232,2328,2014,1819,1875,1714,1673,1788,1564,1680,1964,2194,1945,1639,1658,1804,1588,1466,1509,1622,2339,2822,2055,1593,1832,2570,2774,1960,1602,1499,1546,1488,1483,2010,2323,1818,1366,1341,1451,1404,1293,1342,1494,1924,2543,2880,2501,1992,1981,2518,2836,2003,1502,1594,1537,1386,1507,1456,1433,1543,1554,1578,1520,1737,2042,1892,1628,1572,1938,1731,1585,1449,1304,1731,2238,2548,2041,1675,1972,1847,1869,2353,1905,2056,1982,1786,1785,1770,1954,2433,2200,2126,2142,1976,2177,2083,1646,1449,1392,1426,1372,1409,1447,1453,1461,1444,1454,1505,1408,1326,1332,1278,1302,1244,1304,1623,1827,1621,1403,1527,1605,1732,1861,1661,1624,1836,1451,1568,1572,1875,2233,2077,1566,1568,2164,2693,2841,2120,1775,1761,2081,2328,2210,1246,1016,1368,1366,1650,2058,2292,2709,2362,2131,1809,1693,1411,1289,1284,1200,1225,1413,1353,1259,1322,1362,1305,1597,1898,1458,1316,1303,1470,1420,1348,1380,1375,1677,2238,2080,1432,1375,1331,1232,1507,1775,1446,1288,1360,1312,1223,1377,1778,1545,1323,1321,1371,1652,2072,1706,1549,1264,1288,1682,1855,1918,2316,2153,1593,2097,1363,1367,1643,1651,1563,1615,1901,2040,2331,2439,2040,1965,1824,2150,2280,1890,1859,1558,1560,1597,1587,1552,1783,1911,1923,2415,2792,2213,1791,2128,2167,2191,2008,1642,1673,1759,1889,2159,2381,2322,1910,1673,2988,3974,3285,2685,2769,2868,3485,3875,3285,2325,2564,3419,3507,2554,1992,1399,1875,1962,3642,2999,1848,1531,1714,1760,2283,3371,3720,2999,2291,2492,1914,1829,1612,2389,3232,2755,1966,1923,2049,2125,2488,2820,3240,2908,2152,2410,2454,2666,2480,2053,2169,2877,2662,1991,1924,1605,2286,3276,2237,2534,2208,1780,1409,1775,3021,3094,2185,2574,3212,2917,2590,3114,2764,2646,2663,2925,3343,3255,2933,2888,3385,4397,4788,4771,4772,4753,4713,4596,4683,4184,2645,1770,1810,2291,2994,3602,3684,2397,2184,2839,2599,3321,5009,2725,2327,2309,2346,3216,3332,2885,2200,2189,2503,2915,2366,1730,1721,2583,2854,2898,2714,2911,2618,2320,2585,3015,3028,2040,1858,1764,2475,2917,2205,1887,2498,2245,1814,1960,1910,1627,1534,1868,2286,2303,2171,2520,1937,2526,2330,1671,1604,1764,1976,2129,2054,1802,1585,1596,1781,1750,1415,1315,1483,1511,1398,1289,1379,1481,1475,1349,1376,1499,1380,1233,1371,2046,1642,1349,1438,1676,1693,1600,1477,1331,1318,1400,1418,1443,1434,1411,1503,2024,3091,3840,3815,3496,3220,2732,2312,1774,1614,2438,3011,2261,1674,1591,1598,2073,2369,2359,2588,2846,3376,3339,2014,1522,1428,1723,1763,1611,1541,1461,1300,1346,1422,1315,1279,1321,1182,1186,1236,1273,1165,1286,1403,1432,1332,1356,1543,1771,1870,1948,1871,1894,1984,2099,1938,1981,1842,1552,1598,1676,1510,1516,1286,1331,1395,1360,1480,1776,1478,1600,1787,1876,1999,1794,1722,1566,1230,1229,1868,1843,1747,2083,2589,2425,1927,1636,1505,1548,1584,1643,1593,1488,1487,1575,1893,2191,2236,2286,2314,2335,2496,2662,2589,2497,2079,1981,1524,1153,1431,1898,2266,2172,1984,1973,1699,1600,1896,1861,2132,1891,1786,1995,2009,1775,1698,1593,1624,1862,1591,1277,1332,1291,1340,1310,1357,1390,1432,1491,1299,1704,2403,2073,1533,1597,1591,1714,1671,1699,1487,1553,1118,1610,1603,1529,1601,1402,1405,1286,1121,1136,1057,802,939,905,1225,1322,1529,1311,1222,1404,1304,1326,1539,1471,1402,1321,1432,1537,1652,1577,1554,1635,1721,1481,1503,1814,1836,2090,2511,2037,1968,1591,1440,1223,1522,1909,2138,2408,2533,2293,1920,2117,1864,1582,2236,2491,2293,2132,2481,2574,2670,3032,2498,2386,3039,3240,3296,3382,3286,2752,2376,2457,2729,3178,3512,3409,3284,3443,3758,3972,3354,2119,2502,3337,4279,3949,3422,2630,2204,2213,2567,3460,4124,4042,3838,3311,4000,3867,3812,3517,3109,3158,3476,4100,4404,4331,4213,4000,3647,3921,3715,3281,2868,2546,2747,3061,3084,2998,3038,3078,2874,2985,2978,2503,2270,2492,3167,3337,3064,3259,3415,3266,2885,2740,2667,2598,2619,2548,2388,2439,2343,2706,3013,2902,2909,3222,3333,3429,3602,3620,3542,3421,3437,3549,3687,3639,3325,3286,3333,3405,2641,2212,2568,2688,2898,3033,3017,3256,3204,3061,3218,3260,2999,2734,3001,3039,2148,1865,2025,1973,3096,3122,2460,2105,1685,1430,1429,1494,1562,1507,1440,1498,1465,1361,1250,1227,1304,1870,1810,1709,1707,1671,1699,1838,1745,1544,1549,1529,1529,1482,1350,1284,1487,1517,1339,1304,1322,1226,1130,1019,1073,1129,1146,1219,1243,1319,1371,1590,1498,1279,1280,1333,1632,1819,1451,1406,1533,1804,2231,1784,1705,1593,1793,2275,2158,1936,1792,1800,1588,1504,1481,1497,1746,2322,2542,2144,2161,2328,2366,1979,1531,1827,1661,1472,1403,1351,1486,1834,1850,1447,1150,1171,1613,1958,1864,1596,1878,2223,2448,2051,1687,1504,1779,1644,1382,1457,1450,1505,1555,1530,1690,1980,1999,1977,1700,1481,1374,1409,1584,1591,1231,1364,1767,1492,1683,1671,1938,2168,2042,1522,2154,2592,2464,1947,1444,1677,2162,2277,1740,1542,1505,1603,1600,1656,1670,1772,1822,1536,1493,1570,1427,1425,1840,2071,2187,1985,1801,1520,1442,1749,1870,1766,1691,1754,1645,1469,1648,1736,1297,1716,2310,2541,1989,1862,2067,2141,1979,1591,1804,1948,1788,2046,1942,1725,1832,1758,1602,1592,2272,2931,2333,1957,1653,1658,1867,2148,2769,2948,3131,3006,2665,2460,2457,2311,1890,1711,2067,1816,1528,1683,2185,1795,1682,1798,2047,1903,2117,2157,1719,1594,1683,1664,1848,1866,2042,2017,1904,1756,1729,2312,2466,1884,1820,1802,1632,1560,2064,2829,3448,4177,3816,2340,1514,1715,2341,2511,1950,1589,1659,1930,2183,1870,1941,1975,1832,1605,1585,1759,1779,1901,2116,2038,1935,1491,1384,1059,1071,1237,1665,2178,2297,2013,1644,1758,2052,1980,1947,2165,1850,1616,1593,1691,1813,1587,1830,2027,1923,1781,1577,1494,1591,1649,1787,1635,1333,1162,1224,1369,1751,2053,1777,1428,1542,2119,1848,1647,1973,1926,2288,2598,2114,1726,1759,1890,1769,1634,1615,1683,1819,2732,3130,2599,2041,2010,1686,1853,2298,2557,2596,2105,1726,1649,1559,1785,1709,1943,2036,1837,1810,1770,2176,1945,1625,2107,2036,2025,2055,1536,1577,1664,1607,1555,2003,1713,1632,1683,1965,2178,1915,1829,1995,2021,2135,1792,1956,1951,1785,1791,1976,1923,1892,1886,1836,1972,2123,2118,2211,2221,2587,2299,2503,2557,2059,1900,1743,1547,1913,1958,1614,1625,1685,1866,2069,2055,2266,2622,2885,2638,1917,1766,2033,2231,2331,1995,2766,2538,2307,2051,2072,1865,1704,1623,1471,1742,1975,1705,1600,1657,1580,1650,1478,1486,1717,1973,1933,1666,1550,1616,1663,1571,1532,1538,1343,946,1574,1887,1959,1606,2225,3004,2593,2199,2416,2189,1728,2765,3348,3898,3825,3827,3426,2846,2853,2542,2045,1861,1948,2278,2433,2110,1900,2082,2054,1804,2598,4087,4178],[2822,2906,3216,2953,3010,3060,2893,2491,2728,2930,2576,2433,2017,1974,1852,2380,2654,2584,2613,2807,2984,3094,3063,3016,3112,3098,2828,2901,2849,2816,3152,2745,2327,2193,2368,2458,2662,2806,2750,3043,2798,2105,2064,2306,2064,2458,2563,2361,2532,2964,3563,3263,2223,2552,3770,3479,3083,2465,2644,2614,2275,2170,2317,2609,3256,3551,3588,3896,3872,3732,3237,3198,3084,3598,3936,2625,2138,2356,1903,1634,1819,2356,2722,3034,2776,2194,2734,2775,2131,2044,2844,2839,1951,1619,1555,1604,1742,1980,2082,2088,1887,1755,2098,2264,2188,2401,2492,1949,2163,2577,2427,2496,2717,2044,1999,2381,2886,2888,2450,2399,2234,2438,3050,3730,3225,2184,1974,2403,2484,2260,2578,2864,3109,3882,4012,3771,3624,3141,2964,2970,3360,3132,2236,2066,1644,1810,2424,2116,2414,2932,2643,2381,2420,2667,2433,2252,2195,1751,1784,2170,2664,2657,2945,2996,2405,2575,3098,3307,3228,3296,3664,3805,2377,2236,2555,2447,1925,2357,3200,3087,2647,2902,3050,2910,2990,2885,2887,3059,3739,3833,3630,3507,3450,3650,3454,3409,3658,3749,3792,3552,2907,2933,2404,2808,3231,2898,2856,2732,3198,4385,4340,4227,4048,3155,1960,1730,1745,1810,2082,2764,3103,2766,2577,2446,2542,2474,2530,2565,2380,2367,2425,2547,2820,2930,2896,2902,2882,2871,2698,2799,2811,2572,2641,2357,2199,2120,1990,1880,1979,2000,2201,2825,2644,2008,2220,2373,2922,3133,2930,2177,1966,2059,2240,2446,2334,2045,1864,2049,2198,1964,1877,2279,1740,1862,1903,2171,2385,2415,2476,2843,2823,2104,1996,2320,2308,2525,1952,1988,2382,2151,1628,1478,1926,2293,2130,2561,3427,3463,3496,2770,2075,2547,2444,1916,1912,2239,2512,2608,2666,2798,2657,2723,3065,2699,3282,3604,3451,3198,2380,2109,2752,2376,1844,1911,1945,1952,1438,1478,1568,1665,1843,1614,1338,1227,1218,1259,1332,1565,1416,1152,1115,1099,1362,1953,1556,1566,1764,1651,1448,1253,1694,2674,2194,1895,2175,2754,2578,1751,1560,1700,1725,1620,1474,1457,1384,1459,1446,1286,1537,1417,1408,1360,1286,1330,1303,1495,2069,1924,1650,1679,1322,1432,1862,1846,1905,1570,1631,1743,1626,1477,1650,1846,1600,1656,1711,1527,1710,1650,1746,1921,2392,2069,1545,2001,2641,3277,3407,2710,1851,1725,2238,2450,2099,1922,2032,1954,2055,1970,1557,1588,2146,2519,2475,1725,1912,2404,2009,1830,1761,1792,1526,1330,1361,1424,1500,1526,1628,2434,1879,1753,1737,1716,1448,1512,2433,2495,1860,2273,2612,2083,1961,1911,1972,1808,1577,1269,1361,1450,1607,2020,2192,1736,1490,1655,1606,1196,1026,1510,1923,2132,2098,1997,1813,1800,2104,1980,1528,1707,2244,2020,2236,2547,2553,2374,1777,1632,1819,1595,1508,1782,1717,1909,2150,1958,1788,1845,2507,2543,1698,1425,1557,1654,1576,1383,1506,2018,1946,1484,1404,1482,1414,1437,1406,1451,1892,2162,2432,2466,1974,1757,2444,3001,1925,1433,1505,1484,1402,1427,1385,1566,1749,1747,1802,1527,1654,1866,1478,1434,1758,2578,2276,1762,1520,1395,1805,2305,2198,1907,1598,1843,2072,2290,2198,1817,1695,1620,1686,1770,1720,2081,2504,2010,1704,1978,3253,3545,2620,1798,1425,1382,1411,1373,1477,1435,1320,1282,1375,1420,1410,1281,1420,1472,1344,1328,1327,1321,1578,1799,1569,1594,1737,1525,1537,1628,1657,1754,1792,1647,1648,1610,2175,2723,2270,1551,1787,2499,2875,2301,1672,1735,1886,2165,2266,1443,901,1317,1530,1473,1847,2057,2420,2423,1550,1565,1693,1466,1306,1350,1506,1415,1202,1255,1310,1229,1311,1259,1351,1579,1590,1504,1320,1273,1407,1278,1236,1381,1294,1375,1921,1952,1518,1315,1253,1200,1456,1571,1442,1351,1274,1204,1226,1558,2105,1494,1430,1428,1405,1510,1684,1504,1416,1183,1214,1575,1791,1881,1966,1621,1447,2418,2098,1712,1753,1345,1129,1344,1837,2074,2385,2110,1705,1774,1824,2456,1886,1902,1887,1672,1702,1831,1964,1823,1751,1664,1664,1597,1953,1776,2017,2229,1895,1721,1582,1569,1478,1697,1919,1741,1837,1816,1494,1917,2392,3315,2806,2398,2571,2720,3306,3826,2978,2115,2238,2298,2734,3975,2784,2360,2330,2051,2561,2152,1448,1535,1727,1689,2051,3207,4046,3305,2636,2374,1739,1880,2140,2554,2911,2447,1877,2202,1896,2055,2412,3516,3503,3397,3138,2878,2875,2656,2340,2267,2150,2200,2053,2151,2566,2744,2886,3200,2576,2898,2355,1555,1619,2091,2587,2723,2750,3044,2619,2303,2512,2770,2977,2798,2768,2811,3187,3408,2901,2304,2665,3580,4526,4688,4692,4769,4652,4559,4675,4797,3794,2714,2246,2270,2662,2756,2323,1953,2970,2954,2608,3184,3412,2732,2365,2313,3045,2990,2451,2135,1892,2195,2276,2864,2324,2113,2210,2763,3051,3020,2720,2722,2828,2552,2126,2247,2475,1919,1820,2406,2746,2924,2198,2077,2901,2480,1631,1594,1542,1550,1749,2120,2457,2255,1989,2301,2202,2213,1872,1522,1504,1648,1578,1764,1974,1770,1434,1430,1736,1735,1620,1419,1437,1515,1423,1736,1754,1984,1830,1071,1351,1548,1410,1362,1402,1381,1410,1489,1476,1507,1578,1613,1329,1245,1463,1409,1438,1442,1412,1576,1637,1842,2877,3629,3958,4216,3899,2752,2370,2018,1594,2113,2818,2343,2082,2135,1851,1993,2485,2547,2619,2720,3200,2850,2042,1517,1733,1974,1552,1324,1508,1692,1553,1488,1360,1215,1184,1322,1274,1223,1310,1394,1332,1251,1417,1543,1544,2033,2708,2959,2618,2261,1955,1719,1672,1746,2000,2178,1980,1507,1366,1954,2149,2042,1838,1582,1598,1717,1545,1611,1545,1433,1649,1842,1615,1486,1388,1289,1331,1598,1726,1572,1631,1634,1353,1079,1033,1118,1310,1567,1566,1607,1692,2075,2358,1900,2070,2513,2533,2664,3055,3112,2584,2608,2632,1997,1825,1419,1191,1088,1179,1597,2180,2320,1989,2023,1878,1824,1730,1892,2215,2043,1990,2221,1972,1666,1792,1788,1775,1874,1539,1322,1534,1454,1589,1596,1584,1576,1694,1631,1538,1582,1726,1713,1547,1512,1493,1476,1514,1559,1377,1525,1234,1534,1544,1443,1584,1300,1346,1286,1125,1065,1090,1116,1166,1156,1144,1434,1666,1417,1332,1320,1306,1545,1592,1407,1615,1714,1447,1421,1701,1536,1542,1782,1830,1600,1554,1572,1816,1917,2062,1804,1746,1759,1522,1409,1968,2455,2866,3077,3194,2835,1866,2380,2664,2321,2764,2933,2872,2500,2347,2522,2770,2601,3106,3228,3238,3133,3440,3159,2620,2112,1864,1833,2111,2989,3530,3442,3075,2887,2834,3005,2762,2027,2557,3395,3980,3843,3474,2753,2176,2144,2309,2920,3887,3825,3396,2709,3053,3264,3375,3307,3392,3393,3510,3949,4301,4200,4099,3712,3610,3488,3452,3131,2912,2853,2905,3171,2868,2160,2226,2623,2798,2910,2876,3009,3266,2901,2573,2726,2844,2954,3019,2924,2722,2652,2618,2723,2566,2463,2416,2497,2618,2584,2644,2781,2962,3287,3526,3597,3704,3708,3272,3227,3702,3753,3701,3340,2534,2425,2903,2733,2335,2595,3190,2998,2958,2790,2686,2823,2709,2521,2602,2830,2930,2699,2727,3253,2547,2102,1981,1677,2115,2253,2024,1948,1755,1318,1305,1404,1294,1470,1622,1664,1459,1299,1256,1286,1529,1723,1610,1450,1463,1674,1588,1731,1687,1485,1184,1109,1116,1174,1224,1294,1562,1502,1318,1450,1583,1410,1227,1141,1162,1254,1225,1150,1245,1337,1430,1526,1364,1345,1386,1446,1504,1327,1320,1484,1511,1731,2376,1964,1410,1685,2569,2821,2040,2024,2434,2197,1742,1573,1584,1810,1627,1875,2450,2504,2414,2514,2492,1992,1604,1698,1544,1616,1738,1631,1639,1764,1674,1635,1866,1839,1866,1982,2140,2061,2112,2332,2556,2282,1969,1849,1782,1384,1378,1588,1604,1654,1996,1874,1837,1826,1673,1566,1399,1324,1532,1644,1789,1580,1629,2521,2415,1918,1610,1628,1548,1691,1952,1747,1759,2536,2774,2076,1742,1624,1841,2104,1682,1481,1493,1663,1631,1570,1493,1575,1953,1787,1862,1665,1556,1873,2362,2393,2348,1932,1690,1823,1622,1575,2052,2221,1730,1861,1741,1616,1977,1574,1288,1672,1864,1788,1664,1753,1953,2293,1885,1534,1644,1930,1945,1860,1824,1823,1702,1699,1996,2325,2187,2600,2358,2143,2076,2130,2248,2732,3229,3316,3306,2934,2718,2469,2077,2430,2426,1897,1800,1721,1946,2097,2218,1874,1708,1861,1742,1701,1974,1772,1530,1775,1898,1613,1812,2015,2010,1898,1852,1820,1844,2115,2176,2077,2020,1964,1771,1612,2730,3372,3531,3851,3614,2293,1717,1708,2155,2724,2996,2223,1625,1589,1897,1865,2160,2083,1665,1472,1458,1569,1743,2127,1975,2137,2120,1723,1446,1147,965,1159,1694,2287,2474,2126,1753,1711,1750,1978,2029,2001,2052,1910,1721,1782,1581,1640,2114,2173,1748,1738,1653,1476,1434,1467,1753,1598,1499,1475,1223,1340,1808,1930,1774,1521,1883,1822,1544,1461,1526,1632,2019,2253,2008,1920,1918,1712,1749,1589,1680,1808,2043,3001,3120,2237,1914,1816,1597,1820,2289,2740,2814,2130,1818,1650,1628,1968,1810,1768,2113,1879,1792,1751,1903,1802,1780,1969,1936,2169,2040,1769,1810,1860,1998,1985,1838,1810,1908,1735,1552,1824,1808,2041,2232,2453,2194,1977,1876,1798,1606,1732,1960,1845,1686,1679,1804,1920,1930,1970,2172,2266,2858,2664,2766,2763,2056,1948,1788,1565,1806,1660,1790,1648,1750,2147,2233,2214,2160,2436,2994,2775,2080,1734,1816,2223,2486,2113,2360,1950,1698,1633,1679,1670,1752,1855,1590,2016,2233,1802,1662,1638,1606,1476,1442,1564,1722,1825,1724,1623,1641,1715,1646,1613,1559,1785,1744,1318,1422,1773,1700,1340,1994,2706,2130,1837,1860,1801,1546,2901,3571,3148,3408,4284,3918,3017,2677,2878,2120,1837,2077,2508,2294,2037,2124,2066,1890,1669,2389,3638,3785],[3051,3024,2979,3031,3162,3219,3153,2730,2665,3182,2692,2374,2286,2349,2391,2476,2554,2697,2367,2315,2895,3264,3210,2805,2762,2865,3006,3094,3232,3287,3473,3144,2646,2238,2276,2563,2724,2678,2846,2670,2314,1878,2069,2729,3145,3294,2766,2457,2724,3296,3769,3300,2275,2396,3212,3410,3282,2734,2619,2697,2656,3087,3296,3022,3465,3551,3293,3558,3795,4004,3293,2876,3132,3721,3442,2374,2015,1950,1936,1768,1744,2289,2353,2769,3152,2725,2764,2720,2193,1885,1928,1660,1609,1663,1589,1613,1574,1648,1452,1616,1877,1853,2084,2295,2263,2724,2919,2177,2483,2303,2459,2315,2226,2380,2392,2805,3295,3317,3277,3182,2918,2878,2998,3515,2777,2213,1960,2204,2565,2183,2259,2691,3306,3893,3736,3436,3382,3374,2841,2811,2684,3377,3219,2847,2408,2493,2461,1987,2111,2653,2357,2177,1792,2200,2452,2185,2302,2429,2046,2116,2663,2927,3634,3676,3273,2680,2519,2647,3272,2879,3169,3124,2207,2004,2396,2115,1923,2477,2975,3020,2980,3066,2692,2337,2680,3151,3469,3892,4375,4168,3779,3882,3532,3440,2576,3200,3694,3702,3880,3785,2915,2265,2564,3633,4042,3970,3740,3394,3693,4175,4296,4295,4147,2814,1778,1626,1664,1819,2163,3104,3859,3817,3309,2822,2738,3119,3321,3211,2692,2281,2333,2665,2931,2945,2833,2707,2784,3032,2729,2677,2730,2906,3211,3227,2706,2450,2366,2126,2112,2105,2206,2634,2858,2119,1915,2482,3378,3181,2383,1864,2007,2057,2268,2743,2512,2035,1980,2271,2253,2242,2206,2326,1943,2099,2149,2010,2467,2292,2097,2313,2099,1713,1472,1618,1620,2627,2333,1982,1893,1580,1545,1660,1676,1949,2919,3774,3420,3060,2749,1842,1830,2282,2060,1856,2158,2359,2612,2355,2441,2468,2596,2679,2827,2897,3278,3462,3393,3073,2644,2790,3438,3194,2430,1857,2030,2245,1948,1711,1565,1501,1547,1381,1235,1223,1190,1400,1508,1531,1197,1033,1179,1135,1399,1648,1617,1567,1509,1328,1213,1511,1828,1997,1979,2017,2482,3141,2824,1879,1557,1418,1687,2002,1772,1708,1633,1400,1294,1389,1451,1343,1324,1337,1348,1330,1239,1496,2069,1852,1426,1455,1426,1789,2010,1890,1639,1300,1327,1744,1995,1546,1567,1784,1648,1557,1638,1639,2020,2120,1819,1744,2744,2814,1919,2180,2669,3238,3411,2802,2150,1771,2058,2361,2403,2082,1954,2127,2363,2211,1905,2080,2899,2880,2415,1690,1910,2083,1847,1699,1305,938,1026,1020,967,1178,1569,1643,1814,2322,2056,1986,1975,1786,1576,1547,1908,1981,1585,1957,2813,2618,2224,2127,2165,1844,1412,1286,1482,1554,1613,1947,2004,1640,1594,1838,1448,1295,1402,1579,1742,1614,1780,1970,1659,1636,1610,1481,1598,1827,2254,1903,2253,2669,2350,2215,1790,1649,1932,1647,1523,1768,1599,1557,1846,1835,1953,1636,1645,1749,1574,1482,1677,1447,1460,1477,1453,1563,1859,1632,1547,1482,1455,1688,1574,1660,1941,2044,2114,2150,1727,1416,1840,2541,2098,1535,1395,1434,1393,1337,1425,1777,2123,1823,1953,1593,1534,1466,1444,1390,1870,2709,2391,1625,1603,1884,2349,2330,1976,2141,1955,1921,1958,1882,1533,1524,1466,1425,1529,1562,1640,1837,2015,2053,2409,2806,3616,3570,3025,2269,1532,1831,2044,1289,1387,1346,1251,1308,1277,1250,1314,1347,1425,1353,1323,1355,1329,1366,1503,1604,1441,1469,1578,1472,1582,1640,1671,1779,1624,1409,1390,1648,2354,2602,1912,1776,2626,3024,2571,1827,1658,1659,2072,2283,1569,872,1131,1439,1411,1648,1966,2040,2411,1918,1651,1668,1553,1432,1456,1477,1394,1196,1151,1149,1273,1236,1302,1377,1394,1481,1595,1624,1518,1346,1189,1229,1285,1375,1347,1324,1328,1662,1654,1364,1245,1484,1800,1770,1553,1253,1151,1204,1156,1260,1379,1768,1772,1538,1476,1462,1470,1436,1322,1295,1425,1580,1817,2174,1864,1790,2182,2484,2236,1830,1550,1402,1270,1518,2088,1873,1763,1548,1561,1524,1543,1630,1522,1791,1749,1557,1764,2651,3058,2411,1780,1613,1416,1149,1464,1749,2160,1931,1861,1845,1566,1608,1745,1977,1937,1654,1657,1920,2116,2296,2135,2315,2408,2342,2539,3184,4185,3942,2643,2234,2023,1884,2250,2552,2820,3386,3169,2218,1771,1592,1598,1712,1897,1723,1689,1804,2409,2333,2841,2018,1535,1990,2420,2474,2203,2263,2258,2124,1658,2178,2413,3338,3010,3049,2714,2879,3313,3012,2843,2744,2551,2201,2032,2387,2682,3454,3029,2522,2743,2730,1919,1315,1812,2606,2679,2890,2864,1976,1204,1462,1929,2247,2504,2507,2876,2927,2990,3245,2396,1897,2388,2817,3616,4475,4653,4620,4664,4653,4640,4707,4539,3993,2944,2471,2477,2680,2144,2406,3146,2876,2715,2374,2236,2681,2289,2420,2542,2051,1737,1955,2309,2712,2498,2674,2609,2379,2327,2561,3082,3294,2893,2480,2645,2354,2258,2104,2485,2430,2334,2475,2753,3056,2380,2087,3086,2469,1713,1607,1410,1668,1957,2219,2282,2022,1820,1704,1981,2185,1693,1440,1576,1698,1482,1793,1846,1615,1612,1960,2184,2257,1893,1486,2122,2076,1792,2156,1865,2041,1750,828,1170,1532,1420,1348,1233,1271,1422,1488,1308,1304,1562,1612,1426,1449,1463,1372,1414,1639,1863,2148,2171,1929,2762,3470,3582,4004,3912,2721,2266,1930,1491,1973,2820,2588,2330,2658,2239,1785,2455,2741,2787,2920,2728,2009,1794,1875,1959,1702,1448,1469,1460,1390,1375,1483,1352,1301,1329,1372,1296,1274,1311,1359,1342,1288,1367,1381,1572,2254,2630,2237,1688,1597,1645,1619,1573,1606,1920,2200,1772,906,1181,2099,2692,2900,2587,2322,2353,1944,1559,1614,1412,1125,1321,1812,1629,1633,1500,1386,1720,1918,2053,2054,1632,1265,1103,1348,1699,1943,1802,1665,2161,2445,2378,2659,2756,2115,1989,2642,2557,2369,2305,2097,1693,2344,2392,1863,2035,1699,1365,1313,1346,1707,2261,2264,1868,2195,1912,1811,1749,2227,2116,1852,2169,2303,2067,1715,1666,1638,1729,1832,1475,1450,1630,1679,2151,2236,1809,1635,1708,1766,1684,1613,1688,2092,1874,1676,1696,1770,1592,1502,1417,1515,1303,1402,1682,1415,1776,1446,1252,1132,1181,1172,1316,1232,996,1108,1376,1622,1479,1311,1110,1163,1440,1688,1605,1464,1555,1380,1302,2149,2584,1627,1528,1563,1684,1655,2054,1664,1787,1758,1676,1798,2123,2010,1581,1697,1857,2085,2908,3327,2787,2039,2062,3040,3245,2621,2522,2847,3034,2890,2613,2949,2880,2583,3510,3260,2987,3131,3364,2845,1938,1500,1520,1671,2591,3531,3265,3243,3024,2238,2229,3017,3032,2149,2387,3454,3846,3822,3770,3059,2265,2126,2232,2453,3206,3824,3303,2366,2463,3181,3365,3331,3356,3547,3784,3784,3910,3913,3670,3196,2979,3038,3252,2951,2818,2735,2879,3173,2662,2351,2599,2634,2768,2728,2676,2961,3492,3476,3068,2606,2603,2958,2954,2846,2692,2520,2566,2520,2413,2442,2482,2585,2644,2441,2331,2617,2753,3227,3526,3544,3586,3248,2551,2862,2815,2561,2736,2407,2162,2409,2775,2890,3063,3144,2974,2828,2897,2619,2588,2664,2360,2203,2537,2755,3001,3046,3055,3251,2624,2147,1815,1503,1540,1770,1610,1471,1365,1176,1360,1429,1343,1438,1371,1390,1196,1268,1376,1330,1443,1577,1643,1398,1461,1761,1735,1737,1570,1339,1215,1193,1180,1254,1231,1319,1582,1499,1421,1866,1502,1365,1257,1211,1188,1281,1343,1295,1278,1319,1423,1444,1289,1361,1479,1592,2002,1632,1406,1534,1437,1476,1606,1465,1397,1762,2359,2264,1875,2044,2471,2450,1995,1605,1574,1718,1620,1775,1968,2090,2509,2230,1791,1855,1936,1758,1659,1747,1754,1838,1950,1969,1816,1813,1914,1975,1794,1787,1976,1986,2002,2039,2106,2127,1910,1763,1583,1170,1617,1848,2072,1997,2008,1804,1617,1465,1281,1428,1667,2137,2231,1593,1528,1921,2676,3063,2579,2144,2036,1881,1735,1692,1680,1604,1808,2148,2011,1747,1649,1610,1719,1707,1644,1603,1581,1649,1754,1545,1446,1666,1906,1870,1740,1717,1991,2222,2009,1844,2149,2054,1802,2223,1904,1636,1642,1622,1514,1675,1799,1676,1808,1586,1511,1852,1773,1784,1670,1686,1843,1894,1627,1400,1253,1709,1972,1621,1531,1585,1713,1861,2159,2318,2215,2388,2353,2123,2305,2306,2212,2788,3072,2713,2539,2201,1876,1703,2020,2323,2331,2472,1994,1702,1857,1934,1915,1792,1814,1974,1865,2200,2276,2485,2319,1976,1711,1678,1741,1826,1813,1656,1587,1742,1748,1931,1987,2359,2427,2195,1690,1804,2724,3228,2950,2884,2834,2259,1819,1875,2050,2823,2905,2176,1680,1417,1518,1873,2171,2050,1659,1446,1614,1849,2172,2253,1972,2056,1958,1802,1571,1294,1038,1140,1528,2045,2035,1857,1933,2022,2831,2887,2270,1650,2037,1859,1741,1946,1671,1703,1567,1625,1743,2090,1889,1199,1457,1664,1683,1492,1451,1543,1456,1428,1473,1785,1937,1734,2015,1777,1948,1766,1610,1896,2076,2087,1980,1864,1708,1732,1678,1504,1610,1932,2589,2677,2225,1740,1832,1954,1956,2016,2044,2120,2231,2125,2064,1885,1860,1771,1648,1683,1751,1996,2250,1932,1728,1690,1681,1678,1818,1676,1544,1766,1766,1809,1877,1638,1709,1959,1863,1826,1655,1926,1784,2167,2370,2722,2398,2053,1961,1718,1778,2071,2286,2132,1668,1602,1607,1767,1905,1997,2087,2298,2793,2903,3069,2932,1808,1938,2193,1887,1882,1704,1756,1564,1851,2230,2224,2291,2131,1865,2307,2678,2216,1864,1956,2103,2403,2285,2062,1982,2062,1859,1918,2082,1976,2746,2795,2533,1853,1596,1679,1644,1739,1743,1642,1480,1530,1482,1433,1742,2288,2233,1846,1835,1858,2096,2003,1525,1598,1897,1648,1549,1961,2292,1864,1725,1642,1715,1587,2430,3081,3442,4144,4095,3890,3151,2745,3052,2654,2413,2443,2176,1925,1850,1824,1730,1616,1666,2066,2855,3289],[2878,3085,2923,2845,2823,2908,2728,2069,2469,3361,2974,3051,2881,2574,2857,2501,2436,2600,2368,2592,2910,2960,3244,2985,2592,2873,3152,3007,3251,3435,3362,3495,3078,2529,2743,2580,2549,2580,2754,1743,1625,1994,2448,3482,4205,3784,2614,2350,2669,2861,2810,3011,2821,2425,2540,2958,2618,2166,2298,2219,2223,3104,3397,3391,3163,2673,2301,3459,3890,3452,2957,2484,2524,2929,2824,2227,2024,2044,2576,2222,1771,2116,2416,2509,3077,2957,2473,2379,2030,1686,1743,1879,1888,1801,1600,1490,1712,2133,1824,1537,1815,1841,1888,1950,1842,2385,3001,2615,2523,2132,2083,2189,2526,2920,2974,3341,3453,3043,2810,3292,3143,2786,2617,2250,2297,2094,1620,1685,2678,3165,2932,3112,3500,3652,3564,3475,3267,3254,2847,2808,2585,3247,3708,3109,2679,2692,2201,2128,2087,2348,2690,1937,1709,1965,2273,1987,2613,3104,2424,2245,2609,2908,3823,3718,3790,2941,2425,2292,2459,2358,2251,2320,1929,1677,1678,1889,1895,2422,2679,2792,2961,2921,2600,2600,2924,3639,4312,4504,4528,4275,4079,4169,4095,3857,3090,3771,3871,3696,3570,3289,2386,1948,3270,4244,4285,4521,4082,3629,4044,4183,4251,4408,3859,2403,1686,1627,1634,1753,2238,3387,3913,3653,3515,3066,2526,2576,2865,2909,2454,2211,2368,2724,3122,3134,2752,2518,2702,3183,3165,3098,3196,3316,3436,3333,2856,2602,2275,2347,2754,2286,2170,2346,2611,2229,2086,2543,3328,3252,2343,1837,2052,2215,2398,2688,2233,2063,2279,2396,1907,1959,2256,2161,1652,1884,2213,2126,2352,2114,2137,1975,1976,2049,1724,1507,1590,1882,1922,1861,1609,1533,1684,1805,1749,2313,3001,3338,2745,2303,2030,1761,1758,1953,2082,1993,2229,1988,2484,2291,2545,2486,2680,2513,2691,3206,3252,3078,2692,2875,3496,3950,3904,3653,2938,2375,2117,2353,2692,2319,1697,1702,1570,1453,1538,1193,1107,1327,1940,1779,1497,1383,1147,1133,1220,1468,2100,1981,1628,1465,1296,2073,2022,1590,1468,1953,2452,2784,2213,1469,1402,1260,1677,2132,1700,1705,1728,1771,1652,1729,1562,1439,1456,1529,1538,1406,1474,1709,1886,1453,1404,1658,1722,1867,1682,1678,1554,1429,1379,1575,1874,1763,1656,1425,1547,1807,1904,1805,2304,2076,1803,2173,3142,3333,2878,2788,2831,3135,3153,2717,2136,1995,2358,2426,2322,2150,1910,2497,2817,2533,2410,2666,2889,2379,1767,1786,1848,2103,2036,1822,1722,1470,1315,1496,1751,1748,1816,1709,2112,2230,1749,1773,2392,2380,1569,1495,1566,1649,1757,2460,3146,3090,2793,2610,2029,1643,2026,2426,2344,1778,1734,1820,1932,1724,1650,1643,1425,1359,1274,1653,1750,1600,2252,2187,1460,1386,1544,1606,1756,1756,1884,2085,2875,2777,2123,1803,1398,1603,1913,1493,1628,1505,1610,1763,1731,1867,1874,1536,1496,1731,1676,1688,1625,1405,1504,1561,1573,1604,1780,1555,1797,1938,1864,1707,1777,1971,1975,2021,1953,1587,1471,1426,1565,1978,1974,1521,1347,1523,1699,1630,1815,1679,1982,2066,2276,1670,1432,1617,1579,1620,1884,2404,2366,1988,2388,2113,2237,2389,2272,2000,1943,1904,1775,1603,1477,1507,1622,1745,1635,1610,1612,1783,1808,1957,1958,2440,3220,3270,2734,1930,1349,1952,2595,1269,1099,1425,1336,1297,1267,1283,1321,1537,1538,1342,1375,1389,1333,1384,1322,1519,1548,1338,1341,1417,1400,1459,1774,1887,1606,1396,1595,1512,1973,2168,2116,2091,2608,2767,2080,1728,1697,1817,2261,1898,896,955,1376,1394,1282,1438,1654,2175,2821,2497,1992,1751,1482,1293,1346,1358,1300,1353,1346,1280,1349,1282,1299,1435,1491,1470,1404,1433,1612,1438,1522,1478,1672,1676,1511,1387,1334,1309,1284,1267,1262,1538,1708,1569,1548,1316,1294,1312,1270,1440,1555,2050,1880,1607,1646,1458,1426,1383,1267,1383,1590,1437,1654,1777,1838,1958,2100,2360,2390,1997,1536,1205,1332,1371,1628,1681,1521,1584,1684,1803,1776,1631,1675,1960,2192,1858,1752,2600,3417,2744,1958,1727,1248,1305,1580,1590,1772,1650,1656,1691,1695,1792,1726,1636,1594,1200,1900,2408,2454,2431,2347,2579,2494,2230,3024,3805,4248,3463,3266,2388,2085,2280,2670,2434,2301,2963,3282,3021,2447,1740,1726,1848,1947,1563,1608,1559,2098,3060,3385,2088,2008,2605,2498,2028,2007,2436,2108,1885,1832,1955,2239,2410,2636,3005,3055,3415,3673,3484,3174,2865,3173,3151,2655,2056,2230,2670,2500,2387,2675,2722,2096,1772,2182,2483,2636,2977,1919,1434,1461,1975,2324,2138,2030,2340,2954,3353,2860,2137,2278,2307,2404,2769,3290,3929,4312,4508,4609,4673,4629,4553,4499,4369,3891,3703,2479,2173,2571,2965,2712,2401,2565,2257,2629,2642,2098,2318,2078,1525,1831,2365,2513,2698,2373,2423,2596,2500,2439,2267,2795,2783,2811,2516,2447,2531,2808,2337,2466,2731,2720,2735,3021,2886,2248,2299,3372,2572,2343,2336,2426,2601,2286,1649,1231,1537,2021,2058,2100,1889,1684,1561,1794,1782,1619,1648,1769,1607,1688,1674,1670,2259,2062,1647,2514,2277,1734,1542,1399,1409,1372,822,1050,1478,1254,1095,1230,1408,1382,1529,1343,1375,1678,1793,1689,1789,1820,1500,1445,2066,2440,2317,2209,2535,3133,2799,2611,3720,4317,3527,2784,2296,1670,1840,2386,2248,2048,2291,1909,1647,2142,2531,2586,2938,2742,1971,1797,2112,2184,1782,1466,1422,1391,1386,1522,1592,1531,1342,1407,1442,1265,1174,1282,1328,1262,1426,1506,1575,1860,2237,2267,1789,1499,1639,1615,1529,1332,1388,1692,2111,1854,1237,1562,2210,2875,2891,2509,2404,2416,2284,2079,1320,821,746,950,1356,1509,1566,1569,1623,1699,1957,2599,2138,1174,1035,1586,1983,1854,1846,1611,1488,2354,2964,2526,1997,1876,1751,1919,2451,1864,1680,1967,1960,1806,1975,1890,1907,1904,1757,1727,1704,1514,1731,2348,2146,1859,2192,1969,1881,1809,1738,1699,2065,2486,2250,1964,1160,1018,1040,1505,1782,1434,1512,1532,1716,2366,2480,2128,1925,2026,2169,1755,1712,1648,1853,1915,1925,1840,1730,1640,1570,1418,1618,1538,1661,2079,1581,1692,1418,1176,1039,998,1247,1440,1177,956,1118,1684,1770,1251,1254,1300,1416,1632,1793,1620,1636,1542,1622,1776,2734,3022,1731,1542,1570,1621,1762,2124,1496,1469,1543,1476,1779,2147,1828,1748,2211,1829,1824,1983,2492,2644,2600,2477,2691,3118,2841,2502,2590,2733,2215,2032,2475,2773,3192,3908,3353,3155,3211,2850,2401,1798,1412,1508,1650,2401,3555,3286,3377,2789,2123,2366,2754,2773,2146,2314,3648,3608,3388,3852,3230,2587,2179,2210,2236,2957,3849,3784,2809,2434,3284,3880,3946,3820,3757,3946,3931,3770,3463,3020,2945,2836,3012,2878,2564,2951,2889,3094,3103,2897,2865,3241,3018,2728,2784,2719,2790,3001,3196,3328,3266,2937,2889,2754,2818,2652,2585,2576,2459,2460,2410,2448,2548,2578,2484,2373,2858,2985,3388,3688,3669,3662,2943,2557,2952,2971,3168,3120,2921,3125,3382,3022,2986,3120,3012,2740,2629,2909,3000,2780,2881,2884,2535,2647,2724,2924,3160,3084,2448,2481,2202,1875,1662,1592,1761,1560,1278,1206,1182,1384,1302,1256,1262,1197,1163,1184,1334,1290,1182,1350,1592,1770,1464,1484,1622,1720,1625,1447,1251,1163,1146,1115,1228,1470,1528,1586,1615,1237,1328,1186,1196,1271,1260,1238,1375,1479,1327,1302,1347,1505,1497,1431,1852,2238,1768,1713,1558,1438,1440,1466,1476,1287,1329,1428,1417,1800,2189,2107,2092,2297,2098,1756,1572,1519,1487,1528,1721,1556,1727,2229,1836,1544,1972,2267,1969,1823,1926,1923,2279,2678,2423,1930,1801,1726,1936,1860,1773,1784,1908,1990,1925,1993,1964,1741,2002,1802,2058,2324,2035,2025,1873,1627,1535,1633,1426,1100,1622,1744,1970,1823,1523,1404,2160,3026,3288,2624,2296,2091,1757,1590,1733,1852,1853,2115,2193,2060,1905,1648,1980,1997,1701,1792,1947,1736,1502,1611,1395,1268,1450,1538,1549,1489,1731,2096,2657,2825,2403,2288,1986,1582,1940,2004,1832,1472,1469,1592,1899,2067,1611,1677,1891,1712,1837,1896,1860,1618,1786,1844,1667,1384,1152,1155,1633,1995,1777,1720,1870,1992,1776,1713,1945,2032,1994,1980,1919,1871,1883,1933,2285,2754,2259,2157,1964,1534,1745,2273,2180,2308,2824,2380,1898,1980,1925,1812,1675,1529,1575,1839,2640,2998,3760,3144,1883,1741,1945,1879,1716,1636,1521,1459,1532,1704,1808,1905,2025,2192,2175,1851,1937,2288,2222,2106,2191,2424,2532,2316,2484,2662,3142,3055,2323,1666,1606,1888,2122,1681,1647,1694,1677,1801,2138,2067,1800,1834,1756,1711,1798,1732,1596,1409,1259,1315,1763,1842,1991,2106,2153,3326,3317,2114,1528,1621,1504,1626,1686,1601,1615,1525,1613,1738,2266,1908,1512,1830,1747,1605,1593,1624,1692,1588,1462,1456,1366,1642,2149,2330,2304,2200,1698,1650,1824,1576,1730,1800,1745,1610,1534,1692,1863,1664,1675,1953,2149,1954,1644,1982,2045,1948,1718,1985,1869,1806,2036,2023,1900,1915,1748,1650,1737,1846,2016,1902,1766,1654,1712,1530,1403,1373,1396,1394,1345,1476,1660,1636,1620,1996,1928,2010,2150,1654,1543,1556,1600,1575,2000,2297,2635,2729,2356,2213,2208,2257,2018,1737,1846,2177,2061,1808,1946,2164,2179,2207,2519,2671,2579,1895,2456,2557,2003,1722,1809,1798,1526,1780,2116,2257,2300,2234,2253,2567,2577,2138,1846,1813,1882,2101,2088,2114,2472,2281,2057,2365,2743,2642,3348,3689,2611,1714,1730,1856,1914,1641,1521,1515,1561,1726,1579,1554,1900,2338,2042,1620,1832,1960,2125,2074,1676,1764,1744,1521,1657,1610,1407,1832,2329,2336,2085,1805,2076,2648,3338,3783,3540,3421,2651,2350,2095,2382,2701,2640,2141,1938,1817,1762,1712,1678,1869,1958,2041,2222],[2415,2930,3003,2901,2457,2823,2753,2459,3167,3359,3309,3488,3190,3229,3142,2521,2775,3164,3286,3517,3060,3001,2894,2775,2604,2427,2302,2657,3239,3173,2967,4087,3953,3111,2792,2511,2481,2588,2925,2562,2687,2820,2890,3806,4229,3836,2604,2625,2864,2607,2753,3221,2852,2427,2416,2321,2272,2593,2757,1714,1532,2351,3186,3417,3186,2466,1862,3126,3404,2490,2460,2385,2270,2267,2069,1894,2286,2656,3012,2730,2055,2172,2577,2605,2665,2148,1753,1691,1648,1547,1529,1931,1890,1805,1608,1548,1855,2221,1872,1597,1602,1556,1841,1808,1439,1612,2475,2939,2735,1979,1842,2283,2608,2886,3152,3020,2663,2776,2756,2728,3176,3288,2692,2123,2293,1786,1730,2434,3139,3334,3295,3621,3824,3662,3349,3353,3705,3740,3499,2911,2126,2229,3104,2676,2485,2220,1777,1807,1685,1862,2732,2310,2068,2235,2011,1874,2465,3055,3277,3221,2965,2972,3454,3809,3220,2332,2154,2274,2662,2555,2556,2764,2399,1424,1513,2336,2154,2279,2341,2856,3120,2797,2614,2923,3480,4013,4425,4460,4139,4155,4452,4024,4035,4026,4169,4346,4121,3675,3226,2897,2570,2769,3936,4343,4396,4397,4505,4372,4320,4321,4340,4431,3669,2229,1711,1661,1633,1795,2331,3155,3638,3761,3793,3028,2320,2187,2370,2481,2316,2319,2310,2564,3054,3024,2902,2832,2863,3125,3492,3408,3112,2995,2677,2086,1648,1976,2107,2098,2250,2177,2308,2425,2503,2586,2382,2303,2714,3523,2988,2080,2260,2207,2338,2454,2401,2807,2940,2133,1684,1943,2092,1959,1691,1795,2050,2012,1954,1583,1839,1874,2059,2166,1966,1830,1770,1970,2155,2081,1961,1787,1789,1793,1931,2128,2547,2701,2188,1809,1831,1986,1957,2050,2129,2014,2176,1792,2280,2003,1915,2329,2563,2406,2281,2238,2652,2611,2354,3309,3764,4026,4063,4155,4024,3093,2527,2579,2977,3166,2177,1854,1770,1853,2069,1783,1505,1390,1510,1218,1359,1521,1187,1015,1123,1844,2531,1931,1607,1588,1351,2504,3196,2651,2215,2406,2219,1812,1714,1509,1430,1385,1510,1792,1576,1660,1759,1769,1858,1923,1760,1635,1570,1498,1403,1435,1367,1297,1575,1543,1538,1724,1767,1606,1630,1666,1344,1366,1310,1298,1446,1573,1441,1455,1439,2023,2015,1969,2196,2025,2188,2573,2963,3318,3459,2657,2380,3130,3607,3406,2436,1812,2094,2303,2480,2445,1976,2706,2648,2611,2532,2700,2530,1917,1797,2098,2403,2745,2618,1763,1974,2269,1986,2194,1947,2120,1902,1826,2269,2295,2081,2110,2337,2341,1698,1716,2295,2433,2529,2409,2661,2790,2496,2468,2188,2018,2156,1843,1750,1695,1946,2412,2281,1890,1838,1710,1955,1591,1219,1898,1948,1998,2585,2214,1957,2100,2491,2150,1902,1682,1542,1932,2610,2490,1985,1792,1653,1579,1763,1752,1892,1730,2202,2626,2077,1880,1891,1696,1599,1542,1470,1695,1425,1497,1642,1605,1539,1659,1781,2033,2182,1879,1875,1692,1885,1854,1810,1810,1532,1403,1468,1420,1331,1581,1597,1347,1397,1944,2736,1951,1773,1440,1941,2533,2454,1903,1762,1786,1681,1808,2018,2155,2247,2233,2347,2056,2543,2688,2229,1854,1752,1660,1594,1567,1551,1542,1824,1820,1673,1909,1619,1505,1691,1686,1268,1623,2678,3050,2045,1428,1300,1550,1684,1223,1468,1979,1683,1338,1284,1300,1332,1359,1288,1300,1445,1561,1430,1425,1382,1538,1670,1540,1643,1854,1489,1569,1830,1794,1675,1803,1871,1576,1598,1560,1315,1288,1776,1970,1798,1798,1892,2326,2256,1207,871,1245,1537,1451,1453,1515,1698,2198,2326,2172,1847,1659,1562,1714,1751,1435,1327,1493,1266,1186,1246,1327,1461,1440,1483,1337,1294,1373,1465,1321,1588,1426,2077,2223,1747,1409,1416,1316,1289,1249,1219,1257,1383,1433,1529,1360,1394,1375,1309,1360,1405,1573,1705,1498,1401,1358,1443,1600,1603,1854,1781,1726,1843,1588,1920,1999,1786,1893,1859,1691,1330,886,1174,1395,1541,1677,1530,1523,1758,1979,2062,1870,1705,2018,2428,2027,1598,1574,2104,1990,1873,1967,1905,1968,1671,1762,2293,1962,1885,1620,1856,1833,1644,1704,1437,1583,2801,2840,1963,1936,2662,3227,2651,2296,2312,2563,3908,4007,3613,2381,2093,2835,3116,2206,1902,2379,2744,3121,3234,2787,2205,1987,1864,1838,1668,1536,2243,3401,3309,2058,2579,2536,2518,1993,2307,2545,2302,1797,1626,1643,1838,2054,2569,2863,3428,3617,3388,3207,3129,2668,3152,3077,2614,2687,2832,2681,2341,2354,2542,2933,2619,2438,2391,2464,3016,2758,1740,1980,1778,2005,2526,1674,1438,2069,2332,2824,2591,2589,2796,2439,2036,2156,2393,2602,3077,3913,4509,4674,4674,4539,4450,4440,4365,4093,2713,2073,2428,2720,2692,2466,2574,2657,2935,2634,2377,2454,1527,1418,2188,2864,2864,2213,1792,1988,2068,2076,1976,2071,2781,2935,3161,2999,2740,2934,2842,2543,2453,2530,2188,2478,2843,2422,1587,2385,3440,3383,3409,3138,3074,3045,2500,1936,2228,2621,2791,2313,2089,1867,1505,1786,2002,1721,1616,1683,1655,1633,1759,1477,1444,2233,2491,1949,1789,1771,1756,1587,1632,1708,1327,793,954,1420,1159,1233,1534,1437,1408,1463,1647,1758,1782,2296,2169,1475,1722,1663,1683,2223,2070,1669,2319,2587,2592,2856,3259,3884,4488,4159,3518,3043,2003,1663,1675,2024,2061,1864,1815,1582,2063,2591,2551,2584,2659,2476,2146,1914,1736,1421,1409,1283,1282,1679,1658,1694,1715,1460,1389,1301,1263,1218,1313,1172,1171,1487,1902,2275,2221,2487,2706,2112,1675,2000,1730,1648,1610,1744,1889,2204,2096,1818,1609,2314,2979,2724,2681,2361,2543,2113,1637,1186,776,811,932,1002,1372,1596,1637,1642,1579,1873,2360,1374,1085,1773,2022,1827,1809,1995,1990,1749,1673,1976,2271,1858,1449,1479,1625,2066,1837,1691,1764,1775,1757,1687,1733,1851,1980,2120,1918,1780,1561,1772,2524,2776,2385,2168,1865,1695,1582,1950,2368,2248,2121,1938,1907,1143,1326,1722,1980,1707,1212,1107,1157,1676,2188,1974,1977,1861,1594,1663,1576,1100,1203,1612,1700,1733,1716,1472,1405,1486,1602,2214,1496,1797,2020,1604,1577,1416,1034,972,1156,1255,1192,1123,974,833,1205,1273,1197,1224,1189,1559,1804,1572,1434,1598,1640,1692,1758,1603,1731,1741,1504,1621,1630,1811,1751,1427,1496,1656,1631,1906,2288,1963,1976,2272,1775,1616,1623,1937,2073,1862,1537,2096,3066,2654,2740,2388,2276,1954,2426,2902,3208,3725,4345,4229,3912,3340,2634,2361,1964,1522,1506,1504,2087,3464,3203,3422,2756,2044,2081,2034,2242,2068,2186,3819,3648,2999,3703,3450,2938,2473,2359,2332,2740,3459,3829,2895,2438,2961,4082,4039,3729,3771,3904,3846,3818,3358,2928,2935,3020,3200,3205,3461,3540,3157,3045,3072,2939,3177,3604,3395,3101,2951,2740,2740,2875,3571,3981,4195,3704,3108,2873,2819,2553,2557,2493,2341,2364,2387,2532,2561,2908,3162,2775,3167,3563,3821,3907,3789,3680,3365,3025,2893,3088,3121,3194,3416,3295,3144,2722,2780,2823,2902,2713,2483,2820,2842,2839,3226,3527,2985,2601,2509,2835,2864,2552,2436,2433,2002,1814,1507,1628,1788,1591,1453,1352,1342,1315,1204,1139,1128,1225,1305,1334,1469,1184,1084,1391,1432,1588,1600,1548,1630,1730,1608,1470,1405,1323,1199,1094,1241,1443,1745,1917,1570,1241,1271,1227,1149,1154,1178,1255,1408,1450,1311,1357,1408,1539,1441,1255,1676,1976,1594,1490,1511,1455,1417,1483,1471,1388,1490,1500,1551,1717,2109,2148,2026,2030,1827,1674,1583,1646,1576,1550,1577,1600,1683,2212,2023,1754,2207,2585,2205,1841,1851,2045,2622,2940,2496,1736,1521,1757,1991,1865,1678,1635,1834,2086,2132,1873,1797,1877,2349,2130,2072,1929,1697,1624,1538,1407,1491,1515,1249,1095,1581,1726,1833,2000,2162,1800,1686,2217,2386,2305,2524,2045,1918,1802,2077,2343,2399,1997,2051,2204,1950,1769,2019,2144,2193,1703,1851,1663,1521,1589,1526,1518,1657,1692,1407,1367,1682,1993,2342,2756,2801,2076,1531,1495,1670,1775,1629,1473,1526,1652,2138,2283,1775,1775,2031,1970,1974,2164,1841,1491,1773,1953,1474,1020,1167,1223,1403,1992,2071,1847,1545,1312,1541,2083,2341,2002,1813,2138,2064,1626,1590,1649,1698,2248,2311,2294,1974,1578,1466,1829,2138,2464,2866,2358,2134,2240,2128,1722,1562,1587,1531,1656,2442,3580,4233,3306,1879,1663,1888,1909,1691,1880,1700,1489,1557,1792,1812,1731,1674,1825,1988,2088,2016,1879,1733,1670,1748,2438,2278,2519,2935,3164,2990,2486,2065,1744,1654,2067,1765,1588,1535,1570,1865,1730,1717,1666,1599,1880,1837,1711,1803,1758,1637,1572,1433,1482,1496,1450,1877,2106,2259,2590,2342,1784,1500,1475,1469,1593,1719,1636,1535,1556,1656,1400,1590,1707,1580,1643,1640,1627,1526,1557,1495,1799,2474,2214,1445,1455,1988,2317,2294,1941,1627,1909,2282,1699,1559,1544,1550,1774,1646,1909,1963,1756,1735,1691,1838,1794,1815,1969,2124,1887,1623,1663,1763,1845,1879,1692,1638,1765,1692,1720,1559,1769,2170,1717,1627,1863,1942,1716,1645,1616,1570,1505,1288,1537,1753,1970,1844,2175,2417,2277,2025,1562,1445,1515,1503,1613,1784,1900,2542,3266,3329,2836,2641,2333,1983,1768,1793,2041,2010,1934,1995,1985,2304,2358,2262,2242,2308,2079,2423,2073,1708,1641,1780,1809,1636,1808,2163,2517,2316,2277,2654,2508,2055,1869,1967,1908,1719,1997,1965,1797,1909,1974,2461,2830,3222,2938,3089,3054,2085,1663,1692,1858,1838,1458,1472,1549,1642,1730,1543,1682,1959,2081,2017,1957,2082,2183,2251,2313,1784,1762,1681,1670,1892,1924,1680,2290,3112,2857,2338,2037,1999,2251,2756,2977,3239,3165,2808,2384,1884,2056,2365,2392,2260,2287,1974,1997,2158,2144,2288,2017,1917,2019],[2685,3046,2608,2821,3240,3410,3338,3259,3304,3508,3897,3841,3295,3342,3392,3244,3414,3349,3212,3062,2886,2938,2641,2522,2478,2159,2311,2987,3442,3275,2843,3516,4243,4038,3168,2580,2666,2830,3122,3276,3220,2850,2697,3221,3648,3685,2756,2765,3016,2580,2884,3241,2468,2173,2630,2188,2286,3035,3729,2278,1549,1896,3019,3453,3262,2736,2024,2489,3176,2514,2370,2238,1823,1607,1610,1911,2056,2530,3050,2940,2288,1934,1956,2333,2358,1923,1668,1632,2154,1960,1660,1878,1962,1712,1538,1522,1429,1484,1671,1586,1403,1710,2046,2120,1809,1528,1854,2308,2015,1676,2099,2604,2617,2520,2750,2283,1878,2603,3062,2664,3206,3333,2555,2436,2309,2132,2818,2973,3437,3363,3265,3538,3471,3554,3327,3265,3574,3703,3508,3517,3255,2159,2444,2554,2604,2002,1864,2111,2008,2021,2181,2195,2576,2510,2019,1936,2464,2664,3054,3254,2554,2662,2986,3204,2577,2219,2186,2545,3016,3262,3444,2765,1912,1233,1602,2433,2534,2857,2846,3021,3265,3170,3448,3755,3852,4042,4232,4244,4050,4169,4140,3666,3586,3592,3706,3760,3749,3801,3218,2562,2776,3958,4488,4544,4572,4488,4504,4464,4361,4252,4301,4349,3509,2237,1780,1712,1715,1912,2490,2575,3074,3676,3310,2521,2170,2340,2556,2519,2378,2444,2291,2700,3247,3185,3039,2987,3010,3127,3195,3071,3052,2933,2431,2097,2094,2247,2256,2326,2257,2218,2381,2603,2918,2669,2313,2513,3305,3426,2890,2811,2942,2612,2824,3043,2872,2979,2908,2339,1928,1968,2044,1976,1719,2068,1952,1903,1899,1668,1600,1790,1898,1693,1730,1776,1567,1709,2091,2211,2442,2466,2339,1928,1976,2402,2625,2279,1906,2029,1925,2128,2228,2056,1750,1788,1744,1754,1974,1784,1694,2053,2419,2245,1827,1512,1888,2534,3242,3474,3710,3557,3480,4001,4252,3327,2588,3143,3451,3312,2822,1948,1708,1748,2076,1981,1654,1624,1728,1626,1400,1103,1117,1109,1334,2259,2182,1469,1338,1343,1713,2568,3306,3477,3013,2988,2990,2112,1927,1689,1582,1676,1692,1699,1449,1620,1684,1498,1577,1695,1861,2010,1888,1686,1728,1742,1640,1330,1730,2043,1588,1295,1420,1471,1678,1614,1383,1337,1378,1446,1686,1614,1516,1471,2289,2862,2129,2380,2396,2018,2100,2413,2932,3255,2865,2259,2403,2978,3318,3474,2678,1832,2009,2421,2978,2722,2158,2514,2429,2501,2620,2777,2566,2210,2024,1977,2034,2457,2810,1937,1783,2061,2692,2666,1889,1873,1693,1613,1910,2003,2034,2055,1731,1848,1650,1910,2876,3526,3326,2510,2420,2610,2460,2177,1950,1897,1544,1616,2150,2322,2540,2934,2532,2046,1947,1883,1939,1715,1554,1814,1708,1876,2846,2874,3244,3317,3106,2829,2244,1762,1620,1518,1687,1950,1714,1863,1970,1636,1695,1673,1921,1829,2043,2181,1760,1788,1924,1997,1909,1989,1650,1565,1593,1708,1692,1639,1572,1612,1762,2061,2242,1617,1703,1703,1776,1781,1672,1553,1610,1698,1566,1468,1522,1688,1719,1880,1598,2085,2679,1947,1623,1415,1664,1851,1970,1758,1545,1598,1740,2398,2963,2631,2223,2010,1830,1660,2044,2378,2096,1722,1705,1634,1470,1499,1501,1532,2040,1876,1741,1737,1521,1483,1561,1561,1611,1533,1722,2096,1673,1503,1417,1414,1320,1361,1588,1761,1576,1438,1338,1286,1257,1196,1077,1186,1792,2060,1803,1569,1554,1628,1706,1690,2304,2966,2447,1625,1597,1688,1538,1631,1721,1731,1655,1843,1913,1941,1963,1767,1760,1797,2250,2729,1727,836,990,1408,1415,1364,1632,1810,2043,2093,1503,1504,1444,1503,1727,1826,1392,1358,1399,1515,1428,1400,1562,1953,1625,1415,1600,1576,1316,1315,1367,1384,1412,1548,2066,2378,2029,1525,1506,1417,1355,1227,1240,1335,1395,1456,1453,1387,1429,1448,1396,1293,1212,1372,1594,1405,1351,1336,1376,1599,1816,1914,1740,1853,1719,1675,2133,1924,1786,1806,1833,1949,1675,1388,1445,1454,1722,1816,1359,1479,1649,1849,1772,1504,1544,1447,1654,2086,2093,1743,1586,1541,1733,2402,2929,2664,1922,2674,3107,2292,1827,1547,1550,1612,1749,1859,1765,2290,3286,3149,2356,2125,2367,2563,2492,2610,2410,2416,3248,4227,4041,3250,3120,3178,2641,2027,2128,2226,2089,2509,3141,3486,2685,1989,1701,1924,1954,2147,2902,3582,2756,1897,2153,2501,2579,2271,2508,2939,2648,1932,1820,2072,2564,2443,2563,2456,2758,2630,2939,3293,3360,3040,2766,1774,1928,2749,3156,3275,2640,2192,2260,2251,2088,2093,1942,2202,2742,2462,1670,1673,2110,2470,2678,2228,2042,1982,1944,2182,2395,2529,2861,2548,1890,1834,2100,2260,2336,3134,4228,4539,4627,4652,4514,4416,4045,3237,2377,3142,3360,2467,2644,2842,2474,2818,2830,2758,3018,2642,1735,1815,2226,2476,2472,1732,1523,1741,2252,2364,2040,2300,2727,2489,2809,2887,2727,2635,2586,2698,2427,2373,2178,2602,2608,2212,1819,2747,3142,3097,3372,3198,2386,2419,2588,2580,2872,3031,2940,2055,1984,2187,1982,2001,1923,1754,1792,1780,1698,1452,1378,1559,1739,2250,2443,2512,2198,1718,1700,1729,1760,1736,1381,1010,1031,1496,1435,1472,1481,1333,1276,1393,1606,1743,1836,2309,2217,1566,2478,2671,2496,2576,2352,1746,2142,2714,2586,3009,3439,3617,4204,3916,3264,3306,2828,1951,1422,1593,1628,1915,1888,1455,1850,2585,3001,2594,2670,2379,2464,2305,1927,1699,1506,1311,1290,1863,2025,1576,1437,1526,1388,1296,1400,1387,1514,1361,1378,2082,2596,2304,2144,2190,2301,2135,1712,1883,2127,2270,2697,2619,2326,2462,2398,1924,1544,2053,2653,2471,2499,2311,2493,1701,1517,1300,882,836,999,1120,1385,1880,2159,1619,1740,2054,1852,1393,1843,2041,1538,1413,1802,1983,1885,1686,1368,1325,1567,1208,1164,1469,1838,1827,1702,1579,1323,1317,1649,1888,1818,2194,2644,2547,2044,2078,2114,1874,2046,2578,2297,1536,1482,1475,1486,1776,2088,1775,1604,1968,2179,1485,1487,2133,2304,1618,1148,1266,1323,1493,1698,1852,2043,1687,1245,1544,1211,852,1332,1543,1472,1501,1376,1255,1190,1026,1486,2170,1413,1758,1871,1726,1687,1383,1134,1149,1181,1277,1230,1144,925,931,1351,1286,1319,1318,1571,2096,2154,1815,1472,1583,1515,1403,1888,1620,1964,1928,1697,1594,1649,1549,1302,1299,1556,1697,1685,1813,2054,1901,1949,2246,2502,2242,2426,2458,1921,1935,2020,2652,3200,2576,2661,2466,2629,2768,2500,2522,3331,4108,4356,4207,3951,3509,2756,2354,2126,1730,1812,1948,2128,2952,3047,3118,2797,2045,1947,1915,2182,2141,1967,3716,3979,2983,3515,3736,3231,2750,2598,2742,3031,3333,3602,2863,2793,2566,2969,3021,3284,3738,3794,3485,3570,3614,3288,3038,3230,3347,3531,3939,4053,3188,2833,3042,3296,3693,3646,3317,3312,3383,2894,2845,3288,3906,4108,3892,3665,3205,2973,2770,2424,2369,2332,2285,2319,2498,2596,2663,3310,3520,3045,2864,3062,3420,3581,3516,3347,3308,3088,2989,3232,3511,3558,3204,2962,2827,2808,2850,2831,3036,3098,3038,3090,3054,3162,3444,3529,2973,2789,3020,2802,2536,2852,3212,2922,2294,1970,1808,1874,1776,1702,1675,1539,1724,1802,1632,1362,1207,1311,1370,1322,1401,1076,1037,1154,1204,1927,2099,1798,1715,1758,1697,1500,1267,1132,1291,1185,1415,1484,1690,1822,1535,1247,1206,1270,1227,1271,1454,1483,1576,1468,1351,1336,1445,1406,1285,1256,1338,1417,1577,1801,1394,1551,1580,1493,1407,1510,1512,1543,1711,1900,2158,2022,1665,1512,1431,1638,1845,1768,1487,1753,1655,1406,1885,2491,2231,1874,2199,2519,2448,2100,1759,1744,2351,2744,2256,1504,1491,1688,1737,1867,1742,1866,2086,2174,2176,1982,1848,1910,2147,1985,1695,1580,1513,1534,1251,1220,1538,1742,1528,1508,2040,2562,2375,2823,3421,3122,2417,1764,1592,1635,2036,2020,1662,1643,1848,2067,2267,1933,1748,1903,1927,1944,2103,2354,2630,1916,1778,1715,1538,1491,1494,1672,1845,1902,1810,1584,1942,2613,2533,2460,2173,1602,1393,1595,1662,1606,1475,1483,1692,1818,1975,1974,1845,1926,2310,2124,2009,2132,1829,1444,1658,1866,1460,1327,1609,1160,1259,1913,2110,2217,2095,1904,2212,2438,1846,1635,1933,2604,2425,2056,1691,1339,1380,1960,2535,2135,1760,1959,1934,2020,2224,2023,2330,1880,1742,2155,2049,1564,1604,1726,1505,1576,2014,2360,2884,2416,1914,1746,1591,1594,1599,2166,1856,1629,1782,1906,1890,1558,1705,1750,1574,1937,2346,2126,1808,1728,1937,2303,2226,2592,2918,3008,2636,2084,2113,1781,1858,2093,1674,1500,1465,1645,1961,1829,1660,1655,1622,1831,1695,1509,1532,1570,1667,2079,1955,1738,1528,1638,1775,1860,2431,2496,1962,1512,1500,1495,1471,1715,2046,1741,1560,1638,1771,1453,1458,1743,1511,1610,1919,1844,1703,1729,1672,1904,2789,2521,1610,1544,1650,1746,1920,1758,1682,1696,2022,1873,1575,1598,1844,1732,1763,2091,1805,1597,1902,2062,1864,1618,1774,2114,2035,1837,1558,1750,2232,2042,1569,1544,1622,1819,1844,1639,1489,1968,2276,1774,1523,1636,1671,1758,1894,1929,1817,1842,1543,1685,1946,1925,1691,1810,2415,2339,1795,1600,1633,1649,1695,1616,1969,1962,2253,2953,2698,2580,3098,3022,2568,2143,1734,1876,1975,1870,1923,2094,2558,2836,2764,2517,2416,2260,2116,2042,1986,1879,1962,1948,1857,1916,2242,2574,2236,2211,2265,2042,1880,1732,2009,2199,1967,2043,1990,1970,1741,1687,2490,2806,2866,2303,2287,2193,1603,1710,2014,1865,1648,1561,1653,1586,1642,1694,1796,1886,1836,1906,1968,2014,2387,2983,2641,2692,2089,1830,1636,1684,1811,1874,2077,2547,2957,3226,2999,2032,1788,1898,2445,3195,3418,3410,2695,1818,2176,2077,1725,2266,2495,2146,1862,1987,2370,2107,2792,2216,1838,1858],[2590,2690,2622,3016,3220,3391,3743,3592,3363,3811,4223,4220,3682,3312,3020,2808,2512,2459,2651,2490,2255,2135,2368,2810,2775,2633,3044,3094,3094,3304,3392,3493,3959,4329,3742,3051,2724,2872,3112,3363,3313,2837,2736,2720,3360,2972,2554,2895,3227,2825,2777,3141,2765,2311,2896,2288,2106,2554,3333,2150,1556,1770,2736,3587,3100,2595,2317,2230,2371,2107,2192,2363,1875,1693,1603,1775,2218,2657,2656,2576,2177,2000,2227,2277,2374,2377,2192,2103,2300,2146,1882,2077,2269,1818,1696,1764,1645,1747,1739,1751,2027,2599,2245,1853,1934,1609,1502,1655,1707,1908,2194,2401,2424,2467,3152,2855,2479,2828,2989,3007,3018,2434,2275,2311,2053,2345,2956,2729,2720,2863,2871,2751,3121,3619,3555,3541,3538,3584,3772,3963,3741,3076,2732,2701,2393,1924,2205,2658,2695,2889,2887,2552,2828,2601,2199,2439,2595,2241,2836,2622,1987,2269,2583,2451,2357,2360,2453,2807,2773,3352,3632,2509,1501,1349,2041,2368,2281,2551,2856,3210,3329,3651,3819,3695,3769,4121,4229,4016,3686,4020,4076,3371,2653,3050,3488,3396,3631,3703,2776,2395,3288,4101,4164,4290,4496,4340,4268,4408,4257,4050,4271,4292,3254,2613,1921,1731,1941,2262,2821,2749,2558,2396,2456,2343,2261,2678,2920,2770,2451,2369,2159,2807,3348,3331,3313,3392,3352,3176,3118,3554,3275,2987,2288,2121,2013,1983,1924,1682,1779,2187,2322,2499,3153,2996,2618,2722,3646,3388,3002,3161,2830,2450,2756,3087,2890,3167,2989,2689,1826,2155,2281,2056,1970,2132,1681,1574,1746,1734,1761,1952,1842,1889,1705,1568,1423,1563,1563,1740,2115,2227,2480,2545,2603,2802,2569,1740,1728,1903,2119,2162,2255,1824,1660,1686,1669,1709,1796,1923,1804,1954,2065,1733,1787,1920,2464,3284,3840,3783,3846,3387,2952,3370,3618,2862,2262,2981,3462,3746,3432,2378,1786,1530,1675,1560,1496,1429,1493,1738,1829,1376,1323,1548,1593,1908,1624,1289,1378,1628,1896,2767,3394,3332,2780,2279,2250,2179,2198,1467,1280,1397,1578,1492,1379,1528,1462,1331,1425,1626,1905,1863,1864,1802,1914,1797,1706,1632,1789,1839,1566,1553,1455,1455,1578,1736,1538,1439,1445,1470,1581,1816,1944,1890,2252,2113,1853,2222,2036,1685,1551,2301,3154,3064,2540,2323,2466,2654,3100,2998,2071,1937,1663,1981,2319,2085,1780,2204,2460,2510,2769,2541,1898,1848,1765,1633,2013,2215,2479,2227,1854,2871,3820,2987,1707,1564,1587,1598,1742,1901,1931,2183,1614,1685,1523,1581,2171,2821,2656,2560,2679,2736,2396,2419,2009,1677,1329,2166,2790,2411,2189,2484,2401,2014,1657,1624,1946,1920,2029,2263,1820,1659,2071,2928,3727,3718,3661,3087,2122,2322,2625,2552,2012,1686,1606,1761,1585,1513,1809,1581,1805,2127,1941,1710,1558,1827,1808,1969,2058,2064,1664,1509,1582,1582,1513,1597,1580,1637,1825,1939,2169,1970,1775,1774,1942,1834,1952,1963,1780,1833,1500,1419,1970,2456,2418,2510,1972,1665,1399,1621,1789,1677,1473,1679,1892,1693,1709,1748,1581,2172,2316,1972,1586,1687,1618,1448,1715,2035,1921,1575,1471,1681,1649,1565,1903,1907,2282,2203,1928,1652,1472,1470,1437,1607,1655,1504,1429,1527,1604,1635,1449,1355,1406,1391,1348,1310,1334,1420,1433,1343,1355,1438,1417,1656,2097,2041,1702,1604,1694,1815,1833,1829,2003,2464,2437,1658,1600,1751,1573,1560,2086,2233,2051,2115,2255,2031,2097,1781,1767,1784,2495,2392,1182,842,1313,1356,1626,1969,1358,1547,2117,1966,1465,1397,1460,1377,1550,1439,1191,1275,1654,1844,1378,1349,1599,1940,1637,1491,2085,1978,1490,1416,1142,1207,1410,1554,1847,2080,1937,1730,1404,1336,1324,1185,1252,1254,1246,1328,1400,1456,1466,1525,1522,1380,1268,1417,1395,1409,1306,1361,1381,1617,1720,1408,1446,1635,1830,2123,2293,2063,1710,1841,2136,2088,1952,1771,1619,1410,1549,1677,1399,1556,1652,1810,1769,1614,1408,1388,1683,2055,1970,1886,1642,1521,1901,2370,2319,2398,2263,2875,3545,2463,1539,1454,1489,1686,1789,1833,2285,2605,3095,2978,2351,2519,2967,2425,2154,2913,3029,2440,2643,3531,4046,4137,4157,3755,2750,1965,2123,2100,2018,2261,2485,2839,2776,2459,2089,1804,1677,2284,2994,3617,1968,2424,2676,2103,1745,1913,2226,2592,2105,1947,2464,2777,3352,3050,2571,2258,2304,2643,2995,3521,3200,2677,2527,2092,2611,3120,3441,2909,2479,2138,2341,2104,2352,2482,2066,1914,2466,2462,1900,1875,2668,3070,2965,2669,2553,2522,2481,2314,2403,2281,2065,2056,1860,2340,2785,2695,2521,2996,3188,3566,4384,4663,4631,4139,3362,2627,2507,3885,4365,3681,2491,2169,2237,2512,3195,3319,3273,2723,2023,1994,2230,2425,2452,1761,1660,2277,3122,2690,2183,2209,2641,2739,2758,3024,3128,2757,2814,3098,2696,2193,2390,2402,2390,2047,1784,2271,2604,2413,2497,2708,1914,1962,2487,2726,2669,2832,2700,1933,1901,2258,2068,1950,1935,1830,2080,1984,1670,1376,1624,2067,1744,1750,1816,2132,1908,1594,1953,2262,2101,1975,1500,1332,1525,1568,1473,1385,1377,1184,1225,1668,1948,2036,1735,2054,1848,2050,2950,2846,2691,2908,2300,1701,1742,1912,2273,3183,3239,3219,3874,3991,3398,3339,3275,2492,1614,1698,1852,1841,1784,1754,1715,2075,3077,3132,2497,2222,2441,2437,1952,1685,1508,1345,1427,1686,1719,1556,1327,1468,1429,1336,1517,1431,1400,1311,1374,2578,3218,2409,2405,2448,2257,2370,2381,2381,2587,2820,2740,1883,1632,2302,2499,2070,1540,1496,1789,1665,1439,1504,1606,1493,1519,1438,1163,970,1078,1130,1390,1873,1995,1447,1520,1939,1531,1542,2143,1735,1272,1543,1714,1999,1794,1594,1524,1513,1919,1752,1809,2053,1738,1206,1048,933,852,1061,1858,2776,3054,3394,3109,2530,2082,1972,1978,2032,1963,1899,1993,2137,2337,2007,2085,1664,1651,1835,1784,2084,2237,1769,1506,1950,2230,1953,1925,2106,1942,1839,2365,2568,2181,1404,1289,1550,1223,1147,1446,1336,1340,1499,1366,1189,893,1031,1745,1882,1340,1637,1971,2124,2176,1700,1340,1422,1476,1480,1338,1178,934,1130,1503,1425,1354,1240,1502,2215,2494,2417,1629,1749,1781,1566,1669,1454,1478,1522,1608,1560,1366,1332,1270,1275,1443,1538,1572,1641,1742,1923,1986,1851,1790,2298,2934,2568,2012,1937,1809,2357,2190,1833,1865,2430,2691,2934,2383,1718,2668,3696,4108,4116,3895,3686,2843,2235,2080,1885,1713,1783,1938,2552,2762,2711,2823,2128,1961,1977,2431,2321,1899,3329,4028,3408,3451,3854,3827,3402,3315,3331,3798,3934,3507,2975,2912,2789,2577,2611,3139,3729,3562,3409,3891,3762,3099,3099,3399,3326,3093,3253,3341,2884,2733,2778,3032,3414,3298,3106,3254,3348,3068,3171,3552,3652,3447,3153,3072,2819,2711,2514,2298,2270,2359,2387,2433,2505,2603,2603,2920,2901,2705,2608,2745,3160,3399,3107,3154,3181,3294,3396,3286,3200,3106,2831,2532,2462,2614,2824,2856,2986,3172,3631,3404,3198,3130,3307,3306,3020,2977,3245,3075,2612,3068,3300,3210,2427,1987,1733,1712,1781,1853,1729,1526,1650,1738,1656,1539,1229,1162,1246,1182,1351,1313,1128,1220,1182,1433,1698,1667,1808,1876,1675,1631,1493,1858,2325,1965,1736,1627,1554,1646,1693,1662,1622,1826,1676,1842,1675,1712,1951,1828,1700,1573,1468,1425,1473,1438,1548,1766,1757,1743,1681,1848,1703,2045,2200,2026,1838,1817,1894,1848,1696,1815,1779,1426,1384,1694,2237,2527,2299,2259,1787,1374,1719,2082,1936,1709,1869,2137,2388,2370,1957,1741,1937,2290,2047,1727,1591,1643,1775,2082,1989,1923,2159,2214,2115,1820,1665,1730,1795,1629,1526,1528,1719,1775,1704,1905,1874,1660,1448,1477,2291,2662,2314,2306,2397,3106,2858,1711,2139,2135,2134,2160,2026,1928,1623,1591,1714,1761,1969,2028,2188,2368,1988,1974,2183,1769,1810,1783,1650,1897,2036,1713,1803,2314,2172,1625,2165,2372,2164,2015,2015,1913,1776,1625,1654,1860,1607,1631,1788,1844,1904,1759,1836,2082,2200,1742,1632,2004,2088,1677,1522,1727,1593,1346,1600,1387,1597,1945,1951,1998,2245,2258,2297,2306,1645,1511,2157,2674,2274,2140,1823,1522,1544,1780,1944,1656,1661,2332,2898,2736,2331,1694,1646,1603,1885,2128,1842,1466,1526,1648,1602,2158,2255,2226,2141,1609,1842,1787,2081,1681,1433,1741,1727,1763,1891,1892,2070,1753,2335,1893,1810,1946,1939,2002,1951,1837,2150,2284,2057,2511,2913,2753,2245,2038,1921,2403,2822,2328,1939,1623,1732,1832,1893,1870,1883,1640,1607,1766,1750,1643,1529,1452,1701,2266,2276,1875,1712,1764,1874,2025,2347,2196,2183,1892,1657,1545,1464,1758,1905,1683,1609,1995,2500,2216,2119,1882,1960,2171,2170,1771,1887,1814,1793,1829,1903,1626,1425,1731,2149,2100,1806,1494,1620,1606,1665,1690,1614,1676,1877,1752,1626,1698,1705,1777,1930,2071,2091,1939,1815,1820,1959,1906,1928,2437,2620,2018,1575,1643,1691,1793,1896,1807,1799,1849,1826,1676,1714,1536,1541,1757,1794,1901,1675,1596,1581,1609,1913,1891,1707,1643,1959,2099,1797,1685,1627,1758,1876,1635,1931,1798,1825,2299,2031,2238,3133,3240,2858,2382,1826,1938,2187,1997,1814,2165,2462,2740,2809,2484,2365,2177,2073,2428,2127,2061,2079,2069,2024,1987,2229,2285,2280,2161,1948,1981,2011,1892,2185,2473,2251,2235,2345,2116,1693,1952,2742,2995,2470,2172,2437,2149,1733,1808,1976,1699,1719,1540,1580,1597,1495,1602,1686,1643,1827,2041,2541,2797,3289,3323,2685,2324,1818,1710,1646,1660,1771,1941,2022,2042,2610,3288,3073,2016,2231,2266,2638,3475,3486,3208,2636,2352,2589,1957,1823,2260,2348,2032,1727,1654,1865,2060,2581,2331,2237,2297],[2305,2599,2944,2996,2880,3017,3423,3566,3615,3753,3902,3486,2749,2199,2358,2211,2077,2368,2333,1826,1826,1846,2069,2638,3179,2720,2788,2709,2490,2897,3473,3561,3846,4192,4196,3710,3090,2988,3178,3275,3142,2691,2585,2679,2963,2689,2749,3351,3463,2691,2138,2468,2447,2169,2978,2622,1973,1837,1846,1550,1761,2040,2674,3794,3619,3345,2215,1868,1973,2238,2446,2010,1879,1954,1790,2070,2824,2907,2172,1944,1982,2140,2124,1899,2041,2165,2426,2664,2575,2296,2276,2875,2995,2109,1695,1649,1780,1889,1562,2145,2894,2751,2314,2450,2169,1619,1720,1840,1765,1828,1942,2024,2625,2531,2645,3128,3160,2543,2435,2868,2430,1853,1968,2288,2182,2269,2246,1931,1996,2349,2674,2714,3076,3355,3510,3573,3601,3885,4020,4083,3571,2755,2954,3015,2353,2190,2186,1828,2014,2402,2480,2335,2919,2753,2440,2639,2174,2103,2831,2460,2051,2459,2366,2136,2504,2451,2833,2470,2021,3129,3352,2785,2128,1648,1981,2236,2270,2285,2690,3495,3044,3041,2945,2394,3054,3887,4108,4061,4018,4188,4267,3163,1962,3263,3602,3443,2972,2199,2280,3131,3753,3713,3828,4073,4380,4300,3933,3773,4281,4497,4240,4292,3356,3064,2368,2207,2226,2301,2675,2685,2451,2444,2765,2853,2966,2945,3089,3134,2942,2564,2602,2898,2962,3052,2986,3154,3610,3610,3276,3540,3406,3260,3085,2955,2573,2531,2119,1636,2011,2272,2753,2663,2835,2843,2902,2831,3754,4413,3702,2832,2816,2805,2652,2911,2724,2633,2522,1959,1744,2108,2144,2022,1992,1848,1507,1541,1772,1944,1898,1820,1848,2004,1754,1654,1468,1400,1502,1837,1805,1691,2461,3131,3018,2569,2353,1919,1819,1667,2154,2291,1915,1872,2050,1963,1762,1637,1959,2221,1958,2165,1816,1838,2112,2857,3488,3816,3876,3780,3986,3871,3354,3244,3053,2349,1936,2641,3617,3884,3520,3017,2241,1863,1914,1616,1846,1713,1548,1487,1622,1504,1358,1403,1445,1449,1444,1510,2079,2708,2381,3047,3428,2835,2382,2337,2383,2187,1716,1256,1606,1917,1548,1440,1618,2085,1521,1365,1427,1462,1417,1487,1700,1626,1506,1448,1578,1806,1892,1831,1692,1743,1743,1753,1733,1718,1604,1467,1488,1484,1722,2030,1958,1662,1459,1513,1753,1591,1604,1964,1890,2078,2556,2687,2442,2547,2530,2235,2489,2600,2064,1892,1686,1883,1754,1509,1486,2081,2392,2551,2724,2333,1602,1575,1491,1428,1777,2372,2484,1909,1857,2343,3111,3031,1754,1658,1374,1473,1751,1827,2197,2121,1654,1427,1482,1574,1747,2069,2188,2340,2132,2170,1939,2383,2332,1914,1382,1764,2125,1847,1622,1813,1656,1600,1630,2110,2420,2249,2056,2179,1748,1519,1700,2756,3775,3782,3741,2828,2434,2874,3176,3189,2280,1822,1878,1949,1794,1882,2028,1893,2018,2653,3072,2916,2225,2155,2036,1835,1776,1920,1788,1554,1677,1804,1758,1726,1924,1720,1951,2141,2060,1798,1572,1738,1954,1808,1865,1777,1759,1918,1575,1367,2218,2709,2700,2453,2459,1953,1610,1754,1552,1610,1529,1628,1659,1637,1954,1954,1657,1603,1638,1772,1773,1674,1464,1605,1450,1571,1898,1769,1490,1755,1697,1603,2265,2259,2009,2126,2139,1731,1507,1424,1356,1578,1505,1562,1443,1422,1455,1418,1386,1499,1370,1382,1469,1410,1307,1369,1514,1373,1458,1694,1886,1943,1815,1545,1388,1473,1599,1828,1687,1786,1672,1742,1789,1647,1738,1759,1596,1525,1706,2189,2326,2078,2198,2231,1925,1752,1736,1895,2293,1659,880,1049,1383,1255,1660,1791,1315,1599,1848,1583,1327,1334,1436,1336,1476,1580,1417,1182,1546,1904,1406,1361,1503,1522,1504,1356,1776,1765,1428,1167,1122,1333,1496,1590,1642,1526,1578,1410,1200,1212,1226,1214,1325,1265,1263,1322,1283,1375,1464,1392,1310,1381,1437,1351,1350,1396,1355,1317,1413,1621,1568,1495,1677,1645,1651,1883,2024,1794,1464,1459,1492,1577,1689,1816,1875,1436,1029,1367,1618,1908,1909,1953,1701,1493,1430,1289,1554,1749,1777,1658,1447,1803,2584,2045,1931,2207,2298,1781,1870,1671,1529,1488,1577,1932,2187,2432,2659,2505,2288,2045,2521,3348,3442,2431,1919,2710,3071,2381,2133,2713,3516,3619,3968,3990,3371,2773,2429,2261,2318,2406,2302,2181,2389,2356,2524,2475,1930,2517,3548,3492,2314,3257,3850,2821,2189,2220,2142,1969,1709,2500,2944,3232,3350,2810,2631,2239,2389,2866,2791,2837,2678,2353,2285,2425,2712,3016,3396,2786,2294,2548,2822,2295,2017,2264,1950,1870,2317,2397,2183,2306,2854,3210,2790,2191,2302,2194,1907,2091,2406,2322,1940,1887,1924,2629,2853,2701,2264,2504,2561,2941,3826,4387,4575,3903,2779,2535,3097,3876,4263,4168,2846,1997,1748,2030,3229,3565,2662,1806,1940,2179,2350,2932,2944,2544,2464,3100,3108,2171,1686,2224,2808,2749,2957,3339,3419,2565,2453,3021,2849,2481,2653,2624,2622,2020,1664,2084,2593,2666,2574,2519,1880,1960,2480,2189,2599,2784,2314,1938,1935,2455,2165,2522,2180,1816,2152,2199,1569,1371,1531,1401,1413,1498,1517,1587,1639,1865,1988,2084,1804,1347,1378,1473,1454,1545,1540,1415,1438,1481,1766,2149,2193,2142,1638,2224,1694,2049,2714,2093,2204,2714,2431,2149,1756,1548,1945,2792,2135,2367,3680,4184,3630,3130,3190,2918,2126,2007,1942,1950,1814,1697,1616,1755,2541,2745,1835,1309,1677,1936,1685,1584,1472,1246,1392,1510,1638,1462,1359,1513,1500,1372,1470,1630,1896,1852,1737,2206,2710,2561,2468,2596,2483,2459,2510,2455,2576,2363,1873,1371,1300,1909,2445,2139,1521,1427,1398,1286,1428,1584,1470,1448,1624,1749,1634,1371,1384,1238,1384,1597,1433,1555,1772,1989,1399,1326,1920,1607,1456,1723,1566,1626,1542,1445,1618,2083,2634,2625,2411,1720,911,673,774,971,1172,1434,1888,3370,3812,3818,3220,2619,2222,1802,1766,2105,2156,1775,1935,2889,3365,2622,2103,1744,1638,1759,1789,1738,1852,2074,1941,2038,2023,1795,2041,2076,1844,1848,2301,2333,1889,1288,1221,1541,1535,1292,1331,1132,1566,1527,1429,1302,841,1438,2071,1604,1239,1617,1742,1845,2106,1476,1219,2030,2397,2091,1623,1278,1151,1070,1092,1178,1388,1479,1550,1951,2173,1968,1449,1659,1772,1763,1894,1751,1434,1465,1755,1578,1443,1709,1680,1521,1623,1634,1589,1605,1585,1721,1674,1535,1484,1677,2028,2554,2976,3221,2002,2032,2182,2116,2184,2427,2181,2220,2084,1517,2181,3513,4004,3941,3811,3694,3002,2461,2348,1912,1884,2286,2182,2482,2347,1929,2336,2110,1987,1951,2492,2468,1942,2782,3912,3648,3112,3748,4220,4046,4007,3553,3771,4042,3054,2919,3385,3306,2724,2266,2756,3293,3284,3605,3771,3366,2850,3103,3325,3016,2788,2852,2910,2994,2968,2908,2894,3078,3128,3164,3327,3012,3167,3694,4064,4189,3618,2958,2800,2712,2670,2414,2262,2304,2491,2593,2486,2425,2597,2503,2495,2587,2684,3178,3614,3915,3880,3481,3240,3116,3365,3444,3112,2919,3066,3006,2676,2625,3185,3209,2821,2690,2754,3156,2910,2901,2930,3027,3273,3216,2953,2963,3319,3241,3363,3658,3356,2355,1936,2059,2492,2270,1734,1565,1405,1331,1370,1520,1542,1192,1382,1274,1068,1251,1226,1262,1384,1267,1193,1312,1708,2084,2004,1647,1751,1654,2090,2467,2179,1895,1672,1649,1584,1713,1842,1944,2521,2193,1976,1654,1673,1865,1932,1994,1966,1540,1494,1638,1764,1528,1510,1607,1392,1527,1605,1451,1806,2128,2287,2182,2055,1866,1707,1645,2056,2192,1578,1600,1586,1936,2432,2298,1972,1923,1824,1949,1939,1532,1622,1752,1733,1988,2130,2094,2016,2054,1919,1825,1971,1852,1861,1952,1873,1863,1924,1996,2033,1901,1737,1581,1512,1448,1411,1545,1645,1927,1848,1760,1720,1583,1347,1339,1445,1671,2078,3060,3010,1866,1981,2091,2002,2037,1902,2011,1875,1704,1637,1468,1527,1534,1464,1993,2127,2114,2002,1770,1687,2165,2285,1871,1601,1632,1688,1787,1425,1924,2888,2602,2416,2252,1888,1625,1604,1693,1785,1896,1756,1727,2073,1776,1730,1703,2014,1968,2392,2786,2724,2395,1908,2055,2457,2336,1922,1558,1545,1532,1332,1488,1351,1273,1613,1994,1961,1996,2024,2235,1963,1723,1793,2274,2122,1847,2060,1904,1632,1586,1677,1666,1525,1583,2327,2935,2271,1765,1545,1526,1847,1895,1881,1841,1576,1800,1944,1845,2520,2399,1998,1542,1588,1771,2042,2231,1922,1607,1946,2210,1939,2134,2398,2486,2290,2828,2020,1795,1716,1582,1746,2292,2544,2225,2134,2114,2699,3010,2519,1994,2248,2298,2283,2209,2123,1901,1764,1727,1655,1681,1610,1678,1669,1588,1576,1756,1813,1525,1573,1708,1625,1704,1732,1821,1928,2050,2233,2008,2133,2179,2057,1719,1674,1765,1750,1605,1445,1581,1825,2135,2347,2195,1762,2091,2042,1710,1628,1869,1941,2143,2354,1959,1654,1663,1720,2233,2194,2214,1756,1547,1550,1632,1794,1755,1569,1584,1631,1664,1678,1746,1694,1805,2062,2070,2012,1843,1642,1687,1746,1842,2145,2095,1681,1631,1776,1850,1698,1772,1829,1754,1720,1578,1566,1449,1295,1529,1755,1903,1870,1594,1658,1726,1990,2300,1993,1672,1680,1864,2145,2166,2065,1730,1908,1875,1880,2099,1986,1924,2449,2632,2322,2658,2963,2670,2010,1747,1815,2056,2171,1939,2343,2536,2516,2445,2168,2386,2270,2527,2631,1963,1813,2050,2175,2176,2212,2250,2319,2264,2094,2251,2530,2423,2681,2454,2566,2278,2105,2215,1926,2069,2434,2833,2956,2391,2223,2468,2329,1933,1926,1748,1587,1614,1582,1718,1764,1676,1553,1437,1690,2272,2540,3462,3499,3497,3416,2679,2314,1984,1598,1704,1664,1863,2446,1987,2012,2547,2103,1555,1633,2467,2405,2449,3110,3218,2876,2574,2021,1844,1988,2182,2108,2035,1904,1678,1680,1899,2080,1870,1814,2020,2162],[2662,2995,3052,2719,2533,2668,2702,2800,3434,3871,3278,2455,2199,2441,2600,2256,2294,2954,2533,1854,1833,1960,2000,2746,3226,2612,2662,2571,1842,1952,2894,3233,3308,3623,3737,3558,3543,2632,2658,3091,2984,2558,2581,2720,2795,2932,3173,3472,3482,2636,2602,2685,2383,1916,2766,2453,1758,1784,2035,2280,2810,2908,2495,3469,3872,3487,2249,2290,2592,2759,2900,2443,2026,1918,1976,2078,2534,2570,2248,2308,2255,1979,1839,1796,1684,1768,2142,2679,2700,2171,1693,2084,2428,1804,1899,1831,1797,1946,1893,2417,2445,1756,2142,2671,2403,1945,2129,2098,1814,1866,1705,2164,3016,2820,2360,2584,2620,2100,2631,3007,2071,1701,2123,2690,2376,2135,2179,2137,2115,2331,2331,2548,3024,2535,2899,2740,3717,3961,3948,3819,2965,2452,2886,2879,2735,2570,2233,1663,1857,2407,3123,2495,2894,2858,2552,3019,2567,1963,2363,1859,2010,2340,2142,2167,2471,2581,2679,2510,2657,3331,3255,2563,1818,1519,1733,2061,2054,1903,2144,2621,2153,2002,2013,1939,2413,3051,3562,3717,3868,4133,4047,3021,2452,3648,3592,3494,2868,1838,2318,3427,3530,3748,4144,4000,4251,4434,4457,4332,4472,4331,4001,4283,3859,3390,2894,2465,2042,2074,2114,2511,2562,2480,2635,2610,2463,2307,2466,2519,2321,2161,2334,2724,2723,2645,2503,2557,2712,2702,2522,2937,3164,2861,2701,2875,2947,2763,2248,1929,1966,2496,3336,2978,2748,2850,2990,2706,2792,2812,2670,2824,2836,2763,2757,2819,2536,2337,2523,2229,2184,1963,1776,1780,1969,2288,1831,1606,1871,1904,1897,1787,1716,1447,1753,1761,1482,1443,1836,2258,2088,1877,1737,1967,2039,1965,2435,2169,1877,2220,2343,1999,1894,2060,2095,1868,1626,1877,2556,2351,2143,2488,2235,2353,2475,3128,3904,3941,3951,3942,3851,3746,3636,3456,3277,2587,2103,3071,3992,4139,3995,3683,2988,2208,1947,1861,1912,1753,1673,1755,1757,1609,1480,1422,1504,1306,1346,1451,1498,2331,2451,2234,2222,2321,1894,2059,2868,3001,1853,1242,1498,1891,1987,2176,1698,1632,1326,1626,1531,1373,1278,1277,1440,1421,1279,1256,1405,1667,1630,1734,1886,1981,2072,1978,1772,1699,1610,1708,1897,1756,1671,1591,1729,1704,1386,1287,1178,1394,1662,1796,1860,1726,2262,2605,2312,2269,2401,2568,2718,2558,2345,1919,1866,1700,1862,1800,1678,2276,2431,2456,2603,2021,1758,1794,1534,1677,1998,2387,2115,1750,1853,2159,3050,3230,1720,1465,1454,1454,1683,1615,1690,1874,1880,1677,1670,1612,1492,1932,2069,2055,2121,2338,1894,2019,2922,2633,1658,1716,2194,1788,1378,1355,1470,1992,1762,2264,1957,1706,1896,1980,1563,1464,1835,2759,3837,3915,3795,3016,3132,2863,2795,2654,2644,2270,1863,1900,1898,1610,1557,2010,2930,3704,4078,3825,2509,2286,2336,1778,1577,1805,1817,1669,1793,1768,1632,1744,2520,2122,1992,2072,1870,1479,1418,1580,1660,1870,1623,1514,1847,1925,1649,1428,1694,1749,1694,1864,2285,2085,1993,2216,1740,1506,1410,1742,1617,1625,1764,1858,2048,1703,1360,1479,1875,1748,1291,1624,1660,1880,2160,1987,1672,1807,1556,1607,1900,1741,1790,2474,2258,1670,1385,1418,1391,1676,1578,1542,1722,1576,1537,1755,1560,1561,1356,1377,1529,1418,1274,1320,1526,1380,1463,1681,1774,1732,1606,1403,1449,1673,1640,1613,1867,1591,1405,1635,1825,1853,1810,1729,1783,1818,1409,1629,2210,2282,2300,2197,1753,1793,1920,2278,2188,1193,823,1172,1338,1297,1348,1196,1197,1665,1624,1480,1383,1388,1392,1324,1488,1736,1727,1367,1306,1346,1282,1383,1485,1394,1321,1559,1616,1451,1460,1261,1167,1512,1943,2117,2560,1894,1446,1233,1266,1323,1305,1193,1159,1253,1284,1258,1322,1916,1528,1257,1216,1478,1530,1355,1238,1268,1326,1344,1450,1415,1372,1428,1621,1491,1421,1660,1815,1549,1415,1361,1327,1479,1610,1798,1925,1812,1660,1800,1973,2215,2279,2023,1638,1704,1699,1452,1495,1632,1721,1784,1828,2093,2889,2941,2888,2678,2648,2305,2188,2104,1881,1760,1656,1985,2093,2294,2472,2536,2210,2136,2687,3099,3134,2715,2194,2073,2573,2288,1897,1991,2467,3584,4192,4057,3553,2922,2344,2318,2403,2412,2065,1934,2217,2298,2546,2489,2691,2993,3726,3895,3440,3328,3060,2564,2242,2176,2077,1580,1798,2375,2678,2806,2884,2519,2236,2508,3279,3521,2846,2655,2238,2176,2055,2270,2359,3067,3229,2741,2757,3089,2830,1790,1674,2508,2566,2478,2510,2394,2166,2151,2382,2659,2494,2001,1929,1631,1698,2074,2156,2412,2195,2287,2547,3063,2706,2424,2526,2372,2209,2645,2974,3503,3853,2954,3210,3381,3075,3187,3709,3661,3041,2474,2094,2344,3082,3285,2457,1851,2548,2577,2619,3384,3008,2313,2402,2584,2385,1999,1879,2750,3201,3271,3216,3141,3005,2259,2155,2674,2548,2346,2369,2296,2156,1448,1967,2705,2221,2670,2410,2137,1798,2022,2367,1786,2014,2349,2124,1850,1680,2209,2464,2919,2138,1677,1873,1869,1477,1413,1488,1444,1492,1419,1709,1825,1635,1846,1617,1437,1462,1460,1582,1542,1464,1430,1346,1315,1335,1378,1723,1877,1708,1714,2015,2526,1902,1996,2359,2039,2169,2559,2387,2129,1842,1662,2010,2494,2336,2956,4063,4380,3710,2936,3231,3319,2830,2519,2190,1991,1804,1578,1650,1810,2337,2388,1908,1476,1642,1747,1495,1599,1611,1404,1598,1517,1462,1501,1456,1659,1609,1399,1614,2077,2202,1970,1620,1804,2318,2692,2525,2576,2593,2576,2635,2807,2743,2163,1794,1312,1202,1818,2460,2086,1402,1167,1282,1338,1292,1310,1338,1481,1692,1772,1688,1661,1645,1600,1736,1759,1485,1497,1883,2055,1367,1288,1814,1592,1481,1798,1597,1587,1511,1282,1337,2263,3211,3067,2298,1531,1094,1158,1295,1124,1409,1453,1670,3043,3741,3740,3580,3221,2654,1859,1768,1936,1916,1680,1830,2912,3482,2864,1960,1505,1478,1829,2082,1923,1694,2174,2049,2092,1936,1443,1568,1626,1575,1552,1638,2019,1946,1171,1147,1411,1474,1411,1380,1387,1809,1394,1244,1253,1166,1748,1961,1448,1597,1989,2151,2402,2465,1500,1200,1903,2120,1885,1491,1337,1231,1056,1174,1353,1642,1937,1883,1768,1571,1455,1194,1140,1283,1556,1811,1705,1621,1777,1915,1755,1749,2002,1656,1634,1811,1560,1450,1513,1653,1657,1520,1319,1482,2038,2156,2373,2651,2799,1919,2002,2472,2289,2015,1853,1698,2205,2305,1728,2155,3263,3805,3804,3697,3701,3406,3039,2743,2184,2092,2573,2551,2398,2370,2319,2767,2305,1987,1885,2110,2230,1957,2552,3791,3513,3536,4034,4374,4337,4522,4501,4288,3870,2910,2837,3311,3384,2995,2396,2547,2891,3140,3138,3134,2850,2934,3352,3409,3131,2890,2769,2919,2994,2887,3006,3016,2993,2967,3077,3046,2813,2968,3533,4035,3934,3176,2909,2918,2887,2702,2451,2359,2412,2500,2545,2416,2344,2350,2500,2933,3091,3006,3428,3482,3520,3587,3654,3262,2721,3028,3589,3342,2846,3044,3321,3363,3300,3715,3486,3039,2967,2733,2622,2590,2770,2896,3181,3465,3012,2776,3076,3739,3804,3585,3744,3379,2494,1844,1800,2250,2156,1509,1424,1606,1542,1500,1451,1312,1238,1554,1510,1307,1187,1280,1405,1395,1392,1349,1482,1828,1967,1752,1615,1693,1600,1799,2055,2141,2082,1670,1633,1595,2044,2000,1857,1778,1824,1631,1671,2024,2170,1884,1844,1888,1838,1617,1482,1709,1500,1390,1387,1366,1539,1623,1377,1393,1676,1744,1580,1714,1526,1588,1578,1879,1829,1527,1449,1411,1516,1915,2013,1922,2000,1896,1840,1578,1560,1684,1629,1504,1448,1697,1845,1684,1873,1894,2009,1921,1862,1964,1768,1681,1947,2029,1860,1731,1564,1471,1499,1555,1776,1969,1806,1704,1787,1736,1621,1535,1505,1511,1443,1472,1571,1772,2265,2339,1885,2032,2307,2617,2446,1819,1628,1685,1606,1491,1371,1477,1777,1571,1793,2010,2036,1825,1626,1730,2171,2178,1716,1534,1541,1582,1448,1520,2424,2800,2425,2100,2030,1959,1540,1662,1878,1848,1984,1925,1547,1858,2188,1867,1713,1841,1728,2646,3150,2562,2479,2533,2856,2685,2299,1901,1670,1514,1511,1440,1343,1239,1545,2195,2382,2143,1884,1603,1948,2085,2012,1678,2093,2154,1795,1705,1766,1685,1440,1532,1491,1389,1484,2354,2436,1793,1552,1396,1625,1945,1842,2004,1951,1661,1776,1804,1712,2031,2127,1774,1591,1521,1857,2216,2070,1886,1548,1762,1899,1738,2218,2375,2192,1977,2334,2086,1952,2038,1852,2217,2765,2957,2376,2197,2301,2707,2865,2542,2258,2377,2306,2366,2428,2134,2115,1986,1598,1544,1594,1763,1805,1717,1869,1848,1969,1976,1665,1632,1607,1360,1498,1836,2203,2113,2082,2082,1967,1814,1880,2037,1721,1687,1807,1554,1445,1343,1470,1865,2238,2164,1970,1709,1719,1698,1574,1705,1797,2073,2441,2615,2252,2002,1862,1788,1824,1632,1897,1803,1503,1571,1743,1736,1749,1497,1755,1854,1692,1832,1855,1874,1974,1785,1685,1795,1945,1910,1747,1809,1711,1745,1948,1668,1579,1897,1913,1646,1615,1792,1866,1642,1776,1721,1516,1595,1565,1638,1833,1752,1683,1926,2324,2884,3152,2396,2106,1872,2146,2018,1995,2227,2181,2113,1855,1824,1966,1851,1766,2182,2548,2148,2359,2322,2240,1929,1786,1910,2063,1854,1749,2178,2426,2169,1784,2084,2548,2219,2472,2324,1938,1941,2172,2219,2331,2288,2024,2112,2060,2076,2215,2257,2452,2741,2412,2298,2115,2069,1930,2022,2352,2519,2598,2323,2233,2530,2631,2381,2061,1737,1707,1630,1640,1538,1612,1785,1821,2223,2364,1662,1709,2532,3594,3825,3705,3395,2852,2625,2038,1574,1686,1531,1648,2146,1936,2114,2421,1970,1271,1348,1870,1910,1818,2509,2875,3183,3353,2492,1994,1989,1989,1975,2188,2092,1719,1685,1837,1870,1598,1666,1904,2158],[2958,3106,2652,2140,2292,2702,2884,2788,3638,3755,3030,2644,2396,2727,2985,2499,2312,3054,3090,2721,1988,2411,2754,2977,3117,2820,2889,2906,2120,1549,1852,2460,3181,3153,3393,3526,2862,1957,2116,2743,2741,2771,2843,2956,3228,3142,3279,3373,3604,3361,3241,3295,2652,1749,1860,1933,1780,2321,3043,3298,3809,3541,2937,3327,3418,2799,2386,2676,3012,3008,3022,2505,1710,1793,1986,1913,2326,2361,1878,2245,2194,1824,1898,1865,1682,1854,1923,1637,1668,1831,1622,1615,1418,1335,2330,2343,2202,2543,2334,2361,2416,2246,2568,2084,1842,2122,2336,2585,2796,2832,2323,2263,2609,2735,2498,2297,2192,2029,2181,2432,2142,1948,2530,2691,2447,2401,2597,2653,2668,2900,2362,2125,2276,2285,2477,2642,3471,4155,4204,3481,2460,2509,2798,2934,3050,2431,2217,1860,2170,2917,3277,2673,2635,2511,2134,2223,2531,2501,2468,1681,1778,2026,2027,2217,2365,2380,2188,2894,3024,2492,2366,2127,1592,1620,1544,1830,1630,1607,1797,2427,2321,1985,2214,2409,2398,2602,2854,3094,3046,3196,3138,3243,3584,3654,3496,3640,3082,2579,3111,3226,3050,3740,4204,4355,4260,4277,4272,4229,4144,3920,3928,4059,4360,4404,3942,2911,2075,2032,1984,2800,3348,3030,2644,2755,2912,2958,2814,2419,2266,2400,2688,3175,3378,3595,3452,3145,2896,2976,3189,3188,3118,2937,3010,3345,3292,2950,3110,3146,2830,3594,3666,3165,3156,3281,3396,3227,2558,2286,2392,2480,2360,2612,2884,2877,2170,2193,2336,2019,1919,1945,2106,1962,2314,2822,2020,1602,1682,1870,1911,1788,1512,1575,1794,1630,1453,1417,1823,2062,1824,1813,1836,1713,1582,1792,2078,2207,2337,2308,2117,1994,1808,1826,1749,2029,2659,2675,2824,2779,2481,2187,2399,2754,2645,3131,3892,4024,4085,3907,3419,3874,4060,3772,3480,3119,3260,3784,4138,4156,4018,3924,3603,2477,1772,1676,1654,1564,1515,1469,1462,1531,1453,1542,1566,1225,1566,1778,1966,1814,1729,1587,2056,2056,1604,2004,2886,2520,1404,1309,1485,1647,1568,2000,1613,1291,1348,1781,1678,1456,1546,1435,1307,1278,1356,1585,1516,1797,1545,1521,1450,1681,1935,1793,1789,1907,1880,1976,1929,1659,1720,1766,1798,1686,1427,1449,1301,1487,1662,1573,1661,1454,1750,2007,1916,1815,2013,2314,2467,2181,1792,1478,1560,1623,1632,1760,1902,2057,1941,2325,2743,2266,2274,2221,1605,1558,1876,2064,1968,1915,2070,2435,2786,2590,1679,1866,1990,1733,1709,1786,1991,2023,1960,1753,1819,2009,1864,1804,1734,1745,2382,2753,2448,2426,2827,2743,1814,1477,1710,1508,1634,1585,1660,1965,2186,1920,1592,1477,1556,1592,1572,1672,1744,2303,3131,2878,3426,3112,2942,2858,2610,2657,2291,1636,1868,2259,2078,1788,1584,1997,2855,3204,3436,3307,2214,1664,1542,1397,1464,1712,1831,1702,1723,1598,1578,1845,3006,2999,2322,2434,2346,1520,1682,2103,1848,1726,1448,1459,1519,1682,1681,1561,1504,1611,1721,1751,1866,1870,2029,2136,1816,1657,1780,2138,1741,1524,1738,2056,1954,1619,1381,1554,1887,1770,1821,2429,2406,2523,2182,1753,1715,1477,1306,1504,1498,1471,2076,2888,1960,1455,1383,1391,1478,1526,1376,1403,1824,1864,1577,1496,1387,1230,1267,1343,1543,1458,1471,1688,1708,1583,1635,1668,1591,1691,1807,1681,1606,1622,1694,1754,1714,1370,1486,1508,1510,1771,1858,1775,2082,2279,2114,1857,2109,2130,2231,1857,1728,1874,2120,2462,1857,764,851,1214,1248,1414,1347,1451,1334,1830,2187,2138,1954,1569,1368,1294,1376,1598,1824,1661,1308,1202,1341,1435,1428,1383,1256,1259,1375,1407,1269,1256,1407,1760,1950,1932,2376,2150,1468,1215,1290,1337,1338,1221,1374,1414,1345,1415,1384,1449,1317,1295,1249,1445,1465,1330,1317,1404,1360,1498,1443,1490,1364,1337,1533,1510,1568,1758,1765,1591,1505,1346,1401,1252,1435,1584,1855,1944,1821,1920,2072,2068,1922,1668,1540,1459,1381,1558,1857,1837,1702,1607,1991,2309,2588,3090,2956,2398,2294,2178,1992,2130,1848,1703,1825,2176,2027,2506,3094,3265,3053,2890,2878,3171,3460,2720,2289,2452,2657,1986,1736,1847,1929,2642,3437,3619,3274,2429,1863,2317,2411,2200,1832,1964,2047,1996,2232,2788,3545,3934,3662,3132,3078,3030,2833,2517,2788,2666,2148,1455,2192,2589,2359,1961,2182,2242,2023,2710,3416,2973,2226,2448,2498,2424,2589,2508,2899,3593,3190,3039,2954,2564,2083,1972,2811,3803,4100,3281,2649,2442,1991,2008,2020,2011,2142,1855,2040,2289,2733,2463,2265,2138,1754,2185,2711,2973,2696,2895,3163,2531,2166,2228,2249,2609,2830,3368,4339,3572,2666,2929,3146,3455,3680,3112,2757,2648,2496,2801,2480,1776,1863,1795,2322,2648,2387,2334,2242,2143,2042,1957,2182,2873,3212,3352,3045,2990,2722,2072,1811,2379,2515,2066,2030,2238,2272,1737,2422,3138,2240,2757,2315,2342,2238,1883,2040,1951,1939,2347,2490,2040,1850,2264,2611,2463,2103,2207,2322,2107,1562,1405,1527,1615,1671,1422,1604,1575,1585,1582,1610,1625,1489,1423,1462,1446,1456,1456,1365,1451,1415,1447,1466,1415,1429,1416,2002,2426,2298,2439,2458,2368,2314,2380,2166,2250,1797,1873,2500,2392,2404,3087,3760,4140,3532,2957,3248,3682,3626,2971,2438,1822,1681,1527,1577,1856,1991,2353,2360,1648,1529,1678,1802,1688,1597,1729,1798,1451,1308,1462,1509,1428,1379,1456,2120,2157,1774,1738,1526,1861,2192,2580,2646,2524,2575,2665,2942,2990,2562,2282,1998,1460,1209,1775,2398,2061,1538,1273,1366,1434,1262,1231,1364,1668,1818,1866,1692,1978,1949,2000,2120,1929,1770,1745,1795,2042,1403,1393,1688,1722,1753,2137,1784,1608,1609,1451,1473,2306,3038,2730,1994,1576,1091,1287,1358,1322,1574,1389,1401,2376,3529,3586,3308,3096,2612,1996,1870,1834,1896,1678,2009,2939,3648,3187,2068,1625,1534,1728,1948,1817,1728,2086,1959,2026,1760,1184,1134,1214,1378,1350,1454,2298,2266,1192,1247,1515,1379,1438,1385,1520,1605,1238,1189,1338,1343,1804,1796,1288,1974,1825,2115,2617,2245,1722,1621,1652,1542,1428,1446,1452,1205,1135,1472,1691,1393,1328,1308,1367,1367,1399,1266,1216,1242,1247,1272,1297,1702,1808,1833,1848,1758,1737,1473,1554,1582,1581,1825,2162,2204,1954,1838,1003,1139,1508,1895,2225,2125,1981,1802,1888,2109,2123,1967,1762,1422,2061,2513,2170,1826,2412,3385,3719,3600,3597,3517,3211,2995,2419,2049,2329,2736,2336,2408,2569,2480,2196,2004,1930,1982,2216,1921,2115,3544,3913,4117,4062,4371,4675,4787,4572,4160,3239,2442,2661,3344,3321,2865,2029,2702,3063,2750,2666,2777,2621,2806,3038,3068,3134,3244,3184,2985,2238,2624,3013,3044,2967,2980,3012,2924,2910,3084,3312,3398,3385,3075,3005,2909,2789,2543,2474,2502,2425,2411,2410,2369,2249,2249,2789,3345,3399,2981,3377,3308,3122,3066,3040,2940,2687,2754,3301,3294,2802,2832,3128,3106,3162,3152,3340,3562,3619,3211,2603,2675,3037,2954,3063,3430,2974,3344,3704,3830,3773,3664,3597,3259,2532,1704,1543,1592,1495,1504,1570,1882,1804,1526,1394,1404,1367,1526,1554,1259,1133,1297,1467,1580,1566,1538,2031,2219,2179,1700,1518,1626,1455,1427,1623,1707,1970,1749,1582,1889,2267,1862,1531,1426,1561,1503,1630,2116,2208,1798,1887,1542,1616,1602,1399,1310,1384,1304,1382,1509,1638,1625,1294,1448,1544,1727,1710,1505,1543,1677,1541,1646,1886,1822,1823,1670,1527,1804,1836,1738,1860,1880,1902,1859,1706,1488,1193,1112,1539,2117,1888,1539,1819,2061,2228,2175,1958,1759,1802,1929,1893,1632,1409,1280,1323,1581,1751,1623,1745,1204,1356,1729,1692,1522,1471,1654,1714,1710,1740,1628,1867,1822,1625,1721,1991,2240,2501,2795,2783,2103,1914,1542,1802,1593,1425,1606,1991,2020,2223,2126,1846,1664,1534,1504,1645,1816,1953,1644,1534,1545,1479,1844,2466,2266,2105,2010,1853,1737,1779,1823,1927,1837,1839,1559,1469,2002,2619,2383,2056,2189,2135,2492,2627,2452,2419,2486,2820,2640,2435,1947,1531,1543,1683,1481,1196,1340,1909,2436,2149,1880,1792,1610,2244,2795,2689,2237,2031,1807,1653,1410,1454,1770,1677,1665,1462,1432,1543,2141,2120,1606,1294,1321,1937,2258,1781,1932,1817,1682,1792,1686,1623,1838,2082,1971,1772,1783,2345,2679,2353,2233,1779,1798,1898,1545,1892,1978,1955,1969,2110,2168,2491,3018,2821,2488,2249,2160,1990,2115,2376,2292,2467,2391,2353,2683,2711,2480,2277,2036,2059,1995,1993,1936,2168,2631,2313,1980,2222,2198,1995,1953,1962,1832,1720,1566,1562,1954,2460,2600,2496,2224,1957,1687,2222,2618,2019,1618,1809,1748,1709,1946,1842,1837,1980,1828,1758,1619,1717,1927,1919,1921,1671,1774,1952,1853,1896,1666,1580,1650,1630,1632,1636,1566,1576,1702,1793,1658,1698,1665,1924,1901,1696,1708,1572,1892,2182,1851,2026,2230,2067,2004,1835,2012,1966,1891,2122,1869,1562,1610,1897,1866,1571,1637,1814,1588,1997,1744,1713,1719,1649,1830,2040,1825,1872,2481,2768,2581,2389,2424,2186,1884,2101,1792,1814,2266,2979,2806,1936,1648,1598,1788,2178,2174,2244,1938,2178,2200,2338,2040,1845,2083,1980,1781,1610,1942,2221,1999,1594,2321,2544,2144,2624,2303,1883,2032,2026,2378,2604,2122,1966,1754,1769,1914,1964,1958,2012,1900,2097,2150,2120,2080,1924,2237,2343,2002,2258,2299,2405,2463,2266,2302,2158,2905,3364,1735,1655,1466,1654,1609,1653,2708,2822,1876,1793,2956,3896,3853,3646,3304,2952,2406,1752,1536,1718,1562,1569,1627,1598,1736,1953,1614,1242,1568,2637,2832,2823,2758,2994,3432,3152,2310,2092,1998,2084,2142,1992,1996,1810,1626,1848,1849,2042,1942,2222,2138],[3015,2842,2797,2473,2609,3067,3244,3059,3285,3512,3774,3505,2846,2783,2791,2662,2300,2503,2945,2739,2424,3211,3826,3497,2868,2597,2731,2830,2214,1713,1595,2532,3232,3216,3473,3226,2634,1935,1777,2274,2833,3165,2858,3075,3397,3323,3577,3374,3530,3692,3793,3883,2919,1661,1685,1974,1793,2643,3524,3303,3654,3540,3382,3359,3189,2791,2462,2525,2792,2600,3071,2565,1911,1817,1836,1709,1626,1662,1786,2140,2050,1839,2164,2212,1782,1606,1751,1354,1407,1624,1981,1794,1552,1678,2159,2458,3001,3219,2509,2381,2570,2534,2136,1689,1940,1934,2344,3029,2896,2468,2112,1880,2392,2663,2320,2324,2422,2082,1788,1852,1720,1957,2205,1980,2145,2524,2462,2732,3293,3629,3046,2192,1897,2662,2968,3252,3464,3615,3828,3244,2253,2140,2699,3386,3233,2591,2302,2051,2566,3066,2776,2642,2452,2291,2273,2439,3294,3150,2511,2344,2166,2118,1951,1910,2246,2072,2249,3084,2500,1798,1726,1980,1726,1670,1708,2051,2230,2114,1875,2707,2985,2341,2282,2249,2388,2674,2468,2652,2562,2308,2797,3763,3975,3320,2798,2886,2856,2934,3920,4083,3706,3961,4108,4184,3994,4377,4459,4183,3894,3765,3642,3854,4444,4760,4428,2814,2080,2121,2560,3476,3669,3253,3062,2919,2923,3394,3352,3206,3123,3297,4056,3894,3834,4014,3699,3672,3693,3752,3903,3796,3851,3676,3529,3631,3846,4097,4082,3668,3679,4013,3428,2978,3319,3217,3210,3263,2566,2552,2281,2281,2312,2830,2714,1972,1576,1848,2210,1969,1587,1690,2196,2250,2083,2072,1553,1432,1512,2161,2219,1859,1755,1679,1697,1575,1562,1544,1505,1643,1891,1771,1865,1966,2302,2397,2225,2445,2292,2250,2152,2671,2071,2113,1931,1703,1926,2297,2533,2567,2280,2108,2663,3398,3455,3020,2813,3682,3894,3212,3274,3882,4100,4008,3664,3646,3960,3815,4039,4016,3973,3985,3973,3208,1987,1447,1472,1433,1554,1561,1324,1420,1538,1729,1682,1377,1579,2055,2850,2495,1896,1439,1694,1660,1456,2208,2364,1810,1300,1506,1774,2157,1662,1349,1223,1331,1390,1421,1465,1426,1415,1313,1243,1366,1728,1963,1853,1753,1475,1430,1456,1637,1671,1555,1645,1882,2015,1803,1787,1831,1865,1776,1729,1727,1692,1732,1732,1737,1707,1528,1453,1649,1533,1889,1941,1959,2003,2438,2409,2039,1818,1393,1708,1902,1731,1640,1873,1769,1655,2090,2602,2263,1987,1823,1387,1361,1590,1892,1910,1684,1686,1741,1872,1858,1621,1670,1641,1582,1752,1810,1727,1599,1964,1989,1977,2382,2124,1775,1899,2053,2309,2462,2548,2442,2916,3128,2619,2250,2204,2543,2397,2023,1696,1728,2059,1959,1794,1609,1477,1754,1874,1716,1894,2328,2321,2092,2397,2024,2219,2376,2111,2010,1878,1637,2041,2499,2246,1606,1489,1689,1937,2362,2854,2426,1707,1521,1557,1332,1372,1712,1969,1901,1804,1694,1493,1891,2985,2986,2156,2458,2428,1748,1695,1621,1621,1851,1739,1537,1428,1585,1684,1656,1861,2084,1909,1676,1751,1823,1779,1910,1800,1764,1844,1889,1825,1745,2128,2105,1819,1658,1478,1446,1364,1410,1997,1942,1610,2076,1831,1519,1574,1449,1369,1404,1502,1748,2202,2287,1820,1696,1568,1719,1693,1379,1353,1316,1498,1665,1384,1322,1302,1263,1385,1505,1519,1398,1514,1794,1896,1773,1730,1550,1524,1686,2023,1946,1669,1709,2007,2124,1676,1465,1710,1516,1340,1554,1800,1736,1916,2237,2336,2445,2129,2126,2244,1797,1742,1829,2218,2168,1071,683,962,1256,1643,1801,1792,1980,1684,1503,1806,1965,1899,1599,1271,1349,1324,1368,1356,1338,1260,1378,1593,1530,1572,1888,1822,1480,1225,1292,1213,1259,1579,1817,1640,1437,1485,1560,1463,1351,1419,1496,1474,1358,1907,1491,1432,1507,1528,1375,1436,1461,1225,1219,1306,1306,1278,1436,1553,1358,1550,1913,1489,1718,1904,1718,1725,1807,1786,1876,1548,1213,1269,1318,1513,1431,1730,1926,1849,1828,1958,1856,1506,1427,1571,1561,1843,2009,2145,1892,1898,1915,2222,2176,2100,2503,2728,2479,2207,2031,2259,2377,1644,1630,1773,1880,1940,2410,2701,3090,3012,2445,2310,2764,3061,2248,2369,2871,2432,1764,1639,1727,1776,2107,2713,3063,2843,2238,1824,2112,2008,2051,1908,1848,1874,2009,2578,3184,3493,4158,3799,2584,1892,2075,2830,2711,3284,3410,2750,2353,2667,3527,3308,2071,2214,2009,1801,2769,2407,2319,2647,2509,2819,2676,2686,2560,2851,2873,2215,2361,2058,2227,2548,3251,3256,3332,3136,2189,2798,3230,2595,2633,2556,2284,2200,1763,1660,2047,3146,2435,2398,1805,1654,2059,2210,2134,2091,2655,2523,2277,2767,2757,2481,2428,2589,3655,4341,3641,2842,2459,2982,3997,4289,3637,2315,2755,2340,2459,2462,2316,2101,1888,2417,2899,2591,2506,2699,2678,2692,2461,2790,2990,3156,3100,2628,2468,2547,2169,1950,2384,2681,2079,2094,2491,2315,2167,2856,3206,2308,2315,2545,2856,2741,2135,1989,1995,1858,2302,2393,2131,1664,2093,2857,2368,2107,2285,2279,2175,1588,1527,1697,1621,1654,1385,1390,1458,1578,1695,1634,1388,1155,1098,1281,1423,1365,1486,1599,1640,1519,1494,1495,1515,1554,1654,2075,2392,2348,2281,2124,2529,2835,2291,1678,2056,2020,2468,3073,2483,2206,2619,2620,2549,2655,3233,3623,4052,4232,3863,3063,2032,1758,1816,1836,1762,1607,1938,1951,1604,1554,1833,2018,1860,1592,1756,1948,1850,1642,1593,1559,2068,2370,1934,2668,2352,2117,2378,1791,1735,2075,2497,2710,2379,2408,2526,2952,2941,2190,2215,1855,1409,1172,1586,2234,2173,1604,1281,1383,1434,1265,1388,1549,1634,1762,1930,1945,2015,1926,1838,1715,1721,1837,1853,1828,1874,1565,1506,1635,1644,1729,2072,1976,1634,2076,2437,2182,2113,2117,1985,1814,1615,1156,1173,1133,1525,1678,1453,1291,1532,2547,2720,2285,2146,1953,1647,1426,1434,1743,1679,2088,2871,3265,3317,2172,1759,1590,1400,1462,1433,1367,1757,1852,1747,1321,1092,1199,1248,1815,1849,1637,2469,2041,1503,1438,1371,1470,1533,1428,1469,1334,1187,1447,1951,1512,1644,1735,1701,1797,1440,1434,1640,1608,1704,1644,1371,1561,2337,2011,1497,1106,929,1266,1575,1445,1280,1271,1313,1265,1280,1325,1282,1343,1304,1263,1525,1624,1710,1756,1940,1880,1529,1438,1478,1494,1665,2057,2078,1878,2069,1907,1052,1132,1502,1911,2241,2185,1983,1891,1957,2006,2049,1893,1828,1504,1895,2612,2589,2088,2396,3405,3736,3628,3646,3632,3226,2958,2746,2344,2524,2907,2519,2525,2728,2445,2267,2047,2009,1985,2313,1819,1836,3095,3863,3846,3749,3968,4083,4241,3839,3179,2541,2936,2688,2923,3186,3132,2668,2711,2600,2544,2765,2687,2655,2667,2452,2482,3056,3386,3166,2766,2185,2703,2793,2714,3000,2984,3095,3206,3183,3069,2928,3053,3009,3075,3087,2933,2646,2496,2565,2410,2199,2299,2269,2111,2060,2147,2708,2878,2824,2675,2944,2902,2800,3010,3433,3663,3520,2973,2761,3186,2824,2884,3107,3010,3054,2956,3275,3579,3472,3095,2644,2929,3416,3365,3732,3714,3243,3283,3222,3351,3508,3406,3330,3121,2697,1681,1493,1474,1520,1586,1705,1610,1566,1476,1428,1399,1299,1394,1167,1218,1371,1579,1588,1469,1659,1981,1865,1986,2100,1847,1567,1602,1344,1383,1674,1655,1946,1656,1529,1734,1593,1359,1300,1338,1421,1316,1616,2245,1986,1886,1819,1417,1383,1451,1315,1196,1323,1350,1452,1588,1860,2087,1546,1577,1527,1557,1386,1464,1666,1439,1366,2138,2512,2098,1909,1747,1734,1720,1790,2034,2050,1992,1983,1842,1648,1348,875,1283,1789,2073,1976,1905,1867,1784,2042,2087,1889,1826,1845,1744,1522,1455,1091,927,1252,1905,1900,1685,1736,1427,1499,1710,1570,1420,1775,1839,1548,1648,1770,1759,1906,2105,2136,2035,2214,2906,2945,2709,2849,2498,2264,1616,1394,1405,1558,1827,2044,2105,1979,1771,1824,1685,1743,1564,1531,1738,1844,1833,1654,1681,1736,1544,1619,1794,1847,2008,2136,1769,2131,1946,2036,1847,1839,1848,1704,1752,2288,2305,1966,2014,2025,2164,1961,1788,2002,2066,2566,2642,2167,1796,1553,1926,2215,1952,1586,1522,1753,1897,1763,1785,2129,2205,2420,2691,2519,1983,1727,1640,1680,2123,1627,1834,1862,1682,1719,1676,1596,1887,1809,1462,1561,1617,1978,1853,1501,1644,1581,1593,1614,1608,1658,1825,1920,1808,1748,1944,2198,2120,2213,2423,2359,2968,2636,1885,1836,1634,1810,1990,1806,2046,2508,3110,3100,2007,1697,1790,1741,2232,2424,1917,2007,2120,2201,2503,2770,2584,2459,2257,2409,2470,2340,2195,2132,2140,1898,1781,1868,1967,1904,1719,1994,2122,2060,2016,1856,2256,2370,2823,3270,2409,1921,2294,2794,2569,1826,1632,1619,1606,1907,2532,2361,1860,1547,1516,1595,1605,1564,1725,1937,1928,1678,1853,1892,1655,1649,1542,1460,1462,1476,1445,1477,1518,1604,1751,2035,1940,1828,1774,1747,1724,1650,1516,1406,1836,2428,2248,2426,2371,2249,1897,1972,2030,1935,1835,1840,1973,1998,1931,2251,1843,1476,1561,1755,1723,1694,1616,1724,1897,1872,2128,2217,1615,1669,1896,2237,2210,2138,1856,1985,1929,1842,1832,1744,1996,2722,2711,1990,1771,1736,1916,1944,2062,2317,2270,2155,1875,2054,2216,2260,2050,2074,2244,1801,2222,2689,2877,2557,2742,2496,2149,2508,2210,1699,1809,1918,2680,2818,2157,1761,1616,1870,1884,1966,2181,1829,1701,2183,2160,2195,2037,1984,2074,1988,2236,2450,2532,2438,2241,2314,2438,2063,2352,2872,1800,1580,1560,1568,1529,1770,2351,2260,2027,2067,2774,3882,3883,3333,2824,2804,2205,1722,1668,1751,1694,1569,1575,1685,1847,1782,1618,1699,2142,3472,3299,2756,2247,2635,2680,2366,2733,2663,2019,1878,1844,1725,2106,1810,1685,1779,1694,1838,1940,1806,1519],[3008,3131,3210,3159,3305,3406,3262,3161,3185,3287,3517,3636,3482,2846,2796,2796,2482,2139,1909,2392,2734,3192,3895,3138,2285,2454,2670,2496,1952,2183,1866,2165,3008,3385,3371,3304,2866,1789,1186,1625,2501,2820,2702,3212,3351,3178,3563,3327,3364,3651,3728,3965,3162,1806,1733,2273,2527,3116,3333,3315,3686,3633,3400,3540,3470,3151,2886,2059,1743,2018,3298,2752,2071,1929,1946,1561,1350,1497,1804,2398,2532,2193,2109,2504,1952,1781,2172,1776,1880,2089,2498,2917,2571,2178,1996,2203,2489,2357,2073,1998,1737,1473,1374,1504,1816,2006,2282,2375,2547,2510,2304,2221,2687,2722,2562,2482,2416,2264,1780,1489,1543,1847,2160,2223,2402,2595,1897,2643,3421,3476,3050,2562,2677,3138,3238,3195,3397,3429,3088,2628,2669,2380,1919,2443,2525,2285,2372,2603,2894,3066,2833,2490,1706,1971,2211,2597,2736,2456,2249,2646,2386,1930,1661,1657,2002,2426,2872,3337,2612,2083,1989,1949,1929,1899,2204,2291,2348,2510,2625,2398,2299,2326,2144,2386,2471,2643,2554,2753,2473,2226,3178,3996,3658,2959,1988,2356,3330,3710,4116,4164,4116,4332,4473,4367,4396,4500,4331,4163,3838,3719,3000,3377,4440,4577,3903,3229,2924,3055,3662,4169,4260,4019,3841,3573,3737,4050,4082,4140,3730,3271,3827,4156,4081,3774,3774,4042,3782,3779,3728,3291,3874,3993,3742,3941,4082,3974,3762,3458,3767,3792,3616,3575,3619,3198,3034,2707,2664,3176,2943,2670,2764,2877,2377,1930,1768,1641,1842,1926,1617,1698,1811,1918,1704,1594,1438,2079,2264,2185,2320,1998,1946,1836,1696,1524,1457,1577,1880,2024,2039,2288,2279,2535,3208,2734,2189,2323,2288,2202,2113,2643,2226,2236,1931,1560,1854,2348,2568,2525,1937,2123,2642,3551,3898,3974,3868,3163,2538,2271,2559,3395,4220,4132,3796,3735,3958,3796,3542,3492,3715,3805,3942,3432,2080,1401,1434,1603,1831,1709,1594,1693,1563,1561,1431,1635,1708,1782,2321,2487,1880,1304,1457,1498,1597,1780,1548,1337,1288,1606,1759,2056,1996,1784,1648,1857,2102,2333,2088,1559,1410,1348,1419,1539,1744,1811,1678,1408,1353,1482,1546,1540,1580,1785,1829,1593,1500,1521,1544,1590,1754,1771,1754,1870,1804,1806,1950,1892,1792,1809,1598,1936,1846,1707,2248,2524,2047,2018,2318,2403,2037,2003,2040,1707,1627,1554,2069,2169,1972,2035,2253,2081,1610,1558,1282,1290,1612,2045,1909,1749,1698,2124,2303,2238,1941,1699,1727,1562,1648,1626,1610,1568,1971,2238,2001,2408,2066,1811,2202,2002,1719,1944,2050,1831,2563,2777,2974,3051,2621,2728,2314,1870,1772,2053,2450,2160,1627,1427,1420,1812,1693,1388,1643,1697,1546,1772,1637,1491,1684,1842,1931,1562,1544,1725,2088,2328,2191,1776,1449,1613,1760,1654,1929,1725,1568,1586,1702,1567,1472,1708,2004,2153,2350,2230,2192,2598,2713,2791,2135,1646,2114,2018,1711,1562,1657,2479,2488,1882,1705,1683,1362,1401,1532,1632,1682,1538,1592,2020,1579,1360,1522,1660,1591,1455,2028,2715,2610,2397,1976,1614,1455,1375,1470,1814,2241,1903,2174,2675,1782,1551,1488,1446,1478,1560,2077,2477,2409,2250,2010,1554,1717,2105,1742,1356,1362,1270,1294,1559,1500,1455,1463,1382,1384,1499,1504,1422,1557,1657,1748,1757,1691,1738,1559,1572,1864,1976,1936,2146,2309,1966,1636,1591,1554,1467,1343,1465,1708,1603,1582,1831,2168,2901,2900,2355,1933,1663,1735,2037,2254,1677,933,741,1145,1340,1653,1790,1678,1690,1569,1364,1504,1618,1644,1465,1312,1338,1243,1339,1338,1178,1178,1569,1872,1551,1670,2164,2260,2066,1662,1324,1357,1359,1397,1475,1402,1568,2142,1743,1516,1310,1420,1471,1453,1261,1466,1447,1431,1354,1387,1375,1466,1436,1252,1366,1435,1324,1359,1487,1692,1440,1998,2125,1676,1727,2022,2214,1826,1628,1659,1887,1572,1454,1274,1596,1448,1099,1582,2083,1970,1873,1939,1517,1351,1590,1758,1621,1959,2211,2195,1991,2198,2175,1944,1866,1621,2046,3242,3176,2348,2406,2811,2265,1686,1599,1576,1398,1659,2200,2428,2633,2345,2194,1914,2451,3046,2363,2115,2074,1832,1694,1758,1779,1809,1948,2358,2544,2754,2479,1974,1779,1650,2122,2456,2076,1946,2517,3386,3544,3439,3907,3039,2081,1839,1523,2241,2834,3204,3635,3727,3141,2981,4090,3974,2575,2667,1995,2303,2923,2380,3378,3388,3109,3294,2911,2746,2719,2322,2335,2556,2137,2153,3075,3295,3271,2317,2094,2189,1956,2512,3253,3292,3119,3079,2555,2482,1768,1561,2169,2734,2612,2381,1858,2115,2319,2169,1912,2248,2508,2053,2610,2763,2631,2447,2324,2713,2779,2557,3223,3627,2933,2567,2554,2993,2555,2222,2534,2577,2614,2332,2469,2341,1826,2114,2584,2074,2663,3104,2834,2562,2526,3130,3087,2998,2641,2066,2246,2354,2355,2355,1955,2182,2025,2233,2504,2546,2821,3428,3145,2115,2031,2046,2322,2542,2333,2412,2645,2953,2923,2409,2088,2192,2700,2751,2090,2025,2470,2367,1903,1577,1582,1727,1781,1626,1468,1500,1419,1602,1860,1787,1336,1243,1334,1633,1692,1491,1612,1592,1425,1513,1453,1447,1520,1648,1944,2375,2464,2202,2313,2331,2529,2864,2343,1766,2039,2353,2523,2454,1967,2347,2314,2063,2253,3097,3929,4355,4580,4775,4803,4112,2812,1883,1931,1839,1855,1797,1618,1636,2041,2192,2007,2118,1806,1470,1619,1938,2090,1564,1455,1780,2387,2575,2018,2291,1935,2158,2588,1943,1663,2055,2442,2774,2366,2420,2573,2983,3117,2891,2530,1923,1453,1299,1702,2242,2154,1750,1723,1846,1681,1585,2007,2064,1821,1772,1763,1768,1760,1655,1686,1715,1670,1640,1483,1578,1737,1715,1581,1732,1758,1408,1687,1914,1612,2065,2709,2297,1952,1946,1622,1522,1699,1546,1291,1226,1451,1406,1434,1459,1387,1543,2050,1986,1703,1700,1488,1222,1388,1708,1744,2218,2961,3231,3983,2632,1620,1579,1399,1340,1299,1486,2000,2005,1720,1583,1547,1444,1504,1784,1748,1668,2116,1826,1942,1758,1419,1581,1742,1803,1612,1332,1390,1504,1743,1584,1640,1510,1482,1435,1379,1388,1338,1347,1367,1242,1058,1222,1641,1391,1214,1084,1026,1249,1473,1401,1399,1467,1322,1173,1209,1210,1240,1212,1284,1439,1503,1566,1775,1733,1728,1682,1576,1454,1477,1506,1486,1793,2079,2293,2661,2294,1530,1490,1786,2175,2358,2082,1389,1492,1874,1866,1942,1830,1886,1593,1650,2174,2391,2331,2510,3250,3532,3535,3589,3708,3551,3327,2887,2553,2529,2563,2203,2195,2991,3065,2745,2219,2061,1945,2322,1990,2375,3423,4121,3674,3519,3698,3305,3727,3300,2454,2286,2260,1910,2128,2886,3261,2972,2301,2221,2862,3427,3018,2849,2369,2421,2824,3028,3113,2989,2919,3096,2987,2360,2482,2939,3056,3296,3371,3144,2796,2835,3073,3033,3020,3067,2948,2613,2416,2335,2291,2042,2044,1908,1887,2067,2159,2280,2358,2335,2355,2558,2765,2835,2978,3334,3522,3666,3061,2406,2828,2513,2620,2919,3066,3076,3022,3021,3271,3685,3580,3708,3647,3604,3670,3658,3444,3122,2964,2990,3049,2852,2824,3145,2859,2486,1746,1444,1473,1692,1843,1784,1517,1403,1442,1670,1434,1395,1376,1175,1419,1522,1454,1440,1430,1541,1708,1670,1519,1517,1646,1601,1760,1517,1376,1498,2012,2078,1645,1578,1682,1663,1562,1481,1426,1395,1290,1352,1627,1641,1814,1597,1313,1377,1562,1412,1231,1361,1384,1666,1626,1459,1488,1492,1599,1505,1353,1494,1690,1571,1682,2327,2744,2344,2122,1997,2027,1879,1814,1887,1984,2102,1953,1768,1750,1804,1652,1244,1562,1586,1875,1986,1720,1515,1666,1861,1915,1831,1559,1372,1273,1261,1372,1162,1470,2018,2330,2029,1768,1926,1984,1697,1734,1588,1554,1744,1519,1588,1850,1671,1490,1781,2166,2333,2203,2555,3141,2952,3104,2652,1974,1996,1954,1592,1688,1930,2170,2458,2635,2222,1708,1780,1879,1983,1561,1635,1746,1725,1743,1710,1782,1780,1737,1546,1670,1627,1666,1664,1923,2084,1824,2073,1942,1843,1748,1459,1696,1993,1786,1448,1545,1493,1731,1736,1611,1874,1888,2050,1854,1592,1877,2053,2575,2211,2150,2142,1855,1776,1620,1638,1782,1949,2048,1912,1917,2390,2120,1869,1821,1597,1794,1610,1974,1776,1488,1669,1590,1384,1487,1457,1501,1608,1760,1820,1805,1674,1592,1517,1587,1552,1525,1667,1531,1600,1775,1670,1889,1945,1926,1702,2071,2598,3028,2777,2210,2011,1628,1662,1805,2360,2286,1985,2248,2414,1820,1853,2421,2388,2460,2438,1992,2005,2355,2121,2431,2481,2579,2307,2212,2331,2217,2230,2019,1837,1702,1468,1474,1741,2177,2053,1692,2062,1981,1872,2170,2281,2451,2423,2708,2815,1968,1966,2414,2310,1973,1729,1526,1461,1686,2006,2176,2156,1960,1516,1349,1429,1784,1722,2105,2082,1789,1697,1692,1594,1678,1697,1584,1502,1473,1518,1647,1726,1501,1592,1631,1851,1768,1576,1517,1528,1502,1566,1750,1827,1975,2286,2305,2361,2393,2295,2110,1973,1735,1887,1952,1934,1977,2320,2197,2047,1759,1527,1544,1629,1609,1625,1714,1885,1741,1692,2039,2226,1896,1634,1610,1905,1924,1832,1903,2302,2257,1832,1739,1826,1754,1860,1830,1645,1937,1960,1860,1653,1677,1988,2670,2703,2022,1863,2271,2791,2252,1983,1836,1909,2718,2984,2990,3088,2877,2526,2555,2426,1933,1650,1902,1980,2675,2653,2242,1700,1753,1907,1860,2270,2751,2207,2264,2300,2005,2121,1996,2122,2150,2101,2248,2207,2269,2188,2129,2282,2248,1904,1861,1769,1580,1680,1594,1572,1729,2099,2433,2392,1914,1899,2166,3166,3408,2667,1864,1988,1910,1544,1544,1863,1898,1628,1568,1533,1585,1767,1915,1937,1822,2248,2424,2159,1942,2007,1953,2078,2552,2380,2164,2144,1840,2007,2238,1630,1451,1781,1993,1812,1851,1714,1468],[3619,3606,3073,2843,3176,3667,3972,4093,4164,3668,3549,3604,3763,3176,3012,2867,2759,2028,1577,2282,2430,2577,3269,2535,2178,2542,2770,2651,2463,2381,2553,2747,2765,3211,3219,3351,3110,1877,1295,1926,2475,2866,2789,2986,3052,3530,3960,3434,3359,3483,3713,3757,3410,2632,2342,2830,3520,4057,3920,3696,3873,3597,3399,3751,4074,3714,3343,2472,1868,1956,2798,2179,1533,1758,2287,2073,1334,1552,1823,2314,2421,2165,2271,2535,2087,1876,2071,1950,2217,2208,2073,2146,2168,2208,2325,2372,2531,2428,2409,2047,1681,1550,1670,1738,1565,1768,2224,2102,2808,2485,2387,2613,2831,2754,2288,2316,2664,2521,2264,2125,1794,2078,2397,2403,2609,2907,2348,2858,3410,3297,2763,2533,2645,2778,2909,2733,2742,2669,2503,2588,3035,2944,2721,2062,1870,2213,2354,2438,2871,3057,2623,2296,2019,1742,1927,2801,3034,2335,2236,2214,1693,1635,1550,1687,2167,2417,3188,3617,3064,2238,1925,2021,2081,2618,3134,2247,1975,2464,3207,2176,1937,2331,2443,2516,2513,2471,2427,2390,2153,2143,2652,3467,3342,2494,2262,3151,3858,3873,3902,3811,3189,3523,4421,4449,4469,4180,3951,4068,4213,4030,3958,4156,4487,4356,3963,4059,4176,4232,4079,4160,4521,4564,4208,3985,3939,3932,4360,4433,3877,3893,4488,4700,4428,3630,3240,3550,3716,3840,4050,3728,4229,4408,4164,4039,3626,3741,3790,3715,4107,4336,4295,4030,3510,3141,3043,2500,2645,2876,2529,2518,2807,2785,2132,2244,2346,1636,1789,1976,1820,1778,2162,2040,1789,1630,1802,2531,2158,1896,1885,1992,1887,1552,1428,1527,1554,1885,2191,1880,1898,2097,1868,2456,2680,2540,2405,2407,2434,1929,1980,2101,2262,2160,1761,1693,1813,1840,2092,2711,2084,1659,1887,2677,3357,3627,3385,2412,2219,2500,2636,3270,4346,4017,3620,2841,3306,3710,3152,3226,3624,3658,3750,3117,1881,1405,1395,1998,2264,1737,1692,1678,1435,1350,1598,1926,1844,1813,1715,1640,1453,1384,1502,1445,1549,1367,1258,1265,1287,1434,1703,1916,1873,1740,1684,2048,2422,3067,2863,1678,1390,1431,1500,1569,1510,1582,1764,1555,1493,1451,1576,1614,1691,1763,1731,1592,1542,1505,1440,1459,1503,1534,1664,1757,1660,1720,1679,1620,1705,1825,1830,2001,1883,1849,2269,2297,1980,1797,1805,2132,2361,2393,1850,1504,1511,1550,2213,2323,1638,1691,2352,2294,1530,1337,1426,1599,1692,1617,1609,1545,1673,1991,2139,2664,2994,2698,2593,1670,1771,1589,1608,1700,1774,1798,2024,2443,1958,1500,1820,1924,1864,1990,1844,1751,2360,2339,2632,3088,2707,2104,1792,1679,1668,1975,2056,1948,1554,1560,1505,1482,1396,1325,1532,1473,1443,1563,1518,1714,1622,1692,1736,1527,1437,1841,2310,2235,1733,1418,1430,1708,1958,1555,1534,1611,1546,1527,1464,1556,1646,1770,1831,2195,2637,2666,2786,2835,2634,2734,1998,1793,2499,2272,1722,1396,1826,2691,2895,2403,1710,1628,1365,1288,1447,1730,1930,1846,1638,1830,1626,1297,1332,1763,1894,1577,1711,2294,1834,1661,1855,1789,1639,1463,1881,2380,2089,1637,1941,2231,1596,1608,1753,1597,1550,1475,1711,2273,2620,2405,1853,1524,1697,1763,1737,1608,1511,1309,1289,1540,1603,1541,1417,1378,1428,1542,1570,1519,1583,1676,1714,1765,1655,1750,1673,1644,1729,2104,2331,2314,2005,1726,1461,1491,1544,1621,1557,1637,1767,1585,1512,1514,1614,2261,2592,2044,1583,1742,1732,2456,2288,1293,772,907,1336,1369,1328,1461,1379,1256,1281,1172,1133,1428,1509,1264,1211,1248,1305,1381,1483,1439,1248,1419,1883,1625,1402,1781,1931,1853,1572,1443,1368,1346,1432,1364,1332,1866,2228,1563,1562,1429,1443,1350,1290,1383,1399,1452,1412,1215,1367,1620,1500,1448,1339,1378,1472,1526,1460,1456,1500,1412,1416,1493,1475,1578,2118,2294,1601,1454,1320,1390,1543,1428,1270,1300,908,988,1704,2542,2014,1876,1826,1615,1477,1866,1944,1765,2166,2297,2289,2407,2885,2912,2225,2257,2110,2389,2689,2762,2482,2721,2460,1775,1650,1878,1887,1578,1925,2785,2984,2588,2426,2574,2508,2913,3074,3032,2636,1935,1638,1652,1809,1733,1646,1689,2010,2147,2835,3655,3121,2430,2632,3265,3292,2319,2194,3166,3654,3174,2964,2708,2725,2354,2013,1811,2047,2135,2552,3460,4022,3948,3741,3667,2990,1962,2265,2106,2809,2608,2700,3973,4009,3256,3249,3353,3410,2853,2347,2411,2320,2113,2385,2604,2973,2967,2093,1847,1840,2013,2636,3212,2701,2490,2720,3065,2985,2073,2123,2521,2508,2554,2307,2171,2212,1992,1872,2235,2436,2261,2304,3077,3298,2823,2271,2474,2890,2520,2105,3117,4121,3954,2629,1862,1694,1839,2275,2341,2712,2687,2270,2171,2273,2044,2441,2831,2673,2954,2396,2022,1936,2930,3386,2685,2558,2543,2357,2551,2192,2125,1967,2028,2365,2142,2254,2354,2774,3653,3902,3435,2311,2310,1956,2347,2023,1620,2121,2849,3118,3007,2422,2475,2989,2670,2373,1856,2218,2758,2788,2054,1625,1603,1563,1527,1606,1841,1810,1470,1623,2011,2249,1838,1354,1652,2157,2010,1816,1878,1574,1494,1560,1561,1600,1543,1626,1929,2309,2080,1883,2353,2569,2692,2588,2424,2438,2298,2221,2349,2065,2039,2819,2456,2656,2793,2640,3504,4668,5009,4980,4787,4465,3903,2386,1840,1636,1795,1766,1561,1787,2552,2482,2080,2070,1678,1420,1346,1688,1976,1952,1862,2137,1782,1603,1437,1249,1746,3074,3437,2188,1594,1914,2364,2693,2392,2486,2856,3125,3197,3095,2662,2158,1937,1848,2239,2434,2031,1919,1902,1840,1597,1557,1591,1534,1665,1761,1462,1459,1553,1546,1720,1740,1434,1226,1382,2001,2165,1864,1787,1647,1586,1395,1509,1844,1659,1728,1795,1583,1516,1411,1334,1622,1764,1638,1412,1328,1537,1644,1818,1739,1829,1708,1959,2042,1730,1670,1866,2013,2122,2038,1864,2221,2773,3509,4241,2925,1983,1819,1526,1386,1373,1761,2098,1976,1862,1690,1709,1759,1754,1709,1673,1692,1687,1752,1833,1854,1804,1658,1903,1904,1712,1500,1604,1530,1619,1523,1537,1445,1180,1246,1404,1404,1289,1364,1190,1234,1193,1148,1152,1273,1203,1189,1138,1198,1415,1510,1592,1355,1203,1435,1475,1373,1292,1201,1271,1506,1756,2015,2015,1645,1400,1472,1325,1412,1538,1530,1432,1874,2313,2138,2164,1958,1921,2268,2404,2680,2210,1761,1404,1810,1957,1920,2049,1863,1816,1720,1505,1789,2222,2254,1944,2415,2919,3194,3097,3018,2899,2707,2310,1982,1789,1776,1769,1837,2773,3134,3309,2563,2017,1895,2166,2112,2217,3043,3963,4035,4057,3812,3538,3749,2851,2049,2131,2014,2046,1985,2274,2735,2236,1868,2712,2968,3204,2237,2492,2457,2784,3006,2911,2990,2983,3118,3031,2455,2229,2641,3118,3111,3161,3216,3209,3055,3094,3146,3097,3042,2985,2692,2288,2177,2034,2184,2006,1984,1945,1983,2154,2245,2211,2207,2171,2212,2353,2563,2246,2174,2722,3208,3257,2753,2835,3351,2790,2241,2566,2721,2910,3614,3648,3843,4116,3941,3930,3579,3443,3584,3521,3204,2904,2867,3043,2797,2709,3006,3213,2302,2152,1959,1609,1862,2104,2004,1762,1504,1315,1479,1949,1915,1746,1447,1381,1364,1250,1257,1460,1574,1624,1576,1499,1489,1686,1836,1632,1680,1566,1310,1311,1788,1833,1637,1792,1859,1842,1594,1411,1377,1406,1538,1521,1641,1710,1647,1497,1322,1489,1725,1464,1318,1379,1425,1606,1498,1388,1441,1489,1584,1512,1445,1516,1453,1446,1910,2286,1998,1863,2070,2026,1876,2243,2646,2248,1856,1718,1352,1433,1583,1731,1912,1697,1666,1676,1875,2057,1936,1955,1984,1751,1586,1513,1434,1475,1423,1532,1815,1875,2025,2349,2399,1864,1498,1688,1833,1755,1760,1666,1704,1670,1502,1682,1729,1467,1457,1569,1749,2016,2346,2888,2710,2446,2906,2620,2197,2326,2277,1995,1984,2004,2036,2093,2237,2499,2035,1721,1625,1562,1655,2059,2049,1461,1405,1931,1944,1897,1996,1596,1660,1761,1631,1589,1908,2013,1788,1731,1722,1637,1686,1942,2024,1764,1716,1686,2123,1820,1523,1560,1724,2084,2158,2069,1936,2075,2245,2319,2344,1915,1780,2024,2014,1814,1740,1906,1867,1691,2098,1937,1819,2117,1964,1654,1700,2038,2131,2089,2063,1762,1545,1695,1513,1238,1384,1550,1636,1635,1929,1755,1709,1636,1547,1595,1690,1603,1693,1839,1349,1970,2423,2166,2337,2256,2402,2304,2609,2641,2338,2150,2071,1825,1722,1650,1716,2143,2101,1957,2182,2176,1852,1833,2138,2158,2245,2200,2413,2274,2183,2791,2821,3210,3318,2389,2216,2303,2525,2641,2101,2139,1788,1584,1515,1783,1955,1569,1528,1976,1763,1822,2426,2566,2512,2396,2422,2339,1885,1864,1854,2167,2076,1741,1584,1766,1883,1865,1787,1994,1944,1522,1531,1327,1500,1699,1908,1832,1710,1661,1563,1693,1937,1668,1678,1807,1532,1563,1810,1746,1749,1636,1720,2186,2044,1830,1724,1974,1898,1693,1571,1722,2137,2460,2341,2113,2241,2131,2208,2050,1862,1815,1583,1505,1663,1957,1746,1713,1743,1598,1360,1134,1416,1704,1864,2081,1725,2040,1972,1914,1672,1758,1731,1800,1967,1937,1888,2076,2187,1873,1986,2010,1921,1698,1949,1878,1837,1840,1937,2001,1860,2135,2747,2656,1938,2108,2176,3104,3418,3382,3258,2765,2878,3218,3295,3397,2987,2666,2556,2620,2266,1885,2188,2701,2622,2255,2097,1967,1886,1792,1749,2064,2656,1832,2640,2332,2276,2222,1920,2040,2159,2219,2171,1963,1843,1806,1952,2011,1953,1924,1976,1848,1840,1798,1582,1698,2060,2072,2508,2677,1739,1752,1962,2626,2602,2102,1771,1917,1833,1605,1784,1980,1868,1675,1593,1603,1603,1738,2159,2250,1875,2082,2358,2438,2441,2233,2160,1820,1976,2787,3272,3603,2796,2153,2096,1982,1665,2067,2271,1819,1920,1911,1638],[3930,3657,3015,2601,2743,3584,4432,4013,3839,3521,3630,3912,4025,3806,3344,3046,2874,2042,1814,2071,2431,2879,2912,1720,1892,2831,3016,2788,2683,2753,3466,2922,2222,3161,3427,3581,3401,2082,1671,2064,2923,3198,2730,2753,3062,3544,3696,3137,3207,3732,3706,3356,3416,3370,2901,2800,3465,3957,3893,3810,4104,3663,3480,3740,3848,3139,3050,2491,1932,2132,2278,1741,1193,1289,2264,2480,1499,1745,2348,2800,2146,1901,2137,2196,2030,1795,1767,1945,1922,1497,1598,2137,2391,2474,2815,2654,2531,2664,2578,1861,1663,1967,1818,1610,1642,2122,2735,2677,2873,2611,2676,2701,2575,2444,2675,3011,2857,2319,2138,1801,1514,1880,2061,1869,2404,2911,2495,2422,2932,2811,2444,2282,2294,2354,2630,2692,2800,2706,2832,2976,2522,2785,3190,2355,1771,1812,2176,3088,3526,3089,2373,2236,2205,2012,2334,3009,2884,2464,2502,2258,1890,1969,1712,1747,1969,1820,2454,2853,3216,3182,2366,2191,2502,2380,2091,1781,2014,2128,2176,1936,1988,2164,2374,2321,2372,2471,2598,2524,2415,2213,2150,2846,2942,2359,2555,3020,3528,3631,3684,3501,2216,2160,3152,3835,4196,3936,3665,3676,4137,4168,4317,4388,4471,4360,4188,4055,4228,4081,3978,4091,4367,4448,4312,3886,3808,4136,4320,3847,3395,3829,4143,4311,3926,2900,2818,2698,2492,2830,3750,4228,4484,4488,4400,4360,4148,3705,3596,3994,4186,4515,4006,3483,3001,3141,3201,2901,3002,2754,2426,2414,2470,2788,2251,2392,2386,2047,1988,2264,2137,2069,2639,2382,1719,1586,1852,2685,2580,2183,1589,1932,2010,1665,1636,1598,1450,1619,1711,1709,1977,2177,2335,2190,2162,2752,2546,2333,1910,1792,1930,2029,1968,1685,1573,1844,1982,1908,1840,2006,1919,1785,1841,1940,2329,2788,2511,2269,2519,2147,2174,2865,3799,3566,2698,2048,2876,3418,3043,3230,3420,3292,2908,2120,1617,1669,2072,2792,2924,2611,1892,1407,1272,1494,2241,2423,1903,1763,1804,1637,1814,1794,1670,1616,1643,1508,1544,1555,1397,1359,1528,1733,1682,1350,1288,1597,1548,2264,1969,1437,1538,1759,1731,1616,1428,1384,1444,1323,1597,1409,1797,1714,1488,1832,1924,1636,1560,1425,1378,1422,1470,1516,1644,1653,1789,1667,1489,1361,1576,1647,1564,1810,2109,2121,1886,1954,1920,1823,1779,2065,2322,2243,1920,1831,1716,1714,2200,2216,1966,2291,2643,2304,1898,1505,1510,1565,1549,1504,1451,1367,1970,2508,2164,2685,3178,2418,1756,1812,2004,1755,1768,1798,1768,1659,1605,1935,1988,1476,2054,2221,1820,1780,1734,1863,2299,2166,2282,3061,2820,2073,1934,1874,2443,2671,2200,1770,1489,1753,1968,1823,1625,1556,1630,1504,1868,2047,2140,1966,1809,1669,1704,1729,1578,1751,2178,2308,1867,1585,1398,1538,1594,1836,1825,1735,1576,1476,1458,1731,2059,1777,1440,1754,1955,2526,2944,3008,2898,2440,1903,2032,2259,2174,1881,1595,1500,1648,2104,2137,1823,1682,1584,1417,1378,1536,1842,1814,1792,1773,1484,1405,1540,1984,1975,1804,1542,1417,1550,1754,1956,2172,2118,1814,1768,1849,1856,1869,1727,1500,1340,1748,2078,1632,1268,1344,1402,1798,2464,1976,1483,1591,1368,1528,1914,1637,1395,1343,1504,1680,1760,1730,1343,1385,1557,1544,1551,1715,1837,1821,1547,1466,1558,1589,1720,1914,2004,2402,2458,2245,1700,1507,1508,1529,1438,1422,1669,1758,1670,1570,1398,1284,1242,1377,1499,1563,1575,1837,1924,2656,2271,1153,761,1022,1511,1566,1486,1662,1571,1557,1290,1142,1147,1383,1388,1281,1327,1392,1301,1295,1473,1669,1428,1345,1376,1470,1298,1426,1526,1544,1408,1285,1336,1295,1277,1229,1318,1468,1622,1715,1606,1366,1435,1513,1407,1458,1506,1538,1334,1352,1646,1606,1456,1399,1320,1444,1484,1333,1398,1469,1389,1285,1415,1408,1382,1487,1744,1606,1400,1477,1328,1415,1644,1548,1287,827,580,1120,2080,3370,1697,1486,1758,1874,1848,1919,1835,1831,2100,2176,2373,2702,2912,3145,2729,2822,2438,2183,1880,2017,2299,2629,2264,1743,1915,2136,2008,1838,2208,3128,2880,2657,2759,2432,2513,2824,3207,3562,2995,1975,1575,1607,1565,1518,1548,1553,1783,1923,2255,3119,3342,3109,3231,3119,3362,2128,2312,2797,3093,3664,2692,2533,3538,3563,2702,2173,2219,2409,2371,2789,3625,4006,3120,2467,1997,2145,1939,2445,2803,1924,2348,3545,3624,2951,2740,2980,3008,2821,2744,2774,2307,2141,2186,2188,2750,2385,2101,1895,1648,2372,3023,3199,2757,3122,2900,2670,2360,2231,2569,2309,2141,1928,1852,2171,1990,1681,1924,2554,2290,2491,2634,2866,3542,3331,2687,2984,2783,2596,2326,3007,3908,4240,3345,2329,2017,2545,2724,2718,2830,2683,2703,1995,2216,2526,2733,3362,3020,2633,2242,1843,2380,2857,2408,2118,2485,2734,2818,3332,2624,2350,2141,2083,2342,2225,2242,2408,2861,3807,3808,2909,2219,2555,2494,2583,2055,1966,2094,2212,2494,2584,2170,2237,2358,2402,2250,1887,2196,2521,2750,2035,1620,1760,1685,1703,2008,1728,1551,1417,2014,2868,2561,1943,1401,1499,1760,1660,1722,1698,1588,1711,1609,1721,1832,1976,1966,2549,2835,2275,1901,2325,2588,2693,2808,2778,2898,2850,2866,3154,2998,2883,2852,2750,2880,2667,2248,3128,4680,5140,4871,4655,4487,4428,3131,2059,1846,1855,1670,1537,1478,1806,2238,2442,2562,1853,1712,2088,2976,2952,2464,1953,2010,1910,1698,1568,1608,2469,3681,3743,2285,1619,1855,2242,2499,2369,2639,3073,3194,3195,2964,2609,2304,2334,2004,2075,2005,2208,2358,1328,780,805,688,756,1144,1686,1781,1450,1910,1770,1383,1590,1797,1360,1054,1824,3286,3033,1873,1954,1737,1526,1459,1577,1886,1617,1568,1465,1484,1548,1515,1686,1670,1443,1806,1801,1839,1875,2019,2040,1625,2000,2615,2586,2051,1729,1875,2011,2152,2183,1914,1663,2404,3002,3772,3670,2554,2172,1892,1499,1407,1571,1877,2086,2000,1993,1910,2098,2082,1992,1732,1482,1485,1554,1746,1727,1821,1942,1752,1895,1917,1732,1513,1545,1610,1757,1860,1729,1560,1389,1540,1424,1389,1277,1339,1228,1304,1274,1229,1351,1433,1241,1184,1257,1336,1524,1736,1673,1150,1200,1528,1521,1342,1100,1210,1310,1282,1467,1602,1766,1422,1400,1574,1493,1500,1457,1366,1300,1751,1827,1773,1985,1442,1627,2269,2429,2300,1677,1461,1649,1976,2014,1967,1937,1716,1657,1674,1632,1850,1908,1748,1467,2070,2735,2729,2523,2532,2359,1916,1449,1377,1419,1461,1656,1682,2318,3095,3141,2344,1905,1770,1968,2204,1960,2729,3632,4045,4272,3688,3740,3820,2784,2370,2542,2231,2155,1941,1860,2184,2452,2668,3097,2827,3115,2237,1849,2452,2886,2834,2920,3069,2973,3054,3039,3068,3016,3152,3356,3287,3164,3330,3549,3308,2998,3021,3097,2881,2776,2481,2185,2050,1972,1934,1985,2086,2148,2163,2132,2088,2102,2221,2096,2125,2170,2317,2180,2213,2586,2680,2378,2522,3017,3164,2714,2716,2790,2674,3034,3817,4246,4197,3737,3543,3396,3217,3120,2998,2920,2988,2994,2956,2974,3063,3344,2990,2872,2776,2910,2358,1639,1742,1761,1560,1537,1551,1586,1688,2117,2142,1841,1790,1751,1616,1620,1750,1623,1500,1616,1738,1677,1530,1792,1750,1689,1522,1217,1131,1326,1478,1666,1448,1493,1651,1439,1321,1299,1296,1296,1562,1559,1578,1648,1532,1466,1284,1337,1648,1512,1635,1431,1274,1411,1460,1465,1465,1506,1549,1517,1451,1447,1422,1859,2161,2048,1622,1622,1852,1951,2049,2561,2802,2460,1741,1203,1122,1309,1252,1389,1824,1896,1758,1670,1833,1934,1873,1759,1575,1427,1417,1610,1687,1715,1759,1801,1938,2052,1937,2036,2153,1613,1446,1625,1576,1703,1888,1939,1928,1715,1487,1504,1441,1356,1454,1455,1471,1769,2612,3608,3798,3326,2734,2343,2482,2541,2064,1853,1783,1401,1815,1712,1744,2458,2410,2239,2090,1759,1638,1949,1824,1249,1520,2353,2153,1708,1634,1665,1730,1962,1994,1771,1970,2253,1780,1598,1662,1626,1530,1720,1743,1609,1960,2123,2139,1849,1606,1596,1922,2318,2369,2162,2377,2431,2742,2238,1968,2032,1990,1912,1983,1915,1735,2136,2518,2022,1919,1856,1778,1722,1816,1920,1885,2105,2286,2150,1811,1754,1801,1936,1866,1589,1516,1526,1470,1518,1750,1829,1686,1627,1686,1652,1605,1489,1758,1981,1346,1742,2265,2535,2657,2478,2481,2807,2698,2586,2581,2326,2483,2289,2745,2674,2106,2010,2106,2105,2219,2321,2348,2360,2318,1933,2143,2225,2149,2149,2364,2702,2196,2645,3211,2884,2396,2294,2540,2391,1931,2132,1660,1520,1704,1772,1584,1671,2101,2467,2306,2208,2302,2164,2404,2470,2037,2064,2212,2016,1860,1841,1960,2014,1848,1898,1837,1620,1951,2565,1982,1448,1554,1456,1554,1830,1898,1932,1801,1519,1554,1780,1788,1509,1655,1701,1600,1644,1756,1677,1931,1857,1914,2144,2013,2414,2267,2144,2343,1938,1521,1691,2584,3283,2774,2214,2125,1817,1642,1735,2006,1796,1709,1493,1676,1788,1760,1666,1571,1648,1631,1954,2685,2195,1849,1907,1972,1753,1739,1698,1750,1974,1755,1873,2450,2482,1825,1877,1887,1821,1961,1713,1852,1851,1949,1704,1513,1738,2219,2382,2278,2586,2530,2365,1713,1987,1964,2778,3465,3712,3765,3060,2501,2685,3072,3589,2934,2900,2768,2699,2469,2121,2518,2829,2483,2224,2137,2050,1873,1946,1783,1966,2014,1975,2896,2318,2215,2071,1633,1743,2084,2075,1631,1594,1669,1952,2106,2146,2176,2081,2062,2077,2100,1990,1774,1727,1920,1875,2291,2048,1688,1682,1876,2680,2743,2351,1954,1885,1880,1649,1717,1783,1584,1657,1511,1524,1828,1926,2016,2065,1986,2245,2567,2801,2850,2940,2270,1699,1880,2250,2840,3064,2339,1541,1781,2142,1679,1786,1745,1739,1947,1872,1821],[3317,3398,3125,2479,2307,2869,3806,3415,3199,3054,3383,3623,3319,3015,2979,3144,2833,1896,2114,2978,3432,3237,3007,2356,2132,2617,2922,3428,3663,3531,3571,2621,2404,2694,3384,3608,3586,2858,2262,2083,2536,2568,2289,2492,2976,3240,3226,2984,2994,3458,3494,3430,3231,3011,2476,2710,3594,4012,3894,3529,3660,3821,3640,3499,3641,3185,3002,2768,2280,2442,2350,1954,1567,1863,2536,2389,2069,2445,2792,2777,2055,1909,2359,2585,2277,1884,1690,1675,1869,1604,1591,1899,1563,2247,2598,2487,2137,1959,2084,1681,1936,2166,2042,1993,2276,2759,2975,3414,3321,2820,2741,2893,2798,2916,3106,2681,2237,2283,2368,1941,1820,2013,1896,1879,2191,2472,2376,2395,2618,2159,2178,2106,2337,2658,3318,3176,2732,2167,2377,2624,2272,2676,2894,2530,1858,1967,2535,3027,3304,3094,2527,2159,2078,2005,2326,2835,2540,2097,2013,2199,2439,2004,1795,1727,1738,1773,1993,2178,2587,3662,3575,3586,3499,2833,1975,2092,2936,2452,1809,1765,1743,2198,2556,2412,2378,2720,3212,3107,2968,2938,3073,2789,2039,1789,2121,2052,2308,2435,2539,2786,2213,2280,2927,3231,3848,3741,3494,3554,3252,3042,3572,4249,4136,4131,4071,4015,3812,3382,3920,3719,3479,3569,4108,3941,3603,3694,3728,3554,3022,2990,3178,3465,3137,2550,2646,2442,1769,2231,3165,3684,3969,4332,4495,4349,3592,2605,3105,3682,3914,3959,3841,3385,2676,2699,2977,3008,3132,2881,2486,1797,1990,2265,1711,2221,2398,2519,2079,1669,1652,2104,2751,2631,2562,2558,2238,2117,2315,2358,1968,1942,1966,1795,1588,1489,1736,2081,1689,1810,2001,2417,2258,2083,2461,2604,2422,2082,1865,1961,1884,2018,2147,1690,1605,2025,2317,2720,2409,1742,1654,1853,1854,1804,1911,2430,2554,2742,2188,1877,2433,3449,3604,2577,2207,2708,3327,3250,2957,3187,3086,2919,2274,1915,1710,2294,2818,2746,2806,2714,2311,2270,2097,2016,2737,3020,2509,1904,1633,1637,1866,1811,1404,1339,1695,1907,1907,1536,1550,1455,1361,1776,1877,1642,1293,1465,1470,1403,1416,1545,1660,1670,1524,1554,1371,1298,1569,1663,1618,1770,1978,1593,1350,1576,1619,1464,1322,1467,1595,1798,1704,1652,1863,1902,1780,1559,1510,1640,1771,1434,1375,1742,2896,2603,2054,2029,1875,1872,1803,1765,1841,1940,1932,1848,1744,1888,2120,2119,2568,2811,2584,2485,2044,1665,1754,1693,1632,1808,2323,2141,2242,2525,2114,2252,2606,2044,1708,1644,1554,1628,1495,1405,1720,1992,1823,1662,1648,1703,2399,2448,2083,2033,1881,1531,1770,1894,1937,3024,3064,2429,2094,1951,2679,2618,2238,2090,1741,1795,2035,1841,1847,1753,1740,1790,2488,2659,2349,2014,2218,2307,1971,1751,1688,1476,1699,2145,1657,1501,1368,1785,1790,1795,1778,1807,1803,1526,1304,1693,1849,1684,1507,1772,1703,2463,2813,2723,2697,2731,2702,2306,1915,1827,1803,1864,1668,1611,1644,1813,1803,1717,1559,1398,1823,2713,2601,1763,1703,1594,1455,1579,1747,1671,1566,1446,1271,1401,1428,1353,1565,1983,2147,2036,1496,1515,1990,2033,1730,1590,1653,1848,1835,1560,1298,1334,1261,1257,2301,2129,1596,1544,1495,1690,1709,1448,1729,1930,1643,1531,1416,1614,1509,1496,1639,1662,1691,1644,1717,1633,1443,1349,1485,1580,1870,2338,2205,2289,1997,1602,1322,1208,1581,1598,1406,1343,1454,1686,1647,1365,1269,1416,1524,1543,1374,1353,1582,1737,1761,2224,2002,940,812,1202,1460,1512,1339,1440,1398,1564,1499,1483,1511,1618,1466,1242,1429,1391,1312,1453,1495,1551,1399,1375,1322,1422,1384,1374,1504,1590,1317,1144,1316,1223,1288,1295,1412,1325,1384,1591,1478,1319,1569,1562,1237,1330,1665,1602,1299,1501,1617,1833,1753,1376,1334,1446,1442,1477,1467,1414,1640,1365,1381,1428,1537,1547,1599,1584,1562,1453,1484,1653,1671,1411,963,656,1007,1387,1844,1766,1170,1430,1873,1947,1914,1919,1999,2117,1798,1736,2570,2685,3076,3272,2896,2629,1987,1813,1967,1891,1863,2000,1719,1784,2089,2241,2314,1905,2079,2889,3099,3202,2604,2099,2050,2472,2944,3111,2602,2136,1651,1503,1412,1438,1452,1557,1726,1874,1959,2260,2327,2491,3275,3443,3063,2159,2480,2818,3162,3423,2725,2449,2973,3024,2566,2283,2352,2571,2764,3154,3531,3687,2775,2286,2531,2540,2186,3020,2806,1797,1925,1846,2698,2957,2862,3097,3064,3172,3176,2654,2068,2042,2052,2245,2460,1821,2169,2580,2510,2806,2634,3143,3487,3419,2695,2270,2205,2397,2941,3122,2773,2313,1996,2121,2243,2259,2487,2069,1768,2634,2735,2447,2325,2723,3428,2966,2181,2083,2367,2271,2530,3348,3515,2509,2461,3199,3121,2929,2701,2513,2985,2808,2603,2565,2391,2510,2909,3125,2407,2064,2634,2448,2429,2821,3301,2946,3792,3615,2564,2311,2071,2125,2554,2592,2510,2423,2710,3181,3526,2601,2542,2824,2708,2450,2184,2233,2435,2398,2701,2428,1805,1446,2137,2757,2308,2344,2050,2381,2545,1862,1609,1713,1624,1739,1849,1400,1414,1515,2107,2823,2155,1237,1004,1401,1481,1574,2302,2521,1844,1682,1539,1888,1837,2177,2231,1888,2084,2382,2281,2530,2587,2757,3239,3422,3134,3133,3000,2808,2563,2352,2385,2655,2995,2671,2082,2656,4155,4949,4601,4085,4598,4789,3758,2450,1845,1791,1713,1500,1265,1543,2200,2303,2323,2514,2955,3252,3466,3242,3084,2315,1765,1903,1846,1878,2231,2909,3487,3401,2254,1885,2410,2570,2435,2268,2336,2467,2389,2243,1953,1614,1689,1836,1423,1676,1743,1890,2013,1487,1462,1844,2020,2054,2101,2002,1624,1434,1814,1798,1515,1464,1523,1538,1365,1713,3152,3450,1735,1785,1794,1505,1569,1786,1728,1788,1848,1686,1477,1433,1587,1719,1632,1708,2348,2056,2072,2336,3039,3211,2879,2971,3312,3151,2423,2460,2565,2194,2215,1891,2064,2577,2697,2749,3188,2624,2055,2145,1611,1441,1410,1754,2071,1941,1990,1973,2061,2016,1769,1742,1555,1405,1261,1271,1644,1576,1652,1871,1842,1709,1694,1760,1571,1662,1836,1987,2255,1813,1546,1469,1531,1547,1626,1482,1497,1517,1389,1361,1371,1305,1351,1212,1188,1328,1499,1550,1455,1320,1062,1153,1309,1338,1191,1069,1176,1215,1213,1291,1496,1666,1366,1570,1822,1731,1511,1583,1556,1382,1612,1716,1398,1498,1489,1614,1937,2000,1926,1472,1388,1670,1989,1958,1836,1906,1856,1731,1621,1582,1610,1600,1550,1418,1897,2397,2326,2452,2405,1908,1559,1636,1561,1460,1408,1430,1373,1768,2683,2652,1921,1862,1777,2079,2355,1998,2914,3670,4356,4297,3608,3654,3693,2943,2802,2878,2740,2489,1843,1908,1924,2640,3409,3629,3276,3359,2789,2181,2395,2818,2603,2852,3133,3075,3027,3098,3009,3015,3175,3278,3323,3299,3432,3416,3164,2942,2857,2919,2834,2679,2419,2460,2279,2014,2020,2137,2173,2149,2109,2204,2254,2278,2261,2144,2329,2627,2685,2729,2525,2579,2383,2324,2906,3064,3152,3199,2899,2831,3065,3475,3987,4145,3659,3274,3207,3159,3052,2940,2822,2917,2929,2669,2580,2755,3125,3308,2872,2902,3284,3109,2228,1669,1745,1664,1591,1711,2085,2098,2208,2417,2291,2390,2384,2013,1932,1822,1815,1607,1558,1617,1820,1524,1486,1565,1463,1594,1632,1365,1316,1276,1277,1559,1538,2001,1788,1332,1418,1421,1335,1295,1474,1629,1653,1543,1279,1301,1277,1298,1279,1570,1800,1367,1334,1665,1577,1459,1563,1765,1560,1576,1997,2367,1881,1659,1562,1424,1523,1706,1880,2037,1975,1974,2186,1747,1461,1128,1153,1368,1335,1367,1720,1927,1875,1786,1806,1645,1617,1524,1439,1627,1858,1938,1676,1582,1694,1681,1669,1879,1764,1831,1900,1517,1599,1621,1572,1663,1710,1860,1775,1497,1409,1460,1384,1388,1562,1686,1628,2237,2339,2983,3630,3450,3024,2808,2476,2307,1919,1753,1553,1570,2311,2025,1930,2357,2403,2694,2913,2348,1784,1818,1746,1605,2046,2351,2211,1944,1632,1519,1873,2014,1872,1846,2188,2170,1660,1690,1722,1581,1506,1581,1622,1801,2011,1825,1586,1622,1636,1618,1787,2392,2350,1777,2463,2818,2409,1886,1889,1810,1495,1559,1842,1854,1876,2099,2266,2073,1901,2090,2005,1775,1788,1789,1722,1646,1717,1869,1765,1627,1655,1733,2074,1804,1490,1446,1243,1302,1811,1764,1677,1776,1713,1614,1688,1541,1460,1690,1562,1869,2220,2113,2054,2344,2591,2547,2259,2776,2392,2229,2745,2836,2894,2868,2453,2235,2545,2136,2276,2383,2552,2389,2315,2046,2270,2308,2298,2287,2741,2732,1985,2271,2974,2629,1459,1641,1798,1750,1726,1991,1635,1452,1803,1750,1496,1757,2311,2762,2822,2293,1791,1430,2171,2554,2209,2564,2693,2380,2108,2044,2226,2213,2077,1869,1748,1746,2174,2445,2303,1915,1634,1772,1825,1851,1997,2172,1759,1514,1530,1592,1392,1732,1869,2077,1974,1755,1890,1754,1679,1864,2086,2230,1970,2514,2399,2222,2204,1764,1814,2366,2792,2612,2464,2541,2138,2029,1911,2100,1797,1609,1519,1496,1615,1750,1701,1662,1844,1736,1880,1984,2073,1763,1631,1824,1903,1751,1832,1763,1625,1620,1645,1715,2087,2154,1914,1856,1961,2229,2206,1873,1879,1852,1567,1460,1851,2266,2842,3009,2583,2342,2275,2703,2393,2165,2190,2213,2207,2301,2437,2548,2483,2367,2631,2741,2188,2480,2559,2375,2453,2626,2750,2653,2612,2126,1756,1747,1562,1896,1715,1763,1631,1812,2172,1861,1799,1980,1832,1822,2293,2319,1907,1864,1831,1811,2140,2211,1914,1804,1886,2030,2046,2088,2095,2038,2099,2150,2057,1635,1567,1506,1772,2282,2236,1874,1914,1909,1789,1612,1737,1918,1698,1491,1475,1797,2248,2273,2092,2236,2026,2235,2315,3002,3334,3195,2280,1933,2208,2180,1912,1716,1695,1768,2217,2222,1569,1704,1714,1573,1716,1771,1677],[3476,3543,2898,2235,2352,3470,3748,3522,3452,3392,3312,3072,3077,2706,2470,2491,2422,2040,2511,3585,3998,3570,3441,3153,2580,2429,2723,3397,3671,3527,2984,2342,2116,1857,2675,3443,3266,2817,2646,2237,1580,1561,2106,2156,2964,3476,3308,2918,3033,3221,3164,3251,3298,2683,1991,2468,3308,4084,3707,3584,3586,3495,3361,3479,3852,3436,3341,3772,3308,3296,2259,1815,1755,2330,2896,2624,2780,2846,2922,2584,1934,1835,2420,3428,3595,2959,2107,2177,2476,2249,1979,2066,1779,2024,2372,2442,2126,1841,1942,1764,2266,2029,2511,2975,2681,1853,2608,3476,2780,2459,3042,2999,2974,3053,2797,2179,2072,2580,2595,1889,2524,2810,2192,2246,2330,2225,2141,1792,2265,2132,2093,2086,2097,2424,3072,2796,2192,2014,2376,2604,2402,2282,2107,2071,2164,2758,3470,3682,3562,3216,2533,2066,1852,1801,2234,2739,2529,1908,1605,1957,1826,1714,1731,1525,1723,1894,2296,2409,2568,3624,3583,3995,4136,3297,1886,2216,3332,2525,1819,1715,1670,2347,3165,3193,3126,3288,3607,3565,3808,4095,4006,2950,2023,1926,1780,1590,1913,2095,2098,2374,2113,2103,2824,3747,3859,3526,3376,2719,1829,1836,2618,3670,3982,4365,4116,2970,2280,2400,2785,2518,2300,2540,3337,3777,3079,2823,3006,2934,2353,1748,1748,2363,2544,2465,2603,1809,1438,2271,2420,2352,2712,3858,4444,4433,3894,2805,3253,3683,3951,3917,3774,3469,2763,2662,2864,2654,2897,2480,2082,1688,1465,1826,1986,2166,2381,2333,1684,1473,1486,1818,2391,2670,2707,3097,2414,2107,2171,2100,2036,1686,1843,2049,1725,1579,1541,1719,1687,2057,1980,2324,2280,2434,2548,2436,2391,2060,1865,1874,1859,2420,2436,1599,1677,1842,2425,2878,2861,2124,1586,1828,2062,2088,2212,2710,2739,2271,1598,1803,2897,3310,2856,2203,2238,2636,3018,3232,3518,3613,3429,3188,2234,1804,1753,2630,3038,2889,3140,2890,2592,2934,3065,2997,2852,3021,2508,1823,1567,1450,1520,1642,1368,1401,1590,1793,1855,1870,1611,1567,1744,2609,2770,2375,1862,1622,1425,1522,1732,1729,1732,1516,1313,1511,1405,1427,1915,1859,1581,1684,1534,1394,1383,1289,1556,1780,1555,1870,1504,1892,1834,1652,1954,2006,1698,1558,1468,1612,1907,1601,1538,1584,2290,1977,1628,1582,1759,1792,1590,1664,1728,1929,1992,1836,1823,1885,1918,1826,1999,2278,2180,2348,2142,2103,2381,1950,1746,2182,3088,2819,2400,1996,1938,1969,2271,1969,1455,1330,1342,1412,1377,1384,1589,1719,1627,1485,1477,1503,1786,1860,2143,2581,2114,1493,1720,1832,1902,2056,2056,2115,1832,1816,1964,1789,1814,1913,1766,1629,1957,2302,2415,1953,1775,2144,2922,3254,2376,1730,2154,2398,2154,1772,1601,1872,1640,1731,1619,1636,1614,2157,2244,1707,1664,2176,2398,1546,954,1125,1178,1497,1797,1992,2197,2898,2857,2753,3034,2681,2165,1736,1589,1606,1578,1945,1720,1497,1654,1737,1650,1596,1760,2087,2215,2876,3116,2226,1754,1690,1761,1835,1810,1614,1414,1260,1376,1500,1384,1415,1513,1825,1991,1684,1456,1502,1736,1567,1451,1533,1803,1813,1722,1858,1666,1564,1561,1632,2740,2437,1565,1479,1556,1360,1365,1619,2072,2232,1537,1339,1448,1586,1812,1738,1714,1785,1746,1672,1539,1428,1423,1525,1543,1427,1460,1528,1642,1722,1391,1387,1300,1272,1523,1513,1581,1554,1611,1635,1567,1306,1379,1611,2349,2309,1600,1423,1563,1576,1416,1588,1631,839,905,1351,1332,1343,1211,1391,1388,1334,1456,1432,1474,1833,1460,1363,1440,1412,1660,1875,1622,1403,1338,1224,1202,1368,1416,1349,1408,1367,1260,1289,1426,1562,1475,1304,1247,1177,1229,1642,1748,1476,1554,1436,1252,1412,1751,1672,1410,1425,1469,1663,1460,1317,1372,1420,1539,1367,1484,1456,1612,1626,1470,1439,1460,1383,1443,1583,1659,1535,1584,1802,1690,1107,613,988,1344,1884,1840,1642,1504,1555,1842,1942,2020,1954,2026,1931,1277,1186,2098,2460,3009,2968,2432,2018,1700,1650,1987,2254,2166,1749,1483,1605,1992,2089,1891,1837,2236,2708,3095,2915,2585,2397,2045,2012,2259,2273,2278,1918,1847,1860,1926,1726,1556,1709,1704,1567,1650,2047,2182,2220,2843,3099,2614,2380,2748,3044,3097,2999,2330,1998,2410,2302,2190,2457,2986,3454,3614,3695,3671,3635,3440,3183,3278,2950,2204,2380,2509,2263,2184,2170,2864,2561,2898,3020,2632,2990,3196,2339,2213,2427,2272,1843,1832,1964,2156,2557,2651,2398,1883,2132,2610,2813,3098,3031,2588,2689,3116,2966,2889,3032,2818,2375,2062,2160,2297,1878,1920,2293,1728,1867,1725,2467,3207,2098,1662,2211,2368,2260,2039,2065,2087,1519,2569,3727,3818,2934,2746,3088,3344,3518,2810,2498,2875,2775,3000,2831,2197,2117,2612,2518,2666,2828,3188,3750,3527,2256,2081,2216,1887,2315,3053,2719,3009,2291,1913,2186,2408,2301,2349,2494,2346,2156,2702,2489,2436,2641,2474,1969,1578,1714,2448,2541,2363,2175,1864,2058,2068,1627,1515,1539,1416,1550,1472,1617,1534,1170,1495,1922,1710,1186,1194,1465,1521,1720,2217,2423,1665,1739,1667,1753,1865,2160,2120,1663,1865,2542,2579,2834,3064,2946,2988,2689,2421,2302,2043,1910,2438,3108,2969,3196,3808,3423,2869,3295,4094,4315,4184,4179,4369,4572,4284,3230,2300,1762,1518,1456,1416,1590,2060,2247,2105,2613,2785,2561,2198,2179,2416,2209,1640,1955,2114,2513,2689,2900,2868,2728,2227,2001,2105,1911,1803,1802,1969,2155,2366,2150,1521,1540,2060,2044,1582,1810,1808,1702,1813,1909,2205,2283,2303,1798,1953,1731,1497,1456,1426,1483,1664,1750,1628,1586,1562,1621,2228,3012,1705,1643,1703,1693,1677,1429,1276,1277,1300,1473,1542,2051,1833,1605,1919,1763,1892,1853,1640,1883,2546,3316,3484,3394,3669,3770,3086,3221,3437,3222,3261,3065,3221,3182,2758,2774,2241,1843,1980,2011,1785,1943,1783,1863,1814,1720,1882,1932,2055,1711,1168,1561,1695,1403,1257,1444,1604,1627,1878,1987,1837,1566,1311,1281,1554,1762,1697,1713,1713,1611,1522,1759,1691,1628,1699,1675,1805,1729,1533,1554,1557,1411,1528,1447,1361,1344,1506,1222,1240,1288,1240,1394,1536,1326,1284,1258,1195,1209,1200,1289,1556,1755,1612,1869,2415,2175,1616,1950,2198,2078,2079,2302,1576,1729,2087,1790,1869,2009,1478,1245,1396,1544,1990,1886,1792,2353,1694,1601,1553,1511,1529,1510,1480,1242,1369,1682,1840,2046,1788,1523,1437,1470,1423,1503,1484,1399,1438,1518,2135,2692,2200,2005,1906,1928,2257,1937,2322,3430,4413,4090,3723,3848,3462,2533,2208,2402,2791,2170,2097,2045,1796,2186,3046,3339,3469,3608,3231,2799,2656,2877,2990,3228,3232,3220,3152,3185,3050,2938,3108,3323,3308,3164,3127,3052,3041,2950,2873,2836,2670,2424,2480,2649,2440,2180,2201,2168,2243,2323,2389,2544,2521,2597,2505,2445,2664,2647,2461,2264,2182,2382,2412,2520,3034,3178,3143,3080,2944,3104,3390,4037,4421,3970,3442,3219,2968,3041,3118,2819,2585,2699,2719,2988,2806,2871,3096,2896,2758,2845,3176,2730,2009,1977,1825,1575,1627,2018,2387,2252,2206,2244,2243,2424,2314,2092,2015,1502,1470,1495,1490,1390,1217,1140,1549,1816,1660,1621,1542,1428,1310,1162,1437,1713,1632,1827,1523,1346,1545,1870,1929,1596,1540,1554,1695,1470,1230,1221,1439,1658,1454,1719,1886,1375,1383,1690,1656,1605,1392,1541,1597,1693,2148,2272,1870,1592,1332,1308,1657,1938,2116,1772,1555,1644,1544,1038,1025,958,907,1281,1463,1496,1676,1871,1824,1648,1610,1410,1465,1625,1721,1676,1717,1697,1567,1417,1492,1562,1628,1614,1710,1789,1776,1583,1589,1605,2014,2082,1721,1764,1544,1414,1627,1736,1583,1594,1632,1719,1713,2116,2033,1997,2158,2413,2701,2215,2211,2298,2094,1669,1441,2182,2908,2526,2241,2334,2051,2055,2657,3058,2117,1863,1700,1474,2026,2376,2062,1631,1308,1294,1924,2018,1786,1701,1930,1840,1663,1736,1699,1664,1799,1625,1466,1577,1779,1667,1453,1498,1760,1739,1686,1984,1738,1499,2082,2018,1587,1707,2061,1972,1333,1603,1704,1585,1830,2019,2380,2568,2202,1929,1900,1877,1813,1820,1792,1695,1683,1670,1532,1597,1547,1757,1919,1693,1485,1421,1445,1922,2146,1651,1721,1676,1596,1804,1752,1526,1953,2267,2300,2183,1749,1599,1908,2324,2653,2213,2257,2372,1881,2075,2740,2584,2134,2485,2097,2001,2600,2184,2517,3193,2462,1911,1852,2010,1958,1923,2116,2329,2798,2625,2226,2820,2296,2114,1490,1992,2007,1426,1726,1915,1547,1458,1543,1510,1465,1836,2008,2118,2410,2472,1938,1625,2250,2491,2392,2439,2656,2846,2300,2157,2327,2159,2065,2157,2110,2231,2223,2190,2069,1518,1588,1835,1786,2261,2217,1877,1541,1582,1628,1644,1489,1887,2022,1993,2009,1760,1933,1991,1763,1940,2017,1864,1640,2090,1870,1842,1768,1557,1834,2348,2424,2327,2308,2579,1749,1848,1915,1614,1438,1487,1488,1530,1624,1691,1456,1732,1850,1490,1832,1924,1598,1535,1642,1782,1870,1925,1847,1792,1671,1638,1782,1519,1600,1758,2031,1896,1976,1993,2042,2073,1650,1511,1359,1815,2742,2864,2962,3531,4004,3230,2758,3067,2412,2221,2553,2319,2065,2049,2368,2879,2324,1824,1881,1782,1616,1790,1930,2221,2630,3032,3078,2778,2678,2056,1532,1640,1588,1813,2017,2408,2024,1623,1891,1718,1799,2191,1777,1730,2341,2576,2412,2653,2491,2041,1994,1865,1608,1558,1713,1784,1615,1824,2106,2066,2110,2149,2076,1848,1739,1775,1772,1619,1499,1659,2170,1813,1612,1655,1767,1804,1812,1748,1761,1978,2366,2568,2416,2098,1892,2214,2402,2979,3194,2967,2591,2535,2166,1722,1710,1856,1873,1977,2398,2042,1645,1641,1472,1544,1892,1914,1792],[3876,3441,2798,2158,2565,3604,3834,3828,3497,3107,3125,3262,3630,2877,2530,2352,2316,1945,2010,3082,3884,3817,3738,3774,3226,2667,2341,2973,3439,3620,3042,2425,2408,1619,1613,2601,2375,1727,2064,1794,1442,1631,2302,2695,3398,3684,3105,2790,3051,2733,2321,2836,2620,2354,2233,3243,3342,3768,3782,3629,3542,3281,3173,3504,3968,3803,3571,4095,3580,3405,2177,1731,1615,2269,2402,2124,2282,2320,2059,1784,1709,1597,2402,3373,3378,3659,3459,3485,3363,2338,1787,1860,1817,2092,2670,2690,2426,1672,1900,1995,2460,2423,2731,3263,2511,1543,2084,2358,2460,3008,2586,2430,2424,2533,2150,1728,1906,2420,2692,2587,2717,2547,2281,2912,2776,2384,2026,2132,2708,2401,2193,2619,2320,2119,2568,2500,1863,1402,2152,3140,2757,2122,1832,1964,2394,3056,3257,3510,3791,3082,2620,2364,1859,1705,2188,2470,2576,2124,1964,2126,2227,2235,1917,1689,1576,1691,1802,1768,2833,3666,3440,3871,4260,2972,1581,1699,1914,1717,1780,1802,1828,2557,3576,3488,3582,3387,3520,3667,3798,3807,3465,3183,3178,3146,2807,2543,3017,2819,2655,2476,2038,2386,3127,3548,3108,2522,2683,2193,1592,1740,2501,3339,3728,4381,3862,2570,1885,1567,1554,1833,2732,3084,3117,3511,2967,2495,2461,2070,2074,1762,1908,2834,3095,2795,2526,1787,1646,2526,2595,2634,2743,3052,3509,3754,3707,3673,4043,4070,4163,3859,3573,3674,3354,2635,2135,2096,2180,1657,1603,1489,1469,1913,2416,2366,1792,1824,1523,1492,1415,1626,2144,2614,2788,2476,1817,1829,1866,2104,1906,1858,2721,2475,1914,1779,1687,1554,1630,2082,2033,2167,2476,2490,2452,2378,1905,1895,1814,1594,1931,2636,2120,1747,1999,2220,2486,2475,2487,2030,1434,2121,2939,2820,2402,2442,2829,2122,1485,2033,2785,2708,2733,3251,3152,2547,2647,3474,3847,3651,3606,3454,2953,2465,2092,2403,3086,3255,3684,3946,3800,3389,3169,2980,2123,2057,1944,1521,1406,1426,1560,1696,1436,1587,1665,1769,1952,1685,1517,1586,2288,2896,3045,2914,2569,2380,2046,1796,1802,1739,1638,1417,1356,1539,1462,1448,1670,1647,1692,1719,1611,1386,1366,1316,1439,1531,1427,1806,1826,2174,2050,1797,1837,1686,1516,1404,1289,1228,1561,1563,1532,1331,1550,1563,1383,1396,1586,1596,1476,1615,1448,1614,1676,1576,1591,1663,2002,2176,2176,2013,1814,1991,2062,1907,1943,1775,1697,1907,2141,2158,2081,2103,2267,1971,1824,1802,1690,1474,1394,1416,1443,1458,1697,1710,1776,1582,1349,1282,1406,1664,1866,1801,1606,1570,1576,1641,1870,1482,1959,2232,1692,1669,1685,1416,1435,1615,1691,1412,1857,2356,2423,1891,1703,1904,2443,2588,2041,1924,1982,1859,1765,1647,1723,2297,1899,1696,1885,1937,1735,2011,2025,1828,1878,2162,2125,1397,893,1193,1432,1423,1716,2116,2475,2908,3008,3050,3089,1982,1650,1653,1575,1483,1451,1966,1820,1535,1707,1890,1733,1520,2231,3060,2334,2511,2923,2206,1855,1671,1744,1664,1500,1495,1372,1312,1448,1481,1410,1545,1655,1592,1699,1603,1461,1735,2393,2645,2267,1624,1639,1707,1885,1916,1531,1518,1532,1918,2270,1779,1349,1415,1267,878,1489,2007,2479,1997,1562,1431,1640,1548,1670,1705,1644,1794,2062,1971,1642,1450,1500,1664,1419,1287,1263,1390,1648,1549,1520,1478,1264,1376,1615,1729,2058,2063,1759,1592,1432,1259,1358,1359,1498,1313,1368,1628,1718,1578,1409,1549,1381,766,1014,1332,1312,1238,1306,1472,1373,1290,1239,1322,1714,1803,1267,1332,1318,1570,1620,1577,1546,1594,1452,1215,1177,1330,1310,1229,1256,1160,1188,1315,1411,1345,1240,1372,1411,1309,1687,2576,2282,1510,1371,1295,1199,1288,1313,1418,1384,1237,1428,1503,1293,1371,1334,1371,1456,1345,1404,1515,1758,1907,1591,1500,1432,1484,1513,1544,1575,1682,1771,1776,1644,902,926,1353,1711,1946,1592,1453,1395,1541,1709,1841,1998,1880,1837,1913,1798,1695,1618,1859,2603,2720,2132,1819,1570,1636,1896,2231,2260,1812,1513,1627,1951,2241,2028,2143,2518,2662,2997,3238,3262,2727,2331,2049,2055,1877,2215,2084,2298,2627,2563,2181,2094,2481,2381,2087,1846,2277,2284,2104,2308,2363,2370,2674,2989,3068,3009,2875,2105,2291,2370,2499,2438,2263,2580,3548,4252,3929,3565,3493,3449,3037,3244,2916,2116,2136,2778,3069,2336,2856,2957,2963,3134,2664,2809,2784,2502,1950,1852,1731,2027,1743,1879,1697,1865,2279,2381,2056,1964,2260,2257,2465,2425,2642,2962,2979,2979,2377,1500,2293,2936,2305,1973,1970,1886,1764,2137,2475,1942,1952,2139,3001,2932,1888,2246,2533,1813,2030,1876,1866,1848,1527,2724,3717,3870,2347,2308,3198,3068,3321,3436,2876,2940,2828,3003,2843,2267,2047,2280,2208,2227,2147,2739,3263,2717,2228,2454,2404,2189,2844,3663,3130,2983,2410,2079,1923,1676,2001,2191,1867,1945,1749,2196,2085,2315,2604,2211,1917,1689,1871,2020,1948,1813,1664,1851,2144,1898,1546,1571,1667,1776,1649,2086,2368,1703,1546,1832,1748,1725,1721,2084,1629,1618,1560,1599,1568,1867,1910,1390,1274,1761,2091,2068,2061,2197,2785,2315,2597,2858,1985,1614,1519,1928,2150,1833,2066,3474,4728,4596,4480,4545,4229,4049,4313,4592,3812,3437,3148,2635,3380,4263,3969,2881,1676,1409,1698,1781,1716,1988,2217,2148,2057,2112,2057,2032,2318,2333,2105,1851,1968,1976,2178,2161,2253,2378,2307,2115,2138,2205,2094,2003,2024,2300,2247,2979,2387,1865,2159,2417,2185,1602,1429,1573,1736,1918,1886,1637,1580,1807,2044,2109,1653,1440,1434,1368,1266,1456,1621,1590,1589,1802,1718,1502,1587,1535,1512,1511,1609,1668,1509,1515,1690,1650,1438,1666,1649,1454,1450,1720,1561,1659,1656,1496,1464,1699,2299,2277,2580,3095,2923,2566,2607,2876,3033,3018,3178,3060,2398,2834,2880,1750,1632,2010,2025,1924,2134,1974,1682,1547,1649,1750,1962,1908,1575,1265,1676,1590,1432,1274,1375,1634,1936,2020,1915,1747,1754,1831,1460,1411,1569,1618,1870,1692,1625,1585,1673,1566,1540,1656,1604,1508,1364,1436,1505,1639,1672,1649,1637,1657,1582,1630,1507,1429,1435,1377,1487,1763,1523,1553,1462,1269,1287,1455,1445,1578,1940,2278,2433,2153,2019,1577,1888,2167,2553,2254,2423,1858,1601,1937,1722,1818,1959,1487,1265,1175,1376,1917,1960,1870,2443,2002,1888,1766,1482,1329,1515,1644,1102,1130,1346,1450,1654,1619,1482,1366,1387,1381,1443,1435,1450,1445,1313,1662,2654,2942,2646,2319,1923,2162,1917,1959,2875,3392,3550,4021,3920,2922,2261,1733,2153,2684,2793,2406,1989,1973,2022,2171,2512,2908,2579,2276,2743,2768,2881,3252,3369,3208,3116,3021,3076,3041,3033,3125,2997,2808,2667,2653,2719,2898,2920,2774,2554,2322,2407,2508,2453,2322,2214,2142,2114,2298,2596,2680,2619,2888,3228,2909,2625,2525,2461,2718,2718,2584,2632,3044,3061,2635,2785,3056,3079,2996,3011,3476,4022,3990,4177,3691,3221,2885,3274,3284,2965,2809,2625,2979,3529,3100,2905,3009,2909,2656,2739,2939,2521,2005,1860,1776,1792,1773,2136,2286,2224,2182,2192,2134,1902,1882,1810,1781,1410,1523,1617,1633,1549,1429,1468,1607,1762,1676,1715,1538,1527,1327,1355,1671,1730,1561,1447,1633,2035,1933,1729,1480,1395,1395,1496,1533,1260,1269,1292,1456,1564,1556,2119,2184,1287,1301,1493,1445,1404,1344,1579,1699,1898,2386,2270,2194,2254,1825,1577,1650,1895,2377,1909,1476,1594,1524,1404,1384,1343,1441,1706,1589,1497,1483,1610,1603,1510,1587,1658,1841,1784,1511,1418,1490,1737,1782,1554,1623,1580,1432,1512,1851,1964,1856,1853,1854,1693,1871,1757,1677,1758,1445,1407,1838,1914,1791,2093,2051,1782,1990,2317,2310,1990,1384,1553,2028,1658,1804,2113,2038,1836,1487,1893,2709,2687,2055,1889,1742,1614,1798,2273,2233,1820,1406,1353,1805,2515,2641,2233,1633,1150,1754,2128,1964,1750,1953,2124,1943,1776,1544,1898,2067,1713,1428,1476,1592,1599,1471,1579,1908,1666,1475,1782,1682,1723,2030,1913,1724,1752,1762,1479,1276,1806,1795,1830,2189,2425,2679,2508,1915,1790,1713,1915,1757,1793,1797,1999,2009,1865,1443,1689,2232,2350,2057,1879,1617,1414,1467,1735,1742,1668,1755,1863,1755,1820,1652,1388,1707,2357,2332,1968,1792,1681,2081,2359,2669,2778,2631,2125,1940,2492,2885,2309,2293,2851,1966,1720,2403,2405,2301,2165,1851,1672,1695,2305,2470,2228,2269,2233,2270,2442,2378,2511,2518,2380,2037,2128,2378,2491,2138,1747,1655,1590,1567,1533,1655,2031,2275,2248,2080,2075,1986,2199,2388,2383,2414,2022,2259,2668,2518,2693,2845,2396,1874,1782,1880,1971,2066,2136,1756,1616,1946,1697,1925,3090,2686,1656,1462,2009,2114,1716,1538,1558,1608,1742,1714,1879,2000,1792,1769,2297,2230,1653,1631,1923,1741,1635,1986,2331,2303,2171,2082,2169,2194,2125,1738,2115,2402,1876,1551,1652,1672,1864,1688,1505,1699,1842,1825,1616,1719,1872,1727,1638,1814,2138,2477,2153,1563,1580,1702,1841,1947,1571,1669,1945,2004,1917,1848,1605,1856,2074,1523,1715,2075,2897,3113,2690,2498,3331,3697,2774,2415,2396,2126,2375,2169,2404,2612,2367,2251,2509,1838,1242,1058,1192,1647,2125,2359,2470,2469,2819,2808,2437,2483,1941,1631,1638,1573,1734,2291,2609,1936,1790,2057,2005,2314,2367,1921,1750,2058,2131,2767,3509,3099,2108,1801,1863,1604,1673,1742,1558,1552,1718,1861,1731,1699,1906,2034,2101,2242,2089,1975,1766,1711,1541,1947,1980,1704,1704,1724,1737,1898,1887,1978,2290,2337,2216,2223,2200,2067,2229,2552,2883,3191,2917,2536,2345,1941,1580,1686,1964,1767,1752,1645,1602,1600,1626,1820,2136,2223,1933,1464],[3381,3161,2945,2799,3210,3651,3820,3875,3140,2331,2584,3052,3349,3151,3084,2590,2376,2167,1782,2115,2981,3666,3753,3691,3791,3171,3008,3305,3379,3500,3119,2507,2323,1970,1678,1840,2132,1832,2200,1709,1528,1851,2306,3008,3473,3521,3104,2908,3122,2548,2188,2368,1607,1981,2100,2830,3275,3509,3740,3526,3284,3293,3364,3436,3776,4062,3670,3420,3124,2928,2446,2094,1670,1479,1473,1726,2122,1817,1554,1455,1542,1610,1614,1780,1620,2470,3151,3495,3238,2821,2881,2895,2864,2739,2720,2574,2234,1839,1794,1931,1931,1858,2286,2724,2203,2214,2456,2162,2868,3632,2676,2291,2014,2214,2082,1711,1840,2216,2750,2979,2397,2291,2964,3827,3176,2485,2260,2530,2786,2453,2402,2821,2564,2349,2654,2689,2404,1692,2118,3265,2556,1839,2125,2164,2361,3130,3716,3837,3316,2645,2727,2363,2011,2085,2229,2321,2181,1981,1956,2377,2730,2324,2133,2075,2030,1931,1718,1749,2917,3262,3035,3593,3814,2706,1404,1557,1743,1653,1732,1895,2333,2856,3496,3372,3384,3471,3518,3526,3710,3536,2517,3204,3830,3982,3428,3457,3501,2924,2853,2854,2964,3581,3880,3561,2662,2185,2535,2374,2145,2325,2648,3105,4070,4307,3362,2769,2945,2930,2333,2349,2994,2988,3308,3527,3006,2533,2183,2126,2114,2025,2370,3182,3749,3352,2532,1817,1912,2499,2781,3118,2498,2625,3101,2669,2113,2955,3983,4115,4207,3541,3706,4008,3263,1898,1558,1848,1621,1873,2144,1894,1866,1946,1898,1802,1594,1870,1755,1550,1593,1629,2161,2536,2283,1918,1751,1578,1967,2055,1547,2076,3001,2733,2118,1979,1786,1619,1722,1928,1975,2031,1915,1931,2120,1865,1642,1897,1780,1686,1836,1980,1838,2183,2297,1948,2074,2072,1938,1809,1773,2518,2965,2475,2227,2320,2193,1677,1808,2474,2697,2795,3488,3864,3231,2068,1948,2805,3356,3552,3340,3197,2825,2584,2668,2672,2997,3221,3609,3959,4311,3713,2798,2623,2187,1687,1594,1542,1432,1412,1342,1584,1656,2086,1905,2059,1930,1586,1421,1547,1945,2097,2565,2692,2544,2630,2168,1709,1948,1879,1509,1327,1385,1512,1452,1434,1603,1590,1665,1439,1454,1529,1432,1358,1342,1466,1355,1592,2250,2233,1904,1993,1794,1912,1433,1192,1176,1400,1409,1364,1380,1359,1626,1632,1448,1519,1820,1686,1404,1372,1294,1347,1452,1481,1238,1219,2020,2463,2088,1796,1958,2233,2104,1921,1653,1712,1792,1756,1758,1711,1716,1784,1731,1699,1722,1816,1745,1736,1642,1700,1746,1800,1868,1858,1832,1793,1782,1576,1530,1738,1870,1759,1689,1696,1797,2294,2140,1709,2258,2284,1675,1707,1710,1383,1490,1870,1683,1371,1622,1842,2064,2056,2008,1860,1648,1486,1857,2388,2143,1750,1433,1555,1714,2038,1855,1757,2180,2175,1802,1857,1598,1491,1570,1507,1661,1557,1708,1772,1490,1433,1515,1755,2191,2503,2669,2516,2414,1783,1875,1913,1987,1816,1671,2043,2032,1702,1699,1890,1941,1981,2254,2621,2318,2231,2036,1967,1903,1615,1515,1328,1468,1613,1555,1390,1373,1349,1434,1384,1306,1281,1704,1870,1532,2247,3522,3068,2011,1576,1463,1887,2195,1874,1524,1433,1308,1458,1692,1605,1324,1619,1521,1340,1738,1725,2242,1926,1946,1839,1725,1729,1708,1506,1378,1612,2060,1937,1840,1585,1521,1512,1378,1400,1292,1520,1614,1542,1592,1553,1400,1460,1704,1785,1981,1721,1433,1453,1444,1339,1294,1249,1168,1270,1580,1566,1754,1673,1598,1485,1080,910,1208,1434,1351,1283,1551,1510,1299,1294,1084,1331,1573,1214,1209,1339,1340,1390,1340,1213,1164,1311,1337,1228,1233,1207,1346,1229,1222,1232,1184,1203,1340,1344,1438,1516,1422,1277,1494,1921,1770,1454,1345,1365,1398,1200,1066,1151,1216,1238,1318,1233,1242,1232,1220,1247,1198,1259,1263,1343,1370,1434,1469,1413,1426,1501,1490,1619,1720,1970,1782,1636,1140,862,1230,1614,2176,2019,1533,1446,1446,1622,1896,1541,1397,1702,2051,1939,1775,1779,1718,1619,1693,1855,2042,1844,1610,1476,1403,1639,1816,1782,1627,1793,1976,2045,2062,2447,2768,2400,1932,2625,3332,3506,2939,2084,1993,2103,2290,2481,2492,2265,2235,2284,2463,2641,2662,2487,2121,2065,1913,1899,1937,1919,2088,2360,2574,2973,3024,2456,2319,2622,2472,2688,2540,2135,2278,3283,3672,3110,3060,3168,3119,2916,2999,2436,1870,2308,2752,2623,2130,2463,2499,2699,2799,2557,2958,2569,2240,1949,1700,1757,1710,1879,1951,1786,1964,2332,2360,2000,2150,2402,2344,2342,2362,2292,2617,2827,2651,2438,2376,2553,3165,3191,2763,2152,1714,1626,2009,2118,2003,2100,2360,2610,2172,2139,3012,2371,1266,1796,1654,2066,2026,1898,2621,3493,3999,3479,3206,3096,2592,2589,3121,2989,2479,2596,2586,3001,2451,1866,2020,2468,2332,2482,3450,2894,2192,2427,2632,2596,2522,2668,3110,3346,2874,2441,2446,2055,1653,1944,2120,1863,2022,1836,2270,2417,2258,2281,2088,1920,1905,1684,1733,1732,1692,1991,2439,2519,1886,1569,1764,1853,1848,1851,2770,2867,1942,2071,2322,1845,1817,1785,2183,1953,1844,1612,1601,1686,2378,2503,1414,1210,1518,1969,2196,2049,2021,2918,2072,2282,2693,2053,1988,2348,2434,2296,1868,1963,3439,4752,4771,4744,4543,4183,4108,4316,4543,3879,2922,2374,2418,3180,4011,3893,2844,1846,1450,1896,1824,1615,1792,1918,1886,1908,1904,2050,2310,2589,2328,2244,2050,1835,2217,2460,2162,2214,2410,2432,2447,2193,1958,1782,1866,1980,2094,1909,2150,2046,1949,2017,2318,2160,1676,1448,1476,1387,1466,1697,1361,1302,1368,1603,1709,1687,1747,1714,1436,1292,1586,1571,1294,1607,1894,1808,1736,1685,1510,1440,1293,1228,1355,1607,1801,1832,1798,1882,1816,1490,1460,1376,1389,1409,1412,1431,1440,1340,1612,2270,1802,1588,2390,2565,1990,1525,1454,1551,1606,1636,1491,1740,2368,1855,1457,1517,1696,1892,1981,1874,1630,1469,1482,1613,1641,2000,1886,1599,1351,1392,1333,1377,1326,1483,1853,1976,1966,1754,1798,1936,1947,1875,1643,1580,1750,1743,1670,1697,1665,1744,1419,1156,1526,1493,1356,1257,1394,1599,1730,1896,1588,1623,1563,1536,1706,1674,1544,1527,1611,1669,1715,1797,1824,1716,1452,1393,1455,1474,1689,1978,2405,2423,1806,1664,1662,1599,1744,2084,2007,2298,2178,1560,1653,1801,1891,1870,1448,1375,1363,1686,1794,1996,1941,2002,2051,1985,1751,1317,1367,2084,2029,1317,1178,1320,1476,1787,1734,1461,1406,1467,1426,1408,1433,1408,1408,1348,1570,2111,2552,2338,1841,2288,2405,1835,1946,2314,2836,3687,4048,3227,2438,1991,1974,2170,2597,2621,2126,2497,2631,1935,2148,2799,3135,2545,2421,2425,2460,2843,3087,2927,2744,2665,2734,3033,3010,2933,2856,2679,2570,2482,2518,2569,2646,2604,2481,2310,2266,2306,2288,2243,2163,2226,2115,2062,2111,2462,2577,2582,2819,2899,2584,2568,2965,3244,3375,3351,3278,3021,3091,2841,2708,3129,3308,3233,3054,2818,3064,3155,2990,3677,3834,3476,2856,3054,3171,3251,3458,3283,2833,2592,2487,2718,2854,3095,2586,2456,2799,2580,2036,1858,2427,2135,1776,2065,2150,2201,1958,1788,1847,1528,1865,1596,1495,1393,1509,1674,1628,1428,1296,1326,1496,1599,1605,1713,1490,1510,1678,1784,1769,1738,1469,1440,1786,2434,2198,1531,1579,1640,1620,1584,1458,1297,1231,1265,1428,1383,1406,2124,2069,1349,1431,1404,1401,1606,1767,1895,1703,1857,2265,2335,2519,2265,2050,1434,769,1410,2166,1790,1614,1795,1842,1894,1666,1719,1963,1967,1738,1656,1547,1596,1712,1665,1711,2018,2244,1831,1462,1562,1762,1833,1590,1802,1504,1448,1548,1606,1625,1799,1800,1592,1477,1384,1573,1636,1802,1768,1367,1979,2596,2176,1892,2247,2373,2482,2674,2852,2250,1541,1426,1632,1606,1452,1461,1505,1723,1870,1650,1599,1845,2044,1914,2296,1876,1721,1682,1927,1972,1605,1396,1576,1846,2420,2502,2098,1703,1645,2006,2438,2004,1559,1852,2064,2038,1805,1728,2196,2238,1953,1552,1547,1607,1911,1887,1653,1608,1558,1820,2280,2010,1761,1662,1799,1753,1724,1624,1554,1962,2087,1881,2177,2636,2228,1915,2122,1920,1865,1543,1974,1941,1895,2036,2036,2089,1885,1900,2522,2740,2375,2184,1930,1816,1554,1644,1727,1770,1723,1694,1648,1485,1569,1723,1596,1606,1864,1858,2082,2225,2113,2347,2415,2980,3042,2452,2260,2266,2486,2354,2544,2730,2619,2078,1775,2512,2846,2530,2080,1841,1863,2222,2686,2557,1955,2047,2187,2526,2694,2718,2479,2537,2482,2369,2194,2862,3382,2739,2339,2124,2056,1729,1493,1908,2119,2307,2312,2116,1805,1752,2279,2514,2647,2750,2095,2230,2474,2676,2810,2958,2520,1692,1635,1770,1554,1658,1754,1892,1973,2078,1789,2242,3341,2579,1614,1444,1621,1702,1625,1529,1605,1676,1770,1758,1842,2078,1965,1842,2354,2213,1714,1970,2288,1809,1666,2296,2645,2468,2174,2089,2183,2179,1921,1799,2139,2290,1629,1282,1830,1852,2100,1984,1741,2015,1975,2116,1705,1592,1795,1731,1720,1851,1900,2308,2152,1668,1564,1469,1855,1926,1665,1823,1964,2185,2596,2084,1820,1865,1960,1775,2102,2177,2352,2566,2471,2325,2424,2443,2259,1900,1713,1498,1875,2088,2469,2244,1844,1916,2168,2163,1975,1677,1668,2166,2547,2753,2776,2642,2791,2866,3054,2826,2239,2104,1757,1529,1805,2439,2670,2101,1941,2024,2006,1966,2046,2018,1944,1822,2121,3022,3520,3084,1841,1827,1914,1795,1765,1747,1613,1876,1916,1874,1791,1587,1639,1694,1884,2035,1997,2136,2170,2156,1994,2326,2243,1874,1741,1663,1773,1827,1782,1764,1855,1966,1759,1948,2077,2150,2309,2214,2435,2702,2644,2035,1594,1844,1588,1548,2104,2274,2165,2015,1961,1801,1616,1801,2028,2049,2104,1772],[3159,3044,2911,2986,3181,3695,3958,3758,2828,2239,2283,2743,3111,3063,2880,2423,2209,2105,2072,1820,2338,3463,3691,3756,4208,3763,3558,3620,3456,3228,2887,2481,2257,2221,1798,1595,1926,1963,2649,2187,2014,1909,1681,2315,3122,3648,2701,2503,2911,2865,2439,1861,1807,2448,2754,3132,3096,3206,3695,3803,3586,3307,3714,3933,3740,4033,3939,2894,2327,2745,3125,2640,1652,1366,1466,1691,2155,1676,1388,1334,1721,2163,1920,1671,1662,2103,2563,2529,2489,3107,3927,3624,2998,2819,2824,2954,2873,2441,2275,2159,1996,1937,2154,2428,2349,2342,2226,2278,2875,3088,2864,2490,2062,2098,1815,1687,2321,2733,2935,3133,2777,2733,3727,3673,3051,2806,2659,2552,2733,2795,2607,2684,2506,2717,2568,2509,2781,2665,2380,2648,2036,1606,1715,2009,2831,3244,3451,3189,2800,2728,2713,2470,2512,2337,2334,2194,2045,1913,1782,2470,2555,2163,2054,1946,2104,1683,1426,1960,2818,2675,2665,2757,2851,2475,1621,1544,1639,1718,1626,1515,1868,2722,3376,3260,3208,3167,2976,3385,3895,3682,2301,3376,3537,3538,3250,2979,3121,2928,2686,3029,3245,3871,3816,3692,2909,2170,2199,2317,2437,2901,2522,2501,3624,4208,3530,3132,3282,3178,2393,2354,2641,2888,3494,3846,3501,2803,2165,1923,1765,1935,2619,3217,3428,3462,3110,2342,2288,2614,2842,2511,2122,2696,3015,2207,2114,2954,3627,4088,4310,3962,3746,3726,3033,2175,2234,2045,1475,1969,2674,2720,2067,2033,1890,1769,1946,2069,1952,2048,2250,2175,2179,1928,1823,2035,1813,1564,1602,1582,1586,1972,2203,2513,2269,2009,1788,1776,1812,1682,1954,2098,1784,1743,2009,1541,1698,1866,1719,1895,1898,1802,2110,2585,2305,1853,1870,1909,1663,1592,1876,2177,2155,2076,2267,2598,2490,1926,2153,2311,2270,2588,2946,3073,2424,1778,1773,2056,2447,3061,3396,3150,2331,2013,2375,2973,2966,3233,3618,4086,4179,3651,3019,3248,3328,2603,1947,1976,1912,1459,1327,1527,1527,1695,1740,1996,2083,2131,1794,1569,1686,2073,2577,2375,2198,2136,1969,1794,1759,1727,1638,1530,1399,1288,1338,1300,1473,1743,1641,1425,1428,1454,1383,1588,1646,1455,1269,1433,1785,1659,2051,2166,1813,1813,1447,1272,1422,1619,1496,1475,1582,1802,1877,1591,1700,1912,2341,1840,1350,1487,1583,1577,1604,1680,1449,1295,1707,1835,1758,1910,1866,1947,1741,1515,1291,1655,1844,1841,1791,1751,1815,1792,1846,1924,1521,1757,2367,2179,1765,1832,2038,2187,2147,1857,1956,1793,1961,1830,1780,1796,1823,1627,1738,1903,1941,2384,2327,1891,2077,2069,2009,1854,1908,1829,1803,1819,1694,1686,1940,2241,2253,2164,2082,1753,1908,2031,1898,1876,1649,1513,1578,1650,1808,1709,1355,1497,1767,1726,1523,1707,1914,1724,1773,1575,1669,1861,2699,2398,1577,1778,1721,1856,2189,2265,2005,1690,1687,1879,2170,1874,1638,1698,1648,1744,2004,2088,2009,1924,1866,2104,2105,2127,2194,1735,1412,1853,1994,1735,1722,1622,1640,1528,1350,1338,1493,1374,1428,1476,1375,1395,1789,2018,1842,2348,3431,2607,1832,1578,1591,1808,1701,1493,1464,1476,1320,1489,2264,2659,2527,2751,1880,1464,1442,1545,1975,2175,2166,1864,1736,1768,1566,1304,1281,1794,1991,2216,2439,2170,1894,1592,1488,1532,1551,1707,1643,1520,1531,1598,1493,1598,1698,1655,1694,1501,1268,1404,1538,1289,1291,1233,1333,1727,1926,1658,1691,1907,2155,1457,789,897,1233,1396,1224,1229,1271,1204,1273,1444,1385,1453,1353,1074,1234,1245,1269,1390,1333,1213,1322,1535,1483,1281,1347,1409,1440,1239,1296,1415,1302,1301,1416,1400,1362,1332,1224,1182,1237,1332,1410,1418,1450,1700,1758,1410,1286,1289,1317,1254,1241,1367,1317,1232,1296,1243,1273,1288,1275,1237,1201,1216,1248,1388,1692,1560,1593,1731,1947,1843,1875,1376,861,1148,1414,1923,2215,2057,1554,1450,1510,1709,2096,1685,1411,1540,1946,1868,1734,1796,1905,1808,1693,1882,2057,1905,1919,2031,1949,1771,1737,1895,1894,1989,2269,2111,2088,2081,2685,2595,2315,2527,2646,3278,3272,2535,2291,2424,2432,2663,2668,2152,1887,2198,2483,1963,1868,2160,2640,2664,2200,1951,1832,1671,1695,1829,2091,2272,2986,3062,3163,2385,1814,2446,2602,2271,2734,3231,2820,1946,2426,2933,3430,2910,3098,2828,2476,2296,1974,1569,2239,2959,2604,2441,3104,3196,2733,2691,2295,1795,1730,1450,1421,1845,2010,2146,2401,2320,2083,1923,2431,2565,2230,2151,2292,2443,2547,2596,2254,2025,1960,2181,3125,3098,3084,2555,1630,1682,2192,1945,1792,1830,1776,2150,2137,2245,2812,1556,1453,2034,2270,2283,2182,1979,1989,2698,3562,3772,3441,2844,2608,2643,2603,2920,2403,2584,2578,2832,2278,1850,2335,2750,2609,2363,2540,2213,2055,2099,2351,2808,2953,2307,2280,2910,2641,2162,2304,2075,1844,2293,2093,2256,2368,2387,2995,2923,2103,1963,2199,2685,2700,1959,2453,2545,2383,2642,2814,2540,1843,1508,1561,1741,1887,2146,2491,2237,1724,2107,2379,2085,2209,1793,1713,1824,1875,1614,1538,1740,2364,2380,1370,1235,1542,1934,2213,1937,2043,2780,2241,2244,2664,2010,2216,3066,2946,2578,1962,1707,3128,4144,4094,4201,4156,3272,2702,3564,4280,4086,3438,2644,2500,2775,3426,3394,2552,1829,1623,1784,1704,1577,1397,1224,1299,1750,1851,1772,1984,2329,2370,2424,2359,2230,2354,2178,1857,1661,1457,1512,1725,1449,1382,1236,1502,1493,1593,1572,1449,1596,1593,1598,2091,1994,1636,1505,1480,1361,1257,1605,1594,1548,1595,1566,1550,1617,1759,1817,1782,1714,1781,1604,1345,1475,1493,1276,1307,1429,1548,1584,1300,1044,1105,1273,1458,1620,1711,1777,1777,1785,1766,1723,1720,1536,1453,1488,1375,1354,2127,2563,2204,1954,2285,2250,1708,1468,1411,1427,1807,1892,2049,1901,1638,1426,1360,1648,1942,1897,1736,1488,1439,1732,1948,1808,1847,1998,1893,1533,1403,1461,1478,1373,1347,1771,2042,1903,1824,1609,1771,2058,1847,1620,1689,1769,1833,1685,1686,1624,1575,1662,1414,1163,1355,1299,1335,1286,1485,1683,1599,1295,1444,1681,1300,1414,1535,1355,1335,1214,1241,1519,1576,1504,1500,1481,1432,1499,1649,1727,1779,1798,1955,1859,1753,1707,1971,1734,2122,2659,2404,2556,2343,1389,1507,1608,1540,1673,1387,1387,1855,2615,2719,2349,1897,2045,2510,1892,1583,1522,1599,2090,2173,1755,1405,1404,1597,1602,1524,1526,1577,1565,1487,1447,1521,1378,1560,1437,1475,1726,1733,1432,1489,1852,1838,1867,1947,2336,2916,3142,3372,2448,2199,1982,2101,2163,2639,2875,2670,3090,2603,2007,1946,2648,3096,2801,2231,2278,2842,3000,2912,2553,2348,2406,2625,2788,2712,2654,2692,2640,2449,2460,2509,2471,2410,2362,2335,2240,2240,2181,2153,2147,2121,2332,2205,2131,2296,2448,2432,2392,2510,2754,3000,3318,3794,3877,3805,3562,3098,2929,2928,2854,3086,3364,3376,3205,2855,2686,2842,2610,2568,3304,3825,3659,2902,2516,2713,2955,3094,3189,2354,2128,2284,2562,3094,3157,2600,2579,2872,2890,2226,1919,2037,1707,1822,1773,1875,1870,1651,1618,1898,1756,1447,1533,1786,1505,1477,1531,1245,975,1167,1468,1714,1768,1737,1560,1441,1520,1772,1613,1619,1936,1657,1635,1469,1626,1694,1474,1438,1416,1554,1511,1580,1542,1270,1276,1253,1153,1236,1527,1475,1287,1381,1419,1599,1794,1741,1663,1574,1608,1909,2846,3265,2448,1676,1112,834,986,1389,1378,1615,1819,1778,1992,2016,1888,1820,1653,1549,1581,1625,1661,1460,1361,1594,1860,1838,1493,1448,1637,1723,1174,1359,1762,1471,1483,1487,1536,1714,1745,1692,1661,1899,1972,2064,1957,1915,1693,1549,2114,2303,1979,1907,2015,2378,2929,2451,2467,2352,1903,1911,1684,1496,1512,1498,1476,1549,1601,1579,1701,1522,1348,1659,2156,1885,1647,1588,1522,1566,1521,1536,1800,1957,2253,2361,2248,1921,1910,2330,2453,2083,1776,1701,1873,2010,1964,1901,2171,1772,1707,1644,1609,1661,1879,1825,1593,1688,1648,1825,2530,2276,2020,1761,1752,1747,1716,1746,1945,2427,2449,2099,2204,2209,1934,1711,1965,1810,1548,1696,1788,1994,2477,2522,2059,1744,1980,2514,2630,2329,1902,1860,1838,1627,1816,2188,2029,1808,1712,1857,2262,2073,1945,2041,2019,1756,2012,2386,2480,2292,2612,2610,2350,2866,2697,2275,2095,1886,1973,2083,2580,2640,2785,3140,2859,2858,2795,2851,2668,1998,2001,2024,2091,2200,1571,1742,1947,2224,2432,2480,2531,2446,2623,2691,2342,2092,2522,2360,2491,2213,2002,1841,1584,1736,1997,1984,2110,2259,2001,1942,2265,2436,2824,2820,2759,2524,2415,2632,2379,2287,2165,1576,1577,1832,1549,1522,1817,1987,1970,1986,2073,2510,2740,2125,1599,1476,1667,1668,1591,1546,1882,2098,2289,1974,1666,1695,1563,1844,2521,2504,2008,1758,1711,1545,1622,1837,2055,2043,2053,2253,2024,1676,1847,1945,2099,2197,1978,1595,2231,1892,1685,2207,2165,1864,1715,1621,1578,1609,1621,2015,2286,1949,1829,2118,2154,1794,1626,1588,1770,1729,1616,1902,2236,2612,2647,1916,1877,2146,2162,1907,2263,2153,2130,2416,2254,2105,2208,2670,2231,2267,1999,1428,1747,1907,2032,1736,1752,2076,2407,2764,2770,2530,2652,2832,2846,3120,2980,2954,2850,2979,3061,2446,2189,2151,1750,1697,2066,2577,2899,2555,2684,2348,1940,1696,1807,1964,1848,1744,1970,2583,3189,2507,1825,1746,1757,1733,1726,1874,2354,2535,1979,1683,1757,2034,1748,1750,1954,1664,1641,1761,1827,1815,1857,2184,2286,2082,1942,1782,1852,1663,1807,1698,1747,1881,1895,2082,2227,2363,2195,1760,1946,2146,2524,2145,1613,1719,1531,1619,2149,2520,2617,2585,2392,2056,1626,1690,1958,2372,2378,1849],[2979,2978,2988,3263,3411,3659,3912,3673,2894,2297,2121,2918,3363,2878,2604,2414,2376,2199,2479,2370,2295,2871,3326,3430,3860,3906,3362,3211,3163,2850,2757,2663,2646,2232,2130,2792,2836,2441,2364,1951,2176,2172,1521,2099,2967,3554,2864,2784,2836,3022,2335,1752,2092,2854,3133,2689,2265,2855,3680,3850,3726,3155,3536,3837,3859,4231,4299,3187,2545,3182,3738,3354,1974,1526,1455,1522,1800,1621,1456,1416,1753,1931,1806,1705,1638,1914,2041,2433,2364,2498,3178,2620,2310,2599,2779,2714,2368,2693,2980,2392,1979,1816,2243,2198,2111,1963,2050,2578,3172,2998,2463,2072,1845,2068,2348,2806,3074,2851,2767,3134,3096,2807,3419,3107,2984,3185,3007,2684,3018,2877,2413,2328,2611,2677,2523,2734,2832,2407,2204,2098,1861,1816,1777,2804,3619,3396,3349,3045,2779,2422,2158,2254,2276,2046,1997,1771,1816,2076,2277,2261,2316,1946,1763,1639,1830,1821,1512,1996,2829,2918,2662,2456,2693,2851,2004,1571,1572,2068,1766,1449,1870,2752,3450,3175,3041,2943,2620,3046,3725,3703,2708,3418,3420,3219,3020,2683,3328,3429,2622,2884,2608,3195,3522,3784,3021,1448,1741,2068,2071,2268,1926,2113,3076,3635,3560,3243,2746,2041,2117,2475,2764,3161,3928,4285,3942,2813,1839,1730,2181,2395,2920,2989,2922,3582,2928,1671,1981,3073,3254,2328,2144,2819,3118,2400,2957,3145,3373,3903,4078,4049,3696,3339,3270,3109,3360,3230,2650,2673,2679,2189,1826,1835,1602,1570,1826,2168,2344,2599,2933,2976,2692,2233,2082,1926,1554,1487,1378,1622,1626,1726,1787,2000,2130,2017,1894,1543,1175,1875,2605,2401,1954,1772,1842,2035,2303,1969,1738,1838,1732,1515,1892,2282,1962,1717,1770,1727,1486,1693,1855,2021,2264,2296,2580,2735,1850,1897,2090,2176,2382,2099,2194,2302,1967,1752,1732,1708,2457,3174,3104,3008,2516,2012,2021,2501,2931,3538,3899,4034,4108,4002,3850,3991,4092,3981,2946,2269,1930,1629,1702,1569,1363,1506,1528,1621,1869,1890,1852,1645,1839,2134,2821,2416,1891,1657,1759,2027,1954,1767,1698,1751,1536,1256,1249,1276,1348,1760,1553,1427,1470,1506,1473,1637,1722,1598,1547,1509,1616,1528,1616,1592,1898,1653,1327,1220,1269,1482,1617,1422,1532,1848,1716,1507,1655,1792,1861,1592,1342,1604,2032,1764,1582,1960,1973,1583,1766,1905,1980,2071,1641,1338,1721,1674,1569,1793,1729,1814,1648,1820,1742,1582,1723,1990,1460,1826,2662,2177,1475,2410,3388,3176,2773,2045,1945,1688,1961,1799,1864,1741,1548,1574,2217,2463,2107,2099,2203,2061,2100,1976,1971,2034,2066,1946,1883,1866,1824,1833,2065,2321,2095,1987,2199,2070,1943,2295,1935,1682,1701,1723,1904,2129,2295,1997,1892,1892,1688,1449,1456,1548,1731,1650,1565,1686,1521,1903,2736,1955,1418,1558,1584,1659,1688,1764,1622,1425,1669,1952,2151,2035,1471,1534,1690,2186,2764,2333,2020,1868,1745,2536,2654,2728,2756,2003,2225,2880,2742,1754,1339,1381,1448,1338,1352,1535,1752,1611,1476,1557,1634,1642,1744,1920,1710,1732,1998,1688,1472,1274,1408,1477,1328,1245,1352,1519,1373,1439,1964,3051,3095,2778,1932,1559,1551,1703,1820,1869,1876,1717,1605,1508,1526,1554,1604,2472,2529,2800,3363,2808,1809,1594,1471,1516,1603,1625,1618,1422,1502,1537,1417,1605,1687,1632,1566,1439,1295,1392,1406,1097,1167,1548,1643,2135,1958,1684,1715,1983,2023,1245,728,886,1284,1372,1221,1254,1290,1344,1434,1386,1263,1357,1189,1187,1502,1439,1260,1291,1301,1092,1194,1286,1324,1369,1352,1241,1314,1394,1444,1391,1144,1180,1317,1255,1133,1205,1250,1258,1188,1284,1333,1382,1398,1470,1581,1490,1290,1288,1157,1160,1144,1591,1410,1206,1312,1259,1264,1467,1333,1201,1314,1271,1289,1445,1631,1634,1760,1926,1870,1932,1908,1156,1093,1364,1733,2145,1865,1732,1471,1634,1818,2008,1982,1710,1416,1522,1635,1413,1398,1700,2010,1894,2069,2060,1998,2313,2174,1842,1843,1825,1879,2086,2076,2316,2649,2177,2364,2396,2890,2820,2337,2454,2381,2517,2786,2540,2221,2199,2125,2413,2610,2250,1847,2807,3628,2828,2246,2231,2810,3253,2596,1995,1812,1713,1542,1766,1868,1751,1896,2264,2646,2340,2414,2619,1953,2016,2596,2316,2264,1953,2753,2837,2885,2799,3063,3261,3173,2895,2233,1814,2935,3198,2491,2933,3642,3749,3230,2872,2074,1675,1725,1744,1671,1835,1840,1839,2731,2572,2255,2539,2872,2864,2377,2098,2182,2172,2273,2227,1902,2367,2553,2743,3021,2567,2230,1909,1481,1879,2107,1573,1463,1479,1587,2279,2396,2491,2669,1850,2110,2102,2256,2378,2285,2086,2059,2319,2366,3145,3784,3595,3216,2695,2358,2084,2288,2431,2301,2490,2246,2325,2728,2708,2120,1682,1757,2137,1823,1990,2674,3566,3398,2676,3143,3195,2482,2159,2119,2040,1704,1997,2026,2192,2436,2633,3330,3137,1904,2031,2686,3088,2434,1887,2569,2819,3120,3227,2998,2379,1731,1541,1669,1945,2062,1860,1737,1767,1617,2264,2348,2002,2149,1914,1690,2032,2206,1618,1505,2014,2241,1625,1169,1250,1613,1855,2151,2092,2116,2646,2490,2067,2510,1902,2004,2476,2557,2385,1737,1355,2308,3305,3723,3814,3753,3149,2573,2901,3322,3145,2900,2454,2231,2254,2260,2151,1838,1647,1683,1600,1402,1181,868,1208,1604,1960,1869,1652,2232,2396,2024,1802,1766,1886,1876,1652,1354,915,969,1710,2209,2092,1975,1669,1764,2016,1942,1827,1686,1785,2116,2236,2111,1975,1932,1505,1428,1359,1352,1632,1731,1692,1622,1433,1473,1377,1333,1425,1715,1790,1716,1653,1701,1877,1804,1461,1285,1282,1648,1514,1548,1427,1165,1167,1767,1785,1423,1607,1739,1703,1686,1699,1482,1537,1599,1782,1634,1505,2053,2311,2202,2128,2272,2087,1766,1822,2085,2012,2592,2951,2498,2011,1893,1857,1908,2071,2018,1688,1470,1413,1476,1581,1657,1470,1538,1843,1912,1515,1319,1537,1622,1510,1648,1954,2008,1994,1823,1732,1859,2028,1589,1371,1611,1798,1837,1754,1765,1617,1604,1635,1313,1283,1478,1504,1471,1324,1353,1398,1325,1162,1358,1369,1252,1525,1592,1287,1251,1142,1208,1596,1628,1300,1257,1432,1193,1241,1482,1700,1593,1519,1505,1484,1466,1545,1709,1697,1936,2257,2409,2453,2275,1570,1599,1623,1528,1629,1520,1627,1869,2162,2314,2122,1876,2107,2680,1737,1511,2020,1862,1975,2054,1810,1510,1531,1682,1539,1378,1223,1484,1397,1435,1422,1606,1596,1581,1461,1806,2433,2194,1582,1502,1613,1750,1819,1944,2771,3242,2994,2790,2267,2079,2281,2266,2262,2964,3441,3029,2869,2237,2117,1719,2186,2393,2644,2831,3225,3407,2878,2553,2339,2363,2495,2644,2648,2632,2611,2610,2418,2144,2187,2304,2336,2352,2311,2220,2066,2048,2120,2131,2200,2182,2271,2327,2439,2490,2213,2209,2494,2810,3039,3273,3527,3786,3824,3830,3496,3130,3122,3184,3263,3241,3270,3155,2785,2778,2734,3172,3208,3418,3553,3495,3194,2813,2646,2746,3023,2937,3220,2923,3056,3085,2632,3100,3033,2475,2731,3177,3003,2185,1763,1854,1417,1482,1432,1561,1355,1354,1688,1588,1361,1171,1610,1834,1461,1258,1274,1179,884,1137,1730,1779,1706,1497,1292,1452,1714,1758,1427,1781,1860,1892,1993,1477,1318,1338,1415,1493,1611,1517,1401,1563,1605,1344,1489,1544,1361,1316,1248,1165,1203,1341,1364,1668,1876,1653,1606,1699,1567,1549,2386,3237,2570,1654,1296,1045,886,988,1232,1590,1774,2026,2041,1889,1716,1701,1699,1779,1639,1506,1516,1460,1420,1588,1716,1650,1289,1719,1821,1291,1057,1306,1384,1682,1706,1558,1620,1893,1963,1732,1758,2681,2741,2495,2256,1957,1659,1673,2010,2034,2154,1990,1648,2425,2383,1866,2220,2094,2129,2910,2708,1874,1555,1555,1560,1398,1473,1716,1814,1625,1531,1772,2048,2026,1926,1860,1721,1820,1699,1855,1708,2260,2449,2303,2060,2073,2327,2331,2065,2167,2010,1776,1913,2019,2138,1742,1847,1466,1676,1713,1599,1844,2312,2214,1953,1945,1686,1919,2271,2239,2167,1656,1501,1672,1767,1804,1950,1996,1831,1900,1902,1822,1828,1804,1768,1666,1843,1932,1789,1817,1906,2156,2330,1860,2007,2426,2665,1966,1576,1597,1648,1443,1909,2442,1985,1676,1990,1989,2289,2293,2284,1894,1960,1924,2386,2684,2698,2655,2668,2260,1941,2412,1958,1447,1817,2210,2458,2580,2403,2370,3084,3438,3051,2897,2723,3251,2828,2380,2545,2358,2153,1643,1458,1563,1495,1542,1896,2434,2680,2589,2062,1654,1546,1488,1933,1853,1866,1729,1530,1745,1838,1834,2010,2084,2397,2437,2531,2321,2173,2486,2548,2617,2793,2317,2242,2355,2013,2146,1852,1594,2029,2066,1736,1652,1828,1845,1760,1739,1949,2205,2178,1976,1899,1870,1875,1813,1531,1660,1823,1950,2005,2010,1876,1614,1793,2252,2471,2443,1911,1701,1617,1617,1630,1505,1742,1876,1850,1970,1879,1632,1750,2088,2411,2050,2094,2032,2160,1942,2066,2195,2043,1984,1835,1892,1948,1670,1638,1940,2003,1852,1736,1862,1952,1714,1559,1711,1896,1717,1688,1838,1930,2179,2031,2100,2251,2094,1670,1503,1954,2278,2200,2133,1953,1792,1939,1850,1099,2071,2230,1962,1989,1915,1747,1558,1757,1820,2345,3029,3051,2810,2922,2876,2912,2677,2534,2496,2412,2761,2675,2128,1903,1814,1683,1608,1758,2003,2565,3452,3543,2564,1942,1741,1841,2036,1894,1960,1703,1896,1994,1721,1714,1657,1859,1945,1923,1869,2004,1837,1691,1658,2149,1798,1490,1924,1915,1641,1897,1855,1640,1656,1792,1925,1883,1912,2066,2042,2042,1974,1741,1650,1803,2060,2150,1992,2218,2820,2767,2076,2007,1859,1804,1724,1525,1516,1626,1690,1904,2282,2407,2391,2404,1792,1289,1560,1968,2398,2272,1714],[2674,2589,3105,3467,3348,3427,3659,3273,2798,2476,2485,3405,3292,2811,2601,2337,2609,2458,2348,2468,2180,1975,2807,3278,3143,3473,3129,3223,2996,2879,3494,3077,2121,2369,3329,3819,3551,2677,2240,2193,2343,2215,1904,2541,3516,3963,3299,3033,3252,3175,2679,2369,2585,2928,2314,1668,1941,2379,2830,3484,3783,3536,3221,3021,3483,4136,3970,2873,2595,2871,3428,3586,2896,2155,1752,1722,1640,1648,1744,1556,1532,1602,1569,1642,1778,2070,1632,2073,2426,2380,2309,2327,2690,2634,2788,2533,2025,2999,2786,2007,1655,1570,1722,1793,2009,2073,2139,2687,3007,2644,2450,2576,1829,2253,2744,3064,2907,2475,2724,2968,3051,2876,2700,3145,3407,2876,2846,2844,3028,3062,2325,2273,2557,2546,2031,2347,2419,1731,1873,1854,1677,1979,2744,3509,3203,3123,3063,2636,2221,2209,2263,2316,2291,2213,1768,1864,1998,2409,2416,2243,2290,2049,1806,1627,1621,1605,1599,2251,2873,2635,2437,2695,3189,3498,2466,2082,1924,2059,1809,1318,1367,2163,3183,2909,2802,3133,3254,3339,3906,3980,3519,3518,3466,3393,3275,3318,3571,3309,2558,2738,2653,2845,3059,3275,2258,1095,1640,2240,2317,2624,1882,2008,2482,2524,2918,2496,2084,1906,2553,2987,3098,3375,3768,3614,2844,2464,2197,2409,2814,2989,2831,3005,3068,3139,2200,1764,2311,2765,2843,2377,2427,2878,3363,3175,3068,2804,3263,3583,3750,3681,3228,3185,3505,3375,3667,3796,4120,3953,3001,1920,1707,1485,1288,1357,1721,2436,2892,2709,2489,2502,2276,1713,1603,1757,1609,1493,1528,1721,1766,1984,2272,2208,2291,2184,1899,1624,1880,2965,3196,2775,2150,1803,1861,2412,2317,1869,2090,2076,1885,1875,2443,2237,1809,1632,1665,1731,1825,1967,2020,1953,2022,1805,2030,1923,1665,1767,1885,2446,2343,2067,2123,2049,1986,1797,2027,1935,2483,2775,2949,3084,2747,2605,2413,2237,2916,3846,4284,4120,3898,4132,4196,4423,4636,4621,3780,3250,2621,2085,2121,1749,1573,1544,1460,1507,1753,1846,1630,1847,2080,2203,2059,1805,1761,1977,2022,1678,1717,1918,1795,1867,1629,1452,1350,1341,1584,1739,1466,1372,1380,1349,1338,1488,1749,2251,2271,2023,1655,1494,1709,1811,1830,1622,1421,1328,1228,1403,1353,1383,1443,1553,1787,1609,1532,1488,1287,1389,1510,1877,2047,1513,1521,1798,1785,1832,1796,1714,2123,1978,1583,1508,1694,1692,1784,2092,2665,2745,2003,1741,1587,1656,2008,1764,1490,1757,2279,1770,994,1914,2478,2193,2242,2054,2123,1779,1685,1639,1578,1525,1451,1901,2332,2226,1926,2439,2574,2231,2411,2642,2503,2254,1957,1784,1814,2080,2352,2561,2381,2105,2110,2247,2147,2010,1870,1953,1937,2007,2008,1962,2042,2289,2396,2203,2430,2615,2116,2007,2003,1713,1589,1589,1603,1714,1613,1775,1868,1298,1497,1651,1631,1574,1652,1887,1698,1434,1739,1704,1641,1648,1478,1642,1823,2512,3041,2581,2114,1969,1747,2353,2765,2837,3191,2954,3458,3594,2845,1868,1966,1707,1497,1355,1313,1471,1688,1629,1368,1316,1466,1664,1669,1475,1565,1313,1095,1339,1476,1344,1315,1438,1465,1338,1477,1866,1985,1837,1955,2359,2180,2047,1860,1780,1714,1649,1644,1793,1891,1763,1689,1724,1678,1604,1486,2302,3082,3450,3747,3360,2129,1713,1583,1567,1721,1525,1526,1620,1499,1508,1586,1624,1562,1460,1486,1510,1465,1366,1232,1168,1308,1658,1884,2374,1973,1648,1917,2257,1837,993,714,913,1155,1285,1545,1419,1377,1368,1401,1268,1234,1313,1190,1356,1698,1491,1256,1217,1261,1194,1275,1368,1329,1362,1296,1261,1354,1389,1456,1319,1089,1285,1302,1266,1309,1339,1279,1406,1443,1214,1246,1337,1350,1399,1702,1601,1329,1389,1363,1241,1405,1431,1373,1283,1300,1225,1340,1610,1295,1216,1363,1322,1466,1576,1430,1313,1903,2182,1925,2201,2028,1452,1373,1453,1945,2029,1779,1601,1606,1787,2235,2236,1938,1867,1628,1717,1628,1249,873,1389,1859,1896,2046,1885,2254,2475,2142,1647,1533,1791,1911,1764,1971,2618,3238,2457,2074,2556,3038,2614,2257,2361,2131,2309,2398,1947,1781,1990,1570,1901,2355,2034,1929,2680,2917,2640,2520,2024,2397,3065,2364,1822,1980,2238,1822,1741,1603,1545,1627,1864,1946,2061,2302,2790,2816,2663,2314,1966,1664,1854,2796,3084,3173,2901,2567,2945,3261,2784,2280,2357,2951,2629,2374,2979,3652,3532,3292,2669,1744,1883,1801,1705,1537,1710,1738,2011,2700,2868,2802,3270,2929,2360,2422,2204,2491,2778,2643,2295,2179,2389,2909,3078,2606,2063,2136,1948,1626,1953,1763,1578,1345,1390,2090,2832,3073,2801,2514,2122,1907,1679,1640,1974,2347,2296,2779,3537,2934,2354,2719,3293,3308,3476,3476,3055,2792,2171,2209,1940,2201,2444,2424,2260,1748,1812,2470,2362,2121,2501,3217,3953,3772,3376,3909,3623,2432,2331,2074,1788,1450,1505,1711,2110,2283,2478,3375,2778,1856,2283,2321,2588,2203,1987,2332,2587,3256,3601,3209,2304,1697,1764,1980,1919,1819,1577,1495,1644,1764,2126,2222,2183,2073,1908,1742,1873,2161,1676,1554,1887,2147,1834,1374,1370,1538,1716,1955,1902,1774,2303,2833,2365,2567,2046,1630,1611,1725,1720,1825,1681,1871,2565,3003,3007,2822,2479,2207,2092,1993,1822,1810,1688,1518,1537,1570,1547,1533,1508,1615,1164,804,798,1221,1974,2127,2243,2058,1896,2060,1778,1436,1336,1437,1575,1525,1736,1559,1005,1012,1448,2052,2427,2280,1925,1970,2254,1847,1957,1936,1919,2185,2696,2228,1981,1963,1573,1344,1328,1208,1397,1792,1724,1456,1332,1502,1382,1176,1445,1578,1670,1808,1765,1710,1758,1700,1592,1547,1402,1421,1399,1773,1655,1368,1951,2510,1771,1238,1450,1475,1309,1510,1583,998,1075,1282,1636,1745,1553,1611,1851,1965,2002,2066,2164,2150,2430,2370,2078,2236,2685,2287,1982,2090,2038,1951,1936,1733,1646,1729,1610,1441,1515,1485,1361,1538,1899,1857,1483,1370,1493,1477,1590,2160,2090,2072,1953,1859,1819,1893,1977,1783,1782,1860,1814,1888,1789,1676,1590,1603,1656,1228,1276,1638,1773,1650,1394,1230,1165,1185,1216,1499,1289,1261,1385,1472,1324,1260,1126,1131,1446,1469,1160,1388,2072,1412,1568,1585,1599,1294,1407,1470,1280,1291,1379,1220,1358,1550,1554,1562,1632,1752,1852,1959,1994,2005,1983,1802,1837,2027,2043,2105,2140,1939,1797,2219,1608,1282,1915,1850,1814,2130,1997,1676,1613,1764,1555,1438,1863,2365,1584,1400,1451,1504,1730,1719,1515,1748,2006,1782,1465,1380,1970,1837,1610,1844,2995,3746,3235,2530,2321,2600,2335,2298,3174,3536,3186,2658,2831,2539,2370,1855,2009,2677,3123,3397,3632,3554,2875,2574,2618,2666,2641,2685,2544,2536,2481,2359,2302,2254,2134,2175,2236,2237,2103,1887,1796,1937,2127,2280,2330,2209,2163,2252,2373,2358,2528,3034,3485,3218,3308,3362,3348,3553,3732,3805,3489,3143,3002,3056,3252,3084,2956,2699,2609,2751,3050,3544,3540,3917,4121,3279,2712,2635,2598,3016,3458,3195,3239,3429,3438,2920,2169,2542,2866,2752,2939,3141,2966,2199,2116,1932,1537,1504,1393,1620,1650,1926,1770,1482,1438,1386,1419,1414,1355,1338,1387,1303,918,1155,1507,1605,1661,1573,1605,1747,1751,1633,1777,2107,1766,1736,1811,1442,1360,1379,1488,1904,1946,1417,1338,1762,1607,1202,1583,1676,1612,1599,1425,1156,1205,1397,1497,1809,1986,1716,1719,1640,1459,1482,2424,2700,2086,1636,1253,1096,1061,1464,1852,1922,1874,1839,1674,1529,1405,1394,1572,1547,1287,1275,1243,1054,910,1496,1796,1838,2111,2918,2391,1389,1319,1345,1654,1983,1943,2156,2104,1914,2134,1740,2006,2576,2422,2520,2719,2624,2091,1934,2199,2438,2448,2061,1851,1987,2181,2388,2830,2530,2721,3572,3311,2648,1901,1614,1671,1490,1572,1840,2142,1915,2021,2177,1849,1890,2172,2005,1865,2005,2032,2211,1678,1770,2421,2248,2248,2275,2077,1992,1742,1797,1865,1770,1837,1958,2352,1982,1530,1591,1852,1808,1659,1936,2302,2206,2093,1932,1525,1515,1705,1644,1593,1498,1666,1746,1648,1447,1481,1571,1622,1805,1867,1820,1910,1796,1834,2015,2134,2089,1919,1714,1902,2668,2902,2310,2034,2425,2510,1882,1460,1412,1562,1661,2126,2814,2211,1996,2285,2185,1577,1524,2093,2006,1801,1953,2360,2601,2990,2645,2341,1970,2219,2584,2337,2204,2113,2175,3127,3274,2352,2110,2421,2614,2036,2135,2510,2625,2307,2544,2957,2995,2125,1564,1674,1803,1896,2158,2265,2445,2048,1722,1042,1108,1549,1553,1782,1856,1763,1690,1733,2119,2160,2187,2014,2128,1833,1976,2170,2226,2194,2282,2192,2446,2331,2127,2502,2535,1936,2331,2299,1958,2297,2035,1946,1760,1611,1702,1554,1656,1716,1690,1899,2054,2027,2008,1895,1708,1815,1913,1654,1580,1653,1879,1875,1742,1916,2002,1992,1873,1767,1909,1684,1500,1454,1436,1738,1891,2017,1901,1758,1620,1640,1863,2061,1948,1612,1472,1822,1958,2103,2071,2416,2502,1970,1726,1705,1615,1623,1643,1958,1870,1791,2008,1819,1769,2116,1925,1900,1798,1894,1543,1696,1965,2204,2309,2566,2201,1668,1546,1701,2004,2208,1904,1892,1769,1887,1832,1355,1794,1931,2008,2244,2268,2043,1587,1608,1650,2134,3191,3082,2935,2953,2856,2866,2503,2333,2383,2368,2798,2624,2062,1815,1736,1711,1691,1669,1671,1823,2345,2630,2285,2072,1791,1780,1650,1710,2142,1784,2010,1907,1597,1485,1568,1849,2096,2038,1866,2078,1948,1787,1801,2335,1826,1654,1905,1719,1675,1807,1958,1750,1585,1711,1802,1446,1690,1782,1533,1935,2060,1555,1826,2215,2292,2275,2038,2106,2524,2351,1951,1825,1713,1621,1566,1547,1498,1535,1671,1841,2211,2332,2172,2239,1550,1327,1503,1886,2249,1921,1713],[1779,1847,2435,3000,3516,3836,3716,3231,2735,2688,2700,3210,3055,2889,2568,2389,2909,3082,2460,2230,2178,2095,2736,2930,2535,3056,3365,3631,2937,3041,3522,3195,2357,2885,3648,3688,3680,3462,3528,3350,2962,2283,1977,2365,3198,3809,3156,2708,2754,2379,2090,2810,3256,3071,1944,1454,1742,1997,1916,2889,3710,4000,3892,3492,3293,3044,2438,1759,1970,2674,2808,3076,3414,2976,2522,2288,1822,1832,1785,1602,1502,1599,1570,1506,2241,2114,1919,2429,2029,1525,1394,1761,2018,2136,2674,2635,2006,2128,1892,1574,1449,1447,1524,1720,1888,1816,1758,1833,1885,1964,2178,2276,2050,2842,3010,2766,2775,2770,2885,2823,2949,2908,2429,2416,2364,2471,2154,2901,2792,2658,2131,2352,2745,2386,1956,2389,2260,1315,1988,2045,2320,2957,3356,3686,3232,3194,3329,2836,2381,2680,2912,2675,2792,2505,1688,1997,2140,2053,2358,2547,2453,2371,1974,1903,2226,1994,1813,2530,2340,2398,2357,2857,3189,3508,3001,2392,2316,2317,2074,1542,1523,1901,2811,2827,3182,3561,3637,3516,3726,3790,3654,3573,3333,3085,2601,2985,2954,3219,3054,2901,2796,2460,3056,3554,2791,1410,1536,2287,2212,3032,2543,2432,2686,2765,2505,1831,1295,1742,2621,2760,2947,3420,3453,2819,2544,3208,2720,2329,2876,3116,3292,3178,2693,2565,2280,2010,2237,2364,2374,1825,1952,2774,3306,3439,3372,3187,3121,3304,3306,3188,3134,3221,3525,3255,3339,3496,3184,2586,2518,2278,1733,1369,1340,1595,2331,2743,2971,2773,2008,1753,1759,1859,1638,1827,1783,1656,1882,2098,2543,3204,3714,3635,3167,2625,2030,1832,1820,2649,2952,2477,2280,2290,2386,2517,1909,1517,1732,2432,2393,2177,2192,2242,1954,1591,1696,2568,3185,2712,1964,1646,1776,1762,2145,1913,1686,1771,1795,2320,2543,2202,1735,1823,2122,2212,2252,2124,2066,2733,2834,2388,2742,3167,3032,3127,3392,3735,4231,4048,3558,3744,4137,4659,4763,4620,4377,4045,3252,2845,2468,1916,1792,1697,1510,1550,1618,1627,1535,2027,2268,2196,2105,2124,1895,1888,1755,1438,1669,1621,1546,1524,1562,1658,1584,1382,1714,1741,1328,1331,1342,1345,1366,1504,1490,1754,1992,2091,1593,1806,2213,2037,1686,1450,1376,1282,1396,1497,1346,1410,1416,1545,1798,1592,1792,1704,1194,1204,1730,2007,1735,1461,1627,1482,1935,2086,1669,1583,1839,1853,1750,1538,1451,1750,1636,1813,2376,2813,2813,1995,1621,2297,2482,1765,1556,1786,2016,1694,1291,1758,1650,1683,1844,1578,2046,1984,1702,1875,2289,2464,1798,1859,1675,1864,1584,1946,2052,2109,2363,2144,2110,2320,2678,3100,3042,2922,3082,2998,2829,2522,2611,2922,2944,2222,1806,2028,1892,1646,1759,1951,2177,2109,2122,2062,2277,2474,2095,2045,2098,1854,1702,1713,1808,1882,1892,2039,1886,1888,2282,2496,2310,2071,1973,2083,1992,1720,1717,1742,1752,1681,1931,1757,2000,2832,2962,2446,2367,2352,1974,2071,2217,2445,2831,2542,3244,3118,2355,1719,1512,1544,1515,1293,1269,1481,1505,1421,1372,1399,1349,1562,1690,1422,1726,1670,1472,1686,1643,1596,1570,1626,1678,1725,1702,1865,1933,1829,1797,1652,1612,1634,1632,1630,1504,1574,1522,1459,1577,1683,1768,1722,1600,1369,1206,1484,2224,3087,3198,3496,2696,1971,1905,1700,1763,1694,1612,1738,1774,1622,1606,1710,1556,1447,1297,1240,1250,1389,1238,1175,1289,1493,1793,1931,1782,1764,2002,2708,1812,1070,752,1076,1230,1500,1682,1563,1428,1375,1438,1248,1317,1321,1138,1116,1340,1294,1176,1213,1199,1224,1293,1242,1328,1506,1262,1237,1168,1119,1272,1168,1328,1334,1197,1204,1270,1297,1239,1257,1171,1268,1442,1260,1367,1394,1448,1341,1140,1444,1388,1222,1205,1302,1413,1307,1282,1438,1286,1236,1266,1400,1401,1454,1603,1711,1594,1544,2106,2640,2465,2561,2278,1992,1743,1868,2180,2051,1687,1779,1856,1919,2280,2086,2006,1968,1666,1720,1559,1118,1006,1490,1935,2054,1918,1992,2222,2244,1910,1660,1864,1960,2055,2072,2009,2886,3697,3311,2492,1952,2019,1873,1990,2492,2942,2580,2493,2299,2134,2178,1746,1726,1591,1794,2220,2098,1882,1933,2546,2285,1880,1995,2339,2181,2442,2578,2121,1668,1562,1612,1797,1886,1830,2029,2151,1993,2074,2110,2152,2085,1687,2198,2675,2551,2667,2281,1906,2396,2106,2030,2637,2696,2593,2343,2784,3375,4000,3938,3452,2620,2112,2448,2570,2010,2079,1935,1923,2088,2231,2460,2915,3559,3167,2213,2670,2513,3122,3327,3227,3206,2991,2647,2172,2048,2096,1913,2037,2020,1829,2174,2427,2577,1960,1876,2425,2972,2890,2633,2604,2485,2016,1547,1428,1492,1695,2592,4024,4432,4147,3251,2501,2074,2213,2523,2607,3199,3076,2303,3016,2556,2380,2370,2570,2311,1818,2157,2634,2622,2578,2617,3300,4037,3557,3039,3659,3633,2425,2320,2366,1747,1514,1704,1968,2499,2251,2437,3118,2163,1876,2175,1943,2142,2093,2314,2388,2481,3120,3269,3004,2093,1672,1742,1636,1353,1316,1155,1212,1833,2470,2236,2008,2280,2309,1918,1743,1499,1710,1600,1605,1441,1674,1894,1793,1927,2020,1840,1785,1640,1592,2327,2815,2437,2266,2270,1857,1835,1850,1847,2055,2041,1964,2054,1902,1837,1797,1885,1929,1892,1624,1486,1510,1289,1265,1780,1944,1697,1642,1619,1775,1018,938,1163,1428,1569,1488,1862,2125,1870,1690,1373,1636,1877,1984,1942,1618,1774,1542,1041,1074,1403,1968,2222,1899,1586,1532,1603,1381,1774,1929,1966,1964,1874,1729,1738,1804,1728,1408,1357,1326,1486,1755,1818,1875,1628,1288,1256,1250,1352,1604,1864,1857,1824,1710,1820,1764,1604,1525,1584,1528,1415,1457,1222,1456,2156,2278,1678,1376,1490,1490,1378,1481,1280,1133,1256,1548,2123,2239,1649,1245,1372,1489,1536,1620,1788,1744,1872,1804,1780,1785,1781,1649,1360,1396,1704,2098,2198,1804,1744,1394,1243,1418,1460,1343,1423,1827,2024,1766,1542,1385,1307,1320,1655,1952,1983,2046,1938,1894,1931,1869,1765,1781,1955,1927,1831,1984,1845,1555,1496,1662,1637,1182,1171,1510,1694,1594,1396,1147,976,1135,1599,1557,1281,1269,1444,1440,1219,1189,1139,1114,1360,1252,1140,1573,2370,2287,2253,1862,1430,1296,1437,1406,1309,1317,1324,1250,1536,1507,1413,1390,1406,1322,1417,1489,1670,1776,1770,1738,1730,1868,1904,1977,1903,1752,1545,1710,1656,1314,1489,1669,1831,2101,2031,2076,2167,2216,1511,1410,2164,2545,1759,1356,1378,1522,1896,1747,1835,1846,1790,1622,1758,1692,1738,1257,1304,1715,2791,3796,3273,2688,3041,3864,4002,3520,3266,2953,2665,2755,2662,2488,2736,2678,2944,3492,3474,3388,3186,2954,2796,2832,2842,2713,2654,2565,2452,2426,2315,2237,2238,2197,2125,2166,2001,1934,1903,1824,1903,2178,2426,2416,2213,2140,2219,2386,2625,2674,2811,3182,3387,3256,3662,3509,3331,3565,3549,3172,2741,2637,2547,2844,2921,2865,2674,2193,2491,2813,3050,3541,3705,3625,3775,2855,2584,2640,2928,3228,2939,2532,2989,3395,2952,2424,2428,2428,2689,2962,3034,3378,3335,2306,2239,1892,1780,1637,1443,1519,1616,1765,1433,1482,1482,1562,1467,1621,1405,1371,1555,1433,1298,1472,1612,1736,1545,1503,1670,1719,1682,1648,1498,1894,1756,1649,1643,1385,1311,1296,1487,1797,1805,1478,1302,1622,1421,1419,1690,1536,1507,1780,1636,1390,1366,1618,1867,1896,1875,1705,1643,1610,1483,1589,1976,1837,1696,1730,1434,1326,1443,1765,1748,1671,1599,1484,1375,1173,959,1086,1430,1558,1439,1436,1034,1088,1637,2027,1831,1772,1965,2360,2334,1975,1739,1362,1710,1754,1906,2592,2596,2156,1991,1654,2145,2488,2507,2786,2478,2342,2142,2323,2276,2304,2374,2118,2072,2052,1983,2131,2499,2492,3034,3363,3116,2698,1988,1755,1493,1782,1983,1784,1866,1787,1782,1697,1319,1635,2069,1996,2224,2504,2635,2261,1744,2013,2342,2556,2866,2160,1823,2202,2282,2349,2396,1926,1800,1858,1964,1836,1663,1700,1998,1927,1813,1814,2053,1763,1750,1864,1753,1736,1905,1866,1587,1732,1895,1612,1555,1500,1594,1874,1715,1704,1756,1773,1750,1773,2094,2164,1979,1818,1598,1750,2266,2472,2615,2750,2201,1904,1909,1703,1522,1574,1627,1845,2113,2863,2102,2010,1951,1964,1632,1590,1945,2226,1925,1532,1741,2590,3232,2777,2680,2237,2380,2547,2426,2469,2271,2329,3275,3255,2434,2116,1882,1842,1704,2151,2445,2214,2156,2232,2611,2663,2281,2174,2019,2354,2200,2420,2238,2246,2309,2232,1415,1660,2431,2476,2165,1677,1507,1472,1596,1869,2153,2162,1930,1755,1832,2172,2061,2049,2370,2208,2298,2854,2404,2626,2553,2670,2577,2711,2321,2114,2082,1957,1932,1761,1781,1650,1476,1600,1657,1473,1532,1601,1837,1824,1888,1832,1869,1723,1533,1562,1656,1854,1728,1686,1892,2274,2612,2026,1584,1563,1409,1450,1524,2072,2585,1903,2186,1768,1558,1631,1857,1748,1791,2062,1706,1791,2019,1565,1641,2004,2653,2568,1986,1774,1644,1571,1510,1708,2095,1991,1780,1749,1648,2000,2382,1869,1834,1966,2003,1772,2349,2611,1968,2018,2427,2018,1707,1648,1756,1848,2074,1744,1736,1799,1815,1840,1931,2076,1910,2012,2447,2662,2275,1708,1650,1870,2253,3261,3244,2928,2856,2699,2789,2810,2745,2640,2641,2610,2387,1809,1528,1472,1459,1615,1748,1699,1575,1764,2071,1859,2248,2026,2166,1917,1867,2233,2583,2666,2167,1742,1625,2064,2314,2077,1852,1936,1842,1852,1985,1865,1993,1954,1978,1924,1708,1862,1942,2023,1564,1540,1855,2136,2030,1818,1720,1937,2322,1992,1631,2387,2290,2059,2020,2151,2198,2374,2176,1996,1898,1785,1571,1697,1873,1611,1527,1799,1825,1842,1759,1882,2137,1692,1591,1634,1754,1934,1723,2141],[1918,1789,1873,2640,3242,3560,3686,3436,3011,2935,2690,2723,3309,3252,2698,2580,3030,3149,2862,2325,2150,2411,2244,1964,2712,3165,3410,3312,2517,2744,2846,2366,2358,2599,2994,3499,3561,3350,3610,3835,3253,1969,1745,2090,2796,3435,3425,2833,1967,1942,2283,2813,2821,2342,1791,1183,1469,1844,1670,2418,3443,3816,4113,3960,3209,2040,1608,1827,2363,2748,2564,3081,3599,3365,3247,2787,2204,2036,1706,1486,1525,1848,1832,1571,1980,1945,2129,2189,1643,1258,1238,1578,1875,2143,2499,2956,2567,1744,1544,1505,1367,1437,1604,1725,1886,1991,1815,1642,1557,1725,1931,1975,1987,2287,2818,3150,3177,2845,2285,2260,2700,3018,2879,2237,2007,2501,2356,2235,2113,2557,2364,2285,2314,1944,2031,2194,2050,1625,2254,2400,3240,3709,3533,3340,3174,3383,3200,2115,1781,2114,2675,2942,2662,2336,1904,2193,2419,2335,2559,2490,2211,2492,2172,2438,2656,2515,1929,1553,1432,1983,2285,2731,2920,3044,2684,1935,1990,2460,2361,1734,1548,2061,2852,2987,3283,3552,3388,3151,3261,3359,3426,3746,3149,2945,2736,2647,2617,2645,2920,3219,2862,2507,2723,3410,3595,2134,1696,1952,2247,3212,3451,3374,3463,3487,2533,1624,1306,1705,2754,2786,2856,3209,3332,3176,2605,2620,2382,2378,2865,3365,3418,2800,2864,2564,2148,1738,2082,2469,2408,1903,2248,2974,3286,3201,3260,3254,3094,3211,3166,3326,2986,2907,3442,3161,2663,2480,1963,2124,2258,1918,1758,1790,1753,2273,2867,2920,2669,2239,1587,1694,1857,1990,1678,1840,2030,2070,2553,3218,3798,4209,4220,3994,3793,3022,2294,1995,1909,2169,2198,2077,2221,3061,3183,2462,2197,1723,2018,3178,2721,2101,2342,2408,1942,1590,1607,2266,3147,2997,2035,2086,1929,1895,2652,2872,2386,1953,1747,1908,2150,1731,1503,1586,1675,2003,2297,2199,1900,2167,2503,2454,2435,2429,2810,3307,3254,3181,3165,3399,4082,3712,3691,4330,4758,4730,4629,3862,2972,2832,2741,2288,1905,1841,1526,1589,1667,1554,1657,2071,2326,2230,2632,2718,2270,1888,1760,1658,1538,1349,1342,1340,1365,1678,1654,1380,1566,1602,1327,1374,1451,1433,1327,1576,1508,1827,2337,2143,2067,2227,2480,2210,1571,1348,1390,1380,1745,1629,1471,1692,1721,1637,1615,1742,1800,1408,1511,1771,2402,1974,1592,1587,1633,1720,1799,1735,1602,1702,1997,1881,1568,1424,1355,1409,1361,1498,1869,2564,2573,2038,1540,1692,2243,1985,1664,1647,1820,1808,1514,2094,2161,1901,1821,1656,1881,1809,1667,1914,2337,2024,1859,1984,2072,2100,1650,1569,1771,1848,1866,1681,1349,1634,2504,2512,2393,2431,2641,2231,2309,1979,1859,2514,2666,1894,1723,1878,1785,1480,1591,1875,2419,2152,2326,2288,1942,1806,1913,1940,1655,1731,1895,1909,1904,1823,1782,1917,1821,2072,2366,2470,2310,1974,1831,1937,1882,1808,1895,1977,1898,1842,2042,2037,2112,2340,2456,2432,2242,2279,2294,2447,2579,2491,2523,2286,2850,2890,2384,1987,1648,1465,1443,1395,1428,1409,1410,1464,1488,1524,1617,1916,1775,1622,1934,1823,1709,1836,1779,1767,1761,1736,1706,1676,1537,1537,1471,1464,1518,1453,1648,1688,1421,1403,1372,1465,1479,1440,1749,1861,1727,1570,1460,1417,1907,2490,1820,1714,1989,2709,2759,2294,1915,1636,1648,1667,1532,1722,1843,1708,1718,1826,1696,1517,1260,1209,1194,1386,1246,1161,1369,1596,1940,2142,1700,1865,1998,2675,1672,949,816,1293,1534,1491,1440,1423,1298,1323,1428,1305,1386,1318,1211,1187,1234,1237,1239,1339,1224,1185,1343,1229,1184,1272,1178,1118,1075,1054,1138,1250,1491,1308,1124,1104,1105,1104,1260,1198,1106,1142,1209,1159,1354,1275,1220,1101,1128,1225,1327,1423,1358,1490,1508,1345,1267,1393,1308,1238,1419,1624,1630,1666,1789,1735,1761,1957,2384,2986,2667,2668,2921,2646,2480,2347,2543,2487,2476,2391,2164,2380,2216,1996,2151,2176,1886,2030,2136,1611,1483,1768,2039,1996,1850,1842,1881,2096,1931,2020,2335,2203,2154,2168,2512,3031,3243,3295,2819,2645,1982,1782,2098,2612,3460,2822,2557,2329,2278,2204,2086,2092,1996,2230,2308,1889,1827,2154,2757,2657,2084,1564,1814,2274,2635,2344,1686,1687,1638,1586,1794,1788,1798,1880,1800,1740,1786,1758,2001,1917,1804,2036,2352,2562,2873,1980,2188,2674,2313,2388,2707,2808,2396,2622,3348,3637,3604,3758,3312,2544,2177,2294,2396,2562,2879,2310,2198,2371,2157,2148,2315,2547,2652,2350,2844,2856,3371,3386,3558,3706,3347,2721,1748,1565,1960,2123,2020,1925,2084,2057,2541,2685,2349,2159,3001,3124,2492,2850,3333,2547,1871,1867,1619,1736,2337,3411,4173,4133,4149,4004,3187,2156,1876,1616,1616,1593,1907,2094,2502,3107,3009,2507,2530,2480,2332,2402,2835,3448,3616,3395,3151,3291,2896,2985,3836,3475,2275,1819,1614,1470,1764,2115,2187,2444,1860,2257,2897,2314,1794,1708,1948,2288,2403,2467,2170,2315,2718,2766,2533,1882,1585,1640,1703,1335,1324,1576,1501,1937,2458,1915,1788,2388,2237,1758,1670,1933,2010,1797,1719,1489,1670,2002,1969,2113,2290,1974,1836,1790,1805,2145,2212,1940,1872,1866,1822,1939,1958,1754,1670,1627,1617,1380,1576,1942,2075,2210,2080,1987,1637,1336,1409,1400,1569,2428,2293,1917,1798,1910,1766,1093,1064,1321,1466,1334,1281,1887,2227,1908,1784,1561,2247,2131,2189,2045,1504,1416,1368,1636,2288,2412,2210,1765,1789,1693,1664,1519,1255,1628,1945,1926,1776,1607,1836,1914,1804,1826,1451,1345,1330,1328,1493,1723,1721,1497,1453,1500,1412,1370,1509,1445,1590,1487,1299,1758,1814,1749,1765,1660,1494,1526,1471,1319,1207,1272,1492,1615,1607,1330,1746,2075,1934,1738,1656,1492,1739,2538,2447,1910,1600,1930,1872,1658,1641,1591,1757,1889,2087,2428,2082,1743,1362,716,1013,1619,2382,2048,1659,1550,1429,1364,1304,1395,1420,1424,1854,1898,1832,1804,1626,1401,1563,1607,1563,1819,1958,1851,2012,2225,1892,1907,2048,1975,1945,1901,1816,1644,1472,1503,1715,1547,1243,1428,1592,1685,1477,1411,1146,1198,1444,1600,1482,1325,1261,1349,1316,1245,1418,1446,1346,1254,1141,1035,1327,1923,2097,2114,1838,1433,1354,1440,1270,1299,1329,1317,1384,1863,1639,1323,1481,1406,1305,1344,1374,1425,1421,1648,1665,1506,1532,1509,1522,1637,1709,1591,1783,1867,1656,1670,1898,2148,2098,2059,2372,2560,2182,1546,1470,1681,1604,1347,1304,1273,1426,1718,1794,1898,1886,1785,1854,2237,1960,1371,921,1162,1644,2335,3143,2730,2310,2662,3441,3916,2990,2475,2505,2053,2112,2531,2811,2956,3262,3637,3420,3037,2808,2728,2667,2684,2830,2814,2666,2534,2385,2365,2315,2300,2210,2183,2166,2166,2105,1900,1905,2013,2092,2172,2214,2280,2281,2369,2476,2663,2705,2897,3386,3541,3459,2867,2767,3323,3541,3440,3420,2996,2307,2347,2623,2104,2629,3013,3133,2941,2525,2734,2768,2745,3147,3706,3616,3065,2763,2787,2841,3060,2810,2114,2216,2968,3352,3017,2837,3072,2968,3050,2889,2939,3261,3174,2250,1801,1678,1725,1771,1557,1593,1738,1560,1462,1410,1469,1630,1473,1554,1351,1542,1990,1973,1863,1896,1802,1769,1553,1401,1415,1497,1682,1701,2099,2409,1879,1874,1718,1306,1190,1215,1439,1558,1243,1456,1642,1707,1641,1455,1367,1345,1298,1434,1637,1472,1324,1589,1696,1617,1738,1632,1535,1720,1596,1454,1587,1697,1701,2093,1885,1844,1725,1571,1480,1517,1376,1108,998,952,1081,1335,1584,1650,1551,1581,1079,1462,1812,1427,1489,1887,1809,1905,1927,1825,1661,1380,1553,1627,1828,2562,2458,2109,1886,1861,2120,2357,2259,2397,2191,2497,2471,2138,2264,2235,1979,2082,1976,1900,2040,1800,1721,1794,1959,2439,3528,2778,2013,1657,1462,1785,1935,1833,1723,1555,1432,1365,1341,2154,2207,2451,2955,2720,2285,2031,1665,1530,1699,2088,2253,1835,1970,2326,2603,2717,2383,1914,1772,1752,2061,2500,2063,1512,1747,1862,1730,1760,2449,1938,1499,1807,1902,1750,1922,1926,1785,2243,2238,1700,1596,1584,1902,2331,1926,1746,1661,2014,2508,2188,2087,1882,1677,1652,1671,2028,2189,2104,2319,2856,2425,1805,1794,1779,1644,1676,1818,1957,2376,2763,1921,1829,1832,1800,1626,1517,1992,2248,1990,1581,1756,2534,2858,2668,2447,1814,1902,2511,2334,2089,2243,2466,3134,3331,2970,2284,1818,1249,1472,2066,2431,2446,2129,2258,2586,2083,1927,2094,1947,2163,2153,2193,2358,2425,2441,2272,1830,1939,2355,2460,2482,2256,2123,2264,2010,2103,2168,1936,2004,1814,2175,2842,2626,2120,2123,1882,2549,3002,2586,2491,2104,2776,2692,2231,2036,1802,2061,2204,1771,1919,2090,1729,1698,1926,1654,1473,1470,1525,1656,1785,1783,1854,1980,1786,1609,1469,1404,1668,1648,1759,2306,2572,2398,1886,1615,1555,1619,1591,1524,2226,2319,2172,2249,1686,1617,1854,1901,1766,1867,1912,1994,2508,2540,1534,1433,1601,1981,1780,1578,1737,1706,1677,1721,1775,1863,2051,1730,1662,1701,1782,1646,1569,1782,2031,2124,2180,2502,2298,1903,2177,1852,1763,1806,1817,1771,1766,1919,1788,1680,1598,1617,1921,2118,2081,1800,2066,2261,2730,2429,1967,1842,2000,2276,3031,3407,3386,3375,2801,2734,2646,2482,2810,2723,2461,2429,1948,1610,1483,1398,1758,2310,2260,2119,2298,2610,2260,2578,2652,2439,1893,2027,2585,3032,2895,2373,1611,1687,2150,2266,2251,2242,2022,1735,2023,1993,1677,1858,2155,2073,2012,1757,1817,1900,1849,1588,1711,1890,1860,1836,1685,1822,1790,1783,1709,2014,2541,1980,1832,1809,1914,1925,1818,1874,2102,2133,2107,1997,2192,2191,1859,2045,1854,1897,1858,1842,1983,1814,1584,1609,1602,1634,1760,1782,2502],[2448,2059,2155,2590,2786,3269,3858,3437,2952,3451,3595,3441,3363,3150,2755,2908,3271,3019,3090,2766,2153,1735,1990,1995,2610,2703,2533,2911,3274,3260,2895,2114,2026,1864,2706,3550,3647,2927,2828,2887,2614,1909,1748,2257,2839,3349,3763,3140,1840,1953,2458,2121,1800,1497,1845,2140,1976,1835,2286,2727,3514,3768,3862,3176,2568,2085,1740,2020,2764,2632,2366,2906,3364,3817,3731,3094,2334,2178,1782,1760,1711,1805,1686,1499,1648,1700,1628,1632,1786,1814,1776,1618,1870,1852,2410,3068,2402,1718,1649,1481,1454,1460,1449,1606,1995,2132,1958,2033,2103,1861,1925,1953,1749,1750,2391,3027,2884,2288,1976,2143,2989,3627,3183,2539,2188,2417,2515,2097,2350,2534,2032,2107,2076,2013,2106,1301,1300,1668,1994,2286,2607,3065,3394,2929,2646,2932,2409,1725,1779,1597,1992,2143,2040,2370,2148,1895,1932,1975,2039,1851,2092,2639,2631,3023,2976,2396,1908,1666,1618,1822,2132,2523,3025,3055,2668,2112,1876,1867,1820,1545,1411,2155,2967,2985,2806,2713,2810,2879,2531,2647,2526,3300,3139,3041,3068,2896,2741,2486,2699,2973,2746,2408,2339,3424,3755,2713,2019,1987,2380,2954,2972,2244,2272,2781,2109,1501,1569,1895,2836,2833,2885,3200,3515,3354,2542,2609,2797,2829,3060,3627,3166,3007,3308,2531,1796,1904,2484,2811,2605,2385,2618,3168,3582,3481,3190,2990,2846,3043,3317,3882,2850,2401,2582,2641,2745,2060,1878,2527,2066,1631,2104,2700,2482,2701,2640,3063,2872,2235,1701,1583,1722,1809,1667,1558,1679,2038,2732,3666,4060,4161,4050,3803,3439,2933,2434,2054,2027,1774,1581,1949,2020,2427,2458,1936,2196,1754,2446,3373,2752,2265,2289,2125,1638,1470,1525,1886,2502,2303,1832,2420,2346,1815,2295,2780,2566,2317,2137,1823,1622,1655,1677,1417,1338,1908,2096,2157,2013,1958,2434,2563,2474,2702,3131,3131,3154,3006,3061,3342,4167,4223,3652,4007,4744,4745,4182,3167,2922,3075,3010,2541,2404,2026,1480,1481,1710,1647,1723,2118,2183,1682,1754,2618,2208,1721,1561,1748,1571,1493,1561,1501,1294,1298,1417,1489,1702,1541,1481,1458,1466,1821,1778,2156,2286,2192,2219,2023,2223,1910,1934,1887,1574,1496,1490,1786,1803,1573,1427,1574,2160,2270,1936,2227,2464,1963,2330,2325,2123,1662,1448,1521,1466,1498,1600,1701,1650,1599,1687,1361,1335,1355,1562,1582,1576,1779,2036,2539,2647,1876,1439,1277,1800,1792,1704,1516,1623,1824,1617,2066,2314,2357,2474,2257,1904,1617,1638,1696,1924,1885,1893,1831,1782,1701,1627,1628,1598,1608,1977,1983,1720,1698,1860,1490,1700,2088,2342,2070,1998,2025,1969,2169,2422,1998,1702,1750,1687,1520,1528,1685,1835,1662,1812,1821,1535,1426,1700,1922,1439,1647,1614,1502,1710,1819,1818,1677,1537,1659,1780,1853,1904,1910,1795,1934,1802,1792,1862,1792,1730,1832,1970,1976,1930,1998,2044,1967,1837,1880,1982,2007,1959,1935,1992,2084,2270,2098,1931,1937,1737,1587,1598,1648,1696,1658,1707,1738,1742,1695,1737,1925,1882,1793,1873,1814,1716,1653,1779,1726,1677,1654,1657,1457,1256,1396,1438,1416,1516,1437,1619,1471,1280,1378,1376,1331,1324,1598,1873,1727,1547,1621,1642,1713,2966,3850,2640,1673,1452,1592,2014,1960,1550,1511,1603,1561,1438,1695,1720,1698,1670,1681,1510,1436,1395,1383,1436,1383,1152,1146,1289,1759,2216,2422,1766,1808,2140,2316,1553,894,939,1428,1403,1168,1225,1173,1403,1903,1587,1471,1452,1259,1394,1454,1354,1247,1156,1244,1363,1281,1312,1364,1276,1181,1269,1153,1150,1209,1188,1296,1305,1100,1142,1139,1145,1211,1373,1208,1268,1122,1204,1266,1325,1273,1199,1128,1136,1085,1188,1359,1358,1382,1600,1390,1232,1169,1113,1190,1323,1339,1460,1721,1838,1791,1751,1833,2190,2288,1976,2148,3127,3592,3649,3440,2409,1861,2383,2342,2419,2441,2056,1972,1956,1937,1673,2232,2375,1647,1435,1518,1761,1883,1905,1731,1783,2009,1994,2370,2355,2504,2303,2532,3272,2911,2834,3263,3024,3292,2819,2497,2260,2240,3009,2647,2232,2119,2276,2099,1816,1743,2048,2243,2250,2315,2798,3143,3107,2995,2388,1676,1478,1544,1813,1700,1559,1553,1457,1393,1559,1697,1834,1742,1600,1672,1488,1512,1787,1685,1778,1807,1946,2228,2674,2777,2985,2646,2314,2636,2918,2702,2511,2630,3112,3660,3294,2920,2690,2459,2264,2368,2455,2830,2819,2396,2472,2541,2425,2348,2245,1963,2101,2526,2182,2546,3187,3053,3242,3164,2303,2247,1603,2145,2653,2025,1783,1857,2301,2180,2281,2783,2492,2053,2431,2335,2644,2571,2956,2390,2272,2062,1647,1963,2526,3154,3719,3826,3916,3869,3315,2661,2630,2405,1797,1650,1665,1438,1772,2255,2430,2482,2340,2467,2831,2679,2944,3020,2932,2808,2832,2667,2094,2319,3194,2492,1364,1295,1535,1588,2220,2468,2442,2976,1974,1791,2324,2074,1527,1506,2133,2303,2339,2415,2258,2337,1979,1754,1962,1751,1735,1788,1562,1283,1301,1697,1820,2019,2008,1684,1475,1904,1817,1689,1652,2172,2241,1947,1942,2115,2272,2148,1860,1801,1889,1860,1721,1644,1746,1794,1778,1847,1896,1948,2096,2354,2302,1627,1395,1532,1872,1650,1682,1991,2714,2654,1991,1825,1468,1362,1510,1668,1742,2413,2332,1902,1514,1713,1713,1261,1282,1670,1726,1371,1278,1732,2305,1950,1649,1507,1974,1679,1663,1638,1615,1902,1910,2319,2892,2852,2430,1506,1946,1659,1571,1502,1267,1626,1723,1522,1708,1485,1839,2136,1715,1730,1389,1391,1422,1258,1432,1691,1599,1395,1512,1555,1583,1606,1564,1296,1468,1297,1048,1414,1502,1549,1751,1656,1764,1799,1652,1344,1051,1273,1417,1791,1423,905,1480,1925,1941,1701,1767,1654,1683,2097,1786,1455,1825,1935,1940,1944,1570,1612,1852,1742,1958,2215,1809,1438,1364,860,1072,1321,1575,1705,1683,1614,1456,1191,1237,1376,1209,1146,1936,1940,1535,1571,1742,1656,1656,1475,1497,1869,2016,1783,1827,1891,1813,2012,2129,1968,1887,1951,1765,1505,1498,1673,1733,1510,1266,1562,1771,1594,1411,1336,1110,1341,1834,2120,1993,1551,1553,1519,1266,1124,1501,1614,1794,1375,1158,1049,1381,1694,1709,1759,1648,1388,1254,1263,1280,1404,1340,1231,1437,1810,1566,1369,1454,1415,1379,1359,1450,1452,1517,1520,1677,1487,1385,1319,1300,1577,1654,1462,1490,1501,1461,1623,1749,1856,1932,2086,2226,2369,2080,1647,1564,1504,1470,1580,1522,1342,1371,1487,1403,1422,1603,1577,1871,1947,1604,1272,970,983,1525,1919,2700,2632,2228,1995,2732,3769,3665,3464,3134,2613,2945,3334,3551,3285,3407,3399,2927,2642,2561,2493,2448,2558,2630,2529,2483,2385,2302,2301,2245,2210,2050,1950,1989,2147,2177,2083,2098,2191,2285,2370,2452,2553,2632,2797,2696,2807,2828,3075,3698,3793,3437,2955,2446,2419,2511,2674,2742,2570,2496,1922,2088,2168,2657,2987,3031,2963,2843,2623,2496,2813,2983,2857,2967,2930,3015,3003,3033,3052,2529,2274,2698,3130,3144,3037,3024,2947,3094,3220,3162,3382,3260,2810,2105,1447,1355,1727,1876,1755,1636,1485,1428,1510,1483,1377,1269,1729,2452,2408,2790,2459,1907,1770,1715,1647,1773,1723,1466,1504,1504,1594,1608,1730,1734,1713,1873,1681,1353,1451,1349,1396,1339,1222,1492,1844,2274,2311,1570,1224,1367,1267,1136,1450,1407,1256,1192,1220,1402,1591,1628,1567,1556,1339,1410,1581,1819,1884,2148,1869,1674,1601,1489,1249,1057,941,1008,1336,1281,1402,1676,1858,1787,1629,1646,1222,1322,1763,1671,1875,2233,1939,1801,1570,1780,1666,1429,1439,1588,1839,2014,1939,1940,2072,2254,2070,2185,1940,2112,2451,2413,2127,2064,2145,2060,2214,2382,2447,2630,2513,2001,1807,1552,1608,1684,2486,3056,2886,1946,1427,1460,1632,1865,1702,1583,1404,1491,1887,2313,2833,3022,2768,2378,2081,1836,1838,1725,1601,1302,1626,1979,2370,2002,1920,2280,2116,1762,1666,1920,2740,3008,2067,1690,1840,1981,1637,1747,2152,1940,1686,1842,1902,1823,1967,1670,1594,1882,1868,1688,1586,1483,1629,1864,1801,1678,1758,2277,2597,2002,1907,1833,2251,2054,1994,2374,2256,1914,2137,2380,1988,1722,1490,1807,1919,1772,2160,2353,2934,2674,1904,1782,1775,1808,1692,1468,1875,2245,2258,1700,2294,2115,2181,2196,1885,1695,2188,2584,2076,1628,1605,2047,2247,2238,2491,2655,2377,1850,2027,2370,2586,2954,3163,3432,3036,2048,1829,1764,1661,1848,2125,2200,2168,2285,2387,2218,2268,2317,2169,2110,2438,1945,2416,2494,2497,2858,2341,1929,2022,1918,2129,2200,2029,2355,2587,2135,2495,2752,2686,2530,2500,2724,2287,2540,2909,2656,2429,2119,2081,1995,2041,2176,2383,2304,1948,1686,1677,1732,1859,1998,2173,2060,1957,2062,2056,1735,1552,1609,1924,2087,2040,1821,1909,1932,1824,1643,1858,1878,1933,2290,1925,2171,2123,1759,1697,1683,1669,1683,1842,1701,1800,2300,2812,1857,1433,1474,1579,1500,1802,2029,1843,1725,1721,1581,1759,2062,1902,1800,1684,1592,1565,1566,1741,1895,1858,1859,1785,1733,2144,2069,1646,2073,1887,1713,1682,1850,2051,2006,1994,1618,1568,1494,1495,1669,1779,2512,3019,3119,2546,2059,1757,1699,2043,2741,3205,3422,3620,2814,2339,2346,2821,2887,2321,1940,2065,2183,2037,1694,1514,1692,1948,2470,2608,2776,2620,2226,2620,2920,2677,2244,2323,2745,2834,2224,1646,1323,1996,2428,2246,2070,2342,1939,1560,1626,1532,1574,1856,2210,2211,1976,1823,1915,1901,2088,1816,1746,1832,1721,1601,1709,2072,2041,1927,1710,2003,2093,1963,1938,1892,1816,2057,2113,1795,2021,2035,1949,2020,2025,2065,2099,2090,1851,1968,1943,1814,1764,1666,1682,1705,1635,1616,1520,1758,2433],[2104,2215,2696,2618,2623,3338,3820,3242,2281,2535,3312,3461,3284,3340,2964,2910,3197,3361,3332,3126,2404,1451,1886,2409,2349,2409,2742,3155,3096,2858,3202,2981,2360,2054,2402,2695,2668,2229,2020,1924,2110,2018,1794,2064,2927,3421,4181,3269,1907,1777,1893,1736,1561,1334,2122,3365,2674,1977,2190,2252,3143,3078,2729,2146,2169,2040,1716,1886,2282,2153,1997,1951,2599,3362,3499,3651,2579,2054,1903,2058,1667,1430,1530,1673,1655,1393,1308,1730,1850,1820,1998,1790,1690,1608,2492,2869,1930,1812,2094,2167,1983,1592,1723,1770,1714,1876,2511,2779,2594,2100,1834,1772,1858,1534,1608,2003,2242,2373,2745,2973,2996,3720,3741,3379,2703,2457,2360,2363,3085,2920,1847,2028,2554,2578,2597,1890,1792,1950,2104,2185,2231,3134,3288,2390,2629,2575,1813,1844,2160,2045,2192,2041,1860,2231,2220,1868,1923,2161,2082,1929,2383,2453,2823,2800,2636,2148,1473,1269,1734,2289,2245,1887,2447,2788,2740,2496,1947,1676,1868,1772,1595,2338,3053,2676,2615,2616,2696,2538,2591,3237,2966,3098,3200,2986,3239,3340,2579,2262,2610,2937,3145,2727,2542,3516,3965,2596,1864,1946,2474,2962,2343,1662,1837,2247,2029,1677,2137,2434,2888,2814,2923,3332,3359,2586,2056,2481,3207,3133,3020,2834,2532,3527,4060,2764,1861,2148,2519,2692,2541,2532,3028,3673,4272,4196,4121,4056,4059,3797,2979,3031,2308,1918,2077,2216,2373,2116,1907,2155,2192,2234,2736,3112,3168,3361,3361,3221,2989,2490,1970,1703,1493,1533,1477,1332,1465,1645,2408,3435,3907,3851,3731,3103,2186,1993,2101,2022,1939,1872,1551,1515,1747,1957,1865,1599,1861,1752,1907,2342,2445,2655,2806,2604,1998,1454,1671,2088,2369,2242,1901,1822,1974,1837,1867,2102,2220,2724,2461,1941,1612,1743,1889,1712,1727,2344,2551,2280,1941,1893,2127,2382,2671,2951,2837,2805,3172,3241,3075,2590,3001,4140,4174,3990,4261,4655,3885,2941,3073,3241,2957,2313,2430,2358,1607,1581,1768,1859,1932,1749,1590,1385,1419,1669,1665,1537,1464,1324,1612,2166,2106,1677,1443,1296,1520,1459,1832,2167,2284,1924,1836,2678,2521,2098,2403,2424,2130,2104,2108,1825,1748,1588,1548,1647,1772,2040,1784,1598,1525,1936,2460,2342,2277,3040,2605,1887,2355,2284,1941,1576,1488,1859,1876,1409,1440,1576,1627,1614,1498,1338,1358,1337,1447,1731,1958,1964,2079,2708,2697,1882,1557,1642,2124,1784,1541,1497,1568,1649,1766,2104,2435,2522,2387,2229,1823,1791,1764,1699,1987,1876,1308,1355,1399,1406,1715,1604,1462,1723,1986,1687,1893,1876,1806,1777,1808,2144,2608,2508,2711,2408,1935,1846,2023,2207,2310,2360,1757,1555,1556,1555,1461,1547,2023,1948,1569,1370,1468,1982,1820,1809,1549,1507,1937,2014,1855,1773,1585,1651,1781,1598,1578,1650,1597,1593,1545,1693,1826,1772,1589,1612,2012,2343,1777,1887,1853,1694,1597,1595,1553,1451,1663,1820,1621,1557,1671,1698,1582,1605,1625,1673,1603,1589,1548,1621,1688,1559,1506,1546,1534,1576,1746,1874,2332,2014,1511,1336,1479,1595,1551,1475,1386,1320,1482,1594,1343,1277,1521,1432,1446,1280,1269,1390,1450,1427,1546,1682,1504,1440,1789,2179,2241,2546,3334,3839,3418,2245,1565,1493,1607,1515,1487,1665,1599,1606,1665,1704,1585,1587,1536,1435,1528,1687,1437,1297,1376,1284,1116,1236,1220,1574,2434,2448,1904,1724,2038,2003,1411,915,931,1368,1346,1262,1201,1208,2056,2675,1993,1471,1381,1337,1394,1361,1301,1428,1320,1356,1454,1306,1252,1632,1451,1365,1285,1117,1315,1520,1322,1246,1272,1288,1289,1157,1192,1187,1352,1191,1093,1147,1181,1325,1567,1505,1318,1312,1231,1097,1141,1183,1194,1175,1182,1141,1146,1082,1100,1256,1299,1365,1490,1443,1571,1837,1982,1907,1761,1751,1654,2292,3363,3617,3651,3554,2162,1509,1385,1503,1597,2001,2080,2073,2067,1776,1633,2045,1880,1620,1679,1540,1611,1938,1698,1513,1977,1886,1775,1941,2169,2358,2065,2587,3630,3329,3219,3355,3419,3786,3705,2957,2287,2040,2039,2159,2096,1988,2109,1908,1547,1518,1922,2120,2345,2610,2792,2744,2922,3417,3261,2457,1772,1638,1656,1905,1597,1544,1446,1339,1655,1879,2144,1982,1433,1554,1470,1376,1622,1624,1541,1690,1704,1761,2029,2407,2471,2261,2584,3021,2949,2731,2762,2806,2929,2661,3107,2777,2621,2406,2466,2555,2602,2895,2803,2633,2893,2694,2539,2244,2515,2745,2586,2172,1836,2246,2806,2753,2921,2631,1559,1432,1694,2426,2888,1824,1497,1653,2008,2007,1787,2018,2234,2002,2066,2348,2430,1899,1967,2097,2077,2133,1999,2339,2552,2438,2511,3145,3574,3704,3537,3437,2869,2675,2262,2680,2895,2581,2168,2469,3277,2846,2349,2767,2103,2195,2746,2882,2990,3005,2895,2651,2438,2556,2407,1532,1504,1988,2077,1743,1944,2101,2504,2946,2173,2049,2340,1984,1662,1505,2055,1975,2296,2463,2297,2106,1950,1999,1981,1665,1626,1656,1476,1297,1189,1425,1578,1955,1945,1726,1683,2025,2199,1845,1669,1953,2011,1815,1707,1651,1573,1687,1696,1718,1688,1757,1812,2025,2173,2215,2106,1891,2005,2071,2233,2564,2439,1771,1604,1592,1773,1726,1604,2008,2987,2925,1817,1385,1223,1363,1490,1627,1714,2175,2491,2118,1965,2277,2233,1971,1656,2066,1936,1353,1295,1627,2265,2113,1810,1943,2156,2007,1966,1910,1902,1875,1734,1955,2203,2082,1781,1499,2085,1747,1550,1723,1517,1689,1658,1622,1868,1380,1494,1986,1824,1760,1505,1378,1319,1288,1429,1704,1714,1551,1608,1340,1418,1623,1744,1606,1578,1351,1158,1328,1394,1463,1382,1465,1710,1710,1644,1622,1700,1822,1798,1773,1108,1046,1503,1431,1628,1748,1737,1842,1782,2152,2316,1835,1904,1852,1851,1747,1462,1702,1679,1408,1487,1690,1609,1342,1338,1133,1158,1219,1498,1901,1660,1572,1515,1365,1448,1493,1548,1896,2123,2004,1504,1233,1349,1579,1493,1351,1667,1744,1720,1671,1853,1765,1832,2021,2048,1896,1862,1908,1727,1470,1555,1595,1714,1455,1284,1560,1730,1580,1416,1200,922,1080,1392,1588,1576,1628,1933,1742,1287,1167,1294,1354,1505,1241,1130,1298,1559,1666,1653,1507,1381,1428,1354,1446,1160,1143,1505,1434,1453,1651,1460,1423,1534,1472,1441,1367,1459,1437,1684,1749,1777,1564,1341,1367,1457,1352,1468,1420,1290,1299,1288,1431,1401,1461,1653,1690,1675,1790,1698,1613,1513,1497,1730,1636,1537,1506,1557,1453,1331,1860,1930,1576,1752,1790,1654,1440,1194,1265,1645,1805,2752,2244,1874,2362,3075,3871,4108,3978,3765,3552,3566,3278,3205,3155,2922,2635,2468,2476,2586,2448,2247,2409,2399,2283,2257,2204,2191,2238,2284,2094,1980,2074,2219,2313,2345,2340,2348,2420,2596,2686,2909,2825,2610,2610,2670,2823,2995,3241,3378,3160,2800,2367,2040,1901,2557,2811,2917,3032,2834,2138,2436,3024,3526,3946,3493,3303,3075,2902,2363,2572,2574,2215,2138,2266,2586,2750,3029,3139,2910,2624,2512,2968,3094,3073,2998,2835,3077,3058,3006,3119,3164,2844,2178,1794,1434,1516,1516,1684,1799,1618,1525,1511,1559,1522,1400,2514,4005,2539,2007,1468,1157,1511,1828,1751,1879,1777,1595,1683,1672,1465,1445,1427,1506,1555,1748,1476,1236,1245,1321,1300,1200,1294,1519,1716,1808,1760,1426,1354,1437,1271,1167,1360,1512,1116,876,1313,1542,1639,1895,1751,1475,1275,1530,1729,1865,1870,1738,1558,1564,1583,1268,809,883,883,1295,1549,1296,1573,1886,2055,2035,1875,1750,1288,1265,1758,2033,2232,1852,1809,1717,1762,1892,1572,1184,1140,1572,1823,1837,1898,2166,2333,2357,2335,2363,2098,2195,2267,1987,1887,2051,1983,1849,2179,2718,2752,2227,2224,2025,1793,1876,2145,1804,1841,2569,2438,1792,1437,1462,1466,1559,1655,1490,1501,1815,1876,2200,3065,3508,3028,2754,2266,1859,2114,1911,1614,1533,1984,2046,2024,1982,2155,2155,1799,2007,1788,1801,2541,2429,1770,1735,1824,1770,1639,1642,1801,2050,2008,1908,1754,2230,2473,1983,1720,1944,2121,2115,2078,1715,1529,1607,1606,1599,1726,1817,1720,1684,1857,1888,1923,1859,1841,1953,1968,1866,1912,2048,1807,1447,1777,2471,2677,2397,2167,2719,3442,2916,1795,1578,1484,1652,1774,1388,1719,2013,1768,1959,2602,1998,1521,2060,2443,2310,2935,2767,2390,2115,2024,2664,2319,2169,2426,2722,2752,2436,2498,2669,2743,3306,3532,3598,2836,2148,2013,1707,1666,2171,2512,2252,1851,1814,1951,2409,3217,3011,2406,1899,1880,1886,2105,2197,2327,2290,2042,2019,2271,2272,2374,2064,2057,3134,2842,2318,2592,2553,2237,2748,3388,2745,1583,1435,1782,2741,2347,1717,1641,1544,2034,2217,1970,2292,2447,2023,1614,1550,1759,1997,2542,2179,1716,1901,2084,1987,1623,1707,2114,2210,1954,1883,2352,2104,1688,1782,1932,2126,2024,1931,2026,2276,2077,1700,1668,1708,1663,1693,1791,1710,1868,1989,2221,1977,1668,1527,1559,1672,1983,2032,1835,1635,1626,1610,1654,1807,1925,1711,1596,1704,1693,1697,1847,1847,1597,1547,1515,1652,1644,1703,1766,1894,1725,1656,1848,2310,2591,2358,2260,1854,1731,1623,1781,1715,2108,2922,3095,2625,2018,1783,1641,1713,1791,2242,2286,2584,3415,2712,2142,2091,2494,3024,2646,2192,2483,2695,2355,1863,1577,2492,2963,2919,2720,2653,2263,2322,2705,2588,2588,2597,2518,2868,3298,3051,2420,1700,1850,2142,2039,2455,2716,1937,1533,1551,1590,1709,1911,2027,1842,1727,1820,2049,2024,1957,2004,2148,2138,1824,1714,2004,1917,1960,1797,1732,1822,1675,1885,2142,2000,1885,1999,2074,1796,2176,2012,1919,1808,1772,1842,2108,2244,2182,2128,2064,2104,2050,1916,1892,1841,1635,1803,1961,2142,2620],[1600,2288,2669,2665,2524,3104,3312,2397,1796,1929,2313,3058,3334,3544,3245,3029,3118,3400,3296,3294,3120,2366,1918,2233,2861,3185,3465,2968,2132,2080,2637,2972,2170,1697,1763,1764,1660,1945,2051,1860,2170,1798,1647,2043,2674,3060,3670,3028,2025,1596,1432,1720,1918,1222,1922,3406,2583,2408,2048,1821,1938,2424,2442,2380,2510,2285,1932,1786,1753,2129,2082,1456,2342,3213,3398,3530,3151,2635,2200,1730,1438,1342,1600,2027,2012,1623,1554,1744,1784,1788,1958,2214,2262,2021,2228,2446,1839,1894,2154,2428,1914,1985,1841,1719,1554,2227,2815,2942,2714,2175,1870,1838,1849,1424,1799,1720,2008,2696,3119,3093,3507,3827,3840,3802,3049,2475,2164,2030,2099,2274,2113,2095,2337,2614,3213,2789,2276,2235,2657,2966,2692,2909,2646,2689,2658,2298,2046,2273,2916,2932,2540,2294,2292,2849,2316,1714,1764,1997,1816,2326,2655,2656,2722,2546,2257,1785,1490,1279,1765,2058,1850,1763,2006,2476,2915,2802,2106,1885,2150,2146,1947,2275,2479,2024,2322,3040,3054,2689,3142,3275,2884,2984,3106,2734,2636,2864,2323,2810,3018,3519,4188,3695,2898,2861,3435,2396,1685,1676,2204,2754,2513,2132,2085,2562,2712,1997,2131,2485,2822,2932,2901,3136,3203,2292,1610,2122,2308,2541,2941,2762,2343,3253,4039,2630,1880,2255,2338,2613,2938,3184,3124,3317,3869,3951,3652,3995,4612,4609,4164,3971,2690,1721,1877,1905,2001,2073,1864,2163,2326,2094,2476,3062,3448,3481,3138,2631,2293,2263,1979,2029,1636,1720,1780,1519,1676,2175,2954,3500,3628,3220,2698,2123,1664,1510,1699,1969,1878,1872,1830,1611,1910,2216,1921,1785,2085,2161,2378,2422,2664,2718,3050,2615,2388,2220,1978,1799,1859,2210,2338,2416,2644,2526,2374,2134,2064,2152,2176,1845,1859,1964,1898,2093,2640,3127,3275,2630,2138,2202,2182,2793,2876,2173,1910,2429,3190,3497,3230,2480,2118,3071,3981,4038,3808,3908,3409,3085,3260,3309,3018,2334,2233,2091,1714,1627,1589,1732,1777,1859,1651,1687,1694,1399,1513,1697,1577,1672,2623,3038,2188,1741,1602,1417,1493,1397,1648,2298,2688,2334,2091,2302,2163,1487,1808,2214,1655,2078,2928,2756,2062,1653,1600,1560,1990,2216,1708,1783,1448,1483,1907,2115,2587,2998,1920,1698,2088,1861,1933,1841,1714,2079,2138,1586,1660,1595,1584,1578,1478,1383,1294,1361,1363,1419,1523,1583,1665,2122,2194,2198,1715,1424,1403,1390,1387,1428,1581,1696,1710,1896,2207,2016,1878,1916,1855,1620,1514,1488,1607,1327,1080,1563,1588,1433,1432,1422,1310,1928,1858,1348,1647,2023,2280,2335,1812,2137,2496,1927,1935,1669,1648,1751,1672,2391,2852,2297,1751,1732,1636,1520,1442,1583,2298,2133,1908,1947,2288,2055,1861,1984,1780,2026,2437,1899,1691,1803,1532,1515,1737,1523,1515,1692,1678,1575,1562,1578,1687,1816,1721,1713,2144,2581,1750,1883,2176,2145,1673,1546,1572,1543,1877,2086,1716,1572,1790,1791,1623,1439,1346,1446,1450,1403,1576,1768,1673,1393,1368,1531,1616,1821,1607,1896,2776,2306,1620,1533,1705,1692,1511,1554,1409,1403,1892,1866,1454,1381,1657,1494,1477,1339,1268,1631,1662,1504,1604,1550,1209,1245,1469,1569,2374,3277,3388,3504,3882,3086,1683,1517,1331,1399,1643,1573,1407,1651,1763,1714,1522,1605,1692,1535,1553,1474,1233,1129,1288,1312,1036,1260,1435,1362,2344,2344,1854,1779,1789,1837,1479,875,843,1440,1355,1280,1256,1231,1705,1903,1636,1318,1229,1278,1442,1439,1539,1558,1260,1278,1259,1289,1262,1530,1506,1346,1778,1631,1925,1642,1372,1360,1271,1319,1331,1366,1360,1315,1315,1198,1193,1172,1189,1312,1408,1288,1260,1326,1143,1127,1141,1184,1212,1158,1070,1147,1179,1114,1305,1464,1392,1425,1403,1378,1658,1899,1591,1457,1726,1854,1716,2335,3151,2984,2548,3007,2026,1787,1522,1529,1484,1443,1377,1686,1636,1596,1902,1852,1666,2014,1772,1414,1759,1890,1470,1571,1936,1740,1804,2018,1992,1946,1865,2213,3090,2942,3213,3116,2930,3130,3506,3630,3116,2587,2724,2511,2114,1669,1647,1792,1951,1667,1816,1826,2278,2728,2556,2343,2687,3370,3682,2854,2063,1809,1694,1791,1684,1732,1902,1869,1924,1925,2122,2082,1729,1512,1158,1501,1526,1454,1412,1513,1548,1528,1608,1798,1788,1886,2310,2608,2323,2452,2562,2308,2365,2347,2562,2601,2674,2741,2623,2452,2928,3125,2544,2250,2501,2899,2908,2714,2612,2773,2911,2579,2268,2372,2252,2309,2482,2171,1759,1388,2006,2314,2012,1416,1386,1550,1604,1621,1766,1936,1996,2301,2502,2686,2296,1919,2126,2166,1978,1989,2408,2691,2542,2543,2186,3041,3687,4144,4407,3203,2032,2111,2158,2724,3593,3598,2856,3565,3872,3318,2194,2160,2165,2563,2364,2158,2533,3039,2896,2342,2438,2295,1981,1841,2148,2421,2193,1775,1504,1390,1520,1774,1749,2038,2237,1954,1819,1892,2287,2201,2304,2340,1980,1948,1870,1702,1742,1538,1427,1577,1597,1578,1523,1625,1616,1715,1671,1652,1656,1707,1720,1597,1571,1649,1621,1626,1589,1559,1572,2081,2564,2353,2202,2262,2262,2443,2373,2077,1705,1848,2160,1942,1688,1487,1487,1758,1887,1713,1549,1483,1312,1497,2212,2855,2076,1483,1448,1280,1312,1400,1380,1697,1917,1741,1920,1935,1945,2117,1792,2026,1716,1368,1370,1748,2360,2279,2002,2724,3794,3724,3187,2306,2081,1732,1688,1595,1914,1995,1716,1649,2022,1876,1230,1333,1508,1567,1413,1484,1688,1521,1435,1772,1964,1795,1640,1490,1370,1277,1384,1622,1706,1502,1215,1315,1376,1439,1546,1616,1467,1157,1198,1311,1440,1406,1226,1412,1531,1370,1336,1593,1744,1848,1964,1680,1166,1379,1411,1130,1218,1448,1742,1667,1393,1584,1686,1664,1910,1938,1792,1700,1642,1728,1819,1879,1771,1714,1438,1416,1763,1426,924,860,1368,2115,2104,1918,1820,1372,1176,1546,1903,2013,1991,1747,1304,1241,1277,1317,1556,1802,1653,1635,1755,1503,1480,1731,1988,2061,1976,1815,1838,1852,1639,1388,1454,1569,1775,1447,1318,1482,1477,1468,1338,942,1002,1280,1273,1147,1168,1607,1814,1721,1396,1238,1153,1153,1327,1237,1189,1263,1197,1128,1480,1620,1247,1253,1299,1542,1232,1424,1893,1432,1306,1444,1419,1612,1776,1602,1498,1808,1784,1483,1549,1567,1438,1415,1360,1695,1908,1457,1490,1487,1390,1565,1506,1431,1296,1382,1649,1532,1346,1338,1310,1564,1272,1426,1788,1750,1606,1550,1566,1493,1604,2010,1841,1585,1672,1829,1918,1902,2276,2289,1920,1869,2720,2543,2246,2799,3232,3404,3355,3096,2953,2878,2750,2470,2640,2746,2530,2410,2326,2223,2236,2265,2220,2281,2199,2084,1972,1958,1990,2115,2176,2052,1985,2113,2310,2474,2580,2698,2768,2800,2909,2943,3018,2683,2253,2517,2884,3091,3316,3250,3134,3240,2981,2153,2088,2284,3265,3400,2865,2786,2824,2702,2896,3238,3562,3818,3753,3495,2833,2807,2777,3024,2950,2625,2279,2428,2802,2752,2731,2907,3011,2415,2268,2712,2956,2677,2104,2525,3094,2854,2646,2861,3383,3040,2002,2017,1365,1537,1613,1900,2039,2125,2292,1922,1821,1703,1787,2340,3444,2050,1470,1218,1207,1703,1859,1709,1616,1553,1606,1664,1650,1499,1486,1460,1650,1739,1788,1419,1206,1389,1540,1437,1355,1394,1605,1642,1562,1512,1424,1590,1396,1188,1492,1860,1714,1044,762,1097,1290,1826,2746,2373,1722,1721,1734,1666,1649,1594,1532,1526,1458,1474,1243,1190,1572,1155,1231,1388,1236,1299,1724,2077,1981,1875,1682,1266,1203,1258,1975,2002,1639,1958,1610,1644,1736,1598,1421,1499,1962,1905,1843,1618,1749,1974,1729,1674,1640,1643,1799,1988,1919,1660,1607,1658,1620,1848,2504,2240,1764,1957,1908,1582,1716,2071,2167,2266,2277,2312,2072,1587,1952,2337,1882,1753,1675,1582,1814,2082,1992,1885,2588,3375,3352,2516,2486,2266,1755,1681,1834,1818,1719,1906,2378,2534,2071,1864,2187,2002,1824,1921,2212,2173,1918,1853,1770,1707,1759,2057,2404,2231,1975,1901,2311,2418,2418,2342,2144,1968,2350,2569,1872,1699,1671,1551,1824,1820,1714,1626,1671,2025,2210,2008,1876,1660,1848,1864,1700,1666,1736,1691,1832,2663,3154,3185,2944,2639,2789,3172,2481,1857,1759,1772,1845,1540,1952,2324,1882,1968,2467,2500,1988,1511,2039,2874,2710,2972,2472,2722,2546,2189,2611,2532,2386,2304,2508,2938,2101,1801,1992,2569,3530,3850,3572,2423,2026,2100,2148,2259,2764,3842,3431,1991,1777,1868,2479,3238,2972,2380,2240,2140,2165,2022,1801,2035,1888,1708,2070,2260,2344,2197,2287,2764,2857,2136,2364,2679,2175,2061,2847,3273,2709,2127,1884,1570,2181,2248,1949,1758,1626,1837,1992,2243,2531,2508,1975,1611,1768,1920,1819,2095,2051,1959,1827,1813,1897,1894,1883,2031,1924,1909,1881,2404,2126,1652,1511,1531,2050,1936,1910,2520,2322,1757,1640,1618,1703,1848,1913,1734,1757,1918,1866,1934,2061,1825,1708,1910,2288,2679,1847,1666,1784,1933,1792,1667,1800,1883,1698,1560,1528,1540,1550,1675,1608,1494,1508,1621,1896,1910,1879,1819,2051,2211,2022,1959,2070,2083,1994,1866,1876,1742,1682,1748,1632,2119,2768,2356,1646,1514,1776,1594,1842,1675,1969,2069,2308,3134,3024,2315,2057,2457,3062,3003,2854,2896,3002,2636,2177,2133,2636,2945,3098,2880,2456,2188,2677,3025,2455,2413,2552,2496,3041,3265,3063,2318,1515,1592,1818,1909,2415,2533,1848,1930,2003,1775,1675,1745,2009,1755,1620,1781,1765,1884,2313,2619,2430,1970,1896,1887,1799,1657,1870,1804,1880,1936,1898,2362,2401,2230,1863,2082,2228,1923,2272,2047,1857,1729,1657,1600,1746,2037,2293,2238,1964,1905,1926,1998,1963,2083,2054,1968,2136,2299,2517],[1815,2067,2427,2414,2363,2616,2259,1631,1661,1469,2050,3032,3484,3437,3343,3181,3231,3406,3408,3437,3508,3161,2569,2592,2808,2619,2535,2219,1731,1502,1882,2453,2242,1986,1950,1764,1773,2107,1873,1577,1801,1898,2377,2138,2372,2801,2646,2071,1665,1782,1953,1868,1836,1216,1634,2533,2107,1914,1616,1731,2315,2987,2932,2365,2060,2033,1955,2076,1747,2293,2432,2408,2791,3139,3211,3371,3658,3480,2530,1763,1621,1492,1842,2387,2469,1762,1793,2254,2095,1727,1745,1782,1992,2344,1886,1787,1765,1902,1691,1784,1954,2120,1906,1609,1665,2367,2468,2327,2215,2083,1874,1804,1854,1946,2280,1631,1647,2384,3076,3428,3454,3205,3081,3078,3142,2644,2022,2013,1896,2009,2376,2796,3030,3363,3174,2453,2119,1953,2213,2308,1928,2105,2187,2889,2701,2253,2778,3259,3433,3165,2604,1917,2142,2547,2379,2458,2086,1966,2039,2515,2483,2163,2194,2289,2258,1986,2082,1649,1663,1648,1547,1512,1957,2435,2602,2646,2226,1805,2045,2557,2005,1746,1912,2330,2385,2807,2916,3312,3854,3372,2822,3144,2906,2435,2447,2773,2995,3393,4038,4516,4528,3925,2991,2878,2783,2113,1936,1974,2177,1815,1826,1797,2048,2248,2581,2388,2179,2385,2950,3119,2969,2986,3186,2585,2012,2606,2658,2835,2799,2470,2261,3032,2984,1968,2019,2347,2335,2713,2946,3078,2608,2322,2536,2580,2415,2916,3960,4329,4104,3349,1904,1610,1732,2116,2432,2097,2143,2809,3220,2810,2601,2846,3064,3222,3695,2941,2202,2139,2226,2448,1811,1904,2177,2039,2169,2574,2216,2613,3327,2708,2128,1826,1826,1571,1828,1970,1912,2175,2436,2130,2027,1959,1714,1924,2161,2127,2427,2667,2728,2854,3028,3045,3034,2646,2275,1889,1612,1805,2042,1958,2177,2566,2494,2557,2330,1676,1633,1969,2647,2732,2224,2306,2223,2586,3215,2799,2402,2166,1855,2558,2612,1920,1630,2406,3531,3918,3625,3122,2306,2063,3049,3952,4095,3453,2786,2937,3207,3095,3118,2811,2442,2042,1648,1516,1562,1596,2055,2002,1700,1807,1539,1410,1506,1459,1526,2076,3218,3333,2388,1903,1712,1860,2056,2043,1865,1453,1483,1619,1490,1648,1842,1459,1745,1880,1673,1920,2479,2424,2204,1978,1554,1471,2030,2050,1519,1537,1354,1195,1620,1835,2426,2494,1743,1979,2356,2009,2152,1851,1957,1775,1770,1875,1616,1218,1371,1371,1466,1575,1582,2077,1706,1719,1916,1870,1714,1511,1653,1529,1504,1497,1570,1672,1491,1553,1717,1898,1712,1890,2022,1710,1514,1637,1825,1899,2134,1851,1421,1369,1385,1726,1762,1447,1227,1608,1690,2046,1800,1454,1591,1693,1990,2165,1739,2073,1961,1722,2006,2209,2233,2150,2056,2306,2564,2275,1874,1938,1856,1510,1382,1442,2166,2655,2763,2731,2597,2370,2497,2504,1893,1862,1727,1488,1750,1798,1448,1516,1771,1604,1526,1731,1943,1787,1508,1491,1607,1862,2057,1736,1615,1920,1929,2043,2275,2111,1772,1790,1709,1856,2245,2656,2017,2003,1826,2081,1995,1609,1450,1638,1707,1499,1519,1583,1578,1307,1355,1456,1708,2191,1789,1852,2923,2840,1898,1604,1489,1386,1370,1526,1433,1274,1726,1771,1462,1409,1582,1447,1408,1361,1235,1388,1454,1557,1777,1425,1193,1231,1192,1384,1965,2503,2944,3181,3393,3134,2187,1673,1756,1752,1848,1796,1772,1820,1822,1643,1508,1587,1500,1545,1307,1121,1326,1265,1455,1313,949,1433,1562,1477,2276,2329,1741,1843,1836,1894,1469,810,943,1664,1618,1433,1156,1216,1495,1563,1406,1263,1204,1428,1433,1423,1549,1527,1444,1312,1275,1322,1382,1281,1247,2024,2226,2021,2311,1622,1309,1156,1171,1239,1208,1235,1262,1296,1269,1419,1617,1454,1573,1575,1631,1270,1255,1256,1167,1271,1264,1282,1293,1231,1204,1221,1306,1273,1269,1287,1291,1418,1438,1549,1899,1975,1880,1713,1730,1934,1825,2165,2107,2370,2143,2837,1957,1704,1594,1888,1926,1358,1295,1345,1271,1314,1402,1437,1709,1811,1524,1692,1894,1540,1318,1635,1927,1735,1713,1825,1947,1952,1886,1980,2006,2198,2443,2463,2654,2844,3321,3807,3605,2844,2648,2225,1913,1629,1749,2263,2187,1632,1614,1785,2303,2788,2663,2805,3287,3369,3319,2521,2240,1844,1730,1865,1764,1964,2370,2354,2486,2629,2591,2195,2057,1867,1585,1565,1453,1391,1407,1481,1497,1450,1653,1853,1555,1488,1772,1980,2133,2233,2192,2084,2503,2767,2555,2788,3146,3284,3090,2535,2858,2897,2741,2418,2097,2220,2676,3248,3319,2955,2585,2125,2439,2862,2830,2466,2141,2076,1898,1993,2429,2336,1603,1426,1481,1444,1453,1627,1963,2006,2439,3344,2945,2344,2139,2335,2534,2295,1857,1900,2444,2791,2536,2389,2363,3242,3894,4001,3959,2348,1462,2205,2214,2231,2792,3319,3310,3942,4014,3422,2060,1547,2211,2611,2242,1908,2126,2601,3076,2878,2724,1941,2122,2252,2255,2633,2286,1819,1621,1348,1350,1317,1318,1554,1824,1727,1937,2317,2287,1903,1936,2012,1587,1628,2032,1912,1654,1163,1102,1310,1536,1649,1570,1584,1704,1775,1597,1481,1843,2120,2085,1970,2322,1914,1644,1677,1547,1409,1726,2210,2528,2396,2282,2236,2317,2282,1937,1625,1976,2533,2360,1949,1292,1077,1572,1726,1547,1572,1686,2123,1760,1311,1496,2331,2317,1657,1288,1197,1267,1320,1326,1550,1469,1622,1969,1800,1487,1524,1804,1853,1729,1492,1202,1653,2456,2390,2079,2850,4161,4005,3169,2066,2113,2237,2386,2136,2433,2614,2066,1576,1868,2441,1675,1489,1691,1406,1393,1515,1455,1483,1570,1753,1684,1429,1645,1599,1445,1288,1394,1350,1486,1645,1592,1516,1489,1363,1252,1393,1445,967,1152,1054,1169,1210,1300,1421,1375,1238,1235,1363,1379,1263,1374,1647,1476,1549,1384,1142,1296,1660,1716,1356,1464,1980,1875,1640,1719,1585,1682,1424,1494,1586,1538,1288,1342,1702,1939,2053,1685,1044,1218,1586,1849,2106,2136,1817,1692,1393,1391,1978,2199,2059,1959,1567,1167,1591,1844,1473,1603,1931,1981,1846,1478,1028,1111,1591,1875,1924,1882,1857,1898,1868,1665,1484,1441,1636,1821,1569,1413,1544,1391,1164,954,967,1532,1320,1199,1183,1251,1356,1326,1295,1335,1376,1147,1186,1599,1350,1188,1125,1070,1215,1485,1719,1623,1592,1693,1655,1253,1500,1679,1396,1314,1329,1762,1798,1764,1765,1576,1936,1955,1509,1406,1402,1399,1359,1316,1477,1475,1479,1507,1388,1288,1297,1280,1252,1198,1331,1401,1455,1296,1344,1337,1267,1061,1401,1836,1881,1713,1822,1904,1479,1077,1650,1675,1665,1686,1408,1359,1443,1619,1647,1739,1819,2106,2231,2251,2679,2756,2486,2452,2279,2147,2172,2303,2313,2412,2385,2267,2190,2153,2115,2152,2220,2150,2101,2025,1935,1875,1822,1832,1914,2019,2104,2130,2249,2615,2906,2997,2907,2910,2801,2944,3091,3106,2738,2529,2879,3001,3084,2951,3128,2944,2759,2576,2171,1997,2651,3562,3497,2806,2589,3035,3183,3303,2857,3067,3416,3477,3187,2560,2701,3044,3134,3329,2990,2634,2511,2972,2877,2495,2260,2519,2391,2598,3003,2924,2012,1473,2147,2962,2850,2495,2653,2995,2880,1905,1734,1743,2172,2182,2256,2142,2172,2479,1996,1876,1717,1751,1683,1887,1837,2015,1598,1555,1897,1798,1676,1507,1434,1611,1480,1429,1729,1742,1398,1413,1593,1587,1311,1280,1524,1476,1189,1322,1386,1471,1573,1449,1472,1668,1554,1171,1268,1667,1765,1628,1164,863,1273,1474,2073,2801,2165,1828,1820,1643,1559,1504,1717,2005,1948,1264,1424,1460,1460,1805,1671,1555,1800,1710,1446,1822,2004,1880,1924,1623,1344,1404,1909,2837,2210,2043,1835,1399,1716,1881,2093,1810,1787,1930,2026,1870,1639,2125,1856,1366,1381,1526,1899,2193,2232,2086,1533,1586,1927,1815,1590,1830,1582,1503,1665,1644,1537,1538,1995,2512,2809,2174,2106,1684,1401,1854,2379,2084,1910,1991,1644,1927,2719,2360,1532,1409,1789,2185,2831,2690,2105,1663,1571,1656,1605,1741,2229,2578,2111,1842,2093,2245,2050,1820,1879,2376,2475,2257,2093,1837,1950,2193,2378,2314,1959,2072,2154,2035,2033,2534,2637,2335,2061,1988,1895,1828,1953,1632,1735,2339,2198,1830,1783,1802,2119,2381,2049,1763,1703,2251,2213,1978,1741,1675,1747,2106,2668,3236,3182,2483,2189,2401,2690,2050,1637,1938,1901,1904,2043,2300,1995,1926,2459,2223,1673,1617,2252,2534,2609,2721,2614,2570,2577,2087,1855,2224,2468,2341,2336,2544,3083,2505,2060,2166,2526,3228,3461,2798,1995,2015,2093,2584,2278,2194,2495,2293,1820,1844,1966,2199,2423,2198,1972,1978,2049,2388,1894,1712,2138,1939,1895,2164,1790,1647,1832,2354,2671,1884,1827,2731,2821,2604,2725,3054,3385,2669,2383,1976,2112,2504,2732,2521,1906,1653,1577,1830,1938,2210,1855,1722,1845,1840,1929,1814,2018,2518,2520,1988,1731,1908,1813,2076,2282,1951,1998,2133,2169,2050,1790,1541,1789,2211,2023,2276,2563,2360,1880,1665,1774,1746,1766,2115,2166,1947,1807,1845,1909,2029,1866,1861,1973,2397,2458,2062,1946,1855,1770,1635,1690,1928,1906,1757,1733,1734,1696,1615,1606,1598,1703,1724,1736,1803,1630,1484,1683,2000,1964,2023,1879,1756,1850,1865,1622,1544,1681,1780,1759,1616,1835,2051,1705,1503,1661,1845,1577,1698,1697,1943,2076,2157,2777,2701,1973,2038,2301,2691,3074,3096,2988,3071,3081,3144,3167,3198,3235,3272,3274,3032,2670,3064,2687,2340,2531,2712,3025,3068,2365,1988,2036,1960,1545,1610,1814,2085,2182,1659,1678,1841,1775,1659,1738,1908,1746,1791,2112,1861,2249,2402,2363,2114,1869,1815,2284,2096,1710,1788,1664,1736,1851,1985,2416,2359,2498,1985,1949,1921,1878,1829,1903,1885,1675,1703,1758,1838,2148,2201,1781,1699,1584,1553,1727,1853,1997,2110,2116,2258,2208,2262],[1815,1706,1957,2024,2110,2053,1790,1569,1523,1687,2787,3146,3384,3322,3460,3532,3551,3592,3562,3552,3680,3544,3021,3006,2740,2116,1744,1914,1979,1944,1960,1909,2036,1768,1671,1517,1398,1741,1796,1543,1624,2297,2431,1963,2273,2312,1954,1758,1569,1574,2169,2543,1731,1574,1835,2060,1904,1515,1512,1875,1913,2338,2524,2390,2199,2313,2319,2135,1981,2307,2942,3317,3051,3041,3426,3603,3797,3723,3164,2304,1646,1572,2079,2744,2510,1950,2335,2591,2042,1577,1616,1899,1730,1798,1768,1533,1856,1841,1723,1617,1758,1836,1927,1862,1750,2042,2100,2212,1852,1915,1881,2026,1987,2323,2188,1779,2073,2263,2439,3067,3327,3010,2534,2063,2733,2765,2316,2527,2372,2058,2480,3021,3052,2776,2210,2374,2259,1907,2371,2260,1769,1834,2335,3233,2853,2222,3016,3312,3474,3085,2750,2342,2318,2036,2021,2116,1905,1692,1898,2245,1987,1991,1874,1988,2096,2393,2014,1433,1443,1712,1819,1826,2155,1958,2061,2740,2446,1994,2589,3076,1564,1387,2202,2723,2942,2335,2222,2711,2886,3209,3364,3261,2677,2889,3009,2865,3038,3248,4002,4288,4221,3418,2292,2253,2261,2073,2345,1794,1935,1678,1368,1647,1963,2248,2201,2055,2072,2388,3436,3758,3521,2585,2776,2664,2110,2109,1954,2005,2067,1669,2508,4021,3284,2159,2326,2204,2338,2348,2643,2978,2890,2856,2661,2548,2455,2767,3909,4222,4129,3621,1984,1779,1652,2455,2442,2109,2502,3010,3520,3687,3419,3040,2872,3006,3587,3250,2890,2446,1992,2265,1826,1812,2441,2295,2109,2241,1535,2270,3066,2643,2222,1937,1862,1858,1981,1888,1975,2180,2540,2446,2237,1764,2037,2172,2317,2186,2331,2552,2122,2622,2927,3189,3438,2768,2382,1799,1613,1669,1951,2041,2308,2567,2316,2622,2557,2088,1977,2070,2570,2585,2547,2675,2466,1895,2046,2701,2589,2171,2066,2046,2208,2316,2008,2536,3243,3862,3210,2966,2614,2500,2875,3869,4451,3897,3000,2613,2686,2582,3073,3059,2463,2210,1738,1448,1788,1927,1814,1649,1964,2239,1852,1634,1379,1474,1456,1841,2645,2735,2463,2003,1777,2191,2246,2190,1900,1531,1620,1532,1676,1575,1410,1452,1692,1698,1519,1571,1506,1490,1738,1588,1288,1641,2308,1903,1658,1501,1416,1265,1361,1641,1934,1882,1749,2440,2995,2903,2530,1863,1631,1412,1448,1516,1426,1357,1267,1233,1668,1792,1804,2495,1875,2054,2036,1853,1889,1879,1770,1458,1497,1656,1443,1486,1690,1828,1701,1596,1973,1877,1504,1291,1300,1643,1834,1989,2435,1871,1389,1370,1691,1947,1996,1705,1829,2596,2388,2002,1758,1317,1418,1510,1528,1673,1658,1882,1881,1841,1818,1948,2078,2284,2253,1988,2272,1908,1779,1972,1962,1613,1368,1299,2083,2916,3055,2922,2478,1973,1958,2413,1747,1784,1660,1440,1676,1887,1745,1838,1923,1746,1678,1567,1832,1551,1344,1390,1386,1854,2015,1579,1445,1697,1646,1532,1744,1662,1585,1574,1470,2142,2604,2519,2343,2462,2207,2437,2339,2040,1690,1543,1607,1576,1520,1448,1568,1368,1368,1760,2119,2346,2080,1808,2604,3111,2045,1601,1473,1299,1261,1357,1450,1396,1489,1456,1361,1435,1519,1365,1301,1255,1163,1214,1288,1391,1454,1273,1288,1222,1176,1277,1598,1924,2570,3432,3665,3409,2764,1783,1682,1461,1587,1765,1835,1809,1772,1755,1687,1689,1637,1726,1363,1332,1382,1428,1405,1109,969,1247,1219,1490,2535,2470,1712,1792,1970,2195,1500,760,1178,1642,1815,1697,1323,1465,1605,1735,1666,1454,1195,1266,1236,1311,1336,1472,1565,1501,1404,1472,1394,1258,1252,1693,2394,2646,2482,2135,1700,1425,1273,1179,1195,1130,1088,1251,1313,1714,2246,2007,2106,1565,1492,1274,1250,1353,1411,1259,1248,1521,1454,1177,1246,1350,1344,1200,1155,1223,1289,1428,1428,1651,1897,1823,1925,1880,1974,1997,1892,2667,2030,2081,2098,2038,1747,1923,1803,1699,1604,1400,1400,1710,1735,1399,1386,1492,1872,1738,1448,1763,1633,1390,1496,1914,1971,1729,1610,1788,1708,2034,2320,2149,2069,2032,1828,1844,1836,2151,3057,3354,2813,2122,1891,1998,1906,1689,1454,1724,1882,1650,1997,2535,2735,2796,2861,3341,3788,3475,3320,3160,2225,1537,1718,1765,1666,1844,1867,1621,1794,2390,2508,1870,1802,1845,1527,1425,1398,1388,1426,1421,1490,1623,1496,1315,1190,1546,1879,1784,2160,2803,3017,2874,3012,2986,2749,2908,2873,3252,2890,2586,2806,3008,2996,2746,2525,2398,2549,3037,3574,3296,2670,2177,2468,2541,2348,2376,2564,2363,1964,2212,2544,1913,1450,1673,1704,1642,1564,1942,2186,2595,2303,2696,2785,2137,1792,2543,2787,2545,2556,2553,2732,3229,3123,2644,2338,2601,3329,3448,2830,1786,1639,2292,2270,2377,2620,3374,3586,3557,3795,2947,1793,1538,1766,2066,2070,1680,2031,2416,2963,3118,2909,2257,2322,2336,2391,2409,2029,1924,1754,1759,1802,1638,1636,1805,2332,2352,2266,2175,1990,2015,2354,2383,1803,1725,2170,1777,1196,579,496,706,1328,1683,1648,1954,2272,1995,1690,1685,2414,2596,2534,2103,2469,1925,1516,1537,1489,1603,1935,2061,2047,2023,2190,2200,2007,1819,1721,1787,2394,2710,2392,1860,1402,1587,1788,1472,1522,1699,1477,1756,1833,1611,1620,1598,1764,1659,1357,1271,1374,1288,1384,1365,1348,1875,2345,2202,1526,1394,1745,1744,1750,1631,1298,1665,2339,2207,2040,2862,4018,3929,3462,3109,3138,3329,3531,3250,2787,2713,3077,2691,2641,2916,2630,2517,2254,1572,1396,1654,1533,1471,1520,1499,1701,1634,1776,1796,1581,1197,853,777,1284,1664,1666,1759,1729,1778,1734,1517,1710,1014,1728,1650,1246,1224,1001,1054,1393,1264,975,1134,1403,1170,1195,1265,1256,1472,1647,1641,1646,1679,1562,1371,1665,2272,2154,1989,1842,1422,1433,1350,1517,1777,1483,1150,1565,2105,2468,2493,1383,1118,1748,1935,1598,1591,1443,1471,1777,1623,1438,1600,1641,1929,1832,1432,1578,1555,1341,1346,1581,1867,2019,1705,1045,975,1233,1392,1643,1768,1808,1803,1854,1866,1656,1587,1728,1843,1954,1830,1701,1607,1416,1027,884,1668,1918,1370,1269,1314,1168,1084,1074,1246,1561,1512,1317,1395,1596,1354,1423,1156,1106,1383,1388,1417,1591,1670,1761,1654,1481,1638,1770,1671,1328,1352,2003,1654,1550,1925,1677,1509,1578,1459,1372,1337,1413,1321,1314,1323,1289,1377,1290,1188,1269,1264,1261,1167,1094,1165,1276,1534,1343,1306,1477,1418,1286,1447,1535,1441,1628,1874,1853,1399,1273,1657,1821,1756,1635,1118,1088,1399,1466,1515,1764,1858,2024,2292,2510,2579,2404,2329,2353,2232,2094,2075,2188,2358,2432,2416,2230,2172,2136,2119,2162,2314,2146,2039,2001,1925,1926,1888,1788,1785,1890,2135,2462,2547,2700,2784,2833,2944,2971,2776,2797,2890,3018,3080,3061,3032,3017,3085,3123,3067,2548,2164,2320,2078,1744,2247,2401,2115,2316,2631,2655,2547,2855,2573,2905,3042,3120,3174,2902,3138,3066,3103,3371,3536,3332,2595,2886,3047,2414,1791,2144,2535,2822,3010,2713,2260,2328,2686,2893,2701,2633,2719,2598,2291,1716,1506,1806,1883,1764,1986,1903,1721,1829,1766,1522,1428,1457,1444,1326,1503,1759,1692,1657,1681,1731,1788,1576,1475,2122,1652,1467,2039,1910,1366,1333,1504,1410,1233,1375,1409,1072,1289,1688,1610,1498,1605,1460,1483,1621,1294,1078,1871,2033,1800,1494,1290,1377,1524,1542,1871,2045,1819,1685,1681,1638,1314,1225,1474,1490,1445,1450,1646,1670,1500,1548,1706,1789,1807,1644,1606,1809,1880,2114,2109,1776,1434,1692,2165,2734,2685,1959,1248,1655,1844,1940,2046,1948,2144,1892,1998,2033,2146,2370,1875,1624,1621,1655,2171,2609,2426,2150,1471,1514,1755,1590,1497,1474,1487,1770,1876,1773,1866,1662,2063,2446,2472,2014,1808,1676,1581,1526,1827,2100,2138,2140,1796,1768,2016,2002,1534,1323,1500,2236,2490,2405,2382,1729,1575,1854,1908,1932,2029,2620,2127,1844,1912,2287,2094,1697,1807,1914,1737,1886,2106,2059,2155,2410,2475,2340,2258,2120,2324,2564,2552,2554,2394,2305,2307,1968,1823,1836,1889,1824,2221,2416,2081,1816,1816,2094,2011,2040,2181,1888,1765,2237,2576,2242,1949,2091,2266,2338,2708,3133,2567,1771,1970,2077,2144,1770,1558,1598,1634,1843,1933,2079,2238,2281,2319,1934,1800,1991,2905,3012,2500,2186,2254,2478,2237,1736,2087,2597,2233,1807,2298,2232,2434,2765,2840,2734,2491,2620,2978,2358,1937,1937,1877,2322,1689,1418,1540,2024,2131,1993,2048,2241,2411,2218,1926,1632,1738,1832,1571,2133,2432,2060,2338,2562,2149,1910,1900,2668,3048,2266,2592,3176,3151,2554,2542,2805,3178,3078,2773,2439,2402,2408,2874,2705,2422,1980,1798,1918,1584,1438,1417,1861,2007,2458,2414,1903,2181,2753,2697,2307,1852,1824,1858,2113,2157,2236,2151,1879,1603,1666,1954,2003,2166,2250,1744,1895,1938,1786,2046,2043,1842,1700,2032,2290,2195,1958,1886,1798,1674,1708,1652,1835,1827,1938,1983,1879,1733,1632,1575,1668,1878,1897,1868,1795,1625,1805,2278,2273,1847,1700,1811,1809,1783,1726,1600,1594,1662,1826,1759,2030,2087,1761,1687,1865,1844,1622,1704,1738,1499,1463,1631,1779,1688,1470,1759,2034,1771,1542,1714,1830,1920,2542,2662,1886,1577,1960,2196,2567,3065,3129,3022,3064,3429,3407,2909,2800,2899,3083,3529,3430,2789,2497,2052,2242,2530,2497,2901,2540,1741,1723,2208,1966,1113,1366,1893,2401,2328,1780,1777,1904,1748,1626,1645,1881,1896,2017,2476,2164,2034,1831,1779,1749,1621,1516,2052,2147,1954,2123,1742,1703,1785,2295,2511,2710,2426,2156,1991,1961,1998,1934,1933,1973,1778,1760,1933,1826,2012,2017,1746,1734,1827,1828,1995,2113,1880,2082,2115,2120,1980,1894],[1518,1257,1487,1658,1920,1577,1527,1696,1572,2524,3189,3279,3218,3270,3542,3776,3758,3442,3345,3683,3786,3389,3078,3110,2877,2563,2770,3145,2994,2673,2350,1690,1851,1597,1515,1455,1311,1478,1717,1642,1523,1923,1827,1791,2043,2185,2174,2029,1707,1579,2024,2341,1905,1811,2070,2090,2078,1863,1872,2518,2457,2758,2291,2440,2087,1959,2210,1913,1729,1978,2601,2759,2283,2788,3511,3559,3604,3541,2923,2010,1622,1390,1738,2169,2065,2160,2275,1991,1973,1828,1932,1693,1559,1509,1607,1667,1755,1735,1862,1780,1727,2003,2458,2555,2014,1769,1842,2512,2186,1985,1959,1976,1797,1808,1929,2211,2606,2480,2274,2916,3543,3163,2707,2009,2223,2551,2636,2645,2253,1758,1933,2102,2382,2296,2472,2609,2401,2565,2664,2087,1794,2077,2808,3291,2937,2028,2502,3603,3595,3350,3055,2814,2097,1824,1852,1831,1715,1646,2275,2566,2128,2565,2059,2150,2278,2206,1696,1549,1549,1954,2091,1802,2026,1991,1852,2482,2556,2265,2653,2333,1472,1615,2193,2592,2634,2395,2811,2409,2373,2733,2899,2620,2801,3039,2850,2378,2107,2697,3769,4355,4352,3658,2911,2987,2852,2530,2574,2087,2170,2081,1993,1757,1642,1847,1815,1938,1862,2004,3099,3749,3486,2183,2024,2230,1957,1919,1987,1981,2133,2284,3201,4153,3566,2327,2377,2487,2643,2806,2878,2579,2442,2845,3128,3481,3506,3418,3769,3884,4254,3118,1943,1812,1847,2410,2224,2023,2344,2644,3372,3537,3807,3377,2669,2975,3210,3207,3045,2498,2561,2612,1910,1749,2309,2385,2259,2225,2078,2420,2764,2617,2164,2062,2052,2511,2512,2182,2072,2049,2366,2441,1918,1713,1983,1950,2034,1963,1932,1831,1687,2270,2651,2929,3319,3001,1854,1620,1677,1902,2035,1882,2139,2761,2524,2091,2162,2451,2291,2500,2569,2482,2590,2375,2332,1713,2107,3210,3388,2523,2143,2015,2345,2272,1835,1986,2823,3718,3361,3211,3019,3011,3327,4269,4377,3439,2734,2598,2504,2778,2818,2572,2303,1990,1522,1381,1535,1657,1583,1394,1670,2143,1821,1566,1562,1777,1672,1485,1688,1745,2059,2112,1582,1464,1357,1719,1806,1520,1475,1523,1636,1528,1531,1638,1736,1698,1713,1891,1561,1461,1853,1749,1434,1797,2105,2060,2267,1983,1632,1483,1433,1596,1803,1697,1596,2052,2501,2364,1772,1391,1301,1316,1432,1535,1379,1282,1342,1563,1547,1459,1656,1876,1728,2044,2038,1896,2166,2286,1899,1531,1640,1756,1661,1706,1711,1737,1920,1590,1951,1843,1354,1311,1613,1756,1849,1754,1563,1471,1433,1466,1583,1814,2144,2033,2363,2925,2693,2087,1759,1612,1965,1693,1720,1585,1541,1514,1590,1680,1780,1891,2060,2522,2601,2363,2217,2286,2305,1954,2087,1940,1750,1755,1811,2120,2551,2887,2177,1821,1663,1726,1887,2707,2497,1758,1895,2242,2107,2150,2172,1641,1503,1527,1697,1339,1195,1290,1567,1892,1741,1541,1469,1406,1299,1433,1731,1805,1761,1409,1389,2302,2386,1826,2131,2525,2624,2434,2081,1957,1444,1408,1334,1354,1394,1333,1588,1517,1412,2223,2654,2323,2178,1702,1823,2770,2280,1737,1504,1236,1323,1332,1327,1300,1236,1344,1417,1412,1422,1329,1403,1324,1332,1355,1235,1212,1145,1690,1763,1262,1306,1492,1747,1721,2405,3461,3940,3099,2262,1687,1430,1433,1537,1625,1598,1684,1736,1761,1833,2122,1729,1473,1378,1459,1483,1453,1367,1150,1082,1157,1200,1592,2708,2409,1809,1720,2016,2330,1548,845,1312,1623,1608,1548,1421,1586,1719,2407,1948,1403,1245,1306,1383,1382,1373,1391,1405,1405,1642,1949,1652,1297,1258,1288,1763,2742,2729,2801,2274,1634,1401,1346,1258,1186,1281,1396,1355,1662,1985,2138,2258,1685,1455,1392,1570,1793,1764,1471,1265,1484,1413,1218,1441,1640,1463,1220,1192,1292,1413,1493,1298,1427,1769,1787,2509,2913,2458,1765,2132,2856,2111,2041,1902,1764,2144,2103,1938,1656,1486,1325,1476,1789,1827,1515,2065,2124,2412,2219,1575,1743,1576,1590,1418,1561,1709,1695,1591,1700,1616,2036,2372,2459,2411,2090,1985,2050,1926,1687,2141,2662,2285,1839,1915,2193,1930,1600,1579,2036,2158,1860,1676,2184,2369,2532,2702,2940,3276,3225,3149,2699,1559,1311,1483,1473,2088,2272,1396,1186,1428,1750,2046,1768,1821,1771,1418,1353,1315,1281,1140,1175,1405,1615,1099,1156,1196,1609,1904,1920,2589,3357,3487,3674,3621,3301,3377,2965,2630,2904,2939,2614,2593,2921,2911,2751,3026,3234,3374,3152,2895,2300,2193,2006,2012,2442,2302,2009,2439,2462,2252,2291,2369,2311,1898,1708,1779,1810,1718,2053,1971,1755,1704,1874,2083,2217,2266,2479,2491,2449,3702,3803,3285,3571,3386,2721,2070,2068,3164,3580,2569,1486,1972,2599,2549,2754,2599,3380,3746,3319,3235,2847,2040,1778,1873,1982,1776,1711,2331,2195,2258,2652,2968,2588,2230,2111,2262,2042,1817,1597,1605,1671,1981,2392,2100,2199,2230,2126,2047,1624,1543,1725,2010,2258,2027,1923,2026,1549,860,655,1225,1491,1628,1752,1665,1782,1682,1577,1698,1780,2282,2202,2048,1840,1895,1588,1349,1395,1549,1818,2031,2170,1852,1397,1853,1919,1630,1466,1917,2004,1975,2122,2039,1871,1643,1403,1244,1261,1428,1715,1388,1549,1742,1807,1897,1613,1549,1482,1566,1819,1597,1292,1339,1361,1512,1797,2061,1764,1363,1598,1903,1771,1815,1654,1334,1560,1942,1814,1817,2749,3766,3871,3848,4018,3915,3873,3905,3521,3072,3167,3550,3393,3316,3174,3084,2941,2733,2097,1926,2207,1831,1646,1620,1489,1380,1490,1839,1919,1409,775,648,1054,1608,1631,1605,1740,1852,1896,1841,1609,1665,1159,1493,1439,1316,1308,1188,1390,1625,1346,1050,1163,1059,1021,1457,1220,738,898,1433,1695,1734,1726,1757,1660,1829,2050,1769,1930,2275,2162,1933,1726,1674,1782,1407,1120,1644,1979,2090,2059,1287,1349,1920,1846,1588,1687,1765,1844,1814,1169,866,1042,1347,1734,1824,1411,1877,1730,1376,1382,1600,1816,1836,1424,990,1326,1461,1605,1772,1922,2020,1814,1714,1732,1624,1733,1898,1961,2072,1896,1899,1891,1514,955,1049,2148,2180,1327,1084,1072,1054,1095,1116,1259,1376,1465,1465,1412,1412,1499,1357,1087,1252,1266,1046,1295,1406,1382,1440,1654,1865,1835,1731,1590,1321,1463,1723,1462,1747,2002,1629,1332,1366,1335,1302,1318,1327,1356,1317,1291,1318,1210,1010,1088,1256,1405,1383,1239,1149,1218,1435,1397,1253,1306,1384,1355,1462,1508,1449,1454,1744,1793,1604,1047,1271,1625,1940,1946,1445,1187,1491,1476,1478,1758,1846,1839,1926,2776,3179,3067,2817,2630,2538,2417,2281,2125,2134,2293,2330,2308,2152,2095,2042,2040,1960,2006,2057,2102,2125,2131,2083,1964,1842,1864,1892,2266,2535,2692,2923,2886,2794,2713,2577,2540,2481,2452,2688,2811,3058,3129,2981,2917,2876,2539,2221,2089,2180,2163,2324,2489,1891,1684,1902,2105,2188,2668,2533,2213,2842,3145,3185,3266,3119,2945,2939,3068,2921,3293,3094,2565,2719,3120,2442,2002,2664,3129,3178,2804,2737,3029,3006,3064,2810,2710,2576,2770,2719,2185,1496,1185,1234,1416,1352,1726,1744,1769,2090,2057,1779,1759,1684,1463,1479,1653,1497,1466,1558,1555,1593,1744,1759,1875,1904,1375,1495,1774,1706,1554,1345,1392,1276,1255,1349,1271,1056,1632,2229,2095,1635,1725,1789,1399,1481,1334,1413,2154,2036,1807,1503,1512,1637,1677,1698,1671,1727,1714,1635,1742,1402,863,1285,1216,1316,1579,1395,1527,1696,1565,1646,1747,1930,1875,1521,1673,1777,1800,2001,1991,1704,1547,1947,2091,1994,1739,1395,1230,1288,1422,1766,1958,2034,1899,1823,1934,1921,2062,2250,1910,1875,1996,2002,2198,2396,2671,2248,1719,1679,1681,1741,1658,1475,1558,1920,1798,1832,1877,1764,2067,2152,1814,1709,1644,1666,1764,1543,1614,2007,1832,1726,1727,1678,1612,1915,1977,1760,2026,2437,2404,2670,2426,1779,1721,2050,1925,1628,1663,2543,2701,2362,2270,2160,1744,1618,1702,1609,1607,1745,2128,2094,1702,1953,2049,1881,1955,1909,2103,2336,2589,2847,2919,2644,2320,1797,1899,1837,1702,1934,2165,1818,1837,1887,1975,2116,1808,1712,1883,2053,1892,2232,2627,2335,2142,2364,2278,2127,2525,2660,2028,1703,2397,2450,1914,1604,1543,1582,1855,2001,1715,1770,1926,1942,1729,1534,1932,2521,3177,3505,2822,2091,1958,2073,2483,2426,2701,2750,1927,1909,2337,1924,1918,2125,2477,2674,2163,2219,2595,2114,1927,1646,1599,1766,1816,1558,1808,2648,2853,2469,2257,2165,2187,2198,2055,1770,2103,1970,1842,2069,1934,1992,2546,2708,2694,2343,1986,2745,3042,2758,2411,2741,2687,1946,2096,2460,2618,2833,2447,2253,2231,2179,2334,2236,2420,2697,2593,2195,1689,1508,1721,1903,2176,2404,2059,2020,2012,2419,2297,2092,1911,1723,1818,2174,2192,2297,2328,2108,1947,1829,2069,2332,2663,2217,1638,1871,2125,2224,2453,2328,1927,1693,1911,2016,1866,1577,1714,1662,1603,1687,1795,1772,1581,1521,1625,1650,1666,1986,1842,1614,1592,1581,1771,1878,1772,2214,2566,2307,2031,1862,1761,1699,1660,1609,1648,1702,1539,1688,1900,2101,1845,1599,1548,1663,1791,1699,1778,1806,1496,1422,1418,1730,1675,1688,2299,2408,2028,1702,1749,1733,1947,2953,2654,2044,1896,2010,2069,2447,3007,3198,3078,3087,3325,2841,2084,2217,2596,2914,3351,3287,2918,2319,2089,2365,2373,2335,2392,1805,1604,1810,2317,2142,1427,1714,2151,2292,2173,1909,1725,1674,1777,1570,1481,1897,1996,1924,2245,2092,1799,1866,2046,1903,1582,1554,1479,1487,1757,1947,1614,1743,1886,1996,2352,2470,2021,1925,2012,2036,2098,2230,2252,2336,1996,1829,2003,1980,2064,2119,1892,1782,2130,2067,2291,2535,1997,2054,1867,1753,1576,1787],[1482,1241,1287,1577,1775,1915,1848,1973,2476,3375,3604,3501,3252,3299,3587,3746,3906,3664,3316,3627,3637,2388,2359,3066,2840,2993,3625,3017,2076,1909,2299,1795,1758,1876,1804,1598,1354,1454,1876,1757,1602,1650,1440,1729,1933,2322,2574,2402,2040,1699,1644,1939,1978,2040,2040,1867,2046,1792,1730,2032,2446,2852,2414,2280,1941,1631,1724,1901,1930,1855,2238,2205,2189,2143,3064,3624,3444,2829,1880,1859,2039,1640,1881,2319,2046,2186,2120,1748,2037,2062,2258,1674,1483,1514,1783,1837,1929,2444,2342,1930,1979,2249,2443,2656,2414,2085,2052,2635,2471,2437,2523,2194,1947,1798,1897,1843,2588,2847,2883,2961,3076,2968,2950,3055,3272,3365,3319,2844,2421,2106,1936,2160,2381,2459,2651,2722,2930,3066,2408,1883,1620,1841,2677,3106,3598,2971,2830,3072,3176,3173,3036,2841,2457,2130,2005,1790,1806,2063,2396,2464,2243,2697,2460,2165,2159,1901,1695,1786,1888,1735,1661,1704,1988,2737,2868,2795,3244,2567,2077,2015,1728,1720,1934,2165,2593,3378,3854,3374,2568,2798,2546,2791,3363,2522,1993,2431,2508,2500,3251,4071,3949,3129,2721,2931,3164,2867,2404,2149,1898,2271,2327,2011,2326,2365,1982,1836,1676,1599,2098,2681,2382,2273,2304,2212,2348,2518,2474,1931,2339,2438,2796,3675,3526,2552,2675,2699,2922,3094,2787,2367,2098,2186,2294,2928,3826,4074,3834,3804,3986,2597,1556,1601,1870,2355,2646,2673,3174,3150,3432,3296,3270,2521,2186,2998,3584,3209,2692,2801,2878,2312,1802,2024,3044,3045,3071,3010,2746,2756,2296,2178,2274,2498,2675,2564,2285,2158,1798,1831,2000,2149,1782,1571,1446,1506,1742,2101,2148,1847,1898,3000,3016,2836,2894,2707,1877,1591,1694,2145,2236,1968,2156,2408,2373,2250,2397,2518,2072,2475,2498,2395,2209,1921,1765,1846,2031,2721,3084,2050,1908,1598,1771,1738,2149,2547,3007,3608,3732,3031,2126,2048,2454,3521,2880,2065,2220,2131,1908,1856,2162,2216,2063,1670,1411,1362,1322,1543,1676,1383,1278,1635,1672,1567,1690,1757,1719,1781,1824,1571,1861,2097,1488,1350,1508,1678,1949,1689,1525,1512,1431,1505,1683,1719,1901,2402,2086,1529,1446,1703,1882,1644,1576,1926,2063,2209,2408,1962,1638,1481,1454,1721,1916,1782,1350,1588,1575,1327,1404,1472,1459,1495,1626,1771,1407,1344,1426,1526,1567,1700,1662,1421,1480,1956,2204,2432,2964,2890,1899,1663,1745,1445,1337,1517,1620,1670,1981,1856,1537,1424,1390,1355,1543,1591,1664,1441,1396,1635,1592,1664,1527,1609,1714,1537,1628,1868,2309,1694,1407,1505,1578,1500,1551,1512,1578,1650,1516,1487,1736,2110,2226,2626,2692,2601,2365,2865,2876,2584,2540,2097,2144,2132,1571,1584,1786,2426,2483,2619,2074,1892,2176,2813,2397,1820,1991,2198,1949,1762,1813,1397,2043,2172,1869,1678,1492,1543,1773,2004,2172,1700,1378,1405,1780,2431,2416,1881,1868,1629,1369,1489,1708,1787,1825,2046,2310,2038,1619,1918,1438,1384,1384,1673,1926,1638,1594,1475,1285,1646,1716,1651,1776,1636,1542,2309,2248,1658,1390,1217,1378,1426,1350,1411,1372,1382,1346,1366,1529,1549,1415,1305,1489,1421,1176,1144,1371,1632,1638,2034,2149,2275,2048,1980,2311,3317,3761,2307,1733,1732,1281,1297,1794,2005,1686,1771,1995,1614,1764,2429,1948,1421,1324,1467,1576,1478,1350,1097,1082,1156,1210,1346,2342,2142,1866,1754,2036,2430,1756,920,1396,1883,2070,1792,1758,1716,1841,2172,1916,1559,1225,1439,1485,1318,1555,1605,1368,1361,1481,1560,1499,1349,1280,1566,1539,2386,2806,3124,2630,1775,1508,1306,1224,1174,1199,1253,1322,1524,1702,1946,1804,1571,1270,1183,1715,1886,1643,1221,1155,1284,1208,1156,1214,1296,1373,1255,1254,1404,1374,1277,1266,1488,1644,1733,1946,2425,2304,1579,2393,2905,2187,1893,1938,1897,2270,2394,2120,1762,1550,1426,1542,1452,1426,1623,2131,1930,1884,1733,1478,1544,1452,1438,1371,1389,1756,1736,1650,1588,1561,1557,1877,2510,2663,2294,1978,2008,2084,2115,2230,2046,1893,1771,1700,1603,1426,1455,2040,2405,2540,2175,1864,2274,2280,2537,2566,2444,2669,2823,2779,2026,1561,1651,1702,1766,1973,2162,1478,1662,1958,1780,1782,1865,1937,1815,1474,1448,1453,1344,972,1207,1375,1533,2063,2385,1972,1728,1874,2291,3219,3508,3436,3251,3325,3740,3626,2839,2583,2983,2883,2774,2835,2853,3106,3096,3212,3731,3717,2994,2592,2251,2747,2686,2211,2774,2775,2297,2597,2495,2545,2313,2850,3421,2542,2265,2322,2048,1965,2218,2031,1593,1954,1991,2208,3111,3356,2702,1936,2191,3702,3981,3630,3824,3654,2944,2048,2067,2514,2831,2526,1637,2242,2653,2536,2757,2403,2720,3252,2825,2248,2308,1488,1859,2436,2201,1959,2133,3053,2754,2057,2204,2310,2533,2524,2137,2194,1830,2194,2016,2336,2052,1808,2065,2281,2471,2221,1887,1666,1411,1684,2026,2203,2396,1814,1709,1676,1296,561,730,1409,1516,1487,1342,1395,1789,2093,2216,1740,1779,1924,1925,1852,1661,1606,1426,1336,1282,1394,1501,1639,1806,1621,1362,1780,1686,1478,1428,2014,2535,2198,2026,1766,1821,1734,1476,1361,1437,1447,1586,1659,2071,1906,1654,1654,1504,1499,1386,1798,2202,1703,1417,1418,1509,1523,1707,1892,1863,1698,1738,1936,1791,1666,1535,1557,1851,2178,1993,1820,2532,3688,4095,4035,4020,3816,3653,3609,3563,3587,3782,3688,3597,3487,3385,3386,3509,3295,2685,2612,2700,2422,2175,1833,1523,1766,1830,1902,1924,1735,1490,1548,1800,1786,1484,1528,1778,1858,1644,1720,1710,1807,1693,1573,1410,1198,1249,1562,1576,1698,1760,1615,1610,1150,1301,1576,1123,710,1078,1398,1392,1138,1352,1506,1638,1782,1817,1715,1800,2128,2183,2226,2075,1808,1710,1496,1367,1801,2035,2106,1952,1622,1637,1992,1996,1913,1919,1793,1866,1781,1249,1310,1583,1639,1677,1748,1327,1425,1615,1687,1605,1522,1576,1919,1807,1543,1613,1604,1582,1541,1846,1896,1717,1569,1502,1599,1755,1814,1942,2030,1902,1874,1711,1086,1173,1360,1561,1460,1039,900,900,1106,1208,1102,1343,1523,1653,1633,1460,1231,1214,1238,1254,1484,1302,1422,1598,1582,1603,1450,1643,1592,1525,1708,1731,1618,1584,1460,1473,1865,1886,1583,1350,1257,1270,1188,1189,1261,1426,1477,1416,1419,1230,1198,1259,1520,1632,1378,1245,1261,1323,1502,1402,1143,1192,1174,1230,1386,1508,1409,1265,1555,1775,1751,1197,1231,1510,1382,1296,1182,1132,1499,1462,1489,1430,1680,1806,1756,2727,3255,3271,3284,3012,2592,2472,2374,2246,2204,2158,2120,2098,2061,2068,2082,2134,2142,2171,2213,2237,2239,2228,2219,2163,2141,2044,2053,2366,2438,2546,2426,2599,3141,3233,3078,2686,2422,2436,2796,3223,3182,2942,2730,2634,2472,2188,2166,2368,2669,2742,2385,2129,1850,1691,1721,1937,2530,2986,2364,2131,2968,3373,3152,2812,3024,3082,3365,3152,2489,2419,2756,2803,2830,3066,3018,2955,3218,3436,3194,2257,2060,2879,3365,3117,2975,2731,2372,2630,2719,2165,1370,1101,1141,1147,923,1307,1615,1725,1862,2540,2799,2077,1780,1510,1462,1745,1582,1597,1443,1707,1772,1801,1910,2073,1563,1265,1431,1500,1425,1392,1425,1353,1240,1234,1340,1178,1580,1981,1946,1631,1519,1838,1834,1395,1340,1261,1552,1973,1908,1703,1663,1732,1732,1780,1738,1631,1687,1764,1772,1866,1477,1062,1522,1365,1429,1676,1590,1654,1630,1381,1494,1863,2386,2140,1831,1720,1644,1748,1840,1880,1712,1798,2198,2114,1613,1079,1232,1350,999,1118,1572,1945,1814,1703,1830,1848,1654,1725,1933,1972,1874,1952,1847,2097,2128,2195,2155,2118,2009,1847,1754,1797,1958,1874,1713,1495,1690,1891,1935,1980,1748,1575,1512,1511,1827,1695,1413,1512,2190,2110,1935,2143,2275,2094,2572,2765,2306,2459,2521,2590,2815,2320,2051,2105,2070,1781,1727,1781,2032,2320,2108,2030,1750,1727,1602,1509,1413,1571,1512,1849,2020,1897,1833,1758,2432,3125,2038,1714,1450,1702,2243,2611,2254,1903,1838,1734,1598,2025,2668,2565,1930,2148,1964,1910,1692,1613,1710,1703,1685,1819,2094,2342,2249,2054,2150,2093,2094,2318,2288,1880,1938,2589,2360,2155,2211,1895,1936,1961,1932,1625,1583,1572,1659,1716,1743,1870,2126,2543,3022,3107,2680,2210,1863,2097,2831,2958,2578,2150,2520,2398,1749,1835,2218,2579,2608,2178,2226,2646,2430,1802,1694,1639,1738,1960,2012,2303,2989,2880,2230,1902,2067,2290,2268,1984,1681,1696,2126,2318,2434,2275,2187,2654,2750,2681,2184,1648,1550,1830,1954,1526,1654,2059,2131,2348,2214,2203,2402,2482,2518,2178,2270,1908,1715,2446,2824,2618,2344,1904,1722,1786,2050,2492,2592,2035,1956,1841,2205,2391,1919,1640,1645,1739,1979,2080,2103,2365,2446,1945,1886,2286,2499,2070,1931,2036,2428,2615,2918,2909,2337,1852,1711,1429,1610,1682,1590,1540,1534,1653,1827,1756,1493,1412,1472,1625,1937,2073,2620,2164,1622,1515,1834,1892,1864,1798,1908,1957,1940,1918,1935,1752,1759,1770,1941,1713,1482,1593,1777,1896,1883,1621,1579,1669,1640,1559,1696,1697,2067,1794,1558,1493,1720,1706,1818,2209,2401,2141,2011,1876,1708,1851,2156,2040,2045,2017,1957,2415,3254,3430,3034,2788,2962,3096,2807,1967,2030,2702,3060,3248,3306,3187,2876,2697,2537,2097,2358,2315,1886,1648,1755,2143,1871,1464,1689,1830,1917,2098,1909,1745,1945,1958,1532,1577,1973,1977,1849,1945,2101,2076,1775,1924,2152,2194,1907,1535,1580,1597,1526,1618,2001,2286,2198,2526,2656,2099,1868,2128,2394,2165,2054,2251,2446,1886,1715,2124,2131,1827,2047,2109,1748,1861,1983,2544,2454,1921,1730,1758,1731,1979,2368],[1665,1684,1916,1834,1772,1857,2031,2401,3145,3588,3623,3646,3414,3353,2690,2983,3737,3666,3476,3439,2576,1596,1929,2791,3124,3392,3449,2654,2192,2122,2435,2392,2395,2140,1907,1857,1704,1524,1603,1779,1826,1764,1687,1693,2382,2792,3032,2801,2206,1733,1885,2149,2139,2162,1743,1564,1488,1402,1643,1737,2276,2852,2380,1786,1684,1743,1853,2046,2271,2173,2418,2264,2565,2014,2327,2953,2665,2155,2188,2841,2821,2156,2031,2464,2066,1885,1785,1587,1542,1928,2046,2019,2132,2178,2059,1780,2477,2794,2128,1767,1776,1809,2289,2120,1960,1731,1794,2417,2503,2450,2714,2620,2466,2464,2455,2245,2214,2334,2556,2436,2930,2934,2142,2070,2862,3545,3606,3307,2988,2247,2229,2746,2513,2298,2418,2701,3205,3487,2867,2137,1572,1707,2648,2921,3428,3715,3740,3254,3319,3457,2954,2721,2807,2669,1914,1607,1847,1800,1677,1866,1977,2390,2271,1912,2076,2531,3067,2680,2109,1584,1506,1795,2015,2551,3146,3085,3035,2576,2385,2527,2015,1835,1984,2741,3461,3585,3652,4197,3646,3311,3110,3249,2962,2102,2199,2469,2644,2548,2686,3034,3172,3130,3166,2840,3480,3360,2861,2853,2306,2146,1898,2146,2718,2520,2038,1635,1854,1581,1562,1958,2058,2019,1810,2123,3124,2947,2513,1903,2304,2445,2480,3219,3316,3427,3904,3609,3073,2943,3023,2762,2109,2164,2065,2101,2357,2678,3095,3442,3344,2309,1652,1518,1738,2101,2507,2738,3401,3085,3398,3240,3124,2915,2777,3053,3602,3436,2953,2762,2246,2366,2423,2821,2845,3015,2972,2958,2689,2524,2548,2411,2353,2492,2360,2327,1721,1583,1526,2053,2063,1947,2404,2392,1976,1741,1623,1888,1619,1476,2077,3379,3116,2664,2159,1771,1610,1603,1627,1954,2149,1797,1525,1901,2306,1951,2031,2407,2322,2634,2720,2602,2547,2256,2150,2596,2740,2546,2146,1693,1788,1603,1406,1661,2280,3015,3565,3106,2358,1818,1666,1637,1460,1775,1883,1823,2139,2045,1878,1946,2244,2221,1759,1444,1466,1391,1388,1554,1430,1327,1270,1399,1587,1569,1587,1810,1739,1552,1390,1442,1594,1816,1553,1349,1534,1699,2175,2126,1708,1511,1471,1506,1407,1301,1624,2024,1897,2000,1789,1905,1810,1453,1334,1594,1862,2123,2263,1734,1688,1521,1566,1827,1913,1742,1592,1575,1451,1768,2069,1666,1559,1720,1771,1708,1636,1845,1815,1867,1903,1965,1875,1519,1543,1548,1830,2431,2315,2042,1803,1906,1664,1679,1684,1909,1834,1662,1909,1858,1427,1496,1670,1880,1767,1571,1665,1689,1670,1488,1535,1626,1504,1475,1367,1325,1629,1588,1559,1547,1506,1542,1547,1466,1382,1449,1627,1614,1418,1350,1576,1578,1639,2397,2690,2852,2974,3023,3055,3521,3507,2728,1885,1651,1377,1482,1531,1769,1981,1951,1948,1871,2021,2097,1836,1600,1613,1789,1847,1669,1713,1539,2764,2766,2258,2035,1670,1535,1615,2070,2896,2155,1798,1702,2155,2245,2193,1919,1655,1443,1305,1259,1449,1757,1765,1736,1937,2131,2177,2433,1679,1301,1407,1756,1820,1464,1384,1420,1252,1331,1438,1356,1347,1510,1458,1697,1755,1550,1435,1365,1368,1382,1316,1269,1266,1320,1366,1550,1472,1280,1312,1308,1280,1311,1184,1086,1312,1824,2782,3276,2570,2746,2441,1985,1826,2241,2297,1912,1856,1693,1407,1342,1566,1746,1899,1703,1529,1375,1509,1684,1510,1383,1359,1401,1418,1265,1359,1165,1193,1180,1266,1549,2099,1865,1747,1766,1820,2254,1887,907,1457,2023,2161,2173,2193,2036,1689,1406,1449,1368,1099,1183,1339,1380,1414,1422,1336,1314,1195,1235,1422,1500,1461,1548,1460,1561,1993,2213,1857,1943,1734,1135,1110,1209,1231,1263,1338,1461,1706,1865,1707,1542,1259,1070,1338,1532,1374,1200,1122,1201,1001,941,1009,1000,1159,1207,1392,1643,1232,1017,1266,1469,1507,1370,1446,1864,1715,1478,2017,2737,2452,1914,2245,2084,2143,2357,1844,1527,1468,1605,1496,1369,1467,1806,2105,1798,1439,1251,1350,1297,1883,2625,1893,1447,1654,1641,1562,1525,1543,1623,2441,2826,2343,1825,1389,1554,1832,2039,2192,2046,2014,1946,1735,1303,986,1274,2044,2160,2419,2639,2909,3012,2705,2358,2361,2765,2814,2764,2630,1983,1619,1686,1839,2054,2043,2067,1901,1992,1923,1648,1754,1996,1916,1682,1438,1509,1439,1323,1209,1378,1438,1497,1736,2104,2364,2055,2054,2764,3616,4093,4021,3705,3472,3139,2957,2919,3329,3431,3156,3011,3145,3021,2901,3109,3294,3465,3537,3014,2765,2909,2978,2489,2005,2272,2214,2492,2652,2687,2513,1977,2156,2939,2801,2279,2217,2319,2380,2265,2073,2210,2442,2089,2702,3560,3763,3054,1827,1875,2120,2376,3209,3338,3648,2530,1941,2293,2597,2520,2125,2227,2601,2285,2350,2615,2394,2093,2103,2147,2401,2371,1397,1909,2166,2210,1892,2071,2662,2142,2342,2655,2007,1823,2271,2200,2210,1691,1649,2078,2769,2451,2380,2671,2355,2391,2030,1991,2092,1896,1897,2043,2227,2585,2007,1635,1540,1015,521,1010,1457,1621,1445,1396,1896,2140,1991,1763,1490,1731,1758,1735,1660,1908,2533,2303,1600,1459,1496,1742,2070,2090,1992,1948,2078,2010,1581,1462,1864,2377,2090,2245,1747,1848,1636,1408,1368,1512,1500,1325,1576,1997,1778,1448,1284,1476,1592,1397,1267,1308,1456,1470,1576,1676,1634,1499,1636,2008,1618,1643,1859,1620,1564,1593,1701,1608,1767,1976,1955,2372,3541,4151,3981,3789,3531,3354,3567,3968,4058,3994,3803,3614,3536,3386,3322,3641,3474,2625,2634,2373,2034,2206,1939,1678,1552,1562,1841,1959,1867,1742,1698,1982,1614,1462,1411,1830,1702,1533,1571,1653,1852,1824,1763,1525,1301,1405,1503,1405,1246,1302,1387,1423,1451,1605,1619,1345,986,1433,1432,1131,1106,1070,1243,1599,1672,1824,1875,1836,1769,1720,1671,1616,1643,1571,1483,1435,1930,2090,1929,2002,2002,1929,1876,1544,1200,1412,1295,1742,1797,1254,1482,1714,1705,1764,1555,1119,1261,1582,1716,1441,1398,1481,1760,1788,1782,1680,1486,1415,1417,1517,1625,1732,1673,1503,1562,1656,1820,2013,2003,1845,1815,1333,891,1554,2140,1742,1074,1199,1431,1150,1343,1482,1312,1622,2066,2151,1889,1536,1314,1523,1563,1501,1523,1252,1327,1350,1473,1468,1634,2283,1723,1249,1425,1621,1724,1557,1628,1609,1933,1961,1630,1442,1332,1261,1153,1111,1179,1366,1402,1373,1404,1433,1326,1284,1468,1463,1421,1298,1254,1302,1455,1357,1091,1097,1115,1229,1338,1527,1590,1648,1509,1719,1849,1445,1454,1354,1089,1242,1288,1390,1585,1509,1580,1621,1495,1610,1718,2375,3021,2990,3007,3075,2755,2463,2368,2354,2156,2126,2200,2202,2203,2247,2263,2292,2288,2239,2223,2240,2277,2253,2341,2419,2627,2603,2430,2290,2200,2065,2292,2888,3177,3463,3576,3011,2814,3078,3163,3152,2699,2683,2850,2693,2112,2042,2330,2684,2973,3125,2257,2348,2620,2158,1884,2019,2588,2972,2646,2634,2911,3000,3023,2956,2785,2889,3239,3507,2717,2120,2745,3362,3462,3175,2976,3444,3805,3005,1952,1618,2319,2889,2911,2542,2499,2292,2178,2508,2685,2113,1230,910,1007,1156,1089,1462,1857,1736,1615,2407,3711,3319,1602,951,1126,1350,1611,1619,1630,1821,1854,1802,1931,1848,1323,1264,1484,1676,1550,1455,1550,1500,1295,1130,1091,1394,2227,2376,1694,1475,1805,2222,2317,1672,1131,1310,1553,1647,1644,1672,1748,1735,1716,1667,1657,1592,1465,1554,1780,1933,1644,1327,1173,997,1440,1664,1578,1501,1502,1157,1019,1407,2134,1849,1896,2041,1832,1690,1533,1515,1567,1956,2294,2151,1900,1839,1793,1322,1134,1281,1697,1907,1758,1687,2004,1773,1313,1764,1855,1838,1787,1837,1734,1622,1538,1792,1931,2008,2039,1973,1950,2010,2268,2219,1825,1572,2421,2896,2503,2122,1719,1569,1538,1658,1961,1587,1511,1599,2060,2438,2445,2978,3141,2276,2101,2413,1959,1873,1875,1977,2135,2416,2527,2077,1920,1893,1829,1869,1877,2051,1748,1675,1705,2124,1878,1597,1648,1816,1603,1678,2238,2436,1909,1936,2821,2797,1722,1562,1397,1540,1687,1838,1906,1762,1729,1722,1604,1495,2082,3039,2612,2172,1825,1892,1998,1807,1620,1719,1971,2099,1938,2159,2029,1885,1879,2000,2354,2452,2150,1833,2334,2599,2086,2432,3075,2875,2204,1820,1874,1693,1561,1557,1739,1835,1956,2098,2355,2343,2017,2482,2807,2568,2113,1880,2464,3307,3163,2686,2819,2447,1685,2199,2741,2540,3141,3040,2646,2558,2076,1825,2190,2266,1913,2241,2457,2607,2585,2370,1709,1581,1868,1836,1737,1881,1691,1951,2604,2483,2789,2766,2248,2756,2758,2396,2375,1672,1230,1454,1912,2207,2084,1853,2092,2182,1913,2045,2190,2317,2288,1785,2028,1974,2063,2695,2413,2010,1976,1828,1820,1689,1982,2302,2496,2383,2156,2249,2799,2464,1781,1628,1515,1595,1827,2042,2050,2184,2293,2370,2305,2433,2722,2568,2247,2244,2160,2135,2648,2809,2139,1786,1803,1252,1258,1635,1795,1727,1768,1788,1616,1637,1717,1781,1926,1987,2140,2193,2248,1906,1564,1886,2110,1843,1816,1855,1713,1771,2220,2087,1926,1686,2038,2189,2001,1741,1629,1716,1815,1891,1806,1736,1577,1567,1584,1612,1942,1942,2364,2189,1705,1540,1689,1734,1738,2068,2525,2076,1985,1789,1666,1747,1800,1999,2146,2388,2278,2374,3397,3348,2797,3055,2989,3230,2983,2147,2171,2501,2884,3219,3120,2929,2944,3032,2425,2005,2192,1772,1686,1631,1857,2089,1936,1642,1669,1779,2061,2075,1781,1639,1644,1826,1934,1835,2020,1997,1760,1596,1790,2007,1776,1740,2277,2470,2281,1685,1699,1686,1520,1877,2447,2514,2206,2206,2282,1843,1740,1904,2398,2177,2666,2802,2531,2257,1953,1818,1759,1850,2226,2204,1821,1718,1897,2189,2153,2144,1862,1788,2042,2309,2321],[2118,2336,2222,1847,1583,1620,1923,2289,2972,3618,3818,3631,3523,3473,3143,3478,3432,3241,3038,2610,2116,1623,1921,2696,3381,3574,3653,3369,3077,2894,2955,3086,2843,2390,2111,2010,1918,1818,1499,1714,1780,1657,1628,1462,2302,3086,3666,3085,1562,1143,1592,1991,2167,1884,1736,1704,1750,1549,1618,1709,2756,2974,1758,1493,1486,1638,2107,2388,2534,1810,2147,2380,1981,1471,2208,2557,2036,1909,2397,3298,2990,1962,1609,1581,1596,1729,1814,1862,2045,2070,2041,2065,2165,2046,1824,1529,1928,1788,1598,1660,2093,2714,2690,1948,1841,1875,1976,2950,2736,2368,2906,2631,2591,2885,2957,2557,1622,2033,2514,2013,2252,2181,1654,1465,2126,3073,3352,3397,2963,2451,2946,3068,2633,2312,2317,2542,3084,3275,2812,2564,2099,2551,3012,3283,3245,3346,3450,3669,3906,3326,2400,2371,3044,2819,2078,1672,1533,1316,1427,1787,2037,2416,2321,1980,1965,1951,2385,2592,1728,1606,1908,2205,2110,2269,2885,3253,3098,2984,2758,2313,2108,2197,2298,2553,3125,2329,2626,3097,2785,2247,2103,2668,2396,2136,2438,1954,2045,2837,2767,3143,3742,4121,3672,3075,3982,4006,2656,2002,1716,1601,1832,2411,2642,2437,1978,1998,2057,1646,1610,1900,1892,1875,2156,2406,2881,2721,2413,2036,2374,2725,2632,2773,2767,3278,4036,3074,2408,2966,2909,2568,2072,2723,2608,2135,1939,1780,1559,2187,2395,1801,1844,1704,1962,2495,2909,3064,3190,3122,3199,3362,3544,3553,3475,3606,3725,3814,3765,3814,3142,2533,2721,3262,2900,3209,3108,2756,2692,2821,2696,2168,1929,2213,2382,2308,1696,1503,1587,2165,2160,1896,2360,2671,2162,1779,1734,2190,1764,1641,1976,2376,2534,2419,1771,1417,1676,2047,1796,1836,1833,2166,1728,1809,2084,1716,2126,2662,2671,2807,2635,2474,2548,2525,2279,2488,2489,2169,2136,1866,1642,1755,1614,1641,2005,2490,2640,1876,1470,1534,1598,1505,1437,1553,1798,1635,1978,2339,1923,1815,2022,1982,1419,1432,1594,1531,1406,1437,1420,1305,1266,1331,1453,1453,1589,1664,1692,1722,1472,1520,1556,1617,1434,1219,1360,1467,2042,2425,1970,1754,1579,1364,1230,1377,1574,1412,1576,2066,2066,1943,1588,1315,1288,1312,1707,1875,1798,1736,1831,1789,2086,1831,1650,1710,1632,1601,1513,1737,2042,1970,1830,1744,1604,1449,1317,1578,1675,1582,1833,2261,2079,1926,1910,1694,2460,2832,1835,1606,1752,1765,1556,1488,1781,2031,1626,1659,1598,1476,1136,1627,2164,2592,1912,1490,1565,1590,1578,1622,1654,1676,1612,1648,1528,1293,1565,1902,2154,1954,1592,1454,1474,1443,1416,1555,1613,1482,1569,1869,1748,2149,2496,2812,3031,3450,3802,3525,3761,4400,3876,2899,1700,1697,1510,1734,1805,1756,1636,1494,1394,1456,1748,1847,1792,1679,1484,1663,2105,1725,1875,2069,2264,2690,2988,2193,1691,1499,1593,1656,2312,2226,1952,1569,1427,1322,1849,2370,2001,1500,1396,1640,1726,1865,1930,1953,1870,1891,2497,2423,1688,1364,1383,1450,1512,1398,1509,1685,1464,1387,1494,1412,1408,1482,1472,1572,1604,1543,1544,1422,1339,1214,1289,1364,1478,1410,1342,1404,1284,1170,1317,1343,1231,1291,1242,1179,1261,1394,1775,2357,1874,1893,1731,1443,1561,1727,1897,2006,1872,1489,1377,1397,1412,1604,1712,1554,1482,1466,1495,1382,1350,1273,1333,1380,1276,1236,1539,1266,1122,1268,1490,1947,2126,1881,1708,1836,1658,2255,1968,941,1410,1660,1751,2325,2532,2022,1568,1334,1297,1231,1106,1253,1450,1418,1345,1419,1382,1262,1350,1414,1216,1403,1645,1583,1592,1452,1501,1537,1517,1944,1468,1246,1438,1717,1483,1376,1472,1484,1631,1832,1700,1594,1261,1027,1394,1692,1582,1313,1212,1248,989,1095,1429,1255,1227,1495,1722,2069,1347,1055,1456,1614,1462,1109,1212,1562,1797,1566,1409,1812,1868,1752,2100,2345,2445,2231,1657,1403,1490,1698,1593,1483,1567,1507,1469,1361,1336,1315,1309,1255,2183,2756,2159,1740,1449,1427,1391,1361,1368,1761,2958,2778,2011,1181,1282,1891,1785,1748,2011,2025,2138,2066,1772,1465,837,1236,1560,1724,1902,2829,3197,3151,3141,2596,2390,3042,3033,2595,2390,2406,1982,1756,1611,1674,1722,1741,1858,2011,2086,1709,1938,2262,2062,1660,1470,1553,1492,1384,1362,1438,1397,1437,1539,1509,1572,1918,2036,3154,3530,3758,3755,3691,3784,3750,3293,3039,3030,3515,3687,3648,3523,3771,3002,2612,2824,3011,3108,2845,2994,2826,2623,2120,2078,2116,2329,2177,1833,2213,2124,1925,2009,2323,2588,2667,2653,2704,3018,2972,2736,2140,2060,1981,2495,3093,3252,2060,1425,2088,2151,2007,2181,2022,3043,2245,2762,2840,2786,2780,2513,2641,2532,2225,1919,1857,1934,1774,2018,2425,3200,2864,1913,1787,1895,2516,2205,1852,2514,2351,2867,3215,2376,2341,2291,1832,1897,1571,1525,2089,2480,2321,2396,2408,2116,2244,2039,2451,2128,1925,2168,2054,2332,2536,2149,1858,1429,759,928,1416,1590,1597,1691,1699,2150,2406,2116,1687,1614,1794,1910,1862,1888,2436,2822,2729,1991,1672,1726,1748,1705,1665,1942,2002,1902,2306,1641,1472,1679,1879,2286,2364,2202,2100,1810,1514,1328,1426,1434,1333,1385,1577,1557,1672,1543,1655,1716,1524,1341,1365,1388,1365,1338,1463,1392,1221,1556,1913,1381,1664,1787,1523,1455,1616,1504,1315,1362,1874,2055,2152,3161,4139,3980,3750,3639,3576,3673,3817,3982,4086,3980,3729,3482,3376,3361,3510,3310,2424,2323,1908,1484,1588,1704,1614,1482,1537,1786,1766,1517,1428,1482,1774,1542,1349,1412,1554,1453,1690,2038,2030,2392,2540,1908,1834,1560,1703,1896,1761,1358,1207,1308,1327,1230,1292,1370,1565,1816,1659,1497,1136,1371,1381,1709,1736,1450,1516,1624,1693,1732,1748,1650,1409,1508,1517,1412,1461,1948,1888,1576,1735,2055,1952,1432,1358,1575,2396,1964,1499,1498,1331,1227,1550,1810,1882,1541,1184,1541,1736,1524,1305,1354,1334,1454,1590,2013,1888,1472,1437,1514,1524,1666,1749,1715,1518,1592,1692,1898,2166,2084,1840,1738,1241,811,1401,1898,1727,1712,1753,2177,2677,2123,1531,1428,1562,1796,1887,1829,1549,1533,1666,1518,1394,1179,1138,1108,1164,1335,1580,2501,2604,1581,1170,1372,1662,1399,1346,1359,1467,1709,1627,1553,1516,1404,1200,1084,1160,1413,1475,1303,1417,1432,1384,1262,1309,1324,1325,1371,1245,1209,1434,1548,1272,1135,1224,1200,1371,1522,1519,1592,1616,1461,1569,1462,1431,1745,1487,1317,1416,1498,1547,1561,1439,1707,1415,971,1423,1695,1936,2810,2928,2710,2739,2646,2504,2409,2326,2305,2285,2294,2335,2344,2313,2328,2325,2357,2336,2281,2232,2207,2320,2481,2531,2498,2542,2385,2193,2257,2287,2530,2510,2903,2978,3059,2672,2681,2742,2820,2503,2677,3450,3610,3374,2656,2610,2614,2896,3072,3099,2905,3112,3002,2390,2051,2249,2886,3022,2978,2586,2489,2895,2767,2897,2558,2377,2924,3647,3331,2508,2670,3255,3293,3085,3068,3726,4135,2406,1527,1995,2562,2901,2419,2154,2615,2162,2067,2326,2873,2070,976,945,1483,1691,1459,1863,1999,1789,1605,1609,2699,3149,1638,1046,1017,1191,1550,1615,1713,1819,1886,2030,2186,1786,1333,1271,1801,1784,1526,1327,1388,1538,1398,1388,1323,1715,2631,2379,1528,1391,1926,2142,2353,1552,1034,1750,2164,1843,1744,1754,1627,1591,1681,1820,1656,1478,1490,1489,1448,1789,1782,1349,1051,1230,1958,2083,1749,1494,1608,1408,1259,1611,1794,1685,1698,1542,1294,1439,1366,1720,1712,1953,2514,2203,1921,2058,1926,1717,1530,1311,1569,1632,1578,1692,1965,1614,1506,2394,2599,2110,1646,1486,1454,1221,1252,1673,1615,1793,1780,1653,1786,1826,1812,1920,1899,1842,2158,2562,2487,2111,1636,1865,2512,2324,1715,1568,1657,1816,2064,2173,2356,2665,2402,1858,2144,2205,2036,1761,1589,1731,1784,2246,2243,1899,2112,2103,1770,1820,1782,2077,2111,1923,2088,2656,2463,2307,1975,1823,1672,1642,2020,2337,2140,2391,2924,2319,1752,1870,1936,1551,1470,1830,2069,1756,1961,2101,2090,1459,2043,3055,2446,1774,1535,1891,2302,1853,1772,2201,2026,2052,2182,2588,2431,2381,1876,2034,2599,2729,2367,2176,2538,2207,1801,2131,2770,2238,2158,2286,2230,1873,1563,1845,2297,2356,2406,3029,3598,2895,1750,2519,2598,2051,2142,2533,2767,3384,3659,3295,2753,2108,2130,2938,3418,3117,3302,3022,2501,2143,2089,2053,2193,2228,1945,2088,2106,2458,2399,1931,1618,1604,1806,2025,1786,1885,2209,2352,2423,1968,2194,2276,1926,2128,2307,2486,3013,2563,1772,1772,2211,2307,2171,1875,1773,1727,1735,2109,2322,2220,1970,1660,1664,1612,1938,2216,1781,1638,1651,1834,1920,1685,1641,2036,2271,2526,2611,2507,2478,2000,1573,1473,1610,1794,1999,2043,1996,1884,2053,2254,2249,2440,2923,2913,2264,1814,1883,2636,2403,1950,1749,1933,1530,1046,1333,1710,1791,1885,2048,1985,1619,1660,1615,1833,2047,2740,2426,2175,2149,1741,1571,1850,1836,1823,2110,1956,1909,1728,2033,1845,1714,1909,2387,2077,1685,1876,2007,1807,1614,1709,1779,1632,1477,1682,1827,1824,2134,2163,2003,1876,1565,1425,1677,1663,1542,1971,2363,1842,1692,1728,1677,1555,1557,1628,1996,2744,2923,2617,3343,3088,3064,3874,3480,3460,3198,2490,2416,2624,2809,2937,2701,2837,2752,2861,1951,2099,2207,1671,1606,1854,2084,2153,1927,1578,1678,1722,1804,1764,1676,1498,1576,2051,2233,1753,1802,2005,1720,1683,1848,1816,1673,1703,2460,2483,2228,1982,2008,1615,1183,1799,2351,2155,1736,1856,1808,1732,1789,1918,2272,2265,2587,2649,2771,2942,2299,1768,1852,2199,2297,2203,1859,1745,1621,1411,2010,2569,1938,1405,1540,1493,1775],[1886,2221,2197,1975,1515,1720,1938,1910,2149,3034,3886,3883,3817,3593,3642,3752,3430,3293,3178,2971,2438,1849,2052,2264,2414,2765,3244,3192,3054,3086,3354,3350,2799,2525,2233,1704,1463,1374,1290,1511,1785,1785,1777,1589,2131,3143,3715,3271,1554,1074,1360,1894,1643,1481,1954,1869,1631,1580,1772,1931,2497,2465,1808,2145,2532,2299,2230,2099,1781,1599,2108,2293,1991,1707,1986,2338,2071,1836,2104,3117,2797,1904,1731,1805,1908,1979,2054,2306,2201,2194,2587,2116,1672,1639,1444,1546,1879,1981,1998,2039,2402,2709,2526,2242,2254,2130,2299,3406,2936,2908,3252,3179,2856,2281,2163,1687,1289,2334,2586,1827,2014,2153,2179,2213,2908,3337,3059,2753,2774,2698,2944,3264,3278,3105,2604,2413,2778,2894,2845,2741,2598,3271,3337,2857,2807,3083,3252,3485,3703,3124,2058,2198,2639,2899,2791,2088,1492,1570,1730,1954,2242,2154,1935,1916,1846,1805,1649,1832,1780,2059,2232,2086,2159,2282,2394,2918,2911,2702,2548,2381,2747,2500,2360,2234,2408,2701,2842,2386,2136,1731,1974,2347,2112,1998,2084,1807,2105,2970,3079,3321,3560,3649,3753,3860,4440,4061,2545,1736,1912,2109,2314,2402,2316,2352,2460,2737,2526,2150,1971,1917,1935,1783,2267,2500,2123,2147,2308,2027,2384,2479,2386,2238,2328,2678,3724,2720,2747,2556,2166,2425,2774,2935,2622,2166,2172,2293,1766,1969,1789,1611,1822,2000,2621,2935,3241,3437,3604,3477,2852,2584,2542,3051,3256,3607,3782,3757,3595,3931,3298,2223,2159,2929,3492,3563,3118,2899,2458,2485,2332,2188,1708,1830,2095,2174,1914,1658,1547,1454,1626,1810,1908,2170,2115,1802,1685,1740,1498,1626,1906,2421,2692,2408,1880,1656,1602,1817,1719,1891,1838,2137,1888,1881,2010,2051,2093,1940,2123,2132,1892,2087,2150,2306,2209,1742,1824,2143,2303,1925,1571,1786,1767,1840,2298,2194,1750,1503,1805,1844,1588,1463,1698,1745,1710,1719,1881,2042,1496,1466,1547,1597,1415,1555,1601,1520,1462,1792,1890,1429,1209,1254,1429,1536,1356,1310,1464,1654,1583,1648,1537,1858,1759,1267,1336,1332,1484,1605,1922,1845,1596,1408,1372,1354,1410,1276,1527,1743,1727,1810,1465,1425,1326,1462,1603,1837,1887,1599,1647,1717,1787,1635,1663,1824,1425,1527,1526,1425,1647,2172,1774,1505,1631,1691,1497,1432,1390,1498,2179,2420,2071,2256,2326,2266,2758,2455,1950,1849,1678,1841,1845,1783,1737,1565,1699,1805,1529,1691,1325,1360,1601,1687,1549,1527,1575,1516,1459,1459,1421,1516,1388,1411,1748,1573,1698,1964,2065,1849,1398,1396,1643,1371,1454,1675,1645,1353,1720,2172,1639,2136,2922,3141,3581,3909,3921,3973,4092,3749,3397,2797,2420,2212,1678,1608,1606,1663,1637,1578,1497,1418,1534,1858,1836,1497,1410,2005,2449,1853,1917,2092,1778,2453,3044,2198,1915,1603,1804,1882,2053,2053,1797,1587,1456,1611,2397,2876,1841,1477,1312,1611,1831,1986,2134,1825,1585,1665,1764,1653,1532,1375,1380,1399,1537,1546,1780,2006,2030,1763,1466,1396,1512,1589,1594,1572,1461,1427,1533,1458,1411,1206,1327,1427,1387,1381,1362,1314,1261,1213,1200,1238,1254,1274,1316,1192,1184,1368,1448,1483,1577,1686,1648,1467,1652,1903,1930,1725,1775,1760,1478,1250,1382,1650,1516,1453,1362,1454,1675,1403,1358,1382,1652,1675,1682,2106,1723,1316,1350,1536,1889,2167,2123,1844,1726,1807,1832,2164,2060,1037,1332,1598,1996,2422,2155,1619,1562,1651,1343,1149,1296,1316,1340,1255,1530,1790,1646,1351,1296,1277,1142,1427,1550,1282,1500,1409,1484,2145,2512,1969,1414,1390,1656,1816,1531,1375,1350,1240,1469,1710,1544,1469,1435,1411,1723,1802,1678,1637,1608,1438,1230,1314,1730,1711,1498,1635,1476,1410,1317,1165,1262,1353,1255,1137,1480,1608,1528,1492,1810,1560,1526,1349,1549,2169,2430,2166,1812,1695,1454,1637,1719,1788,1551,1607,1394,1262,1258,1350,1368,1489,1697,1671,2129,2213,1392,1344,1400,1335,1357,1560,2151,2401,1784,1093,2016,2745,2276,1834,2115,1937,1891,2187,2321,2150,1447,1692,1881,1703,2253,3121,2875,2974,3161,3132,2941,3017,2977,2382,2016,2163,2456,2109,1439,1305,1494,1580,1599,1955,2227,1622,1738,1883,1962,1801,1584,1464,1525,1509,1401,1453,1457,1502,1509,1489,1621,1873,2494,3445,3668,3642,3616,3630,3686,3795,3797,3751,3558,3113,3138,3549,3704,3483,2523,2459,2300,2298,2570,2663,3022,2490,2194,2399,1885,1799,2026,1908,1933,2222,1925,1626,1852,1963,2635,3862,3883,3248,3281,3616,2973,2264,2895,2939,2432,2470,2339,1586,2245,2785,2936,2504,2010,2114,2294,2311,3090,2777,2210,2179,2208,2313,2231,2247,2404,2108,1866,1745,1953,2104,2876,2836,2120,2042,2261,2308,1987,1649,2690,3188,3282,3282,2928,2886,2452,1953,1982,1888,1922,2331,2482,2453,2384,2089,1999,2114,2125,2101,2153,2191,2324,2590,2854,2790,2323,1792,1435,902,1476,1601,1588,1626,1718,1605,1795,2276,2254,1845,1806,1797,1816,1731,2055,2204,2156,2471,1941,1588,1536,1462,1546,1512,1574,1809,1783,2265,1898,1689,1484,1558,2090,2159,2194,1905,1643,1499,1370,1422,1330,1330,1361,1499,1551,1740,1704,1468,1566,1585,1376,1273,1444,1577,1376,1378,1267,1259,1571,1488,1333,1331,1500,1484,1445,1443,1252,1151,1242,2063,2067,2001,2968,3964,3983,3684,3667,3652,3548,3537,3796,4034,3836,3607,3407,3262,3032,3217,3160,2753,2452,1935,1594,1599,1644,1613,1902,2067,1676,1452,1531,1464,1476,1496,1409,1309,1416,1545,1524,2000,2122,2240,3317,2978,1728,1490,1517,1813,1859,1742,1749,1620,1562,1383,1295,1148,1283,1324,1470,1584,1748,1672,1458,1518,1903,1576,1239,1220,1109,1172,1540,1793,1727,1556,1643,1583,1482,1547,1616,1609,1775,1830,1990,1830,1315,1852,1725,2513,2745,1910,1598,1632,1521,1521,1692,1749,1269,1193,1516,1784,1430,1202,1323,1248,1303,1686,2065,2031,1788,1999,2090,1678,1620,1648,1560,1442,1535,1697,1971,2263,2161,1785,1637,1264,912,1510,1542,1561,1786,1782,1849,2101,2101,2012,1860,1857,1518,2035,2318,1710,1633,1526,1442,1252,1132,1300,1288,1223,1304,1603,1816,1633,1433,1203,1399,1572,1249,1342,1328,1321,1321,1472,1609,1648,1326,1178,1177,1360,1602,1470,1701,1925,1620,1542,1485,1336,1233,1284,1377,1400,1459,1534,1422,1298,1255,1401,1580,1775,1758,1776,1704,1383,1097,1174,1258,1615,1865,1663,1366,1299,1324,1416,1314,1424,1893,1576,1267,1591,1813,1882,2696,2614,2614,2609,2523,2592,2568,2447,2388,2436,2543,2508,2488,2309,2283,2330,2461,2413,2302,2140,2465,2886,2798,2489,2491,2928,2834,2785,2843,2867,3064,3069,2850,2866,3157,3200,2294,1708,2358,2589,3374,3365,2968,2110,1830,2225,2907,3102,3004,3130,3062,2881,2713,2628,2668,2585,2957,3120,3045,3008,3000,3077,2977,2890,2501,2664,3008,2883,3172,2673,2490,3010,3033,3050,3062,3322,3438,2343,1987,2577,3060,3498,3164,2807,2975,2314,1983,2340,2801,2066,1401,1356,1781,1761,1523,1999,1870,1531,1565,1946,1800,1734,1504,1478,1451,1429,1561,1844,1818,1645,2114,2571,2343,1708,1452,1298,1556,1563,1401,1333,1419,1532,1449,1668,1535,1525,2167,1851,1519,1412,1692,2028,2263,1536,1279,1986,2268,1937,1786,1709,1622,1779,1830,1796,1613,1493,1472,1489,1550,1643,1727,1328,1152,1803,2752,2222,1737,1514,1617,1520,1313,1501,1750,1876,1996,1922,1363,1360,1410,1676,1576,1741,1988,2001,2022,1947,1896,1854,1558,1522,1549,1495,1553,1704,1765,1446,1410,1582,1963,2106,1753,1569,1501,1329,1522,1815,1643,1748,1749,1646,2041,1841,1506,1594,1526,1591,1621,1770,1879,1891,1988,2263,2944,2562,1815,1763,1834,1968,2027,1819,1773,1843,1691,2279,2762,2346,2140,1925,2005,1902,1683,1945,2123,2157,2139,2020,1854,1988,1743,1913,2548,2153,2225,2473,2282,2079,1645,1726,1412,1365,1570,1921,1861,2302,2597,2231,1781,2156,2158,1558,1534,1782,1993,1699,1637,1651,1914,1825,2370,2557,1878,1559,1544,1838,2013,1810,1932,1796,1886,1969,2782,3046,2689,2241,1747,1796,1955,2041,2040,2235,2413,1901,2292,2149,2099,1853,2285,2682,2405,1987,1760,1908,2446,2858,2602,3360,3831,2564,1810,2019,2013,2066,2499,2713,2684,3523,3991,4061,3436,2885,2790,3140,2728,2741,3236,2972,2266,1513,1749,1932,2039,1994,2158,1892,1669,2137,1952,1820,1874,1659,1811,2244,2030,1630,1998,2255,2326,1680,1794,1607,1582,1998,2114,2432,2774,2324,1804,1793,1902,2038,1959,1729,1642,1953,1879,2366,2815,2864,2337,1824,1732,1542,1729,1983,1522,1766,1731,1901,1776,1605,1594,1692,1966,2370,2264,2208,2231,1860,1626,1581,1755,1715,1724,1665,1664,1610,1786,2071,2149,2359,2654,2311,1934,1812,2003,2131,1995,1909,2156,2530,2350,1901,1664,1709,1769,2072,2136,2114,1941,1834,1908,1841,1714,2045,1869,2052,2075,1643,1503,1592,1598,2065,2278,2094,1787,1648,1704,1634,1603,2118,2415,1955,1990,2079,2091,1747,1490,1443,1716,1680,1527,1599,1625,1705,2165,2379,2434,2493,2022,1578,1583,1703,1838,2039,1931,1666,1888,1884,1550,1449,1600,1656,2124,2777,3342,3751,3937,3559,3470,3733,3266,3121,3146,2837,2647,2860,2722,2723,2707,2736,2569,2382,1843,1755,1704,1576,1651,2197,2718,2172,1657,1581,1784,1823,1676,1741,1751,1658,1776,2091,1879,1389,1597,1986,1730,1796,1811,1799,1693,1812,2510,2248,2033,2370,2279,2182,1993,2178,2301,1984,1527,1537,1717,1875,2155,2220,2321,2245,2117,2344,2933,3276,2800,1943,2122,2186,2307,2393,1985,1799,1738,1452,1903,2503,1961,1701,1921,1661,1753],[2186,2610,2202,1916,1638,1866,1710,1795,1554,2196,3252,3703,3918,3938,3848,3767,3569,3485,3980,4183,3218,2553,2204,2000,1909,1945,2201,2519,2755,3045,3469,3657,2998,2621,2319,2148,2118,1781,1555,1594,1713,1731,1579,1503,2155,3248,3558,2742,1804,1411,1596,2214,2033,1527,1509,1789,1582,1534,1700,1842,2219,2432,2206,2372,2825,2534,2644,1980,1310,1742,2464,2545,2282,2316,2632,2780,2424,2696,2819,2780,2318,1757,1693,1885,1885,1692,2014,2387,1920,2106,2621,1847,1323,1435,1610,2059,2332,2253,2095,1847,1910,2119,2412,2496,2663,2585,2918,3670,3650,3680,3686,3551,2654,1781,1807,1529,1698,2260,2070,1570,1978,2186,2265,2535,3357,3227,2177,2140,2797,2799,2890,3096,3163,2874,2502,2708,2688,2564,2430,2521,3000,3165,2663,2575,3062,3196,3181,3033,2544,2311,2109,2675,3198,3042,2652,2088,1744,1671,1686,1979,2050,1849,1796,2142,2325,2053,1634,1632,1904,2198,2165,1966,2144,2208,1852,2406,2809,2451,2395,2502,3150,2788,2126,1892,2264,2879,2646,2263,2584,1767,1567,1568,1771,1908,1926,1751,2064,2608,2712,2823,2578,2114,2294,2931,3298,3292,2813,2385,2402,2084,2054,2198,2233,2222,2718,2570,2042,2111,2043,1747,1799,1949,2315,2253,2325,2855,2505,2048,2339,2065,2166,2070,2598,2712,3296,2665,2696,2062,2526,3254,2809,2521,2646,2524,2735,2338,1887,2284,2177,1897,1866,2212,2648,2652,2810,2910,3016,2917,2307,2194,2342,3021,2646,2800,3818,4099,3694,3301,2710,2078,1826,2136,2906,3250,3088,3210,2492,2136,1580,1936,1503,1536,1980,2142,1972,1452,1333,1335,1740,1840,1852,1838,1749,1625,1615,1763,2198,1963,1898,2302,2481,2587,2471,2223,2163,2051,2215,1955,1882,2042,1888,1918,1949,1814,1770,1810,1951,1785,1902,2428,2131,1834,1946,1665,1650,1840,2172,1897,1804,1999,2078,1959,1594,1733,1724,1804,1994,2081,2026,1779,1854,1791,1496,1691,1592,1697,1512,1475,1538,1490,1403,1462,1452,1327,1470,2053,2294,1535,1399,1497,2066,2518,1791,1496,1419,1533,1606,1561,1460,1526,1472,1512,1400,1377,1288,1514,1847,1616,1508,1431,1397,1340,1336,1298,1169,1144,1427,1680,1594,1525,1527,1802,1862,2646,2744,1727,1383,1530,1479,1661,1966,1943,1766,1686,1538,1443,1485,1543,1560,1762,1930,2033,1904,1453,1407,1577,2376,2735,2166,2656,2725,2643,2669,2064,2174,2374,2472,2920,2578,1741,1547,1405,1487,1592,1534,1585,1528,1361,1604,1913,1468,1543,1784,1500,1510,1647,1483,1512,1456,1463,2010,2205,2186,1985,1701,1656,1522,1561,1549,1362,1394,1557,1399,1322,1794,1714,1414,1838,2416,2749,3462,3786,3494,4016,3794,3077,3211,2917,2915,2590,2016,1783,1682,1628,1738,1462,1216,1289,1468,1772,1804,1481,1434,2075,2386,2397,2619,2142,1793,1960,1793,2070,1942,1649,2176,2793,2742,2176,1848,1815,1903,2097,2386,2525,1744,1519,1776,1895,1616,2178,2273,1772,1782,1851,1417,1371,1418,1417,1399,1383,1485,1504,1748,1948,2066,1758,1376,1400,1467,1403,1532,1403,1414,1455,1478,1404,1280,1421,1624,1574,1440,1428,1494,1466,1250,1296,1248,1170,1239,1372,1472,1376,1267,1631,1838,1625,1669,1652,1670,1393,1766,2044,1849,1371,1863,1888,1445,1148,1413,1579,1398,1466,1363,1444,1470,1506,1615,1435,1639,1637,1551,1339,1293,1492,1822,2088,2031,1854,2018,1926,1726,1826,1930,2074,2201,1295,1286,1580,2078,2398,2134,1579,1560,2046,1822,1142,1292,1298,1202,1208,1404,1751,2076,1609,1017,1132,1194,1338,1405,1387,1610,1623,1704,2102,2109,1523,1355,1382,1634,1881,1738,1571,1556,1559,1692,1702,1752,1729,1699,1792,1855,1791,1788,1896,1960,1709,1633,1728,1800,1899,1906,1844,1548,1546,1360,1185,1291,1410,1367,1173,1678,1752,1824,1937,2721,1831,1230,1134,1339,1648,1962,1962,1896,2007,1445,1984,2598,2015,1316,1358,1218,1267,1406,1560,1509,1642,1704,1483,1602,1553,1302,1344,1325,1365,1362,1495,1541,1896,1722,1649,2479,2686,1952,1845,1895,1692,1884,1965,2170,2274,1872,1870,2172,2242,2492,3132,3100,3016,2986,3239,3353,3269,2988,2272,1846,1859,1761,1619,1472,1604,1889,1702,1422,2195,2194,1756,1794,1775,1726,1725,1684,1634,1738,1780,1788,1633,1848,1937,1706,1579,1749,2031,2849,3701,4004,3802,3724,3687,3589,3795,3782,3926,3952,3795,3605,3215,3383,2978,2709,2862,2374,2464,2783,2830,2669,2481,2151,2325,2013,1931,1938,1886,1981,2155,2067,2036,1897,2060,2599,3350,3072,2844,2866,3441,2912,2551,3240,3460,2776,2125,1949,2030,2916,2840,2977,2624,2044,2382,2211,2284,3102,2985,2404,2818,2711,2304,2614,2171,2192,1985,2522,2302,1766,1561,1739,2043,2100,1651,1311,1631,2252,2378,3084,3232,3023,2810,2620,2447,2363,2496,2432,2182,2284,2156,2206,2352,2303,1877,1820,2023,1881,1756,2190,2194,1997,2308,2309,2307,1983,1549,1479,1184,1422,1600,1599,1748,1830,1600,1572,2100,2268,1910,2040,2082,1818,1977,1940,1961,1818,1620,1648,1600,1516,1668,1730,1657,1403,1825,1764,2324,2328,2100,1741,2017,2470,2329,1875,1530,1517,1703,1571,1607,1410,1413,1400,1408,1387,1497,1410,1319,1529,1770,1548,1371,1538,1611,1473,1289,1294,1283,1305,1189,1151,1311,1600,1548,1374,1277,1310,1266,1294,1655,1860,1885,2778,3654,3651,3399,3396,3436,3642,3767,3848,3984,3917,3853,3670,3275,2917,2974,3054,2932,2610,2000,1810,1758,1753,1587,1764,2070,1683,1567,1721,1379,1334,1585,1578,1495,1556,1584,1782,2066,2143,2001,3034,2419,1620,1283,1158,1449,1593,1687,1699,1691,1728,1554,1302,1351,1448,1518,1576,1576,1726,1922,1713,1802,1866,1444,1240,1172,896,1004,1730,1857,1606,1691,1677,1695,1772,1829,1852,2022,2062,2112,1831,1742,1730,2095,1822,2002,2206,1874,1612,1520,1412,1280,1387,1620,1129,1279,1364,1619,1555,1401,1432,1165,1124,1446,1711,1874,1826,1907,1824,1672,1677,1659,1569,1533,1561,1800,2089,2287,1954,1634,1918,1515,979,1590,1599,1561,1711,1786,1776,1605,1508,1572,1542,1672,1562,1897,2476,1781,1532,1510,1395,1231,1166,1260,1291,1194,1232,1490,1382,1375,1334,1316,1438,1278,1404,1389,1400,1476,1312,1327,1518,1573,1664,1618,1437,1290,1317,1465,1654,1722,1474,1310,1382,1375,1401,1462,1502,1465,1548,1414,1493,1449,1453,1796,2002,1679,1674,1761,1682,1482,1150,1137,1563,2560,3160,2173,1316,1183,1262,1282,1210,1541,1770,1596,1808,2045,1932,1836,2337,2303,2292,2218,2354,2647,2612,2408,2415,2584,2702,2569,2580,2469,2380,2403,2525,2533,2492,2466,2854,3156,2736,2491,2720,2939,3042,3222,3104,2954,3243,3374,3024,2902,3334,3647,2490,1953,2939,3015,3081,2529,1836,1440,1742,2143,3140,3476,3268,3443,3174,2880,2956,2749,2632,2600,3186,3133,2669,2877,3052,2937,3260,3095,2848,3383,3385,2563,2987,2695,2574,2929,3184,3100,3106,2931,2328,2069,2437,3051,3450,3786,3356,2641,2642,2230,1643,2187,2336,1843,1666,1519,1621,1486,1472,1665,1694,1560,1700,1678,1526,1551,1668,1591,1590,1487,1761,1985,1864,1745,2467,2222,1582,1525,1442,1337,1676,1719,1378,1403,1440,1625,1432,1404,1322,1439,1620,1750,1642,1428,1551,2110,2220,1690,1732,1909,1853,1615,1638,1615,1808,2084,1792,1509,1546,1440,1473,1730,1639,1504,1820,1626,1248,1808,2474,1843,1629,1443,1466,1613,1454,1428,1390,1421,1537,1605,1396,1467,1630,1588,1492,1509,1508,1704,1875,1868,2006,2077,1797,1815,1798,1661,1864,1855,1719,1561,1488,1460,1448,1500,1548,1508,1400,1253,1622,2088,1665,1813,2094,1810,1865,1902,1622,1466,1316,1414,1502,1592,1604,1618,1729,1929,2159,2061,1962,1959,1945,2078,2189,2128,2175,2131,2298,2494,2298,2172,2332,2185,1688,1632,1628,1811,1744,1794,2045,2032,1860,2050,2082,2047,2007,1880,2271,2295,2020,1878,1732,1784,1536,1533,2174,2481,1921,1968,2125,1830,1958,2277,1958,1889,2034,1825,1926,1841,1691,1491,1689,1980,1997,1778,1824,1955,1887,2063,2065,1967,1852,1637,1780,2360,3326,3249,2770,2414,1949,1813,2026,2335,2120,2049,2084,2236,2306,1998,1830,1812,2018,2113,2301,2495,1942,1988,2106,2012,1863,2066,2314,2007,2151,2066,2424,2796,2897,2845,2182,2213,2921,3506,3829,3566,2758,2644,2558,2776,3190,3182,2667,2222,1728,1291,1557,1799,1760,1920,2010,2080,1806,2043,1930,1577,1554,1698,1893,1599,1826,2166,2204,1836,1805,1400,1712,2244,2078,2156,2292,2149,1990,2180,1908,1831,2009,1743,1880,2420,2092,1860,2586,3198,2383,1686,1971,1976,1964,1854,1897,1968,1859,1792,1829,1767,1588,1547,1930,2059,1826,1991,2084,1824,1858,1734,1865,1669,1798,1964,1659,1499,1798,2021,1960,2128,2340,2289,2032,1819,2150,2049,2110,2100,1999,2083,2648,2474,1835,1659,1880,1927,1770,1833,1807,1765,1986,1948,1930,2050,1801,1798,1593,1669,1778,1926,1776,2315,2358,2154,1842,1768,1701,1670,1684,1761,2057,2025,1887,1909,1714,1507,1507,1433,2144,2302,1824,1697,1785,2083,2564,2944,2993,2740,2114,1654,1434,1600,1814,2037,1780,1503,1565,1567,1403,1421,1716,2283,2907,3095,3316,3615,4011,3946,3530,3171,2898,3028,2852,2630,2256,2734,2829,2651,2762,2448,1922,1678,1630,1688,1818,1669,1748,2065,2578,1897,1738,1618,1757,1785,1604,1603,1867,1960,1969,2170,1936,1526,1528,2011,1829,1890,1770,1957,2217,2078,2252,2079,1888,2008,1995,2587,2677,2899,3104,2834,2199,2010,1926,1866,2242,2677,2636,2306,2692,2642,3029,3305,3341,2394,2102,1759,1871,2287,2098,1836,1748,1547,1693,2130,2124,2069,2078,1917,1832],[3351,3348,2117,1784,2356,2354,1981,1770,1648,2166,2784,2934,3186,3798,3957,3768,3577,3739,4063,4128,3194,2486,2293,2265,1955,1770,1738,1864,2192,3370,3759,3871,2987,2511,2252,2391,2242,1764,1556,1576,1646,1687,1494,1471,1947,2895,2620,2049,1661,1360,1938,2320,2209,1623,1465,1820,1494,1624,1673,1777,2171,1975,2014,2209,2194,2287,2536,2087,1880,2334,2485,2271,2051,2334,2591,2325,2532,2728,2852,3119,2619,2055,2177,2505,2317,1597,1715,2354,1774,2024,1979,1438,1444,1813,1692,1587,1910,2052,1823,1491,1438,1651,2026,2245,2105,2062,2559,3587,3940,3182,2840,2957,2329,1861,1728,1521,1636,2311,2355,2124,2173,2135,2221,2669,2818,2300,1691,2056,2774,2986,2751,2835,2855,2555,2939,2930,2344,2245,2343,2542,2991,3077,3107,3074,3196,3187,2921,2241,2203,2319,2227,2679,3162,2656,2050,2084,2102,1787,1683,1931,1738,2040,1986,1805,2044,2015,1791,1771,1871,1775,1742,1780,2170,2097,1603,1764,2563,2765,2155,1993,2464,2471,2215,2269,2745,2643,2082,1935,2283,1667,1419,1823,2250,2843,2596,1794,2039,2307,1869,2111,2052,1596,1570,2292,2535,3097,3132,2243,1692,1620,1623,1883,1734,1933,2276,1908,1512,1771,2085,1838,1832,2084,1889,1814,2081,2403,2416,2434,2031,1987,2579,2791,3075,2630,3008,3139,2792,2371,2806,3184,2884,2807,2514,2259,2533,2286,2293,2432,2217,2312,2328,2272,2530,2721,2408,2330,2282,2607,2186,2775,3293,3286,2539,2723,3541,4016,3374,2309,2732,2674,1869,1922,3328,3302,3327,3131,2491,2050,1579,1791,1668,1793,2075,2120,2205,1866,1676,1611,1860,1769,1874,1904,1904,1756,1759,1799,1695,1829,1740,1774,2784,3174,2879,2267,1994,1969,2322,2090,1646,1692,2046,2356,1853,1685,1682,1739,1511,1558,1859,2057,1874,1660,1662,1759,1458,1457,2186,2014,1741,1691,1969,2120,1680,1731,2119,2234,2459,2865,2440,1747,1643,1841,1864,1959,1536,1633,1647,1545,1416,1493,1362,1348,1378,1337,1331,1547,1714,1705,1547,1698,2808,2989,2062,1473,1390,1537,1576,1417,1381,1353,1494,1705,1559,1428,1376,1758,2071,1825,1566,1489,1422,1333,1252,1235,1325,1476,1597,1515,1639,1653,1838,1832,2076,2712,2403,1616,1539,1554,1327,1247,1602,1839,1999,1533,1302,1361,1461,1488,1507,1693,1798,1681,1664,1443,1547,1619,2344,2333,2170,2840,3022,2818,2426,2119,2183,2142,2270,2680,2540,1687,1920,1664,1322,1356,1378,1488,1466,1474,2126,2095,1559,1883,2037,1711,1817,1556,1469,1644,1652,1538,1828,2053,1985,2066,2045,1772,1550,1552,1815,1539,1282,1358,1383,1536,1455,1309,1407,1560,2267,3157,3083,3363,3437,3602,3356,3128,3188,2830,2453,2045,1814,1576,1707,1859,2100,1624,1227,1284,1356,1792,2088,1771,1695,2046,2059,2764,2999,2308,1651,1553,1650,2025,1599,1397,2397,3167,3040,2746,2706,2737,2362,1903,1753,1733,1849,1850,2415,2214,1541,1741,1851,1529,1837,2022,1596,1460,1472,1559,1504,1531,1560,1514,1594,1690,1628,1358,1201,1283,1392,1284,1464,1352,1401,1395,1403,1522,1562,1587,2018,2102,1448,1360,1512,1470,1285,1281,1302,1342,1315,1400,1516,1400,1248,1551,1908,1705,1717,1460,1213,1198,1711,1956,1833,1502,1555,1668,1462,1411,1578,1440,886,875,1190,1381,1334,1259,1112,1140,1053,1340,1275,1262,1408,1603,1751,1925,1798,1653,1995,1877,1724,1709,1709,1877,2216,1658,1316,1452,1790,2090,1850,1303,1446,1652,1736,1246,1452,1383,1170,1439,1538,1447,1716,1494,984,1167,1276,1270,1418,1697,1898,1786,1690,1736,1685,1699,1766,1677,1733,1830,1876,1770,1689,1666,1666,1678,1698,1731,1711,1709,1737,1699,1688,1769,1792,1716,1716,1735,1754,1827,1865,1897,1925,1884,1689,1626,1694,1782,1866,1606,1630,1616,1620,2444,2885,1885,1279,1481,1769,1387,1361,1634,1754,1861,1677,2001,2070,1624,1519,1466,1267,1332,1426,1601,1524,1564,1584,1342,1290,1352,1439,1418,1201,1307,1425,1365,1472,1667,1484,1559,1929,1990,1606,1489,1556,1473,1654,1808,1952,1889,1783,1801,1977,2139,2592,3169,3398,3311,3215,3144,3043,3239,3006,2039,1666,1808,1905,2035,1748,1933,2674,2386,1732,2393,2460,2176,2041,1739,1804,1736,1656,1849,1987,1807,1846,1551,2032,1975,1732,1777,1815,2070,2972,3790,4165,4071,4100,4086,3927,3960,3797,3880,3936,3816,3821,3804,3472,3295,3754,3111,2570,2557,2830,2927,2984,2739,2336,2684,2811,2562,2703,2802,2084,1691,2038,2199,1889,2114,2670,2357,2029,1996,2686,3398,2757,2481,2446,2591,2753,2120,1736,1961,2613,2952,3171,2988,2934,2863,2179,2164,2963,2929,3017,3155,2709,2134,2470,2799,2819,2467,2665,2459,2094,2008,1863,2124,2430,2221,2092,2409,2803,2570,2371,2098,2069,2065,1938,1782,2038,2799,2540,2430,2549,2168,2005,2025,2092,2158,2191,2024,1664,1788,1868,1795,1790,2162,2301,2235,1746,1529,1504,1091,1070,1426,2049,2763,2278,1896,1844,2479,2477,2102,2042,2037,1796,1902,1950,2077,1974,1914,1723,1370,1478,1893,1825,1829,2085,2102,1815,2262,2567,2600,2466,2512,2541,2272,1630,1433,1648,1829,1708,1575,1496,1537,1627,1428,1354,1501,1439,1393,1665,1802,1627,1383,1450,1463,1445,1382,1358,1262,1300,1428,1541,1746,1894,1550,1295,1259,1440,1310,1239,1493,1764,1950,2522,3526,4172,3929,3621,3507,3616,3974,4008,4052,4108,3837,3493,3156,2741,2872,3163,3015,2779,1881,1585,1815,1881,1970,1750,1636,1477,1574,1644,1370,1446,1605,1759,2039,1619,1584,1907,2072,2133,1593,1771,1569,1344,1112,982,1134,1140,1082,1390,1636,1659,1642,1673,1726,1774,1769,1663,1576,1555,1587,1533,1431,1550,1573,1376,1157,1099,1354,2009,1834,1401,1367,1286,1605,1929,1876,2018,2153,1918,2062,1952,1771,1744,1737,1637,1549,1425,1358,1210,1120,1095,1084,1408,1693,1156,1264,1384,1528,1788,1877,1673,1229,1153,1333,1430,1606,1744,1634,1487,1547,1747,1749,1801,1765,1579,1955,2227,2143,1726,1695,1803,1454,1175,1582,1953,2169,2247,2223,2155,1947,1871,2077,1482,1344,1795,2040,2002,1537,1310,1410,1460,1291,1115,1081,1050,1064,1123,1313,1336,1329,1304,1477,1459,1309,1482,1395,1708,1915,1516,1453,1537,1518,1530,1593,1495,1433,1523,1512,1380,1381,1356,1421,1585,1491,1462,1314,1215,1240,1466,1454,1396,1283,1364,1774,1848,1691,1862,1666,1606,1678,1277,1049,1594,2373,2337,1710,1188,949,937,1103,1274,1698,1765,1825,2042,2439,2102,1792,2099,2464,2396,2059,2371,2584,2641,2497,2297,2494,2464,2194,2647,2763,2492,2432,2551,2741,2758,2805,3009,3063,2846,3041,2996,3043,3062,3183,3335,3512,3770,3790,3484,3215,3164,3138,2138,2054,2957,2692,2446,1880,1965,2365,2565,2844,3498,3846,3594,3759,3160,2765,2840,2854,2316,2548,3202,2924,2555,2820,3069,2923,2556,2822,3166,3715,3452,2806,2977,3270,3145,3001,3050,2917,2921,2392,1729,1860,2514,2842,3252,3595,2711,1776,2142,2191,2186,2485,2153,1786,1734,1673,1805,1557,1497,1456,1484,1542,1682,1533,1227,1403,1562,1534,1658,1713,1973,2092,1793,1848,1898,1507,1569,1565,1544,1557,1538,1574,1371,1502,1546,1584,1424,1288,1377,1530,1686,1946,1835,1663,1788,2014,2022,1839,1889,1890,1762,1562,1614,1700,1784,1795,1655,1544,1393,1341,1740,1839,1568,1682,1764,1626,1528,1774,1771,1680,1680,1602,1534,1538,1439,1307,1279,1264,1213,1409,1504,1466,1806,2160,1831,1554,1553,1585,1563,1437,1659,1895,2072,2099,2001,1856,1716,1623,1689,1677,1636,1423,1381,1388,1309,1300,1278,1025,1343,1635,1441,1824,1989,1507,1354,1359,1400,1359,1303,1529,1564,1553,1665,1523,1571,1747,1828,1815,1873,1787,1807,1876,1962,2037,2294,2268,2577,2422,1915,1967,2274,2157,1573,1676,1704,1739,1626,1652,1894,1739,1647,1641,1881,2024,1765,1875,2260,2134,1817,2048,1933,1794,1716,1685,2254,2391,1859,1835,2154,2072,2180,2287,1916,1983,1884,1764,1881,1819,1831,1828,1797,1808,1778,1898,1914,1932,2079,1905,2248,2151,2032,2348,1951,2094,2751,2564,2116,2199,2071,1785,1769,2238,2227,2066,1817,1759,2008,2193,1909,1840,2194,1842,2327,2452,2143,1992,1884,1681,1649,2043,2150,2134,2438,2481,2780,2745,2841,2818,2642,2242,2151,2292,3136,3472,2606,2256,2545,2901,2738,2727,2337,2319,1665,1593,1837,2063,2007,1879,2220,2251,1889,1837,1698,1647,1457,1584,2233,2079,2078,1996,1809,1998,2052,1982,2186,2247,2062,2177,1994,2159,2429,2906,2881,2169,1792,1724,1880,2217,2100,1830,2575,3117,1984,1592,1663,2342,2513,2314,2210,1899,1854,1987,2216,1916,1723,1598,1735,1627,1805,1911,2034,1969,1811,1564,1689,1813,2204,2413,2093,2289,2251,2047,2051,2311,2268,2321,2019,1861,2034,2007,1826,1843,1942,1555,1720,2036,1762,2143,2649,2580,2038,1707,1763,1757,1689,1712,1928,2209,1799,1728,1737,1819,1691,1735,1989,2198,2282,2214,1879,1654,1543,1578,1827,1782,2003,1861,1702,1693,1750,1712,1653,1663,2235,2574,2190,2090,2422,2560,2618,2755,2326,1754,1559,1696,1615,1614,1681,1768,1872,1640,1525,1482,1391,1534,1988,2519,2708,2797,2834,2889,3527,3770,3160,2644,2517,2862,2828,2394,2139,2309,2754,2751,2528,2260,1901,1552,1527,1633,1814,1785,1970,1809,2022,1898,1626,1622,1855,1902,1842,1810,1956,2056,2147,2384,2109,1861,1701,1927,1750,2140,2377,2399,2257,1853,2187,2124,1800,1667,1865,2402,2510,2641,2770,2969,2308,1722,1748,1744,1932,2354,1879,1925,2755,2599,2480,2548,2517,2065,1839,1761,1842,2160,2155,1897,1738,1570,2053,2802,2708,2104,2026,2195,1938],[2475,2537,2130,2059,2311,2369,2317,2205,2167,2389,2711,2720,2310,3055,3742,3574,3146,3510,3928,2922,2183,2138,2047,2030,2156,2274,2031,1858,2021,3504,3747,3420,2792,2434,2110,1841,1676,1494,1368,1516,1776,1996,1713,1445,1752,2489,2485,2159,1601,1345,1736,2229,2665,2010,1837,2036,2081,1750,1877,1775,1670,2008,2289,2210,2164,2503,2478,2378,2627,2523,2381,2222,1957,2450,2716,1982,2171,2207,2204,2613,2640,2181,2200,3340,3372,2313,1666,1841,1956,2027,1588,1585,1661,1611,1483,1406,1732,2008,1841,1668,1512,1798,1720,1584,1538,1587,1927,2962,3452,3086,3443,3403,2276,1747,1639,1727,1778,2088,2424,2896,3078,2677,2530,2604,2633,2326,2166,2278,2421,2608,2710,2832,2896,2745,2587,2052,1702,2282,2691,2389,2402,2900,3445,3431,2691,2742,2486,2089,2266,2322,2288,2658,2791,2547,2182,2042,2508,2115,1688,1807,1693,2198,2272,1771,1535,1816,1842,1591,1535,1504,1535,1648,2011,1820,1346,1663,2491,2465,1773,1605,1790,2104,2059,2395,2989,3499,2382,1828,1776,1711,1808,2135,2517,2629,2266,1875,2093,2479,1893,1549,1793,1700,1755,2256,2696,3406,3363,2472,1863,1571,1550,1693,1648,1829,1932,1991,1777,1682,1851,1803,1731,1802,1974,1907,1826,1981,2304,2513,1911,2103,2523,2460,2898,3305,3354,2743,2692,2713,2424,2528,2989,2829,2524,2142,2367,2600,2279,1909,1786,2189,2562,2199,2448,3042,2453,2812,3062,3204,2064,2503,3076,3011,2754,2956,3110,3119,2469,2410,3066,3179,2692,3072,3651,3789,4256,3501,2588,1848,1389,1578,1777,1923,2054,2710,3183,2620,1902,1578,1803,1775,2008,2127,2024,1880,1829,2036,2177,2250,1851,2431,3495,3552,3295,2557,1862,1766,2225,2270,1652,1577,1938,2492,1820,1655,1685,1757,1561,1664,1838,1937,1925,1603,1676,2016,1753,1299,1798,1753,1742,1676,1843,1931,1883,1931,2108,2263,2387,2467,2334,1996,1626,2159,2232,1691,1618,1908,1941,1549,1364,1458,1444,1510,1401,1354,1246,1471,2078,2605,1991,2117,2966,2587,1742,1575,1493,1484,1354,1355,1389,1254,1404,2009,1948,1746,1579,1720,1937,1712,1428,1323,1375,1334,1318,1585,1510,1472,1471,1543,2066,2200,1654,1426,1878,2102,1589,1534,1637,1501,1314,1236,1421,2116,2645,1971,1278,1358,1380,1322,1335,1640,1761,1879,2202,2022,1864,1929,2536,2545,2044,2172,2535,2159,1831,1899,1765,1728,1676,1873,1971,1763,1720,1598,1330,1311,1410,1365,1335,1659,1986,1674,1428,1598,1825,1830,1794,1597,1542,1905,1861,1500,2115,2166,1830,1754,1754,1605,1426,1484,1780,1601,1333,1427,1629,1666,1434,1416,1455,1530,2259,3050,2978,3178,2680,2259,2683,3099,2467,2056,2141,1677,2226,2110,1808,2222,2205,1732,1645,1482,1549,2482,2793,2296,2287,2187,2080,2536,2540,2113,1876,1938,1831,1771,1683,1924,2328,2109,2983,3094,2679,2654,2278,1754,1803,2272,2409,2196,2359,2308,1780,1536,1705,1503,1621,1943,1957,1499,1513,1684,1590,1520,1451,1399,1427,1480,1375,1321,1448,1354,1512,1389,1350,1297,1212,1272,1350,1636,1777,1393,1723,1779,1312,1555,1549,1352,1323,1181,1271,1392,1426,1441,1322,1404,1745,1591,1874,1830,1736,1614,1554,1387,1423,1717,1705,1504,1546,1527,1337,1503,1604,1257,1023,1643,2098,1533,1462,1459,1388,1268,1311,1338,1347,1552,1765,1553,1350,1639,1826,1790,2006,1866,1748,1754,1731,2002,2307,1834,1542,1637,1808,1496,1322,1212,1230,1118,1221,1098,1604,1778,1400,1426,1326,1289,1436,1266,1131,1238,1205,1379,1703,1762,1740,1824,1804,1626,1672,1808,1794,1818,1765,1729,1854,1647,1526,1597,1600,1522,1553,1700,1822,1809,1786,1784,1978,1999,1894,1747,1719,1638,1663,1774,1725,1726,1765,1780,1826,1806,1851,1918,1997,1831,1684,1691,1628,2237,2388,1818,1511,1915,2026,1633,1470,1436,1467,1442,1655,2000,1985,1735,1670,1559,1524,1652,1598,1529,1679,1538,1378,1120,1179,1531,1696,1596,1538,1615,1307,1487,1490,1648,1497,1546,1396,1370,1455,1802,2084,1740,1531,1966,2043,1968,2033,1910,1913,1964,2249,2636,2844,2757,3086,3315,3394,3609,3015,2101,1921,1803,2053,2336,1673,2254,2687,2193,1775,1948,2136,2244,1896,1688,1854,1655,1515,1882,1820,1967,2245,1843,1602,1582,1642,1788,1736,1851,2652,3713,4073,4176,4356,4399,4295,4247,4175,4082,3945,3867,3917,3713,3320,3611,3749,3043,2839,2633,2522,2754,3522,3846,3299,3007,2909,2608,2798,2686,2656,2427,2316,2122,1755,2020,2416,1923,1715,1955,2550,3352,2381,1916,2024,2234,2827,1989,1660,2272,2778,3553,3724,3093,3033,3149,2220,2327,2447,2445,2840,3067,2944,2240,2281,2774,2525,2708,3063,2409,2270,2556,2444,2366,2634,2536,2403,2598,2492,2279,2025,1870,1913,1709,2106,1992,2188,2667,2480,2265,2209,2018,1980,2015,1883,1890,2046,1989,1945,2176,2026,1787,1991,2000,1852,1688,1581,1578,1476,1015,924,1582,2415,2836,2116,2198,2155,2543,2663,2340,2037,1981,1992,2123,2487,2365,2082,1997,1717,1381,1417,1599,1536,1659,2330,2198,2333,2635,2437,2545,2644,2473,2476,2458,1720,1846,2220,2221,1850,1505,1378,1773,2189,1876,1485,1379,1392,1641,1663,1737,1576,1422,1500,1516,1403,1410,1476,1606,1982,2125,2216,2408,2286,1813,1384,1315,1214,931,870,1087,1542,1883,2227,3254,4167,4384,4176,4034,4141,4376,4257,4108,4120,3896,3576,3184,2820,2801,2954,3248,3011,1849,1609,1734,1730,1830,1906,1942,1702,1816,1846,1559,1624,1651,1593,1660,1428,1722,1886,2269,1952,1393,1402,1502,1407,1192,1406,1822,1281,1045,1506,1733,1422,1344,1586,1723,1834,1824,1865,1843,1534,1511,1668,1372,1450,1596,1606,1556,1414,1588,1804,1685,1686,1142,790,1144,1413,1672,1758,1664,1619,1563,1598,1680,1542,1631,1470,1248,1447,1507,1295,1129,1416,1644,1794,1666,1239,1296,1270,1459,1892,2095,1880,1306,1166,1449,1472,1650,1864,1625,1429,1499,1679,1686,1732,1705,1598,1979,2323,2235,1918,1853,1719,1525,1287,1310,1835,2118,2075,1897,1554,1488,1478,1466,1301,1662,2562,2402,1768,1513,1252,1259,1487,1532,1306,1139,1101,1212,1258,1259,1252,1335,1354,1614,1554,1350,1517,1460,1894,1906,1454,1512,1427,1658,1508,1305,1301,1366,1540,1559,1513,1573,1555,1681,1682,1543,1353,1246,1403,1396,1439,1418,1201,1168,1296,1423,1354,1429,1524,1661,1529,1410,1253,1029,1220,1563,1749,1621,1215,1122,1394,1401,1614,1930,1610,1616,2089,2458,2248,1887,2012,2551,2676,1981,2304,2610,2943,2841,2774,2880,2449,1962,2442,2713,2597,2644,2698,2786,2749,2882,3117,2875,3038,3308,2972,2555,2171,2541,3447,3681,3264,2652,2577,3182,2855,2317,2255,2449,2639,2648,2338,2117,2678,3184,3012,2727,3559,4099,3580,3370,2649,2001,2152,2691,2633,2777,2957,2884,2819,3017,3101,2791,2266,2880,3255,3561,3059,2584,2921,3253,3078,3071,3079,2740,2897,2337,2020,2213,2508,2517,2974,3354,2374,1829,2437,2711,2994,2851,2042,1550,1566,1721,1768,1685,1751,1652,1599,1802,1954,1510,1228,1442,1700,1605,1748,2021,1962,1826,1715,1721,1438,1492,1776,1816,1746,1546,1282,1265,1540,1824,1747,1448,1333,1404,1699,1892,2075,2236,2078,1851,2005,1996,2052,1865,1788,1622,1337,1281,1615,1850,1804,1804,1599,1467,1396,1455,1822,1865,1710,1713,1548,1527,1566,1566,1741,1919,1584,1591,1566,1549,1378,1322,1418,1409,1358,1312,1338,1276,1451,1609,1538,1404,1412,1512,1382,1495,1420,1519,1804,2030,2114,2035,1900,1787,1723,1722,1830,1834,1559,1367,1378,1291,1201,983,1216,1558,1612,1772,1582,1337,1487,1393,1397,1311,1310,1521,1392,1632,1670,1479,1473,1566,1897,1808,1608,1485,1511,1626,1696,1738,1736,1764,1998,2057,2094,2138,2088,1947,1767,1707,1583,1582,1825,1864,1604,1497,1597,1706,1909,1866,1830,1906,2104,2237,2194,2306,2135,2019,1712,1482,1652,1835,1604,1654,2131,1757,1761,1840,2020,2075,1734,1589,1694,1723,1941,2207,2236,1684,1490,1780,1718,1852,2256,2164,2295,2122,2153,2098,1688,1839,1841,1935,1820,1941,2122,1852,2020,2509,2392,2155,1898,1781,1982,2197,1946,1831,2392,2033,2045,1878,1792,1885,1742,1635,1980,2720,2510,2149,2194,1866,1678,1948,2711,3097,2865,2597,2516,2124,1934,2285,2754,3064,3479,3492,2403,2297,2617,2568,2313,2210,2318,2873,2754,1786,1881,2020,1818,2064,2602,1974,1494,1715,2170,2107,1964,1860,2124,2389,2469,2585,2686,2581,2067,2273,2521,2556,2085,2474,2808,2176,1789,1736,1927,2018,1708,1974,2852,2807,2174,1970,1765,2016,2267,2340,2041,2019,2062,2170,2708,2241,1968,1732,1923,1891,2146,2004,1783,1790,1625,1694,1811,1559,2082,2636,2083,2096,2503,2479,2252,2244,2230,2217,2120,2255,2208,1909,1691,1828,1910,1703,1903,2328,2027,2381,2597,2483,2321,2034,1672,1709,1638,1649,1614,1669,1709,1653,1776,1875,1881,2341,2502,2030,1889,1891,1903,1757,1697,1532,1806,1876,1773,1457,1652,1830,1774,1628,1448,1760,2500,2924,2641,2817,3042,2817,2546,2326,2129,1750,1577,1697,1803,1850,1738,1824,1980,1513,1365,1500,1490,1742,2298,2586,2526,2613,2778,2647,3112,3363,2810,2557,2746,2472,2408,2098,2030,2259,2724,3018,2961,2678,2031,1587,1537,1582,1791,1845,2073,1880,1797,1793,1700,1785,1867,1963,2237,2107,2044,1813,1780,2092,1889,1768,1689,1863,2029,2356,2522,2458,2374,1959,2390,2335,2323,2065,1916,1968,2336,2536,2451,2436,2072,1835,2073,2100,1798,1932,1620,2059,2409,2272,1943,1793,1815,1776,1785,2072,1842,2093,2354,2240,1817,1625,2597,3725,3515,2539,2145,2222,1880],[2256,2393,2088,1804,1721,2253,3040,3046,2798,2823,2771,2644,2198,2985,3408,3239,2507,2573,3041,2400,2252,2308,1786,1545,1812,2447,2453,2225,1825,2675,3110,2770,2645,2474,2193,1859,1544,1445,1437,1381,1385,1845,2426,2052,2031,2544,2755,2491,1921,1490,1753,2383,2627,2127,2081,2249,1882,1505,1569,1520,1295,1392,1744,1770,1832,2259,2321,2674,2534,1987,2409,2273,1891,2293,2398,1956,1820,1832,2222,2601,2280,1997,1975,2918,3736,3233,2239,1682,1998,2187,2215,2073,1835,1664,1510,1622,1951,2144,2014,1797,1856,2020,1810,1706,1624,1796,2255,2426,2521,2654,3175,3420,2246,1426,1438,1699,1852,1731,1761,2108,2623,2744,2641,2467,2099,1865,2643,2623,2339,2575,2979,2757,2447,2400,2289,2629,2597,2713,2561,1994,2255,2574,2659,2596,2526,2341,2116,2121,2163,1974,2210,2442,2391,2590,2300,1891,2338,1901,1665,1817,1991,2276,2529,2322,1597,1682,1700,1650,1627,1808,1722,1542,1669,1594,1395,1610,1940,2167,1766,1541,1678,1716,1687,2064,2234,3053,2454,2095,2052,1753,1649,1909,2253,2560,2313,1796,1807,2546,2180,1628,1731,1614,1662,1959,2643,3809,3653,2574,1589,1552,1928,1747,1807,1641,2106,2043,1873,1953,1942,1753,1569,1785,2364,1795,1847,2221,2626,2539,2247,2329,2778,3220,3152,3113,2664,1892,2105,2041,2260,2490,2958,2829,2902,2604,2449,2421,2100,1809,1862,2317,2779,2148,1957,2105,2309,3533,3818,3544,2139,2021,2942,2845,2846,2853,3212,2600,2490,3104,3410,3173,3655,3086,2508,3473,4340,4245,4164,3709,2284,1564,1738,2243,3124,3794,3824,3124,2168,1561,1556,1771,2173,2271,2090,1809,1789,2183,2798,2359,2077,2508,3487,3719,3671,3182,2344,1854,2050,2070,2128,2031,1787,2059,1963,1880,2144,2090,1676,1742,1917,1856,1710,1383,1457,1719,1533,1353,1589,1405,1641,1887,1983,1614,1273,1555,1892,2019,2064,2617,3267,2500,2024,2946,2632,1779,1802,2093,2126,1734,1501,1402,1433,1370,1323,1454,1582,1785,1779,2057,2254,2988,3781,2890,1882,2059,1626,1492,1304,1406,1517,1242,1254,1440,1508,1681,1688,1556,1596,1509,1259,1209,1253,1350,1331,1505,1368,1296,1394,1599,2109,2014,1450,1309,1556,1476,1598,1617,1360,1486,1613,1656,1653,2014,2491,2188,1323,1304,1404,1489,1543,2114,1839,1953,3108,3409,2896,2405,2317,2306,2122,1856,1806,1755,1885,1663,1494,1633,1959,2043,2312,2012,1787,1732,1415,1399,1381,1329,1251,1379,1352,1510,1364,1322,1575,1595,1415,1336,1526,1787,1639,1470,2215,2056,1753,1592,1657,1587,1467,1571,1909,2111,2024,2216,2005,1924,1651,1477,1470,1468,2455,2778,2404,2124,1586,1250,2039,3009,2448,2290,2596,1960,2182,1934,1577,1815,1902,1696,1674,1669,1721,2283,2345,2388,2618,2407,2557,3003,2431,1819,1989,2199,2410,2458,2260,2553,2698,2082,3045,2939,2183,2035,2068,2071,2299,2453,2309,2044,1762,1844,1794,1738,1781,1870,1714,1727,1837,1643,1491,1490,1562,1425,1356,1387,1404,1368,1262,1438,1569,1273,1309,1385,1378,1304,1294,1406,1322,1609,2008,1654,1449,1380,1354,1668,1525,1443,1405,1326,1366,1469,1700,1347,1315,1489,1740,1587,1672,1741,1549,1544,1580,1317,1288,1544,1666,1869,1487,1392,1402,1650,1742,1205,1132,1736,1938,1574,1466,1528,1467,1306,1407,1350,1373,1629,1836,1546,1414,1779,1937,1908,2205,2026,1742,1887,1731,1899,2463,1670,1773,2100,2016,1453,1210,1293,1241,1198,1253,1108,1296,1434,1368,1387,1177,1223,1196,1221,1229,1309,1352,1656,1870,1889,1825,1750,1736,1638,1634,1601,1687,1815,1507,1497,1478,1521,1490,1336,1411,1435,1476,1490,1519,1465,1625,1955,1986,2392,2450,2100,1848,1583,1519,1556,1584,1842,1930,1850,1857,1779,1800,1779,1803,1790,1808,1945,2051,1921,1858,1886,1865,2008,2121,1952,1895,1735,1612,1495,1759,2036,1990,1885,1692,1621,1808,1981,1744,1604,1594,1584,1439,1348,1598,1792,1961,1835,1609,1783,1892,1732,1553,1616,1571,1520,1471,1492,1470,1562,1908,1739,1405,1604,2172,2665,2469,2261,2118,2042,1984,1994,2082,2257,2670,3071,3573,3799,2588,2094,2127,1892,1619,1574,1371,2316,3017,2464,1968,1777,1626,1771,1709,1854,1811,1682,1384,1449,1659,1713,1555,1423,1439,1553,1614,1781,1873,2337,2664,2901,3204,3883,4241,4352,4483,4499,4442,4264,4054,3973,3985,3596,3202,3868,3544,2953,3372,3431,3155,2785,3045,3595,2943,3381,3251,2734,2474,2451,2654,2709,2303,2098,1917,1970,2283,1729,1600,1969,2388,3266,1693,1048,1416,1714,2168,1963,2457,3110,3151,3678,4026,3453,3085,2886,2131,3096,2838,2407,1986,2059,2503,2244,2080,2625,2198,2548,3062,2408,2188,2238,2286,2470,2504,2587,2880,2806,2514,2463,2487,2096,1678,1448,2069,2521,2575,2520,2613,2170,2129,2335,2266,2231,2110,2122,2220,1974,1990,2205,2500,2265,2024,1813,1677,1651,1804,1938,2021,1441,1113,1397,2421,3322,2651,2164,2393,2605,2267,2101,2109,1945,2144,2146,2102,1958,1978,2054,1761,1705,1607,1630,1559,1702,2033,1953,1872,1537,1148,1681,2474,2554,2584,2438,2184,2337,2513,2581,2214,1568,1626,2345,2299,1706,1303,1340,1405,2011,1664,1501,1506,1517,1547,1642,1705,1584,1587,1707,1994,1981,1926,2236,2284,1975,1641,1573,1261,952,1117,1281,1497,1781,2095,3323,4048,4325,4164,4006,4108,4263,4144,4113,4043,3665,3247,2786,2363,2256,2432,3035,2894,2043,1707,1652,1748,1810,1736,1736,1716,1923,1953,1737,1726,1702,1663,1560,1384,1361,1654,1997,1480,1103,1223,1416,1521,1645,1438,1794,1274,1404,2231,2082,1252,1175,1390,1677,1738,1737,1904,1915,1721,1968,1852,1276,1265,1562,1997,1845,1459,1557,1467,1833,1945,913,942,983,1047,1355,1548,1686,1785,1887,2219,2004,1946,2031,1537,1249,1516,1583,1459,1905,2628,2264,1895,1759,1347,1735,1613,1797,1858,1901,1772,1187,1189,1468,1418,1754,2039,1705,1300,1332,1537,1565,1645,1609,1699,1976,2217,2116,1927,1869,1790,1636,1308,813,1216,1352,1227,1021,1202,2282,2244,1365,1350,1948,2214,2038,1700,1507,1290,1165,1290,1466,1174,1127,1155,1162,1273,1355,1346,1310,1420,1555,1489,1527,1533,1458,1517,1385,1590,1633,1531,1471,1274,1322,1371,1510,1495,1406,1368,1454,1384,1630,1529,1322,1174,1121,1206,1185,1361,1503,1275,1403,1548,1413,1381,1542,1646,1613,1351,1277,1293,1144,1143,1554,2041,1704,1409,1242,1565,1292,1453,1844,1628,1577,1736,1887,1912,1822,1928,2469,2850,2039,2238,2781,3043,2773,2820,2921,2544,2272,2451,2706,3007,3349,3491,3225,3100,3276,3247,2939,2986,3017,2461,1954,2037,2372,2579,2385,2023,1717,1773,2153,1758,1353,2136,2376,1853,1945,2244,2146,2132,2617,3129,3263,3802,3785,3189,3163,2428,1626,1838,2287,2562,2547,2476,2322,2546,3074,3067,2722,2714,2874,3209,3177,2542,2577,2842,2901,3072,3078,2896,2714,3163,2683,2445,2613,2846,2864,3009,2652,1946,2164,2830,2771,2778,2454,1790,1569,1924,2082,1703,1716,1795,1696,1832,2066,1989,1498,1490,1670,1815,1713,1893,2030,1845,1691,1826,1703,1483,1582,1554,1816,1588,1329,1256,1428,1714,1898,1794,1484,1228,1583,2598,2913,2742,2696,2421,2034,2013,1875,1820,1655,1550,1363,912,1061,1728,2189,1991,1681,1395,1459,1606,1483,1571,1635,1658,1505,1423,1420,1477,1599,1630,1748,1379,1372,1573,1704,1375,1485,1571,1353,1414,1464,1406,1312,1462,1628,1539,1403,1515,1576,1429,1465,1465,1395,1393,1713,1948,2085,2032,1875,1542,1899,2324,1996,1547,1603,1510,1301,1209,1055,1555,1840,1679,1516,1599,1731,1517,1280,1232,1173,1394,1408,1355,1655,1550,1780,1718,1554,1853,1570,1507,1389,1369,1569,1676,1609,1736,1777,1676,1829,1886,2034,2046,1742,1837,1854,1761,2021,2262,2136,1877,1718,1663,1792,1683,1860,1908,1917,2098,2187,2509,2552,2268,1711,1399,1415,1562,1703,1541,1569,1898,2071,1906,1886,2206,2037,1798,1766,1707,2130,2169,2233,2513,2256,1656,1687,1637,2071,2316,2308,2174,1866,1893,2009,1821,1852,1657,1599,1761,1975,1935,1870,2084,2278,2323,2141,1814,2180,2180,1931,1763,1896,2017,2153,1832,1578,1677,2092,2352,2119,2254,2503,1830,2108,1993,2094,1852,1621,2054,2354,2344,2315,2325,2394,2406,2511,2642,3134,3842,3766,2587,2635,2946,2193,1981,2160,2214,2991,2859,1764,1570,1603,1668,2283,2662,2008,1563,1622,1602,1607,1719,1708,1963,2178,2614,2620,2510,2315,1902,2494,2710,2343,2190,2322,1995,1570,1931,1697,1757,1847,1555,1596,1868,1935,1708,2032,2408,2230,2330,2355,2230,2259,2131,2130,2359,2355,2273,1964,1961,1975,2396,2448,2306,1819,1773,2126,2278,2142,2588,2562,1931,1759,2414,2375,1990,1880,1865,1685,1744,2199,2177,1814,1885,2054,1700,1581,1816,2170,2093,1995,2153,2119,2237,2517,2198,1650,1703,1687,1579,1665,1835,1771,2079,2587,2764,2808,2493,1860,1858,2113,2022,1999,2013,1594,1486,1676,1725,1725,1969,1918,1605,1649,1500,1725,2511,2610,2248,2780,3466,3705,2941,2158,2074,1981,1565,1783,2026,1922,1588,1845,1980,1589,1746,1900,1623,1767,2005,2304,2667,2383,2653,2626,3020,3176,2777,2533,2678,2410,1921,1923,2349,2596,2847,2985,2741,2549,2068,1989,1774,1559,1596,1595,1995,2298,2220,2136,2148,2054,1839,1921,2796,2523,2114,1773,1880,1968,1728,1640,1698,1866,1997,2004,2060,2093,2218,1901,1971,2138,2258,2679,2525,2159,2670,2664,2266,2200,2248,2552,2479,1920,1731,1769,1561,1915,2067,1709,1651,1683,1877,2011,1933,1925,1705,1847,2242,2189,2285,2157,2415,3207,3108,2294,2171,1935,1886],[1968,2345,2070,1478,1512,2232,3374,3488,3321,3535,3672,3038,2668,3491,3735,2968,2002,2077,2176,1815,2129,1906,1487,1419,1693,2824,3075,2666,1958,2124,2518,2562,2330,1900,1957,1876,1682,1816,1630,1577,2062,2875,2820,2369,2402,2592,2570,2543,2165,1745,2173,2293,1816,1790,1776,1693,1624,1559,1711,1613,1203,1350,1555,1937,2498,2684,2633,2690,2614,2504,2442,2450,2122,2002,1708,1685,1707,2161,2248,1980,1784,2335,2101,2108,2972,3527,2640,1829,2131,2203,2746,2418,2518,1977,1348,1373,1793,2236,2328,2031,2128,1977,1765,1840,1688,1970,1882,2134,2224,2476,2595,2823,2022,1445,1602,1641,1514,1658,1600,1785,2624,2663,2570,2553,2077,2832,2916,2888,2522,2801,3465,2900,2276,2223,2684,3430,3228,2741,2308,2428,2431,2296,2178,2198,2012,1849,1901,1740,1896,2009,2286,2431,2426,2415,2237,2266,2156,1830,1854,2001,2374,2542,2315,2170,1794,1670,1726,1870,1835,1835,1616,1392,1702,1930,1743,1946,2048,2480,1860,1829,2558,1914,2025,1980,1842,2203,2280,2480,2132,1712,1504,1783,1962,2361,2236,1763,1719,2386,2442,2197,2202,1588,1261,2031,2710,3667,4019,2872,1794,1844,2446,2658,2135,1564,1678,1506,1693,2358,2284,1693,1555,1588,1904,1580,2018,2499,2658,2858,2718,2535,2612,2635,2599,2603,2143,1863,1780,2147,2808,2928,2666,2678,2787,2413,2144,2164,2042,1948,2034,2354,2360,2190,1866,1683,2150,3124,3602,3653,2542,1944,2674,2600,2494,2721,3305,2949,3190,2954,2398,2629,3220,2380,2244,3216,3210,2996,3804,4256,2813,1948,2425,2818,3231,3277,2957,2647,1912,1349,1382,1681,2265,3054,2942,2077,1908,2534,2996,2549,2648,2941,3251,3297,3342,3297,2561,1849,2104,2490,2333,2179,2056,2192,2255,2281,2202,1974,1896,1697,1632,1648,1502,1405,1398,1425,1514,1512,1440,1667,1798,1627,1864,1671,1363,1678,1743,1914,2334,2623,2744,2618,2468,2503,2032,1790,1853,1892,1671,1196,1650,1622,1548,1450,1364,1664,1772,1746,1600,1649,2000,2752,3174,2571,1714,1760,1610,1607,1310,1415,1629,1421,1328,1373,1300,1404,1600,1516,1416,1344,1310,1310,1243,1366,1277,1240,1308,1508,1528,1391,1711,1483,1472,1654,1465,1399,1582,1520,1686,2329,2250,1494,1370,1508,1592,1771,1610,1373,1431,1611,1804,2157,1860,2165,2661,2776,2806,2281,2141,2510,2531,1945,1600,1668,1973,1945,1970,2091,2069,2266,2278,1832,1909,1720,1828,1502,1395,1583,1428,1364,1348,1428,1495,1592,1570,1455,1306,1345,1486,1340,1176,1261,2137,2089,1650,1447,1535,1511,1598,2186,2752,2720,2609,2431,2230,1846,1550,1448,1456,1525,1863,2096,1746,1185,1569,1975,2270,2923,2669,2894,2705,2269,2332,2038,1659,1594,1693,1646,1322,1308,1498,1820,1929,2181,2583,2590,2416,2959,2674,1925,1936,1996,2341,2318,2363,2820,2958,2547,2787,2872,2236,1904,2160,2193,2160,2422,2990,2343,1697,1595,1599,1477,1568,1728,1806,1678,1452,1482,1406,1369,1417,1322,1326,1308,1273,1310,1322,1459,1510,1340,1282,1322,1355,1497,1380,1417,1287,1643,1630,1353,1582,1721,1456,1338,1325,1267,1355,1657,1560,1691,1785,1255,1374,1384,1316,1480,1614,1560,1379,1336,1364,1496,1578,1734,2002,2149,1807,1708,1560,1722,1665,1717,1515,1565,1828,1615,1430,1644,1450,1204,1394,1528,1589,1474,1592,1382,1732,2254,2114,1885,2219,2136,1725,1916,1839,1893,2644,1566,1720,1716,1489,1397,1236,1433,1482,1281,1306,1255,1434,1548,1514,1429,1301,1322,1352,1439,1579,1748,1872,1874,1772,1738,1678,1767,1812,1865,1871,1640,1621,1737,1478,1449,1444,1520,1470,1206,1333,1388,1562,1616,1543,1334,1782,2224,1737,1618,2251,2610,1842,1123,902,970,1176,1252,1704,1904,1826,1670,1610,1669,1802,1874,1904,2070,1935,1825,1827,1847,1806,1825,1944,1820,1741,1778,1788,1771,1926,2061,1976,1902,1767,1747,1763,2007,1826,1928,1876,1713,1781,2006,1718,1518,1779,1839,1541,1467,1522,1518,1510,1547,1563,1443,1395,1470,1536,1825,1738,1488,1472,1653,2146,2504,2273,1994,1794,1985,2133,1993,1874,1960,2037,2280,2523,2888,2159,1810,1904,1855,1407,1488,1860,2380,2531,2077,2078,1708,1488,1501,1422,1383,1590,1584,1424,1605,1698,1520,1416,1468,1508,1652,1875,2026,2298,2930,2507,1934,2261,2979,3742,4207,4239,4415,4392,4164,4164,4229,4103,3605,3500,3687,2921,3054,3674,3540,3241,2652,2652,3237,2779,2300,2836,2945,3052,2787,2402,2474,2393,2494,2474,2485,2620,1604,1593,1926,2334,2502,1148,1352,1494,1252,1428,1559,2872,4031,3167,2906,2901,3483,3557,2438,2222,2735,2476,2115,1992,2124,2282,2218,2166,2497,2019,2583,3054,2432,2282,2339,2108,2426,2666,2624,2503,2164,2002,2332,2317,2399,2075,2132,2658,3140,2906,2380,2409,2232,2003,2010,1848,1973,2119,2009,1961,1691,1731,1814,1789,1857,1877,1876,1693,1765,2079,2227,2475,1586,1512,1763,2864,3850,3176,2520,2279,1754,1811,2256,2204,1916,1860,1655,1502,1916,2269,2216,1817,1784,1543,1501,1781,1987,2141,2354,1842,1445,972,1587,2454,2598,2553,2487,2512,2622,2787,2802,2504,1832,1792,1826,1568,1212,1116,1197,1325,1555,1542,1544,1696,1543,1470,1613,1643,1561,1754,1675,1701,1576,1431,1640,1865,1763,1760,1912,1794,1216,1182,1096,1294,1701,1960,2875,3610,3820,3784,3440,3242,3269,2777,2710,2288,2271,2193,2298,2088,2024,2292,2608,2564,2054,1694,1599,1648,1853,2031,2146,1820,1681,1649,1681,1732,1749,2150,1927,1330,1583,1544,1375,1278,1174,1136,1093,1098,1251,1426,1393,1251,1562,2028,1737,1494,1509,1206,1514,1672,1860,2304,2092,1809,1857,1704,1514,1395,1726,2272,1743,1531,1428,1072,1535,1692,1402,1236,949,1178,1474,1468,1641,1929,1904,1947,1865,2237,2362,1628,1217,1209,1172,1321,1741,1768,1540,1917,1816,1464,2121,2222,2239,1762,1480,1362,968,1090,1452,1347,1455,1627,1520,1005,998,1302,1440,1414,1560,1832,2090,2117,1914,1765,1857,1836,1644,1216,889,1460,2599,2144,1504,1324,1584,1522,1311,1594,1887,1660,1497,1367,1227,1296,1213,1228,1224,1142,1307,1344,1273,1296,1333,1340,1342,1577,1498,1427,1584,1360,1255,1331,1378,1556,1650,1617,1359,1378,1477,1406,1523,1378,1340,1334,1299,1338,1576,1416,1226,1104,1087,1196,1355,1661,1786,1554,1599,1745,1978,1837,1552,1600,1567,1342,1248,1295,1269,1367,1725,1819,1405,1477,1527,1667,1461,1362,1484,1604,1651,1521,1732,1874,2123,1904,2103,2742,2413,2512,3018,2986,2706,2722,2825,2730,2573,2610,3044,3307,3430,3200,3347,3591,3478,3461,3410,2995,2579,2292,2306,2128,1868,1803,2030,2378,2108,1717,1531,1521,1595,2139,2281,2136,1938,1698,1515,1954,3092,3933,3987,3897,3826,3563,3383,2700,1989,1991,2566,2756,2176,2003,2269,3160,3307,3060,3215,3406,3064,2864,2751,2418,2592,2800,2749,3075,2875,2498,2834,3379,3206,2832,2839,3053,3031,3042,2110,1962,2481,2884,3118,3008,2138,1690,1456,1942,2265,1976,1620,1524,1592,1758,1871,1814,1610,1602,1954,1842,1906,2085,1984,1944,1948,1867,1641,1736,2040,1423,1487,1445,1347,1312,1399,1657,1736,1644,1507,1321,1464,2292,2985,3007,2995,2736,2198,1896,1722,1610,1599,1697,1387,994,1417,1624,1947,1804,1324,1277,1397,1594,1503,1384,1710,1763,1448,1430,1466,1486,1489,1466,1477,1173,1126,1417,1644,1668,1825,1729,1639,1744,1379,1385,1371,1470,1858,1543,1469,1722,1648,1560,1670,1660,1365,1406,1818,1834,2002,1938,1776,1497,2286,2410,1683,1698,1814,1568,1628,1624,1552,1869,1795,1656,1593,1737,1779,1482,1369,1273,1208,1253,1335,1666,1782,1548,1623,1814,1856,1803,1629,1403,1345,1458,1856,1946,1711,2152,2311,1750,1542,1600,1764,1674,1714,2184,2172,1977,2051,2171,2087,2200,2108,2253,2063,1882,1913,1992,2236,2320,2141,2124,2085,1885,1521,1442,1463,1507,1687,1742,1716,1780,1852,1729,1929,2074,1776,1820,1921,1594,2132,2010,2150,2360,2260,1714,1591,1712,1824,1916,1861,1674,1675,1922,2258,2303,1981,1670,1779,2082,2089,1934,1760,1776,1979,1982,1748,1600,1557,1606,2048,2116,2066,1947,1831,1701,1460,1531,2103,2797,2172,1887,2416,2411,2835,2680,2610,1848,1575,2002,2133,2094,2236,1829,2098,2423,2710,2362,1999,2130,2685,2575,2865,2797,1764,1737,2104,1983,2557,2440,1668,1482,1581,1532,1804,2071,2048,1708,1496,1616,1690,1713,2087,2522,2690,2644,2603,2658,2564,2133,2376,2249,1795,1755,1771,1540,1610,1942,1577,1530,1888,1924,1658,1744,1921,1992,2568,2872,2334,2329,2403,2430,2633,3086,2821,2179,1944,2072,2157,1874,2040,2548,2620,2358,1460,1830,2060,2230,2439,2372,1967,1736,1676,1810,1865,1809,1841,1772,1611,1760,2019,2054,1865,1798,1827,1736,1776,1855,1911,1902,1898,1958,2083,2424,2913,2492,1896,1736,1770,1707,1779,1786,1832,2178,2481,2783,2942,2144,1879,2039,2112,1810,1906,1837,1461,1370,1670,2093,2171,1945,1822,1991,1737,1650,1734,1669,1691,2047,2425,2784,3470,3466,2420,1892,2092,1684,1735,1985,1907,1504,1587,1861,1749,1736,1742,1631,1649,1798,2261,2729,2471,2676,2744,3000,3191,2730,2689,2751,2302,2006,2490,2757,2676,2792,2568,1989,1907,1825,2121,2128,1947,1842,1805,2064,2361,2382,2496,2356,2353,2087,1754,2193,2162,2007,1826,1725,1752,1936,2191,1776,1822,1848,1604,2134,2475,2480,2251,2040,1820,1896,2453,2442,2489,3185,2431,1919,1943,1860,1788,1600,1766,2342,2106,1676,1976,1910,1582,1762,1858,1886,1819,1898,1819,1661,1763,2177,2297,2451,2127,1912,2189,2326,1919,2224,2070,1864],[1843,2413,2203,1616,1388,2049,3265,3680,3808,3848,3947,3104,2986,3373,2953,2264,2138,2164,1710,1776,2012,1825,1840,1967,2089,2456,2390,2269,2434,2414,2665,2391,1989,1490,1350,1595,1578,1731,1828,1857,2459,2850,2258,1815,2209,2576,2313,2531,2210,1589,2070,2085,1745,1889,1724,1459,1390,1499,1921,1996,1648,1692,1736,2106,2238,2254,2419,2348,2233,1852,1898,2278,2458,2602,2125,2119,2131,2438,2179,1605,1758,2221,1804,1738,2382,2767,2211,1497,1591,1832,2461,2135,1897,1683,1666,1584,1787,2165,1998,2098,2191,1659,1619,1782,1843,1805,1910,2667,2610,2259,2019,2022,1678,1411,1527,1578,1750,1926,1837,1906,2150,2432,2402,1959,2458,2942,3166,3615,3203,3129,3200,2719,2332,2636,3156,3141,2851,2340,1906,1938,2067,2219,2143,2045,1923,1822,1569,1570,2116,1878,2150,2391,2181,2127,2247,2273,1913,1638,1679,1800,2527,2594,1990,1857,1891,1852,1858,1898,2034,2146,1727,1546,1869,2092,1654,1720,2189,2365,1715,1804,2281,2414,2526,1959,1552,1638,2200,2315,2077,1868,1814,1764,1819,1814,1988,1769,1739,2250,2317,2336,2236,1731,1554,1911,2459,2726,3288,2518,1983,2239,2313,2446,1943,1469,1752,2047,2171,2336,2111,1902,1601,1571,1612,1410,1778,2149,1978,2103,2811,3186,2430,1917,1764,2155,2387,2799,2525,2931,2843,2379,2213,2169,2244,2383,2420,2478,2571,2219,1929,2351,2499,2188,1909,1809,2174,2931,3191,2688,2105,2257,2584,2731,2811,3385,3563,3798,3065,2602,2525,2197,2154,2328,2733,2940,2269,2270,3249,3442,2555,2554,2911,2337,2410,2733,2620,2686,1969,1549,1675,1646,1912,2659,3019,2359,1918,2254,2352,2576,3104,3450,3605,2758,2393,2999,2475,2318,2442,2924,2763,2812,2558,2360,2486,2368,2217,2230,2840,2142,1658,1899,1996,1654,1506,1237,1332,1611,1607,1877,2009,1590,2046,2086,1852,1954,1780,1967,2920,2645,2180,2565,2627,1983,1560,1905,2029,1898,1665,1245,1636,1750,1669,1536,1431,1471,1443,1459,1555,1791,2023,2392,2837,3450,2388,1405,1396,1556,1322,1426,1639,1454,1385,1483,1302,1357,1376,1398,1462,1420,1349,1299,1257,1300,1314,1301,1381,1803,1772,1439,1482,1476,1662,1788,1507,1343,1370,1512,1716,2289,2484,1625,1318,1324,1359,1733,1876,1559,1376,1453,1568,1600,1591,1791,2020,2271,2149,2035,2322,2770,2656,2120,1710,2239,2736,2521,2338,2062,2493,2426,1668,1700,1876,1798,2206,1584,1612,1910,1726,1508,1472,1499,1425,1561,1608,1444,1519,1949,2124,1646,1317,1412,1839,1990,1646,1547,1906,1518,1494,2174,2940,2410,2007,1797,2026,1656,1434,1562,1503,1406,1570,1900,1636,1132,1803,2014,2174,2756,2409,2438,2312,2146,2187,2159,1920,1680,1641,1467,1345,1497,1538,1847,2069,2159,2378,2088,1768,2060,2019,1957,1967,1930,1715,1482,2627,3776,3621,2733,2584,2755,2135,1902,2244,2066,1990,2241,2787,2367,1792,1643,1628,1494,1426,1396,1514,1542,1517,1758,1440,1279,1310,1268,1249,1235,1284,1186,1296,1386,1315,1476,1582,1642,1765,1794,1542,1512,1410,1709,1569,1457,1637,1493,1444,1724,2055,2369,2668,2726,2666,2233,1542,1311,1322,1215,1195,1329,1496,1472,1483,1593,1955,2615,2353,1569,1774,1817,1738,1615,1459,1559,1602,1649,1542,1752,1888,1621,1520,1848,1725,1475,1814,1804,1414,1561,1776,1535,1852,2430,2179,1839,2088,2053,1705,1870,1874,1864,2308,1433,1367,1405,1311,1291,1207,1315,1401,1369,1592,1726,1747,1652,1798,1613,1644,1666,1690,1741,1769,1721,1652,1723,1736,1826,1777,1961,1868,1794,1968,1815,1571,1448,1490,1432,1286,1393,1414,1266,1378,1393,1415,1552,1672,1444,2004,2643,1986,1471,2380,2937,1801,1109,1426,1544,1234,1481,1983,1805,1515,1419,1418,1417,1699,2075,2643,2481,1860,1930,1474,1158,1533,1939,1932,1795,1820,1777,1711,1820,1866,1738,1770,1847,1715,1713,1681,1653,1763,2003,1977,1721,1993,2459,1916,1778,2045,2115,2016,1791,1633,1590,1379,1319,1471,1509,1508,1468,1647,1759,1730,1662,1754,1972,1758,1390,1382,1358,1353,1511,1713,1774,1637,1979,2150,2033,1971,1991,1932,1704,1577,1644,1509,1853,2156,2587,2344,2078,2144,1492,1290,1651,1637,1369,1543,1785,1663,1506,1335,1417,1529,1610,1542,1544,1881,1885,2768,3116,2256,1926,1849,2013,2646,3081,3339,3919,4056,3833,3842,3945,4004,3257,3156,3316,2853,3094,3170,2707,2556,2024,2247,3043,3426,2791,2204,2280,2484,2597,2640,2577,2288,2269,2258,2968,2733,1741,1765,1894,2507,2599,1824,1830,1841,1768,1961,1991,3098,3162,2014,1749,1620,2076,2463,1881,1948,2426,2768,2596,2360,2165,2098,2122,2216,2303,2396,2576,2359,2583,2361,2083,2178,2416,2991,3286,2512,1628,1851,2493,2120,2181,2390,2633,2808,2669,2359,1985,2079,2530,2339,1987,1734,1907,2071,1971,1539,1280,1490,1707,1736,1727,1757,1794,1744,1981,2176,2335,2098,1227,1977,2432,2910,3622,3100,2509,2051,1465,1923,2553,2350,1977,1901,1900,1894,2098,2160,2174,2081,1866,1579,1411,1639,2047,2048,2034,1844,2012,1508,2065,2766,2651,2529,2548,2532,2723,3085,2842,2211,1763,1455,1258,1276,1302,1217,1338,1401,1366,1389,1481,1536,1341,1381,1357,1153,1318,1878,1860,1671,1579,1409,1548,1848,1565,1535,1772,2060,1371,891,824,1377,1705,1911,2663,2861,2597,2608,2387,2275,2280,2056,2438,2579,2619,2304,2241,2104,2099,2010,1856,1754,1788,1640,1507,1527,1670,1702,1765,1623,1447,1507,1594,1586,1924,2545,1860,1391,1843,1714,1259,1497,1476,1372,1285,1157,1173,1165,1201,1241,1417,1494,1316,1731,1752,1275,1221,1462,1763,2348,2463,2272,2326,2292,1813,1648,1833,1824,1764,1537,1511,1515,1550,1420,1505,1342,1087,1392,1509,1471,1495,1694,1875,2008,2047,2053,2120,1737,1386,1247,1355,1825,1986,1580,1495,2120,1788,1518,2096,2285,2138,1532,1170,1272,1158,1085,1511,1331,1286,1391,1408,791,655,1119,1527,1477,1694,2028,2204,2217,1913,1615,2016,1880,1808,1580,1410,1576,2110,1927,1494,1371,1389,1425,1428,1423,1527,1571,1389,1443,1648,1538,1253,1287,1312,1377,1407,1415,1473,1555,1362,1433,1637,1679,1381,1479,1549,1300,1315,1358,1299,1277,1349,1357,1213,1236,1283,1400,1304,1211,1275,1395,1363,1527,1679,1444,1398,1289,1320,1416,1591,1932,1896,1709,1674,1672,2012,1885,1597,1587,1561,1565,1543,1605,1410,1524,1543,1433,1446,1456,1454,1555,1562,1361,1368,1563,1579,1771,2144,2406,2338,1923,1891,2541,2825,2865,3010,2954,2679,2787,2997,2868,2755,2778,2996,2944,3094,2999,3633,4121,3745,3893,3797,2954,2717,2653,2327,1595,1756,2457,2830,2832,2688,2147,1942,2499,2803,2885,3034,2878,1903,2011,2115,3024,4074,4497,3930,3650,3874,3761,3216,3105,2807,2510,2941,2603,2062,1791,2074,2923,2849,2878,3382,3492,3131,2485,2646,2641,2520,2820,2520,2728,2315,2135,2896,3301,3243,2940,2928,3226,3164,2861,2148,2458,2619,2787,2879,2482,1703,1290,1245,1353,1583,1823,1694,1312,1384,1408,1576,1867,1908,1863,1959,1944,2003,1980,1830,1767,1833,1841,1616,1673,1569,1429,1511,1603,1474,1154,1426,1874,1866,1713,1806,1650,1666,1812,2771,3177,2839,2456,2055,1710,1558,1589,1649,1787,1669,1476,1586,1433,1480,1430,1348,1339,1431,1667,1521,1323,1457,1518,1477,1428,1507,1509,1385,1477,1486,1255,1155,1424,1478,1320,1482,1528,1728,1726,1320,1404,1463,1438,1644,1592,1627,1613,1392,1453,1732,1797,1303,1515,1797,1986,1942,1742,1573,1644,2300,2164,1729,1816,1967,2098,2027,1594,1619,1832,1771,1453,1509,1850,1937,1754,1439,1327,1300,1180,1363,1588,1661,1516,1488,1899,1890,1895,1775,1496,1439,1504,1883,1910,2072,2490,2480,1789,1424,1412,1448,1501,1867,2072,2071,1693,1674,1998,1876,1918,2037,2263,2400,2061,2107,2259,2106,1841,1743,1935,1859,1747,1644,1562,1555,1553,1817,1835,1696,1664,1602,1460,1423,1552,1626,1786,1643,1696,1969,2216,2018,1702,1786,1897,1904,1699,1558,1776,1871,1698,1704,2041,2118,2028,1837,1687,1643,1735,1924,1954,1766,1864,1822,1840,1560,1687,1504,1702,2386,2141,1907,2016,1717,1660,1604,1647,1826,2019,1935,1740,1791,2152,2513,2621,2321,1663,1635,2169,2077,1634,1638,1472,1983,2523,2575,2042,1462,1482,1681,1835,2144,1995,1594,2194,2517,1876,1768,1824,1681,1622,1637,1478,1554,1896,2163,1788,1593,1660,1604,1694,2153,2404,2706,2643,2295,1906,1776,1974,2333,2071,1580,1533,1649,1502,1911,1960,1623,1593,1832,1934,2085,2134,2090,2684,3198,2192,1595,1784,2037,2226,2791,3332,2948,2464,1985,1867,1944,1556,1783,2094,2310,2396,1600,1245,1549,1980,2175,1753,1446,1627,1363,1325,1670,1752,1773,1601,1724,2129,1889,1809,1834,1759,1802,1957,1942,1722,1818,2248,2387,2101,2161,2461,3062,2471,2247,2076,1761,1981,2209,2005,1986,1888,1912,2562,2563,1981,1956,1948,1914,1564,1920,2001,1431,1605,1919,1986,1992,1942,1497,1711,1598,1692,1667,1519,2364,3022,2314,2078,2785,2975,2533,1856,1443,1486,1557,2271,2286,1810,1625,1626,1694,1615,1453,1533,1567,1695,2097,2358,2789,2710,2529,2876,3011,2744,2803,2675,1994,2105,2741,2690,2804,2474,1977,1729,1762,1695,1766,2096,2071,1902,2264,2446,2300,2107,2589,2372,2073,1919,1726,1882,2094,1980,1713,1964,2463,2505,2719,1930,1829,1963,1742,1820,1866,1981,2292,2446,2375,2437,2178,1868,2072,2408,2491,2056,2027,2171,1982,1596,2302,3065,2276,1736,1873,1784,1771,2204,3036,2888,2119,1793,1860,1867,2103,2264,2236,2083,1769,1678,1568,1707,1785,2392,2323,1817],[1915,2612,2109,1956,1946,2499,3804,4309,4058,3994,3687,3044,3019,3078,2314,2162,2321,2258,1624,1836,2014,1829,1880,2138,1997,1504,1244,1332,1982,2380,2636,2012,1908,1464,1404,1826,1651,1342,1476,1650,1768,1779,1732,1463,1851,2780,3143,3271,2204,1491,1720,1783,2160,2473,1814,1187,1222,1366,1593,1908,1818,2179,2220,1897,1765,2070,2455,2274,1600,2009,2634,2591,2663,2248,2295,2009,1854,2114,2117,1743,1697,1833,1694,1414,1526,1911,1930,2521,2938,2636,2380,1879,1811,2119,2189,1801,2077,2360,1902,1995,2040,1730,1878,2038,2353,2078,2238,2820,2394,1693,1661,1760,1461,1497,1591,1394,1456,1556,2018,1934,1923,2566,2216,1525,2341,3635,3862,3435,3194,3419,3087,2496,2387,2814,3385,2807,2693,2424,1737,1507,2055,2473,2375,2293,2411,2001,1787,1952,1982,1955,2164,1957,1895,2141,2036,1884,1560,1669,2007,2038,2562,2627,2236,1694,1464,1829,2208,2019,1932,1930,1543,1459,1638,1661,1394,1727,2232,1696,1701,2077,2416,3115,2893,1878,1650,1965,1936,1875,2283,1896,1858,1895,1923,1971,2166,2046,1932,2088,2282,2756,2025,2135,2050,2106,2446,2556,2790,2514,2386,2349,2214,2243,1781,1531,1946,2338,2265,2098,1998,2113,1788,1816,1913,1548,1692,1930,1938,2137,2964,3190,2102,1648,1457,1981,2509,2522,2227,2460,2213,1917,1979,1815,2124,2409,2284,2398,2190,2208,1990,2053,2367,2063,1843,1685,1970,3073,3432,2253,1830,2185,2509,2943,3740,4200,4051,3683,2756,2863,3416,2313,1636,2515,2178,2407,3068,3332,3204,2786,2557,2858,2802,2280,2035,2133,2522,3343,2344,1679,2249,2204,1946,1864,1982,1999,2040,1979,2161,2828,3119,2597,2630,1655,2171,2581,2115,2104,1890,2048,2466,2342,2094,2350,2323,2303,1956,1537,2219,2266,1786,2096,1892,1518,1407,979,926,1521,1820,1609,1590,1610,2430,2365,1839,1670,1578,1885,2406,2173,1986,2296,2755,2228,1772,2025,2101,1953,1809,1538,1433,1569,1739,1588,1405,1417,1321,1404,1514,1412,1636,1874,2028,2375,1925,1346,1435,1643,1504,1632,1654,1415,1457,1376,1208,1272,1272,1600,1559,1443,1498,1320,1244,1209,1234,1262,1214,1395,1405,1351,1340,1579,1388,1578,2127,1888,1593,1508,1318,1477,1766,1459,1483,1391,1604,1733,1663,1608,1500,1397,1443,1628,1456,1437,1654,2088,2240,2608,2195,2347,2245,1993,1587,1916,2222,2254,2341,2472,2907,1984,1371,1711,1694,1792,2288,2368,2132,1938,1830,1625,1634,1663,1417,1542,1563,1241,1319,2533,2719,1764,1455,1598,1570,1610,1429,1514,1916,1453,1483,2123,2688,2388,1703,1572,1999,1861,1453,1587,1592,1518,1667,1806,1978,1955,1843,1820,2082,2024,1768,1754,1885,1911,1640,1726,1973,1774,1886,1766,1934,1749,1629,1868,2012,2008,1737,1471,1843,2019,1744,2200,2314,1892,1690,1535,2455,3448,3398,2764,2279,2236,1814,1892,2254,2149,1989,2108,2568,2374,1824,1852,1724,1387,1326,1397,1402,1377,1522,1659,1322,1331,1341,1321,1284,1248,1318,1296,1344,1454,1384,1436,1453,1542,1559,1481,1439,1419,1410,1530,1776,2411,2680,2817,3222,3573,3517,3332,3283,3287,3588,2752,1744,1417,1288,1394,1362,1326,1250,1267,1650,1458,1736,1955,1526,1283,1274,1455,1566,1393,1500,1666,1669,1579,1565,1661,1554,1454,1334,2111,2732,2270,1809,1428,1467,1785,1771,1430,1719,2364,2037,1917,2120,2005,1793,1841,1833,1935,1803,1183,1144,1382,1433,1395,1422,1493,1648,1746,1808,1987,2177,2036,1831,1759,1693,1699,1728,1687,1566,1609,1824,2129,2107,1964,1857,1896,1604,1640,1950,1725,1548,1406,1468,1360,1375,1355,1261,1331,1374,1297,1431,1628,1657,1648,2228,2665,2210,1800,2362,2312,1756,1497,1711,1588,1371,1794,2249,1929,1664,1506,1484,1348,1888,2285,2670,2411,1843,1844,1492,1249,1731,2203,2046,1609,1566,1442,1447,1659,1735,1863,2000,1989,1727,1681,1661,1658,1721,1751,1751,1697,1824,2000,1802,1949,1936,1878,2075,1941,1749,1704,1577,1503,1672,1749,1695,1651,1826,1899,1620,1707,1779,1641,1498,1306,1171,1220,1301,1306,1399,1543,1475,1693,1932,1808,1804,1870,1962,1710,1570,1772,1876,1991,2102,2359,2562,2408,1691,1120,1143,1355,1463,1406,1525,1637,1371,1397,1470,1387,1494,1663,1515,1481,1792,1686,1804,2029,2025,2296,2205,2075,2056,1879,2048,2801,3438,3768,3750,3748,3728,2651,2144,3007,3312,3278,3362,3157,2725,1864,2202,2793,2680,2149,2643,3147,2620,2230,2933,3748,2544,2072,2210,3315,2973,2054,1963,2003,2576,3109,2618,2283,1736,1985,2370,2008,2576,1930,1453,1361,1675,2557,2664,1956,1986,2566,2708,2627,2330,2318,2224,2061,2146,2394,2334,1775,2170,2977,2732,2528,2802,2482,2600,3448,3203,2220,2656,2968,2385,2523,2524,2214,1946,1610,2070,2060,1880,2109,2267,2052,2113,2061,1863,1541,1574,1783,1795,1981,1764,1691,1703,1553,1673,1751,2104,2344,1538,1484,2408,2145,1947,2254,2960,3025,2322,2342,2964,3274,2823,2194,2139,2036,1766,1705,1908,2000,1830,1863,1792,1924,1974,2156,1917,1737,2321,2513,1922,2258,2753,2665,2562,2454,2332,2445,2808,2605,1808,1485,1223,1162,1240,1310,1299,1397,1506,1389,1453,1510,1378,1374,1459,1296,940,1000,1482,1756,1570,1300,1376,1621,1767,1293,1278,1345,1274,880,747,1284,1790,1842,1883,2239,2368,2224,2182,2537,2732,2444,2428,2459,2333,2242,2114,2072,2160,2023,1846,1907,1938,2058,1812,1773,1744,1719,1805,1654,1463,1478,1471,1466,1512,1838,2188,1385,1368,1541,1613,1437,1295,1272,1369,1487,1588,1382,1292,1238,1120,1067,1065,1239,1457,1602,1455,1247,1300,1476,1848,2090,2203,2482,2558,2017,1564,1621,1529,1764,1696,1593,1767,1650,1304,1383,1117,901,1108,1483,1570,1571,1529,1789,1842,1676,1832,1744,1475,1636,1944,1829,1974,2027,1636,1455,1942,1866,1698,1960,2018,1936,1976,2010,1828,1506,1049,1444,1395,1525,1608,1528,977,766,1168,1635,1776,1770,1905,1996,1969,1882,1854,2147,2033,1914,1602,1235,1166,1424,1539,1548,1698,1583,1484,1420,1328,1449,1332,1371,1559,1811,1682,1456,1372,1408,1524,1600,1562,1622,1686,1343,1337,1570,1570,1557,2148,2023,1354,1258,1218,1256,1302,1237,1171,1166,1217,1207,1373,1252,1242,1322,1405,1422,1599,1671,1503,1751,1856,1842,1712,1759,2253,2188,1819,1541,1592,2090,2191,1801,1654,1599,1815,1665,1634,1543,1483,1350,1423,1450,1394,1412,1458,1327,1156,1478,1663,1988,2264,1817,2059,2320,2070,1863,2248,2767,2887,3021,3078,2990,2918,2768,2620,2801,2862,2663,2820,3167,3099,3371,3610,3300,3144,2953,2827,3219,3046,2262,1663,2338,3031,2753,2399,2529,2252,1972,2482,2626,2898,3661,3286,2197,2134,2546,2956,3569,3572,3040,3298,3486,3522,3182,3410,3231,3119,3470,3069,2347,2258,2765,2696,2241,2779,3482,3326,2799,2507,2833,2788,2800,3062,2609,2679,2983,3100,3228,3199,3304,3274,3454,3348,2963,2673,2382,2570,2780,3016,2995,2182,1215,955,1325,1403,1321,1268,1357,1433,1426,1259,1370,1554,1875,2224,2155,1754,1888,1882,1684,1264,1588,1942,1572,1456,1363,1434,1450,1626,1577,1262,1327,1618,1795,1688,1810,1767,2113,2496,2585,2410,2201,1848,1571,1646,1642,1529,1245,1269,1262,1477,1620,1488,1379,1478,1522,1307,1544,1716,1465,1391,1411,1394,1369,1316,1394,1333,1280,1640,1715,1332,1446,2058,1652,1335,1627,1505,1415,1604,1688,1840,1848,1574,1555,1614,1766,1735,1470,1490,1808,2061,1669,1750,1773,1991,1930,1712,1535,1704,2014,1875,1857,2072,2621,2670,1924,1666,1481,1569,1601,1508,1632,1856,2241,1951,1485,1524,1301,1176,1414,1523,1621,1588,1558,1443,1425,1805,1973,2237,1728,1705,1770,1705,1848,1952,1874,1586,1388,1384,1476,1768,2102,1725,1816,1532,1510,1539,1485,1533,1733,1907,1982,2036,2250,2320,2049,2014,2144,2144,1982,1696,1650,1610,1476,1506,1632,1667,1817,1789,1502,1688,1526,1476,1615,1752,1697,1798,1787,2199,2120,1632,1698,1918,1726,1498,1643,1909,1923,1558,2024,2352,2685,2391,1954,2171,2005,1668,1685,1840,1637,1743,1830,1925,1786,1630,1581,1936,2191,1735,1693,1772,1636,1687,1665,1528,1734,1708,1878,1796,1636,1692,1777,1751,1695,1910,2264,2426,1786,1676,1721,1647,1831,2133,2171,1808,1527,1464,1643,2084,1847,1794,2605,3218,2446,2129,1888,1491,1586,1733,1530,1472,1602,1764,2063,2011,1760,1758,1632,1730,1747,1568,2055,2575,2162,1626,1518,1852,2639,2639,1856,1560,2169,2024,1833,1724,1731,1799,1763,1668,1737,2075,2178,2296,2845,2136,1794,2116,2037,2142,2684,2486,2591,2546,1807,1833,1784,1484,1743,1789,1818,2298,2237,1522,1407,1707,2111,1977,1517,1483,1075,963,1327,1681,1867,1648,1857,2120,1834,1587,1635,1767,1957,2019,1893,1678,1837,2691,2735,2302,1931,1847,2489,2530,2491,2273,1790,2143,2300,1972,1832,1703,1594,2153,2036,1925,1998,1783,1627,1608,2197,2233,1749,1678,2043,2132,1873,1943,1641,1444,1624,1784,1769,1758,2489,3460,2899,2125,2830,2461,2249,1902,1566,1622,1662,1916,1878,1749,1609,1594,1558,1582,1527,1571,1618,1668,1677,2269,2876,2823,2857,3160,3088,2934,3016,2692,2127,2587,2697,2922,3153,2372,1879,2070,2813,2611,1821,2070,2479,2510,2719,2584,2437,1917,2015,1887,1619,2008,2157,1820,1920,1708,1465,1913,2635,2454,2187,1758,1842,2056,1736,1458,1665,1844,2069,2533,2551,2182,1754,1554,1794,1708,1691,1640,2369,2896,2404,1844,2159,2450,2017,1941,2104,1904,1747,1913,2336,2599,2150,1755,1677,1682,1807,2071,2237,2145,1883,1760,1916,2446,3089,3310,3049,2280],[2175,3228,2548,2183,2402,2653,3632,4153,3698,3097,2920,2876,2483,2285,2126,2909,2651,2402,1853,1904,1942,1812,1989,2261,1901,1445,1565,1476,1705,1931,2081,1873,1822,1494,1418,1730,1641,1470,1640,1556,1526,1561,1916,1906,2092,2901,3332,3140,2175,1690,1707,1637,1806,2051,1526,882,914,1270,1875,2329,2452,2644,2531,1919,1894,2545,2685,2614,1753,2490,2657,2750,2966,2218,1959,1793,1743,2091,2057,1836,1961,1861,1810,1565,1493,1960,2418,3014,3375,2908,2199,1675,1548,1905,2067,1908,1830,2377,2220,2382,2568,2614,2939,2856,2618,2390,2001,2010,2098,1693,1388,1672,1498,1521,1652,1466,1425,1390,1886,1756,2021,2474,1976,1698,2400,3637,3120,2774,3014,3699,3348,2865,2453,2378,2718,2974,2994,2769,2433,2275,2925,2613,2019,2658,2685,2251,2129,1952,1597,1796,2125,1787,1905,2041,1798,1630,1939,2730,2842,2535,2978,3384,2734,1478,1156,1433,1916,1961,1556,1419,1420,1333,1424,1364,1334,1688,1726,1448,1693,1852,1846,2879,3441,2652,2125,2056,1866,1776,2149,2074,1906,1843,1907,1892,1959,1827,2136,2149,2465,3001,2266,2212,2384,2408,2251,2522,2365,1875,1828,2092,2163,2571,2075,1590,1738,1994,2332,2527,2289,2241,1960,1981,2140,1992,2150,1971,2092,2316,2733,2694,2420,2150,1836,2019,2261,2096,1954,2013,2085,2265,2233,2252,2357,2249,2164,2522,2437,2604,2957,3263,2711,2173,2215,1736,2164,3216,3630,2727,2440,2589,2745,3228,3828,3896,3630,3086,2632,3025,3534,2337,2328,3307,2595,2938,3404,3035,2604,2731,3243,3009,2450,1946,1748,1929,2031,2421,1870,2100,2625,2580,1985,2074,2201,1953,2308,1958,1980,2608,2957,2221,2226,2107,2598,2322,1896,1931,1671,1625,1699,1873,1952,2085,2112,2379,2193,1759,2326,2463,1879,1862,2033,1825,1773,1721,1432,1562,1968,1549,1562,1541,1631,1840,2238,2280,1832,1953,1830,1729,1970,2215,2589,2309,2035,2031,2018,1744,1419,1467,1477,1697,2166,1924,1417,1434,1497,1371,1416,1449,1316,1288,1377,1593,1648,1550,1629,1660,1626,2042,2437,2203,1763,1617,1412,1328,1426,1564,1480,1565,1588,1378,1264,1292,1340,1331,1384,1342,1378,1271,1224,1371,1431,1819,2075,1907,1878,1716,1417,1348,1533,1480,1431,1375,1837,1992,1675,1489,1511,1384,1381,1541,1627,1459,1481,2407,2540,2766,2590,2294,2338,2041,1477,1544,1532,1739,1898,2140,2167,1431,1549,1812,1700,2000,2721,3009,2520,1841,1586,1631,2107,2025,1692,1849,1664,1333,1421,1737,1516,1345,1357,1598,1611,1657,1350,1405,1591,1647,1722,2313,2467,2025,1828,1761,1850,1977,1820,1696,1639,1727,1557,1772,2419,2713,2304,2379,2381,1743,1931,2349,2288,1880,1606,1864,2138,2101,1956,1746,1781,1678,1752,1931,1980,2231,1973,1770,2652,2654,1966,2155,2213,1859,1745,1658,1969,2293,2617,2564,2170,2263,1938,1946,2197,2185,2217,2188,2175,2031,1767,1545,1526,1832,1658,1588,1434,1277,1372,1271,1338,1372,1352,1421,1416,1285,1308,1374,1388,1444,1391,1404,1445,1305,1242,1259,1236,1257,1406,1427,2052,3074,3194,3561,3580,3648,3593,3131,2830,2778,3062,2530,1562,1300,1490,1973,1526,1429,1288,1392,1359,1360,1427,1273,1289,1344,1627,1904,1779,1484,1531,1727,1758,1593,1600,1766,1520,1499,1500,1838,2019,1924,1586,1429,1460,1458,1449,1481,1931,2293,1979,1946,2224,1885,1902,1918,1757,1869,1704,1365,1305,1521,1543,1625,1674,1552,1626,1767,1736,1710,1814,1690,1607,1619,1605,1671,1612,1752,1794,2199,2380,2422,2248,2220,2360,2431,1910,1549,1621,1402,1344,1281,1315,1435,1457,1258,1217,1308,1258,1265,1471,1516,1584,2291,2683,2724,2270,1879,1523,1540,1604,1804,2010,2017,1734,1625,2220,1817,1598,1541,1522,1459,2190,2534,2591,2535,2046,1902,1803,1502,1835,2267,2069,1616,1723,1398,1301,1363,1397,1614,1984,1858,1282,1213,1224,1471,1622,1682,1764,1841,2085,2135,1826,1754,1803,1785,1826,1771,1777,1788,1788,1734,1763,1833,1717,1784,1792,1842,1770,1808,1727,1709,1592,1360,1243,1348,1293,1292,1300,1365,1276,1344,1377,1363,1599,1805,1967,2066,2055,1998,2077,1831,1689,1570,2015,2171,1273,926,1287,1439,1512,1575,1593,1566,1391,1363,1684,1499,1502,1503,1442,1423,1633,1749,1801,2043,1906,1722,1694,2122,2116,1797,1836,2282,2701,2858,3119,3383,3196,2272,2206,3103,3830,3399,3385,3464,3011,2508,2620,2456,2058,2324,2723,3398,3698,3431,4171,4296,2679,2053,1997,2584,2836,2219,1968,2043,2322,2881,2343,2375,1909,1949,2152,2098,2565,2635,2123,1768,2106,2777,2649,2167,1924,2599,2613,2396,2078,2297,2136,1979,2260,2611,2318,1777,2182,2904,2744,2717,3074,2447,2192,2699,2915,2898,3105,2921,2507,2714,2603,2113,1830,1959,2637,1792,1623,1770,2092,1868,2047,2060,1910,2095,2436,2576,2172,2238,1968,1829,1743,1514,1343,1529,2425,2155,1321,2041,2434,1624,1376,1265,2412,2973,2724,3143,3514,3223,2745,2158,1892,1903,1569,1597,2226,2298,1949,1862,1914,2043,1947,2151,1885,1626,1848,1793,1642,2186,2407,2483,2437,2394,2521,2480,2449,1899,1504,1460,1318,1202,1212,1359,1222,1251,1406,1304,1427,1440,1401,1376,1390,1395,1143,940,1228,1568,1380,1336,1353,1181,948,832,1078,1226,1063,1116,1360,1556,1722,1925,1950,2069,2267,2396,2294,2240,2235,2170,2286,2413,2433,2445,2295,2388,2797,2755,2631,2508,2577,2444,2343,2220,2106,2481,2549,2065,1876,1644,1506,1504,1511,1557,1685,1454,1471,1518,1516,1476,1439,1359,1250,1318,1322,1380,1434,1341,1329,1139,1021,1088,1184,1282,1334,1278,1134,1311,1522,1215,911,1161,1179,935,786,983,1353,1655,1766,1676,1737,1593,1478,1383,1171,876,841,1189,1346,1300,1389,1865,1990,1849,1809,1693,1756,1651,1979,1846,1785,1743,1621,1415,1771,1784,1649,1889,1731,1728,1768,1864,1938,1624,1189,1491,1623,1640,1614,1640,1389,1132,1261,1590,1704,1736,1830,1973,1852,2045,2255,2232,2111,2007,1527,929,1041,1387,1408,1483,1892,1638,1660,1608,1493,1296,1330,1428,1314,1457,1606,1432,1273,1283,1425,1832,1899,1895,1744,1408,1367,1532,1457,1535,2135,2309,1820,1489,1256,1214,1265,1310,1268,1307,1262,1188,1197,1143,1193,1223,1225,1328,1717,1938,1544,1811,2156,2003,1995,2316,2586,2291,1805,1592,1666,1838,1685,1529,1594,1594,1558,1309,1251,1391,1396,1430,1549,1500,1414,1272,1610,1573,1422,1699,1784,2176,1806,1427,2089,2372,2120,1897,2014,2719,2920,3184,3286,3428,2978,2331,2370,2698,2773,2893,3111,3101,3038,3211,3241,2937,2592,2588,2651,3243,3327,2577,1804,2045,2588,2294,2193,2191,1692,1699,2618,2980,3078,3146,3220,2751,2332,2562,2952,2975,2444,2513,2918,3075,3172,2773,2927,3139,2993,2841,2868,2621,2709,3244,2578,2452,2898,3050,2761,2673,2739,3002,2796,2620,3002,2989,2777,3162,3541,3616,3270,3288,3160,3130,2890,2343,2720,2851,2632,2823,3108,2771,1719,1254,1328,1615,1671,1381,1202,1188,1323,1310,1335,1642,1813,1677,1859,1930,1299,1650,1727,1549,1219,1622,1678,1471,1250,1245,1478,1289,1550,1417,1260,1385,1649,1714,1901,1968,1841,2138,2279,2013,1850,1748,1635,1627,1704,1576,1382,1119,1029,1114,1487,1606,1453,1378,1404,1454,1209,1466,1710,1478,1363,1363,1265,1315,1338,1429,1324,1588,2593,2825,2155,2027,2362,1808,1747,1579,1336,1389,1854,1980,2144,2030,1629,1531,1384,1510,1672,1449,1475,2043,1922,1682,1737,1915,1980,1884,1922,1790,1685,1620,1568,1769,1996,2750,2287,1554,1537,1548,1530,1538,1760,1693,1578,1915,1798,1921,1754,1361,1246,1362,1453,1445,1599,1721,1483,1699,1948,2116,2113,1978,2105,1883,1613,1675,1728,1520,1469,1371,1359,1605,1981,2198,1517,1785,1798,1545,1459,1415,1444,1605,1609,1706,2019,2165,2217,2106,2255,2144,1786,1842,1787,1684,1588,1625,1760,1445,1566,1983,1937,1563,1879,1688,1570,1717,1744,1706,1690,1821,1889,1615,1664,1703,1737,1552,1561,1629,1854,1952,2024,2191,2313,2300,1997,2075,2237,2212,2044,1711,1701,1759,2197,2088,1997,1793,1492,1456,1692,2028,2164,2241,1814,1593,1656,1730,1996,2082,1830,1657,1655,1688,1669,1754,1693,1636,1935,2391,2106,1557,1468,1696,1854,1803,1704,1659,1740,1557,1599,1676,1998,1833,2039,2679,2817,2269,2355,2111,1725,2129,1824,1605,2047,1643,1399,1863,1977,1732,1655,1605,1898,2008,1537,1790,2138,1972,1756,1547,1891,2457,2950,2431,1819,2093,2136,2053,2058,1948,2071,2016,2064,1902,2056,2175,1964,2089,2150,2145,2264,1945,2242,2589,2304,2545,2271,2046,1946,1758,1652,1746,1658,1991,2423,2314,1920,1696,1722,1977,2448,2118,1192,1118,1454,1470,1910,2335,1959,2032,2139,1654,1574,1604,1771,1983,2008,2073,1867,1825,2653,2637,2164,1846,1864,2116,2283,2294,2022,1603,1706,2003,2285,1983,1811,1684,2183,2154,2042,2142,1793,1578,1506,1917,2146,2069,1900,1946,1922,1631,1659,1624,1515,1692,1775,1792,1888,2158,3055,3034,2151,1969,1879,1881,1601,1631,1776,1634,1565,1626,1559,1461,1615,1640,1815,1691,1783,1677,1524,1975,2877,3150,2934,2912,3045,2809,2978,2714,2381,2475,2752,2703,3406,3108,2532,2802,3225,3265,2443,1997,2750,3011,2647,2741,2637,2602,2031,1837,1843,1635,2011,2004,1639,1788,1762,1448,1559,1985,2148,1994,1957,2219,2230,2003,1724,1814,2006,1854,2035,2019,1729,1691,1905,2092,1971,1787,1769,2040,2188,1697,1550,1714,1619,1733,1917,1867,1788,1897,1952,2116,2015,1756,1818,1602,1565,1717,1963,2251,1882,1651,2028,2282,2577,2424,2450,2857,2193],[2660,3133,2542,2165,2762,3454,3670,3498,2957,2357,2310,2698,2770,1876,1652,2498,3016,2521,1882,1896,1990,1813,2200,2255,1728,1593,1782,1666,1892,1805,1638,1625,1582,1395,1251,1481,1716,1729,1703,1395,1503,1640,2320,2317,2276,2818,3356,3024,2056,1722,1798,1810,1354,1397,1100,1005,1117,1588,2220,2424,2462,2332,2216,2281,1965,2040,2104,2685,2265,2262,1954,2601,3229,2564,2120,1953,1836,1905,1950,2062,2061,1888,1658,1868,1769,2021,2445,3372,3277,2012,2237,2367,2027,2150,1932,1904,1880,2165,1851,2203,2167,2057,2698,2923,2607,2225,2032,2098,2141,1923,1855,1901,1617,1376,1391,1512,1938,2174,1990,2061,2669,2360,1824,2006,2766,3418,2568,2973,3392,3772,3259,2535,2473,2408,2879,3487,3420,3149,2885,2647,2618,2262,1858,2724,2683,2354,2137,1819,1692,1750,2020,1703,1431,1672,1589,1555,2586,3342,2387,2110,2867,3366,2852,1452,1141,1346,1949,2511,1666,1443,1388,1338,1435,1421,1738,2145,1945,1887,1714,1793,1916,3087,3494,3436,3151,2501,2076,1659,1621,2027,2134,2238,2792,2834,2154,1741,2229,2255,2754,2784,2567,2270,2431,2233,2006,2116,1818,1685,1786,2084,2263,2592,1920,1524,2133,2524,2405,2281,2548,2768,1938,1887,2232,2646,2345,2209,2402,2662,2856,2303,2276,2433,2554,2477,2242,2054,1838,2054,2178,2410,2566,2938,2759,2325,1933,1842,2316,2602,2829,3310,2677,2534,2453,1843,1733,2171,2978,2513,2199,2348,2633,2974,2942,2963,2731,2380,2438,2669,3010,2756,2721,3231,3162,2900,2492,2283,2042,2174,3113,3007,2393,1786,1629,1559,1835,1894,1995,2362,2238,2009,2008,2230,2068,1886,2262,2512,2004,2076,2438,2231,2314,1976,1834,1977,2019,1640,1638,1860,1835,1895,2348,2093,2160,2236,2521,2423,2028,2178,2374,2124,2376,2474,2048,2112,1547,1637,2002,1605,1523,1678,1703,1813,2086,1791,1388,1885,1907,1793,1960,2118,1973,1807,2002,2176,2478,2126,1404,1461,1321,1664,1897,1593,1320,1290,1504,1502,1384,1265,1323,1378,1370,1393,1412,1420,1453,1327,1531,1953,2648,2624,2656,2250,1495,1394,1566,1799,1912,1659,1444,1284,1384,1333,1299,1340,1399,1403,1449,1322,1237,1383,1484,1511,1456,1502,1466,1509,1449,1541,1709,1830,1640,1466,2036,2818,2522,1625,1376,1355,1462,1450,1612,1516,1590,1919,1896,2018,2131,2113,1954,1691,1809,1970,1661,1746,1990,2058,2009,1774,2222,2481,2269,2126,2316,2398,2397,1929,1633,1678,1950,2061,1692,1439,1650,1635,1474,1412,1410,1552,1583,1913,1986,1919,1498,1382,1558,1982,2080,2590,3064,2565,2310,2259,2359,2099,1914,1701,1704,1716,1648,1877,2556,3067,2688,2123,1987,1716,2113,2862,2350,1981,1998,2103,2066,2029,1732,1556,1591,1595,1722,2169,2343,2461,2622,2476,3505,3660,2330,1656,1830,1814,1782,2090,2165,2104,2180,2180,2136,2271,1930,1764,1987,2253,2642,2477,2367,2360,2232,1539,1664,2154,1668,1564,1536,1520,1561,1460,1396,1376,1372,1408,1428,1287,1409,1396,1326,1368,1388,1349,1484,1569,1650,1951,1939,1613,1504,1474,1656,2266,2642,3263,3355,3406,3427,3189,2835,2683,2943,2566,1772,1556,1616,1520,1459,1410,1366,1432,1290,1209,1321,1477,1671,1719,2017,2496,2366,1695,1550,1708,1821,1722,1800,1718,1804,1977,1808,1668,1389,1232,1373,1471,1450,1560,1500,1476,1742,2028,1954,2039,2201,1825,1958,2032,1730,1764,1855,1989,2422,1980,1663,1802,1795,1828,1820,1708,1557,1601,1643,1579,1502,1577,1732,1826,1897,2097,2048,2153,2507,2597,2241,1973,2104,2121,1721,1722,1675,1427,1270,1249,1276,1290,1271,1271,1272,1292,1346,1300,1317,1385,1654,2813,3282,2886,2243,1904,1631,1560,1538,1781,2006,1813,1728,1542,2112,1904,1534,1632,1792,1913,2454,2708,2880,2785,2015,1919,1934,2031,2380,2434,2062,1709,1743,1465,1536,1516,1548,1572,1670,1466,1186,1083,1556,1726,1536,1616,1770,1986,2492,2674,2272,1992,2155,1900,1965,2043,1838,1793,1715,1766,1784,1814,1814,1757,1750,1761,1821,1829,1697,1748,1802,1603,1500,1499,1566,1708,1572,1509,1385,1299,1355,1480,1820,1840,1975,1945,2385,2612,2397,1856,1610,1762,1653,1243,814,1205,1542,1806,1858,1758,1664,1708,1542,1427,1527,1500,1416,1405,1574,1729,1840,2067,2219,2216,2215,2049,1722,2275,2116,2230,2574,2486,2372,1915,1908,2092,2182,2030,2520,2985,3034,2492,2974,2674,2026,2170,2064,1891,2379,2620,2765,3062,3567,4192,4479,3876,2743,2405,2123,2293,2526,2394,2510,2308,2389,2542,1963,2029,1671,1559,2265,2775,2796,2832,2745,2320,2482,2755,2146,2172,1654,1774,2169,2312,2201,2265,2412,2622,2426,2278,2132,2044,2421,2687,2360,2414,2756,2348,2589,2540,2546,2777,2525,2561,2834,2874,2428,2243,1685,1483,2004,1987,1866,2002,2052,2204,2220,1944,2325,2885,2609,2647,2266,2148,2042,1906,1687,1600,1544,2239,2808,1822,1674,2480,2109,1405,1191,1788,2654,2474,2746,3326,3208,2975,3072,2401,1867,2194,2182,1548,2048,2292,1954,1991,2046,1658,1709,1864,1605,1366,1298,1472,1643,2088,2203,2169,2326,2266,2250,1756,1450,1393,1409,1550,1360,1263,1220,1291,1272,1293,1382,1295,1249,1322,1482,1563,1492,1508,1404,1090,1296,1630,1460,1160,847,891,1068,1372,1688,1622,1506,1645,1690,1593,1609,1725,1814,1886,1880,1860,1806,1732,1678,1904,2428,2699,2938,2844,2548,2329,2576,2393,2178,2032,2431,2399,2193,2036,1994,2406,2839,3093,2907,2453,2209,1835,1709,1652,1546,1598,1628,1607,1550,1451,1501,1532,1578,1447,1304,1295,1268,1277,1344,1416,1362,1283,1226,1153,1156,1026,975,1347,1338,1256,1144,1059,1311,1556,1322,1394,1925,1659,1164,1456,1560,1639,1592,1458,1415,1583,1356,995,983,957,1241,1807,1961,1829,1722,1707,1720,1588,1664,1762,1805,1713,1644,1455,1631,1756,1489,1803,1551,1646,1475,1504,1996,1698,1265,1504,1467,1210,1309,1589,1637,1468,1390,1354,1416,1625,1669,1938,1914,2044,2209,2171,2115,2202,1902,1239,1271,1527,1365,1438,1715,1373,1626,1826,1483,1223,1304,1218,1275,1578,1677,1287,1147,1171,1472,1661,1825,2070,1818,1518,1515,1520,1402,1683,1670,1845,1889,1699,1324,1245,1224,1543,1714,1422,1246,1203,1297,1166,1248,1387,1551,1867,2277,2107,1548,1452,1709,1763,1968,2301,2326,1834,1594,1628,1780,1663,1535,1564,1505,1500,1388,1186,1304,1428,1381,1479,1549,1580,1448,1319,1772,1838,1655,1636,1664,1994,1878,1743,1946,1838,1852,1910,1819,2477,2923,3293,3372,3277,3154,3171,3083,3118,3264,3200,2932,2817,3046,3430,3323,2943,2633,2563,2654,3121,3342,2887,2236,2230,2526,2523,2424,1692,1430,2294,3172,3197,2752,2522,2941,2927,2078,2414,3090,2842,2474,2630,2520,2565,2580,2742,3139,3354,3032,2734,2956,2776,2563,2753,2718,3095,2949,2785,3095,3206,3242,3030,2494,2518,3186,3222,2924,3423,3718,3499,3332,3218,3022,2813,2469,2395,2495,2208,2121,2749,2800,2243,1601,1635,1922,1731,1538,1475,1383,1249,1174,1224,1394,1672,2210,2222,1726,1406,1170,1665,1750,1482,1231,1274,1299,1334,1266,1420,1648,1230,1500,1302,1236,1393,1772,1804,2126,2003,1685,2020,2036,1839,1475,1527,1654,1654,1650,1472,1229,957,1142,1386,1522,1676,1694,1498,1371,1345,1288,1632,1802,1456,1409,1492,1388,1306,1366,1562,1878,2173,3173,3319,2530,2942,2750,2347,1773,1328,1251,1332,1617,1867,2327,2298,1850,1452,1366,1509,1358,1364,1569,1682,1516,1487,1640,1767,1797,1787,1984,1687,1660,1589,1682,1735,1844,2235,1813,1347,1493,1903,1770,1530,1615,1620,1609,1578,1447,1680,1464,1480,1494,1356,1516,1499,1612,1787,1875,1815,1594,1627,1616,1792,1744,1713,1640,1687,1735,1493,1434,1388,1466,1571,2347,2744,2244,2641,2403,1703,1448,1309,1305,1424,1577,1834,2054,2242,2030,1986,1997,2003,1989,1907,1663,1593,1527,1853,2166,1657,1693,1842,1606,1503,1569,1762,1925,1869,1789,1660,1588,1807,1757,1659,1696,1750,1726,1571,1383,1378,1524,1824,2029,2030,2149,1876,2092,1788,1725,1930,2156,1933,1857,2145,2268,1696,1350,1458,1748,2070,1725,2101,2412,2100,1755,1624,1644,1685,1722,1829,1836,1831,1737,1627,1668,1862,1877,1827,1860,1876,1681,1624,1563,1682,1741,1752,1589,1239,1470,1569,1745,1580,1570,1638,2462,3031,2835,2279,2080,1991,1814,1992,1810,1735,1933,1645,1494,1861,1697,1443,1555,1509,1676,1999,1827,1779,1864,1788,1791,1757,1817,2023,2445,2141,1730,1698,1819,2193,2332,1816,1886,1760,2017,2026,2006,1998,2076,2041,2041,2200,2045,1830,2286,2456,2652,2946,2526,2613,2046,1861,2276,2477,2184,2059,2136,2006,1998,1820,1881,1959,1848,1914,1442,1368,1666,2076,2584,2617,2403,2383,1999,1618,1614,1585,1830,2008,2072,2052,1858,1997,2388,2259,1858,2096,2376,1995,2004,1722,1618,1611,1997,2233,2387,2119,1758,1612,1659,1527,1707,2023,1832,1790,1936,2469,2463,2104,2020,2000,1757,1580,1880,1922,1944,1865,2024,2468,2720,2369,2511,2431,2144,2041,2002,1887,1753,1868,1905,1687,1696,2004,1980,1670,1716,1841,2405,1994,1589,1568,1522,2045,2941,3034,2736,2852,3240,2876,2946,2631,2287,2502,2608,2587,3100,2981,2590,2706,3266,3131,2512,2125,3024,2912,2255,2169,2277,2341,2130,1715,1583,1576,1640,1525,1555,2201,2285,1983,1973,2231,2648,2720,2745,2494,1957,2070,1808,1699,1850,1958,1951,1701,1696,1765,1786,2027,2078,1944,2050,1759,1490,1399,1540,1669,1234,1283,1782,1654,1672,1882,1809,1821,1663,1693,1896,1781,1622,1549,1682,2164,1872,1875,2057,1871,1930,2105,2702,2858,2063],[2964,3096,2637,2574,3197,3625,3193,2574,2378,2451,2527,2718,2370,2059,1805,1723,1864,1880,1742,1719,1703,1828,2943,2789,2017,1814,1754,2058,2374,2015,1595,1440,1578,1778,1642,1687,1714,1772,1784,1669,1713,1686,2407,2387,1839,2379,3109,2949,2181,1905,1998,1868,1469,1589,1295,1148,1312,1877,1968,2098,2313,1871,1749,2370,2084,2138,2321,2287,2321,1998,1869,2638,2919,2510,2459,2268,2292,1947,2017,2359,2286,2065,1560,1995,2320,2464,2707,3283,2830,1755,2714,2508,2332,2257,2021,1870,2299,2060,2153,2136,1770,1709,2050,2732,2691,1844,1673,1503,1584,1909,2110,1712,1418,1513,1512,1811,2386,2429,2342,2623,2268,1906,1836,1975,2154,2256,2523,3216,3806,4305,3790,2817,2612,2269,2752,3033,3437,3449,2765,2116,2306,2496,2121,2071,2309,2455,2252,2128,1824,1857,1990,1818,1588,1505,1805,1817,2242,2535,2019,2008,2297,2426,2278,1823,1088,1352,2496,3143,2524,1823,1470,1473,1506,1626,1890,2462,2708,2988,2098,1708,1833,1939,2354,2964,2901,2244,1794,1503,1724,2149,2430,2604,3637,3350,2330,1843,2137,2177,2188,2883,3213,2678,2567,2190,2020,1869,1914,2070,2144,2763,2689,2467,2228,2039,2552,2425,1925,1912,2303,2375,1990,1961,1818,2223,2328,2430,2594,3028,2818,2532,2816,2490,2305,2308,2658,2553,2398,2824,2795,2702,2379,2508,2669,2486,2299,1994,2334,2152,2242,2551,2054,1848,1923,1738,1652,2525,3145,2488,2078,1996,2466,2257,2021,2498,2958,2249,2170,2675,2686,2248,1926,2777,3642,2855,1847,2172,1830,1938,2380,3018,2399,2008,1828,1623,2003,2018,2001,2135,1980,2620,2740,1768,1593,1654,1605,2468,2267,2008,1937,2131,2232,1874,1793,1881,2011,1613,1619,1822,2358,2396,2569,1994,1887,1959,2193,2707,2437,2384,2542,2088,2477,2442,1846,2172,1685,1396,1928,1743,1617,2046,1746,1649,1792,1807,1872,2166,2194,1957,2293,2744,2430,1755,1520,1918,2315,2327,2154,2091,1619,2055,1920,1623,1386,1246,1635,1843,1359,1284,1335,1362,1353,1302,1285,1134,1230,1245,1647,1725,1737,2194,2736,2154,1547,1469,1577,1587,1520,1565,1505,1338,1319,1318,1283,1499,1486,1248,1387,1318,1202,1265,1348,1394,1464,1573,1442,1281,1349,1448,1576,1749,1711,1738,1670,2212,2649,1851,1509,1582,1678,1600,1527,1493,1482,1691,2061,2540,2315,1930,1814,2014,2286,2127,1781,2003,2310,2079,2128,2874,3310,2867,1999,1603,1918,1882,1820,1692,1548,1781,1849,2078,2063,1751,1763,1988,1833,1293,1286,1508,1839,2221,1952,1771,1454,1329,1984,2632,2316,2388,2804,2943,2512,2626,2342,1807,1685,1620,1793,1842,1809,1975,2100,2126,1962,1876,1664,1428,1532,1750,1780,1911,1937,1936,2023,1787,1543,1402,1449,1622,1583,2039,2490,2513,2360,2154,2385,2388,1831,1521,1759,1833,1923,2173,1993,1849,1637,1997,2632,2664,2116,1876,1894,2214,2815,2652,2604,2255,2006,1498,1485,1668,1654,1543,1344,1476,1707,1703,1632,1310,1350,1334,1291,1260,1220,1238,1288,1477,1605,1497,1517,1542,1875,2537,2351,1790,1465,1599,1892,2610,2995,3230,3378,3470,3475,3298,3040,2699,2957,2997,2342,1842,1532,1417,1400,1281,1323,1266,1251,1308,1484,2033,2518,2285,2112,2633,2767,1870,1704,1688,1822,1848,1814,2205,2540,2420,2007,1471,1355,1335,1395,1739,2085,2232,1931,1658,2082,2281,2050,2054,1989,1791,1946,1977,1809,1895,1921,2081,2810,2092,1767,1880,1990,1930,1797,1640,1571,1651,1707,1753,1949,2127,2280,2194,2283,2530,2438,2318,2338,2669,2613,1978,1780,1787,2080,2326,2048,1552,1389,1227,1216,1405,1422,1331,1422,1358,1475,1495,1406,1591,1709,2665,3249,2518,1786,1539,1385,1377,1584,1680,1954,1769,1751,1766,2219,2253,1907,1925,1905,1938,2570,2961,2485,2338,2332,2320,2260,2216,2330,2476,1957,1564,1546,1718,1592,1525,1864,2010,1670,1147,1489,1285,1681,1954,1698,1702,1862,1865,1999,2057,1796,1865,1840,1737,1964,2078,1696,1846,1809,1663,1702,1905,1889,1765,1774,1758,1645,1520,1691,1709,1818,1788,1698,1699,1795,1838,1860,1782,1727,1707,1636,1712,2016,2118,2065,2339,3011,3317,3349,2613,2099,2207,2055,2013,1215,1649,1855,1910,2098,1801,1825,1927,1428,979,1237,1682,1896,1663,1870,1964,2018,2388,2545,2181,2534,2939,2916,2969,2416,2111,2470,2389,2140,2219,1880,1620,1985,1998,2303,2224,2056,2370,2908,2576,1647,1397,1288,1665,2622,2688,2732,2879,2922,2695,3233,3087,2530,2907,2765,2720,2480,2287,2276,2579,2641,2026,1960,1982,1788,2005,2511,2942,2398,2403,2736,2938,3198,2819,2121,1844,1594,1532,1711,1737,1654,1607,1934,2025,1793,1919,2081,2153,2440,2336,2027,2254,2654,2523,2525,2291,2539,2987,2700,2724,2968,2732,2774,2527,1753,1976,2806,2532,2062,2064,1883,2078,1902,2188,2640,2578,2447,2260,1884,1796,1891,1806,1671,1730,2046,2901,2653,1519,2003,2485,1666,1149,1393,2585,2362,1821,1959,2353,2886,2665,2765,2450,2552,2776,2564,1786,2060,2310,2121,2148,1912,1632,1724,1672,1550,1402,1276,1505,1610,1732,1860,1705,1560,1581,1525,1240,1626,2486,1762,1538,1405,1268,1341,1391,1548,1333,1329,1458,1344,1388,1490,1376,1429,1424,1324,1427,1789,1695,1405,975,1052,1457,1684,1744,1718,1607,1644,1690,1614,1587,1541,1558,1693,1797,1543,1349,1388,1368,1470,2083,2585,2698,2900,2709,2121,1922,2192,2244,2076,1993,2394,2484,2065,1826,1722,1750,1969,2320,3069,3239,2978,3152,3047,2491,2296,2088,1714,1728,1576,1337,1343,1530,1609,1596,1567,1528,1424,1238,1172,1229,1333,1413,1472,1464,1242,992,1078,1311,926,1032,1570,1681,1885,1858,1366,1621,2389,1369,1046,1787,1644,1559,1511,1636,1726,2049,1932,1624,1420,1409,1590,1790,1871,1626,1674,1585,1397,1629,1736,1701,1688,1687,1623,1412,1541,1908,1379,1525,1375,1546,1522,1650,2117,1785,1301,1377,1110,1062,1201,1323,1513,1512,1733,1683,1482,1613,1801,1883,1977,1959,1964,2023,2053,2047,2001,1395,1405,1523,1651,1452,1321,1293,1566,1657,1353,1283,1350,1333,1319,1457,1613,1428,1025,1183,1558,1344,1477,1785,1742,1598,1456,1343,1621,2208,1780,1597,1763,1568,1280,1272,1136,1570,1747,1298,1232,1229,1334,1229,1435,1542,1885,2366,2422,2068,1612,1565,1906,1784,1876,2042,1942,1465,1412,1539,1738,1623,1479,1462,1583,1571,1100,978,1295,1328,1340,1550,1853,1672,1472,1319,1418,1697,1677,1473,1375,1672,2011,1848,1502,1840,2349,1980,1735,2117,2868,3269,3397,3370,3275,3124,3027,3210,3475,3270,3191,2971,2905,2994,3042,3063,2811,2613,2643,2877,3107,3066,2838,2477,2862,3051,2872,2001,2438,3509,3824,3259,2689,2640,2901,3063,2502,2509,2718,2783,2587,2189,2231,2505,2665,2729,2868,3083,3145,3022,3210,2788,2513,2336,2863,3377,2998,2956,3234,3182,3086,2941,2611,2554,2762,2920,2832,2978,3052,3111,3288,3204,2629,1905,2098,2562,2610,2607,2543,2714,2156,1418,1154,1440,1761,1687,1411,1313,1274,1165,1174,1273,1337,1293,1615,2193,2350,1830,1490,1698,1727,1403,1169,1273,1281,1283,1318,1558,1763,1280,1316,1272,1332,1620,1748,1776,1957,1608,1461,1827,1740,1726,1559,1551,1528,1492,1639,1576,1278,1053,1435,1772,1669,1534,1603,1470,1524,1455,1256,1582,1703,1512,1553,1562,1368,1324,1492,1972,2700,2138,2432,2632,2315,2584,2599,2516,1761,1277,1210,1232,1461,1561,1997,2819,2862,1895,1469,1546,1921,1775,1546,1787,1519,1479,1714,1714,1693,1601,1889,2157,2201,1953,1906,1719,1719,1876,1652,1562,1587,2316,2130,1741,1921,1768,1694,1455,1584,1701,1489,1674,1570,1455,1476,1469,1511,1607,1663,1486,1377,1338,1491,1518,1459,1569,1675,1628,1602,1726,1454,1343,1451,1750,2624,2349,2150,2700,2356,1444,1109,1578,1824,1664,2185,2035,2088,2188,1852,1675,1795,1895,1970,2087,2200,2230,1808,1760,1971,1746,1525,1784,1650,1459,1549,1807,1980,1878,1677,1610,1377,1587,1678,2045,1995,1916,2002,1808,1580,1618,1601,1939,2171,2509,2222,2492,2802,2097,1663,1790,1952,1905,1883,1820,1646,1578,1505,1717,2135,2428,2014,2008,2010,1805,1794,1820,1823,1684,1758,1708,1597,1861,1730,1709,1709,1799,1868,1808,1729,1642,1591,1582,1373,1433,1499,1449,1453,1530,1749,1636,1520,1749,2091,2116,2291,2570,2543,1843,1826,2147,2155,2017,1903,1977,1643,1443,1615,1678,1611,1923,2135,1939,1980,2335,2198,1978,1815,1746,1638,1673,1879,2118,2184,2159,2149,1938,2087,2574,2730,2018,2077,1825,1810,1912,1887,1735,1815,2071,2125,2106,2136,1647,1722,2428,2263,2731,2641,2453,2237,2322,2641,3009,3003,2330,2231,1846,2131,2173,1805,1877,1624,2018,1876,1678,1954,2320,2351,2115,2722,3024,2446,1807,1579,1690,2321,2341,2182,2030,1880,2077,2485,2316,1925,2154,2381,2186,2041,1661,1642,1803,2048,1846,1860,2053,1855,1573,1681,2294,2735,2490,2126,1963,2251,2601,2320,1863,1942,2024,1560,1522,2163,2039,2084,1953,2228,2436,2250,2058,1750,1614,2036,2045,1682,1889,1970,1814,1671,1571,1771,2144,1933,1752,2055,2158,2002,1763,1595,1611,1817,2277,2458,2418,2724,3186,3075,2962,2915,2494,2425,2765,2678,2789,2894,2886,2301,2333,2160,2370,2366,2159,2434,2379,2031,2053,2147,1856,1936,1729,1531,1636,1530,1562,1763,2508,2546,2010,1993,2558,2835,2887,3030,2698,2115,2018,1663,1606,1825,2060,2166,2060,1969,1691,1541,1564,1703,1807,1590,1521,1799,2027,1787,1670,1427,1441,1584,1541,1630,1616,1588,1601,1482,1528,1802,1600,1452,1643,1961,2248,2051,1857,1852,1853,1938,2266,3306,3123,2100],[2973,2523,2587,3122,3145,2976,2431,2161,2333,2453,2702,2356,1785,2248,2188,1709,2062,1951,1833,2077,1960,2087,2587,2177,1781,1735,1715,1721,1516,1504,1396,1420,1582,1490,1423,1498,1593,1703,1501,1587,1743,1818,2332,2106,1723,2346,3125,3233,2646,2285,2020,1708,2088,1886,1551,1478,1494,1960,1834,1995,1845,1702,1621,1811,1738,1771,1796,2254,2606,1946,1590,2334,2503,1825,2008,2151,2493,2265,1805,1872,2105,1853,1520,1860,2061,2415,2725,2337,1882,1798,2678,2342,2371,2847,2218,1870,1922,1678,1844,2101,2315,2436,1798,2319,2513,2127,1716,1673,1852,1812,2025,2022,2010,2170,1764,1699,2476,2497,2723,2753,2417,2396,2191,2288,2426,2206,2332,3142,3830,4207,3948,2797,2500,2271,2042,2221,2724,2700,2032,1719,2326,2890,2988,2730,2486,2569,2266,2249,1813,2148,1916,1844,1992,1871,1904,1980,2109,2288,2210,2230,2387,2237,2094,1671,1197,1564,2585,3330,3172,2268,1599,1453,1552,1635,1687,2222,2651,2695,2007,1721,1998,1953,1965,2301,2490,2447,2261,1993,2119,2568,2265,1768,2725,2747,2729,2945,3001,2588,2125,2132,2457,2534,2541,2407,2256,1952,2205,2281,2458,2647,2173,2196,2230,1972,1941,2089,2394,2330,2281,1905,1905,2097,2189,2509,2758,2434,2103,2439,2198,2423,3067,2750,2225,2220,2366,2001,1990,2268,2304,2352,2380,2577,2689,2610,2502,2331,2086,1835,2424,2690,2245,1779,1631,1583,1692,2489,2735,2489,2430,2171,2354,2031,1917,2378,2579,2358,2762,3129,2289,1504,1689,2531,3274,3098,2157,2260,2270,2488,2523,2617,2204,1942,1885,2071,2242,2087,2357,2180,2319,3666,3310,2229,1534,1560,1484,1582,1817,1963,1944,2299,2546,2410,1826,1334,1542,1846,1859,2000,2178,1887,1853,2282,2559,2025,1764,2143,2183,2151,2482,2403,2349,1744,1544,2257,2040,1377,1682,1760,1700,1837,1528,1358,1471,1887,1794,1692,2184,2178,2064,2483,2837,2285,1466,1599,1837,2152,2589,2636,2041,2557,2545,1756,1412,1375,1865,2134,1513,1442,1292,1318,1349,1359,1260,1241,1365,1265,1426,1449,1289,1897,2366,1641,1584,1421,1499,1581,1614,1728,1794,1717,1521,1346,1316,1389,1221,1445,2023,1576,1356,1249,1455,1643,1476,1399,1329,1283,1360,1384,1544,1842,1702,2095,1748,1988,2081,1589,1571,1571,1562,1658,1745,1569,1590,2025,2640,3248,3077,2795,3041,2643,2414,2376,2021,2122,2117,1664,1804,2779,3064,2980,2289,2080,2275,1826,1571,1627,1692,1735,1799,1898,1929,2142,2150,2076,1766,1422,1412,1460,1544,1525,1350,1441,1665,1950,2274,2887,2533,2366,2144,2500,2754,2902,2314,2132,2200,2298,2554,2544,2821,2678,2054,1476,1610,1882,1654,1091,1383,1952,2122,2119,1825,1996,2559,1997,1802,1824,2150,1909,1604,1946,2242,2054,1699,1436,1451,1529,1505,1435,1519,1771,1785,1760,1858,1563,1494,2180,3038,3207,2398,1858,1976,2201,2276,2044,1942,1670,1410,1400,1645,1936,1796,1555,1378,1489,1543,1976,2024,1842,1677,1447,1324,1236,1316,1594,1517,1331,1302,1405,1403,1416,1773,2183,1719,1516,1446,1520,1742,2393,2974,3300,3416,3343,3270,3293,3064,2858,3222,3261,2168,1658,1401,1322,1442,1388,1285,1368,1420,1441,1718,1967,1966,1649,1741,2354,2518,1818,1664,1609,1670,1935,2173,2368,2632,2674,1946,1349,1400,1380,1738,1989,2097,2103,1993,1873,2153,2238,1977,1863,1858,1747,2010,2052,1809,1991,1888,1930,2036,1812,1770,1844,1836,1686,1648,1569,1805,1891,2159,2592,2752,2651,2668,2449,2429,2374,2524,2580,2103,2023,2209,2304,2388,2019,2204,2587,2357,1955,1636,1499,1634,1494,1433,1365,1380,1341,1496,1716,1587,1516,1513,2188,2523,2136,1835,1702,1675,1919,1795,1476,1503,1597,1294,1725,2326,2258,2220,2220,1924,1833,2098,2640,2187,2092,1933,2169,2114,1919,2118,2011,1691,1588,1441,1506,1542,1607,1827,2748,2138,1415,1450,1583,2360,2622,2260,2473,2766,2504,2134,1881,1752,1857,1798,1835,1798,1674,1511,1633,1631,1404,1431,1609,1486,1528,1524,1372,1362,1208,1301,1675,1864,1923,2009,1924,1842,1812,1770,1795,1760,1716,1821,1936,1978,2038,1978,2792,3310,3160,3549,3027,1963,1771,1894,2065,1954,2123,2119,1819,1710,1609,1731,1788,1390,1050,1542,1702,1858,1709,1704,1542,1701,2285,2568,2204,2248,2850,3272,3340,2873,2240,1950,2020,1793,1910,2219,2059,1874,2092,2180,1947,1924,2116,2460,2356,1794,1656,1913,2374,2573,2755,2819,2924,2893,2350,2529,2395,2309,2996,3137,2645,1932,2169,2352,2263,2119,1899,2348,2684,2413,2092,2047,2707,1832,1829,2086,2650,2785,2052,1650,1720,1944,2115,2036,1583,1394,1290,1604,2123,2696,2496,2503,2500,2596,2307,2334,2762,2518,2314,2359,2306,2753,2988,2691,2733,3099,3084,3110,2537,1995,2648,3238,2597,2125,2058,1957,2104,2068,2884,2903,2602,2300,1989,2031,2094,1892,1647,1696,1996,2241,2459,2025,1471,1882,2002,1871,1697,2226,2524,1808,1571,1268,1788,3240,2979,2508,2760,2884,2209,2211,2131,2054,1987,1965,2022,1638,1473,1446,1341,1374,1406,1432,1616,1680,1548,1570,1532,1471,1498,1360,1250,1561,2780,1756,1334,1282,1263,1446,1573,1509,1265,1527,1759,1419,1389,1416,1299,1311,1275,1385,1476,1488,1428,1330,1116,1268,1615,1589,1554,1562,1701,1742,1765,1937,1834,1606,1616,1687,1549,1328,1655,2044,2092,2064,2407,2526,2669,2774,2720,2557,2568,2604,2597,2587,2414,2222,2208,2048,1919,1804,1698,1732,1935,2400,2814,3150,3200,2964,3046,3190,3022,2586,2242,2028,1725,1534,1624,1639,1671,1848,1758,1542,1542,1441,1399,1284,1221,1328,1357,1334,1102,1300,1090,941,1504,1582,1439,1587,1599,1554,1789,1920,953,1589,2298,2381,1983,1588,1409,1366,1451,1400,1403,1477,1487,1471,1546,1621,1431,1755,1614,1610,1905,1751,1605,1579,1617,1542,1447,1510,1897,1369,1431,1439,1473,1791,2038,2261,1847,1212,1467,1219,1237,1330,1278,1303,1484,1831,1840,1649,1847,2014,1857,2028,1991,2030,2143,2154,1971,1995,1644,1426,1363,1316,1197,1342,1530,1527,1482,1417,1592,1688,1541,1373,1363,1630,1711,1406,1576,1666,1330,1299,1327,1464,1451,1405,1460,1951,2600,2332,1754,1454,1326,1288,1284,1233,1173,1053,915,998,1278,1403,1416,1473,1464,2011,2692,2768,2302,1736,1668,1788,1458,1593,1747,1578,1372,1470,1531,1645,1553,1370,1577,2097,1904,1285,1252,1603,1545,1332,1367,1770,1588,1548,1540,1454,1613,1545,1341,1418,1884,2100,1722,1690,2300,2156,1925,2040,1991,2212,2837,3770,4086,3650,3237,3267,3053,3543,3572,3372,3103,3002,3153,3227,3210,3185,3171,3050,3078,3077,2917,2965,2797,2622,2872,3182,2606,2795,3753,3949,3493,3010,3002,3025,2502,2820,3212,3174,3056,2874,2643,2608,3021,3007,2797,2857,2925,3097,2631,2989,2590,2361,2417,2879,3296,3230,3119,3059,2842,3000,3174,2942,2684,2920,2924,2885,2823,2858,3060,3075,2894,2343,1753,2245,2590,2540,2554,2665,2286,1636,1168,1105,1324,1521,1674,1573,1413,1329,1302,1247,1196,1267,1376,1530,1914,2294,2200,1946,1895,1731,1432,1270,1321,1282,1476,1504,1460,1281,1164,1229,1270,1424,1717,1678,1804,1757,1512,1559,1610,1573,1636,1658,1433,1339,1567,1542,1394,1387,1128,1469,1450,1478,1367,1386,1578,1692,1514,1368,1540,1582,1601,1830,1383,1264,1390,1489,1821,2133,2054,2458,2601,2342,2099,2252,2195,1538,1348,1241,1205,1467,1581,1720,2799,3252,1998,1282,1744,2330,1851,1491,1514,1409,1393,1514,1739,1756,1505,1706,2386,2585,2025,1448,1531,1639,1571,1580,1381,1777,2738,2288,1909,1946,1647,1357,1390,1853,1705,1447,1401,1461,1475,1402,1305,1403,1530,1550,1478,1500,1665,1804,1808,1682,1393,1503,1594,1569,1837,1592,1466,1488,2066,2405,2011,1773,1612,1672,1251,1476,2144,2138,2092,2568,2577,2134,1864,1836,1668,1626,1583,1590,1831,2084,2181,1743,1548,1704,1641,1468,1501,1591,1820,1588,1562,1670,1610,1589,1716,1430,2024,2176,1946,1953,2054,2151,2188,2104,1941,1748,1907,1911,2043,1851,2261,3087,2855,2146,1809,1689,1693,1832,1622,2034,1878,1666,1701,1831,1789,1824,1777,1580,1642,1924,2109,2136,1911,1739,1596,1548,1578,1555,1704,2069,1911,1831,1865,2009,1959,1639,1678,1410,1383,1611,1656,1622,1515,1519,1399,1361,1614,1848,1781,1840,2380,2680,2168,1790,2104,2013,2137,2244,2002,1593,1515,1764,2164,2330,2720,2326,2219,2285,2334,2239,2335,2290,1975,1735,2035,2539,2215,1958,2251,1903,1669,1964,2326,2410,2202,2635,2317,1871,1803,1771,1810,1786,1856,2199,2103,2247,1768,1579,2056,1907,1923,1914,1975,2321,2510,2431,2197,2662,2347,2298,1999,2396,2420,2034,1799,1588,1604,1703,1744,1793,1669,1791,2150,3407,3116,2491,1967,2070,2233,2176,2109,2045,2056,1836,1813,2383,2155,2114,2625,2536,2658,2467,1947,1849,1816,1648,1616,1672,2054,2120,1945,2701,3317,3287,2639,2073,1808,1910,2295,2060,1506,1804,1904,1798,1693,1706,1890,2119,1999,2109,2120,1863,1669,1510,1757,2232,1978,1901,2073,2132,2046,1879,1799,1956,2137,2370,2148,1971,1930,1625,1698,1815,1659,1740,2076,1918,1983,2642,3101,2563,2686,3089,2690,2329,2674,3063,3417,3119,3143,2994,3159,2045,1555,1834,2505,3054,3012,2470,2015,2094,2081,2292,2097,1755,1780,1654,1640,1843,2183,2188,1850,1974,2713,2646,2478,2515,2250,2030,2008,1632,1414,1509,1940,2198,2027,1883,1783,1710,1444,1522,1930,1563,1482,2179,2703,2525,2141,1802,1629,1643,1631,1669,1927,1661,1543,1479,1438,1693,1792,2214,2537,2294,2306,1936,1680,1817,2241,2223,2585,2855,2184,1804],[3074,2979,3067,3111,3024,2802,2524,2259,2218,2432,2578,1891,1689,2332,1682,1510,2183,1694,1848,2126,2182,2265,1808,1514,1753,1794,1549,1333,1139,1400,1411,1773,1822,1597,1599,1633,1643,1625,1605,1597,1632,1814,2122,1710,1982,2548,2791,3235,2940,2545,2083,1735,2050,1692,1312,1504,1445,1644,1992,1906,1533,1489,1494,1511,1555,1665,1748,2142,2492,1869,1540,2093,2166,1911,1782,2032,2127,2183,2298,2062,1716,1593,1548,2021,1896,2093,2103,1802,1622,2165,2553,2966,2665,2409,2320,1715,1590,1780,1894,2208,2566,2510,2172,2527,2731,2477,2131,2031,1849,1566,1905,2610,2547,2305,1679,1504,2657,3284,2950,2780,2896,2732,2489,2425,2259,1989,2540,3350,3751,3582,3652,3199,2799,2097,1920,1968,2105,1997,1577,1883,2429,2867,3354,2990,2392,2530,2555,2202,1815,1815,1730,1743,1787,1741,1630,2122,1946,2015,2121,2460,2482,2035,1838,1458,1667,2251,2404,2274,2150,1886,1507,1569,1938,1570,1460,1825,2201,2551,2350,2041,1916,1830,1907,2211,2247,2569,2270,2463,2389,2016,1636,1816,2103,2943,3676,3587,3185,2998,2608,2148,2197,2188,2224,2187,2326,2391,2514,2763,2661,1923,1804,1931,2115,2250,1902,2578,2858,2269,1910,1992,2078,2217,2688,3286,3082,2681,2150,2379,1837,2081,2367,2591,2015,1908,1905,1772,1597,1707,1854,2087,2601,2610,2801,2591,2236,2086,2005,2127,2519,2869,2842,2207,1948,1687,1859,2449,2558,2542,2367,2141,2944,2653,2049,3205,3373,2695,3418,3674,2596,1773,1804,2243,2933,2951,2365,2264,2307,2270,2296,2258,1925,1739,2314,2512,2071,1868,2472,2467,2762,3873,3191,2637,1955,1545,1605,1337,1492,1780,2007,2126,2570,2177,1728,1276,1749,2513,2862,2801,2265,1690,1522,1828,2054,2024,1792,2056,1830,1696,2152,2419,2662,1982,1549,2271,2221,1559,1692,1820,1938,1854,1602,1568,1547,1854,1855,1716,2107,2329,1993,2321,2621,2308,1697,1604,1923,2642,2801,2599,2226,2589,2417,1787,1506,1346,1516,1690,1389,1395,1371,1296,1408,1338,1298,1393,1367,1216,1169,1236,1310,1523,1537,1391,1449,1430,1509,1800,1990,1971,1852,1562,1339,1253,1226,1208,1254,1541,2372,1738,1350,1459,1738,1776,1503,1421,1422,1447,1429,1444,1486,1641,1505,1822,1573,1470,1373,1356,1358,1423,1570,1571,1648,1523,1468,2149,3101,3549,3602,3362,3383,2500,1913,2277,2348,2106,1714,1538,1736,2631,3317,3423,2984,3061,3025,2679,2207,1844,2122,1928,1459,1470,1472,1640,1937,1805,1455,1390,1440,1417,1427,1532,1741,1812,1773,2022,2078,2231,2023,2019,2068,2334,2902,2682,1951,1969,2680,2843,2735,2499,2798,2631,2386,1691,1932,2207,1848,1170,1174,1835,2489,2585,2048,1680,1540,1519,2107,2216,2084,1719,1521,1722,1791,1735,1729,1542,1532,1514,1553,1518,1926,2134,1896,1691,1756,1747,1824,2127,2868,2973,2173,1944,1932,1848,1594,1490,1616,1554,1494,1422,1614,1741,1724,2075,1676,1674,1509,1899,2332,2554,1967,1744,1711,1685,2054,2329,1783,1298,1267,1482,1437,1694,1599,1725,2025,1800,1537,1623,1742,2614,3222,3177,3206,3193,3167,3153,3122,3125,3445,3266,2195,1767,1595,1517,1432,1346,1382,1398,1384,1615,1921,1603,1324,1328,1440,2248,2644,2172,1762,1552,1552,2075,2565,2936,3121,2611,1790,1583,1511,1536,1870,1903,1993,2070,2040,2122,2171,1892,1746,1849,1876,2117,2556,2478,2297,2066,1795,1826,1770,1738,1721,1646,1697,1901,2055,1803,2008,2337,2141,2545,2576,2096,2255,2699,2565,2068,2120,2041,1511,1404,1448,1771,1829,1556,1993,2286,2101,2040,1720,1892,2225,1864,1556,1390,1166,1233,1327,1582,1764,1567,1682,1802,1939,1932,2089,2109,1982,1959,1812,1534,1419,1459,1142,1505,1881,1702,2001,2060,2108,2175,2206,2429,2271,2197,1761,1486,1515,1673,2199,2210,1493,1453,1530,1528,1524,1815,1990,2954,2711,1710,1466,1779,1974,2104,2420,2917,3143,2998,2054,1735,2002,1951,1775,1764,1663,1565,1475,1351,1505,1633,1464,1222,1208,1368,1472,1301,1140,1011,1389,1872,1894,2188,2512,2334,1969,1853,1789,2122,2156,1961,1931,1883,1941,1940,2023,2735,3480,3372,3649,2980,1974,1819,1924,1892,1917,2003,2046,1791,1687,1663,1641,1670,1655,1647,1754,1676,1719,1827,1852,1707,1849,1973,2105,2186,1982,2285,3000,3278,3317,2949,2619,2742,2477,1873,1759,1781,2060,2204,1971,1928,2281,2570,2349,2012,1944,1821,1976,2267,2582,3118,3233,3492,3262,2326,2412,2313,2400,2835,3107,2008,1667,2388,2878,2819,2509,2063,2417,2248,1976,2049,2258,2465,1899,1805,1931,2153,2282,2115,1967,2189,2548,2899,2644,1911,1998,1476,1743,2852,3454,2752,2924,3328,2362,1676,2414,3074,2700,2945,2736,2569,2695,2082,1679,2283,2571,2501,2666,2348,2030,2442,2258,1951,2217,2403,2710,2666,2567,2955,2392,1957,1992,2160,2557,2309,1813,1647,1948,2001,2137,2202,2236,2153,2358,2187,2180,2442,2655,1958,1380,1136,1728,2667,2920,2340,2696,3252,3038,2623,2756,2471,1988,2098,2208,2059,1639,1442,1334,1378,1490,1533,1468,1637,1679,1453,1508,1564,1698,1668,1314,1343,1284,1312,1407,1329,1306,1335,1324,1321,1356,1335,1404,1299,1267,1351,1375,1265,1281,1345,1429,1404,1400,1350,1375,1282,1328,1513,1525,1578,1541,1781,1815,1790,1814,1560,1545,1520,1582,1740,2026,2521,2712,2623,2365,2348,2345,2620,2828,2747,2632,2678,2485,2230,2515,2579,2096,1901,1807,1782,1816,1831,1828,1606,1526,2259,3327,3408,3112,3100,3100,2788,2492,2089,2370,2390,2342,1998,1822,1870,1671,1595,1637,1606,1705,1733,1467,1345,1204,1187,1213,1421,1544,1047,1126,1615,1483,1332,1372,1421,1428,1697,1769,1471,1797,2169,2557,2338,1820,1271,1056,1349,1769,1770,1292,1010,1028,1080,1042,1270,1732,1780,1810,1764,1798,1581,1688,1802,1593,1324,1511,1851,1410,1315,1454,1437,1904,2332,2370,1768,1188,1594,1674,1489,1226,1238,1298,1361,1651,1819,1696,2001,2360,1881,2014,2011,2082,2216,2144,1967,1891,1549,1226,1358,1327,1199,1376,1557,1527,1695,1566,1584,1542,1503,1615,1516,1361,1563,1833,1821,1548,1311,1382,1391,1394,1376,1375,1493,2062,2479,2200,1757,1418,1298,1175,1176,1018,1058,1129,829,1155,1543,1505,1665,1845,1812,2039,2698,2779,2074,1708,1518,1315,1405,1605,1599,1551,1382,1286,1275,1384,1572,1521,1549,1915,1918,1746,1643,1784,1679,1425,1813,1924,1534,1813,1975,1671,1416,1361,1500,1716,2122,2236,1801,1840,1913,1797,2146,2160,1933,1873,2459,3687,4277,3616,3072,3217,3406,3337,3019,3186,3142,3209,3330,3141,3111,3146,2846,3057,3257,3330,3167,2879,2731,2118,2220,2787,2530,2734,3431,3791,3834,3752,3351,2940,2467,2997,2953,2765,3107,3316,3123,3054,3321,2832,2735,2903,3012,3352,3160,2710,2358,2524,2746,2978,3118,3219,3211,2820,2530,3019,3033,2939,3088,3416,3322,3296,3262,3163,3210,3000,2830,2416,2252,2823,3118,2901,2611,2381,1876,1372,1113,1206,1355,1255,1283,1237,1240,1406,1521,1337,1226,1201,1362,1633,1550,1591,1760,1797,1902,1677,1472,1582,1328,1393,1606,1626,1540,1327,1158,1247,1344,1391,1655,1699,2004,1701,1533,1475,1540,1625,1690,1725,1579,1523,1642,1622,1391,1395,1114,1474,1467,1357,1259,1281,1470,1587,1537,1432,1401,1678,1837,1995,1445,1283,1413,1478,1883,2009,2345,2764,2544,2387,1938,2010,1853,1496,1393,1359,1350,1682,1932,2131,2728,2473,1661,1433,1477,1570,1441,1467,1404,1483,1425,1418,1596,1642,1543,1678,1814,1807,1625,1182,1427,1390,1409,1698,1606,2041,2575,2066,1628,1561,1407,1432,1670,2086,2008,2051,1774,1581,1454,1368,1271,1276,1354,1432,1544,1672,1810,1767,1537,1623,1892,2026,1853,1733,1819,1810,1605,1454,1581,1694,1742,1941,1614,1870,1621,2130,2769,2371,2235,2349,2098,1687,1770,1901,1714,1727,1470,1719,1650,1649,1925,1785,1642,1663,1693,1427,1390,2422,2741,1756,1447,1469,1451,1537,1853,2066,2751,2692,2097,1940,1934,2038,2172,1994,1888,1698,1627,1874,1801,1876,2095,2617,2967,2916,2168,1858,1662,1793,1863,2468,1957,1770,1695,1470,1427,1519,1477,1498,1597,1774,1883,1950,1786,2072,2143,1735,1565,1567,2473,3226,2707,2379,2068,1967,1617,1699,1787,1607,1600,1709,1669,1608,1551,1425,1260,1308,1453,1775,1637,1832,1848,1997,2019,1979,2257,2226,2081,1890,1819,1708,1592,1970,2952,2796,2721,2622,3008,2678,2213,2369,3123,2827,2068,2084,2720,2647,2023,2065,2167,2097,1915,1713,2002,1957,2091,2824,2691,2266,2389,2194,2038,2119,2137,2194,2094,1960,2217,2170,2023,1969,1791,1973,2554,2635,2317,2088,1729,1859,1875,1942,1837,2264,2454,2083,1894,1647,1458,1772,1881,1913,1715,1853,2655,3497,3273,2831,2590,2822,2695,2338,2256,2525,2580,1989,1896,2017,1730,2077,2454,2556,2842,2932,2500,1982,1631,1711,1856,1624,1697,2017,2254,2813,3089,2527,1876,1720,1680,1723,1860,1741,1877,2302,1932,1931,1900,1737,1996,2245,1906,1772,1993,1985,1670,1609,2063,2459,2354,2141,2012,2203,2037,1831,1856,1904,2069,2347,2132,1758,1483,1475,1679,1967,1989,2044,2161,2005,1946,2207,2345,2608,3128,3292,2930,2684,3518,3839,3752,3560,3652,3452,2859,1807,1376,1848,2631,3270,3152,2735,2426,2036,2678,2998,2307,2183,1983,1677,1709,1833,2005,2060,1894,1892,2034,1870,1925,1919,1796,1818,1936,1796,1555,1654,2209,2422,2149,1770,1769,1633,1452,1566,1643,1533,1469,1991,2421,1989,1841,1788,1604,1875,1854,1877,1904,1547,1496,1627,1644,1879,2035,2181,2316,1967,2292,1964,1870,2440,2656,2296,2465,2588,2509,2333],[3021,3020,2745,3222,3078,2680,2492,2376,2423,2449,2287,2155,2324,2361,1496,1666,2286,1974,2204,2118,1950,2143,1977,1682,1871,1802,1412,1507,1500,1795,1816,2270,2048,2065,2227,1810,1786,2312,2103,1589,1654,1599,2131,1927,2158,2486,2381,2996,3079,2566,1905,1621,1731,1501,1444,1787,1782,1798,2010,2023,1728,1553,1561,1588,1704,1979,1880,2120,2364,1859,1683,2031,2301,2621,2242,1998,1902,1983,2328,2214,1846,1901,1918,2249,1929,2052,1918,1695,1520,2351,2756,2828,2279,2218,2470,2041,1721,1809,1761,2324,2573,2330,1886,2189,2617,2643,2674,2216,1734,1513,1743,2300,2133,2002,1562,2213,3304,2868,2612,3444,4059,3696,2770,2474,2081,2349,2931,3537,3880,3609,3671,3235,2763,2052,2072,2542,2474,2142,1688,1766,2182,3091,3710,3046,2087,2590,3111,2456,2062,1878,1758,1707,1804,1815,1897,2132,1758,1860,1998,2440,2505,1953,1826,2098,2338,2314,2342,2043,2040,2072,1600,1628,2082,1719,1363,1322,1556,2304,2612,2436,2484,2272,2381,2306,2520,2618,2565,2579,2833,2741,2877,2956,2908,3537,4000,3941,3387,3588,3138,2367,2251,1780,1982,2015,2495,2977,2631,2893,3234,2424,2150,2261,2567,2911,1879,1748,2714,2386,1812,1672,2056,2358,2402,2661,2775,2258,1852,2275,2176,2211,2420,2361,1824,1574,1753,1720,1454,1511,1742,1998,2834,3060,2508,2264,2313,1963,1905,2370,2404,2666,2785,2532,2596,2232,2677,2866,2390,2358,2230,2110,3321,3344,2271,2629,2812,2452,2678,3249,2676,2054,2071,2196,2357,2135,1970,2153,2081,2108,2343,2288,1713,1640,1918,1756,1687,1877,2292,2450,2567,3262,2972,2329,2054,2005,1672,1478,1677,2050,2302,2041,2333,2088,1520,929,1626,2567,2684,2492,2418,2083,1971,1724,1985,2225,1736,1794,1825,1839,1938,1953,1971,1829,1844,2492,2265,1911,2099,2055,2061,1978,1978,1829,1642,1573,1599,1740,2359,2896,2324,2066,2309,2709,2519,2056,2733,2998,2338,1879,2210,2667,2430,1827,1545,1525,1380,1322,1173,1277,1381,1412,1424,1305,1311,1374,1407,1283,1240,1389,1464,1482,1500,1447,1674,1592,1396,1556,1670,1686,1548,1381,1182,1268,1242,1242,1366,1333,1647,1493,1424,1588,1568,1538,1836,1937,1880,1700,1648,1664,1551,1543,1706,1719,1414,1324,1301,1299,1470,1538,1510,1449,1610,1674,1533,2346,2937,3538,3972,3937,3570,2307,1648,1889,1792,1936,1835,1590,2335,3155,3248,3185,2688,2915,3688,3415,2308,1868,2182,1990,1487,1350,1522,1934,1980,1624,1399,1358,1368,1390,1397,1751,2232,1926,1446,1731,1848,1558,1533,1907,2524,3169,3068,2573,2320,2509,2829,2434,2485,2273,2397,2364,2276,1867,1814,1952,1822,1322,1192,1948,2626,2715,2264,2175,2090,1931,2211,2204,2014,1578,1292,1419,1573,1596,1698,1722,1689,1514,1413,1621,2170,2208,1874,1614,1622,1838,1972,2157,2394,2246,1802,1886,1842,1522,1335,1228,1488,1804,1626,1478,1646,1924,2020,2605,2254,2080,1634,1619,1773,1615,1648,1800,1908,1995,2001,1910,1661,1497,1418,1705,1542,1713,1576,1660,1875,1725,1540,1510,1560,2050,2260,2517,2920,2986,2956,2965,2890,2762,2706,2447,1997,1947,2273,1945,1487,1487,1496,1316,1406,1663,2022,1786,1376,1324,1282,2046,2400,1949,1625,1334,1582,1949,1736,1829,1852,1518,1503,1639,1637,1663,1754,1825,1669,1625,2163,2216,1838,1831,1990,1914,2062,2314,2464,2440,2337,2082,1852,1823,1927,2154,2056,1929,1994,2157,2128,1833,2091,2557,2545,2538,2035,1655,2078,2697,2871,2435,1632,1417,1421,1538,1510,1449,1392,1382,1608,1647,1562,1626,1570,1732,1843,1448,1650,1700,1381,1345,1354,1722,1806,1649,2077,1936,2042,2062,1966,1894,1776,1842,1865,1654,1511,1277,1215,1484,1620,1782,1914,1880,2065,2259,2293,2392,2077,1600,1402,1556,1645,1548,1685,1726,1327,1458,1635,1759,1697,1917,2314,3326,3155,1762,1557,1783,1756,1796,1738,2461,2884,2912,2106,1702,1797,1751,1644,1847,2026,2047,1600,1578,1577,1626,1539,1436,1494,1497,1502,1416,1172,1274,1848,1969,1965,2493,2841,2388,1832,1500,1504,2187,2404,2071,1602,1509,1760,1813,1959,2275,3043,3363,3077,2395,2046,2056,1762,1806,1831,1878,1974,1929,1860,1801,1838,1874,1843,2055,1980,1835,1898,2048,1978,1890,1931,2043,2219,2144,1931,2069,2286,3328,4156,3871,3499,3553,2990,2346,2338,1754,1826,2013,2061,1956,1946,2532,1970,1768,1944,1947,2088,2096,1990,2373,3124,3853,3664,2435,2327,2230,1938,2150,2282,2066,2170,2997,3676,3608,2717,2153,2095,1713,1771,1813,2210,2128,1513,1659,2233,2372,2585,2714,2686,2657,2867,3341,2923,2895,2556,1970,2214,2999,3216,2270,2314,2696,1894,1980,2814,3166,2768,2996,2922,2745,2404,1851,1872,2464,2570,2210,2266,2592,2622,2678,2236,1914,1902,2447,2635,2401,2120,2543,2365,1866,1982,2510,2558,2027,1787,1700,1969,1538,1463,1525,1880,2458,2647,2450,2375,2092,2039,1708,1306,1593,2633,2666,2083,1753,2487,3134,3338,3526,3454,2895,2488,2248,1698,1561,1730,1553,1390,1393,1528,1617,1494,1460,1501,1555,1684,1699,1785,1525,1257,1295,1388,1770,1755,1483,1473,1347,1229,1229,1428,1563,1371,1300,1300,1337,1378,1327,1483,1595,1758,2241,2136,1466,1419,1305,1274,1482,1630,1759,1812,1758,1707,1742,1570,1391,1395,1341,1490,1802,1907,2171,2360,2352,2204,2002,2050,2176,2144,2014,1792,1551,1576,1721,1688,1705,1808,1866,2041,2168,2218,2175,1873,1605,1562,1959,2864,2969,3006,2893,2872,2908,2600,2003,1990,2293,2238,1945,2082,2177,2306,2404,1786,1516,1538,1669,1601,1455,1461,1520,1440,1472,1506,1368,1517,1603,1565,1404,1232,1447,1679,1742,1483,1471,1821,2264,2432,2124,1754,1071,1341,1721,2380,2243,1662,1349,1211,1153,1168,1215,1347,1414,1657,1782,2208,1809,1605,1838,1748,1430,1702,1925,1535,1325,1472,1432,1744,2087,2181,1720,1279,1684,2105,1861,1422,1385,1411,1315,1556,1743,1902,2294,2308,1872,1977,1972,2140,2212,2027,1947,1802,1299,1473,2049,1875,1475,1511,1497,1712,1824,1715,1415,1317,1459,1480,1266,1341,1565,1971,1918,1513,1592,1642,1415,1376,1503,1554,1421,1557,1611,1483,1461,1332,1259,1532,1733,1336,1239,1291,1100,1201,1347,1650,2076,1877,1584,1539,2045,1941,1580,1583,1693,1544,1935,1876,1567,1549,1346,1251,1139,1042,1493,1672,1509,1546,1638,1919,1741,1462,1521,1800,2331,2526,2701,2696,2415,1754,934,976,1435,1824,2301,2158,1881,1753,1588,1866,1837,1731,1760,1823,1967,2818,3774,3342,3103,3408,3862,3770,3630,3531,3164,3237,3637,3522,3361,3189,2778,2754,2931,3084,3190,3191,2618,2076,2140,2250,2465,2822,3015,3416,3540,3331,2940,2469,2471,2736,2188,2041,3086,3977,3897,3776,3602,2964,2545,2818,3018,3041,3222,2850,2608,2738,2692,3008,3055,2988,3060,2876,2730,2730,2698,2724,3064,3484,3352,3010,2714,2770,3284,2984,3174,2866,3020,3452,3763,3298,2709,2277,1697,1423,1332,1257,1214,1168,1238,1225,1210,1296,1462,1397,1185,1154,1369,1338,1261,1694,1814,1793,1763,1632,1602,1691,1531,1558,1588,1694,1630,1344,1254,1310,1408,1840,1793,1754,1834,1570,1506,1621,1577,1594,1918,1925,1780,1767,1635,1674,1602,1356,1193,1339,1594,1470,1450,1528,1446,1516,1468,1416,1541,2017,1914,1681,1559,1601,1862,1758,2014,2326,2526,2699,2687,2862,2188,1864,1604,1562,1476,1464,1415,1455,1752,1956,1939,1790,1714,1814,1770,1380,1472,1678,1481,1452,1531,1496,1648,1699,1673,1844,1832,1707,1553,1394,1463,1467,1417,1626,1904,2037,2223,2056,1901,1809,1526,1516,1646,2008,2006,2382,2018,1599,1405,1328,1329,1294,1512,1776,1744,1751,1667,1656,1735,1667,2179,2231,1863,1848,1942,1824,1905,1734,1619,1614,1614,2088,1906,1953,2039,2183,2535,2570,2350,2678,2337,1786,2266,2066,1584,1500,1412,1722,1595,1610,1736,1808,1834,1955,2201,1471,2096,2908,2314,1698,1390,1428,1544,1708,2076,2706,3109,2712,2129,1953,1808,1638,1787,2257,2171,2068,2177,1917,1672,1813,2194,2499,2504,2895,2583,1754,1581,1695,1810,1946,1850,1680,1578,1538,1722,1833,1491,1622,1700,1701,1892,1990,1536,1649,1710,1750,1853,1962,2918,3294,2978,3018,2912,2404,1926,1982,1801,1670,1748,1589,1347,1390,1544,1488,1351,1354,1563,1929,1893,1777,1649,1663,1522,1708,1890,2265,2473,1846,1917,1875,1901,2197,3017,2524,2102,2518,2567,2076,1895,2387,2753,2240,2002,2046,2396,2106,2049,2243,2069,1914,1805,1696,1707,1721,2083,2562,2757,2248,2244,1831,2154,2508,2216,1992,1927,1738,2054,2374,2222,1896,1844,2192,1925,1820,2224,1848,1703,2036,2033,2000,1857,1945,1901,1806,1871,1795,1435,1574,1783,1962,2115,2127,2263,2740,2803,2852,3332,3082,2709,2679,2656,3099,2864,2314,2630,2213,1687,1723,2026,2625,2871,3027,2806,2432,1919,1723,2255,1901,1997,2509,2429,2264,1986,1566,1573,1711,2033,2175,1889,1656,2067,2034,1816,1844,1884,2014,1937,1674,1516,1688,2047,1932,1769,2093,1942,1887,2165,2105,2097,2019,1594,1419,1437,1575,1933,2198,1781,1775,1545,1558,1644,1990,2541,2526,2270,2062,2140,2334,2064,2424,3133,3178,2866,3188,3432,3459,3559,3193,3271,3186,2468,2359,2415,2588,2796,2447,2397,2109,1725,1754,2706,2734,2150,2292,2253,1953,1758,1716,1854,2066,1807,1597,1637,1883,1884,1852,1851,1859,1873,1898,1637,1634,2061,2446,2214,1842,1887,1879,1758,1740,1591,1686,1868,2392,2769,2233,1715,1625,1642,1928,2030,1942,1599,1542,1603,1563,1719,2273,2536,2190,2214,1871,2244,2030,1897,2008,2080,2246,2744,2750,2209,2137],[3068,2974,2714,2751,2763,2675,2478,2479,2758,2541,2299,2655,2037,1812,1838,2030,2037,2087,2243,2018,2143,2437,2188,1803,1737,1614,1290,1548,1620,2084,2383,2397,2151,2261,2327,1759,2002,2463,2350,1938,1746,1455,2327,2192,2144,2596,2775,2888,2999,2572,1985,2088,1900,1718,2123,2209,2041,2150,2123,2052,1918,1789,1916,1960,1919,1994,1864,2048,2221,1901,1961,2030,2350,2480,2165,2035,2083,2054,2083,2077,2157,2199,2238,2380,2303,2595,2393,1995,1706,2286,3033,2769,2217,2102,2288,2176,1830,1781,1693,1800,2069,2332,2120,2284,2824,3016,3008,2439,2383,1675,1485,1469,1521,1500,1744,2482,2956,2678,2750,3165,3566,3729,2736,2304,2226,3094,2909,3200,3482,3519,3617,3248,2892,2491,1845,2234,2630,2008,1679,1752,2288,3085,3374,2761,2018,2497,2911,2547,1996,1869,2028,1830,1879,2045,2254,1976,1818,2188,2056,2209,2526,2186,2318,2017,1939,1702,1653,1746,1686,1699,1426,1369,1801,1889,1634,1381,1594,2424,2465,2188,2320,2271,2712,2431,3047,2900,2502,2516,3002,3399,3541,3729,3760,3881,4038,3961,3328,3177,2767,2352,1968,1850,2430,2615,2785,3379,2941,2423,2428,2642,2780,2895,2562,2333,1973,2326,2873,2352,1811,1713,1807,1877,2010,2110,2348,1886,1788,2766,2281,2218,2667,2071,1622,1776,1880,1576,1460,1485,1671,1853,2354,2877,2933,2566,2200,1751,1953,2031,2138,2763,3123,3090,3319,3764,3089,2107,1720,2270,2245,2191,3194,3344,2497,2561,2586,2405,2352,2321,2451,2079,2372,2850,2931,2642,2392,2264,2313,2390,2850,2416,1614,1787,1836,1791,2178,2326,2056,1906,1996,2273,2577,2451,2343,2201,1606,1693,2088,2255,2277,1936,2042,2172,1741,1271,1487,2281,2911,2382,2283,2404,1908,1805,2260,2097,1654,1642,1594,1846,2051,1825,1961,2426,2100,2175,1917,1659,2014,2276,2578,2877,2697,2137,1865,1641,1516,1484,2226,2923,2501,1840,2262,3243,3074,2114,1902,2069,1708,1730,2473,2896,2591,1637,1635,1549,1421,1282,1355,1582,1515,1561,1503,1365,1318,1338,1403,1255,1318,1504,1848,2462,2332,1948,1958,1621,1431,1434,1509,1511,1383,1393,1324,1352,1228,1285,1349,1392,1579,1693,1523,1507,1432,1392,1872,1905,1721,1550,1663,1571,1441,1456,1987,2243,1755,1516,1431,1548,2094,1819,1741,1740,1735,1763,1672,2113,2683,3242,3633,3789,3199,1754,1578,1597,1698,1946,2358,2121,2844,3031,2451,2329,1937,2305,3259,3203,2398,2047,1941,1599,1450,1443,1597,1847,1720,1445,1410,1433,1256,1322,1339,1458,2003,1932,1517,2059,1996,1455,1680,2024,2310,2657,2524,2358,2367,2374,2140,2250,2604,2431,2391,2549,2707,2824,2630,2198,2059,1815,1438,1604,1996,2272,1966,1730,1549,1924,2420,2688,2262,1719,1378,1471,1573,1566,1631,1556,1557,1303,1428,1726,1676,1678,1710,1625,1722,2008,1832,1431,1392,1488,1478,1526,1481,1287,1282,1243,1281,1384,1489,1517,1677,1977,1951,2160,2119,1937,1783,1660,1476,1401,1455,1577,1704,1625,1558,1715,1511,1634,1602,1548,1551,1294,1374,1782,1653,1533,1541,1427,1627,1830,1886,2131,2059,1989,1903,1796,1632,1662,1670,1718,1759,2433,3138,2767,2297,1512,1245,1312,1403,1672,1795,1516,1342,1240,1434,1764,1509,1407,1588,1347,1628,1670,1366,1211,1239,1421,1584,1522,1688,1841,1655,1692,1911,2076,2375,2151,2045,2181,2078,1851,2156,2181,2180,2348,2149,2127,1784,1728,1821,2062,1958,2047,2012,2031,1958,1951,2078,2147,2248,2409,1498,1584,1878,2524,2727,2536,1703,1446,1516,1621,1571,1363,1370,1388,1323,1398,1620,1552,1314,1375,1493,1711,1896,1829,1710,1536,1574,1802,1592,1803,1993,1892,1986,1884,1677,1732,1622,1804,1920,1779,1751,1479,1565,1610,1564,1735,1765,2241,2468,2379,2381,2305,1815,1423,1482,1475,1680,1782,1926,1591,1540,1655,1535,1469,1443,1723,1982,2292,2347,1514,1626,1690,1557,1390,1572,1831,2244,2070,1736,1635,1772,1932,1713,1751,1890,2060,1803,2089,1632,1494,1742,1729,1560,1436,1583,1636,1369,1581,1857,2143,2083,1859,2326,2041,1737,1524,1533,2263,2414,1886,1721,1848,1769,1650,1782,1896,2163,2392,2221,2130,2271,2066,1808,1928,1873,1871,1840,1984,1921,2012,1936,1861,1794,1803,1725,1669,1783,1866,1870,1924,1824,1852,1907,1960,1804,1960,1932,2472,2888,3160,3200,3086,2676,2845,3720,2858,2189,2174,2392,1902,1648,1699,1662,1788,1863,1860,2104,2217,1786,1645,1819,2417,3044,2469,2150,2010,1939,1890,2236,2363,2414,3423,4197,3451,2403,2478,2060,2195,2374,2083,2195,2345,2177,2349,2388,2317,1981,2190,2332,2412,2621,3018,3073,3363,2512,2142,2380,2845,2868,1891,1935,2131,2617,2963,3086,2738,2757,2573,2721,2615,2315,2242,2044,2326,2224,2652,2757,2692,2278,2169,2225,2291,2553,2893,2814,2199,2317,3076,2564,1973,2207,2511,2150,1846,1644,1660,1636,1501,1584,1433,1579,1922,2035,2386,2386,2298,1907,2059,2227,2513,2455,1859,1364,1155,1843,3085,3387,3431,3619,3326,2722,2247,1777,1733,2057,1900,1623,1637,1749,1813,1788,1786,1954,1748,1694,1700,1801,1664,1527,1621,1666,1520,1365,1444,1422,1283,1293,1375,1468,1681,1496,1438,1444,1482,1550,1435,1461,1686,2092,2411,1785,1435,1486,1403,1305,1504,1683,1773,1776,1706,1628,1529,1466,1592,1548,1403,1301,1600,1610,1835,1910,1820,1861,1839,1788,1716,1740,1705,1208,842,1113,1312,1301,1289,1329,1489,1692,1986,2210,2144,2094,2006,2137,2287,2692,2629,2663,2675,2566,2497,2111,1842,2005,2081,1816,1736,1756,1767,1911,2075,2004,1974,1601,1372,1381,1546,1717,1661,1500,1646,1701,1683,1714,1683,1479,1334,1075,1210,1771,1771,1022,1410,2371,2475,2072,1755,1464,1226,1378,1847,2533,2362,1670,1311,1258,1178,1122,1249,1441,1328,1623,1785,1997,2150,1956,1979,2014,1959,1996,1916,1460,1289,1446,1408,1778,2058,2036,1548,1396,1808,2025,1919,1507,1341,1283,1321,1371,1511,1948,2536,2285,1935,1925,2025,2065,1829,1739,1904,1638,1225,1711,2083,2033,1736,1188,1113,1521,1508,1305,1230,1374,1496,1207,1349,1958,1811,1685,1806,1638,1956,1872,1581,1532,1687,1617,1365,1318,1342,1401,1381,1345,1249,1642,1531,1181,1185,1320,1346,1256,1177,1786,2623,2115,1817,1526,1495,1556,1599,1656,1678,1552,1867,1895,1610,1521,1274,1316,1246,1140,1406,1724,1447,1359,1491,1776,1670,1548,1591,1683,1953,2439,2754,2534,2232,1347,839,1138,1282,1518,1576,1551,1888,1844,1772,1817,1958,2018,1827,1824,1862,2073,2645,2858,2945,3152,3426,3476,3364,3144,3154,3235,3698,3517,3452,3241,3085,2875,2856,2768,2937,3227,2832,2577,2462,2437,2468,2920,3111,3266,3436,3385,3063,2674,2705,2497,2219,2263,2524,3441,3959,4032,3731,3161,2798,2780,2708,2902,3056,3096,2966,2658,2809,3197,3205,2835,2349,2171,2250,2277,2267,2348,2609,3052,2914,2705,2686,2401,2494,2480,2947,3066,3021,3294,3475,3051,2457,1898,1416,1456,1455,1320,1379,1355,1250,1499,1482,1265,1288,1273,1263,1330,1420,1451,1323,1555,1878,1697,1652,1679,1870,1920,1769,1648,1687,1750,1861,1594,1441,1378,1592,1888,1454,1452,1576,1599,1703,1720,1610,1619,1745,1960,1731,1783,1597,1773,2081,1566,1392,1771,1923,1958,2117,1817,1336,1322,1381,1339,1508,1371,1404,1468,1410,1745,2054,1827,2211,2208,2221,2421,2438,2492,2472,2360,1822,1545,1451,1464,1404,1237,1208,1277,1594,1779,2127,1970,1705,1409,1475,1799,1624,1494,1537,1470,1721,1719,1759,1799,1688,1647,1875,1772,1583,1481,1560,1680,1670,2136,2375,2170,2025,1896,1566,1448,1534,1844,2184,2132,1687,1650,1594,1380,1416,1416,1536,1730,1697,1771,1710,1590,1834,2048,1949,1851,1890,2059,1718,1449,1643,1731,1807,1802,2025,1956,2008,2314,2123,1697,2078,2471,1972,2283,2156,2099,2417,2313,1861,1604,1566,1477,1514,1606,1640,1684,1828,1896,1836,1553,2199,2113,1658,1543,1508,1626,1653,1643,2170,2841,2779,2160,2056,2286,1883,1429,1937,2308,2281,2338,2225,2008,1726,1571,1677,1980,1966,2009,1953,1825,1641,1720,1469,1375,1575,1458,1551,1680,2012,2132,1650,1619,1692,1597,2055,1981,1495,1519,1629,1969,2022,2386,3267,2554,1987,2427,3019,3034,2547,1974,1697,1700,1686,1582,1521,1475,1577,1598,2157,1748,1714,2010,2012,1814,2042,1976,1669,1527,1537,1602,1752,1780,1705,2077,2567,2722,2453,1907,1859,2101,1765,1533,1721,1793,2151,2190,1768,1753,2118,1890,2062,2252,2270,1993,1792,1687,1790,2111,2016,1801,2065,1957,2006,2048,2430,2677,2259,1860,1779,1943,2163,2336,2029,1984,1819,2026,1876,1689,1897,1804,1810,1754,1835,2008,2016,2006,1808,1802,1893,1932,1721,1637,1473,1736,2321,2198,1726,2172,2802,3331,3217,2967,2787,2184,1737,2205,2800,2568,2375,2112,1831,1807,2343,3035,2790,2862,2677,2786,2336,1784,2216,2014,2198,2240,1819,1787,1913,1749,1755,1710,2356,2414,1828,1631,1843,1885,1763,1721,1861,1957,1709,1599,1614,1765,2144,2102,2647,2884,2058,1595,2043,2569,2793,2279,1689,1637,1654,1612,1773,1923,2004,1892,1665,1478,1547,2045,2579,2473,2092,2343,2631,2864,2602,2835,3141,2413,2502,2807,2673,3005,3345,3305,3221,2836,2520,2943,2940,2773,2890,2180,2127,1737,1559,1845,2547,2814,2650,2409,2557,2263,1699,1948,2442,2580,2047,1711,1661,1766,1915,1843,1743,1976,1861,1880,1580,1543,1725,2031,2314,2567,2547,2234,1959,2051,1995,2239,2030,2835,3299,3096,2056,1841,1856,1725,1826,1660,1519,1633,1654,1654,1496,1774,2026,2237,2129,2078,2232,2030,1840,1864,2036,2116,2487,2305,1912,1925],[3000,2762,2775,2626,2595,2894,2902,2600,2464,2101,2222,2712,2591,1995,1950,2070,1866,2009,2378,2342,2387,2645,2505,2100,2067,1923,1637,1513,1633,2114,2172,2076,2114,2013,2458,2509,2601,2393,2575,2049,1644,1567,1912,1947,1970,2447,2916,2880,2718,2268,1928,2055,2294,2309,2487,2272,2045,1907,1776,1936,1951,1860,1917,1975,2202,2276,1989,1917,2230,1978,2249,2293,2192,2432,2258,2137,2410,2302,2115,2311,2535,2501,2382,2470,2508,2642,2674,2351,1990,2021,2246,2296,2365,2492,2344,2127,1931,1819,1789,1959,2178,2447,2392,2349,2721,3050,2796,2784,2663,1819,1516,1567,1874,1886,1813,2141,2431,2420,2651,3309,3969,4085,2664,1824,2185,3064,3235,2629,2134,2785,3637,3318,2511,2215,1686,1990,2398,1907,1813,2065,2697,3130,3009,2485,2367,2564,2973,2679,2050,2006,2115,2041,1851,2198,2715,2435,1936,2164,2323,2411,2584,2515,1928,1759,1541,1410,1478,1844,1690,1362,1328,1488,1714,1998,1936,1967,1669,2226,2365,2276,2088,2263,2646,2558,2418,2260,2256,2411,2808,2840,3321,3683,3710,3587,3563,3682,3550,3132,2802,2501,2121,2191,2836,2696,2161,2326,2108,1933,2057,2679,2938,2459,2172,2281,2890,3388,3221,2993,3014,2024,1874,1830,1522,1775,2373,2040,2175,2746,2026,1926,2288,2060,1677,1812,2045,1613,2058,1945,2076,2375,2775,3399,3294,2975,2104,1531,1512,1771,2088,2775,2678,3182,3544,4344,4052,2717,1921,2175,2119,2094,2432,2642,2546,2724,2432,2717,3068,2933,3163,3093,3387,3949,3834,3138,2328,2022,2271,2668,3001,2471,1753,2024,2173,2291,2511,2366,1972,1547,1710,2275,2336,2164,1649,1723,1937,1796,2138,2231,1830,1754,1972,2100,2233,2236,2008,2351,2818,2279,1972,2404,1902,1907,2811,2289,1499,1895,2100,1869,2005,1908,1841,1888,2031,2428,2094,1691,2004,2397,2751,3119,2890,2498,1957,1792,1524,1345,1678,2156,2242,1980,2299,3018,3088,2509,1904,2105,1539,1665,1694,2159,2099,1896,2192,2000,1759,1618,1716,1679,1410,1601,1521,1403,1329,1323,1264,1399,1629,1539,2004,3067,3326,2600,2017,1625,1580,1460,1484,1606,1458,1324,1363,1239,1248,1345,1398,1382,1494,1732,1448,1301,1437,1550,1468,1405,1348,1236,1368,1518,1564,1525,1895,1902,1679,1686,1610,1917,2238,1906,1793,1952,1941,1786,1808,2222,2829,3075,3099,3309,2692,1576,1586,1543,1684,1909,2537,2640,3020,3129,2513,2117,2171,2446,2807,3002,2502,2141,1996,1629,1458,1691,1754,1509,1406,1365,1396,1396,1260,1312,1403,1339,1651,1715,1662,2230,2214,1650,1574,2013,2171,2340,2108,1720,1995,1829,1891,2418,2758,2611,2331,2596,3058,3418,3098,2698,2274,2552,2164,1878,2134,2199,1946,1820,1937,1976,2381,2717,2862,2557,1694,1402,1432,1497,1431,1338,1364,1287,1359,1438,1292,1447,1703,1754,1831,1990,1749,1404,1368,1398,1300,1504,1659,1353,1270,1285,1331,1425,1414,1399,1686,1635,1407,1752,1952,1886,1838,1806,1855,1939,1596,1519,1345,1564,1686,1758,1690,1488,1439,1390,1395,1200,1318,1704,1615,1505,1876,1926,1600,1667,1897,1830,1632,1497,1532,1532,1528,1499,1517,1646,1820,2347,2931,2415,2513,1803,1334,1287,1252,1477,1704,1623,1262,1232,1194,1264,1206,1431,1672,1628,1532,1612,1335,1154,1324,1472,1528,1678,2008,2070,1726,1873,2305,2764,2545,2138,2113,1997,1869,1981,2361,2362,2250,2255,2088,2401,1953,2033,2041,2175,2082,1951,1974,2281,2526,2188,2072,2157,1706,1756,1498,1461,1488,2031,2536,2658,2178,2052,2122,1683,1248,1266,1479,1440,1386,1439,1544,1267,1422,1660,1691,1801,1612,1731,1736,1560,1584,1944,1733,1774,1622,1425,1613,1690,1499,1350,1480,1736,1858,1813,1687,1433,1752,1786,1526,1570,1418,1985,2071,2081,2524,2318,1950,1868,1627,1445,1822,1726,1962,2123,2214,1888,1816,1843,1700,1728,1659,1836,2298,1787,1773,1672,1655,1632,1472,1532,1916,1987,1905,1680,1758,1947,1634,1642,1508,1609,1501,1589,1486,1512,1737,1961,1867,1830,2613,2017,1616,1748,2132,2344,2170,1782,1830,1922,1682,1466,1825,2416,2068,1919,2474,2480,1876,1617,1491,1536,1836,2028,2027,2049,2101,1961,1859,1931,1873,1837,1874,1921,1820,1710,1628,1542,1505,1587,1640,1541,1491,1561,1742,1723,1662,1621,1706,1801,1792,1822,1817,1821,1866,2143,2383,2282,2947,3087,3596,3207,2154,2246,2148,1810,1792,1679,1634,1727,1792,1973,2210,2216,1959,1662,1505,1302,1762,2110,2193,2306,2199,2229,2669,2511,2832,3068,3501,3197,2545,2264,2160,2369,1915,1471,2270,2786,2377,1992,2182,2392,2035,1950,2101,1889,1960,2060,2184,2185,1820,2044,2567,2578,2359,1847,2042,2152,2482,2985,2492,2257,2566,2403,2701,2645,2787,2855,2186,2295,2257,2702,2779,1808,1224,2076,3024,3321,3308,2868,2451,2093,2743,3574,2983,2611,3025,2662,1854,1629,1470,1622,1792,2015,1815,1413,1910,2373,2438,2642,2283,2423,2292,2247,2458,2221,1897,1373,1111,1604,2447,2851,2564,2941,3377,3426,2710,1985,1488,1744,2151,1976,1860,2137,2198,2134,2045,1973,1979,1746,1780,1860,1847,1841,2024,2050,1646,1377,1561,1820,1914,1633,1450,1571,1828,2241,2069,1851,1821,1986,2265,1794,1599,1666,1568,1628,1460,1455,1544,1524,1697,1830,1787,1709,1558,1472,1469,1454,1593,1950,1939,1705,1677,1554,1528,1744,1530,1333,1419,1422,1527,1344,1274,1128,929,1100,1401,1343,1311,1386,1682,1638,1479,1457,1456,1577,1707,1930,2401,2543,2553,2886,3057,2940,2940,2725,2366,2207,2090,1667,1345,1911,1996,1897,1703,1621,1660,1761,1765,1684,1522,1381,1520,1599,1635,1626,1531,1409,1476,1610,1603,1575,1630,1594,1758,1814,1136,2042,3399,2967,2094,1498,1268,1342,1470,1883,2100,1920,1647,1355,1082,944,993,1246,1324,1136,1415,1510,1666,2153,2370,2374,2363,2285,1987,1942,1395,1410,1417,1171,1184,1315,1409,1367,1588,1787,1781,1602,1300,1404,1290,1295,1328,1370,1786,2346,2150,1942,2046,2117,2026,1798,1842,1987,1579,1331,1600,1469,1553,1516,1221,1260,1494,1633,1578,1371,1409,1348,1534,1985,2187,1929,1446,1286,1495,1825,1913,1766,1616,1687,1656,1514,1306,1372,1522,1433,1430,1315,1282,1182,1198,1294,1289,1212,1231,1264,1639,2267,1896,1692,1521,1789,1951,1598,1623,1786,1741,1623,1733,1503,1441,1265,1209,1413,1376,1406,1647,1670,1560,1522,1660,1933,1576,1472,1686,2134,2994,2879,1979,1744,1254,1125,1413,1489,1472,1343,1541,1731,1830,1652,1483,2220,1956,1610,1946,2171,1844,1876,2058,2316,2736,3000,3262,3504,3501,2967,2968,3223,3388,3640,3288,2979,3298,3430,3377,3460,3278,3193,3138,2732,2865,2911,3220,3446,3564,3353,3298,3576,3323,3008,2945,2696,2758,2562,3204,3730,3491,3271,3299,3230,2761,2612,2840,3450,3630,3474,3066,3221,3146,3275,2957,2561,2522,2369,1755,1815,2160,2310,2562,2854,2887,2888,2721,2473,2442,2799,2921,3041,3212,2941,2493,1828,1440,1077,1384,1571,1381,1323,1367,1412,1717,1639,1279,1128,1134,1235,1281,1760,1698,1334,1359,1502,1478,1597,1669,1885,2256,2237,2024,2029,2040,1904,1749,1653,1516,1732,1582,1381,1576,1639,1628,1681,1406,1391,1477,1498,1440,1509,1674,1732,1882,2060,1608,1364,1888,1848,1674,1950,1539,1360,1299,1454,1373,1392,1285,1294,1370,1619,2236,2366,1730,2089,1668,1570,1660,1547,2139,2496,2259,1823,1502,1395,1405,1666,1956,1528,1313,1447,1467,1637,1720,1670,1544,1551,1514,1467,1632,1729,1573,1750,1558,1459,1353,1507,1680,1754,1783,1643,1504,1656,1738,1772,2442,2260,2146,1706,1558,1716,1788,1630,1867,2042,1532,1600,1649,1681,1574,1492,1499,1426,1516,1448,1637,1784,1629,1896,2301,2137,1918,1646,1677,1445,1476,1481,1432,2075,2032,1964,1786,1778,2142,2211,2201,2513,2074,1595,1625,1895,2214,2020,1953,1819,1839,1772,1632,1591,1583,1476,1488,1692,1876,1943,1829,1676,1469,1453,1616,1653,1730,1722,1663,2106,2454,2269,1983,1825,2001,1980,1970,2596,2810,2503,2229,2146,2007,1844,1876,1716,1982,1998,1571,1404,1633,1792,1843,1577,1754,1957,1701,1643,1651,1756,1680,1490,1672,1839,1690,1937,1831,1475,1438,1762,2206,1972,2551,3376,3233,2520,2304,2589,2353,1809,1573,1568,1792,1839,1809,1721,1720,1649,1611,2312,1985,1931,2037,1887,2178,2339,2099,1819,1563,1502,1445,1460,1594,1551,2107,2492,2326,1947,1660,1814,1958,1842,2033,2378,2193,2597,2241,1731,2270,2364,1933,1880,2149,2398,2061,1975,2106,2286,2316,1737,1704,1587,1565,1949,2141,2291,2260,1835,1642,1548,1963,2160,2295,1782,1863,1931,1870,1771,1648,1583,1556,1743,1672,1735,2035,2230,2485,2427,2156,1909,1852,1765,1790,1760,1997,2311,1920,1759,2652,3039,2829,2565,2688,2396,2184,2013,2508,2968,2481,2186,2157,2143,2311,2081,2308,2724,3006,2991,3085,2653,1852,1662,1896,1898,1670,1732,2072,2055,1737,1817,1703,1946,2015,2036,1765,1654,1768,1764,1698,1772,1869,1667,1407,1526,1724,2381,2530,2412,2207,1998,2026,2092,2404,2636,2029,1766,1760,1875,1775,1648,1855,2046,1846,1731,1719,1483,1785,2102,1873,1816,2759,2843,2929,2951,3084,2923,1876,2254,2822,2431,2845,3190,3407,3355,3239,2827,2828,2768,2719,2965,3018,2778,2331,2181,2315,2688,2802,3034,2678,2526,2400,1954,1885,2637,2627,1972,1909,2063,2054,2101,1986,1567,1660,1858,1981,1849,1674,1721,1620,2238,2722,2208,1739,1791,2667,2220,2045,1932,2588,2802,2510,1956,2250,2293,1731,1599,1670,2156,1787,1810,1664,1409,1361,1305,1810,1871,1935,2085,2100,2333,1794,1763,2250,2601,2195,2307,2525],[2667,2297,2127,2241,2171,2729,2842,2236,1797,1700,2062,2749,2906,2515,1924,1559,1595,2065,2237,2402,2609,2684,2923,2365,1720,1527,1506,1350,1559,1774,1609,1647,1920,1886,2251,2678,2668,2448,2651,2267,1791,1709,1806,1787,2009,2677,2714,2792,2519,2030,2001,2124,2172,2107,2069,2091,2067,1801,1940,2169,1723,1503,1500,1824,2638,2704,2038,2562,2865,2122,2043,2270,2399,2469,2265,2202,2910,2620,1980,2178,2946,2934,2637,2929,3482,3649,3438,2756,1851,2100,1993,1963,2082,2153,2155,2237,2192,2200,2434,2537,2151,2087,2094,2026,1964,2508,2230,1867,2280,2154,1579,1561,1902,2172,2481,2897,2923,2639,2855,3628,3919,4053,2943,2245,2499,3008,3165,2456,1641,2379,3175,2425,1828,2058,1742,2175,2093,2136,2611,3064,3454,3710,3282,2366,2143,2437,3263,2847,2298,2298,2359,2288,2188,2105,2188,2311,1863,1885,2032,2448,2467,2041,2007,2379,1836,1430,1627,1694,1729,1717,1445,1543,1750,2197,2262,3108,2579,2108,2204,2411,2244,2629,2917,2366,1936,2213,2160,2043,2509,2934,3386,3592,3430,3469,3422,3259,3239,3181,3186,2897,2398,2151,2444,1986,1924,2127,2215,2433,2614,2975,2436,1800,1954,2367,2623,2901,3068,2856,2483,1919,1908,1987,2023,2086,2209,1781,1860,2361,1996,1570,1755,1894,1738,2131,2163,1879,2431,2164,2372,2787,3006,3337,3549,3212,1840,1504,1564,1822,2103,2776,2790,2974,3022,3205,3713,3580,2186,2119,2358,2280,2156,2766,3148,3656,3613,3613,3090,2875,2941,2778,3034,3386,3510,2877,2152,2209,2841,2736,2325,2208,1971,2277,2282,2330,2578,2115,2181,2239,2014,2556,2471,2016,1746,2179,2437,2117,2065,1798,1623,1635,1817,1944,2179,2663,2477,2257,2065,2323,2237,2199,2024,2098,2658,2432,2027,2063,1848,1571,1765,2009,1969,1821,1924,2293,2137,1697,1952,2479,2542,2686,2300,2545,2067,1611,1447,1524,1539,1795,2007,1718,2132,3003,3151,3011,2099,1934,1407,1789,1918,1708,1757,1914,2106,2214,1977,1635,1665,1832,1739,1668,1315,1293,1282,1314,1396,1562,1572,1459,1576,2135,2600,2524,2198,1685,1899,1543,1692,2145,1815,1361,1310,1290,1260,1305,1415,1328,1333,1414,1494,1347,1297,1369,1405,1377,1404,1300,1371,1891,2141,1801,2098,1657,1445,1457,1549,1612,1979,1886,1646,1983,2003,2005,1618,1730,2742,3133,3103,3211,2501,1682,1636,1630,2047,2664,2708,2304,3020,3318,3161,3028,3589,2980,2276,2103,1751,1542,1550,1583,1534,1526,1514,1671,1822,1678,1604,1372,1266,1275,1359,1507,1886,1880,1818,2355,2402,1969,1684,2122,2205,2350,2212,1980,2063,1784,1669,2159,2876,2711,2670,2835,3099,3328,2751,2229,1842,2127,1913,2009,2662,2766,2543,2469,2468,2238,2483,2641,3096,2857,1646,1263,1542,1546,1460,1696,2138,1984,1580,1430,1382,1449,1624,1848,1914,1754,1750,1724,1503,1429,1355,1394,1452,1362,1338,1355,1418,1487,1519,1447,1545,1493,1455,1755,2079,2334,1916,2129,2014,1920,1672,1462,1505,1491,1454,1506,2086,1961,1594,1537,1563,1556,1841,2001,1777,1676,2075,2222,1722,1568,1531,1485,1536,1696,1873,1904,1867,2013,1690,2060,2426,2779,2856,2421,2796,2016,1542,1332,1161,1305,1889,2033,1313,1243,1397,1566,1444,1617,1456,1361,1443,1436,1232,1159,1217,1310,1537,1723,1964,2076,1816,2172,2746,2670,2281,1990,1858,1890,1950,1989,2180,2388,2328,2279,2459,2559,2161,2160,2199,2122,1849,1639,1737,1771,1679,1697,2409,2495,1896,1830,1579,1273,1521,1867,1929,2048,2206,1999,1506,1280,1194,1428,1478,1493,1715,1812,1636,1651,2380,2623,2127,1624,1560,1510,1592,1584,1421,1903,1770,1522,1443,1430,1705,2073,2139,1880,1708,1905,1943,1816,1525,1340,1772,1831,1639,1526,1644,1819,1639,1571,1481,1721,1854,1663,1438,1369,1554,1694,2663,3025,2208,1754,1623,1740,1799,1475,1331,1716,1981,1958,1715,1487,1549,1567,1534,1642,1700,1675,1632,1519,1698,1842,1668,1550,1680,1694,1628,1556,1392,1494,1681,1691,1712,1863,2593,1871,1752,1815,2342,2640,2338,1800,1852,1841,1692,1883,2027,2156,1819,2080,2432,2372,1792,1390,1173,1251,1559,1791,1884,2050,2148,2040,2051,2076,2013,2137,1962,1849,1838,1735,1599,1525,1665,1852,1793,1560,1461,1556,1483,1580,1546,1510,1548,1561,1543,1622,1693,1684,1706,1771,2032,2212,2475,2242,2333,2428,2098,1736,1604,1705,1815,1765,1476,1496,1828,1846,1870,2008,1820,1735,1744,1571,1657,1825,2047,2375,2305,2288,2181,2719,2977,2566,2527,2788,2602,2499,2709,2652,2211,2323,3168,3232,2836,2708,2822,2266,1755,1469,1563,1679,1823,1830,1931,2086,1972,2290,2448,2315,2319,2141,2464,2434,2470,2537,1924,2046,2098,2071,2891,2358,1777,1625,1577,2187,2480,3225,2732,1885,2317,3091,3120,2934,3298,2765,2232,2550,2748,3390,3310,2465,2333,2267,1876,1573,1799,2314,2547,2526,1850,1583,2513,3103,3050,2805,2546,2477,2405,2685,2536,2064,2133,1487,1664,2855,2914,2249,2282,2907,3151,3134,2872,1978,1571,1947,1942,1788,1804,2207,2208,2035,2091,1994,2038,2389,2386,1949,1687,1621,2015,2021,1844,1826,1966,2207,1936,1409,1549,2033,2217,2378,2381,2199,2018,1828,1999,1777,1637,1592,1367,1510,1607,1605,1666,1691,1763,1748,1664,1542,1405,1406,1467,1409,1716,1946,1946,1840,2001,1929,1598,1361,1272,1256,1317,1516,1799,1344,1375,1474,1359,1238,1485,1544,1315,1949,2889,2172,1660,1535,1546,1582,1478,1473,1472,1502,1559,1964,2427,2739,2974,2691,2265,2195,1987,1452,1254,1810,1912,1909,2092,2127,1766,1628,1569,1576,1794,1725,1577,1335,1401,1542,1472,1405,1499,1404,1366,1535,1857,1882,1905,1794,1478,2787,2717,2148,1807,1513,1923,2339,2200,2102,1992,1535,1458,1244,991,863,766,1040,1110,944,1108,1438,1759,2060,2207,2340,2371,2154,1860,1961,1355,1255,1358,1087,1143,1387,1281,1467,1705,1571,1389,1510,1604,1948,1538,1323,1367,1450,1742,1991,1896,1764,1912,1926,1916,1936,2033,2093,1653,1530,1655,1410,1319,1552,1794,1750,1578,1583,1741,1475,1450,1338,1462,1628,1830,1825,1494,1405,1411,1436,1612,1595,1553,1530,1572,1456,1357,1373,1382,1295,1303,1236,1128,1133,1215,1249,1440,1455,1187,1157,1501,1808,1764,1807,2122,2460,2150,1819,1649,1787,2143,1537,1194,1175,1434,1486,2013,1848,1497,1482,1542,1697,1564,1305,1455,1838,1485,1691,2036,2395,2796,2488,1872,1674,1459,1287,1437,1522,1494,1436,1276,1185,1862,1438,1360,1626,1360,1425,2374,2646,1874,1817,1967,2507,2648,2778,2908,3365,3835,3277,3082,2956,3060,3462,3278,3273,3649,3839,3951,3785,3154,3322,3673,3248,2904,2979,3003,2947,3141,3282,3403,3618,3792,3164,2807,2702,2763,2867,2964,3287,3416,3217,3385,3470,3334,3064,2479,2645,2589,2868,3076,3382,3225,2751,2962,3182,2924,2418,1958,2420,2620,2585,2662,3025,3205,2986,2846,2675,2698,2942,2736,2739,2802,2294,1967,1616,1195,1045,1707,2027,1600,1385,1667,1650,1185,1241,1239,1270,1207,1170,1187,1578,1491,1418,1469,1553,1528,1565,1637,1615,1791,1714,1709,1957,2130,2002,2026,1753,1655,1731,1640,1522,1580,1417,1453,1336,1273,1309,1251,1346,1302,1392,1580,1750,1866,1976,1811,1466,1675,1421,1143,1453,1366,1436,1483,1368,1338,1337,1247,1255,1306,1515,1653,1943,1786,2342,2411,1898,2003,1980,2176,2387,2027,1727,1687,1542,1311,1637,2103,2100,1700,1434,1317,1272,1864,2003,1532,1519,1375,1327,1715,2020,1796,1649,1385,1294,1534,1664,1482,1528,1614,1613,1575,1503,1505,1854,2746,2080,1718,1672,1392,1388,1526,1441,1524,1973,2010,2575,2144,2010,1768,1650,1623,1553,1500,1530,1805,2199,1999,1719,2154,2288,1870,1490,1378,1409,1592,1685,2031,2308,2154,2249,2234,2071,2346,2396,2116,2270,1997,1640,1512,1585,1518,1539,1688,1791,2004,2152,1721,1572,1620,1457,1521,1549,1672,1882,2074,1903,1637,1909,1855,1809,1877,1669,1812,2534,2448,1822,1896,2017,2223,2223,2068,2387,2429,1942,1799,2053,1799,1626,1838,1834,2058,1842,1606,1870,1880,1895,1823,1842,1882,1940,1691,1594,1599,1577,1487,1515,1760,1812,1700,1642,1639,1476,1547,2277,2494,2202,2357,2786,3279,2848,2313,2197,1909,1942,1936,1640,1673,1945,2005,1722,1764,1570,1471,1741,1815,1690,1568,1944,2492,2412,2094,1725,1502,1439,1423,1558,1965,2051,2101,2174,2231,2240,2094,2231,2326,2656,2492,2929,2879,2494,2119,1986,2207,2326,2133,1963,1942,2043,1836,1955,2243,2136,1947,2152,2200,1844,1750,1718,1854,2250,1760,1484,1554,1722,2278,2487,2238,1822,1881,1944,1741,1607,1633,1818,1769,2257,2083,1934,2403,2545,2125,2402,2743,2228,1793,1989,2121,1864,1928,1926,1847,2507,3140,3151,2618,2562,2502,2492,2879,2778,2444,2315,2436,2407,2356,2450,2524,1814,1760,2411,3044,3111,2897,2544,1911,1785,2177,2012,1876,1842,1864,1659,1972,2010,1531,1310,1789,2161,1822,1728,1750,1622,1571,1707,1782,1770,1459,1668,1980,2271,2161,2132,2003,1887,2072,2047,1981,1969,1773,1771,1756,1899,1809,1585,1811,2439,2425,2243,2270,1715,1757,1735,1648,1790,2511,2627,2711,2844,2939,2822,1876,1789,2558,2207,2557,2854,2965,2676,2915,3184,3032,2993,3449,3919,3930,3453,2752,2547,2657,2557,2630,2906,2196,2232,2494,2464,2024,2075,2141,1851,1930,2000,1741,1802,1702,1584,1819,2012,2071,1929,1860,1919,1797,2260,2227,1675,1501,1641,2659,2204,1831,1873,1993,1850,1731,1815,2325,2601,2036,2035,2242,2559,1985,2249,2164,1796,1885,1748,1996,2065,1874,2036,1838,2263,1907,1742,2231,2615,2353,2796,2900],[2408,1932,1835,2353,1941,2706,2548,1814,1858,1979,2455,2974,2698,2596,2044,2170,1806,1831,1725,1721,2404,2812,2517,1829,1446,1611,1512,1162,1459,1643,1648,1515,1663,1678,1738,2125,1999,2269,2821,2448,1942,1871,1929,1569,1880,2544,2468,2501,2320,2108,2062,2027,1930,1829,1878,2089,1825,1552,2211,2100,1714,1609,1633,1883,2206,1944,1758,2270,2349,2025,2192,1735,1753,1979,2156,2282,2790,2626,2198,2432,2580,2665,2787,2993,3229,3708,3736,2640,1937,2471,2045,1774,1895,2062,2104,2207,2254,2078,2011,2263,1961,1903,2048,2137,2067,2162,2090,1861,2361,2452,2020,2092,2125,2535,3128,2915,2947,2828,3327,3528,3550,3331,2806,2823,3037,2696,2667,2404,1981,2577,2468,1542,1772,2389,2113,2136,2082,2121,2305,2828,2991,3194,2916,2364,2034,2055,2610,2533,2398,2330,2273,2205,2182,2131,2119,2375,1792,1706,2076,2412,2344,2167,2558,2511,1781,1460,1693,1597,1976,2169,1462,1818,1912,2486,2476,2773,2586,2488,2286,2060,2271,2441,2122,2204,1908,1589,1932,2298,2565,3117,3339,3306,3355,3393,3045,3011,2934,2899,2574,2355,1896,2082,1928,1549,1778,2542,3254,2919,2526,2496,1898,1677,1984,2359,2419,2833,2678,2574,2308,2286,1978,1747,2054,2300,2246,1959,1771,2145,1779,1455,1507,1655,1986,2458,2401,2585,2514,1778,2007,2547,3016,2729,3112,2342,1438,1515,1699,1811,2104,2853,2671,1967,2601,3241,3458,3560,2364,1945,1987,1903,1848,2792,2830,2677,2965,2322,1665,1927,2222,2533,2752,2493,2709,2490,2429,2258,2893,2770,2352,1975,1845,2043,2177,2711,2705,2109,1912,1867,2046,2754,2850,2286,1982,2191,2401,2209,1708,1886,1970,1475,1582,1867,1952,2820,2488,1806,1980,2831,2646,2048,2153,2458,2217,2033,1848,1613,1549,1943,2132,2101,1773,2025,2198,1735,1866,1727,1888,2613,2332,1974,1918,2396,2365,1828,1584,1576,1400,1672,2026,1769,1987,2828,3186,3130,2542,2181,1844,1601,1559,1579,1501,1696,2119,2460,1890,1397,1556,1749,1755,1655,1331,1406,1390,1339,1476,1455,1302,1391,1501,1709,1928,2204,2514,2173,2029,1591,1533,1773,1863,1542,1377,1412,1395,1383,1484,1499,1519,1628,1636,1513,1400,1702,2061,1981,1846,1752,1719,2221,2675,2678,2446,1657,1341,1358,1662,1525,1656,1707,1318,1383,1586,1773,1440,1528,2202,3019,3384,3543,2514,1599,1586,1670,2001,2381,2336,1980,3094,3399,3659,3753,3974,4057,3595,2318,1510,1600,1694,1862,1570,1332,1522,1795,1670,1809,1666,1381,1273,1281,1498,1669,1641,1854,2062,2768,2635,2209,1930,1971,1858,2220,2476,2192,1990,1933,1907,2450,3110,2874,2823,3012,3012,2968,2219,1851,1740,1798,1773,1874,2596,2521,2623,2552,2396,2036,2140,2138,1948,1821,1270,1041,1385,1451,1263,1670,2371,1882,1444,1338,1320,1252,1550,1691,1548,1422,1636,1946,1639,1543,1420,1406,1464,1366,1356,1409,1438,1515,1832,1822,1615,1804,1844,1800,1658,1682,1638,1601,1432,1626,1702,1595,1558,1454,1564,1765,2237,2160,1748,1698,1808,1718,1495,1528,1417,1836,2148,1685,1552,1603,1383,1225,1332,1549,1702,1704,2170,3105,1866,1814,2819,3051,2856,2930,2878,2586,2319,1862,1402,1355,1622,1578,1336,1280,1347,1319,1519,1671,1384,1339,1374,1261,1193,1182,1222,1481,1751,1712,1765,1813,1757,1926,2060,1984,1873,1800,1842,2035,2091,2027,2043,2380,2458,2441,2294,2060,1877,1925,2210,2192,1663,1176,1409,1701,1837,1940,2500,2236,1610,1570,1389,1230,1518,1681,1582,1634,1950,1883,1578,1585,1384,1293,1251,1403,1698,1847,1736,1747,2143,2549,2352,1630,1502,1462,1463,1561,1696,2061,1793,1472,1435,1454,1726,2055,2269,2062,1879,2274,2101,1831,1576,1439,1532,1784,2061,1797,1464,1422,1521,1551,1566,1789,1858,1673,1630,1715,1749,2038,2574,2403,2097,1791,1520,1485,1549,1544,1415,1724,1881,1742,1559,1514,1554,1515,1609,1684,1667,1657,1463,1503,1787,1780,1637,1593,1775,1699,1419,1425,1668,1766,1990,1758,1546,1588,1849,1907,1914,1871,1922,2149,1983,1790,1719,1730,2304,2899,2379,2102,1964,2132,2421,2305,1858,1543,1533,1617,1589,1652,1794,1914,2025,1996,1938,2310,2078,1906,1794,1715,1847,1770,1663,1630,1678,1734,1626,1406,1405,1467,1470,1544,1640,1644,1584,1512,1404,1579,1665,1571,1597,1651,1819,1907,1710,1682,1908,2188,1982,1778,1801,1801,1888,2277,2460,2143,2261,1638,1476,1714,1666,1975,2117,1836,1882,2123,2714,2315,2386,2131,2188,3001,3328,2831,2474,2703,3062,3262,3406,2703,2032,2583,3332,2738,2908,3068,2921,2153,1664,1641,1750,1956,2185,2442,2392,2020,1977,2232,2086,2486,2498,2501,2662,2264,2344,2149,1694,1705,1632,1967,2678,2522,2032,1942,1876,2223,2665,3461,3230,3024,3426,3094,2750,2654,2728,2889,2554,2564,2806,3096,2907,2237,2164,2292,1935,1644,1997,2905,3352,3295,2902,2154,2491,2331,1866,2152,2565,2448,2106,2029,2492,2763,2449,2414,2744,2578,2446,2743,3150,3231,2624,2656,3016,2282,1820,1490,1388,1626,1736,1870,1614,1483,1683,1697,2197,2739,2294,1749,1403,1508,1731,1800,1758,1895,2347,2302,1889,1897,2336,2712,2437,2164,2238,2132,1778,1540,1648,1638,1516,1389,1350,1470,1592,1694,1676,1599,1472,1447,1414,1459,1476,1432,1412,1301,1663,2073,2153,1980,1800,1705,1438,1475,1795,1742,1705,1718,2026,1932,2308,2458,1901,1423,1489,1501,1402,2305,2669,2169,1870,1641,1738,1699,1510,1178,1035,995,704,822,1309,1481,1849,1851,1738,1675,1947,1795,1796,1886,1856,1895,2061,1731,1430,1608,1538,1445,1387,1839,1984,1391,1287,1252,1226,1505,1608,1661,1594,1377,1424,1446,1587,1679,1615,2766,3181,3077,2193,1593,1688,1703,1531,2036,2396,1717,1415,1139,1112,934,792,1089,1260,1160,1170,1483,1824,2017,2095,2202,2110,1719,1922,2028,1417,1139,1271,1091,1222,1495,1527,1626,1700,1373,1390,1882,1902,2276,1698,1143,1390,1506,1556,1748,1852,1719,1732,1830,1878,1786,1992,1926,1547,1447,1554,1507,1334,1447,1654,1637,1572,1735,1792,1362,1364,1495,1696,1561,1520,1511,1446,1376,1274,1402,1411,1343,2376,2128,1609,1463,1329,1351,1388,1335,1300,1271,1263,1358,1507,1329,1512,1638,1241,1199,1351,1674,1690,1483,1776,1874,1618,1553,1443,1572,1987,1780,1554,1438,1490,1480,1631,1537,1501,1436,1471,1506,1599,1556,1470,1396,1276,1619,1819,1891,1848,1655,1549,1645,1603,1388,1740,1695,1600,1637,1300,1317,1861,1423,1466,1780,1626,1923,2167,1819,1699,2018,2058,1917,2195,2416,2859,3602,4018,3849,3570,3232,3110,3099,3140,3031,3218,3598,3749,3421,2839,2729,3110,3291,3297,3189,3045,2751,2652,3248,3812,3273,3322,3199,3016,2567,2678,3139,3149,3237,3331,3128,3134,3126,3103,2980,2261,2315,2151,2331,2862,3318,2966,2372,2799,2964,2796,2394,2142,2223,1986,1779,2097,2924,3247,2920,2663,2731,2888,3067,2889,2786,2476,2128,1802,1230,1102,1592,1942,1917,1626,1517,1671,1688,1218,1147,1078,1209,1264,1123,1087,1104,1184,1224,1470,1776,1506,1662,1731,1470,1589,1685,1900,1966,1926,1910,1773,1734,1704,1635,1594,1542,1434,1373,1450,1466,1386,1310,1222,1199,1242,1249,1256,1453,1605,1874,1858,1682,1659,1345,1415,1488,1384,1322,1265,1188,1215,1353,1456,1420,1300,1394,1428,1538,1867,2562,2864,2365,2175,2153,2084,2229,1843,1651,1797,1950,1594,1807,2077,1997,1600,1593,1720,1637,1446,1489,1433,1455,1612,1460,1428,1909,1924,1698,1604,1566,1472,1546,1588,1607,1645,1679,1688,1438,1323,1438,1836,1691,1810,1624,1616,1683,1322,1297,1568,1721,2019,2609,2734,2483,1815,1743,1784,1630,1727,1665,1672,2213,2544,2415,2364,2296,2062,1631,1510,1744,1790,1836,1891,1649,2114,2377,2316,2119,2380,2018,1593,1892,1852,1714,1743,1682,1736,1910,2050,1821,1740,1718,1487,1603,1508,1716,1636,1542,1956,2166,2199,2015,2073,2206,2225,2364,2238,1845,2217,2267,1731,1658,1911,1843,1983,2016,2055,2327,1966,1600,1578,1676,1879,1917,1658,1630,1833,1779,1864,2115,1932,1801,1600,1710,1874,2209,1754,1511,1573,1662,1598,1477,1614,1643,1673,1758,1880,1588,1711,2030,2216,2205,2025,2322,2730,2358,2008,1646,1838,2635,2301,2211,1788,1783,1918,1707,1651,1785,1811,1831,1902,1902,1656,1667,1990,2063,1798,1770,1616,1466,1588,1695,1932,2170,2019,2217,2336,2652,2988,2972,2601,2558,2525,2966,3096,2721,2508,2047,2020,2353,2370,2043,1760,1722,1854,2310,2046,2002,2272,2780,2736,2181,1791,1643,1694,1927,1506,1571,1816,1935,2250,2597,2498,1953,2217,2408,1803,1692,1659,1765,2014,2170,2133,2091,2242,2437,1968,2090,2554,2253,1706,1792,1676,1591,1633,1554,2036,2958,3208,3131,2874,2809,2934,2820,2579,2431,2131,1924,2436,2559,2220,2143,2347,1861,1776,2343,2873,2820,2679,2713,2557,2164,1943,1734,1883,1582,1506,1594,1924,2009,1821,1693,1868,2094,1933,1952,2002,1866,2046,1800,1752,1884,1866,2081,2253,2021,1997,2323,2178,1621,1386,1654,2158,2008,2032,1954,1726,1742,1656,1638,1760,2208,2491,2333,2223,2041,1993,1669,1685,2055,2558,2265,2282,2709,2204,1675,1836,2309,2889,2316,2602,2981,2900,2758,3184,3120,2656,2575,3143,3683,3362,3277,2990,2454,2248,2202,2191,2170,1860,1837,2297,2646,2271,1760,1853,1750,1815,1732,1688,1730,1622,1578,1732,1909,2083,2083,2113,2026,1815,2216,1874,1784,1866,1670,1960,1950,1986,1818,1480,1441,1520,1692,2024,2562,2226,2414,2483,2450,2358,2260,1957,1828,2098,2284,1986,2002,2124,2144,1982,2368,2166,1890,2238,2668,2671,2833,2670],[2610,2986,3244,2652,1986,2732,2404,1579,1866,2220,2700,2717,2393,2367,1729,1494,1527,1609,1970,2185,2418,2263,1693,1440,1460,1439,1808,1870,1577,1453,1337,1412,1459,1737,2008,1875,1625,1907,2334,2212,1953,2105,2135,1991,1960,2011,2191,2210,2081,1929,1864,1799,1678,1590,1916,2248,1742,1383,1693,1659,1880,1730,1700,1973,1810,1701,1982,2090,2058,2364,2453,1919,1767,2167,2489,2048,2208,2486,2366,2203,1908,2732,2798,2757,2783,3485,3398,2452,1837,1812,1852,1639,1987,2172,1764,2106,2204,2150,2110,2291,2188,2163,2353,2431,2521,2507,2264,2169,2276,2111,2285,2613,2608,3178,3088,2872,3032,2453,2518,3052,3376,3196,2908,3099,3393,2521,2502,2430,2156,2298,2045,2157,2459,2462,2125,1958,2449,2471,1909,2496,2933,3141,2915,2285,2203,2443,2434,2315,2496,2343,2108,1725,1692,2150,2018,1837,1667,1638,2121,2169,2025,2326,2701,2597,2083,1462,1651,1645,2297,2369,1614,1898,2155,2483,2341,2286,2310,2533,2419,2303,2637,2643,2326,2416,2354,2476,2652,2673,2655,3069,3172,2988,3292,3097,3116,2751,2646,2866,2723,2639,2112,2283,1742,1609,1959,2622,2831,2061,2015,2134,1478,1306,1999,2252,2423,2872,2889,2845,2406,2107,1969,1758,1873,2483,2611,2136,2050,1954,1489,1430,1628,1725,2139,2792,2874,2640,2057,1583,1954,2287,2666,2470,1989,1599,1289,1546,2121,2224,2176,2610,2336,1921,2765,3307,3125,3234,2125,1970,1999,1780,1749,2460,2554,2491,2769,1990,1854,1941,2213,2576,2206,2347,2354,2235,2547,2695,2603,2648,2387,1483,1605,2029,2062,2236,2254,2230,1891,1837,2187,2697,2628,2446,2227,1980,2325,2483,2167,2110,1937,1573,1765,1946,2107,2499,2360,1696,1837,2336,2200,2002,2214,2825,1779,1690,1931,1675,1689,2204,2406,2329,2277,2425,2504,2068,1891,2033,2417,2512,2323,2622,2856,2640,2234,1969,1934,2052,1656,1576,1640,1902,2109,2584,2876,2765,2700,2733,2160,1537,1887,2222,1914,2298,2782,2685,2140,1587,1770,1642,1864,1958,1538,1447,1377,1334,1307,1306,1368,1548,1593,1985,2395,2618,2733,2620,1978,1673,1937,1805,1979,1941,1750,1406,1302,1395,1465,1354,1550,1791,1774,1511,1701,2819,3354,3185,2917,2896,2370,2221,2750,2806,2570,2430,2337,2446,2360,1654,1505,1605,1470,1569,1466,1371,1454,1453,1695,2441,3019,3191,2351,1289,1482,1839,1902,1845,1688,2121,3059,3604,3898,3558,3583,4217,4042,2576,1553,1720,1890,2073,1822,1328,1411,1488,1382,1570,1463,1311,1265,1301,1462,1656,1489,1664,1667,1907,1846,1979,2327,2366,2205,2369,2162,1672,1355,1452,1962,2785,2947,2895,2644,2722,3030,2756,1961,1835,2108,2128,2016,1896,2652,2546,2321,2106,2093,1829,1812,1561,1394,1478,1254,900,1131,1442,1454,1447,1585,1472,1354,1241,1315,1072,1179,1650,1588,1415,1475,1815,1627,1511,1517,1509,1502,1504,1578,1451,1322,1384,1886,1699,1632,1522,1378,1341,1372,1443,1533,1410,1403,1449,1561,1615,1612,1650,1553,1580,1816,1542,1332,1544,1586,1533,1619,1466,1219,1645,2033,1648,1549,1727,1505,1425,1503,1509,1607,1643,2030,2959,1944,1476,2115,2169,2385,2648,2566,2675,2857,2581,1900,1649,1498,1393,1533,1457,1285,1365,1613,1598,1501,1570,1488,1462,1519,1453,1452,1605,1726,1664,1724,1777,1785,1811,1880,1985,2079,2242,2453,2736,2450,2226,2194,2137,2208,2070,1765,1848,1754,1747,2288,2366,2190,1885,1558,1785,1822,1885,2272,1914,1477,1290,1102,1322,1502,1659,1913,1861,1515,1390,1322,1251,1192,1159,1316,1544,1575,1488,1601,1777,1892,1825,1945,1579,1576,1487,1402,1552,1609,1502,1382,1421,1550,1603,2049,1821,2227,2324,2037,1939,1944,1822,1589,1526,1511,1708,1970,1682,1458,1463,1333,1515,1714,1804,1740,1571,1626,1611,1720,2149,2092,1959,1847,1747,1816,1594,1791,2125,1754,1647,1666,1525,1611,1886,1825,1867,1615,1537,1578,1572,1512,1646,2008,1869,1533,1713,1710,1517,1416,1538,1919,1774,2287,2193,1802,1724,1750,1679,2116,2207,1681,1594,1384,1258,1401,2025,2522,2599,2270,2171,2513,2770,2725,2347,1824,1581,1483,1390,1655,1631,1647,1656,1806,1935,1917,2050,1859,1653,1469,1412,1619,1655,1627,1556,1427,1493,1513,1388,1430,1440,1395,1431,1545,1722,1901,1577,1460,1522,1630,1620,1501,1608,1879,2014,1920,1779,1801,1907,1981,2272,2059,2366,2474,2549,2465,2035,1908,1742,1853,1889,1879,2054,1976,2086,2072,2623,3498,3110,2588,2214,2313,2207,2436,3129,3536,3487,3448,3405,2826,1858,1814,2906,2967,2111,2211,2372,2180,1715,1613,1794,2413,2755,2815,3138,2909,2507,2188,2090,1877,2282,2820,2857,2263,2319,2749,2037,1803,1785,1407,1619,2353,2458,2238,1880,1561,1742,2436,3165,3130,2799,2518,2100,1966,1787,1896,2170,2119,2277,2696,2958,2770,2443,2344,2130,1588,1643,2568,3751,3834,3665,3654,2935,2035,1500,1760,2740,3040,2502,1953,2496,3330,3462,2901,2767,2674,2240,2239,2815,3518,3295,2601,2677,2911,2363,1950,1449,1333,1538,1590,1822,1668,2174,2980,3189,3165,2394,2019,2013,1986,2125,1959,2195,2151,2379,2773,2274,1765,1987,2352,2702,2455,2135,2073,2095,1705,1445,1427,1449,1391,1465,1650,1585,1606,1565,1518,1526,1447,1539,1737,2182,2262,1791,1449,1319,1704,2243,2069,1833,1634,1499,1493,1542,1881,1941,1980,1813,1793,2097,2251,1941,1905,1584,1561,1647,1491,3033,2398,1951,1655,1451,1553,1628,1438,1231,1145,967,521,1192,1366,1222,1346,1269,1470,1550,1637,1739,1792,1841,1859,1917,2048,1533,1349,1416,1586,1708,1673,1526,1592,1456,1183,1049,1143,1208,1404,1553,1691,1741,1586,1479,1378,1439,1539,1870,2581,2842,2041,1689,1480,1435,1258,1674,2054,1577,1397,1192,1144,936,832,1079,1282,1334,1415,1558,1874,1858,1998,2000,2001,2118,2153,1915,1437,1183,1307,1272,1210,1384,1384,1466,1701,1409,1493,2105,2008,2087,1843,1068,1386,1544,1449,1495,1718,1625,1598,1929,2021,1971,2048,1782,1595,1621,1554,1394,1283,1422,1733,1627,1576,1720,1535,1349,1790,1916,1724,1597,1534,1470,1402,1526,1449,1621,1382,1277,2980,2404,1503,1441,1338,1302,1294,1284,1213,1332,1467,1511,1467,1292,1283,1372,1338,1344,1457,1606,1264,923,1255,1449,1509,1477,1611,1695,1700,1807,1327,791,897,955,1085,1597,1578,1339,1308,1358,1553,1669,1490,1367,1368,1471,1555,1496,1478,1543,1548,1567,1536,1461,1876,1722,1470,1464,1179,1338,1534,1294,1799,1993,1767,1910,1566,1416,1545,1715,1938,1842,1750,1941,2632,3652,4124,3795,3631,3807,3477,3151,3375,2987,3203,3536,3450,3110,2864,3005,2828,2578,3143,3366,3354,3120,2691,3150,3681,3044,2719,3068,2956,2601,2898,3191,2918,2786,2973,3061,2841,2997,3124,3064,2485,2521,2821,2975,3117,3508,3152,2632,2467,2211,1952,1747,1958,1833,1835,1802,2010,2698,3182,3128,2845,2845,3021,2814,2958,2943,2348,1929,1448,821,1262,1912,1738,1650,1576,1681,1330,1189,1090,1184,1346,1325,1196,1085,1075,1224,1394,1272,1331,1475,1292,1741,1771,1724,1932,2043,1851,1676,1871,1980,1747,1556,1582,1474,1456,1526,1284,1571,1546,1725,1386,1095,1276,1318,1301,1005,996,1338,1426,1693,1618,1767,1776,1738,1848,1642,1391,1330,1333,1421,1232,1352,1584,1562,1312,1331,1397,1403,1721,2133,2111,1927,1606,1725,2178,2084,1532,1505,1537,1651,1738,1900,2116,2040,1652,1497,1583,1638,1383,1312,1460,1581,1695,1497,1605,1889,1887,1637,1664,1739,1602,1705,1578,1458,1534,1774,1589,1465,1412,1356,1716,2307,2083,1552,1686,1625,1482,1428,1643,1473,1515,1793,2373,2223,1704,1946,2064,1742,1901,1616,1526,1596,1891,2087,1915,1997,1947,1740,1910,2094,1844,1676,1666,1679,2194,2005,1860,1891,2053,1503,1057,1438,1864,2081,1701,1591,1976,2104,1974,1682,1695,1610,1644,1581,1561,1672,1457,1691,2029,1913,2257,2214,2273,2391,2199,2141,2278,2130,2044,1775,1488,1655,1762,1720,1781,2002,1832,2001,1681,1616,1292,1508,2179,2171,1831,1687,1739,1596,1753,2176,2144,1892,1748,1948,1970,1810,1672,1598,1577,1767,1772,1461,1471,1379,1576,1876,1831,1714,1879,1942,2110,2214,1862,1885,1887,1769,2122,2039,2359,2638,2381,2620,2153,1826,1921,1761,1596,1697,1558,1662,1750,1696,1767,1675,1726,1776,1642,1980,1806,1613,1873,1726,1628,1826,1898,2079,2778,3305,3266,2951,2632,2400,2290,2497,2548,2023,1958,1696,1883,1784,2438,2368,2008,1837,1982,1827,1823,2093,1985,2062,2253,2138,2048,1782,1635,1670,1769,1569,1512,1788,2013,2369,2107,1959,2734,2457,1829,2166,2209,1828,1797,1827,1965,1838,1867,2202,2172,2052,2048,2128,1985,2354,2032,1932,1613,1849,1990,2680,3206,3164,3041,2979,2965,2435,2028,1961,2140,2312,2304,2259,1853,1852,2142,2110,2243,2670,2736,2162,2593,2987,2590,2299,1890,1837,1807,1554,1610,1799,1830,1809,2003,2233,1719,1745,2020,2166,2179,1851,1953,1937,1811,1958,2149,2143,2092,1802,2092,2576,2169,1590,1467,1569,1687,2055,2144,2236,2858,2763,1964,1743,1738,1953,1763,1620,2164,2890,2637,2070,1878,2032,2148,1721,1969,2615,2174,2311,2672,2833,3002,2390,2742,3199,3099,3120,3030,2755,2593,2325,2640,3140,2978,2897,3033,2599,2046,2101,2301,2194,1805,1671,1997,2342,2326,1841,1842,1814,2070,2213,2235,2200,2003,1786,1874,1990,2186,2109,2061,1882,1728,2053,1924,1717,2303,2360,1847,1914,2164,1831,1487,1581,1605,1513,1536,2241,2733,3000,3177,3120,2570,2057,1930,1678,1591,1746,1654,1748,2081,1904,1918,2513,2255,1982,1969,1813,2223,2602,2294],[3039,3874,4123,2987,2019,2613,2644,2169,1857,2164,2411,2523,2216,1872,1525,1367,1575,1792,1918,1827,1714,1586,1487,1406,1242,1016,1604,1961,1554,1420,1567,1690,1824,1973,2088,2182,2143,2182,2199,1990,1946,2044,2134,2085,1985,1890,2164,2260,1870,1549,1742,1788,1613,1722,1834,1823,1625,1455,1381,1417,1577,1525,1492,1718,2004,2416,2238,2732,2568,2586,2602,2756,2546,2522,2780,2700,2569,2775,2421,2536,2542,2996,2732,2440,2503,3292,3334,2600,2200,2554,2263,1599,1716,1765,1941,2019,2060,1899,2118,1906,2003,2307,2520,2853,3013,2897,2437,2443,2464,2331,2464,2498,2578,2764,2610,2788,2558,1747,1707,2414,2997,3404,3311,3089,3518,2586,2017,2401,2456,2177,2271,2694,2697,2376,2303,2132,2424,2523,2475,2862,3010,3560,3416,2983,3052,3079,2451,1985,2326,2526,2380,1677,1786,2003,1540,1656,1636,1599,1846,1949,1741,2075,2639,2473,2301,1874,2261,1977,2708,2576,1875,1790,2412,2443,2320,2537,2548,2778,2437,2249,2320,2598,2186,2145,2428,2431,2381,2728,2908,3068,3283,3477,3471,3442,3693,2642,1918,2183,2396,1984,1887,1902,1628,1734,2023,2463,2100,1803,2790,3038,1867,1257,1755,1851,2286,3072,3480,3159,2309,2042,2224,2463,2389,2843,2148,2063,2323,1985,1645,1495,1643,1584,2114,2989,2788,2376,2258,1838,1634,1993,2241,2320,1936,1845,1683,1571,1762,2029,1759,1882,2020,2194,2806,2755,2445,3025,2430,2301,2460,2237,1733,1868,2206,2194,2218,1726,1646,2062,2354,2498,2359,2607,2684,2684,3384,3834,3330,2932,2548,1737,1791,2110,2129,2175,2084,1874,1732,1783,1822,1781,1924,2243,2108,2069,2059,2020,2154,2303,1900,1535,1691,2043,2077,2348,2600,2143,2097,1945,1680,1886,1836,2304,1741,1703,1945,1771,1772,2162,2460,2329,2811,2722,2369,1981,2581,2976,2493,2225,2599,3194,3353,2644,1910,2188,2182,1853,1652,1466,1440,1687,2231,2957,3017,2742,2663,2381,1794,1830,2588,2966,2910,3001,2770,2220,1714,1482,1609,1638,1920,1776,1406,1334,1285,1382,1294,1315,1772,1945,1685,2416,2946,2909,2872,2408,1732,2185,3149,2579,2680,2526,2399,1710,1492,1731,1663,1403,1498,1689,1604,1472,2039,3519,3667,3150,2787,2231,2136,2226,2988,3357,3212,3122,3000,3247,2923,1836,1550,1450,1408,1546,1368,1339,1414,1340,1350,1625,2051,2348,1974,1547,1666,1890,1659,1869,1628,2460,3419,3718,3633,3155,2873,3451,3736,2521,1756,1722,1530,1548,1745,1382,1236,1332,1566,1466,1500,1836,1572,1282,1418,1460,1462,1324,1179,1193,1192,1948,3060,2888,2507,2507,2097,2126,1820,1726,1814,2249,2550,2598,2456,2436,2742,2786,2352,2019,2535,2353,1882,1938,2986,2928,2049,1747,1787,1787,1659,1350,1263,1206,1193,1116,1376,1868,1666,1383,1291,1344,1336,1347,1485,1329,1472,1796,1604,1415,1451,1630,1704,1583,1522,1462,1421,1735,2004,1649,1438,1463,1410,1569,1827,1531,1441,1491,1546,1434,1678,1784,1723,1543,1594,1685,1632,1796,2014,1654,1715,1381,1441,1414,1427,1360,1659,1430,1247,1476,1643,1481,1454,1771,1722,1619,1956,1816,1694,1506,1678,2092,1844,1680,1804,1972,2336,2827,3204,2990,2611,2272,2322,1894,1811,1937,1744,1500,1363,1394,1599,1604,1400,1521,1588,1553,1664,1590,1636,1655,1653,1691,1798,1826,1764,1813,2146,2452,2614,2835,3072,3464,3120,2632,2379,2069,1992,1863,1548,1610,1589,1579,1906,2171,2026,1675,1596,2117,2137,2127,2298,1659,1323,1184,1257,1339,1489,1816,1914,1629,1264,1333,1603,1502,1294,1383,1433,1490,1453,1450,1549,1757,1572,1638,1837,1604,1537,1517,1992,2355,1857,1500,1520,1634,1960,2001,2170,1829,1931,1809,1644,1627,1752,1832,1694,1733,1545,1456,1316,1270,1498,1548,1684,1832,1735,1812,1667,1465,1604,1571,1824,2389,2549,2146,2236,2370,2163,2104,2283,2001,1593,1476,1726,1870,1784,2237,2001,2221,1796,1559,1517,1458,1655,1842,2259,2371,1948,1774,1578,1582,1665,1563,1562,1462,1714,1802,1821,1752,1557,1477,1742,1834,1518,1402,1588,1412,1566,1941,2388,2620,2304,2511,2999,2934,2819,2296,1657,1417,1389,1443,1753,1685,1637,1534,1523,1758,2074,2031,1945,1772,1571,1577,1433,1477,1483,1542,1560,1621,1653,1617,1595,1517,1432,1432,1376,1548,1654,1570,1570,1468,1518,1561,1362,1405,1715,1891,1952,1803,1493,1690,1835,1860,1939,2144,1982,1989,1731,1731,2019,1873,1682,1908,2222,2303,1827,2371,2188,2845,2735,2791,2470,2225,2491,2470,2890,3392,3957,3764,2780,2534,2720,2286,2396,2840,2839,2757,2309,1940,1788,1465,1930,2061,3566,4125,3752,3608,2645,2349,2328,2187,1968,2069,2766,2770,2478,2822,3058,2215,1698,1667,1663,2189,2141,1791,1803,1776,1743,1788,1955,2035,1926,2153,2102,1790,1682,1708,1811,1658,1643,1756,1909,2148,2213,2223,1926,1675,1535,2180,3289,3947,3740,3706,3565,2448,1490,2040,2842,2811,2310,2215,2490,2857,3225,2887,2763,2865,2465,1681,1349,2036,3208,3221,3144,2773,2669,2222,2034,2326,1935,1565,1758,1687,1802,2956,3635,3211,3141,2634,2487,2237,2244,2086,1864,2086,1952,1764,2156,2156,1571,1837,2208,2697,2532,2160,1904,2091,1776,1437,1335,1368,1628,1928,1869,1533,1435,1482,1575,1723,1844,2169,2580,3028,2912,2093,1470,1352,1611,2259,1852,1508,1456,1692,1609,1527,1476,1648,1730,1983,2007,1550,1384,1721,2375,1960,2144,2112,2344,2490,1879,1642,1555,1541,1640,1528,1246,1296,1232,889,641,1535,1750,1807,1943,1918,1776,1527,1414,1332,1563,1826,1653,1688,1815,1525,1608,1675,1677,1660,1656,1674,1538,1296,1206,1844,1404,1193,1199,1471,1554,1656,1854,1852,1730,1549,1410,1284,1410,1589,1789,1791,1729,1714,1624,1669,1789,1624,1584,1573,1476,1391,1417,1428,1617,1692,1724,1873,1927,1982,1852,1894,2087,2071,2014,1759,1418,1221,1333,1395,1264,1383,1382,1202,1351,1290,1375,2017,2194,2258,2132,1222,1217,1151,1199,1426,1615,1541,1610,1932,2076,2085,1978,1719,1694,1764,1653,1499,1395,1654,1888,1899,1710,1381,1068,1537,2060,1996,1605,1570,1636,1695,1415,1520,1567,1476,1326,1264,1456,1324,1326,1456,1327,1214,1282,1285,1230,1346,1437,1476,1426,1438,1576,1913,2019,1626,1456,1461,1249,1117,1434,1550,1643,1795,2087,2018,1753,1749,1561,979,694,672,836,1414,1353,1279,1438,1541,1686,1647,1502,1675,1856,1651,1568,1476,1385,1361,1440,1484,1600,1542,1527,1426,1502,1574,1166,1174,1251,1217,1698,1660,1542,1539,1209,1159,1407,1513,1855,1920,1690,1773,1965,2464,3318,4028,4132,4294,3641,3325,3540,3420,3574,3798,3574,3222,3218,3547,2843,2120,3067,3813,3773,3232,2614,2495,2940,3165,3006,3021,3168,3348,3196,2974,2644,2669,3057,3238,2944,2939,2588,2469,2695,3017,3232,3191,3075,3308,2752,2283,1992,1770,1629,1628,1808,1859,1956,1949,1854,2249,3176,3168,2945,2844,2980,3076,3019,2545,1858,1311,1037,1089,1532,1872,1683,1629,1690,1797,1447,1095,1230,1525,1510,1337,1219,1174,1366,1496,1504,1388,1357,1232,1431,1781,1720,1916,2395,2405,1933,1909,1824,1738,1725,1769,1768,1785,1677,1482,1379,1372,1565,1643,1223,1494,1621,1369,1358,826,1332,1714,2054,1841,1552,1721,1716,1609,1730,1699,1588,1505,1734,1957,1829,1571,1730,1561,1390,1416,1436,1338,1714,2242,1884,1588,1552,1613,1992,1814,1622,1429,1488,1620,1616,1592,1664,1693,1650,1566,1560,1560,1540,1434,1627,1815,1809,1647,1603,1771,1707,1566,1576,1489,2022,2102,2117,2114,1952,1759,1447,1507,1615,1751,2178,2552,2435,2366,1993,1654,1613,1642,1538,1525,1642,1876,2462,2542,2247,2510,2209,1718,1710,1543,1419,1494,1670,1626,1499,1561,1922,2437,2060,1866,1493,1100,1259,1649,1830,1591,1510,1664,1878,1477,1224,1656,2032,2350,1845,2133,1924,1603,1594,1625,1688,1684,1562,1476,1632,1593,1563,1947,1705,1403,2106,2207,2018,2297,2433,2092,2058,2026,1745,1636,1556,1561,1622,1561,1552,1942,1726,1947,1926,1644,1435,1865,2116,1830,1666,1610,1642,1652,1843,2533,2623,2109,1906,2066,1793,1619,1789,1694,1533,1526,1435,1684,1634,1431,1652,1896,1850,1706,1577,1621,2079,2613,2555,2188,1946,2052,2155,2157,1807,2272,2212,2118,2313,2181,2026,1846,1941,2327,1691,1564,1617,1669,1854,1688,1772,2034,2339,2399,1890,1768,1789,1659,1632,1639,1728,1663,2624,2931,2604,2330,2123,2117,2063,2072,2056,1726,1555,1592,1860,2051,2309,2552,2786,2802,2502,1832,1692,1908,1909,1891,1910,1888,2062,2246,2125,2136,2058,1843,2250,2215,1969,2555,2350,1941,2568,2144,1674,1862,2449,2441,1957,1934,2026,1830,2194,2494,2478,2192,2204,2270,2094,2179,2224,2600,2241,2010,2058,2279,2867,3120,2996,2832,2309,1926,1904,1909,1910,2131,2322,2104,1774,1938,1976,2071,2245,2578,2840,2563,2533,2640,2401,2470,2266,2127,1985,1902,1962,1826,2163,2128,1906,2490,1981,1916,1975,2186,2076,1941,1844,1704,1827,1988,1995,1869,2070,1699,1952,2300,1998,1918,1955,1763,1806,2124,1874,2077,2873,2938,2314,1867,1735,1500,1460,1477,1912,2555,2743,2444,1968,1822,2082,1757,1742,2142,2314,2684,2756,2474,2526,2548,2991,3146,3292,3553,3204,2874,3321,3176,2898,2669,2625,2397,2250,1930,1753,1926,2087,2202,2132,1991,2072,2385,2177,1975,2021,1997,2359,2733,2386,2148,2046,1861,1754,1975,2282,2141,1860,1830,1950,2062,1804,1431,2250,2692,1952,1659,1656,1523,1597,1733,1781,1716,1612,1867,2388,2591,2696,2725,2500,1954,1572,1493,1549,1273,1278,1503,1982,2008,2118,2093,1752,1872,1589,1598,2658,2554,2018],[3223,3694,3726,3011,2316,2886,3107,3019,1970,1924,1782,1757,1691,1443,1621,1508,1272,1573,1561,1456,1684,1840,1748,1648,1668,1698,1758,1783,1812,1990,2080,2002,2211,2234,2234,2194,2192,2171,2221,2121,1875,1716,1765,2180,2141,2183,2847,2265,1892,1538,1542,1608,1622,1780,1535,1598,1801,1700,1701,1536,1672,1970,1733,1637,2199,2388,2262,2931,2664,2724,3008,2944,2834,2585,2823,2697,2679,2546,2005,1989,2436,2757,2985,3053,2695,2645,2877,2651,2314,2415,1989,1823,2105,2289,2117,1871,2058,1952,2107,2149,2050,2175,2236,2684,2557,3151,2786,2424,2619,2909,2909,3052,3296,3054,2702,2742,3063,2247,1815,2519,3109,3196,3105,3026,3393,3071,2250,2231,2333,1958,2088,2427,2576,2907,2681,1726,1471,1965,2288,2375,2609,3326,3382,2937,2708,2728,2438,1970,2319,2591,2395,1852,2078,1823,1836,1905,1433,1417,1751,1594,1333,2150,2425,2423,2152,2075,2361,2703,3230,2847,2190,2001,2111,2076,2420,2724,2976,3037,2673,2573,2097,1899,1778,1999,2768,2732,2203,2695,3082,2713,2442,3165,3366,3782,3233,1965,1673,1897,1756,1714,1857,1544,1620,1737,1870,1879,2176,2706,3465,3007,1727,1482,1830,2271,2789,3018,3275,3481,3023,2416,2930,3262,3046,2907,2342,2619,2703,2286,1725,1756,2125,2230,2513,2590,2051,2407,2502,2050,1938,2179,2710,2956,2890,2467,1988,1873,1689,1810,1697,1917,2200,1858,2438,2587,2217,2524,2710,2729,3035,2724,2375,2035,1661,2117,2244,2338,2532,2985,2946,2775,2697,2968,3318,3274,3552,3640,3495,2842,2185,2222,2191,2229,1995,1719,1609,1411,1411,1582,1843,1816,1911,1985,1897,2327,1929,1858,2116,2115,1925,1770,1740,1773,1762,2073,2185,1826,1600,1415,1450,2009,2049,2163,1854,1559,1630,1653,1786,2196,2095,1939,2199,2154,2303,2353,3262,3610,2866,2640,3443,3697,3123,2673,2352,2313,1872,1611,1611,1466,1437,1475,1934,2409,2425,2323,1886,1863,2169,2332,2620,3507,3505,2792,1883,1694,1592,1477,1886,2065,1779,1290,1289,1401,1313,1266,1347,1428,1818,2071,1996,2788,3028,2378,2923,3163,2742,2404,2532,2758,3041,2645,2266,1936,1943,2161,1713,1316,1532,1725,1331,1553,2007,3217,3488,2569,2364,2467,2384,2075,2247,2930,2949,2598,2578,2877,2827,1750,1421,1284,1330,1362,1369,1431,1348,1216,1278,1288,1411,1615,1564,1519,1504,1548,1418,1402,1460,2577,3718,3658,3366,3118,2314,1912,2271,2185,1749,1672,1535,1362,1271,1231,1288,1487,1686,1423,1545,2238,1787,1257,1376,1128,1101,1197,1165,1330,1310,1877,2969,3003,2576,2388,2221,2508,2090,1807,1699,2041,2535,2561,2570,3038,3044,2802,2758,2506,2354,2146,1877,2085,2734,2733,2031,1655,1516,1498,1431,1382,1299,1264,1257,1407,1654,1700,1396,1382,1426,1316,1350,1437,1559,1503,1594,1886,1771,1456,1435,1377,1233,1640,1661,1515,1516,1775,1772,1642,1748,1487,1375,1526,1620,1388,1350,1609,1733,1494,1576,1801,1946,1776,1544,1787,2024,1963,2397,1908,1793,1578,1541,1769,1825,1491,1463,1438,1441,1697,1710,1426,1359,1652,1805,2211,2446,1975,1616,1521,1814,2106,2135,1979,2116,2477,2987,3385,3466,2644,1615,1326,1641,1488,1933,2202,1760,1466,1246,1325,1701,1627,1499,1713,1690,1540,1616,1581,1580,1671,1700,1804,1904,1969,2354,2489,2649,2654,2730,2956,3113,3450,3471,3053,2592,2154,1947,1862,1610,1500,1472,1431,1527,2072,2010,1473,1482,1950,1980,1961,2078,1506,1281,1252,1401,1397,1551,2179,2176,1551,1381,1649,1770,1575,1502,1542,1462,1951,1824,1675,1813,2279,2010,1930,1842,1649,1524,1867,2647,2331,1762,1614,1613,1674,1623,1611,1506,1759,1835,1488,1361,1529,1824,1813,1638,1701,1538,1432,1706,1999,1814,1830,1930,1670,1645,1942,1798,1607,1729,1752,1695,1909,2365,2450,2912,2710,1975,2497,2720,2181,1427,1636,1882,1848,1796,2003,1960,2043,1881,1665,1382,1285,1518,1713,2087,2510,2298,1576,1438,1460,1397,1315,1395,1447,1388,1415,1457,1368,1334,1426,1681,2458,2045,1764,2250,1862,1655,1621,1957,2506,2475,2940,3282,2440,2608,2191,1821,1699,1467,1546,1672,1829,1824,1626,1534,1636,2051,2092,1992,1891,1617,1597,1695,1583,1484,1667,1680,1651,1867,2131,2294,1829,1568,1578,1718,1716,1578,1593,1650,1527,1464,1522,1376,1344,1682,1906,2081,1629,1779,2020,1790,1744,1737,1826,1986,1860,1671,1688,1803,2111,2193,2415,2668,2602,1964,2140,2243,2873,2893,2413,1742,1994,2557,2598,2967,3068,2950,3034,2756,2597,3123,2666,2186,1655,1703,2266,2528,2435,1947,1658,2248,2358,3631,3626,3363,3454,3251,3493,2959,2328,2449,2527,2078,2478,2827,3392,2820,1926,1698,1796,1884,2006,2103,2241,2257,2110,1842,1697,1610,1527,1908,2784,2667,2131,1905,1661,1478,1566,1613,1765,2011,1888,1764,2007,1845,1609,1779,2907,3773,3641,3532,3740,3480,3018,2337,2827,2911,2258,1580,1910,2909,2789,1954,1389,1907,2536,1775,1349,1970,2687,3154,3549,3768,3464,3129,2695,2845,3140,2423,2042,2123,1696,1909,2898,3144,3061,2988,2499,2253,2193,1805,1447,1324,1431,1743,1747,1608,1813,1447,1800,2082,2229,2098,1788,1598,1662,1698,1792,1986,2261,2210,1957,1646,1516,1629,1892,2181,2557,2618,2595,2732,2944,3011,2306,1566,1373,1457,1907,1742,1456,1207,1539,1888,1964,1643,1290,1288,1269,1260,1128,1261,1906,2376,2122,2149,2124,2049,1431,1246,1358,1332,1620,1840,1595,1315,1167,1201,843,868,1646,2047,2190,2227,2192,2189,2240,1872,1490,1687,1371,1234,1312,1263,1405,1449,1415,1626,1626,1525,1569,1520,1324,1692,2010,1815,1590,1446,1354,1307,1465,1688,1797,1771,1713,1710,1543,1536,1312,1498,1908,1990,1773,1656,1721,1516,1119,1170,1210,1224,1171,1279,1344,1505,1473,1512,1642,1703,1729,1737,1959,1897,1851,1996,1877,1355,1188,1252,1269,1490,1831,1754,1154,1131,1564,1767,2146,2127,2077,2228,1732,1087,1041,1188,1306,1402,1428,1521,1758,2047,2004,1859,1762,1666,1600,1601,1699,1581,1667,1679,1661,1439,1004,1350,2088,1791,1664,1606,1742,1830,1618,1310,1293,1485,1429,1278,1216,1272,1339,1319,1454,1333,1205,1287,1258,1238,1230,1475,1750,1772,1792,2046,2231,2040,1577,1365,1246,1270,1208,1464,1688,1639,1789,1823,1612,1632,1567,1699,1378,920,962,1095,1054,1137,1372,1425,1425,1400,1428,1710,1708,1526,1369,1628,1522,1478,1607,1708,1642,1688,1675,1683,1575,1751,1742,1456,1412,1456,1526,1654,1505,1416,1437,1075,1445,2030,1722,1856,1902,1704,1581,1504,1714,1882,2598,3626,4176,3775,3410,3488,3437,3508,3425,3309,3100,3179,3188,2441,2325,2989,3351,3304,3041,2940,2892,2867,3132,3228,3198,3419,3297,3213,2819,2866,3122,3459,3463,2868,2166,2055,2070,2347,2950,2735,2503,2429,2201,1900,1758,1624,1595,1484,1427,1651,1780,1827,1815,1696,2122,2911,2783,2436,2148,2040,2257,2315,1960,1457,1348,1480,1760,1880,2618,2771,1984,1646,1641,1606,1314,1135,1337,1406,1482,1368,1550,1665,1376,1208,1180,1284,1350,1668,1806,1708,1935,2557,2712,2049,1847,1764,1654,1780,2204,2150,2099,1707,1333,1325,1362,1435,1294,1504,1844,1615,1288,1221,1030,1547,1722,1830,1778,1692,1880,1955,1684,1696,1652,1760,1688,1739,1843,2015,1765,1542,1512,1545,1498,1554,1660,1718,1843,1726,1697,1630,1610,2082,1919,1579,1738,1922,1609,1588,1668,1609,1669,1729,1827,1814,1606,1510,1457,1463,1539,1801,1737,1662,1848,1750,1629,1702,1588,1807,2020,2613,2527,2142,1769,1458,1535,1640,1992,2759,2280,2759,3091,2353,2168,1785,1511,1495,1569,1759,2075,3100,2903,1824,1667,1547,1540,1529,1577,1604,1605,1627,1516,1537,1465,1909,2281,1859,1512,1229,1247,1466,1716,1630,1572,1483,1403,1648,1534,1484,1686,1907,1873,1897,1984,1740,1640,1611,1546,1732,1744,1591,1462,1633,2044,2204,2578,2072,2019,2207,2062,1881,1958,2033,1898,1810,1650,1658,1721,1482,1489,1638,1472,1730,1769,1792,1918,1679,1659,1696,1843,1899,1627,1549,1653,1889,1659,1756,2197,2375,2002,1676,1902,1708,1544,1564,1542,1592,1488,1419,1727,1718,1554,1881,2072,1874,1755,1480,1602,1769,2123,2402,1921,2010,2142,2036,1822,1619,1723,1560,1636,2271,3085,3062,2179,1870,1901,1700,1894,1722,1543,1519,1462,1700,2143,2805,3016,2411,2042,2113,1986,1948,1967,1765,1631,2052,2569,2630,2576,2287,2008,1777,2021,1952,1681,1790,1633,1562,2098,2376,2547,2977,2907,2458,1960,1648,1638,2237,2335,1877,1789,1896,1983,1980,2367,2714,2554,2637,2345,2161,2568,2249,1925,2220,2056,1664,1789,2312,2382,2048,1933,1682,1843,2503,2732,2567,2222,2097,2053,2040,1929,2193,2917,3100,3032,2371,1751,2138,2807,2939,2549,2033,2107,2079,1983,1949,1918,2092,2114,1949,1905,1927,2216,1975,2306,2951,2758,2002,2287,2769,2459,2079,2209,2226,2334,2364,2226,1739,1668,2293,2734,2335,2160,2174,2329,2470,2546,2008,1566,1707,1924,1923,1980,2182,1766,1807,1787,1947,2120,2033,1648,1548,1984,1787,1843,2397,2501,2260,1736,1727,1734,1616,1579,1794,2369,2671,2247,1712,1572,1854,1739,1669,1671,1806,2328,2263,2100,2199,2636,3361,3042,2984,2879,2380,2188,3032,3628,3219,2442,2330,2459,2214,1719,1685,1710,1679,1791,2026,2459,2097,2008,1951,2067,2165,1899,1913,2283,2272,2233,2281,1995,1748,1814,1958,2078,1998,1860,1808,1677,1396,1424,1770,1966,1702,1514,1536,1647,1736,1687,1688,1671,1554,1632,1704,1659,1896,2206,2597,2330,1857,1916,1591,1330,1357,1493,1996,2121,1888,1806,1617,1667,1633,2053,2708,2343,1937],[2698,2705,2934,2994,2715,2877,3283,2767,1888,1919,1974,1981,1846,1742,1794,1826,1870,1912,1732,1683,1820,1980,1979,1946,2097,2271,2293,2161,2030,2030,2136,2056,2119,2169,2049,1878,1618,1762,2673,2544,1826,1833,2076,2503,2654,2740,2928,2313,1909,1582,1612,1953,2288,2205,1754,1779,1979,1701,1632,1371,1585,2166,2227,1720,1944,1963,2208,2611,2547,2699,2952,3059,2818,2788,2995,2748,2758,1914,1714,1781,1845,2348,2896,2920,2765,2405,2512,3255,3077,2713,2581,2285,2708,3165,2785,2267,2120,2425,2419,2320,1831,1914,1973,2431,2396,2717,2680,2531,2909,3408,3250,3129,3117,3229,3071,2708,3053,3256,2459,2612,3231,3061,3062,3107,3134,2998,2294,2204,1958,1976,1992,2141,2206,2666,2308,2026,2006,2070,2221,2467,3138,3372,3051,2774,2191,2062,2531,2097,2182,2226,1948,1743,1697,2103,2591,2135,1616,1609,1614,1649,1622,2348,2356,2116,2393,2541,2108,2315,2664,2243,2168,2031,2076,1938,2250,3068,3552,3307,3411,3012,2055,1788,1863,2196,2609,2783,2353,2710,2964,2665,2766,3465,3365,3826,3768,2748,1981,1690,1498,1742,1805,1512,1575,1496,1750,1565,1818,2739,3770,3138,1862,1722,2310,2805,2692,2751,2623,3194,3316,3343,3670,3696,3815,3378,2818,2507,2229,2065,1844,2145,2908,2850,2652,2126,2006,2791,2656,1917,1868,2062,2441,3094,3392,2606,1927,1835,2136,2041,1996,1858,2249,2206,2222,2216,1675,1741,2374,2907,3264,2927,3287,2916,2832,3411,2994,2653,2798,2762,2492,2578,2536,3075,3283,2887,3544,3526,3407,2686,2153,2235,2522,2739,2276,1843,1820,1483,1404,1451,1917,2103,2144,2333,1902,2060,2280,2341,2241,2243,2364,2165,2010,1645,2179,2028,1916,1550,2011,2223,2095,2392,2445,2142,2058,1617,1608,1949,1986,2209,1687,1919,2310,2131,1992,2475,3016,3343,3510,3430,3630,3617,2845,2776,2632,2104,1868,1696,1454,1375,1491,1647,1960,2103,2100,2186,2257,2473,2525,1991,2153,2754,2718,2246,1859,1869,1954,2368,2452,1691,1389,1255,1261,1380,1360,1333,1287,1529,1873,1901,2125,2931,3384,3240,3673,3729,3244,2574,2626,2940,3331,3217,2522,2001,2126,2250,1954,1804,1560,1482,1466,1565,1429,2507,3216,2509,2552,3241,3012,2200,1687,2834,3427,3356,3188,2862,2476,1776,1440,1403,1412,1436,1376,1405,1504,1425,1190,1292,1614,1537,1377,1260,1485,1505,1460,1342,1554,2942,3752,3271,3216,2820,2072,1450,1854,2001,1698,1650,1466,1355,1306,1238,1500,1786,1528,1411,1346,1470,1327,1215,1256,1158,1319,1367,1226,1337,1360,1579,2270,2302,1992,1914,1923,1975,1852,1513,1592,2308,2787,2497,2222,2227,2329,2483,2362,1786,1766,1798,1783,1795,2386,2858,2159,1414,1418,1383,1444,1549,1462,1478,1468,1560,1616,1436,1248,1311,1392,1430,1566,1556,1612,1502,1519,1857,1858,1490,1584,1517,1499,1558,1587,1654,1678,1638,1380,1722,2722,1822,1530,1511,1648,1482,1620,1782,1686,1467,1353,1410,1568,1603,1486,1744,2226,1982,2098,1930,1766,1692,2032,2398,2552,2578,2061,1652,1567,2051,2065,1561,1461,1687,1803,1706,1443,1522,1578,1743,2535,2764,2524,2328,2478,2797,3172,3531,3420,2434,1666,1355,1355,1303,1524,1866,1802,1555,1506,1426,1686,1602,1582,1695,1724,1705,1794,1708,1732,1823,1849,1909,1892,2068,2353,2329,2458,2610,2666,2648,2932,3376,3440,3207,2840,2237,2024,2071,1812,1425,1352,1437,1572,1918,1862,1543,1463,1594,1811,1676,1659,1655,1420,1314,1316,1369,1616,2256,2216,1622,1474,1634,1646,1386,1576,1756,1668,2214,2546,2058,2213,2676,2482,2059,1548,1690,1981,2293,2360,1898,1979,1771,1524,1385,1278,1318,1356,1729,1890,1771,1650,2061,2346,1907,1587,1599,1688,1638,1772,1853,1963,2282,2088,2018,2281,2144,2052,1740,1909,1944,1599,1721,2528,2836,3040,2932,2029,2352,2679,3205,2060,2197,2130,1853,1815,1734,1797,2214,2316,1902,1704,1544,1457,1789,1683,1736,1570,1450,1490,1469,1465,1400,1305,1098,1287,1420,1576,1424,1335,1426,1589,2384,2634,2310,2036,1750,1664,1696,1833,2267,2470,2790,3112,2185,2394,2547,2177,1755,1671,1759,1845,1990,1746,1472,1401,1668,1891,1996,2007,1937,1694,1710,1803,1587,1459,1444,1392,1444,1792,2190,2370,1951,1655,1716,2201,2041,1676,1559,1495,1418,1608,1650,1355,1309,1678,1905,2255,1969,2290,2045,1842,1814,1736,2125,2437,2132,1891,1714,1628,1745,2103,2235,2266,2078,1904,1973,2086,2301,2280,2012,1890,2343,2514,2565,2630,2224,1948,2353,2402,2691,2579,2458,2520,2001,1460,1398,1810,2235,2139,1936,1924,2404,3040,2502,2578,2876,3061,3828,3032,2501,2680,2551,2155,2932,2597,2800,2412,1926,1956,1975,2052,2083,2341,2151,1699,1447,1267,1456,1550,1408,1592,2370,2708,2410,1766,1590,1642,1676,1510,1702,2018,1977,1858,1856,1758,1468,2208,3455,3496,2918,2922,3196,3544,3318,2580,2797,2294,1497,1060,1447,2375,2068,1409,2044,2846,3010,2071,2118,2854,2997,3076,3343,3498,3829,3807,3108,3053,3248,2864,3030,2877,1753,2179,2811,2584,2500,2182,2250,2276,2181,2291,1890,1306,1293,1520,1599,1575,1688,1656,1912,1770,1642,1657,1637,1801,1934,2077,2001,1998,1832,1726,1580,1545,1713,2060,2447,2668,2897,2943,2650,2433,2634,2751,2208,1610,1418,1567,1832,1734,1460,1307,1520,2017,2614,2068,1484,1748,1399,1335,1137,1107,1450,1463,1497,1543,1508,1122,1150,1309,1372,1340,1361,1610,1892,2083,2011,1716,1408,1478,1905,2100,1997,2047,2189,2149,2280,2053,1869,2076,2040,1856,1531,1436,1368,1262,1329,1112,1220,1522,1624,1609,1395,2119,2207,2075,1878,1788,1816,1671,1383,1388,1574,1754,1804,1682,1584,1685,1755,1531,1836,1978,1789,1832,2007,1274,817,912,946,833,855,945,879,880,1005,1021,998,1030,1070,1422,1698,1676,1805,1961,1690,949,949,1049,1075,1428,1817,1710,1206,1192,1675,1740,1676,1462,1703,2059,1434,921,1146,1363,1450,1359,1182,1381,1590,1854,1749,1638,1693,1623,1324,1350,1663,1730,1621,1451,1219,894,1109,2015,2150,1754,1667,1704,1795,1798,1474,1220,1248,1361,1455,1355,1222,1346,1500,1266,1451,1267,1210,1195,1284,1458,1563,1913,1948,1650,1569,1794,1909,1858,1471,1372,1538,1584,1376,1512,1783,1838,1997,1579,1507,1567,1462,1384,1620,1511,1571,1550,1345,1488,1518,1498,1584,1442,1398,1684,1606,1461,1413,1568,1427,1516,1650,1766,1761,1534,1619,1912,1842,1656,1404,1383,1520,1577,1636,1748,1497,1384,1265,1077,1823,2248,1575,1745,1729,1707,1527,1302,1251,1612,1793,2198,2874,3304,3471,3413,2953,3068,2978,3055,2972,3031,3051,2460,2611,2652,2669,3448,3729,3350,3051,2980,3032,3020,3363,3637,3322,2938,2791,2973,3096,3219,3230,2976,2372,2282,2145,1960,1978,1902,1810,1570,1460,1604,1607,1532,1686,1687,1599,1766,1745,1750,1730,1800,1913,2333,2420,2208,1872,1737,2194,2225,1568,1242,1486,1844,2494,2676,3129,3391,2366,1688,1601,1699,1606,1264,1287,1506,1679,1468,1506,1358,1160,1230,1197,1396,1659,1747,1935,1962,1885,2191,2288,1874,1732,1732,2165,2880,2597,1958,1692,1489,1347,1297,1436,1481,1230,1188,1266,1238,1312,1278,1229,1528,1813,1678,1519,1540,1788,1906,1763,1785,1434,1454,1493,1509,1646,1715,1724,1804,1915,1836,1649,1540,2089,1518,1332,1549,2004,1926,2195,2374,1692,1830,2076,1976,1591,1856,1847,1808,1824,2195,2414,2014,1503,1616,1775,1308,1488,1565,1581,1794,1822,1868,1746,1649,1568,1614,1737,1960,1842,1568,1500,1462,1475,1651,1973,2956,2343,2580,2625,2037,2013,1953,1672,1422,1462,1815,2246,2930,2294,1482,1296,1478,1554,1390,1535,1924,1955,1824,1758,1549,1660,1781,1562,1443,1644,1542,1419,1651,1849,1771,1702,1568,1603,1853,1738,1711,1632,1889,1815,1764,1587,1432,1532,1479,1615,1888,1757,1591,1491,1609,2421,2803,2854,2414,2133,2002,1933,1951,1943,1950,1923,1700,1634,1664,1675,1623,1653,1805,2060,2270,2066,1804,1615,1600,2067,1974,1749,1689,1795,1839,2160,2135,1663,1676,1902,1854,1804,1832,2020,1664,1597,1771,1709,1721,1494,1523,1686,1569,1502,1776,1848,1566,1527,1456,1622,1548,1644,1788,1873,1941,1838,1686,1577,1527,1489,1642,1667,1742,2378,2841,2513,1913,1625,2061,2277,1942,1869,1674,1520,1583,1711,2000,2142,2142,2539,2499,2102,1964,1930,1747,1792,2392,2696,2073,1924,1902,2376,2136,2149,1776,1957,2092,1721,1714,2071,2188,2347,2608,2498,2447,2545,2398,2387,2550,2910,3075,2985,2630,2384,2385,2636,3289,2508,2763,2267,2223,2440,2100,1925,2276,2121,1916,2178,2191,2020,1798,1847,1965,2212,2278,2310,2100,1882,1783,2003,2278,2120,2263,2930,3336,3077,2238,1665,1593,2630,2592,2309,2221,2256,2166,1901,1884,1924,2091,2491,2170,1993,1859,2294,2461,2513,2696,2768,2768,2819,2590,2048,1920,1993,2346,2753,2565,2218,2242,2226,2580,2855,2614,2122,2050,2571,2609,1970,1656,1684,1742,1851,1943,2235,2113,1865,1994,1833,1632,1817,1692,1627,1775,2297,2094,1909,2022,1863,1852,1673,1670,1733,1725,1649,1892,2303,2470,2041,1636,1453,1571,1704,1959,1965,1878,2031,1874,1754,1720,2333,3060,2340,2590,3072,2999,2595,2776,3033,2668,2430,2446,2343,2301,2377,2518,2012,1717,1524,1706,1875,1693,1704,2213,2153,1848,1795,1730,2163,2578,2542,2469,2198,2127,2171,1946,1758,1960,2082,1887,1666,1621,1863,2042,2154,1699,1738,1605,1549,1654,1632,1664,1678,1622,1642,1460,1337,1585,1664,2057,2254,2224,2334,1851,1548,1584,1821,2034,1787,1640,1559,1548,1602,1598,1853,2512,2678,2075],[1873,1770,2008,2241,2231,2289,2529,2253,2060,2223,2356,2186,1976,2076,1986,2256,2087,1923,1938,1937,2033,2136,2018,2084,2043,2042,1976,1949,2004,1808,2070,1887,1771,1769,1604,1545,1602,2145,2947,2405,1731,2100,2143,2454,2814,2767,2862,2752,2271,1680,1692,2214,2471,2359,1870,1647,1805,1551,1331,1208,1279,1775,1552,1233,1624,2159,2446,2398,2552,2636,2220,2661,2785,3294,3329,3226,2919,2179,1866,2083,2396,2654,2730,2423,2963,2997,3162,3768,3553,2990,2509,2084,2386,2976,3024,2235,1649,1946,2254,2131,1780,2397,2453,2354,2052,2437,3051,3227,3495,3483,2944,3124,3391,3049,2910,2984,2867,3248,2736,2865,3692,3660,3553,3374,3124,3074,2410,2518,1989,2367,2191,2321,2193,1904,1959,2172,2129,2471,2285,1899,2910,3146,3072,3010,2128,1774,2220,2400,2428,2615,2565,1754,1623,2303,2377,2402,1981,1640,1485,1745,1825,2121,2047,2512,3287,2990,2170,2226,2105,1954,2067,2007,2295,1982,2194,3187,3584,3529,3732,3041,2696,3256,2990,2698,2356,2271,1775,1981,2685,2888,2942,3220,3475,3769,3570,2767,2522,2071,1685,1757,1604,1588,1570,1499,1901,1718,1507,2016,2924,2916,1988,1637,2089,2492,2408,2861,3054,3517,3565,3425,3432,3787,3495,2402,2155,2403,2642,2667,2230,2087,2778,2755,2351,1930,2144,2411,1923,1821,1883,1582,1903,2294,2604,2179,1908,1840,2299,2398,2260,2302,2879,2758,2184,1908,1643,1917,2325,2609,3378,3433,3371,3481,3487,2978,2643,2571,2415,2508,2414,2143,2245,2832,2622,2374,2432,2431,2589,2909,2366,1868,2608,2677,1986,1773,2125,2075,1969,2041,2658,2753,2527,2755,2302,1890,2265,2427,2096,1897,1748,1734,1872,1723,2281,2013,2061,1977,2354,2500,2210,2465,2195,2286,2752,2127,1565,1979,2243,2199,1941,2009,2230,2422,2558,2526,2798,3438,3489,3314,3392,3196,2341,2567,2431,2108,1854,1729,1542,1410,1438,1632,1954,2402,2288,2126,2401,2454,2257,1927,2314,2563,2159,1763,1969,2072,1886,2454,1977,1414,1366,1241,1365,1497,1449,1460,1843,2351,2459,3046,2846,2857,3217,3972,3862,3264,2337,2277,2703,3201,3831,3583,2469,2031,1887,1885,2167,1915,1930,1943,1925,1837,1522,2084,2851,2665,2529,2510,2651,2410,1723,2802,3427,3383,3072,2652,2260,1636,1396,1439,1479,1457,1376,1448,1412,1350,1161,1461,1825,1700,1364,1246,1362,1395,1435,1363,1601,2552,2777,2623,2811,2045,1623,1624,1548,1539,1627,1528,1335,1306,1278,1310,1614,1531,1332,1349,1283,1288,1315,1265,1277,1287,1302,1404,1549,1837,1503,1204,1274,1305,1309,1337,1283,1444,1465,1275,1600,2465,3022,2757,3186,2689,2501,2154,1809,1576,1575,1705,1737,1712,1936,2480,2554,2509,2648,1889,1931,1967,1946,2077,2136,1960,1559,1410,1408,1434,1392,1597,1743,1523,1466,1452,1654,2003,1971,1641,1590,1572,1512,1416,1448,1707,1670,1471,1459,1367,1567,1559,1444,1582,1846,1965,2157,2026,1754,1721,1640,1675,1647,1728,1904,1767,2087,2322,2591,2146,1867,1775,1687,1665,2078,2418,1852,1626,1440,1804,1933,1661,1493,1822,1906,1478,1340,1641,1580,1717,2487,2195,1875,2237,2351,2775,2724,2811,2785,2474,2038,1350,1381,1213,1316,1529,1607,1404,1405,1492,1671,1693,1597,1654,1713,1847,1880,1762,1778,1799,1861,2004,1905,1673,1552,1859,2104,2330,2446,2401,2755,3105,3211,3079,2854,2246,1957,2500,2358,1627,1412,1499,1651,1826,1719,1418,1423,1444,1603,1552,1453,1409,1322,1340,1394,1372,1499,1731,1827,1553,1750,2465,1897,1553,1622,1710,1629,1792,2059,1968,2058,2447,2567,2339,1719,1649,1968,1986,1815,1771,1802,1584,1591,1675,1503,1548,1461,1562,1600,1798,1917,2086,2110,1847,1587,1520,1739,1990,2098,2230,1958,2177,2061,1947,1920,2067,2105,1981,1986,1687,1448,1661,1900,2136,2476,2629,2035,2260,2493,2912,2674,2162,1946,1991,1801,1588,1949,2587,2634,1999,1856,1865,1830,1932,1794,1561,1455,1527,1512,1592,1656,1758,1408,1487,1996,1860,1631,1498,1350,1201,1346,1845,2596,2828,2288,1903,1765,1787,1826,2023,2434,2762,2873,2254,2244,2350,1861,1527,1727,1764,2244,2434,1433,1186,1369,1782,1718,1869,1981,1901,1866,1906,1818,1504,1338,1278,1290,1393,1547,1859,1819,1908,1885,1785,1947,2041,1931,1649,1494,1270,1361,1458,1439,1544,1770,1768,1732,2100,2223,1991,1932,1661,1763,1973,2144,2494,1971,1773,1741,1692,1838,1591,1603,1767,1752,1721,1722,1745,1658,1688,2030,2034,2011,2169,2198,1881,1709,1699,1580,1153,1345,1751,1825,2099,1898,1809,1991,2491,2590,2430,2254,2178,2156,2220,2136,2078,2045,2849,2644,2563,2184,1966,2875,3054,2127,1985,2049,1832,1441,1465,1711,1636,1532,1947,1561,1549,1626,1804,1782,1489,1714,2241,2425,2301,1432,1242,1606,1530,1356,1723,1863,1846,1904,1940,1688,1559,2331,2873,2645,2048,2248,2941,2829,1714,1237,2236,1939,1126,1635,2482,2717,2291,2188,3069,3605,3362,3034,2863,2927,2920,2889,2828,3465,4668,4501,3442,3140,3841,3532,3882,3010,1631,1642,1952,2176,2166,2122,2402,2243,1878,2322,1918,1850,1956,1876,1521,1334,1460,1238,1216,1612,1928,1730,1527,1785,1793,1843,1757,1957,1930,2080,2082,1840,2104,2558,2631,2799,2743,2823,2395,2339,2453,2524,2105,1904,1971,2435,2127,1705,1509,1290,1842,2410,2747,2092,1511,1727,1349,1452,1337,1548,1644,1535,1477,1513,1731,1742,1710,1378,1311,1171,1070,1251,1588,1588,1609,1771,1660,1550,1566,1549,1754,2032,1926,2084,2303,2075,1773,1723,2077,2246,2151,1968,1785,1882,1457,596,886,1204,1612,1626,1533,1859,1913,1904,1947,1918,1945,1999,1927,1748,1881,1719,1725,1835,1657,1570,1482,1535,1833,1901,1783,1817,1952,1227,1315,1352,1340,1262,1265,1354,1316,1274,1373,1272,1031,828,1214,1603,2054,1975,1982,2077,1725,1194,1197,1251,1127,1223,1320,1250,908,1226,1437,1207,1190,1134,1371,1703,1535,1165,1340,1803,1599,1265,1141,1260,1393,1685,1595,1589,1616,1323,1097,1271,1442,1509,1577,1527,1413,1150,1818,2222,1571,1350,1649,1720,1592,1475,1337,1204,1218,1279,1378,1386,1348,1309,1327,1214,1338,1291,1342,1362,1463,1601,1760,2073,1906,1568,1377,1345,1459,1466,1300,1297,1488,1326,1073,1138,1278,1414,1497,1173,1295,1456,1233,1076,1544,1795,1726,1617,1666,1604,1644,2081,1716,1460,1381,1391,1470,1463,1443,1377,1415,1599,1666,1802,1885,1630,1441,1549,1728,1408,1648,1465,1456,1573,2210,2391,1471,1316,1332,1747,2207,2157,1698,1648,1682,1609,1498,1140,1462,2139,2031,1860,1886,2105,2556,3067,2757,2865,3188,3124,3162,3318,3018,2821,3218,3082,2877,3167,3068,3042,2835,2714,2790,2872,3194,3477,3296,2908,2917,2912,2998,3229,3067,2808,2017,1677,1741,1606,1551,1634,1671,1633,1599,1694,1734,1687,1693,1637,1487,1574,1585,1574,1573,1514,1490,1931,2370,2224,2033,2196,2599,2024,1345,1268,1423,1780,2014,2052,2431,2788,2370,1844,1817,1760,1560,1388,1200,1233,1249,1237,1379,1292,1306,1456,1416,1569,1831,2065,2701,2869,2319,1920,1858,1823,1844,2120,2912,3061,2342,1626,1236,1383,1377,1262,1318,1445,1450,1358,1360,1306,1362,1321,1175,1374,1576,1385,1294,1250,1383,1672,1782,1605,1265,1382,1411,1260,1379,1448,1666,1724,1758,1819,1805,1475,1536,1558,1640,1848,1858,1807,2711,2863,1749,1542,1571,1545,1562,1603,1637,2163,2071,2431,2810,2114,1527,1782,1889,1404,2041,2020,1885,1868,1693,1844,1952,1807,1654,1657,1656,1746,1518,1494,1594,1474,1633,2240,2456,2514,2023,1743,1904,2106,1996,2056,2483,1940,1449,1497,1829,2192,1838,1601,1673,1724,1475,1355,1677,2393,2359,1925,1603,1600,1640,1356,1150,1527,1958,1778,1746,2206,2055,2171,1871,1529,1633,1642,1649,1761,1773,1621,1626,1610,1508,1533,1564,1426,1537,1620,1938,1321,1258,2029,2477,2404,2596,2896,2769,2232,1837,2177,2111,2074,1971,1918,1795,1623,1860,1948,1765,1960,2231,2120,2160,1771,1422,1692,2128,1842,1767,1803,1750,2464,3329,3084,2221,2220,2353,1822,1782,1830,2002,1730,1622,1700,1676,1607,1456,1402,1409,1493,1676,1693,1643,1565,1535,1517,1534,1575,1575,1574,1829,2009,1869,1545,1456,1395,1610,1672,1749,1613,1794,2127,2189,1774,1831,2282,2098,1930,2096,1785,1524,1512,1616,1496,1524,2314,2775,2390,2163,2186,1976,1671,1650,1568,1691,1555,1614,1738,1815,1677,1753,1703,1585,1431,1659,2343,2332,1805,1800,2365,2582,2744,2977,2785,2658,2812,3062,3585,3860,3429,3039,2659,2850,3217,2545,2775,2412,2023,2337,2332,2013,2075,2176,2115,2221,1931,1735,1670,1707,2166,2299,2326,2584,2288,1715,1886,2643,2907,2268,2315,2820,3035,2855,2764,2354,2238,2575,1936,1879,2249,2214,2011,1894,2127,2136,2585,2311,1885,2197,2120,2189,2592,2614,2342,2610,2862,2626,1719,1779,1802,1853,2260,2537,2334,2020,2555,2424,2030,2351,2608,2425,1763,2128,1939,1565,1803,1931,1763,1645,1736,1967,1919,1906,2188,2089,1777,1781,1792,1775,2030,2475,2176,2188,2343,2009,1697,1697,1680,1808,1955,1742,2191,2510,2268,1707,1522,1581,1811,1992,2382,2370,1890,1626,1515,1616,1825,2105,2698,2329,2585,2873,2699,2525,2873,3110,2834,2408,2255,2035,2071,2712,2790,2025,1727,1716,1931,1904,1339,1401,1954,1935,1910,1703,1592,2141,2644,2588,2529,2477,2293,2327,2155,1861,1944,2069,2083,1918,1867,2317,2385,2149,1748,1720,1561,1502,1619,1715,1848,1697,1560,1649,1579,1476,1523,1413,1663,2025,1914,1672,1754,1687,1505,1701,2137,1948,2121,2007,1810,1793,1654,2119,2605,2551,2364],[1758,1973,2162,2066,1976,2040,2178,2311,2312,2288,2215,2113,2188,2157,1888,2111,2069,2011,2024,2049,1996,1741,1865,2061,1855,1938,1646,1637,1780,1465,1586,1732,1777,1776,1740,1706,1743,2113,2611,2287,2131,2197,2090,2003,2485,2841,2808,2636,2483,2001,1964,2255,2366,1865,1348,1432,1618,1542,1522,1443,1377,1575,1537,1455,2003,2920,2421,1923,2141,2300,2266,2516,3011,3188,2967,3227,3299,2877,2580,2348,2459,2525,2907,2702,3229,3065,3273,3647,3023,2509,2379,2053,2330,2399,2288,1792,1447,1561,2251,1824,1693,2381,2835,2383,2235,3023,3526,3162,2836,2769,2626,2998,3198,2989,2968,3340,3238,3031,2854,2921,2995,2939,3044,2840,2347,2328,2340,2811,2452,2453,2713,2823,2447,2021,2042,2164,2370,2648,2332,2234,3082,3617,3772,3311,2230,1988,2599,3139,2907,2747,2507,1928,1731,1776,2108,2742,2416,1777,1599,1966,2063,1819,1750,2586,3411,2936,2512,2722,2668,2334,2107,1769,2003,2444,2653,3000,2982,3036,3277,3141,3316,3234,2642,2616,2501,2123,2072,2059,2420,2786,2718,2781,2534,2484,2625,2528,2884,2758,2264,1859,1642,1646,1567,1598,1740,1612,1536,1671,2319,2529,1809,1891,1947,2096,2466,3114,3707,3646,3552,3406,3408,3605,3145,2291,2280,2741,2944,2884,2368,2062,2558,2844,2492,2351,2403,2083,2085,2674,2504,2380,2110,2445,2342,1742,1805,1812,2035,2270,2159,2241,2556,2494,2140,2163,2546,2190,2114,2750,2477,1744,2289,3091,2713,2287,2498,2270,2031,2337,2122,2039,2696,2427,2240,2264,2130,1981,2023,2512,2296,1769,2135,2057,2288,2024,2208,2388,2168,1980,2298,2409,2480,2648,2507,2093,2178,2502,3019,2347,1638,1566,1831,1849,2154,2077,2005,1952,1852,1997,2358,2667,1828,1815,2479,2530,2083,2248,2494,2700,2461,2012,2176,2384,2515,2786,2996,3394,3486,3403,3530,3250,2820,2417,2248,2640,2942,2977,2065,1469,1482,1749,2009,2465,2466,2459,2729,2776,2563,2367,2509,2941,2788,1880,1785,1830,1434,1300,1311,1358,1355,1510,1553,1536,1606,1942,2902,3633,3178,2829,2696,2863,2603,3038,3338,3159,2707,2883,3519,3554,3542,3043,2173,2166,1818,1771,1868,1649,2082,2266,2032,1509,1419,1833,2357,2665,3040,2850,2733,2407,1831,2751,3318,3174,3029,2966,2512,1558,1578,2176,2140,1730,1478,1388,1366,1368,1330,1437,1510,1448,1427,1467,1405,1355,1396,1570,1556,2298,2658,2229,2285,1808,1584,1771,1493,1560,1592,1583,1543,1356,1350,1334,1366,1285,1903,2100,1223,1367,1244,1257,1271,1257,1300,1470,1461,1654,1328,1195,1298,1318,1282,1309,1315,1240,1257,1843,1922,2203,2493,2391,2835,2641,2620,2206,1763,1741,1656,1646,1708,1854,2016,2271,2459,2666,2784,2354,2120,2001,1929,2154,2522,2358,1878,1750,1517,1572,1526,1585,1764,1708,1593,1569,1933,2217,2014,1625,1551,1562,1501,1485,1367,1321,1433,1708,2217,1675,1560,1804,1731,1585,1980,2508,2223,1784,1578,1799,1791,2026,1918,2144,2810,2298,2078,2368,1898,1557,1852,1890,1606,1594,1505,1885,1760,1631,1431,1343,1512,1489,1427,1693,1765,1461,1348,1404,1451,1617,1530,1319,1390,1799,1955,1858,1675,2260,2330,1995,1963,1465,1344,1363,1479,1524,1538,1541,1597,1678,1758,1750,1836,1796,1871,1885,1952,1744,1712,1681,1825,1973,1871,1740,1772,1688,1844,2144,2205,2194,2536,3119,3285,3050,2798,2274,1897,2895,3583,2697,1653,1380,1572,1673,1551,1371,1343,1316,1460,1563,1390,1257,1414,1524,1322,1503,1708,1768,2152,2039,2222,2845,2221,1645,1444,1555,1542,1507,1610,1850,1858,1899,1948,1836,1622,1586,1886,2128,2262,1747,1419,1577,1852,2260,1951,1603,1445,1344,1388,1482,1612,1609,1803,1804,1806,1790,1594,1989,2325,2283,1784,2135,2019,2287,2376,2526,2294,1893,2006,1770,1591,2078,1609,1864,1756,1819,2193,2161,1944,2215,2231,2045,2195,2412,2164,1843,2041,2944,3072,2304,1898,1732,2034,2033,1811,1708,1503,1465,1718,1647,1460,1935,1594,2303,2681,2375,2032,1603,1443,1448,2116,2627,2238,2502,2744,2374,1916,1997,1944,1837,1802,2300,2404,1882,1716,1619,1432,1461,1992,2018,2308,2244,1439,1511,1517,1423,1437,1602,1696,1839,1870,1839,1665,1465,1292,1400,1364,1558,1598,1673,1648,1937,2109,1973,2004,2036,1901,1850,1610,1370,1382,1388,1438,1572,1622,1499,1652,2244,2268,2031,1997,1863,1885,1956,2315,2517,1919,1934,1947,1723,1434,1212,1556,1713,1691,1784,1836,1837,1746,1657,1667,1749,1782,1880,1842,1881,1865,1533,1203,1099,1438,1421,1826,2058,1571,1771,1960,2112,2227,2326,2152,1876,1754,1611,1474,1679,2202,2680,2482,2894,2397,2555,3572,3078,2232,1947,1748,1169,970,1450,1598,1411,1614,2920,2414,1689,1865,1783,1663,1587,1535,1762,2177,2375,1864,1475,1440,1388,1553,1769,1738,1716,1787,1827,1504,1652,2087,2199,2390,2127,2116,2486,1647,1183,1958,2878,2458,1797,2536,2707,2679,3007,3166,3436,3348,2862,2856,2976,3294,3316,3031,3171,3816,4672,4320,3797,2632,2799,2954,3483,2770,1674,1572,2215,2764,2808,2791,2996,2846,2311,2400,2757,2654,2336,2424,2234,1768,1278,1328,1881,2089,1866,1829,1306,1851,1977,1812,1842,2145,2145,2121,2220,2070,2093,2160,2332,2509,2197,2280,2182,2123,2109,2144,2112,2055,2229,2122,1747,1864,1553,1191,1800,2327,1991,1490,1408,1507,1496,1717,1764,1827,1803,1581,1461,1634,1825,1818,1620,1543,1454,1373,1374,1370,1406,1414,1586,1507,1658,1884,1132,963,1461,1393,1531,1808,1877,1843,1490,1672,2187,2115,2099,1960,1620,1730,1376,838,1197,1550,1610,1586,1788,1917,1933,2005,2023,2001,2017,2095,2112,1730,1555,1758,1819,1841,1768,1728,1652,1706,1846,1886,1725,1665,1848,1328,1300,1322,1351,1297,1288,1594,1631,1319,1388,1418,951,941,1671,1880,2114,2157,2199,2209,1952,1554,1477,1597,1382,1238,1271,1227,650,1195,1317,1233,1340,1273,1361,1524,1379,1177,1209,1606,1459,1394,1357,1334,1281,1455,1666,1646,1317,1063,1303,1503,1438,1389,1343,1479,1628,1584,2002,1726,1107,1157,1318,1504,1515,1311,1339,1213,1138,1187,1355,1335,1317,1289,1339,1316,1359,1441,1393,1434,1497,1390,1459,1693,1722,1497,1240,1275,1212,1054,1001,1172,1158,904,912,1127,1250,1410,1253,1765,1859,1566,1241,1176,1562,1780,1583,1456,1510,1546,1759,2193,1538,1498,1442,1284,1268,1344,1353,1446,1598,1599,1402,1538,1658,1568,1512,1348,1521,1814,1844,1576,1628,1672,2337,2104,1218,1229,1425,1820,1867,2020,1664,1500,1772,1796,1520,1261,1791,2381,2129,1800,1631,1664,1848,2223,2363,2856,3150,3096,3332,3491,2945,2746,3090,3150,3212,3150,2819,3017,3249,2909,2651,2944,3084,2688,2513,2755,2911,2929,3392,3636,3290,3067,2353,1878,1722,1512,1415,1460,1515,1640,1522,1627,1737,1592,1592,1620,1544,1488,1541,1665,1802,1826,1706,1922,2543,2414,2034,2134,1870,1481,1565,1494,1647,1980,2147,1842,1592,2101,2513,2029,1751,1585,1403,1674,1418,1258,1645,1611,1373,1410,1539,1556,1611,1783,2167,2812,3545,3957,3216,2190,1801,1885,2007,2578,3383,2629,1663,1283,1185,1310,1403,1418,1308,1236,1346,1478,1481,1569,1315,1271,1387,1464,1426,1287,1348,1251,1213,1398,1465,1364,1269,1663,1863,1442,1358,1302,1537,1450,1809,1764,1648,1720,1751,1904,2025,1832,1394,1648,2286,2003,1150,1380,1622,1620,1615,1612,1758,2112,2067,1902,1681,1530,1565,1625,1580,1646,2038,2277,2172,1838,1572,1609,1825,1960,1873,1824,1904,1812,1631,1650,1606,1462,2074,2934,2876,2213,1954,2014,2253,2569,2830,3037,2912,2174,1685,1508,1659,1804,1761,1817,2299,2326,1819,1476,1515,1644,1980,1802,1525,1543,1512,1284,1334,1722,1836,1627,1952,2397,1902,2075,2248,1990,1621,1626,1693,1747,1638,1652,1609,1616,1853,1778,1615,1532,1613,2136,1922,1332,1512,2408,2630,2123,2158,2969,2943,2197,1781,2077,2056,1722,1750,1868,1898,1950,2044,1960,1722,1680,1851,1858,1765,1537,1655,1624,1527,1647,1910,1954,2422,3304,3604,3472,2929,3085,2709,1819,1775,1953,2165,2020,1663,1400,1510,1489,1669,2044,1820,1576,1782,1744,1736,1662,1730,1666,1594,1743,1627,1486,1625,1731,1707,1769,1547,1600,1642,1694,1655,1534,1655,1952,1886,1660,1919,2567,2007,1914,1779,1677,1686,1569,1664,1435,1539,2319,2309,2023,2213,2080,1734,1607,1561,1650,1851,1840,2144,2199,1893,1738,1745,1675,1442,1387,1675,2546,2323,1784,1815,2151,2803,3167,3165,2842,2232,2300,2691,3242,3395,3212,2897,2872,3256,2977,2942,2677,2176,2063,2093,2349,2362,1925,2085,1896,2108,2078,1717,1856,1872,1707,1937,2269,2313,1991,1707,1886,2214,2137,2143,2569,2613,2662,2147,2376,2692,2532,2135,1769,2176,2478,2279,2171,2194,2471,2297,2265,2037,1888,2289,2153,1737,1886,2137,2497,2584,2482,2652,2024,1948,1961,2070,2062,2142,1974,2137,2844,2541,1815,1843,2399,2511,1758,1649,1649,1641,1880,1822,1560,1449,1632,1871,1759,1771,1854,1737,1810,2156,2138,1956,2212,2389,2144,2219,2451,2195,1952,1935,1781,1749,1981,1818,2040,2140,1789,1520,1502,1741,1729,1829,2418,2757,2360,1682,1501,1535,2120,2575,2656,2351,2625,3066,2950,3016,3410,3415,2554,1914,1838,2166,2260,2505,2056,1509,1600,1628,1627,1522,904,1066,1640,1741,1551,1553,1844,2566,2554,2330,2499,2421,2396,2254,1982,1656,1838,1841,2020,1984,1803,1849,1901,2003,2154,2079,1682,1717,1770,1792,1955,1781,1867,1794,1717,1614,1467,1395,1637,1792,1333,1157,1650,1758,1891,2088,2338,2307,2072,1849,1926,2044,2171,2670,2632,2521,2451],[1612,1626,1586,1655,2137,2554,2517,2653,2623,2264,2385,2231,2140,2133,2162,2454,2374,2097,2002,1868,1676,2126,2363,2155,2323,2281,1660,1544,1677,1637,1738,2078,2124,1959,1706,1557,1664,1705,1933,1803,2406,2092,1788,1911,2749,3239,2964,2696,2478,2316,2531,2516,2491,1939,1577,1632,1499,1460,1593,1487,1326,1373,1683,1771,1755,2205,2325,1967,2046,2117,2179,2108,2272,2270,2315,2555,2648,3037,3416,2927,2530,2570,2916,2908,3034,3241,3140,2941,2536,2274,2120,2243,2931,2665,2564,2730,2234,2020,2499,2291,2289,3163,3041,2193,2511,3038,2857,2302,2307,2719,2674,2270,2249,2868,2885,2977,2852,2635,2699,2696,2824,2901,2664,1927,1728,1962,2468,2695,2291,2269,2784,2876,2566,2226,2244,2633,3217,3000,3176,2817,3103,3824,3918,3582,3051,2862,3283,3200,2755,2363,2197,2187,1963,1807,2332,2729,2499,1963,1721,2093,2185,1597,1689,2412,3096,2995,3288,3252,2880,2265,2076,1803,1998,2295,2580,3220,3099,2735,2652,3145,3725,2883,2930,2603,2219,2185,2401,2451,2679,2244,1614,1979,1793,1762,2661,3115,3090,3075,2406,2176,2339,1915,1647,1646,1533,1343,1364,1361,1732,2313,2320,2436,2206,1757,2094,3100,3339,3325,3356,3364,3418,3662,3521,3413,3078,2813,2462,2577,2520,2558,2680,2421,2385,2888,2355,1871,1520,2209,2580,2894,2575,2480,1959,1691,1698,1783,2453,2585,1978,1906,1786,1764,1779,2082,2634,2030,1841,2269,1766,1303,1917,2503,2030,2150,2348,2096,2170,2292,2177,2895,2932,2551,2236,1697,1954,2139,1630,1521,1500,1379,1553,1890,2549,1959,2037,2341,1921,2053,2244,1977,2156,2216,1925,2237,2602,2776,3502,2706,1837,1464,1658,1626,1650,1834,1674,1830,2659,2790,2598,2218,1999,2009,2485,2657,2369,2274,2454,2622,2555,2109,2270,2306,2255,2778,3190,3305,3249,3197,3331,3366,3232,2816,2483,2970,3291,3428,2789,1539,1520,2026,2346,2490,2448,2336,2620,2687,2503,2375,3010,3342,2980,2033,1588,1695,1622,1594,1519,1340,1502,1582,1452,1575,2018,2850,3759,3891,3348,2956,2539,2302,2077,2385,3404,4035,3670,3237,3173,3500,3554,2899,2301,2865,2646,2269,1924,1644,1578,1803,1878,1371,1406,1434,1474,2362,3012,3039,3033,2634,2231,2740,3138,3263,3172,2953,2652,1600,1460,2365,2903,2371,1550,1622,1780,1398,1334,1349,1385,1337,1324,1266,1267,1271,1907,2217,1879,2273,2219,1612,1555,1501,1514,1704,1429,1512,1511,1740,1758,1509,1395,1398,1297,1487,3213,3139,1279,1326,1402,1353,1367,1265,1268,1357,1421,1428,1279,1187,1202,1236,1341,1378,1265,1281,1412,1998,2111,2046,1829,1750,2104,1994,1877,2055,2012,2046,2137,2271,2364,2523,2587,2360,2276,2287,2196,2125,2089,2053,1992,2309,2562,2421,2095,1768,1335,1426,1392,1559,1795,1826,1722,1794,1993,1949,1964,1879,1759,1443,1394,1333,1356,1367,1475,1881,2300,2054,1872,2119,2415,1960,1897,2235,1902,1640,1524,1643,1959,2341,2265,2236,2808,2852,3191,3296,1980,1494,1849,1912,1515,1489,1391,1680,1787,1692,1451,1251,1299,1350,1279,1332,1490,1385,1360,1312,1545,1660,1666,1762,1846,1820,2021,1975,1730,1957,1790,1711,2339,1973,1683,1600,1710,1753,1777,1732,1705,1867,1701,1578,1612,1430,1726,1816,2094,1870,1684,1637,1782,2037,1927,1999,2443,2046,1959,2325,2364,2008,2195,3130,3522,3128,2775,2321,2025,3181,4228,3150,1637,1366,1467,1494,1534,1501,1407,1472,1567,1514,1475,1317,1396,1421,1322,1528,1729,1912,2149,2189,2281,2223,2565,2283,1608,1657,1455,1402,1622,1981,2021,2009,2060,1899,1815,1956,1814,2192,2541,1914,1477,1501,1848,2406,2163,1721,1492,1440,1590,1559,1661,1903,1967,1952,1732,1738,1592,1864,2112,2181,2299,2357,2337,2831,2534,2520,2585,1924,2047,2042,2077,2895,2216,1904,1730,2054,2306,1771,1695,2010,1769,1820,1809,2004,1996,2071,2119,2831,3225,3055,2207,2381,3161,2411,1718,1727,1559,1671,1867,1779,1770,2276,1594,2280,2792,2365,1918,1538,1644,1866,2420,2387,1632,1763,2225,2398,1974,2129,2314,2390,2247,2243,2125,1803,1772,1633,1557,1460,1785,1808,1857,1517,1380,1613,1417,1161,1505,1645,1525,1685,1842,1827,1737,1619,1394,1449,1587,1622,1525,1511,1522,1811,2081,2065,2211,2746,3006,2406,1852,1546,1401,1322,1460,1558,1602,1600,2071,2931,3047,2701,2732,2886,2671,2247,1977,1991,1917,2263,2341,1807,1653,1412,1584,1600,1770,1773,1799,1441,1003,1035,1447,1700,1591,1540,1669,1792,1792,1651,1472,1710,1628,1609,2128,2023,1533,1552,1750,1670,2029,2828,1998,1280,1627,1678,1782,1830,2204,2364,2244,2675,2300,2312,3500,3143,2383,1653,1297,868,1205,1648,1592,1448,1518,2375,2156,1383,1437,1427,1498,1786,1698,1464,1848,2046,1609,1297,1289,1569,1820,1691,1750,1764,1691,1713,1449,1921,2080,2190,3001,2930,2543,2215,1659,2129,3339,3763,3528,2979,2999,2403,2547,2941,2955,2919,2822,2732,2645,2582,3047,3443,3458,3614,3601,4061,3623,3409,2553,2027,2491,3040,2441,1819,1892,2410,3183,3437,3436,3208,3001,2544,2598,2554,2230,2413,2069,1319,1167,1192,1368,1594,1777,1671,1786,1303,1859,2105,1887,1839,1903,1855,2000,2246,1930,1629,2140,2437,2092,1879,1875,2014,2003,2116,2263,1990,1844,1890,1594,2224,2145,1741,1926,2494,2132,1608,1413,1558,1658,1646,1712,1682,1486,1564,1315,1300,1368,1284,1374,1486,1555,1554,1596,1516,1578,1711,1638,1637,1632,1996,2129,1369,1210,1341,1271,1309,1417,1593,1876,1746,1692,1846,1815,2109,2090,1974,1786,1482,1309,1556,1740,1368,1331,1833,1981,1804,1812,2027,2094,2108,1951,1671,1419,1437,1357,1544,1848,1892,1863,1826,1894,1703,1794,1854,1787,1868,1760,1570,1466,1460,1471,1521,1554,1446,1394,1438,1594,1062,1500,1842,1864,2018,2102,2025,1995,1987,1587,1513,1562,1428,1232,1155,1010,738,1301,1493,1318,1394,1394,1443,1488,1416,1418,1357,1608,1637,1512,1282,1268,1319,1369,1512,1671,1478,1301,1380,1402,1493,1708,1653,1513,1534,1542,1667,1408,1294,1369,1329,1371,1317,1311,1315,1224,1093,1157,1348,1379,1448,1481,1434,1344,1285,1291,1189,1340,1426,1372,1308,1527,1526,1299,1113,1256,1240,1029,1122,1383,1188,954,896,989,1335,1557,1335,1666,1741,1495,1310,1220,1394,1565,1431,1405,1406,1325,1431,1869,1902,1721,1564,1354,1388,1620,1465,1715,1715,1650,1526,1610,1599,1569,1404,1431,1909,2484,2641,2463,2097,1702,2142,1722,1287,1247,1316,1549,1739,1673,1402,1545,1955,1964,1587,1382,1489,1548,1450,1342,1434,1509,1553,1663,1779,2056,2494,2901,3375,3111,2406,2335,2835,3209,3576,3339,3292,3375,3521,3599,3310,3016,2621,1618,1802,2647,3045,3309,3686,3814,3713,3858,2979,1868,1541,1375,1453,1487,1687,1865,1620,1599,1751,1688,1474,1382,1459,1562,1499,1574,1676,1581,1547,1750,2307,2401,2046,1768,1395,1325,1596,1794,1859,1923,2347,2208,1804,1954,2434,2187,1729,1625,1897,2008,1580,1763,2097,1840,1631,1555,1648,1688,1725,1752,2724,3006,2785,3178,3438,2709,1867,2279,2768,3030,2990,1979,1411,1263,1104,1332,1533,1416,1272,1032,1343,1689,1409,1591,1261,1302,1517,1511,1466,1302,1317,1395,1520,1435,1392,1352,1164,1505,1688,1420,1323,1234,1487,1448,2097,1865,1676,1735,1730,1815,1781,1780,1592,1588,1676,1481,1354,1639,1649,1654,1899,1875,1658,1737,1791,1703,1577,1584,1726,1860,1694,1954,2172,2244,1848,1591,1663,1604,1589,1738,1849,1893,1951,1648,1573,1524,1464,1477,2148,2952,2727,1828,1808,1911,2162,2413,2892,3008,2599,2014,1636,1462,1442,1531,1664,1777,2591,2887,2409,1638,1527,1500,1570,1519,1544,1610,1576,1596,1701,1983,1694,1736,1760,1982,1902,1638,2071,2227,1902,1612,1765,1978,1738,1558,1488,1591,1716,1724,1603,1533,1690,1699,1799,1981,2034,2501,2668,2330,1782,2030,2226,2054,1766,1851,1995,1964,1764,1809,2090,1836,1725,1982,1619,1688,1674,1470,1530,1644,1910,1818,1534,1627,1643,1776,2739,3509,3292,3523,2765,2774,2675,2337,2151,2332,2159,1843,1781,1571,1527,1547,2314,2824,2501,1921,1713,1738,1772,1842,2188,2147,2129,2029,1759,1480,1525,1704,1715,1706,1485,1527,1653,1881,1936,1756,1647,1714,1910,1809,2639,3196,1837,1569,1521,1729,1801,1497,1614,1848,2166,2489,2089,1932,2279,1763,1516,1687,1660,1640,1811,1835,1869,1843,1499,1917,2054,1927,1389,1482,1760,2264,2076,1798,2009,2280,2573,2711,2922,3244,1923,1674,2249,2680,2907,2943,3162,3410,3400,3152,3023,2443,2008,2135,1916,1910,1948,1809,1888,1682,2058,2481,2150,2068,1835,1819,2424,2413,2229,2136,1675,1699,1841,2369,2676,2256,2155,2499,2464,2418,2185,1837,1807,1952,2123,2354,2215,2100,1804,1811,2018,1969,1706,1826,2093,1812,1748,1977,2194,2582,2421,2257,2265,1929,1794,1834,1781,1937,2225,2054,2067,2424,2116,1890,1869,1764,2031,1907,1792,1940,1853,1794,1829,1757,1721,1803,1900,1749,1623,1907,2241,2055,2659,2605,1959,1754,1896,1953,1897,2165,2164,2158,1980,1747,1541,1629,1803,1817,1710,1593,1459,1504,1710,1976,1960,2111,2154,1696,1465,1488,1728,2402,3061,3107,2681,2666,2670,2882,3066,3034,2913,2712,2657,2504,2279,2168,2119,2002,1918,1737,1498,1466,1383,1188,1331,1419,1519,1449,1435,2100,2801,2542,2475,2503,2249,2426,1840,1699,1676,1729,1591,1741,1927,1991,1854,1632,1753,2172,2089,1762,1720,1778,1665,2043,2222,2574,2373,1916,1649,1555,1374,1554,1960,1722,1650,1881,1827,1866,2048,2292,2170,1980,2146,2352,2353,2656,2524,2186,2459,2465],[1548,1593,1711,1923,2309,2374,2524,2459,2412,2117,2092,1953,1760,1863,2225,2374,2154,2165,2008,2021,2264,2715,2500,2092,2512,2437,1917,1788,1638,1597,1780,1930,1687,1929,1762,1683,2000,1853,1675,1931,2536,2271,1986,2501,3175,3173,3103,3028,2575,2409,2651,2543,1815,1816,1943,1532,1320,1566,1721,1532,1518,1417,2201,2486,1705,1474,1772,1432,1764,2505,2800,2539,2075,1664,1684,1861,2100,2490,2955,2451,2216,2437,2502,2491,2877,2988,2596,2375,2305,2235,2328,2297,2755,2491,2780,3185,2918,2720,2844,2518,3262,4096,3384,3030,2964,3055,2563,2290,2261,2274,1683,1811,2709,2664,2239,2098,2047,2259,2468,2297,2024,1434,1380,994,1338,1850,1992,2076,2232,2380,3003,2921,2470,1945,2045,2383,2838,2728,3063,3111,3183,3365,3452,3392,3301,3046,2898,2862,2636,2419,2546,2111,1877,2007,2392,2722,2614,1859,1626,1985,2055,1771,2436,2630,2664,2956,2758,2711,2451,2213,2374,2259,2169,2374,2544,3061,2623,2770,2654,2634,2862,2879,2737,2112,2160,2729,3076,2815,2418,1905,1062,1197,1847,2088,2657,3059,2830,2635,2417,2788,2574,1781,1667,1519,1471,1542,1600,1653,1897,2896,2864,2478,2612,2851,3007,2824,2526,3021,3256,3350,3401,3661,3972,4001,3504,2530,2070,2245,2360,2579,2441,2576,2686,2564,2038,1390,1392,2272,2590,2500,2451,2302,2142,2216,2125,2298,3465,3441,2966,2655,1882,1503,1650,1914,2422,2139,1928,2186,2101,2124,2121,2068,1671,2116,2294,2403,2580,2955,3597,4120,3808,3284,2732,2770,3216,2762,1533,1087,1208,1457,1646,1793,1816,1660,2092,2199,2004,1937,2083,2462,2271,2359,1969,2994,3166,2762,2706,2435,2139,1729,1511,1648,1894,1968,1786,2625,3508,2979,2476,2142,1968,1896,2035,2185,2164,2270,2646,2774,2481,2598,2887,2628,2418,2356,2673,2986,3177,3188,3115,3145,3086,3292,3110,3127,2835,2720,2868,2129,2382,3106,3108,2749,2181,2202,2655,2319,2319,2629,2952,2891,2544,1969,1942,2232,2193,2130,2046,1616,1441,1401,1497,2185,3333,3748,3365,3001,2873,2854,2420,2023,1737,1885,2874,3729,3270,3122,2863,3168,3384,2752,2640,2986,2710,2530,2194,1700,1450,1672,1534,1449,1434,1541,1782,2482,2941,3116,3137,2960,3396,3827,3816,3579,3171,2277,2424,1748,1406,1728,2167,2065,1637,1761,1840,1520,1438,1499,1823,1735,1616,1449,1470,1464,1564,1643,1610,1538,1444,1324,1351,1359,1466,1488,1504,1855,1837,1873,1633,1381,1333,1414,1410,1258,1682,1720,1361,1215,1307,1320,1350,1233,1232,1264,1476,1617,1370,1211,1262,1324,1328,1323,1314,1480,1571,1638,1811,2014,1878,1614,1686,1720,1667,1855,2442,3042,3351,3284,2944,2951,3139,2832,2426,2344,2208,2094,2048,2316,2027,2105,2420,2353,2136,1690,1404,1550,1708,1635,1577,1631,1636,1681,1737,1701,2015,1763,1570,1412,1390,1380,1347,1496,1731,1864,1887,1844,1802,1872,2159,2241,2780,2600,1861,1349,1484,1630,2010,2182,1978,2032,2048,2366,3232,2902,1892,1516,1924,1908,1649,1448,1377,1444,1561,1697,1705,1414,1343,1426,1350,1254,1403,1378,1399,1489,1576,1455,1427,1657,1580,1547,2136,2177,1554,1466,1614,1674,2127,2069,1848,1746,1798,1814,1835,1734,1747,1857,1693,1627,1448,1227,1586,2031,2316,2054,1648,1688,1870,1671,1410,1753,2339,2285,2302,2395,2492,2104,1930,2711,3130,2727,2697,2335,2081,3163,3961,2846,1605,1678,1619,1873,1842,1641,1526,1522,1493,1405,1376,1241,1195,1220,1463,1423,1376,1611,1666,2128,2411,2977,3657,2829,1794,1683,1378,1413,1498,1845,2154,2199,2026,1812,1919,2020,2092,2260,2105,1824,1542,1635,1876,2180,2154,1848,1610,1744,1892,1635,1649,2044,2107,2157,1816,1836,1648,1836,1769,1625,2008,1930,2000,2330,2307,2574,2598,1904,1965,1884,2030,2580,2796,3006,2746,2196,2035,1781,1986,2435,2585,2193,2010,1771,1762,1575,1576,2324,3065,3205,2669,3050,3370,2376,1887,1541,1377,1271,1374,1533,1726,1917,1745,2553,2709,2236,2165,1540,1647,1801,1704,1751,1771,1937,2070,1953,1828,2097,2684,3263,3094,2523,2288,1856,1507,1558,1620,1492,1676,1903,1786,1561,1541,1544,1278,1199,1518,1519,1428,1654,1722,1834,1860,1782,1578,1503,1597,1520,1473,1626,1804,2036,2212,2257,2321,3076,3747,3660,2868,2074,1663,1494,1531,1746,1853,1943,2602,3260,3211,2883,3397,3475,2883,2189,1936,1642,1256,1725,1969,1838,1818,1574,1632,1582,1414,1273,1461,1155,874,1289,1528,1442,1535,1613,1775,1897,1797,1775,1709,1672,1652,1721,1753,1535,1539,1548,1471,1541,2048,2777,2267,2107,2268,1778,1709,2172,2526,2120,1906,2157,2366,3245,3174,2222,1899,1365,1322,982,1236,1494,1295,1197,1323,1535,1532,1100,1175,1295,1399,1576,1326,1117,1431,1559,1450,1372,1400,1700,1903,1594,1426,1509,1599,1566,1481,1953,2251,2454,3109,2987,2529,2654,2418,2707,3465,3494,3019,2683,2973,3005,3063,2827,2676,2825,2802,2798,2874,2744,2699,3151,3352,3130,3082,3937,3927,3219,2920,3020,3282,3371,2827,2292,1964,2309,2653,2630,2639,2521,2364,2366,2574,2135,2278,2986,2331,2519,2469,1851,1230,1181,1211,1181,1296,1237,1765,2228,2055,1877,1637,1602,1914,2344,1969,1601,3040,3147,2578,2241,2018,2209,2432,2593,2408,1751,2078,1957,1653,2402,2299,1931,2332,2288,1788,1416,1190,1172,1076,1055,1537,1736,1462,1672,1572,1406,1290,1188,1275,1287,1469,1828,1700,1713,1778,1860,1651,1626,1688,1802,1716,1370,1245,1542,1460,1251,1295,1240,1912,1881,2000,1496,1395,1660,1727,1990,1901,1551,1536,1636,1378,1174,1878,2251,1961,1912,1866,2026,2143,2117,1904,1412,1628,1945,1770,1497,1506,1777,1894,1819,1722,1627,1632,1842,1906,2120,2308,2065,1996,2036,2114,2157,2141,2163,2210,2165,2236,1864,1906,2040,1755,1386,1344,1342,1556,1961,1616,1480,1405,1217,1133,1306,1392,1349,1551,1617,1589,1682,1714,1751,1764,1713,1569,1361,1296,1267,1197,1096,1145,1193,1040,1090,1718,1620,1479,1518,1470,1642,1792,1618,1599,1583,1560,1599,1615,1664,1481,1399,1508,1571,1511,1357,1163,1107,1078,1117,1195,1367,1476,1510,1566,1394,1236,1161,1283,1370,1494,1560,1454,1442,1306,1225,1305,1261,1229,1251,1244,1324,1094,1101,1094,1338,1382,1245,1316,1297,1242,1223,1247,1504,1558,1401,1674,1735,1476,1509,2007,2359,2482,2280,1629,1594,1841,1741,1735,1597,1802,1725,1694,1733,1603,1453,1600,1791,2123,2451,2322,1707,1709,1937,1844,1914,1832,1913,2366,2075,1448,1290,1491,1848,1819,1476,1383,1376,1496,1380,1548,1738,1572,1568,1910,1810,1690,1808,2135,2733,2735,2455,2574,3076,3420,3651,3770,3506,3035,2836,2699,2745,2994,2761,2002,2490,3007,2894,2967,3347,3804,4005,3746,2625,1813,1530,1506,1729,1654,1789,1895,1631,1403,1621,1577,1377,1339,1566,1710,1676,1995,2212,2146,1794,1484,1957,1990,1583,1332,1486,1982,2174,1842,1865,1853,2409,2352,1904,1928,1992,1972,1853,1798,1915,1754,1672,1780,1866,1776,1713,1756,1816,1812,1768,1702,2711,3068,2932,3436,3882,2927,1834,2204,2947,3292,2221,1466,1363,1406,1220,1378,1582,1504,1301,1312,1920,1954,1323,1295,1267,1301,1428,1666,1520,1344,1387,1525,1815,1418,1108,1108,1246,1405,1404,1366,1323,1257,1359,1697,1717,1605,2032,1940,1698,1654,1515,1405,1702,1790,1821,1897,1773,1769,1689,1534,1678,1699,1559,1592,1754,1732,1651,1537,1901,2156,2115,1917,1875,2033,1893,1975,1924,1864,1579,1563,1472,1731,1686,1509,1434,1400,1477,1506,1447,1800,2380,2005,1599,1996,2115,2610,3264,3183,2588,1980,1561,1512,1420,1481,1590,1702,2302,2532,1945,1466,1360,1399,1543,1610,1594,1521,1552,1619,1598,1676,1727,1950,1877,2275,2011,1594,1848,1790,1649,1661,1891,1908,1743,1643,1755,1620,1687,1643,1502,1672,1733,1668,1961,1892,1938,2387,2394,2618,2277,1858,1670,1647,1626,1935,2404,2678,2445,2069,2342,1940,1807,2046,1555,1543,1594,1585,1700,1661,1569,1730,1949,1842,1695,2420,3255,3242,3041,3627,3077,2396,2353,2597,2147,1699,1886,1802,1688,1786,1707,1636,2120,2210,2142,2046,1781,1620,1525,2154,2806,2474,2243,1969,1685,1408,1449,1619,1803,1738,1554,1560,1802,2392,2510,1962,1558,1669,2227,2258,3493,3227,1837,1317,1471,1853,1773,1501,1636,2145,2214,2196,1964,1839,1888,1624,1453,1542,1794,1942,2084,2043,1544,1745,1994,2310,2017,1837,1633,1660,1848,2092,2220,2081,2311,2591,2497,2629,2639,3098,2266,2182,2840,2710,2584,2796,3307,3706,3673,3489,3306,2700,2464,2176,2136,1888,1942,2006,2339,2302,2527,2593,2250,2235,1892,2094,2470,2010,1859,1937,1719,1699,1757,2004,1856,1842,2196,2286,2255,2410,1978,1825,1986,1788,1724,1842,1970,2004,2015,2115,2294,2334,2311,2162,1767,1744,1932,2454,2586,2194,2270,2274,2166,2124,1929,1782,1809,1862,1953,1838,1969,2456,2070,1973,1845,1594,1772,1826,2042,2524,2575,2087,2077,1970,1756,1616,1904,1916,1938,2435,2243,1936,2690,2865,2425,2056,2032,1973,1813,1764,1714,1818,1741,1607,1419,1631,1920,1758,1646,1769,1640,1540,1918,2936,2426,1987,1687,1444,1583,1833,2072,2584,2811,2548,2661,3091,2999,2534,2937,2535,2478,2651,2820,2768,2482,2308,2163,2202,2323,1948,1666,1694,1575,1620,1601,1516,1640,1703,1697,2244,2559,2410,2310,2290,2371,2519,1983,1588,1946,2136,1747,1650,1960,2171,2018,1705,1707,1844,1827,1582,1549,1646,1757,1982,2105,2636,2690,1902,1576,1424,1338,1559,1837,1708,1581,1682,1836,2040,2343,2283,1890,2058,2220,2271,1996,2266,2252,2342,2207,1964],[1976,1784,1820,2124,2141,1920,2085,2322,2137,1953,1815,1814,1897,2045,2248,2362,2208,2256,1955,1729,1710,1687,1928,1715,1878,2156,2410,2311,1928,1825,1406,1380,1306,1747,1670,1544,1754,2028,2128,2553,2680,2475,2590,2909,3062,3100,3551,3438,2735,2437,2630,2387,1287,1314,1632,1029,941,1270,1672,1637,1632,1637,2264,2367,1904,1750,1900,1759,1737,2519,2988,2737,2098,1936,2165,2623,2243,2391,2573,2444,2454,2712,2427,2207,2841,2514,1703,1797,1812,2007,2056,2320,2732,2558,2208,2543,2512,2298,2096,2114,3279,3495,2964,3250,3098,2964,2400,1615,1407,1324,987,1577,2381,2265,2315,1964,1690,2104,2171,2089,1641,1264,1572,1520,1809,2513,2004,1814,2110,2029,2085,2835,2186,1705,1945,2481,3047,2751,2623,3344,3308,3148,2953,2522,2362,2356,2389,2426,2365,2330,2292,2344,2297,2452,2840,3179,3026,2141,1634,1669,2198,2334,2806,2610,2557,2680,2895,2889,2219,1994,2436,2294,2152,2398,2442,2697,2609,2894,2222,1768,1775,2239,2438,1999,2280,2377,3311,3210,2300,2274,1551,1796,2654,2484,2446,2743,2381,2116,2344,2669,2416,2052,1828,1512,1572,1799,1848,1720,2349,2771,2500,2755,2853,3248,3672,3132,2933,3380,3351,3185,3133,3075,3332,3299,2858,2007,1677,2160,2581,2795,2633,3199,2799,2137,2020,1401,1948,2601,2569,2503,2612,2636,1989,1996,2185,2185,2431,2714,3353,3433,2357,1923,1860,1820,2042,1839,1794,2051,1902,2127,2186,1841,1851,2422,2382,3018,2922,2606,3480,3891,3762,3431,3168,3904,4096,3045,1777,1690,1702,1874,1877,1913,2008,2280,2888,2405,2221,1748,2422,2648,2030,1907,1797,2174,2215,2287,2193,1903,2089,2110,1671,2047,2100,2055,2119,3120,3442,3238,3055,2380,1796,1952,2386,2251,2194,2068,2308,2868,2942,3111,2854,2461,2402,2166,2071,2179,2634,2979,3111,2877,2743,2958,3023,3082,2906,2879,2664,2517,3117,3477,3155,2632,1924,2007,2800,2635,2765,2951,2828,2602,2468,2158,1985,2379,2427,2353,2873,2487,1832,1490,1923,3136,3411,2941,2833,2951,2903,2757,2343,1813,1660,1946,2807,3281,2856,3105,2972,3107,3331,2607,2359,2748,2792,2631,2128,1589,1399,1608,1347,1306,1353,1392,1810,2584,2951,3109,3229,3320,3611,3726,3648,3720,3354,2353,2534,2032,1557,1702,1730,1529,1485,1436,1797,2012,1527,1586,1809,1804,2025,1613,1462,1455,1273,1336,1443,1637,1495,1475,1437,1403,1454,1317,1349,1907,2009,1877,1861,1705,1418,1331,1381,1390,1390,1549,1377,1263,1303,1297,1271,1259,1267,1326,1509,1560,1354,1268,1322,1339,1271,1265,1341,1543,1483,1312,1468,1841,2075,1803,1587,1565,1566,1801,2559,3221,3387,3320,2993,2885,3139,2790,2068,2396,2163,2223,2395,2257,2186,2096,2343,2449,2313,1813,1414,1492,1534,1550,1560,1490,1518,1464,1580,1778,2020,1826,1806,1727,1464,1304,1329,1622,1872,2031,1884,1719,1869,1714,1926,2416,3000,2784,1872,1325,1475,1475,1703,1832,1921,2211,1763,1715,2630,2495,1826,1743,1886,1806,1767,1794,1527,1375,1623,1881,1828,1433,1397,1250,1291,1283,1400,1467,1376,1411,1404,1404,1520,1508,1130,1513,1893,2064,1812,1844,1846,1751,1867,1842,1780,1908,2002,1855,1703,2003,1911,1937,1793,1706,1560,1451,1636,2134,2381,1927,1544,1800,1880,1694,1618,2082,2157,2247,2383,2224,2388,2182,1801,2330,2727,2578,2719,2344,2072,3162,4062,2888,1587,1697,1724,1695,1641,1532,1476,1543,1485,1521,1279,1324,1425,1457,1527,1427,1422,1462,1494,1524,1981,2785,2836,2117,2389,1844,1362,1400,1949,2534,2576,1981,1815,2138,2200,2238,2641,2678,2155,1830,1621,1647,1809,1984,2154,2275,2131,1958,1954,1612,1683,2011,2092,2100,1875,1873,1703,1837,1719,1683,1873,1557,1440,1522,1694,2098,2435,2219,2313,1842,1951,2170,2229,2295,1898,1813,2576,2635,2661,2941,2984,2244,2033,2155,1963,1394,1788,2446,2806,3140,3024,3107,2667,2060,1780,1493,1307,1284,1539,1713,1647,1501,1726,2074,1880,1947,1887,1512,1738,2049,1694,1748,1818,1785,1619,1482,1719,2286,2723,3194,2664,1785,1700,1514,1456,1495,1568,1619,1705,1754,1677,1572,1487,1520,1499,1546,1462,1472,1539,1815,1748,1737,1811,1919,1801,1653,1564,1455,1463,1794,2745,2835,2611,2618,2922,3373,3435,3708,3816,3243,2311,1827,1715,1834,1974,2486,3162,3380,3151,3152,3724,3349,2208,1717,1589,1367,1197,1639,1937,1937,1867,1927,1487,918,709,813,1237,1358,1150,1549,1494,1380,1543,1633,1791,1909,1822,1758,1456,1338,1309,1459,1649,1717,1870,1775,1508,1757,2328,2510,2030,2083,2137,2006,1888,2359,3167,2696,2742,3166,3450,3991,2940,2201,1938,1841,1551,1221,1475,1549,1416,1430,1700,1648,1784,1652,1671,1467,1505,1476,1356,1412,1433,1321,1291,1546,1581,1666,1626,1427,1273,1504,1644,1439,1729,2286,2820,3162,2925,2595,2488,2876,2224,2380,2730,2520,2376,2695,3105,3262,3240,3200,3282,3465,3227,3355,3736,3524,2887,2570,3097,2642,2502,3705,4002,3064,2610,2801,2700,2578,2398,2160,2132,2345,2225,2264,2806,2885,2492,2342,2192,1831,2070,3312,2588,3319,2987,2228,1754,1498,1148,1026,1171,1015,1307,1933,1913,1931,1786,1788,1987,2496,1914,1507,2849,3145,2858,2690,2448,2323,2375,2383,2316,2437,2988,2592,1819,1478,1529,1899,1939,1626,1181,871,1065,1130,1075,1370,1763,1941,1679,1648,1939,1713,1349,1323,1340,1530,2145,2245,1663,1983,2148,2151,1469,1326,1543,1524,1570,1575,1670,1682,1530,1494,1423,1500,1451,1321,1504,1684,1949,1778,1611,1757,1732,1454,1533,1551,1239,1694,2275,2581,2447,1891,1477,1788,1988,2136,1784,1243,1758,2821,2864,1727,1534,1589,1593,1681,1699,1574,1609,1892,1953,2036,2097,2031,2177,2008,2081,2131,2035,2020,2095,2226,2322,2110,2151,2284,1688,1348,1851,1980,1838,2042,1837,1743,1562,1375,1456,1579,1715,1765,1639,1486,1505,1523,1448,1316,1182,1095,1159,1209,1245,1222,1130,1180,1202,1216,1412,1275,1654,1330,1349,1409,1436,1595,1577,1536,1615,1629,1791,1383,1306,1511,1565,1613,1503,1415,1627,1565,1550,1381,996,1131,1139,1210,1372,1486,1592,1485,1301,1190,1261,1456,1919,1761,1247,1277,1195,1214,1062,912,858,1043,1229,1423,1298,1235,1341,1384,1260,1207,1250,1224,1263,1234,1183,1327,1300,1372,1538,1714,1648,1742,2189,2328,2552,1953,1578,1540,1497,1216,1395,1953,1914,1644,1750,1666,1521,1406,1461,1554,1757,2185,1569,1354,1864,1832,1729,1906,2008,2307,2273,1865,1504,1409,1503,1600,1730,1474,1324,1315,1382,1434,1670,1691,1452,1730,2082,1757,1699,1675,1730,1732,2074,2522,2822,2963,3310,3107,2908,3213,2929,2711,2501,2613,2972,3117,2822,2907,2674,2340,2436,3109,3710,3834,3571,2688,1792,1510,1553,1632,1503,1634,1877,1719,1578,1638,1681,1594,1410,1492,1695,1957,2178,1998,1776,1503,1598,2001,1830,1627,1677,1757,1815,1600,1411,1792,1835,1931,1953,1899,1831,1947,2026,1798,1752,1716,1489,1593,1654,1765,1958,2227,2166,1811,1736,1874,1789,2127,3006,3650,3662,3299,2306,1909,2024,2824,2337,1692,1546,1472,1516,1451,1428,1667,1563,1307,1250,1440,1284,1273,1300,1395,1456,1436,1612,1493,1360,1495,1505,1546,1248,1348,1372,1529,1483,1364,1206,1291,1483,1549,2041,1885,1675,1736,1598,1502,1950,2078,1831,1769,1635,1813,1983,1954,1915,1754,1512,1633,1571,1616,1547,1685,1755,1601,1438,1813,2060,2002,1690,1690,1831,1697,1489,1623,1846,1832,1879,1689,1575,1462,1421,1441,1321,1408,1396,1092,1571,2445,2843,2874,2556,2447,3091,3774,3571,2673,1958,1931,1689,1614,1648,1603,1756,2129,2033,1807,1694,1537,1522,1689,1831,1615,1567,1780,1685,1781,1565,1841,1888,1908,2042,1511,1389,1645,1487,1457,1649,2080,2079,1829,1581,1657,1738,1628,1554,1639,1745,1864,1894,1547,1577,2143,2438,2260,2134,2179,2027,1752,1735,1778,2237,2625,2566,2273,1847,2289,1980,2167,2248,1883,1841,1860,1746,1670,1537,1554,1703,2249,2221,2431,3211,3508,3298,2890,3088,2613,1796,1793,1926,1622,1717,2122,1887,1951,2186,1803,1644,1709,1635,1699,1783,1702,1636,1683,2482,2345,2113,2105,1911,1587,1517,1565,1788,2069,1812,1575,1635,1674,2069,2165,1774,1554,1619,1783,2317,3173,2675,1785,1467,1624,1976,1768,1671,1744,1897,1880,1953,1779,1968,2071,1821,1627,1495,1577,1698,1519,1633,1613,1814,2375,2314,2275,2250,1941,1948,2265,2321,2364,2361,2657,2808,2743,2489,2361,2313,2453,2443,2951,3100,2674,2467,2778,3312,3617,3273,3068,2821,3139,2519,2602,2129,2317,2938,2743,2189,2214,2050,2514,2539,2147,2152,1847,1415,1449,1809,1843,1668,1377,1356,1548,1704,1926,1830,2148,2604,2212,2142,2160,1920,1652,1735,2152,2880,3459,3545,3186,2636,2353,1582,1523,1952,2457,2687,2886,2830,2851,2691,2390,2322,2087,1919,1947,2034,1888,1681,1873,2454,2215,1887,1825,1877,1809,1542,1788,2266,2556,1943,1664,1603,1449,1591,1957,2094,2213,2565,2249,2069,2742,2875,2790,2078,2081,2097,1906,1690,1766,1753,1530,1680,1794,1768,2076,1897,1716,1758,1656,1525,1728,2637,2558,2156,2171,2032,2071,2186,1937,1973,1958,2156,2458,2923,3386,3101,2780,2542,2347,2301,2661,2949,3063,3131,2946,2686,2553,1958,1681,1602,1486,1809,2094,1999,2060,1975,1932,2357,2641,2329,1890,2011,2353,2404,2038,1779,2359,2250,1716,1778,1794,1932,1936,1709,1748,1644,1670,1561,1681,1932,2113,1951,2104,2766,2611,2046,1555,1416,1477,1687,1648,1736,1861,1833,2064,2181,2166,2155,1683,1903,1836,1838,1555,1617,2237,2818,2576,2062],[1991,1863,2010,2221,1935,1733,2254,2648,2153,1449,1563,2142,2514,2645,2326,2301,2097,2138,1833,1543,1512,1548,1637,1736,2035,2396,2272,2232,2129,1648,1348,1472,1504,1433,1412,1567,1962,2165,2247,2552,2518,2626,3394,3479,2868,3321,3798,3322,2921,2626,2531,2280,1816,1499,1511,1255,1216,1409,1363,1560,1405,1516,1742,1861,1876,1729,1808,1510,1579,2525,3204,2729,1743,1964,2177,2282,1948,2250,2358,1873,2032,2801,2618,2116,2275,2678,2525,2178,1701,1640,1626,2152,2850,2588,1968,1851,1942,2358,2254,1981,2708,2986,2975,2998,3228,2935,2218,1549,1414,1562,1234,1013,1438,2049,2302,1830,1592,1732,1910,2316,2248,1859,2016,2142,2238,2577,2031,1675,1534,1727,1921,2654,2416,2559,2280,2029,3167,3476,3303,3680,3392,3294,2670,2188,2104,2185,2847,2578,2466,2449,2340,2558,2757,2996,3105,2688,2687,2251,1622,1794,2568,2323,2077,2493,2398,2482,3250,3230,2787,2591,2646,2554,1984,1539,2105,2818,3153,3227,2452,1994,1861,2057,2510,2298,2106,1852,2376,2424,2648,2620,2152,2491,2831,2350,2040,1937,1918,2258,2416,2407,2465,2315,2602,2031,1492,1483,1534,1446,2019,2261,2422,3019,3328,3098,3075,3496,3843,3894,3650,3039,2699,2731,2751,2714,2565,2276,1852,2200,2673,2990,2796,2939,2477,2565,2900,2598,2535,2688,2492,2320,2139,2155,2403,2102,2279,2247,2494,3107,3222,3370,3168,2609,1962,1816,1849,1713,1738,2042,2691,3384,3157,2387,2048,2316,2350,2932,3122,2634,3041,3016,2320,2434,2861,2758,2315,1857,1624,2037,2237,2081,2153,2885,3021,3187,3785,2750,2273,1691,1863,1886,1547,1433,1639,1571,1408,1775,2074,1792,2010,2353,1811,1890,2353,2100,1827,2069,2166,2647,2889,2296,2024,2292,2431,2576,2812,2285,1961,2365,2765,2767,2574,3116,3210,2563,2164,2125,2120,2614,2991,2341,2576,2762,2558,2792,2931,2596,2353,2644,3119,3107,2617,2510,2182,2084,2520,2476,2720,2741,2732,2895,2597,2233,2470,2322,2256,2191,2858,2176,1585,1647,2493,3672,3640,2954,3249,3740,3498,3428,2787,1959,1954,2259,3442,3711,3274,3216,2934,3095,3295,2529,2590,3019,3156,2645,2200,1693,1528,1438,1347,1335,1271,1283,1722,2481,3006,3564,3627,3747,3548,2731,2850,3650,2991,2400,2266,1622,1597,1668,1560,1403,1367,1381,1986,2275,2155,1953,1716,1541,1436,1317,1342,1220,1250,1253,1434,1970,2028,1947,1577,1386,1398,1431,1529,1918,1863,1469,1770,1753,1360,1416,1298,1384,1439,1361,1308,1272,1447,1633,1600,1423,1381,1371,1488,1525,1340,1294,1336,1379,1390,1312,1390,1437,1262,1250,1396,1626,1991,2357,2104,1678,1579,1751,2492,3264,3491,3387,3050,2964,3114,2940,2611,2454,2317,2542,2774,2590,2490,2386,2376,2510,2336,1895,1651,1499,1467,1574,1654,1510,1613,1738,1788,1821,1898,1664,1372,1423,1327,1271,1554,1574,1720,2390,2203,1909,2021,1910,2079,2127,2318,2486,2048,1686,1442,1585,1723,1718,1886,2370,1859,1529,2244,2327,2169,2085,2042,2024,2271,2171,1501,1536,1603,1375,1438,1306,1321,1273,1604,1466,1534,1592,1338,1276,1339,1702,1970,1587,1558,1888,1896,2071,1970,1902,1902,1847,1943,2037,2136,2452,2647,2138,1625,2040,1895,1821,1643,1443,1882,2278,2158,2282,2210,1697,1520,1531,1531,1539,1912,2291,2333,2439,2458,2474,2565,2100,1936,2086,2690,2674,2637,2355,2086,3277,4144,2812,1555,1721,1798,1379,1335,1482,1476,1426,1384,1338,1432,1745,1838,1756,1600,1454,1451,1355,1434,1337,1467,1620,1793,1929,2447,1829,1821,1832,1690,2200,2280,1773,1961,2120,2183,2224,2050,1766,1735,1835,1756,1901,2372,2478,2442,2495,2289,1930,1842,1622,1552,1548,1783,1912,1799,1554,1473,1764,1930,2026,1949,1740,1534,1579,1704,1962,2283,2570,2414,1851,1914,2117,1898,1879,1606,2009,3172,3177,2820,2378,2020,1686,1738,2345,2211,1644,2154,3171,3307,3176,3129,2959,2256,1677,1440,1468,1581,1747,1882,1777,1665,1674,1855,1764,1499,1410,1475,1437,1791,2823,2819,2402,2337,1845,1412,1544,1858,2470,2797,2423,1910,1468,1347,1336,1382,1426,1604,1674,1566,1452,1344,1379,1460,1562,1719,1674,1628,1519,1682,1795,1637,1594,1778,1924,1844,1786,1598,1500,1695,2393,3447,3579,3480,3259,3303,3441,3398,3400,3610,3764,3428,2774,2070,1841,2394,3099,3449,3583,3323,3268,3539,2782,1824,1526,1427,1497,1528,1746,2160,2040,1896,2001,1625,1189,1250,1389,1388,1582,1775,1801,1396,1335,1403,1602,1760,1546,1619,1504,1088,1301,1285,1559,1674,1579,1592,1685,1772,2320,2441,2243,1726,1721,1977,2198,1898,1723,2221,2735,3259,3794,4133,4104,3646,2657,1819,1686,1702,1844,1827,1671,1602,1529,1756,1805,1785,1682,1642,1509,1463,1344,1201,1173,1169,1029,1031,1344,1322,1303,1228,1299,1488,1672,1574,1652,2340,2841,3262,3301,2546,2257,2534,2499,2246,2241,2135,2235,2680,2647,2548,2822,2912,3513,3607,3608,3380,4176,4561,3980,2410,2221,2464,1756,2018,2656,2518,2121,2200,2237,2203,2148,2120,2220,2242,2218,2106,2116,2471,2587,2337,2136,1843,1583,1824,3260,2554,2972,2657,2171,1715,1146,1003,1125,1152,1082,1262,1412,1724,1843,1866,1616,1953,2589,2420,2463,2590,2394,2613,2578,2339,1732,1761,1774,1922,2183,2205,2525,1900,1261,1748,1939,1593,1396,1076,1183,1347,1364,1175,1366,1662,2036,1776,1639,1986,1738,1302,1283,1332,1497,2207,1942,1731,2614,2833,2410,1408,1537,1879,1542,1617,1620,1449,1493,1601,1638,1650,1605,1601,1648,1573,1905,2157,1993,1560,1469,1309,1356,1722,1550,1430,1965,2153,2131,2223,1711,1339,1509,1717,1855,1456,1409,1537,2541,2410,1715,1902,1949,1530,1520,1391,1375,1637,1795,1788,1893,1980,1931,2038,2012,2060,2080,1967,1990,1910,1941,2172,2293,2260,2142,1396,1537,1993,1996,1955,2061,2004,1818,1614,1505,1350,1282,1369,1409,1234,1108,1104,1023,1018,1097,1176,1277,1422,1466,1295,1019,1002,1142,1150,1573,2143,2342,2008,1335,1344,1442,1429,1557,1252,1457,1560,1583,1960,1697,1433,1282,1335,1474,1496,1628,1656,1332,1214,1116,997,1202,1099,1149,1238,1371,1465,1434,1309,1244,1318,1334,1430,1324,1067,1049,1053,1117,922,720,1005,1310,1274,1346,1389,1314,1240,1165,1230,1272,1478,1251,1174,1277,1360,1287,1260,1255,1266,1319,1395,1620,1690,1465,1843,1760,1514,1104,1114,1143,1250,1678,1554,1472,1707,1723,1582,1628,1666,1514,1582,2156,1888,1809,1974,1682,1738,2067,2287,2254,1906,1857,1734,1708,1654,1519,1687,1443,1270,1416,1520,1530,1604,1620,1531,1676,1444,1540,1617,1695,1685,1582,1648,1810,1824,2305,2833,2585,2773,3172,3164,2722,2382,2297,2818,3017,2888,2553,2252,2143,2391,3483,4200,4048,3841,3152,2050,1577,1546,1633,1692,1831,2012,1895,1425,1475,1771,1806,1528,1472,1606,1629,1779,1765,1676,1629,1814,1788,1802,2010,1937,1763,1526,1462,1329,1631,2249,2344,2051,1844,1853,1990,1676,1493,1508,1501,1305,1426,1777,1768,1750,1990,1788,1346,1450,1876,2015,1808,2200,2739,2707,2099,1715,1727,1928,1937,1594,1812,2147,2020,1675,1602,1544,1432,1309,1278,1209,1259,1300,1315,1361,1425,1347,1199,1257,1310,1351,1697,1652,1343,1252,1412,1378,1627,1684,1434,1185,1465,1745,1584,1642,1404,1539,1393,1308,1253,2131,2232,1694,1413,1522,1804,1741,1573,1894,1790,1691,1712,1686,1716,1572,1814,2102,1810,1598,1586,1559,1469,1570,1798,1772,1714,1625,1546,1609,1862,1956,1664,1472,1416,1510,1453,1313,1693,1587,1611,2440,3030,3397,3543,3101,2699,3044,3318,3272,2447,1826,2380,2337,2083,1754,1857,2271,2292,2073,1972,1943,1620,1545,2136,2230,2188,1910,1887,1759,1869,1708,1788,1896,1631,1536,1407,1389,1476,1468,1562,1694,2377,2597,2205,1571,1544,1711,1560,1627,1665,1683,1853,1708,1517,1892,2248,2006,1753,1542,1672,1798,1747,1747,1986,2556,2733,2310,1823,2054,2579,2896,2525,1932,2079,2322,1991,1750,1636,1595,1704,2173,2138,2229,2724,3138,3217,3210,3109,2788,2196,1993,1860,1652,1522,1758,2089,1824,1838,1840,1590,1601,1635,1620,1711,1634,1744,2101,1866,2381,2142,1900,1544,1582,1706,1913,1955,1830,1887,1744,1657,1679,1721,1602,1631,1658,1520,1353,1511,1787,1937,1948,1886,1684,1776,2360,2136,1894,1958,1659,1527,1676,1802,1910,1820,1644,1544,1671,1673,1786,1623,1503,1615,1510,1759,2230,2569,2210,1756,1970,2367,2524,2464,2326,2496,2822,2596,1765,1741,1919,2024,2253,2779,2994,2493,2311,2351,2648,2820,2671,2639,3032,3187,3026,2833,2541,3458,4289,3107,1746,1632,1764,2791,3318,3282,2554,1628,1438,1714,2138,2178,1898,1480,1296,1770,1913,1904,1653,1844,1938,2047,2070,2043,1903,1622,1710,2541,3809,4161,3936,3367,2084,1736,1990,1937,2205,2727,2432,2431,2829,2874,2669,2173,2280,2321,2034,1937,2076,2196,1993,1914,2212,2066,1768,1895,2136,1756,1344,1658,1604,1922,1584,1343,1401,1501,1731,1955,2078,2197,2444,2363,2331,2920,2780,2921,2517,2362,2253,1972,1845,2024,1818,1396,1698,2043,1841,2332,2438,2071,2103,2056,2035,1845,1750,1546,1794,2310,2209,1721,1552,1437,1581,1878,2366,2159,2148,2867,3354,3019,2674,2735,3266,3517,3594,3617,3536,3485,3382,2858,2253,1947,1785,1644,2252,2631,1887,1853,1848,1771,1843,1819,1701,1708,1909,2083,2087,1729,1920,2458,2179,2107,1972,1547,1927,2536,2060,2106,1974,1866,1885,2111,2511,2544,2521,2756,2161,1675,1861,1543,1542,1605,1726,1649,1747,1771,1616,1864,1804,2027,2200,1839,1827,1727,1845,1728,1920,2274,2543,2637,2154],[1880,1962,2460,2340,1775,1965,2481,2553,2176,1279,1487,2061,2164,2339,2000,2119,2000,1960,1668,1263,1388,1719,1927,2194,2328,2589,2507,2403,2299,1459,1177,1654,1520,1199,1454,1460,1715,1922,2178,2409,2611,2661,3497,3817,3111,3396,3210,2822,2806,2514,2590,2897,2784,2171,1990,1386,936,1166,1382,1675,1384,1154,1521,1808,1767,1420,1648,1454,1788,2479,2678,2076,1422,1490,1957,2062,1866,2024,1997,1594,2049,2909,2856,2751,2639,3093,3551,3040,2266,1663,1469,2279,2899,2400,2032,1963,1783,2285,2649,2466,2595,2521,2097,2430,2755,2293,1788,1182,1234,1377,1177,1431,2501,2497,2394,2502,2323,2039,1971,2335,2526,2003,1671,2031,2066,2055,2352,2003,1938,2127,2996,3186,2853,2796,2341,1941,2447,3433,3597,3218,3320,3240,2644,2260,2138,2111,2503,2504,2580,2701,2432,2567,2620,2576,2764,2673,2757,2255,2477,2361,2040,1906,1750,1916,2162,2345,2765,2731,2670,2589,2462,2459,1913,1744,2705,3112,2646,2426,2556,2397,2010,1968,2305,2647,2270,2199,1950,2031,2521,2338,1882,1758,1825,1981,1790,1467,2117,2400,2360,2391,2265,2766,3471,2540,1539,1647,1876,2066,2476,2652,2812,2749,2953,2774,3093,3714,3873,3983,3431,2441,2258,2621,2730,2630,2322,2026,2309,3095,3360,3067,2930,2866,2501,2895,3495,3059,3138,3353,2972,2758,2131,1868,1858,2173,2711,2766,2880,2872,2713,2820,2921,2037,1693,1538,1874,1974,2059,2448,3421,3502,2857,2492,2343,2284,2204,2787,3463,3365,3340,2733,2523,2645,2632,2041,1729,1672,1569,1697,1593,1373,2027,3188,3139,3436,2979,2297,1974,1623,1910,2064,1675,1621,1571,1663,1934,1900,1981,1742,1687,2481,2146,1791,2018,1821,1538,1678,1876,2163,2561,2301,2186,1957,1747,2239,2759,2474,2337,2182,2213,2269,2433,3064,2707,2787,2702,2633,2234,2666,2997,2877,2485,2212,2578,2996,2664,1714,1778,2407,3023,3702,3375,2849,2447,2091,1831,1640,1876,2245,2524,2339,1862,1889,2758,1951,1699,1884,2251,1679,1454,1629,2493,3575,3326,3198,3914,3904,3846,3574,3216,2596,2432,2303,2710,2901,2806,2709,2414,2691,3234,2376,2858,2618,2686,2403,2461,1946,1507,1476,1493,1331,1285,1526,1891,2724,3352,3704,3730,3704,3840,3283,3149,3424,2954,2598,2371,1619,1881,1678,1429,1518,1560,1440,1693,2146,2269,2046,1786,1662,1533,1458,1376,1331,1536,1433,1363,1477,1719,1681,1439,1407,1612,1688,2001,2985,2432,1435,1525,1344,1337,1499,1442,1399,1514,1526,1304,1637,2162,2090,1856,1336,1350,1444,1498,1393,1263,1284,1232,1345,1490,1524,1632,1364,1259,1430,1516,1522,1522,2203,2007,1598,1584,1645,2310,3206,3383,3107,2846,2713,2845,2856,2705,2613,2460,2411,2641,2618,2542,2574,2500,2411,2235,2125,2148,1912,1950,1793,1722,1803,1844,1825,1701,1545,1781,1656,1544,1954,1865,1693,1638,1792,1841,2038,1941,1848,1808,2102,2148,1750,1808,1801,1890,2244,1896,1838,2135,1956,1921,1838,1527,1587,1961,2050,1815,1712,1986,1804,1715,1473,1205,1537,1593,1426,1367,1254,1294,1291,1339,1491,1537,1573,1380,1255,1426,1719,2051,1852,1987,2035,1932,1946,1881,1808,1831,1935,2380,2792,2754,2495,2475,2226,1680,1747,1677,1620,1532,1251,1613,1905,2090,2235,1838,1834,1624,1466,1575,1924,2399,2597,2601,2470,2518,2564,2541,1901,1936,1770,2508,2230,2442,2359,2082,3099,3596,2392,1610,1784,1827,1187,1161,1482,1476,1374,1426,1431,1440,1983,2376,2156,1685,1375,1328,1314,1381,1553,1534,1534,1577,1533,1551,1550,1621,1650,1478,1560,1772,1645,2050,1997,1782,1810,1859,1794,1720,1888,1992,2004,2491,2397,2248,1807,1878,1979,1861,1731,1821,1871,1867,1799,1605,1461,1537,1873,2217,2280,2036,2002,1820,1741,1834,1889,2151,2128,1834,1876,1946,1849,1635,1810,1738,2181,3261,3226,2769,2164,1806,1657,1549,1680,1974,2082,2431,3139,3340,3425,3346,2912,2070,1543,1422,1428,1633,1743,1709,1595,1740,1759,2635,2389,1655,1612,1760,1282,1419,2126,2337,2624,2635,1868,1467,1443,2034,2266,2680,1974,1405,1454,1455,1455,1465,1467,1558,1618,1643,1499,1376,1360,1390,1581,1815,1730,1782,1823,1802,1599,1402,1558,1675,1954,1898,1953,1771,1652,2186,3076,3494,3503,3551,3521,3289,3277,3506,3364,3169,2871,2907,3135,2800,2204,2310,2897,3432,3666,3442,3499,3471,2428,1723,1435,1426,1695,1768,1742,1928,1926,1920,1955,1953,1867,1738,1403,1357,1735,1848,1591,1375,1306,1269,1810,2158,1966,1903,1531,1253,2390,1982,1781,1809,1180,994,1499,1815,1936,1941,1788,1756,2221,2186,2099,1737,1619,1265,1320,2048,2776,3656,4022,3392,2281,1512,1359,1328,1476,1554,1492,1369,1283,1283,1259,1321,1491,1665,1548,1117,983,974,1068,1278,1370,1539,1846,1576,1217,1334,1525,1673,1693,1535,1803,2785,3120,2937,2845,2676,2687,2974,2753,2413,2384,2465,2591,3311,3245,2474,2655,2949,3928,4339,3658,2966,3200,3310,2546,1954,2175,1703,1337,2181,2343,1980,1932,2178,1956,1918,2023,1956,2061,1974,1977,2228,2216,2138,2224,2075,1990,1973,1609,1837,2317,2019,1920,1763,1849,1549,1179,1259,1432,1500,1590,1600,1498,1697,1724,1687,1567,1794,2198,2347,2376,2513,2540,2547,2320,2288,1952,1984,1786,2121,2279,2324,2601,2154,1865,2154,2022,1699,1625,1723,1552,1320,1280,1214,1273,1646,1958,1645,1321,1469,1381,1293,1453,1547,1823,2131,1665,2106,2321,2093,1937,1525,1789,1938,2079,2025,1938,1716,1512,1498,1498,1331,1285,1373,1444,1707,1874,1829,1882,1600,1636,1614,1668,1708,1185,1296,1822,1959,1754,1468,1345,1554,1484,1488,1448,1596,1707,1736,1892,1960,2244,2874,2337,1448,1350,902,1116,1443,1636,1693,1819,1864,1895,2040,1991,2150,2370,2211,1842,1694,2059,2120,2156,2193,2107,1289,1489,1908,2054,2088,2010,1818,1245,1091,1235,1099,1026,1084,1234,1141,1077,1248,1334,1367,1441,1438,1345,1162,1156,1034,1130,1539,1241,880,1007,1880,2543,2238,1515,1275,1459,1570,1725,1666,1586,1465,1686,1792,1636,1531,1372,1307,1371,1434,1650,1614,1376,1290,1615,1254,879,871,1087,1354,1528,1603,1603,1485,1264,1315,1125,937,884,917,1018,1130,1174,1176,1349,1929,1887,1382,1274,1294,1232,1180,1203,1304,1398,1432,1268,1053,980,1015,1058,1234,1288,1282,1277,1423,1503,1372,1399,1591,1498,1073,1004,1531,1619,1388,1263,1264,1366,1671,1796,1776,1590,1487,1515,1773,2027,1937,1907,1720,1560,1830,2122,2138,1895,1707,1772,1786,1552,1350,1465,1730,1551,1333,1365,1397,1480,1632,1599,1519,1505,1365,1484,1479,1429,1521,1562,1613,1620,1774,2021,2169,2335,2656,3089,3030,2359,2344,2358,2880,3423,3256,2792,2340,2120,2313,3009,4120,4104,3957,3684,2494,1752,1801,1956,2019,2218,2366,2227,1794,1691,2287,2402,1658,1367,1563,1727,1889,1793,1720,1835,1650,1529,1870,1847,1641,1524,1310,1282,1247,1439,1973,1984,1717,1582,1680,1629,1401,1362,1471,1445,1307,1306,1487,1426,1409,1689,1579,1293,1339,1510,1929,1729,1577,1664,1760,1857,2002,2067,2205,1971,1920,2115,2107,1730,1569,1483,1447,1382,1277,1315,1465,1680,1607,1341,1294,1272,1218,1257,1316,1366,1289,1596,1646,1383,1335,1474,1678,1766,1570,1510,1453,1510,1635,1366,1385,1360,1550,1387,1523,1502,1665,1820,1489,1229,1208,1520,1521,1625,1783,1599,1635,1771,2416,2544,1871,1697,1846,1565,1664,1860,1925,1738,1614,1830,1886,1848,1545,1409,1626,1844,1641,1352,1479,1523,1716,1512,1497,1902,1647,2288,2965,2841,2518,2658,2806,2878,3354,3116,2403,2287,1764,2325,3220,3109,2287,2139,2425,2854,2609,1807,1868,1649,1853,2999,3061,2713,1943,1625,1576,1670,1771,2246,2371,1504,1483,1632,1595,1588,1560,1535,1723,2419,2393,1790,1754,1877,1671,1607,1601,1513,1458,1872,1886,1884,2060,2017,1716,1461,1514,1514,1584,1692,1888,2358,2654,2645,2493,2254,2509,3036,3057,2326,1986,2071,2054,1815,1830,1708,1940,1889,1922,2010,2620,2932,3072,3222,3144,3097,2227,1858,1904,1741,1627,1609,1695,1873,1772,1767,1697,1556,1722,1597,1569,1875,1679,1712,1815,1928,2515,2424,1788,1261,1209,1507,1890,1880,1763,1779,1811,1747,1966,1857,1748,1697,1562,1453,1482,1482,1420,1605,1967,1947,1699,1816,1880,1897,1995,2065,1841,1800,1960,1993,1849,1548,1465,1530,1798,1744,1562,1395,1617,1634,1494,1572,2024,2221,1669,1717,1811,2184,2754,2589,2577,2581,2631,2433,2260,2281,1958,1727,1813,2168,2422,2022,2047,2031,2370,2675,2713,2686,3196,3152,2928,3130,3282,3868,4688,3897,2196,1702,1955,2743,3813,4059,2959,1788,1626,1953,2354,2556,2147,2177,1659,1734,2124,2193,1808,1670,1778,1824,1671,2073,2403,2019,1752,2243,2990,3660,4024,3253,1934,1659,2758,3086,3086,3220,2614,2097,2238,2202,2055,1879,1955,2232,2077,2053,2130,2097,1874,1709,1764,2020,2129,1740,1695,1585,1522,1594,1478,1663,1583,1424,1432,1704,1844,1868,1893,2083,2228,2153,2185,2675,2226,2109,2169,2180,2021,1790,1928,2095,1826,1570,1842,2094,1942,2171,2305,2045,1770,1901,1999,1614,1282,1514,1781,1783,1648,1526,1571,1483,2080,2991,3283,2520,2119,2763,3015,2809,3072,3242,3826,3725,3513,3640,3588,3671,3639,3190,2680,2243,1697,1830,2753,2621,2009,1839,1800,1747,1614,1707,2150,2086,1820,1724,1566,1498,1599,1873,1914,1941,1770,1569,1766,2170,2116,2198,2364,2316,1947,2110,2411,2220,2473,2965,2182,1452,1307,1825,2075,1916,2011,1960,2036,2114,1958,1665,1730,2047,2033,2053,2085,1876,1863,1965,2053,1930,1860,2007,1723],[1836,1924,2221,1868,1510,1846,2237,2666,2559,1985,1771,1898,2107,1957,1808,2069,2159,2014,1710,1619,2092,2168,2002,2205,2481,2711,2717,2740,2416,1578,1166,1671,1760,1522,1702,1614,1794,2099,2352,2315,2483,2481,3050,3631,3356,3265,3112,2989,2652,2012,2425,3281,2876,2136,2031,1246,1086,1583,1815,1791,1428,1400,1534,1425,1798,1771,1846,1676,1926,2454,2461,2136,1533,1471,2010,2287,2045,1919,2060,2303,2486,2828,2963,3582,3840,3775,3775,3617,3226,2657,2766,3217,3654,3065,2312,2591,2115,2332,2836,2733,2707,2116,1478,1741,2321,2332,2329,1799,1615,1116,1498,2220,2802,2608,2734,2973,2958,2609,2176,2302,2367,2340,1887,1968,1781,1969,2294,2307,2198,2700,3372,3242,3001,2542,2585,2063,2072,3190,3253,2827,2991,3024,2619,2434,2228,1969,1881,1952,2563,3024,2426,2053,1772,1577,1925,2460,2812,2370,2332,2124,1609,1534,1483,1466,2062,1664,1952,2438,2254,2076,2265,2355,2119,2204,2606,2765,2061,1829,1928,1982,2004,1922,2264,2119,2111,2303,2086,1902,2048,2188,2176,1869,1930,1920,1502,1727,2864,3033,2797,2602,2595,3283,3825,3220,2309,2113,2756,2498,3200,3505,3353,2652,2901,3116,2988,2920,3182,3124,2584,2056,2105,2414,2149,2388,1901,1734,2502,3073,2911,2709,3110,3223,2508,2413,2800,2426,2685,3165,3240,3278,2974,2247,1738,2214,2508,2201,1977,2107,2292,2290,2493,2354,2156,1754,1678,1644,1772,2467,3383,3206,2510,2503,2820,2675,2562,3250,3606,3051,2710,2638,2585,2375,2377,2101,1542,1585,1602,1562,1530,1637,1834,2454,2453,2402,2030,1919,1666,1417,1766,2058,1699,1797,1641,1948,2039,1881,1832,1871,1662,2311,2245,1928,1866,1523,1441,1846,2052,2365,2788,2112,2176,2216,2194,2229,2241,2144,1919,2024,2124,2013,2453,2378,2169,2988,3109,3012,2807,2756,2744,2667,2108,2634,2988,2358,1998,1951,2260,2136,2226,2809,2839,2897,2966,2461,1928,1665,1587,1779,2466,3054,2844,2827,3216,2325,1534,1857,2071,1681,1514,1654,2166,2930,2542,2797,3292,3742,4027,3825,3404,2930,2750,2857,3033,2776,2266,2201,2222,2540,2972,2519,3003,3044,3068,2829,2448,1808,1436,1636,1665,1387,1366,1558,1758,2954,3208,3359,3717,4014,4152,3999,3805,3933,3767,3295,2665,1666,1650,1580,1819,2757,2380,1617,1373,1794,2200,1789,1444,1436,1406,1490,1554,1493,1526,1516,1341,1267,1556,1795,1703,1596,1586,1616,1704,2600,2020,1353,1495,1437,1356,1311,1301,1358,1654,1620,1416,1790,1687,1845,1750,1357,1367,1287,1358,1468,1520,1403,1271,1376,1469,1505,2095,1804,1534,1645,1493,1510,1458,1764,2114,1855,1597,1511,2091,3062,3333,3180,3044,2943,3134,3104,2998,2730,2259,2132,2408,2388,2315,2304,1902,1616,1771,2050,2194,2243,2372,2160,2064,2006,1904,1857,2126,2356,2226,1815,1578,1883,2076,2139,1947,1680,1533,1462,1599,1651,1485,1950,2116,1593,1556,1733,1648,1766,1844,1952,2618,2166,1897,1887,1725,1676,1615,1565,1632,1571,1921,1681,1532,1582,1427,1656,1543,1317,1501,1443,1434,1471,1600,1624,1473,1549,1345,1403,1611,1859,2020,2151,2160,1925,1744,1834,1924,1691,1619,2053,2534,3319,2941,2000,1844,1692,1391,1534,1565,1571,1694,1494,1680,1715,1942,1908,1623,2877,2249,1577,1997,2435,2428,2297,2512,2373,2546,2655,2344,1764,1604,1876,2696,2308,2222,2212,2085,2679,2698,1714,1360,1809,1870,1182,1112,1457,1406,1365,1443,1389,1566,1990,2203,1766,1533,1426,1367,1321,1376,1524,1512,1240,1261,1453,1584,1779,1526,1528,1442,1877,2028,1802,1716,1617,1606,1706,1960,2216,2031,2203,2334,2360,2452,2237,2215,1953,2419,2144,1755,1776,1724,1674,1867,1957,1593,1570,1604,1839,1954,1956,1808,1754,1772,1760,1670,1829,2126,2002,2068,2033,1767,1728,1726,1961,1846,2093,2518,2388,2315,2403,2168,1788,1816,2238,2160,2106,2706,3179,3352,3537,3361,2788,2056,1639,1518,1389,1521,1691,1576,1530,1541,1665,2358,2183,1705,1958,1976,1616,1502,2002,2286,2431,2099,1755,1559,1503,1912,2061,2150,1685,1418,1412,1328,1402,1501,1416,1578,1760,1749,1635,1688,1707,1744,1856,1848,1759,1826,1839,1818,1642,1499,1525,1680,1996,1918,1995,1992,2106,2668,3145,3262,3265,3309,3365,3235,3378,3593,3437,2687,2098,2117,3010,3702,3354,2889,2629,2463,3067,3480,3605,2786,2029,1674,1636,1710,2030,1913,1739,1996,2049,1896,1652,1600,1794,1886,1743,1560,1716,1617,1559,1538,1458,1444,1547,1931,2437,1988,1321,1684,2534,1903,1561,1455,765,1149,2002,1781,1859,1792,1674,1888,2069,1856,1700,1919,1676,1300,1497,1671,1708,2120,2144,2410,1906,1397,1440,1560,1447,1492,1396,1044,922,1093,1175,1200,1343,1858,1803,1156,1432,1615,1519,1826,1932,1893,1995,1688,1423,1465,1700,1804,1635,1578,1984,2962,2987,2501,2612,2763,3124,3483,3732,3228,2466,2583,2789,3210,3251,2591,2821,3208,3580,3520,2955,2345,2320,2382,1983,1683,1481,1302,1123,1590,1746,1756,1912,1864,1864,1901,1765,1710,1847,1866,2050,2062,2254,2965,2270,2047,1991,1965,1731,1794,2045,2388,2531,2552,2329,1970,2009,2308,2170,2121,2019,2040,1771,1688,1744,1730,1765,1678,1591,1704,1445,1425,1986,1951,1847,1674,1761,2023,1805,2033,2113,2232,2123,1852,1899,1939,1641,1598,1577,1842,1681,1350,1250,1250,1331,1498,1698,1692,1627,1643,1617,1462,1564,1909,2284,2224,1833,2077,2089,1832,1907,1686,1817,1546,1607,1970,2045,1921,1936,1919,1678,1138,761,790,939,999,1154,1455,1689,1795,1486,1517,1818,1410,1014,1462,1900,1805,1441,1330,1575,1730,1468,1248,1210,1416,1730,1844,1742,1788,2036,2234,2042,1390,860,1136,1716,1695,1547,1639,1624,1596,1695,1909,2158,2383,2512,2195,1820,1786,2182,2294,2114,2228,2135,1410,1533,1980,1946,2056,1998,1814,1291,1114,1689,1706,1435,1379,1689,1770,1561,1686,1688,1543,1185,1114,1033,796,842,922,1203,1851,1687,1465,1229,1223,1863,2343,2006,1315,1363,1588,1478,1656,1528,1348,1547,1644,1662,1539,1388,1465,1382,1279,1592,1676,1595,1472,1860,1413,814,1090,1428,1424,1643,1947,1622,1613,1432,1525,1225,1094,1077,1325,1390,1415,1442,1321,1593,2170,2070,1500,1332,1341,1249,1405,1357,1279,1328,1282,1236,1077,1036,1300,1482,1500,1328,1310,1299,1371,1287,1562,1724,1758,1722,1300,1461,1980,1597,1307,1177,1032,1199,1600,1683,1604,1386,1366,1559,1738,1864,1988,1854,1594,1583,1990,1892,1770,1603,1560,1569,1504,1554,1597,1840,1899,1583,1426,1568,1484,1439,1464,1451,1516,1522,1418,1462,1506,1751,1973,1671,1506,1480,1427,1555,1570,1805,2026,2541,2604,2251,2254,2275,2798,3623,3345,2965,2801,2736,2544,3000,3806,3474,3361,3140,2621,2218,2195,2177,2373,2702,2511,2304,1863,1512,1740,2110,1861,1767,1787,1778,1802,1659,1696,1536,1587,1760,1766,1788,1544,1369,1448,1498,1477,1622,1705,1692,1577,1550,1511,1369,1479,1572,1406,1406,1288,1152,1242,1274,1404,1608,1404,1388,1428,1739,1972,1727,1697,2204,2583,2566,2280,2358,2604,2141,1926,1957,1875,1662,1696,1539,1414,1438,1358,1341,1585,1855,1610,1340,1272,1312,1304,1328,1221,1197,1366,1693,1594,1376,1346,1331,1490,1607,1502,1584,1707,1640,1480,1398,1388,1311,1311,1330,1418,1300,1446,1836,1673,1227,1174,1362,1333,1512,1555,1569,1774,1883,2069,2346,2051,1663,1548,1471,1798,1925,1902,1784,1698,1730,1770,1717,1472,1289,1520,1606,1484,1469,1671,1575,1515,1561,1528,1684,1970,2477,2767,2635,1642,1630,2144,2518,2908,2734,1926,1856,1873,2071,2721,3072,2768,2254,2316,3573,4007,3027,2662,2176,2321,3107,3250,2492,1770,1555,1368,1420,1512,1489,1404,1351,1449,1478,1467,1446,1513,1655,2236,2774,2216,1678,2013,1952,1545,1566,1483,1505,1590,2010,2189,2049,1800,1694,1608,1469,1587,1592,1792,1716,1489,1938,2288,2461,2796,2865,2798,2885,2556,2142,2014,1807,1888,1946,2123,1989,1886,1720,1638,2077,2806,3111,3152,3022,2908,2851,2155,2043,1766,1482,1692,1888,1736,1669,1554,1506,1644,1938,1981,1576,1535,1796,1592,1509,1444,1453,1905,2179,2008,1721,1774,1798,1774,1882,1832,1697,1813,1667,1774,1675,1645,1698,1492,1476,1610,1573,1474,1841,1998,1827,1472,1523,1706,1869,2278,2352,2036,2199,2229,1792,1644,1563,1527,1771,1854,1655,1540,1536,1709,1654,1672,1681,1636,1947,1490,1790,1956,2575,2957,2763,2852,2820,2654,2358,2046,1812,1596,1585,1684,2023,1993,2107,2428,2257,2565,3272,3282,3174,3100,2513,2631,3164,3197,3575,4551,4407,2809,2045,2275,3125,3611,3692,3240,2208,2156,2349,2353,2191,1802,2473,2410,1941,2242,2321,2112,2048,1968,1793,1564,1682,1845,1649,1801,1948,2237,3256,4179,3010,1790,1707,2287,2932,3054,3624,3550,2479,1802,1794,2056,1997,2011,2135,2087,2186,2277,2068,1831,1791,1748,2147,2159,1611,1546,1609,1590,1629,1600,1521,1473,1446,1584,1754,1556,1524,1694,2123,2112,2186,2036,2116,2041,2011,1810,1658,1772,1615,1948,2459,2336,1753,1713,2624,2392,1997,2126,1968,1726,1733,1811,1690,1456,1763,2032,1840,1443,1349,1345,1470,2062,2377,2394,2312,2360,2969,2788,2691,3047,3084,3676,3665,3470,3529,3560,3483,3343,3017,2648,2394,1826,1968,2690,2327,2053,1703,1886,2032,1793,1655,1953,2043,1860,1725,1560,1504,1736,1866,1686,1762,1647,1515,1529,1748,2020,2083,2176,2181,1532,1609,2032,1861,2062,2711,2401,1722,1671,1907,1829,1983,2008,1843,1662,2046,2377,1629,1750,2096,1920,1877,2153,1898,1646,1932,1823,1901,2188,2394,1942],[1751,2229,2290,1815,1624,1549,1964,2388,1931,1867,1884,1912,1945,1880,1697,1852,2102,1587,1531,2054,2249,1944,2307,2518,2589,2638,2598,2599,2462,2013,1559,1632,1922,2002,2164,2375,2011,2013,2329,2415,2607,2324,2152,2764,2958,2911,2919,2875,2818,2225,2333,2540,2413,2082,1730,1430,1333,1415,1647,1591,1595,1810,1880,2076,2044,2172,1790,1606,2087,2283,2272,2611,2886,2533,2238,2273,2291,2322,2274,2446,2658,2691,2665,3349,4042,3986,3858,3968,3953,3672,3772,3769,4104,4228,3631,3495,2963,2994,2976,2412,2248,2151,2014,2045,2387,2602,2406,2431,2476,1698,1681,2382,2596,2470,2382,2197,2593,2641,2376,2260,2219,2678,2348,1996,2128,2371,2165,2152,2303,2810,3051,2736,3037,2366,2534,2270,1940,2114,2603,3089,3321,3010,2665,2634,2422,1850,1823,2024,2452,2819,2511,1806,1606,1635,1881,2419,2612,2220,2045,2141,1854,1458,1468,1452,1734,1788,1960,1941,1868,1813,2135,2286,2344,2514,2568,2679,2088,1672,1589,2062,2339,2015,2048,2109,2015,1916,2096,2143,2089,2410,2422,2320,2263,1874,1738,2640,3221,3507,3219,2658,2769,3251,3662,3617,3382,2938,3032,2306,3473,4002,3553,3249,3300,2749,2454,2609,2864,2989,3306,2529,2123,1821,1699,2291,2500,2509,2531,2420,2457,2865,3208,3133,2677,2096,2189,2403,2497,3121,3063,2823,3154,2958,2420,2197,2021,1885,2064,2609,2545,2100,2204,2543,2290,1981,1809,1743,2001,2493,3394,3098,2087,2479,2898,2910,3039,3268,3389,2755,2475,2343,2143,2329,2722,2766,1959,1945,1866,1562,1788,1679,1657,2347,2664,1923,1572,1684,1521,1435,1614,1617,1836,2003,1870,1717,1879,1811,1771,1841,1590,1597,1824,1991,1667,1576,1672,1922,2031,1758,1764,1675,1913,2260,2487,2037,1881,2009,1956,2200,2271,1972,2698,2634,2499,3006,3251,2696,2431,2326,2368,2734,2558,2995,3269,2409,1946,2493,3234,3020,2742,2798,3010,3593,3810,3093,2373,1709,1512,1650,1923,2628,3156,3496,3508,2604,1780,1802,1720,1596,1716,1761,1726,2498,2286,2158,2103,3152,3674,3287,2951,2661,2818,2958,2509,2367,2321,2287,2254,2476,2564,2809,3280,3439,3481,2969,2061,1535,1534,1736,1572,1383,1428,1394,1743,2996,3208,3148,3730,4185,4225,4137,3993,4051,4296,3575,2613,2232,2123,2141,2559,2934,2462,2003,2232,2295,2061,1595,1387,1216,1374,1422,1554,1438,1369,1405,1446,1490,1604,1931,2336,2210,1622,1566,1442,1788,1455,1251,1552,1463,1146,1175,1175,1235,1489,1472,1564,1621,1454,1937,1797,1569,1497,1409,1319,1448,1578,1455,1218,1283,1414,1963,2643,2386,1860,1600,1475,1434,1343,1365,1915,2043,1701,1575,1974,2938,3574,3470,3373,3210,3616,3794,3482,2957,2220,1804,1808,1744,1788,1597,1673,1967,2564,3040,2752,2324,2128,1952,1903,1802,1893,2086,2012,1979,2266,2016,1692,1836,2172,2079,1626,1398,1540,1471,1527,1527,1372,1491,1592,1601,1845,1573,1281,1232,1434,1914,2389,2080,1700,1930,1918,1715,1459,1553,1727,1440,1695,1671,1726,1571,1591,1729,1214,1265,1665,1472,1388,1414,1411,1398,1426,1620,1770,1917,2014,2083,2111,2140,1965,1754,2086,2065,2147,1687,1294,1521,1695,2777,2889,2384,2100,1630,1578,1711,1704,1662,1601,1655,2346,2938,2750,1814,1476,2055,1847,1787,2360,3429,2779,1644,2093,2489,2401,2297,2054,1816,1605,1796,2065,1962,2046,2066,1895,1956,1717,1350,1512,1813,1835,1331,1203,1467,1445,1494,1592,1715,1750,1820,1626,1223,1655,1714,1643,1482,1493,1587,1608,1717,1490,1299,1775,1978,1850,1535,1787,2522,2566,2106,1760,1554,1559,1677,1981,2155,2122,2479,2254,1895,2055,2619,2751,2663,2534,1960,1720,1599,1489,1590,2053,2244,1695,1498,1495,1553,1588,1628,1611,1648,1755,1723,1604,1940,1914,1920,1922,1989,1958,1931,1808,1888,1884,1776,1750,1785,1841,1900,1833,1729,1816,2112,1975,1933,2366,2577,2765,2964,2731,2176,1871,1638,1490,1485,1716,1777,1603,1593,1599,1683,2104,2117,2053,1916,1866,1909,1943,2613,2326,2343,2091,1870,1613,1489,1608,2033,1975,1404,1460,1405,1390,1406,1548,1505,1614,1815,2008,1868,1814,2066,2207,2129,1922,1717,1822,1937,2068,2092,1760,1503,1645,1649,1730,1943,2058,2203,2674,3151,3463,3510,3317,3429,3541,3762,3770,3563,2762,1997,1855,2577,3717,4003,3835,2975,2680,2128,2539,2756,2154,1836,1722,1705,1860,1879,1601,1781,2107,2069,1720,1526,1525,1614,1751,1866,1814,1653,1517,1505,1549,1556,1472,1228,1337,1330,1446,1232,1815,2086,1844,1638,998,596,1998,2811,1699,1734,1674,1465,1607,1579,1765,1945,1748,1643,1641,2030,2232,1597,1262,1038,1495,1494,1420,1490,1433,1484,1644,1495,1033,1378,2012,1790,1551,1848,2187,2033,1453,1716,1905,1907,1996,1774,1701,1753,1563,1393,1433,1982,1948,1665,1964,2736,2730,2219,2368,2618,2714,2651,2586,3230,3277,2708,2652,2888,2862,2912,2483,2554,2764,2444,1654,1373,2160,2280,1481,1226,1477,1720,1380,1255,1590,1893,1849,1767,1715,1731,1742,1919,2061,2055,2018,1906,1696,1481,1538,1405,1411,1451,1754,1937,1962,2166,2258,2231,2163,1909,1742,1628,1662,1718,1837,2047,2009,1585,1490,1435,1350,1448,1281,1240,1417,1520,1946,2413,1903,2068,2409,2380,2083,1919,2050,2277,2579,2047,1650,1672,1642,1468,1481,1597,1854,1674,1339,1286,1510,1863,1630,1876,1968,1736,1570,1644,1511,1620,2006,2160,2026,1915,1997,1839,2111,2432,2019,1856,1545,1305,1683,1870,1768,1885,1926,1556,1078,946,1046,909,862,908,1119,1310,1356,1343,1765,1968,1510,1256,1716,2003,1542,1001,1320,1589,1488,1312,1195,1391,1477,1550,1645,1693,1769,1730,1624,1423,1037,1357,1770,1848,1910,1860,1643,1455,1521,1612,1798,1919,2005,2239,2275,2157,2111,2119,2210,2222,2244,2027,1459,1411,1809,1912,1956,2011,1899,1484,1353,1921,1946,1770,1647,2008,2167,1953,2039,1820,1533,1143,1167,1149,1213,1447,1729,2029,2258,2204,2101,1982,2027,2401,2734,2576,1388,1054,1615,1731,1559,1483,1455,1371,1592,1810,1627,1522,1672,1538,1408,1409,1568,1708,1615,1532,1213,1152,1469,1552,1506,1675,1979,1666,1903,1609,1618,1439,1440,1383,1316,1234,1151,1151,1205,1387,1912,1737,1386,1390,1434,1238,1323,1363,1249,1279,1306,1295,1365,1334,1743,1884,1435,1288,1434,1220,1242,1270,1588,1660,1485,1681,1721,1836,1929,1771,1420,1344,1027,1331,1608,1373,1346,1377,1432,1545,1535,1814,1854,1655,1972,1799,1603,1523,1642,1632,1598,1511,1700,1914,1985,2137,1990,1642,1448,1437,1478,1490,1452,1272,1402,1498,1377,1391,1341,1454,1491,1319,1259,1386,1396,1408,1533,1626,1642,1782,2009,2200,2227,2241,2481,3256,3024,3089,3452,3322,2764,2614,2770,3161,3027,2663,2723,2487,2481,2214,2328,2410,2235,2364,1967,1844,2025,2056,2135,2123,1767,1592,1467,1496,1546,1504,1711,1931,1786,1724,1601,1447,1521,1695,1745,1752,1566,1260,1141,1407,1445,1513,1535,1376,1473,1670,1329,1245,1268,1434,1692,1676,1265,1312,1438,1830,1803,1974,2709,3157,2569,2085,2164,2680,2382,2071,1803,1688,1799,1837,1793,1566,1418,1664,1766,1552,1515,1434,1345,1353,1348,1390,1341,1293,1259,1365,1620,1860,1786,1552,1482,1411,1412,1447,1352,1419,1674,1649,1500,1660,1523,1299,1390,1305,1305,1299,1370,1450,1539,1368,1225,1296,1344,1455,1616,1755,1840,1746,1559,1873,1902,1808,1782,1599,1821,1703,1542,1379,1498,1682,1595,1531,1400,1326,2261,2132,1556,1395,1944,1919,1947,2166,2046,1631,1344,1730,2431,2769,1915,1532,1775,2119,2293,2050,1765,1897,2100,2309,2703,2938,2438,2119,2833,3417,4172,4108,3747,2833,2336,2469,2308,2078,2012,1842,1480,1583,2030,1579,1274,1420,1586,1498,1399,1427,1533,2129,3185,3195,2019,1826,1819,1762,1406,1451,1644,1694,1610,1791,1902,1800,1771,1640,1510,1532,1646,1633,1848,1620,1733,1938,1759,1957,2400,2513,2307,2220,1949,1998,2161,1664,1993,2194,2424,2248,1867,1669,1589,1615,1906,2753,3167,2763,2749,2426,1933,1719,1540,1468,1644,1659,1541,1668,1799,1893,1579,1728,1695,1413,1763,2024,1827,1558,1439,1426,1562,1880,1946,1785,2194,2189,1889,1845,1963,1885,2009,1838,1670,1522,1527,1533,1451,1395,1449,1800,1830,1752,1625,1532,1422,1471,1648,1894,2342,2291,2014,2013,2351,2195,1871,1671,1576,1789,1699,1797,2063,1998,1867,1593,1733,2009,1935,1942,2003,2167,2371,2737,3069,3239,3046,2753,2472,2034,1735,1537,1404,1580,1914,2367,2292,2114,2092,2176,2752,3211,3448,3636,3531,2910,2680,3012,3280,3439,4408,4553,3445,2498,2012,2501,2920,2746,2369,2169,2733,2699,2827,2468,1819,2148,2342,1934,1937,2015,1959,1898,1755,2065,2168,1707,2119,2137,1866,1798,1975,2708,3299,2470,1672,1760,2321,2208,2009,2852,3044,2071,1550,1628,1808,1779,2053,2245,2163,2366,2333,2242,2143,2147,2230,1909,1571,1474,1701,1626,1638,1833,1707,1535,1429,1577,1862,1884,1599,1528,1821,2137,2101,2133,1966,1817,1868,1866,1566,1565,2071,2117,2395,2698,2398,1844,1624,2019,2023,1974,2113,1954,1645,1571,1969,2148,1774,1602,1997,1932,1620,1466,1492,1595,1664,1692,1948,1877,1893,2656,2939,3042,3064,2899,2984,2945,3052,3394,3589,3417,3372,3013,2420,2165,1870,1699,2017,2182,2013,1797,2084,2439,1935,1503,1816,1960,1719,1687,1550,1603,1709,1660,1566,1990,2106,1655,1287,1390,1769,2036,1876,1873,1704,1932,2417,2442,2001,1995,1928,1813,2236,2235,1911,2153,1791,1759,1523,2354,2431,1781,1632,1955,2042,2009,2273,2098,1794,2018,1846,1887,2434,2103,1979],[2036,2094,2241,2419,2230,2119,2010,2088,1606,1382,1616,1687,1791,2046,1686,1566,1754,1563,1594,2262,2504,2468,2702,3095,3349,3311,2994,2690,2687,2233,1626,1427,1599,2106,2522,2588,2165,1885,2207,2585,2709,2313,1642,1871,1988,2141,2411,2331,2648,2217,1818,1653,2230,2404,1825,1599,1365,1459,1956,1765,1702,2054,1844,1820,1767,1779,1521,1605,2105,2238,2089,2338,2613,2229,2117,2023,2017,2016,2194,2517,2753,2786,2629,3299,4062,3934,3818,3730,3683,3728,3626,3793,4071,4143,3529,3217,3042,2677,2266,2386,2696,2699,2642,2310,1660,1699,2098,2019,1527,1260,1699,2166,1874,2368,2500,1995,2090,1791,1527,1795,2078,2556,2811,2300,2165,2601,2445,1922,1933,2223,2958,3175,2932,2256,2286,1974,1427,1617,2085,2440,3045,3162,2686,2318,2130,2033,2427,2623,2613,2678,2451,2206,2201,1919,2059,2474,2257,2131,2034,1660,1575,1531,1454,1529,1663,2010,2278,2220,1897,2017,2104,2088,2662,2587,2526,3053,2698,1812,2248,2676,2170,1748,1857,2159,2503,2275,2503,2362,2313,2414,2547,2540,2530,1989,2205,2471,2815,3422,2900,2479,2520,2751,3154,3207,3054,2769,2701,2564,3062,3482,3937,3991,3024,2709,3151,2445,2509,3274,3646,2767,1838,1520,2114,2492,2447,2407,2260,2326,2633,2753,2863,2828,2766,1936,2167,2127,1964,2189,2259,2688,3122,2742,2431,2301,2271,2559,2637,2746,2487,2101,2362,2592,2269,2376,2330,2070,2189,2435,2809,2457,1932,2274,2453,2453,2698,2649,2488,2818,3084,2394,2122,2555,2889,2828,2416,2186,1909,1567,1648,1835,2060,2797,2866,2188,2367,2621,1931,1611,1815,1718,1844,2213,2137,1765,1858,1820,1773,1799,1367,1354,1628,1893,1788,1574,1747,2165,2048,1957,1731,1549,1739,2175,2565,1846,1928,2025,2114,2250,2126,1797,2184,2103,2535,3143,2592,1817,1853,1634,2047,2583,2690,2835,3652,3588,2680,2612,2925,2957,3017,2410,1882,2768,3083,2144,1822,1506,1527,1767,2121,2597,3285,3858,3533,2557,1749,1544,1388,1651,1847,1521,1788,2483,2172,1826,1698,2332,2806,2694,2921,2629,2764,2834,2876,2963,2916,2822,2566,2952,3015,3215,3864,3635,3664,3153,1909,1438,1264,1281,1396,1316,1322,1300,1637,2819,3686,3770,3918,4047,3940,3666,3676,3819,4400,3509,2974,3006,2901,2894,2886,2640,2232,1846,2531,2989,2198,1672,1511,1797,2030,2001,1644,1361,1296,1332,1329,1425,1542,1805,2777,2462,1753,1474,1340,1478,1390,1316,1476,1488,1255,1336,1536,1413,1412,1402,1478,1513,1517,1544,1427,1580,2198,2257,1389,1335,1503,1435,1390,1345,1369,1446,1842,2089,1700,1565,1460,1413,1354,1235,1594,1924,1853,1793,2176,2891,3494,3724,3762,3579,3651,3536,2751,2109,1836,1486,1723,2069,2386,2481,2545,2562,2473,2395,2266,2081,1997,1832,1733,1890,1880,1886,1748,1721,2114,2091,1901,1958,2140,2167,1886,1803,1726,1605,1631,1521,1384,1421,1543,2115,1991,1532,1363,1462,1551,1532,2121,2550,1689,1712,1688,1958,1585,1531,1611,1445,1542,1668,1654,1589,1675,1456,858,1113,1320,1481,1487,1643,1612,1614,1610,1714,1765,1842,1946,1829,1673,1666,1705,1617,2170,2364,2212,1835,1657,1620,1560,2120,2202,1930,1749,1542,1782,1693,1623,1582,1446,1516,1860,2406,2378,1677,1547,1946,2374,2429,2412,2696,2014,1520,1972,2476,2487,2168,1944,1914,1710,1686,2018,2112,2080,1969,1810,1685,1692,1722,1806,1823,1791,1525,1371,1515,1392,1373,1406,1676,1519,1644,1626,1599,2120,2270,2204,2158,2288,2106,1844,2170,1990,1866,2037,2128,2056,1762,2242,2900,2839,2273,1814,1553,1540,1823,2446,1980,1784,2132,2048,2094,2442,2495,2240,2204,2176,2203,2503,1865,1676,1723,2014,2089,1740,1855,1832,1593,1572,1576,1571,1581,1648,1723,1678,2071,1805,1892,2193,2795,2532,1898,2182,2725,2398,2153,2258,2265,2165,2364,2096,1909,1793,1631,1624,1804,1882,1897,1895,1912,1973,1747,1904,1938,1766,1755,1824,1882,1710,1690,1736,1652,1562,1615,1964,1976,1848,1698,2062,2453,2316,2225,2498,2100,1574,1576,1617,1895,1917,1570,1560,1594,1476,1440,1676,1827,1600,1507,1637,1674,1776,2072,1995,1692,1859,1832,1721,1741,2070,2288,1903,1601,1411,1527,1936,2073,2027,2069,2382,3040,3498,3680,3658,3637,3540,3838,3974,3638,2753,1801,1760,1930,2060,2666,2990,2566,2466,2204,1884,1980,1896,1788,1866,1960,2154,2138,2231,2343,2362,1900,1560,1610,1654,1593,1526,1632,1876,1809,1819,1697,1533,1489,1352,955,1064,1334,1527,1150,1052,1345,1735,1812,1046,999,2417,2193,1579,1614,1389,1374,1266,1209,1512,1676,1578,1678,1832,2205,2086,1544,1065,1176,1233,1178,1287,1257,1220,1486,1695,1507,1383,1650,1830,1642,1671,1996,1934,1876,1667,1810,2061,2038,1908,1748,1896,2273,2069,1270,1283,1766,1695,1630,1990,2684,2172,1874,2395,2240,2150,2065,2221,2836,2941,2754,2691,2900,2709,2358,2248,2404,2204,1798,1502,2169,3021,2153,1956,1837,1588,1815,1910,1722,1108,879,1280,2015,2825,2685,2269,2470,2652,2578,2369,2049,1483,1008,1034,1105,1110,1194,1415,1664,1930,1745,1776,1843,2015,1559,1423,1417,1579,1733,1887,2297,2099,1605,1248,1046,1241,1478,1532,1636,1276,1289,1433,1807,1769,1600,1839,1451,1614,2224,2524,2209,1841,1677,1697,1686,2038,1973,1439,1613,1960,1476,1157,1298,1576,1717,1546,1800,1818,1408,1415,1594,1506,1533,1587,1793,1791,1934,2440,2188,2244,2407,1968,1494,1337,1473,1882,1936,1652,1852,1849,1468,1014,915,1068,1098,1098,1296,1750,1844,1448,1585,2228,2286,1614,1613,1551,1232,946,891,1532,1672,1549,1361,1347,1533,1588,1541,1639,1976,1824,1917,1807,1148,1326,2286,2316,1996,1898,1911,1814,1709,1440,1555,1626,1624,1593,1824,2021,2160,2186,1981,2004,2166,2107,1822,1309,1299,1726,2032,1830,1997,1981,1529,1486,1831,1872,1885,1998,2076,1928,1987,2186,1998,1762,1765,2050,2110,2148,2165,2127,2191,2286,2267,2106,2171,2298,2439,2347,2630,1577,1117,1583,1749,1606,1631,1593,1666,1707,1805,1900,1828,1766,1763,1609,1473,1519,1614,1543,1550,1516,1573,1549,1543,1605,1857,2056,1802,1464,1328,1520,1544,1596,1510,1174,1126,1134,1233,1246,1278,1598,1557,1486,1425,1545,1433,1260,1178,1109,1266,1305,1209,1303,1256,1764,1899,1415,1324,1362,1287,1278,1335,1584,1576,1314,1525,1591,1684,1787,1766,1588,1584,1396,1607,1562,1323,1592,1694,1736,1622,1774,1976,1600,1637,2204,1863,1525,1550,1520,1534,1565,1433,1372,1359,1599,1620,1668,1691,1522,1667,1865,1764,1465,1230,1398,1471,1447,1314,1288,1445,1341,1282,1291,1250,1510,1814,1677,1521,1516,1507,1823,1988,2008,2286,2285,2423,2340,2249,2766,3155,2885,2363,2340,2602,2565,2518,2846,2619,2444,2568,2384,2048,2169,2395,2248,2235,2238,1979,1918,1762,1560,1458,1299,1344,1268,1383,1732,1926,2144,1947,1744,1579,1674,1708,1481,1565,1295,1005,1239,1432,1481,1559,1441,1439,1965,2164,1448,1462,1363,1371,1395,1301,1220,1345,1647,1746,1814,2533,3384,3508,2412,2010,2302,2562,2006,1634,1444,1527,1571,1638,1667,1427,1657,1934,1629,1451,1418,1260,1439,1421,1338,1299,1350,1367,1428,1619,1676,1671,1570,1737,1633,1294,1394,1502,1449,1738,1566,1363,1674,1841,1566,1470,1594,1443,1460,1686,1882,1623,1538,1437,1347,1278,1287,1309,1339,1505,1585,1913,1886,2251,2149,1874,1827,1653,1558,1643,1560,1388,1654,1718,1490,1214,1524,1969,3010,2332,1722,1535,2028,2240,1900,1948,2334,2049,1621,1825,1805,2417,2151,1676,1964,2667,2497,1766,1781,2222,2633,2482,1985,2409,2428,2850,3410,3513,3935,3840,3729,3121,2358,1908,1622,1875,2168,1937,1723,1669,1906,1600,1428,1452,1417,1310,1328,1361,1827,2758,3254,2531,1753,1792,1583,1639,1534,1588,1767,1584,1531,1603,1588,1793,2111,1836,1607,1632,1461,1654,1641,1489,1949,2064,1748,1580,1877,2126,2035,1849,1777,2167,2024,1755,1893,2109,2052,1983,2011,1926,2235,2159,1700,2409,2565,2595,2730,2191,1748,1604,1530,1563,1554,1493,1707,1800,2048,2121,1834,1732,1554,1609,2287,2590,2158,1505,1418,1457,1488,1721,1723,1862,2222,2303,1986,1599,1802,2515,2488,2009,1790,1575,1702,1812,1632,1370,1396,1782,1782,1660,1649,1618,1644,1482,1433,1870,2004,1843,1848,1960,2165,2305,2040,1766,1725,1766,1947,2443,2844,2529,2287,2047,1856,2083,2018,1885,2510,2696,2930,2996,2715,2520,2791,2754,2206,1834,1574,1435,1424,1512,1874,2243,2016,1731,1676,1914,2047,2324,2753,3351,3451,3186,2833,2983,3116,2885,3342,3288,2977,2890,2310,2302,2449,2326,2676,2380,2402,2246,2439,2256,1885,2034,2114,1978,2049,1779,1614,1631,1969,2614,2573,1915,1866,1804,1649,1700,1739,1826,1961,1638,1583,2015,2155,1874,1917,2154,2231,1828,1586,1615,1622,1574,1807,2144,2173,2364,2208,2039,2020,2125,2379,2051,1694,1769,1751,1538,1591,1710,2055,2008,1730,1704,1982,2191,1948,1643,1754,1979,2103,2120,1981,1727,1553,1584,1825,2134,2689,2483,2343,2546,2409,2017,1892,2170,2013,1689,1726,1871,1714,1637,2068,2045,1462,1475,1700,1929,1742,1387,1475,1448,1555,1759,1999,2019,2180,2900,3164,3027,2941,2781,2620,2723,2842,3286,3625,3460,3504,2898,2144,1823,1677,1650,1990,2093,1885,1882,2316,2648,1907,1569,1630,1571,1545,1487,1570,1808,1784,1851,2149,2358,2106,1648,1500,2109,1999,2069,1977,1895,1793,2002,2669,2688,1829,1718,2104,2110,2408,2484,2132,2064,1786,1736,1586,1986,2199,1840,1649,1925,2285,2163,2110,2035,1830,2091,1903,2040,2656,2354,1982],[2041,2272,2028,1768,2131,2296,1860,1866,1836,1775,1755,1497,1791,2140,1716,1655,1575,1540,1672,2150,2864,3194,3082,3116,3242,3187,2945,2706,2281,1432,1333,1417,1632,2193,2243,2044,2261,2135,1676,1814,2131,1892,1514,1550,1730,2029,2442,2426,2499,2227,1537,1267,2131,2733,1902,1515,1356,1381,1640,1743,1536,1972,1632,1418,1618,1515,1591,1663,2281,2346,1988,2634,2316,1629,1946,2428,2370,1762,1849,2657,3450,3532,3167,3544,4139,3797,3574,3342,3403,3474,3528,3780,4028,3991,3650,3239,2829,2000,1869,1830,1887,2023,1992,1836,2033,2490,2345,1653,1382,1493,2312,2792,2569,3088,3090,2387,2215,1800,1710,1918,2130,2169,2438,2465,1778,2051,2192,1833,1566,1750,2700,2906,2522,2554,2146,1417,1527,2221,2171,1883,2199,2954,2856,2633,2672,2858,3117,3075,2743,2813,2531,2091,1970,1690,1659,2095,2219,2129,1715,1537,1645,1686,1740,1902,2048,1903,1704,1856,1932,2283,2056,2059,2437,2279,2619,2656,2269,2030,2303,2370,1850,1770,2282,2415,2841,2732,2744,2337,2402,2403,2564,2825,2367,2069,2374,2055,2303,2364,2215,2401,2428,2874,3370,3287,3349,2707,2056,2274,2471,3157,4003,3362,2425,3008,3124,2318,2370,3135,3190,2690,2061,1971,2822,2747,2128,2128,2085,2263,2518,2564,2541,2821,3234,2938,2531,2163,2119,2007,2155,2629,2767,2031,2127,2252,2718,2882,2732,2752,2634,2341,2619,2569,1816,2060,2165,1656,1682,2099,2091,1847,1645,2213,2565,2279,2390,2310,2177,2706,2864,2006,1825,2303,2203,2436,2229,1893,1736,1588,1585,1812,2307,3156,3046,2765,2770,3037,2621,2341,2108,1937,1725,1786,1919,1998,1724,1805,1843,1764,1636,1542,1608,1816,1603,1342,1849,2259,1900,1750,1557,1534,1694,1913,2692,1851,1952,2166,1703,1995,1937,1576,1538,1557,2066,2304,1964,1791,2231,1863,2011,2775,3169,2587,3000,3257,2488,2298,2120,1945,2385,1707,1282,1650,1870,1690,1877,1938,1871,1660,2226,2829,2921,3484,3133,2452,1910,1609,1768,1972,1911,1762,2314,2593,2060,1938,2085,2264,2169,2124,2494,2657,2937,3153,3254,3204,3306,3361,3286,3637,3444,3230,4038,3654,3398,3085,1842,1440,1339,1246,1374,1346,1293,1276,1565,2723,3696,3793,3968,3880,3716,2809,2170,2863,3977,3485,2989,2858,2586,2656,2580,1885,1519,1413,2102,2954,2364,1763,1592,1773,2303,2523,2014,1572,1401,1419,1262,1232,1454,1636,2574,2771,2098,1469,1438,1494,1378,1438,1346,1507,1437,1407,1394,1272,1299,1337,1596,1687,1599,1569,1306,1335,1567,1555,1263,1341,1390,1503,1499,1433,1394,1517,1567,1639,1520,1345,1379,1425,1449,1381,1571,1861,2082,1869,2161,2769,3211,3340,3128,2755,2429,2273,2214,2345,2373,2165,2554,2602,2522,2424,2336,2351,2349,2315,2158,1947,1949,1915,1837,1953,1830,1888,1711,1469,1679,1832,1942,2036,2108,2201,2097,1747,1762,2001,1745,1741,1469,1322,1458,1931,1796,1549,1441,1444,1556,1712,1973,2465,1657,1590,1656,2127,1724,1614,1872,1571,1545,1708,1559,1399,1440,1372,1082,1392,1578,1736,1670,1699,1747,1747,1746,1809,1784,1782,1740,1421,1434,1489,1762,1989,2272,2333,2144,1883,1997,2045,1696,1815,1661,1552,1503,1648,1745,1565,1586,1578,1489,1458,1441,1596,1688,1523,1564,2039,2996,2730,2540,2061,1660,1542,1886,2479,2669,2303,1996,1951,1764,1785,2451,2547,2178,2026,1931,1809,1911,1891,1820,1802,1708,1577,1467,1467,1308,1443,1588,1926,1771,1566,1507,1556,1504,1650,2068,2169,2433,2255,1980,1625,1531,1464,1749,2122,1947,1802,2367,2776,2451,1913,1619,1548,1467,1685,2110,2014,1925,2014,2111,2187,2056,1909,1914,2326,2344,2519,3136,2374,2361,2110,1815,1841,1658,1794,1799,1499,1486,1508,1471,1477,1567,1644,1719,1817,1764,2018,2438,2786,2676,2228,2282,2565,3085,2706,2407,2591,2879,2728,2168,1846,2025,1842,1473,1622,1851,1709,1709,1640,1689,1438,2009,2094,1948,1738,1683,1709,1582,1627,1785,1732,1693,1745,1586,1855,1893,1809,1880,1987,2244,2477,2475,2100,1687,1549,1570,1631,1708,1742,1686,1792,1472,1450,1614,1491,1439,1554,1570,1586,1784,2134,1890,1720,1947,1976,1706,1748,1995,1877,1680,1649,1673,1782,2042,1859,2209,2421,2298,2584,3033,3297,3558,3382,2824,2999,3659,3613,3074,2480,1852,1822,1867,1943,2079,2188,2025,1963,1904,1722,1577,1711,2243,2530,2752,2868,2752,2467,2672,2219,2363,2294,1544,1428,1520,1772,1900,1749,1704,1697,1580,1666,1563,1288,1390,1511,1351,1045,1505,2003,1717,1673,1638,1693,2007,1829,1731,1655,1493,1459,1227,1149,1298,1233,1511,2096,1744,1660,1688,1531,1288,1489,1317,1345,1456,1250,1101,1048,1099,1177,1321,1201,1220,1296,1476,1534,1550,1593,1497,1621,1914,1919,1910,1953,2156,2361,2063,1337,1565,1748,1673,1942,1992,2053,1976,2042,2216,1865,1821,1933,2449,2868,2978,2962,2408,2290,2474,2301,2185,2154,2214,2368,2287,2478,2316,2245,2454,1879,2095,2540,2366,1717,902,640,1129,2209,3549,3437,2824,2543,2519,2545,2492,2101,1420,1393,1684,1754,1763,1628,1315,1368,1981,1598,1599,1328,1338,1730,2118,1700,1515,1921,2282,2330,1940,1279,868,1298,1721,2009,2149,2077,1484,1466,1302,1230,1377,1328,2012,1439,1842,2265,2271,2044,1852,1648,1556,1755,2068,2038,2128,2359,1996,1299,1197,1531,1510,1357,1378,1305,1202,1112,1456,1664,1290,1254,1754,2207,1871,1465,1743,2088,2461,2474,1864,1416,1515,1982,2458,2156,1213,1236,1580,1476,1057,810,971,1159,1126,1462,2074,2052,1893,1987,1861,1510,1429,1510,1527,1483,1130,1347,1902,1567,932,1142,1546,1720,1521,1553,1710,2570,2510,2017,1707,1491,1900,2471,2586,2335,2007,1780,1597,1613,1541,1661,1653,1648,1678,1732,1731,1901,2054,2096,2220,2309,2210,2080,1333,1607,2221,2257,1823,1850,1986,1533,1300,1753,1862,1865,1979,2266,2007,2108,2158,2026,1972,1992,2186,2274,2259,2090,1982,1946,2018,2005,2015,2182,2301,2091,1871,2262,1749,1145,1466,1661,1653,1664,1802,2209,1864,1700,1747,2092,1897,1694,1595,1758,1938,1713,1472,1425,1412,1573,1488,1581,1620,1817,1598,1122,867,1134,1419,1494,1704,1542,1233,1230,1049,1231,1422,1592,1500,1367,1346,1509,1740,1620,1266,1159,1159,1289,1550,1461,1416,1435,1723,1633,1486,1509,1658,1880,1750,1525,1501,1433,1507,1792,1600,1415,1592,1676,1529,1508,1469,1659,1716,1528,1626,1550,1598,1728,1905,1656,1539,1836,1775,1602,1712,1672,1370,1563,1727,1293,1299,1331,1438,1712,1802,1702,1622,1952,2071,1725,1504,1293,1330,1468,1504,1299,1265,1234,1304,1361,1387,1330,1645,1903,1568,1613,1919,1553,1772,1745,1591,1655,1625,1687,1779,1805,2228,2681,2509,2112,2370,2354,2142,2047,2382,2587,2751,2683,2180,2091,2322,2277,1995,1750,1551,1632,1515,1218,1179,1166,1285,1172,1009,1893,2181,1952,2106,1912,1820,1626,1645,1714,1689,1643,1270,1102,1270,1337,1477,1556,1379,1386,1577,1642,1340,1360,1315,1195,1340,1480,1350,1413,1708,1665,2233,3326,3494,3610,2830,2401,2347,2075,1687,1381,1354,1557,1563,1813,1856,1782,1804,1666,1543,1229,1172,1397,1554,1410,1300,1336,1452,1453,1342,1531,1847,1637,1461,1883,1653,1399,1394,1173,1371,1829,1589,1392,1541,1667,1324,1285,1439,1450,1708,2187,2275,1881,1614,1606,1309,1204,1256,1211,1350,1673,1715,1959,1810,2333,2531,2236,2075,1643,1407,1742,1617,1477,1840,1642,1451,1107,2015,2183,2289,2121,1802,1402,1666,1769,1726,1753,2090,2145,1707,1551,2329,2933,2881,2646,2459,2426,2363,1811,1548,1819,2575,2153,1815,1958,2734,3763,3710,3745,3824,3587,3248,2952,2510,2119,1807,1673,1704,1547,1691,1686,1569,1412,1509,1526,1371,1313,1288,1484,2344,2778,2536,1784,1753,1816,1730,1693,1694,1937,1961,1618,1592,1630,1593,1481,2143,2033,1895,1750,1579,1596,1474,1670,1814,2042,1987,1735,1798,1926,2193,2024,3262,3251,2177,2121,2056,2080,1840,2013,2105,2076,2160,2148,2139,2344,2270,2326,2314,2010,1725,1540,1482,1427,1654,2191,2626,2255,2037,2198,2102,1838,1650,1802,2056,2157,2170,1509,1561,1694,2180,2444,2223,1875,1802,1946,1886,1702,2270,2730,2055,1772,1782,1522,1809,1902,1548,1504,1684,1768,1639,1511,1594,1674,1691,1092,1362,2062,1927,1652,1755,2018,2105,2318,2088,1655,1732,2108,2536,2729,2309,2220,2298,2229,1811,1865,1724,2113,2853,3328,3573,3330,2849,2650,3238,2940,2234,1801,1601,1370,1271,1350,1621,1835,1838,1889,2046,1888,1760,1845,2336,3021,2841,2511,2673,2587,2040,1759,1647,1891,2836,3586,2921,2209,2029,1968,2084,1742,1643,1711,1898,1810,2031,2145,1866,1759,1909,2113,1788,1658,1820,2358,2901,2484,1771,1738,1641,1628,1618,1923,2295,1992,2332,3124,3048,2175,1884,2277,2323,1851,1641,1608,1669,1875,2063,2216,2283,2113,1995,1743,1677,1846,2030,1906,1848,1893,1740,1748,1698,1482,2055,1870,1922,1763,1855,1946,1981,1902,1684,1846,2221,2299,2429,2039,1737,2381,2621,2675,2759,2689,2775,2746,2457,2302,2621,2664,2084,1690,1654,1844,1876,1615,1776,1731,1751,1900,2084,2553,2245,1564,1651,1545,1697,1562,1691,2266,2256,2449,2098,1808,2502,2943,2620,2587,2598,3261,3426,3403,3043,2238,1933,1780,1677,1636,1842,1956,1636,1640,2102,2364,1806,1824,1658,1577,1880,2251,2548,2302,2104,2254,2082,1940,1940,1702,1774,2158,1970,1975,2072,1890,1722,1800,2144,2293,1990,2138,2380,2308,2151,1991,1789,2004,1780,1679,1934,1882,1782,1782,1884,2072,2486,2185,1959,2000,2083,2482,1954,1625,2007,2004,1875],[1964,2198,1844,1576,2108,2282,2141,2267,2254,2391,2121,1696,1802,1977,1895,1954,1700,1593,1833,2176,2644,2905,2831,2568,2498,2620,2464,2753,1797,1148,1253,1523,1926,2096,1946,1638,1688,1840,1564,1482,1750,1612,1402,1420,1665,2079,2351,2467,2416,1800,1542,1763,1921,2215,1815,1530,1160,1146,1705,1881,1649,1939,1732,1549,1722,1412,1612,1707,2280,2424,2102,2291,2049,1630,2135,2366,1745,1536,1574,2099,3076,3637,3278,3287,3683,3664,3505,3491,3648,3599,3418,3569,3916,3908,3637,3397,3240,1919,1891,1846,1727,1899,1894,1898,2552,3111,2543,1881,1750,1931,2267,2461,2324,2756,3068,2962,2502,2149,2047,2026,2035,2047,2210,2460,1871,1775,1732,1680,1928,2082,2057,1986,2496,2503,2030,1841,2120,2389,2294,1971,1664,1941,2667,3220,3322,3367,3230,2651,2639,3002,2555,2019,1730,1840,2186,2598,2255,1710,1629,1609,1716,2003,2007,1729,2011,1909,1992,1897,1615,1815,2137,2009,1932,2500,2580,1985,2042,2200,2247,2263,1809,2191,2431,2755,2799,3090,2977,2403,2542,2621,2465,2310,1995,2275,2535,2511,2065,1721,1665,1853,2144,2756,3229,3332,3134,2575,2294,2201,2426,3063,2927,2434,2416,2998,2956,2203,2065,2727,3166,3627,3024,2150,2686,2129,1814,2400,2209,2231,2487,2854,3072,2954,3299,3332,2534,2373,2853,2718,2310,2338,2220,1731,1809,2770,3060,2869,2624,2415,2298,2121,2264,2394,1670,1837,2008,1596,1494,2040,2562,2409,1991,2486,2613,2127,2512,2492,2391,2632,2533,2249,2134,1869,1663,2099,2108,1565,1382,1479,1484,1822,2414,3362,3156,2567,2304,2798,3375,2964,2332,1867,1693,1687,1852,2110,1656,1530,1656,1930,1725,1678,1725,1592,1484,1527,1922,2084,1638,1525,1438,1558,1603,1873,2761,1979,1716,1847,1530,1445,1461,1562,1354,1437,1577,1394,1571,1847,2126,2222,2482,2896,2602,1846,2235,2292,1872,1996,1879,1819,1892,1336,1600,1726,1482,1469,1950,2390,1986,1611,2045,2461,2036,2468,2958,2917,2852,2309,1864,1599,1504,1465,2173,2996,2334,1811,2025,2210,2218,2681,3060,3332,3487,3407,3381,3482,3674,3758,3811,3814,3490,3398,3699,2447,1932,1763,1409,1382,1328,1281,1363,1369,1321,1464,1673,2604,3650,3639,3661,3806,3709,3232,2626,2805,3479,3376,2775,2083,2311,2828,2810,1934,1529,1520,1839,2133,2164,1981,1747,1929,1991,2081,2108,1614,1470,1428,1292,1258,1319,1479,2176,2429,1914,1432,1356,1437,1506,1529,1329,1417,1451,1281,1261,1676,1589,1477,2178,2523,2256,1647,1158,1336,1288,1335,1288,1272,1312,1346,1365,1321,1704,2208,1825,1410,1308,1328,1714,1901,2057,2143,1960,2373,2602,1987,1998,2348,2362,2399,2402,2348,2424,2710,2821,2679,2446,2490,2248,2245,2245,2296,2531,2576,2374,2122,1911,1815,1830,1788,1820,1997,1928,1849,1542,1365,1556,1861,1968,1810,1606,1775,1940,1693,1972,2009,1886,2276,1776,1330,1431,1556,1406,1393,1488,1458,1426,1581,1602,1852,1685,2030,2227,1900,1511,1464,1447,1377,1420,1600,1516,1299,1408,1633,1598,1814,1850,1833,1791,1753,1822,1748,1576,1553,1546,1740,1800,1601,1743,1677,1798,2078,2096,2054,2044,1975,2154,2056,1734,1687,1622,1748,1468,1572,1537,1515,1584,1547,1428,1484,1512,1516,1522,1504,1626,2187,2921,2496,1914,1738,1968,2308,2796,3297,3551,3176,2420,2431,1880,1877,2290,2309,2004,2042,1930,1762,1960,2033,1702,1674,1580,1346,1261,1421,1470,1670,1673,1655,1562,1510,1483,1414,1355,1568,1599,1528,1816,2106,1844,1782,1678,1409,1562,2236,2486,1683,1642,1944,2020,1864,1655,1684,1506,1541,1796,1933,1965,2297,2810,2322,2104,2169,2368,2610,2339,2169,2679,2319,2371,2232,1981,1919,1626,1520,1459,1395,1504,1541,1566,1571,1556,1517,1593,1807,1774,1941,2326,2147,2146,2829,2632,2614,2812,2177,1685,2452,3002,2685,2123,1996,2404,1940,1282,1963,2332,2034,1920,2004,1802,1622,2234,2365,2114,2080,2062,1731,1621,1616,1677,1443,1416,1824,1603,1699,1771,1729,1748,1720,1586,1665,1680,1731,1855,1793,1734,1600,1620,1766,1776,1692,1776,1943,1766,1595,1576,1611,1586,1659,1892,2081,1867,1681,1685,1658,1542,1619,1854,1783,1518,1511,1878,1660,1654,1479,2253,2408,2226,2275,2156,2416,3108,2700,2104,2148,2429,2201,2769,2976,2082,1759,1906,2070,2057,1913,1874,1934,1885,1848,1660,1887,2702,2932,3037,3067,2785,2621,2735,2973,3476,2640,1920,1683,1559,1820,1801,1840,1836,1223,1244,1543,1520,1607,1656,1528,1349,1367,2092,2296,1870,1493,1500,1416,1876,2171,1781,1332,1382,1534,1396,1228,1428,1241,1892,2299,1628,1382,1272,1471,1505,1641,1615,1605,1596,1384,1112,1011,1226,1278,1472,1312,1390,1244,1199,1311,1236,1216,1454,1914,2060,2201,2056,1956,1919,1899,1920,1678,1742,1657,1700,1963,1836,1744,1936,2182,2382,2425,2514,2241,2140,2711,2910,2285,1839,1841,1747,1526,1461,1901,2496,2245,1465,1583,1572,1885,1379,888,1840,2580,2088,1717,925,1285,2008,2599,3120,3319,2648,1930,1780,1718,1572,1465,1466,1692,1616,1574,1628,1561,1150,1128,1943,1649,1511,1484,1628,2527,3220,2696,2600,2471,2614,2329,1876,1286,1398,1694,1462,1445,1862,1758,1437,1650,1486,1281,1537,1545,2214,1633,1770,1987,1808,1770,1690,1760,2128,2280,1677,1891,2444,2199,1710,1241,1375,1894,1831,1683,1614,1366,1219,1571,2540,2460,1484,1360,1830,2196,1562,1040,1072,1119,1388,1545,1628,1660,1401,1743,2144,1770,1357,1343,1242,1007,915,904,955,1055,1064,1675,2009,2057,2194,1995,1437,1341,1607,1406,1294,1455,1582,1763,1785,1383,1320,1243,1440,1490,1497,1403,1400,1925,2030,1731,1653,1724,1924,2291,2536,2604,2248,2030,1791,1631,1736,1836,1792,1729,1737,1646,1626,1687,1806,1937,2199,2450,2359,2216,1620,1831,2176,2357,2231,1931,1859,1600,1040,1370,1839,1981,2175,2406,2166,2188,2065,1793,1762,1999,2138,2071,2092,1927,1908,1880,2036,2009,2042,2138,2326,2518,2233,1801,1621,1068,1514,1847,1804,1653,1782,1992,1837,1764,1725,1820,1923,1842,1796,2171,2089,1568,1529,1412,1386,1461,1467,1644,1728,1471,1087,1273,1643,1328,1179,1265,1603,1610,1429,1493,1270,1525,2182,1998,1644,1592,1527,1635,1631,1614,1242,1125,1402,1581,1791,1393,1297,1578,1603,1351,1414,1596,1922,2021,1673,1515,1312,1444,1382,1084,1306,1454,1734,1744,1508,1393,1373,1648,1562,1439,1591,1496,1602,1635,1632,1596,1886,1906,1660,1655,1575,1629,1387,1586,1466,1129,1229,1368,1527,1564,1618,1720,1576,1720,1838,1438,1344,1352,1328,1401,1453,1353,1441,1418,1252,1305,1549,1445,1390,1506,1487,1700,1726,1535,1510,1447,1526,1571,1534,1525,1523,1539,1678,1803,1732,1811,2136,2071,1780,1672,1693,2127,2598,2388,2032,2067,2066,1824,1698,1477,1550,1778,1449,1413,1630,1526,1396,1151,1036,1394,1499,1755,1858,1792,1764,1630,1519,1665,1682,1375,1275,1240,1157,1378,1497,1500,1269,1298,1299,1187,1322,1384,1334,1236,1405,1809,1913,1617,1610,1781,2894,3452,3292,2921,2613,2863,2233,1809,1446,1189,1596,1878,1496,1442,1588,1784,1770,1783,2002,1572,1402,1624,1619,1395,1355,1384,1448,1388,1344,1363,1428,1384,1434,1665,1450,1205,1181,1079,1459,2039,1744,1737,1614,1508,1443,1699,1601,1299,1331,1592,1743,1443,1513,1732,1324,1353,1290,1270,1334,1517,1552,1620,1427,1579,1840,1949,1910,1533,1563,1987,1830,1972,2066,1753,1562,1769,2144,1994,1656,1651,1580,1488,1454,1417,1754,1880,2077,1947,1889,1924,2248,2647,3046,3172,2788,2142,1963,1778,1738,2076,1889,1709,1944,2222,3238,3566,3226,3573,3471,3220,2463,2220,2308,2324,1976,1619,1432,1396,1429,1543,1489,1608,1680,1652,1494,1423,1606,2114,3072,2876,2014,1620,1644,1545,1350,1632,2052,1836,1572,1444,1390,1774,1744,1305,1400,1739,1842,1952,2370,1987,1636,1718,1735,1860,1821,1960,1914,1917,1962,1784,2604,2756,2590,2780,2596,2430,2276,2328,2035,2001,2151,2248,2282,2564,2692,2213,1819,1813,1800,1499,1606,1625,1588,2002,2565,2405,2487,2541,2155,1943,1748,2151,2565,2192,1806,1450,1571,1563,2302,2841,2467,2079,1815,1611,1760,2051,2402,2185,2104,1642,1708,1498,1578,1501,1277,1640,2207,2152,1730,1393,1683,1765,1643,1317,1780,2356,2232,1718,1758,1881,1675,1830,1884,1633,1700,1964,2548,2513,2092,2267,2010,1850,1944,2064,1766,1818,2401,3558,3673,3600,3860,3872,3675,3065,2634,2244,1923,1511,1235,1367,1788,2020,2188,1887,1884,1798,2002,1979,2820,3283,2476,2110,2764,2424,1844,1874,1954,2555,2931,2811,2022,1886,1886,1869,1721,1762,1707,1807,1976,1969,2171,2084,1778,1769,1581,1908,1963,1923,1624,1985,2877,2772,2574,2287,1664,1548,1754,1954,2818,2489,2938,3342,2912,2379,2176,2305,2204,1910,1886,2197,2034,2193,2366,2353,2222,1919,1768,1656,1528,1420,1468,1825,1851,1871,1744,1587,1677,1689,1832,1691,1603,1633,1614,1591,2127,2354,1810,1951,2132,2233,2524,2425,2018,2405,2570,2176,2161,2630,2924,2909,2612,2099,2608,2534,2291,2099,2153,1929,1807,1875,1730,1635,1766,1862,2112,2758,2309,1717,1696,1646,1749,1610,1766,1830,1968,2077,1567,1703,2448,2737,2503,2552,2947,3522,3205,3254,2886,2137,1820,1771,1764,1642,1771,1770,1544,1669,1975,1955,1707,1793,1734,1749,2263,2614,2192,1853,2100,1975,1659,1666,1615,1625,1644,1685,1931,2207,2199,1889,1592,1577,1758,1845,1598,1883,2046,2198,1995,1860,1760,1842,1921,2321,2512,2003,1869,2002,2078,2144,2494,2122,1914,2088,2408,2676,2060,1604,1965,1560,1688],[1776,1795,1926,1916,1989,2150,2222,1964,1746,2024,1770,1874,2231,2222,2317,2194,1761,1908,2226,2556,2836,2873,2499,2153,1990,2142,2287,2462,1930,1798,1802,1703,1636,1856,2250,1635,1714,1913,1983,1550,1697,1653,1594,1625,1433,1659,2089,2302,2391,1843,1957,2355,1786,1614,1979,1857,1431,1295,1700,2030,1999,1835,1608,1572,1908,2223,2268,1937,1752,2262,2252,1821,1701,1719,1924,2097,1751,1491,1693,2036,2772,3300,2920,3002,3520,3645,3646,3874,3970,3706,3365,3383,3543,3711,3736,3708,3614,2464,1949,2080,2030,2276,2314,1907,2951,3335,2646,2137,1793,1824,1961,2107,2010,2445,3106,2766,2069,2082,2156,1934,1982,2432,2092,2313,2206,1986,1760,1668,1904,2367,1981,1716,2113,1941,1879,1949,1807,2548,3099,2464,1490,1357,2244,2836,2371,2057,2304,2239,2684,2984,2442,2141,1981,1736,1760,1835,1593,1613,1953,1881,1808,2023,1970,1658,1577,1720,2035,1879,1664,1782,1979,1852,1774,2314,2600,1828,1737,1973,2242,1935,2204,3060,3044,2746,2161,2426,2554,2182,2214,2397,2504,2415,2405,2553,2885,2556,2113,2144,2064,1853,1649,2098,2730,3139,3110,2578,2252,2245,2390,2291,2265,2592,2320,2267,2524,2337,2276,2589,3306,3558,3360,2654,2945,1783,1405,2270,2546,2311,2094,2549,3062,2921,2705,2551,3030,2811,2994,2989,3084,2520,1977,1968,2147,2791,3286,3437,3284,2562,1968,2132,1993,1887,1755,1934,2019,1894,1704,2143,2581,2249,2075,2473,2087,1818,2393,2590,2269,2249,2386,2364,2222,2109,1741,1833,2303,1943,1709,1730,1602,1797,2097,2622,2841,2750,2283,2562,2946,2431,2063,1823,1871,1810,2007,1860,1626,1643,1745,2104,2094,1840,1710,1636,1542,1528,1688,1696,1429,1577,1646,1748,1859,2330,2856,2113,1431,1859,2477,1726,1283,1571,1426,1564,1501,1359,1351,1426,1587,2018,2398,2460,1990,2104,2619,2178,2009,1827,1625,1693,1677,1932,2214,1717,1387,1444,2128,2968,2265,1614,2370,2634,1958,1807,2900,3585,3751,2682,1524,1328,1340,1384,1786,2480,2111,1615,1737,1682,2476,2975,3112,3363,3438,3621,3631,3616,3862,3945,4195,3797,2957,3249,3228,1947,2078,1918,1455,1400,1301,1229,1338,1341,1354,1482,1371,2350,3269,2726,2667,3466,3799,3785,3693,3571,3482,3229,2842,2663,3035,2793,2656,2054,1572,1495,1524,1558,2007,2416,2110,2732,2856,1809,1627,1523,1428,1327,1311,1353,1343,1356,1487,1355,1299,1279,1299,1210,1339,1332,1239,1355,1434,1430,1908,2301,1616,1481,2433,2110,2079,2011,1696,1452,1323,1367,1321,1305,1240,1394,1440,1247,1568,1987,1678,1350,1244,1343,1814,2090,2133,2311,2622,3068,3068,2800,2597,2323,2192,2260,2417,2544,2619,2689,2533,2290,2122,2151,2273,2600,2786,2829,2687,2515,2314,2178,2070,1985,2011,1966,1839,2040,2107,1752,1383,1439,1700,1812,1568,1688,1678,1938,1780,1378,1717,1600,1603,1794,1654,1455,1476,1643,1524,1439,1590,1502,1418,1699,2068,1982,1713,2016,2021,1434,1372,1426,1295,1352,1366,1532,1749,1561,1470,1741,1807,1824,1766,1717,1650,1687,1617,1484,1390,1300,1456,1613,1676,1896,2090,1919,1947,2180,2250,2028,1947,2074,2295,1592,1475,1517,1450,1671,1525,1408,1363,1451,1518,1529,1403,1454,1491,1591,1856,1708,1549,2199,2883,2397,1648,1529,2061,2932,3896,4069,4087,3462,2519,2832,2073,1693,1823,1833,1986,2103,1895,1747,1930,2359,1892,1583,1654,1280,1230,1611,1427,1287,1391,1507,1587,1687,1532,1415,1463,1499,1372,1283,1520,2033,1952,1935,1812,1682,1832,2428,2686,1891,1529,1548,1632,1664,1502,1611,1582,1675,2078,2308,2258,2880,3064,1935,1852,1976,2122,2001,1931,2206,2662,2334,1747,1725,2026,2081,1786,1614,1475,1376,1538,1594,1578,1594,1475,1423,1477,1519,1593,1690,1950,1879,1924,2942,2491,2275,2271,2231,2622,3873,4087,3081,2774,2506,2727,2280,1941,2510,2619,2143,1959,2017,1765,1849,2174,2144,2048,1855,1788,1676,1636,1570,1517,1407,1716,1781,1665,1711,1665,1587,1777,2228,1783,1554,1543,1649,1789,1488,1367,1374,1483,1511,1420,1524,1807,1758,1871,1976,1915,1845,1715,1841,2050,2087,2220,2226,2066,1960,1804,1727,1880,1696,1593,1682,1808,1625,1675,1791,2392,2598,2355,2308,2028,2102,2657,2063,1797,1815,2056,2112,1987,2039,1830,1731,1820,1821,1804,1700,1879,1710,1793,2265,1958,1763,2202,2618,2932,3044,2978,3068,3292,3603,3178,2351,2414,1989,1739,1596,1742,1870,1842,1632,1645,1545,1372,1238,1215,1453,1558,1744,2099,1835,1768,1626,1527,1473,1618,1758,1606,1299,1535,1909,1605,1369,1388,1433,2200,1780,1267,1039,1020,1269,1381,1420,1418,1627,1660,1593,1521,1542,1494,1494,1633,1323,1026,1111,1619,1871,1318,1449,1502,1921,2101,1956,1873,1896,1864,1786,1666,1623,1635,1687,1990,1763,1229,1353,1902,2499,2555,2407,2630,2956,2669,2763,2328,1141,1195,1382,1089,970,1302,1779,2076,1526,726,542,716,1023,1421,1652,2008,2490,2180,2058,1056,1729,2222,2867,2485,1938,1859,1807,1693,1463,1542,1760,1683,1824,1600,1566,1568,1479,1251,1028,1250,1451,1606,1832,2079,2680,3400,2666,2295,2176,2012,1905,1989,1453,1406,1606,1201,1256,1300,1466,1396,1621,1677,1788,1553,1424,1961,2120,2020,1817,1649,1391,1569,2050,2280,2051,1456,1875,1787,1567,1478,1296,1361,1697,1784,1697,1669,1605,1511,1690,2172,2387,1738,1326,1738,2087,1567,1531,1614,1437,1203,1059,1438,1465,1061,1343,1469,1375,1433,1404,1273,971,1003,1035,1210,1240,1495,1687,2044,2142,2086,1757,1364,1648,1734,1465,1499,1682,1590,1850,1831,1691,2188,1620,1443,1631,1569,1443,1460,1383,1395,1267,1457,1477,1561,1812,2223,2473,2427,2100,1737,1689,1820,1685,1715,1822,1728,1418,1940,1830,1777,1750,1841,2009,1967,1953,2018,2017,2098,2336,2386,2289,1857,1801,1121,1357,1788,1997,2280,2457,2219,2063,2062,1960,1835,2017,2293,2257,2075,1921,1871,1952,2024,2128,2181,2260,2419,2783,2610,1627,1737,1139,1496,1527,1523,1735,1860,1778,1696,2140,2300,1769,1771,1990,2081,2166,1773,1322,1357,1292,1396,1440,1481,1523,1545,1482,1406,1566,1561,1183,1501,1598,1673,1727,1710,1675,1490,1777,1922,1488,1627,1540,1453,1464,1361,1619,1398,1516,1637,1668,1514,1303,1396,1541,1447,1490,1360,1403,1672,1804,1687,1578,1241,1302,991,678,786,1093,1565,1544,1389,1249,1358,1696,1576,1626,1580,1410,1440,1561,1603,1493,1555,1615,1679,1760,1738,1489,1423,1366,1271,1257,1294,1664,1764,1556,1698,1770,1529,1392,1384,1341,1339,1315,1281,1573,1664,1401,1341,1288,1219,1384,1526,1357,1313,1269,1285,1590,1655,1388,1259,1605,1775,1576,1606,1455,1499,1382,1443,1511,1377,1515,1556,1488,1465,1505,1639,1788,1808,1710,1566,1521,1423,1344,1610,1533,1470,1420,1329,1350,1457,1426,1295,1139,1226,1521,1569,1655,1654,1691,1694,1576,1508,1543,1259,1062,1330,1320,1141,1356,1432,1540,1306,1300,1312,1289,1342,1222,1182,1334,1334,1838,2212,1822,1722,2470,3176,3007,2679,2325,2719,2618,1848,1483,1337,1380,1437,1447,1287,1526,1570,1779,1923,1860,1898,1875,1897,2126,1699,1457,1436,1431,1328,1318,1434,1381,1301,1371,1268,1271,1404,1442,1352,1707,2119,2398,2008,2303,2122,1656,1600,1639,1346,1266,1358,1697,1528,1406,2055,1970,1478,1452,1373,1399,1289,1163,1236,1367,1453,1470,1481,1504,1410,1379,1455,1667,1745,1873,1895,1671,1563,1866,2020,1824,1632,1522,1457,1426,1256,1393,1574,1837,1715,1764,1784,1737,2014,2220,2710,2635,2319,2362,1851,1749,1840,2063,1990,1885,2159,2939,3444,2933,2951,3485,3056,2497,2219,2554,2630,2169,1789,1729,1690,1500,1452,1461,1435,1533,1644,1719,1867,1936,2163,2947,3507,3212,2596,1873,1569,1649,1705,2243,2386,1721,1512,1462,1852,2448,2081,1749,1836,1730,1750,2100,2295,2041,1985,2042,1787,1595,1942,2262,2064,1834,1645,1852,2185,2431,2787,2956,2556,2308,2520,2218,1897,1822,1960,2104,2293,2820,2766,1992,1566,1854,1994,1649,2461,2345,1909,1831,1856,2222,2823,2791,2508,1954,1718,2316,2508,2222,1805,1583,1598,1860,2238,2207,2256,2334,1881,1445,2034,2355,2474,2400,2338,1795,1646,1707,1899,1800,1554,1857,2444,2260,1670,1709,1818,1688,1706,1678,1582,1830,2199,2188,1889,1619,1366,1360,1551,1614,1909,1947,2409,2281,2039,2037,2088,2286,2629,2386,1873,1676,1687,2666,3291,3551,3437,3459,3406,2698,2373,2557,2646,2218,1787,1525,1676,1739,2243,2120,1953,2183,2143,2081,2384,2526,2111,2138,2889,2386,2210,2188,2270,2548,2174,1857,1825,1746,1770,1780,1691,1652,1686,2005,2049,2065,2001,1877,1647,1736,1666,1545,1939,2416,2082,1731,2087,2908,3047,1894,1837,1782,1708,1806,2445,2258,2323,2499,2341,2412,2290,1995,1968,1884,1810,2316,2073,2183,2259,2112,2187,2044,1626,1465,1559,1502,1404,1693,1993,2298,2037,1932,1902,1704,1676,1726,1658,1577,1519,1598,2100,2026,1756,1768,1809,2045,2644,2819,2388,1992,1829,1900,2325,2701,3010,2657,3243,2317,2358,2648,2801,2754,2614,2024,2157,2422,1981,1739,1986,2111,2303,2318,2127,1852,1585,1518,1553,1521,1610,1676,1788,1686,1471,1642,2007,2272,2505,3058,3373,3250,3117,3124,2792,2208,2009,2030,2023,1858,1812,1559,1620,1838,1720,1780,1461,1732,2302,1827,2003,1958,1528,1692,2070,1930,1763,2000,2316,2276,1869,1654,2053,2504,2210,1922,1694,1711,1882,1980,1588,1520,1594,1671,1793,1856,1875,2099,2228,2270,1968,1920,1745,1949,2168,2108,2273,1913,1794,2442,2872,2647,2154,1716,2014,1699,1721],[2182,2460,2570,2029,2057,2020,2172,1604,1386,1462,1660,1809,1888,2214,2898,2511,1484,1794,2332,2499,2774,2643,2106,1948,1724,1488,1757,1948,1924,2023,2053,1968,1524,1316,1819,1601,2089,2657,2524,1694,1636,1673,1666,1682,1508,1956,2436,2473,2554,2454,2187,2369,2114,2132,2105,1864,1994,1915,1653,1961,2004,1655,1633,2016,2432,2777,2436,1856,1948,2543,2335,1455,1525,2087,2116,1891,2003,1957,2072,1919,2638,3164,2662,2795,3595,3664,3626,4012,4007,3726,3481,3383,3330,3651,3793,3695,3772,3404,3432,3225,1875,1834,1989,1911,3005,3271,2518,2023,1761,1858,2177,1973,1889,2252,2421,2170,1655,1937,2318,2271,2562,2368,1896,2055,2377,2167,1698,1561,1718,2176,2359,2202,1632,1784,1865,2207,2125,2696,3142,2413,1942,2164,2388,2250,2210,2589,2793,2830,3182,3253,2741,2541,2233,1917,2266,2315,1689,1627,1992,1888,1768,1884,1775,1578,1478,1566,2067,2391,1980,2036,2160,1844,1872,2320,2432,1635,1612,1749,1920,2174,2575,2751,2722,2370,1950,2126,2370,2391,2281,2340,2245,2205,2435,1956,2220,2085,1853,1944,2375,2360,1682,1736,2019,3220,3266,2625,2072,2559,2668,2467,2388,2461,2160,1996,2208,2679,2832,2863,3194,3004,3143,2931,3168,2565,1709,1921,2496,2496,2348,2827,3049,3063,3273,3350,3488,3187,3231,2331,2310,2375,2244,2392,2576,2854,3034,3184,2736,2001,1833,2101,1982,2146,2275,1766,1813,1803,1627,2001,2094,1885,1975,2279,1876,1971,2199,2438,1997,1824,2225,2379,2648,2793,2298,2062,2308,2271,2024,1996,1980,1835,1792,1953,2685,3480,2799,2164,2163,2077,1804,1640,1860,1877,1700,1676,1577,1584,1983,2295,2047,1869,2448,2598,2326,2055,1848,2094,1816,2028,2032,1864,2345,2670,2448,2140,1804,1981,2510,1787,1665,2118,1929,1638,1507,1381,1454,1547,1422,1500,1842,1696,1798,2182,2466,2148,2014,1874,1757,1804,1954,2032,2081,1922,1500,1374,1744,2888,2465,1729,1903,2250,2089,1785,2314,3043,3825,3259,2153,1871,1448,1399,1508,1714,1760,1572,1598,1935,2366,2190,2530,2954,2780,2585,2296,2452,2681,2543,2844,3213,2575,2424,2304,1802,1576,1564,1533,1313,1350,1230,1368,1490,1441,1307,1224,2329,3317,3365,3232,3459,3854,3912,3845,3625,3226,2628,2447,3260,2944,1871,1667,1550,1389,1284,1579,1934,2314,2435,2570,2182,1888,1546,1585,1614,1441,1345,1442,1396,1339,1290,1345,1432,1396,1292,1368,1256,1332,1305,1245,1406,1668,1902,2096,1886,1434,1676,1864,1415,1500,1541,1403,1632,1413,1342,1350,1347,1377,1443,1400,1358,1691,1850,1324,1317,1364,1416,1610,1731,1723,1649,2088,2788,3232,3583,3465,3199,2589,2194,2379,2164,2117,2314,2414,2513,2600,2709,2797,2709,2553,2231,2187,2258,2209,2289,2286,2288,2258,2056,1837,1859,2008,1927,1730,1508,1521,1548,1497,1821,1776,1905,1510,1436,2382,2458,1681,1505,1512,1437,1381,1440,1480,1520,1422,1500,1454,1488,1490,1590,1608,1681,1708,1456,1486,1521,1588,1571,1606,1691,1800,1768,1838,1822,1867,1827,1641,1553,1466,1505,1488,1517,1372,1296,1402,1506,1416,1680,1861,1697,1882,2251,2502,2245,2031,1887,2031,1661,1473,1496,1607,1590,1733,1816,1498,1568,1603,1613,1568,1459,1562,1577,1881,1744,1638,2337,2423,1753,1467,1521,1960,2542,3731,4232,4232,3365,2520,2636,2134,1660,1737,2238,2495,2182,1964,1863,1876,2634,2167,1636,1792,1377,1226,1648,1510,1248,1444,1740,1501,1581,1841,1637,1562,1687,1508,1258,1720,2235,2054,1747,1634,1624,1795,1835,1994,1750,1484,1523,1448,1400,1316,1421,1478,1611,2034,1971,2040,2807,2570,1977,1986,1898,1719,2116,2491,2249,2308,1926,1414,1559,1991,2040,1711,1596,1529,1467,1492,1410,1360,1376,1353,1530,2001,2214,1975,1580,1893,2125,2181,2460,2105,2092,2305,2600,3720,4700,4064,3120,3071,2782,3162,2494,1577,1918,2494,2633,2951,2809,2385,2102,1735,1992,1696,1268,1296,1350,1714,1854,1620,1418,1609,1582,1528,1580,1509,1365,1661,2232,1793,1424,1407,1710,1653,1498,1583,1553,1572,1541,1417,1393,1367,1453,2051,1905,1933,1978,1895,1901,1898,1976,2150,2220,2156,2094,2040,1963,1999,1833,1887,2172,2381,2182,2079,2094,2221,2198,2183,2236,2240,2132,2226,1975,1883,1682,1821,2216,2205,1976,1897,1931,1897,1708,1922,1970,1939,1737,1991,2410,2322,2169,1997,2132,2433,2729,3018,3363,3559,3098,2161,2291,2432,2012,1704,1483,1794,1987,1597,1689,1892,1515,1412,1249,1467,1517,1337,1562,1803,1578,1681,1836,1856,2197,2096,1667,1585,1481,1677,1995,1553,1507,1494,1667,1808,1387,1122,1150,1374,1458,1259,896,1093,1460,1685,1705,1744,1794,1696,1738,1732,1481,1363,1478,1948,2256,1449,1533,1488,1634,1800,1936,1876,1747,1606,1525,1668,1695,1638,1729,1892,1682,1345,1402,1914,2350,2110,1806,2049,2485,2852,3084,2000,1332,2314,2192,1616,1571,1651,1489,1538,1312,766,829,1100,1185,1744,2169,2405,2157,2239,2090,1438,1902,2248,2329,2307,2820,2648,2103,1798,1499,2008,1786,1588,1788,1610,1754,1756,1454,1372,1509,1655,1616,1764,2342,2328,2301,2976,2787,2514,2114,1737,1261,1400,1402,1521,1952,1824,1931,1664,1568,1484,1923,1971,1668,1631,1871,2100,2043,1838,1730,1616,1570,1698,1765,1857,1715,1722,1801,1792,1793,1740,1683,1679,1716,1717,1650,1690,1684,1664,1721,1808,1819,1491,1210,1692,1909,1830,1767,1639,1538,1421,1273,1509,1537,1334,1335,1347,1343,1421,1493,1213,949,1210,951,1437,1513,1755,2117,1799,1762,1437,890,1252,1730,1623,1345,1596,1736,1827,1524,1673,1986,2229,1995,1878,2358,2264,1926,1696,1515,1708,1561,1297,1215,1297,1723,1953,2009,2084,2076,2019,1980,1574,1346,1601,1763,1567,1457,2176,1726,1318,1477,1570,1616,1698,1975,2137,2061,2052,2213,2007,2203,1750,1902,1311,1231,1669,2188,2631,2520,2083,2006,2026,2060,1946,1840,2078,2198,1997,2023,2164,2313,2309,2325,2411,2391,2202,2234,2359,1758,1643,1113,1409,1325,1356,1879,2150,1936,1837,2150,1888,1622,1702,1752,1770,1597,1353,1368,1331,1303,1340,1382,1368,1339,1441,1547,1588,1542,1296,1358,1707,1803,1664,1823,1927,1769,1650,1771,1481,1342,1898,1637,1336,1222,1237,1366,1326,1497,1592,1473,1459,1640,1563,1489,1505,1522,1255,1250,1196,1459,1610,1506,1426,1234,774,656,756,911,1307,1453,1195,1166,1261,1571,1604,1593,1416,1300,1405,1615,1600,1456,1559,1643,1531,1585,1965,1656,1435,1331,1315,1258,1637,2318,2172,2170,1942,1692,1593,1405,1301,1462,1441,1544,1632,1574,1659,1439,1271,1292,1523,1580,1356,1359,1303,1231,1289,1500,1670,1415,1298,1641,1620,1466,1511,1434,1373,1346,1294,1221,1391,1523,1384,1321,1224,1217,1194,1519,1839,1252,1058,1109,1194,1697,2086,1725,1454,1506,1548,1560,1527,1315,1372,1427,1561,1772,1690,1674,1559,1459,1424,1396,1363,1415,1416,1372,1444,1460,1388,1543,1450,1358,1181,1241,1274,1299,1322,1265,1490,2144,2144,2623,2512,1771,1908,2774,3146,2819,2414,2545,2865,2359,1790,1404,1519,1455,1406,1124,1167,1387,1538,1813,1640,1399,1844,1808,1522,1791,1612,1576,1377,1254,1200,1273,1425,1464,1348,1347,1419,1439,1416,1378,1378,1895,2012,2047,2237,1945,1948,1925,1966,1695,1372,1193,1397,2092,1676,1508,1800,1582,1378,1316,1344,1425,1401,1331,1265,1362,1490,1427,1376,1529,1510,1389,1327,1426,1659,1830,1730,1578,1642,1749,1735,1657,1865,1629,1518,1446,1302,1342,1547,1778,1852,2009,1798,1747,1884,2280,2335,1995,2187,2344,1786,1757,1850,1832,1855,1958,2792,3759,3625,3004,3215,3009,2439,2160,2047,2305,2227,1742,1673,1677,1690,1647,1745,1464,1419,1419,1696,1860,1877,2097,2408,2942,3404,3012,2359,1736,1606,1453,1886,2102,1960,1858,1735,1750,2319,2388,1762,1607,1660,1742,1780,2116,1940,1884,2157,2367,1997,1808,2230,2429,2310,2159,1715,2140,2328,2709,2567,2309,2449,2538,2155,1699,1689,1704,1747,1793,2097,2587,2502,1873,1866,2080,1833,1684,1817,1889,2054,2048,2212,2535,2769,2746,2887,2523,2360,2388,2284,2087,1818,1683,1772,1870,1770,1740,1954,2177,1902,1865,2462,2364,2350,2310,1779,1582,2033,2791,2595,1930,1570,2126,2121,1763,1582,1682,1780,2042,2161,1916,1591,1508,1874,2111,1695,1605,1528,1560,1736,1742,2649,2499,2312,2356,2160,1801,1855,2507,2662,2225,2172,2234,2138,2900,2953,2966,2512,2238,2177,2197,2085,1912,2634,3086,2764,2351,2172,1898,1882,1835,1942,1854,1765,1938,2033,2432,2477,2489,2678,2039,1985,1929,1850,2154,1881,1763,1944,1714,1634,1847,1788,1854,2075,2172,2118,1790,1571,1664,1538,1526,1512,1598,2005,2198,1949,2136,2271,2948,2517,1918,2243,2172,1783,1943,2211,2088,1917,1521,1797,1937,1954,2054,2578,2374,1811,1809,1872,2303,2216,1964,2332,2164,1727,1662,1758,1703,1690,1840,2595,2491,2054,2028,1843,1605,1644,1726,1644,1438,1473,1651,1854,2092,1745,1356,1419,1576,2199,2787,2762,2419,2159,2160,2589,2775,3012,2783,3564,2740,2445,2687,2588,2790,2601,2352,2912,2624,2423,2112,1987,2279,2591,2007,1856,1974,1798,1573,1507,1535,1570,1475,1450,1554,1766,2022,2455,2687,2678,3250,3516,3265,3075,2848,2818,2436,2480,2634,2276,1984,1802,1557,1577,1684,1669,1578,1293,1395,1930,1974,1926,1823,1832,1729,1841,1916,2153,3049,3394,2692,1946,1722,2134,2686,2282,1984,1919,1651,1897,2009,1774,1743,1833,1891,2099,2298,2066,2006,1937,1830,1680,1854,1946,2140,2247,2225,1987,1670,1919,2094,2332,2392,2508,1783,1918,1948,1802],[2432,2522,2304,1835,1915,1961,1999,1640,1483,1952,2123,1752,1673,1755,2560,2287,1860,1997,2752,2303,2086,1744,1643,1917,1831,1631,1719,1729,1947,2121,1912,1933,1637,1241,1388,1624,2512,3582,2698,1416,1470,1587,1537,1456,1457,1992,2200,2307,2834,2959,1995,1921,2245,2435,2277,2105,2417,2188,1491,1607,1450,1512,1618,2535,2524,2117,2066,2138,2436,2770,2744,2310,1992,2276,2247,1801,1827,1957,2056,2058,2575,2987,2741,2677,3432,3592,3573,3971,3850,3713,3768,3632,3533,3727,3748,3563,3608,3786,3624,2832,2143,1870,1784,2138,2868,2959,2210,1771,1692,1998,2329,2167,1871,1949,2294,2578,2489,2686,2776,2362,2958,2708,1938,1947,2424,2217,1950,1872,1749,1715,2346,2673,1735,1823,2084,2434,2060,2265,2468,2328,2769,2599,2360,2033,2061,2666,2813,3024,3251,3128,2753,2522,2346,2190,2431,2322,1689,1410,1547,2042,2097,1881,1669,1580,1821,1867,2374,2413,2218,2425,2215,1873,2294,2035,2232,1876,1672,1705,2093,2692,2656,2320,2330,2335,2392,2952,3097,2707,2415,2398,2111,2373,2252,1398,1599,2285,2476,2333,2542,2589,2250,1865,2626,3828,3849,3710,3124,3124,2780,2353,2393,2104,2091,2323,2331,2785,2891,2977,2934,3049,3133,2786,2708,2608,2018,1619,2131,2543,2770,3138,3142,3211,3365,3270,3228,3342,3310,2208,1509,2116,2418,2191,2166,2471,2373,2109,1895,1855,1768,2030,2001,2004,2032,1819,1973,2004,2064,2192,1944,2081,2127,2289,2007,2030,2216,2539,2281,1967,2247,2498,2912,2797,2469,2321,2411,2325,2012,1953,2187,1918,1866,1969,2664,3392,2494,2298,2076,2002,1789,1561,1512,1588,1474,1902,1916,1595,1884,2067,1798,1937,2813,2427,2475,2217,1869,2054,2188,2197,1932,2067,2436,2284,1640,1501,1740,1752,1882,1864,1990,2257,1901,1613,1450,1336,1523,1469,1008,1277,1862,1586,2188,2614,2725,2213,1991,2204,2282,2336,2183,1923,2166,2144,1577,1319,1332,1662,1803,2398,2539,2413,2016,2118,2174,2450,3259,3420,2928,2865,1921,1493,1677,1646,1613,1897,2070,2156,2038,1937,2130,2504,2305,1734,1352,1304,1549,1604,2250,2953,2520,1922,1843,1926,1989,1980,1877,1498,1485,1282,1337,1536,1428,1335,1528,2123,3009,3603,3383,3604,3854,3813,3508,2895,2237,1783,1963,2654,1985,1289,1362,1375,1379,1459,1555,1779,2100,1955,2355,1685,1337,1333,1375,1515,1395,1354,1590,1577,2147,1807,1387,1461,1404,1166,1219,1244,1318,1332,1289,1309,1494,1675,1820,1795,1377,1360,1547,1378,1345,1329,1435,1821,1827,1639,1420,1308,1364,1386,1444,1452,1600,1917,1419,1350,1423,1468,1493,1591,1632,1476,1968,2758,3173,3609,3591,3375,2910,2543,2439,2420,2678,2901,2938,2835,2713,2654,2508,2169,1980,1893,2296,2227,2232,2426,2553,2536,2315,2055,1837,1721,1820,1938,1807,1448,1469,1574,1502,1669,1665,1482,1572,2085,2831,2721,1829,1453,1365,1377,1333,1434,1523,1465,1499,1578,1536,1468,1434,1500,1668,1969,1889,1726,1788,1798,1836,1865,1842,1758,1349,1425,1803,1733,2197,1856,1506,1383,1418,1365,1328,1296,1264,1231,1350,1470,1525,1647,1390,1492,2304,2260,2422,2408,2058,1797,1747,1916,1927,1537,1421,1461,1695,1855,1795,1655,1617,1618,1554,1648,1572,1559,1736,1551,1977,2748,2497,1902,1529,1852,2379,2575,3128,3963,4024,3090,2842,2775,2065,1533,1730,2393,2410,1951,1870,2120,2496,2869,2449,1779,1885,1614,1219,1670,1584,1452,1588,1651,1353,1345,1936,1725,1633,1729,1593,1743,2356,2337,2339,2231,2241,2120,1688,1906,1831,1644,1690,1597,1635,1566,1469,1327,1361,1394,1618,2047,1954,2263,2120,1831,1975,2107,1859,2097,2251,1860,1758,1527,1333,1421,1335,1741,1645,1621,1503,1409,1466,1475,1579,1770,1934,2049,2382,2613,2401,1690,1698,2050,2157,2178,2052,2022,2214,2422,2974,3240,2652,2719,2813,2357,2187,1842,1320,2004,2592,2711,3321,3258,2855,2292,1533,1689,1439,1277,1358,1357,1658,1918,1632,1447,1798,1719,1550,1449,1469,1362,1402,1748,1773,1512,1414,1640,1548,1516,1566,1546,1623,1479,1295,1542,1375,1368,1592,1796,1982,2269,2438,2152,1863,1902,1901,1937,2058,2331,2586,2406,2266,2070,1932,2088,2242,2392,2546,2336,2053,1857,2159,2047,1890,1788,1853,2002,1949,1873,2121,2443,2358,2269,2272,2003,2009,2248,2157,2128,1770,1883,2140,2111,1974,1926,1955,1918,1940,2074,2864,3753,3786,2719,2327,2174,2173,1965,1816,1696,1893,2058,1389,1389,1467,931,1376,1482,1814,1758,1380,1578,1236,866,1404,1602,1723,1779,1619,1585,1332,1244,1588,1591,1455,1442,1405,1271,1256,1266,1150,1175,1317,1165,849,1135,1478,1589,1751,1789,1754,1772,1665,1356,1361,1366,1316,1466,1668,1858,1616,1720,1749,1715,1617,1719,1763,1676,1594,1659,1887,1800,1640,1635,1766,1639,1446,1419,1627,1729,1650,1782,2083,2106,2069,2591,2023,1908,2276,1945,1799,1896,1693,1332,1302,1294,1252,1397,1616,1648,1795,2225,2336,2016,2065,1855,1914,2290,2298,1894,2447,3497,3089,1912,1788,1766,2084,1781,1505,1835,1780,1741,1827,1613,1750,1866,2081,2082,1857,2584,2558,1950,2209,2511,2166,1803,1752,1519,1682,1700,1845,2167,2009,1852,1621,1481,1662,1747,1676,1644,1785,1950,1887,1782,1738,1649,1570,1655,1732,1777,1826,1696,1691,1696,1643,1602,1572,1538,1488,1447,1425,1518,1446,1369,1207,1092,1214,1476,1264,1372,1908,1777,1598,1660,1640,1626,1544,1510,1609,1605,1499,1494,1446,1374,1438,1406,1154,936,1156,1216,1609,1301,1441,1946,1434,1162,758,1147,2324,1725,1471,1314,1720,1682,1538,1313,1340,1620,1973,1975,2030,2344,2357,2130,1676,1747,1926,1727,1088,840,1223,1626,1746,1586,1575,1809,1936,2169,1649,1705,1677,1736,1221,1366,1807,1431,1216,1287,1506,1654,1903,1857,1902,1944,2101,2065,1998,2007,1885,2200,1680,1431,2164,2503,2684,2511,2166,1988,2033,2094,2147,1970,1883,2090,2230,2199,2327,2436,2288,2222,2176,2037,2112,2327,2422,2232,1679,1123,1293,1435,1488,1763,1770,2015,2283,2008,1788,1701,1702,1766,1617,1427,1566,1654,1560,1416,1356,1327,1332,1352,1285,1369,1457,1508,1467,1641,1765,1804,1739,1685,1753,1914,1842,1644,1290,1711,2126,1776,1320,1195,1291,1302,1268,1426,1474,1415,1473,1546,1436,1431,1642,1724,1600,1260,1192,1364,1510,1858,1763,1544,950,740,799,978,1237,1114,1088,1141,1273,1583,1578,1416,1356,1314,1404,1572,1699,1555,1640,1617,1539,1547,1542,1532,1501,1405,1510,1507,1951,2313,2375,2210,1824,1657,1632,1480,1384,1828,1851,1703,1732,1459,1477,1547,1588,1512,1739,1660,1579,1566,1334,1281,1323,1377,1589,1650,1408,1410,1282,1223,1263,1222,1182,1251,1208,1121,1311,1385,1390,1400,1216,1102,1007,2090,2084,1344,1174,1235,1181,1917,2185,1528,1368,1446,1477,1684,1666,1640,1799,1805,1824,1827,1660,1371,1413,1420,1295,1430,1876,2262,2222,1538,1315,1349,1655,1892,1699,1486,1654,1741,1393,1346,1310,1412,1731,2194,1850,2366,2127,1736,2590,3253,3094,2829,2599,2733,2735,2065,1616,1499,1478,1598,1574,1386,1571,1735,1760,1638,963,843,1606,1882,1658,1692,1624,1575,1329,1289,1444,1464,1583,1554,1277,1404,1521,1613,1559,1295,1429,1295,1519,1932,2245,2325,2075,1766,1713,1426,1406,1227,1768,1890,1566,1422,1267,1427,1440,1245,1291,1374,1380,1385,1228,1341,1397,1339,1506,1496,1468,1443,1349,1353,1615,1730,1497,1741,1881,1831,1733,1618,1759,1584,1463,1422,1262,1384,1769,1974,1943,2241,2065,1900,1955,2270,2115,2113,2204,2207,2055,1993,1698,1637,1569,2054,3132,3549,3632,3632,3062,2248,2037,2092,2027,2138,2116,1864,1772,1538,1414,1588,1721,1713,1523,1234,1571,1932,1944,2117,2059,2331,2952,2543,2026,1935,1933,1865,2231,1897,1771,2049,1853,1811,2126,1822,1691,1503,1608,1806,1865,2009,2033,2216,2423,2244,1931,1942,1840,1927,2009,2413,2156,2110,1950,2316,1980,2119,2381,1985,1658,1543,1521,1615,1676,1757,1751,1980,2073,1853,2410,2421,2032,2205,1912,1716,1985,2000,2125,2625,3007,2886,2886,2898,2625,2449,2257,1973,1854,1683,1664,1632,1830,1802,1826,2208,1897,2117,2266,1931,1842,1904,1782,1844,2023,2533,2267,1766,1663,1958,1717,1513,1482,1392,1524,1812,2020,2177,1857,1503,1481,1435,1388,1511,1598,1752,1766,1643,1787,1904,2001,2186,2236,1577,1750,2520,2164,1916,2449,2832,2977,3043,2758,2403,2281,2149,1739,1808,2127,1903,2749,3076,3330,3003,2314,2179,2079,1996,2149,1758,1875,2287,2675,3029,2991,2873,2519,2169,1963,1660,1791,2034,1838,1679,1740,1721,1505,1601,2015,2509,2377,2079,1865,1655,1760,1794,1679,1631,1644,1810,1803,1726,2238,2668,2841,3342,2743,2180,2530,2215,1793,2413,2803,2353,2477,2126,2626,2030,1711,2186,3019,2766,2220,1884,1882,2304,2392,2136,2299,2162,1928,1685,1732,1727,1628,1735,2004,2076,2111,1890,1975,1908,1732,1671,1706,1511,1476,1749,2298,2523,1746,1408,1547,1620,1910,2554,2856,2757,2841,2763,2517,2710,2951,2795,2944,2501,2299,2601,2458,2391,2389,2272,2762,2828,2996,2809,2055,2209,2799,2181,1674,1836,1839,1537,1490,1560,1616,1761,1946,1944,2394,2927,3144,3118,2877,3118,3774,3892,3349,2832,3144,2941,2669,2653,2566,2474,1878,1533,1560,1497,1538,1561,1613,1662,1584,1808,2114,2207,1860,1823,2023,2013,2068,2065,1837,1685,1660,1703,1889,2443,2216,2070,2195,2297,2301,1938,1802,1792,1943,2169,2190,2152,1962,2006,1938,1914,2218,2697,2813,2448,2114,2310,2047,1718,2208,1949,2004,2166,2708,2802,2602,2172,2006],[2143,1843,1804,2082,1789,1767,1858,1947,2079,2588,2454,1627,1849,1962,2171,1808,2403,2750,2854,2243,1888,1907,2016,2326,2122,1786,2095,2048,2084,2253,2175,1939,1661,1559,1594,1559,2702,4164,3120,1566,1444,1712,1562,1209,1198,1726,2000,2293,2539,1908,1214,1811,2711,2846,2312,2093,2379,1941,1490,1738,1653,1693,1626,1791,1752,1788,2186,2080,2181,2414,2295,2118,2284,1854,1821,1834,1810,1780,2056,2685,3137,3383,3032,2842,3370,3641,3905,3889,3836,3882,3840,3573,3554,3782,3597,3067,2811,2997,2696,2148,2334,1923,1837,2322,2712,2388,2222,2447,2676,2675,2366,2029,1779,1904,1855,2561,3082,2878,2451,1823,2562,2924,2409,2937,2844,2510,2552,2555,1902,1688,2096,1813,1647,1819,2171,2547,2080,2005,2249,2217,2769,2941,2288,1903,1954,2674,2890,2933,2546,2569,2876,2567,2204,1925,1971,1816,1644,1651,1578,1649,1716,1758,1582,1910,2135,2247,2558,2604,2482,2222,1645,1504,1908,2030,2186,1927,1771,1727,1792,1816,1856,2126,2698,2647,2619,2547,2514,2229,2003,2082,1970,2256,2284,1908,1964,2473,2765,2938,2958,3049,3452,3094,3386,3837,3996,4061,3802,3187,2585,2371,2412,2115,2275,2440,2401,2319,2840,3152,2819,2697,3187,3002,2062,1489,1281,1566,2280,2355,2867,3092,3338,3090,3008,3012,2647,2375,2584,2137,1877,2384,2104,1954,2048,2008,2196,1908,2168,2223,1885,2131,2007,1653,1722,1808,1723,1859,2358,2489,2026,2243,2036,1773,1678,1759,1986,2532,2685,2297,2302,1997,2329,2419,1998,2132,2183,2317,2170,1703,1594,1509,1791,1981,2363,2696,2423,2483,1892,1526,1873,1898,1620,1525,1752,1964,1722,1676,1932,1842,1692,1471,1787,1738,1863,1736,1536,1637,2050,2183,2330,2453,2294,2061,1636,1497,1497,1439,1396,1705,2048,2082,2040,1977,1494,1489,1777,1600,1204,1374,1842,2207,2339,2445,2720,2384,2144,2139,2435,2554,2480,2325,2294,2079,1654,1427,1489,1895,2566,2689,2822,3012,2618,2602,2568,3096,3544,3593,3140,2815,1830,1616,1574,1394,1861,2127,1726,1652,1736,1716,1588,1776,2130,1871,1476,1425,1643,1656,2295,3040,2446,2110,2240,2321,2626,1946,1887,1599,1352,1269,1445,1452,1372,1301,1284,1884,2200,1768,2540,3498,3651,3675,3109,1989,1578,1526,1512,1453,1334,1358,1302,1366,1498,1686,1519,1738,1897,1504,1429,1509,1478,1286,1264,1412,1516,1544,1751,1693,2405,1737,1314,1508,1332,1260,1183,1381,1466,1331,1326,1367,1359,1326,1650,1714,1282,1332,1488,1640,1550,1375,1517,1714,1714,1693,1460,1261,1435,1175,1190,1293,1202,1305,1248,1294,1294,1412,1575,1515,1538,1995,2495,3034,3282,3607,3594,3530,3008,2587,2425,2614,2864,2896,2762,2439,2186,2337,2496,2296,2002,1887,2012,2248,2370,2381,2454,2445,2272,2031,1798,1701,1694,1842,1747,1540,1527,1591,1518,1681,1672,1583,2108,2508,2290,1655,1328,1354,1338,1370,1340,1316,1186,1393,1654,1636,1606,1597,1626,1774,1860,1983,1935,1803,1666,1678,1740,1736,1731,1638,1703,2059,1936,1634,2142,1671,1426,1412,1614,1578,1464,1427,1329,1212,1404,1637,1688,1665,1400,1675,2544,2458,2338,2299,1966,1922,1958,1968,1820,1493,1439,1626,2205,2200,1785,1635,1642,1613,1537,1484,1418,1695,1786,1501,1761,2140,2326,2507,2487,2521,2814,2775,2493,3096,3826,3541,2728,2651,2604,1929,1636,2160,2246,2257,1886,2352,3073,3167,2736,2188,2188,1737,1336,1729,1859,1791,1990,1996,1592,1210,1295,1355,1440,1657,1652,1867,2744,2980,2578,2256,2187,2118,1976,2058,1758,1846,1744,1665,1850,1870,1738,1650,1790,1529,1785,2309,2216,2264,1984,1914,2206,2099,1824,1681,1643,1707,1859,1656,1521,1554,1412,1637,1654,1611,1542,1345,1548,1987,2296,2770,3022,2775,2144,2084,1911,1630,1512,1583,1839,2066,2388,2294,2622,2685,2321,2048,1959,2014,2126,1994,1832,1610,1644,2061,2160,1811,1868,2078,2094,1861,1522,1990,1756,1566,1776,1764,1786,1688,1459,1443,1526,1515,1469,1526,1470,1305,1362,1546,1474,1397,1641,1657,1376,1441,1428,1394,1483,1366,1668,1668,1404,1446,1535,1534,1877,2570,3174,3166,2139,1939,2261,2833,3344,3785,3858,3781,3261,2303,2021,2160,2150,2160,2182,2210,2029,1907,2026,1958,1882,1707,1660,1832,1958,2054,2270,2175,1899,2145,2363,2159,2334,2833,2392,1971,1910,1998,1930,2046,2176,2084,1856,1775,1808,1669,1837,2776,3052,2203,1700,1869,2055,1961,2105,1997,1722,1949,1158,1376,1138,1154,1474,1498,1702,1663,1607,1379,858,1037,1322,1309,1510,1760,1759,1675,1394,1631,1642,1530,1502,1314,1354,1244,1316,1306,1285,1296,1219,1135,1130,1412,1571,1750,1670,1627,1759,1855,1460,946,1106,886,792,999,1246,1307,1192,1332,1414,1299,1398,1572,1639,1687,1638,1718,1911,1732,1668,1648,1694,1687,1720,1755,1646,1446,1585,1709,1666,1492,1534,2062,1849,1804,1980,1758,1680,1741,1682,1502,1527,1468,1607,1653,1940,1749,2082,2623,2349,2126,2256,2086,2134,2632,2453,2131,3261,3720,2799,2080,1854,1862,2098,1860,1582,1938,2008,1692,1841,1778,2056,2178,2164,2076,1832,1967,1884,1703,1804,2054,2031,1903,1822,1776,1894,1748,1782,2003,1844,1720,1736,1798,1716,1566,1515,1465,1538,1662,1656,1606,1506,1428,1516,1614,1559,1444,1388,1259,1216,1239,1164,998,847,795,904,1120,1234,1177,1053,1114,1286,1544,1616,1410,1262,1447,1272,1041,1150,1367,1393,1584,1500,1626,1867,1806,1729,1603,1608,1682,1661,1514,1340,1317,1315,1616,1775,1652,1989,1828,1380,1058,597,1570,3181,2843,1880,1839,1910,1723,1346,1187,1229,1504,1902,2009,2018,2045,2180,1706,1208,1179,1459,1543,979,973,1361,1472,1630,1703,1795,1993,1926,1761,1628,1619,1650,1680,1116,1234,1158,870,1184,1583,1981,1780,1700,1976,2007,1819,1915,2020,2071,2052,1902,2077,1838,1407,2080,2302,2497,2431,2336,2002,1876,1952,2161,2125,1848,1792,1831,1884,1983,1965,1843,1992,2123,2279,2468,2360,2197,2133,1714,1224,1213,1443,1440,1730,1677,1912,2232,2109,1880,1775,1726,1761,1530,1561,1867,1948,1833,1628,1527,1354,1437,1599,1401,1332,1429,1552,1767,1633,1371,1473,1487,1435,1469,1610,1736,1804,1704,1806,1918,1556,1273,1555,1914,1315,1412,1554,1405,1284,1493,1476,1424,1522,1638,1748,1612,1320,1458,1844,1972,1905,1627,1716,1494,1162,1016,1085,1196,1162,1216,1201,1412,1597,1529,1504,1478,1501,1459,1405,1682,1792,1781,1529,1707,1715,1390,1386,1382,1367,1539,1388,1538,1756,1902,1618,1438,1462,1632,1674,1986,2744,2635,1851,1726,1533,1511,1503,1652,1689,1626,1741,1603,1304,1309,1374,1395,1422,1361,1490,1476,1466,1221,1170,1167,1081,1093,1132,1168,1175,1159,1208,1362,1367,1366,1158,1001,1188,1205,1256,1275,1216,1222,1641,1699,1331,1243,1336,1442,1694,1729,1938,1908,1780,1738,1737,1454,1185,1416,1473,1332,1409,2100,2272,1936,1559,1382,1328,1654,1800,1634,1529,1745,1566,1218,1295,1364,1398,1378,1389,1739,2198,1716,2084,3216,3388,3277,3165,2746,2910,2434,1532,1481,1471,1486,1521,1520,1625,1657,1502,1438,1386,732,610,835,1563,1930,1895,1922,1664,1515,1975,1896,1520,1610,1472,1244,1326,1455,1620,1629,1547,1484,1240,1730,2307,2284,2150,2042,1974,1260,1289,1400,1302,1624,1548,1390,1335,1327,1431,1366,1334,1520,1475,1379,1287,1264,1578,1532,1436,1426,1401,1413,1385,1484,1422,1626,1768,1802,1941,1874,1775,1888,1851,1844,1636,1552,1584,1484,1595,1748,2040,1942,2193,2149,1765,1716,1770,2260,2445,2614,2898,2446,2220,2094,1709,2129,3282,3958,3605,3531,3436,2141,1413,1559,1736,2078,2155,1769,1736,1828,1575,1408,1622,1665,1754,1622,1299,1571,2086,2412,2300,1924,1837,2344,2382,2140,2122,2079,1933,1847,1736,1697,1816,1694,1609,1549,1751,1861,1639,1667,1781,1885,1930,2246,2215,2013,2121,2418,2361,1478,1400,1793,2775,2641,2066,1824,1890,1950,2331,2122,1583,1599,1467,1500,1661,1496,1687,1743,1757,1912,2171,2731,2497,1898,1905,1732,1769,2302,2138,2292,2543,2700,2630,2808,3098,3050,2840,2436,1949,1794,1538,1694,1750,2012,2081,2268,2058,1696,1780,1857,1921,2300,2913,2148,2156,1881,2094,1930,1669,1654,1618,1611,1670,1572,1615,1908,1686,1844,1997,1788,1924,1758,1500,1449,1364,1518,1531,1475,1498,1460,1559,1517,1909,2128,1781,1986,2323,2076,1591,1910,2584,2758,2652,2093,1614,1944,2156,1843,1478,1581,1984,2597,2883,3078,2413,1595,1735,2169,2381,2491,2231,1807,2229,3028,3152,3057,2833,2548,2505,2360,1924,1808,1894,1784,1826,1860,1808,1636,1587,1706,2295,2386,2091,1982,1966,1817,1784,1844,1814,1598,1525,1482,1690,2200,2727,3128,3362,3052,2449,1932,2073,2774,2298,1994,2039,2546,3072,3271,2491,1903,2040,2727,3217,2996,2195,2169,2302,2202,2120,2264,2085,1832,1637,1723,1783,1839,2114,2119,1889,1832,1551,1692,1925,1898,1753,1622,1402,1544,1963,2218,1830,1396,1652,2077,1769,1710,2289,2730,2225,2255,2475,2551,2768,2410,2177,2755,2503,2183,2175,1917,1690,1762,1737,1982,2023,2523,2770,2380,2544,2501,1867,1600,1731,1759,1558,1405,1477,1447,1558,2186,2040,2222,3031,3259,3154,3167,3175,3759,4151,3660,2961,3212,2745,1901,1943,2236,2192,1897,1698,1549,1601,1570,1664,1626,1748,1538,1996,2360,1804,1449,1674,1914,2222,1885,1718,1720,1721,1772,2074,2610,2364,1746,1877,2201,2432,2413,2290,2361,1976,2179,2190,1858,1744,1784,1795,1852,2081,2749,3146,2830,2309,1860,2023,2103,2164,2434,1793,1802,2771,3400,3708,3179,2243,2248],[2015,1714,1749,2148,2030,1856,1992,2036,2344,2729,2176,1649,2032,2420,2379,2056,2677,2952,2901,2510,2205,2468,2491,2257,1764,1537,1888,1982,1908,1907,1995,2166,2072,1925,1858,1775,2360,3541,2707,1566,1631,1804,1589,1345,1383,1850,2519,2602,2316,1931,1551,1905,2303,1989,1774,1925,2453,1973,1622,1983,1960,1873,1850,1627,1687,2215,2898,2730,2503,2536,2135,1943,1977,2012,2020,1766,1508,1449,2226,3104,3464,3585,3186,3127,3483,3631,3804,3915,3941,3960,3642,3381,3351,3312,2955,2424,2258,2451,1968,1971,2190,2073,2032,2487,2616,2088,2298,2610,2708,2400,1801,1521,2048,2316,2278,2938,3288,2727,2259,2380,2556,2459,2406,2922,2136,2186,2449,2523,2190,1880,2052,1986,2020,2129,2313,2408,1992,1886,2100,2065,2058,2093,1614,1657,1807,2221,2752,2896,2681,2909,3219,2621,2132,2205,1987,1873,2075,1918,1817,1794,1866,1680,1475,1664,1868,2155,2556,2598,2442,2255,1764,1619,1966,2330,2051,1875,1864,1781,1670,1409,1588,2050,2786,2635,2636,2008,1784,2059,2239,2044,1782,2204,2443,2251,2154,2288,2364,2762,2822,3222,3827,3648,3225,3011,2699,3123,3437,2851,2592,2768,2149,1799,1926,2279,2840,2343,2519,2790,2335,2333,2937,2287,1438,1478,1976,2307,2294,2320,3074,3183,2776,2150,1968,2127,2036,1842,2023,2134,2531,2807,1983,1775,2266,2302,2377,2287,2077,1907,1920,1729,1695,1720,1639,1829,1560,1533,2098,2297,2411,2618,2294,1849,1846,1782,1879,2823,3073,2678,2699,2424,2645,2132,1702,2244,2321,2202,2049,1371,1311,1536,1933,2240,2337,2168,2517,2407,2255,2176,2319,2268,2002,1778,1925,1507,1475,1896,1956,1606,1394,1442,1498,1581,1793,1675,1393,1753,2040,1960,2216,2248,2056,1952,1500,1439,1447,1326,1594,1822,1872,2273,2624,2282,1643,1469,1688,2075,2136,1909,2073,2309,2189,2665,2833,2606,2696,3196,2270,2454,2225,1819,1526,1557,1644,1819,2091,2608,2919,2624,3132,3593,3201,3096,2742,2779,2871,2546,2552,2251,1615,1610,1382,1339,1890,2133,1844,1779,1742,1595,1506,1707,1939,1874,2127,2148,1853,1852,2459,2711,2281,2238,2229,2327,2105,1688,1545,1595,1426,1249,1383,1328,1335,1300,1368,1973,1713,1129,2468,3097,3061,3363,2962,2282,1953,1613,1617,1421,1377,1327,1288,1521,1780,1828,1718,2020,1937,1525,1416,1444,1490,1448,1307,1355,1460,1386,1492,1606,1881,1395,1236,1453,1429,1325,1375,1570,1587,1381,1327,1300,1397,1347,1773,1577,1353,1479,1516,1535,1398,1428,1585,1781,1844,1808,1375,1244,1348,1261,1268,1300,1213,1157,1303,1531,1506,1499,1619,1618,1708,2275,3124,3388,3497,3747,3782,3648,3241,2575,2403,2670,2837,2779,2373,2027,1942,2198,2494,2586,2358,2219,2480,2626,2429,2278,2207,2246,2119,1973,1757,1716,1691,1758,1979,1867,1691,1693,1470,1518,1732,1872,2062,1637,1107,706,828,1218,1333,1353,1328,1299,1528,1900,1925,1965,1921,1937,1901,1961,1858,1860,1913,1753,1696,1817,1738,1673,1584,1509,1964,2187,1904,1556,1442,1383,1456,1449,1509,1422,1254,1363,1456,1235,1322,1750,1666,1580,1462,1683,2490,2283,1882,1852,1809,1781,1689,1462,1427,1640,1622,1440,2502,2417,1703,1619,1638,1541,1600,1614,1778,1804,1841,1696,1747,1652,1751,2410,2979,3355,3506,2797,2161,2410,3172,3575,3083,2908,3289,2766,1838,2013,2651,2874,2309,2379,2947,3056,2555,2057,2109,1699,1472,2437,2979,2629,2414,2177,1860,1394,1183,1432,1631,1788,1675,1792,2358,2844,2229,2045,2525,2216,1913,1870,1649,1731,1609,1803,1676,1954,1851,1943,2050,1819,2133,2088,2078,2188,1958,2232,2811,2055,1958,1642,1456,1583,1663,1344,1510,1665,1402,1523,1764,1732,1710,1672,2106,2053,1935,2209,2679,2763,2265,1933,1664,1452,1401,1457,1743,2238,2370,2382,2464,2521,2419,2101,1912,1844,2048,2523,2034,1536,1796,1803,1724,1479,1540,1626,1562,1582,1510,2053,2027,1489,1505,1586,1774,1725,1475,1543,1410,1441,1515,1553,1448,1350,1383,1405,1393,1505,1794,1560,1243,1372,1262,1285,1461,1383,1477,1503,1365,1374,1401,1519,1785,2149,2768,3309,2344,2057,3093,3738,3837,3813,3655,3620,3040,2035,2210,2525,2553,2596,2387,2391,2308,2188,2142,2206,2146,2009,1766,1852,2026,2288,2323,1909,1754,1963,2042,1989,2350,2685,2237,1781,1857,1937,2022,2481,2342,2176,1928,1709,1700,1719,1619,1644,1776,1768,1690,1847,2076,1814,1814,1782,1671,2122,1594,1582,1435,1480,1477,1359,1294,1498,1601,1235,976,1300,1258,1421,1611,2061,1846,1607,1645,1816,1804,1755,1637,1584,1324,1224,1292,1119,1277,1710,1588,1569,1714,1659,1866,1787,1424,1360,1441,1550,1522,1182,1352,1296,1270,1355,1397,1360,1461,1355,1216,1246,1449,1487,1688,1745,1796,1713,1707,1611,1627,1517,1488,1690,1786,1716,1649,1647,1606,1615,1737,1948,2128,2160,1850,1836,1682,1513,1699,1648,1708,1780,1635,1606,1881,1892,2012,1784,1889,2066,1914,1791,1998,2030,1905,1895,1875,1903,2361,2065,1678,1846,1798,1865,1937,1851,1654,1687,1832,1874,1729,1341,1615,1807,1754,1709,1674,1573,1533,1653,1830,1685,1518,1684,1737,1621,1381,1389,1520,1753,1858,1550,1432,1603,1486,1207,1076,1053,1462,2065,2116,1486,1306,1444,1494,1336,1109,1169,1197,1160,1257,1283,1224,1202,1388,1516,1528,1588,1552,1349,1485,1715,1712,1800,1742,1758,1744,1598,1273,1218,1088,1070,1082,1036,1187,1558,1733,1827,1900,1721,1845,1811,1684,1728,1898,1780,1906,2138,2249,2603,2883,2714,2077,1126,1281,2680,3487,2979,2501,2239,2010,1573,1225,1075,1352,1798,2259,2126,1874,1842,1781,1505,1008,964,1364,1463,1302,1356,1492,1555,1472,1582,1688,1854,1663,1332,1153,1275,1905,1546,1078,1322,843,832,1440,2007,2325,2232,1801,1862,1938,1874,1766,1674,1735,1859,1797,1996,1792,1033,1396,1797,2120,2281,2169,2024,1917,1881,2018,2168,1982,1757,1681,1758,2136,2178,2148,2252,2139,1992,1811,1616,1702,1881,1717,1207,1217,1479,1630,1942,1738,1891,1797,1926,1964,1816,1781,1632,1333,1324,1593,1759,1884,2371,1993,1531,1414,1514,1557,1507,1449,1651,1764,1582,1414,1295,1258,1268,1382,1493,1493,1656,1802,1836,1565,1213,1137,1664,2281,1701,1521,1531,1531,1410,1443,1476,1666,1515,1587,1741,1464,1324,1202,1457,1827,1605,1588,1566,1282,1356,1140,968,1182,1333,1361,1363,1504,1737,1718,1726,1592,1383,1304,1361,1415,1646,1681,1548,1518,1353,1272,1368,1466,1387,1351,1315,1400,1345,1238,1216,1271,1384,1647,1807,2003,2756,2711,1901,1607,1398,1369,1526,1656,1759,1803,1712,1594,1550,1590,1553,1467,1320,1311,1288,1316,1377,1426,1433,1269,1149,1091,1144,1239,1204,1136,1188,1346,1282,1314,1259,1149,1105,1199,1197,1127,1118,1252,1508,1681,1642,1711,1689,1707,1816,1876,1825,1692,1644,1548,1450,1412,1481,1728,1615,1503,1292,1525,1496,1442,1560,1483,1459,1492,1356,1351,1336,1345,1253,1197,1420,1409,1388,1459,1588,2079,1975,1739,2647,3388,3209,3385,3073,2595,2586,1908,1549,1489,1498,1767,1913,1817,1692,1645,1382,1249,1584,1213,696,1042,1906,2061,1873,2122,2066,1784,1999,1713,1564,1580,1428,1378,1252,1404,1599,1404,1542,1400,1361,1827,2237,2156,2088,1907,2239,1493,1508,1474,1324,1327,1338,1406,1451,1540,1439,1389,1250,1478,1372,1376,1444,1488,1701,1787,1584,1323,1388,1423,1584,1701,1545,1720,1814,1976,1927,1857,1637,1826,1800,1716,1810,1686,1666,1780,2007,2460,2431,2252,2351,2018,1669,1662,1832,2166,2343,2517,2816,2331,2020,2051,1925,3139,3976,3715,2904,2899,2775,1728,1312,1164,1229,1527,1641,1705,1678,1825,1421,1300,1577,1654,1628,1783,2256,2401,2171,2431,2346,2075,1749,1763,1816,2093,2304,2141,1831,1682,1764,1609,1460,1375,1534,1643,1943,1784,1908,1924,2030,1856,1594,1839,1800,1629,1862,2010,1871,1449,1526,1691,1963,2089,1927,1882,1906,1947,1944,1673,1529,1588,1541,1599,1583,1546,1607,1590,1520,1598,1904,2071,2017,1754,1807,1611,1761,2237,2372,2299,2335,2410,2591,2972,2976,3174,2934,2106,1982,1676,1412,1574,1874,2357,2491,2253,1671,1592,1591,1619,1957,2313,2684,2354,2049,1773,1817,2027,1843,1528,1717,1722,1663,1627,1776,1922,1742,1956,1663,1660,2202,1935,1594,1548,1482,1478,1463,1463,1532,1576,1555,1537,1869,1999,2016,2084,2308,2292,1635,1594,2087,2175,1792,1547,1615,1678,1903,1679,1577,1504,1627,1714,2083,2193,1687,1410,1777,2498,2060,2110,2239,1814,2078,2499,2447,2519,3072,3104,2783,2377,1969,2111,2674,2117,1641,1708,1699,1641,1498,1383,1825,2263,2069,2237,2420,1851,1702,1801,1777,1575,1514,1721,1832,1934,2651,3189,2937,2563,2754,2142,2159,2742,2197,1898,2104,2251,3038,3418,2954,2579,2480,2909,3288,3019,2201,2312,2126,2328,2150,2255,1996,1606,1575,1615,1769,2271,2815,2799,2322,1681,1559,1606,1741,1894,1841,1705,1592,1736,1772,1572,1487,1659,1732,1915,1531,1620,1972,2479,2490,2486,2597,2702,2622,2273,2389,2445,2008,1654,1556,1708,1797,1598,1580,1643,1679,2078,2146,2308,2604,2250,1752,1825,1644,1580,1577,1502,1743,1724,1571,1815,1792,2005,3017,3511,3304,3405,3103,3661,3618,2689,2720,3160,2570,2104,2263,2339,2138,1891,2062,1964,1669,1726,1656,1664,2022,1688,1662,1791,1216,1072,1475,1751,1905,1879,2018,1805,1649,1680,2126,2468,2071,1714,2045,2720,2500,2176,2266,2264,1969,2226,2367,2040,1716,1569,1599,1951,2409,2621,3305,3100,2562,1980,1923,2258,2600,2530,1959,1948,2567,3273,3682,3266,2302,2570],[2563,2120,1782,2045,1902,2039,2342,2503,2522,2547,1857,1753,2359,2537,2724,2391,2617,3251,2919,2643,2430,2354,1990,1572,1510,1420,1534,1713,1606,1518,2112,2511,2406,2393,2176,2083,2433,2779,2427,2072,1860,1563,1575,1729,1798,2230,2692,2728,2380,1842,1588,1953,2002,1715,1954,2210,2501,2420,2116,1720,1581,1499,1752,1738,1751,2307,3396,3097,2490,2357,2343,2232,2154,2460,2404,2339,2364,2115,2595,2983,3349,3572,3150,3308,3787,3714,3651,3746,3992,3909,3074,3002,2715,2544,2554,2318,2387,2392,1912,2186,2546,2486,2474,2894,2898,2535,2375,2740,2814,2012,1562,1631,1853,1734,2331,2901,2865,2978,2840,2698,2574,2418,2481,2059,1748,1844,2217,2353,2284,2175,2162,1886,2032,2176,2082,2069,2054,2167,2302,2251,2219,2142,1907,1997,1889,1937,2462,2807,2810,2938,3206,2741,2332,2186,1870,1721,1712,1707,1776,1904,1916,1523,1473,1702,1946,2192,2575,2175,2150,2132,1682,1594,2022,2211,2064,1951,2186,2814,2352,1835,2130,2282,2340,2308,2154,1817,2229,2728,2381,2035,1757,2463,2880,2805,2696,2330,2468,3091,2908,2887,3710,4000,3827,3172,1999,1778,1848,2543,2387,2601,2732,2200,1742,1835,2063,2589,2844,2830,2855,3016,2718,1688,1448,1895,2291,2441,2222,2472,2577,2073,1855,1897,2113,2492,2953,2548,1855,1856,2244,2122,1961,1825,2148,2502,2380,2117,2062,2185,2349,1942,2165,2637,2229,1805,1764,2077,2238,2215,2483,2578,2301,1675,1583,1565,1700,2808,3151,2797,2927,2819,2685,2400,2059,2702,2909,2542,2098,1366,1362,1708,1964,2142,2145,1869,1992,2243,2336,2416,2112,1743,1762,1911,1769,1648,1484,1833,1704,1177,1284,1489,1554,1910,2247,1922,1460,1598,1880,1958,2531,2370,1888,2001,1948,1600,1412,1484,1930,1933,1774,2339,3154,2199,1655,1758,1902,2015,1932,1946,2125,2093,2297,2940,3234,3121,2901,2974,2252,2720,2254,1864,2081,2211,2074,2001,2106,2194,2698,3022,3297,3317,3250,3066,2580,2314,2376,2148,2333,2447,1559,1507,1350,1450,2039,2286,2150,2089,1833,1556,1504,1670,1591,1686,2436,2863,2576,1908,2064,2732,2116,2140,2114,1953,1586,1459,1406,1462,1418,1320,1266,1227,1410,1449,1658,2364,2232,2049,2959,2895,2348,2386,2456,2512,2083,1518,1509,1386,1448,1504,1368,1653,2149,1863,1678,2109,2105,1936,1938,2149,2182,2345,1772,1339,1440,1366,1422,1559,1387,1247,1207,1301,1318,1290,1395,1437,1472,1315,1247,1517,1681,1387,1509,1525,1458,1419,1544,1454,1433,1341,1276,1488,1504,1440,1325,1325,1273,1281,1263,1196,1183,1223,1438,2090,2292,2204,2366,2316,2169,2415,3060,3141,3038,3303,3596,3661,3231,2545,2434,2170,2210,2392,2257,1948,1827,1935,2224,2513,2419,2263,2464,2500,2270,2287,2159,2259,2026,2077,1991,1846,1789,1683,1838,1880,1763,1678,1387,1386,1676,1817,1769,1895,1838,1368,1367,1361,1312,1470,1498,1508,1881,2119,2004,1947,1866,1793,1798,1868,1922,2006,1951,1955,1947,1621,1423,1350,1426,1806,2210,2160,1871,1521,1343,1382,1486,1470,1390,1419,1334,1396,1556,1648,1900,1707,1589,1551,1597,1551,1656,1734,1542,1474,1541,1470,1250,1276,1465,1957,1428,1668,2535,2633,2094,1701,1551,1445,1551,1826,1809,2040,2008,2013,2039,2052,2500,2480,2480,3219,3812,3356,2909,2762,2589,2940,3086,3248,3400,2931,2294,2328,2887,2955,2353,2216,2737,2626,2559,2169,2152,1638,1513,2330,3351,3619,3252,3357,3101,1991,1622,2207,2063,2230,1980,1905,2186,2525,2285,2598,3175,2616,1945,1734,1738,1752,1959,1839,1702,1722,1694,1707,1507,1772,2132,2105,2124,2599,2429,2055,2564,2298,2223,1540,1377,1445,1301,1191,1487,1700,1351,1579,1755,1755,1747,1845,2595,1896,1797,2272,2374,2556,2176,1789,1764,1594,1336,1565,2027,2365,2150,2292,2227,2673,2895,2162,1743,1666,1929,2692,1962,1628,1628,1746,1679,1533,1669,1699,1571,1532,1626,1938,1929,1408,1582,1596,1527,1815,1763,1582,1416,1423,1450,1383,1355,1385,1489,1470,1530,1708,1866,1412,1236,1275,1290,1403,1548,1455,1324,1418,1341,1375,1514,1654,1644,1744,2094,2293,1816,2344,2940,2713,2556,2698,2864,2825,2365,1960,2401,2159,1936,2237,2344,2439,2611,2547,2676,2597,2035,2106,1978,1937,1920,2122,2200,1960,1924,1973,1899,1707,1880,2199,2166,1674,1594,1629,1897,2365,2500,2382,2142,1768,1600,1769,1882,1621,1406,1535,1686,1866,1954,1743,1743,1810,1818,1911,1761,1599,1594,1504,1418,1417,1409,1457,1332,1346,1348,1582,1527,1448,1668,1990,1787,1554,1579,1599,1681,1671,1521,1845,1714,1382,1760,1382,1447,1713,1638,1669,1665,1605,1716,1603,1410,1365,1311,1189,1206,1216,1377,1442,1477,1754,1748,1550,1887,1799,1410,1401,1476,1603,1814,1793,1813,1791,1771,1842,1780,1573,1583,1456,1399,1517,1562,1531,1588,1677,1673,1676,1716,1652,1521,1638,1764,1916,1917,1604,1202,1449,1627,1530,1672,1811,1794,1605,1504,1406,1492,1507,1632,1794,1826,1816,1588,1392,1600,1372,1280,1560,1942,2375,2182,2082,1715,1650,1563,1730,1372,1309,2024,2338,2178,1801,1707,1984,1834,1709,1896,1673,1564,1950,1907,1659,1505,1883,2064,2196,2385,1791,1530,1788,1560,1669,2042,2056,2000,2336,2053,1633,1838,1894,2043,1898,1410,1475,1462,1501,1372,1434,1456,1609,1767,1610,1633,1772,1898,1880,1802,1761,1746,1699,1556,1550,1686,1616,1502,1437,1485,1577,1411,1295,1348,1237,1247,1447,1584,1753,1815,1351,1470,1934,1859,1702,1594,1616,1779,1869,2106,2228,1960,1417,2437,3604,3775,3234,2623,2307,1956,1865,2326,1910,1663,1879,2054,1874,1370,1580,1656,1454,1331,1461,1525,1456,1573,1803,2014,1991,1520,1498,1422,1478,1462,1443,1179,1201,1354,891,1142,1210,682,1009,1572,2220,2533,2455,2215,1938,1859,1924,1787,1659,1604,1636,1512,1874,1830,1172,1266,1543,1721,1426,1575,1985,1993,1918,1940,2110,2052,2058,1975,1839,2147,1765,1315,1349,1434,1424,1351,1201,1247,1475,1229,1001,1124,1320,1496,1675,1584,1595,1644,1642,1710,1845,1735,1435,1289,1542,1689,1843,2319,3222,2917,1914,1419,1387,1380,1562,1631,1771,1508,1690,1689,1416,1197,1318,1603,1625,1346,1407,1747,1808,1452,1257,1475,1558,1422,1695,1651,1626,1621,1525,1362,1444,1559,1599,1780,1698,1625,1202,990,1254,1576,1602,1620,1488,1373,1402,893,795,1389,1336,1368,1549,1456,1578,1758,1680,1499,1399,1403,1354,1354,1313,1324,1414,1250,1067,1142,1423,1489,1361,1286,1268,1328,1374,1312,1388,1427,1453,1654,1679,1412,1757,1810,1587,1341,1245,1182,1344,1522,1566,1619,1571,1732,1658,1547,1584,1520,1253,1200,1231,1271,1208,1355,1448,1296,1155,1269,1181,1130,1141,1109,1086,1142,1164,1293,1301,1148,1148,1215,1198,1078,1173,1194,1439,1698,1688,1770,1833,1838,1941,1870,1570,1412,1387,1416,1451,1419,1515,1808,1629,1418,1405,1414,1365,1462,1665,1577,1537,1594,1566,1401,1266,1229,1225,1292,1583,1522,1307,1431,1798,2019,1717,2170,2679,2747,2524,2727,2451,2644,2277,1726,1649,1570,1719,1855,1917,1693,1519,1546,1337,1252,1548,1676,1442,2157,2957,2504,1874,1849,1840,1707,1497,1305,1427,1409,1395,1325,1205,1605,1710,1811,2080,1638,1563,1470,1926,1867,2180,1995,1803,1473,1518,1530,1309,1206,1400,1537,1450,1504,1390,1334,1334,1316,1369,1394,1455,1538,1726,1886,1613,1543,1544,1499,1533,1468,1667,1824,1709,1890,2623,2496,1552,1734,1895,1777,1960,1931,1776,1962,1975,2106,1849,2103,2217,1966,1769,1574,1720,2008,1813,1780,2361,2178,1974,2060,2499,3139,3142,2735,2309,2443,2489,2092,1942,1920,1502,1330,1722,1704,1820,1724,1311,1434,1515,1554,1453,1650,1940,2320,1939,1946,1879,1962,1914,1772,1650,1794,1946,1850,2037,1982,1807,1768,1712,1663,1629,1617,1649,1648,1670,1852,1906,1716,1584,1910,1879,1687,1636,1654,1596,1584,1831,2066,2332,2232,1987,1870,1817,1854,1631,1472,1694,1936,1799,1636,1665,1722,1631,1644,1542,1712,1892,1905,1940,1852,1941,1675,1779,1938,2170,2321,2453,2309,2431,2667,3153,2904,2497,1678,1590,1651,1687,1655,2172,2393,2128,1820,1553,1612,1609,1545,1858,1944,2338,2414,2264,2616,2329,2172,1842,1493,1579,1608,1603,1700,1648,1844,1954,1733,1955,2436,2308,2009,1970,1571,1424,1406,1471,1653,1895,1648,1619,1845,1804,1952,2136,2033,2208,2292,1601,1428,1700,2081,1677,1590,1525,1581,1410,1516,1622,1455,1392,1468,1844,2131,1950,2080,2448,2480,2210,2084,1970,2011,1809,2009,2510,2699,3188,3218,2958,2230,1881,2541,3253,2531,1999,1794,1699,1714,1582,1638,1809,1875,1742,2048,2055,1825,1620,1758,1848,1747,1982,2142,1993,1806,1888,2253,2430,2269,2402,2701,2605,2254,2250,1992,2121,2398,2736,2966,3185,3086,2517,2827,2871,2160,2216,2725,2288,2136,2003,1876,1713,1628,1780,1979,1840,2254,2952,2980,2536,1843,1643,1578,1708,1682,1733,1879,1825,1732,1737,1748,1950,2066,1660,1580,1541,1544,1967,2454,2670,2410,2264,2629,2762,2277,2394,1841,1532,1426,1488,1808,2240,2049,1554,1593,1874,2049,1896,2134,2321,2066,1704,1918,1823,1642,1614,1638,1652,1413,1311,1623,2048,1940,2664,3218,3176,3418,3166,3252,2854,2236,2481,2938,2802,2679,2876,2642,2836,2842,3054,2839,2148,1903,1736,1676,1926,1809,1550,1498,1166,1169,1279,1393,1553,1740,1837,1713,1528,1523,1979,2197,1782,1654,1995,2604,2589,2188,1920,1780,2130,2495,2649,2511,2168,2060,2110,2555,2696,2486,3020,3027,2729,2354,2137,2248,2353,2358,2423,2352,2463,2889,2940,2875,2337,2271],[2168,1937,1686,1737,2019,2464,3382,3095,2186,1818,1779,1771,2092,2383,2468,1937,2133,2900,2763,2446,2154,2040,2020,1898,1774,1587,1488,1779,2082,2093,1942,1602,2171,2176,2177,2049,1707,1903,2026,1681,1397,1409,1549,1649,1834,2893,3133,2791,2514,1810,1323,1694,1638,1582,1867,2351,2655,2686,2436,2074,1663,1406,1708,1760,1609,1775,2486,3294,2997,2512,2884,2562,2059,2201,2564,2624,2996,2634,2923,2996,3200,3643,3286,2920,2658,2401,2555,3067,3227,2968,2702,2545,2191,2193,2175,2176,2547,2665,2037,1887,2164,2437,2709,3655,3751,3369,2762,2342,2137,1932,1716,1872,2047,1962,2066,2219,2003,2731,3206,2605,2352,2128,2302,2179,2278,2241,2220,2376,2215,2307,2492,2057,1848,2190,1778,1585,1716,2455,2710,2495,2720,2688,2072,1976,1819,2025,2554,2441,2193,2159,2276,2486,2440,1973,1599,1395,1368,1548,1798,2010,1892,1792,2128,2293,2219,2196,1950,1800,1913,1795,1572,1534,1736,1888,1775,1579,1842,2334,1982,1966,2273,2486,2642,2399,1740,1596,1936,2134,1971,2246,2535,2974,3250,3285,3133,2785,3006,3533,3142,2974,3553,3869,4081,3548,2017,1537,2115,2557,2467,2950,3219,2613,2075,1876,1889,1824,2195,2873,3184,3207,2812,2336,1969,2303,2610,2686,2661,2622,2530,2454,2619,2887,2880,2917,3038,2470,2071,2502,2452,2154,2127,1936,2182,2603,2086,2046,2432,2276,2048,2244,2257,2018,1712,1762,1696,1746,2106,2441,2556,2842,2785,1948,1702,1528,1601,2693,3057,2864,3198,3130,2874,2827,2369,2767,2674,2330,2286,1664,1615,1666,2010,1899,1882,2030,2110,2031,1870,1966,1924,1488,1559,2064,1673,1591,1777,2088,1505,1120,1419,1413,1551,2056,2543,2564,1643,1513,1606,1687,2013,2115,2108,2292,2073,1846,1770,1950,2371,1990,1983,2556,3130,2196,1824,2214,2228,1735,1600,1763,1931,2337,2500,3350,3839,3527,3491,3306,2455,2783,3053,2776,2631,2546,2322,2345,2734,2829,2563,2802,2880,3002,2803,2470,2454,2764,3169,2730,2173,2160,1691,1848,1809,1570,2230,2339,2150,2215,1930,1607,1516,1406,1459,1593,2007,2656,2708,2026,2267,2619,2430,2530,2236,1698,1403,1363,1418,1476,1373,1321,1302,1276,1662,1514,1796,2777,2918,2446,2282,2378,2194,1952,1869,2200,1780,1418,1321,1298,1390,1521,1447,1718,1901,1729,1803,2220,2414,2745,2829,2918,2972,3018,2400,1545,1430,1407,1516,1654,1462,1300,1146,1193,1282,1410,1335,1272,1338,1318,1282,1486,1608,1470,1415,1431,1285,1376,1573,1402,1419,1259,1305,1304,1311,1325,1366,1373,1344,1360,1475,1381,1264,1247,1398,2283,2580,2352,2415,2363,2497,2818,2949,2974,3009,3143,3330,3043,2588,2459,2663,2296,2277,2499,2359,2001,1870,1863,2019,2400,2430,2292,2556,2633,2437,2281,2097,2188,2277,2406,2159,1786,1683,1609,1732,1615,1472,1760,1866,1805,2024,1955,1815,1973,2140,2279,2165,1853,1882,2061,1928,1752,1793,1771,1746,1743,1855,1941,1961,1982,2040,2080,2323,2590,2092,1505,1493,1387,1778,2505,2397,2104,1926,1543,1459,1593,1694,1827,1640,1395,1312,1593,1838,1910,2081,1996,1714,1579,1671,1625,2073,2244,1671,1434,1426,1402,1326,1428,1515,1535,1497,2192,2802,2753,2043,1778,1535,1444,1492,1559,1732,2537,2636,2363,1976,1995,2417,2274,2204,2289,3363,3726,3539,2912,2237,2923,3768,3851,3449,3222,3313,3137,3006,2576,2110,2061,2522,2464,2856,2504,2077,1564,1410,1840,2903,3748,3739,3756,2746,1956,2052,3283,3952,3855,2918,2680,2862,2380,2258,2627,2676,2433,1988,1824,2090,2329,2277,2092,1838,1527,1494,1640,1720,1868,1930,2122,2188,3248,3065,2160,2027,2072,1954,1786,1879,1700,1471,1352,1529,1669,1408,1618,1670,1740,1646,1775,2258,1852,1994,2387,2322,2464,1979,1874,1712,1633,1411,1386,1616,2110,2321,2165,2208,2800,2581,1800,1459,1386,1688,2123,1889,1767,1538,1583,1702,1737,1763,1616,1459,1517,1747,1936,1792,1420,1563,1700,1738,1894,1708,1543,1427,1397,1433,1512,1349,1512,1512,1373,1271,1694,1622,1358,1300,1342,1453,1421,1494,1523,1412,1503,1488,1425,1480,1576,1657,1800,1958,1789,2093,2777,2664,2706,2964,3226,3432,3285,2404,2172,2318,2143,2344,2560,2360,2312,2647,2901,2804,2212,1914,2198,2308,2066,2031,1922,1977,1999,1980,1957,1733,1662,1940,1967,2150,1654,1541,1719,1654,1675,2048,2143,2089,1870,1584,1621,1694,1432,1399,1471,1447,1554,1628,1662,1725,1866,1724,1603,1575,1458,1386,1409,1519,1562,1480,1366,1362,1412,1465,1584,1633,1485,1382,1458,1472,1377,1360,1421,1759,1795,1495,1649,1781,1495,1519,1666,1963,2207,1939,1343,1554,1604,1737,1531,1387,1413,1363,1239,1355,1411,1467,1355,1289,1430,1415,1501,2095,1859,1252,1433,1656,1765,1822,1803,1785,1914,2074,1739,1505,1757,1834,1557,1699,1688,1617,1627,1730,1731,1592,1651,1816,1661,1494,1865,1974,1631,1596,1548,1576,1943,1897,1897,2479,2735,2192,1542,1797,1488,1378,1515,1743,1945,1986,1946,1650,1845,2348,2092,1876,2442,2751,3264,3218,2815,2047,2414,2645,2155,1656,1975,2457,2880,2963,2085,2047,2499,2715,2373,2693,2374,2074,2132,2236,2275,2174,2351,2225,2028,1955,1388,1876,1575,1312,1383,1442,1825,1872,2223,2056,1524,1694,1997,2245,1957,1502,1443,1444,1552,1438,1424,1371,1831,2198,2038,1927,1708,2014,2197,2153,2179,1907,1789,2008,1758,1782,1870,1631,1560,1601,1676,1593,1367,1571,1532,1399,1896,2015,1800,1772,1494,1933,2342,2138,1832,1410,1714,1893,1934,1874,1737,1696,1528,2332,2884,2707,2374,2364,2344,2089,2364,2810,3119,2148,1849,1764,1393,1110,1445,1668,1668,1546,1560,1567,1377,1498,1886,1948,1548,1346,1720,1621,1642,1686,1682,1681,1411,878,619,975,941,690,1229,1891,2410,2575,2426,2324,2080,1974,1939,1422,1338,1659,1736,1483,1808,1952,1522,1368,1505,1570,1322,1199,1439,1528,1762,1758,2081,2216,2154,1832,1766,1958,1614,1231,1248,1156,951,808,760,927,1072,998,957,974,1105,1674,2079,1798,1658,1585,1540,1625,1656,1429,1308,1343,2424,2706,2030,2513,3293,2996,2114,1354,1274,1338,1448,1649,1731,1451,1415,1563,1579,1342,1330,1656,1736,1573,1328,1377,1470,1483,1394,1420,1621,1406,1461,1608,1541,1482,1521,1502,1505,1553,1641,1925,1824,1977,1264,1102,1264,1391,1343,1409,1556,1557,1469,1018,1229,2037,2143,1753,1655,1605,1630,1580,1614,1547,1380,1390,1406,1278,1281,1421,1571,1377,1261,1283,1698,1761,1576,1555,1486,1392,1271,1350,1520,1573,1591,1720,1631,1275,1268,1281,1305,1351,1325,1172,1138,1389,1473,1431,1341,1508,1322,1556,1683,1527,1208,1061,1245,1195,1135,1300,1324,1319,1302,1334,1218,1230,1092,959,837,975,1144,1264,1267,1175,1241,1247,1253,1199,1355,1309,1521,1666,1654,1740,1829,1760,1641,1503,1328,1327,1230,1216,1202,1297,1409,1493,1343,1429,1600,1660,1813,1957,2038,1648,1464,1618,1776,1503,1353,1388,1432,1392,1417,1354,1305,1358,1649,1704,1880,2989,2540,2188,2264,2220,2472,2737,2206,1946,1526,1574,1755,1749,1586,1605,1414,1349,1489,1482,1619,1821,1670,1976,2338,2177,2025,2564,2199,1842,1646,1708,1548,1432,1450,1484,1418,1619,1902,2131,1823,1461,1421,1440,1640,1715,1992,1967,1669,1747,1973,1726,1332,1433,1744,1577,1620,1880,2089,1829,1459,1285,1384,1476,1483,1517,1793,1498,1425,1753,1914,1656,1484,1658,1842,1824,1608,1472,1888,2029,1606,2452,2523,1721,1702,1789,1647,1685,1740,1803,1903,1915,1752,1744,1682,1604,1780,1859,1681,1828,2434,2322,1881,2082,2635,2702,2487,2148,1985,2476,2543,2354,2396,2669,2156,2399,2589,1884,2009,1811,1449,1498,1563,1688,1536,1638,1938,2249,2107,1719,1597,1699,1645,1838,1708,1893,1775,1716,1960,1816,2082,2031,1858,1758,1874,1865,1675,1647,1841,2085,1611,1805,1777,2110,2326,2026,1712,1663,1621,1679,1762,1973,2474,2647,2596,2137,1756,1616,1549,1413,1677,1996,1812,1709,1807,1804,1632,1810,1639,1764,1797,1987,2034,1921,1943,1930,1966,2033,2095,2082,2327,2292,2375,2236,2427,2375,1846,1678,1582,1858,2037,1838,2029,2267,2154,1731,1664,1672,1714,1814,2416,2139,2105,2036,2163,2557,2627,2403,1599,1521,1463,1522,1602,2057,1836,2007,2257,1904,1860,2039,1692,1767,2073,1547,1467,1553,1808,2255,2470,1903,1697,1793,1648,1803,2275,2168,2093,2093,1842,1390,1535,1959,2144,2136,1787,1754,1716,1998,2141,1718,1586,1722,2210,2636,2143,1902,1806,2013,2613,2498,1984,1823,1673,1925,2254,2427,2937,3330,2970,2113,2169,3135,3056,2343,2165,1883,1623,1708,1717,1678,1854,1750,1870,1881,1998,2107,1857,1606,1698,2214,2533,2359,2082,1993,1869,1995,1932,1914,2106,2832,2610,2549,2687,2294,2455,2465,2338,2235,2927,2762,2128,2314,2131,1985,2613,2802,2363,2080,1840,1587,1541,1585,2359,2952,2192,2247,2731,2723,2407,2194,1824,1628,1498,1378,1413,1745,1935,1853,1909,1758,2113,2254,2121,1782,1330,1678,2297,2552,2676,2143,2163,2932,2890,2469,2482,1937,1517,1510,1511,1752,2376,2125,1556,1487,1566,1775,1836,1932,1982,2293,1976,1795,1862,1744,1494,1450,1417,1402,1491,1645,1991,1971,2298,2455,2676,2964,2898,2847,3050,3310,2978,2950,2568,2147,2850,3454,3695,3750,3614,3106,2837,2656,2117,1710,1621,1573,1580,1441,1302,1524,1525,1510,1959,1887,1538,1543,1521,1783,2642,2611,2158,1926,1888,1884,1922,2130,2127,2198,2361,2392,2580,2651,2666,2554,2862,3021,2544,2575,2948,3090,2673,2224,2073,2149,2281,2356,2238,2183,2270,2165,1880,2000,1964,1992],[1826,1936,1900,1885,2132,2098,3182,2833,2008,1845,1906,1838,1865,1896,1615,1497,2069,2533,2768,2353,2320,2094,2011,1759,1600,1574,1586,2269,2523,1998,1933,1720,1904,2032,2344,2181,2241,2149,1586,1482,1542,1595,1550,1756,2258,3566,3854,2977,2544,1938,1658,1717,1792,1682,1450,1844,2441,3252,3462,3328,2482,1660,1382,1521,1742,1936,2744,3683,3536,3629,3648,3120,2384,2169,2430,2343,2249,2084,2661,2620,2561,3312,3249,2551,1922,1998,2534,2850,2818,2770,2614,2380,2242,2562,2872,2531,2692,2913,2602,2765,2082,2138,2418,3304,3606,3425,3161,2435,1824,1541,1572,2022,2433,2340,1942,1597,1706,2868,2945,2130,2214,2031,1670,1847,2051,1940,2099,2233,2260,2254,2205,1952,1932,2277,1906,1525,1478,1951,2628,2497,1871,2106,2053,1788,2367,2277,2437,2236,1990,2033,2249,2461,2524,2478,2271,1649,1532,1415,1734,2219,1964,2306,2589,2496,2304,1887,1587,1635,1734,2238,2150,1755,1704,1893,1579,1413,1444,1981,2172,1915,1996,2206,2382,1869,1426,1550,1760,1860,2039,2492,2750,2880,2887,2868,2800,2588,2996,3429,3116,3071,3615,3943,3697,2853,2125,1967,2104,2170,2827,3132,2978,3505,2978,2275,1986,1980,1808,1852,2454,2832,2719,2472,2495,2944,3305,3268,3408,3223,2822,2440,2473,2980,2950,3029,3228,2626,2250,2678,2520,1852,1648,1726,2172,2640,2080,1939,1869,2048,2296,2345,2215,2083,2219,2232,1996,2216,3044,3034,2512,2514,2140,1731,1818,1586,1593,2129,2634,2858,2846,2807,2822,3031,3124,3226,2728,1851,2071,2003,2186,2747,2834,2385,2190,1960,1950,1637,1714,1889,1728,1271,1673,1827,1548,1509,1981,2117,1860,1694,1600,1528,1576,1676,2186,1964,2080,1892,1734,1575,1671,1871,1905,1789,1747,1693,1686,1950,1907,1989,2360,2613,2842,2617,2036,1891,1766,1477,1816,1989,2593,3096,2943,3514,3841,3673,3770,3896,3194,2511,2464,2375,2300,2446,2417,2957,3797,3641,2318,1876,2164,2241,1854,1606,1718,1930,2002,2299,2065,1712,2116,2300,1960,1954,2546,2426,2192,2258,1888,2446,2489,1686,1498,1487,1880,2349,2148,1977,2319,2216,2204,2214,1937,1749,1646,1369,1371,1492,1560,1512,1432,1365,1528,1483,1596,2106,2442,2117,1823,1990,1884,1729,1942,2020,1651,1669,1789,1535,1522,1849,1838,1720,1756,2026,2157,2482,2815,3199,3256,3228,3364,3240,2543,1661,1376,1367,1343,1421,1352,1410,1451,1521,1614,1698,1461,1311,1326,1317,1313,1395,1536,1601,1632,1528,1301,1213,1401,1329,1344,1421,1433,1384,1334,1311,1227,1282,1316,1203,1312,1417,1281,1272,1302,1473,1824,1995,1962,1749,1850,2359,2974,3288,3304,3251,3252,2781,2025,2058,2624,2548,2341,2382,2182,2020,2006,1891,1890,2214,2261,2259,2510,2432,2203,2123,2016,2131,2324,2359,2049,1722,1644,1648,1858,1809,1974,2579,3012,2647,2379,2221,2040,2040,2066,2122,2092,1903,1891,1858,1744,1764,1689,1699,1785,1868,1983,1834,1637,1871,2299,2381,3052,3085,2851,2812,2198,1562,1836,2208,2182,2310,2182,1460,1460,1481,1572,1867,1703,1537,1542,2096,2509,2359,2280,2338,2024,1627,1738,1528,1718,2223,1672,1446,1578,1397,1386,1365,1363,1472,1801,2339,2620,2431,1913,1671,1577,1386,1415,1649,2078,2408,2107,2035,1968,2025,2592,2540,2406,1844,2646,3391,3553,3271,3204,3505,3834,4041,3728,3553,3384,3019,2909,2472,2014,1931,2063,2395,3042,2710,2168,1886,1384,1631,2709,3796,3749,3616,2721,1966,2134,3436,4403,4215,3249,3504,3718,2861,2973,3544,3487,2907,2016,2070,2253,2234,2346,2242,1948,1919,2008,2063,1788,1759,1780,2026,1968,2686,2454,1886,1662,1788,2040,2578,2696,2393,1700,1787,1838,1582,1678,1800,1695,1555,1483,1447,1559,1587,1867,2098,2200,2349,1896,1732,1830,1530,1256,1299,1548,1929,2244,2112,2002,2094,1572,1396,1340,1469,1618,2167,2489,2357,1925,1736,1758,1687,1460,1480,1427,1627,1740,1827,1826,1649,1491,1479,1714,1709,1603,1740,1548,1316,1376,1466,1452,1485,1360,1395,1395,1573,1511,1357,1246,1301,1400,1462,1536,1432,1361,1442,1512,1403,1382,1615,1810,1982,2078,1905,2460,2777,2347,2265,2468,2964,3408,3155,2325,2066,2074,2210,2442,2312,2180,1994,2298,2878,2388,1673,1939,2027,2098,2132,2021,1864,1937,2134,2166,2055,2013,2045,1924,1771,2013,1735,1542,1708,1671,1532,1514,1628,1968,1921,1599,1371,1340,1375,1433,1350,1338,1516,1466,1294,1266,1357,1440,1519,1460,1385,1308,1392,1511,1473,1393,1374,1416,1499,1587,1524,1381,1353,1286,1441,1346,1256,1298,1439,1600,1636,1385,1695,1764,1069,944,1298,1483,1829,1791,1655,1793,1746,1808,1716,1680,1728,1535,1471,1664,1649,1616,1438,1380,1366,1104,1107,1306,1481,1754,2079,2078,1880,1657,1670,1766,1777,1562,1094,1261,1594,1698,1684,1887,1919,1571,1266,1550,1686,1694,1599,1698,1648,1623,1612,1623,1344,1219,1306,1261,1683,1983,2037,2358,2188,1896,1875,2322,2272,2580,2611,2292,2128,2156,2230,2108,2415,3226,3466,3031,3163,3018,3032,2850,2580,2323,2563,2502,2160,2222,2545,2840,3041,2865,2424,3050,4046,4400,3510,2930,2552,2178,2113,2589,2667,1919,1859,1807,1687,1811,1459,1904,1650,1552,1506,1334,1414,1761,2200,2172,1659,1913,2546,1786,1063,903,904,1018,1203,1669,1956,1664,2021,2524,2130,1640,1479,1752,1775,1581,1874,1701,1519,1596,1508,1827,1952,1267,1156,1520,1627,1641,1632,1701,1610,1549,1796,1753,1992,2188,2091,2361,2366,2384,1951,1704,2026,2559,2507,2172,1674,1176,1156,1434,1666,1894,1763,1951,2042,2150,2712,2376,2081,1885,1964,1940,1317,1228,1423,1527,1720,1659,1687,1666,1471,1393,1666,1645,1469,1644,1664,1650,1830,1731,1627,1807,1549,805,936,1296,1055,1035,1490,2076,2574,2576,2385,2314,1994,1885,1874,1146,1212,1248,1517,1660,1825,1906,1771,1607,1582,1749,1575,1312,1205,1142,1108,1137,1401,1650,1618,1510,1670,1667,1365,1152,1206,1035,994,992,1032,1036,936,1003,1044,1126,1193,1752,2185,1961,1874,1644,1554,1594,1572,1405,1415,1642,2722,2718,1638,1986,2470,2160,1700,1356,1249,1163,1176,1343,1518,978,964,1592,1792,1530,1365,1650,1743,1638,1439,1363,1426,1544,1437,1284,1372,1347,1326,1321,1161,1168,1466,1735,1968,1660,1462,1912,1860,1432,1096,1238,1286,1312,1329,1352,1169,1296,1484,1510,2042,2447,2348,2298,2092,1812,1624,1527,1641,1546,1406,1428,1375,1245,1357,1606,1462,1457,1386,1319,1442,1536,1700,1678,1503,1594,1417,1448,1470,1472,1479,1511,1604,1369,1139,1101,1245,1456,1395,1242,1278,1452,1548,1500,1378,1306,1204,1295,1323,1376,1155,1053,1405,1203,1240,1328,1196,1284,1346,1303,1359,1277,1168,930,747,865,1053,1288,1340,1396,1513,1304,1315,1384,1361,1548,1757,1764,1791,1813,1839,1626,1896,2270,1715,1394,1223,1087,1126,1189,1281,1245,1196,1375,1482,1523,1729,1622,1465,1547,1366,1248,1423,1444,1377,1489,1507,1361,1333,1292,1491,1425,1690,1322,2077,2706,2492,2604,2580,2422,2823,2454,1914,1887,1674,1667,1744,1606,1402,1482,1377,1358,1454,1511,1672,1659,1562,1577,1400,1810,1992,2776,2424,1726,1785,1881,2029,2033,1637,1438,1461,1587,1770,1659,2004,1684,1337,1598,1744,1598,1751,2041,1835,1948,1972,1663,1479,1794,1826,1724,1758,1769,1907,1956,1537,1411,1395,1391,1440,1404,1605,1405,1641,1559,2153,2086,1732,1900,1984,1796,1526,1436,1352,1322,1419,1816,1830,1643,1592,1601,1780,1861,1787,1774,1761,1792,1560,1542,1567,1482,1234,1261,1873,2144,2354,2352,1747,1754,2504,2996,2522,2239,2127,2144,2372,2532,2734,2238,2048,3272,3100,1926,1995,1534,1409,1362,1564,1763,1742,1512,1525,1665,2026,1789,1516,1600,1675,1650,1637,1838,1754,1732,1918,2094,2353,1997,1771,2096,2510,2108,1763,1650,1989,2266,1927,1980,2089,2230,2382,2148,1857,1927,1973,1704,1902,2132,2163,2253,2328,2488,2343,1920,1720,1599,1816,1771,1570,1909,1876,1710,1804,1843,1714,1701,1683,1844,1919,1745,1665,1922,2054,1996,2058,1975,2276,2337,2329,2471,2248,2020,1949,1780,1721,2159,2164,1902,1857,1954,1918,1742,1661,1709,1814,2061,2688,2796,2474,2016,1721,1804,1917,1660,1635,1645,1569,1498,1479,1780,1703,1693,2055,2106,1620,1588,1589,1402,1616,1562,1457,1518,1714,2164,2363,2244,1958,1722,1637,1582,1711,1844,2055,2036,1825,1486,1512,1733,1747,1829,2058,1996,1831,1960,2339,1975,2050,2192,2292,2232,2040,1703,1491,1758,2546,2802,2250,2379,2154,1959,1956,2331,2769,3075,2943,2014,1796,2363,2499,2662,2249,1712,1519,1547,1531,1554,1686,1663,1797,1747,1955,2500,2693,2142,1989,2521,2406,2389,2282,2401,2261,1917,1908,1672,1863,2414,2220,2103,2310,2150,2001,2122,2127,1980,1930,2188,2195,2078,1966,2223,2520,2345,2286,2185,1926,1732,2131,1914,2290,3371,2866,2192,2258,2237,2366,2271,1796,1690,1514,1460,1334,1588,2010,2058,1930,1918,2239,2540,2818,2178,1428,1670,2323,2388,2414,2004,2036,2953,2761,2494,2702,2322,1557,1496,1808,2194,2260,1912,1681,1529,1623,1688,1878,2079,2524,2536,2088,2123,2065,1844,1448,1376,1533,1462,1643,1519,1536,1645,1741,2048,2481,2725,3020,2946,2729,3086,3421,3620,3155,2584,2733,3460,3630,3338,3241,3247,3033,2312,2078,1860,1724,1582,1541,1359,1543,1691,1593,1672,2042,1986,1697,1644,1762,2359,3218,3131,2697,2326,2009,1825,2046,2326,2597,2714,2508,2522,2952,2899,3100,2519,2624,2614,2619,2845,3174,3418,2677,1768,1804,2134,2042,2066,1782,1824,1969,1898,1642,2002,2061,2237],[1808,2423,2198,1753,1672,1983,2307,2137,1884,1832,1991,1852,1584,1575,1439,1591,2026,2386,2131,2012,2195,1811,1581,1592,1543,1340,1390,2263,2185,1685,1688,1884,1951,1926,2148,2078,2438,2499,1588,1598,1610,1746,1651,1835,2014,3028,3344,2788,2581,2129,1583,1676,1614,1209,1220,1557,2288,3551,3458,3239,2744,1727,1228,1562,2009,2313,2603,3175,3633,3604,3189,3397,3341,3042,2701,2319,1965,1892,2464,2602,2302,2783,2810,2414,2452,2715,2532,2829,2945,2688,2234,2088,2026,2304,2822,2744,3011,3032,2957,3090,2237,2007,2011,2753,3498,3374,2692,1973,1610,1514,1606,1903,1826,1820,1676,1671,1717,2688,2864,2103,2109,2136,1815,1740,1649,1621,2013,2129,2188,2172,2003,2101,2684,2229,1645,1556,1613,1996,2342,1991,1502,1492,1736,1635,2039,2221,2122,2055,2122,2215,2345,2321,2463,2629,2302,1863,1953,1477,1677,1984,1693,1974,2371,2189,1702,1455,1601,1798,1646,2294,2312,2435,2160,1728,1505,1459,1548,2088,2125,1841,2271,2544,2345,1626,1470,1506,1653,1825,2287,2563,2643,2686,2584,2687,2549,2307,2713,3262,2967,3028,3287,3428,3038,2291,1854,1908,1858,1878,2419,2777,2884,3485,3402,2541,2280,2003,1894,1894,2260,2596,2508,2662,3252,3692,3548,2993,3418,2636,1597,1705,2359,2707,2836,2792,2991,2820,2368,2443,2646,1788,1516,1519,1667,1963,1750,1589,2056,2756,2831,2801,2862,2470,2463,2460,2596,2850,3044,2401,2129,2298,2169,1947,1941,1750,1930,2445,2093,1928,1998,1798,2396,3652,3709,3348,2821,1924,1829,2132,2398,2678,2985,2272,2193,1764,1641,1632,1674,1894,1626,1538,1789,1862,1691,1982,2193,1879,1973,2085,2081,1892,1680,1452,1781,2126,1990,1665,1716,1970,2157,1842,1923,1759,1653,1709,1799,1577,1425,1592,2083,2521,2581,2165,1617,1996,2018,2128,1805,1511,3056,3764,3322,3486,3415,3144,3238,3376,2890,2398,2628,1766,1661,1613,2135,2704,3563,3599,2293,1499,1566,1482,1443,1642,1692,1589,1587,2271,2212,2332,2596,1914,1727,2210,2829,2793,2814,2807,1863,2798,2863,1846,1591,1428,1440,1880,2000,2029,2221,2087,2063,1920,1732,1762,1822,1476,1293,1379,1383,1288,1271,1362,1427,1299,1515,2012,2154,1947,1771,1882,1650,1514,2005,1810,1748,1888,1675,1299,1565,2480,2217,1978,2022,2104,2382,2600,2662,2613,2578,2756,2972,2953,2534,1768,1348,1327,1345,1525,1385,1332,1456,1662,1758,1705,1460,1224,1185,1223,1252,1285,1309,1337,1409,1331,1143,1533,1926,1662,1567,1708,1656,1421,1357,1333,1235,1283,1197,1147,1267,1390,1363,1473,1524,1521,1769,1890,1780,1733,1736,1663,2073,2299,2580,2989,3104,2463,1669,1598,2263,2547,2491,2570,2160,2021,1888,1693,1843,2053,1889,1695,1748,1720,1709,2152,2349,2165,1991,1973,1742,1660,1845,1848,1887,1976,2413,2877,3275,3040,2614,2219,1978,1985,1970,1858,1781,1608,1864,1810,1740,1760,1926,2152,2036,1982,2104,2025,1967,2030,2285,2234,3072,2979,2874,2763,2007,1549,1459,1590,1875,2208,2032,1461,1758,1576,1574,1546,1428,1493,1914,2544,2743,2707,2062,1635,1664,1366,1693,1677,1598,1979,1773,1764,1636,1344,1383,1372,1458,1427,1465,1638,1917,1910,1854,1585,1472,1425,1490,1599,1754,1949,1770,1664,1805,2413,2126,1843,2475,2079,2201,2973,3818,4208,4340,4013,3557,3654,3235,2811,2901,2733,2676,2475,2111,1986,1945,2564,3321,2900,2309,2139,1367,1606,2115,3527,4060,3829,2812,2135,2272,3242,4192,3592,2485,3105,3738,3421,3249,4216,4188,3471,2393,2291,2407,2308,2588,2360,1948,1909,1948,2115,1610,1500,1476,2382,1990,1585,1955,2154,2289,2119,2131,2810,2790,2662,1890,2260,2189,1709,1842,1933,1673,1586,1683,1522,1445,1355,1459,1603,2029,2425,2664,2132,1879,1603,1468,1881,1992,1890,2051,2100,1909,2532,2176,1578,1455,1336,1620,2245,2160,1911,1866,1841,1691,1676,1593,1660,1550,1671,1656,1562,1774,1667,1413,1359,1566,1734,1600,1451,1414,1321,1361,1359,1524,1460,1426,1523,1462,1442,1575,1862,1615,1631,1460,1567,1453,1408,1360,1449,1428,1427,1573,1774,1823,2151,2210,1905,2622,2403,1816,1726,1808,1818,2314,2321,2253,2447,2036,1996,2122,1971,1986,1850,1847,2349,2047,2133,1951,1846,2467,2756,2381,2229,2027,2060,2156,2060,2133,2136,2032,1846,2046,1899,1600,1654,1746,1534,1502,1529,1688,1694,1620,1350,1397,1494,1382,1167,1289,1635,1522,1209,1254,1281,1342,1433,1378,1333,1360,1376,1362,1366,1404,1377,1366,1417,1412,1433,1337,1371,1245,1433,1263,1249,1356,1359,1518,1532,1370,1532,1175,667,1225,1498,1460,1304,1518,1805,1914,1893,1921,2073,2167,2056,1573,1297,1482,1817,1512,1736,1737,1507,1211,1076,1481,1839,2093,2262,2003,1860,1705,1534,1382,1456,1448,1578,2005,1794,1349,1382,1692,1817,1538,1249,1387,1405,1672,1623,1735,1872,1565,1053,1000,956,1356,1876,1908,2204,2172,2082,2314,2309,2148,1998,2227,2337,2458,2234,2109,2122,2031,2039,1998,2305,3286,2886,2281,2717,2792,2643,2513,2483,2627,2680,2408,2050,2175,2564,2807,2851,2715,2667,2997,3737,3996,2877,2113,1963,2018,2144,2307,2413,1749,2193,2402,2374,2277,1817,2067,2040,1904,1857,1507,1563,2120,2434,2425,1724,2031,2416,1432,1135,1333,1353,1478,1505,1699,2299,2079,1992,2459,2487,1697,1606,1682,1922,1869,1795,1703,1636,1637,1803,2054,2008,1783,2004,2066,2336,2004,1489,1444,1616,1724,1488,1327,1631,1847,2060,2298,1673,1721,1821,1846,1763,2078,2110,1891,1421,1017,1058,1075,1144,1256,1518,1659,1873,2085,2458,2313,1979,1724,1891,1830,1245,1358,1376,1456,1503,1277,1613,1722,1562,1466,1793,2190,1951,1735,1735,1951,2051,1788,1578,1624,1428,1225,1370,1372,1206,1304,1690,2277,2608,2524,2372,2186,2061,2188,1665,1287,1327,1270,1448,1645,1801,1788,1432,1555,1652,1841,1623,1591,1562,1482,1372,1272,1071,1070,1128,1224,1268,1051,984,982,1028,1076,1131,1045,1139,1107,1591,1705,1315,1349,1345,1482,2207,2516,2176,1777,1572,1797,1605,1438,1579,1632,2309,2643,1909,1678,1629,1779,1323,1482,1451,1219,1181,1216,1028,1080,1849,2024,1875,1793,1409,1555,1947,1582,1337,1343,1274,1521,1607,1416,1444,1397,1311,1212,1135,1426,1807,1760,1674,1383,1464,1713,1747,1489,1333,1378,1409,1378,1411,1277,1018,1592,1852,1713,2216,2401,2392,2376,1997,1759,1633,1560,1532,1356,1412,1427,1503,1416,1506,1515,1293,1344,1299,1227,1180,1277,1510,1387,1321,1547,1537,1517,1459,1422,1454,1626,1717,1385,1233,1435,1545,1585,1515,1361,1375,1313,1583,1476,1236,1271,1334,1243,1285,1428,1469,1193,1202,1199,1308,1290,1189,1286,1277,1300,1320,1262,1205,1044,809,859,1100,1189,1224,1415,1434,1307,1393,1460,1493,1675,1767,1803,1806,1820,1887,1576,1669,1619,1393,1396,1389,1323,1260,1249,1281,1221,1181,1269,1270,1321,1366,1327,1437,1503,1256,1222,1327,1288,1603,2178,1649,1269,1068,1396,1636,1899,1711,1837,2613,2698,2861,3115,2843,2806,2764,1826,1994,1919,1588,1532,1701,1528,1390,1543,1579,1378,1388,1483,1575,1409,1476,1384,1419,1909,1984,1953,1569,1569,1952,1859,1707,1858,1859,1520,1651,1323,1139,1133,1742,1789,1739,1752,1647,1483,1678,1972,1762,1676,1595,1528,1547,1830,1735,1504,1514,1460,1771,2161,1769,1802,1553,1347,1332,1325,1321,1641,1771,1718,2217,1896,1427,1882,1945,1695,1699,1512,1408,1439,1340,1384,1580,1718,1692,1595,1566,1549,1689,1663,1664,1506,1316,1501,1744,1596,1346,1329,1582,1619,1780,1896,1521,1745,2680,3297,2661,2397,2502,2015,1522,1688,2278,2204,1943,2543,2268,1674,1617,1377,1213,1401,1736,1888,1645,1538,1499,1791,2374,1913,1623,1565,1756,1426,1612,1613,1509,1564,1769,1783,1638,1793,1911,2464,2373,1891,1551,1667,1726,1920,2087,1817,1914,1887,1721,1733,1828,2077,1883,1815,1889,2240,2164,2081,1691,2216,2506,2192,2054,2384,2287,1750,1748,1833,1760,1575,1583,1536,1748,1792,1684,1679,1790,1704,1644,1687,2014,2043,2050,1985,1943,2204,2632,2724,1933,1678,2100,1833,1860,2122,1901,1749,1815,2187,2136,1913,1977,1947,2038,2326,2383,2200,2262,2258,2094,1750,1727,1643,1664,1724,1599,1493,1491,1488,1526,1747,1786,2051,2136,1722,1505,1504,1707,1564,1366,1497,1550,1644,1865,1926,1817,2010,1681,1571,1570,1471,1801,2323,2294,1667,1609,1830,1646,1810,2047,2067,2269,1952,2376,2316,2099,2203,2322,2419,2395,2350,2343,2244,2709,2591,1995,1888,2132,2196,2125,2317,2496,2686,2919,2471,2059,2406,2545,2752,2133,1738,1624,1531,1482,1679,1850,1895,1787,1763,1892,2012,2371,2244,2213,2125,2220,2367,2622,2635,2373,2350,2142,1830,1990,2647,2574,1891,2087,2094,2035,2081,2331,2300,1851,1939,1937,1970,2400,2531,2302,2127,2144,2414,2376,2030,2424,2238,2308,3124,2790,2373,2435,1980,2015,2087,2297,1776,1708,1575,1683,1997,2055,2021,1809,2008,2410,2591,3152,2676,1757,1737,2166,2175,2051,1986,2523,3046,2578,2347,2689,2308,1519,1519,1909,2224,1887,1832,1784,1578,1666,1631,1796,2266,2427,1786,1615,2123,1904,1535,1419,1464,1571,1487,1525,1568,1768,1946,2193,2470,2539,2749,3072,3019,2895,2696,3212,3791,3809,3230,2686,3002,3331,2966,2988,2899,2996,2386,1932,1896,1742,1792,1738,1758,1704,1519,1594,1795,2118,2314,2017,1816,1933,2478,2669,2496,2165,2227,1978,1809,2057,2366,2534,2432,2475,2689,3133,3109,2873,2222,2142,2325,2467,2608,3164,3495,2449,1775,1839,2135,1984,1842,1630,1757,2008,2070,1766,1688,1866,2129],[2198,2159,1925,2048,2186,2290,2326,2223,2102,1887,2006,1907,1721,1738,1902,1882,2157,2269,1853,1894,2106,1919,1622,1475,1600,1522,1616,1673,1955,2249,2050,1829,1738,1559,1523,1702,2130,2053,1626,1794,1820,1784,1680,1703,1452,1702,2282,2532,2598,2482,1630,1708,1581,1057,899,1259,1920,2575,2650,2512,2161,1693,1674,1515,1628,2216,2293,2614,2907,2663,2333,3340,3750,3312,2940,2480,1990,2016,2545,2735,2751,2997,3104,2532,3069,3481,3609,3750,3695,3558,3186,2531,1881,1916,2670,2807,3285,3376,3019,2284,2186,2188,2014,2624,3168,2872,1970,1468,1623,1840,2002,2145,1580,1442,1449,1765,1555,1929,2593,2524,2348,2338,2277,2197,2207,2337,2610,2473,2371,2264,1978,2058,2239,1902,1567,1466,1693,2039,1789,1375,1527,1415,1742,2497,2309,1958,1766,1750,2068,2113,2223,2122,2427,2769,2192,1962,1871,1454,1430,1798,1883,1935,2330,2216,1747,1582,1528,1696,1788,2474,2585,2582,2225,1719,1496,1672,1690,1758,2193,2221,2605,2235,2150,1998,1792,1793,2276,2740,2717,2651,2935,2587,2300,2702,2025,1879,2172,2720,2746,2830,2469,2678,2999,2379,2018,2164,2092,2256,2160,2237,2234,2972,3415,2942,2547,2509,2071,1780,2090,2243,2330,2690,3350,3641,3774,3100,2446,1801,1787,2023,2142,2410,2580,2853,2820,2467,2447,2266,2187,1981,1687,1708,1772,1604,1445,1778,2133,2315,2469,2787,3493,3025,2396,2520,2446,2081,1615,1598,1924,2410,2552,2126,2215,2460,2409,2419,1809,2104,2019,1644,1960,2798,3044,3301,3310,2941,2546,2384,2242,2322,2466,1851,2388,1853,1737,1871,1896,1810,1510,1385,1707,1929,1758,1829,1960,1786,1619,2024,1992,1665,1525,1562,1767,1911,1701,1672,2057,2736,2286,1893,2342,2613,2491,2177,2065,1634,1400,1681,2309,2719,2567,1845,2291,2846,2509,2604,2198,1972,2797,3499,3176,3234,3835,3249,2770,3033,2670,2211,2907,2489,2084,1584,1963,2425,2986,2969,2217,1729,1577,1231,1289,1912,2078,2208,2273,2542,2171,2714,2610,1630,1839,2136,2046,2098,2787,2950,2548,2510,1946,1542,1556,1477,1371,1566,1650,1703,1836,1825,2149,1963,1527,1551,1564,1430,1393,1421,1358,1364,1426,1423,1439,1472,1928,1863,1864,1541,1980,1911,1454,1566,1884,1723,1781,1743,1651,1416,1915,2901,2273,2137,2409,2389,2610,3031,2864,2565,2643,2688,2730,2747,2158,1446,1322,1305,1279,1290,1219,1317,1429,1528,1484,1456,1336,1224,1257,1409,1292,1223,1241,1298,1218,1282,1268,1770,2037,1761,1571,1375,1372,1321,1344,1301,1201,1260,1238,1263,1249,1345,1355,1341,1419,1765,2300,2152,1805,1689,1580,1337,1443,1786,2706,3155,2788,2090,1678,1669,2034,2171,1941,1996,1843,1611,1728,1829,2076,2114,1861,1741,1848,1744,2092,2447,2020,2124,1997,1841,1744,1878,2261,2120,2080,2313,2304,2504,2709,2431,2107,1935,1913,2016,1861,1719,1862,2121,2337,1964,1640,1668,1871,1773,1677,1709,1810,1742,1862,1946,1814,2194,3212,2762,2080,2033,1667,1620,1778,1845,1636,1810,1505,1345,1761,1751,1755,1705,1484,1563,2482,2709,2081,2045,1633,1339,1572,1550,1694,1703,1859,1648,1738,1949,1685,1463,1445,1498,1545,1450,1417,1312,1519,1833,1891,1669,1504,1478,1445,1490,1614,1757,1562,1876,1896,2788,2060,2149,2263,2329,2198,2411,3701,4160,4307,4220,3584,3124,2772,2385,2567,2473,2443,2441,2200,2003,2122,2797,3461,3143,2370,2179,1535,1719,1746,2710,3322,3241,2601,1856,1692,2084,2632,3046,2571,2367,2754,2249,2621,3421,2878,2360,2323,2447,2547,2817,3532,3440,2172,1776,1668,1669,1482,1489,1780,2465,2142,2002,2626,2790,2431,2257,2859,2916,3198,2363,1761,2215,2080,1545,1324,1545,1614,1534,1693,1474,1422,1321,1318,1551,1841,2160,2825,3060,2656,1901,1644,1766,1810,1742,1788,1793,1771,2942,2868,2114,1656,1384,1716,1877,1592,1721,1704,1698,1792,1648,1614,1546,1472,1476,1508,1491,1448,1396,1378,1395,1409,1520,1419,1309,1421,1382,1374,1332,1482,1519,1498,1690,1391,1073,1511,1995,2198,1806,1636,1500,1377,1449,1509,1564,1584,1558,1605,1812,2029,2457,2128,2006,2403,1954,1664,1671,1692,1754,2029,2262,2894,3400,2767,2503,2167,1905,1781,2039,2386,2375,2215,2156,2002,2127,2526,2337,2104,2404,2531,2001,2045,2089,2060,2049,2098,1835,1698,1944,2110,2284,2324,1847,1903,1627,1497,1489,1568,1333,1473,1540,1458,1574,1593,1412,1382,1205,1340,1326,1288,1268,1274,1300,1388,1404,1386,1386,1322,1267,1332,1387,1416,1410,1389,1337,1200,1356,1336,1329,1338,1227,1285,1397,1464,1422,778,607,1146,1546,1518,1438,1454,1486,1492,1625,1807,1715,1678,1755,1558,1432,1742,1599,1341,1456,1727,1717,1451,1374,1609,1886,1827,1821,1802,1876,1876,1915,1680,1458,1230,1469,1780,1582,1373,1418,1689,1769,1735,1279,897,1001,1358,1770,1863,1776,1510,1414,1497,1586,1892,1759,1777,2379,2473,2361,2104,2142,1754,1522,2293,2438,1960,1756,1975,2072,2006,1884,1839,2059,2360,1571,1843,2978,3134,2889,2713,2458,2589,2676,2713,2503,2385,2497,2539,2500,2364,2338,2100,2631,2658,1969,2115,1570,1711,1921,2171,2304,1856,2156,2020,2198,2372,1813,1459,1998,2030,1490,1289,1544,1920,1915,1758,1433,1466,1476,1639,2113,2199,1926,1977,2058,2548,3205,2548,1919,1998,1728,1408,2046,1985,1471,1464,1543,1416,1266,1820,2324,2496,2029,1919,1973,1788,2306,2071,1965,2076,1898,1821,1790,1624,1720,1648,1472,1582,1532,1481,1695,1744,1824,1820,1793,1806,1318,1004,1272,1244,1037,1075,1197,1528,1866,1813,1930,1984,1888,1869,1752,1358,1405,1471,1422,1418,1534,1225,1540,1867,1805,1607,1822,2570,2580,2159,1834,1975,2054,1776,1766,1451,1017,999,1368,1583,1456,1466,1835,2372,2508,2440,2368,2129,2225,2217,1344,1298,1387,1425,1808,1875,1886,1525,784,1231,1292,1604,1698,1626,1649,1560,1667,1798,1688,1452,1268,1208,1142,961,1056,1129,1173,1370,1388,1535,1432,1614,2422,2062,1482,1377,1350,1491,1715,1962,1937,1666,1685,1877,1592,1377,1601,1868,2449,2612,2054,1588,1415,1178,1180,1417,1410,1206,1107,1104,1210,1733,2230,2011,1878,1880,1565,1494,2118,1981,1469,1452,1305,1363,1764,1737,1592,1420,1384,1410,1376,1516,1915,1821,1348,1338,1457,1356,1443,1572,1620,1417,1334,1320,1604,1326,1183,1604,1634,1478,1739,1806,1862,1929,1720,1790,1701,1390,1312,1312,1502,1562,1489,1513,1703,1493,1304,1236,1325,1390,1227,1433,1560,1198,1406,1439,1358,1452,1373,1372,1450,1661,1865,1450,1410,1489,1532,1524,1655,1488,1451,1407,1523,1536,1499,1498,1525,1361,1371,1431,1491,1193,1243,1451,1389,1241,1255,1320,1300,1236,1059,1091,1223,1322,1237,1225,1152,1150,1265,1498,1468,1484,1565,1568,1685,1828,1748,1578,1433,1671,1900,1631,1412,1260,1294,1448,1450,1239,1129,1142,1199,1181,1149,1301,1274,1320,1349,1288,1200,1132,1228,1298,1225,1244,1582,2262,2011,1448,1113,1810,2194,1869,1774,2895,3638,3525,3441,3261,2851,3016,2175,1717,1850,1724,1578,1634,1654,1482,1431,1542,1541,1327,1428,1406,1664,1465,1360,1460,1592,1755,1909,1708,1603,1681,2043,1892,1785,2015,2041,1708,1631,1327,1037,1162,1382,1738,2172,2132,1758,1519,1436,1632,1520,1338,1280,1474,1690,1762,1544,1344,1371,1616,1885,1650,1395,1570,1561,1413,1442,1393,1349,1605,1666,1762,1892,1552,1438,1861,1852,1498,1531,1650,1691,1525,1386,1611,1853,1770,1605,1577,1587,1548,1547,1463,1438,1612,1422,1579,1522,1476,1654,1377,1326,1468,1722,1803,1710,1924,2754,3696,2938,2281,2297,1990,1627,1292,1424,1721,1566,1754,1697,1556,1562,1437,1419,1488,1621,1697,1612,1781,1654,2062,2243,1858,1711,1661,1594,1561,1586,1516,1431,1477,1566,1715,2015,2261,1835,2401,2331,1826,1553,1675,1604,2250,2441,1886,1699,1757,1746,1759,1790,1883,1819,1880,1700,2040,2251,1942,1608,1876,2170,2138,2221,2903,2482,1814,1723,1915,1982,1820,1584,1664,1772,1710,1600,1720,1942,1902,1768,2170,2290,1936,1912,2052,2009,2198,2439,2292,1803,1740,1919,1780,1658,2006,1891,1809,1940,2074,2032,1966,2103,2134,2378,2586,2522,1940,2083,2840,2578,1774,1705,1717,1795,1774,1542,1417,1537,1793,2070,1951,1601,1755,2054,1654,1542,1924,1975,1732,1669,1578,1546,1671,1860,2113,2207,2217,1660,1634,1601,1717,2020,2308,2202,1807,2013,2579,2059,1721,1638,2327,2907,2637,2895,2930,2624,2422,2345,2453,2482,2503,2577,2610,2443,2018,1690,1630,1811,1709,1666,2092,2464,2335,2453,2296,2259,2388,2045,1888,1930,1786,1678,1536,1644,2008,2213,2031,2110,2207,2015,1904,1856,2401,2478,2032,1771,2230,2619,2477,2849,2865,2358,2756,2647,2950,2745,1753,1824,2152,2454,2387,2700,2436,1935,1968,1970,2126,2576,2527,2028,2322,2692,2898,2731,2177,2184,2209,2380,2624,2219,2667,2779,2172,1873,2145,2336,1892,1942,1853,1937,2023,1997,2118,1970,1896,2125,2389,2893,2762,2341,2473,2422,2209,2177,1947,2358,2835,2512,2133,2319,2241,1746,1704,1801,2099,1921,1685,1737,1710,1738,1695,1771,2184,1944,1571,1454,1645,1619,1660,1680,1619,1658,2040,2190,2226,2579,2968,3050,2792,2629,2909,3017,2744,2618,2611,2678,3458,3848,3382,2879,2427,2208,2642,2733,2108,2122,1704,1619,1828,2296,2278,1844,2048,1734,1445,1637,1997,2337,2737,2352,2141,2220,2290,2305,2028,2075,2200,1990,2187,2549,2640,2530,2430,2558,2482,2588,2828,2397,1847,2119,2145,2022,2126,2765,3122,2539,2328,2159,2245,1891,1696,1792,1978,2452,2796,2352,2410,2333,2111],[2070,2115,1984,2185,2176,2002,1791,2179,2534,2042,2553,2300,1930,1631,1534,1888,2105,1826,1893,1938,2178,1998,1393,1288,1569,1888,2157,1807,1824,2259,2371,2235,1965,1628,1321,1547,2220,1920,1726,1571,1687,1827,1802,1816,1694,1555,2018,2487,2594,2311,1885,1831,1870,1721,1369,1294,1498,1936,2197,2014,1763,1547,2120,1538,1624,2226,2196,2059,2145,2563,2754,3364,3466,2553,2260,2337,2131,2154,2778,2798,2935,2734,3096,2902,3165,3853,4196,4029,3816,3547,4156,3362,2508,2699,2665,2473,3122,3317,2899,2169,2052,1847,1937,2095,2081,1984,1809,1703,2074,1954,2079,2129,1758,1477,1414,1564,1742,2314,2720,2734,2442,2441,2108,2077,2700,3306,3409,2529,2010,2118,2045,2056,2084,2253,1903,1587,1743,2025,1935,1774,1814,1530,2076,3198,3181,2443,2081,2242,2201,2079,2194,2059,2729,3252,2514,1793,1525,1400,1676,2199,1688,1588,2252,2165,1897,1701,1606,1350,1369,1569,1891,2076,2068,1932,1790,1963,1993,1713,2143,2259,2651,2453,2840,3139,2718,2307,2424,2104,1941,2376,2977,2513,2359,2791,1764,1533,1716,1831,2083,2310,2211,2230,2421,2002,1937,2008,2514,2778,1909,1743,1958,2241,2765,2637,2337,2196,1781,1931,2099,2479,2396,2473,3216,3242,3039,2105,1603,1868,2381,2601,2771,2691,2623,2966,2764,2324,2129,2306,1936,1855,1914,2410,2806,2250,1843,2106,2033,2467,2641,2871,3655,3355,2411,1975,1665,1455,1363,1769,1976,2001,2132,2150,2666,2841,2715,2282,1800,2541,2195,1582,1632,2059,3023,3662,3630,3188,2830,2734,1784,1835,1833,2365,2703,2453,2865,2529,1980,2010,1539,1592,1996,1846,1814,1993,1964,1753,1724,1865,1811,1745,1583,1380,1440,1575,1763,1963,2348,2437,1918,1560,1824,2344,2123,1721,1926,1879,1765,2095,2778,2743,2985,2545,2553,2612,2513,2769,2344,1690,1895,2205,2155,2181,2344,2402,2753,3209,2284,1940,1903,2666,2458,1627,1718,2081,2497,2333,2144,2309,1868,1273,1752,2110,1791,1873,2129,2092,1818,2170,2273,1947,2288,2234,1684,1716,2343,2303,2215,1803,1550,1570,1471,1508,1707,1655,1588,1769,1581,1588,1602,1586,1404,1542,1653,1565,1422,1282,1289,1396,1347,1502,1327,1636,2198,1897,1575,1439,1412,1065,1038,1709,1948,1721,1958,1825,1696,1419,1765,3393,3281,2879,2745,2714,2936,3083,2608,2090,2359,2714,2675,2232,1569,1340,1324,1260,1263,1273,1227,1202,1250,1247,1289,1369,1425,1295,1367,1397,1298,1298,1318,1400,1510,1468,1322,1821,1976,1912,2025,1644,1325,1291,1306,1339,1342,1465,1416,1367,1337,1387,1396,1325,1383,1811,2405,2001,1532,1526,1362,1397,1338,1847,2784,2963,2588,2049,1682,1656,1744,1655,1534,1656,1484,1640,2279,2924,2812,2305,1980,1813,1715,1828,2125,2337,2338,2306,2024,1878,1768,1871,2275,2142,1980,1978,1961,1967,1818,1434,1170,1518,1915,2288,1968,2149,2555,2713,2260,1609,1278,1469,1635,1537,1508,1282,1343,1486,1716,1838,1777,2136,2878,2692,1896,2016,1830,2164,1963,1772,1463,1482,1609,1568,1612,1629,1511,1543,1560,1696,2277,2560,1737,1437,1352,1433,1529,1874,2210,2843,2399,1831,2271,1979,1590,1566,1466,1568,1547,1491,1470,1507,1600,1720,2146,2087,1660,1694,1547,2032,2183,1699,1534,1863,2431,3061,2636,2507,2503,2544,2113,2285,2840,3642,4135,4252,3738,2988,2908,2632,2551,2518,2537,2674,2398,2057,2136,2801,3378,3292,2524,2161,1620,1726,1657,1775,2643,2852,1997,1218,1240,1408,2032,2395,1975,1923,2171,1838,2223,2922,2420,1695,2088,2495,2258,2446,2655,2942,2318,1937,1638,1601,1697,1743,1930,1975,1970,1874,2438,2348,2089,2322,3097,2923,2812,1842,1736,2024,1872,1843,1553,1886,1745,1434,1517,1382,1462,1510,1448,1661,1694,1609,2036,2676,2625,2153,1912,1856,1525,1525,2109,1918,1693,2232,2567,2364,1933,1661,1519,1534,2022,1877,1738,1601,1464,1273,1369,1415,1326,1314,1394,1401,1297,1350,1386,1390,1352,1381,1390,1476,1466,1351,1356,1322,1466,1535,1360,1710,1799,1450,1607,1370,1747,1488,1509,1406,1368,1371,1369,1517,1608,1596,1725,1998,2352,2675,1770,1992,2304,1871,1701,1660,1693,1859,2157,2621,3561,4236,4082,2885,2307,2144,2482,2856,2722,2736,2646,2238,2348,2310,2230,2028,1866,1903,2382,2643,2542,2002,1858,2091,2084,1851,1839,2150,2047,1944,2042,2065,2130,1777,1565,1546,1565,1597,1688,1559,1505,1643,1593,1416,1522,1320,1397,1490,1424,1428,1444,1295,1173,1263,1299,1338,1300,1325,1402,1473,1500,1462,1433,1362,1355,1383,1279,1257,1193,1143,1137,1162,1241,1415,1247,1067,1096,1278,1546,1924,1685,1261,1571,2096,2016,1738,1432,1717,1538,1526,1638,1368,1246,996,1390,1819,1808,1905,1814,1777,1552,1438,1788,1903,2020,2164,1672,1471,1434,1307,1382,1647,1558,1365,1344,1588,1417,973,939,1054,1172,1507,1994,2123,1692,1650,1975,2267,2044,1103,1466,2349,2207,1989,2106,2312,1568,1482,2473,2458,1953,1686,1741,1555,1511,1771,1571,1638,1731,1307,1968,3317,3530,3130,2754,2255,2473,2570,2632,2408,2212,2304,2481,2338,2182,1889,1646,2002,1684,1480,1924,2026,2281,2413,2347,2234,2065,2173,1842,1550,1918,2137,2173,2382,1852,1244,1761,1903,1582,1302,1393,1619,1646,1606,1670,2250,2938,2662,1992,1873,2646,3285,2016,1520,1869,1389,1326,2445,2455,1439,1463,1868,1710,1264,1768,2176,2111,1852,1647,1442,1445,1454,1724,2177,1814,1670,1862,1799,1770,1643,1604,1245,1354,1572,1766,1885,1723,1648,1812,2159,2259,1783,1404,1389,1033,932,1043,1089,1709,2071,1746,1576,1798,1898,1995,1892,1791,1754,1585,1483,1498,1650,1595,1825,2166,1761,1682,1978,2488,2688,2545,1863,1946,1858,1784,1766,1483,1341,1018,1166,1473,1570,1596,1828,1963,2086,2108,2129,1972,2106,1798,1154,1407,1356,1571,1920,2267,2083,1300,1185,1682,1667,1355,1304,1594,1694,1618,1568,1627,1742,1794,1958,1891,1754,1308,1352,1353,1415,1692,1845,1732,1238,1899,2370,1908,1547,1442,1317,1511,1541,1650,1650,1785,1819,1571,1411,1451,1572,1549,1679,1844,1538,1572,1466,1227,1193,1211,1211,1215,1098,1312,1926,1785,2077,2021,1870,1815,1710,1570,1702,1708,1626,1688,1573,1312,1527,1830,1672,1436,1359,1395,1419,1441,1681,1816,1707,1565,1422,1586,1419,1486,1427,1453,1405,1439,1530,1313,1077,1371,1605,1470,1529,1652,1704,1584,1556,1919,1778,1468,1362,1413,1530,1505,1419,1594,1638,1463,1249,1239,1372,1391,1192,1490,1405,1275,1485,1367,1406,1526,1504,1454,1487,1529,1735,1545,1418,1357,1448,1502,1361,1415,1426,1442,1557,1582,1512,1492,1458,1299,1327,1401,1303,1262,1271,1338,1427,1270,1207,1225,1277,1038,984,1062,1132,1224,1360,1328,1354,1247,1170,1284,1445,1587,1783,1714,1565,1646,1489,1393,1631,1687,1672,1714,1673,1477,1377,1327,1289,1130,1106,1137,1162,1168,1236,1551,1525,1505,1510,1283,1196,1194,1282,1120,1315,1277,1382,1522,1580,1486,1642,2348,2357,1676,2363,3499,3792,3786,3662,3231,3002,2569,1899,1745,1525,1523,1708,1875,1793,1542,1549,1518,1474,1367,1484,1391,1526,1759,1760,1887,1803,1596,1656,1463,1290,1501,2081,1896,1812,1875,2316,2129,1644,1389,1283,1298,1518,2180,2307,2580,2303,2016,1547,1859,2262,1870,1466,1547,1660,1607,1395,1148,1321,1488,1638,1453,1457,1431,1390,1443,1494,1478,1507,1515,1666,1725,1588,1487,1763,2061,1736,1471,1560,1654,1746,1806,1723,1649,1665,1524,1578,1637,1510,1544,1638,1683,1547,1511,1708,1843,1531,2088,2104,1716,1778,1746,1920,1998,1846,2055,2401,2922,2717,2484,2147,1970,2195,1875,1360,1545,1836,1937,1647,1805,1784,1497,1544,1587,1463,1423,1627,1764,1843,2099,2111,2273,1931,1613,1816,1791,1603,1431,1449,1694,1763,1701,2053,1984,1678,1912,2436,2350,1959,1729,1556,1897,2295,1991,1757,1852,1896,1907,1853,2020,2117,1728,1901,2543,2402,1541,1493,1662,2096,2534,2702,2676,2181,1858,2028,2273,2246,2061,1833,1592,1605,1761,1716,1904,1982,1909,1676,1817,1848,1704,1778,1864,2102,2253,2055,1888,1720,1621,1639,1736,1698,1737,1732,1917,2187,2428,2332,2451,2900,2609,2232,2443,2621,2025,1978,2934,2225,1612,1732,1683,1682,1685,1579,1676,1844,2143,2378,1961,1682,1686,1533,1422,1976,2470,2120,2156,2173,1925,1888,1820,1953,2134,1987,1728,1607,1531,1467,1598,1804,2115,2019,2037,2477,3219,2162,1765,1680,2115,2174,2078,2301,2656,2837,2556,2509,2457,2622,2648,2951,2801,2042,1887,1655,1662,1663,1544,1677,1987,1959,1891,1858,1953,2062,2050,1824,1954,1972,1816,1692,1582,1593,1802,2328,2126,2397,2398,2415,2130,1947,2369,2165,1909,1736,1954,2160,2291,2863,2730,2493,2852,2786,2657,2979,2520,1782,1798,2339,2522,2338,2094,2023,2132,2192,2292,2237,2078,2240,2358,2802,2920,2831,2465,2202,2243,2182,2109,1907,2441,2132,2092,1776,1844,1834,1690,1680,1719,1945,2017,1747,1831,1945,1836,1405,1979,2532,2578,2388,2592,2487,2302,2322,2219,2533,2543,2398,2062,1769,2049,1953,1646,1571,2315,2338,1803,1676,1649,1901,1872,1810,2011,1932,1672,1559,1475,1568,1995,2144,2158,2345,2715,3139,3211,3349,3278,3030,2612,2969,3144,2956,2698,2514,2497,2464,2617,3218,3498,3088,2322,1763,2248,2760,2198,2023,1839,1594,1542,2154,2253,1741,1635,1703,1749,2338,2454,2458,2624,2487,2299,2116,2359,2508,1968,2120,2493,2868,2826,2676,2902,2778,2528,2420,2222,2076,2373,2111,1806,2024,1759,1751,1893,2244,2251,2226,2145,1909,1948,2042,1876,1707,1928,2452,2611,2656,2724,2110,2113],[1663,2065,2418,2828,2319,1980,1379,2015,2414,2553,2910,2632,2265,2055,1788,1952,1796,1227,1891,1708,1820,1811,1686,1331,1423,1886,1866,1545,1609,1731,2088,2282,1931,1721,1616,1980,2040,1831,1627,1379,1433,1690,1870,1886,1804,1471,1838,2084,2459,2313,2331,1909,1841,1777,1743,1751,1451,1711,1638,1718,1632,1512,2258,1592,1682,2181,2315,2258,2156,2543,2938,3156,3222,2511,2250,2312,2462,2463,2492,2500,2669,2446,2708,2921,3086,3584,3933,3332,2806,2699,3971,3114,2792,2714,2100,2358,2920,3012,2544,2352,2430,1901,1858,2085,1727,2024,1952,1870,2128,1869,2053,2220,1750,1788,2137,2017,1786,2091,1960,1780,1756,1854,1688,1982,3282,4002,3230,2142,1696,1830,2022,2057,2421,3077,2469,1954,1889,1714,1914,2316,2268,2148,2710,3164,3334,2778,2476,2482,2266,2096,2273,2137,2640,3155,2878,2161,1693,1658,1898,2032,1400,1531,1829,1969,1762,1728,1852,1512,1296,1203,1494,1792,1996,1992,1841,1916,2250,2790,3068,3061,3037,3029,3195,3393,2872,2222,2144,1618,1992,2696,2994,2501,2315,2322,2069,1982,2106,2106,1864,1666,1864,2104,2460,2319,1841,1585,1964,2042,1435,1432,1839,2309,2430,2040,1872,1882,1884,1996,2474,2788,2204,2436,3408,3228,2646,2213,2228,2403,2406,2540,3032,2566,2186,2533,2945,2574,2106,2103,2057,1991,2135,2786,2902,1918,2098,2330,1775,2066,2436,2723,3262,2976,2513,2349,2070,1789,1731,1853,1716,1704,1866,2220,2221,2099,2450,2120,1787,2214,1970,1749,1917,2089,2951,2951,3145,3013,2512,2713,2391,2622,2614,2791,2800,2900,3013,2253,1795,1888,1498,1609,1923,2024,1912,1946,1901,1784,1918,1779,1874,2336,2182,1942,1836,1664,2018,2495,2713,2276,2133,1754,1382,1538,1551,1759,2180,1887,1688,2100,3042,2877,2564,2398,2149,2152,2255,2389,1977,1912,2107,1795,1640,1447,1523,1917,2466,2911,2127,2110,2092,2276,2322,1615,1534,1947,2578,2271,2236,2157,1636,1426,1770,2008,1744,1882,2310,1842,1549,1540,1772,2155,2348,2025,1620,1580,1721,1438,1348,1418,1556,1647,1541,1866,2018,1593,1682,2148,1695,1524,1625,1556,1487,1582,1516,1380,1280,1103,1146,1425,1186,1338,1470,1581,1371,1658,1543,1727,1552,1559,1615,1844,1808,1577,1740,1702,1643,1566,2172,3341,3454,3043,2803,2865,2659,2312,1936,1685,2105,2279,2232,2118,1591,1405,1219,1230,1473,1485,1336,1290,1345,1324,1322,1279,1637,1316,1572,1450,1388,1575,1519,1350,1626,1604,1488,1543,1511,1725,2042,1767,1332,1262,1282,1329,1498,1561,1479,1463,1494,1544,1583,1326,1277,1337,1464,1460,1406,1450,1456,1507,1673,2230,2624,2532,2198,1570,1394,1655,1654,1562,1859,1912,1836,2204,2305,2245,2231,2165,2110,1920,1866,1885,1664,1923,2304,1948,1823,1998,1952,1948,1997,1920,1910,1796,1782,1894,1870,1480,1925,2220,2215,2180,2153,2029,1976,1956,1624,1453,1510,1527,1488,1833,1581,1340,1487,1482,1632,1758,1730,2207,2900,2833,2110,2008,1584,1695,1444,1365,1482,1712,2018,1880,1552,1636,1518,1435,1512,1928,1747,1776,1483,1395,1362,1394,1578,1665,2139,2510,1887,2035,2336,2117,1588,1404,1508,1516,1526,1549,1556,1555,1390,1686,2415,2232,1947,1785,1704,2829,2930,1997,1520,1936,2996,3488,2908,2088,2720,3471,2736,2566,2041,2829,3802,4153,3882,3307,3168,3160,3056,2664,2634,2810,2563,2145,2096,2515,2780,3118,2568,1940,1510,1271,1339,1831,2786,2930,1965,1703,1634,1669,2161,2144,1908,1920,1923,1796,2088,2690,2666,2257,2790,2562,1865,1858,2050,2243,2094,1937,2149,2270,1965,1747,2010,1881,2028,2120,2755,3308,3528,2642,1925,2039,2015,1849,2192,2226,2214,1895,1743,1988,1799,1603,1570,1725,1985,2134,2066,1833,1773,1914,2225,2381,2197,2127,1743,1615,1744,2297,2580,2148,2038,2482,2511,1855,1755,1854,1995,1749,2042,1682,1402,1372,1260,1176,1454,1679,1448,1318,1403,1564,1345,1328,1371,1393,1434,1456,1493,1416,1250,1285,1372,1426,1320,1377,1366,1600,1709,1621,1522,1398,1402,1369,1373,1389,1477,1572,1456,1544,1356,1561,1859,2062,2492,2458,1882,2174,2126,1897,1940,1870,1778,1889,2104,2874,3457,4076,4108,2866,2072,1863,2318,2298,2121,2665,2497,2236,1991,2056,1896,1933,2057,1951,2098,2655,2836,2373,1964,1747,1930,2071,2099,2151,2089,1937,1698,1816,1554,1377,1514,1560,1817,1917,1682,1542,1558,1618,1675,1657,1657,1401,1335,1394,1426,1560,1576,1204,1195,1241,1305,1257,1298,1327,1326,1367,1252,1197,1329,1402,1366,1279,1306,1340,1180,1272,1326,1188,1313,1386,1532,1344,1200,1534,2160,2494,1866,1282,1738,2227,1732,1525,1994,1913,1462,1852,1843,1693,1743,1437,1362,1704,1930,1803,1703,1688,1444,1377,1385,1500,1983,1982,1628,1439,1202,1319,1692,2418,2164,1365,1432,1713,1560,1197,1022,1070,1282,1607,1670,1779,1662,1588,1718,1736,1543,1289,2008,2537,1886,1466,1703,1693,1406,1711,2281,2081,2264,2023,1777,1412,1339,1572,1294,1368,1449,970,1522,2792,3189,2929,2340,1900,1998,2374,2578,2418,1992,2075,2518,2468,2532,2193,1913,1754,1644,1672,1822,2105,2328,2322,2306,2330,2213,2296,1842,1377,1713,2519,2579,2522,2313,2185,2730,3022,2309,1714,1607,1429,1504,1648,1700,2429,2541,2070,1715,1655,2335,2916,2013,1544,1868,1634,1492,2198,2187,1536,1742,2164,1948,1524,1794,1971,1736,1889,2054,1783,1372,1384,1730,1858,1789,1737,1915,1571,1532,1633,1417,1188,1292,1317,1572,1866,1901,1692,1733,2027,2502,2177,1632,1447,1220,1144,1194,1366,1776,1874,1368,903,1537,1891,1996,1865,1973,1886,1808,1833,1680,1606,1576,1658,2280,1825,1736,2116,2426,2452,1947,1480,1623,1673,1624,1492,1754,1912,1477,1439,1537,1601,1725,1636,1396,1335,1542,1755,1744,1939,1693,1140,1412,1418,1810,2122,2429,2098,1159,1307,1878,1877,1848,1763,1544,1569,1686,1668,1783,1688,1715,1758,1897,1816,1604,1720,1644,1441,1445,1576,1434,1287,2254,2172,1754,1622,1434,1230,1378,1574,1602,1873,2223,1667,1452,1805,1996,1927,1636,1613,1736,1716,1680,1421,1202,1250,1211,1115,1062,1235,2264,2333,1614,1674,1860,1731,1824,1930,1746,1470,1405,1531,1720,1723,1361,1363,1667,1599,1496,1481,1489,1365,1450,1747,1889,1997,1811,1566,1854,1438,1348,1310,1334,1288,1406,1424,1312,1380,1556,1508,1606,1626,1675,1389,1090,1344,1822,1778,1532,1467,1601,1672,1506,1293,1333,1312,1325,1277,1362,1259,1250,1180,1272,1481,1829,1639,1501,1619,1792,1677,1496,1294,1275,1641,1598,1401,1326,1455,1475,1792,1992,1599,1616,1800,2120,2151,1664,1354,1202,1183,1206,1237,1365,1285,1303,1426,1305,1159,1216,1235,999,1108,1123,1282,1308,1311,1270,1206,1240,1226,1278,1568,1655,1669,1306,1378,1550,1411,1429,1621,1510,1390,1668,1908,1590,1376,1378,1262,1240,1252,1229,1330,1344,1421,1699,1583,1506,1418,1225,1256,1351,1405,1748,1865,1394,1444,1416,1266,1302,1764,2305,1893,1759,3193,3792,3848,3827,3488,2946,2614,1999,1769,1576,1466,1614,1745,1866,1794,1594,1483,1425,1372,1314,1412,1338,1552,1854,1633,1607,1751,1579,1697,1572,1404,1691,2037,2032,1969,1962,2199,2119,1739,1620,1586,1548,1610,2343,2450,2832,2482,2038,1588,1840,2237,1971,1590,1632,1710,1876,1558,1305,1560,1454,1408,1510,1639,1530,1470,1486,1321,1365,1426,1460,1509,1607,1686,1856,1964,1839,1571,1565,1748,1802,1853,1749,1810,1886,1822,1434,1425,1476,1576,1760,1782,1553,1460,1572,1904,2040,2249,2858,2309,1773,1818,1886,2521,2532,2015,1925,2330,2653,2357,2654,2309,2148,1904,1838,1729,1596,2061,2081,1925,1983,1809,1736,1623,1403,1644,1795,1659,1650,1786,1862,2206,2300,1943,1684,1694,1832,1752,1507,1768,2178,2342,2147,2533,2084,1592,1648,2080,2339,2173,1802,1587,1726,1678,1593,1863,1876,2208,2059,1707,1938,1876,1786,2100,2050,1782,1502,1810,1640,1976,2320,2486,2430,1999,1866,1854,1825,1840,1782,1693,1665,1729,1932,1760,1715,1657,1641,1686,1826,1743,1683,1627,1628,1844,1950,2019,1892,1627,1589,1655,1710,1776,1591,1561,1908,2576,2840,3007,2919,3477,3567,2769,2292,2258,1845,2029,2221,1875,1803,1557,1607,1609,1643,2018,2448,2493,2218,1918,1634,1679,1837,1595,1526,2063,2172,2030,2372,2687,2446,2226,2164,2226,2234,2023,1738,1709,1744,1688,1698,1787,1902,1892,2229,2823,2938,2182,1655,1775,1837,1667,1552,1760,2250,2713,2625,2595,2501,2616,2832,3068,2451,2188,2145,1951,2136,2037,1881,2031,2197,2207,1908,1772,2116,1867,1836,2118,2115,1912,1759,1852,1628,1635,2154,3006,2203,2030,1942,1904,1744,1768,1988,2286,2543,2230,2204,2198,2086,2264,2661,2806,2723,2634,2719,2971,3073,2484,2126,2510,2311,2019,2020,2006,2228,2107,2397,2496,2337,2496,2468,2656,2817,2588,2202,1810,1989,1953,1784,1785,2018,1892,2200,2042,1638,1421,1470,1534,1606,2275,2053,1849,1675,1843,1924,1622,2098,2476,2444,2233,2358,2334,2275,2432,2103,1936,2091,1915,1710,1878,1976,1915,1893,1933,2229,2212,1885,1775,1923,2216,1907,1627,1578,1875,1792,1603,1829,2178,2310,2448,2592,2634,2646,2996,3119,3377,3054,2742,2762,3038,3232,3167,2866,2868,2689,2570,2369,2823,3515,3227,2718,2112,2362,3103,2815,2121,1722,1553,1510,1796,1897,1525,1588,2008,1974,2332,2682,2624,2379,2313,2413,2473,2814,2588,2110,2602,3196,3178,2648,2238,2678,2863,2508,2519,2412,1992,1924,2032,2342,2203,1545,1725,2263,2237,2168,2080,1743,1771,1872,2041,2064,1728,1469,1591,2154,2429,1928,1663,1978],[1521,1882,2382,2344,1948,2290,2056,2204,2498,2146,2193,2605,2621,2701,2418,2081,1741,1433,1537,1743,1821,1886,1932,1684,1608,1946,2036,1816,2004,1878,2122,2458,2056,1815,2287,2292,1605,1456,1542,1618,1637,1704,1630,1463,1521,1395,1774,1931,2426,2588,2320,1881,1926,1994,2050,1781,1359,1395,1236,1726,1694,1760,1892,1509,1489,1944,2348,2381,2340,2464,3164,3498,3295,3187,2929,2570,2698,2509,2423,2879,3052,2940,2788,2729,3067,3262,3775,2837,1821,2213,3242,3107,2984,2415,2062,2414,2676,2470,2160,1715,1447,1824,2289,2847,2500,2365,2304,2130,2379,2685,3006,2889,2225,2237,2769,2754,2275,2245,1841,1581,1699,1663,1664,1918,2531,2720,2209,1926,1750,1758,1795,1966,2021,2318,2117,1841,1869,1652,1853,2533,3168,2968,3470,3703,3662,2898,2611,2503,2296,2459,2586,2242,2300,2569,2586,2438,1897,1859,1735,1997,1805,1838,1732,1943,1717,1931,2224,2398,2393,1717,1834,2135,2018,2069,2192,2169,2540,3133,3113,3003,3061,3061,3052,2976,2571,2103,2243,2220,2240,2432,2371,2090,2490,2454,1970,1820,2062,2010,1748,1312,1393,1678,2199,2597,2026,1676,1691,1672,1547,1514,1500,1705,1862,2038,2266,2170,1929,2125,2928,3122,2803,3260,3698,3154,2046,2028,2671,2878,2806,3122,3250,2762,2611,2890,2552,2297,2392,2490,2652,2418,2316,2765,2415,1800,2138,2481,2298,2323,2100,2285,2861,2746,2241,2052,1885,1857,1692,1650,1654,1740,1593,1748,1497,1504,1960,2319,2915,2908,1987,2062,2088,2123,2878,2558,2922,3083,2958,2652,3084,3671,3013,2370,2218,2091,1963,1975,1609,1942,2226,1857,1942,2089,1908,1873,2073,2174,1896,1780,2126,2347,2305,2172,2194,2044,2282,2456,2200,1776,1933,2106,1730,1642,1725,1969,2338,1736,1489,1898,2179,2124,1882,1879,2176,2021,1659,1764,1685,2289,2129,1908,1740,1396,1430,1694,2077,2367,2189,1887,2062,2418,2423,1735,1809,1801,1929,1981,2354,1995,1494,1319,1407,1617,1537,1736,2026,1922,1759,1909,1677,1619,1518,1597,1508,1454,1417,1364,1525,1697,1610,1749,1839,2343,2318,1780,1815,2014,1720,1738,1823,1671,1792,1648,1494,1494,1412,1380,1664,1562,1510,1203,1738,1691,1744,2029,2203,2093,1687,1570,1831,1837,2339,2306,1874,1704,1730,1920,2447,2965,2815,2401,2518,2309,1711,1613,1484,1774,1998,1823,1795,1818,1544,1336,1170,1342,1616,1572,1568,1547,1511,1562,1438,1399,1724,1532,1584,1698,1498,1532,1523,1404,1774,2110,1749,1509,1393,1521,1905,1596,1432,1318,1238,1386,1572,1542,1585,1571,1545,1486,1530,1273,1304,1300,1419,1468,1414,1425,1521,1592,1816,2047,1947,1551,1438,1311,1484,1747,1808,1659,1727,1988,2415,2559,1925,1625,1789,2086,2109,1803,1852,1648,1622,2000,2300,2106,1924,1898,1844,1734,1725,1747,1747,1759,1699,1986,2104,2032,2358,2697,2512,2270,2242,1585,1372,1362,1401,1425,1193,1236,1551,2249,2039,1640,2010,2018,1583,1688,1899,2169,2440,2413,2334,2123,1782,1735,1512,1428,1422,1389,1572,1716,1443,1604,1493,1535,1616,1758,1471,1433,1356,1293,1346,1521,1751,1728,1804,2029,1686,1508,1769,1701,1438,1478,1624,1870,1821,1636,1756,1680,1743,2056,1837,1969,1857,1915,1751,2559,2987,2360,1749,2283,3245,3420,2636,1773,2242,3587,3391,2687,2488,3084,3815,4176,4384,4208,3854,3511,3388,2744,2524,2778,2707,2168,1947,2071,2142,2774,2814,2160,1699,1253,1393,1401,1662,2231,2081,2030,1868,2064,2083,1692,1538,1686,1561,1699,2064,2757,3270,3658,3872,3002,2187,1843,1963,2134,1744,1571,2126,2294,1985,1774,2018,1867,1898,2194,2979,3908,3996,2728,1627,1920,2122,1755,1904,2165,1961,1875,1927,1897,1782,2039,2109,1833,2008,2225,2625,2233,2535,2681,2710,2746,2758,2564,1990,1865,2095,2156,2082,1901,2132,2437,2581,2268,2293,2104,1975,1835,1820,1563,1432,1529,1516,1469,1576,1580,1310,1300,1456,1667,1636,1467,1377,1335,1343,1429,1493,1422,1351,1346,1428,1689,1539,1620,1578,1684,1643,1769,1683,1407,1525,1780,1757,1554,1647,1992,1495,1384,1418,1631,1882,1863,2254,2131,1906,2256,1882,1760,1892,1863,2017,2077,2381,3730,4356,4416,3898,3626,2894,1712,1634,1595,2021,2383,2732,2304,2237,2701,2173,2286,2334,2029,2153,2331,2386,2525,2298,2069,1863,1825,1958,2076,1999,1934,1956,1864,1814,2062,1864,1559,1581,1886,1677,1512,1742,1802,1814,1576,1390,1306,1356,1439,1471,1608,1509,1220,1282,1291,1371,1320,1278,1241,1200,1198,1162,1164,1235,1260,1215,1276,1305,1311,1237,1281,1599,1521,1528,1716,1700,1469,1581,1780,1898,1858,1286,883,1301,1284,1221,1840,2049,1393,1181,1633,2053,2244,2447,1931,1751,1704,1688,1680,1591,1211,1246,1553,1684,1754,1528,1519,1463,1525,1257,1393,1561,2236,1881,1430,1953,1865,1450,1196,951,1279,1769,1790,1333,1066,1021,1182,1549,1648,1675,1833,2102,2264,2046,1848,1981,1879,1638,1936,2007,2137,2266,1663,1659,1824,1880,1676,1342,1605,2055,1820,1800,2329,2433,2274,1698,1747,1887,2420,2757,2482,2056,2380,2886,3374,3586,2797,2249,2003,1653,1807,2074,1939,1843,1901,2318,2716,2078,2361,2657,2087,2172,2278,2024,2600,2846,2235,2534,2965,2243,1973,1832,1610,1794,1924,2106,2496,2293,2077,2093,2250,2837,2884,2155,1888,2184,1771,1602,1967,1939,2046,2240,2089,2191,2054,1962,1945,1769,2061,2208,1870,1550,1638,1854,1748,1819,1685,1656,1561,1583,1574,1278,1347,1455,1517,1611,1881,1844,1663,1633,1748,2042,1892,1616,1592,1388,1327,1492,1611,1548,1279,874,947,1439,1548,1779,1908,1638,1437,1638,1798,1854,1982,1858,1735,2116,2277,1955,1828,1938,2044,1995,1758,1281,1092,995,1396,2009,1830,1666,1807,2032,2101,2212,2258,1350,803,1235,1262,1428,1641,1680,1455,1360,1494,1798,2324,2426,1957,1109,1142,1764,1779,1840,1904,1827,1439,1366,1314,1490,1577,1753,1903,1831,1721,1766,1776,1892,1788,1622,1389,1252,1748,2338,1994,1735,1960,1625,1338,1597,1627,1644,2110,2084,1421,1469,1667,1970,2155,1963,1916,2161,2101,1597,1387,1301,1284,1171,1048,1224,1694,2952,2878,2013,1468,1561,1753,1872,1937,1861,1620,1604,1399,1540,1629,1434,1447,1764,1732,1512,1525,1451,1394,1540,1722,1751,1785,1634,1516,1629,1538,1404,1345,1141,1332,1726,1422,1360,1556,1652,1676,1946,1675,1688,1551,1362,1415,1509,1547,1479,1248,1402,1815,1704,1326,1223,1337,1372,1349,1372,1254,1246,1217,1140,1646,2167,1699,1708,1731,1772,1480,1398,1122,1283,1756,1718,1548,1598,1608,1612,1928,1776,1555,1651,1983,2446,2721,1904,1264,1061,1018,1144,1300,1369,1248,1384,1465,1423,1198,1210,1481,1354,1266,1417,1491,1343,1271,1273,1339,1357,1456,1595,1781,1729,1384,1223,1816,2009,1656,1515,1520,1478,1463,1488,1692,1871,1659,1495,1431,1549,1352,1158,1464,1586,1456,1330,1278,1413,1424,1389,1288,1556,1462,1649,1553,1327,1400,1333,1302,1498,2249,2100,1789,2648,3592,3917,3803,3591,3111,2775,2199,1754,1487,1473,1549,1634,1738,1856,1594,1470,1470,1466,1451,1454,1372,1333,1506,1515,1453,1413,1489,1385,1733,1623,1440,1334,1589,1927,2223,2281,1883,1815,1659,1554,1752,1805,1794,2240,2490,2683,2417,1734,1245,1215,1247,1461,1684,1748,1814,2071,1688,1491,1556,1583,1599,1535,1502,1512,1548,1362,1431,1427,1325,1475,1525,1725,1793,1950,1987,1685,1542,2126,2182,1863,1568,1426,1526,1786,2019,1679,1377,1434,1464,1450,1432,1458,1443,1658,1920,1937,1951,1866,2020,1684,1773,1868,2090,2117,1960,1954,2016,2380,2383,2343,2043,2125,1683,1501,1628,1668,1793,1752,1747,1533,1630,1632,1549,1371,1721,2047,1498,1525,1604,1493,1508,1629,1574,1470,1569,1707,1758,2014,2035,2404,2724,2732,2663,2054,1565,1626,1823,1914,2046,1732,1514,1589,1493,1474,1565,1738,2349,2209,1835,1700,1525,1704,1980,1822,1648,1669,1562,1545,1564,1569,2397,2588,1894,1621,1621,1709,1919,1740,1606,1618,1802,1926,1763,1681,1680,1670,1698,1723,1884,2007,1636,1726,1728,1851,1958,1933,1784,1733,1691,1598,1462,1560,1526,1902,2758,3184,3522,2879,2613,3265,3419,2677,2103,2144,2293,2121,2120,2109,1535,1663,1674,1934,2762,2785,2600,2233,1725,1527,1902,2265,1961,1867,2323,2386,2663,2470,2635,2752,2957,2866,2616,2268,1663,1531,1666,1640,1651,1699,1895,2010,1975,2685,2631,2530,2543,2163,1967,2231,2163,1826,1910,2200,2268,2410,2491,2597,2883,3185,2924,2668,2651,2395,2042,1793,1669,1871,2079,2114,2117,1684,1646,2212,2328,2234,2194,1922,1923,1889,2085,1816,1853,2057,3118,2421,1677,1780,1979,1975,1939,2111,2584,2896,2680,2663,2699,2510,2410,2324,2519,2533,2797,2853,2433,2566,2213,2335,2273,1907,1981,2015,2120,2121,2414,3181,3018,2432,2351,2353,2447,2614,2116,1941,1687,2009,2047,1717,1701,2070,1974,1784,1840,1752,1703,1863,1864,2160,2675,2180,2118,1945,1795,1914,1868,1764,2099,2319,2255,2454,2147,2126,2211,1965,1817,1745,1577,1959,2151,1774,1769,1901,1747,1660,1794,2006,2209,2208,2081,1754,1560,1438,1883,1971,1867,2478,2809,2827,2856,2668,2304,1976,2427,3265,3240,2803,2655,2829,2995,3327,3243,2830,3060,2956,2691,2602,2374,3002,3140,2853,2618,2976,3365,3067,2337,2261,1740,1560,1686,2001,1925,1834,2057,2264,2396,2420,2286,2120,2009,2046,2031,2346,2145,1814,2512,3218,3028,2733,2469,2616,2962,2511,2368,2333,2297,2174,1954,2068,2254,1853,1823,2321,2369,2543,2585,2217,2081,1892,1743,2041,2003,1677,1420,1719,1897,1426,1069,1576],[1951,1892,2073,2240,2181,2540,2510,2367,2591,2396,2175,2496,2950,2708,2272,2065,1990,1741,1817,1919,2034,1982,1619,1542,1543,1895,2424,2140,1754,1375,1592,1948,1930,1788,1800,1438,1343,1379,1553,1900,1794,1557,1396,1354,1508,1969,2062,1939,2214,2360,2031,1506,1688,1839,2155,1627,1454,1496,1611,1504,1564,1797,1970,1800,1536,2104,2442,2077,2028,1838,2330,2810,3587,4046,3510,2597,2690,3032,3370,3503,3009,2944,2661,2755,2853,2951,2896,2143,2147,2835,3155,3196,2954,2308,2555,2844,2283,1919,2021,1696,1640,1694,2578,2679,2532,2558,2227,2077,2138,2373,2580,2387,2203,2665,3452,3759,2700,1907,1743,1507,1580,1837,2186,2319,2308,2058,2246,1664,1592,1892,1787,1828,1920,1877,1689,1562,1406,1731,2754,2920,3239,3089,3746,3941,3149,2494,2462,2539,2569,2856,2809,2552,2544,2656,2676,2375,1920,1969,1822,2120,2079,1824,1696,1895,2424,2644,2635,2397,2094,1690,2011,2383,2159,2051,1936,1904,2173,2634,3124,3204,3112,3134,2963,2447,2355,2230,2288,2024,2163,2295,1903,2102,2222,1548,1546,1719,2285,2476,1758,1668,1659,1581,1704,1746,1741,1677,1615,1526,1411,1445,1555,1810,1714,1919,2547,2850,2554,2448,3088,3177,2746,2603,2941,2670,1805,1822,2322,2720,3260,3542,3575,3281,3000,2786,2188,2058,2496,2646,2557,2192,2155,2994,3195,2158,2498,2537,2418,2399,2097,2134,2792,2779,1760,1626,1742,1940,1882,1688,1626,1837,1721,2000,1783,1497,2247,2756,3121,2658,1619,1920,1920,1912,2402,2656,3144,2979,2366,2252,3260,3411,2474,1877,1543,1497,1727,2487,2073,2566,2886,1996,1568,1676,1602,1696,1919,1849,1316,1603,2225,2530,2175,1792,2018,1967,2192,2120,1613,1786,2444,2575,1995,1733,1536,1756,1857,1755,1614,1556,1242,1357,1721,1627,2014,2264,2129,2240,1819,2155,1889,1935,1731,1470,1459,2035,2472,2309,2266,1846,1816,1908,1749,1951,2271,1973,1741,2266,2529,2061,1603,1449,1740,1734,1476,1803,1592,1727,1620,2069,1847,1706,1711,1598,1729,1738,1700,1674,1758,1974,1748,1790,1884,1898,1710,1634,1808,1802,1714,1733,1665,1615,1615,1388,1260,1250,1475,1556,1454,1405,1345,1591,1672,1525,1657,1846,1896,1898,1710,1561,1701,1866,2701,2799,2330,1883,1607,1833,2254,2663,2792,2567,2605,2256,1615,1450,1584,1670,1575,1577,1584,1546,1488,1373,1322,1352,1527,1532,1526,1629,1826,1863,1455,1418,1616,1638,1648,1592,1356,1457,1437,1344,1796,2366,1942,1728,1813,1995,1752,1493,1500,1367,1210,1346,1655,1528,1501,1365,1345,1312,1545,1455,1441,1744,1620,1328,1472,1881,2013,1980,1957,2337,1971,1588,1381,1359,1484,1514,1646,1557,1372,1653,2209,2312,1866,2128,2490,2569,2279,2055,1998,1823,1799,1870,1923,1923,1945,1979,1872,1581,1625,1659,1729,1569,1768,2075,2236,2274,2365,2430,2287,1996,1897,1859,1539,1230,1373,1500,977,1457,1956,2205,2160,1690,2042,2341,1994,1845,2033,1908,2089,2065,2109,2004,1830,1788,1697,1769,1725,1603,1730,2257,2205,1624,1696,1728,1631,1552,1495,1484,1375,1396,1479,1940,2170,1934,1662,1543,1503,1747,1830,1469,1542,1663,1936,2069,1875,1973,1964,1694,1620,1479,1702,1827,1472,1599,1766,1954,2177,2182,2135,2479,2783,2979,2186,1857,2070,2977,3378,2931,3044,4029,4364,4136,4320,4453,4220,3486,3317,2920,2684,2878,2879,2313,1897,2128,2297,2555,2921,2668,1924,1446,1463,1377,1464,1650,1719,1676,1772,1961,1901,1549,1668,2166,1848,1736,1700,2424,3266,3708,3926,3318,2395,1928,1907,2213,2037,1757,2050,2028,1897,2174,2369,2167,1993,1955,2233,2571,2577,2176,1807,2603,2131,1534,1592,1656,1486,1640,1861,2100,2004,2575,2698,1658,1585,1625,2138,1727,2663,2807,2764,2940,3010,2952,2714,2524,2286,2025,2150,2365,2877,2475,2409,2425,1998,1593,1542,1719,1626,1448,1533,1520,1701,1605,1417,1435,1341,1477,1544,1503,1515,1417,1388,1311,1272,1394,1478,1455,1582,1426,1498,1688,1586,1613,1776,1699,1478,1592,1569,1498,1842,2273,1972,1821,1730,1893,1610,1472,1527,1656,1838,1902,2004,1756,2032,2037,1809,1756,1782,2017,2400,2201,2823,4563,5053,4163,3742,4181,2880,1842,1823,1775,2431,2642,2925,1990,2146,2786,2976,3212,2784,1941,1978,1746,1462,2010,1848,2111,2172,1871,1748,1973,2084,2101,2047,1880,1963,2078,1855,1659,1390,1694,1710,1482,1746,1694,1504,1427,1345,1331,1383,1364,1370,1352,1352,1428,1565,1488,1370,1362,1375,1402,1367,1261,1215,1259,1191,1175,1164,1305,1535,1580,1462,1448,1614,1564,1504,1583,1592,1463,1448,1495,1376,1454,1144,958,1360,1342,1698,1921,1474,1078,1326,2129,2558,2559,2382,1979,1758,1710,1690,1892,1764,1356,1488,1621,1805,1984,1718,1534,1242,1328,1284,1377,1328,1437,1244,1345,1578,1400,1290,1235,1196,1750,2068,1776,1698,1644,1662,1626,1875,1891,1812,1902,1842,2025,2153,2072,1880,1829,1986,1767,1823,2710,2693,1998,1763,2078,2493,2364,1825,2047,2470,2509,2492,2628,2356,2229,2150,2379,2525,2523,2623,2649,2416,2491,2524,2844,2830,2588,2115,2219,2280,2458,2692,2432,2385,2533,2211,2358,1980,1973,2460,2756,2523,2170,2071,2008,1937,1870,2212,2067,1632,1763,1849,1932,2058,2017,2014,2289,2567,2425,2281,2467,2679,2707,2326,2070,2311,2044,2112,2067,1952,2055,2260,2145,2215,2134,1948,2112,1853,1942,1996,2172,2312,2220,2311,2361,1950,1594,1611,1556,1473,1362,1294,1584,1525,1820,1890,1798,1704,1634,1633,1468,1346,1408,1712,1753,1504,1415,1542,1603,1467,1201,1152,1316,1052,904,1446,1964,1831,1512,1351,1510,1577,1809,1953,2025,1983,2168,2174,1924,1787,1773,1728,1763,1193,932,933,780,900,1397,1585,1965,2046,1970,2322,2158,1320,1327,1547,1474,1241,1066,1406,1495,1494,1639,1903,2268,2322,1906,1190,1032,1582,1746,1705,1858,1880,1625,1389,1283,1130,1129,1402,1660,1766,1798,1842,1642,1656,1844,1929,1753,1528,2085,2232,1680,1755,2000,1440,1470,1732,1857,1828,2072,1584,1355,1299,1342,1829,2025,1961,1846,1837,1621,1345,1616,1507,1353,1322,1425,1628,1898,2381,2612,2195,1515,1555,1908,1891,1737,1847,1738,1711,1401,1475,1544,1661,1691,1742,1754,1693,1619,1576,1703,1868,1858,1826,1597,1428,1474,1596,1547,1366,1218,1104,1544,1749,1557,1565,1569,1668,1772,1770,1687,1677,1584,1469,1388,1261,1387,1299,858,893,1584,1998,1559,1245,1484,1548,1387,1356,1423,1410,1283,1252,1390,1669,1514,1447,1439,1377,1293,1276,1268,1490,1751,1792,1619,1551,1534,1500,1489,1680,1775,1889,1897,2216,2251,1606,1215,1055,1084,1281,1418,1352,1315,1543,1500,1432,1248,1587,2181,1957,1447,1584,1691,1508,1482,1611,1583,1565,1634,1716,1648,1377,1355,1395,1579,1875,1765,1382,1487,1562,1640,1610,1555,1760,1765,1718,1526,1375,1255,1243,1354,1638,1672,1404,1337,1335,1290,1247,1387,1785,1910,1806,1459,1355,1278,1305,1855,1841,2354,1832,2455,3297,3543,3715,3615,3023,2549,2385,1970,1821,1643,1688,1822,1854,1921,1708,1376,1449,1649,1482,1368,1445,1387,1374,1526,1643,1798,1456,1353,1345,1612,1698,1678,1673,1700,1807,2052,2343,1824,1637,1709,1746,1717,1757,1858,2085,2100,2178,2178,1889,1734,1598,1359,1334,1512,1648,1762,1554,1388,1455,1447,1505,1741,1848,1814,1777,1837,1412,1410,1439,1530,1605,1848,1932,1769,1942,1931,1694,2002,2840,2612,2287,1899,1678,1544,1577,1708,1673,1545,1412,1409,1366,1572,1624,1394,1512,1692,2044,1764,1670,1694,1555,1685,2002,2176,1976,1884,2228,2479,2957,2968,2238,1792,1689,1521,1642,1662,1487,1625,1824,1923,1503,1514,1644,1556,1466,1836,1786,1499,1712,1776,1604,1454,1784,1717,1399,1556,1433,1501,1603,2167,2218,2200,2640,2721,2193,1599,1423,1433,1431,1618,1506,1488,1553,1720,1578,1420,1682,1936,2002,1970,1556,1556,1711,1775,1779,1588,1569,1491,1321,1201,1575,2116,2143,1855,1761,1693,1894,2040,1722,1666,1638,1744,1836,1889,1859,1776,1827,1913,1715,1878,2010,1725,1741,1784,1964,2033,1990,1937,1853,1804,1641,1609,1819,1699,1945,2451,2688,3049,2579,1968,2577,3020,2410,2209,2459,2341,1840,1833,1832,1986,2325,2063,2292,2414,2288,2659,2454,1873,1683,1749,1922,2049,1954,2371,2736,2624,2389,2264,2188,2729,2963,2470,2077,2000,2071,1846,1990,1903,1602,2026,2192,1901,1613,1781,2752,2965,2734,3059,3279,2357,1932,2151,2417,2482,2788,2723,2519,2935,2959,2680,2291,2105,2343,1647,1601,1864,2000,1853,1929,1924,1898,1851,2055,2195,1987,1969,2194,2042,2098,2062,1825,1632,1695,2166,2140,1848,1735,1777,1855,1770,2019,2661,2799,2742,3111,3437,3284,2928,2769,2553,2254,2567,2564,2202,2393,2207,2128,2144,2282,2066,2200,2745,2729,3064,3798,3274,2347,2144,2183,1995,2109,1985,2107,2195,1885,1832,1854,1674,1881,2037,1912,1719,1830,1684,1490,1924,2599,2666,2321,2063,1923,1501,1593,1957,1880,2167,2434,2293,2256,1920,1892,1821,1687,1648,1467,1381,1773,2110,2046,1655,1468,1446,1527,1576,2037,2238,2074,1931,1832,1648,1422,1542,1608,1982,2575,2534,2543,2906,2783,2289,1982,1938,2635,2644,2304,2768,3162,3129,3451,3271,3191,3007,2916,2963,2950,2585,2762,3000,2923,2955,3398,3377,3076,2364,2588,1970,1678,1548,1686,1666,1655,1835,1965,1973,1953,1924,1846,1706,1826,1859,1610,1743,1976,2261,2967,3322,3286,2939,2918,3016,2246,1964,2284,2222,2162,1784,1986,2453,2293,2066,2222,2187,2259,2731,2206,1891,1985,1771,2054,2181,1956,1668,1566,1633,1562,1507,1581],[2245,2137,1883,1881,1951,2299,1986,1863,2540,2781,2282,1944,2342,2477,1985,1974,2486,2260,1850,1754,1708,1848,1796,1460,1413,2009,2258,1740,1051,876,1470,2055,2060,1774,1384,1333,1477,1366,1434,1795,1895,1619,1459,1488,1489,2177,2480,2183,2206,2334,2042,1512,1558,1624,1850,1497,1610,1886,1864,1531,1605,1764,1947,2217,2034,2242,2432,2050,2014,1742,1921,2530,3011,3033,2539,2359,3007,3284,3424,3024,2667,2507,2474,2254,2286,2496,2175,2364,2635,2454,2306,2604,2808,3122,3410,2845,2023,1758,1988,1909,1408,1663,2677,2997,2778,2435,2051,1866,1670,2042,2396,2149,1969,2502,3112,3454,2604,1817,1652,1763,2089,2408,2131,2221,2731,2509,2193,1771,1657,1757,1615,1775,2239,2082,1788,1713,1936,2979,3264,3375,3521,3686,3550,3027,2379,2278,2414,2608,2655,2855,2756,2574,2520,2668,2714,2437,2011,1940,1819,1926,2181,1825,1799,2539,3083,3231,3552,2317,1552,1580,1768,1990,2120,2062,1786,1664,1898,2309,2435,2299,2705,2784,2186,2237,2563,2049,1985,1946,1870,2059,2187,2316,2236,1728,1858,1979,2311,2310,1964,2002,1924,1700,1620,1676,1624,1795,1957,1761,1538,1398,1666,1669,1749,2361,2835,2404,1752,1947,2504,2658,2758,2623,2674,2476,2212,2070,2035,2499,3334,3733,3307,2523,2508,2510,1708,1833,2079,2259,2181,2208,2360,2554,2697,2645,2510,2014,1924,1971,1839,1880,2419,2404,2156,2166,2050,1882,2344,2269,1938,1924,1757,1876,1849,2094,2783,2878,3325,2544,1824,1802,2033,2544,2736,2828,3016,3088,2386,2078,2654,2406,2609,1907,1607,1598,1946,2886,2809,2548,2130,1756,1625,1556,1482,1806,1881,1925,1732,1908,2427,2557,2040,1945,1867,1816,2346,2338,1583,1655,2126,2268,1975,1598,1487,1728,1906,1900,1802,1528,1127,1353,1621,1863,2461,2557,2754,2762,1985,1901,2159,2418,2247,1898,1644,2032,2408,2536,2211,1659,1702,1814,2042,2009,2083,2188,2248,2384,2420,2143,1906,1753,2211,1958,1870,2041,1847,2111,2684,3063,2127,1725,2155,1972,1988,1748,1595,1728,1887,1907,1785,1975,1869,1455,1494,1637,1493,1313,1469,1505,1911,1888,1261,1324,1335,1263,1790,1695,1431,1426,1381,1364,1311,1384,1631,1850,1591,1556,1627,1509,1494,1925,2380,2258,1848,1592,1430,1794,2340,2648,2844,3167,3023,1948,1431,1509,1540,1335,1346,1456,1451,1439,1507,1403,1376,1318,1533,1705,1626,1528,1516,1574,1458,1331,1353,1393,1599,1880,1534,1552,1422,1466,1923,2584,2344,1749,1917,2182,1770,1326,1428,1508,1281,1431,1798,1690,1644,1499,1423,1256,1470,1572,1675,1565,1231,1209,1356,1908,2308,2234,1826,1964,1761,1534,1359,1375,1526,1482,1512,1397,1195,1378,1937,1885,1720,2439,2437,2374,2127,1953,1918,1899,1977,2027,1894,1759,1810,1764,1512,1282,1678,1763,1758,1692,1849,2083,2221,2267,2105,1592,1765,1627,1543,2169,1769,1554,1991,1863,1741,2514,2996,2769,2424,1957,1759,1779,1758,1842,1764,2019,2545,2195,1903,1918,1837,1914,1806,1823,1826,1897,1971,2842,3300,2869,2226,1792,1850,1954,1966,1526,1475,1678,1693,1742,1624,1566,1679,1569,1610,2120,1978,1548,1461,1543,2073,1923,1815,1951,1810,1680,1438,1391,1752,1530,1413,1699,1848,1438,1566,1729,2005,2351,2337,2706,2447,1832,1835,2404,2659,2696,3095,3892,4252,4163,4193,4248,4208,3235,3032,3255,3116,2799,2602,2489,1997,2088,2260,2497,2839,2600,2037,1521,1383,1480,1738,1986,2043,1784,1704,1642,1700,1392,1772,2150,2049,1825,1715,2095,3129,3790,3825,3208,2326,1979,2125,2248,2244,2099,1877,1899,1856,2239,2196,1866,1937,1970,2396,2181,1624,1627,1846,2557,2145,2071,1981,1584,1526,1898,2404,2346,1962,1995,2099,1610,1504,1415,1865,1558,2518,2849,2601,2820,2920,3221,3438,3210,2639,2460,2389,2612,3117,2590,2215,2012,1767,1593,1476,1460,1366,1421,1458,1437,1796,1837,1586,1419,1350,1538,1479,1353,1461,1421,1334,1249,1296,1372,1498,1463,1462,1402,1394,1383,1729,2204,2233,1788,1448,1509,1384,1525,1624,1789,1891,1807,1565,1496,1636,1715,1593,1740,1875,1877,1892,1612,2183,1996,2054,1940,1979,1980,2033,2113,2981,4193,3927,3673,3841,4144,3139,2115,1791,1958,2445,2587,2088,1581,1559,1790,2381,2989,2641,1491,1508,1042,1044,2115,1871,1775,1902,1979,2299,2468,2077,1902,2044,1958,1995,1965,1620,1593,1824,2005,1763,1640,1733,1459,1298,1341,1382,1215,1201,1360,1361,1234,1324,1716,1864,1607,1445,1432,1477,1354,1266,1221,1250,1393,1287,1213,1267,1323,1672,1721,1430,1357,1516,1555,1425,1491,1763,1614,1327,1274,1355,1296,1137,1331,1184,1528,2156,2098,1748,1621,2055,3024,2975,2707,2060,1781,1743,1902,2524,3415,3163,1765,1637,1641,1672,1901,1733,1492,1416,1529,1352,1265,1392,1464,1765,1741,1549,1433,1564,1503,1969,2306,2077,2110,2526,2577,2343,2208,2216,1974,1763,1767,1706,1898,1896,1673,1587,1741,1545,960,1416,2182,2110,1876,1792,1722,1740,1461,1514,1910,1898,1808,1768,1855,1913,1820,1798,1796,1716,1763,1711,1657,1752,1705,1760,1842,1775,1407,1255,1587,1488,1392,1492,1820,1940,1874,1768,1625,1685,1858,1959,2015,2039,2051,1815,1558,1809,1891,1836,1677,1484,1572,1616,1885,1835,1830,1810,1923,2091,1950,2106,2065,1987,2027,1874,1967,2053,2130,1962,1915,2311,2373,2247,1944,1709,1621,1905,1975,1801,1618,1721,1812,1685,1782,1995,2042,1886,1688,1667,1840,1890,1480,1466,1491,1666,2090,1920,1700,1781,1721,1514,1354,1113,1158,1463,1627,1714,1620,1499,2040,2036,1515,1636,1315,761,998,1524,1721,1838,1743,1659,1718,1512,1545,1775,1897,1703,1466,1647,1818,1824,1681,1736,1593,1077,1088,1060,948,1311,1671,1696,1437,1507,1747,2107,1730,1103,1509,2018,2031,1802,1504,1236,1191,1123,1472,1819,1886,1978,1841,1148,1089,1571,1712,1742,1562,1698,1766,1660,1406,1044,1130,1194,1437,1786,1574,1704,1720,1682,1729,1971,1864,1705,1876,1853,1765,1951,1864,1331,1560,1605,1805,1702,1779,1582,1375,1333,1794,1951,1869,1716,1327,1179,1001,998,1498,1324,1543,1851,2134,1847,1808,1953,1776,1746,1365,1550,1930,1481,1474,1830,1921,1687,1376,1373,1490,1665,1785,1758,1749,1935,1935,1674,1659,1686,1954,1955,1587,1407,1327,1414,1460,1434,1367,1360,1584,1450,1412,1393,1571,1816,1704,1650,1706,1637,1547,1488,1517,1548,1576,1431,1026,937,1402,1874,1564,1439,1711,1678,1540,1528,1560,1404,1353,1333,1383,1409,1436,1603,1535,1429,1355,1413,1409,1383,1700,1866,1601,1468,1648,1722,1730,2066,2287,2070,1582,1431,1261,1092,990,1014,1125,1247,1401,1230,1143,1479,1546,1310,1116,1477,2055,1975,1424,1721,1732,1585,1626,1717,1687,1543,1167,1087,1083,1130,1476,1359,1303,1777,1688,1434,1717,1556,1759,1972,1838,1682,1730,1907,1709,1400,1213,1089,998,1366,1366,1211,1279,1243,1235,1236,1252,1437,1651,1536,1338,1381,1481,1495,1352,1643,1675,2043,3164,3499,3572,3566,3307,2646,2166,1785,1784,1860,1739,1752,1816,1874,1743,1420,1310,1358,1341,1235,1255,1399,1442,1429,1489,1692,1580,1637,1620,1670,1973,2137,2591,2210,1729,1710,1511,1709,1769,1884,1938,2020,2035,2178,2318,1886,1301,1704,1790,2129,2174,1672,1349,1488,1462,1560,1550,1276,1483,1758,1548,1353,1475,1628,1850,1908,1621,1273,1407,1611,1764,1649,1833,1793,1611,1900,1773,1784,2062,2336,2533,2589,2618,2212,1704,1601,1536,1536,1657,1650,1620,1522,1876,1900,1876,1625,1495,1730,1728,1663,1566,1471,1446,1828,2136,2208,1959,2011,2309,2858,2955,2326,2124,1896,1865,1838,1588,1418,1732,1924,1817,1487,1519,1492,1679,1687,1883,1659,1655,1895,1758,1615,1605,1976,1735,1537,1600,1530,1481,1530,1902,1698,1515,1753,2197,2277,1814,1642,1842,1662,1467,1446,1616,1677,1765,1792,1544,1534,1493,1684,1649,1460,1556,1631,1713,1596,1502,1513,1530,1380,1668,2279,2178,1905,1748,1626,1715,2006,1818,1576,1593,1818,1821,1703,1927,1961,1681,1759,1979,1648,1487,1587,1730,1734,1752,1919,2098,2384,2409,2037,1910,1692,1679,1733,1660,1666,1802,2113,2862,2733,2263,2460,2206,1397,1937,1894,1830,1555,1723,1744,1812,2209,2514,2364,1879,1772,1853,1844,1692,1554,1525,1860,1782,1715,1892,1965,1997,2155,2017,1865,2210,2411,2080,2004,2183,2410,2115,2089,1902,2016,2281,2271,2525,2379,2513,3057,2736,2808,3024,3100,2836,2266,2141,2655,2646,2735,2578,1962,2169,2105,2462,2386,2603,2291,1456,1825,2237,2043,1949,1968,2044,2245,2191,2386,2208,1843,2071,2498,2049,2028,2113,1931,1859,1934,2019,2004,1637,1626,1985,1967,2026,2076,2067,2445,3134,3560,3459,3272,3240,3174,2985,2827,2952,2609,2421,2232,2062,1758,2194,2594,2290,2364,2693,2842,3104,3261,2644,2013,2015,2058,1859,1777,2056,2176,2301,2700,2990,2448,1834,1897,2131,2076,1919,1807,1742,1898,2526,2659,2547,2150,1781,1670,1348,1489,1948,2024,1979,1942,2060,1983,2041,2153,1935,1716,1710,1642,1636,1664,1776,1810,1644,1429,1525,1224,1261,1716,1821,1730,1664,1821,1819,1504,1516,1541,1723,2043,1850,2385,2744,2534,2243,1835,1646,2195,2414,2288,2951,3320,2688,2625,2413,2154,2138,2164,2858,3145,2612,2416,2540,2685,2698,3120,2785,2770,2234,2442,2332,2015,1677,1721,1942,1927,1709,1703,1697,1569,1954,2054,1952,1912,2010,1510,1524,2520,3143,2976,2988,3251,3287,2938,2647,2043,1613,2066,2224,1718,1459,1845,2360,2679,2584,2660,2450,2389,2662,2021,1761,1678,1688,2110,2156,2124,1975,1643,1712,1955,2085,1977],[2288,2270,1820,1980,2192,2589,1833,1504,2060,2276,2120,1902,1947,1901,1789,1751,1892,1981,2004,1626,1458,1575,1895,1588,1429,1900,1702,1300,1221,1525,1860,1798,1579,1478,1402,1414,1481,1567,1546,1900,2251,1920,1566,1520,1450,1618,2000,2262,2240,2082,1789,1732,1677,1703,1865,1911,1948,2128,1938,1400,1638,1979,1992,2057,2097,2170,2186,2142,2125,2177,2457,2646,2646,2480,1920,1826,2475,2812,2657,2315,2626,2908,2599,1956,2144,2446,2776,3142,2457,2018,1958,1963,2301,3440,3528,2723,1944,1864,1959,2025,1920,2181,2842,2921,2570,2618,2438,1946,1766,2363,2636,2261,1933,2036,2218,2246,2149,2036,2277,2168,2190,2558,2221,2792,2990,2622,2199,2002,1996,2130,1876,2309,2846,2269,1773,1750,2436,3133,2652,2766,3199,3404,3009,2130,1823,2186,2220,2309,2448,2583,2585,2360,2322,2032,1866,2364,2272,1810,1624,1593,1675,1637,1912,2242,2775,3122,3046,2138,1744,1615,1702,2049,2162,2150,1762,1867,2012,2242,2458,2380,2435,2227,1692,2010,2095,1677,1893,2246,2684,2802,2500,1919,1752,2132,2326,2119,2193,2120,2062,2031,2229,2099,1708,1760,1544,1575,1898,1973,1391,1494,1837,1771,1955,2490,2326,1841,1548,1398,1380,1584,2082,2130,2448,2259,1976,1832,1934,2202,2534,2859,2504,2065,2331,2275,2200,1829,1493,2668,2994,2409,2691,2601,2488,3047,2616,1802,2008,2381,1698,1784,2192,2013,1976,2195,2098,2117,2752,2747,2303,2148,2120,2143,2132,2438,2670,2435,2685,2476,2109,1858,2127,2439,2432,2534,2668,3386,2615,1802,1701,1820,2801,2280,2032,1920,1609,1739,2074,2026,1720,1665,1546,1425,1474,1859,1916,1845,1956,1982,2011,2202,2266,1924,1896,1956,1830,1826,1478,1433,1584,1764,1852,1962,2176,1869,1494,1546,1858,1947,1991,1846,1390,1620,2132,2353,2475,2453,2276,2360,2670,2630,1918,1885,1632,1559,1542,1796,1818,1636,1921,2085,2040,2159,2222,2034,1996,1864,2220,2081,1959,1694,1586,1512,1918,1906,2030,2868,4288,4232,2469,1696,2110,2181,2078,1773,1477,1587,2010,1876,1657,1998,1788,1498,1502,1219,1571,1366,1501,1662,1807,2169,1700,1469,1367,1406,1875,1820,1678,1764,1648,1587,1432,1337,1522,1619,1422,1492,1566,1479,1521,1593,1886,1975,1564,1550,1444,1641,2275,2844,2656,3173,3239,2109,1448,1550,1461,1346,1314,1342,1331,1281,1389,1290,1278,1367,1443,1648,1598,1378,1393,1511,1484,1354,1285,1389,1738,2142,1619,1521,1427,1476,1672,2115,2079,1809,2153,2326,1926,1647,1469,1576,1582,1569,1858,1892,1704,1457,1338,1335,1286,1516,1882,1623,1413,1304,1251,1665,2247,2056,1525,1413,1438,1427,1540,1983,1870,1469,1500,1520,1423,1493,1942,1895,1748,2003,1951,1880,1904,1778,1750,1992,1918,1800,1798,1754,1608,1554,1496,1447,1702,2044,2063,1718,1678,1663,1727,1761,1955,1747,1691,1609,1624,1997,2141,2267,2832,2987,2784,2930,2669,2059,2246,2020,2217,2326,2015,2061,2193,2034,1807,2076,2148,1887,1436,1383,1732,1764,1753,1596,1606,2522,2939,2488,2029,2067,1949,1913,1898,1429,1565,1641,1618,1762,1780,1635,1660,1709,1721,1671,1834,1619,1489,2018,2462,2219,2007,2377,1992,1548,1511,2029,1980,1721,1803,1527,1403,1420,1747,1730,1825,2336,2556,2822,2386,1559,1604,1788,1780,2092,1851,2446,3124,3065,2609,3221,3378,2695,2656,2930,3292,3051,2921,2900,2078,1873,2053,2361,3118,2703,2056,1663,1576,1735,1829,2241,2264,1874,1850,1627,1649,1475,1594,1545,1699,1613,1458,1931,3006,3426,3076,2787,2478,2217,2194,1874,2150,2089,1982,1982,1788,2071,2252,2136,1894,2014,2692,2217,1857,1779,1735,2010,2085,2315,2485,2148,1780,1768,1874,1926,1792,1516,1582,1593,1542,1423,1769,1650,2585,3325,2600,2733,2961,3506,3426,3141,3274,3078,2228,1872,2197,2287,2366,2260,1750,1560,1450,1439,1362,1383,1390,1445,1438,1542,1494,1492,1571,1543,1364,1313,1433,1603,1397,1306,1420,1378,1415,1364,1332,1522,1526,1412,1520,1476,1663,1534,1482,1613,1576,1559,1664,1998,2122,1790,1462,1338,1400,1780,2014,2342,2148,1961,1805,2115,2692,2530,1918,1807,2004,2002,2137,2031,2444,3162,3272,3376,3154,3816,3404,2225,2169,2482,2264,1977,1760,1523,1479,1623,2014,2840,2836,2228,2045,1309,1467,2182,2210,1968,1920,1830,2002,2418,2591,2160,1907,1963,2127,2033,1930,1809,1867,1936,1815,1769,1755,1435,1329,1378,1353,1141,1403,1688,1572,1428,1326,1498,1508,1410,1362,1308,1338,1318,1247,1149,1248,1482,1395,1278,1266,1220,1322,1306,1208,1368,1913,1598,1636,1718,1710,1552,1432,1387,1476,1339,1208,961,868,1777,1948,1759,1907,2232,2732,3191,2790,2237,1832,1729,2049,2849,3804,4164,3250,1743,1830,1889,1921,1968,1628,1271,1273,1607,1701,1396,1312,1538,2116,1832,1947,1765,1660,1770,2198,2226,1898,1886,1803,1659,1642,1738,1743,1586,1476,1678,1549,1757,1924,1846,1954,1973,1648,1268,1696,2430,2372,1876,1847,1699,1861,1550,1884,2150,1836,1549,1679,2023,2000,2051,1942,2075,1642,1562,1201,1222,1777,1833,1657,1588,1476,946,947,1538,1498,971,934,1588,2098,2024,1672,1328,2164,2836,2192,1933,2208,2443,2172,1881,1737,1876,1608,1650,1863,1823,1896,1930,1725,1803,1902,2443,2319,2096,2776,2079,1882,2587,2180,1648,2086,2871,2403,2044,2740,2150,1542,2078,1867,1708,1636,1747,1847,1526,2042,2333,1813,1514,1614,1811,1944,1792,1462,1434,1724,1765,1649,2090,2208,1880,1762,1786,1864,1622,1301,1428,1440,1337,1333,1545,1824,1898,1654,1707,1644,1665,1823,1574,1265,1477,1473,1570,1628,1808,1748,1764,1790,1661,1600,1743,1525,1100,1054,1156,1345,1478,1721,1667,1460,1300,1170,1310,1760,2243,1886,1406,1717,1259,1250,1139,1367,1584,2220,2197,1910,1600,1568,1446,1016,1184,1185,1636,1922,1927,1339,1261,1680,1668,1354,1606,1976,1771,1708,1527,1052,1240,1306,1491,1243,1308,1584,1801,1843,1799,1841,1804,1714,1537,1754,1979,1832,1515,1458,1649,1666,1733,1629,1602,1538,1328,1524,2050,1902,1854,1375,898,743,989,1317,1575,1429,1503,2204,2709,1826,1819,1939,1612,1701,1387,1538,1944,1887,1765,1754,1904,1723,1475,1431,1542,1644,2127,2170,1853,1976,2141,1932,1596,1588,1844,1701,1579,1479,1303,1314,1545,1488,1331,1406,1532,1508,1732,1579,1715,1836,1614,1651,1508,1427,1443,1568,1449,1630,1524,1295,1255,1278,1344,1616,1708,1711,1728,1528,1522,1592,1416,1322,1397,1350,1344,1448,1394,1359,1556,1534,1453,1509,1259,1283,1650,1775,1686,1818,2075,2029,1854,2008,1994,1539,1228,1124,1237,1250,987,1164,1272,1362,1409,1180,1106,1361,1407,1244,1366,1748,1793,1520,1234,1440,1642,1694,1689,1600,1594,1216,796,1296,1737,1783,1614,1394,1385,1639,1374,1520,1723,1561,1779,2024,2044,1758,1438,1716,1790,1522,1285,948,1287,1550,1372,1252,1193,1176,1261,1203,1137,1241,1413,1400,1431,1230,1418,1292,1548,1873,1879,2852,3497,3707,3805,3486,3106,2513,1932,1698,1759,1621,1555,1588,1601,1629,1493,1425,1378,1350,1346,1332,1236,1498,1806,1864,1822,1544,1581,1897,1732,1904,2077,2260,2728,1963,1664,1542,1448,1542,1908,2094,1999,1983,2161,2177,1849,1366,1379,1948,2097,2354,2025,1450,1303,1516,1452,1744,2293,1840,1452,1565,1489,1396,1374,1488,1652,1775,1519,1299,1465,1832,2004,1644,1678,1754,1744,1710,1497,2238,2470,2110,2039,2090,2154,1912,1648,1615,1425,1668,1792,2199,2267,1867,1675,1716,1679,1456,1384,1472,1595,1640,1470,1456,1368,1551,1661,1829,1769,1764,1896,2250,2208,2316,2378,1826,2071,1904,1639,1406,1620,1621,1526,1503,1521,1586,1569,1870,2019,1576,1680,1726,1672,1453,1542,1649,1453,1592,1617,1579,1810,2191,2118,1764,2228,2093,2242,2468,2231,2193,2476,1990,1502,1512,1608,1644,1756,1744,1541,1438,1489,1714,1574,1520,1610,1696,1666,1596,1646,1560,1531,1726,1901,2431,2207,1932,1591,1752,2060,2114,1775,1621,1791,2144,2069,1870,1882,1882,1722,1778,2035,1724,1642,1730,1682,1442,1610,1876,1956,2164,2320,2276,1910,1838,1832,1714,1697,1931,1946,1774,2072,2531,2166,2150,2674,2273,2010,1851,1920,1882,1798,1814,1781,1903,2235,2031,1835,1774,1652,1832,1710,1590,1557,1711,1686,1723,1708,1622,1682,1986,1970,2075,1683,1714,2014,2110,1852,2257,2145,1908,2039,2372,2267,1968,2281,2484,2320,2225,2249,2849,2958,3127,3127,2479,2601,2950,2144,1768,1962,2188,2105,2048,2500,2518,2259,2024,2119,2543,2244,1841,2040,1932,2054,2194,2311,2540,2362,1809,1936,2398,2021,1808,2019,2091,2328,2180,1721,1699,1584,1640,2210,2376,2361,2188,2490,3110,3350,3304,3144,3111,2785,2775,3090,3448,3416,2878,2517,2114,1849,1823,2177,2150,2235,2545,2364,2277,2332,2004,1973,2296,2100,1809,1819,2140,2412,2386,2679,3227,3450,3305,2212,1842,1964,1982,1873,1823,1923,2018,2188,2272,2104,1805,1828,1804,1611,1766,1908,1870,1659,1750,1972,1671,1729,1958,1816,1794,1719,1825,1888,1642,1433,1698,2011,1777,1571,1360,1331,1499,1594,1489,1590,1912,1846,1333,1412,1406,1572,1881,1909,2138,2195,2272,2339,1890,1923,2294,2430,2042,2596,2947,2272,1888,1799,1860,2055,2286,2858,2628,1919,1696,2102,2940,3020,2996,2376,2166,1990,2459,2731,2392,1969,1831,1642,1663,1610,1672,1738,1959,1867,2194,2283,2144,2108,1658,1756,2792,2990,2353,2596,2806,2840,2789,3031,2348,1702,1982,2174,1806,1455,1646,2081,2635,2609,2473,2496,2408,2691,2274,1873,1900,2049,2147,2074,2034,2120,1968,1808,1578,1570,2176],[2497,2114,2080,2352,2198,2142,2062,2162,2591,2286,1841,1771,1795,1528,1372,1619,1926,2078,2431,1939,1490,1662,2007,1649,1522,1674,1584,1404,1509,1881,1835,1609,1606,1465,1608,1765,2060,1963,1707,2459,3096,2217,1609,1442,1361,1547,2091,2177,2121,1817,1606,1636,1505,1411,1688,1941,1851,2160,2461,2025,1642,2163,2621,2321,2291,2525,2228,1884,1930,2151,2440,2530,2330,2286,1906,1844,2128,2212,2387,2207,2974,3654,3084,2415,2392,2306,2708,2986,2411,1999,2166,2396,2876,2902,3196,2956,2403,2509,2966,3141,2603,2504,3151,3283,3278,3072,2598,2030,1841,2355,2518,2127,2083,2164,1911,1809,2167,2110,1906,1760,1644,2311,2360,2844,3035,2566,2403,2391,2453,2733,2228,2269,2049,2053,2040,2075,2433,2063,1715,1994,2242,2467,2834,2395,2135,2813,1895,1955,2563,3265,2931,2837,2434,1769,2244,3089,2698,1852,1735,1525,1503,1607,1737,1541,1945,2094,2028,1838,1730,1756,1827,2204,2147,2194,1609,1913,1694,1843,2320,2006,1879,1948,1559,1598,1987,2052,2044,1987,2192,2604,2186,1644,1733,1885,2108,2099,2225,2451,2440,2320,2846,2579,1910,1768,1463,1475,1801,1681,1324,1777,2178,2204,2347,2405,1992,1685,2309,1991,1434,1499,1437,1516,1915,1779,1533,1551,1761,1995,2250,2564,2822,2829,2698,2429,2811,2247,2554,3024,3083,3061,2675,2284,2428,2875,2755,2023,1730,2024,1654,2047,2395,2523,2156,1903,2201,2458,2834,2603,2153,2055,2178,2149,2176,2596,2509,2016,1807,1978,2069,2000,2282,2078,1626,1887,2336,2792,1775,1566,1591,1815,2272,2232,2386,2183,1450,1357,1399,1445,1611,1490,1681,1588,1456,1587,1905,1904,1785,2115,2325,2367,2323,1875,2005,1801,1674,1670,1677,1703,1754,1840,2080,2623,2398,1917,1630,1655,1771,1877,1963,1960,1823,1936,2127,1916,1896,2074,2137,2213,2155,2152,1790,1765,1644,1569,1628,1768,1658,1521,1752,1853,1903,2363,2476,1819,1639,1664,1989,1999,1710,1425,1382,1599,1691,1724,1775,2414,3516,3194,2022,1869,1678,1642,1581,1386,1314,1571,1998,1755,1405,1254,1250,1490,1625,1498,1894,2052,1826,1998,2002,1767,1627,1670,1456,1427,1672,1688,1623,1625,1543,1633,1373,1398,1506,1558,1462,1683,1669,1511,1703,1653,1778,1949,1855,1602,1600,1671,2249,3274,3160,3176,3167,2370,1580,1450,1346,1346,1359,1353,1310,1260,1372,1310,1223,1328,1361,1443,1329,1227,1330,1339,1310,1328,1412,1581,1562,1841,1857,1689,1412,1339,1383,1643,1691,1630,2386,2187,1935,1926,1799,1596,1673,1714,1638,1757,1719,1387,1629,1787,1422,1715,2527,1843,1462,1336,1289,1483,1770,1549,1247,1294,1357,1458,1686,2122,2026,1851,1739,1844,1796,1821,1945,1911,1838,1863,1773,1677,1780,1589,1824,1936,1719,1615,1808,1520,1401,1509,1333,1373,1670,1955,1690,1455,1329,1847,2058,1912,1995,1919,1847,1936,2048,2580,3188,2700,2729,2776,2344,2377,1978,1485,1781,1913,2653,2967,2443,2417,2497,2399,2328,2379,1997,1868,1676,1557,1472,1559,1634,1481,1670,2170,2022,1586,1554,1762,1496,1448,1444,1315,1437,1582,1810,2361,2167,1594,1678,1738,1738,1574,1897,1411,1717,2398,2967,2815,2397,2238,1866,1641,2026,2511,2139,2126,1948,1549,1641,1588,1694,1698,2430,2844,2453,2375,2178,1436,1504,1627,1259,1546,1886,2004,2203,2030,1989,2269,2582,3134,3041,2863,3392,3551,2952,2718,2272,1929,2160,2352,2868,2501,1941,1815,1714,1492,1570,2026,2381,2081,1794,1598,1653,1772,1754,1549,1725,1866,1640,1913,2473,2278,2258,2484,2453,2049,1771,1578,1580,1730,1824,1788,1703,2027,2404,2249,1755,1708,1841,1955,2106,1640,1452,1844,1921,1925,2022,1897,2181,2216,1955,2167,1914,1499,1569,1612,1560,1558,1703,1649,2376,3185,2566,2496,2654,3433,2656,2644,3068,2873,2400,2185,2699,2964,2829,2599,1712,1433,1484,1472,1442,1415,1438,1489,1393,1512,1623,1617,1575,1393,1308,1262,1406,1623,1444,1330,1352,1332,1543,1708,1473,1393,1461,1461,1459,1475,1648,1440,1390,1400,1376,1434,1742,1906,1910,2128,2046,1539,1668,3467,2746,2274,2019,1962,1824,2181,2743,2375,1576,1660,1762,2000,2167,2182,2543,2832,3487,2763,2447,3141,2565,1852,2587,2645,1936,1737,1870,1349,1508,1807,2588,3276,3783,2981,1955,1802,1828,2030,2162,1949,1969,1816,1067,1247,1837,1990,1837,1700,1887,2035,2045,1986,1902,1988,1987,1845,1656,1449,1392,1498,1450,1345,1664,2011,2003,1656,1325,1432,1457,1422,1306,1197,1267,1317,1208,1138,1298,1455,1351,1300,1279,1271,1184,1306,1384,1478,1598,1575,2010,1815,1669,1739,1698,1509,1450,1385,1216,779,1412,1887,1578,1326,1721,2231,2365,2355,2234,1904,1658,2161,3366,3846,3431,2646,2320,2358,2138,2027,2247,1960,1545,1477,1346,1489,1670,1614,1658,1674,1888,1820,1936,2070,2411,2762,2923,2639,2014,1829,1861,1692,1513,1354,1516,1595,1782,1767,1920,2433,2198,1864,1760,1783,1763,1717,2304,2699,2477,2180,2243,2060,1860,1541,1937,2155,1682,1700,2116,2278,2085,1999,1753,1830,1709,1614,1143,1052,1531,1793,1744,1707,1537,1249,1253,1636,1734,978,1687,1979,1829,1707,1522,1454,2195,2591,2268,1953,2157,2353,2421,1815,1600,1727,1418,1366,1616,1844,1962,1827,1804,1857,1750,2145,1807,1871,2895,2102,1614,2465,2052,1471,2520,3462,2468,1454,2053,1998,1467,2103,2733,2233,1581,2062,2128,1544,2208,2967,2118,1266,1776,2140,1860,1521,897,924,1096,1213,1660,2258,2144,1708,1589,1772,1719,1026,926,1722,1974,1590,1366,1243,1460,1854,1781,1495,1507,1708,1716,1638,1519,1556,1628,2050,1916,1693,1635,1790,1809,1639,1460,1728,1690,1426,1362,1414,1289,1238,1478,1748,1777,1636,1453,1519,1939,2207,1684,1783,2345,1870,1295,1256,1099,1167,1810,1817,1618,1562,1632,1478,1284,1416,1477,1660,1973,2098,1628,1376,1575,1446,1582,2179,2040,1516,1562,1298,1180,1253,1424,1446,1138,1458,1709,1972,1983,1704,1672,1765,1760,1554,1553,1689,1685,1861,2254,2110,1937,1590,1473,1623,1334,1382,1782,1969,1921,1944,1600,1057,909,1471,2128,2201,1709,1315,1783,2778,1900,1873,2197,1974,1911,1577,1519,2059,2568,2170,1735,1614,1643,1633,1629,1609,1820,2398,2534,2195,2039,2045,1741,1425,1528,1461,1395,1270,1278,1368,1374,1461,1381,1200,1396,1512,1450,1533,1640,1754,1600,1366,1357,1431,1424,1357,1562,1667,1557,1457,1333,1234,1137,1270,1650,1807,1704,1553,1461,1536,1529,1545,1509,1400,1451,1557,1631,1593,1644,1757,1387,1564,1714,1314,1272,1655,1801,1701,1769,1992,2060,1875,1416,1175,1160,1091,915,1103,1366,1356,1689,1668,1325,1326,1398,1476,1474,1356,1233,1575,2547,1800,1318,1267,1292,1584,1781,1786,1664,1488,1171,1417,2240,2269,1791,1470,1207,1294,1376,1288,1263,1466,1538,1489,1703,1821,1577,1578,1704,1636,1561,1434,1331,1889,1785,1396,1267,1209,1294,1643,1198,1090,1294,1563,1442,1373,1278,1300,1556,1948,1751,2480,3333,3607,4013,3696,3326,2952,2062,1714,1849,1793,1505,1433,1446,1485,1589,1716,1622,1432,1408,1440,1354,1387,1487,1836,2007,1679,1386,1619,1844,1642,1893,1816,2065,2071,1894,1838,1691,1657,1513,1546,1820,2083,1918,1849,1779,1535,1326,1844,2519,2396,2030,1572,1419,1469,1566,1506,2101,2604,1964,1452,1431,1430,1454,1336,1359,1576,1897,1820,1821,1866,1645,1768,1816,1994,1792,1699,1603,1903,2464,2420,2062,2069,2200,1944,1914,1645,1653,1663,1718,1677,1753,1638,1722,1700,1582,1553,1464,1494,1673,1590,1511,1559,1502,1489,1654,1505,1435,1427,1533,1766,1839,1913,2296,2526,1783,1843,1666,1487,1476,1570,1558,1478,1589,1562,1499,1501,1931,1606,1562,1440,1542,1861,1991,1931,1585,1454,1474,1410,1546,2323,2742,1772,2032,2687,2642,2579,2644,2403,2256,2436,2405,1886,1669,1605,1597,1609,1490,1541,1827,1685,1595,1490,1427,1541,1669,1656,1571,1545,1600,1754,2136,1934,1884,1709,1580,1517,1599,1787,1956,1705,1867,2409,2675,2352,2055,1919,1785,1722,1732,1824,1715,1555,1608,1572,1732,1918,1898,1915,1956,1945,1909,1830,1956,1941,1692,1834,2306,2170,1734,1804,2156,1947,1979,2851,3262,2670,2475,2434,2351,1997,2048,2155,1768,1762,1699,1917,1818,1689,1797,1685,1722,1647,1543,1613,1634,1520,1603,1641,2126,2309,2765,2022,1537,1891,1876,1639,1768,1740,1661,2003,2501,2427,2176,2394,2490,1957,1843,1967,2446,2932,2931,2753,2770,2777,2803,2540,2062,2119,2240,1840,1799,1991,1858,1993,2142,2173,2366,2107,2001,2359,2257,2421,2608,2220,2220,1989,1753,1861,2076,2150,2109,2047,1884,2498,2488,2085,2598,2198,1931,1907,1793,1923,2231,2775,3006,2887,2987,3007,3409,2765,2779,3137,3328,3340,2995,2480,2165,2117,2280,2170,1761,2310,2702,2428,2549,2066,1659,2022,2533,2233,1992,1985,1958,2155,2571,2897,2728,2468,3625,2874,2221,2622,2455,1963,1770,1804,2018,2215,2265,1965,1983,1800,1703,1615,1670,1760,1892,1830,1977,1881,1570,1720,1653,1548,1826,1862,1958,1838,1833,1687,1616,1927,1761,1513,1541,1283,1298,1415,1482,1537,1615,1583,1259,1387,1626,1931,2010,1920,1810,1737,2155,2266,2083,2196,2094,2032,1909,2059,1842,1553,1561,1563,1798,2121,2569,3144,2567,1733,1584,1876,2824,2643,2334,2354,2156,2098,2127,2011,2010,1693,1562,1614,1801,1788,1903,2574,2707,1892,1905,2335,2338,2194,2338,2644,2701,2624,2520,2476,2560,1998,2044,2916,2940,2273,1930,1917,2087,1954,1829,1892,2701,2481,2061,2205,2365,2460,2081,1873,2330,2632,2599,2127,1791,1797,2062,2003,1678,1804,1928],[2792,2116,2541,1926,1539,1863,2169,2421,2359,2172,1959,1648,1721,1894,1894,1791,2130,2189,1917,1884,1474,1358,1428,1554,1842,1826,1792,1804,1840,1609,1572,1725,1821,1647,1571,2116,2399,1954,1660,2363,3129,1954,1508,1557,1166,1666,2080,2058,2150,1804,1437,1467,1447,1409,1852,2098,2165,2277,2284,1773,1627,2018,2412,2380,2703,2923,2414,2087,2156,2174,2320,2519,2116,1878,1869,2192,2404,2268,2103,2335,3116,3270,2689,2158,2260,2398,2558,2751,2244,2149,2810,3393,3274,2554,2192,1823,1875,2445,2986,2585,2204,2525,3084,3442,3519,2912,2833,2957,2855,2685,2172,1692,1870,1825,1614,1906,2222,2097,1861,1731,1765,1877,2120,2692,2285,1852,1978,2382,2722,2542,1852,1777,1663,1889,2017,2056,2116,2211,2066,2003,2049,2261,2304,2149,2054,2542,2204,2461,3039,3864,3281,2495,2450,2452,2788,2771,2588,2136,1762,1483,1456,1461,1474,1420,1462,1542,1888,2098,1866,1638,2046,2218,2136,2263,1713,2106,1766,2241,2862,2518,2368,1850,1357,1420,1708,1799,1929,2270,2118,2240,2015,1756,1644,1767,1915,2390,2711,2116,2570,2920,2971,2220,1810,1440,1471,1878,1903,1459,1592,2061,2407,2407,2224,2004,1871,1953,2427,1995,1738,2029,2204,2061,1901,1753,1737,1753,1935,2424,2764,2890,2746,2522,2697,2783,2674,2875,3299,2784,3018,2909,2337,1977,1993,2435,3096,2544,1964,2256,1991,2018,2196,1884,1659,2481,2778,2453,2088,2148,1883,1852,2178,2402,2302,2169,1906,1668,1534,1700,1722,1799,2035,2187,1925,1564,1958,2019,1962,1863,1781,1998,2172,2295,2523,2348,1515,1466,1548,1525,1308,1663,2270,1763,1321,1370,1772,1930,2010,2535,2207,2098,1997,1726,1532,1615,1751,1728,1904,2018,1882,1564,2194,3032,2761,2567,2129,2116,1892,1600,1742,2033,2244,2047,1673,1733,2229,2488,1954,1852,1795,1870,1653,1404,1507,1750,1983,1820,1503,1619,1664,1775,1938,2116,1653,1471,1456,1371,1680,1975,1690,1417,1597,1580,1514,1627,1548,1559,1858,1813,1412,1542,1468,1410,1406,1842,2388,2322,1855,1660,1442,1534,1657,1665,1651,1452,1537,1640,1957,2010,2090,1704,1542,1934,1942,1684,1650,1494,1360,1329,1463,1411,1260,1644,2228,2112,1654,1672,1593,1677,2034,1975,1977,1853,2078,1785,1785,1903,2689,3467,3272,3062,3056,2411,1520,1542,1330,1306,1333,1370,1288,1336,1466,1393,1336,1333,1290,1406,1325,1498,1810,1688,1431,1395,1411,1423,1500,1836,2047,1694,1361,1349,1484,1625,1594,1165,1239,1401,1986,2352,2451,1957,1663,1798,1765,2150,2260,1527,1682,1864,1584,1523,1684,1529,1431,1356,1370,1509,1643,1499,1429,1615,1629,1676,1789,1932,1962,2048,1893,1853,1819,1824,1874,1974,1953,1655,1621,1574,1671,1558,1601,1652,1572,1461,1628,1636,1661,1489,1357,1377,1488,1771,1688,1482,1656,2457,2751,2491,2526,2664,2597,2822,2736,3030,3663,3095,2731,2347,1899,1846,1764,1544,1891,1901,2117,2139,1731,1963,1796,2204,2688,1812,1813,1959,1561,1523,1644,1591,1632,1678,1638,1918,1605,1316,1431,1754,1575,1569,1603,1383,1439,1483,1490,1926,2103,1756,1635,1602,1642,1641,1699,1572,2443,3030,3082,2790,2723,2387,1648,1508,1827,2135,2164,2080,1935,1760,1793,1725,1587,1967,2933,3132,2408,1875,1822,1537,1509,1453,1450,1555,1715,1944,1782,1654,1767,1675,2104,2611,3003,3071,3018,3376,2999,2790,2403,2040,2124,2235,2566,2575,1945,1962,1772,1615,1656,1597,2382,2898,2467,1737,1417,1806,2062,1809,1919,1864,2089,2624,2524,2024,2095,2251,2553,2083,1638,1473,1800,2277,2100,1827,1725,1992,2142,1870,2051,1926,1734,1780,1925,1962,2181,2258,2002,1921,1782,1951,2508,2340,2401,2507,2022,1604,1544,1556,1522,1527,1636,1515,1670,2099,1854,1981,2691,3137,2556,2556,2741,2975,2919,2746,2751,2291,2501,2733,2024,1584,1439,1420,1514,1637,1589,1480,1563,1584,1704,1340,1283,1201,1331,1312,1396,1471,1476,1446,1448,1431,1631,1761,1740,1517,1355,1455,1494,1534,1506,1512,1506,1443,1451,1435,1520,1829,2256,2460,2334,2123,1714,1704,1586,1669,1965,2027,1907,2003,2116,1928,1698,1913,1883,2010,2099,2044,2207,2453,2955,2735,2460,2546,2251,2618,3274,2758,2162,1838,1918,1681,1993,2305,2426,2908,3338,1997,1076,1924,2445,2408,1979,1383,1886,1564,1040,1128,1084,1248,1425,1763,2116,1946,1898,2139,2299,2031,1916,2002,1747,1500,1453,1510,1431,1408,1612,1788,1898,1811,1341,1340,1389,1388,1312,1260,1244,1207,1155,1259,1437,1405,1293,1324,1345,1390,1322,1397,1478,1494,1383,1362,1390,1508,2121,2568,1902,1690,1710,1544,1760,1292,1853,1853,1434,1097,1439,1859,1902,1897,1965,1741,1580,1886,3296,2874,1911,1459,1873,1706,1682,2104,1938,1792,1959,2009,1744,1975,2092,1949,1572,1140,949,1233,2122,2735,2729,2554,2901,3220,2333,2301,2064,1977,1290,858,913,1282,1792,1805,1697,1854,2144,2099,1682,1798,2094,1947,2148,2200,2060,1328,1212,1504,1525,1461,1594,1775,1498,2322,2666,2499,2009,1809,1837,2251,1886,1334,1157,1230,1633,1459,1184,1509,2110,1810,1471,1361,1194,1034,1715,1981,1902,1960,1675,1566,1689,1824,1790,1629,1799,2047,2934,2558,1898,1695,1599,1613,1658,1798,1458,1292,1226,1357,1454,1263,1066,1346,2366,1961,1581,2524,2271,1559,2285,3057,2367,1533,1992,1927,1426,2495,3543,2643,1661,2264,2036,1327,2067,2857,2079,1521,2365,2236,1680,1375,1016,914,938,1077,1237,1238,1448,1571,1574,1686,1620,831,1037,2532,2498,1875,1775,1382,1222,1336,1506,1602,1636,1728,1850,1704,1505,1614,1900,2227,2188,1739,1460,1838,1935,1756,1819,1803,1659,1648,1557,1587,1668,1453,1384,1478,1790,1782,1640,1563,1790,2064,1788,2160,2246,1601,1377,1505,1334,1406,1714,1601,1262,1523,1818,1452,1421,1520,1439,1851,2123,2097,1606,1106,1221,1355,1923,2040,1754,1329,1451,1137,1147,1227,1334,1047,1104,1498,1648,1776,1340,1132,1350,1360,1486,1656,1787,1692,1934,2173,2117,2128,1914,1672,1730,1523,1399,1445,1658,1752,1794,2205,2482,1897,1854,2312,2465,2441,1844,1488,1690,2173,1924,2121,2304,2016,2076,2036,1920,2311,2376,2135,2024,1636,1682,1670,1758,1603,1665,2095,2283,2100,2006,1826,1500,1466,1632,1543,1528,1486,1778,1562,1372,1379,1244,1102,1244,1298,1295,1621,1786,1594,1548,1505,1416,1478,1422,1384,1384,1463,1566,1522,1334,1224,1338,1544,1729,1816,1700,1570,1584,1649,1598,1767,1786,1461,1396,1504,1641,1785,1578,1406,1299,1519,1712,1310,1400,1665,1787,1792,1764,2003,2038,1808,1291,1523,1236,983,1001,1178,1334,1547,1849,1657,1337,1397,1462,1337,1272,1438,1303,1990,3111,2310,1533,1386,1438,1626,1793,1605,1345,1288,1396,1694,2114,1776,1526,1416,1188,1271,1308,1209,1211,1352,1384,1282,1427,1457,1490,1807,1835,1634,1698,1861,1848,1601,1412,1349,1297,1285,1229,1381,1028,1055,1187,1355,1483,1596,1531,1600,1870,1693,2214,3350,3452,3469,3765,3274,2746,2190,1765,1640,1695,1654,1504,1536,1490,1408,1578,1689,1650,1526,1350,1365,1349,1283,1546,2156,2201,1819,1538,1615,1851,1648,1727,1583,2100,2172,2107,1898,1654,1586,1555,1514,1786,2077,1631,1763,1879,1757,2037,2379,2058,1587,1371,1399,1630,1844,1928,1372,1386,1596,1436,1313,1338,1472,1452,1524,1615,1599,1675,1659,1744,1494,1421,1475,1521,1752,1906,2088,1640,1690,2069,1599,1706,2526,2426,2342,2444,1958,1813,1830,1731,1611,1868,1938,1500,1592,1592,1604,1604,1632,1729,1960,1874,1758,1748,1970,1891,1562,1453,1625,1824,1783,1700,1840,1896,2014,1817,1858,1654,1596,1701,1631,1239,1007,1382,1374,1628,1955,2169,1537,1470,1399,1741,1990,1996,1863,1583,1591,1730,1618,1709,2153,2032,1555,1927,2337,2590,2708,2786,2611,2486,2867,3061,2580,2250,2117,2154,1676,1542,1469,1664,1645,1582,1490,1414,1449,1390,1397,1486,1345,1366,1719,1909,2006,1808,1593,1398,1527,1671,1842,1943,1808,1758,2289,2411,2116,2025,1841,1692,1672,1832,2114,1898,1708,1672,1554,1830,1914,1891,1970,1987,1985,1870,1822,1963,2049,1920,2002,2227,1947,1657,1747,1942,2369,2292,2765,2924,2764,2478,2302,2235,2091,2417,2309,1886,1716,1649,1729,1898,2192,2170,1990,1547,1436,1610,1473,1512,2027,2067,1882,2558,2540,2310,1981,1717,1784,1846,1893,2028,1820,1632,2156,2696,2659,2072,2159,2563,2294,2150,1966,2036,2420,2570,2345,2609,2696,2443,2587,2474,2367,2542,2304,2025,1893,1633,1656,1790,1945,2347,2366,2627,2599,2531,2323,1776,1857,2292,2461,2454,2054,1726,1922,1893,1868,1592,2342,2360,1878,2762,2646,2092,1887,1822,2208,2367,2654,2751,2731,2822,2385,2372,2353,3024,3252,2945,2833,2908,2654,2453,2393,2448,2265,2172,2330,2272,1804,2040,2240,2146,2135,2438,2715,2310,2100,2022,1676,2138,2634,2863,2839,3338,3334,2849,2374,2312,2231,2020,2184,2173,2089,2471,2209,2183,1916,1687,1757,1704,1590,1738,1876,1948,1775,1824,1848,1780,1821,2100,2167,1770,1631,1864,1772,1564,1622,1522,1568,1888,1634,1780,1892,1909,1827,1700,1753,1635,1646,2055,2131,1946,2119,2175,1940,2252,1969,1786,1651,1679,2108,2685,2944,2243,1553,1488,1636,1839,2051,1992,2599,2668,1822,1788,1918,2387,2470,2277,2393,2394,1991,1832,2034,2097,1777,1475,1624,1644,1866,2033,2661,2702,1916,2026,2437,1814,2013,2534,2578,1908,2584,2570,2280,2115,1958,2465,2911,2941,2384,2360,1979,1924,2088,2082,1946,2052,1807,1651,1638,1767,2100,2126,1903,2233,2602,2460,1985,1896,2050,1994,2010,2022,1870,1670],[3463,2942,2621,1965,1546,1750,2093,2270,2259,2014,1829,1788,2004,2056,2260,1816,1678,1621,1710,2030,1859,1541,1364,1683,2008,1705,1423,1481,1710,1350,1693,1912,2150,1847,1601,1898,1803,1525,1549,1611,1926,1764,1476,1740,1689,1938,2128,2327,2474,2103,1581,1440,1510,1403,1959,1848,2349,2765,1985,1615,1726,2166,2998,3378,2662,2465,2217,2414,2539,2680,2313,2365,2501,2429,2272,2382,2445,2218,1842,2143,2605,2587,2108,2683,3055,3338,3399,2952,2389,2447,2721,2786,2644,2313,1757,1920,2434,2427,2600,2614,2237,2595,3097,3488,3332,2844,2949,3185,2975,2474,1814,1515,1781,1775,1671,1869,1980,2014,2205,2298,2324,2084,2216,2654,2089,1621,1977,2091,2399,2485,2112,2105,1882,1669,1748,1875,2433,3122,2409,2121,1982,2000,2107,2241,2575,3393,3839,3467,3353,4090,3529,2318,2152,2188,2134,2126,2039,2167,1741,1522,1556,1532,1487,1465,1510,1715,1846,2136,2133,2098,2168,2048,2209,2318,2215,2293,1995,2229,2364,2376,2373,1676,1632,1799,1809,1595,2348,2634,2292,2017,1773,1659,1773,2041,1999,2382,2502,2155,2561,2803,2569,1854,1518,1455,1871,2341,2301,1853,1788,2003,2563,2689,2375,2276,2527,2121,1795,1769,1694,1739,1828,1997,1829,1551,1588,1476,1750,2188,2448,2554,1813,1674,2509,2993,2720,2769,3040,2509,2591,2065,2340,2247,2124,2500,3362,3331,2655,2170,1663,1496,1704,1783,1925,3082,3216,2746,1920,2109,1918,1881,2252,2114,1644,1562,1876,1683,1444,1411,1433,1525,1491,2035,2061,1782,1813,1881,2176,2004,1861,2062,2221,2147,2499,2013,1567,1467,1432,1384,1412,1843,1872,1475,1322,1496,1938,2093,2030,1980,1471,1451,1393,1400,1418,1472,1582,1895,2054,1816,1552,1530,2184,2712,2908,2577,2432,2445,2057,1917,2089,2105,2175,1883,1571,1548,2146,2531,1872,1673,1944,1975,1577,1338,1440,1550,1562,1522,1417,1620,1695,1789,1876,1804,1515,1455,1444,1358,1582,1820,1627,1819,2054,1675,1521,1451,1330,1350,1581,1333,1213,1420,1548,1475,1942,2374,3039,3678,2846,1710,1908,1631,1500,1598,1755,1828,1670,1880,2111,2048,2109,1786,1495,2046,2112,1587,1470,1477,1535,1587,1432,1276,1277,1707,2470,2308,1644,1621,1757,1540,1810,1902,1740,1992,2261,1805,1519,1777,2496,2851,2294,1988,2031,2266,1515,1450,1370,1377,1543,1436,1389,1477,1466,1478,1336,1396,1258,1455,1302,1519,1770,1583,1340,1308,1346,1373,1615,2026,2143,1891,1434,1433,1622,1531,1588,1425,1309,1663,2234,2387,2634,2397,1657,1744,1512,1623,2083,1559,1318,1603,1549,1364,1518,1570,1355,1355,1567,1681,1726,1804,1928,1900,1883,1911,1981,1943,1920,1880,1738,1710,1769,1647,1647,2132,2071,1692,1629,1620,1512,1393,1423,1550,1448,1383,1510,1722,1957,1465,1328,1321,1348,1722,1731,1599,1897,2289,2365,2201,2474,2688,3101,3483,3322,3187,2884,2257,2137,2045,1732,1755,1767,1771,1879,1700,1513,1315,1707,2137,2100,2466,2198,1953,2180,2040,1804,1681,1672,1669,1503,1518,1336,1465,1713,1554,1661,1882,1678,1944,1955,1541,1591,1547,1547,1967,2210,2303,1999,1597,1581,1628,1441,1647,2237,2810,3022,2673,2481,1892,1532,1625,1980,1771,1885,2010,1987,1726,1679,1773,1588,1655,2097,2705,2492,1886,1532,1631,1787,1464,1533,1591,1523,1522,1532,2084,2615,1903,1636,1619,2194,2696,2495,2635,3403,3519,2851,2207,1949,2166,2489,2575,1720,1866,1714,1637,1560,1453,2253,3063,2971,2326,1639,1772,2205,2222,2046,1919,2120,2274,2327,1995,2043,2404,2300,1826,1478,1355,1857,2421,1964,1610,1511,2023,2040,1793,2039,2019,1714,1544,1740,2580,2950,2386,2032,2366,2620,2894,2700,2542,2776,2697,2116,1482,1220,1444,1449,1431,1736,1440,1527,1800,1579,1905,2802,2881,2354,1992,1987,1955,2176,2793,2834,2768,2696,2449,2112,1665,1445,1424,1452,1511,1441,1560,1755,1505,1550,1388,1386,1625,1641,1332,1283,1565,1693,1608,1477,1364,1472,2092,1776,1489,1405,1499,1456,1558,1445,1396,1622,1688,1477,1444,1621,1965,2188,2395,1956,1882,1589,1496,1725,1971,2207,1954,1894,1970,1918,1922,2130,2139,2057,2149,2060,2005,1844,1843,2159,2405,2364,2203,2260,3378,3934,3706,3088,2346,2114,1964,1858,2036,2285,2376,1853,1096,1427,2547,3470,2921,2121,1511,1542,867,1309,2042,1674,1127,1085,1522,2017,2293,2403,2040,2287,1985,1919,1897,1786,1824,1867,1765,1540,1468,1573,1647,1691,1605,1376,1410,1386,1328,1347,1299,1325,1283,1230,1391,1491,1405,1309,1353,1463,1327,1308,1337,1328,1326,1709,1814,1630,2056,2778,3086,2405,2027,1757,1687,1886,1972,1880,1635,1449,1386,1586,1880,2075,1834,1729,1917,2209,2205,2917,2053,1533,2082,2566,2178,2266,2442,1737,1699,2183,2299,1924,1960,1649,1107,815,885,1044,1393,2090,2410,2165,2150,2351,2431,1921,2197,1920,1743,1181,1169,1509,1627,1765,1741,1576,1640,1805,1661,1740,1809,1916,1882,1590,1533,1475,1303,1404,1450,1583,1692,1747,1985,1727,2397,2259,1943,1702,1771,1734,1817,1561,1567,1565,1561,1949,1451,1565,1873,2303,1914,1640,1416,1348,1377,1659,2031,1625,912,722,768,1235,1627,1735,1644,1566,1802,2748,2609,1748,1779,1957,1709,1579,1650,1338,1500,1600,1485,1177,884,764,1078,1840,1911,1565,2233,1991,1430,1870,2197,1713,1438,1954,1665,1362,1923,2729,2468,1563,1670,1515,1331,1678,2192,1704,1606,2250,1607,1341,1640,1178,854,891,1204,1484,971,904,1236,1461,1528,1482,1276,1872,2986,2875,1968,1899,1516,897,938,1377,1565,1726,1731,1686,1473,1721,1923,1742,1855,2015,1550,1278,1448,1759,1962,2182,1834,1872,1809,1271,1311,1608,1505,1255,1554,1887,1729,1651,1215,1252,1523,1440,1824,1881,1589,1383,1377,1401,1634,2197,2166,2392,2244,1354,1164,1247,1439,1585,2023,2254,2014,1577,1019,1276,1451,1953,1964,1462,1574,1412,1148,1239,1274,1077,766,1240,1626,1910,1526,720,577,1088,1222,1316,1334,1462,1605,1829,1810,1986,1837,1399,1655,1879,1508,1809,1666,1369,1414,1614,2230,2770,2646,2661,2808,2769,2412,1903,1691,1810,1841,2164,2386,2081,1791,2005,2368,2314,2075,1775,1865,1968,1699,1699,1560,1682,1744,1611,1685,1945,2326,2359,1867,1482,1456,1301,1738,2219,2088,1875,1579,1459,1455,1384,1313,1231,1344,1736,2099,1841,1578,1609,1450,1528,1453,1299,1309,1291,1323,1449,1675,1736,1769,1709,1684,1737,1830,1749,1769,1806,1789,1953,2399,2212,1505,1452,1465,1399,1546,1710,1493,1311,1415,1394,1317,1386,1200,1366,1805,1622,1641,1672,1599,1471,1933,1345,996,1121,1234,1289,1394,1571,1583,1432,1312,1234,1174,1456,1290,1112,1543,1823,1754,1631,1571,1770,1948,1860,1793,1411,1086,1444,1570,1589,1319,1260,1368,1476,1437,1381,1246,1249,1392,1403,1389,1544,1636,1536,1447,1442,1364,1489,1817,1914,1509,1308,1289,1355,1316,1180,1113,1111,1195,1179,1322,1742,1793,1497,1828,1801,2030,3174,3570,3725,3793,3317,2780,2029,1615,1693,1617,1623,1513,1411,1410,1663,1514,1591,1512,1742,1601,1354,1305,1311,1166,1478,2105,2330,2337,2177,2211,2134,1938,1605,1345,1880,1851,1437,1518,1442,1630,1508,1283,1454,1520,1689,2249,2036,1669,1956,1763,1198,1211,1445,1814,2054,1908,1855,1350,1281,1220,1326,1390,1454,1469,1360,1464,1667,1566,1548,1578,1723,1874,1682,1594,1504,1964,2388,2176,1643,1764,2092,2056,2546,2698,2141,2236,1921,1745,1819,1960,2007,1758,1801,1631,1475,1629,1678,1567,1392,1502,1677,1751,1877,1963,1986,2169,1937,1555,1525,1915,1830,1706,1806,1777,1978,1878,1775,1896,1838,1753,1745,1727,1306,1164,1535,1533,1909,2191,2023,1558,1469,1505,1762,2003,1952,1747,1592,1499,1767,2014,2341,2267,1927,1610,1481,1971,2237,2349,2738,2670,2636,2825,2886,2746,2754,2555,2366,2138,1893,1683,1660,1640,1551,1554,1469,1503,1483,1693,1791,1598,1439,1327,1743,2087,1836,1681,1417,1536,1732,1817,1443,1445,1561,1929,2142,2535,2444,2109,2104,2038,2365,3062,3146,2764,2439,2173,2128,1954,1918,2004,2025,2023,1921,1857,1836,1597,1698,1889,1860,1822,1806,1873,1795,2167,2227,2346,2698,2577,2158,2359,2406,2388,2426,2243,1909,1821,1652,1596,1663,1769,2457,2525,1655,1605,1754,1694,1703,1931,1853,1903,2593,2316,1952,1935,1803,1859,2051,1862,1888,1759,1587,1776,2356,2230,1763,1703,1973,2337,2265,2384,1968,1771,2018,2320,2378,2383,1906,1989,2421,2696,2854,2647,2341,2492,2436,1729,1654,1768,2644,2501,2259,2009,2036,1910,1859,2335,2646,2561,2653,2514,1687,1642,1636,1796,2020,2792,2994,3052,3596,3362,2664,2382,2306,3167,2801,2403,2178,2152,2184,2065,2082,2231,2447,2854,3177,3193,2962,2608,2217,2511,2298,2501,2710,2504,2397,1997,1802,2046,2225,2393,2654,2681,1992,1969,2118,1462,1701,2059,2608,2683,2295,2938,3435,2779,2121,2047,2154,2386,2619,2069,2309,2447,2046,1699,2013,2137,1812,1596,1682,1764,2038,1991,1860,1812,1715,1756,2149,2297,2145,2156,2110,1673,1582,1602,1543,1762,2781,2166,2090,2225,2049,1720,1665,2160,1993,1927,2420,2027,1625,2122,2700,2310,2649,2298,1950,1876,1676,1910,2722,3011,1938,1504,1457,1495,1540,1629,1549,1985,2098,1942,2033,2018,2224,2801,3186,3345,3143,2040,1726,1758,1904,1795,1699,1686,1733,2166,2764,3352,2750,1869,2179,2910,2104,1743,2000,1944,1669,2643,2630,2058,2003,2086,2760,2896,2804,2230,2522,2272,1821,1851,1952,1893,1482,1145,1365,1574,1756,1980,2008,1790,1918,2267,2248,2375,2100,1834,1871,1848,2038,2051,1878],[2517,2562,2101,2015,1882,1678,1965,2458,2590,2323,2061,1744,1806,2154,2287,1685,1450,1453,1604,1853,1812,1396,1406,1943,2156,1730,1271,1163,1448,1418,1602,1954,1834,1413,1704,1941,1973,1776,1531,1594,2117,1945,1860,2171,2324,2332,2383,2521,2539,2223,1900,1593,1769,1604,1647,1476,2026,2788,3002,2451,2020,2441,3231,3550,2840,2418,2057,2437,3184,3489,2894,2706,2957,2845,2479,2290,1991,1434,1236,1451,1859,2217,2854,3867,4282,4420,4376,3331,2524,2526,2457,2526,2589,2497,2024,1914,2327,2499,2681,2996,2912,3190,3464,3484,3125,2497,2280,2455,2366,2089,1974,1643,1859,2297,2213,2032,1781,1756,2176,2497,2225,2193,2649,2552,1950,1946,2469,2436,2313,2310,2149,1896,1789,1589,1660,2107,2487,3138,2534,2083,2040,2223,2162,2573,3033,3116,3326,3493,3316,3948,3187,1743,1460,1553,1470,1594,1769,2062,1974,1729,1829,1882,1854,1830,1855,1948,2151,2071,2154,2265,2182,2154,2271,2354,2288,2106,2117,2509,2591,2480,2314,2006,1799,1988,2201,2098,2523,2543,2342,2096,1694,1539,1649,1952,2238,1870,1741,2210,2211,2210,2226,1925,1611,1653,1870,1781,1931,2242,1879,2034,2596,2564,2552,2481,2435,2053,1698,1471,1517,1565,1715,2196,1896,1427,1489,1948,1986,1823,1833,1736,1530,2067,2580,2267,2156,2396,2676,2619,2098,2124,3129,2996,3062,3498,3514,3110,2708,2037,1685,1738,2265,2440,2481,2961,3177,2853,2270,2041,2020,2271,2433,2294,2266,2051,2288,1831,1527,1521,1467,1605,1440,1616,2012,2274,2022,1969,2297,1967,1785,1780,1772,1792,1628,1455,1495,1420,1332,1359,1368,1466,1814,1819,1588,2195,2412,2140,1777,1381,1395,1505,1360,1618,1702,1486,1692,1896,1980,1712,1613,1598,2181,2653,2358,1908,1926,2087,1932,1716,1933,2144,2452,2024,1816,1653,2025,2354,2073,1466,1559,1772,1581,1453,1536,1440,1400,1547,1279,1288,1628,1666,1636,1586,1392,1318,1449,1504,1595,1748,1492,1577,1561,1644,1444,1618,1698,1973,2088,1545,1664,2007,2276,2448,2842,2644,2946,3664,2706,2165,2137,1627,1487,1857,2298,2044,1981,2499,2248,1925,1626,1475,1552,1836,1830,1603,1450,1581,1936,2099,1814,1360,1616,2215,2531,1976,1449,1787,1765,1548,1545,1558,1502,2023,2494,1920,1516,1520,1540,1679,1820,1936,2404,2579,1896,1599,1754,1818,1750,1522,1346,1408,1526,1435,1264,1378,1346,1450,1464,1389,1399,1320,1284,1310,1386,1594,1651,2040,2418,2385,1693,1732,1626,1215,1354,1720,1768,1817,2009,2059,2313,2085,1662,2008,1548,1500,1779,1576,1636,2027,1810,1413,1432,1458,1624,1785,1894,1801,1713,2018,2057,1950,1990,2002,1956,2001,2016,1763,1599,1527,1622,1547,1716,2505,2392,1823,1419,1390,1340,1306,1478,1427,1362,1415,1410,1531,1987,1666,1513,1457,1552,1715,1539,1770,2190,2285,1978,2062,2120,2369,2736,2800,2740,2228,1815,1604,2053,2170,1640,1574,1791,2021,1976,1852,1964,1749,2051,2035,2525,2585,2065,1813,1762,1992,1850,1633,1698,2086,2064,1554,1360,1673,2029,1759,1588,1686,1582,1621,1631,1839,2101,2077,2534,2688,2390,2449,2018,1732,2036,2269,2258,1931,2128,2654,3019,2733,2361,1663,1580,1747,1951,1867,1750,1734,1599,1649,1978,1896,1648,1511,1549,1846,2441,1999,1545,1461,1483,1487,1554,1484,1553,1699,1550,2054,2831,2170,1695,2002,2510,2608,1934,1810,2898,3982,3520,2501,1858,2401,2602,2774,2162,2294,1898,1561,1583,1707,2082,2459,2855,2730,2204,2325,2160,2400,2214,2245,2009,2089,2316,2266,2184,1824,1524,1518,1384,1311,1687,2073,1809,1676,1678,2286,2505,2182,2179,2088,1656,1425,1847,2658,2048,1720,2071,1950,2145,2327,2172,2220,2348,2488,2098,1494,1120,1323,1494,1439,1750,1538,1770,2155,1765,1959,2610,2322,1839,1620,2019,2109,2318,2563,2547,2778,2561,2352,2412,2021,1560,1405,1543,1740,1732,1572,1560,1506,1360,1419,1352,1595,1604,1367,1489,1838,1688,1494,1380,1366,1309,1645,1426,1410,1623,1622,1499,1516,1332,1298,1444,1653,1352,1378,1724,1862,2051,2620,2430,1823,1617,1755,1905,2357,2564,1929,2007,2368,2182,2081,2176,1986,2078,2147,2286,2378,2027,1964,1999,2283,2265,2141,2349,2563,3210,3701,3319,2787,2332,1842,1560,1484,1726,2079,1941,1288,1788,2887,3202,3212,2586,2414,2205,1527,1477,2279,3022,2670,1301,918,1351,1964,2664,2395,2056,1865,1861,1932,2016,1993,1932,1797,1531,1609,1632,1538,1620,1510,1469,1451,1333,1358,1318,1247,1242,1225,1242,1385,1412,1352,1373,1347,1425,1345,1384,1348,1210,1603,2342,2183,2334,2897,3024,2365,1746,1873,1658,1637,1549,1579,1582,1498,1745,2115,2245,2123,2207,1806,1665,1892,2510,2644,2734,2431,2008,1940,2228,2410,1814,2280,2308,2056,1882,1662,1960,2040,1647,1177,1100,1490,1604,1774,2014,2483,2346,1874,1650,1675,1832,2229,2072,1687,1655,1744,1656,1750,1690,1678,1770,1455,1427,1285,1468,1896,2023,1820,1548,1785,2166,2077,1686,1644,1665,1487,1578,1628,1661,1790,1947,1981,2194,2036,1858,2216,2156,2309,2026,1752,1975,1777,1933,1740,1886,2010,1678,1347,1532,1555,2311,2800,1716,612,532,735,1061,1526,2020,1926,1752,1955,2265,2210,1760,1520,1533,1332,1293,1345,1433,1527,1456,1549,1708,1456,1174,1374,1886,2524,1912,1925,1910,1853,1922,2127,2092,1713,1712,1613,1396,1951,2301,1857,1810,1739,1709,2039,2049,2242,1810,1685,1820,1406,1542,2230,1267,927,928,1067,1289,836,821,1166,1356,1399,1429,1481,1897,2833,3116,1861,1525,1312,752,1171,1412,1515,1653,1805,1718,1573,2133,2446,1971,1426,1680,1428,1368,1632,1588,1722,1953,1910,1987,1897,1428,1281,1520,1459,1494,1743,1671,1688,1668,1787,2236,1809,1251,1083,1180,1471,1639,1734,1640,1797,2077,2051,2862,2040,1110,964,1008,1138,1343,1809,1897,1837,1548,1076,1207,1523,1772,1686,1370,1484,1269,1132,1262,1400,1266,1025,1539,1575,1839,1690,871,1150,1777,1714,1428,1753,1894,1581,1592,1504,1615,1548,1498,1917,2056,1705,1653,1578,1352,1297,1518,1859,2000,2391,2984,3248,2930,2683,2319,2340,2204,1992,2082,1929,1579,1691,1866,2126,2535,2281,1866,1750,1850,1839,1772,1574,1577,1689,1678,1613,1700,2159,2294,2123,1946,1639,1548,2184,2700,2743,2475,1976,1621,1459,1457,1640,1376,1470,1668,1712,1671,1581,1681,1706,1580,1424,1367,1289,1288,1523,1654,1959,1919,1665,1594,1675,1755,1710,1659,1792,1954,1803,1821,2461,2524,1615,1461,1472,1364,1472,1520,1367,1406,1327,1316,1516,1160,1068,1548,2015,1732,1676,1603,1482,1606,1854,1492,1278,1304,1262,1218,1311,1503,1659,1441,1230,1240,1141,1101,1153,1303,1430,1408,1492,1576,1719,1857,1609,1336,2351,1952,1366,1312,1369,1323,1319,1332,1368,1423,1354,1377,1225,1164,1417,1502,1375,1548,1668,1333,1173,1147,1167,1266,1529,1874,1606,1274,1224,1199,1284,1411,1161,1180,1400,1513,1541,1484,1218,1782,1774,2054,3064,3640,3827,3945,3281,2558,2154,1645,1629,1798,1552,1508,1352,1284,1475,1623,1495,1467,1566,1490,1432,1434,1345,1408,1311,1472,1637,1672,1917,2640,2778,2114,1742,1607,1597,1862,1741,1382,1437,1503,1700,1507,1200,1536,1478,1591,2278,2286,1814,1676,1348,1207,1260,1438,2010,1866,1559,1610,1578,1586,1395,1365,1498,1566,1688,1702,1510,1418,1522,1678,1471,1589,1704,1782,1823,1953,2167,2303,1952,1560,2041,2210,2768,2630,2190,1831,1721,1882,2060,1875,1587,1584,1555,1792,1458,1438,1592,1662,1443,1423,1515,1616,1553,1636,1561,1824,2326,1748,1614,1697,2076,1938,1730,1800,1975,1970,1926,1888,1830,1830,1883,1776,1777,1577,1798,2297,1704,1855,2169,1795,1497,1573,1460,1611,2006,1936,1676,1580,1609,1768,2098,2164,1955,1855,1625,1446,1622,1792,2143,2547,2682,2640,2710,2771,2857,2908,2652,2432,2388,2200,1902,1559,1488,1533,1630,1535,1478,1492,2072,2214,1817,1554,1549,2087,2217,1638,1487,1741,1746,1621,1087,1162,1316,1600,1869,2361,2872,2648,2431,2557,2699,2496,2911,3278,3229,3139,2710,2217,1933,1924,1998,2015,1940,1911,1874,1706,1450,1799,1939,1894,1897,1839,1943,2062,2248,2380,2639,2961,2476,2078,2121,2574,2536,2528,2166,2028,2152,2071,2156,1970,1918,2341,2216,1691,1888,1930,1957,2026,2254,2015,1773,2012,1911,1698,1791,2128,1673,1690,1709,1646,1655,1790,2072,2706,2458,2046,2170,2354,2597,2399,2291,1654,1894,2387,2797,2409,2118,1783,1829,2409,2755,2778,2871,2409,2331,2522,2510,2200,2074,2687,2546,2247,1886,1625,1688,2042,2524,2746,2357,2413,2518,1954,1928,2608,3068,2928,3160,3661,3692,4115,3920,2480,2597,2598,3475,3415,2335,1823,1910,1974,1914,1896,1974,2467,3074,3166,3263,3009,2343,2265,2995,2439,2210,2419,2684,2916,2558,1874,1888,2092,2342,2410,2207,1824,1785,2248,2109,1953,1863,2385,2818,2517,3076,3653,3261,2241,1843,2051,2210,2579,2097,1862,2431,2321,2070,2609,2277,1875,1953,2058,1871,2018,1941,1750,1621,1622,1815,2166,2278,2288,2414,2160,1654,1856,1833,1653,1648,2573,2246,1879,1928,2163,1945,1862,2230,1880,1829,2370,2063,1656,1962,3030,3378,3480,2649,1820,1831,1833,1730,2104,2545,1723,1537,1600,1800,1889,1853,1698,1630,1576,1595,1859,2008,2160,2600,2966,3284,3484,3055,2138,1774,1943,2279,2242,1765,1757,2027,2844,3426,2514,1769,2126,2314,1759,1475,1621,1690,1820,2208,2160,2085,2041,1913,2344,2985,3054,2186,1976,1890,1606,1645,1823,1907,1785,1591,1472,1769,1745,1826,1929,1626,1499,2076,2656,2932,2540,2084,1861,1740,1946,2201,2152],[2017,1898,2241,2409,2120,1689,1734,2248,2017,1792,2348,1866,1748,1986,1627,1235,1450,1752,1605,1434,1585,1522,1438,1739,2156,1903,1230,1080,1597,1860,1771,2453,2252,1549,2037,2762,2230,1878,1663,1782,2333,2270,2157,2276,2204,2225,2292,2512,2383,2491,2465,1881,1912,1742,1934,1961,2110,2513,2209,1966,2232,2189,2972,2769,2383,2277,2082,2020,2645,3121,3011,2540,2306,2416,2150,2172,2003,2000,2078,2038,2669,3198,3881,4120,4014,3895,3303,2428,2319,2163,2028,2625,2518,2429,2568,2416,2585,2715,2224,2127,2889,3124,3032,3384,2909,2290,2040,2154,2156,2286,2261,2100,2127,2050,1822,1562,1544,1813,1743,1712,1695,1704,2062,1994,1938,2523,2709,2736,2482,2235,2133,2042,1974,1837,1805,2340,2432,2574,2293,2080,2286,2408,2544,2657,2473,2694,2918,3260,3353,3427,2727,1953,1653,1647,1641,1700,1785,2101,2245,2076,2118,2098,2133,2010,2096,2089,2010,1687,2018,2247,2260,2456,2286,2107,2008,2009,1941,1905,2114,2406,2553,2434,2296,2352,2272,2345,2421,2279,2282,2275,1952,1785,1719,1788,2589,2402,2269,2497,2315,2134,2070,2155,1932,1968,2006,2001,2259,2570,2310,2062,2548,2344,2181,2267,2043,1949,1681,1479,1472,1559,1565,1641,1654,1807,2105,2457,2243,1763,1565,1449,1502,2282,2279,2079,2054,1948,1946,2517,2171,1895,2736,3252,3390,3549,3061,2424,2569,2312,2093,1961,2602,2047,2355,2623,2510,2622,2454,2141,2430,3077,3020,2170,2291,2147,1894,1890,1738,1516,1433,1421,1523,1869,2414,2698,2309,2067,2368,2056,1609,1499,1583,1482,1411,1516,1457,1277,1286,1554,1432,1540,2474,2281,1580,1788,1926,1789,1748,1760,1764,1543,1422,1982,1948,1993,2103,1754,1681,1799,1628,1597,2458,2864,2349,1904,1621,1801,1909,2007,2563,2891,2933,2066,1722,1564,1852,2260,1979,1613,1850,1671,1565,1537,1458,1584,1430,1494,1228,1289,1689,1669,1702,1690,1426,1339,1438,1512,1622,1601,1663,1707,1619,1631,1336,1583,1526,1948,2145,1920,2012,2167,2313,2290,2918,2447,2181,2338,2115,1781,1658,1515,1422,1771,2057,1812,2104,2879,2490,1958,1620,1561,1665,1698,1743,1542,1438,2047,2217,2001,2015,1488,1851,2552,2382,1793,1422,1694,1695,1635,1626,1713,1605,1897,2171,1732,1489,1393,1609,2154,2512,2674,2857,2684,2216,2149,2562,2436,1870,1490,1252,1302,1495,1365,1360,1588,1528,1871,1949,1566,1394,1319,1312,1377,1438,1976,2019,2198,2629,2849,1972,1617,1475,1225,1316,1522,1504,1450,1517,1874,2094,1634,1597,1789,1436,1676,1833,1599,1547,1771,1699,1470,1413,1405,1669,1903,1911,1814,1804,1823,1787,1791,1802,1750,1898,2139,2185,1925,1927,1619,1808,1816,1965,2674,2997,2249,1506,1541,1375,1538,1989,1541,1414,1434,1361,1576,1715,1665,1528,1516,1740,1622,1364,1662,2263,2248,1927,2057,1873,2690,2751,2566,2746,2343,1871,1824,1968,2002,1568,1596,1750,1898,1814,1938,2156,2192,2014,1950,2037,1920,1854,1611,1742,2430,2500,1951,2181,2764,2734,1880,1454,1576,1740,1494,1407,1610,1753,1586,1628,2593,3022,2247,2240,2078,1878,1935,1756,1910,2229,2273,2556,2081,2049,2111,2252,1986,1830,1764,1558,1498,1960,2020,1721,1665,1580,1916,2044,1595,1565,1849,1621,1634,2286,2072,1554,1443,1392,1438,1481,1520,1830,1848,1489,1641,1932,1676,1562,1713,1855,1685,1474,1475,2236,3411,3387,2766,1883,2295,2797,2780,2145,1978,1865,1696,1754,1995,2003,2054,2512,2567,2375,2300,1948,2219,2532,2828,2760,2545,2474,2354,2114,1663,1566,1596,1414,1519,1656,1981,1908,2004,2294,2525,2504,2090,1905,1836,1597,1414,1726,2115,1828,1649,2003,1758,1447,1510,1681,1932,2071,2132,1939,1622,1263,1363,1676,1734,1829,1686,2179,2657,2112,2334,2634,2116,2039,1826,1814,1808,1996,2121,2210,2163,2010,2080,2288,2304,1594,1509,1617,1599,1548,1386,1452,1434,1364,1295,1310,1391,1359,1318,1379,1865,1651,1434,1245,1279,1565,1500,1344,1436,1593,1516,1478,1497,1322,1351,1450,1533,1309,1323,1549,1519,1723,2509,2681,2138,2050,2055,2099,2748,2977,1931,2124,2814,2517,2233,2074,2068,2172,2080,2494,2365,2340,2374,2244,1945,1977,2185,2317,2207,2464,2876,2978,2647,2343,2435,2246,1691,1545,2138,2194,2008,2096,2380,2846,3115,3045,2348,1556,1943,1977,2081,2626,2865,1618,912,1266,1708,1887,2166,2176,1897,1954,1895,1788,1839,1985,1853,1834,1952,1710,1835,1764,1447,1439,1422,1397,1369,1335,1330,1169,1295,1271,1333,1399,1388,1437,1373,1339,1437,1591,1539,1297,1626,2254,2178,2286,2486,2597,2380,2602,2359,1854,1912,1779,1544,1546,1561,1842,2049,2048,1948,1879,1707,1570,1070,1576,2332,2396,2109,2069,1922,2019,1621,1677,2499,2609,2020,1654,1605,1949,1959,1789,1604,1480,1798,1682,1725,1942,2525,2404,1936,1740,1728,2042,2156,1841,1992,2165,1764,1444,1691,1543,2066,1998,1670,1917,1949,1591,1472,1735,1953,1844,2068,2401,2019,1921,1832,1636,1487,1812,2145,1900,1709,2346,3008,2742,1929,1808,2069,1990,2170,2005,2044,2071,1877,1698,1766,1977,1952,1687,1112,1387,1929,3396,4073,2499,754,1152,2204,2509,2420,1857,1520,1668,2172,2290,1851,1507,1168,1147,1267,1358,1549,1842,2003,2058,2469,2438,1805,2154,2801,2624,2533,1781,2170,2268,1905,2012,2502,2619,2397,2322,2214,2359,2924,2655,2123,2148,2110,2453,2765,2740,2381,1851,1793,1809,1791,1555,2260,1384,1075,1078,1028,1105,1096,959,1192,1535,1448,1517,1556,1614,1776,2083,1539,1359,1360,1303,1391,1244,1149,1408,1781,2033,1721,1998,2298,1923,1526,1697,1496,1621,1866,1432,1357,1687,1826,1746,1731,1471,1269,1544,1417,1503,1732,1641,1491,1587,1810,1898,1826,1650,1294,1165,1058,1548,1777,1808,1753,1807,1896,1875,1301,1036,1038,1195,1411,1557,1476,1597,1780,1832,1358,1198,1515,1741,1504,1427,1422,1093,1208,1345,1492,1339,1348,1666,1728,1775,1687,1163,1209,1600,1714,1591,2063,2242,1814,1521,1359,1321,1482,1515,1760,1935,1730,1455,1405,1503,1712,1787,1789,1640,1825,2214,2901,2576,2493,2422,2485,2662,2150,1509,1652,1748,1942,2357,2545,2519,2555,2172,1757,1551,1662,1893,1817,1476,1511,1625,1699,1598,1788,2071,2104,2192,1897,1476,1838,2579,3003,2738,2198,1671,1733,1641,1708,1720,1395,1232,1478,1808,1669,1665,1831,1811,1640,1554,1470,1362,1575,1791,1893,1726,1480,1449,1626,1637,1486,1520,1780,2181,2021,1797,2247,2553,1791,1534,1533,1428,1444,1391,1461,1490,1298,1281,1431,1418,1578,1750,2040,1715,1578,1412,1190,1203,1207,1133,1236,1159,1049,1152,1347,1731,1772,1459,1335,1115,1118,1374,1405,1435,1562,1562,1566,1772,1853,1658,1274,1332,1950,1544,1153,1130,1199,1325,1391,1468,1372,1281,1351,1385,1292,1218,1284,1314,1234,1394,1445,1145,1082,1068,1237,1407,1414,1563,1690,1554,1316,1350,1549,1479,1223,1431,1950,2163,1572,1440,1749,1881,1933,2952,3343,3530,3964,3532,2753,2230,1702,1685,1791,1789,1440,1385,1301,1332,1459,1537,1495,1534,1567,1368,1411,1393,1418,1412,1407,1526,2005,2215,1721,2307,2346,1654,1614,1622,1638,1600,1515,1471,1666,1606,1578,1453,1423,1559,1488,1424,1644,1836,1682,1758,1770,1601,1321,1560,1678,1560,1603,1549,1475,1502,1497,1467,1466,1454,2123,2024,1488,1265,1400,1414,1475,1756,1820,1693,1553,1626,1787,2000,1782,1822,2929,2934,2388,2065,2565,2542,1863,1786,1798,1662,1657,1665,1543,1878,1711,1529,1477,1537,1543,1537,1500,1445,1452,1497,1396,2008,2086,1588,1903,2377,2154,2025,2056,2054,2041,1808,1700,1555,1595,1741,2077,1943,1609,1562,2270,2262,1567,1869,2124,1887,1890,1904,1562,1632,1727,1573,1578,1521,1557,1534,1713,1684,1555,1748,1862,1611,1534,1648,1888,2221,3112,3208,2888,2844,3247,3389,3144,2713,2627,2189,2065,1869,1790,2187,2165,1813,1577,1570,1905,1952,1627,1543,1869,2232,2245,1848,1873,1916,1888,1606,1388,1449,1471,1805,2069,1883,1968,2087,2283,2481,2583,2109,2017,2261,2435,2769,2678,2140,1964,1984,1986,1914,1932,1981,1946,1742,1798,2059,2142,2193,1954,1946,2104,2068,2312,2412,2333,2627,2935,2408,2210,2684,2830,2479,2017,1969,2170,2289,2304,2002,1708,1765,1789,1671,1920,1936,1816,1834,1991,1886,1611,1624,1690,1745,1805,1787,1781,1684,1854,1881,1716,1782,2156,2733,2523,2137,1997,2260,2526,2250,2031,2137,2587,2931,2937,2474,2088,1775,1976,2225,2034,1804,2686,2610,2275,2443,2849,2768,2668,2658,2666,2537,1984,1816,2268,2224,2427,2154,2039,2321,2673,2737,2922,3282,3360,2743,2607,3330,3343,4129,3729,2545,2975,3475,4225,4018,2662,1942,2055,1890,1699,1845,1843,2505,3190,2598,2806,3161,2743,3175,3195,2596,2236,2245,2833,2810,2753,2387,2104,2248,2492,2150,2148,1922,1806,2119,2418,2630,2524,2518,2868,3298,3471,3251,2901,2498,2220,2046,1965,2063,1975,1744,1990,2377,2144,2077,2144,2144,1809,1944,1890,1894,1932,2135,1996,1638,1770,2178,2302,2198,2102,2035,1953,1977,1766,1674,1687,1738,1739,1741,1830,2392,2164,1898,1866,1861,1792,1924,1770,1671,1802,2562,3079,3043,2714,2502,2750,2367,1865,1857,1767,1572,1611,1578,1719,1823,1745,1628,1740,1756,2014,2509,2329,2330,2349,2701,2668,3067,3528,2623,1956,2647,3121,2301,1747,1798,1781,2024,2118,1973,2099,2138,1919,1527,1471,1745,1894,2097,1952,2136,2149,1952,1865,2123,2432,2451,2082,1730,1565,1572,1712,1777,1819,2161,2276,1917,1918,1671,1717,1904,1745,1625,1967,2754,3104,3377,2665,2015,1924,1977,1981,2082],[1622,1932,2194,2177,2009,1794,2093,2073,1799,1860,2056,1902,1684,1817,1998,1872,1722,1778,1535,1364,1555,1679,1439,1450,2036,2060,1882,2059,2186,2309,1868,1932,1598,1266,2005,3112,2416,2040,1786,1515,1771,1699,1484,1654,1914,2040,2002,2624,2679,2673,2236,1754,1844,1618,1759,1963,1838,2305,1875,2198,2780,2708,3130,3312,2790,2325,2168,2051,2406,2724,2476,2353,2437,2604,2444,2535,2218,3203,3547,3348,3339,3405,3698,3797,3764,3704,3459,2645,2104,2331,2755,2975,2619,2428,2678,2558,2624,2999,2459,1767,2292,3241,3086,3320,2618,2279,1903,2052,2229,2270,2328,2472,2585,2609,2062,1627,1774,2378,2004,1953,1889,1878,1855,1566,2204,2877,2906,3209,2713,2290,1932,2129,1780,1595,1591,2082,2165,2166,2051,2122,2474,2623,2814,2710,2556,3086,3160,3065,3178,3266,2659,2056,1883,1923,2062,2125,2200,2211,1968,1963,2215,1816,1699,1684,1754,1715,1689,1779,2218,2370,2497,2819,2307,2058,1556,1673,1677,1677,2342,2164,1875,2041,1911,1903,2073,2114,2114,2099,2172,2192,2115,2093,1876,2014,2677,2736,2499,2563,2821,2412,1952,2272,2090,2309,2699,2677,2666,2610,2360,1797,1603,1666,1729,2077,2481,2166,1626,1559,1674,1608,1527,1602,1648,2237,2355,2087,1913,1469,1525,1749,1773,2271,1814,1713,1896,1805,1982,2668,2931,2648,2712,2898,3023,3111,2744,2525,2790,2855,2648,2757,2813,2811,3262,2946,2415,2418,2556,2553,2655,3228,3061,2253,1925,1792,1879,2178,2136,1838,1539,1497,1832,2027,2331,2459,2454,2540,2724,2393,1700,1362,1546,1668,1540,1409,1461,1478,1608,1786,1844,1953,2405,2119,1665,1487,1676,1688,1786,1851,1655,1500,1668,2277,2245,2557,2305,1859,1770,2141,1902,2042,2565,2422,2389,2231,2054,2345,2322,2231,2293,2862,2965,2152,1645,1560,1676,1865,1934,1885,1934,1705,1621,1525,1520,1649,1541,1588,1390,1490,1642,1586,1561,1584,1482,1355,1512,1559,1844,1565,1825,1878,1556,1478,1504,1511,1528,1880,1959,2309,2471,2338,2334,2064,2491,2336,1853,1831,2024,1958,1749,1580,1634,1540,1541,1758,1979,2944,2147,1609,1616,1687,1921,1914,1978,1638,1483,1930,2099,2056,1805,1524,1691,2260,2518,2039,1676,1948,2217,1933,1625,1540,1498,1732,1678,1920,1461,1565,2112,2339,2481,2853,2870,2655,2375,2623,3072,3186,2604,1731,1390,1456,1649,1526,1528,1836,1692,1904,2149,1730,1596,1437,1311,1497,1406,2008,2164,1916,2131,2088,1615,1582,1498,1230,879,1058,1366,1334,1428,1704,1574,1545,1456,1412,1381,1560,1791,1643,1488,1637,1622,1714,1648,1801,1896,1756,1813,1868,1735,1729,1714,1463,1402,1585,2047,2272,2754,2114,1910,1645,1730,1820,1916,2544,3171,2606,2064,2179,1580,1471,1593,1376,1466,1524,1359,1412,1664,1647,1353,1343,1505,1608,1405,1486,1843,2036,2288,2141,2125,2858,3019,2630,2098,1654,1672,1910,1832,1974,1686,1605,1626,1582,1880,1744,1434,1646,1831,1530,1346,1475,1503,1464,1594,1873,2157,2025,1986,2505,2643,2244,1772,1491,1462,1335,1388,1708,1986,1827,2062,2746,2476,1794,1754,2098,2030,1863,1686,1844,1849,1733,1909,1888,1766,1578,1487,1486,2020,2017,1677,1876,1880,1896,1988,1614,1702,1814,1556,1375,1614,1805,1618,2073,2580,2154,1633,1587,1430,1517,1618,1722,1432,1296,1448,1506,1412,1598,1605,1384,1387,1505,1940,2270,3222,3430,3002,2789,2110,2047,2735,2728,2010,1692,1845,1960,1995,1807,2226,2416,2522,2712,2717,2558,1998,2105,2654,2754,2447,2187,2152,2235,2273,2280,1842,1583,1584,1605,1527,1759,1810,1783,1887,1905,1710,1504,1566,1863,1831,1681,1695,1735,1753,1701,1629,1707,1733,2008,1938,1836,1824,2032,1986,1785,1578,1666,1724,1604,1707,2066,2449,2512,2153,2357,2602,1986,2056,2084,1892,1748,1782,1901,1900,1988,2114,1929,2029,2297,2074,1805,1590,1466,1490,1499,1451,1406,1497,1445,1562,1406,1306,1314,1380,1820,1573,1380,1318,1360,1425,1401,1456,1511,1333,1436,1451,1211,1315,1427,1542,1370,1294,1460,1485,1576,1793,1982,2116,2091,2040,1806,1806,2496,2724,2008,2378,2844,2711,2564,2375,2500,2343,2418,3125,2994,3094,3094,2808,2088,2204,2218,2206,2356,2632,2958,3190,2510,2778,2835,2709,2070,1998,2180,2358,2380,2409,2295,2139,2023,2044,1210,1234,2436,2739,2600,1982,1454,1136,789,1327,2230,2740,3041,2773,2368,2221,1771,1311,1647,1894,2000,2019,2004,1840,1910,1799,1564,1336,1388,1473,1332,1274,1241,1288,1390,1331,1357,1406,1443,1508,1522,1407,1454,1522,1461,1300,1576,2258,2376,1866,1860,2402,2532,2156,1634,1639,1747,1517,1459,1738,1715,1714,2010,1999,1866,1710,1732,1414,1017,1221,1439,1882,2397,1871,1959,2343,2049,2502,2722,2199,1610,1807,2054,1881,1908,1876,1800,1616,1836,1786,1635,1717,1578,1530,1630,1437,1532,2054,1996,1477,1688,1649,1413,1335,1458,1698,2678,2244,1653,2398,2566,1840,1489,1633,1605,1858,1980,1905,2055,2277,2032,2201,2424,2801,3078,2182,1455,1816,2122,1478,1619,2336,2101,1798,2093,1960,1950,2183,2132,1768,1707,1946,2068,1905,1220,1426,2240,2820,3483,2765,1227,1471,2963,3384,2986,1862,1625,1520,1619,1443,1463,1376,1676,2106,2117,2109,1847,2020,2624,2696,2326,2304,2035,2629,3530,2780,2152,2438,2840,2361,1979,1878,1810,2476,2896,2851,2446,3154,3807,3514,2631,1803,1768,2314,2342,2305,2488,2147,2233,2195,2219,1876,2068,1615,1436,1576,1321,1350,1557,1274,1294,1477,1342,1584,1614,1856,1655,1905,1682,1441,1404,1315,1183,1127,1355,1324,1143,1913,1852,1804,1707,1408,1504,1725,1669,1748,1599,1216,1201,1156,1681,1856,1873,2060,1396,1460,1576,1519,1593,1360,1209,1534,1873,1750,1673,1723,1593,1512,1200,1359,1615,1723,1533,1577,1654,1574,1430,1150,1095,1240,1416,1420,1873,2153,1914,1494,1180,1230,1516,1816,1546,1550,1334,1154,1252,1339,1556,1274,1399,1533,1519,1736,1382,1118,1444,1402,1494,1696,2234,2020,1767,1295,1356,1589,1433,1224,1270,1602,1748,1644,1289,1265,1651,1810,1826,1799,1781,1756,1991,2035,2562,3034,2664,2548,2288,1606,2196,2684,2668,2752,2452,2477,2669,2252,1859,1772,1713,1921,2015,1580,1532,1521,1665,1678,1555,1880,2100,1836,1184,1114,1699,2220,2259,1977,1888,1809,1673,1815,1880,1662,1246,1469,1794,1697,1676,1816,1977,2050,1907,1943,1625,1507,1657,1816,1791,1573,1449,1582,1749,1605,1421,1365,1542,2222,2580,2254,2270,2189,1657,1351,1351,1492,1692,1433,1371,1299,1272,1440,1372,1320,1361,1328,1651,1662,1374,1137,1083,1129,1065,921,1137,1132,1113,1322,1482,1708,1678,1447,1067,846,1139,1441,1595,1531,1610,1626,1755,1755,1520,1310,1322,1272,1276,1338,1188,1022,1124,1278,1323,1224,1136,1522,1422,1280,1295,1307,1261,1299,1337,1392,1599,1387,1124,1243,1529,1606,1428,1401,1743,1887,1738,1512,1371,1372,1422,1488,1513,1743,1765,1824,1704,1769,2679,3398,3453,3681,3282,2535,2623,2493,1816,1812,1537,1600,1482,1307,1259,1532,1640,1495,1370,1452,1481,1379,1461,1348,1438,1565,1625,1446,1634,1742,1822,1994,1659,1496,1533,1803,1652,1635,1519,1605,2016,2150,2072,1782,1607,1428,1332,1274,1602,1582,1506,1639,1912,1808,1565,1446,1308,1450,1544,1478,1605,1902,1605,1421,1396,1322,1693,1592,1282,1234,1321,1243,1417,1816,1642,1405,1371,1341,1735,2099,1716,2198,3083,2840,2030,2034,2945,3084,2268,1716,1318,1400,1639,1461,1342,1576,1707,1519,1460,1584,1580,1422,1423,1406,1485,1448,1394,1716,1605,1920,2251,2452,2009,1930,2344,2078,1893,1868,1555,1506,1644,2146,2182,2017,2012,2042,2261,1964,1652,1833,1682,1589,1525,1525,1642,1588,1501,1535,1603,1609,1540,1512,1483,1627,1587,1982,2083,1516,1347,1311,1900,2561,3562,3816,3019,3005,3461,3360,3387,2729,2354,1998,2025,2191,2444,2591,2325,1865,1637,1648,1666,1606,1596,1566,1780,1816,1779,1666,1590,1636,1708,1598,1546,1534,1659,2034,2037,1595,1663,1665,1923,2445,2588,2482,2033,1795,1996,2268,2136,2054,1888,1946,1973,1865,2025,2098,1938,2156,2345,2294,2512,2358,1870,1946,1941,1882,2013,2067,2040,2122,2536,2556,2370,2386,2361,2003,1970,1770,1769,1750,1772,1682,1620,1636,1713,1894,1995,1804,1642,1663,1729,1738,1687,1689,1635,1730,1772,1682,2220,2394,2510,2263,1885,1892,2337,2332,1857,1932,2160,2303,2304,2186,1886,1767,2005,2687,2801,2264,2618,2690,2145,1924,1676,2165,2825,2536,2374,2598,2806,2786,2388,2419,3068,3153,2633,2520,2790,2445,2012,1588,1796,2250,2711,2933,2785,3188,3177,2600,2594,2887,2763,3938,3708,3016,3704,4212,4332,4188,2908,2432,2265,1930,1911,2005,2075,2526,3002,2587,2678,2863,3092,3286,3104,3218,3054,2664,2863,2828,2953,2930,2434,2149,2522,2500,1885,1684,1798,1972,2505,2844,2771,2618,2676,3265,3134,2625,2110,2023,2028,1864,1738,1758,2021,2002,1863,1895,1791,1752,2121,2293,1910,1917,2066,1943,1899,2054,1830,1527,1471,1758,1709,1782,1709,1978,2298,2197,1834,1670,1622,1692,1774,1821,1968,2277,1824,1710,1703,1765,1553,1567,1691,2024,2400,2752,3044,2599,2202,2160,2369,2094,1866,1762,1646,1610,1517,1549,1562,1496,1485,1732,2036,2011,2384,2630,2608,2757,2526,2669,2742,3111,3329,2522,2160,3185,3709,2943,2409,2083,2066,2029,2116,2267,2133,1901,1721,1454,1550,1743,1826,1770,1664,2093,1976,1990,1971,2188,2315,2300,2071,1786,1762,1610,1619,1829,2047,2201,1923,1730,1753,1693,1868,1840,1707,1732,2112,3164,2817,3466,2941,2448,1988,1836,1791,1878],[2264,1907,1856,2214,1973,1789,2153,1768,1492,1571,1763,1692,1613,2087,2123,1961,1604,1676,2048,1769,2361,2602,1679,1495,1874,1788,1976,2304,1834,1942,1965,1776,1702,1671,2054,2302,2044,2207,1659,1047,1723,2245,2030,1697,2126,2178,2126,2872,3164,2770,1997,1817,1986,1634,1745,2491,2019,2124,1534,1670,2211,2664,2754,2897,2746,2424,2155,2395,3318,3240,2368,2379,2555,2888,2866,2548,2448,3339,3618,3558,3660,3721,3969,4052,3960,4023,3997,3553,2200,2222,2442,2659,2405,2170,2264,2070,2109,2793,2831,1953,2097,3086,3050,2856,2357,1980,1888,2221,2400,2255,2447,2612,2667,2331,2288,2157,1714,1788,1522,1853,2172,2401,2283,1987,2351,2788,2768,3068,2349,2053,1775,1854,1654,1565,1633,1768,1706,1805,2014,2119,2386,2819,2942,3156,3265,3244,3168,2898,2703,2675,2359,1975,1813,1882,1797,1814,2005,2022,2298,2734,2723,1800,1600,1690,1682,1880,1964,2082,2247,2189,2361,2542,2225,1911,1714,1814,1736,1673,2285,2183,1759,1918,2118,2603,2578,1986,1802,1853,1744,1975,1908,1908,1939,2260,2398,2128,2211,2463,2460,2125,2002,2372,1954,2156,2633,2676,2582,2519,2465,2090,2142,2081,1862,1990,2670,2160,1529,1687,1977,1831,1825,1816,1913,2149,1943,1916,1911,1534,1381,1778,2136,2141,1967,1645,1646,1835,1958,2898,3795,3232,3034,3020,2918,3231,3124,3219,3261,3100,2790,2829,2989,3071,2890,2728,2862,2989,2878,3165,3049,3122,2756,2321,1817,1676,1850,2193,2380,2271,1808,1765,1969,2151,1925,2313,2501,2662,2203,1741,1503,1314,1488,1684,1635,1522,1837,1672,1837,1595,1599,1693,1598,1719,1811,1486,1383,1455,1720,1764,1625,1582,1628,1825,1722,1989,2296,1967,2095,2354,1908,2197,2429,2131,2285,1966,1908,2355,2307,2174,1942,2371,2522,2154,1783,1562,1698,1637,1913,1807,1513,1673,1598,1671,2008,1909,1801,1626,1306,1409,1574,1712,1716,1832,1716,1335,1565,1419,1518,1550,1685,1624,1451,1565,1877,2102,2027,2082,1707,1582,1964,2503,2580,2349,2446,2438,2049,1888,1802,1716,1978,1907,1588,1485,1782,2013,2208,2853,2086,1538,1518,1524,1484,1914,2316,1719,1694,1844,1763,1991,1516,1537,2024,2132,2115,1735,1662,1963,2094,1842,1872,1527,1521,1573,1581,1674,1440,1505,2295,2552,2529,2997,3107,2965,2310,2202,2422,2938,2912,1996,1465,1489,1603,1455,1407,1515,1540,1544,1686,1640,1599,1515,1606,1770,1487,1535,1727,1646,1610,1508,1481,1527,1468,1260,1082,1836,1848,1570,1905,1810,1444,1623,1599,1473,1503,1772,1831,1764,1709,1764,1734,1622,1272,1571,1882,1685,1541,1605,1578,1673,1796,1620,1713,1693,2083,2038,2766,2315,1840,1707,1678,1742,1704,2049,3082,3232,2310,2150,1590,1490,1393,1432,1968,2101,1483,1420,1852,1876,1437,1396,1500,1634,1476,1493,1535,2044,2074,1896,2046,2154,2657,2721,2084,1931,2229,2374,1932,1828,1718,1709,1686,1504,1588,1543,1244,1448,1918,1573,1412,1468,1546,1393,1421,1499,1729,1813,1649,1701,2027,2159,1708,1473,1390,1464,1562,1840,1874,1894,1961,2132,2159,1924,2537,3343,2946,2445,1918,1618,1723,1985,1921,1841,1786,1704,1499,1515,1731,1701,1720,2014,1848,2445,2635,2135,1845,1703,1464,1531,1852,1881,2085,2635,2588,1908,1535,1483,1500,1586,1760,1964,1647,1546,1595,1480,1488,1475,1456,1405,1337,1582,2368,2901,3785,3685,2491,2328,2264,1934,2458,3022,2458,1996,1741,2054,1894,1812,2380,2383,2416,2534,2626,2640,2525,2679,2642,2278,1997,2357,1965,2208,2742,2523,1854,1525,1573,1584,1432,1625,1814,1805,1989,2092,2039,2008,2394,2287,2135,1830,1602,1697,1858,1704,1499,1460,1554,2186,2111,1629,1644,1965,1991,1742,1556,1534,1549,1671,1920,2376,1856,1801,1919,2160,2307,1869,1924,2077,1828,1829,1800,1605,1737,2323,2559,2128,1816,1968,2019,1659,1434,1399,1372,1459,1487,1434,1561,1576,1745,1561,1454,1439,1469,1451,1325,1272,1450,1426,1159,1216,1363,1340,1269,1482,1510,1327,1368,1551,1656,1450,1404,1514,1490,1776,1898,2064,2064,1972,1831,1846,2402,2817,2625,2005,2312,3039,3100,2584,2286,2314,2452,2570,3212,3658,3623,3895,3270,2582,2906,2706,2678,2956,2990,2679,2907,2436,3030,2966,2512,2685,2847,2319,2309,2389,2033,2175,2300,1664,1518,1098,1551,2799,3297,3053,2309,2145,1899,1064,1565,3253,3340,2877,2807,2498,2075,1638,1725,1941,1878,1930,2079,2083,2000,1944,1952,1709,1500,1686,1611,1317,1473,1500,1566,1470,1455,1400,1390,1425,1496,1577,1355,1382,1450,1360,1330,1591,2398,2487,2182,2248,2518,2653,2308,1597,1791,1842,1757,1894,1748,1633,1677,1759,1825,1797,1769,1759,1481,1081,1132,1143,2057,2409,1683,1519,1797,2113,2533,2337,1610,1571,2250,2119,1666,1599,1528,1707,1803,1869,1819,1697,1797,1493,1432,1525,1303,1222,1825,1693,1265,1305,1553,1571,1503,1622,2109,2793,2445,1934,2050,1962,1684,1365,1652,1823,1625,1956,2252,2146,1990,2376,2980,3075,3056,3067,2083,1609,1653,1747,1428,1989,2253,1814,2024,2097,1874,2054,2200,1979,1546,1319,1444,1923,1941,1403,1566,2242,2489,2285,2152,1633,1611,2514,2839,2735,2039,2055,1560,1416,1380,1797,1827,2137,2599,2250,1795,1439,1983,2317,1896,2008,2221,1685,2117,2493,2768,3160,2991,3009,3197,2082,1626,1931,2587,2908,2437,2071,3144,3807,3575,2641,1716,1848,1960,1623,1715,2125,2053,2137,2174,2166,2163,2031,1756,1661,1577,1549,1639,1811,1816,1591,1252,1375,1743,1772,2183,1960,1819,1782,1628,1388,1308,1200,1235,1218,682,984,1680,1834,1976,1732,1423,1361,1588,1716,1598,1395,1207,1036,1407,1856,1946,1989,2372,1748,1343,1582,1585,1265,1279,1382,1454,1505,1623,1722,1649,1637,1346,1287,1533,1634,1423,1076,1120,1088,855,941,1197,1218,1272,1446,1411,2099,2252,1897,1372,1104,1292,1593,1867,1546,1507,1123,1184,1305,1492,1556,1406,1504,1579,1641,1564,1128,1505,1551,1500,1838,1856,1696,1713,1656,1302,1456,1571,1384,1123,1013,1843,1886,1693,1201,1252,1888,2147,2019,1808,1801,1933,1855,1727,2417,3191,2425,1783,2238,2367,2871,3320,3130,2588,1856,2093,2601,2320,1961,1873,1897,2145,1947,1681,1555,1453,1462,1618,1648,1638,1635,1159,928,1404,1939,2142,2002,1826,1719,1765,1601,1734,1661,1418,1512,1734,1789,1712,1780,1781,1743,1732,1610,1848,1749,1565,1502,1816,1863,1630,1463,1669,1784,1705,1561,1520,1449,1689,1905,1779,1621,1577,1434,1370,1376,1392,1614,1455,1333,1240,1247,1393,1312,1324,1333,1439,1820,1949,1466,1016,1108,1147,1021,874,1172,1258,1215,1422,1543,1467,1216,1012,857,1048,1315,1225,1472,1582,1552,1638,1574,1190,1079,1427,1510,1158,1180,1310,1330,1151,1114,1193,1183,1143,1419,1687,1397,1276,1304,1256,1184,1094,1114,1271,1600,1870,1580,1538,1600,1530,1407,1126,1101,1589,1826,1641,1500,1544,1465,1512,1482,1635,1720,1417,1554,2504,3264,3564,3640,3111,2279,1841,1901,1963,1897,1819,1602,1822,1383,969,1514,1720,1589,1572,1378,1365,1367,1281,1506,1457,1354,1563,1682,1483,1487,1521,1673,1544,1436,1641,1737,2225,1738,1619,1755,2009,2361,2534,2021,1835,1756,1577,1548,2102,1992,1566,1547,1609,1827,1844,1607,1383,1426,1610,1678,1499,1537,1672,1526,1400,1377,1317,1513,1452,1248,1539,1951,1494,1526,1829,1619,1633,1366,1463,1831,1895,1704,2396,2830,2237,1605,1722,2347,2856,2520,1739,1630,1650,1651,1461,1215,1203,1467,1596,1654,1656,1580,1405,1408,1622,1616,1716,1677,1691,2000,2232,2214,2281,2045,2251,2320,1738,1941,1907,1492,1399,1767,2147,1829,1643,1805,1920,1844,1799,2078,1838,1447,1425,1503,1679,1764,1570,1671,1743,1627,1741,1903,1636,1824,2317,2071,2030,1806,1610,1481,1938,3288,3885,4120,3758,2698,2752,2988,2931,3097,2587,2174,1937,1834,2036,2440,2589,2266,1872,1620,1690,1638,1520,1769,2096,2010,1568,1455,1518,1692,1849,1703,1553,1505,1433,1594,1859,1837,1621,1599,1782,1841,1959,2338,2602,2409,2391,2420,2077,1733,1840,1915,1913,1841,1822,1944,1966,1809,2043,2340,2415,2266,1989,1891,1860,1738,1752,1815,1859,1853,2136,2176,2069,1976,1772,1785,1787,1786,1744,1793,1866,1851,1769,1685,1670,1860,1861,1797,1956,1778,1650,1779,1959,1962,2012,2004,2090,1958,1993,2103,2092,2165,1784,1632,1609,1991,2089,1621,1773,2025,2230,2907,2788,2351,2073,1883,2143,2468,2119,2385,2959,2418,2381,2659,2901,2919,2619,2440,2494,2736,2642,1675,1606,2358,2876,3067,3051,2700,2325,1949,1617,1599,1928,2341,2490,2347,3191,3113,2677,2900,3067,2711,3706,3648,2740,3466,4016,3930,3830,2973,2595,2259,2521,2532,2142,2032,2365,2705,2520,2169,2356,2943,3023,2928,3074,2210,2401,2708,2739,2544,2410,2601,2502,2453,2523,2172,1977,2026,2398,2678,2463,2492,2218,1879,2235,2358,2200,1878,1935,2029,2123,1967,1969,2108,2086,1941,1746,1513,1613,1934,1786,1793,2252,2269,1832,1783,1962,1731,1700,1688,1671,1676,1879,1908,1882,1926,1737,1531,1471,1457,1593,1638,1813,2163,2181,1853,1785,1606,1638,1628,1537,1612,2129,2343,2104,2265,2025,1724,1723,1748,1807,1943,1642,1627,1695,1596,1558,1532,1438,1697,1838,1743,1782,2344,2398,2364,2450,2289,2522,2839,2972,3109,2587,2598,3006,3740,2988,2001,1620,1843,1932,1960,2149,1952,1740,1432,1458,1635,1406,1495,1411,1561,2175,2431,2066,1967,2477,2545,2467,2008,2040,1820,1762,1747,1821,1927,1751,1655,1729,1591,1877,2271,1838,1593,1765,2310,2798,2064,2552,2601,2435,2176,1892,1690,1744],[1969,1811,1910,1852,1708,1782,1738,1599,1468,1787,1952,1491,1440,2462,2410,2060,1619,1373,2255,2496,2728,2715,1788,1606,1434,1328,1550,1627,1329,1537,1734,1772,2014,2213,1998,1728,1911,1889,1372,1375,2303,3010,2894,2165,2362,2453,2472,3066,3220,2664,2054,1885,2123,1793,1392,1981,2586,2271,1770,1967,2452,2753,2706,2565,2384,2382,2147,2875,3818,3409,2292,2323,2302,3051,2964,2285,2724,3462,3061,3421,3784,3794,3913,3413,3255,3981,4093,3536,2178,1372,1081,1469,2214,1994,1786,2077,2480,2802,2966,2789,2851,2824,2286,2100,1875,1639,1893,2169,2648,2820,2818,2885,2765,2030,1869,2065,1730,1404,1445,1891,2636,2797,2399,2393,2249,2165,2254,2492,2213,2238,1952,1597,1537,1529,1642,1638,1539,1602,1742,1948,2096,2460,2773,3034,2888,2580,2386,2160,1902,1743,1677,1552,1534,1639,1660,1820,1646,1960,2790,2797,2568,2121,1720,1663,1842,2958,2847,2591,2465,2098,1908,2457,2414,1877,1708,2179,2020,1732,2403,2476,2036,1993,2009,2189,2485,2039,1678,1686,1552,1376,1410,1642,1950,2148,2040,1850,2289,2437,2282,2033,2110,2227,2187,2468,2401,2201,2215,2281,2281,2181,2432,2271,2445,2490,2763,2177,1834,2201,2159,1926,1944,1796,1742,1680,1504,1652,1690,1591,2076,2446,2210,1764,1685,1803,2147,2510,2132,2790,3420,3196,2820,2589,2758,3660,3839,3304,2814,2514,2414,2481,2484,2448,2586,2802,3134,3144,2932,3022,2812,2424,2645,2736,2065,1605,1893,2610,2834,2834,2227,1879,1819,2276,2395,2350,2290,2204,1832,1664,1375,1311,1468,1530,1673,1575,1964,1805,1717,1448,1412,1529,1398,1477,1538,1332,1376,1456,1573,1880,1748,1616,1502,1670,1444,1648,1981,1626,1765,2136,1660,2186,2891,2569,1972,1591,1544,1829,2143,2244,1949,1731,1786,1730,1482,1418,1516,1506,1932,1806,1736,1463,1826,2266,2122,1917,1708,1685,1460,1285,1459,1742,1537,1552,1666,1682,1756,1521,1461,1732,2050,1770,1447,1504,1851,2235,1931,1758,1524,1497,1840,1974,1893,1873,2231,2520,2330,2062,2010,2114,2197,2178,1708,1573,1844,1989,2212,2472,1970,1617,1514,1513,1670,2134,2108,1722,1628,1464,1628,1634,1532,1475,1345,1482,1531,1439,1640,2112,2146,1979,1932,1901,1875,1623,1664,1528,1297,1486,2203,2599,2798,3104,2950,2800,1916,1583,1678,2492,2720,2041,1625,1696,1720,1632,1606,1588,1656,1490,1340,1723,1792,1823,1886,1628,1571,1791,1803,1601,1686,1694,1714,1657,1492,1345,1210,1356,1620,1605,1828,1718,1514,1792,1908,1842,1982,2142,1874,1848,1786,1800,1706,1844,1868,1910,1908,1776,1666,1754,1632,1527,1652,1908,2249,1916,2103,2103,2340,2270,1798,1553,1544,1388,1307,1635,2640,3228,2454,1808,1465,1478,1374,1289,1890,2430,2407,2126,1941,1741,1742,1924,1267,1447,1487,1459,1488,2021,2099,1791,1973,2631,3340,3428,2212,2489,2598,2260,1819,1737,1797,1922,1712,1316,1347,1331,1256,1403,1560,1386,1381,1410,1460,1411,1527,1772,1841,1944,2046,1632,1807,2114,1898,1695,1542,1670,1556,1565,1660,1762,1766,1747,1679,1881,2715,3209,2566,2469,2381,2041,1692,1696,1639,1609,1835,1884,1634,1588,1460,1503,1672,2258,2121,2343,2419,2409,2402,1986,1484,1685,1832,1854,2319,2820,2459,1852,1532,1576,1624,1809,2679,3152,2548,1892,1605,1353,1372,1409,1491,1444,1371,1419,1722,2302,2700,2715,2191,1844,1980,1949,2222,2820,2430,2206,2216,2480,2215,2247,2409,2097,2022,1981,2060,2417,2464,2428,2683,2370,2042,2126,1974,2382,3252,2635,1528,1442,1499,1439,1521,1565,1586,1489,1795,2599,2918,2697,2339,2059,1933,1561,1420,1637,1580,1409,1389,1348,1428,1714,1694,1389,1462,1708,1796,1731,1606,1538,1814,2080,2074,1931,1903,2072,1923,1958,2048,1879,1972,2052,1912,2317,1902,1528,1792,2027,1905,1628,1459,1620,1730,1724,1543,1396,1441,1548,1486,1490,1482,1367,1435,1467,1333,1326,1264,1175,1235,1233,1267,1165,1246,1429,1462,1390,1301,1394,1438,1316,1316,1529,1754,1620,1490,1378,1438,1793,1787,1856,1958,1863,1832,2271,3056,3542,3007,2061,2429,3186,3263,3066,3094,3052,3306,2813,2834,3376,3457,3784,3318,2588,2769,2221,2630,3323,3374,2705,2530,2543,2802,2820,2588,3122,2964,2185,2362,2277,2070,2730,2279,2127,2165,1713,1575,2670,3416,3186,2688,2692,2399,2076,1896,3133,3357,2564,2385,2138,2104,1740,2254,2543,2005,1871,1827,1975,2051,2085,1975,1931,1754,1625,1481,1395,1459,1710,1768,1555,1547,1412,1412,1490,1505,1460,1277,1324,1314,1357,1320,1424,1771,1901,2116,2237,2415,2329,1968,1874,1970,1803,1744,2127,1721,1591,1646,1686,1756,1721,1912,1809,1185,734,1004,1320,2050,1815,1500,1383,1570,1996,2049,1726,1549,1874,2229,2150,1834,1768,1966,2025,1906,1779,1812,2215,1952,1528,1653,1687,1620,1327,1778,1826,1642,1863,2010,1826,1906,1896,1980,2482,2193,1759,1708,1925,1675,1447,1964,2217,2102,2190,2543,2253,1731,2111,2524,2388,2075,2496,2100,1947,1787,1907,2217,2568,2007,1985,2588,2263,2057,2081,2046,1806,1506,1682,2200,2534,2099,1437,1576,2067,2033,1864,2110,1688,1376,2104,2888,2547,1615,1425,1523,1538,1584,1944,1887,1855,2208,2486,2159,1929,1934,2080,1936,2208,2200,2093,2679,2407,2577,3325,3160,2562,2326,1265,1629,2622,3167,2924,2032,2091,3151,3736,3598,2685,1584,1880,1926,1694,1642,1793,1779,1923,2059,2076,1951,1901,1982,1745,1687,1833,1567,1682,1684,1365,1636,2268,1982,1687,1868,2053,1828,1555,1565,1417,1395,1446,1374,1070,1126,1361,1340,1834,2152,1745,1578,1408,1534,1852,1772,1497,1400,1526,1810,1902,1700,1713,2102,1885,1418,1465,1387,1312,1247,1251,1263,1248,1517,1707,1831,1841,1614,1643,1500,1190,1065,1035,1146,977,590,917,867,754,812,1082,1556,1892,1958,1951,1614,1291,1254,1355,1503,1826,1396,1128,1243,1311,1511,1339,1618,2596,2641,1823,1371,1273,1736,1736,1632,1834,1690,1511,1671,1665,1656,1738,1748,1364,849,1196,2604,2548,1952,1372,1215,1427,2050,2317,1838,1829,1821,1635,1832,2281,3100,2337,1725,2303,2285,2218,2504,2688,2648,2314,2452,2632,2575,2268,2237,2202,2186,1925,1759,1602,1422,1359,1525,1649,1671,1427,1292,1562,1803,1969,2137,2189,1968,1653,1619,1635,1338,928,1153,1548,1675,1687,1691,1754,1772,1704,1650,1600,1462,1751,1705,1459,1914,1853,1655,1541,1461,1406,1399,1321,1346,1365,1403,1474,1428,1354,1347,1350,1376,1394,1334,1384,1494,1422,1333,1422,1381,1309,1403,1532,1572,1782,2050,1593,1027,1121,1113,1058,977,1240,1425,1346,1239,1333,1368,1333,1162,1060,1111,1155,1406,1732,1764,1720,1688,1231,923,1010,1200,1150,1191,1273,1229,1350,1249,1265,1255,1077,1266,1643,1580,1419,1350,1248,1210,1183,1000,985,1279,1395,1487,1388,1263,1176,1199,1350,1470,1321,1678,1835,1911,1794,1619,1596,1884,1798,1812,1597,1700,2634,3234,3342,3508,3159,2317,1714,1489,1573,1794,1823,1745,1576,1705,1470,1528,2423,2017,1731,1547,1518,1584,1461,1434,1533,1533,1430,1479,1401,1420,1534,1599,1554,1400,1378,1876,1812,1560,1493,1630,1697,1691,2234,2066,1546,1597,1684,1467,1587,2123,1734,1434,1378,1870,2384,1964,1703,1722,1819,2273,1984,1482,1333,1344,1383,1424,1503,1384,1314,1346,1310,1421,1681,1546,2010,2250,2000,1632,1371,1532,1957,1814,1655,2128,2148,2122,2100,1861,2250,3087,2173,1524,1658,1706,1583,1387,1306,1512,1714,1528,1750,1961,1861,1488,1572,1867,1711,1837,1847,1982,2269,1947,1953,2421,2231,2307,1853,1754,1971,1970,1888,1942,1966,1708,1579,1591,1570,1798,1748,1628,1947,1537,1594,1460,1613,1908,1891,1744,1688,1561,1395,1801,2389,1824,2195,2463,2351,2120,2109,2051,2230,3012,3217,3637,4193,3200,2619,2487,2375,2813,2808,2404,2197,2032,1891,2142,2950,3163,2680,2162,1737,1578,1525,1582,1697,1760,1665,1543,1404,1474,1556,1716,1651,1620,1462,1394,1621,1978,2228,1732,1644,1866,1935,2093,2261,2585,2057,1949,2060,2056,1817,1734,1647,1824,2023,2067,1934,1772,1626,1732,2168,2492,2348,1829,1935,1901,2020,1980,1792,1799,1724,1840,1885,1942,1943,1832,1859,1847,1832,1976,2136,2030,1857,1903,1807,1692,1717,1476,1596,1903,1853,1796,1953,2329,2395,2208,2057,1863,1685,1903,1924,1941,1933,1610,1503,1575,1766,1731,2114,2376,2099,2640,2932,2394,2667,2254,1582,1618,1767,1808,1991,2442,2141,2311,2829,2830,2873,2906,2602,2428,2407,2304,1619,1171,1822,2350,2668,2359,2109,2086,1843,1562,1731,1999,1825,2245,2365,3022,2755,2687,2941,3163,3238,3470,2885,2416,3176,3575,3370,3278,3151,2796,2663,2576,2376,2294,2244,2245,2197,2098,2184,2264,2733,3024,2339,2491,2181,2545,2741,2619,2435,2220,2548,2570,2264,2193,2586,2250,2192,2600,2361,2352,2668,2164,1465,1466,2011,2220,2104,2294,1955,2158,2183,2092,2363,2236,1793,1643,1723,1992,1873,1486,1557,1803,1852,1684,1900,2002,1850,1918,1872,1709,1763,1806,1758,1700,1558,1477,1433,1448,1484,1466,1781,2100,2374,2603,2323,1766,1668,1902,1776,1542,1583,2120,2196,1881,2024,1786,1641,1704,1699,2154,2286,1750,1748,1633,1505,1570,1664,1578,1680,1636,1484,1628,2178,2106,2103,2390,2349,2830,3173,2783,2985,2792,2582,2852,3465,3008,2321,2131,2020,1590,2253,3111,2385,2048,2103,2358,2044,1451,1399,1496,1613,1976,2316,2173,2128,2009,2314,2282,1919,2059,1697,1600,1726,1760,1753,1778,2221,2474,2358,2042,1789,1704,1746,1592,2425,2379,1780,2120,2519,2425,2320,2026,1708,1924],[2112,1851,1655,2096,2438,1837,1594,1816,1572,1733,1979,1698,1609,2864,3332,3096,2272,1571,1925,2094,1755,1855,1703,1621,1685,1687,1687,1670,1682,1468,1425,1508,1834,2112,1679,1637,1853,1729,1626,1720,1804,1964,1884,2232,2857,2355,2342,3553,3947,3096,2191,1930,2088,1732,1450,1409,1975,1940,1707,2171,3149,3394,2916,2763,2407,2177,1946,2997,3933,3216,2370,2432,2277,2467,2361,1998,2566,3821,3532,4053,3853,3890,3770,2155,1676,3100,3890,3240,2248,1372,1111,1364,2080,2072,1829,2674,3276,2944,2360,2077,1836,1603,1575,1980,1731,1362,1603,2114,2798,2592,2518,2335,2157,2049,2426,2758,2119,1593,1844,2240,2675,2571,2625,2504,1947,1881,1859,2079,2096,2037,1652,1459,1534,1546,1574,1535,1514,1661,1570,1703,1814,2329,2534,2504,2623,2351,1992,1795,1664,1516,1470,1556,1622,1564,1864,1639,1600,2116,2343,2211,2416,2486,1784,2044,2812,3260,2674,2847,2703,2690,2874,2859,2566,2319,2588,3240,3024,2481,2134,2292,2719,2801,2411,1934,2024,2160,2191,2178,1968,1638,1548,1732,2113,2240,2263,1941,2000,2416,2318,2051,2071,2035,1824,1870,1740,1622,2013,2036,1990,2167,2304,2225,2302,2470,2471,2128,2113,2302,2260,2099,1996,1794,1794,1755,1727,1732,1581,1624,2562,2788,2131,1607,1780,2170,2669,3361,2800,3097,3028,2828,2752,2404,2420,3095,3454,2785,1936,1941,2203,2207,2231,2320,2717,3204,2708,2178,2604,2666,2544,2675,2789,2793,2227,1786,1974,2348,2105,1597,1793,1794,1666,2111,2193,1715,1866,2088,2112,1604,1368,1358,1530,1496,1450,1454,1754,1873,1677,1592,1660,1410,1328,1345,1340,1456,1603,1781,1696,1898,1825,1715,2216,2181,1589,1779,2099,1954,1976,2341,1683,1630,2072,2222,1875,1660,1839,2143,2136,1786,1610,1737,1561,1459,1264,1435,1399,1910,2601,2065,1641,1619,2299,2680,2037,1697,1641,1548,1551,1647,1858,1521,1543,1700,1543,1671,1774,1606,1621,2050,2419,1696,1415,1453,2240,2544,1964,1695,1687,1833,1968,1677,1553,2038,2311,2318,2159,2265,2352,2685,2216,1857,1619,1461,1756,1698,2010,2385,1708,1639,1437,1359,1547,1754,1513,1489,1502,1550,1501,1426,1472,1432,1407,1459,1421,1486,1894,2613,2349,2248,2570,2608,2029,1618,1566,1505,1394,1529,2024,2877,2956,2541,2080,2136,1719,1640,1754,2016,2365,2216,1733,1761,1762,1754,1813,1632,1403,1241,1353,1779,1819,1717,1657,1528,1625,1610,1345,1565,1710,1812,1885,1764,1582,1488,1443,1538,1741,1755,1794,1708,1642,1841,1937,1873,1832,1887,1985,2316,2475,2095,1902,2201,2135,1810,1457,1840,1932,1792,1634,1397,1489,1781,1836,1663,2010,2299,2502,2534,1723,1348,1482,1602,1469,1634,2662,2644,1946,1625,1425,1395,1566,1538,1462,1722,1830,1843,1910,2061,2533,2380,1615,1596,1735,1776,1768,2083,2365,1999,2044,2590,3006,3042,2452,2439,2036,1873,1738,1525,1550,1795,1667,1460,1570,1779,1570,1408,1487,1615,1683,1671,1723,1741,1890,2020,2120,2276,1828,1559,1731,1966,1924,1748,1801,2101,1874,1562,1747,1966,1748,1703,1673,1734,1946,2144,2050,1676,1847,2008,1993,1870,1715,1674,1609,1500,1555,1614,1631,1629,1773,2353,2433,2007,1822,2183,2373,1914,1581,1825,2133,2485,2946,2896,2641,2035,1670,1686,1914,2568,2842,2954,3075,2126,1568,1584,1609,1515,1706,1877,1786,1964,1915,1962,1898,1690,1698,1595,1730,1898,1809,2190,2524,2464,2684,3265,2895,2191,2028,2021,1973,2102,2244,1971,1762,2245,2534,2468,2406,2363,2154,2136,2266,1769,1267,1344,1478,1546,1547,1321,1382,1372,1764,2334,2366,2036,1823,2017,1916,1637,1592,1503,1472,1512,1389,1440,1420,1383,1362,1302,1330,1494,1669,1691,1544,1681,1651,1776,1827,1787,2176,2567,2887,2703,2129,1928,1758,1757,2000,2436,1763,1626,1676,1574,1553,1515,1586,1504,1527,1789,1710,1546,1553,1419,1401,1333,1340,1284,1222,1234,1210,1250,1260,1173,1184,1268,1239,1366,1492,1478,1428,1399,1336,1332,1423,1528,1520,1550,1591,1518,1542,1499,1423,1635,1739,1803,1882,1825,1864,2253,2610,2889,2747,2112,2454,3045,2866,2780,2958,3310,3581,3580,3460,3386,3537,3623,3082,2643,2764,2332,2698,3404,3264,2393,2402,2687,2695,2405,2357,2667,2645,1974,1826,1971,2088,2432,2100,1787,1560,1764,2025,2126,2331,2636,2829,1824,1331,2377,2574,2735,2893,2431,2116,2150,2023,1994,3107,3383,2319,1871,2024,2257,2485,2251,2068,2064,1877,1896,1893,1481,1334,1470,1556,1744,1997,1570,1628,1400,1232,1295,1368,1374,1315,1278,1190,1402,1787,1872,1749,1697,1787,1704,1626,1649,1745,1801,1794,1679,1434,1249,1537,1867,1742,1686,1853,1547,890,950,1326,2069,2272,1863,1683,1627,1901,2388,1961,1860,1738,1930,2250,2286,2086,1812,1595,1620,2198,2219,1933,1933,1912,2050,2348,2566,2244,1668,1821,2187,2261,2192,1972,1879,2031,2099,2197,2347,2170,1866,1823,2093,1969,1862,1934,2019,2132,1929,1709,1734,1813,1837,1948,1921,1843,1953,1698,1421,1495,1671,1953,1951,1751,1873,2025,1887,2047,2168,2238,1931,1828,2204,2665,2823,2468,2014,1948,2024,2159,2015,2120,1545,1581,2745,3045,2217,1707,1825,1772,1354,1376,1519,1604,1731,1840,2489,2985,2597,1995,2261,2534,2507,2587,3263,3199,2666,3063,2998,2454,2082,2340,2155,2549,2706,2833,2744,2308,2232,2647,3093,2887,2116,1367,1803,1763,1544,1567,1881,2134,2404,2326,1877,1861,2015,1943,1890,1936,1715,1129,1361,1556,1444,1857,1869,1636,1683,1608,1658,1776,1705,1478,1499,1438,1600,1455,1365,1570,1587,1469,1619,1932,2012,1801,1727,1505,2006,1762,1728,1748,1733,1864,1794,1582,1892,1948,1765,1548,1507,1204,1254,681,816,1079,1356,1504,1563,1799,1862,1777,1645,1128,870,719,1036,1379,1063,1014,1463,1584,1338,1031,1061,1328,1777,1930,1928,1724,1487,1261,1171,1025,1349,1224,1134,1268,1430,1336,1052,1513,2136,2797,2010,872,1141,1540,1721,1838,1887,1653,1628,1625,1717,1722,1779,1915,1728,939,1415,2530,2814,2311,1568,1394,1437,1752,2434,2029,1784,1734,1521,1793,2106,2411,1763,2116,2999,2849,2459,2432,2441,2728,2381,2592,2215,2443,2322,2307,2035,1826,1798,1849,1785,1638,1461,1481,1708,1925,1507,1762,1897,2014,1929,1951,2010,1832,1770,1806,1378,818,840,918,1147,1585,1766,1767,1745,1698,1661,1743,1627,1553,2002,1781,1499,1962,1894,1657,1534,1339,1126,1079,1248,1362,1397,1419,1505,1311,1294,1246,1277,1353,1439,1374,1315,1360,1480,1738,1845,1564,1387,1368,1523,1422,1410,1876,1716,1263,1210,1131,984,1063,1285,1147,1142,1274,1302,1297,1383,1185,1152,1100,1351,1695,1757,1802,1759,1417,1163,1268,1132,1196,1493,1473,1353,1263,1252,1383,1580,1639,1445,1389,1543,1382,1307,1241,1179,1172,1168,1022,993,1132,1193,1248,1373,1316,1326,1527,1521,1674,1577,1632,1556,1804,1976,1687,1644,1838,1703,1627,1970,2802,3229,3410,3377,3327,2974,2017,1519,1450,1628,1498,1498,1578,1398,1630,1644,1779,2292,1772,1497,1419,1507,1545,1305,1396,1769,1786,1576,1469,1403,1455,1500,1504,1434,1565,1564,1717,1686,1621,1438,1498,1665,1908,1838,1560,1347,1371,1457,1589,1923,1780,1587,1684,1345,1473,1783,1819,1880,1991,2143,1940,1405,1248,1313,1365,1260,1565,1884,1636,1404,1445,1372,1297,1436,1814,2223,2138,1651,1581,1512,1606,1821,1733,1704,1983,1995,2335,3091,2706,2986,3022,1915,1501,1504,1525,1383,1367,1433,1635,1565,1324,1575,1803,1729,1683,1872,1709,1559,1543,1683,2411,2477,2169,2122,2419,2347,2113,1654,1776,1955,2151,2107,1904,1858,1829,1659,1586,1643,1781,1667,1759,2041,1912,1730,1596,1792,2122,2083,1966,2004,1621,1465,1937,2164,1990,2165,2216,2140,1966,1856,2004,2775,3787,3406,3292,3183,2773,3140,2714,2533,2976,2746,2487,2474,2414,2373,2821,3157,3133,2829,2613,2086,1734,1616,1827,1824,1519,1748,1816,1282,1455,1506,1601,1490,1669,1510,1513,1786,2426,2480,1951,1859,1808,1939,2176,2173,2492,1799,1864,2254,2410,2236,2008,1715,1776,2029,2247,2163,1726,1570,1645,1922,2806,2405,1981,1882,1865,2127,2012,1852,1909,1807,1847,1809,1943,2004,1981,2080,2056,1923,1987,1956,1760,1708,1728,1713,1554,1481,1499,1793,2176,2287,2031,1933,2203,2187,1805,1857,1814,1583,1626,1714,1628,1442,1566,1841,1870,1902,2156,2579,2459,2232,2844,3062,2740,3107,2741,1927,1799,1592,1793,1941,2020,1869,1991,2557,2781,2835,2736,2154,2093,1858,1699,1864,1423,1345,1991,2341,2080,1782,1695,1651,1640,1810,1835,2083,2194,2338,2422,2372,2612,2707,3011,2992,2283,1840,2446,3009,3295,3230,3043,2821,2896,2941,2441,2216,2333,2610,2697,2051,1954,2134,2065,2908,3224,2404,2309,2557,2776,2890,2899,2431,2407,2687,2630,2578,2226,2584,2542,2444,2545,2629,2656,3007,3040,2386,1839,1921,1964,1949,1813,1852,1835,2046,2151,2352,2311,1974,1692,1816,1999,1772,1701,1654,1785,2188,1960,2000,1935,1908,1943,1808,1794,1970,1956,1698,1646,1677,1626,1616,1714,1679,1716,2208,2264,2087,2105,2048,1703,1624,1760,1765,1541,1507,2065,2061,2062,2037,1699,1560,1627,1663,2094,2297,1913,1748,1453,1566,1841,1826,1633,1546,1585,1566,1672,2051,2062,2568,3079,3187,3618,3653,3071,3291,3334,3143,3356,3106,2792,2675,2725,2815,1942,2008,2564,2242,2308,2756,2488,1798,1544,1780,2064,1981,2117,1867,1893,2311,2358,2938,2567,1934,1715,1619,1599,1918,2055,1669,1998,2600,2832,2520,2237,1774,1904,2381,2134,2499,2770,2276,2133,2218,2193,1991,1676,1832,1986],[2585,2054,1613,2286,2424,1548,1820,2107,1737,1731,2130,2082,1962,2632,3069,2675,2498,2318,1906,1837,1692,2042,2029,2020,1962,2111,2098,1991,1951,1494,1388,1596,1678,1478,1617,1854,2064,1831,1898,1877,1690,1672,1699,2072,2289,2622,3342,3687,4168,3255,2260,1902,1744,1776,1705,1432,1744,2262,2454,2567,3465,3118,2529,3484,3377,2236,1962,2703,3056,2448,2458,2557,2386,2274,2104,1958,2407,3372,3633,3409,2695,2600,2197,1541,1441,2308,2789,2136,2190,1887,1821,1764,2014,2318,2031,2332,2789,2350,1792,1573,1587,1771,2232,2562,2131,1654,1757,2362,2474,2092,2079,2061,2002,2096,2684,2686,2088,1597,1968,2414,2576,2070,2458,3274,2862,1904,2025,2505,2107,1787,1652,1573,1578,1461,1443,1427,1529,1414,1664,1744,2352,3273,3316,3367,3189,2242,2032,1650,1642,1642,1501,1566,1674,1659,1745,1660,1821,1808,1830,2100,2058,2713,2381,2499,2698,2133,2266,2446,2809,3046,2896,2867,2190,2053,2512,3413,3330,2449,1933,2199,2758,2856,2331,1883,2200,2939,2977,2379,2051,1898,1844,2297,2396,2678,2943,2336,1897,2148,2237,2080,2021,2116,1676,1653,1975,2360,2024,1594,1582,1988,2248,2243,2386,2360,2148,2167,2138,1935,1978,2065,2085,2275,2305,2172,2193,2062,1814,1943,2294,2480,2195,2002,2327,2272,2147,2918,3183,3509,3118,2241,2335,2407,2209,2406,2250,1932,1903,2513,2701,2310,2266,2222,2392,2325,1787,1771,2476,3183,3217,2965,2743,2670,2295,1875,1758,1705,1528,1455,1736,1625,1377,1741,1888,1493,1774,2233,2233,1451,1284,1371,1695,1767,1513,1503,1748,1920,1864,1686,1520,1561,1525,1554,1737,1902,1888,1623,1516,1760,1892,2230,2903,2579,2216,2310,2612,2535,2314,2366,2325,2068,1743,1699,1825,1824,1522,1615,1637,1597,2098,2522,2092,2397,1862,1511,1666,2131,2277,1970,1403,1504,2311,2621,2464,2415,2310,1650,1602,1520,1657,1659,2228,2173,1620,1616,1739,2032,1888,1736,2052,1592,1310,1769,2436,1945,1672,1763,1625,1696,1786,1629,1671,1838,1807,2009,1899,1801,1722,1756,1772,1699,1739,1666,1495,1286,1584,1930,1690,1712,1562,1676,1936,1732,1391,1329,1410,1438,1434,1635,1845,1861,1670,1578,1359,1480,1852,2033,2062,2076,2403,2435,2056,1898,1824,1565,1585,1747,2520,2801,2376,1874,1534,1655,1652,1879,2009,1762,2236,2083,1709,1755,1748,1685,1664,1501,1318,1216,1371,1820,1717,1356,1659,1772,1780,1750,1902,2162,1805,1676,1789,1840,1862,1840,1754,1764,1890,1908,1852,1732,1732,1881,2115,2012,1904,2374,2744,2994,2987,2321,1866,2188,2231,2173,1764,1984,2187,2446,1929,1583,1433,1427,1480,1778,2248,2286,2336,2706,1993,1597,1520,1486,1611,1558,2204,2097,1594,1566,1505,1397,1698,1776,1610,1471,1813,2210,2104,2155,1968,1646,1591,1553,1455,1639,1871,1974,1876,1995,2127,2116,2424,2612,2457,1985,1895,1980,1677,1539,1754,1981,1783,1709,1531,1804,1671,1474,1325,1625,1736,1835,2237,2478,2788,2231,2275,2278,1757,1619,1543,1725,2022,2031,1896,1860,1695,1687,1854,2133,1902,1556,1522,1691,1764,2052,2024,1716,1739,2088,2489,2825,2873,2589,1741,1511,1592,1648,1673,1686,1715,1896,2099,1800,1665,1627,1773,1612,1537,1720,2409,3139,3448,2967,2443,1820,1546,1609,2351,3447,3166,2544,3309,2866,2013,1762,1533,1663,1714,1852,1959,1910,1849,2051,1917,1957,1910,1934,1877,2073,1796,2309,2940,3072,2887,3043,3243,2539,2038,1840,1948,2740,2824,1848,1507,1631,1911,2490,2610,2311,1879,1715,1637,1478,1449,1433,1385,1448,1499,1433,1438,1409,1624,1786,1808,1676,1572,1757,1849,1655,1549,1423,1697,1639,1444,1481,1392,1372,1332,1297,1359,1432,1662,1613,1734,1695,1419,1442,1450,1558,1653,2005,2461,2292,1731,1845,1631,1583,2110,2055,1795,2069,1978,1801,1754,1830,1930,1653,1439,1901,1898,1714,1561,1353,1488,1614,1534,1450,1288,1088,1072,1159,1108,1119,1164,1199,1278,1288,1380,1415,1354,1298,1283,1334,1513,1550,1431,1574,1761,1554,1353,1412,1514,1675,1817,1864,1848,1782,1871,2070,1774,1775,2510,1965,2215,2735,3255,3272,2963,2856,3075,3384,3149,3198,3385,3491,3052,2245,2202,2583,2673,2915,2830,2313,2328,2637,2714,2296,2198,2297,2373,2393,2591,2512,2374,2349,1809,1110,1195,1824,2174,2162,1711,1682,2003,1072,1698,2758,3066,2971,2599,2098,2014,2246,2368,3285,3898,3252,2269,2092,2438,2998,3078,2624,2018,1892,1888,2038,1981,1708,1617,1523,1294,1384,1626,1456,1636,1627,1532,1460,1484,1472,1405,1336,1242,1509,1877,1989,1686,1573,1437,1475,1471,1313,1593,2128,2198,1717,1257,1334,2200,2009,1759,1840,2095,1694,1308,1263,1676,2165,1930,2007,2081,2306,2314,1940,1803,2129,2019,1853,2235,2495,2173,1927,1844,1764,2539,2934,2475,2415,2150,2402,2542,2337,1807,1694,1801,1804,1699,1647,1817,2037,1731,1823,2116,2004,1950,2010,2314,2466,2358,1932,1744,2010,2408,2018,2644,2775,2321,1969,2232,2137,1718,1724,1402,1202,1672,1559,1520,1627,1780,1614,1959,1963,1736,1793,1890,1697,1641,1852,1947,2014,2177,2007,2040,1973,2088,2012,2132,1931,1867,2293,2314,1902,1682,1763,1799,1699,1915,1692,1479,1817,1985,1850,2320,2369,2272,2499,2520,2536,2863,3520,2690,2858,3039,3228,2048,2329,3185,2812,2599,2316,2239,2290,2172,1882,1968,2213,1793,1664,1706,1726,1729,1665,1572,2034,2519,2465,2125,1834,2000,2006,2066,1989,1869,1379,1171,1496,1584,1717,1809,1303,1420,1665,1633,1333,1579,1822,1705,1566,1764,1946,1720,1535,1576,1914,2150,2045,2852,2779,1846,1552,1374,1598,1556,1681,1724,1484,1430,1483,1782,2261,2258,1815,1636,1710,1428,802,425,977,1397,1474,1489,1413,1440,1543,1750,1733,1368,1073,1018,1670,2005,1512,1347,1578,1583,1599,1710,1638,1614,1823,1914,1825,1704,1601,1514,1370,1390,1481,1221,1237,1331,1442,1250,1594,1538,1465,1796,1167,888,1416,1798,1902,1980,1740,1739,2221,2150,1911,1614,1653,1691,1777,1483,1764,2584,2885,2633,1994,1657,1464,1479,2094,2275,1808,1571,1497,1611,1808,1718,1542,2165,3066,3066,2365,2286,2741,2643,2626,2223,1969,2141,2192,2048,1885,1734,1631,1817,1852,1700,1517,1476,1652,1962,1669,1734,1853,1952,1990,1945,1779,1647,1713,1491,924,938,1019,1166,1427,1952,1948,1836,1839,1712,1648,1705,1631,1728,1960,1966,1958,2052,1894,1680,1352,1170,1107,1380,1421,1349,1491,1560,1395,1191,1287,1353,1275,1546,1483,1271,1260,1306,1375,1679,1827,1662,1588,1338,1270,1361,1520,1805,1750,1526,1204,847,638,838,1078,961,1370,1268,1099,1134,1230,1178,1285,1330,1482,1665,1830,1775,1469,1321,1266,1229,1186,1204,1261,1251,1212,1130,1688,1980,1422,1416,1541,1541,1439,1364,1167,1000,993,1017,1109,1092,1068,1188,1242,1382,1391,1259,1457,1857,1859,1852,1556,1549,1669,1612,1785,1785,1712,1725,1668,2143,2875,3222,3233,3354,3197,2990,2185,1559,1549,1614,1645,1463,1685,1531,1422,1713,1674,1433,1430,1402,1478,1457,1399,1400,1532,1969,2154,1876,1455,1433,1490,1460,1521,1609,1824,1905,1858,1572,1464,1615,1534,1400,1748,2623,1671,1561,1501,1475,1594,1969,2154,2004,2309,2198,1534,1376,1475,1779,1900,1891,1909,1534,1309,1449,1766,1697,1251,1507,1788,1775,1597,1639,1302,1459,1724,1655,1817,1676,1654,1763,1372,1462,1788,1908,1880,1759,1690,1760,2070,2230,2587,2332,1759,1605,1475,1512,1428,1451,1491,1439,1339,1376,1305,1434,1670,1918,1908,1717,1802,1589,1991,2424,2319,2318,2542,2596,2446,2046,1806,1902,2082,2285,2022,1812,2064,2026,1563,1354,1440,1584,1737,1825,1912,1932,1884,1823,1874,1846,1973,2350,2519,1816,1707,1981,2142,2072,2020,1965,2071,2073,1648,1584,2615,3344,3128,3409,3107,3178,3448,3228,3221,3010,2561,2319,2377,2420,2790,3194,3141,3166,2773,2691,2247,1768,1575,1765,1761,1609,1592,1705,1357,1328,1411,1485,1510,1477,1435,1503,1741,2176,2097,1720,1744,1831,1932,1906,2078,1935,1706,2111,2809,3040,2830,2198,1773,1803,1937,2156,2274,1981,1929,1727,1653,2316,2275,2047,1851,1932,2171,2115,1857,1738,1730,1731,1742,1704,1804,1794,1938,1846,1768,1838,1505,1431,1785,1788,1830,1624,1797,2221,2209,1872,2084,2204,1894,2008,2397,2025,2154,1868,1564,1623,1644,1460,1325,1939,2265,1997,2023,2084,2070,2055,2104,2558,3119,3042,3152,3362,2552,1808,1960,2144,1841,1798,1785,1825,2032,2222,2303,2322,1781,1715,1457,1507,1744,1896,2175,2405,2358,2014,1670,1659,1779,2085,1893,1754,1814,1902,2345,2425,2595,2831,2798,3233,2868,1748,2207,2729,2934,2868,3071,3019,2851,3187,3094,2476,2262,2120,2234,2496,2138,2132,2131,2495,3206,3579,3295,2692,2294,2500,2856,3129,2872,2603,2556,2735,2802,2454,2468,2752,2337,2224,2473,2338,2871,2831,2755,2555,1940,1671,1670,1716,1861,1866,1866,1710,1735,2181,2407,1965,1862,1924,2195,2073,1676,1600,1928,2061,2035,1923,1889,1907,1667,1676,1831,1807,1636,1626,1597,1594,1748,1744,1728,1947,2126,1888,1747,1860,1915,1706,1509,1634,1720,1632,1566,1671,1602,1768,1946,1898,1649,1550,1615,1956,1975,1802,1645,1467,1853,1991,1721,1605,1581,1544,1673,2092,2254,1874,2687,3566,3783,3942,3762,2858,3096,3392,3362,3078,2602,3030,3046,2807,2844,2148,1705,1819,1717,2014,2215,1866,1744,1904,2455,2732,2280,2191,1951,2182,2551,2943,3350,3212,2486,1914,1918,1974,2181,2070,1748,2104,2408,2309,2023,2334,2022,2147,2728,2580,2566,2680,2149,1950,1915,1732,1885,1828,2251,2205],[2233,2065,1708,2021,1808,1850,2075,1972,1511,1587,2280,2371,1621,2084,2797,1905,1958,1841,1427,1570,1820,2244,2067,1884,1658,1796,1965,1920,1655,1343,1441,1322,1335,1573,1874,1915,1942,1545,1782,2131,1876,1653,1642,1992,2287,2157,2064,2431,3023,2778,2002,1793,1712,1888,1901,1511,1859,2761,3312,3027,3206,2545,2394,3805,3675,2599,2667,2668,2281,2099,2592,2665,2604,2832,2736,2569,2896,3448,3267,2341,2199,2224,1535,1570,2042,2146,2481,2224,2347,1900,1640,1592,1716,2186,2376,2339,2306,1981,1858,1712,2007,2411,2954,2950,2900,2442,2754,2475,2220,2520,2530,2715,2632,2402,2587,2372,2191,1803,1791,1756,2188,2113,2319,3552,3526,2110,1850,2209,1975,1937,1780,1424,1436,1511,1488,1570,1634,1653,1753,1912,3046,3938,3802,3784,2996,1920,1653,1331,1422,1581,1650,1742,1796,1701,1794,1906,2020,1878,2117,2853,3033,2874,2443,2542,2360,2187,2453,2327,2530,2684,2866,3029,2137,2330,2235,2578,2814,2382,2164,1913,1952,2353,2266,1946,2310,3421,3172,2418,2223,2039,2116,2699,2666,2337,2636,2369,1989,2030,2170,2198,2349,2447,2038,1809,2055,2402,1931,1604,1635,2041,2469,2204,1834,1786,2034,2261,2284,2025,1983,1928,1812,2547,2938,2878,2689,2045,1843,2396,2174,2131,2162,2157,2332,2329,2230,2347,2546,2923,2857,2386,2182,2000,1848,1861,2021,2385,2476,2898,2967,2734,2329,2228,2437,2229,2061,2236,2414,2771,2736,2178,1820,2017,2146,1688,1384,1533,1606,1519,1625,1633,1581,1992,1925,1505,1393,1655,1513,1408,1286,1418,1511,1401,1470,1618,1675,1655,1642,1439,1668,1762,1655,1630,1832,2073,1750,1423,1481,1619,1936,1917,2152,2633,2624,2291,1841,1619,1833,2236,2408,2034,1659,1550,1922,2083,1506,1528,1891,2229,2046,1780,1910,1959,1677,1847,2332,2235,1841,1762,1303,1688,2383,2452,2316,2231,1668,1669,1600,1375,1383,1918,2581,2111,1772,2002,2151,2165,1953,1918,2330,1725,1436,1820,2033,1745,1697,1588,1431,1375,1421,1714,1630,1677,2152,2125,1848,1532,1564,1664,1603,1686,1780,1640,1461,1465,1572,1651,1540,1540,1433,1728,2359,2056,1341,1317,1472,1447,1598,2121,1796,1516,1412,1602,1474,1608,1559,1795,2347,2535,2442,2320,2182,1777,1620,1574,1818,1837,2236,2317,2195,1661,1261,1519,1759,2129,1844,1541,1538,1508,1740,1793,1779,1642,1643,1693,1430,1263,1378,1594,1507,1625,2186,1897,1771,1892,2308,2164,1925,1857,1924,1971,1950,1896,1842,1804,1824,1751,1782,1735,1733,1871,2236,2134,2016,2711,3382,3375,2967,2561,1848,2170,2688,2807,2276,2304,2455,2440,2575,2393,1927,2058,2087,2458,2480,2241,2389,2618,2164,1753,1643,1643,1766,1557,1483,1599,1557,1550,1635,1522,1425,1470,1402,1535,1755,1625,1861,1931,1614,1578,1572,1324,1362,1618,1557,1708,1871,2197,2150,2188,2487,2599,2585,2487,1982,1835,1840,1539,1547,1947,1780,1751,1772,1721,1690,1530,1489,1464,1458,1759,1919,2076,2690,1986,2118,2080,1981,1892,2025,2495,2600,2117,1733,1602,2266,2331,1921,1716,1572,1355,1414,1870,1911,1914,2111,1918,1740,1891,2250,2579,2889,3088,2586,1738,1764,1830,1592,1692,1657,1683,1801,1774,1836,1495,1525,1377,1471,1894,2031,2243,2631,2520,2293,1862,1487,1827,3223,3551,3140,2868,3392,2740,2292,1974,1612,1389,1377,1514,1634,1694,1722,1703,1948,2438,2316,2344,2190,2442,2186,2123,2878,3466,3464,3333,3617,3062,2250,2263,2899,3038,2658,1859,1513,1619,2031,2072,1832,1699,1647,1931,2208,1959,1773,1768,2041,2021,1671,1533,1455,1635,1908,2101,2195,1712,1417,1700,1958,1588,1423,1499,1799,1641,1411,1454,1396,1494,1544,1522,1412,1400,1654,1565,1571,1470,1410,1406,1452,1555,1475,1455,1447,1801,1852,1951,1987,2024,1935,1715,2173,2653,2440,2078,1843,1813,1804,1374,1220,2476,2330,1844,1618,1269,1518,1795,1552,1375,1272,1135,1033,1175,1326,1276,1174,1344,1456,1321,1262,1185,1207,1326,1458,1398,1380,1365,1396,1477,1739,1609,1698,1949,1930,1886,2020,2021,1904,1865,1877,1928,1727,1625,2160,1912,2291,3159,3396,3386,3603,3662,3529,3438,3670,4002,3596,3154,2475,2362,2767,2824,2459,2211,2383,2319,2416,2273,2511,2388,2187,2587,2685,2600,2556,2510,2208,2093,2273,1810,1512,1902,2178,2255,1817,2023,2020,1573,2024,2632,2642,2353,2524,2422,2105,1932,2320,3072,2967,2023,1881,2409,2810,3122,2701,2369,2458,2341,2194,2251,1862,1846,1865,1815,1441,1389,1867,1797,1472,1628,1614,1489,1578,1672,1544,1477,1604,1801,1808,1872,1720,1553,1404,1493,1467,1433,1553,1845,2250,1732,1570,1981,2200,1788,1570,1899,2220,2094,1995,1833,1746,1898,1987,2251,2478,2474,2056,1918,2054,1982,2023,2095,2250,2346,2067,1593,1929,1946,2443,2802,2263,2088,1695,1742,1914,1641,1722,2011,2053,2191,2415,2345,1974,2122,1667,1593,1677,1639,1617,2026,2439,2522,2427,1672,1760,2204,2689,2236,2934,2580,1982,1474,2023,2645,2379,2049,1779,2119,2554,2137,2171,2077,2012,2286,2343,2202,2045,2039,1901,1659,1505,1630,1648,1702,1655,1710,1862,1710,1717,1764,1929,1952,1802,1819,1699,1623,1766,1830,1694,1678,1930,1814,1808,2133,2177,1625,1445,1988,2435,2356,2026,2096,2624,2840,2035,2989,3540,3405,2128,2128,2652,2256,2350,2442,2641,2211,1763,1408,1463,1482,1288,1579,1888,1797,1708,1579,1611,2252,2418,2187,1860,2176,2668,2741,2432,1859,1643,1305,1259,1534,1562,1601,1360,1204,1527,1603,1381,1379,1554,1555,1634,1599,1777,2086,2136,1847,1867,2047,2118,1974,2330,2511,1831,1387,1514,1682,1638,1562,1470,1314,1224,1535,1938,2087,2211,1869,1632,1792,1754,1075,897,1585,1771,1680,1435,1387,1434,1406,1499,1727,1842,1580,1644,1762,1726,1452,1064,971,1063,1624,2061,1760,1639,1859,1835,1721,1644,1682,1880,1914,1820,1618,1288,1262,1391,1456,1407,1816,1615,1628,1528,862,930,1694,2348,2155,1715,1425,2033,2175,2019,2174,1811,1710,1560,1770,1832,1970,2486,2371,2237,1882,1522,1305,1289,1348,2040,1867,1576,1577,1576,1650,1572,1804,2653,2850,2526,2301,2635,3021,2396,2997,2801,2157,2163,2216,2202,1931,1775,1619,1594,1675,1551,1478,1453,1555,1625,1613,1647,1684,1711,1760,1743,1707,1788,1755,1159,708,1095,1319,1440,1754,1993,1837,1710,1603,1768,1755,1662,1561,1808,2050,2099,2045,2055,1937,1638,1439,1210,1251,1759,1472,1450,1477,1454,1271,1272,1735,1751,1415,1365,1315,1371,1546,1622,1570,1520,1550,1656,1422,1092,1077,1289,1454,1490,1562,1620,1426,1083,978,1210,1459,1445,1481,1353,1252,1385,1571,1461,1375,1509,1686,1800,1733,1720,1465,1301,1153,1135,1183,1143,1166,1234,1208,1072,1184,1281,1115,1147,1359,1437,1576,1444,1214,1086,1020,1062,1296,1417,1428,1341,1261,1402,1329,1523,1883,2200,2348,2101,1599,1578,1553,1512,1956,1919,1704,1654,1907,2760,3230,3223,3112,3031,2686,2347,1797,1491,1519,1701,1506,1471,1529,1394,1368,1483,1521,1526,1524,1459,1448,1367,1331,1435,1595,2184,2400,1874,1508,1341,1318,1404,1305,1531,1828,1804,1808,1546,1532,1454,1490,1414,1549,2105,1704,1578,1548,1371,1343,1623,1873,2144,1996,1758,1820,1580,1738,1808,1831,1923,1807,1561,1487,1548,1527,1469,1378,1647,2342,2541,1940,1545,1242,1598,1942,1751,1735,1815,1654,1423,1336,1742,1993,2066,1676,1295,1300,1552,1692,1462,1445,1542,1645,1579,1613,1591,1660,1547,1499,1532,1462,1381,1355,1340,1399,1486,1869,2189,2214,1698,1963,2348,2386,2007,1860,2155,2220,1697,1560,1510,1680,1968,1860,1566,2183,2226,1729,1447,1467,1934,2181,1832,1629,1735,1686,1609,1770,1785,1884,2492,2448,1844,1798,2151,2037,1880,2095,1824,1880,1864,1734,1815,2773,2498,2218,2638,2873,3044,3146,3299,3493,3015,2582,2164,2022,2243,3061,3243,2864,2390,2319,2341,2000,1697,1650,1675,1718,2225,1715,1600,1564,1432,1281,1476,1704,1510,1509,1623,1496,1551,1727,1714,1757,1977,1989,2134,2648,2386,1991,1779,2048,2609,2576,1952,1941,1952,2054,2183,1879,1731,1833,1797,1789,1775,1751,1931,1862,2066,2230,2173,1872,1676,1918,2003,1903,1278,1210,1583,1693,1843,1811,1743,1480,1768,2302,2392,1926,1621,1820,2106,1888,1708,1974,2186,1952,2199,2077,1894,1965,1587,1595,1562,1732,1727,1609,1962,1958,1824,2024,2003,2299,2424,2145,2232,2869,3027,2667,2780,2634,2652,3007,2639,1827,1600,1526,1465,1920,1969,2314,2093,1814,1715,1586,1630,1596,1842,2226,2518,2126,1869,2214,2360,2500,2398,2169,2074,1863,1916,1992,1926,2161,2428,2271,2996,2705,2089,2186,2237,2285,2851,3554,3419,3198,2642,2935,2171,2155,2291,1980,2031,2076,2400,2741,2879,3037,3183,2934,2237,1820,2684,2946,2973,3077,2755,2887,2904,3005,2745,2520,2731,2362,2010,2179,2062,2467,2413,1938,2071,2433,2010,1574,1759,1902,1908,1739,1603,1745,2126,2588,2154,1907,2165,2519,2144,1849,1707,2031,2228,2122,2122,1907,1922,1625,1705,1830,2072,1863,1597,1438,1603,1791,1809,1793,2047,2495,2040,1855,1869,1848,1682,1631,1862,1881,1753,1569,1520,1644,1710,1866,1925,1669,1485,1488,1697,2172,1928,1587,1503,1634,1737,1657,1517,1575,1491,1753,2016,1814,1597,2445,3636,3997,3902,3076,2223,2634,3418,3436,2641,2511,2758,3015,2425,2042,2026,1738,1565,1753,2214,2282,1737,1825,2141,3056,3332,2497,2833,2729,2344,2510,3292,3526,3453,2938,2244,1879,1823,1649,1678,1660,2072,2268,1708,1975,2461,2177,2089,2462,2317,2312,2378,2202,1918,1704,1639,2215,2406,2419,2098],[1621,1501,1905,1902,1786,1646,1501,1621,1495,1511,2246,2415,1864,2197,2162,1653,1660,1233,1311,1865,1973,2259,2166,1870,1610,1469,1784,2076,1642,1514,1538,1483,1510,1866,1933,1942,1890,1613,2131,2392,1813,1787,2008,1863,2284,1880,1846,2427,2700,2596,2178,1731,1646,2039,2443,2466,2473,2691,2416,2697,2604,2224,2237,3076,3088,2989,3061,2531,2423,2685,2897,2739,2786,3205,3206,2877,2387,2071,2059,2286,2336,1677,1172,1459,2232,2101,2186,2194,2556,2103,1725,2010,2017,2388,2690,2411,2109,1709,1772,1792,2497,2777,2660,2852,3199,3276,3221,2444,2210,2625,2718,2998,3044,2774,2448,2741,2194,1939,2219,2135,2381,2653,2916,3448,3645,2729,1818,1780,2060,2297,2048,1625,1544,1586,1520,1637,1930,2113,2092,2411,3426,4093,2984,3141,2144,1592,1699,1744,1857,1996,1933,1961,1777,1805,2306,2290,2355,2242,2139,2647,3303,3117,2556,2296,2484,2718,2542,2572,2832,2967,2852,3056,3038,2514,2109,2188,2447,2442,2346,1925,1923,2790,2939,2819,2635,3387,2813,2450,2017,1907,2104,2430,2320,1967,1971,2160,2285,2047,1945,1783,1876,1883,1959,1870,1662,1820,1755,1567,1826,2709,3328,2406,1992,2125,2326,2138,2098,1861,2077,2002,1753,2491,3272,3067,2964,2922,2414,2587,1997,1758,1997,2019,1943,2030,2208,2219,2182,2235,2312,2241,2175,2154,1995,1886,1906,2144,2439,2749,3247,3219,2664,2618,2629,2315,2236,2148,2101,1775,1624,1540,1382,2036,2482,1826,1284,1450,1454,1562,1953,1735,1793,2156,1671,1299,1253,1328,1483,1462,1705,2154,1786,1543,1465,1674,1863,1825,1344,1400,1960,1651,1418,1442,1806,2288,1920,1648,1612,1636,2012,1897,2022,2604,2442,1761,1463,1527,1802,1989,2066,2132,1939,1732,1798,1720,1504,1646,1880,1610,1502,1691,1379,1490,1636,1529,1388,1376,1722,1844,1466,1567,1802,1569,1620,1769,1692,1912,1752,1332,1355,1709,1932,1639,1610,1791,1798,1705,1769,1950,1805,1629,1782,1829,1632,1685,2196,1841,1816,2033,1990,2121,1990,1960,2410,2209,1775,1493,1517,1670,1738,1576,1438,1510,1493,1512,1506,1520,1558,1562,1405,1394,1648,1509,1248,1328,1506,1370,1396,1807,1445,1450,1691,1686,1607,1715,2015,2442,2857,2900,2269,2282,2208,1635,1438,1465,1607,1648,1508,1851,2352,1875,1739,1932,1775,2492,1942,1641,1711,1707,1732,1825,1743,1343,1428,1732,1465,1339,1366,1324,1397,1599,1769,1691,1656,2044,2458,2271,1954,1892,1855,1791,1762,1865,2122,2145,1900,1708,1578,1399,1462,1908,2341,2121,2198,2730,3206,2962,2217,2498,2187,2467,2958,2631,2120,2238,2284,2227,2728,2866,2515,2975,2544,2222,2255,2432,2613,2244,1852,1693,1604,1549,1472,1432,1366,1338,1389,1729,1715,1576,1466,1488,1504,1660,1528,1340,1598,1842,1735,1694,1594,1480,1506,1539,1819,2214,2431,2547,2524,2215,1825,2090,2668,3155,2536,2320,2070,1614,1376,1590,1712,1814,1764,1820,1982,1945,2045,1632,1890,1799,1687,2103,2224,1890,1608,1750,1975,1958,2263,2469,2352,1913,1921,1948,2176,2078,1674,1462,1410,1366,1535,1864,1814,1785,1992,1820,1740,1664,1757,1998,2012,2314,2138,1611,1844,1848,1638,1630,1427,1720,2346,1721,1424,1567,1519,1327,1114,1513,1718,1586,1712,2198,2779,2223,1570,1741,2630,2874,2459,2358,2812,2668,2208,1881,1678,1473,1427,1403,1428,1425,1421,1526,1865,2070,2014,2195,2386,2895,2739,2046,2620,3327,3593,3653,3763,3278,2590,3054,3252,2811,2569,2604,2776,2745,2916,2442,1594,1587,1718,2019,2445,2668,2593,2498,2562,2176,1810,1691,1531,1752,1788,1853,1871,1624,1536,2094,2194,1702,1428,1656,2120,1584,1335,1572,1560,1840,2096,1714,1664,1646,1592,1611,1452,1375,1450,1438,1410,1490,1418,1389,1482,1720,1656,1655,1825,2020,2185,2190,2210,2168,1804,1682,1815,1614,1553,1766,2470,3293,2630,1876,1600,1345,1357,1406,1399,1417,1546,1548,1287,1219,1340,1302,1168,1230,1287,1288,1315,1329,1525,1572,1486,1309,1331,1377,1418,1437,1462,1489,1710,2020,2168,2195,2195,2003,1964,1963,1720,1470,1432,1378,1776,2010,2666,3327,2927,3022,2857,2579,3331,3307,3340,3414,3374,3012,2346,2315,2657,3063,2831,2125,2232,2116,2118,1973,1784,1958,2269,2460,2684,3125,3216,2453,2040,2063,2010,1775,1865,2145,2314,2483,2265,2380,2536,2149,1774,2034,2213,2276,2764,2499,2188,2155,2155,2188,1819,1622,1713,1931,2397,2626,2541,2792,3135,3111,2613,2448,2298,1994,1964,1995,1748,2158,3040,2565,1830,1918,1693,1687,1889,2166,1884,1800,1925,1899,1949,1787,1692,1672,1554,1466,1417,1830,1526,1410,1570,1532,1685,1606,1493,1554,1548,1675,1655,1633,1676,1682,1622,1795,2094,2237,2415,2062,1798,1853,1950,1958,1855,1953,2160,2067,2022,1562,1570,2081,2292,1999,1863,1852,1544,1811,2040,2135,2380,2559,2744,2540,2219,1896,1445,1942,1794,1249,1456,1844,1696,1989,2177,1964,2244,1969,1870,1893,1627,1722,2183,2564,2232,1629,2431,2952,2746,2459,2111,2058,2255,2052,1726,1580,1809,2016,1866,1785,1892,1939,1933,1823,1653,1695,1808,1865,1528,1655,1542,1559,1786,1656,1567,1708,1831,2049,1680,1941,2122,1785,1714,1913,2296,1948,1877,2010,1970,1783,1851,2143,2388,2592,2549,2201,2086,1788,1859,2415,2737,2731,2110,2249,3056,2152,1966,2209,2447,2192,1748,1289,1692,1762,1346,1391,1738,1921,2016,1914,2039,2118,2100,1945,1640,2148,2692,2828,2524,2138,1743,1284,1506,1845,1650,1553,1365,1355,1700,1921,1562,1671,1934,1632,1490,1671,1710,1729,1976,2053,2004,1679,1343,1424,1636,1710,1610,1578,1845,1949,1667,1634,1534,1804,2062,1786,1682,1808,1630,1366,1489,1687,1650,1626,1588,1809,1808,2099,1970,1377,1506,1524,1336,1688,1851,1733,1886,1942,1427,897,503,623,1190,1586,1818,1694,1508,1741,1870,1995,2093,1778,1819,1790,1471,1724,1675,1549,1607,1737,1875,1935,1724,1701,1208,694,1023,1407,2448,2245,1889,1526,2059,2114,1938,1855,1822,1838,1568,1791,2284,1899,1687,1267,1259,1503,1452,945,880,1178,1890,2004,1776,1700,1931,2263,1888,1694,2786,2355,1944,2159,2542,2968,2543,2396,2065,1797,2104,2066,2132,2206,1901,1721,1494,1453,1439,1449,1458,1531,1536,1627,1688,1752,1837,1862,1755,1802,1802,1792,1377,1386,1677,1844,2070,2107,2004,1825,1510,1373,1616,1716,1620,1656,1676,1883,2195,2194,2032,1968,1744,1554,1210,1478,1850,1640,1517,1202,1146,1411,1632,1803,1766,1635,1643,1707,1608,1587,1506,1161,1151,1230,1091,797,954,1176,1489,1670,1302,1352,1650,1890,1613,1469,1706,1972,1743,1529,1498,1363,1350,1455,1545,1601,1802,1842,1566,1544,2078,1956,1332,1033,1140,1208,1130,1051,1115,1139,1166,1136,1341,1251,1360,1325,1432,1561,1572,1566,1329,1195,1356,1439,1350,1332,1385,1382,1455,1848,2423,2432,2858,2944,2148,1511,1381,1648,2127,2232,1782,1645,1786,2018,2409,2951,3222,3250,2607,1864,1649,1586,1606,1612,1617,1448,1495,1369,1306,1355,1513,1497,1530,1612,1525,1537,1566,2021,1614,1536,2149,2483,1954,1575,1486,1518,1416,1525,1876,1791,1551,1665,1466,1516,1615,1404,1323,1345,1699,1745,1653,1661,1648,1469,1359,1411,1676,1852,1836,1769,1620,1930,1801,1700,1971,1957,1882,1786,2108,1733,1440,1498,1874,2518,2261,1761,1592,1462,1564,1594,1537,1896,1946,1710,1415,1422,1873,2014,1778,1387,1271,1412,1702,1755,1510,1544,1430,1785,1560,1549,1665,1684,1702,1498,1547,1654,1494,1400,1280,1306,1450,1792,2186,2060,1903,2231,2702,2580,2104,1858,1934,1843,1572,1609,1481,1586,1707,1714,1691,2352,2310,1885,1687,1577,1800,2032,1742,1571,1647,1451,1706,2061,1966,1670,1736,1635,1720,2020,1938,1856,1968,1856,1739,1858,1694,1837,1908,2201,2003,1740,2082,2222,2545,2991,3309,3126,3264,3204,2490,2180,2822,3225,3413,3140,2192,1843,1932,2018,1901,1762,1963,2333,2815,2165,2162,2141,1887,1512,1498,1644,1471,1654,1632,1386,1431,1653,1597,2048,2394,2258,2836,3504,3466,3194,2825,2348,1936,1779,1935,2008,2130,1913,1810,1747,1772,1910,1980,1803,1769,2076,2165,1843,1887,1913,1858,1859,1997,1816,1890,1966,1763,2083,2230,1969,1938,1942,1859,1815,1866,2364,2194,1652,1579,1541,1589,1638,1572,1669,2090,2049,2106,1778,1668,1688,1637,1595,1629,2000,2243,1918,1765,1593,1936,2162,1909,2662,2611,1949,2010,3039,3746,3519,2909,2752,3188,3097,2401,1914,1651,1500,1411,1664,1798,2098,2013,1764,1734,1896,1961,1766,1812,1826,2014,1898,2176,2796,2911,2717,2178,2097,2154,1842,1555,1604,1650,1833,1842,1722,1958,2035,1900,1719,1980,2250,2793,3636,3296,2813,2470,2621,2226,2558,2862,2779,2773,2557,2902,3703,3432,2877,2257,2290,2408,2342,2810,2796,2654,3196,3388,3480,3438,3292,3106,2843,2584,2680,2293,1981,1750,1747,2243,2060,2252,2574,2133,1886,2102,2138,2371,1914,1592,1792,2125,2386,2150,1830,1837,1929,1958,1964,2014,2181,2187,2132,1972,1743,1975,1810,1784,1964,2216,2101,1762,1481,1633,1876,1926,1885,2232,2635,2332,2026,1809,1795,1957,2156,1985,1969,2001,1634,1583,1812,1656,1563,1641,1643,1554,1522,1526,1699,1762,1604,1567,1633,1680,1908,1848,1809,1552,1700,1499,1427,1678,2486,3362,3841,3868,3175,2352,2223,2951,3626,2802,2365,2146,2474,2293,2420,2249,1726,2175,2708,2927,2604,1856,2339,2544,3348,3876,3420,3714,3315,2286,1868,2088,2607,2805,2159,2186,1909,1665,1524,1854,1932,2098,2055,1700,1920,2647,2630,1747,2056,2071,1884,2320,2706,2012,1619,1746,2021,2186,2245,2166],[1946,2003,2203,1859,1569,1500,1583,1730,1683,1998,2210,2099,1863,2198,1847,1558,1750,1533,1625,1969,2473,2521,1937,1349,1560,1436,1721,1771,1938,1750,1417,1594,1691,1628,1605,1804,2048,1845,2744,2810,2221,2085,2770,2023,1909,1808,1913,2574,2672,2363,2135,1811,1719,1978,2223,2613,3097,2644,2093,2255,1867,1686,1762,2053,2630,3237,2872,2399,2646,3304,2895,2884,3349,3451,3238,3091,2534,2044,2139,2304,1915,1179,962,1381,2282,2294,2251,3111,3578,2966,2392,2120,2040,2680,2522,1866,1878,2102,1936,2089,2347,2357,2567,2976,3364,3469,3009,2051,1940,2058,2247,2729,3067,2701,2359,2243,1914,2145,2343,2216,2302,2823,3981,4316,4073,3226,2026,1962,2351,2476,2165,1681,1494,1619,1710,1866,2686,2400,2492,2721,2265,2512,2250,2074,1858,1731,1770,1931,2395,2791,2120,2298,2233,2702,2830,2099,1879,1794,1661,2089,2899,3018,2269,1880,2646,3143,2702,2419,2307,2471,2082,2557,3389,2461,1759,1997,2129,1928,1925,2180,2186,2783,3317,3416,3572,3255,2766,2585,2090,1754,1716,1849,1994,2126,2102,2419,2415,2334,1886,1801,1819,1966,2026,1929,1824,1847,2070,2284,2413,2821,2962,2460,2263,2117,2177,2046,1952,1885,2305,2386,2026,2251,2732,2246,2059,2051,1678,2040,1881,1951,2538,2330,2045,2541,2576,1979,1934,1818,2143,2358,2149,2120,2059,2060,2121,2159,2272,2372,2535,2552,2814,2879,2999,2991,2885,2232,2186,1960,1714,2128,2570,2664,2557,2010,1360,1475,1292,1462,1765,1691,1684,1810,1545,1374,1348,1478,1665,1596,1748,1984,1853,1705,1505,1787,1862,1849,1469,1841,1982,1450,1406,1431,1714,2049,1642,1422,1418,1674,1826,1791,1956,2378,2518,2313,2099,2221,2034,1718,1686,1798,1888,1889,1600,1542,1756,2088,1808,2264,1682,1668,1653,1386,1541,1542,1412,1959,2402,1997,1639,1618,1726,1647,1918,1955,1722,2026,2062,1524,1471,1535,1603,1643,1853,1860,1659,1567,1891,2076,1860,1973,2179,2314,2072,2098,2283,2186,2365,3087,3084,2677,2377,2260,2496,2700,2249,1678,1659,1589,1527,1681,1755,1699,1500,1420,1521,1690,1963,2107,1816,1910,1960,1644,1470,1336,1445,1259,1251,1378,1379,1630,1499,1271,1379,1826,2797,2986,2873,2812,2737,3061,2426,1897,1617,1742,1918,1615,1739,2702,3454,2482,2035,1923,2106,2180,2020,2084,2184,1817,1684,1850,1825,1526,1523,1644,1404,1332,1421,1543,1701,1941,1970,1714,1693,1866,1887,1922,1936,1986,2149,2331,2199,2526,2813,2217,1732,1509,1398,1681,2174,2563,2696,2242,2262,2741,3209,2800,2347,2438,2261,2582,3218,2935,2314,2017,1922,2068,2916,2995,2191,2454,2633,2295,2649,2847,2713,2291,1805,1565,1425,1493,1456,1425,1399,1340,1409,1906,1769,1515,1268,1276,1499,1592,1553,1459,1506,1489,1535,1612,1604,1532,1497,1565,1776,2150,2369,2076,2245,2199,1857,2104,2569,2886,2620,2197,1655,1498,1333,1594,1871,1677,1609,1751,1864,1746,1670,1550,1964,1994,2443,2668,2734,2319,1898,2065,1940,1813,2104,2209,2110,1902,1861,1860,1807,1763,1550,1397,1396,1317,1340,1454,1704,2052,1990,1670,1622,1862,2089,2320,2162,1938,1776,1664,1532,1515,1676,1531,1450,2024,2512,1875,1665,1708,1548,1481,1395,1401,1616,1651,1753,1780,2105,2063,1736,1657,1671,2206,2272,2062,2185,2241,1995,1699,1661,1708,1239,1211,1327,1374,1456,1661,1677,1707,1880,1979,2249,2931,3276,2236,2160,2645,3099,3653,3796,3562,2957,3000,3172,2895,3053,3397,3386,3007,2898,2445,1815,1587,1658,2117,2631,3184,3221,2459,2089,1698,1381,1454,1411,1520,1433,1571,1653,1747,2110,2322,2101,1902,1759,2098,3411,2225,1451,1464,1609,2232,2536,2305,2046,1694,1692,1622,1442,1473,1428,1336,1309,1432,1373,1294,1397,1502,1592,1505,1300,1435,1641,1806,1877,1720,1986,1845,1710,1527,1449,1526,1832,2049,2009,1849,1559,1374,1387,1383,1422,1499,1595,1532,1461,1471,1414,1437,1485,1378,1353,1358,1420,1366,1340,1371,1317,1355,1460,1432,1449,1466,1573,1749,1619,1799,2260,2321,2105,1921,1932,1948,1597,1377,1435,1807,2452,2282,2692,3370,3449,3725,3549,2899,2879,3288,3428,3195,3372,3430,2757,2457,2850,3069,2522,1819,1908,2567,2342,2124,2141,2287,2288,2400,2549,2675,2471,2103,2444,2641,2341,2059,2263,2413,2674,2796,2554,2397,2464,2138,1599,1449,1681,2055,2244,2216,2122,2186,2081,2139,2349,2264,1934,1941,2572,2530,2986,3221,2872,2706,2267,2681,2576,2357,2404,2211,1926,2152,2479,2285,2376,2167,1736,1621,2203,2264,2100,2271,1884,1642,1809,1731,1774,1845,1725,1349,1701,2649,1739,1154,1564,1850,1767,1318,1475,1689,1674,1882,1785,1877,1352,1283,1506,1844,1997,2055,1735,1599,1843,1815,1891,2015,2145,2221,2147,1942,1898,1634,1843,2007,1787,1973,2213,1944,1815,2332,2333,2824,2542,2186,2423,2225,2335,2002,1517,2002,2110,1725,2128,2217,1948,2092,2162,2153,2083,2077,1826,1750,1668,1935,2777,3320,2677,2165,2721,2530,2293,2402,2365,2039,1935,2347,2293,2042,2010,1860,1683,1835,1869,2015,2040,1777,1664,1925,1782,1344,1272,1288,1344,1603,1635,1487,1632,1966,1774,2048,1766,2167,2011,1891,1735,2083,2182,2105,2379,2072,1749,1950,1913,1696,1860,2101,2432,2371,1838,1793,1996,2378,3093,3012,2575,2275,2888,1923,1716,1911,1901,1644,1529,1359,1566,1653,1305,1527,2003,1916,1882,1720,2088,1728,1771,1595,1538,2071,2576,2386,2055,2139,2082,1708,1670,2078,1738,1611,1818,1632,1751,2105,1994,2193,2446,1765,1537,1616,1528,1675,1597,1751,1877,1244,546,903,1341,1447,1469,1516,1708,1621,1531,1722,1787,2188,2298,1395,1165,1624,1663,1256,1224,1600,1492,1542,1479,1698,1901,1933,1799,1421,1392,1399,1407,1561,1658,1580,1681,1615,976,620,634,1026,1282,1420,1503,1469,1976,2600,2158,2286,2546,2120,1771,1117,1051,1371,1874,2018,2110,2072,1997,1968,1879,1735,1053,861,1180,1360,1823,2072,1737,1664,2085,1916,1765,1853,1751,1833,1647,1630,2119,1842,1399,1584,1632,1700,1651,1302,1353,1653,1689,1818,1946,1671,2089,2571,2602,1852,2360,2351,2182,2202,2148,2297,2373,1966,1511,1471,1825,2110,2231,2302,2032,1870,1721,1606,1616,1556,1474,1338,1309,1644,1708,1985,2252,2208,2027,1900,1841,1944,1888,1844,1588,1614,1946,2031,1984,1669,1298,1696,1810,1522,1528,1735,1674,1690,1807,1751,1655,1620,1589,1447,1255,1817,1749,1466,1461,1413,1414,1610,1716,1609,1565,1434,1343,1259,1282,1594,1570,1125,1211,1409,1142,1010,1202,1128,1490,1648,1125,1358,1630,2217,2156,1745,1886,2010,1778,1641,1509,1451,1565,1722,1856,1742,1695,1714,1492,1542,2061,2003,1479,1362,1511,1410,1183,1141,1135,1121,1210,1225,1205,1241,1208,1119,1191,1185,1393,1508,1356,1328,1361,1372,1383,1374,1388,1461,1766,2128,1908,1963,2476,2047,1247,1355,1804,1940,2024,1777,1782,1909,1935,1963,2295,2785,2984,2436,1765,1920,1714,1490,1489,1665,1488,1411,1415,1397,1350,1339,1370,1410,1655,1554,1403,1409,1711,2546,1687,1400,1519,1574,1562,1437,1453,1452,1435,1695,1670,1581,1715,1648,1535,1533,1349,1385,1312,1361,1652,1389,1359,1469,1698,1647,1582,1533,1715,1515,1328,1476,1542,1591,1578,1669,2013,2166,2171,1801,2353,2077,1449,1363,1583,1528,1088,1135,1407,1475,1581,1419,1484,1643,1766,1897,1577,1743,1905,1781,1765,1628,1564,1528,1525,1687,1652,1726,1760,1772,1406,1399,1641,1690,1534,1492,1704,1519,1487,1439,1361,1353,1508,1924,2023,1823,1902,2391,2592,2446,2340,2062,1659,1506,1599,1531,1403,1589,1576,1917,2312,2150,1838,1923,2408,1820,1396,1700,1484,1444,1529,1509,1600,1820,1942,1878,1670,1813,2315,2241,1984,1916,1724,1891,2032,1960,1594,2011,1996,2026,2214,2096,2218,2116,2212,2742,3216,2952,2954,2996,2409,2840,3455,3145,3225,3370,2280,1894,1851,1709,1596,1720,1880,2279,2419,2513,2941,2756,2151,1627,1650,1573,1640,1734,1407,1305,1368,1609,1757,2109,2462,2756,2674,2768,3130,3115,3057,3311,2957,2210,1892,2338,2298,1875,1731,1649,1762,1935,1999,1652,1672,2115,2155,1948,1927,1989,1995,2090,2348,2166,2035,1734,2098,2390,2500,2265,1763,1689,1614,1783,1798,1881,1754,1957,2216,1805,1714,1810,1570,2075,2315,2318,2405,2530,2248,1865,1706,1710,1760,2117,2531,1915,1998,1808,1941,1819,1618,2239,2642,2889,3138,3588,4280,3762,2500,2104,2192,2230,2100,2147,2018,1909,1723,1583,1967,2277,2171,1869,1737,1644,1534,1661,1738,1745,2183,2191,2324,2743,2912,2792,2250,2045,2166,2154,1572,1866,1859,1721,1685,1641,1915,2360,2187,2041,2375,2259,2476,3295,2629,1865,2144,2304,2451,2857,3242,3542,3728,3551,3504,4014,3892,3299,2181,2473,2631,2655,2863,3010,3254,3522,3462,3464,3404,3322,3084,2730,2480,2425,2324,2301,2221,1874,1925,2553,2658,1976,1999,2498,3035,2434,2592,2226,1770,2050,2375,1981,1760,1781,1835,2106,2169,2019,2036,1953,2196,2265,1968,1785,2081,2164,1998,2030,2331,2330,1992,1476,1518,1529,1843,2283,2592,2535,2239,1851,1958,2243,2364,2307,2027,1869,1866,1808,1583,1719,1675,1567,1621,1700,1628,1533,1480,1476,1545,1664,1708,1663,1628,2101,1934,1543,1340,1377,1482,1648,1955,2466,2891,3594,4080,3768,2823,2119,2286,3581,3087,2420,2809,2762,2215,2415,2724,2643,2923,2968,2994,2345,1884,1965,2201,3105,3528,3032,3282,3690,2712,1726,1773,2067,1593,1329,2128,2139,1875,2023,2533,2373,2019,1943,1600,1586,2230,2744,1996,1828,1940,2176,2578,2684,2026,1906,2227,2036,1932,2120,2216],[1723,1819,1742,1698,1534,1599,1768,1915,2234,2256,2101,2023,1818,2392,2247,1690,1716,2003,1958,2231,3203,2576,1739,1384,1665,1580,1700,1653,1815,1778,1460,1556,1685,1476,1320,1508,2091,1991,3111,3138,2304,1726,1672,1517,1686,1749,1739,2213,2246,2280,2176,1785,1763,2019,1810,1927,2940,2619,2134,2060,1638,1682,1730,1866,2567,3695,2999,2425,2687,3472,3557,3347,3153,3285,3638,3871,3096,2244,2256,2103,2361,2014,1592,1689,1732,1837,2411,2805,3163,3235,2623,2287,2226,2178,2143,1801,2453,2806,2418,2414,2458,2076,1990,2420,2912,2753,2893,2380,2053,1699,1876,2730,3261,2986,2796,2450,2182,2565,2344,1941,2445,3362,4174,3980,3657,3387,2977,3009,2869,2467,1996,1643,1689,1832,1676,1685,2691,2779,2399,2502,1747,1057,1439,1924,2112,2125,1703,1861,2304,2810,2370,2883,2907,3129,2709,2390,2190,2105,1886,1957,2609,2861,2005,2243,2784,2652,2082,1870,1810,1851,1719,2196,2930,2646,1781,2153,2674,2009,1804,1975,2150,2368,3243,3704,3583,2835,2346,2534,2825,2299,2179,2226,2498,2548,2285,2458,2248,2040,1741,1824,2228,2306,1863,2050,2104,2261,2740,2983,2749,2469,2824,2951,2381,2068,2111,2084,1903,2151,2626,2589,1926,1804,1954,1911,1847,1795,1977,2334,2176,2077,2321,2309,2682,2934,2302,1634,1409,1791,2176,2309,2314,2099,1938,2012,2056,2288,2526,2524,2340,2286,2548,2478,2697,2797,2592,2306,2445,2303,1886,2141,2584,2304,2408,2082,1388,1414,1234,1381,1672,1823,1649,1489,1420,1309,1308,1416,1622,1778,1618,1489,1551,1744,1714,1654,1585,1559,1547,1982,2070,1475,1359,1364,1445,1490,1410,1208,1517,1798,1739,1719,1990,2320,2587,2442,2315,2184,1547,1680,1583,1785,1894,1874,1692,1505,1476,1414,2238,2622,2186,2563,2065,1370,1896,1825,1489,1541,1822,1809,1576,1562,1737,1888,2201,2155,1944,1998,2021,1819,1844,1914,1863,1758,2110,2072,1826,1775,1980,1994,1892,1858,2010,2060,1840,1919,1906,2011,2044,2087,2100,2203,2175,1995,2106,2290,2009,1794,1820,1815,1811,1908,1937,1796,1651,1614,1621,1683,2030,2289,2018,2304,2601,1874,1597,1582,1708,1647,1779,1733,1556,1554,1363,1205,1318,1904,2383,2326,2377,2770,3214,2759,1789,1631,1763,1960,1977,1571,1666,2732,3731,2313,1604,1565,1907,1791,1703,2062,2175,1826,1872,2018,1895,1556,1594,1788,1843,1767,1678,1700,1754,1903,1862,1735,1742,1658,1624,1848,1944,2060,2676,2974,2301,3042,3160,2093,1598,1540,1472,1731,2107,2354,2322,1974,1802,2382,3173,2786,2408,2734,2766,3056,3486,3348,2858,2209,2025,1921,2531,2766,2149,2603,3010,2382,2260,2072,2181,2185,1745,1583,1665,1655,1562,1497,1607,1353,1433,1461,1372,1427,1390,1425,1361,1455,1634,1664,1636,1421,1373,1715,1676,1400,1683,2021,2095,2328,2343,1969,2270,2225,2433,2312,2135,2008,1783,1659,1853,1739,1620,2080,2053,1797,1836,1765,1547,1388,1460,1735,1797,1982,2524,2931,2997,2338,2011,1820,1661,1669,2028,2178,2121,2225,2548,2514,2197,1883,1674,1477,1557,1346,1457,1503,2012,2463,2238,1969,2125,2496,2330,1759,1670,1684,1585,1505,1507,1511,1561,1437,1488,1399,1570,1794,1889,1881,1845,1629,1518,1567,1749,1466,1542,1770,1664,1421,1555,1425,1470,1797,2094,2020,1635,1776,1754,1708,1771,2123,1519,1277,1358,1416,1467,1477,1589,2035,2111,1913,2191,2595,3399,2666,1981,2117,2593,3322,3772,3841,3318,2862,3002,3315,3350,3322,3328,2916,2126,1799,1685,1406,1484,2043,2495,3085,2872,1617,1633,1579,1546,1478,1590,1566,1556,1656,1591,1748,1807,1691,1824,2162,2261,1998,3275,2384,1481,1274,1488,1785,1999,1946,1550,1614,1947,1853,2008,1881,1503,1416,1398,1397,1380,1389,1428,1466,1499,1400,1337,1410,1561,1670,1715,1696,1854,1802,1687,1710,1595,1340,1429,1549,1657,1735,1718,1609,1480,1697,1601,1474,1476,1425,1434,1390,1475,1610,1574,1540,1518,1443,1393,1379,1339,1361,1262,1443,1626,1411,1383,1443,1527,1608,1653,1857,2202,2099,1759,1747,1886,1953,1896,1967,2082,2545,2657,2357,3408,3793,3538,3362,2880,2394,2382,2414,2446,2756,3171,3397,2938,2709,2833,2836,2732,2276,2154,2646,2776,2498,2207,2374,2438,2307,2380,2575,2104,2549,3063,2697,2280,2285,2262,2227,2415,2864,3071,2858,2450,2513,2380,1916,1454,1395,1713,2219,2441,2320,2430,2563,2231,1842,1886,2029,2344,2347,2974,3541,3052,2714,2720,2831,2532,2590,2709,2238,1936,2068,2122,2162,2336,2037,1698,1698,2031,1874,1756,1820,1764,1781,1956,2154,2314,1881,1759,1770,2195,2836,1961,1600,1867,1831,1550,1361,1823,1445,1519,1839,1851,1838,1601,1720,1915,1970,1836,1774,1510,1760,1903,1416,1387,1915,2129,2277,2139,1747,2000,2317,2224,1742,1917,2475,2286,1738,1699,1873,1983,2068,1883,1654,2072,2216,2945,3145,2228,2216,2442,2018,1604,1277,1318,1892,2443,2086,2109,2314,1814,1654,1782,2156,2588,2342,2457,2293,2289,2983,2612,2663,2183,1725,1906,2075,2104,2188,1899,1726,1801,2125,1950,2001,1861,1845,1922,1973,1351,763,871,1085,1221,1393,1488,1484,1460,1638,1809,2066,1723,1652,1525,1229,1566,2328,1968,1740,2066,1381,962,1088,1286,1069,1350,1858,1951,1905,1991,1971,2161,2742,3442,3341,2788,2136,2011,1539,1230,1135,1021,1213,1498,1390,1479,1532,1273,1830,1798,1542,1665,1694,1882,1967,2172,1916,1576,1623,1579,1383,1618,1964,2249,2232,2252,1565,1494,1761,1896,1830,1711,1763,1507,1435,1770,1838,1765,1667,1636,1715,1716,1660,1549,1018,756,1223,1379,1350,1457,1583,1519,1528,1661,1699,1870,2043,1742,930,935,1805,2014,1144,1142,1616,1497,1537,1637,1738,1953,1953,1780,1436,1254,1395,1505,1403,1491,1465,1570,1778,1356,1001,1116,1426,1412,1333,1397,1613,2480,2850,2082,2131,2235,1880,1411,805,1206,1576,1632,2002,2295,2092,2007,1993,1952,1848,1158,1166,1499,1713,1686,1412,1206,1568,1794,1766,1568,1537,1521,1772,1864,1570,1444,1628,1623,1700,1524,1547,1714,1461,1083,1235,1242,1599,2105,1694,1830,1836,2027,1775,1998,2397,2589,2390,1831,1662,1777,1415,1241,1592,1744,2071,2185,2233,2259,2142,2028,1977,1823,1702,1616,1281,1812,1991,1770,2576,3074,2619,2217,1975,1815,1913,2067,1955,1820,1780,1802,1913,1769,1308,1561,1799,1780,1537,1712,1752,1722,1662,1697,1806,1730,1642,1516,1551,1620,1795,1595,1481,1528,1375,1376,1687,1456,1252,1182,1027,1050,999,1022,1544,1656,1259,1376,1735,1454,1151,1305,1130,1428,1378,1158,1431,1558,1821,1876,1748,1858,1870,1719,1739,1781,1805,1773,1255,868,1248,1627,1732,1447,1688,2289,2430,1887,1521,1404,1379,1218,1189,1284,1334,1278,1295,1224,1186,1150,1342,1331,1118,1160,1220,1172,1260,1419,1461,1416,1357,1461,1428,1690,1831,1692,2171,2265,1789,1992,2070,2031,1714,1798,2135,2383,2384,2404,2321,2075,2112,1994,1497,1732,2110,1838,1520,1600,1637,1578,1520,1505,1638,1571,1431,1365,1368,1407,1350,1361,1476,1387,1346,1357,1472,1368,1393,1429,1348,1380,1299,1301,1581,1642,1666,1556,1416,1517,1639,1498,1385,1389,1550,1594,1366,1384,1141,1454,1824,2077,2023,2004,1575,1383,1616,1497,1283,1422,1732,2530,3040,2712,1823,1803,2225,1991,1616,1649,1453,1103,1293,1548,1332,1500,1372,1338,1352,1736,1973,1873,2198,2171,1912,1602,1623,1798,1600,1563,1854,1972,1690,1488,1359,1297,1459,1843,2333,2138,1847,1599,1469,1683,1469,1383,1478,1631,1815,1930,1858,1722,2084,1954,2094,2496,2177,1625,1364,1324,1467,1435,1414,1571,1954,2230,2102,1820,1870,1930,1598,1648,1644,1350,1336,1369,1355,1386,1604,2056,2218,1845,1869,2050,2259,2149,1961,1725,1670,2003,1909,1642,1813,1620,1748,1822,1872,2080,2377,2514,2852,2819,2562,2376,2425,2822,3597,3814,3237,2765,2744,2084,1832,1804,1542,1744,1822,1549,1993,2456,2651,2879,2676,2254,2026,1828,1659,1804,1545,1323,1356,1293,1569,1842,1740,2205,3122,2759,2676,2623,2307,2595,2957,3100,2519,1733,1865,1844,1923,1903,1661,1858,2314,2222,1921,1988,2258,2207,2182,1895,2008,2303,2562,2668,2902,2850,2075,2071,2531,2742,2226,1794,1437,1647,2035,1903,1738,1704,1756,1793,1828,1709,1548,1737,2254,2288,2501,2709,2632,2509,2055,1726,2144,1903,2014,2095,1917,2000,1824,1693,1676,1773,1864,2280,3119,3643,3708,3807,3067,2300,1941,1984,1967,2014,2054,1931,1825,1754,2049,2596,2556,2347,2100,1954,1464,1575,1778,1581,1737,2206,2034,1984,2363,2488,2234,2364,2246,2422,1952,1698,2201,2484,2630,2397,2153,2343,2501,2472,2830,2684,2497,2793,3132,2454,1725,1982,2171,2218,2741,3771,4396,3986,3550,3657,3881,3781,3476,2845,2699,2700,2632,2728,3099,3378,3205,3122,3227,3010,3356,3104,2792,2487,1964,2062,2153,2626,2676,2309,2896,2896,2064,2295,2486,2981,2498,1953,2113,2196,2242,1960,1580,2141,2454,1708,1819,1925,1794,1769,1769,2132,2177,1809,1646,1912,2317,2192,1963,2361,2580,2345,1763,1643,1553,1626,1919,1844,1663,1753,1928,1941,1936,2071,2047,1916,1624,1756,1688,1588,1699,1745,1772,1772,1617,1694,1710,1729,1576,1562,1634,1535,1674,1591,1965,1942,1620,1414,1623,1993,1771,1814,2045,2270,3016,3895,3942,2965,2305,2245,2771,2637,2621,3038,3144,2813,2608,3210,3217,3153,3095,3028,2254,1582,1545,2002,2533,3189,3881,3983,3316,2367,1878,2234,2214,1737,1534,2114,2380,2161,2212,2439,2081,1930,1820,1626,1599,1992,2194,2188,2009,1904,2160,2634,2661,2331,2231,2296,2036,2023,2211,2283],[2228,2173,1622,1858,1700,1592,1895,2028,2053,1647,1532,1744,1599,1459,1486,1600,1709,2051,1858,1756,2708,2116,1892,1550,1560,1680,1616,1533,1689,1593,1560,1572,1539,1614,1599,1584,1967,2162,2890,2741,1974,1528,1388,1420,1477,1506,1827,2341,2380,2213,2004,1511,1510,1889,1737,1830,2661,2617,2174,1793,1639,1754,1737,1824,3277,3829,2589,1998,1963,2355,3066,3396,3109,2834,2986,3680,3633,3118,3142,3313,3504,3038,2277,2019,1713,1557,2068,2149,2234,2542,2744,2267,1701,1561,1838,2153,2678,3011,2814,2729,2604,1976,1724,2048,2507,2472,3296,3780,3001,2196,2146,2776,3083,2735,2348,2029,1776,2071,1826,1672,2061,3227,4096,4395,4182,3938,3706,3186,2452,2298,2479,2208,1988,1758,1938,2235,3157,3509,3018,3020,2584,1813,1603,1630,1808,2047,1738,1949,2050,2284,2569,2379,3150,2879,1963,2060,2614,2707,2192,2133,2313,2511,2510,2529,1984,1851,1851,1549,1427,1418,1910,2346,2490,2259,1982,2243,2436,1765,1614,1816,2339,2406,2830,3227,3050,2265,1674,2469,3125,2523,2379,2040,1866,1681,1551,1825,1892,1669,1537,1540,1818,2245,2255,2263,3069,3097,2989,3032,2664,2118,2325,2656,2890,3242,3520,3297,3010,3191,3211,3076,2055,1862,1872,1916,2122,2457,2637,2419,2001,1817,2020,2133,2944,2973,2074,1746,1651,2279,2367,2686,2643,1925,2123,2315,2292,2842,3045,3184,3274,2756,2438,2381,2248,2177,2166,2214,2316,2346,2192,1833,1879,1961,2106,1977,1547,1599,1584,1589,1618,1746,1673,1529,1437,1419,1394,1305,1508,1918,2194,1687,1428,1618,1444,1372,1399,1298,1281,1454,1779,1567,1507,1375,1327,1455,1400,1286,1406,1613,1625,1686,1966,2320,2685,2895,2789,1760,1805,1822,1910,1895,1616,1656,1830,1676,1485,1328,1745,2342,2850,3011,2103,1705,1951,1986,1909,1839,1903,1954,1872,1957,2089,2053,2170,2126,2186,2137,2016,1821,1841,1860,1879,1878,1872,1862,1808,1795,1926,2028,2091,1785,1759,1846,1986,2059,1981,2098,2201,1993,1857,1961,1995,1891,1974,1946,1977,1928,1899,1888,1908,1992,1985,1860,1851,1863,1754,1731,1874,2001,1957,1953,2169,1823,1676,1799,2001,2173,2186,2077,1871,2015,1738,1515,1699,2664,2876,2729,2722,2967,3112,2408,1614,1749,1915,1747,1974,1749,1840,2797,3595,2540,2181,2471,1975,1574,1742,1918,1839,1821,2033,1993,1886,1770,1915,2004,1985,1821,1658,1673,1697,1651,1650,1841,1784,1744,2074,1868,1691,2360,3178,2777,2271,2706,2720,2182,1617,1511,1654,2195,2256,2046,1890,1753,1825,2345,3144,3051,2880,3209,3754,3604,3075,2979,2706,2293,2083,1940,2276,2675,2204,2281,2570,2275,1767,1363,1904,1891,1567,1742,1786,1528,1528,1743,1715,1440,1456,1420,1240,1066,1553,1863,1648,1522,1613,1728,1650,1582,1496,1677,1594,1369,1569,2012,2051,1655,1852,2409,2632,2005,2369,2116,1749,1536,1646,2079,2339,2251,2080,1945,1819,1904,2274,1945,1650,1819,2281,2426,2025,1925,2402,2730,2996,2417,1684,1388,1498,1541,2048,2265,2507,3219,3882,3866,3182,2519,2153,1712,1773,1708,1442,1426,2079,2409,1960,2191,2916,2953,2018,1504,1465,1632,1693,1660,1589,1509,1490,1529,1553,1353,1469,1914,2047,1938,2042,1708,1640,2096,1856,1432,1457,1627,1406,1715,1843,1577,1768,1902,2014,1843,1967,2115,1878,1757,1905,2272,1782,1487,1610,1615,1631,1736,1986,2630,2742,2269,2292,2300,3153,3071,2216,2040,2336,2646,3332,3729,3387,3152,2727,3151,3038,2711,2683,2306,2123,2431,2512,2115,1783,1871,2153,2889,2630,1634,1846,1810,1737,1671,1927,1970,1782,1711,1795,1750,1594,1539,1788,2055,2281,1937,1859,1457,1285,1331,1460,1620,1769,1583,1385,1554,1699,1811,1909,1921,1647,1455,1438,1418,1456,1495,1454,1363,1443,1429,1209,1339,1263,1216,1475,1519,1528,1715,1871,1891,1688,1491,1401,1463,1489,1488,1670,1634,1473,1583,1561,1404,1279,1430,1604,1652,1650,1633,1443,1798,1840,1583,1432,1397,1356,1387,1380,1431,1428,1405,1448,1510,1506,1423,1991,2499,2737,2318,1762,1724,1826,1990,2037,2141,2256,2475,2499,2586,2831,3139,3520,3121,2072,1626,1510,1657,2214,2900,3151,3449,3086,2988,3062,2719,3287,3241,2620,2253,2631,2902,2622,2182,2335,2545,2543,2344,2104,2189,2473,2235,2026,2390,2610,2428,2231,2503,3144,3543,2700,2465,2324,2513,2320,1801,1624,2343,2692,2366,2099,1908,1725,1763,1900,1882,1777,1947,2253,2757,2579,2599,2575,2253,2386,2513,2595,2481,2095,1936,2129,2216,2065,1977,1780,1675,1736,1730,1676,1668,1730,1935,2129,2151,2244,1738,1796,1916,2313,2368,2020,1684,1337,1510,1620,1599,2320,2265,2228,2129,1851,1830,1918,1766,2042,2107,1721,1595,1633,1852,2032,1701,1845,2354,2323,2375,2354,2266,2818,2697,1897,1864,2101,2088,1694,1502,1295,2060,1958,1396,1875,2188,2392,2702,2768,2908,2750,2366,2427,2047,1056,891,1165,1736,2509,2564,2483,2251,1709,1859,2429,2563,2777,2998,2889,1930,2308,2972,2591,2742,2090,1461,2192,2543,2228,1919,2117,1866,1625,1905,1732,1907,1835,1577,1783,1811,1403,1332,1860,2047,1896,1579,1578,1687,1449,1497,1711,1743,1526,1320,1340,1522,2182,2809,2396,2185,2213,1152,1614,2247,1859,1232,1458,1885,1917,2400,2304,1928,1731,1896,2093,2085,1931,1743,1355,1016,1036,1304,1718,1727,1520,1449,1405,1549,1736,2345,2432,2347,1938,1836,1794,1729,2014,2038,1915,1572,1469,1547,1787,2126,2034,1958,1484,1267,1707,1618,1498,1651,1686,1889,1509,1549,1743,2098,2098,2176,1546,940,1141,1630,1665,1511,1338,1462,1048,1318,1473,1548,1437,1510,1563,1728,1942,1860,1655,1554,1711,2036,1772,1510,1412,1762,1537,1342,1654,1966,2014,1840,1458,1127,1228,1581,1510,1454,1342,1400,1534,1815,1825,1743,1622,1399,1366,1384,1427,1767,2593,2691,2118,1949,1928,1964,1508,1199,1623,1685,1709,2173,2114,1918,1960,2266,2208,2056,1661,1550,2220,2197,1587,1215,1372,1305,1343,1516,1587,1561,1564,1555,1711,1682,1439,1485,1528,1170,981,1161,1388,1526,1019,1090,1393,1613,2117,1795,1609,1691,2085,2126,1827,2149,2633,2298,2097,1920,1427,1262,1677,1944,1629,1859,2010,1875,2185,2279,2143,1866,1878,1858,1753,1848,2593,2178,1781,2467,2684,2262,2065,1957,1931,2165,2208,2015,2070,2171,2054,1839,1498,1355,1647,1860,1670,1640,1883,1882,1887,1738,1648,1654,1573,1694,1588,1527,1600,1566,1431,1394,1311,798,994,1313,835,825,1166,1003,992,1056,1029,1510,1570,1089,1141,1484,1450,1556,1620,1321,1520,1499,1623,1757,1655,1484,1439,1493,1728,1873,1848,1876,1812,1624,1400,956,902,1218,1641,1858,1736,1585,2106,2276,1639,1321,1247,1131,1160,1314,1987,2213,1935,1526,1242,1336,1530,1505,1528,1262,1256,1278,1237,1383,1591,1631,1410,1192,1269,1301,1223,1373,1826,2569,2497,2069,1883,1617,1758,2173,2645,2911,2873,2720,2878,2738,2008,1549,1461,1584,1874,2242,1893,1503,1520,1548,1609,1548,1467,1595,1471,1366,1322,1418,1535,1353,1288,1366,1490,1487,1712,2041,1673,1561,1412,1387,1478,1396,1398,1494,1802,1693,1279,1251,1394,1499,1309,1245,1411,1426,1486,1504,1605,1346,1762,2294,2188,1917,1960,1672,1491,1542,1494,1305,1410,1873,2947,2832,2386,2115,1958,2472,2640,1839,1432,1506,1639,1542,1587,1383,1344,1377,1511,1526,1589,1618,1687,1989,1815,1806,1843,2077,1818,1519,1470,1797,2111,1743,1411,1389,1318,1536,1817,2109,1769,1433,1411,1579,1590,1349,1412,1665,1698,1735,2066,1837,1472,2098,1948,2093,2437,1915,1526,1365,1282,1456,1460,1458,1720,1928,2260,2286,1680,1636,1520,1650,1520,1454,1436,1320,1299,1322,1471,1802,1970,1717,1510,1550,1817,1760,1879,2046,1820,1673,1786,1739,1628,1531,1643,1599,1683,1552,1640,2216,2844,2856,2772,2246,1851,2979,3287,3030,3298,2933,2601,2335,2153,2039,1641,1464,1792,1692,1508,2100,2862,2861,2723,2626,2492,2223,1834,1755,1719,1597,1592,1371,1311,1556,1642,1742,2666,3382,3179,2661,2425,2275,2243,2381,2821,2304,1832,1998,1888,1872,1908,1685,2105,2155,1925,2126,2288,2498,2643,2271,1838,1600,1916,2597,2519,2965,2722,2074,2471,2934,2579,2187,1956,1710,1605,1583,1621,1693,1729,1691,1662,1784,1730,1701,1904,1878,1895,2330,2605,2912,3108,2833,2667,2632,2193,1915,1827,1946,1914,1715,1644,1824,1900,1765,1750,2177,2717,3054,2949,2455,2069,2095,2239,2156,1883,1996,1997,1673,1902,2164,2132,2004,1881,1730,1746,1850,2409,2608,2218,1786,1920,2075,1975,1791,2320,2186,1940,1787,1790,2012,1946,1982,2611,2815,2425,2276,2408,3144,3083,3228,2728,2525,2418,2593,2266,2070,2230,1875,1799,2383,3526,4308,3752,2997,3671,3653,2491,2328,2742,2922,2807,2770,2749,2849,2785,2983,3112,3116,2966,3360,3226,2808,2281,1954,2061,2275,2557,2951,2708,2113,1856,2066,2210,1802,1820,1699,1575,1871,1982,1840,1629,1698,2169,2496,2178,2155,1929,1883,1920,1829,2027,2081,1741,1695,1875,2148,1987,1733,2165,2788,2600,2208,1757,1684,1645,1693,1810,1565,1600,2057,1965,1846,2014,2111,1715,1499,1588,1545,1845,2085,1921,2106,1807,1442,1912,2105,1808,1801,1699,1592,1652,1646,1664,1740,1614,1535,1456,1642,1830,1782,1663,1568,1708,2432,3321,3086,2486,2392,2399,2327,2395,2587,2752,2819,2622,2802,3037,2862,2825,2792,2460,1972,1576,1698,1901,2242,3123,3841,3201,2326,1796,1925,2383,1980,1876,1761,1574,1817,1992,1963,1941,1696,1919,1811,1625,1596,2050,2205,1971,1864,1525,1646,2480,2916,2700,2109,2129,2316,2117,2245,2199],[2585,2465,1673,1780,1663,1227,1624,1952,1750,1539,1592,1794,1788,1505,1550,1755,1666,1798,1512,1396,1886,2008,2014,1849,1980,2177,1751,1773,1994,1444,2033,2220,1726,1611,1820,1642,1742,1959,2119,1848,1680,1814,1606,1539,1521,1471,1930,2723,2785,2380,2482,2156,1640,1670,1722,2054,2379,2212,2398,1764,1694,1820,1826,2130,3588,3497,2363,1785,1736,1802,2046,2824,3387,3075,2776,3316,3735,3803,3550,3558,3606,3230,2310,2055,2377,2150,2008,1945,1752,2165,2623,2286,1819,2002,2336,2039,2005,2573,2348,2091,2350,2209,1887,2213,2358,2207,2908,3211,2852,2452,2385,2481,2376,2464,2192,2056,1826,1665,1518,1598,1684,2447,3652,4299,4439,4192,3642,2544,1984,2453,2408,1982,1807,2227,3068,3504,3628,3454,3504,3419,2711,2026,2114,2057,2136,2193,1931,1648,1863,2398,2536,2392,2431,2120,1915,1990,2584,2879,2464,2246,2417,3292,3318,2330,1915,2423,2212,1857,2280,2589,2556,2056,2048,2199,2979,2655,1964,1699,1793,1946,2017,2271,2744,2980,3015,2555,1886,2127,2060,1564,1516,1498,1452,1428,1494,1457,1742,1939,1698,1467,1644,2158,2346,2696,3500,3075,2763,2750,2154,1759,1988,2284,3270,4134,4495,4055,3742,3714,3834,4046,2899,2101,2192,2192,1999,2114,2519,2186,1894,2029,2036,2303,3312,3018,2402,1966,1644,2045,2272,2612,2374,2125,2675,2779,2715,2893,3086,3242,3276,3100,2978,2700,2234,2019,1914,1945,1936,2047,1940,1780,1868,2179,2082,2036,1998,1913,1831,1716,1741,1815,1824,1844,1843,1768,1737,1780,2146,2265,2260,1858,1679,1604,1348,1348,1388,1378,1439,1498,1853,1715,1526,1427,1718,1748,1436,1307,1266,1403,1597,2120,2007,2075,2424,2866,2270,1453,2094,2963,2996,2247,1554,1600,1640,1722,1741,1615,1938,2204,2720,2355,2010,1957,2055,2070,2004,1932,1910,1990,1912,1834,1918,1959,1946,1980,1822,1701,1649,1729,1832,2097,2159,1907,1934,2093,1872,2145,2111,1953,1986,1658,1716,1844,1934,1852,1866,2328,2268,1651,1605,1826,1731,1844,2251,2091,1892,1811,1782,1809,1908,1864,1764,1728,1738,1820,1832,1832,1828,1807,1918,1887,1824,1758,1753,1827,1850,1865,1900,2048,1905,1930,1824,1791,1776,2191,2664,2809,2699,2743,2780,2307,1925,1990,2028,2118,2610,2246,2299,2869,3294,2763,2328,2275,2017,1953,1919,1772,1882,1803,1888,1917,1909,1884,1934,1885,1829,1668,1670,1782,1561,1561,1860,1926,1846,1729,1825,1734,1760,2644,2943,2473,2669,2438,1911,1749,1564,1519,1545,1888,2030,1626,1462,1671,1685,2113,2868,2972,2821,2697,3285,3159,3000,2370,2636,2474,2054,1970,2092,2439,2127,1665,1728,1313,1159,1476,1948,1892,1811,1700,1550,1531,1660,1732,1602,1407,1431,1465,1395,1052,1605,2774,2252,1681,1636,1731,1675,1492,1504,1582,1524,1396,1370,1827,2281,1820,1915,2703,2536,2609,2446,1792,1569,1667,2286,2376,2386,2267,1750,1479,1754,1932,2420,2225,1818,2129,2380,2290,2214,1992,2566,2755,2732,2404,1750,1687,1656,1409,1672,1854,2111,2963,3836,3761,3204,3015,2573,2099,2204,2161,1762,1635,1696,1654,1506,1853,2415,2230,1803,1951,2034,2123,2287,2174,1754,1611,1353,1235,1346,1404,1726,1732,1759,1970,2045,1921,1790,2024,1891,1714,1933,1863,1699,1998,1967,1952,2792,2911,2730,1981,1918,2203,2220,1912,1717,1597,1640,1803,1685,1989,2854,2512,2305,2178,1881,2206,2236,2080,2942,3463,2697,2029,2266,2335,2918,3294,3105,3362,2805,2487,2352,2284,2852,3333,3184,3322,3218,2507,1876,1723,1686,1951,1871,1499,1692,1744,1785,1780,1745,1580,1356,1452,1736,1512,1481,1503,1842,1786,1616,1553,1558,1482,1345,1538,2126,2086,1781,1576,1376,1600,2086,1917,1636,1746,1596,1404,1456,1375,1461,1555,1598,1766,1491,1550,1309,1310,1320,1571,1670,1591,1626,1519,1822,2055,1694,1569,1579,1752,1676,1475,1553,1811,1711,1386,1395,1393,1450,1551,1702,1643,1488,1414,1455,2029,2070,1741,1548,1338,1362,1386,1314,1492,1418,1490,1439,1711,1704,1668,2245,2916,3216,2846,2242,1900,1868,2118,2275,2475,2679,3053,3648,3610,3364,3307,3684,3624,2668,2126,1941,2474,3024,3420,3973,4016,3420,3275,3094,2733,2889,3238,3272,2565,2183,2221,2621,2316,2216,2386,2282,2018,1765,1714,2260,2049,1702,2315,2553,2484,2356,2468,2778,3373,2834,2430,2408,2449,2577,2468,2334,2449,2479,1963,1882,1946,2286,2187,2023,1942,1812,1734,1813,1865,1894,2015,1938,2482,2610,2372,2761,3142,2551,1841,2068,2295,2154,2203,1997,1909,1914,1688,1525,1569,1542,1756,2079,2647,2580,2187,2104,2244,2366,1966,1758,1309,1333,2212,2163,2075,2393,2588,2366,1924,1898,2012,1848,1701,1890,2060,1656,1405,1313,1367,1766,1757,2000,2431,2620,2669,2626,2956,3087,2229,1848,1695,1212,1476,1504,1471,1588,2470,2290,2166,2580,1949,1967,3027,3043,3322,3271,2380,2295,2255,1570,1317,1839,2396,2634,2271,1973,1865,2063,2556,3189,3233,3430,2863,2134,1771,2514,3349,3347,3017,2182,2062,2549,2875,2923,2364,2187,1561,1470,1769,1649,1808,1836,1591,1440,1418,1339,1672,2245,2414,2190,1945,2142,2267,1716,1492,1677,1282,1013,1162,1584,2073,2409,2779,2874,2480,2316,1661,2244,3187,2944,2145,1957,2105,2730,3339,2834,2043,1720,2243,1948,1684,1687,1640,1614,1652,1848,2249,2172,1692,1556,1827,2004,1682,2263,2707,3011,3209,2570,2138,2024,1794,2106,1841,1847,1759,1872,1753,1828,2224,2142,1790,1658,2052,1890,1820,1959,1871,2326,2397,2084,2187,1803,2110,2402,1828,921,1854,5912,4078,2035,1744,1475,1526,1319,1310,1450,1502,1518,1681,1659,1623,1785,1699,1699,1806,2018,2017,1772,1921,1486,1763,1854,1435,1643,1952,2109,2015,1546,1470,1299,1343,1200,1363,1482,1622,1763,1734,1770,2106,1926,1429,1312,1377,1440,1521,1584,1852,2070,2025,1947,1999,1815,1901,2072,1897,1874,2216,1823,1730,1909,1704,1699,1847,1936,2131,2460,2317,1676,1377,1415,1257,1647,1782,1647,1598,1564,1590,1674,1722,1720,1628,1616,1171,1127,1319,1390,1585,1344,1364,1636,1637,1748,1755,1789,2006,2298,2258,1908,2047,2664,2728,1847,1403,1246,1911,2304,1788,1529,2003,1990,1723,2144,2143,2283,1952,2096,2210,2096,2058,2186,1863,1740,2144,2096,1965,1976,2100,1982,2078,2130,2023,2025,2004,1785,1608,1424,1623,1787,1667,1578,1886,1947,1959,2007,1786,1486,1510,1516,1616,1556,1488,1505,1456,1336,1323,903,835,1290,1546,1366,1595,1626,1313,1456,1445,1381,1606,1538,1402,1418,1650,1698,1747,1714,1555,1596,1701,1834,1888,1780,1808,1986,1883,1903,1854,1687,1553,1146,1152,1274,1134,1160,1372,1424,1406,1342,1217,1343,1425,1322,1282,1373,1289,1322,1636,2363,2969,2659,1754,1259,1459,1638,1573,1620,1221,1244,1306,1257,1342,1516,1548,1413,1147,1215,1041,1051,1542,2024,2296,1950,1781,1677,1931,2384,2437,2270,2475,2692,2353,2082,1624,1249,1376,1492,1618,1748,1838,1648,1572,1642,1440,1498,1420,1344,1320,1333,1331,1394,1368,1366,1288,1290,1392,1531,1541,1885,2014,1961,1708,1404,1360,1390,1257,1318,1448,1699,1581,1334,1290,1495,1660,1355,1245,1372,1379,1444,1544,1462,1313,1672,2248,2006,1530,1755,1690,1654,1476,1382,1351,1470,2337,3051,2553,2386,2811,2208,2003,2060,1437,1284,1429,1607,1666,1779,1542,1237,1462,1662,1571,1521,1848,1830,1885,1695,1567,1594,1726,1656,1606,1562,1563,1616,1615,1472,1484,1428,1606,1664,1762,1549,1430,1590,1561,1532,1422,1485,1783,1700,1793,2236,1672,1888,2450,1994,2275,2438,1873,1521,1446,1453,1609,1477,1533,1598,1624,1627,1621,1443,1357,1426,1478,1545,1876,1917,1473,1312,1333,1428,1654,1816,1625,1515,1750,1924,1735,1820,1947,1968,2047,1582,1644,1580,1588,1900,1582,1666,1616,1686,1948,2150,2478,3222,3040,2858,3843,2954,2846,3226,2933,2962,2824,2505,2132,1572,1447,1606,1764,1750,1979,2926,3064,2792,2414,2248,2114,1825,1782,1762,1804,1766,1589,1646,1649,1669,2078,2886,3086,2801,2541,2962,3031,2462,2557,3007,2591,2258,1890,1662,1957,1986,1699,1854,1983,2022,2304,2437,2353,2512,2127,1787,1699,1622,1654,1901,2312,2776,2492,2666,2553,1816,1985,2258,2176,1859,1537,1594,1714,1746,1574,1647,1810,1773,1695,1774,1921,2175,2540,2468,2567,2939,2957,3095,2930,2308,1898,1774,1803,1791,1816,1825,1968,1826,1734,1650,1579,1885,2479,2544,1954,1914,2305,2430,2118,1612,2000,2276,2061,2601,2283,1953,1943,1506,1259,1504,1853,2241,2316,2191,1798,1812,1960,2180,1715,2061,2022,1754,1614,1550,1620,1574,1730,2222,2468,2228,1995,2469,2688,2662,2517,2676,2829,2728,2401,2269,2480,2597,1701,1515,2090,2720,3451,3736,2930,2819,2462,1882,1782,2298,3005,2753,2906,2993,3130,2905,3381,3392,3322,3172,3223,3002,2272,1991,2155,2634,2728,2634,2598,2197,1737,1944,2191,2089,2170,2380,2149,1870,1718,1868,1902,1486,1820,2127,2069,2294,2257,2078,2010,1924,1892,2164,2292,1730,1644,1819,2054,1833,1773,2229,2410,2216,2130,2027,1875,1751,1883,2050,1897,1662,1966,2319,2190,1953,1830,1608,1592,1484,1503,1984,2198,2010,2263,1709,1826,1855,1687,1797,2136,1814,1546,1626,1880,2110,1946,1819,1871,1628,1550,1400,1683,1968,1916,1686,2137,2938,2846,2529,2529,1940,1911,2410,2932,2898,2969,2834,2918,2875,2666,2513,2028,1774,1722,1578,1692,1685,1946,2712,2939,2402,2010,1713,1587,1678,1655,1611,1606,1952,2126,1879,1998,1974,1773,1962,1809,1770,1687,1944,1986,1676,1624,1580,1819,2308,2750,2304,1825,2126,2710,2182,1825,1760],[2133,1956,1661,1849,1766,1497,1572,1562,1544,1769,1934,1993,1753,1536,1698,1808,1786,2071,2137,2251,2304,2305,2195,1701,1841,1966,1547,1646,1885,1529,2580,2658,1695,1410,1585,1484,1521,1663,1793,1900,1973,2394,2442,1808,1402,1480,1988,2446,2669,2538,2881,3094,2496,2081,2314,2370,2009,2129,2190,1744,1632,1786,1914,2850,3946,3403,2433,1865,1787,1783,1859,2114,2914,3266,3174,3348,3459,3314,3286,3257,3203,2915,2415,2835,2792,2497,2335,1885,2064,2132,1974,1829,1899,2382,2772,2689,1989,1868,1636,1483,2568,3157,2622,2814,2784,2237,2418,2391,2353,2346,2198,1954,2497,2951,2212,2188,1981,1776,1806,1599,1608,2530,3067,3538,4328,4141,3060,1906,1850,2521,2476,1924,2149,2461,3038,3720,3684,3667,3937,3824,2916,2259,2126,2786,2906,2464,2078,1903,2200,2517,2351,2396,2754,2864,2678,2326,2362,2279,2044,1891,2200,2928,2591,1561,1831,2495,2340,2194,2233,2156,1945,1698,1734,2048,2789,2600,1831,1960,2207,1720,1974,2542,2724,2694,2675,2608,1975,1947,1844,1512,1394,1464,1410,1402,1477,1538,1831,1903,1837,1765,1922,2068,1769,2139,2231,2092,2323,2468,2059,1946,2144,2364,3241,3707,4127,3709,3550,3649,3309,3751,3452,2510,2188,2336,2427,2358,2463,2438,2586,2181,1619,2204,3144,2808,2675,2512,2343,2268,1912,1682,1785,2335,2814,2756,2403,2349,2780,3277,3143,2413,2358,2391,2242,2379,1779,1805,1792,1954,1632,1273,1488,2096,2120,1831,1637,1522,1656,1907,1818,1724,1664,1602,1714,1759,1870,2042,2301,2248,2144,2127,1954,1776,1408,1388,1387,1333,1428,1393,1601,1483,1301,1650,2245,2042,1567,1427,1347,1382,1730,2022,1997,1905,2604,2793,2199,1798,2446,2652,2237,1829,1787,2001,1913,1909,1870,1704,1875,2030,2044,1936,1786,1717,1776,1820,1719,1545,1628,1823,1847,2056,1990,2141,2092,2110,2230,2143,1968,1903,2294,3078,2585,1937,1839,2079,1924,2216,1818,1555,1672,1609,1486,1453,1691,1838,1841,2000,1937,1474,1300,1411,1487,1644,1946,1875,1524,1401,1669,1690,1700,1550,1628,1548,1263,1447,1489,1560,1720,1831,2030,2156,2110,1926,1832,2080,1897,1846,1841,2076,1820,1722,1919,1823,1694,1835,1923,1841,1998,2008,2008,1920,1740,1764,1879,1987,2057,1879,1977,2402,2693,2352,1951,2011,1986,1961,2032,1780,1854,1835,1847,1871,1939,2007,1874,1837,2026,1853,1879,1761,1321,1301,1600,1603,1701,1820,1789,1677,1836,2495,2833,2403,2676,2355,1626,1575,1606,1503,1587,1765,1732,1523,1503,1650,1870,1947,2374,2664,2752,2340,2723,2675,2447,2052,2683,2774,2162,2039,2432,2747,2264,1725,1461,1085,1090,1390,1682,1803,1872,1615,1446,1474,1552,1475,1496,1343,1370,1753,1533,1331,1736,2328,1918,1575,1591,1636,1584,1476,1451,1522,1486,1350,1341,1579,1915,1666,1720,2050,2189,2676,2494,2148,1636,1542,1592,1594,2070,2271,1676,1307,1811,2071,2079,1887,1588,1836,2328,2302,2427,2811,2547,2003,1977,1991,1903,1933,1660,1432,1621,1574,1713,2433,3322,3024,2560,2928,2779,2822,3057,2328,1799,1831,1536,1665,1694,1732,2036,1989,1619,1693,2215,1864,1881,2282,2517,2509,1664,1652,1979,1678,1693,1599,1783,1777,1859,1910,1940,2063,1949,1917,2362,2400,2037,1527,1896,2894,3388,3198,3016,2139,1915,2136,2217,2119,1978,2075,2323,1852,1883,2840,3099,2236,1782,1576,1676,2198,2060,1834,2717,3551,2998,2112,2354,2453,2714,3031,2837,2945,2869,2216,1833,1911,2398,3185,3345,3407,3488,3292,2305,1570,1575,1647,1534,1426,1448,1550,1665,1819,1596,1437,1457,1531,1556,1531,1527,1586,1868,1797,1549,1500,1592,1561,1413,1619,1861,1569,1450,1467,1379,1477,1911,1915,1653,1698,1631,1488,1519,1604,1606,1437,1560,1760,1561,1387,1410,1441,1441,1588,1842,1824,1744,1497,1712,2034,1563,1428,1432,1433,1481,1472,1607,1793,1754,1657,1582,1455,1759,1583,1471,1323,1270,1282,1422,1607,1426,1356,1430,1430,1545,1655,1690,1798,1685,1520,1365,1669,1724,1709,2100,2404,2482,2368,1959,1758,2114,2509,2939,3632,3523,3349,3395,3460,4052,4094,3305,3374,4108,3748,2862,2712,3165,3323,3374,3658,3463,3232,3232,3204,2868,2834,3145,3008,2275,1971,2144,2404,2313,2129,1857,1670,1759,2563,3108,2288,2286,2236,2147,2241,2297,2377,2084,2209,2039,2009,2376,2540,2437,2340,2197,2608,2526,1599,1588,1960,2159,2209,2056,1885,1890,1823,1798,1763,2061,2372,2444,3096,2859,2298,2489,2843,2281,2074,2593,2296,1975,2287,2280,2047,1939,1749,1450,1561,1509,1668,1818,2219,2154,1954,2087,2108,2036,1514,1340,1489,1794,2731,2490,2383,2590,2665,2054,1597,1780,1823,1740,1783,1921,2011,1287,689,533,773,1358,1823,1833,1818,1923,2221,2666,2678,2397,2509,2649,2077,1652,1786,1808,1753,1532,1555,1898,2109,2540,2522,2296,3357,3470,2938,2533,2250,1894,1772,1673,1748,2279,2502,2725,2348,2031,1615,1570,2030,2480,3001,2678,1984,2123,2154,2892,3528,2914,2222,1931,2401,2317,2259,2537,2352,2204,1925,2134,2388,1971,1996,1671,1314,1443,1483,1273,1683,1885,1888,1989,2133,2259,2191,1769,1327,1450,914,585,1061,1555,2206,2599,2533,2758,2534,2133,1974,2244,2323,2120,1954,2233,2371,4273,5579,3255,1470,1508,2295,2446,2066,2030,1692,1593,1786,1830,2329,2179,1844,1783,1755,1977,2038,2418,2363,2438,2841,2643,1968,2081,1577,1791,1825,1482,1619,1879,2019,2020,2054,2178,1736,1992,2433,1794,2142,2569,2947,2543,2070,1952,1936,2027,2074,2061,1729,1528,8807,15569,6344,2062,1737,1551,1534,1579,1374,1284,1611,1998,2025,1831,1557,1362,1405,1725,1840,1726,1703,1702,1726,1316,1490,1780,1493,1521,1649,1879,2050,1979,1935,1762,1470,1308,1414,1642,1906,2129,2003,1773,1923,1799,1261,1366,1566,1428,1553,2302,2393,2091,2138,1959,1856,2046,2192,1948,2138,2365,2258,2008,2110,2092,1878,1797,1618,1619,2064,2279,2322,2232,1821,1541,1555,1735,1966,1799,1426,1269,1435,1583,1901,1948,1803,1716,1354,1563,2436,2180,1622,1376,1243,1258,1271,1403,1739,2093,1969,1974,2158,2245,1782,1826,1659,1695,1668,1947,2538,1983,1549,1886,2079,1779,1464,1925,2045,2336,2290,2394,2542,2263,1869,1925,1805,1667,1678,1587,1663,1766,1859,1880,1864,1909,1898,1885,1880,1777,1430,1483,1866,1876,1522,1796,1871,1887,1981,2034,1929,1716,1699,1874,1753,1561,1641,1449,1419,1386,1625,1131,1113,1355,1582,1705,1877,1751,1618,1571,1517,1543,1724,1709,1658,1602,1651,1699,1658,1584,1500,1616,1865,2053,2027,1921,1676,1598,1638,1434,1259,1275,1129,992,1282,1405,1151,953,1283,1354,1293,1230,1416,1444,1379,1318,1686,1832,1477,1542,1543,1478,2145,2093,1518,1426,1251,1262,1694,1651,1321,1324,1345,1291,1363,1445,1416,1307,1076,1615,1310,1776,2227,1950,1497,1688,2092,2407,2626,2413,1995,1909,2189,2458,1936,1523,1376,1403,1507,1516,1451,1391,1475,1538,1656,1666,1488,1476,1530,1380,1274,1306,1397,1441,1439,1440,1457,1581,1859,2011,1698,1984,1857,2033,1793,1482,1390,1310,1238,1309,1433,1596,1659,1639,1375,1477,1637,1383,1263,1460,1512,1639,1723,1434,1297,1544,1579,1451,1440,1414,1409,1729,1387,1228,1243,1888,2597,2732,2391,1837,1846,1650,1836,1848,1802,1752,1629,1660,1683,1904,1853,1528,1625,1431,1449,1568,1921,2109,2013,1554,1432,1401,1577,1869,1706,1477,1468,1638,1803,1631,1514,1471,1472,1485,1455,1397,1462,1476,1528,1544,1491,1432,1580,1447,1784,2020,1775,2389,2340,1770,1994,2305,1890,1517,1341,1410,1614,1724,1681,1478,1432,1430,1461,1442,1444,1498,1480,1736,2004,1712,1555,1193,1435,1782,1743,1629,1480,1531,1632,1615,1748,1694,1777,1910,1811,1576,1583,1455,1668,1659,1554,1876,2039,1954,2080,2083,2733,4161,3198,3281,3624,2461,2320,2837,3191,3306,2735,2072,1698,1416,1482,1963,2469,2015,1908,3024,2919,2506,2071,1942,1764,1587,1571,1774,2222,2502,1813,1925,2225,2171,2452,2655,3020,2874,2226,2351,2558,2364,2828,2845,2733,2890,2369,1782,1948,2008,2214,2078,1715,1826,2008,2147,2320,2229,2547,2549,2237,1960,1881,1584,1270,1670,2255,2697,2280,1545,1863,2613,2470,2025,1715,1533,1595,1615,1595,1697,1745,1723,1732,1938,2344,2728,2922,2677,2662,3024,2839,2942,2641,2255,2292,2051,1909,1667,2035,2089,2071,2003,1775,1783,1648,1739,2172,2171,1881,1982,2244,1952,2257,2273,2100,2063,1743,2077,2163,1932,1898,1533,1244,1591,2047,2399,2088,1573,1555,1721,1614,2101,2004,2008,1898,1656,1594,1592,1729,1677,1651,1610,1556,1715,1753,2386,2426,2165,2237,2639,2845,2558,2118,2453,2326,2799,1874,1647,1991,2539,3301,3441,2600,1851,1822,1933,1692,1750,2666,3232,3529,3360,3183,2763,3095,3500,3458,3271,3133,2990,2508,1719,1440,2499,2458,2396,2048,2246,2254,2275,2484,2405,2342,2568,2279,1760,1663,2082,2310,1739,1746,1890,1817,2100,2020,2085,2271,2064,1847,1987,2353,1855,1845,1908,1968,1884,2004,2214,2035,1818,1892,1937,1807,1746,1748,1825,1844,1669,2011,2662,2504,1989,1565,1736,1815,1598,1499,1572,1727,1650,1807,1837,2099,1949,1880,2052,1925,1769,1679,1742,2317,2643,2174,1962,2128,1657,1514,1776,2014,2266,1932,1664,1919,2409,2854,3099,3316,2226,2147,2361,3071,3553,3992,4053,3601,2596,2315,2481,2254,1948,1719,1833,1823,1663,1673,2126,2291,2081,1949,1642,1643,1930,1754,1449,1632,2150,2002,1773,2103,1746,1404,1733,1946,1972,1964,1891,1775,1824,1844,2009,1956,2390,2557,2430,2204,1973,2042,1786,1631,1804],[2469,2107,1696,1892,1970,1571,1399,1636,1727,1576,1708,1742,1492,1577,1606,1703,1945,2269,2173,1967,1827,1811,1865,1585,1769,1820,1627,1650,1950,1874,2219,2086,1515,1528,1627,1506,1604,1708,1864,2117,2490,2394,2126,1712,1334,1517,2050,2332,2335,2370,3068,3583,3491,3273,3060,2453,2039,2510,2082,1712,1754,1800,1965,2939,3963,3105,2247,1923,1870,1802,1814,1813,2543,3052,2850,3064,3362,3227,3081,3082,3107,2923,3160,3558,3310,3247,3327,2752,2160,2028,2180,1931,2075,2053,2231,2567,1937,1772,1853,1772,2405,2829,3038,3645,2777,1806,1946,2208,2336,2069,1836,1980,2783,2928,2186,2065,2490,2316,1776,1532,1853,2839,2790,2807,3564,3510,2128,2348,2653,2497,2321,2259,2493,2412,2667,3287,3297,3228,3903,4081,3134,2423,2297,2688,3196,3108,2896,2757,2570,2235,2036,2187,2542,3040,3131,2620,2411,2345,2248,2401,2709,2909,2328,1696,2288,2168,1827,1688,1365,1535,1950,2077,2110,2386,2633,2391,2032,2624,3056,2389,2303,2359,2059,1951,1859,1909,1728,2194,2170,1631,1587,1644,1492,1483,1487,1790,2200,2480,2405,1952,2021,1947,1885,1923,1834,1898,1930,2600,2710,2568,2001,1957,2730,3439,3588,2734,2736,2888,2792,3406,3445,2673,2336,2570,2621,2236,2224,2534,3105,2639,2398,3095,2961,2315,2341,2600,2642,2362,1862,1743,2014,2148,2574,2700,2685,2647,2303,2302,2347,2382,2292,2159,2372,2834,2248,2005,1782,1751,1628,1448,1620,1966,1770,1587,1348,1293,1608,2343,1838,1375,1352,1252,1204,1363,1510,1602,1898,1947,1973,2014,1787,1595,1584,1567,1438,1278,1460,1674,1736,1818,1874,2146,2220,1978,1787,1697,1716,1777,1795,1907,2293,2259,2480,2390,2191,1998,1974,1922,1874,1837,1704,1619,1562,1685,1708,1562,1492,1519,1776,1926,1918,2117,2298,2148,1936,1678,1892,2214,2136,2210,2455,2590,2380,2244,1964,1951,1947,1703,2210,3446,2629,1650,1384,1521,1434,1583,1582,1599,1638,1411,1497,1788,1886,1714,1610,1792,1936,1971,1705,1550,1707,1774,1678,1738,1577,1693,1886,1696,1606,1252,1300,1304,1359,1390,1433,1532,1550,1696,1786,1946,1996,1672,1614,1815,1575,1432,1733,2042,1581,1492,1840,1780,1644,1745,1811,1808,1606,1641,1875,1852,1854,1867,1836,1802,1460,1233,1664,2022,1924,1987,1956,1895,1880,1837,1713,1603,1731,1847,1966,2482,2872,2518,1875,1807,1882,1941,2046,1725,1504,1764,1861,1549,1375,1548,1638,1580,1735,2579,3104,2762,2890,2684,2370,2125,1895,1798,2239,2632,1992,1640,1844,1576,1714,1953,2321,2434,2338,2071,1941,1642,1613,2054,2895,3163,2573,2616,2906,3157,2667,2103,1583,1312,1480,1538,1582,1812,1799,1583,1380,1387,1615,1340,1452,1846,2018,1968,1648,1357,1394,1409,1418,1562,1586,1482,1424,1642,1497,1411,1496,1524,1659,1738,1557,1402,1570,1666,2176,3100,2941,2429,1736,1523,1537,1403,1685,1991,1788,1621,2024,2264,2038,1997,1876,1982,2584,2798,2876,2885,2359,1927,1780,1811,2030,2104,1854,1811,1740,1598,2223,3104,3234,2765,3025,2644,2030,2852,2986,2103,1741,1792,1697,2216,2245,1708,1932,2167,1854,2004,2238,1731,1936,2708,3037,2984,2280,1843,1592,1609,1767,1706,1640,1624,1685,1693,1987,2271,1849,1672,1981,1968,1657,1865,2620,3604,3184,2452,1975,1595,1523,1749,1992,1940,2045,2098,2287,1994,2367,2965,2242,1450,1640,2322,2710,3020,2878,2764,3378,3240,2592,2057,2004,2250,2503,2843,2808,2872,3154,2697,2024,2173,2401,3076,3327,3280,3305,3229,2468,1826,1694,1632,1564,1433,1459,1571,1681,2070,1777,1615,1594,1647,1481,1518,1578,1592,1664,1770,1860,1640,1363,1393,1325,1557,1607,1484,1582,1546,1369,1323,1554,1788,1934,2060,1656,1462,1489,1438,1330,1359,1571,1691,1513,1315,1261,1330,1418,1555,1660,1576,1424,1376,1356,1461,1457,1434,1339,1321,1408,1474,1569,1659,1811,1887,1731,1562,1423,1345,1461,1560,1561,1400,1368,1425,1431,1437,1503,1636,1695,1760,1885,2048,2071,1926,1743,1709,1715,1816,2177,2397,2790,3227,2924,2147,2304,2603,2821,2792,2416,2460,2791,2764,3119,3655,2984,3209,3805,3956,3366,2414,2310,2750,3109,3375,3438,3267,2988,3253,3012,2622,2657,2442,2308,2127,2330,2609,2207,2029,1911,1689,1686,2553,3517,3317,2972,2700,2432,2419,2624,2209,1530,1570,2084,2579,2430,2188,2574,2358,2494,2573,2147,1659,1852,2279,2231,2233,2009,1808,1835,1619,1631,1893,2119,1873,2357,2930,2703,2336,2897,3096,2518,2655,2168,1913,1812,1384,1807,2419,2374,2201,2118,2088,1980,1887,1892,2108,2088,1876,1781,1382,1282,1481,2045,2177,2128,2612,2729,2584,2640,2400,1563,1612,1776,1542,1530,1642,1960,1769,929,417,642,1214,1629,1861,2014,1897,1673,2103,2009,1717,1825,2440,2790,2537,2125,1897,1748,1652,1525,1403,1660,1925,2647,2916,2342,3138,3196,2819,2724,2316,1918,2192,2238,2098,2435,2213,2266,2335,2303,2372,2302,2374,2809,2995,2232,2079,2341,2677,3242,2275,2210,2330,1895,2409,2547,2336,2189,2222,2820,2709,2013,2152,1802,1991,1775,1648,2139,2087,1262,1312,1620,1882,2009,2063,2195,2132,2024,1733,1367,1088,748,1335,1715,2225,2298,1930,2004,1937,1961,2324,2788,1967,1531,1764,2157,2217,3598,4168,2349,1391,1534,2098,2420,1928,2031,1950,1960,1980,1832,1858,1842,1932,1845,1834,2005,2037,2031,1967,2003,2253,1982,1842,1922,1422,2010,2114,1988,2316,2018,1905,2203,2382,2350,1681,1880,2611,1814,1695,2456,2675,1951,1923,1952,2160,2351,1772,1949,1773,1996,12465,13730,4604,2464,2137,1794,1631,1685,1619,1515,1596,1821,1791,1620,1360,1164,1323,1737,1892,1702,1737,1759,1650,1435,1616,1993,1922,1568,1512,1551,1803,2128,1953,1848,1675,1560,1637,1693,1721,2052,2230,2197,1882,1793,1432,1451,1567,1611,1693,1972,2027,2084,2329,2155,2174,2351,2232,2110,2302,2291,2164,2223,2406,2458,2345,2010,1575,1692,1975,1922,2048,2288,2356,2110,1946,1850,1915,1754,1421,1238,1247,1260,1345,1338,1538,1626,1613,2118,2829,2133,1416,1483,1300,1211,1860,2040,1642,1970,1909,1755,1768,1945,1681,1516,1540,2238,2623,2544,2126,1610,2179,2180,1763,1786,1614,1741,1995,2182,2531,2773,2414,1999,2038,2143,1723,1254,1277,1895,1867,1617,1555,1748,1823,1771,1646,1542,1742,1571,1413,1762,1920,1561,1578,1911,1881,1886,1880,2076,2112,1735,1655,1939,1909,1996,1690,1432,1644,1826,2505,1776,1161,1403,1635,1969,2048,1782,1677,1509,1543,1610,1790,1562,1493,1473,1517,1376,1189,1165,1166,1132,1541,1624,1556,1644,1235,1027,1125,1223,1276,1312,1079,981,1093,1206,1259,1156,1383,1309,1269,1403,1358,1215,1187,1238,1683,1855,1620,1538,1353,1237,1260,1354,1389,1389,1260,1423,1785,1565,1344,1391,1304,1188,1266,1505,1622,1590,1723,2027,1826,1945,1927,1834,2085,2421,2632,2796,2543,2153,2085,1919,1804,1682,1434,1395,1410,1510,1567,1497,1533,1528,1610,1658,1738,1499,1462,1438,1563,1411,1249,1274,1409,1506,1577,1689,1716,1589,1554,1540,1611,1845,1786,1702,1620,1513,1451,1381,1418,1501,1472,1492,1364,1514,1438,1426,1560,1410,1256,1334,1366,1338,1509,1597,1426,1456,1582,1946,1875,1354,1374,1459,1508,1655,1541,1462,1808,2226,1981,1806,1628,1316,1555,1716,1920,1874,1748,1758,1858,1823,1839,1529,1370,1265,1415,1450,1472,1760,1830,1607,1456,1598,2348,2623,1943,1415,1415,1436,1595,1705,1746,1589,1447,1421,1450,1545,1609,1688,1886,1873,1818,1520,1383,1620,2075,2276,2300,2609,2835,2543,2029,1831,1703,1619,1440,1423,1874,1982,1835,1549,1443,1420,1483,1454,1427,1427,1558,1978,2019,1712,2051,1747,1991,2333,2338,2081,1579,1704,1695,1572,1673,1702,1873,1868,1890,1843,1509,1584,1888,1742,1807,2230,2258,1770,1838,2338,2400,3021,2662,3054,2769,2092,1959,2145,2558,3013,2876,1806,1592,1539,1781,2489,2439,1870,2283,2907,2708,2303,2154,2448,2195,1678,1591,1917,2128,2118,1626,1870,2375,2664,2666,2670,3348,3274,2589,2181,2576,2648,3334,2653,2350,3066,2899,2152,1871,1880,2021,1761,1540,1626,1740,2096,2685,2419,2895,2890,2118,1895,2265,2156,1834,1789,2425,2533,2005,1677,2006,2403,2333,1860,1570,1600,1571,1532,1641,1715,1710,1649,1698,1916,2658,2940,2445,2176,2468,2578,2458,2359,1983,2514,3001,2226,1765,1989,2626,2381,2005,2091,2060,1864,1753,2016,2148,1941,1793,1981,2279,2756,3454,3379,2752,2191,1811,1820,2021,1832,1836,1553,1493,1642,2004,2093,2090,1722,1756,1677,1807,2009,1821,1721,1798,1780,1651,1650,2080,2059,1660,1560,1839,1934,1745,2058,2302,2016,2212,2841,2564,2436,2574,2469,2127,2387,2074,1691,1836,2562,2894,2544,2412,2132,1745,1928,1798,1788,2097,2807,3366,3470,2966,2546,3020,3116,3083,3552,3276,3113,3124,2329,1515,2132,2251,1918,2000,2377,2466,2564,2275,2098,2023,2728,2741,2048,2043,2298,2237,1910,1785,1805,1886,2104,2063,1969,2208,2128,2085,2110,1855,1582,1772,1883,1853,2092,2313,2090,1776,1807,1925,1980,1849,1677,1954,1979,1950,1883,1929,2466,2264,1650,1770,2158,1975,1830,1587,1670,1852,1718,1898,2122,1985,1925,1814,1661,1676,2018,2095,1754,1898,2282,1923,1684,1700,1635,1618,1964,2071,1806,1609,1566,1664,1980,2135,2729,3135,1928,1857,2494,2706,3583,4424,4405,3492,2008,2141,2873,2921,2295,2192,2542,2167,1810,1985,2551,2556,2186,1856,1661,1979,2001,1300,1588,2140,1919,1526,1931,2422,2094,2065,2391,2039,1922,2058,1965,1837,1986,1842,2046,2089,2106,2277,2504,2160,1956,2078,2001,2489,2728],[2364,1875,1620,1883,1853,1569,1612,1876,1798,1477,1755,1682,1577,1521,1658,1856,2117,2033,1689,2206,2291,1785,1589,2020,2576,2625,1911,1497,1675,1571,1391,1484,1518,1642,1703,1551,1568,1702,1975,1778,2788,3427,2535,1626,1521,1854,2250,2210,2192,2474,3292,3225,3035,2969,2486,2025,2134,2519,2243,2068,2054,2341,2422,3162,3458,2499,1926,1770,1781,1785,1817,1760,2312,2977,2969,2949,3199,3319,3211,3332,3222,3017,3227,3789,3993,4037,3740,2851,2112,2109,2597,2280,2193,1731,1854,1907,1977,2155,2252,1979,2316,2989,3779,3647,2633,2174,1946,2098,2069,1865,2010,2060,2218,2229,2310,3046,3450,2597,1655,1332,1605,2655,3024,2799,2534,2148,2105,2485,2156,1770,1877,2105,2077,2065,2329,2669,2758,2560,3072,3217,3065,2774,2695,2361,2339,2669,2850,2806,2813,2635,2037,2028,2316,3321,3064,2714,2764,2489,2503,2874,3224,3277,3038,2750,2383,1618,1751,1854,1649,1526,1820,2314,2751,2878,2947,2751,2642,3564,3277,2503,2064,1587,1543,1526,1562,1589,1829,2514,2308,1792,2216,2601,2511,1515,1715,2249,2764,3176,2917,2193,2261,2393,2069,2076,2302,2392,2255,2577,2542,2877,2483,1979,2249,3310,3551,3212,2833,2083,2298,3146,3367,3019,3075,3283,2601,2582,2918,3176,3634,2923,2110,2965,3279,3007,2580,2114,2142,1882,2211,2541,2539,2599,2673,2454,2126,2203,1820,1891,2453,2972,2349,2234,2522,2300,2172,2151,1864,1771,1607,1316,1476,1929,1759,1562,1322,1197,1251,1401,1352,1369,1443,1334,1253,1394,1414,1769,1891,1947,1948,1988,1873,1654,1637,1601,1666,1860,2114,2186,2193,2155,2122,2030,1916,1749,1676,1725,1849,1745,1653,1714,1974,2114,1991,1752,1708,1690,1713,1722,1708,1745,1901,2230,2231,2145,2013,1869,1973,2123,2122,1893,1677,1884,2536,2209,2378,2461,2714,2574,2370,2659,3061,2588,2323,2229,1708,1935,1959,1809,2212,3334,2409,1603,1397,1371,1516,1671,1664,1547,1697,1747,1993,1972,1691,1714,1644,1743,2413,2722,2021,1634,1911,2238,1861,1484,1477,1695,1905,1960,1685,1625,1610,1408,1463,1357,1458,1572,1666,1619,1628,1894,1948,1859,1581,1476,1647,1639,1497,1460,1553,1915,2093,1780,1613,1622,1648,1588,1415,1721,1755,1704,1965,1866,1671,1801,1985,1907,2233,2456,2274,2232,2415,2503,2401,2266,2068,2062,2060,1798,2083,3238,3816,2900,1910,1668,1647,2401,2331,1820,1661,1686,1707,1561,1505,1806,1953,2011,2048,2917,3179,2733,2532,2642,2987,2522,1776,1916,2673,2917,2054,1909,2193,1728,1811,2096,2405,2183,1923,1721,1471,1793,2597,2963,3342,3403,3127,3254,3370,3308,2994,2405,1859,1823,1963,1691,1365,1628,1642,1332,1167,1137,1457,1428,1918,2002,1525,1832,1934,1416,1329,1309,1462,1745,1694,1713,1535,1468,1368,1418,1441,1543,1801,1739,1534,1514,1499,1448,2098,2862,2883,2198,1651,1517,1448,1392,1720,2018,1710,1785,2330,2331,2042,2095,1956,2005,2336,2591,2399,2038,2025,2371,2564,1853,1954,1781,1748,2137,1924,1635,2216,2348,2658,2749,3153,2810,1987,2557,2808,2113,2381,1916,1570,1889,1947,1855,1991,1830,1591,1692,1827,1939,2601,3268,3359,2999,2810,2013,1621,1698,1849,1734,1644,1735,1747,1608,1710,1910,1715,1802,1955,2588,2568,2929,3000,3094,3388,2778,1584,1416,1406,1709,2035,2085,2128,1991,1886,2149,2453,3020,3132,2226,2331,3445,3948,4051,3436,3162,3666,3353,2689,2495,1976,2027,2379,2487,2624,2607,3154,3143,2236,2183,1882,2328,2910,3060,2910,2862,2571,2091,1748,1527,1410,1456,1570,1550,1625,1722,1757,1590,1597,1553,1439,1623,1720,1764,1605,1623,2236,1950,1541,1510,1414,1655,1756,1615,1643,1582,1499,1478,1508,1804,1726,1645,1455,1381,1461,1336,1290,1325,1418,1591,1573,1518,1413,1320,1326,1340,1354,1366,1370,1322,1246,1333,1373,1363,1391,1334,1506,1527,1515,1758,1771,1832,1656,1504,1561,1699,1802,1842,1876,1619,1650,1679,1719,1703,1774,2055,2263,2426,2614,2695,2897,2922,2696,2691,3045,2944,3118,3409,3715,4302,3466,2445,2247,2296,2391,2364,2667,2922,3353,2779,2972,3398,3035,3603,3783,3539,3197,2397,1968,2332,2610,2814,3054,2792,2431,2756,2953,2545,2530,2404,2255,1895,1882,1955,1779,1721,1544,1524,1723,2794,3569,3105,3110,3318,2744,2357,2252,2268,2386,2677,3213,3887,3460,2446,2477,2128,2721,2800,2456,2362,2438,2274,2032,2025,1798,1823,1773,1632,1685,1979,1938,1343,1792,2389,2144,2168,2845,3104,3028,3051,2275,2092,1714,1573,2478,3238,3104,2697,2404,2275,2020,1959,1881,1821,1750,1613,1400,1662,1991,2459,2770,2489,2401,3088,3287,2922,2578,2250,1644,1790,1832,1592,1508,1631,1902,1474,687,487,1367,2164,1929,1763,1838,1671,1612,2321,2469,1913,1930,2239,2292,2370,2310,2031,2138,1968,1631,1567,1738,1807,2094,2099,2226,2635,2489,2451,2429,2186,2163,2259,2136,2235,2497,2192,2075,2281,2515,2556,2083,1861,2521,2576,2321,2616,2873,2636,2864,2587,2276,1923,2145,2496,2777,2953,2648,2600,2973,3077,2347,2160,1665,1984,1950,1917,2491,2263,1472,1931,2659,2743,2430,2032,1978,2083,2066,1794,1263,1303,1094,1477,2003,2282,2123,1902,1765,1466,1557,2192,2796,1748,1648,1980,2150,2183,2300,2043,1879,1909,1578,1949,2175,1839,1893,1544,841,1040,1384,1605,1780,1832,1847,2007,2033,1769,1927,1930,2024,1994,1337,1720,1719,1616,2122,2320,3044,3286,2364,1646,1781,2522,2122,1836,1857,1920,1669,1764,2170,2193,2310,2433,1844,1700,2142,1959,1729,1780,1362,1415,1322,2254,2556,2373,2122,1850,1772,1824,1944,1588,1731,1802,1660,1433,1362,1327,1416,1565,1725,1785,1698,1644,1575,2071,2713,2446,1672,1375,1350,1490,1713,1875,1883,1608,1611,1682,1605,1479,1729,2151,2275,1624,1536,1490,1328,1590,1826,1888,1907,2071,1968,2145,2187,2134,2376,2334,2349,2277,2228,2256,2310,2422,2392,2125,1906,1664,1707,1730,1925,1862,1786,1880,2226,2252,2079,1987,1750,1569,1482,1942,1438,1263,1320,1330,1279,1424,1681,1925,1755,1280,1437,1494,1605,2364,2308,1691,1821,2026,1976,2102,1807,1542,1494,1424,2056,2759,2209,1665,1893,2664,2317,2323,2232,1713,1543,1836,1976,2059,2126,2014,2082,2339,1950,1499,1165,1735,2762,2451,1831,2093,2365,2012,1785,1693,1599,1735,1566,1648,1843,1758,1510,1853,2014,2045,1991,2075,2146,1848,1838,2083,2051,2160,2337,1700,1553,1922,2030,2001,1432,1492,1672,1723,1783,1735,1607,1407,1297,1247,1212,1305,1428,1390,1272,1322,1282,1136,1136,1093,1265,1714,1228,1208,1546,1317,1131,1423,1615,1681,1632,1293,1425,1260,1342,1397,1376,1538,1322,1362,1460,1261,1230,1275,1676,1542,1475,1627,1716,1587,1710,1505,1295,1320,1657,1945,1885,1591,1433,1316,1302,1229,1341,1525,1784,1795,1689,1691,1600,1566,1739,2276,2584,2440,2166,2235,2298,2116,1992,1866,1538,1635,1587,1267,1333,1515,1572,1519,1560,1509,1627,1756,1732,1716,1548,1465,1500,1487,1483,1444,1440,1462,1462,1360,1373,1483,1617,1574,1482,1526,1802,1778,1465,1556,1398,1381,1443,1536,1696,1531,1436,1558,1730,1418,1421,1562,1410,1406,1637,1638,1398,1534,1466,1504,1438,1309,2022,1980,1460,1453,1709,1859,1671,1495,1464,1411,1649,1647,1432,1262,1224,1501,2007,2169,1902,1864,1938,2135,1809,1610,1449,1281,1270,1542,1547,1517,1751,1751,1554,1570,1885,2258,2409,1778,1478,1313,1260,1501,1717,1611,1579,1562,1425,1483,1748,1931,1757,1676,1746,1849,1618,1417,1518,1744,2216,2419,2632,3011,2740,1873,1432,1799,2090,1803,1737,1870,1867,1722,1509,1461,1488,1690,1658,1772,1671,1711,1876,1811,1787,2382,2693,2566,2219,2435,2599,1779,1869,1693,1626,1538,1515,1809,1740,1761,1826,1537,1539,1603,1674,1953,2421,2078,2050,2258,2328,2299,2240,2473,2663,1964,1566,1758,1694,1587,2055,2318,1684,1653,1911,2241,2741,2229,2016,2845,2896,2669,2591,2521,2630,2208,1689,2304,2575,1985,1591,1503,1660,2023,2668,2750,2819,3220,3536,3233,2843,3288,3375,2786,1758,2142,2579,2164,2178,2309,1872,1796,1703,1631,1707,1918,2361,2646,2903,3233,2920,2191,2235,2640,2745,2915,2472,2296,2159,1781,1648,1561,1647,2118,2053,1723,1873,1750,1642,1737,1710,1668,1403,1422,1667,2104,2402,2437,2952,2938,2349,2470,2667,1958,2492,2700,2313,2266,2478,2737,2520,1828,1502,1741,1653,1725,2361,2086,1765,1854,2501,2775,3173,3256,3321,3141,3011,2923,2872,2373,1559,1854,1871,1698,1604,1560,1717,1693,1789,2015,2226,2008,1871,1836,1722,1842,1793,1697,1708,1714,1755,1720,2026,2063,1665,1601,1713,2070,2745,2679,2931,2561,2556,2705,2119,1952,2028,1841,1636,1985,2584,2761,2533,2642,2621,1742,1783,1876,2032,2155,2498,2977,3322,2843,2296,2690,2666,3256,3583,2878,2696,3264,3106,2045,1844,2061,1939,2142,1952,1824,2134,1795,1610,1427,2049,2575,2231,1931,2126,2337,2065,1855,1849,1876,2163,2051,1763,1991,2286,2403,2515,1837,1708,2075,2046,2055,2334,2353,2128,1959,1810,1860,1832,1611,1531,2386,2749,2393,1852,1873,2196,1856,1556,1711,2089,1771,1986,1851,1861,1876,1730,1824,1814,1965,1897,1501,1499,1656,1773,1889,1888,1958,1952,2195,1946,1626,1746,1677,1636,1642,1670,1668,1713,1498,1790,2396,2861,2884,2356,2226,2454,2403,2941,3463,3487,3192,2260,2150,2589,3086,2646,2410,2219,2149,2405,2664,2776,2330,2230,1903,1903,2176,2689,2094,1930,2166,1977,1746,1850,2343,2686,2796,3023,2788,2408,1979,1777,1915,1877,1653,2202,2521,2018,1757,1942,1897,1980,1875,2330,2380,2221],[2222,1835,1609,1963,1929,1583,1835,2483,1942,1714,2074,2099,2050,1893,1682,2048,2292,1762,1439,1727,2338,2398,2053,1911,2300,2254,2119,1681,1546,1686,1394,1721,2066,1965,1732,1910,1626,1883,2199,1980,2776,3601,3001,1948,1791,2228,2282,2125,2360,2489,2871,2461,1696,1626,1904,1780,2078,2446,2001,1875,2422,3182,3232,3660,3032,2125,1833,1697,1636,1667,1613,1644,2054,2745,3002,3077,3045,3071,3232,3519,3440,3405,3517,3559,3344,3197,3508,2873,2555,2103,2573,2644,2347,1998,1925,2220,2718,2916,2508,2256,2314,2502,2774,2662,2658,2467,2647,2285,1977,2054,2070,1935,2274,2282,2066,2575,2556,1871,1768,1811,1718,2116,2845,2751,2154,2509,2806,2435,2076,1641,1644,1848,1967,2385,2544,2658,2608,2508,2670,2750,2964,2930,2410,1738,1786,2269,2765,3045,2734,2921,2464,2074,1995,2843,2514,2329,2973,2643,2499,2934,3037,2862,2314,2575,2329,1588,1644,2233,2136,1609,1705,2508,3288,2766,2561,2767,3506,4029,3391,2589,2072,1873,1882,1705,1770,1841,2019,2724,2642,2187,2432,2411,2340,1497,1854,2514,2800,3150,3005,2485,2416,2417,2392,3279,3222,2657,2431,2065,2035,2271,2885,2995,2690,3040,3352,3703,3274,2230,1924,2476,2558,2928,3428,3636,3186,2763,2624,3233,3626,3115,2442,3235,3330,3140,2984,2718,2437,1991,2304,2361,2600,2864,2853,2600,1882,1841,1743,1808,2162,2276,2250,2444,2178,1455,1859,2555,2743,2478,1732,1479,1595,1725,2106,1698,1285,1081,1306,1451,1329,1424,1692,1583,1323,1477,1665,2060,2020,2032,1808,1862,1870,1880,1844,1624,1358,1486,1853,1874,1856,1794,1810,1886,1871,1767,1741,1777,1854,1778,1652,1699,1776,1790,1842,1808,1842,1882,1804,1702,1751,1747,1896,1940,1830,1913,1854,1583,1513,1428,1381,1509,1550,1553,1904,2102,2559,2756,2536,2290,2094,2365,3014,2790,2298,2123,1974,2364,2455,2206,2066,2120,1710,1637,1561,1365,1426,1495,1456,1360,2058,2436,2155,1691,1608,1803,1754,1708,2645,3129,2299,1690,1726,1706,1758,1706,1645,1732,1873,1852,1715,2197,2048,1426,1493,1395,1478,1587,1572,1464,1481,1520,1672,1673,1584,1696,1884,1853,1416,1336,1593,1743,1700,1772,1694,1681,1909,1681,1564,1788,1755,1597,1691,1476,1564,1713,1896,2192,2624,3256,2688,2193,2522,2279,2135,2479,2566,2466,2187,1734,1847,2915,3494,2757,1932,1662,1548,1743,1958,1888,1699,2033,2240,1989,2166,2155,1918,1963,2426,3057,2845,2437,2092,1787,2046,1877,1654,1770,2246,2396,2392,2573,2547,2292,1914,2029,2282,2250,2276,2446,2940,3149,3521,3426,3431,3424,3497,3493,3566,3356,2701,2182,2235,2142,1961,1745,1597,1983,1620,1293,1430,1657,1814,1500,1936,1863,1276,1728,1896,1455,1324,1365,1664,1814,1642,1571,1566,1504,1373,1422,1472,1365,1434,1522,1569,1663,1542,1687,2429,3143,3482,2528,1733,1684,1646,1489,1737,1975,1745,2265,2558,2293,2110,1824,1860,2320,2684,2343,1902,2371,2429,2573,2522,1865,1856,1673,1754,2019,2009,1804,2194,2519,2692,2879,3095,2589,2367,2979,3242,2254,1864,1486,1622,2010,2016,2000,1882,1653,1610,1491,1704,1903,2358,2670,2901,2784,2629,1944,1716,1759,1661,2008,2332,1853,1614,1922,2004,2306,2469,2403,2404,3002,3226,3000,2579,2289,2397,2222,1643,1849,2098,2177,2455,2569,2332,2218,1922,1776,2046,3094,3618,2619,2639,3361,3781,3398,2363,2348,3230,3510,3351,3253,2474,1871,2241,2456,2778,2741,3074,3200,2266,1839,1377,1713,2365,2557,2520,2222,1869,1677,1620,1542,1395,1283,1404,1499,1405,1512,1709,1638,1523,1369,1394,1655,1666,1697,1672,1606,2106,1906,1809,1710,1534,1883,2048,1414,1621,1808,1569,1507,1546,1721,1454,1408,1492,1476,1534,1483,1337,1292,1247,1443,1388,1510,1632,1380,1350,1366,1377,1401,1375,1315,1438,1431,1280,1368,1384,1348,1524,1693,1698,1824,1712,1711,1732,1649,1724,1709,1761,1854,1965,1841,1936,1860,1877,1858,2282,2691,2868,3451,3466,3172,3308,3292,3727,3938,3771,3460,3351,3110,3248,3906,3708,2811,2389,2673,2888,3408,3522,3087,3507,3362,3474,3224,3133,3398,3338,3329,3422,2964,2208,2585,2858,2403,2253,2079,1591,2009,2336,2221,2261,2226,2050,1765,1591,1576,1666,1483,1306,1541,2157,2941,2735,1883,2523,3021,2540,2236,2299,2510,2928,3152,3352,4179,3234,2326,2056,2154,2540,2538,2653,2611,2416,2366,2209,1882,1792,1742,1588,1505,1714,1970,1840,1652,2184,2312,1865,2424,2938,2690,3681,3462,3031,3124,2601,2625,3254,3442,3408,3009,2334,2095,2070,2367,2078,1741,1498,1548,1933,2255,2448,2733,2911,2721,2563,3156,2994,2911,2736,1924,1717,1901,1733,1519,1382,1737,1923,1250,576,861,1901,2328,1764,1990,2346,2311,1828,2253,2160,2066,2422,2387,2526,2307,1927,1914,2198,2325,2318,2050,2164,2254,2614,2829,2743,2567,2662,2691,2280,1808,2042,1828,1886,2394,2448,2244,2050,2098,2302,2197,1913,1611,1764,1835,2263,1950,2165,2096,2073,2268,2152,2237,2372,2214,2143,2162,2013,2253,2444,2577,2519,2277,1695,1762,2059,2605,2979,2298,1748,2029,2432,2504,2048,2017,2062,1999,1910,1876,1698,1790,1847,1799,1911,2150,1858,1972,1616,1143,1131,1798,1985,1531,1650,1992,2260,2476,2264,1345,2050,2627,1958,1797,1886,1579,1733,1129,530,629,811,1100,1549,2050,2033,1867,1944,1843,2003,1945,2217,1821,1768,2198,1858,1708,1816,2170,2874,3115,2480,1900,2049,2443,1968,2234,2089,1595,2070,2544,2065,1947,2070,1852,1838,1961,2260,2018,1807,1538,1086,1456,2252,2510,2429,1799,1707,2027,1988,1743,1595,1782,1975,1719,2115,2308,1825,1432,1366,1576,1764,1756,1654,1654,1900,2164,2825,2577,1768,1371,1300,1417,1399,1528,2002,1961,1645,1574,1400,1053,1118,1736,1732,1080,1312,1438,1229,1478,1664,1782,1836,2100,2078,2040,2392,2467,2374,2227,2208,2383,2424,2190,2106,1806,2046,2194,2232,2050,1823,1698,1722,1650,1582,1977,2243,1973,2013,2225,2103,1853,1838,2327,1880,1362,1332,1377,1118,1261,1808,2134,2026,1376,1435,1617,1626,2016,2023,1896,1850,1940,1975,1923,1812,1623,1362,1141,1909,2225,1620,1299,1462,2105,2309,2467,1990,1488,1882,2099,1911,1825,1564,2024,2216,1931,1693,1903,2038,2431,3304,3195,2460,2741,2945,2462,2212,1913,1888,1811,1648,1697,1763,1708,1870,2080,2014,1903,2180,2236,1920,1663,1681,1896,2067,2056,1910,1927,2054,1989,2161,2029,1790,1709,1473,1339,1434,1751,1584,1235,1173,1274,1336,1406,1395,1340,1202,1294,1309,1214,1454,1618,2042,1909,1321,1218,1567,1500,1177,1495,1754,1729,1549,1225,1215,1194,1347,1357,1416,1600,1356,1252,1270,1454,1658,1698,2224,1886,1780,1615,1814,1946,2486,2201,1910,2002,2262,2703,2465,1834,1764,1604,1742,1546,1727,1879,2030,1869,1842,1831,1722,1793,2326,2792,2596,2263,2079,2315,2336,2128,1914,1579,1405,1576,1539,1858,1992,1465,1621,1573,1540,1427,1569,1586,1651,1737,1738,1716,1513,1428,1599,1563,1491,1502,1565,1386,1312,1487,1787,1794,1636,1645,1920,1931,1550,1392,1267,1256,1253,1354,1256,1524,1809,2014,1724,1290,1400,1504,1427,1371,1699,1584,1425,1543,1508,1436,1352,1272,1602,1865,1874,1774,1451,1411,1416,1363,1391,1364,1560,1654,1444,1203,1202,1594,2171,2813,2001,1821,1907,1686,1259,1271,1367,1508,1639,1735,1759,1689,1812,1733,1324,1551,2535,2331,1953,1829,1768,1471,1613,2008,1684,1626,1812,1729,1679,1551,1630,1963,1642,1499,1737,1852,1580,1416,1372,1694,2038,1824,1876,2174,1918,1414,1456,2323,2924,2507,2189,1882,1300,1328,1563,1688,1459,1544,1583,1758,1680,1819,1978,1644,1462,1831,2232,1997,1869,2267,2578,1817,1815,1771,1740,1619,1510,1460,1477,1793,1896,1748,1702,1894,2118,1890,2116,2011,2316,2459,2314,2147,1812,1966,2141,1645,1626,2245,1998,1771,2030,2050,1780,1622,1786,1865,1852,1728,2434,2918,2449,2522,2555,2447,2457,2432,2238,2966,2646,1865,1758,1615,1642,2054,2298,2202,2951,3329,3803,3641,3312,3329,3564,3001,2160,2155,2303,1921,1914,1904,1737,1931,1918,1727,1962,2082,1885,2053,2824,3450,3488,2932,2897,2934,2949,2820,2454,2689,2234,1623,1519,1647,2016,2587,2540,1876,1870,1702,1670,1698,1792,1700,1405,1322,1446,1718,1791,2088,2636,2585,2449,2958,3178,2773,2879,2440,2779,2636,2071,2154,2500,2166,1753,1952,2057,2082,2527,2369,2312,2558,2564,2504,2774,3188,3704,3483,2802,2854,2866,2160,1606,1685,1948,1751,1603,1844,1858,1885,1907,1993,2227,1711,1831,1963,1705,1688,1504,1455,1540,1708,1638,1547,1936,2073,1703,1807,1771,1973,2674,2252,2359,2763,2752,2786,2884,2805,2562,2053,1975,2043,2234,2600,2809,3331,3194,2332,1894,2241,2723,2887,2701,2696,3124,2670,2334,2868,3194,3924,3227,2567,2515,2985,2796,1908,1858,2330,2224,2390,1860,1480,1749,1768,1777,1599,1772,1867,1828,1703,1949,2342,2078,1636,1694,1809,1936,2040,1891,1770,2208,2575,2514,2032,1930,1909,1891,2091,2415,2146,1758,1809,1750,1782,1588,1459,1737,2405,2784,2617,2296,2225,2025,1729,1416,1453,1860,2013,2042,1941,1999,1843,1785,1947,1990,2093,1810,1594,1524,1722,1503,1552,2058,2185,1986,2175,2008,1723,1629,1753,1542,1868,2788,2309,1828,1807,1990,2136,2228,2579,2420,2196,2368,2477,2614,3137,3399,2452,2171,2331,2448,2627,2433,2409,2359,2444,2608,2525,2512,2498,2130,1657,1720,1821,2558,2601,2104,1920,2004,1998,1728,2040,2508,2543,2852,3072,2417,1797,1928,1802,1460,1631,2074,2333,2298,1889,2094,2072,1952,1807,2120,1803,2113],[1908,1426,1623,1907,1738,1417,1752,2439,1986,1671,1737,1913,2415,2725,1836,2141,2337,2468,1772,1548,2525,2648,1888,1582,1892,2319,2097,1625,1732,1923,1488,1765,2261,1946,1840,2089,1747,2002,2214,2149,2848,3607,3255,2057,1669,2059,2090,2285,2431,2345,2566,2459,1754,1708,2137,2061,2160,2218,1883,1751,1974,2539,3155,3791,3174,2164,1911,1688,1646,1738,1682,1788,2099,2757,2987,3340,3083,2989,3218,3452,3562,3707,3633,3426,3096,2655,3122,2700,2510,2285,2720,3235,3195,2688,2512,2575,2706,2814,2864,2397,2529,2097,2014,2477,2779,2788,2495,2208,2210,2034,1874,2373,2756,2300,1761,2001,2254,1960,1976,1917,1951,1765,2121,2385,2796,3182,2811,2263,1982,1691,1664,1930,2122,2695,2675,2520,2219,2175,2589,3262,3395,2668,1852,1545,1964,2586,2775,2751,2688,2412,2324,2212,1830,2039,2062,2046,2485,2198,2190,2632,2430,2093,1899,2385,2526,2327,2093,2375,2375,1829,1762,2344,2978,2496,2514,2663,3437,3664,3056,2526,2496,2710,2542,2516,2811,2418,2656,3008,2215,1851,1844,1920,2286,2065,2196,2503,2356,2648,2951,2332,1670,1698,2303,3808,4046,2766,2353,2288,2194,2400,2540,2574,2313,2722,2944,3574,3276,2397,2394,2833,2790,2458,2746,3365,2963,1994,1899,2755,3006,3472,3725,2899,2905,2475,2209,2099,1943,2098,2420,2484,2938,3254,2927,2267,2310,2658,2094,1436,1615,2243,2508,2664,2226,1823,2488,2924,2940,2209,1532,1728,2004,1684,1947,1711,1420,1439,1817,1859,1601,1746,1954,1971,1843,1929,2042,1857,1915,1963,1877,1903,1821,1747,1739,1568,1258,1678,1920,1665,1756,2148,2166,2019,1937,1849,1649,1576,1545,1304,1159,1574,1714,1830,1516,1332,1353,1671,1762,1525,1476,1438,1311,1367,1399,1367,1419,1300,1337,1322,1354,1812,1728,1546,1667,1803,2319,2522,2069,1757,1651,1847,2654,2858,2286,2104,2308,2468,2154,1992,1915,1745,1528,1708,1665,1578,1307,1360,1567,1822,2094,1945,1713,1602,1738,1924,1867,1861,2569,3261,2400,1871,1559,1366,1626,1910,1874,1852,1885,2041,2056,2021,1719,1398,1366,1286,1408,1367,1372,1527,1568,1359,1436,1693,1685,1698,1709,2071,1668,1544,1658,1669,1734,2018,1749,1652,1866,1802,1536,1640,1750,1626,1581,1537,1939,2709,2555,2109,2186,3008,2454,1923,2131,1771,1585,1983,2192,2067,1861,1602,1739,2133,2451,2202,1641,1701,1780,1938,2366,2209,1950,2378,2691,2327,2127,1800,1718,1923,2422,2764,2238,1965,1966,1926,1957,1722,1670,1499,2321,2587,2170,1936,2519,2709,2336,2445,2559,2990,3152,3085,3473,3475,3437,3639,3466,2939,3003,3374,3486,3179,2280,1721,1723,1798,2138,1996,1876,1957,1693,1669,1610,1609,1480,1261,1505,1531,1331,1372,1315,1272,1343,1459,1836,1723,1478,1376,1436,1529,1418,1446,1473,1336,1510,1712,1653,2429,2266,2441,3144,4049,4300,3394,2248,1583,1528,1471,1572,2019,2427,2361,2380,2356,2214,1891,2076,2561,2647,2292,1974,2125,2040,1909,1730,1656,1529,1635,1859,2004,1967,1879,2037,1758,1923,2093,2230,2112,2735,3366,3088,2569,2164,1746,2165,2455,2069,2050,1937,1667,1761,1471,1441,1692,1829,1975,2247,2566,2808,2576,2214,1789,1734,2262,2814,2059,2165,2535,2055,2279,2880,2930,3188,3470,3043,2249,2104,2562,3010,2382,2096,1950,2099,2063,2239,2262,2123,2143,1996,1800,1872,2665,2995,2679,2643,3049,3325,2372,1737,2187,3091,3521,3422,3378,2842,1918,2024,2408,2952,2877,2812,2466,2068,1904,1777,1989,2023,1896,1831,1622,1682,1535,1560,1719,1437,1343,1385,1515,1556,1649,1780,1605,1283,1192,1409,1459,1457,1511,1754,1860,1841,1880,1903,1649,1527,1432,1552,1401,1590,1729,1849,1722,1638,1728,1495,1431,1573,1626,1722,1432,1253,1357,1373,1387,1278,1404,1404,1385,1390,1303,1291,1384,1360,1406,1466,1386,1297,1497,1541,1587,1617,1714,1919,2017,1681,1606,1690,1763,2360,2333,2548,2624,2662,2753,2945,3064,2585,2128,2837,2946,2934,3693,3382,2752,2621,3303,3460,3297,3216,3138,2867,2905,3282,3661,3167,2214,2427,3458,3563,3860,4052,3983,4143,4094,3897,3632,3459,3304,3063,3089,3253,3098,2497,2321,2081,1991,2118,1822,1778,2385,2541,2510,2223,2127,1503,1421,1520,1886,1765,1736,1792,1764,2599,3221,2532,2172,2508,2724,2585,2522,2462,2570,2459,2703,2770,3087,2743,2452,2322,2403,2579,2867,2942,2589,2226,2178,1946,1865,1934,1623,1478,1562,1824,2125,2325,2491,2734,2127,2059,2277,2030,2854,3831,3321,3232,3496,3328,3357,3409,3322,3140,2617,2239,2124,2264,2757,2524,2029,1526,1707,2361,2296,2374,2845,3331,3135,2736,2979,2587,2695,2450,1719,1887,2004,1862,1675,1533,1887,1921,1460,1013,1294,2070,2288,2013,2358,2409,2282,2096,2198,2174,2140,1749,1712,2386,2951,2604,2177,2002,2126,2053,2054,2154,2416,2732,2530,2310,2393,2129,1824,1570,1288,1615,1657,2428,2420,1880,1866,1687,2042,2104,1875,2186,2121,1795,2008,2040,1756,2165,2382,2395,2347,2089,1923,1951,1974,2261,1984,1979,1876,1677,1741,1901,1935,1833,1990,2316,2625,2337,1713,1614,1391,1713,1901,1849,1667,1690,1890,1771,1794,1774,1800,2156,2216,2126,2143,2065,1971,1557,1214,1296,1743,1788,1677,1786,2058,1865,2250,2636,2288,2588,3157,2854,2250,2128,2260,2236,1506,937,918,948,993,1007,1332,1936,1707,1874,1964,1920,1885,1879,1716,1831,2123,2042,1951,1767,1591,1879,2230,2227,2303,2522,2048,2016,2076,1467,1506,1901,1788,1271,1237,1137,1368,1863,2004,2308,2109,1881,1714,1500,1507,1437,1594,1831,1788,1614,2087,2093,1835,1713,2003,1850,1883,3011,3336,2535,1583,1541,1599,1678,1826,1738,1707,1887,1793,2081,2053,1725,1469,1253,1298,1302,1129,1431,1847,1658,1550,1349,962,1020,1446,1439,1409,1535,1585,937,1080,1652,2310,2902,2658,2215,2107,2326,2523,2414,2298,2290,2277,2205,2185,1838,1555,1962,2229,2230,2292,2119,1951,2020,1786,1839,2387,2444,2177,1831,2097,2184,2062,2005,1996,1797,1558,1474,1328,1130,1297,1828,1934,1699,1408,1766,1858,1643,1638,1839,1976,1947,2073,1941,1899,2078,1806,1709,1732,2085,1711,1792,1643,2000,2536,2291,2079,1642,1675,2546,2378,1745,1370,1828,2228,1859,1624,1775,2342,2653,2899,3658,3648,3129,3121,2994,2757,2653,2262,2099,2036,1943,1820,1805,1717,1748,1956,1952,1994,2470,2340,2120,2071,1810,1996,2208,2045,1900,2055,2368,2341,2150,1908,1838,1459,1181,1371,1498,1694,1617,1206,1166,1447,1453,1287,1231,1417,1305,1220,1440,1412,1445,1519,1860,1880,1639,1467,1533,1464,1154,1440,1754,1809,1754,1356,1119,1147,1279,1285,1387,1514,1418,1321,1308,1507,1659,1960,2317,2459,2480,2066,2062,2071,1918,1946,2122,2196,2302,2322,2082,1915,1974,1915,1899,1786,1803,1964,2236,2579,2814,2654,2324,1930,2259,2114,1990,2046,2138,2406,2057,1637,1796,1698,1431,1311,1538,2241,2056,1631,2112,1795,1359,1540,1629,1559,1776,1921,1725,1609,1404,1578,1723,1727,1700,1459,1418,1320,1386,1559,1682,1708,1714,1596,1675,1884,1572,1281,1380,1388,1426,1450,1331,1473,1643,1492,1346,1643,1585,1520,1505,1405,1289,1256,1330,1883,1874,1445,1337,1396,1817,1853,1774,1846,1499,1489,1415,1421,1315,1322,1591,1659,1477,1171,1324,1678,1627,1780,1766,1781,1791,1870,1478,1214,1237,1318,1422,1553,1683,1774,1754,1711,1334,1472,2304,2194,1949,2083,2552,2486,2168,1957,1451,1519,1498,1455,1638,1377,1592,2014,1752,1411,1418,1440,1442,1337,1469,2093,2075,1810,1671,1789,1548,1498,1486,2078,2995,3135,2703,1891,1165,1443,1871,1839,1443,1394,1374,1333,1471,1781,1679,1547,1732,1986,1968,1832,2120,2099,2094,1707,1859,2130,1794,1330,1351,1431,1462,1478,1627,1716,1844,2244,2148,1712,1693,2076,2514,2609,2358,2009,1723,2020,2069,1800,1790,2370,2113,1816,1844,1902,1736,1624,1499,1671,2019,2381,2986,2645,2143,2279,2475,2165,2148,2532,2734,2647,2047,2078,2150,1866,1796,2105,2085,2159,3108,3760,3793,3698,3682,3803,3938,3367,2508,2151,2459,2226,2358,2214,1881,1792,1636,1516,1766,2110,2031,2126,2753,3137,3352,2940,3064,2931,3128,2420,1831,1801,1663,1540,1551,1948,2657,2509,2329,2041,1627,1541,1359,1274,1494,1673,1762,1659,1569,1752,1894,2305,2599,2172,2113,2510,2737,2630,2063,1952,2514,2679,2533,2335,2580,2476,2387,2474,2255,2431,2552,2551,2454,2557,2495,2475,2795,3208,3750,3275,2155,1716,1741,1737,1772,1676,1769,1847,1726,1662,1646,1784,1900,2072,1580,1550,1875,1990,1706,1597,1556,1534,1650,1845,1640,1596,1737,2077,1697,1878,1904,2104,2605,2312,2402,2638,2455,2877,3493,3312,2656,2199,2037,1775,1882,2272,2464,2896,3094,2623,2409,2730,3029,3162,3042,3006,2756,2190,2548,2673,3063,3537,3211,2607,2117,2099,1985,1898,1961,2243,2017,2411,2337,1999,1894,1856,1772,1696,1634,1548,1611,1791,1828,1910,1884,1963,1954,2087,1938,2199,2110,2223,2567,2587,2383,1768,1797,1932,1892,2039,2216,1903,1948,1821,1794,1726,1543,1552,1837,2459,2739,2913,2674,2365,1753,1757,1769,1731,2140,2213,1907,2100,2267,2045,2026,1901,2231,2199,1822,1756,1665,1597,1584,1680,1650,1589,1781,1797,1824,1832,1598,1723,1802,1981,3090,2946,2446,2652,2844,2676,2578,2308,2104,2017,2381,2641,2523,2939,3188,2669,2532,2700,2845,2603,2236,2499,2708,2355,2436,2685,2449,2154,2058,2084,2143,2225,2468,2095,1625,1875,2072,2083,1658,2180,2374,2663,2617,3008,2504,1974,2485,2518,1820,1658,1787,2195,2471,1950,2171,2102,2173,2126,1889,1753,2182],[2338,1952,1910,2016,1910,1459,1703,1718,1448,1572,1601,1422,1707,1977,1546,1784,2719,3304,2190,1953,2788,2604,1887,1669,2005,2721,2078,1749,1884,2078,1640,1702,1776,1985,2451,2211,1891,2314,2427,2293,2955,3360,3194,2092,1852,2054,2116,2194,2326,2388,2340,2029,1731,1663,1854,1730,2014,1797,1736,1615,1636,1879,2558,3464,2954,2097,2004,1783,1763,1856,1768,1875,2209,2867,3313,3485,3084,3054,3296,3386,3462,3384,3426,3466,3318,2422,2624,2429,1976,2019,2065,2425,2654,2587,2652,2837,2886,2996,3334,2840,2819,2109,2197,2438,2378,2770,2633,2485,2438,1923,2320,2939,2416,1952,1749,1781,2305,2432,2354,2996,2946,2346,2511,2749,3450,3248,2720,2337,2532,2578,2221,2576,2850,2888,2866,2799,2633,2110,2164,2751,2958,2942,2820,2669,2565,2850,2756,2467,2518,2127,2047,2199,1866,1636,1750,2107,1866,1877,1870,1864,2008,2043,1932,2002,2213,2061,1990,2530,2378,2338,2588,2969,3019,2956,3029,2821,3421,3667,2941,2623,2545,2871,2893,3241,3413,3517,3842,3294,2404,2062,1758,2041,2383,2497,2405,2194,1740,1817,1838,1625,1511,1562,1986,2958,3310,2517,2547,2836,2885,2933,2242,2113,2554,2924,3256,3575,3062,2974,3054,3038,2667,2399,3062,3388,2477,2141,2567,2673,3076,3257,3118,2667,2900,2546,2064,2080,1969,1965,2492,2582,2835,3495,3011,2193,1513,1584,1947,1698,1595,1821,2294,2941,2798,2374,2675,2521,2230,1835,1499,2000,2066,1822,1943,1914,1742,1742,1857,1857,1879,1886,1898,1884,1838,1710,1781,1940,1934,1863,1860,1769,1726,1662,1667,1654,1795,2122,1963,1345,1653,2302,2074,1836,1886,1614,1453,1370,1309,1288,1776,2070,1704,1745,1500,1362,1334,1538,1784,1676,1485,1426,1326,1297,1323,1436,1719,1527,1332,1420,1588,2062,1918,1802,1898,1991,2447,2248,1782,1625,1829,1924,2153,2491,2228,1912,1947,1998,2131,1998,1666,1637,1882,1942,1609,1734,1647,1552,1844,2073,1630,1466,1548,1487,1511,1703,1998,1983,2675,3399,2364,1753,1671,1484,1387,1509,1525,1688,2187,2116,1826,1490,1484,1354,1404,1373,1483,1584,2009,1772,1402,1383,1795,1893,1407,1566,1961,2526,1975,1436,1641,1924,1898,1835,1834,1710,1704,1816,1683,1527,1444,1628,1625,1747,2158,2578,2425,1785,2008,2730,2078,1680,2041,2042,1544,1538,1420,1560,1678,1597,1594,1873,2421,2272,1702,1697,1785,2225,1806,1922,2174,2081,1953,1708,1822,2078,2275,1975,1616,1973,2138,2011,1966,2350,2337,1763,1754,1670,2439,2558,2356,2286,2428,2301,1958,2489,2629,3203,3535,3252,3516,3488,3134,3439,3217,2152,2015,2630,2756,2387,1893,1734,2014,2007,1907,1878,1924,1940,1993,1902,1679,1599,1458,1501,1491,1357,1336,1253,1256,1242,1302,1444,1580,1435,1347,1450,1581,1669,1336,1313,1427,1360,1614,1805,2197,3375,3307,3077,3902,4412,4168,3562,2705,1852,1750,1515,1436,2592,2797,2058,2133,2334,2216,2003,1974,1958,1641,1555,1885,1691,1969,1758,1802,1580,1589,1999,2098,2322,2236,2152,2248,1743,1976,2176,2164,1926,1921,2150,2167,2064,2076,2155,2322,2300,1968,1899,1915,1977,1625,1490,1562,1678,1779,1884,2464,3234,3243,2880,1982,1852,1720,1714,1968,1604,2028,2497,2352,2081,2096,2673,3042,2858,2176,1860,1662,2144,3188,3069,2522,2070,2183,2292,2222,2193,2156,2076,2101,2048,1927,2368,2968,3550,3309,2796,2370,1948,1763,2180,2908,3398,3335,3391,3077,2286,1954,2263,2820,2799,2224,2002,2356,2255,1928,2172,1754,1443,1418,1601,1780,1789,1859,1945,1726,1489,1464,1375,1346,1481,1740,1668,1570,1642,1668,1609,1519,1598,1807,1941,1766,1860,2136,1842,1604,1421,1598,1521,1401,1462,1722,1615,1673,1915,1689,1422,1362,1456,1628,1465,1487,1507,1452,1368,1394,1377,1352,1391,1372,1277,1277,1386,1377,1452,1426,1571,1724,1698,1796,1909,1990,2165,2445,2400,1919,1793,1980,3086,4093,4164,4160,4073,4145,4352,4416,4163,3033,2312,2797,2264,2682,2885,2599,2289,2492,3372,3624,3410,3436,3333,3106,3110,2889,3252,2918,2624,2759,3872,3926,4193,4520,3761,3632,4124,3916,3654,3741,3772,3583,3466,3096,2927,2632,1782,1736,2341,2414,1944,2118,2732,3019,3268,2765,2178,1841,1698,1704,1932,1980,1935,2119,2302,2658,3069,2714,2701,2767,2790,2797,3119,2388,2255,2121,2204,2040,2109,2438,2702,2861,2885,2907,3082,2771,2105,2369,2742,2241,2189,2019,1688,1598,1659,1853,2379,3308,3332,3342,2280,2186,2035,1994,2825,3287,3033,2818,2651,2823,2951,2755,2551,2398,2274,2268,2310,2410,2597,2371,1871,1401,1835,2425,2068,2344,2799,3080,2758,2864,2785,2289,2482,2071,1713,2030,1950,1745,1602,1626,2191,1739,1654,1691,1805,1981,1725,2676,3372,2625,2271,2257,2388,2285,2919,1655,1286,2064,3047,2564,2215,2037,2112,2041,1896,2041,2104,2064,1985,2430,2438,1658,1545,1504,1619,1735,1719,2482,2406,1565,1616,1640,1873,1438,1536,2137,1882,1341,1700,1958,1613,2046,3117,3387,2998,1912,1536,1773,1719,1967,1809,1774,2123,2460,2288,2104,2023,2078,2618,2530,1984,1577,1314,1476,1351,1732,1910,2076,2087,2266,2086,1407,1882,2322,2031,2105,2359,2757,2786,2272,2076,1930,1692,1502,1529,1722,1931,2008,2092,1954,2205,2432,2058,2023,2351,2370,1956,2115,2712,2535,1945,1610,1387,1324,1177,1056,1014,1257,1308,1506,1914,2164,2039,1925,1814,1864,2182,2100,2151,1648,1776,1716,1648,2270,2813,2461,2029,2210,1555,1361,1980,1938,1354,1639,1843,1686,1752,1722,1875,2405,2270,1855,1714,1642,1617,1558,1485,1635,1983,1830,2053,1641,1697,2078,1802,1602,1707,2710,3343,2530,2035,1805,1577,1702,1748,1578,1604,1689,1681,1750,1711,1814,1713,1393,1409,1361,1184,1224,1660,1939,1946,1650,1366,1410,1285,1236,1743,1538,1657,1150,1321,2055,2646,3150,2846,2166,1673,1516,1929,2308,2238,2322,2222,2136,2264,2062,1849,2047,2283,2228,2278,2208,2208,2335,2373,2365,2365,2235,2309,2115,2098,2155,2010,1905,1950,1820,1847,1896,1606,1336,1443,1638,1740,1578,1670,1785,1782,1837,1621,1246,1226,1781,2408,2162,2042,2194,2420,2588,2143,1703,1791,1688,1680,2442,2679,2397,2596,2518,2345,2524,1842,1565,1591,1925,1886,1499,1686,2442,3084,3143,3224,3406,3263,3169,2879,2621,2497,2338,2049,1769,1980,2115,1675,1696,1770,1626,1560,1686,2193,2569,2676,2492,2195,1916,2271,2598,2278,2012,1944,1868,1767,1952,2086,1941,1612,1706,1843,1731,1804,1792,1428,1217,1660,1665,1415,1271,1395,1314,1315,1671,1650,1594,1643,1793,1935,1860,1787,1737,1609,1410,1793,2038,1953,1912,1791,1713,1638,1560,1564,1676,1688,1626,1657,1680,1685,1840,1900,1854,1874,1894,1886,1929,1837,1719,1709,1606,1814,1843,1801,1809,1875,1971,2020,2161,2392,2701,3018,3098,3121,2950,2785,2591,1900,1681,1736,2162,1901,1664,2029,1986,1722,1632,1316,1225,1399,1925,1929,1699,1569,2054,1713,1315,1548,1619,1565,1879,1879,1502,1572,1591,1594,1709,1601,1452,1520,1764,1682,1499,1656,1671,1896,1866,1803,1892,1880,1572,1360,1404,1310,1334,1494,1418,1274,1327,1405,1832,2015,1651,1596,1532,1433,1322,1273,1267,1454,1643,1530,1361,1417,1478,1418,1598,1753,1864,1854,1692,1387,1183,1237,1398,1524,1371,1330,1679,1787,1645,1400,1579,1657,1723,1812,1544,1332,1332,1325,1439,1506,1780,1807,1620,1676,1487,1440,1429,1541,1845,2199,2604,2381,1685,1089,1480,1575,1416,1512,1622,1430,1866,2219,1645,1299,1705,1954,2236,2238,1908,1782,1897,2188,2214,2034,1740,1535,1553,1766,2186,2722,2645,1735,1669,1886,1960,1639,1396,1520,1543,1373,1545,1736,1520,1657,1980,2355,1444,1455,1779,1621,1611,1523,1677,1859,1585,1395,1491,1658,1568,1427,1494,1530,1630,1844,2108,2221,2148,2260,2569,2406,2259,2200,2222,2200,1896,2165,2175,2223,2128,1690,1609,1782,1953,1807,1466,1691,1883,2225,2785,2486,2292,2018,2010,1766,1785,2011,2056,2032,1728,2084,2136,1829,2065,2311,2094,2157,2809,3365,3310,3083,3544,4048,4068,3039,2250,2071,2847,2448,2438,2396,1886,1657,1638,1355,1614,2323,2618,2714,2850,2652,2498,2631,3487,3499,2941,1975,1551,1617,1650,1781,1766,2300,2820,2054,1791,1751,1700,1664,1367,1382,1597,1735,1941,1889,1635,1924,2117,2229,2305,2022,1868,2053,2187,2115,1960,1856,1793,2454,3067,2901,2632,2696,2903,2578,2201,2332,2566,2708,2392,2414,2612,2898,3211,3248,3305,3029,2516,1692,1696,1904,1712,1656,1954,1919,1633,1547,1611,1794,1616,1820,1582,1535,1732,1710,1603,1715,1871,1791,1609,1621,1498,1710,1916,2587,2130,1733,1862,1858,1792,1723,2063,2496,2357,2516,3035,2901,2325,2160,2291,2021,2056,2021,1959,2445,2853,2916,2901,2951,3041,3138,3240,3168,2734,2529,2176,1886,2662,3433,3676,3184,2236,2367,2419,1801,2144,2837,2664,2431,2416,2215,1939,2063,2230,1885,1719,1632,1802,2019,2148,2220,2498,2863,2419,2105,2043,2404,2308,2340,2292,2251,2074,1793,1686,1550,1392,1823,2057,1935,1678,1670,1808,1693,1889,2186,2160,2436,2546,2974,3157,2517,2114,2180,2138,1711,1866,2065,2047,2442,2687,2308,2029,1582,1824,1853,1765,1926,1667,1577,1858,2001,1937,1612,1560,1657,1845,1983,1987,1635,1730,1854,2094,2340,2480,2728,2676,2530,2806,2318,2308,2304,2657,2577,2499,2720,2928,3003,3097,2992,2696,2757,2550,2634,2262,1769,2356,2547,1925,1526,1537,1552,2018,2246,1888,1652,1644,1682,1933,2198,1898,2031,1819,2080,2664,2798,2244,2119,2257,2008,1641,1750,1985,2252,2368,2126,2268,2065,2069,2182,1862,1888,2260],[2099,2144,2299,2758,2405,1722,2010,2066,1804,1743,1759,1792,1643,1665,1731,1713,2235,2413,2180,2398,3086,3121,2239,2295,2928,2780,1955,1814,1767,1878,1765,1731,1809,1960,2067,1846,1587,1897,1969,2171,2630,2291,2037,1729,1927,1991,2048,2309,2424,2489,2189,2254,2224,1686,1563,1550,1842,2008,1906,1742,1811,1946,2541,3296,2449,2025,1930,1988,1933,1940,1969,2116,2217,2307,2865,3107,2940,3055,3083,3102,3306,3328,3291,3260,3130,2459,2898,3051,2760,2731,2793,2384,1996,2330,2604,2880,2829,2940,3462,3853,3400,2739,2872,2612,2411,2732,2550,2827,2588,2125,2522,2648,2108,1905,1812,1782,2222,2729,3190,3908,3806,3362,2895,2946,3223,2496,2519,2545,2564,2144,2248,2596,2588,2687,2612,2599,2733,2109,2092,2542,2298,2897,2878,2896,3054,3136,2956,2707,2330,2115,2052,2038,2356,1835,1814,2357,2129,1991,1859,1622,1720,1758,1591,1655,2059,2409,2664,2733,2521,2868,3267,3250,3140,3307,3066,2703,3221,3613,2762,2733,2601,2745,2801,3097,3018,3665,4057,3243,2759,2596,2160,2130,1945,2385,2454,1850,1299,1612,1603,1602,1405,1378,1710,1933,1985,2023,2173,2602,3296,2841,2460,2475,2592,3011,3429,3334,3056,3062,2902,2603,2536,3075,3207,3351,3068,3332,3395,3185,3360,3385,3042,2968,2917,2643,2747,2509,1994,2105,2203,2521,3305,3741,3271,2517,1808,2249,2856,2558,1872,1528,1959,2832,2598,2288,2156,1902,1716,1773,1705,1853,1910,1857,1908,1885,1824,1772,1776,2141,2047,1837,1872,2343,2325,2048,1830,2188,2338,1865,1874,1987,2159,2191,2363,2029,2587,2623,1960,1368,1574,2023,1846,1825,1796,1488,1573,1346,1365,1384,1642,1791,1738,1516,1490,1462,1340,1576,1800,1623,1522,1439,1456,1449,1328,1396,1662,1585,1429,1515,1725,1851,2024,2880,3339,3122,2939,1988,1871,2116,2230,1813,1777,2339,2476,2219,2443,2662,2424,2382,2584,2599,2333,2087,1877,1672,1639,1565,2025,2061,1476,1467,1559,1541,1518,1432,1672,2086,2749,2954,2335,1818,1746,1601,1506,1580,1601,1759,2166,1686,1670,1561,1500,1338,1541,1523,1381,1842,2248,1537,1405,1277,1532,1784,1655,1729,2050,2475,2093,1509,1898,2423,2032,1655,2165,2150,1729,1779,1780,1517,1461,1493,1702,1830,2026,2031,1991,1954,2519,2922,1778,1632,2194,1902,1598,1418,1428,1654,1788,1767,1677,1870,2539,2153,1746,1721,1541,1972,1672,2151,2733,2279,1895,1799,2165,2770,2828,2210,1627,1772,2224,2162,2014,1791,1798,1846,2042,1865,1803,1915,2083,2463,2182,1809,1523,1723,2553,3222,3573,3472,3454,3357,3143,3162,3045,2231,1434,1503,1932,1820,1670,1946,2139,1888,1793,1837,1899,2041,2103,1694,1701,1685,1632,1783,1736,1523,1527,1266,1440,1447,1255,1389,1638,1449,1373,1618,2014,2143,1642,1739,1728,1609,1563,1367,1755,2750,3264,3718,4300,4372,3988,3175,2578,2206,1526,1229,1687,2330,1863,1669,1927,2142,2029,1881,1831,1591,1895,2289,2374,2180,2083,1836,2120,2330,2027,1862,1700,2037,2196,2498,2272,1766,1844,2233,2217,2211,2467,2529,2076,1729,1730,1642,1687,1733,1568,1682,1823,2006,1766,1444,1486,1775,1879,2116,2654,2966,2955,2600,1796,1769,1755,1653,1573,1399,1541,2119,2661,2854,2873,3121,2890,2286,2119,2464,1877,1548,2316,2585,2395,2325,2201,1884,2306,2778,2277,1984,1920,2136,2263,2146,2590,3195,3025,2222,1858,1956,1728,1857,2486,3316,3386,3441,3400,2967,2206,2061,2497,2401,2042,2337,2821,2637,1796,1521,1478,2062,2872,3162,3211,3260,3375,3481,2911,1942,2019,2183,1798,1609,1628,1655,1696,1842,1855,1623,1340,1487,1979,2103,1982,1813,2238,1960,1683,1735,2003,1615,1284,1522,1791,1646,1670,2001,1676,1481,1460,1388,1394,1337,1432,1448,1390,1465,1419,1354,1519,1490,1461,1413,1364,1366,1394,1644,1696,1906,2060,1835,1864,2294,2633,2581,2553,2454,1915,1946,2425,3805,4541,4645,4645,4529,4410,4356,4497,4296,2843,2198,2583,2152,2921,2764,2473,2447,2490,3084,3528,3234,3553,3100,2687,2822,2544,2885,2798,2909,3228,3586,3507,3548,3351,2876,3207,3514,3586,3566,3304,3463,3368,3165,3118,3406,3157,2257,1905,2326,2244,1914,2138,2248,2505,2744,2763,2193,1948,2001,2109,2073,1892,1901,2329,2333,1849,2575,2439,2387,2686,2493,2511,2889,2556,1790,1833,2159,1816,1918,1796,2127,2292,2509,2723,2876,2130,1565,1987,2222,2438,2460,2067,1610,1449,1501,1875,2531,3730,3963,3826,3022,2003,1290,1580,2380,3007,3108,2618,2438,2696,2596,2335,2322,2149,2108,2088,2114,2198,2113,2046,1949,1865,2162,2453,1922,1977,1648,1767,1752,2258,2228,2120,2243,1943,1812,2093,1784,1499,1546,1671,1973,1770,1947,2189,2375,1748,1027,2202,3067,2278,2115,2136,2072,2118,3384,2378,1745,2489,2185,1601,2100,2089,1916,1627,1590,1939,2129,2075,1875,2589,2734,1876,1458,1451,1591,1772,1997,2615,2452,1723,1626,1445,1559,1534,1447,1684,1494,1373,1685,2075,2115,2438,3261,3500,3104,1271,887,1086,1015,1154,1446,1664,2316,2899,2781,2719,2303,1758,2048,2076,1932,1637,1752,2135,2331,2614,2470,2449,2771,2665,1971,1459,2396,2438,2231,1880,1675,1960,2184,2161,2140,2105,2078,2086,1963,1747,2280,2525,2367,2143,2054,1826,1970,2101,2099,2095,1546,1807,2630,2191,1206,1078,1573,1737,1862,1470,1180,1411,1499,1435,1563,1413,1612,1875,1959,1726,1849,2034,1964,1850,2071,1904,2080,2566,2664,1967,2259,2136,1326,1671,1973,2254,1973,2116,2308,2151,1897,1697,2045,2663,2477,1894,1781,1660,1814,1660,1594,1793,1892,1858,1946,1621,1945,2579,2293,1888,1691,1975,2321,1699,1710,1697,1713,1825,1638,1296,1443,1645,1656,1755,1969,1762,1656,1499,1467,1483,1344,1292,1578,1910,1934,1788,1590,1401,1076,1184,1383,1407,1627,1328,1181,1699,2436,3139,3021,2141,1180,667,986,1696,1971,2081,2140,2042,2127,2048,1841,2100,2377,2322,2190,2029,2054,2378,2429,2257,1948,1974,1976,2162,2227,1969,1647,1851,2097,1956,1979,2064,1866,1666,1658,1643,1747,1896,1764,1453,1642,1867,1796,1681,1600,1814,2286,2049,2162,2150,2570,2518,1874,2161,2047,1393,2035,2420,2595,2363,2802,2701,2308,1783,1430,1725,2029,1890,1537,1435,1951,2503,3068,3128,2873,2469,2235,2503,2603,2776,2696,2025,1416,1253,1580,1859,1433,1605,1827,1750,1855,1853,1877,1933,1937,1965,1866,1775,1874,1891,1785,1798,1771,1776,1939,2332,2389,2089,1951,2103,2057,2079,2305,2230,1798,1544,1665,1744,1722,1598,1583,1666,1632,1673,1707,1681,1743,1819,1825,1820,1874,1832,1781,1572,1673,1829,1830,1747,1624,1749,1931,1819,1702,1904,1961,1962,2020,1992,1843,1868,1892,1909,1974,2007,2056,2019,2005,2098,2141,1955,2136,2162,2197,2316,2641,2945,2928,2943,2844,2696,2663,2369,2227,2696,2890,2531,1911,1767,2519,3034,2368,1777,1659,1989,2356,1716,1286,1333,1510,1811,1980,1641,1505,1630,1453,1394,1512,1587,1651,1747,1605,1561,1610,1629,1547,1669,1608,1698,1990,1816,1546,1581,1959,1746,1963,2414,2880,2507,2044,1749,1361,1208,1266,1477,1772,1511,1334,1385,1354,1214,1463,1474,1527,1588,1428,1296,1276,1354,1320,1566,1637,1422,1383,1447,1443,1633,1969,1966,1946,1817,1367,1313,1651,1762,1958,1553,1369,1670,1862,1901,1576,1389,1621,1967,1835,1797,1652,1274,1282,1522,1501,1820,1675,1587,1765,1717,1511,1454,1744,1970,2074,1830,1743,1439,1204,1097,888,1150,1586,1784,1993,2237,2020,1358,1351,1829,2021,2920,2762,1859,2097,2034,1795,1829,1724,1705,1687,1825,1969,2083,1939,1760,1779,1947,1991,1728,1436,1522,1711,1443,1377,1577,1779,1914,1886,1824,1725,1197,1164,1390,1508,1597,1561,1737,1768,1605,1569,1622,1662,1512,1495,1413,1433,1474,1585,1788,2059,2199,2345,2623,2142,2470,2452,2520,1980,1685,2018,1626,1690,2007,1815,1869,1876,2031,1605,1745,1827,1901,1819,1909,2106,2240,2009,1787,1612,1610,1638,1773,1967,1902,1659,1542,1749,2167,2100,1836,2115,2326,2512,2713,2945,3053,3591,4014,3540,3251,3299,3218,2321,1871,1705,1636,1810,1566,1404,2231,2732,2944,3090,3104,2887,2434,2895,3742,3272,2186,1707,1540,1653,1717,1866,1601,1895,2149,1923,1709,1713,1861,1903,1732,1548,1600,1555,1616,1416,1677,2324,2446,2085,1888,1802,1889,1914,1853,2004,2128,2138,2119,2802,2699,2699,2254,2264,2904,2830,2327,2173,2254,2643,2340,2402,2620,3031,2694,2553,3071,3020,2353,1737,2062,2221,1823,1941,2101,1810,1814,1632,1578,1647,1567,1670,1579,1558,1712,1716,1966,2349,2014,1637,1557,1678,1661,1754,2156,3096,2603,1928,1882,1588,1366,1474,1900,2284,2221,2264,2525,2730,2220,2270,2354,1862,1790,1762,1627,1820,2510,3189,3513,3532,3145,3288,3321,2988,2813,2619,2048,2401,3304,3415,3165,2966,3064,3168,3183,1875,2098,2728,2627,2482,2450,2503,2784,3079,2744,1560,1220,1476,1831,2099,2214,1901,2074,2343,2114,1730,1748,2145,2115,2321,2008,2241,2010,2039,2085,1897,1663,1766,2018,2075,1794,1511,1636,1642,1782,1814,2106,1883,1722,1969,2576,2534,2277,1929,1942,1944,1907,1796,2149,2013,2284,2154,1747,1799,2008,1731,2006,2390,1938,1923,2252,1958,1917,1664,1616,1692,2043,2424,2436,1810,1685,1676,1627,1669,1589,1661,1709,1900,2556,2805,2766,2288,2250,2530,2556,2487,2709,2953,3348,3570,3084,3039,3016,2913,1996,2031,2623,2046,1410,1680,2024,1771,1809,1669,1452,1364,1583,1528,1710,1715,1629,1665,1545,1682,2063,1962,1715,2055,1911,1921,1831,1919,2002,2411,2394,2093,2113,1876,1995,2260,2045,1910,2024],[2150,2081,2492,2953,2310,1601,2220,2259,2383,2309,2408,2488,2048,2225,2178,2049,2164,2204,1908,1662,2078,2765,2408,2257,2373,1919,1503,1716,1728,1713,1903,2192,2250,1854,1636,1478,1462,1646,2043,2001,2198,1929,1795,1741,1722,1857,2024,2419,2585,2575,2817,2499,2316,1863,1552,1604,2243,2603,2442,2463,2408,2642,2691,2939,2201,2098,2067,2122,2128,2105,2209,2424,2341,2409,2915,3056,3044,3164,3184,3206,3198,3466,3632,3261,2762,2589,3151,3684,3440,3553,3377,2623,2684,2877,3012,2370,1538,2398,3958,4094,3616,3381,3165,3140,3265,2852,2956,3016,2116,2072,2438,2715,2270,1868,1687,1558,1913,2610,3442,3603,3394,3278,2986,2770,2301,2379,2728,2347,2329,2593,2281,2024,2139,2056,2048,2287,2451,2501,2504,2673,2286,2530,3038,3542,3356,3011,2773,2622,2448,2269,2054,2019,2224,2091,2250,2832,2686,1953,1607,1766,2093,1832,1683,1750,2072,2275,2586,2791,2856,2873,3197,3265,3250,3310,3140,3064,3439,3359,2902,2978,3099,2821,2850,2923,2934,3395,3774,3309,2482,2798,2843,2473,2464,2358,2094,1561,1122,1579,1620,1686,1832,1808,1890,1785,1758,2018,2604,2857,2906,2561,2252,2370,2302,2526,2834,3044,3426,3242,2641,2447,2876,3151,2908,3088,2820,2527,2240,2469,2919,2770,3289,3162,2669,2755,3111,2510,2788,2895,2345,2628,3307,3362,2983,2621,2940,3223,2996,2714,1808,1505,1852,2769,2472,1916,1605,1555,1671,1894,1884,1794,1808,1770,1715,1738,1656,1648,1715,2329,2124,1798,1824,2355,2100,1891,2181,2952,2798,1570,1633,1787,2118,2964,3018,2279,2038,1924,1778,1571,1615,1666,1546,1521,1554,1421,1581,1544,1294,1494,1722,1570,1509,1360,1310,1422,1559,1746,1669,1630,1535,1580,1541,1708,1516,1407,1560,1539,1436,1591,1935,1879,1951,2674,2417,2976,2966,2028,1669,2031,2164,1838,2014,2819,2818,2530,2478,2234,2621,3139,3045,3064,2522,2115,2083,1717,1864,2556,2702,2219,1632,1569,1991,2245,1808,1524,1888,2706,2894,2831,2668,2142,1659,1659,1450,1565,1720,1778,1952,1899,1934,1971,1657,1627,1572,1583,1625,1967,2316,1838,1686,1479,1605,1549,1749,1795,1662,2092,2123,1965,2249,2008,2000,1983,2241,2061,2066,1960,1796,1876,1986,1859,1770,1765,1732,1912,2386,2508,2470,2194,1543,1879,2245,2043,1665,1566,2026,2221,2409,2574,2180,1721,2565,2298,1965,1765,1606,1995,2088,2624,3206,2631,2020,2051,2315,2333,1870,1574,1865,1804,1896,1869,1694,1511,1581,1715,1663,1770,1970,2112,2428,3217,2536,1787,1988,2441,3183,3241,3437,3782,3260,3022,3278,3247,3218,2674,1548,1631,2231,2510,2220,2411,2104,1896,1936,1854,1856,1935,2079,1568,1600,1462,1272,1506,1554,1483,1432,1727,2007,1593,1307,1458,1853,1479,1379,1652,1730,1652,1780,2356,2190,1899,1733,1409,1578,1989,2798,4090,4364,4175,3895,2695,2088,2085,1688,1400,1748,1975,1768,1821,1962,1973,1755,1675,1809,1844,2344,2252,2016,2018,1832,1912,3152,3429,2060,1713,1599,1732,2446,2591,2214,2205,2220,2089,2376,2699,2909,3087,2218,1803,1836,1497,1417,1375,1704,2130,2081,1911,1710,1590,1644,1721,1910,2614,2655,2256,2320,1869,1584,1615,1972,1920,1726,2054,2261,2468,2675,2830,2850,2913,2700,2394,2975,3385,2703,2337,2555,2459,2276,2485,2563,2134,2916,3131,2451,2115,1879,1854,2368,2430,2536,2719,2072,1459,1520,1947,1882,1717,2740,3603,3585,3613,3623,3216,2283,1895,2264,2216,1887,2025,2807,2589,1700,1379,1404,2264,3452,3874,3906,4014,3548,2977,2899,2355,2600,2645,2036,1927,1664,1788,2018,2056,1898,1536,1865,2194,2230,2082,2005,2204,3020,2270,1699,1776,1714,1503,1410,1604,1968,1882,1578,1946,1898,1734,1588,1441,1328,1231,1242,1307,1438,1512,1474,1368,1412,1463,1544,1489,1394,1323,1441,1734,1897,2032,2045,2162,3083,3431,2822,2464,2724,2812,2333,2517,2896,3757,4488,4532,4568,4436,4356,4447,4560,4309,2844,2110,2426,3177,3391,2441,2198,2249,1888,2047,2624,3095,3234,2613,2567,2473,3038,3416,3312,3156,2988,2952,2809,2542,2590,2878,3216,3093,3064,3061,3037,3108,3110,3073,3252,3326,3325,2856,1900,1784,1827,1772,2009,2180,2438,2501,2392,2007,1974,1997,1967,1924,2027,2194,2909,2489,1716,1887,2303,2359,2186,1995,2083,2233,2159,1743,1686,1861,1866,2104,1894,1880,1746,1980,2172,2275,2085,1897,2042,2548,2739,2357,2103,1686,1504,1540,1714,2344,3020,3090,2989,2663,1926,1645,2197,2795,3044,2890,2452,2366,2260,1954,1746,1954,2061,2287,2558,2632,2383,2181,2130,2243,2171,1930,1861,1649,1709,2005,1888,1816,1943,2110,2277,2264,2066,1919,1948,1762,1642,1569,1744,1871,1816,2055,2111,1819,1056,540,1215,1896,2342,1931,2000,1574,1974,2824,2590,2486,3351,2579,2004,3118,2820,2634,2244,1823,1534,2107,2026,1950,2029,2298,2166,1699,1593,1635,1674,1698,1938,2035,2200,1955,1493,1592,1401,1570,2064,2142,2037,1687,2344,2439,2557,3381,3636,2898,1112,663,1168,1665,1650,1523,1715,1658,1838,2025,2076,1852,1917,2182,2780,2540,2038,2437,2432,2036,2175,2203,2330,2753,2940,2156,2041,2598,2625,2386,1899,1907,2420,2690,2533,2090,1443,1445,1695,1794,1743,2070,2198,2060,2040,1975,1960,2043,1885,2049,2106,1789,2189,2963,2048,1111,1554,1598,1703,1746,1788,1948,1773,1613,1654,1721,1434,1429,1417,1510,1610,2098,2235,2087,1904,1907,2254,2567,2791,2407,1564,2375,1992,1846,2016,2138,2163,2136,2245,2256,2364,2474,2006,2025,2314,2355,2277,2359,1880,1707,1779,1912,2019,1836,1777,1830,1640,1919,2483,2429,2024,1736,1729,1884,1801,1526,1447,1649,1920,1812,1740,1761,1756,1670,1664,1734,1622,1603,1529,1428,1513,1646,1468,1376,1675,1853,1909,1791,1678,1299,1174,952,1183,1714,1585,1237,1434,1936,2174,2418,2204,1272,1097,1976,1754,1721,1999,1969,1996,2228,2136,1982,2138,2343,2309,2151,1976,2001,2053,2002,1936,1801,1603,1329,1376,1771,1719,1565,2164,2084,1633,1856,2224,1932,1773,1810,1802,1797,1876,1805,1811,1845,1938,1854,1916,1612,1638,1981,2084,2373,2254,2065,2009,1961,2260,1992,2030,2081,2098,2136,1608,2556,3066,2526,1964,1825,2038,1948,1688,1518,1895,2423,2779,2782,2672,2657,2574,2474,2358,1983,1604,1542,1406,1387,1606,1709,1610,1779,2014,2104,2048,2155,2160,2312,2456,2374,2356,2277,2024,1775,1627,1762,1836,1726,1788,2006,2026,1893,1784,1786,1805,1815,1808,1775,1852,1830,1718,1786,1867,1938,1926,1854,1875,1877,1835,1807,1905,1868,1881,1934,1936,2037,2047,1850,1550,1852,2266,2243,2205,2313,2480,2490,2376,2497,2622,2547,2519,2425,2457,2253,1969,1980,2030,1873,1985,2013,2056,2267,2382,2337,2248,2241,2248,2273,2460,2745,2751,2656,2784,2801,2629,2540,2209,1712,2090,2079,1704,1475,1737,2759,3652,3117,2263,1644,1606,1477,1256,1380,1419,1391,1399,1324,1287,1392,1494,1433,1526,1814,1892,1790,1589,1515,1636,1848,1760,1598,1638,1737,2157,2176,1658,1402,1571,1760,1717,1797,2188,2369,2017,1891,1866,1472,1290,1315,1554,1610,1427,1320,1294,1251,1477,1998,1642,1511,1795,1527,1356,1355,1455,1481,1566,1692,1698,1594,1468,1647,1864,1850,1754,1944,1838,1485,1754,2137,2024,2167,1860,1852,1707,1510,1490,1379,1282,1412,1745,1803,1857,1764,1475,1392,1559,1862,1788,1439,1370,1653,1730,1605,1510,1456,1404,1356,1372,1355,1444,1509,913,686,1152,1663,2302,2093,1830,2094,1628,1752,2184,2073,2458,2166,1830,2236,1856,1360,1340,1407,1570,1847,2129,2301,2596,2266,1656,1642,2170,2465,2060,1701,1470,1429,1346,1499,1750,1945,1862,1851,1846,1824,1528,1299,1428,1521,1738,1933,2025,2071,1588,1529,1578,1382,1533,1533,1412,1351,1246,1187,1401,1897,2008,2115,2125,2107,2292,2303,2017,1617,1647,1577,1488,1816,1884,1931,1991,1818,1585,2035,2488,2200,2532,2313,1849,2009,1936,1712,1794,2060,1748,1643,1952,1959,2064,1865,1785,1644,1607,1607,1559,1848,2322,2690,2796,2633,3001,3173,3647,3693,3814,4028,3118,1940,1727,1647,1710,1958,1562,1786,2630,2950,2924,2842,2885,3041,3062,3361,3442,2533,1764,1769,1594,1742,1724,1770,1770,1808,1879,1861,1792,1790,1909,2160,1913,1946,2216,1787,1571,1195,1447,1746,2172,2364,2090,2042,2054,1923,2196,2286,2129,2080,2272,2483,2526,2449,1962,1747,2196,2169,2027,2562,2476,2751,2422,2269,2184,2360,1968,2242,2839,2447,1866,2038,2490,2250,1883,1820,1931,1757,1730,1647,1579,1488,1614,1609,1614,1803,2125,2612,2801,2336,1340,1319,1877,2189,2014,1982,2366,3039,2719,1749,1537,1632,1650,1883,2124,2326,2657,3129,2850,2552,2194,2131,2195,1921,1641,1855,1901,1485,2173,2731,3292,3681,3519,3391,3178,2865,2984,2922,2536,2522,2648,2553,2441,2618,3103,3287,3071,2435,2223,2177,2282,2541,2666,2915,3306,3096,2987,2105,1752,1867,1920,1996,2022,1876,1898,1921,1954,1809,1844,2266,2229,2517,2250,2407,1969,1950,2200,2383,2125,1690,1816,2056,1999,1594,1606,1609,1702,1712,1696,1671,1571,2024,2206,2044,1976,1608,1702,2100,2193,1614,1623,1655,1782,1658,1570,1587,1745,1904,2145,2330,2033,2190,2404,1848,1902,1879,1764,1766,1862,1685,1483,1637,1662,1540,1418,1461,1522,1410,1664,2198,2874,3081,2452,1953,2230,2548,2457,2489,2767,2823,3325,3464,3085,2787,3038,2657,1940,1829,1880,1857,1885,2282,2363,1703,1584,1881,1660,1463,1651,1704,1691,1676,1733,1767,1685,1739,2035,1733,1424,2036,1911,1795,1807,1855,1904,2103,2148,2171,1958,1835,1815,2011,2172,1850,1930],[1982,1636,1814,1891,1873,1628,1980,2164,2418,2709,3098,2597,2092,2249,2026,2075,2643,3343,2461,2146,1745,1925,2199,1993,1820,1548,1493,1796,1747,1580,2111,2779,2415,1697,1600,2287,2131,1733,1825,1827,1940,1910,1934,1903,1759,1724,1852,2537,2686,2358,2864,2577,2236,1746,1631,1862,2345,2641,2598,2731,2745,2549,2745,2319,1919,2314,2347,2299,2418,2689,2977,3077,2802,2734,3074,3091,3066,3104,3061,3216,3203,3461,3818,2819,1753,2244,3251,3586,3313,3522,2785,2967,3133,2956,2841,2117,1519,2794,4051,3940,3507,3211,3062,3293,3366,2819,3521,3301,2107,1946,1932,1948,2013,1947,1631,1615,1884,2319,3416,3059,3188,3249,3510,3515,3219,3144,2436,1640,2003,2357,1821,1804,1819,1687,1948,2318,2671,2587,2836,2866,2757,3176,3708,3312,2690,2764,2941,3227,2548,2048,2276,2302,2355,2215,2336,2736,2118,1565,1498,1584,1730,1583,1628,1597,1959,2080,2787,3599,3540,3475,3665,3443,3129,3492,3741,3740,3780,3704,3795,3717,3485,3040,3118,3273,3416,3480,3250,2395,2070,2389,2390,2657,3031,2641,2211,1702,1400,1587,1573,1758,2177,2325,2039,1915,1952,2294,2376,2437,2509,2529,2251,1974,2254,2459,2269,2347,2337,2487,2661,2569,2693,2149,2127,2657,2634,2627,2291,2453,2563,2297,3187,3187,2851,3441,3393,2751,2896,2764,2547,2795,3121,3097,2690,2166,2475,2981,2895,2535,1804,1608,1745,2543,2623,2082,1839,1814,1881,1861,1712,1707,1698,1633,1640,1431,1396,1455,1483,1974,1946,1829,1909,1781,1453,1581,2250,3111,2863,1717,1638,1505,1777,2333,2135,1904,1622,1477,1435,1455,1426,1599,1528,1474,1853,1764,1573,1497,1416,1585,1544,1337,1356,1376,1408,1270,1466,1498,1402,1459,1366,1284,1322,1567,1564,1614,1807,1636,1581,1880,2319,2162,1919,1984,2205,2680,2480,1878,1511,1488,1769,2125,2353,2584,1805,1995,1981,1824,2241,2676,2729,3050,2449,1744,1807,1797,2308,3123,2653,2023,1666,1992,2217,3064,2504,1568,2202,3082,3209,2789,2509,2210,1968,1976,1953,2249,1880,1796,1822,1814,2397,2312,1815,1729,1675,1749,1914,2136,2711,2622,2062,1670,2009,1785,1861,1877,1558,2066,2160,2553,2698,1948,2466,2110,2228,1841,1642,1664,1859,2131,2070,1655,1677,1698,1555,2222,2588,2966,2799,1795,1453,1540,1582,1758,1866,2477,2670,2052,1879,2125,2175,2449,2703,2243,1824,1771,1826,2468,2714,2540,2935,2821,2159,1984,2153,1840,1516,1638,1735,1845,2156,1940,1594,1570,1559,1675,1897,1954,2060,2197,1882,2432,2624,1904,2236,2952,3183,2839,2753,3174,2653,2520,2952,3037,3522,2981,1768,1998,2618,2673,2865,2773,1829,1619,1696,2083,2267,1802,1459,1300,1338,1361,1359,1345,1332,1692,2113,1909,1729,1475,1611,1804,1688,1514,1454,1383,1532,1521,1749,2138,1999,1919,1772,1651,1482,1625,1942,3233,4048,4195,3717,2399,2153,2022,1587,1760,1687,1909,2229,2150,2027,1801,1418,1456,1516,1760,1883,1764,1779,1925,1832,1666,2502,2753,1735,1581,1449,1531,2079,2160,2182,2782,2712,2302,2746,3000,2898,2699,1737,1561,1618,1644,1558,1613,1887,1897,2051,1722,1475,1316,1302,1571,1504,2313,2579,2097,1932,1832,1720,1917,2416,2287,2009,2076,2009,2128,2492,2004,1704,2243,2381,2253,2921,3316,2796,2275,2086,1912,1784,2235,2269,2077,2562,2336,2143,2511,2377,2128,2501,2731,2757,2679,1817,1530,1660,2013,2172,2217,3144,3475,3720,3802,3303,3008,2436,1864,2016,2231,2123,2079,2497,2157,1899,1664,1395,1702,2729,3771,3874,3695,3130,2724,2662,2342,2744,3161,3217,3252,2463,2148,2206,1972,1563,1373,1876,2008,2076,2003,1629,2282,2878,1962,1557,1885,2048,2055,1708,2030,2678,2496,1889,1979,2040,1855,1524,1305,1278,1396,1528,1543,1477,1408,1426,1412,1416,1556,1716,1648,1554,1470,1441,1569,1722,2100,2874,2976,3397,3306,2561,2335,2120,2259,2688,3191,3182,3685,4405,4488,4411,4431,4405,4456,4479,4013,2690,2219,2621,3474,3370,2166,1782,2043,2131,2225,2442,2636,2289,2348,2481,2143,2520,3218,3205,2872,3073,3072,2898,2646,2798,2752,2821,3015,3032,3116,3292,2983,2512,2829,3495,3362,3528,2895,1933,1770,2102,2462,2381,2347,2380,2596,2730,2664,2210,2075,2143,2020,2188,2311,3165,2700,1956,1960,2126,2368,2592,2357,2006,1899,1949,1851,1895,2155,2074,2135,1959,1730,1845,1957,1961,2097,2010,1845,1996,1851,2070,2243,1640,1418,1436,1477,1581,1928,2082,2132,2022,2068,2188,2466,2918,3254,2854,2428,2397,2332,2198,2276,2675,2812,2757,2799,2843,2741,2733,2737,2439,2334,2275,1999,1591,1428,1406,1540,2061,2947,3011,2802,2446,2586,2156,1895,1688,1758,1827,1661,1739,1793,1844,2438,2494,1657,736,476,1542,2389,2778,1910,1766,1783,2666,3694,3083,2500,2977,2477,2655,3842,3473,3061,2113,1962,1968,1926,1836,1750,1514,1918,2170,2138,2055,2010,1908,1865,1825,1881,2429,2287,2245,2209,1818,2532,2567,2500,2356,2477,2954,2851,2786,2988,3059,2633,1455,1311,2562,2936,2820,2543,2043,1862,2019,3007,3396,2272,2106,2095,1924,1829,2361,2719,2563,2358,2059,2030,1932,1850,1849,1754,1886,1941,2001,1904,1738,2171,2140,2064,1678,1663,1677,1991,2078,1806,1907,2247,2007,1718,1794,1887,2076,2191,2454,2221,2005,1928,1662,2330,1848,1422,2148,2706,2632,2269,1833,2408,2890,2101,1695,1507,1405,1499,1400,1235,1287,1356,1650,1975,2068,1924,1733,2023,2049,1720,1552,2564,2546,2127,2106,2364,2284,2088,2091,2131,2520,3016,2352,2150,2242,2221,2387,2101,1627,1866,2086,1919,1914,1665,1728,1776,1666,1882,2162,1729,1745,1985,2047,1979,1836,1625,1441,1448,1602,1655,1737,1422,1529,1389,1532,1734,1766,1728,1604,1488,1465,1640,1487,1315,1563,1898,2012,1881,2030,1792,1243,976,1346,1570,1533,1197,1328,1874,2062,2163,2255,1527,1408,2293,2157,1748,1546,1173,1138,1698,2267,2138,2023,2101,1937,1836,1711,1767,1808,1827,1576,1163,851,665,645,1481,1785,2077,2223,1822,1470,1663,1732,1603,1725,1862,1790,1777,1785,1843,2038,2201,2196,1876,1803,1735,1887,2156,1804,1911,2180,1886,1876,1513,1668,2307,2496,1861,1801,1531,1332,2149,2429,1892,1821,1919,2174,1728,1657,1944,2784,2331,2057,2284,2773,2895,2699,2060,1470,1416,1359,1677,1495,1521,1919,1961,1756,1765,1828,1982,2022,1927,2035,2512,2947,2867,2688,2482,2183,2033,1859,1916,1832,1717,1718,1635,1592,1725,1962,2014,2005,2094,2257,2198,2206,2314,2296,2339,2337,2371,2475,2566,2619,2621,2605,2754,2845,2717,2567,2728,3042,2854,2454,2249,2138,2167,2610,2622,2562,2667,2744,2721,2703,2756,2563,2551,2619,2574,2522,2470,2396,2226,1937,1682,1545,1622,1802,1973,2093,2097,2088,2355,2492,2243,2465,2857,3017,2700,2688,2597,2082,1793,1650,1332,1274,1327,1311,1376,1556,2040,3196,3393,2470,1671,1384,1259,1318,1345,1379,1446,1423,1395,1422,1418,1497,1478,1471,1720,1789,1641,1521,1554,1559,1713,1649,1482,1552,1748,1879,1823,1825,1678,1584,1636,1540,1633,2071,2097,1592,1759,1999,1411,1410,1288,1388,1334,1299,1203,1175,1156,1521,1810,1437,1488,1736,1512,1392,1477,1615,1601,1542,1538,1602,1648,1585,1620,1753,1793,1726,1858,1760,1438,1794,1741,1572,1636,1707,1843,1638,1392,1205,1205,1394,1334,1353,1663,1734,1700,1761,1845,2176,2110,1765,1598,1715,1571,1484,1665,1748,1722,1629,1507,1348,1497,1726,1527,948,752,1150,1705,2465,1784,1669,2120,1954,1992,2237,2002,2000,1844,1927,2152,1648,1618,1542,1699,1862,1782,2039,2245,2553,2472,2131,1768,1835,2195,2165,1864,1549,1571,1497,1492,1873,1841,1499,1609,2196,3017,2626,1833,1788,1732,1936,2041,1713,1866,1851,2222,1802,1364,1441,1484,1638,1422,1733,1482,1154,1503,1942,2095,2123,2410,2103,1736,1655,1600,1618,1702,1662,1515,1775,1909,1842,1661,1398,1892,2234,2047,2243,2685,2841,2531,1900,1704,2271,2602,2050,2470,2307,1880,1753,1757,1925,1674,1575,1590,1526,1704,2226,2956,3335,3130,2825,2656,2697,3011,3733,4188,3514,2451,1830,1756,1572,1443,1553,2176,2607,2997,2642,2290,2662,2933,3144,3222,2699,2086,1773,1749,1456,1570,1699,1729,1740,1743,1743,1672,1817,1757,1778,1906,2003,2032,2129,1733,1595,1954,1968,1864,2494,2630,2504,2741,2577,2280,2537,2354,1932,2210,2272,2021,2119,2129,1992,1759,1615,1733,2164,2685,2584,2702,2490,2028,1779,1907,1810,2254,2379,1960,1876,1989,2165,2271,2032,1906,1908,1784,1698,1761,1646,1576,1676,1758,1899,2193,2525,2685,2280,1771,1389,1610,1901,2279,2277,1948,2018,2275,2580,2416,2194,2316,2083,2198,2303,2444,2800,2801,2321,2099,1932,1850,1955,2013,2073,2341,1675,1155,1920,2341,3032,3715,3674,3378,3260,2880,2891,2711,2756,2441,2137,2353,2256,2341,2666,2694,2713,2670,2286,1752,1779,2428,2696,2565,2819,3066,3283,2509,2217,2549,2237,1730,1712,1775,1763,1960,2085,1785,1562,1669,1999,2018,1969,2065,1899,2040,2096,2330,2195,1746,1803,2163,2238,2145,1912,1842,1858,1861,1896,1895,1968,1992,1966,1749,1813,1748,1907,2056,2032,1594,1561,1881,1836,1780,1772,1788,2111,2252,1990,1952,1991,1983,1873,1759,1975,1925,1735,1655,1713,1521,1537,1646,1550,1631,1575,1536,1551,1559,1620,1837,2701,2923,2243,2109,2182,2310,2400,2517,2894,3217,3250,3002,2703,2502,2403,2180,2122,1961,1891,2028,2031,2436,2243,1730,1876,2165,1748,1442,1519,1770,2007,1948,1811,1729,1794,1919,1922,1947,1735,1870,1622,1637,1878,2003,2286,2271,2183,2042,1833,2115,1865,2149,2205,1770,1826],[1629,1494,1460,1594,1861,2151,2492,2541,2193,2461,2843,2085,1898,2187,1939,1781,2179,2644,2011,2392,1910,1656,2060,2060,1764,1437,1370,1382,1454,1554,1947,1951,1766,1678,1871,2675,2309,1661,1601,1670,1926,2278,1958,1444,1680,1694,1875,2498,2347,2215,2792,2358,1631,1631,1760,1869,2461,2652,2696,2552,2872,2279,2546,1936,1974,2589,2524,2555,2514,2720,2805,3072,2898,2855,3090,3042,3228,3205,3096,3266,3572,3967,3465,1972,1980,3059,3736,3445,2950,3566,3328,3784,3229,2595,3066,3056,3018,4063,4086,4094,3803,3625,3339,3260,2942,2790,3693,3017,1862,1780,1624,1464,1716,1732,1671,1765,1723,2531,3548,2927,2997,3573,3752,3479,3252,2896,1694,1591,1741,2005,1692,1745,1972,2487,2284,2248,2632,2836,2565,2373,3133,3873,3794,3165,2643,2466,2872,2741,2216,2302,2380,2414,2542,1986,1940,2221,1621,1565,1699,1497,1450,1501,1644,1862,2382,2733,3422,3950,3597,3702,3059,2451,2723,3664,3626,3687,3710,3949,4268,3684,3166,3338,3163,3493,3730,3892,3377,1892,2513,2221,1969,2061,2122,2301,2264,1825,1660,1948,1995,2007,2131,2250,2048,1997,2288,2155,1332,1627,2399,2612,2261,2087,2062,1815,2054,2552,2488,2900,2764,2755,3033,2311,1882,2298,2633,2549,2195,2144,2284,2953,3044,2962,3056,3410,2884,1973,1591,2030,2512,2889,3278,3194,2476,2293,2697,3024,3090,2952,2283,1736,1877,2151,1951,1719,1658,1632,1669,2186,2240,1775,1641,1830,1816,1564,1448,1544,1617,1625,1871,2407,2492,2357,2155,2425,2568,2722,2667,1981,1990,1869,1865,2144,2056,1655,1433,1345,1393,1326,1255,1682,1758,1521,1686,1616,1439,1361,1399,1355,1387,1465,1524,1580,1589,1477,1638,1644,1455,1505,1524,1379,1376,1494,1495,1617,1819,1488,1588,1869,2260,2674,2576,2555,2655,2194,1675,1427,1458,1659,2142,2500,2511,2285,1656,1659,1878,2084,2098,2287,2648,2640,2024,1778,1979,1899,2045,3053,2679,2031,2179,2202,2195,3382,2986,1641,1830,2105,2275,2060,2388,1770,1816,1985,2096,2162,1845,1784,1629,1773,2196,1973,1720,1813,1895,1727,1832,2442,3104,3189,2455,1843,1931,1734,2030,2066,2150,2700,2642,2854,2461,1737,1608,1804,2414,2483,2018,1747,1914,1898,1876,1762,1982,2182,1999,2722,2984,3221,2786,1409,1102,1243,1217,1474,1792,2149,2355,2209,2210,3130,3255,2983,2574,1995,1560,1444,1810,2752,2392,1691,2060,2234,1887,1786,1752,1643,1619,1644,1778,2285,2547,2048,1657,1775,1796,2749,2663,1915,1814,1864,1545,2138,2106,1544,2373,3367,2945,2216,2069,2821,2898,2535,2681,2376,2665,2490,1613,1713,2463,2655,2956,2996,1976,1874,1909,2424,2786,2077,1366,1360,1496,1459,1497,1714,1896,2316,2993,2135,1695,1605,1985,2026,1744,1588,1438,1330,1310,1291,1489,1549,1715,2024,1683,1729,1512,1555,1679,2023,2934,3757,3265,2446,2447,2513,2409,2452,2059,2186,2329,2210,1864,1746,1617,1693,1705,1441,1760,2197,1811,1683,1884,1521,1844,2022,1660,1647,1952,2003,1859,1825,1982,2216,2242,2689,3111,3052,2949,2752,2408,2663,2633,2310,1900,1874,1644,1762,1952,1823,1654,1462,1285,1489,1447,2249,2302,1968,1990,1979,1877,2095,2547,2718,2200,1764,1714,1515,1679,1692,1853,2361,2298,1948,2237,2260,1905,1555,1767,1750,1838,2088,2255,2865,3261,2340,1854,2342,2442,2596,2932,3073,3174,3251,2114,1679,1708,2125,2259,2628,3183,3441,3684,3340,2525,2553,2603,2001,1936,2180,2364,2333,2010,1813,1854,1750,1533,1498,2129,3604,3872,3571,2946,2626,2187,2331,3184,3790,3937,3296,2237,2065,1936,1630,1949,1721,1774,1825,1838,2048,1772,1965,2110,1693,1808,2266,2440,2274,1757,1930,2083,1822,1849,1884,1758,1566,1410,1315,1356,1431,1427,1475,1408,1363,1527,1586,1532,1537,1572,1634,1734,1643,1434,2136,2469,2761,3545,3372,3418,2805,2678,2470,2098,2373,2911,3217,3045,3559,4208,4432,4418,4540,4496,4464,4372,4007,2912,2247,2521,2798,2845,2110,2105,2577,2204,2471,2310,2265,2446,3161,3238,2378,2146,2766,2758,2163,2348,2830,2955,2766,2500,2473,2820,3173,3328,3222,2919,2507,2316,2351,2644,2898,3093,2910,2518,2552,2588,2370,2348,2380,2343,2558,2600,2500,2420,2587,2545,2253,2288,2118,2415,2541,2361,2460,2345,2374,2448,2343,2194,2065,2115,1979,2100,2191,2091,1801,1781,1786,2025,2348,2342,2646,2279,1901,1898,1887,2066,2223,2430,2714,2686,2596,2537,2164,2282,2651,2492,2484,2279,2371,2824,2706,1924,1794,1997,2441,3050,3427,3319,2740,2562,2493,2684,2664,2774,2874,2745,2364,2338,2094,1659,1461,1515,1503,2008,3308,3520,2319,2048,2178,1933,2018,1446,1286,1834,1705,1605,1736,1910,2925,2957,2014,834,561,1609,2710,2895,2555,1972,1772,2939,3731,2657,2526,2918,2533,2849,3372,3327,3338,2827,2665,2472,1880,1560,1584,1686,2215,2564,2209,1369,1880,2058,1918,1554,1349,1824,1987,2092,2028,2216,2746,2285,2443,3184,3001,2734,2379,1675,1417,1566,1451,881,1441,2496,2345,2243,2518,1887,2549,2591,3445,3374,2217,1885,1798,1735,2258,2569,2518,2373,2557,2333,2273,2099,1901,1925,1776,1717,1991,2207,1715,1453,2420,1750,1688,1631,1325,2220,2656,2590,2200,2083,2269,2162,2158,2119,2120,2113,1987,2011,2047,2259,2175,1981,2484,2030,1473,2252,2692,2602,2986,2674,2989,3207,3100,2663,2629,2084,1453,1318,1244,1136,1091,1224,1515,1470,1408,1517,2141,1804,1543,1643,2361,2825,2793,2453,2285,2055,2160,2152,1947,2426,2424,2314,2338,2085,1794,1605,992,649,1461,2071,1679,1776,1707,1935,1886,1570,1617,1728,1519,1546,1869,2208,1740,1769,1891,1592,1386,1664,1835,1591,1324,906,664,1389,1899,1854,1783,1686,1572,1428,1557,1499,1448,1705,2434,1998,1725,2061,2099,1623,1453,1676,1616,1496,1211,1351,1883,1839,1544,1826,1723,1381,1536,1760,1567,1504,1692,1615,1477,2051,2009,2082,1825,1560,1293,921,836,1288,1542,1116,951,1220,1178,1192,1820,1882,1864,1837,1727,1616,1576,1467,1518,1795,1887,1672,1757,1784,1892,1910,1953,1935,1764,1767,1769,2078,1976,1378,1480,1636,1809,1892,1913,2789,3319,2493,1814,1544,1456,1350,1569,1969,2172,2117,2032,1981,1613,1863,2264,2778,2512,1987,2228,2944,3140,2995,1979,1424,1678,1669,1870,1443,1304,1699,1631,1504,1579,1850,2167,1877,1711,1767,2115,2214,2115,2005,1869,1817,1806,1684,1744,1953,1952,1854,1886,1985,2012,2130,2454,2722,2773,2753,2440,2481,2687,2608,2510,2655,2723,2739,2890,2934,3137,3286,3282,3137,3256,3029,2552,2371,2490,2424,2330,2202,1956,2476,2551,2509,2458,2559,2666,2678,2692,2844,2896,2784,2607,2690,2791,2562,2297,1933,1714,1561,1649,1747,1991,2152,1890,1807,1993,2102,1872,1856,2029,2301,2119,2286,1957,1365,1299,1362,1343,1287,1374,1368,1321,1350,1548,2342,3140,2471,1677,1290,1266,1304,1305,1526,1510,1371,1417,1482,1475,1513,1493,1516,1686,1732,1575,1611,1585,1489,1381,1437,1402,1440,1734,1804,1989,1990,1850,1529,1349,1485,1471,1757,1991,1548,1507,1642,1496,1562,1391,1356,1279,1211,1286,1318,1239,1438,1570,1373,1532,1667,1516,1433,1594,1699,1550,1390,1450,1832,1837,1478,1644,1941,1906,1907,1606,1512,1732,1794,1526,1396,1453,1593,1512,1378,1340,1180,1245,1532,1383,1320,1439,1598,1809,1862,2307,2796,2308,1816,1481,1686,1811,1457,1389,1385,1531,1758,2046,2194,1835,1588,1599,1339,1132,1263,1371,1699,1637,1766,2084,2106,1999,1785,1789,2014,2022,2410,2024,1702,1675,1586,1815,1803,1519,1554,1678,1753,2234,2768,2005,1650,2398,2085,1554,1688,2104,1876,1779,2182,1957,1648,1587,2141,2996,2722,2415,2643,2130,2082,2170,1721,1581,1711,1745,1476,1411,1585,2259,2030,1861,2526,2248,1577,1425,1788,2084,2070,2129,2128,1876,1851,2025,1957,1646,1607,1534,1561,1650,1774,1675,1653,1777,2080,2026,2032,2510,2842,2743,2140,1780,2361,2531,2354,3001,2591,1622,1351,1387,1716,1594,1610,1492,1547,1649,2026,2895,3476,3449,2911,2458,2485,2861,3262,3958,4019,2691,2014,1857,1654,1614,1594,2026,2818,2840,2088,2115,2565,2632,2568,2863,2657,2214,2114,2078,1789,1823,1920,1785,1693,1646,1538,1595,2067,1999,1971,1698,2279,2314,1982,1593,1449,1819,1952,2138,2518,2613,2548,2688,2734,2274,2008,2004,1796,2299,2310,1875,1828,1890,1940,1771,1861,1906,1917,2588,2687,2517,2399,2039,1950,2040,2289,2295,1736,1735,1909,1861,2117,2210,2790,2586,1797,1593,1811,2052,1790,1409,1621,1828,1761,2043,2418,2058,1701,1551,1926,2327,2078,1929,1830,1685,2044,2049,2675,3828,3208,2589,1933,2056,2314,2121,2103,2272,2392,1914,2025,2376,2265,2231,2586,2747,2132,1629,2283,3078,3262,3115,3124,3282,2975,2395,2389,2161,2523,2508,2209,2386,2188,2234,2430,2591,3054,2998,2684,2270,1908,2571,2832,2768,2908,3306,3108,2449,2711,3034,2510,1707,1559,1763,1810,1932,1928,1799,1516,1340,1494,1459,1832,1932,1884,2216,2095,2405,2307,1888,1867,2225,2183,2203,2169,2066,1911,2316,2493,2006,2145,2105,1889,1810,1945,2067,1985,1692,1991,1975,1910,2029,1959,1759,1677,1834,2148,1978,1985,1940,2492,2268,1733,1775,1830,1691,1662,1625,1742,1604,1582,1510,1648,1547,1597,1703,1677,1542,1604,1668,2020,2399,2271,2114,1966,2437,2621,2753,2921,3065,2881,2531,2230,2287,2451,2247,1976,1820,1926,2086,2308,2787,2828,2419,2292,2049,1731,1618,1896,2239,1982,1830,2055,1642,1704,2151,1965,1721,1805,1788,1592,1665,1922,2038,2186,2465,2450,1963,1722,1864,1746,1921,1968,1954,2160],[1764,1814,1789,1650,2041,2481,2461,2579,2115,1585,1730,1657,1782,1990,1987,1670,1865,1690,1635,2768,2832,2230,2158,2125,2075,1635,1678,1567,1604,1632,1750,1675,1828,1834,1780,1856,1822,1465,1333,1527,1996,2456,1901,1644,1605,1339,1771,2756,2613,2709,2980,2132,1527,1773,2128,1992,2647,2531,2679,2619,2635,2451,2454,1865,2134,2590,2569,2758,2644,2614,2610,2373,2557,2768,3099,3219,3194,3344,3501,3563,3781,3263,2638,2067,2599,3077,3522,3548,3584,3767,3824,4163,3869,3346,3618,3740,3693,4509,4264,4257,3936,3498,2942,2719,2347,2212,2624,2149,1388,1547,1460,1339,1404,1500,1767,1980,1607,2389,2833,2191,1967,2405,2819,2373,2413,2573,2228,2486,2133,1958,1820,1790,2484,2931,2414,1960,2113,2334,2117,2684,3709,3812,3558,2685,2475,2341,2314,1945,1989,2304,2436,2371,2566,2023,1815,1969,1770,1830,1959,1696,1393,1438,2180,3064,3483,3469,3298,3674,3420,3095,2827,2920,3606,4048,3893,3853,3869,3994,4198,4003,3770,3288,2386,3129,3496,3705,2783,1753,1967,1894,1849,1752,1702,2036,2530,2275,1765,1904,1706,1953,2158,2163,2121,2089,2413,2387,1987,2193,2575,2421,2098,2423,2847,2119,2143,2920,2435,2783,2766,2666,2877,2262,1955,2319,2479,2302,2245,2478,2556,2589,2336,2423,2423,2523,2479,1932,1826,1863,2321,3392,3152,3002,2974,2805,2787,2831,2864,2694,2070,1759,1748,1449,1872,1859,1682,1566,1773,2210,2584,2063,1824,2009,1648,1450,1504,1531,1580,1615,1818,2752,2981,2573,2432,3406,3234,2730,2872,3003,2973,2252,1568,1430,1369,1332,1429,1441,1372,1300,1294,1465,1805,1702,1434,1394,1368,1380,1505,1581,1487,1426,1522,1682,1640,1497,1490,1560,1587,1627,1499,1472,1449,1544,1490,1503,1415,1386,2028,2459,2500,2872,3212,3024,2028,1466,1529,1878,2312,2388,2662,2625,2535,2586,1925,1551,1578,1759,1828,1622,1808,1943,2089,2242,2251,1778,1663,2287,2196,2003,1890,1865,2207,2684,2357,1446,1372,1574,1969,1815,1815,1679,1626,1908,2426,2394,1992,1859,1653,1785,1766,1559,1530,1977,1850,1902,1791,2619,3227,3069,2349,2025,1983,1726,1919,1923,2750,2597,2584,2300,2151,1796,1533,1776,1924,2230,2159,1641,1764,1901,1787,1878,2457,2694,2757,2750,2744,2955,2191,1229,1527,1867,1640,1679,1605,1936,2330,2491,2703,3218,3065,2690,2575,2269,1613,1490,2048,2639,2153,1652,1678,2043,1798,1699,1655,1605,1584,1571,1909,2285,2254,1804,1539,1844,2104,2975,2315,1749,1749,1648,1561,1628,1472,1500,2305,2214,1736,1320,2035,3002,3370,2989,2872,2777,3001,2844,1884,1629,2393,2582,2573,3250,2998,2496,2314,2612,2743,2210,1555,1433,1577,1506,1639,1875,2444,2855,3251,2470,1780,1776,1836,1852,1961,1814,1669,1490,1346,1422,1278,1381,1705,1875,1732,1593,1515,1549,1571,1510,1914,2473,2617,2474,2557,2298,1851,2178,2332,2232,2048,2117,2033,1914,1715,1505,1499,1430,1524,1277,1594,1979,2107,1663,1540,1705,2092,2359,2121,1825,1648,1764,2133,2654,3333,3719,3796,3522,3068,2658,2509,2996,3227,2607,1798,1603,1546,1832,1821,1853,1663,1576,1498,1686,1682,1677,1907,2250,2509,1978,1598,1714,1954,2255,1833,1714,1713,1570,1802,2034,2117,2535,2579,2045,1689,1735,1427,1437,2069,2183,2133,2166,2267,3168,4289,3720,2169,1961,2341,2708,2635,3079,3277,3564,2995,2098,1970,2320,2736,3369,3462,3329,3051,2482,2372,2067,1965,1909,1886,2106,2368,2273,2068,1944,1944,1628,1555,1400,1564,3118,3797,3625,2941,2315,1775,2221,3357,3696,3250,2451,2002,1693,1703,2437,3184,2113,1671,1697,1657,1763,1718,1559,1365,1709,1823,1790,1856,1692,1669,2069,2040,1474,1389,1824,1860,1745,1604,1534,1490,1394,1323,1353,1355,1338,1437,1464,1476,1553,1615,1684,1854,1871,1955,3111,2641,2672,3016,3030,3320,3167,2688,1956,1635,2078,2459,2597,2643,3129,4063,4330,4498,4664,4616,4506,4331,3938,3077,2189,2157,2314,2684,2350,2250,2399,2050,2349,2833,2643,2425,3218,3436,2389,2160,2814,2830,2309,1952,2343,2438,2722,2943,3033,3274,3406,3230,3012,2869,2439,2056,1584,1528,2146,2418,2420,2119,1946,2122,2109,2287,2362,2255,2239,2292,2419,3009,2413,2186,2276,2446,2217,2275,2486,2437,2456,2383,2354,2258,2269,2071,1964,2222,2326,2379,2170,2103,2159,2348,2455,2326,2147,3374,4210,3488,3056,2865,2458,2128,2436,3111,3815,4031,3715,2810,2181,2774,2834,3044,2864,2154,2091,2086,1913,1695,2297,3282,3827,3860,3826,3473,2800,2941,2600,2670,2554,2447,2679,2964,2718,2407,2235,2044,1809,1719,1814,2098,2552,2077,1396,2230,2503,2229,2342,2311,2380,2367,1945,2088,1914,1912,2833,2626,2358,1627,1280,1738,2623,3012,2518,2118,2130,2840,2823,1805,2382,2432,2514,3019,2734,2778,2595,2532,2523,2219,1605,1459,1690,1615,1502,2036,1932,1723,2092,2146,2000,1750,1627,2100,2037,1851,2173,2273,2292,2174,1865,2299,2178,2153,2316,2580,2624,2428,2077,1974,2099,1953,1939,2301,2525,2297,2602,2533,2730,2374,1967,1951,1813,1681,2148,2136,2099,1985,2286,2310,1871,1879,1867,1652,1609,1746,1904,1842,1537,2115,2656,1929,2039,1708,1293,2065,2585,2589,2510,2300,2186,2213,2454,2417,2540,2504,2175,1939,1933,2036,1937,2086,2405,2083,2120,2669,2961,2912,3012,3230,3996,3350,2950,2579,2854,2783,1691,1518,1357,1171,1315,1288,1347,1311,1376,1950,2308,1714,1338,1567,1833,1802,1936,2329,2164,1787,2154,2060,2082,2232,1790,1714,1637,1661,1833,1507,1100,901,1402,1775,1808,1973,1882,1852,1921,1559,1498,1477,1405,1328,1449,1858,1677,1990,1912,1766,1613,1886,2276,2117,1406,606,806,1825,2030,1891,1738,1740,1901,1710,1488,1442,1671,1760,1744,1587,1584,1735,1947,1932,1808,1730,1535,1369,941,1048,1315,1214,1043,1384,1782,1583,1410,1540,1725,1886,2020,1836,1734,1805,1729,1660,1544,1340,839,522,687,1009,1343,1416,1422,994,952,1419,1940,2022,1859,1837,1804,1869,1770,1468,1477,1578,1616,1644,1842,1844,1666,1527,1783,1877,1842,1923,1914,1489,1161,1114,1294,1622,2202,1996,1939,2808,2919,2339,1753,1360,1350,1324,1434,1834,2104,2264,2041,1758,1627,2262,2714,2646,2798,2785,2930,3029,3039,2556,1856,1505,1642,1665,1872,1553,1455,1727,1632,1813,1992,2115,2060,1825,1758,1783,1883,1738,1806,1897,1924,1858,1896,2000,2061,2221,2273,2181,2508,2929,2953,2878,3192,3396,3381,3396,3123,2832,2924,3133,3320,3321,3041,3040,3284,3024,2900,2958,2920,2706,2610,2623,2189,2075,2235,2208,2148,1852,1854,2261,2113,2030,1962,1904,2009,2121,2117,2274,2291,2270,1974,1849,1906,1829,1693,1594,1439,1409,1473,1589,1605,1332,1204,1529,1610,1525,1288,1181,1298,1898,2057,2085,1787,1368,1347,1428,1394,1397,1463,1326,1344,1352,1321,1721,1942,1707,1473,1430,1567,1388,1260,1404,1317,1375,1429,1544,1480,1498,1583,1604,1570,1488,1510,1496,1444,1314,1260,1588,1559,1555,1643,1757,1951,1804,1663,1538,1417,1548,1417,1571,1452,1319,1309,1327,1491,1486,1352,1400,1450,1458,1476,1434,1301,1497,1771,1585,1443,1457,1320,1337,1377,1302,1408,1349,1483,1838,1576,1418,1941,2103,1648,1387,1365,1415,1560,1594,1554,1460,1609,2098,1760,1342,1288,1175,1261,1331,1309,1264,1218,1454,1788,1820,1979,2177,2116,1675,971,774,886,1191,1438,1421,1394,1581,2046,2355,1921,1760,1644,1645,1546,1498,1666,1843,2112,2314,2307,2302,2000,1512,1428,1281,1691,1911,1494,1551,1635,1684,1731,1602,1518,1676,1932,1548,1717,2282,1851,1768,2468,1807,1750,2139,2102,1886,2164,2646,2579,2012,2087,2325,2094,1693,1764,2245,2049,2257,2059,1664,1854,1815,1498,1582,1500,1588,2315,2189,2279,2223,1994,1735,1709,1661,1721,2043,2195,2156,2091,2168,1956,1560,1455,1830,1824,1503,1708,1823,1867,2103,2002,2048,2223,2480,3144,2419,2238,1864,1925,2181,2551,2756,2459,1972,1591,1297,1377,1805,1897,1639,1547,1570,2091,2326,2479,3012,3414,3350,2823,2400,2757,2945,3191,3501,2346,2056,2076,1982,2287,2236,2462,3334,2805,1685,1819,2489,2619,2474,2922,2655,2099,2050,2467,2413,1852,1974,1750,1764,1631,1689,1653,1885,2082,2454,2392,2744,2480,1873,1781,1683,1681,1815,2118,2038,2172,1859,1922,2648,2397,1930,1879,1868,1970,1813,1676,1726,1867,2008,1928,2053,2298,2148,2289,2142,2177,2209,1866,2173,2271,2101,1686,1655,1772,1708,1692,1872,1712,2029,2000,1788,1758,1869,1758,1646,1592,2067,2021,2187,2032,2041,1752,1699,1878,2017,2505,2106,2093,2233,1830,2024,1962,2229,3219,2846,2159,1857,1740,1668,1526,1599,2202,2462,2189,2608,2568,2322,2520,2464,2182,2105,2702,3327,3255,3045,2618,2592,2750,2227,2359,2248,1736,2320,2686,2350,2260,2327,2286,2301,2578,3311,3791,3531,3682,3353,3574,3674,2966,2494,3240,3244,2846,2734,2584,2507,1909,1804,2127,1968,1962,1975,2032,1755,1426,1455,1725,1959,1793,1787,1921,1908,1981,2111,2302,2397,2435,2110,1884,2088,2328,2152,2100,1954,1858,2011,1842,1716,1747,1814,1922,1820,2025,2490,2205,1992,2189,2590,1948,2021,2359,2402,1925,2156,2293,2370,2098,1631,1692,1808,1734,1823,1864,1950,1696,1615,1692,1765,1835,2090,2205,2359,2404,2042,1959,1953,1984,2471,2278,2318,2755,2829,2655,2653,2786,2599,2590,2856,2719,2805,2770,2453,2834,2556,2789,3030,2502,2197,2692,3091,2990,2349,2651,2976,2520,1770,1659,1698,1787,1957,2208,1926,1545,1601,2036,2670,2822,2730,2122,2017,2232,2288,1939,1660,1616,1613,1572,1471,1722,2109],[2312,1996,2126,2343,2333,2137,2438,2618,2316,2584,2264,1607,1546,1693,1637,1842,1808,2061,2809,3430,3100,2272,1898,2292,2406,1857,2030,1867,1521,1666,1869,1837,2112,2440,2194,1783,1910,1466,1420,1421,2212,3178,2386,1836,1552,1225,1476,1875,2197,2876,3110,2092,1960,2194,2302,2259,2621,2544,2508,2665,2602,2552,2555,1759,2370,2621,2654,2610,2690,2552,2646,2543,2557,2170,1745,1847,2370,2920,2844,3296,3655,2982,3252,3194,3373,2966,3138,3729,3844,3756,3970,4061,3426,3357,3945,3991,3752,4207,4507,4300,3665,3102,2806,2385,1916,1957,1615,1610,1686,1858,1598,1503,1306,1443,1728,2122,2123,2402,2409,2138,2209,1837,1722,1713,2323,2012,2498,2490,2136,1864,1798,2148,2454,2268,2002,1772,1833,2088,2251,2730,3281,2956,2636,2193,2324,2325,2176,2615,2370,2361,2514,2048,2205,1828,1739,1971,2109,2244,2018,1684,2025,2702,3242,3767,3509,3661,3780,3834,3482,3305,3384,3256,3357,3663,4004,4001,4062,3990,4052,3948,3464,3140,2910,3410,3601,3684,2602,1682,1931,2089,2025,2172,1928,1769,2380,2540,2020,1673,1560,1844,1998,2320,2439,2279,2774,3083,2753,3162,2339,2307,2919,3045,3032,2280,2653,2805,2126,2120,2054,1956,1972,1844,2138,2179,2368,2030,2060,2369,2138,1975,1862,2020,2156,2188,2030,1504,1158,1256,1924,2974,3199,3630,3501,3120,2945,2524,2082,1865,1796,1828,1841,1901,2083,1685,1506,1512,1536,1948,2146,2151,2320,1999,1706,1844,1722,1607,1613,1585,1699,2740,3066,2752,2640,3198,3562,3509,3450,3625,3186,2060,1604,1392,1558,1455,1334,1254,1342,1411,1380,1480,1577,1521,1512,1655,1688,1680,1881,1962,1654,1556,1577,1441,1538,1530,1388,1526,1773,1973,1919,1758,1450,1466,1367,1344,1537,1620,1976,2199,1928,1857,2518,2564,1860,1803,2225,2430,2584,2451,2276,2288,2622,2459,1694,1516,1844,2413,2163,1752,1517,2028,2625,2499,2122,1850,1814,1950,2191,2183,1782,1688,1664,1700,1722,1649,1957,1883,2063,1693,1748,1953,1911,2437,3338,3244,2524,2046,1997,1565,1395,1851,2314,2709,2562,2077,1674,2302,3184,2580,1746,1886,1404,1395,1750,2358,2717,2477,2353,2008,2003,1802,1491,1484,1217,1561,1766,1902,2452,2137,1809,1763,2058,2576,2622,2008,2210,2614,2031,1630,1578,1695,1606,1427,1787,1815,1882,2218,2873,3007,2620,2702,2364,1936,1699,2014,2354,2641,2271,1923,2016,2078,1828,1770,1853,1758,1768,1941,2127,1810,1864,1666,1621,2270,2881,2659,2017,1707,1488,1516,1522,1482,1552,1874,3008,2841,2236,1897,2256,2919,3436,3311,2987,2984,3129,3460,2824,1825,2399,3184,3156,3420,3417,3085,3228,3132,2322,1758,1675,1426,1404,1449,1649,1551,2084,2567,2365,2028,2048,1914,1489,1724,1837,1956,2074,1854,1794,1816,1504,1812,2216,2364,2123,1803,1751,1510,1464,1520,1844,2337,2516,2356,2344,2445,2295,2618,2503,2098,1880,1936,2074,1926,1457,1367,1519,1449,1451,1548,2352,2280,2161,1920,1460,1702,2610,2618,2291,1801,1724,1872,2002,2845,3318,3139,3642,4038,3226,2415,2467,3145,3096,2959,2076,2246,2724,2382,1888,1738,1563,1459,1810,2022,1716,1776,1648,1989,2498,1499,1385,1858,1780,1649,1708,1755,1910,2100,2184,2267,2498,2370,2286,1970,1560,1525,1429,1632,2576,2941,2380,2493,2437,2150,3287,4156,2565,2288,2995,2937,2011,2889,3552,3942,3860,2686,1908,2378,3212,3132,3220,3439,2779,2395,2098,1688,1865,1909,1750,1879,2362,2553,2339,1751,1641,1361,1505,1546,1450,2465,3436,3580,3090,2385,1656,1655,2186,2376,1922,1490,1610,1510,1510,1695,1690,1599,1728,1876,1774,1541,1527,1575,1410,1455,1503,1461,1557,1521,1786,2040,1968,1738,1646,1853,1776,1686,1440,1438,1548,1448,1454,1467,1471,1509,1571,1656,1764,1874,1998,2377,2731,2409,2430,2890,2608,2652,2903,3252,3418,3190,2354,1625,1483,1790,1916,2304,2588,2974,3972,4496,4596,4688,4569,4523,4432,3798,2858,2103,2230,2387,2275,1825,2243,2710,2519,2294,2843,3096,2566,2543,2912,2458,2358,3218,3130,2761,2481,2303,2072,2488,3130,3051,2958,3019,2633,2640,2118,1803,1635,1390,1554,2081,2266,2228,1859,1747,2356,2133,1784,1637,1953,2118,1942,1931,2707,2065,2132,2821,2746,2878,3296,3316,2604,1911,1637,2008,2521,2666,1654,1129,1383,1787,1953,1749,2217,2085,1583,1847,1560,1561,2578,3091,3132,3106,2846,2151,2294,2668,2952,3924,4092,2912,2044,2267,3001,2595,2700,2852,2440,2113,2024,1973,2211,3288,3825,3571,3454,3493,3244,2708,3076,2855,2807,3062,2720,2517,3042,3032,2556,2372,2198,1980,1827,1814,1826,2040,1702,1797,2409,2622,2255,2047,2603,3111,2454,1973,2371,1933,1735,2330,2177,2083,2024,2131,2392,2727,3006,2770,2370,2439,2143,1455,1346,1778,1706,2225,2373,2667,2964,2207,2024,1951,2209,1967,2144,2368,1464,1345,1998,1703,1541,2045,2215,1696,1667,2083,2584,2276,2476,2687,2404,2432,2564,2284,1956,1912,2076,2445,2929,2971,3467,3145,2835,2439,2442,2208,2625,2843,2339,1920,2122,2183,2082,2152,1775,1693,1770,1980,2188,2249,2386,2431,2020,2053,2518,2248,2031,2140,1953,1584,1909,1811,2250,2444,2385,2095,1632,1802,2373,2197,2174,2232,2221,1989,1815,2265,2399,2998,3511,2632,1558,1430,1536,1660,1968,2399,2244,2254,2452,2807,3008,2735,2774,2901,2433,2150,1770,2128,2590,2233,1811,1808,1822,1729,1599,1490,1545,1602,2014,1815,1510,2110,2554,2368,1764,1837,2001,1886,2198,2260,2076,2081,1876,1615,1687,1838,2165,2131,1796,1579,1456,1494,1643,1895,1958,1840,1788,1783,1809,1685,1715,1670,1062,1254,1624,1905,1952,1688,1688,1725,1759,1907,2070,1875,1080,1117,1915,2668,2643,1951,1660,1907,1788,1378,1400,1586,1396,1479,1582,1705,1866,2110,1977,1874,1787,1411,1386,1235,1059,1154,1380,1344,1470,1629,1698,1436,1442,1718,1660,1630,1563,1570,1646,1642,1714,1687,1294,644,855,1113,1208,1358,1418,1347,1112,1405,1375,1341,1741,1970,1830,1966,1904,1593,1413,1360,1428,1575,1757,1770,1651,1332,1400,1581,1768,1853,2070,2146,1463,1476,1435,1836,2036,2310,2072,1919,2377,2658,2370,1786,1478,1476,1350,1621,2279,2615,2282,1850,1724,1823,2680,3221,3133,3160,3045,2908,2679,2303,1853,1706,1622,1859,1769,1896,1956,1831,1852,1754,1880,1800,1880,1680,1813,1779,1759,1831,1922,2035,2087,2127,2067,2080,2150,2046,2328,2696,2958,3217,3544,3441,3234,3104,2966,2885,2797,2609,2649,2678,2894,3248,2854,2894,2832,2310,1837,1931,2013,1900,1701,1623,1840,1852,1669,1535,1863,1997,1824,1813,1719,1701,1878,1947,1848,1538,1636,1730,1656,1790,1600,1532,1794,1948,1720,1804,1791,1387,1543,1506,1543,1510,1426,1268,1543,1562,1572,1593,1455,1561,1799,1756,1695,1593,1474,1517,1385,1403,1495,1510,1400,1428,1411,1283,1312,1345,1328,1347,1430,1369,1395,1369,1359,1589,1570,1390,1426,1467,1537,1624,1560,1598,1682,1423,1289,1473,1648,1525,1815,1883,1779,1710,1759,1984,1816,1691,1606,1478,1358,1390,1550,1460,1390,1375,1346,1448,1499,1398,1272,1242,1341,1461,1420,1276,1529,1670,1482,1700,1690,1316,1528,1653,1455,1654,1368,1368,1472,1635,1870,1730,1802,1534,1364,1322,1388,1445,1294,1440,1526,1730,1974,1487,1425,1824,1700,1349,1300,1354,1300,1191,1360,1531,1818,1884,2003,1975,1730,1143,1017,1217,1654,2008,1805,1470,1502,1742,2084,2036,1832,1532,1437,1421,1636,1976,2149,2181,2074,2317,2430,2140,1774,1820,1729,1607,1743,1685,1787,1927,1796,1497,1562,1610,1844,2002,1511,1457,1572,1595,1861,1879,1470,1816,2066,1858,1632,1901,2232,2057,1931,2683,2347,1728,1480,1499,1472,1610,2001,1815,1598,2016,1948,1570,1522,1593,1795,2512,2501,1918,1686,1702,1790,1723,1501,1458,1732,2163,2384,2080,2181,2113,1746,1544,1698,1888,2141,2104,2127,1983,2048,1947,1764,1986,2603,3119,2413,1755,1322,1643,2207,2383,2218,1649,1746,1634,1440,1499,2364,2791,2272,1746,1615,1959,2165,2154,2498,3281,3441,2898,2270,2980,2930,2964,2599,2061,2053,2142,2236,2543,3107,3479,4034,3522,2828,2022,1864,2447,2742,2968,2740,2165,1864,2024,1920,1928,2209,1460,1550,1668,1792,1676,1583,1765,2041,2387,2605,2263,1852,1780,1721,1685,1682,1957,1835,2244,2344,2746,3121,2577,2329,2021,1728,1678,1914,1760,1720,1794,1755,1837,2088,2307,2179,2157,2215,2092,2002,1664,1993,1935,2026,1791,1716,1600,1502,1663,1780,1726,1814,1737,1618,1784,1818,1761,1713,1738,2543,2707,2285,1722,1736,1732,1906,2006,1832,2235,1909,2212,2595,1902,1844,1916,1964,2276,2276,2332,2148,1696,1697,1619,1686,2236,2329,2687,3172,3182,3364,3260,2664,2481,3087,3598,3270,2518,2555,2404,2172,1883,2042,2359,2026,1930,2487,2741,2750,3025,2736,2669,3096,3574,4056,4284,3814,3802,3702,3648,3802,3060,2342,2648,2894,2602,2061,2454,2548,2069,1876,2028,1970,2045,2125,2020,2062,2097,1864,1791,1960,1964,1896,2114,2340,2244,2408,2626,2722,2576,2211,1865,1973,2286,2158,2071,1898,1839,1717,1648,1681,1933,1910,1711,1693,2060,2366,2264,2073,2138,2830,2442,2024,2010,2050,1765,1946,2143,2018,1885,1733,1715,1877,1646,1650,2021,2184,1901,1826,1911,1950,2301,2539,2049,2314,2651,1975,2057,2166,2157,2420,2406,2909,3165,2945,2789,2745,2714,3075,3143,3579,3573,3356,2911,3038,3300,3329,3811,3579,2743,2985,3660,3928,3876,3254,3329,2684,1734,1407,1615,1896,2235,2280,2017,1781,1760,1592,1954,2952,2946,2288,1801,1843,2138,2322,1990,1693,1715,1663,1444,1524,1643,1706],[3113,2100,2373,3301,2731,2063,2200,2461,2368,3332,2366,1562,2027,2698,2584,2361,2092,2045,2443,2603,1980,1498,1567,2438,2706,2231,1931,1741,1414,2003,2340,2237,3174,3232,2434,1954,2130,1779,1778,1729,2132,2491,2137,1654,1516,1499,1577,1918,2443,2916,2921,2104,2788,2687,2092,2391,2592,2499,2530,2599,2624,2679,2452,1749,2532,2576,2686,2556,2579,2568,2536,2547,2337,1499,1385,1708,2094,2787,2663,3443,3852,3973,4300,4271,4333,3940,3899,4193,4153,4068,4285,4328,3923,3838,4092,4152,3861,4061,4364,4097,3814,3410,2608,2001,1914,2449,1494,1687,1856,1744,1532,1705,1438,1415,1567,1615,2296,3117,2487,1753,1911,2053,2244,2032,2248,2285,2902,2712,2686,2740,2436,2117,2081,1784,1710,1835,2023,1847,2074,2620,3075,2806,2231,2124,2125,1927,2013,2029,2264,2890,2209,1623,1879,1780,1866,2338,2445,2188,1585,1492,2204,3179,3454,3774,3552,3725,3603,3219,3040,3665,3299,2928,3143,3396,3956,3994,4018,3915,4092,4200,3795,3386,3463,3669,3806,3514,2445,1934,2270,2575,2785,2997,2756,2610,2617,2577,1994,1775,1981,1849,2029,2461,2185,2008,2284,2269,1980,2184,1753,1970,2446,2131,2271,2597,2703,2376,1765,1646,1808,1877,2012,1613,1525,1338,2250,2450,2198,1847,1610,1745,1682,1532,1788,1837,1715,1791,1730,1839,2047,2586,3420,3685,3240,2243,1833,1753,2090,2360,2415,2244,1922,1996,2254,1771,1561,1473,1505,1802,1845,2003,2070,1722,1575,1702,1673,1671,1656,1502,1881,2529,3218,3444,3688,3953,3792,3608,3539,3625,2918,2017,1615,1703,1739,1496,1294,1347,1412,1417,1429,1348,1437,1648,1617,1923,1775,1653,2077,1874,1683,1716,1588,1411,1477,1499,1502,1509,1539,1747,2001,1765,1746,2144,2245,1674,1627,1632,1498,1439,1317,1453,2238,1968,1719,2417,2846,2614,2614,2563,2212,2299,2426,2132,1758,1505,1912,2542,2416,2231,2045,2104,1931,1617,1600,2037,2157,1866,1981,2039,1795,1531,1504,1966,1978,1748,1810,1643,1444,1434,1820,1952,1910,2058,2259,2210,2375,1886,1861,1773,1828,2280,2780,3076,2598,1872,1837,2642,3000,2059,1776,1815,1837,2453,2574,2822,2694,2323,2116,1809,1606,1824,1698,1744,1675,1800,2042,2578,2720,1920,1653,1693,1684,1941,1909,1645,1981,2149,1878,1676,1555,1868,1870,1531,1704,1643,1897,2009,2094,2349,2255,2309,2184,2245,1831,1662,1937,1953,1762,2136,2524,2594,2360,1868,1911,1770,1679,1728,1759,1572,1481,1587,1839,2412,2729,2344,2004,1670,1451,1422,1317,1618,2439,2360,2875,2162,1861,1851,1751,1991,2630,3162,2877,3218,3486,3694,3682,2197,2347,3104,3384,3582,3520,3444,3602,2986,2232,2316,1875,1425,1379,1987,2315,1779,1591,1726,2036,2174,1962,1819,1650,1649,1598,2243,2126,1710,1350,1356,1577,1890,1884,2109,2216,2151,2249,1873,2000,1868,1946,2579,2843,2599,1934,2006,2566,2577,2054,1904,1755,1666,1785,1866,1536,1507,1636,1532,1797,2222,2259,1925,1973,2212,1910,2069,2697,2037,2231,2230,2746,2869,2350,2381,2536,2406,3065,3830,3575,3322,2993,3019,2909,2479,2530,3146,2998,2230,1910,1825,1499,1513,1688,1614,1566,1776,1637,2004,2258,1828,1568,1896,1723,1423,1544,1668,1891,2192,2601,2459,2158,1802,1593,1807,2093,2002,1914,2300,2924,2823,2295,2565,2635,2718,2883,2997,2416,2513,2873,2476,2043,2143,2407,3495,3807,3112,2431,3005,3378,2440,2717,3494,2917,2181,1574,1503,1840,2224,2097,1857,2263,2428,2432,1876,1552,1229,1604,1691,1399,1780,2544,2811,2424,1893,1444,1302,1361,1701,1672,1561,1605,1571,1540,1577,1637,1661,1813,1840,1783,1619,1756,1765,1534,1470,1516,1506,1637,1642,1511,1886,2447,2331,1584,1537,1549,1596,1346,1289,1419,1367,1447,1552,1688,1787,1747,1721,1942,1916,1967,2766,2853,2678,2553,2501,2806,2685,2687,2902,2688,2426,2242,1742,1635,1757,2044,2311,2621,2985,3750,4488,4747,4740,4529,4477,4240,3702,2712,2041,2319,2549,2396,2687,2950,2795,2589,2630,3319,3377,3322,3023,2569,2590,2815,3138,3296,3233,2815,2549,2355,2301,2108,1793,2042,2298,2586,2784,1684,1339,1344,1416,1870,2062,2127,2044,2268,2752,2468,2418,1775,2000,2569,2592,2055,2036,2412,2018,2426,2674,2391,2140,2605,2981,2320,1001,879,1467,2233,2459,1407,913,1102,1703,2344,1926,2201,2602,2638,2737,2359,2282,2688,2630,2180,2599,2777,2361,2349,2420,2383,3119,3874,2949,2739,2611,2586,2398,2575,2686,2355,2087,1828,2075,2734,3273,3475,3365,3241,3420,3466,3219,3292,2999,2910,3522,3233,2621,3108,3123,2343,2229,2311,2130,1972,1954,1901,1864,1970,2408,2599,2376,1883,1798,2010,2370,2104,1997,2343,2026,1689,1591,1722,1895,2006,2320,2483,2408,2498,2427,1950,2509,2301,1598,1714,1892,1839,2340,2352,2775,2976,2375,2301,2088,2034,1929,1628,1409,1164,1821,2116,1687,1694,2027,2303,2023,2615,2120,2300,2387,2655,2167,1666,2141,2663,2491,2264,2083,2261,2880,2486,2532,3017,2601,2319,2440,2406,2264,2364,1870,1192,1635,2025,1989,2129,1851,1638,1946,2202,2130,1992,2072,2172,1981,2084,3052,3631,3176,2565,2734,2590,2271,2730,2397,2111,2548,2677,2312,1853,2249,2446,2071,1887,1716,1839,1581,1693,2699,2697,2531,2908,2609,1201,996,1199,1385,1946,2567,2678,2172,1904,1985,2262,2066,1859,1856,1830,1796,1847,1852,2472,2723,1877,1898,1887,2176,2431,2232,1820,2087,2084,1538,2128,2733,2437,2340,2024,1870,1901,1997,2105,1911,1687,1781,1606,1569,1996,2024,1926,1811,1655,1389,1366,1494,1572,1754,1977,2165,1953,1721,1946,1735,1950,1936,1532,1679,1926,1909,1738,1624,1729,1741,1783,1662,1686,1723,1181,1388,1892,2811,2896,2481,2007,1742,1542,1449,1621,1532,1119,1211,1299,1541,1909,2204,1770,1936,2042,1653,1337,1389,1512,1226,1208,1072,1094,1421,1780,1588,1489,1597,1580,1147,685,1091,1399,1093,1011,1019,1014,479,686,788,674,987,1384,1359,1205,1500,1703,1569,1781,1838,1830,1848,1803,1727,1570,1545,1484,1479,1421,1350,1155,1039,1282,1508,1792,1754,2004,2073,1926,2000,2145,2250,1974,1795,1814,1924,2127,2691,2492,2163,1665,1473,1378,1882,2413,2602,2230,1801,1810,1999,2208,2763,3106,3009,3056,2935,2548,2253,2190,2104,2094,2032,1839,1835,1954,1837,1786,1777,1793,1965,2048,1909,1964,1822,1738,1742,1820,2067,2278,2259,2114,2111,2159,1980,2361,2756,2891,2925,2755,2474,2329,2149,2017,2039,2172,1948,1957,1664,1774,1787,1557,1926,2090,1804,1460,1521,1692,1439,1503,1584,1565,1660,1877,1902,1792,1663,1625,1725,1715,1711,1872,1850,1609,1470,1689,1692,1567,1530,1413,1445,1584,1657,1683,1847,1909,1632,1536,1520,1570,1628,1468,1279,1526,1582,1572,1477,1412,1561,1764,1682,1429,1459,1350,1287,1353,1402,1550,1538,1451,1441,1356,1389,1282,1368,1390,1567,1467,1344,1706,1568,1382,1544,1579,1421,1465,1576,1590,1530,1591,1595,1560,1337,1431,1461,1542,1566,2032,2186,1965,1694,1578,1914,1860,1783,1554,1394,1338,1349,1566,1605,1472,1365,1282,1382,1500,1458,1403,1538,1532,1416,1333,1296,1526,1570,1434,1542,1438,1315,1517,1650,1378,1409,1317,1431,1849,2016,1605,1525,1594,1416,1318,1444,1836,1732,1333,1408,1273,1499,1660,1456,1902,2413,1870,1462,1504,1435,1376,1269,1178,1467,1810,1852,1896,1939,1808,1446,1229,1605,2481,2304,1886,1448,1360,1426,1601,1609,1550,1482,1410,1421,1433,1593,1792,1798,1900,2157,2305,2315,1989,1804,1834,1686,1797,1910,1902,1863,1667,1632,2088,1920,1569,1580,1616,1583,1729,1873,2116,1865,1556,1481,1579,1560,1487,1601,1913,1841,2003,1940,1578,1391,1429,1578,1615,1626,1609,1547,1640,2111,2376,2028,1552,1575,1603,1865,2045,1953,1918,1918,1981,1837,2221,1736,1970,2855,2858,2271,2119,2453,2244,1650,1352,1649,2199,2339,2098,1768,1929,2156,2010,1857,2556,2699,2210,1794,1458,1524,1563,1825,1779,1724,1987,1692,1546,1658,2257,3064,2837,1762,1481,1758,2180,2100,2434,3000,3363,3166,2640,2643,2973,3153,2828,2510,2371,2257,2635,2977,3480,3956,4316,4052,3948,3068,2186,2379,2768,2860,2913,2552,2198,2018,1764,2495,2620,1875,2143,1940,1579,1585,1561,1642,1747,1828,1921,2076,1874,1803,1736,1573,1577,1536,1672,2285,2732,2912,2423,2211,2288,1920,1866,1746,1894,1781,1653,1644,1536,1811,2128,1996,2192,2654,2865,2159,1875,1664,1947,1859,1887,1889,1794,1431,988,1217,1770,2024,2416,1776,1460,1652,1645,1489,1646,1569,2064,2490,1964,1575,1799,1809,2085,2646,2308,1893,1924,1958,1990,2256,2709,2560,2033,1754,1818,2000,2096,1814,1970,1983,1941,2023,2085,2895,3912,4013,3521,3102,2866,2353,2389,2895,3086,2591,2557,2465,2090,2122,2189,1916,2110,2588,2709,3067,2985,2917,3255,3811,4094,4133,4074,3866,3869,3895,3642,3584,3713,3155,2318,2574,2980,2837,2134,2244,2396,2033,1789,1993,1938,1848,2033,2020,2198,2355,1845,1753,2346,2338,1898,2243,2322,1767,1555,1829,2271,2339,1888,1805,1825,2029,1742,2005,2092,2095,1842,1749,1804,1806,1866,1828,1958,2039,2026,2231,2165,2315,2311,2029,1782,1756,1828,1767,1745,1638,1615,1803,1956,1801,1641,1620,1623,2026,1976,1771,1663,1670,1743,1798,1990,1603,1893,2104,1720,1570,2188,2729,2287,1998,2643,2793,2621,2995,2863,2655,3553,3299,3582,3340,3206,2917,2911,2912,3178,3847,3858,3600,3950,4062,4057,3615,3707,3144,2477,1978,1599,1948,2506,2414,2143,1739,1619,1528,1432,1538,2189,2187,2081,1894,1904,1999,2066,2286,1950,1684,1449,1552,1687,1761,2038],[3231,2287,2248,3078,2912,2674,2447,3141,3259,3261,2300,1754,2456,2911,2354,1932,1990,1763,1878,2043,1372,1266,1722,2429,2732,2141,1891,2032,1683,1710,1834,2137,2881,2268,2096,1834,1789,1744,1868,2030,2102,2338,2236,1685,1961,1769,1712,2009,2684,3452,2941,2243,2454,2224,1982,2424,2454,2402,2496,2667,2508,2824,2086,1984,2565,2555,2580,2615,2536,2524,2568,2414,2326,2212,2339,2868,2384,2027,2079,3266,3751,3978,4176,4080,4243,4456,4509,4273,4242,4084,4073,4070,3438,3794,3853,3769,3520,3096,2900,3156,3821,3414,2219,1869,1812,2298,1704,1883,2000,1733,1751,1756,1426,1521,1490,1412,1892,2557,2451,1862,1910,2621,2768,2568,2330,1951,2163,2508,2457,2439,2798,2430,2048,1749,1848,1835,1837,2004,2157,2209,2778,2498,2222,2092,1951,2326,2776,2518,2449,2653,2171,2055,2644,2415,2246,2574,2467,2091,1686,1772,2421,3250,3486,3624,3794,3648,2994,2215,2588,3666,3914,3945,3979,3959,4072,3888,3873,3895,4113,4232,3218,2813,3072,3029,3157,2945,2401,2750,2907,3130,3172,3270,3256,3196,2979,2793,2363,2307,2164,1605,1692,1847,1649,2042,2367,2312,1975,2302,2520,2355,2160,1803,1858,2377,2774,2303,1836,1723,1922,2050,2152,1936,1779,1315,1864,2391,2056,1653,1591,1541,1737,2106,2016,1775,2246,2437,2487,2462,2249,2181,2194,1985,1721,1557,1633,2041,2314,2234,2155,1725,1632,1758,2292,2096,1533,1462,1599,1575,1709,1983,1642,1724,1695,1598,1836,2090,1902,1768,1839,1995,2557,2851,3112,3162,2790,2831,2974,3194,3188,2321,1694,1751,1722,1618,1526,1534,1491,1423,1655,1762,1825,1685,1641,1876,2005,1715,1903,1735,1624,1739,1816,1738,1556,1429,1519,1634,2175,2674,2500,2109,2036,2770,2493,1504,1493,1496,1461,1375,1449,1672,1959,1562,1607,2159,2807,2685,2492,2334,2182,2233,1951,2183,1853,1479,1772,2110,2303,2313,2050,1780,1748,1482,1496,1936,1964,2148,2444,1982,1705,1771,2226,2608,2530,2534,2289,1659,1388,1378,1763,2246,2010,1876,1916,2071,2205,2001,1854,1512,1853,2292,2209,2610,2840,2387,2132,2512,2339,1826,1976,2164,2614,3133,3084,3197,3275,2572,2356,1885,1925,2181,2032,1976,1992,2046,2427,2440,1894,1575,1649,1605,1429,1465,1404,1610,1988,1698,1753,1652,1518,1598,1841,2061,1874,1879,2388,2308,2128,1906,2311,2387,2230,2326,2060,2046,1907,1600,1684,2212,2866,2699,2536,1793,1797,1779,2055,1989,1725,1565,1791,2153,2108,2002,1978,1834,2170,1651,1497,1504,1737,2217,2830,2314,2146,1780,1703,1604,1373,1390,2120,3139,3046,3486,3754,3768,3513,2012,1620,2111,2608,2868,2768,2547,2476,2122,2034,2325,1721,1516,1416,2025,2418,1781,1334,1372,1526,1569,1343,1437,1478,1337,1356,2294,2000,1576,1323,1153,1389,1777,1864,1829,1935,2113,2576,2393,2776,2127,1697,2167,2840,2653,1990,1940,2185,2040,1726,1848,1731,1879,1931,1831,1559,1458,1819,1842,2237,3250,3090,2661,2329,2273,2148,2153,2094,1797,2114,2209,3078,2986,2271,2293,2791,3032,3307,3642,3437,3052,2729,2644,3306,3251,3147,3266,2978,2285,1810,1610,1332,1422,1471,1549,1831,1856,1796,2102,2415,2321,2005,1901,1597,1404,1423,1578,1760,1876,2006,2083,2065,1704,1860,2062,1825,1951,2154,2189,2557,2894,2600,2822,3001,3105,2919,2418,2667,3054,2328,1704,1816,1698,1768,2632,2786,2213,2339,2879,3256,3054,3301,3493,2668,1653,1532,1670,1795,2509,2632,1947,2082,2213,2383,1982,1515,1422,1594,1562,1430,1441,1926,1982,1734,1602,1508,1444,1564,1702,1602,1548,1694,1776,1693,1663,1742,1867,2032,1840,1729,1675,1742,1681,1438,1365,1442,1443,1478,1518,1525,2187,2647,2285,1597,1428,1541,1665,1402,1350,1376,1433,1826,1992,1942,2079,2218,2548,2822,2269,2280,3228,2902,2702,2934,2776,2636,2248,2198,2134,2790,3041,2762,2029,1593,1759,1911,1903,2237,2609,3462,4316,4660,4575,4386,4300,4042,3772,2874,2076,2176,2338,2444,2631,2794,2750,2927,3516,3334,3198,3421,3682,3146,2461,2483,2867,3384,3406,2577,2215,2182,2092,2140,1979,2322,2369,2651,3155,2373,1671,1662,1643,1896,1996,2042,1859,2055,2198,1991,2625,2215,2119,2477,2880,2836,2412,2352,2121,2613,2692,2635,1732,1849,2551,2082,1167,1964,2608,2653,2301,1428,1011,1366,2130,2287,1599,2076,3061,3366,3078,2557,2617,3254,3207,2676,3316,3119,2642,2188,2158,1645,2167,3261,3340,3284,2711,2562,2922,2751,2359,2089,1908,2004,3110,3420,3252,3638,3252,2897,3238,3193,2954,3646,3934,3869,3902,3397,2731,3017,3428,2814,2419,2345,2352,2382,2162,2018,1837,1745,2563,2357,2014,1676,1658,1944,2214,2243,2215,2106,1894,1351,1199,2192,2041,1553,2244,2192,2016,2405,2549,2105,2390,2532,2030,2318,2438,1849,2227,2711,2827,2566,2631,2657,1936,1717,1785,1637,1603,1880,2123,1738,1338,1678,2188,2400,2463,2657,2017,1990,2243,2072,1559,1461,2008,2170,2088,1881,2065,2554,3128,2900,3076,2774,2646,2514,2279,2330,2403,2385,1720,1718,2388,2172,1796,1560,1461,1623,1977,2633,2907,2269,2202,2357,2243,2951,3045,2987,2469,2518,2840,2930,3029,3195,2952,2854,2867,2731,2533,2204,2743,2590,2142,1860,1967,2030,1733,1473,1603,2341,2819,2664,2430,1375,1225,1355,1438,1904,2564,2432,1979,1937,1832,1853,1810,1801,2087,1861,1814,1965,1827,2570,2974,2077,1776,2013,2252,2447,2103,1964,2445,1821,1352,2130,2271,2358,2714,2420,1978,1995,2329,2298,1735,1395,1602,1772,1858,2126,1602,1637,1923,1598,1226,1190,1340,1469,1684,2222,2494,1815,1592,1813,1987,1816,2213,2212,2187,2149,2136,1908,1750,1854,1744,1791,1782,1755,1334,1005,1515,2061,2479,2740,2735,2503,1968,1715,1770,1756,1013,691,1133,1430,1603,1779,2022,2034,2098,2132,2055,1632,1442,1606,1186,1192,1307,1338,1577,1804,1758,1720,1581,1391,912,710,1102,1251,1122,1170,1186,1088,536,580,956,947,1351,2130,2286,1597,1283,1834,2172,2172,2073,1782,1377,1396,1616,1802,1756,1584,1345,985,976,944,1199,1363,1582,1897,1830,1921,2263,2242,2048,2068,1978,1642,1480,1870,2082,1894,2092,2376,2264,2050,1802,1738,2311,2563,2185,1963,1825,1917,2029,1930,2358,2491,2447,2419,2647,2447,2105,1945,1876,1771,1766,1750,1765,1816,1798,1824,1941,2093,2361,2220,2099,2213,2236,2084,1825,1580,1865,2160,2149,1917,1811,1761,1729,1954,2254,2375,2149,1635,1650,1611,1634,1742,2249,2458,1944,1666,1460,1372,1296,1629,1829,1786,1879,1837,1659,2038,1569,1556,1570,1670,1674,1650,1481,1391,1377,1416,1632,1691,1465,1576,1696,1498,1408,1556,1545,1418,1360,1383,1368,1336,1309,1466,1596,1439,1544,1717,1760,1714,1701,1477,1452,1632,1653,1499,1402,1415,1437,1565,1422,1276,1382,1414,1402,1384,1413,1625,1519,1448,1439,1262,1383,1312,1357,1344,1435,1374,1380,1487,1404,1301,1315,1311,1407,1582,1603,1541,1497,1671,1500,1432,1460,1369,1289,1332,1395,1484,1672,1757,1771,2036,2193,1880,1800,1661,1407,1326,1468,1595,1461,1438,1540,1484,1259,1332,1408,1438,1449,1346,1249,1237,1249,1354,1418,1343,1252,1322,1432,1319,1215,1292,1311,1220,1487,1964,1889,1550,1606,1744,1760,1451,1893,2148,1577,1251,1179,1309,1692,1772,1517,1844,2076,2024,2350,1975,2002,1850,1557,1487,1889,1734,1747,1861,1862,1760,1527,1404,1799,2474,1818,1550,1655,1394,1288,1277,1323,1473,1427,1387,1494,1320,1481,1387,1450,1440,1493,1722,1867,1722,1618,1610,1594,1609,1749,1871,1766,1605,1706,1700,1688,1676,1539,1448,1692,1776,2009,2113,1607,1338,1289,1444,1498,1528,1346,1725,2046,1829,1547,1404,1366,1404,1606,1699,1664,1678,1577,1804,2111,2279,2114,1877,1655,1434,1592,1903,1699,2013,2019,2032,1893,2835,2455,2565,2884,2620,2164,1799,1868,1936,1869,1576,1627,1930,1960,1514,1630,2249,2464,2049,2109,2281,2139,2104,2042,1889,1958,1660,1540,1719,1686,1754,1749,1542,1669,1838,2099,2211,1540,1489,1573,1720,1628,2020,2065,2699,3034,2927,2719,2630,2702,2766,2683,2516,2350,2545,3227,3320,3560,3622,3745,3909,3285,2404,2325,2610,2789,3025,2414,2481,2732,2968,2964,2576,2481,2808,2365,1586,1672,2056,1975,1933,1779,1660,1958,1956,1809,1750,1705,1772,1770,1792,2103,2540,2356,2342,2756,2244,1828,1847,1905,1866,1656,1616,1654,1721,2236,2312,1856,1910,2198,2251,1991,1817,1677,1837,1703,1654,1675,1697,1855,1757,1275,1656,2009,2243,1807,1584,1682,1572,1575,1927,1831,1894,1942,1699,1763,2119,2028,1816,2272,2109,1627,1628,1654,1881,2593,2744,2225,1907,1959,1804,1514,1768,1913,2127,2330,2276,2545,3404,3963,3996,3496,3255,2823,2729,1999,2172,2691,3238,3161,2907,2415,2280,2548,2288,2163,2591,2918,2863,3007,2242,2742,3647,4243,4120,3968,4004,3900,4132,3870,3378,3574,3706,3432,2890,3077,2941,2928,2199,2123,2387,2008,1719,1826,1858,2113,2565,2337,2001,1855,1652,1837,2040,1974,1758,2015,1983,1605,1629,1871,1871,1939,2015,2393,2182,1709,1730,1977,1987,2222,1947,1669,1611,1520,1712,2170,2532,2567,2175,2051,2078,2429,2288,1883,1787,1914,1881,2148,2564,1848,1696,1955,1852,1759,1908,1908,1831,1831,1638,1598,1571,1560,1676,1639,1960,1625,2077,1732,1396,1390,2146,2932,2441,2138,2781,2286,2380,2959,3202,2911,3273,3408,3747,3198,2873,3106,3046,2842,2916,3350,3338,3565,3930,3925,3742,3796,4251,3144,2296,2413,2336,2375,2329,2235,2206,2108,1701,1603,1678,1757,2242,2362,1864,1754,2151,2276,2358,2460,2490,2450,2082,1878,1844,2087,2451],[2285,1991,1788,1958,2390,3077,2665,2920,3625,3248,2450,1955,1911,2194,2556,2175,1716,1709,1944,1734,1381,1367,1626,1661,2045,2405,2037,1936,1778,1797,1621,1989,2352,2114,1901,1654,1539,1523,1688,1807,2140,2439,2110,1779,2104,2445,2238,1999,2376,3011,2952,3055,2957,2116,1924,2530,2375,2513,2373,2751,2474,2844,1961,2133,2589,2604,2583,2485,2570,2555,2499,2254,2166,3071,3041,3317,3359,2962,2475,3041,3633,3741,3908,3853,3783,3952,4094,3930,3737,3474,3296,3037,2257,2618,3288,3564,3518,3354,2952,2743,3332,2709,2047,2047,2239,2743,2377,2007,1903,1735,2070,2144,1569,1809,1601,1572,1651,1909,2330,2099,2115,2331,2210,2370,2414,2177,2275,2600,2122,2096,2938,3079,2307,1853,1836,1749,1764,2570,2710,2375,2355,1731,2200,2767,2552,2830,2601,2361,2362,2355,2405,2315,2116,1826,1861,2023,2160,2197,2282,2230,2356,2552,2867,3066,2839,2551,2491,2427,2514,3316,4097,4156,4067,3928,3598,3425,3741,4018,4130,3973,3196,2597,2449,2139,2036,2193,2640,2867,2802,2711,2540,2804,3421,3470,2818,2548,2396,1983,1670,1615,1636,1648,1986,2326,2427,2351,2291,3387,3950,3573,2856,1912,1989,2283,2698,2175,1606,1582,1622,1844,2078,2239,2089,1784,1800,2067,2027,1700,1569,1659,2158,2703,2148,2009,2679,2402,2326,2137,1949,1868,1962,2011,1636,1595,1721,1614,1616,1963,2248,2166,1941,1887,2586,2623,1999,1688,1563,1555,1977,2342,1754,1945,2312,2242,2485,2478,1852,1746,1633,1626,1785,1783,2107,2340,2296,2338,2207,2635,2846,2059,1679,1582,1579,1598,1407,1286,1278,1389,1949,1776,1556,1552,1703,1601,1585,1488,1404,1541,1585,1745,2192,2091,1597,1443,1602,1828,2509,2689,2460,2094,2113,2526,1885,1704,1525,1459,1521,1437,1376,1471,1414,1570,1770,2128,2644,2591,2271,2030,1923,1757,2000,2839,2155,1880,1745,1665,1830,1989,1776,1534,1545,1499,1781,1865,1917,2109,2040,1733,1512,1743,2608,3260,3087,2678,2530,1742,1400,1496,1555,2122,1860,1709,2254,2382,2003,2174,2301,1986,1828,1996,1738,2443,2878,2229,1970,1776,1719,1808,2081,2683,3183,3290,3230,3652,3526,2511,2148,2263,2406,2435,2613,2510,1867,1995,2302,2053,1793,1714,1520,1277,1465,1655,1539,1629,1698,1841,1808,1833,1865,1693,1776,1905,1951,2219,2561,2253,2438,2596,2945,2559,2340,2261,2241,2444,2115,1678,1686,1867,2464,2142,2104,1866,2128,2030,2095,2218,2071,1992,2505,2469,2325,2071,1986,2024,2800,2179,1660,1846,2032,1808,1555,1503,1554,1499,1369,1510,1542,1630,2253,2462,2756,2820,3317,3885,3521,2300,1593,2384,2577,2088,1851,1582,1583,2145,2279,2377,1997,1636,1493,1705,1980,1787,1424,1395,1533,1399,1410,1470,1221,1197,1397,1874,2104,2122,1842,1447,1682,2154,2364,1779,1757,1896,2435,2779,2380,2110,2404,2369,2239,2134,1924,1884,1940,1812,1530,1597,1786,2095,1968,1738,1813,2410,2925,2506,2245,2831,2791,3056,2501,2349,2388,2764,2201,1658,1620,1924,2164,1972,1776,2057,2993,3203,3536,3755,3041,2819,2827,2852,3595,3614,3518,3903,3460,2708,2026,1381,1366,1693,1614,1707,2127,2231,2113,2096,2129,2154,2207,2319,1880,1572,1450,1637,2016,1842,1727,2031,2199,2005,2142,1808,1294,1684,1977,2271,2544,2159,1941,2373,2806,2972,2906,2361,2300,2511,2235,1839,1771,1766,2354,2322,1621,1644,2510,2879,2956,3234,3310,2840,2081,1519,1690,1607,1616,2193,2941,2229,1939,2055,2158,1798,1447,1439,1548,1843,1799,1505,1582,1488,1528,1541,1520,1454,1610,1572,1556,1918,2143,1921,1870,1895,2014,2113,2382,2347,1909,1631,1704,1615,1411,1526,1603,1498,1416,1512,1441,1805,1612,1426,1362,1337,1601,1800,1550,1422,1466,1593,1870,2136,2194,2611,2239,1943,2468,2757,2876,2875,2620,2670,2769,2569,2285,2261,2264,1966,2752,2764,2279,2200,1814,1446,1601,2035,2191,2286,3342,4144,4365,4433,4206,3840,3633,3329,2565,1949,1948,2346,2536,3024,3500,2995,3361,3793,3596,3875,3834,3899,3354,2259,2325,2529,2814,2497,2173,2007,1919,2071,2102,2038,2692,3046,3076,3175,2623,2049,1826,1778,2192,2191,2679,2060,1972,2090,1881,2197,2360,2421,2310,2513,3070,2844,1801,2264,2670,2746,2343,1808,2181,2593,2242,1656,2041,2668,1934,1073,929,922,1147,1979,1897,1848,2336,3034,3101,2677,3149,4037,4309,3835,2664,3060,2815,2523,2105,1799,1741,2226,2687,2646,2618,2700,2859,2939,2426,2080,1859,2250,3213,3746,3071,2839,3256,3344,3317,3576,3408,3051,3853,3979,3392,3405,2986,2544,2618,2591,2575,2648,2458,2410,2374,2153,2245,1997,1755,2654,2109,1963,1747,1789,1868,1775,1982,2129,1989,1713,1363,1357,2810,2756,1656,1899,2143,2213,2070,2276,2147,2070,2294,1665,1788,2247,2113,2519,2859,2304,1925,2215,2198,1625,1647,1787,1649,1842,2046,1797,1639,1576,1613,1908,1675,1811,2010,1981,2374,2400,1806,1543,1697,1700,1621,2074,2241,1979,2464,2678,2186,1930,2163,2546,2411,2226,2175,2611,2796,2230,2144,2207,2183,1925,1906,2129,2500,2468,2241,2641,2453,2878,2941,2680,3124,2814,2604,2665,2957,3031,2937,2923,3022,2912,2779,2677,2662,2721,2990,3065,2906,2701,2668,2476,2392,2370,1969,1937,2920,3245,2242,1879,1736,1538,1346,1528,2863,3582,2421,1942,1912,1796,1688,1644,1355,1730,2021,2006,2013,1900,2095,2087,1621,1447,1791,2092,1785,1477,2222,2562,1679,1518,1858,1691,1977,2358,2429,2226,1960,1971,1851,1665,1786,1838,1740,1835,1895,1703,1876,1877,1539,1289,1195,1177,1554,1783,2075,1469,1238,1450,1561,1719,2055,2099,1964,2305,2480,1952,1620,1767,1989,1827,1758,1738,1791,1346,1353,1767,1995,2066,2041,2251,2720,2452,1981,1704,1339,582,349,627,1262,1879,2041,1941,1979,2074,1932,2051,1819,1688,1766,1637,1440,1435,1378,1362,1573,1818,1517,1085,1274,1171,1060,1501,1679,1448,1198,1096,1137,785,719,1195,1332,1504,2203,2841,2162,1237,1861,2242,2189,1933,1423,1237,1230,1333,1527,1641,1732,1558,1310,1589,1508,1468,1506,1463,1723,1724,1646,2039,2211,2008,1947,1917,1916,1803,2066,2138,1775,1602,1969,1984,1987,2000,1986,2198,2156,1886,1992,1874,2008,2018,1997,1993,2009,2015,1957,1904,1761,1679,1641,1815,1780,2018,1974,2094,2122,2142,2243,2436,2625,2634,2490,2676,2963,2813,2425,2036,1418,1766,1955,1942,1698,1598,1583,1424,1463,1828,2111,1898,1476,2143,2426,2525,2519,2625,2172,1591,1448,1422,1396,1449,1565,1581,1723,1910,2094,1861,1984,2178,2158,1879,1764,1593,1435,1389,1427,1337,1387,1643,1831,1605,1727,1714,1528,1394,1487,1549,1350,1367,1398,1418,1463,1403,1501,1711,1657,1764,1554,1531,1692,1752,1832,1679,1639,1528,1553,1529,1440,1476,1479,1455,1411,1362,1352,1306,1263,1444,1527,1389,1383,1428,1289,1281,1235,1235,1282,1278,1320,1410,1494,1464,1251,1222,1398,1563,1578,1704,1550,1433,1362,1329,1384,1419,1310,1230,1316,1406,1438,1647,1803,2668,2634,2474,2026,1754,1642,1453,1395,1496,1404,1332,1332,1573,1765,1390,1491,1470,1355,1360,1342,1262,1185,1145,1422,1325,1325,1571,1623,1400,1282,1228,1253,1249,1294,1572,1970,1726,1449,1546,1722,1633,1429,1786,1848,1366,1226,1224,1481,2095,2095,1395,1370,1411,1748,2062,2266,2417,2014,1381,1488,1641,1688,1871,1742,1676,1711,1779,2106,2055,1716,1409,1454,1611,1556,1454,1406,1503,1428,1415,1664,1605,1562,1912,1522,1341,1349,1375,1427,1484,1502,1501,1500,1466,1536,1914,1815,1744,1580,1533,1644,1709,1676,1500,1507,1577,1540,1798,1909,1640,1485,1403,1436,1561,1705,1552,1625,1793,1992,1864,1456,1447,1524,1627,1729,2032,2154,1893,2084,2128,2009,2016,1944,1836,1554,1596,1715,1713,2145,1847,1866,1751,2110,2158,1941,2022,2358,2005,1605,1659,1757,1886,2042,2008,2151,2023,1954,2013,2189,2220,2022,2122,2280,2171,1831,1842,1849,1911,1894,1663,2063,2170,1984,1723,1627,1959,2129,1915,2250,1760,1550,1520,1521,1657,1787,1918,2246,2611,3017,3206,3209,2790,2445,2338,2483,2792,2823,2860,2983,3341,3563,3565,3427,3242,2429,2302,2621,3000,2934,2438,2932,3033,3132,2879,2711,2790,2779,2416,1716,1786,2610,2103,1853,1729,1903,2052,2094,2089,2019,1933,1813,1953,1878,1966,2292,2109,2546,2656,2103,1845,1721,1715,1791,1652,1777,1663,1856,2325,2068,1709,1707,1841,1845,1995,1838,1736,1664,1564,1825,1761,1716,1977,2204,1731,1715,1846,1945,1815,1541,1467,1629,1982,2112,1966,1968,1677,1492,1825,1893,1801,1775,2036,2087,1809,1625,1687,2155,2459,2049,2414,2568,2221,1686,1511,1575,1686,2225,3089,2909,2660,3548,3341,2939,3103,2845,2375,2474,2345,2630,2608,2896,3340,3131,2643,3072,3031,2653,2987,3286,2918,2964,2602,2388,2789,2899,3640,4078,3874,3834,3916,3898,3461,3331,3719,3762,3646,3121,2729,2744,2612,2070,1793,1874,1994,1917,1779,1910,2239,2487,2105,1926,1932,2029,2078,2026,2347,2575,2345,1802,2034,2263,2085,1814,1580,2149,2869,2523,1931,2228,2223,1818,2171,2079,1774,1550,1615,1871,2486,3138,3252,2494,1828,1879,2392,2666,2461,1998,2137,2395,2737,3231,2192,1641,1771,1782,1788,2097,2216,2076,1704,1520,1489,1525,1539,2168,2275,2038,1836,1672,1438,1610,1732,2132,2959,2714,2198,2320,1931,2644,3195,3362,2811,2862,3480,3709,3153,2901,3332,3447,3317,2657,2558,2364,2497,3263,3474,2902,3177,3750,2884,1868,2365,2491,2072,2051,2731,2847,2996,2187,1585,1700,1780,2153,2294,1626,1726,2022,2180,1886,1829,2968,3375,2599,1983,2278,2767,2522],[1825,1835,1845,1733,2119,3017,3083,3362,3592,2507,1930,1842,1592,1877,2661,2613,2413,2350,2128,1867,1678,1520,1580,1743,1922,2075,2125,2110,1649,1655,1906,2055,2426,2856,2514,1744,1688,1892,1885,1724,1893,2113,2052,1696,1614,2253,2282,1985,2098,2427,2548,2430,2308,1938,2041,2489,2324,2543,2504,2590,2720,2563,1860,2314,2635,2520,2584,2522,2492,2718,2416,2192,2480,3110,2407,2588,3544,3388,2734,3104,3256,3422,3448,3577,3100,3373,3442,3365,3373,2865,2631,2458,2362,2687,2856,3417,3464,3682,2863,2755,3040,2803,2174,1879,2230,2580,2337,1652,1559,1657,2214,2669,2500,2315,1643,1614,2014,2324,2046,1485,2105,2720,2490,2706,3034,2846,2723,2643,1986,1856,2496,2635,2148,1925,2010,1892,2064,2803,2876,2795,2125,1901,2380,3466,3109,2585,1968,2118,2290,2314,2770,2445,1824,1764,2062,2156,1869,2101,2407,2736,2423,2137,2388,2337,2271,2379,2934,3469,3276,3515,4144,4151,4089,4127,3948,3961,4017,3540,2929,2713,2260,1764,1636,1989,2004,2119,2719,2634,2762,2846,2554,2996,4080,3770,2323,2214,2084,1909,2023,2442,2249,2123,2431,2726,2621,2231,2423,3445,3898,3730,2844,1757,2084,2655,2462,1869,1809,1835,1866,2082,2062,2056,2109,1950,1799,1689,1982,1808,1577,1724,2390,2634,2373,2242,2026,1790,1837,2210,2879,2984,2392,2342,1790,1910,1774,1829,1801,1896,1839,2122,2034,1816,2352,2733,2250,1860,1590,1772,1970,2048,1725,2170,2908,2933,3428,3340,2008,1551,1543,1563,1727,1847,2298,2535,2272,1958,2415,3183,2730,1788,1548,1483,1577,1598,1438,1329,1282,1543,1805,1407,1258,1441,1696,1695,1534,1379,1645,1896,1690,1571,1968,2163,2199,1854,1642,1693,1893,2148,2573,2692,2625,3175,1953,1682,1471,1407,1472,1512,1616,1573,1484,1542,1657,1890,2428,2621,2464,1694,1861,1988,2260,2103,2030,2029,1686,1589,1866,1963,2003,2289,2302,1760,1622,1600,1952,2202,1979,1807,1755,2140,2943,3342,2929,1865,1952,1880,1474,1511,1466,1562,1442,1663,2264,1879,1824,2262,2302,1760,1813,2349,2360,2782,2807,2127,1744,1643,2157,2418,2310,2705,2983,2967,2987,3549,3051,2820,2676,3090,2845,2806,3001,2403,1930,2044,1785,1971,2026,1887,2111,2018,2169,2270,2286,1913,1838,2098,2232,2504,2155,1553,1707,1873,2131,1876,2158,2124,2200,2177,2286,2314,2238,1871,1904,2293,2212,2238,2702,1929,2048,1951,1997,2372,2188,1901,1945,2521,3278,2867,2432,2151,2009,1799,1934,1995,2390,2046,1842,1854,1629,1615,1892,1941,1698,1562,1780,1644,1584,1891,2540,2636,2671,2523,2792,3555,4184,3484,2212,3128,2692,2248,1704,1570,2172,2718,2688,2377,2019,1827,1562,1600,1978,1984,1489,1237,1294,1381,1429,1406,1422,1306,1195,1734,2475,2911,2863,1855,1794,2164,2220,1923,2286,2430,2428,2711,2337,2284,2946,2783,2357,2112,2008,2201,1974,1652,1723,1535,1697,1761,1582,1639,2033,2184,2439,2692,2555,2247,2282,2512,2338,2495,2138,2282,2076,1519,1625,1945,1751,1667,1603,1974,2621,2561,2712,2812,2707,3042,3108,3459,3918,3683,3838,3737,3046,2289,2082,1444,1786,2578,2437,2131,2230,2412,2696,2894,2398,2103,2497,2232,1684,1693,2026,1992,1759,1465,1708,2398,2395,2039,2079,1874,1735,1923,2034,2182,2238,1874,1526,1985,2532,2612,2624,2165,1943,2575,2390,1665,1863,1995,2214,1593,1314,2151,2459,2209,2358,2583,2185,1821,1874,1632,1549,1638,1850,2388,3124,2578,1898,1930,2245,1902,1691,1627,2054,2483,2303,1691,1677,1678,1671,1815,1648,1418,1466,1523,1648,2112,2110,2157,2322,2932,3019,2039,1965,2196,1935,1588,1648,1731,1519,1635,1593,1483,1489,1393,1416,1529,1498,1544,1428,1367,1555,1833,1713,1497,1591,1724,2322,3078,2966,2862,2402,1979,2248,2783,2835,2521,2490,2718,2460,2143,1794,2148,2460,1967,2556,2776,2309,2470,2082,1795,2122,2348,2376,2144,2946,3441,3543,3637,3550,2998,2400,2064,2046,1937,2209,2510,2366,3075,3340,3156,3231,3065,2952,3200,3471,3348,2542,2031,2194,2438,2505,2482,2555,2243,2210,2822,2750,2413,2701,2576,2419,2206,2281,2397,2195,2302,2415,2398,2814,2006,1675,1786,1794,2486,2917,2933,2267,1787,2265,2339,1632,1994,2139,1925,1722,1943,2356,2346,1793,973,776,1232,929,610,655,798,931,1788,2646,2818,2588,2941,3000,2937,4016,4576,4092,2696,2486,3308,3142,2670,2248,1747,1892,2482,2574,2080,2150,2995,3066,2397,2026,2001,2194,3031,3508,3731,3448,3163,3017,2674,2832,3686,3698,3864,4058,3560,2921,2919,2468,2503,2470,1947,1920,2134,2470,2392,2270,2092,2201,1913,1706,2275,2127,1953,2005,2076,2064,2129,2457,2243,1707,1626,1469,1378,2654,2520,1701,1840,2221,2237,2370,2765,2328,1920,1949,1520,1936,2298,2376,2719,2610,2326,2192,2210,1849,1405,1835,1972,2171,2647,1931,1715,2279,1830,1589,1461,1153,1512,1998,2898,3352,2490,1743,1625,1687,1338,2254,2943,2405,1891,2144,2346,2358,2350,2192,2149,1732,1982,2531,3032,2964,2623,2304,2245,2114,2472,3066,3053,3112,2752,2407,2846,2858,3132,3024,2910,2962,2778,2702,2847,2818,2886,2886,2656,2675,2613,2491,2286,2344,2622,2809,2539,2231,2199,2270,2430,2630,2540,2563,2611,2810,2626,2214,2138,2056,1393,1187,1775,2504,2360,1917,2075,1826,1746,1720,1628,1502,1764,1772,1908,1951,1906,2007,1776,1581,1880,2209,2166,1652,1710,2622,2019,1909,2577,2393,2116,2608,2784,2232,1787,1759,1979,1840,1705,1698,1403,969,1456,2229,2183,1735,1756,1650,1516,1265,1671,2337,2061,1728,1410,1578,1544,1594,1594,1764,1794,1657,1852,2053,1738,1643,1612,1760,1663,1669,1739,1743,1797,1932,1928,1992,2040,1994,1911,2257,2257,1963,1824,1544,937,475,365,718,1403,1986,2023,1949,1974,1958,1907,1765,1695,1812,1454,857,739,843,1053,1323,1832,1709,1375,1586,1373,991,1378,1502,1207,1130,1300,1576,1336,882,1418,1641,1677,1979,2734,2855,2484,2156,1902,1682,1462,1392,1334,1189,1264,1324,1492,1788,1712,1551,1605,1549,1480,1454,1423,1542,1686,1890,2084,2072,2004,2050,1936,1871,1923,1938,1964,1794,1598,1662,1800,1810,1765,1746,1754,1746,1847,1874,1687,1720,2015,2149,1964,1896,1870,1865,1817,1830,1775,1726,1955,2004,2069,2115,2144,2181,2223,2423,2516,2380,2480,2655,2746,2775,2437,2370,1968,1422,1499,1608,1545,1460,1397,1313,1295,1460,1615,1852,1930,2054,2544,2717,2949,2695,2037,1594,1469,1451,1415,1410,1397,1534,2025,1736,1638,1710,1465,1699,2282,2097,1603,1352,1261,1288,1380,1575,1510,1478,1646,1750,1785,1855,1583,1316,1343,1514,1467,1345,1416,1366,1381,1426,1380,1548,1613,1570,1783,1670,1529,1634,1642,1553,1748,1726,1653,1649,1665,1570,1542,1391,1462,1510,1417,1383,1214,1291,1311,1244,1459,1555,1490,1334,1344,1296,1330,1332,1282,1313,1346,1351,1413,1395,1450,1616,1648,1538,1504,1340,1297,1324,1334,1418,1400,1274,1262,1311,1454,1483,1808,1660,2154,2329,2294,1941,1474,1560,1686,1550,1466,1359,1397,1337,1432,1508,1499,1611,1531,1386,1328,1282,1259,1312,1295,1455,1393,1428,1632,1588,1419,1300,1319,1332,1422,1448,1566,1686,1505,1332,1488,1618,1432,1340,1437,1525,1507,1438,1406,1404,1678,1656,1375,1344,1398,1612,1703,1585,1837,1765,1376,1289,1344,1620,1742,1520,1481,1669,1901,2120,1809,1588,1507,1466,1381,1298,1354,1594,1681,1500,1395,1676,1833,1901,2050,1682,1357,1332,1411,1520,1733,1622,1356,1436,1495,1416,1570,1733,1643,1447,1494,1674,1484,1253,1541,1614,1554,1568,1638,1522,1539,1504,1557,1462,1368,1568,1603,1566,1631,2122,1976,1768,1581,1733,1573,1930,2075,1948,2221,2384,1883,1932,1936,1833,1914,1626,1728,1810,1906,1970,1689,1844,2031,1915,1609,1707,2187,2545,1975,1589,1749,2033,1975,1976,2203,2182,1859,2114,2437,1982,1837,1944,1892,2126,1732,1892,1887,1880,1980,1764,1901,2163,1885,1698,1854,1905,2290,2519,2345,2731,2022,1546,1555,1478,1566,1608,1973,2618,2963,2984,3117,3253,3197,3150,2952,2722,2387,2475,2597,2779,3130,3661,3626,3196,2895,2214,2403,2866,3022,2520,2564,2866,3066,3064,2712,2554,2511,2783,2644,2250,1953,2159,1765,1567,1864,2351,2316,2184,2496,2534,2424,2273,2399,2010,1685,1808,1823,1993,1981,1715,1764,1754,1615,2054,1714,1792,1694,2016,2023,1644,1779,1766,1731,2011,2048,1852,1904,1870,1814,1956,1826,1582,1822,2430,2168,1784,1718,1583,1536,1576,1623,1635,1936,2238,1935,1974,1819,1604,1804,1840,1788,1827,1968,2271,2041,1856,1606,1722,1757,1954,2546,2775,2408,1835,1709,2005,2530,3160,3770,3738,3172,3050,2564,2536,3089,3118,2811,2219,2331,2700,2683,2975,3107,2322,1963,2309,2977,3430,3666,3417,3016,2605,2427,2858,2497,2521,3343,3544,3530,3730,3802,3741,3378,3829,3834,3480,3554,3248,2835,2944,2779,2178,1878,1790,2004,2200,2232,2334,2059,1845,1782,2011,2366,2585,2446,2162,2451,2786,2454,1754,1757,2139,2383,2029,1537,2395,3000,2492,2266,2214,2375,2042,2225,2237,1984,2001,1795,2050,2432,3018,3398,2776,1928,1948,2208,2586,2202,1919,1840,2055,2049,2498,2404,2151,1783,1686,2316,2423,1957,1636,1729,1907,1725,1732,1779,2338,2510,2169,1816,1653,1558,1742,1786,2085,2766,2674,2380,2204,2269,2955,3365,3395,2874,2566,2933,2984,2641,2700,3178,3210,2632,2288,2555,2622,2554,2966,3154,2684,2290,2799,3056,2368,2779,2410,1707,1706,2440,3427,3303,2129,1517,1882,2080,1731,1803,1830,1734,1710,2048,1704,1554,2640,2836,2109,2053,2148,2255,2186],[2258,2095,2321,2338,2380,2557,2238,2412,2710,2748,2819,2277,1835,2003,2305,2381,3212,3459,2754,2324,2321,1921,1700,1813,1635,1536,2259,2564,2157,2020,1851,2042,2573,3264,3625,2427,2154,2093,2169,2248,2238,2238,1910,1492,1438,1763,2008,2047,2258,2831,2942,2415,1953,1626,2271,2452,2438,2367,2624,2640,2736,2463,1814,2510,2589,2590,2416,2570,2499,2612,2458,2213,2890,3269,2885,3171,3055,2543,2610,2478,2647,2577,2887,3273,3119,3103,3093,3282,3233,2875,2618,2605,2505,2100,1888,2745,3044,3186,3166,3367,3256,3014,2064,1685,1812,1542,1481,1264,1577,2174,2442,1989,2104,2060,1726,2480,2631,2596,2374,1597,2380,2791,2254,2508,2922,2536,2303,2283,2280,2396,2370,2314,2340,2187,2054,1896,2234,3053,2958,2529,1843,1746,2320,2923,2771,2271,1883,1719,1745,2075,2699,2334,2080,2349,2466,2791,2137,1907,2286,2678,2698,2753,2742,2488,2678,2552,2836,3373,3508,3381,3648,4166,4000,3575,3245,2792,2384,1792,1665,2210,2012,1788,1836,2792,2668,2437,2919,3139,3254,3307,3117,3439,4016,3744,2718,2335,1985,1819,1705,1897,1774,1574,2300,2553,2022,2069,2079,2456,2501,2543,2531,2285,2298,1972,1858,2048,2387,2106,2043,2099,2098,1724,1449,1375,1361,1691,1837,2052,2082,2199,2165,2020,1886,1909,2195,2591,2894,3391,3816,3732,2140,1793,2012,2101,1695,1617,1594,1774,2295,2618,2360,2117,2458,2887,2640,2023,1900,2365,2109,2021,2195,2562,3239,3636,3919,3939,2361,1469,1462,1677,2037,2249,1927,2483,2686,2511,3078,3540,2752,1708,1476,1424,1530,1670,1537,1476,1371,1428,1564,1498,1443,1704,2156,2310,1967,1488,1641,2191,2570,1981,1716,2497,2730,2192,1883,1716,1785,2018,2659,3098,2299,3047,2346,2344,2106,1599,1562,1612,1544,1664,1717,1691,1958,2021,2522,2504,2287,1796,1921,2236,2236,2160,2333,2169,1992,1625,1789,1735,1825,2332,2543,2169,1733,1696,2077,2062,1976,2181,2150,2296,2413,2539,2260,1858,2106,1992,1615,1513,1532,1761,1613,1885,2268,1712,1515,1850,2042,1515,1647,2335,2406,2264,2289,2464,2536,2339,2249,2881,2565,2587,2698,2680,3177,3564,2680,2271,2506,2908,2978,2624,2247,1992,2147,2155,1798,2034,2040,1668,1835,2008,2175,2386,2394,2010,1813,2095,2170,2542,2222,1637,1950,2688,2346,2281,2483,2491,2807,2570,1916,2084,1879,1555,1700,2311,2128,2692,2714,1966,2188,2068,2478,2531,1625,1303,1881,2171,2872,2543,2086,2234,2122,1827,1989,2115,2086,2166,2322,2005,1414,1582,2503,3109,2622,1907,1728,1678,1746,2064,2675,2752,2682,2820,2758,3269,4164,3946,2400,2943,2529,2429,1975,1919,2428,2752,2711,2182,2008,2046,1586,1616,2299,2307,1773,1369,1149,1177,1481,1478,1421,1577,1520,1960,2846,2504,1831,1668,1684,1897,2032,2468,2878,2821,2582,2380,2375,2666,2735,2535,1914,2323,2500,2631,2062,1792,2124,2098,1937,1721,1627,1818,2370,2153,2382,2541,2583,2127,1869,1893,2796,2812,1772,1510,1403,1364,1438,1567,1573,1791,2290,2558,2565,2436,2613,2865,2786,2540,2702,3100,3464,3403,3883,3157,2448,2047,1783,1659,2018,2509,2703,2238,1942,1953,1776,2081,2349,2312,2228,2297,2144,1947,2437,2305,1762,1836,2326,2641,2280,2280,2143,1977,1972,2010,1938,1933,1993,1610,1550,2258,2496,2374,2192,1826,1852,2468,1881,1813,1748,1789,2026,1517,1582,2039,1631,1655,1906,2309,2119,2493,2681,2208,1792,1926,1924,2618,3132,2632,2046,1744,2276,2093,1876,1742,1861,2290,2265,1848,1690,1544,1816,2261,2043,1530,1472,1653,1634,1712,1705,2558,3074,3362,2722,1831,1663,1914,1763,1742,1864,2185,2233,2197,1866,1549,1590,1610,1494,1418,1630,1676,1548,1577,1751,1974,1767,1652,1771,2430,2923,3222,2861,2506,2368,2515,2587,2713,2702,2509,2615,2604,2409,2540,2781,2811,2228,1711,2259,2810,2602,2969,2755,2814,2424,2307,2807,2298,1875,2561,3385,3753,3197,2126,1648,2132,2365,2044,2596,2613,2354,2658,3012,3041,2637,2619,3041,3279,3066,2540,2136,2286,2422,3163,2720,2806,2779,2322,2571,3279,2764,2141,2302,2712,2780,2301,2049,2191,2941,3144,2310,2036,2532,2269,1792,1877,1952,2444,2610,2653,2370,2020,2693,2376,2014,2434,2602,2390,2077,2144,2523,2334,1343,567,900,1311,1069,1029,1146,1241,1116,1979,3322,3040,2518,2337,1979,3081,4253,3507,3131,2049,2259,2918,2547,2058,1783,1849,2265,2445,1959,1967,2570,2880,2448,2206,1975,2065,2737,3242,3360,3631,3747,3763,3365,2921,2943,3405,2745,2783,3237,3288,3164,2877,2341,2040,2026,1830,1832,1934,2310,2603,2474,2178,2094,1786,2037,2732,2646,2694,3217,3479,3360,3089,3362,3096,2149,1949,1723,1521,2551,2744,1946,1859,2269,2771,2777,2547,2226,1919,1913,1855,1557,1686,2096,2438,2835,3059,2632,2523,2188,1644,1878,1959,2004,2323,1870,1511,2180,2410,1996,1547,1555,1829,2292,2875,2829,1896,1676,1961,1511,1615,3253,3636,2642,2235,2213,2230,2348,2764,2399,2250,2504,3318,3361,3207,2664,2006,1780,1935,2335,3024,3072,3309,3322,2953,2441,2531,2511,2583,2846,2530,2116,2415,2509,2477,2601,2801,2774,2491,2455,2421,2145,2059,2160,2240,2382,2421,2132,2071,2076,2130,2205,2306,2518,2362,2363,2408,2222,1849,1643,1372,1535,1902,1712,1521,1798,1874,1562,1509,1559,1493,1465,1819,2216,2256,1997,1954,2018,1920,1831,2438,2769,2455,2410,2680,2566,1767,2545,3360,2930,1957,2048,2199,1829,1621,1791,1824,1771,1781,1770,1152,671,1584,2783,2751,2319,1949,1986,1605,1368,2061,2247,2081,2132,2657,2344,1562,1646,1679,1713,1773,1859,2176,1851,2006,1958,1751,1729,1707,1704,1855,1984,1872,1821,2015,2116,2087,2099,2178,1936,1762,1723,1720,1680,1389,990,874,1512,1628,1767,1785,1775,1792,1964,2057,1873,1786,1809,1223,842,1326,1310,1260,1179,1731,1655,1275,1290,987,824,1071,1209,1373,2279,3243,2969,1923,1049,1617,1811,1735,1804,2437,2874,2775,2224,1698,1686,1740,1679,1678,1284,1169,1245,1404,1626,1757,1695,1556,1477,1484,1465,1465,1569,1841,1964,1770,2019,1986,1925,1925,1856,1733,1812,1869,1697,1650,1773,1801,1757,1757,1738,1727,1798,1796,1826,1707,1641,1865,1947,1847,1811,1753,1754,1924,2006,1999,1907,2089,2007,1946,1996,1898,1816,1911,2021,2253,2321,2341,2500,2583,2469,2419,2496,1982,1544,1542,1516,1430,1338,1246,1538,1581,1606,1409,1574,1925,2028,1856,1669,1995,2007,1498,1482,1641,1701,1517,1433,1425,1710,2178,1661,1484,1519,1487,1798,1963,1978,1685,1311,1432,1916,1673,1744,1675,1412,1486,1709,1768,1594,1361,1288,1406,1386,1326,1248,1334,1272,1309,1368,1494,1681,1535,1384,1455,1594,1572,1528,1463,1343,1475,1565,1697,1650,1782,1783,1635,1417,1304,1339,1465,1436,1326,1191,1053,1353,1683,1605,1328,1237,1319,1298,1249,1301,1436,1470,1329,1340,1275,1343,1503,1688,1559,1435,1416,1422,1434,1422,1399,1663,1415,1372,1315,1229,1279,1253,1403,1329,1624,2054,1929,1708,1450,1422,1593,1685,1580,1512,1438,1450,1450,1353,1438,1620,1614,1512,1338,1369,1326,1362,1387,1374,1286,1375,1518,1469,1270,1334,1533,1493,1598,1920,1910,1577,1409,1307,1648,1619,1464,1526,1616,1654,1811,1617,1455,1351,1456,1339,1289,1462,1426,1334,1378,1430,1647,1641,1382,1245,1285,1377,1393,1370,1462,1966,2078,2049,1977,1738,1526,1235,1135,1352,1680,2386,2444,1683,1323,1365,1490,1535,1538,1501,1451,1478,1414,1499,1869,1616,1360,1449,1584,1437,1649,1879,1709,1534,1550,1450,1337,1367,1770,1844,2080,1670,1493,1470,1555,1486,1744,1788,1754,1637,1459,1524,1571,1716,2258,2383,1989,1656,1558,1638,1910,1896,1840,1845,1715,1977,1972,2038,1668,1700,1918,1722,1718,1613,1771,2193,2072,1929,1931,2072,2296,2436,2094,1914,2006,1816,1791,1820,1813,1909,1836,2048,2130,1918,1820,1711,1664,1739,1575,2188,2256,2106,2001,1745,1822,1857,1865,2031,2293,2331,2317,1965,2219,2344,1870,1605,1505,1525,1633,1732,2216,2931,3107,2944,2955,3230,3580,3577,3806,3858,3271,2579,2464,2622,2889,3151,3493,2941,2558,2395,2540,3034,2893,2896,3100,2778,2937,3159,3071,2572,2582,2729,2059,1757,1713,1667,1672,1751,1827,1911,1926,2291,2558,2525,2568,2434,2690,2187,1678,1622,1785,1894,1757,1616,1844,2084,2292,2418,1714,1580,1710,1771,1640,1728,1898,1763,1843,1958,1776,1750,1848,1898,1875,1836,1664,1464,1759,2059,1791,1699,1603,1091,1223,1519,1675,1516,1822,2101,1821,2013,1776,1548,1698,1656,1632,1707,1789,1952,1938,2080,1866,1942,1891,1968,2452,2979,2732,2330,1969,2279,2767,2944,3484,4058,3709,2564,2153,2490,2867,3025,2785,2184,1909,2259,2771,3030,2508,1816,1806,2257,3165,3731,3528,3395,3335,2425,2369,2683,2195,2623,3383,3272,3730,3952,3952,3957,3719,4081,3840,3328,3474,3184,2798,3095,3206,2312,1757,1593,1882,2471,2557,2208,1810,1620,1721,1842,2327,2781,2419,2002,1929,2408,2324,2073,1903,1765,1958,1993,1908,2412,2567,2581,2097,1821,1869,1825,1952,1981,2080,2005,1720,1851,2148,2636,2989,2649,2250,1913,1742,2491,2185,2048,1783,1858,2088,2039,1864,1820,1765,1998,2701,2287,1869,1795,2318,2602,2112,2065,2104,2117,2456,2247,1772,1758,1532,1749,1796,1820,2252,2242,1902,1694,2126,2668,2977,2910,2488,2104,2217,2382,2559,2702,2541,2701,2582,2763,3146,3124,2945,2978,3106,2925,2503,2475,2578,1924,2199,2195,1846,1902,2857,3680,3232,2142,1760,2274,2435,1680,1597,1930,1901,1697,1852,2021,2012,2395,2697,2253,1830,1628,1652,1978],[3340,3087,3118,3163,3162,3464,3386,3183,2905,3241,2911,2645,2552,2878,2587,2044,2813,3736,3317,2844,2833,2044,1670,1714,1619,1801,2568,2987,2865,2545,1936,1984,2167,2426,3311,3182,3032,2059,1990,2153,2408,2522,1976,1666,1757,1927,2373,2742,2520,3094,2844,2198,1830,1713,2350,2416,2387,2394,2510,2533,2612,2129,1869,2598,2436,2584,2430,2461,2588,2482,2444,2488,2973,3120,2836,3051,3123,2812,2784,2720,2229,1862,2944,3605,3267,2998,3291,3564,3392,3338,2820,2721,2438,2292,2394,3321,3392,3037,3057,2763,2583,2180,1708,1976,2173,1371,1350,1758,2172,2286,2502,2291,2419,1977,1720,2288,2223,2169,2129,1743,1693,2061,2136,1982,2416,2486,2153,2357,2630,2462,2267,2316,2439,2380,1975,1758,2519,2820,2332,2055,1902,1578,1758,2271,2231,1704,1899,1914,2131,2175,2626,2242,2177,2154,2178,2873,2402,1561,1784,2140,2636,2674,2568,2621,2719,2619,2511,2852,3129,2971,3061,3217,2830,2363,2280,2326,2246,1996,2116,2626,2361,1809,2014,2619,2612,2652,3306,3550,3573,3266,2899,2585,2339,2370,2532,2462,1985,1812,1892,1800,1562,1955,2770,2718,2230,1769,1653,2121,2292,2564,2392,2197,1853,1723,2152,2687,2718,2186,2352,1770,1919,1729,1401,1910,2287,2476,2338,2198,1947,1807,1752,1902,2292,2724,3377,3411,3098,3721,3874,3884,2573,2022,2454,2182,1593,1530,1557,2018,2836,2901,2706,2342,2285,2662,2699,2202,2407,2701,2386,2262,2578,2584,2617,2894,3317,3212,2566,1675,1741,2030,1843,1927,1858,2492,2722,2201,2166,1778,1381,1421,1507,1438,1513,1516,1350,1385,1384,1409,1777,1916,1670,1901,2397,2553,2189,1975,1777,2475,3074,2447,2347,2915,3031,2656,1937,1835,1982,2406,2097,2000,2032,2330,2928,3062,2157,1549,1444,1544,1724,1728,1631,1931,2225,2396,2456,2173,2164,2098,1787,1819,1896,1958,2396,2202,2148,1844,1838,1681,1970,1972,1655,2113,2181,2076,2405,2172,2008,2321,2620,2643,2129,2123,2223,2387,2351,1892,1649,1620,1677,1825,1716,1918,1819,1464,1508,2193,1919,1475,1814,2335,2182,2069,2361,2534,2792,2920,2122,2458,1982,2189,2151,1913,2104,2301,1953,1714,1711,2003,2279,1858,1774,2045,2255,1925,1568,1661,1654,1497,1578,1730,1716,1627,1589,1672,2009,2418,1989,2364,2283,1762,2003,2784,2187,1969,2182,1973,2251,2475,2030,2084,1658,1533,1716,2608,2426,2621,2112,1933,1917,1840,2236,1893,1202,1180,1937,2221,1902,2011,2338,2181,1995,1680,1664,2198,2554,2637,2478,1931,1470,1653,2404,2681,2176,1668,1816,2433,2645,2786,3075,2820,2798,3200,3038,3256,4058,3974,3138,3275,3234,3050,2565,2341,2209,2431,2414,2026,2357,2351,1892,1790,1863,2120,2206,1866,1573,1498,1635,1453,1345,1504,1467,1571,2480,2023,1527,1604,1632,1638,1662,2192,2503,2251,2208,2109,2143,2679,2788,2923,2808,2857,2922,2744,2271,2243,2054,2089,1826,1720,1930,2319,2624,2493,2691,2711,2250,1760,1673,2035,2818,2756,1997,1553,1547,1458,1560,1772,2151,2059,2351,2367,1964,1954,2502,2766,2054,1931,2248,2335,2776,2899,3333,3185,2424,1878,1866,1941,2019,2332,2314,1626,1787,1807,1704,1872,1879,1972,1780,2236,2496,2249,2389,2316,2566,2476,2574,2730,2833,2380,2194,1948,1766,1804,1849,2122,2276,1785,1606,1843,1881,1820,2478,2001,1843,1936,1970,1976,1938,2220,2020,1821,2033,2044,1888,2160,2242,2768,2765,2890,3285,3109,2434,2085,2050,2397,2564,2296,2432,1902,2080,2168,1853,1546,1719,2113,2270,2325,1958,1789,2100,1942,1906,1790,1860,1737,1790,1854,2168,2626,2614,2272,2049,2086,1889,1896,2011,2872,3301,3138,2463,2283,2042,1679,1654,1658,1418,1475,1711,1735,1817,1823,1762,1682,1536,1686,2102,3076,3528,3085,2777,2995,2724,2510,2496,2593,2484,2137,2260,2515,2460,2623,2825,2520,1904,1976,2009,2712,2908,3107,3353,3031,2503,2154,2374,2083,1620,2291,3780,3781,2929,1957,2003,2752,2283,1807,2010,2094,2082,2245,2315,2189,2092,2231,2442,2447,2040,2057,2564,2764,2778,3152,2683,2325,2398,2302,2240,2350,1869,1983,2205,2791,2783,2700,2872,2955,3166,3031,2544,2305,2624,2352,1651,1911,2004,2179,2534,2613,2406,2599,3073,2611,2418,3051,3571,3044,1947,2336,2905,2464,1647,1316,1886,1864,1354,1304,1526,1358,1092,1648,2473,2448,2558,2091,1519,2469,3173,2349,2585,2487,2382,2651,2683,3232,2843,2324,2477,2348,2117,2666,2643,2298,2096,1904,2174,2625,3034,3134,2678,3041,2611,2801,2949,3119,3220,3305,2712,2890,3002,2831,2831,2933,2268,2168,2103,2103,2045,1805,1947,2547,2662,2317,2138,2044,2260,2899,3526,3575,3716,4049,3432,3004,3077,2857,2446,2210,1594,1551,2553,2790,2092,2154,2208,2770,2922,2665,2156,1923,1786,1421,1152,1776,2262,2155,2859,3951,3304,3055,2482,1930,1576,1569,2270,2469,1976,1527,1908,1965,1360,1553,1921,1698,2040,2658,2307,1854,2089,2326,2081,2755,3653,3222,2763,2685,2220,1926,2210,2418,2392,2620,3262,3332,3100,2702,1928,1736,2053,2843,3452,3661,3034,3125,2996,2781,2132,1912,1791,1949,2432,1965,2003,2452,2344,2203,2511,2633,2307,2275,2401,2083,1738,1662,1492,1112,1289,1743,1648,2033,2290,2314,2316,2553,2445,2286,2243,2253,2072,1794,1777,1707,1756,1426,1693,1757,1709,1484,1254,1418,1534,1308,1490,1976,2172,2091,1701,1582,2101,2058,1839,1853,2034,2361,2619,2754,2175,1980,2465,2361,1844,1360,1224,1669,1865,2078,1892,1371,1507,1644,1533,932,953,1950,2781,2760,2342,1869,1995,1666,1795,2426,2242,1964,2026,2324,2214,1756,1389,1451,1714,1750,1874,2009,1809,2042,2073,1936,1945,1723,1293,1714,2033,1900,1722,1725,1963,2034,2148,2031,1623,1371,1412,1695,1792,1734,1422,1349,2204,2248,2034,1914,1838,1499,1489,1624,1483,1406,1550,1509,1201,1394,1114,1037,1057,1576,1626,1151,970,1035,1106,1185,1166,1368,2687,3461,2834,2114,1178,1510,1708,1669,1711,2268,2872,2768,2106,1575,1594,1820,1867,1770,1425,1208,1215,1239,1446,1821,1920,1634,1471,1549,1607,1730,1884,1909,1905,2004,2027,1996,1974,1813,1698,1747,1770,1787,1760,1767,1738,1704,1770,1798,1834,1939,1877,1860,1981,1888,1842,2143,2276,1802,1703,2258,2498,2481,2423,2321,2286,2163,1984,2088,1980,1521,1354,1639,1719,2128,2138,2235,2402,2807,2616,2459,2375,1920,1597,1505,1426,1462,1566,1349,1503,1653,1347,1279,1585,1769,1639,1426,1416,1471,1475,1389,1507,1627,1708,1648,1603,1780,1732,1477,1544,1720,1369,1374,1742,1505,1508,1521,1418,1562,2043,1929,1712,1427,1124,1164,1632,1670,1464,1314,1386,1383,1386,1357,1242,1258,1328,1388,1360,1466,1457,1379,1368,1362,1462,1295,1339,1316,1403,1443,1524,1447,1368,1569,1692,1649,1704,1631,1562,1526,1460,1473,1302,1305,1378,1415,1344,1278,1264,1214,1307,1456,1514,1824,2093,1772,1578,1467,1536,1639,1604,1508,1476,1434,1404,1480,1520,1321,1465,1835,1518,1255,1260,1311,1288,1281,1318,1396,1362,1309,1586,1517,1416,1601,1780,1684,1608,1606,1492,1346,1330,1353,1412,1419,1471,1435,1637,1421,1583,1676,1418,1321,1380,1464,1438,1284,1438,1838,2024,2300,2996,2610,1849,1395,1420,1418,1368,1309,1520,1796,1836,2006,1808,1448,1355,1295,1203,1384,1700,1534,1467,1874,2141,2137,1893,1244,1235,1239,1451,1420,1634,2110,2420,2142,2037,1804,1635,1459,1334,1193,1294,1909,2834,2426,1600,1484,1471,1500,1541,1417,1600,1698,1554,1486,1617,1776,1624,1447,1481,1548,1786,2150,1800,1567,1429,1533,1550,1600,1428,1547,1699,1687,1584,1406,1446,1433,1512,1777,1620,1483,1384,1531,1575,1504,1406,2302,2653,2213,1942,1785,1959,2156,2120,1990,2071,2039,1980,1819,1719,1700,1754,1638,1606,1700,1569,1664,1829,1874,1888,2123,2186,2069,2134,2029,2380,2261,1617,1692,1779,1691,1900,1938,2265,1798,1838,2101,1723,1497,1618,1768,1823,1849,2059,1891,1697,1729,2051,2171,1895,1994,2380,2109,1656,1526,1660,1829,1650,1592,1720,1547,2101,2763,3112,3034,3172,3359,3733,3894,3685,3880,4188,3828,3382,2711,2238,2430,2736,3002,2566,2609,2741,2788,3019,3142,3216,2812,2620,2730,2608,2765,2677,2965,2384,1862,1775,1798,2048,2029,1895,1964,2230,2048,2621,2709,2386,2387,2503,2508,1872,1610,1616,1560,1647,1587,1520,1791,2145,2046,1848,1554,1570,1720,1523,1533,2048,2242,2016,1850,1795,1843,1832,1698,1782,1900,1862,1713,1729,1883,2120,2144,2013,1888,1379,1527,1576,1487,1492,1811,1836,1913,2156,2121,1750,1784,1842,1813,1765,2081,2422,2078,1862,1945,2071,2012,2137,2978,3437,2735,2818,2147,2156,2684,2769,3121,3786,3851,2994,2282,2082,2414,2707,2374,2014,1682,1632,1995,2673,2585,2246,2081,2689,3366,3716,3472,3256,3159,2359,2339,2543,2470,2640,3240,3377,3689,3784,4055,4065,3916,3987,3701,3684,3973,3743,2982,3228,3388,2822,2124,1726,1817,2275,2406,2326,2171,1806,1895,1937,2633,2565,2062,1835,1779,1832,1921,1892,1433,1472,2038,2258,2170,2118,2508,2589,1878,2037,2214,2178,1708,1595,1941,1936,1669,1707,1752,1986,2311,1934,2005,1913,1764,2069,2130,2021,1884,2002,1944,2108,2072,1740,1859,2065,2037,1828,1972,1862,2131,2206,1917,2040,1952,1808,2188,2222,1956,1607,1598,1944,1964,1918,1961,2082,1873,2013,2436,2439,2444,2296,2115,1927,2010,2397,2680,2631,2133,2246,2928,3388,3292,3044,3128,3174,3190,2886,2909,2679,2215,2040,2343,2436,2119,2249,2671,2974,2820,2156,2083,1974,1761,1517,1691,2074,2054,2110,2077,1711,1544,1809,2256,1964,1650,1710,1781,2251],[3520,3256,3523,3584,3926,4071,4139,4368,4256,4032,3974,4038,3858,3852,3567,3007,3244,3949,3840,3332,2965,2510,2268,2094,1891,1954,2610,2846,2574,2222,1854,1764,1783,1699,2240,2756,2990,2481,1995,1562,2052,2668,2452,2006,1842,1928,1989,2864,2652,2631,2135,1809,1645,1869,2380,2449,2411,2401,2622,2361,2814,1864,2068,2531,2468,2423,2465,2472,2481,2521,2580,3093,3574,2888,3172,3441,3530,3385,3096,3399,2770,2741,3364,3233,3069,3270,3665,3176,3252,2980,2426,2407,2398,2524,3231,4197,3596,2941,2796,2081,1774,1767,1676,1977,2338,1798,1738,2244,2342,2064,2311,2285,1980,1855,2048,2322,2303,1671,1755,2038,2198,2314,1988,1774,2275,2611,2476,2504,2475,2230,2242,2296,2667,3030,2523,2024,2158,2275,2009,1779,1805,1616,1665,2265,1901,1666,1737,1614,2471,2612,2784,2461,2436,2113,1733,2362,2201,1520,1531,1742,2504,2668,2858,2910,2623,2676,2909,2862,2642,2424,2126,1896,1857,1873,2091,2523,2604,2287,2159,2315,2199,2435,2563,2329,2687,2643,3249,2984,2608,2021,1581,1356,1273,1661,2023,1812,1510,1735,1877,1765,1898,2603,2854,2767,2091,1890,1998,2434,2946,2575,1765,1488,1437,1986,2520,3113,2364,1924,2036,2213,2393,1979,1798,2459,2468,2137,1863,1729,1842,2036,2178,2501,2775,2854,3210,2974,2863,3278,3176,2998,2541,2561,2680,2177,1798,1901,1966,2529,3310,2930,2686,2280,2267,2531,2548,2197,2521,2841,2639,2496,2520,2171,2091,2111,2483,2390,2202,1735,1614,1671,1566,1890,2586,2562,1753,1474,1566,1557,1675,1806,1554,1400,1514,1438,1296,1307,1331,1361,1714,1716,1489,1466,1532,1909,1737,1692,1686,2136,2533,2524,2522,2615,2947,2865,1999,2094,2280,2358,2209,2250,2502,2434,2692,2688,2151,1709,1414,1465,1511,1350,1463,2142,2303,2788,2370,2004,2020,1591,1581,1802,1793,1201,1598,1803,1922,1891,1808,1765,2130,1885,1526,1830,2017,2050,2133,2034,2441,2249,2470,2295,2231,2027,2203,2644,2458,1877,1663,1636,1603,1598,1693,1774,1687,1738,1653,2507,2142,1709,2722,3191,2627,2199,1980,2288,2402,2360,1844,1953,1844,2070,1848,1593,1670,1735,1743,1672,1788,2254,2084,1928,1986,2497,2183,1747,1583,1499,1545,1559,1644,1654,1735,1873,2052,2500,2862,2840,2456,2737,2750,2054,1895,2007,1619,1603,1888,1746,2039,2067,2099,2151,1765,1682,1917,2555,3012,2893,2407,2297,2124,2096,2172,1977,1405,1387,1615,1758,1798,2148,2344,1936,1831,2018,2232,2645,2920,3104,3316,2484,1733,1976,2169,2016,1870,1539,2077,2980,3102,3012,2873,2454,2699,2907,2840,3118,4160,3830,3264,3440,3544,3164,2633,2391,2238,2246,2183,2105,2626,2164,2154,2146,1792,2220,2612,1998,1650,1490,1480,1553,1487,1548,1860,1706,1622,1419,1435,1540,1604,1652,1591,1468,1409,1527,1510,1315,1890,2446,3079,3013,2696,2413,2599,2584,2491,2995,2024,2314,1895,1713,1879,2197,2112,2058,2495,2502,2254,2092,2049,2097,2260,2235,2199,1942,1750,1774,2005,2239,2145,1754,1808,1931,1775,1758,2410,2405,1753,1665,1569,1619,1898,2499,2577,2484,2396,2472,1964,2059,1950,2158,1924,1791,1880,2220,2264,2160,1968,1856,1698,2026,2162,2027,2511,2565,2567,2420,2555,3052,3082,2177,2032,1851,1435,1620,1774,2148,2110,1633,1521,1483,1511,2269,2801,2204,2345,2276,1719,1429,1945,2374,1858,1757,2067,2086,2299,2472,2501,2709,2396,2685,3242,3008,2401,1990,1944,2445,2284,1749,2324,2153,1953,2229,2122,1917,2408,2720,2911,2765,2364,2175,2365,1624,1488,1628,1943,1917,2214,2925,3384,3152,2789,2713,2877,2584,1935,1822,2094,3252,3929,3154,2315,2147,1982,1684,1709,1572,1493,1596,1924,1839,1722,1549,1425,1520,1615,1731,2202,2864,3023,2940,2964,2941,2759,2389,2163,2185,2100,2548,2664,2303,2670,2734,2382,2312,2191,2670,2533,2623,2664,2890,3198,2752,2044,1497,1276,1440,1719,2543,3899,3316,2736,1898,2136,2413,2131,1807,1777,2125,1903,1551,1558,1709,1823,1887,2266,2317,2087,2701,3186,2809,2525,2498,2441,2478,2216,2191,2049,2013,2216,2426,2588,2686,3179,3653,3520,3127,2635,2553,2621,2427,2337,2435,2161,2283,2311,2683,3144,3024,2642,2504,2643,2623,2308,2597,3329,2430,2166,3023,3086,2492,2315,1963,1653,1394,1224,1722,2284,1327,990,1382,2302,2366,2305,2343,2106,2121,2640,2511,2850,3192,2426,2514,2597,2678,1979,1937,2751,2769,2537,2688,2280,1993,1999,2688,3481,3121,3430,4321,3936,3782,2956,2801,3263,2933,2937,3491,3564,3703,3942,3307,2633,2549,2234,2353,2267,2117,2099,1926,1906,2443,2544,2153,2287,2180,2048,2459,2735,1979,2435,3493,3051,2603,2932,2431,2180,2106,1633,1731,1892,1496,1429,2130,2334,2121,1968,1692,1853,1825,1699,1613,1738,2416,2265,1729,2887,4095,3697,3360,2650,2073,1698,1693,2027,2149,2198,1963,2330,2355,1867,1933,1728,1476,2255,2398,2249,2254,2416,2360,2430,3187,3560,3271,3171,2866,2406,2037,2026,2189,2265,2511,2558,2437,2573,2315,2185,2798,3104,3041,2958,2763,2455,2189,2231,2174,2225,2649,2436,2514,2334,1448,2051,2483,2785,2597,2463,2588,2377,2461,2523,1876,1183,738,633,449,450,699,914,2117,2754,2426,2403,2480,2335,2407,2304,2186,2054,2102,2138,1853,1491,931,1095,1214,1632,1815,1824,2057,1953,1691,1782,1780,2114,2054,1280,1725,2055,1956,1874,1705,1865,1944,1931,1864,1821,2121,1983,1860,1190,1593,1657,1687,2083,2260,1397,1355,1744,1667,1484,939,1056,1904,2302,2638,2238,2041,1851,1752,1805,1884,2030,1880,1922,2133,1686,1844,1526,1510,2139,1914,1707,1720,1668,1829,2080,1893,1746,1530,1084,1561,1971,1773,1715,1855,1763,1766,1784,1526,1295,1504,2050,2336,1859,1870,1748,1829,1972,2154,2457,2444,1930,1361,1252,1196,1015,1216,1287,1578,1334,1221,959,1115,1347,1588,1510,1180,1485,1663,1350,1071,1161,1408,2600,3461,3229,2215,1263,1370,1742,1745,1918,2382,2280,2007,1636,1507,1428,1584,1584,1544,1548,1366,1191,1151,1271,1599,1880,1733,1866,1992,2008,1923,1881,1859,1909,1957,1844,1841,1880,1785,1749,1756,1700,1750,1803,1716,1708,1761,1998,2069,2341,2531,2262,1969,2062,1953,1757,1939,1912,1505,1873,2755,2472,2200,2318,2282,2204,1909,1778,1842,1714,1360,1339,1384,1576,2005,1896,1815,2168,2525,2630,2574,2092,1866,1646,1698,1447,1317,1418,1318,1311,1393,1427,1749,1737,1601,1611,1509,1547,1357,1348,1537,1612,1450,1615,1693,1719,1728,1655,1775,1880,1740,1549,2165,1932,1519,1434,1476,1426,1440,1626,1511,1337,1362,1310,1295,1787,1732,1680,1398,1379,1449,1443,1276,1321,1366,1396,1520,1481,1451,1323,1524,1419,1405,1380,1269,1252,1321,1436,1379,1377,1317,1272,1447,1523,1481,1751,1510,1534,1554,1635,1694,1622,1429,1216,1195,1266,1335,1224,1230,1222,1356,1460,1870,2370,2242,1726,1682,1724,1552,1475,1465,1332,1338,1372,1444,1421,1307,1385,1693,1506,1361,1265,1252,1272,1235,1382,1425,1528,1506,1718,1562,1422,1546,1679,1702,1653,1439,1418,1340,1460,1408,1316,1363,1321,1327,1410,1385,1701,1613,1192,1179,1255,1309,1312,1237,1469,1905,2082,1874,1887,2119,1948,1625,1717,1753,1571,1422,1960,1828,1679,1726,1501,1534,1488,1261,1247,1428,1550,1403,1361,1482,1800,1836,1662,1331,1261,1270,1528,1609,1749,2398,2701,2157,1706,1555,1887,1785,1709,1383,1131,1655,1977,1547,1456,1554,1494,1569,1630,1657,1897,1860,1582,1471,1831,1942,1971,1700,1555,1821,2010,2568,1866,1427,1413,1470,1767,1625,1500,1920,2010,1791,1714,1549,1678,1410,1362,1488,1333,1286,1607,1680,1544,1587,1513,1715,1924,2130,2120,2055,2236,1992,1968,2159,2653,2292,1793,1792,1999,1894,1701,1565,1547,1573,1779,1652,1622,1706,1715,1776,1752,1795,1776,1790,2090,1951,1887,1794,1731,1659,1847,1897,1945,1792,2001,2144,1896,1814,1788,1746,1459,1680,1803,1607,1620,1580,1878,2138,1892,1846,1893,1688,1497,1493,1593,1586,1710,2057,1939,1567,1947,2399,2451,2509,2912,3583,4082,3912,3373,3452,4036,3957,3408,2589,2470,2745,2836,2763,2564,2655,3012,3156,3043,2994,2936,2640,2654,2730,2552,2862,2895,2544,2210,2053,1730,1748,2231,1699,1523,2148,2527,2024,2351,2391,2366,2496,2669,2352,1831,1725,1914,1776,1776,1731,1782,1858,2012,1860,1870,1764,1568,1607,1638,1864,2187,2216,2056,1727,1737,1862,1725,1559,1691,1741,1785,1880,1836,1882,2245,1922,1787,1807,1692,1654,1693,1670,1731,1664,1697,2093,2436,2549,2084,2029,2114,2082,1948,1705,2188,2088,1677,1974,2252,2450,3055,3637,3649,3185,3208,2564,2230,2298,2420,2555,3060,3313,2990,2501,2035,2161,2529,2304,1962,1636,1769,2017,2584,2935,2352,1981,2480,3152,3476,3574,3418,3335,2942,2823,3249,3384,2933,3130,3671,3828,3873,4078,3946,3967,3969,3698,3763,3972,3240,2993,3197,3270,3118,2374,1776,1789,1738,1856,1905,2121,2351,2530,2654,2730,2168,1925,1701,1818,2042,2120,2057,1620,2039,2417,2469,2163,1803,2679,2644,1892,2024,2765,2574,1785,1889,2070,1946,1649,1540,1553,1610,1509,1381,1451,1526,1499,1661,2030,1906,1608,1601,1650,2249,2185,1917,2087,1826,1765,1731,1675,1771,1699,1726,2085,2085,1704,1761,1926,1731,1680,1637,1556,1710,2194,2220,1796,1731,1858,2170,2520,2612,2483,2257,2083,2019,2006,2363,2519,2523,2495,2597,3199,3407,3176,3152,3384,2991,2618,2225,2894,3122,2255,1682,2223,2409,1879,2082,1903,1893,1857,1653,2098,1944,1633,1577,1846,1871,1922,2449,2396,1522,1179,1595,1666,1650,1725,1949,1935,2088],[3171,2170,2292,2529,3575,3834,3841,3957,3980,4003,4027,3980,3947,3886,3696,3570,3928,3808,3860,3864,3738,3354,2920,2571,2112,1605,1974,1917,1589,1394,1340,1692,1746,1655,1598,2041,2555,2702,2408,1985,2078,2414,2396,1687,1816,2294,2112,2229,2604,2632,2136,1723,1593,1846,2146,2242,2287,2300,2547,2610,2711,1819,2264,2476,2490,2498,2462,2504,2520,2565,2671,2879,3834,3619,3595,3284,3226,3040,2889,2368,2600,3559,3488,3149,3064,3272,3277,1973,2342,1863,2105,2665,2407,1958,2535,3408,3549,3316,2780,2121,1888,1912,2314,3047,2856,2583,2862,2828,2391,2249,2119,1815,1808,2001,2000,1950,2021,2017,2346,2305,2332,2509,2354,1956,2129,2580,2534,2320,2276,2261,2286,2457,2518,3083,2963,2023,1862,2499,2592,2381,2098,2229,2344,2458,2152,1977,1600,1259,2120,2410,2318,2299,2395,2005,1506,1896,1844,2003,1799,1829,1853,2115,2768,3156,2928,2612,2578,2620,2606,2379,1876,1615,1666,1902,2226,2437,2179,1911,1852,1721,2035,2957,3038,2203,2665,2424,2319,2128,1817,1570,1472,1367,1288,1450,1826,1837,1556,1714,1766,1625,1635,1676,1798,2236,2199,2177,1815,1759,2357,2279,1712,1502,1976,2552,2462,2330,1902,2062,2711,2916,2863,2314,1940,1888,1813,1861,1912,1967,2084,2144,1891,1937,1869,2063,2216,2554,3466,3261,2734,2573,2592,2624,2584,2596,2656,2452,2663,3227,3042,2373,2607,3088,3250,3188,2766,2397,2551,2579,2376,2130,2148,2238,2330,2076,1910,1828,1602,1425,1482,1623,1582,1697,1969,1537,1390,1477,1524,1570,1915,2245,1892,1559,1447,1439,1527,1444,1407,1329,1428,1364,1310,1435,1472,1454,1346,1520,1598,1737,2289,2193,2363,2894,2766,2137,1632,1832,2536,2377,2402,2954,2763,2079,2088,2139,2004,1951,1644,1559,1552,1456,1477,1887,2047,2076,1838,1837,1963,1837,2020,1948,1742,1605,2118,2281,2133,1919,1843,1911,1888,1695,1733,1902,1915,1968,2154,2276,2657,2419,2368,2474,2396,2031,2075,2538,2916,2265,1924,1689,1528,1611,1538,1423,1510,1563,1604,2259,2004,1642,2336,2759,2798,2544,1776,2259,2346,2024,1788,2166,2348,2163,1804,1536,1724,2384,2494,2311,2242,2919,2303,2137,2156,2406,2110,2395,2574,1907,1738,1699,1709,1722,2014,2242,2161,2329,2242,2621,2756,2796,2689,2105,1905,1787,1579,1809,1931,1675,2142,2113,2238,2200,1842,1713,1837,2533,3376,3353,2868,2931,2812,2250,1787,2092,1989,1788,1671,1662,1708,2035,2208,2306,2305,2780,2885,2578,2281,3209,3694,3165,2891,3285,3031,2836,2535,1539,2009,2895,2988,2885,2736,2279,2458,2599,2699,3114,4132,3912,3063,3023,2885,2379,2364,2284,2667,2721,2482,2226,2548,2128,2086,2844,2715,2568,2990,2166,1704,1402,1328,1609,1722,1658,1967,1874,1626,1483,1403,1622,1841,1754,1505,1347,1437,1511,1622,1744,2215,2906,3133,2963,2656,2164,2332,2439,2106,2577,1990,2091,1920,1838,1682,1741,1753,2229,2416,2024,2302,2116,1886,2143,1850,2098,2214,2197,1835,1867,1910,1750,1572,1434,1517,1613,1869,1859,2270,2002,1713,1658,1542,1602,1734,2082,2669,2290,1775,2083,1860,2134,2481,2066,1944,1757,1793,2126,1932,1713,1938,2005,1692,1853,2221,1818,2214,2092,2453,2403,2396,2646,2232,1599,1825,1837,1638,2176,2048,2386,1895,1559,1833,1771,1549,2166,2336,2018,2124,2131,2002,1633,1700,1859,1714,1965,2126,1831,2415,2792,3370,3107,2255,2408,2405,2258,2100,1963,2205,2031,1878,1513,1919,2288,1974,2111,2414,2332,3030,3104,2663,1894,2229,2229,2332,1900,1700,1929,2243,2534,3074,3503,3479,3447,3232,2945,2943,2362,1772,1919,2056,2565,2706,2102,1774,1898,1842,1663,2210,1740,1552,1707,1776,1667,1545,1408,1486,1594,1620,1831,1959,2579,3262,2762,2895,2770,2555,2409,2412,2471,2445,2713,2642,2621,2993,2751,2236,2219,2470,2959,2740,2752,2769,2556,2242,1589,964,859,1072,1471,1690,2607,3687,3283,2339,1730,2492,2943,2480,1972,2634,3647,2658,1710,1751,2029,2048,1950,2180,1977,1792,2644,3108,2746,2526,2110,2419,2271,1842,2112,2147,2014,2297,2633,2975,3167,3328,3298,3041,2751,2688,2881,2770,2500,2237,2880,2790,2599,2272,2373,2874,3001,2812,2233,2163,2656,2374,2533,2783,2359,2648,2610,2486,2569,2607,1980,948,561,1043,1762,2373,1349,1076,1484,2354,2443,2438,2482,2179,2263,3229,3592,3226,3370,2439,2546,2578,2546,2335,2403,3034,3249,2484,1956,1987,2050,2656,3501,3824,3164,3614,4123,3361,3341,3173,3233,3732,3398,3436,3807,3384,3245,3982,3576,3245,2610,2404,2077,1997,2089,2259,2333,2406,2825,2988,2271,2272,2088,2010,2216,2108,1810,2014,2876,2725,2574,2726,2378,2230,2182,1715,1542,1252,693,891,1719,2108,1510,1606,1970,1940,1825,1661,1621,1654,2095,2465,2387,2683,3384,3681,3584,3074,2946,2634,2185,2469,2472,2216,1677,1947,2332,2116,1655,1704,2144,2298,2139,2136,2231,2194,2036,2392,3030,3598,3137,2517,2647,2576,2142,1721,2014,2431,2176,2182,2766,2776,2286,2446,2266,2046,2166,2687,3052,2643,2491,2921,2972,3326,3061,2778,2707,2278,2038,2448,2756,2783,2539,2383,2148,2021,2537,2895,2459,1259,492,350,304,378,503,1064,2348,2984,2708,2634,2452,2326,2493,2210,2060,2199,2097,1986,1766,1010,664,1287,1444,1808,2815,2819,2464,2228,2226,1916,1360,1626,1901,1716,2211,2280,2008,1914,1989,2287,2164,2259,1806,1461,1383,1898,1772,1561,1816,2069,2223,2556,2261,1416,1782,1644,1906,1366,1376,1355,1343,1592,1963,1961,2012,2040,2122,1870,1623,1521,1476,1765,1954,1798,2033,1886,1665,1814,1836,1793,1762,1689,1816,1952,1553,1476,1322,1257,1374,1924,2119,2244,2193,1879,1679,1534,1355,1740,2610,2952,2231,1787,2044,2041,1918,1763,1996,2578,2715,2046,1385,1384,1360,994,1408,1456,1587,1486,1311,1033,1083,1394,1539,1423,1344,2442,2484,1722,1421,1391,1534,1804,1791,1605,1596,1338,1331,1965,1944,2002,2249,1536,1377,1638,1663,1424,1390,1676,1853,1867,1738,1396,1171,1208,1378,1714,1894,2037,1874,1547,1496,1558,1757,1948,1817,1754,1737,1728,1742,1911,1532,1477,1577,1714,1692,1794,1975,2387,3019,3112,3043,3001,2405,1992,1976,1830,1831,1768,1681,2364,2674,2099,1974,1988,1809,1834,1570,1470,1500,1538,1368,1310,1402,1491,1755,1875,1904,2181,2164,1843,2118,2160,1866,1760,1448,1262,1237,1272,1290,1351,1401,1679,2003,1840,2037,2028,1631,1547,1555,1346,1603,1560,1295,1308,1461,1709,1790,1816,1936,1880,1602,1455,1734,1650,1499,1424,1594,1636,1694,1758,1461,1496,1748,1425,1193,1707,1954,1694,1399,1395,1451,1431,1457,1502,1368,1528,1792,1635,1379,1336,1466,1416,1491,1505,1484,1412,1344,1477,1526,1432,1291,1289,1423,1351,1416,1562,1522,1345,1613,1753,1527,1727,1728,1478,1369,1323,1410,1289,1292,1304,1243,1362,1531,1870,1898,1828,1757,1571,1437,1383,1340,1245,1322,1368,1370,1363,1365,1409,1368,1348,1400,1347,1317,1262,1287,1345,1494,2047,1621,1545,1518,1318,1432,1516,1670,1775,1637,1520,1418,1435,1336,1389,1367,1300,1432,1443,1391,1404,1278,1200,1490,1596,1484,1406,1306,1427,1676,1869,1780,1579,1938,2084,1811,2108,2026,1673,1418,1566,1494,1480,1475,1602,1684,1470,1348,1254,1215,1295,1312,1346,1393,1416,1420,1368,1316,1194,1385,1586,1492,1851,3030,2814,2175,1599,1826,2062,2113,1617,1139,1362,1714,1578,1593,1682,1611,1502,1403,1445,1833,2088,1955,1609,1520,1890,2059,2101,1780,1687,1953,1737,2238,1770,1488,1474,1411,1584,1603,1679,2300,2568,1980,1756,1668,1809,1560,1390,1589,1522,1417,1572,1449,1550,1862,1832,1630,1662,2038,2114,2496,2061,2363,2024,1733,1920,2177,2143,2138,2044,1931,1652,1509,1529,1548,1875,1669,1700,1604,1568,1588,1469,1433,1525,1811,2071,1975,1772,1636,1727,1665,1669,1935,2031,1802,1860,1959,2016,1880,1922,2208,1884,1902,1737,1708,1541,1436,1688,1989,1796,1567,1790,1731,1502,1542,1600,1725,1876,1816,1664,1785,1920,1891,1763,1584,1930,2764,3430,3431,3154,3413,3733,3416,2776,2609,3217,3345,2963,2741,2491,2529,3021,3024,2994,2806,2618,2641,2548,2424,2402,2562,2374,1935,2042,1905,1644,1417,1863,1634,1958,2621,2334,1813,2138,2502,2511,2652,2272,1963,2092,1851,2070,2378,2321,2514,2270,1804,1831,1963,2178,2156,1854,1813,1748,1833,1970,2010,1871,1701,1838,1911,1812,1792,1786,1731,1881,1875,1846,1850,2048,1823,1751,1677,1638,1617,1754,1858,1791,1668,1700,1886,2203,2373,2280,2204,1826,1635,1678,1765,1821,1684,1720,2233,3123,3372,2988,3372,3498,3414,3187,2689,2407,2361,2503,2326,2060,2253,2762,2940,2317,1881,1948,2671,2238,1919,2005,1759,1854,2208,2142,1919,2277,3024,2861,3098,3499,3562,3210,2712,3152,3786,3464,2878,3240,3537,3327,3428,3798,3951,3990,3694,3550,3791,3504,3208,3016,3020,3021,2422,1802,1955,1568,1553,2079,2165,2501,2917,2921,2675,2288,2132,2172,2270,2373,2690,2508,2237,2840,2604,2299,1945,1633,2276,2609,1959,1859,2714,2764,2347,2251,1769,1736,1631,1547,1570,1554,1560,1686,1532,1368,1604,1839,1996,1804,1604,1630,1565,1868,1843,2181,2658,2308,1996,1944,1722,1671,1565,1566,1723,1617,1499,1685,1863,1784,2156,2302,1860,1532,1990,2154,1844,1694,1978,2404,2565,2536,2553,2588,2391,2312,2257,2259,2312,2677,3008,3210,3383,3610,3850,3595,3222,2757,2350,2620,3111,3134,2586,1933,2183,2646,2136,2176,1824,1764,1731,1700,1807,1713,1684,1950,2220,2062,2181,2755,2844,2242,1465,1695,1699,1711,1888,2183,2001,1878],[2911,1485,996,1704,3073,3576,3639,3784,3924,3970,3896,3913,3854,3880,3687,3595,3640,3622,3780,3829,3663,3498,2916,2240,1982,1760,2149,1828,1628,1475,1489,1765,1792,1668,1490,1667,2060,2286,2332,2023,1915,2414,2731,2316,2199,2150,1985,2228,2552,2497,2193,1818,1652,1730,1815,1864,1920,2062,2029,2314,2027,1797,2340,2475,2474,2508,2556,2436,2785,2654,2754,3031,3575,3376,3295,3549,3065,2827,2885,2661,3428,3360,2742,3113,3554,3731,2912,2101,1948,1532,1930,2409,2368,2366,2448,2743,3066,3374,2622,2111,1958,2007,2869,3688,3535,3295,3564,3326,2919,2284,1985,2116,2252,2201,1804,1810,1979,2196,2390,2337,2170,2685,2796,2099,2010,2258,2800,2466,2037,2125,2204,2425,2456,3076,2843,2017,2258,3084,3341,3147,2381,2752,2956,2212,2061,2207,1834,1605,1805,1948,2117,1959,2136,2135,2198,2015,1595,1533,1672,1907,1548,1864,2750,3006,2832,2863,3132,2943,2837,2314,2097,1990,1983,1986,2114,1765,1363,2093,2369,1664,2120,3101,3100,2890,2852,2390,2248,2204,1946,1697,1434,1201,1163,1315,1680,1804,1712,1709,1557,1549,1651,1647,1519,1651,1981,2049,1342,1880,2087,1823,1757,1977,2525,2697,2427,2586,2933,3105,2825,2424,2058,1758,1500,1491,1691,1592,1727,1685,1752,1952,1755,1759,1975,2035,2520,3422,3912,3823,3485,3159,3220,3129,3120,2961,2777,2819,3172,3500,2835,2310,2745,3333,3492,3463,3330,3428,3465,2658,2213,2044,2408,2852,2909,2375,2244,2077,1588,1456,1461,1568,1465,1413,1510,1564,1522,1380,1373,1587,1880,1992,1852,1658,1491,1449,1623,1565,1476,1480,1398,1388,1342,1290,1355,1403,1385,1517,1708,1973,2409,2438,2370,2435,2257,1749,1613,1804,2308,2702,2801,3176,2601,1755,1736,1896,2286,1849,1570,1631,1660,1547,1511,1804,1971,2037,1948,1741,1880,2020,1930,1782,1570,1520,1644,1886,2061,2223,2345,1807,1664,1832,2350,2628,2640,2401,2158,1976,2127,2254,2474,2514,2351,2147,2019,2302,2514,1813,1683,1530,1396,1583,1591,1469,1512,1377,1628,2276,2126,1771,2136,2468,2701,2724,2366,2126,1945,2202,2248,1863,1920,2273,2470,1850,2301,3145,3206,2629,2220,2669,2104,1618,1551,1680,2108,3110,3367,3352,2454,2237,2132,2276,2402,1965,1609,1904,2091,2543,3050,3387,3168,2711,2271,2476,2246,1989,1499,1038,1280,1945,2209,2153,2515,2633,2445,2464,2946,3488,3200,2977,2998,2281,1782,1992,2398,2498,1975,1848,1630,1825,1873,2131,2470,3098,2836,2149,2091,2627,2561,2856,3795,4000,3376,2684,2437,1880,2305,2894,2940,2806,2735,2478,2436,2591,2810,3151,3727,3636,2698,2928,3260,2428,2401,2777,2932,2886,2707,2619,2514,1877,1940,2282,2128,2382,2460,2089,1633,1489,1394,1390,1710,1699,1663,1813,1802,1811,1967,2080,2198,1717,1390,1447,1786,2005,1829,1749,2337,2823,2744,2702,2508,2214,2266,2034,2316,2101,1875,2106,2129,2238,2194,2028,2014,2364,2309,2104,2526,2788,2669,2322,1895,2026,2188,2111,1758,1565,1483,1392,1293,1323,1489,1798,2154,1873,1631,2030,2481,2316,1948,1957,2246,2496,2446,1944,1720,2378,1844,1715,2080,1964,1960,1631,1623,1672,1497,1405,1698,1832,1884,2663,2434,1965,2047,1886,2027,2070,2020,2265,2166,1609,2100,2655,2568,2160,2310,2443,1889,1895,2198,1918,1656,1800,1769,1493,1490,1772,2337,2250,1686,1857,2168,2261,2074,1778,2056,2435,2919,2743,2093,1865,2124,2472,2353,2158,2013,1755,1599,1625,1792,2044,1977,1831,2358,2238,2826,2649,2162,1885,2311,2324,2337,2371,2141,1816,2017,2622,3306,3431,3221,2969,2647,2513,2389,1964,2131,2407,1869,1762,1826,2029,2338,2547,2083,2184,2070,1693,1665,1576,1420,1503,1692,1683,1610,1875,2266,2076,1949,2164,3307,3580,3278,3319,3023,2503,2497,2678,2405,2297,2282,2469,2837,2885,2691,2300,2344,2468,2089,1665,1426,1489,1674,1410,1132,1474,1594,1569,1618,1902,2243,2929,3299,3063,3011,2852,2159,2575,3864,4286,3042,1961,2074,2808,2621,2080,2187,1827,1629,2381,2382,2214,2576,2302,2829,2398,1911,2055,1945,1930,2665,3087,2946,2957,2731,2719,2953,3179,3354,2791,2711,2459,1965,2530,2702,2192,2073,2424,2858,2556,2107,2141,2329,2621,2116,2191,2277,2216,2251,2052,1813,2120,2509,2181,1395,855,1054,1817,2431,2008,1661,2005,2699,2743,2554,2501,2365,2758,3497,3328,3050,3520,3354,3067,2878,2942,2735,2418,2730,2785,2100,1991,2003,2612,3341,3666,3890,3066,3905,3749,2757,2877,2868,3173,3891,3983,4019,4019,3531,3400,3540,3060,2942,2979,2732,2090,1923,2102,2212,2490,2514,2473,2818,2326,2354,2318,2297,2041,2034,2071,2021,2069,2061,2508,2466,2291,1977,2230,1632,1584,1310,901,1248,1863,1844,2073,3220,2875,2127,1904,1534,1659,1563,1683,2172,2429,2354,2874,3754,3555,2874,2879,2648,2728,3104,1986,1296,1620,2183,2410,2154,1676,1979,2636,2549,2244,1667,1622,1853,3051,3723,3367,3013,2727,2702,2587,2375,2229,2232,2238,2018,1577,2219,2733,2701,2476,2587,2177,2476,2770,2878,2878,2371,2207,2262,2471,2754,2500,2592,2552,2710,2859,2844,2313,1937,2216,2263,1832,1672,2334,2653,2317,1095,496,398,339,551,1308,2182,2952,2978,2651,2859,2745,2537,2220,2104,2054,2176,1647,2019,2366,1359,802,1300,1300,1827,2856,2710,2180,2181,3577,2831,2040,2602,3040,2333,1949,1974,1948,2012,1951,2057,2020,2277,1803,2109,2128,2128,1756,1665,1979,1969,1670,2038,2036,1499,1804,1609,1750,1615,2005,1879,1511,1317,1640,2077,2189,2238,2359,2010,1735,1714,1644,1590,1786,1933,1887,1896,1737,1594,1605,1562,1377,1540,1790,1718,1308,1267,968,750,1147,1620,1924,2320,2366,1656,1548,1693,1969,2836,3218,3482,2809,2208,2221,2051,1872,1632,1650,2055,2220,1948,1588,1520,1382,1344,1633,1775,2046,1756,1281,1121,1042,1409,1531,1712,1410,2015,2010,1529,1238,1180,1520,1724,1526,1221,1376,1490,1543,1883,1853,1733,1699,1404,1299,1405,1562,1497,1398,1455,1538,1517,1532,1369,1359,1558,1746,1770,1631,1500,1300,1155,1242,1340,1639,1822,1707,1674,1528,1708,1992,2006,1498,1433,1505,1634,1786,2008,2230,2243,2286,2226,2383,2163,1735,1716,1876,1839,1886,2030,2310,2779,2776,2447,2629,2370,1689,1960,1888,1980,1771,1554,1454,1499,1499,1567,1993,2167,1857,2000,2237,2186,1974,1915,1761,1526,1237,1242,1183,1220,1397,1584,1473,1456,1488,1618,1727,1586,1516,1416,1345,1284,1415,1395,1346,1340,1381,1716,1949,1826,1780,1868,1908,1657,1582,1612,1461,1418,1466,1493,1565,1722,1789,1723,1853,1367,1333,1794,1792,1571,1511,1472,1503,1454,1560,1598,1354,1440,1678,1695,1493,1360,1359,1317,1403,1452,1556,1535,1469,1516,1608,1518,1411,1455,1556,1489,1433,1431,1359,1563,2085,1781,1289,1372,1437,1617,1647,1506,1509,1400,1283,1344,1328,1318,1527,1775,1892,1852,1678,1654,1424,1322,1322,1444,1443,1286,1296,1438,1455,1343,1352,1375,1267,1282,1220,1112,1210,1213,1295,1511,1457,1540,1414,1326,1311,1336,1529,1738,1833,1606,1432,1429,1630,1749,1476,1370,1534,1471,1371,1409,1335,1196,1322,1592,1467,1333,1281,1505,1785,1876,1752,1514,1766,1869,1651,2183,2158,1760,1389,1365,1461,1418,1380,1519,1631,1625,1462,1281,1419,1679,1528,1601,1503,1475,1567,1498,1196,1108,1351,1583,1746,2167,2712,2336,2060,1743,1811,2062,2084,1763,1751,2129,2169,1647,1593,1317,1344,1381,1395,1576,1950,2150,2284,2146,1834,2137,2497,2197,1644,1539,1568,1667,1781,1501,1354,1287,1307,1495,1562,1613,2002,1822,1578,1670,1853,2032,2020,1947,2176,1946,1480,1526,1656,1663,1652,1563,1532,1626,1872,1876,1984,2266,2495,2071,1704,1546,1770,2025,2122,2149,2003,1639,1957,1829,1692,1983,1831,1667,1653,1734,1583,1537,1539,1763,1942,1874,2067,1757,1475,1744,1648,1683,2155,2176,1770,1632,1731,1910,1927,2253,2185,2078,1955,1707,1823,1699,1508,1646,1592,1566,1821,2242,1882,1576,1619,1708,1989,1693,1385,1598,1933,1915,1645,1695,1699,2061,2310,2415,2667,3222,3332,2922,2500,2675,3374,3765,3363,3133,3186,2658,2276,2744,2651,2833,2792,2873,3169,2917,2632,2322,2370,2489,2545,2209,1961,1859,1715,1603,1998,2372,2070,2077,2299,2678,2923,2652,2584,2021,1859,1710,1727,1895,2931,3270,3398,2769,1702,1798,2076,2039,2017,2200,2135,1960,1779,1701,1788,1843,1815,1830,1814,1743,1690,1797,1649,1637,1732,1991,1887,1824,1775,1779,1673,1681,1630,1421,1371,1588,1615,1570,1857,2315,1975,2535,2376,1946,1869,1844,2144,2288,2183,2380,2570,2470,3548,2821,2898,3163,3077,2526,2372,2339,2122,2437,2350,2054,2109,2584,3147,2481,1857,2054,2556,2282,2033,1894,1743,1707,1910,2155,1853,1685,2436,2641,2810,3085,3327,2929,2314,2774,3606,3564,2733,2836,3000,3020,3548,3720,3739,3661,3451,3127,3129,3250,2813,2580,2728,2898,2666,2127,2082,1530,1487,2049,2227,2562,3128,3085,2569,2373,1959,2332,2472,2448,2755,2691,2367,2273,2024,1884,1906,1761,1913,2316,2301,2288,2482,2305,2295,1981,1600,1663,1815,1688,1525,1449,1504,1669,1550,1630,2099,1819,1794,1875,1753,1735,1701,1712,1725,1787,2554,2599,1433,1568,1767,1575,1524,1452,1625,1737,1702,1914,2287,1892,1703,2404,2186,1807,2010,1819,1640,1642,1875,2282,2440,2492,2556,2814,3104,2966,2618,2447,2365,2876,3084,3333,3644,4003,3913,3340,3015,2490,2361,2732,2581,2100,1960,2028,2588,2767,1996,1720,1625,1939,1921,1675,1636,1710,1772,1939,2534,3039,2634,2995,3009,2454,1701,1587,1810,1933,2010,2252,2322,1888],[2380,2058,1843,2460,3242,3011,2828,3450,3861,3913,3842,3935,4104,4195,3907,3820,3742,3757,3851,3801,3971,3876,2994,2556,2515,2002,2118,1945,1864,1990,1896,1779,1959,1977,1768,2005,2302,2452,2486,1995,1800,2338,2501,2161,1949,1764,1833,2370,2467,2309,2457,2290,1821,1894,1857,1876,1897,1909,1858,1887,1802,1919,2105,2095,2270,2345,2543,2509,2761,2772,2940,3359,3425,2884,3002,3225,2573,2761,3032,3273,3339,3195,2800,3176,3699,3238,2688,2786,2402,1703,1930,2461,2700,2675,2212,2756,3069,2639,2573,2053,1547,1740,2408,3296,3719,3598,3767,3656,3484,2541,1733,2154,2323,2632,2318,1678,1812,1926,1990,2331,2604,2373,2093,1768,1843,1938,2524,2142,1938,1821,1703,1770,2044,2448,2624,2626,2563,2980,2996,2750,2698,2909,2612,2222,2369,2365,2181,1996,1659,2024,2249,1630,1880,2160,2393,1996,1594,1432,1286,1409,1600,1974,2382,2222,2132,2591,2944,2666,2780,2114,2178,2333,2260,2023,2046,2030,1915,2619,2843,2414,2472,2920,3194,3538,2988,2667,2677,2396,2281,2188,1658,1407,1376,1461,1678,1813,1765,1869,1778,1623,1662,1685,1544,1803,2139,2159,1876,2005,2563,2503,2420,2707,3051,3332,2790,2362,2304,1994,1753,1756,1962,1973,1682,1896,2018,1698,1728,1717,2270,2457,2341,2540,2784,2556,2942,3716,3710,3893,4124,3957,3794,3388,3285,3085,2998,3335,3802,3814,3094,2653,2850,2879,2979,3299,3278,3501,3674,2954,2330,2245,2532,3086,3018,2457,2584,2143,1711,1566,1495,1632,1606,1675,1736,1673,1713,1643,1638,1730,1739,1708,1510,1426,1523,1381,1434,1489,1637,1608,1396,1467,1445,1445,1657,1745,1481,1489,1682,1951,1894,1925,2083,1951,1835,1736,1555,1570,1918,2482,2443,2996,2708,2118,1875,1956,2063,1641,1633,1859,1865,1685,1609,1907,2126,2432,2136,1751,1687,1797,1797,1759,1665,1584,1436,1691,2133,1890,1616,1629,1614,1572,2266,2702,2630,2568,2010,1964,2208,2088,2003,2071,1880,1688,1692,1945,1641,1515,1517,1464,1874,2242,1816,1481,1517,1553,1946,2508,2539,1983,1757,1875,2175,2175,2026,1842,1620,1864,2033,2125,2667,2966,3066,2565,2872,2849,3077,2601,2655,3068,3038,2871,2409,1669,2241,3317,3515,3095,2150,2732,2844,2584,2548,1959,1850,2525,2380,2463,2814,2978,2423,2507,2618,2899,3024,2539,1952,1561,1311,1792,2288,2169,2403,2608,3312,3367,3476,3880,3760,3437,3226,2454,1719,1560,2222,2724,1914,2062,2272,1872,1951,1944,2552,2924,2611,2155,1781,1708,1983,2683,3820,3683,3096,2266,2040,2166,2203,2729,2852,2768,2651,2431,2381,2547,2768,3116,3348,2966,2297,2596,2688,2542,2437,2860,3118,2890,2436,2328,2041,1729,1842,1599,1569,1577,1358,1450,1355,1378,1776,1738,1472,1427,1355,1414,1612,1709,1960,2353,2919,2170,1773,2006,2182,2199,1905,1927,2150,2326,2342,2425,2473,2324,2388,2017,2269,1837,2050,2295,1902,1858,1937,2186,2248,2337,2517,2075,2115,2322,2116,2099,2179,2138,2054,1926,1908,1831,1911,1477,1360,1296,1327,1621,1972,2048,1958,2098,2217,1967,2056,2019,1907,1956,2188,2045,1852,2160,1723,1551,1657,1599,1251,1236,1490,1468,1473,1645,1729,1634,1990,2494,2236,1985,1695,1645,1898,2025,2021,2455,2524,1887,2754,3312,3251,2391,2243,2165,1882,1919,1901,1754,1704,1700,1652,1503,1679,1704,1976,2324,2091,1812,1730,2048,2356,1974,2104,2653,2853,2375,1670,1676,1741,1746,1920,2030,1961,1780,1594,1622,1786,2206,2401,1844,2124,2186,2801,2906,2494,2172,2240,2306,2314,2534,2831,2266,1762,2085,2454,2372,2050,1748,1606,1850,2080,1897,2259,2656,1910,1936,1882,2013,2397,2967,2596,2527,1992,1640,1451,1403,1492,1641,2004,1998,1623,1876,2835,2473,2210,2177,2303,2656,3532,3606,2842,2786,3044,3144,2785,2379,2574,2430,2608,2972,2875,2302,1931,1700,1075,842,872,1127,1627,1588,1215,1699,1823,1541,1733,1527,1769,3166,3772,3531,2652,2013,2257,2996,4007,4244,3151,2070,2127,2958,2722,2010,2093,1960,2151,2689,2275,2541,2505,2551,2676,2198,1814,2000,2149,2455,3127,3216,2879,2989,2548,2714,2651,3037,2890,2149,2431,2668,2179,2587,3031,2634,2603,2601,3056,2267,1998,2301,2601,2997,2305,2278,2761,2470,2480,2369,1764,2162,2166,1776,2032,1375,1256,1933,2172,2208,2194,2476,2776,2699,2437,2457,2404,2359,2337,2259,3318,3900,3457,2453,1901,2025,2476,2978,2635,2277,2048,1881,2561,3471,3812,4031,4090,4048,4078,3416,3439,3961,3696,3671,3610,3081,3398,3817,3633,3406,3430,2985,2867,3228,3125,2472,2173,2124,1836,1907,2226,2082,2304,2512,2559,2514,2500,2215,2207,1999,1755,1831,2116,2320,2430,2497,2084,2599,2003,1961,1635,979,1122,1598,1643,2243,3812,2929,2285,1989,1900,1798,1576,1885,2110,2258,2578,3064,3359,3050,2273,1679,1904,3011,3542,2368,2040,2437,2690,2592,2164,1767,2054,2521,2310,2078,2092,1736,2188,3532,3488,2667,2405,2501,2663,2620,2308,2199,2483,2596,2040,1925,2719,3140,2790,2592,2812,2743,2359,2492,2431,1984,1962,1432,1672,1990,2182,2204,2765,3111,3142,2968,2701,2237,2175,2279,2244,2120,2046,2524,2740,2556,1686,789,400,652,1632,2743,3062,2923,2756,2392,2521,2700,2526,2248,2160,2165,1886,1265,1794,2573,2151,1593,1721,1843,2149,2036,1634,1770,2476,3680,2865,2358,3482,3799,3007,2249,1906,2423,2224,1593,1396,2119,1975,1814,2204,2265,2283,2070,2092,1900,1720,2005,2192,2128,1715,1711,2022,1688,1736,1462,1510,1842,1465,1968,2116,2109,2187,1942,1520,1825,2002,1870,1902,1891,1745,2025,2167,2080,1666,1723,1294,914,1420,1791,1952,1805,1556,1232,1360,1498,1534,2270,2568,2171,1323,1920,2004,1982,2724,3130,3631,3049,2513,2326,2001,1970,1604,1476,1640,1841,1951,1686,1516,1535,1844,2331,2636,2500,1842,1161,1142,1099,1688,1853,1934,1270,1079,1266,1350,1426,1516,1573,1587,1443,1182,1294,1382,1459,1536,1544,1504,1520,1448,1346,1360,1401,1507,1544,1352,1442,1611,1736,1682,1671,1744,1660,1381,1304,1332,1164,1175,1442,1756,1881,1896,1732,1771,1652,1813,2094,1910,1525,1510,1617,1628,1825,2122,2206,2370,2186,1587,1516,1449,1449,1606,1781,1725,1763,2172,2708,2903,2969,2895,3354,2668,2298,2896,2598,2282,1892,1506,1541,1452,1418,1616,1929,1812,1603,1559,1895,2043,1596,1531,1704,1263,1240,1404,1254,1383,1593,1480,1226,1177,1260,1424,1451,1549,1518,1535,1446,1424,1428,1368,1339,1393,1549,1732,1716,1686,1745,1853,2026,1807,1586,1587,1428,1382,1440,1459,1548,2082,2356,1635,1521,1617,1592,1670,1782,1837,1618,1418,1389,1432,1403,1447,1603,1673,1810,1880,1684,1542,1349,1367,1389,1424,1504,1428,1482,1443,1469,1528,1470,1490,1853,1904,1576,1545,1421,1544,1660,1463,1316,1406,1418,1544,1539,1667,1778,1613,1441,1420,1360,1407,1653,1759,1760,1697,1767,1607,1386,1313,1277,1348,1364,1288,1363,1373,1374,1261,1365,1360,1468,1626,1377,1227,1323,1239,1529,1681,1455,1451,1264,1306,1277,1242,1344,1605,1851,1860,1763,1707,1622,1504,1390,1440,1407,1300,1583,1752,1509,1377,1487,1544,1513,1550,1514,1677,1947,1681,1475,1396,1490,1590,1865,2106,1947,1715,1428,1458,1623,1615,1675,1664,1763,1775,1489,1454,1271,1352,1579,1545,1546,1538,1470,1337,1221,1415,1573,1707,1881,2377,2514,2416,2271,1920,1771,1925,1935,1975,2116,2387,1796,1091,1196,1291,1521,1526,1372,1463,1534,1537,2002,2333,2168,2514,2751,2278,1888,1674,1495,1614,1632,1474,1360,1374,1517,1300,1312,1704,1867,1638,1737,1786,1887,1964,1849,1798,2059,1980,1698,1798,1939,2012,1825,1595,1641,1449,1569,1566,1986,2558,2374,2001,1924,1662,1727,1852,1785,1729,1830,1730,2153,1884,2014,2305,2156,1872,1782,1623,1494,1507,1601,1910,2204,1743,1799,1877,1925,1834,1576,1660,1967,2049,1900,1902,2161,2107,2274,2753,2521,1997,1826,1728,1758,1699,1676,1701,1493,1550,1797,2238,1899,1570,1541,1980,1942,1431,1574,1773,1702,1632,1473,1553,1929,2740,2553,1954,2114,2806,2709,2163,2481,3504,3860,3540,3171,3228,3407,3125,2438,2271,2258,2384,2337,2730,2989,2872,2753,2387,2270,2308,2872,2132,1759,1686,1571,1522,1837,2095,1964,2154,2857,3175,3051,2165,2009,1803,1778,1703,1573,1757,2407,2677,2955,2879,2205,2181,2192,1829,1853,2305,2380,1984,1673,1452,1719,2082,2105,2029,2068,1916,1740,1745,1532,1760,1964,2085,1797,1752,1830,1766,1718,1836,1795,1626,1717,1938,1717,1664,1828,2300,2027,2150,1989,1885,2322,2080,2006,2390,2740,2828,2633,2020,2995,3242,2855,2371,1938,1738,2184,2360,2337,2640,2796,2842,2369,2294,2596,2437,2127,2136,2322,2269,2121,2025,1860,1761,1942,1952,1684,1626,2034,2544,2276,1618,2476,3209,2531,2314,2821,3274,2939,2584,3053,3096,3275,3398,3642,3654,3579,3193,3121,2919,2500,2476,2798,2778,2554,2026,1917,1511,1449,1818,2266,2308,2099,2012,2162,2177,1435,1874,2429,2118,2151,2255,1865,1721,1838,1875,1861,1825,1725,1902,2174,1983,2141,1803,1741,1675,1550,1558,1780,1745,1552,1557,1493,1428,1751,2972,3386,2314,1639,1920,2139,2111,1874,1809,1650,1646,2379,2349,1289,1371,1574,1721,1654,1466,1609,1777,1943,2141,2282,1916,1690,2032,1785,1961,2290,2040,1833,1509,1815,2290,2460,2474,2371,2611,2922,2900,2529,2433,2384,2972,2983,3432,3675,3404,3032,2912,2699,2605,2645,2565,2518,2099,2352,2284,2332,2017,1614,1509,1773,1964,1838,1714,1780,1914,1813,1805,1975,3100,3267,3043,2470,1771,1598,1643,1770,2067,1790,1582,2036,1484],[2273,2813,2764,3001,3318,2377,1356,2644,3510,3524,3679,3979,4324,4164,3917,3804,3701,3741,3693,3714,3638,3206,2475,2459,2852,2536,1887,1787,1911,1726,1551,1615,1950,2045,1895,2789,2988,2293,1583,1676,1606,2046,2678,2384,1926,1743,2232,3035,2637,2595,3132,3007,2532,2384,2409,2280,2055,2011,1954,1880,1855,1841,1726,1672,1814,1885,1893,2263,2316,2439,3042,3597,3437,2986,2732,2847,2525,2863,2903,3422,3321,3165,3174,3138,2587,2061,2368,2576,2109,1681,2382,2469,2056,2105,2194,2597,2552,2392,2301,1859,1824,2006,1839,2752,3384,3450,3494,3702,3830,3564,2376,1995,1836,2420,2736,1974,1644,1824,2320,2419,2764,2031,2104,2322,2338,2138,2016,1942,1922,1875,1991,1799,1749,2094,2770,3083,3330,3271,2819,2731,2972,2811,2353,2237,2401,2363,1898,2122,2501,2722,2147,1609,1987,2289,2392,1880,1450,1383,1463,1522,1668,1929,2327,2264,2378,2760,2720,3154,2938,2303,2095,1909,2025,1720,1819,2166,2030,2478,2431,2295,2085,2611,3113,3221,2764,2318,2335,2630,2519,2353,1783,1456,1513,1483,1552,1769,1747,1979,1825,1613,1632,1504,1512,1868,2165,2215,2063,2220,2743,3049,3169,3267,2980,2608,2002,1730,1744,1866,2137,2504,2654,2355,1923,2055,2086,2271,1998,2105,2856,2859,2513,2466,2910,3371,3658,3778,3613,3774,3869,4165,3913,3189,3060,2875,2558,3090,3972,3902,3172,2588,2836,2779,2975,3495,3614,3352,3257,3267,2597,2059,2128,2368,2294,1806,1788,1706,1748,1713,1666,1637,1565,1795,1768,1637,1708,1870,1974,2143,2153,2148,1614,1526,1555,1492,1565,1601,1882,1857,1416,1416,1404,1804,2165,1933,1662,1483,1681,1767,1619,1770,1916,1759,1844,1849,1643,1730,1972,2300,2065,2480,2662,2500,2351,2284,1865,1503,1606,1625,1615,1825,1919,2250,2995,2439,1595,1542,1860,1982,1859,1725,1682,1733,1895,2447,2171,1684,1917,2090,1724,1766,2436,2835,3167,2942,2099,2181,2220,2655,2116,1964,1569,1672,1680,1634,1482,1365,1379,1687,1986,2070,1673,1459,1375,1426,1613,2069,2130,1791,1665,2115,2621,2431,1905,1576,1422,1441,1895,3059,3228,2653,2286,2234,2260,2576,2649,2607,2828,3154,3542,3271,2655,2339,2919,3129,2655,2259,2758,3361,3307,3255,3121,2490,2560,2746,2198,2303,2543,2253,2175,2898,2467,2229,2101,1697,2092,2623,2720,2498,2158,1643,1530,1873,2456,2826,3111,3513,3917,3627,3310,2634,1628,1365,1686,1924,2271,2375,1971,1910,2084,1917,2075,2589,2835,2533,2028,1919,2293,2454,3117,3457,3203,2322,1964,1636,1697,2336,2624,2621,2453,2238,2343,2471,2626,3007,3241,3098,2604,2200,2562,2604,2626,3040,2802,2213,1923,1896,1516,1629,1483,1366,1530,1658,1519,1295,1320,2154,2880,2283,1455,1381,1249,1541,1821,1909,2036,2399,2802,2223,1987,2150,1990,1832,1893,2072,1761,1627,1782,1952,2140,2276,2276,2110,2022,1796,1917,1943,1916,1759,1641,1881,2036,2025,2032,1748,2006,2172,1967,1861,1709,1662,1617,1624,1767,1775,2105,1851,1699,1620,1672,1605,1851,2799,2985,2728,2736,2341,2203,1980,1672,1897,2364,2304,2258,2116,1696,1574,1602,1490,1470,1458,1718,1836,1790,1933,1694,1517,1916,2183,2252,2187,2116,2306,2243,2135,1832,1918,2393,1979,2571,3200,3174,2496,2142,1886,1798,1921,1682,1505,1707,1664,1643,1689,1799,1573,1840,2339,2056,1581,1495,2184,2957,2424,2061,2372,2585,2021,1500,1484,1705,1885,1920,2212,2323,2184,1773,1689,1636,2177,2405,1960,1914,2121,2544,2943,2818,2363,2219,2191,2210,2275,2590,1935,1706,2005,1887,1712,1758,1285,1487,1992,1860,1870,1849,2105,1847,1686,1807,2045,2325,2278,2058,1875,1742,1564,1415,1610,1716,1603,1844,2280,2512,2796,2689,2473,2162,2151,2121,2301,3168,3306,2530,2453,3166,3134,3025,2473,2485,2264,1930,2006,2535,2598,2056,1654,1078,1288,1513,1441,1611,1674,1389,1664,2050,1883,1747,1851,2203,2842,2564,2304,2098,2028,2587,2724,2874,3538,3327,2357,1835,1647,1643,1807,2208,2187,2119,2579,2124,2047,1883,2156,2387,2122,1880,1813,2204,2678,3110,2886,2751,2699,2910,2833,2289,2701,2756,2588,3028,2969,2472,2453,2704,2663,2733,2692,3387,2702,2570,2541,2695,2719,2190,2696,2919,2468,1986,2529,2591,2858,2027,1515,1981,1724,1628,1888,1962,2071,2338,2835,2728,2744,2534,2445,2441,2523,2489,2307,2986,3607,3218,2092,2053,2566,2986,2802,2152,1843,1733,2324,3244,3603,3500,3658,4084,4004,3704,3452,3876,4392,4120,3648,3724,3507,3819,3808,2945,2994,3869,3782,3798,4015,3198,2265,2220,2173,1903,1810,2064,1927,1829,2367,2659,2599,2585,2381,2229,1788,1605,1869,2293,2311,2657,2670,2108,2452,2083,1658,1737,1100,1151,1588,1760,3057,3892,2826,2447,2059,2133,2090,1920,2118,2165,2208,2347,2453,2300,2750,2038,1496,1681,2404,3257,2732,2251,2420,2480,2599,2182,1746,2075,2231,2185,2006,2294,1836,2357,3393,2915,2356,2363,2577,2497,2398,2288,2487,3052,2531,2112,2264,3054,3029,2593,2398,2298,2761,2898,3089,2562,1855,2269,2353,2698,2728,2482,2175,2370,2746,2962,2317,1986,2244,2342,2288,2220,2378,2481,2730,2741,2675,2460,1517,647,1238,2780,3802,4046,2749,2155,1451,1707,2392,2309,2110,2231,2220,1759,1819,2594,2670,2377,2199,2335,2281,1767,1271,1180,1614,1650,1906,2213,2013,2120,2418,2959,2299,2296,2404,1830,1485,1962,2387,2075,2093,1833,1880,2145,2117,2557,2348,2213,2282,2010,1831,1713,1577,1484,1434,1748,2023,1960,1636,1629,2008,1758,1818,1948,1731,1877,2535,2501,2115,1910,1789,1851,2303,2481,2457,2114,2004,1493,1454,1687,1716,1749,1937,1874,1672,2010,2122,1961,2188,1575,1501,1867,2468,2166,1837,1980,2968,3638,2867,2617,2747,2311,2060,1677,1590,1619,1772,1539,1252,1360,1688,1856,2011,1753,1603,1639,1213,1387,1249,1712,1890,1915,1339,1118,1423,1585,1794,1666,1409,1416,2025,1698,1793,1526,1477,1550,1576,1535,1496,1487,1505,1482,1376,1482,1602,1443,1419,1574,1687,1444,1428,1815,1809,1538,1646,1705,1616,1363,1460,1688,1849,1926,1733,1680,1805,2040,2047,1854,1596,1527,1739,1702,1635,2422,2120,2476,2105,1495,1488,1523,1481,1668,1801,1772,1786,2162,2931,3195,3283,3436,3532,2566,2587,3204,2874,2487,2219,1849,1688,1554,1533,1632,1922,1695,1636,1525,1604,1753,1586,1703,1481,1167,1646,1893,1522,1839,1742,1288,1203,1232,1349,1419,1471,1352,1398,1726,1748,1604,1343,1347,1287,1579,1772,1605,1773,2030,1891,1775,1851,1656,1393,1649,1447,1452,1516,1520,1570,2401,2765,2006,1743,1771,1572,1498,1680,1755,1542,1684,1738,1801,1693,1579,1470,1569,2002,2440,2645,2156,1461,1426,1462,1643,1484,1374,1433,1499,1497,1396,1439,1680,1936,1735,1449,1523,1472,1492,1462,1390,1357,1353,1573,1611,1672,1793,1853,1809,1682,1570,1472,1580,1644,1562,1488,1557,1525,1400,1327,1351,1395,1291,1281,1241,1434,1306,1244,1261,1403,1776,2460,2901,2115,1470,1316,1091,1345,1409,1543,1722,1490,1381,1399,1408,1568,1952,1948,1776,1970,1848,1542,1373,1424,1475,1420,1522,1496,1554,1567,1656,1745,1701,1737,1777,1525,1626,1646,1509,1541,1620,1776,1837,2349,2253,1854,1677,1676,1830,1761,1629,1888,1786,1687,1712,1583,1506,1569,2058,2210,2105,1772,1591,1592,1577,1565,1929,1907,1820,2042,2296,2282,2314,2210,1996,1818,1850,2023,2276,2136,2096,1583,1317,1605,1610,1635,1666,1428,1427,1477,1796,2338,2540,1986,1851,1737,1724,1721,1531,1409,1489,1500,1495,1687,1799,1954,1437,1620,1551,1601,1715,1580,1701,1914,1714,1536,1673,1860,1898,1576,1447,1654,2243,1923,1799,1769,1551,1530,1772,2017,1992,1980,2024,2481,2099,1783,1710,1614,1643,1566,1761,2151,2055,1838,1926,2030,1949,1864,1687,1418,1667,1943,2059,2248,1898,1756,2175,2173,1679,1751,2006,1922,1831,1760,1487,1665,2012,2094,2438,2622,2532,2242,1845,1745,1495,1443,1600,1737,2188,2267,2334,2389,1991,1754,2190,1923,1329,1554,1637,1578,1635,1923,1995,2414,2974,2373,1858,2188,2322,2068,2119,2403,2738,2984,2962,3141,3330,3466,3351,2997,2676,2366,2119,2227,2535,2631,2554,2626,2382,1548,1613,2123,1835,1940,2136,1900,1690,1831,1693,1555,1984,2801,2708,2021,1944,1860,1703,1649,1543,1739,1928,2070,2657,3605,3288,2510,2182,2580,2143,1978,1909,2050,2162,1751,1567,1635,2018,2138,2013,2276,1898,1706,1830,1703,1632,1595,1547,1509,1547,1679,1772,1678,1733,1777,1530,1898,2062,1803,1675,1734,2362,2677,2418,2149,2122,2304,2254,2063,2397,2255,2550,2754,2591,2788,2715,2093,1650,1823,2067,2232,2126,2002,2308,2844,2783,2372,2083,1864,2134,2433,2242,2222,2063,1908,2029,2048,2058,2025,1908,1854,1878,1968,2161,2147,2279,3207,3640,3216,2829,2999,3087,3093,2998,3362,3488,3121,3219,3576,3474,3442,3350,3452,2776,2523,2620,2917,2911,2557,2002,1846,1571,1488,1880,2186,2069,1842,1687,1848,1991,1929,2598,2833,2434,2248,2020,1851,1747,1919,1956,1823,1891,1589,1651,1874,1724,1861,1891,1744,1643,1619,1559,1706,1842,1719,1695,1573,1585,1990,3157,3497,2304,1654,2032,2044,1675,1558,1544,1485,1609,1869,1986,1733,1539,2088,2387,1919,1612,1808,1905,1723,1687,1753,1730,2014,2359,1964,2167,2110,2266,2103,2004,2394,2660,2545,2378,2414,2685,2698,2867,2755,2267,2315,2888,3165,3392,3295,3238,3445,3318,2444,2497,2297,2085,2696,3074,3146,3099,2404,1738,1733,1701,1788,1824,1820,1665,1808,2056,2435,2412,2076,2482,2512,2244,1839,1620,1756,1939,1772,1827,1607,1291,1849,1418],[2656,3064,3238,3288,3378,2013,1340,2774,3365,3282,3528,3842,3908,3893,3806,3686,3663,3582,3476,3592,3480,2398,1804,1709,2151,2504,2214,1937,1780,1965,1824,1636,1808,1883,2040,3110,3394,2517,1902,1698,1361,1765,2020,1530,1693,1625,2267,3250,2785,2731,3074,2818,2432,2711,3104,3023,2958,3021,2698,2191,2130,1759,1712,1744,1643,1628,1622,1700,1786,2033,2736,3372,3319,3278,3117,2652,2279,2155,2757,3709,3447,2900,2522,2285,2104,2432,2590,2141,1619,1567,2218,1514,1402,1828,2222,2115,1795,1995,1914,1913,1985,2322,1865,2422,2734,2906,3195,3243,3405,3611,3220,2460,2249,2956,3466,2808,1829,2021,2876,2711,2541,2351,2812,3244,2908,2178,2350,2678,2204,1781,1684,1974,2241,2400,2217,2619,3159,3234,3199,3260,3122,2701,2715,2736,2577,2618,2009,1937,2402,2496,2006,1679,1752,2286,2320,1716,1412,1455,1569,1514,1952,2343,2984,2943,2890,2745,2442,2640,2324,2046,1982,1919,1634,1766,1938,2227,2340,2271,2148,2186,2370,2800,2823,2713,2842,2828,2868,3213,2968,2199,1799,1541,1539,1532,1642,1982,2148,1874,1586,1709,1876,1753,1652,1954,2230,2321,2339,2555,3000,3019,2588,2154,1848,1685,1755,1868,1867,1892,2165,2737,2762,2920,2458,2353,2421,2588,2685,2810,2775,2786,2453,2266,2788,3485,3718,3564,3583,3699,3488,4079,4036,3167,2795,2630,2525,3300,3825,3702,3330,2690,2902,2768,2934,2972,3062,3229,3436,3367,2622,2159,2211,2042,2031,1572,1922,1811,1576,1518,1574,1519,1638,1782,1637,1550,1463,1658,1892,1983,1856,1893,1656,1582,1796,1546,1601,1706,1699,1827,1504,1440,1418,1803,2050,1777,1747,1535,1902,1969,1818,2012,2047,2137,2002,1953,1678,1709,1678,2144,2337,2620,2767,2451,2426,2610,2164,1669,1547,1541,2098,2273,2283,2541,2704,2037,1750,1946,1990,1734,1708,1603,1641,1988,2747,2943,2373,2092,2464,2396,1958,2468,3086,3254,3396,2866,1968,2346,2076,2631,2416,1982,1652,1424,1458,1528,1516,1445,1700,2176,2046,1876,1642,1760,1706,1581,1905,1841,1952,2123,1982,2144,2208,1975,1657,1441,1550,1664,2231,2523,2626,1838,1836,1905,2054,2608,2395,2429,2555,3066,3230,3107,2263,2282,3008,3212,2376,1716,2335,2978,3121,3562,2954,2501,2579,2760,2559,2438,2570,2300,2272,2349,2006,1870,1584,1638,2136,2925,3134,2779,1866,1646,1730,2094,2602,3129,3032,2918,3399,3566,3266,2912,2264,2076,1903,1793,2280,2115,1723,1886,1857,1735,1889,2111,2592,2798,2269,1721,2233,2406,2501,3139,3330,2700,2274,1668,1650,2345,2630,2502,2206,2127,2321,2378,2603,2905,3312,3635,2937,2117,2306,2624,2827,2740,1958,1442,1614,1578,1352,1488,1412,1278,1832,2336,1977,1415,1622,2386,2971,2237,1496,1428,1428,2077,2032,2044,1893,1707,1792,1601,1578,1814,1542,1554,1708,1656,1476,1714,1812,1828,1766,1765,1882,1907,1703,1824,2067,2161,2283,1831,1642,1786,1791,1770,2036,2408,2489,2565,2803,2294,1767,1609,1623,1505,1521,1669,2460,2452,2192,2011,1910,1675,1858,2754,2976,3076,2744,2621,2085,1748,1576,1593,1850,1969,2386,2781,2474,1802,1467,1525,1534,1505,1778,1886,1620,1550,1614,1690,1849,1892,2024,2303,2445,2653,1992,1770,1781,2023,2329,1920,1981,2244,2076,1682,1669,1470,1631,1554,1428,1349,1589,1601,1728,2056,1998,1695,2036,2084,1651,1477,1477,1946,2253,2282,1814,1715,1733,1522,1411,1781,2226,1956,1644,1814,1748,2076,1727,1830,1653,1571,1699,1924,1880,2047,2344,2665,3052,2583,2250,2077,1875,1914,2166,2094,1945,2266,2270,1938,1898,1879,2426,2385,1630,1752,1656,1737,1858,1804,1948,2026,1882,1638,1760,2011,1904,1562,1550,1569,1605,1636,2037,2476,3161,3551,2880,2044,1697,2092,2668,2393,2357,2516,2729,2562,2753,2930,2797,2640,2525,2141,1610,1583,2332,2706,2092,1631,1466,1484,1526,1244,1444,1705,1519,1542,2043,2278,2070,1973,1696,1999,2031,2205,2784,2741,3050,3449,2754,2496,2330,1758,1426,1532,1510,1415,1810,2113,2241,2398,2095,1781,1908,2298,2192,2153,1820,1709,1956,2025,1976,1749,2215,2087,2456,2585,2210,2231,2176,1683,1875,2491,2490,2002,1804,1922,2211,2788,3223,2908,2693,3101,3249,2908,2608,2980,2740,2432,2226,3016,3122,2956,2480,2396,2432,2221,2204,2377,2410,2767,2718,2937,2846,2626,2238,2317,2288,2579,2363,2019,2448,2855,2608,2258,2432,2991,2632,1920,1759,1703,1616,2390,3505,3617,2652,2873,3474,3643,3782,3583,3496,3990,3523,2644,3421,3886,3870,4090,3575,3709,3952,3165,3562,4256,3366,2533,2599,2756,2388,2083,2112,2063,1833,1984,2601,2679,2543,2449,2315,2048,1864,2176,2252,2201,2479,2547,2188,2255,2096,1603,1782,1287,1388,1499,1571,2430,2833,2363,2053,1852,1691,1951,2230,1941,1765,1809,2075,2170,1925,2377,1930,1664,1876,2165,2198,1824,1879,2196,2169,2404,2588,1990,2254,2267,2020,2153,2081,1558,2228,2855,2599,2229,1947,2449,2427,2173,2281,2583,3067,2731,2615,2471,2641,2446,2009,1917,1840,2360,2443,2308,2013,2064,2534,2835,2898,2930,2498,2260,2309,2228,2612,1801,1754,2430,2309,2293,2472,2698,2654,2666,2668,2650,2653,2090,1335,1951,4141,5236,5139,3021,1756,1294,1433,1779,1884,2091,2214,2156,2060,2236,2004,1947,2084,2195,2186,1837,1498,1236,1428,1752,1682,2028,2352,2231,2239,2061,2114,2039,1898,1787,1727,2007,2598,2388,1980,2110,1968,2292,1874,1903,2718,2974,3008,2391,1888,2015,1961,1632,1725,1533,1491,1569,1494,1411,1770,1776,1872,1976,1858,1798,1948,2055,2236,2094,1567,1844,1695,1919,2162,2090,2054,2064,1713,1642,1936,1892,1484,1669,1704,1698,2309,2368,1887,1724,1804,2527,2706,2465,2460,2313,2245,2547,3298,3648,3139,2959,2486,2121,1920,1689,1570,1651,1560,1331,1176,1277,1266,1171,929,1268,1583,1281,1384,1284,1442,1720,1834,1437,1097,1294,1504,1755,1488,1299,1172,2393,1830,1454,1476,1445,1510,1615,1564,1533,1461,1377,1441,1138,1278,1708,1642,1004,1135,1665,1716,1954,2474,2332,1665,1570,1803,1595,1294,1495,1889,1775,1710,1666,1561,1763,1904,1795,1579,1508,1656,1711,1668,1709,2362,2032,2382,2143,1475,1516,1504,1502,1683,1842,1794,1812,2346,2886,3238,3786,4220,3604,2743,2932,2974,2884,2869,2600,2397,1979,1726,1639,1860,1944,1737,1683,1539,1640,1832,1844,1812,1247,1202,1469,2248,1960,2014,1669,1278,1252,1309,1278,1337,1370,1360,1437,1554,1774,1856,1555,1626,1759,1981,1683,1451,1706,1980,2032,1938,1880,1738,1712,2102,1682,1758,1660,1422,1293,1789,1963,1714,1653,1636,1805,1715,1736,1906,1591,1529,1597,2332,2386,1503,1412,1468,1760,2284,2851,2964,2007,1404,1423,1602,1394,1248,1337,1454,1445,1310,1440,1716,1672,1307,1559,1854,1606,1281,1368,1328,1217,1362,1466,1609,1849,1608,1623,1716,1780,1758,1736,1743,1634,1552,1506,1403,1360,1484,1381,1268,1277,1288,1333,1390,1663,1432,1295,1462,1505,1777,2670,2813,2054,1498,1346,1321,1620,2055,1986,2148,1759,1485,1356,1391,1687,1931,1779,1668,1769,1736,1549,1353,1575,1669,1501,1612,1617,1461,1476,1432,1292,1231,1411,1768,1645,1832,1593,1377,1309,1283,1285,1606,1874,1698,1659,1599,1757,1534,1377,1550,1785,1740,1672,1742,1767,1680,1763,2020,2149,2426,2349,1702,1708,1769,1798,2106,1892,1670,2025,2269,2192,2176,2122,1947,1427,1516,2241,2122,1973,2025,1943,1871,2076,2015,1747,1775,1487,1426,1767,2018,2270,2314,1731,1692,1643,1572,1545,1538,1502,1510,1459,1476,1695,2005,1886,1482,1468,1262,1345,1526,1460,1758,1946,1519,1415,1429,1533,1754,1704,1932,1876,1846,1960,2339,2097,1640,1601,1645,1713,1830,1638,1560,1861,1904,1709,1604,1488,1444,1518,1597,1772,1758,1729,1616,1654,1634,1664,1606,1511,1746,1723,1682,1824,1942,2012,2504,2254,1772,1660,1669,1590,1524,1546,1457,1707,2188,2198,1983,2061,2781,2441,1743,1561,1398,1314,1344,1476,2014,2451,2544,2405,2056,2168,2128,2046,1896,1484,1438,1636,1708,1834,1884,2054,2178,1947,1830,2117,1931,1816,1979,2186,1880,2111,2612,2938,3222,3441,3381,3176,2861,2555,2320,2333,2350,2281,2540,2677,2336,1644,2252,2416,1923,1958,2254,2186,1954,1681,1677,1718,1806,2212,2123,1812,1928,1882,1790,1727,1780,2001,1927,1865,2369,3293,2978,2444,2050,2277,2232,1953,1747,1981,2150,1764,1758,1574,1725,1652,1645,1936,1753,1797,2009,2003,1977,1816,1714,1682,1610,1587,1612,1694,1646,1581,1520,1702,1878,1847,1584,1519,1870,2376,2412,2338,2057,2059,2585,2258,2510,2462,2441,2580,2470,2158,1686,1485,1311,1774,2059,2282,2289,2105,2108,2479,2631,2467,1984,1678,1604,1921,2176,2136,2196,2060,2389,2701,2457,1944,1968,2409,2712,2031,1615,2133,3065,3615,3773,3616,3674,3329,3062,3164,3206,3054,2950,3019,3258,3366,3110,3014,3379,3752,3135,2499,2261,2555,3059,2705,1943,1868,1670,1563,1816,2041,1970,1942,1738,1814,1888,2209,2566,2799,2832,2385,2027,1962,1760,1736,1804,1629,1767,1842,1724,1718,1905,1891,1736,1630,1480,1544,1494,1498,1737,1858,1668,1531,1508,1773,2266,2712,2394,2072,2148,1759,1539,1777,1666,1825,1870,1677,1804,1744,1500,2004,2333,1885,1785,1806,1758,1769,1692,1758,1804,2031,2037,1827,2002,2201,2182,2274,2822,3197,3144,2887,2597,2805,2813,2754,3113,2995,2510,2286,2492,3021,3038,2861,3256,3952,4460,3526,2776,2267,2249,2757,3486,3006,2482,2403,1731,1787,2132,2366,2324,2133,1816,1621,2226,3354,3452,2728,1882,1651,1899,2053,1926,1660,1918,1675,1767,1707,1830,2610,2285],[2840,2982,3165,3271,3181,2224,2016,2868,3379,3344,3418,3587,3734,3873,3752,3661,3600,3543,3561,3703,3405,2655,2008,1965,2431,2203,2204,2121,1813,2643,2555,1760,1482,1750,2381,3103,3410,3112,2321,1850,1528,1703,1649,1619,1706,1750,1888,2546,2628,2653,2691,2557,2697,2999,3250,3715,3942,3510,3118,2623,2829,2602,2199,2024,1941,1803,1775,1714,1831,2186,2859,2777,3127,3090,2976,2420,2087,2062,2794,3133,3030,2746,2192,1935,2032,2363,2554,2446,2098,1764,1881,1615,1920,2320,2298,2092,2220,2470,2033,1870,1794,1910,1661,2359,2350,2844,3252,2908,2741,2986,3290,3279,3598,3196,3537,3219,2343,1912,2655,2792,2280,2083,2291,2610,2677,2250,2553,3023,2131,1734,1997,2277,2458,2382,1869,1794,2140,2733,3156,3066,3128,2856,2684,2564,2748,2570,2455,2092,2562,2608,1960,1625,1773,2260,2074,1930,1803,1880,1964,1729,1914,2306,2919,3052,2888,2523,2199,2244,1919,1814,1840,2133,1874,2215,2325,2431,2155,1880,2265,2578,3097,3090,2473,2289,2611,2813,3350,3040,3129,2351,1817,1552,1634,1622,1884,2267,2198,1761,1461,1727,2036,1919,1632,1768,1938,2156,2395,2191,1952,1599,1457,1683,2053,2474,2189,1803,1730,1929,2343,3096,2785,2655,2524,2494,2621,2932,3301,3102,3018,3060,2745,2261,2614,3071,3405,3177,3159,3350,3549,3902,3652,3039,3050,3492,3579,3892,4004,3679,3426,2966,2688,2674,2990,3076,3254,3391,3349,3012,2386,2196,2128,2259,2076,1547,1713,1672,1552,1539,1745,1854,1905,1719,1662,1573,1607,1773,1910,2328,2142,1929,1654,1899,2388,1763,1581,1655,1675,1520,1365,1507,1608,1673,1632,1676,1784,1567,1454,1483,1595,1920,2025,2126,1770,1735,1570,1873,1997,2291,2282,2281,2271,2204,2127,2199,1760,1724,1692,1764,2164,2234,2735,3194,2667,2228,2962,3134,2402,1961,2045,2029,1976,2368,2430,2211,2126,2271,2415,2100,2215,3209,3431,3200,2784,2154,1921,2100,1789,1907,1954,1635,1538,1491,1489,1466,1492,1691,2337,2630,2220,2143,1769,1821,1896,1821,1777,1785,2499,2856,2380,2076,1797,1964,2041,1815,1718,1914,2483,2192,1719,1655,1849,1666,1580,1962,2389,2638,2835,2999,3034,2812,2577,2403,2734,2886,2235,2231,2425,2391,2539,2723,2511,2035,1976,2133,2002,2346,2618,2371,2225,2327,1966,1953,1960,2486,2842,2894,2652,2489,2168,2368,2208,2127,2890,3207,3099,2774,3571,3308,2703,2341,1747,1949,2349,2127,1861,1640,1835,2062,1869,2141,2700,2186,2110,2548,2442,2182,2193,2381,2393,2937,3262,2757,2054,1547,1493,1981,2391,2604,2464,2375,2369,2419,2642,2878,3422,3603,2730,2428,2318,2299,2596,1957,1497,1489,1720,1544,1468,1521,1368,1367,1690,1826,1619,1523,1652,2520,3024,2061,1587,1602,1620,2067,2019,1952,1830,1466,1583,1766,1627,1749,1514,1669,1770,1751,1505,1456,1628,1669,1676,1622,1897,1907,1680,1848,2061,2550,2398,1846,1727,1825,1968,1895,2226,2832,2563,2374,2919,2821,2266,1847,2003,2053,1758,1648,1941,2149,2052,1916,1843,1743,1737,2190,2459,2495,1928,1897,2233,2203,1598,1495,1671,1769,2191,2984,3353,2642,1694,1556,1672,1720,1862,1657,1542,1704,1772,1734,1740,1725,1931,2309,2053,1910,1749,1989,2459,2852,2514,2276,2056,1658,1596,1593,1824,1520,1420,1377,1402,1370,1453,1568,1650,2083,2150,1854,1939,1690,1582,1599,1781,1878,1838,1727,1657,1803,1844,1601,1520,1586,1680,1733,1284,1444,1410,1542,1358,1654,1824,1614,1711,2164,2002,1889,2365,2413,2919,2778,2084,2146,1982,1928,1936,2248,2175,2003,2123,1919,1723,1860,2404,1802,1553,1811,1851,1847,1835,1958,1876,1650,1439,1587,2322,2326,2431,1898,1767,1781,1992,2439,2639,2477,2912,3161,2202,1798,1934,2041,2480,2663,2431,2092,2706,3166,3109,2993,2944,2884,2555,1967,1584,1980,2446,2525,2253,2020,1685,1600,1683,1439,1482,1716,1674,1889,2371,2614,2236,1911,1471,1960,2115,2045,2705,3046,3561,3459,2263,1799,1329,1346,1354,1291,1228,1292,1700,2134,2480,2642,2209,2085,2790,2636,2070,2082,1676,2104,2228,2072,2056,2055,2223,2536,2712,2375,1671,1309,1359,1381,1631,2099,2558,2301,2458,2818,2932,2723,2601,2444,2233,3067,3112,2398,1968,2396,2691,2606,2297,2457,2930,2840,2569,2194,2334,2541,2467,2087,2120,2697,2576,2732,2566,1655,1754,2210,2236,2780,2588,1716,1864,2391,2489,2588,2435,2423,1891,1528,1455,1691,1852,2112,2916,3199,2377,2540,2921,3532,3902,3504,3400,3762,3363,3056,3385,3122,3097,3724,3561,4224,3919,2747,3400,4050,3640,3122,3393,3959,3783,2908,2063,2065,2224,2104,2543,3099,2665,2601,2517,2552,2244,2336,2358,2250,2795,2875,2452,2464,2579,1736,1766,1387,1230,1007,1328,2086,2788,2655,2297,2162,1988,2415,2493,2036,1839,2184,2464,2763,2284,2148,2198,2025,2277,2392,2040,1901,2315,2493,2146,1653,1562,1998,2468,2267,2064,2174,1919,1567,1843,2120,2270,1855,1886,2069,1607,2070,2619,2734,2691,2634,2524,2565,2566,2215,1610,1518,1556,2241,1858,1795,2460,2957,3044,2963,2861,2853,2918,3288,2807,2472,2452,1576,2019,2390,2247,2237,2424,2620,2554,2598,2621,2510,2440,2261,2194,2280,3054,4828,4485,2977,1877,1281,1571,1875,1853,2175,2194,2259,2217,2181,1875,2041,1782,1582,1749,1702,1852,2129,1966,1833,2052,2203,2445,2587,2408,2138,1681,1914,1930,1612,1749,2095,2291,1898,1637,2133,2336,2287,1815,2046,2514,2929,2917,2099,1695,2281,2192,1635,1982,1738,1555,1530,1464,1414,1592,1497,1466,1668,1730,1758,1873,1717,1909,2121,1998,1974,1815,1582,1470,1920,1999,1883,1995,1716,1569,1781,1438,1457,1665,1582,1813,1664,1860,2290,2806,3588,3249,2480,2668,2509,2248,2154,2876,3406,2508,2351,2724,2442,2078,1882,1717,1694,1416,970,672,754,1129,1304,1224,1663,1628,1345,1521,1528,1362,1562,1840,1465,977,1055,1303,1210,964,848,595,844,661,808,1173,1264,1422,1583,1501,1487,1254,989,948,789,1088,1612,1568,1173,1583,1973,1799,1978,2522,2201,1444,1473,1509,1141,1346,1859,1853,1490,1634,1892,1940,1815,1563,1591,1498,1681,1763,1531,1477,1803,2208,2106,2179,1731,1547,1705,1531,1376,1497,1880,1830,1911,2521,2766,3134,3904,4371,3463,2768,3442,3227,2916,2857,2866,2549,2096,1932,1832,1867,1718,1566,1573,1672,1864,1976,2109,1552,1230,1312,1415,2068,1797,1571,1510,1423,1323,1294,1237,1306,1286,1434,1520,1548,2015,1930,1555,1598,1881,1804,1540,1609,1488,1542,1866,2040,2072,1896,1970,2254,1862,1712,1544,1348,1382,1643,1675,1488,1361,1482,1579,1600,1909,1885,1469,1393,1825,3199,2702,1510,1924,1789,1599,1819,1963,1605,1427,1456,1428,1406,1375,1385,1339,1427,1550,1534,1615,1454,1427,1363,1493,1647,1506,1380,1393,1428,1404,1457,1458,1608,1684,1450,1486,1559,1689,1840,1730,1465,1432,1433,1435,1522,1426,1539,1438,1425,1216,1256,1289,1332,1456,1597,1537,1511,1499,1819,2469,2419,1938,1397,1374,1504,1584,1797,1597,1894,1836,1511,1375,1433,1662,1753,1649,1499,1711,1886,1656,1488,1600,1571,1522,1643,1545,1317,1235,1328,1406,1340,1323,2005,1925,1641,1610,1479,1296,1334,1362,1422,1548,1580,1388,1408,1692,1429,1404,1553,1497,1501,1571,1474,1370,1515,1925,2321,1894,1661,1765,1663,1635,1628,1949,2083,1960,2132,2549,2543,2375,2499,2292,2141,1607,2292,2232,1834,2362,2304,1950,1960,2099,2280,1897,1722,1403,1404,1460,1496,1578,1789,1677,1418,1539,1710,1639,1745,1496,1456,1404,1453,1887,1998,1780,1586,1610,1472,1344,1606,1716,1986,1789,1456,1738,1694,1568,1589,1710,1929,1882,1679,2126,2710,1830,1540,1632,1560,1652,1653,1608,1335,1462,1854,1793,1722,1612,1513,1629,1619,1602,1568,1545,1449,1511,1571,1877,1744,1783,1773,1544,1564,1735,1988,1978,2232,2242,1947,1556,1541,1763,1653,1712,1813,2054,2403,2223,2038,2079,2077,1744,1616,1587,1435,1422,1387,1375,1710,2057,1997,1712,1765,1906,1692,1985,2349,1766,1491,1719,1843,1715,1647,1864,2288,2119,1843,1774,1767,1904,1808,1813,1962,2446,2611,2598,2962,3326,3319,3176,2968,3196,2952,2369,2079,2224,2540,2424,2221,2425,2897,2811,2423,2040,2291,2652,2477,1743,2143,2062,1964,2101,1873,1700,1827,1744,1559,1713,2042,2026,1860,1851,1980,2315,2278,2465,2541,2443,2099,1853,1892,2227,2316,1812,1690,1723,1570,1716,1739,1660,1678,1854,1848,1746,1848,1827,1882,1722,1502,1574,1486,1537,1642,1684,1652,1619,1640,1598,1813,1923,1861,2021,2714,2863,2275,2203,2365,2394,3056,3085,2434,2409,2040,1830,1767,1662,1644,1908,2540,3236,3443,2834,2314,2546,2750,2514,2354,2407,1928,1531,1693,1693,2015,2443,2413,2375,2397,2290,1990,2066,2084,1630,1477,1877,1994,2924,3594,3442,3352,3043,2645,2738,2995,2930,2768,2829,3059,3265,3340,3231,3464,3823,3186,2321,2033,2254,2998,2902,1863,1983,1796,1536,1610,1948,1893,1678,1560,1549,1845,1892,2055,2539,2335,1973,2062,1877,1759,1612,1644,1600,1699,1628,1471,1564,1622,1610,1769,1778,1577,1675,1633,1439,1481,1851,1838,1653,1560,1816,2244,2194,1788,1842,1935,1957,1945,1917,1951,2225,2143,1621,1630,1911,1666,1794,2041,1766,1940,1888,1794,1824,1706,1722,1604,1480,1521,1600,1751,2015,2117,2619,3210,3460,3493,3157,2631,2841,2891,2868,2953,2621,2533,2651,2768,2752,2901,2866,2997,3791,4132,3820,2932,2762,2876,2551,2822,3097,2773,2909,1809,1742,2117,2459,2286,1860,1720,2198,3490,4015,3292,2370,1832,1624,1879,2110,2182,1874,1553,1450,1626,1600,1749,2076,2055],[2559,2775,2956,3141,3027,2664,2565,2884,3293,3275,3334,3262,3471,3770,3784,3668,3601,3583,3598,3558,3525,3476,3009,2732,2283,1931,1849,1795,1709,2208,2840,1928,1451,2190,2925,2829,2753,2531,2285,2114,1751,1949,2160,2116,1904,1910,2215,2613,2608,2777,2722,2609,2963,3289,3122,3752,4204,3089,2402,3034,3352,3033,2547,2203,2069,2019,2025,1953,2144,2271,3164,2932,3219,2962,2759,2381,2117,2543,2512,2630,2938,2770,2353,2596,2552,2530,2712,2684,2220,1910,1936,1892,2104,2157,1995,1992,2836,3065,1996,1676,1837,1827,1724,2017,2142,2592,2820,2707,2900,3104,3282,3061,3109,2884,3312,3519,2567,1747,1898,2107,1866,1661,1922,2364,2241,2237,2636,2536,2230,2271,2343,2397,2552,2486,2049,1824,1866,2464,2556,2500,2686,2757,2830,2536,2224,2288,2424,2174,2319,2529,2554,2150,1952,2630,2943,2734,2301,2326,2170,1752,1941,2452,3174,3518,2912,2553,2388,2144,1900,1842,2304,2415,2024,2001,2118,2523,2686,2756,2842,2646,3096,3287,2894,2574,2895,2753,3053,3177,2945,2895,2080,1636,1704,1751,1867,1834,1745,1532,1392,1707,2129,2277,2154,2170,2037,1901,1880,1905,1754,1440,1584,2169,2551,2962,2022,1905,1626,1767,2692,3848,3188,2049,1938,2101,2360,2771,3098,3226,3873,3407,2757,1962,2214,3121,3335,2840,2869,3234,3498,3956,3714,3123,2912,3409,3610,3858,4004,4003,3959,3606,2946,3055,3703,3681,3515,3177,3097,2599,2448,2333,2175,2458,2592,2571,2292,1974,1620,1600,1810,1681,1795,1695,1688,1608,1566,1623,1970,2734,3089,3019,2061,1896,2544,2412,1784,1482,1515,1376,1628,1954,1860,1709,1670,1782,1766,1580,1804,1790,1467,1667,1807,1945,1691,1521,2056,2896,3145,2579,2281,2533,1882,2376,2196,2283,1714,1760,1780,1786,2018,2730,3134,2873,2555,2467,3130,3104,2522,2280,2339,2614,2670,3172,3284,2358,1743,2090,2033,2087,2101,2708,3209,2837,2579,1826,1869,1986,1693,1725,1609,1458,1516,1523,1534,1556,1769,1584,1922,2077,1744,1632,1505,1650,1926,2254,2412,2287,2611,2174,1791,1876,1879,2218,2275,1775,1593,1793,2122,2003,1722,1783,1722,1858,1932,1985,2609,2717,2919,3050,2856,2204,1889,2102,2710,2293,1776,2155,2584,2451,2264,2276,2438,1909,1711,1776,1820,2018,2448,2709,2507,2485,2294,1894,1888,2192,2469,2291,2204,2198,1870,2086,2009,2001,3124,3212,2802,2100,2692,2454,1924,1387,1333,1800,2268,2330,1881,1723,1715,1847,2318,2999,2652,2113,1955,2171,2478,2083,2053,2569,2392,2533,3006,2532,1799,1861,1764,2080,2213,2596,2699,2596,2491,2456,2689,2779,3143,3273,2442,2779,3168,2812,3031,2545,1787,1449,1589,1573,1542,1519,1539,1721,2275,2207,2022,1959,1826,1835,1731,1735,1584,1484,1709,1782,1890,2093,1990,1574,1869,2008,1795,1703,1655,1808,1667,1421,1372,1337,1430,1703,1814,1648,1888,1673,1390,1661,2044,2386,2082,2080,2044,1671,1849,1907,1796,1952,2797,3027,3165,3066,2367,2075,2323,2144,1744,1603,1778,2386,2397,2340,1876,1680,1689,2135,2322,2352,2434,2520,2987,2597,1855,1823,1960,2018,2046,2249,2780,2554,2233,2116,1698,1865,2114,1760,1588,1637,2025,1786,1659,1792,2400,2492,2224,2390,2579,2585,2943,3109,2453,2491,2003,1804,1594,1641,2146,1764,1428,1401,1477,1416,1372,1431,1529,1660,1751,1815,1719,1560,1406,1532,1823,1607,1456,1489,1592,1776,1803,1688,1865,1901,1643,1693,1185,1678,1823,1501,1739,2024,1755,1568,1577,2157,2227,1843,2317,2199,2485,2890,2829,2979,2408,1894,1743,2109,2265,2023,1854,1848,1608,1675,2031,1960,1823,1763,1976,1953,1774,1682,1520,1578,1483,1959,2276,1831,2090,2500,2235,1969,2276,2741,2711,2413,2545,2292,1824,2388,2802,2566,2312,2070,2419,2374,2422,2874,3344,3360,2757,2379,2120,2248,1766,2358,2820,2830,2614,2317,1789,1459,1542,1670,1666,1737,1666,1907,2302,2215,1842,1779,1770,1919,1997,2254,2731,3055,4073,3852,2669,2070,2020,1795,1602,1587,1680,1667,1736,2075,2921,3421,2714,2852,2586,1880,1760,1824,1717,2126,2251,1971,2012,1975,2008,2911,3278,2375,1266,1457,1879,2114,2148,2241,2409,2387,2916,2941,2371,2447,2329,2287,2056,2597,2719,2294,2122,2292,2408,2313,2121,2306,2385,2064,2307,2131,2235,2768,2764,2309,2492,2623,2342,2326,2042,1703,2250,2276,1968,2431,2420,1402,1697,1975,2508,3072,2730,2075,1694,1538,1798,1974,2072,2230,2523,3216,2953,2753,2876,2920,3499,3357,3263,3461,3995,4229,4078,3803,3665,3425,3209,4153,4137,3938,4517,4509,3640,3717,4581,4816,4664,3955,3007,2206,2392,2444,2733,2932,2344,2541,2623,2610,2359,2356,2622,2943,3715,3746,3097,2249,2090,1729,1821,1707,1302,1119,1531,2168,2777,2850,2204,2457,2291,2190,2558,2228,1958,2575,2473,3011,3186,2429,2189,2164,2370,2227,2000,1919,2268,2808,2115,1905,2322,2653,2417,2109,2382,2184,1902,1879,1987,2094,1887,1714,1813,1665,1648,2521,3056,2731,2663,2831,2377,2331,2733,2973,2101,1842,1904,2321,2356,2304,2768,3618,3307,2544,2402,2673,3210,3344,3172,2829,2444,1970,2180,2271,2230,2344,2572,2443,2393,2680,2785,2600,2366,2106,2448,2485,2585,3040,3094,2888,2155,1802,2314,2670,2435,2415,2578,2491,2413,2305,1987,2021,1789,1677,1628,1543,2122,2358,1841,1697,2062,2091,2222,2283,2192,1731,1610,2047,1607,1412,1885,2157,2102,2036,2084,2667,2587,1981,1840,1929,2132,2619,2435,1560,1398,2049,1831,2181,2496,2182,1838,1714,1638,1434,1536,1399,1136,1673,1875,1799,1858,1675,2053,2534,2533,2452,2098,1638,1730,2309,2097,1892,1966,2066,1631,1283,1192,1811,1993,1570,1467,1803,2674,3564,3915,4280,4029,3171,2887,2824,2796,2675,2444,2540,2499,2767,3207,2807,2124,1773,1695,1657,1417,957,689,1068,1556,1606,1256,1299,1436,1347,1470,1600,1369,1432,1803,1466,817,814,1029,811,752,889,772,686,981,1116,1236,1340,1386,1285,1160,911,666,584,684,941,1324,1700,1585,1619,2656,2685,1956,1719,1882,1764,1299,1385,1240,1215,1633,1915,1736,1661,1913,2082,2002,1720,1558,1755,1492,1666,1807,1649,1566,1896,2196,2065,2132,1679,1866,1911,1670,1446,1635,1863,1812,1831,2360,2858,3056,3649,4120,3186,3020,3351,3204,3232,3220,3152,2530,2023,1786,1499,1393,1455,1460,1525,1682,1813,1857,1638,1192,1286,1400,1605,1665,1382,1281,1409,1470,1442,1274,1345,1494,1442,1542,1507,1609,1917,1703,1442,1554,1694,1508,1434,1520,1578,1624,1626,1830,1804,1704,1715,1598,1550,1373,1165,1430,1760,2002,1798,1367,1333,1380,1810,1865,2080,2017,1726,1892,2003,2286,1815,1572,1695,1432,1323,1534,1427,1372,1757,1732,1434,1334,1321,1315,1352,1920,2435,1910,1631,1468,1417,1391,1354,1312,1397,1455,1446,1500,1511,1417,1432,1445,1438,1465,1554,1682,1754,1660,1542,1534,1481,1442,1394,1462,1453,1592,1514,1411,1175,1246,1350,1392,1570,1745,1674,1689,1932,1904,2269,2282,1747,1573,1607,1568,1442,1455,1611,1747,1715,1596,1503,1436,1567,1852,1888,1500,1638,1833,1744,1465,1349,1561,1587,1391,1538,1383,1223,1289,1569,1342,1554,1964,1927,1976,2135,1813,1355,1313,1353,1383,1409,1376,1272,1248,1466,1341,1313,1339,1462,1563,1472,1319,1447,1897,2383,2566,1841,1535,1476,1394,1271,1456,1737,1840,1957,2011,2207,2424,2765,3008,2523,2444,2663,2761,1905,2517,3609,2990,2475,2152,2343,2553,1863,1569,1483,1550,1521,1514,1532,1561,1542,1431,1507,1604,1540,1605,1461,1406,1434,1463,1741,1788,1688,1533,1486,1583,1571,1859,2381,1920,1512,1402,1574,1837,1969,1855,2045,2164,1968,1685,1973,2170,1755,1772,1989,2072,1853,1629,1520,1468,1638,1709,1597,1675,1518,1425,1552,1626,1604,1675,1597,1714,2003,2326,2255,1892,1870,1758,1699,1727,2068,2017,2054,1943,1538,1941,2032,1776,1757,1912,1948,1750,1842,2114,2183,1775,1946,1958,1582,1815,1925,1676,1511,1439,1442,1431,1484,1558,1603,1819,1909,1866,2092,2291,2175,2402,2732,2592,1943,1870,2228,2671,2061,2030,1836,1941,1911,1811,1885,2413,2670,2204,2113,2570,2898,2878,3284,2967,3074,3233,2893,2530,2531,2578,2307,2007,2185,2939,3088,2688,2377,2413,2962,2800,2342,2231,1963,1983,1973,1690,1707,1919,1649,1520,1613,1903,1945,1866,2177,2198,2048,2076,2439,2849,2309,1935,2160,1875,2398,2802,2118,1876,2011,1916,1803,1781,1831,1856,1774,1772,1676,1717,1674,1786,1605,1460,1566,1557,1450,1545,1706,1686,1709,1600,1603,1826,1735,1663,1902,2621,2722,2271,2232,2379,2500,3053,3199,2577,2301,1672,1821,1947,1743,1881,2198,2808,3382,3884,3573,2799,2698,2444,1966,2261,2526,2236,1714,1455,1469,2157,2586,2541,2880,2842,2476,1911,1805,1572,2130,2259,2399,1943,2042,2856,3028,2729,2587,2567,2849,3273,3183,3083,2932,2862,3087,3225,2954,3096,3500,2969,2199,2052,1901,2267,2317,1778,1898,1594,1570,1704,1960,1784,1476,1428,1494,1600,1570,1826,1970,1924,1998,2110,1924,1677,1593,1663,1700,2120,2147,1678,1643,1714,1744,1836,1860,1824,1775,1938,1659,1461,1712,1831,1832,1737,1879,1908,1715,1506,1254,1532,1876,1884,1727,1814,1973,1920,1790,1933,1922,1622,1834,1815,1515,1742,1932,1918,1881,1702,1618,1475,1272,1381,1531,1748,1880,1996,2431,3213,3344,3328,2885,2467,2635,2535,2695,2876,2654,2987,3387,3526,2842,2984,3130,2873,3110,2990,2902,2785,2841,3218,2644,2454,2957,2442,2907,1993,1771,1868,2245,2028,1892,2464,3404,4047,3450,2830,2487,2077,1909,1879,1931,2374,2136,1702,1679,1683,1714,1811,2081,2318],[2346,2266,2414,2953,3112,2990,2890,2933,3042,2975,3085,2563,2626,3330,3372,3272,3403,3319,3250,3538,3723,3747,3648,3700,3331,3067,2417,1812,1657,1619,1995,1964,1870,2717,3523,2893,2469,1682,1610,1557,1581,1808,1925,1873,2101,2149,2148,2226,2348,2752,2876,3023,3131,3508,3586,3751,4027,2907,2071,2561,2978,3243,2930,2394,1932,1991,1883,2043,2087,2001,2486,3221,3494,3263,3053,2583,2432,2783,2408,2784,2702,2255,1967,2185,2182,2436,2492,2329,2003,1838,1801,1989,1986,1925,1673,1963,2573,2630,2112,1645,1865,2172,2282,2112,1772,1960,2467,2995,3322,3234,3213,3110,3187,2987,2932,2511,1836,1844,1690,1451,1451,1561,1849,2486,2511,2160,2410,2587,2482,2397,2415,2510,2942,2964,2350,2047,2192,2374,1982,2232,2281,2492,2779,2684,2540,2466,2266,2221,2498,2569,2858,3251,3328,3382,3074,2961,2498,2577,2559,2187,2552,3247,3729,3639,3051,2476,2299,2432,2308,2140,2386,2202,1920,1916,1919,2235,2427,2325,2490,2584,2907,3707,3818,3209,3361,2722,2597,2883,2720,2399,2050,1800,1618,1742,1931,1969,2019,2252,2452,2646,2510,2228,1918,1673,1545,1490,1718,1946,2128,2708,2480,2123,2542,2843,2106,2062,1716,1824,2764,3768,3453,2202,1737,1979,2313,2312,2917,3150,3767,3517,2983,2499,2619,3266,3373,3030,2995,3318,3328,3918,3610,3174,2434,3094,4027,4157,4104,4219,4311,4091,3732,3912,4265,3951,3162,2589,2868,2481,2424,2381,2411,2449,2799,3227,2790,2123,1870,1669,1987,2274,2439,2061,1843,1718,1612,1503,2240,3545,4063,3888,2499,2071,2084,1900,1830,2056,1990,1727,1916,2069,2171,2194,1913,1933,2036,2010,1923,1820,1494,1754,1900,1785,1653,1533,1882,2679,3233,2872,2444,2577,1928,2367,2198,2177,1932,1878,2041,2319,2562,2885,2875,2839,3098,2641,2643,2275,2403,2171,2163,2338,2056,2175,2442,2252,1819,2033,1702,1840,1604,1759,2683,2419,2065,1902,1969,1764,1584,1598,1531,1597,1623,1632,1560,1554,1579,1503,1867,1951,1550,1452,1521,1789,2253,2415,2551,2372,2255,1770,2376,1947,1569,1872,1924,1782,1697,1882,2435,1960,1838,2187,2112,1919,2161,2563,3070,2941,2978,3284,2767,1990,2094,1764,1743,1736,1588,1967,2521,2624,2083,2111,2353,2028,1741,2037,2023,1952,2037,2249,2759,2945,2465,1820,1703,1661,1918,2069,2098,2144,1699,1763,1715,2158,3259,3038,2306,2257,2359,1993,1802,1567,1595,1754,2041,2161,1673,2159,2053,1952,2443,2910,1895,1729,1865,1991,2607,2420,2070,2578,2366,2523,2718,2473,1957,1949,1928,2310,2174,2368,2683,2614,2546,2547,2796,2802,3074,3016,2338,2675,3505,3260,3296,3586,2764,1845,1778,1857,1503,1502,1780,1831,2120,1908,2201,2210,1968,1627,1666,1779,1669,1606,1629,1641,2201,2241,2008,1841,1755,1678,1637,1631,1442,1509,1485,1358,1369,1525,1796,1721,1916,1615,1708,1535,1583,1855,1829,1712,1703,1965,1897,2043,2330,2948,2807,2527,3156,3464,3406,2864,2177,1910,1664,1571,1615,1851,2407,2889,2611,2208,1719,1640,2166,2453,2116,2569,3195,3151,2735,1863,2035,2752,2474,2155,1947,1956,2156,1979,2019,2273,2149,1978,2063,2027,1845,2494,3129,2495,1926,2301,2714,2489,2266,2015,1964,2088,2780,3197,2104,2250,2148,2176,1703,1640,1965,1964,1646,1486,1505,1338,1472,1666,1310,1415,1622,1721,1592,1533,1325,1457,1632,1644,1642,1410,1454,1715,1863,1778,2036,2258,2058,1759,1449,1936,1958,1930,2568,2329,1672,1744,1480,1651,2067,1875,2270,2306,2280,2523,2351,1889,1700,1626,1775,2046,2136,2740,2671,2417,2042,2100,2282,2200,2025,1994,1976,1881,1773,1525,1521,1625,2012,2454,2175,2076,1587,1937,2366,2492,3204,3363,2787,2565,2599,2442,2233,2919,3159,2629,2069,1570,1713,1993,2201,2381,3050,3189,2683,2539,2419,2801,2375,2143,2500,2824,2829,2854,2282,1636,1678,1702,1654,1643,1615,1832,1814,1971,2057,1942,1973,1902,1947,2224,2757,2619,3660,4094,2965,2386,2265,1852,1726,1842,1922,1956,2171,2407,2805,3053,2670,2642,2191,2033,1931,1891,1772,1919,1968,1866,1896,1860,2069,2850,2975,2396,1800,2030,2185,1944,1763,1635,1669,2203,2922,3040,2499,2558,2519,2600,2249,2734,2651,1895,1827,2709,2966,2472,2203,2019,2113,1887,2379,2114,2155,2639,2670,2508,2586,2622,2299,1849,1754,1865,2442,2342,1863,2452,2259,1801,2153,1890,2466,2802,2152,1899,1749,1819,2242,2117,2131,1950,3031,3666,3075,2895,2854,2622,3177,3728,3662,4120,4428,3784,4075,4003,4330,3851,3206,3244,3996,4792,5261,5316,5127,5219,5240,5015,4635,4103,3887,2949,2663,2652,2750,2625,2242,2403,2709,2715,2570,2531,2291,2850,3563,3819,3565,2429,1979,1893,1770,1711,1690,1676,1873,1900,2103,2532,2260,2406,2220,1930,2235,2230,2459,2615,2042,2055,2398,2009,2261,2436,2753,2312,1667,1453,1828,2953,2952,2737,3107,2875,2221,1854,2125,2069,2350,2207,1911,2149,2089,1803,1606,1475,1951,2580,2484,2418,2236,2395,2668,2281,2523,2556,2235,2309,2296,1996,2265,2591,2308,3163,2619,2392,2511,2546,2975,3030,2842,2634,2338,1966,2077,2260,2284,2438,2492,1844,2303,2912,2925,2489,1889,1638,2091,2499,2561,2724,3591,3513,2608,2452,2833,2815,2272,2277,2144,2062,2204,2011,1791,1737,1986,2308,1990,2191,2508,2280,2088,1960,2247,2561,2111,1870,1911,1797,2066,2166,1820,2307,2723,2413,1837,2084,2083,2589,2513,2006,1999,1801,1988,2317,1980,1775,1977,2105,1953,2865,2975,2575,1971,1569,1737,1681,1536,1247,1696,2702,2614,1967,1902,1924,2230,2348,2172,1901,1901,2055,2195,2231,2057,2114,2008,1906,1420,1180,1602,2111,1788,1530,1853,2273,3211,4025,3834,3879,4421,4052,3480,3120,2777,2450,1819,2149,3222,3618,3540,3496,2715,1614,1644,1582,1581,1110,845,1114,1659,1678,1144,1261,1458,1453,1522,1596,1330,1338,1576,1426,868,957,1363,1394,1392,1523,1271,776,883,905,1110,1156,781,600,733,922,1167,918,798,1129,1196,1498,1400,1384,2225,2041,1644,1670,1688,1591,1315,1177,1207,1452,1770,1844,1677,1679,1949,2040,1906,1787,1875,1912,1778,1996,1974,1824,1689,1864,2319,2079,2059,1654,1807,1737,1816,1682,1665,1823,1785,1673,2165,2961,3168,3526,3929,2894,3108,3203,3151,3240,3319,3173,2431,1947,1896,1457,1282,1357,1252,1415,1896,1735,1735,1289,1235,1371,1408,1562,1389,1294,1550,1416,1450,1283,1267,1406,1523,1610,1841,1670,1794,1880,1689,1449,1645,1813,1383,1301,1376,1571,1549,1489,1559,1549,1720,1809,1538,1426,1341,1788,1914,1758,1713,1584,1422,1702,1930,2515,2268,2070,2277,1969,2048,1996,2068,1959,1739,1698,1583,1619,1596,1404,1379,1547,1570,1432,1274,1252,1266,1299,1435,1840,1700,1375,1388,1402,1471,1474,1408,1406,1518,1503,1418,1485,1402,1405,1410,1582,1832,1893,1827,1624,1380,1337,1445,1389,1384,1323,1448,1481,1427,1384,1346,1256,1335,1525,1505,1353,1413,1478,1449,1700,1591,1670,1561,1566,1772,1718,1718,1835,2071,1861,1709,1840,1712,1443,1310,1259,1476,1612,1518,1553,2031,2401,1747,1626,1714,1722,1804,1720,1308,1156,1308,1448,1370,1417,1952,2637,2316,2197,1928,1824,1521,1446,1350,1276,1335,1314,1303,1337,1433,1627,1773,2099,1727,1474,1375,1631,2058,2057,1887,1650,1498,1535,1601,1351,1431,1637,1627,1823,1598,1645,1702,1837,2573,2261,1956,2768,2853,2313,3436,4070,3912,3227,2244,2197,2372,1976,1601,1650,2015,1977,1637,1549,1728,1955,1882,1565,2019,1798,1453,1321,1481,1652,1543,1449,1495,1576,1603,1443,1682,1643,1871,2397,1985,1551,1349,1676,2621,2654,1917,1635,1831,2159,1558,1644,1845,1773,1676,1981,2051,2139,2092,1544,1565,1644,1437,1773,1795,1519,1670,1812,1760,1798,1781,1572,1959,2463,2212,1930,1863,2019,2009,1720,1714,2321,2155,2090,1983,2004,2301,1997,1919,2432,2698,2603,1942,1689,2339,2601,1866,1838,1902,1885,2309,2318,1942,1800,1571,1512,1532,1624,1543,1734,2127,2104,1708,1946,2075,1804,2016,2700,2625,2063,2332,2584,2391,2123,2114,1985,1837,1784,1959,2445,2907,2552,1886,2007,2372,2395,2595,3029,2974,2748,2797,3430,3441,2910,2548,2291,1809,1922,2997,3046,2741,2617,2535,3118,2980,2430,1913,1680,1744,1721,1672,1698,1804,1554,1786,1985,2469,2093,1935,2234,1962,1586,1575,2051,2413,2072,2537,2794,1987,1930,2168,1978,1965,2071,1890,1616,1924,1980,2038,2021,1837,1744,1637,1805,1704,1575,1612,1598,1577,1576,1673,1817,1861,1753,1714,1796,1738,1820,1953,2146,2188,2282,2546,2713,3073,3382,3628,3543,2569,1934,1649,1841,1860,2250,2161,1683,1979,2687,3306,2561,1905,1935,1834,1722,1975,1919,1804,1620,1531,1605,1866,2325,3088,3843,3286,2577,2023,1824,2009,2620,2469,2464,2303,2011,2180,2486,2384,2798,2814,2945,3385,3583,3503,3046,2768,2961,3095,2944,3032,3319,2724,2056,2041,1995,2131,2238,2074,2091,2009,1894,2067,2189,1581,1315,1351,1466,1751,1749,1627,1687,2066,2260,2133,1902,1566,1650,1675,1565,1954,1964,1786,1793,1801,1910,1963,2055,1988,1970,2574,2397,1715,1660,1632,1848,1903,1686,1564,1470,1604,1393,1389,1613,1655,1535,1777,1950,1672,1714,1759,1567,1615,1864,1720,1553,1578,1780,1748,1639,1665,1694,1629,1456,1617,1489,1594,1770,2025,2461,2952,3116,3106,2761,2624,2588,2518,2785,2886,2644,2976,3492,3542,2908,2926,3172,3493,3629,2909,2733,2763,2255,2733,3165,3242,3640,3274,3242,2723,2047,1664,1658,1756,2326,3098,3300,2735,2091,2325,2275,1813,2023,2351,2430,2425,2172,1937,1951,1784,1800,1902,2244,2215],[2042,1966,2330,2958,3042,3078,3033,2996,3028,2940,2924,2423,2303,2630,3124,3321,3286,3100,3120,3501,3582,3684,3480,3715,3627,3746,3650,3085,2646,2216,1964,2044,2407,2989,3352,3276,2954,2058,1744,1672,1587,1801,2394,2957,2923,2285,1963,2657,2798,2835,2940,3222,3513,3847,4352,4352,3824,2498,1748,1816,2740,3869,3870,3286,2298,2008,1921,1960,2101,2030,2162,2563,2844,3064,3074,3335,3384,2749,2546,2265,1881,1972,2170,2096,2084,2167,2085,1908,1818,2164,1880,2080,1714,1712,2008,2613,2665,2474,2121,1735,1908,2103,2248,1749,1648,1973,2702,3195,3286,3251,3056,3385,3312,2647,2526,2254,2366,2179,1789,1404,1678,2006,2074,2484,2775,2563,2666,2664,2082,2115,2644,2750,2753,2711,2774,2732,2756,2667,2460,2328,2000,2253,2770,2859,2708,2730,2534,2609,2824,2671,2390,2999,3702,3606,3018,2783,2869,3200,2713,2041,2325,3055,2895,2765,3009,2698,2127,1721,2156,2360,2186,1781,1462,1513,1800,2152,2404,2335,2643,2489,2758,2957,3234,2900,3328,2591,2420,2619,2007,1733,1869,1870,1786,1963,2198,2436,2503,2568,2233,1917,1686,1603,1725,2008,2053,1919,2526,2322,2574,3173,2868,2077,2205,2624,2075,2114,2291,2381,2946,3046,3172,2857,2042,1757,2124,2567,2605,2808,3191,3398,3496,3131,3261,3571,3185,3253,3400,3444,3333,3608,3272,3219,3428,4064,4272,3898,3582,3526,4006,3785,3714,3670,3538,3064,2776,2388,2658,3204,3076,2370,2535,2675,2920,2994,2172,1896,1888,1767,2568,2789,3111,3200,2952,2620,2553,2256,2236,2652,2920,3208,2646,2211,1983,1847,1920,1977,1640,1655,1796,1748,1714,2056,1986,1971,2248,2853,2304,1878,1647,1874,2050,1872,1670,1534,1858,1826,2812,2817,2215,2281,1947,2067,2298,2399,2311,2404,2765,2953,3063,3475,2945,2639,2979,3353,3119,2386,2404,2161,2108,2308,2271,2265,2126,2035,2254,2953,2526,2120,1712,1796,2100,2002,1980,2001,1963,1635,1680,1509,1494,1769,1960,1773,1566,1570,1497,1553,2356,2652,1804,1663,1683,2102,2420,2222,2489,2346,1907,1745,1839,1540,1521,1620,1558,1579,1613,2024,2360,1892,1894,2334,2370,1882,2584,3284,3161,3079,2965,3184,2972,2078,2010,1898,1973,2022,1886,2039,2453,2634,2592,2582,2573,2509,2098,2256,1700,1721,2072,2424,2792,1955,1694,2011,1889,1569,1830,1827,1924,2028,1873,1951,1806,2030,2525,2315,1749,2448,2790,2238,1769,1567,1619,1788,1777,1787,1632,1807,2292,2613,2441,2238,1654,1549,1656,1809,2249,2654,2100,2126,2266,2598,3188,2751,1963,1696,2020,2527,2466,2370,2636,2644,2666,2728,2966,2941,2963,2867,2552,2665,3019,2882,2864,2887,2392,2338,2138,1854,1544,1832,1942,1866,1938,1670,1874,2073,1682,1397,1356,1399,1401,1306,1422,1765,2092,2063,1661,1421,1443,1420,1568,1702,1564,1653,1447,1414,1305,1700,1861,1488,1574,1792,1946,1997,2393,2432,1943,1711,2017,1944,2362,2999,3514,4092,4300,3807,3676,3843,3684,2851,1945,1726,1547,2010,1938,1743,2115,2310,2267,2025,2032,2117,1986,1965,2008,2423,3085,3353,2251,1607,2287,2755,2634,2372,2156,2167,2504,2655,2121,2138,2231,2404,1978,2018,2076,2734,3325,3420,2702,1996,2104,2339,2182,2071,1991,1859,2210,2644,2188,2258,2440,2180,1708,1814,1986,1908,1600,1510,1396,1338,1450,1564,1432,1419,1550,1636,1742,1679,1370,1408,1714,1850,1794,1460,1609,1680,1955,1879,2048,1983,1733,1520,1811,2184,1703,1918,2148,1760,1693,1926,1862,1694,1847,1945,2226,2294,2191,2086,1948,1706,1677,1649,1788,2264,2166,2634,2750,2531,2344,2317,2188,1955,1893,1865,1924,2127,1902,1619,1707,1620,2432,2525,2306,2233,2017,2440,2420,2683,3838,3642,2840,2788,2340,2658,2341,2728,2592,2192,1954,1519,1454,1727,2025,2061,2307,2705,2986,3314,3097,2910,2496,1778,1658,1929,1877,2566,2445,1744,1659,1668,1804,1897,1578,1781,1834,2107,2476,2088,1894,1697,1942,2389,2980,2365,2617,3600,3181,2778,2289,1698,1721,1872,1935,2014,2189,2475,2454,2077,2265,2353,2122,2045,2265,2391,2108,1901,2002,2149,1938,1668,1946,2578,2374,2081,1923,1980,1939,1846,1976,1814,1779,2128,2570,3076,2830,2846,3047,3160,3050,3333,2624,1747,2284,3138,3414,3348,3144,2508,2336,2152,2330,2219,2283,2479,2403,2154,2135,2394,2413,1802,1955,1918,2353,2406,2189,2888,2260,2256,2172,1864,2351,2303,1826,1764,1772,1913,2064,2323,2474,2473,3000,2458,1982,2587,2942,2800,3250,4289,4168,4082,3652,2965,3439,3343,3750,3741,3444,3673,4030,4447,5083,5349,5287,5130,4951,4900,4560,4352,4229,3620,3155,3162,3248,3301,2876,2470,2590,2916,2549,2609,2192,2192,2662,3286,3783,2930,1932,1874,1754,1526,1621,1551,1832,1995,2406,3078,2542,2204,1994,1832,1818,2167,2736,2447,1950,1792,1756,1794,2024,1925,2458,2327,2154,1858,2102,3378,3073,1803,2040,1759,1493,1691,1765,1787,2810,2611,1930,2128,2310,2163,1859,1971,2193,2055,1496,1882,1870,2343,2604,2414,2524,2583,2722,2612,2128,1819,2569,3217,2214,2000,1961,2409,2613,2816,3072,3251,3068,2676,2249,1818,2101,2205,2324,2455,2570,2336,2878,3130,2641,1962,1615,1556,1689,2276,2991,2956,3496,3122,2854,2519,2746,2710,2145,2087,2104,2062,2062,1990,1829,2131,2170,2183,1896,1823,1810,2153,2324,1764,3304,4469,2464,2159,2085,2127,2707,2484,2179,2708,2908,2036,1779,2041,2128,2380,2294,2430,2280,1839,1649,1875,2196,2359,2505,2291,2438,2835,2386,2099,1973,1863,2072,2040,1764,1735,2248,2867,2620,2051,1914,2029,2285,2252,1853,1325,1432,2064,2153,2150,1932,1948,2177,2309,2115,1989,1997,1655,1937,2373,2236,2103,3067,3836,3033,3061,4108,4408,3771,2522,2012,2312,2276,2351,3115,3740,3631,3522,2568,1802,2130,1948,1788,1478,1168,1119,1412,1206,815,1161,1506,1526,1316,1381,1418,1256,1336,1384,1100,1251,1754,1953,1560,1409,1165,851,948,1001,1181,1063,850,973,1070,1418,1799,1366,923,944,817,1400,1384,1334,1702,1881,1826,1751,1696,1507,1255,1211,1250,1526,1651,1579,1610,1716,1797,1773,1694,1706,2061,1990,1694,2035,2013,1827,1720,1764,2194,2343,2779,2394,1920,1668,1672,1548,1686,1947,1699,1425,2292,3226,3292,3501,3570,2557,2890,3274,3218,3158,3266,3276,2733,2120,2010,1304,1214,1316,1265,1726,1896,1569,1270,1181,1324,1465,1989,2012,1552,1737,1876,1368,1499,1231,1198,1319,1265,1682,1765,1549,1987,1817,1865,1602,1785,1731,1626,1621,1442,1613,1715,1448,1354,1532,1620,1621,1520,1702,1636,2366,2249,1808,1533,1885,2688,2781,2214,2072,1782,1909,2134,1875,1984,2118,2106,2056,2100,2027,1803,1653,1660,1691,1468,1367,1394,1379,1344,1395,1482,1397,1551,1902,1524,1302,1323,1361,1518,1467,1382,1375,1420,1472,1487,1641,1542,1419,1427,1580,1804,1772,1656,1387,1299,1470,1604,1394,1328,1303,1306,1350,1307,1319,1366,1346,1440,1659,1521,1436,1462,1449,1382,1321,1216,1380,1355,1514,1523,1457,1655,1679,1910,1766,1713,1661,1708,1555,1354,1207,1125,1252,1556,1622,2366,3078,2193,1654,1405,1500,1471,1359,1193,1070,1213,1405,1433,1209,1440,2042,2006,1842,1830,1776,1572,1554,1450,1355,1373,1401,1395,1403,1644,2244,2296,2138,1760,1699,1557,1481,1547,1788,1851,1771,1837,1418,1435,1416,1496,1738,1784,1759,1660,1880,1678,1895,2423,2188,1964,2452,2817,3139,3680,3992,3981,3275,2186,1826,2190,2033,1475,1525,1916,1604,1711,1969,2561,2314,1940,1697,1969,1696,1460,1376,1478,1512,1478,1445,1520,1632,1776,1920,1646,1502,1688,1621,1424,1377,1347,1704,2146,2185,1854,1615,2184,2070,1476,1652,2257,2055,1444,1636,1876,2094,2002,1643,1526,1612,1668,2522,2410,1913,1815,2029,1959,1890,1886,1691,2001,2188,1578,1784,1810,2377,2522,1872,1871,2358,2181,1894,1843,1763,1848,1819,2243,2943,2951,3071,2776,2147,2282,2733,2231,1793,1781,1755,2294,2483,2200,1698,1332,1497,1612,1562,1596,1662,1932,2029,1810,1748,1641,1633,1804,1841,2009,2249,2849,2732,2308,2187,1854,1775,1880,2020,2264,2957,3071,2459,2117,2156,2136,2318,2586,3006,3564,3252,3208,3958,3746,2979,2562,2370,1838,2137,3162,2882,2697,2745,2966,3305,3076,2676,2078,1719,1653,1663,1668,1543,1677,1847,1789,1742,1925,1999,1980,1885,1666,1712,1558,1798,2046,2690,3071,2530,2039,2003,1862,1852,1916,1914,1890,1966,2225,2226,2147,1925,1748,1826,1785,1721,1759,1675,1586,1573,1552,1620,1879,1844,1819,1825,1974,1808,1713,1708,1925,2325,2400,2740,3240,2942,3326,3377,3775,3414,2270,1902,1918,1731,1927,2244,1606,1437,1655,2373,3194,2588,1936,2153,2129,1989,1872,1681,1609,1498,1683,1831,1730,1916,2786,3417,3332,2689,2420,2475,2877,3137,2673,2215,2812,2996,1957,2372,2454,2715,2654,2861,3265,3500,3648,3216,2544,2236,2739,2984,2833,2646,2338,2198,1966,2343,2418,2802,2850,2677,2602,2153,2198,2308,1880,1617,1588,1497,1846,1803,1710,1687,1757,1820,2005,1926,1644,1727,1579,1468,1688,1509,1756,1987,1836,1913,2010,2214,2010,1762,2277,2366,1758,1732,1615,1851,1976,1582,1461,1471,1835,1811,1610,1844,1708,1695,2342,2404,1787,1661,1390,1418,1538,1798,1739,1560,1579,1825,2130,2026,1785,1760,1786,1609,1816,1676,1529,1547,1980,2610,2909,2841,2976,3017,2805,2652,2510,2202,2485,2291,2575,3052,3190,2901,2709,2915,3277,3218,2785,3360,3067,2331,2604,3233,3626,3894,3505,3203,2980,2310,1629,1533,2239,2894,2858,2127,2200,2178,1859,1823,1842,1906,2465,2961,2662,2005,1880,2094,2042,1943,2019,2162,1975],[1936,2277,2659,3293,3151,3196,3221,3243,3128,3065,2746,2567,2399,2424,3174,2984,2757,2890,3144,2908,3442,3566,3387,3769,3919,3785,3908,3829,3605,3182,2798,2446,2578,3228,3459,3461,3540,3135,2404,1798,1896,2230,2926,3113,2305,2055,2338,2875,2732,2875,3077,3322,3388,3626,4289,4248,3636,2212,1920,1856,2722,3754,3990,3547,2565,2704,2910,2631,2711,2724,2317,2104,2194,2192,2234,2671,2872,2668,2589,2052,2306,2629,2511,2571,2603,2326,2996,2557,2178,2326,1660,1519,1808,2629,2532,2365,3096,3371,2580,2363,2243,2162,2770,2511,2295,2402,2577,2736,3123,3198,3055,3364,3056,2762,2609,2507,2459,2425,2512,2206,2007,2000,1968,2376,2526,1976,1934,2267,2035,2588,2546,2574,2532,2490,2254,2147,2276,3108,3416,2391,2164,2657,2879,2845,2199,2487,2708,2353,2544,2386,1853,2463,3285,3044,2746,2584,2898,2801,1880,1821,2168,2459,2219,2413,2241,2371,2315,2125,2370,2327,2036,1684,1622,1846,2420,3121,3220,2603,2697,2525,2281,2576,3011,2776,2691,2040,1722,1899,1755,1738,1840,2042,2454,2634,2501,2159,1912,1655,1608,1788,1882,1960,2217,2711,2492,2609,3120,2585,2365,2249,2218,2325,2309,2513,2259,2428,2721,2430,2648,2814,2728,2776,1963,1591,2146,2870,3134,3311,2743,2658,3013,2917,3215,3895,3536,3594,3544,3331,3217,3360,3420,3661,4065,4369,4111,3465,3265,3393,3901,3692,3507,2944,2336,1903,2000,2025,2185,3241,3630,2364,2229,2597,2676,2590,2221,2060,2000,2204,2221,2403,3163,3709,3767,3180,2946,2303,2087,1811,2070,2339,2156,1898,1718,1661,1889,1852,1803,2012,1781,1587,1664,2201,2171,1789,2379,2901,2644,2386,1885,1932,2317,2154,1826,1840,2192,2190,3350,3030,2545,2455,2151,2115,2330,2258,2439,2770,2956,3166,3449,3182,2403,2117,2319,2844,3055,2765,2625,2443,1795,2160,2938,2933,2719,2277,2239,2368,2212,1975,1604,1820,2354,2324,1836,1841,1875,1779,1610,1533,1548,1767,1964,1871,1642,1491,1579,1753,2138,2846,2771,2749,2126,2351,2363,2401,2500,2002,1577,1619,1589,1530,1799,1794,1476,1570,1776,2084,1920,1875,1949,2122,2125,2499,3816,3767,2947,3082,3204,3620,3441,2802,2215,1925,2219,2215,2333,2514,2668,2910,2987,2784,2686,2397,1974,2216,1897,1745,1936,2668,2473,1707,1865,2309,2352,2522,2656,2260,2216,2060,2116,2082,1735,1690,1807,2075,2159,2229,2361,2026,1706,1837,2263,2789,2272,2191,2466,2632,3632,4065,3436,2437,1619,1570,1511,1995,2067,2580,2203,1917,2229,2443,3072,2964,2163,2193,2697,2792,2642,2382,2514,2735,2654,2603,2766,2853,2629,2363,2403,2329,2408,2542,2754,2458,1837,2062,2294,1681,1614,1697,1704,1921,2221,2166,2013,1983,2073,1719,1835,1915,2175,2219,2447,2199,1902,1980,1904,1933,2189,2094,2270,2040,1660,1646,1690,1678,1560,1642,1464,1371,1515,2126,2492,2079,1903,1757,1651,2036,2187,2168,2471,2686,3168,4112,4236,3833,3819,3786,3593,2782,1829,1886,1942,2166,1870,2032,2188,2172,2294,2274,2213,2066,1823,1854,2063,2404,2437,2545,2220,2309,2681,2195,1918,2056,2290,2334,2611,2823,2435,1861,1725,1683,1534,1845,2206,2413,2790,3333,2701,1923,1863,1936,1863,2374,2366,2188,1844,2027,1961,1783,2059,1909,1581,1689,1605,1673,1713,1737,1576,1431,1433,1425,1411,1504,1547,1636,1904,1904,1518,1385,1472,1432,1428,1384,1438,1490,1670,1738,2002,1815,1530,1586,1910,1986,1621,1840,1914,1745,2078,1798,2292,2188,1687,2078,2227,1923,2035,1885,1983,2140,2026,1893,2023,2297,2176,2202,2315,2315,2260,2328,2357,2491,2556,2149,2220,2096,1726,1595,1709,1806,2344,2320,2164,2375,2317,1990,1944,2241,3134,3066,2836,2603,1871,2197,2553,2601,2517,2195,1701,1421,1607,1851,1804,1914,2010,2150,2408,2798,2835,2519,2524,2698,2522,2306,1713,1763,1847,2057,2066,2025,2038,2098,2108,2076,1947,1953,2136,1894,1825,1594,2104,2586,2791,2065,2229,3134,3284,3062,2652,1978,2487,3055,2308,1949,1891,2465,2485,2231,2508,2557,2070,1775,2115,2261,1942,2214,2664,2391,2056,1843,2026,2236,1859,1543,1737,1959,2040,2018,1982,1989,2109,2182,2316,2809,2797,2880,2701,2643,2921,2879,2204,2112,2777,3404,3657,3765,3386,2591,2256,2019,1953,2237,2676,2846,2385,2179,2235,2489,2500,1980,1972,2039,2222,2116,2476,3505,3572,2850,2182,2287,2564,2168,1637,1654,1676,1910,1987,2941,3471,3200,2479,1514,1642,2310,2585,2621,2713,3561,3301,3825,3728,3741,4039,3696,3077,2845,3758,4640,4438,4607,5217,4980,5150,5088,4531,4586,4780,4652,4600,4140,3597,3397,3541,3564,3089,2777,2399,2952,2744,2580,2416,2177,2197,2942,3703,3097,2160,1992,2084,1988,2365,2121,2501,2505,2079,2543,2455,1803,1719,1850,1784,1924,2553,2333,2480,2558,2298,2198,1901,2341,2961,2647,2317,2111,2466,2620,1782,1520,2423,2655,2120,1923,2025,1993,2150,2077,1925,2109,2320,2378,2115,2564,2656,2298,1701,1557,1665,2141,2153,2347,2601,2576,2512,2248,1907,1920,2619,3344,2418,1857,2348,2942,3165,3231,3016,2780,2754,2600,2186,2049,2022,2270,2409,2766,3104,2778,3020,3218,2744,2120,1644,1412,1307,1733,3040,2884,2396,2342,2768,2533,2595,2740,2476,2237,2001,2053,1883,1982,2239,2771,2057,1709,1745,1943,1698,1916,2114,1888,3855,4982,2243,1976,1988,2249,2536,2230,1922,2555,2357,1496,1756,2346,2547,2347,2424,2468,2167,2232,2024,1918,1567,1902,2626,2862,2609,1837,1462,1909,2410,2317,1943,1631,1705,2238,2440,2530,2155,1887,1725,1802,1915,1991,1638,1571,1981,2223,1889,1893,1555,1551,1660,1991,2053,1858,1485,1722,2465,1787,1675,1798,2167,3231,3768,3864,3792,3858,3688,2706,2518,2908,2761,2451,2353,3265,3760,3183,2264,2142,2252,1871,1664,1646,1385,1184,1062,636,366,580,1131,1490,1282,1335,1575,1285,1230,1375,1210,1313,1650,1597,1252,1212,1042,922,1176,1388,1466,1235,945,1014,1059,1322,1763,1456,831,798,832,1576,1350,1372,2040,2178,1798,1549,1633,1463,1312,1278,1328,1688,1656,1495,1643,1799,1835,1757,1700,1716,1693,1672,1508,1779,1888,1780,1624,1929,2099,2547,3084,2593,1914,1677,1588,1460,1867,2107,1791,1632,2497,3206,3156,3388,3315,2508,2576,3205,3264,3202,3290,3325,3125,2317,2044,1369,1269,1225,1715,2349,2066,1386,996,1230,1424,1417,1767,1447,1358,1592,1659,1464,1457,1254,1229,1358,1411,1328,1271,1450,1774,1611,1953,1791,1814,1560,1541,1541,1548,1850,1799,1427,1304,1460,1208,1262,1780,1785,1705,1992,2189,2104,1842,2374,3007,2667,1945,1959,1984,1983,1914,1866,2352,2646,2228,1960,2258,2430,1748,1418,1515,1725,1605,1387,1483,1398,1383,1471,1794,1639,1657,1613,1332,1347,1297,1390,1375,1428,1453,1465,1493,1525,1849,2057,1867,1612,1440,1489,1702,1560,1533,1399,1327,1327,1439,1393,1334,1318,1346,1242,1215,1386,1493,1498,1516,1600,1489,1416,1411,1469,1335,1222,1281,1395,1321,1334,1288,1333,1499,1474,1655,1589,1612,1386,1520,1556,1377,1279,1389,1729,2266,1747,2003,2039,1667,1527,1644,1537,1264,1292,1208,1037,1272,1636,1525,1399,1338,1514,1677,1864,1750,1451,1735,1858,1600,1339,1421,1726,1374,1365,1333,2025,1778,1514,1593,1831,2023,1957,2088,2569,2100,1796,1981,1509,1357,1390,1601,1714,2095,1836,1548,1486,1368,1787,2308,2413,2353,2045,1793,2756,3037,3403,3254,2435,1767,1871,2271,1942,1581,1714,1710,1538,1870,2939,3008,2042,1587,1673,1826,1970,2091,1665,1621,1582,1696,1694,1622,1783,2012,2281,1930,1823,1884,1592,1472,1377,1464,1823,1747,2137,2047,1907,2032,1659,1481,1866,2416,2250,2012,2068,2084,2115,1937,1810,1803,1729,1730,2415,2975,2753,1959,1878,2020,2233,2196,1766,2201,2457,2231,1945,1778,2019,1995,1675,1725,1994,2123,1821,1934,1493,1617,1468,2008,2798,2599,2611,2520,2171,2408,2856,2286,1817,2054,2003,2248,2410,2344,1408,1405,1927,1901,1535,1606,1986,2164,2288,2230,1804,1579,2028,1838,2040,2040,2002,2577,2436,2071,1968,1827,2138,2134,2416,2884,3270,2928,2564,2568,2411,2115,2159,2601,3499,3918,3726,3576,3602,2988,2667,2146,2231,2014,2165,2610,2376,2466,2899,3244,3333,3126,2558,2061,1748,1794,1775,1699,1510,1992,2078,1685,1776,1865,1869,1821,1839,1599,1745,1738,1783,2088,2336,2123,1769,1755,1829,1826,2049,2059,1993,2059,2316,2024,2116,2498,2511,2082,1964,1867,1721,1781,1654,1705,1965,1789,1742,1786,1587,1597,1750,2015,1932,1749,1756,1866,2008,2048,2621,3112,2791,2877,2963,3783,3813,2964,2277,1821,1613,1855,1911,1531,1400,1533,2241,3056,2701,2009,2239,2498,2223,1781,1582,1590,1533,1605,1749,2071,2060,2083,2459,2773,2797,2552,2607,2973,3037,2573,2209,2442,2752,2243,2211,2230,2530,1890,1772,2529,3429,4004,3661,2832,2219,2602,2924,2714,2258,1773,1655,1973,2284,2291,2744,3150,3169,2691,2013,2047,2204,2404,2231,1746,1639,1767,1699,1746,1726,1773,1887,1976,1898,2045,1945,1593,1461,1699,1560,1995,1864,1733,1914,1880,1986,1716,1572,2156,2362,1959,1592,1283,1509,1857,1798,1643,1608,1660,1652,1875,2402,1990,2100,2473,2350,1844,1741,1714,1715,1836,2119,2028,1735,1722,1733,1704,1366,1414,1549,1622,1564,1770,1639,1449,1436,1469,1904,2173,2006,2564,2743,2637,2590,2453,2292,2448,2420,2769,3228,3278,3043,2801,2840,2850,2577,2451,3163,2841,2321,2940,3521,3707,3660,3232,2915,2893,2701,2258,2421,3108,3042,2304,1830,1843,1740,1770,2093,2268,2307,2493,2627,2170,1846,1965,1936,1811,1893,2065,1947,2244],[2091,2047,2893,3416,2989,3029,3227,3252,3266,3233,2802,2566,2588,3000,3235,2647,2588,2787,2872,2887,3563,3614,3479,3991,4213,4060,3919,3525,3548,3506,3360,2451,2336,2986,3389,3205,2702,2610,2438,2225,2598,2934,3388,2279,1509,1822,2781,2932,2714,2895,3174,3265,2831,2892,3538,2705,2740,2020,1896,1842,2244,2658,2507,2080,2227,2706,2328,2013,2354,2265,2201,2135,2251,1969,1829,1790,2334,2574,2426,2977,3648,3483,2949,2522,2398,1929,3016,3473,3406,2857,1760,1642,1753,2185,2389,2382,3343,3521,2645,2459,2496,2937,3742,3934,3264,3063,3438,3405,2962,3285,3727,3481,3110,3217,2734,2916,2400,2589,2744,2255,2133,2542,2555,2243,2378,1907,2270,2345,2393,2631,2568,2523,2679,2447,1910,1981,2374,3034,3198,2470,2330,2797,2602,2320,2339,2842,2861,2037,2352,2490,1902,2519,3231,3059,2891,2504,2632,2086,1610,1986,2326,2524,2470,1862,1297,1872,2699,2543,2257,1982,1697,1731,1989,2135,2676,2901,2666,2508,2684,2862,2308,2704,3451,3051,2808,2729,2224,2222,2159,2152,2392,2210,2208,1981,1526,1498,1544,1742,2322,2177,1899,1900,2432,2991,2810,3219,3329,2856,2648,2335,2353,2686,2551,2291,2271,2799,3009,2678,2364,2471,2635,2803,2224,2205,2797,2895,2987,3002,2292,2083,2227,2534,2667,3403,3816,3504,3357,3256,3110,3111,3470,3983,4035,3860,3314,2607,2952,3484,3586,3262,2836,2484,2128,2081,2158,1930,1802,2527,2866,2420,2134,2470,2581,2447,2109,2097,2555,2259,1862,2136,2823,3487,3883,3491,2800,2459,2298,1924,1858,1918,1703,1679,1847,1834,1713,1792,1878,1712,1591,1567,1952,2383,2052,1554,1822,2123,2437,2189,1656,1598,1902,2055,2039,1808,1837,2494,3027,2859,2577,2623,2612,2564,2535,2420,2819,2853,3033,3155,3239,2784,1923,1969,2629,2900,3162,3395,3420,2810,1920,2024,2498,2198,2102,2168,1944,1952,1982,1803,1675,1995,2749,2446,1978,2131,1981,2178,1977,1740,1624,1509,1598,1902,1823,1542,1722,2592,2548,2933,3208,2745,2049,1800,1523,1568,2114,2188,2050,2056,1776,1573,1972,1725,1399,1641,1923,1879,1665,1891,2240,2392,2194,2706,4124,3990,2963,2930,2952,2740,3124,2933,2288,2174,2148,2142,2499,2757,2805,3109,3108,2661,2458,1989,1794,2088,1791,1967,2310,2332,1981,1649,1913,2403,2300,2072,2276,2740,2453,2347,2247,1950,2003,2023,2044,2234,2214,1797,1835,1984,2660,2809,2534,2277,2061,2444,2836,3132,3716,4086,3749,2763,1956,1826,1485,2172,2026,2373,2368,2114,2307,2734,3311,2895,1903,1763,2226,2419,2037,1754,1848,2386,2359,2229,2866,2950,2094,1983,2434,2632,2760,2561,2932,2916,2767,2667,2530,1953,1787,1836,1858,2254,2990,3144,2785,2855,2885,1864,2405,2708,2543,2362,2424,2186,1863,2007,2379,2330,2609,2547,2267,1894,1680,1628,1832,1776,1555,1583,1616,1499,1545,1998,2322,1855,1560,1452,1554,1876,1826,2425,2501,1737,2055,3436,4136,4013,3595,3856,4183,3393,1997,1940,1923,1742,2100,2381,2024,1763,1746,2028,2046,2189,1950,1683,1814,2444,2448,2495,2519,2402,2210,1996,1784,1525,1703,1836,2536,2814,2564,2056,1736,1804,1635,1707,2194,2301,2213,2381,2279,2491,1946,2028,2564,3460,2856,2019,1883,2157,1961,1509,1615,1865,1592,1517,1596,1670,1651,1500,1390,1410,1418,1444,1578,1600,1453,1557,1730,1747,1585,1429,1362,1457,1474,1369,1333,1289,1387,1790,1920,1752,1819,1958,1854,1584,1414,1528,1964,1809,1717,1585,2311,2359,1622,1802,2206,1869,1770,1762,1944,2251,2263,2308,2402,2342,2260,2259,2424,2653,2863,3040,3129,3189,2990,2495,2555,2071,1583,1779,2050,1952,1975,2088,1989,2341,2374,2470,2429,2168,2404,2437,2796,2845,2324,2267,2420,2237,1973,1869,1983,1792,1839,1883,1651,1660,1761,1928,1885,1947,2572,2452,2555,3184,3094,2541,2080,1832,2072,2718,2675,2508,2463,2494,2247,1526,1521,1797,1908,1758,1802,1883,2221,2721,2678,2141,2121,2246,2545,3017,3073,2284,3041,3507,2754,1869,1652,2438,2722,2555,2494,2060,2004,1900,1885,1858,2362,2410,2709,2604,2234,1963,2074,2258,1787,1326,1972,2291,2268,2255,2179,1919,1936,2314,2397,2202,2589,2896,2545,2387,2298,2301,1935,2474,3009,3142,3277,3287,3143,2878,2544,2215,2082,2535,2854,2832,2493,2320,2502,2457,2553,2397,2242,2263,2265,2302,2552,2796,3334,2863,2320,2699,2649,1792,1919,2055,1948,2066,1901,2370,2958,2828,2082,1488,1600,2041,2332,2399,1670,1469,1025,1521,2720,3737,3860,2801,2156,3173,4761,5116,5004,5172,4991,4599,4877,4755,4284,4551,4939,4891,4724,4543,4295,4272,4079,3759,3310,2885,2414,2641,2953,2696,2553,2472,2105,2779,3825,3570,2984,2702,2247,1995,2722,2773,2717,2482,1928,2124,2131,1899,2373,2236,1846,1994,2420,2280,2789,2931,2275,2164,2501,3083,3173,2706,2093,1995,2208,1934,1749,2345,2918,3112,2833,2230,1998,1686,1506,1826,1831,2005,2273,2236,2276,2336,2253,2509,2271,1688,1754,2187,2084,1939,2128,2337,2311,2007,1948,1916,1571,2540,2643,1996,1875,2286,3040,3288,2788,2220,1877,2188,2082,2002,2263,2854,2773,3362,3676,3189,3209,3269,3099,2944,1899,1474,1538,2139,2888,3108,2678,2630,2640,2488,2713,2567,2391,2783,2691,2479,2210,2605,2523,2160,1699,1960,2003,1561,1541,2185,2076,2167,3762,3937,1816,1967,2287,1881,1633,1628,1959,2554,2100,1405,1733,1952,2396,2326,2438,2216,2601,2554,2498,2347,2134,2179,2230,2553,2322,1577,2096,2624,2670,2549,2252,1959,1782,2067,2358,2285,2116,1753,1646,2032,2010,1866,1904,2044,2266,2450,2039,1686,1205,1035,1697,2028,1758,1443,1506,2303,2765,1942,1965,1906,1719,2485,3594,4193,3704,3317,3896,3660,2798,3115,3175,2775,2890,3010,3430,3238,2314,2175,2008,1425,1525,1560,1471,1041,557,373,348,567,1230,1640,1397,1377,1578,1278,1176,1360,1186,1300,1629,1100,1150,1272,1228,1027,1120,1449,1474,1301,997,1039,1058,1205,1831,1562,1030,1027,1005,1520,1284,1140,1930,2205,2072,1708,1785,1485,1378,1347,1533,1861,1744,1781,1825,1765,1918,1803,1618,1528,1309,1299,1368,1623,1808,1820,1503,1996,2186,2458,3216,2728,1966,1641,1656,1562,1822,1936,1866,1906,2618,3394,3450,3527,3463,2566,2346,3100,3152,3099,3356,3267,3134,2468,2229,1734,1293,1459,2316,2603,2135,1358,1050,1219,1295,1390,1242,1042,1165,1499,1681,1505,1085,988,1119,1230,1305,1344,1302,1632,1574,1360,1429,1665,1673,1517,1677,1622,1491,1686,1774,1526,1404,1375,1368,1799,1944,1768,1816,1873,2091,1765,1503,2173,2524,2474,2195,2019,1847,1764,1827,2014,2440,2568,2502,2217,1900,1971,1657,1477,1470,1620,1542,1503,1488,1393,1310,1490,1721,1631,1371,1434,1402,1433,1247,1260,1376,1562,1467,1547,1700,1810,2017,2157,2134,1797,1594,1905,1663,1395,1438,1490,1370,1372,1406,1378,1294,1286,1350,1295,1227,1298,1372,1444,1374,1309,1429,1372,1233,1212,1273,1273,1360,1593,1292,1177,1302,1449,1534,1395,1568,1627,1550,1428,1362,1453,1498,1431,1793,1568,1931,1694,1569,1583,1664,1693,1803,1644,1434,1424,1329,1265,1542,1415,1351,1291,1516,1741,1651,1647,1468,1503,1638,1478,1418,1516,2094,2557,1582,1432,1412,1776,1636,1431,1406,1582,1976,2020,2159,2556,2002,1686,1541,1447,1434,1610,1753,1794,1971,1773,1737,1717,1681,2040,2152,2353,2352,1573,2265,3610,3050,2503,2355,1996,1933,2157,2444,2055,1953,2162,1839,1698,1584,2919,3130,2169,1606,1833,2064,1810,2100,2044,2352,2409,2104,1755,1600,1554,1542,1746,1802,1714,1630,1509,1729,1659,1646,1847,1782,2013,2296,2313,1575,1273,1644,2051,2712,2763,2589,2537,2264,1874,1707,1804,1872,1601,1545,1931,2884,2813,1685,1697,2176,2321,2416,2163,2424,2768,2773,2503,2190,1885,1712,1621,1872,2105,1764,1666,1677,1514,2007,1579,1952,2474,2896,3212,2821,2219,2124,2321,2368,2275,2692,2635,2424,2480,2242,1895,2310,2486,2275,1964,2197,2725,2679,2277,2335,1359,1354,2046,2387,2507,2184,2192,2482,2253,1776,1717,1892,2262,2354,2711,2899,3307,3084,2751,2609,2083,1894,2327,3016,3605,3628,3470,3341,2945,2547,2677,2371,2230,2365,2577,2309,2244,2474,2517,2784,3090,2999,2304,1824,1952,1762,1611,1699,1818,2176,1919,1765,1996,2067,1959,1691,1757,1730,1708,1661,1751,1957,2212,2147,1871,1645,1688,1717,1899,1925,1798,1984,1811,1569,2097,2898,2905,2596,2480,2273,2134,1758,1613,1674,1843,1910,1874,1622,1561,1612,1645,1853,1938,1972,2169,2015,2133,1882,2444,2695,2420,2551,2997,3400,3384,2757,2091,2050,1589,1441,1515,1533,1520,1550,2275,2832,2836,2447,2121,2194,1937,1604,1527,1634,1606,1621,1665,2126,2186,1817,1988,2508,2608,1991,1818,2425,2482,1842,2186,2502,2745,2609,2156,2158,2617,2033,1225,1907,3107,3741,3408,2842,2888,2854,2751,2232,1941,1643,1865,2272,2314,2199,1925,2096,2558,2554,2008,2027,2113,2746,2842,2315,2089,1822,1692,1706,2080,2473,2425,1944,1708,1959,1542,1426,1648,1852,1755,1942,2006,2047,1781,1516,1460,1439,1641,1838,1918,1743,1444,1294,1477,1821,1876,1568,1405,1393,1587,2032,2177,1919,1910,2009,2031,1744,1665,1750,1852,1794,1758,1969,2052,1894,1660,1628,1503,1428,1439,1704,1724,1525,1348,1504,1714,1581,1662,1329,1300,1951,2265,2330,2192,2236,2352,2266,2247,2459,2819,3464,3276,2828,2733,2963,3248,3465,3016,2979,3381,3688,3804,3473,2735,2799,2983,3010,3352,2566,2142,2438,2233,1802,1606,1654,1814,2181,2706,2835,2401,2392,2171,1966,1968,1996,1875,1888,2080,1883,1880,2303],[2026,2269,3396,3511,2832,3071,3395,2976,2917,3177,2803,2653,2543,3054,3166,2899,2608,2921,2973,3259,3990,3709,3649,3908,4245,3974,3775,3567,3472,3475,3204,2318,2176,2751,2500,1619,1704,2088,2082,1800,2149,2293,2617,2312,1636,1695,2246,2480,2588,2674,3134,2861,2243,2239,2258,1785,2261,1942,1606,1871,2381,2450,2368,2508,2625,2556,2453,2337,2207,1743,1860,2010,2511,2158,1850,2198,2546,2329,2546,3562,3736,3244,2770,1997,1786,1600,1965,2736,3178,2454,1844,1986,1910,2197,2065,2391,3165,3304,3186,3372,3152,3165,3529,3404,3193,3150,3201,3060,2698,3320,3797,3632,3697,3824,3617,3673,3123,2767,2292,1867,2148,2409,2415,2145,2350,2060,2411,2626,2569,2551,2609,2623,2392,1910,1630,1835,2128,2485,2151,1954,2142,2404,2237,2220,2420,2735,2486,1995,2730,3011,2118,2474,3320,3187,2931,2344,2073,2028,1925,1883,2207,2564,2635,2631,2635,2928,3111,2662,2258,1976,1477,1916,1953,2141,2372,2624,3044,3153,3235,3649,3619,3751,3946,3131,2524,2450,2313,2199,2121,2063,1985,1937,2074,1735,1505,2229,2192,1980,1902,1665,1787,1844,2502,2648,2570,2795,2981,2709,2709,2534,2366,2618,2163,2018,2797,3355,3213,3507,3235,2821,2658,2653,2702,3131,3068,2868,2702,2307,2106,1973,1822,2075,2534,3121,3683,3461,3133,3204,3294,3731,4224,3885,3815,3951,3367,2280,2184,2519,2612,2307,2061,2235,2410,2325,1977,1761,2062,2568,2495,2261,2968,3177,2741,2297,1940,2460,2875,2244,2121,1864,2304,2947,3520,3650,3312,3024,2397,1868,1660,1622,1548,1791,2003,1853,1593,1677,1777,1677,1566,1519,1737,2281,2215,1729,1533,1715,1899,1576,1465,1614,2060,2273,2148,1793,2352,3229,3474,3060,2608,2514,2522,2391,2026,1881,1973,2768,3032,3082,2972,2573,2246,2359,3048,2963,3365,3706,3975,3192,2679,2793,2605,2403,2774,2354,2122,2160,1864,1758,1582,1931,2456,2071,1949,2123,2027,1840,1748,1693,1587,1477,1614,1853,1821,1677,1695,2732,2640,2901,3121,2596,2459,2515,1850,1544,1959,1810,2289,2187,1979,1886,1667,1361,1435,1593,1915,1784,1359,1354,1622,2114,2216,2710,3089,3215,2534,2344,1914,1674,2448,2526,2259,2204,2163,2257,2424,2340,2357,3144,2886,2645,2688,1988,1953,2118,2005,2210,2124,2184,1959,1979,2397,2757,2962,2253,2287,2676,2290,2410,2462,2135,2089,1912,1932,2315,2339,2078,2172,2125,2785,3120,2640,2325,2415,2534,2784,3039,3470,3981,3814,3436,2199,1631,1340,1783,1819,1952,2023,2136,2406,2737,3384,2952,2015,1844,2202,2178,1793,1730,1866,2264,2563,2757,3164,2992,2513,2111,2518,2744,2670,2457,3023,3317,3255,2877,2718,2475,2299,2427,2333,2282,3111,3218,2736,2768,2408,1808,2325,1914,1575,2140,2341,2194,2131,2103,2526,2433,2329,2351,2053,1801,1744,2047,3038,3274,2437,1792,1894,1899,1864,2002,1867,1771,1749,1578,1394,1316,1439,1712,1730,1609,1717,2124,2316,2894,3200,3787,3868,2857,1998,2072,2056,1763,1958,2201,1945,1529,1501,1883,2066,2190,1879,1664,1902,2308,2747,3169,2665,1902,1624,1657,1747,1707,1583,1923,2707,3523,3094,2381,2212,2259,1969,1815,1721,2074,1912,1672,1750,1863,1821,2240,3384,3482,2591,2148,2073,2189,2279,2346,2026,1902,1849,1503,1541,1456,1457,1469,1463,1514,1486,1387,1632,1672,1411,1494,1462,1626,1746,1568,1365,1463,1319,1247,1560,1665,1512,1715,1754,2238,2500,1890,1485,1484,1411,1491,1888,2051,1675,1488,1703,1837,1560,1514,2031,2008,1816,1777,1824,2050,2260,2221,2105,2191,2489,2843,3373,3684,3332,3415,3526,3430,3067,2682,2601,2162,1529,1765,2149,2164,1869,2251,1956,2192,2677,3073,2340,1857,1996,2211,2701,2924,2508,2378,2613,2200,1855,1895,2126,1919,2003,1913,1721,1732,1643,1882,2035,1951,2389,2540,2416,2810,2595,2474,2410,2017,2318,2950,3237,3065,2927,2712,2070,1549,1951,1895,1750,1732,1968,1982,1683,1889,2409,2391,2125,2353,2549,2807,3095,2277,2857,2933,2653,1863,1503,2137,2114,1775,2031,2277,2580,2263,1736,1720,1982,1771,2191,2466,2002,1882,2337,2624,2139,1994,2445,2710,2702,2804,2606,2298,2223,2295,2246,2256,2385,2374,2390,2161,1991,2552,2204,2414,2646,2401,2738,2709,2853,3466,3537,3285,2667,2790,2379,2619,3178,3223,3100,2159,2460,3271,3426,3130,2636,2842,3150,3063,2916,2669,2374,2555,2156,1727,2219,2007,1971,2024,1761,1775,2025,2108,1665,1033,1528,1851,1991,2216,1396,813,1143,1717,1928,2069,2218,2056,2332,3986,5149,5157,4793,4416,4221,4196,4517,4564,4420,4556,4704,4728,4363,4389,4437,4438,4169,3785,3517,3221,3064,3117,3293,3119,2679,2575,2550,2599,3153,2717,2552,2238,2097,2032,2298,2429,2169,2168,2368,2216,2173,2130,2391,1957,2064,2019,2249,2359,2901,3065,2409,2330,2342,2164,1750,1877,1577,1977,1975,1924,2460,3174,3640,3783,3200,2235,1792,1680,2156,2383,2117,2381,2519,2405,2346,2305,2228,2230,2154,1978,2347,2357,1631,1741,2471,2563,2341,2460,2699,2186,1601,2397,2537,2037,2150,2173,2551,3123,2872,1970,1711,1663,1736,1728,2320,3166,3496,3723,3548,3325,3391,3744,3902,3977,2744,2679,2866,2548,2630,2857,2645,2458,1902,2110,2382,2107,2017,2268,2130,2458,2831,3186,3131,2397,2154,2684,2509,1830,2057,2312,1715,1544,2030,2169,1639,2049,2330,2051,2110,2327,2339,2409,1626,1503,1842,2158,2632,2494,1835,1709,2486,2469,2533,2642,2562,2584,1968,1897,1976,2286,2827,2900,2492,1953,1936,2316,2170,2002,1916,2098,2285,1829,1819,2106,1986,1712,2303,2708,2302,2056,1856,1804,1558,1637,2206,2292,1975,1692,2097,2696,2665,1991,1912,1971,1875,2072,2853,3899,3784,2698,3077,3333,2354,2813,3411,2835,2407,2145,2433,2446,2127,1828,1479,1362,1569,1797,1615,1041,483,366,732,1543,2196,2057,1563,1300,1265,1085,1035,1271,1125,1348,1551,1058,1148,1294,1253,1107,1142,1391,1365,1392,1183,1168,1378,1484,1843,1661,1485,1599,1654,1787,1400,1080,1616,2080,2502,1528,1454,1556,1566,1525,1779,1795,1695,1852,1869,1910,1804,1660,1551,1339,1375,1369,1303,1363,1578,1644,1493,2014,2183,2183,3042,2868,2570,1908,1858,1813,1781,1850,1894,1831,2237,3045,3230,3305,3704,3041,2345,3128,3143,3103,3255,3307,3031,2179,2149,2416,2107,2483,2657,2152,2088,1377,1080,1318,1417,1588,1238,1094,1644,1930,1762,1447,1130,1139,1179,1514,1368,1291,1194,1459,1458,1387,1467,1797,2001,2291,2522,2389,2193,2177,1805,1627,1654,1533,1401,1444,1549,1841,1991,1727,1325,1089,1195,1556,1797,2198,1680,1375,1457,1641,1745,2035,2482,2824,2920,2676,1673,1567,1464,1332,1362,1556,1545,1387,1341,1408,1444,1359,1489,1594,1305,1509,1390,1404,1242,1274,1338,1528,1566,1606,1547,1613,1781,1957,2024,1638,1872,1974,1657,1432,1746,1650,1391,1446,1384,1341,1317,1222,1406,1689,1307,1350,1305,1433,1425,1255,1287,1330,1295,1250,1286,1251,1242,1397,1310,1269,1395,1844,1738,1473,1732,1793,1495,1398,1507,1451,1450,1360,1679,1588,1918,1632,1489,1584,1609,1545,1570,1660,1561,1466,1356,1367,1499,1310,1062,1134,1615,1713,1566,1415,1302,1527,1503,1425,1376,1482,1831,2235,1814,1599,1638,1484,1326,1683,1758,1693,2123,2006,2047,2177,1835,1896,1720,1585,1571,1764,1708,1713,1906,1474,1560,2030,2238,2176,2258,2618,2303,1862,3024,3838,2985,2386,2285,1915,2113,2175,2349,2056,1935,2020,1762,1588,1601,1992,2255,2171,1638,1648,1858,1873,2041,2461,2444,2126,1945,1677,1505,1427,1455,1541,1603,1387,1302,1291,1601,1723,1858,1963,1817,1847,2281,2288,1626,1741,1854,2242,2536,2332,2324,2941,2681,2273,1799,1635,1765,1774,1737,1819,2221,1937,1521,1780,2148,2082,2374,2316,1951,2017,1879,1878,1706,1504,1716,1461,1808,1974,1830,1737,1484,2016,2446,1977,1917,2121,2891,3452,3022,2507,2023,1779,2440,2768,2720,2393,2074,2147,2390,2736,2932,2983,2917,2097,2040,2603,2752,2122,1688,1285,1422,1782,1910,2009,2389,2656,2288,2186,1714,1609,1928,2285,2849,2951,2830,3423,2975,2099,1944,2086,2285,2572,3177,3496,3579,3128,3061,2423,2087,2160,2150,2182,2458,2191,1969,2249,2403,2495,2563,2471,2325,2013,1688,1669,1694,1676,1772,2441,2943,2021,1939,2034,2022,1964,1982,1825,1703,1671,1700,1678,1714,2017,2133,1922,1812,1927,2118,1938,1824,1780,1750,1654,1687,2106,2570,2835,2801,2612,2432,2209,1926,1855,1839,2050,2337,2002,1581,1548,1549,1514,1744,1831,2042,2472,2802,2572,2178,2753,3028,2666,2510,2964,3310,3154,2150,1857,2094,1704,1498,1452,1905,2205,1765,2009,2569,2753,2750,2416,1898,1623,1818,1765,1721,1691,1738,1699,1970,2021,1841,1747,1953,1996,1921,1861,1609,1757,2157,2223,2398,2807,2386,1869,2373,2998,2510,2259,3271,3925,3464,2999,2897,3023,2898,2654,2175,1913,2070,2254,2189,2258,2253,1913,1779,1786,2046,2005,2226,2680,3121,2712,2147,1783,1724,1884,1616,1813,1923,2025,1810,1628,1737,1632,1622,1782,1942,1938,2100,2148,2181,1740,1606,1658,1571,1545,1543,1749,1867,1527,1378,1505,1657,1902,1483,1418,1517,1709,2086,1713,1512,1636,1850,1896,2017,1902,1397,1405,1723,1945,1896,1931,1632,1449,1744,1989,1672,1508,1597,1668,1675,1542,1796,2096,1933,1759,1468,1383,1498,1554,1713,1702,2060,2513,2438,2436,2538,2739,3270,2995,2833,2663,3361,4121,3981,3595,3696,3733,3752,3728,3391,2554,2842,3426,3587,3985,3284,2584,2242,1915,1554,1676,2120,2231,2275,2392,2646,2732,2649,2284,1968,2121,2223,1949,1958,1961,1982,2153,2417],[2019,2483,3310,3377,2939,3606,4095,3405,2939,3002,2808,2649,2492,2750,2812,2596,2399,2846,3223,3674,4005,3686,3716,3819,4060,3698,3466,3494,3406,3393,3370,2916,2305,2417,2264,1703,2007,2088,2050,1791,1731,1747,2232,2546,2062,1853,1890,2242,2370,2427,2985,2902,2009,2972,3077,2689,2398,1886,1946,2656,3410,3650,3802,3684,3442,3209,2890,2228,2285,2195,2254,2456,2596,2144,1792,2123,2242,2275,2599,3051,2789,2832,2371,2183,1907,1779,1837,2253,2753,2357,2102,2208,2118,2275,2192,1909,1950,2762,3347,3739,3812,3738,3500,3048,2809,2954,2873,2670,2763,2938,3076,3255,3406,4116,3663,2792,2843,2530,2350,2534,2624,2365,2514,2590,2227,2032,2054,2141,2221,2546,2729,2548,2352,1974,1726,1816,1714,2142,2244,2343,2104,1830,1520,1796,1889,1565,1848,2037,2478,2743,2278,2263,3144,3173,3008,2129,2029,1951,1740,1991,2141,2300,2550,2854,2976,2967,2968,2562,2553,2207,2216,2913,2570,2078,2208,2828,3097,3307,3793,3905,3720,3283,2976,2514,2348,2197,2003,1882,1769,1852,2118,2428,2977,2572,1839,1895,1789,1875,2090,1933,2461,2491,2492,2577,2382,2315,2286,2112,2462,2309,2352,2335,1991,2552,2939,3316,2975,2595,3007,2945,2425,2732,3020,3230,2850,2855,2744,2485,2224,1988,1791,1909,2562,3005,3530,3890,3300,2841,3588,4392,4232,3664,3784,3726,2828,1935,1892,2167,2206,2097,2307,2359,2489,2494,2218,2461,2681,2400,2411,2734,3292,3299,2828,2805,2322,2371,2351,2368,2204,1993,2173,2227,2499,2798,3047,2793,2059,1761,1661,1561,1542,1715,1587,1606,1636,1702,1670,1524,1642,1650,2132,3019,2426,1823,1694,1832,1901,1641,1760,2050,2253,2304,1829,1763,2852,3753,3942,3249,2372,1825,1689,1837,1712,1756,1960,2253,2732,3400,3310,2945,2871,2850,2818,2220,2719,3096,3211,3262,2986,3272,3140,2900,2962,1955,2049,2246,1862,1548,1616,1669,1813,2008,2055,2033,1819,1591,1560,1735,1736,1637,1862,1597,1439,1559,1643,1981,2008,2684,2908,2577,2858,2734,2159,2051,2087,1735,2069,1893,1603,1708,1554,1393,1501,1531,1876,1802,1498,1393,1760,2286,2280,2146,2039,2102,2440,2352,1926,2305,2574,2700,3120,2325,1664,1808,2049,2275,2609,2722,2678,3044,2617,1766,2027,2271,1810,1660,2122,2508,2283,1990,2523,2566,2798,2356,2122,2446,2383,2131,1901,2138,2051,2134,3086,3680,3694,2812,2182,1874,1926,2303,2490,2629,2778,2461,2512,2885,3188,3476,3640,3363,2289,1746,1610,1946,2214,2207,2350,2242,2282,2902,3561,3443,2510,2329,2764,2947,2627,2432,2435,2570,2890,2962,2910,2827,2671,2206,2285,2422,2375,2435,3078,3637,3588,3272,3081,2791,2354,2283,2270,2185,2626,2348,2646,2803,2322,2229,2289,1935,1918,2629,2285,1978,2186,2375,2535,2371,2531,2247,2095,2062,1647,2179,3714,3979,3274,2145,1874,1856,1992,1908,1776,1739,1643,1521,1524,1514,1454,1537,1522,1755,1567,1603,1811,2095,2534,2910,2597,2209,2101,1947,2010,1976,1935,2207,2144,1622,1498,1782,2030,1885,1677,1706,1804,1714,1757,1803,1736,1787,1703,1614,2032,2439,1964,1874,2340,2886,2775,2577,2457,2149,1832,2238,1880,1770,1732,1653,1714,1875,2124,2686,3460,3104,2584,2449,2216,1925,2336,2602,1954,1654,1740,1460,1373,1490,1470,1485,1500,1437,1463,1621,1914,1855,1598,1650,1805,1862,2023,1785,1506,1549,1622,2019,2806,2938,1958,1704,1815,2571,2277,2141,2150,1814,1726,1787,2489,3104,2459,1753,1630,1652,1806,1891,2535,2434,1837,1514,1543,1877,2247,2458,3012,3566,3624,3088,3254,3008,2496,2713,2806,2964,2938,2422,2429,2614,1852,1730,2026,2098,1720,1910,1808,1905,2430,2306,1606,1634,1974,2158,2415,2622,2618,2351,2566,2842,2325,1791,2224,2482,2255,2229,2182,1830,2022,2200,2339,2218,1886,1753,1841,2205,2328,2830,2866,2295,2099,2896,3637,3199,2976,2622,2150,1882,2057,1644,1820,2437,2298,2013,1993,2202,3121,3469,2418,2852,2754,2625,2846,2517,2938,3274,2835,1870,1493,2025,2018,1692,1804,2276,2908,2380,1794,1915,1904,2036,2652,2675,2073,1903,2678,2493,2422,2806,3151,3021,2608,2429,2276,2181,2167,2120,1945,1621,1826,2279,2590,2367,2172,2386,2267,2385,2497,2754,2906,2689,2988,3560,3696,3549,2943,2720,2654,3176,3592,3466,3284,2740,2784,3172,2620,2237,2512,3067,3112,2986,2352,2410,2486,2398,1752,1762,1742,1454,1830,1927,1904,2143,2228,1971,1699,1932,2300,1948,2070,2170,1370,1071,1811,2076,2060,1713,1488,1795,2441,3955,4575,4285,3220,2927,3296,3685,3882,3956,4233,4360,4332,4588,4476,4292,4441,4439,4200,3801,3793,3666,3375,3251,3307,3531,3090,2522,2624,2135,2015,2079,2386,2286,2626,2501,2056,2092,1760,1901,1948,2221,2286,2444,2314,1929,1776,1880,2178,2281,2709,2822,2472,2779,2886,2786,1660,1443,1527,1748,1532,1649,2236,3037,3875,3937,2778,2029,2230,2491,2608,2322,1854,1880,2226,2091,2024,2330,2198,2133,2290,2331,2216,1602,1488,2796,3142,2886,2394,2483,2780,2324,1704,1685,2024,1973,1935,2236,2276,2719,2729,1704,1831,1942,1748,1801,2052,2479,3117,3670,3540,3510,3874,4569,4824,4708,4038,3870,3400,2513,2682,2800,2634,2422,1814,2004,2478,2767,2258,1231,1448,2577,3030,3350,3442,3190,2908,2905,2542,2235,2520,2281,2126,2198,2106,2296,2527,2664,2471,1962,2375,2922,2731,2028,1397,1788,2108,2524,2218,2248,1944,1985,2308,2000,2482,2666,2639,2994,2686,2758,2830,2840,2619,2520,2240,1846,2426,2752,2410,1944,1759,2061,2056,2040,1976,1982,2022,1925,1666,1370,1876,2521,2003,1654,1425,1693,2200,2354,2303,1900,2042,3053,3008,1923,1848,2353,2214,2210,2298,3355,3818,2390,2353,2873,2567,2692,3090,3066,2709,2366,2051,1765,1805,1207,1355,1695,1676,1737,1616,1312,792,954,1902,2343,2459,2120,1472,1106,1010,1058,1169,1371,1228,1387,1663,1470,1226,1357,1474,1461,1452,1455,1414,1486,1404,1455,1636,1682,1694,1578,1478,1404,1229,1376,1462,1037,1389,1700,1954,1604,1578,1705,1572,1615,1720,1675,1843,2003,1609,1514,1642,1739,1488,1349,1441,1394,1329,1426,1448,1421,1596,1936,2110,2512,2684,2434,2125,1822,1863,2066,2072,1917,1864,1935,2457,3282,3118,2729,2924,2812,2455,3056,3394,3238,3104,3229,3042,2569,2719,2971,2780,2614,2421,2244,2514,1539,984,1251,1454,1462,1160,1196,1959,2221,1728,1417,1238,1341,1248,1571,1394,1173,1143,1259,1394,1393,1599,2003,2697,3269,3520,3660,3576,3632,2879,2851,2654,1700,1478,1740,1648,1580,1920,1700,1750,1518,1486,1471,1586,1687,1484,1321,1328,1685,1900,1946,2293,2745,2517,2304,1590,1723,1586,1385,1387,1518,1517,1345,1408,1455,1463,1349,1504,1428,1425,1604,1394,1288,1339,1339,1274,1403,1698,1856,1666,1726,1665,1739,2002,1919,1881,1655,1665,1548,1431,1368,1399,1388,1250,1223,1277,1295,1384,1523,1293,1276,1260,1460,1454,1247,1272,1268,1202,1290,1268,1303,1346,1221,1261,1298,1358,1463,1544,1590,1470,1387,1843,1447,1572,1562,1428,1412,1458,1428,1413,1428,1451,1301,1301,1323,1470,1744,1743,1579,1353,1310,1282,1119,1128,1338,1410,1429,1666,1530,1305,1387,1553,1621,1488,1315,1598,1732,1552,1533,1728,1717,1604,1874,1812,1676,1976,1998,2111,2148,2238,2165,1873,1837,1875,1814,1665,1882,1792,1634,1744,2246,2386,2272,2712,2808,2894,3319,3273,3116,2940,3177,3288,2469,2308,1849,2122,2228,2084,2052,1794,1830,1750,1541,1837,1871,1794,1629,1672,1896,1644,1859,1926,1783,1750,1856,1763,1507,1456,1418,1746,1563,1488,1418,1500,1456,1742,1961,1816,1784,1974,2087,1882,1767,1699,2159,2292,2081,2523,2654,2392,2175,1775,1738,1931,2011,2188,2222,1901,1997,1626,1690,1852,1785,1929,1781,1746,1738,1584,1874,1626,1417,1509,1656,2030,1655,1735,1801,1930,2469,2431,1872,1621,1645,2009,2553,2880,2509,2000,1951,2120,3033,3510,2844,2198,1854,1970,2502,2833,3199,2464,1913,1760,1995,2157,2072,1907,1648,1735,1935,2084,2347,2448,2412,1561,1668,1792,1747,1831,2499,3564,3352,3073,3269,2585,1851,1964,2225,2296,2608,2959,3879,3906,3329,2913,2140,1775,1654,1715,1904,2446,2757,2200,2354,2701,2596,2071,1977,1866,1737,1640,1557,1627,1582,1716,2065,2396,1991,1871,1898,2064,1928,2074,2187,1938,1851,1889,1849,2084,2166,2050,1829,1912,2074,1981,1969,2001,1759,1765,1829,1870,2185,2646,2536,2369,2059,2211,2185,2248,2268,2123,2101,1954,1622,1648,1818,1859,1702,1808,1752,1918,2142,2698,2549,2316,2723,3060,2453,2088,2625,2635,1915,1651,1810,1896,1789,1636,1687,2401,2680,2137,2115,2410,2289,1981,1665,1627,1676,2209,1983,1578,1609,1601,1667,1918,2221,2014,2023,1902,1765,1936,2128,2007,2476,2496,1868,1527,1415,1571,1897,2852,3387,2900,3296,3858,4012,3337,3043,3230,3196,2958,2906,2880,2723,2468,2097,2148,2196,2354,2355,1838,1672,1718,1819,1908,2141,2378,2117,1779,1698,1992,2166,1673,1494,1461,1653,1702,1759,1969,1926,1781,2000,2114,1991,2326,1964,1564,1471,1426,1528,1600,1932,1898,1771,1880,1466,1449,1663,1681,1986,1716,1505,1652,1924,2286,1958,1692,1744,1638,1671,1903,1794,1650,1635,2140,2348,2009,1964,1703,1422,1906,2065,1583,1541,1602,1698,1885,1829,2032,2306,2159,1663,1534,1515,1474,1444,1376,1527,2045,2509,2684,2520,2178,2347,2840,3106,3060,2864,3452,3881,3740,3951,4046,3986,3663,3573,3553,3212,3176,3494,4047,3960,3123,2669,2710,2163,1763,2210,2292,2034,2302,2172,2536,2921,2666,2197,2117,2358,2249,1829,2001,2298,2296,2292,2395],[2150,2593,3330,3104,3023,3986,4329,4104,3969,2854,1995,1925,1919,2075,2339,2588,2680,2640,3143,4038,3881,3621,3706,3823,3594,3351,3558,3340,3016,3425,3698,3338,2434,2222,2265,1897,2037,2065,2320,2290,2030,1832,2417,2589,1859,1880,1983,2559,2591,2624,2840,2978,2206,2990,3342,2930,2470,2149,3270,3691,3906,3798,3852,3761,3660,3134,2382,2308,2462,2031,1906,2029,1900,1902,1899,2213,1792,1922,2363,2977,3112,2766,2553,2822,2662,2337,2199,2093,1825,1536,2018,2327,2084,1975,1887,1549,1512,2611,3354,3451,3768,3632,3295,3154,2788,2911,2899,3089,3306,3155,3287,3641,3894,4107,3369,2334,2679,2149,2071,2482,2304,2459,2740,2508,1998,1946,2116,2047,2062,2354,2578,2592,2489,2037,1952,2354,2284,2302,2435,2329,2048,1556,881,1098,1458,1290,2177,2348,2535,2630,2166,1995,2754,3602,3503,2927,2670,2197,1831,2291,2462,2528,2984,2920,2956,2589,2485,2325,2579,2421,2553,2469,2272,1935,2067,2770,3293,3749,3798,3208,2910,2618,2083,1918,1857,1804,1665,1465,1507,2036,2347,2374,2521,1958,1460,1722,1914,2102,2322,2106,2459,2423,2530,2846,2325,2249,2324,1829,2006,2199,2275,2247,2442,2478,2563,3265,3097,1992,2336,2907,2887,3565,3116,2683,2608,2578,2670,2766,2277,1933,1816,1990,2421,2808,3262,3572,2915,2141,3187,4227,4081,3749,3882,3296,2198,1759,1857,2317,2326,2241,2320,2349,2472,2552,2710,2437,2081,2118,2636,2917,2695,2851,2532,2630,2388,2162,1823,1942,1831,1885,2024,2114,2282,2308,2403,2948,2908,2327,1754,1532,1500,1504,1732,1767,1462,1568,1621,1809,2204,1951,2412,3383,2797,1858,1758,1780,1678,1538,1816,2099,1834,1677,1628,1546,2121,3248,3139,2685,2144,1825,1777,1992,2548,2850,2735,2578,2886,2880,2553,2381,2717,3124,2502,2518,2509,2215,2451,2588,2510,3448,3336,2388,2050,1942,1622,1862,1659,1962,2126,1867,1666,1686,1854,1993,1820,1635,1725,1599,1513,1415,1491,1462,1428,1628,2045,2390,2603,2761,2808,2828,2459,1476,1562,1980,2394,2800,2089,1748,1820,1985,1860,1719,1736,1509,1641,1812,1682,1559,2392,2382,2084,2053,2045,1979,2328,2153,2190,2822,2686,3120,3300,2012,1622,1808,1779,2202,2636,2700,2768,2706,2290,1761,1859,2261,2363,2256,2404,2276,2009,2232,2520,2315,2658,2603,2234,2522,2159,1980,2394,3153,2491,2100,3107,3830,3997,3111,2482,2452,2144,2135,2173,2668,3392,2838,2461,2575,2381,2678,3089,2561,2165,2220,1993,2316,2848,2711,2336,2447,2146,2843,3109,2801,2447,2597,3016,3111,2746,2425,2514,2447,2854,2855,2691,2957,3420,2963,2507,2640,2611,2561,2881,3152,3405,3337,3278,2920,2725,2747,2442,2316,2331,2021,2510,2556,2515,3098,3120,2547,2245,2969,2393,1990,2259,2198,2215,2231,2060,1920,2009,1954,1477,1772,2504,2636,2302,1707,1808,1992,1721,1895,2295,2006,1681,1613,1563,1493,1505,1938,2032,2077,1812,1664,2180,2135,1968,2015,1707,1709,1788,1635,1814,2269,1864,1826,2010,1782,1645,1974,1957,1750,1793,1696,1551,1487,1353,1588,1837,1836,1924,1886,2283,2626,2632,2375,2271,2241,1801,2485,2842,2346,1832,1923,1835,1930,1786,1764,1703,1685,1771,2182,2586,2473,2431,2496,2295,2126,2278,2349,1848,1533,1494,1455,1504,1459,1328,1347,1438,1255,1333,1674,1809,2048,1946,1999,1823,1825,2160,1858,1633,1642,1769,2443,3350,3717,2351,1614,1659,1731,1687,2487,2641,1849,1409,1862,3264,3915,3562,2212,1607,1731,2187,2557,2889,2590,1778,1418,1629,1864,2573,3339,3648,3469,2964,2476,2565,2684,2156,1575,1835,2613,3082,2911,2619,2642,2132,1795,1979,1866,1813,1740,1671,1756,1782,1502,1550,1763,1737,1829,1838,2385,2576,2209,2103,2612,2706,2282,2933,3658,2754,2443,2568,1966,2071,2226,2299,2302,1904,1635,1976,2108,2092,2588,2689,2282,2035,2624,3138,3074,2824,2292,1900,1903,1914,1718,2213,2604,1999,1936,2349,2491,3643,3947,2812,2792,2812,2610,2460,2454,2691,3179,2975,1763,1377,1955,2001,1712,1642,1833,2381,2061,1633,1670,1987,2347,2834,3061,2474,1845,2457,1947,2685,2643,2164,2127,2143,2307,2315,2099,2009,1997,1679,1231,1654,2785,3319,2733,2215,2262,2686,2868,3006,3091,2508,2580,3254,3453,3375,3399,3220,2606,3008,3908,4158,4182,3726,2554,2205,2609,2583,2435,2778,3034,3047,2436,2149,2605,2420,2021,1838,1935,1671,1651,1920,2121,2370,2328,2431,2184,2079,2191,1977,1756,2034,2117,1577,824,1268,1425,1688,1870,2073,1985,2487,3785,4368,3465,2254,1865,2266,2708,2841,3254,3608,3993,4257,4424,4509,4433,4455,4451,4184,3824,3485,3435,3582,3420,3268,3385,3323,2850,2578,2177,1948,2391,2834,2756,2995,2755,2198,2048,1730,1726,1820,2566,2821,2689,2186,1620,1482,1692,1967,2106,2219,2512,2935,2649,2809,2931,2222,1926,2418,2088,1687,2330,2375,2167,2525,2727,2226,1881,2344,3113,3210,2722,2139,1803,1931,2172,2697,3234,2821,2600,2703,2635,1696,1281,2467,3273,2779,2732,2929,2706,2423,2010,1668,1617,2357,2316,2143,2010,2423,2623,2216,2022,2308,2019,1760,1857,1790,1921,2626,3316,3370,3472,4003,4564,4744,4588,4038,3637,3097,2506,2348,1977,2482,2907,2562,2280,2435,2697,2069,1077,1455,2207,2635,3159,3242,3230,3061,2452,2087,2508,2567,2176,2010,1885,2024,2348,2284,2213,2580,2483,2371,2687,2469,1414,1525,1905,2040,2072,1995,2394,2622,2811,2750,2401,2110,2478,2785,2707,2686,2828,2717,2698,2562,2280,1848,1815,2392,2166,2254,2300,2589,2316,1938,2205,2244,1834,1837,1611,811,576,1645,2768,2184,1537,1305,1483,1948,2407,2356,2046,1898,2474,2960,2457,1896,2062,1938,2699,2230,2587,3603,2866,2341,2795,2873,2800,3017,3095,2578,2236,1632,1416,1296,998,1274,1654,1594,1656,1758,1678,1202,1164,1808,2017,2138,2069,1537,1208,1247,1312,1305,1415,1434,1355,1333,1204,1205,1435,1611,1582,1517,1720,1802,1599,1578,1572,1534,1454,1536,1565,1023,684,847,1184,1458,1155,1313,1420,1536,1511,1600,1546,1456,1758,1788,1777,2172,2044,1520,1587,1913,1873,1418,1310,1462,1356,1290,1456,1454,1402,1620,2051,2089,2653,2740,2377,2017,1759,1723,1941,2035,2007,1834,1913,2126,2921,3030,2492,2536,2480,2329,2836,3383,3528,3340,3171,2994,3024,3131,3011,2150,1916,2298,2792,2809,1655,915,1115,1342,1228,1180,1338,2090,2010,1397,1294,1223,1161,1428,1489,1249,1236,1163,1291,1378,1489,1958,2275,3362,3812,3545,3432,3716,4079,3917,3731,2815,1600,1857,2223,1805,1939,2511,2160,1913,1583,1650,1950,2568,2467,2052,2235,2192,2277,2415,2122,2071,1890,1559,2000,1789,1644,1499,1288,1523,1948,1815,1430,1533,1516,1328,1450,1616,1343,1297,1411,1285,1202,1307,1354,1506,1449,1650,1872,1900,1776,1848,2314,2322,1918,1641,1494,1453,1386,1350,1532,1441,1405,1478,1363,1286,1299,1320,1314,1254,1351,1442,1485,1474,1218,1217,1230,1182,1192,1239,1297,1366,1264,1285,1374,1398,1420,1864,1814,1545,1491,2379,1625,1709,1727,1484,1482,1441,1354,1466,1500,1522,1365,1446,1500,1543,1650,1693,1682,1547,1448,1358,1219,1198,1326,1309,1365,1430,1422,1400,1602,1430,1399,1385,1443,1777,1701,1523,1643,1683,2085,1780,1446,1631,1605,1495,1659,1709,1797,2066,2094,1968,1787,1665,1818,1837,2105,1889,1780,1921,2439,2213,2347,3018,2802,2912,3168,2966,2999,2998,2580,2236,2291,2314,1830,2061,2150,2189,2420,1930,1771,1528,1657,2252,1886,1908,1744,1677,1630,1387,1561,1949,2056,2126,1914,1594,1395,1361,1565,2024,1769,1516,1723,1811,1562,1543,1570,1583,1959,1948,1800,2020,2125,1854,2159,2501,2377,2392,2484,2273,2170,2368,2150,1964,1887,2015,2146,1997,1876,1737,1904,1726,1488,1389,1604,1822,1711,1838,1971,1826,1583,1237,1704,1845,1682,1682,2060,2493,2563,2530,2355,1858,1674,1649,1913,2304,2012,1806,1733,1783,2291,2552,2578,2470,1997,1859,2116,2685,2471,1669,1548,1409,1693,2025,2114,2066,1805,2030,2137,1819,1918,2203,2315,1785,1574,1703,1861,2003,2598,3274,3016,3088,2612,2157,2116,2504,2973,2814,2477,3153,4113,3809,3499,3020,1937,1536,1716,1928,1663,1762,2298,2053,2200,2774,2430,2091,2038,1644,1694,1911,1948,2025,2250,2023,1811,2246,2247,2081,2111,2056,1821,1765,2051,2395,2049,1808,1929,2249,2259,1940,1907,1933,1925,1830,1889,2006,1851,1744,1746,1753,1890,2326,2514,2189,1896,1824,1786,1891,2076,2142,1943,1652,1597,1623,2168,2030,1543,1710,1758,1730,1754,1999,2284,2511,3099,3094,2214,1949,2017,1768,1710,1718,1663,1635,1640,1725,1901,2450,2743,2311,2054,2216,1895,1711,1728,1751,1784,1734,1419,1441,1461,1422,1667,2084,2360,2566,2314,1872,1832,1698,2051,2532,2761,2539,2048,1922,1708,1720,2153,3384,3610,3018,3007,3325,3947,3825,3068,2879,3185,2498,2325,2812,2954,2480,1989,1813,2176,2395,2439,1974,1648,1726,1888,1959,1948,1896,2170,2178,2060,2179,2209,1653,1339,1345,1493,1625,1809,1954,1900,1881,2245,2241,2069,2027,1751,1564,1455,1327,1338,1519,1806,1833,1678,1836,1498,1677,1856,1759,1960,1844,1542,1639,2099,2240,1808,1758,1897,1780,1592,1621,1527,1596,1863,1893,1931,1856,1931,1923,1676,1738,1820,1599,1502,1597,2001,2035,1831,1988,2103,1834,1754,1710,1571,1593,1422,1319,1895,2381,2668,2945,2425,1906,1927,2374,2865,2622,2582,3307,3610,3183,3228,3172,3464,3232,3216,3405,2901,2745,3203,3266,2923,2613,2336,2593,2346,1955,2026,2001,2172,2556,2395,2418,2686,2222,1809,2263,2303,1862,1624,1885,2208,2575,2625,2352],[2291,2496,3465,3167,2754,3075,3601,4046,3979,2842,1952,1633,1547,1772,2253,2888,2807,2711,3163,3816,3736,3613,3536,3410,3305,3498,3729,3137,2612,3245,3043,2498,2187,2263,2325,2167,2124,2035,2009,2243,2127,1753,1904,1686,1354,1664,1664,2105,2519,2645,2765,2783,2556,2863,2552,2094,2358,2016,3276,3833,3905,3712,3807,3800,3917,3112,2170,2336,2370,2031,2137,2162,2100,2172,2025,2090,1969,1916,1998,2154,2404,2509,2707,2846,2114,1436,1924,2210,1778,1348,1721,2196,2007,1741,1720,1675,1685,2243,2642,2766,2749,2589,2920,2987,2712,2624,2799,3135,3263,3238,3130,3083,3104,3197,3707,2773,2520,2166,2157,2384,2208,2238,2405,2359,2128,1788,1624,1864,2333,2631,2121,2280,1909,2114,2566,3195,3091,2469,2373,2283,1928,1771,1615,1714,2067,2254,2684,2504,2692,2669,2004,1918,2639,2743,2843,2786,2790,2111,1751,2504,3032,3042,3193,3095,2598,1989,2328,2518,2846,2675,2302,2114,1990,1990,2356,2783,3023,2928,2658,2351,2203,1996,1896,1880,2042,2311,2038,1772,2168,2285,2564,2273,1666,1872,2779,3104,2392,2198,1960,1712,2097,2021,1959,1953,1843,2282,2266,1715,2301,2661,2313,2575,2876,2901,2921,3046,3343,2949,3119,3535,3478,4037,3347,3043,2944,2863,3123,3072,2454,1974,1959,1960,2078,2460,2721,3046,3427,2775,3018,3592,4090,4256,4018,3131,2223,2176,2162,2085,2070,2403,2484,2586,2273,2248,2320,1672,1914,2435,2797,2496,2366,2377,2214,2416,2249,1853,1704,1690,1666,1768,1938,1967,2035,1925,2342,3156,3256,2812,2254,1938,1732,1647,1772,1796,1869,1768,1814,2119,2353,2125,1664,2395,2359,1749,1615,1647,1584,1509,1808,1852,1819,2086,1954,1875,1663,2070,2087,2010,1912,2018,1913,2502,2994,2542,2432,2388,2330,2238,2856,3440,3691,3584,2824,2617,2467,2511,2786,2755,3048,3971,2592,2019,1974,2037,1938,2127,2254,2454,2380,2016,1633,1881,2104,1998,1969,1783,1576,1408,1539,1854,1918,1625,1416,2020,2705,2634,2549,2632,2497,2274,2406,1876,1706,2284,2721,2853,2154,1786,2094,2230,2200,2292,1986,1655,1627,1827,1839,1936,2253,1932,1714,1920,1578,1734,2016,2164,2647,2764,2250,2810,2899,1962,1948,2097,1827,1816,1927,2698,2416,1769,1844,1974,1879,2108,2414,2117,2161,2241,2079,2467,2863,2585,2393,2518,2955,2963,1819,2310,2991,2450,2231,2300,2933,3514,3544,3175,2957,2675,2042,2248,2058,2408,2862,2452,2245,2336,2363,2784,3296,3053,2954,2809,2530,2441,2641,2687,2088,2486,2154,2407,2768,2787,2807,2857,3150,3066,2458,2127,2581,2718,3206,3461,3265,3585,4128,3608,3195,3438,3178,3143,3341,3086,3190,3275,3391,2975,2844,3133,2873,2453,2296,2054,1788,1744,2085,2920,3196,2391,2171,2857,2450,2212,2023,2129,2422,2279,1920,1954,2029,2370,1707,1631,1699,1637,1487,1354,1808,2102,1670,1908,2513,2206,1867,1595,1559,1685,1749,1853,1899,1915,1712,2192,2608,1917,1761,1791,1474,1530,1677,1701,1785,2224,2073,1769,1903,1716,1818,2274,2116,1851,2056,1818,1417,1676,1663,1748,1689,1576,1500,1470,1692,2242,2696,2585,2248,2769,2298,2273,2941,2603,2226,2045,2336,2355,2106,1992,1796,1710,1627,1660,1742,1724,1735,2060,2116,2266,2477,2262,1685,1382,1322,1387,1423,1337,1267,1288,1607,1395,1268,1422,1504,1696,1804,1825,1638,1816,2038,1694,1626,1635,1829,2147,2655,2474,1781,1564,1656,1796,1838,2007,2127,1740,1294,1480,2404,3459,4016,3098,2032,1995,2428,2719,2619,2277,1902,1698,1822,2063,2812,3086,3112,3151,3020,2778,2470,2766,2708,1896,1850,2700,3062,3266,2685,2073,1794,1783,1965,1866,1853,1869,1884,1986,1847,1503,2100,2344,1929,1649,1582,1897,1931,1985,2425,3157,3541,2787,2786,2786,2214,1975,2147,2020,2187,2296,2027,1494,1299,1684,2186,2359,2632,2492,2276,1853,1741,2001,2616,3079,2745,2374,2380,2565,2496,2731,2680,2438,1946,1832,2130,2418,3483,4082,3284,2634,2871,2821,2679,2866,2733,2603,3318,2234,1729,2094,1924,1656,1478,1637,2160,2101,1815,2125,3012,3008,2862,2916,2490,2047,2327,2311,2554,2483,2514,2697,2392,2493,2490,2252,2053,2178,2103,1941,2025,2776,3292,3075,2673,2789,3195,2765,2849,2779,2580,3025,3416,3441,3068,3316,3188,2866,3342,3840,4139,4280,3464,2407,2194,2855,2503,1976,2453,2497,2520,2403,2524,2680,2057,1738,1524,1516,1728,2115,1747,1803,2280,2342,2330,2480,2175,1699,1554,1522,1862,2204,2099,1063,1642,1959,1804,2107,2378,1927,2091,3191,3692,2631,1572,1785,2417,2201,2359,2215,2111,2563,2994,3466,4120,4353,4532,4563,4485,3962,3372,3522,3760,3733,3316,3114,3431,3189,2568,2296,2149,2548,2718,2098,2330,2749,2479,1737,1471,1700,2133,2377,2497,2535,2161,1802,1870,1794,1942,2076,2156,2588,2635,2171,2684,3742,3564,2512,2187,2075,2347,2898,2705,2513,2285,2602,2527,2061,2336,3386,4048,3531,2502,2002,2226,2791,3485,3956,3210,2867,2544,2443,1750,2045,3044,2889,2450,2337,2423,2767,2866,1997,1869,2159,2291,2419,2676,2742,2860,2758,2109,1937,2072,2055,1664,1637,1870,2179,2503,2344,2184,2575,3429,3979,4327,4272,3898,3727,3063,2286,2106,2255,2546,3174,2998,2834,2484,2077,2140,2034,1732,1854,2518,3121,3190,3007,2326,2040,2285,2432,2105,2088,2501,2720,2490,1876,1562,2078,2666,2496,2408,2116,1409,1348,1968,2221,2034,1734,2069,2609,2911,3012,2566,2676,2930,3378,2436,1857,2592,2444,2137,2399,2678,2415,2279,2470,2437,2287,2310,2153,2180,2532,2158,2054,2336,2282,1926,1166,551,1339,2962,3596,2662,1712,1097,1311,1726,2132,2367,2055,1768,2008,2303,2966,1954,1910,2020,2220,2054,2101,2805,3235,3175,3152,3263,3466,2902,2577,2214,2036,1645,1186,1188,1243,1576,1882,1678,1783,1656,1820,1522,1292,1588,1837,1894,1776,1635,1499,1346,1236,1180,1328,1451,1098,793,799,799,918,1482,1879,1852,2371,2398,2088,1916,1474,1459,1366,1555,1697,1010,1002,1279,1357,1622,1392,1126,1296,1448,1395,1401,1624,1798,1836,1726,1887,2155,1836,1572,1834,2032,1800,1454,1367,1485,1409,1316,1488,1572,1529,1547,2110,2070,2378,2578,2153,1892,1801,1918,2096,2114,1943,1814,1848,1822,2077,2507,2321,2445,2474,2303,2443,2851,3464,3271,3240,3211,3473,3693,2724,1824,2065,2377,2677,2348,1532,1039,1117,1388,1227,1134,1388,1547,1151,1254,1269,1216,1412,1735,1591,1342,1334,1244,1315,1337,1569,1900,2481,3515,3853,3207,3431,4060,3988,3334,2675,1947,1923,3122,3001,1855,2282,2534,2314,1828,1512,1776,2402,2875,2597,2326,2665,2842,2968,2976,2482,2183,1830,2092,2489,2015,1716,1964,1632,1641,1744,1402,1307,1340,1499,1518,1417,1357,1309,1350,1367,1216,1283,1293,1388,1586,1660,1665,1815,1815,1771,2044,2363,2143,1662,1570,1390,1406,1427,1449,1725,1449,1455,1711,1418,1246,1223,1196,1201,1214,1238,1270,1430,1468,1196,1170,1310,1247,1195,1184,1261,1288,1290,1335,1360,1232,1428,1992,1846,1750,1426,1669,1593,1532,1401,1410,1528,1502,1450,1825,1501,1476,1378,1337,1416,1456,1432,1648,1841,1835,1583,1208,1009,1231,1451,1515,1421,1359,1428,1443,1543,1480,1459,1443,1765,1939,1601,1632,1757,1567,2094,1807,1548,1836,1742,1639,1676,1614,1942,2068,2193,2064,1651,1746,1758,1865,1928,1725,1310,1450,1980,2091,2395,2995,2599,2323,2907,3532,2911,2446,1975,1798,1987,1915,1709,1930,1927,1967,2358,2077,1908,1714,1859,1852,1676,1848,1751,1522,1345,1278,1606,2008,2142,1716,1715,1815,1554,1533,1766,2474,2332,1731,2060,2351,1959,1558,1370,1498,1559,1592,1482,1639,1639,1644,2008,2214,1858,2025,2857,2614,1985,2273,2352,1948,1854,1587,1504,1716,1686,1794,1817,1558,1434,1578,1590,1571,1627,1604,1775,2037,1781,1548,1669,1731,1636,1517,1929,2272,2552,2532,2114,1837,1862,2292,2411,1843,1938,1780,1638,1783,2011,2031,2094,2448,2232,1956,1965,2122,1699,1516,1372,1148,1609,2146,2074,1923,1885,2132,2160,1974,2168,2293,2075,1938,1983,2041,2338,2679,2618,2364,2298,2730,2408,1803,1970,2414,2922,3022,3042,3554,3652,3225,2915,2374,2160,1897,2086,2176,2022,1864,1617,1670,2243,2430,2201,2109,1991,1825,2040,2584,2519,2520,2896,2386,2096,2455,2711,2888,2588,2092,2124,1962,1913,2474,2465,1862,1858,1955,2073,2022,1905,1837,1980,2286,2039,1987,1811,1606,1572,1605,1609,1826,2155,2150,1913,1771,1750,1897,2131,1880,1379,1489,1958,1778,1819,1659,1653,1850,1694,1614,1772,1866,1873,2020,2749,2429,2036,1975,1807,1670,1727,1719,1656,1547,1717,1897,1712,1636,2002,1932,1758,1834,1642,1843,2098,1874,1686,1544,1554,1476,1111,1301,1656,2112,2566,3320,2911,2785,2786,2310,2705,3386,3384,3194,2968,2587,2155,1908,2330,3020,3001,2909,2864,3282,3861,3995,3304,2609,2854,2296,2203,2326,2908,2464,1939,1974,2153,2081,2243,2257,1990,1906,2038,2144,2046,1799,1946,2539,2474,1856,1831,1688,1309,1339,1545,1691,1700,1682,1947,1794,1780,2058,1809,1677,1853,1885,1724,1566,1514,1548,1443,1500,1522,1687,1618,1749,1936,1899,1990,1833,1671,1896,2077,1738,1432,1766,1861,1700,1472,1479,1451,1660,2048,2133,2218,2036,1758,1876,1675,1521,1529,1448,1481,1527,1628,1624,1557,1747,1837,1920,2099,1796,1938,1769,1428,1649,2151,2392,2709,2618,1967,1968,2030,2007,2152,2303,2798,3906,3784,3175,2787,3028,3241,2722,2857,3173,2612,2477,2588,2315,2106,2577,2150,2236,2368,2461,2185,2048,2224,2252,2200,2441,2698,2111,1861,1853,1718,2139,1942,1927,2289,2497,2388,2255],[2346,2333,2632,2709,2905,2820,3325,4072,3682,2528,2172,1813,2114,2165,2209,2478,2427,2496,3202,3605,3578,3528,3371,3212,3175,3405,3642,3427,3206,3234,2656,2168,2074,2269,2404,2159,2112,2090,1654,1686,1794,1840,1959,1761,1399,1588,1799,2370,2732,2645,2591,2535,2438,2623,2124,1868,2259,1736,2473,3593,3950,3914,3799,3617,3244,2979,2987,2508,1812,1811,1801,1668,2031,2164,1976,1854,2206,2308,2114,2358,2540,2570,2426,2416,2118,1543,1761,2392,2276,1835,1641,1881,2065,1780,1654,1830,1962,2332,2386,2511,2540,2790,2955,2829,2854,2740,2740,2915,3021,3480,3530,3294,3161,3372,3728,3000,2523,2189,2891,3161,2670,2420,2237,2430,2645,1867,1846,1908,2294,2454,1997,1933,1942,2273,1952,2332,2502,1814,1812,1984,2170,2187,2680,2099,1675,1591,2326,2586,2652,2264,1836,2086,2364,2132,1744,2090,2577,2251,2127,2335,2777,3061,3019,2975,2384,1708,1990,2586,3152,2898,2135,2212,2470,2598,2743,2674,2486,2251,2066,2062,2238,2512,2562,2043,1831,2271,2170,1803,1770,1822,2368,2111,1942,2356,2777,2667,2057,1939,2247,2282,2410,2124,1863,1691,2373,3045,2490,1997,2757,3088,2601,2702,2569,2268,2698,2888,3384,3093,2401,3166,2933,3133,3305,3101,3165,3299,3193,3017,2663,2381,2415,2200,2061,2156,2569,3185,3847,3946,3559,3709,4200,4123,3740,2720,2132,2216,2290,1980,2072,2702,2963,2845,2221,2219,2176,1894,2339,2347,2646,2359,2604,2078,1897,2021,2120,2281,1981,1725,1759,1917,1879,2329,1979,1621,2192,2747,2288,2204,2172,2140,2216,1934,1821,2241,2471,2329,2299,3065,2999,2264,1532,2022,1895,1631,1685,1740,1526,1568,2001,1969,2062,2112,1910,2237,1961,1573,1710,1876,1889,1703,1947,3319,3449,2252,2520,2554,2492,2814,3861,4070,3970,3773,3241,3010,3041,3104,2889,2425,2602,2996,1931,2019,2032,1781,2192,2294,2138,2312,2232,2126,1891,2128,2085,1351,1319,1416,1503,1629,1783,2293,2536,1920,1628,2632,3106,3064,2501,2523,2777,2976,3342,2460,2477,3230,3085,2678,2057,2006,2720,2943,2621,2425,2135,1946,1841,1826,2040,2006,1882,1930,2042,2262,1731,2321,2222,2962,3188,2797,2593,2867,2685,2164,2348,2176,1936,1979,2132,2546,1908,1557,2056,2452,2006,1857,1690,1634,2099,2721,3284,2980,3012,2734,1842,1894,2267,2198,1673,2263,2533,2509,2522,2137,2391,2820,2957,3232,3387,3044,2156,2309,2510,2791,2533,2094,2144,2566,2762,2735,3298,3072,2966,2705,2919,2853,2485,2464,2022,2397,2172,1772,2146,2599,2687,2460,2578,2175,1851,2371,3308,3418,3321,3472,3452,3342,3133,2780,3121,3791,3662,3804,3916,3414,2820,2824,2972,2658,2910,3500,2998,2384,2282,2454,2299,1976,1933,1961,1789,1531,1745,1935,1935,1923,1854,2244,2254,2054,1904,2329,2146,1909,1690,1581,1511,1453,1492,1462,1622,1817,1747,2085,2401,2077,1830,1463,1816,2199,1940,1558,1465,1448,1426,1724,1813,1980,2071,1999,1638,1816,1871,1976,1850,2090,1979,1711,1860,1744,1729,2249,2192,2301,2208,1976,1777,2132,2105,1911,1735,1581,1636,1696,1408,1777,2042,2096,1896,2610,2321,2335,2990,2699,2304,2255,2197,1905,1964,1969,2023,2141,1994,1731,1514,1517,1736,2018,1886,1879,2364,2438,1901,1463,1349,1530,1612,1454,1382,1382,1690,1498,1214,1285,1387,1462,1532,1663,1898,2009,1685,1421,1571,1621,1834,1996,1888,1544,1459,1385,1585,1809,1659,1637,2098,1933,1519,1778,2555,3394,3796,2960,2275,2320,2365,2261,2135,2422,2735,2317,2009,2153,2297,2579,3099,3381,3498,3173,2432,2385,2758,2381,2229,2558,2635,2683,2182,1757,1631,1707,1821,1853,1930,2142,2142,2017,1831,1905,2256,2308,2114,1570,1385,2205,2425,1805,2222,3033,3179,2272,2280,2366,2149,1661,1887,2062,2157,2463,1884,1146,1413,1742,1982,2100,2851,2653,2229,1811,1611,1890,2407,2612,2666,2976,2675,2220,2447,2967,2624,2762,2519,2062,1893,2193,2711,3164,2886,2493,2435,2479,2805,3002,2975,3175,3256,2627,2356,2391,2047,1807,1703,2106,3228,2874,2078,2052,3230,3198,2870,2650,2373,2280,2701,2598,1863,1816,2094,2411,2078,2374,2544,2346,2159,2615,2493,2402,2621,2858,3313,3042,2408,2514,3046,3096,2836,2525,3218,3922,3805,3230,2667,2603,2706,2906,3499,3869,3660,3160,2677,2350,2458,2701,1892,2059,2545,1930,1918,2328,2504,2524,1945,1517,1664,1523,2031,2198,1459,1341,1917,2564,2863,2512,1859,1730,1967,2075,2240,2563,2394,1361,1698,1874,1690,2120,2522,2342,1802,1784,2010,1917,1993,2480,2364,2265,2171,1880,1608,1915,2472,2749,2872,3038,4055,4552,4460,4211,4120,3871,3723,3120,3154,3306,3286,3031,2725,2509,2208,2223,2104,1486,1649,2192,2622,2117,1747,2020,2117,2180,2875,2712,2120,2073,2217,2000,1859,1836,2075,2121,1776,1931,2710,3407,3026,2092,2234,2822,3066,2574,2264,3250,2570,2134,2197,1967,2201,3282,4036,3300,2142,2093,2378,3077,2776,2626,2522,2503,2286,2211,2072,2326,2603,2387,2396,2266,2192,2474,2297,1791,1855,2004,2397,2557,2503,2355,2452,2380,2427,1937,1814,1836,1802,1654,1850,2128,2080,1972,1892,2310,3351,3791,4001,3786,3928,3544,2491,2001,2092,2530,2630,2777,3122,3236,2895,2551,2689,2136,1222,1865,2407,2938,2508,1961,1892,2476,2570,2059,2025,2303,2253,1831,2076,1901,2043,2501,2700,3108,3311,2306,1481,1933,2480,2510,2259,2127,1908,2138,2348,2574,2122,2720,3466,3110,2122,2633,3086,2699,2381,2074,2706,2474,2424,2500,2689,2731,2480,1955,2450,2829,2095,2056,1966,2094,2094,1475,1517,2990,3611,3575,3563,2626,1278,1110,1311,1628,1677,1242,1659,1915,1805,2945,2740,2058,2003,1953,2056,2073,2006,2567,2590,1997,2097,2991,2292,1950,1545,1790,1982,1860,1907,1924,2475,2587,1677,1711,1570,1615,1714,1506,1574,1635,1606,1531,1517,1402,1114,843,927,1332,1731,1009,937,1180,1346,1209,1550,1721,1772,2346,2298,2414,2189,1446,1714,1616,1562,1680,1036,909,1222,1344,1609,1449,1107,1355,1406,1219,1371,1788,1750,1427,1425,2387,2523,1875,1594,1921,2080,1841,1490,1405,1461,1404,1350,1465,1649,1723,1563,2014,2090,1996,2246,1834,1507,1575,1876,1892,1990,1906,1787,1783,2108,2094,1805,1715,2303,2681,2297,2402,2779,3362,3450,3546,3637,3839,3343,2173,2149,2458,2505,2426,2080,1814,1493,1486,1518,1234,1169,1328,1279,1082,1272,1340,1194,1323,1570,1689,1362,1544,1563,1552,1435,1663,1861,2383,2836,2838,3179,3607,3764,3860,3574,2792,2006,2290,3072,2072,1789,2151,2139,2005,1831,1899,2057,2410,1998,2157,2304,2474,2534,2264,2592,2579,2164,1835,1798,2253,2215,2038,2224,2356,1931,1427,1287,1327,1396,1786,1908,1635,1520,1365,1393,1412,1284,1309,1241,1394,1558,1766,1808,1740,1849,1947,1645,1672,1979,1854,1550,1305,1392,1301,1190,1298,1425,1432,1385,1283,1300,1343,1418,1396,1259,1158,1266,1364,1523,1311,1176,1217,1220,1296,1354,1353,1290,1319,1315,1427,1362,1568,1537,1427,1620,1601,1540,1702,1658,1349,1326,1553,1566,1461,1527,1447,1444,1330,1337,1465,1380,1390,1670,1924,2032,1721,1193,1300,1665,1888,1768,1502,1591,1558,1371,1410,1535,1591,1741,2150,1982,1775,1745,1476,1261,1682,1920,1918,2117,2054,1816,1761,1682,2020,1771,1791,1627,1664,1967,1778,1928,2240,1976,1820,2077,1964,1904,2170,2359,2197,1911,2425,3051,2941,2517,2006,1571,1644,1576,1647,1443,1581,1742,1881,1835,1897,1827,1852,1679,1596,1661,1529,1449,1393,1364,1457,1763,1632,1258,1833,2011,1889,1832,1852,2439,2720,2134,1867,2013,2277,2202,1735,1459,1720,1696,1551,1637,1743,1769,1830,1718,1724,2012,2169,1973,1806,1866,2069,2148,1957,1667,1769,1713,1600,1743,2179,1765,1514,1697,1577,1714,1762,1585,1716,1839,1722,1748,2006,2193,1909,1822,1823,1891,2654,2617,1984,2294,2906,4176,3906,2047,1895,1687,1483,1672,1909,1797,2071,2640,1928,1404,1830,1845,1648,1528,1134,1009,1480,1702,1746,2095,2086,2000,2128,2098,2425,2438,2077,1881,2064,2261,2425,2690,2335,1951,2508,2577,2394,1841,1697,2271,3104,3222,3162,3238,2698,2055,1912,2149,2715,2470,2246,2130,2289,2628,2348,1923,2177,2322,2325,2436,2523,2411,2753,3200,3254,3071,3161,2847,2552,2822,2950,2789,2853,2460,2563,2227,1801,1940,1905,1919,2300,2015,1624,1757,2098,1991,2056,2178,1908,1844,1629,1661,1507,1510,1575,1662,1845,1865,1822,1891,1927,2090,2228,1863,1535,2037,2750,2266,1655,1924,2127,1743,1655,1994,1957,1920,1910,1747,1864,1682,1638,1700,1617,1624,1706,1801,1815,1826,1652,1801,1576,1295,1667,2202,1904,1788,1809,1682,1663,1763,1857,1927,1794,1741,1368,1417,1576,2033,3032,3277,2757,2784,2709,2713,2884,3338,3059,2692,2495,2614,2236,2312,2917,3053,3088,3141,3089,3281,3577,3807,3378,2952,2844,2479,2260,2480,2909,2437,2037,2125,1979,1706,1709,1926,2192,2437,2334,1977,1835,1879,1672,1926,2088,1744,1565,1812,1959,1505,1565,1853,1806,1531,1628,1710,1740,2056,1935,1838,1916,2001,2236,1818,1462,1484,1449,1543,1454,1823,1852,1865,2108,1968,1918,1829,1607,1609,1930,1680,1455,1727,1583,1470,1534,1681,1720,1824,2093,2187,2142,2052,1935,2198,1774,1524,1409,1394,1586,1555,1487,1509,1542,1696,1839,1879,1832,1500,1736,1656,1740,1861,2025,2590,2971,2290,1673,1762,1770,1852,2285,2976,3128,3458,3566,3110,2631,2953,2851,2158,2471,2663,2212,2302,2347,1929,1655,1944,2627,2760,2375,2844,2798,2289,2125,2186,2010,2048,2664,2348,2150,1951,2762,3583,3068,2517,2393,2231,2102,2214],[2094,2728,3586,3666,3740,3752,3542,3784,3353,2262,2363,1930,2165,2077,2168,1987,1796,2017,3062,3514,3283,3528,3474,3328,3210,3186,3444,3817,3852,3375,2686,2347,2797,3282,2880,2248,2182,2160,1754,1979,2174,2002,2284,2784,2361,2095,2182,2278,2539,2620,2541,2539,2214,2391,1846,2050,2282,1903,2443,2975,3508,3747,3479,2765,2140,2774,3926,3371,1938,1549,1500,1492,1639,2102,2141,1862,2178,2583,2426,2553,2442,2974,2695,2651,2604,2724,2410,2209,2498,2461,2068,1675,1925,1994,1826,2256,2724,2873,2714,2476,2449,2695,2530,2363,2473,2409,2474,2777,3024,3693,3902,4038,3274,2985,3341,3156,2676,2457,3089,3469,3174,2862,2388,2396,2633,1841,1900,1583,1931,1866,1720,1809,2520,2507,1781,2051,2288,1604,1850,2083,2213,2382,2386,2160,1810,1791,2403,2404,2358,2196,2176,2446,2498,2018,1721,2361,2041,1864,2282,2356,2648,2910,2648,2700,2403,1733,1738,2543,3499,3492,2902,2957,2974,2568,2160,1847,1860,2147,2568,3142,3387,3172,2728,2010,1866,2355,2032,1457,1277,2326,2900,2541,2461,2070,2234,2730,2179,2294,3046,2828,2543,2435,2238,2533,3141,3581,2850,2056,2618,2603,2006,2331,2467,1698,2254,2603,2818,2303,2265,2744,2601,2734,3034,2915,3243,3202,2983,2456,2352,2685,2342,1907,1952,2067,2791,3658,3955,3958,3985,4080,4277,3985,3472,2429,2322,2332,2164,2259,2546,2933,2979,2575,2114,2056,2228,2082,2285,2364,2490,2497,2146,1770,1850,1842,2204,2607,2355,2454,2132,2228,1932,2493,1957,1636,1792,1826,1518,1645,1794,1691,2065,2070,2293,2110,2021,2269,2911,3335,2652,1804,1766,1998,2085,1922,1787,1802,1522,1768,2433,2912,2586,2258,2500,2692,2646,2144,1802,2063,1993,1659,1888,2786,3084,2253,2851,3043,2781,3352,4257,3858,3583,3837,3636,3539,3225,2954,2798,2761,2812,2932,2757,2698,2163,1696,1983,2053,1968,2590,2684,2332,2376,2234,1890,1278,1303,1463,1822,1907,1920,2482,2637,1843,2032,2396,2119,2339,2380,2544,2962,2827,2640,2445,2664,3022,3083,2539,1978,2161,2830,2873,2722,2553,2878,2668,1976,1749,1960,1951,2098,2271,2184,1817,1770,2534,2540,2656,2630,3116,3697,3521,2717,2180,1908,1919,1952,2312,2356,1763,1659,1928,2187,2467,2254,2082,1682,1321,1512,2072,2708,2234,1882,2155,2030,2313,2743,2290,1593,1871,2442,2522,2084,1990,2836,3212,2974,3487,3805,3425,2452,2353,2766,2872,2335,2087,2514,3038,3216,2852,3157,2230,2034,2502,2695,2556,2311,2187,1782,2223,2397,1847,2318,2680,2537,2266,2403,2295,1869,2625,3466,3458,3190,3250,3167,2952,2261,1888,2562,3276,3624,3903,3470,2907,2231,2326,2692,2337,2385,2207,2048,2065,2199,2165,2111,1745,1861,1701,1441,1374,1549,1462,1531,1678,1714,1895,1804,1830,1760,2179,1992,1672,1731,1817,1661,1632,1925,1705,1545,1714,1737,1733,1643,1826,2156,1787,1954,2239,1992,1775,1722,1527,1503,1528,1922,2442,2302,1978,1920,2234,1991,2098,2043,1753,1600,1844,2141,1813,1959,2790,2652,2298,2082,1709,1969,2160,2166,1903,1504,1638,1899,2019,1692,1681,1769,2002,1886,1687,1533,1967,2562,2616,2240,2250,2379,1770,1796,2021,2796,2258,1772,1499,1362,1450,1842,2156,1802,1910,2578,2687,2120,1683,1345,1571,1511,1419,1406,1416,1589,1631,1416,1511,1620,1887,1582,1866,2696,2822,1764,1395,1508,1508,1548,1667,1514,1415,1348,1359,1524,1494,1498,1972,2008,1736,1938,2700,2836,2903,3002,2673,2451,2262,2261,2677,3366,3626,3334,2720,2120,2069,2312,2700,3296,3457,3714,3516,2483,2126,2415,2862,2932,2606,2397,2587,2376,2186,2424,2257,1867,1944,2313,2502,2242,1838,1747,1857,1813,1995,2261,2474,2658,2769,2758,1996,2341,2394,1785,1593,1793,1757,1824,1818,2002,2131,1963,2067,1628,1547,2035,2200,2257,2034,2122,2175,2376,2380,2496,2554,2401,2634,2614,2890,2522,2074,2689,2902,2388,2721,2889,2123,1870,2105,2226,2546,2685,2497,2224,2240,2677,3108,2999,2806,2652,2846,3212,3104,2600,2393,2563,2620,3082,2557,2221,1967,2995,3248,3052,2929,2852,3082,3276,2939,2244,2687,2670,2453,2125,2294,2316,2086,2664,2930,2348,2462,2690,3073,3605,3118,2087,2044,2935,3540,2696,2590,3585,3883,3427,3060,2654,2458,2798,3200,3511,3525,3094,2984,3010,2279,2238,2192,1852,2102,2181,2117,2452,3041,2998,2226,1959,1816,1824,1702,2195,2029,1931,1898,1908,2556,2581,2103,2272,2206,2706,2959,2762,2665,2235,1504,1543,1862,1858,2135,2608,2038,1537,1183,1287,1621,2054,2110,1966,2750,3250,2902,2194,1975,2489,3066,3395,2553,3286,4344,4400,4272,3451,3303,3774,3687,3659,3342,2518,2697,3012,2977,2411,2367,2426,2191,1988,1847,2349,2446,1995,2068,2515,2568,3110,1986,1401,1792,2483,1870,1643,1794,2200,2439,2132,2164,2622,2705,2286,1977,2810,2810,2455,1829,1948,2668,1719,1230,1571,1653,2144,2907,3183,2700,2047,2388,2790,2690,1577,1405,1908,2047,2149,2540,2214,1931,2065,2208,1896,1598,2050,2426,2458,2295,1918,2423,2928,2476,2808,2857,2834,2032,2394,2442,2543,2176,2036,1912,1885,2278,2768,2858,2578,2775,3471,3853,4324,3970,3564,3271,2608,2546,2884,2685,2014,2219,3003,2917,2939,2758,2763,2083,1847,2369,2428,2604,2160,2217,2786,2557,2022,1832,1774,2440,2145,1477,1322,1336,1693,1803,1948,3073,3595,2351,1534,1846,2358,2499,2383,2198,2279,2495,2170,1949,2010,2524,2736,2514,2742,3175,2844,2648,2504,2514,2781,1976,2404,2460,2390,2834,2602,2192,2544,2229,2055,2507,1826,1781,1945,1735,2514,3465,3104,2244,2770,3135,1688,1121,1045,948,905,1085,2046,2178,1865,2343,2746,2317,1932,2112,2182,1954,1721,1756,1881,2209,2477,1808,1435,1669,1944,2287,2300,2083,1963,2247,2996,2881,1787,1622,1494,1829,2096,1739,1492,1499,1480,1264,965,1114,1026,893,1210,1516,1896,1206,1116,1323,1367,1185,1366,1532,1447,2088,2222,2208,1902,1577,1810,1721,1610,1656,1277,1051,1223,1328,1406,1180,909,1031,1050,985,1382,1608,1238,1297,1986,2937,3028,2315,1626,1993,2132,1922,1702,1607,1521,1383,1415,1574,1824,1793,1582,1986,2071,1746,2218,1736,1463,1500,1860,1792,1757,1824,1854,1835,2032,2249,2201,1982,2022,2434,2519,2121,2498,3272,3616,3531,3432,2922,2070,2127,2581,2495,2548,2514,2467,2183,1765,1473,1252,1249,1354,1350,1342,1199,1309,1426,1577,1644,1808,1758,1366,1498,1349,1393,1511,1779,2230,2645,2126,1644,1969,2047,2700,3000,2976,2154,1797,1979,2347,2238,2062,2060,1914,1844,2092,2274,2074,2301,1779,2129,2558,2365,2383,2410,2697,2695,2282,1937,1798,2321,2452,2047,1696,2363,1992,1374,1325,1351,1389,1682,1774,1693,1682,1634,1464,1433,1167,1384,1458,1607,1804,1825,1642,1510,1628,1505,1437,1674,2013,1921,1550,1535,1366,1217,1089,1207,1476,1536,1418,1308,1332,1460,1418,1207,1271,1334,1289,1390,1599,1440,1277,1342,1460,1505,1534,1632,1428,1257,1339,1316,1374,1405,1293,1336,1568,1625,1482,1539,1500,1452,1367,1677,1521,1388,1571,1600,1432,1333,1316,1413,1510,1552,1593,1687,1870,1758,1465,1503,1648,1866,1723,1467,1594,1624,1418,1525,1372,1699,2255,2954,2544,2501,1911,1250,1088,1306,1566,1816,1844,1744,1593,1583,1766,1844,1584,1628,1488,1645,1759,1618,2032,2713,2584,2521,2436,1780,1565,1898,2270,2121,2023,2070,2216,2309,2292,2048,1770,1645,1550,1748,1517,1860,1575,1473,1873,2072,1931,1997,1957,1581,1350,1493,1621,1549,1605,1497,1566,1600,1764,1927,2110,2182,2033,1991,1722,2007,2082,2182,2484,2767,2609,1830,1598,1810,1737,1629,1630,1971,2192,1809,1662,2366,2501,1984,1648,1770,1782,2019,2271,1884,1698,2062,2236,1766,2146,2878,2451,2025,1788,2025,2104,1966,1787,1649,1704,1559,1489,1684,2392,2368,2562,2172,1866,2529,2952,2775,2619,2567,2888,3068,2209,1792,1559,1030,1434,1743,1853,2098,2092,1547,1649,1993,1760,1628,1516,1188,1254,1418,1592,2292,2876,2501,2129,2046,2064,2197,2750,3162,2137,2388,2674,2240,2509,2451,2100,2160,2446,2659,2414,1947,2194,2910,2631,2795,2864,2534,2303,2343,2730,2446,2191,2487,2479,2489,2873,3091,2825,2208,2281,2722,2720,2554,2734,3038,3243,3451,3714,3498,2524,2023,2509,2210,1944,2602,2539,2574,2192,1759,1670,1849,2264,2409,2140,2045,2389,2574,2292,1824,1599,1642,1738,1739,1552,1452,1560,1699,2043,2155,2308,2122,2038,2148,2440,2345,2002,1762,2000,2387,2046,2046,2683,2335,1892,2331,2468,2059,1990,1922,1848,1731,1642,1609,1603,1623,1644,1581,1606,1649,1999,1865,1816,1832,1992,2239,2106,1765,1709,1660,1550,1597,1818,1868,1956,1670,1781,1773,1508,1594,1964,2315,2404,2386,2324,1836,2090,2067,2150,1860,1833,1623,1883,1968,2126,2423,2866,3426,3548,3358,3439,3608,3686,3398,3116,3021,2888,2445,2662,2802,2023,1886,1752,1344,1400,1466,1544,1887,2246,1941,1829,1955,1792,1521,1724,2233,1846,1496,1662,1980,1712,1664,1863,1866,1668,1559,1527,1647,1835,2081,1990,1867,1889,2202,1847,1621,1572,1610,1770,1626,2011,2163,2048,1999,1760,1829,1909,1621,1702,2158,2050,1775,1864,1865,1808,1886,1931,1871,1650,1612,1683,1860,2112,1776,1952,1710,1565,1484,1616,1710,1493,1428,1437,1535,1638,1703,1594,1549,1594,1425,1466,1896,1862,1843,2144,1999,1806,1999,1757,1586,1678,2194,2696,2424,2778,3210,2711,2425,2819,2932,2548,2805,2648,2586,2590,2205,1862,2210,1903,2253,2636,2667,2657,2496,2191,2464,2431,2041,2214,2325,2084,2038,2684,3392,3841,3872,3382,2952,2684,2008,2078],[2461,2518,3747,4400,4604,4465,3974,3596,3082,2597,2254,2387,2939,2889,2856,2404,1913,2148,3074,3366,3023,3334,3366,3297,3277,3226,3233,3530,3606,3355,3121,3097,3504,3640,3609,3420,2938,2792,2261,2298,2450,2350,2656,2850,2179,1850,1747,1740,2280,2618,2452,2599,2069,2143,1791,2101,2233,2332,2476,2385,3081,3395,3131,2264,2304,2999,3905,3709,2483,1697,2095,2319,2276,2578,2979,3166,3139,3195,2512,2614,3309,3419,2585,2751,2581,2841,2908,2929,3309,3461,3232,1993,1798,1896,2052,2419,2941,3151,3047,2223,2073,2329,2345,2721,2665,2479,2371,3090,3607,3223,3361,4049,3359,3061,3129,2966,2623,2286,2653,3162,2906,2949,2523,2544,2374,2170,2130,1809,1813,1750,2089,3007,3274,2569,1938,1793,1789,2011,2485,2414,2294,2600,2437,2419,2397,2095,2348,2666,2959,2891,2520,2416,2497,2349,2172,2732,2054,2054,2508,2888,2795,2496,2539,2706,2763,2503,1997,2420,3205,3132,2799,2345,1946,1761,2103,2832,3342,3648,3813,3540,2930,2369,2037,2223,2273,2101,2227,2024,2194,2964,2471,2109,2433,2080,2732,2518,1916,2120,2874,2586,2466,2070,2342,3122,3339,3400,3001,2406,2820,2783,2406,2604,2476,1839,2126,2316,2137,1995,2311,2570,2850,3122,3086,2660,3027,3008,3065,2958,2562,2526,2277,1928,1859,2027,2820,3595,3955,4226,4452,4080,3890,3522,3430,2932,2546,1856,1972,2608,2620,2558,2172,2294,2288,1743,2082,2229,2168,2345,2702,2208,1729,1932,1827,1729,2078,2352,2510,2427,2026,2487,2080,1898,1703,1627,1524,1646,1847,1644,1685,1562,1747,1672,2059,1937,1975,2138,2747,3042,2393,2106,2316,2128,2645,2477,2023,1807,1609,2047,2958,2906,2157,2060,2424,2644,2720,2119,1801,2017,2270,1940,1952,1951,2292,2236,2921,3253,2721,3273,4136,3665,3378,3351,3957,3596,3500,2950,2632,2594,2577,2818,3005,2422,1671,1625,1749,1784,1786,2211,2258,2029,2230,2293,2294,2282,2020,1776,2009,1980,2189,2656,2828,2161,2541,2119,2189,2576,2400,2524,2387,2093,2512,2468,2073,2217,2236,1753,2023,2355,2630,2813,2674,2990,3142,2266,1875,1924,2083,2124,2102,2188,2596,2123,1973,2435,2474,2203,2068,2154,3000,3218,2399,2338,2292,2524,2262,2874,2214,1851,1924,2274,2293,2095,2562,2836,2525,2546,2427,1981,1817,1446,1417,2089,2315,2600,2999,2371,1757,1943,2239,2181,2301,2588,2928,3311,3133,2979,3127,3040,2589,2531,2513,2308,2183,2604,2688,3171,3378,2734,2358,1806,2191,2440,2504,2316,2329,2620,2209,2056,2453,1796,1843,2447,2608,2325,2328,2429,2401,2347,2481,2652,2792,3431,3323,2911,2087,1577,2034,3144,3663,3125,2586,2334,2139,2004,1538,1536,1935,1852,1759,1691,2091,1925,1958,1722,1572,1436,1344,1431,1509,1567,1448,1427,1859,2095,2099,1769,1522,1640,1645,1544,1488,1778,2000,2045,1826,1606,1356,1501,1786,1868,1664,1801,2187,1824,1660,2233,2481,2277,2320,1810,1488,1420,2222,2567,2410,2178,2433,2007,1553,2127,2169,1607,1742,1909,2354,2642,2714,2662,2741,1998,1546,1481,1594,1703,1796,1866,1844,1820,1881,1743,1911,2457,2486,2982,2714,1924,1686,1950,2574,2141,2055,2523,2909,2367,1885,1885,2642,2248,2083,1933,1527,1418,1790,1997,1687,2023,2233,1885,1731,1547,1228,1168,1510,1521,1377,1492,1677,1761,1512,1454,1621,2165,1706,1737,2128,1807,1417,1330,1437,1530,1512,1699,1658,1537,1445,1377,1473,1532,1796,2067,1675,1644,2230,2491,2242,2181,2255,2199,2166,2629,3296,3824,3809,3160,2577,2708,2374,1941,2245,2322,3066,3529,3714,3099,2332,1992,2236,2765,2855,2599,2693,3032,2708,2115,1946,1829,1926,1879,1898,2267,2381,1784,1746,1804,1930,2599,3142,3655,3712,3012,2863,2072,2056,2284,2029,1814,2238,2208,2154,2310,2001,1960,2148,2204,1780,1578,2036,2265,2264,1947,1800,2065,2288,2474,3019,3062,2105,2335,2335,2401,2086,1962,2452,2778,2119,2156,2519,1788,1663,1928,2049,2257,2956,2565,2184,2054,2914,3661,3328,2522,2442,3079,3598,3616,2922,2695,2929,2956,3445,2864,2571,2630,2791,2856,2887,3000,3021,3607,3592,3193,3120,3102,2620,2227,2469,3067,2587,2341,3160,2985,2653,3172,3517,3205,2916,3375,3330,2926,3277,3229,2813,3034,3113,2983,3164,2873,2511,2440,2580,2937,2661,2346,2603,3405,3032,1847,1849,2118,2314,2534,2634,2750,2923,3386,2644,2142,1787,1966,1897,1946,2027,2066,2587,2048,1858,2322,2004,1325,1644,2138,2810,3386,3282,2750,2270,1918,1781,1671,1613,1974,2227,1816,1632,1208,1391,1616,1969,2041,2163,2852,2999,2613,2011,1511,2376,2998,2583,2143,3133,4263,4085,3413,2316,2105,2986,3717,4137,3702,2830,3270,3627,3362,2620,2476,2347,2279,2262,2041,2015,2463,2619,1944,2452,2502,1846,1398,1817,2300,2419,1932,1892,2006,1970,2053,1959,2176,2153,2557,2477,2239,2386,2298,2053,1446,1780,2135,1369,1115,1438,1644,2030,2810,2598,2268,2191,2646,2651,1997,1729,2154,2335,1781,2070,2973,2035,2051,2329,2280,1520,1364,1861,2402,3499,3870,3084,2546,2745,2481,3124,3286,3307,2701,2354,1985,2096,2334,1814,1504,1760,2165,2589,2763,2737,2651,2709,3305,3695,2997,2588,3184,3019,2808,3296,2838,2008,2283,2233,1971,2766,2531,2113,1663,1672,2005,2460,2518,2071,2402,2329,1986,1765,1433,1627,2918,2684,2361,2034,1603,1610,1594,1975,3383,3439,1703,1563,1804,2000,2419,1888,1515,2319,2647,2591,2256,1808,2235,2365,2633,3032,2309,2124,2200,1886,1829,1924,2471,2908,2424,2200,2590,2551,2156,2369,2181,2380,2411,2025,1971,1922,1786,2323,3017,2734,1702,2229,2928,2149,1499,965,820,1079,1666,1937,1969,1993,1847,2296,2819,2428,2077,2104,1971,1723,1475,1867,2431,1994,1082,1080,1882,2357,2261,2083,1774,1748,1830,2154,2189,1621,1575,1672,1861,1924,1666,1588,1371,1245,1038,1062,1567,1428,1069,1275,1560,1759,1202,987,1353,1438,1322,1263,1483,1479,2188,2330,2150,2004,1650,1803,1844,1728,1714,1301,1059,1268,1129,1143,867,862,1030,1047,1303,1834,1559,1216,1780,2844,3211,2687,2309,1799,1940,2010,2020,1883,1704,1610,1560,1672,1848,1826,1636,1506,1866,2039,2192,2307,1806,1540,1626,1866,1964,2009,1885,1842,1993,2075,1519,1604,1989,1715,1737,1898,1625,1937,2906,3164,2588,2245,1941,1846,2532,2618,2210,2109,2432,2441,2082,1610,1287,1332,1361,1271,1478,1884,1656,1492,1434,1476,1460,1328,1236,1278,1302,1354,1368,1538,1766,2008,2277,1732,1366,1355,1900,2371,2176,2031,1911,2004,2097,2199,2090,2189,2259,2112,2301,2295,2231,2404,2498,1926,2050,2327,2292,2440,2554,2681,2519,2025,1729,2064,2364,2120,1691,1410,1695,1636,1430,1391,1321,1323,1407,1480,1565,1673,1705,1624,1582,1559,1742,1830,1878,1803,1587,1409,1354,1428,1469,1517,1719,1742,1783,1505,1572,1424,1268,1268,1352,1612,1626,1602,1466,1362,1513,1434,1344,1439,1356,1226,1310,1404,1367,1270,1326,1367,1410,1421,1577,1501,1202,1263,1334,1374,1442,1518,1419,1356,1292,1302,1377,1389,1476,1424,1593,1457,1300,1525,1539,1301,1322,1366,1428,1419,1575,1535,1531,1608,1758,1896,1678,1481,1460,1427,1386,1505,1542,1550,1750,1437,2058,2431,2928,2249,1974,1788,1433,1902,1700,1454,1866,1692,1695,1442,1584,1976,1583,1351,1512,1588,1719,1721,1584,1866,2371,1720,1751,2033,1599,1737,2434,2565,2220,2276,2368,2379,2331,2173,1723,1644,1512,1344,1209,1455,1700,1483,1814,2335,2055,1831,1848,2026,1813,1525,1600,1721,1722,1608,1759,1943,1888,1653,1805,2255,2036,2004,2033,1533,1761,2195,2194,2276,2404,2144,1967,2290,1992,1743,1614,1568,1507,1832,1587,1754,2030,2614,2238,2310,2723,2337,2281,2598,2097,1798,2302,2653,2307,2122,2116,2449,2253,1737,1740,1850,1786,1571,1576,1682,1642,1542,1374,1931,2043,2333,2164,2035,2602,2932,2662,2178,2577,2384,2383,2088,1932,1439,1324,2227,2486,2126,2027,1890,1944,2038,1866,1902,1589,1667,1456,1517,1587,1794,2399,2369,2253,2311,2037,2009,2320,2684,2965,2711,2964,2502,2323,2765,2565,2168,2130,2183,2797,2930,2875,2503,2468,2347,2408,2265,2433,2647,2779,2649,2164,2238,2354,2689,2803,2777,2742,2993,2986,2705,2996,2859,2447,2478,2801,3266,3586,3714,3097,2535,2856,2478,1763,1947,2952,3162,2722,2423,2273,2050,1986,1932,2016,2199,2172,2771,2629,2115,1741,1653,1527,1700,1766,1511,1558,1605,1654,2037,2480,2481,2141,2541,3121,3219,2667,2031,1651,1512,1418,1434,2163,3011,2956,2866,3051,2854,2199,2014,2060,1844,1728,1698,1724,1739,1791,1758,1699,1665,1727,1697,1873,2137,2186,2084,1688,1642,1732,1809,1958,1644,1572,1781,1565,1539,1713,1802,1797,1666,1839,2146,1937,2326,2746,2548,2067,1557,1527,1721,1822,1731,1720,1802,2005,2067,1991,2602,3352,2663,2603,3530,3499,3209,2982,3067,3445,3534,2958,2743,2809,2055,1880,1532,1258,1527,1623,1455,1691,1936,1755,1712,1777,1666,1411,1548,1733,1456,1489,1871,1982,1800,1499,1708,1844,1722,1768,1651,1741,2002,2569,2178,1953,1989,2165,2088,2044,2003,2133,2258,1894,1787,1957,1831,1632,1560,1702,1897,1604,1736,1812,1802,1749,1800,1772,1709,1901,1787,1649,1475,1591,1719,1616,1509,1478,1709,1629,1513,1494,1549,1676,1721,1834,1573,1620,1654,1483,1315,1877,2242,1753,1437,1503,1487,1593,1595,1627,2008,2513,2405,2106,2287,2260,2284,2768,3133,2445,2076,2297,2679,3105,2981,3185,2813,2751,2426,1958,2300,3123,2700,1991,2110,2406,1989,1974,2209,2281,2310,2103,2432,2542,1963,1835,2527,3197,3597,3714,3577,3139,3405,2670,1910],[2537,2874,4014,4295,3846,3556,3715,3688,2545,2335,2126,2518,2899,2977,3024,2497,2177,2366,3212,3306,2934,3088,3184,3216,3366,3133,3099,3399,3459,3326,3127,3241,3584,3738,3769,3957,4020,3747,3459,3245,3109,2892,2868,2894,2157,1576,1844,1748,2288,2556,2434,2557,2181,2139,1780,1904,2222,2414,2474,2258,2907,3481,3153,2728,2519,2962,3760,3728,2574,1894,2125,2313,2471,2893,3436,3508,3384,3067,2659,2558,2964,2380,1653,2156,2785,3069,3001,3272,3462,3023,2868,2405,1878,2004,2304,2435,2297,2403,2775,2613,2401,2304,2311,2575,2389,2666,2534,3532,3771,3019,2840,3197,3415,3442,2985,2784,2170,2629,3266,3254,3228,2918,2522,2671,2580,2720,2269,1487,1515,1689,2360,2872,2623,2140,1713,1742,1752,2012,2531,2267,1907,2249,2548,2862,2872,2536,2408,2771,2790,2332,1854,1795,2205,1897,2256,2576,2214,2313,2696,3087,2844,2541,2769,2705,2998,3244,2351,2379,2409,2150,2022,2057,2267,2263,2750,3631,3902,3525,3351,2778,2070,1764,1756,2091,1760,2259,3395,3227,3278,3514,2302,1854,2518,2552,2499,2077,1515,1887,2552,2566,2677,2647,2950,3340,3007,2998,3166,2791,3392,3187,2526,2519,2078,1655,1656,2064,2405,2836,2736,2052,2592,2752,3031,3500,2878,2709,3112,3087,2711,2614,2377,2182,1991,2086,2850,3420,3948,4216,4284,4160,3663,3292,3571,3261,2240,1893,2498,2381,2050,1882,1828,2355,2199,1737,1975,2124,2026,2212,2604,2313,1835,1903,1831,1686,1713,1804,2266,2123,1784,1984,1900,1956,2031,1864,1682,1922,1968,1970,1802,1660,1838,1785,1952,1846,1784,1972,2142,2108,1978,2493,2808,2735,2932,2656,2335,1972,1648,2088,3040,3106,2371,2031,2316,2697,3217,2517,2042,2144,2542,2520,2062,1819,2263,2645,3100,2775,2411,3303,4204,4020,3387,3077,3681,3120,3275,2998,2641,2684,2595,2546,2378,1864,1942,1965,1856,1712,2035,2232,2054,1961,2121,2265,2410,2662,2285,1958,1669,1616,1825,2230,2495,2291,2297,1971,2219,2385,2133,2098,1929,2262,2420,2352,1802,1934,1965,1588,1839,2253,2814,2953,2828,3248,2883,1983,2114,2172,2280,2352,2041,2119,2786,2547,2427,3120,3062,2639,2338,2374,2856,2505,1964,1798,2038,2328,2756,3028,2685,2486,2171,2126,2118,2374,2902,2698,2930,3196,3105,2428,2131,1753,1742,2214,2357,2608,2601,2171,2095,1809,2864,3439,3364,2862,2625,2824,2773,2408,2406,2465,2202,2414,2316,2012,1923,2585,2886,3531,3317,2458,2312,2644,2745,2391,2378,2365,2420,2790,2729,2010,2214,1889,1685,2045,2396,2620,2996,3371,3392,2402,1770,1863,2484,3003,2950,2637,2106,1574,1493,2407,3393,3279,2548,1821,1620,1787,1736,1621,1770,2123,2032,1565,1904,2104,2181,1824,1417,1349,1450,1916,1908,1867,1526,1563,2195,2292,2559,2378,1979,1743,1736,1744,1611,1495,1690,1946,1789,1500,1382,1557,1562,1462,1542,1779,1985,2080,2614,3065,2998,2706,2546,2171,1814,1630,2645,3274,2747,2435,2545,2174,2076,2242,1974,1606,1802,1743,2313,2744,2786,2555,2060,1610,1510,1468,1594,1763,1611,1909,2236,2048,1739,1533,2504,3072,2894,2777,2156,1828,1677,1929,2128,1613,2127,2448,2377,2018,1699,1745,2054,2275,2775,2470,1626,1504,1832,1641,1709,1995,1880,1714,1664,1348,1218,1248,1428,1527,1535,1835,2069,1744,1540,1500,2010,2156,1783,1573,1523,1382,1343,1408,1758,1831,1530,1649,1652,1593,1576,1417,1356,1475,1627,1676,1646,1698,1905,2186,2164,2034,2095,2877,3608,3747,3815,3742,3130,2430,2203,2754,2644,2029,2389,2561,3038,3465,3476,2656,2315,1929,2125,2520,2559,2524,2540,2579,2321,1714,1570,1933,2175,1780,1678,3043,3510,2433,1842,1763,2561,3583,3528,3847,3782,2820,2018,1834,2471,2862,2229,1968,2708,3078,2604,2218,1817,1663,2035,2085,1740,1537,1849,2122,1926,1702,2105,2098,1501,1621,2566,2955,2033,2208,2123,2083,1783,1814,2144,2283,1982,1781,1986,1697,1550,2026,2220,2178,2646,2642,2412,2287,2756,3760,3626,2402,2522,3151,3448,3758,3099,2701,2403,2707,3000,2829,2923,3001,3118,3095,2555,2918,2885,3487,2893,2557,3177,3345,3160,2379,2548,3438,2780,2512,3096,3151,2676,3638,3597,2521,2353,3394,3726,3444,3642,3437,3366,3297,2631,2621,3045,2777,2169,2352,2894,3067,2404,1903,2181,2983,2956,2485,2482,2045,1919,2193,2849,2899,2689,2591,2059,1954,1874,2041,1996,1855,1752,1996,1922,1698,2128,2210,2299,1771,1979,2265,2649,2995,2610,2507,2253,1996,1841,1832,1887,2013,2036,1987,1852,1521,1475,1679,2110,2161,1988,2081,1938,1770,1638,1238,2375,3377,2931,2473,3352,4313,4038,2779,1693,1267,1804,2707,3373,3636,3694,3675,3821,3355,2612,2186,2186,2198,2290,2298,2152,2397,2929,2007,1749,1476,1521,2094,2674,2668,2199,2023,2150,2126,1992,1786,1918,2585,1860,2110,2105,2073,2144,2334,1984,1342,1606,2154,2093,1627,1647,2211,2106,2360,2464,2288,2487,2744,2478,2471,2526,2491,1699,1593,2188,2828,2411,2878,2736,2276,1828,2042,2542,2855,3442,4046,3286,2094,2480,3079,3022,2591,2272,2292,2154,2017,2463,2303,1525,1726,1990,1948,2250,2393,2358,2252,2530,2869,3040,2831,2710,3023,3307,3488,3462,3320,3279,2837,2320,2453,2425,1944,1729,2085,2563,2762,2698,2624,2264,2182,1926,1926,1486,1347,2221,2830,2496,2136,1995,2048,2200,2333,2946,4099,3012,1844,2438,2407,1944,1755,1264,1614,2270,2270,2305,2206,2327,2416,2046,2178,2043,2193,2602,2502,2020,2097,2840,3091,2222,2240,2413,2812,2766,2359,2464,2209,2167,2016,1976,2054,2032,1901,1819,2091,2770,2986,2919,2724,1732,1311,1211,1264,1715,2813,2829,1858,1960,1751,1809,2398,2784,2482,2472,2071,1576,1590,1798,1622,1328,1210,1258,1985,2028,1839,1956,1656,1292,1214,1327,1720,1921,2161,2157,1725,1760,1759,1604,1400,959,558,655,1521,1621,1321,1423,1677,1751,1258,997,1480,1518,1464,1396,1371,1569,1784,1782,2028,2076,1639,1690,1852,1898,1743,881,685,769,639,1108,988,1169,1365,1421,1792,1795,1370,1535,2441,2999,2599,2464,2526,2102,1835,1777,1886,1794,1617,1676,1773,1813,1743,1672,1903,1716,2020,1775,2055,2401,2099,1806,1765,1760,1880,1785,1698,1827,2047,2204,1525,1450,1584,1752,2136,2112,1760,1783,2245,2276,1962,1768,1800,2347,2786,2407,1874,1716,2033,2066,1919,1475,1437,1620,1293,1309,1478,2186,1754,1488,1541,1388,1250,1252,1347,1408,1523,1532,1390,1474,1720,1687,1640,1462,1438,1521,1649,1666,1615,1656,1969,2197,2363,2359,1799,1766,2389,2780,2559,2384,2557,2859,2881,2557,2613,2652,2438,2390,2247,2224,1942,1788,1984,2766,2543,1850,1572,1493,1389,1368,1418,1394,1395,1362,1518,1616,1676,1553,1402,1475,1649,1772,1777,1760,1640,1675,1741,1620,1578,1542,1535,1616,1660,1526,1480,1454,1485,1434,1336,1317,1350,1606,1723,1691,1566,1446,1426,1353,1252,1336,1299,1198,1287,1362,1244,1279,1310,1380,1336,1287,1403,1416,1311,1548,1683,1468,1460,1567,1492,1394,1197,1358,1498,1483,1431,1252,1139,1308,1337,1296,1323,1414,1516,1542,1440,1268,1367,1351,1381,1415,1700,1873,1787,1648,1503,1333,1434,1379,1542,1621,1542,1724,2065,2382,2732,2354,2294,2194,1750,1738,1886,1979,1815,1832,1922,1434,1566,2005,1921,1794,1629,1777,1851,1688,1653,1950,2166,1987,2008,2355,2259,2389,2733,2462,1938,2086,2263,2092,2020,2216,1790,1551,1460,1399,1311,1698,1798,1502,1820,2026,1767,1852,1725,1842,1942,1790,1562,1614,1807,1682,1627,1830,1892,1948,1850,1932,1669,1755,1908,1904,2132,2545,2216,1675,1789,1974,2283,2426,2250,1965,1888,1797,1509,1542,1761,1795,1914,2040,1990,2476,2811,2611,2044,2532,2686,2281,1835,1908,2037,1799,1930,2372,2026,1729,1765,1743,1544,1549,1626,1609,1714,1493,1299,1462,1757,2315,2645,2464,2315,2093,1891,1893,2692,2292,2158,2161,2264,1952,2129,2862,2862,2248,1831,1770,2092,1828,2258,1876,1721,1819,1705,1666,1721,1867,1813,1766,2240,2105,1880,1819,1942,2090,2405,2875,2587,1965,2170,2555,2147,1706,1687,1672,1858,1892,2674,2678,2675,2173,1712,1816,2213,2526,2942,2835,2481,2492,2601,2869,3033,3001,3325,3867,3934,3551,3095,2415,2228,2351,2350,3041,3541,3000,2757,3183,3628,2706,1541,1902,3121,3659,3271,2761,2444,2398,1990,2570,2587,2515,2445,2623,2227,1797,1818,1838,1709,1825,1884,2105,1697,1700,1705,2138,2828,2253,1906,2540,2933,3038,2869,2289,1718,1527,1401,1570,2258,2734,2577,2553,2843,2913,2225,2099,2239,1824,1838,1952,2205,1939,1781,1742,1730,1955,1954,1826,2080,2021,1939,1756,1723,2196,1902,1675,1641,1512,1530,1666,1503,1476,1578,1644,1713,1656,1681,1909,2092,2599,2676,2685,2646,1882,1734,1909,1708,1920,2398,2872,2762,2219,1996,2443,2459,2181,2601,3160,3190,3339,3541,3588,3727,3551,3034,2590,2620,2302,1946,1717,1678,1679,1719,1671,1704,1852,1853,1917,1947,1671,1591,1530,1407,1349,1420,1905,1935,1661,1546,1823,2023,1842,1802,1810,1915,1753,2220,1952,1670,1822,1834,1723,1877,1952,2150,2313,1911,1679,1672,1554,1482,1494,1630,1889,1770,1957,1804,1486,1645,1581,1648,1562,1656,1582,1507,1628,1898,1711,1418,1328,1497,1771,1682,1580,1644,1511,1630,1828,1866,1477,1491,1588,1481,1365,2178,2710,1979,1650,1688,1685,1451,1373,1549,1607,1577,2599,2900,2943,2358,1988,2876,3061,2258,2179,2483,2597,2656,2668,3125,2502,2208,2378,1996,2149,2898,2862,2028,1853,1990,1826,2329,3142,2897,2320,1953,2426,2486,1946,1866,1904,2479,3376,3597,2940,2418,3185,3146,2122],[2416,3581,4249,4125,2851,2964,3705,3443,2284,1996,1973,2279,2461,2664,2718,2233,2292,2633,3289,3373,3089,3094,3116,3096,3015,2971,3333,3382,3395,3418,3465,3492,3548,3852,3925,4059,4164,3934,3675,3573,3694,3352,3209,2888,2237,1902,2840,2146,2273,2516,2574,2774,2819,2543,1926,1928,2196,2296,2368,2222,2746,3432,3431,3465,3175,3315,3605,3256,2531,1988,1647,1891,2197,3071,3408,3394,3372,3194,2827,2666,2599,1818,1547,1967,2314,3043,3319,3263,3495,3153,2827,2667,2366,2715,2590,1876,1759,2486,2741,2324,2425,2130,2600,3271,2678,2200,2780,3777,4332,3850,3078,3179,3594,4081,3665,3030,2435,2815,3307,3334,3212,2389,2367,2745,2737,2957,2763,1958,1820,2081,2553,2676,2465,2195,2286,1871,1812,2146,2736,2621,1985,2104,2652,2941,3172,2780,2124,2558,2154,2210,2084,2196,2369,2096,2391,2294,2114,2352,2612,2950,3286,3122,2908,3062,2873,2478,1871,1830,1901,2185,2527,2791,2859,2641,2552,2950,3231,2949,2811,2743,2091,1721,1672,1697,2035,2915,3068,2856,3007,2898,2225,1663,2352,2565,2544,2448,1974,2786,3552,3531,3485,3250,3074,3663,3378,3084,2805,2372,2522,2326,2500,2301,2101,1830,1533,2048,2339,2259,2604,2484,3101,3242,2651,2600,2718,2556,2862,2916,2764,2689,2237,2017,1954,1991,2564,3469,3833,3967,3892,3837,3742,3666,3710,3054,2207,2530,2402,2277,2105,1797,1857,1763,1637,1608,1845,1956,1997,2231,2446,2073,1995,2225,2222,1808,1705,1867,2150,2188,2043,1872,1725,1908,2238,2142,1761,1765,1768,2233,2446,2220,2060,2599,3019,2539,2114,2164,1993,1531,1849,2595,2778,3046,2912,2792,2807,2424,1735,1858,2744,2776,1897,1542,1823,2884,3472,3038,2651,2578,2431,2223,1926,2053,2298,2322,3021,2657,2464,3405,3886,3968,3607,3443,3523,3264,3155,2989,2918,2930,2667,3043,2580,2029,2078,1902,2218,2523,2353,2134,2066,1502,1638,1916,2256,2608,2565,2331,2220,1896,1786,2190,2370,2255,2225,2072,2200,2237,2012,1549,1678,2546,2715,2132,1917,2252,2183,1881,1797,1903,1936,2019,2884,2743,2567,2297,1801,1907,1957,1901,1917,2119,2565,2177,2127,2821,2807,2618,2458,2548,2796,2115,1644,1524,2224,2887,2950,2689,2684,2325,2087,1920,2108,2725,3068,2332,2412,2533,2115,1880,1943,2024,2334,2565,2562,2714,2435,2312,1959,1734,2844,3937,4108,3396,2708,2402,2419,2402,2490,2253,1802,2033,2123,1699,1939,2414,3110,3718,3191,2253,2329,2940,2846,2645,2453,2019,2360,2621,2576,2088,2072,1990,1902,2139,2092,2483,3274,3294,3121,2382,2162,1999,1870,1785,2081,2493,2013,1609,1565,1943,2806,2910,2609,2083,1982,1912,1808,1609,1556,1590,1562,1903,2066,1917,1980,1822,1645,1890,1700,2157,2200,2082,1942,1840,1727,1978,2534,2857,2576,1945,1715,1764,1629,1561,1649,1908,1695,1451,1567,1722,1747,1703,1704,1684,1925,2038,2277,2461,2587,2552,2448,2386,1943,1977,2461,2221,2117,2143,1916,1993,2070,2032,1809,1880,1624,1807,2545,2694,2842,2723,2195,2082,1943,1647,1791,1810,1896,2049,2081,2131,2358,2099,1860,1989,2401,2495,2134,1803,1655,1910,1680,1512,1679,1811,1761,1634,1426,1912,2266,1712,1684,1730,1529,1581,1660,1592,1918,2022,1717,1732,1831,1650,1458,1428,1424,1561,1679,2036,2260,1857,1664,1775,2029,1965,1723,1605,1542,1534,1525,1540,1824,1606,1500,1444,1682,1775,1540,1402,1381,1361,1365,1396,1556,1813,2023,2188,2078,1797,2226,3212,3592,3023,2822,2747,2157,2114,2316,2823,3206,2493,2354,2849,3107,3042,2831,2814,2576,2030,1836,1996,2259,2293,2241,2371,2371,2060,1780,1637,1780,1740,1859,2662,2878,2640,2149,1731,2376,3383,3398,3341,3615,3051,2420,2665,2769,2176,1846,1794,1921,2348,2226,1692,1826,2063,2398,1949,1590,1654,1666,1818,1910,1880,2489,2893,2166,1897,2520,2480,1885,2260,2181,1978,2191,2456,2255,2217,1988,1657,2284,1860,1523,1909,1908,1838,2294,2437,2181,2054,2442,3485,3362,2332,2330,2696,3140,3532,3189,2365,1957,2417,2750,2888,2998,2945,3278,2967,2369,2767,2879,3293,2786,2700,3302,3429,2901,2201,2429,2844,2171,2312,2840,3506,2721,3041,3378,3053,3117,3479,3021,2890,3755,3806,3623,3494,3066,2647,2554,2404,1944,2186,3000,2853,2346,2402,2355,2578,2691,2657,2699,2214,1807,2084,2751,2972,2709,2328,2040,1939,1869,1978,1839,1568,1680,2045,1970,2083,2511,2894,3209,2900,2469,2218,2369,2639,2483,2744,2382,1975,1898,2375,2670,2433,2094,2065,2047,1966,1883,1902,2220,2172,1642,1872,2569,2168,1350,1164,2122,2462,2063,2523,3784,4496,3971,2279,1632,1467,1453,1659,2335,3395,3285,3016,3421,3221,2466,2000,2269,2201,2106,2254,2311,2194,2208,1842,1623,1830,2322,2612,2588,2542,2508,2468,2618,2297,2119,1743,1931,2462,2364,2427,2091,2000,2225,2286,2324,2385,2210,2277,2062,1629,2041,2405,1746,2052,2331,2144,2614,2674,2302,2052,2357,2162,2040,2709,2944,2753,2495,2377,2121,2301,2208,1987,2498,2869,2906,3632,3294,2698,3190,3123,2494,2023,2058,2106,1858,2214,2603,2611,2355,2880,2807,2678,2900,2688,2154,2169,2331,2242,2378,2429,2400,2621,3157,3322,3495,3728,3471,3119,2768,2299,2155,2010,2227,3298,3619,3334,2391,2076,1708,1877,2411,2220,1667,2023,2654,2425,2411,2735,2063,1501,1621,1918,3467,4063,2257,2129,2272,1622,1675,1821,1459,2150,2523,2321,2309,1937,2358,2565,2264,2005,1893,2077,2450,2634,2544,2399,2868,2709,1915,2400,2565,2667,2710,2563,2513,2577,2453,1999,1785,2061,2366,2222,1702,1841,2167,2774,2912,2864,1975,1293,1282,1313,1543,2336,2597,1863,2111,1738,1804,2171,2786,2724,2609,2161,1892,1859,1603,1410,1839,2121,1640,2002,1925,1988,1903,1344,951,1021,1144,1585,1906,2196,2172,1874,1882,1958,1683,1482,804,460,779,1501,1858,1711,1549,1717,1903,1476,1246,1667,1542,1468,1386,1331,1696,1931,1740,1943,2088,1707,1681,1753,1837,1769,761,489,1000,1037,1171,1144,1262,1539,1764,1869,1583,1476,2093,2994,3128,2721,2630,2504,2224,1981,1852,1792,1777,1851,1819,1792,1869,1792,1795,2332,2499,3108,2377,1942,2272,2255,2058,1857,1857,1886,1692,1674,1787,1949,2018,1535,1454,1712,1859,2171,2474,2161,1732,1734,1703,1695,1763,2344,2988,2812,2123,1727,1672,1738,1910,1899,1549,1805,1755,1549,1544,1492,1590,1379,1575,1555,1303,1258,1265,1174,1251,1290,1295,1366,1371,1681,1567,1676,1596,1375,1492,1663,1734,1725,1635,1772,2061,1686,1542,1468,1957,2703,2887,2600,2490,2611,2746,2840,2735,2958,3062,2727,2165,1758,1550,1381,1605,1864,2309,2371,1902,1559,1542,1317,1379,1384,1471,1372,1395,1563,1491,1550,1566,1476,1528,1685,1843,1810,1998,2040,1766,1849,1632,1541,1528,1560,1696,1635,1477,1411,1449,1433,1445,1376,1301,1349,1411,1553,1594,1620,1574,1540,1476,1531,1516,1319,1305,1362,1334,1264,1503,1417,1368,1240,1124,1246,1276,1351,1592,1534,1449,1424,1514,1709,1526,1331,1491,1591,1488,1337,1320,1455,1538,1504,1377,1427,1406,1410,1331,1258,1230,1322,1332,1332,1438,1505,1470,1573,1694,1883,1500,1360,1558,1622,1498,1407,1732,2126,2540,2586,2175,1875,1870,1788,1455,1636,1983,1569,2214,2522,1790,1920,2514,2405,1895,1793,2032,1939,1685,2270,2308,1893,1975,1995,2176,2541,2535,2248,1933,1857,1876,1989,2210,2343,2373,1896,1537,1562,1706,1715,1738,1455,1378,1381,1591,1765,1776,1743,1858,2009,1910,1890,1881,1681,1422,1424,1427,1681,1924,1867,2021,2073,1777,1549,1606,1900,2343,2230,1806,1591,1847,2434,2139,2120,2002,2309,2196,1664,1804,2167,1886,1636,1745,2096,2236,2750,2118,1870,1971,2381,2247,1937,1643,1561,1588,1968,2332,1918,2182,2348,1834,1892,2114,1834,1619,1519,1566,1467,1407,1585,2322,3153,2358,1754,1512,1696,1769,1935,1730,1847,2221,2262,2081,2193,2209,2243,1872,1639,1911,2049,1920,2064,2159,2236,2078,2022,1737,1744,1842,1623,1785,2216,1822,1765,1664,1745,1837,2261,2775,2557,2118,2035,1921,1684,1644,1445,1711,1756,2013,3123,3183,2763,2062,1807,2175,2332,2220,2547,2590,2460,2873,3155,2999,3385,3661,3996,4132,3840,3373,2993,2664,2712,2617,2518,2629,2749,2337,2437,3178,3699,3128,2469,2850,2985,2941,2939,3096,2776,2935,3007,2854,2352,2026,1730,1698,1726,1682,2021,2333,2235,2248,1893,1832,1745,1938,2135,2472,2381,1804,1751,2068,2318,2707,2559,2568,2131,1644,1425,1688,2244,2338,2402,2339,2525,2815,2451,2377,2114,1848,1814,1857,1906,1823,1788,1843,1975,2393,2408,2102,1932,1926,2019,1518,1687,2290,2081,1475,1496,1624,1578,1638,1515,1601,1581,1591,1591,1700,1911,2066,2040,2203,2189,2069,2327,2251,2125,2072,1745,1695,2053,2884,2619,1968,1974,2314,2061,2041,2349,2957,3582,3666,3592,3410,3016,2688,2316,1938,2281,2352,1870,1660,1628,1545,1641,1816,1996,1787,1699,1637,1645,1558,1648,1483,1565,1606,1529,1722,1801,1797,1832,2027,2308,2555,1864,1951,2053,1606,2170,2067,1630,1853,2153,2226,1992,1695,1931,2315,1668,1703,1636,1551,1513,1476,1581,1857,1846,1683,1670,1578,1587,1500,1473,1483,1447,1368,1399,1611,1747,1709,1532,1579,1715,1923,1583,1454,1621,1503,1755,1866,1782,1517,1495,1554,1482,1482,2004,2321,2143,1854,1777,1795,1572,1425,1610,1695,1635,2288,3009,2835,2326,2044,2286,2529,2609,2345,2554,2856,2856,2635,2884,2536,2124,2151,1846,2018,2808,2918,2094,2010,2500,2383,2387,3256,3506,2589,2171,2700,2569,1900,1898,1729,1875,2822,3032,2518,2043,1996,2184,2088],[2214,2875,3886,4121,3510,3326,3642,3194,2471,2245,2062,2299,1856,1914,2042,1847,1800,2635,2974,2979,2932,2917,2978,3104,3065,3152,3201,3121,2995,3320,3684,3650,3752,3892,3745,3703,3841,3898,3716,3693,3543,3425,3458,3211,2878,2753,3328,2914,2939,2920,2770,2921,2425,2198,2200,2038,1987,1979,1940,2069,2878,3486,3640,3704,3618,3498,3406,3024,2625,1925,2116,2365,2364,2971,3466,3577,3470,3360,2973,2665,2468,2150,2072,2106,2116,3536,3685,3521,3234,3116,3022,2873,2332,2131,2452,2069,2118,2950,2622,2746,2800,2130,2345,2930,3007,2767,3216,3815,3886,3336,3183,3648,3494,3782,3516,3127,3292,3687,3196,2983,3038,2531,2602,2320,2270,2818,2500,2009,2132,2343,2297,2573,2706,2667,2566,2347,2240,2750,2950,2477,1994,2008,2463,2852,2895,2328,2142,2358,2359,2988,2907,2720,2348,2386,2499,2322,2261,2291,2541,2968,3300,2983,2510,2202,1919,1885,1945,2270,2749,3012,2576,2045,2352,2373,2114,2939,3045,2770,2631,2909,2758,2046,1969,2525,3038,2604,2746,2622,2296,2648,2828,2833,2879,2514,2524,2510,2371,3115,4264,3904,2911,2500,3198,3707,3123,3024,2390,1988,2371,2723,2562,2413,2626,2283,1836,2570,2720,2901,3394,2905,2907,3094,3006,3198,2869,2469,2549,2494,2544,2553,2279,2054,2027,1979,2474,3616,4168,4113,3672,3371,3480,3701,3499,2764,2889,2533,2188,2984,2758,2338,2078,1747,1831,2054,2001,2220,2518,2423,2725,2297,2114,2343,1999,1402,1554,1822,2004,2214,2078,1778,1844,2034,2103,2245,2386,2081,2267,2351,2730,2709,2232,2330,2525,2783,2748,2524,2124,1636,2000,2234,2609,2954,2830,2909,3128,2941,2331,2234,2689,2766,1969,1497,2084,3006,3229,2949,2470,2432,2200,1964,2165,2047,2196,1897,2391,1939,2205,2745,3216,3519,3276,3299,3371,3122,3261,2818,2917,3021,2966,3318,3384,2844,2114,1792,2309,2929,2359,2034,2036,1514,1847,2334,3091,2385,2600,2424,2176,2248,2024,2077,1953,1729,1980,2181,1820,1636,1742,1752,1989,2540,2830,2196,1881,2064,2394,2574,2252,2157,1876,1703,2634,2363,2664,2524,2345,2054,1726,2142,2179,2247,2891,2467,2668,2744,2504,2251,2150,2520,3035,2480,1788,1443,2006,2793,2598,2153,1936,1666,1722,2070,2413,2566,2496,2231,2311,2278,1773,1610,1811,2047,2279,2924,2940,2603,1897,2425,2047,2261,3206,3813,3847,3320,2701,2597,2646,2301,2462,2361,2276,2196,2142,1879,2071,2184,2328,2620,2353,1853,1928,2683,2612,2554,2102,1505,1750,1891,2456,2279,2088,2290,2002,1838,2151,2247,2786,3193,2755,2207,2203,2126,1904,1788,2110,2645,2536,2468,2331,2490,3083,2652,2608,2806,2930,2075,1775,1708,1815,1691,1730,2054,1796,1577,1628,1504,1601,1825,1516,1970,2048,1798,2150,2416,2156,1951,2173,2158,1942,1994,1725,1756,1693,1773,1897,2002,1908,2024,2238,2411,2283,2031,1963,1863,1912,1644,1720,1974,2450,2649,2340,2028,1923,2169,2186,1674,1875,2045,1879,2150,1978,1894,1883,2299,1843,1988,3113,3650,3727,3076,2674,2603,2479,2622,2503,2485,2429,2230,2107,2542,2976,2292,1642,1776,2280,2709,2519,1993,1914,1720,1499,1470,1604,1666,1582,1508,1738,2382,2142,1571,1537,1548,1694,1534,1492,1591,1846,1956,1842,1893,1710,1736,1626,1597,1570,1511,1532,1793,1726,1437,1594,1997,1816,1313,1417,1692,1776,1954,2038,2096,1945,1703,1622,1523,1692,1720,1636,1671,1554,1368,1360,1552,1690,1834,1981,2060,2294,2226,2559,3449,4069,3307,2765,2391,2248,2450,2161,2119,2944,2730,2214,2636,2955,2839,3002,2799,2292,2011,1910,1850,1890,1948,2020,2279,2200,1923,1647,1941,2443,2141,2026,1887,2042,2657,2279,1807,2042,2727,3406,3576,4042,3702,3044,2940,2489,1817,1786,1606,1602,1935,1880,1600,2123,2396,2143,1769,1710,1747,2131,2358,2348,2048,2281,2561,2322,2198,2276,2120,2337,2381,2166,2276,2800,2777,2576,2322,2296,2028,2241,1997,2050,2470,2281,1937,2265,2618,2121,2099,2443,3266,3369,2430,1999,1961,2566,3187,3053,2338,2037,2613,2944,3322,3168,2945,3580,3010,2226,2646,2686,2770,3168,3227,3285,3296,2842,2565,2908,2620,2634,3218,3310,3558,2933,2995,3559,3591,4152,4356,3393,2914,3408,4133,4068,3903,3677,2677,2377,2299,2000,2240,2684,2491,2603,3061,2449,2106,2185,2378,2578,2648,2144,2077,2684,3008,2932,2453,1970,1827,1875,1912,1459,1447,1979,2582,3516,3439,2980,2996,3011,3153,3008,2673,2342,2731,2986,2625,2442,2397,2242,2495,2603,2114,1840,1997,2078,2286,2298,2046,2126,1961,1874,2422,2558,1854,1339,1845,2642,2643,2536,3162,4112,3977,3453,2644,2281,1811,1700,2114,2198,2731,2877,2805,2986,2662,2149,1859,2333,2382,2107,2003,1983,2153,2540,2398,2264,2179,2322,2547,2236,2030,2074,2047,2423,2700,2414,2176,2258,2013,2656,3220,2372,2050,2231,2115,2254,2765,2596,2237,1665,1795,2450,1971,1367,2058,2542,2575,2566,2555,2671,2129,2659,2207,2468,3262,3650,3242,2776,2565,2309,2539,2460,1978,2460,2320,2354,2790,3016,3488,3514,2599,2077,2198,2846,2754,2086,2518,2432,2375,2754,3140,2655,2429,2558,2158,1656,1908,2216,2077,2358,2764,2735,2645,1951,1958,2281,2209,2332,2601,2404,2264,2304,2369,2544,3069,3054,2791,1816,1627,2244,2203,1628,1864,2332,2496,2304,1965,2305,2746,1677,940,1161,1926,3688,3013,2032,2432,2156,1659,2417,3221,2481,2330,2183,2232,2199,1970,1996,2411,2354,1867,2449,3117,2786,2308,2354,2764,2213,2510,2435,2125,2080,2235,2262,2181,2057,1874,1730,1769,1844,1703,1859,2203,1838,1909,1975,1891,2148,2335,1929,1502,1457,1363,1454,1686,1786,1775,2020,1665,2042,2057,2046,2381,2326,1749,1648,1537,1835,1708,1754,2024,1605,1613,1899,2089,1919,1180,487,540,941,1306,1473,1997,2099,2032,1802,1686,1798,1656,951,669,1121,1741,2040,1680,1384,1629,1772,1390,1166,1431,1501,1468,1420,1323,1575,1991,1771,1901,2092,1560,1708,1852,1964,1923,864,641,1682,1745,1230,1179,1249,1765,1791,1490,1560,1792,2460,2923,2640,2587,2336,2011,1836,1814,1960,1721,1431,1851,1980,2014,2228,2093,2119,2148,2402,3179,2468,1416,1654,1792,1798,1947,1942,1897,1968,1973,1857,1898,1978,1663,1510,1746,1830,1876,2121,2305,1872,1700,1526,1478,1832,2627,2756,2477,2062,1794,1764,1889,2057,2114,1704,1911,1650,1302,1503,1816,1582,1750,1856,1548,1474,1332,1278,1159,1158,1164,1260,1206,1374,1690,1707,1647,1340,1281,1900,2056,1720,1614,1878,1798,1823,1059,925,1183,2017,2366,2442,2281,2302,2820,3016,2863,2924,3069,2810,2281,1750,1655,1528,1405,1660,1865,1741,1681,1496,1489,1587,1411,1249,1073,1322,1340,1376,1438,1408,1519,1515,1519,1708,1769,1644,1703,2188,1834,1362,1488,1550,1743,1888,1808,1722,1634,1436,1494,1656,1501,1510,1604,1554,1544,1478,1378,1466,1593,1665,1656,1460,1698,1558,1270,1270,1226,1354,1316,1393,1316,1299,1197,1175,1265,1328,1243,1271,1421,1358,1231,1327,1517,1377,1372,1504,1556,1367,1564,2143,2182,2230,2098,1522,1245,1258,1219,1267,1388,1550,1566,1297,1241,1286,1400,1420,1444,1578,1699,1483,1365,1601,1509,1360,1458,1498,1542,1820,1815,1666,1438,1488,1492,1450,1496,1548,1647,2367,2878,2985,2755,2952,2388,1674,1959,2071,1953,1920,2396,2071,1937,2260,2317,2563,2630,2169,1860,1817,2054,2060,2106,2302,2477,2421,2097,1803,1704,1640,1649,1638,1469,1456,1385,1522,1588,1451,1481,1688,1810,1935,2144,1994,1476,1360,1468,1520,1727,1718,1651,1824,2161,1928,1621,1644,1662,1986,2101,1598,1493,1908,2204,1937,1768,2002,2278,2242,1721,1651,1966,1566,1465,1812,1813,1904,2386,1829,1561,1571,1639,1989,2114,1662,1744,1582,1758,1860,2018,2744,2600,1988,2165,2430,2036,1578,1738,1902,1708,1534,1627,2194,2803,2370,1901,1609,1524,1686,1774,1720,1870,1886,1852,2225,2446,2219,2145,1859,1932,1747,1689,1701,2158,3326,3426,2743,2053,1696,1729,1729,1609,1743,1989,1636,1562,1449,1719,1886,1675,2119,2354,2532,2010,1744,1800,1887,1725,1740,1725,2257,3396,3720,2976,2605,2584,3279,3018,2320,2721,2587,2525,2580,2376,2676,3245,3504,3219,3120,3103,2740,2668,2802,2885,2917,2942,2841,2871,2618,2378,2608,3271,3426,3325,3438,3071,2895,2699,2991,2668,2612,2894,2490,1944,1738,1525,1557,1751,2040,2543,3250,2789,2268,1852,1744,1874,2038,2445,2684,2157,1817,1776,1651,1600,1901,1979,2098,1916,2010,1879,1686,1737,1758,1838,1814,2097,2547,2662,2374,2004,1944,1691,1743,1886,1840,1767,1776,2119,2595,3078,3010,2247,2138,2106,1656,1908,2294,2132,1774,1628,1536,1653,1964,1620,1542,1519,1592,1896,1994,2131,2396,2379,2304,2064,1810,2227,2434,1967,1781,1963,1999,1960,2015,1759,1776,1963,2342,2484,2253,2384,2934,3467,3624,3518,3396,2783,2652,2168,1924,2207,2347,2046,1677,1508,1536,1721,2026,2168,1813,1851,1796,1671,1712,1671,1526,1691,1886,1889,1838,1691,1506,1486,2197,2591,2623,1941,1916,2055,1878,2411,2316,1710,2088,2570,2626,2619,2318,2152,2226,1766,1567,1542,1580,1550,1447,1517,1874,1901,1808,1810,1630,1390,1673,1627,1562,1404,1368,1534,1474,1526,1740,1511,1426,1400,1688,1605,1479,1511,1747,1784,1655,1568,1484,1511,1555,1462,1360,1435,1943,2617,2454,1825,1534,1484,1431,1655,1777,1625,2088,2781,2375,2008,1963,2284,3032,3454,2908,2335,2403,2605,2222,1964,2354,2063,1938,2117,2124,2969,3274,2385,2130,2453,2242,2386,3249,3487,3076,2723,3096,2558,1835,1936,1570,1819,2348,2394,2496,2496,2164,1764,1864],[1781,2497,3153,3331,3234,3003,3269,2809,2208,2154,2192,2049,1600,1649,1781,1637,1882,2099,2409,2661,2272,2254,2796,2818,2996,3370,3030,3104,3090,3190,3604,3927,3875,3703,3627,3627,3746,4085,3897,4015,3617,3574,3287,3208,3415,3398,3024,2708,3249,3103,2898,3116,2614,2092,1945,1800,1819,1869,1820,2219,3396,4165,4104,3819,3594,3422,3814,3718,3172,2563,2775,2451,2362,2784,3464,3825,3674,3388,3035,2464,2358,2530,2568,2503,2358,3467,3651,2958,2767,2740,2812,3021,2198,1891,2393,2091,2373,2552,2690,2662,2127,2031,2248,2436,2677,3100,3655,3914,3847,3631,3399,3212,3448,3040,2751,3243,3180,3770,3498,3224,2765,2412,2392,2442,2743,2646,2199,2123,2217,2229,1896,2301,1979,1965,1891,2101,2266,2666,2459,2037,1894,1981,2221,2172,2137,2313,2493,2280,2143,2863,3234,2736,2326,2275,2413,2798,2681,2648,2769,2674,2504,2149,1989,1978,2016,2035,2219,2447,2524,2337,2096,1843,2072,2285,2331,2710,2500,2147,1818,2062,2114,1904,2376,3228,3204,2097,2708,2456,2289,2911,3094,3139,2952,2680,2496,2317,2500,3240,3950,2432,1633,2499,3554,2923,2741,2841,2414,2614,2681,2192,2354,2791,2658,2082,2216,2702,2786,3389,3352,2239,1989,2731,3053,2852,2668,2692,2643,2648,2626,2568,2685,2724,2601,2245,2710,3696,3979,3899,3905,3768,3775,3975,3661,2848,3262,2680,2512,3155,2564,1705,1666,1749,2169,2725,2544,2780,2562,2579,2752,2684,2563,2163,1881,1677,1805,1994,1881,2115,2285,2110,2013,1967,2017,2361,2176,2149,2880,2880,2372,1902,1962,2180,1950,2457,3197,2574,1957,1758,1719,1812,2258,2386,2538,2932,2912,2192,2363,2531,2855,3391,2796,2106,2647,2705,2495,2351,1982,2172,2002,1779,1869,1967,1995,1635,2097,1870,1545,2111,2678,2322,2161,2785,3709,3770,3156,2614,2334,2408,2928,3056,3133,2706,2242,2020,2265,2587,2017,2225,2196,2445,2386,2939,2919,1916,2155,2178,1956,1957,1708,2151,2472,2225,2262,2017,1629,1532,1652,2290,2248,2000,1969,1776,1667,1718,2203,2921,2656,2407,2137,1714,2120,2858,3090,2730,2845,2557,2017,2799,2942,3044,3143,2752,3223,3163,2986,2519,2274,2775,2767,2437,2105,1825,1905,1868,2362,2410,2083,1619,1724,1998,2209,1952,1657,1744,1947,1901,1720,1682,1874,2008,2131,2399,2623,2215,2300,2625,2439,2666,3163,3431,3441,2839,2565,2558,2312,2228,2592,2674,2263,2176,2208,2053,2070,2120,1713,1995,1988,1702,1853,2353,2477,2259,2009,1631,1509,1685,1993,2061,2123,2643,2022,1882,2730,2920,2629,2798,2091,1991,2154,2083,2329,2389,2175,2436,2362,2548,2714,2512,3047,2718,2517,2531,2733,2308,1641,1650,1689,1455,1534,1419,1285,1305,1361,1345,1651,1750,1509,1671,1672,1665,2278,2221,2044,1748,2029,1989,2210,2186,1695,1576,1505,1635,1793,1856,1937,2553,3128,3176,2469,2515,2331,2185,1906,1572,1535,1697,2179,2225,1848,2029,2345,1904,1484,1487,1832,2460,2675,2576,2063,1874,2114,1917,1559,2207,3145,3189,3207,2845,3000,2907,2725,2623,2675,3066,2576,2077,2879,3156,2769,2295,1774,2054,2588,2880,2734,2224,2090,1949,1478,1330,1642,1806,1562,1492,1603,2012,1896,1746,1774,1946,2154,1759,1507,1592,1726,1919,1856,1616,1392,1649,1584,1505,1448,1358,1470,1671,1791,1621,1615,1817,1711,1666,1561,1655,1743,1802,1656,2303,2239,1707,1532,1549,1582,1577,1453,1550,1613,1612,1622,1902,1930,1865,1915,2030,2027,2274,2509,2984,3273,2753,2565,2062,2122,2666,2069,1562,2444,3150,2466,2251,2822,2873,2834,2061,1716,1887,1894,1759,1766,1832,1995,1907,1664,1680,1754,1902,1934,2045,2420,2046,1950,2040,1902,1736,1927,2465,2977,3588,3573,2832,2373,2383,2332,1766,1538,1617,1716,2000,1847,1530,1896,2278,2013,2214,2354,2381,2878,3173,2928,2147,2157,2592,2691,2386,2031,2249,2758,2500,2592,2532,2558,2239,2457,2499,2813,2912,2787,2774,3134,2938,2307,2007,2126,2392,2011,2050,2213,3154,3526,2618,2114,2249,2812,3262,3001,2867,2932,2930,2851,3294,3171,3008,3001,3206,3010,2813,2717,2976,3666,3415,2974,2880,2855,2613,2831,2293,2660,3137,3269,3073,2372,2881,3198,3123,4082,4517,3864,3206,3171,3371,3728,3243,2962,2977,2636,2398,2137,2565,2769,2232,2335,3177,2338,1905,2337,2739,2734,2558,2393,2448,2624,2807,2753,2342,1866,1483,1990,1868,1748,2220,2377,2589,3329,3378,2905,2591,2191,2124,1775,1829,2191,2362,2698,2666,2569,2661,2842,2588,1486,1381,1981,2121,1672,2041,2163,1892,2027,2169,2438,2665,2452,2033,1892,2325,2755,2664,2749,3312,3167,2130,2026,2269,2221,2055,1849,1918,1681,1648,2022,2663,2814,2229,1911,2012,2586,2732,2475,2017,1875,2279,2548,2594,2841,2547,2207,2342,2132,1501,1547,1750,2245,2792,2425,2476,2721,2202,1974,2213,2143,2086,2061,2017,2264,3120,2625,1776,1769,2264,2409,2106,2296,2852,2371,2288,2310,2152,2609,2615,2618,2229,2551,2897,2534,2539,2441,2577,2313,2656,2620,2143,2474,1929,1773,2131,2431,2911,2798,2342,2470,2707,3130,3104,2391,2839,2832,2181,2548,2614,2063,1663,1776,1969,1881,2457,3173,2879,2599,2437,2435,2401,1803,1494,1371,1353,1722,2307,2780,3084,2293,2375,1825,1707,1786,1794,1717,2473,2534,1301,1153,1936,2405,2414,2278,2220,2100,2110,1238,1114,1287,2468,3438,2342,2341,2775,2374,1819,2701,3018,2524,1957,2025,2380,2087,1952,1874,2270,2099,1758,2501,2635,2183,1836,1919,2385,2596,2787,2411,1918,1859,1973,2186,2098,2124,2110,1657,2181,2424,1995,1981,1937,1991,2348,2247,2194,2235,1917,1911,1798,1741,1548,1587,1715,1741,1774,1968,2314,2505,1888,1549,1911,1822,1600,1516,1583,2171,1779,1445,1628,1614,1555,1802,2255,2139,1319,405,490,971,1540,1826,1850,1676,1450,1147,1165,1538,1700,1379,1020,1195,1572,1803,1758,1224,1377,1556,1252,1050,1542,1683,1489,1700,1555,1454,1852,1925,2024,2041,1599,1662,1688,1650,1522,844,553,1593,2049,1255,1313,1379,1824,1710,1248,1558,2176,2484,2420,2277,2104,1711,1463,1382,1668,2133,1934,1616,2165,2132,2574,3122,2609,2454,2229,2002,2692,2501,1407,1576,1709,2017,2263,2083,1922,1960,1931,1860,1896,2005,1863,1933,1958,1985,1813,1933,2196,1809,1740,1707,1649,1989,2328,2766,2963,2192,1847,1887,2077,2155,1932,1632,1661,1551,1528,1720,1667,1359,1372,1324,1343,1359,1315,1344,1426,1333,1230,1219,1152,1431,1708,1659,1498,1549,2000,2702,2298,1852,1589,1887,1750,1340,892,860,1087,1452,1781,2241,2209,2459,3032,3328,2973,2807,2574,1886,1388,1441,1405,1377,1547,1950,2105,1954,2042,1590,1553,1353,1497,1175,921,1176,1344,1362,1330,1384,1548,1548,1706,1675,1527,1620,1701,1965,1666,1359,1367,1531,1872,2209,1547,1439,1584,1490,1541,1761,1509,1481,1910,1924,1681,1597,1464,1422,1487,1529,1542,1432,1388,1286,1217,1182,1113,1155,1262,1308,1316,1372,1277,1422,1457,1407,1315,1384,1438,1180,1179,1431,1432,1419,1423,1438,1488,1383,1686,1619,1521,2034,1841,1449,1366,1434,1500,1497,1589,1786,1805,1517,1353,1316,1337,1311,1316,1459,1583,1478,1491,1491,1353,1359,1451,1494,1414,1401,1297,1443,1383,1769,1626,1347,1428,1384,1655,2257,2460,1873,1724,2479,2007,1544,1882,2067,2029,2215,2484,2238,2143,2711,3007,2687,2723,2106,1753,1826,1975,1980,2048,2151,2195,2172,2034,1742,1715,1368,1701,1560,1359,1649,1533,1689,1783,1698,1677,1493,1827,2032,1884,1808,1793,1554,1444,1828,1992,2093,1904,1801,2431,2766,2053,1556,1909,1948,1949,1793,1756,2190,2050,1613,1581,1739,1909,1904,1365,1577,1709,1444,1449,1621,1507,1794,2122,1738,1366,1631,1691,1815,1908,1870,2078,1882,1787,1743,1976,2470,2362,1842,1686,2121,2250,2127,2041,1766,1709,2189,2448,2204,1917,2122,2266,1915,1536,1568,1691,2060,2172,1911,1803,2099,2269,2333,2122,1749,1537,1587,1782,1912,2708,3648,3564,2764,1851,1505,1711,1926,2011,2018,1923,1674,1507,1409,1913,2114,1600,1818,1871,2119,2064,1973,2043,2023,1957,2114,2354,2669,3327,3494,3192,3042,2880,3689,3538,2885,3199,2728,2570,2580,2309,2443,2902,2867,2168,2662,2555,2365,2255,2653,3097,3078,3130,3275,3065,2938,2718,2424,2564,3062,2977,3138,3499,3181,2841,2864,2226,1969,2209,1964,1927,1951,1711,1787,2282,2452,2577,2901,2590,1925,1758,1809,1918,2103,1973,2081,1835,1985,1831,1588,1688,1758,1941,1719,1902,2354,2054,1804,1860,1782,1901,1900,1968,2206,2623,2410,2204,1952,1779,1816,1855,2013,1857,1681,1861,2016,2578,3282,2946,2205,1801,1590,1870,2268,2491,2302,1904,1796,1916,1795,1693,1599,1713,1774,2028,2248,2457,2730,2792,2640,2556,2111,2233,2285,1765,2090,2862,2647,2406,1996,1539,1590,1848,2526,3206,3319,3262,2521,2301,3061,3392,3545,3428,2980,2306,2023,1958,2098,2276,2038,1706,1601,1964,1867,1758,1662,1691,2045,2207,2110,2079,1977,1920,1980,1902,1774,1600,1472,1643,2230,2896,2866,2426,2191,1700,1720,2270,2189,1692,1844,2170,2147,1970,2021,2199,2149,1764,1608,1555,1316,1546,1533,1667,2006,1969,1793,1671,1605,1468,1563,1543,1411,1363,1386,1493,1499,1380,1378,1521,1376,1429,1469,1488,1746,1918,1676,1426,1432,1411,1400,1457,1474,1572,1551,1500,2295,2610,2526,1947,1517,1546,1579,1651,1528,1584,1808,1936,1836,1707,1988,2281,2769,2857,2523,2509,2324,2286,2031,1916,2294,2159,2372,2245,1842,2987,3680,2812,2811,3063,2426,2487,2994,3151,2790,2794,3467,2568,1855,1851,1591,1693,1979,2174,2134,2181,1833,1735,1849],[1934,2304,2415,2741,2670,2763,3118,2322,1898,1663,1788,1884,1764,1721,1689,1716,1870,1998,2552,2502,2321,2863,2902,2810,2961,3636,3603,3494,3458,3230,3348,3862,3868,3581,3544,3625,3853,4152,4159,4004,3294,3288,3328,3089,3055,3209,2950,2654,3365,3363,3082,2867,2551,2103,1852,1736,1704,1688,1780,2413,3308,3754,3476,3560,3647,3471,3464,3262,3012,2752,2358,2187,2138,2259,3212,3673,3437,2806,2688,2619,2522,2502,2690,3020,2968,3376,3264,2517,2598,2518,2343,2374,2231,2821,2827,2918,3179,3107,3563,3514,2866,2183,2044,2109,2404,3184,3654,3995,4086,3653,3851,3328,3394,3595,3140,2768,2780,2719,3063,3211,2530,2357,2896,2601,2522,2215,1927,1817,2299,2467,2445,2084,1678,1472,1602,1631,1666,2129,1792,1852,1848,1649,1911,1948,1931,2256,2454,2443,2565,2849,2996,2460,1864,1962,2150,2332,2278,2097,1934,1827,1954,2119,2007,1913,1789,1536,1882,2257,2107,1602,1996,1951,2381,2997,2618,2331,2203,1615,1510,2269,2820,2906,2462,3130,2404,2492,2941,2949,3260,3298,2942,3038,2834,2622,2575,2514,2523,2778,3078,2327,2115,3011,3209,2546,2558,2368,2500,3277,3245,2470,2906,3117,2406,2094,2022,1979,2407,2596,2436,2090,2286,3244,3144,2623,3003,2812,2628,2619,2582,2635,3155,3372,3144,2961,3054,3652,3650,3441,3720,3904,3651,3530,3338,3404,3322,2393,2357,2814,2188,1721,1825,2301,2886,3142,2962,2418,2283,2567,2330,2196,2376,2502,2496,2112,2119,2245,1960,2688,2557,2207,1889,1954,2047,2147,2002,1937,2342,2406,2284,2041,2127,2460,2318,2209,2374,2063,1736,1594,1514,1722,2040,2141,2436,3001,3386,2474,2809,3110,3264,3869,2830,1736,2200,2182,2074,2309,1927,1745,1873,1836,1816,2302,2075,1465,1534,1534,1710,2579,2523,1936,2200,2463,3584,3561,2539,2823,2420,2380,2500,2443,2501,2200,1778,1692,1678,2025,2470,2233,1861,2156,2328,2923,3033,2431,2036,2214,2617,2451,1781,1845,1841,2354,2854,2185,1946,1782,2189,2805,2182,1715,1930,1652,1924,1970,1885,2488,2668,2595,2075,1692,2472,2884,2442,2361,2919,2401,1870,2498,2502,2393,2759,2778,2814,2883,3365,3233,3027,3126,3114,2829,2363,2098,2016,1920,2284,2512,2348,1700,1722,1836,1927,1959,1743,1630,2018,2001,1979,1907,2247,2298,2390,2567,2425,2279,2282,2085,2270,2360,2312,2454,2609,2550,2524,2502,2475,2449,2568,2435,2278,2302,2402,2514,2337,2471,2040,2021,1715,1497,1251,1536,2266,2581,2591,1976,1731,2251,2589,2483,2157,2674,1848,2049,2441,2714,2159,2450,2421,1900,1986,2224,2349,2541,2383,2192,1799,2183,2376,1764,2035,2525,2842,2359,1728,1733,1503,1677,1516,1357,1400,1452,1625,1579,1481,1525,1757,1837,1864,2033,1994,2640,3471,2159,1642,1686,1757,1738,1390,1353,1554,1577,1790,1710,1615,1942,1763,2414,3230,3257,2702,2362,2044,2058,1939,1582,1502,1856,1943,2072,2072,2016,1994,1834,1942,2094,2204,2753,2831,2162,1680,2064,2562,2795,2501,2574,2844,2200,2462,2888,2862,2799,2669,2489,2348,2342,2061,2115,2824,2954,2490,1847,1789,2249,2313,2340,2308,2109,2181,2009,1480,1438,1693,1830,1852,1741,1666,1805,1954,1825,1823,2097,2088,1741,1651,1468,1390,1654,1674,1640,1642,1723,1805,1822,1654,1595,1751,2196,2146,1389,1837,1904,1725,1458,1358,1514,1462,1493,1448,1698,1705,1436,1460,1560,1746,1492,1338,1593,1782,1842,1796,1883,2004,1945,1794,1765,1772,2019,2175,3142,3628,3233,2830,2197,2204,2639,2437,1908,2094,2953,2792,1913,2370,2658,2685,2017,1770,1923,1869,1903,2013,1805,1635,1646,1764,1954,2261,2263,2059,2773,2986,2141,1936,2064,2118,2204,2476,2489,2477,2954,2544,1664,1782,1876,2020,1807,2042,1886,1516,1738,1589,1490,1923,2510,2553,3329,3030,2813,2474,3261,3592,3082,3078,3210,2648,2206,2056,2039,1914,2110,2534,2548,2349,2307,2621,2689,2917,3127,2675,2840,3522,3253,2094,1698,1670,2153,2522,2449,2356,2912,3356,3168,2602,2604,2942,2844,2626,2864,3112,2341,2168,2708,2867,2808,3200,3205,2296,2520,2713,2893,3030,3086,3120,2512,1982,2302,2510,1885,2219,3001,3204,3304,2663,2984,3653,3571,3673,3957,4092,3873,3329,2678,3155,3406,3153,3027,2708,2396,2196,2822,2592,2241,2821,3265,2331,2183,2697,2734,2319,1510,1228,1155,1453,2086,2152,2062,1926,1540,1938,2002,2020,2128,2215,2072,2497,2893,2920,2471,1935,1721,1860,2384,2285,2330,2649,2450,2458,2548,2408,2216,1726,1600,2024,2077,1511,2026,2189,2089,1871,1817,2076,2336,2413,2225,2193,2313,2458,2652,2942,3339,2232,1178,2006,1967,1823,2178,1612,1189,1127,1253,1741,2395,2254,2062,1909,2140,2386,2668,2724,2146,2070,2288,2710,2663,2539,2477,2483,2308,2364,1899,1554,1891,2589,2741,2472,2404,2504,2058,1396,1374,1746,1707,1697,1859,2200,2426,1854,1664,2095,1799,2084,2217,2433,2497,1799,1807,2147,2156,2509,2336,2119,2247,2263,2235,2068,2364,3194,3732,2967,2499,2024,2045,2144,1939,2020,2411,2460,2334,2470,2631,2842,3094,3338,3239,2745,3250,2910,2237,2224,2414,2603,2141,1970,2361,2173,2752,3261,2797,2113,1815,1899,2352,2590,2314,2208,2038,2131,2698,3120,3032,2551,2099,1582,1912,2104,1841,2208,2810,2146,1290,1844,2280,2276,2552,2728,2766,2398,1910,1258,1248,1555,2807,2755,1893,2575,2657,2043,1718,2341,2736,2480,2326,2279,2047,2148,1906,1636,2007,2055,2261,2299,2064,1892,1753,2299,2553,2476,2508,2364,2248,2140,2302,2609,2322,2495,2448,2198,2452,2476,2180,1772,1704,2321,2670,2394,2109,1899,1877,1693,1629,1769,1486,1374,1693,1880,1915,2090,2252,1798,1297,1550,1746,1608,1722,1425,1442,1816,1561,1199,1096,1404,1354,1638,2287,2343,1288,530,948,1415,2047,2449,1682,940,1033,1290,1646,1870,1770,1668,1233,1130,1375,1740,1997,1526,1191,1359,1161,1172,1983,2000,1858,2056,1693,1416,1556,1595,1599,1831,1432,909,943,1094,1289,956,625,1500,2107,1404,1657,1722,1588,1346,1453,2160,2464,2204,2137,2331,2014,1602,1653,1809,1937,2344,2202,1933,2049,2018,2821,3404,2529,2039,2044,1919,2422,2179,1350,1575,1564,1749,1984,1814,1676,1676,1771,1738,1614,1879,2423,3482,3585,2569,2220,2060,1911,1764,1663,2065,2549,2567,2405,2837,2999,1805,1710,1731,1861,2071,1822,1506,1618,1786,1587,1425,1389,1322,1361,1302,1335,1363,1392,1274,1452,1370,1297,1232,1279,1534,1774,1883,2003,2176,2646,2724,2258,2010,1941,1920,1857,1408,1008,997,1139,1392,1754,2150,2327,2555,2787,2741,2590,2099,1641,1478,1423,1467,1539,1703,1431,1706,1842,1810,1867,1653,1481,1399,1817,1797,1434,1353,1315,1402,1451,1438,1685,1821,1857,1925,1980,1778,1819,1954,1734,1517,1434,1555,1600,1696,1362,1593,1643,1512,1338,1870,1699,1576,2006,1871,1559,1552,1584,1468,1519,1460,1379,1264,1291,1241,1193,1272,1230,1174,1284,1345,1254,1252,1258,1461,1416,1317,1359,1331,1307,1310,1372,1416,1407,1384,1494,1517,1439,1632,1444,1323,1314,1432,1437,1602,1638,1566,1727,1634,1488,1510,1776,1555,1487,1470,1281,1214,1293,1358,1334,1455,1637,1520,1493,1632,1441,1514,1576,1365,1493,2142,2156,2003,1985,1777,1542,1580,1597,1992,2306,1758,1963,2266,1853,1536,1657,1855,1945,2427,2652,1946,1523,2109,2323,2464,2822,2292,2082,2204,2123,1908,1925,1951,2004,2110,1986,1632,1798,1838,1759,1612,1533,1601,1545,1670,1775,1753,1721,1556,1745,1644,1772,1775,1810,1647,1431,1710,2066,2170,1872,1975,2382,2868,2222,1776,2025,1808,1724,1762,1926,2235,1909,1482,1418,1729,1993,1940,1506,1830,1703,1594,1638,1674,1810,1858,1699,1479,1225,1745,2076,1880,1705,1638,1747,1678,1523,1520,1917,2317,2252,1907,1909,2510,2481,2217,1998,1895,1863,2566,2584,2172,1750,1876,2321,2067,1859,1870,1804,2065,2199,2156,2220,2176,2177,2194,1990,1674,1730,1835,1829,1825,2061,2830,2703,1834,1539,1640,1986,2027,2018,2250,1998,1667,1553,1450,1811,1657,1640,1700,1724,1853,1901,1938,1920,1832,1913,2416,2597,2142,2509,2622,3037,2541,2710,2769,2734,2591,2391,2423,2902,2590,2358,2888,3186,3145,3042,2371,2001,2275,2276,2649,2867,2788,3078,3306,3200,3138,2798,2683,2220,2146,2573,3393,3956,3221,2371,2553,2281,2146,2236,1818,1807,1749,1562,1838,2429,2221,2099,2115,1786,1557,1657,1625,1737,2204,1683,1385,1469,1682,1832,1736,1840,1825,1746,1636,1838,1974,1887,1797,2164,2048,1890,1959,1839,2186,2749,2219,1801,1914,1998,1792,1887,2117,1997,1926,2005,1865,2065,2632,2268,1866,1757,1589,1758,2058,2106,2017,2159,2088,1757,1663,1725,1637,1669,1707,2027,2897,3262,2743,2382,2559,2841,2402,2269,2315,2178,2012,2342,2269,2046,1753,1631,1744,2102,2768,3108,3488,3432,2648,2351,2866,3264,3580,3636,3183,2541,2194,1872,1841,2232,2222,2225,2000,2385,2021,1682,1629,1778,2135,2233,2138,2513,2499,2198,2158,1793,1490,1342,1550,1992,2075,2272,2242,2108,1889,1559,1577,1656,1558,1581,1543,1689,1651,1690,1857,2191,2160,1761,1931,2132,1743,2380,2000,1828,1871,2060,1764,1445,1447,1382,1368,1404,1486,1794,1650,1508,1574,1583,1577,1841,1747,1642,1591,1681,1886,1769,1552,1573,1595,1442,1720,1638,1374,1571,1959,1843,2181,2225,2160,1947,1478,1657,1987,1938,1741,1681,1571,1597,1680,2018,2771,2601,2308,2220,2498,2995,2854,2679,2232,1951,2304,2656,2918,2576,2322,2962,3312,2841,2624,2733,2496,2175,2048,2480,2442,2780,2922,2574,2364,1955,1747,1758,1782,1986,1905,1926,2100,2032,1852],[2245,2238,2157,2339,2338,2556,2864,2169,2139,1997,2071,2226,2117,2011,1748,1706,1697,1458,1854,2448,2840,2910,2862,3144,2636,2366,3282,3790,3275,3449,3780,3980,3959,3903,3675,3727,3702,3929,4133,3497,2341,2485,3228,3239,3242,3283,3185,3310,3374,3601,3081,2415,2130,1910,1713,1677,1656,1620,1867,2575,3131,3490,3629,3564,3297,2867,2957,3154,2635,2134,2012,2361,2684,2733,3342,3588,3397,2916,2821,2760,2419,2212,2480,3054,3310,3218,2831,2518,2362,2001,2165,2588,2419,3353,2707,2729,3286,3724,3939,3738,3494,2624,2533,2614,2421,3310,2995,3604,3605,3395,3100,3182,2921,2841,2645,2576,2514,2454,3031,3160,2646,2998,2955,2489,2091,1614,1600,2044,2344,2202,2021,1681,1465,1440,1700,1833,1961,2231,2017,1854,1670,1467,1572,1649,2146,2806,2529,2291,2564,2209,2290,2402,2155,2217,2165,2024,2027,2324,2379,2251,2064,1570,1478,1630,1496,1666,2066,1974,2115,2217,2204,2127,2691,2686,2183,2366,2434,2118,2614,3647,3658,2846,2543,2857,2263,2341,2499,2938,3783,3200,2332,2864,2911,2704,2482,2498,2600,2900,3055,2855,2846,3039,3089,3152,3099,2717,3088,2816,2717,2364,2385,2268,2380,2211,1726,2293,2547,2207,2404,2321,2171,2442,2303,2239,2684,2643,2733,2751,2709,2767,3099,3320,3672,3807,3407,3484,3640,3310,3351,2977,2502,2800,3068,3244,2785,2143,2808,2612,2145,1869,2289,2774,3178,2645,2397,2336,2319,2473,2321,2215,2420,2849,2373,2557,2478,2337,2472,3389,3083,2393,2122,2437,2361,2099,2138,1947,1752,1887,2025,1651,1816,2039,2228,2180,2091,1980,1897,1789,1517,1630,2029,2113,2442,3145,4047,3119,2664,2290,2387,2866,2325,1755,1671,1599,1567,1606,1548,1663,2155,1939,1622,1968,1885,1639,2009,2111,2277,2785,2156,1890,2445,2502,2753,2667,2319,2866,2994,2707,2552,2543,2479,2553,1838,1780,1567,1531,1970,1964,1795,1923,2315,2607,2916,2459,1415,1622,2177,2591,1976,1825,1810,2213,2247,2273,2178,1931,2443,2878,1858,1702,2023,1736,2055,2032,2099,2228,2534,2609,2013,2074,2527,2132,1810,2023,2508,1929,1816,1779,1886,2054,2479,2820,3075,3091,3127,3480,3382,3044,2898,2345,2272,2149,2480,2101,2259,3044,2768,1989,1815,1667,1708,1966,1739,1687,1790,1675,1932,2125,2407,2279,1952,2232,2474,2179,1969,1995,1939,2025,1804,1584,2094,2574,2652,2725,2532,1951,1888,2475,2643,2525,2699,2805,2734,2493,1932,1713,1490,1484,1345,1515,2098,2545,2776,2363,1862,2090,2389,2537,2002,2255,2298,2310,2264,2206,2310,2508,2332,2019,2187,2297,2208,2239,2182,1907,1454,1734,2018,1839,1869,2513,3465,3039,1704,1476,1603,1694,1537,1431,1519,1716,1798,1587,1641,1842,1716,1822,2243,2081,2086,2502,2670,1986,1794,1511,1594,1867,1596,1679,1876,1810,2225,1936,2008,2215,1694,1965,2517,2448,2067,1801,1925,2383,2273,1593,1807,2222,1852,2126,2066,1912,1674,1650,1864,2352,2502,2489,2470,1920,1744,1997,2066,1846,1877,2731,3151,2841,3108,2983,2419,2169,1950,1741,1870,1980,1699,2091,1885,2332,2376,1981,1749,1653,1713,1696,1789,2415,2643,1888,1631,1954,2201,2074,1753,1787,2184,1961,1704,1755,1924,1747,1679,1588,1480,1365,1657,1578,1965,2222,2031,1726,1782,1930,1846,1777,1805,2106,2084,1852,2076,1826,1622,1566,1585,1591,1466,1438,1503,1370,1370,1350,1374,1631,1686,1415,1348,1628,2070,1956,1690,1833,2099,1972,1623,1634,1622,1857,2698,3121,2269,1763,2307,2172,1914,1982,2221,2552,2860,3217,3297,2086,1901,2152,2506,2500,2400,2507,2302,2187,2332,2023,1625,1745,1676,2235,2855,2470,2745,3130,2485,1761,1974,2277,2592,3045,3515,3616,2535,2296,1921,1603,1863,1726,1735,1879,2453,2134,1684,1622,1354,1434,1921,2314,2523,3140,3422,3221,2919,3505,3897,3891,3785,3032,2050,2014,2047,2236,1655,2115,2675,2655,2609,2568,2495,2195,2249,2775,3360,3312,3112,2850,2599,2020,1701,2190,2301,1960,2351,3040,3182,3112,3016,2812,2911,2456,2333,2149,2299,1941,1512,1697,2131,2374,3235,3418,2492,2680,2721,2789,2031,2046,2808,3007,2564,2315,2471,2239,2553,3185,3710,4112,3971,3817,3111,3014,3514,3699,3726,3786,3444,3207,3220,3208,3441,3132,2443,2177,2024,2175,2203,2160,2478,2711,2293,2452,2868,2426,2049,1060,876,1135,1202,1749,2114,2006,1509,1568,1937,2100,2161,1855,2233,2332,3106,3132,2865,2177,1860,1943,2202,2172,2210,2664,2894,2690,2530,2646,2225,1692,1476,1636,1760,2064,2730,3030,2674,2023,1375,1419,1613,1811,2019,2089,2353,2296,2260,2304,2479,2851,2392,2034,2435,2642,2221,1959,1554,1473,1368,1279,1661,2258,2316,2083,1979,2115,2338,2611,2802,2195,2283,2169,2496,2423,2153,2649,2441,2054,2299,2128,2094,2382,2256,2601,3087,2534,1601,1973,1829,1776,1847,1665,1915,2014,1927,1894,1759,2176,2449,2215,2732,2595,2471,2739,2418,2183,2365,2510,2472,2060,1909,2810,3117,2832,3089,2894,3271,3350,2810,1936,1896,2337,2156,1989,2226,2764,2742,2898,2658,2128,1977,2248,2692,2530,2724,2884,2251,1882,2162,2868,2808,2352,1940,2178,2267,2106,2262,2342,1802,1348,1785,2720,2897,2492,2566,2235,2515,2437,2135,1498,1445,2109,2623,2610,2032,1797,2170,2554,2374,2210,2523,2373,2758,2732,2792,2792,2544,1953,1606,1459,2142,2655,1479,1791,2374,2792,2311,1889,2385,2950,2374,2092,2020,1728,1865,1704,1707,2037,2253,2138,2065,2558,2306,2054,2336,2332,2079,1982,2000,2115,2806,2879,2576,2629,3130,2321,1986,2156,2244,2336,2046,1913,2316,1989,1685,2315,2768,2253,2004,1859,2017,1731,1696,2033,1916,1973,2135,1908,1814,1963,2364,1947,1747,1855,1671,1654,1634,1563,1182,1095,1573,1584,1537,1673,2259,1287,508,902,1454,2164,2535,1795,1382,2071,2240,2030,1838,1661,1615,1295,1021,1208,1402,1693,1499,1093,1357,1370,1302,2183,2115,2080,2025,1445,1205,1214,1188,1443,1842,1282,687,800,1142,1763,1471,702,1342,2051,1565,1711,1607,1252,1424,1949,2451,2574,2169,2590,2544,2031,1631,1792,1817,1815,2310,2048,1775,2071,2076,2755,3527,2683,1909,1984,1880,2428,2077,1370,1479,1449,1438,1518,1487,1469,1532,1667,1791,1642,1782,2929,4948,5156,2952,2031,1844,1858,1820,1986,2558,2991,3300,3124,2829,2824,2302,1918,1426,1499,2032,1912,1478,1395,1384,1380,1768,1567,1506,1368,1389,1403,1362,1307,1426,1527,1527,1534,1456,1494,1596,1735,1878,2165,2095,2360,2313,2096,2107,2244,2259,2015,1568,1434,1468,1613,1615,1961,2092,2296,2362,2188,2075,2239,2005,1728,1694,1464,1406,1442,1599,1033,1344,1751,1793,1814,1811,1720,1609,1903,2014,1738,1433,1349,1500,1655,1556,1834,2014,1770,1827,1843,1479,1647,1904,1681,1437,1454,1604,1559,1512,1465,1423,1586,1511,1175,1356,1542,1467,1462,1530,1453,1447,1564,1544,1452,1290,1302,1286,1455,1386,1187,1188,1177,1179,1266,1316,1244,1288,1310,1477,1463,1503,1397,1271,1482,1543,1281,1255,1358,1414,1663,1458,1352,1644,1559,1489,1371,1360,1526,1734,1801,1572,1481,1516,1489,1333,1534,1515,1327,1265,1328,1443,1597,1472,1153,1315,1545,1585,1702,1911,1585,1435,1426,1403,1632,2015,2272,2263,2306,2167,1865,1725,1832,1813,2146,1972,1962,2106,1914,1767,1949,1937,1846,2340,2266,2010,2458,2562,2387,2688,2277,2005,2163,2050,2034,2037,2029,2309,2249,2304,2222,1745,1515,1641,1647,1502,1626,1730,1803,2129,1870,1493,1494,1654,1577,1469,1845,1921,1770,1724,1610,1756,1905,1859,1954,1905,2071,2196,2128,2027,1628,1382,1714,1897,2088,2305,1627,1590,1461,1430,1766,1821,1529,1595,1707,1638,1489,1555,1989,1914,1444,1604,1692,1715,1957,1921,1960,1716,1674,1619,1649,1767,1853,2089,2207,2648,2303,2417,2070,1854,2426,3055,2854,2719,2712,2644,2068,2010,2339,1974,1973,2254,2244,2164,2002,1838,2167,2178,1741,1912,2052,1735,1446,1461,1734,1846,1988,2325,1878,1570,1587,1646,1893,1731,1741,2026,1763,1622,1541,1742,1752,1672,1696,1664,1554,1775,2030,1920,1707,1629,1691,2049,2061,1709,2112,2239,2525,2114,1958,2503,2873,2676,2447,2510,2686,2247,2430,2941,3185,3662,3206,2417,2648,2561,2212,2288,2865,2928,2924,3139,3251,3071,3030,2909,2556,2502,2880,3436,4001,3100,1983,2071,2049,1921,2023,1733,1447,1483,1565,1588,2020,1979,1793,1635,1552,1544,1592,1668,1699,1732,1535,1435,1508,1548,1726,1789,1795,1833,1652,1662,1750,1627,1751,1847,2111,1958,1885,1916,1981,2792,2912,2150,1804,1852,1869,1774,1794,2036,2013,1989,2075,2120,2590,2526,1953,1879,1926,1859,1953,2002,1734,1958,2041,1958,1784,1660,1626,1524,1672,1940,2530,3586,3326,2163,1832,2214,2565,2100,1869,2681,3034,2471,2070,2176,1931,1492,1609,2068,2443,2350,2311,2255,2219,2678,2708,2654,3106,3296,3278,3356,3252,2863,2198,1780,1894,1901,2319,2323,2129,1937,1758,1765,1888,1764,1908,2298,2550,2626,2238,2014,1903,1660,1399,1717,2133,1883,1563,1427,1465,1616,1780,1675,1605,1484,1730,1766,1766,1901,1856,1710,1768,1685,1605,1991,2863,2525,2429,2182,1985,1858,1970,1975,1761,1623,1553,1384,1395,1516,1940,1757,1687,1814,2020,2071,2177,2184,2084,1987,1710,1583,1456,1545,1628,1780,2158,2437,1830,1464,1576,1692,1601,1625,1698,1914,2182,1629,2029,2271,1787,1663,1728,1924,1919,1770,1940,2293,2349,2373,2230,2479,2919,2965,3109,2420,2141,2743,3117,3442,3504,2791,2288,2181,2723,2455,2129,2119,2402,2662,2515,2601,2699,2757,2913,2771,2602,2255,2035,2115,2322,2425,2115,2168,1976,1683],[2380,2303,2198,2355,2298,2172,2470,2374,2486,2534,2507,2503,2447,2468,2208,2154,2112,1729,2214,3035,3196,3139,3155,3046,2632,2531,3785,3899,3273,3449,3698,3636,3243,3450,3516,3554,3670,3915,3640,2696,1990,2132,2867,3139,3337,3249,2962,3238,3164,3603,3420,2429,2017,1910,1789,1703,1676,1642,1931,2792,3465,3608,3912,3821,3240,2702,3120,3227,2499,2135,2360,2767,3146,3330,3348,2971,3362,3589,3240,2946,2730,2361,2310,2776,3031,2609,2998,2853,2346,1895,2193,2600,2546,2709,2372,2075,2343,3131,3315,2979,3005,2831,2775,2687,1968,1912,2104,2645,3008,3462,3580,3029,2567,2558,2192,1970,2317,2740,2986,2989,2010,2635,2424,2565,2278,1693,1874,2496,2496,1850,1478,1459,1520,1828,2082,1900,1935,2585,2336,1947,1805,1842,1992,2119,2256,2142,2029,2207,2182,2456,2696,2392,2025,2081,2256,2424,2824,3172,2916,2264,1701,978,1358,2167,2084,2448,2854,2705,2678,2706,2600,2734,2718,2182,2147,2375,1817,2334,3091,3404,2459,2011,2442,2840,2564,2314,2645,3448,4118,3305,2437,2920,3151,3071,3239,2961,2763,3247,2768,2472,3133,3315,3288,3410,2884,2428,2940,2547,2543,2535,2213,2137,2794,2367,1942,2578,2502,2426,2399,2265,1890,2166,2084,2408,2668,2599,2690,2775,2876,3041,3196,3591,3871,3505,3099,3096,3262,3095,2431,1791,1667,1650,1898,2509,2144,1903,2224,2554,2237,1942,2535,2805,2639,1989,1690,2013,2386,2475,2389,2470,2534,3108,2444,2603,2135,1826,2286,2786,2654,2446,2430,2219,2233,2430,2843,2507,2114,1765,1723,1481,1559,2028,2438,2861,3144,2609,2132,2156,1867,2129,2144,2119,2072,2905,3639,3435,2852,1803,1694,2085,2244,1864,1543,1514,1545,1405,1571,1668,1842,1608,1501,1726,1719,1715,1948,2114,2018,2160,1781,2040,2395,2446,2584,2391,2204,2712,2920,2988,3229,3098,2265,1978,1709,1639,1725,1768,1770,1934,1927,2244,2584,2397,2077,2203,1430,1270,1075,1854,2258,2064,1967,2253,2456,2651,2430,2302,2426,2657,1843,1794,1892,1816,1764,1721,2082,2214,2180,2210,2101,2351,2402,2160,2270,2416,2238,2427,2468,1909,1778,2276,2678,2828,2921,2915,2860,3121,2980,2630,2253,1913,1782,1919,2177,2141,2866,3122,2313,2277,2336,1865,1839,2032,1753,1586,1422,1543,1721,1970,2097,1971,2128,2711,2964,2623,2106,2116,1872,2023,1826,1880,2226,2547,2756,2766,2678,2579,2382,2896,2463,2307,2190,2135,2288,2149,1682,1477,1699,1996,1842,1819,2619,3206,3462,2910,2192,1694,1443,1357,1631,2193,2210,2177,2208,1904,2154,2275,2099,2108,2642,3110,3183,2639,2048,1769,1507,1637,2075,2126,2212,2590,3410,3559,2160,1500,1402,1525,1365,1371,1438,1676,1870,1731,1937,2040,1766,1765,1920,2399,2342,1733,1734,2343,2347,1681,1549,1676,1511,1685,1788,1640,1842,2124,2184,1959,1579,1578,1858,1887,1727,1814,1950,2402,2071,1443,1932,1677,1930,2517,2952,2493,1788,1571,2052,2689,2382,2525,3116,2136,2256,2278,2063,1756,2191,2603,3068,2907,2522,2777,2408,1969,1999,2039,2386,2510,1841,2096,2049,2367,2531,2201,1902,2001,2106,2304,2313,3081,3642,2740,2373,2259,2235,2037,1700,2023,2198,1766,1492,1779,1796,1518,1679,1694,1501,1595,1802,1486,2020,2574,2342,1749,1471,1470,1761,1706,1928,2077,1726,1889,1731,1541,1606,1841,1798,1521,1454,1514,1439,1401,1418,1402,1384,1744,1612,1781,1686,1890,2152,1918,1650,1719,2058,1991,1606,1715,2024,2007,2811,2443,1570,1460,2069,2363,1910,1706,1900,2327,2731,2898,3355,2594,1968,2031,2323,2531,2758,2921,2666,2358,2459,2388,1792,1659,1619,2014,2176,2350,2460,2434,2174,1927,1811,1646,2415,3782,4006,3531,2384,1985,1685,1586,1625,1818,1874,1924,2045,1669,1606,1204,1335,1575,1563,1672,1842,2534,3354,3154,2684,3370,4648,4749,3746,2520,2131,2086,1969,2039,1745,2150,2434,2467,2723,2676,2508,2306,2078,2502,3522,3708,3183,2935,2488,1821,1694,1996,2026,1910,2392,3006,2695,2918,3056,3115,3173,2942,2570,2212,2316,2133,1531,1914,2476,2362,2735,2655,2832,2988,2708,2908,2577,2241,2454,2980,2917,2249,2567,3186,3495,3177,3841,3894,3980,3982,3030,2643,3132,3506,3807,3443,2910,2941,2420,2590,3394,3132,2522,2441,1900,1782,2270,2360,2306,2382,2311,2210,2409,2401,2074,1692,1500,1375,1356,1917,2127,1854,1658,2025,2342,2523,2564,2269,1976,2332,3000,2820,2547,2006,2216,2464,2058,1954,2358,2294,1984,2216,2668,2841,2397,1749,2032,2187,2170,2225,2540,2989,2888,2325,1840,1674,1627,1797,1934,1926,2057,2092,2187,1972,2164,2432,2247,2365,2512,2604,2084,2132,2330,2569,2275,2145,2467,2584,1765,1787,2063,1977,2235,2590,2586,2303,2302,2192,2018,1868,2116,2083,1705,1882,2033,2053,2004,2412,2453,2830,3065,2280,2148,2667,2126,1725,2116,2467,2424,2031,2196,2253,2085,2342,2598,2740,2774,2510,2662,2729,2446,2352,2491,2481,2138,2141,2455,2742,2470,2088,2198,2286,2386,2605,2618,2449,2625,2727,2622,2778,3090,2522,2018,1914,1694,1841,1554,1747,2150,2093,2277,2632,2687,2325,2844,3483,2707,1925,1762,2337,2362,2133,2536,2342,1573,1398,1863,2339,2566,2298,2338,2155,2028,1876,1707,1433,1670,2585,3172,2441,1814,1568,2030,2462,1842,2199,2335,2647,2557,2188,2614,2625,2054,1087,1038,1541,2655,2937,2099,2492,2076,2108,2598,1929,1710,2317,2032,2302,2474,2491,2706,2153,2494,2734,2354,1911,2420,3379,3348,2686,2069,1840,1591,1432,2098,1935,2241,2380,2387,2886,3167,2653,2301,2426,2333,1923,1778,2104,1999,1930,1512,2565,3118,2607,2339,2078,2197,2159,2038,2144,2087,2409,2580,2082,2018,2530,2619,1932,2046,2335,2192,2052,1681,1312,1099,1454,1930,1876,1790,1740,1749,1282,601,799,1764,2467,2580,1851,1314,2008,2221,1980,1918,1724,1603,1170,740,798,1056,1332,1225,996,1384,1548,1254,1566,1432,1506,1794,1375,1258,1491,1638,1826,1662,1197,669,906,1093,1495,1376,774,1427,2171,1859,1615,1311,1343,1860,1858,2148,2410,2495,2992,2377,2088,1691,1713,1826,1804,2277,2093,1640,2095,2204,2689,3813,3030,2216,1977,1720,2308,2054,1461,1456,1493,1533,1596,1549,1536,1709,1835,1883,1778,1882,2755,3830,3422,2169,1687,1506,1667,1900,2387,3044,3451,3560,3682,3326,2928,2702,2496,2120,1769,1566,1471,1427,1331,1344,1571,2108,1632,1638,1631,1659,1604,1456,1432,1612,1680,1641,1660,1591,1557,1808,2171,2212,1992,1758,1946,1930,1766,1795,2176,1987,1537,1683,1641,1631,1885,1647,1585,2093,2452,2522,2296,2193,2128,1899,1692,1575,1383,1410,1565,1744,1159,1280,1642,1786,1662,1543,1500,1380,1327,1404,1532,1401,1421,1484,1770,1837,1819,1890,1869,1605,1430,1294,1672,1942,2293,1737,1487,1476,1580,1488,1454,1492,1449,1459,1536,1496,1407,1357,1369,1614,1715,1542,1355,1292,1387,1376,1315,1322,1301,1215,1174,1218,1319,1284,1241,1233,1332,1411,1372,1423,1354,1354,1336,1296,1412,1341,1274,1419,1471,1636,1753,1735,1460,1428,1693,1820,1624,1542,1549,1754,1918,1632,1367,1346,1549,1535,1499,1651,1589,1411,1393,1521,1511,1358,1345,1289,1439,1666,1677,1855,1665,1399,1477,1550,1440,1698,2588,2247,1850,1875,2122,2290,2182,1673,1833,1930,2061,2077,1715,1708,1714,1851,1913,1994,1959,2345,2917,2494,2441,2673,2175,2100,2072,2106,2097,2271,2277,2414,2219,2198,2082,1488,1378,1773,1700,1666,1687,1558,2024,2339,1725,1526,1537,1594,1537,1638,1931,1986,1866,1946,1885,1879,2108,1969,1922,1271,1515,1874,1980,1885,1708,1546,1613,1759,2304,2474,1661,1626,1442,1475,1504,1426,1558,1610,1483,1483,1403,1530,1732,1806,1465,1619,1754,1706,1955,1978,1721,1801,1964,1794,1801,1803,1882,2221,1904,2250,2248,1937,1683,1674,2486,3160,2907,2262,2112,2648,2185,1781,1740,1935,1793,1995,1994,2083,2069,1664,1770,1799,1628,1635,1684,1397,1509,1639,1798,1938,2060,1952,1701,1784,1720,1604,1854,1850,2436,2501,1945,1678,1750,2114,1832,1616,1768,1766,1410,1542,1972,1988,1882,1900,2053,1858,1633,1656,1816,1888,1953,1938,2293,3024,3195,2407,1774,2474,2641,2490,2380,2497,2990,3289,2318,2236,2680,2382,2151,2368,2995,3304,3275,3213,3152,3331,3605,3331,2846,2237,2131,2744,3031,2200,1783,1832,2044,1761,2058,1932,1600,1668,1604,1520,1589,1641,1638,1630,1521,1550,1547,1713,1616,1573,1748,1892,1675,1627,1632,1694,1737,1774,1588,1682,1797,1870,2050,2093,2025,1866,1874,1788,2334,2774,2208,1873,2026,1945,1945,1671,1450,1726,1856,1745,1857,2403,2844,2597,2363,2272,2053,1861,1970,1926,1861,2299,2464,2154,1809,1804,1709,1743,1744,1813,2591,3394,2584,2164,1992,1766,1908,1720,1480,1885,2384,2542,2568,2366,1838,1652,2168,2489,2510,2019,2075,2132,2294,2510,2221,2586,3248,3072,2933,3269,3679,3460,2677,2165,2071,1926,2305,2446,1999,2014,2205,2271,2072,1622,1627,2049,2137,2250,2098,1842,1805,1687,1454,1802,2142,1890,2195,1636,1576,1662,1839,2002,2019,1803,1676,1908,1983,1626,1645,1646,1459,1463,1648,1809,2568,2358,2345,1947,1729,1850,1830,2042,2002,1685,1636,1380,1506,1674,1550,1584,1691,2248,2571,2144,1784,1731,2143,2166,1681,1467,1437,1471,1472,1685,2381,2548,1914,1579,1607,1631,1632,1625,1613,1696,1605,1465,1946,2206,2125,1932,1834,1808,1831,2074,2176,2655,2176,1954,2160,2474,2546,2177,2461,2586,2542,2747,2954,3282,3474,3132,2822,2007,2807,3248,3064,2821,3122,3354,3151,2812,2748,3045,3134,2909,3256,2499,2116,2563,2758,2562,2215,2132,2303,2209],[2525,2288,2230,2520,2679,2411,2302,2190,2377,2563,2548,2814,2624,2620,2692,2834,2342,2444,2776,2587,2325,2509,2719,2795,3062,3406,3697,3348,3307,3505,3762,3116,2588,2651,2980,3485,3806,3785,3363,2413,2533,2382,2757,3119,3398,3099,2576,2797,3005,3464,3529,2417,2151,1964,1800,1718,1753,1708,2048,2709,2832,3065,3653,3764,2972,2806,3379,3011,2392,2780,3098,3385,3462,3417,3069,2883,3230,3345,3134,3028,2924,2551,2189,2351,2499,2756,3549,3222,2868,2806,2678,2685,2525,2125,2262,2044,1992,2312,2844,3544,3592,3526,3175,2799,2187,2232,2227,2287,2888,3454,3429,3206,3387,3532,2978,2121,2083,2504,2529,2259,1947,2330,2191,2518,2388,1981,2311,3044,2791,1923,1519,1437,1613,2619,2834,2115,1960,2392,2459,2300,2099,2483,2410,2205,1899,1597,1759,2199,1987,2079,1745,1686,1852,2115,2545,3020,3276,2888,2657,2342,1870,1289,1481,2228,2736,3116,3372,3293,2928,2554,2354,2154,1860,1732,2114,2394,2054,2349,2524,2379,1651,1929,2580,2699,2854,2940,2304,2688,3143,3075,2942,2789,3016,3055,2850,2314,2673,3165,2967,3055,3303,3063,2779,2974,2312,1865,2630,2931,2951,2719,2271,2567,3167,2828,2940,3069,3051,2674,2237,2817,2912,3101,3042,3176,3043,2705,2561,2625,2809,3109,3196,3547,3808,3231,2644,2892,3340,3551,2894,2121,1721,1258,1492,2084,2061,2213,2724,2607,2191,1891,2386,3320,3176,2396,2030,2196,2393,2486,2880,2897,2879,2856,2367,2283,2554,2420,2254,2450,2159,1884,2077,1890,2576,2779,2752,3183,2732,2057,2040,1771,1793,2381,2433,2222,2502,2316,1943,1738,1647,2237,1953,1902,1766,1974,2256,2332,2388,1737,1631,1745,1882,1528,1363,1440,1617,1572,1520,1628,1670,1511,1583,1595,1515,1643,1935,1794,1615,1665,1647,1941,2337,2697,2382,2022,2140,2979,2813,2942,3301,2874,2224,1759,1903,2161,2216,2025,1960,2153,2245,2462,2814,2676,2227,2302,1808,1648,1764,1809,2070,2285,2630,2812,2389,2408,2409,2380,2430,2416,1875,1783,1649,1593,1822,1941,2104,2146,1819,1804,1984,2030,2589,2621,2622,2644,2300,2375,2610,2205,1816,2219,2517,2402,2467,2988,2602,2622,2590,2536,2451,2083,1992,2081,1803,2264,2547,2313,2169,2590,2214,1925,1637,1792,1811,2140,2324,2057,1995,1848,1829,2022,2126,2354,2695,2481,2128,2033,2051,2086,1899,1886,2028,2061,1973,2215,2456,2653,3115,3227,1869,1637,1754,1853,1888,1981,1890,1888,2432,2310,2089,2383,2930,3200,3210,2600,2046,1583,1504,1579,1650,2031,2086,1919,1988,1857,1859,1911,1685,1767,2198,2844,3317,3067,2480,1896,1592,1860,2512,2284,1890,2395,3261,3925,2380,1419,1438,1401,1350,1393,1265,1490,1672,1675,2054,1689,1860,1760,1675,1832,1546,1390,2151,2866,2322,1738,1660,1534,1600,1707,1678,1789,1612,1597,1663,1527,1392,1610,2135,2093,1988,2338,2378,2055,1808,1743,2176,1984,2150,2440,2921,2878,2121,1792,2033,2148,1915,2703,3398,2313,2173,2458,2364,2213,2225,2087,2523,2667,2220,2623,2584,2272,2318,2185,2274,2523,2047,1735,1662,1749,1981,2135,2375,2057,2145,2488,2631,3350,3760,3508,2917,2242,1718,1387,1667,2220,2345,1801,1670,1960,1656,1471,1694,1515,1575,1728,1588,1609,1705,1798,1654,1534,1570,1863,2190,1947,1901,1781,1601,1954,1847,1524,1405,1367,1512,1511,1419,1318,1363,1418,1606,1610,1455,1528,1651,1721,1643,1475,1475,1966,1799,1683,1748,1604,1372,1519,1628,1593,1865,1723,1680,2002,2366,2143,1596,1458,1432,1653,1893,1813,2557,2713,2025,1762,2090,2486,2871,2988,2697,2663,2576,2404,1991,1644,1713,1816,1670,2150,2503,2661,2684,2091,1644,1821,2189,3553,3164,2157,2215,1980,1504,1482,1509,1613,1820,2404,2360,1903,1527,1874,1921,1623,1579,1824,1969,2257,2556,2288,1885,3034,4528,4296,3499,2663,2664,2458,1894,1618,1599,1774,1856,2049,2533,2351,2578,2590,2170,2900,3431,2987,2997,3066,2428,1943,1961,2260,2393,2275,2369,2152,2203,3089,3195,3045,2772,2749,2695,2187,2210,2208,1897,2424,2585,2646,2701,2796,2601,2359,2534,2966,3116,3074,2779,2436,2254,2042,2770,3335,3256,3175,3584,2906,2756,3440,3271,2539,2459,2758,3508,3276,2707,2701,2335,2680,3137,2975,2855,2779,2170,1827,2154,2456,2305,2392,2748,2141,1745,2222,1663,1350,1239,1021,1343,1762,1843,1943,1769,1820,2337,2437,2085,1829,1726,2046,2561,2668,2356,2060,2402,2405,2038,2174,2329,1924,1753,2072,1991,2046,2115,2040,2498,2732,2778,2497,2623,2911,2902,2454,2292,2359,2217,2273,2267,2244,2148,2065,2151,1978,2107,2279,1897,1851,2469,2624,2548,2585,2646,2920,3199,2878,2450,2042,1621,2046,2280,2169,2154,2268,2479,2097,1790,2024,2115,2240,2388,2001,1771,2124,1887,1691,2036,2388,2490,2445,2331,2225,2125,2229,2203,2177,2646,2537,2261,2048,2459,2892,2188,1871,2167,2454,2236,2186,2486,2452,2492,2413,2277,2219,2249,2480,2731,2591,2345,2198,2387,2426,2059,2249,2597,2943,2755,2808,2689,2952,2786,2109,1941,1843,2018,2232,1873,2172,2769,2174,1748,1832,1817,1990,2781,3075,3019,2513,2450,3146,2874,2176,1759,1705,1874,2505,2728,2576,2262,2316,2403,2382,2343,2376,2281,1892,2199,2731,2633,1661,1656,1682,2287,2276,1533,2032,2163,2984,3042,1511,1760,2277,1402,936,1160,2057,2837,2640,2138,2257,1665,1663,2522,2388,2545,2513,1870,2611,3219,3441,3650,3130,2563,2018,2131,2016,2106,3298,3917,3023,1607,1464,1538,1661,2046,1968,2361,2081,2169,2475,2382,2338,2396,2353,1990,1601,1818,2078,2090,2143,1734,1968,2153,2438,2547,2309,2182,2306,2242,2039,1914,1987,2497,1785,1578,1930,1681,1484,1942,2082,1754,1761,1486,1060,1334,2180,2019,1715,1764,1869,1704,1166,732,732,1620,2194,2477,2097,1768,1942,1962,1904,1860,1779,1724,1141,571,485,733,1153,1309,1181,1404,1659,1360,1373,1354,1430,1650,1455,1347,1462,1666,1666,1330,1203,731,871,921,1435,1276,1085,1938,2274,1765,1403,1261,1442,1248,1381,2239,2157,2857,3483,2492,2031,1757,1666,1833,1857,2244,2309,1593,1980,2182,2417,3813,3181,2315,1942,1686,2309,2395,1654,1522,1529,1582,1549,1595,1668,1783,1827,1827,1833,1839,3196,5025,3813,2024,1620,1710,1870,2291,2936,3494,3693,3576,3425,3414,3127,2670,2587,2362,1627,1404,1576,1450,1287,1301,1355,1414,1389,1437,1377,1391,1529,1465,1315,1409,1547,1472,1621,1719,1828,2222,2356,2419,2327,2073,1876,2127,2445,1723,1970,1696,1520,2069,1554,1433,1928,2100,2533,2533,2408,2696,2521,2088,1843,1675,1649,1452,1394,1417,1393,1365,1369,1534,1793,1802,1532,1340,1395,1423,1365,1424,1370,1294,1271,1424,1816,1902,1713,2071,2124,1464,1413,1714,2289,2059,2098,1792,1498,1628,1704,1512,1532,1519,1343,1519,1548,1251,1220,1312,1353,1486,1614,1675,1580,1522,1418,1267,1284,1271,1255,1264,1252,1225,1196,1266,1329,1334,1380,1278,1285,1355,1333,1457,1481,1410,1428,1294,1236,1378,1560,1758,1831,1683,1381,1468,1660,1721,1716,1549,1527,1920,2085,1882,1620,1560,1498,1367,1477,1520,1492,1429,1346,1411,1427,1339,1374,1276,1517,1698,1605,1654,1521,1388,1487,1519,1429,1543,1896,1776,1874,1930,1799,2233,2120,1570,1967,2109,2358,2065,1769,1852,1650,1707,1880,2053,2095,2203,2364,2245,2563,2564,1940,2154,1790,2036,2134,2297,2371,2386,2285,2294,2043,1592,1614,1693,1463,1616,1785,1596,1788,1656,1339,1406,1523,1575,1785,1906,1808,1945,1906,1796,1874,2032,2103,2039,2055,1810,1808,2031,1939,1907,1924,1631,1599,1728,2333,2258,1901,1777,1909,2027,1728,1550,1714,1678,1674,1815,1496,1676,2228,2005,1535,1467,1610,1505,1712,2046,2080,1918,1814,1703,1682,1687,1740,2292,1963,2121,2527,2378,1987,2162,2625,2779,2409,1758,2029,2236,2092,1688,1626,2079,1807,1798,1834,1912,2072,1750,1534,1591,1623,1471,1625,1526,1606,1645,1647,1842,1995,1958,1827,1683,1482,1604,2085,1975,2443,2688,2704,2338,2038,1775,1572,1677,1934,1794,1500,1378,1684,1676,1682,1852,1925,1936,1672,1588,2003,2357,2297,2366,2918,3232,2754,2502,2261,2637,2519,2411,2365,2584,2789,2420,1757,1717,2182,2296,2416,2439,2452,3156,3297,3067,3119,3480,3453,3120,2884,2775,2262,1953,2063,2014,1755,2139,2098,1920,2084,1866,1794,1943,1744,1567,1479,1523,1595,1538,1394,1460,1508,1570,1583,1508,1789,1694,1568,1956,1892,1561,1559,1632,1594,1599,1809,1811,1787,1902,1760,1877,2214,2060,2765,2806,2678,2955,2521,1953,1616,1330,1436,1837,1754,1811,1886,2088,2269,2316,2459,2331,2382,2199,2002,1876,1792,2066,2948,3085,2277,2070,1686,1737,1726,2115,2636,2441,2044,1960,1771,1565,1546,1660,1615,1561,1828,2566,2731,2197,1753,1888,2096,2229,2189,1886,2010,2147,2177,2127,1788,2245,2775,2614,2425,2873,3377,3428,3189,2994,2614,2386,2604,2197,1945,2750,2998,2890,2963,2590,2043,1957,2101,2032,1664,1531,1787,1826,1605,1777,1671,1992,2788,2021,2055,2162,2020,2360,2417,1770,1729,2148,2315,2068,1908,1647,1575,1584,1721,1757,1967,1924,1943,1771,1788,1742,1687,1913,1754,1613,1643,1550,1581,1550,1523,1583,1462,1769,2056,1716,1465,1554,2184,2170,2024,1605,1535,1597,1507,1686,2184,2128,1737,1583,1729,1924,1824,1677,1595,1580,1519,1896,2071,2160,2087,1824,1526,1395,1453,1827,2319,2605,2079,2155,2439,2244,1860,2033,2494,2757,2483,2475,2730,2819,2550,2788,3304,2951,3065,3230,3184,3195,3185,3002,2613,2302,2394,2787,2983,2938,2905,2486,2827,3261,2779,2143,1892,1902,2332,2265],[2556,2264,2357,2810,3223,3008,2546,2375,2420,2679,2775,2518,2779,2484,2642,2696,2273,2633,2501,2039,2004,2260,2611,2499,2579,3419,3432,3449,3488,3904,4046,3204,2308,2264,2944,3408,3615,3665,3338,2187,2718,2570,2902,3245,3338,3249,3034,3084,3219,3675,3360,2266,2115,1964,1756,1694,1691,1866,2074,1990,2031,2401,3163,3087,2248,2657,3260,2866,2519,3360,2862,2279,2674,2853,2714,2676,2920,3151,3100,2947,2644,2535,2228,2332,2336,2885,3540,2924,2008,2071,2073,2526,2387,2230,2064,1852,1722,1815,2029,2315,2777,3552,3721,3437,2947,2875,3025,3125,3405,3162,2579,3021,3561,3451,3207,2723,2344,2277,2511,2074,2324,2756,2712,2513,2309,2055,1805,1873,1801,1850,1836,1654,1936,2786,3028,2687,2524,2403,2300,2204,2309,2485,2198,1931,1749,1779,1998,1885,2005,2070,1688,1841,1948,1782,2058,2518,2797,3209,3213,2705,1941,1616,1937,2597,3065,3228,2985,2732,2268,2019,2183,1900,1886,2068,2508,3108,3033,2183,2304,2400,2167,3098,3209,2432,2686,2670,2099,2024,2292,2406,2231,2401,2601,2556,2266,2249,2918,3088,2840,2978,3226,2915,2697,2678,2619,2676,2847,2902,2586,2331,2225,2644,3174,2356,3311,3730,3394,2922,3030,3433,3300,3209,3257,2610,2832,2940,2712,2459,2624,2880,3002,3486,3718,2993,2852,3165,3545,4049,3992,3251,2077,1741,1562,1690,2255,2797,2920,2569,2404,2166,3110,3735,3171,2342,1811,1853,2227,2973,2995,2271,2266,2315,2216,2505,2310,1784,2204,2312,1743,2147,2354,2177,2626,2205,1783,2654,2736,2160,1860,1565,1654,1992,2376,2401,2020,1609,1503,1461,1469,1549,1613,1726,1877,1917,1799,2070,1974,1526,1573,1670,1566,1455,1369,1294,1418,1521,1483,1726,2003,1759,1724,1486,1453,1899,2031,1758,1785,1519,1580,1888,2618,2742,1889,1996,2423,2664,2468,2390,2579,2724,2416,1950,1973,2001,2174,2496,2531,2494,2710,2609,2932,2634,2040,1958,2063,2424,2482,2045,1954,2333,2840,2193,2052,2006,2279,2232,1870,1920,1677,1645,1508,1025,1377,2071,2084,2148,1896,1625,1527,1919,2788,2775,2588,2684,2288,1878,2084,2302,2432,2545,2658,2353,2718,2461,2160,2235,2243,2340,2037,1630,1809,1848,1675,2184,2086,2124,2451,2214,1906,1747,1660,1901,1913,2273,2400,1968,1730,1676,1715,1748,1708,1985,2290,1946,2277,2245,2046,2205,2120,1923,1920,1649,1491,2175,2076,1881,3164,2902,1821,1811,1925,1946,1937,2435,2935,2741,2415,2309,1882,2097,2287,2648,2489,2303,2080,1566,1610,1682,1742,2176,2877,2055,2084,2011,2114,2272,2031,2162,2466,2808,3027,3118,2778,2410,2327,2685,3283,3168,2603,2680,2743,2945,2149,1515,1473,1347,1359,1295,1318,1353,1333,1817,2250,1713,1743,1887,2244,2110,1562,1365,1930,2502,2139,1641,1663,1505,1667,1806,2003,1952,1610,1604,1648,1584,1625,1948,2376,2271,2375,2766,2596,2267,2063,2371,2643,2130,1811,1817,2294,2712,2088,1786,1594,1447,1512,2721,3323,2717,2432,2478,2460,2834,2658,1854,2028,2734,2156,2303,2266,2062,2093,1918,1861,2040,1876,1888,2018,1812,1723,1886,2596,1982,1976,2775,2647,2906,3596,3841,3594,3239,2417,1547,1951,2742,2718,1804,1767,2167,1891,1685,1780,1678,1870,2077,2157,2056,1569,1489,1786,1857,1816,1965,2036,2094,1886,1826,1871,1949,1738,1554,1352,1371,1610,1558,1386,1342,1427,1456,1722,1907,2009,1823,1514,1487,1687,2044,2268,2470,2027,1729,1459,1318,1305,1332,1326,1393,1521,1772,2282,2033,1899,1601,1501,1419,1416,1441,1562,1630,2162,2597,2204,1720,1863,2156,2476,2524,2331,2230,2167,2464,2375,1956,2176,2128,2211,3278,3094,2436,2337,1913,1919,2066,1870,2326,1924,1825,2385,2491,2115,1896,1656,1677,1810,2182,2302,2158,1929,2337,2104,1702,1745,2170,2684,2709,2300,2145,1664,2454,3662,3149,3146,2765,2407,2210,1869,1562,1592,1875,1737,1824,2337,2493,3062,2281,1995,2878,3401,3273,3457,3575,3050,2489,2364,2562,2559,2458,2172,1838,2392,3208,3090,2414,2113,2280,2304,1879,2152,2002,1750,2513,2842,3195,3316,3062,2656,2777,2906,2967,3206,3528,3196,2619,2556,2176,2750,2792,2299,2753,3218,2638,2326,2801,2911,2554,2350,2642,3272,3182,2751,2500,2372,2755,3020,3031,3036,2686,2242,1989,1802,2189,2144,2105,2720,2093,1620,2114,1538,1273,1667,1678,1954,2438,2200,2043,1584,1696,2225,2113,1865,1703,2080,2670,3075,3093,2721,2098,1972,1973,2050,2355,2096,1733,1705,2011,1710,1862,2070,1542,1632,2077,2747,2317,2955,3183,3050,3062,2907,2638,2402,2257,2227,2286,2373,2450,2390,2047,2002,2111,1850,2214,2923,3553,3837,3646,3196,2851,2780,2339,2257,2356,1854,1560,2023,1909,1720,2230,2449,2039,1937,2214,2310,2389,2100,1913,1797,2199,1825,1604,2306,2443,2447,2297,2225,2294,2141,2265,2232,1972,2040,1958,2042,2049,1950,2003,1850,1769,1869,2051,1949,1710,1677,1592,1802,2072,1893,1556,1635,1888,2377,2552,2311,1945,2147,2307,2224,2619,2773,2597,2668,3174,3010,3011,2502,2241,2294,2231,2697,2933,2753,2790,2770,2091,2262,2058,1869,1853,2123,2276,2236,2096,2419,2722,2652,2785,2890,2379,2293,2495,2099,1852,1696,2044,2408,2455,2708,3120,3128,2443,2442,2674,2104,1724,1990,2154,2392,2178,1755,2061,2194,2633,3300,2610,2331,2066,1020,1093,1359,2432,2814,1898,1572,1841,2155,2144,2437,2466,2445,2474,1631,2042,2215,2656,3196,3561,3125,2468,2400,2346,2312,3229,3448,2384,1477,2036,1977,2418,2404,1988,1967,1863,2005,2006,2078,2308,2342,2415,2094,1905,1786,1871,2152,2124,1708,1384,1886,2568,2140,1966,2043,2331,2435,1854,1283,1776,2153,1853,2114,1897,1566,1888,2082,1709,1674,1712,1238,1295,2038,2178,1395,1354,1701,1770,1492,1181,1134,915,1421,1824,2149,2155,2010,1887,1532,1477,1570,1840,2029,1354,650,621,926,1323,1434,1306,1362,1711,1358,1139,1177,1142,1321,1357,1395,1511,1678,1431,1283,1331,1100,1158,1250,1437,1424,1699,2164,1857,1212,1283,1618,1354,1400,2367,2532,2156,2909,3098,2207,2059,1844,1653,1772,1788,2092,2399,1719,1925,2013,2177,3563,3459,2444,2093,1845,1996,2115,1556,1467,1408,1438,1378,1427,1394,1351,1775,1946,1816,1664,2293,2891,2220,1897,1561,1852,2523,2927,3385,3595,3648,3366,3194,3328,3214,3094,2754,2454,1998,1710,1687,1452,1336,1290,1284,1348,1396,1348,1301,1366,1459,1357,1277,1366,1483,1483,1544,1640,2090,2413,2059,1925,2370,2316,2124,2379,2454,2261,2297,1966,1753,2077,1922,1653,1947,2442,2783,2176,2105,2654,2263,1766,1758,1654,1426,1312,1409,1447,1378,1447,1557,1707,1899,1810,1500,1472,1511,1513,1348,1322,1362,1423,1536,1580,1716,1598,1354,1471,1706,1386,1389,1820,2043,1733,1743,1622,1382,1380,1356,1396,1510,1568,1553,1571,1484,1457,1461,1817,1674,1399,1713,1848,1685,1545,1341,1375,1319,1275,1251,1234,1204,1158,1125,1315,1422,1407,1304,1192,1261,1294,1179,1170,1306,1603,1467,1337,1428,1584,1551,1416,1688,1559,1271,1441,1514,1460,1657,1476,1603,1827,1819,1711,1631,1627,1551,1525,1546,1463,1552,1431,1319,1482,1616,1579,1422,1435,1628,1542,1487,1649,1600,1765,1659,1506,1497,1442,1707,2179,2120,1654,1482,2210,2374,1922,1877,1554,1859,1665,2094,2050,1918,1985,1843,2053,2148,2109,2317,2173,2462,2161,2172,2282,2168,2648,2627,2466,2387,2332,2419,2301,1790,1616,1740,1715,1528,1565,1738,1629,1691,1525,1278,1500,1765,1681,1737,1908,2072,1777,1934,1711,1813,1952,2028,2403,2968,2863,2320,2187,1878,1526,1553,1500,1888,2202,2411,1969,2071,2264,1995,1988,1887,1714,1655,1743,1953,2128,1890,1989,2295,1891,1463,1683,2062,1870,1671,2010,2433,1827,1743,1684,1673,1548,1450,1852,1743,1788,2470,2552,2124,2045,2204,2429,2179,1756,1855,2167,2234,1822,1764,1772,1642,1830,1907,2351,2543,2264,1851,1758,1610,1704,1986,1835,1697,1670,1516,1785,2328,2227,2209,1839,1428,2107,2355,2118,2652,2871,2833,2619,2064,1598,1889,2164,2003,1604,1478,1250,1410,1519,1469,1651,1900,1880,1764,2003,2387,2572,2555,2484,2666,2696,2348,2368,2374,2172,2215,2207,2214,2599,2655,2295,2303,2293,2671,2155,2114,2360,2318,2539,2734,2549,2429,2498,2718,2765,3009,3263,3029,2296,1901,2002,2148,2226,1882,1697,1703,1652,1604,1774,1652,1492,1375,1473,1682,1690,1663,1665,1642,1802,1977,1837,1606,1404,1628,2354,2212,1699,2067,1842,1401,1609,1938,1865,1810,2126,2138,2480,2283,2070,2728,3105,3096,2787,2344,1783,1487,1584,1909,2048,1686,1845,1823,1951,2059,2421,2502,2470,2426,2235,1995,2076,1891,1762,2227,2305,1886,1859,1819,1931,2337,2600,2408,2090,2031,1755,1555,1480,1544,1589,1772,1640,1822,2329,2243,1910,1675,1722,1582,1760,1797,1605,1830,2305,2363,2067,1771,1855,1799,1722,1830,2316,2902,2972,3115,3265,2625,2210,2188,1908,2511,3041,2775,2775,3206,2785,1947,1897,2436,2392,1749,1960,2206,2364,1793,1685,1800,2162,2446,1836,1861,2167,1887,1966,2153,1697,1836,2077,2271,2162,2191,2068,1887,1880,1699,1807,2110,1886,1879,2167,1984,1594,1560,1874,1718,1664,1616,1562,1503,1560,1700,1594,1539,1708,1988,1597,1510,1578,2305,2280,1963,1737,1648,1732,1692,1524,1671,1613,1575,1556,1549,1535,1439,1394,1404,1592,1626,1790,2201,1930,1476,1540,1710,1839,2053,1748,1853,2062,2437,3027,3002,2360,2519,2789,2945,2917,2033,2187,2598,2697,2247,2226,2734,3173,3361,3341,3325,3340,3029,2586,2317,1792,2017,2596,2699,2908,2584,2386,2792,3034,2520,1934,1829,2136,2519,2054],[2242,2488,2894,2901,3150,2729,2094,1879,1788,2177,2519,2456,2939,2597,2305,2142,2057,1985,2184,2536,2296,2072,2300,2229,1871,2753,3250,3444,3559,3363,3012,2876,2190,2183,2624,2662,3110,3555,3342,2347,2403,2719,3154,3318,3308,3462,3271,2830,3152,3707,2865,2114,1913,1895,1804,1757,1661,1753,1835,2122,2779,2978,3054,2302,1969,2733,3378,3194,2919,3544,3088,2568,2560,2612,2641,2474,2566,3053,3184,2987,2488,2357,2511,2750,2668,2986,3436,2212,1628,1917,2115,2624,2781,2336,2031,1947,1957,2057,2033,1807,2802,3452,3643,3725,3414,3308,3302,2864,2913,2701,2337,2707,3426,3593,3139,2990,2574,2391,2656,2587,2737,2689,2511,2273,2062,1770,1618,1493,1435,1838,1917,1727,2203,2658,2840,2780,2375,2525,2349,2271,2341,2048,1838,1777,1701,1719,1775,1788,1959,1904,1754,1868,2053,2046,1606,1752,1947,2935,3287,3107,2451,2024,2354,2652,2837,2912,2403,1957,1597,1647,2032,1918,2293,2150,2646,3500,3274,2320,1880,1815,2392,3342,2901,2771,2625,2182,2387,2367,2601,2679,2720,2769,2607,2241,2423,2436,2664,2610,2224,2818,3066,2941,2753,2691,3089,3056,2998,2842,2287,2326,2667,2552,2626,2598,3588,3452,2976,3041,3393,3677,3041,2787,3106,2162,2790,2697,2765,2842,2971,2932,2966,3423,3442,3015,3156,3437,3545,3869,4147,3493,2219,1972,1708,1874,2397,2863,2764,2867,2757,2510,3145,2923,2689,2101,2218,2916,2818,3241,2944,2302,2291,2408,2585,2690,2185,1869,2415,2629,2456,2929,2562,2075,2287,2178,1992,2251,2157,2021,1965,1621,1614,1866,2210,2069,1646,1390,1486,1756,1749,1847,1738,1555,2040,2092,2090,2641,2985,1854,1563,1730,1565,1395,1342,1476,1721,1952,1803,1605,1811,1832,1959,1765,1824,2422,2301,2302,2392,1823,1563,1665,2106,2024,1802,1795,2060,2194,2256,2586,2596,2647,2590,2454,2238,2227,2700,2947,2296,2067,2811,2656,2472,2277,2091,2476,2927,2771,2647,2622,2054,2549,3472,3189,2580,2339,2374,2344,2018,1801,1898,2015,1902,1421,1750,2070,2459,2583,2358,2107,1864,1987,2635,3023,2632,2237,2062,2040,1946,1827,1973,2140,2603,2835,2698,2176,2163,1948,2170,2494,1918,1343,1534,1483,1719,1887,2492,2945,2475,1728,1659,1632,1801,1998,1787,1677,1847,1658,1533,1572,1496,1585,1722,2225,2332,1930,1920,1736,1825,1850,1996,1996,1836,1381,1282,2259,2423,2429,2833,2297,1875,1808,1808,1910,1880,2590,3430,2820,1837,1942,1714,1891,2409,2836,2636,2606,2122,1382,1562,2062,2072,2092,2924,1873,1869,2059,2570,2403,1969,2166,2431,2522,2613,2853,2648,2565,2699,3071,3390,3239,2835,2553,2245,2174,1911,1422,1302,1416,1545,1431,1431,1407,1393,1768,1713,1738,1725,2004,2513,2217,1577,1433,1804,2483,2188,1602,1644,1695,1745,1833,1946,1664,1367,1340,1560,1931,1816,1707,2426,2475,2320,2412,1967,2277,2260,1991,1854,1713,1521,1632,1931,2287,1677,1490,1528,1722,1534,2362,2862,2469,2465,2410,2605,3167,2661,1934,2321,2940,2788,2329,1793,1860,1945,1763,1613,1518,1539,1870,2114,2196,1858,1588,1703,1323,1448,2410,2522,2573,3493,3831,3341,3436,2796,2040,2298,2614,2569,2403,2333,2693,2233,1567,1728,2107,2590,2672,2393,1787,1594,1634,2173,1971,1687,1560,1649,1715,1648,1687,1670,1952,1741,1665,1387,1342,1432,1477,1367,1293,1431,1462,1473,1762,2193,1842,1697,1823,2172,2481,2239,2041,1927,1772,1470,1379,1404,1394,1439,1489,1554,1428,1924,2331,2115,1707,1282,1365,1901,1981,1992,2053,2035,2098,2172,1858,1776,1915,2121,1862,1821,1843,2242,3226,3616,3655,3250,2446,2104,3187,3075,1893,1678,1620,1516,1615,1906,2000,2369,2467,2407,2944,2990,2669,1773,1617,1787,1843,2251,2085,2019,2132,1819,1687,1869,2310,2976,3073,2394,1945,1541,1663,2172,2526,2388,1703,1521,1885,2056,1614,1445,1597,1583,1776,1881,2028,2477,2121,1971,2785,3312,3391,3795,4002,2857,2343,2196,2410,2093,2199,1979,1901,2624,3134,2774,2369,2272,1980,1946,2142,2197,1825,1591,2071,2203,2491,3216,3284,2987,3234,3230,3064,3021,3525,3294,2854,2813,2340,2836,2947,1970,2009,2793,2931,2475,2756,2841,3088,2382,2440,2881,3150,2955,2341,2186,2632,3064,3244,2878,2380,2048,2312,1827,1868,1911,2050,2542,2019,1980,2514,2219,1954,1988,1842,2131,2664,2302,2056,1564,1877,1960,1766,1581,1195,1424,2253,2735,3055,3279,2706,2460,2222,1973,2208,2089,1947,2427,2611,2003,2535,2661,1870,1778,1990,2386,1767,2484,3660,3542,3598,3746,3726,3414,3001,2957,3125,2945,2470,2177,2319,2695,2493,2286,2545,3248,4108,4389,4478,4145,3372,2991,2276,2415,2062,1814,1787,1527,1819,2089,2331,2590,2232,2077,2040,2155,2232,2087,1786,1926,1718,1736,2388,2393,2303,2428,2284,2458,2509,2563,2567,1832,1821,2159,2276,2125,1979,1930,1819,1668,1769,1913,1885,1773,1299,1595,2197,2393,1975,1605,2058,2827,2958,2820,2502,2685,2627,2360,2377,2420,2168,2024,1836,2714,3308,3059,2922,2803,2828,2495,2535,3083,2993,2566,2619,2094,1871,2257,2095,1826,1922,2128,2197,2281,2357,2471,2349,2420,2590,2684,2213,2261,2313,2359,2578,2260,2122,2584,2233,2391,3064,3508,3549,3371,2888,2830,2672,2339,2276,2454,2330,1930,2346,2245,2418,2642,2435,2261,1677,1180,1151,1614,2778,2327,1787,2377,2511,2642,2279,2446,2404,1964,2386,2045,2276,2596,2867,3022,2473,2270,2787,2299,2172,2084,2375,2373,1816,1742,2026,2363,3001,3041,2685,2324,2184,2307,2094,2332,2109,2115,2255,2112,1634,1730,2230,2449,2519,1981,1548,2234,2825,2048,2480,2513,2294,2233,1827,1613,2044,1896,2156,2950,3073,2930,2505,2202,1814,1654,1730,1143,1497,1816,1482,1362,1415,1739,1773,1352,1466,1512,1483,1392,1472,1620,1704,1618,1480,1179,988,1277,1787,1906,1422,697,609,840,1255,1487,1204,1120,1497,1283,1090,1341,1428,1581,1490,1510,1630,1470,1193,1339,1481,1404,1580,1744,1454,1418,1620,1681,1516,1197,1616,1699,1282,1651,2287,2559,2411,2807,2595,1961,2034,1911,1603,1528,1460,1793,2330,1792,1836,2052,2093,3209,3607,2568,2215,1874,1904,2200,1448,1400,1427,1451,1237,1201,1250,1534,2028,2014,1837,1757,1901,2101,1959,1692,1504,2259,2957,3264,3457,3415,3285,3204,3315,3298,3076,3384,3178,3024,2962,2376,1749,1439,1450,1426,1360,1365,1384,1301,1238,1296,1317,1340,1423,1548,1560,1449,1425,1494,1744,2076,2220,2145,2105,2154,2147,2085,2220,2341,2174,2085,2088,2322,2068,1832,2319,2872,3176,2086,1682,1926,1855,1873,1830,1654,1481,1460,1507,1463,1418,1483,1511,1602,1529,1732,1512,1377,1430,1487,1467,1525,1584,1574,1449,1346,1526,1454,1451,1433,1631,1548,1427,1637,1634,1575,1605,1759,1677,1463,1565,1928,1773,1662,1714,1715,1773,1637,1522,1788,1654,1513,1484,1556,1706,1648,1326,1377,1282,1310,1273,1228,1166,1182,1333,1371,1229,1225,1188,1248,1337,1291,1148,1147,1241,1466,1526,1356,1264,1445,1644,2011,2313,1482,1421,1404,1497,1443,1429,1437,1533,1587,1446,1488,1569,1403,1613,1722,1549,1427,1429,1433,1449,1401,1465,1621,1498,1502,1694,1376,1266,1599,1655,1698,1506,1491,1670,1596,1566,1753,1613,1321,1650,2065,1855,2194,2093,1617,1743,1747,2081,2054,1757,1657,1519,1643,1975,2134,2037,2085,2252,2866,3633,3589,3466,3445,3467,3115,2367,2162,2231,2045,1775,1742,1954,1850,1466,1630,1835,1624,1614,1562,1429,1956,2322,1912,1543,1805,1744,1724,1687,1553,1873,1916,2185,3040,3457,3238,2608,2088,2050,2087,2055,1888,2147,2158,1946,1672,1952,2333,2448,2533,2146,1875,1581,1674,1847,1891,1988,2192,2047,1769,1566,1818,2454,2426,2114,1724,1723,1573,1996,2023,1707,1400,1462,1722,1936,1873,2158,1943,1790,1909,2249,2170,1825,1853,1637,1781,1852,1866,1953,1603,1486,1663,1795,2483,2818,2608,2423,1971,1729,2049,2051,1772,2104,2199,1785,2269,2700,2668,2236,1889,1454,2463,2475,2114,2181,2483,2979,2460,1784,1483,1639,1831,1808,1699,1304,1036,1170,1428,1506,1509,1562,1424,1657,2068,2226,2374,2368,2083,2279,2368,2549,2526,2525,2621,2520,2186,2399,2836,2284,1983,2104,2407,2568,2050,1667,2070,2077,1985,2260,2243,2061,2039,2523,2845,3120,3221,3233,3024,2441,1977,1882,1724,1525,1523,1540,1554,1591,1595,1537,1551,1638,1628,1589,1548,1606,1784,2000,2114,2020,1830,1635,1517,1676,2432,2163,1794,1897,1649,1655,1898,2195,2010,1883,2127,2540,2547,2046,1896,2432,2994,3012,2783,2475,1814,1717,2024,1876,1717,1801,1731,1969,2194,2008,2357,2418,2073,1853,1794,1694,1602,1596,1723,1711,1688,1873,1796,1918,2048,2432,2489,2320,2248,1930,1845,1757,1520,1481,1671,1863,1626,1773,2000,2037,1781,1625,1664,1638,1649,1748,1655,1636,2643,2997,2210,1664,1850,1858,1652,1551,1775,2357,2626,3053,2728,2286,2595,2222,1863,2249,2032,1967,2460,2570,2092,1773,1977,2633,2439,1786,1742,1968,2178,1792,1876,1872,2020,2119,1942,2016,2040,1788,1789,1868,1592,1687,1708,1742,2010,2700,2911,2440,1844,1947,2310,2334,1951,1786,2258,1823,1514,1604,1883,1690,1348,1383,1474,1503,1696,1707,1694,1882,1723,1714,1846,2019,1836,1793,1660,1578,1617,1620,1806,1896,1657,1529,1519,1582,1579,1467,1456,1386,1337,1477,1814,1636,1387,1405,1401,1409,2017,2062,1931,1987,1675,1608,2463,3310,3508,3190,2706,2938,2222,1963,2109,2040,2155,2477,3025,2843,2335,2718,3409,3767,3710,3566,3667,3619,2852,2228,2013,2222,2895,2987,2709,2636,2451,2347,2228,2382,2268,2075,2238,2548,2444],[2800,3118,3327,3092,3250,2769,2062,2172,1828,1929,2046,2569,2924,2531,2260,2400,2714,2573,3042,3150,2690,1979,2249,1859,1786,2801,3250,2918,2774,2636,2288,2865,2918,2886,2789,2665,3174,3285,3156,2787,2449,2794,3339,3472,3272,3221,2734,2492,2820,2972,3054,2346,1902,1965,1956,1917,1773,1719,1714,2050,2974,3298,3216,2601,2375,3028,3571,3463,3495,3445,3006,2754,2167,2553,2244,2431,2352,2770,3179,3135,2545,2458,2933,3042,2643,3203,3276,2439,1883,1419,1644,2452,2561,2324,1869,1692,1714,1871,1814,2307,3292,3492,3581,3601,3337,3129,3088,2533,2956,2502,2390,2667,3203,2870,2880,2823,2016,2207,2733,2412,2365,1861,1730,1822,1607,1313,1202,1259,1503,1678,1682,1698,2184,3005,3163,2614,2054,2166,2077,2070,1929,2028,2229,1989,1692,1835,2012,1730,1880,2032,1498,1622,2006,1993,1848,2210,2542,3097,3393,3382,2888,2565,2928,2470,2237,2331,2196,1942,1669,1908,1880,1851,2100,2568,3186,3273,2711,2142,1676,1661,2614,3138,2645,2867,2632,2299,2398,2885,3054,2596,2786,2755,2736,2730,3406,3186,3046,2733,2560,3200,3376,2985,2578,2614,3206,3498,3394,2835,2554,2663,2745,2765,2965,3123,3349,3009,2708,3074,3234,3361,3052,2901,2841,2676,3197,2983,2724,2491,2699,2888,2741,2998,3209,2977,3166,3744,3518,3731,4083,3280,3028,2855,2164,1980,2645,3515,3142,2717,2587,2774,2962,2789,2825,2162,2627,3196,2676,2280,2290,2311,2542,2950,2839,2184,2461,2637,2611,2972,3087,2409,1860,1866,1805,1797,1880,1877,1806,1797,1876,1554,1507,2098,2432,1928,1701,1686,1530,1581,1708,2304,1951,1875,2235,2689,3084,2679,2244,1664,1434,1525,1559,1463,1428,1483,1660,2054,2067,1862,1740,1879,2034,1857,2054,2458,2235,2196,2958,2448,1616,1487,1711,1757,1721,1827,2031,2014,2072,2349,2477,2458,2288,2335,2169,2719,2816,2604,1896,2353,3371,3182,3018,3178,2564,2574,3062,2652,2399,2499,2096,2626,3104,2499,2300,2765,2979,2923,2113,1736,2371,2448,2272,2230,2456,2402,3042,2938,2654,2494,2229,1801,1835,2400,2384,1791,2037,1929,1976,2243,2866,2588,2312,2634,2502,2647,2366,1871,1888,2160,2210,1570,1592,1621,1902,1987,2642,3002,2221,1763,1825,1601,1574,1709,1717,1731,1800,1749,2331,2002,1511,1573,1600,2098,2338,1776,1848,2321,2501,1922,1672,1813,1923,1536,1681,2167,2340,2576,2708,2498,2147,2042,1878,2121,2615,2653,3088,2466,1878,1832,1845,2305,2723,2482,2294,2199,1508,1199,1688,2936,2236,2088,2375,1653,1472,1646,1831,1663,1162,1159,1748,2559,3066,3118,3491,3595,3347,3156,2907,2858,2793,2445,2240,2004,2064,2051,1680,1644,1732,1675,1708,1657,1510,1546,1664,1833,1892,1979,2118,2036,1571,1415,1602,2117,2222,1860,1716,1494,1505,1675,1669,1534,1352,1459,1754,2081,1720,1738,2494,2270,2120,2054,1996,2322,2310,1814,1639,1589,1701,1882,2437,2180,1558,1372,1878,2075,1882,2350,2687,2530,2544,2204,2392,3032,3051,2686,3040,2944,2735,2211,1870,1929,1986,1937,1693,1558,1564,1632,2280,2540,2079,1667,1578,1620,1530,2004,2246,2402,3339,3523,2665,2477,2648,2431,2277,2404,2803,3107,3161,2941,2266,1837,1821,1949,2604,2415,2258,2206,2502,2147,2062,1999,1656,1381,1564,1627,1450,1455,1496,1745,1650,1650,1522,1424,1576,1659,1417,1610,1742,1336,1505,1672,1604,1528,2110,2252,2447,2341,1860,1548,1638,1732,1571,1392,1315,1471,1652,1794,1837,1853,2273,2495,2110,1914,1704,2055,2909,3006,2592,2328,1642,1658,2119,2005,1787,1754,2080,1943,1904,2132,2774,3692,4074,4161,3422,2866,2092,2082,2326,1782,1526,1600,1453,1905,2375,2228,2844,2976,2513,2568,2244,2199,1826,1632,1774,1929,2005,1771,1556,1680,1740,1939,2270,2621,2448,2176,1972,1571,1491,1426,1582,1931,1646,1317,1628,2156,2050,1858,1629,1553,1626,1767,1750,1914,2195,2216,2391,3095,3241,3361,3598,3846,2844,2395,2221,2303,2080,2080,2104,1981,2453,2997,2866,2637,2342,1891,2006,1933,2091,2136,1876,1791,1927,2119,2714,3121,3112,2607,2608,2688,2428,2591,2770,2922,2625,2171,2670,2663,1861,2256,2444,2514,1965,2294,2872,3211,2260,2071,2433,3117,3586,3105,2669,2709,2866,3144,3050,2773,2492,2819,2334,1803,1777,2267,2449,2136,2247,2907,2477,2210,1693,1398,1781,1425,1738,2029,1638,1872,1969,2015,2336,2009,1648,2174,2608,2563,2351,2819,2845,2216,2452,2806,2796,3001,3175,2540,1899,2287,2241,2015,1922,1946,1788,1420,1611,2508,3182,3553,3823,4134,4351,4315,4082,3859,3444,2625,2265,2834,3442,3260,3176,3122,3494,4224,4280,4051,3882,3485,3475,2728,2525,2127,2094,2236,1815,1668,1836,2541,3022,2381,2105,2097,2468,2385,2446,2137,2034,1639,2044,2864,2590,1980,1742,2004,2578,2421,2452,2364,1934,2219,2500,2446,2252,2097,1907,1891,1492,1587,1614,1654,1810,1844,2286,2880,2188,1674,1678,2728,3623,3067,2675,2336,2615,2707,2424,2873,2511,2046,2388,2131,2261,2695,2932,3124,3474,2925,2172,2361,2642,1957,1870,2520,2356,2220,2038,1433,1289,1376,1306,1772,2633,2830,2500,2840,3205,2846,2653,2734,2504,2210,2152,2201,2070,1758,2154,2735,2832,2919,3472,3850,3341,2551,2608,2330,2043,2459,2846,2012,1649,2432,1948,2163,2180,2121,1673,1126,1295,1450,2128,2729,1482,1477,2251,2327,2188,2192,2322,2119,1575,1721,2045,2397,2934,2918,2728,1757,1923,2652,2624,1918,1510,1791,2072,1936,1788,1694,1820,1860,2188,2298,2302,1630,1529,1861,2458,2071,1885,2164,1912,1708,2521,2763,2410,2739,2421,1818,1718,2049,1836,2266,2313,2170,2178,1905,1728,2048,1832,2338,2540,3031,3394,2438,2026,2070,1795,1475,1208,1614,1656,1642,1784,1785,1725,1657,1292,1396,1422,1371,1316,1227,1363,1516,1516,1665,1584,899,1151,1678,1682,1637,940,631,789,1219,1644,1425,1271,1479,1314,1454,1975,2041,1789,1565,1738,1887,1404,1224,1498,1601,1460,1375,1516,1354,1606,1707,1531,1376,1333,1629,1615,1641,1883,2346,2494,2561,2504,2241,2041,1989,1952,1593,1463,1312,1595,2331,2026,1749,2056,2078,2996,3709,2524,2183,1943,1930,2222,1577,1193,1246,1342,1370,1681,2030,2244,2219,2018,1886,1898,1761,1756,1638,1523,2018,2958,3304,3416,3306,3233,2967,2922,3171,3215,3181,3472,3360,3130,3111,2975,2285,1531,1389,1363,1361,1377,1334,1297,1274,1325,1261,1321,1400,1453,1370,1400,1488,1481,1540,1773,2112,2332,2294,2199,1708,1720,2048,1930,1784,1812,2040,2266,1696,1399,2067,2520,2425,1892,1715,1659,1942,1973,1830,2128,2172,1985,1919,1654,1442,1451,1390,1411,1414,1703,1499,1594,1854,1675,1534,1632,1626,1449,1330,1384,1436,1417,1373,1310,1476,1494,1386,1345,1350,1404,1532,1764,1782,1501,1708,1877,2009,1993,1809,1644,1552,1582,1569,1449,1343,1485,1525,1636,1687,1392,1209,1328,1456,1437,1390,1238,1080,1137,1227,1294,1316,1220,1237,1250,1270,1289,1227,1268,1282,1590,1804,1363,1369,1388,1481,1929,1743,1352,1293,1292,1390,1394,1369,1314,1378,1616,1592,1435,1484,1406,1646,1500,1459,1384,1449,1620,1885,1934,1744,1610,1602,1592,1727,1694,1550,1543,1622,1631,1563,1572,1665,1564,1563,1608,1681,1766,2067,2180,1813,1866,2177,1898,1733,2068,2366,2040,1753,1782,1387,1512,2076,2302,2318,2144,1993,3464,4377,4404,4057,3298,3717,3299,2011,1963,2573,2743,2175,1844,1857,1584,1620,2436,2930,2237,1693,1640,1843,1900,1865,1753,1521,1406,1281,1652,1744,1776,2183,1946,1995,2610,2976,2430,2308,1912,1827,2210,2192,2050,2201,2238,2170,2018,1953,2136,2215,2094,2143,1909,1643,1664,1761,1716,2052,2212,1808,1824,1810,1626,1944,2164,2368,2074,1773,1692,1958,2069,1788,1426,1641,1845,2574,2364,1997,2066,2399,2612,2236,1908,1808,1735,1523,1479,1608,2562,2359,2024,1707,1641,1707,1914,2275,2435,2493,2201,2259,2498,1918,1692,2226,2248,2077,2291,2134,2162,2015,1654,1533,1910,1930,1787,1539,1671,2138,2031,1508,1482,1694,1767,1909,1770,1465,1276,1227,1394,1481,1621,1700,1612,1807,2078,2031,2047,2226,2287,2457,2645,2764,2654,2510,2729,2817,2603,3006,2540,1716,1698,1922,2188,2318,2242,1901,2099,2204,2058,2046,2177,1876,2127,2733,3001,3141,3221,3140,3254,3153,2524,1968,1732,1426,1574,1972,2032,1742,1594,1792,1782,1692,1730,1727,1582,1683,1750,2040,2219,1753,1765,1758,1614,1578,1650,1711,1898,1736,1532,1828,1913,2024,1433,1647,2332,2818,2334,1806,1868,2424,2854,3038,2661,2087,1704,1555,1592,1788,1813,1891,1768,1782,1983,1951,1994,2151,1933,1775,1944,1666,1680,1845,1686,1561,1733,1902,1830,1749,2097,2604,2600,2495,2361,2010,1831,1776,1620,1639,2123,2132,1929,1930,1804,1851,1794,1671,1858,2082,1560,1693,1620,1505,2091,2614,2210,1800,1855,1939,1821,1712,1941,2453,2496,2470,2018,1858,2155,2281,1903,1593,1544,1477,1592,1789,1600,1469,2030,2228,1737,1482,1688,1947,1978,2097,2272,2077,1758,1707,2121,2174,1962,1715,1745,1722,1913,1853,1644,1816,2579,3198,3244,2706,1728,2100,2541,2467,2468,2665,2492,2118,1792,1753,1858,1650,1477,1541,1632,1621,1650,1541,1656,1773,1669,1750,2155,2164,1816,1565,1435,1507,1590,1542,1505,1686,1571,1343,1367,1469,1570,1578,1588,1553,1366,1461,1750,1530,1376,1410,1502,1415,1488,1528,1613,1750,1852,1777,2238,2901,3159,3440,2556,2541,1860,1764,2104,2346,2243,2547,3292,3222,2692,2911,3186,3520,3082,3172,3701,4015,3776,3664,2883,2625,3082,2541,2278,2451,2125,2236,1979,2095,2144,2380,2648,2735,2645],[2447,3127,3472,3206,3164,2573,2354,2261,1830,2148,2433,2686,2675,2353,2222,2856,3540,3660,3428,3281,2844,1813,1937,2336,2438,2504,2482,1999,2383,2787,2852,3272,3178,2868,2434,2307,2863,3209,3407,3034,2288,2648,3226,3661,3672,3155,2898,2917,2670,2932,3416,2578,1854,1953,2096,1977,1770,1755,1872,2374,2967,3216,3199,3140,3011,3217,3433,3640,3819,3279,2737,2920,2568,2224,2096,2427,1988,2136,2958,3298,2525,2460,2787,2902,2920,2667,2360,2468,2334,1747,1914,2323,2318,2013,1628,1486,1605,1606,1755,2911,3511,3221,3184,3215,2965,2479,2138,1881,2539,2132,2131,2459,2446,2386,2526,2241,1793,1954,2034,1735,1666,1518,1621,1824,1605,1305,1493,1873,1843,1631,1555,1729,2545,3256,3056,2370,2102,2185,2456,2731,3120,3449,3183,2693,2271,1958,2204,1723,1913,2155,1741,1886,2126,1979,1833,2353,3373,3751,3402,3019,3086,2963,3078,2141,2038,2400,2026,1835,2081,2104,1820,2198,3438,3784,3366,3225,2685,2699,2518,2711,3284,3398,3024,2633,2368,2487,2517,2632,2711,2193,2276,2585,2611,3131,3684,3444,3072,2893,3256,3552,3320,2857,2932,3185,3276,2926,2647,2735,2568,2499,2813,3103,3080,3297,3286,2715,2695,3357,3245,3539,3046,2828,3085,3352,3448,3195,2647,2565,2757,2727,2642,2463,2449,2680,3217,3697,4004,3935,3705,3458,3497,2934,2029,1995,2481,3219,3245,2555,2531,2974,2933,2916,2836,2425,2059,1957,1940,1647,1693,2405,2947,3267,2540,1746,1808,2115,2322,2532,2636,2099,1983,2017,1837,1689,1832,1600,1517,1291,1449,1625,1774,1961,1870,1916,2030,1811,1637,1730,1700,2304,1932,2216,2182,2686,3220,2498,1792,1547,1571,2237,2575,1873,1831,1475,1466,1860,2115,2542,2396,2213,2108,1836,2003,2175,2024,2430,3166,2451,1729,1621,1754,1946,1939,2039,2473,2492,1876,1967,2175,2571,2243,1837,1892,2709,2811,2286,2102,2377,2778,3118,3596,3750,3461,3409,2999,2707,2444,2155,2425,2603,2608,2273,2122,2611,2905,3147,2417,2681,2875,2480,2241,1998,2127,2417,2909,3284,2958,2469,2382,2544,2246,1768,2235,2141,2076,1819,1793,2017,2602,2374,2341,2535,2002,2150,2024,1723,1848,1912,1694,1734,1575,1490,1791,2160,2278,1895,1645,1639,1652,1531,1537,1771,1920,1926,1799,1711,1953,1930,1693,1622,1575,1995,1967,1588,1738,2019,2243,2257,1765,1560,1555,1627,2356,2590,2138,1992,2874,2903,2133,2179,2007,2200,2304,2618,2723,2451,2314,2089,2098,2670,2732,2380,2281,2310,1607,1441,1626,2192,1941,2059,2345,1879,1616,1866,2121,2140,1527,1321,1475,1871,2595,3427,4145,4133,3386,3053,2980,2741,2798,2753,2213,1839,2029,1956,1733,1603,1580,1663,1947,2018,1707,1719,2072,2154,2150,2058,1944,1913,1654,1646,1954,2023,2029,2140,1855,1440,1458,1634,1876,1878,1471,1474,1777,2104,1726,1592,1918,1942,2137,2396,2372,2693,2642,1900,1605,1791,1993,1635,1614,1532,1418,1377,1748,2250,2678,2586,2696,2579,2654,2504,2403,2779,3145,3083,2945,2756,2691,2610,2138,1719,1753,1713,1757,1902,1894,1774,2240,2417,2293,2031,1758,1594,1409,1685,1763,1839,2612,2462,1846,1619,1585,2175,2621,2556,2851,2859,2741,2624,1821,1868,1948,1858,2013,2355,2537,2686,3009,2841,2126,2122,1947,1625,1682,1571,1482,1476,1437,1408,1394,1500,1562,1735,2021,1771,1471,1964,2123,1592,1616,1650,1549,1444,1934,2261,2072,1613,1450,1411,1525,1590,1660,1583,1770,1703,1945,2199,1986,1878,2050,2172,2092,1846,1862,2619,3474,3163,2398,2459,2055,2218,2399,2260,1920,1636,1916,1900,1536,1879,2608,3544,3698,3673,3233,3082,2642,1994,1826,1646,1590,1879,2176,2626,2912,2451,2446,2200,2137,1995,1634,1537,1465,1453,1760,2193,1980,1522,1445,1575,1741,1787,2111,2258,1835,1896,1906,1581,1356,1390,1838,1794,1594,1491,1663,2435,2313,2050,1972,1815,1555,1527,1730,1862,2004,2437,3280,3563,3350,3108,3166,3167,2565,2263,2158,2119,1969,1896,2246,2317,2099,2724,2901,2711,2307,1907,1786,2003,2259,2231,1804,1710,2339,2286,2489,2574,3106,2614,2250,2397,2639,2865,3025,2810,2183,2146,2355,2270,1843,2482,2105,2226,2068,2075,2729,2972,2637,2736,2699,3005,3480,3408,3045,2650,2533,2888,2866,2453,2289,2492,2396,2219,2451,2624,2473,2850,2773,3206,2386,2208,2106,2041,2221,1777,1816,2204,1821,1746,2377,2900,3067,2135,1751,2442,2526,2275,2574,3308,2896,2313,2522,2479,2486,2680,2677,2193,1698,2203,2325,1952,1629,1680,1986,2286,2111,2350,3147,3777,3945,4312,4592,4596,4488,4224,4075,3692,3342,3328,3453,3587,3560,3785,3861,3820,3903,3318,2964,3584,3646,3100,2852,2319,1952,2149,2152,2249,2589,2545,2990,2909,2136,1878,2267,2461,2135,2088,2092,1895,2210,2597,2091,1743,2238,2262,2894,3022,2857,2377,1975,1863,1991,2145,2342,2506,2140,1990,1876,1914,1618,1427,1637,1771,2036,2015,1885,2375,2530,3089,3288,3366,2416,2161,2267,1945,1602,2245,2400,2585,2542,2074,2099,2409,2922,3022,3362,2646,2272,2197,1967,1954,2037,1960,1979,2122,1716,1090,1035,1038,1090,1792,2627,2355,1638,2175,3087,2809,2531,2324,2065,2287,2149,1900,1807,1842,2172,2188,1826,2368,3362,3799,2915,2050,2097,2099,2208,2452,2710,1537,1481,2123,1952,1991,2091,1866,1071,828,1267,1733,1809,1780,1143,1139,1548,1515,1424,1560,1980,2172,1816,1732,1833,1851,2751,2610,2468,1951,2321,2655,2421,2274,2151,2088,2210,2031,1640,1228,1615,2304,1722,1470,2016,1532,1882,2777,2746,2160,2203,2525,1999,2285,3129,3239,2441,2885,2752,2286,2149,2091,2128,2111,2188,2155,2063,1995,2082,1766,1926,2732,3022,3172,2623,1924,1909,1859,1682,1538,1396,1808,1688,1872,1901,1853,1621,1406,1093,966,1103,1174,1323,1566,1651,1646,1353,1370,1354,750,1183,1543,1728,1782,1076,604,798,1237,1510,1175,1369,1522,1294,1501,1649,1592,1496,1459,1677,2029,1952,2003,2220,1678,946,902,1160,1525,1743,1620,1511,1273,1085,1071,1822,2436,2148,2042,2530,2758,2249,2077,2041,2052,2005,1584,1457,1422,1619,2506,2491,1813,2030,2008,2610,3550,2554,2338,2208,1858,2082,1709,1222,1627,1969,2194,2344,2208,2132,2072,2015,1950,2056,1781,1564,1577,1739,2720,3325,3528,3414,3127,2961,2749,2692,3061,3182,3242,3419,3329,3003,2790,2955,2872,2080,1464,1467,1455,1499,1552,1433,1317,1276,1257,1290,1368,1347,1394,1438,1605,1832,1641,1709,1815,1863,2500,2311,1839,2469,2555,2042,1912,2175,2632,2654,2266,1908,2249,2143,2098,2132,1949,1650,1790,2004,2049,2218,2099,2109,2111,1816,1532,1578,1487,1469,1433,1568,1719,1759,1644,1584,1637,1649,1562,1368,1289,1429,1366,1339,1317,1287,1358,1438,1610,1522,1453,1357,1596,1637,1683,1482,1478,1447,1742,2056,1854,1440,1277,1519,1478,1511,1470,1518,1467,1583,1518,1557,1626,1650,1632,1507,1484,1315,1165,1239,1278,1288,1291,1240,1232,1222,1256,1256,1240,1376,1367,1405,1513,1307,1431,1372,1322,1367,1292,1262,1310,1338,1360,1285,1205,1274,1344,1528,1563,1545,1937,1886,1654,1574,1436,1334,1487,2032,2685,2732,2001,1635,1793,1978,1716,1614,1483,1386,1502,1539,1526,1671,2019,1609,1605,1500,1917,2043,1771,2381,2447,1810,1862,1664,1413,1847,2386,1904,1624,2434,2552,2137,2123,1902,2133,1987,2131,3652,4399,4431,4483,3604,3302,2921,1821,1982,3429,3164,1943,2033,2085,1681,1733,2243,2362,1810,1484,1523,1930,1988,1824,1677,1264,791,776,1281,1850,1972,1979,1605,1782,1969,2349,2345,1798,1536,1555,1741,1741,1807,2092,2452,2798,2706,2058,1740,1570,1629,2196,2378,1904,1811,1942,1755,2071,2155,1556,1644,1790,1876,2067,2223,2382,2198,1568,1754,2200,1996,1625,1579,1770,2045,2430,2032,1872,2618,2798,2201,2249,2399,2008,1921,1789,1528,1782,2687,2053,2060,1816,1780,1858,1800,2003,2252,2519,2733,2765,2645,2285,1839,1880,2042,2330,2248,2030,1871,1735,1770,1705,1666,1897,1801,1629,1649,2013,1980,1678,1680,1912,1777,1730,1918,1874,1637,1614,1868,2036,2104,2077,2330,2320,2208,2158,2050,1991,2051,2193,2327,2276,2453,2900,2934,2792,3078,2835,2082,1770,1765,2174,2352,2141,2211,1956,2065,2216,2111,2051,1814,1483,1960,2462,2859,3196,3343,3320,3307,3275,2978,2151,1628,1353,1505,1607,1800,1707,1779,2106,2009,1735,1978,2100,1562,1597,1592,1839,2282,2316,1924,1719,1711,1715,1697,1786,2013,1896,1666,2088,2139,1872,1597,2232,2818,2871,2590,2248,2386,2489,2588,2881,2092,1641,1880,1533,1448,1624,1913,1953,1801,1806,1821,1837,1909,1973,1932,2164,2230,1860,1850,1690,1626,1642,1679,1644,1733,2108,2653,2583,2640,2541,2419,2037,1808,1920,1841,1824,1804,1908,2384,2511,1805,1746,1764,1782,2014,1897,1710,1571,1426,1424,1758,1754,1697,2095,2202,2156,1720,1926,2221,2327,2512,2181,2052,2005,1932,2269,2092,1808,1810,1919,1789,1729,1531,1574,1613,1450,1332,1432,1340,1498,2016,1955,2019,2146,1992,1823,2222,1987,1560,1725,1931,1706,1669,1752,1832,2307,3195,4116,3443,2415,1749,2258,2061,2249,2402,2366,1939,1885,1906,1809,1926,1730,1525,1399,1569,1821,1800,1643,1674,1748,1791,1940,2067,1803,1551,1471,1470,1588,1664,1436,1444,1487,1399,1492,1686,1691,1659,1643,1796,1712,1415,1350,1655,1554,1500,1410,1470,1544,1368,1571,1939,1841,1765,1875,2034,2341,2911,3519,2916,2636,2193,2285,2474,2486,2691,2895,2989,3405,2845,2739,2811,3170,2779,2956,3616,3535,3760,4051,3320,2708,2910,2655,2496,2287,1871,2477,3351,3062,2329,2439,2799,2621,2325],[2148,2924,3302,2991,2940,2560,2513,2441,2430,2851,2703,2400,2205,2261,2281,2888,3648,4041,3947,3576,2995,1856,1977,3108,3339,2856,2422,2746,3266,3403,2882,2707,2822,2665,2370,2150,2536,3354,3399,3024,2065,2221,2690,3485,3737,2774,2426,2723,2626,3183,3544,2689,1960,1967,2096,1841,1679,1977,2333,2436,2872,2610,1851,2213,3106,3248,2907,3270,3392,3231,2946,3111,2126,1789,2345,2691,2382,2036,2588,3028,2862,2695,2601,2399,2416,1982,1908,2176,2101,2089,2230,2193,2344,2220,1820,1559,1559,1499,1858,2621,3120,3055,2553,2887,2688,2112,1692,2125,2258,1844,2422,3166,3052,2705,2075,1769,1770,1720,1625,1619,2004,2011,1804,1729,1907,1979,2034,2376,2301,2091,2282,2546,2834,2468,2217,2141,2486,3082,3396,3500,3419,3116,2850,2553,2486,2792,2686,2153,2442,2636,2462,2290,2145,1846,1530,1929,3184,3710,2987,2211,2687,2588,2426,2198,2458,2549,2072,2101,2121,2216,2206,2468,3196,3364,3200,3436,3038,3107,3589,3086,2577,2655,2753,2476,2105,2437,2786,2091,1743,1668,2270,2750,2574,2774,2753,2384,2555,2938,3278,2906,2866,2635,2979,3292,2985,2422,2352,2731,2829,2489,2575,3000,2747,2722,2631,2893,2996,3333,2933,3129,2988,2818,3239,3205,3087,3333,2964,3021,2991,2940,3251,2729,2896,2884,3364,3738,3980,3872,3688,3617,3389,2381,1873,2072,2314,2438,2504,2520,2475,2903,3375,3067,2723,2629,1770,1680,2066,2027,2117,2736,3098,3000,2155,1835,1826,1869,1804,1799,1968,2174,2193,2019,1984,1766,1634,1615,1565,1436,1510,1688,1932,1839,1612,1670,1767,1687,1793,1547,1747,2315,2355,2343,2096,2458,2903,2135,1794,1737,1964,2713,2363,1786,1895,1768,1942,2106,2104,2360,2454,2259,1879,1674,1792,1805,1539,1587,2146,2131,2170,2181,2138,2213,2261,2173,2100,2334,1858,1891,1701,1842,1891,1853,2088,2723,2822,2568,3060,2954,2878,2841,3419,3049,3000,2577,2476,2896,2677,2535,2648,2293,2341,2164,1657,1852,2016,2369,2798,2934,3050,3110,2924,2416,2524,2583,2565,2510,2154,2459,2823,2822,3266,2830,2514,2786,2334,1728,1663,1635,1736,1948,2333,2362,1672,1443,1584,1598,1780,1957,2077,1927,1886,2183,2322,2018,1708,1502,1699,1773,1509,1560,1647,1736,1850,1987,1894,1702,1902,1908,1954,1819,1981,2198,1854,1759,1904,1869,1862,1854,1566,1295,1020,1231,1825,1939,2376,2395,2600,2367,1992,2040,2276,2512,2051,1817,1889,1997,2327,2291,2164,2669,2710,2316,2200,1958,1579,1621,1943,2493,2176,1913,2186,1969,2237,2660,2701,2289,2061,2072,2212,2528,3097,3522,3683,3365,2756,2784,2840,2466,2376,2569,2574,2667,2514,1859,1370,1454,1428,1604,2399,2866,2244,2069,2256,2196,1982,1636,1591,1904,1717,1642,1718,1960,2287,1994,1653,1551,1668,1510,2151,2048,1497,1527,1813,2048,1819,1660,1752,1901,2216,2508,2388,2507,2257,1903,1733,1653,1742,1582,1573,1770,1832,2094,2298,2018,2409,2420,2834,3254,3274,3250,3060,2900,2731,2639,2591,2707,2811,2563,1737,1527,1548,1793,1974,2198,2033,1901,2100,1877,1945,2481,1930,1493,1747,1489,1559,1475,2120,1915,1494,1465,1250,2022,3097,2902,2382,2151,2211,2575,1947,2154,2354,1968,2042,2097,2333,2625,2863,2755,1941,1936,2016,1619,1412,1557,1629,1512,1399,1228,1241,1406,1390,1563,1721,1548,1443,1438,1336,1579,1504,1409,1577,1682,1673,1649,1608,1664,1556,1577,1527,1613,1845,1759,1807,1560,1869,2221,1908,1661,1997,2375,2151,1725,1672,2148,2633,2714,2299,2535,2529,2580,2387,2559,2450,1676,1770,1844,1511,1774,2280,2886,2850,2836,2799,3176,3244,2441,1643,1721,2276,2744,2476,2584,2596,2218,2216,2128,2083,1944,1987,1862,1550,1526,1820,2401,2076,1889,1688,1533,1541,1633,1833,1620,1562,1939,1986,1649,1485,1591,1742,1646,1516,1416,1509,2127,2452,2203,1829,1580,1537,1535,1964,2266,2237,2319,3111,3414,2789,2754,2886,2570,2157,1841,1749,1871,1773,2277,2316,1973,1940,2790,2302,1917,2054,1764,1803,2184,2061,2018,1644,1775,2556,2592,2822,2706,3174,2705,2397,2735,2643,2712,2931,2765,2668,3028,2834,2539,2607,2464,1974,1981,2092,2167,2664,3095,3174,3101,2555,2856,2807,2653,2762,2421,2477,2762,2274,1909,1847,1924,2400,2847,3099,2802,2823,3420,3146,3177,2825,2347,2271,2181,1986,1579,1793,2291,1970,1575,2181,2666,2895,1931,2053,2874,2581,2197,2622,3121,3068,3052,3121,2763,2751,2368,1873,1646,2179,2609,2460,2069,2145,2440,2629,2522,2131,2365,3421,3726,3564,3587,4085,4211,4292,4139,4009,4006,3747,3224,3031,3172,2736,3505,3494,3899,4124,3396,3008,3528,3692,3329,2967,2631,2338,2730,2678,3121,3219,2646,2620,3029,2591,1991,1894,1717,1775,2356,2251,2098,2196,2529,2060,2159,2589,2535,2811,2332,2024,1974,1635,1638,2032,2320,2477,2499,2126,1887,2044,2208,1816,1461,1289,1100,1216,1638,2218,2714,2486,2469,2778,2618,1928,1926,1863,1333,1692,2352,2683,2798,2448,2490,2604,2363,2342,3326,3861,3074,2457,2404,2710,2529,2235,2080,1999,1764,1432,1019,1016,942,1270,1948,2484,2029,1557,1974,2382,2717,3032,2661,2383,2274,2053,1814,1982,2378,2634,2331,2417,2778,3310,3573,3140,2373,2452,2578,2291,2143,2202,1457,1629,2008,2026,2242,2138,1673,951,1132,1467,1732,1569,1197,1091,1201,1439,1412,1431,1741,1968,1875,2000,1893,2258,2473,2689,2513,2535,2390,2444,2578,2185,2289,2657,2421,2061,2265,1838,1479,2076,2325,1768,1482,1980,1960,2576,3110,2522,1988,1850,2094,2338,3186,3529,3797,3431,3296,3185,2868,2459,2494,2544,2240,2335,2240,2189,2260,2124,1488,2200,3348,3405,3090,2626,2225,2482,2602,2212,1815,1343,1585,1513,1505,1754,1714,1515,1086,676,849,1174,1118,1544,1792,1498,1120,1082,1191,915,632,1146,1462,1488,1573,1121,560,863,1314,1548,1194,1346,1566,1246,1234,1396,1520,1500,1531,1853,2155,2103,2081,2388,1902,1059,1309,1684,1837,1699,1621,1587,1189,680,893,1613,2244,2362,2730,2255,2188,2077,2055,1965,2018,2050,1615,1406,1473,1452,2462,2778,1990,2072,2093,2375,2898,2468,2557,2449,2041,2049,1621,1621,2379,2562,2293,1929,1542,1680,1924,1968,1930,2106,1810,1487,1577,2308,3074,3496,3344,2912,2954,2797,2797,2945,3228,3378,3444,3527,3364,2954,2730,2824,3040,2856,1946,1681,1486,1691,1715,1488,1336,1237,1214,1232,1341,1375,1515,1562,1842,2023,1758,1751,1807,1814,2260,2291,2476,2688,2367,2137,2193,2432,2655,2213,1875,2273,2414,1911,1948,2030,1871,1578,1844,2509,3012,2814,2402,1888,1977,1891,1637,1660,1947,1972,1700,1636,1759,1748,1537,1447,1479,1504,1466,1346,1250,1332,1346,1333,1301,1301,1325,1412,1654,1435,1513,1514,1481,1423,1438,1412,1477,1503,1665,1904,1613,1612,1432,1519,1507,1481,1387,1287,1245,1508,1628,1760,1823,1558,1327,1383,1526,1438,1372,1265,1248,1288,1307,1210,1208,1289,1244,1343,1395,1333,1243,1169,1197,1298,1371,1349,1285,1363,1404,1424,1466,1271,1273,1417,1359,1366,1317,1284,1318,1492,1881,1971,2112,1819,1525,1694,1771,2250,2868,2478,1775,1867,2063,2003,1630,1478,1417,1349,1434,1698,1817,1781,2513,1904,1577,1364,1748,1802,1505,1866,1940,1741,1771,1816,1745,1707,1821,1440,1526,3142,3071,2393,2216,1980,2101,2029,2054,3486,4400,4636,4783,4241,3415,2813,1881,1903,3110,2698,1772,2216,2120,1649,1642,1656,1794,1852,1700,1399,1504,1985,2261,1833,1109,1056,1317,1671,1854,1875,1484,1296,1685,1861,1957,1809,1525,1560,1646,1686,1736,1724,1737,2144,2414,2423,1998,1636,1510,1538,2126,2373,1999,2687,2830,2201,1827,1738,1670,1623,1730,1834,1714,1950,2471,2510,2106,1910,2026,1952,1585,1649,1535,2187,2477,2088,1935,2233,2237,1992,2310,2293,1766,1688,1748,1800,1901,2185,2259,2203,1872,1848,1858,1714,2196,2351,2646,2932,2790,2423,2436,2141,1962,1740,2318,2584,2154,1676,1626,1837,2036,1897,1553,1946,2396,2364,1875,1641,1676,1875,1803,1562,1861,2040,2181,2479,2039,2090,2169,2185,2243,2255,2346,2417,2182,1748,1853,1948,2120,2420,2548,2429,2806,2862,3052,3283,2624,2329,2144,1866,2410,3012,2388,2076,1765,1624,1707,1749,1835,1683,1869,2075,2188,2605,3019,3278,3269,3193,3117,3122,2790,1957,1564,1603,1642,1780,1863,1960,1844,1682,1857,2019,2116,1919,1687,1715,2049,2841,3087,2317,1766,1685,1693,1602,1581,1873,1760,1802,2099,2098,1684,1993,3062,3422,3157,2917,2767,2696,2675,2934,2512,1876,1801,1968,1648,1628,1681,1871,2014,2042,1970,1776,1886,1942,1941,2171,2258,2147,2027,1914,1794,1874,1841,1596,1615,2088,2956,3404,2686,2463,2571,2455,2109,1812,1693,1953,2038,1798,1857,2363,2402,1682,1687,1726,1786,1848,1749,1956,2051,1880,1736,1879,1833,2161,2241,1964,1801,1591,2081,2301,2285,2771,2789,2896,2747,1996,2052,1843,1767,1736,1861,1737,1532,1586,1626,1411,1425,1436,1390,1272,1632,1929,1754,2080,2405,2229,2060,2288,1969,1630,1946,2271,2014,1827,1887,2147,2453,2627,3084,2834,2277,2208,2302,2177,1997,1891,1650,1671,2348,2234,1833,2001,1798,1642,1598,1692,2062,2024,1984,1852,1898,2072,1764,1724,1884,1718,1625,1460,2163,2519,1760,1355,1579,1614,1546,1620,1866,1825,1565,1674,1514,1480,1524,1749,1602,1550,1563,1588,1661,1510,1634,2028,2101,2080,2079,2625,2680,2524,2953,3321,2901,2280,2382,2739,2603,2610,2831,2698,2998,2411,2986,3090,2682,2469,3227,3506,3131,3357,3532,3585,3103,3172,3256,2954,2576,2214,2765,3896,4094,3187,2257,2039,1918,1738],[2460,2687,2878,2670,2722,2683,2603,2730,3088,3278,2581,2207,2624,2323,2454,3300,3751,3662,3286,3130,2838,2687,3000,3410,3034,2895,2330,2833,3410,3457,3153,2949,2530,2464,2248,2137,2299,2943,2538,2798,1836,1560,2142,3053,3532,2798,2444,2666,2899,3676,3748,2897,2066,1989,2117,1877,1777,2130,2128,1784,1979,2022,1950,2231,2655,2803,2194,2266,2531,2803,2623,2654,2380,2438,2648,2257,1741,1878,2484,3134,3099,2758,2596,2106,2198,2024,1877,1926,1870,1835,2051,2609,2481,1841,1569,1599,1410,1325,1608,2061,2618,2918,2511,2476,2525,2018,1849,2656,2791,2379,3182,3664,3267,3172,2526,1917,1824,1624,1405,1782,2536,2371,1826,1946,2480,2742,2487,2510,2351,2038,2009,1901,2078,2375,2939,3382,3718,3953,3650,3404,2994,2484,2468,2854,3298,3596,3155,2729,2831,2682,2352,2095,2015,1897,1928,1913,2431,2657,2165,2122,2064,2018,2159,2269,3046,2976,2038,2019,2206,2705,3054,3140,3281,3432,3348,3403,3207,3060,3206,2770,2330,2169,2067,2451,2574,2723,2600,2689,2110,1796,2619,3043,2757,2874,2835,2719,3566,3100,2561,2413,1992,2022,2510,2669,2603,2590,2569,2648,2804,2452,2198,2977,3120,2414,2757,3020,3075,3051,2789,3023,3130,3231,3685,3027,2337,3498,3231,2901,3028,3672,3590,3297,3587,3587,3863,3953,3610,3363,3539,3372,3078,2127,1843,2016,2303,2487,2994,2807,2109,2131,2286,2035,2093,2009,1651,2370,2845,2420,2364,2386,2687,2857,2361,1835,2076,2199,1794,1649,1685,2031,1867,1905,1878,1533,1796,2159,1768,1607,1848,1801,1929,1925,2152,2188,2132,1887,1645,1614,2105,2819,3066,2599,2510,2634,2754,1981,2324,2073,2014,2480,2127,2260,2258,2531,2899,2265,1709,1816,1923,1806,1831,1803,1780,1504,1417,1296,1356,1742,2123,2113,2031,1888,1975,2018,1655,1756,1896,1785,1628,1972,2041,2314,2613,2774,2729,2268,2814,2648,2208,2667,3276,3032,2930,2896,3098,3457,3572,3504,3076,2887,3164,2677,2003,1995,2091,2608,2874,2832,3105,3432,3117,2755,3084,3198,2908,2432,2160,2545,2881,2378,2721,2928,2766,2678,2126,1605,1756,1772,1835,2093,2255,2131,1576,1029,1334,1722,1859,2170,2277,2359,2557,2558,2133,1689,1538,1658,1625,1612,1501,1644,1793,1857,1884,2037,1899,1717,1968,1860,2293,2182,2205,2127,2094,2138,1940,1726,1729,1709,1464,1227,1300,1361,1879,1935,2513,2373,2187,2328,2444,2633,2831,2688,2165,1697,1756,2040,2318,1708,1778,1960,2072,1802,1752,1987,2111,1902,2085,2537,2090,2014,2340,2316,2736,2902,2818,3051,3116,2967,3165,3473,3549,3216,3229,3429,3328,3127,2584,2048,2173,2388,2636,2863,2712,2153,1646,1412,1457,1673,2143,3034,2791,1903,1662,1533,1388,1182,1296,1558,1668,1788,1850,2128,1965,1659,1425,1609,2078,1686,1782,1614,1538,1846,1979,1903,2109,2191,2300,2671,2702,2103,1923,2129,1860,1744,1631,1443,1452,1338,1494,2186,2450,2163,1920,1742,1650,1994,2880,3528,3676,3550,3480,3257,2617,2468,2280,2195,1744,1808,1724,1437,1470,1647,1904,2281,2120,1752,1715,1817,2156,2501,1546,1563,2027,1844,1610,1786,2325,1999,1599,1523,1523,1907,2520,2391,1975,1686,1742,1842,1648,2298,2564,1685,1539,1959,2336,2668,2492,1918,1389,1612,2020,1744,1564,1588,1696,1775,1779,1612,1445,1506,1741,1876,1877,1865,1710,1657,1455,1443,1508,1583,1725,1737,1635,1673,1767,1865,1544,1666,1476,1555,1816,1976,1711,1481,1877,2145,1749,1610,1700,1687,1567,1816,1780,1676,1668,2258,2454,2386,2554,2473,1851,2137,2482,1776,1737,1850,1796,1990,1992,1911,1912,2139,2546,3021,3188,2807,1869,1592,2188,2554,1978,1802,1732,1714,2235,2691,2425,2076,2361,2173,1965,1817,1880,2468,2110,1914,1616,1756,1678,1589,1827,1630,1540,1917,2036,1547,1453,1540,1655,1720,1587,1624,1660,1911,2225,2122,1670,1612,1971,1769,2239,2614,2120,1963,2254,2978,3500,3460,2768,1978,2053,2050,1964,1959,1678,2332,2045,1638,2316,3135,2465,1904,2075,2028,2342,2747,2278,2025,1530,1651,2323,2681,2667,2573,2690,2485,2399,2828,2634,2396,2558,2916,2675,2741,2099,1994,2213,2137,1999,1758,1764,1923,2597,2956,3141,2688,2066,2699,2306,2090,2691,2822,2875,2787,2519,2556,2707,2835,2951,3283,3602,3435,3349,3648,3649,2965,2479,2496,2758,2854,2050,1596,2259,2266,1858,1331,1956,2265,2179,1497,2227,3431,3133,2574,2521,2680,2770,2990,2903,2493,2508,2513,2216,2432,2236,1910,2325,2308,2423,2569,2578,2458,2634,2579,3141,3415,3531,3636,3696,4051,4364,3851,3520,3491,3381,3453,3091,2623,2366,3017,3485,4002,4415,4183,3740,3663,3768,3702,3425,3575,3172,2732,2655,2508,2635,2990,3123,3003,2366,1348,947,1252,1979,2661,2455,2409,2225,2671,2403,2238,2430,2601,2817,2453,1721,1828,1605,1793,2253,2448,2525,2447,2288,2154,2125,2163,1741,1198,926,744,1187,2202,2355,2254,1712,1912,2657,2357,2162,2186,1886,1729,2492,3083,3057,2634,2469,2707,2231,2131,2575,3697,3422,2561,2175,2561,2583,2113,2509,2264,1671,1930,1468,951,1040,1044,1388,1790,2232,2449,2073,1942,2199,2307,3367,3818,3180,2666,2119,2271,2304,2710,3008,2777,2963,2950,2881,2986,2353,1901,2256,2077,1841,2041,2251,1692,1932,2505,2196,2070,1854,1542,997,1202,1568,1598,1339,1197,1322,1308,1397,1381,1295,1729,2164,2160,1985,2343,2684,2657,2445,2351,2675,2999,2945,2667,2271,1984,2496,2555,1650,2114,2220,1783,1796,1681,1495,1611,1829,1795,2084,2467,2468,2090,2034,2104,3000,3494,3058,3005,3418,3651,3432,3128,2917,2361,2182,2409,2372,2014,1780,2143,1748,1722,2810,3520,3185,2898,2844,2930,2868,2931,2608,2209,1752,1946,1416,1239,1474,1495,1331,1113,1016,1416,1578,1364,1621,1617,1379,1168,1316,1278,1315,1250,1278,1572,1598,1630,1318,634,889,1202,1595,1516,1346,1662,1323,1015,1329,1533,1518,1469,1297,984,1005,1009,1606,1744,1376,1632,1990,1891,1672,1533,1492,1066,738,1572,2069,2407,3163,3479,2603,2076,1938,1788,1817,1928,2084,1762,1229,1258,1358,2347,2783,2103,2009,2264,2469,2617,2446,2521,2504,2141,2157,1675,1806,2490,2618,2184,1548,1245,1312,1686,1937,2045,2073,1775,1465,2054,3013,3400,3549,3170,2770,2884,2880,3039,3265,3483,3636,3636,3563,3181,2940,2722,2739,2954,3179,2979,2450,1978,2366,2377,1503,1368,1393,1389,1421,1390,1412,1532,1775,1754,1671,1687,1697,1756,1926,2008,2297,2969,2373,2236,1843,2110,2261,2230,2113,1757,1871,2137,2342,2351,1715,1645,1484,1866,2454,2869,2454,2407,2537,2163,1716,1593,2110,2569,2308,1964,1730,1853,1889,1522,1370,1616,1594,1420,1243,1285,1365,1332,1318,1251,1271,1309,1321,1312,1375,1405,1499,1623,1466,1401,1357,1575,1726,1672,1920,1824,1804,1329,1316,1391,1348,1347,1297,1248,1445,1576,1518,1386,1268,1317,1445,1448,1479,1401,1296,1327,1348,1371,1255,1371,1648,1387,1398,1332,1250,1174,1155,1131,1317,1405,1254,1293,1455,1467,1342,1376,1398,1685,1484,1371,1476,1330,1252,1360,1482,1349,1576,1908,1714,1555,1958,1915,1937,2275,1772,1464,1724,1930,1861,1622,1518,1469,1447,1641,2050,2058,1962,2208,2042,1682,1297,1464,1747,1553,1504,1637,1879,1776,1581,1652,1852,1677,1417,1917,2356,1893,1962,2332,2054,2100,2176,1885,2866,4241,4581,4784,4877,4256,3041,1938,1902,2880,3240,2430,2126,2047,1563,1576,1522,1486,1671,1617,1389,1454,2094,2589,2226,1994,2135,2332,2290,1957,1720,1438,1278,1543,1863,2012,1868,1684,1695,1700,1478,1547,1529,1625,2026,2262,2318,2330,2110,1746,1578,1786,1716,1729,2471,2477,2511,2240,1811,1932,1821,1799,1800,1980,2108,2254,2214,2254,2167,2018,1776,1688,1811,1796,2111,2353,2325,2112,2283,2297,2262,2038,1848,1499,1526,1608,1976,1817,1643,1818,2469,2680,2136,1658,1885,2784,2798,2766,2688,2309,1908,1723,2275,2326,1825,1852,1919,1700,1647,1687,1672,1806,1610,1426,2131,2925,2568,1754,1700,1834,1814,1810,1954,1979,1886,2246,2764,2352,1965,1859,2127,2097,2106,2548,2592,1837,1630,1805,1837,1975,1977,2231,2297,2568,2655,3168,2786,1866,1880,2095,2252,2959,2458,1774,1719,1297,1187,1349,1577,1743,1664,1891,2183,2183,2178,2584,3044,3188,3232,3132,3045,2808,2108,1626,1789,2241,2173,1850,1830,1787,2105,2480,2128,1918,1836,1770,1846,2020,2285,2217,1853,1753,1811,1649,1525,1719,1838,1781,1755,2097,1899,1837,3003,3904,3768,3726,3150,2768,2863,3464,3335,2121,1872,1931,1790,1537,1635,1816,1723,1921,2226,2270,2089,1962,1820,2030,2040,2088,2192,2163,1992,1945,2123,2122,2050,2316,2557,3156,3432,2898,2164,2159,1979,1897,1891,1682,1749,1883,1690,1815,2122,1908,1682,1650,1661,1725,1825,1757,1898,2442,2438,1815,2017,2096,2300,2129,1875,1647,2020,2231,2459,2677,2889,3155,3414,3379,2557,2144,1934,1753,1774,1584,1242,1444,1793,1600,1419,1423,1397,1345,1473,1917,2054,2036,2239,2436,2418,2482,2396,2083,1962,2042,2150,2351,2584,2643,2819,2459,2023,1871,2180,2318,2511,2337,2024,1801,1667,1692,2474,3089,2262,1846,1932,1736,1663,1786,1699,1735,1920,1914,1743,1952,2314,2195,2141,2030,1990,1796,1433,2267,2571,2214,2046,1794,1694,1726,1487,1862,1879,1628,1736,1647,1566,1570,1811,1765,1533,1480,1453,1532,1461,1465,1836,2077,2024,2210,3040,2979,2642,3104,3565,3066,2339,2399,2708,2281,2499,2789,2580,2646,2524,2524,2316,1940,2062,2985,3355,2991,3322,3160,2973,3541,4060,3399,2762,2590,2850,3382,3620,3602,2923,1889,2121,2278,1916],[2462,2574,2518,2270,2470,2668,2708,2601,2746,2800,2419,2236,2234,2243,2885,3794,3740,2778,2828,2974,2220,2944,2874,2907,2519,2891,2741,2884,3669,3381,2777,2740,2272,2414,2444,2546,2476,2448,2642,2865,1968,1587,2326,2797,3208,3859,3932,3503,3538,3975,3718,3052,2225,2048,2158,1894,1759,1971,2026,1957,2066,1877,1548,1431,1502,2078,1858,1744,1786,1736,2126,2106,1786,2142,2416,2124,1814,2250,2929,3332,3011,2412,2316,2049,2053,1989,2067,1851,1875,2156,2213,2308,2110,1511,1438,1320,1313,1405,1555,1706,2093,2568,2949,2942,2545,2115,1986,2343,2562,2695,3397,3333,2884,2918,2990,2978,2872,1991,1520,2115,2570,2275,1895,2032,2574,2900,2442,2202,2101,2135,2293,2586,3076,3306,3309,3211,3554,3994,3340,2838,2767,2401,2343,3063,3754,4100,3509,3166,3334,2908,2137,1835,2046,2171,1822,1754,1730,1924,2206,2166,2039,2267,2408,2407,3005,3343,2421,2224,2518,2874,3263,3551,3723,3392,3054,3067,3108,3001,2710,2450,2614,2640,2436,3242,3231,2899,2315,2507,2574,2636,3128,3131,2742,2621,3062,2464,2500,2084,1640,1708,1714,2191,2372,2203,2375,2479,2575,2651,2678,2645,2105,2866,3084,2813,2707,2840,3119,3130,3045,2861,2908,2890,2924,3492,2722,3648,3185,2750,3071,3707,3598,3500,3442,3797,4184,3870,3167,2505,2799,2814,2942,3162,2921,2442,2448,2531,2544,2708,2467,2286,2026,1853,1792,1608,1716,2685,2525,1883,1941,1978,1993,2323,2274,1833,1802,1831,2029,2043,1880,1763,1849,1885,1845,1722,1918,2187,1864,1699,1620,1570,2485,2648,2210,2080,2052,1956,1779,2087,2533,2667,2565,2240,2590,2796,2397,2189,2238,2238,2348,2231,2472,2613,2520,3034,2687,1691,1766,1952,1800,2124,2696,2499,1902,1565,1614,1629,1513,1767,1824,1557,1669,1832,1725,1816,1660,1715,1822,1704,1889,2055,2237,2978,3160,2781,2664,2216,2525,2093,2120,2858,3580,3535,3378,3305,3107,3742,3924,3437,3876,4064,3752,3187,2476,2072,2136,2487,2636,2642,2788,3040,2833,2735,2830,3087,3416,3279,2790,2705,2762,3093,3404,3295,3153,2806,1986,1727,2402,2353,2614,3017,2988,2260,1662,1543,1714,1670,1836,2053,2179,2843,2762,1877,1645,1576,1470,1462,1396,1452,1493,1693,2065,1961,1825,2121,1908,1566,1506,1695,2089,2074,1738,1694,2416,2509,1786,1832,1999,1844,1456,1475,1634,1604,2396,2275,2262,2130,2053,2093,2027,2362,2863,2556,2160,1844,1972,2223,2186,1506,1448,1585,1538,1627,2075,2424,2554,2464,2536,2757,2122,2151,2179,2448,2486,2831,2862,2922,3209,3397,3328,3350,3444,3491,2850,2662,2759,2867,2338,2170,2226,2557,2905,2834,2561,2144,1550,1362,1386,1540,1754,2485,2514,1754,1550,1527,1428,1274,1366,1838,2213,2276,2307,2184,1961,1595,1393,1440,1610,1602,1504,1376,1732,2857,2706,1988,2343,2712,2647,2883,2526,1833,1792,2002,1945,1780,1512,1486,1424,1311,1353,2076,2019,1845,1747,1607,1629,1876,2455,3022,3480,3614,3430,2938,2351,2448,2215,2079,1769,2407,2324,1598,1340,1305,1546,1938,2088,1915,1909,2040,2492,2185,1434,1572,1786,1924,1794,1723,1770,2026,2491,1591,1594,1901,2533,2077,1920,1734,1484,1499,1650,2468,2619,1871,1796,2128,2026,2201,1714,1567,1328,1317,1610,1611,1592,1580,1644,1845,1636,1487,1423,1582,1876,1722,1918,2186,2260,1862,1448,1591,1705,1772,1848,1699,1535,1808,1805,1520,1513,1529,1491,1560,1763,2020,1926,1657,1784,2033,2056,1848,1687,1793,1935,2114,1882,1720,1560,1627,1772,1724,1571,1640,2128,2575,2440,1876,1693,1821,2120,2096,1776,1789,1996,2147,2395,2900,3007,2867,1809,1427,1556,1618,1584,1687,1470,1365,1812,2198,1980,1767,2171,1942,1799,1764,1716,2406,2305,1741,1584,1750,1707,1600,1882,2251,1640,1551,1583,1740,1750,2035,2264,1988,1762,1768,1884,1858,2028,2132,2128,1995,1978,1969,2164,2198,2420,2586,2286,2259,2784,2636,1933,1613,1977,2078,1975,1985,1980,2216,1870,1537,1954,2281,2330,2539,2903,2834,3049,3038,2044,1735,1700,1604,2338,2580,2279,2527,2391,2206,2174,2498,2023,2212,2997,3395,3242,3011,2386,1920,1903,2106,2032,1921,1848,1714,1359,1662,2204,2109,1920,2288,2110,2041,2793,3209,2964,2893,3294,3604,3364,3531,3276,3392,3334,3111,2829,2618,2272,2329,2753,2588,2576,3193,2473,1776,2286,2259,1992,1511,1866,2092,1834,1745,2508,3150,2809,2440,2557,2662,2822,2518,2037,1863,2081,2176,2214,2872,2613,2396,3212,2987,3044,2775,2683,2555,2498,2308,2658,3462,3917,3818,4038,4432,4263,3665,3227,3090,3360,3392,2863,2416,2828,3321,3293,3214,3806,4050,3830,3771,3996,3920,3553,3613,3630,3020,2828,2218,2531,3009,2508,1954,1640,1433,1654,1883,2062,2108,2061,2397,2338,2331,1863,1961,2622,2652,2274,2208,2048,2304,2146,2041,2046,2288,2348,2231,2332,2018,1688,1886,1818,1592,1032,1250,2072,2498,2230,2076,1750,2456,2702,2750,3060,2868,2796,2798,2922,2940,2592,2084,2272,2546,2275,2280,2652,3423,3388,2399,2137,3135,3274,2950,3156,2341,1750,2156,1922,1840,1836,1434,1538,1935,1959,1793,2059,2418,2566,2402,3167,3628,3613,2814,1869,1821,2228,2938,3352,3120,2711,2121,1572,1769,1228,1779,1882,1424,1546,2320,2822,2170,1896,2408,1738,1143,1469,1958,1424,1261,1403,1137,940,1484,2041,1743,1510,1513,1316,1778,2478,2714,2374,2887,2720,2553,2618,2513,2818,3206,2653,1933,1504,1465,2322,1937,1983,2176,2191,1838,1735,1746,1638,1637,1700,1801,2033,2201,2523,1852,2066,2814,3360,3518,2830,2259,2723,2833,2964,3098,3193,2842,2088,2327,2186,1919,1844,1851,1648,2369,3422,3861,3646,3269,3084,2958,2619,2689,2836,2720,2063,1968,1782,1544,1574,1539,1353,1425,1218,1716,1636,1658,1806,1656,1318,1233,1414,1387,1578,1604,1245,1571,1560,1761,1470,690,845,1147,1584,1604,1353,1585,1551,1192,1316,1406,1492,1578,1072,1380,1586,1535,1807,1914,1714,1675,1697,1720,1584,1399,1672,954,1037,1940,2825,3561,4428,4002,2598,1933,1875,2241,2754,2127,2270,1832,1451,1605,1726,2415,2911,2332,2026,2327,2534,2563,2292,2295,2514,2368,2332,1477,1540,1626,1564,1300,1292,1634,1843,1968,2056,2238,2275,1865,1869,2604,3001,3450,3435,3152,3091,2953,2912,3087,3074,3187,3360,3227,3182,3066,3002,2706,2733,2878,2951,3222,3153,2855,3066,2906,1710,1359,1342,1478,1472,1504,1535,1570,1681,1604,1546,1699,1699,1679,1789,1723,1920,2480,2057,2417,2131,1834,2021,2178,2167,2061,2050,2231,2240,1912,1572,1620,1588,1636,1759,1990,1793,1883,1927,1559,1495,1662,2428,2663,2164,1681,1548,1788,1886,1499,1641,1742,1496,1375,1293,1340,1338,1266,1310,1246,1334,1331,1313,1419,1528,1378,1462,1465,1476,1520,1296,1597,1574,1426,1409,1607,1607,1390,1444,1462,1332,1284,1256,1317,1432,1526,1487,1435,1390,1501,1572,1428,1367,1371,1510,1483,1328,1374,1453,1526,1457,1283,1250,1249,1422,1354,1233,1111,1171,1171,1280,1486,1508,1527,1433,1278,1531,1959,1729,1345,1288,1412,1419,1384,1481,1365,1471,1490,1494,1409,1910,2066,1646,1495,1489,1398,1710,2098,2056,1812,1572,1758,1735,1684,1741,1927,1983,1937,2227,1947,1361,1636,1941,1496,1355,1538,1773,1722,1613,1624,2008,1878,1923,2087,1722,1727,1760,1829,1777,2330,2182,2141,2954,4177,4360,4280,4536,4295,3166,1958,1772,2674,3506,2481,1750,1784,1744,1690,1546,1395,1536,1622,1579,1493,1671,2252,2647,2829,2978,3139,2620,1813,1450,1503,1656,1701,1831,1902,1959,1768,1716,1555,1460,1487,1522,1550,1626,1698,2093,2706,2500,1936,1782,2222,1788,1941,2082,2087,2308,2183,1892,1568,1643,1911,2063,2108,1816,1888,2128,1798,1998,2080,1744,1682,1558,1615,2025,2384,2055,2047,2439,1981,2044,1983,1746,1870,1828,1852,1924,1732,1584,1757,2376,3086,3020,2452,2545,2626,2531,2292,2133,2168,1668,1566,2272,2192,1864,1560,1421,1493,1645,1707,1704,1888,1730,1382,1622,2184,2009,1655,1708,1957,1688,1712,1870,1630,1870,2092,2013,2136,1908,1507,1842,2273,2311,2620,2253,2028,2264,1898,1770,1803,1897,1998,2237,2297,2522,2847,2088,1565,1654,1940,2328,2922,2431,1742,1594,1318,1548,1852,1855,1843,1598,1658,1887,2007,2120,2142,2406,2905,3115,2978,2451,1797,1497,1468,1756,2225,2009,1796,1823,2247,3088,2974,2294,1772,1652,1632,1976,2148,1830,2222,1896,1588,1667,1635,1615,1936,1827,1697,1675,1786,1904,2716,3713,3723,3649,3958,3724,3033,2922,3639,2949,2141,2398,2398,1961,1734,1926,2099,1960,2322,2630,2170,1977,1759,1751,1833,1783,2024,2202,2176,2023,1878,2216,2339,2182,1991,1931,2472,3132,2863,2416,2125,1628,1947,2396,1953,1592,1710,1628,1648,1831,1933,1807,1732,1926,1955,1938,2232,2353,2227,2433,2103,1826,1736,2026,2085,2056,2027,2242,2500,3000,3300,3339,3229,3316,3400,3370,2696,2624,2519,2130,1573,1255,1606,1809,1529,1508,1583,1781,1923,1955,2183,2352,2261,2418,2444,2303,2241,1991,2042,1958,1658,1888,2532,2901,2709,2464,1817,1427,1835,2098,2208,2439,2370,1923,1616,1693,1588,1833,1804,1680,1843,2038,1973,1780,1780,1874,2041,2044,1960,1857,2253,2732,3686,3360,2324,2100,1896,1578,1783,2248,2518,2372,1931,1852,1865,1573,1905,2230,2062,1903,1599,1638,1832,1792,1594,1494,1375,1346,1369,1416,1479,1720,1800,2030,2610,3160,3373,3466,3786,3928,3405,2840,3077,2697,2871,3235,2832,2564,2677,2744,2402,2007,2429,3016,3356,3254,3015,2985,2978,2643,3410,4244,3760,2665,2309,3203,3729,3354,3261,2712,2257,2115,2382,2040],[2252,2507,2337,2270,2884,3298,3064,2501,2641,2840,2621,2587,2570,2663,2973,3243,3231,2585,2569,2639,2560,2503,2124,2281,2388,2854,2754,2765,3696,3425,2773,2163,1788,2252,2590,2975,2620,2664,2884,2909,2255,1843,2497,2325,2592,3538,4265,4017,3724,3623,3371,3033,2398,2088,2142,2118,2082,2251,2415,2257,2510,2338,1649,1807,1713,1801,2089,2050,2121,1974,2278,2205,1740,1567,2002,2525,2627,2696,3025,3200,2789,2128,1844,1787,1794,1891,2095,1747,1794,2118,1871,1735,1876,1771,1576,1566,1487,1562,1411,1800,2285,2473,3075,3051,2365,2364,2293,2034,1995,2358,2468,2361,2266,2999,3351,3294,3289,2510,1910,2358,2920,2967,2870,2171,2088,2186,2220,2208,2402,2508,2668,3155,3282,3480,3603,3347,3438,3874,2866,2654,2544,2265,2427,3027,3306,3310,3173,2870,2866,2198,1959,1785,1909,2092,1820,1762,1692,1790,2122,2614,3078,2994,2718,2682,3287,3817,3328,3277,2996,2926,3235,3197,3075,3123,3006,2939,3023,2997,2654,2780,3117,3030,2824,3205,3062,2880,2448,2482,2815,2968,3072,2783,2587,2143,2071,1980,2878,2995,2169,1934,2301,2545,2446,2040,1825,1982,2622,2810,2911,2669,2578,2799,2623,2757,2386,2207,2530,2224,2326,2836,3348,2955,2626,3615,3198,3430,3440,3220,3292,3723,4002,3751,3353,3792,4070,3891,2768,2194,2498,2520,2810,3384,3294,2656,2401,2383,2664,3096,2740,2237,1749,1607,1820,1890,1635,1775,1859,1801,1797,2158,2237,2054,1565,1648,1698,1577,1906,2220,2337,2105,1967,1845,1873,2015,1808,2009,1902,1865,1717,1829,2409,2561,2302,2652,2830,2583,2549,2591,2280,1942,1559,1178,1326,2390,2116,2157,2163,2214,2158,2042,2231,2662,3039,2994,2186,1464,1710,1958,1880,2118,2161,1904,1859,1696,1544,1724,1772,1969,1830,1425,2006,1859,1643,1741,1668,1713,1710,1614,1645,1874,2767,3384,3605,2730,2720,2918,3208,2613,3032,3870,3808,3233,2786,2370,2207,2658,3190,3398,3630,3437,3165,3067,2552,2075,2100,2286,2813,2535,2686,3320,2831,2590,2542,2662,3130,3233,3028,2573,2363,2875,3044,3275,3007,2721,2154,2124,3077,3301,2993,2978,2508,1929,1718,1672,1621,1592,1575,1636,1862,2314,2295,1745,1705,1615,1590,1596,1523,1563,1485,1879,2429,2348,2364,2505,1947,1723,1883,1937,1983,2102,1870,1940,2862,2698,1875,1782,1826,1606,1466,1619,1647,1842,2256,2473,2714,2731,2352,2383,2399,2710,2765,2358,2007,1854,1740,2143,1857,1405,1433,1506,1411,1865,2818,2810,2678,2753,2775,2412,1975,2513,2382,2452,2611,2836,2697,2420,3228,3401,3184,3526,3681,3602,2564,2388,2698,2192,2351,3076,2947,3146,3050,2937,2599,2224,1653,1444,1365,1573,1697,1576,1589,1631,1584,1605,1576,1580,1867,2470,2541,2121,1970,1842,1901,1638,1462,1399,1460,1702,2067,1903,1477,3090,2987,2089,2541,2942,2770,2657,2181,1868,1953,1917,1857,1660,1476,1593,1506,1598,1732,2169,2178,1991,1697,1489,1593,1916,2294,2496,3001,2763,2518,2383,2378,2048,1992,1724,1563,2344,2514,1813,1375,1469,1556,1623,1816,1732,1723,1801,2035,1626,1394,1537,1470,1680,1938,2015,1906,2849,3909,2038,1777,1938,2576,2348,1763,1556,1685,1508,1615,2294,2204,2095,1975,1844,1465,1482,1567,1638,1412,1370,1715,1946,1862,1564,1539,1637,1489,1500,1512,1597,1549,1469,1734,2281,2569,1940,1794,1845,1712,1608,1810,1666,1475,1731,1866,1580,1405,1440,1506,1411,1618,1913,1843,1538,1400,1964,2594,2001,1538,1935,2453,2318,2271,2072,1638,1538,1456,1647,1603,1594,2200,2114,1770,1674,1657,1688,2087,2161,1819,2083,2746,2923,2438,2765,2878,2929,2097,1487,1328,1341,1559,1506,1207,1340,1705,1760,1557,1461,2214,2325,1920,1896,1704,1780,1735,1436,1466,1705,2055,1923,2040,2369,1992,2031,2394,2631,2016,1659,2106,2415,2257,2373,2112,2150,2446,2440,2197,2083,2014,2034,2039,2081,2448,2555,2238,1920,1968,1984,1858,1872,2032,2020,1817,1730,1681,1711,1746,1733,1742,1767,2010,2217,2576,2933,2646,2544,1950,1875,2054,1921,2387,2382,2093,2458,2636,2292,2013,2103,2041,2449,2922,3484,3650,3422,2957,2230,2275,2416,1938,1891,1717,1466,1149,1593,1887,2085,2084,2263,2206,1768,2274,3111,3074,3218,3768,3879,3483,3231,2796,2385,1583,1149,1520,1514,1758,2805,2900,3326,2475,2710,2397,2092,2019,1989,2018,1674,1589,1987,2304,2201,2001,2175,2122,2027,2290,2558,2802,2800,2629,2457,2331,1976,1757,2234,2478,2546,3565,3519,3812,3779,3541,3451,3461,3395,3309,3718,3416,2815,3959,4245,3553,3310,3226,3353,3296,2735,2210,2303,3188,3841,3558,3055,2884,3291,3807,3990,3736,3904,3731,3589,2564,2281,2655,2529,3034,2707,1371,1524,2240,2621,2313,2145,2118,1999,2014,2020,2342,2345,1928,2208,2698,2729,1844,1673,1900,2166,2348,2298,2132,2255,2021,1717,1876,1884,1746,1903,1922,1951,1531,2256,2355,1957,1991,2080,1944,2195,2326,2690,2881,2729,2831,2646,2645,2774,2774,2508,2666,2466,2577,2817,2642,2842,2452,2010,1872,2679,3376,3031,3241,2636,2094,2503,2353,2511,3205,2327,1685,2016,1549,1790,2264,2977,3019,2484,2428,3354,3384,2351,2211,2293,2648,2958,2360,1754,1494,1296,1469,1919,1455,1365,1512,1862,2559,2999,2836,2060,1726,1903,1256,999,1360,1587,1296,1778,1970,1470,1903,2337,2489,2104,1444,1472,1506,2168,2286,2076,2446,2999,3040,2978,2714,2764,2856,3093,2171,1356,1159,1415,2161,2016,2391,2634,2244,1864,2051,2124,1910,1895,2089,2525,2535,2398,2028,1867,2610,3389,3581,3660,3598,3464,3235,2718,2989,3233,3133,3519,2601,2399,2327,1956,2188,1952,1996,2792,3488,3845,3495,3077,2291,2502,2675,2893,3023,2685,2101,1820,2121,2241,1991,1612,1610,1855,1374,1758,1446,1420,1607,1567,1244,1260,1543,1497,1584,1535,1195,1410,1546,1840,1606,1028,977,1217,1506,1673,1571,1591,1827,1748,1575,1462,1621,1793,1345,1660,1788,1644,1824,1959,1758,1389,1417,1935,1824,1671,2291,1300,1389,1867,2442,3727,4357,3175,1977,1753,1844,2648,2997,2241,2355,1765,1581,1692,1684,2192,2792,2392,1885,2203,2547,2487,2036,2098,2465,2371,2007,1564,1534,1399,1677,1854,1881,2157,2333,2129,2144,1957,2272,1856,2072,2036,2574,3239,3253,3302,3232,2972,2850,2969,2875,2778,2779,2741,2920,3105,3030,2730,2802,2986,3017,3033,2942,3043,3022,2695,1813,1299,1260,1338,1375,1498,1412,1419,1739,1802,1901,2513,2165,1704,1630,1560,1773,1921,1873,1803,1593,1561,1970,2414,2278,2590,2486,2301,2406,2023,1835,1834,1607,1552,1837,2100,1898,1720,1763,1509,1446,1489,2214,2377,1943,1765,1834,1777,1897,1854,1768,1782,1798,1714,1520,1411,1394,1265,1315,1293,1313,1344,1323,1404,1460,1438,1321,1324,1656,1299,1130,1457,1371,1323,1299,1321,1332,1329,1382,1397,1251,1354,1456,1536,1634,1627,1502,1459,1399,1504,1635,1650,1557,1393,1416,1365,1304,1316,1409,1467,1334,1472,1349,1329,1462,1432,1275,1110,1210,1260,1374,1411,1408,1385,1307,1262,1381,1477,1361,1303,1388,1413,1361,1417,1592,1421,1406,1426,1505,1524,1970,2037,1534,1487,1542,1592,1943,1998,1856,1598,1400,1741,1966,2158,2094,1983,1754,1721,2031,1967,1573,1600,1718,1465,1521,1492,1372,1432,1790,2020,2105,2013,2196,2050,1737,2045,1638,1823,2114,2552,2500,2617,2841,3743,4273,4100,4312,4376,3428,1946,1685,1821,2493,1928,1580,1794,1795,1632,1593,1635,1540,1558,1626,1517,1989,2323,2433,2866,3020,2584,2080,1656,1450,1524,1682,1611,1668,1718,2021,1801,1989,1784,1514,1447,1521,1658,1826,1647,1881,2519,2390,1720,1787,2188,1901,2040,2275,2335,2364,2222,1865,1857,2078,1872,1897,2154,1825,1996,2446,1976,1860,1815,1612,1639,1739,1765,2502,3145,2718,1878,1815,1510,1614,1915,2320,2503,2198,2090,2181,1992,1709,1907,2182,2480,2626,2199,2050,2172,2056,1812,1791,1929,1783,1885,2182,2230,1898,1609,1396,1527,1584,1499,1526,1733,1692,1405,1430,1581,1637,1745,1562,1662,1804,1960,2074,1694,1840,1923,1831,1911,1865,1500,1608,1971,2274,2353,2005,2009,2050,1812,1698,1914,2202,2316,2382,2185,2327,2273,1880,1559,1545,2105,2243,2213,1968,1644,1594,1599,1742,1933,2155,1962,1699,1743,1760,2037,2168,1914,2050,2488,2667,2379,1934,1625,1365,1520,1803,1928,2278,2171,2148,2437,3085,2890,1943,1685,1772,1810,2252,2150,1852,2030,1773,1520,1636,1732,1671,1756,1725,1612,1760,2004,1831,2495,3288,3026,3381,3516,3451,2875,2641,2643,2059,1940,2503,2534,2031,1776,1876,1710,1830,2379,2362,2207,2111,1801,1924,1821,1760,1986,2143,2362,2468,2152,2245,2020,1793,1408,1720,2255,2342,2428,2250,2004,1742,1982,2784,2603,1883,1860,1683,1521,1672,1736,1753,1838,1805,1736,2038,2247,2172,1624,2096,2434,1819,1671,1830,1874,2186,2395,2587,2925,3223,2978,3273,3741,3770,3536,3662,3304,3276,2963,2093,1666,1439,1551,1585,1569,1334,1626,2182,2731,2153,1544,1930,2314,2585,2451,2100,2141,1996,1954,1744,1464,1699,2200,2415,2077,1713,1473,1555,1901,2066,2194,2000,1840,1607,1719,1870,1730,1823,1680,1714,1955,2041,1803,1555,1607,1649,1721,1703,1749,1774,2197,2663,3212,2810,2247,2003,1810,1868,1986,2064,1908,1976,2162,2248,1787,1544,1875,2098,1847,1591,1613,2062,2029,1752,1479,1493,1398,1404,1384,1430,1556,1615,1799,2269,2764,3186,3399,3399,3659,3693,3249,2965,3460,3337,3182,2938,2534,2656,2828,2937,2734,2665,3279,3783,3806,3454,3130,2526,2727,2995,3442,3839,3408,2694,2754,3400,3721,3398,2795,2653,2791,2085,2208,2317],[2318,2281,1995,2878,3637,3631,3564,2754,2612,2865,2563,2695,3305,3203,3112,3118,3046,2769,2739,2392,2536,2509,2570,2658,2624,2636,2520,2848,3905,3130,2343,1755,1909,2126,2061,2509,2691,2619,2696,2825,2655,2299,2328,2646,3529,4086,4568,3904,3889,3848,3408,3222,2679,2198,2354,2413,2517,2647,2526,2443,2950,3084,2542,2796,2122,2112,1861,1763,1947,1901,2038,1894,1500,1648,2576,3007,2319,2612,3041,3071,2712,2444,2453,2525,2162,1843,1709,1481,1484,1643,1620,1565,1686,1644,1474,1497,1546,1686,1481,1904,2504,2534,2728,2752,2614,2776,2542,1973,1779,1703,1595,1797,1853,2332,2620,2289,2462,2602,2210,2268,2435,2251,2013,1785,1835,2475,2712,2547,2723,2684,2712,3315,3431,3837,3892,3647,3418,3826,3116,2648,2534,2477,2468,2890,2828,2830,2776,2633,2652,2083,1872,1814,1924,1878,2022,2183,1905,1844,2351,3105,3407,3176,2835,2995,3306,3462,3579,3499,3480,3741,3616,2998,2700,3112,3234,3166,3060,3122,2880,3167,3519,3181,3019,2910,2543,2105,2047,2622,2836,2526,1987,1962,2246,2187,1848,2576,3560,3951,3254,2663,2869,3050,2714,2020,1944,2326,2490,2503,2897,2797,2700,2854,2754,2521,2188,2426,2404,2358,2564,2911,3548,3452,3211,3234,3099,3238,3470,3435,3737,3895,4155,4125,3921,3803,4077,4093,2840,2620,2978,2575,2167,1925,1909,2036,2120,2054,2554,2701,2553,1726,1355,1423,1716,1837,1872,2213,2105,1918,1990,2260,2080,1997,1644,1608,1641,1632,1630,2212,2587,1929,1884,1959,1901,2087,1873,2088,2020,1951,2057,2167,2092,2335,2710,2909,2811,3009,2996,2303,2046,2037,1526,1111,1803,2359,1937,2027,2448,2245,1576,1774,2024,2993,3075,2769,1936,2192,2597,2248,1981,2137,1953,1772,1737,1553,1582,1947,1942,1885,1772,1759,2232,2006,1986,1947,1569,1568,1614,1714,1879,2721,3264,3643,3344,2705,2785,3187,3211,3040,3108,3115,3316,3130,2434,1767,1748,1954,2835,3167,2698,2403,2722,3305,2753,2030,2077,2400,2426,2237,2609,3480,2989,2455,2467,2546,2678,2693,2432,1957,1969,2696,2880,3044,2790,2226,1904,2059,2878,3231,2886,2432,1860,1643,1555,1561,1766,1892,1876,2271,2138,1835,1754,1741,1682,1703,1973,1992,1545,1518,1531,2111,2417,2111,2322,2609,2098,2030,2308,2255,1904,1923,2004,2402,2876,2677,2113,1729,1980,1661,1604,1725,1888,1905,1980,2159,2352,2784,2543,2620,2391,2652,2438,2227,1863,2100,2155,2116,1949,1903,1832,1538,1392,2194,3437,3577,3259,3372,3195,2653,2024,2430,2428,1878,2092,2785,2868,2439,3325,3631,3339,3422,3814,3670,2984,3195,3122,2172,2814,3819,3551,3584,3124,2931,2842,2496,1884,1571,1543,1725,1738,1565,1684,1767,1628,1655,2094,2235,2392,2207,2403,2248,1856,1683,1770,1717,1556,1389,1542,1997,2542,2305,1504,2756,3006,2565,2787,2631,2189,1977,2051,2244,2295,1908,1791,1681,1672,1935,2038,2117,1842,1655,1842,1925,1792,1687,1856,2050,2343,2138,2402,1995,1845,2022,1936,1831,1849,1799,2292,2493,2042,1808,1585,1667,1574,1744,1732,1687,1810,1851,1783,1590,1644,1528,1153,1842,2196,1858,1922,2530,2686,1904,1659,1585,1975,2174,1698,1483,1574,1574,1835,2153,2538,2518,1980,1511,1401,1557,1561,1554,1782,1974,2117,2199,2151,1508,1642,1625,1611,1632,1541,1599,1649,1790,1880,2162,2210,1786,1882,2164,2246,1591,1504,1645,1526,1773,1798,1426,1345,1616,1883,1761,1770,1888,1926,1671,1628,1926,1913,1614,1606,2052,2298,2398,2880,2408,1673,1564,1457,1499,1444,1781,1819,1448,1483,1802,1867,1660,1888,2186,1984,2110,2578,2880,2456,2255,2235,2584,2230,1527,1384,1576,1613,1455,1570,1921,1835,1625,1436,1326,2044,2211,1886,1811,1626,1541,1568,1498,1489,1880,2977,2877,2352,1858,1857,2077,2974,3504,2514,1956,2152,2344,2321,2523,2064,2255,2321,2249,2211,2593,2536,2128,2046,2126,2134,2181,1891,1964,2003,2093,2226,1864,1656,1675,1556,1424,1429,1574,1986,2177,2155,2106,1792,1647,2142,2688,2840,2701,1924,2269,2603,2526,2394,2077,2115,2132,2713,2734,2405,2154,2643,2741,2599,3102,3496,3688,3416,2866,3105,2097,1484,1866,1759,1439,1622,1970,2142,2414,2320,2353,2233,1940,2310,3177,3184,2994,2906,2562,2091,1811,1710,1638,1542,1416,1650,1365,1560,1988,2254,3298,3085,2523,2136,2137,1919,2064,2170,1891,1713,2142,2270,1855,1667,1482,1692,2021,2256,2261,2545,2566,2245,2144,1699,1538,1368,1422,2153,2311,3326,3456,3495,3635,3775,3541,3119,3177,3331,3745,3167,3054,3842,3299,2576,2909,3427,3318,2598,2281,2464,2877,3483,3905,3683,3175,2568,2706,3425,3962,3752,3725,3758,3286,2238,2165,2356,2020,2112,2136,1756,2655,3288,3896,3419,2764,2356,2066,1964,1965,2263,2519,2322,1884,2275,2181,1764,2018,2308,2013,1750,1948,2193,1994,1649,1636,1787,1972,2396,2270,2224,1831,1885,2298,2012,2098,2520,2003,1707,1938,2146,2215,2245,2130,2221,2119,2228,2635,2630,2422,2339,2738,3250,3134,2799,2834,2452,2106,2045,2378,2595,2596,2922,2635,2546,2800,2097,2219,3123,2013,1666,2129,2308,2410,2429,3225,3285,2346,1992,2408,2633,2249,2317,2237,2427,2485,1731,1241,2041,2512,2470,2330,1782,1466,1560,1704,2259,2514,2245,1708,1911,1766,1156,1359,1561,1476,1598,2420,2873,2193,2712,2770,2776,2171,1738,1854,1946,2258,2017,1763,2216,2587,3018,3188,2669,1959,2112,2683,2023,1375,1614,2140,2203,2128,2404,2566,2241,1869,1781,1793,1568,1649,1767,2143,2396,2352,1793,1729,2410,3240,3730,3859,3874,3643,3444,3393,3580,3460,3239,3672,3282,3162,3270,2638,2238,1444,1686,2212,2857,3322,2988,3344,3009,3071,3396,3194,2702,2641,2459,2121,2425,2044,2017,1854,1685,1771,1521,1598,1440,1367,1538,1577,1448,1520,1678,1720,1738,1906,1672,1746,1987,2008,1684,1401,1401,1510,1656,1876,1927,1783,1883,1917,1710,1642,1580,1664,1511,1384,1401,1465,1547,1689,1478,1081,1283,1969,2039,1822,2182,1792,1582,1587,2165,3232,3334,2570,2475,2054,1676,2379,2684,2225,2197,1874,1648,1714,1642,1896,2459,2221,1689,2074,2687,2588,2184,2301,2420,2365,2071,1727,1677,1782,2232,2195,1718,1863,2258,2203,2219,1941,2418,2262,1935,1959,2817,3484,3532,3509,3418,3230,3075,2852,2865,2731,2656,2510,2631,2951,3024,2911,2854,2939,3161,3051,2844,2777,2777,3234,2730,1802,1354,1324,1365,1372,1427,1942,2663,2605,2422,2686,2637,2221,1785,1669,1865,1869,1893,1741,1543,1607,2134,2564,2678,3153,2994,2315,2071,2041,2126,1980,1699,1601,1634,1795,1671,1754,1694,1428,1384,1337,1498,1537,1469,1623,1633,1754,2046,1819,1541,1542,1593,1672,1552,1390,1339,1309,1322,1318,1313,1299,1295,1258,1377,1382,1317,1529,1537,1315,1420,1492,1401,1340,1359,1398,1310,1310,1373,1493,1369,1869,2276,1908,1870,1666,1477,1512,1532,1694,1742,1418,1310,1283,1273,1384,1383,1429,1326,1358,1264,1322,1345,1340,1374,1310,1216,1124,1378,1706,1731,1563,1510,1479,1302,1406,1403,1275,1234,1332,1425,1288,1254,1358,1564,1394,1367,1495,1511,1469,1609,1538,1435,1404,1420,1636,1606,1396,1535,1398,1366,1765,2217,2343,1850,1433,1299,1452,1789,1983,1602,1469,1472,1704,1837,1496,1394,1474,1517,1633,1906,1865,2026,1750,1825,1972,1709,1759,2497,2777,2487,2156,2258,3408,4002,4052,4264,4452,3563,2203,2056,2096,2097,1838,1609,1553,1570,1586,1511,1395,1650,1738,1477,1417,2041,2360,2486,2599,2294,2252,2430,2102,2288,1928,1622,1731,1816,1737,1724,1914,2034,2091,1920,1584,1690,1720,1686,1222,1505,1912,2030,2107,1754,1698,1950,1979,1896,2118,2456,2264,2040,2256,2118,1837,1824,1747,1801,1894,1820,1633,1781,1902,1767,1945,2147,2190,2858,3272,2718,1743,1747,1904,1936,2592,3388,2969,2104,1986,1741,1691,1635,2048,2130,1775,1759,1942,1946,1894,1722,1560,1671,1858,1648,1685,1899,2315,1768,1526,1739,1806,1578,1524,1509,1610,1641,1638,1531,1481,1468,1689,1714,2048,2644,2526,1968,1815,1743,1516,1795,1906,1623,1465,1516,1653,1930,1998,2019,1905,1838,1703,1790,2050,2036,1945,2088,2009,2276,2174,1958,1713,1695,1670,1631,1597,1622,1729,1842,1859,1786,1730,1838,1989,1829,1757,1641,1677,1578,1484,1714,2025,2229,2103,2574,2574,1718,1942,1951,1942,2477,2600,2759,2935,3006,2555,1880,1807,1681,2063,1955,1731,1721,1616,1599,1558,1710,1682,1497,1424,1578,1737,1960,2169,1826,1800,2024,2392,3222,3275,2652,2525,2776,1948,1479,1462,1621,1820,2143,1900,1856,2159,2124,2481,2644,2545,2012,1777,1873,1990,1830,1930,1955,2120,2454,2477,2182,1876,1466,1584,2392,2439,1956,1899,1638,1638,1752,1802,2114,2148,2233,2122,1562,1628,1998,1949,1922,2091,2183,2214,2121,2092,1889,1188,1678,2035,1876,2143,1852,1847,2465,2450,2693,2969,3111,3131,3530,3746,3936,3748,3716,3626,3141,2352,1776,1857,1616,1670,1520,1454,1405,1635,1953,2174,1782,1527,1780,2098,2318,2277,1924,2381,2451,2303,2061,1708,1784,2142,2352,2214,1962,1802,1771,1653,1832,1771,1583,1566,1415,1660,1671,1563,1605,1741,1848,1932,1732,1622,1438,1455,1507,1620,1535,1486,1519,1745,1992,1794,1519,1687,1945,1703,1784,1905,1746,1805,1900,2137,2006,1663,1738,1861,1626,1355,1387,1918,2665,2074,1913,1778,1522,1572,1710,1709,1905,1918,1616,1767,2110,2396,2976,3197,3161,3272,2921,2689,2566,3025,3494,3255,2768,2587,2886,3050,3312,3200,2975,3450,3769,3760,3629,3569,3073,2965,2954,3074,3273,2633,2618,3179,3186,3507,3494,2595,2715,2607,2216,2487,2486],[1796,2288,2547,3354,3063,3228,3364,2663,2533,2473,2065,2401,2711,2645,3008,3012,2730,2830,2580,2553,2619,2641,2856,2931,2769,2802,2646,2889,3661,2718,1934,1656,2059,2108,1952,2397,2652,2620,3251,3412,2907,2658,2273,3015,3984,4224,4077,3816,4069,3962,4080,4236,2944,2264,2321,2587,2642,2489,2311,2258,2813,3239,2829,2127,1815,1993,1753,1711,1844,1966,2046,1715,1491,1629,2543,3124,2852,2690,2543,2186,1965,2340,2547,2426,2302,1768,1620,1447,1418,1536,1505,1772,1696,1408,1287,1287,1423,1509,1447,1703,2186,2475,2645,2360,2698,3109,2533,1931,1851,1766,1755,1847,1784,1889,1994,1933,2098,2202,2203,2033,1995,1856,2107,2176,2344,3006,3165,2974,2655,2690,2743,3255,3645,3757,3672,3573,3406,3662,3455,2444,2065,2340,2384,2669,2645,2872,2831,3056,3023,2364,1606,1643,1929,1913,2067,2244,2232,2541,3443,3654,3500,3150,2920,3009,3189,3367,3339,3211,3474,3565,3098,2759,2957,3370,3385,3244,3327,3705,3121,3120,3613,3159,2996,3474,2957,1990,2698,2932,2808,2741,2416,2402,2676,2294,2320,3005,3654,3992,3544,3087,3100,3288,2742,2343,2720,2837,2512,2409,2513,2074,2253,2913,2713,2372,2371,2642,2614,3031,3133,2905,3442,3854,3603,3398,3428,3464,3307,3416,4042,3310,3741,4250,3641,3774,4240,4164,3031,2087,2064,1937,1732,1594,1692,2118,2026,1888,1819,2253,2544,1861,1425,1433,1586,1600,1679,2081,2244,1835,1812,1836,2196,2155,1931,1975,1882,1664,1722,2366,2420,1543,1770,2042,1850,2127,1880,1753,2137,2201,2417,2592,2347,2242,2769,3033,3000,3133,3033,2519,2177,2094,1842,1574,2163,2502,1878,1819,2403,2540,1698,1647,2126,3540,4004,2750,1719,1910,2263,2224,1825,1910,1922,1824,1511,1498,1636,1730,2037,1914,1642,1556,1771,2163,2349,1947,1689,1825,1954,1923,2208,3213,3223,3329,3031,2658,3055,3377,2920,2963,3111,2619,3653,3562,2507,1912,2358,2801,3219,3307,2835,2555,2454,3165,2947,2232,2079,2505,2474,2650,2567,3109,2992,2602,2658,2798,2789,2701,2640,2362,2321,2513,2746,2717,2501,1917,1689,2185,2764,2809,2494,1995,1880,1437,1478,1576,2100,2433,2263,2420,2142,1548,1497,1759,2108,2009,2109,2375,1875,1566,1534,2120,2469,2281,2779,2603,2105,2444,2879,2939,2074,1907,2238,2258,1872,1989,2056,1933,1960,1778,1874,1898,1646,1634,2018,2029,2020,2596,2774,2392,2101,2139,2065,2067,2063,2029,1952,1947,1872,2155,1898,1450,1549,2740,3545,3635,3482,3506,3466,2874,1907,1801,1982,1759,1923,2913,2973,2783,3208,3384,3210,3345,3646,3412,3055,3201,2833,1973,2460,3283,3084,2798,2831,2875,2917,2462,1866,1857,1856,1678,1779,1754,1766,1676,1843,1773,2453,2500,2404,2357,2658,2722,2279,2023,1948,1767,1450,1788,1823,1627,2115,2058,2155,2568,2430,2751,2948,2416,1953,1787,2182,2798,2420,1744,1680,1759,2032,2309,2647,2675,2083,1904,2348,2129,1936,2091,2542,2376,2355,2313,2343,1990,1679,1711,1823,1952,2036,2099,2565,2723,2212,2083,1781,1786,1827,1804,1762,1636,1428,1430,1586,1758,1644,1344,1252,1836,2312,2204,2405,2218,1702,1500,1512,1577,1529,1693,1543,1734,1881,2266,2820,3299,3121,2935,2481,1689,1448,1500,1621,1919,2449,2143,1854,1954,1919,1620,1771,1650,1554,1581,1593,1741,1946,2098,1956,2021,2056,1979,1803,1797,2060,1654,1947,2339,1937,1576,1643,1583,1654,1866,1850,1613,1490,1594,1982,1907,1489,1316,1511,1901,2182,2442,2575,2524,2310,1660,1465,1426,1409,1380,1382,1882,1959,1868,2023,2025,1960,1704,1769,2061,2016,1979,1923,1966,2056,2128,2533,3141,2705,1706,1600,1749,1524,1860,2472,2569,2129,1770,1474,1294,1465,1672,1838,1661,1539,1678,1498,1409,1533,1852,2523,3047,2537,2007,2094,1952,2531,3210,2763,2322,2323,2486,2534,2289,2081,2042,1940,2009,1852,1908,2439,2131,1974,1936,1729,2039,1904,1796,1886,1963,1860,1549,1637,1484,1395,1954,2025,2018,2497,2431,2438,1897,1465,1576,2270,2492,2496,2108,1480,2670,2364,2408,2114,2040,2599,2115,2365,3105,2988,2702,2515,2284,2446,2873,3175,3259,2441,2249,2908,1916,1595,1850,1747,1739,1790,1852,2045,2432,2438,2566,2380,2134,2026,1824,1794,1816,1534,1599,2010,2111,1902,1853,1875,1410,1597,1499,1444,2129,2584,2802,2710,2431,2342,1908,2047,2720,2462,2134,1786,2098,2260,1921,1601,1957,2128,2128,2302,2425,2437,2010,1913,2260,1953,1687,1600,1658,1822,1859,2173,2084,2364,3094,3105,2681,1866,1835,2585,2974,3361,3558,3624,2840,2046,2309,3055,2835,2382,2545,2916,2875,2968,3590,3212,2706,2568,2712,3177,3476,3633,3827,3709,3652,3254,2712,2161,1338,1654,2297,2784,2829,2783,3870,4433,3798,2922,2191,2136,2183,2194,2392,2630,2205,1646,1548,1878,2139,1810,1367,1444,1662,1905,1997,1787,1495,1633,1819,2082,1995,1974,2002,2482,2417,1874,1945,2145,1785,1897,2199,2063,1990,1773,2235,2122,2503,3261,2645,1993,2243,2302,2857,2707,2654,2358,2453,2864,2665,2833,3188,3084,2990,2996,2561,2269,2471,2148,1780,1982,1786,1906,2292,3053,2973,2237,2137,2250,2315,2305,2142,2386,1962,1873,2149,2327,2584,2430,1667,1792,2632,2812,2468,2110,2662,2764,2217,2205,2358,1685,1700,2082,1781,1722,1841,1625,1625,2192,2555,2454,2420,3022,3120,3486,2732,2413,1966,1432,2007,2566,2455,2675,2739,2574,2053,1953,2435,2446,2312,2071,2039,2213,2253,2402,2679,2873,2812,2076,1794,1920,1625,1398,1551,1621,1736,1966,1875,1450,1426,1832,2469,3177,3664,3406,2986,3163,3580,3863,3687,3747,4200,3660,2775,3162,2856,1926,1810,2049,2103,2740,3084,3021,3494,3481,3384,3730,3051,2597,2951,3021,2314,2116,1786,2037,2375,1841,1536,1703,1621,1519,1598,1695,1562,1745,1663,1598,1575,1505,1886,1817,1598,1747,1804,1643,1490,1482,1334,1274,1238,1493,1709,1885,1694,1557,1453,1430,1506,1379,1105,973,1329,1578,1512,1100,1131,1511,1844,1788,1725,1831,1856,1765,1619,2646,3516,3275,2576,2576,2165,1582,2040,2604,2383,2247,1959,1396,1440,1484,1559,1743,1913,1646,1957,2758,2699,2259,2486,2395,2445,2355,1671,1806,2156,2387,2305,2067,2147,2133,2372,2375,1935,2311,2096,1836,2958,3632,3592,3753,3755,3576,3465,3400,3120,2990,2820,2690,2566,2632,2699,2841,3064,3001,3010,3264,3196,2980,2713,2766,3277,3676,3286,2218,1436,1420,1385,1675,2456,2923,2597,2279,2210,2393,2603,2593,2579,1972,1547,1816,1810,1540,1745,2076,2336,2431,2519,2666,2013,1644,1780,1913,1924,1851,1606,1453,1685,1487,1522,1507,1388,1415,1427,1647,1899,1705,1590,1738,2313,2229,1768,1433,1470,1379,1382,1456,1383,1357,1357,1391,1396,1341,1306,1325,1354,1488,1423,1324,1488,1407,1585,1897,1727,1514,1379,1279,1316,1410,1483,1399,1515,1440,1677,1797,1624,1900,1848,1538,1520,1481,1622,1626,1332,1458,1516,1400,1338,1344,1423,1467,1415,1327,1408,1592,1437,1366,1375,1275,1263,1337,1615,2244,1813,1486,1472,1407,1406,1249,1251,1218,1202,1367,1239,1371,1487,1555,1458,1417,1581,1543,1462,1402,1349,1391,1434,1349,1559,1552,1488,1523,1488,1459,1527,1737,1745,1405,1473,1470,1488,1634,1757,1698,1459,1333,1690,1676,1471,1472,1409,1388,1351,1589,1729,2156,2358,2083,1854,1771,2088,2630,2447,2067,1925,1887,2898,3673,3875,4353,4608,3732,2204,1659,2069,2346,2182,1562,1634,1676,1541,1469,1657,2215,2087,1711,1628,2088,2499,2592,2336,2112,2321,2795,2517,3222,2869,2144,1941,1953,1488,1875,2492,2083,2029,2176,1901,1754,1613,1751,1531,1470,1602,1722,1849,1542,1687,2209,2225,2119,2424,2878,2318,1825,1824,1681,1694,1997,1911,1975,2030,1673,1867,1911,1862,1813,2096,1958,2060,2261,2688,2427,1747,1648,2225,2388,3130,3458,2889,1857,1839,1714,1707,2007,2385,2191,1724,1794,1978,2001,2032,1787,1475,1584,1692,1688,1705,1971,1997,1648,1547,1822,1742,1466,1687,1531,1641,1660,1716,1598,1695,1961,1994,1994,2273,2375,2023,1583,1541,1638,1582,1478,1532,1492,1507,1543,1585,1938,2361,2242,1904,1585,1613,2050,1828,1611,1609,1732,1746,1862,1900,1881,1888,1818,1597,1426,1534,1766,1724,2241,2214,2054,1679,1900,1826,1759,1687,1564,1726,1752,1520,1669,1873,2182,2206,2300,2065,2152,2418,2070,1984,2502,3110,3167,3063,3161,2315,1753,1591,1713,1886,1627,1571,1614,1736,1614,1625,1772,1559,1566,1669,1587,1493,1678,1770,1852,2109,1989,2219,2677,2797,2216,1874,1855,1639,1621,1533,1542,2312,2635,2281,2420,2649,2562,2655,2251,2007,1792,1891,2042,2299,1976,1970,1862,1818,2273,2343,2402,2182,1704,2398,2845,2703,2355,1852,1704,1883,1902,1768,1742,1885,2355,2396,1759,1884,2454,2277,1823,2011,2468,2612,2211,2404,2475,1950,2087,2071,1902,1847,1852,2409,2508,1638,2142,2832,3255,3637,3880,3913,3780,3632,3663,3435,2844,2154,1731,1813,1954,1874,1606,1554,1613,1812,1928,1747,1655,1801,1941,2182,2519,2525,2211,2153,2156,2060,1810,1758,1736,1713,1641,1566,1466,1704,1924,1755,1746,1711,1550,1461,1512,1519,1584,1678,1647,1824,1943,1870,1542,1460,1500,1599,1624,1500,1212,1100,1326,1509,1603,1766,1924,1927,2109,1671,1716,1636,1644,1718,1858,1856,1551,1544,1626,1670,1590,1381,1427,1809,2333,2427,2389,1978,1793,1905,1832,1724,1836,1937,1782,2055,2565,2842,2773,2746,2711,3013,2779,2752,2502,2469,3104,3262,3194,2998,2900,2943,3357,3421,2988,3391,3803,3287,3513,3916,3661,3208,2646,2791,3483,3073,3398,3551,2622,2746,3118,2724,2385,2011,1909,1762,1851],[3020,2912,3039,3365,3472,3429,2974,2633,2719,2597,1923,1778,1618,1740,2302,2330,2524,2499,2355,2980,2895,2567,2578,2652,2975,2802,2612,2834,3034,2546,2188,2008,2083,2058,1916,2293,2303,2491,3210,3500,3218,2845,2237,3055,4340,4018,3407,3774,3974,3683,3691,3671,3206,2626,2437,2529,2741,2646,2641,2163,2449,2878,2770,2131,1915,1900,1638,1743,1940,1953,1902,1583,1384,1408,2023,2986,3252,2495,1969,1864,2103,2230,1798,1954,2366,1897,1629,1434,1389,1604,1826,1816,1561,1330,1339,1472,1502,1554,1802,2061,2128,2379,2350,1731,1832,2669,2346,1767,1959,1858,1774,1890,1884,1851,1854,1893,1868,1931,2098,1904,2100,2053,1947,2185,2753,3352,3838,3683,3257,3038,2930,3194,3448,3448,3582,3767,3466,3305,3322,2567,2012,2131,2237,2394,2643,2555,2646,2958,3188,2536,1490,1396,1712,1779,1904,2656,3208,3579,3945,3779,3824,3414,3062,2934,3463,4030,3533,2799,3451,3473,3072,3140,3443,3405,3050,2973,3383,3406,2699,3108,3654,3372,3064,3482,3370,2392,2802,2382,2052,2315,2087,2544,3065,2756,2731,2453,2617,2778,2978,2876,3210,3184,2651,2606,2788,2489,2063,2476,2846,2813,2929,3010,2814,2856,3322,3187,2820,2586,2336,2499,3321,3697,3166,2655,2950,3144,3149,3631,3964,2919,3274,3917,3261,3575,4315,4037,3189,2270,2153,1665,1486,1570,1985,1999,1800,1778,1683,1676,1866,1880,1590,1519,1570,1481,1579,1586,1677,1561,1708,2142,2445,2398,2055,1837,1791,1586,1650,2141,2112,1749,2049,1712,1634,2054,2047,2161,2669,3060,3193,3112,2429,2579,3386,3425,3714,3378,3252,3503,2873,2038,2104,2187,2567,2662,2084,1956,1931,1769,1692,1736,2320,3520,3736,2777,2186,2169,2636,3260,2164,1565,1930,1765,1600,1531,1521,1560,1499,1506,1600,1538,1763,2339,2468,1803,1539,1937,2173,2221,3154,3717,3128,2768,2561,2373,2956,3491,3225,3050,3432,2998,3464,3217,3282,3105,3300,3592,3698,3717,3501,3366,2561,2988,2790,2127,2188,2571,2741,2862,2843,2951,2986,2950,2808,2718,2608,2857,3582,3587,2989,2324,2624,2653,2360,2010,1958,2126,2332,2141,1957,1989,2118,1640,1565,1504,1748,2496,2622,2203,1691,1493,1736,1851,2220,2324,2338,2230,1828,1643,1724,2081,2423,2622,2953,2641,2040,2241,2556,2744,2127,2227,2136,1995,1651,1787,2144,2153,2175,2173,2238,2132,2010,1905,2307,2487,2752,3231,3312,2539,2176,2215,2060,2248,2805,2767,2500,2200,1803,2099,1770,1592,2192,3362,3714,3608,3354,3329,3350,2597,1830,1715,1888,1869,1965,2531,2419,2320,2441,2563,2596,2598,2396,2281,2399,2321,1968,2232,2599,2608,2050,1813,2588,2939,2906,2464,1830,1958,1919,1565,1772,1918,1823,1536,1714,1533,1956,2321,2280,2362,2645,2490,2096,1873,1657,1635,1574,2114,1930,1726,2010,1957,2221,2420,2216,2501,2710,2493,2270,2270,2069,2176,1903,1831,1788,1731,1941,2165,2369,2532,2316,2095,2220,1820,1786,2247,3174,2554,2208,2336,2329,2214,1786,1793,2061,2138,2236,2276,2702,2919,2548,2283,2023,1930,1696,1604,1808,1673,1322,1237,1308,1738,1896,1509,1578,1627,1990,2288,2379,1999,1678,1506,1446,1748,1571,1815,1742,1859,2043,2175,3106,3404,2301,2375,2569,1711,1365,1712,1958,1999,2098,1992,1620,1694,1716,1613,1694,1582,1713,1678,1664,1625,1543,1828,1940,2213,2310,2258,1952,1654,1672,1642,1908,2605,2608,2091,1998,1779,1684,1776,1635,1450,1504,1589,1870,1986,1732,1642,1876,2498,2598,2017,1888,1876,1575,1437,1500,1498,1461,1397,1477,1675,1682,1882,1980,2002,2002,1736,1742,1942,2136,2140,2021,2372,2940,3207,3274,3059,2249,1770,1902,1816,1654,2071,2269,2293,2050,1818,1574,1209,1391,2028,2420,2079,1926,1660,1470,1465,1635,1827,1901,1991,1986,2237,2310,2229,2522,2487,2402,2160,1930,1907,2264,2438,2556,2245,1760,1918,2075,1859,2234,1886,1803,1845,1816,2082,1869,1738,1762,1985,1904,1690,1953,1468,1652,2634,2251,2196,2788,2737,2134,1791,1854,1781,1778,1736,2040,1721,2186,2907,2122,2060,1878,2163,2433,2051,2024,2378,2640,2631,2298,2115,2872,2946,3027,3203,2714,2119,2216,2114,2051,1976,1806,1826,1777,1805,1914,2139,2082,2288,2151,1919,1666,1559,1965,1794,1206,1534,2038,1847,1972,2243,2328,1715,1824,1861,1928,2483,2832,2635,2328,2384,1978,2031,2674,2873,2356,2114,1614,1619,2012,1940,1736,2087,2082,1837,2230,2564,2264,1902,2203,2092,1836,1884,2030,2205,2078,1609,1942,2464,2608,2712,2333,2110,1648,1845,2165,1896,2930,3105,2928,3338,2966,2636,2880,2572,2675,2840,2774,2491,2696,3467,2988,2769,3164,3097,3228,3439,3396,3230,3471,3860,4055,2970,1637,1388,2552,3550,4012,3415,2576,2811,3824,4136,3768,3089,2409,2077,2062,2432,2674,2521,2106,1987,2148,1873,1403,1286,1572,1730,1686,1811,1476,1542,1762,1594,1560,1815,1982,2411,3046,2792,2388,1865,1881,2092,2160,2320,1911,2031,2042,1863,1904,2441,2596,1615,1571,2108,2501,2076,1793,2045,1858,2313,3060,3089,3564,4124,3620,2812,2661,2038,2160,2259,1619,1344,1664,1917,2172,2379,2524,2269,1652,1410,1780,2521,2296,2216,2440,1860,1666,1793,2232,2418,2412,2388,2164,2322,2468,2166,2150,2916,3510,3065,2426,2326,1814,1929,1904,1070,1254,1506,1554,1878,1916,1768,1571,2158,2359,2978,3315,2566,2435,2361,2002,2361,2397,2718,2613,2535,1964,1836,2256,2611,2077,1850,2308,2590,2297,2284,2587,2666,2390,2048,1815,2065,2298,2032,1888,2060,2160,2115,2089,1816,1426,1376,1542,1815,2099,3273,3416,2907,3139,3682,3818,4058,4476,4608,3996,2763,2923,2482,1764,2226,2492,2632,3100,3488,3009,2765,3099,3064,2879,2365,2623,2622,2657,2088,1666,1812,2102,1829,1686,2029,2222,1587,1343,1498,1444,1692,1927,1995,1838,1807,1724,1938,2008,1321,1087,1509,1814,1592,1172,848,922,937,1146,1610,1952,1753,1443,1426,1366,1201,1181,1018,1221,1582,1592,1161,1115,1512,1716,1764,1749,1768,1654,1820,2096,1730,2755,4156,4006,2909,2288,2063,1614,1757,2384,2453,2342,2056,1310,1276,1378,1440,1582,2336,1984,1857,2735,2920,2489,2667,2946,3182,2332,1677,1809,2600,2580,2512,2208,2309,2287,2547,2501,1965,2094,2435,2930,3745,3705,3595,3691,3720,3487,3539,3550,3532,3405,3153,2872,2745,2841,2669,2578,2769,2840,2906,3119,3204,3024,2788,2779,2979,3448,3689,3392,2255,1694,1604,1398,1678,2166,2322,2288,1898,2208,2577,2368,2325,1907,1531,1701,1922,1625,1793,2164,2728,3022,2868,2236,1642,1592,1632,1664,1835,1746,1685,1728,1744,1668,1562,1560,1583,1590,1492,1855,2318,2008,1688,1622,1696,1877,1824,1454,1383,1401,1544,1560,1389,1293,1309,1380,1275,1270,1291,1247,1389,1380,1191,1160,1295,1393,1542,1654,1594,1572,1484,1322,1334,1548,1555,1346,1366,1424,1450,1520,1710,1958,1730,1368,1361,1531,1486,1411,1357,1580,1635,1393,1270,1461,1647,1548,1350,1400,1681,1772,1430,1278,1222,1250,1269,1236,1225,1398,1346,1310,1332,1257,1243,1316,1311,1230,1337,1516,1326,1596,1688,1712,1711,1621,1611,1567,1542,1449,1358,1601,1598,1496,2197,2248,1710,1542,1498,1454,1633,1913,1676,1344,1405,1419,1463,1461,1644,1762,1591,1473,1525,1456,1349,1355,1236,1260,1383,1758,2113,2690,2662,2732,2590,2128,2550,3118,2731,2169,2352,1633,2203,3203,3629,4064,4216,3306,1949,1715,2099,1940,2144,1744,1766,1500,1441,1434,1576,1940,1957,1630,1643,1996,2593,2670,2557,2779,2797,2790,2953,3497,2900,1950,1741,1610,1602,2554,3168,2645,1925,1974,2127,1851,1746,1826,1743,1491,1399,1552,1511,1308,1442,1736,1869,2331,2463,3162,3001,2464,2198,1959,1743,1940,2213,2461,2237,1730,2050,1737,1638,1742,2004,1680,1542,1684,1930,2316,2204,1836,2079,2201,2932,3179,2467,2254,2121,1817,1722,2105,2217,1823,1840,1954,1926,1716,1939,1911,1790,1706,1824,1929,2007,2266,2121,1633,1628,1699,1653,1786,2192,1736,1675,1896,2175,1783,1745,1988,1917,1834,1714,1565,1613,1768,1752,1632,1642,1548,1459,1714,1739,1577,1953,2667,2754,1911,1624,1428,1917,2243,1783,1576,1603,1678,1738,1522,1499,1660,1826,1885,1798,1563,1705,1640,1522,1524,1982,1923,1652,1653,1599,1770,1790,1576,1737,1760,1659,1709,1844,2019,2093,1844,1691,2234,2438,2155,2074,2324,3140,3100,2362,2152,1753,1628,1556,1606,1487,1535,1501,1492,1522,1636,1843,1908,1701,1694,1765,1712,1713,2154,2282,2090,2144,2250,2016,1915,2374,1982,1747,1726,1940,2036,1776,2120,2906,2818,2399,2304,2397,2320,2212,1632,1795,1764,1649,2006,2143,1888,1718,1791,2013,2204,2298,2346,1821,1974,2623,2491,3028,2976,2331,1914,1808,1870,1750,1739,1973,2260,2240,1932,1621,2131,1990,1628,2044,2133,2236,2256,2428,2566,2528,2659,2289,2193,1898,2164,2710,2746,2003,2016,2598,3228,3835,3938,3593,3416,3410,3528,3626,3309,2724,2032,1812,1872,1719,1726,2063,2014,2004,1998,1779,1832,1853,1815,2182,2170,2316,2314,1823,1699,1621,1502,1678,1665,1545,1398,1562,1614,1727,1791,1575,1490,1679,1634,1507,1542,1575,1754,1932,1798,1689,1963,1709,1558,1622,1896,2204,2174,2191,1963,1460,1537,1671,1826,2101,1948,1799,1742,1687,1573,1537,1560,1483,1864,2089,1924,2024,1660,1649,1448,1335,1428,1523,2056,2282,2050,1785,1816,1847,1775,1791,1810,1849,2063,2525,3190,3304,2724,2113,2099,2360,2488,2823,2670,2569,3316,3331,3002,2887,3066,2942,3119,3596,3172,3123,3794,4141,4328,4164,3987,3152,2475,2575,2934,2556,3097,3350,2619,2622,2601,2054,2002,2648,2988,2238,2171],[3331,3185,3445,3802,3470,3260,2787,2705,2326,2248,2040,1580,1506,1824,2288,2538,2743,2808,2976,3020,2856,3116,2994,2988,3261,2810,2500,2312,2311,2342,2411,2450,2468,2355,2269,2485,2400,2359,2662,2701,2509,2584,2144,2775,4030,3774,3409,3462,3090,3070,3432,3627,3197,2788,2696,2820,2928,2736,2588,2172,2081,2160,2260,2091,1939,1888,1717,1758,1776,1704,1610,1475,1376,1382,2039,2897,2641,1836,1672,1920,2356,2182,2219,2979,2737,1757,1317,1277,1250,1403,1560,1589,1465,1329,1512,1909,1826,1944,2160,2141,1959,2141,2038,1737,1617,2106,2123,1648,1983,2062,1966,1788,1703,1839,1933,2020,2427,2872,2664,2191,1843,1932,2314,2678,2734,2920,3421,3958,3720,3608,3573,3523,3310,3348,3414,3076,2632,3255,3736,2941,2229,1931,1835,1996,2320,2347,2029,2070,2393,2021,1636,1793,1988,2068,2276,3029,3829,4050,3816,3781,3952,3836,3305,3076,3589,3851,3220,2874,3796,3704,3565,3552,3482,3338,3212,3074,3291,3204,2999,3448,3331,3541,3299,3437,3230,2519,2622,2553,2501,2356,2286,2922,2901,2880,3163,2582,2789,2836,2900,3057,3061,2610,2469,2474,2552,2402,2665,2793,2767,2553,2198,2423,3064,3222,3118,2925,2370,2013,2355,2308,2570,3297,2740,2125,2099,2643,3210,3463,3294,3038,3477,3997,3753,3779,4176,3992,3205,3442,3509,2193,1621,1511,1601,1578,1577,1797,1786,1516,1701,2183,2120,1816,1649,1596,1639,1652,1908,1705,1962,2348,2460,2562,2083,1910,1832,1764,1688,1482,1709,1763,1846,1802,1903,2075,2135,2608,2917,2629,2478,2868,2578,3101,3344,3053,3420,3426,3228,3318,2571,1811,2391,2437,2340,2797,2592,2531,2175,1901,1677,1670,2316,3393,3752,3018,2189,2276,2556,3270,2710,2282,2086,1642,1626,1553,1581,1883,1694,1558,1574,1628,1730,2046,2390,1973,1781,1871,1808,2415,3617,3762,3227,2697,2321,2577,3398,3582,3340,3276,2718,2294,2420,2682,3273,3342,3343,3553,3752,3349,3775,3286,2441,2624,2513,2285,2699,2946,3141,3575,3443,3016,3018,2887,2793,2414,2383,2738,3746,4188,3638,2901,2621,2810,2460,1993,2112,2188,2266,2231,2427,2510,2151,1840,1691,1546,1545,2228,2776,2093,1549,1655,2071,2197,2309,2193,2155,1723,1652,1723,1763,1832,2011,2247,2634,2314,2275,2041,2470,2638,2336,2291,2187,1956,1730,2020,2204,2146,2339,2495,2563,2667,2509,2349,2405,3166,3915,3728,3396,2778,2242,2231,2136,2587,3130,3048,2728,2333,2078,1888,1831,2359,3300,3764,3702,3601,3461,3450,3365,2418,1870,1736,1682,1664,1710,1784,2100,2389,2615,2689,2385,1988,1973,1953,1877,2148,2100,2175,2512,2337,1801,1841,2477,2944,2806,2230,1580,1465,1577,1486,1760,1926,1519,1408,1412,1283,1656,2248,2387,2527,2527,2286,1655,1435,1441,1650,1945,2288,1945,1659,2033,2292,2260,2252,2301,2449,2314,2143,1740,2096,2050,1739,1518,1556,1655,1713,1858,2052,2375,2288,2104,2045,2041,2018,1921,2145,2532,2235,2083,2339,3123,2880,2249,2272,2047,2153,2380,2280,2470,2724,2418,1791,1760,2178,2181,1774,1708,1620,1465,1463,1423,1560,1848,1927,1778,1602,1575,1914,2068,1563,1261,1501,1297,1540,1732,2415,2785,2253,1649,1664,2320,2174,1819,2091,2126,1830,1831,1945,1595,1532,1686,2007,1923,1765,1670,2102,1931,1612,1805,1722,1582,1456,1940,2061,1836,1921,2014,2136,2211,2032,1852,1532,1641,2718,3155,3051,2415,1939,1859,1731,1526,1677,1901,1728,1772,2024,2167,2120,1787,2103,2315,2154,2032,1837,1737,1720,1712,1600,1562,1560,1553,1647,1703,2135,2596,2416,2114,1759,1704,1797,2135,2430,2346,2668,3397,3475,3100,2498,1999,1802,1817,1583,1489,1531,1722,2164,2412,2481,2050,1403,1461,1763,1800,2383,2228,2123,2212,1914,2060,2263,2230,2492,2916,2819,2470,2465,2424,2168,2036,2037,1897,1921,2099,1776,1926,2085,1844,1939,1931,1699,1721,1714,1680,2063,2553,2235,2050,2182,1740,1640,1783,1936,1918,1685,2227,2370,1813,1967,2756,2522,1892,2277,2449,2133,1489,1345,1924,2388,3183,2399,1719,1263,1565,2171,2253,2372,2138,2306,2610,2386,2662,2115,2887,2968,2786,2543,2722,2709,2323,2115,1957,1865,1858,2027,2018,2036,1942,2192,2334,2657,2368,1828,1635,1744,2128,1892,1393,1645,1862,2018,1835,1781,1802,1734,1906,1946,1945,2403,2747,2296,2282,2456,1932,2377,2321,2462,2154,1930,1541,1462,1936,1840,1745,1673,1555,1576,2311,2279,1897,1832,1924,2037,2134,2148,2048,1809,1427,1739,2176,2106,1880,2080,2071,2186,2073,2108,1973,1780,2770,3195,3023,3327,2852,3008,3139,2851,2724,2691,2684,2583,2768,3420,3317,2995,3155,3136,3255,3425,3653,2875,3001,3153,3473,2644,1752,1981,3125,4175,4604,4129,3364,2701,2941,3759,3960,4057,3299,2634,2204,2434,2468,2518,2481,2264,2274,2203,2172,1745,1772,1763,1305,1043,1036,1956,2271,1743,1600,1721,1911,2099,2699,3265,3066,2146,2432,2288,2267,2308,2124,2046,1674,1752,2009,2290,2513,1892,2104,2631,2736,2109,2108,2182,2267,2928,2928,2810,3362,3394,2540,2011,1754,1656,2413,2480,1552,1232,1651,1918,2110,2812,2775,1852,2052,2209,1814,1984,1959,2350,2543,2122,1892,2260,2372,1990,2193,2724,2297,2092,1991,1680,1871,2565,3408,3344,2610,2270,2178,2105,1678,1008,1434,1509,1723,2041,1878,1506,1847,2559,2829,3335,2934,2026,2181,2901,2662,2920,2297,2422,2729,2746,2273,2318,2497,2370,2208,2263,2426,2546,2441,2230,2092,2106,1780,1690,1985,2254,2491,2509,2048,1803,1830,1752,1938,1836,1730,1388,1462,1974,1919,2753,3632,3395,3174,3409,3882,4497,4472,3758,3653,2607,2953,2148,1895,2585,3254,2918,2776,3726,3226,2561,3237,2988,2447,2755,2436,1573,1438,1620,1609,1633,1085,634,1191,1792,1800,1470,1631,1709,1527,1928,2072,2310,2480,2288,1864,1753,1450,945,979,1652,1924,1782,1275,1111,1382,1423,1389,1692,1914,1754,1315,1378,1220,997,1275,1396,1522,1534,1262,918,1338,1861,1852,1730,1702,1572,1726,1810,2428,2176,2668,3843,3886,2809,2229,2041,1738,1935,2565,2685,2441,2021,1289,1302,1381,1422,1595,2333,2193,1847,2668,3131,2785,2868,3419,3875,2086,1726,1722,2268,2676,2676,2272,2230,2263,2504,2408,2031,2386,3217,3627,3707,3724,3770,3586,3492,3360,3439,3619,3626,3581,3606,3360,3216,3177,2895,2684,2600,2731,2853,3054,3051,2862,2864,2796,2624,3122,3305,3527,3373,2442,1910,1709,1795,2240,2646,2591,2379,2626,2321,1810,2091,2584,2009,1664,1918,2078,2172,2684,2976,2798,2789,2208,1704,1732,1585,1477,1694,1576,1474,1472,1594,1709,1771,1912,1930,1834,1824,1866,1786,1777,1738,1806,1838,1946,1866,1605,1406,1460,1577,1543,1356,1222,1293,1461,1270,1237,1253,1225,1318,1267,1194,1237,1443,1754,1577,1389,1483,1526,1485,1454,1483,1567,1528,1326,1348,1505,1501,1442,1411,1457,1566,1349,1390,1534,1407,1300,1248,1313,1416,1334,1285,1395,1361,1341,1364,1582,1593,1508,1333,1378,1458,1302,1268,1290,1256,1244,1253,1272,1188,1217,1267,1337,1256,1179,1388,1482,1331,1681,1819,1637,1587,1534,1493,1371,1619,1578,1522,1724,1593,1649,2601,2923,2043,1315,1387,1466,1477,1678,1417,1295,1323,1436,1407,1350,1290,1477,1686,1598,1465,1410,1335,1358,1271,1265,1584,1952,2302,2812,2812,2351,2352,2224,2164,2397,2331,2373,3210,2677,2699,3011,2906,2980,2656,1915,2095,2454,2061,1657,1732,1554,1421,1468,1496,1376,1362,1692,1641,1311,1474,2086,2439,2211,2494,2988,2573,2559,2852,2535,2329,2366,1900,1512,1509,1590,2293,2308,1730,1796,1910,2089,2100,1861,1583,1422,1533,1477,1396,1515,1586,1612,1626,1790,2166,2514,2523,2366,2367,2161,2023,2459,2680,2636,2179,1665,1933,1954,1840,1739,1750,1564,1447,1506,1684,1966,2376,2337,2069,2481,2558,2420,2291,2581,2321,1992,1791,1996,2167,1648,1568,1599,1734,1656,2015,1966,1822,1857,2562,2618,2051,2067,2133,1663,1920,2039,1868,1629,1729,1955,1960,2223,2300,2048,1874,1877,1770,1579,1454,1576,1542,1723,1804,1583,1691,1924,1837,1572,1542,2371,2831,2402,2242,1850,1524,1489,1852,2060,2068,2074,1843,1912,1733,1466,1512,1485,1743,1910,1882,1867,1815,1877,1770,1394,1664,1775,1857,2054,1884,1741,1810,1411,1553,1628,1588,1572,1719,2058,1802,1486,2010,2646,2614,2222,2075,2127,2469,2546,2172,1860,2188,2139,1974,1784,1565,1518,1418,1443,1504,1579,1843,2203,1973,1588,1792,1793,1881,2371,2414,1940,1790,1907,1901,1966,2281,2183,1860,1726,2029,2177,2056,2552,2446,1965,2007,1702,1888,2050,1873,1976,2019,1796,1932,2122,1961,1713,1737,2217,2393,2151,2024,2033,1895,2175,2363,2733,3164,3006,2386,1916,1774,1821,2204,2049,1928,2160,2258,2170,1896,2148,1968,2051,2200,2010,2286,2586,2448,2623,2700,2510,2303,2250,2141,2535,2875,2786,2480,2669,2853,3075,3596,3425,3165,3316,3454,3825,3794,3127,2817,2396,1832,1936,1803,2149,2472,2030,2124,1937,1881,2310,2245,2156,2135,1973,2001,1837,1825,1955,1704,1731,1859,1688,1500,1431,1472,1678,2037,2072,1611,1521,1671,1547,1319,1263,1479,1660,1692,1627,1735,1866,1625,1636,1775,1941,2114,1978,1943,2040,1885,1779,1962,1960,1937,1673,1558,1562,1566,1551,1612,1523,1446,1548,1614,2007,2035,1976,1804,1572,1523,1611,1678,1858,1749,1595,1676,1658,1490,1728,1971,1576,1533,2152,2591,2745,2923,2727,2299,2389,2412,2643,2430,2642,2852,3222,2621,2253,2336,2862,2922,3067,3414,3107,2791,3531,3921,3990,3683,3590,3018,2436,2231,2372,2396,2814,2928,2420,2562,3081,2533,2438,3112,2663,2243,2271],[3362,3267,3651,3658,3508,3414,2480,1776,1941,2451,2242,1785,1958,2248,2171,2510,2603,2758,2834,2701,2977,3198,2850,3055,2852,2423,2344,2207,2333,2555,2790,2795,2611,2579,2695,2988,2801,2890,2758,2528,2441,2589,2786,2830,3260,3597,3295,2656,2599,2678,3098,3465,3109,2661,2897,3034,2886,2603,1970,1808,1918,1888,2327,2260,1869,1892,2071,2319,2128,1870,1631,1496,1508,1458,1779,2436,2397,1598,1380,1731,1861,1654,1998,2844,2504,1672,1387,1377,1501,1694,1571,1501,1388,1397,1590,2272,1917,1997,1970,1848,1819,1660,1709,1708,1757,2032,2079,1806,1898,2044,2025,1967,2299,2668,2568,2249,2364,2513,2502,2357,1890,1995,2364,2869,2390,2408,2898,2471,2910,3829,3850,3077,2454,3333,3666,3295,3264,3355,3308,2819,2313,2095,2146,1982,2180,2387,2144,2204,2338,2270,2566,2646,2498,2604,2872,3094,3659,3666,3292,3604,3747,3566,3172,3220,3637,3289,2445,3508,4213,4046,3746,3441,3398,3595,3532,3527,3362,3250,3251,3235,3195,3451,3602,3616,3184,2900,2690,2641,3232,2799,2808,3242,3596,2884,2709,2777,2885,3018,3227,3130,2526,2181,2078,2173,2404,1832,2456,2407,2570,2354,2701,3602,3594,2995,2330,2429,2511,2409,2836,2599,2732,3379,2578,2004,1994,2566,3359,3266,2963,3309,3643,3918,4135,4005,3674,3827,2866,3287,3664,2621,1792,1638,1758,1685,1659,1932,1994,1737,1820,2136,2021,1668,1629,1787,1788,1967,2182,1925,1706,1851,2105,1885,1745,1814,1719,1753,1756,1422,1610,1771,1778,1882,1885,1677,1982,2448,2325,1895,2607,2570,2332,2780,3110,3251,3557,3457,2976,2706,2037,1870,2685,2719,2260,1964,2142,2037,1832,1732,1515,1477,2079,3261,3585,2688,2036,2006,1928,3165,3538,2906,2136,1701,1911,2198,2176,2230,1628,1620,2138,1827,1699,1959,2117,1954,1786,1675,1605,2038,3169,3850,3440,2873,2451,3110,3857,3276,3087,3215,2626,1922,1684,2143,2543,2633,3099,2956,2755,3037,3240,2699,2208,2373,2181,2241,2984,3040,3059,3714,3499,3369,3388,3156,2696,2600,2606,2655,3046,3492,3792,3498,2732,2733,2171,1901,2157,2571,1953,2136,2161,1990,1929,1956,1926,1533,1321,1710,2133,2039,2471,2214,2086,2016,1916,1932,1950,1918,1799,1603,1546,1570,1504,1575,2003,2028,2155,2066,2110,2359,2495,2114,1945,2085,2210,2303,2504,2520,2308,2533,2576,2510,2331,2267,2446,3305,3762,3353,2942,2531,2141,1978,2086,2890,3032,2706,2864,2430,2266,2365,2564,3312,4039,3940,3650,3705,3758,3563,3312,2364,1798,1710,1779,1836,1758,1859,2383,2837,2803,2998,2898,2197,1939,1569,1572,2796,2940,2442,2562,2265,1751,1774,2365,2840,2204,1639,1560,1948,2094,1841,1640,1439,1366,1345,1364,1538,1682,2222,2585,2573,2374,2070,1660,1521,1473,1613,1729,1771,1874,2120,2338,2299,2285,2762,3078,3034,2630,2183,1920,2002,2316,2132,1534,1477,1644,1870,1950,2501,2940,2664,2720,2511,2427,2442,2483,2376,2236,2811,2325,2176,3272,3017,2462,2311,2097,2187,1886,1589,1737,1886,1482,1251,1797,2149,2072,1948,1619,1603,1525,1520,1453,1420,1644,1931,2047,1766,1616,1794,1604,1619,1358,1584,1655,1780,1982,2696,3232,2665,2028,2442,2733,2062,1746,1636,1636,2212,2048,1668,1387,1379,1469,1696,2134,2112,2190,2392,1663,1679,1639,1475,1506,1715,2024,1863,1772,2137,2122,1950,2197,1998,1617,1763,1993,2644,3121,3019,2162,1724,1676,1705,1617,1805,2008,1858,2116,2141,2329,2392,1874,1795,2072,2226,2145,1867,1712,1748,1661,1575,1539,1426,1335,1555,1960,2120,2744,2778,2209,1809,1707,1671,1989,2586,2463,2691,3442,3272,2956,2685,2242,1836,1599,1471,1670,1675,1686,2239,2956,2907,2091,1622,1492,1615,2222,2695,2507,2847,3133,2731,2430,2389,2367,2223,2535,2481,2154,2072,2026,1930,1865,2230,2198,2185,2479,1788,1742,1821,1982,2018,1674,1682,1700,1796,1800,2033,2200,1911,2083,1907,1496,1616,1607,1853,1675,2013,2780,2414,1906,2319,2551,2205,1990,2348,2612,1956,1283,1604,2220,2681,2876,2482,1804,1791,2387,2465,2508,2773,2620,2856,3027,3118,2911,2601,2902,3144,3150,3033,2756,2742,2419,1988,1686,1789,1710,1743,1719,1814,2128,2400,2334,2171,1965,1655,1567,1670,1909,1919,1615,1604,1996,2217,1750,1625,1766,1667,1706,1698,1428,2112,2459,2181,2224,2015,1860,1641,1456,2025,2078,2139,2042,1886,1914,1923,2117,1482,1476,1417,1688,1875,1865,1958,2098,2188,2204,2133,2133,2017,2062,2886,2615,2429,2674,2386,2087,2296,2046,1804,1929,1964,2426,3100,3637,3721,2998,3186,3038,2663,2633,2700,2791,2724,2663,3311,3780,3736,3838,3641,3508,3408,3907,3316,2866,2952,2788,2206,1842,1697,2732,3841,4333,3181,2742,2540,2015,2781,3626,4104,4252,3613,2555,2225,2108,2048,2383,2506,2366,2767,3134,2370,1810,1410,834,721,1500,2328,2225,1807,1827,1943,2149,2135,2246,2866,2858,2585,2701,2568,2331,1963,1974,1951,1686,2123,2050,1968,2173,2140,2511,2700,2607,2648,2833,3009,2938,3295,2544,2567,3255,2903,2077,2145,1592,1841,2784,2486,1490,1384,1861,2048,1630,2517,2663,1979,2128,1832,1662,2149,2702,2758,2319,2018,2012,2362,2426,2313,2980,3335,3250,2713,1928,1605,1866,2015,2564,3176,2750,2426,2630,2159,1395,1360,1654,1584,1948,2105,1836,1700,2266,3022,3452,3110,2326,2263,2150,2393,2054,2458,2409,1981,2203,2200,1994,2051,1897,1608,2332,2219,2171,2079,1548,1332,1772,2017,1654,1753,1964,1996,2008,1644,1594,1647,1561,1500,1666,1810,1898,1703,1654,2127,2072,1931,2698,3619,3562,3647,4397,4587,4068,2785,2569,2322,2286,1807,1851,2500,3056,2355,2222,3335,3794,2863,3037,3056,2678,2825,2162,1481,1718,1767,1892,1637,929,502,979,1183,1191,1953,2460,2084,1626,1620,1882,1771,1506,1159,1156,1526,1275,1011,1208,1798,1915,1737,1262,904,1195,1247,1022,1561,1759,1488,1142,1330,1193,1014,1317,1589,1628,1416,1048,1306,1990,1960,1769,1598,2035,1767,2020,1823,2245,2181,2041,3064,3460,2500,2218,2061,1866,1843,2653,2745,2500,2075,1594,1377,1359,1401,1525,2098,2247,1787,2580,3110,2710,3028,3841,3840,1988,1663,1844,1953,2480,2390,2042,1885,1788,2162,2089,2007,2762,3784,3956,3625,3633,3697,3484,3303,3206,3271,3415,3462,3398,3452,3482,3517,3527,3298,2980,2722,2704,2797,2872,2864,2840,2889,2974,2998,3352,3319,3463,3983,3742,2684,1814,1698,2143,2734,2626,2094,1839,1725,1838,2220,2637,2204,2079,2353,2191,2017,2545,3151,2977,2705,1865,1651,1689,1551,1498,1578,1555,1516,1503,1480,1570,1969,2209,2074,2137,2064,1839,1602,1594,1594,1483,1453,1593,1770,1623,1531,1828,1592,1534,1390,1312,1438,1578,1461,1418,1288,1266,1279,1246,1412,1558,1549,1622,1478,1456,1522,1505,1387,1364,1343,1481,1530,1288,1388,1627,1777,1501,1351,1666,2093,1566,1224,1328,1302,1276,1245,1207,1298,1335,1353,1456,1394,1338,1362,1561,1497,1537,1415,1322,1325,1334,1421,1403,1207,1122,1229,1341,1255,1302,1336,1281,1072,1062,1619,1724,1559,2003,2010,1968,1687,1347,1387,1708,1677,1737,1891,1719,1423,1659,2193,2129,1766,1387,1400,1444,1392,1598,1480,1345,1282,1319,1431,1458,1288,1311,1497,1624,1648,1577,1602,1556,1451,1559,1792,2080,2481,2734,2206,1516,2126,2033,1770,1932,2018,2277,2587,2312,2547,2649,2422,2555,2147,2026,2527,2688,2228,1875,1739,1698,1697,1650,1526,1299,1375,1714,1736,1488,1861,2194,2353,2464,2688,3010,2806,2513,2292,2281,2685,2458,1904,1537,1361,1565,1802,1555,1471,1614,1841,2167,2148,1696,1559,1586,1784,1462,1600,1800,1960,1880,1845,2130,2003,1760,1968,2032,1981,2355,2162,2398,2479,2697,2576,2132,2238,2198,1720,1692,1940,1772,1608,1913,1903,2387,2739,2579,2295,2361,2740,2437,2209,2169,2035,2122,1973,1971,2358,1682,1542,1408,1488,1839,1992,1985,1823,2200,2597,2144,1715,1715,2028,2050,2174,2214,1898,1824,2088,2062,1889,1616,1927,2461,2036,1806,1660,2144,2097,2176,2103,2122,1780,1565,1604,1798,2046,1559,1572,2148,2048,1882,2060,1860,1628,1715,1659,1969,2562,2360,1908,1988,1675,1537,1419,1396,1627,1675,1904,2004,1971,2073,1892,1703,1832,1923,2021,2360,2179,1612,1585,1349,1511,1742,1701,1585,1639,1776,1623,1869,2454,2226,2856,2514,2226,2168,1844,1760,2030,1955,2405,2502,1747,1438,1420,1425,1515,1447,1520,1622,1850,1895,1698,1647,1732,1577,1748,2215,2091,1725,2031,1740,1919,2398,2321,2150,1901,1832,2011,1855,1773,2123,2182,1888,1761,1218,1367,1896,2059,2331,2250,2162,2405,2360,1884,1716,1931,2467,2194,1768,1954,2060,2331,2370,2431,2362,2291,2467,2094,1854,1756,1822,2630,2584,2297,2323,2352,2358,2205,1926,1921,2042,1825,2020,2735,3219,2855,2343,2103,2282,2041,1924,1967,2328,2675,2442,2121,2213,2193,2851,3785,3594,3474,3481,3351,3560,3773,3158,3039,2729,2082,2270,1823,2487,2253,1845,1891,1659,2027,2173,1880,2113,2166,2103,2092,1801,1816,1824,1721,1620,1655,1605,1429,1416,1604,1804,2027,1854,1559,1669,1638,1528,1428,1346,1225,1217,1470,1634,1719,1759,1709,1791,1898,1761,1769,1841,2036,1930,1648,1766,1919,1914,1975,1881,1807,1746,1664,1710,1919,1647,1593,1545,1838,2226,1814,1822,1712,1556,1475,1488,1605,1672,1545,1666,1743,1512,1393,1560,1681,1647,1841,2430,2525,2307,2805,3012,2839,2981,2700,3764,2910,2890,2852,2898,3110,2652,2340,2351,2253,2700,3063,2945,2560,3130,2899,3229,3040,3097,3418,3310,3010,3125,3032,3238,3251,2862,2752,3418,3663,3074,2776,2210,1988,2295],[3321,3369,3486,3298,3365,3342,2261,1260,1636,2286,2104,1663,2105,2450,2175,2447,2746,3256,2949,2777,2959,2473,1993,2396,2378,2322,2486,2624,2360,2497,3054,3414,3002,2854,2832,3061,2321,1943,2050,2218,2648,3117,3249,2976,2756,2940,2884,2653,2755,2941,3019,3195,2853,2457,2865,3096,3096,2792,1923,1835,2113,2139,2542,2311,1894,1887,2336,2542,2198,1859,1685,1581,1620,1545,1670,1983,1953,1477,1309,1794,1643,1638,1962,2147,1920,1614,1533,1511,1554,1582,1398,1402,1301,1336,1693,2082,1634,1616,1593,1500,1609,1642,1765,1896,2034,2035,1913,1891,1917,2068,2323,2578,2828,2797,2214,1791,1874,2771,3041,2554,2050,1965,2669,2922,2146,2099,2476,2370,2806,3718,3715,3042,2730,3340,3318,2862,2834,2339,2203,2501,2457,2626,2621,2295,2134,2070,2274,2344,2500,2455,2398,2636,3047,3464,3319,2884,3230,3206,3108,3683,3374,2750,2675,2886,2805,2525,2531,3642,4285,4245,3914,3549,3486,3571,3555,3871,3851,3783,3750,3631,3609,3446,3558,3562,3262,3288,3271,3130,3109,2516,3029,3412,3908,3544,3008,2888,3016,3189,3549,3615,3174,2268,1997,2554,2644,2581,3100,2795,3019,3008,2978,3232,2996,2513,2144,2721,2708,2909,2714,2682,2855,3162,2643,2124,2294,2876,3486,3266,2992,3796,3883,3562,3908,4006,3492,3061,2749,3373,3711,3111,2434,2203,2253,2127,2169,2531,2453,2291,2310,2283,2301,2068,1852,1692,1701,1987,1835,1508,1493,1708,1940,1707,1715,1671,1615,1654,1852,1745,1650,1871,1936,1769,1680,1710,2076,2168,2429,2160,2436,2406,2370,2852,3023,2879,3143,3244,2762,2422,1842,2185,2700,2962,2565,1922,1665,1541,1771,1878,1599,1744,2975,3897,3727,2690,2045,1658,2108,3379,3286,2285,1709,1690,2232,2518,2462,2229,2253,1970,2389,1957,1572,1621,1657,1690,1510,1304,1660,2322,3081,3370,3625,3043,2611,3371,3519,3017,3116,3183,2901,2091,1871,2369,2856,2915,3437,2787,2938,3736,3629,3037,2584,2225,1714,2049,2907,2856,2484,2612,2811,3349,3563,3392,3017,2719,2552,2528,2673,2951,3205,3406,3023,2496,2244,2603,2210,1901,1974,2349,2146,1798,1890,2078,1830,1547,1533,1736,1813,1988,2149,2042,1797,1760,1691,1684,2161,2362,1990,1712,1675,1597,1412,1639,1941,2116,1886,1629,1482,1958,2323,2020,2035,2410,2697,2690,2702,2515,2576,2452,2359,2460,2641,2453,2535,3344,3650,3064,2491,2102,2078,1990,2479,3364,3442,2455,2689,2940,2598,2491,2799,3388,3859,3874,3758,3827,3724,3521,3248,2397,1875,1990,2109,2151,2200,2162,2315,2964,3233,3265,3024,2409,2002,1368,1740,3098,3789,3341,2278,1766,1886,2222,2337,2285,1710,1606,1578,2285,2442,2068,1789,1545,1501,1382,1376,2087,1932,2091,2402,1985,2189,2119,2208,1815,1402,1654,1689,1417,1601,1885,2047,2461,2833,2900,2520,2720,2423,2196,1914,1867,2315,2024,1453,1333,1513,2166,2038,2322,2756,2777,2779,2944,2996,2562,2850,2878,2609,3008,2161,1890,2370,2574,2143,1971,1853,1664,1505,1417,1582,1811,1778,1598,1848,1859,1911,2387,2021,1707,1598,1455,1336,1460,1538,1538,1923,2031,1919,1604,1562,1687,1519,1670,2060,1955,1838,2530,3029,2641,2755,3178,3051,2291,1399,1307,1477,2032,1984,1483,1490,2018,1877,1765,2027,1911,1901,1907,1575,1614,1636,1654,2071,2056,1831,1774,1922,2242,2003,1771,2117,2223,2078,2114,1794,2241,2934,2303,1274,901,1329,2026,1792,1694,2144,2125,2267,2142,2162,2105,1902,1867,1755,1652,1683,1502,1683,1726,1542,1649,1511,1448,1462,1656,1883,1908,2701,2852,2042,1811,1749,1616,1782,2468,2355,1892,2236,3031,3122,2785,2757,2715,2135,1785,1708,1869,1887,2313,3282,2795,1802,1508,1656,2162,2452,2476,2797,3157,3566,2973,2147,2115,2022,2019,1898,1689,1909,2113,2398,2492,2414,2244,2122,2169,2532,2075,1982,1992,1905,1812,1645,1653,1909,1929,1736,2233,2393,2041,1898,1481,1388,1605,1232,1349,1747,2329,2566,2278,2130,2260,2133,2198,2059,2236,2048,1332,1348,1691,1865,2197,2952,2974,2562,2415,2051,2540,2590,2728,2842,2727,3060,3315,3111,3211,3270,3082,3029,3471,3538,3085,2404,2204,1786,1486,1613,1602,1520,1610,1709,1868,1629,1475,1599,1683,1684,1637,1539,1868,1695,1405,1633,1540,1559,2184,2095,1779,1736,1643,1377,1880,2405,2250,2066,1731,1738,1660,1678,1763,2076,2632,2166,1880,1924,2251,2066,1794,1814,1859,2044,2310,2511,2631,2605,2589,2296,1966,2582,2742,2684,3419,3378,2876,2702,2473,2414,2236,1745,1928,2449,2204,1836,2065,2602,3541,3430,3237,3039,2564,2633,2441,2238,2692,2855,3333,3984,4062,3951,3829,3937,3920,4006,3924,3243,2531,2308,3035,3174,2053,2959,3687,4003,2979,2351,2622,2470,2433,2954,3585,4272,4132,3263,2522,2346,2320,2512,2478,2536,2644,2850,2287,1511,1058,768,1892,3332,3470,3286,2073,2288,2475,2553,2365,2723,2745,2585,2714,2806,2653,2041,1493,1976,1825,2143,2047,1730,2016,2209,1807,2296,2640,2342,2187,2500,3323,3088,2995,3038,3172,2957,2131,1845,1961,2054,2261,2556,2334,2071,2177,2414,2205,1680,2137,1813,1821,2267,1960,2331,2797,2527,2110,1666,1707,2086,2392,2590,2500,3085,2987,2946,2712,1997,1809,2045,1983,2174,2678,2615,2147,2248,1605,914,1094,1426,1519,1829,1825,1791,2060,2244,2669,3094,2397,2089,2088,2019,2381,2158,1846,1606,1748,2218,1981,1583,1346,1772,1979,1831,1780,2085,2188,2062,1857,2192,2365,2151,1967,1608,1998,1931,1442,1833,2266,2290,2313,2225,2125,1811,1541,1851,2069,1808,1607,1730,3172,3938,4291,4385,4034,3552,2995,2437,2430,2171,2134,2343,2566,2500,1246,1787,2864,4014,3880,3680,3118,2471,2249,2078,2271,2598,2467,2497,1873,1396,778,1099,1373,1375,2299,2520,1906,1572,1603,1775,1255,1128,1168,1228,1643,1486,991,1275,1859,1926,1804,1360,785,975,1033,998,1375,1591,1249,1135,1146,1161,1293,1440,1535,1455,1354,1416,1686,1365,1525,1779,1639,2012,1915,2104,2013,2000,1885,1823,2691,3266,2431,2424,2168,1794,1486,2451,2708,2576,2215,1595,1309,1407,1408,1526,2027,2490,1940,2717,2750,2513,3473,4322,3580,1924,1846,2048,2023,2073,1858,1941,1723,1656,1876,1904,1825,2173,3324,3862,3274,3134,3396,3386,3442,3252,3226,3282,3230,3256,3254,3233,3531,3658,3560,3393,3051,2727,2684,2631,2753,2878,3099,3225,3417,3566,3539,3385,3723,4173,3846,2986,2169,2330,2612,2114,1777,1701,1746,2014,2017,2138,2194,2180,1944,1827,1826,2188,2584,1708,1913,1862,1639,1482,1426,1426,1435,1456,1436,1338,1331,1393,1525,1784,2175,2270,2048,1899,1578,1393,1425,1498,1521,1533,1766,1644,1448,1443,1473,1555,1383,1405,1535,1503,1474,1499,1531,1431,1463,1383,1497,1537,1377,1380,1592,1838,1780,1658,1489,1281,1300,1482,1532,1411,1430,1484,1846,1538,1331,1444,1765,1431,1185,1312,1306,1281,1315,1300,1257,1364,1427,1517,1306,1216,1271,1317,1271,1337,1380,1297,1262,1259,1326,1371,1242,1390,1494,1461,1569,1507,1326,1227,1173,1295,1843,1926,1616,1812,1720,1878,1616,1432,1704,1849,1736,1936,1894,1600,1522,1702,1817,1788,1837,1542,1444,1361,1361,1484,1560,1508,1383,1318,1547,1496,1378,1356,1597,1664,1689,1731,1851,1816,1736,1793,1910,2138,2449,2384,2308,1842,2468,2101,1586,2098,2322,2216,2148,1997,2200,2026,2143,2205,1752,2192,2728,2377,2014,1959,1794,1703,1545,1483,1565,1481,1466,1614,1682,1601,2023,2082,2332,2785,3142,3007,2448,2034,2378,2856,2585,1979,1649,1415,1541,1760,1738,1600,1376,1333,1635,1869,2062,1871,1699,1581,1535,1483,1619,1866,2066,1749,1497,1809,2023,2105,2122,2002,1586,1979,2322,2266,1892,2266,2509,2495,2558,2017,1620,2003,1966,1800,1774,2208,1887,2003,2479,2359,2021,2116,2272,2271,2202,1793,1715,1955,1976,1939,1880,1604,1870,1785,1570,1574,1752,1691,1772,2085,2110,1771,1738,1908,2403,2167,2173,2442,2208,2221,2205,1960,1860,1508,1765,1879,1998,1997,2182,2799,2400,1937,2154,2154,1613,1553,1557,1866,2354,1730,1715,1715,1844,2043,2303,1840,1531,1582,1814,2073,2198,1954,1978,2062,2004,1763,1570,1556,1584,1489,1798,2110,2106,1981,1869,1825,1997,2066,1714,1514,1604,1572,1611,1363,1459,1726,1644,1563,1660,1875,2232,2503,2657,2634,2832,2408,2066,1990,1719,1555,1691,1875,2353,2208,1784,1438,1254,1484,1577,1530,1610,1643,1412,1298,1421,1533,1703,1630,1772,1773,1757,2067,2565,2327,2416,2292,1938,1979,1930,1695,1851,1768,1660,1728,1690,1711,1699,1450,1784,2182,2322,2169,2124,2138,2114,1987,1702,1564,1946,2068,1895,1650,1749,1913,2072,2199,2501,2259,2050,2231,1981,2112,2061,2044,2508,2570,2183,1959,1866,1851,2181,2566,2557,2047,1775,2327,2951,3098,2768,3156,3500,2928,1959,1582,2019,2561,2314,2220,2577,2260,1715,2611,3873,3891,3605,3492,3177,3242,3431,3229,3169,3051,2070,1619,1697,2731,2510,2002,1818,1803,1968,2028,2148,2283,2095,2072,2025,1654,1681,1536,1505,1559,1824,1889,1553,1494,1740,1888,1713,1804,2057,1839,1532,1700,1569,1451,1428,1521,1525,1606,1842,1824,1698,1763,1986,1936,2053,1777,1770,1748,1620,1715,1650,1647,1765,1865,1874,1791,1578,1871,2172,1990,1606,1709,2451,2381,1864,1973,2126,1682,1375,1641,1882,1879,1927,2200,2271,1692,1475,1756,1611,1846,2178,2208,2322,2395,2242,2310,2587,3103,2539,2899,2988,3024,2380,1995,2131,2177,2394,2620,3103,3357,3399,3421,2695,2740,2763,3134,3168,3146,3771,4063,3658,3803,3652,3599,3681,3761,3383,3521,3872,3492,2639,2050,2049,2415],[2951,2785,3145,3343,3354,3106,2187,1743,1842,2292,2120,2192,2722,2855,2470,3113,3520,3180,2785,2867,2758,2239,2049,2157,2298,2670,2409,2149,2362,2052,3407,3507,3074,2919,3184,3088,2110,1501,1782,2243,3169,3918,3970,3935,3110,2945,3024,3216,3052,2938,2919,2853,2503,2366,2590,2814,2792,2633,1974,1939,2272,2375,2495,2267,2164,2117,2109,2116,1969,1890,2148,2047,1728,1783,2014,2060,1764,1388,1427,1719,1692,1618,1724,2136,2218,1866,1387,1506,1477,1387,1287,1293,1350,1437,1532,1516,1457,1540,1556,1578,1733,1779,1848,1918,2043,2176,2166,2107,2151,2218,2262,2167,2346,2195,1910,1784,1991,2373,2272,2017,2122,2044,1971,2151,2362,2537,3050,3229,3174,3649,3872,3760,3454,2753,2280,1608,1902,2207,2392,2631,2632,3019,2602,2520,2337,2058,2273,2035,2242,2234,2458,3175,3532,3284,3074,3327,3681,3623,3427,3143,2402,2298,2378,2398,2316,2068,2770,4065,4464,4377,3884,3419,3477,3480,3688,3731,4136,4081,3890,3947,3759,3431,3394,3697,3642,3435,3613,3476,2896,2624,2908,3116,3359,3587,3210,3139,3286,3514,4097,4328,3030,2275,2270,2237,1920,2527,3256,2985,2777,2275,2152,2272,2092,2023,2194,2962,2797,2585,1954,2370,2690,2978,2792,2336,2798,3274,3550,3400,3474,4433,3986,3202,2733,2787,2845,2855,2900,2967,3365,3472,3085,3086,3362,3203,3282,3493,3255,2608,2306,2554,2399,1889,1531,1511,1627,1803,1672,1720,1692,1658,1713,1598,1624,1998,2098,1869,1871,1654,1661,1764,1826,1682,1632,1664,1946,2017,2465,2539,2394,2260,2176,2733,2963,3862,3352,3055,2526,2375,2556,2737,2812,2868,2254,1889,2138,2157,2436,1925,1650,2048,3572,4400,3881,2735,2004,1880,2438,2721,2142,1736,2014,2023,2288,2291,2587,2344,2344,2137,1883,1583,1549,1631,1574,1647,1757,1439,1714,2648,3254,3505,3536,2980,2344,2456,2850,3017,3050,2347,2403,1936,1778,2047,2452,2520,2714,2399,2416,2707,2863,2597,2394,2239,1726,2337,3308,2829,2330,2520,2732,2871,3000,3130,3212,3162,2698,2472,2564,2618,2620,2572,2489,2541,2692,2692,2259,2038,2128,2341,1998,1611,1533,1863,1774,1895,1806,1834,2010,2086,2053,1918,1728,1957,1890,1901,2122,2277,2095,2031,1842,1622,1568,1714,1888,1982,1844,1608,1592,1892,1926,1898,1978,2154,2413,2619,2764,2676,2636,2426,2357,2493,2634,2453,2533,2817,3100,2738,2662,2131,2046,2205,2578,3029,3248,3285,3144,3087,2702,2284,2940,3537,3764,3660,3672,3737,3552,3475,2966,2297,2554,2777,2480,2293,2514,2690,2762,2912,3009,2993,3168,3178,2556,1975,2461,3230,3795,4144,3335,2133,2024,2086,1780,1787,1711,1645,1592,1950,1990,1849,1806,1696,1693,1716,1694,2591,2500,2034,2037,1873,2190,2562,2312,1743,1497,1593,1650,1786,2264,2113,2301,2791,2288,2150,2051,1659,1796,1971,2046,2316,2129,1442,1421,1436,2086,2676,2124,1888,1979,2025,2272,3077,3244,2608,2938,2806,2354,2138,2017,2115,2467,2125,1678,1801,1636,1346,1678,1908,1801,1678,1571,1578,1639,1620,2099,2488,2170,2135,2036,1318,1136,1614,1757,1379,1656,2049,2077,1897,1664,1439,1593,2094,2271,1875,1878,2468,2707,2880,2868,2724,2192,2039,1864,1914,1982,1915,1822,1538,1310,1911,2054,1683,1565,1677,1730,1648,1472,1899,2164,2171,2033,1727,1785,1729,1582,1602,1621,1713,2241,2332,2207,2136,1754,1939,2408,1727,1209,1411,1722,1856,1838,1664,2110,2405,2358,2558,2424,1971,1780,1761,1515,1383,1463,1577,1649,1469,1455,1398,1562,1756,1676,1575,1398,1526,2144,2338,2025,2027,1838,1562,1661,2144,2160,1693,2086,2968,3304,3230,2978,2442,2264,1888,2142,2894,2154,2152,2864,2292,1527,1348,1727,2216,1961,2293,2556,2800,3558,3090,2298,1905,1660,1562,1320,1582,2048,2744,3638,3365,3042,2374,1876,1836,2094,1842,1750,1872,1742,1667,1749,1715,1811,2050,1710,1843,1802,1735,1595,1225,1350,1379,1040,1201,2117,2708,1902,1763,2601,2072,1686,1863,1963,2062,1839,1398,1466,1752,2047,2993,3492,2930,2708,2407,2419,3219,2867,2693,2430,2118,2490,2912,3266,3641,3372,2732,3038,3414,2955,2003,1878,2012,1720,1514,1666,1574,1456,1533,1484,1579,1397,1486,1505,1581,1622,1735,1621,1511,1449,1477,1616,1457,1812,1888,1704,1787,1670,1730,1947,2337,2498,2149,1905,2045,2298,2098,1643,1324,1388,1827,1936,1933,1858,1860,2074,2376,2598,2808,3003,3030,2903,2632,2522,2626,2427,1986,2684,2875,3168,3565,3519,3250,2964,2939,2742,2266,2448,2297,2292,2234,2226,2501,2663,2532,2426,2262,2048,2197,2799,2911,2740,3085,3141,3305,3916,4164,4018,3982,4211,4236,4207,4135,3605,2620,2489,3073,2931,2534,3013,2886,3413,4116,3767,3303,2807,2432,2161,3055,4034,4119,3743,3221,2601,2130,2321,2426,2534,2375,2299,1928,1562,1494,2056,3288,3232,3033,3333,2170,2275,2447,2754,2719,2521,2358,2285,2265,2546,2387,1848,2025,2598,2098,2380,1954,1853,2388,2419,2211,2120,2220,2264,2398,2670,3044,2747,2735,2609,2900,2422,1998,1995,2268,2855,2275,2076,2079,2972,3239,3218,2709,2307,2302,1920,2045,1946,1620,2055,2163,1690,1786,1685,2071,2380,2836,2790,2850,2753,1961,2254,2800,2186,1941,2483,2690,2668,2432,2404,1953,2018,1238,891,1363,1510,1685,1797,1647,1924,2316,1998,1969,2149,1471,1655,1958,2290,2532,1804,1084,1054,1208,1474,2110,2004,1530,1932,1959,1680,1981,2127,2340,2400,2099,2115,2511,2336,1805,1726,2309,2166,2046,2126,2398,2474,2994,3764,3673,3189,2689,2453,1556,1383,1765,1762,2586,3016,3254,2830,2026,2480,2897,2494,2414,1872,2522,2714,2441,1863,1505,2515,3124,3853,4083,3440,2912,2470,2626,2566,2675,2827,2689,2389,2069,1393,879,1150,1483,1334,1559,1740,1600,1257,1408,1646,1488,1552,1627,1168,1333,1187,669,1004,1578,1730,1698,1589,983,1406,2397,2282,1463,1528,1464,1279,1098,1368,1676,1350,821,883,1377,1563,1461,1202,1694,1691,1741,1740,1803,2018,1928,1875,1782,1824,2479,3361,2677,2454,2174,1757,1522,2370,2839,2613,2344,1766,1498,1373,1331,1474,1874,2370,2426,3077,2476,2307,3340,4283,3337,1772,2045,1919,1990,1835,1549,1600,1648,1802,1775,1862,1644,1774,3152,3804,3255,3109,3062,3256,3574,3527,3272,3297,3330,3313,3204,3180,3418,3542,3666,3782,3630,3207,2942,2632,2590,2867,3114,3314,3414,3506,3704,3785,3845,3902,3776,3566,3011,2566,2213,1715,1706,1664,1778,1920,2077,2232,2133,2069,2026,1737,1913,1819,1742,1360,1685,2101,1823,1582,1593,1709,1657,1474,1460,1484,1396,1600,1594,1548,1749,1834,1710,1590,1439,1511,1713,1582,1434,1448,1758,1643,1412,1400,1538,1495,1316,1157,1173,1383,1619,2180,2352,1644,1528,1335,1393,1359,1345,1448,1502,1363,1291,1282,1294,1360,1444,1432,1327,1231,1381,1393,1566,1405,1252,1333,1425,1394,1412,1492,1490,1372,1426,1486,1329,1410,1384,1327,1203,1173,1270,1450,1456,1266,1273,1300,1323,1279,1345,1348,1249,1467,1398,1476,1802,1668,1414,1896,1615,1434,2089,2226,1610,1594,1575,1607,1515,1467,1578,1517,1603,1932,1932,1780,1729,1681,1903,2294,2067,1644,1403,1461,1499,1606,1694,1700,1456,1354,1481,1432,1419,1433,1533,1565,1519,1661,1929,1992,1871,1726,1853,2214,2456,2258,2610,2540,2665,2151,1995,2432,2338,2120,2165,1910,1973,1824,2246,2584,2624,2598,2408,1936,1708,1626,1538,1532,1658,1592,1728,2016,1881,1626,1509,1510,1510,1627,1863,2417,2942,2779,2770,2543,2348,2286,1831,1693,1506,1378,1423,1549,1653,1501,1393,1519,1649,1748,1902,1823,1809,1960,1880,1975,2186,2928,3175,2332,1759,1940,2288,2659,2271,2084,1679,1925,2656,2188,1771,2110,1964,2231,2469,1930,2099,2390,2171,1888,1575,1559,1653,1728,2027,1904,1764,1958,2227,2146,1952,1599,1535,1620,1873,2109,1824,1628,1673,1829,1639,1347,1622,1798,1871,1738,1758,1776,2030,2512,2699,2373,2611,2843,2498,2326,2274,2296,1814,1682,1646,1520,2287,2263,2178,1954,1481,1302,1721,1792,1569,1553,1515,1797,1976,1670,1905,2360,2603,2664,2279,1893,1758,1742,2030,2023,1873,1760,1813,2259,2234,1720,1595,1623,1692,1686,1562,1712,1902,2046,1968,1940,1887,1837,1514,1682,1794,1682,1563,1355,1407,1584,1590,1557,1831,2744,3197,2978,2955,2802,2519,2078,1694,1639,1548,1680,1823,1731,1874,1856,1987,1678,1502,1584,1488,1555,1522,1415,1333,1397,1585,1733,1837,1759,1918,1702,2059,2473,2209,2371,2316,1760,1810,2240,2155,1674,1712,2040,1813,1652,1732,1598,1727,1688,1735,2116,2342,2386,2058,1720,1683,1667,1708,2448,2469,2039,1988,1839,1772,1901,1847,2044,2499,2696,2148,1971,1808,1835,2317,2177,2121,2040,1742,1811,1954,1809,1962,2506,2690,2331,2052,2741,3197,2918,2584,3492,4107,3549,2779,2281,2260,3204,2710,2568,2544,1970,1611,2418,3544,3737,3553,3248,2854,3046,3257,3138,2985,3057,2578,1842,1742,2288,2336,1961,1846,1989,2006,2204,2467,2231,1772,1794,1729,1509,1812,1717,1504,1734,1950,1816,1604,1594,1613,1733,1706,2004,2371,2179,1687,1747,1672,1447,1508,1781,1620,1712,1924,1789,1578,1569,1746,2424,2294,1676,1724,1726,1495,1488,1549,1496,1536,1716,1821,1772,1550,1865,2064,2276,1765,1726,2159,2036,1832,1918,2131,2004,1901,2244,2432,2625,2683,2880,2825,2204,2114,2105,1869,2180,2194,1997,2141,2271,1579,1870,2374,2941,2401,1928,2055,2348,2238,2018,1729,2052,2613,3128,3711,3548,3495,4016,3103,2884,3605,3394,2626,2174,2783,3820,3638,3939,3785,3286,3412,4013,3729,3648,3721,3128,2411,2165,2158,1895],[2592,2255,2603,2731,2775,2684,2279,2385,2204,2005,2369,3104,3392,3326,2865,3294,3610,3097,2730,2737,2688,2831,2869,2950,2987,2705,2469,2260,2651,2429,3627,3758,3060,2962,3537,3189,1636,1108,1695,2568,3873,4199,4228,3951,2858,2835,3124,3429,3176,3193,3287,2866,2895,2770,2321,2226,2265,2234,2297,2376,2300,2365,2484,2322,2249,2430,2409,2176,2020,1944,2059,2013,1901,2008,2066,1880,1577,1377,1656,1844,1578,1401,1671,1955,2046,1614,1374,1595,1719,1756,1661,1550,1489,1448,1460,1610,1650,1696,1829,1910,1993,2029,2095,2411,2607,2568,2364,2019,2091,2166,1764,1714,2175,2059,2158,2213,2720,2602,2464,2578,3127,3381,3277,3536,3632,3637,4015,3975,4047,4180,4172,3805,2854,2165,1962,1869,2305,2481,2395,2796,2503,2232,2105,2341,2054,2237,2125,2091,2181,2140,2536,3008,3172,3072,3189,3579,4078,3920,3486,2799,2358,2449,2453,2305,2138,1930,2723,3475,3902,3801,3551,3449,3341,3444,3775,3820,4064,4004,4080,4196,3552,3376,3261,3251,3077,3076,3483,3558,3075,3153,3432,3739,3841,3375,3059,3275,3530,3625,3894,4193,3124,2719,2619,1870,2109,2977,2687,2130,2261,2398,2791,2775,2913,2773,3024,3511,2687,2069,2093,2438,2619,3085,3339,3015,3046,3685,3594,3441,3688,3927,3519,3389,3027,2731,3055,3531,3316,3098,3598,3601,3339,3792,4304,4137,3774,3173,3182,2818,2447,2886,2496,1941,1586,1673,2085,1948,1574,1952,1866,1728,1763,1697,1703,2044,1941,1505,1594,1660,1625,1608,1585,1745,1731,1854,2254,2248,2467,2699,2022,1908,1999,2407,2388,4264,3484,2304,2242,2489,2539,2889,3311,2811,2344,2768,2876,2620,2535,1863,1853,2623,3086,3176,3486,3076,2117,1973,2172,1985,1695,1639,1964,1865,1692,2072,2230,2170,2214,1871,1731,2049,2233,1657,1715,1840,2119,1835,1797,2122,2590,3069,3320,2999,2206,2171,2260,2097,2138,1632,1691,1519,1703,2096,2438,1819,1396,1579,1901,2335,2789,2112,1883,1921,1519,2201,3111,3135,2829,2424,2474,2653,2827,2938,3418,3561,3299,2754,2640,2625,2713,2411,2669,3079,3140,3066,2889,2553,2503,2333,2298,2481,2285,2183,2298,2231,2009,1879,2014,2222,2315,2128,1954,2161,1792,1669,1700,1989,2009,2293,2262,1914,1630,1678,1860,1820,1710,1902,2331,2377,2101,1912,1843,2165,2548,2729,2932,2940,2767,2690,2754,2658,2540,2475,2707,2644,3222,3561,3178,2497,2543,2663,2583,2191,2116,2526,2664,3162,2680,2689,2877,3373,3569,3073,3204,3504,3507,3566,2791,2290,3086,3343,2747,2702,3146,3442,3529,3559,3354,3011,3203,3559,3121,2293,3285,3861,3758,4084,4189,3230,2657,2504,1874,1559,1887,1988,1581,1530,1486,1784,2198,2382,2277,1958,1847,2632,2757,2061,1893,2106,2223,1937,1728,1621,1477,1499,1533,1818,1875,1484,2136,2671,2030,1652,1887,1787,2057,2073,2552,2381,1796,2113,2289,2255,2623,2774,2196,1625,1638,1814,2174,2957,3082,2440,2338,2461,2241,1956,1598,1720,2245,2193,1970,1710,1646,1912,2533,2431,1762,1572,1750,1666,1605,1775,2081,2172,1938,1635,1682,1429,1142,1459,1369,1381,1881,1937,1969,2266,2011,1597,1693,1919,1757,2017,2542,3097,2791,2962,2552,1947,1730,2029,2265,2156,1883,1693,1755,1652,1355,1682,1918,1652,1715,1752,1542,1577,1757,1927,1883,1625,1414,1772,1834,1578,1632,1671,1650,1798,1946,2092,2161,2103,1698,1797,2460,2166,2273,2376,2111,1654,1831,1724,1925,2306,2558,2662,2260,1819,1719,1625,1496,1409,1730,1961,1593,1367,1430,1376,1633,1745,1439,1207,1124,1376,1751,2122,2238,2489,2361,1802,1623,1961,2122,2222,2919,3298,3286,3313,2923,2390,2216,1654,2123,2544,1807,1691,1849,1746,1604,1485,1698,2051,2137,2081,1970,2239,2979,3072,2302,1785,2043,1936,1534,1617,1889,2348,3020,2692,2286,1880,1714,1638,1735,1576,1422,1590,1759,1724,1542,1689,1908,2309,1903,1717,1747,1990,2041,1854,1831,1810,1606,1836,2615,3356,2483,1998,2782,2361,2182,2310,2010,1965,2402,2398,2072,2288,2714,3234,2622,2373,2142,2360,2712,2884,2898,2568,2091,2062,1964,2475,2842,3185,3372,3015,3416,3250,2166,1772,1899,1781,1782,1596,1526,1473,1427,1372,1296,1290,1317,1389,1447,1500,1478,1539,1462,1334,1337,1532,1643,1487,1932,1412,2102,2377,1834,1641,1980,2319,2170,1799,1892,2169,2320,2448,1624,1199,1266,2222,2540,2211,1584,1677,2604,2976,2973,2868,2962,2902,2588,2661,2888,3008,2845,2599,2496,2299,2640,3038,3220,3235,2754,2974,3028,2833,2936,2206,2400,2383,2413,2602,2375,2144,2127,1939,1848,1968,3248,3726,3226,3137,3174,3138,3349,3794,3946,3977,3953,3724,3562,3557,3459,2938,2374,1947,2244,2874,3060,2409,2958,4361,4552,3564,2851,2743,2042,2910,3705,4086,3943,3806,2958,2189,2120,2286,2466,2263,2128,1901,1768,1672,1915,2449,2189,1901,1765,1440,1393,1593,2142,2663,2654,2207,2321,2171,2243,2165,2062,2548,2840,2824,2702,2039,2127,2453,2185,2032,1847,2140,2730,2243,2108,2371,2451,2519,2564,2331,2130,2779,3238,2900,2836,2110,2204,2713,2911,3045,2739,2149,2036,2065,2554,2965,2338,1615,1937,2597,2968,2558,2334,2357,2421,2728,2702,2602,2091,1834,2260,2492,2291,2399,2780,2543,2350,2394,2227,1913,1717,1244,1318,1706,1688,1808,1551,1750,1726,2290,1735,1864,2481,2392,2644,2906,2710,2541,2061,1140,1116,1290,1804,2486,2008,1497,1986,2125,2147,2250,2259,2317,2233,2249,2236,2400,2166,1701,1881,1964,1923,1643,1656,2468,2510,2446,2618,3395,3728,4052,3263,2194,2397,2482,2367,2267,1767,1744,1687,1521,2153,2182,2188,1900,1716,1981,2442,2402,1753,1859,3002,3543,3740,3702,3230,3141,2674,3369,2861,2779,3321,3242,2712,2131,1587,1134,1089,1200,1171,1203,1121,903,708,1255,1615,1350,970,878,919,1152,1144,1132,1246,1403,1751,1759,1842,1239,1366,1892,1497,1248,1622,1831,1722,1611,1626,1578,847,635,1397,1448,1466,1866,1741,1695,1717,1655,1399,1411,1599,1603,1837,1665,1911,2306,3406,2971,2469,2242,1764,1650,2732,3161,2651,2399,1793,1647,1497,1738,1947,1915,1974,2579,3035,2455,2585,3517,4171,3111,1584,1889,1820,1931,1892,1504,1481,1898,2203,2164,2093,1852,2486,3972,4016,3402,3139,2844,3076,3343,3486,3269,3165,3332,3390,3240,3184,3272,3374,3680,3741,3649,3423,3194,2952,2690,3104,3364,3391,3437,3480,3724,4003,3902,3729,3579,3775,3602,3043,2177,1870,1854,1813,1832,1834,1919,1989,1780,2110,2647,2511,2376,1754,1568,1644,2031,2108,1785,1690,1813,1931,2201,1909,1822,2326,2105,2146,1801,1613,1726,1684,1500,1427,1636,1805,1772,1492,1308,1361,1755,1691,1473,1426,1425,1318,1044,808,907,1375,1500,1755,1675,1669,1475,1387,1322,1338,1395,1343,1325,1337,1333,1141,1454,1593,1432,1405,1398,1409,1494,1440,1401,1346,1368,1478,1529,1444,1368,1431,1629,1549,1477,1393,1329,1354,1294,1238,1246,1261,1421,1594,1424,1359,1291,1386,1373,1310,1295,1289,1175,1091,1101,1243,1521,1973,1993,2768,1749,1349,1524,1800,2518,2356,1570,1427,1383,1316,1338,1406,1492,1708,1960,1949,1793,1611,2028,2108,2042,1833,1403,1549,1581,1885,1942,1680,1464,1371,1434,1460,1431,1419,1462,1382,1432,1595,1821,1790,1736,1547,1739,2110,2544,2841,2414,1926,1826,1780,2269,2348,2204,2032,2257,2061,2161,2010,2253,2785,2807,2171,1685,1686,1666,1567,1607,1545,1525,1456,1697,2414,2281,1646,1378,1360,1333,1367,1503,1857,1866,1892,1887,1741,1693,1776,1718,1677,1610,1459,1309,1437,1792,1534,1373,1595,1696,2009,1870,1863,2876,3019,2475,2520,2995,3620,3549,2944,2236,2119,2465,2091,1793,1923,1918,2042,2560,2284,1987,2319,2096,2048,2007,2217,2232,1715,1938,1888,1532,1530,1699,1827,1900,1513,1698,1851,2164,1898,1545,1425,1591,1643,1622,1764,1655,1507,1646,1876,1706,1611,1793,2179,1729,1618,1923,2220,2658,3452,4019,3775,3150,2890,2676,2119,1626,2367,1913,1788,1670,2116,2853,2714,2236,2212,2274,2016,2007,1879,1644,1607,1716,1813,1602,1523,1830,1961,2111,2379,2065,1740,1699,1645,1982,2179,2222,1930,1694,2154,2013,1763,1853,1770,1882,2164,1824,1538,1642,2099,1923,1887,1849,1692,1558,1757,1872,1721,1746,1671,1598,1643,1761,1750,2752,4065,3877,3484,3451,3054,2640,2159,1901,1820,1707,1670,1606,1679,1833,1838,1733,1516,1448,1453,1462,1538,1497,1530,1511,1577,1809,1831,1765,1566,1629,1627,1947,1973,1869,2095,1895,1702,1902,2709,2925,2276,2282,2428,1893,1732,1747,1780,1894,1826,1830,1969,2255,2221,1667,1664,1644,1990,2213,2534,2486,2191,1941,1789,1857,1902,1900,1837,2130,2690,2231,1911,1822,2353,2394,1932,1814,1739,1548,1962,2521,2412,1989,2077,2601,2658,2641,3187,3520,2657,1930,2822,3396,3411,3593,3120,3134,3594,3024,2482,2331,2150,1565,1945,2918,3353,3373,3243,3107,3278,3041,2490,2686,2597,2740,2334,1896,1737,1731,1821,1818,2046,2115,1981,2131,1964,1982,2060,2024,2396,2689,2207,2111,1980,1824,1874,1626,1719,1609,1840,1879,2061,2127,1714,1591,1714,1599,1355,1560,1970,1621,1759,1749,1715,1666,1735,2243,2722,2416,1989,2047,1837,1114,970,1166,1264,1428,1679,1801,1671,1759,1700,1732,1835,1540,1397,1477,1502,1659,1858,2177,2505,2647,2757,2789,2746,2647,2746,2719,2313,1979,1793,1739,1878,2065,1835,1901,2242,1931,1645,2159,2800,2576,1808,1518,2017,2326,2545,2241,2326,2832,2820,3398,3420,3283,3842,3120,2442,3367,2926,2057,1572,2174,3576,3872,4096,3891,3576,3576,3824,3770,3343,3015,2736,2482,2349,2479,2699],[1392,1824,2071,2016,2048,2753,3067,3064,2996,2503,2856,3400,3451,3140,2829,3010,2980,2598,2863,2353,2335,2491,2592,3020,2972,2577,2510,2386,2491,2319,3238,3469,3154,3542,3840,3039,1272,1243,1882,2977,3818,3970,4036,3802,3104,2687,2965,3304,3040,3187,3186,2933,2890,2587,2302,2309,2920,2942,2646,2598,2611,2542,2335,2171,2096,2021,2276,2957,2956,2686,2663,2053,1588,1525,1525,1650,1621,1555,1809,1858,1619,1509,1594,1565,1752,1644,1514,1604,1729,1653,1600,1629,1520,1400,1517,1863,1862,1790,1912,2076,2276,2665,2647,2691,2732,2308,2026,1863,1858,1952,1943,2584,2687,2434,2905,3398,3564,3759,3826,3661,4004,4271,4109,4277,4377,4275,4168,3962,3930,4169,4308,3705,2757,2320,2432,2718,2641,2473,2121,2722,2632,2246,2421,2499,1924,1864,2066,2420,2468,2576,2784,2700,2957,3075,3416,3904,3752,3242,3034,2580,2447,2482,2105,1939,1910,1868,2798,2893,3498,3350,3519,3500,3397,3243,3361,3706,3777,3653,4075,4037,2927,2668,3050,2878,2765,3335,3517,3294,3545,3681,3706,4188,3947,3662,3749,3675,4005,3342,3083,2965,2940,2954,2588,2477,2958,3300,2862,2014,2010,2740,3265,3288,2937,2512,2598,2920,2467,2207,2696,2923,2769,2970,3674,3362,3205,3639,3632,3461,3238,2911,3089,3342,3060,3284,3340,3272,3166,3333,3513,3370,3600,4141,4312,3736,3031,2774,2877,2820,2664,3151,3123,2158,1651,1515,1744,1678,1560,1653,1691,1708,1704,1671,1695,1965,1903,1714,1556,1710,1782,1754,1641,1723,1719,1994,2534,2401,2542,2698,1976,1846,1892,2035,1863,2616,2350,1959,2246,2309,2241,2599,3153,2688,2121,2475,2185,2213,2021,2009,2426,2835,2608,2466,2443,2393,1816,1719,1691,1605,1682,1767,1764,1826,1840,1829,1934,2121,1790,1572,1938,2082,1872,1676,1772,1907,2190,1944,1690,1616,1669,1973,2246,2380,2054,1921,2109,2039,1587,1641,1636,1780,1916,2433,2432,1560,1397,1550,2148,2692,2688,2178,2370,2394,2084,2497,2890,2756,2529,2597,2388,2573,3463,3174,3362,3528,3474,2967,2509,2445,2602,2498,2769,3176,3285,3609,3841,3842,3763,3201,3249,3492,2854,2645,2962,2779,2321,2312,2422,2243,1786,2160,2147,1924,1953,1921,1845,1635,2124,3062,2947,2207,1831,1837,1982,2008,1651,1707,2025,2154,2084,2052,2125,2514,2793,2977,3094,2767,2750,2744,2857,2831,2681,2569,2800,2941,3144,3339,3103,2609,2091,2263,2482,1964,1952,2597,2630,3200,2332,2133,1988,2806,3394,2673,2364,2744,2975,3144,2626,2233,2662,3008,2225,2121,2661,3216,3364,3427,3298,3050,2980,2856,3164,3661,4158,3963,3974,3994,4125,4028,3696,3029,2008,1688,2123,2388,1933,2012,2298,2662,2813,3198,2862,2133,1959,2753,2868,2126,1768,1700,1628,1519,1554,1472,1466,1722,1748,1958,1804,1493,1765,2446,2262,1497,1648,1720,2169,1848,1796,1665,1791,2596,2688,2222,2145,2496,2309,1914,2123,2155,2173,2263,2174,1921,1721,2669,2670,1690,1375,1996,2500,2270,2268,1958,1908,1912,2182,2056,1808,2178,2136,1708,1489,1609,2060,2637,2536,1610,1388,1445,1470,1473,1223,1448,1725,1550,1746,2112,2135,1974,1881,1833,1751,2298,2724,3262,2929,2591,2014,1599,1735,2108,2410,1915,1725,1582,1749,1672,1507,1720,1826,1863,2155,2149,1759,1678,1878,1901,1996,1809,1520,1662,1730,1722,1687,1690,1626,1686,2033,2255,1966,2011,1933,1762,2343,2281,2525,2368,1779,1484,1822,1880,1833,2235,2425,2027,1913,1838,1688,1523,1405,1405,1774,2019,1652,1475,1463,1371,1508,1527,1324,1278,1224,1350,1736,1958,1892,2061,2184,1861,1600,1981,2199,2325,3130,3322,3137,3206,2910,2485,2150,1703,1571,1447,1616,1730,1586,1680,1442,1475,1730,2750,3181,2216,1916,2013,2141,2144,1955,2023,2150,1825,1672,1638,1682,1939,2474,2843,2173,1655,1481,1401,1481,1411,1386,1520,1884,1808,1501,1554,1968,2154,2012,1914,1882,1998,1856,1709,1369,1657,2299,2449,2433,3013,2414,2056,2388,2458,2138,1852,1952,2316,2586,2480,2403,2949,2919,3042,2722,2242,2302,3272,3266,2621,2838,2663,2254,2032,1724,2338,2472,2641,3010,3083,3339,2886,1910,2064,1938,1520,1721,1873,1897,1559,1517,1666,1460,1606,1586,1289,1405,1546,1480,1468,1757,1547,1337,1414,1447,1402,1669,1751,2539,2721,2047,1609,1780,2052,1998,1654,2336,2447,2046,2219,1610,1274,1704,2634,2854,2415,1822,2116,3062,2464,2548,2858,2920,2549,2869,3318,3454,3720,3494,3168,2888,2467,2734,2909,2869,2953,2723,2714,2980,3248,2880,2479,2558,2592,2607,2366,1826,1831,2060,2004,1945,2049,3657,4156,3491,3221,3216,3064,3033,3067,2966,3222,3184,2763,2501,2475,2625,2536,2387,2335,2630,2868,2680,2026,2408,3923,4670,4267,3639,2329,1985,2644,3498,3805,3898,4025,3765,3383,2703,2221,2296,2209,2322,2075,1399,1516,1387,1796,1699,1635,1804,1653,1371,1290,1680,2529,2500,2720,2470,2274,1986,1937,2243,2534,2852,2842,2297,2074,2238,2282,2133,2039,2113,2150,2854,3153,2366,2301,2416,2296,2319,2175,2548,3053,3104,2188,1541,1696,1522,2145,2409,2596,2331,1715,1838,2113,3051,3475,2876,2157,2419,3150,3883,3046,2421,1950,2185,2459,2113,1945,2060,2067,2116,2729,3069,3828,3174,2776,2956,3205,3128,2520,1962,1612,1468,1544,1722,1962,1392,1874,1892,2169,1768,1930,2376,2396,2878,3032,2325,2235,2542,1796,1866,1974,2079,2473,2036,1597,2126,2417,1965,1760,1704,1583,2128,2151,2011,1778,1828,1651,1664,1887,2064,1702,2078,2943,2733,3012,3219,3050,3166,4172,3506,3321,3297,2374,2225,2428,1982,1836,1847,1731,1940,1985,1991,2073,2380,2008,2041,2021,1569,1988,3169,3296,3075,3184,3086,2185,2500,3159,2508,2359,3050,3055,2235,1827,1652,1419,1710,1737,1554,1484,1282,1404,1730,1924,1700,951,751,1008,1073,1171,1443,1710,1660,1770,1830,1684,1720,1337,1284,1428,1293,1401,1849,1908,1690,1681,1605,1283,696,1349,1948,1275,1284,2070,2230,1841,1656,1492,1250,1484,1419,1362,2014,2062,2432,2556,3344,3304,2721,2397,1831,1898,3199,3288,2677,2375,1872,1648,1918,2390,2456,2405,2314,2618,2824,2332,2448,2587,2912,2216,1601,1955,2013,1966,1834,1641,1850,2291,2535,2536,2308,2087,2974,4277,4083,3413,3252,2957,2813,2951,3122,3082,3023,3111,3208,3220,3187,3203,3350,3394,3365,3274,3240,3222,3032,3017,3248,3354,3570,3531,3374,3560,3902,3784,3539,3521,3948,4059,3130,2419,2351,2079,2186,1985,1915,1857,1908,1964,2634,3495,3305,2479,2000,2015,2166,2142,1874,1647,1570,1670,1625,2238,2543,2511,2431,2558,2602,2116,1715,1571,1692,1797,1720,1673,1422,1485,1647,1475,1376,1664,1786,1688,1613,1618,1436,1101,912,1057,1394,1324,1355,1565,1920,1786,1512,1333,1314,1373,1363,1398,1377,1450,1327,1466,1549,1448,1434,1330,1329,1318,1256,1412,1448,1412,1472,1501,1472,1290,1390,1687,1626,1407,1280,1284,1269,1182,1306,1353,1265,1278,1427,1932,1502,1272,1310,1274,1338,1341,1269,1081,1033,1238,1291,1229,1396,1473,1533,1335,1315,1546,2083,3035,2784,1591,1523,1482,1369,1375,1545,1692,2331,2360,2218,1892,1427,1693,1776,1654,1579,1427,1500,1679,2097,1983,1634,1605,1547,1510,1639,1526,1478,1781,1506,1530,1699,1704,1772,1698,1596,2206,2159,2006,2150,1700,1449,1585,1575,1907,2125,1909,2187,2623,2382,2764,2417,2041,2455,2356,1731,1558,1604,1684,1494,1403,1407,1355,1351,1635,2292,2305,1815,1569,1494,1710,1654,1444,1613,1456,1704,1731,1808,1846,1849,1641,1537,1537,1442,1332,1526,1773,1532,1406,1677,1733,1864,1749,1902,2625,2865,2480,2204,2705,3458,3515,3276,2582,2141,1915,1942,2105,1776,1578,1870,2222,2237,2007,2409,2457,1917,2012,2484,1942,1483,1774,1848,1585,1616,1905,1519,1355,1423,1880,2216,2161,2042,1722,1612,1654,1604,1542,1538,1469,1554,1609,1714,1812,1916,1781,2236,2012,2291,2824,3139,3350,3448,3240,2631,2275,2424,2923,2652,2221,2722,2454,1984,1879,2210,2671,2406,2113,2328,2769,2368,2051,1842,1643,1559,1843,2049,1852,1712,1848,1792,1972,2316,2173,1738,1744,1984,2238,2241,2110,1788,1832,2086,2188,2082,1833,1784,1926,1888,1626,1954,1869,1913,1900,2018,1955,1884,1932,1910,1660,1666,2171,1866,1773,1764,1737,1933,2899,3708,3684,3482,3603,3770,3248,2502,2364,2229,1874,1699,1609,2080,2335,2070,1962,1650,1444,1439,1409,1440,1430,1420,1417,1696,1621,1587,1682,1559,1468,1530,1591,1603,1954,2159,1870,1665,1810,1855,2224,2523,2724,2535,2112,1863,1769,1833,1674,1531,1631,1932,2167,1804,1451,1658,2031,2385,2503,2932,3146,2615,2098,1909,1796,1780,1924,1793,1966,2382,2317,1931,1719,1810,1920,1945,1934,1852,1859,1902,2578,2458,1972,2279,2711,2722,3077,3041,2867,2562,2179,2713,2464,2626,3185,2634,2495,2657,2586,2477,2562,2172,1627,1758,2714,3388,3326,3416,3516,2956,2180,2237,2578,2752,3096,2699,1954,1627,2002,2251,2059,2234,2040,1830,2240,2118,1939,2020,1844,2083,2457,2687,3061,2485,2221,2076,1741,1968,1935,1806,1816,1860,1877,1747,1630,1655,1584,1421,1729,2020,1636,1782,1608,1562,1771,2121,2512,2666,2481,2064,2183,2183,1776,1274,1295,1557,1433,1424,1716,1863,1785,1615,1520,1454,1465,1520,1627,1701,2066,1892,2351,2915,2987,2953,2906,2714,2567,2640,2790,2702,2649,2392,1750,1765,1758,1761,1827,2114,2204,2293,2579,2699,2881,2791,2722,2212,2235,2271,2155,2567,2376,2213,3177,3484,3252,3539,3088,2531,3867,3584,2728,1751,2056,3327,3695,3738,3715,3508,3494,3523,3499,3023,2718,2666,2959,2825,2610,2754],[1346,1671,1869,1893,1812,3461,4200,4573,4013,2576,2980,3529,3060,2633,2368,2614,2734,2807,2689,2702,2575,2508,2896,2775,2712,2394,2444,2376,2144,2508,3508,3598,3610,4376,4017,3022,1193,1627,2132,3008,3614,3737,3713,3559,3068,2712,2968,3349,3443,3450,2929,2900,2479,2372,2299,2927,3768,3827,3705,3616,3420,3274,3272,3319,2833,1971,2260,3578,3769,3560,3518,2673,1859,1674,1536,1577,1904,1878,1815,1583,1595,1682,1833,1544,1439,1614,1659,1748,1779,1812,1842,1741,1695,1629,1741,1875,1930,2237,2732,3020,3083,3190,3054,3136,3353,2843,2451,2672,3138,3410,3145,2899,2294,2377,3476,4276,4269,4018,3905,3898,3952,3941,3838,4199,4565,4148,3795,3927,3915,3989,4065,3610,2821,2547,2733,3028,2142,2376,2456,2596,2479,2039,2352,2241,1738,2143,2262,2464,2536,3018,2746,2844,2939,2787,3204,3859,3611,3174,2867,2244,2112,2147,1906,1936,2115,2551,2962,2986,2940,3308,3393,3319,3531,3658,3524,3416,3563,3769,4212,3437,2621,2462,3107,2997,3054,3515,3215,2922,3307,3557,3566,4310,4078,3750,3685,3681,3650,3322,3008,2819,2853,2998,2845,2884,3024,3119,2632,2101,2359,2889,2499,2498,2441,1968,1907,2316,2250,2170,2539,2822,2346,2657,3483,3099,3408,3619,3537,3439,3192,3149,3373,3184,2430,2224,2275,2631,2744,3234,3473,3440,3693,4035,4139,3729,3472,3421,3189,3107,2788,2723,3075,2380,1730,1634,1739,1597,1730,2183,1970,1744,1816,1772,1764,1976,1981,1653,1388,1412,1825,1872,1631,1681,1738,2130,2720,2331,2219,2375,2436,2724,2820,2465,2091,2506,2601,2683,2526,1903,1816,2521,2895,2697,2332,2208,2095,2061,1876,1749,2060,2238,2134,1851,1587,1597,1476,1663,1924,1721,1743,1808,1956,2163,1890,1739,1864,1901,1655,2048,2169,1905,1582,1401,1691,1718,1765,1958,1824,1687,1805,2221,1923,2077,1947,1905,2141,1825,1533,1443,1446,1731,2159,2298,1901,1724,2246,2352,2663,3009,2930,2395,2622,2770,2483,2775,2907,2623,2706,2666,2436,2677,3694,3406,3051,3234,3317,3124,2710,2553,2621,2821,3244,3309,3394,3751,3868,3886,3825,3485,3309,3195,2786,2431,2433,2481,2684,3144,3129,2631,1844,1968,1892,1823,2122,2431,2193,2053,2741,2899,2183,2055,1980,2030,2251,2285,1766,1608,1665,1624,1947,2565,2787,3039,3494,3366,3415,3353,3147,2584,2513,2585,2649,2384,2703,2687,2596,3284,3417,2840,1885,2065,2447,1992,1653,1799,2425,2502,1831,1474,1152,1984,2711,2225,2325,2631,2448,2558,2064,1818,2597,2733,2181,2351,2832,3371,3495,3344,3061,3173,3533,2954,2807,3931,3902,3398,3790,4112,4217,3906,3394,2773,2045,2025,2841,3348,3238,3283,3262,3255,2943,2766,2863,2373,2010,2417,2430,2024,1892,1713,1584,1814,1676,1722,1792,1763,1875,1933,1658,1661,2000,2536,2473,1907,1738,2006,2545,2031,2346,2356,2425,2943,2636,2278,2419,2920,2416,2223,2314,2388,2290,1994,2120,2305,2059,2418,2631,2021,2353,3120,2907,2345,2467,2277,2007,1885,1828,1600,1871,2237,2137,1903,1609,1525,1800,2598,3067,2119,1426,1375,1539,1695,1501,1377,1411,1465,1691,2084,2449,2336,2316,2281,2365,2437,2309,2454,2872,2859,2307,1782,2105,2797,3219,2091,1882,1843,1939,1866,1540,1737,2132,2236,2611,2668,2287,1846,2048,2393,2016,1625,1558,1648,1588,1947,2111,1769,1568,1509,1765,2138,2049,2386,1824,1422,1800,2124,2494,2281,1788,1480,1702,1970,1811,2113,2214,1835,2013,1812,1550,1537,1542,1790,1996,1925,1830,1738,1656,1449,1377,1440,1516,1355,1158,1193,1378,1578,1693,1735,1823,1975,1652,1859,2190,2211,2710,3125,2868,2805,2765,2766,2567,2280,2326,2471,2409,2133,1953,1876,1578,1472,1784,2767,2624,1823,1684,1826,1678,1692,2090,2336,2404,1985,1761,1739,1932,2644,3062,2734,2020,1593,1549,1615,1540,1445,1437,1590,1681,1363,1613,1985,1968,1738,1903,1970,2059,2122,1330,1207,1359,1841,2346,2243,1994,1887,1805,2030,2112,2292,2028,1920,2280,2374,2384,2330,2263,2547,2531,2483,2519,2489,2667,3083,2762,2346,2474,2696,2802,2292,2096,2071,1842,1829,2186,2356,2677,2840,2374,2236,2010,1813,1579,1703,2010,1607,1423,1540,1572,1793,1676,1401,1375,1410,1525,1482,2083,1783,1376,1334,1460,1333,1424,1758,2077,2287,2084,1935,1902,1896,1801,1813,2734,2369,1675,2115,2090,1625,1619,2130,2458,2284,2092,2319,3010,2246,2565,2809,2722,2752,3221,3282,3496,3286,2566,2872,3161,2812,2825,2977,2770,2597,2518,2431,2562,2998,3166,2583,1997,2536,2780,2437,1801,2016,2622,2522,2147,2473,3705,4333,3789,3261,3242,3066,3019,2806,2809,2856,2890,2496,1953,2185,2818,2632,2445,2354,2237,2379,2242,2070,2242,3396,4615,4640,3867,2288,1993,2481,2779,3031,3662,4017,4121,4222,4005,3067,2621,2186,2076,2338,1888,1894,1988,2131,1843,1709,1964,2058,1785,1328,2067,2826,2848,2691,2302,2033,2264,2536,2580,2842,3031,2726,2367,2249,2602,2234,2168,2199,2158,1763,2285,2369,2282,3062,3090,2568,1957,1881,2347,2496,2723,2119,1864,2137,2387,2621,2510,2569,2070,1807,1943,2280,3244,2905,1815,1670,2184,2464,2702,2999,2602,1912,2048,2315,1930,1897,2234,1622,1614,3035,4053,4676,3798,2870,2928,3294,2942,2771,2406,1747,1450,1259,1798,1982,1738,2154,2475,2439,1957,1635,1735,2351,3043,3178,2298,1831,2100,2378,2508,2217,2071,2596,2747,2006,2093,1939,1358,1393,1591,1448,1709,1621,1876,1808,1995,2243,2136,2158,1729,1845,2578,2820,2668,3539,3820,3167,3736,4280,3566,3198,2747,2189,2312,1678,1582,1865,2143,2414,2420,2468,2047,2585,2890,2113,1990,2055,1736,2218,3553,3124,2359,2604,2656,2391,2965,3093,2994,2692,2540,2491,1956,2135,2169,1329,1544,1354,1256,1700,1589,1670,1899,1947,1471,583,460,421,371,562,1049,1487,1262,1488,1657,1627,1781,1527,1359,1683,1554,1535,1853,1845,1732,1578,1230,1119,1122,1357,1179,1036,1375,1692,1807,1744,1692,1447,1259,1601,1190,1468,2158,2253,1919,1981,2990,3481,3042,2612,2122,2097,2579,2942,2600,2348,2253,1843,1635,2042,2241,2219,2436,2723,2687,2380,2262,2169,2065,1508,1632,2053,1953,1803,1671,1881,2302,2445,2636,2331,2356,2155,2536,3568,3680,3486,3388,3162,3138,3165,3079,3027,3055,3056,3152,3174,3091,2917,2989,3043,3088,3145,3146,3124,3042,3008,3304,3337,3630,3620,3273,3381,3594,3454,3291,3274,3907,4035,2833,2568,2907,2788,2501,2215,2000,1358,1731,2442,3275,3774,2901,1971,1990,2257,2107,1953,1858,1854,1876,1620,1938,2554,2997,2802,2219,2522,2729,2020,1571,1730,1788,1910,1844,1643,1416,1361,1531,1593,1450,1468,1770,1722,1400,1596,1477,1338,1174,1297,1345,1271,1254,1343,1685,1699,1426,1323,1294,1343,1317,1271,1318,1411,1557,1689,1528,1438,1390,1354,1559,1563,1488,1510,1399,1311,1316,1293,1394,1294,1318,1497,1545,1442,1376,1310,1145,1476,1888,1518,1327,1202,1260,1534,1388,1270,1207,1287,1411,1448,1259,1136,1408,1578,1603,1506,1278,1391,1579,1408,1315,1382,1449,1823,1811,1460,1482,1521,1478,1471,1527,2189,3242,2545,2156,2283,1780,2117,1931,1519,1561,1362,1369,1727,1901,1713,1528,1500,1482,1417,1550,1495,1515,1686,1705,1781,1681,1426,1526,1601,1595,1898,2034,1788,1463,1408,1651,1906,1618,1713,2028,1913,2247,2390,2288,2825,2612,1935,2290,2142,1604,1466,1507,1510,1567,1506,1542,1614,1518,1676,2059,2142,1619,1327,1375,1809,1945,1598,1581,1762,1786,1573,1550,1690,1765,1738,1577,1560,1594,1663,1909,1699,1598,1613,1677,1629,1634,1828,2157,2165,2376,2365,2207,2086,2563,3063,2942,2147,1631,1515,1997,2383,1948,1756,1776,2035,2196,2269,2524,2552,2025,1902,2083,2027,1977,1858,1471,1479,1677,1943,1664,1712,2003,2103,2094,1758,1622,1806,1872,1886,1771,1555,1594,1807,1602,1691,1676,1737,1691,2028,2298,2547,2850,2955,3064,3075,2604,2279,2231,2013,2014,2619,2988,3103,3275,2670,2093,2000,2302,2486,2216,2452,2236,1982,2111,1917,1567,1524,1726,1786,1677,1912,2060,2193,2432,2244,2520,2178,1746,1909,2067,2153,1936,1857,1890,1689,1815,2227,2130,1790,1682,1778,1703,1658,2258,2041,1627,1533,1672,1853,1995,1918,1899,1599,1498,1876,1955,2016,1838,1398,1431,2713,3559,3665,3592,3349,3208,2943,2707,2381,2304,2242,2221,1971,1951,2177,2318,2036,1642,1466,1364,1462,1472,1593,1476,1425,1577,1769,2054,1817,1671,1741,1558,1588,1600,1816,1867,1673,1866,2174,1717,2627,2923,2246,2432,2374,1702,1815,1828,1565,1489,1685,2051,2454,2277,1699,2016,2625,2502,2337,2832,2842,2465,2155,1946,2140,2082,1887,1839,1979,2092,1914,1898,1991,1816,1828,1971,2047,1952,2577,2491,2398,1874,1697,2153,2238,2533,2824,2383,2369,2467,2520,2614,2497,2265,2460,2357,2306,2184,2087,2486,2665,2545,2139,1835,2375,2625,3177,3480,3419,2728,2521,2633,2569,3018,3131,2611,2281,1622,1836,2148,2116,2206,1997,2133,2554,2329,1928,1836,1944,2409,2534,2688,2790,3028,2651,2175,2044,1997,1781,1569,1658,1754,1644,1569,1635,1678,1722,1767,1590,1505,1604,1757,1603,1616,2087,2547,2492,2790,2644,2267,2186,2331,2721,2088,2093,2326,2056,1931,2049,2050,1794,1678,1439,1445,1453,1454,1474,1786,2593,2626,2820,3029,3037,3179,3267,3080,2757,2604,2525,2193,1984,2121,1668,1650,1850,1923,1669,1636,1599,1759,2106,2397,3024,3512,3609,2628,2167,2031,2089,2329,2216,2533,3571,3650,3040,3503,3896,2974,3767,4152,3228,2500,2464,2807,3249,3610,3822,4023,3959,3323,3188,3096,2907,2670,2864,2802,2898,2867],[1610,2033,2324,2195,2236,2786,3952,4807,4336,3951,4029,3760,3802,2866,2658,2788,3178,3110,2382,2341,2339,2677,3088,3065,2878,2845,2855,2613,2418,2673,3289,3349,3914,4485,4064,2293,1232,1898,2430,3252,3599,3535,3770,3688,3055,2787,2691,3066,3353,3239,2630,2884,2661,2469,2284,3014,3873,3714,3768,3925,3880,3867,3701,3570,3216,2191,2460,3133,3349,3543,3481,2824,2293,2190,1898,1641,1817,1641,1679,1699,1891,2130,2204,1813,2011,2244,2060,2044,1913,1908,1915,1840,1848,1975,2059,2345,2365,2434,2880,3355,3410,3349,3373,3231,3459,3517,3391,3605,3978,4029,3991,3130,2338,2418,2754,3552,3872,3442,4003,3736,3283,3082,3596,4253,4412,3838,3482,3830,4000,3681,3444,3452,2862,2622,2734,2717,1991,2109,2244,2086,2011,2190,2708,2226,1728,2585,2156,2143,2371,2834,2878,2988,2712,2676,3207,3585,3088,2668,2770,2330,1714,1928,2036,2032,2440,3671,3704,3155,3256,3238,3029,3608,3607,3444,3407,3151,3050,3379,3646,3339,3030,3107,3547,3776,3771,3550,3020,2873,3283,3499,3884,4263,4123,3717,3364,3293,3532,3038,2379,2707,2679,2847,2372,2373,2411,2640,2689,2617,2610,2706,2810,3049,3121,2546,1857,2344,2523,2432,2908,2500,1548,2350,2907,2937,3570,3541,3306,3310,3326,3137,3427,3441,3206,3042,3240,3443,2998,3282,3676,3531,3628,4040,4172,4048,3818,3375,3082,3215,3078,2750,2436,1860,1686,1829,2008,1748,1946,2486,2187,1907,1874,1927,2113,2510,2428,1881,1665,1658,1712,1946,2276,1904,1631,1707,2093,2370,2401,2520,2815,2960,2867,2497,2431,2930,2827,2852,2769,2240,2200,2357,2384,2779,2657,2080,2180,2515,2249,2063,1817,1860,2257,2059,2127,2032,1933,1756,1606,1557,1765,2074,2230,2148,1775,1743,1944,2118,2438,2830,2170,1685,1510,1644,2052,1871,1754,1846,1757,1908,1892,1932,2109,2111,1866,1631,1666,1781,1512,1493,1738,1786,1818,1731,1614,2454,3042,2920,2974,3143,3098,2647,3052,3401,2761,2501,2840,2551,2532,2632,2504,2699,3200,3034,2581,2522,2758,2872,2808,2752,2625,2544,3152,3359,3435,3623,3780,3802,3516,3382,3266,2752,2204,2007,1960,2366,3065,3189,3237,3096,2194,1619,2027,2286,2473,2915,3038,3144,3276,2706,2022,1945,1762,1958,1839,1782,1620,1588,1764,1693,1969,3002,3246,3284,3566,3391,3265,2888,2789,2304,2281,2398,2388,2364,2474,2082,1926,2614,2961,2618,2163,2118,2530,2094,2021,2383,2746,2368,2055,1665,1289,1801,2197,2185,2354,2603,2586,2406,1836,1635,2447,2500,2280,2741,3178,3548,3344,3618,3352,3428,3720,3108,2706,3627,3861,3651,3344,3276,4024,3858,3415,3272,2998,2956,3732,4252,4276,3466,2536,2753,2952,2631,2655,2546,2003,1802,1880,2030,1915,1758,1716,1545,1490,1708,1852,1822,1922,1747,1639,1688,1773,1991,2021,2667,3410,3343,2644,1997,2479,2795,2702,2908,2578,2074,2188,2890,2362,2362,2376,2242,1990,2019,2418,2557,2104,2115,2856,2636,2608,3001,2754,2596,2541,2501,2220,1912,1820,2068,2439,2578,2602,2187,2169,1636,1571,1987,2792,2535,1678,1325,1570,1804,1771,1569,1748,1963,1836,1993,2163,2304,2286,2222,2385,2436,2134,1989,1870,1862,2337,1883,2155,2657,2919,2223,1837,1771,1619,1520,1356,1686,2020,1756,2468,2824,2620,2024,1971,2193,1696,1674,1804,1715,1539,1627,1851,2005,1663,1565,1653,2121,2310,2603,1830,1287,1652,2491,2702,2192,1724,1538,1456,1812,1806,1699,1859,2022,2410,2014,1590,1709,1701,1722,1791,1791,1824,1605,1566,1631,1437,1682,1671,1381,1318,1447,1381,1461,2021,2173,1747,2297,1710,1659,2110,2209,2610,3025,2932,2902,2950,2751,2554,2727,3108,3131,2874,2391,2066,2196,1899,1579,1973,2078,1884,1902,1753,1739,1568,1787,2219,2191,2567,2253,1870,1754,2167,2937,3099,2598,1896,1489,1472,1798,1580,1444,1592,1716,1954,1792,1768,1992,2145,1948,1687,1797,1681,1421,1543,1548,1522,1788,1898,1835,2280,2273,2082,1976,1663,2080,2154,2139,2116,1519,1196,1301,1584,2040,2164,2068,2282,2400,2615,2733,2305,1893,1735,2135,2342,2360,2791,2217,1830,2010,1909,1714,1922,2186,2140,2121,2456,2072,1799,1704,1802,1718,1496,1436,1300,1259,1400,1470,1322,1323,1504,1386,1829,1832,1462,1347,1296,1322,1564,1614,1970,2488,2215,2147,1988,1953,1890,2187,2420,1955,1882,2317,2343,1874,1870,2212,2586,2373,1930,1904,2719,2503,2670,2841,3007,3187,2852,2432,2512,2364,2602,3226,3226,2768,2380,2797,2752,2493,2522,2517,2589,2824,2884,2282,2322,2649,2414,2216,2126,2576,3034,2796,2686,3293,3981,4331,3970,3287,3223,3110,3033,2702,2830,2790,2708,2301,1712,1875,2800,2684,2010,1900,2005,2113,2148,2027,2186,3291,4503,4666,4062,2933,2490,2706,2750,2645,3008,3693,4034,4151,4351,4187,3381,2488,2383,2564,2522,2424,2169,2019,1713,1646,1936,2195,1766,1687,2724,3406,3718,3459,2688,2081,2432,2784,2770,2363,2251,2646,2193,2071,2458,2288,2129,1793,1550,1687,2200,2219,2864,3156,2472,2066,1668,867,1247,1844,2125,2069,2380,2562,2214,1998,2414,2208,1916,2286,2269,2507,3100,2422,1947,2083,2344,2529,3104,3726,2951,2648,2677,2821,2132,1909,1899,1935,2699,3506,3639,3544,3373,3065,3018,3141,2764,3020,2731,1816,1616,1434,2174,2621,2554,2610,2471,2197,2007,1818,2137,2780,3459,3624,2752,2007,1780,1914,2196,2238,2295,2589,3028,2071,2135,1990,1919,2208,2316,2140,2204,2171,2276,2162,2204,2374,2343,1903,1576,2182,2630,2592,2300,3296,4260,4475,4543,3933,2756,2511,2175,2357,2272,1207,1534,2041,2409,2654,2517,2310,2031,2304,2058,1793,2090,2969,2530,2493,3489,3319,2542,2712,3091,2891,2833,3179,2941,2309,2502,2192,1851,2145,2150,1525,1615,1558,1506,1793,1694,1431,1278,1396,1184,440,318,417,497,638,1257,1856,1282,1111,1558,1626,1788,1703,1560,1845,1722,1765,1790,1859,1596,904,1175,1811,1671,1508,1552,1463,1563,1544,1823,1652,1549,1404,1476,1667,1028,1614,2328,2190,2043,1981,2496,3564,3305,2942,2320,2184,2156,2799,2446,1979,1957,1718,1664,1913,2018,1979,2252,2620,2626,2604,2584,2403,2470,1693,1552,1884,1561,1618,1714,2341,2526,2878,2487,2227,2451,2103,2150,2968,3519,3631,3616,3427,3383,3409,3233,3140,3031,3037,3052,2942,2813,2625,2713,2890,2932,3085,3354,3427,3140,2973,3361,3426,3464,3386,3305,3215,3190,3348,3270,3075,3316,3552,2852,2769,3161,3197,2796,2405,2147,2033,2396,2890,3409,3326,2242,1736,2080,2247,1989,2181,2441,2401,2075,1939,2613,3046,3218,3155,3400,3460,3160,2522,1836,1728,1603,1914,2076,1694,1402,1307,1516,1644,1444,1434,1824,1807,1766,1908,1451,1240,1156,1354,1381,1280,1266,1252,1315,1411,1699,1494,1479,1269,1278,1473,1550,1609,1669,1576,1483,1556,1328,1424,1591,1591,1655,1565,1377,1346,1261,1296,1248,1194,1389,1530,1554,1455,1453,1283,961,1375,1526,1372,1384,1336,1328,1390,1390,1257,1166,1193,1380,1637,1296,1217,1308,1321,1374,1352,1210,1250,1340,1240,1305,1338,1275,1255,1288,1361,1560,1524,1510,1515,1619,2663,3365,2884,2396,2367,1981,2283,2094,1674,1424,1361,1419,1888,2010,1663,1471,1620,1621,1510,1496,1327,1479,1748,2048,1871,1520,1477,1548,1516,1486,1566,1882,1790,1535,1371,1506,1981,2020,1991,2008,1968,1932,1886,1996,2531,2508,1814,1876,1625,1605,1588,1623,1609,1704,1608,1742,1811,1549,1392,1595,1810,1529,1421,1426,1560,1885,1770,1550,1663,1676,1592,1522,1466,1582,1751,1622,1571,1598,1787,1732,1689,1809,1577,1601,2003,2136,2294,2342,2316,2159,2272,2504,2059,1833,1838,1930,2056,1994,1842,1629,1765,1719,1612,1858,2137,2218,2511,2357,2056,1956,1789,1459,1565,2126,2044,1696,1945,2069,2214,1898,1841,2209,2006,1908,1942,1644,1499,1608,1697,1790,1405,1458,1625,1236,1650,2138,2617,3215,2932,2253,2821,2534,2706,2442,2318,2131,2194,2118,1975,1969,2118,2281,2812,3167,2426,2289,2530,2917,2701,2060,2010,1905,1922,2268,1876,1339,1474,1804,1881,1620,1728,1888,2005,2249,2342,2378,1838,1884,2024,2434,2943,2325,1777,1711,1649,1754,1926,1875,2017,1924,1560,1508,1669,1827,1780,1614,1184,1276,1776,2302,1954,1964,1848,1677,1693,1852,1837,2031,1733,1449,1801,2217,3160,3142,2791,3043,2886,2684,2488,2541,2347,2042,1920,2046,2595,2576,1748,1497,1402,1553,1624,1501,1534,1520,1506,1474,1754,1924,1716,1940,2013,1622,1462,1640,1712,1616,1475,1728,2194,2590,3363,3438,2656,2094,1983,1547,1732,1771,1570,1466,1700,2073,2699,2391,1735,2191,2583,2536,2329,2502,2728,2310,1949,1849,2364,2361,1990,1880,2186,2316,2019,2116,2187,2094,1967,1981,1985,2321,3017,2559,1987,1815,1986,2418,2728,2564,2452,2601,2447,2294,2401,2410,2321,2410,2590,2489,2449,2338,2227,2270,2370,3094,2977,2288,2076,2314,2956,3228,3188,3079,2928,2706,2608,2931,2829,2955,3220,2339,1638,1968,2187,2209,2096,2162,2567,2391,1972,1649,1815,2090,2556,2098,1816,2544,2877,2598,2253,2294,2134,1545,1515,1657,1688,1506,1542,1590,1640,1770,1499,1496,1572,1701,1896,1865,2313,2751,2608,2500,2522,2549,2220,2290,2304,2040,2325,2740,2840,2732,2370,2226,1937,1769,1885,1993,1834,1746,1863,2106,2468,2608,2481,2537,2529,2489,2524,2451,2338,2299,2098,1726,1777,1840,1859,1687,1868,1905,1503,1420,1493,1923,2186,2378,2496,2696,2620,2291,1983,2145,2775,3116,3155,3300,3689,3684,3141,3628,4016,3105,3175,3277,2661,2490,2442,2540,3195,3481,3895,3889,3595,3149,3305,3385,3306,3020,2599,2691,3016,3210],[2330,2574,2605,2454,2275,2126,3265,4351,4136,4249,4365,4661,4508,4200,4220,3885,3298,2647,2092,1932,2360,2969,3462,3655,3310,3039,3088,3195,3160,3276,3245,3333,3916,3936,3482,1799,1297,2008,2771,3552,3592,3485,3487,3300,2656,2834,2808,3062,3230,2946,2580,2883,2779,2233,2301,3029,3850,4024,4220,4155,4045,4067,4000,4047,3516,2194,2441,3395,3355,3209,2877,2186,1981,1933,1968,2358,2193,1663,1648,1946,2050,2393,2442,2131,2303,2355,2144,1948,1868,1813,1869,1963,2090,2089,1826,1919,2196,2397,3057,3686,3867,3957,4244,3737,3734,3630,3542,3700,3829,4151,4274,3392,2935,2858,2542,2883,3321,3108,3617,3303,2661,2191,3185,3796,3318,3023,2874,3611,3902,3372,3612,3805,2994,2419,2503,2203,1585,1970,2527,2365,2302,2451,2897,2474,2095,2138,2004,2588,2776,2654,2806,2791,2622,2750,2735,2305,2081,2445,3095,2700,1963,2107,2430,2336,2747,3859,3974,3393,3431,3430,2861,3308,3504,3652,3706,3398,3353,3472,3284,2997,3316,4047,4290,4155,3560,3374,2890,2586,3118,3199,3595,4099,4058,3601,3461,3270,3066,2219,1931,2598,2668,2874,2485,2384,2395,2423,2322,2284,2243,2608,3264,3341,3334,2878,1795,2304,2483,2917,3270,2259,1851,2708,2677,2412,2878,3278,3498,3300,2763,2587,3382,3770,4105,3909,3263,3051,2826,2697,2950,3284,3595,3834,3795,3538,3044,2945,2989,3398,3304,3066,2409,2078,2155,1772,1932,2019,1945,1948,2145,2273,2053,2110,2784,2969,2437,2021,1918,1683,1667,2030,2364,2103,1901,1820,2239,2454,2696,2946,2751,2392,2272,2499,2733,3021,2845,2835,3156,2445,2316,2642,2939,3378,2868,1895,2120,2267,1438,1665,2493,2487,2636,2902,2741,2435,2527,2254,1692,1507,2039,2783,2414,2022,1909,1969,2285,2165,2328,2254,1840,1706,1660,1870,2337,2128,1927,1865,1746,1814,1822,1883,1944,1780,1710,1788,2203,1902,1547,1640,1784,2151,1719,1581,1740,2754,3061,2756,2789,2916,2852,2916,3282,3454,3149,2734,2809,2596,2553,2463,2166,2402,2780,2718,2642,2619,2722,2465,2525,2585,2397,2353,2523,2974,3274,3463,3648,3188,2710,3007,3200,2386,2072,2216,2170,2415,3123,3204,3006,3245,2778,1994,2343,2912,2894,3030,3168,3167,3123,2700,2261,1897,1789,1859,1837,1814,1589,1655,1799,1797,2315,3311,3626,3672,3727,3421,3065,2940,2435,2051,2300,2301,2201,2274,2214,2531,3160,2802,2464,2018,1826,1615,1915,2141,2219,2443,2571,2276,2102,1712,1628,1621,2176,2489,2285,2543,2625,2164,1931,2006,2236,1840,1707,1963,2501,2799,2608,3178,3552,3729,3748,3046,2254,2713,3804,4125,3764,3738,3826,3862,3819,3657,3528,3059,3585,4188,3884,2717,1961,2122,2384,2319,2443,2575,2062,1555,1578,2172,2142,1981,1878,1693,1550,1667,1782,1837,1955,1757,1652,1559,1592,1637,1776,2687,3619,3099,2030,2293,2863,2951,2570,2648,2527,1969,1658,2479,2445,1784,1676,1808,1676,1743,2127,2469,1939,1754,2197,1863,1748,2395,2813,2780,2689,2586,2460,2170,2223,2665,2563,2537,2584,2648,2394,1617,1486,1533,2225,2580,1960,1536,1857,1747,1903,1970,2006,2042,1782,1852,2064,1979,1805,2075,2426,2265,2309,1981,1496,1635,1939,1990,2177,2511,2364,1937,1665,1701,1791,1690,1903,1998,1647,1540,2144,2942,2779,2312,1811,1609,1647,1587,1640,1560,1392,1463,1874,2580,2077,1725,1783,1788,1715,1927,1968,1903,2061,2609,2693,2259,1716,1598,1549,1943,2260,1857,2015,2127,2186,1864,1973,2148,1724,1797,1979,1686,1535,1841,1806,1628,1424,1672,1715,1468,1506,1575,1451,1514,1816,1949,1854,2476,1861,1545,2007,2254,2526,3051,3184,2932,2886,2714,2560,2616,2699,2502,2165,2197,2375,2688,2250,1806,1811,1586,1622,1717,1674,1983,2028,2226,2521,2249,2463,2776,2471,1942,2217,2779,2988,3296,2152,1831,1672,1745,1455,1500,1864,1862,1886,2039,2226,2708,2808,2188,1840,1855,1904,1615,1636,1727,1494,1492,1719,2142,2446,1853,1680,1553,1480,1788,1886,1806,1483,1345,1499,1744,2041,2222,1870,1964,2305,2201,2336,2310,2177,2124,1852,2188,2460,2644,2577,1985,2055,2605,2315,1821,1267,1098,965,1587,2127,2038,1964,1857,1973,1967,1764,1578,1362,1202,1476,1574,1336,1233,1400,1533,1704,1585,1408,1406,1596,2177,2221,1772,1798,1204,1580,1870,1816,1858,2020,2592,2578,2130,1859,1868,2024,1939,2065,1616,2243,2150,1981,1897,2432,2601,2177,1956,2206,2316,2135,2119,2292,1916,2195,2768,2953,2635,2321,2456,2480,2465,2604,2707,2733,2698,2485,2246,2780,2656,2272,2191,2302,2542,2665,2743,3099,3369,3685,4011,4115,3349,3174,3038,2934,2958,3116,3030,2420,2032,1994,2091,2746,2404,2184,1902,1589,1895,2056,2114,2219,2930,4188,4495,3269,2329,2479,2665,2926,2895,2945,3017,3249,3691,3997,3951,3754,3282,2912,2893,2631,2621,2540,2046,1823,1797,1880,2102,1654,1958,2830,3484,3721,3443,2558,2297,2505,1701,1691,2104,2364,2566,2000,2061,2199,2210,1926,1732,2251,2545,2778,2358,2753,2428,2040,1911,962,723,1658,2707,2777,2109,2009,2056,1959,2153,2029,2166,2406,2559,2254,2441,2420,2124,2323,2531,2790,3332,3684,3592,2991,2410,2073,1501,1186,1505,1765,2884,4253,4051,2980,2536,2676,2544,2442,2762,3913,4345,3307,2019,1506,1935,2753,2511,2426,2293,1714,1618,1913,2147,2288,2632,3384,3053,2292,2360,2207,2038,2514,2864,3261,2923,2561,2035,2177,2231,2399,2605,2576,2197,1852,1768,1818,2093,2664,2766,2734,2051,2186,2421,2026,1937,2079,2551,3528,4565,4517,3819,2749,2344,2089,2435,1666,1119,1624,2099,2369,2629,2678,2264,2148,2301,2636,2111,2169,3431,2864,2276,2955,2919,2600,2863,3012,2802,2360,2802,2619,2526,2469,2008,1686,1956,2080,1753,1632,1622,1639,1760,1636,1001,550,937,1088,536,474,1317,1290,1225,1827,2267,1706,1261,1624,1566,1852,1888,1795,1930,1637,1569,1700,1710,1149,1122,2331,2736,2283,1961,1752,1361,1520,1685,1973,1297,1058,1315,1430,1394,1101,1656,2199,2194,2429,2397,2458,3585,3602,3221,2656,2147,2371,3099,2610,1816,1808,1889,1765,1719,1949,1753,1895,2555,3121,2973,2603,2952,3271,1982,1525,1835,1435,1452,1727,2189,2719,2832,1957,1851,2248,2192,2004,2778,3531,3444,3514,3538,3539,3480,3084,3097,3095,3029,2810,2717,2801,2691,2664,2795,2753,2940,3231,3251,3109,3295,3366,3365,3318,3214,3328,3449,3567,3511,3332,3251,3264,3416,3233,3210,3326,3277,3063,2689,2609,2584,2378,2664,2933,2583,2099,2007,2257,2364,2161,2174,2362,2510,2084,2203,2947,2964,3160,3120,3065,2933,3384,2881,2110,2250,1920,1899,1870,1649,1674,1535,1693,1571,1407,1472,1764,1985,2477,1967,1461,1378,1347,1416,1395,1386,1390,1500,1416,1385,1582,1481,1469,1318,1520,1855,2090,2008,1733,1667,1638,1845,1488,1752,1726,1721,1599,1587,1427,1225,1188,1373,1388,1435,1492,1498,1479,1416,1870,1855,1291,1363,1437,1361,1333,1281,1237,1248,1300,1193,1188,1218,1210,1358,1263,1315,1308,1208,1236,1299,1232,1208,1327,1260,1319,1338,1283,1312,1375,1502,1627,1502,1515,1461,1529,1836,2348,2943,2543,2192,1838,1709,1686,1471,1378,1412,1448,1636,1693,1545,1378,1423,1607,1648,1568,1368,1307,1305,1788,1985,1643,1518,1521,1366,1437,1427,1847,1870,1649,1403,1341,1355,1670,1709,1842,1990,1829,1837,1830,1917,2308,1915,1666,1556,1641,1806,1699,1272,1164,1495,1644,1694,1817,1356,1340,1626,1594,1536,1522,1499,1831,1914,1509,1698,1899,1732,1537,1447,1637,1678,1701,1439,1388,1836,1903,1713,1844,2190,2319,2031,1953,2489,2092,1844,1966,2153,2422,2554,2453,2081,1926,2098,1690,1873,1833,1958,1801,1818,1970,1961,2080,2008,1808,1611,1697,2052,1488,1434,2286,2075,2160,2132,2484,2723,2305,1819,1699,1675,1691,1781,1695,1549,1782,1363,1216,1183,1628,2326,2630,2637,2678,2928,3050,2966,2675,3197,2679,2766,2434,2235,2204,2306,2226,2126,2067,1946,1891,2342,2796,2502,2306,2410,2745,2397,1885,1789,1839,2014,2189,1982,1833,1600,1843,2006,1738,1502,1667,1928,1920,2075,1991,1867,2096,2441,3602,4144,3449,1996,1836,1939,1726,2053,2330,2432,2116,1882,1670,1481,1743,1815,1653,1250,1489,1918,2524,2390,2023,1993,2267,2208,1775,1948,2400,2305,2134,2064,2269,2386,2250,2640,2802,2661,2669,2628,2529,2045,1533,1832,2303,2574,2591,1954,1497,1354,1447,1616,1616,1521,1517,1511,1613,1681,1556,1728,2160,1923,1711,1735,1743,1608,1476,1475,1489,1776,2391,2776,2787,2482,1766,1485,1747,1893,1743,1600,1584,1666,2054,2603,2195,1910,1938,2089,2422,2452,2497,2174,2094,1915,1953,2133,2236,2577,2188,2032,2333,2101,2092,2159,2282,2241,2010,1901,2512,2849,1923,1548,1896,1665,2079,2567,2164,1999,2308,2270,2330,2414,2448,2574,2806,3069,3022,2857,2293,1763,1778,1592,2094,2522,2549,2189,2128,2547,2767,2707,2871,3184,3263,2919,2713,3066,3461,3436,2892,2333,2294,2103,2021,2257,2589,2855,2175,1841,2732,2901,2153,1992,1660,2099,2896,2931,2563,2395,2544,2523,2056,1720,1591,1756,1566,1482,1304,1401,1483,1439,1571,1459,1596,1933,1893,2131,2713,2975,2878,2671,2194,1750,1771,1865,1869,1902,2010,2128,2020,2153,2196,2372,2628,2785,2718,2625,2636,2664,2534,2499,2378,2156,1803,1785,1841,1970,1904,1746,1812,1700,2062,2431,2259,2046,1771,1461,1465,1449,1443,1506,1676,2292,2379,1981,2018,2190,2326,2075,2278,3293,3631,3306,3384,3420,3637,3460,3603,3442,2938,3036,2855,2242,2177,2120,2452,2844,2765,3342,3493,3557,3377,3209,3289,3389,3299,3142,3355,3442,3416],[3056,2964,2485,2750,2440,2732,4042,4152,4100,4158,4243,4611,4603,4602,5004,4547,3202,2225,1902,2109,2835,3189,3307,3429,3249,3234,3084,3090,3179,3108,2825,2878,3116,3593,2989,1468,1400,2176,2720,3228,3061,3316,3197,3000,2881,2611,2964,3256,2755,2503,2796,2968,2693,2206,2463,2857,3040,2975,2968,3012,2953,2788,2914,3445,3174,2260,2414,3176,2408,2353,2345,2319,2375,2313,2249,2541,2366,1692,1508,1747,1757,1886,2078,2037,2006,1965,1962,1873,2110,2342,2264,2154,2149,1859,1523,1766,2104,2070,2267,2612,3230,3284,3714,3792,3960,3859,3210,2717,3104,3762,3697,3308,3135,3074,2858,2805,3441,3524,3602,3352,2517,2087,2668,2881,2687,2587,2534,3207,3930,3606,3318,2778,1902,1822,2188,2686,2766,2768,2775,2768,3029,3299,3107,2226,2019,2374,2630,2780,2701,2607,2822,2842,2784,2797,2488,2093,1871,2314,2684,2697,2180,2188,2678,2799,2984,3428,3597,3315,3144,3716,3013,2490,2965,3566,3273,3354,3818,3796,3430,3020,3851,4516,4351,4215,3382,3164,2857,3338,3417,3296,3646,3752,3200,3692,3760,3042,2774,2302,2613,2472,2824,3516,3016,2491,2279,2365,2334,2136,1974,2160,2338,2814,3500,3191,2670,2722,2888,3234,2851,2007,2203,2775,2547,2394,2510,2950,3585,3462,3107,3409,3762,3912,3848,3521,3296,2911,2644,2325,2608,2873,2956,2210,1752,2487,2942,2940,3386,3731,3796,3759,3175,2674,2680,1983,1875,1874,1870,1881,2026,2049,1980,2512,3011,2785,2271,1934,2325,1920,2117,2326,2127,1800,2061,2141,2025,2134,2610,2910,2624,2437,2513,2743,2981,3060,3186,3542,3309,2322,2126,2520,2957,2873,2260,2061,2330,1724,1114,1459,2492,2819,2967,2902,2445,2173,2311,2731,2797,2523,3083,3464,3094,2247,2220,2459,2556,2204,1976,2014,1820,1718,1790,2315,2778,2193,1811,1674,1453,1709,1968,2007,1930,1873,2022,2153,2993,2504,1904,1691,1876,1783,1708,1629,2062,2669,2578,2508,2574,2759,2840,2918,3099,3387,2944,2735,2584,2830,2701,1726,1301,1967,2381,2317,2547,2632,2712,2493,2440,2270,2270,2354,2245,2457,2822,3272,3310,2619,2379,2502,3091,2734,2254,2226,2185,2450,2880,2845,2651,2934,3122,2962,3056,2922,2376,2607,2790,2763,2784,2490,2104,1824,1837,1890,2094,2195,1754,1765,1911,1824,2721,3525,3608,3719,3716,3239,3003,2658,1928,2172,2470,2540,2617,2491,2199,2274,2652,2590,2376,1958,1717,1597,1947,2391,2014,1886,2218,2138,1903,1675,1625,1746,2199,2207,2393,2919,2435,1966,1787,1892,2415,2227,2448,2331,2613,2675,2800,3218,3586,3587,3491,3404,3018,3250,3660,3686,3608,3835,3596,3748,3837,3670,3655,3659,3582,3750,3994,3140,1966,1822,2155,2352,2394,2121,1760,1727,2214,2599,2300,1859,1983,2264,2164,2055,1699,1488,1617,1636,1520,1448,1652,1856,2105,2671,3095,2744,2154,2698,2651,2526,2393,2542,2206,1825,1617,2403,2528,1798,1744,1923,2145,1796,1840,2483,2464,2070,2020,1727,2082,2754,3091,3122,2652,2290,2996,3030,2713,2679,2173,1835,1757,2096,1784,1418,1417,1663,2101,2114,1708,1743,2176,1751,1634,2041,1799,1818,1765,1626,1956,2092,1730,1920,2273,2122,2232,1696,1823,1964,2002,1927,1875,1740,1629,1716,1573,1563,1565,2062,2215,2281,1895,1607,1600,2103,2020,2278,2059,1700,1818,1596,1825,1758,1758,1895,2026,2524,2212,1863,2337,2291,1829,1741,1953,2050,2013,2448,2426,1797,1598,1880,1799,1873,1894,1788,1818,1764,1740,1857,2408,2484,1581,1666,2233,1780,1541,1921,1736,1405,1367,1576,1664,1541,1626,1659,1614,1664,1801,1898,2282,2642,2069,1575,1908,2270,2330,2580,2751,2578,2648,2573,2614,2562,2476,2468,2336,2193,2540,2822,2350,2032,1627,1400,1507,1489,1592,1820,2184,2280,2662,2842,2491,2671,2791,2180,2189,2438,2718,3516,2558,1813,1471,1512,1547,1591,1485,1378,1699,1969,2500,3329,2958,1897,1926,2017,2124,1863,1764,1713,1440,1683,2044,2259,2162,1699,1598,1412,1256,1595,1878,1797,1775,1587,1521,1892,2138,2217,1884,1828,2094,2100,2211,2058,2248,2267,2002,1885,1766,1960,1833,1793,2070,2159,2374,1728,971,958,1082,1566,2072,2142,2054,2069,2109,2147,1980,1634,1386,1406,1668,1540,1440,1589,1654,1518,1591,1643,1556,1552,1721,2362,2778,2111,1896,1622,2284,2173,1925,1999,2007,2359,2695,2523,1652,1813,2166,2130,1964,1808,2337,2170,2068,2047,1872,1699,1793,1991,2588,2643,2186,2155,2453,2098,2134,2480,2814,2699,2413,2342,2391,2547,2653,2587,2710,2899,2455,2417,2917,2527,2007,2105,1993,1996,2368,2686,3252,3492,3698,3974,4194,3182,3017,2954,3060,3232,3320,3443,2989,2439,2398,2419,3094,2284,2431,1609,1167,1805,1963,1963,1962,2404,3651,4461,3431,2339,2495,2723,2491,2779,3051,2667,2710,2761,3020,3650,4207,4344,3950,3408,2927,2811,2640,2296,2035,1876,1740,1648,1954,2556,2774,2906,3326,2691,1562,1717,2038,1427,1487,1905,2534,2674,2330,2435,2267,1745,1754,2169,2881,2381,2312,2372,2165,2216,2480,1586,649,1164,2027,3040,3571,3426,2727,2133,2018,2076,2126,2457,2490,2711,2568,2291,2377,2388,2459,2437,2491,2680,2422,1982,2156,2426,1904,1284,1647,2010,2526,3751,4560,4384,3120,2303,2630,2448,2085,2866,3674,3367,2917,2203,1549,2489,3719,2525,1985,1863,1778,2170,2388,2531,2236,2352,2780,2357,2042,2303,2437,2322,2485,2553,2653,2385,2575,2855,3166,2972,2361,2126,2406,1931,1542,1569,1536,2055,2677,2834,2832,2451,1956,1198,1271,2101,2192,2337,2934,4002,4401,4074,3088,2301,2317,2071,1200,1289,2053,2355,2397,2657,2391,2347,2541,2053,2995,2402,2837,3182,2732,2572,3002,3147,2918,3072,2890,2801,2357,2519,2402,2679,2159,1636,1353,1610,1779,1562,1456,1448,1532,1622,1513,881,478,599,1071,706,504,1418,1638,1253,1844,2092,1482,1093,1456,1389,1719,1722,1678,1880,1844,1732,1582,1555,1374,1529,2485,2745,2733,2249,1530,1227,1550,1793,1811,1193,1208,1375,1276,1224,1010,1845,2148,2037,1755,1768,2440,3454,3565,3277,3150,2705,2563,2893,2722,1847,1567,1711,1701,1743,2339,2466,2911,3276,3266,3074,2808,3184,3383,1804,1712,1925,1809,1684,2081,2339,2259,1858,1534,1494,2042,2278,1962,2503,3302,3248,3140,3404,3528,2601,2260,2900,3153,2994,2707,2686,2729,2653,2596,2712,2850,3023,3234,3315,3115,3194,3330,3295,3167,3236,3388,3496,3599,3553,3636,3573,3537,3635,3586,3521,3436,3269,3594,3537,3178,2998,2767,2498,2517,2055,2017,2216,2267,2478,2236,1982,2346,2321,2093,2436,2925,2589,2924,3633,3558,3132,3378,2454,2014,2247,1905,1957,2196,2003,1566,1468,1612,1531,1544,1516,1558,1807,1824,1499,1496,1549,1407,1458,1666,1992,1595,1620,1439,1354,1362,1359,1298,1380,1670,1793,1548,1616,1546,1383,1415,1786,1535,1567,1514,1414,1425,1533,1510,1337,1302,1492,1414,1528,1658,1417,1359,1331,3156,3117,1693,1481,1435,1320,1267,1255,1293,1300,1317,1135,1166,1209,1171,1184,1165,1290,1272,1226,1294,1274,1166,1119,1231,1336,1358,1314,1342,1394,1313,1403,1392,1350,1471,1430,1361,1526,1693,2518,3065,2490,1845,1677,1698,1603,1531,1508,1445,1523,1465,1226,1350,1471,1706,1977,1639,1421,1420,1311,1552,1764,1505,1487,1560,1480,1486,1565,1856,1870,1668,1410,1314,1358,1403,1408,1479,1804,2037,2283,2129,2023,2261,2216,2323,2137,1970,2247,1826,1637,1708,1700,1543,1477,1491,1274,1372,1560,1539,1451,1526,1713,2127,2182,1882,1735,2218,2213,1623,1562,1797,1863,1954,1753,1553,1690,1774,1627,2016,2534,2420,2877,2851,2588,2266,2492,2379,2038,2242,2563,2753,2725,2222,1783,1902,1943,2336,2469,2137,1937,1786,1781,1763,1569,1828,2141,1975,1951,1528,1873,2306,1734,1478,1517,1790,2269,2288,1840,1736,1749,1644,1538,1576,1628,1665,1509,2047,2453,2836,3140,2655,1930,2244,2490,2143,2324,3024,3319,2953,2888,2711,2409,2239,2303,2345,2320,2201,2009,1955,2122,2215,2597,2624,2433,2303,1975,1891,1988,2021,2178,2138,1982,2442,2081,2200,2115,1770,1571,1660,1808,1653,1627,2096,2237,2237,2819,3254,3453,3027,1996,1968,2025,1848,1887,1988,1969,2089,2428,1935,1719,1515,1686,1560,1692,1909,1776,2308,2414,2001,2090,2351,2665,2702,2665,2917,2665,2443,2284,2102,1990,1929,2249,2314,2261,2641,2997,2480,1840,1636,1825,2128,2148,2254,2285,1896,1510,1491,1666,1652,1695,1800,1475,1523,1640,1603,1761,2145,1923,1674,1703,1740,1559,1577,1644,1635,1765,1920,2483,2656,2118,1666,1466,1622,1658,1635,1621,1623,1721,2231,2764,2264,2045,1918,2410,2550,2477,2311,2003,1938,1786,1840,1851,2098,2564,2139,1909,2113,2150,2170,2114,2240,2303,2131,1826,2168,2755,2164,1732,1946,1754,1698,2014,2104,2215,2363,2335,2649,3053,3156,3429,3354,3388,3304,3374,2647,1730,1695,1514,1866,2137,2226,2255,1970,2235,2688,2788,2968,2952,2808,2562,2664,3044,3146,2802,2502,2334,2355,2163,2206,2688,2587,2117,1692,2046,3452,3717,2840,1850,1522,2003,2688,2688,2318,2478,2544,2493,2222,1800,1663,1528,1354,1388,1419,1569,1692,1724,1716,1401,1517,1598,1640,1652,2294,2604,2611,2608,2026,1553,1782,2078,2108,2232,2160,1891,1700,1912,2018,2431,2863,2962,2850,2879,2784,2277,2548,2899,2382,1996,1761,1727,1710,1783,1702,1598,1584,1442,1526,1636,1516,1606,1733,1486,1544,1621,1548,1444,1494,2432,2609,2241,2366,2635,2872,2788,3267,3414,3450,3192,3197,3276,3232,3159,3349,3221,2806,2922,2688,2481,2427,2337,2129,2450,2600,2723,3427,3913,3586,3109,3030,3210,3574,3828,3952,3485,3500],[2383,2309,2383,3222,3356,3354,4128,4175,4145,3984,4156,4826,4612,4796,4857,4016,3218,2695,2454,2850,3309,3414,3269,3260,3128,3117,3012,3163,3167,3160,3145,2672,2993,3561,2441,1269,1566,1862,2344,2887,2874,3263,2943,2545,2552,2556,3000,3362,3286,3240,3485,3307,2557,2088,2363,2558,2387,2356,2634,2509,2325,2417,2494,2382,2294,2736,2921,2691,2250,2295,2172,2544,2908,2551,2281,2257,2254,1881,1651,1772,1974,1916,2019,1977,2010,2094,2442,2272,2223,2493,2238,1775,1712,1635,1517,2088,2696,2021,1744,2517,3175,2810,2675,3450,3818,3166,2626,2353,3116,3327,2858,2553,2459,2566,2624,2699,3366,3666,3736,3477,2864,2664,2535,2517,2615,2462,2624,3287,3531,3440,3031,2441,2315,2431,2553,2775,2670,2382,2280,2474,2546,2665,2669,1903,2109,3057,2978,2645,2749,2761,3219,3480,3203,3208,3185,3046,2648,2168,1957,2178,2119,2359,2951,3217,3282,3386,3284,3072,2840,2548,2370,2195,2234,2710,3300,4048,4449,4034,3596,3107,4250,4202,3764,3841,3716,3779,4208,4257,3636,3462,3809,3572,2929,3636,3724,2705,2517,2452,2622,2567,2906,3410,3708,3249,2733,2788,2468,2097,1931,2071,2376,3089,3641,2748,2844,3053,2701,2888,2601,2329,2888,2944,2191,2186,2339,3316,3732,3685,3780,3861,3835,4155,3839,3232,3215,3232,3190,2928,2869,2570,2699,1807,1045,1851,2386,2565,3440,3748,3769,3796,3187,2443,2194,2068,1763,1679,2000,2065,2009,1869,1794,2375,2875,2744,2634,2664,2932,2299,2230,2371,2293,1930,2212,2671,2624,2509,2825,2695,2601,2507,2807,2856,2878,2862,3272,3585,2964,2391,1867,1607,1705,1735,1826,2165,2004,1811,1687,1744,2267,2676,2402,1850,2002,2042,1865,2402,2876,3007,3428,3710,4008,3576,3366,3066,2679,2076,1598,1541,1781,1968,2080,2707,2885,2329,1884,1681,1772,2066,2298,2482,2334,2071,2200,2288,3002,2657,2366,2104,1826,1667,1665,1801,2128,1827,1904,2417,2802,3067,2965,3133,3216,3442,3128,2638,2537,2850,2797,1898,1439,2079,2366,2150,2025,2367,2372,2321,2380,2310,2304,2313,2443,2541,2442,2618,2431,2509,2515,2355,2580,2457,2219,2194,2176,2444,2698,2678,2765,2911,3133,3243,2816,2348,1880,2230,2810,2964,2691,2286,2126,1854,1696,1658,1818,2005,1802,1755,1656,1795,2819,3665,3731,3795,3608,3112,2724,2116,1832,2219,2316,2310,2897,2614,1992,1618,2133,2580,2455,2260,2026,1846,2392,2793,1878,1652,2089,1809,2257,2375,2247,2227,2158,1920,2281,2612,2265,2204,2096,2562,2773,2827,3394,3440,3327,3329,3183,3255,3699,3484,3023,3195,3538,3747,3639,3518,3517,3694,3507,3514,3786,3958,3983,3947,3890,3834,3882,3108,2405,2544,2600,2364,2289,2083,1666,1908,2536,2620,2275,2047,2769,2742,2523,2296,1820,1695,1566,1519,1465,1587,1994,1911,1975,2524,2778,2954,2623,2980,2955,2677,2711,2892,2514,2156,2086,2230,2205,1797,1909,2143,2475,1916,1750,2353,2890,1787,1082,1892,2637,2758,2844,2650,2077,2784,3530,3222,2615,2374,2105,2468,2656,2025,1637,1636,1540,1483,1627,1620,1675,1809,2004,1789,1452,1636,1678,1694,1523,1416,1869,2092,1687,1834,2004,1721,1853,1756,1962,2198,2107,1844,1608,1497,1710,1764,1563,1741,1848,2312,2019,2253,1949,1499,1511,1541,1627,2121,2271,2474,2420,1729,1869,2233,2194,2105,1985,1957,1637,2137,3431,3118,1982,1778,2142,2044,1914,2117,2088,1610,1764,2131,1863,1770,1659,1562,1632,1671,1836,1777,1820,1903,1659,1561,1534,1600,1616,1612,1565,1491,1584,1664,1795,2179,2344,2127,1779,2006,2126,2136,2243,2564,2266,1615,1834,2296,2411,2225,2343,2423,2504,2604,2645,2631,2544,2477,2246,1934,2260,2675,2688,2656,1799,1695,1774,1571,1543,1579,2135,2721,3216,3312,2503,2495,2388,2257,2182,2154,2082,2591,2571,1813,1583,1644,1569,1670,1677,1901,2137,1951,2386,2937,2657,2120,1983,1852,1956,1859,1814,1810,1364,1587,1777,1812,1853,1663,1532,1419,1516,2077,1932,1393,1581,1681,1634,1750,1681,1820,1643,1915,1905,1917,1953,1924,2122,1887,1769,1822,2040,2143,1621,1824,2126,2111,2054,1260,1111,1390,1500,1887,1936,1941,2321,2209,1984,1950,1996,1600,1635,1737,1537,1981,2492,2365,2200,1815,1868,1920,1862,1954,2198,2373,2612,2216,1954,1998,2020,1840,1943,2136,2220,2170,2126,2545,2160,2197,2137,2006,1747,1853,2170,2126,2045,1884,1714,1877,2514,2610,2446,2025,1717,1741,2021,2592,2995,3109,2975,2607,2404,2286,2303,2462,2473,2550,2819,2533,2106,2441,2531,2149,1870,2101,1880,2166,2188,2647,3256,3391,3689,4060,3959,3228,3022,3061,3231,3300,3283,3458,3131,2382,2150,2296,3076,2569,1934,1215,1284,1756,2209,2195,1936,2287,3228,4332,3676,2624,2809,3090,2701,2544,2577,2556,2366,1740,2049,3212,3996,4361,4464,4116,3485,3162,2749,2478,2222,2105,1913,1761,2049,2627,3013,3032,2661,1698,1258,1454,1806,1791,1743,1526,1535,1910,2302,2515,2304,2048,2566,2636,2154,1626,2017,2389,2186,2236,2340,1404,874,1575,1528,2435,3362,3261,2828,2696,2376,2352,2109,1883,2005,2166,2167,1941,2244,1963,2236,2262,2167,2279,2815,3029,3388,3472,2166,1709,2750,2844,3218,4575,4533,4396,3364,2966,3103,2596,2753,3411,2479,1706,2020,1733,1278,2388,2790,2569,1864,1916,1940,2040,2533,2300,1669,1851,2138,2154,2083,2068,2442,2321,2082,1697,2353,3297,3554,3320,3234,3168,2359,1869,2611,2468,2256,2267,2289,2483,2586,2618,2618,2121,1277,880,2014,3113,2410,2000,2331,2746,3439,3698,2662,1897,2122,1769,1399,1653,2245,2519,2742,2679,1936,2462,2271,1699,2621,2465,2704,3227,3354,2933,2896,3191,2309,2421,3061,2474,2457,2910,3109,3043,2299,1803,2249,2708,2249,1567,1322,1471,1974,1772,1564,1257,803,1053,1417,1019,642,1376,1838,1371,2077,2176,1743,1417,1385,1250,1638,1681,1577,1773,1670,1221,1184,1428,1467,1498,2292,2495,2358,1947,1736,1651,1627,1764,1686,1492,1518,1263,1186,1202,1131,1815,1931,1898,1983,1811,2201,3283,3538,3175,3412,3463,3216,3232,3285,2619,2208,2499,2248,2092,2679,2711,2443,2818,3078,2910,2792,3071,3297,1885,2087,2007,2373,2526,2375,2065,2037,2003,1704,1849,2564,2530,2077,2507,3185,3320,3291,3443,3349,2720,2786,3144,3176,3057,2724,2742,2698,2655,2551,2652,2878,3098,3372,3307,3085,3212,3319,3260,3269,3422,3463,3332,3436,3679,3838,3815,3692,3717,3064,2764,3303,3384,3784,3294,2802,2688,2445,2498,2220,1612,1705,2144,2302,2464,2200,2091,2119,1819,1712,1835,1893,2256,2797,3450,3936,4026,3416,2434,1875,1796,1572,2156,2003,1940,1827,1621,1627,1870,1854,1737,1827,1797,1836,1591,1503,1721,1725,1521,1753,1833,1579,1404,1257,1284,1385,1332,1295,1324,1421,1448,1364,1434,1282,1223,1506,1745,1457,1269,1350,1352,1391,1538,1562,1426,1350,1368,1411,1578,1543,1423,1405,1271,1998,1910,1463,1559,1435,1375,1313,1345,1282,1278,1305,1316,1236,1223,1404,1381,1248,1310,1285,1344,1256,1195,1101,1294,1334,1309,1277,1284,1318,1341,1256,1288,1355,1431,1399,1614,1869,1681,1502,2209,2865,2219,1613,1618,1653,1528,1656,1566,1463,1347,1392,1547,1694,1566,1664,1932,1664,1409,1472,1427,1380,1403,1731,1553,1692,1470,1338,1654,1770,1805,1690,1401,1491,1568,1468,1459,1478,1786,1948,2163,2183,2034,2067,2236,2602,2597,2745,2732,1666,1675,1637,1666,1618,1499,1401,1323,1336,1438,1488,1487,1640,2208,2436,2048,2326,1707,2326,2124,1504,1769,1960,2032,2100,1897,1560,1700,1692,1940,2681,2811,2627,3192,3297,2514,2186,2591,2621,2284,2128,2375,2557,2154,1821,1759,2548,2446,2131,2270,2166,1895,1636,1582,1590,1706,1912,2784,2448,1815,1691,1690,1938,1731,1435,1566,1537,1717,1909,1950,2122,1883,1919,1682,1747,1926,2241,2478,2776,3316,3155,2573,1914,1836,2780,2897,2240,1965,2402,3055,3072,2735,2873,2818,2327,2257,2266,2223,2287,2263,2136,2110,2177,2416,2670,2673,2351,2410,2359,2225,2210,2214,2010,1904,2199,2397,2525,2543,2527,2172,1809,1683,1798,2027,2566,2303,2083,2323,1905,2396,2275,1857,1711,1671,1750,1675,1612,1763,2110,2159,1960,1749,1581,1672,1851,2101,2099,1902,2049,2263,2476,2294,2095,2313,2916,3165,3042,2733,2785,2278,2131,2172,1841,1964,2320,2337,2566,2839,2386,1906,1862,2085,2260,2420,2678,2801,2521,1851,1522,1510,1578,1628,1632,1349,1376,1492,1587,1805,2002,1880,1691,1781,1711,1534,1582,1735,1737,1708,1705,2191,2520,2088,1524,1459,1627,1844,1886,1681,1783,2107,2508,2735,2385,2302,2091,2171,2114,2208,2439,2438,1923,1648,1710,2078,1926,1749,1881,2065,2304,2657,2691,2455,2048,2040,2072,1810,1858,2296,2147,1842,2178,2023,2040,2347,2082,2115,2363,2296,2871,3670,3885,3931,3861,3583,3240,3074,2392,1937,1809,1672,1773,1713,1910,2168,2025,2103,2440,2765,2876,2174,2131,2615,3185,3376,2809,2097,2059,2166,2256,2148,2410,2386,2243,2175,1812,1994,2742,2853,1969,1620,1704,1710,2141,2648,2604,2372,2518,2546,2055,1750,1753,1556,1547,1909,2040,1836,1693,1993,1672,1510,1865,1722,1588,1760,1970,1877,1814,1958,1900,1961,2087,2200,2164,2691,2635,2438,2020,1665,1835,2423,3119,3465,3184,2865,2309,1824,2437,2633,1882,1518,1483,1559,1511,1454,1491,1451,1460,1511,1581,1470,1453,1571,1593,1693,1795,1920,1736,1575,1820,2191,2417,2567,2540,2588,2799,2724,2933,2879,2986,2973,2695,2350,2202,2357,2684,2934,2774,2445,2544,2668,2290,2012,1945,2995,3165,2778,2750,3188,3473,3111,3237,3676,3763,3706,3508,3515,3486],[2176,2408,2534,3238,3567,3250,3661,3801,3974,3973,4085,4747,4726,4514,4319,3738,3174,3139,3232,3458,3365,3410,3396,3254,3165,3173,3206,3331,3392,3559,3740,3439,3672,3724,2286,1476,1970,1819,2331,2698,3008,3234,2512,2307,2611,2897,3187,3538,3651,3581,3376,3278,2727,2407,2553,2657,2740,2902,3160,3204,3203,3394,3354,3039,2219,2408,2432,2798,3080,2700,2246,2235,2306,2376,2463,2192,2361,2214,1985,1825,1817,1798,2049,2534,2367,2335,2734,2424,1982,2343,1901,1503,1619,1981,1709,2129,2674,2087,2332,2972,2910,2777,2986,3398,3476,3150,2742,2513,3000,2688,2385,1991,2054,2222,2264,2512,2732,2533,3098,3625,3496,3585,3295,2872,2781,3173,3623,3265,2790,2858,2858,2822,2702,2744,2901,2598,2579,2003,2150,2188,2310,2514,2536,2307,2640,3441,3330,3149,3227,3122,2958,2835,3045,3182,3051,2932,3027,2960,2890,2453,2255,2668,3210,3367,3274,3294,3020,2820,2496,1860,1756,1882,1888,2199,2986,4157,4780,3844,3705,3830,3694,2988,2977,3693,3948,3826,4416,4637,3796,3649,3602,3436,3134,3221,3544,2662,2394,2375,2151,2697,3400,3497,3818,3743,3186,2834,2397,2144,2068,2656,3088,3161,3255,2885,3042,2757,1790,1869,2012,2445,3004,2692,2211,2250,2590,3309,3794,3942,4064,3951,3857,4243,4176,3600,3210,3440,3253,3406,3438,2813,2980,2665,1924,2273,2657,2439,2802,2873,2866,3089,2799,2343,2301,2294,1904,1643,2005,2557,2696,2426,2266,2462,2637,2476,2565,2823,3008,2330,1788,2090,2170,1978,2339,2510,2318,2480,2708,2589,2610,2554,2474,2325,2338,2403,2452,2441,2156,1987,1766,1805,1712,1956,2446,2313,1947,1830,1631,1748,2210,2548,2222,1787,1371,1954,2048,2432,2876,3298,3134,3484,4196,4104,3233,3031,3024,2024,1606,1657,2225,2523,2667,3037,2670,2239,1980,1758,1914,1712,1805,2285,2564,2296,1936,1827,2634,2474,2394,2246,1864,1800,1771,1957,2389,2114,2088,2532,2924,3279,3076,2861,3063,3453,3249,2843,2645,2873,3204,2708,2600,2619,2352,1963,2151,2500,2366,2261,2399,2464,2468,2343,2382,2460,2408,2491,2486,2609,2662,2709,2708,2454,2208,2172,2404,2788,2591,2552,2856,3025,2862,2128,1788,2204,2475,3261,3528,3032,2530,2354,2139,1754,2061,1787,1804,1903,1809,1698,1482,1733,2747,3559,3641,3608,3284,3189,2570,1732,1172,1494,2272,2143,2755,2620,2054,1878,2332,2887,2670,2036,1820,1897,2238,2524,1860,1705,2024,2185,2801,2834,2456,2213,2078,2100,2512,2165,2420,2292,2135,2602,2614,2193,2304,2752,2956,2767,2552,2301,2678,3239,3154,2625,3332,3609,3586,3522,3486,3360,3038,3121,3609,3859,3935,3914,4064,4099,3774,3312,3308,3283,2786,2139,2003,2212,2535,3409,3939,3243,2183,2105,2742,2442,2232,1941,1594,1503,1500,1637,1675,1663,1730,1524,1594,2168,2470,2642,2425,2931,2940,2475,2383,2742,2862,2775,2062,1866,2140,2069,2757,3062,2803,2359,2030,2707,3068,2144,1731,2067,2132,1970,1965,1962,2464,3517,3198,2287,1954,2017,1858,2100,2167,1997,1798,1628,1474,1434,1364,1384,1566,1695,1972,1820,1496,1592,1776,1505,1436,2103,2273,2071,1650,1748,1754,1550,1596,1653,1673,1682,1646,1924,1724,1376,1528,1530,1543,1735,2216,2126,2002,2191,1998,1655,1968,1965,1846,2116,2363,2797,2521,1924,1894,2158,1960,1857,1788,1610,1535,1731,2304,2336,1906,1914,2098,1766,1778,1849,1839,1665,1913,2150,1954,2156,2026,1742,1456,1548,1626,1628,1692,1701,1788,1569,1747,2132,2239,2542,2280,1950,1999,1774,1823,2111,2498,2130,1812,1997,2291,2104,1619,1997,2362,1647,1779,2320,2732,2359,2300,2326,2385,2520,2574,2546,2472,2462,2322,2012,2251,2779,3083,3132,2085,1568,1332,1413,1694,1865,2344,2769,2568,2501,1916,2444,2475,2562,2520,2361,2422,2798,2714,2275,1597,1221,1160,1584,1988,1924,1645,1643,2040,2902,3055,2532,1938,1537,1710,2019,2112,2004,1374,1482,1441,1724,1910,1803,1783,1631,1832,2076,1439,945,1649,1829,1745,1555,1386,1394,1418,1992,2373,2285,1887,1929,1964,2148,2315,2482,2214,1585,1188,1553,2250,2104,1663,1606,1776,1762,1821,1780,1196,1766,2646,2562,1660,1486,1848,1801,2136,2089,1694,2149,2438,2279,2706,2376,2380,2170,2122,2185,2126,1848,1966,2226,1984,1793,2048,1926,1687,1901,2038,1793,1652,1810,1790,1652,1417,1447,1401,1675,2050,1818,2011,1747,1493,1953,2764,2849,2340,2216,2224,1794,1774,2686,3204,3174,2822,2510,2372,2296,2402,2630,2678,2866,2876,2151,2355,2500,2203,2009,1810,1774,1999,2103,2090,2723,3020,3095,3378,3982,4124,3659,3265,2999,2990,2844,2996,3000,2725,2062,2309,2766,3272,2536,1375,1287,1720,1940,2171,2170,2100,2564,3270,4252,4388,3806,3362,3134,2812,2489,2470,2597,2120,1482,2138,2310,3000,3904,4396,4339,4145,3826,3403,2576,2138,2283,2155,1841,1589,1921,2792,2907,2263,1418,1188,1426,1548,1596,2150,2354,2013,1541,1677,2432,2306,1886,2374,2328,1967,2070,2446,2955,2902,2263,1883,1216,1290,2382,2424,2504,2710,2192,2182,2232,1926,1912,1748,1860,2370,3220,2966,1907,2096,2023,2490,3164,2923,2773,3642,4152,4028,3327,1657,1950,2798,2796,3270,4859,4939,4364,3217,3145,3658,3628,3710,3227,1502,1207,1815,1800,1346,2316,2222,2248,1945,2449,2426,2084,2118,1852,1760,2215,2216,2273,2066,1950,2645,3076,2862,1930,1443,1891,2244,2137,2163,2106,2150,2788,3484,3636,3133,2313,2642,2857,2692,2836,2608,2001,1288,1534,2711,3405,2280,1945,2440,2426,2315,2341,1989,2254,2230,1681,1748,2073,1955,2291,2553,2275,1992,2432,2104,1698,1948,2222,2420,3248,3946,3274,2910,2601,2314,2755,2934,2502,2755,2679,2932,2897,1891,1986,2497,2390,2260,1575,1334,1644,1671,1869,1787,1516,1300,1138,1122,977,1056,1371,1825,1959,2258,2060,1619,1282,1042,947,1390,1619,1453,1422,1066,867,1044,1343,1354,1249,1598,1584,1374,1472,1386,1275,1612,1775,1672,1678,1574,1189,1351,1063,1324,1759,1851,2077,2292,2021,1890,2806,3383,3299,3554,3680,3632,3660,3698,3312,3021,3173,2773,2522,2915,2504,2076,2788,3055,3007,3234,3436,3190,2287,3040,3450,3078,2910,2646,2225,2108,2002,1852,1749,2401,2648,2155,2385,3008,3247,3385,3485,3349,3207,3184,3190,3054,2934,2590,2576,2696,2703,2524,2569,2915,3139,3252,3218,3240,3451,3400,3161,3178,3353,3355,3205,3454,3803,3826,3868,3750,3273,2400,2545,3445,3461,3529,2861,2670,2554,1992,2062,1895,1543,1466,1510,1958,1952,1798,1842,2062,2107,2024,1951,1892,2166,2674,3055,3094,2874,2656,2366,2112,2151,2047,2665,2657,2499,2250,2237,2090,2012,1875,1947,2171,1824,1880,1482,1414,1510,1587,1477,1638,1998,1866,1524,1526,1395,1373,1265,1217,1245,1269,1327,1382,1208,1116,1211,1438,1415,1256,1297,1357,1329,1362,1524,1516,1490,1491,1338,1433,1497,1488,1426,1357,1421,1636,1664,1545,1538,1689,1519,1470,1371,1299,1243,1369,1592,1448,1191,1440,1439,1302,1306,1363,1384,1312,1187,1236,1388,1367,1294,1316,1323,1329,1374,1294,1309,1232,1321,1339,1495,1620,1523,1418,1676,1742,1489,1551,1638,1650,1535,1592,1470,1388,1325,1496,1790,1886,1749,1907,2081,1702,1569,2050,1499,1502,1527,1533,1431,1409,1283,1358,1479,1534,1760,1801,1543,1619,1510,1575,1428,1593,1658,1521,1651,1687,1814,2019,1890,1782,1921,2319,2033,1492,1582,1654,1662,1692,1569,1328,1320,1348,1377,1512,1721,1824,2400,2296,2384,2884,2569,2566,2283,2010,1772,1926,1935,1938,1834,1584,1796,1738,2025,2580,2707,2602,2601,2510,2328,2038,2144,2778,2909,2170,2078,2213,2037,1743,1995,2464,2117,1994,2153,1830,1662,1640,1644,1670,1816,1797,2408,2349,2051,1902,1832,1847,1794,1887,1835,1744,1653,1787,2317,2448,2189,2209,2071,2110,2570,3266,3262,3287,3127,2423,2023,1757,2474,3369,2949,2244,2062,2054,2613,2799,2402,2908,3040,2610,2206,2182,2284,2401,2344,2304,2217,2215,2188,2316,2438,2244,2640,2438,2128,2674,2947,2580,2013,1730,1920,2126,2511,2540,2229,2315,2047,2430,2398,2281,2274,2431,2359,2033,2358,2151,1684,1506,1783,1998,1910,1773,1555,1682,1672,1969,1794,1672,1664,1943,2216,1976,1764,2018,2441,2513,2394,2160,1918,2358,3028,3030,2845,2600,2412,2810,2462,2116,2075,1956,2118,2861,3349,2646,2090,2174,2388,2266,2491,2949,2811,2463,2021,1650,1554,1650,1631,1583,1351,1212,1437,1616,1629,1606,1583,1584,1655,1666,1672,1581,1681,1748,1606,1536,1970,2137,1712,1619,1782,2000,2021,1880,2060,2129,2513,3217,3107,2309,2317,2493,2004,1708,1714,1914,2386,2374,2009,1936,2330,2187,2045,2208,2303,2493,2307,2302,2287,1991,1952,1856,2024,1914,2045,2238,1923,2093,1875,1814,1953,1786,1969,2090,2364,3142,3695,4056,4140,4223,4120,3614,2988,2412,2145,1853,1807,2164,2189,1927,1770,1710,1519,2090,2635,2580,2272,2282,2681,2996,2879,2489,1830,1782,2132,2157,2104,2063,1816,1844,1694,1480,1530,1785,1875,1717,1907,2277,2114,2304,2677,3088,2522,2088,2165,2026,1697,1664,1731,1698,2093,2096,1747,1534,1659,1449,1636,1861,1833,1761,1659,1734,1931,2120,2130,1951,2142,2153,2490,2133,2348,2428,3162,3297,2207,1618,2054,2636,3259,3130,2642,1887,1716,2160,2160,1710,1528,1512,1592,1516,1414,1483,1513,1575,1709,1608,1604,1503,1636,2150,1984,1555,1817,2004,1946,1982,1891,2226,2468,2587,2493,2536,2438,2310,2177,2487,2855,2418,2029,2033,2120,2237,2697,3284,2584,2270,2430,2518,2658,3220,3513,3365,3321,2698,3133,3398,3551,3781,3814,3572,3109,2974,3392,3571],[2574,2750,2497,3206,3139,3007,3328,3601,4048,4261,4320,4415,4408,4003,3525,3270,2689,2502,2890,3240,3176,3211,3247,3125,3182,3208,3033,3156,3393,3632,3978,3752,3842,3758,2873,2819,2938,2592,2721,2896,3239,3040,2678,2906,3084,3197,3239,3318,3297,3458,3064,2955,3118,3313,3402,3521,3728,3931,4124,4200,4061,3785,3561,3184,2420,2423,3341,3803,3204,2792,2505,2424,2696,2565,2397,2085,1956,1738,1743,1967,2344,2317,2693,3075,2294,1702,2257,2758,1936,2355,1791,1777,1946,2129,1886,1760,1657,1830,2768,3438,3370,3225,3580,3082,2644,2608,2424,2166,2149,2311,1957,1862,2268,2464,2393,2336,2330,2476,2941,2591,3054,3561,3430,3021,2812,3263,3352,2941,2832,2757,2577,2301,2108,2250,2608,2216,1937,2314,2450,2114,2256,2314,2504,2411,2114,2872,3642,3625,3536,3408,3500,3461,3622,3359,3152,3553,3305,3234,3190,2680,2219,2174,2660,3328,3119,3123,2916,2651,2266,1803,1814,1720,1453,1703,2658,3121,3720,3450,3340,3420,3177,2202,2366,3458,3570,3528,3960,4564,4085,4051,3872,3639,3064,3492,3265,2347,2289,2612,2708,3108,3498,3516,3615,3291,3106,2920,2653,2450,2281,2764,3001,2763,2745,2740,2449,2215,1811,1869,2027,2213,2860,2634,2535,2822,3196,3585,3925,4059,4189,3925,4158,4380,4385,3962,3640,3497,3062,3273,3215,2485,2686,3241,3133,2947,3180,3296,3489,3039,2776,3249,3566,3161,2779,2624,2255,2320,2746,2663,2492,2681,2390,2247,2468,2413,2499,2287,1944,1829,1625,1787,1708,1839,2315,2144,1905,2087,2424,2207,1945,2329,2687,2253,2087,2295,2543,2462,2085,1631,2041,2078,2009,2636,2674,1997,1672,1528,1666,2020,2262,2532,2303,2353,1926,1425,1867,2414,3088,3343,2788,2764,3078,3043,2149,2323,2654,1901,1324,1068,2028,2700,3133,3506,2808,2001,1800,1669,1710,1731,2091,2952,2706,2164,1833,1707,2400,2485,2053,1943,1778,1793,1735,1712,2061,2204,2175,2500,2620,2554,2521,2676,3082,3417,3196,2887,2413,2546,2899,2490,2676,2974,2511,2046,2168,2427,2398,2315,2505,2662,2733,2486,2347,2380,2834,2875,2454,2452,2607,2603,2400,1988,1979,2268,2656,2895,2558,2678,2852,3152,2779,2159,2149,2373,2800,3448,3564,2981,2498,2430,1924,2217,2377,1812,1748,1966,1911,1636,1355,1367,2133,2795,2568,2795,3095,3086,2322,1919,1512,1778,2367,2131,2203,2060,1793,1848,1908,1999,1852,1611,1403,1541,1950,2360,2274,2447,2654,2850,3045,2686,2379,1972,1978,2272,2416,2044,2514,2494,1994,2071,1985,1603,1696,2153,2102,1875,1903,1757,2117,2938,2858,2722,3274,3539,3298,3073,3269,3184,3119,3144,3536,3698,3831,3862,3868,3970,3365,2763,2963,3252,3155,2801,2349,2772,3218,3475,4014,3337,2255,2068,1879,2061,2139,1780,1557,1560,1793,1787,1709,1532,1753,1607,1600,2047,2228,1673,1601,1956,2336,2487,2065,2246,2417,2435,1872,1680,2041,2072,2541,2990,2669,2551,2619,2700,2765,2551,2128,1669,1615,1650,1765,1916,2615,2916,2456,2235,2508,2353,1918,2137,2404,1981,1665,1573,1558,1574,1532,1918,2141,1803,1584,1488,1549,1596,1732,1502,1284,2303,2776,2241,1870,1817,1763,1634,1480,1481,1758,1697,1617,1672,1758,1687,1713,1677,1858,1865,1717,1598,1723,1904,1894,1795,2476,2185,2019,1778,1759,1961,2136,2256,1997,1859,1853,2169,2304,1874,1670,1481,1575,1956,2346,2311,2393,2146,1934,2049,2343,2278,2206,2223,1937,2165,1862,1678,1537,1415,1569,1678,1613,1820,1653,1610,2244,2636,2178,2658,3110,2919,2348,1732,1675,1808,1915,1650,1855,2111,1829,1674,1564,2107,2530,1818,1726,2226,2665,2471,2339,2375,2325,2352,2461,2376,2171,2027,1964,1985,2301,2635,3097,2725,1897,1715,1804,1956,2016,2070,2645,3010,2192,1815,1980,2360,2210,2784,3138,3291,3355,2922,2596,2612,1614,1461,1410,1589,1971,1754,1723,1592,1820,2627,2699,2249,2047,1689,1822,2574,2404,2087,1668,1827,1812,1875,2164,2254,2079,1935,1888,1715,1454,1750,2044,1805,1771,1967,1956,1472,1316,1862,2241,2359,2686,2461,2317,2856,2504,2657,2328,2020,1893,1789,2338,2514,1759,1769,2326,2228,2154,1553,1276,2054,2639,2291,1365,1354,1636,1748,2116,2160,2030,2077,2115,2216,2521,2210,2065,1769,1859,1871,1708,1520,1723,2200,1863,1862,2039,1747,1475,1667,1504,1443,1628,1676,1790,1415,1127,1312,1413,1665,2464,1871,2079,1903,1861,2521,3065,2686,2356,2705,2757,2008,1809,2454,2553,2577,2635,2424,2399,2474,2701,2971,3128,3006,2393,2316,2646,2286,2243,1845,1751,1867,2233,2109,2191,2722,2844,2875,2949,3570,4004,3149,2769,2718,2429,2430,2691,2600,2266,2127,2829,3296,2733,1706,1605,1868,1904,1938,2421,2257,2001,2423,3231,4031,4465,4565,4336,3791,3217,2749,2598,2781,1835,1863,2541,2243,2573,3665,3857,3860,4240,4328,4058,3165,2301,2370,2377,2543,2464,2380,2729,2435,1774,1357,1269,1489,1511,1812,2358,2564,3150,2930,1942,1512,1527,1369,1689,2007,2176,2420,2797,3047,2805,2345,1992,1688,1745,2721,3376,2741,2135,1653,1583,1844,2262,2544,2508,2039,2272,3219,2630,2169,2031,1790,2642,4257,4258,3592,3864,4096,4245,3197,1375,2330,2843,2484,3397,4633,4949,4059,2786,2493,2950,3750,3834,2507,1609,2589,3274,2450,1863,2009,2031,1778,1876,2460,2462,2010,1675,2082,2758,2480,2093,1868,2182,2405,2169,2064,2352,2134,1872,1705,1798,1938,2227,2030,2313,2665,2956,2968,2522,2043,2287,2656,2445,2534,2492,1972,1294,2314,3340,3383,1967,1835,2447,2293,2105,2276,2229,2394,2084,1619,1723,2128,2803,2543,2357,1873,2188,2021,1372,1448,1956,2473,2345,2490,3771,3638,3033,2885,3260,2961,2701,3072,3134,2539,2590,2388,1855,2045,1799,1672,2037,1512,1323,1650,1693,2009,1908,1472,1328,1042,1044,1225,1478,1475,1781,2019,1987,1800,1385,871,608,711,1350,1765,1494,1294,1258,1652,1435,1382,1529,1151,1289,1620,1496,1442,1254,1476,1803,1940,1738,1571,1374,1151,1308,844,1122,1588,1810,2054,2144,1973,1576,2391,2962,3109,3582,3353,3327,3818,3665,3263,3052,2973,2989,2878,3189,2878,2696,3045,3083,3156,3310,3455,2796,2199,2769,3155,2933,2596,2459,2141,2040,1866,1729,1537,2203,2640,2171,1899,2669,3454,3398,3310,3231,3235,3147,3009,2692,2569,2689,2557,2506,2581,2540,2713,3020,3007,2930,3063,3150,3172,3156,3007,3068,3203,3355,3373,3526,3680,3649,3716,3470,2608,2149,3045,3637,3740,3802,3137,2769,2262,2061,1930,1497,1711,1977,1715,1528,1330,1524,1643,2098,2500,2312,1853,1836,2164,2544,2207,1788,1838,1881,1769,1810,1919,2515,2714,2635,2365,2361,2443,2245,1930,1666,1792,2337,2029,1882,1453,1382,1341,1451,1593,1916,2205,1889,1458,1446,1414,1407,1314,1279,1311,1290,1346,1407,1363,1232,1366,1572,1438,1377,1598,1505,1336,1368,1555,1729,1733,1562,1517,1524,1599,1699,1376,1367,1526,1722,1852,1565,1398,1634,1779,1730,1559,1471,1359,1460,1529,1432,1145,1283,1365,1315,1243,1400,1692,1509,1421,1448,1271,1294,1416,1406,1342,1260,1214,1262,1190,1273,1315,1396,1741,1826,1535,1368,1423,1471,1542,1630,1536,1437,1502,1469,1285,1365,1503,1637,1798,1791,1748,1769,1819,1966,1843,2461,2019,1687,1714,1866,1731,1428,1382,1366,1329,1583,1692,1910,1663,1502,1432,1562,1481,1627,1616,1527,1581,1674,1836,2105,1934,2266,2708,2318,2080,1648,1489,1591,1567,1678,1792,1583,1480,1359,1329,1720,2074,1968,1979,1906,2219,2517,2569,2265,1973,1883,1920,2033,1904,1777,1680,1587,2041,2520,2509,2263,2414,2601,2316,2156,2354,1923,1660,2173,2569,2021,1816,1918,2134,2074,2008,1964,1750,1648,1699,1487,1569,1519,1462,1542,1758,2053,2031,1990,1918,2093,2553,2137,1691,1830,1788,2099,2089,1974,2260,2369,2384,2601,2740,2854,2872,3357,3539,3396,2480,2099,2078,1970,2412,3051,2801,2701,2597,2075,1974,2013,2186,2603,2750,2424,2026,2067,2388,2518,2396,2251,2223,2239,2127,2085,2250,2127,1842,1851,2169,2706,2916,2657,2301,2316,2026,1742,1948,2094,2165,2227,2211,2514,2417,2188,2276,2453,2330,2802,3206,2219,1887,1922,2188,2020,1753,1676,1759,1673,1724,1883,1841,1740,1716,2125,2593,2259,1974,2149,2150,2445,2535,1833,1610,1836,2281,2722,2784,2451,2832,3011,2508,2285,1897,1840,2562,3297,3476,2840,2756,3085,2622,1697,1771,2398,2220,1735,1611,1785,1712,1644,2042,2183,1622,1351,1486,1532,1592,1531,1563,1559,1694,1941,1807,1732,1803,1839,1711,1687,1860,2144,2110,1805,1871,1875,1635,1953,2706,2724,2949,3031,2537,1927,1938,2143,1844,1678,1634,1765,1851,2216,2101,1965,2372,2254,2237,2394,2300,2112,1658,1779,1909,2031,1936,1976,2201,2120,2208,2342,2088,1823,1758,1682,1695,1945,2409,2419,2556,3000,3353,3762,4021,4169,4252,4046,3278,2343,2093,1903,1962,1982,2504,1898,1682,1708,1552,2315,2805,2372,2062,2075,2374,2770,2832,2636,2264,2292,2460,2254,1839,1742,1864,1579,1267,1491,1688,1547,1551,1633,2035,3030,3064,2632,2720,2989,2460,1815,1969,2119,1895,1690,1831,1598,1531,1610,1661,1651,1506,1494,1592,1589,1702,1815,1647,1772,2438,2990,2709,2348,2413,2653,2824,2098,1966,2379,2990,3768,2952,1613,1635,2332,2912,2988,2824,2355,2100,2050,1841,1731,1603,1434,1500,1677,1766,1816,1598,1620,1937,2071,2013,1736,1715,1877,1646,1578,1828,1949,1793,2020,2004,2200,2024,2130,2128,2303,2350,2135,2154,2453,2767,2202,2229,2020,2211,2176,2463,2669,2292,2093,2156,2623,3273,3420,3299,3449,3641,3686,3477,3552,3552,3814,3625,3360,3308,3248,3515,3625],[2253,2394,2537,3050,2799,2953,3296,3791,4228,4301,4196,3888,3841,3730,3116,2697,2988,2921,3212,3205,3078,3139,3134,3053,2999,3039,2879,2863,3056,3500,3739,3907,3497,3288,3055,3024,3062,2911,2763,2905,3414,3538,3429,3494,3369,3412,3382,3594,3766,3582,3243,3271,3510,3541,3610,3890,3892,3848,3964,3977,3857,3553,3317,3385,3220,3023,3006,2735,2364,2377,2653,2707,2627,2437,2000,1805,1736,1707,1758,1934,2186,2071,2052,2422,1921,1759,2584,2957,1897,1882,1665,1828,1925,1819,1676,1632,1880,2245,2599,3018,2636,2727,3143,2544,2683,2249,2093,1998,1967,2558,2210,2053,2770,2852,1992,1847,2171,2658,2964,2533,2752,2950,2791,2492,2353,2624,2596,2520,2843,2873,2386,1943,1894,2330,2281,2101,2281,2884,2846,2347,2194,2251,2517,2191,2019,2812,3098,3059,3333,3042,3110,3835,4328,3746,3188,3702,2818,2885,2354,2313,2279,1957,2388,3589,3449,3275,3312,2765,2083,1546,1870,2178,1526,2074,2894,3196,3129,3531,3830,3664,2924,2028,2413,3278,3304,3755,3831,3962,3422,3995,4490,4043,3333,3460,3364,2607,2014,2611,3417,3917,3596,3326,3372,3505,3230,2845,2696,2565,2570,2720,2755,2501,2543,2518,2183,2996,2764,2284,2568,2858,2922,2720,2864,3250,3272,3344,3802,3443,3673,3637,4260,4665,4474,3974,3509,3420,3176,3141,3189,2070,2048,3200,3396,2968,2906,3651,4058,3654,3096,3131,3596,3601,3393,2940,2366,2536,2414,2104,2260,2325,2485,3032,2876,2283,2242,2085,1845,1881,1805,1882,1910,2062,2320,2267,2102,2009,2010,1837,1986,2887,3141,2925,2631,2579,3108,2630,2335,2408,2633,2340,2532,2823,2404,2003,1686,1283,1672,2267,2464,2209,1591,1555,1869,1727,1970,2680,3378,3250,2698,2625,2678,2407,2535,2502,2454,2061,1331,1068,1886,2621,3297,3743,3418,2784,2633,2700,2634,2648,2655,3119,2886,2532,2244,1796,2055,2230,2061,1996,1752,1936,1740,1731,1863,2292,2835,3099,3183,2917,2677,2849,3196,3418,3134,3200,2312,3401,3526,2430,2498,2852,2498,2114,2128,2327,2382,2363,2577,2682,2655,2561,2444,2380,2866,3016,2654,2561,2542,2466,2298,1864,2215,2562,2991,3033,2957,3064,3052,3162,2978,2686,2678,2994,3097,3032,3074,2673,2497,2344,2150,2433,2096,1776,1794,1832,2006,1834,1487,1487,1764,2088,2268,2878,3231,2807,2166,2087,2277,2527,2049,1705,1903,1939,1602,1706,1582,1732,1527,1439,1498,1814,1923,2310,2459,2378,2568,2734,2733,2603,2162,2047,2275,2342,2338,1981,2335,2481,2037,1982,1882,1598,1788,2041,1735,1976,1745,1722,2325,2377,2123,2706,3449,3326,2566,2596,3152,3130,3354,3514,3372,3255,3448,3698,3817,3639,2777,2322,2952,3484,3040,3377,3009,3363,3698,3308,3766,3631,3124,2918,2862,2701,2212,1863,1750,1750,1991,1751,1694,1471,1752,1832,1763,1996,2245,1830,1478,1599,2141,2626,2028,2098,1975,1660,1547,1680,2042,2104,2455,2598,2138,2243,2392,2667,2548,2297,2750,1945,1822,2366,2679,2240,2182,2298,2171,1951,1890,2080,2176,2384,1987,1614,1686,1633,1480,1476,1590,2169,2342,1713,1616,1579,1430,1402,1746,1742,1461,2158,2570,2131,1772,1637,1536,1472,1414,1416,1477,1399,1481,1443,1932,1741,1565,2154,2329,1993,1931,1519,1450,1445,1698,1659,1601,1549,1655,1589,1915,1728,1645,2104,2354,1957,1835,2113,2180,2088,2332,2831,2986,3319,3420,2646,2413,2342,1982,2069,2477,2050,1852,2110,1972,2004,2203,1952,1688,1483,1694,1611,1554,1904,1640,1857,2688,2917,2448,2796,2872,2441,1740,1291,1399,1773,1849,1696,1998,1787,1914,1865,1638,2133,2620,2017,1682,2215,2796,2663,2318,2370,2198,2197,2277,2131,2011,1936,1916,2211,2565,2740,3063,2612,1860,1843,1882,1644,1802,2100,2967,3649,3320,2743,2483,1952,2303,3038,3042,2866,2732,2438,2060,2013,1692,1951,1544,1605,1788,1584,1466,1402,1755,2225,1914,1804,2443,2170,1699,1957,2230,2116,1786,1780,1693,1836,2237,2251,2555,2552,2207,1887,1726,1855,1744,1613,2007,2185,1820,1534,1780,2242,1836,2409,3190,2542,2353,2422,2088,2166,2014,2114,2342,1943,2014,2280,2100,1746,2214,2292,2196,1852,1750,1849,2038,1820,1498,1628,1353,1322,2272,2293,2532,2507,2281,2115,2143,2186,2304,2083,1842,1795,1826,1664,1850,2379,1842,1950,1884,1824,1622,1532,1466,1640,1909,1968,1723,1315,1622,1688,1712,1572,2194,1750,1868,2033,1939,2352,3052,2884,2529,2735,3273,2442,1848,1758,1725,2192,2460,2591,2787,2890,2912,2990,2991,2532,2302,2739,2518,2414,2188,2007,1819,1918,1859,1891,2281,2797,3009,2739,2477,3066,3695,3154,2846,2688,2451,2433,2569,2431,2167,2580,3046,2852,1803,1338,1852,2260,1830,1925,2470,2160,1978,2246,2374,2956,4094,4609,4544,4413,3654,2888,2972,3453,2482,2546,2972,2999,3104,3637,3090,2711,3938,4444,4295,3806,3292,3013,2310,2388,2714,2502,2614,2196,1532,1372,1434,1543,1742,2397,2654,2835,3118,2498,2218,1753,1628,1848,1953,2223,1951,2201,2976,2927,2611,2223,2122,2244,1709,2301,2718,2357,2443,2063,1714,2186,2419,3151,3272,1996,1609,1643,1794,1647,1762,1935,2420,4059,4567,4259,4188,4224,4097,2321,1468,2368,2576,2798,3530,3854,3997,3693,3109,2529,2187,2810,2715,1788,1762,2060,2340,2336,1991,2070,2426,2223,1948,2077,1895,1770,1682,2306,3328,3094,2186,1668,1933,2020,2035,2221,1946,1937,2465,2430,1768,1630,2018,1902,2377,2264,2765,3322,3351,3094,2498,2462,2480,2530,2524,1692,1444,3186,4125,2903,2169,2330,2513,2410,2155,2310,1995,1894,1734,1510,2233,2540,2681,2603,2136,1923,2322,1619,748,705,1498,2438,2421,2006,3381,3782,3189,3338,3625,3387,3316,3359,2958,2437,2746,2070,1488,1598,1592,1656,1746,1452,1327,1613,1699,1699,1811,1537,1470,1623,1648,1521,1783,1509,1174,1488,1732,1721,1133,514,800,1327,1889,1890,1613,1109,1257,1642,1592,1395,1633,1457,1776,2242,1991,1734,1773,1618,1746,1902,1566,1488,1310,1250,1224,720,850,1216,1418,1876,1890,1920,1720,2093,2209,2236,2787,2632,2578,2835,2990,3167,3065,2823,2918,2788,2765,3034,3123,2907,2901,3122,3230,3417,2902,2177,2579,2768,2288,2000,2138,1986,1798,1602,1614,1612,2112,2658,2336,1818,2653,3505,3339,3257,3031,3042,2921,2741,2690,2532,2436,2372,2418,2446,2600,2890,2863,2833,2888,2981,2872,2876,3064,3168,3128,3326,3623,3681,3773,3835,3615,3491,3351,3272,3012,3375,4109,4348,3726,3083,2488,2058,2027,1546,1445,1977,2424,2132,1773,1503,1633,1606,1728,2730,2764,1713,1776,2461,2789,2116,1888,1930,1853,1828,1729,2128,2254,2133,2228,2287,2348,2381,2144,1698,1448,1576,2361,2245,1977,1788,1572,1512,1535,1636,1845,1759,1708,1571,1402,1257,1358,1345,1262,1284,1343,1319,1306,1318,1293,1462,1469,1460,1406,1656,1703,1578,1485,1582,1648,1662,1724,1816,1750,1722,1597,1267,1288,1360,1390,1556,1636,1257,1326,2002,1991,1631,1486,1448,1584,1328,1288,1244,1272,1380,1361,1348,1342,1190,1144,1377,1405,1309,1327,1426,1324,1246,1209,1373,1312,1216,1284,1306,1366,1578,1746,1744,1586,1412,1472,1601,1595,1476,1422,1488,1468,1300,1414,1636,1549,1691,1924,1979,1686,1584,2062,1789,2019,2010,1848,2107,2110,1528,1575,1435,1600,1524,1576,1684,1870,1778,1656,1527,1507,1574,1561,1515,1360,1416,1677,2126,2873,2225,2148,2007,1763,1601,1478,1548,1593,1611,1719,1663,1402,1403,1366,1431,1593,2568,2395,1692,1642,1769,1847,1928,2013,2019,1998,2591,2858,2609,2110,1823,1661,1882,2281,2439,2502,2683,2770,2787,2376,2268,1930,1958,2334,1995,1634,1482,1716,2239,2328,2471,2164,1627,1287,1420,1357,1497,1557,1500,1482,1807,2018,1992,1896,1564,2029,2495,2360,1793,1853,2222,2492,2658,2598,2828,2689,2361,2801,2696,2821,2623,2924,3168,2270,1650,1597,1880,1967,1974,2118,2373,2896,2868,2240,1859,1798,2236,2438,2249,2285,2546,2466,2380,2573,2524,2248,2207,2293,2107,2069,2127,2215,1945,2121,2580,2646,2730,2591,2514,2223,2048,1792,2041,1834,1673,1562,1953,2142,2060,1938,1926,1872,1639,2149,2817,2718,2527,2014,1781,1744,1731,1998,1890,1495,1532,1882,2297,1998,1775,2085,2440,1982,2380,2171,2192,2430,1948,1520,1741,2092,1956,2164,2437,2486,2768,2751,2403,1935,2039,2622,3405,3405,2893,2983,3339,3267,2322,1407,1453,1655,1604,1447,1459,1720,1638,1728,2001,1657,1432,1475,1501,1573,1710,1794,2204,1793,2030,2194,2079,1852,1875,1861,1874,2244,2219,2781,2103,1608,1673,1612,1798,2544,2747,3040,3250,2504,1806,1622,1758,1894,1633,1952,1812,1740,1780,1726,1829,1974,2154,2094,1868,1946,2035,1924,1725,1794,1843,1747,1785,1977,2046,1968,1966,2340,2309,1964,1830,1576,1731,1925,2081,2186,2523,2969,3086,3286,3637,3858,4120,3961,3240,2418,2336,2156,1737,2097,2380,1852,1639,1554,1594,2272,2612,2186,1722,1836,2210,2720,2788,2546,2494,2523,2537,2129,1805,2094,2154,1705,1634,1615,1669,1888,1704,1657,2521,3400,3432,3064,3237,3375,2910,2621,3089,2656,1989,1809,2022,2047,1794,1716,1852,1726,1636,1676,1464,1319,1469,1644,2031,2142,3099,2902,2060,2084,2134,2298,2598,2190,1844,1927,2493,3377,2664,1680,1986,1938,1671,1982,2125,1816,1774,2010,2042,2010,1530,1325,1476,1840,1846,1957,1481,1208,1781,2888,3040,2174,1726,1449,1421,1480,1852,2004,1698,2019,2172,2230,2174,2313,2455,2752,2475,2501,2258,2216,2110,2238,2212,2316,2563,2285,2488,2828,2869,2477,1928,1960,2234,2464,3233,3548,3574,3654,3386,3244,3168,3854,3694,3189,3532,3375,3636,3714],[2272,2172,2878,3051,2746,2829,3439,4125,3945,3790,3946,3901,4004,4019,3396,2319,2548,3060,3462,3339,3221,3251,3322,3215,2957,3038,3087,2977,2827,3142,3481,3730,3695,3495,3292,3547,3441,2779,2687,2990,3649,3894,4031,4307,4375,4464,4321,4296,4008,3552,3326,3566,3803,3869,3854,4132,4000,3690,3527,3447,3487,3408,3150,3237,3617,3283,2263,2001,2093,2209,2548,2464,2188,1897,1724,2092,2150,1998,2001,2013,2105,2207,2207,2772,2345,2063,2731,2589,1816,1618,1602,1699,1786,1736,1714,2276,2683,2578,1937,1942,2217,2631,2713,2520,2588,2064,2113,2084,1755,2332,2194,1976,2310,2126,1912,2330,2820,2871,2653,2435,2375,1835,1543,1923,2635,2953,2847,3161,3398,2994,2381,2281,2139,1883,1672,1692,2138,2864,2618,2269,2317,2616,2711,2445,2530,3197,3539,3514,3463,2879,2886,3460,4140,4008,3618,3119,2504,2802,2490,2269,1862,1849,2161,2758,3032,3297,3652,3375,2144,1648,1797,2250,1731,2070,2570,2568,2480,2840,3215,3043,2380,2199,3061,3760,3872,3890,3775,3748,3705,3917,4272,4352,3930,3819,3957,2996,2129,3011,3440,3912,3887,3484,3473,3522,3212,2877,2401,2380,2532,2715,2520,2095,2631,3242,3243,3759,3352,2721,3116,3161,2554,2561,3139,3919,4109,3629,3658,3255,3464,3777,4016,4164,3905,3450,3604,3948,3433,2574,2834,2162,1613,2156,2109,1792,1818,2640,2850,2298,1874,2176,2907,3262,3064,2689,2241,2373,2115,1888,2081,2140,2522,3023,2806,2450,2292,2056,2372,2036,1825,1816,1969,2025,2223,2092,1893,1894,2083,2147,1905,2554,3339,3696,3108,3119,3078,2820,2877,2693,2245,2155,2190,2223,2038,1841,1371,1161,2010,2830,2812,2347,1569,1151,1318,1623,2200,2938,3177,3587,3183,2828,2668,2270,2459,2554,2337,2237,1636,1370,2014,2197,3073,4170,3824,3241,3168,3397,3362,2821,2681,3195,2976,2586,2271,1886,2147,2597,2089,1842,2033,2123,2022,1917,1720,2115,2886,3508,3834,3619,3278,3234,3400,3354,3341,3263,2880,4406,4232,2887,2562,2401,2069,2258,2284,2300,2336,2278,2387,2644,2576,2427,2280,2257,2499,2625,2833,2906,2750,2802,2938,2922,3107,2909,3151,3124,3032,3173,3239,3127,2812,2405,2756,3253,2980,2458,2480,2423,2359,2128,2054,2010,1874,2123,2139,2078,2581,2187,1809,1606,1740,1989,2079,2578,3053,2347,1940,2010,2146,2212,2019,1903,1720,1669,1786,1889,1779,1584,1354,1353,1781,1995,1710,2109,2193,1974,2233,2063,2191,2263,2119,2633,2508,2210,2020,1794,2208,2566,2425,1873,1819,1644,1583,1824,2211,2372,1829,1749,2280,2004,1721,2656,3676,3530,3190,3330,3522,3624,3565,3481,3223,3161,3370,3486,3632,3652,3386,3452,3842,4100,3648,3686,3317,3437,3863,3806,3747,3532,3485,3761,3758,3051,2241,1948,1920,2018,1953,1821,1736,1632,1754,1824,1893,2046,1960,1715,1523,1865,1952,1997,1758,2082,1850,1865,2170,2270,2557,2440,2230,2190,1924,2519,2641,3152,2820,2569,2513,1855,1782,2613,2713,2321,2580,2199,1968,1888,1808,2069,3111,3830,3254,2600,2302,1885,1548,1405,1512,1938,2198,1959,1880,2193,2042,2046,2128,1866,1708,1772,1749,1601,1510,1649,1679,1687,1577,1612,1558,1801,1738,1825,2189,1750,1635,2360,2523,1959,1910,1470,1446,1474,1784,1623,1438,1458,1608,1601,1501,1382,1719,2326,2552,2082,2214,2344,2012,2102,2820,2968,2799,3055,2793,2225,2229,2545,2557,2300,2284,2082,2586,2419,1897,1681,1846,1777,1556,1566,1710,1672,1664,2223,2013,1998,2113,2395,2514,2508,1951,1576,1710,1964,1670,1781,1682,1840,2020,1619,2124,2173,1716,1793,2375,2107,1636,2064,2620,2643,2286,2268,2096,2105,2082,1941,1910,2032,2198,2466,2787,2922,3066,3039,2185,1711,1597,1398,1538,1831,2719,3654,3940,3387,2410,2074,2583,2901,2964,2669,2432,2269,1847,1562,1488,1564,1408,1504,1635,1455,1358,1447,1611,1573,1644,1543,2239,2390,1628,1383,2192,2408,1879,1732,1718,1835,1913,1698,1970,2292,2323,2034,1779,1815,1636,1629,2346,2797,2240,1878,2211,2172,1998,2665,2740,2462,2017,1686,1783,1714,1781,2207,2267,1842,2110,2478,2105,1948,2025,2004,1959,1856,1680,1481,1693,1809,1867,1882,1587,1180,1950,2411,2659,2394,2062,2099,2119,2610,3106,2391,2143,1861,1920,1884,2054,2360,1889,1753,1934,1908,1489,1237,1057,1203,1538,1594,1804,1497,1525,1671,1716,1250,1355,1841,2064,1945,1965,2236,3017,3041,2828,2922,3917,3160,1771,1683,2294,2326,2395,2846,3193,3210,2825,2427,2333,2313,2353,2578,2107,2041,1957,1816,2130,1981,1786,2258,2858,3118,2829,2560,2712,3076,3385,3536,3318,3213,3344,2992,2375,2153,2508,2797,2684,1908,1218,1373,1588,1850,2042,2369,2081,1765,1747,1729,1879,2399,3630,4432,4547,4508,4312,4024,3919,3874,3419,3278,3834,3968,3658,3613,3389,3363,4020,4320,4472,4383,4365,3828,2834,2452,2599,2817,2863,2438,2151,1678,1365,1531,1925,1844,1886,2504,2973,2522,2353,2243,2297,2515,2319,2477,2280,2586,2579,2264,2497,2095,2172,1944,1289,2017,2590,2587,2329,1988,1986,2135,1971,2225,2147,1911,2114,2160,2039,1805,2342,3196,3529,4360,4635,4640,4635,4636,4276,2262,1924,2630,3054,3970,4006,3664,3210,2909,3075,2520,2093,2824,2406,1818,2375,2187,2213,2438,1958,2057,2759,2668,1961,1777,1787,1859,1696,2139,2567,2524,2057,2079,2450,2346,2530,3082,2774,2227,1961,2131,1662,1690,2049,2168,2185,2117,2338,2670,3266,2758,2304,2680,2592,2358,2366,1963,2099,3145,3134,2496,2626,2381,2344,1941,1859,1892,1791,1807,2054,1685,1777,1733,1972,2316,1897,2150,2066,1382,493,407,832,1935,2040,1817,2908,3576,3310,3309,3383,3196,2813,2177,2343,2390,2244,1409,1401,1481,1656,1780,1792,1754,1500,1687,1423,1179,1543,1627,1387,1469,1443,1425,2061,1782,1312,1644,1607,1478,1223,998,1982,2652,2786,2164,1671,1218,1674,2145,1768,1678,1597,1316,1422,1491,1942,1899,1934,1856,1787,1740,1436,1624,1576,1388,1246,802,1613,1746,1453,1307,1700,1465,1591,1772,1923,1933,2100,2338,2409,2684,3140,3141,3011,2886,2711,2518,2431,3143,3347,3095,2953,2975,2938,3240,3140,2293,2635,2652,2080,1992,2000,1897,1626,1710,2151,2358,2561,2699,2320,1877,2388,3244,3631,3508,3182,3177,2859,2684,2756,2648,2523,2523,2491,2408,2953,2961,2997,3314,3548,3642,3449,3256,3509,3658,3350,3479,3746,3924,3936,3697,3495,3303,3054,3399,3526,3615,4293,4382,3431,2595,2173,2061,1832,1633,1973,2220,1849,1603,1863,1835,1705,1636,2004,2958,2711,1965,1687,2523,2888,2301,2315,2186,2129,2140,1904,2080,2129,2188,2437,2146,1984,2396,2081,1554,1443,1555,2016,1965,1907,1941,1602,1482,1413,1492,1617,1607,1493,1382,1384,1418,1378,1204,1226,1312,1312,1332,1366,1497,1754,1721,1451,1581,1508,1512,1850,1731,1405,1378,1393,1503,1576,1516,1569,1472,1475,1315,1242,1242,1382,1439,1605,1569,1687,2337,2603,1793,1526,1577,1582,1318,1262,1302,1450,1484,1372,1214,1119,1130,1204,1207,1167,1215,1293,1463,1369,1333,1465,1687,1457,1277,1263,1250,1322,1353,1523,1904,2271,1609,1433,1524,1556,1435,1376,1481,1525,1434,1484,1857,1546,1551,1885,2462,2142,1550,1433,1378,1622,1914,1989,2200,2074,1786,2022,1755,1656,1439,1377,1542,1750,1861,1745,1691,1698,1824,2142,2027,1556,1469,1546,1775,2493,2244,1834,1573,1517,1665,1718,1781,1645,1603,1602,1507,1483,1608,1543,1417,1551,2059,1693,1440,1545,1583,1629,1938,2093,2346,2297,2417,3037,2614,2023,1968,1650,1582,1958,2722,2895,2177,2082,1895,2204,2501,2159,2120,1997,1809,1729,1456,2101,2377,2115,2359,2446,1828,1495,1716,1650,1530,1561,1619,1697,1925,1980,2093,1721,1416,2234,2258,2202,2134,2493,2530,2380,2609,2812,2797,2138,2076,2797,2945,3030,2644,2500,2487,2170,1704,1497,1720,1893,2081,2123,2132,2535,2283,2246,2057,1798,2265,2467,2098,2410,2959,2667,2398,2281,2250,2201,2220,2153,2128,2333,2277,2208,2175,2444,2279,2149,2396,2404,2155,2057,1922,1862,2269,1909,1781,1870,1851,1852,1787,1899,1892,1540,1627,1919,1640,2236,2864,2394,1603,1418,1731,1889,1691,1738,1909,2093,2352,1855,1505,1578,1825,1787,2015,2022,2851,3371,2344,1604,1791,2127,1785,1864,1951,2292,2581,2486,1918,2017,3169,3758,3698,2922,2534,3028,3165,2789,1793,1417,1417,1410,1519,1605,1663,1592,1469,1766,1892,1536,1687,1641,1616,1856,2189,2499,2837,2232,1876,1947,1919,1969,2665,2365,1894,2140,2338,2293,2036,1499,1515,1735,2227,2763,2625,2309,2811,2828,1946,1561,1783,2021,1974,2025,1764,1766,1846,1790,1739,1906,2161,2353,1719,1493,1616,1677,1816,1967,1947,1692,1758,1946,2020,1986,2070,2163,2126,1953,1857,1576,2066,1976,1990,2225,2911,3611,3441,3128,3061,3063,3574,3484,2607,2084,2210,2011,1694,2152,2746,2504,1781,1866,2200,2088,2251,2209,2300,1973,2072,2429,2457,2386,2314,2265,2333,2261,2600,2698,2442,2118,1776,1648,1833,2069,2230,2043,2150,2949,3369,3278,3838,3874,3320,2972,3195,2985,2109,1888,2352,2557,2210,1948,1824,1650,1816,2038,1596,1532,1603,1827,2296,2255,2509,2272,1766,1719,1825,1770,1814,1866,1696,1634,2295,2731,2279,1794,2129,1781,1426,1440,1493,1533,1641,2117,2398,2367,2442,2106,2163,2278,1721,1318,1460,1815,2635,3374,2942,2075,1803,1533,1471,1534,1794,2124,1732,1806,2180,2003,2397,3474,3834,3894,3196,3227,2479,2369,2530,3199,3172,3327,3037,2723,3097,2776,2642,2401,2149,1937,2131,2485,3022,3238,3415,3519,3222,2973,3171,3601,3885,3481,3237,3608,3822,3838],[1798,2222,2980,2964,2841,3023,3295,3288,3321,3834,3717,3349,3308,3588,2803,2285,2832,3163,3254,3370,3432,3327,3333,3190,3017,3124,3219,3160,3066,3356,3886,3914,3925,4129,4064,3596,3563,3172,2956,3250,3854,3905,4400,4816,4776,4350,4123,3983,3927,3885,3461,3231,3666,4006,3869,3984,4056,3782,3540,3537,3561,3193,3033,3260,3374,3168,2303,2101,2094,1938,1990,1839,2002,2119,2061,2366,2385,2159,1878,2260,1953,1906,2258,2619,2264,1812,1796,1796,1616,1516,1882,2054,1987,1954,2282,2994,2963,2315,1777,1687,1677,1660,1956,2096,1854,2018,2330,2770,2990,2582,2397,1835,1578,1687,1664,2206,3253,3453,2761,2492,2556,2141,2233,2579,2994,2590,2514,2400,2049,2087,2210,2418,2321,1945,1634,1854,2514,2812,2322,2417,2522,2591,2894,2907,2724,3419,4303,4520,3930,2844,2785,3071,3758,3818,3669,2889,2830,2728,2302,1959,2425,2696,2035,2304,2621,3031,3326,3249,1970,2095,2413,2292,2087,2265,2264,1975,1911,1959,2576,3558,3007,2763,3343,3363,3898,4060,3838,3731,4284,4556,4107,4008,3732,3762,4029,2892,2792,3210,3218,3544,3694,3364,3131,2854,2766,2753,2656,2496,2661,2786,2770,2876,3234,3617,3868,3939,3565,3255,3067,2822,2703,2750,3369,3657,4052,4080,4038,3484,3193,3466,3466,3233,2991,3006,3253,3636,3292,1799,2025,2171,1836,2150,2532,2622,2635,2570,2382,2169,2416,2895,2644,2281,2170,2492,2286,2294,2056,2012,2340,2041,1919,2301,2388,2347,2115,1724,1886,1968,1766,1801,1861,1853,1852,1679,1805,1977,2698,2972,2554,2586,2724,2972,2811,2736,2236,2123,2532,2723,2718,2235,2047,2216,2038,1890,1745,2093,2608,2565,2510,2713,2345,1952,1886,1599,2226,2930,3121,3452,3383,2887,2840,2863,3112,2814,2343,2420,2354,2096,2431,2332,3234,3367,2876,2827,3006,3085,2709,2286,2522,2627,2301,1960,1975,2592,2998,3085,2082,1963,2640,2358,1858,1840,1645,1987,2796,3234,3153,3073,3176,3463,3646,3541,3355,3398,3548,3680,3516,3206,2808,2754,2258,2472,2602,2308,2130,2280,2260,2221,2298,2279,2059,2077,2523,2498,2832,2951,2866,3195,3348,3373,3483,3384,3344,3341,3160,3266,3431,3015,2266,1991,2607,2590,2137,1819,2054,2228,2161,1909,1760,1697,1904,2545,2488,2263,2387,2029,2068,1971,2010,1895,2246,2903,2630,2030,1728,2041,2219,2276,2186,2082,1744,1798,1958,1820,1799,1840,1770,1755,2260,2079,1692,2204,2252,1796,1948,2180,2442,2405,2482,2675,2320,1945,1700,1650,2214,3076,3051,2053,2004,1916,1906,2611,2821,2210,1748,2062,2620,2334,2255,2554,3042,3150,2785,3351,3908,3874,3547,3310,3166,3200,3333,3304,3229,3473,3752,3930,4028,4060,3890,3911,3955,3708,3610,3509,3176,3185,3458,3828,3820,3374,2578,2303,2524,2808,2120,1767,1609,1720,1752,1582,1865,1986,2046,2072,2121,1990,1601,1652,1598,1821,2168,2755,2874,2480,2546,2440,2086,2138,2208,2630,2574,3052,2912,2585,2145,1825,1836,2177,2265,2345,2124,1612,1655,1841,1546,2208,3958,4208,3276,3032,2604,2196,2047,1729,1741,1812,1936,1786,1732,2088,1976,1962,1936,1775,1582,1508,1588,1685,1875,1754,1743,1898,1752,1822,2338,3091,2508,1885,1804,1542,1622,2063,2172,1725,1699,1515,1514,1875,2154,2155,2012,1766,1600,1763,1662,1574,1952,1995,2504,2701,2609,2490,2374,2469,2736,2396,1857,1754,1892,1963,2554,3474,3406,2681,1888,1716,2204,1971,1523,1543,1730,1732,1632,1694,1700,1663,1694,2047,1958,2315,2360,1989,2087,2180,2172,2080,2247,2361,2009,1675,1774,2132,1876,1844,2400,2401,1804,1684,2240,2159,1701,1935,2236,2365,2270,2222,2062,1848,1790,1881,2003,2222,2224,2415,2975,2604,2535,2614,1855,1479,1529,1459,1512,1592,2024,3016,3826,3495,2978,2884,3168,3249,3123,2936,2186,1578,1434,1489,1489,1509,1512,1445,1561,1603,1584,1928,1719,1368,1553,1834,2308,2656,1976,1315,1958,2320,2043,2061,1924,1742,1667,1672,1987,2220,2358,2014,2088,2443,1938,2098,2795,2451,2264,1971,2170,1964,2228,2575,2286,2479,2579,1968,1995,2282,2642,2076,2039,1883,1926,2049,1994,2141,2010,1831,2015,1968,1742,1969,1906,1808,1957,2207,1918,1231,2230,2756,2503,2258,2078,1897,1816,2689,3154,2453,1962,2069,2343,2075,1882,1955,1692,1682,2050,1781,1550,1824,1478,1179,1191,1464,1721,1575,1580,1753,1777,1641,2110,2696,2610,2003,1920,1865,2509,2635,2492,2497,3399,2916,1785,2029,2354,1963,2063,2642,3098,3232,2496,2042,2326,2254,2367,2321,2010,2122,2010,2078,2611,2404,2585,3360,3526,3338,3174,3274,3249,3021,3076,3484,3154,2707,3360,3854,3057,2589,2548,2417,1936,906,1002,1660,1889,2191,2316,2174,2056,2131,1678,1289,2020,2232,2432,3603,4415,4571,4594,4416,3956,3781,3696,3890,4108,3883,3128,2974,3366,3558,3839,4102,4328,4432,4456,4349,3688,3255,3281,2797,2457,2626,2297,2142,1512,1718,1909,2154,2261,2394,2810,2556,1968,2466,2500,2775,2702,2437,2679,2953,2230,1969,1836,1594,2002,2070,2064,2569,2310,2263,2823,2613,2302,1957,2050,2078,1777,1838,2433,2711,2574,2990,3326,3642,3110,3942,4391,3845,3902,4276,4286,3105,2436,2889,3761,4188,3132,2769,2630,2988,2634,1913,2069,2787,2054,2025,2698,2080,1864,2068,1967,1913,2535,2517,2007,1865,2010,1959,1994,1949,1879,2057,2170,2203,2354,2546,2478,2931,3153,2402,2157,2126,1806,2271,2496,2184,2136,1912,1524,1576,2030,1829,2119,2805,2688,2513,2416,2250,1922,1743,2040,2408,2444,2131,1816,1620,1701,1968,2079,2092,1997,1596,1668,1882,1924,2017,1870,2119,1594,1124,485,576,1102,1602,1756,2121,2744,3055,2968,2833,2790,2497,2170,1524,2555,2847,1981,1888,2348,2002,1786,1867,1879,1924,1468,1463,870,923,1388,1614,1525,1536,1458,1577,2155,2030,1260,1506,1277,1218,1272,1267,2186,2668,2735,2059,1599,1290,1302,1560,1618,2003,1668,1254,1393,1738,2154,2049,1721,1663,1679,1499,1058,1187,1292,1206,1198,1187,2060,2270,1722,1113,1739,1889,1664,1701,1875,2042,2505,2996,3062,2909,3325,3486,3307,3140,2916,2561,2692,3212,3291,2955,2688,2823,2890,2899,2656,2384,2615,2302,2122,2083,1966,1837,1740,2208,2975,3189,3097,2762,2103,1925,2140,2735,3642,3608,3310,3204,2790,2639,2680,2819,2952,2818,2587,2769,3494,3327,3681,4093,4129,3824,3573,3437,3453,3679,3680,3666,3650,3862,3806,3444,3598,3484,3240,3328,3518,3805,4093,4046,2762,1796,1821,1871,1841,2385,2501,1980,1855,1909,1966,2030,1687,1788,2554,2834,1864,1671,1816,2736,3032,2588,2352,2204,2234,2382,2247,2317,2161,2301,2272,1967,1864,1953,2107,2004,1843,1682,1667,1741,1907,1903,1566,1504,1406,1467,1475,1403,1356,1359,1444,1485,1368,1238,1206,1253,1376,1376,1429,1742,2054,1641,1437,1619,1506,1387,1672,1750,1470,1355,1312,1455,1604,1564,1463,1443,1494,1361,1365,1443,1423,1411,1569,1823,2076,2576,2552,1966,1566,1684,1378,1129,1171,1312,1337,1331,1309,1222,1226,1211,1233,1253,1227,1349,1294,1482,1444,1400,1358,1322,1330,1344,1265,1278,1688,1662,1591,1776,1812,1500,1410,1450,1495,1432,1506,1501,1365,1405,1480,1788,1553,1577,1771,1954,1715,1499,1478,1520,1564,1963,1861,1814,1728,1858,2277,1987,1427,1256,1275,1280,1638,1883,1920,2164,1913,1706,2103,2054,1560,1384,1407,1405,1660,1909,1924,1688,1407,1525,1720,1966,1666,1360,1425,1400,1388,1505,1627,1571,1855,1982,1432,1432,1523,1616,1665,2039,2336,2352,1876,1708,2150,2072,1807,1655,1438,1398,1504,1939,2129,1671,1602,1572,2364,3032,2718,2052,1939,2198,1953,1670,1969,1797,1882,1885,2032,1970,1908,1807,1611,1551,1770,1959,1817,1704,1690,1762,1855,1919,2548,2496,2441,2747,2620,1981,1566,1684,2525,2894,2598,2735,3230,3140,2447,2391,2355,2664,2808,1901,1605,1694,1521,2130,3074,2489,2147,2049,2584,2338,1786,2020,2114,2035,2497,2713,2256,2624,2526,2361,2272,2139,1958,2041,1960,1870,2006,2417,2828,2243,1730,1803,1870,1962,1955,1552,1680,1968,2011,2208,1997,1787,1685,1847,2400,2087,1646,1718,1893,1805,2019,2429,2042,1477,1634,1764,1656,1995,2154,2153,2043,2041,2156,1952,1952,1841,1593,1956,2277,2696,3010,2325,1682,1720,1655,1980,2132,2172,2058,2286,2616,2410,2996,3829,3796,3145,2251,2301,2237,2785,3032,2503,1722,1339,1346,1472,1764,1749,1615,1629,1931,2145,2264,2213,1948,1744,2066,2768,2990,2575,2128,1902,1582,1717,2555,3121,2911,2257,1827,1990,1996,1856,1577,1601,1651,1922,2350,2546,2092,2417,2379,2014,1546,1518,2110,2215,1570,1406,1918,2408,2219,1953,1765,1819,2011,2102,1851,1852,1886,1973,1981,1892,1728,1714,1864,2035,1991,2037,2255,2132,2014,1909,1891,2031,2017,2233,2474,2945,3708,3650,2865,2363,2770,3074,2775,2218,2124,1793,1624,1766,1992,2719,2813,1926,2033,2192,1962,2050,1977,1997,1855,1968,2232,2103,2024,1802,1724,1809,2360,2986,2481,1925,2028,1744,1496,1548,1908,2448,2238,1808,2360,3595,3811,3858,3935,3055,2613,2862,2645,2054,1880,2003,1959,2077,1952,1637,1705,1909,2049,1663,1748,1832,1807,2062,2240,2094,1794,1514,1695,1706,1722,1752,1510,1286,1812,2822,2899,2180,1942,2143,2012,1779,1794,1889,1402,1267,1808,2293,2198,2941,3493,3267,2710,1716,1312,2026,2854,3701,3750,2885,1913,2020,2133,1684,1665,1715,1658,1465,1685,2170,2065,2389,3350,3308,3628,3475,3104,2557,2699,3481,3784,3127,3085,3513,3504,3407,2576,2210,2266,2693,2520,2607,3124,3264,3338,3762,3501,2743,3078,3348,3261,3237,3028,2840,3329,3611,3733],[1724,2292,2889,3165,3531,3392,3427,3462,3082,3410,3221,2978,3054,3284,2780,2624,2781,2808,2885,2922,3206,2941,3196,3232,3064,3540,3529,3347,3421,3658,3838,3590,3553,3913,4181,3903,3904,3624,3130,3205,3706,3880,4220,4715,4873,4427,3745,3430,3489,3670,3676,3624,3946,3833,3779,4028,3880,3516,2879,2694,3307,3288,3243,3532,3113,2752,2347,2275,2077,1703,1970,2247,2457,2519,2171,2484,2664,2221,1914,2554,2286,2239,2802,2869,2227,1651,1798,2329,1899,1991,2642,2335,1885,1654,2082,2530,3029,2415,1808,1714,1666,1609,1843,1908,1620,2169,2665,2561,2962,2674,2343,1914,1969,2365,1987,1979,2546,2801,2856,2796,2800,2817,2790,2613,2340,2375,2366,1808,1753,1811,1756,2518,2235,1710,1529,2060,2504,2374,2773,2962,2784,2493,2483,2863,2957,2883,3190,3396,2916,2436,2752,2804,2977,2636,2213,2185,2181,2035,2063,2152,2465,2243,1908,2380,2422,2956,3256,3022,2239,2107,2189,2084,2120,2296,1973,1842,2162,2501,2852,3217,2944,3144,3421,3648,4123,4323,4176,4131,4524,4516,4248,3860,3793,3982,4421,3609,3406,3450,3466,3339,3109,2818,2566,2715,2897,2734,2674,2879,3544,3352,3174,2672,2532,3210,3681,3427,3216,2975,2306,2223,2260,2473,3426,3652,3933,4127,4259,3849,3376,3189,2952,2610,2536,3087,3569,3850,3005,1756,2207,2423,2260,2736,2987,2846,2790,2774,2732,3120,3819,3997,3232,2564,2308,2337,2325,2392,2347,2263,2211,2022,2302,2444,2258,1933,1791,1605,1616,1784,1754,1727,1638,1860,2026,1924,2000,2374,2780,2757,2503,2135,1970,2032,2200,2336,2260,2146,2294,2780,3081,2901,2515,2243,2119,2016,2116,2790,3231,2770,2579,2899,2476,2328,2143,1810,2087,2472,2934,3521,3326,3222,3650,3762,3378,2829,3013,2972,3345,3367,3445,3229,3539,3111,2534,2508,2618,2460,2031,2070,2198,1941,1943,1815,2142,2612,3076,2481,1886,1932,2014,1836,1742,1830,1709,1911,2692,2318,2082,2111,2252,2931,3620,3786,3721,3364,3037,2783,2533,2620,2839,3172,2698,2574,2673,2428,2250,2141,2151,2248,2268,2239,2165,2353,2779,2852,2684,2712,3015,3364,3515,3360,3399,3426,3168,2742,2513,2926,2939,2553,1874,1741,1836,1923,1828,1699,2010,2239,2067,2331,2630,2376,2272,2872,2612,2395,2249,1907,2063,2292,2024,1835,2019,2325,2380,2671,2221,2175,1900,2418,1938,1631,1673,1661,1503,1381,1784,2509,2642,2354,2496,1847,1581,1934,1968,1748,2004,2206,2354,2587,2404,1737,1635,1998,2307,2009,2325,3232,3360,2553,2076,2236,2422,2336,2095,1841,1776,2547,3223,3353,3047,2587,2286,2652,2373,3055,3871,3704,3322,3018,2620,2700,3095,3205,3138,3239,3543,3536,3629,3815,3984,3967,3921,3826,3573,3450,3081,3352,3072,2908,3285,3731,3541,2791,2261,2018,1854,1755,1894,1995,1571,1471,1631,1573,2033,2381,2626,1898,1500,1962,2307,2556,2805,2653,2554,2096,2047,2092,1944,2076,2729,2890,2978,2823,2425,2458,2366,2194,1986,2295,2282,2345,1764,1613,1587,1940,1737,1970,3438,3714,2827,2973,2823,2691,2040,1820,1798,1584,1590,1592,1647,1671,2114,2578,2546,2223,1815,1819,1957,2280,2288,1746,1722,1817,1861,1852,2385,2799,2118,1676,1470,1550,1756,1804,1772,1661,1686,1692,1803,2458,2942,2797,2402,1777,1339,1525,1442,1549,2259,2086,2539,3241,2845,2624,3031,2744,2194,1919,1554,1483,1718,2186,2759,3020,2713,2187,1635,1687,1978,1859,1555,1534,1619,1698,1732,1732,1811,1898,1635,1538,1800,2212,1982,2012,2670,2599,2234,1991,1800,1823,2187,2453,2920,3146,2115,1959,2495,2203,1882,2009,2426,2079,1698,1911,2337,2534,2222,2132,2079,2013,2176,2154,2070,2355,2438,2752,3505,2420,2235,1964,1684,1530,1562,1535,1520,1542,1764,2543,3069,3251,3279,3062,2959,3078,3398,3342,2221,1379,1466,1505,1526,1715,1963,1618,1727,1901,1912,2588,2121,1606,1676,2031,2225,2260,1992,1419,1581,1914,1893,1927,1868,2036,1873,2012,2463,2651,2787,2468,2851,3464,2670,2855,2933,2316,2194,1905,1948,1804,2183,2580,1920,1831,1876,2048,2557,2835,2941,2254,1679,1532,1809,2018,2020,2049,2033,2427,2943,2194,2033,2578,2239,1742,1932,2240,1938,1604,2256,2569,2366,2304,2323,2188,1925,1992,1655,2081,1996,2248,2474,2187,1938,1938,1528,1486,1825,2066,1820,1941,1344,1100,1441,1807,1691,1493,1391,1728,1834,1770,2166,2293,2358,1967,1930,2303,2125,1991,1831,1778,2259,2109,1732,2076,2170,1935,2014,2295,2541,2937,2368,2215,2488,2373,2377,2254,2074,2075,2148,2841,3427,3259,3530,3754,3303,3239,3273,3289,3235,3012,2945,3329,3222,2547,3104,3499,2444,2290,1958,1788,1041,1044,1810,2575,2386,2022,2013,1885,1856,1769,1251,1188,1807,2127,2217,2735,3757,4435,4679,4396,3971,3853,3801,4019,4005,3194,1817,1927,3081,3440,3323,3464,3607,4023,4328,4489,4239,3759,2854,2417,2265,2426,2540,2196,1658,1766,2062,2306,2452,2276,2336,2061,2200,2566,2098,2102,2103,2138,2763,2633,1910,1451,990,1240,1992,2080,1979,1894,1732,1859,3265,3119,2329,2245,2122,1973,2198,2035,2447,2660,2442,3045,3240,3438,3025,3383,3649,3229,3587,4256,4408,3536,2166,2971,4173,3507,2411,2153,2345,2643,2416,1947,2184,2398,2328,2425,2343,1775,1979,2275,2312,2048,2571,2724,2194,1909,2427,2991,2685,2151,2136,2176,1893,1921,1928,2320,2500,2396,2545,2211,2350,2297,1962,2233,2211,2207,2019,1805,1753,1943,2287,2346,2880,2942,2486,2380,2279,2142,1565,1272,1495,1748,1996,2365,2071,1766,1656,2155,2433,2510,2153,1422,1527,1883,2172,1592,1807,1795,1465,1036,635,683,1093,1019,1191,2239,2842,2674,2386,2752,2934,2665,2042,1947,2718,2352,1636,2247,2536,2273,2115,1980,1738,1848,1518,1303,856,1110,1360,1526,1699,1638,1525,1450,1479,1719,1214,1305,967,936,1048,1236,1426,1487,1510,1628,1688,1416,1392,1812,1654,1931,1738,1365,1258,1468,1459,1141,978,1180,1569,1499,987,1461,1383,1233,1049,1373,2285,2635,1643,1179,1635,1828,1782,1980,2287,2857,3068,3131,3431,2851,2995,3427,3340,3127,3154,2872,2689,2912,2898,2582,2430,2442,2619,2576,2026,2251,2374,2054,2065,2000,1959,1886,1772,1788,2195,2406,2627,2199,2120,2009,1993,2170,2832,3053,2911,2879,2643,2568,2699,2761,2763,2750,2494,2945,3314,3444,3841,4027,4005,3724,3484,3256,3054,3341,3599,3806,3906,3754,3306,3209,3652,3732,3552,3506,3733,4086,4112,3562,2193,1762,1684,1563,1568,2109,1934,1240,1556,2245,2138,1843,1615,1956,2812,2459,1932,2275,3000,2881,2434,1960,1704,1902,2308,2512,2256,2502,2495,2332,2176,2320,1796,1484,1650,1608,1564,1548,1559,1903,1922,1976,1730,1700,1549,1405,1393,1359,1325,1362,1441,1348,1354,1293,1301,1324,1457,1285,1184,1358,1506,1769,1932,1533,1432,1329,1417,1317,1379,1421,1371,1521,1687,1982,1661,1486,1445,1318,1555,1627,1448,1393,1536,1694,1841,1885,2144,2349,1786,1519,1344,1271,1255,1260,1271,1309,1286,1357,1316,1311,1320,1301,1285,1381,1281,1211,1368,1390,1386,1338,1320,1268,1236,1321,2061,2187,2380,1965,1321,1385,1434,1649,2034,1690,1587,1433,1582,1717,1709,1809,1780,1732,1723,1561,1459,1393,1443,1687,1920,2315,1820,1959,1923,1738,1798,1628,1375,1406,1291,1311,1657,1814,1882,2160,2245,1813,1948,1803,1430,1415,1455,1481,1634,1814,1788,1632,1401,1246,1518,2009,1790,1498,1554,1691,1765,1835,1971,2049,2105,1929,1848,1775,1746,1691,1811,2446,2370,2116,2211,1856,1735,1903,2104,1820,1572,1592,1834,1967,2044,1882,1670,1681,2120,2763,2713,2182,2496,2162,1851,1654,1559,1596,1444,1338,1628,1849,1838,1890,1639,1687,1914,1964,1821,1389,1461,1882,2122,2127,2340,2624,2868,2845,2484,1995,1522,1339,1844,2328,2846,2776,2854,2908,2958,2876,2500,3184,3241,2058,1639,1561,1542,2480,2802,2460,2225,2058,2291,2294,1892,2141,2337,2562,2712,2564,2110,2373,2708,2665,2503,2205,2043,1838,1764,1921,1865,2569,3287,2833,2405,1960,1861,1986,1612,1557,1843,1835,2023,2313,1836,1750,1531,1569,2221,2444,2300,2271,2028,1707,1893,2039,2059,2029,2322,2168,1835,2017,1835,1837,1749,2027,2536,2370,2295,2002,1654,2069,2260,2042,2030,1596,1659,1717,1644,1722,2005,2491,2393,2055,2168,2625,3528,3843,3419,2551,2259,2198,1754,2226,3139,3166,2021,1358,1277,1446,1841,1958,1662,1902,2376,2734,2596,2248,2068,1964,2120,2289,2243,2129,2107,2082,1750,1829,2928,2741,2505,2273,2057,1787,1711,1647,1644,1808,1860,2006,1937,2109,2159,2053,1885,1781,1522,1457,1710,1692,1475,1436,1773,2085,1940,2062,1738,1791,1847,1890,2040,2222,2150,1752,1659,1748,1868,1862,1838,1622,1694,1877,2110,2058,2036,1891,1803,1971,2155,2160,2481,2765,3128,3003,2199,2158,2410,3068,3045,2541,2436,2054,1716,1780,1780,2017,2211,1693,1764,1837,1970,1858,1838,2098,1881,1975,2490,2480,2220,1774,1614,1730,2669,2581,2033,1822,1730,1837,1864,1460,1725,2115,1851,1862,2135,3231,3672,3510,3229,3066,2878,2673,2654,2286,1852,1861,1720,1900,1830,1590,1529,1651,1738,1766,1947,2133,1915,2039,2532,2621,1893,1548,1713,1526,1742,1690,1438,1451,2327,2946,2611,2084,1797,1862,2125,2485,2653,2231,1427,1569,1831,2099,2475,2954,3022,3054,2507,1542,1672,2985,2797,2599,3018,2640,1696,1774,1983,1702,1653,1713,1502,1374,1855,2547,2736,2287,2029,2203,2750,3068,2915,2708,2890,3698,4028,3104,3276,4009,4042,3295,3006,3081,3111,3150,2817,2772,3372,3676,3473,3418,3585,3467,3242,3285,3211,3115,2798,2728,2783,3002,3046],[2242,2587,2555,2744,3220,3111,3295,3614,2954,2779,3112,3294,3164,2950,2722,2438,2653,3016,2330,2249,2823,2799,3548,3730,3291,3562,3762,3773,3734,3716,3842,3722,3837,3846,3970,4197,3894,3325,3078,3306,3526,3691,3868,4543,4921,4399,3546,3316,3067,3485,3808,4124,4265,3963,3916,3927,3654,3340,2746,2713,3285,3060,2684,2821,2674,2239,1970,1589,1780,2170,2684,2844,2084,1823,2160,2080,2422,2002,2144,2913,2624,2180,2745,2922,2303,1812,1605,1831,1691,2243,2714,2387,1990,1761,1972,2166,2809,2874,2270,1964,1827,1807,2042,2192,2564,2902,2683,2086,2160,1994,1657,1761,2307,2270,2006,2394,2159,2229,2185,2331,2678,2578,2390,2467,2609,2818,2480,1740,1791,2521,2288,2955,2239,1891,1945,2133,2276,2303,2651,2513,2352,2765,3131,3160,2993,2445,2114,2320,2350,2605,2677,2632,2831,2489,2501,2786,2529,2343,2441,2799,2832,2466,2040,2113,2409,2929,3219,2725,1977,1772,1853,2058,2053,2312,2116,2329,2212,2524,2631,2316,2317,2887,3381,3297,3614,4324,4261,4247,4309,3893,3993,4064,4196,4256,3960,3801,3938,4042,3984,3391,3232,3156,2833,2908,2912,2855,3113,3605,4143,3868,3198,2845,2777,2719,3012,2909,2498,1995,1870,2185,2521,2577,3039,3527,4015,4515,4572,4184,3544,3194,2903,3019,2701,2789,3374,3743,2942,2308,2481,2307,2500,3010,2845,2587,2642,2854,2925,3317,3826,4328,3989,3031,2466,2333,2360,2364,2433,2277,2184,2524,2476,2005,1744,1630,1738,1583,1760,2060,1916,1707,1642,1872,2115,2089,1798,2140,2315,2261,2102,1882,1781,1796,1958,2078,1962,2125,2175,2300,2358,2362,2184,2023,1918,1699,1759,2137,2812,3146,2876,2272,2282,2377,2049,2043,2154,2379,2689,2689,2713,3527,4008,3754,3052,3044,3493,3494,3406,3392,3542,3658,3679,3084,2449,2551,2732,2512,2238,2271,1971,2364,2198,2263,2811,2778,2436,2204,2131,1816,1782,1487,1372,1613,1905,1943,1873,1837,2074,2381,2454,3128,3584,3314,3506,3586,3655,3276,2669,2896,3016,3149,3073,2983,3050,3123,2806,2457,2399,2260,2342,2252,2237,2751,3124,3083,2860,3033,3186,3418,3496,3109,3045,3163,2750,2336,2070,2286,2321,2178,1681,1723,1863,1949,2023,2112,2331,2315,2126,3104,3789,3670,3039,3016,2846,2809,2902,2243,1820,1881,2237,2652,2083,2037,2398,3091,2903,2181,2108,2325,1547,1555,1920,1741,1697,1695,1878,2047,2260,2414,2046,1651,1700,1803,2132,2060,1873,1723,1559,1814,1975,1526,1462,1830,2653,3023,2898,3110,3333,3089,2402,2075,2189,2008,2128,1747,2381,3235,3495,3526,3267,2595,1917,2466,2656,2841,3437,3382,2978,2854,2670,2774,2868,2707,2534,2996,3448,3317,3215,3516,3804,3673,3838,3916,3604,3649,3717,3852,2720,2090,3129,3535,3133,2944,2416,1809,1878,1873,2048,2469,2083,1564,1356,1522,2094,2476,2391,2257,2491,3054,3082,2691,2386,2732,2678,2377,1965,1929,1733,1842,2786,3017,2799,2595,1974,1917,1999,2086,1735,2138,2323,1997,1712,1730,1967,2176,1719,1825,2643,3021,2666,2767,2441,2055,1646,1564,1559,1718,2142,2452,2060,1682,2140,2527,2480,2205,2347,2573,2358,2400,2056,1677,1532,1644,1854,1731,1786,2226,1783,1529,1449,1534,1588,1566,1566,1609,1621,1622,1925,2709,2916,2180,1402,1345,1519,1657,1660,1578,1894,1905,2097,2809,2834,2698,3388,2832,2010,1660,1381,1442,2469,2586,2331,2746,2800,2224,2346,2676,2170,2051,1842,1620,1480,1491,1732,1789,1750,1883,1803,1782,1954,1940,1788,2186,3097,3221,2223,1688,1450,1813,2383,2462,3337,3717,2303,1847,2187,2258,2597,2764,2836,2123,1643,1826,2681,3219,2622,2094,2179,2178,2416,2554,2318,2500,2578,3093,3639,2563,2070,2238,2132,1725,1597,1552,1459,1561,1571,1837,1883,2358,2458,2463,2641,3130,3486,3486,2755,1634,1494,1500,1483,1825,2736,2294,1831,1627,1712,2106,2200,2079,2008,2135,1997,2114,2056,2036,1990,1946,1790,2049,2366,2554,2263,2051,2099,2329,3306,3448,3461,3558,2759,2836,2365,1595,966,1157,1828,1928,2302,2510,1810,1752,1580,2088,2706,2181,1997,1590,1163,1274,1470,1560,1726,1872,1862,2171,2479,2286,2070,2179,1958,1559,1736,1881,1909,2121,2165,2098,2142,2112,2350,2285,1891,1597,1410,1858,1965,2283,3140,3106,2191,1749,1314,1474,1868,2178,1749,1527,1148,1292,1528,1678,1802,1774,1721,1793,1628,1687,2098,2363,2453,2192,1792,2141,2164,1967,1865,2010,2138,2022,2284,2590,2664,2827,2939,2690,3096,3188,2749,2861,2804,2625,2596,2392,2575,2482,2921,3638,3632,3428,3394,3372,3435,3366,3232,2841,2774,3208,3172,3194,3150,2535,2688,2733,2494,2019,1860,1439,1270,1837,2692,3015,2775,2246,1934,1903,1505,1405,1397,1599,1760,2226,2230,2383,3036,3402,3892,4092,3767,4196,4311,4219,4017,3462,2285,2080,3163,3130,2797,2835,2470,3219,4050,4344,4451,3818,2350,2336,2652,2249,1989,2400,2520,2306,2305,2241,2292,1879,1922,1556,1722,1451,988,1054,1678,1887,1870,2060,2318,2058,1413,1845,2170,2045,1961,1937,1915,2049,3073,2790,1964,2494,2542,2421,2590,2408,2474,2286,2013,2470,2191,2714,3073,2758,3096,3843,4003,4325,4298,3127,2091,3452,3830,2756,2304,2158,2114,2065,1656,1712,2060,2080,2645,2689,2348,2764,2764,2325,2339,2220,2423,2764,2370,1666,1850,2280,2358,1989,2303,2047,1804,1880,2316,2548,2476,2471,2348,1968,1797,2008,2150,2223,1918,1892,2039,2305,2365,2628,2362,2153,2710,2873,2734,2943,2839,2279,1686,1401,1147,1360,1744,1924,1839,1708,1958,2100,1902,1672,1604,1604,1767,1915,2048,1876,1903,2160,1750,1152,1048,861,936,959,1033,1643,2314,2476,2702,3340,2896,2473,2829,2836,2448,2015,1725,2532,2713,2490,2380,1881,1880,2044,1601,1269,960,951,1284,1528,1440,1163,995,1046,953,1493,1375,1340,1061,1191,1337,1371,1378,1202,1323,1647,1707,1566,1116,644,509,1147,1114,902,944,1239,1251,951,1124,1504,1898,1685,1204,1683,1612,1448,989,1330,1590,1323,1183,1259,1648,1861,1644,1695,1678,2213,3247,3001,3352,3172,3130,3338,3152,3409,3719,3072,2651,2709,2978,2691,2453,2254,2423,2633,2009,2075,2270,2023,1995,1970,2001,1875,1733,1745,1604,1774,2154,1959,2026,1971,1883,1959,2182,2327,2469,2525,2555,2647,2697,2753,2603,2495,2522,2864,3184,3462,3834,3827,3719,3435,3067,2862,2799,3089,3437,3708,4040,3626,3050,3002,3144,3141,3217,3505,4039,4176,4086,3462,2230,1672,1918,1953,1588,1466,1254,1118,1929,2292,1818,1759,1829,2182,2592,2502,2708,2922,2781,2367,1870,1532,1507,2007,2374,2294,2180,2632,2620,2335,1917,1762,1466,1337,1271,1217,1262,1441,1411,1847,1726,1917,1806,1631,1381,1417,1487,1381,1285,1309,1628,1468,1489,1430,1478,1457,1336,1246,1191,1253,1332,2418,2962,1694,1616,1400,1316,1313,1701,1582,1427,1437,1590,1894,1633,1370,1406,1559,1843,1635,1696,1450,1553,1683,1634,1814,2596,2382,1738,1578,1548,1480,1422,1315,1315,1276,1243,1242,1233,1282,1349,1370,1310,1268,1160,1170,1405,1412,1296,1204,1187,1352,1614,1473,1766,1819,2191,2208,1678,1592,1439,1741,1766,1500,1543,1569,1894,2363,2248,1851,1653,1592,1352,1348,1553,1639,1518,1795,1880,2328,2029,1962,1698,1417,1517,1549,1533,1392,1325,1460,1553,1882,1994,1996,2308,2444,3072,2653,1676,1642,1504,1408,1359,1502,1576,1447,1279,1373,1494,1703,1816,1776,1738,1875,1773,2002,2337,2192,2147,1953,1803,1820,1958,1926,1856,2030,1836,1963,2115,1733,1603,1720,1757,1793,1730,1981,2007,1686,1775,1880,1788,1575,1928,2331,2261,2562,2492,1937,1846,1620,1469,1538,1328,1410,2103,2066,1599,1958,1976,2020,1728,1553,1604,1432,1703,2045,2277,2708,3370,3562,3171,2494,2458,1881,2026,2172,2104,2075,2329,2337,2326,2452,2920,3033,2957,3363,3019,2027,1643,1232,1516,2063,2097,2235,2194,1891,1776,2286,1974,2066,2104,2160,1942,1816,2130,2253,2293,2443,2336,2195,2001,1616,1953,2164,2045,2872,3356,2917,2508,2142,2244,2039,1592,1811,2289,2059,2174,2559,1946,1643,1583,1549,1516,2066,2106,1921,1891,1898,1787,1725,2244,2425,2371,2518,2442,2127,1853,1890,1990,2133,1936,1688,2019,1873,1685,1908,1697,1531,1494,1569,1780,1590,1515,1555,1651,1970,2160,1915,1950,2235,2974,3213,3088,2315,2068,2028,2001,2785,3450,3012,2271,1939,1328,1390,2142,2476,2083,2196,2502,2636,2111,1924,2308,2731,2742,2120,1822,1962,2067,2245,2369,2302,2498,2405,2454,2213,1912,1756,1583,1510,1708,1882,1867,1770,1658,1670,1610,1729,1811,1700,1623,1606,1769,1759,1494,1568,1672,1761,2025,2060,1817,1735,1780,1811,1769,1978,2020,1711,1741,1782,1786,1760,1722,1544,1554,1641,1930,2047,2038,1979,2047,2103,2198,2194,2386,2809,2898,2412,2170,2330,2008,2701,2940,1958,2041,2152,1698,1745,1578,1669,1788,1700,1766,1783,2088,2171,1866,1779,1652,1926,2382,2355,2148,1879,1736,2018,2195,1679,1779,2016,1738,1847,2114,1755,1675,1830,1976,2116,2474,2773,2961,2491,2202,2751,2829,2541,2597,2135,1896,1935,1879,1827,1611,1447,1549,1919,2171,2198,2208,2025,1786,1938,2491,2959,2526,1569,1473,1520,1577,1527,1466,1964,2688,2459,2060,1954,1651,1799,2541,3110,2900,2114,1918,2069,1901,1954,2229,2310,3098,3509,2823,1781,2261,3046,2315,1728,1864,1552,1285,1308,1496,1506,1472,1498,1532,1537,1670,1888,2677,2088,1655,1859,2378,2991,3002,2768,2888,3340,3630,3347,3396,3730,4041,3552,2916,2753,3142,3418,3474,3604,3884,3990,3686,3327,3430,3741,3140,3205,3285,2751,2676,2954,2912,2919,2792],[2930,3131,2979,3321,3339,3043,3126,3225,2666,2586,3169,3307,3209,3001,2624,1886,2141,2845,2254,2369,2684,2666,3272,3465,3284,3592,3582,3591,3704,3557,3639,3833,3827,3694,3838,3883,3791,3373,3111,2984,3251,3486,3640,4328,4685,4068,3312,2951,3044,3523,3720,3936,3964,3595,3629,3673,3515,3550,3316,3164,3183,2438,2190,2357,2175,1984,2079,2226,2486,2401,2896,2941,2402,1900,2104,1983,2071,2177,2601,2864,2457,2126,2671,3055,2390,1923,1845,2250,1881,1880,2364,2364,2020,2098,2258,2257,2609,2856,2956,2387,2171,2192,2309,2460,2714,2722,2600,2255,2280,2104,1578,1738,1812,1745,2288,2404,2152,2273,2159,2366,2699,2568,2396,2231,2084,2313,2728,2413,2470,2433,1879,2385,2584,2566,2183,2115,2678,3064,2944,2261,1601,1848,2517,2996,2889,2182,1857,2410,2620,2655,2361,2752,3504,3365,3166,3250,2676,2531,2197,2401,2542,2258,2002,1932,2552,3264,3032,1961,1588,1926,1968,2221,2214,2382,2608,2521,2016,2040,1930,1996,2106,2323,3184,3348,3237,4042,4144,4143,4193,3857,3731,3905,4282,3930,3124,3428,3968,3751,3805,3628,3422,2897,2349,2635,3061,3198,3597,4471,4621,3632,3053,3422,2999,2595,2720,2852,2791,2079,2029,2578,2924,2729,2414,2456,2917,3615,3855,3787,3607,3407,3646,3664,3107,3248,3914,4213,3482,2603,2696,2748,2883,3320,2841,2550,2664,2791,2909,3006,3177,3754,4013,3397,2841,2579,2317,1985,2068,2257,2598,2471,2257,2215,1933,1570,1532,1698,2048,1991,1908,1908,1818,1772,1969,1809,1750,1887,1879,1855,1841,1904,1759,1885,1964,1853,1781,1934,1736,1830,1898,1988,2061,2134,2036,1926,1927,1812,2779,3587,3129,2396,2294,2105,2033,1779,1873,2583,2985,2383,2182,2924,3341,3011,2776,3097,3256,3340,3384,3430,3581,3626,3526,2866,2297,2465,2698,2600,2293,2184,2292,2816,2514,2791,3871,4182,3301,2195,2212,1854,1764,1597,1520,1695,2054,1964,1971,2075,2277,2556,2972,4143,4014,3161,2928,3062,3416,3405,3254,3341,3190,3175,3269,3241,3264,3209,2883,2865,2818,2568,2396,2396,2609,3131,3500,3332,3129,3041,3061,3273,3278,3074,3145,3234,2844,2376,2397,2354,2473,2104,1790,1907,1943,2121,2325,2564,2752,2578,2271,3366,4006,3898,3732,3278,2902,3210,2863,1887,1650,1657,2170,2576,2216,1987,2548,2814,2721,2155,2153,2034,1592,2047,2480,1842,2144,2344,1962,1679,2339,2552,1808,1709,1864,2100,2658,2863,2510,1968,1802,1945,2067,1538,1388,1642,2646,3554,3511,3441,3449,3421,2835,1978,1849,2069,2063,2216,3248,3607,3438,3339,3298,2832,2519,2923,3031,2469,3023,3156,2873,2862,2850,2972,2689,2176,2291,2988,3416,3452,3430,3472,3539,3471,3697,3956,3603,3683,3986,3819,2523,1875,2521,2429,2374,2811,2319,1973,2287,2587,3263,3935,3076,1803,1464,1747,2130,2258,2348,3094,3322,3188,2653,2282,2460,2698,2864,2597,2024,2030,1806,1645,1980,2049,2395,2571,1876,1797,2164,2436,1892,1952,2483,2161,1718,1746,2012,1865,1718,1856,2083,2062,1997,2057,1770,1709,1891,1951,2046,2116,2195,2157,2315,2073,2016,2056,1936,1810,2378,3045,2978,2531,2054,1693,1770,1922,1673,1708,1824,1831,1594,1598,1728,1826,1646,1516,1579,1492,1363,1423,1883,2375,2270,1858,1660,1615,1871,1654,1431,1405,1364,1534,2022,2741,2953,2818,3032,1996,1700,1640,1691,2102,3448,3087,2138,2539,2625,2237,2332,2242,1918,2427,1843,1455,1404,1586,1832,1771,1743,1777,1803,1874,1890,2055,2198,2216,2670,2735,2270,1990,1798,2033,2414,2673,3495,3328,2295,2154,2337,2675,3113,3044,3082,2223,1612,1865,2788,3646,3234,2220,2431,2487,2710,2744,2160,1897,2176,3007,3484,2923,2273,2104,1828,1545,1752,1606,1413,1621,1484,1497,1515,2048,2255,2280,2834,3376,2845,2546,2437,1625,1466,1505,1443,1669,2632,2545,1683,1556,2103,2018,2116,2230,2112,2005,1836,2470,2608,2513,2574,2392,1975,2115,2624,2845,2338,2007,2211,2329,3598,4165,3886,2729,1833,1869,1501,820,482,1089,1892,2263,2111,2256,2041,2001,2063,1730,2036,1634,1781,1970,1797,1812,1876,1393,1641,1818,1737,2380,2527,2019,1903,2010,1818,1812,2199,2457,2264,2376,2252,2224,1900,1775,2025,2059,1834,1861,2144,2501,2562,2215,2774,2981,1973,1601,1617,1623,1880,2074,1725,1319,1252,1674,1961,1958,1695,1488,1410,1575,1443,1648,1676,2182,2555,2164,1904,2185,2263,2161,2159,2382,2235,2654,3109,3328,3530,3483,3681,3467,3052,2739,2649,2753,2843,2417,2291,2811,3593,3517,3932,3895,3319,3194,3231,3398,3466,3341,3141,2809,2830,3341,3129,2770,2591,2328,2642,2711,2374,2113,1619,1383,1632,2205,3075,2994,2851,2580,2055,1620,1202,1509,1543,1710,2081,2316,2175,2153,2283,2409,2315,2595,2517,3403,4282,4516,4488,4288,3682,3344,3688,3643,3289,3217,2756,3054,3594,3945,4216,4151,3539,3408,3218,2511,2401,2739,2731,2468,2185,2069,2002,1608,1901,1702,1779,1353,1068,1885,2013,2067,2055,1720,2235,2307,1464,1638,1858,1988,2236,2429,2178,2062,2264,1697,1897,2967,2797,2720,2439,2340,2499,2230,1570,1379,1600,2170,2439,2596,3252,4230,4476,4329,3580,2763,2732,3839,3444,2478,2250,2017,1839,1622,1188,1720,2425,2783,3540,2973,2742,3003,2208,2205,2475,2348,2397,2475,2127,1697,1815,1702,1881,2033,1826,1593,1791,2108,2574,2739,2479,2411,2442,2333,2050,2246,1866,2054,2146,2032,2021,1926,2143,2391,2246,2267,1927,2035,2504,2542,2477,2129,1855,1254,992,1654,1685,1398,1583,1489,2045,2009,1872,1707,1955,2157,1838,1711,1652,1948,1844,1685,1429,1080,1137,1093,972,867,1207,1529,2585,2932,2598,2647,2413,2385,2983,2874,2419,2088,2035,2485,2745,2200,2283,2215,2378,2203,1614,1329,1085,795,1251,1366,987,888,1100,1419,1772,1730,1428,1321,1232,1438,1458,1536,1388,1287,1456,1897,2128,1819,1048,492,371,400,934,2021,2489,2264,1869,1420,1640,1680,2040,1544,849,1256,1494,1385,1085,1357,1488,1072,1229,1785,2004,2077,1615,1579,1709,2525,3209,3012,3361,3589,3488,3321,3005,3594,3997,3028,2603,2542,2796,2753,2661,2552,2831,2636,1966,2283,2128,1885,1803,1993,2003,1856,1663,1599,1539,2165,2302,1991,2165,1964,2055,2143,2135,2034,2096,2357,2857,2864,2821,3038,2939,2695,2624,2782,3277,3497,3628,3405,3319,3039,2823,2706,2678,3109,3558,3791,3818,3253,2944,2974,2852,2612,2751,3318,3947,4001,3803,3629,2678,1759,1930,2127,1654,1258,1396,1676,2300,2028,2032,2211,2291,2463,2641,2620,2618,2322,1873,1793,1702,1523,1792,2514,2702,3053,3239,3176,3197,3172,3139,2685,1509,1228,1228,1286,1193,1098,1332,1557,1682,1942,1907,1635,1348,1421,1616,1480,1407,1509,1739,1454,1517,1423,1340,1307,1279,1318,1262,1204,1474,2333,1950,1386,1321,1327,1415,1375,1566,1506,1335,1316,1509,1618,1421,1397,1433,1659,1911,1690,1564,1369,1436,1550,1534,1842,2204,2067,1705,1867,1642,1413,1389,1375,1321,1203,1177,1154,1259,1289,1298,1429,1298,1238,1253,1335,1304,1275,1232,1234,1239,1349,1447,1366,1283,1387,1924,2358,1949,1710,2046,2306,1738,1630,1527,1643,2185,2657,3072,2416,1683,1542,1481,2031,2171,2119,1698,1639,1320,1487,1693,1585,1381,1281,1440,1572,1715,1549,1373,1353,1382,1720,1898,2082,2229,2359,2596,2243,2172,2092,1730,1566,1487,1537,1608,1590,1494,1490,1582,1738,1752,1621,1437,1598,1676,2001,2554,2204,1940,1907,1849,1715,1887,1852,1667,1760,1836,1799,1566,1300,1335,1713,1831,1545,1510,1763,1817,1982,2008,2066,2171,1688,1659,1997,2024,2007,1877,1837,1760,1602,1206,962,1370,2261,3202,2901,2612,2350,2219,2111,1845,1630,1687,1976,2016,2040,2414,2405,2840,3061,2553,2000,2370,2317,2311,2540,2444,2259,2211,2173,2310,2478,2668,2735,3020,2872,2717,2292,1784,1610,2027,2441,2324,1914,1501,1686,1863,2611,2388,2189,1864,2110,1987,1995,2342,2315,2375,2225,2366,2329,1639,1537,1969,2153,2556,2830,2934,2865,2481,2222,2435,2175,1962,1906,2372,2143,2229,2183,1625,1618,1620,1504,1549,1695,1660,1814,1741,1737,1537,2116,2167,2120,2098,2172,2321,2150,1894,2164,2486,2450,1662,1574,1611,1533,1878,1872,1559,1654,1716,1680,1614,1649,1809,1652,1530,1475,1559,1657,1985,2031,2276,2624,2902,1946,1605,2155,2272,2337,2394,2394,2833,2342,1534,1885,2652,2266,1729,1829,2048,1962,1763,1947,2574,3262,3593,3267,2434,1942,1954,2030,2766,2967,2362,2113,1938,1613,1650,1629,1589,1785,1788,1667,1548,1686,1835,1617,1428,1478,1510,1513,1533,1620,1964,1889,1546,1584,1510,1786,2299,2267,2109,2094,1875,1690,1608,1638,1599,1638,1778,1960,2047,2116,1844,1866,1790,1620,1854,1982,2106,2126,2161,2251,2158,2404,2420,2068,2139,1958,2155,2417,2299,2536,2265,1908,1832,1599,1525,1551,1841,1841,1891,1964,1780,1891,2485,2464,1764,1552,1796,1810,2260,2174,1847,1891,1854,1880,1605,1662,2083,1931,1731,1759,1942,1836,1665,1606,1911,2364,2696,2378,2487,2555,2138,2201,2154,1919,1736,1734,1951,2018,1816,1627,1617,1475,1528,1785,2083,2342,2381,1966,1831,1812,2525,2348,1980,1542,1399,1384,1397,1448,1414,1736,2008,2123,1995,1930,1781,1868,1833,1896,1840,1963,2323,2175,1776,1852,1991,1571,1875,2314,2547,2175,2480,2736,2223,1805,1728,1679,1497,1492,1716,1510,1538,1508,1461,1415,1431,1558,2155,2045,1969,2299,2591,2991,2943,2394,2188,2400,2596,2695,2889,3123,3873,3761,2978,3016,3296,3550,4083,4169,3965,3814,3703,3359,3262,3390,3009,3010,2727,2051,2342,3162,3103,2657,2695],[2918,3111,3073,3078,2944,3045,3204,2917,2577,2917,3078,3096,3134,2876,2609,1999,1903,2337,2449,2418,2530,2618,2706,3140,3405,3652,3635,3460,3394,3543,3488,3586,3638,3542,3694,3804,3732,3592,3470,3052,3441,3475,3728,4115,4203,3562,2973,2653,2871,3354,3661,3893,3945,3656,3576,3457,3492,3491,3418,3066,2750,2337,2145,2008,1915,2056,2080,2493,2217,1658,2136,2788,2813,2127,2036,2283,2112,2423,3146,3089,2714,2356,2666,2766,2239,2459,2173,2896,2457,1760,2189,2131,1659,1829,2024,2137,2247,2319,2858,2797,2805,2531,2621,2667,2364,2176,2329,2469,2556,2075,1741,1820,1336,1733,2397,2314,2281,2009,2046,2339,2256,2409,2578,2485,2400,3083,3552,2582,2435,2265,1729,2495,3088,2962,2328,1982,2618,3012,2964,2662,2233,1751,2348,2994,2812,2062,2000,2428,2483,2546,2536,2204,2888,3104,2752,2241,2062,2382,2410,2605,2218,1954,2032,2410,3284,3497,2984,1786,1627,1858,1542,1909,2624,2490,2292,2455,2220,1752,1770,1974,1937,2233,2792,3040,2884,3353,3417,3375,3793,3885,3926,4184,4247,3979,3498,3159,3336,3146,3021,3453,3914,3752,3226,3422,4092,4122,4263,4879,4572,3347,3366,4082,4023,3561,3328,3736,3379,2573,2468,2617,2791,2520,2030,2107,2233,2242,2470,2991,3350,3393,3658,3658,3526,3767,4276,4481,4048,3128,2748,2995,2899,3522,3344,2854,2712,2712,2756,2907,2916,3168,3495,3062,3025,2935,2376,1997,2249,2321,2256,2186,2114,2279,2260,1577,1610,1670,1513,1598,1839,1963,1902,2004,1854,1673,1771,1786,1817,1727,1742,2015,1708,2094,1746,1600,1818,1760,1708,1775,1791,1892,2030,2110,1976,1909,1875,1935,2690,3461,2890,2318,2003,1859,2014,1682,1741,2273,2476,2060,1982,2248,2438,2175,2425,2574,2562,2854,3087,3296,3458,3387,3018,2405,2200,2270,2259,2146,2710,2693,2526,2710,3190,3375,4268,4380,3652,2563,2283,2107,1766,1793,1680,1667,1833,1851,1918,2061,2117,2674,3854,4492,3886,3167,2791,2798,2884,2917,3028,3060,2912,2828,3094,3049,3142,3234,3118,3023,2918,2553,2376,2460,2762,3232,3426,3432,3432,3538,3893,3742,3329,3155,3250,3065,2806,2542,2676,2544,2210,2030,2083,2055,1970,2162,2252,2402,2376,2270,2057,2424,3034,3250,3360,2963,2705,3221,2499,1527,1463,1492,1835,2018,2385,2398,2379,2465,2477,2524,2574,2250,1942,2013,2304,2084,2140,2404,1883,1743,2464,2470,1996,2039,1878,1799,2175,2771,3420,2810,2544,2143,1803,1618,1482,1888,2358,2762,3480,3768,3588,3809,3400,2314,1920,2151,2482,3207,3726,3736,3502,3085,2757,3005,3344,3455,2792,2752,3217,3105,2947,2984,2618,2887,3142,3221,3508,3543,3493,3584,3566,3539,3400,3438,3651,3836,3654,3674,3632,3104,2173,1959,1980,2094,2634,2737,1876,2191,3195,3360,3851,4230,3638,2524,1698,1688,2540,2784,2393,3020,3509,3320,2833,2381,2213,2438,3066,3111,2690,2291,1882,1477,1448,1497,1750,1744,1817,2465,2824,2868,2424,2266,2382,1917,1594,1701,1695,1668,1632,1874,2391,2142,2094,2392,2067,1923,1954,2140,2098,1892,1960,2065,2555,2254,2057,2051,1771,1743,2116,2558,2746,2635,2543,2059,1886,1631,1469,1938,2072,1719,1805,1703,1844,2372,2172,1594,1524,1404,1482,1897,2365,2192,1740,1725,1736,1627,1725,1736,1810,1688,1530,2089,2564,2791,2668,2204,1781,1241,1139,1545,2690,3755,3812,3037,2199,2410,2308,2317,2258,1950,1711,2039,1641,1647,1727,1643,1590,1623,1748,1783,1554,1596,1739,2179,2740,2079,2157,2630,2458,1951,1710,2142,2790,2670,2418,2401,2361,2622,2618,2602,2666,2595,2684,2227,1644,1945,2973,4038,3758,2403,2591,2669,2956,3040,2192,1576,1920,2707,3288,3000,2408,2162,1811,1587,1662,1472,1388,1426,1436,1395,1746,2343,2476,2431,3410,4349,2596,1879,2148,2277,1783,1582,1507,1678,2078,2078,1737,1983,2068,1572,1976,2322,2222,1790,1721,2021,2276,3112,3706,2862,2414,2776,3082,2779,2086,1919,2042,2342,3688,3940,2842,2010,1966,1921,1770,1012,955,1610,2038,2404,2482,2279,2082,2261,1944,1545,1650,1920,2525,2662,2746,2583,2298,1749,1315,1517,1842,2227,2107,1810,1854,1898,1836,2194,2997,3542,3186,3390,2397,1794,1693,1898,2227,2200,2081,2163,1919,2061,2558,1738,2068,2191,1769,1841,1903,2240,2096,1889,1808,1418,1288,1394,1980,2098,1599,1767,1701,1691,2072,2307,2166,2446,2382,1930,2018,2114,2149,1986,1981,2532,2483,2500,3079,3357,3297,3361,3687,3623,2922,2440,2248,2200,2163,1830,2198,2994,3692,3309,3024,3296,3431,3317,3288,3381,3498,3438,3078,2857,3043,3121,2935,2743,2830,2987,3084,2858,2524,1973,1498,1859,1794,2156,2723,2656,2312,1599,1413,1719,1732,2152,2086,1414,1698,2412,2942,2536,2232,2530,2058,2360,1802,2126,3096,3724,4260,4499,4399,4344,4177,4042,3846,3694,3626,3561,3439,3435,3710,4095,4168,4288,4080,3464,3316,3354,2578,1952,2294,2373,2062,2237,2557,2069,2332,2048,2126,2964,2187,2454,2553,1765,2422,2365,1720,1555,1714,1709,1751,2276,2578,2173,2055,1859,2432,3269,2576,2667,2752,2979,3085,2399,1930,2057,2195,2178,1868,2208,2873,3773,4361,3272,2149,2511,2978,3444,2941,2328,2222,1931,1644,1413,1527,2285,2522,1931,2940,2952,2986,2887,2312,2276,2222,2352,2627,2622,1889,1769,2133,1738,2058,2436,1848,1810,2160,2103,2210,2531,2645,2831,2711,2787,2384,1996,2169,2425,2351,2293,2463,2195,1879,1937,2036,2259,1962,2189,2442,1584,1484,1688,1605,1144,1051,1819,1686,1366,1866,2027,2472,2076,1980,2071,2475,2135,1561,1514,1752,1968,1471,1335,1394,1205,1194,1252,1110,794,1103,1549,2520,2814,2612,2862,2711,2379,2573,2692,2470,1778,1657,2181,2626,2164,1667,1530,1694,1730,1596,1321,1261,697,1160,1348,1002,1500,1922,2072,2311,2002,1771,1543,1239,1345,1347,1559,1328,836,1023,1772,2337,2029,1367,824,559,736,1492,1998,1878,1633,1720,1484,1548,1582,1854,1274,799,1128,1223,1361,1382,1513,1612,1449,1652,2404,2188,2027,1548,1598,1885,2190,2386,2767,3447,3473,3592,3611,3185,3152,3410,3417,2808,2473,2687,3118,3365,3394,3362,2601,1911,2451,2049,1954,1814,2018,2018,1804,1679,1599,1510,2084,2254,1826,2186,1912,1955,2022,2315,2101,1964,1926,2216,2740,2795,2785,2856,2902,2698,2695,3309,3566,3138,2679,2708,2662,2600,2624,2557,2791,3261,3641,3632,3252,3030,2963,2902,2710,2600,2851,3265,3465,3776,3429,2120,1751,1971,2120,1630,1561,1574,1939,1824,1736,2123,2254,2165,2031,2081,1992,1901,1827,1860,2220,2291,1688,2072,3089,3566,3641,3708,3768,3848,3867,3737,3360,2005,1295,1432,1521,1346,1261,1670,1701,1477,1630,1848,1805,1499,1613,1773,1594,1460,1494,1415,1384,1633,1597,1432,1359,1367,1273,1125,1175,1549,1799,1415,1403,1474,1342,1318,1316,1292,1252,1364,1510,1588,1620,1606,1564,1717,1671,1720,1606,1390,1526,1624,1557,1669,1914,2260,2393,1948,1653,1560,1505,1404,1318,1217,1179,1140,1136,1230,1282,1270,1453,1294,1197,1389,1390,1246,1186,1266,1392,1388,1273,1345,1355,1339,1431,1503,1879,2030,1794,2176,2257,1819,1746,1874,2194,1935,1873,3194,2512,1616,1573,1770,2072,1814,1652,1594,1368,1210,1425,1682,1443,1284,1221,1384,1389,1461,1621,1546,1415,1336,1592,1958,2129,1996,2021,2161,2160,2292,2001,1717,1553,1481,1628,1810,1688,1462,1503,1618,1737,1574,1924,1616,1621,1685,1862,1921,1825,1677,1659,1798,1835,1777,1541,1526,1676,1793,1611,1554,1472,1191,1490,1751,1561,1575,1499,1443,1492,1463,2056,2256,2077,1924,1906,1932,1734,1986,2261,2280,1860,1206,1114,2042,2643,2732,2184,2365,2428,2271,2078,1942,2059,2210,2144,2116,2182,2492,1979,2254,2621,2468,2246,2544,2735,2429,2227,2126,2294,2193,1540,1634,2017,2187,2433,2718,2663,2456,2112,2116,2125,2263,2472,2096,1569,1531,1960,2117,2189,2125,2139,2320,2553,2220,1870,2054,2226,2176,2141,2210,1949,1604,1578,1564,1684,2173,2570,2592,2228,1908,1933,2422,2622,2775,2136,1845,1992,2051,1725,1720,1780,1600,1722,1729,1550,1600,2040,2082,1754,1842,2692,2589,2366,2110,1866,1982,1909,1949,2332,2336,2416,1744,1967,1705,1555,1776,1934,1800,1709,1763,1710,1714,2018,2500,1953,1661,1553,1928,2382,2292,2048,1934,2263,2642,2070,1779,1924,1815,1629,1960,2326,2956,2509,1908,2180,2566,2091,1597,1749,1918,1702,1666,2445,3252,3441,3745,3776,3263,2695,2222,1863,2307,2692,2432,2055,1960,1993,1628,1492,1674,1725,1617,1606,1530,1718,1673,1500,1659,1753,1606,1522,1512,1702,1683,1565,1522,1471,1650,1835,1898,2044,1994,1995,1906,1994,1730,1720,1701,1805,1789,2100,2302,2000,1679,1745,1790,1627,1754,1971,2038,2043,2418,2570,2497,2481,2174,1882,1898,1965,2229,2256,2320,2553,2651,2448,2170,1697,1598,1788,2204,2021,1698,1820,1684,1905,2165,2103,2039,2141,1902,1715,2119,2194,2304,2303,2046,2026,1695,1926,2137,1730,1649,1823,2230,1957,1854,1831,1644,1960,2386,2320,2509,3288,2928,2233,1810,1866,1863,1962,2013,1834,1694,1723,1611,1493,1495,1810,1982,2248,2264,2002,2241,2045,2212,1836,1614,1740,1814,1550,1512,1561,1605,1613,1466,1821,2007,2173,2110,2266,1970,1465,1433,1606,1679,1662,1608,1746,2071,1877,1750,1769,1844,2301,2025,1691,1881,1634,1436,1561,1498,1556,1593,1489,1502,1498,1502,1501,1701,1901,2155,2213,2556,3077,2786,2974,3064,2591,2372,2589,2876,2843,2700,2792,3462,3410,3487,3564,3506,3566,3910,3888,3236,3332,3529,3064,3106,3436,3270,2950,2412,1908,2160,2545,2677,2896,3486],[2910,2820,2783,2878,3106,3411,3453,2776,2425,2751,2866,2688,2504,2319,2461,2137,2018,2231,2243,2276,2350,2568,2865,3258,3195,3235,3267,3316,3379,3554,3442,3451,3508,3300,2906,2794,2811,2842,3367,3241,3787,3686,3849,4280,4092,3706,3365,2987,3065,3327,3601,3781,3849,3796,3566,3429,3436,3469,3398,2692,2148,1982,1938,2041,2374,2504,2653,2668,2549,2464,2103,2665,3206,2701,2271,2368,2159,2587,3418,3335,3258,3531,3285,2565,2009,2647,2335,2468,2331,1782,1814,1433,1604,2172,2320,2819,3046,2603,2589,2741,2617,2374,2186,2236,2248,2017,2154,2342,2520,2914,2626,2207,1933,2211,2199,2223,2537,2393,2265,2346,2370,2504,2411,2449,2706,3615,3277,2762,2771,2276,1954,2600,3244,3128,2667,2241,2145,2052,2687,3066,2790,2119,2567,2788,2508,2319,2359,2636,2689,2245,2133,2187,2883,2976,2662,1936,1968,2244,2869,2661,2036,2546,2571,2624,3508,3759,2967,1929,1440,1455,1491,2150,2644,2353,2205,2448,2322,1925,2018,2215,1783,1872,2194,2560,2818,2614,2182,2901,3842,3839,4257,4493,4172,3430,3276,2828,2655,2938,2430,3021,4273,4396,3654,3874,4500,4724,4589,4897,4312,3237,3293,4252,4528,4037,3453,3415,3625,3328,3231,2926,2886,2319,1987,2149,2415,2193,1801,2090,2486,2972,3436,3758,3842,3852,3990,4080,4213,3906,3758,3935,3450,3618,3466,2763,2581,2640,2666,2843,3046,3321,2681,2308,2577,2719,2401,2179,2220,2147,2176,2040,1920,1868,1683,1515,1595,1644,1760,1636,2219,2510,2674,2525,1809,1707,1782,1828,2037,1946,1842,1943,1909,1854,1559,1592,1765,1791,1721,1663,1635,1672,1844,1781,1668,1709,1625,1824,1990,2537,2386,2055,1870,1933,2144,1859,1886,2151,2332,2320,2568,2350,1966,1891,2020,1902,1831,2007,2611,3128,3255,3191,2488,2173,2180,2305,2219,2398,2603,2581,2293,2127,2331,2696,3493,3635,3197,2427,1986,1932,1918,1786,1719,1707,1693,2061,2099,2566,2706,3139,3863,4156,3596,2939,2896,2664,2366,2755,3080,3000,2887,2493,2938,3018,2943,3021,3235,3177,3144,2743,2389,2512,2900,3217,3319,3112,3293,3553,3812,3729,3435,3064,3190,2875,2305,2241,2314,2120,2030,2216,2168,1952,1853,2020,1831,1859,2094,2157,1818,1979,2651,2828,2867,2894,2858,2770,2040,1703,1455,1524,1621,1908,2425,2130,1986,2220,2019,1902,2026,2162,2232,2169,2015,1860,2055,2270,2195,1996,1990,2120,2208,2383,1946,1888,2026,2428,2754,2955,2670,1990,1848,1915,1924,2174,2298,2334,2975,3206,2932,2840,2806,2495,2168,2013,2437,3206,3830,3705,2977,2611,2374,2218,2226,2144,2019,3298,3553,3405,3367,3464,3385,3571,3739,3753,3816,3724,3709,3558,3427,3586,3577,3507,3583,3750,3706,3499,3177,2469,1825,2161,2214,2576,2599,2360,2305,3348,4213,3820,3947,4339,4081,3173,2202,2072,2687,2500,2035,2367,3184,3285,3016,2434,1991,2173,2813,3183,2840,2231,1885,1681,1555,1537,1651,1667,1827,2570,2833,2645,2402,2051,1941,1823,1807,2036,2379,1986,1532,2314,3120,2430,1513,1576,2105,2316,2149,2171,1972,1806,2153,2277,1997,1768,1686,1698,1999,2480,2360,2342,2767,3164,3383,2741,1949,1401,1469,2332,2526,2271,2024,1647,1770,2376,2072,1400,1344,1432,1451,1726,2197,2397,2076,1712,1601,1771,1890,1565,1825,1783,1592,2152,2115,1703,1659,1674,1636,1542,1496,1748,2668,3256,2369,2161,1846,2729,3111,2900,2426,1923,1754,1553,1516,1755,1701,1537,1633,1843,1911,1938,1642,1476,1689,2166,3011,2418,2063,2533,2344,1689,1473,2088,3140,2878,2097,1800,1954,2922,3320,2390,2050,2438,2700,2266,1739,1953,2875,3841,3596,2214,2259,2591,2764,3009,2618,1998,1995,2545,3007,2745,2324,1888,1680,1641,1574,1534,1560,1592,1527,1503,1543,1775,2315,2264,2756,4580,3338,2556,2737,2870,2073,1584,1540,1694,2096,2092,1729,1850,2171,2136,1814,2194,3009,2419,1802,1699,1933,3077,3520,2546,2698,3537,3237,2763,2361,2111,1911,2669,3145,2560,1872,1852,1855,2009,2352,1971,1994,1862,2051,2396,2877,2621,2242,1943,1614,1891,2051,2032,2858,2955,2583,2565,2578,2069,1470,2005,2707,2327,1883,1982,1867,2030,2725,2708,2983,3480,3498,3507,2598,1838,1726,1839,1753,1984,2369,2211,1687,1598,2072,2119,2197,1834,2079,2010,1936,2468,2138,1655,1810,1642,1470,1489,1960,1794,1754,2232,1948,2155,2652,3184,2878,2080,1817,1870,1981,1868,2303,2071,1968,2546,1970,1649,2406,2697,2617,2929,3216,3269,3100,2591,2068,2265,2292,3086,3376,3194,3409,3373,3221,3522,3551,2954,2798,3198,3316,3253,3057,2684,2654,2597,2353,2691,3279,3180,2865,2684,2297,1557,1621,1858,1698,2075,2398,2150,1916,1455,1294,1683,2295,2715,2360,1354,1577,2367,3213,3062,2456,2361,2351,2467,2075,2076,2263,2429,2997,4068,4300,4425,4254,4113,3939,3924,3946,3836,3688,3540,3472,3618,4092,4227,4453,4420,4275,4196,3050,2134,2088,2393,2292,2401,2519,2193,2249,1945,2736,3150,2995,3124,2451,1731,1876,1814,1788,1572,1167,848,798,1749,3049,2213,1950,2025,2394,3222,3486,3152,3760,4593,3755,2227,1666,2017,2350,2116,2137,2378,2566,2831,3843,3433,2997,3462,3640,3367,2662,2323,2072,1822,1739,1913,2468,2598,2260,2002,2566,2723,2809,2695,2183,2040,2289,2031,1909,1723,1916,1976,1999,1941,2307,2492,2370,2292,2405,2165,2225,2635,2570,2742,2486,2612,2032,1931,2299,2362,2425,2202,2201,2201,2292,2747,2416,2331,2433,2523,2229,1496,1296,1420,1515,1140,1195,1806,1477,1262,1647,2267,2407,2007,2054,2213,1996,1505,1462,1646,1892,2061,1446,1368,1886,1535,1497,1680,1479,1189,1415,1943,2548,2424,2104,2514,2402,1850,2163,2496,1993,1813,2187,1979,1963,2063,1820,1814,1796,1669,1728,1626,1794,967,1224,1619,1171,1411,1860,1914,2124,2079,1763,1655,1443,1498,1655,1538,1269,591,448,1147,1937,1959,1478,1175,933,1070,1751,1945,1910,2150,2340,1801,1404,1563,1693,1021,1020,1274,1051,1438,1453,1626,1573,1482,1684,2093,2057,1941,1609,1639,1976,1884,1766,2379,3182,3836,3714,3655,3796,4101,3953,3260,2907,2566,2750,3351,3576,3332,2971,2537,2060,2459,2090,1857,1760,1729,1941,2122,2025,1634,1626,1873,2055,1865,2125,1806,2006,2074,2101,2269,2329,2018,1894,2036,2146,2482,2990,3258,2874,2797,3311,3583,3075,2582,2448,2689,2888,2614,2505,2439,2551,3044,3300,3230,3142,3059,3075,3129,3010,2773,2587,2996,3638,2611,1515,1992,2389,2547,2205,2046,1810,1710,1561,1886,2337,2763,2797,2377,2339,2346,2420,2866,3154,3074,2947,2218,1849,2788,3492,3295,3296,3294,3362,3431,3140,3210,2541,1863,2013,2166,1910,1493,1736,1977,1522,1507,1698,1865,1709,1813,1623,1509,1440,1381,1345,1443,1594,1576,1381,1311,1358,1437,1408,1393,1318,1251,1387,1383,1401,1318,1277,1369,1342,1311,1413,1501,1360,1426,1683,1607,1838,1725,1531,1506,1377,1398,1709,1644,1705,2189,2469,2141,1997,1654,1588,1549,1472,1327,1260,1290,1288,1276,1296,1346,1374,1365,1362,1382,1452,1289,1205,1191,1221,1429,1413,1318,1460,1384,1368,1562,1587,1893,2297,2118,1932,1843,1685,1741,2306,2587,2418,1974,2247,1835,1789,2073,1963,2341,2316,1786,1629,1471,1355,1504,1695,1478,1396,1422,1623,1544,1363,1544,1580,1387,1340,1443,1781,1831,1578,1885,1979,2055,1917,1688,1501,1386,1579,1858,2035,2006,1699,1459,1443,1503,1510,2237,1893,1698,1889,1892,1592,1519,1639,2033,2386,2142,1821,1477,1390,1534,1670,1689,1690,1554,1399,1643,1811,1814,1763,1443,1332,1403,1427,1719,1917,2038,1888,1996,2198,2172,1974,2099,2484,1910,1421,1792,2978,3123,2602,2707,2700,2156,2351,2416,2154,2210,2144,1895,2071,2265,2342,2028,1942,2085,2664,2679,2451,2743,2762,2377,2146,2429,2241,1460,1443,1559,1967,2248,2502,2586,2076,2093,2279,2072,2545,2763,2237,1675,1964,2111,1891,1938,1955,2443,3174,2532,1739,1554,2006,1786,1897,1971,1636,1934,2087,1838,1716,1654,1696,2082,2280,1960,1895,2070,2719,3273,2743,1922,2011,2267,2062,1737,1838,1714,1731,2021,1587,1562,1651,2210,2302,1838,2182,2430,2497,2471,2082,1909,1929,1694,1778,2380,2796,2777,1980,1850,1930,1749,1716,1999,1874,1775,1802,1875,1953,2293,3157,2377,2101,1965,2033,2021,1812,1863,1935,2068,2058,1871,1954,1848,1519,1613,1970,2496,2348,1802,1512,1641,1865,1848,1686,1831,2107,1776,1969,3019,3554,3584,3607,3648,3708,3554,3232,2746,2149,2186,2308,2512,2956,2360,1761,1565,1643,1547,1694,1770,1638,1591,1447,1565,1685,1832,1619,1424,1538,1772,1831,1766,1510,1477,1698,1685,1711,1746,1604,1621,1889,1990,1812,1854,1599,1639,2026,2308,2306,1958,1792,1531,1713,1803,1934,1955,1809,1768,2162,2824,3073,2652,2212,1897,2147,2314,2385,2109,2460,2333,2754,2938,2317,1618,1858,2041,1929,1932,1729,1617,1670,1798,1861,2146,2722,2553,1980,1918,2110,2472,2790,2390,1869,1964,1796,2004,2100,1891,1815,1916,1850,1688,2062,2320,2287,2500,2766,2690,2150,2666,2579,2101,1874,2016,2128,2117,1933,1646,1636,1630,1488,1514,1563,1959,1982,2176,2270,2018,2370,2261,1694,1432,1556,1951,2217,1735,1670,1720,1782,1659,1555,1773,1612,1703,1877,1927,1770,1603,1525,1525,1679,1500,1549,1827,2346,2061,1604,1722,1749,1835,1760,1762,1978,1551,1469,1722,1562,1634,1560,1667,1643,1544,1506,1685,2166,2438,2566,2526,2625,3008,3012,3074,3188,3075,2688,3006,3307,3111,2806,2625,3227,2783,3437,3670,3508,3170,3111,2669,2632,3310,3608,3210,2888,3009,3157,2992,2672,2554,2734,2411,2591,3057,3699],[2766,2819,2922,3030,3147,3339,3309,2929,2770,2678,2808,2379,2386,2415,2269,1788,1683,2088,2247,2333,2399,2708,3343,3437,2888,2822,2913,2996,3164,3273,3095,3019,3066,2724,2220,2543,2618,2408,3108,3380,3946,3801,3851,4211,3923,3666,3367,3111,3227,3582,4020,3779,3641,3767,3684,3616,3438,3227,2675,2027,1830,1876,2270,2570,2609,2564,2940,2813,2990,2812,2282,2584,3378,3363,2803,2648,2070,2679,3316,2956,2864,3275,3351,2880,2024,1894,1773,1528,1598,1588,1982,2172,2491,2718,2534,2833,3154,2871,2654,2825,2796,2096,1617,2093,2654,2891,2751,2152,2215,3132,3326,2711,2271,2187,2149,2127,2469,2346,2351,2787,2997,2623,2510,2459,2721,3261,2587,2494,2589,1977,1887,2474,3339,3427,3255,2707,2255,2214,2603,2909,2532,1961,1976,2400,2733,2619,2788,3117,3073,2459,2522,2633,2840,2934,2438,2026,1922,1974,2458,2406,1982,2208,2172,2341,2878,2756,2260,1982,1732,1511,1496,1953,2198,1986,2292,2537,2011,1906,1836,2308,1997,1881,2426,2655,2858,2865,2554,2884,3504,3845,4273,3803,2865,2175,3007,3216,2868,3107,3215,3195,3374,3407,3194,3806,3798,4369,4464,4432,3908,3216,2953,3706,4000,3694,3238,3286,3670,3066,3124,3143,3404,2623,2054,2310,2531,2521,2244,1762,1641,2176,3263,3936,4101,4070,4062,4133,3896,3498,3608,3870,3500,3016,2755,2799,2868,2626,2812,2876,2795,2300,2014,2355,2506,2338,2092,2090,2113,2244,2511,1781,1553,1737,1688,1599,1623,1840,1700,1581,2322,2751,2512,2024,1929,1878,1703,1760,1896,1905,1915,1883,1860,1779,1676,1725,1783,1854,1666,1680,1760,1924,1957,1727,1611,1703,1716,1671,1837,2071,1920,1795,1660,1575,1675,1805,1683,1778,2110,2521,2941,2812,2360,2189,2399,2048,2057,2161,2770,3188,3078,2788,2448,2354,2380,2332,2099,2497,2425,2193,2304,2553,2250,2408,2916,3416,2785,2058,1765,1613,1647,1859,1911,1738,1969,2566,2777,2823,2962,3344,3726,3736,3332,2835,2756,2700,2390,2745,3009,2913,2907,2433,2753,3099,3023,3145,3327,2929,2690,2543,2313,2483,2709,2863,3049,2789,2916,3266,3174,3287,3488,3495,3175,2663,2501,2117,1770,1915,2019,2245,2271,2179,2643,2421,1841,1757,2146,2065,1629,1963,2846,2697,2494,2518,2534,2598,2315,2125,1798,1731,1673,1816,2094,1976,2033,1997,1621,1599,1954,2185,2295,2136,1831,1865,2208,2155,1935,2296,2855,2420,2303,2313,2354,2173,1860,2115,2465,2798,2756,2612,2273,2451,2486,2332,2403,2135,2501,2408,2197,1819,1718,2050,2092,1898,2085,2573,3505,3608,3173,2721,1967,2189,2420,2504,2462,3140,3750,3815,3892,3892,3770,3730,3521,3400,3572,3707,3946,3531,3006,3085,3318,3516,3628,3601,3674,3333,2912,2344,2017,2274,2414,2466,2688,2689,2907,3453,3942,4228,4288,4380,3602,2426,2020,2199,2416,2221,1989,1908,2426,3024,2921,2381,2181,2062,2622,2636,2730,2395,1886,1715,1726,1887,1791,1628,1709,1882,1788,1623,1876,1831,1844,2017,1974,2260,2236,1472,1228,1857,2566,2343,1628,1598,2249,2426,2196,1997,1721,2082,2670,2462,1945,1705,1512,1581,2177,2554,2298,2082,2359,2901,3304,3351,2414,1646,1772,2467,2768,2357,2015,2082,2223,2270,1947,1606,1528,1504,1298,1383,1691,2288,2436,1743,1451,1934,1982,1466,1829,1867,1830,1751,1308,1565,2095,2075,2128,2193,1649,1789,2257,3139,2360,2291,1817,2204,2424,2543,2220,1881,1650,1408,1639,2094,1888,1772,1852,1908,1897,2200,2049,1595,1663,2510,2929,2177,1648,1722,1732,1619,1440,2249,3309,2964,2177,1671,1702,2874,3249,2418,2420,2349,2318,1845,1721,2002,3146,3964,3475,2313,2017,2177,2060,2212,2556,2166,1653,2123,2604,2758,2603,1729,1417,1460,1522,1642,1857,1729,1476,1417,1353,1520,2170,2718,2394,3447,3673,3361,3183,2686,1942,1520,1478,1767,2081,1913,1611,1571,2608,2763,1766,1813,2424,2220,1664,1394,1607,1829,2390,2624,2884,3165,2730,2380,2521,2316,1830,2062,2047,1705,1676,2131,2125,1900,1960,1989,2521,2641,2569,2668,3233,3374,2600,1792,1665,2047,2134,1931,2695,2323,3100,2451,2234,1901,1575,2647,3278,2835,2375,2263,1988,2186,2460,2783,3475,3177,3162,3376,2746,1870,1609,1496,1518,1979,2148,1970,1948,2037,1812,2296,2036,1860,2178,1929,1883,2064,1847,1489,1606,1644,1673,1698,1790,1710,1654,1411,2251,2943,2686,2706,2070,1609,1637,1958,1723,2199,2723,2028,1819,2434,2056,1630,2019,2126,2095,2585,2940,2986,2956,2761,2419,2343,2680,3795,3983,3502,3410,3628,3481,3391,3306,3020,2966,2998,3111,3187,2979,2550,2620,2854,2596,2741,3254,3221,3019,2470,1627,1579,1828,1855,1749,2013,2338,2622,2222,1337,1098,1519,2208,2244,2432,2271,2126,1929,2833,3001,2837,2891,2808,2593,2194,2265,2385,2459,2474,3018,3696,4113,4092,3916,4042,4149,4080,4119,4184,4229,4120,3827,4121,4023,4155,4296,4372,4521,3984,2905,2185,2676,2693,2374,2171,2118,2499,2013,2365,2949,3276,2735,2280,1965,1520,1666,2004,1278,692,859,790,1503,2988,2455,1913,1764,1957,2913,3603,3249,3894,4688,3598,2186,2036,2014,1852,2479,3209,2769,2413,2755,3482,3221,3010,3936,4112,3364,2373,1917,1696,1636,1475,2099,2566,2629,2392,2185,2408,2958,2809,2144,1770,2129,2215,1657,1631,1583,1311,1825,2286,2202,2214,2354,2369,2343,2360,2420,2377,2769,2756,2388,2369,2566,2122,2200,2072,1913,2150,2222,2128,2110,2402,2451,2587,2487,2067,2018,2074,1967,1513,1693,1944,1442,1307,1502,1308,1292,1899,2088,1654,1592,1684,1526,1340,1389,1757,1761,2162,1561,1383,1404,2443,2205,1776,1766,1488,1690,2552,2614,2458,2342,2014,2494,2641,2507,2874,2820,1894,1800,2118,2067,2173,1687,1680,1592,1360,1743,1847,1903,1896,1063,1072,1693,1419,1301,1856,1880,2100,2093,1741,1853,1244,1141,1420,1245,1044,687,530,1230,1857,1930,1599,1724,1749,1382,1399,1772,1819,2315,2517,2020,1638,1785,1575,968,1730,1693,1146,1409,1353,1496,1480,1458,1603,1962,2002,1952,1750,1836,2126,1696,1718,2539,2828,3333,3772,3972,4214,4776,4377,3586,3142,2395,2854,2897,2897,2814,2986,2815,2416,2496,2043,1801,1738,1757,2002,2355,2195,1679,1588,1791,1807,2031,2161,1933,2197,2154,2220,2664,2732,2296,2019,1617,1704,2008,2173,2636,2824,2998,3372,3665,3297,2683,2452,2618,2857,2715,2675,2363,2302,2722,2812,2955,3221,3398,3554,3552,3420,3124,2800,2947,2836,2060,1767,2184,2687,3098,3024,2722,2354,2159,2547,2899,3074,3425,3431,3115,3296,3266,2790,3642,3652,2401,2388,2508,2111,2593,3017,2965,2554,2675,2777,2752,2578,2872,2557,2512,2665,2470,2300,1885,1482,1974,1989,1995,1720,1776,1773,1619,1564,1570,1417,1355,1357,1383,1444,1582,1561,1466,1237,1266,1272,1332,1366,1379,1346,1332,1378,1345,1349,1438,1424,1341,1359,1353,1416,1634,1665,1575,2129,2223,1727,1581,1372,1665,2482,1777,1551,1848,1666,1778,1921,1689,1401,1316,1413,1404,1379,1406,1480,1326,1207,1284,1360,1361,1351,1309,1370,1309,1234,1198,1298,1393,1382,1307,1339,1376,1395,1534,1638,1682,1704,1659,1598,1754,1852,1825,1931,1793,1428,1456,1506,1726,1888,1795,1804,2155,2062,1655,1546,1528,1456,1612,1567,1459,1471,1449,1520,1590,1514,1460,1504,1616,1677,1554,1865,1914,1912,2008,1895,1803,1860,1924,1637,1555,1456,1746,1866,1944,1981,1810,1745,1550,1527,1644,1709,1651,1775,2005,1733,1525,1638,1858,2105,2130,1740,1348,1322,1566,1744,1725,1557,1408,1664,1942,1757,1705,1498,1363,1444,1532,1630,1809,2037,1889,1839,2170,2593,2439,1813,1926,2155,1925,1709,2198,3322,3306,2555,2497,2276,1844,2504,2620,2645,2484,2008,2072,2798,2318,2027,1996,1902,2177,2542,2351,2482,2802,2524,2272,1864,2090,2286,1931,1682,1507,1564,1742,2126,2133,2035,2614,2298,1891,1960,2384,2324,1720,1772,1841,1874,2013,1824,2025,2532,2286,1755,1595,1937,1630,1818,1735,1669,2033,2080,2026,1888,1813,2302,2141,1856,1698,2040,2095,2918,3286,2368,1946,2254,2425,2139,2273,2255,1868,1931,1877,1645,1726,1892,1928,1758,1958,1971,1902,2284,2157,2027,1901,2083,2228,1981,2194,2820,2451,2003,1877,1852,1770,1898,1969,1760,1771,1981,1897,2032,2248,2547,2141,1948,1878,1722,1898,2386,2040,1887,1927,1959,1993,1985,1878,1870,1820,1692,1948,2131,1827,1498,1600,1612,1767,1695,1641,1707,1771,2489,3119,3462,3837,3879,3563,3552,3582,3715,3287,2436,2021,2214,2460,2435,2097,1880,1776,1624,1530,1653,1655,1760,1554,1615,1618,1640,1788,1732,1476,1654,1827,1820,1715,1620,1867,1931,1725,1944,1685,1590,1758,1688,2024,2380,2140,1630,1769,2077,2082,2058,1936,1970,1695,1704,1798,1735,1878,1968,1942,1939,2272,2688,2667,2158,2092,2513,2285,2183,2242,2319,2086,2343,2439,1803,1603,1811,1747,1725,1801,1866,1576,1618,1920,2209,2438,2723,2282,1995,2217,1945,2240,2609,2397,2082,2236,2290,1908,1974,2008,1815,1722,1656,1859,2342,2405,2034,2094,2214,2115,1862,2050,2169,2178,2178,2230,2149,2108,2035,1804,1689,1688,1639,1645,1660,1996,1922,2242,2175,1758,2048,2082,1625,1487,1628,1738,1725,1699,1804,1618,1659,1820,1794,1767,1728,1638,1593,1562,1610,1976,1769,1745,1934,1698,1672,1925,2308,2098,1960,1874,1679,1597,1842,1802,1871,1665,1856,1600,1492,1768,1723,1904,1827,1458,1510,1563,1758,2315,2486,2746,2417,2552,3206,3023,3006,3162,2809,2797,2793,2745,3248,3286,3186,2535,3316,3671,3487,2933,2710,2545,2695,3465,3610,3016,2545,2809,3216,2887,2765,2759,2771,2343,2584,2999,2654],[2987,3109,2986,2980,2801,2805,2988,3205,2675,2420,2474,2436,2920,3141,2505,1756,1892,1947,2094,2150,2414,2493,2873,2965,2852,2668,2685,2768,2796,2850,2738,2687,2562,2139,1997,2522,2744,2642,3015,3469,3852,3933,3962,4089,3820,3809,3530,3143,3231,3514,3839,3631,3485,3660,3636,3442,3116,2664,2298,1958,1974,2765,2779,2259,2231,2602,2745,2602,2497,2309,1881,2013,2610,2720,2613,3073,2065,2315,3183,2934,2713,2561,2359,2222,1674,1569,1836,2023,1885,1670,1948,1803,2276,2317,2104,2685,3439,3160,2370,2297,2558,1945,1193,2247,2401,2141,2566,2225,1976,2131,2601,2856,2237,2276,2546,2148,2238,2664,2734,2140,2177,2625,2592,2647,3010,2831,2538,2511,2556,2337,2224,2436,3035,3476,3526,2776,2275,2333,2389,2369,2376,2390,2348,2568,2715,2415,2654,2158,2111,2380,2611,2496,2448,2404,2331,2879,3060,2198,2044,2080,2056,2238,2680,2598,2778,2580,1976,1906,1805,1494,1671,1849,1747,1704,2092,2085,1748,1884,1934,2138,1908,1994,2536,2699,3178,3455,3284,3536,3827,3628,3564,3099,2177,1855,3085,3129,2666,3793,4240,3301,3167,3962,4030,3762,3547,3884,4311,3861,3529,2951,2440,3022,3640,3416,3012,3173,3531,2883,3074,3339,3384,2542,2172,2544,2685,2601,2257,1625,1467,1608,2266,3307,3805,3797,4078,4050,3837,3645,3338,3175,3079,2670,2378,2255,2171,2252,2736,2731,2688,2556,2674,2555,2100,1965,1936,2510,2416,2388,2454,1863,1646,1851,1943,1896,1705,1489,1569,1757,1917,1932,1595,1342,1648,1814,1710,1659,1637,1713,1973,1935,1736,1859,1751,1782,1565,1669,1856,1861,2097,2476,2062,1924,1858,1801,1822,1730,1819,2018,1836,1722,1609,1572,1670,1645,1639,1678,2053,2408,2631,2864,2421,1881,2016,1617,2156,2539,3253,3566,3204,2836,2641,2336,2480,2220,2026,2778,2978,2668,2513,2509,3069,3532,3919,4169,3110,1806,1700,1752,1659,1784,1706,1614,1952,2423,2836,2702,2494,2521,2834,3415,3370,2923,2691,2757,2574,2647,2863,2740,2779,2774,2719,2530,2610,3279,3289,2683,2603,2496,2368,2573,2524,2396,2590,2990,2771,2714,3083,3387,3554,3371,2656,2462,2458,1839,1650,1860,2038,2297,2302,2430,2731,2458,1826,1637,2116,1909,1684,1806,1917,1841,2185,2381,2580,2651,2509,2240,1891,1667,1649,1625,1897,2063,1561,1431,1488,1775,2054,2126,2076,2154,2207,1884,1892,1956,1684,1831,2260,2142,2183,1921,1995,1777,1856,2227,2507,2480,2719,3349,3043,2674,2097,1915,1839,1775,1863,1979,2172,1919,1687,1899,1860,1793,2093,2042,2586,2776,2585,2943,1860,2181,2600,2405,2518,3252,3807,3776,3947,3925,3598,3394,3200,2939,3251,3587,3868,3122,2336,2596,3141,3606,3818,3535,3437,3225,2884,2630,2278,2278,2338,2753,3185,3341,3432,3056,3394,3995,3643,3420,2670,2145,2348,2342,1980,2018,1883,1644,1978,2665,2634,2591,2348,2313,3011,2701,2421,2032,1868,1880,1805,1664,1473,1469,1638,1860,2097,2266,2193,1902,1707,1727,1782,1991,1874,1601,1507,1770,2301,2466,2122,2056,2040,2020,2126,1824,1459,1746,2623,2765,1931,1764,1859,1868,1929,1688,1871,2042,2304,2297,3031,3398,2864,2071,1717,2267,2419,2180,2552,2491,2502,2080,1973,1848,1707,1488,1327,1376,1533,1877,1869,1585,1385,1607,1686,1642,1844,1885,2050,1859,1631,1858,2030,2030,1770,1799,1898,2899,3122,3600,3134,2510,1875,2101,2224,2000,2128,2242,1886,1663,2132,2396,2105,2053,1992,2006,2404,2408,2045,1752,1605,2066,2210,1959,1669,1648,1690,1682,1589,2540,3334,2872,2122,2003,2135,2436,2620,2792,2851,2641,2686,1923,1699,2097,3334,4058,3547,2807,2338,1809,1552,1880,2204,2304,1645,1763,2388,2613,2425,1818,1440,1435,1410,1734,2566,2057,1540,1649,1522,1427,1788,2591,2070,2667,3493,2977,2258,1685,1487,1475,1386,1453,1480,1525,1692,1865,2547,2406,2086,2478,2811,2348,1594,1330,1969,2028,2474,2331,2575,2566,2696,2419,2208,2246,1998,1910,1823,1640,1607,2003,1929,1653,1957,2329,2633,2985,2956,2650,2879,2905,2174,1829,1896,1914,2138,2756,2850,1978,2441,2232,1755,1784,2210,2968,2700,3049,3384,2882,2050,2603,2709,2827,3030,2364,2094,2247,1980,1782,2060,1763,1959,2146,1852,1787,2130,2015,2010,2125,1656,1399,1702,1741,1771,1918,1844,2027,1753,1629,1747,1567,1550,1654,1567,2018,2911,2787,2658,2232,2008,1704,1761,1936,1681,2311,2431,1655,1863,2218,1635,1720,2137,2149,2404,2837,2952,3040,3191,3090,2863,2722,3197,3956,4256,3715,3287,3658,3585,3264,3283,3318,3018,3002,3061,2967,2813,2873,3186,3300,3006,2579,2412,2812,2796,1918,2045,2143,2143,2121,1973,2091,2673,3450,2895,1709,1547,1346,1821,2096,2337,2732,2342,1376,1870,2640,3469,3873,3503,3333,2897,2786,2611,2429,2242,2472,2945,3758,3601,3130,3657,4227,4167,4139,4157,4040,3617,3817,4058,3849,3773,3928,4100,4181,4309,3749,3041,3250,2608,2156,2208,2340,2505,2120,1923,2256,2643,2569,2445,2088,1604,1231,1331,935,960,1422,1327,1499,2244,2494,2042,1957,2311,2709,2975,2740,2864,3742,2694,2097,2221,2077,1893,2445,2427,2252,3015,3775,3448,2103,2458,3474,3222,3138,2510,2012,2275,2011,1469,1838,2298,2364,2088,2138,2144,2941,3298,2357,1860,2009,2195,2004,2170,2083,1708,2144,2185,2403,2712,2365,1922,1578,1743,2304,2387,2640,2684,2316,2809,2963,2209,2375,1911,1887,2155,2231,2269,2556,2621,2458,2656,2185,1961,2220,1803,1687,1472,1961,1969,1337,1220,1393,1190,1235,1824,1762,1318,1438,1439,1362,1415,1804,2051,1800,1816,1549,1426,1568,2439,2358,1478,1277,1592,2676,3151,2689,2375,2307,2032,2198,3098,3432,3307,2404,1339,1715,2111,2520,2589,1942,1779,1618,1385,1782,1890,1820,1659,1114,1039,1517,1402,1376,1751,1748,1758,1695,1633,1576,977,976,1306,1059,945,877,775,1381,1735,1815,1617,1789,2042,1897,1845,1921,1785,1871,1769,1603,1489,1642,1447,921,1775,1670,1493,1546,1408,1492,1883,1683,1590,2084,2380,2446,2057,1971,2082,1494,1811,2610,3122,3260,3689,4015,4029,4245,3827,3576,3274,2335,2520,2480,2548,2689,3576,2878,2509,2635,2122,2286,2166,1886,1937,2175,2279,2049,1697,1930,2318,2667,2183,2110,2657,2325,2196,2522,2557,2177,2268,1795,1538,1656,1816,2116,2416,2767,3462,3957,3717,2885,2562,2744,2886,2775,2702,2354,2435,2742,2563,2418,2824,3328,3435,3285,3407,3384,3327,2699,2139,2246,2282,2632,2995,3322,3224,2928,2762,2746,3264,3601,3551,2869,2988,2330,3173,3664,2573,2885,3439,3008,2962,2436,2007,2204,2798,2714,1905,1917,2368,2626,2315,2337,2641,2851,2953,2415,2017,2034,1594,2408,2821,2076,1554,1630,1749,1855,1917,1629,1310,1290,1304,1271,1304,1526,1567,1362,1144,1136,1383,1482,1368,1393,1401,1324,1407,1468,1454,1463,1538,1505,1475,1437,1663,1720,1570,1570,2051,2230,1988,1642,1482,1331,1535,1437,1425,1424,1476,1756,1717,1526,1498,1370,1465,1439,1375,1490,1384,1275,1368,1496,1428,1483,1509,1419,1310,1194,1287,1348,1275,1283,1355,1285,1240,1372,1431,1399,1430,1475,1445,1429,1602,1555,1475,1642,1498,1802,1585,1444,1599,1867,1986,1810,1685,1834,1801,1636,1536,1456,1450,1874,1843,1566,1400,1375,1461,1613,1864,1892,2004,2064,1856,1922,2293,2098,2099,1889,1809,1808,2044,2230,1637,1486,1484,1668,1565,1863,1979,2120,1991,1616,1517,1693,1910,1788,1661,1679,1670,1542,1591,1744,1695,1660,1497,1468,1529,1610,1816,1933,1630,1609,1739,1824,1650,1526,1465,1542,1631,1614,1652,1968,1981,1606,1972,1940,2399,2173,1721,1639,2298,2477,2195,2531,3186,3108,2391,1927,1831,2010,2323,2434,2910,2908,2518,2320,2432,2351,2092,1765,2040,2437,2680,2500,2272,2135,1750,1621,1394,1797,2146,2132,1952,1721,1695,1868,1875,1609,2137,2037,1836,1620,1747,2258,2463,2437,2272,1854,1738,1713,1784,2482,2370,2148,1964,1764,1830,1860,2125,2279,2380,2148,1854,1871,1945,2124,2430,2233,1725,1591,1727,1885,2620,2510,1713,1782,2279,2309,2093,2490,2116,2135,2055,1676,1621,2026,2351,2045,1864,1931,1757,1699,2143,2188,1990,1882,1951,2097,2020,2096,2297,2228,1841,1703,1820,1631,1860,1955,1631,1734,2083,2398,2500,2242,2077,2161,1926,1571,1475,1862,2395,2209,2018,1882,2406,2395,2024,1820,1965,1953,1742,1744,1904,1591,1501,1577,1643,1760,1769,1715,1983,2457,2537,2842,3343,3898,4264,3881,3538,3576,3240,2886,2378,2231,2384,2283,2001,1696,1620,1831,1755,1733,1725,1709,1945,1807,2020,2080,2094,1930,1693,1798,1864,1699,1630,1448,1453,1759,1642,1655,1658,1610,2070,2348,2304,2599,2722,2044,1671,1864,1841,2070,2005,1872,1926,1849,1688,1604,1494,1814,2002,1828,1935,2039,2337,2482,2312,2480,2649,2182,1793,1934,2177,2218,2098,2220,2208,2102,1950,1720,1627,1555,1831,1678,1638,2063,2523,2614,2546,2010,2064,2178,1821,2119,2045,2374,2125,2135,2103,1843,1712,1665,1792,1727,1899,2286,2574,2248,1576,1934,1735,1764,2007,2121,2189,2147,1902,1893,1866,2061,2264,1851,1503,1651,1880,1830,1781,1850,1924,2313,2207,1906,2070,1667,1381,1513,1515,1436,1590,1865,1801,1673,1779,1926,1887,1677,1666,1896,1711,1723,1692,2446,1975,1590,1676,1789,1592,1615,1790,2031,2194,1757,1686,1655,1750,1722,1606,2084,2316,1960,1634,1413,1379,1665,1623,1593,1638,1477,1766,2174,2036,2556,2448,2539,2701,2555,2729,2628,2617,2643,2304,2669,3142,3528,3162,2643,2989,3559,3760,3248,3184,3140,3461,4210,3609,2686,2486,2585,2976,2567,2207,2373,2990,3133,3055,2783,2469],[3298,3262,2830,2976,2947,2954,3111,2910,2230,1910,1994,2645,3194,2916,2462,2007,2018,1871,2084,2430,2705,2573,2150,2374,2929,2608,2477,2514,2519,2595,2656,2629,2247,1913,1937,2298,2671,2775,3073,3454,3631,3716,3962,4047,3838,3871,3838,3402,3275,3293,3429,3439,3419,3494,3429,3172,2653,2114,1875,1921,2249,3335,3039,2170,2222,2381,2332,2263,2728,2519,2114,1522,1696,2366,2887,3271,2154,2328,3184,3060,2640,2325,2267,2151,1583,1685,2222,2898,2373,2071,2026,1642,1872,1856,1756,2577,3331,2931,2333,1755,2055,1503,1080,1988,2464,2358,2266,2167,2137,1921,2180,2503,2189,2600,2078,1395,1977,2610,2901,2436,2654,2847,2186,2300,2811,2673,3051,2392,2283,2182,2077,2495,2563,2687,2666,2492,2496,2371,2022,1758,1874,2296,2552,2313,2141,2221,2857,2603,2254,2208,1996,1531,1450,1752,1996,2637,3310,3034,2833,2452,2032,3068,3835,3508,3533,3199,2272,1942,1819,1798,2214,2113,1664,1608,1976,2273,2292,2137,1843,1884,1814,2282,2876,2921,3580,3417,2968,3388,3438,3061,2991,2580,1854,1497,1844,2081,2343,3571,3952,3421,3631,3804,3588,3372,3404,3928,4064,3732,3605,2823,2308,2485,2941,3204,3116,3156,3198,2918,3097,3330,3333,2522,2031,2397,2579,2600,2445,1482,1424,1625,1844,2854,3369,3429,3589,3766,4180,4152,3396,3300,2986,2575,2275,2207,2428,2533,2683,2827,2932,2926,2927,2800,2754,2566,1998,2435,2413,2287,1986,1800,1902,1918,1929,1803,1208,1484,2320,2253,2163,2078,1537,1207,1963,2091,1783,1739,1606,1614,2120,2000,1767,1782,1823,1948,1643,1603,2181,2385,2314,2698,2868,2294,2040,1901,1936,1818,1766,2171,1952,1697,1527,1709,1858,1866,1604,1580,2026,2278,2151,2284,1922,1697,1547,1691,1747,2077,3046,3476,3270,2945,2683,2413,2498,1982,2332,2596,2734,2576,2163,1989,2492,3169,3754,3599,2422,1804,1686,2023,2092,1832,1734,1560,1740,1991,2092,1935,2070,2188,2138,2908,3205,3039,2736,2651,2747,2764,3088,2963,2828,2895,2663,2461,2518,2714,2734,2959,2881,2577,2700,2524,2338,2415,2771,3101,2895,2676,2689,2821,3034,2833,2157,2169,1992,1895,1987,2172,2334,2173,1885,2402,2678,2264,1836,2018,2418,2046,2308,2122,1670,1952,2756,3111,3097,3177,2950,2380,1830,1686,1687,1876,1958,2207,1798,1498,1753,2045,1997,2010,2087,2206,2420,2069,2099,2120,1896,1987,2054,2225,2204,1872,1699,1645,2038,2589,2786,2883,3213,3289,3107,2933,2667,2347,1876,1843,2082,2106,2196,2294,2342,2812,2470,2013,2089,2028,2154,2159,2654,2776,1800,2002,2317,2337,2656,3262,3666,3604,3618,3487,3103,2873,2813,2939,3271,3579,3818,3487,2996,3059,3309,3411,3765,3531,3289,2753,2888,3185,2554,2018,1989,2334,2888,3216,3272,2813,2908,3396,2852,2368,2271,2220,2593,2417,1824,1627,1868,2032,2195,2301,2316,2381,2047,2013,2048,1815,1813,1598,1744,2092,1773,1654,1713,1691,1676,1979,1958,1650,1676,1691,1530,1541,1638,1809,2066,1954,1920,1984,2234,2416,2274,2070,1944,2174,2364,1944,1527,1533,2248,2640,1976,1938,2093,2015,1710,1639,1750,1899,2100,2899,3683,3470,2920,2441,2412,2284,2188,2050,2492,2419,2354,1976,1680,1649,1561,1469,1320,1278,1504,1711,1532,1582,1267,1141,1560,1637,1866,2227,2378,2371,2177,2501,2534,1992,1029,863,2354,3526,3408,2790,2046,1577,1606,1981,1832,1792,2047,2079,2332,2420,2728,2313,2539,2680,2522,2270,2240,2494,2428,1780,1451,1756,1920,1702,1776,1642,1868,1711,1668,2613,3333,2434,1724,2548,3227,2687,2338,2648,2630,2764,2890,2112,1698,2239,3429,4081,3750,3168,2471,1920,1747,1538,1670,2179,1830,1848,2470,2326,1732,1474,1393,1518,1693,2097,2932,2254,1544,1374,1559,1551,1512,2395,2568,2306,2490,1985,1671,1583,1520,1513,1325,1345,1394,1562,1984,2256,2094,2303,3018,2975,2972,2908,2144,2396,2374,2607,3054,2410,2324,2408,2631,2562,1947,1845,1961,2061,2021,1823,1712,1854,2098,2234,2208,1939,1884,2225,2518,2481,2586,2181,1716,2382,2061,1770,2518,2819,2036,1606,1986,1832,1530,1835,2587,2966,2867,3050,3105,2602,2061,2464,2620,2955,2741,1831,1601,1609,1744,1772,2439,2072,1822,1563,1364,1557,1726,2014,2118,1862,1650,1338,1598,1805,2024,1957,2176,1918,1842,1949,1619,1427,1615,1670,1728,2029,1993,2242,2351,2208,1911,1654,1770,1828,1720,1825,1920,1910,2089,1827,1720,2168,2156,2311,2661,2774,2385,2755,3160,3009,2975,3055,3239,3796,3757,2768,2996,4090,3803,3395,3330,3455,3255,3002,2933,2980,3426,3674,3093,2545,2739,2439,2662,2602,1901,1451,2612,3034,2423,2278,2578,2812,3109,3251,2898,1684,1268,1229,1541,2408,2897,3059,2588,2176,2084,1487,2165,3255,3020,2405,2540,2933,3098,2625,2461,2708,3046,3511,3420,3040,3718,4387,4343,4132,3775,3619,2850,3142,3746,3716,2804,2778,3631,3772,3768,3915,3939,3651,2751,2126,2101,2327,2267,2273,2156,2072,2092,2211,1890,1358,1521,1506,1632,1467,1461,1431,1190,1347,1975,2360,2186,1928,1959,2473,2818,2523,2476,2854,2330,2522,2472,2087,2276,2215,2090,2487,2887,3574,3295,2124,2626,2932,2567,2492,2503,2997,3692,3026,1973,2318,2540,2172,1832,1906,1866,2301,3065,2639,2039,2308,2975,2878,2310,1660,1804,2170,1799,1840,2297,2183,1550,1371,2072,2532,2401,2572,2742,2474,2820,2487,1969,2102,2039,1987,2671,2811,2846,3251,2746,2149,2462,2374,1860,2255,1805,1651,1791,2118,2302,1829,1591,1542,1301,1548,2017,1809,1361,1517,1770,1876,1795,2085,1625,1444,1529,1487,1467,1557,1834,1812,1416,1345,1288,1971,2482,2470,2401,1703,1550,2013,2744,3154,2700,1806,1656,2269,2712,3162,2141,2069,2026,1780,1522,1649,1897,1649,1356,1257,1076,1410,1337,1566,1656,1557,1480,1406,1457,1543,1184,891,855,591,942,1238,1398,1786,2018,2176,1808,1636,1768,1694,1750,1663,1515,1441,1490,1537,1688,1528,1313,934,1543,1723,1898,1742,1325,1433,1549,1525,1598,1716,2010,2235,2071,2008,1960,1479,1743,2667,3174,3096,3330,3573,3818,3409,3088,3349,2858,2473,2510,2621,2442,2654,3476,2740,2291,2919,2357,2446,2530,1984,1724,1936,2060,2073,1868,1917,2392,2742,2226,2208,3053,2568,2223,1841,1735,1836,2019,1965,1908,2016,1897,1801,1881,2100,2546,3375,3950,3127,2900,3131,3020,2734,2611,2340,2319,2865,2723,2300,2346,3228,3474,3474,3806,3949,3646,2396,2430,2548,2564,2974,2767,2845,3223,3128,3116,3009,3345,3940,4180,2811,2807,2371,2963,4015,3344,2998,3310,3405,2819,1929,1938,2053,2630,2751,2745,3077,3331,3307,3017,3128,3423,3096,2863,2424,1636,2119,2789,3636,3839,2675,1584,1368,1556,1902,1611,1403,1509,1572,1451,1436,1305,1417,1432,1318,1200,1421,1952,1755,1280,1229,1310,1382,1334,1466,1452,1408,1274,1655,1745,1537,1498,1554,1683,1721,1822,2040,1630,1560,1448,1316,1404,1622,1800,1613,1476,1483,1470,1735,1936,1428,1674,1661,1432,1260,1224,1277,1462,1509,1434,1528,1507,1388,1339,1238,1235,1281,1221,1273,1315,1283,1334,1424,1404,1374,1428,1555,1644,1575,1446,1293,1524,1680,1684,2028,1865,1544,1590,1853,2078,1691,1696,2229,1868,1585,1440,1477,1401,1533,1776,1874,1698,1589,1676,1725,1854,2042,1880,1763,1814,2014,2121,2046,1851,1607,1660,1834,2144,2189,1780,1536,1497,1543,1467,1662,1761,1778,1890,2004,1908,1971,1738,1586,1987,2145,1767,1381,1567,2021,1871,1571,1514,1427,1430,1560,1766,1908,1885,1793,1679,1650,1671,1655,1609,1619,1665,1641,1880,1899,1552,1561,1707,1588,2127,2280,2008,2632,3088,2672,2635,3123,3418,3219,2088,1687,1572,2050,2355,2710,3089,2931,2622,2486,2353,2118,1896,1849,2083,2121,2381,2132,1660,1686,1657,1487,1935,2659,2907,3008,2635,1988,1738,1952,1936,1428,1426,1484,1558,1638,1762,2295,3120,2855,2312,1935,2072,1946,2054,2721,2426,2170,2142,2174,2120,2273,2757,2650,2552,1942,1761,1723,2116,2093,2265,2250,1874,1686,1671,2319,3084,2500,1780,2012,2370,2162,2524,2406,1850,2062,2035,1698,1926,2339,2535,2522,2398,2237,2288,1979,2236,2531,2104,2045,2010,1824,2097,2353,2336,2473,1913,1795,1946,1784,1771,1876,1738,1641,1715,2102,2214,1906,1809,1989,1863,1568,1560,2224,2614,2512,2155,2114,2437,2702,2430,1999,2091,2279,1716,1662,1642,1517,1656,1784,1851,2132,2326,2092,2424,2430,2382,2932,3277,3359,3949,4108,3629,3285,2808,2484,2198,2220,2235,2131,1936,1776,1979,2669,2418,2535,2386,2021,1830,1800,2191,2507,2508,2079,1705,1832,1744,1474,1467,1505,1629,1539,1571,1803,1761,1875,2278,2347,1903,1992,2176,1719,1783,1886,1920,2104,1940,1892,2208,2003,1781,1742,1651,1881,1642,1635,2024,1899,2044,2194,2533,2475,2423,2095,1849,1944,2195,2040,1970,2210,1932,1954,1945,1918,1670,1630,1605,1630,1711,1603,1742,2340,2646,1958,1699,1865,2026,1980,1903,2283,2061,1697,1785,2104,2138,1964,1898,1779,1983,2002,2298,1909,1723,2118,2214,2236,2323,2091,1874,2061,2004,2038,1909,2210,2625,1925,1704,1715,1865,1916,1978,2037,1988,2379,2266,1844,1798,1662,1446,1545,1636,1613,1844,1952,1598,1609,1752,1715,1658,1607,1912,2429,1858,1718,1991,2172,1893,1653,1585,1574,1585,1531,1615,1590,1670,1584,1534,1588,1613,1687,1512,1866,2158,1717,1575,1604,1423,1588,1541,1588,1840,1892,1963,2348,2542,2800,2874,2296,2337,2763,2602,2544,3074,2774,2331,2976,3098,3101,2916,2540,2591,3165,3239,2997,3262,3416,3858,3652,3528,3399,2890,2642,3166,2677,1776,2130,2866,3442,3732,2796,2259],[3119,3154,2864,3056,3146,3292,3353,2830,2045,1804,1781,2463,2577,2602,2393,1977,1766,1846,2366,2944,3227,3084,2586,2646,2766,2379,1875,2130,2500,2493,2667,2613,2219,1952,1881,2050,2273,2588,3344,3443,3664,3769,4008,3950,3941,3973,3928,3650,3283,3173,3459,3588,3504,3353,3126,2510,2168,1806,1804,2187,2115,2700,2593,2703,3383,2636,2682,2887,2385,1778,2188,1781,1631,3066,3790,3208,2191,1998,2297,2674,2548,2250,2360,2021,1586,1691,2359,3252,2690,2258,2106,1751,1760,1547,1856,2749,3424,3508,3078,2171,2214,1853,1801,1953,2231,2425,2143,2078,2164,1972,2092,2423,2429,2599,2076,2087,2580,2896,2686,2555,2686,2195,1789,2398,3239,2789,2922,2422,2276,2312,2349,2609,3273,3216,2655,3306,3871,3326,2296,1934,2166,2622,2979,2387,1973,2237,2625,2865,2619,2040,1932,1969,1517,1446,2083,2780,2788,3082,2965,2348,2251,3104,3532,3399,3212,2909,1936,1756,1974,2520,3142,2618,2214,2374,2784,2685,2384,2484,2790,2852,2425,2688,2349,2105,2664,2864,3029,3112,3119,3011,2959,2543,1820,1493,1381,1475,2220,3203,3443,3307,3471,3579,3239,2728,2852,3835,4761,4485,3919,3352,2974,3158,3363,3730,3794,3560,3454,3382,3218,3507,3394,2346,1778,2153,2449,2534,2208,1467,1374,1714,2038,2963,3492,3520,3692,3737,3853,4018,3708,3420,2419,2424,2389,2373,2564,2673,2852,3157,3323,3190,3163,3331,3151,2812,2452,2544,2834,2488,1877,1671,1737,1644,1772,1725,1581,2233,2988,2799,2556,2484,2599,2585,2755,2369,1837,1573,1645,1760,2109,1749,1843,1655,1773,1797,1846,1836,2325,2608,2452,3060,2980,2177,2262,1920,1814,1650,1592,1991,1982,1835,1702,1660,1801,1869,1611,1656,1819,1824,1756,1757,1753,2020,2084,1924,1616,1803,2200,2623,2920,2669,2679,2579,2163,2126,2819,3285,2611,2246,2383,2245,2231,2763,3376,3140,2294,2206,1805,1952,1823,1784,1769,1619,1736,1813,1777,1666,2046,1921,1723,2065,2655,2968,2733,2711,2929,2928,2920,3000,3078,2864,2762,2810,2511,2524,2778,3030,2421,2388,2720,2553,2510,2512,2491,2739,2756,2375,2359,2270,2615,2608,2046,1937,2113,2165,2145,2150,2314,2228,1960,2305,2497,2085,2013,2147,2414,2432,3000,2629,2303,2646,3017,3312,3175,3044,3000,2609,1707,1891,2303,2421,2339,2477,2048,1801,2142,2298,2437,2143,1719,1775,2243,2325,2690,2360,2030,2095,2336,2281,2166,2121,1971,2069,2106,2204,2986,3153,2586,2444,2326,2855,3207,2962,2724,2742,2735,2546,2611,2568,2452,2941,2542,2177,2080,2474,2480,2135,2556,2102,1353,2186,2765,2530,2688,3278,3709,3355,2965,2757,2619,2608,2698,2986,3453,3708,3776,4164,4124,3529,3374,3250,3374,3615,3342,2340,2388,2808,2321,1590,1730,1953,2577,2889,2845,2857,2632,3089,2834,2598,2208,1867,2074,2186,2041,1837,1892,1767,1876,1763,1811,2099,2199,1936,1619,1672,1841,1462,1735,2177,1994,2273,2340,2003,1636,1937,1871,1517,1610,1694,1669,1711,1860,1702,1850,2183,2393,1832,1856,1870,1867,1994,1940,2143,2045,1702,1864,2036,2361,2309,2098,2060,2253,2089,1695,1571,1636,1709,2183,3220,3520,3028,2558,2592,2236,1919,2053,2293,2104,1704,1974,2443,2198,1576,1342,1310,1312,1504,1648,1576,1393,1547,1665,1503,1548,1556,2069,2707,2433,2429,2417,3665,3997,2634,1770,1573,2218,2743,2648,2008,1705,1967,2295,2232,1753,2001,1955,1883,2298,2348,2514,2070,2104,2608,2728,2289,1690,1853,1653,1530,1437,1710,1747,1946,2292,2542,2298,1724,1553,2380,3264,2186,1811,2912,3731,3003,2376,2534,2826,3065,2921,2128,1741,2302,3349,3676,3647,3311,2013,1778,2136,1864,1722,1686,1684,2111,2575,2258,1580,1664,1635,1904,2003,1937,2066,1802,1477,1489,1978,1792,1370,1731,1920,1775,1929,1836,1558,1747,1629,1566,1489,1477,1411,1497,1902,1937,1929,2785,3523,3363,3131,2503,2293,2930,2138,1976,2314,2353,2405,2414,2370,2302,1939,1759,1795,1741,1918,1907,2133,2517,2677,2703,2277,1768,1798,2209,2332,2406,2166,1524,1562,1958,1495,1527,2004,1828,1693,2204,2370,2011,1826,2126,2735,2911,2929,3051,2957,2243,2062,2387,2767,3111,2342,1609,2167,1802,1721,1637,1988,2337,2151,1383,1404,1733,1708,1810,1708,1895,1988,1388,1875,2048,2395,2122,2116,1983,1896,1695,1368,1373,1520,1763,2056,2247,2291,2312,2109,1994,1977,1955,1835,1838,1791,1853,1973,2135,1998,1779,2234,2300,2353,2785,2913,2284,2139,3018,3388,3271,3167,3058,3154,3019,2902,2630,3178,4277,4160,3547,3294,3006,2366,2258,2906,3077,3209,3017,2654,2450,2818,2667,2645,2305,1894,1604,2178,2382,2242,2746,2934,2564,2453,2318,2642,2242,1426,1093,1261,2204,2906,2781,2778,2669,1998,1262,2087,2821,2522,2065,2314,2987,3585,3373,2898,3056,3348,3419,3465,3829,4376,4340,4078,3205,2590,2594,2397,2370,3286,3356,2133,2291,3388,3580,3376,3591,4069,4072,3316,2571,2668,2479,2185,2188,1954,1933,1864,1582,1783,1916,1982,2086,2625,2109,1674,1488,1132,1331,1964,2398,2102,1823,1985,2841,3340,3421,3141,2741,2376,2403,2480,2768,2709,2510,2445,2164,2486,3458,2937,2463,2764,2774,2788,2927,3152,3378,3672,3471,2419,2388,2563,2611,2628,2590,2341,2081,1988,1796,1796,2358,2835,2619,1945,1322,1866,2371,2140,1781,1384,925,765,865,1326,1895,2172,2347,2446,2230,2529,2222,2877,3571,2906,2574,3301,3453,2986,2983,2669,2225,2653,2562,2239,1909,1666,1568,1760,1736,1896,1671,1596,1654,1461,1244,1342,1330,1520,1641,1683,1536,1620,1482,1483,2144,2222,2013,2075,1780,1361,1323,1435,1484,1325,1695,2384,2207,1798,1639,2139,2558,2745,2865,2270,1709,2098,2654,3089,2938,1959,1973,1928,1662,1562,1433,1517,1454,1514,1562,914,1469,1452,1551,1677,1517,1589,1722,1717,1599,1346,906,1111,1428,1903,1697,1819,2047,2166,2191,1756,1519,1502,1505,1617,1693,1426,1233,1584,1677,1542,1608,1414,1335,1733,1904,2053,1603,1340,1691,1540,1669,1710,1344,1399,1973,1867,2026,1965,1403,1816,2977,3328,3490,3381,3044,3624,3475,3326,2952,2597,2644,2621,2411,2366,2934,3184,2490,2473,3349,2568,2522,2924,2268,1983,1982,1784,1769,1585,1594,2073,2515,2071,2209,3121,2287,1416,1015,1465,2248,2265,1844,1826,2027,1996,1902,1743,1776,1914,2226,2714,2653,2523,2852,3299,3089,2868,2203,1829,2158,2428,2602,2492,3116,3461,3406,3570,3716,2789,1792,2374,2890,3217,3132,2523,2130,2640,2963,3184,3143,3167,3509,4013,3565,3432,3339,3572,3893,3486,2724,2740,2539,1732,2337,2413,1990,2361,2667,2740,2667,2667,2868,3213,3283,2978,2961,2753,2061,1779,2362,3275,4316,4452,3045,1455,1308,1701,2071,1859,1609,1526,1393,1402,1477,1334,1323,1450,1469,1335,1509,1780,1462,1269,1255,1415,1458,1418,1746,1897,1635,1458,1576,1689,1562,1591,1754,1751,1804,2073,1940,1614,1475,1622,1958,1749,1633,1728,1488,1442,1455,1501,1655,2183,1699,1783,1565,1304,1322,1339,1338,1389,1331,1407,1600,1414,1333,1470,1259,1323,1311,1297,1332,1292,1379,1490,1364,1411,1461,1520,1456,1583,1562,1409,1399,1699,1773,1648,1742,1610,1364,1440,1770,1583,1532,1987,2024,1758,1869,1701,1637,1805,1599,1691,2097,2134,2193,1988,1565,1550,2295,2303,1819,1850,1730,1627,1918,1937,1579,1505,1577,1787,1908,1994,1691,1735,1674,1396,1461,1606,1776,2144,2194,2127,1715,1548,1377,1676,1763,1612,1474,1752,2014,1590,1509,1534,1502,1623,1804,1815,1848,1915,1792,1626,1529,1660,1829,1669,1509,1651,1841,1922,1534,1132,1430,1701,1697,2263,2729,2953,3033,2832,2837,3453,4019,4060,3776,2994,2380,2259,1873,2235,3086,3078,2623,2590,2601,2641,2225,1909,2132,2160,2171,2332,1793,1493,1513,1408,1666,2574,3084,3286,3659,3305,2553,1799,1824,2226,1829,1717,1805,1698,1975,1924,2410,3038,2532,1985,1641,2161,2198,1933,2124,2051,1942,1995,2107,2254,2417,2436,2333,2208,1924,2219,1828,2015,1998,1961,1964,1924,1936,1886,2499,3023,2266,1893,2014,2039,2513,3160,2663,2025,2281,2282,1598,1692,1907,2396,2158,2435,2555,2664,2223,2025,1941,1721,1785,1804,1700,2340,2591,2280,2326,1732,1735,2009,2291,1980,1663,1676,1526,1650,2385,2416,1920,1766,1980,1995,1812,1725,1954,2166,1950,1885,1903,2148,2558,2343,2023,1960,2057,1898,1809,1657,1674,1702,1643,1861,2343,2401,2603,3098,2283,1799,2390,3292,3099,3381,3783,3144,2469,2340,2098,2080,2029,2001,2237,2795,3073,3161,3223,2929,2832,2698,2324,1969,1783,1832,2079,2355,2216,1809,1775,1676,1615,1543,1630,1629,1606,1871,1862,1782,1874,1936,1985,1787,1964,1826,1766,1808,1868,1965,1919,1747,1834,1935,1937,1991,1908,1616,1787,1592,1928,2044,2166,2215,2180,2208,2362,2445,2339,2138,1881,1943,1934,2122,1793,1544,1673,1863,2002,1669,1730,1900,1782,1794,1764,2010,2313,2188,2066,1714,1766,2182,2123,1983,2233,2084,1567,1670,1942,1787,1525,1745,1883,1685,1945,2263,2071,2208,2455,2374,2072,2060,1853,1976,2036,1982,2200,2097,2634,3133,2417,1780,1588,1678,1650,1865,2189,2092,2208,2178,2001,1992,1775,1541,1552,1888,2032,1998,1879,1719,2054,1863,1702,1551,1706,1944,1994,1740,1686,1888,1810,1688,1835,1854,1851,1811,1693,1680,1527,1458,1499,1493,1575,1675,1739,1446,1375,1822,1759,1769,1865,1749,1868,1697,1547,2151,2487,2178,2632,2846,2587,2791,2119,2496,2919,2498,2390,2614,2392,2268,2813,2740,2751,2930,2375,2130,2973,3086,2796,2894,3518,4109,3921,3475,3414,3060,2645,2813,2710,2734,3389,3559,3665,3758,2855,2120],[2880,2888,2821,2895,3024,3397,3482,3020,2054,2145,2078,2465,2068,2112,2788,2836,2685,2609,2530,2862,3197,3064,3019,2784,2390,2489,2564,2678,2360,2319,2386,2416,2383,2005,1864,1894,1855,2155,3201,3410,3807,3948,4042,4035,4078,3924,3724,3625,3218,3075,3458,3597,3543,2975,2480,2059,1882,1958,1872,2074,2564,2437,2200,2702,3243,2369,2633,2747,2155,1788,1748,1919,2784,3929,4092,3251,2468,2264,1927,2075,2282,2232,2129,1955,1685,1722,2525,3407,2910,2215,2258,2198,1783,1852,1933,2338,3228,3507,3249,2984,2759,2237,1968,1847,1868,1880,1784,1886,1913,2374,2038,1785,2083,2376,2601,2788,3309,3460,2840,2724,2220,1925,1790,1994,2822,2243,1986,2373,2184,1931,2349,2622,2871,3119,3078,3560,3398,3369,3410,3077,2996,2849,2678,2347,2215,2171,2741,3216,2523,2068,2546,2397,2080,2431,2755,2806,2520,2569,2210,1940,2376,2344,2460,3185,3108,2762,2208,2204,2520,3073,3298,2805,2503,2519,2669,2656,2385,2533,2510,2578,2908,2768,2244,3046,3218,3405,3482,3316,3451,3366,2900,2115,1488,1436,1582,1568,1691,2662,3486,3044,3168,3699,2990,2565,3075,3819,4512,4108,3772,3472,3039,3260,3646,3801,3911,3892,3796,3784,3517,3686,3405,2340,1960,2175,2177,2411,1996,1446,1524,1771,2293,3355,3563,3410,3495,3609,3751,3927,3939,3532,3110,3190,2908,2451,2410,2846,3055,3250,3233,3087,3133,3204,3157,2858,2459,2833,3017,2308,1895,1944,1964,1705,2057,2399,2562,2225,2448,2244,2041,1925,2263,2740,2349,1919,1632,1621,2302,2140,2104,1926,2102,2094,2034,1932,1870,1932,2326,2360,1888,2043,1830,2080,2156,2423,1960,1720,1871,1791,1809,1937,1844,1753,1688,1586,1488,1883,2201,1912,1946,2098,1960,2192,2288,1890,1839,1690,1663,1833,2087,2212,2647,2707,1967,2396,2991,3087,2249,1713,1970,2407,2762,3075,3396,2599,1776,1726,1958,1843,1632,1626,1534,1571,1854,1921,1752,2123,2217,1670,1633,1775,2361,2806,2728,2618,2842,2946,2729,2867,2966,2473,2331,2204,1918,2311,2491,2585,2437,2675,3051,2868,2730,2591,2642,2688,2714,2823,2769,2686,3146,2768,2365,2596,2813,2658,2302,2172,2592,2369,2280,2554,2342,1957,2230,2142,2321,2829,3423,3315,2957,2983,3044,3238,2836,2747,2862,2147,1542,1976,2228,2484,2546,2192,1749,1795,2098,2242,2519,2255,1902,1670,1781,2228,2264,2337,2747,2935,3064,3194,3087,2749,2518,2347,1904,2217,2462,2366,1831,1790,1883,2356,2776,2894,3109,3117,3422,3850,3420,2683,2877,3172,2698,2374,2521,2658,2357,2126,2093,1551,1727,2744,2593,2460,2832,3250,3704,3494,3082,2929,2830,2791,2898,3060,3176,3126,3252,4252,4014,3405,3293,3331,3426,3489,2696,1986,2653,2989,2360,1677,1769,1842,2143,2401,2534,2634,2466,2407,2464,2431,2148,1909,1778,1649,1659,1634,1514,1503,1998,2245,2117,2342,2298,2071,1942,1807,1997,1811,1942,2343,2218,2117,1803,1778,1676,1741,1741,1803,1946,1897,1736,1671,1896,1771,1774,1861,1889,1854,1982,1943,2387,2499,1830,1881,1690,1938,2523,2493,2182,1671,1699,2097,2070,1691,1573,1649,1770,1887,2243,2670,2810,2719,2775,2859,2267,2013,2336,2286,2208,1873,1920,2902,3064,2316,1847,1424,1636,1880,2292,2430,1956,1841,2151,1899,1616,1845,2366,2512,1889,2078,2324,2917,3422,2600,2127,2201,2332,2477,2355,1661,2146,2459,2890,2636,1836,1959,1917,2113,2216,2348,2327,1819,2183,2817,2244,1889,1506,1548,1459,1527,1588,1766,1891,2249,2955,3212,2603,1930,1752,2241,2719,2057,1824,2504,2713,2490,2618,2639,2730,3094,2764,1932,1759,2334,3399,3124,2723,2825,1939,1987,2445,2511,2126,1471,1418,1629,2137,2348,2922,2740,2141,2454,2587,2489,2103,1791,1631,1677,1883,1759,1576,1777,1980,2137,1967,2111,1664,1781,1990,2048,1800,1521,1557,1814,1895,1831,1908,2184,2610,2477,1932,1779,2271,2272,1914,1825,1942,2238,2276,2302,2060,2331,2385,2458,2108,1668,1647,1584,1908,2231,2055,2107,1814,1824,2220,2546,2317,2376,2083,1744,1436,1176,1324,1642,2308,2093,1901,2186,2085,2092,1919,2232,2733,2591,2271,2496,2518,2099,2018,2257,2688,2893,2120,1553,2248,2192,2036,1651,1762,2392,2295,1863,1871,1914,2099,1685,1809,2302,2199,1685,1968,2304,2498,2202,1850,1704,1456,766,618,761,1114,1737,2207,2680,2432,2023,1852,2007,2084,1625,1594,1845,2300,2147,1731,1836,1819,1748,1930,2317,2787,2696,2264,2159,2750,3408,3497,3601,3570,3150,2927,2695,2852,2871,3007,3646,3703,3031,2429,2175,2370,2473,3068,3096,2922,2744,2760,2712,2796,2714,2024,2334,3177,2547,2375,3097,3354,3020,2566,2331,2320,2553,3018,2784,1749,1195,1414,1876,2452,2844,2711,2615,2230,1510,1446,2391,3076,2832,2974,3450,3708,3928,3642,3273,3396,3709,3816,4181,4256,4100,3378,2446,2357,2395,2056,2198,3074,3671,3407,3144,3252,2971,3160,3628,3867,3867,3210,2989,3136,2250,1954,2123,2128,2061,1804,1527,1762,1985,1860,1932,2078,1889,1817,1802,1677,1831,1795,2091,2387,2478,2166,2065,2924,3934,3970,3329,2613,2468,2243,2025,1964,2059,1987,1749,2324,2496,2153,2208,2197,2237,2360,2539,2736,2553,2503,2579,2080,1975,2466,2746,2697,2434,2441,2387,1971,1795,1796,1926,2482,2383,1962,1886,2297,2333,2270,2169,1157,734,902,979,1090,1475,1944,2280,2190,2294,2439,2695,3274,3529,3414,3036,2961,2745,2288,2082,2031,1955,2084,1856,1760,1742,1681,1816,1735,1633,1936,1945,2222,2587,2482,2195,2460,2513,2620,2480,2280,2367,2152,1411,1749,2362,2232,2400,2674,2316,1710,1374,1242,1216,1404,2372,2583,1372,1216,2019,2532,2822,3065,3061,2262,1559,2081,2555,2326,2159,2418,2438,2019,1322,1252,1161,1129,1296,1763,1637,915,1272,1466,1534,1494,1382,1549,1859,1875,1642,1666,1676,2209,2692,2610,1833,1666,1662,1647,1599,1520,1543,1576,1668,1577,1496,1040,984,1328,1583,1553,1866,1822,1621,1834,2121,1997,1196,1353,1634,1651,1749,1955,1909,2163,2280,1848,1950,1730,1328,1852,2928,3013,3103,3348,3319,3428,3151,2941,2647,2519,2885,2886,2194,2469,3165,2956,2169,2621,3266,2702,2718,3465,3030,2747,2614,2448,2463,1935,1473,1776,2110,1854,2395,2736,1563,1170,1293,1882,2529,2509,2313,2056,1813,1763,1795,1913,1760,1623,1914,2032,2271,2393,2809,3384,3729,3146,1891,1643,1733,2410,2728,2534,2676,2634,2752,2752,2348,1863,1850,2002,2508,3139,2939,2354,2003,2088,2455,2778,3017,3050,3082,3471,3827,3852,3734,3701,3672,3499,2420,2747,2623,2212,3162,3141,2135,2256,2813,2818,2920,2800,2494,2850,3000,2320,2675,2899,2423,2498,2514,2808,3945,4399,3112,1764,1796,2060,2012,1920,1589,1334,1323,1400,1367,1265,1237,1306,1413,1402,1417,1527,1408,1338,1359,1417,1364,1563,2430,2841,2497,1957,1612,1589,1491,1675,1902,1656,1773,2158,1941,1745,1455,1454,1874,1880,1597,1683,1557,1405,1466,1518,1470,1566,1541,1567,1327,1132,1207,1331,1247,1290,1316,1366,1455,1361,1361,1347,1350,1429,1390,1306,1306,1400,1503,1711,1739,1808,1456,1505,1443,1866,1679,1429,1379,1343,1394,1439,1409,1616,1639,1592,1662,1650,1669,1632,1621,1644,1726,1760,1763,2114,1924,2094,2262,2398,2249,1636,1287,1652,2410,2359,1743,1504,1452,1592,1757,1821,1464,1719,1579,1421,1618,1881,2261,2669,2107,1484,1599,1567,1642,1792,1806,1766,1525,1830,1746,1599,1623,1832,1658,1469,1605,1545,1453,1526,1805,2078,2532,2692,2522,1805,1455,1428,1572,1845,1656,1679,1992,2299,2133,1738,1417,1302,1975,2370,2640,3141,3108,2909,3333,3588,3388,3728,3936,3792,3982,4025,3563,2427,1709,2232,2831,2585,2541,2338,1992,2286,2382,2125,2046,2235,2368,2085,1901,1844,1544,1594,2058,3337,3731,3780,3704,3771,3106,1677,1912,2500,2187,2347,2146,2124,2540,2685,3651,3397,2833,2156,1885,2311,2014,1738,2254,2240,2105,1924,1759,2089,2365,2178,2162,1971,1975,1943,1924,2425,2337,2013,2103,1966,1985,1902,1771,1877,1763,1908,1989,2108,2496,2524,2201,2220,2464,2288,2076,2300,2188,2781,2331,2728,3033,2899,2720,2288,1823,1882,1650,1560,1505,1829,2150,2111,2081,1568,1474,1830,2014,1794,1710,1876,1808,1474,1926,2264,1826,2096,2483,2186,1870,1864,2027,2224,2269,1976,1621,2109,2390,2225,1917,2156,2077,2238,1971,1643,1952,2045,1653,1903,2423,2809,3046,3321,2898,1953,1722,2464,3221,3558,3119,2086,1877,1857,1573,1863,1809,1892,1873,2667,3120,3123,2936,3062,2995,2651,2415,2590,2398,1888,1709,1986,2070,1814,1717,1571,1496,1489,1847,1897,1828,1832,1655,1492,1593,1726,1624,1737,2058,2024,1820,1736,1745,1778,1789,1896,1964,1757,2066,1956,1780,1720,1609,1622,1986,2237,2442,2480,2342,2198,2302,2397,2317,2071,1848,1854,1976,2088,1754,1564,1751,2088,2041,1653,1917,2075,1842,1951,2379,2236,1740,1949,2214,1875,2163,2644,2430,2084,2172,2018,1582,1728,1783,1646,1370,2177,2404,2263,2480,2332,2242,2338,2244,1823,1722,1803,1695,1908,1950,1634,2001,2476,2986,2756,2259,2058,1783,1512,1426,1874,2330,1981,1864,2090,1826,1636,1758,1807,2085,2719,2359,1969,1845,1782,1892,1870,1728,1636,1812,1727,1637,1584,1627,1909,1784,1548,2010,1809,1962,1893,1893,1744,1740,1578,1518,1659,1775,1719,1741,1485,1376,1561,1438,1438,1404,1497,1714,1800,1913,2324,2575,2190,1946,2129,2034,2089,2362,2724,2644,2476,2324,2259,2192,2453,2998,3059,2839,2652,2418,2142,2289,2721,2842,3252,3482,3904,3984,3060,2506,2562,2798,3172,3262,3437,3560,3501,3353,3332,2889,2396],[2895,2989,3116,3023,3085,3630,3573,3119,2210,2588,2245,2374,2187,2240,3155,3505,3384,3540,3506,3399,3518,3000,2254,2580,2499,2525,2712,2431,2341,2358,2198,2519,2416,1803,1659,1669,1676,1743,2614,3365,3872,4065,4046,3945,3811,3513,3564,3703,3316,3131,3396,3488,3169,2542,2200,1872,1817,1864,1630,2374,3092,2809,2398,2732,3055,2691,2325,2082,2054,2190,2142,2376,3056,3566,3352,2521,2530,2377,2374,2600,2353,1935,2056,2116,1940,1864,2421,3241,2988,2269,2310,2364,1970,2532,2190,2017,2788,3061,2778,2575,2192,1754,1780,1851,1847,1719,1729,2111,1994,2024,1684,1663,1811,1903,2084,2621,2788,2542,2428,2314,2038,1960,1652,2113,2423,1881,1606,2221,2264,1864,2611,2873,2764,2611,2122,3053,3471,3844,3626,2937,2707,2687,2618,2590,2366,2110,2586,2686,2521,2431,2678,2624,3162,3672,2973,2199,2423,2482,1867,1997,2286,1559,1798,3399,3704,2948,2555,2503,2322,2534,2974,2980,2458,2340,2442,2887,2667,2215,2778,3176,3034,3198,3223,3417,3654,3519,2897,2954,2998,2754,2259,1579,1316,1604,1882,1877,1980,2442,2480,2225,2475,2690,2673,3131,3713,3961,3837,3813,4192,3654,3228,3426,3858,3786,3516,3418,2990,2892,2880,2961,2875,2164,1846,1710,1780,1835,1677,1628,1753,1901,2431,3484,3706,3736,3726,3789,3936,4013,4151,4169,3906,3420,2884,2420,2428,2918,2972,3028,2767,2583,2637,2666,2618,2399,2269,2662,2404,1781,2015,2653,2576,2179,2903,2968,2669,2227,2126,1873,1677,1748,2579,2996,2309,2016,1578,2010,2321,2438,2120,2013,2120,2148,2428,2453,1890,1763,2004,2019,1555,1608,1727,1926,1937,2201,2220,2391,2216,1764,1986,2289,1881,1686,1504,1509,1450,1766,1939,1667,1744,2070,1959,1957,1996,1759,2088,1931,1718,1699,1866,1725,2128,2061,2242,2776,3092,3408,2797,1971,2086,2367,2484,2767,3152,2201,1648,1750,1700,1699,1735,1655,1604,1861,1971,1930,1616,1955,1794,1736,2009,2345,2611,2894,2919,2886,2973,2887,2819,2932,2758,1969,1701,1613,1564,1843,1935,2443,2584,2418,2489,2687,2813,2543,2505,2533,2729,2432,2275,2945,3096,2502,2570,2701,2925,2676,2103,2327,2244,2211,2239,2177,2238,2724,2809,2698,2623,2778,3464,3416,2835,2918,2599,2408,1819,1968,2599,1998,1864,2342,2419,2362,2140,1851,2108,2375,1995,2187,2408,2321,2226,2053,1803,1737,2076,2735,2813,2530,2546,3184,3610,3426,2858,2355,2325,2698,2357,2109,2029,1809,1802,2257,2777,2992,2894,3292,3794,3921,3208,2810,3374,3618,3265,3041,2740,2257,2438,2419,2323,1997,2425,2764,2246,2507,2466,2668,3332,3407,3150,3019,3033,3143,3175,3112,3242,3195,3704,4401,3905,3435,3183,3099,3223,2844,2056,1851,2928,2923,2248,2056,1918,1745,1865,1985,2018,2010,1760,1707,1755,1787,1616,1411,1588,1510,1659,1735,1948,2042,2008,1927,2027,2401,2236,1982,1864,1705,1967,1863,1674,2136,2439,2288,1887,1828,1706,1688,1748,1804,1665,1779,1582,1722,1609,1857,2299,2025,1871,1982,1816,1866,1938,1802,1759,2047,1987,2211,2237,2219,2242,1803,1606,1660,1538,1531,1492,1881,2127,2603,2420,1754,1698,2442,2640,2341,2049,2447,2646,2567,2548,2288,2494,2596,2526,2562,2269,1841,1773,2017,2520,2566,1896,1622,1777,1736,1594,2236,2855,2399,1619,1733,1784,1873,2186,2129,2149,2458,2722,2415,2241,2366,2805,2466,2555,2399,1690,1539,1596,1830,2248,2331,1813,1698,2548,3142,2493,1848,1511,1488,1583,1472,1483,1625,1743,2096,2806,3023,2421,1987,1974,1964,2036,1826,1762,2098,2024,1950,2271,2269,2398,2886,2629,1806,1794,2336,2670,2304,1895,2334,2166,1956,2595,2774,2212,1448,1516,1587,2002,2313,2790,2452,2340,2822,3106,3039,2521,1958,1480,1484,1967,2069,1980,2473,2477,1807,1628,2172,2065,1981,2456,2464,1847,1588,1649,1723,1826,2002,2047,1852,1801,1585,1468,1810,2059,1771,1958,1495,1543,1814,2055,2229,1934,1866,2145,2339,1708,1306,1331,1438,1747,1832,1652,2080,2232,2448,2578,2350,2131,2014,1841,1805,1485,1330,1445,1747,2398,2135,1816,1793,1779,1820,1802,2180,2409,2277,2204,2336,2215,1581,1536,1732,2023,2182,1677,1466,1737,2031,2192,2079,2356,2636,2402,2272,2316,1917,2049,1643,1772,2210,2126,1768,1832,2398,2496,2130,1707,1512,1560,954,1429,2034,1910,1923,1969,2045,1917,1799,1995,2294,1550,1443,1572,1634,2155,2077,1887,1664,1862,1978,2170,2740,3163,3156,2530,2718,3187,3370,3492,2877,3318,3226,2956,2592,2580,2669,2517,2427,1905,1812,1732,1837,2079,2426,2962,3240,3251,3198,3135,2898,2553,1884,1262,1922,2545,2330,3345,4476,3742,2810,2622,2498,2567,2773,3116,3222,2356,1249,1457,1632,1933,1983,2554,2638,1965,1297,1473,2680,3822,4028,3956,3979,3911,3939,3936,3913,3552,3828,4252,3806,3016,2802,2386,2297,2897,3041,2913,3283,3683,3914,3890,3315,3432,2997,2519,2856,2856,3128,3773,3607,2688,2115,2454,2648,2109,2251,2067,2046,1736,1539,1870,1815,1593,1998,1820,1531,1693,2041,1143,937,1342,1862,2194,1776,2270,3444,3586,2749,2179,2574,2861,2371,1946,1836,2108,1506,1168,1360,1745,1925,1704,1877,1951,2169,2155,1989,2049,2039,1961,2003,2083,2007,1993,2386,2605,2841,2744,2705,2597,2134,2602,2131,1562,2358,3052,2199,2139,2213,1281,1116,1184,1175,1087,1126,1477,2113,2753,3341,2645,2381,2696,2709,2050,1727,1702,1381,1534,1508,1654,1941,1681,1679,2122,2576,3066,3234,2455,1780,1702,1375,1826,3131,3338,2503,2348,2392,2404,2351,2222,2621,2375,1575,2122,2122,2237,2327,2327,2209,1987,1590,1147,1375,1806,2426,2526,1261,1337,1990,2643,2999,3151,2898,2124,1839,2026,2184,1964,1961,2288,2048,1728,1124,1052,1263,1319,1332,1846,1773,1053,1026,1362,1319,1258,1489,1714,2158,1908,1499,1528,1618,1692,1699,1582,1433,1339,1459,1783,1815,1647,1466,1299,1271,1183,1259,1171,1166,1348,1506,1593,1732,1670,1466,1562,1486,1521,1156,1439,1668,1504,1513,2352,2626,2456,2445,1886,1868,1497,1555,2022,2585,2632,2885,3414,3330,3416,3098,2964,2966,2720,2755,2408,2149,2855,2967,2865,2090,2498,3152,3132,3127,3419,3373,2975,2780,2919,2803,2173,1538,1828,1975,1767,2390,1991,1198,1259,1327,1896,2191,2223,2639,2790,2424,2015,1902,2015,2112,2011,1919,1859,1998,2230,2371,2775,2920,2190,1526,1512,1669,2524,2757,2502,2495,2722,2944,2257,1788,1781,2025,2182,2593,2933,2810,2408,2119,1915,1947,2229,2858,3285,2919,2996,3356,3564,3727,3957,4244,4112,2726,2679,3039,2470,3000,3472,2136,1903,2643,2277,2298,2236,1953,2354,2729,2828,3012,2933,2741,2355,2139,2201,3261,3928,3218,2299,2005,1855,1798,1923,1786,1519,1437,1388,1390,1356,1369,1462,1411,1386,1763,2244,1992,1502,1311,1311,1324,1813,2842,3132,3063,2666,1936,1625,1452,1602,1924,1782,1635,1610,1720,1749,1615,1494,1464,1426,1570,1572,1443,1490,1626,1527,1531,1550,1499,1470,1380,1215,1296,1448,1422,1351,1317,1227,1288,1287,1275,1437,1571,1346,1244,1197,1403,1600,1465,1721,1670,1676,1581,1467,1353,1483,1440,1375,1267,1364,1347,1411,1693,2544,2194,1819,1613,1622,1546,1503,1517,1476,1556,1732,1892,1971,1678,2013,2199,2365,2044,1577,1553,1676,1811,1851,1487,1358,1724,1766,1581,1657,1640,1876,1781,1537,1465,1672,2115,2285,2139,1692,1569,1384,1318,1578,1806,1788,1654,1655,1730,1489,1565,2183,1714,1294,1567,1778,1468,1477,1627,1893,2047,2630,2731,2000,1593,1436,1754,2131,1982,2325,2203,1710,1523,2068,2102,1973,2787,3131,3406,3494,2399,1642,2718,3796,3422,3692,3826,3470,3372,3476,2900,2198,2055,2148,2507,2743,2749,2680,2206,2372,2495,2142,2130,2100,1776,1945,2189,2232,1815,1704,2184,3338,3952,4320,3736,3993,3313,2271,3031,3108,2300,2220,1664,1831,2426,2525,2879,2499,2374,2171,1756,2186,2022,2014,2918,3321,2799,2595,2444,2430,2471,2344,2106,1766,1906,2087,2080,2358,2352,2109,2475,2217,2186,2106,1868,2048,2099,2040,1977,1913,1787,1641,1984,2513,2665,2395,2413,2338,2072,2618,2908,2987,3111,3287,3052,2161,1744,1829,1582,1510,1533,1683,2188,2119,2016,2136,2147,2039,1983,2008,1694,1930,1713,1510,1391,1854,1907,2218,2234,1888,1837,2072,2353,2314,2235,1889,1735,1950,2315,1596,1267,1891,2013,2132,2074,1952,2216,1982,1673,2165,2308,2210,2423,2801,2893,2076,1693,1960,2634,3051,2231,1782,1874,1631,1686,1877,1783,1830,1634,1838,2373,2460,2533,2964,3070,2696,2670,3116,3022,2488,1657,1540,1560,1759,1811,1767,1657,1919,2037,1887,1778,1811,1850,1661,1830,1830,1653,1702,1777,1697,1590,1719,1720,1472,1595,2142,2048,1950,1814,1671,1605,1733,1623,1709,2088,2391,2261,2233,2443,2387,2112,2230,1953,1993,2009,1954,1953,2074,1910,1985,2347,2136,1905,1751,1719,1923,1866,1851,2348,2264,1747,2419,2835,2379,2729,2596,2103,1803,2036,2200,1831,1689,1885,2140,2504,2916,2455,2060,2471,2276,1996,1921,1737,1687,1650,1603,1854,2488,2332,2168,2686,3205,2997,2041,1685,1924,1871,1623,1616,1659,1749,1625,1899,1930,1559,1558,1836,1940,2311,2201,1613,1653,1990,2208,2291,2055,1664,1588,1603,1587,1613,1556,1634,1744,1560,1680,2092,1817,1666,1683,1808,1933,1867,1551,1463,1620,1722,1500,1584,1425,1411,1542,1526,1439,1356,1462,1644,1947,2364,2353,2213,1909,1872,2191,1970,1889,2307,2654,2664,2292,2005,2177,2425,2553,3250,3240,2284,2454,2620,2336,2469,3012,2963,3200,3594,4036,4027,3463,2809,2642,3009,3572,3558,2980,2856,3334,3332,3090,2733,2755],[2982,3195,3281,3034,3211,3488,3108,2721,2298,2210,2015,2240,2244,2329,3142,3119,3179,2956,3050,3195,3608,3130,2696,2928,2236,1966,2354,2508,2420,2220,1904,2083,1937,1577,1570,1619,1670,1948,2668,3417,3927,4004,3780,3516,3530,3666,3732,3541,3209,3217,3387,3083,2450,2117,1852,1789,1830,1528,1692,2481,2423,2642,2376,2911,3692,3585,2533,1834,2049,2344,2500,2596,2295,2388,2106,1798,2402,2357,3046,3817,3582,3156,2648,2045,1759,1680,1830,2080,2140,1970,1976,2049,2411,2380,1972,1829,2061,2248,2273,2209,2132,1924,2546,2458,2358,2443,2386,2573,2342,1837,1498,1571,1696,1876,2407,3239,2743,2523,2382,2069,2545,2382,2122,2541,2386,2164,2308,2408,2359,2171,2519,2541,2901,2845,2186,3373,4516,4336,3001,2119,2055,2041,2459,2580,2009,2230,2625,2526,2475,2607,2922,2928,3099,3318,2820,2476,2943,2800,2128,2242,2171,1631,1896,2612,2894,2483,2441,2325,1967,2171,2828,3046,2436,2485,2810,2890,2667,1979,2462,2759,2724,3018,2701,2652,3272,3230,2838,3204,2524,2238,2168,1687,1699,2325,2418,1946,1812,2227,2459,2576,2522,2942,2902,3378,3500,3231,3144,3524,4061,4034,3386,3315,3993,3812,3124,2797,2381,2262,2326,2559,2486,1981,1219,1103,1879,2162,2120,2088,2092,2124,2698,3401,3714,3735,3608,3498,3515,3707,3940,3997,3860,3318,2728,2047,2347,2689,2750,2612,2383,2393,2674,2722,2871,3408,3353,2975,1951,1433,1813,2547,2801,2846,3580,3374,2633,2163,1865,1662,1629,1757,2076,2111,2090,1730,1604,2302,2204,2168,2121,2083,2108,2051,2136,2209,1773,1766,1902,1876,1710,1753,1674,2016,2206,2039,2275,2586,2172,1736,1809,1886,1814,1764,1699,1547,1491,1571,1572,1598,1931,2171,1824,1844,1778,1687,2338,2490,2315,1955,1621,1798,2260,2238,2437,2961,3110,3138,3232,2563,2409,2307,2058,2235,2485,2090,1730,1594,1442,1621,1635,1670,1846,2358,2029,1600,1694,1834,1790,1744,2058,2488,2776,2971,2713,2927,3100,2634,2714,2944,3043,2564,2076,1848,1773,1712,2029,2569,2322,2247,2375,3000,3346,2834,2207,2211,2493,2231,2282,2704,2395,2350,2835,2907,2886,2481,2288,2300,2206,2024,2120,2109,2598,3267,2886,2448,2260,2683,3394,3542,3443,3292,2441,2321,2404,2656,2326,1984,2482,2459,1913,1744,1978,2081,2522,2696,2424,2781,2866,2413,2110,2161,2094,1925,2138,2521,2344,1812,2132,2994,3106,3182,3156,3122,2730,2386,2509,2689,2842,2399,1930,2565,3584,3282,2916,2996,3182,3243,3038,3175,3428,3219,3149,3089,2856,2675,2744,2519,2585,2646,2485,2221,2198,2238,2342,2845,3134,3184,3168,3033,3278,3356,3431,3450,3574,3725,4145,4349,3838,3329,3162,2996,3163,2502,2048,1890,2379,2150,1872,1954,1790,1665,1730,1694,1607,1537,1558,1671,1534,1584,1511,1428,1555,1625,1766,1888,2078,2011,2072,2093,1892,2693,2430,1935,1715,1907,2587,2555,2326,2003,2048,2083,1981,2049,2047,2000,1561,1472,1489,1677,1844,1727,1480,1743,2228,2153,1797,1898,1677,1737,1964,2281,2360,2057,2062,1902,1717,1890,2036,2066,1876,1726,1662,1620,1514,2064,2054,2984,2862,1887,1647,2117,2472,2545,2535,2499,2498,2621,2447,3073,2950,2358,2526,2427,2192,2018,1991,2201,2075,1975,2097,1744,1666,1621,1695,2418,2164,1770,1895,2221,2047,1647,1660,1942,2150,2079,2160,2093,2338,2531,2305,2721,2742,2080,1340,923,843,1196,1919,1837,1734,1681,2590,2640,2036,1730,1632,1615,1642,1557,1416,1621,1970,2163,2698,2893,2463,2094,2071,1670,1577,1613,1614,1995,2054,1911,2272,2264,2266,2818,2632,1853,1750,2489,2666,2557,2498,2718,2504,2114,2894,2885,2512,2222,2190,2094,2376,2590,2553,2706,3227,3451,3518,3282,2912,2112,1547,1691,2274,2535,2196,2411,2710,2135,1985,2622,2592,2023,2328,2188,1720,1683,1454,1481,1542,1847,1873,1801,1608,1394,1446,2096,2791,2230,1693,1392,1590,1557,1821,2187,1880,1398,1614,1720,1464,1377,1328,1337,1527,1671,1996,2228,2714,3322,3430,2888,2120,2014,2512,2094,1529,1564,1758,1693,1771,1465,1454,1861,1801,1703,2101,1993,2001,2009,2194,2453,2258,1769,1537,1779,2030,1899,1510,1498,1688,1789,1860,1973,2181,2339,2128,1888,2192,2178,1773,1389,1593,1794,1693,1417,1561,2099,2062,1818,1470,1513,1642,1524,2082,2526,2560,2244,1884,1613,1427,1864,2463,2040,1468,1473,1565,1425,1839,2340,1814,1562,2402,2578,2193,2540,2722,3022,3211,3266,3684,3606,3803,3133,3042,3053,2925,2890,2878,2743,2235,1593,1543,2329,2162,2216,2586,2806,2888,3162,3528,3575,3348,2734,1918,1359,1367,1514,1319,1587,3292,4064,3340,2920,3072,3119,2920,2536,2780,3099,2856,1558,1334,1499,1935,1821,2182,1779,1226,1395,2070,3047,3836,4067,3913,3859,4027,4144,4148,4028,2977,2706,3157,2584,1655,2023,2420,2736,2798,3226,3693,3982,3919,3988,3779,3148,3296,3207,2908,2829,2851,3070,3758,3632,2872,2705,2807,2225,2021,2241,2299,2320,1893,1722,2677,3109,1992,1502,1418,1406,2182,2519,1396,635,680,1134,1820,2062,2155,2353,2354,1898,1862,2185,2264,1843,1549,1913,2093,1619,1641,2012,2038,1984,1796,2142,2032,2343,2270,2192,2214,2039,2020,2125,2178,2009,1914,2030,1962,2347,2590,2608,2800,2841,2928,2203,1800,2419,2728,2331,2390,2084,1427,1251,1024,987,1102,1114,1252,1667,2470,3143,2908,2143,1823,1714,1225,1723,2336,2236,2178,2322,2341,2043,1601,1681,2287,2883,3542,3694,2864,2116,1416,1149,2004,2929,3178,2563,2326,2293,2056,1708,1815,2316,1838,1688,2194,2037,2302,2861,2451,2090,2237,2009,1736,2032,2216,2319,2065,1705,2182,2740,2944,2993,2773,2357,1839,1494,1641,2144,2367,2439,2230,1720,1542,1510,1528,1628,1410,1300,1700,1782,1254,1228,1462,1445,1399,1874,1864,1472,932,683,849,1169,1442,1688,1742,1573,1528,1707,2068,1885,1659,1602,1367,1293,1365,1539,1590,1257,1188,1417,1505,1651,1473,1367,1404,1327,1503,1368,1438,1522,1300,1410,2316,2292,1866,2090,1989,1897,1406,1606,2220,2611,2733,3218,3370,2980,2562,2680,3264,3340,2957,2569,2226,2372,2706,2761,2786,2239,2668,3383,3325,3383,3564,3504,3064,2629,2643,2771,2201,1533,1839,1996,1802,2066,1696,1088,1196,1372,2198,2558,2597,2863,2919,2919,2674,2302,2115,2280,2430,2287,2226,1995,1919,2033,2253,2450,1929,1737,1772,1821,2460,2651,2377,2380,2661,2523,2214,2132,2077,2181,2699,2524,2590,2852,2574,1995,1776,1869,2270,2843,3326,2899,2405,3216,4082,4453,4684,4632,4505,3491,2728,2752,2374,2730,3475,2403,2052,2056,1802,1852,1760,1749,2136,2336,2481,2568,2533,2214,2056,2455,2166,2653,3398,2787,1854,1538,1418,1477,1668,1838,1781,1505,1376,1405,1306,1398,1428,1317,1377,1562,1672,1567,1388,1308,1320,1470,2348,2964,3190,3274,3388,2824,2144,1591,1642,1829,1781,1637,1362,1402,1631,1693,1568,1413,1450,1460,1429,1454,1637,1649,1612,1796,2004,2127,1832,1668,1662,1545,1500,1636,1421,1317,1449,1508,1440,1315,1388,1623,1378,1254,1424,1460,1562,1443,1549,1518,1761,1763,1449,1412,1423,1365,1326,1293,1266,1379,1318,1505,1915,2142,1992,1781,1730,1759,1734,1281,1199,1434,1490,1783,1766,1520,1990,2866,3042,2461,1904,1856,1820,1971,2000,1621,1544,2174,2094,1904,1946,1967,1748,1522,1353,1363,1601,2001,2139,2488,1788,1638,1763,1693,1683,1661,1764,1730,1526,1526,1522,2112,2526,1953,1633,1644,1745,1567,1426,1453,1576,1497,1706,1897,1824,1549,1665,1857,2001,1841,2096,1570,1197,1952,3244,3564,3096,3541,3054,2909,2851,2233,2331,3084,3335,3068,3154,2930,2504,2716,3517,3595,3002,2204,2008,2413,2867,3027,3174,2520,2852,2987,2166,2352,2175,2223,2418,2374,2404,2285,2001,2911,3701,3867,3450,3232,3261,2705,2626,3479,3025,2191,1999,1769,2120,2397,2372,2455,2326,2473,2334,2185,2719,2383,2934,3574,3320,2853,3296,3316,2796,2524,2495,2342,1716,2001,2149,2077,1759,2038,1906,2110,2346,2222,2099,2094,2142,2147,1990,2026,2239,2127,2003,2460,2629,2762,2851,2719,2590,2490,2490,2728,2715,3201,3395,2719,1860,1953,1882,1642,1573,1930,2334,2314,1990,1861,1990,1875,1872,2092,2118,1685,1601,1547,1565,1497,2038,2255,2026,1747,2160,2501,2210,2050,2116,1677,1802,2060,1966,1851,1090,1269,2024,2175,2089,2009,2209,2912,2758,2368,2549,2324,2368,2998,2808,2493,2266,2501,2580,2231,2276,2181,1791,1986,1758,1748,1784,2281,2172,1698,1849,2416,2491,2415,2508,2792,2502,2995,2987,2897,2154,1563,1453,1561,1936,2275,2082,2127,2596,2327,1856,1808,2080,1923,1659,1832,1998,2161,2044,1676,1570,1676,1643,1593,1784,1964,2010,1844,1679,1559,1598,1727,1876,1996,2035,2245,1981,1990,1944,2194,2008,1875,2044,2010,1930,1897,1849,1806,1918,1897,1884,1880,1895,1713,1614,1797,2192,1914,1581,2006,2084,1697,2208,2708,2241,2282,2103,2140,2008,1788,2000,2099,1886,1953,2442,2784,2831,2535,2184,2287,2100,1726,1714,1933,2126,1747,1626,1958,2426,2437,2584,3082,3253,3068,2658,1820,1686,1717,1714,1968,1824,1719,1700,1646,1708,1705,1676,1742,1713,1982,1727,1511,1543,1876,2104,2494,2300,1844,1858,1715,1740,1857,1711,1561,1545,1440,1522,1632,1504,1555,1896,1839,1825,1753,1421,1488,1461,1549,1534,1643,1576,1554,1651,1631,1582,1677,1757,1737,1734,2425,2452,2027,1667,2269,2504,2113,2094,2658,2880,2602,2509,2104,2612,3021,2696,2820,3006,2812,2976,2951,2367,2596,2931,2600,2933,3374,3340,3304,3322,2833,2903,3430,3752,3498,3012,3083,3166,3481,3609,3202,2974],[3039,2993,2940,2931,3011,2973,2465,2157,2274,2251,2104,2174,2183,2062,2700,2623,2675,3365,3572,3311,3194,2450,2089,2135,1695,1784,2432,2846,2700,2252,1819,1963,2177,2026,2019,1923,1907,2272,2933,3349,3816,3676,3416,3355,3464,3658,3586,3173,3090,3100,2865,2385,1990,1825,1883,1946,1692,1470,2260,2644,2062,1876,2110,2376,3097,3198,2415,2427,2298,2149,2697,2556,2293,2178,1787,2014,2339,2874,3699,4053,4204,4221,3753,2622,1880,2260,2340,2311,2358,2511,2258,1924,1954,1838,1744,2178,2526,2740,2920,2843,2873,2497,3084,3001,2988,2818,2630,2612,2512,1977,1686,1665,1729,1974,2257,2751,3117,2978,2619,2830,3296,3140,2900,3042,3189,3634,3715,3051,2589,2274,2176,2385,2801,2756,2535,3619,4680,4220,3186,2558,2192,2098,2591,2236,1969,2164,2425,2459,2416,2621,2894,3011,3060,3015,2839,2749,3204,3233,2102,1819,1712,1671,1763,1748,2032,2425,2601,2163,2007,2529,2856,2562,2402,2702,3116,2729,2873,2259,2073,2269,2364,2272,2139,2908,3396,3405,3790,3949,3360,3068,2680,2051,2099,2477,2564,2252,1746,2665,2933,3077,2370,3118,3032,3100,3007,2702,2981,3564,3985,3892,3061,3086,3444,3086,2820,2714,2519,2448,2386,2538,2339,2000,1672,1640,1998,2124,2425,2722,2754,2561,2677,3131,3685,3956,3654,3122,3189,3452,3652,3817,3887,3529,3240,2436,2532,2706,2562,2446,2531,2609,2901,3047,2981,3111,3204,3296,2397,1868,1846,2667,3398,3350,2996,2715,2397,2070,1778,1692,1766,1661,1475,1697,1898,1678,1561,1769,1866,1996,2063,2099,1920,1671,1732,1749,1676,1537,1583,1832,2061,2150,1920,1883,1885,1662,1818,2339,2153,1886,1669,1673,1692,1782,1842,1592,1616,1756,1578,1684,1818,1655,1519,1682,1853,1694,2331,2243,1897,1685,1737,1944,2047,2067,2171,2346,2316,2476,2317,2272,2114,1972,2093,2164,2104,2210,1918,1194,910,1464,1535,1560,1690,1729,1713,1497,1462,1851,2087,1923,2028,2485,3252,3133,2646,2580,2590,2608,2668,2798,3010,2766,2370,2069,2165,2402,2565,2274,1851,2113,2314,3104,3608,2855,1925,1916,2309,2263,2056,2341,2203,2351,2507,2706,2910,2187,1952,1995,2021,1872,1987,2292,2776,3167,2631,2293,2159,2477,3196,3585,3574,3130,2614,2620,2596,2322,2046,2330,2414,1892,2030,2073,2398,2547,2579,2366,2671,3030,2931,2688,2247,2087,2066,1932,1990,2049,2463,2035,2465,2611,2298,2442,3120,3270,2177,1700,1798,2077,2567,2470,1942,2045,3056,3142,3156,3163,2955,2896,3146,3156,3234,3097,2983,2904,3064,2866,2266,1968,2610,2876,2286,1989,2012,2404,3016,3498,3295,3405,3258,2930,2929,2877,2898,3216,3549,3657,3950,4233,3861,3276,3221,3156,3106,2347,1855,1663,1703,1603,1729,1636,1460,1413,1468,1546,1557,1502,1643,1597,1468,1548,1535,1621,1573,1752,2015,1885,1997,1876,2140,2293,1978,2564,2867,2494,1956,2164,2580,2459,2165,1902,1764,1954,1870,1967,2117,1902,1477,1561,1584,1758,1982,1599,1366,1627,1738,1836,1774,1764,1773,2154,2106,2238,2288,2031,1911,1858,1941,1796,1714,1621,1622,2013,1974,1647,1526,1544,1708,2397,3003,2720,2132,2434,2455,2285,2371,2053,2462,2701,2428,2819,2695,2532,2577,2091,1762,1805,1794,1930,1680,1680,2218,1971,1846,2029,2954,3177,2175,2037,2086,1757,1694,1714,1586,1763,1798,2219,1882,1991,3029,3061,2566,2989,2812,1943,1113,954,851,1104,1961,2277,2277,2101,2834,2768,2157,1712,1605,1578,1659,1678,1491,1679,1851,1735,2151,2193,2607,2293,1748,1648,1554,1635,1598,1872,1999,2050,2080,1980,2206,2851,2678,1915,1754,2427,2752,2674,2828,2843,2721,2191,2641,3209,2787,2727,2563,2231,2295,2607,2894,3333,3631,3474,3120,2407,2447,2302,1951,1935,2531,2803,2149,1890,2135,2481,2612,2503,2267,1938,1779,1659,1560,1790,1897,1783,1714,1607,1801,2011,1566,1404,1411,1708,2331,2237,1599,1484,1576,1518,1587,1620,1332,1249,1443,1466,1460,1412,1364,1298,1297,1400,1881,2133,2220,2719,3350,2886,1698,1675,2203,1793,1685,1759,1771,1684,1591,1262,1528,2082,1930,1865,2482,2424,1858,1721,1880,2114,1976,1752,1692,2005,2147,1820,1467,1448,1709,1596,1515,1763,1892,2079,1941,1954,2324,2232,1731,1651,1435,1309,1532,1526,1617,1850,1899,1569,1507,1524,1470,1554,1711,1766,1703,1879,1952,1792,1806,2621,2920,2236,1750,1436,1527,1549,1802,1898,1559,2040,2553,2339,2300,2821,2699,2814,3151,3787,4189,4124,4212,4213,3861,3018,2792,2857,2825,2654,1960,1874,2336,2299,1763,2175,2751,3031,2900,2742,2923,2688,1975,1358,1396,1583,1299,1171,1365,1649,2555,3221,3139,3027,3085,3295,3131,2643,2790,3073,3365,2170,1489,1596,1821,1896,1571,1202,1577,2373,3276,3718,3954,4032,4128,4212,4340,4446,4376,4364,3217,1809,1895,1910,2019,2798,3108,3551,3861,4276,4374,3860,2903,2965,3277,3310,3452,3485,3541,3447,3765,3693,3836,3607,3564,3597,3375,2773,2625,2570,2330,2147,2332,2146,2288,2603,2051,1838,1410,1626,2498,2901,2000,1035,1061,1235,1434,2048,1972,1785,1908,2085,2079,2121,1979,1623,1671,2252,2076,1479,1553,1997,2072,2082,2410,2153,1826,2142,1672,1366,1840,2093,1893,2165,2211,2085,2443,2265,2121,2549,2569,2634,3039,2687,2231,2202,2393,2535,2501,2786,2857,1769,1822,1604,965,931,1067,1040,1376,1704,1827,1873,1721,1660,1803,1462,1502,2581,3110,2753,2446,2612,2268,1609,1576,1599,1761,2024,2626,2837,2442,2308,1998,1700,2223,3304,3576,2547,1937,2388,2359,2000,2346,2194,1481,1824,1622,1623,2291,2806,2534,2270,2417,2178,2082,2353,2732,2698,1818,2141,2685,3269,3398,3020,2460,2123,1662,1457,1880,2505,2518,2198,2087,1549,1351,1371,1362,1426,1344,1315,1664,1960,1562,1583,1526,1473,1469,1278,1433,1148,557,332,478,890,1818,2153,1820,1657,1791,1633,1483,1405,1554,1389,1012,1288,1577,1606,1762,1439,1162,1392,1446,1687,1326,1256,1348,1240,1280,1239,1218,1270,1244,1661,2310,1708,1636,1753,2310,2017,1448,1554,2286,2752,3056,3207,2799,2756,2226,2565,3195,3017,2424,2218,2240,2712,2933,2898,2679,2240,2905,3475,3385,3597,3752,3577,3349,2957,2713,2688,2383,1706,1890,2129,1880,2186,1927,2075,2142,2022,2724,3199,3083,2858,2876,3005,2797,2497,2283,2072,2180,2302,2519,2324,2097,2431,2198,2054,2021,2057,2111,2147,2404,2414,2230,2585,2326,1968,2391,2492,2785,2920,2525,1824,1700,2473,2801,2223,1903,2057,2718,2843,2921,3241,3364,3950,4544,4624,4708,4599,4423,3898,3134,2779,2536,2188,2574,2130,2226,2490,2711,2770,2690,2851,2918,2787,2474,2306,2292,1989,2215,2887,2681,2478,3244,2832,1763,1511,1416,1282,1081,1526,1860,1700,1507,1365,1403,1805,1650,1385,1420,1335,1384,1415,1371,1419,1400,1653,2758,3085,3405,3488,3574,3576,3146,2315,1737,1570,1633,1469,1357,1596,2030,1893,1837,1585,1381,1520,1629,1779,1798,1664,2024,1989,2205,2789,2090,1652,1610,1485,1698,1794,1475,1363,1417,1447,1460,1364,1480,1427,1425,1449,1810,1781,1523,1409,1602,2139,2256,1622,1637,1639,1533,1362,1321,1497,1462,1612,1620,1645,1747,1826,1848,2056,1887,1697,1803,1295,1249,1558,1475,1498,1766,1759,2392,3467,3291,2966,2398,1783,1838,1972,2026,1978,1968,2226,2060,1777,1918,1967,1664,1477,1449,1436,1537,1802,1928,2066,1808,2012,2172,1813,1567,1640,1635,1482,1467,1417,1544,2023,1737,1714,1567,1458,1514,1623,1674,1655,1774,1931,1749,1749,1801,1766,2011,1749,1848,2019,2119,1930,1812,2440,3370,3934,3957,3607,2926,2249,2495,2670,2880,2989,2692,2852,2817,2411,2459,3167,3759,3005,2266,2235,2353,2895,3577,3978,3686,3142,2878,2376,2135,2677,2408,2521,2500,2236,2117,2187,2166,2652,3604,4352,3869,2874,2174,1831,2192,2784,2959,2570,2280,2153,2417,2535,2441,2475,2640,2619,2418,3007,3597,3437,3045,2986,2536,2722,3427,3106,2599,2662,2517,2988,2665,2585,2135,1945,1745,1740,1648,1762,1879,1891,2143,1904,1994,2050,1881,1818,2089,2227,2581,2614,2589,2730,2907,2888,2811,2440,2302,2933,3016,3332,3165,2397,2195,2376,2233,1909,1643,1891,2192,2348,2268,2010,1786,1631,1620,1822,1710,1326,1531,1766,1525,1692,1887,1838,1679,1792,2898,3214,2211,1739,1873,1791,2084,2002,1791,1568,1507,1971,2282,2110,1754,2250,2227,2687,2852,2695,2579,2407,2862,3038,2495,2291,2611,2767,2348,1719,1785,2073,1957,2041,2068,1758,1814,2834,2790,1646,1389,2001,2754,3072,2590,2339,2392,2709,2411,2097,1649,1500,1637,1797,2136,2491,1974,1985,2172,2236,1753,2139,2398,1840,1787,2010,2010,2047,1772,1604,1587,1789,1560,1490,1554,2022,2085,1850,1656,1660,1799,2010,2172,2096,2069,2263,2064,1914,1973,1957,1784,1870,2038,2127,1955,1844,1755,1740,1773,1798,1659,1816,1677,1568,1661,1825,2083,1726,1233,1470,2092,1829,1793,2037,1805,1809,1998,2439,2499,1795,1456,1916,1918,1657,1987,2286,2429,2315,1987,1919,1995,1842,1659,1910,2228,2008,1606,1826,2026,2314,2842,3217,3581,3714,3248,2088,1559,1515,1715,2008,1794,1627,1671,1630,1769,2017,2162,1875,1670,1795,2031,1845,1855,1975,1989,2190,2049,2091,1965,1682,1551,1715,1635,1525,1534,1576,1422,1400,1348,1577,2129,1893,1870,2048,1624,1563,1592,1659,1592,1612,1688,1745,1832,1732,1744,1918,2059,1698,1534,1968,2536,2136,2337,2963,2719,2422,2333,2669,2894,2818,2717,2170,2722,2635,2604,2332,2108,2347,2327,2276,2360,2516,2983,3087,3248,3340,3225,3247,3074,2720,2867,3339,3579,3437,3414,3443,3352,3470,3594,3593,2999],[2857,2916,3010,3044,3304,3160,2562,2415,2316,2130,2144,1911,2213,2373,2542,2585,2381,3374,3774,3293,2858,2270,1959,2307,2147,2137,2523,2828,2763,2329,1857,1959,2313,2658,2749,2800,2676,2585,3000,2963,3326,3316,3228,3241,3367,3221,3066,3076,3211,3143,2751,2314,1905,1821,1875,1877,1696,1958,2646,2320,1561,1483,1750,2008,2397,2511,2304,2525,1929,2055,2684,2601,2586,2076,1731,1968,2339,2938,3075,3689,4039,3954,3637,2717,2796,3122,2670,2565,3150,3480,2728,2045,2356,2116,1964,2431,2452,2873,3225,2934,2737,2131,2430,2927,2573,2574,2781,2511,2523,2172,1843,1626,1818,2175,2654,3506,3353,2863,3121,3264,3060,2950,2630,2963,3128,3504,3550,2923,2270,2250,2072,2172,2214,1841,2138,2978,3296,2840,2404,2304,2458,2678,2498,2148,2398,2464,2100,1955,2498,2841,2877,3018,2752,2809,2988,2590,2834,2903,2304,2060,1885,1695,1666,1918,2067,1935,2348,2254,2553,2944,2359,2046,2233,2669,2364,2271,2499,2095,2054,2175,2291,2565,2938,3242,3684,3734,3825,3219,2623,2599,2444,2056,1948,2160,2566,2444,2296,3168,2901,2777,2326,3066,3105,2867,3023,3139,3621,3719,3676,3637,3140,2608,2396,2446,2326,2153,2199,2179,2398,2410,2146,1967,1974,1869,2191,2525,3112,3394,3481,3034,2409,2675,3456,4058,3849,3567,3557,2971,3270,3720,3494,3231,3508,2817,2383,2602,2615,2813,2762,2664,3056,3277,3002,3141,3393,3839,3248,2620,2940,3808,4040,3262,2711,2341,2023,1886,1542,1720,2343,1913,1551,1759,1858,1779,1806,1881,2150,2096,1757,1791,1836,1760,1610,1761,1881,1756,1770,1835,1766,1541,1412,1412,1628,1512,1644,2144,2170,2089,2135,1910,1584,1697,1820,1740,1926,2024,1799,1661,1569,1500,1599,1831,1918,1806,1720,1736,1955,2057,1932,1803,1908,2189,1880,1699,1650,2120,2276,2161,2063,2131,2336,2132,2336,2040,2027,1554,1104,1300,1501,1499,1575,1592,1612,1457,1707,2451,2520,2665,2912,2987,3256,3257,2791,2413,2332,2713,2798,2794,3085,3068,2746,2520,2397,2265,2448,2123,1642,1918,2325,2651,2916,2876,2429,2205,2675,2540,2113,2293,2923,2942,2502,1934,2181,1943,1627,1642,1814,2152,2377,2763,2640,2511,1932,1769,2119,2356,2483,2350,2188,2341,2598,2758,2690,2270,1974,2052,2028,1839,2250,2699,2547,2483,2688,2517,2487,2664,2722,2680,2648,2200,2524,2489,2204,2357,2845,2623,2470,2156,1909,2043,2317,2464,2014,1910,1652,1605,1768,1850,1880,2045,2558,2789,2769,2955,3144,2929,3065,2976,3031,3174,3195,3220,2665,1975,1962,2153,2810,3252,2728,2504,2090,2766,3580,3829,3349,3366,2911,2685,2790,2916,3097,3423,3501,3276,3354,3540,3252,2828,2460,2238,2043,1837,1658,1716,1715,1746,1626,1504,1553,1938,2244,1747,1440,1599,1777,1771,1442,1508,1619,1666,1710,2041,2488,2088,2068,2232,2160,1945,2029,2368,2662,2465,2008,1971,2120,2292,2246,2364,1957,2245,1456,1318,1908,1874,1633,1505,1752,1938,1594,1371,1262,1669,1839,1868,2023,1692,1761,2162,1948,1753,1875,1940,1891,1766,1197,1150,1595,1686,1846,2074,2401,2326,2163,1931,1923,2029,2109,2040,2059,2227,2110,2182,2319,2061,1983,2432,2525,2562,2657,2639,2618,2133,1650,1542,1657,1764,1583,1522,1677,1576,1626,2086,3162,3117,2105,1615,1311,1251,1716,2320,2154,1847,1741,1948,1611,2001,3299,3164,2595,2885,2559,1881,1602,1634,1501,1925,2767,2709,2068,2171,2675,2734,2069,1520,1570,1472,1398,1544,1712,1888,2074,1826,2225,2335,2858,2546,1642,1770,1798,1908,1948,1819,1974,2078,2182,2492,2697,2984,2599,1742,1738,2584,2986,2710,2808,2895,2893,2335,2176,2827,2589,2626,2621,2212,2415,3287,3535,3682,3857,3200,2441,1842,2264,2612,2418,2240,2846,3020,2302,1967,1988,2179,2611,2770,2740,2351,1772,1583,1610,2282,2602,2320,2165,1511,1697,2021,1641,1477,1437,1651,1647,1564,1448,1384,1545,1618,1496,1650,1664,1512,1492,1428,1432,1419,1408,1353,1445,1319,1343,1606,1594,1902,2357,2002,1378,1475,2107,1945,1808,1764,1668,1885,1698,1453,1581,1581,1494,1635,1930,2115,1577,1503,1725,2140,2098,1743,1677,1831,1897,2041,2304,1979,1860,1538,1653,2177,2293,2012,1743,1814,2078,1980,1813,2005,1424,1322,1746,1781,1869,1853,1748,1456,1474,1549,1577,1533,1620,1835,1799,1841,1805,1816,2325,3199,2905,2368,2148,2100,1955,1628,1772,2094,2270,2758,2292,1947,2397,2375,2236,2325,2679,3247,3796,4083,4115,4095,3560,2817,2786,2503,2294,2119,1809,2410,2487,2293,2471,2706,2862,2716,2673,2589,2547,2286,1875,1327,1459,1532,1372,1492,1688,1782,2096,2830,3278,3165,3030,3031,2932,2940,3166,3234,3842,3077,2215,2276,2194,1845,1402,1927,2886,3648,3968,4284,4291,4322,4443,4428,4307,4159,3970,3806,3131,2261,2348,2923,2950,3254,3594,4090,4296,4073,4059,3812,3160,2731,2653,3608,4332,4184,3837,3825,3876,3861,3882,3907,3917,4056,4100,3758,3183,2541,2533,2508,2295,2392,2221,1995,1562,1508,1642,2204,2917,2964,2692,2292,2070,1675,1571,2590,2645,2119,1966,2001,2154,1773,1350,1415,1740,2362,2302,1984,2097,2075,2069,2340,2872,2085,1986,2201,1617,1531,2205,2541,2082,2002,1996,2361,2391,1874,2150,3174,3071,2819,2731,2197,1963,2642,2731,2544,2663,3819,3352,1991,2681,2743,1818,1554,1392,1094,1454,1604,1588,1411,1430,1574,1671,1317,1548,1925,2027,2072,1874,1864,1685,1595,1888,2085,1908,1980,2204,1993,2132,2416,2152,1781,1771,2359,2661,1879,1853,2645,2109,2216,2442,1930,2044,1882,1416,1648,2338,2589,2502,2353,2310,2057,1914,2030,2238,2330,2540,2934,3032,2898,3066,3096,2388,1803,1461,1897,2020,2458,2314,1996,1962,1785,1665,1377,1302,1316,1297,1432,1457,1443,1189,1115,1043,1138,1079,725,1332,1520,724,478,884,1417,2925,2019,1705,1655,1585,1270,1310,1551,1655,1255,608,609,1009,1386,1780,1446,1106,1334,1505,1784,1384,1176,1479,1547,1251,1145,1252,1194,1324,2247,2780,1814,1582,1693,2475,2148,1470,1665,2529,2972,3016,2787,2277,2620,2871,3085,2988,2331,2335,2615,2337,2924,3161,3028,2709,2066,2917,3379,3541,3638,3745,3680,3527,3452,3074,2898,2787,2292,2197,2082,2040,2966,2185,2873,3105,2887,2966,3074,2840,2453,2241,2396,2399,2258,1888,1670,1921,2115,2280,2325,2272,2558,2504,2101,1955,1891,2124,2402,2680,2624,2542,2371,1743,1928,2366,2684,3286,2877,2056,1738,1554,2272,3173,2874,2338,2079,2291,2651,3062,3916,3550,3275,3662,4128,4432,4289,3955,3824,3494,3187,2973,2257,1986,1867,2384,3083,3277,2834,2376,2499,2281,2176,2047,2135,1895,1931,2217,2564,2686,2632,3282,3516,2366,1714,1525,1351,1073,1302,1755,1760,1572,1322,1890,2708,2299,1477,1463,1403,1538,1425,1415,1477,1508,1647,2364,3117,3088,2809,3123,3603,3713,3264,2485,1942,1700,1489,1438,2054,2794,2304,1871,1606,1594,1567,1575,1741,1664,1732,2456,2618,2138,2437,2207,1728,1559,1584,1887,2109,1736,1367,1249,1417,1465,1315,1364,1424,1507,1721,1950,1950,1626,1316,1567,1865,1765,1398,1630,1471,1565,1668,1823,1783,1763,1823,1826,2062,1998,1720,1677,1916,1732,1605,1617,1430,1375,1533,1588,1619,1756,1735,2154,2888,2366,2478,2018,1707,1623,1694,1946,1998,1869,1803,1716,1471,1439,1649,1727,1477,1586,1604,1512,1515,1526,1807,2110,2192,1979,1683,1627,1748,1714,1493,1440,1532,2040,2176,1758,1557,1493,1487,1570,1930,2037,1805,1804,1979,1765,1982,1850,1740,1682,1765,2051,1968,2155,2422,2474,3129,3321,3392,4043,3775,2515,1629,2344,2520,2090,2184,2541,2736,2687,2874,3256,3505,3233,1996,1342,1967,2763,3388,4041,4215,3898,2990,2139,1647,2105,2585,1968,1729,1945,1932,1754,1601,1688,2160,2561,3186,3087,2670,1960,1674,2180,2646,2828,2667,2297,2341,2195,2276,2357,2405,2359,2393,3174,3116,2363,2598,2254,2049,2021,2150,2753,2808,2905,3229,3130,3208,2519,2333,2565,2027,1333,1554,1910,1725,1499,1563,1672,1595,1877,2105,2206,1976,2024,2084,2031,2249,2707,2618,2568,2485,2766,3007,2520,2802,2964,2884,2170,1947,2114,2418,2475,2047,1815,2207,2222,2361,2142,2222,1876,1635,1444,1677,1815,1559,1872,2026,1870,1825,1654,1618,1763,1954,2233,2359,2218,2054,1838,2261,2494,2183,1798,1803,2012,2156,2554,1971,1876,2509,2249,2087,2641,3121,2796,2510,2306,1978,2186,2667,3249,2764,1944,1663,1628,1583,1572,1681,2021,1863,1916,2401,2270,1421,1388,2355,2834,2846,2524,2401,2263,2126,2133,1930,1628,1672,1861,1785,2506,3122,2418,1792,1737,2287,2234,2380,2202,1689,1752,1758,1766,1990,1920,1636,1608,1651,1636,1571,1554,2024,2339,2079,1792,1720,1650,1951,2367,2212,2453,2596,2500,2149,2160,1950,1814,1887,2242,2413,1988,2044,2003,1860,2045,1909,1906,2008,1743,1656,1661,1754,1755,1630,1453,1247,1760,1665,1472,1675,1769,1709,1825,2047,2168,1865,1469,1957,2094,1956,2066,2073,1954,1842,1793,1829,1760,1904,1926,2029,2775,2763,2014,1790,1680,2111,2753,2614,2856,3204,2686,2005,1850,1761,1956,1942,1720,1898,1991,2039,1847,1807,1925,1794,1688,2108,2293,1832,1918,2121,2014,1976,2027,1902,1688,1697,1655,1845,1686,2003,2264,1984,1584,1448,1621,1829,1954,2018,2154,2364,1810,1585,1527,1560,1680,1693,1582,1727,1976,1692,1675,1815,2119,2046,1727,1908,2642,2563,2502,2564,2691,2700,2395,2507,2612,2200,1957,2015,2258,2131,2149,2149,2556,3008,2649,2191,2182,2896,3657,3097,2901,3190,3296,2922,2664,2576,2854,3418,3632,3817,4049,3959,3653,3544,3765,3637,2795],[2461,3113,3428,3010,3022,3119,2808,2457,2315,1984,1914,1665,1943,2298,2505,2692,2395,2335,3330,3364,2736,2313,2005,2449,2381,2431,2632,2850,2843,2573,2264,2228,2476,2688,2897,2970,2815,2541,2431,2508,2665,2754,3021,3085,2822,2558,2884,3185,3211,2976,2501,2043,2148,2281,1784,1507,1941,2479,2491,1997,1522,1371,1406,1629,1821,2298,2417,2341,2489,2717,2786,2757,2691,2187,2025,2439,3075,3100,2341,2586,2920,2834,3089,2722,2978,2881,2523,2492,3034,3477,2520,2063,2341,2051,1973,2198,2087,2653,3028,2573,2242,1834,2151,2885,2868,3264,2957,2129,2096,1984,1647,1737,2164,2086,2409,3198,3145,2768,3029,3228,3028,2757,2770,3393,2956,2337,2697,3185,3139,2923,2424,2136,2174,1948,2026,2534,2865,2752,3029,2931,3007,2927,2211,2238,2714,2690,2443,2287,2747,2938,2711,2634,2651,2939,3142,2812,2880,2967,3278,3105,2014,1670,1715,2050,2115,1640,1447,1789,1939,1937,1742,1750,2042,2314,2143,1981,1938,2170,2385,3013,2712,2739,3204,3529,3692,3892,3618,2478,2053,2367,2155,1885,1732,2030,2326,2347,2826,3002,3046,3093,2983,3078,2715,2923,3197,2946,2723,2867,3452,3583,3426,2003,1338,1888,2060,2230,2330,2374,2642,2431,2151,2204,2048,1628,1908,2204,2374,2822,3575,3288,3031,3386,3284,3520,3410,3475,3162,2568,3017,3321,2723,2458,2834,2459,2002,2523,2736,2797,2751,2715,2892,2833,2779,2896,3089,3805,3964,3635,3607,3653,3573,2777,2441,2241,1769,1401,1453,2363,2618,2395,1929,1616,1590,1677,1714,1720,1691,1648,1691,1747,1838,1608,1479,1803,2092,2252,2018,1920,1807,1668,1731,1786,1986,2351,2741,2865,2584,2360,2392,1998,1991,1955,1844,2045,2543,2148,1935,1904,1752,1695,1795,2376,2669,2365,2004,1829,1721,1808,2072,1983,2110,2155,1801,1862,1904,1761,1848,2232,2343,2393,2381,2182,2163,1452,1546,1526,1301,1500,1582,1454,1418,1558,1772,1601,2129,2902,2919,2701,2887,2578,3204,3489,3035,2616,2635,2949,2701,2885,3270,3002,2699,2666,1940,1908,2351,2269,1843,2099,2361,2458,2834,3594,3019,3172,2916,2876,2266,2560,3130,2755,2148,2351,2620,2227,1858,1829,1965,2101,2184,2126,2093,2207,1790,1366,1775,2288,2157,1669,1826,2115,2592,2864,2879,2198,1809,1629,2122,2382,2271,2207,2410,3023,3198,2443,2255,2296,2535,2876,2691,2235,2676,2930,2394,2311,2585,2475,2615,2549,1962,1822,1621,2008,2467,2327,2134,2059,1998,1928,1877,2374,2937,2760,2791,3206,3101,2874,2778,3053,3273,3377,3699,3459,2408,1918,2468,2721,2641,2940,2702,2995,2299,2249,2997,3558,3376,2967,2923,3041,2862,2674,2544,2590,2647,2498,2323,2230,2351,1949,1806,1694,1431,1488,1687,1721,1611,1501,1510,1761,1702,2204,1902,1592,1417,1786,1821,1481,1345,1478,1629,1548,1794,2579,2523,1792,1978,2194,2266,2009,2185,2252,2401,2607,2191,2248,2801,3198,2694,2187,1907,1869,1251,1196,2029,2311,1765,1474,1665,1771,1432,1409,1758,2295,2280,1937,1692,1739,1785,1913,1993,1902,1802,1781,1843,1632,1311,1212,1464,1900,1939,2097,2330,2841,3134,2566,2426,2535,2303,2165,2035,1895,2104,2413,2034,1771,1811,1994,2140,2554,2717,2376,1803,1481,1412,1484,1953,1929,1553,1605,1510,1391,1349,1411,1742,1839,1503,1290,1332,1578,1815,2357,2534,2406,2381,1996,1775,2273,2643,2876,3278,2677,2557,2416,2000,1942,1945,2237,2999,2763,2041,1865,1916,2397,1761,1674,1754,1588,1427,1643,1966,2041,2204,2255,2372,2770,3167,2600,1989,2118,2057,1742,2311,2048,2195,2486,2786,3276,3281,3018,2487,1765,1728,2603,2678,2401,2381,2417,2618,2313,2045,2206,2500,2831,2499,2017,2366,3727,3947,3768,3259,2860,2521,1924,2179,2702,2580,2509,2939,2996,2623,2144,1704,1716,2766,2969,2402,1827,1667,1675,1770,2179,2116,1819,1954,1732,1507,1586,1580,1604,1593,1517,1587,1640,1558,1582,1643,1532,1402,1526,1579,1571,1502,1484,1539,1572,1480,1545,1561,1453,1510,1462,1337,1529,1711,1474,1605,1841,2193,1802,1450,1364,1557,1623,1395,1577,1671,1440,1586,1756,1765,1540,1394,1310,1617,2079,1853,1561,1052,1214,1584,1810,1924,2116,2026,1702,1984,2761,3029,2778,2197,1876,1896,1715,1443,1741,1538,1586,1785,1751,1700,1557,1522,1340,1136,1362,1416,1494,1786,1849,1792,1729,1557,2003,2586,2832,2563,2241,2028,2003,2002,1781,1780,2393,3138,2895,2198,2152,2170,1795,1806,1911,2269,3184,3519,3385,3066,2910,2834,2292,2210,2011,1825,1930,2414,2932,2978,2872,2756,2666,2556,2290,2664,2744,2909,3181,3506,2423,1437,1301,1540,1503,1794,2321,2139,2431,3008,3128,3134,3023,3038,3342,3437,3305,3780,3774,2888,2014,1666,1470,1882,2746,3739,4225,4360,4452,4544,4519,4448,4288,3969,3680,3653,3372,3394,3375,3490,3869,3912,3775,3905,4260,3472,2414,2925,3277,2897,2842,2722,3142,3946,3869,3475,3672,3883,3588,3338,3506,3574,3941,4188,4301,4040,3299,3193,2728,2865,2596,2441,2339,2017,1919,2420,3084,3122,2772,2677,2912,2881,2514,1991,2740,3382,2800,2154,2164,2179,1767,1350,1193,1468,1715,2138,2037,2226,2232,2100,2646,2991,2455,2272,2271,2035,1782,2389,2692,2740,2124,1951,2255,1869,1801,2842,3279,2769,2448,2569,2246,2444,3051,2606,2723,2536,3425,3638,3054,3110,3352,2955,2268,1492,783,923,1169,1801,1589,1328,1232,1412,1234,1214,1709,2786,3012,2126,2315,1955,2051,1961,1993,1864,1778,1946,2121,2624,2618,2342,2331,1783,1671,1656,1563,2070,2594,2432,2576,2420,2389,2399,1729,1476,1593,2199,2293,2142,1882,1935,1668,1620,1734,1974,2380,2719,2858,2833,2786,2788,2458,1932,1398,1716,2019,1985,2366,2214,2164,2023,1902,1904,1470,1395,1424,1502,1826,1708,1304,850,1138,1388,1550,1262,1005,1654,1654,849,614,1508,2314,3002,2048,1760,1638,1531,1739,2239,2266,1895,1366,644,415,506,1166,1515,1436,1172,1233,1489,1543,1194,1138,1476,1566,1007,1022,1143,1144,1274,2630,3250,1992,1454,1854,2498,2271,1652,1842,2698,2670,3116,2785,3016,2964,2841,3119,2723,1953,2917,2934,2333,3089,3027,2934,2681,1814,2854,3384,3549,3677,3770,3827,3714,3609,3359,3015,3124,2863,2559,2137,2037,3110,2563,2925,3234,2955,2852,2831,2876,2437,1511,1718,1776,1592,1528,1555,1588,1593,1578,2035,2327,2399,2248,2004,1970,1809,1824,2072,2324,2606,2156,1735,1845,2071,2537,3204,3238,2298,1847,1556,1179,2075,3020,2985,2566,2297,2420,2654,3319,4333,4287,3845,3539,3980,4232,4082,3882,3281,3349,3334,2988,2481,1938,2030,2596,3006,3050,2372,1774,1953,2091,1923,1624,1613,1715,2279,2374,2103,2336,2574,2728,2899,2525,1793,1600,1457,1367,1407,1609,1838,1744,1419,1876,2352,1947,1679,1697,1482,1445,1543,1599,1483,1534,1715,2397,3260,3231,2646,3021,3519,3686,3584,3264,2580,1824,1643,1472,1895,2250,2104,1866,1866,1779,1460,1374,1543,1682,1920,2287,2834,2503,2341,2316,2024,1990,2156,1983,2122,2020,1569,1348,1390,1424,1375,1358,1453,1780,1964,1780,1780,1704,1352,1759,2098,1774,1390,1482,1698,2008,2140,2091,2005,2211,1859,1549,1707,1722,1490,1736,1659,1569,1579,1801,1802,1554,1612,1592,1605,1676,1651,1741,1947,1927,1913,1761,2066,1804,1514,1549,1514,1478,1469,1356,1191,1362,1556,1853,1927,1975,1780,1583,1589,1627,1615,1965,2164,2128,1732,1450,1372,1636,1480,1457,1730,2036,2087,1872,1844,1950,1976,1568,1810,1882,1924,1810,2080,2054,1906,1717,1866,1954,1892,2039,2402,2141,2209,2629,3090,2915,3245,3817,3482,1946,1521,2481,2388,2184,2690,2457,1997,2665,3029,3065,3354,2746,1745,1977,2703,3281,3885,4090,3959,3815,2325,2167,2240,2699,2829,2144,1862,1937,1794,1613,1813,1973,2489,2501,2182,1689,1841,2214,2750,3035,2810,2647,2246,2277,2413,1712,2183,2137,2245,2602,2456,3287,2867,2280,2563,2197,2171,2253,1978,2295,2410,2567,2977,3013,2432,1763,2020,2481,1918,1226,1706,2413,1958,1906,1879,1666,1988,1899,2063,2382,2417,2651,2507,1769,2407,2840,2352,1976,1925,2690,3079,2262,1982,2471,2380,2017,1833,1928,2398,2431,2201,2231,2340,2035,2273,1845,1772,1527,1393,1523,1976,1771,1642,1948,2037,2233,1866,1585,1533,1736,1574,2073,2162,2301,2299,2231,2624,2520,2550,2107,2420,2157,2133,2310,1813,1909,2164,2263,2180,2141,2256,2610,2917,2336,1856,1990,2392,2495,1868,1577,1495,1545,1590,1505,1664,1862,1636,1758,1950,1939,1695,2297,3177,3030,2479,2061,2137,2445,2419,2138,1909,1892,1836,1783,1851,2645,2830,2900,2180,1845,2576,2745,2548,2157,1873,1846,1708,1631,1834,1926,1697,1577,1566,1577,1374,1541,1962,2320,2496,2260,1770,1613,2090,2295,2023,2194,2569,2587,2755,2812,2564,2197,1652,1880,2426,2119,2200,2042,2128,2334,2082,2071,1905,1850,1836,1891,2112,1768,1782,1783,1379,1556,1681,1648,1694,1758,1732,1788,1824,1972,2275,2231,2325,2242,2006,1779,1712,1622,1644,1739,1712,1613,1901,2002,2451,3261,3397,3348,2291,1586,1458,2040,2388,2745,2827,2300,1893,2256,2042,2177,2096,2215,1965,1920,2310,2041,1678,1794,1864,1735,2177,2285,1778,1863,1977,1964,1881,1820,1570,1710,1665,1826,1914,1720,2110,2374,2122,1621,1432,1912,2132,1807,1767,1877,2084,2115,1787,1541,1549,1499,1546,1515,1569,1745,1728,1694,2150,2381,2686,2693,2600,2822,3077,2994,2814,2659,2741,2476,2322,2466,2389,2085,2145,2386,2638,2779,3066,3678,4101,3886,3060,2779,3796,3820,3133,2999,2902,3088,3340,3066,2722,2863,3541,3881,4257,4400,4375,4241,4101,3522,3250,3263],[2630,3188,3337,2666,2946,3142,2668,2311,2340,2100,2180,1982,2122,2482,2343,2616,2758,2858,3551,2799,2176,1931,2056,2397,2400,2561,2789,2862,2570,2453,2465,2430,2521,2497,2548,2627,2708,2723,2558,2709,2568,2409,2624,2703,2426,2510,3100,3335,2968,2311,1854,2128,2732,2741,2291,1968,2285,2562,2614,2072,1692,1748,2282,2447,2110,2000,2076,2416,3153,3200,3123,2979,2533,2324,2438,2933,2972,2163,1996,2043,2085,2580,3216,3252,2963,2567,2502,2653,3191,3296,1958,1729,1792,1959,2002,1959,2260,2799,2676,2375,2743,2564,2518,3120,3441,2892,2670,2086,2164,2355,1954,2192,2634,2258,2250,2691,2739,2812,3376,3198,2805,3028,3199,3032,2436,2498,2986,2865,2475,2473,2616,2687,2630,3125,3266,3193,3216,3761,4396,4099,3826,3570,2894,2768,2511,2457,2862,2967,3090,2938,2757,2651,2719,2799,2812,2458,2110,2754,3405,2751,1827,1754,1644,1938,1824,1942,1802,1575,1665,1812,1925,2064,1818,2000,2366,2391,1824,2121,2142,1968,1856,1869,2446,3299,3597,3557,3373,2406,2235,2392,2225,1792,1874,2295,2754,3020,3078,3262,3716,3610,3472,2933,2180,2944,3362,3011,2736,3090,3284,2942,2846,2308,1832,1885,2236,2793,2874,2908,2652,2404,2142,2039,1927,1653,1653,2033,1960,2132,2910,3009,3053,3063,2648,2510,2513,2623,2859,2843,2928,2836,2812,2916,2962,3008,2700,2763,2644,2229,2685,2707,2522,2575,2801,3026,3320,3608,3644,3646,3046,2616,2752,3420,3124,2780,2358,1752,2442,2868,2570,2544,1960,1574,1510,1470,1567,1719,1790,1782,1761,1616,1663,1669,1606,1810,2159,2438,1848,1739,1868,2048,2033,2001,2028,2889,3061,2961,2786,2349,2051,1925,2375,2243,2406,2261,2019,1830,2018,2032,2098,1888,1958,2731,2843,2513,2256,1790,1503,1960,2589,2273,2226,2319,2002,1698,1644,1658,2150,2752,2686,2487,2325,2467,1737,1328,1452,1817,2043,1992,1869,1824,1493,1566,1682,1807,2754,3147,2856,2507,2712,2883,3342,3393,3208,3098,3096,3167,2897,2590,2797,2562,2536,2706,2272,2257,2706,2469,2492,2656,2023,2444,2754,3303,2829,2915,2790,2799,2465,2862,2792,2208,2154,2186,1974,2162,1940,1729,1968,1833,1930,1969,2154,2732,2500,1914,1844,2209,2176,1803,2126,2188,2183,2342,2762,2708,2430,2200,2492,2566,2226,2155,2508,2576,2793,2535,2511,2244,2263,2446,2322,2214,2344,2204,1689,1827,2276,2066,2266,2474,1968,1741,1484,2050,2522,2770,3188,3404,3096,2657,2399,2544,2899,2946,3199,3105,2644,2752,2534,2730,2880,2899,3476,3682,3000,2225,2291,2247,2032,1901,2128,2633,2472,2031,2131,2874,2877,2388,2303,2179,2156,2321,2408,2593,2648,2580,2520,3245,3500,2392,1868,1651,1571,1744,1601,1450,1410,1754,2059,2061,2069,2575,2142,1741,1557,1609,1546,1466,1418,1546,1694,1712,1788,2539,2277,2077,1846,1787,2247,2061,1843,2257,2483,2674,2854,3120,3476,3371,3093,2249,2116,2272,2108,2014,2362,2507,2071,2003,2457,2241,1730,1586,2347,2432,2254,1870,1670,1841,1997,2078,2052,2039,1839,1830,1688,1542,1503,1433,1301,1505,1768,1773,1769,2115,2275,2451,2743,2798,2646,2283,1826,1931,2044,2056,1848,1797,1854,1632,1748,2156,2127,1790,1526,1548,1556,1912,1945,1605,1611,1756,1623,1437,1482,1740,1531,1574,1384,1494,1912,2004,1906,2082,2188,2718,2846,2165,2272,2520,2000,2299,2835,2143,2366,2545,1851,1995,2141,2237,2667,2284,1717,1739,1826,2132,1674,1662,1626,1496,1472,1630,1815,1968,2130,1969,1883,2246,2421,2474,2858,2700,2178,1707,2076,2154,2171,2181,2561,2797,2908,3046,2211,1636,1717,2251,1942,1657,1805,1783,1788,1720,1781,1926,2337,2690,2614,2439,2360,2867,3067,2996,2404,2509,2733,2170,1993,2499,2503,2623,2327,2207,2160,1953,1729,1460,2012,2314,1866,1715,1854,1724,1620,1841,1782,1576,1620,1928,1762,1621,1603,1598,1484,1495,1817,1896,1776,1724,1543,1425,1438,1377,1494,1671,1616,1532,1867,2084,1623,1600,1547,1467,1542,1553,1450,1588,1439,1493,1503,1764,1874,1516,1536,1638,1650,1434,1714,1673,1492,1373,1796,1723,1756,1730,1678,1632,1980,2010,1610,1377,829,1034,1589,1528,1531,1708,1780,1782,1814,1853,2294,2778,3044,2259,1985,1687,1425,1492,1687,1849,1905,1688,1405,1345,1470,1222,1395,1559,1225,1341,1603,1771,1624,1377,1474,2232,2934,2708,2092,2134,1999,1927,1956,2014,1956,2386,2398,2429,2230,2180,1642,1393,2021,2206,2258,2233,2350,2521,2556,2527,2408,1568,1643,2461,2906,2887,2810,2833,2873,2691,2344,2390,2255,2528,3094,3582,3934,4155,4227,3506,2531,2430,2514,1768,1602,2446,2309,2000,2382,2962,3219,3040,3047,3364,3365,3413,3890,4110,2999,1471,1510,2032,3028,3705,4313,4543,4587,4664,4431,3984,3974,3620,3438,3413,3460,3513,3647,3859,4257,4159,3956,3528,3086,3146,2667,1903,2199,2486,2216,2338,2470,2116,2541,2507,2824,3432,3153,2629,2370,2654,2631,3118,3594,4146,4172,4144,4123,3229,2643,2451,2175,2121,2320,2207,2496,3190,2918,2773,2730,2628,2837,2541,2405,2641,2956,3151,2531,1981,2005,1556,1148,1697,1869,1339,1440,2115,2609,2335,2228,2553,2480,2567,2507,2205,2434,2283,2232,2345,2544,2241,2016,2189,1984,2075,2810,2830,2071,2027,1970,1661,2055,2264,2010,2526,2925,3453,4176,4060,3619,3138,2386,1401,825,697,907,1101,1494,1346,1232,1328,1434,1692,2190,2226,3024,3260,2399,2068,2444,2919,2426,2097,1527,1337,1916,2454,2581,2109,2479,2895,1589,1128,1115,1544,1939,2186,2426,2778,2600,2205,1837,1343,1261,1733,1992,1727,1542,1933,2238,2191,2139,1985,1990,1990,2004,2153,3018,3304,2933,2143,1698,1516,1990,2156,2100,1960,1771,1603,1292,1504,1636,1686,1450,1569,1817,2308,1964,1427,1424,1768,1764,1365,1299,1579,1792,1610,1303,794,1416,2518,2833,2147,1665,1692,1534,1843,2500,2267,1782,1585,774,424,594,1282,1819,1978,1476,1165,1532,1497,1181,1450,1475,1545,1102,1119,1224,1223,1107,2347,2720,1756,1586,1947,2407,2419,2278,2101,2770,2983,3081,2545,2974,2757,2318,2463,2076,2160,3109,2696,2733,3250,3096,3022,2375,1699,2820,3430,3438,3648,3814,3773,3632,3419,3291,3291,3612,2956,2588,2093,2048,2779,2592,2393,2644,2706,2544,2593,2691,2354,1772,1803,1582,1414,1357,1333,1243,1513,2196,2504,2267,1889,1667,1781,1988,2267,2099,2017,2126,2156,1845,2004,2057,2121,2787,3162,2904,2795,1843,1281,1412,2285,2184,2379,2659,2808,3024,2629,2762,4264,4527,4256,3973,3983,4020,4028,4020,3086,2939,2887,2586,2648,2684,2742,2909,2849,2878,2375,2316,2636,2611,2257,2067,2052,2242,2392,2212,2033,2116,2383,3022,2784,2243,1774,1561,1569,1725,1614,1495,1846,1874,1650,2160,2039,2115,2842,2097,1526,1455,1434,1656,1960,1863,2027,2840,3975,4200,3325,3326,3347,3548,3647,3323,2409,1904,1749,1504,1597,1963,2025,1794,1833,1745,1613,1434,1589,1658,1866,2255,2326,1910,1858,2101,2070,2311,2644,2085,2096,2471,1970,1577,1427,1448,1490,1576,1747,1948,1982,1781,1724,1995,1727,1802,2392,1976,1515,1716,1985,2040,2186,2177,2386,2299,1646,1530,1490,1546,1497,1525,1340,1395,1555,1892,1971,1692,1618,1329,1436,1507,1628,1902,1700,1802,1719,1880,2406,2156,1662,1561,1556,1525,1411,1284,1259,1434,1422,1686,1735,1560,1678,1723,1556,1431,1389,1612,1918,2211,2094,1641,2680,3586,2321,1851,2155,2127,2609,2654,2295,2048,1951,1413,1534,1700,1860,1811,2018,2362,2435,2264,2127,2043,1783,1948,2122,2023,2275,2154,2469,2746,2930,3143,3029,2427,2337,2820,2304,2247,2137,2304,2083,2790,3002,2790,3118,2535,1776,2461,2918,3385,4003,3908,3848,3190,2343,2610,2810,2899,2675,2521,2282,1945,2204,2158,2339,2555,3028,2679,2231,2010,2194,2597,3068,2816,2121,2414,2450,2389,2127,2485,2417,2131,2417,2441,2197,2554,2318,2279,3062,2337,1943,1849,2105,2306,2127,2618,2792,2380,2105,2056,2204,2090,1922,1758,1836,2066,2786,2818,1989,1637,1715,1783,1952,2178,2212,2664,2708,2136,2322,2178,2242,1897,1723,2413,2372,1788,1772,2062,1918,2171,2174,2459,2615,2178,2131,2292,2276,1924,1761,1611,1519,1490,1289,1520,1849,1777,2340,2158,1775,1733,1720,1737,1665,1654,1655,1899,2127,2437,2449,2367,2470,2162,2183,2094,2632,2018,2252,2122,1892,1754,1697,1945,2009,1863,1945,2368,2635,2201,1879,1771,1813,1872,1774,1521,1483,1532,1604,1698,1756,1638,1648,1788,2401,2321,2029,2482,2898,2822,2361,1983,2406,2696,2446,2304,2272,2016,1871,1678,2453,3279,2754,2482,2432,2438,2696,2758,2754,2187,2045,1972,1782,1708,1892,1743,1757,1656,1632,1808,1766,1738,1886,2448,2587,2335,2054,2222,2410,2118,1868,1927,2010,2294,2594,2919,2767,2056,1544,1587,1926,2020,2120,1986,2220,2112,1940,2304,2307,2279,1902,2029,2291,1939,1652,1786,1559,1659,1835,1918,1885,1707,1639,1788,1846,2090,2387,2182,2050,1767,1466,1586,1654,1684,1780,1808,1808,1964,2205,2308,3067,3226,3244,3488,3104,2243,1628,1705,1814,1946,2365,2377,1858,2221,1680,1697,2282,2824,2194,1838,1930,1953,1802,1878,1957,1992,2358,2065,1609,1635,1788,1591,1553,1649,1713,1826,1649,1852,2069,1802,1765,1888,1804,1662,1615,1865,2218,1975,1947,2024,2101,1970,1579,1583,1750,1656,1449,1533,1499,1776,2272,2389,2535,2692,2984,3098,2639,2354,2731,2912,2462,2208,2855,2570,2309,2432,2436,2317,2279,2276,2546,3099,3452,4019,4184,3415,2949,3413,4073,3327,2610,2758,2946,3493,3893,3786,3606,3398,3541,3760,4307,4375,4387,3896,3630,2692,2234,3300],[2952,2819,2789,2735,2844,2843,2476,2152,2249,2176,2264,2293,2221,2264,2380,2447,2384,2652,3040,2585,2031,1787,2208,2440,2482,2420,2498,2416,2229,2197,2451,2520,2246,2013,2095,2499,2736,2792,3016,3147,2639,2229,2175,2358,2833,2911,3232,3378,2590,1871,1964,2999,3504,3150,2228,1866,1999,2453,2610,2180,2364,2039,2222,2502,2862,2500,1946,2655,3071,2569,3061,2952,2499,2385,1950,2176,2250,1568,1651,2117,2063,2383,2927,2794,2503,2499,2279,2420,2709,2677,2270,2328,2295,1978,2065,2270,2664,3123,2419,2123,2619,1989,2069,2775,2849,2295,2502,2635,2502,2374,1986,2193,2643,2733,2833,2791,2700,3044,3272,2939,3027,3467,3188,2598,2070,2195,2770,2568,2416,2548,2198,2315,2633,3306,3384,3072,2836,3636,4245,3578,3204,3365,3301,3189,2665,2547,3146,3395,3123,2632,2382,2678,2608,2215,2430,2270,1865,2359,2131,1815,1995,1784,1606,1830,1904,1941,1683,1583,1709,1938,2379,2348,2077,2230,2172,1695,1868,2303,1964,1785,2024,2401,2865,3262,3355,2743,2903,2291,2620,2877,2667,1907,2502,3257,3300,3023,2748,3204,3366,3514,3616,2728,2112,2686,3032,2658,2590,2994,2965,2842,2758,2600,2940,3167,2752,2850,3021,2868,2599,2130,1914,2175,2093,1917,2143,2407,2453,2719,2729,2858,3143,3156,2717,2223,1914,1770,2007,2511,2788,2786,3004,3134,3339,2441,1614,2248,2334,2040,2339,2409,2403,2589,2986,3366,3436,3377,3686,2876,2409,3061,2781,2910,3194,3043,2640,2751,2952,2553,2541,2095,2055,1816,1780,1588,1643,1704,1638,1577,1661,1805,2325,2350,1759,1700,1546,1541,1732,1761,1793,1834,1677,1604,1803,2306,2822,2824,2353,2319,2102,1892,2483,2737,2974,2309,1750,2151,2360,2171,2481,2164,2266,2659,2768,2524,2020,1717,2172,2655,2376,2137,2016,1734,1789,1411,1416,1573,1970,2168,2163,2045,2008,2053,1888,1671,1743,2109,2300,2289,1970,1934,1520,1618,1622,2374,3155,3140,2819,2850,2865,2789,2731,2852,2853,3152,3620,3527,3370,2770,2456,2447,2466,2288,1866,2020,2504,2598,2532,1830,1802,2494,2646,2906,2635,2481,2566,2258,2323,2483,2202,2024,2101,1907,2056,2018,1861,1907,1980,1741,1807,1955,2376,2845,2708,2542,2083,2410,2177,1975,1964,1814,1844,1986,2294,2589,2621,2546,2662,2729,2822,3091,2801,2093,2469,3120,2688,2249,2230,2242,2291,2385,2301,2131,1688,1869,2666,2353,2371,2305,2425,2313,2299,2719,2779,2996,3672,3614,3611,3726,3610,3190,2602,2852,3044,2446,2331,2520,2365,2497,2685,3023,3475,3727,3808,2820,2185,2111,2022,2018,2238,2227,1976,1726,1850,1818,1952,1947,1881,2455,3042,3125,3096,3025,3019,3175,3232,3321,2733,2115,1749,1577,1646,1562,1494,1521,1619,1675,1898,1906,2049,2043,1649,1632,1998,1746,1526,1393,1351,1473,1664,1632,1726,2214,2311,2163,1846,1792,1959,1953,1962,2254,2468,2330,3099,3476,3529,3239,2896,2391,2602,2701,2115,1918,1984,2068,2172,2272,2278,2458,2050,1836,2104,2108,2028,1898,1677,1887,2461,2443,2116,2087,2114,1999,1738,1554,1636,1660,1533,1801,2181,2228,1918,1801,1931,1938,2391,2349,2270,1649,1389,1811,2244,2535,2154,1587,1593,1434,1620,1700,1433,1247,1523,1627,1798,2273,2235,1998,2106,2040,1817,1644,1592,2094,2236,1881,1490,1407,1862,2051,2146,2040,1960,2348,2406,2313,2077,2088,2161,2349,2234,2231,2470,2687,2587,2156,2136,2129,2028,1793,1661,1666,1872,1769,1656,1543,1449,1503,1629,1676,1784,1967,1760,1404,1484,1645,1719,1570,1880,2023,1633,1432,1740,2226,2169,2050,2229,2475,2774,3137,2084,1557,1909,2291,1855,1432,1378,1343,1295,1343,1607,2003,2405,2675,2783,2797,2567,2343,2448,2248,1951,2277,2511,2118,1829,2338,2728,3119,3051,3268,2659,1712,1618,1582,1805,2289,2344,2245,2000,1682,1542,1721,1808,1591,1526,1616,1460,1515,1595,1606,1787,2082,2285,2015,1694,1556,1608,1584,1471,1378,1466,1600,1648,1528,1555,1505,1396,1346,1409,1371,1418,1433,1523,1341,1294,1454,1394,1678,1581,1456,1654,1887,1476,1501,1737,1579,1217,1103,1198,1519,2145,2310,2248,2161,2666,2178,1492,1090,995,1095,1328,1446,1394,1333,1682,1831,1587,1743,1809,1756,2136,1926,1727,1757,1633,1644,1603,1612,1658,1524,1614,1738,1479,781,1151,1287,1274,1480,1680,1850,1432,1323,1909,2635,3073,2331,1510,1857,2057,2268,2191,1859,1615,1769,1996,1937,1879,1831,1473,2011,2475,2755,2711,2893,2613,2293,2067,1960,2224,2233,2410,2852,2799,2750,2634,2868,3084,2554,2416,2530,2764,3370,3904,4157,4030,3925,3937,3801,4067,4150,3480,2366,1560,1776,2389,2135,2040,2724,3188,2978,3074,3364,3394,3327,3573,3435,2567,1869,2281,2989,3812,4464,4645,4472,4144,4185,3758,2234,2488,3042,3426,3580,3628,3647,3708,3961,4406,4332,3874,3016,2179,2264,2608,2758,2378,2300,2121,2167,2286,1992,2419,2888,3455,3746,3182,3105,2911,2867,2690,2933,3294,3536,3786,4237,4361,3642,2684,2207,2094,2040,2163,2512,2370,2452,2856,3009,2814,2583,2264,1941,2164,2091,2056,2908,3066,2092,1707,1598,1599,2190,2092,1686,1430,1588,2198,2193,1983,2089,2646,2895,2728,2230,1822,2021,2361,2310,2544,2458,1967,2008,1923,1646,1812,2253,1985,2029,1681,1463,1837,2514,2357,2005,2446,3153,3525,2912,1888,1498,918,757,891,979,1028,1125,1136,1071,1260,1750,2295,2366,3065,2632,2884,3698,3432,2608,2570,2418,1832,1895,1952,2067,1896,2075,2059,1540,2184,2416,1508,1104,1149,1477,1676,1900,2253,2549,2417,1935,1449,1336,1294,1469,1712,1638,1366,2071,2352,1859,1483,1672,1859,1930,1961,2410,3429,3075,2359,1910,1707,1657,1638,1532,1501,1604,1735,1499,1724,2113,2048,2215,1716,1718,1788,1864,1761,1771,1795,1678,1681,1069,1148,1663,1726,1474,1463,1236,1444,2182,2414,1968,1648,1544,1471,1545,1536,1562,1494,1683,1053,504,640,1296,2124,2295,1589,1144,1586,1341,980,1479,1301,1277,1098,1360,1611,1834,1771,2187,2580,2080,1983,1747,2309,2658,2474,2631,3316,3839,3250,2773,3122,3111,2601,2114,2123,3006,3327,2836,2836,3131,2829,2810,1707,1219,2410,3220,3362,3615,3767,3416,3176,2998,3028,2966,3016,3166,2698,1948,2286,2963,2641,2289,2499,2681,2541,2449,2171,1964,1758,1714,1605,1490,1498,1606,1573,1579,2178,2059,1832,1658,1431,1526,2198,2394,2264,2529,2460,1948,1866,1914,1985,2075,2306,2425,2770,2357,1504,1558,1849,1996,2110,2477,2776,3044,3174,2817,2587,3436,3911,4263,4168,4152,3842,3861,3707,2730,2355,2412,2164,2192,2787,2976,2246,2103,2177,2011,2202,2328,2424,2634,2553,2398,2604,2423,2080,2036,2020,2275,3235,2889,2262,1886,1678,1654,1687,1622,1482,1766,1948,2182,2346,1829,1631,2273,1956,1452,1490,1399,1686,2154,1980,2161,3247,5073,5639,4538,3574,3351,3413,3353,2609,1862,1735,1723,1680,1699,1734,1767,1687,1753,1695,1739,1534,1706,2094,2276,2208,1731,1699,2108,2420,2212,2161,2200,1770,2287,2855,2147,1532,1549,1601,1471,1605,1797,1925,1917,1719,1783,2165,1975,1587,1684,1813,1726,1845,1931,1911,1833,1914,2919,2874,1969,1609,1432,1444,1512,1390,1202,1318,1580,1541,1641,1921,1637,1493,1468,1396,1593,1938,1881,1801,1846,1924,2403,2192,1791,1690,1947,1824,1863,1677,1471,1431,1390,1614,1789,1612,1553,1609,1483,1431,1544,1522,2061,2187,1814,1463,2611,3061,1979,1886,2556,2880,3028,2675,2229,1938,1270,1121,1513,1652,1602,1727,2193,2839,2850,2358,2061,1991,1863,2077,1912,2496,2351,1748,1867,2502,2953,2800,3001,2819,2536,2185,2007,2139,2273,2526,2755,3010,3007,3039,3105,2575,2187,2644,2776,3144,4034,3785,3001,2187,2351,2751,3087,2879,2080,2495,2576,2277,2458,2851,2510,2807,3233,2762,2087,1980,2168,2363,2450,2597,2827,3250,3065,2519,2424,3232,3256,2732,2040,1943,2089,2269,2687,2967,3377,2557,2202,2142,2358,2222,1807,2062,2399,2397,1971,2270,2069,1423,1651,1762,1943,1838,2410,2358,1942,1703,1892,2277,1777,1811,1956,2160,2345,2307,1846,2157,1860,1853,2029,1908,1781,1665,1798,1867,1979,2444,2235,2208,2171,1960,1875,1843,1734,1556,1698,1810,1585,1498,1552,1616,1694,1804,2170,2337,2001,1692,1633,1558,1497,1626,1701,1736,2244,2414,2323,1998,2113,2185,1754,1525,1868,1809,1918,2011,1852,1748,1573,1561,1751,1798,1946,2118,2234,2174,2071,2025,1982,1887,1787,1638,1614,1678,2079,2003,2097,1787,1714,1948,1953,1831,1652,1917,2675,2965,2445,1962,2416,2582,2185,2609,3220,2677,1966,1725,2533,2880,1918,1811,2508,2662,2646,2791,2839,2416,2002,1859,1854,2006,1993,1926,1864,1650,1830,2232,2027,2170,2319,2475,2357,2168,2241,2428,2179,2037,2213,2150,1710,1979,1802,2113,2617,2180,1658,1627,1590,1743,1981,1908,1968,2009,2106,2299,2125,2092,1940,1995,1957,1661,1576,1786,1844,1990,1864,1830,1970,1726,1594,1687,1833,2094,2167,1854,1694,1569,1420,1563,1656,1761,1785,1724,2138,2494,2420,2531,2696,2352,2732,2762,3062,3106,2329,1876,1641,1865,2416,2188,2111,2041,1731,2038,2404,2409,2204,2168,2054,1966,1926,2129,2055,2119,2142,1619,1495,1593,1821,1664,1509,1632,1867,1904,1823,2060,2208,1995,1577,1349,1669,2123,2071,1938,2232,2238,2226,2460,2209,1691,1519,1498,1701,1770,1600,1490,1347,1676,1758,1770,2012,2160,2203,2127,1936,1910,2432,2451,2521,2154,2343,2336,2579,2966,2750,2371,2173,2275,2593,2578,2641,3154,3142,2779,2889,3194,3583,3340,2706,2554,3103,3820,3947,3444,3604,3564,3641,3662,3905,4212,3509,2283,2369,2308,1952,2641],[2783,2661,3068,2984,2461,2544,2543,2077,1788,1808,1848,1822,1787,2171,2764,2442,2562,3023,2686,2296,2103,1986,1832,2004,2371,2386,2548,2314,2453,2257,2374,2422,2069,1853,1969,2326,2540,2661,3085,3006,2383,2088,2181,2376,3242,3304,3196,3129,2390,1893,2478,3301,4074,3963,3053,2156,2194,2383,2200,2156,2556,2179,1824,2203,2497,2060,1840,2517,3029,2178,2211,2299,2533,2432,2128,2476,2349,1965,2216,2852,2795,2240,3284,3579,2590,2626,2398,2232,2234,2042,2016,2378,2491,1940,2091,2576,2367,2580,2497,2094,1938,1654,2020,2454,2718,2898,3194,2871,2511,2621,2197,2176,2224,2566,2522,2558,3021,3001,3061,2909,3104,3283,2812,2588,2569,2508,2531,2279,2832,3000,1897,1366,2470,3541,3616,3207,2872,3350,3628,3129,3042,2997,2858,2468,2588,2875,3460,3488,2907,2153,2170,2520,2407,2286,2142,2193,2086,2101,1316,1569,2089,1493,1097,1614,2187,2029,1619,1759,1661,1607,1920,2135,2643,2638,2692,2231,2416,2671,2530,2857,3057,3282,3142,3286,3060,2547,3012,2442,2430,2666,2447,2651,3651,3835,3431,2826,2756,3025,2552,2909,3354,2752,2369,2114,2465,2814,2774,2811,3167,3536,3522,3571,4084,4291,3183,2838,2828,2872,2792,2291,2128,2223,2226,2200,2443,2453,2452,2524,2473,2966,3360,3552,3286,2424,2162,1902,1782,2467,2808,2484,2531,3122,3298,1892,1480,2124,2072,1903,2258,2669,2739,3000,3375,3570,3282,2798,3163,2630,2707,3342,2865,2263,2558,2430,2093,2437,2456,2512,2342,2061,2373,2237,2196,1889,1864,1835,1631,1761,1767,1748,2010,1752,1605,1690,1720,1781,1926,1910,1685,1632,1707,1808,1923,1780,2103,2181,2258,2477,2148,2166,2398,2654,2476,2036,1691,1950,2161,2067,2014,2003,2458,2378,2404,1882,1558,1919,2218,2160,2045,1935,1897,1842,1694,1609,1485,1744,1948,2040,2064,1882,1767,2165,2575,2339,2026,1975,2262,2771,2392,2037,1763,1594,1905,2569,2890,3051,2986,3094,3310,3377,3022,2742,2563,3097,3611,3453,2989,2790,2815,2553,2140,2183,1980,1875,2310,2477,2182,1281,1445,2395,2800,3305,3185,2639,2166,1969,2403,2366,2210,1962,1955,1970,2009,1767,1973,2078,2047,1880,1710,1753,2220,2610,2664,2568,2332,2713,2457,2060,2014,2235,2239,1954,1967,2271,2588,2379,2631,2823,3085,3183,2486,2359,3001,3282,2934,2540,2224,2171,2718,3129,2820,2764,1588,1633,2348,1923,1982,2712,2843,2497,2451,2954,3187,3248,3698,3962,3997,3886,3400,2819,2321,2533,2553,2286,2554,2542,2330,2591,2885,3119,3059,3027,3264,2680,1958,1847,1849,1607,1307,1608,1833,2459,3039,1982,1921,1899,2544,3288,3198,2676,2533,2416,2634,3032,3056,2648,1957,2015,1877,1633,1527,1470,1547,1625,1802,1758,1720,1648,1619,1634,1679,2251,3183,2797,2092,1430,1281,1727,2077,1953,1980,2034,2066,2379,2349,1936,1674,1995,2250,2047,2278,2331,2698,3073,3072,3235,3300,2796,2312,2029,2090,2366,2176,2211,2129,2087,2129,2142,1824,1513,1515,1548,1625,1569,1654,2666,3305,2449,1940,1885,1860,1884,1811,1631,1578,1672,1720,2028,2408,2491,1895,1803,1737,1851,2496,2543,2412,1842,1592,2064,2086,2307,2177,1606,1602,1698,1858,1762,1564,1626,2216,2209,1895,1966,1823,1617,1878,1807,1526,1431,1685,1859,2183,1836,1470,1498,1673,1841,2040,2276,2605,2205,2239,2471,1981,1676,2075,2023,2116,2446,2164,2490,2656,1863,2013,1953,2061,1909,1982,1875,1757,1600,1518,1540,1513,1486,1533,1454,1783,1940,1479,1278,1470,1538,1591,1478,1451,1387,1192,1244,1876,2165,1798,2082,1907,2023,2620,2819,1980,1622,1911,1992,1568,1326,1299,1276,1174,1294,1534,2111,2680,2667,2545,2494,2411,2440,2415,2162,1876,1842,1866,1685,1718,2157,2899,3277,3383,3685,2976,1732,1369,1503,1660,1936,1983,2074,1735,1520,1770,2172,2470,2196,1664,1294,1232,1451,1269,1480,1957,2109,2030,1863,1865,1726,1592,1432,1369,1384,1396,1414,1451,1369,1455,1399,1366,1428,1433,1396,1492,1588,1632,1492,1626,1606,1839,1671,1521,1734,1884,1667,1748,1963,1758,1515,1477,1651,1643,2007,2448,2477,2338,2080,2381,1963,1636,1422,1169,1143,1823,2604,1852,1412,1520,1661,1665,1947,1814,1739,1907,1581,1158,1143,1254,1410,1276,1411,1443,1455,1764,2405,1556,709,787,978,1405,1815,1961,1722,1477,2044,2478,2746,2880,2065,1747,2431,2690,2318,2155,1747,1371,1851,2314,2115,2068,1698,1759,2575,2609,3228,3450,3162,3107,3111,2371,1961,2506,2895,3183,3018,3134,3508,3369,2974,2906,2149,2554,3178,3730,3974,3874,3738,3636,3801,4145,4295,4627,4707,3994,2607,1691,1438,1684,1442,1342,2226,3054,3166,3029,3092,3348,3530,3552,2707,1793,1986,3060,3929,4428,4764,4111,2329,1874,2770,3437,2240,2213,3075,3596,3714,3791,3880,3928,4035,4257,4220,3595,2329,2032,2197,2741,2953,2634,2835,2626,2470,2492,2352,2446,2583,3306,4233,4116,3970,3726,3725,3576,3718,4014,3904,3450,3295,3144,2604,2078,2059,2095,2194,2150,1973,2199,2391,2539,2691,2898,2446,1886,1995,1990,1698,1809,2374,2817,2495,1988,1916,2243,2426,1978,1907,2166,1662,1296,1419,1529,1632,2054,2337,2589,2335,1976,2449,2665,2308,2523,2531,2019,2162,2042,1813,2354,2933,2636,2308,2166,1839,2023,3029,2940,2493,2345,1924,1954,1741,1674,1990,1362,992,1047,1028,1067,1099,1022,1231,1766,2450,3146,3676,4176,4078,4366,4476,3792,2540,1918,1913,2076,2320,2341,2384,1610,1490,1769,1755,1996,2001,1540,1231,1446,1864,1731,1597,1802,2066,2039,1419,1080,1050,1166,1243,1344,1304,1520,2008,1986,1826,1690,1744,1920,1961,1991,2170,2618,2660,1902,1205,1371,1551,1500,1844,1930,2004,2035,1850,2156,2154,2174,1958,1604,1859,1844,1653,1853,1910,1674,1602,1987,1365,1526,1843,1621,1360,1681,1625,1522,1926,1601,1470,1236,1181,1410,1375,1679,1787,1693,1754,1292,872,747,1143,1785,1479,1208,1185,1575,1118,990,1257,1266,1403,1254,1192,1427,1684,1589,1923,2366,2451,2360,2087,2200,2545,2175,2755,3426,3484,3520,3378,3197,3266,2692,2118,2834,3465,3267,2610,2634,2797,2956,2833,1747,1323,2291,2800,3254,3536,3570,3262,2657,2374,2655,2933,2881,3091,2810,2070,2567,3059,2878,2930,3199,3746,3466,2823,2679,2652,2384,2261,2120,2165,2344,2428,2189,1899,2291,2185,1954,1559,1354,1360,1714,1814,2518,3388,2801,2094,1875,1863,2280,2018,1824,2227,2124,1432,1414,1589,1841,2299,2406,2488,2740,2741,2519,2778,2543,3143,4198,4308,4097,3837,3063,3354,3150,2333,2067,1792,1736,1723,2057,1936,1581,1744,2269,2522,2525,2556,2612,2720,2610,2522,2865,2612,2202,2219,2162,2265,2808,3232,2889,2047,1657,1588,1592,1511,1465,1590,1750,1788,1531,1550,1542,1687,1676,1459,1501,1500,1479,1360,1443,2198,3190,4508,5532,4840,3850,3370,2978,2495,1937,1786,1694,1769,1905,1780,1626,1525,1535,1602,1704,1642,1484,1685,2025,2261,2235,2007,1998,2387,2762,2450,2053,1782,1657,2174,2256,1809,1738,1685,1654,1625,1778,1993,1981,1895,1709,1708,1675,1675,1548,1624,1951,2005,1820,1521,1428,1513,1720,2964,2768,2009,1607,1359,1420,1524,1601,1612,1617,1556,1416,1528,2075,2199,2000,1576,1431,1536,1598,1528,2038,2440,1954,1704,2038,1809,1680,1674,1832,2247,2267,2127,1841,1648,1687,1770,1642,1478,1468,1593,1477,1485,1497,1858,1882,1898,1859,1710,1688,1553,1517,1996,2271,2005,1847,1745,1778,1179,1116,1525,1603,1647,1875,1957,2322,2102,1475,1857,1908,1991,2232,2180,2388,2453,1916,1668,2007,2739,2831,2861,2814,2420,2402,2553,2558,2753,2952,2998,3011,3054,3105,3030,2800,2622,2877,2629,2879,3942,4116,2990,2172,2502,2626,2232,2057,2017,2475,2524,2098,2408,3002,2691,2434,2415,2267,1947,2174,2398,2546,2289,2408,2922,3218,2880,2407,2874,3552,3476,2942,2762,2515,2135,2348,2336,2352,2746,2888,2520,2122,2554,2407,1471,1314,2122,2449,1730,2140,1704,1843,2072,2128,2203,2119,2127,1835,1776,1579,1941,2230,1578,1620,1854,2061,2222,2202,2142,2734,2486,2382,2293,1772,1785,1772,2108,2654,2766,2671,2074,2043,2288,1846,1660,1686,1713,1828,1980,1919,1812,1675,1707,1804,1936,2065,1989,1958,1958,1770,1516,1363,1565,1793,1598,1995,2525,2221,1922,1806,1755,2160,1887,1460,1557,1526,1685,1634,1626,1764,1578,1598,1573,1680,2180,2257,2068,2129,2200,2293,2168,1855,1832,1702,1741,1952,2065,2226,2729,2090,1863,2411,2162,1649,1456,2057,2733,2728,2636,2336,2466,1999,2286,2812,3061,2717,2051,1898,2200,2354,1786,2500,2796,2392,2331,2764,3077,2469,1742,1532,1569,1791,1824,1976,1613,1400,1747,2092,1873,2234,2518,2578,2710,2511,2414,2155,1749,1704,2172,2200,1787,1992,2152,2178,3088,3342,2895,2455,2095,1908,2038,1845,1823,1906,2099,2182,2314,2275,2016,1789,1858,1749,1791,1875,2010,2270,2137,1862,1998,1741,1674,1714,1920,1956,1738,1567,1653,1603,1453,1621,1652,1734,1625,1696,2269,2293,2411,2344,2028,2296,2807,2917,3362,3488,3113,2265,1741,1620,1993,2265,2200,1996,1847,2062,2201,2008,2081,1924,1628,1713,1825,2194,2312,2065,1721,1605,1915,1887,1692,1736,1729,1706,1605,1727,1786,1872,1958,2014,1714,1550,1733,2140,2254,2207,2144,1952,2260,2678,2621,2128,1862,1747,1824,1691,1626,1410,1312,1444,1416,1400,1512,1731,1844,2137,1902,1912,2321,2555,2999,2998,2597,2395,3181,3978,3152,2398,2290,2369,2480,2548,2361,2304,2664,3234,3181,2829,2833,2959,2821,2698,3462,3977,3990,3566,3442,3349,3715,3720,3448,3341,2533,1762,1973,2186,2358,2673],[2464,2646,3135,2613,2067,2106,2198,2056,1878,2132,2027,1751,1687,1867,2424,2577,2808,2989,2742,2298,2088,2025,1726,1794,2324,2678,2842,2494,2480,1984,1835,1925,1896,1844,1802,1982,2135,2646,3073,2792,2238,2103,2209,2517,3186,3229,3042,2934,2264,2370,2935,2807,3334,3806,3709,2932,2702,1971,1770,2195,2317,1927,1663,2030,2132,1904,1894,2026,2211,1989,1995,2213,2699,2806,2921,2876,2481,2427,2732,3477,3450,1934,2566,3351,3294,3008,2698,2575,2432,2125,2344,2653,2510,2296,2903,3055,2224,2721,3251,2246,1984,2188,2265,2561,2964,3275,3195,2862,2603,2474,2304,2512,1932,1970,2297,2620,2605,2755,3094,3104,3200,2842,2522,2856,2922,2802,2746,2643,3063,3278,2510,1757,2172,2700,3133,3287,2962,2752,2447,3116,3484,2975,2721,2375,2470,2987,3322,3423,2946,1892,1744,2137,2483,2467,1882,2164,2402,2058,1627,2178,2525,1747,1444,1946,2214,2071,1893,2071,2074,1962,1975,2558,2530,2366,2621,2328,2160,2152,2402,2766,2869,2911,2668,3017,2729,2932,3118,2972,3087,2923,2379,2670,3474,3775,3466,3193,3129,3033,3021,2989,2743,2701,2954,2716,2923,3511,3347,3018,3334,3598,3703,3947,4292,3812,2640,2524,2847,2935,2671,2107,2167,1980,2198,2475,2311,2416,2734,2299,2556,3480,3436,3225,2762,2064,2001,2315,2787,3042,2664,2071,1938,3025,2703,1533,1958,2474,1998,2063,2313,2701,3034,3803,4087,3859,3091,2488,2357,2466,2756,3002,2830,2483,2102,2159,2005,2117,2194,2978,2624,2678,2465,2133,2232,2042,2059,1853,1789,1795,1765,1734,1782,1685,1548,1911,2474,2259,1846,1832,1546,1407,1616,1787,1868,2144,2097,2164,2670,2820,2190,1819,2143,2178,1706,1782,1854,1888,2013,2142,1897,2017,2577,2400,2253,1516,1061,1474,1759,2047,1843,1597,1715,2375,1927,1862,1553,1730,1516,1837,2256,2015,2146,2646,2835,2846,2623,2630,2698,3008,2921,2497,2474,2176,2275,2703,2985,3411,2868,2561,3161,3712,3219,2069,1516,2254,2956,2852,2100,1721,2313,2473,1704,1970,2128,2236,2921,2313,2062,2007,2019,2459,3067,3340,2955,2575,2040,2012,2631,2615,2178,2037,2240,2301,1771,1653,1806,1753,2066,2145,1914,1770,2089,2525,2449,2468,2406,2800,2630,2003,1726,2140,2440,1974,1858,1931,2011,1991,2545,3018,3163,2927,2724,3056,3522,3631,3211,2501,2004,2310,3151,3725,3227,2999,1924,1549,1853,1736,2354,3483,3257,2404,2321,2950,3453,3571,3746,3776,3585,3288,2351,1757,1785,2003,2172,2600,2891,2498,2352,2368,2482,2468,2219,2043,1925,1644,1649,1739,1882,1780,1333,1999,2539,3710,3963,3082,2370,2111,2996,3362,2774,2119,1942,2101,2576,2989,2905,2426,1797,1900,1992,1641,1445,1586,1780,2126,2231,1677,1363,1683,1636,1591,1764,3011,3793,3813,3216,2036,1610,1956,2063,1801,1673,1814,1797,1764,2360,2466,1909,2345,2142,2090,2359,2424,2446,2288,2244,2767,3053,2789,2277,2287,2457,2194,2204,2171,1685,1524,1897,2072,1863,1656,1809,1468,1343,1568,1730,2781,3056,2225,2196,2060,1742,1697,1774,1825,1671,1757,1716,2213,1981,2237,1907,1872,1843,1930,2475,3031,2906,2250,2124,2122,1694,1815,2102,1594,1520,1830,1785,1748,1742,1736,2038,2083,1781,1603,1548,1522,1787,1854,1571,1499,1656,1773,1866,1924,1818,1671,1825,2019,1837,1762,2211,2259,2414,2382,2008,1888,2018,1895,2496,2462,2020,2130,1917,1631,1970,1896,2327,2394,2247,2009,1755,1565,1609,1706,1756,1598,1306,1088,1881,1824,1597,1481,1572,1870,1779,1519,1411,1358,1318,1441,1563,1541,1575,2194,2180,1652,2083,2316,1797,1613,1701,1588,1392,1331,1249,1261,1180,1245,1461,2082,2818,2785,2665,2807,2651,2523,2458,2412,2068,1741,1667,1783,1921,2232,2751,3051,3212,3471,3149,2271,1543,1227,1281,1627,1604,1732,1776,1603,1543,1987,2610,2303,1537,1464,2023,1968,1627,1507,1549,1654,1847,2041,2152,2116,1649,1351,1384,1354,1333,1305,1367,1315,1253,1312,1371,1519,1560,1452,1410,1556,1435,1598,1824,1874,1775,1654,2267,2026,1717,1512,1677,1735,1549,1292,1228,1572,2292,2296,2036,2181,1869,1992,2248,2017,1810,1533,1339,1425,2154,2428,1686,1772,1743,2007,1805,1715,1802,2183,2434,1561,851,1233,1618,1615,1176,1416,1453,1582,1973,2133,1455,1126,936,976,1495,1837,1677,1426,2077,2303,2634,3060,2756,2011,2149,2653,3150,3454,2923,2016,1545,1759,1783,1746,1772,1787,2438,2982,2763,3472,3332,2532,3104,3444,2855,2470,2477,2799,3182,3094,3327,3476,3382,3099,2854,2685,2812,3375,3965,3986,3995,3974,4087,4312,4221,3955,3948,4284,3964,2849,2096,1638,1186,1178,1225,1641,2423,3028,3095,3215,3566,3341,2125,1513,1704,2265,3506,4529,4720,4629,3189,1778,2223,2765,3498,3288,3029,3395,3764,4047,4279,4376,4384,4350,4179,3858,2640,2280,2626,2621,3209,3508,3430,3773,3733,3196,2785,2544,2644,2877,3342,3956,3717,3825,3861,3775,3697,3738,4013,3812,3156,2931,2988,2643,2388,2177,2071,2098,2011,2069,2127,2274,2272,2141,2580,2585,2116,2141,1590,1541,1877,2045,2729,2679,2076,1879,2145,2354,2211,1865,2188,2222,1481,1327,1345,1983,2928,3285,3119,2965,3033,3134,2618,1761,2386,2687,2172,2040,2117,1773,2388,2866,2722,2270,1818,1521,1902,2779,2742,2567,2000,2035,2478,2152,1990,2031,1555,1152,1061,1090,1284,1040,1135,1937,2544,2785,2784,3242,3227,3205,3480,3737,3627,2826,2036,2325,1977,1677,1783,1930,1871,1577,1647,1625,1671,1922,2038,1992,1955,1906,1556,1831,1832,1529,1410,1386,1459,1295,1272,1272,1445,2028,2089,2447,2513,2331,2094,2100,2145,2091,2136,2184,2252,2084,1283,574,1069,1322,1482,2723,2200,1876,1548,1425,1606,1887,2096,1884,1925,1968,1727,1698,1742,1733,1763,1913,2014,1829,1846,1690,1324,1192,1577,1190,1177,1423,1333,1671,1269,1433,1512,1360,1346,1343,1662,1801,1610,1408,1113,1236,1577,1298,1215,1402,1636,1084,1198,1319,1206,1397,1259,1384,1516,1463,1535,2204,2125,2505,2282,2272,2142,2190,2105,2635,3123,2870,2876,2999,2541,2845,2142,2611,3413,3449,3037,2492,2692,2972,3020,3050,2399,1969,2545,2522,2875,3450,3472,3164,2511,2143,2522,2863,2643,2766,2647,2007,2779,3167,2930,2955,3276,3386,3060,2852,3001,3144,3063,2991,2931,2806,3166,3299,2614,2273,2229,2185,2062,1990,2030,2038,1872,1674,1947,2274,2150,2177,2020,1923,2179,2060,1765,1739,1521,1575,1881,1951,2015,2512,1959,2001,2215,2217,1965,2292,2367,3318,4408,3704,3334,3606,3350,3521,3107,2225,1970,1757,1363,1667,2042,2153,2317,2701,2941,2934,2859,2385,2247,2264,2444,2759,2752,2526,2462,2422,2514,2695,3217,3803,3663,2677,1710,1753,1857,1516,1535,1495,1606,1797,1745,1621,1381,1421,1450,1405,1533,1512,1468,1306,1471,1642,2243,2976,3825,3970,3725,3301,2412,1834,1716,1745,1819,2075,2200,2141,1881,1481,1471,1665,1715,1719,1671,1807,2595,2907,2271,2388,2190,2310,2656,2266,1763,1514,1637,1923,1754,1728,1827,1913,1663,1600,1870,2129,2115,1980,1907,1820,1747,1878,1694,1597,1765,1846,1497,1342,1510,1648,1704,2223,2049,1554,1386,1339,1446,1415,1722,1875,1835,1534,1418,1410,1924,2365,1993,1507,1381,1499,1625,2091,2994,2781,1750,1602,1619,1523,1555,1520,1678,1938,2152,2654,3061,2544,2035,1842,1639,1687,1583,1968,1887,1556,1531,1614,1606,1695,1969,1933,1666,1585,1582,1653,1513,1892,2151,1975,1792,1545,1836,2128,2177,1940,1848,1594,1836,1749,1287,1590,2109,2470,2403,2346,2212,2195,2065,2049,1882,2468,2675,2391,2657,2692,2833,2908,2899,3027,2942,3001,2655,2711,3248,3068,2656,2828,2886,2415,2598,3255,3540,3128,2465,2728,3007,2163,1941,2254,2310,2229,1984,2641,3271,3548,2812,1747,1676,1672,2527,2332,2037,2180,2963,3771,3481,3111,3252,3330,3341,3416,3074,3350,3039,2421,2513,2247,2075,2208,2268,1974,1595,1943,2035,1793,1597,2305,2479,1956,1800,1509,1842,2050,2401,2376,1946,1711,1759,1614,1473,1959,1895,2048,1932,1772,1665,1708,1959,2276,2683,2846,2604,2039,1860,2668,2160,2213,2996,3002,2434,2073,2346,2182,1666,1559,1588,1715,1599,1676,1786,2058,1942,1542,1569,1678,1770,1844,1930,1827,1656,1563,1474,1925,1904,1713,2241,2085,1735,1566,1444,1786,2326,2046,1723,1662,1686,1760,1554,1551,1686,1557,1349,1448,1764,2019,2032,1960,2108,2042,1919,1568,1545,1666,1680,1879,1803,1888,2486,2689,2171,2232,2504,2625,2221,1863,2823,3631,2765,2342,2451,2453,2427,3123,3230,2607,2401,2716,2743,2041,2147,2397,2658,2789,2569,2718,2967,2953,2336,2044,2042,1569,1607,1684,1817,1602,1571,1826,1743,1975,2500,2320,2280,2747,2792,2243,1754,1608,1758,1836,1694,1619,1713,1874,2085,2599,3107,3155,2770,2275,1801,1770,1639,1703,1790,1849,1995,2226,2354,2056,1790,1837,1906,2008,1986,1830,2108,1964,2074,2056,1742,1714,1826,1836,1645,1621,1685,1498,1556,1719,1749,1852,1679,1671,1955,2186,2414,2569,2220,2222,2740,2755,3198,3705,3670,3476,2608,1905,1665,1656,1866,2231,2475,2020,1903,2229,2307,2032,1787,1689,1611,1687,1904,2143,1968,1715,1720,1851,1697,1564,1677,1655,1508,1526,1568,1648,1714,1612,1643,1682,1770,1907,1976,1931,1895,1730,1707,2038,2269,2541,2235,1968,1944,1864,1931,2002,1602,1523,1522,1535,1591,1717,1620,1831,2878,3020,2662,2538,2704,2577,2576,2529,2183,2621,3465,3299,2448,2212,2306,3011,2864,2075,2304,3095,3514,3474,3378,2873,2159,2547,3170,3985,4371,3995,3653,3559,3440,3494,3312,2822,2479,2299,1749,1888,2002,2442,2676],[2441,2674,2675,2300,2177,2294,2146,1775,1705,2215,2452,1939,1615,1869,2216,2388,2622,2768,2717,2279,1979,1814,1636,1672,2137,2645,2592,2101,1957,1770,2040,2519,2514,2554,2382,2620,2956,3427,2968,2547,2103,1969,2330,2967,3240,2932,2867,2489,2128,2596,3108,2309,2423,3772,3674,2441,2176,1765,1484,1815,2018,1798,1738,2302,2104,2076,1937,1774,2299,2537,2348,2441,2809,3121,3130,2907,2519,2355,2907,3584,3517,2252,1936,2637,3030,2996,2908,3134,3123,3032,3294,3320,2808,2699,3298,3240,2366,2702,3184,2266,1943,2243,2018,2396,3231,3596,3383,3276,2775,2911,3078,2770,2414,2414,2221,2165,2348,2754,3020,3056,3176,2788,2546,3162,3072,2669,2513,2752,3034,3107,2727,2523,2417,2494,3025,3020,2912,2866,2623,3084,3043,2595,2896,2930,2728,2763,2906,3199,3134,2370,1842,2366,2348,2283,2040,1896,1769,1875,2024,2646,2751,1877,1882,2131,1956,2048,2061,2232,2499,2551,2313,2767,2837,2442,2150,1946,1914,2790,3430,3804,3248,3132,3316,3175,2764,2910,2972,2663,2265,2043,1687,1964,2753,2886,2766,3129,2858,2717,2978,2884,2644,2836,2978,2820,2986,3240,3273,3116,3467,3607,3432,3458,3638,3189,2194,2014,2490,2723,2306,1830,2349,2417,2587,2583,2216,2368,2320,2253,2643,3362,3967,3378,2396,1993,1895,2400,2853,3088,2644,2186,2306,2499,1946,1513,1973,2313,1986,2499,2778,2562,2389,3082,3653,3152,2788,2835,2708,2787,3060,3021,2912,2120,1459,2387,2118,2280,2510,2834,2442,2789,2545,1930,1879,1946,1927,1743,1737,1777,1796,1678,1666,1631,1670,2085,2370,2154,2362,2367,1885,1659,2168,2100,2182,2421,1856,1927,2834,3009,2354,1898,1856,2172,2330,2041,1930,1915,1943,2118,2104,2087,2220,2205,2104,1616,1375,1249,1785,2115,1800,1759,1582,1786,1683,1631,1956,2333,2278,2559,2808,2579,2668,3078,3597,2938,2423,2507,2715,2942,2822,2801,3186,2931,2802,2692,2866,3493,2700,2082,2806,3210,3204,2091,1342,1831,2498,2581,2128,1566,2246,2574,2352,2303,2323,2770,3019,2774,2846,2569,2168,2433,2932,2861,2492,2404,1988,1926,2308,2275,2166,2626,3124,2864,1997,1713,1770,2007,2096,1904,1706,1714,2075,2247,2222,2686,2939,3052,2741,2274,2247,2180,2194,1899,1897,1972,1873,1731,2224,2767,2851,3084,3692,3607,3641,4013,3528,2451,2037,1946,2728,2971,2688,2073,1300,1565,2024,1846,2176,2910,2584,2320,2082,2502,3438,3697,3475,3233,3350,3281,2401,1674,1898,2012,1908,2262,2408,2114,2202,2240,2164,2155,1796,1524,1616,1692,1936,2474,3040,2452,1562,2284,2818,3978,4296,3581,2546,2120,2438,2557,2316,2091,1918,1982,2450,3145,3150,2691,2010,2050,1913,1574,1439,1504,1773,1933,2017,1913,1488,1779,1672,1707,2057,2780,3463,3688,2998,2127,1838,1716,1532,1507,1506,1745,1766,1643,2532,3233,2636,2148,2202,2456,2288,2113,2298,2253,2040,2094,2605,2810,2854,2975,2676,2326,2278,2173,1729,1730,2120,2314,2202,1927,1654,1213,1635,2097,2110,2456,2645,2551,2280,2039,1854,1453,1580,1748,1925,1958,1834,2020,1902,2024,2058,2324,2420,2235,2480,3285,3116,2429,1871,1613,1476,1851,2435,2232,1735,1711,1756,1614,1632,1553,1670,1528,1400,1435,1682,1443,1672,2083,1817,1482,1507,1586,1893,2136,1812,1959,1893,1775,1542,1471,1632,1998,2304,2418,2052,1875,2018,2530,2788,2553,2406,2232,1886,1538,1594,1710,1798,1964,2171,2120,1837,1563,1710,1815,1910,1770,1380,1525,2438,2164,1898,1714,1906,2614,2338,1562,1440,1460,1400,1429,1669,1681,1591,1764,1628,1449,1823,2104,1673,1603,1778,1594,1717,1603,1351,1338,1322,1332,1402,1824,2440,2564,2582,2998,2762,2481,2464,2485,2206,1701,1664,1809,1807,1954,2110,2087,2255,3152,3552,2830,2222,1831,1637,1764,1724,1630,1647,1628,1346,1481,1970,1954,1589,1544,1854,1772,1688,1621,1700,1804,2066,2028,1919,2221,2080,1535,1482,1403,1320,1235,1323,1360,1346,1328,1345,1459,1471,1453,1586,1562,1510,2048,2204,2133,1772,1942,2128,1759,1660,1614,1507,1407,1376,1275,1059,1415,1994,2316,2954,3044,2456,2495,2633,2270,1903,2045,1904,1778,1980,1882,1677,1679,2156,2290,1751,1367,1661,2184,2203,1811,1930,2238,2271,1916,1418,1603,1843,1836,2055,1913,1610,1483,1389,1488,1642,1591,1206,1900,3099,2920,3012,3021,2523,2214,2336,2736,3116,2227,2110,2310,1986,2139,2020,2069,1981,2491,3304,3307,2888,3440,3239,2787,3233,3551,3580,3316,2758,2898,3096,3182,3415,3272,2792,2586,2326,1984,1980,2624,3219,3911,3984,3803,3460,3528,3372,3141,3183,3579,3870,3496,2876,2238,1334,1212,1204,1425,2230,3047,3264,3370,3451,2473,1804,2151,2734,3496,4262,4628,4240,3620,2143,2024,2645,3095,3654,3934,4028,4240,4272,4418,4571,4532,4528,3907,3396,3107,2414,2477,2621,2689,3598,4256,4143,4188,4159,4143,3901,3405,3045,2738,2978,3191,2752,2937,3535,3774,3606,3654,4014,4086,3938,3849,3924,3375,2922,2608,2402,2306,2216,2384,2305,2141,2100,1799,2116,2487,2068,1814,1655,1758,1757,2353,2753,2235,2157,1904,1893,2056,2624,1995,1871,2101,1838,1418,1296,1893,2636,2741,2688,3288,3264,3560,2481,2027,2802,3019,2598,2347,2093,1635,2176,2868,2797,2525,2511,2361,1836,1883,1618,1160,766,1594,2614,2417,1655,1585,1627,1570,1324,1081,913,921,1382,2316,2894,3082,2706,2599,2864,2991,2928,3391,4019,3708,2480,2292,2304,2013,2258,2710,2394,1941,2077,1888,1754,1962,2265,2057,1663,1490,1275,1317,1134,926,932,1403,1830,1775,1843,1998,2452,3106,2438,2269,2382,2088,1812,1706,1684,1598,1460,1678,1903,1721,1044,665,1938,1963,1555,2238,1773,1631,1586,1213,1009,1378,1624,1865,2192,2237,1644,1484,1794,1911,1984,2127,1950,1863,1758,1502,958,987,1586,1559,1456,1360,1889,2488,1910,1648,1387,968,879,1200,1637,1838,1702,1471,1470,1485,1488,1402,1411,1521,1496,1044,1269,1369,1043,1230,1274,2086,1740,1579,1962,2438,2358,2275,1966,1858,1786,2033,2414,2909,3284,3389,3128,3169,2830,2285,2009,2976,3355,3334,2822,2371,2784,3297,3363,3288,2260,1925,1945,2183,2596,3200,3336,3188,2814,2238,1926,2227,2510,2708,2475,1868,2746,3342,3239,3161,3356,3328,3134,3153,2976,2796,2642,2754,3332,3328,3605,3561,2675,2258,2128,2065,2136,2241,2338,2479,2172,2018,1599,1964,2425,2357,2448,2219,2002,2250,2230,1720,1644,2073,2290,2053,1958,2322,2177,2416,2150,2143,2482,2636,2420,2790,3464,3286,3207,2704,2800,3195,3022,2509,2205,1682,1494,1880,2383,2780,2949,3228,2923,2700,2266,1949,2045,2059,2244,2408,2412,2430,2487,2584,2622,3153,3759,3573,3570,3416,2579,1974,1573,1405,1454,1431,1500,1698,1836,1659,1562,1955,1588,1478,1554,1411,1340,1470,1759,1685,1704,2066,2884,3530,3186,2454,1914,1747,1660,1907,2604,2835,2464,2294,2202,1764,1822,2302,2329,2423,2008,2361,2972,2493,1808,1984,2112,2287,2331,1855,1704,1757,1826,1939,1914,1761,1481,1667,1708,1905,2276,2380,2312,2116,2020,2060,2349,2872,2320,1519,1487,1398,1300,1355,1580,1664,1554,1560,1430,1509,1679,1606,1519,1593,1768,1681,1481,1517,1628,1300,1611,1882,1710,1569,1659,2136,2708,3053,3150,2459,1705,1407,1439,1555,1720,1778,1684,1791,2238,4277,4936,3271,2152,1979,1776,1745,1973,2182,2049,1809,1621,1724,1791,1922,1935,1979,1990,1830,1810,1830,1802,2049,1894,2050,2020,1809,1847,2146,2308,2200,1870,1757,2092,2368,1983,1668,2447,2995,2501,2568,2389,2156,2062,1999,1746,2330,2558,2591,2542,2367,2558,2164,2568,3074,3177,3129,2833,3395,3640,2809,2289,2940,3143,2684,2416,2664,2757,2676,2500,2788,2622,2244,2337,2316,2268,1974,2383,3441,3882,3896,2910,1980,1994,1766,1976,1710,1908,2065,2610,3531,3774,3587,3761,3114,3372,3689,3142,2618,3341,3418,2829,2266,1883,1807,1919,1815,1910,2499,2551,2380,2240,2718,2159,2002,1837,1553,1827,2326,2277,1873,1699,1569,1388,1520,1488,1646,2205,2452,2036,1888,1826,1704,1846,2268,2292,2281,2111,1826,2116,2286,1942,1970,2404,2423,1833,1733,2074,1802,1692,1798,1694,1665,1632,1797,2083,2164,1904,1721,1643,1654,1631,1786,1844,1831,1618,1596,1526,1664,1572,1818,2190,1748,1603,1663,1740,2025,2030,1719,1908,1848,1745,1685,1710,1593,1730,1681,1549,2019,1919,1560,1639,2175,2321,1985,1738,1697,1591,1694,2126,2114,1789,1985,2138,1799,1851,2325,2271,2192,2034,1835,2697,3820,3121,2309,2468,2602,2467,2762,2956,2308,2482,2939,2928,2263,2287,2299,2566,2928,2880,2933,3088,2909,2462,1863,1676,1546,1704,1809,2102,2099,1943,1893,1661,1604,1825,1857,1909,2232,2152,1824,1779,1651,1680,1920,1893,1688,1733,1838,2132,2462,2462,2003,1794,1927,1971,1920,1747,1681,1798,1920,1926,1913,2076,2077,1937,1821,1874,2002,2092,1922,2451,2019,2042,1886,1616,1841,1842,1646,1618,1598,1864,1690,1735,2009,2110,1683,1458,1709,1902,2148,2474,2352,2154,2609,2844,2921,3372,3606,3785,3516,2961,2597,1998,1656,1952,2384,2443,2374,1853,2444,2625,2084,1925,1749,1654,1555,1594,1809,1886,1766,1666,2014,1882,1719,1685,1855,1789,1600,1586,1700,1562,1443,1500,1543,1676,1769,1840,1901,1808,1589,1860,2681,2658,2473,2388,2165,1742,1814,2014,1655,1165,1368,1541,1599,1844,2090,1897,2377,3729,4232,3504,2851,2807,2548,2296,2070,2114,2413,2799,2751,2335,2335,2810,2950,2235,2313,2836,2890,3154,3588,3653,3400,2872,3122,3389,3897,4464,4213,3791,3324,3068,3374,3132,2522,2370,2460,1938,2148,2164,2409,2519],[2691,3056,2877,2026,1593,1805,2106,1708,1703,1658,2094,2112,2062,2145,1850,2069,2442,2214,2139,1954,1957,1961,1967,1946,2151,2611,2553,2094,2048,2044,2409,2989,2925,3090,2973,3011,3238,3408,2969,2272,2235,2412,2414,3025,3440,3195,2782,2120,2401,2078,2620,2683,3120,3697,2745,1940,2050,1751,1555,1682,2065,2133,2325,2636,2491,2308,2089,1806,1962,2403,2743,2923,3206,3210,2979,2728,2582,2072,2473,2916,3689,3244,2923,2721,2555,2849,3156,3616,3751,3833,3750,3181,2477,2400,2858,2751,2392,2546,3013,2433,1859,2320,1941,2631,3476,3519,3221,2798,2455,3088,3121,2616,2762,2408,1721,1631,1874,2196,2419,2809,2577,2364,2655,3018,2944,2535,2568,2873,2835,2764,2504,2734,3190,3418,3414,2956,3112,3431,3370,3383,3072,3151,3423,3084,2968,2818,3139,3150,3048,2705,2408,2408,2132,2326,2555,2353,2536,2614,1960,2354,2653,2154,2333,2317,2231,2705,2404,2216,2809,3098,3087,3166,2649,2321,2231,1879,2706,3818,4112,3894,3678,3793,3896,3817,3805,3766,3519,2716,1934,1714,1387,1958,2604,2453,2580,2759,2512,3074,3409,2994,2887,2958,2534,2646,2820,2677,2894,2965,3082,3460,3362,2948,2755,2697,2288,1957,2147,2501,2196,2167,2864,2825,2588,2228,2113,2320,2531,2688,2436,3081,3733,3239,2604,2393,2206,2413,2521,2972,2586,2357,2841,2490,1651,1842,2146,2394,2818,2908,2653,2497,2352,2233,2491,2625,2777,3011,3207,3156,3133,3040,2867,2313,2817,4097,3373,2754,3086,3178,2833,2774,2398,1543,1289,1853,1750,1832,1984,2007,1879,1738,1655,1729,1986,2051,1934,2515,3278,2737,2364,1700,1803,2130,2691,2489,1969,1990,2417,2587,2397,2167,1830,2211,2533,2099,1895,1736,2036,2443,2286,2152,2035,2059,1948,1886,1983,1902,2464,2056,1982,1904,1619,1603,1657,1734,2083,2497,2965,3134,3085,2864,2459,3130,3567,2708,2381,2533,2709,2985,2754,2694,2759,2788,3020,2802,2729,2810,2567,2346,2749,3219,3422,2944,2147,1762,2168,2370,2675,2657,2732,2662,2976,2865,2614,2645,2852,3351,3505,3118,2897,2612,2718,2656,2403,2013,1974,1821,1839,2098,2634,2929,2933,2868,2145,1753,2098,2564,2577,1967,1710,2210,2257,1957,2268,2964,3276,3046,2644,2130,2311,2118,1841,2115,2275,2367,2098,2048,2397,2656,2785,2952,3462,2960,2825,2864,2562,2048,1792,1702,2641,2711,2619,2297,1451,1718,2666,2520,1750,1722,1935,2250,2049,2229,3174,3916,3515,3242,3417,3212,2555,1875,1812,1924,2054,2008,2054,2441,2756,2592,2416,2454,2112,1732,1592,1790,2131,3064,3712,2463,1795,2041,2884,3982,4321,3218,2164,2336,2301,2044,2260,2098,1961,1894,2138,2844,3077,2507,1974,1907,1713,1755,1830,1851,2056,1715,2043,2366,1826,1618,1818,2260,2499,2327,2553,2798,2507,1912,1520,1431,1749,1837,1633,1744,1634,1597,2072,2858,3052,2813,2552,2143,1873,1851,2159,2149,1785,2008,2153,2579,2851,2587,2622,2633,2525,2289,1918,1860,2113,2370,2177,1824,1890,2050,2465,2291,1926,2469,3076,2666,2065,1953,1826,1567,1543,1512,1871,1902,2029,2168,2212,2100,2037,2148,2342,2476,2588,2871,2611,1984,1854,1637,1712,2386,2938,2614,1960,1833,1845,1535,1441,1415,1592,1459,1376,1364,1478,1515,1957,2369,1926,1381,1486,1479,1809,2022,1768,2054,1795,1521,1383,1497,1599,1482,1751,2349,2425,2108,2232,2194,1970,2497,2642,2349,2282,1980,1831,1720,1543,1822,2180,2280,2145,1661,1730,1894,1904,1801,1710,1899,2131,1981,1796,1649,1890,2431,2132,1620,1532,1480,1504,1460,2042,1882,1451,1444,1597,1738,1817,2062,1688,1561,1786,1477,1494,1435,1276,1332,1445,1458,1378,1551,1716,1874,2115,2309,2119,2241,2366,2301,2009,1565,1957,2294,1654,1469,1476,1476,2002,2545,2902,3065,2944,2161,1679,1568,1658,1799,1743,1797,1771,2200,2259,2101,1790,1522,1493,1400,1532,1726,1730,1620,2022,2081,1798,1793,1617,1465,1414,1367,1355,1357,1337,1277,1385,1529,1429,1482,1447,1526,1493,1476,1887,2333,2040,1816,1986,2094,1763,1644,1699,1591,1609,1474,1412,1345,1154,1507,2083,2658,3611,3627,2386,1948,2547,2322,1860,1697,1754,1757,1830,1980,2127,1886,2020,2222,2328,1990,1932,2086,2034,1613,2013,2213,2221,1991,1606,1670,1787,1780,1967,1981,1885,1677,1531,1751,1476,1215,1356,2093,2903,3022,2667,2437,2455,2057,2053,2654,3077,2263,2344,2839,2323,2388,2790,2575,2352,2720,3570,3748,3532,3661,3879,4036,4173,4073,3581,3084,2531,2600,3012,3037,3108,2705,2132,2242,1935,1843,2308,2385,2472,3263,3529,2923,2500,2745,2820,2707,2755,3255,3598,3448,3298,2801,1850,1389,1355,1352,1866,2879,3405,3454,2691,1778,2376,2985,3804,4561,4586,3481,2287,1829,1676,2243,3082,3559,4077,4500,4571,4669,4554,4515,4564,4513,4042,2750,2453,2470,2237,2407,2668,2955,3390,4165,4180,4372,4235,4115,4424,4320,3130,2396,2497,2435,2204,2160,2600,3010,2537,2736,3731,4006,3874,3974,4314,4165,3842,3360,2946,2735,2580,2577,2304,2315,2392,1888,1992,2005,1835,1893,1908,1698,1829,2510,2409,1819,2293,1839,1785,1893,2153,1677,1697,1746,1565,1476,1303,1537,2598,2878,2557,2835,2625,3006,2725,2790,2776,2972,2852,2366,2202,2040,2397,2691,2509,2275,1803,1371,1184,1389,1460,1097,706,744,1178,1594,2100,2289,1832,1821,1804,1556,1021,992,1745,2797,2938,2567,2276,2252,3111,3374,3276,3284,3760,3561,2754,2439,2386,2013,2202,2555,2546,2584,2619,2004,1796,1682,1609,1415,1444,1595,1202,1042,1082,986,922,993,1331,1904,2458,2667,2763,2884,2266,1729,1830,2033,1976,1602,1367,1526,2055,2227,1774,1578,846,715,2798,2428,1499,1596,1473,1777,1728,1051,1062,1262,1331,1755,2178,1969,1394,1367,2061,1998,1907,2321,2204,1876,1621,1157,701,1333,1545,1755,1882,1742,2070,2208,1865,1438,1121,950,1029,1395,1743,1682,1847,1657,1775,1591,1395,1395,1405,1648,1481,1051,1387,1344,1148,1302,1486,2123,1845,1695,2266,2975,2744,2269,2066,1691,1639,2041,2481,2595,2985,3260,3440,3272,2642,1962,2269,2640,3094,3302,2597,2275,2710,3373,3287,3231,1915,1463,1588,1928,2338,2808,3220,3100,2627,2201,2160,2415,2487,2685,2313,1981,3076,3764,3850,3570,3308,3334,3189,3189,2931,2866,2911,2924,3269,3506,3479,2998,2368,2219,2420,2319,2449,2365,2209,2405,2383,2083,1551,2163,2315,2347,2836,2746,2161,2086,2310,2020,1675,2180,2423,1750,1969,2098,2463,2437,1948,1865,2279,2762,2684,2801,2809,2779,3095,2577,2964,3040,2679,2326,2051,1894,1987,2129,2302,2491,2510,2518,2196,1952,1699,2170,2490,2375,2411,2276,2316,2808,2896,2840,2664,2995,3718,3662,3960,3913,3639,2432,1580,1583,1492,1481,1431,1564,1769,1830,1842,1769,1536,1463,1534,1499,1440,1572,1702,1730,1772,1742,1971,2584,2316,1942,1850,1822,2187,2824,3420,3520,2940,2391,2350,2027,1803,2018,2111,2510,2103,2235,2577,2295,1954,2494,2587,1933,2005,1589,1853,1866,2234,2026,1911,1434,1090,1156,1452,2006,2367,2375,2294,2266,2123,2099,2569,3442,3229,1877,1397,1440,1469,1529,1545,1399,1417,1412,1588,2106,1950,1685,1549,1677,1644,1541,1541,2154,2086,1396,1668,1916,1559,1620,2034,2747,2842,2573,2337,1756,1372,1376,1512,1474,1311,1576,1780,2122,2375,2778,2423,2219,1954,2009,2045,2056,2264,2101,2020,2134,1902,1928,1889,1855,1964,2056,2159,2096,2073,1944,1978,2066,1812,2127,2056,2067,2386,2358,2189,2036,2071,2090,2198,2426,2367,2654,2756,2566,2213,2414,2194,2323,2084,1847,1788,2244,2684,2945,2357,2287,2333,1735,2404,3241,3481,3133,2997,3235,3261,2586,2524,3237,3403,3220,2414,2514,2823,2867,2858,2477,2126,2187,2464,2501,2569,2664,2801,3195,3686,3347,2732,2142,2388,2316,1674,1624,1898,1907,2069,2556,3182,3138,2408,2256,3031,3203,3021,2901,3248,3363,3118,2395,2010,2104,2293,2049,2424,2679,2684,2519,2356,2271,2007,2025,1928,1759,1957,2310,1959,1664,1762,1371,1210,1698,1799,2103,2851,2644,1989,1969,2138,1738,1605,1789,2373,2568,2177,1901,1895,1652,1764,1964,2160,2097,1752,1587,1775,1483,1443,1693,1642,1579,1895,1743,1811,1880,1829,1937,1855,1685,1651,2011,2097,1779,1560,1733,1592,1708,1644,1603,1766,1759,1826,1840,1899,1670,1584,1506,1741,1791,1687,1754,1808,1683,1721,1819,2014,2157,1908,1679,1755,2348,2492,2320,2030,1903,1876,2010,2204,2216,1927,1883,1696,1700,1893,2348,2282,2183,2191,1835,1930,3120,3254,2191,2258,2794,2834,2280,2127,2059,2473,2632,2735,2397,2647,2802,2674,2665,2928,2792,2600,2566,2170,1643,1512,1616,1590,1848,2117,1934,1737,1746,1655,1572,1612,1815,2084,2124,1706,1839,1756,1615,1770,1755,1732,1877,1870,1958,2366,2568,2317,2338,1950,1898,2072,2017,1993,1792,1636,1797,1838,1780,2067,2087,2032,1820,1859,2005,1852,1894,1953,1605,1675,1715,1846,1876,1560,1481,1663,2029,2988,2767,2484,2615,2105,1518,1644,1877,1693,1550,1822,1929,1930,2084,2308,2530,3033,2865,2996,3181,3128,3051,2667,2465,2520,2426,2393,2601,1920,2833,2851,2366,2066,1775,1673,1909,1990,1705,1681,1840,1674,2079,1974,1721,1601,1805,1637,1469,1661,1805,1683,1532,1500,1694,1688,1598,1606,1898,1998,1873,2707,3106,2929,2657,2250,2097,1693,1933,1755,1496,1156,1317,1578,1857,2110,2163,1970,2196,3075,3726,3132,2502,2271,2281,2032,1938,2408,3010,3049,2478,2406,3014,3207,2409,2377,3250,3264,2557,2109,2791,3327,3385,3244,3099,2502,2723,3851,4172,3647,3243,2939,3526,3708,3089,2784,2457,2137,1926,1842,1991,1995],[2644,3028,2953,2108,1545,1238,1688,2056,2246,2024,2248,2477,2730,2577,2203,2519,2790,2329,2317,2162,2119,2156,2263,2164,2110,2455,2520,2090,2109,2113,2425,2930,2962,3043,3039,2930,3278,3516,2890,2240,2867,3256,2482,2807,3428,3073,2238,2343,2321,2081,2626,3166,3458,3044,2207,2035,1888,1676,1813,1745,2145,2109,2308,2324,2306,2261,2114,1981,2169,2618,2894,3436,3607,3638,3297,2526,2477,2188,2064,2476,3048,2808,2415,2553,2961,3043,3141,3033,3043,3429,3222,2240,2271,2763,2867,2592,2280,2432,2856,2425,2047,2370,2142,2825,3418,3378,2836,2574,2996,3322,2798,2653,2692,1823,1789,1654,1556,1691,1920,2130,1945,2360,2640,2447,2648,2429,2483,2698,2435,2323,2072,2216,2964,3796,3769,3342,3387,3574,3458,3176,3191,3737,3020,2790,2541,2748,3448,3548,3164,2940,2783,2534,2568,2609,2842,2776,2281,2225,2194,2427,2215,2159,3055,3033,2635,2398,1947,2259,3006,2866,2836,3587,1804,1674,2456,2032,2692,3177,3104,2729,2634,2834,2984,3084,3293,3462,3597,3051,2623,2347,2362,2676,2999,2956,2829,2614,2399,2884,3020,2986,2798,2889,2424,2674,2697,2509,2556,3123,3775,3878,3451,2606,2746,3021,2294,2263,2570,2620,2546,2886,3112,2816,2555,2156,2083,2430,2611,2768,2526,2657,3006,3024,2756,2806,2754,2485,2504,2715,2310,2195,2290,2268,1722,1775,2314,2402,3354,3164,2720,2916,2764,2492,2512,2472,2630,3057,3328,3227,3024,2974,2763,2562,2899,3899,3871,3154,3123,3453,3165,2361,1887,1690,1608,1766,1560,1780,2113,1961,1824,1875,1671,1885,2475,2268,2442,3286,2669,2323,2104,2150,2219,2055,2474,2633,2246,2245,2402,2348,2252,2022,1760,2004,2117,1891,1948,1960,2294,2574,2373,2081,2031,2244,1990,2183,2084,2159,2159,1820,1619,1674,1810,1882,2169,1985,2152,2706,2814,2038,2256,2302,2054,2119,2512,2548,2599,2819,3145,3261,2812,2465,1983,2623,3053,2976,2558,2714,2819,2632,2934,3552,3652,3173,2434,2103,2589,2316,2117,2247,2366,2945,3363,2967,2198,2066,2556,3355,3536,3477,3304,2809,2514,2197,2042,1995,1910,1931,1886,1806,2232,2557,2410,2181,1845,1709,2281,2638,2724,2365,1839,1755,1855,2079,2579,3271,3508,3183,2463,1983,1952,1975,1954,2138,1980,1732,1874,2695,3153,3049,3278,2989,3069,2883,2818,2595,2556,2453,2553,2246,2671,3455,3342,2648,2020,2225,3343,2977,1721,1356,1711,2165,2710,2500,2626,3216,2900,2503,2320,2116,2120,2062,1793,2033,2515,2769,2787,2928,3073,2438,1937,1990,1838,1957,1820,1873,1820,3007,3276,2667,2356,2051,2290,2596,2778,2482,2151,3117,3173,2225,2159,2210,2084,1969,2011,2588,3039,2569,2045,2031,1968,2190,2250,2729,2577,1945,1873,1882,1794,1936,2302,2923,2906,2179,1917,2023,2152,1710,1396,1224,1656,1904,1938,1769,1618,1770,2305,2716,2763,2666,2108,1868,2026,2192,2031,1845,1746,1933,1926,2276,2435,2541,3009,2956,2230,1885,1810,1816,2187,2299,2187,2047,2442,2789,2680,2332,2348,2544,2604,2301,1813,1721,1713,1680,1544,1498,1876,2243,2363,2223,2126,1844,1670,1596,2172,2026,1938,1840,1895,1806,1633,1547,1824,2428,2719,2130,2122,1820,1726,1546,1520,1372,1490,1562,1571,1522,1581,1755,1665,2013,1867,1621,1662,1699,1856,2031,2171,2070,1629,1471,1434,1604,1616,1344,1874,2542,2218,1785,2450,2372,2069,2495,2080,1719,2024,2024,1808,1505,1526,1843,2007,2068,2214,1865,2019,2511,2307,1975,2145,2118,2201,2143,1713,1702,1621,1620,1448,1417,1528,1583,1475,1421,1542,1539,1450,1424,1713,1864,2008,1870,1592,1620,1647,1419,1322,1206,1164,1371,1692,1775,1395,1620,1737,1566,1544,1670,1878,2452,2820,2342,1459,1359,1719,1986,1622,1568,1690,1580,1522,1475,1706,2330,2376,1922,1574,1394,1484,1692,1579,1689,2296,2714,2397,2267,1833,1445,1427,1360,1350,1602,1622,1592,2037,2120,1632,1588,1523,1432,1359,1338,1427,1411,1252,1303,1654,1926,1394,1411,1459,1456,1344,1655,2025,1964,2030,2404,2374,1965,1658,1633,1470,1523,1850,1817,1740,1696,1927,1961,2130,2520,2796,3318,2920,2472,2742,2181,1731,1777,2122,1886,1885,2147,2101,2011,1964,2487,4363,3936,2293,2342,2105,1592,2025,2316,2026,1585,1543,1547,1335,1404,1658,1693,1901,1884,1742,1964,1324,1261,2086,2291,2398,2662,2163,2135,2564,1830,2281,3021,2774,2081,1976,2696,2912,3208,3052,2471,2497,2948,3696,4109,4056,4263,4660,4676,4246,3660,3150,2928,2467,2259,2287,2090,2170,2492,2919,2708,2477,2216,2622,2312,2469,3001,2777,2419,2687,3016,2906,2631,2801,3404,3674,3528,3640,2832,2081,1735,1593,1512,1682,2552,3474,2999,2072,2399,3545,4083,4456,4289,3362,2232,1903,2167,2459,3332,4101,4326,4616,4723,4723,4552,4133,3858,3683,2917,2353,1971,1999,2361,2543,2733,3145,3340,3316,3805,3854,4284,4484,4275,4295,4191,3168,2463,2788,2767,2452,2418,2272,1688,1572,2147,3086,2996,2488,2920,3719,4314,4325,4091,3776,3442,2961,2835,2531,2419,2409,2160,2082,1997,1865,1969,1807,1766,2137,2487,2631,2161,2311,2266,1997,1725,1598,1625,1944,2026,1906,1964,1798,1682,2379,2807,2767,2434,2546,2060,1612,2395,2777,3133,2659,1863,1967,1698,1741,1863,2040,2336,2118,2016,2244,2174,2063,1911,1521,1384,1393,1851,2553,2632,2166,2363,2669,2098,1418,1504,2281,2621,2256,2079,2125,2307,3364,3671,3673,3256,3263,2699,2103,2324,2394,2157,1831,1801,2161,2147,2158,1507,920,795,1197,1390,1754,1912,1356,979,1104,950,897,830,1078,1853,2671,2918,2945,2749,1997,1563,1566,1831,2354,2154,1772,1849,1960,1952,1603,1423,839,927,2763,2724,1737,1663,1781,2166,1509,911,1412,1895,2298,2059,1838,1671,1742,2103,2462,2053,1763,2236,2248,1621,1114,999,1229,1571,1598,2266,2611,2248,1964,1982,1567,1017,1717,1758,1353,1595,1726,1497,1682,1566,1859,1707,1344,1438,1498,1732,1402,897,1430,1352,1352,1315,1522,2068,2236,1802,2305,3134,2246,1939,2042,1852,1780,2105,2621,2292,2561,2731,3085,3044,2340,2293,2806,2622,2876,2890,2264,2385,2474,2865,2850,2888,1848,1285,1944,2275,2018,2279,2802,2724,2221,2272,2225,2126,2149,2532,2245,2192,3340,4132,4235,3812,3463,3340,3127,3103,3182,3150,3432,3347,3228,3138,2808,2484,2292,2347,2790,2695,2629,2496,2475,2708,2433,1870,1964,2242,1976,2299,2969,2919,2464,2231,2052,2311,2321,2135,2140,2118,2290,2503,2458,2111,2214,2344,2232,2312,2766,2706,2167,2263,2662,2917,3016,2459,2172,2238,2111,2127,2192,1977,2005,1888,1846,1759,1766,1986,1867,2477,3200,2711,2564,2495,2354,2969,3118,2480,2232,2570,3230,3635,3881,3934,3985,2850,1559,1502,1582,1509,1411,1366,1626,1884,1910,1693,1511,1506,1631,1669,1622,1645,1599,1646,1760,1799,1844,2054,2054,1950,1918,2366,3066,3487,3554,3566,3342,2561,2193,2006,1897,1918,1985,2154,2201,1985,2199,2639,2314,2343,2008,1542,1896,1723,2253,1884,1676,2048,1730,1162,998,901,1174,1861,2348,2368,2209,2180,1854,1801,2373,3162,3241,2097,1358,1436,1396,1395,1565,1558,1620,1653,1746,1677,1551,1402,1432,1515,1507,1615,1676,1632,1480,1618,1597,1860,1919,1745,1866,2155,2350,2322,1817,1489,1492,1573,1384,1284,1127,1450,1670,2049,2390,1952,1820,2126,2141,2086,1999,1956,1811,1584,1417,1699,2120,2298,2126,1847,1607,1546,1838,2145,2186,2117,1976,1737,1618,1620,1833,2218,2414,2159,1834,1911,2173,2033,2311,2299,2233,2711,2950,2880,2198,1878,1836,1856,1932,1936,2009,1972,2287,3277,3388,3234,2413,2166,2642,3526,3732,3581,3488,3012,2642,2509,3343,3530,3567,2744,2062,1933,2243,2575,2388,2211,2367,2719,3299,3459,3655,3067,2546,2850,2798,2263,1994,2125,2669,2845,2304,1989,1798,1709,1714,2080,2250,2028,1967,2570,2884,3378,3662,3288,3052,3146,2694,2336,2205,2004,2176,2185,2371,1684,1829,2171,2060,1866,2035,2216,2184,2078,2092,2122,1729,1668,1555,1501,1643,1837,1678,1981,2825,2546,1952,1700,1804,1472,1533,1789,2688,3097,2475,2186,1980,1946,2154,2138,2032,1716,1616,1587,1715,1647,1453,1512,1500,1455,1839,1786,1736,2088,1785,1835,1836,1605,1490,1576,1766,1580,1666,1934,1723,1741,1745,1580,1668,1681,1894,2038,1905,1788,1407,1253,1411,1997,2123,1836,1913,2002,1620,1975,2330,2684,2146,1802,2049,2263,2067,2067,2164,2041,2059,2163,2269,2531,1924,1691,1448,1511,1826,2221,2128,2316,2231,1890,1634,1676,1759,1847,2180,2767,2803,2313,2050,2036,1961,2491,2796,2429,2551,3370,3444,2608,2672,2654,2402,2390,1854,1622,1727,1737,1570,1824,2049,1776,1737,1888,1882,1734,1786,1742,1956,1851,1749,1873,1630,1760,1970,1850,2106,2114,2026,2176,2222,2148,1922,1908,1874,1921,1859,1939,1860,1773,1765,1752,1738,1979,2185,2081,2097,2049,2050,1926,1748,1867,1899,1814,1700,1806,1922,1684,1573,1507,1590,1338,1666,2433,2845,2613,2003,1766,1748,1998,1826,1702,1771,1959,1942,1875,1669,1763,2383,2542,2844,3137,2907,3021,3008,2915,2362,2336,2294,2042,1842,2426,2567,2119,1655,1720,1956,2100,1868,1736,1707,1867,1736,1630,1594,1564,1553,1725,1882,1923,1803,1758,1772,1842,1808,2020,1802,1633,1717,1783,1725,2003,2542,2307,2601,2798,2737,2344,1865,2063,1804,1699,1615,1492,1580,2250,2660,2090,1647,1831,2058,2477,2567,2143,1999,2162,2170,2486,2710,2799,2807,2619,2799,3045,2438,2482,3348,3605,3420,3016,2362,2437,2667,2411,2473,2750,2391,2303,3291,3768,3505,3267,3326,3604,3398,2851,2524,2087,1869,1926,1993,1888,1886],[2564,2739,2699,2352,1968,1836,1926,2490,2595,2295,2239,1897,2118,2409,2574,3009,3454,3278,2677,2194,2035,2147,2372,2302,2042,2242,2590,2532,2192,2166,2427,2844,2932,2843,2887,2786,3082,3355,2564,2288,3348,3289,2458,2901,3279,2545,2160,2402,1968,2103,2718,2993,2701,2326,2109,2201,1724,1566,1855,1821,2183,2189,2252,2147,2149,2202,1895,1864,2294,3121,3112,3331,3391,3441,2790,2289,2408,2374,2329,2359,2157,2251,2734,3024,2883,2852,2894,2356,2485,2917,2452,2068,1998,2099,2315,2180,1862,1969,2208,2342,2151,2039,1924,2496,3300,3087,2591,3096,3649,3699,3199,2794,2530,1421,1376,1567,1607,1979,2230,2191,2020,2308,2326,2138,2578,2424,2141,2202,2061,1922,1898,1909,2307,2734,2983,3270,3687,3817,3690,3155,3053,3207,2009,1985,2138,2879,3373,3001,2325,2498,2826,3000,2996,2438,2774,3164,2552,2834,2895,2730,2444,2049,2421,2832,2596,2402,2304,2547,2974,2685,2868,3172,1709,1723,2645,2310,2665,3068,2590,2331,2325,2244,2354,2685,2872,3016,3077,2916,2762,2462,3001,3221,2722,2340,2373,2540,2336,2454,2016,1873,2499,3145,3088,2828,2679,2775,2949,3228,3749,3930,2983,1730,2889,3287,2048,2351,3145,3063,2922,3465,3121,2307,1836,1858,2213,2104,2439,2684,2798,2404,2260,2339,2758,3029,3012,2774,2589,2509,2092,1834,2214,2395,2116,1859,2288,2568,3032,2865,3206,3879,3405,2754,2854,2845,3064,3155,3381,3399,3184,2952,2916,2809,2764,2933,3180,2983,2569,2521,2464,1998,1696,2466,2100,1792,1791,1659,1887,1834,1627,1810,1930,2271,2590,2199,2869,2863,2324,2286,2347,2801,2310,1556,1940,2242,2520,2655,2364,2277,2062,1887,1643,1792,1902,1808,1808,1907,2034,1985,1943,1659,1777,1973,2048,1973,1920,2128,1993,1768,1855,2187,2241,2491,3023,2557,2710,3216,2949,2550,2542,1950,1757,2361,2602,2154,2326,2542,3065,3476,3341,3272,2594,2777,3099,2553,2388,2531,2474,2467,2637,2987,3218,3013,2680,2664,2604,2222,1903,1890,2428,3146,3430,3191,2338,2492,2898,3235,3071,2921,2632,2432,2262,2198,2269,2061,1925,1909,1843,1929,2045,2359,2384,1699,1755,1913,2292,2681,2626,2173,1360,889,1240,2102,2871,3386,3421,3166,2476,2458,2492,2714,2679,2142,1570,1469,2008,2832,3218,3108,3049,2990,3103,3220,3067,2487,2198,2442,2201,1731,2633,3295,2776,2357,1759,2183,3455,3397,2430,1748,1861,2198,2527,2334,2111,2199,2244,2557,2163,2085,2216,2271,1835,2435,3060,3097,2790,2813,3319,2880,1957,1707,1803,2574,1898,1601,2024,2830,2567,2388,2271,1980,1881,1975,2079,1958,2265,3242,3924,3142,2235,2095,2088,2079,2080,2376,2984,2976,2429,2629,2207,2009,2252,2909,2500,1966,1801,1866,1981,2306,2859,3144,2876,2485,2264,2172,2009,1644,1486,1388,1417,1748,2056,2000,1640,2017,3145,3051,2601,2450,1899,1791,2034,2100,2096,2309,2305,2070,1767,1783,2350,3045,3085,2858,2002,1767,1987,2238,2149,2581,3105,2468,2281,2914,2699,2513,3333,3084,2907,3133,2426,1710,1771,2178,2121,1810,2288,2433,2162,1876,2027,1885,1666,1760,2089,2066,1698,1519,1553,1356,1349,1779,1613,1763,2038,2165,2105,1527,1374,1455,1468,1379,1517,1576,1577,1684,1743,1663,1570,1697,1685,1644,1590,1741,1896,1932,2170,2098,1729,1568,1656,1858,1813,1887,2662,2841,2374,2126,2335,2692,2718,1984,1071,1869,2759,2232,1485,1366,1794,2194,1820,1819,1843,1703,1885,2570,2627,2162,2257,2470,2877,2509,1715,1592,1643,1614,1590,1559,2132,2492,2159,1974,1491,1477,1358,1594,2124,1887,1951,1763,1490,1650,1606,1316,1307,1328,1171,1363,1605,1624,1384,1575,1940,1636,1409,1541,2046,2879,3681,3066,1663,1460,1349,1509,1592,1786,1954,1683,1475,1489,1556,1535,1575,1584,1465,1350,1407,1453,1533,1716,2316,2221,1810,1731,1561,1527,1475,1382,1336,1439,1402,1563,1706,1631,1514,1463,1426,1455,1512,1578,1507,1349,1227,1480,1649,1555,1282,1287,1360,1213,1186,1650,2046,1809,1714,2202,2527,1826,1521,1354,1340,1532,1884,1580,1698,2123,2337,2349,2047,2280,2464,3073,2537,2148,2113,2045,1885,2303,2232,1930,2049,2158,1963,1870,2119,2784,2978,1842,2060,2365,1925,1638,1806,2107,1889,1478,1394,1444,1050,956,1419,1976,1999,1769,2035,1658,1501,2168,2448,2585,2863,2979,2480,2395,2415,2157,2192,2158,2226,1802,1863,2674,3108,3449,3201,2962,3316,3616,4000,4465,4104,4661,4860,4612,3729,2994,2776,2763,2613,2175,1965,1946,2088,2497,3331,2932,2461,2227,2388,2451,2924,2890,2413,2659,3063,3220,2866,2643,2945,3318,3286,3464,3256,2622,2294,1932,1839,1851,1675,1971,2320,2367,2998,3483,2808,2914,3720,3033,1952,1807,2430,3337,3861,4527,4840,4871,4809,4545,4187,3271,2621,2338,2134,1887,2095,2448,2780,3363,3233,2856,3017,2628,2778,2372,2712,3400,4074,4483,4339,4206,3805,3767,4071,3957,3311,3173,2899,2271,2494,2910,3108,2553,2145,2379,3096,4072,4229,4261,4352,4236,3751,3392,2952,2604,2378,2221,2280,2084,1860,1908,1908,2019,2475,2613,2612,2213,2074,2348,2180,1691,1630,2144,2111,2207,2490,2519,2120,1682,1967,2349,2231,1976,1893,1603,1844,2318,2377,2133,1462,1398,1901,1643,1887,2036,2347,2701,2283,1914,1999,1807,1803,1892,2031,1744,1937,1865,2339,2584,2448,2413,2314,2079,1919,2135,2168,2443,1869,1779,1922,2820,3563,3642,3562,3325,3271,2617,2004,2282,2680,2338,1691,1537,1997,1875,1513,647,469,1032,1376,1386,1867,2257,1815,1018,1093,1084,968,844,951,1592,2620,2755,2437,2131,1647,1639,1954,2122,2465,2286,1952,2410,2215,1897,1634,1665,1291,1315,2898,2843,1222,995,1844,2288,1556,1259,1958,2421,2520,2182,2127,2464,2344,1914,1862,1661,1456,1480,1642,1140,1012,1311,1789,1820,2087,2723,2825,1955,1383,1638,1085,1514,2707,2500,1877,1683,1559,1493,1636,1854,1953,1761,1520,1454,1526,1617,1303,1069,1726,1490,1413,1127,1030,1554,1816,1763,2423,3053,1654,1365,1785,2461,2225,2396,2792,2857,2963,3012,3174,2851,2310,2425,3025,2681,2784,2893,2489,2665,2666,2837,3051,2864,1833,1598,2405,2390,1882,1927,2109,2209,2536,2413,1978,1723,1713,2160,2132,2348,3431,4024,4300,3937,3694,3542,3442,3284,3354,3431,3421,3562,3649,3314,2764,2670,2482,2556,3109,3124,2602,2342,2305,2305,1879,1550,1921,2040,1984,2202,2801,2953,2824,2605,2224,2056,2216,2215,2132,2259,2523,2489,2214,2338,2386,2416,2605,2382,2679,2559,2057,1787,2042,2309,2206,1849,1809,1926,1745,1509,2041,1889,1773,1653,1435,1619,2200,2752,2443,2371,2879,2496,2655,2816,2570,2514,2351,2172,2598,2719,2875,3464,3682,3787,3824,2885,1779,1543,1418,1339,1446,1615,1959,2063,1924,1934,1821,1583,1585,1656,1792,1939,1736,1759,1790,1876,2007,1929,1904,1989,2491,3198,3584,3695,3520,3131,2455,2156,2389,2092,1893,1643,1402,1613,2151,1927,2085,2918,2225,1678,1827,2377,2625,2027,1952,1937,2007,2267,1957,1318,1037,915,1069,1692,2236,2344,2289,2334,2242,2195,2311,2583,2902,2583,1484,1410,1485,1612,1774,1647,1860,1865,1747,1549,1437,1460,1606,1598,1529,1594,1534,1685,1714,1641,1673,1635,1854,1756,1795,2070,2077,1806,1333,1459,1616,1713,1375,1260,1504,1644,1693,2110,2584,2648,2195,1930,1965,1782,1597,1719,1756,1649,1489,1665,1915,2059,1912,1331,1094,1481,2017,2117,2092,2154,1814,1504,1742,1805,1900,2287,2300,1624,1200,1937,2418,2227,2878,2913,2671,2663,2884,3109,2660,2136,1724,1631,1746,1675,1646,1711,1960,2633,3480,3487,3039,3024,3373,3956,3898,3619,2976,2706,2798,2862,3354,3420,3587,2817,2329,2142,2302,2102,2029,2733,3483,3751,4207,4428,4152,2939,2942,3105,2448,1890,1895,2018,2272,2718,2819,2323,1624,1580,2217,2017,1945,2233,2589,3121,3145,2968,2944,2298,2088,1855,1803,2002,1902,1992,2124,2203,2229,1737,1348,1533,1980,2132,2497,2169,2094,2257,2325,2282,2032,1847,1787,1777,1671,1808,1965,2592,2690,1939,1802,1990,1788,1712,1557,1906,2376,2404,2411,2417,1985,1986,2264,2154,1816,1756,1604,1561,1602,1725,1721,1558,1581,1626,1667,1614,1822,2001,1601,1586,1650,1699,1648,1516,1333,1293,1612,1914,1646,1549,1648,1731,1859,1765,2149,2099,1749,1628,1459,1327,1419,1699,1776,1823,1685,1768,1559,1886,2630,2934,2442,2277,2281,1942,1552,1677,2059,2050,1880,2106,2344,2436,2048,1788,1600,1458,1963,2441,2211,1935,1936,1858,1611,1537,1951,2309,2395,2449,2232,2079,2344,2450,1966,2213,3043,2840,2489,2928,3097,2894,2551,2334,2202,2466,2083,1676,1658,1585,1610,1734,1914,1853,2001,1860,1990,2140,1938,1792,1905,1793,1580,1553,1713,1908,1837,1759,2114,2314,2414,2646,2491,1992,1695,1832,2082,1801,1893,2019,1897,2234,2130,1988,2240,2252,2267,2167,2059,2120,2093,1918,1730,1770,1747,1758,1547,1802,1604,1511,1661,1595,1707,1601,1677,2008,2340,2017,1820,1876,1918,2104,1984,1515,2097,2508,2116,1690,1588,1853,1965,1867,2315,2458,2301,2875,3414,2867,2363,2285,2182,2050,2088,2203,2408,2339,2155,2025,2308,2380,2145,1916,1820,1648,1798,1865,1641,1520,1533,1780,2463,2842,2303,1830,1726,2049,2166,2272,1927,1747,1729,1572,1478,1701,2092,2110,2464,2644,2701,2455,2600,2684,2207,1818,1788,1616,1514,1660,1820,1782,1940,2379,2355,2419,2361,2176,2416,2392,2145,2546,3035,3142,3051,2828,2845,2571,2488,3146,3326,2949,2670,2967,3123,2984,2719,2473,2535,2888,3090,3096,3654,3750,3763,3422,3499,3310,2747,2702,2850,2706,2593,1952,2272,2569,2950],[2666,2686,2568,2356,2429,2456,2318,2950,3109,2867,2360,1865,2072,2426,2312,2544,2868,3183,2808,2193,2213,2221,2396,2556,2225,2197,2565,2613,2525,2350,2172,2219,2124,2026,2066,2110,2574,3142,2459,2485,3288,3138,2396,2865,2814,1969,1952,2072,2211,2558,2587,2518,2172,2098,2009,1449,1527,1904,2182,2315,2190,2289,2588,2388,2148,2166,1954,2025,1972,2430,3194,3439,3596,3361,2667,2307,2428,2436,2380,2272,2150,2420,2975,3009,2618,2403,2744,3105,3250,2754,2629,3032,2896,2811,2400,2011,2150,2698,2785,3328,3593,3608,3388,3009,3378,3492,2934,3496,3698,3329,3193,2598,3141,2566,2383,2349,2212,2369,2439,2417,2338,1972,1957,1951,2244,1957,1901,1890,1725,1658,1770,1954,2036,2084,2398,2667,2670,2838,3277,3107,3101,2778,2210,1960,2670,3244,3178,3243,2971,3012,3083,2319,1866,2298,2923,3356,2457,1813,2120,2190,2050,1998,2160,2327,2473,2536,2002,2077,2443,2100,2257,2466,2246,2486,3096,3332,3474,3286,3096,2574,2294,2279,2417,2976,3382,3508,3166,2784,2458,2366,2934,3153,2304,1958,2310,2570,2546,2725,2018,1671,2458,2909,2551,2707,3282,3322,3384,3581,4108,4073,3131,2402,3572,3021,2160,2103,2700,2793,2830,3194,2596,2175,2312,2407,2460,2188,2758,2972,2966,2636,2232,2670,3276,3178,2769,2425,2182,2334,1989,1974,2181,2565,2380,2308,2247,2324,2581,2973,3952,4717,4160,2962,2857,2797,3328,3496,3426,3172,2987,2931,2958,2975,3352,3580,3286,2547,1990,1710,1684,1835,1830,2008,1854,2186,2174,1726,1844,1690,1653,2149,2286,2093,1854,1944,2629,2745,2832,2922,2851,2474,1983,2126,1908,1539,1997,2156,1887,1757,1692,1804,1830,1639,1554,1510,1554,1553,1772,1902,1813,1755,1833,1675,1814,2041,2082,2230,2253,1767,1854,2409,2398,2624,2566,2520,2503,2937,3252,3047,2626,2231,2150,2504,2513,1805,2172,2256,2407,2929,3331,3303,2664,2900,2542,1487,1557,1807,2452,2702,1864,1292,1709,2548,2376,2204,2464,2679,2742,2535,2633,2924,2964,2690,2866,3366,3067,2813,2294,2363,2705,2966,3086,2920,2323,2045,2086,1775,1902,2432,2315,2320,3010,2454,1845,1757,1904,1895,1694,1627,1282,1219,1444,1742,2091,2818,3238,2712,2387,2225,2067,2610,2940,2372,1821,1921,2537,2938,3037,3186,2954,3117,3308,3282,3063,2469,2148,2128,1707,1785,2808,2280,2016,2065,2066,2648,3162,2896,2303,2029,2114,2146,2036,1905,2167,2150,2044,2541,2458,2818,2750,2480,2000,2320,2800,2436,2456,2878,3680,2895,2205,2467,2808,3288,2701,2663,3072,2658,2136,1949,1718,1511,1733,1637,1496,1693,2386,3062,3930,3817,2886,2214,2156,2358,2266,2394,2876,2944,2678,3159,2067,1555,1880,2070,1986,1975,2200,2642,2452,2440,2801,2497,2237,2320,2443,2285,1780,1789,1844,1549,1505,1861,2114,2415,2156,2590,3506,3054,2584,2587,2065,1894,1942,1958,2160,2413,2565,2197,1492,1419,1761,2661,3076,2996,2453,2333,2381,2134,2069,3144,3720,2250,2143,2793,2447,2391,2929,2997,2973,3285,2824,1942,1730,2314,2644,2213,2104,1699,1672,1930,2156,1960,1840,1814,1706,1636,1434,1510,1596,1422,1770,2098,1538,1669,1767,1832,1512,1339,1472,1583,1480,1353,1513,1497,1360,1460,1718,1711,1599,1515,1522,1466,1514,1681,1781,1889,1816,1674,1936,1843,1792,1671,2577,2845,2644,2731,3275,3193,2865,2591,2554,2133,1532,2125,2377,2200,1700,1708,2070,2002,1702,1671,1672,1588,1752,2463,2827,2536,2177,2325,2587,1975,1629,1555,1437,1779,1976,1791,2499,2983,2680,2382,1607,1520,1485,1672,2184,2121,1924,1776,1544,1608,1558,1296,1201,1273,1098,1245,1243,1311,1266,1387,1812,1728,1464,1661,2032,2768,3621,3386,2132,1657,2082,2785,2354,2333,2138,1592,1335,1369,1460,1375,1373,1494,1580,1424,1445,1603,1904,1895,2133,2198,1703,1409,1433,1559,1446,1396,1500,1571,1890,1931,1724,1704,1539,1397,1488,1483,1528,1586,1475,1484,1429,1422,1532,1349,1331,1349,1303,1331,1381,1617,1780,1670,1582,1700,1724,1555,1396,1394,1441,1556,1662,1561,1749,2054,2246,1931,1839,2042,2620,2801,2144,1721,1679,1776,1876,1919,1716,1848,1968,2014,2057,2061,2586,2599,2019,1641,2107,1875,1677,1789,1501,1273,1410,1702,1743,1415,854,920,1362,1831,1869,2015,1991,1570,2554,3299,2834,3076,3430,2887,2394,2237,2388,2337,1826,1771,2392,2261,2248,2754,3210,3407,3383,3303,3660,3886,3722,3773,3730,4177,4456,4249,3482,2755,2492,2479,2409,2233,2552,2581,2368,2546,2640,2226,1803,2084,2171,2247,2336,2257,2322,2600,2621,3138,2922,2631,2754,3112,3210,3510,3182,2585,2362,1923,1723,1824,1870,2055,2361,3298,3537,3082,2308,2823,3387,2492,2475,3065,3476,4284,4652,4859,4769,4188,3432,2836,2362,1877,1904,2086,2343,2623,2718,2980,3166,3501,3320,2809,2284,1680,1607,1888,2370,2377,3116,4029,4208,4387,4112,3969,4340,4328,4276,4140,3718,3408,3252,3249,3537,3286,2987,2568,2854,2933,3288,3863,4233,4399,4266,4176,3695,2840,2314,2135,2061,1793,2089,2220,1836,1864,2130,2468,2558,2424,2248,2104,2375,2229,1862,1885,1883,2031,2444,2291,1855,1417,1701,2298,2334,2104,2104,1945,1858,2002,1742,1560,1634,1869,2099,1931,1876,2016,2340,2400,2035,1590,1576,1331,1844,2218,1756,1679,2355,2093,1907,1939,2294,2067,1784,1758,2115,2253,1912,2514,2244,1782,2125,3311,3627,3517,3571,3601,3445,3039,2836,2562,2818,2412,2222,2410,2182,1308,695,436,886,1839,1982,2420,2198,2104,1720,1248,1175,1145,1108,1334,1510,1907,2437,2407,2070,1897,1623,1932,2083,2529,2557,2617,2526,2602,1900,1613,1597,1706,1379,1771,2455,1599,556,681,1434,2288,2420,2058,2208,2187,2168,2093,1751,1937,1691,1860,2247,2419,1750,1335,1246,1003,1156,1522,1492,1617,2281,2715,2302,1063,862,1379,1267,2321,2972,2382,1764,1456,1473,1699,1822,1726,1421,1299,1407,1275,1478,1719,1223,1079,1493,1344,1282,1120,1128,1551,1498,1617,2294,2869,1526,1569,1825,2902,3102,2798,2982,3038,2646,2440,2762,2814,2172,2852,2570,1797,1982,2586,2762,2830,2954,3142,3300,2886,1598,1605,2274,2157,1790,1854,2046,2253,2290,1993,1771,1592,1722,1895,1715,2103,3432,3850,4123,3978,3942,3833,3671,3427,3306,3218,3158,3472,3593,3430,3130,3489,3088,2484,2584,2720,2512,2141,1836,1790,1521,1627,2212,2648,2053,2350,2796,3089,3137,3172,2774,2106,1791,1993,2072,2077,2105,2279,2474,2586,2470,2677,2730,2534,2421,2293,2163,2100,1948,1958,1986,1772,1818,1587,1446,1391,1762,1553,1354,1346,1704,2584,2894,2177,1839,1851,2036,1831,2154,2542,2356,2128,2090,2010,2142,2329,2800,3248,3077,3210,3238,2661,1971,1789,1895,2087,2431,2705,2843,2712,2193,2199,2094,1949,2244,2954,3168,2920,2652,2140,1830,2343,2508,2272,2170,2730,3365,3617,3663,3676,3516,2899,2128,1839,2221,2176,1574,1321,1385,1638,1965,1885,2021,2260,2185,1724,1581,2108,2303,1836,1748,2133,2233,2238,1901,1472,1517,1211,1420,1862,1994,2274,2264,2034,2039,2229,2338,2198,2598,2876,1545,1328,1616,1589,1343,1565,2316,2178,1670,1456,1396,1483,1438,1443,1415,1500,1432,1626,1520,1536,1748,1610,1544,1483,1634,1843,1493,1490,1380,1439,1606,1726,1351,1227,1498,1655,1966,2236,2194,2054,1694,1531,1761,1618,1538,1692,1883,1824,1543,1406,1449,1528,1434,1307,2098,2354,2455,2106,1976,2149,1859,1823,1984,1894,1854,1936,1977,1468,895,1353,2437,2568,3017,2864,2467,2121,2402,2702,2764,2354,1676,1732,1897,1820,1834,1710,1846,2185,3371,3840,3334,3241,3837,3874,3701,3622,2634,2189,2108,3143,3432,3536,3610,3604,2968,2253,2116,2007,2609,3197,3133,3166,3853,4111,3396,2864,2822,2300,1859,1818,1910,1990,2058,2327,2394,1870,1466,1507,2048,1882,2500,3040,2568,2798,3240,2906,2458,2095,2143,2358,2500,2368,2436,2454,2242,2385,2600,2356,1721,1847,2131,2013,2146,1989,2432,3074,2951,2723,2338,1924,1854,1707,1630,1793,1889,2248,2218,1753,1683,1858,1926,1953,1671,1742,1648,1553,1809,2191,2145,2201,2267,2218,2022,1984,1892,1960,1804,1865,2062,1937,1908,1738,1512,1812,1666,1728,1858,2206,2004,1600,1557,1588,1608,1520,1462,1531,1686,1748,1588,1538,1849,1843,2100,2289,2369,2129,1942,1990,2002,1928,1893,1894,1723,1560,1519,1970,2711,2610,2590,2758,2213,1617,1604,1549,1594,1817,1810,2016,2286,2113,2068,2101,1668,1780,2553,2817,2580,1859,1665,1720,1913,1917,1934,2072,2128,2010,2384,2807,2690,2589,2492,2963,3410,3226,2790,2435,2433,2644,2501,2466,2374,2720,2603,1628,1562,1567,1476,1542,1761,1904,2250,2167,2058,1974,1918,1927,1876,1648,1491,1746,1921,1793,1706,1809,2132,2332,2400,2363,2321,2315,2004,2017,1836,1720,1950,2020,2260,2468,2166,2041,2676,2830,2820,2503,2285,2182,2082,2019,1819,1824,1770,1762,1806,1731,1502,1603,1816,2048,1938,1955,2046,1932,2008,1787,1937,2033,2150,2186,2122,2032,2788,2806,1936,1417,1554,1932,1902,1771,2138,2072,2342,2524,2646,2612,2350,1930,1893,2086,2419,2200,2193,1788,1699,1809,1960,2030,1761,1783,1721,1520,1787,2052,1721,1569,1621,1881,2353,2767,2430,1823,1578,1739,2220,2487,2092,1878,1844,1269,1195,1526,1992,2200,2372,2438,2292,2462,3119,3343,2900,2486,2020,1735,1776,1644,1604,1804,2217,2269,2275,2578,2473,2522,2872,2520,2121,2433,2911,3491,3738,3015,2678,2326,2916,3614,3265,2346,1644,1945,3024,3585,3216,2495,2298,2734,3448,3720,3880,3494,3554,3620,3286,2491,1859,2265,2543,2252,2685,2076,2203,2634,2928],[2810,2453,2145,2198,2461,2565,2601,3128,2878,2792,2664,2608,2681,2576,1966,1609,1837,2456,2578,1917,1911,2012,2219,2099,1993,2171,2497,2501,2534,2266,1963,1957,1914,2198,2238,2230,2292,2790,2686,2640,3091,3112,2779,2780,2320,2027,2186,2564,3001,2752,2348,2221,2101,2199,1992,1744,2195,2375,2531,2729,2396,2280,2555,2519,2098,2076,2318,2398,2257,2231,2767,3332,3495,3285,2922,2546,2362,2365,2441,2350,2376,2401,2609,2731,2591,2370,2299,2781,3295,3100,3448,3544,3352,3096,2406,2067,2975,2933,2613,3391,4056,4093,3494,2796,3395,3441,2996,3516,3708,3321,3535,3353,3528,3074,2797,2955,2656,2453,2339,2236,2527,2338,2293,2075,1992,1771,2067,2007,1600,1501,1561,1758,2124,2417,2687,2452,1879,1863,2159,2359,2487,2313,1933,1941,2888,3185,3043,3376,3465,3488,2648,1862,1755,2413,3046,3265,2580,2151,2246,2159,1905,2160,1914,2133,2266,2209,1896,1847,2127,1553,1787,2882,3045,3043,3364,3323,3364,3115,2739,2987,2994,2890,3134,3498,3639,3311,2932,2669,1985,1930,2523,2485,1657,1506,1824,2198,2412,2680,2138,2022,2761,2956,2876,2932,3719,3551,3538,3675,4233,4237,3839,3599,3465,3055,2581,2076,2603,2894,3332,3230,3068,2732,2580,2470,2264,2459,2854,2868,2708,2105,1915,2347,2502,2400,2377,2165,2019,2554,2252,2230,2184,1952,2290,2434,2190,2160,2298,3073,3886,4534,4204,3740,3213,3007,3495,4025,3855,3403,2972,3182,3428,3661,3786,3985,2683,1910,1669,1491,1572,1719,1698,1475,1504,2012,1855,1746,1651,1590,1744,1988,1944,1814,1891,2302,2820,3275,3105,3186,2977,2918,2905,2880,1870,1686,2467,2543,1888,1652,1839,1954,1806,1532,1559,1513,1389,1470,1792,2118,1867,1736,1853,1676,1631,1876,1932,2303,2162,1606,1839,2549,2522,2272,1870,1952,1811,1790,2149,2218,2237,2931,2864,2671,2665,2020,2450,2142,1403,1686,2486,2818,2682,2984,2568,1670,1565,2519,2825,2667,2090,2141,2071,2323,2322,2774,3558,3514,3218,2533,2376,2350,2578,2400,2720,2935,2857,2758,2459,2709,3736,4223,4199,3824,2597,1937,1810,2046,2584,3011,2434,2203,3213,2989,1900,1536,1611,1828,1779,1959,1879,1479,1467,1489,1696,2154,2363,2309,2275,1863,1681,2222,2729,2379,2280,2397,2875,3115,3276,3230,3103,3295,3243,3095,2745,2399,2453,2408,2323,1932,2562,2096,2002,1909,1992,2244,2266,2185,2314,1865,2002,2300,1900,1817,2029,2275,2249,2479,2808,2946,2984,2920,2365,2710,2776,2380,2135,2613,3242,2573,2607,3112,3047,2974,2901,2736,2621,2170,1942,1832,1783,1708,1924,1887,1760,2114,2549,3295,4083,4317,3848,3007,2269,2507,2768,2579,2798,2758,2902,2883,2177,1845,2053,1951,1794,1910,1854,1865,1957,2253,2307,2274,2236,2154,2288,2195,1654,1637,1786,1624,1716,1870,1873,2092,2118,2572,3616,3363,2676,2350,2137,2054,2072,2453,2358,2369,2205,1823,1511,1580,1616,2065,2845,2974,2676,2423,2110,1965,2169,2362,2767,2159,2165,2340,2416,2450,2380,2131,2185,2816,3082,2589,2123,1809,1960,1907,1996,1730,1686,1879,1873,1778,2048,2039,1820,1481,1403,1526,1560,1555,1953,1781,1673,1720,1684,1697,1501,1401,1401,1530,1520,1381,1780,1504,1354,1321,1620,1722,1714,1621,1587,1528,1504,1729,2045,1926,1806,1843,1871,1715,1800,1669,2348,2710,2554,2976,3060,2621,2437,2412,2661,2375,2025,2066,2131,1837,1671,1893,1946,1741,1736,1779,1772,1675,1883,2230,2504,2126,1826,1881,2129,1822,1742,1814,1802,1902,1798,1827,2684,2865,2647,2460,2048,1748,1664,1626,2009,2081,1969,1798,1573,1582,1442,1332,1225,1162,1159,1199,1270,1306,1351,1435,1627,1864,1745,1736,2089,2532,2428,2461,1946,1647,3254,4751,3661,2291,1750,1766,1578,1476,1576,1503,1542,1706,1720,2047,2395,2724,2886,2474,2069,1971,1400,1219,1567,1947,1638,1446,1633,2194,2815,2662,2066,1537,1355,1368,1483,1506,1527,1522,1341,1483,1442,1384,1370,1366,1502,1352,1310,1366,1333,1487,1498,1489,1495,1566,1661,1614,1467,1459,1578,1501,1500,1494,1511,1718,2333,1860,2407,2670,2751,2637,1990,1627,1696,1669,1711,1731,1574,1739,1876,1800,1734,2215,2613,2411,2019,1667,1797,1919,2382,2179,1581,1107,1158,1292,1748,1735,1350,1369,1570,1710,1924,2091,1447,1196,2590,3404,3130,3083,3116,2757,2095,1916,2307,1909,1663,2321,2732,2243,2437,2978,3776,3736,3698,3792,3984,4168,3985,3576,3338,3547,4080,4105,3432,2786,2604,2566,2180,2207,2799,3140,3160,2371,1863,1926,1883,1890,1546,2221,2201,2117,1989,2183,2246,3006,2910,2674,2689,2897,3162,2655,2338,2404,2168,2029,1842,1979,2336,2529,3217,3975,2993,1976,2472,3528,3934,3530,3930,4318,4785,4976,4660,4197,3308,2322,1856,1946,2001,2243,2680,2820,2886,2677,2576,2870,3283,3312,2871,2521,1896,1548,1331,1809,2475,2458,2692,2910,3276,3751,3489,3165,3523,4019,4484,4563,4368,4144,3852,3682,3710,3304,2431,2314,2091,1432,1853,2947,3664,4027,4192,4358,4202,3608,2823,2341,2111,1672,1855,2170,2176,1935,1677,1811,1957,2107,2181,2505,3063,2686,1650,1490,1966,1973,1749,1874,2194,2083,2117,2431,2500,2087,1665,1186,1566,1852,1574,1847,2088,2222,2181,1977,2137,2524,2374,1944,1873,1509,1488,1667,2104,2328,1635,2072,2653,2563,2161,2269,2534,1488,1324,1554,1721,1783,2589,3217,2527,2050,2327,3140,3519,3404,3609,3726,3419,3197,3254,2740,2685,2373,2348,2481,1577,610,741,1069,1368,2157,2548,3185,2152,1586,1307,1135,1313,1550,1770,1998,1975,1950,1796,1947,1718,1932,2097,2646,3123,3198,3334,3341,2880,2027,1588,1318,951,1056,1334,1826,1138,678,1302,1560,1919,2485,2646,2439,2030,1880,1986,1787,1649,2392,2147,2534,2741,2765,1914,1426,1247,1165,1463,1450,1216,1376,1825,1954,1384,663,976,1625,1756,2226,2337,1943,1515,1315,1591,1946,2040,1562,1280,1681,2171,2355,2144,1992,1267,1076,1614,1409,1340,1090,1316,1645,1671,1691,2802,3058,2002,1953,2218,3184,3257,2852,3260,2829,2329,2423,3017,2646,2083,2799,2503,1855,2065,2492,2418,2489,2668,3055,3219,2723,1446,1644,2165,2024,1948,1949,2053,1927,1544,1657,1924,1775,1894,1986,1829,2523,3830,4152,4111,3932,4216,4118,3547,3242,3041,3016,3049,3283,3351,3548,3514,3854,3863,2603,1864,2021,2117,2079,1653,1488,1502,1853,2007,2255,1946,2398,2831,3105,3249,3188,2929,2411,2072,1986,1787,2014,2062,2367,2465,2689,2703,2372,1937,1951,2159,2077,1783,1547,1522,1667,1764,2073,2367,2009,1851,1588,1194,1104,1388,1503,1986,2895,2875,1900,1936,1863,1997,1562,1807,2331,2387,2608,2908,2699,2525,2324,2479,2875,2709,2896,2770,2835,2828,2632,2604,2562,2542,2403,2663,2955,2423,2535,3300,3665,3620,4107,4391,4332,4086,2930,2402,2884,2552,2562,2798,3333,3618,3550,3159,3469,3522,3249,2793,2132,2025,2001,1564,1587,1747,1707,1928,2202,2567,2094,2237,2199,2108,2019,2125,2238,1953,1892,1714,1549,1653,2206,2016,1658,1810,1790,1679,2045,1912,1500,1521,1761,2143,2142,2125,1991,1517,1357,1544,1460,1864,2449,2355,1923,1543,1446,1494,1483,1455,1491,1310,1375,1433,1389,1369,1469,1446,1299,1299,1534,1522,1456,1327,1320,1415,1410,1450,1493,1545,1626,1688,1791,1876,1897,1698,1533,1666,1599,1834,2029,1830,1688,1755,1704,1556,1497,1584,1568,1538,1749,2034,2043,2081,1777,1751,2048,2028,1973,1968,1945,1896,2207,2449,2199,1438,856,1465,2449,2827,2566,2235,2078,2020,2081,2570,2046,1764,1728,2201,2025,1925,1789,1762,2023,2686,2919,2401,2689,2928,2789,2983,3614,2924,2038,2343,2954,3218,3272,3220,3230,2998,2392,2286,2343,2817,2977,2446,3128,4074,3907,2865,2364,2492,2344,2046,2141,2303,2280,2092,1933,1965,1925,1580,1303,1309,1744,2869,3206,2841,2920,2731,2963,2596,2081,2442,2818,2733,2552,2417,2206,2194,2630,2833,2853,2756,2665,2555,2235,2044,2298,2955,3096,3261,3352,2742,1989,1698,1784,1788,1695,1695,2166,1890,1649,1708,1857,2197,2020,1820,1911,1749,1563,1528,1687,1847,2056,2014,2049,1797,1805,2142,2271,2042,1859,2092,2354,2267,1760,1461,1739,1754,1937,2259,2200,1836,1612,1350,1335,1450,1548,1493,1481,1617,1531,1549,1716,1847,1765,1864,2373,2855,2658,2312,2048,1878,1904,2116,2063,2017,1703,1478,1778,2480,2408,2134,2162,1797,1618,1470,1522,1610,1626,1860,1990,2021,2062,2087,1894,2115,2663,2684,2818,2723,1962,1549,1629,1946,2034,1973,1910,1729,1585,2285,2890,2546,2229,2431,2644,2624,2752,2655,2337,2539,2889,2732,2625,2541,2703,2591,1647,1511,1555,1569,1699,1665,1670,2141,2455,2236,1793,1772,1693,1901,1730,1598,1653,1865,2076,1844,2192,2378,2296,2262,2148,2512,2626,2001,2021,1688,1917,2127,1821,1684,1914,2108,2095,2151,2579,3163,2907,2574,2194,2113,1941,1912,1809,1781,1897,1949,1759,1672,1649,1989,2349,1825,1569,1971,2165,1994,1775,1877,2018,2374,2586,2208,1987,2263,2083,1770,1836,1842,2043,2177,2179,2018,2325,2782,2671,2592,2739,2437,1932,1678,2004,2586,2230,1778,1908,2035,1685,1832,1800,1594,1612,1707,1798,1677,1744,1964,1952,1867,1930,2225,2230,2110,1764,1579,1665,1917,2156,1930,1725,1746,1435,1290,1484,1569,2080,2254,2132,2330,2765,3207,3376,3432,3323,2591,2129,2062,1985,1881,1962,2017,1995,2029,2459,2846,2740,3089,2777,2467,2614,2908,3371,3567,2880,2358,2071,2496,3057,3206,2929,2599,2533,3185,3416,2744,2300,2336,2776,3497,3401,2726,2879,3441,3243,2930,2205,2508,2554,2040,2028,2456,2371,2238,2344,2576],[2208,1808,1614,1900,2164,2272,2284,2841,2425,2254,2885,3226,3452,3095,2092,1772,1684,1965,2249,1584,1421,1686,1887,1852,1933,2045,2350,2566,2298,1841,2104,2499,2557,2878,2975,2784,2470,2434,2865,2625,3230,3421,2698,2261,1969,1881,1977,3032,3084,2382,2171,2129,2083,2249,2104,2084,2331,2273,2192,2210,2185,2355,2723,2810,2370,2024,2262,2457,2135,1739,1853,2547,3088,3084,3050,3252,2931,2553,2620,2590,2537,2514,2719,2821,2756,2875,3183,3280,2861,3177,3587,3413,3366,3140,2854,2655,3416,3168,2500,2764,3195,3960,3515,3127,3537,3624,3411,3441,3561,3439,3233,3138,2972,2509,2530,2724,2582,2583,2474,2385,2563,2341,2348,2280,2003,1802,1981,2070,1836,1729,1786,1405,1696,1800,1889,1829,2073,2181,2213,2254,2110,1973,2168,2313,2954,2986,2732,3386,3645,2894,1973,2137,2549,2736,3395,3310,2130,2514,2975,2592,1974,1903,1875,2366,2437,2470,2024,1895,2448,2197,2187,2854,2924,2954,3181,3500,3626,3216,3074,3715,3920,3785,3807,3649,3528,3361,3008,2518,1907,1922,2056,2000,1355,1206,1116,1456,2178,2592,2581,2876,3078,3122,3060,3033,3493,3435,3562,3482,3851,3768,3362,3296,3156,3035,2693,2006,2652,3074,3623,3596,3672,3904,3167,2632,2615,2603,2831,2998,2441,1549,1525,1849,1686,1724,2210,2425,2275,2522,2281,2347,2316,1835,2276,2004,1750,1687,1983,2505,2745,3317,3682,3897,3561,3550,4036,4192,3870,3934,3572,3416,3880,4245,3848,3587,2706,2233,2072,1787,1595,1431,1608,1648,1475,1686,1732,1750,1654,1656,1802,1789,1743,1953,2565,2907,3276,3521,2871,3344,3341,3601,3482,2423,1683,1725,2123,2476,2408,1998,1720,1771,1643,1578,1661,1777,1610,1613,1917,2092,1804,1720,1861,1738,1880,1912,1981,2433,2009,1909,2036,2331,2540,2530,2058,1691,1974,2348,1928,1756,1869,2784,2732,2708,2370,2121,2393,2374,1673,1016,1632,2286,2319,2918,2987,2464,2521,2885,3117,2962,2840,2695,2637,2728,2530,2779,3284,3053,3068,2642,2449,2113,2192,2259,2112,2160,2122,2127,2231,2557,3740,4112,4107,4176,3110,2235,1776,1954,2209,2428,2013,1908,2341,2233,2119,1650,1799,1891,2035,2332,1942,1458,1368,1519,1910,2142,2001,2107,2353,2587,2072,1954,2843,2899,2770,2481,2590,3212,3444,3089,3101,3089,2908,3106,2043,1795,2152,2182,2168,1937,1935,1845,1791,1938,2119,2389,2495,2454,2789,1939,1964,2493,2213,1877,2045,2710,3028,3186,3051,2442,2578,2756,2740,2910,3044,3167,2385,2628,2874,2741,2776,2656,2296,2548,2790,2590,2342,2396,2246,2653,3460,3550,2997,2222,2292,2599,2535,3148,3914,4209,4100,3872,2764,2175,2487,2574,2648,2509,2379,2389,2232,2018,2048,1870,1873,1778,1538,1673,2069,2331,2308,2614,2556,2159,2199,1892,1578,1796,1800,1641,1639,1885,2077,1984,1842,2211,3267,3344,2622,2034,2151,2069,2110,2704,2642,2374,2002,2119,1895,1904,2012,2277,2908,2930,2293,1887,2091,2176,1859,1663,1962,2153,2588,3110,3006,2854,2440,2085,2484,3172,3912,3457,1925,1842,2210,2392,2373,1970,1782,1802,1721,1687,1780,1975,2020,1795,1651,1647,1482,1540,1596,1632,1672,1615,2050,2254,1620,1461,1617,1618,1435,1431,1636,1509,1504,1462,1616,1750,1694,1688,1766,1700,1570,1832,2216,1903,1996,2107,1918,1664,1797,2097,2386,2488,2858,3055,2818,2074,1656,2124,2820,2722,2294,2173,1943,1608,1672,1770,1682,1556,2060,2107,2064,1953,2015,2121,2071,1810,1546,1625,1883,1814,1653,1790,1984,1859,2085,2047,2447,2713,2834,2608,2331,2438,2273,2009,2097,1910,2285,1830,1540,1542,1347,1260,1245,1213,1190,1149,1230,1260,1379,1355,1410,1745,1685,1500,1586,1919,1913,1763,1559,1388,2167,2524,2464,2553,1951,1658,1494,1497,1663,1474,1372,1534,2367,3038,3037,2864,2619,2449,1876,1859,1654,1330,1671,2204,1893,1753,2029,2602,2800,2398,1810,1354,1312,1384,1386,1433,1483,1679,1572,1794,1943,1636,1299,1308,1279,1206,1310,1467,1460,1395,1411,1466,1537,1534,1618,1561,1140,1237,1560,1326,1468,1614,1394,1446,1842,1974,2172,2406,2854,2752,2012,1499,1636,1736,1833,1683,1733,1651,1261,1358,1741,2346,2302,1884,1799,1791,2053,2020,2321,1980,1208,1198,1288,1615,2589,2562,1936,1524,1571,1892,2159,1904,1450,1261,1493,2280,2635,3340,2901,2707,2358,2312,2621,1943,1831,2234,2500,2222,2458,3221,3935,3934,3868,3715,3863,4220,4132,3603,3432,3723,4200,4036,3774,3123,2764,2325,1835,2273,2846,3212,2755,1699,1682,2155,1700,1479,1702,2925,3316,2372,2119,2245,2338,2958,3005,2863,2988,3264,3164,2201,2360,2462,2213,1677,1852,2264,1968,1963,2645,3750,3646,2885,3430,4212,4409,4625,4717,4508,4477,4043,3132,2217,1710,1803,2061,2310,2255,2669,2731,2757,2636,2714,3021,3225,3440,3195,2642,2032,2001,1962,1810,1405,1482,2042,2548,2396,2214,2509,2099,1981,2236,2910,3802,4461,4588,4472,4207,4104,3872,3033,1844,2000,1428,1353,2165,2640,2810,3310,3980,4028,4236,4284,3896,3426,2823,2256,2035,2020,2144,2223,2062,1731,1699,1830,2301,2995,2884,2123,2181,2732,2578,2394,2374,2465,2472,2115,1798,1500,1516,1541,1463,1770,2244,2114,1982,2144,1940,1676,1622,1969,2721,2824,2207,1914,2125,1847,1969,1996,1952,1762,1823,2329,2448,2392,2415,2613,2286,1414,1527,1577,1754,2060,2491,2633,2880,2610,2102,2281,2648,3415,3951,3429,3225,3197,3264,3040,2710,2093,1908,1679,698,553,1426,2077,1684,1632,2174,2308,1910,1670,1887,2577,2875,2235,1754,1608,1524,1803,1597,1685,1852,2149,2364,3043,3044,2628,2842,2701,2035,1479,1678,912,459,1000,1820,1997,1220,1137,1687,1910,2284,2169,1974,2179,2086,1479,1433,1642,2226,2846,2263,2336,2466,2417,1975,1352,1240,1341,1636,1472,1459,1619,1746,1400,813,769,1332,1621,1910,2010,1755,1680,1286,1342,1777,1859,2055,1980,1619,2140,2487,2208,1964,1923,1472,1388,1746,1326,1500,1050,1246,1445,1568,1792,2894,3075,2764,2884,3138,3398,3186,2836,2862,2387,2292,2632,3068,2204,2187,2558,2561,2423,2282,2124,1542,1944,2304,2719,2851,2450,1558,1563,1780,1943,1948,1689,1914,1830,1616,1957,2253,2105,2002,2029,2077,2236,3181,4288,4212,3815,4561,4732,3936,3118,2872,3040,2791,3042,3339,3688,3816,4220,4376,2983,1807,1974,1776,1819,1636,1655,1607,1759,2037,2167,1886,2333,2808,2912,3250,3218,3022,2659,2130,1798,1976,2046,2047,2038,2287,2395,2077,1708,1740,1798,1976,2086,1682,1797,1946,1954,2130,2436,2269,1840,1221,904,1085,1666,2189,1798,1907,2513,2519,2032,2029,1864,1926,2100,2151,2417,2757,3207,3388,2968,2504,2192,2320,2556,3045,3095,2937,3107,2721,2319,2087,1730,1558,1671,2398,2857,2548,2481,3698,4600,4191,4255,4331,4231,4099,2929,2690,2831,2191,2522,2520,2811,3458,3515,3388,3782,3718,3386,3123,2363,1948,2042,1893,2073,1836,1707,2139,2291,2563,2270,1798,1892,2061,1749,2034,2318,1864,1667,1362,1050,1538,2208,1902,1625,1616,1578,1494,1503,1540,1509,1665,2071,2295,2098,1925,2413,2132,1404,1356,1317,1391,1426,1465,1584,1499,1419,1444,1365,1395,1436,1294,1333,1520,1442,1348,1458,1375,1348,1490,1637,1529,1504,1468,1333,1546,1622,1594,1729,1900,1804,1709,1637,1683,1658,1691,1792,1720,1575,1862,2171,1883,1962,2066,1774,1585,1845,1643,1517,1595,1902,1619,1753,1918,1790,2018,2303,2291,2049,1961,1753,1597,1866,1895,2167,1932,1394,1052,1764,2567,2604,2276,2358,2132,2041,2344,2245,1975,1799,2032,1940,1865,1786,1945,2181,2619,2662,2796,2752,2341,1963,2568,3198,2721,2563,2706,2536,2122,2058,1944,2083,2835,2558,2500,3017,3482,2883,2706,3187,3419,3383,2510,1925,2276,2242,2270,2041,2032,1826,1592,1544,1880,2046,1836,1538,1594,2434,2626,2224,2753,2807,2531,2585,2533,2513,3199,3119,2568,1976,1438,1672,2598,2807,3121,2974,2858,2385,2396,2208,2311,2569,2387,2449,2042,2039,2840,2330,1797,1664,1766,1776,1874,1990,1698,1579,1564,1668,1849,1673,1900,1686,1566,1687,1810,1795,1717,1725,1872,1770,1610,1803,1974,2081,2100,1907,2085,1900,2083,1850,1525,1783,1762,1811,2470,2322,1837,1423,1064,1168,1299,1510,1572,1801,1770,1612,1768,2361,2334,1920,1873,2107,2504,2593,2364,1723,1684,1783,1644,1807,1789,1531,1340,1902,3069,2835,1825,1829,1730,1725,1848,2075,1767,1590,1745,1764,1708,1908,1927,1769,2086,1860,2072,2394,2258,1665,1565,1831,1964,1955,1862,1733,1630,1619,1945,2409,2867,2869,2627,2105,1822,1949,2126,2453,2815,2966,2866,2753,2625,2362,1852,1725,1693,1699,1584,1769,1726,1761,1827,2003,2051,1772,1927,1825,2239,1928,1724,1760,1935,2085,1815,2094,2457,2468,2303,2317,2679,2341,1936,1976,1803,1777,2130,1875,1662,2123,2249,2042,2216,2871,3029,2578,2182,2044,2287,2043,1935,1918,1945,1908,1845,1857,1848,1646,1796,1992,1597,1553,2172,2386,2066,1566,1554,1991,2382,2774,2778,2364,2186,2070,1688,1686,1558,1931,2253,2218,2127,2364,2384,2126,2501,2884,2541,2165,2024,2135,2679,2427,2093,2250,2357,2111,1966,2049,1846,1640,1730,1941,1897,1726,1962,1788,1672,1653,1835,2203,2450,2101,1643,1635,1562,1768,1884,1671,1596,1515,1604,1701,1534,1698,1954,2301,2713,2950,3310,3277,3278,3226,2998,2562,2286,2149,1979,2100,2251,2276,2303,2740,3495,3382,3544,3499,3300,2686,2872,3182,2759,2290,2053,2047,2709,3126,2857,2689,3328,3250,3624,3288,2596,2832,2844,3032,3706,3759,3006,2914,3253,3023,2883,2296,2271,2484,2459,2613,2303,2750,3105,2318,1997],[2309,1683,1564,1705,1898,2056,2134,2697,2500,2353,2659,2973,3316,2935,1802,1564,1478,1736,2019,1692,1519,1734,2100,2205,1954,1851,2151,2436,2374,1798,2512,3017,2997,3151,3266,2878,2922,3169,2637,2645,3664,3762,2913,2161,2454,2499,2828,2761,2700,2179,2048,2221,2269,2471,2336,1986,2120,2306,2322,2697,2681,3098,3026,2654,2149,1815,1968,2168,1881,1664,1874,2767,3115,3203,3389,3682,3448,2865,2850,2741,2486,2611,3044,3318,2875,2733,3176,3328,3563,3650,3396,3576,3560,3672,3324,2929,3272,2938,2943,3096,2998,3551,3044,3228,3416,3081,2707,2999,3363,3369,2989,2562,2459,2713,2861,2809,2762,2603,2451,2466,2680,2473,2219,2069,2201,2268,1824,1713,1779,2292,2684,1559,1598,1892,1907,1559,1849,1953,1865,2322,2386,2149,2222,2857,2779,2430,2103,2370,2394,2146,2017,2197,2592,2496,2596,2439,2341,3123,3164,2755,2474,2149,2227,2482,2596,2745,2192,1796,2527,2956,2811,2972,3153,3049,3067,3558,3652,3471,3818,4164,4077,3983,3825,3642,3652,3561,2964,2102,1765,2021,2279,2031,1474,1271,1335,1863,2396,2688,2604,2734,2868,2975,2645,2813,3491,3412,3476,3362,3183,3272,3205,3084,3445,3499,2509,2031,2362,3176,3640,3452,3320,3646,3528,3267,3304,3143,2996,2877,2262,1636,1444,1597,1829,2145,2977,3306,2532,1902,1918,2677,2556,2025,2284,2018,2372,2217,2218,2090,2226,2823,3394,3741,3378,3426,3640,3469,3588,3947,3949,3275,3440,3321,2761,2784,2754,2523,2072,1629,1687,1522,1601,1921,1691,1869,1816,1683,1792,2049,1967,1900,1936,2091,2124,2163,2499,2289,2329,3375,3929,3494,2441,1871,1732,1506,1393,1870,2316,2034,1714,2237,1996,1691,1577,1562,1572,1614,1732,1778,1855,1886,1840,1821,2020,2078,2132,2363,2318,2648,2552,1991,1923,2073,1644,1571,2084,2740,1990,1538,1428,1969,2324,2493,2203,2179,2410,2352,2115,1642,1524,1959,2345,2745,2644,2528,2352,2272,2709,3357,3513,2850,2667,2983,2537,2472,3063,2996,3206,2981,2458,2254,2342,2057,1771,1825,1967,1995,2251,2220,3183,3197,3007,2997,2558,2259,1968,1882,2066,2141,1897,2006,2113,2321,2379,1902,2290,2298,2280,1842,1489,1425,1469,1863,2365,2329,2248,2514,2764,2853,2664,2996,3773,3686,3034,2546,2685,3267,3310,3009,3316,2709,2522,3043,2148,1998,1960,1816,1758,1832,2045,1975,1837,2297,2624,2568,2679,2648,2458,1917,1760,2155,2090,2153,2743,3234,3439,3255,2613,2168,2120,1973,2122,2103,2380,2573,2194,2100,2137,2518,3033,2654,2254,2764,2934,2301,2019,2745,2742,3225,3811,4040,3652,2619,2245,2341,2500,3006,3736,3709,3826,4046,3565,2619,2224,2463,2856,2519,2276,2480,1916,1676,1776,1975,1999,1946,1907,1913,2229,2187,2082,2402,2358,2105,2259,1737,1788,1853,1744,2264,2596,2436,2331,2252,2166,2604,3020,2909,2414,2082,2100,2449,2591,2622,2634,2801,2864,2941,2448,2484,2739,2589,2406,1969,1791,2265,2720,2890,2505,1938,1991,2053,2701,3422,3383,3028,2889,2416,2640,3213,3629,3238,2460,2612,2513,2023,1836,2135,2413,2176,1757,1753,1598,1864,2118,2005,1891,1860,1716,1619,1667,1639,1490,1465,1741,1904,1458,1299,1460,1613,1440,1467,1589,1650,1687,1740,1794,1688,1617,1768,1739,1677,1448,1512,1741,1786,1761,1910,1928,2073,2709,2815,2343,2830,3361,3150,3704,3063,2225,2479,2853,2490,2135,1962,1682,1706,1729,1740,1790,1838,2218,2154,1999,1814,1798,1716,1901,2182,1848,1364,1461,1543,1593,1919,2187,1827,2006,2110,2434,2545,2664,2460,2374,2585,2403,1925,1876,1861,2055,1750,1478,1462,1303,1220,1262,1256,1170,1172,1290,1263,1420,1286,1359,1381,1387,1367,1369,1659,1685,1465,1431,1361,1298,1295,1917,2355,2116,1577,1527,1931,2168,1761,1447,1755,2495,2966,3120,3270,2893,2406,1709,1605,1489,1495,1786,1903,1629,1641,2060,2281,2239,2121,1696,1714,1570,1422,1323,1323,1439,1562,1400,1555,1763,1581,1345,1233,1100,1228,1237,1269,1334,1411,1459,1453,1570,1499,1534,1526,978,1375,1460,1302,1462,1551,1476,1549,1741,1601,1515,1897,2089,2203,2128,1580,1772,1787,2055,1699,1576,1378,1078,1643,1717,1828,2003,1610,1479,1626,1853,1541,1788,2052,1305,1131,1321,2305,3398,3248,2650,1784,1804,2232,1980,1621,1575,1339,1303,1316,1619,2371,2201,2190,2366,2268,2613,1761,2257,2492,2317,2420,2414,2992,3769,4063,3946,3638,3754,4073,3993,3615,3683,3846,3905,3760,3960,3496,3024,2565,2092,2202,2783,2534,1769,1510,1939,1953,1566,1394,1934,3032,3382,2396,2304,2439,2273,3028,3122,2700,3157,3326,2648,2206,2250,2109,1933,1651,2070,1903,1543,2148,3363,4197,4445,4352,4360,4553,4605,4333,3608,2789,2512,2308,2155,2351,2468,2359,1916,2090,2278,2750,3472,2942,2502,2678,2802,3005,2907,2775,2752,2252,2835,2527,2191,1724,1471,1379,1685,2219,2248,1967,1776,1670,1908,2183,2354,3425,4357,4565,4572,4479,4324,3950,3131,1943,1222,1959,2820,2708,2291,2358,2712,3045,3603,4056,4295,4144,3804,3266,2568,2073,2234,2258,2150,1853,1764,1758,1784,2183,2041,2009,2793,3277,2730,1981,1698,1746,1766,1719,1851,1647,1604,1776,1730,1757,1841,1931,1999,2115,1965,1600,1662,2270,2797,2171,1706,1672,2164,2416,2177,1941,2101,2495,2438,2467,2631,2265,1905,1746,2287,2099,1772,1815,2041,2348,2122,1900,2071,2226,2149,2236,1996,2392,3151,3011,3062,3130,3066,2910,3022,2819,2050,1377,1389,1484,1987,1829,1174,1022,1822,2091,1761,1932,2302,2100,1764,1517,1330,1540,1465,1911,1957,2018,2500,2737,2890,2889,2307,2597,2678,2142,1716,1766,1676,926,829,1770,2094,1936,1684,1708,2122,2426,2265,1879,1742,1447,1437,1495,1698,2018,2480,2778,2602,2656,2644,2398,2231,1541,1217,1187,1455,1549,1487,1572,1565,1487,1207,1284,1392,1565,2214,1986,1704,1481,1246,1583,1592,1739,2009,1931,1561,1856,2251,1875,1725,1748,1473,2008,2121,1494,1536,1111,1130,1285,1452,1884,2921,3287,2827,3104,3052,2756,2824,2827,2775,2344,2214,2683,2413,2021,2420,2718,2389,2160,1643,1509,1521,2090,2460,2730,2875,2333,1583,1632,2105,2587,2221,1918,2082,1743,1783,2128,2209,2189,2325,2144,2075,2048,2916,4537,4547,3740,4277,4133,3803,3143,2855,2988,2817,2956,3467,3928,3889,4042,3953,2511,1228,1231,1550,1670,1387,1216,1149,1685,2121,1885,1883,2454,2792,2734,3031,2966,2971,2888,2479,2027,2268,2678,2570,2114,1925,1729,1481,1558,1911,1663,2019,2152,1791,1980,2189,2234,2565,2492,2117,1450,1107,1688,2245,2237,2344,2211,2263,2338,2127,2034,2219,1964,1958,2113,2452,3117,2928,2668,2535,2398,2190,2042,2484,2979,3315,3097,3120,3418,3142,2397,1613,1860,2403,2635,2770,2922,2774,2402,3063,4003,3882,3796,4104,4256,3849,2801,3002,2667,2222,2922,2899,3027,3522,3687,3725,3870,3723,3381,3259,2489,1854,1799,1853,1921,1684,1828,2044,2015,2459,2823,2092,1885,2198,2235,2613,2551,2090,1641,1491,1355,1496,1658,1510,1485,1482,1637,1708,1573,1720,1473,1590,1770,1829,1699,1791,2077,1690,1310,1340,1367,1558,1598,1558,1498,1381,1444,1431,1309,1317,1400,1389,1400,1479,1634,1537,1605,1559,1534,1813,2073,1683,1583,1666,1742,1782,1819,1758,1693,1535,1557,2176,2316,2440,1935,1758,1886,1580,1577,2149,2208,1970,2532,2317,1931,1548,1603,1495,1487,1601,1972,2028,1920,1830,1664,1672,2032,2360,2038,2071,1859,1760,1860,2401,2370,2234,2142,1510,1677,1932,2177,2088,2425,2615,2671,2379,2666,2331,1774,1720,2128,2206,2049,2311,2687,3099,2622,2792,2313,2499,2713,3142,2831,2687,2807,2740,2956,2579,2281,1987,2460,2756,2329,2443,2536,2632,2705,3373,3796,3310,2823,2041,2174,2449,1926,1952,1934,2092,1855,1644,1801,1767,1933,2048,2030,2067,2257,2225,2375,2498,2650,3465,3326,2854,2908,2859,2789,2382,1760,1514,2512,2576,2301,2541,2423,2177,1887,2099,2411,2800,2464,2287,2721,2396,2159,2209,1880,1802,1867,2123,2089,1888,1717,1674,1823,1963,1904,1589,1496,1654,1558,1501,1891,1873,1645,1561,1624,1661,1627,1656,1747,1820,2208,2235,2137,2182,2111,1836,1706,1750,1890,1602,1678,2272,1998,1574,1157,894,914,1262,1482,1494,1567,1587,1628,2117,2546,2541,2371,2129,2023,2149,1928,1943,1863,1890,1974,1786,1648,1684,1608,1756,2417,3383,3307,2206,1942,1959,1792,1758,1691,1569,1466,1523,1599,1701,1844,1809,1829,1641,1576,1882,1907,1947,1835,1757,1953,1963,1734,1636,1662,1611,1626,1934,2679,2955,3207,2747,2199,2202,2065,1918,2104,2461,2543,2813,2751,2467,2215,1909,2514,2559,1913,1651,1627,1668,1716,1750,1882,1857,1788,2067,2528,2481,2071,1731,1667,1832,1866,1771,1925,2314,2250,2254,2066,2276,2252,1921,1734,2025,1828,1773,1875,1772,1929,2053,2009,2007,2677,2938,2105,1775,1779,2071,1889,1762,1937,2073,2124,2033,2014,1967,1971,1769,1908,1705,1943,2462,2548,2217,1591,1726,2199,2328,2751,2579,1955,2091,2164,1912,1858,1889,2263,2173,1871,1737,1794,1955,2213,2918,3174,2864,2332,2468,2377,2344,2401,2533,2228,2178,2354,1849,1928,1924,1794,1532,1982,2157,1760,1736,1747,1621,1604,1754,2040,2540,2252,1526,1666,1549,1661,1943,1677,1441,1601,1831,1742,1627,1894,2232,2177,2288,2388,3066,2926,2932,2821,3024,2885,2490,2168,1989,2408,2620,2473,2170,2540,3200,3458,3354,3334,3300,2924,2798,2521,2198,2392,2635,2451,2906,2891,2768,2752,3460,3532,3472,2821,2568,2887,3056,3223,3768,4392,3841,3296,3087,2791,2829,2702,2417,2097,1954,2236,2304,2367,2565,1924,1999],[2362,1823,1821,1695,1810,2095,2448,2653,2452,2292,2309,2326,2415,2567,1802,1677,1650,1838,1954,1767,1749,1885,2091,2214,1897,1889,2273,2300,2520,2123,2964,3650,3769,3707,3817,3777,3567,2887,2408,2985,3764,3486,2374,2306,2945,2972,2577,2233,2742,2384,2048,2706,2807,3217,3146,2116,2024,2521,2666,3230,3354,2919,2734,2508,2282,2080,1910,1955,1827,2186,2962,3432,3318,3188,3264,3562,3356,2877,2805,2722,2487,2819,3494,3458,2839,2914,3374,3436,3871,3509,3086,3137,3107,3096,2875,3024,3195,2878,2812,2750,2733,2633,2465,3103,3538,2975,2820,3362,3211,3212,3175,2856,2853,3277,3256,3046,2808,2347,2435,2710,2695,2667,2741,2403,2281,2296,2296,2357,1955,2303,2392,1918,2367,3002,2545,1937,1944,1911,2166,2624,2355,2326,2220,2624,2210,2256,2349,2551,2719,2660,2604,2821,2719,1825,1687,1786,2550,3181,3782,3254,2319,2023,1932,1842,2172,2573,2206,1945,2136,2053,2432,3009,3483,3287,3140,3305,3350,3373,3709,4039,4006,4004,3728,3799,3774,3836,3300,2608,2842,3116,2791,2531,2958,3357,3184,3149,2609,2574,2575,2401,2286,2188,1997,2876,3500,3268,3413,3422,3365,3473,3363,3250,3812,3389,2270,2239,2512,3261,3628,3255,3056,3430,3481,3265,3196,3297,2740,2553,2135,1644,1636,1787,1938,2013,2443,2854,2267,1754,2113,2861,2181,1895,2126,2359,2680,2766,2600,2024,1764,1971,2304,3130,2884,3028,2237,2490,2989,3222,3272,3111,3100,2732,2104,1997,2024,1920,1742,1536,1844,1885,1984,1898,1622,1568,1478,1469,1987,2310,1898,1871,1736,1935,2088,1802,1802,2182,3134,3414,3163,2458,2008,1971,1732,1632,1648,1779,1780,1900,1866,2111,1849,1664,1590,1609,1856,1858,1712,1658,1798,1654,1570,1981,1901,1999,2107,2220,2490,2833,2809,2267,1908,1620,1490,1541,1658,1926,1816,1738,1844,2171,2525,2705,2158,2168,2318,2274,2430,2313,2294,2692,2884,2404,2226,2233,1884,1748,2222,2671,2974,3106,2696,2750,2491,2789,3110,2958,3022,2858,2464,2103,1776,1823,1942,1968,2166,2891,2718,2562,2824,2511,2303,2439,2476,2178,2049,2437,2754,2758,2669,2527,2203,2684,2768,2225,2110,2126,2013,1750,1737,1698,1724,1666,2114,1981,2116,2646,2808,2481,2720,3426,4176,3924,2874,2683,2764,3106,2906,2395,2514,2407,2248,2147,1998,1919,1944,1970,1911,2105,2048,1587,2013,2786,2430,1998,2298,2278,1949,1831,1803,1936,2148,2634,3110,3294,3610,3204,2604,2425,1986,1645,1598,1878,2087,2278,2508,2126,1975,2129,2252,2246,2527,2713,2632,2398,2530,2891,2888,2963,2933,3207,3341,2939,1844,1793,2249,3103,3938,3851,3732,3967,3906,3361,2525,2186,2604,2221,1894,1960,1772,2094,2680,2785,2602,2269,2242,2271,2247,2109,2155,2119,2106,2076,2034,1668,1763,1699,1841,2921,2999,2577,2680,2567,2548,2746,2539,2643,2262,2203,2167,2601,3084,2920,2257,2552,3020,2686,2783,2840,2552,2158,2036,1870,2037,2113,2648,3137,2543,1829,1905,2371,2792,2943,3140,2994,3540,3411,3340,3304,3129,2817,2652,2984,2542,2285,2805,2776,2462,2293,1851,1752,1780,1859,1867,1896,1779,1848,1975,1806,1700,1852,1662,1403,1526,1574,1371,1355,1620,1599,1401,1371,1500,1621,1687,1812,1872,1822,1817,1674,1521,1607,1360,1350,1469,1542,1546,1534,1579,2085,2715,3243,3053,3684,3851,3107,3304,3398,2677,2666,2790,2120,1815,1649,1611,1878,1914,1935,1892,1814,2060,1979,1687,1736,1823,1743,1858,2060,1846,1418,1416,1369,1568,1797,1650,1675,1839,1967,2060,2375,2278,2320,2542,1962,1789,1881,1631,1998,2024,1665,1473,1439,1261,1265,1296,1235,1255,1187,1286,1316,1328,1189,1342,1230,1266,1376,1378,1432,1311,1172,1115,1154,1382,1416,1860,2144,1932,1697,1788,1925,2226,2348,1887,1687,1962,2288,2818,3183,3386,2953,2048,1565,1446,1387,1447,1490,1344,1392,1682,2091,2290,1932,1520,1417,1543,1397,1232,1459,1699,1572,1345,1394,1259,1309,1282,1316,1192,1238,1274,1246,1260,1312,1296,1354,1487,1464,1624,1777,1189,1232,1393,1455,1545,1376,1363,1516,1456,1370,1604,1533,1388,1585,1648,1534,1984,2033,1973,1644,1604,1216,1467,2255,1571,1663,1756,1500,1685,1866,1626,1527,1752,1678,1349,1662,2210,2756,2894,2533,2555,2021,1943,2154,1819,1622,1808,1739,1528,1238,1216,1515,1873,2162,2171,1978,1926,1593,2458,2590,2147,2214,2237,2851,3681,4006,3985,3848,3863,3893,3670,3397,3447,3670,3896,3242,3074,3450,2994,2228,2385,2739,2662,2121,2094,1792,1742,1588,1650,1375,2060,3050,2978,2337,2255,2302,2151,2999,3300,2835,3169,2796,2633,2459,1850,1924,2208,2250,2160,1968,2226,3226,4172,4034,4475,4787,4870,4435,3795,3041,2361,2049,2543,3186,3179,2907,2935,2490,1800,2171,2796,3395,3907,3065,2521,2654,2454,2525,2408,2509,2587,2422,2950,2880,2735,2374,1842,1416,1306,1512,1988,2488,2591,2135,2221,2209,1910,2296,2889,3770,4479,4744,4737,4643,4332,3513,2708,3204,3505,2797,2210,2080,2339,2375,2558,3196,3575,4052,4303,4073,3444,2770,2442,1666,1870,2355,2352,1952,1760,1748,1764,2114,2770,2858,2184,1625,1716,1867,1882,1870,2122,1750,1557,1699,1656,1619,1877,2078,1832,1824,1564,1539,2398,2768,2372,1932,1654,1422,1964,2095,1980,2168,2414,2518,2136,2413,3028,2102,1928,2051,2824,2573,1837,1928,2060,2036,1647,1709,2134,2236,2061,1989,1756,1827,1905,2135,2757,3177,3009,2932,2701,2398,1494,1172,2164,1389,1200,1650,1478,1345,1813,2080,2162,2187,1996,1362,1326,1318,1562,2009,2584,2287,2440,3206,3584,3263,2938,2364,1962,2078,2003,2286,2061,1802,1618,1259,1600,2057,1850,1644,1582,2036,2321,1813,1787,1888,1567,1455,1877,2011,2116,2358,2385,2626,2669,2532,2740,2710,2584,1667,1321,1122,1428,1638,1537,1473,1617,1646,1554,1768,1826,1906,2066,1908,1735,1152,1224,1626,1466,1583,1741,1572,1450,1786,2166,1687,1585,1738,1503,2341,1836,1411,1480,1275,1287,1327,1619,2095,3262,3407,3151,3348,3351,3120,2929,3060,3032,2753,3084,2659,2171,2193,2316,2972,2796,1960,1454,1487,2034,2134,2620,3085,3175,2496,1613,2135,2692,2597,2043,2230,1961,2000,2133,1832,1809,2020,2282,2062,2118,2698,3232,4077,4265,3749,3748,3203,3212,3019,2877,2842,2641,2669,3210,3772,3996,3996,2998,1439,914,932,1667,1556,983,805,927,1583,2288,2453,2432,2516,2831,2824,2754,2822,2899,3023,2894,2385,2102,2657,3021,2783,2090,1844,1894,2106,1805,1739,2159,2037,2227,2556,2207,1749,1683,2001,2138,1528,1929,2689,2643,2115,2091,2078,2010,1941,1766,2090,2243,2050,2139,2235,2601,2828,3038,2790,2851,2357,2382,2347,2632,3428,3415,2918,2874,3020,3361,2905,1850,2343,2873,2391,2366,2728,2839,2522,2452,3510,3438,2365,2599,3132,3548,2980,2396,2376,2449,2846,3164,3366,3666,3763,3606,3663,3775,3652,3441,2648,1760,1416,1552,1765,1698,1685,2044,2244,2231,2170,1859,1757,1833,1815,2012,2132,1968,1901,2071,1765,1750,1788,1816,1976,1675,1548,1630,1456,1382,1367,1377,1380,1421,1490,1584,1641,1475,1511,1651,1333,1723,1598,1353,1200,1220,1476,1544,1351,1281,1310,1323,1365,1454,1584,1407,1339,1456,1543,1970,1997,1854,1900,1948,1910,1647,1765,2009,2115,1463,1533,1958,1972,2032,1845,2155,2287,1904,1606,2010,2416,2027,2153,2416,2205,1530,1439,1660,1703,1799,1914,1870,1603,1712,1669,1798,1984,2302,2413,2274,2080,2077,2307,2587,2286,2388,2232,1724,1663,1594,1645,1895,2329,3082,2953,2272,1931,2066,2206,2266,2676,3142,3077,3292,3050,2648,2847,3085,2599,2757,2922,2895,3113,2943,2763,3278,3307,3138,2423,2170,2818,2684,2391,2269,2148,2367,2790,3200,3463,2662,2373,1997,1946,2077,2045,1826,1873,2192,2163,2249,2096,1700,1977,2050,1857,1661,1968,1945,2667,2575,2329,2740,3041,3134,2720,2602,2731,2676,2581,2252,2876,2382,1806,2292,2358,1814,2030,1970,1965,2266,2430,2922,2479,2228,2029,1794,2058,2344,2006,1954,1868,1792,1763,1872,2310,2226,1700,1518,1477,1449,1543,1469,1588,1606,1411,1746,2114,2048,1954,1797,2003,2286,2337,2122,2341,2373,1988,1751,1707,1722,1588,1560,1781,1768,1677,1634,1594,1283,1073,1354,1450,1508,1891,2078,1961,2215,2094,2090,2101,1780,1707,1699,1663,1995,1954,1846,2117,1918,1790,2106,2357,2713,3122,3002,2547,1925,1819,1942,1841,1785,1857,1820,1583,1448,1543,1584,1770,1865,1910,1852,1953,2214,2053,1758,1706,1619,1851,1641,1488,1628,1554,1620,1658,2019,2437,2348,2147,1827,1762,1876,1913,1948,1959,2150,2216,2792,2989,2634,2237,1926,2505,2674,2122,1782,1488,1570,1676,1752,1832,1912,1610,2301,2481,2221,2188,1954,1670,1757,2129,2298,2220,2323,2148,2568,2293,2284,2123,1922,2028,1979,1694,1664,1792,1772,2117,2205,2321,2104,2557,2595,2115,1822,1892,1904,1584,1782,2013,1917,1966,2072,2132,2144,2453,2082,1904,1710,2077,2633,2541,2134,1762,1961,2180,2520,2614,2468,1958,1887,1926,2040,2001,1787,1802,1881,1891,2050,2361,2380,2470,2774,2953,3128,2810,2453,2382,2485,2807,3163,2985,2474,2302,1588,1571,1628,1571,1389,1729,2010,2138,2134,1930,1781,1661,1830,1753,2237,1886,1475,1545,1616,1549,1797,1809,1642,1823,1953,1882,1851,2185,2204,1613,1677,1581,1852,2141,2418,2516,2670,2393,2369,2496,2698,2602,2620,2655,2301,2291,2452,2633,3131,3326,3050,3066,2762,2390,2711,3028,3222,2620,3020,2931,2901,3237,3563,3609,3566,3111,2722,2665,2785,3139,3848,4046,3375,3115,2867,2834,3040,2864,2533,2429,2504,2820,3294,3138,2546,2039,2421],[2798,2082,1952,1863,1874,2303,2270,2048,2065,2014,1799,1819,1951,2108,1691,1548,1576,1734,1887,1876,1969,1956,1966,2059,1811,1888,2431,2361,2470,2216,2702,3217,3142,2920,2903,2923,2906,2919,2766,3018,3396,2810,2061,2705,2896,2634,2126,2068,2824,3027,2635,3045,3021,3342,3440,2603,2115,2763,3284,3375,3062,2933,3066,2995,2670,2236,2139,2070,2111,2630,3544,3715,3572,3277,3255,3520,3537,3167,3188,3121,3007,3346,3902,3472,3438,3765,3737,3581,3776,3595,3264,3178,2872,2490,2844,3410,3241,2695,2675,2709,2785,2934,2735,2696,3225,3328,3179,3213,2890,3313,3568,3019,2928,3243,2755,2836,2751,2248,2474,2721,2276,2391,3172,2831,1981,2055,2509,2938,2575,2106,1808,1827,2198,2297,2112,1989,1884,2088,2382,2361,2361,2203,2395,2398,2212,2636,3038,3119,2997,3060,3029,2949,2654,1662,1881,2248,2756,2931,3517,3161,2533,2711,2108,1469,1690,2327,2046,2216,2307,2426,2967,3263,3415,3308,3418,3658,3666,3316,3683,3958,3117,2688,2770,2923,2553,2954,3231,3194,3772,4081,3563,3041,3274,2674,1928,2430,2311,2709,2680,2173,1727,1887,2245,2625,2942,3337,3329,3058,3226,3320,2986,2603,3119,3015,2471,2499,2751,3143,3288,3271,3328,3276,3245,3160,3166,3235,2793,2446,2061,2076,2332,2462,2322,1859,1988,1961,1786,1579,1989,2663,2589,2430,2056,2213,2613,2197,2089,1978,1626,1703,2250,2285,2541,3031,2171,2070,2302,2513,2589,2443,2498,2602,3004,3031,2512,2137,1849,1672,1767,1860,2042,1838,1764,1743,1601,1411,1700,2011,2036,2041,2299,2051,1977,2417,2438,2921,3537,3070,2234,1921,2169,1976,1731,1825,2100,2421,2033,2081,2046,1779,1654,1694,1754,1805,2077,2061,2014,1689,1613,1580,1800,1875,1749,2083,2073,2059,2420,2230,1940,2139,2132,1773,1432,1414,1661,1788,1899,1958,2194,2313,2322,2451,1951,2232,2335,2667,2733,2479,2866,3168,2523,2220,2083,1907,1997,1893,1919,2317,2818,2594,2381,2447,2163,2187,2700,3155,2913,2340,2057,2088,2066,1800,1659,1975,2242,2575,2150,2229,2128,1804,1941,2250,2168,1931,2387,2425,2402,2025,2050,2421,2049,2277,2277,2098,1910,2048,2122,1878,1782,1672,1626,1761,1984,1697,1491,1977,2377,2126,2302,3200,3723,3322,2414,2311,2135,2157,1799,1759,2037,2078,1911,1665,1794,2178,2160,1920,1720,1960,2205,1641,1901,2226,1938,1654,1991,2002,1777,1748,1760,1788,2249,2907,3513,3172,3695,3046,2635,2383,1877,1625,1801,2093,2117,2517,3289,2730,2441,1693,1721,2169,2771,2569,2352,2353,2800,3452,3620,2887,1989,1870,2206,2199,1655,2021,2393,2905,3794,3686,2979,3109,3549,3672,3182,2450,2071,2020,2132,2029,2181,2342,2719,2852,2662,2198,2412,3204,2805,2240,2172,2136,2036,1748,1819,2140,1941,1552,1837,2614,2690,2429,2864,2929,2584,2659,2050,2099,2233,2233,2219,2195,2665,2819,2455,2645,2442,1904,2485,2178,1853,1768,2170,1985,2057,1971,2115,2340,2176,1870,1844,2752,3892,3504,2949,3051,3156,3986,3956,3298,3253,3052,3297,3651,3107,2901,2752,2169,1815,2061,1854,1642,1815,1730,1560,1676,1721,1764,1731,1616,1573,1790,1675,1537,1539,1451,1421,1573,1594,1468,1381,1374,1545,1568,1338,1434,1579,1524,1398,1438,1500,1568,1406,1406,1652,1845,1862,1572,1827,2157,2258,2612,2884,3533,3526,3255,3372,3384,3057,2645,2322,1795,1804,1506,1648,2142,2103,1997,1853,1848,2170,1847,1563,2033,2010,1722,1874,1853,1792,1502,1443,1427,1666,1859,1828,1986,2249,2298,2243,2907,2451,2531,2728,2395,2026,2131,1745,1870,1859,1554,1462,1471,1230,1262,1356,1498,1299,1300,1321,1272,1201,1269,1390,1291,1294,1362,1345,1302,1221,1128,1369,1316,1402,1371,1738,1598,1401,1533,1736,1903,2281,2282,1751,1707,1988,2125,2138,2062,2865,3254,2453,1587,1386,1388,1234,1239,1243,1322,1397,1843,1968,1614,1529,1534,1595,1360,1260,1436,1480,1416,1298,1375,1462,1485,1450,1370,1241,1238,1359,1436,1338,1284,1264,1298,1335,1437,1491,1569,1334,1299,1322,1376,1437,1412,1488,1542,1402,1509,1846,1840,1517,1356,1310,1314,1400,1746,1851,1787,1711,1055,1522,2072,1852,2484,2331,1793,1902,1783,1668,1920,1875,1565,1812,2276,2480,2475,2367,2298,2157,2008,1866,2468,2323,1893,1930,1685,1052,979,1322,1565,1909,2454,2211,1809,2010,2276,2382,2135,1889,2320,2774,2962,3553,3957,4013,3984,3676,3465,3517,3080,3134,3460,3305,2042,1758,2764,2467,1984,2555,2448,1963,1996,1833,1410,1255,1343,1449,1399,2049,2798,2775,2215,2324,2329,2465,2841,2784,2367,2313,2275,2125,1723,1854,2521,3096,3144,2666,2392,3034,4100,4408,4199,4453,4534,3983,2699,1909,1946,2025,2447,3343,3451,2878,2584,2364,1796,1808,2464,2608,2071,2040,2230,2334,2697,2320,2153,1703,2237,2488,2214,2269,2437,2645,3022,2580,2007,1893,1412,1387,1926,2587,2574,2198,2164,2236,2430,2500,2979,3785,4441,4704,4812,4833,4502,3835,4029,4120,3929,3086,2766,2813,2481,2714,2593,1964,2918,4080,4354,4318,3758,3087,2446,2658,2803,2832,2590,1986,1871,2010,1955,2207,1985,1710,1969,1774,1991,2186,1947,2010,1918,1845,1864,1521,1782,2087,2132,1961,1862,1988,2304,2732,2688,2392,2308,2028,2119,1962,1705,1925,2249,2712,2378,1954,2503,3117,2345,2029,2161,2869,2876,2058,1963,1880,2079,1996,2146,2177,1895,1540,1434,1629,1828,1788,1666,2096,2523,3186,3370,2769,1909,1375,1647,2623,1684,1123,1821,2175,2451,2648,2830,3128,3485,2692,1840,1485,1525,1881,2389,2626,2059,2437,3249,3626,3552,3122,2191,1712,2176,2741,2649,2113,1531,1981,2479,2365,2280,1844,1612,1557,2117,2048,1814,2241,1796,1433,1437,1693,2008,2204,2023,1965,2407,2523,2532,2412,2323,2216,1768,1380,1122,1311,1441,1463,1692,1598,1536,1447,1591,1871,2047,1938,1880,1463,897,988,1377,1456,1620,1794,1806,1532,1819,1958,1614,1694,1764,1655,1970,1587,1467,1372,1221,1351,1353,1780,2324,3285,3312,3208,3561,4095,3812,3085,3072,2770,2878,3220,2275,2029,2266,2506,3248,3094,1896,1529,1592,2046,2115,2513,3139,3096,2394,1938,2831,2997,2404,2202,1945,1779,2268,2321,1932,1744,1865,2047,1869,2147,2889,3109,3480,3563,3557,3486,3134,3160,3018,2979,3156,2942,2891,3471,3887,4199,3852,2413,987,981,1747,2160,1418,712,973,1677,2254,2191,2464,2093,2526,3095,3178,2923,2722,2799,3065,3333,3042,2293,2257,2818,3177,2343,1652,2088,2414,2167,2270,2125,1929,2140,2346,2337,1963,1996,2568,2565,1980,2210,3042,2844,2403,2039,1780,1847,1848,1688,1986,2220,2442,2744,3104,2915,2664,2918,3152,3039,2273,2042,1894,1909,2707,3187,2731,2632,2530,2560,2705,1991,2116,2465,2070,2132,2069,2250,2702,2232,2974,3046,1939,1915,2014,2817,2651,2165,2591,2759,2749,3174,3587,3515,3528,3531,3716,3755,3666,3101,2197,1600,1421,1565,1747,2004,2165,2143,2004,1560,1681,2007,1681,1459,1621,1777,1629,1692,2470,2392,1971,2731,2545,1816,1656,1522,1340,1256,1331,1368,1358,1431,1393,1301,1310,1332,1665,1555,1837,2009,1479,1950,1708,1383,1307,1318,1487,1597,1387,1280,1405,1328,1322,1361,1434,1439,1500,1727,1718,1754,1908,2076,1849,1622,1510,1408,1677,2355,2314,1893,1779,1673,1967,2055,1892,2265,2844,2822,1616,1775,2402,2385,2351,2721,2492,1910,1919,1929,1713,1993,1997,1731,1676,2242,2048,1940,2015,2470,2909,2779,2232,1910,2141,2548,2795,2707,2231,2091,1734,1865,1895,1992,2499,2612,2442,2185,2160,2361,2804,2404,2458,3087,2597,2761,2931,2919,3652,3760,3262,3262,3023,3065,3620,3088,2808,3176,3059,3259,2864,2676,2895,2643,2351,2407,2486,2588,2959,2212,2539,2321,2215,2233,1957,1926,2002,2044,2274,2496,2151,2375,2487,2360,2557,2202,1789,1403,1774,2374,2820,2814,2358,2178,2339,2732,2967,3638,2997,2766,2751,2799,3043,2559,1908,2184,2128,2288,2505,2386,2336,2292,2199,2636,2626,2681,2559,2063,2082,2120,1867,1535,1568,1667,1784,2081,2490,1932,1782,1871,1463,1382,1487,1594,1749,1638,1531,1990,2179,2578,2425,1981,2004,1894,1754,1720,1956,2287,2125,1952,1797,1546,1464,1925,1972,1682,1609,1545,1594,1527,1398,1467,1490,1510,1867,2412,2378,1842,1873,2052,2020,1942,1897,2072,1904,1784,1842,1984,2010,1822,1785,2475,2837,3160,2846,2077,1822,1707,2062,2249,2358,2768,2479,1820,1919,1583,1661,1802,1792,1910,1990,1877,1807,1939,1829,1676,1685,1729,2072,1749,1783,2085,1755,1592,1785,2220,2207,1809,1671,1930,2265,1933,1953,1914,2249,2364,2008,2492,3119,2923,2305,1832,1967,2159,1869,1666,1555,1714,2109,2162,1887,1783,1901,2276,1883,1735,1897,1985,1865,2149,2425,2298,2273,2148,2334,2678,2845,2546,1949,2129,2138,1849,1714,1818,1902,2120,2310,2567,2508,2216,2437,2503,2249,2048,2150,1854,1388,1650,1882,2029,1918,1964,2057,2237,2576,2393,2165,2199,2576,3123,2784,2114,1836,1957,2130,2565,2498,2061,1831,2241,2313,2438,2338,2092,1686,1542,1694,1779,2482,2414,2028,1903,2225,2906,2734,2252,2323,2753,2923,3621,3608,2898,2739,1985,1534,1451,1521,1558,1627,1789,2083,2193,1733,1777,1712,1625,1743,2335,1837,1531,1571,1657,1659,1787,1938,1788,1633,2044,2363,2226,2230,2404,2171,1840,1814,1937,1931,1969,2455,2671,2034,2292,2680,2858,2701,2502,2640,2700,2779,2843,2917,3507,3565,2839,2507,2244,2443,2547,2944,3002,2530,3123,3570,3378,3364,3460,3504,3312,3052,3105,3094,3005,3193,3441,3319,2983,2876,3067,3466,3597,3186,2906,3109,3200,2978,3230,3388,3124,2825,2710],[2684,2221,1847,1968,1980,2250,2114,1876,1797,1937,1824,1928,2066,2184,1772,1451,1527,1866,2195,2181,1988,1960,1748,1900,1877,1911,2136,2127,2311,2260,1975,2068,2090,1875,1652,1731,2453,2723,2839,3257,3097,2135,2225,2507,2508,2444,2242,2249,2691,3315,3498,3630,3432,3425,3407,3239,2850,2872,3226,3037,2765,3232,3530,3329,3240,2617,2388,2470,2566,2534,2780,3310,3607,3608,3616,3730,3480,3001,3138,3430,3638,3768,3775,3815,3987,3917,3514,3321,3426,3572,3754,4059,2985,2699,3308,3585,3394,3142,2902,2672,2831,3111,2608,2450,3149,3515,3340,3210,2877,3221,3213,2706,2964,3361,3039,2952,2844,2358,2391,3009,3105,3107,3240,2814,2226,2415,2198,2423,2684,2754,2452,2077,1918,1974,1966,1903,1642,1988,2225,1936,1780,1805,1980,2321,2566,2511,2683,2846,2951,3173,3063,2699,2354,1957,2020,2220,2281,2240,2404,2244,1935,2114,2017,1797,1896,2148,2366,2955,3000,3001,3322,3564,2873,2456,2626,3420,3755,3349,3809,3588,2374,1574,2054,2203,1506,1253,1730,2692,3241,2842,2933,3011,2490,2071,1902,2133,2263,2231,1821,1593,1504,1786,2073,2264,2643,3155,2894,2880,3250,3150,2790,2460,2455,2548,2763,2680,2889,2884,3016,3174,3100,3065,3196,3255,3273,3134,2690,1976,1814,1832,2220,2276,1938,1683,2028,2006,1577,1687,2024,2589,2608,2324,1854,1604,1737,1747,2230,2316,2142,1848,2366,1916,2327,2325,1754,1758,1937,1992,2025,2105,2218,2210,3307,3663,2975,2822,2522,2210,1940,1946,1998,1903,2042,1929,2033,1692,1883,2173,2268,2026,2211,1880,2144,2915,3063,3303,3628,3008,2124,2181,2438,2147,1736,1721,2070,2649,2522,2001,1570,1418,1650,1678,1850,1779,2169,2059,1944,1658,1555,1493,1676,1635,1752,2109,2065,2245,2688,1963,1444,1923,1863,1773,1791,1590,1730,2104,2144,1863,1951,2162,2054,2162,2706,2639,2546,2184,2219,2195,2592,2698,2034,2178,2247,2541,2722,2338,1867,2366,2600,2058,2404,2502,2287,2465,3030,3084,2652,2099,1978,2109,2297,2256,2125,2648,2897,2408,2333,2353,1923,1842,1816,1899,1850,2200,2510,2297,2361,1921,1892,1996,1906,1596,1556,2199,1777,1699,1776,1729,1459,1538,2062,2166,1847,1716,1656,2021,2505,2127,1821,2145,2348,2141,1824,1705,1722,1955,1686,1907,2185,2177,2264,1810,1538,1826,1850,1852,2183,2030,1998,1643,1749,1998,2009,1931,1909,1813,1902,1674,1624,1775,2586,3541,4181,3516,3273,2437,2257,2166,1629,1642,1900,1881,1947,2104,2940,3140,2366,1743,2141,2556,2923,2817,2934,3542,3862,3399,3152,2398,1668,1750,1804,1631,1910,2431,2436,2653,3548,3695,2831,2716,3330,3727,3664,3056,2128,1789,1697,1910,2114,2351,2712,2708,2212,1845,2555,3392,2663,2514,2360,2229,2032,1994,2097,2079,1748,1717,1976,2098,2286,2503,3265,2733,2155,2273,1746,1743,2036,1910,1761,1884,2437,2513,2439,2164,2300,2298,2297,1755,1760,1791,2214,2392,2289,2042,1704,1610,1750,1773,1969,2055,3399,3957,3865,3544,3250,3815,3492,3039,3128,2931,3533,4060,3673,2888,2250,1884,1615,1666,1607,1641,1656,1564,1648,1542,1616,1857,1602,1625,1789,1603,1475,1570,1630,1499,1581,1639,1534,1386,1423,1494,1550,1592,1338,1348,1410,1460,1605,1758,1850,1765,1676,1612,1811,1884,1798,1597,1744,1987,2130,2700,2980,2907,2893,3128,3459,3739,3461,2953,2610,1763,1715,1521,2116,2462,2201,1998,1987,1924,1754,1722,1692,2070,1795,1875,1878,2015,2237,1744,1354,1500,1686,1553,1729,2015,2093,2200,1924,2351,2464,2702,2501,2129,2010,1809,2187,2600,1999,1598,1499,1428,1254,1272,1225,1366,1373,1341,1286,1255,1236,1240,1272,1328,1256,1319,1307,1338,1316,1376,2494,1840,1411,1491,1421,1382,1443,1404,1570,1621,1727,1504,1592,1719,2093,2264,1982,1547,1983,2487,2033,1583,1530,1557,1416,1377,1291,1283,1337,1380,1364,1414,1423,1559,1617,1294,1283,1384,1312,1519,1533,1418,1305,1499,1582,1420,1340,1323,1412,1484,1347,1461,1431,1405,1334,1514,1455,1309,1238,1319,1374,1331,1393,1495,1473,1343,1431,1465,1628,1806,1604,1400,1404,1389,1414,1615,1832,1874,1180,1020,1995,1897,1625,1673,1739,1804,1944,1825,1711,2008,1954,1918,2408,2017,1905,2519,2557,2480,2030,1643,1685,2194,2239,1785,1647,1183,910,1144,1452,1628,1731,2297,2006,2018,2632,2221,1832,1757,1837,2126,2297,2387,3492,3949,3860,4016,3552,3294,3610,3389,2916,2717,2499,1967,2429,3094,3068,2667,2510,1930,1759,1750,1575,1478,1477,1582,1848,2140,2388,2290,2041,1899,2138,2250,2857,2980,2554,2102,2004,2138,1770,2131,2339,2454,2947,3040,2602,2590,2964,3941,4300,3745,3475,3210,2476,1939,2144,2079,1933,2226,1610,1254,1403,1669,2076,2271,2219,2178,1576,1355,1558,1809,2281,2712,1703,1658,1838,2271,2371,2430,2658,2736,2924,3010,2774,2728,2318,1855,1357,1224,1576,2290,2776,2786,2532,2496,2616,2586,2728,3544,4328,4592,4662,4563,4263,4451,4584,4628,4395,3862,3187,2884,2872,2344,1760,2533,3638,4145,4309,4228,3918,3512,3219,2748,2664,2430,1626,1977,2476,2251,1720,1556,1762,2040,1931,2234,2513,2227,2310,2060,1590,2071,2402,2835,2328,2328,2307,2445,2928,2849,2513,2481,2332,1818,1785,2439,1746,1793,2088,2094,2344,2323,2452,2602,2689,2620,2348,2298,2576,2557,1934,1797,1816,2289,2598,2609,2454,1742,1268,1782,2108,2144,1776,1578,1991,2307,2263,2675,2329,1751,1424,2395,3838,3529,2602,2126,2443,3060,2448,2486,3992,4852,3544,2456,2181,2404,2313,2563,2664,2101,2179,1897,2030,1837,1603,1439,1580,2314,2491,2177,1910,1858,2614,3095,2406,2197,1969,1476,1404,1464,1613,1938,1792,1336,1716,2023,1793,1981,2025,1778,2356,2250,2037,2197,2388,2436,2556,1866,1202,1232,1144,1149,1688,1693,1522,1593,1403,1318,1411,1578,1598,1456,1115,626,691,1053,1172,1803,1717,1748,1456,1424,1490,1291,1588,1567,1180,1378,1524,1516,1311,1317,1644,1586,1637,2408,2832,2861,2909,3469,3790,3622,3287,2750,2345,2577,2306,1828,1761,2392,2966,3705,3124,1769,1478,1658,2176,2502,2864,3482,3305,2247,1990,2443,2423,2601,2284,1849,1913,2002,1950,1841,1854,1910,2092,1933,2321,2817,3138,3349,3283,3294,3563,3601,3242,3067,3199,3401,3375,3124,3661,3930,3826,3570,2664,1207,906,1878,2361,1576,755,905,1504,2493,2154,2415,2031,2516,3274,3211,2864,2807,2875,3028,3397,3374,2600,2029,2531,3308,2288,1985,2397,2344,2418,2737,2576,2165,1800,1599,1782,2287,2344,2339,2310,2089,2210,2319,2448,2434,2112,1764,1775,1838,1743,1827,1954,2150,3010,3861,3658,2999,2392,2786,2980,1942,1826,2094,2032,2631,3345,2699,1925,1998,1833,2250,2072,1616,1670,1609,1606,1326,1772,2416,2199,2491,2663,2101,1833,2055,2376,2406,2542,2383,2450,2801,3232,3325,2942,3055,3543,3768,3498,3012,2193,1583,1395,1682,1905,1796,1854,2139,1929,2107,2059,2003,1855,1555,1497,1523,1670,1627,1980,2609,2020,2045,2825,2561,1776,1359,1333,1312,1314,1389,1418,1454,1544,1485,1394,1363,1332,1654,1548,2276,2082,1393,1478,1580,1469,1335,1318,1325,1346,1301,1269,1311,1471,1481,1560,1787,1758,1814,1845,1585,1444,1748,2327,1934,1743,1705,1582,1719,2030,1810,1887,1950,1573,1453,1887,1925,1791,2646,2615,1928,1904,1895,2109,2439,2758,2684,2170,2109,2114,1823,2146,2330,2132,2017,2601,2198,1592,1878,2293,2545,2509,2417,2108,2533,3401,3210,2467,2088,1888,1605,1805,1920,1940,1890,1770,2131,2431,2811,2468,2452,2313,2558,2762,2370,2504,2897,3226,4000,3966,3850,3651,3172,3602,3817,3416,3317,3174,2984,3386,3343,3005,2836,2373,2441,2408,2530,3015,3051,1892,2002,2415,2531,2332,1934,1766,1960,2165,2519,2805,2290,2122,2703,2210,2306,2336,2145,2008,2068,2262,2593,2919,2646,2697,2390,2629,3007,3917,3982,3021,2617,2821,2679,2539,2529,3039,3020,2446,2633,2786,2434,2240,1855,1878,2240,2359,2098,1960,1982,1774,1838,1538,1643,1777,1693,2028,2314,1806,2182,2380,1706,1604,1890,1905,1549,1487,1664,1775,1966,2286,2269,2174,1925,1631,1980,2107,1955,2200,2197,2322,2143,1998,2087,2086,1742,1449,1324,1395,1637,1818,1555,1786,1863,1639,1663,1919,2271,2092,1950,1862,1898,2003,2208,2425,2413,2398,2270,2029,1806,1564,1786,2532,2543,2431,1974,1788,1872,1887,1789,1833,2541,3009,2348,1902,1876,1687,1585,1706,1543,1531,1831,1907,1849,1768,1759,1672,1511,2065,2138,1868,1738,2233,2226,1846,2102,2154,2299,2142,1882,2194,2158,1829,2155,2272,2732,2512,1860,2014,2773,3217,2868,2188,1814,1830,2367,2266,2066,2251,2205,2428,2309,2070,2577,2113,1667,1770,1670,2140,2024,2191,2243,1974,2021,2163,2616,2729,2563,1946,1813,2106,2126,2237,2629,2573,2187,2142,2106,2400,2378,2250,2344,2353,2264,2215,2291,2105,1806,1801,1737,1921,2002,1975,2001,2107,2255,2411,2608,2707,2651,3423,3028,2024,1806,2011,2398,2786,2874,2416,2388,2637,2485,2600,2450,2148,1935,1802,1808,1886,1954,1941,1659,1600,1849,1884,1964,2282,2664,2873,2545,2956,2823,2680,2906,2326,1610,1473,1671,1673,1642,1403,1814,2049,1594,1889,1817,1655,2230,2430,1929,1658,1648,1772,1904,1859,1936,1823,1739,2442,2547,2393,2390,2552,2519,2304,2222,2057,2110,1930,2490,2890,2482,2508,2761,2763,2779,2747,2789,3165,3463,3266,3278,3859,3968,3232,2426,2144,2828,3063,2836,2591,2579,3000,3229,3269,3043,2962,3320,3173,3113,2901,2533,2491,2876,3200,3097,2888,2993,3220,3452,3432,3011,3227,3252,2574,2786,3438,2963,2915,3139,2958],[2620,2144,1796,1903,1838,2084,2158,1771,1574,1749,1670,1827,2120,2204,2196,2075,2204,2462,2197,1850,1781,1765,1757,2117,2237,1920,1928,2028,2125,2286,2068,2276,2237,1893,1726,1648,2576,2980,3174,3481,2598,2137,2382,2314,2768,2664,2358,2198,2332,3204,4186,4212,3943,3790,3493,3498,3501,3313,2965,2810,3203,3610,3594,3353,3168,3055,3022,3128,3110,2790,2688,3003,3362,3722,3765,3740,3163,3360,3413,3136,3603,3624,3508,3904,4072,3884,3485,3427,3293,3504,4132,3920,2975,2736,2932,3054,3067,2909,2329,2436,2731,2525,2141,2260,2928,3380,3055,3133,2942,2512,2509,2742,2882,3350,3133,3068,2972,2358,2459,2988,3165,3104,2955,2977,2916,2469,2303,2498,2766,3250,2879,2536,2074,2228,2587,2037,1614,1805,2120,2004,1729,1797,1994,2729,2867,2896,2973,3056,3135,3426,2952,2355,2387,2690,2481,2060,2036,1646,1430,1508,1768,1721,1895,2066,2319,2319,2452,2601,2820,3055,3276,2805,2028,2415,2568,3219,3283,3306,3610,3174,2468,2157,2293,2047,1494,1413,1821,2442,2666,3082,3569,3466,2632,2508,2427,2372,2368,1858,1629,1612,1585,1652,1782,2262,2651,2911,2436,2153,2905,3027,2366,1997,1919,2509,3066,2809,3285,2687,3029,2712,2584,3123,3139,3055,2851,2770,2609,2073,1973,1997,2752,2074,1743,1795,1917,1904,1715,2022,2968,3603,2755,2066,1655,1684,1647,1839,2317,2557,2624,2744,2204,1842,2243,1892,1484,1660,1924,1896,1758,2043,2196,1919,3062,3680,3295,2802,2264,1966,1892,2228,2336,1922,1930,2787,2900,1830,1533,1654,2128,2105,1803,1747,2076,2576,2685,3442,3686,2986,2598,2461,2135,1986,1752,1731,2048,2325,2026,1520,1478,2064,1766,1826,1976,2048,2367,2205,1972,1914,1684,1451,1482,1516,1785,2046,2186,2464,2563,1716,1098,1779,1923,2050,2503,2469,2423,2162,2078,1934,1879,2057,2339,2428,2322,2233,2485,2358,2558,2551,2505,2379,2140,2266,2495,2712,2890,2373,1865,2398,2407,2455,2325,1960,1945,2109,2471,2400,2375,2134,2128,2223,2058,2405,2744,2898,2714,2547,2532,2380,2135,1947,1834,1765,1644,1845,2011,2091,2001,1804,1997,2035,1991,1833,1539,1702,1572,1521,1864,1876,1628,1686,1978,1869,1726,1927,2053,2122,2151,2009,1882,1730,1610,1761,1934,1819,2124,2265,1900,1865,2031,2171,2186,1708,1615,1965,1833,1884,2335,2000,1780,1809,2082,2157,1865,1935,2077,1699,1843,1699,1629,1714,2501,3531,4179,3859,2749,1902,2063,2051,1728,1730,2054,1841,2068,1997,1843,1636,1626,2040,2456,2592,2347,2261,2710,3116,3206,3018,2742,2419,2138,2043,1983,1817,2203,2508,2328,2564,3164,3088,2539,2721,3145,3728,3662,2965,2453,2025,1852,2127,2266,2442,2551,2232,2072,2086,2921,3116,2552,2525,2241,2253,2380,2264,2219,1903,2150,1809,1843,1658,1945,2369,2528,2244,1983,1973,1738,1903,1964,1685,1920,2522,3420,2751,2118,2295,2719,3265,3490,2419,1674,1731,2102,2186,1903,1879,1760,1786,1792,2036,2186,1603,2410,3493,3754,3593,3717,3312,2603,2827,3021,2898,3061,3974,3916,2708,1818,1652,1532,1503,1527,1654,1642,1581,1641,1447,1411,1537,1654,1691,1573,1568,1759,1920,1832,1737,1686,1571,1546,1638,1620,1561,1477,1634,1590,1393,1361,1474,1556,1752,1797,1632,1613,1545,1543,1557,1760,1720,1623,1966,1887,2288,2755,2729,3295,3371,3416,3183,2749,2447,2295,1922,1670,1521,1882,1880,1776,1923,1868,1825,1722,1741,2196,2176,1897,2091,2128,2261,1988,1431,1447,1527,1571,1532,1503,1448,1590,1641,1667,1604,2057,2903,2658,2396,2403,2109,2454,2612,1936,1511,1632,1376,1243,1512,1267,1241,1349,1283,1247,1261,1302,1369,1319,1379,1297,1406,1470,1473,1388,1461,1717,1460,1332,1386,1571,1444,1451,1411,1489,1509,1497,1278,1456,1797,2133,2107,1933,1837,1504,1382,1253,1413,1395,1458,1482,1379,1235,1181,1369,1423,1308,1337,1395,1432,1416,1425,1435,1342,1299,1521,1544,1331,1156,1382,1574,1362,1227,1264,1299,1476,1509,2296,2070,1496,1358,1432,1354,1283,1249,1341,1348,1324,1372,1423,1309,1286,1392,1543,1623,1672,1526,1464,1524,1446,1318,1468,1694,1824,1477,2011,2278,1660,1349,1388,1566,1802,1851,1865,1811,1826,1659,1700,2310,2039,1840,2353,2194,2029,1794,1728,1757,1744,1956,1831,1627,1041,1138,1341,1410,1528,1592,1823,2007,2413,2207,1513,1859,1768,2024,1945,2202,2341,3293,3725,3974,4028,3472,3273,3156,2846,2557,2250,2391,2296,2905,3672,4058,3293,2802,2455,1892,1573,1471,1450,1533,1555,1681,2578,3363,2630,1951,2203,2438,2098,2715,3030,2407,1847,1771,1815,1744,2304,2415,2399,2789,2701,2634,2163,2125,3184,3262,2594,2420,2308,1847,2226,1911,1516,1271,1177,821,1371,1976,2149,2939,2850,1776,1806,1576,1720,2077,1953,2138,2519,2041,2208,2771,3030,2525,2145,2447,2691,2898,2597,2557,2529,2283,1684,1502,1460,1242,1455,2244,2726,2470,2554,2833,2545,2472,2748,3605,4070,4120,4078,4329,4428,4484,4452,4545,4356,4135,3836,3522,2723,2179,2345,3008,3576,3937,4193,4248,4156,3906,3447,2887,2303,2189,2667,2512,2080,1700,1608,1780,1802,2138,3116,3293,2512,2275,1827,1956,2236,2388,2055,1634,2104,2402,2327,2409,2669,2566,2002,1515,1260,1427,1659,1722,2032,2202,1969,2008,2234,2415,2493,2429,2052,1986,2583,2695,2604,2314,1779,1676,2247,2942,2885,2235,1425,1771,2568,2364,1624,1571,1641,1782,1470,2259,2269,1505,1565,1770,2547,3862,4209,3555,2475,2623,2802,2201,2183,2945,3255,2618,2357,2564,2473,1845,1580,1641,1794,1489,1633,2368,2107,1880,2145,2104,1803,2019,2069,1710,1917,2785,2768,1924,1729,1575,1722,1893,1606,1715,1549,1431,1716,2299,2678,2446,2294,1931,2137,2627,2513,2189,2001,2420,2549,2301,1636,1409,1579,1232,1619,2119,1440,1772,1952,1643,1512,1417,1556,1561,1419,1087,516,891,1419,1120,1770,1731,1650,1344,1142,1295,1371,1680,1261,856,1285,1117,1307,1209,1549,2209,1885,1790,2166,2217,2150,2780,3371,3225,3239,3019,2349,1974,1948,1642,1964,1885,2382,2806,3213,2533,1533,1544,1685,2396,3040,3273,3458,3176,2077,1764,1825,1873,2451,2278,2030,2454,2244,1906,1674,1785,2017,1957,1973,2597,2851,3045,3271,3249,3221,3564,3639,3051,3017,3438,3415,3200,3247,3685,3659,3238,3675,3232,1954,1316,1289,1560,1811,1445,1349,1433,1762,2030,2242,2030,2396,3214,3267,2958,2922,2934,2970,3352,3454,2734,2102,2204,2576,2175,2197,2632,2506,2040,2377,2631,1970,1343,1177,1540,2248,2319,2161,2061,2147,2161,2178,2421,2338,2059,1760,1871,1780,1580,1471,1605,1946,3066,3232,2723,2465,2357,3156,3279,1821,1783,2632,2575,2740,3272,2680,1793,1865,2070,2144,1727,1382,1754,2135,2235,1616,1667,2382,2392,2114,2283,2303,2050,2204,2407,2343,2630,2942,2439,2666,3109,3320,2466,2629,3486,3759,3117,1984,1545,1495,1511,1603,1764,1934,1937,2092,2039,2138,1728,1354,1324,1665,1748,1405,1566,1811,2047,1864,1745,1607,1830,2024,1810,1518,1516,1671,1503,1417,1668,1563,1497,1421,1467,1426,1318,1392,1402,1731,1612,1353,1491,1567,1556,1338,1260,1332,1554,1404,1407,1504,1592,1592,1688,1650,1396,1389,1403,1493,1635,1922,3039,2501,1764,1633,1493,1663,1982,2069,2089,2249,2264,1918,1765,1926,1851,1924,1671,2144,2065,1501,1547,1872,2586,2844,2302,1905,1450,1618,2399,3025,2767,2138,2104,1792,1494,1561,1856,2272,2376,2372,2139,2357,2854,2875,2245,1856,2143,1968,1516,1791,1865,1112,1296,1896,2665,2566,2398,2612,2896,2962,2620,2444,3063,3039,3484,3860,4004,4160,3865,3675,3956,3340,2651,2518,2653,3017,3322,3031,2600,2579,2058,2508,2325,2216,2722,2865,2634,2525,2314,2109,2053,1877,1806,1627,1721,2527,3193,2795,2485,2297,2084,2270,2548,2360,2266,2396,2422,2714,2841,2607,2464,2479,2969,3427,3842,4164,3663,3206,3505,3068,2963,2964,3147,2437,1836,2619,2617,2394,2214,1859,1824,1947,1721,1683,1574,1719,1732,1671,1626,2084,2336,1787,1716,1848,1826,1958,1714,1678,2041,2114,1871,1720,1919,1823,1623,1652,1897,2163,2341,2192,1832,2264,2588,2023,1886,1752,2054,2178,2218,2291,1965,1604,1454,1283,1368,1775,2144,1756,1531,1804,2013,2200,2147,2146,2236,2150,1822,1809,1946,1935,2174,2398,2268,2091,1987,1686,1565,1750,1985,1896,1761,1975,2302,2142,1992,1816,1848,2082,2257,2045,2005,2048,1855,1568,1606,1581,1481,1926,2323,2118,1857,1858,1735,1519,1539,1647,1705,2097,2943,2799,2220,2580,2448,2546,2423,1973,2064,2008,1895,2176,2680,2750,2242,1984,2217,2677,2841,2560,2144,1917,1785,2172,2829,3095,2940,2728,2831,2359,2224,2326,1867,2074,1993,2148,2895,2847,2813,2260,1879,1935,2300,2863,3260,3342,2388,1953,2083,2268,2631,2943,2710,2501,2399,2181,2229,2081,2014,2109,2048,1970,2084,2359,2428,2098,2338,2239,1951,2068,2069,1835,1985,2106,2272,2555,2634,2532,3034,2274,1842,1717,1868,2556,2868,2761,2366,2021,2303,2601,2559,2216,1637,1717,2053,2058,2004,2023,1897,1727,1912,1882,1715,1885,2162,2515,2586,2522,2686,2604,2293,2129,2053,1773,1580,1610,1851,1841,1403,1564,1709,1875,1915,1644,1581,1626,1754,1890,1600,1411,1505,2172,2353,1930,1700,1932,2273,2280,2486,2470,2390,2375,2461,2718,2462,2668,2451,2879,2922,2308,2496,2762,2809,2972,2961,2985,3531,3780,3373,3016,3145,3688,3575,2746,2811,3143,3276,3078,2530,2624,3012,3017,3189,3159,2919,2827,3184,3377,3032,2530,2460,2946,3167,3110,3189,3333,3301,3116,2849,2709,2832,2836,2698,3011,3096,2491,2260,2597,2543],[2552,2119,1681,1718,1678,1858,2208,1645,1549,1896,1576,1598,1844,1901,2149,2504,2757,2502,2046,1632,1668,1876,1999,2174,2345,2230,2344,2249,1844,2204,2387,2494,2422,1986,1562,1508,2562,3076,3264,2940,2202,2799,2776,2499,3046,3159,2811,2808,2434,3132,4073,3675,3641,3654,3121,2906,3207,3254,2941,3118,3429,3384,3360,3305,3249,3351,3558,3709,3498,3237,3195,2980,3139,3706,4003,3271,3331,3690,3589,3570,3517,3131,3012,3251,3768,4019,3801,3870,3189,3629,3892,3033,2571,2026,2179,2438,2670,2490,1939,2147,2292,2058,1744,2015,2417,2744,3187,3287,2862,2297,2365,2610,2522,3125,3118,3041,2855,2651,2338,2392,2556,2753,3159,3305,2938,2248,2295,2476,2641,2929,2889,3038,2856,2386,2024,1796,1628,1541,1751,1615,1702,1828,1880,3050,3274,3342,3562,2979,2576,2619,2408,2276,2698,2912,2692,2236,2669,1916,1798,1908,2440,2132,2208,2459,2480,2174,1929,2119,2366,2923,3110,2499,2093,3074,3206,3298,3213,3215,3378,3200,2409,1779,1771,1677,1578,1780,2031,2457,2890,3339,3480,3341,2709,1943,1805,2201,2121,1668,1723,1922,1717,1831,2014,2739,3081,3040,2519,2265,2730,2843,2427,1832,1911,2512,2741,2762,3341,3244,2957,2145,1833,2645,3430,3244,2799,2638,2145,1637,1486,2513,3481,3089,2739,2314,1929,2286,2373,1891,2357,2722,2035,1905,1682,1637,1561,1868,2302,2383,2579,2901,2640,2325,2253,1721,1655,1645,1775,1959,1844,2204,2148,2276,3364,3723,3654,3260,2818,2588,2370,2113,2193,2066,2955,4415,4276,2876,2304,2874,3134,2639,2398,2288,2056,2449,2352,2875,2807,2920,3705,3827,2834,1966,1918,1829,1819,1808,1757,1565,2009,2461,2304,2504,2218,2234,2496,2302,2282,2273,1666,1543,1633,1503,1642,1932,2082,2309,2339,2254,1772,1676,1866,1944,2348,2643,2454,2330,2004,1894,2113,2130,2442,2391,2222,2481,2588,2648,2461,2217,2218,2298,2513,2165,2026,1859,1813,1637,2181,2543,2100,2199,2310,2188,1920,2372,2504,2065,1907,1956,2040,2203,2149,2047,2060,1952,1914,2027,1956,1936,1851,1945,1997,1818,1771,1858,1714,1744,1743,1889,1995,2272,2041,1886,1565,1528,1816,1828,1841,1790,1814,1874,1880,1821,1810,1800,1699,1686,1712,1748,2024,1990,1682,1865,2117,2154,2289,2170,2015,1665,1685,1744,1701,1797,1898,2243,2060,2081,2458,2284,1852,1838,2062,2104,2011,2071,2176,1955,1718,1786,1794,1660,2208,3318,4176,4068,2842,2252,2282,2009,1489,1703,1968,1801,2080,2150,1720,1768,2186,2266,2412,2463,2713,2242,2460,2696,1870,2214,2896,2565,2464,3008,2789,2149,2259,2470,2412,2722,3068,3218,3228,2997,3327,3292,2814,2711,2868,2530,2114,1898,1926,2013,2469,2520,2951,3056,3104,2500,2640,2886,2539,2721,2465,2679,3072,2275,2433,2113,1886,1886,2166,2046,2020,2214,2046,1771,1662,2054,2083,1855,2316,3232,3792,3013,2314,2564,2956,3563,3835,2971,1816,1707,2254,2329,1897,1711,1716,2066,1787,2106,2092,1765,1698,2399,2820,2613,3406,3521,2679,2474,3087,3514,3152,3840,3871,2474,1651,1537,1504,1696,1544,1548,1521,1520,1572,1559,1444,1354,1648,1789,1562,1749,2240,1896,1642,1554,1472,1942,1913,1795,1549,1524,1585,1650,1428,1472,1684,1473,1770,1897,1794,1508,1498,1964,1783,1623,1729,1731,1743,1876,1779,1828,2336,2776,2859,2502,2670,2667,2294,2059,2012,1730,1597,1487,1492,1506,1734,1976,1720,1854,1820,1843,2379,1997,2176,2921,2934,2316,1549,1483,1837,1714,1867,1630,1468,1390,1556,1584,1522,1378,2342,3388,3166,3413,3475,2951,2610,2643,1858,1512,1688,1528,1351,1329,1174,1107,1194,1210,1255,1316,1391,1469,1340,1298,1525,2064,2098,1825,1517,1303,1300,1411,1595,1293,1424,1465,1424,1384,1448,1568,1512,1384,1392,1510,1392,1272,1428,1661,1500,1310,1268,1252,1259,1331,1402,1359,1302,1302,1346,1404,1332,1246,1314,1375,1428,1557,1460,1441,1334,1341,1388,1295,1378,1455,1792,1499,1316,1256,1364,1443,1260,2200,2416,1797,1398,1436,1355,1395,1346,1320,1298,1303,1274,1315,1362,1337,1404,1534,1543,1592,1748,1948,1550,1432,1324,1592,1874,2244,1969,1847,1998,1860,1490,1485,1648,1851,1901,2037,1866,1627,1750,1819,2154,1928,1847,2106,2230,2035,1890,2007,1828,1647,1970,1952,1898,1660,1548,1727,1698,1548,1546,2141,2736,2674,2229,1634,2229,2091,2270,2586,2391,2091,3094,3846,3908,3764,3230,2844,2380,2251,1928,1746,1732,1669,2592,3658,3735,3070,2856,2441,1781,1389,1368,1350,1383,1537,1952,2706,3260,2565,2766,3163,3067,2753,2414,2057,1776,1721,1749,1518,1649,2091,2312,2486,2834,2786,2520,2116,2514,3245,2800,2690,2398,2548,2031,1877,1637,1198,1449,1848,1597,1924,2722,2850,2568,1795,1254,1952,2222,2356,2604,2127,2234,2663,2225,2235,3337,3565,2483,1726,1434,1645,2291,2665,2435,2153,2068,2208,2106,1728,1477,1101,1523,1779,1924,2480,2504,2530,2678,2561,2934,3488,3056,2879,3035,3378,3836,3473,3255,3825,4380,4562,4539,3812,2934,2910,3165,2917,3144,3687,4124,4268,4357,4152,3729,3646,3326,3059,2546,2250,1822,1743,1841,1736,2026,3058,3537,3171,2298,1669,2526,2680,2204,1795,1768,1820,1768,1435,1690,2258,2584,1961,1339,1377,1454,1687,1994,2066,2180,2018,1952,1986,1932,2280,2564,2220,2206,2556,2843,3276,2755,1946,1905,2722,3226,2541,2148,2112,2434,2334,1790,1913,2264,1951,1748,1489,2322,2262,1576,1848,1808,1856,2360,2589,2604,2442,2364,2088,1844,2386,2872,2358,1599,1519,1637,1356,1451,1767,2255,2371,1958,2320,2868,2566,2375,2557,2460,2438,2097,1668,1896,1731,2537,2281,1829,1719,1710,2105,1834,2005,2058,1658,2149,2100,2621,2785,2483,2458,2294,2277,2327,2520,2166,2003,1928,1778,1605,1767,1560,1522,1230,1958,1710,1700,2357,2263,1937,1927,1706,1479,1380,1290,850,524,1446,2479,1882,2305,2052,1645,1340,1160,1470,1926,1958,1116,1124,1378,1071,1449,1487,1669,1857,1769,1635,1858,1930,2009,2780,3096,2951,3121,2437,2364,1988,1526,1542,1853,2030,2359,2622,2722,2086,1481,1534,1743,2648,3309,3292,3311,3038,1979,1956,2166,2061,2200,1995,2028,2918,2728,1982,1756,1795,2024,1966,2170,2717,2870,2878,2952,3105,3180,3442,3647,3266,3408,3617,3505,3564,3798,3807,3172,3198,3765,2878,1710,1202,1250,1992,2075,2244,2339,2208,2280,2156,2113,2148,2520,3178,3304,3030,2886,2866,2876,3035,3154,2900,2204,1942,2025,1710,1525,2017,2221,1948,1958,2047,1843,1816,1917,1982,2007,1895,1613,1748,1750,1502,1860,2404,2300,1626,1603,1677,1483,1704,2148,2431,2718,2676,2132,2126,2784,3420,3504,3209,2211,2080,2301,2002,2043,2667,2732,2065,1781,1756,1808,1892,1772,2025,2572,2405,1760,1581,2046,2332,2117,2222,2401,1948,2167,2330,1816,2092,2791,2460,2577,3098,3460,3018,3050,3698,3387,2192,1486,1552,1548,1562,1479,1705,2073,1939,1562,1550,1626,1502,1513,1788,2221,1876,1528,1504,1661,1588,1708,1960,1873,1683,1798,1984,1758,1720,1859,1738,1896,2056,1793,1986,1695,1570,1467,1303,1317,1338,1409,1486,1472,1344,1400,1531,1427,1451,1465,1495,1596,1616,1637,1714,1625,1902,2115,1690,1532,1450,1562,1992,1890,2617,2574,2046,1743,1420,1574,1943,2277,2208,2453,2320,1899,1758,2018,2102,1824,1753,2158,1937,1757,1985,1959,2301,2576,2312,1693,1038,1254,2010,2545,2491,1954,1808,1877,1654,1575,1890,1918,1790,1741,1917,2001,2188,2327,2126,2064,2162,1641,1340,1677,1910,1155,1104,1206,1854,2352,2903,3450,3361,2865,2751,3146,3343,2867,3617,3692,3762,3495,3660,3994,3675,2542,1906,2195,2242,2521,3300,2941,2344,2272,2256,2288,2007,2144,2574,2692,2597,2503,2139,2031,2012,1753,1706,1707,1644,2373,3039,3212,2764,2362,2049,1806,2152,1955,2150,2262,2714,2710,2745,2469,2565,2642,2564,2850,2958,3042,2388,3019,3605,3972,3886,3130,2692,2349,2460,2866,2714,2445,2472,2300,2251,2251,1672,1731,2055,1999,1704,1813,1865,2804,3507,2552,1972,2134,1899,1848,2041,2037,2014,1920,1982,2126,2048,1911,1844,1802,2130,2024,2014,1994,1615,1582,2213,1954,1821,1611,1573,1824,2157,2159,1799,1549,1488,1692,1742,1848,2232,2246,1940,1656,2220,2713,2137,1808,1996,1956,1527,1620,1646,1579,1964,2043,1991,1746,1819,1841,1893,1849,1873,1822,1717,1990,2620,2448,2106,2440,2308,2041,1810,1961,2380,2364,1948,1695,1657,1779,1505,1802,2333,2286,1890,1873,1897,1738,1643,1562,1544,1705,1976,2200,2298,2753,2806,2798,2450,2014,1961,2008,1876,2287,2644,2065,1621,2523,3129,3144,2790,2493,2154,2004,2038,2148,2942,3307,2294,2026,2194,1853,1796,1679,1567,1958,1846,2488,2642,2526,2792,2467,2133,1871,2005,2630,3210,3169,2750,2156,2178,2439,2776,2810,2274,2231,2662,2711,2343,1999,2108,2165,2247,1912,1870,2176,2078,2059,2400,2421,2338,2352,2038,1935,1996,1973,2090,2279,2499,2501,2318,1871,1830,1792,1968,2330,2425,2144,1804,1731,2093,1872,1996,1834,1628,1720,1832,1803,1969,2252,2265,2094,2101,1882,1667,1654,2044,2455,2806,2967,2969,2813,2372,2221,2087,1909,1602,1517,1677,1714,1689,1714,1926,2151,1866,1654,1736,1798,1891,1990,1764,1627,1453,2186,2370,1682,1450,1744,1855,2045,2536,2587,2367,2183,2544,2830,2800,2972,3110,2780,2024,1758,2184,2610,2962,3387,3266,3062,3685,3751,3564,2757,2420,3016,3206,3184,3350,3397,3473,3303,2768,2518,2812,3274,3204,3287,3184,3023,3042,2842,2856,2663,2629,3108,3073,3016,3078,2600,2556,2588,2478,2780,3206,3106,3156,3144,2664,2160,1966,1970,2015],[2070,1762,1760,1927,1859,1923,1992,1771,1743,1796,1677,1672,1642,1882,2286,2613,2366,2017,1754,2024,2500,2532,2233,2039,2346,2249,2249,2128,2254,2308,2279,1895,1758,1578,1276,1589,2555,2949,3154,2384,2520,3031,2764,2503,2618,3544,3308,2776,2531,3558,4169,3723,3715,3500,3086,3056,2997,2964,2976,3350,3366,3327,3427,3453,3472,3350,3493,3530,3387,3262,3318,3106,3105,3584,3935,3848,3779,3702,3981,4095,3604,3283,3415,3627,4011,3492,3752,4438,4016,3875,3222,2458,2087,2097,2356,2678,2980,2628,2036,1765,1900,1947,1705,2131,2603,2744,3025,2925,2644,2525,2918,2878,3000,2988,3164,3073,2590,2336,2171,1842,1723,2542,3609,3558,3015,2193,2157,2104,2565,2994,3135,3475,3288,2454,1995,1815,1727,1943,2056,1881,1735,1618,2009,2668,2705,2596,2952,2585,1925,1935,2088,2561,3147,3371,3118,2766,2924,2410,2456,2511,2625,2573,2580,2441,2432,2280,1923,2115,2493,2888,3031,2433,2557,2900,2697,2607,2708,2764,2951,3057,2530,1958,1763,1742,2182,2728,2811,3067,3552,3525,3636,3773,2821,1799,1692,1921,2007,1666,1599,2172,2518,2317,2412,3197,3450,3065,2364,2211,2430,2889,3053,1809,1284,2059,2290,2743,3194,2958,2468,2086,2111,2575,2799,3223,3416,3120,1858,1128,1301,2667,3455,3860,3907,2755,2183,2728,2498,1995,2033,1894,1821,2369,2464,2332,2062,2319,2569,2580,2460,2423,2590,2518,2074,1709,1553,1558,1659,1844,1775,1743,1815,2533,3276,3498,3747,3680,3728,3544,3275,2224,2343,3232,4412,4771,4412,3455,2509,2381,2798,2963,3240,2793,2314,2479,2654,2728,2643,2902,3797,4584,3776,2286,2032,1893,1962,2133,2169,2137,2490,2479,2687,2763,2337,2520,2534,1873,1921,2010,1675,1500,1704,1687,2031,2197,2173,2047,2149,2364,2192,2184,2461,2170,2356,2846,2445,2568,2222,2319,2587,2358,2133,2222,2481,2652,2566,2413,2279,2633,2345,2355,2480,2186,1919,1810,1779,1693,1990,2317,2033,2051,2626,2721,2376,2586,2588,2124,1565,1665,2083,2040,1762,1743,1643,1532,1828,1742,1608,1721,1794,1749,1768,1604,1682,1749,1717,1689,1613,1840,1978,2083,2062,2020,1884,1782,1911,1955,1948,1855,1842,1971,1676,1609,1757,1799,1653,1613,1597,1686,2040,2001,1833,1853,1920,2263,2933,2710,1948,1750,1793,1773,1675,2042,1953,1944,1963,2097,2372,2272,1899,1592,1778,1925,1976,2293,2584,2552,2160,1806,1636,1672,2261,3055,3065,3429,3078,2316,2141,1399,1054,1692,1911,2613,3175,2220,1601,1367,1614,2336,2596,2327,2644,1970,2141,2762,1920,1925,2712,2428,1959,2339,2755,2239,2624,2987,2596,2775,3140,3123,3074,3055,3152,3029,2889,2878,3221,2871,2872,2086,1835,2188,2569,2625,3604,4114,3760,3375,3183,2645,2554,2531,2386,2740,3213,2592,2344,2229,1823,2114,2393,2210,2251,2221,1953,1652,1620,1995,2108,1920,2108,3054,3438,2696,2041,2434,3267,3525,3382,2939,2027,1830,1880,1886,1809,1791,2107,1994,1786,1941,1769,1641,1448,1464,1662,1912,2329,3308,3361,3167,3631,3370,2854,3681,3859,2620,1782,1713,1589,1640,1610,1544,1396,1443,1387,1444,1529,1553,1678,1734,1604,1930,2468,1866,1760,1551,1412,1847,1742,1580,1709,1796,1822,1534,1379,1563,1721,1386,1471,1578,2117,1726,1573,1743,1701,1635,1563,1466,1418,1542,1646,1516,2045,2216,1769,1841,2331,2430,1826,1885,1937,1665,1675,1514,1483,1512,1954,1947,1763,1875,1882,2005,2084,1899,2491,3345,3211,2261,1580,1826,1696,1974,2142,1649,1473,1578,1747,1783,1619,1576,2274,2866,2676,2897,3140,2731,2666,2530,1820,1571,1597,1448,1303,1288,1216,1272,1305,1175,1301,1286,1254,1322,1292,1283,1684,2222,2091,1857,1532,1254,1312,1476,1890,1610,1617,1638,1460,1378,1405,1342,1349,1371,1493,1720,1380,1232,1311,1334,1386,1369,1360,1351,1372,1354,1367,1344,1326,1333,1232,1256,1308,1311,1296,1281,1395,1498,1449,1365,1306,1339,1390,1613,1788,1450,1632,1479,1385,1418,1536,1404,1320,1454,1803,1790,1404,1365,1277,1374,1327,1362,1344,1250,1286,1391,1528,1464,1385,1564,1757,1644,1921,2305,1577,1250,1280,1374,1460,1905,1846,1560,2021,2114,1196,1199,1356,1721,1976,1988,1893,1829,1999,1783,1577,1843,1954,1963,1979,1678,1869,2006,2242,2156,2218,1910,1812,1918,2003,1876,1536,1186,1220,2158,2699,2437,2429,1995,2504,2323,2238,2262,1810,1649,2487,3416,3758,3582,3195,2723,2048,2151,2465,2124,2385,2518,2907,3633,2999,1891,1878,1768,1703,1737,1581,1315,1719,2164,2577,3003,2795,2898,3144,2107,1936,2077,1800,1861,2030,1877,1828,1622,1720,1902,2042,2066,2030,2175,2170,2224,2714,3138,2855,2793,2587,2750,2739,3860,3819,2356,2156,2535,2315,2248,2769,2623,1730,1694,2268,2774,2799,2509,2411,2272,2713,3433,3319,2657,2977,2975,2425,1831,1519,1470,1910,2359,2349,2211,2285,2491,2248,2149,2287,1354,1416,1258,1827,2297,2441,2802,2844,2401,2419,2839,3144,2942,2364,2518,2569,2143,1460,2417,3663,4284,4472,4348,3964,3887,3543,2939,3020,3332,3771,4087,4109,4177,4241,4152,3326,2609,2658,2094,1444,1836,1888,1857,1794,2184,3032,3642,2647,1795,2349,2922,2632,2125,1878,1677,1407,1738,2448,2435,2204,1965,1606,1628,1824,2443,2418,1981,2009,2036,1758,1720,2158,2546,3010,3178,2568,2219,2450,2913,2446,1791,2172,2853,3293,2791,2464,2336,2396,2329,1899,2171,2462,1925,1557,2029,2475,1825,1915,2272,2142,1794,1640,1840,1750,1774,1896,1602,1506,1763,2011,2398,2369,2524,2686,2079,2161,2193,2398,2447,2278,2132,1970,1709,1866,2219,2517,2910,2564,1742,1879,1988,2608,2010,1656,1619,1893,1876,1641,2263,1868,2125,2097,1559,1917,2121,2132,2172,2393,2194,1941,2014,2076,2168,2156,1942,2089,2279,1396,1001,1167,1466,1579,2030,2679,2353,1822,1883,1719,1406,1152,687,948,912,1692,1733,1937,2654,2216,1626,1289,1061,1341,1882,1906,1224,1476,1685,1716,1683,1786,1721,1864,2121,1764,1896,1598,1854,2935,3015,2941,2921,2776,2816,1912,1265,1744,2076,1946,2330,2643,2316,1725,1474,1365,1678,2755,3075,2839,3019,2745,1921,2025,2248,2344,1988,1730,1935,2424,2557,2337,2135,2220,2193,1897,2155,2603,2401,2510,2683,2889,3006,3173,3348,3320,3388,3618,3847,3732,3629,3477,2866,3000,3419,1982,897,940,995,1841,1758,1229,1045,1507,2181,2429,2287,2054,2618,2964,3024,2889,2827,2823,2777,2787,2986,2973,2431,1947,1849,1642,1461,1632,1768,1755,1811,1539,1804,2345,2271,1726,1650,1767,1854,2053,1620,1659,2072,1824,1910,1804,1886,1660,1781,2470,2415,2011,1946,2141,2702,2994,3475,3618,2977,2888,2513,2096,1766,1431,1379,1943,2507,2226,2196,2755,3090,3210,2414,1897,2052,1951,1994,1888,1916,2360,2159,2127,2293,1917,2169,2179,1564,1969,2370,2409,2665,2954,3579,3815,3366,3338,2365,1565,1654,1637,1575,1570,1613,1896,2158,2160,2017,1647,1624,1454,1466,1974,2129,2320,1772,1388,1359,1293,1517,1943,2098,1711,1662,1875,1895,1700,1591,1656,1799,1542,1693,2187,1998,1616,1471,1251,1244,1295,1449,1592,1750,1499,1509,1531,1601,1732,1760,1755,1793,1707,1709,1751,1486,2098,2413,1820,1459,1470,1489,2132,2003,1782,2159,2177,1999,1594,1505,1924,2374,2350,2377,2281,2202,2183,2019,1925,1854,1711,1821,1785,2103,2394,2416,2186,1996,1945,1576,943,1104,1880,2337,1876,1383,1649,1955,1861,1594,1608,1670,1724,1735,1796,2061,2149,2096,2257,2206,1808,1526,1450,1547,1727,1705,1462,1388,1684,2070,2284,2611,2832,2563,2525,2978,2932,3112,3619,3589,2907,2818,3486,4008,3661,2534,2470,2756,2893,3283,3041,2580,2297,2656,2979,2851,2349,2148,2325,2413,2214,2197,2329,2390,1981,1784,1708,1742,1752,2218,3331,4160,3461,2814,2395,2014,2228,2710,2920,2586,2534,2592,2821,2069,1953,2394,2115,2271,2507,2795,2091,2857,3186,3271,3737,3750,3449,2989,2288,2335,2161,2432,2819,2518,2853,2328,1985,2373,2889,2503,1783,1600,1629,2142,2746,2218,2120,2022,1640,1582,1993,2223,1896,1627,1729,2091,2175,1813,1937,2130,2199,1704,1649,1849,1908,1908,1872,2115,2065,1607,1440,1512,2082,2438,2053,1683,1448,1475,1633,1641,2049,2442,2180,1687,2111,2514,2052,2025,1843,1725,1531,1921,1750,1625,1703,1791,1798,1668,1847,2400,2247,1723,1726,1906,1855,2356,2620,2123,1843,2076,2122,2072,2060,2235,2654,2323,1736,1617,1567,1903,1782,1512,1675,1849,1932,2080,2059,1857,1615,1544,1557,1476,1607,1925,2352,2966,2970,2713,2291,1895,2070,2013,1851,2293,2363,2635,2690,3186,3494,3666,3400,2949,2448,2099,2104,2091,2440,2828,2174,1663,1820,1708,1501,1466,1567,1661,1720,2268,2322,2344,2377,2526,2834,2459,2284,2684,2588,2141,1897,1729,1835,2240,2624,2641,2352,2425,2807,2897,2317,2135,2335,2341,2350,1829,1720,1924,1957,2247,2185,2081,2333,2329,2038,2253,1945,2047,2075,2176,2458,2679,2531,1990,1941,1816,1832,1710,1745,1830,1961,1877,1722,1709,1715,1739,1775,1782,1753,1714,2018,2245,2276,2083,2103,1853,1837,1826,1931,2068,2054,1928,1987,1958,1825,2211,2313,1893,1476,1582,1735,1820,1689,1598,1685,1578,1560,1791,1983,1965,1849,1586,1715,1688,1703,1894,1842,1606,1449,1802,2243,1939,2137,2260,2104,2142,2504,2743,2871,2971,2903,2535,2435,2030,2008,2346,2920,3449,3351,2896,3352,3630,3553,3106,2850,3059,3560,3603,3309,3426,3164,2887,2536,2366,2489,2894,2963,2857,2998,3239,3114,2817,2603,2687,3411,3172,3146,2887,2956,2831,2360,2037,2081,2549,2639,2539,2896,2780,2406,2795,2126,1965,2640],[2054,1769,2401,2718,2452,2085,1694,1958,1766,1864,2257,1901,1778,2052,2429,2377,1825,1704,1696,1703,2021,2133,2272,1898,2237,1764,1692,1813,1820,2219,2278,1829,1567,1521,1392,1729,2915,3172,2697,2330,3343,3276,2397,2289,2401,3067,3185,2713,3086,4062,4030,3873,3808,3452,3255,2954,2785,2975,3231,3403,3282,3298,3486,3640,3560,3503,3442,3408,3341,3378,3487,3513,3462,3648,3917,4237,4132,3968,3805,3746,3695,3696,3777,3738,3529,3086,3601,3936,3905,3624,3020,2485,2189,2331,2698,2907,2820,2766,2681,2289,2039,1835,1614,2217,3072,3029,2568,2499,2590,2550,3009,2613,3023,3190,2851,2462,2171,2425,2801,2536,1833,1859,3050,3414,2878,2090,2477,2836,2899,2917,2930,3055,2754,2401,2546,2256,1951,2534,2647,2226,2042,1880,1962,2100,2320,2347,2522,2236,1954,1793,2271,2259,2408,3205,3194,3153,2566,2260,2389,2490,2688,2744,2686,2359,2335,2270,1984,2889,3344,3328,3196,2633,2600,2743,2697,2611,2192,1748,1902,2216,2689,2890,2722,2317,2306,2249,2613,3287,3575,3374,3466,3428,2669,2031,1996,2079,2136,2006,1720,2365,2986,2613,2599,3255,3707,3449,2354,2104,2450,2589,2837,1709,1585,2301,2466,2980,3319,3110,2689,2272,2281,2166,1795,1936,2518,2579,2460,2153,2088,2484,2490,2987,3162,2395,2999,2542,1765,1738,2013,2032,1839,2471,2924,2561,2404,2314,2526,2887,2378,2214,2438,2613,1895,1610,1576,1630,1709,1791,1779,1692,1819,2276,2547,2675,2857,3142,3535,3624,3394,2998,2916,3482,4499,4576,3960,3532,2881,2766,3401,3193,3218,2967,3069,2915,3216,3131,2876,3261,4220,4776,3551,2191,2236,2208,2335,2077,2124,2959,3436,2978,2374,2060,2197,2578,2316,1756,1741,1761,1922,1860,2047,2097,2496,2634,2491,2202,2045,1996,2312,2580,2753,2274,2702,3510,3410,2942,2943,3133,2797,2399,1978,2301,2691,2932,2721,2345,2485,2490,2285,2487,2453,2108,2240,2494,2585,2390,2566,2578,2548,2570,2258,2174,2354,2343,2549,2641,2030,2098,2151,1720,1699,1621,1642,1464,1653,1626,1519,1619,1682,1628,1542,1561,1683,1713,1863,1774,1755,1843,1925,1807,1792,1913,1860,1783,1755,1704,1748,1723,1797,1936,1606,1744,2099,2293,1853,1553,1537,1793,1870,1721,1663,1721,2021,2119,2384,2351,1669,1632,1795,1782,1815,2159,2190,2082,2331,2230,1858,1960,1974,1646,1787,1746,1678,1909,2520,2919,2856,2153,1761,2047,2776,3501,3144,3194,2846,2610,2680,2075,1816,1877,1709,3049,3876,2473,1965,1743,1978,2588,2522,2352,2742,2430,2226,2558,2762,2955,3098,2444,2231,2562,3126,2433,3099,3124,2937,2918,3064,3376,3215,2928,2709,2630,3250,2983,3095,2813,3266,2652,2144,2523,2490,2547,3648,4256,4071,3606,2577,1715,2160,2360,2356,1986,2222,2093,1852,1787,1705,1948,2273,2244,2230,2310,2112,1737,1622,1869,1919,1607,1675,2718,2980,2496,2476,2503,2790,3296,3448,3460,2876,2099,1585,1510,1714,2272,2593,2294,2203,2066,1675,1653,1484,1440,1980,2117,1844,2473,3317,3892,4112,3590,3356,3738,3650,2425,2100,1951,1894,1696,1538,1560,1548,1504,1421,1483,1673,1676,1668,1633,1812,1775,2148,2231,1980,1533,1441,1420,1392,1525,1656,2258,2454,1664,1527,1542,1388,1517,1516,1743,2027,2210,2013,1771,1867,1669,1579,1572,1518,1510,1551,1431,1716,1754,1942,2053,2476,2733,2252,2128,2076,2084,1807,1753,1632,1637,2209,2099,2053,2841,3371,2773,2042,1325,1244,1778,2119,2085,1790,1566,1470,1748,1767,1466,1455,1765,2202,2224,1715,1840,1693,1921,1673,1448,1729,1856,2270,2148,1572,1556,1706,1492,1605,1780,1354,1356,1371,1221,1212,1211,1246,1217,1318,1349,1589,1997,1582,1443,1629,1331,1262,1281,1383,1544,1710,1798,1591,1507,1510,1477,1510,1593,1493,1620,1384,1211,1268,1364,1341,1400,1365,1248,1257,1383,1338,1302,1326,1336,1253,1219,1249,1410,1484,1529,1573,1461,1533,1507,1447,1416,1310,1394,1308,1399,1396,1382,1461,1627,1528,1314,1257,1360,1566,1406,1309,1213,1176,1305,1293,1356,1362,1286,1305,1429,1524,1604,1520,1601,1616,1538,1468,1654,1422,1273,1513,1589,1866,2200,2149,1740,1678,1676,1554,1538,1700,1936,1938,2304,2209,1658,1571,1672,1775,1983,1885,1964,1416,1069,1422,1966,2243,2235,2251,2065,1974,1918,1746,1571,1280,1171,1641,2541,3038,2115,1926,1821,2157,2156,1937,1829,1628,1782,2186,2447,2890,2895,2644,2474,2280,2478,3127,3118,3011,3071,3518,3411,2459,2331,2632,2292,2194,2185,2061,2049,2419,2722,3073,3618,3602,3740,3438,1531,1445,1473,1527,1693,1626,1403,1638,1735,1699,1591,1665,1558,1450,1649,1808,2139,2400,2480,2581,2591,2548,2763,2397,1909,1804,1992,2360,2360,2364,2097,2074,1929,1839,2438,2949,3162,2840,2709,2731,2271,2398,3111,4420,3420,2142,2209,2029,2051,2119,1986,2349,2618,2166,2025,2554,2798,2301,2533,3042,2521,1810,1594,2232,2645,2822,3155,3304,3150,2749,2688,2929,2909,2714,2613,2907,2459,1617,1997,2556,3181,4140,4309,4040,3940,3758,3994,3673,3145,2618,3338,3801,4060,4309,4348,3354,2322,2527,1751,1585,2050,2135,1874,1677,1599,2020,2866,2564,1705,1566,2146,2719,2609,1671,1692,2009,2500,2866,2755,2542,2106,1939,1965,2017,2180,1911,1439,1609,1956,1816,1803,2210,2910,3517,3424,2577,2182,2328,2352,2082,2205,2428,2076,2333,2360,2679,2149,2200,2302,1980,2114,1925,1580,1425,1960,2036,1479,1807,1835,1659,1779,1953,2293,2078,1961,2200,2012,2248,2522,2452,2359,2579,2653,2584,2409,1844,1560,1931,1833,1562,1830,2043,2180,2438,2464,2511,2283,2332,1782,1622,1977,2178,1626,1314,1772,1840,1649,2005,2044,1840,2592,2294,1561,1493,1700,1668,1905,2127,1612,1645,2075,1993,1862,2222,1863,2133,2393,1456,653,719,1542,1890,1724,2047,1736,1796,1722,1560,1163,969,1058,1486,1283,1505,1946,2380,2525,2019,1660,1309,1172,1295,1922,1866,1223,1428,1721,1858,1789,1700,1678,1642,1752,1615,1692,1438,2008,2790,2821,2773,2712,2844,2218,1360,1476,2254,2191,1954,2424,2598,2302,2174,1524,1338,1687,2381,2692,2673,3117,2792,1739,2027,2272,2458,2235,2031,1768,1802,1911,1880,2056,2212,2074,1949,2277,3034,2778,2558,2407,2392,2381,2484,2802,2920,3056,3376,3516,3399,3163,2854,2309,1910,2535,1694,848,948,1827,2447,1826,924,664,1130,1997,2375,2212,2049,2767,2721,2775,2876,2811,2696,2629,2740,2820,3065,2754,2147,1850,1804,1741,1600,1471,1352,1577,1490,1559,1958,1992,1842,1975,2312,2355,1842,1627,1696,1490,1552,1767,1941,2031,1886,2078,2346,1593,1419,2210,3078,2997,2592,2749,3255,2742,2438,2537,2642,2216,1471,1675,2140,2403,2781,3002,2810,3081,3787,3012,2111,2132,1998,2056,1975,1773,2226,2196,1962,2147,2261,2393,1971,1695,2088,2192,2220,2574,2454,2906,3210,3218,2797,2322,2277,2364,1887,1548,1571,1606,1786,1810,2068,2463,1730,1873,1627,1421,1580,1823,2360,1871,1476,1477,1565,1704,1831,1909,1818,1659,1623,1642,1628,2143,2189,1893,1597,1442,2024,2286,1847,1644,1394,1205,1315,1716,1692,1812,1807,1850,1830,2040,2357,2261,1915,1625,1509,1498,1644,1521,1795,1841,1682,1510,1435,1410,1784,1765,1594,1919,1820,1858,2166,1929,1889,1810,2029,2259,2078,2054,2384,2041,1673,1719,1659,1788,2040,2206,2310,2194,1931,1635,1541,1614,1503,1389,1791,1807,1507,1463,1550,1859,1711,1642,1727,1793,1770,1742,1993,2216,2143,2186,2249,2131,1599,1302,1417,1460,1510,1623,1512,1499,1556,1691,1968,2322,2438,2713,3189,3373,3079,2938,3626,3626,3218,3033,3131,3833,3492,2386,3497,3965,4011,3214,2520,2501,2520,3006,3503,3186,2256,1883,2169,2311,2486,2373,2110,1377,1650,2012,1860,1892,1974,2159,3185,3823,2958,2486,2554,2495,2735,3216,3222,2598,2264,3068,3106,2013,2344,2752,2471,2715,2404,2541,2244,2898,3350,3094,3206,3518,3689,2911,2341,2372,2232,2454,2280,2158,2589,2566,2313,2294,2135,1735,1695,1733,1647,1587,1555,1558,2076,1681,1481,1695,1958,2160,1901,1541,1807,2706,2811,2041,2208,2850,2637,1977,1626,2010,2264,1990,1737,2081,2524,1931,1311,1506,1777,2186,2107,1978,1638,1496,1650,1520,1546,1654,1471,1561,1806,1880,1649,1853,1754,1620,1406,1798,1864,1729,1716,1906,1954,1707,1944,2404,2154,1885,2082,2271,1942,2177,2176,2010,2090,2104,1947,1929,2114,2052,2565,2442,1738,1410,1622,2235,2052,1699,1738,1659,1838,2116,2064,2025,1767,1614,1426,1505,1677,1841,2286,2818,2854,2416,1876,1785,2025,1909,2131,2283,2444,2719,2645,3097,3369,3517,3603,3488,2958,2321,2250,2385,2330,2396,2096,1964,2254,1909,1611,1582,1799,1593,1526,2077,2340,2062,1619,1998,2604,2602,2705,2503,2495,2618,1992,1588,2208,2916,2867,2596,2518,2410,2758,2784,2219,2161,2330,2778,3146,2662,1937,1992,2272,2996,2250,1875,2286,2414,2283,2126,2161,2153,1870,2093,2208,2403,2288,1880,2069,1840,1721,1732,1919,2030,1792,1803,1895,1972,2154,2013,1769,1809,1865,1942,2210,2065,1849,1743,1870,1819,1765,1792,1829,1747,1682,1801,1723,1664,1742,2254,2099,1638,1545,1581,1758,1915,1656,1600,1671,1715,1719,1857,2048,1897,2180,1621,1542,1955,2084,2065,1921,1488,1581,2364,2903,2180,2459,2287,2333,2556,2222,2280,2384,2474,2280,2275,2906,3009,2556,2496,2601,2961,3176,2621,2647,3002,2909,2912,3043,3010,3554,3398,3214,3103,2873,2994,2152,2281,2526,2775,2952,2843,2927,3115,3075,3068,2701,2993,3595,2995,2895,2347,2205,2655,2853,2364,1952,2367,2482,2244,2610,2355,2656,3161,2435,2512,2880],[1926,1857,2636,2895,2847,2388,1837,2335,2166,2569,2208,2057,2248,2787,2914,2216,1632,1471,1561,1433,1215,1391,2126,1714,1591,1499,1617,1774,2132,2592,2389,2132,1785,1485,1329,2178,3241,3172,2335,2973,3926,3628,2728,2372,2432,2614,3087,3716,3736,3875,3598,3681,4006,3851,3703,3351,3112,3144,3343,3411,3351,3319,3384,3605,3353,3504,3419,3296,3250,3496,3726,3747,3814,3695,3747,3815,4012,4199,3775,3284,3311,3437,3470,3557,3483,3790,3647,3188,3172,3080,2675,2446,2589,2752,2777,2589,2699,3182,3428,3211,2587,1842,1683,2181,3025,2958,2763,2946,2897,2873,2966,2962,3318,3538,3097,2557,2827,3291,3009,2902,2386,2418,2756,3034,2773,2148,3458,4185,3408,3145,2466,2332,2495,2601,2581,2593,2041,2053,2532,2347,2416,2126,1614,1628,1790,2003,2368,2155,2079,2294,2741,2368,2375,2529,2755,2994,2720,2639,2940,2973,2964,2613,2822,2394,2055,2170,2676,2978,3231,3517,3301,2614,2373,2545,3013,3035,2040,1642,1628,1969,2525,3050,3104,2791,2327,2353,2965,3301,3436,2897,2059,1973,2386,2644,2599,2149,2417,2404,2036,2160,2274,2595,2722,3273,3491,2863,2050,2710,3088,3008,2769,2363,2603,2553,2483,3045,3405,3019,2421,2389,2231,1802,1582,1591,1792,2042,2718,3123,2880,2750,2414,2609,2474,2030,3375,2831,1984,1726,1890,2030,2336,3143,2973,2282,2662,2366,2419,2592,2083,2057,2274,2392,1925,1730,1650,1653,1710,1699,1637,1463,1528,2038,2337,2753,2695,2672,3053,3487,3584,3673,2997,2156,3117,3500,3320,3765,3208,2876,3382,3249,2556,2437,2789,3446,4201,3802,3647,4163,4748,4794,3364,2962,2333,1871,2095,2142,2581,3506,3975,3737,2610,2122,2013,2035,2041,1908,1712,1795,1989,2059,1835,1833,2047,2065,2248,2270,2191,2028,2253,2418,2524,2257,2620,3365,3725,3315,3130,3151,2895,2578,2066,2308,2561,2565,2252,2215,2005,1856,2264,2751,2730,2369,2907,2749,2622,2342,2712,2995,3144,2613,1860,1805,2148,2351,2678,2907,2247,2150,1936,1902,2003,1679,1541,1483,1615,1698,1647,1759,1911,1856,1794,1978,1960,1959,1896,1815,1760,1636,1742,1696,1697,1807,1582,1586,1657,1583,1714,1808,1882,1800,1731,1857,2274,2339,2164,1977,1676,1648,1814,2045,1935,1734,2039,1989,2001,1886,1912,1852,1644,1663,1761,1905,2046,1929,2060,1838,1693,1824,1931,1852,1900,1965,1848,1868,2140,2289,2917,3049,2518,3059,3763,3960,3320,2728,2436,3006,2978,2664,2472,1915,2003,2190,1704,2110,2075,2071,2246,2368,2365,2397,2640,2700,2208,2420,2557,2276,2743,2099,1896,2030,2432,2319,2671,2658,3066,3056,2765,3012,3162,3458,2809,2742,3184,3099,3202,2892,3039,3153,2512,2403,2998,3497,3755,3904,3842,3547,2853,2554,2979,2576,2321,2370,2123,1699,1636,1875,2135,2064,1976,1913,2081,2348,2094,1736,1661,1827,2035,1723,1528,1963,2194,2474,2809,2757,2718,3116,3276,2966,2771,2128,1671,1720,2126,2252,2048,1931,1801,1648,1599,1639,1390,1356,2046,2030,1764,1671,2032,2840,3213,3482,3757,3466,2641,1669,1811,2026,1998,1715,1555,1651,1542,1489,1437,1459,1516,1470,1483,1437,1751,1642,1620,1781,1664,1593,1554,1411,1761,2214,1980,2118,2277,1997,1757,1789,1552,1497,1639,1636,1683,2161,2350,2016,1842,1679,1614,1609,1375,1559,1530,1464,1513,1655,2330,2968,3141,2977,2714,2414,2222,2137,2352,2027,1509,1776,2259,2028,2008,2944,2895,1720,1573,978,922,1357,1651,1758,1641,1545,1520,1446,1585,1771,1675,1688,2242,2289,2186,1832,1549,1699,1435,1371,1746,2017,2138,1796,1631,1759,1979,1750,1565,1487,1423,1418,1384,1224,1229,1297,1274,1268,1440,1450,1409,2043,1748,1366,1719,1565,1355,1305,1233,1275,1548,1599,1496,1557,1466,1505,1550,1792,1507,1438,1324,1215,1336,1362,1311,1393,1458,1368,1217,1300,1360,1321,1245,1357,1329,1249,1189,1259,1323,1542,1664,1295,1197,1262,1500,1469,1428,1332,1345,1679,1731,1482,1598,1632,1427,1440,1339,1506,1500,1548,1547,1317,1308,1400,1407,1456,1457,1324,1261,1370,1601,1699,1473,1437,1402,1309,1225,1243,1209,1298,1535,1922,2367,2315,2256,1811,1470,1416,1420,1255,1653,1913,1964,2354,2033,1268,1233,1396,1640,1763,1989,1773,1177,1141,1403,2084,2019,1362,1103,1277,1743,2401,2077,1783,1622,2106,2910,3636,3715,2661,2330,2237,1975,2058,2048,2226,2166,2178,2112,2697,2932,2424,2154,2542,3020,2984,2962,2864,2166,2632,3486,3064,1766,2161,2448,2210,2166,1894,2081,2394,2447,2621,3432,4442,4369,3983,3803,1923,1418,1341,1369,1405,1455,1430,1617,1880,1706,1470,1637,1607,1700,1797,1562,1738,1942,1553,1447,1526,1860,2378,1947,1639,1599,1565,2039,2404,2310,1637,1551,1802,2195,2749,3133,3243,3130,3436,2934,2268,2438,2915,4026,3311,2018,2380,2780,2693,2395,2160,2070,2194,1800,1400,1786,2424,2505,2186,2393,2940,2503,1830,2033,2959,3210,2624,2908,3768,3915,3268,2852,2006,1965,2041,2200,1673,1513,2211,2661,3116,3925,4050,3694,3071,2822,3662,3697,3548,2988,3397,3929,4085,4288,4265,3100,2166,2566,1681,1565,2164,2389,1913,1604,1559,1584,1990,2486,2301,1403,1610,2708,3098,2247,2379,2626,2718,3054,2874,2647,2167,1772,1780,1410,1729,1987,1935,1825,2010,2051,1969,1969,2729,3428,3376,2385,1635,2042,2490,2393,2271,2444,2024,2090,1991,2103,1542,1779,2106,1857,1818,1543,1505,1388,2023,1567,1295,1557,1867,1864,1730,1908,2050,1656,2130,2420,2035,2313,2296,1958,1645,1783,2138,2115,1851,1525,2015,2192,1825,1913,2242,2322,2154,1897,1731,1910,1949,2109,2046,1823,1772,2069,1604,1533,1933,1690,1780,2015,1528,1908,2041,2029,1963,1892,1853,1884,1946,1677,1597,2100,1985,1804,1735,1777,2036,2531,2453,1621,1232,1425,1593,1302,1664,2441,2081,1960,1991,1513,763,743,1337,1679,1627,1902,2169,1936,2004,1692,1622,1169,1237,1435,1963,1663,960,1253,1588,1666,1700,1671,1870,1581,1199,1726,1747,1476,2276,2748,2804,2783,2585,2237,1382,1303,1807,2431,2047,2249,2585,2736,2839,2371,1676,1535,1836,2614,3099,2946,3023,2809,1813,1993,2422,2213,1980,1963,1811,1747,1786,2085,2359,2103,2034,1941,2612,3520,3595,3366,3217,2831,2530,2805,3213,3359,3582,3311,2679,2502,2298,2300,2192,1716,1808,1542,946,997,1809,2385,1987,918,781,1179,1527,2182,2229,2330,2901,2862,2809,2828,2808,2724,2507,2402,2306,2757,3010,2462,1938,1818,1816,1791,1549,1503,1794,1755,1760,1842,1997,2379,2578,2670,2295,2139,1951,1755,1930,2242,2178,2237,2440,2623,2010,2166,1631,1592,2288,3027,2400,2106,2332,2115,2033,2125,2381,2872,2788,2287,2901,3389,2950,3004,2889,2328,2485,3342,2924,2133,2181,2043,1995,1906,1981,2310,2397,2105,2187,2288,2254,1998,1741,1987,2007,1874,2655,2713,2670,2439,3015,3218,2801,2523,2439,2037,1997,2020,1675,1729,1831,1944,2198,1731,1773,1699,1588,1601,1717,1843,1684,1432,1532,1831,2141,1883,1918,1720,1755,1549,1532,1899,2345,2073,1768,1700,1551,1766,1895,1725,1612,1572,1437,1386,1622,1767,1897,2047,2391,2699,2600,2954,2932,2181,1588,1477,1393,1380,1381,1556,1485,1292,1373,1484,1569,1737,1748,1656,1763,2003,1981,2229,2437,2167,1801,1742,1862,1707,1573,1963,1922,1831,2431,2004,2175,2315,2249,2141,1820,1697,1687,1504,1677,1833,1704,1867,1596,1550,1489,1477,1874,1890,1973,2075,1953,2072,1822,1741,2288,2338,2454,2258,2173,1823,1553,1600,1490,1459,1813,2259,2208,1771,1895,2194,2177,2288,3038,3816,3773,3199,3225,3626,3606,3419,2488,2786,3552,3511,2407,3072,3616,3827,3052,2881,3034,2742,2683,2943,2798,2140,1994,2306,2400,2526,2609,2144,1891,2361,2531,2221,1957,1874,2056,2484,2185,2031,2357,2610,2674,2689,2697,2818,2497,2453,3089,2833,2467,3047,3870,3386,3195,2553,2544,2675,2958,2946,2676,2975,3330,3044,2019,2254,2892,3186,2975,2851,2608,2557,2540,2361,2298,1851,1624,1792,1687,1582,1954,2000,2326,2657,2054,1936,2047,2008,1859,1791,1643,2204,2673,2925,2636,2602,2606,2519,2146,1884,1993,1678,1618,1684,1952,2453,2145,1201,1424,1554,1782,2145,2287,1999,1683,1542,1513,1441,1534,1913,2050,1880,1811,1601,1548,1566,1591,1683,1828,1729,1811,1775,1814,2162,1974,2051,2053,1823,1874,2015,2218,2026,1921,1902,2181,2315,2426,2149,1971,1938,1321,1871,1859,1716,1656,1792,2067,1880,1759,1893,1635,1720,1887,2118,2294,2078,1833,1773,1959,1983,2047,2387,2447,1911,1609,1881,2009,2148,2004,2244,2236,2477,2648,2558,2839,3177,3300,3370,3432,3234,2782,2713,2754,2690,2238,2024,2246,2388,2210,2012,1841,1787,1870,1990,1905,2183,1944,1999,1951,2194,2052,2200,2025,2133,2357,1909,2140,3024,2897,2640,2908,2434,1841,1897,2039,2314,2346,2287,2830,3438,3360,2188,1972,1716,2260,1959,2082,2175,2424,2500,2070,2106,2200,2480,2545,2161,2164,2241,2043,2093,1862,1716,1609,1958,1870,1598,1817,2188,2230,2480,2374,2373,2301,2246,2072,2449,2336,1729,1493,1716,1879,1669,1707,1822,1700,1566,1991,2006,1895,2056,2076,1766,1631,1537,1528,1840,1884,1682,1533,1433,1732,1770,1664,1813,1834,2030,1688,1550,1769,1908,1998,1980,1537,1556,2217,2493,2048,2059,2075,2402,2586,2498,2318,2025,1966,2050,2585,2731,3054,3326,3327,2421,2373,2791,2713,2806,3010,2917,3054,3098,2669,2956,3225,3071,2500,2308,2294,2240,2379,2443,2666,2756,2777,2735,2831,3215,2933,2598,3253,3242,3002,2864,2174,1724,1792,1909,2024,1973,2392,2544,2752,2785,2165,2560,2877,2308,2315,2493],[1961,1982,2243,2372,2665,2663,2314,2462,2588,3003,2776,2566,2636,2823,2688,2443,1968,1588,1550,1584,1508,1715,2344,2271,1985,1895,1918,2007,2524,2787,2523,2401,1939,1363,1571,2807,3330,2505,2526,3696,4112,3707,3275,2658,2626,2408,2713,3790,3518,3198,3091,3145,3738,4026,3826,3637,3353,3089,3342,3530,3776,3726,3695,3702,3566,3382,3071,2639,2676,3156,3391,3796,3782,3198,3450,3540,3746,4012,3858,3438,3320,3311,3501,3709,3838,3583,2946,3000,2723,2709,2578,2821,2910,2942,3110,2706,2685,3221,3724,3682,2831,2544,2868,2539,2597,2843,3406,3316,3221,2727,2553,3035,2803,2776,3030,2829,2448,2583,2573,2771,2791,3030,2879,2900,2770,2806,3970,4071,2520,2185,2307,2807,2929,2669,2437,2539,2542,2204,1953,2319,2626,2245,1867,2088,2144,1921,1977,2303,2622,2482,2474,2287,2128,2468,2611,2724,2776,2907,3474,3624,3231,2785,3119,2536,1856,2114,2288,2288,2603,2989,3275,2633,2123,2252,2502,2364,2022,2114,2228,2120,1884,2419,3041,2908,2514,2802,2943,3476,3386,3089,1942,1722,2286,2530,2598,2342,2408,2388,1958,1781,2003,2740,2541,2639,3116,2573,3044,3985,3562,3027,2508,2576,2886,2644,2087,2374,2630,2874,2684,2994,2756,1957,1544,1815,2160,2066,1854,2170,2344,2591,2332,2436,2141,2160,2371,2148,1937,2091,2159,2004,2518,3123,3186,3251,3229,3044,2424,2045,1943,1715,2043,2200,1859,1941,1852,1861,1903,1752,1818,1557,1519,1900,2212,2820,3040,2842,2984,3529,3806,3594,2904,2061,2396,2060,2402,3147,3304,3073,3327,3271,2958,3156,3532,3806,4038,3736,3538,3799,3772,3751,2840,2920,2461,1927,2059,2183,2684,3076,3338,2829,2228,2182,1987,1869,1826,1787,1691,1694,1689,1622,1511,1600,1732,1785,1942,2297,2818,2744,2706,2548,2343,2247,2128,2648,3054,3011,3194,3283,3238,2864,2450,2421,2320,1740,1817,2294,2074,2288,2406,2684,2558,2044,2362,2259,2148,1910,2369,2997,3182,2524,2003,1931,2013,2287,2648,2822,2137,1744,1828,2050,2075,1908,1701,1449,1522,1883,1856,1940,1908,1839,1906,1909,1910,1791,1642,1727,1754,1598,1644,1625,1682,1852,1611,1519,1550,1578,1816,1953,1938,1948,2182,2041,1699,1812,2290,2245,1740,1598,2244,2405,1843,1944,2073,1891,1853,1832,2049,1951,1664,1688,1650,1888,2147,1975,1763,1746,1566,1529,1665,1630,1536,1872,1980,1686,1886,1950,2410,2595,2922,4124,4484,3418,2634,2579,2775,3109,2591,2264,2464,1848,1984,2204,2425,2238,1982,1816,1624,1922,2534,2648,2824,2851,1582,1753,2089,2028,2294,2063,2194,2725,2730,2475,2114,1884,2453,2753,2448,2530,2796,3130,2564,2416,2292,2962,3630,3531,3430,3328,3019,2542,2912,3898,3953,3776,3796,3862,3264,3209,3242,2913,2536,1969,1830,1675,1684,1737,2139,1818,1590,1708,2163,2233,1958,1620,1638,1857,2042,1911,1738,2071,2334,2412,2763,3028,3125,2704,2492,2435,2366,2210,1952,1622,1817,1848,1692,1543,1554,1707,1766,1655,1522,1433,1570,1584,1622,1668,1556,1576,1788,2213,3029,2620,1722,1537,1594,1700,1748,1533,1454,1503,1579,1632,1447,1363,1360,1522,1336,1476,1606,1609,1554,1519,1632,1520,1440,1679,2001,2126,1872,1500,1737,1687,1492,1655,1619,1489,1540,1591,1810,2288,2392,1806,1566,1876,1990,1702,1534,1952,1632,1375,1688,2070,2435,3196,3173,2398,2654,2407,2260,2438,2664,2007,1513,1747,1946,1587,1634,2175,2268,1953,1881,1524,1372,1360,1924,2150,1888,1866,1756,1413,1367,1546,1492,1553,1964,1642,1620,1499,1480,1561,1412,1441,1658,2075,2182,1770,1616,1943,2178,2632,1899,1418,1493,1398,1382,1295,1243,1236,1210,1276,1385,1452,1278,1815,1866,1505,1353,1320,1289,1267,1240,1263,1511,1742,1826,1555,1302,1285,1332,1453,1383,1345,1250,1199,1257,1304,1194,1323,1468,1594,1412,1481,1697,1479,1261,1329,1362,1386,1360,1371,1458,1544,1412,1272,1206,1408,1579,1428,1387,1399,1500,1744,1876,1960,2126,1664,1412,1445,1309,1614,1686,1648,1569,1453,1421,1322,1393,1509,1306,1214,1622,2069,2429,2024,1640,1470,1390,1324,1276,1271,1332,1513,1579,1593,1722,1613,1706,1727,1651,1504,1728,1813,1940,1925,1538,1657,1557,1024,1238,1423,1764,1931,1848,1442,1345,1409,1647,1943,1663,1150,584,1243,1534,2771,2854,2222,1753,2401,3110,3499,3709,3353,2734,2443,2345,2113,2194,2172,1674,1516,1588,2413,2734,2619,2447,2724,3042,2829,2868,2322,1902,2674,2872,2364,1880,2492,2241,1845,2061,2240,2504,2464,2421,2365,2752,3389,3255,3130,2995,2130,1813,1527,1386,1437,1570,1676,1665,1446,1336,1560,1848,1616,1171,1167,1536,1983,1704,1399,1930,2361,2342,2548,2134,2182,1429,1780,2457,2901,2422,2070,2002,1959,2308,2719,2722,2678,2388,2365,1849,2012,2610,3145,3381,2591,2264,2599,2702,2211,2100,2405,1760,1931,1742,1367,1312,1843,2404,2163,2013,2552,2852,2243,1448,2243,2846,2610,2935,3196,3791,3926,3518,2442,2026,2134,2310,2248,2042,2357,2658,2599,3479,3919,3995,3610,2809,2677,2878,2865,3296,4030,4092,4069,3918,3649,2943,2564,2406,1480,1556,2205,2210,1683,1556,1609,1571,1712,2144,2286,1788,1953,2629,2627,1811,1643,1985,2512,2720,2543,2182,1868,2208,2708,2188,2530,2424,1912,1838,2112,2086,1975,1956,2144,2696,3219,2787,1973,1998,1822,2347,2763,2456,2228,2401,2414,2269,2055,1989,1951,1844,1750,1649,1743,2027,1889,1439,1443,1868,1978,1786,1913,2167,2024,1216,1481,1490,1557,1777,1719,1628,1675,2153,2209,2226,2441,1942,2415,1921,2192,2310,2236,2243,2401,2430,2138,1749,1801,2086,1956,1592,1731,2156,1345,1884,1717,1560,1624,921,1005,1723,2035,2182,2290,1876,1569,1997,1677,1775,2403,2364,1970,1814,1565,1824,2159,2247,1995,1678,1713,1764,1578,1340,1659,1895,1641,1707,1939,1165,547,1067,1602,1638,1721,1686,1451,1143,1571,1594,1448,1190,1216,1522,1977,1484,1027,1738,1972,1805,1628,1816,1960,1564,1406,2006,1885,1727,2533,2750,2684,2564,2156,1678,1315,1336,1734,1636,1544,2311,2459,2700,2923,2210,1773,1829,2261,2619,2964,2899,2905,2480,1889,1868,2147,2017,1915,1979,1891,1913,2067,2536,2217,1968,1987,1922,2619,3144,3422,3544,3551,3354,3208,3260,3404,3617,3785,3060,2303,2049,2169,2302,2281,2091,2171,2178,1711,1470,1370,1672,1879,969,839,1140,1120,1747,1864,2257,2977,2879,2817,3037,3015,3020,2878,2247,1994,1956,3029,2850,2119,1874,2071,2082,1751,1802,1914,1812,1919,2276,2097,1878,2221,2245,2610,3100,2852,2482,2414,2121,1958,2491,2968,3555,2667,2810,2157,1689,1946,2607,2455,2261,2188,1738,2122,2363,2562,2580,2501,2486,2851,2618,2597,2746,2946,2872,2400,2723,2670,2303,2052,1923,1875,1774,2131,2635,2604,2188,1999,1962,2053,2146,1913,2027,2150,2590,3351,3039,2213,1721,2224,3150,3127,2459,2105,2164,2416,2192,2088,1911,1956,1686,1568,1651,2079,2894,2700,1744,1613,1826,1897,1594,1532,1655,1848,1655,1421,1644,2280,1873,1521,1830,1824,1798,1931,1716,1498,1605,1599,1585,1517,1550,1755,1706,1868,2317,3057,3575,3658,3690,3265,2938,2441,2360,1820,1528,1528,1458,1468,1600,1589,1455,1550,1494,1535,1544,1455,1520,1655,1721,1836,2242,2431,2569,2526,1953,1729,1753,1548,1608,1584,1915,2787,2264,2001,2205,2319,2480,2483,1970,1733,1396,1489,1750,1841,1829,1620,1475,1294,1364,1643,1659,1755,1898,1749,2196,1933,1677,2066,2014,1570,1660,2138,2078,1815,1591,1378,1416,1663,2169,2598,2148,2037,1999,1969,2228,2967,3798,4059,3794,4025,4026,3164,2392,2390,3270,3407,3481,3098,3142,3355,3068,2843,3166,2851,2152,2009,2566,2906,2466,2536,2565,2728,3149,2821,2256,2098,2095,2164,1943,1921,2133,2543,2135,1724,2054,2275,2314,2568,2685,2532,2500,2302,2265,2357,2307,2550,3193,3979,3233,2865,2674,1980,2266,2494,2592,2577,2518,2387,2222,2473,2944,3112,3121,3130,3191,3120,3163,2828,2250,2106,2081,2082,1898,1670,1792,2326,2783,3042,2319,1927,2329,1995,1750,1650,1942,2231,2371,2330,2722,2712,2574,2431,2659,2503,2136,1755,1620,1690,1626,1934,2084,2032,1412,1316,1584,1580,1768,2061,2004,1744,1605,1633,1572,1777,1840,1721,1786,2144,2296,1879,1527,1714,1835,1701,1504,2012,2013,1767,1899,1695,1769,1872,1992,2145,2647,2651,2074,1774,1742,2112,2458,3091,2308,2343,2130,1686,2034,2010,1908,1887,1753,1485,1540,1804,1724,1834,2333,2087,1990,2303,2273,2039,2060,2050,1915,2087,2342,2084,1932,2307,1950,1688,1992,2001,2228,2259,2133,2055,2349,2790,3030,3334,3373,3343,3292,3355,3245,2941,2770,2479,2434,2684,2596,2115,2134,2165,1715,2099,2571,2131,2218,2464,2083,1855,2042,2035,2187,2015,1769,1744,2073,2641,3110,2677,2674,3041,2407,1749,1630,1996,2676,2358,2057,2462,2854,2575,1986,1806,1645,1675,1686,2046,2410,3330,3484,2583,2658,3072,2848,2419,2001,2028,2196,2271,2145,2017,1936,2053,2164,2054,2098,1914,2013,2010,2017,1815,1914,2375,2374,2057,2279,2088,1674,1622,1664,1968,1917,1976,1996,2133,2144,2439,2090,1843,1953,1782,1784,1759,1705,1750,1730,1798,1691,1671,1690,1835,1618,1481,1730,1848,1668,1433,1480,1676,1799,1853,2228,1948,1678,1848,1815,1782,1991,2094,1931,2016,2648,2455,2094,1946,1977,2247,2746,2932,3182,3244,2802,2580,2753,3318,3326,3106,3630,3984,3306,2641,2578,3285,3145,2427,2285,2195,2200,2677,2530,2508,2580,2690,2618,2586,2752,2370,2746,3261,3033,2564,2378,1964,1749,1685,1782,1791,2045,2396,2452,2764,2514,2094,2076,2416,2186,1975,2346],[1669,1907,2166,2855,2366,2040,2282,2270,2283,2269,2459,2392,2566,2911,2769,2519,1711,1833,1911,2105,2010,1823,2090,2383,2327,2254,2242,2291,2513,2536,2442,1938,1350,1526,2454,3421,2943,2072,2700,3474,3950,3671,3706,3132,3067,2875,2670,3506,3640,3144,3176,3198,3223,3342,3545,3321,3021,2809,3157,3290,3640,4004,3902,3730,3548,2979,2597,2404,2546,2792,2852,3307,3435,3297,3419,3431,3662,3701,3415,3347,3444,3580,3797,3836,3726,3167,2575,2856,2563,2565,2708,3417,3276,3215,3252,2786,2790,3366,3666,3582,3064,3166,3364,2967,2361,2656,3217,3408,3385,2833,3035,3441,2705,2145,2575,2846,2460,2511,2609,2941,3441,3213,2901,2935,2669,2563,2973,2883,2411,2359,2644,2622,2513,2559,2515,2653,2948,2763,2372,2102,2038,2177,2304,2522,2416,2417,1940,1749,1872,1878,2291,2346,2272,2381,2206,2613,3035,3123,3601,3782,3397,2805,2479,2619,2743,2577,2273,2261,2134,2084,2246,2076,2117,2239,2365,2363,2076,1960,2198,2032,1822,2361,2722,2576,2272,2450,2717,3109,2916,2711,2128,2298,2728,2785,2652,2183,2237,2459,2240,1987,2140,2688,2488,2520,2937,3021,3697,3785,3399,2828,2148,2484,2563,2624,2135,2343,2354,2398,2846,3248,3188,2454,2204,2098,1978,2099,2166,2110,2302,2403,2405,2249,2047,2242,2072,2071,2165,2062,2002,2040,2556,2511,3229,3204,2710,2603,2504,2286,2099,1894,2234,2265,1882,1846,1787,1960,1984,1788,1845,1487,1556,1816,2117,2269,1884,2255,2614,3206,3105,3244,2483,1986,1985,1616,1344,1837,2781,3647,3818,3471,3682,3949,4373,4358,3624,3740,3915,3633,3017,2448,2124,2578,2758,2644,2289,2231,1831,2203,2760,2702,2253,1870,1911,1800,1807,1808,1725,1932,1785,1734,1834,2099,2133,2247,2512,2504,2972,2767,2539,2388,2198,2164,1943,1779,2049,2688,2592,2351,2697,2535,2468,2394,2105,1847,2431,2691,2219,1869,1719,2172,1907,1620,1719,1828,2057,1989,2266,2479,2531,2661,2396,2277,2332,2327,2288,2483,1933,1755,1850,1870,1952,1931,1747,1525,1643,2047,1968,1866,1722,1727,1707,1649,1694,1655,1622,1780,1842,1575,1505,1567,1500,1720,1644,1527,1466,1638,1837,1987,1885,2054,2512,2290,1996,1915,2413,2547,2223,1880,2207,2070,1823,2117,2108,2000,2005,1937,2039,1878,1795,1582,1620,2227,2574,2156,1995,1920,1692,1693,1649,1537,1448,1636,1876,2087,2210,2171,2348,1885,2621,4232,4353,3374,3396,3682,3357,3030,2610,2554,2460,1789,1903,2316,2570,2425,2225,2149,2190,2174,2410,2292,2216,2524,1481,1161,1566,1851,2719,2346,2098,2541,2596,2533,2145,1826,2643,2949,2604,2553,2757,3001,2765,2305,2436,2961,3140,3370,3233,3106,3261,3095,2482,3485,3750,3656,3705,3788,3552,3349,3095,2854,2328,2114,2273,2040,1957,1597,1566,1499,1681,1772,2014,2153,1814,1688,1759,1598,1774,2360,2217,2153,2232,1964,2267,2639,2812,2315,2063,2359,2461,2393,2389,1647,1671,1925,1803,1662,1585,1495,1625,1836,1892,1741,1678,1631,1604,1662,1565,1527,1453,1441,1840,1814,1692,1651,1763,1925,1737,1532,1486,1522,1681,1661,1448,1528,1602,1567,1418,1475,1494,1611,1639,1645,1565,1600,1548,1700,1660,1739,1528,1602,1819,1613,1561,1762,2022,1838,1710,2290,2800,3204,2608,2159,1671,1988,2344,1933,1780,1845,1725,1682,1728,2144,2033,2280,2133,1580,1989,2019,1954,2288,2119,1771,1565,1664,1584,1499,1597,2263,2361,2078,1927,1867,1551,1279,1879,2296,2018,2220,2191,1808,1726,1803,1434,1554,1795,1599,1643,1627,1626,1527,1336,1401,1595,1866,1925,1815,1791,2024,2310,2966,2170,1374,1317,1299,1349,1336,1318,1242,1466,1448,1440,1399,1338,1554,1589,1507,1381,1263,1281,1239,1168,1233,1396,1497,1616,1470,1423,1438,1517,1421,1389,1370,1247,1323,1378,1293,1180,1196,1304,1486,1341,1270,1366,1325,1339,1390,1362,1489,1454,1387,1316,1255,1375,1427,1360,1484,1415,1371,1370,1441,1572,1601,2018,2429,2253,1635,1388,1305,1260,1385,1489,1664,1534,1351,1456,1317,1365,1385,1178,1278,1838,2155,2375,2177,1838,1558,1391,1307,1282,1359,1328,1427,1459,1512,1620,1515,1498,1594,1698,1636,1512,1476,1604,1571,1494,2036,1714,1223,1368,1671,1944,1909,1650,1435,1318,1377,1639,1781,1156,606,1039,2002,1762,2047,2696,2717,2207,2040,2521,3183,3720,3846,2664,1922,2146,1868,2014,1836,1716,1735,1931,2440,2844,2711,2425,2542,3051,3309,3483,2857,2957,3032,2301,1708,1992,2831,3088,2823,2991,2758,2788,2364,2174,2370,2354,2651,2756,3009,2970,3041,2770,1875,1349,1356,1645,1534,1531,1366,2269,2587,2116,1164,744,1031,1421,1744,1508,1387,2016,2665,2343,2567,2066,1805,1635,2266,2734,2802,2691,2402,2120,2269,2555,2823,2241,1952,2194,2230,2299,2711,2700,2449,1759,1824,2451,2189,2253,2174,2278,2475,1942,1930,2019,1885,1754,1732,2132,2087,1861,2344,2995,2939,1952,1682,1916,2196,2859,2865,2688,3176,3514,3076,2627,2554,2458,2789,2422,2553,2689,2685,3304,3814,4030,3905,3000,2499,2315,2098,2780,3606,4010,3186,2723,3039,2286,1851,1588,1197,1416,1820,1650,1749,2352,2093,2113,1840,1704,1797,1976,2402,2121,1676,1250,909,1349,1899,2149,1729,1902,2432,2670,3364,2612,2104,2118,2047,2199,2175,1809,1681,1703,2080,2094,1809,2076,2163,2070,1625,2082,2665,2430,1787,1650,1863,1942,1985,1693,1473,1666,1475,1499,2038,2092,1628,1672,1870,1979,1908,1723,2019,1869,1817,1625,2140,2117,2103,2264,2295,2331,2476,2558,2000,2110,2667,1984,2239,2171,2276,2173,2246,2344,2490,2531,2327,1875,1708,1990,1707,1469,1823,1770,1536,1783,1519,1798,1584,621,594,1355,2105,2375,1954,1632,1147,1296,1379,2205,2324,2014,2162,2058,1984,2286,2364,2557,2465,2143,1766,1641,1330,1388,1550,1554,1520,1597,1192,756,1772,2950,2032,1449,1160,1278,1181,1208,1554,1662,1347,1172,1294,1469,1883,1403,1216,2123,2198,1765,1480,1976,2060,1810,2028,2298,2008,2144,2805,2568,2592,2000,1775,1498,1318,1533,1614,1344,1538,2202,2427,2570,2483,1892,2028,2077,2168,2460,2695,2900,2985,2198,1721,1903,2033,1921,1826,1903,2002,2285,2567,2644,2066,1927,1763,2004,2415,2591,2694,3140,3432,3305,3189,2730,3353,3799,3418,2745,2281,2037,2563,2756,2585,2286,2478,2766,2363,2210,2207,2503,2137,1534,1205,1050,844,1331,1892,2465,3251,2883,2911,3321,3166,3072,2964,2238,1901,1787,2612,2985,2411,2019,2047,1890,1814,1583,1426,1938,1910,1838,1556,1676,1913,1958,2668,3384,3308,2747,2320,1603,1985,2876,3146,2764,1715,1992,1972,1671,2042,2427,2419,2282,2154,1990,2393,2622,2916,2657,2297,2345,2452,2308,2224,2177,2523,2040,1839,2642,2963,2620,2589,2288,1815,1711,2232,2488,2225,2157,2119,2222,2592,2198,2363,2895,2724,3090,3647,2907,1896,1622,1872,2460,2499,2407,2363,2103,2458,2954,2766,2147,1807,1590,1500,1673,2358,3039,2507,1658,2142,2256,2124,1566,1409,1495,1506,1707,1922,2116,2247,2024,1794,2037,1795,1503,1489,1661,1317,1268,1681,1861,1478,1816,2238,2144,2197,2655,3430,3465,2799,2686,3106,2832,2274,2420,1898,1347,1335,1436,1509,1407,1350,1321,1237,1262,1473,1510,1508,1688,1678,1490,2179,2855,2579,2323,1914,1484,1560,1584,1505,1555,1658,2041,2549,2273,1779,2030,2460,2920,2644,1694,1477,1311,1431,1594,1692,1660,1545,1423,1322,1389,1377,1322,1424,1565,1488,1722,1908,1960,1869,1619,1165,1551,2246,2172,1926,1589,1393,1453,1713,1703,1903,1813,1677,2070,2242,2114,2588,3388,3576,3886,4353,4352,3952,3380,2800,2792,2835,2988,3654,4185,3396,2638,2868,2966,2649,2328,2327,2698,2969,2615,2511,2635,2984,2924,2143,1727,1649,1561,1574,1700,2064,2442,2461,2454,2324,2160,2158,1965,2010,1951,2091,2314,2540,2163,2176,2729,2419,2584,3392,2673,2418,2568,1958,1932,1847,1822,2137,2551,2019,2150,2663,2695,2553,2415,2631,2929,2775,3463,3433,2913,3057,2972,2856,2380,2169,2016,2331,3207,3106,2216,2135,1980,1785,1309,1497,2031,2416,2124,1948,1954,2170,2196,2142,2220,2258,2289,1872,1769,1909,1743,1775,2054,1902,1610,1677,1566,1495,1673,2004,2256,1613,1851,1892,1797,1708,1517,1392,1754,1972,1972,1713,1561,1662,1555,1462,1639,2069,2192,1957,1707,1571,1684,2069,2259,2474,3211,3129,2468,2065,2073,2122,2646,2975,2020,1734,1799,1884,2086,2270,2237,1935,1752,1623,1515,1789,2137,2778,3294,2524,2082,2362,2388,2152,2099,2155,1798,1782,1670,1525,2036,2230,1387,1261,1641,2149,2398,2151,1998,2009,2357,2667,2996,3260,3234,3239,3266,3041,2456,2531,2941,2744,2498,2911,3305,2168,1739,1883,1981,2459,2411,2036,1943,2062,1684,1790,2495,2440,2540,2586,2082,2250,2748,2835,3062,2653,2286,2379,2162,1824,1747,2142,2546,2171,2614,2604,2012,1675,1615,1613,1702,1699,1714,2019,2931,3783,3563,2852,2708,3053,2980,2194,1859,1858,1981,2181,2164,1953,1876,2072,2036,2164,2204,2502,2605,2028,1705,1699,1715,2099,2071,1888,2083,1731,1610,1703,1631,1792,1931,1938,1896,2229,2756,2598,1803,1764,1973,1779,1654,1606,1725,1677,1678,1577,1547,1682,1618,1754,1677,1536,1617,1856,1729,1526,1490,1527,1852,2179,2589,2505,2014,1744,1648,1634,1887,1880,1690,2081,2448,2399,2220,2110,2166,2357,3067,3321,2997,2779,2692,2680,3152,3595,3770,3760,4008,3693,2986,3104,3344,3762,3636,2674,2327,2401,2061,2920,2459,2368,2370,2459,2485,2576,2530,2664,2644,2721,3168,2819,2009,1719,1759,2178,1934,2096,2171,2036,2082,2244,2165,2070,2176,2209,1913,2122,2279],[1642,2120,2731,3033,2266,2111,2133,2278,2494,1946,1938,1769,1989,2567,2678,2446,2116,2544,2328,1769,1601,1547,1775,2294,2338,2465,2397,2397,2534,2523,2030,1591,1687,2222,3009,3342,2492,2864,3599,3188,3505,4011,4376,3550,3230,3414,3098,3221,3500,3395,3282,3463,3312,2918,3087,2986,2967,2980,2879,2539,2391,2774,2972,2841,2812,2789,2614,2727,2867,2927,3154,3240,3207,3470,3643,3587,3310,2705,2255,2453,2912,3276,3316,3298,3342,3244,3038,3217,3056,2910,3223,3453,3277,3255,3218,3228,3024,3448,3319,3465,3660,3609,3584,3176,2525,2556,3176,3482,3002,3052,3396,3530,3616,2561,2400,2747,2778,2701,2768,3031,3410,3395,2885,2668,2686,2282,2043,1833,2011,2010,2069,1926,1804,2093,2586,2439,2315,2683,2780,2553,2570,2336,2056,2010,2150,2404,2099,2007,1970,2093,2410,1969,1562,1675,1831,2219,2758,2565,3297,3532,3517,3415,3044,3311,3521,2955,2241,2114,2363,2018,1807,1844,1891,1801,2276,2488,2089,1776,2137,2158,1800,1896,1970,1853,1876,2271,2851,2979,2689,2905,3361,3343,2951,2721,2386,2076,2274,2586,2554,2764,2886,2816,2677,2988,3157,3187,3223,3220,3339,2812,2796,2807,2712,2570,2670,2927,2983,3015,2846,3021,3142,2692,2435,2039,2105,2200,2012,1810,1899,1993,2260,2213,2165,2162,1974,2273,2393,2195,2091,1897,1716,2443,3615,2972,2168,2046,2643,2970,2477,2077,2243,1896,1845,1677,1692,1858,1887,1631,1699,1875,2079,1935,1835,2192,2062,2229,2183,2790,2878,2998,2092,1581,1548,1542,1346,1593,2215,2895,3563,4077,4291,4705,4733,4545,3768,3970,3950,3365,2744,1964,1864,2187,2541,2382,2009,2368,1979,2534,2620,2565,1955,1681,1805,1801,1824,2146,1870,1918,1947,2012,2510,2723,2428,2395,2502,2466,2710,2872,2700,2459,2611,2258,2200,2349,2574,2685,2098,2003,2196,2285,2641,2454,2107,2397,2858,2608,2670,1923,1632,1983,1933,1951,2092,2352,2562,2361,2112,1897,2098,2358,2418,2254,2050,2005,1878,1734,1716,1850,1853,1885,1911,1745,1682,1620,1969,2042,1848,1757,1817,1730,1638,1984,2017,1643,1542,1705,1676,1542,1414,1542,1518,2231,1989,1430,1588,1807,1907,2053,1875,1858,2093,1961,1804,2077,2521,2510,2264,2078,2081,2216,2498,2443,2244,2016,1911,1674,1942,1871,1772,1925,1787,2122,2409,2253,2259,2063,2069,2273,2025,1568,1675,1648,1982,1907,2285,2448,2364,1740,2509,3775,3372,2612,2981,3531,3163,2575,2207,1899,1866,1996,2051,2155,2013,2197,2805,2950,3068,2551,2204,2456,2429,2564,2029,1815,2136,2599,3073,2512,2136,2191,2241,2364,2217,2161,2840,2774,2708,2894,3321,3122,2482,2249,2416,2617,2954,3307,3234,3469,3550,3817,2857,2834,3639,3870,3535,3456,3428,3509,3659,3188,2491,2447,2281,2072,1722,1614,1696,1820,1895,1677,1540,1467,1348,1561,1605,1556,1696,2393,2299,1903,1816,1958,2349,2699,2374,2002,1971,2195,2416,2369,2509,2001,1713,2003,1827,1751,1670,1685,1694,1872,1851,1476,1710,1857,1665,1669,1722,1599,1481,1636,1743,1642,1698,1804,1840,1739,1616,1557,1411,1425,1630,1743,1461,1436,1772,1860,1694,1465,1484,1577,1713,1684,1745,1908,1547,1602,1611,1789,1649,1786,1987,1710,1619,1971,2220,1970,2041,2367,2787,3105,2697,2488,1872,1667,2026,2335,2323,2068,1989,1889,1632,1522,1594,1705,1745,1603,1598,1560,1794,1834,1638,1900,1801,1644,1295,1574,1856,2225,2127,1891,1896,1856,1545,1365,1638,2126,2371,2988,3120,2470,1911,1648,1484,1531,1559,1598,1694,1865,1972,1703,1478,1400,1641,1791,1904,1713,1912,1900,2264,3085,2480,1455,1492,1498,1698,1437,1347,1294,1388,1301,1470,1407,1281,1650,1876,1564,1716,1731,1545,1235,1422,1747,1618,1350,1386,1486,1610,1773,1897,1645,1592,1497,1325,1446,1485,1251,1334,1268,1267,1344,1274,1198,1250,1276,1409,1392,1306,1573,1591,1763,1507,1183,1235,1333,1364,1309,1291,1400,1331,1278,1375,1521,1956,2554,2414,1798,1415,1251,1344,1390,1443,1676,1505,1425,1604,1331,1122,1150,1210,1289,1603,1667,1645,1644,1523,1369,1294,1335,1339,1383,1330,1550,1663,1782,1760,1639,1628,1949,2249,2110,1464,1533,1864,1606,1894,2175,1787,1487,1609,1901,1954,1766,1628,1423,1354,1286,1423,1596,946,1414,2068,1803,1586,1613,1832,2448,2884,2426,2060,2447,3184,3869,2677,1804,2483,2706,2259,2308,2441,2197,2358,2763,2871,2778,2613,2500,2917,3250,2599,3060,3420,2802,2101,2248,2535,2686,2669,2749,2918,2404,2294,2154,2042,2829,2945,2795,3260,3620,3688,3765,2844,1768,1390,1706,1533,1564,1844,1769,2021,1746,1576,1315,1472,2172,2067,2144,1942,1569,2033,2255,2314,2146,1701,1764,1910,2155,2479,2813,2932,2533,2418,2767,2209,2177,1818,1974,2414,2182,2631,3157,2701,2120,1874,2192,2462,2149,2292,2034,2034,1731,1338,1498,1854,2072,1961,1851,2015,1894,1865,2326,2575,2601,2386,1990,2142,2242,2126,2294,2282,2423,3011,3094,2761,2379,2364,2589,2270,2485,2884,2728,2315,2919,3758,3242,2234,1897,1823,1809,1982,2484,3297,2776,2354,2109,2061,1809,1331,1375,1786,1814,1526,2185,3560,3927,3154,2081,1992,1864,1783,2108,1976,1882,1504,1489,1753,1688,2257,2248,2724,2745,2274,2733,2466,1744,1814,2383,2752,2234,1654,1698,2003,2917,2703,1851,2392,2343,1803,1772,1969,2063,1864,1475,1478,1474,1482,1318,922,1533,2304,1929,1899,2127,1892,1553,1722,1902,1966,1854,1587,1848,1942,2057,2259,2564,2645,2641,2574,2479,2533,2498,2179,1994,2205,2447,2061,2136,2352,2250,2288,2428,2468,2482,2457,2542,2314,1552,1907,1803,1607,2033,1664,1556,1854,1603,1678,1323,561,741,1563,2039,2381,1934,1858,1217,1256,2022,2265,2023,2057,2151,1897,2316,2687,2609,2883,2633,2280,1736,1462,1262,1283,1524,1780,2005,1800,1060,1045,2994,3162,1614,1355,808,589,760,1251,1506,1572,1283,1282,2040,1975,1905,1273,1411,1983,1970,1766,1763,2338,2194,1801,2221,2684,2092,1981,2591,2513,2168,1710,1447,1300,1338,1660,1622,1433,1650,2278,2552,2641,2245,1735,1990,1874,1736,2159,2387,2779,2854,2153,1802,2350,2254,1853,1936,2092,2282,2370,2141,2074,2076,1931,1781,2241,2938,2830,2711,2702,2639,2731,2724,2479,3147,3461,3362,2907,2121,2095,2749,2857,2769,2105,2245,2323,2301,2255,2020,1907,1529,1338,1458,1537,1405,1699,2182,2453,3331,2917,2955,3228,3008,2809,2680,2276,1857,1869,2477,2751,2342,1946,1813,2030,2176,1748,1597,1676,1566,1553,1538,1676,1863,1804,2076,2601,2402,1940,1988,1783,1860,2654,2973,2243,1621,1992,1976,1737,1960,2035,2584,2789,2601,2690,3074,3362,3261,2719,2365,2167,1908,1954,2056,1990,1963,1619,1776,2447,2586,2492,2185,1843,1808,1933,2142,1956,1993,2398,2480,2213,2877,2312,2723,3085,2180,2204,2677,2168,1798,1673,1919,2608,2771,2553,2435,2253,3209,3916,3250,2486,1952,1606,1447,1718,2177,2877,2677,2118,2630,2278,1941,1528,1439,1533,1538,1783,2353,2353,1915,2096,2208,2184,1779,1546,1842,1902,1271,1324,2073,2125,2037,2396,2251,1925,1739,2248,3168,2952,2458,2245,2698,2932,2494,2354,1968,1412,1300,1343,1404,1290,1361,1352,1325,1404,1473,1548,1784,1953,1709,1672,2317,2688,2455,2118,1732,1549,1654,1538,1443,1488,1712,1834,1800,1622,1562,1937,2289,2036,1831,1551,1371,1332,1565,1615,1645,1770,1736,1506,1381,1441,1396,1370,1409,1947,1613,1922,2610,2691,2430,1872,1676,2079,2348,2066,2100,2122,1963,1637,1526,1622,1869,1786,1941,2611,2884,2192,2029,2580,3042,3276,3492,3302,3349,3543,3100,2666,2845,2998,3462,3415,3049,2712,2737,2584,2342,2295,2055,2021,2338,2499,2502,2279,1996,1744,1991,2176,2278,2235,2093,2300,2276,1706,1792,2208,1955,2058,2205,1858,1647,1713,1910,2260,2496,2110,2212,2876,2376,2188,2667,2841,3265,3045,1753,1708,1970,2092,2664,3087,2613,2646,2944,2534,2116,2262,2664,2909,3045,3532,3436,3271,3449,3451,3392,3241,2946,2276,2265,2456,2714,2203,1966,1887,1894,1469,1788,2042,1959,1896,1722,1836,1974,1921,1954,2182,1917,2205,2110,2200,2526,2155,2260,2956,2671,1948,1768,1569,1676,2123,2397,3001,2813,2932,2534,2110,1735,1566,1415,1423,1617,1904,1871,1678,1572,1577,1516,1751,1899,2101,2131,1866,1610,1841,2298,2263,2105,2629,3032,2836,2102,2003,2042,2264,2087,1544,1455,1639,1659,1803,2096,1844,1719,1868,1819,1581,1569,2390,2858,2512,2098,2061,2068,2276,2081,1913,2061,2430,2437,1654,1471,1810,1766,1637,1569,1576,2179,2286,2083,2647,2824,2831,3078,3063,3045,3243,3330,3222,2798,2448,2822,3167,2917,2691,2712,2753,1856,1623,1557,1829,2244,1980,1715,1683,1601,1738,2447,2980,2622,2753,2711,2333,2915,3078,3167,3001,2285,1897,1914,1923,1950,2099,2586,2217,2268,2941,2641,1858,1562,1451,1414,1470,1673,1990,2770,3473,3331,2744,2691,2181,2454,2405,2030,1870,1754,1813,1859,2091,2095,2172,2097,1952,1958,1805,2236,2531,2166,1789,1901,1976,2166,1759,1726,2122,1851,1714,1761,1808,2386,2200,1820,1609,1769,2078,1879,1650,1887,1725,1644,1692,1817,1884,1693,1963,1738,1648,1752,1567,1487,1536,1609,1904,2511,2152,1683,1605,1577,2170,2547,2531,2386,2025,1756,1507,1464,1796,2153,2115,2565,2778,3253,2831,2525,2498,2358,2668,2700,2226,2166,2370,2746,3697,3907,3965,3779,3738,3509,3194,3384,3596,3892,3664,3021,3186,3341,2210,2684,2442,2488,2714,2618,2532,2272,2238,2492,2380,2689,2950,2728,1903,1939,1857,2242,2487,2796,2584,1966,1950,2238,1793,1847,1936,2098,2222,2292,1936],[2071,2491,2567,2438,2586,2878,2714,2497,2498,1847,1831,2340,2137,2718,2968,2734,2812,3029,2670,1985,2069,1973,1940,2015,2099,2482,2425,2370,2366,2112,1698,1969,2530,2687,2789,2523,2411,3618,4064,3747,3386,3791,4376,3985,3164,3352,3484,3030,3208,3341,3306,3220,3253,3077,2808,2913,2918,2830,2478,2114,2191,2392,2303,2382,2622,3110,3310,3438,3277,3151,3165,3440,3338,3059,3261,3640,3333,2829,2876,3042,3079,3174,3349,3436,3460,3357,3254,3162,3133,3278,3385,3218,3276,3383,3429,3742,3639,3460,3253,3339,3620,3667,3544,3316,2796,2567,2991,2979,2267,2598,3089,3060,2796,2351,2775,3230,2823,2426,2494,2805,3194,3496,3243,2509,2557,2241,1898,1880,1817,1807,1796,2183,2641,2845,2586,2289,2021,2510,2584,2644,3100,3078,2648,2743,2543,2050,1965,2191,2287,2270,2294,2166,1927,1928,2420,2411,2194,2933,3862,3440,3296,3751,3506,3232,3195,2967,2226,2533,2891,2415,2022,1972,1906,2026,2321,2455,2193,1757,2246,2040,1873,2258,2680,2238,2226,2193,2586,2728,2259,2828,3680,3250,2286,2176,2040,1938,2169,2176,2188,2968,3325,2905,2836,3267,3172,3252,3162,3186,3466,3650,3799,3062,2695,2854,2911,2909,3150,3016,2610,2786,2603,2198,1918,2363,2435,2315,2206,2148,1806,1683,2061,1966,1731,1965,1958,2056,1904,2120,2484,2580,2298,3230,3729,2839,2404,2426,2907,3097,2769,2567,2069,1837,1813,1629,1677,1794,1947,1758,1642,1849,1874,1715,1910,2442,2330,2181,2418,2612,2869,2821,2362,1725,1667,1749,1579,1627,1653,1649,2609,3338,3519,4487,4571,4275,3847,3768,3885,3692,2508,1872,1741,1843,1987,1901,2180,2142,2094,2318,2307,1961,2002,2146,2011,2180,2171,2426,2306,2034,1930,1947,2386,2563,2375,2163,2205,2307,2377,2827,2530,2221,2623,2707,2600,2939,2945,2392,1969,2067,1990,2178,2399,2032,1841,2043,2134,2280,2465,2796,2458,2209,2564,2991,2884,2556,2477,2105,1990,2068,2005,1791,1829,1864,1699,1833,1892,1846,2036,1978,1697,1958,1914,1594,1534,1622,2008,1737,1638,1666,1710,1776,1846,1989,1735,1755,1750,2005,1767,1708,1580,1730,1768,2115,1963,1644,1636,1736,1886,2149,1975,1759,1699,1703,1755,2071,2095,1996,1858,1921,2085,2357,2179,2035,1978,1779,1704,1606,2064,2245,2114,2156,2047,2266,2249,1842,1762,1706,1992,2162,1990,1919,1872,1615,1702,1776,1859,2357,2586,1944,2259,3483,3425,2997,3189,2795,2467,2385,2135,1758,2030,2294,1970,2135,2113,1918,2370,2939,3124,2620,2163,2331,2334,2843,3000,2658,2678,3061,3709,3322,2563,2314,2172,2471,2039,2601,3251,3265,3392,3106,3061,3261,2850,2768,2940,3254,3333,3499,3679,3569,3361,3660,3361,2699,3096,3972,3661,3312,3542,3574,3539,2964,2260,2055,1894,1938,1758,1745,2046,2267,2252,1698,1521,1543,1574,1828,1687,1532,1759,2156,1750,1598,1862,2044,2450,2519,2086,2143,1787,1996,2342,2316,2564,2307,1950,1767,1812,1816,1598,1559,1549,1716,1750,1739,1700,1686,1548,1504,1773,2061,1868,1560,1483,1432,1572,1704,1787,2229,1905,1634,1368,1346,1566,1713,1489,1579,1946,2047,2033,1543,1387,1482,1798,1608,1706,1895,1777,1942,1924,1730,1548,1744,1966,1739,1674,2141,1784,1790,1991,2342,2643,2777,2698,2342,1810,1697,2115,2733,2459,2151,1712,1450,1319,1498,1630,1619,1632,1594,1541,1386,1536,1653,1594,1776,1956,1704,1461,1612,1857,2093,1880,1737,2067,1625,1444,1534,1746,2061,2523,2502,2470,2076,1568,1484,1440,1352,1431,1570,1606,1972,2268,2084,2054,1880,1685,1771,1809,1708,2026,1807,1944,2922,2644,1542,1519,1448,1724,1397,1301,1353,1306,1579,1766,1568,1560,1656,1729,1401,1555,1853,1924,1588,1881,2245,2003,1720,1589,1575,1661,1730,2011,1573,1568,1482,1356,1601,1667,1645,1592,1312,1140,1172,1283,1186,1208,1330,1432,1356,1361,1551,1676,2186,1770,1203,1228,1282,1253,1194,1375,1418,1296,1261,1373,1355,1560,2150,2092,1768,1487,1429,1486,1366,1468,1514,1375,1413,1403,1322,1265,1512,1678,1656,1551,1393,1541,1544,1281,1316,1311,1491,1503,1253,1397,1501,1448,1570,1782,1650,1422,1741,1883,1776,1499,1769,2027,1766,1823,1975,2002,1739,1845,1955,1746,1887,1746,1393,1537,1579,1495,957,541,1751,2304,1879,1665,1496,1609,2174,2852,2939,2051,1888,2214,3063,2790,2132,2733,2824,1937,1630,1855,2219,2697,2540,2583,3122,2513,2471,2427,2100,1947,2215,2247,2115,2352,2785,2755,3169,3096,2587,2684,2347,1838,2274,2723,3058,2676,2123,2021,2490,3282,3120,1976,1904,1781,1813,1530,2031,2310,1727,1399,1479,1677,1642,1639,2216,2022,1904,2192,1867,1968,2106,1974,1726,1904,2004,1788,2075,2288,2206,2676,2038,2406,2522,1918,1920,2200,2104,1961,2042,2233,2545,2493,2358,2287,2138,2316,2126,2027,2349,2214,1513,1352,1707,1941,2221,1981,2001,1682,1558,1613,2184,1850,1908,1970,2230,2132,1899,2608,2535,1844,2259,2279,2324,2474,2254,2696,2967,2750,2564,2630,2564,2289,3014,3486,2320,1843,1809,1665,1709,1826,1983,2188,2418,2353,2053,1836,1701,1607,1803,1872,1588,2161,2907,3996,4406,3680,2944,2975,2372,1743,1872,2018,2144,1968,2243,2365,1837,2160,1800,2362,2334,2194,2549,2177,1482,1672,2010,2045,1980,2040,2667,2912,2639,2146,2110,2360,2049,1583,1489,1324,1219,1205,1329,1763,1801,1274,900,1371,2689,3111,2312,1599,1595,2025,1716,2019,1696,1571,1445,1359,1854,2559,2403,2216,2547,2563,2008,1891,2185,2671,2822,2502,2181,1908,2046,2269,2238,2285,2343,2404,2497,2622,2548,2366,2663,2636,1944,2220,2086,1802,1863,1482,1541,2078,1821,1742,948,594,1220,1870,1977,2168,1730,1990,1635,1792,2226,1952,2229,2250,1724,1847,2619,2419,2483,2896,2585,2182,1737,1341,1292,1404,1637,1749,1560,1397,1389,1330,2787,2175,1345,1096,661,482,870,1358,1630,1541,1076,2032,2840,2840,2291,1166,1586,1993,1700,1581,1665,1859,1938,1951,1798,2004,2035,2533,2580,2276,1751,1435,1261,1367,1742,1967,1605,1381,1528,2482,2810,2712,2113,1702,1665,1657,1976,2267,2441,2640,2476,1974,1909,2218,1999,1750,2234,2347,2221,2154,2301,2358,2025,1917,1919,2577,3648,3399,3072,2902,2902,2603,2411,2597,2883,3128,3128,2861,2209,2153,2755,2811,2535,2058,2142,2222,2343,2180,1939,1559,1022,1009,1520,1624,1643,1764,1921,2435,3395,3086,3085,3240,3054,2831,2453,2001,1696,1741,2008,2600,2487,2075,1953,2228,2343,2485,2039,1525,1448,1297,1362,1404,1564,1726,1716,1809,1497,1865,2349,2018,1743,2220,2570,2290,2020,2072,2172,2105,2205,1984,2416,2722,2570,2666,2978,2718,2087,1895,1765,1510,1793,1891,2213,2007,1962,2062,2135,2086,2109,2263,2061,2039,2193,2167,2090,1835,2519,2696,2236,2100,2234,2171,2700,2359,1792,2070,1801,1582,1542,1493,1841,2472,2385,1946,1953,2974,3980,4004,3305,2421,2074,1738,1713,2261,2315,2985,3012,2281,2191,1845,1749,1862,1670,1472,1683,1776,1803,1771,1675,1953,1957,1859,1717,1794,1600,1567,1662,1853,2510,2368,1938,2365,1987,1623,1652,1959,2896,2689,2500,2676,3139,3361,2790,2414,1819,1458,1299,1532,1805,1743,1628,1511,1477,1489,1583,1595,1403,1360,1603,1645,1874,2143,2221,2066,1908,1662,1561,1512,1541,1716,1761,1555,1443,1398,1844,2042,1915,1634,1543,1501,1540,1551,1790,1901,1692,1654,1581,1620,1615,1471,1527,1498,1956,2479,2000,1801,2225,2771,2535,1940,1840,1939,2156,2118,2088,2165,2197,1878,1791,1997,1834,1977,1992,2297,2684,2070,1820,1997,2303,2800,2832,2687,2923,2795,2534,2481,2785,2745,2756,2813,2955,2656,2431,2065,1770,1810,1649,1442,1847,2446,2654,2769,2511,2504,3051,3066,2633,2568,2405,2188,1775,1380,1888,2556,2458,2215,2237,2091,1929,2200,2123,1936,2121,2131,2319,2975,2441,1860,2342,3262,3627,3094,2092,2285,2226,2445,3031,3176,2976,2676,2753,2519,2433,2575,3057,2888,2987,3285,3253,3552,3846,3473,3269,3011,2929,3000,2274,1793,2092,2119,2171,2386,2181,1979,2084,2112,2573,2796,2085,1968,2041,2158,2136,1959,1592,2150,2388,2360,2569,2536,2339,2788,2990,1874,1630,1575,1844,2238,2506,2895,3403,3284,2707,2326,2041,2108,1609,1521,1585,1801,1717,1615,1581,1874,2006,2417,2464,2095,1892,1835,1809,1882,2020,2254,1963,2150,2627,2245,1879,2050,2087,1921,1783,1557,1621,1533,1435,1944,2137,1908,2052,1984,1685,1667,1592,1978,2657,2590,2089,1941,1658,1663,2070,2049,2004,2282,2040,1523,1508,1603,1574,1730,1804,1876,2064,1710,1611,2669,3242,3278,3261,3005,2867,3058,3131,3003,2865,3095,3562,3625,3283,3000,2756,2345,1923,1780,1823,2197,2389,2403,1984,1664,2072,2563,2559,2851,2330,2186,2171,2274,2635,2920,3025,2614,2467,2259,2089,2135,2412,2196,2597,2328,2371,2622,2206,1803,1533,1505,1438,1542,1968,2336,3198,3311,2938,2474,2517,2270,2377,2317,1894,1664,1575,1769,1812,1807,2062,2184,1995,1931,1902,1736,1802,1989,1768,1759,1867,2167,2522,2236,1745,1747,1753,2166,2253,1875,1898,2070,1872,1625,1759,1884,1720,1843,2018,2224,1824,1603,1796,2192,2172,1883,1609,1588,1633,1450,1367,1586,1883,2492,2789,2536,1875,1625,2343,2972,3202,3315,2867,2621,2564,2013,1508,1766,2565,2315,2021,2454,3326,3243,2711,2448,2020,2238,2522,2000,1996,2388,2530,3216,3771,3493,2655,2822,3450,3449,3354,3585,3659,3565,3366,3305,2874,2225,2401,2169,2446,2911,3087,2674,1784,2107,2499,2364,2577,2575,2536,2221,2048,2171,2303,2469,2991,2691,2002,2042,2087,2178,1996,1788,2524,2520,2028,1959],[2201,2214,2209,2225,2339,2933,2922,2359,1967,1766,2146,2586,2417,2533,2920,3173,2710,2475,2470,1897,2056,2047,1851,1540,1918,2495,2389,2093,1942,1824,1927,2251,2546,2886,2664,2165,2944,3118,3440,3472,3370,3372,3936,4240,3486,3410,3838,3374,3022,3081,3167,2984,3075,2834,2640,2711,2711,2678,2425,2150,2181,2339,2267,2445,2475,2818,3204,3460,3090,2807,3051,3234,3098,2875,3178,3804,4036,3701,3572,3827,3687,3382,3212,3195,3278,3319,3200,3096,3018,2931,2978,3178,3436,3312,3514,3641,3603,3607,3538,3506,3618,3405,3406,3543,3103,2675,2728,2302,1787,1947,2706,2482,1834,2017,2558,2712,2476,2041,2275,2100,2471,3382,3386,2657,2511,2698,2612,2016,1606,1404,1878,2331,2965,3123,2863,3076,2720,2198,1926,2735,3432,3260,3448,3719,3505,2872,2123,2159,2230,2081,1980,2056,2190,2448,2646,2342,2204,2957,3362,3065,2872,3018,2877,2729,2714,2492,1970,2075,2236,2076,2068,2132,1941,1911,1934,2007,2087,1797,2013,2032,1918,2202,2862,2744,2366,2109,2221,2103,1904,2740,3473,2789,2253,2285,2432,2374,2021,1755,2454,2989,2952,3061,2809,3019,3066,3055,2853,3298,3682,3747,3625,3209,2754,2778,2990,2933,3238,3545,3122,2317,2080,2005,2198,2347,2377,2531,2938,3097,2224,1781,1826,1821,1516,2116,1902,1852,2132,2482,2885,2727,2508,3499,3503,2147,2055,2603,3392,3097,2942,2619,2086,1860,1805,1677,1603,1591,1682,1804,1630,1646,1596,1611,2122,2543,2586,2496,2342,2370,2360,2365,2242,1763,2003,2151,1688,1464,1548,1727,2542,2554,2625,3701,4620,4576,4144,3554,3392,2994,1918,1771,1737,1829,1869,1897,2060,2050,1863,2016,1887,1627,1743,1868,1730,1790,1957,2136,2202,2184,1889,2191,2576,2536,2535,2341,2396,2275,2042,2352,2514,2733,3029,2598,2344,2245,2066,2103,2067,1970,1818,1727,1874,1856,2164,2009,2122,2085,2060,2432,2278,2239,2315,2423,2277,2210,2090,2127,2202,2244,2202,2149,2246,2196,1970,1892,1672,1636,1795,1831,1671,2070,1776,1529,1500,1554,1673,1628,1770,1872,1768,1979,2050,1781,1741,2153,1927,2015,1827,1791,1840,1886,1818,1848,1821,1613,1494,1477,1656,2244,2140,1836,1701,1631,1672,1748,1747,1596,1749,2138,2280,2256,1823,1607,1511,1936,1763,1500,1992,2378,2308,2076,2212,2675,2484,1872,1560,1546,1723,1668,1903,1997,1804,1692,1630,1703,1894,2028,2482,2697,3050,4079,3970,3194,2719,2271,2404,2468,2052,1825,1992,1855,1686,2494,2448,1849,1720,1866,2021,2368,2232,2273,2632,3495,3902,3509,3438,3225,3652,3415,2830,2604,2296,2667,2553,3159,3234,3334,3772,3320,3072,2978,2867,3334,3327,2956,2820,3352,3735,3664,3195,3093,3476,3286,2578,3348,3694,3143,3319,3657,3347,2696,2440,2183,1835,2164,2366,2216,2491,2687,2592,2132,1658,1713,2090,2286,2063,1774,2144,2007,1520,1583,1614,1969,2863,3190,2775,2583,1874,1938,2458,2656,2522,2079,1828,1875,2030,1776,1568,1683,2175,1815,1725,1585,1448,1652,1543,1412,1956,2620,2023,1359,1501,1531,1485,1517,1586,2227,2178,1690,1485,1526,1538,1655,1675,1504,1752,1729,1908,1567,1506,1421,1537,1526,1484,1698,2056,2019,1718,1589,1532,1676,1781,1792,1887,1876,1613,2257,2236,2065,2440,2657,2456,1887,1754,1736,2603,2924,2522,2202,2022,1819,1694,2049,2058,1552,1432,1664,1573,1452,1367,1548,1611,1615,1812,1765,1544,1377,1446,1799,1900,1904,1894,1442,1513,1547,1559,2121,2797,2432,1901,1562,1589,1540,1421,1428,1517,1477,1890,1938,2160,2226,2249,2273,2025,1903,1798,1798,1984,1798,2007,2862,2658,1526,1382,1520,1572,1375,1285,1232,1367,1883,1738,1543,1654,1529,1362,1345,1340,1872,2206,1874,1700,1810,1874,1865,1622,1421,1530,1629,1638,1510,1433,1310,1368,1565,1541,1541,1375,1139,1079,1161,1300,1265,1249,1292,1278,1396,1496,1445,1425,1534,1410,1344,1341,1271,1189,1310,1434,1304,1331,1540,1675,1503,1782,1958,1824,1773,1471,1588,1462,1333,1568,1783,1813,1566,1387,1300,1382,1632,1597,1537,1516,1351,1443,1486,1395,1346,1257,1598,1474,1346,1344,1244,1359,1278,1655,1643,1290,1424,1488,1378,1330,1644,1630,1681,1719,1770,1687,1616,1706,1499,1541,2068,1701,1562,1567,1380,904,534,761,1399,1632,1643,1746,1512,1560,2289,2647,1983,1460,1790,1906,2144,2275,2269,2504,2070,1802,2208,2934,3105,2953,2618,2698,2963,2720,2611,2307,1841,1560,1670,2126,2148,2432,2740,2265,2944,2444,2248,3122,2601,1823,2169,2676,2879,2490,2225,2106,2820,2947,2155,1794,2166,1748,1516,1530,1798,1888,1525,1476,1323,1329,1386,1814,1957,1711,1647,1871,1772,1662,2166,2570,2486,2814,2819,2272,2389,2562,2384,2496,2004,2308,2076,1698,1974,2114,1888,1742,1775,1975,2200,2122,2231,2264,2005,2200,2191,1997,2115,2093,1533,1210,1250,1157,1607,1766,1614,1582,2110,2041,2234,2752,2888,2191,2257,2199,2065,2602,2110,1716,2639,2825,1901,1948,2487,2957,3179,3164,2641,2578,3164,3185,3241,3814,2857,1947,1790,1690,1642,1724,1803,1918,1941,1925,1872,1886,1807,1998,1967,1646,1979,3262,4000,4254,4260,3880,3679,4060,3520,2487,2031,1875,2109,2180,2604,2308,1875,2840,3234,2624,2109,2249,2231,2032,1721,1748,2293,2547,1992,2190,2334,2059,1821,1771,1744,1453,1298,1487,1760,1111,1287,1667,2071,2387,2060,1592,2098,2665,2670,2814,2575,1880,1918,2563,1970,1384,1416,1781,2067,2095,2025,2250,2264,2036,2565,2424,1349,2026,2000,2462,3001,3378,2723,2605,3155,2887,2253,2248,2303,2440,2741,2768,2450,2375,2867,2236,1896,2130,2068,1771,1693,1682,1922,2109,2001,1990,1490,819,1985,2050,1611,1644,1866,2244,2191,2415,2379,2286,2174,1967,1737,2250,2447,2209,2423,2962,2733,2074,1686,1562,1645,1611,1763,1658,1217,1394,1279,1238,1640,1514,1186,817,495,589,1224,1652,1703,1498,994,1688,1926,2260,1980,1151,1526,2088,1784,1484,1653,1982,2201,2304,1730,1516,2172,2809,2499,1862,1488,1316,1262,1453,2128,2257,1468,1516,1636,2564,3131,2993,2485,1801,1565,1990,2526,2598,2350,2282,2381,1642,1996,2302,2121,2032,2493,2448,2201,2373,2259,1649,1790,2181,2068,3032,4257,3798,3218,3120,3103,2501,2426,3111,3198,2554,2175,2392,1783,1759,2326,2690,2257,2116,2272,2313,2334,2122,1953,2062,1575,1031,1354,1310,1492,1763,1829,2540,3322,3088,2853,3167,3462,2916,1980,1739,1634,1664,1769,2542,2398,2035,2050,2162,2526,2594,2005,2176,2693,1960,1884,1731,1483,1528,1448,1290,1417,2043,2260,1671,1691,2310,2361,2278,2402,1854,1960,2367,2439,2092,1896,1860,2054,2287,1961,1488,1473,1931,2090,1909,2215,2634,2876,2346,2067,1804,1692,1552,1687,2104,2413,2819,2720,2162,2129,1866,2498,2927,2359,2433,2392,2204,2526,2288,2224,2276,1789,1483,1436,1650,2152,2522,2123,1748,2257,3414,4034,3646,2425,2022,2359,2204,2179,2367,2447,2700,3164,3130,2341,1786,1738,1729,1504,1456,1666,1810,1838,1640,1626,1742,1647,1598,1755,2036,2019,2368,2340,1894,2204,2288,1790,2136,2006,1747,1647,1772,2425,2744,3100,3356,3628,3694,2895,2645,2320,1685,1507,1642,1953,2050,1744,1527,1455,1493,1545,1645,1565,1468,1645,1584,1750,1776,1730,1908,1979,1860,1673,1583,1512,1493,1665,1583,1592,1447,1850,1711,1800,2165,1873,1836,2076,1898,2478,2452,1730,1576,1572,1662,1653,1510,1650,1554,1740,2102,1946,1687,1953,2132,2157,2204,1951,1970,2005,1964,1932,2080,2024,1845,1881,1898,1668,1919,1900,2221,2143,1870,1882,1931,2050,2635,2908,3115,2777,2322,2250,2526,2675,2255,2102,2700,2565,2218,2172,1927,1698,1580,1600,1855,2452,2486,1931,2160,2451,2542,2409,2175,2082,2098,1836,1682,1581,1528,2009,2404,2510,2386,2182,2045,1955,1865,2170,2458,2511,2630,2547,2722,2565,2028,2482,2730,2893,2453,2149,2501,2485,2736,3582,3530,3272,2519,2403,2647,2983,3024,2977,2722,3076,3408,3317,3737,3971,3065,3088,3018,2981,2756,2347,2676,3059,2753,2525,2569,2374,2379,2767,3230,3550,2923,2072,2166,2342,2082,2025,1954,1999,2200,2292,2480,2541,2514,2043,2076,2265,1940,1797,1559,1736,2210,2878,3404,3441,2894,2708,2496,2302,1986,1666,1610,1448,1158,951,998,1367,1817,2155,2500,2388,2315,2039,2020,2142,1896,1897,2009,1893,1935,1958,1729,1745,1786,1735,1657,1593,1316,1458,1549,1473,2000,2314,2286,2063,1697,1573,1594,1575,1600,1879,2162,2056,2042,1520,1466,1909,2155,2127,2062,1870,1656,1519,1636,1763,1812,2214,2486,2047,1782,1589,2003,2786,3131,3205,3114,2829,2746,2932,3016,2834,2940,3510,3674,3550,3002,2701,2615,2526,2214,2141,2857,2963,2781,1934,2342,3035,2949,2435,2413,1747,1886,2355,2519,2590,2740,2688,2598,2788,2408,2112,2626,2908,2539,2692,2734,3118,3237,2827,2050,1606,1802,1870,1942,2009,2328,2460,2477,2441,2464,2678,2380,2318,2206,1852,1630,1900,1972,1806,1696,1904,1672,1836,2114,1919,1666,1669,1772,1831,2010,1765,2040,2370,2312,1600,1406,2021,2454,2364,2040,1729,1872,2114,1907,1609,1836,1975,2048,2110,2194,1896,1540,1564,1996,1991,1663,1537,1569,1577,1557,1558,1688,1726,2216,2481,2567,2053,1750,2260,2494,3388,3772,3152,2773,3049,3000,2204,2090,2214,2182,2150,2066,2698,3208,2564,2148,1988,2347,2402,2193,2326,2511,2330,2865,3351,2798,2179,2203,2666,2791,3072,3473,3314,3450,3594,3153,2240,2254,2654,2789,2943,2929,3072,2643,2553,2807,3008,2866,2772,2563,2362,2170,1996,2160,2075,2019,2634,2354,1980,2086,1848,1999,1904,1783,2270,2088,1743,2079],[1691,1731,1855,1908,1965,2237,2379,2116,2037,2159,2240,2365,2480,2301,2469,2667,2193,2019,2150,1824,2017,2077,1926,1867,2316,2540,2475,2238,1749,1699,2029,2060,2229,2217,2022,2741,3745,3510,3300,3031,3255,3432,3703,4257,4012,3613,3683,3275,3005,3094,3000,3088,3110,2856,2845,2846,2652,2817,2597,2342,2319,2563,2466,2285,2238,2436,2811,3196,2829,2594,2746,2895,3048,3479,3958,3971,3984,3762,3520,3957,3768,3537,3604,3304,3186,3200,3132,3049,2879,2882,3055,3362,3463,3464,3574,3494,3472,3610,3624,3820,3824,3739,3597,3130,3144,2829,2544,1980,1696,1974,2293,1917,1991,2721,2890,2833,2480,1912,2563,2171,2923,3602,3288,3066,2590,2668,2687,2014,1887,2322,2747,2302,2797,3287,3211,3275,2730,2013,2244,3075,3216,3151,3599,3708,3516,2822,1742,1465,2490,3035,2621,2385,2441,2186,1985,1964,2036,2078,2285,2308,2438,2317,2179,2133,2063,1818,1675,1731,1814,1795,2014,1976,1734,1968,1991,1829,1858,1777,1750,1796,1710,2058,2316,2209,2081,2150,2192,2514,2422,3051,3492,2754,2541,2540,2598,2768,2469,2089,2600,2901,3044,3151,2906,3012,3153,3037,2962,3292,3537,3676,3630,3386,2950,3299,3341,3297,3205,3593,3257,2299,1866,1946,2341,2482,2317,2065,2056,2658,2293,2293,2379,2491,2006,1935,1599,1820,2482,2781,2668,2400,2570,3234,2856,2565,2327,3059,3294,2973,3079,2588,2118,1855,1626,1598,1577,1560,1587,1663,1518,1667,1678,1678,1710,1862,2372,2375,2032,2329,2218,2047,1811,1769,1722,1606,1486,1559,1560,1960,2652,2798,2691,3369,4048,4181,4082,3111,3253,3026,2220,1839,1816,1700,1506,1425,1937,2182,1764,2031,1495,1543,1674,1730,1572,1569,1799,2064,2019,1747,1854,2356,2342,2482,2449,2069,2469,3100,2602,2272,2080,2263,2254,1809,1737,1819,2092,2344,2420,2024,1674,1662,2213,2127,2583,2584,2392,2121,1975,2036,2164,2174,2574,2327,1934,1901,1998,2549,2940,2625,2254,2031,2051,2363,2135,1843,1719,1654,1844,1853,1574,2000,1875,1578,1745,1902,2144,2177,1849,1713,1659,1909,1987,2020,1891,1831,1827,1872,1716,1669,2232,2580,1826,1748,1917,1618,1565,1681,2144,2232,2152,2026,1887,1668,1513,1746,1956,2306,2585,2653,2365,2075,2029,1815,1877,2120,1987,1749,1651,1755,2085,1914,2001,2555,2548,2251,2073,2189,1964,1760,1988,1919,1774,1959,2110,1645,1866,2017,2533,2875,3166,3816,3575,2852,2065,1669,2057,2280,2285,2221,1963,2061,2241,2800,2876,2215,1858,1691,1966,2348,2411,2251,2084,2732,3521,2807,2331,2099,2552,2402,2655,3051,3109,3001,3099,3666,3741,3264,2722,3130,3255,2786,3050,3109,2767,2497,2667,3084,3694,3838,3450,3227,3551,3517,2830,2268,3144,3520,3437,3363,3042,2279,1895,1822,1953,2187,2176,1875,2428,2931,2452,2043,1735,2080,2558,2413,1842,1960,2235,1906,1820,1849,1853,2105,2515,2584,2288,2432,1978,1775,2258,2271,1856,1874,1888,1893,2398,2088,1709,1687,2400,1991,1631,1447,1740,1903,1800,1762,1695,1919,1542,1371,1671,1588,1500,1387,1455,1625,1730,1619,1639,1779,1560,1911,2008,1664,2173,2256,1971,1747,1560,1447,1477,1449,1432,1526,1730,1654,1642,1633,1663,1730,1763,1820,1685,1465,1835,2235,2025,1736,1821,2071,2097,1665,1745,1844,2597,2688,2623,2878,2598,1829,1915,2721,2468,1620,1404,1500,1566,1547,1521,1549,1475,1614,1789,1799,1680,1489,1387,1530,2034,2300,1704,1527,1590,1432,1318,1878,2501,2793,2292,1843,1920,1976,1908,1658,1634,1353,1780,1875,2038,2289,2293,1897,1755,1854,1776,2040,2144,2101,2268,2600,2348,1753,1614,1651,1488,1362,1385,1280,1381,1860,1483,1554,1473,1482,1637,1701,1448,1937,2543,2016,1483,1664,1597,1465,1417,1312,1489,1592,1638,1953,1749,1403,1444,1551,1698,1668,1366,1092,1024,1143,1272,1343,1411,1406,1390,1813,1894,1476,1321,1275,1275,1409,1399,1341,1395,1458,1393,1309,1341,1431,1405,1612,2019,2034,2004,1771,1591,1713,1572,1773,1860,1877,1849,1550,1354,1268,1280,1392,1459,1427,1525,1518,1413,1379,1346,1277,1339,1446,1395,1560,1562,1907,1622,1434,1627,1410,1529,1717,1690,1536,1515,1695,1649,1762,2002,1916,1785,1915,1698,1876,1744,1601,1470,1681,1583,949,481,795,1322,1505,1470,1374,1312,1098,1681,2669,2454,1838,2039,2492,2310,1879,1755,1814,2192,1879,2286,2398,2388,2718,2755,2667,2292,2142,2735,3143,2584,2592,2623,2392,2468,2339,2249,1922,2366,3141,2196,1765,2546,2355,1980,2256,2666,3230,3163,2150,2498,2668,2337,2078,1859,1801,1535,1325,1465,1662,1791,1851,1888,1972,2028,1702,1921,1708,1495,1414,1570,1786,1741,1903,1870,2085,2622,2649,2292,2301,2133,1958,1874,1939,2346,2092,1639,1570,1345,1697,2194,1759,1919,1999,1787,1922,2249,2306,2338,2280,2156,2190,2104,1760,1318,1512,1783,1667,1681,1593,1746,1786,1992,2260,2613,2687,1824,2118,2326,2414,1924,1792,2481,3173,3143,2752,2333,2292,2408,2266,2215,2769,3466,4042,3942,3353,3484,3608,2889,2336,2000,1739,1756,1718,1748,1842,1972,2029,1725,1644,1691,1512,2041,2990,3732,4117,4396,4128,3530,3425,4240,4078,3230,2252,1937,2422,2299,2272,2051,1693,2039,2877,2588,1861,2049,1902,2136,2072,1964,2518,2490,1868,1793,1776,1859,1794,1800,1743,1643,2050,2493,2443,1689,2843,3312,3135,2604,1760,1572,2002,1800,1398,1947,2362,2117,2205,2519,1947,1417,2142,2474,2317,2336,1875,1868,1813,1469,1909,2161,2232,2888,2622,2691,3125,2955,2466,2996,3090,2674,2099,2127,2233,2386,2666,2618,2407,2663,2797,2120,2129,2097,1875,1747,2110,2096,2188,2172,2315,1434,1013,989,1671,1846,1561,1341,1403,1876,2253,2524,2177,2198,2080,2040,2064,2250,2391,2610,2608,2355,2260,2002,1996,1704,1655,1869,1755,1339,1382,1434,1207,1234,1216,1266,1419,1120,870,932,1436,1615,1637,1204,1294,1709,1460,1511,1473,1115,1255,1669,1601,1389,1664,2109,2174,1904,1685,1720,2403,2632,2210,1677,1346,1199,1331,1904,2813,2314,1494,1535,1734,2326,2963,2976,2327,1562,1639,2214,2426,2408,2091,1902,2201,1654,2019,2356,2392,2331,2200,2040,2382,2342,1890,1853,2369,2360,2127,3132,3439,3308,3208,3128,3243,2779,2742,3616,3607,3188,2797,2490,1805,1887,2370,2441,2066,2102,2398,2437,2413,2143,1958,2142,1703,1248,1668,1832,1717,1824,2019,2602,3098,2751,2464,3103,3854,3156,2303,2357,2432,2469,2268,2235,1949,1780,1880,2244,2831,2867,2880,3190,3218,2302,2066,1638,1397,1375,1483,1482,1538,1791,1859,1995,2103,2031,2057,2304,2001,1670,1901,2307,2656,2481,1879,2066,2504,2039,1804,1796,2323,2643,2941,2928,2822,2934,2940,2457,1900,1534,1432,1675,2063,2498,2524,2355,2284,2115,1903,1999,2409,2667,2855,3234,2811,2222,2174,2162,2090,2437,2150,1705,1583,1723,2230,2602,2275,1955,2546,2910,2911,2328,1668,2060,2464,2112,2204,2614,2800,2711,3255,3477,2622,1981,1735,1641,1475,1612,1744,1898,1825,1598,1455,1406,1406,1444,1923,2125,1838,1636,1945,1846,1803,2468,2518,2552,2374,2359,2187,1929,2576,3407,4244,4284,4168,3641,3390,3870,3542,2278,1858,2089,1982,1746,1688,1586,1528,1555,1779,1562,1541,1452,1326,1375,1484,1597,1886,1995,1919,2160,1937,1729,1564,1700,1632,1646,1647,1632,1809,1671,1897,2568,2604,1932,2044,2124,2502,2080,1470,1453,1606,1705,1560,1465,1579,1796,2258,2322,1747,1775,1780,1569,1957,2347,2180,1666,1748,1802,1642,1969,2170,1959,2156,1969,1756,1863,2325,2728,2079,1553,1519,1765,2323,2571,2837,3209,2320,2668,2416,2873,3044,2676,2441,2638,2677,2708,1858,1661,1706,1650,1914,2179,2644,2199,1731,1907,1920,1836,2013,2164,2008,1719,1558,1686,1793,1962,2215,1958,1735,1760,1869,2205,2555,2593,2877,3107,2600,2728,2563,2085,2059,2269,2510,2412,2302,2568,2751,2656,2998,3188,3481,2854,2978,2534,2303,2812,3273,3167,2735,2983,3288,3299,2968,3293,3805,3041,3046,2858,2979,2588,2411,3083,3076,2564,3028,3085,2911,2600,3021,3510,3205,2367,2146,2301,2458,2299,2199,2154,2052,2002,1559,2028,2304,2470,2189,1885,1826,1642,1620,1670,1917,2172,2574,3042,2711,2459,2417,2265,2417,2129,1733,1368,1341,1316,1521,1378,1327,1745,1878,1948,2194,2205,1837,1998,2132,1774,1764,1692,1604,1813,1837,1782,1809,1707,1689,1693,1529,1266,1595,1739,1572,1670,1852,2016,1844,1562,1452,1392,1556,1505,1566,1642,1593,1619,1465,1793,1988,1966,1958,1946,1926,1802,1580,1719,1768,1603,2325,2424,2061,2032,1882,1980,2562,3044,3065,3233,3031,2864,2973,3081,3130,2983,3226,3528,3527,3128,2858,2547,2333,2334,2518,3383,3299,2518,2313,2955,3052,3021,3104,2471,2309,2829,2844,3088,3146,2938,2899,2599,2320,2193,2529,2835,2754,2824,2840,2873,2975,2871,2993,2206,1974,2276,2349,2262,1831,1726,1622,1931,2373,2541,2304,2188,2707,2303,1599,1563,2137,2002,1575,1863,1977,1752,2059,2247,1994,1825,1907,1813,1835,1788,1798,1942,2116,2071,1715,2143,2897,2790,2071,1930,1817,1925,2740,2338,1757,1889,1771,1817,2039,1893,1635,1560,1942,2149,1615,1272,1476,1593,1572,1533,1589,1397,1391,1818,2331,2646,2199,1642,1714,1692,2664,3278,3207,2588,2576,3054,2850,2417,1938,1974,2045,1794,2325,2911,2422,2132,2109,2459,3010,2959,2876,2714,2774,3357,3119,2542,2211,2081,2148,2075,2333,2845,3281,3397,3253,2894,2321,2182,2859,3238,3310,3338,3152,2827,3387,3294,3200,3398,3291,2787,2186,1548,1536,1781,1791,1948,2320,2401,2146,2060,1851,1773,1888,2041,2098,1804,2086,2431],[1864,2108,2236,1974,2050,2394,2592,2308,2222,2362,2259,2368,2792,2407,2231,1971,1821,2156,2448,2203,2083,2085,1888,1850,1991,2170,2304,2002,1816,1863,2084,2090,2157,2042,2188,3460,4002,4065,3728,3039,3198,3584,3473,3672,3845,3581,3418,3564,3284,2836,2502,2742,3210,3087,3021,3018,2849,3134,3039,2963,2624,2704,2861,2990,3147,3247,3444,3499,3201,3052,2898,3287,3798,4209,3946,3456,3203,3215,3329,3446,3271,3562,4013,3451,3197,3204,3257,3116,3040,3108,3152,3394,3472,3375,3404,3498,3543,3564,3334,3351,3333,3572,3189,3241,3331,2819,2299,1775,1824,2166,2336,2226,2658,3135,3444,2756,2502,2105,2390,2534,3175,3485,3471,3305,2987,2898,2503,2128,2117,2486,2522,2153,2895,3659,3688,3406,2814,2415,2618,3022,3186,3361,3522,3350,3241,2443,1472,1841,3144,3749,3359,3230,3597,3005,2048,2412,2630,3382,3277,2953,3027,3295,3530,3451,2610,1655,1527,1747,1870,1858,2158,2302,2169,2598,2586,2250,2251,1999,1986,2338,2156,1955,1657,1812,1762,1919,2055,2119,2082,2596,2611,2617,2654,2583,2678,2709,2754,2619,2886,3028,2924,2846,3006,2812,3046,3296,3164,3132,3283,3427,3480,3174,2943,3584,4042,3736,3553,3925,3486,2458,2067,2376,2712,2735,2239,2367,2699,2923,2965,2891,2562,2441,2386,2416,2180,1784,1990,2292,2426,1937,1767,2325,2141,2866,3115,2949,2928,3141,3212,2653,1682,1508,1596,1571,1538,1540,1603,1432,1363,1327,1456,1760,1814,1638,1682,1681,1890,2320,2045,1616,1528,1761,1736,1582,1830,1800,1727,2052,2430,2544,2644,3364,3592,3818,3990,4037,4512,4469,3279,2138,1614,1562,1622,1690,2241,2004,1584,1441,1404,1573,1632,1413,1310,1503,1661,1744,1730,1648,1984,2246,2104,2279,2106,1651,1875,2788,2551,2106,1949,1682,1569,1555,1430,2014,2635,2475,2478,2141,1927,2093,2194,1998,1974,1952,2002,1933,1995,2422,2363,2625,3354,2623,2486,2342,2184,2235,2254,2012,1815,1868,1781,2064,1692,1902,1991,1968,1961,1755,1418,1628,1580,1460,1899,2664,2708,2344,1685,1729,1591,1574,1808,2152,2078,1757,1569,1737,1946,1922,2338,3338,2513,2171,2132,1872,2038,2121,2258,2397,2462,2126,1822,1752,1512,1659,2176,2850,2646,2326,1786,1796,2315,2315,1903,1721,1694,1713,1684,1564,1644,1734,2086,2564,2830,2836,2212,2216,2076,1687,1818,1972,1945,2060,2132,1690,1625,2147,2930,2894,2988,3150,3030,2742,2135,1675,2080,2328,2327,2316,2150,3032,2867,2498,2283,2025,1852,1777,2102,2442,2662,2416,2225,2719,3032,2480,2492,2668,2824,2836,2980,3458,3794,3208,3261,3415,2809,2153,2126,2821,2850,3163,3296,2552,2155,2351,2510,2865,3559,3408,3140,3454,3740,3117,3284,2476,2563,3518,3231,2597,2510,2077,1888,2135,2015,1868,2015,1635,1639,2236,2547,2265,2008,2231,2800,3065,2677,2490,2248,1725,1694,2178,1990,1829,1835,2745,2884,2316,1880,2025,2723,2548,1908,2040,1919,1650,2302,2179,1930,1919,1925,1825,1594,1607,1836,1877,1872,1981,1704,1751,1572,1771,1804,1562,1468,1581,1668,1466,1450,1520,1892,1918,1824,2465,2242,2042,2260,2438,2417,2065,1598,1483,1495,1440,1449,1449,1560,1550,1592,1640,1745,1783,1990,2018,1831,1948,2211,2183,2171,2353,2339,2065,1931,1759,1937,2325,2669,2573,2580,2975,2641,2291,2687,2877,2215,1494,1478,1559,1594,1564,1564,1564,1611,1711,1765,1646,1755,1596,1428,1439,1491,1646,1574,1430,1479,1477,1397,1354,1611,1939,1759,1988,1995,2163,1724,1434,1550,1568,1912,2043,2043,2240,2461,1972,1931,1786,1714,2182,2142,1980,2030,2167,2407,2424,2314,2136,1656,1431,1482,1593,1473,1434,1376,1554,1448,1527,1850,1992,1670,1758,1869,1578,1430,1567,1404,1299,1445,1655,1566,1367,1693,2104,1848,1428,1494,1635,2151,1798,1267,1076,1178,1230,1247,1312,1375,1477,1587,1604,1492,1426,1366,1405,1377,1302,1269,1324,1432,1447,1485,1397,1343,1391,1432,1660,1893,1831,1898,2172,1899,1677,1564,1482,1439,1448,1414,1387,1343,1376,1366,1357,1404,1412,1426,1453,1386,1369,1332,1356,1544,1418,1453,1527,1460,1693,1628,1891,2030,1604,1686,1750,1796,1785,1664,1609,1295,1616,1892,1816,1983,1741,1642,1876,1664,1186,1427,1830,1524,828,776,1269,1565,1654,1415,1500,1152,1661,2383,2328,2019,2170,2956,2935,2310,2042,2049,1814,2226,2503,3041,2601,2303,2584,2629,2301,1961,2171,2578,3270,2817,2134,3210,3153,2765,3063,2762,2409,2886,3056,2083,1613,2252,2629,2170,1903,2620,2906,3450,2360,2054,2024,2095,2090,1833,1545,1355,1340,1733,1588,1737,2136,2487,2026,1739,1716,1774,1738,1456,1584,1810,2094,2198,1852,1234,1770,2310,2289,2032,1902,1467,1291,1617,2063,2032,1920,1516,1572,1648,1844,1995,1815,2541,3130,2314,1752,2006,1919,1794,1760,1910,1928,1691,1874,1859,1665,1737,1878,1910,1794,1745,1826,1962,1797,1902,2255,1912,1815,2043,2170,1729,1592,2096,2344,2464,2417,1818,1691,2134,2379,2071,2655,3121,3672,3735,3686,2763,2766,3262,3182,2499,2024,1579,1786,1753,1786,1773,1719,1765,1700,1456,1823,3243,4175,3824,3729,3830,3315,3443,3768,4250,4268,3802,2902,2460,2370,2103,1968,2056,1810,1715,1798,1754,1648,1680,1581,1556,1720,1863,1915,1659,1562,1688,1897,2032,1854,2014,1881,1663,1659,1867,2061,1768,2254,2696,2693,1922,1368,1263,1578,1221,1319,1688,2066,2094,1810,2120,2003,1681,2290,2423,2368,2776,2677,2484,1447,1412,1970,2304,2757,2695,2769,2884,2821,2236,2046,2406,2555,2674,2381,2002,2013,2284,2430,2500,2365,2939,2833,2198,2952,2426,2072,1923,2304,2308,2178,1979,1982,1131,510,729,1275,1672,1656,1620,1715,2239,2071,2132,2446,2430,2700,2890,2597,2394,2428,2785,2853,2607,2599,2241,2356,2106,1801,1715,1490,1424,1557,1302,1300,1418,1274,1450,1818,1621,1562,1367,1524,1597,1542,1302,2115,2129,1501,1463,1318,819,992,1293,1398,1602,2223,2422,1810,1754,1807,2048,2608,2415,1842,1443,1198,1224,1393,2223,3068,2116,1551,1478,1470,2166,2715,2568,2110,1507,1765,2496,2368,2203,2126,2163,1911,1613,2061,2350,2194,2045,2116,2191,2244,1716,1618,2178,2545,2144,2261,2776,2896,3111,3123,3307,3576,3647,3590,3689,3784,3656,3383,2977,2362,2366,2341,2039,1993,2177,2576,2631,2458,2098,2062,2058,1444,1102,1259,1230,1192,1628,1948,2440,2590,2300,2541,3278,3345,2864,2425,2278,2401,2314,1925,1629,1593,1825,2046,2098,2474,2720,2845,2968,2555,2188,1860,1548,1490,1644,1602,1310,1436,1836,2149,2023,1942,1851,1902,1969,1978,2045,2372,2416,2501,2720,2446,2662,2800,2521,2789,2548,2934,3101,3416,3833,3031,2358,2620,2189,1894,2015,2019,2600,2910,3176,2691,2314,2208,2058,2285,2762,2590,2363,2937,3248,2699,2442,2008,1987,1958,2149,1935,1819,1846,1942,1973,2036,2192,2004,2486,2580,2157,1745,1735,2134,2118,2381,2282,2379,2564,2309,2937,3239,2519,1974,1805,1803,1860,1830,1720,1524,1402,1360,1301,1361,1392,1391,1817,1943,1923,1732,2002,2246,2344,2856,2903,2886,2714,2367,2241,2706,3223,3461,4093,4208,3830,3381,4067,4571,4120,2856,2121,2387,2186,1622,1449,1393,1498,1503,1904,1615,1445,1346,1373,1476,1597,2046,2492,2231,1845,2244,2397,1991,1612,1640,1595,1653,1605,1657,1807,1766,1725,2141,2619,2070,1718,2092,2014,1722,1510,1382,1469,1644,1657,1594,1484,1675,2326,2721,1952,1670,1550,1720,2116,2424,2092,1572,1553,1612,1584,1824,2066,2004,2312,2372,1938,1853,2364,2539,1765,1361,1417,1760,2319,2436,2642,2307,1800,2614,3221,3330,3292,2876,2531,2207,2099,2519,2077,1926,1904,1861,2080,2715,3208,2290,1598,1790,1992,1954,2234,2136,1930,1689,1734,1667,1709,1800,1993,1801,2101,2570,2499,3001,3204,2642,2914,3097,2550,2543,2221,1762,2142,2746,2779,2535,2207,2349,2062,1984,3009,3212,3207,2968,3017,2453,2109,2423,3054,3135,2957,3222,2874,2851,2807,2762,3120,3111,3134,2675,2613,2504,2380,2784,2569,2235,2785,3338,3452,2766,2536,2620,2414,2291,2417,2610,2877,2679,2430,1866,1798,2067,1071,1350,2235,2729,2411,2001,2019,1992,1849,2286,2868,2854,2551,2597,2552,2305,1835,1997,2090,2300,2063,1620,1438,1647,2165,2047,1858,2167,1976,1893,2091,2160,2137,2100,1918,1619,1559,1550,1676,1992,1964,1910,1742,1679,1709,1677,1668,1564,1741,1691,1745,1759,1746,2236,2258,1975,1724,1535,1489,1498,1739,1687,1655,1316,1305,1771,1824,1626,1698,1773,2031,1844,1567,1481,1732,1908,2138,2061,1830,1903,2108,2366,3016,3021,2826,3028,3189,3130,3018,2919,3150,3217,3253,3526,3587,3542,3257,2710,2358,2366,3064,3713,3662,3282,3254,3141,3307,3874,3494,2635,2609,2553,2664,3004,3285,2689,2098,2072,2094,2104,2156,2277,2451,2910,2797,2502,2334,2080,2077,1803,2195,2531,2498,2295,1968,1726,1940,2315,2649,2347,1940,2305,3143,2756,2098,1633,1739,1875,1931,2356,2472,2270,2152,2269,2209,2083,1998,1914,2073,1918,1923,1904,1905,1794,1904,2485,2671,2389,2186,2065,2149,2304,2658,2511,2019,1677,1831,2077,1903,1694,1548,1644,2119,2028,1697,1370,1696,2220,2361,2130,1896,1720,1593,1809,2533,2710,2254,1781,1879,1835,2136,2762,2755,2096,2123,2580,2584,2234,1973,2229,1946,1836,2118,1859,1959,2560,2620,2943,3311,3287,3351,2792,2691,2998,2987,2930,2348,2033,2236,2325,2483,3162,3628,3466,3164,2810,2414,2202,2846,3252,3349,3640,3583,3374,3522,3342,3115,3124,2856,2416,1550,1196,1284,1622,1844,2007,2679,2681,2239,2169,1954,1800,2155,2224,1956,2128,2635,2486],[2188,2474,2499,2113,2188,2753,2716,2236,2269,2566,2720,3054,3242,2520,1957,1841,1860,2117,2416,2245,2071,2006,1877,2162,2051,2186,2039,1847,1997,2024,2262,2562,2273,1993,2856,3665,3689,3586,3262,3218,3355,3638,3598,3509,3914,3871,3396,3660,3629,2951,2378,2280,2883,2995,3089,3269,3044,3051,3365,3374,3144,3444,3759,3780,3850,3935,3928,3952,3908,3908,3731,4108,4312,4246,3707,3252,2920,2919,3176,3206,3210,3146,3298,3250,3233,3233,3306,2997,2864,2799,2652,2955,3260,3045,3131,3564,3602,3582,3374,3210,2919,2877,2745,3321,3186,2360,1958,1847,2005,2154,2386,2557,3210,2885,2776,2370,2181,2003,2182,2140,2137,2568,2918,2951,3586,3609,2458,1764,1712,1825,2192,2997,3402,3330,3200,2920,3122,2683,2395,2569,2889,3326,3526,3439,3113,2053,1694,2906,3746,3641,2977,3121,3749,3907,3164,3218,3326,3918,3848,3498,3596,3815,4001,3831,2949,1531,1331,1417,1429,1799,2075,2164,2186,2536,2585,2216,2257,2265,2368,2413,2249,2055,1639,1735,1818,2195,1952,1852,1907,1932,1952,2159,2176,2283,2557,2676,2442,2386,2470,2801,2745,2685,2895,2596,2798,3220,2937,2872,3205,3195,3134,2701,2841,3509,3711,3572,3399,3770,3807,2872,2906,3111,2724,2827,2794,3176,3418,3001,3396,3572,3167,2943,3191,3069,2577,1886,1921,2202,2862,3166,2911,2354,2599,2946,2720,2691,2994,2968,3188,2908,1840,1718,1891,1695,1568,1678,1670,1353,1360,1402,1603,1885,1891,2041,1878,1576,2137,2118,1942,1617,1558,1702,1692,1752,1972,2134,2105,2226,2300,2453,2494,2977,3525,3930,3949,4156,4576,4855,4250,2696,1611,1724,1918,2030,2184,1698,1522,1458,1646,1814,1711,1567,1573,1719,1711,1685,1631,1721,1875,1742,2189,2557,2474,2351,2303,2198,1850,2007,2223,2115,2218,2000,1866,2079,2202,2091,2089,1945,1837,1842,1770,1793,2066,2334,2424,1942,1793,2176,2365,3298,3120,2141,2302,2513,2248,1681,1377,1499,1915,2335,1972,2096,1969,2360,2022,1876,1946,1720,1665,1731,1669,1719,2092,2794,2500,2297,1773,1832,1622,1736,1849,1881,2158,2064,1690,1704,1887,2202,2107,2555,2345,2117,2012,2311,2332,1987,2344,3266,3272,2595,1914,1858,1687,1870,2210,2856,2452,2053,1933,2217,2438,2044,1748,1450,1631,2078,1750,1628,1658,1934,2229,2501,2818,2609,2313,2431,1947,1555,2055,1984,1843,2224,2035,1750,1731,2480,3119,2597,2503,2814,2699,2314,2249,1755,1930,2008,2137,2178,2931,3042,2293,2068,1846,1799,1875,1869,2028,1994,2434,3020,2806,2880,3194,3244,3172,3112,3263,3060,2492,2876,3941,3523,2793,2491,2563,2276,2853,3243,3106,3398,3231,2567,2377,2136,2365,3012,3467,3527,3205,3404,3473,3300,3488,2875,2425,3007,3504,3159,2829,2675,2564,2317,2177,1831,1808,1537,1487,1741,2754,3257,2416,2441,3032,3277,3288,2651,2237,1809,1671,2008,2189,1867,1844,2696,2877,2181,1968,1990,2492,2580,2476,2365,1827,1900,2271,2355,2483,2256,1910,1910,1864,2075,1826,1889,1898,2110,2344,2633,2181,1795,1431,1345,1684,2064,1921,1559,1534,1432,1632,1707,2260,2579,2125,2117,2327,2714,2901,2188,1760,1474,1535,1371,1310,1596,1596,1616,1516,1524,1603,1721,1780,1878,2149,2364,2431,2391,1890,2102,2225,1820,1573,1725,2200,2519,2591,2566,2722,2955,2676,2859,2818,2073,1793,1516,1476,1503,1561,1646,1594,1558,1660,1888,1932,1565,1489,1590,1548,1440,1349,1482,1647,1566,1457,1412,1372,1429,1534,1549,1542,2009,2031,2079,1569,1601,1684,1954,2596,2768,2681,2262,2241,1985,1942,1732,1982,2277,2102,1833,1657,1652,1811,1973,2146,2113,1649,1449,1614,1691,1328,1198,1246,1363,1360,1549,2243,2396,1654,1474,1355,1419,1700,1400,1301,1341,1694,1981,1561,1317,1345,1374,1375,1255,1414,1742,2034,1541,1250,1279,1415,1380,1268,1287,1267,1528,1805,1716,1493,1454,1366,1273,1272,1267,1294,1244,1258,1348,1306,1310,1411,1464,1626,1550,1538,1725,1920,1912,1590,1455,1464,1416,1350,1384,1432,1377,1349,1507,1441,1366,1553,1552,1421,1375,1409,1543,1412,1444,1607,1583,1619,1424,1387,1603,1432,1417,1859,1765,1476,1449,1583,1480,1555,1741,1660,1847,1770,2069,1945,1558,1774,1936,1336,1170,2036,2065,1736,1561,1461,1500,1447,1455,1761,1756,1944,2650,2141,1939,2418,2750,2604,2219,2120,2252,2202,1970,1959,2202,2826,2921,2676,2564,2382,1829,1731,2060,2205,2503,2512,2308,2856,2697,2598,3150,3073,2457,2751,2806,2342,2214,2483,2960,2231,1919,2610,2669,2612,2154,1935,1870,2037,1927,1839,1503,1368,1259,1359,1576,1906,2228,2416,1787,1980,2127,1942,2111,1962,1771,1707,2307,2151,1794,1636,2514,2921,2209,1888,1967,1843,1593,1682,2359,2132,1858,1666,1710,1675,1895,1743,1885,2394,2624,2137,1752,2264,1717,1616,1833,1547,1775,1676,1924,2062,2221,2287,2077,2264,2164,1480,1594,1458,1452,2118,2766,2498,1852,1999,1717,1514,1601,1403,1581,2170,2233,1742,1491,1557,1465,2290,2533,2096,2678,3602,3467,2423,2074,2756,2654,2217,2541,2478,2667,2311,2245,1851,1959,2158,1639,1544,2381,3733,4312,4048,3783,2736,1709,1987,3095,3995,4018,3884,3471,2821,2416,2110,2016,2231,2070,1829,1648,1840,2037,1728,1472,1833,2247,2046,1716,1527,1349,1250,1488,1873,1925,1948,2007,1620,1422,1456,1367,1510,1499,1592,2185,1853,1614,1533,1943,1750,1443,1328,1749,2024,1748,1690,1837,1895,2437,2420,2805,2977,2845,2515,1475,1831,2372,2555,2657,2758,2951,3335,3249,2419,2269,2229,2342,2828,2707,2543,2519,2030,1969,2116,1917,2293,2043,1890,2899,2667,1944,1725,2284,2408,2220,1968,1981,1318,485,941,1754,1835,1744,1687,1747,2395,2087,2198,2579,2614,2907,3206,3196,2897,2719,3085,2673,2204,2190,2420,2718,2758,2136,1570,1230,1541,1986,2126,1559,1416,1376,1680,1695,1702,1688,1650,1569,1612,1380,1593,2799,2821,2876,2184,1421,645,793,1049,1350,1878,2241,2022,1796,1940,2016,2342,2301,1845,1440,1264,1228,1213,1486,2503,3024,2035,1538,1560,1699,2420,2665,2396,1786,1571,1765,2166,2521,2452,2174,2352,1891,1661,2200,2209,2065,2197,2254,2133,1525,1867,2171,2425,2521,2087,2321,2707,2946,3265,3294,3461,3609,3857,3819,3708,3820,3650,3416,3293,2644,2135,2012,1759,1895,2218,2587,2642,2428,1975,2046,2079,1670,2648,3704,2364,1388,1832,1834,2147,1604,1576,1792,2022,1915,1753,1540,1521,1574,1400,1184,1337,1653,1852,2215,2103,1952,1918,1836,2079,2043,1793,1667,1767,1780,1694,1470,1339,1365,1640,1973,1924,2044,2051,2018,2142,2655,2905,2723,3034,2958,2438,2216,2303,2512,2740,3122,3085,3252,3029,3319,4096,3198,2433,2453,2041,1970,2169,2097,2522,3388,3603,3179,2654,2224,2113,2470,2854,2657,2563,2840,2646,2844,2587,2083,2047,2010,1892,1710,1849,2239,2073,1857,2224,3008,2696,2235,2384,2056,1616,2596,2419,1795,2023,1874,2179,2283,1954,2286,2428,2171,1869,1793,1855,1998,2257,2048,1566,1509,1473,1440,1334,1375,1403,1418,1698,2259,2186,2249,2687,2932,2906,2551,2244,2386,1961,1947,3379,3505,3159,3617,3838,3205,2688,3376,4030,3826,3066,2147,1947,1745,1482,1417,1570,1556,1365,1461,1496,1381,1261,1284,1381,1519,2179,2603,2478,2369,2994,2721,2083,1796,1727,1666,1614,1526,1606,1778,1820,1693,1576,1655,1919,1935,2034,1765,1444,1393,1452,1619,1932,2077,2002,1549,1550,1892,1981,1914,1664,1441,1451,1895,2209,1766,1549,1401,1445,1563,1548,1508,1764,2048,2289,2130,1876,2212,2243,1533,1606,1578,1594,1996,2019,1615,1570,1840,2575,3135,2987,3017,2950,2423,2238,1724,1780,2180,2324,2099,1885,2031,2890,3278,2481,1978,2099,2243,2100,2142,1870,1559,2047,2182,2241,2398,2209,2276,2226,2086,2351,2489,3028,2919,2429,3084,3244,2946,2792,2355,2018,2605,2731,1966,2076,2430,2686,1966,2568,3166,3045,2862,2750,2573,2093,2043,2416,2604,2742,3335,3495,2900,2492,2888,2686,2617,2941,2979,2779,2588,2191,2316,2937,2923,2912,2917,3320,3441,3416,3345,2733,2555,2814,2515,2202,2533,2527,2066,2348,2356,2563,1780,1733,2409,2498,2156,1962,1989,2145,2092,2504,2811,2990,2584,2489,2713,2322,1791,1802,2014,2144,2062,1976,1747,1781,1912,1897,2080,2310,2093,1852,1679,2227,2582,2409,2220,2073,1822,1711,2360,2711,2255,1992,1820,1660,1606,1522,1477,1804,1903,1896,2127,1470,1681,2215,1991,1798,1621,1677,1737,1888,2013,2091,2216,1881,1522,1855,2092,1837,1815,1717,1925,1945,1776,1583,1582,1883,2116,1948,1780,1955,2174,2546,3293,3138,2643,2695,3019,3200,3174,2952,2778,2692,2963,3484,3646,3872,3565,2697,2169,2230,2998,3453,3475,3560,3330,2689,2620,3393,3331,2828,2653,2633,2832,2587,2652,2298,2276,2153,2105,2313,2062,1891,1808,2282,2618,2021,1945,1827,1677,1647,1798,2274,2535,2289,1970,1911,2386,2430,2607,2580,2334,2125,2754,2830,2474,1892,1504,1725,2346,2948,2772,2154,1711,2023,2279,2172,1972,1843,1788,1659,1662,1750,1720,1786,2034,2324,2618,2476,2544,2383,2333,2056,1909,2424,2405,1782,2057,2178,1766,1752,1813,1888,1801,1654,1885,2017,2364,2509,1902,1901,2133,2095,2019,2276,2764,2675,2326,1754,1753,1686,1861,2363,2164,1860,1911,2009,2244,2271,2070,3014,3032,2912,2758,2760,2753,2708,2339,2304,2533,3250,3398,2535,2175,2425,2862,3182,2589,2388,2870,2898,2712,3205,3361,3384,3398,2854,2372,2550,2549,3222,3348,3540,3856,3614,3398,3374,3334,3124,2770,2146,1204,1788,1744,1755,2143,2310,2520,2663,2432,2053,1960,2178,2503,2181,2010,2120,2231,2283],[1886,1958,2088,1857,2156,3013,2631,1988,2688,2742,2788,2994,2732,2270,1886,1893,1895,1841,2120,2212,2172,2013,1938,2015,1677,1974,2054,1932,1854,1736,2315,2799,2200,2504,3588,3439,3515,3318,3231,3107,3025,3455,4017,3671,3727,3956,3570,3403,3370,3274,2820,2685,3103,3306,3333,3306,2731,2503,2365,2202,2153,2385,2595,2435,2260,2289,2451,2611,3066,3824,4163,4276,4124,3543,3029,2878,3001,2936,2937,3140,3418,3183,3056,2835,2715,3009,2894,2185,2207,2633,2386,2641,3085,3221,3394,3572,3781,3681,3572,3228,2796,2719,3150,3334,2652,1929,1848,1950,2099,2608,2154,2039,2836,2714,2178,2103,1988,2039,2492,2369,2341,2365,2127,2889,3283,3234,3010,2124,1616,2314,3330,3732,3539,3344,3355,3077,3254,2662,2580,2879,3017,3297,3373,3331,2879,1880,2348,3593,3253,2872,2554,3150,3494,3825,3688,2944,3128,4153,4100,3485,3588,3515,3778,3606,2830,1526,1604,1670,1673,2069,1964,2007,2019,2067,2172,1970,2358,2578,2807,2602,2337,1951,1814,1738,1802,2356,2750,2956,2862,2263,1946,1901,1768,1808,1882,2035,1980,2010,2009,2088,2098,2490,2858,2517,2911,3144,2966,2789,3188,3250,3031,2643,2767,2928,2976,2974,2514,2540,3097,3118,3715,3807,3404,3318,3138,3179,3028,2919,3052,3673,3948,3231,2548,2070,2520,2708,1540,1187,2379,3892,3626,2597,2823,2763,2251,2419,2534,2950,3573,3685,2924,2356,1876,1568,1599,1779,1858,1946,1873,1717,1832,2084,1979,2314,2272,1905,2276,2066,1759,1515,1517,1532,1472,1533,2001,2757,2206,1913,2248,2685,2200,1945,2332,3207,3277,3307,4203,4372,3896,2588,1768,1749,1706,1594,1652,1553,1497,1467,1490,1384,1218,1398,1624,2179,2292,2018,2018,1999,1792,1983,2626,2818,2751,2795,2523,2183,1856,2155,2178,2027,1877,1891,1968,1998,1965,2077,2255,1992,1734,1908,1758,1654,1902,2072,2220,1916,1960,2524,2312,2544,2463,2214,2378,2112,2165,1887,1724,1763,2290,2427,2169,2575,2707,2489,2172,2117,1927,1970,2091,1871,1820,2231,2368,2324,1963,1723,1653,1843,1779,1862,1778,1667,1814,1992,1788,1837,1868,2001,2064,2079,1924,1952,2040,1919,1656,1656,2260,2461,3059,3239,2525,2008,2065,2312,2610,2742,2366,2294,2384,2331,2013,1791,1683,1819,1834,1654,1605,1674,1835,1716,1855,2525,2828,2438,2546,2602,1931,1695,2408,2663,2661,2521,2114,2247,2330,2666,2934,2429,2404,2391,2532,2358,2691,2273,1955,2040,2056,2288,3071,2414,1826,2111,2002,2283,2913,2372,2153,1937,2184,2732,2199,2271,3016,3607,3530,2928,2978,2876,2496,2728,3625,3422,2178,1828,2086,2587,3319,3696,3663,3484,3303,3021,3144,2942,2986,3298,3522,3704,3772,3396,3078,2933,3089,3326,2830,2586,3638,3384,2305,2492,3196,2878,2513,2165,1923,1743,1799,1835,2510,3333,2921,3000,3165,3060,2553,2383,2236,2218,2288,2562,2736,2623,2361,2192,2336,2554,2198,1785,1903,2160,2663,2604,2250,2369,2600,2919,3007,2642,1866,1758,2036,2234,1820,1616,1651,1853,2512,2836,2474,1901,1612,1835,2114,2361,1830,1457,1420,1398,1571,1526,1738,2018,1986,2169,2501,3286,3042,2231,2371,1744,1535,1348,1391,1649,1566,1519,1569,1728,1894,1731,1476,1534,1980,2244,2292,2208,1877,1757,1681,1544,1545,1699,2032,2391,2399,2432,2264,2094,2035,2126,2003,1811,1683,1534,1435,1452,1594,1616,1561,1628,1856,2120,1881,1439,1434,1561,1710,1672,1516,1491,1538,1663,1566,1501,1478,1409,1203,1333,1505,1732,2316,2222,1831,1857,1606,1598,2354,2821,2552,2130,1986,1959,1873,1816,2148,2279,2054,1693,1413,1356,1402,1255,1226,1356,1395,1457,1642,1713,1545,1471,1396,1464,1456,1350,1758,2095,1416,1288,1472,1500,1760,1581,1390,1405,1593,1536,1475,1586,1470,1443,1459,1250,1344,1383,1288,1402,1546,1623,1708,1522,1318,1263,1395,1701,1688,1600,1478,1300,1249,1307,1288,1224,1238,1160,1230,1308,1333,1331,1462,2114,1669,1415,1788,1829,1604,1559,1554,1522,1548,1345,1300,1461,1877,1767,1527,1535,1548,1513,1586,1528,1466,1538,1472,1221,1171,1551,1890,1683,1506,1592,1471,1365,1427,1507,1494,1361,1263,1317,1333,1487,1842,1804,1770,1772,2020,1997,1547,1615,2002,1998,1450,1048,1614,1844,1371,1033,1437,1614,1700,1710,1997,1911,2092,2054,1218,1786,2247,2565,2435,2781,2101,1755,1791,1899,2054,2004,2072,2570,2720,2308,1882,1158,1092,1382,1985,2144,1824,1735,1762,2069,2312,2387,2414,2574,2974,2651,2988,3228,3083,2711,2303,2346,2998,3321,2382,2061,2245,1747,1687,1614,1874,1698,1580,1360,1368,1520,1541,1884,2057,1731,1744,1674,1600,1650,1946,1893,1782,2152,1898,1706,1890,2357,2344,1900,1923,1869,2141,2199,2385,2656,2442,2175,2088,1912,1656,1765,1707,1765,1766,1802,1707,1750,2270,1852,2112,2020,1572,1929,1736,1704,1991,2242,2402,2263,2335,2126,1806,1890,1622,1937,2441,2822,2789,2357,2252,2137,2461,2547,2145,2125,1818,1764,1780,1682,1427,1171,1384,1959,1832,1801,2019,2082,1804,1823,2566,2212,2113,2595,3369,3431,2454,2176,2116,2131,1660,1381,2014,2924,3926,4252,4072,2943,1809,1460,1807,2563,3541,3867,3780,3674,3263,2566,2325,2458,2094,2194,2250,2030,2214,2379,2358,2546,2865,2609,1985,1693,1466,1105,1042,1251,1782,1954,2004,2073,1722,1421,1350,1418,1914,1888,2132,2300,2122,1996,1604,1798,1932,1373,1386,1954,2249,2092,1606,1818,1947,2328,1820,2641,2752,2418,2104,1539,1902,2503,2440,2597,2732,2621,3220,3587,2872,2629,2842,2845,2995,2989,3321,2874,1639,2237,3091,2696,2218,1726,2270,2847,2336,1955,1965,2289,2436,2287,2437,2252,1038,613,1544,2433,2266,1818,1631,1732,2055,1981,2070,2188,2100,2281,2740,3130,2365,2281,2806,2475,2115,1920,1926,2319,2441,2158,1585,1404,1572,2271,2387,1886,1674,1460,1748,1732,1520,1475,1654,1592,1455,1246,1734,2823,3086,3300,2653,1368,833,1059,1173,1393,2023,2413,1892,1847,2104,2464,2438,1807,1408,1315,1272,1231,1271,1605,2470,2778,2032,1592,1654,2146,2450,2687,2375,1533,1842,2437,2148,2375,2407,2059,2275,2001,1839,2328,2243,2294,2468,2031,1849,1762,2373,2187,1969,2158,2144,2800,2986,3293,3608,3460,3519,3493,3522,3671,3764,3616,3537,3363,3184,2930,2632,2251,1767,1920,2286,2563,2642,2293,2010,2089,2018,1999,3096,4061,2859,1869,1814,1842,2166,1448,1246,1215,1284,1383,1382,1395,1446,1476,1444,1219,1389,1737,2164,2165,2080,1936,1664,1616,1760,1826,1909,2067,2098,2114,2081,2018,1824,1817,1516,1426,1694,1875,1882,2079,2374,2589,2774,2294,2725,2076,1616,1587,1710,2079,2176,2475,2657,2439,2002,2427,3720,2945,2069,1903,1852,2151,2209,2181,2844,3337,3270,2996,2855,3207,3017,2797,2752,2356,2192,2474,2446,2743,2654,2304,2194,1919,1673,1740,1682,1973,1841,2343,3150,2973,2126,1785,1864,1989,1890,1811,1725,1941,2050,1953,2301,2353,1957,1813,1820,1879,1885,1753,1695,2107,2563,2298,1759,1472,1372,1340,1422,1409,1605,1513,1884,2297,2018,2281,2784,2829,2664,2476,2284,2496,2288,2243,3089,3308,3217,3292,3508,3349,2706,2767,3417,3805,3332,2276,1594,1385,1451,1424,1599,1584,1324,1347,1469,1436,1261,1218,1388,1421,2221,2723,2806,2697,2491,2096,1806,1814,1705,1566,1527,1472,1521,1703,1732,1686,1921,1890,1761,2062,2132,1654,1363,1494,1541,1670,1719,1886,1628,1403,1495,1755,1958,1943,1535,1499,1577,1683,1788,1727,1500,1390,1461,1569,1490,1375,1486,1822,2048,2006,1853,2018,1895,1579,1779,1600,1489,1691,1596,1542,1829,2495,3316,3065,2277,2207,2243,2242,2533,1855,1762,1842,1842,2132,2076,1629,2480,2888,2154,1859,2429,2588,2286,1856,1571,1659,2221,2249,2353,2574,2284,2587,2674,2262,2316,2103,2458,2415,2410,3208,3421,3311,3050,2398,2294,2273,2250,2281,2444,2454,2896,2171,2382,2866,2758,2465,2604,2454,1955,1895,2570,2684,2341,3312,3640,2699,2243,2642,2780,2850,2908,3012,2663,2158,2558,2890,3104,3199,3167,3119,3341,3132,3251,3623,3210,2865,3066,2956,2325,1915,2170,2092,2625,2807,3021,2596,2110,2149,2032,1664,1814,1879,2042,2542,2640,3018,3100,2494,2474,2674,2584,2185,1779,1908,1914,1806,2146,1856,1664,1692,1820,1888,1897,1884,1808,1744,2095,2497,2558,2344,2502,1926,1553,2307,2575,2157,1744,1724,1795,1776,1564,1687,1877,1859,2166,2366,1707,1570,1978,2213,2337,2069,1896,1989,2028,1918,1960,2260,2072,1753,1864,2459,2541,2199,1660,1568,1798,1918,1811,1920,2343,2070,1810,1902,2251,2319,2553,2770,2775,2513,2541,2849,3244,3174,2766,2470,2684,3011,3676,3995,3825,3570,2864,2224,2005,2491,3211,3559,3580,3349,2808,2548,2774,2526,2452,2908,3098,2805,2574,2603,2200,1979,1994,2035,2092,1944,1691,1535,1825,2182,1882,1670,1742,1716,1582,1952,2204,2273,2229,2454,2319,2273,2543,2641,2906,2785,2590,2813,2580,2613,2188,1760,1937,2210,2701,2468,1991,1785,2298,2630,2336,2132,2039,1932,1754,1772,1920,1888,1908,1881,2327,2499,2766,2482,2069,1960,1792,1757,2062,2154,1821,2026,1692,1621,1771,1933,2083,1814,1699,1787,2033,2845,2900,1930,1475,1143,1162,1403,2409,3218,2646,1962,1554,2023,2216,1970,2078,1683,1530,1445,1600,2122,2368,2231,3044,3333,3225,2913,2530,2584,2600,2368,2529,2469,3142,2864,2372,2031,2438,3006,3010,2705,2658,3053,3138,2743,2805,2782,3076,3080,3105,2568,2225,2061,2839,3088,3120,3615,3541,3134,2699,2937,2762,2706,2335,1952,2314,2217,1870,1844,2055,2417,2724,2514,2126,2320,2380,2403,2122,1917,2036,2079,2260],[2110,2125,1984,1768,2404,3551,2624,2315,2696,2128,2374,2171,1757,2089,2111,2119,2024,1903,1751,1991,2184,2109,2020,1932,1987,2002,1921,1656,1473,1581,2296,2540,2177,3251,3483,3109,3246,3256,2834,2630,2884,3492,4027,3790,3454,3718,3675,3133,3102,3201,3162,3458,3671,3531,3595,3271,2570,1814,1359,1587,1587,1594,1500,1331,1471,1675,1795,1631,1857,2266,2886,3419,3067,3012,3069,3030,3190,3084,3045,3267,3139,2873,2894,2648,2564,2862,2645,1922,2359,3084,2413,2394,2946,3444,3636,3626,3630,3571,3351,3267,3317,3500,3726,3156,2139,1615,1586,1817,2450,2448,2288,2247,2781,2998,2305,2143,1886,1853,2788,2933,2720,2503,2431,3050,2985,3049,3220,2775,2701,3537,3850,3779,3651,3522,3543,3450,3273,3042,3010,2964,3090,3248,3227,3163,2702,2326,2996,3877,3452,3293,2919,3054,2897,2749,2491,2323,2958,3607,3392,3474,3659,3572,3654,3754,2877,1482,1330,1854,2580,2457,1780,1899,1932,1927,2019,1952,2397,2322,2331,2354,2059,1612,1704,1796,1823,2461,3121,2988,2910,2224,1782,1780,1699,1909,1981,1829,1940,2151,1866,1633,1864,2102,2514,2891,2980,2608,2347,2457,2893,3209,2803,2583,2844,2638,2573,2399,2185,2573,2746,2840,3095,2500,2676,3074,3201,3156,3050,3053,2834,3181,3359,2523,2039,2282,2809,2625,1533,1171,2030,3293,2854,1952,2092,2097,2403,2724,2416,3194,4121,3999,3168,2685,1904,1596,1881,1981,2198,3013,3033,2677,2145,2195,2049,2192,2118,1878,2045,2046,1886,1720,1730,1662,1467,1637,1801,2396,1897,2410,2888,2586,2053,1979,1986,2102,2839,3562,4560,4025,3155,2238,1625,1750,1493,1492,1876,1752,1507,1412,1357,1122,1128,1569,1671,2007,2130,2213,2545,2410,1955,1872,2375,2752,2425,2379,2169,1978,1909,2043,1894,1820,1752,1664,1771,2047,1952,1918,2040,1864,1804,2010,1637,1559,2067,2084,1948,2048,2303,2597,2355,2469,2594,2496,2313,2033,2176,1797,1761,2265,2786,2264,2349,3015,2574,2176,2020,1816,1589,1887,2221,2495,2362,2448,2733,2674,2539,2102,1849,2113,1718,1870,1598,1549,1437,1647,1585,1906,2023,2053,2202,2295,2276,2023,2220,1940,1530,1492,2026,1992,2918,3609,3100,2208,1918,2325,3012,2884,1903,1734,2043,1790,1714,1660,1570,2043,1849,1525,1534,1649,1683,1879,2296,2404,2387,2708,2756,2421,2276,2347,3042,3564,3604,2887,2127,2355,2615,2741,3385,3317,3029,2820,2504,2566,2693,2754,2524,2494,2294,2456,2719,2077,1950,1965,2301,2729,3343,2589,2284,2504,2511,2359,2305,2708,3066,3300,2665,2352,2408,3205,3241,3368,3807,2753,1963,1912,2187,3194,3716,3873,3771,3765,3500,2544,2557,2830,3399,3615,3723,3817,3654,3582,3355,3017,2897,3706,3459,2423,2933,2577,1941,2309,2600,2594,2674,2673,2904,2811,2365,2405,2693,2845,2642,2316,2344,2567,2240,2094,1793,1718,2066,2485,2824,3350,2667,2073,2291,2822,2258,1943,1666,1891,2480,2754,2856,2652,2295,2618,2933,2892,2282,1841,1864,2070,1814,1699,1736,1967,2548,2773,2815,2496,2110,2081,2047,2340,1780,1732,1716,1587,1612,1482,1615,1880,2094,2150,2255,3164,3046,2893,2751,1733,1454,1569,1676,1565,1513,1804,2224,1939,1868,1965,1704,1236,1463,2258,2359,2133,2056,2003,1797,1753,1785,1656,1715,2039,2095,2374,2081,1834,1882,1737,1641,1635,1522,1421,1541,1582,1576,1582,1694,1844,1936,2061,1804,1377,1356,1604,1775,1724,1545,1476,1650,1825,1490,1416,1365,1248,1177,1848,1964,2090,2526,2025,1570,1374,1366,1320,1600,1957,2075,1911,1807,1893,1815,1913,2168,2078,1870,1584,1272,1257,1412,1304,1280,1442,1690,1608,1513,1504,1554,1571,1428,1414,1436,1339,1416,1245,1233,1443,1528,1362,1252,1346,1448,1573,1474,1407,1512,1659,1502,1523,1493,1303,1278,1193,1208,1428,1527,1408,1390,1346,1290,1209,1403,1700,1496,1406,1410,1395,1438,1378,1302,1348,1268,1256,1346,1362,1358,1317,1322,1676,1509,1597,2058,1903,1450,1712,1848,1668,1490,1561,1528,1546,1738,1474,1404,1513,1670,1791,1450,1301,1412,1536,1326,1018,1407,1751,1792,1476,1538,1910,1794,1427,1381,1461,1421,1297,1315,1394,1377,1638,1725,1710,1657,1604,1533,1224,1244,1509,1655,1371,1326,1319,1589,1647,1124,1021,1361,1738,1854,1505,1693,1965,1628,1309,1843,2214,1911,1641,1779,2247,1512,1296,1810,1716,1860,2086,2117,2147,2350,1895,1462,975,918,1418,1740,1752,1810,1605,1886,2359,2418,2479,3143,3560,2930,2419,2868,2801,2934,2499,2416,2652,2903,3288,2396,1643,2491,1798,1327,1627,1908,1958,1721,1617,1511,1311,1321,1658,1832,1589,1559,1734,1761,1431,1818,1897,1813,2319,2002,1453,1647,1730,1724,1647,1792,1680,1929,1931,1814,2012,2054,1803,1735,1804,1881,1871,1726,1949,1936,1841,1670,2012,2211,2013,2278,1997,2137,2487,1980,1966,2230,1963,2271,2323,1927,1879,2024,1642,1823,2185,2403,2755,2473,2070,2170,1733,2355,2862,2512,2442,2176,2141,2359,2180,1534,1243,1393,1432,1663,1886,1984,1916,1999,2236,2736,2968,2888,2553,2631,2932,2799,2195,1935,1650,1241,1677,2900,3596,3737,3981,3667,2483,1941,1749,1880,2316,2984,3564,3741,3749,3530,2698,2559,2543,2240,2234,2305,2231,2075,1982,2197,2053,1992,1904,1721,1628,1526,1415,1337,1346,1775,1935,1799,1896,1735,1627,1823,1571,1772,1748,2190,2531,1989,1449,994,1484,2081,1622,1586,1894,1620,1405,1663,1971,1751,1309,1677,2462,2958,3099,2730,2352,2293,2346,2621,2837,2184,2030,2553,3061,2499,2383,2665,2536,2521,2595,2835,2215,1955,2452,2509,1963,1972,1826,2158,2066,1684,1821,1924,2101,2405,2299,2498,2150,886,903,2202,2142,2154,2185,2010,2161,2089,1683,1814,1843,1945,2157,2323,3021,2345,2271,2415,2454,2574,2003,1595,2264,2464,2116,1513,1884,2026,2534,2247,2002,1980,1714,1613,1395,1097,1255,1560,1594,1501,1243,2080,2668,2787,2940,2401,1219,995,1451,1704,1666,2100,2549,1582,1721,2599,2730,1923,1395,1225,1171,1157,1211,1642,2404,3129,3130,2215,1659,1510,2245,2272,2492,2046,1228,1007,1571,2232,2680,2403,2158,2368,1865,2022,2334,2190,2212,1775,1687,2091,2168,2033,1818,1893,2134,2298,3333,3603,3964,3705,3321,3609,3762,3505,3422,3353,3188,3181,3031,3016,2953,2841,2336,1958,1996,2332,2685,2644,2135,1949,2091,1974,1950,2127,2336,2166,1887,1868,1748,1594,1282,1198,1240,1232,1331,1444,1527,1548,1491,1432,1294,1393,1761,2501,2463,2163,1880,1438,1503,1760,1759,1939,2250,2015,1918,1899,2044,2083,1835,1507,1305,1501,1849,1851,1946,2118,2060,1957,1736,1744,1743,1852,1884,1759,1919,2149,2109,1929,1872,1989,2427,3320,2734,2182,1893,1605,2075,2132,2080,2770,2978,2668,2361,2873,3267,2990,2604,2408,2404,2647,2547,2452,2514,2496,2536,2426,1868,1788,1937,1819,2598,2633,2821,2713,1887,1777,1890,1735,1933,1899,1823,1859,1901,1958,2006,1764,1758,1826,1685,2145,2486,2122,1721,1645,1791,1884,1885,1782,1444,1360,1361,1458,1437,1527,1483,2200,2600,2080,2398,2924,2742,2654,2746,2568,2651,2544,2431,3040,3360,3041,3297,3840,3584,2946,2665,3128,3575,3179,2260,1716,1802,1707,1345,1428,1368,1471,1537,1530,1438,1224,1247,1463,1423,2047,2551,2501,2128,1949,1907,1705,1964,2019,1596,1498,1433,1403,1592,1647,1686,1841,1762,1886,2017,1720,1432,1481,1411,1526,1712,1908,1781,1433,1483,1641,1552,1743,2071,1832,1649,1536,1670,1506,1413,1322,1375,1563,1537,1371,1413,1616,1905,1871,1996,1853,1972,1911,2029,2096,1761,1715,2042,2137,1991,1933,2308,2749,2732,2033,1872,2190,2078,2249,2333,2259,2525,2604,2576,2404,1687,2259,2614,2165,1885,2447,2124,1766,1794,1688,1736,2168,2226,2344,2410,2249,2329,2343,2153,2078,2497,2569,2363,2685,3209,3263,3391,3041,2687,2851,2172,2463,2497,2180,1999,2238,1936,1833,2618,3028,2530,2511,2457,2222,2090,2909,3199,3200,3216,3263,3086,3022,3156,3130,2720,2585,2829,2691,2599,2384,2182,2876,3338,3441,3406,3370,3397,3561,3752,3631,2941,3033,3407,2696,1953,1880,2398,2676,2724,2669,2693,2955,2807,2547,2420,2444,1907,2236,2410,2017,2286,2172,2137,2712,3278,3594,2791,1927,1946,2003,2090,2244,1968,1743,1567,1490,1514,1489,1395,1531,1775,2269,2835,2855,2497,2300,1797,1741,2005,1991,1727,1616,1649,1931,2068,1764,1714,1542,1802,2148,2211,1910,1623,1677,2476,2954,2438,1999,1997,2125,2385,2351,2175,1901,1726,2256,2785,2557,2071,1484,1549,1598,1685,1963,2386,2433,1999,1866,1809,1954,2366,2546,2094,1875,2501,2939,2894,3168,2989,2481,2796,3383,3342,3558,3808,3667,3734,3343,2553,2005,2315,3326,3575,3330,3463,3093,2840,2083,1452,2072,2901,3229,2895,2656,2780,2215,1910,2034,2152,2245,1819,1664,1832,1907,2066,2042,1683,1839,1890,1723,1738,1735,1885,1934,2308,2172,1912,2242,2564,2611,2376,2717,2964,2359,2476,1914,1897,2099,1863,1853,2137,2439,2181,2526,2890,2501,2358,2156,2103,1869,1920,1979,2091,2056,1928,2286,2451,2547,2172,1874,2199,2214,1895,1576,1793,1688,1772,1661,1603,1581,1743,1712,1579,1583,1659,2269,3292,3190,2874,2699,2465,1732,1535,2447,2856,2219,1661,1529,1791,2137,2285,2226,1788,1616,1486,1881,2250,2289,2368,2812,2757,2369,1868,1543,1869,2084,2459,2829,2612,2864,2687,2441,2379,2909,3164,2848,2633,2483,2708,3121,3105,2877,3231,3508,2795,2690,2267,1933,2308,2839,3627,3830,3529,3347,2961,2808,2681,2010,1745,2171,2519,2414,2082,1661,1577,1937,2094,2398,2426,2186,2429,2361,2159,2075,1831,1804,1825,2017],[2634,2575,2316,2213,2593,3392,2598,2507,2507,2137,2486,2114,1941,2687,2404,2121,1791,1863,1830,1974,2004,1996,1816,1848,1777,1601,1655,1675,1673,1666,2276,2185,2197,2723,3028,3149,3199,3240,2944,3086,3721,3984,4018,4037,3672,3385,3662,3781,3484,3177,3501,3899,3659,3606,3683,3086,2732,2098,1712,1752,1712,1800,1807,1616,1645,1682,1782,1866,1815,1904,2308,2150,1456,2138,2063,2187,2931,3266,2895,2943,2756,2574,2746,2641,2619,2796,2753,1973,1691,2068,2131,1954,2692,3211,3500,3581,3614,3773,3660,3541,3310,3283,2876,2445,1803,1377,1286,1470,1969,2109,2542,2867,2561,2396,1987,1798,1540,1645,2679,3008,3066,3164,3143,2988,2989,3457,3445,3205,3132,3995,4039,3815,3667,3597,3620,3433,2930,3042,3155,2809,2829,3088,3042,2951,2815,3205,3047,3242,3110,2958,2691,2830,2961,2919,2610,2546,2944,3333,3651,3776,3615,3560,3459,4003,3021,1875,1964,2102,2383,2027,1572,1643,1888,2060,2125,1925,1924,1965,2121,2226,1813,1476,1636,1775,1950,2684,3082,2093,2172,2017,2006,2055,1722,1999,2224,2020,2302,2554,2025,1764,1817,1616,1550,2144,2318,2121,1944,2290,3140,3628,2924,2602,2843,2543,2514,2291,2170,2282,2282,2393,2213,2218,2952,3024,2978,3104,3055,2609,2399,2740,2746,2142,1708,1632,2294,2156,1697,1684,1996,2563,1926,1387,1521,1414,1729,1781,1773,2643,3294,3192,3331,2906,2170,2085,2003,1808,1807,2357,2890,2989,2376,1812,1781,2149,2209,2032,1744,1671,1764,1885,1831,1757,1576,1868,1605,1605,1901,2665,2801,2566,2446,2421,2755,2602,3400,3321,4421,4564,3679,2633,1748,1453,1339,1790,2142,1800,1516,1447,1383,1059,1169,1576,1810,1948,2075,2143,2455,2349,1926,1857,1908,2015,1974,1698,1787,1833,1909,2027,1750,1649,1776,1671,1690,1783,1636,1312,1418,1551,1614,1408,1191,1353,2230,2281,2276,2448,2364,2522,2631,2699,2613,2573,2566,2608,2112,1697,1748,1996,2565,2153,2046,2436,2010,1958,2096,1807,1662,1986,1960,2131,2380,2430,2518,2594,2653,2182,1965,2072,1874,1960,1484,1668,1571,1345,1318,1967,1899,1833,2321,2352,2082,1698,1824,1851,1721,1700,1666,1815,2621,3487,3185,2003,1581,1780,2126,2375,1866,1500,1450,1527,1944,1718,1636,1757,1717,1687,1635,1570,1556,1668,1926,2033,1940,2834,2735,3081,3218,2987,2867,3075,3549,3381,3086,3514,3618,3786,4340,3820,3118,2987,2656,2902,3277,3398,3151,2623,2339,2156,2098,2089,2701,3270,2747,2398,2339,2035,2315,2731,2732,2630,3104,3022,3362,3580,3010,2857,2590,3174,3428,3492,3529,2674,2018,1930,2482,3492,3624,3371,2765,3331,3437,2529,2491,2924,3340,3305,3410,3426,3749,3426,3232,3444,3117,3393,3704,2808,2342,2182,2266,2387,2168,2586,3131,3067,3052,3040,2656,2579,2589,2396,2220,1896,1965,2077,1880,1684,1598,1497,1811,2058,3297,3076,2182,2076,2191,2390,2270,2143,1887,1806,2426,3033,3364,3028,2875,2264,1841,2083,2242,1886,1532,1578,1636,2164,2579,2412,2797,2871,2916,2596,2395,1901,2157,2098,1689,2043,2218,1941,1620,1442,1598,1758,1731,1823,2156,2851,2988,2789,2023,1583,1614,1924,1989,1622,1395,1636,2170,1951,2063,2150,1722,1349,1482,2046,2368,2220,2098,1899,2103,2329,2158,1763,1939,1968,2071,2216,2360,2410,2309,2027,1555,1383,1566,1496,1693,1599,1562,1555,1577,1626,1732,1896,1860,1573,1498,1465,1435,1438,1571,1665,1766,1706,1484,1384,1264,1241,1221,1534,1746,1825,1852,1685,1560,1536,1499,1400,1431,1690,1832,1886,1913,1897,1794,2023,2045,1918,1820,1476,1322,1295,1439,1376,1338,1382,1488,1593,1459,1261,1603,1742,1490,1374,1350,1406,1478,1351,1266,1362,1398,1457,1693,1627,1422,1681,1664,1338,1448,2026,2070,1638,1340,1324,1295,1155,1196,1510,1527,1512,1552,1422,1246,1321,1527,1688,1526,1343,1437,1515,1509,1377,1330,1204,1315,1541,1352,1332,1445,1194,1166,1409,1489,1623,1819,1748,1881,2148,1763,1615,1820,1814,1561,1655,1691,1410,1368,1449,1580,1793,1476,1496,1921,1801,1384,1397,1936,1961,1557,1400,1449,1513,1554,1610,1378,1366,1502,1581,1391,1300,1397,1520,1758,1896,1704,1272,951,1288,1451,1300,1174,1124,1412,1640,1876,1554,1067,1376,1804,1815,1481,1258,2430,2676,1411,1539,2288,2155,1717,1500,1612,1878,1650,1731,2502,2091,1955,2216,2689,2285,1953,1942,1608,1217,1150,1466,1366,1603,2094,1751,1676,2070,2232,2676,2910,3167,2613,2734,3117,2810,2579,2469,2216,2204,2417,2620,2035,1799,2047,1755,1768,1817,1848,1865,1621,1648,1520,1511,1745,1490,1466,1433,1969,2357,2072,1545,2136,2375,2354,2707,2009,1803,1958,1945,1779,1836,1969,2129,1861,1709,2248,2632,2315,1546,1604,1815,1716,1450,1548,1664,1763,1831,1858,1996,1982,2136,2179,1974,2305,2589,2208,2275,2366,2011,1788,1944,1996,2105,2017,2109,2455,2341,2140,2310,2270,2038,1974,1668,2458,2630,1889,1813,2374,2668,2449,2199,1672,1271,1390,1217,1229,1214,1376,1964,2492,2671,2734,2767,2718,2768,2809,2719,2363,2146,1915,1553,1578,2521,3454,3366,3151,3065,2205,1808,2089,2037,2033,2015,2171,2573,3544,3992,3780,3182,3090,2810,2758,2878,2262,1927,2298,2137,2068,2092,1825,1669,1781,1737,1670,1624,1522,1429,1675,1874,1774,1766,1760,2127,2509,1644,1628,1946,1978,2186,1600,838,824,1539,2066,1830,1959,1836,1082,1692,1981,1770,1630,1508,1964,2375,2542,3000,3388,3146,3032,2919,2372,2447,2031,1810,2395,2669,2162,2087,2250,2433,2135,1536,1831,1563,1703,1578,1241,1602,2445,2618,2081,1981,2257,1755,1615,1905,1915,1902,2418,1995,1454,1843,2514,2432,2560,2454,2153,2407,2034,1752,2119,2156,2100,2017,1974,2442,2651,2579,2476,2364,1933,1725,1772,2323,1989,1574,1535,1648,2176,2213,1841,1759,1745,1707,1584,1172,948,1579,1742,1612,1470,1362,1984,2605,2463,2575,2509,1827,1406,1666,1781,1784,2295,1785,1522,2023,2360,2000,1582,1350,1176,1126,1144,1324,2008,2793,3205,2985,2236,2030,1756,1928,2079,2272,1963,1699,1422,1394,2162,2852,2297,2115,2526,1644,1865,2576,2460,1748,1729,2356,2522,2276,2148,2186,2282,1977,2001,2754,3558,3937,3714,3409,3594,3897,3574,3210,3147,3124,2828,2950,2906,3075,2907,2448,2224,2088,2346,2668,2504,2082,1942,2033,2017,2143,2985,2829,2296,1844,1993,1637,1246,1175,1244,1316,1307,1372,1566,1587,1565,1435,1375,1326,1314,1827,2423,2221,2100,2052,1709,1659,1919,1752,1867,2120,2140,2144,2142,2531,2332,1712,1700,1708,1815,1970,2009,1851,1814,1894,1804,1599,1520,1781,1828,1756,1805,1942,2110,1960,1874,1930,2156,2363,2342,1973,1969,2101,2018,2164,2248,2430,3002,2693,2304,2188,2733,2666,2242,1813,1825,2486,2865,2835,2552,2173,2641,2920,2352,1996,2010,1914,1876,1979,2349,2855,2212,1350,1697,2056,1885,1981,1927,1933,1896,1983,2080,1929,1548,1834,2103,2219,2374,2220,1926,1703,1768,2059,1968,1848,1893,1626,1379,1517,1503,1420,1408,1405,1766,1983,1903,2336,3076,2931,2906,2898,2119,2295,2745,2423,2820,3212,2462,2663,3332,3022,2754,2741,2774,3173,2734,2041,1781,1968,1760,1391,1302,1377,1656,1492,1476,1421,1265,1295,1533,1530,1773,2035,1750,1623,1770,1831,1711,1821,1619,1630,1626,1530,1577,1772,1673,1478,1645,1985,2432,1931,1384,1478,1556,1451,1547,1589,1645,1555,1435,1456,1838,2257,1841,1778,1882,1738,1639,1583,1368,1360,1620,1827,1716,1503,1441,1485,1644,1882,1784,2003,2273,2324,2324,2208,1898,1583,1748,1904,1584,1758,1986,1802,2200,3145,2268,1745,1979,1959,2239,2446,2333,3103,3188,2335,2144,2029,2476,2935,2522,2083,2396,2153,1905,2176,2382,2381,2674,2518,2625,2627,2304,1966,2338,2652,2674,2700,2483,2177,2118,2308,2556,3063,3312,3421,3204,2197,2520,2584,2470,2679,2756,2321,2148,2941,3362,2651,2605,2767,2269,2342,3183,3717,3790,3120,2724,3294,3750,3514,3441,3121,3451,3059,2786,2742,2500,2712,3230,3176,3340,3753,3775,4006,3930,3561,3542,3320,3008,3243,2822,2093,1852,2104,2357,2255,2198,2631,2966,2754,3174,2987,2504,2086,2091,1896,1555,1692,2103,2469,2858,3566,3637,2532,2010,2220,2170,2344,2469,2423,2085,1631,1438,1450,1379,1507,1754,1651,2470,3257,2778,2378,1924,1798,2068,2125,2060,2361,2933,2570,2280,2251,1855,1698,1673,1613,1779,1852,1797,1724,1656,1912,2190,1995,2103,2135,2107,1828,2069,2127,2113,1935,2313,2389,2170,1816,1428,1706,1761,1969,2310,2212,2179,2053,1861,2030,2478,2627,2348,1828,1811,2566,2921,2945,3073,3103,3117,3542,3628,3226,3074,3294,3526,3665,3385,2767,2114,2422,3244,3361,3255,3407,3391,3096,2168,2116,2779,2967,3107,3034,2569,2631,1974,1922,1821,1970,1870,1480,1734,2069,2182,2332,1934,1586,1809,1827,1610,1643,2034,1981,2027,2039,1588,1431,1572,1635,1959,2329,2338,2046,1823,2049,1634,1687,1880,1808,1852,2063,2116,2222,2888,2967,2670,2407,2156,2141,2172,2214,2298,2431,2098,2007,2269,2443,2291,2135,2487,2831,2281,1856,1502,1501,1622,1674,1540,1451,1544,1616,1571,1558,1530,1922,2701,3081,2786,2820,2824,3087,2812,2784,2621,2099,1861,1721,1752,1869,2178,2220,2160,1929,1919,1966,2088,2272,2298,2106,1960,2073,1983,1640,2060,2162,2201,2472,2933,2841,2964,3410,3244,2687,2597,2915,3000,2751,2370,2618,3162,3160,2642,3019,3551,3145,2732,2406,2425,2774,2911,3760,3812,3505,3288,2831,2790,2825,2308,1681,2330,3039,2171,1670,1601,1963,2692,2412,1900,1831,2024,2286,1942,1647,1830,2253,2332,2032,1818],[2124,1945,1842,2093,2241,2125,1902,2172,2077,1870,2249,2109,2171,2757,2243,2193,1879,1881,2040,2026,2049,1837,1643,1808,1712,1484,1601,1689,1685,1775,2156,2225,2620,3075,3544,3637,3734,3881,3541,3250,3575,3962,3640,3681,3638,3432,3228,3108,2951,2650,2790,3111,3174,3361,3277,2891,3173,2053,1652,1770,1824,1788,1719,1494,1572,1748,1719,1726,1813,2063,2465,2453,1703,1963,1814,1706,3029,3466,3102,3142,2710,2777,2685,2003,2508,2867,2721,2176,1775,2077,1968,1838,2894,3767,3371,2598,3028,3662,3189,2719,2277,2361,2543,2367,1993,1786,1600,1455,2027,2468,2654,3348,3309,2894,2359,2053,1981,1882,2545,2663,2652,2796,2840,2588,2719,3404,3027,2617,2310,3609,4188,4156,3831,3640,3552,3110,2514,2287,2502,2702,2674,2581,2576,2641,3074,3166,2866,2841,2887,2795,2969,3351,3451,3321,3262,3305,3122,3252,3452,3486,3615,3635,3496,3940,3332,2445,2800,2470,1958,1864,1786,1802,2038,2104,2099,1904,1981,2047,2191,2191,1985,1908,2094,2178,2777,3643,2972,2139,2160,2105,1975,2122,2138,2032,2143,1958,2176,2143,1870,1796,1620,1722,1894,2082,1962,1913,2072,2257,2956,3161,2562,2697,2722,2325,2075,2041,2179,2237,2183,2145,2358,2980,3094,2946,2901,2785,2995,3132,3348,2973,2684,2048,1662,1879,2475,2420,2208,2296,2274,2283,1911,1641,1562,1550,1635,1659,2038,2741,3088,3264,3176,2474,2362,2292,2036,1826,1544,1688,2258,2312,1910,1677,2154,2736,2545,2139,1649,1761,2055,2467,2056,1745,1920,2227,1731,1604,2071,2808,3318,3145,3375,3030,2885,2814,3034,2815,3731,4175,3610,2823,2145,1689,1297,1478,1699,1510,1506,1668,1513,1463,1704,1832,2008,2061,1969,1878,1982,2225,2203,2458,2121,1792,1778,1677,1869,1636,1890,1977,1868,2124,2120,1809,1668,1635,1685,1455,1535,1623,1420,1278,1165,1404,2146,2395,2487,2285,2300,2541,2976,2607,2498,2354,2662,2769,2021,1770,1864,2167,2596,2189,1879,2167,1887,1853,1646,1735,2122,2281,2229,2553,2596,2012,1653,1985,2284,2166,1898,1747,2186,2078,1530,1719,1639,1457,1668,1988,1877,1963,2250,2219,1685,1577,1886,2076,2258,2172,1734,1663,2029,2602,2345,1741,1614,1572,1544,1782,1943,2002,1877,1628,1698,1639,1525,1711,1941,1819,1708,1631,1578,1653,1770,1788,2141,2480,2770,3186,3152,2843,2541,2584,2973,3583,4064,4157,3726,3945,4371,3596,3375,3374,2756,2301,2133,2368,2996,2650,2997,2345,2229,2562,2924,3266,3050,2418,1926,2365,2764,3124,2720,2427,3114,2759,3222,3501,3162,2629,2558,3121,3491,3499,3492,2906,2828,2331,2257,3059,3384,2619,2660,3356,3330,3265,3186,2977,2653,2488,2929,3136,3620,3176,3264,3508,3127,3441,3758,3464,2585,1909,2072,2171,2542,3102,3252,3026,2517,2389,1795,1739,1945,2264,2436,2222,2048,2024,2109,1895,1559,1740,1927,2498,3364,2345,1728,1884,2114,2278,2174,1968,1753,1949,2784,3054,3741,3516,3207,2558,1844,1687,1740,1580,1459,1398,1666,2383,2752,2841,2662,2092,2350,2166,2139,1882,2099,1863,1510,2141,2680,2237,1583,1608,2114,1688,1393,1398,1543,2139,2513,2285,2265,2271,1641,1787,1974,1687,1501,1561,1807,2878,3011,2305,1634,1337,1677,2060,2079,1768,1771,1951,2700,2646,2640,2094,1910,1874,2029,2236,2376,2389,2470,2353,2105,1844,1698,1672,1637,1482,1384,1366,1439,1652,1744,1786,1842,1585,1499,1418,1423,1422,1656,1656,1515,1362,1266,1340,1338,1273,1233,1377,1499,1513,1686,1686,1628,1427,1373,1484,1695,1827,1972,1960,1932,1785,1837,2025,1845,1604,1438,1323,1325,1305,1287,1386,1445,1349,1566,1688,1350,1473,2089,2044,1598,1448,1213,1245,1491,1477,1340,1334,1412,1699,2245,1860,1448,1757,1676,1448,1743,1853,1819,1794,1605,1374,1306,1239,1275,1529,1442,1647,1592,1383,1317,1340,1344,1617,1621,1335,1351,1278,1366,1377,1432,1391,1519,1419,1241,1309,1403,1336,1533,1692,1525,1597,1768,1854,1816,2164,1742,1496,1844,1882,1778,1928,1836,1550,1752,1605,1578,1667,1707,2014,1953,1541,1242,1489,1947,1955,1946,1871,1513,1475,1577,1512,1549,1567,1590,1429,1477,1506,1293,1458,1869,2020,1789,1344,1201,1628,1775,1635,1506,1638,1670,1686,1818,1505,1148,1758,2230,1627,1195,1942,2763,1715,1317,2092,1913,1579,1672,1666,1820,1925,1821,1774,2648,2409,1967,2652,3151,2767,2039,1725,1698,1566,1520,1688,1628,2172,2273,1912,1832,1867,2194,2610,2065,2237,2670,3018,3166,2752,2015,1979,1994,1810,2187,2340,1545,1841,2114,1946,2094,1856,1847,2160,1854,1932,1825,1796,1694,1533,1980,2385,2321,2205,2241,2125,2297,2251,1931,2144,1548,1958,1795,1757,1618,1824,1967,2397,2013,2341,2976,2665,2419,1939,2114,2015,1586,1656,1682,1951,2165,2019,2115,1866,1604,1973,1840,1551,1760,1942,1766,1896,1806,1547,1747,1938,2002,1895,1993,2600,2759,2364,2082,2207,2161,2121,2214,2265,2414,2088,1697,1868,2934,3028,2262,2039,2049,1533,1359,1302,1274,1331,1526,1856,2063,2440,2898,2880,2928,2942,2706,2167,1711,1694,2279,2315,2482,3139,3103,2419,2734,2511,1497,1720,2403,2034,1670,1992,2142,2090,2630,3664,3928,3662,3406,2949,2878,2900,2401,2308,2175,2165,2164,2208,2202,1848,1763,1818,1701,1613,1576,1593,1685,1843,1896,1810,1753,1830,2123,1906,2049,2253,2022,1791,1400,1091,1025,1498,1913,1821,2242,2128,1798,2361,2100,1571,1493,1497,1736,2238,2501,3019,3448,3089,2912,2630,2048,2293,2310,1844,2100,2286,2370,2225,2352,2470,1751,1437,2212,2588,2688,2167,1726,2194,2729,2407,1997,2140,2269,1786,1743,2140,2508,2337,2213,1743,1782,2734,3220,3000,2754,2031,1927,2186,1590,1619,2143,2049,1891,1910,1886,2009,2549,2882,2533,2091,1331,1376,1568,1893,1604,1394,1504,1627,2121,2061,1594,1643,2131,2258,1541,954,1337,1902,1722,1621,1600,1510,1549,1942,2461,2515,2170,1983,1674,1538,1466,1711,2065,1620,1980,2414,2047,1724,1539,1297,1268,1173,1278,1597,2357,2832,2923,2837,2257,2143,1752,1568,2468,2437,1946,2375,2301,1898,2494,2636,2608,2721,2441,2000,2724,2876,2112,1636,1965,2311,2531,2491,2609,2113,2154,1935,1695,1697,1979,2447,2901,2924,3073,3238,3232,3299,3296,3041,2441,2685,2858,2989,2599,2108,2009,2046,2358,2636,2409,1981,2063,2236,2712,2846,3317,3674,3204,2478,2047,1531,1148,1124,1216,1309,1301,1378,1407,1504,1470,1454,1419,1291,1289,1798,2033,1751,1885,2121,1960,1854,1871,1811,1752,1670,2060,2458,2482,2643,2419,1827,1535,1685,1599,1883,2011,1686,1624,1777,1722,1539,1606,1821,1808,1723,1730,1677,1681,1580,1575,1530,1772,1872,1757,1979,2410,2385,2267,2208,2196,2196,2204,1964,2049,2167,2155,1688,1791,1819,2199,3098,2818,2893,3537,3204,3283,3182,2722,2736,2191,1834,1807,1689,2133,2701,2292,1475,1577,1907,1940,1794,1898,1769,1624,2317,2477,1979,1982,2245,2453,2151,1730,1972,1886,1383,1743,2100,1939,1935,2208,1920,1494,1540,1507,1619,1558,1337,1433,1594,1571,1941,2511,2531,2600,2329,1479,1699,2552,2708,2849,3071,2865,3090,3378,3031,2642,2691,2414,2172,1908,1647,1655,1456,1347,1449,1400,1373,1261,1234,1422,1518,1479,1420,1473,1527,1706,1714,1517,1570,1519,1559,1610,1570,1481,1830,1809,1696,1909,1741,1366,1412,2085,2347,2198,1926,1693,2128,1896,1641,1966,2230,1921,1540,1435,1539,2270,3129,2337,1607,1578,1681,1644,1788,1723,1447,1939,2295,1802,1516,1316,1416,1447,1424,1541,1886,2116,2069,1794,1643,1714,1668,1687,1533,1725,2725,2520,2476,2872,2872,2656,2307,2353,2524,2648,2777,2920,3458,2944,1906,2255,2134,2341,2746,2347,1941,2088,1921,1779,1859,2048,2237,2710,2998,2242,2053,2129,2357,2789,3106,3260,2834,2494,2687,2060,2074,2414,2902,3187,2671,1973,1927,2536,2744,2618,2718,2652,1898,1506,2152,2923,2552,2517,2673,2673,3001,3382,3676,3550,3052,2558,2952,3721,3650,3128,2941,3387,3463,3163,2876,3043,3558,3226,3119,3172,3646,4122,4328,3762,2839,3106,3491,2941,2930,2982,2332,1834,1831,2242,2292,2344,2541,2374,2362,3013,2336,1861,2065,2040,1865,1764,1953,2135,2278,2430,2756,2364,1836,1920,2208,2172,2301,2580,2563,2391,1680,1421,1422,1316,1786,2018,1518,2030,2096,1729,2032,2039,2031,2255,1728,1822,2451,2671,2129,1836,1873,1642,1592,1655,1765,1809,1667,1655,1520,1854,2026,1802,1830,1891,1996,2217,1769,1843,1864,2123,2340,2251,2024,1866,1723,1794,1983,1849,2274,2402,2049,2403,2510,2406,2640,2531,2147,2196,2460,2579,3037,2749,3044,3226,3188,3432,3546,3618,3498,3388,3524,3615,3756,3610,3090,2576,2403,2792,3233,3359,3395,3694,3509,2902,2880,3256,3297,3172,2522,2080,2539,2399,1984,1659,1803,1782,2156,2577,2259,2389,2670,1815,1473,1566,1384,1111,1707,2108,1836,1793,1715,1550,1488,1411,1509,1804,2092,1951,1841,1827,1732,1774,1785,1835,2014,2230,2054,1714,1896,2708,2919,2677,2020,2138,2291,2227,2267,2329,2412,2610,2592,2438,2391,2171,2510,2680,2533,2234,1701,1749,1776,1666,1671,1660,1519,1584,1520,1597,1747,1838,2230,2951,3027,2806,2856,2590,1941,2071,2580,2105,1793,2223,1775,1782,1785,2548,2289,1796,1717,1655,1709,1726,1799,1877,1535,1633,2244,2511,2019,2156,2684,2784,2209,2090,2120,2580,3411,3399,2840,2150,2642,3169,3247,3147,3194,3243,3105,2791,2640,2937,3144,2814,2455,2716,2739,2844,3149,3441,3442,3201,2819,2807,2686,2220,1950,2452,3210,2834,2137,1810,2203,2357,2077,1685,1553,2126,2144,1603,1599,1768,1919,1963,1988,1807],[1762,1653,1605,2048,2229,1988,1959,2027,1564,1737,2120,2305,2220,2691,2484,2240,2167,2047,1820,2150,2463,2082,1848,2050,1917,1588,1824,1955,1992,2177,2200,2492,1779,1513,2740,3559,3708,4156,4001,3421,3297,3851,4050,3740,3561,3840,3706,3331,2683,2233,2532,2916,3203,2957,2607,2564,2932,1991,1707,1782,1710,1689,1710,1600,1564,1762,1824,1797,1900,2066,2451,2590,2138,2035,1880,1841,2492,2725,2512,2480,2360,3010,3116,2646,2972,2983,2701,2642,2698,2869,2868,2697,2988,3649,3394,2066,2544,3417,2669,1851,1678,1800,2309,2778,2708,2425,2205,1843,1986,2182,2360,2579,2236,2492,2586,2468,2035,2126,2634,2706,2555,2600,2314,2296,2897,2499,2453,2414,2570,3623,4388,4405,3824,3337,3078,2921,2510,1736,1802,2226,1576,1322,1827,2497,2928,2910,2876,3086,3207,2997,3072,3435,3735,3876,3902,3841,3974,4048,3923,3712,3706,3661,3441,3782,3835,2598,2374,2192,1986,2168,1989,2017,2500,2403,2147,2014,1749,2027,2136,2326,2072,1985,2298,2427,2513,2916,2533,2418,2521,2444,2361,2471,2557,2219,2431,2255,2320,2047,1993,2092,1843,1932,1934,1765,1797,1908,1953,1933,2210,2274,2119,2701,2696,2442,2208,2143,2309,2260,2054,2126,2656,2788,3045,3162,2878,2609,2981,2832,2590,2597,2786,2370,1824,1969,2311,2014,1704,2238,2713,2238,1919,1822,2052,2648,2584,2305,2270,2724,3160,3076,2669,2600,2508,1971,1735,1699,1487,2260,2969,2477,1922,2136,2525,2995,2745,2022,1825,2250,2064,1802,1901,1744,1843,1862,1653,1713,2018,2310,2558,2632,3292,3618,2825,2099,2132,2485,3232,3549,3251,3098,2785,2279,2002,1638,1620,1635,1745,1900,1808,1846,1909,1848,1952,2023,1917,1982,2470,3228,2674,2520,2317,1969,1891,2354,2261,1830,1837,1682,1715,2136,2151,1745,1931,1744,1729,1743,1700,1520,1376,1588,1698,1995,2942,3006,2403,2344,2213,2122,2508,2876,2900,2423,2507,2562,2026,1810,1760,2003,2410,2078,1608,1749,1865,2076,1760,1962,2225,2370,2786,2420,2076,1578,1544,1851,2068,1864,1690,1619,1986,1885,1506,1447,1571,1824,1981,1903,1751,1959,1924,1905,1874,1670,1669,1785,2147,1926,1632,1888,2060,1787,1714,1872,1842,1888,1724,1583,1783,2431,2622,1914,1464,1804,1730,1808,2204,2219,1870,1534,1431,1746,1644,1605,1837,1813,2376,3120,2883,2379,2406,2496,3160,3897,4016,3672,3720,4084,4444,4327,4153,3725,2608,1760,2046,2313,2494,2178,2364,2724,2764,2825,2734,3043,3444,2541,2286,3212,3310,3398,2864,2526,2903,2956,3129,3229,2963,2553,2674,3440,3806,3798,3596,3243,3406,2749,2677,3399,3688,3151,3310,3530,3234,3111,2998,2153,2355,2699,2742,2994,3414,3452,3364,3604,3696,3628,3871,4005,3260,2214,2019,2119,2876,3094,2970,2767,2358,2402,1899,1790,2276,3109,3506,2577,1954,2164,2384,1967,1744,2046,2470,3067,2535,1887,1952,1960,2044,2156,2039,1752,1827,2393,2683,3129,3807,3414,2602,2460,2395,2019,1640,1527,1573,1464,1723,1982,2183,2643,2482,1769,2002,2206,2120,1886,1759,1611,1662,2408,2880,2258,1676,1739,1679,1402,1408,1272,1762,2168,1954,1815,2024,2254,1744,1674,1956,1690,1494,1464,1679,2468,2518,2199,1764,1589,2214,2480,2258,2176,2307,2549,2415,2554,2728,1958,1666,1718,2008,2590,2416,2081,2222,2236,1875,1692,1804,1831,1632,1396,1458,1540,1474,1647,1810,1794,1739,1550,1539,1475,1400,1316,1428,1583,1620,1435,1592,1798,1395,1391,1524,1471,1352,1439,1960,1845,1572,1581,1563,1628,1735,1812,2083,1918,1760,1823,2006,1920,1678,1455,1325,1317,1378,1472,1467,1439,1560,1660,1721,1424,1383,1827,2195,1685,1331,1374,1192,1184,1533,1468,1312,1251,1219,1270,1510,1613,1534,1551,1438,1654,2151,2300,2080,1400,1482,1303,1277,1231,1375,1364,1311,1353,1436,1588,1628,1520,1474,1731,1685,1608,1848,1505,1462,1462,1568,1449,1357,1384,1648,1742,1490,1650,1882,1741,1344,1607,2157,1883,1211,1537,1605,1376,1558,1698,1635,1990,1976,1776,1729,1616,1571,1552,1393,1486,1438,1397,1548,1542,1647,1814,2270,2280,2002,1790,1984,1708,1548,1738,1634,1255,1344,1511,1381,1537,1887,2077,1378,1387,1432,1426,1555,1766,1917,2057,2019,1931,1786,1462,1110,1848,1766,1171,1589,2666,2248,1385,1934,2245,1572,1684,2403,1925,1526,1581,1782,1677,2276,2552,2591,2906,3071,2568,2003,2035,1879,1748,1901,1750,1538,2493,2396,1874,1760,1497,1884,2478,2456,1807,1750,2545,2264,2362,1755,1506,1978,1842,2094,2078,1869,1948,1986,1976,2042,1838,1910,2228,2092,2120,1904,1598,1714,2339,2762,2790,2568,2863,3332,2902,2540,2622,2124,2191,1759,2032,1586,1431,1613,1780,2065,2415,2208,2604,2653,2953,2077,1686,1775,1549,1719,2344,2415,2759,2765,2237,2086,1951,2264,2836,2568,2155,2237,2342,2183,2204,1630,1422,1832,1751,1746,1922,1922,2050,2014,1916,1340,1592,2114,2109,2084,2144,1964,1806,1729,2071,2352,2308,2708,2252,2381,1688,1545,1631,1632,1585,1651,1767,1793,2165,2642,2757,2762,2259,1957,1717,1344,1407,2148,2627,2926,3310,3008,2886,3340,2754,2025,2909,3720,2850,2326,2345,2330,2052,2202,3189,4067,4023,3655,3454,3088,2749,2595,2596,2741,2328,2172,2147,2100,1831,1682,1686,1670,1658,1597,1779,1792,1794,1985,1926,1877,1753,1996,2040,1881,1740,1664,1742,1570,1588,1386,1584,1946,1991,2162,1963,1750,2011,2319,2013,1526,1565,1659,2235,2609,2720,3251,2952,2900,2740,2089,2260,2270,2121,2700,3055,2840,2447,2709,2662,2105,2343,2666,2450,2127,1950,1837,1833,1771,1615,1916,2256,2531,2131,1804,2258,2878,2676,2408,2051,1694,2271,2518,2028,1592,1771,2283,2186,1456,1461,1944,2060,1938,1943,1960,1831,1983,2379,1767,1339,1245,1428,1581,1699,1403,1014,1361,1906,2191,2466,2054,1811,2446,2288,1591,1204,1761,1786,1594,1644,1553,1456,1454,1482,1588,1620,1516,1551,1520,1621,1491,2032,1775,1734,2614,2576,1842,1560,1396,1325,1341,1187,1365,2153,2734,2424,2255,2813,2279,2041,2348,2510,2884,2454,2380,2643,2478,2742,2742,2556,2595,2788,1975,2187,2898,2272,1786,1929,2293,2065,2216,2523,2426,2153,2036,1964,1864,1798,1898,1936,1866,1956,2040,2092,2624,2938,3123,3272,3075,2877,2854,2850,2386,1907,2066,2032,2398,2645,2453,2009,2085,2241,2668,2921,3153,3426,3470,3031,2060,1594,1274,1291,1248,1312,1292,1388,1490,1556,1490,1469,1456,1377,1408,1866,1734,1531,1705,2055,2023,1935,1794,1707,1846,2272,2592,2498,2248,2336,1932,1514,1419,1670,1756,1894,1928,1694,1588,1722,1559,1409,1686,1845,1903,1748,1460,1418,1510,1445,1360,1432,1469,1485,1862,2177,2036,1952,2171,2084,1946,2720,2778,2348,2547,2386,2035,2133,2515,2322,2331,2985,2827,2620,3190,3135,3038,2893,2998,2767,2112,1892,1900,2115,2078,2089,1858,1475,1532,1941,1888,1613,2079,2335,2256,2632,2470,2048,2019,2146,2239,1503,1723,2309,1815,1558,1918,1927,2020,2040,1973,1947,1643,1406,1564,1817,1526,1399,1539,1465,1613,1917,2088,2171,2360,2427,1844,1769,2510,3313,3002,3137,3122,3012,2664,2444,2308,2109,1640,1759,1810,1415,1455,1451,1468,1366,1452,1361,1298,1378,1444,1440,1484,1490,1330,1350,1400,1226,1512,1532,1688,1738,1712,1829,1904,1747,1670,1794,1671,1171,1463,1746,2115,2186,1946,1735,1768,2255,2315,2131,2150,2098,1734,1619,1617,1727,2342,2187,1800,1595,1514,1563,1619,1878,1935,1597,1698,2032,1826,1536,1440,1507,1420,1455,1844,2112,2164,2057,1948,1923,1852,1760,1614,1562,2034,3156,3065,3040,2643,2284,2520,2510,2510,2745,3210,3199,3099,3037,2481,2024,2466,2373,2440,2673,2135,1864,1668,1229,1649,1738,1760,2004,2292,2777,2354,2389,2602,2662,2680,2895,2855,2315,2169,2360,2334,2467,2590,2653,2464,2168,2191,2322,2459,2680,2392,2173,2367,1954,2032,2566,3106,2852,2578,2841,3464,3615,3100,2693,2334,2287,2144,2354,2823,3429,3230,3198,3422,3264,3110,2808,2968,3431,2918,2702,3248,3758,3602,3561,3638,3639,3776,3647,2994,2727,2834,2814,2580,1985,1972,2118,2333,2524,2241,2222,2650,2646,2496,2767,2120,1864,1819,1948,1776,1984,2187,2432,2499,2421,2187,2083,2386,2923,2668,2195,2834,2226,1794,1662,1512,1674,1550,1565,1780,1662,1466,1740,2280,2154,1858,1668,1707,1607,1748,1835,1636,1558,1611,1542,1456,1832,2135,1742,1621,1726,2037,2059,1663,1942,2242,2510,2331,1884,1926,1915,1959,2233,2087,2348,2222,1802,1648,1615,1682,1917,1876,1796,2101,2325,2482,2336,1861,1533,2110,2752,2922,3033,3198,3056,2850,3060,3132,3182,3684,3929,4082,4039,3631,3578,3852,3550,3187,3437,3372,3276,3527,3581,3747,3620,3282,2996,3052,3204,2813,2251,2517,2994,2619,1814,1586,1818,1892,2208,2656,2165,2188,2462,1982,1596,1520,1273,1315,1853,2027,1748,1661,1798,1716,1489,1711,2030,1869,1745,1621,1914,1728,1972,2189,1810,1844,1934,2040,2129,1932,2179,2675,2845,2622,2331,2386,2440,2337,2136,2188,2396,2807,2879,2452,2307,2769,2841,2270,1899,1745,1775,1811,1866,2040,1873,1736,1582,1606,1564,1588,1741,2088,2466,2804,2984,2758,2565,2494,2405,2092,2236,1928,1898,2144,1726,1777,1557,1844,1798,1606,1545,1595,1637,1620,1715,1620,1515,1582,2031,2200,2106,2574,3066,2658,2068,2075,2118,2636,3053,3084,2997,2382,2574,2848,2976,2965,2929,2931,2872,2692,2584,2814,3176,3138,2177,2589,2711,2867,3100,3401,3448,3051,2709,2720,2458,2298,2115,2379,3109,3066,2518,2277,2314,2237,2158,1908,1924,2298,2048,1968,2116,2181,2029,2152,2214,1853],[1575,1509,1713,1963,1981,1779,1672,1677,1647,2049,2244,2495,2730,2777,2412,1952,1977,1866,1521,1793,2180,1848,1968,2286,2565,2251,2303,2364,2411,2114,2833,3188,1839,1582,3124,3453,3194,3803,4031,3902,3749,3891,4264,4108,4004,3996,3880,3743,3254,2877,2864,3264,3824,3786,2789,2542,2787,2099,1575,1659,1718,1781,1791,1751,1707,1787,1892,1875,1854,2134,2568,2693,2230,1842,2060,2085,1787,1945,1602,1521,2164,2859,2978,2595,2691,2870,2630,2851,3264,3187,3505,3510,3283,2531,2466,2525,2433,2944,2975,2264,1826,1914,2020,2521,2663,2373,2432,2502,1942,1848,2372,2813,2325,2023,2281,2220,2051,2336,2316,2473,2327,2640,2396,2737,3140,2669,2732,3001,2900,2856,3540,3916,3343,2549,2486,2740,2707,1958,1595,1831,1623,1460,1788,2432,2589,2607,2899,2989,3046,2923,2827,2951,3384,3494,3572,3804,3904,3780,3638,3586,3683,3452,3351,3411,3311,2082,2291,2095,1854,1610,1433,1777,2386,2359,2206,2320,1951,2906,2774,3033,2524,2276,2823,2654,1975,1877,2006,2263,2756,2907,2289,2611,2670,2440,2421,2300,2400,2056,1900,1909,1709,1756,1778,1742,1747,2269,2420,2698,2475,2211,1975,2215,2334,2381,2260,2194,2310,2281,2209,2118,2842,2947,3187,3116,2939,2684,2675,2261,1919,2169,2481,2174,1974,1590,1395,1829,2075,2514,2470,2084,2542,2792,2867,2939,2363,2241,2495,2843,2876,2980,2692,3095,2868,2293,1995,2031,2033,2677,2943,2322,2165,2643,2643,3074,3406,2401,1924,2159,1964,1836,1650,1603,1766,1416,1407,1491,1871,2253,2096,2115,2589,3237,2845,2333,2449,2886,3311,3267,3125,3022,2931,2450,2259,1676,1768,1902,1864,1908,1813,1798,1711,1608,1932,1984,1957,2369,3054,3805,3074,2634,2332,1900,2009,2353,2272,2214,1798,1681,1600,1724,1710,1479,1772,1858,1951,1913,1787,1811,2039,2180,2259,2149,2500,2399,2015,2567,2531,2529,3040,3305,3273,2851,2387,1997,1795,1931,1695,1796,2354,1892,1570,1645,2037,2237,1832,1832,1933,2349,2731,2027,1920,1637,1580,1681,1843,1820,1866,1828,1927,1896,1546,1576,1655,1952,2438,2155,1694,1607,1616,1708,1899,1793,1745,1773,1674,1532,1799,2189,2809,1980,1821,2250,2449,2003,1747,1676,1619,1998,2215,1800,1725,2075,1887,1738,2251,2149,1849,1676,1724,1803,1764,1862,1814,1863,2244,2684,2243,2275,2460,2908,3527,3776,3594,3726,4214,4360,4341,3995,3584,3112,2476,2277,2634,2658,2488,1980,1757,2790,3646,3441,3084,3187,2737,2002,2822,3278,2453,2461,2788,2436,2445,2939,3250,3177,3003,2855,2901,3454,3450,3580,3854,3661,3621,3325,3408,3405,3460,3897,3763,3384,3121,3005,3028,2010,2856,3130,2962,3040,3445,3438,3205,3575,3667,3624,3633,3337,3337,2735,2008,2193,2486,2787,3076,2534,2042,2061,1854,2136,2807,3139,3077,2119,2046,2133,2101,1620,1663,2106,2579,2710,2201,1864,2106,2396,2363,1973,1979,1743,2080,2262,2357,3020,2907,2257,1960,1906,2179,2113,1616,1714,1746,1564,1825,1641,1982,2452,2436,2025,2110,2293,2069,1752,1681,1638,1704,2107,1910,1747,1908,1592,1499,1609,1444,1647,2382,2144,2007,1758,1653,1604,1773,1838,1907,1859,1678,1421,1528,1804,1624,1774,2002,2182,2065,1853,2047,2232,2251,2500,2412,2732,2525,1911,1885,1754,2276,2828,2540,2254,2226,2228,1975,2030,1937,1821,1633,1436,1566,1588,1440,1551,1796,1739,1698,1645,1577,1434,1325,1346,1327,1291,1390,1386,1649,1589,1375,1420,1487,1367,1382,1542,1726,1598,1568,1690,1754,1678,1597,1849,1806,1770,1731,1851,1922,1670,1426,1320,1271,1239,1329,1462,1443,1444,1650,1763,1649,1500,2133,2715,2156,1549,1378,1423,1334,1115,1375,1338,1352,1201,1287,1356,1298,1393,1506,1585,1519,1783,2261,2255,1854,1300,1242,1237,1489,1510,1438,1310,1337,1444,1632,1619,1597,1772,1786,1686,1700,1810,1743,1230,1261,1393,1354,1350,1316,1438,1780,1665,1449,1706,1785,1565,1306,1721,2037,1350,1250,1719,1672,1382,1561,1597,1912,2061,2203,2014,1644,1473,1296,1335,1336,1362,1427,1601,1757,1465,1564,1760,2217,2458,2399,2216,2041,1923,1686,1582,1660,1597,1612,1791,1629,1831,2042,1725,1447,1644,1498,1582,1820,1544,1536,1432,1497,1778,1714,1366,1251,1693,1294,1528,2332,2507,1638,1137,1576,2025,1772,2032,2865,2007,1681,1672,1812,1664,1594,2087,2962,2929,2408,2078,2220,2745,2546,2015,1933,1739,1832,2777,2536,2117,1952,1698,2210,3028,3022,1855,2171,2871,1780,1841,1482,1825,2117,1743,1585,1687,1902,2025,2141,1964,1910,1985,2041,1976,1889,1869,1600,1425,2172,2814,2891,2630,2386,2552,2542,2047,2060,2231,1875,1869,1412,1082,951,957,983,1039,1770,2603,2290,2255,1992,2583,1731,1343,1909,1879,1976,2428,2543,2623,2555,1771,1526,2060,2665,2619,2647,2588,2253,1966,2119,2481,2231,2332,2556,2456,2355,2382,2221,2493,2545,1862,1301,2050,2587,2060,1626,1427,1471,1681,1776,1762,1667,1789,1979,1735,1917,1826,2058,2205,2086,2173,2533,2557,2091,2123,2054,2054,1710,1478,1601,1361,1329,1677,2240,2833,2979,3141,3492,3696,3708,3137,3097,3750,4370,3936,3055,2587,2236,2049,2452,3230,4090,4296,4165,4030,3400,2984,2623,2563,2942,2524,2010,1918,1992,2029,1901,1609,1763,1744,1755,1912,1930,1807,1905,1994,1925,1733,1672,1799,1834,1596,1371,1693,1820,1958,1791,1798,2107,2196,2024,1891,1876,2059,2474,1864,1394,1484,1578,2177,2693,2979,3486,3339,2638,2395,2730,2348,1869,2148,2384,2885,2397,2388,2667,2476,2589,3031,2546,1473,1540,2227,2286,2158,2117,2125,2377,2259,2273,1835,1466,2093,2895,2279,1871,2161,1577,1577,1370,1239,1794,2423,1828,1272,1231,1453,2032,2171,1980,1982,1932,1735,1484,1315,1048,1385,1647,1641,1610,1626,1505,1323,1655,1759,1705,2055,1986,2041,2128,1875,1998,1896,1794,1728,1640,1663,1703,1642,1555,1364,1381,1353,1469,1551,1712,1826,1939,1933,1718,1965,2287,1948,1566,1403,1276,1462,1317,1459,1704,2222,2939,2640,2644,2755,1904,2071,2414,2437,2641,2823,2956,2943,2861,2840,2607,2579,2905,2409,1780,2507,2185,1686,2062,2621,2942,2505,2408,2232,2157,2154,1904,1850,1910,1984,2038,1910,2154,2036,1837,1873,1765,1823,2069,2258,2464,2502,2531,2657,2355,1976,2255,2065,2391,2474,2397,2088,1955,2350,2715,3263,4599,4484,3597,2886,2092,1648,1310,1178,1254,1323,1376,1453,1479,1554,1538,1447,1500,1460,1399,1554,1353,1168,1200,1770,2066,1896,1665,1437,1555,1992,2381,2884,3012,2876,2254,1587,1658,1679,1963,2007,1680,1622,1643,1720,1449,1675,1832,1511,1377,1498,1435,1512,1725,1748,1600,1681,1613,1622,2089,2239,1947,2150,2277,2358,2341,2257,2194,2552,2764,2471,2010,2221,2549,2056,2073,3033,2658,2633,3010,3100,2944,2876,2965,2627,2203,2048,1930,1876,1780,1787,1838,1688,2035,2183,1880,1688,2197,2756,2542,2372,2047,1701,1510,1932,1874,1773,2239,2153,1714,1844,1699,1330,1556,1838,2010,2678,2287,1852,1757,1578,1347,1430,1854,2303,2608,2357,2207,2820,2938,2659,2475,2053,2073,2771,2857,2994,2833,2407,2019,1840,2121,2381,1901,2225,2106,1417,1382,1516,1416,1298,1272,1307,1365,1408,1405,1359,1383,1412,1371,1510,1481,1600,1545,1482,1612,1667,1672,1870,1908,1503,1456,1860,1621,1403,1793,1853,1837,1859,1777,1540,1549,1897,2078,1947,1794,1976,1669,1792,1713,2034,2113,1744,1693,1768,1737,1620,1806,1707,1809,1944,2043,2021,1937,1977,1726,1427,1410,1507,1688,1943,2264,2180,1703,1696,1684,1960,1691,1576,1959,2751,3109,2949,2666,2634,2524,2754,3208,3016,2580,2445,2733,3024,3113,2798,2360,2314,2811,2901,2175,2148,1832,1828,2043,2164,1899,2091,2391,2479,2768,2805,2622,2536,2233,2239,2409,2037,2116,2323,2758,2674,2791,2831,2460,2347,2384,2278,2019,2236,1767,2412,2886,2765,2747,3095,3528,3448,3165,2931,3361,2968,2288,2319,1887,1307,1383,1818,2192,2701,3111,3788,3813,3226,3096,2865,2941,3539,3392,2926,3571,3686,2922,2808,3425,3837,3806,3746,3350,2970,2848,2880,3000,2401,2233,2465,2599,2608,2687,2408,3120,3905,3332,2373,1769,1996,2481,2133,1789,1729,1880,1851,1868,2135,2218,2309,2777,3227,3100,2102,2910,3067,2413,1994,1753,1645,1692,1845,2088,2242,1930,1635,1901,2071,2106,2379,1720,1489,1709,1739,1676,1635,1637,1548,1515,1675,2023,2011,1823,1919,1724,1540,1529,1489,2303,3016,2632,2486,2518,2164,1753,2345,2371,2675,2386,1722,1592,1666,1749,1774,1662,1828,2127,1982,2039,2276,2040,1748,2231,2692,3212,3363,3086,2704,2775,2791,2893,3240,3862,3918,4040,4041,3566,3825,4185,3796,3641,4069,3414,2894,3060,3327,3583,3584,3297,2928,2889,3028,2677,2764,3414,3754,3396,2656,1841,1837,1766,1871,2121,1829,1904,2259,2009,1786,1612,1567,1999,2232,2187,1937,1951,2131,2059,1792,1800,1731,1764,1671,1587,1603,1582,1982,2109,1831,1899,1999,2022,2085,1952,1967,2096,2438,2146,2171,2517,2349,2066,2064,2069,2179,2092,2295,2208,2303,2536,2261,1921,1755,1750,1722,1450,1908,2781,2740,2512,2001,1737,1705,1719,1741,2293,2524,2415,2589,2466,2322,2579,2454,2322,2231,1986,3126,2940,1835,1733,1694,1781,1586,1432,1469,1909,2201,2154,2311,1793,1600,1547,1824,1787,1912,2460,2467,1769,1704,2284,2426,2384,2466,2408,2536,1931,2153,2477,2483,2676,2762,2828,2721,2589,2546,2908,3603,3674,2431,2678,3278,3404,3304,3139,3050,2754,2526,2838,2749,2408,2265,2415,2610,2603,2768,2675,2314,2154,2011,2156,2230,2096,2242,2233,1931,2352,2199,2085,2006,1788],[2026,2262,2351,2416,2131,1787,1726,1897,2179,2438,2722,2895,2916,2932,2789,2570,2522,2475,2121,2087,2024,1758,2250,2615,2712,2404,2099,2179,2194,2429,2988,2987,3226,3149,3850,3684,3217,3729,3902,3940,3765,3431,3797,4062,3968,3835,3718,3148,2561,2709,2696,3007,3538,3592,2969,2676,2841,2339,1480,1738,1855,1732,1646,1817,1951,1616,1622,1545,1813,2536,2954,2986,2574,1955,2060,2343,2026,1813,1733,1803,2230,2757,2752,2789,2670,2254,2263,2587,2919,3019,3522,3432,3562,2752,2553,2776,2932,3715,3972,2878,2049,2183,2187,2524,2468,2171,2430,3193,2597,2177,2416,2942,2620,1859,1903,1854,1750,2219,2494,2290,2425,2491,2296,2365,2473,2345,2359,2741,2543,2391,3052,3470,3343,2606,2519,2277,2190,1804,1632,1874,1873,1753,2114,2686,2724,2828,2972,2853,2830,2951,2955,2763,3223,3460,3480,3595,3382,2932,2808,3213,2874,2241,1990,1815,1781,1796,2542,2802,2044,1409,1727,2082,2410,2441,2415,2766,2379,3032,3458,3554,3275,3463,3292,2887,2773,2356,2404,2468,2784,2878,2232,2669,2623,2702,2670,2322,1786,1600,2031,1853,1638,1745,1763,1741,1913,2197,2670,2709,2451,2329,2071,1881,1822,2058,2214,2247,2265,2214,2212,2211,3006,3241,2855,2687,2503,2364,2463,2426,2215,2326,2544,2366,2479,1794,1732,2659,3115,2774,2330,2192,2502,2532,2664,2683,2629,3108,3124,2824,2832,2964,2750,2391,2614,2514,2231,2090,2156,2446,2214,1942,2350,2692,2489,3097,3303,2708,2604,2393,1958,1757,1663,1751,1946,1525,1490,1670,2031,2157,1991,1959,2260,2469,2478,2523,2418,2524,2555,2597,2473,2341,2306,2084,1629,1885,2623,2142,1758,1795,1616,1718,1852,1656,2012,2077,2214,2766,2839,3046,2874,2532,2314,2354,2875,2962,2487,2196,1958,2030,1755,1663,1676,1705,1669,1693,1869,1858,1689,1708,1627,1637,1921,1956,1708,1659,1750,2263,3153,3476,2883,2473,2491,2100,1968,1732,1702,1902,1856,2171,2376,1747,1752,2051,2198,2197,1806,1920,1815,2236,2318,1924,1714,1593,1515,1609,1924,1918,1819,2113,1913,1974,1569,1604,1687,1964,2193,1849,1599,1480,1547,1628,1525,1482,1793,1745,1793,2128,1714,1874,3022,2350,1684,2040,2094,1599,1626,1626,1646,1704,1603,1515,1692,1587,1743,1945,2222,1804,1572,1936,2095,1863,2007,2225,2244,1971,2140,2277,2426,2636,2984,3076,3106,3505,3438,3393,4000,4177,3836,3274,3240,2805,2511,2597,2727,2676,2534,2215,2308,3034,3793,3702,3480,2829,2533,2459,3241,2951,2160,2097,2407,2480,2811,3049,3132,2876,2698,2777,3317,3453,3254,3171,3492,3552,3363,3361,3421,2895,3050,3775,3592,3495,3366,3045,2809,1963,2092,2595,2735,2877,3138,2867,2849,3450,3644,3403,3249,3277,3548,3410,2622,2298,2640,2910,2764,2322,2028,2379,2215,2302,2382,2272,2004,2196,2390,2120,1820,1698,2106,2469,2054,1765,1656,1665,1874,2646,3321,2711,2205,2052,2100,2316,2692,2764,2230,1764,1632,1750,1865,1867,1597,1888,1838,1647,1934,1784,1673,1993,2352,2453,2436,2184,2019,1690,1542,1773,1811,1653,1670,1889,1926,2147,1997,1145,1247,1668,2196,1831,1625,1621,1759,1766,1674,1641,1754,1897,1938,1642,1800,1815,1583,1940,2293,2337,2051,1769,1942,1554,1571,2036,2171,2468,2544,2178,2115,1842,2117,2172,2026,1753,2205,2331,1998,1924,1672,1565,1414,1367,1493,1364,1382,1460,1708,1773,1737,1638,1494,1377,1366,1501,1603,1470,1541,1555,1521,1580,1450,1424,1383,1376,1412,1466,1353,1099,1068,1481,1730,1471,1538,1708,1736,1753,1838,1834,1725,1460,1300,1264,1347,1251,1382,1854,1740,1529,1896,1693,2041,2026,2944,3360,2137,1517,1252,1306,1246,1212,1530,1460,1462,1212,1238,1288,1286,1354,1550,1692,1615,1612,1782,2029,1854,1337,1328,1400,1487,1520,1456,1445,1505,1631,1630,1442,1345,1537,1717,1664,1701,1760,1362,1004,1329,1350,1266,1278,1274,1384,1448,1625,1954,1972,1842,1876,1582,1489,1332,1296,1812,1837,1544,1476,1559,1476,1826,1843,1996,1784,1494,1434,1333,1322,1318,1323,1345,1550,1486,1504,1817,1632,1831,2186,2396,2362,2120,1863,1866,1853,1722,1680,1719,1977,1983,2060,1663,1366,1626,1703,1304,1555,2067,1497,1561,1375,1983,2194,1858,1482,1239,1121,1601,2437,2578,2050,1035,421,538,1201,2060,2260,2558,1958,1902,1839,1663,1686,1644,1955,2536,2196,1643,1605,1969,2207,2597,2334,1909,1860,2081,2578,2536,2137,1838,2298,3154,3299,2065,1519,2787,2988,2102,2224,2089,2144,2121,1631,1676,1631,1888,2141,2305,2026,1854,1836,2098,2073,1964,2070,1797,1928,2382,2433,2223,1614,1748,1948,1620,1256,1298,1673,1584,1489,1451,1420,1502,1381,1350,1520,1826,2699,2881,2654,2668,2665,1873,1754,2092,1886,1765,2030,2016,2265,2441,1973,1921,2619,2691,2792,2782,2381,1920,1466,2056,2774,2436,3027,3848,3505,2645,2273,2103,2090,2587,2069,1782,2436,2655,2302,2030,2451,2344,2022,1783,1919,2395,2321,1702,1844,2224,2126,1766,1766,1876,1876,1673,1354,1381,1636,1827,1908,1599,1847,1701,1344,1837,2357,2912,3339,3108,2762,3674,3754,3285,2697,3076,3880,4356,4319,3965,3444,2696,2267,2625,3164,3843,4124,4280,4372,4081,3256,2446,2645,2877,2502,2251,1857,1924,2309,2310,1963,2172,1887,1845,1882,1853,1762,1839,1956,1861,1729,1703,1771,1782,1536,1406,1562,1682,1706,1694,2091,2403,2181,1904,1879,2146,2090,1751,1517,1757,1870,1870,2046,2477,3050,3632,3989,3165,2560,2717,3127,2889,2338,1856,1804,1642,2071,2421,2396,2540,2657,2487,2084,2394,2308,2058,1907,1846,1902,1848,1945,2151,1829,1638,2110,2622,2015,2126,2306,1868,1803,2041,2901,3641,3252,1774,1067,1024,1261,1936,2041,1921,1863,1820,1865,1988,1858,1880,2279,2275,1823,1544,1511,1145,1592,1778,1751,1501,1671,1410,1861,1971,2189,2938,2633,1664,1521,1734,2620,2486,2298,1939,1643,1566,1492,1594,1683,1585,1659,1650,1500,1751,2232,2108,1620,1460,1283,1147,1295,1388,1704,1880,2359,2889,2831,2972,2341,2101,2331,2345,2243,2775,3151,3239,2981,2617,2550,2426,2610,2631,1801,2198,2278,1577,1961,2442,2840,2997,3035,2534,2335,2877,2401,1826,2262,1952,1645,1698,1750,1847,1812,1644,1598,1816,1873,1546,1575,1878,1861,1978,2079,2062,2153,2259,2286,2298,2324,2332,2098,1992,2429,3199,4139,6364,6164,3955,2924,2119,1541,1245,1268,1325,1346,1268,1264,1271,1408,1419,1439,1538,1311,1736,1519,1043,1084,1222,1704,2058,1898,1656,1414,1507,1491,2128,3429,3499,2786,2645,2148,1760,1707,2218,2361,1685,1798,1720,1623,1723,2157,2187,1868,1692,1738,1929,1860,1589,1607,1687,2123,1851,1951,2146,2004,1671,2414,2842,2834,2903,2522,2454,2294,2216,1894,2029,1992,2010,1831,1987,2925,2471,2492,2682,2662,2850,2759,2468,2192,1748,1847,1731,1620,2442,2303,2024,1860,1836,1824,1958,1793,1956,2776,2524,2307,1840,1730,1772,2398,2189,2066,1948,1691,1616,1654,1734,1778,1587,1746,2258,2580,2633,2271,1846,1685,1622,1487,1795,2302,2262,2225,2460,3106,2874,2893,2763,1967,1643,2113,2517,2334,2165,2100,2010,1813,1998,1986,1360,1510,1418,1328,1356,1404,1335,1253,1306,1356,1281,1461,1406,1425,1620,1670,1788,1638,1511,1685,1575,1475,1500,1672,1657,1904,1780,1531,1706,1886,1639,1425,1726,1929,1895,1717,1447,1464,1742,2294,2020,1556,1825,1942,1643,1580,1638,1990,1820,1604,1731,2004,2064,1757,2002,1922,1873,1693,1823,1627,1810,2280,2049,1559,1295,1021,910,1128,2144,2494,1751,2022,2402,2223,1923,2149,2484,2651,2768,2743,2750,2567,2039,2441,2939,2675,2431,2542,2680,3043,3234,2662,2124,2237,2478,2196,2602,2529,2143,2167,2020,2209,2152,2116,2455,2540,2722,2088,2079,2218,2175,1937,2254,2371,2558,2194,1762,2169,2687,2724,2583,2107,2305,2398,2198,2087,2149,2619,3106,3168,2789,3059,3174,2961,2756,2401,2625,2040,1611,2008,1783,964,820,1444,2128,2303,2719,3780,3973,3271,3120,3197,2940,3356,3642,3781,3884,3375,2953,3416,3697,3435,3281,3591,3438,3682,2993,2597,3154,3413,3299,3342,2924,2436,2563,2513,3375,2949,2268,1705,1522,2045,2759,2180,1817,1721,1383,1441,1662,1790,1935,2484,2925,3364,3252,2163,2617,3285,2980,2480,2092,1857,1802,1843,2012,2209,2443,2026,1788,2016,2208,1989,1776,2150,2125,1747,1816,1759,1733,1540,1522,1815,1858,2033,1770,1493,1565,1894,1715,1626,2236,2340,2498,2420,2252,2020,2047,2040,2117,1888,1816,2048,1990,1875,2094,2145,1911,1811,2050,2120,2035,2331,2364,2337,2454,2618,2709,2512,2304,2444,2875,3188,3333,3435,3475,3776,3536,3307,3520,3808,4157,3836,3479,3452,2930,2586,2576,2980,3362,3239,3028,2998,2954,2902,3328,3580,3453,3453,3650,3341,2509,1870,1809,1859,1939,1756,1692,1754,1666,1580,1418,1434,1862,2039,1930,1852,2185,2358,2377,2023,2030,2294,2238,1922,1835,1698,1522,1607,1745,1991,2089,1964,1933,2083,1921,1961,2503,2366,1823,2236,2756,2340,1848,2119,2105,2081,2046,1948,1942,1953,1838,1766,1688,1665,1746,1644,1426,1861,2009,2331,2810,2227,1874,1950,1774,1809,2273,2362,2160,2320,2132,2093,2359,2157,2287,2223,2186,3167,2736,1779,1736,1481,1534,1532,1535,1618,2000,2346,2531,2666,2052,1641,1663,1660,1634,1692,1708,1724,1511,1672,2146,2513,2171,1999,2103,2533,2520,2390,2467,2494,2774,2985,2912,2818,2981,3010,3103,3740,3797,2575,2598,3727,3860,3387,3068,2946,2729,2459,3185,3421,2765,2383,2181,2078,2332,2584,2330,2097,2316,1874,1889,1932,2086,2206,2057,2067,2504,2243,1725,1527,1726],[2416,2551,2532,2831,2551,1874,1692,2325,2820,2953,3069,3178,3097,3120,3129,2929,2998,3230,2541,2266,2474,2454,2544,2815,2700,2235,2142,2272,2246,2774,2227,1736,2351,3221,3746,3493,3493,3462,3150,3582,3882,3547,3772,4016,4053,3935,3472,2910,3163,2981,2832,3104,3758,3573,2977,2767,2584,2252,1697,1730,1672,1709,1789,1885,1990,1908,1998,1986,2274,2766,2979,2887,2599,1913,1662,2035,2329,2138,2404,2420,2498,2670,2468,2532,2494,2057,2577,2408,2020,2714,3494,3637,3761,3096,2652,3122,3862,4317,4240,3271,2244,2244,2336,2355,2540,2276,2351,3400,3421,2653,2246,2186,1849,2257,2294,2061,2015,2207,3100,3032,2714,2104,1912,1943,2164,2426,2542,2602,2220,2208,2050,2695,3245,2990,2832,2292,1797,1555,1795,2209,2267,1945,2304,2690,2759,2997,3018,2989,2819,2904,3088,2950,3363,3742,3532,3375,3450,2499,2381,3272,2139,1634,1578,1547,1552,1542,1750,1943,1563,1895,2676,2722,2155,1892,2118,2172,2462,3046,3220,3515,4017,3726,2868,2733,3097,2669,2565,2740,2604,2152,2389,2843,2636,2668,2536,2116,1493,1529,2395,2172,1595,1628,1701,2502,3240,2714,2346,2209,2172,1973,1788,1666,1624,1741,1873,2105,2034,1988,1824,2069,2836,2923,2621,2118,1627,1758,2308,2689,2212,2521,2910,2693,2360,1707,2075,2730,2835,2944,2744,2289,2644,2614,2702,3003,2885,2759,2851,2607,2955,3136,2676,2466,2669,2856,3420,3062,2622,2273,2124,1870,2497,2786,2359,2635,2654,2577,2789,2460,1842,1676,1921,2040,1958,1786,1716,1808,2092,2103,1932,2027,2263,2155,2285,2498,2754,2906,3041,2657,2329,2274,2279,1917,1388,2367,2838,1997,1910,1942,1717,1636,1837,1775,2482,2963,2976,2995,2843,2503,2444,2652,2565,2812,3739,3704,3159,2974,2614,2304,2060,1793,1508,1541,1588,1720,1953,1952,1738,2043,2080,1976,2119,2132,2079,2270,2360,2712,3329,3585,2978,1753,1619,1620,1914,1893,1935,1702,1811,2006,1775,1591,1766,1731,1917,1958,1860,1765,1952,2444,2258,2321,2383,1858,1615,1776,2118,1837,1858,2425,2452,2617,2024,1618,2029,2386,2154,1737,1537,1485,1590,1706,1599,1705,1976,1824,1788,2455,2041,1806,2269,2268,1844,1830,1966,1769,1826,1861,1849,1625,1672,1779,1669,1416,1798,2336,2118,1770,1769,2060,2115,1787,2262,2109,2304,1950,1786,1831,2222,2598,3295,3265,3097,3585,3858,3233,3405,3831,3283,2552,2387,2495,2523,2314,2255,2438,2543,2266,2418,2973,3188,3408,3572,3422,3042,3121,3100,2511,2157,2467,2967,2888,2656,2896,2963,2963,2521,2939,3504,3103,2976,3265,3355,3215,2962,3464,3614,3073,3545,3728,3365,3229,3149,2470,2088,1878,1905,2353,2569,2633,2529,2788,2690,2989,3153,2467,2569,3096,3405,3694,3288,2507,2216,2438,2392,2113,1969,2741,2452,2371,1927,2027,2375,2531,2500,2170,1990,2314,2525,2601,2137,1812,1710,1814,2243,2784,3365,3209,2489,1963,2042,2648,2725,2750,2371,1745,1846,2247,2126,1795,1584,1748,1669,1510,1796,1877,1781,2216,2369,2216,2243,2003,1895,1708,1628,1547,1663,1961,2200,1804,1442,1542,1314,972,1427,2195,2388,1896,1674,1721,1872,1923,1772,1765,1779,1988,2226,1875,1827,1654,1771,2087,2093,2247,1904,1625,1596,1309,1476,1886,2024,2621,2864,2480,2800,2227,1804,1704,2140,2140,2126,2287,2347,2030,1505,1456,1470,1508,1522,1483,1480,1547,1707,1748,1722,1617,1507,1434,1357,1661,2304,1598,1400,1532,1620,1857,1614,1360,1360,1365,1391,1426,1394,1161,1360,1741,1475,1342,1530,1582,1691,1838,1859,1805,1609,1306,1288,1342,1346,1311,1495,2305,2216,1937,1802,1423,1670,1924,1960,1669,1536,1361,1155,1229,1198,1246,1521,1409,1304,1304,1283,1385,1510,1542,1672,1597,1509,1482,1367,1693,1628,1472,1498,1556,1401,1299,1455,1667,1614,1493,1482,1550,1394,1317,1183,1560,1714,1546,1207,1302,1535,1396,1306,1246,1327,1461,1416,1638,1665,1504,1528,1761,1824,1861,1836,1670,1481,1391,1551,1582,1452,1589,2053,1887,1697,1461,1273,1417,1451,1339,1324,1460,1627,1656,1624,1556,1500,1615,1623,1671,2135,2410,2303,1801,1852,1833,1613,1637,1713,1784,2121,1956,1391,1283,1476,1350,1197,1937,2452,1937,1776,1942,2178,2280,2040,1977,1763,1742,2632,2687,2132,2014,1455,534,508,1284,1579,1730,2073,1927,1738,1610,1533,1649,1798,1772,1798,1703,1895,1458,1447,1947,2018,1928,1703,1625,1774,2056,2330,2151,1655,2512,3384,3242,2800,2685,3041,2675,2278,2294,1703,1770,2387,2006,2021,2381,2491,2396,2254,2030,1847,1795,2217,2133,1908,1779,1745,1679,1808,2435,1859,1516,2209,2188,1835,1432,1205,1438,1682,2055,2069,1942,1842,1822,1845,1811,2071,2847,2780,2921,3035,2468,2099,2178,2296,2344,2172,1911,1425,2369,2908,2319,2611,3018,2944,3342,3256,2830,2368,1921,2448,2737,2156,2875,3552,3262,2844,2431,2025,1800,1974,1766,1501,2200,2627,2276,2243,2963,2043,1484,1545,2082,2337,2088,2110,2286,2584,2658,1676,990,930,886,859,825,1339,1766,1667,1859,2402,2330,1903,1959,2117,2658,3481,3586,3747,3139,3705,4073,3640,2988,3019,3517,4038,4377,4272,4164,3517,2557,2302,2597,3335,3761,4029,4299,4445,3881,2808,2235,2758,2703,2287,1810,2029,2109,2265,2316,2382,2266,2081,1902,1830,1895,1857,1864,1859,1846,1864,1781,1694,1563,1622,1550,1474,1520,1642,2316,2438,2186,1898,1802,1934,2042,1553,1495,1663,1694,1939,2116,2223,2129,2994,4125,3828,3023,3024,3716,3684,3016,2785,2953,2846,2592,2297,2113,2269,1895,1865,1652,1644,1548,1555,1601,1560,1560,1403,2026,2525,1690,1670,2150,2206,1786,1982,2282,2569,2718,3072,3458,3493,2713,985,724,1189,1960,2884,2364,1813,1734,1769,2062,2730,2846,2591,2415,1976,1427,1532,1656,2186,1996,1706,1721,1621,1584,1460,1876,1999,1952,2325,2134,1312,1376,1768,2564,2588,2297,1938,1621,1587,1690,1682,1660,1303,1356,1434,1845,2128,2237,1686,1499,1363,1168,1064,1099,1429,1854,1978,2025,1976,2322,2922,2348,2758,2467,2147,2001,2762,3135,3172,3391,3250,2711,2405,2519,1869,1989,2155,1757,1887,2548,2947,3024,2757,2592,2260,2569,3029,2322,2096,2506,2095,1905,1950,1962,1858,1773,1541,1390,1717,1711,1604,2005,1845,1886,1962,2014,2114,1960,1937,2114,2139,2264,2194,2158,2085,2314,3180,4212,5647,5525,4030,2645,1838,1611,2105,2157,1555,1654,1851,1604,1565,1643,1620,1545,1573,1404,1769,1462,1187,1488,1646,1672,1781,1903,1849,1783,1746,1479,1542,3050,2902,1814,1721,1713,1601,1469,1898,1812,1559,2084,1990,1837,1960,1953,2060,2014,1960,2059,2209,2283,2198,1778,1959,2689,2246,1891,2096,1957,2169,2623,2245,2248,2662,2930,2835,2142,2268,2293,2152,2024,1963,2104,2249,2540,2587,2401,2347,2359,2325,2017,1969,2223,2165,2276,1957,2186,2537,2150,1897,1966,1753,1691,2101,1648,1807,2712,3010,3066,2900,2419,1898,1863,1864,1874,1945,1741,1593,1603,2010,2022,1784,2040,2294,2107,2622,2487,1799,1747,1876,1789,1703,1674,1721,1804,2025,2707,2313,2623,2488,1803,1577,1766,1767,1663,1780,1815,1637,1604,1738,1642,1625,1884,1635,1393,1405,1450,1439,1301,1279,1240,1419,1412,1474,1611,1350,1655,2288,1952,1532,1597,1567,1495,1642,1806,1548,1801,1786,1793,1996,1865,1526,1661,1971,2173,2210,1810,1331,1477,1777,2269,1771,1555,1976,1736,1557,1456,1435,1577,1742,1669,1544,1715,2164,2157,2042,2004,1743,1393,1516,1439,1648,2352,2056,1341,927,898,1318,1740,2252,2858,2494,2213,2556,2470,2378,2988,3074,2710,2619,2668,2696,2620,1998,2382,2841,2795,3138,3259,2795,2909,2710,2552,2489,2731,2820,2636,2643,2430,2520,2652,2155,2215,2451,2323,2624,2623,2799,2419,2440,2547,2532,2354,2664,2897,2609,1774,1433,1832,2030,2317,2020,2199,2779,2692,2452,2321,2643,2647,2397,2059,2408,2588,2395,2430,3278,3043,2310,1502,1040,1602,2167,1752,1376,2104,2534,2358,2499,3012,3715,3451,3167,3123,2744,3207,4001,4093,3586,2666,2438,3391,3973,3742,3309,3547,3307,3815,3471,2966,3308,3611,3397,3576,3250,2685,2635,2136,2248,1593,1374,1653,1515,1788,2018,1796,1799,1621,1295,1577,2094,1956,2024,2322,2248,2566,2741,2380,2638,3443,3380,2669,2177,2075,1942,2018,2091,2093,2245,2054,2256,2525,2467,2134,2134,2607,2515,2071,1689,1986,2168,1720,1513,1645,1840,1990,1936,1716,1837,2032,1890,1923,1913,1868,2275,2275,2279,2468,2591,2000,1860,1712,1889,2465,2532,2145,2229,2236,1935,1648,1722,2144,2081,2140,2426,2490,2331,2180,2032,2200,2345,2509,2604,3210,3342,3238,3390,3462,2941,3459,4056,3935,3942,3974,3396,3158,3027,2910,2886,2951,3176,3256,3243,3219,3124,3416,3590,3067,2917,2436,2767,3406,2846,1856,1952,1830,1732,1855,1676,1576,1610,1640,1538,1402,1443,1687,1692,1775,2303,2552,1976,1670,1978,2221,2216,2394,2260,1841,1706,1717,1809,2064,2109,1846,1901,2078,1842,1642,2000,1960,2116,2669,2487,2031,2062,2230,2146,2028,2076,2047,1930,1702,1714,1789,1774,1877,1697,1510,1500,1641,2046,2788,2762,2091,1864,1712,1712,1857,2048,2014,1733,2007,1896,2032,2100,2148,2231,2084,2183,2611,2283,1811,1998,1734,1755,1749,1626,1746,1797,1720,1845,2100,2054,2017,1881,1676,1427,1512,1694,1835,1804,2041,2219,2530,2047,1866,2719,3170,2797,2511,2686,2880,3084,3351,3160,2975,3362,3428,3121,3088,2975,2324,2480,3687,3853,3516,2998,2850,2723,2470,2766,2565,2413,2220,1561,1953,2732,2595,2640,2629,2532,2411,1820,1832,2115,2272,2254,2198,2305,2281,2058,1725,1609],[2213,2466,3010,3232,2880,2496,2692,3082,3304,3083,2677,2858,3120,3121,3056,2871,3006,3111,2765,2710,2477,2154,2321,2634,2464,2099,2151,2250,2387,2488,1862,1533,1380,2671,3240,3333,3730,3484,2984,3203,4070,4037,4204,4365,4017,3974,3522,3050,3259,3091,2801,3143,3663,3311,3201,3275,3242,2499,1949,2045,2238,2239,2076,2023,1980,2176,2546,2618,2631,2657,2751,2706,2270,1774,1491,1709,2274,2524,2749,2512,2278,2269,1855,2021,2270,2331,2755,2143,1839,2483,3164,3481,3804,3564,2932,3522,3773,3576,3286,2890,2652,2321,2138,2203,2535,2474,2519,2820,3021,2718,2490,2453,2495,3054,2686,2534,2566,2225,2352,2617,2623,2395,2254,2131,2170,2521,2336,2385,2004,2292,2680,2652,2374,2063,2154,2292,2041,1669,1604,1653,2156,2104,2008,1994,2634,3146,3082,2890,2800,3023,2930,2570,3270,3748,3333,3451,3828,2990,2901,3242,2433,1816,1629,1648,1561,1515,2396,2822,2528,2497,2574,2336,2124,1928,1833,1852,2270,2511,2220,2756,3475,3318,2758,2623,2470,2171,2618,2906,2529,2073,2464,2755,2577,2495,2450,2521,2510,2268,2232,1874,1707,1788,1644,2835,3642,2823,2143,1986,1858,1822,1802,1961,1936,1819,2020,1947,1766,1863,1865,2249,2491,2353,2238,1767,1650,2145,2681,2990,2137,1678,1838,2090,2438,2065,2123,2940,2931,2596,2236,1876,2668,3035,2652,2792,2905,3024,2877,2631,2735,2596,2171,2796,3572,3292,3310,3216,3098,2667,2408,2153,2635,3120,2806,2533,2522,2004,1996,2083,1869,1881,1926,1894,1824,1831,1792,1913,2100,2054,1976,2299,2896,3291,3683,3992,4256,4161,3968,3021,2550,2504,2330,1653,1360,2073,1934,1857,2097,2396,2178,1902,2100,2463,3034,3616,3565,2953,2741,2421,2458,2884,2776,3226,3714,3476,3522,4024,3539,2931,2603,2366,1614,1557,1665,1541,1586,1794,1804,2290,2668,2486,2546,2566,2441,2388,2511,2858,2340,2237,2353,2059,1892,1589,1600,1897,1880,1625,2116,2422,1880,1637,1867,1564,1781,1628,1610,1473,1600,1760,1838,2355,2276,1761,1743,1562,1690,1753,2010,2338,2823,2542,1988,1724,1965,2138,1809,1500,1503,1541,1986,2245,1880,2092,2092,1823,1970,2145,1776,1377,1365,1747,1888,1790,2218,2233,2100,2358,2472,1891,1679,1901,1874,1881,2492,2612,2076,2279,2287,2375,2665,2131,2292,1908,1814,1738,1554,1618,1895,2697,3211,3269,3387,3397,3781,3636,3476,3439,2792,2469,2570,2662,2499,2266,2164,2876,3199,2387,2421,2633,2554,2637,2574,2710,2898,3217,2844,2275,2494,3307,3204,3130,3356,3163,2934,3041,2679,3156,3838,3124,2792,3294,3595,3349,2991,3330,3329,2985,3550,3842,3704,3636,3604,2542,1758,1717,1825,2408,2688,2774,3057,3234,3023,3006,2722,2644,2732,2643,3104,3297,3121,2731,2092,1855,1948,2042,2268,2724,2487,2465,2024,2261,2762,2642,2379,1917,2046,2357,2160,2400,3052,2566,1898,2157,2604,2721,2925,3137,2976,2484,2402,2668,2078,2147,2392,2108,2195,2332,2024,1546,1520,1804,1737,1504,1621,1628,2171,3007,2686,2453,2309,1925,1673,1541,1620,1664,1608,1968,2014,1567,1351,1235,1375,1514,1686,2424,2323,1706,1516,1566,1574,1706,1736,1863,1929,2013,2041,2114,1724,1619,1794,1856,2458,2806,2314,2189,1704,1365,1740,2067,2008,2533,2663,2689,2778,2459,2190,1795,1942,2259,2436,2170,2236,1854,1685,1572,1504,1456,1376,1533,1498,1543,1711,1720,1708,1643,1610,1475,1423,1558,2160,1970,1604,1461,1657,1690,1595,1506,1455,1376,1362,1388,1427,1591,1817,1463,1349,1519,1550,1687,1778,1794,1798,1773,1613,1544,1407,1459,1351,1352,1382,1935,2068,1631,1285,1295,1229,1256,1330,1287,1272,1356,1318,1338,1271,1162,1192,1293,1631,1988,2178,2135,1714,1477,1794,1748,1678,1542,1880,1902,1362,1300,1404,1741,1661,1556,1687,1593,1527,1523,1652,1671,1400,1300,1344,1354,1521,1642,1532,1507,1338,1413,1408,1238,1306,1472,1378,1336,1303,1317,1423,1548,1731,1817,1853,1435,1576,1785,1874,1726,1638,1868,1926,1831,1846,1554,1474,1574,1454,1558,1585,1496,1570,1805,1843,1456,1432,1750,1716,1331,1596,2114,2132,1737,1873,1755,1616,1619,1750,2059,1880,1500,1411,1262,1228,1138,1554,2215,2153,1823,1880,2019,1800,1774,2114,2653,2172,2204,2633,2098,1910,2085,1390,638,1126,1726,1396,1665,2084,1817,1534,1471,1660,1688,1832,1661,1759,2165,2610,2078,1633,1760,2071,1846,1412,1755,1610,1707,2076,1989,2009,2719,3208,2985,2464,2533,3010,2589,2075,2055,1642,2000,2588,2175,2072,2340,2170,1682,1390,1799,1921,1744,1582,1642,1503,1237,1413,1549,2010,2520,1902,1808,2384,2239,1970,1984,2156,2160,2226,2522,2366,2127,1982,1691,2053,1965,1990,2810,2654,2558,3144,2740,1892,1842,2046,2372,2211,1543,1257,2565,2994,2240,2456,3132,3338,3070,3085,3186,2880,2786,2719,2633,2108,2529,3174,3160,3099,2835,2266,1959,1790,1452,1485,2321,2451,2177,2184,2328,1780,1821,2072,2175,2088,1745,1764,1891,2210,2510,1659,793,801,1305,1634,1594,1450,1745,1968,2323,2779,2584,2388,2453,2363,2730,3301,3354,3763,3958,3981,4018,4086,4325,4164,3676,3330,3896,4208,4371,3740,3304,3135,2602,2576,3230,3840,4152,4387,4351,3374,2313,2687,2344,1774,1843,2110,2318,2265,2219,2330,2363,2194,2323,1916,1829,1913,1885,1872,1829,1721,1728,1851,1776,1599,1561,1682,1913,1768,1954,2567,2189,1912,1951,1988,2173,2120,2012,1862,1645,1750,2104,2250,1873,2728,3938,4220,3650,3277,3196,3030,2885,3194,3891,3796,2867,2274,2350,2740,1842,1620,1620,1697,1637,1510,1427,1411,1383,1450,2132,2501,1747,1710,2176,2038,1544,2030,2586,2793,2424,2348,3094,2789,2157,1228,1763,2843,2373,3190,2885,2025,1892,2287,2918,3198,2858,2352,1979,1670,1386,1539,2544,3469,2150,2083,2466,2192,1852,1551,1512,1585,1562,1745,1608,1344,1642,2104,1785,1572,1800,1976,1808,1851,2042,1650,1638,1534,1571,1939,2252,2222,1709,1498,1398,1238,1129,1057,1217,1598,2018,1935,1735,1686,2642,2829,2412,2797,2381,1840,2029,2587,2647,2810,3327,3044,2393,2512,2132,2107,2670,2057,1561,2207,2880,3116,2792,2492,2656,2311,2072,2200,1897,2215,2453,2089,1940,1825,1876,1899,1699,1666,1436,1522,1598,1606,1747,1489,1348,1644,1840,1840,1825,1920,2028,1967,1923,2024,2132,1914,2235,2654,3198,3557,3688,3104,2214,1654,1638,2243,2233,1641,1662,1890,2101,2084,2030,2194,2375,2465,2378,2203,1903,1632,1663,1830,1870,1920,1956,1954,1920,1698,1500,1699,2618,2420,1417,1489,1616,1709,1643,2242,2141,1760,1940,2002,2124,2308,2165,1995,1971,2119,2228,2184,2222,2161,2191,2449,2566,2174,2075,2044,2326,3086,3031,2240,2325,2685,2894,3028,2478,2599,2851,2615,2497,2252,2255,2222,2093,2161,2054,2104,2236,2128,2031,1842,2314,2916,2530,2088,2450,2552,2144,1986,2293,1907,2124,2351,1591,2106,2974,3287,3366,3182,2379,1636,1447,1731,1802,1988,2088,2075,1743,1708,1511,1917,2619,2360,1935,2370,2371,1725,1600,1622,1669,1788,1687,1595,1487,1356,1932,2348,2666,2334,1837,1490,1264,1411,1742,1656,1517,1532,1650,1688,1536,2102,2742,2285,1543,1434,1517,1450,1346,1361,1346,1416,1353,1537,1748,1581,1931,2458,2083,1896,1698,1530,1584,1666,1600,1720,1653,1530,1666,1926,1644,1897,2504,2275,2149,2094,2022,1735,1737,2008,2088,1864,2192,2185,1710,1526,1445,1416,1448,1704,1874,1472,1465,1878,1918,2019,1919,1553,1524,1590,1654,2133,2646,2361,1615,1373,1469,1814,1748,2106,3140,3020,2365,2653,2751,2779,3133,2734,2578,2548,2850,2990,2336,1964,2198,2542,2778,2951,3207,2692,2938,2644,2805,3027,3221,3056,2430,2010,2159,2629,2620,2464,2721,2725,2783,2888,2823,2705,2799,2735,2763,2867,2579,2676,3470,3162,2030,1679,1956,2371,2702,2254,2414,2800,2991,3074,3137,3232,3089,2106,2169,2728,2565,2070,2012,3022,3075,2422,1625,952,1080,1758,2344,2168,2788,3082,2753,2419,2429,3140,3430,3198,2618,2080,2518,3572,3921,3711,2762,2089,2642,3454,3601,3936,3940,3526,3606,3382,2975,2696,2968,2685,3160,2697,2359,2366,2213,2013,1752,1816,2039,2018,1851,1683,1814,1859,1771,1839,1739,1980,2013,1935,1753,1690,2220,2608,2254,2254,3146,2920,2099,1845,1985,2214,2564,2486,2128,2142,2171,2355,2807,2706,2302,2312,2841,2873,2460,1983,2552,2462,2011,1780,1733,1854,1967,2299,2049,1775,1582,1671,1776,1859,2040,2450,2555,2554,3034,2823,2042,1682,1535,1835,2361,2802,2304,2176,2181,2426,1990,1626,1882,1934,1957,2315,2587,2328,1925,1739,1943,2148,2325,2643,3017,3093,3328,3108,2463,2734,3285,3667,3935,4035,4135,3758,3393,3157,3200,3306,3112,3104,3316,3544,3345,2698,2709,2945,2620,3055,2708,2424,2966,2330,1706,1766,1600,1543,1595,1562,1637,1654,1808,1834,1656,1678,1611,1570,1862,2460,2320,1566,1552,1738,2153,2541,2666,2087,1721,1903,1726,1734,1814,1643,1713,1888,1938,1810,1628,1854,2159,2402,2610,2274,1860,2024,2288,1987,1789,1836,2086,2167,1939,1816,1918,2041,1901,1428,1458,1912,2000,2250,2795,2829,2438,2011,1739,1676,2040,1910,1830,1846,1869,1886,2132,2132,1787,1637,1523,1728,1929,1745,1879,2322,1827,1556,1681,1817,1968,1812,1565,1582,1655,1719,1719,1643,1468,1456,1636,1823,1981,1732,2047,2455,2072,1376,1757,2878,2952,2505,2321,2822,2919,2834,3061,2812,2628,3023,3349,3154,2401,2225,2254,2576,3607,3898,3667,3160,2943,2451,2163,2556,2595,2539,2104,1482,1996,2562,2280,2809,3148,2834,2367,1741,1966,2441,2651,2248,1992,1677,1980,2234,2148,1924],[2532,2629,3124,3624,3267,2869,3117,3370,3482,3253,3099,3661,3704,3266,2896,2745,2802,2811,2939,3257,3213,2569,2089,2260,2066,1995,1987,1935,2254,1892,1550,1461,1831,3012,2972,2578,3016,3083,3157,3319,3882,4155,4246,4050,3632,3416,3031,2654,2565,2513,2547,2796,3487,3721,3703,3531,3471,2831,2205,2198,2302,2166,2105,2082,1955,2083,2223,2324,2150,2129,2047,1998,1802,2013,2189,2148,2230,2432,2370,1951,1821,1905,1913,2566,2920,2779,2721,2070,2023,2594,3072,3284,3750,3660,3263,3352,2977,3053,2783,3124,2972,2279,2032,2701,2868,2494,2304,2327,2457,2559,2657,2374,2495,2660,2186,2043,2415,2621,2353,2489,2779,3038,2764,2217,2065,2229,2265,2336,2345,2681,2905,2827,2256,2110,2359,2054,2008,2110,2053,2686,3292,2865,2000,2347,3173,3342,3162,2988,3131,3522,3435,2609,3024,3545,3408,3716,4160,4096,3846,3736,3707,3110,2116,1769,1592,1682,2529,2651,2754,2412,2026,2014,2260,2076,1977,1999,2100,2166,2201,2773,3000,3218,2675,2315,2178,1966,2810,3227,2719,2381,2485,2740,2595,2664,2545,2875,3389,2873,2302,1880,1638,1650,1735,2858,3662,2504,2020,1859,2240,2534,2570,2922,2271,2164,2578,2075,1772,1813,1869,1989,2027,1979,1867,1942,2218,2467,2465,2220,1957,1757,1781,2651,3450,3002,2764,3082,3272,2939,2051,2011,2530,2495,2469,2687,2920,2448,1947,2196,2481,3017,3045,3497,3921,3317,2938,3032,3203,3061,2758,2408,2705,3478,3081,2395,2265,2007,1953,1906,1775,1900,2087,2003,2188,2306,1933,1963,2033,1976,2256,2764,3397,3606,3501,3732,3808,3684,3608,3450,2896,2277,2065,2150,1822,1770,1895,2393,2592,2775,2415,1843,1946,2633,3189,3330,3007,2832,3151,2590,2902,3282,2990,3341,3571,3242,3337,3336,3178,2825,2081,1977,1693,1708,1891,1605,1440,2028,1904,2258,2546,2161,2381,2572,2484,2257,2339,2292,1829,1847,1968,2425,2238,1804,1833,2222,2384,2490,2539,2364,1681,1711,1624,1288,1416,1486,1519,1572,1779,1726,1848,1835,1626,1730,1763,1461,1526,1529,1392,1797,2395,2366,1956,1689,1689,1694,1783,1855,1770,1968,2314,2258,1832,1953,1990,1713,1842,1777,1653,1742,1600,1553,1641,1706,2566,2525,2173,2399,2353,1940,1710,1851,2214,2214,2236,2127,2321,2309,1886,2371,2759,2746,2530,1968,2059,2077,1788,1976,2437,3341,2813,2683,3071,2932,2896,3448,3661,3245,2743,2756,2603,2403,2204,2127,1964,2708,2959,2717,3168,3397,3000,2116,1792,1958,2154,2579,2708,2649,2562,3198,2577,2974,3266,2823,2465,2672,2678,3024,3582,3188,2695,3093,3117,2920,3056,3496,3821,3485,3459,3211,3039,3507,3632,2898,2113,1687,1579,2290,2423,2583,3307,3465,3397,3146,3060,3422,3200,2804,2697,3041,3219,2688,2564,2127,2009,2105,2223,2248,2558,2263,1894,2320,2555,2184,1753,1834,1828,1952,2144,2290,3116,3054,2531,2474,2642,2466,2566,3174,3045,2902,2830,2667,2423,2246,1994,1901,2041,2166,1858,1349,1664,2121,1987,1688,1540,1536,1944,2720,2768,2468,2097,1725,1524,1560,1623,1679,1558,1781,1932,1794,1729,1670,1638,1365,1516,1880,2073,2029,1570,1393,1399,1817,2142,1976,2036,2284,2364,2260,1813,1679,1911,2264,2923,2887,2511,2666,1900,1676,1743,1923,2182,2322,2576,2733,2455,2470,2519,1878,2112,2424,3186,2314,1742,1647,1455,1466,1438,1378,1399,1381,1444,1615,1753,1692,1698,1682,1778,1470,1433,1310,1704,1831,1519,1731,2014,1792,1952,1609,1555,1410,1372,1496,1584,1668,1490,1459,1654,1642,1693,1732,1710,1812,1970,1718,1942,1943,1644,1555,1353,1211,1286,1585,1671,1329,1221,1356,1241,1169,1342,1345,1332,1318,1321,1366,1311,1215,1290,1601,2421,2603,2392,1880,1635,1431,1898,1882,1735,1537,1805,1811,1337,1199,1373,1582,1551,1514,1540,1546,1626,1678,1667,1661,1490,1384,1432,1413,1344,1454,1680,1651,1497,1290,1093,1005,1406,1550,1492,1540,1406,1357,1386,1737,2164,1655,1677,1508,1800,1846,1767,1839,1788,1808,1961,1803,1897,1922,1743,1654,1707,1824,1490,1491,1595,1825,1815,1335,1315,1473,1382,1230,1417,1680,1675,1628,1714,1667,1681,1771,2043,1820,1597,1938,1830,1376,1311,1275,1791,1992,1782,1936,2172,1591,1129,1346,2136,3250,3007,2316,2210,2191,2174,1659,924,1111,1796,1754,1545,1987,2163,1550,1165,1257,1791,1681,2165,2461,2482,2714,2684,2232,2095,1967,1987,2153,2752,3916,2171,2186,2207,1716,1808,2078,2373,2504,2464,2623,2973,2873,2908,3200,2570,2104,2219,1652,1380,1714,1664,1362,1832,2426,1947,1660,1653,2260,1732,1928,2124,2100,1993,1928,1909,2070,2312,2503,2656,2311,2302,2046,2398,2240,2210,1942,1931,2036,2364,2117,1851,2354,2387,2178,2651,2362,2049,1842,1990,2259,1977,1537,1903,2693,2450,1881,2156,2529,2788,2682,3451,3540,2797,2862,2337,2426,2407,2363,3006,3431,3174,2472,1686,1232,1239,1400,1845,2000,2154,2153,1745,2059,2114,1860,2146,2032,1682,1460,1489,1693,1876,2357,1984,1321,1194,1418,1490,1439,1343,1286,1708,2344,2879,2723,2623,2333,2511,2480,2692,2850,3331,4014,4312,4144,4072,4325,4567,4243,3152,3039,3848,4375,3891,3843,3706,2813,2220,2419,3176,3780,4253,4372,3959,2890,2229,2075,2065,2024,2040,2188,2165,2187,2348,2498,2293,2399,2083,1664,1839,1821,1844,1815,1687,1739,1945,1820,1786,1874,1695,1868,2202,2017,2026,1712,1690,1737,1675,1835,2020,2183,2046,1758,1876,2072,2417,2171,2046,3067,3928,3950,3372,2573,2172,2243,2656,3022,2768,2479,2314,2498,2807,2187,1770,1579,1546,1587,1779,2171,2020,1816,1838,2446,2410,1752,1546,1883,1695,1711,2483,2554,2269,1736,1628,2831,2706,1779,1887,3295,3586,2213,2420,2400,1976,2208,2991,3343,2980,2580,1972,1592,1437,1225,2449,3527,2602,1719,2106,2198,2036,1994,1699,1426,1438,1502,1618,1604,1429,2245,2458,1947,2113,2361,2321,1966,1498,1975,1672,1636,1372,1621,2112,2279,1808,1498,1344,1131,1121,1098,1121,1490,1911,2432,2546,2135,2633,3357,2575,2476,3093,2618,2127,2521,2407,2077,2171,2349,2202,2266,2286,1995,2500,2265,1599,1686,2490,3068,2845,2724,2654,2973,2001,1931,2094,1863,2358,2611,2093,1691,1659,1754,1829,1699,1874,1580,1475,1699,1808,1668,1555,1566,1701,1661,1536,1573,1804,2093,2045,2424,2438,2084,1835,1795,1787,2031,2350,2468,2241,1982,1753,1956,2424,2331,1674,1499,1386,1554,1769,2124,2700,3234,3173,3166,3183,2935,2614,2462,2234,2128,2160,2119,1981,1758,1592,1511,1637,2190,2216,1707,2308,3074,3123,3033,3010,2501,1905,1970,2210,2295,2391,2221,1938,1874,1990,2062,2155,2205,2469,2550,2503,2159,1947,1974,1910,2197,2435,2307,2262,2432,2392,2359,2323,2312,2394,2222,2082,1986,1962,1920,1768,1952,1962,2079,2493,2897,2841,2688,2099,1896,2322,2134,1729,2166,2631,2332,2156,2282,2509,2864,2623,1748,2006,2810,3259,3028,2243,1558,1076,1256,1877,1805,2421,3196,2751,1893,1699,1839,2337,2625,2065,2101,2246,2068,1619,1468,1895,1738,1875,1978,1689,1541,1529,1769,2037,2105,1676,1766,1643,1807,2266,2053,1770,1774,2123,2142,1879,1771,2342,3043,2803,2495,2648,1880,1362,1402,1378,1366,1441,1576,1602,1832,2162,2406,2202,1823,2233,1756,1382,1443,1428,1393,1404,1511,1590,1906,1815,1497,1806,2208,2156,1968,2290,2618,2198,2084,2345,2201,2050,2234,1880,1442,1473,1471,1502,1336,1559,1833,1578,1355,1503,1583,1757,1632,1380,1497,1731,2160,2569,2851,2913,2436,2080,1976,1955,1620,1761,2438,2448,2056,2106,2502,2898,2993,2565,2482,2159,2466,2552,1980,1755,1736,2045,2579,2686,3082,2563,3099,2769,2832,3536,3093,2519,2588,2209,2101,2471,2763,2887,2822,2632,2152,2249,2581,2709,2880,2547,2602,2997,2416,2325,4356,4717,2924,1944,2109,2523,2701,2866,3088,3262,3366,3168,3105,3351,3321,2553,2474,2148,2186,2040,1942,2370,2395,2249,2026,1306,1060,1409,2168,2112,2565,2756,2822,2757,2265,2289,2712,2769,2533,2125,2459,3436,3781,3667,2827,2344,2708,2990,3034,3699,3721,3321,3286,3006,3106,2555,2650,2828,3339,2388,2177,2295,1984,1789,1826,2106,2446,2144,2272,2286,1904,1849,1963,1896,2090,2368,2043,1675,1723,2150,2512,2049,1682,1894,2286,1980,1658,1762,2026,2364,2654,2699,2363,1808,1820,2201,2678,2329,1832,1803,2551,2626,1923,1958,2559,2434,2248,1886,1848,1935,1715,1738,1738,1788,1708,1798,1953,2161,2128,2571,2841,2657,2643,2303,2090,2285,1827,1953,2543,2999,2214,1759,2271,2630,2214,1676,1471,1611,1569,1880,2491,2235,1889,1650,1632,1839,2012,2513,2719,2783,2979,1894,1596,1963,2137,2644,3616,3780,3687,3696,3514,3243,3050,3063,2998,2789,2765,3408,3020,2305,2420,2685,2496,2965,2880,2520,2298,1822,1708,1804,1599,1539,1476,1603,2017,2044,2054,2074,2069,1879,1503,1576,2104,2041,1646,1713,1816,1636,1988,2577,2288,1684,1794,2037,2005,1939,1795,1684,1867,1798,1994,1852,1707,1923,2286,2575,2284,2054,1872,1942,2108,2014,2084,2101,2543,2392,2188,1960,2018,1968,1663,1516,1654,1934,1956,2092,2608,2612,2603,2125,1857,1730,1589,1474,1978,2007,1864,1939,1901,1942,1957,1751,1749,1900,1846,1612,2133,2601,2274,1907,1607,1716,1888,1610,1582,1672,1733,1993,2122,1686,1489,1696,2041,1991,1908,1800,1845,2087,1685,1279,1926,2887,2467,2259,2172,2340,2313,2372,2429,2281,2576,3066,3199,3087,2582,2646,2758,2702,3064,3321,3197,3265,3123,2391,2331,2554,2061,2169,1955,1722,1932,2436,2415,2557,3097,3272,2697,2203,2046,2271,2250,1729,2094,2136,2533,2940,2258,2002],[2396,2105,2570,3327,3344,3106,2718,3195,3321,2613,2811,3155,3047,2944,2824,2713,2788,3086,3252,3272,3438,3244,2596,2300,2126,2128,1946,1867,1782,1563,1500,1369,2246,3441,2742,2331,2676,2853,3034,3156,3352,4006,4356,4265,3636,3336,3190,2652,2596,2667,2922,2877,3132,3485,3654,3366,2863,2461,2076,1706,1753,1722,1559,1648,1634,1548,1490,1676,1925,1801,1655,1805,1709,1788,2129,2397,2303,2256,1863,1776,1699,1909,2202,2583,2909,3437,3378,2535,2676,3233,3505,3609,3657,3127,2824,2673,2987,3283,3010,2651,2231,2092,2230,2443,2222,2194,1832,2086,2832,2756,2778,2590,2631,2450,2041,2012,2893,2962,2692,2488,2567,3097,2678,2356,2424,2519,2657,2329,2389,2348,2323,2700,2340,2454,2374,2214,2444,2304,2142,2376,2774,2490,2050,2340,2713,2957,3288,3167,3243,3767,4008,3439,3661,3458,3374,3686,3991,3754,3002,3481,4706,4551,3439,1977,1797,2191,2494,2731,2674,2464,2100,2180,2322,2015,1979,1857,1922,1696,1821,2092,2315,2896,2001,1436,1610,1990,3386,3833,3067,2931,3076,2952,2724,2886,2398,2418,3410,3306,2465,1797,1776,2055,2194,2257,2388,1909,2149,2183,2916,3084,3196,3388,2814,2907,2863,2023,1894,1870,1758,1896,1985,2013,2054,2263,2519,2422,2218,2176,2455,2701,2942,3516,3751,3449,2907,2748,3034,2858,2311,2144,2295,2797,2891,2666,2923,2945,2376,2418,2609,3369,3450,3271,3360,3165,3018,3023,3033,2798,2384,2069,2127,2339,2124,2091,1989,1875,1873,1967,2652,3434,3403,2977,2813,2599,2112,2050,1978,2255,2636,2920,2946,2909,2719,2822,2907,2730,2945,3241,2822,2269,2152,2498,2568,2333,1964,2166,2436,2544,2104,1640,1720,2384,2823,3091,3138,3146,3206,2884,3461,3540,3616,3827,3444,3317,3410,3190,3186,2564,2150,2803,2754,1930,1638,1534,1621,1838,1654,2159,2713,2563,2521,2298,2596,2767,2651,2319,2237,1789,1544,1663,1670,1694,2078,2609,2814,3139,2849,2336,1643,1804,1616,1440,1441,1688,1892,2433,2499,1659,1816,1903,1976,2042,1826,1535,1548,1556,1561,2054,2589,2254,2060,1833,1800,1820,1588,1881,1938,2211,2126,1872,1911,2178,2050,2186,2261,1770,1901,2036,1725,1611,1611,1655,1972,1992,1770,1743,1839,1772,1498,1547,1868,1895,1775,1576,1946,1739,1453,1935,2374,2711,2508,2237,2432,2098,1820,2418,3120,3514,2455,2155,1986,1827,2148,2665,3161,3146,2774,2934,2726,2557,2126,1924,2377,3332,2853,2710,3211,3226,2636,1984,1802,1598,1574,1838,2172,3062,3553,3082,2621,3083,2822,2912,3162,2979,3032,3010,2779,2623,2728,3536,3442,3209,3226,3539,3485,2972,3037,2985,3088,3296,3318,3199,3055,2315,2122,2389,2464,3145,3994,4084,3770,3181,2929,3461,3374,3176,2736,3133,2836,2612,3364,2979,2024,1845,1990,2533,2550,1816,1679,1936,2165,2261,1810,1918,1793,2135,2430,2257,2810,3308,2740,2317,2813,2512,2256,2887,2346,2296,2370,2347,2828,2959,2294,2181,2239,2154,2098,1801,1841,2149,2005,1656,1469,1564,1605,1917,2446,2502,2186,1786,1527,1545,1353,1348,1522,1618,2056,2006,1761,1549,1402,1428,1704,1676,1636,1911,1804,1486,1491,2080,2091,2018,1776,2030,2158,1988,1772,1853,2044,2403,2974,3056,2493,2215,2047,2038,1810,1578,1796,2557,2866,2379,1992,1970,2200,2432,2232,2434,3454,2577,2004,1946,1749,1726,1615,1560,1422,1299,1426,1487,1664,1683,1674,1519,1481,1472,1363,1389,1681,1642,1381,1653,2020,2132,1924,1823,1969,1559,1555,1926,1730,1419,1508,1570,1606,1721,1702,1699,1724,1892,2042,1706,1685,1477,1478,1526,1335,1252,1346,1451,1408,1287,1418,1362,1386,1330,1354,1355,1352,1460,1520,1321,1240,1224,1466,1562,2477,2382,2011,1980,2049,1728,1929,1872,1519,1478,1422,1432,1339,1454,1617,1445,1057,1132,1647,1643,1527,1599,1483,1365,1532,1436,1591,1424,1280,1306,1515,1662,1643,1436,1274,1973,2570,2022,1707,1682,1803,1396,1270,1698,1861,1527,1592,1615,1832,1735,1561,1959,1991,1800,1844,1588,1685,1947,1918,1879,1984,1759,1516,1567,1541,1417,1386,1202,1168,1330,1238,1237,1396,1641,1554,1582,1655,1791,1932,2163,1964,1571,1960,2130,1486,1244,1337,1570,1959,1982,2026,2252,1945,1206,1021,1447,1635,2358,2592,2162,2097,2115,1910,1186,1237,1770,1924,2081,2440,2584,2247,1847,1640,1997,2353,2165,2365,2851,2640,2153,2396,1979,2148,2092,1863,1944,2806,2955,2447,3206,3491,3146,2304,1646,1717,1531,1734,1942,2292,2346,2342,2314,2160,2031,2052,1645,1942,2431,2032,1938,2268,2657,2061,1709,1946,2449,2276,2500,2558,2642,2981,2972,2634,2084,2220,3286,3123,1564,1331,2199,2840,2356,1982,2699,3453,2851,2580,2695,1957,2068,2554,2669,2798,2454,2157,2010,1866,1945,1964,2127,2218,2128,2510,2808,2715,2390,2213,2801,3610,3647,2735,2093,1688,2373,2767,2400,2880,3101,2267,1293,1013,1210,1217,1672,1730,1580,2145,2269,1813,1978,2062,2107,2433,1994,1571,1405,1388,1753,2255,2728,2408,1597,1251,1480,1975,2005,1955,1823,1882,1948,2066,2229,2670,2653,2164,2126,2674,2971,3529,4041,4356,4187,4024,4034,4432,4499,3212,3077,3661,4014,4123,4272,4228,3662,2691,2332,2679,3444,3969,4033,4196,3649,2816,2618,2652,2327,2062,1998,2007,2175,2461,2286,2283,2298,2004,1866,1932,1822,1822,1749,1721,1689,1787,1716,1738,1881,1766,2043,2379,2226,1773,1356,1481,1779,1640,1507,1464,1706,1913,1842,1641,1672,1715,1549,1524,2061,2915,3649,3517,3000,2642,2612,2454,2258,2075,2207,1928,2430,2902,2489,2047,1893,1934,1968,1863,1980,1722,1709,2099,2668,2250,1696,1644,1588,1481,1907,2435,2152,1933,1617,1589,2136,2969,2156,1848,2556,2657,2618,2417,1929,1785,2217,3008,2779,1993,1787,1583,1265,1085,2237,3566,2822,1790,1842,2164,1719,1687,2034,1793,1514,1475,1460,1478,1503,1867,2271,2095,2634,2764,2467,2487,1777,1502,2106,1678,1743,1515,1709,2241,1908,1497,1289,1066,1111,1082,1071,1554,1926,1980,2481,2658,2284,3247,3735,2964,2905,3260,2700,2290,2360,1901,1678,1679,1848,2267,2708,1851,2077,2461,1842,1783,2234,2712,2637,2428,3488,3145,2614,2258,2490,2045,2003,2767,2807,2407,1886,1566,1633,1615,1583,1761,1551,1600,1941,2030,1866,1713,1699,1775,1848,1857,1836,1683,1658,1647,2070,2327,2171,1869,1771,1870,1779,1790,1846,1788,1719,1722,1904,1938,1800,1442,1259,1498,1883,2436,2840,3104,3609,3406,3023,3168,3134,3138,3147,2524,2277,2064,1832,1912,1898,1850,1778,1660,2072,2447,2717,2802,3452,3561,3482,3227,2532,1888,2017,2161,1763,1584,1759,1699,1780,1795,1677,1691,1741,1732,1756,1802,1718,1659,1632,1652,1849,2008,2102,2114,1972,2021,2049,1643,1687,1680,1583,1562,1475,1777,2074,1967,2504,2637,2458,2664,3393,3356,2766,2352,1874,1860,1921,1798,1703,2023,2064,2056,2548,2898,2871,2591,2029,1787,2035,2844,2563,1800,1568,1267,1390,1734,1919,1986,2130,2265,1976,1737,1647,2020,2372,2106,1964,2510,2210,1722,1735,2041,2046,1804,1596,1816,1731,1600,1776,1867,2237,1656,1770,1917,2218,2442,2495,2253,2342,2623,2467,2573,2749,2808,2791,2465,2830,2966,1690,1477,1518,1483,1396,1536,1788,1697,1710,1929,1918,1478,1463,1761,1719,1488,1458,1506,1389,1732,1935,1535,1683,1583,1395,1273,1605,2003,2078,2939,3212,2552,2100,2237,2241,2464,2692,1824,1453,1555,1577,1712,1746,1854,1653,1641,1786,1686,1581,1744,1594,1531,1768,1753,1708,2332,2845,2696,2739,2744,2504,2391,1968,1749,1887,1863,1947,2002,2471,2511,2176,2166,2093,1562,1894,2410,2458,2231,2022,2292,2968,2822,3175,3232,3729,3326,3232,3602,3109,2941,2770,2197,1851,1913,2843,3163,2912,2234,1785,2197,2252,2294,2104,2060,2405,2494,2219,2105,3282,4928,4239,3023,2638,2630,2841,3248,3280,3211,3030,2643,2967,3270,2922,2708,2322,1660,1966,2534,2444,2733,2651,2160,2098,1697,1500,1409,1960,2316,3196,3121,2820,2873,2482,2249,1954,2526,3088,3218,3272,3604,3275,3276,3121,2709,2614,2941,3118,3056,2931,2718,3076,3176,3169,2574,2723,3435,2800,2072,2244,1906,1769,2019,1968,1873,2214,2344,2808,2747,2087,1681,1549,1788,1991,1969,1971,1785,1987,2104,2029,1737,1868,2260,1867,1649,1625,1772,1996,2155,2345,2812,2710,1830,1765,2060,2290,1835,1564,1540,1907,2043,2167,2524,2509,2304,2117,1930,2169,1973,1793,1595,1625,1824,1842,1688,1807,2239,2336,2186,2063,1823,1948,1780,2110,2222,2379,2630,2745,2699,2213,1932,2104,2003,1852,1732,1640,1682,1782,2048,2230,2245,2260,1820,1663,1734,1790,2343,2497,2501,2291,1370,1821,1990,2125,2402,3132,3624,3738,3561,3541,3263,3155,3242,3226,2955,2633,2823,2195,2362,2691,2802,3115,3045,2670,2651,2040,1583,1483,1716,1647,1705,1639,1649,2119,2443,2159,1948,1846,1689,1687,1877,2068,1710,1954,1925,1930,1908,1961,2060,1947,1862,2066,2086,2071,1905,1786,1618,1758,1871,1944,2002,1830,1796,2048,2214,2028,2150,2084,1898,1824,2008,2209,2975,3287,2929,2451,2136,2036,1743,1569,1599,1641,1794,1814,1974,2016,1781,2328,2573,2159,1475,933,1094,2138,2833,2752,2404,1893,1962,2027,1888,1942,2096,1729,1600,2047,2441,2719,2225,1525,1730,1788,1579,1627,1867,2020,2215,2271,2002,1723,1669,1856,2071,2032,1856,1579,1765,2089,2116,2112,2801,2709,2038,1904,1886,2032,2632,2588,2530,2814,2825,2942,3116,2949,2938,2632,2559,2785,2750,2930,3542,3503,2957,3018,2752,1871,1875,1926,1785,1863,2210,2245,2430,2953,3011,2808,2727,1938,1964,2118,1936,2286,2725,2759,2633,2135,1862],[2011,2193,2697,3423,3325,2823,2268,3052,2844,2264,2226,2424,2765,2950,2780,2528,2494,2834,2790,2594,2865,3106,2875,2341,2122,1858,1873,1922,1543,1477,1412,1086,2027,3152,2619,2710,2605,2862,3164,2735,2941,3789,4188,3918,3259,3427,3537,2810,2850,2901,2997,2940,2789,3201,3575,3305,2383,2173,2314,1888,1760,1886,1627,1720,1639,1544,1457,1615,2112,1820,1505,1669,1670,1541,1631,1940,1764,1873,1942,2328,1881,2024,2541,2885,3185,3675,3208,2388,2635,2329,2530,2707,2655,2783,2825,2669,3034,3116,2523,1872,1907,2011,2144,2011,1673,1631,1862,2498,2288,2049,2189,1987,1821,2309,2766,2636,2834,2657,2452,1654,1704,1875,2053,2600,2641,2563,2524,2255,2280,2245,2419,2542,2233,2021,1832,1972,2600,2353,2122,2192,2576,2699,2452,2517,3401,3708,3544,3441,3752,4421,4481,3807,3393,2871,3059,3522,3724,2946,2068,2438,3338,3242,2641,1991,2386,2822,2735,2434,2310,2366,2098,1916,1889,1903,2041,1892,1758,1573,1846,1865,1846,1793,1086,1098,1637,2074,3265,3705,3326,3156,3344,2973,2814,2742,2585,3038,3561,3689,2899,1720,1942,2896,2733,2043,2034,2345,2399,2809,3035,2802,2975,3017,2481,2293,2133,2023,2046,2087,2181,1939,1851,2051,1980,2084,2336,2350,2402,2531,2677,3186,2952,2478,2596,2912,2500,2429,2447,2366,2556,2736,2788,2641,2303,2225,2980,3143,2747,2621,2553,2755,2788,2784,2612,2374,2203,2134,2193,2029,2072,2115,2277,2071,2240,2821,2366,1881,1945,2327,3042,3402,2753,2603,2601,2147,2040,2074,2018,2158,2579,2522,2299,2409,2457,2563,2379,2197,2241,2507,2432,2166,2378,2449,2120,2078,2130,1947,2052,2351,2144,1841,2111,2530,2805,2891,3428,3936,3774,3743,4133,3498,3335,3885,3429,3628,3741,3076,3062,3040,2634,2616,2806,2148,1811,1621,1564,1707,1877,2473,3154,3284,3110,2989,3226,3133,2975,2441,1946,1935,1720,1375,1610,2164,2144,2239,2615,3208,2866,2350,1846,1819,1747,1596,1866,2170,1931,2085,2114,1755,1729,1756,1830,2314,2164,1731,1609,1549,1471,2038,2786,2191,2175,1925,1822,2013,2258,2292,2004,2042,1721,1485,2184,2633,2256,2765,2543,1911,1889,2056,1706,1838,1892,1920,1756,1560,1515,1516,1637,1670,1601,1684,2052,2129,1946,1862,1897,1574,1455,1770,2037,2072,2233,2711,2619,1934,2344,3455,3630,3557,2932,2279,1996,2037,2134,2017,2087,2178,2248,2395,2495,2469,2123,2208,2376,2533,2275,2248,2842,2498,2307,2021,2193,2045,1887,1728,2530,3182,3108,2740,2787,2486,2191,2938,2988,2422,2729,2425,2657,2820,3160,3585,3423,3333,3328,3410,3103,2965,3261,3376,3366,3360,3314,3218,3127,2653,2842,3033,3177,3762,4035,3925,3520,2818,2810,3373,3610,3477,3122,3583,3530,2800,3501,3471,2325,1821,2040,2307,2117,1780,1299,1863,2415,2346,1855,1639,1876,2194,2173,2153,2482,2684,1592,1257,2067,1931,1596,1645,1746,2204,2104,2187,2901,3272,3134,3081,2557,2125,1895,1539,1673,1975,1698,1428,1675,2170,2004,1880,2320,2241,2169,1934,1546,1417,1353,1491,1734,1640,1955,2057,1731,1573,1453,1500,1659,1591,1543,1514,1611,1476,1415,1777,1935,1628,1649,1997,2154,2240,2410,2132,1778,2098,2695,2749,2633,2065,1540,1512,1519,1581,1902,2369,2607,2178,1895,2035,1930,2128,2118,2730,3299,2846,2731,2377,2022,1729,1625,1842,1820,1523,1440,1440,1554,1693,1604,1409,1482,1542,1519,1656,1824,1826,1416,1330,1399,1936,1815,1967,2422,2078,1689,1700,1508,1582,1660,1715,2046,1866,1670,1722,1936,1951,1688,1526,1507,1489,1544,1469,1268,1265,1362,1330,1248,1315,1388,1319,1413,1383,1381,1463,1345,1434,1489,1239,1208,1181,1379,1497,2191,2105,1877,2094,2078,1923,1874,1535,1394,1319,1444,1574,1532,1770,1820,1433,1243,1471,1494,1288,1331,1376,1311,1433,1496,1370,1343,1275,1241,1307,1431,1506,1626,1726,1947,2503,2354,1777,1608,1563,1526,1299,1242,1289,1304,1398,1531,1558,1620,1922,2085,2044,1930,1643,1480,1431,1587,1822,2025,2121,1860,1610,1615,1516,1417,1199,1295,1284,1295,1340,1281,1061,1148,1324,1458,1692,1873,1960,2120,2087,1322,1443,1710,1509,1260,1604,1768,1903,2164,2157,2178,1785,1536,1354,1257,1316,1164,1582,1974,2099,2109,2053,1507,1194,1595,1670,1783,2025,2342,2317,2605,2418,2150,2291,2529,2507,2038,2554,2888,2230,2224,1895,2010,2170,2130,1808,2111,2507,2852,3008,3091,2686,1906,1835,2115,1589,2065,2089,1846,1640,1707,1813,1758,2013,2289,2057,2121,2460,2176,1908,1280,1985,2610,2502,2094,2234,2193,1957,1968,2690,3682,3747,3367,2385,2106,2238,2068,1213,1554,2199,2332,2434,2413,2950,3559,2902,2387,2413,1938,2695,3041,3066,3039,2769,2542,2458,2328,2192,2331,2313,1940,2071,2402,2075,2463,2492,2470,2975,3161,2778,2397,2258,2168,2614,2819,2219,2491,2836,1786,1229,1592,2188,2229,2096,1694,1755,2265,2343,2348,2433,2504,2380,2417,1925,1485,1479,1633,2347,2604,2365,2089,1359,1721,2227,2201,1912,2248,2436,2118,1867,1875,2160,2721,2869,2193,2054,2737,3045,3618,4073,4228,3562,2478,2755,3804,3526,2045,2022,2902,3654,3897,4056,4283,4220,3459,2516,2355,2875,3501,3736,4080,4117,3541,3020,2590,2202,2232,2179,2075,2344,2460,2652,2503,2471,2283,2318,1990,1873,1721,1626,1773,1729,1655,1511,1616,1817,2045,1898,1791,2023,2055,1659,1481,1888,1591,1397,1255,1431,1709,1637,1410,1090,705,608,1260,1857,2029,2682,3216,3186,3153,3416,3406,2466,2119,2275,2202,2775,3062,2392,1984,1556,1530,1895,1981,2039,1992,2535,2352,2220,2018,1859,1830,1666,1772,1941,1849,1952,2068,1904,1736,1353,2518,2841,2038,1883,2522,3352,2745,2331,2022,2236,2421,2142,1730,1531,1408,1091,1402,2391,2453,1896,1957,1915,2172,1877,1763,1783,1571,1497,1693,1667,1459,1452,1941,2042,1852,2760,2862,2422,2231,1641,1691,1622,1469,1470,1493,2115,2110,1448,1301,1111,1141,1273,1192,1364,2045,2896,2667,2511,2357,2806,3392,3160,2911,3385,3177,2341,2144,2006,1675,1610,1832,2536,3264,2484,1736,2370,2186,1793,1835,2181,2347,2445,2937,3474,2918,2063,2185,2437,1906,2302,2859,2657,2621,2163,1569,1562,1572,1497,1497,1801,1874,1722,1862,1911,1890,1966,1862,1800,1794,1798,1626,1642,1699,1722,1801,1900,1645,1629,1871,1898,1785,1730,1620,1491,1538,1606,1512,1624,1511,1310,2006,3338,3639,3362,3372,3551,2688,2281,3039,3219,3205,3044,2626,2424,2129,1960,1992,1954,1974,1901,1862,2292,2808,2951,2749,2928,3024,2886,2805,2476,1750,1759,2040,1687,1764,1909,1958,1939,1716,1542,1629,1678,1545,2045,2046,2055,1831,1545,1569,2108,3067,3439,3249,2511,2004,1753,1717,1714,1677,1586,1768,1866,1913,2210,1896,2359,2867,2706,2548,3034,3149,2840,2733,2292,2016,2464,2206,2098,2308,2291,2263,2750,3187,3432,3078,2314,1874,1735,2589,2851,2104,1633,1451,1662,1616,1876,1942,1781,1892,2109,2159,1947,2036,2120,1940,1605,2325,2339,2281,2245,1684,1609,1747,1628,1706,1695,1577,1483,1514,1763,1851,1710,1833,1975,1784,2111,2369,2324,2632,2749,3227,3460,2896,2477,2046,2707,2280,1533,1531,1550,1670,1508,1578,1799,1666,1436,1477,1410,1543,1588,1501,1587,1559,1554,1527,1623,2311,2251,1404,1134,1064,1228,1589,1980,2076,2122,2511,2695,2094,1891,2206,1948,1860,1909,1433,1452,1475,1627,1708,1915,1843,1598,1792,1963,1854,1508,1524,1819,2142,1959,1593,1871,2207,2137,2370,3194,3167,2524,2489,2251,1915,1900,1918,2151,2030,1973,2002,1894,1769,1417,1351,2468,2809,2965,2852,2291,2314,3283,3530,3596,3575,3544,3198,2809,3031,2823,2784,2578,2545,1866,1735,2270,2623,2879,2226,2152,2676,2222,2300,1958,1988,2431,2351,2024,1893,2341,3804,3799,2746,2546,2830,2853,2584,2148,2600,2702,2655,2917,3296,3040,2548,2544,2306,2503,2967,2599,2867,3116,2274,2422,2585,2207,2418,2551,2652,3333,3410,2873,2563,2731,2454,2221,2545,2858,3533,3257,3027,2685,2677,2864,2443,2226,2923,3183,2929,2957,2407,2779,3150,3074,2678,2709,2620,2013,2052,2126,1888,1908,1764,1821,1574,1896,2480,2562,2511,2501,2117,1683,1978,1706,1488,1936,1858,1845,1908,1961,1825,2022,2394,2055,1621,1504,1643,1816,2084,2494,2642,2388,2283,1997,1770,1810,1605,1602,1682,1643,1747,2144,2423,2323,2181,2038,2136,2190,2123,1857,1616,1690,1749,1837,1647,1538,1916,2459,2170,1903,1514,1503,1969,2324,2059,2325,2651,2371,2054,1823,1768,1870,1593,1628,1824,1764,1795,2135,2446,2249,2276,2494,2142,1672,1615,1808,1956,1610,1286,1088,1389,1897,1973,2222,2707,2945,3327,3439,3370,3430,3331,3317,3327,3692,3485,2843,2721,2735,2784,2757,2743,2780,2500,2392,2355,1501,1585,1506,1528,1551,1589,1636,1620,1962,2236,1828,1411,1410,1504,1503,1561,1616,1560,2132,2254,1960,2128,2230,2047,1744,1910,2563,2637,2470,1852,1604,1854,1753,1665,1928,2712,2799,2204,1929,1897,1854,1877,1703,1694,1983,2250,2514,3042,3416,3497,2964,2431,2214,1965,1810,1743,1617,1710,1824,1681,1818,2354,2920,2768,2106,1424,1121,1788,2825,2998,3098,2840,2136,2173,2144,1930,1920,2036,1673,1572,1601,1959,2735,2275,1519,1880,1697,1608,1821,2122,2225,2077,2001,2050,1900,1794,1715,1741,1675,1594,1561,1963,2621,2666,2398,2198,1997,1743,1832,1705,1991,2597,2635,2756,2655,2491,2467,2820,3326,2908,2235,2155,2392,2484,2743,3386,3676,3275,2916,2852,2115,1716,1664,1720,2038,2303,2141,2333,3216,3208,2530,2313,2140,2472,2592,2397,2632,2878,2867,2592,2094,1822],[2512,2740,2612,3262,3288,2770,2736,3042,2896,2589,2367,2275,2706,3004,2852,2757,2531,2363,2164,2104,2386,2555,2420,2298,2108,1887,1922,1749,1561,2131,1660,1387,2227,2912,2729,2747,2331,2373,2710,2575,2454,3232,3584,3386,3356,3499,3632,3149,3151,2789,2744,2886,2952,3021,3199,3548,3045,2861,2934,2574,2110,2046,2024,2016,1814,1444,1369,1685,1860,1826,1680,1998,1732,1685,1830,2092,1676,1531,1750,2037,1880,2118,2770,2690,2092,1880,1728,2045,2219,2313,2165,1678,2094,2676,2272,1918,2535,3304,2942,2340,2334,2369,2347,2392,1976,1975,2192,2391,2192,1957,1718,1863,2297,2185,2479,2563,2548,2395,2194,2315,2212,1925,2044,2527,2612,2568,2888,2790,2567,2757,2600,2024,1999,1864,2028,2311,2990,3108,2675,2698,2590,2455,2604,2540,3408,3880,3750,3813,4080,4248,4188,3688,2810,2578,2692,3099,3154,2556,1876,1659,1488,1718,1490,1558,2005,2460,2546,2226,2140,1984,1641,1685,2020,2299,2280,1998,1888,1918,2142,2066,2012,1924,1414,1648,2081,2103,2717,3089,3062,3022,3278,3137,2928,2774,2751,2927,3426,3552,3182,2657,2392,2558,2497,2247,2724,2752,2295,2651,2545,2374,2803,2717,2718,2740,2598,2314,2371,2410,2380,1847,1700,1976,2053,2013,2090,2097,2156,2296,2608,3264,2521,1835,1821,2453,2680,2364,2135,2198,2695,3132,2736,2483,2576,2538,2711,2529,2343,2213,2150,2167,2320,2236,1920,1960,2328,2800,2774,2137,2070,2174,2086,1898,2237,2821,2739,2113,2046,2087,2483,3032,1966,2048,2218,2089,2229,2091,2160,2364,2806,2807,2388,2321,2674,2847,2592,2156,2106,2065,2286,2481,2468,2465,2554,2594,2404,2298,1764,1659,2137,2011,2542,3332,2946,2746,3178,3849,4030,3918,4107,3298,3060,3554,3582,3684,3914,3791,3462,3216,2977,2613,1952,1628,1836,1785,1975,1797,2401,2795,3320,3647,3841,3720,3418,3566,3239,2036,1786,2034,1710,1656,1648,1999,2193,2002,2207,2573,2796,2605,2128,2177,2472,2198,2066,2047,2113,2338,1724,1698,1588,1490,1842,2490,2494,2018,1609,1578,1730,1974,2334,2227,2295,1936,1570,1640,1982,2090,2055,1887,1604,1658,2607,3288,3039,2774,2298,1991,1888,1949,2009,1974,1809,1864,1812,1735,1861,1892,1646,1537,1611,2047,2541,2219,1888,1986,2130,1919,1654,1817,1938,1807,2048,3497,3142,2613,3243,3458,3284,3835,3931,3044,2098,2151,2030,1873,1681,1533,1688,2386,2824,2658,2054,2181,2164,2398,2436,2123,2464,2326,2166,2790,3239,2873,2144,2301,3110,2901,2453,2565,2426,2236,1976,2264,2230,2197,2202,2436,2875,3160,3347,3536,3450,3184,3094,3207,2569,3022,3217,3376,3365,3435,3360,3415,3299,2655,2625,3013,3100,3415,3615,3447,3253,2893,3437,3837,3754,3471,3255,3448,2759,2409,3492,3865,2994,2158,1982,2145,2289,2000,1672,1881,2248,1810,1696,1765,1798,2129,2136,1716,1510,1732,1162,891,1417,1578,1636,1693,2236,2712,2424,2290,2282,2889,3272,3539,3094,2090,1600,1246,1668,2041,1943,2017,2518,2831,2500,2680,2697,2170,2304,2203,1707,1391,1559,1693,1708,1802,1910,1699,1622,2278,2052,1578,1546,1516,1516,1448,1546,1479,1504,1730,1720,1592,1790,1836,1754,1792,2150,1845,2067,2589,2358,2241,2299,1781,1625,1670,1455,1813,2295,2091,2172,2294,2636,2654,2082,1737,1867,2272,2310,2517,2364,1775,1647,1505,1573,1976,1850,1511,1443,1454,1627,1759,1588,1406,1448,1405,1472,1585,1752,1791,1567,1378,1334,1642,2116,2404,2540,2103,1450,1402,1692,1707,1662,2214,2234,1754,1666,1869,2213,2024,1598,1483,1526,1788,1860,1452,1371,1438,1452,1361,1337,1355,1371,1335,1375,1357,1372,1478,1274,1214,1350,1255,1246,1219,1325,1605,2338,2514,2320,2125,1674,1594,1693,1997,1497,1420,1414,1320,1377,1607,1548,1268,1381,1662,1579,1290,1472,1410,1418,1365,1365,1335,1356,1263,1321,1450,1407,1516,1488,1502,1688,1890,1620,1483,1440,1439,1397,1361,1312,1261,1162,1177,1423,1462,1510,1902,2163,2194,2116,1732,1530,1462,1504,1779,1810,1551,1416,1491,1477,1482,1526,1348,1344,1317,1464,1452,1365,1288,1221,1338,1598,1777,1892,1939,2054,1626,1308,1648,1619,1394,1479,1841,2060,2004,2116,2113,1915,1399,1346,1343,1475,1542,1671,2192,2392,2116,2051,1632,1090,1196,1324,1338,1449,1715,2158,2696,2988,2742,2242,1711,2133,2232,1714,2678,3115,2610,2116,2031,2452,2345,2168,2309,2547,3521,3755,2277,1976,2290,2328,2086,2170,2441,3003,2491,2122,2035,1913,1810,1434,1719,2250,2122,1853,2326,2234,2252,1586,1974,2496,2445,1818,1839,1967,2025,2648,2835,2520,2617,2962,2468,2232,2542,2090,1798,2360,2762,2956,2912,3042,2846,2728,2233,2015,2009,2128,1707,1436,2311,2543,2377,2493,2416,2410,2149,3002,2979,2316,2244,1958,2125,2509,2586,2837,2998,3360,3075,2603,2121,1885,2333,2864,2470,2315,2768,2159,1731,1948,2124,2404,2401,1820,1499,1765,2253,2376,2138,2524,2908,2719,1905,1880,2391,2334,2621,2428,2184,2308,1766,2404,2655,1692,1536,2007,2069,1980,2008,2281,2520,2195,1731,1597,1991,2336,2740,3838,4219,3858,2379,1422,2376,3432,2768,1679,1583,1904,3160,3883,3830,4108,4255,4073,3126,2496,2570,2994,3439,4071,4219,3822,3137,2434,2204,2104,2009,2159,2459,2432,2332,2619,2734,2364,2380,2165,2004,1898,1704,1723,1684,1643,1584,1678,1736,1571,1493,1970,2291,2306,1991,1662,1641,1215,1044,1073,1287,1490,1379,906,425,501,1130,2128,2168,1980,1964,2042,2244,2460,2596,2587,2351,2364,2522,2364,2292,2243,2206,2288,2229,2753,2452,2437,2687,2522,2579,2210,1587,1712,2073,1802,1979,2046,1832,2122,2118,1908,1788,1784,1409,2174,3121,1676,1063,1994,3144,3255,3177,2311,2214,2165,2001,1626,1544,1321,1307,1952,2152,1987,1892,1938,1676,1570,2199,1950,1596,2095,2103,1908,1903,1860,1764,2266,1970,1917,1733,1874,1893,1842,1909,1566,1377,1386,1365,1898,2238,1566,1376,1117,1074,1206,1344,1343,1477,2108,3094,3364,2742,2696,3212,2945,2565,2855,3429,2472,2007,1875,1681,1668,1900,2536,3372,3038,1604,1876,2236,1784,1598,1936,2279,2234,2658,2876,2903,2648,2040,2242,2437,1942,2578,2654,2810,2800,2287,1692,1575,1809,1720,1640,1948,1815,1658,1767,2018,1792,1804,1886,1844,1699,1759,1896,1919,1904,1714,1857,2029,1680,1645,1648,1640,1768,1747,1574,1579,1759,1703,1864,1839,1460,1401,2270,3631,3055,3257,3172,2918,2287,2564,3146,3016,3010,2843,2543,2590,2165,2094,2198,2142,2049,1995,2145,3018,3552,3674,3684,3319,2818,2770,2853,2304,1633,1569,1966,1792,2024,2301,2322,1907,1522,1874,2104,2143,1738,2248,2212,1910,1593,1470,2102,2873,2790,2521,2798,2294,1622,1549,2326,2367,2635,2669,2829,2852,2530,2272,1935,1910,2147,2375,2611,2945,3154,3039,2877,2522,2388,2670,2471,2481,2611,2459,2471,2602,2426,2674,3234,2437,1781,1556,2214,2790,2072,1422,1418,1479,1542,1967,2351,2178,2417,2250,1971,1749,1598,1697,1763,2120,2412,2474,2847,2668,1876,1695,1837,1667,1560,1911,1879,1635,1545,1547,1766,1693,1904,2008,1678,2154,2188,2164,2552,2879,2874,2729,2492,2226,2474,2778,2005,1451,1478,1708,2018,2086,2210,2227,1770,1430,1468,1511,1834,1766,1766,1967,1758,1665,1639,1487,1839,1824,1415,1236,1285,1353,1630,1926,2344,2277,2046,2417,2048,2322,2118,2037,1848,1675,1620,1620,1566,1737,1919,1776,1636,1582,1461,1541,1550,1603,1724,1955,2208,1728,1535,1863,1740,1461,1956,2408,2461,1995,2047,2204,2132,2125,2220,2338,2292,2171,2256,2231,1720,1527,2049,3396,3316,2873,2666,2820,3116,3543,3529,3416,3444,3206,2694,2431,2662,2501,2323,2127,2457,2029,1660,1802,2056,2525,2428,1925,2043,1800,2232,2019,2073,2391,2408,2509,2527,2286,2570,2389,1965,2149,2762,2477,1919,2135,2855,2735,2614,2933,2757,2028,1802,2316,2512,2291,2414,2441,2485,2199,2342,3060,3509,3560,3252,2799,2384,2807,3807,3718,2532,2667,2916,2787,2498,2775,3083,2859,2835,2584,2427,2709,2691,2470,2580,2975,2768,2717,2802,3082,3133,3241,3364,3154,2736,2484,2236,2042,2074,1715,1814,1809,1738,2079,2150,2292,2416,2066,1638,1864,2178,2137,2154,2325,1852,1716,1847,1888,1883,1990,2067,1853,1651,1593,1760,1738,2220,2809,2456,2521,2791,2324,1688,1541,1521,1533,1705,1780,1886,2235,2504,2573,2712,2473,2503,2133,1870,1732,1582,1651,2035,2136,1936,1759,1806,2143,2171,1652,1466,1622,2100,2373,2258,2458,2569,1979,1677,1699,1671,1611,1451,1481,1454,1517,1998,2468,2587,2544,2313,2237,2330,2216,1998,1915,1560,1207,988,1167,1545,1968,2371,2718,2902,2909,3124,3459,3495,3009,3050,3382,3652,3738,3178,2357,2114,2329,2607,2813,2818,2416,2231,2486,2849,1963,1930,1775,1570,1693,1761,1590,1546,1643,1714,1728,1476,1578,1640,1572,1576,1666,1324,1644,1935,1723,2027,2459,2238,1924,2122,2599,2358,1957,1798,2145,2622,2244,1858,2525,3740,3840,2921,2122,1922,1942,1934,1860,2062,2308,2192,2028,2432,3171,3514,3354,2994,2463,2144,2013,1986,1778,1764,1817,1858,2081,2270,2350,2228,2082,1930,2068,3097,3418,2813,2347,2603,2673,2288,1919,1698,1836,1794,1673,1744,1815,2161,2475,2043,1839,1975,1765,1703,1776,1851,2022,2001,1968,2122,1967,1854,1934,1886,1836,1734,1857,2254,2973,3292,2777,2220,2169,2610,2700,2255,2266,2362,2862,3040,2993,3135,2846,2880,3305,3162,2442,1948,2426,2564,2769,3392,3755,3532,2851,2955,2692,1975,1744,1860,2327,2542,2104,2157,2842,3163,2858,2964,2994,2684,2194,2386,2877,2855,2910,2703,1942,1765],[2487,2577,2473,2678,2652,2624,2612,2984,3273,3261,3328,3265,3398,3241,2845,2465,2314,2200,2288,2308,2351,2643,2597,2176,1909,1873,1926,1792,1765,2111,1960,2010,2300,2434,2650,2501,2163,2081,2370,2437,2131,2908,3283,3521,3378,3327,3385,3652,3907,3211,2854,2957,2923,2880,3285,3916,3627,3036,2918,2674,2149,1996,2099,2066,1885,1629,1505,1424,1675,1934,1700,2083,1765,1676,1853,2126,1735,1579,1930,2085,2149,2331,2563,2395,1857,1573,1742,1881,1835,2188,2552,2588,2485,2405,2369,2175,2192,2947,2910,2642,2377,2271,2535,2651,2448,2267,2352,2707,2604,2364,1871,1711,2253,1963,1911,1945,2188,2066,2266,2890,2714,2373,2490,2752,2553,2380,2526,2790,2869,3083,2518,2142,2229,2513,2873,2504,2417,2697,2472,2576,2715,2215,2372,2503,3204,3852,3507,3329,3741,3960,4124,3485,2569,2553,3018,2734,2131,2429,2510,2121,1683,1686,1745,1880,1962,2139,2225,2306,2322,2002,1794,1968,2116,2406,2488,2135,2092,2469,2439,2140,2439,2168,1970,2431,2524,2270,2402,2784,2635,2906,3350,3353,2932,2871,3462,3510,3538,3537,3307,3197,2424,2093,2194,2445,2891,2681,2339,2128,2326,2824,3020,2784,2950,2944,2869,2902,2667,2491,2224,1904,1810,1975,1981,2059,2336,2446,2205,1995,2128,2539,2571,2520,2552,2818,2545,2122,2348,2569,2260,2415,2082,1967,1993,1968,1857,1754,1747,2207,2623,2643,3296,3079,2108,2321,2592,3273,2894,2168,1911,1992,1997,1892,1782,1866,1836,1843,2285,1518,1209,1681,1953,2297,2284,2984,3319,2866,2593,2598,2881,2851,2697,2648,2100,2180,2430,2204,2040,1980,2578,2842,2460,2658,3254,2911,2447,2431,1712,2104,2400,2263,2814,3070,2534,3060,3840,4460,4564,4080,3640,3322,3577,3109,3111,3010,3182,3036,3239,3443,3272,3008,2602,1977,1592,2130,2565,2468,2506,2821,3515,4002,4189,3780,3273,3361,3103,2632,2634,2420,2364,2312,2026,2001,2186,2049,1879,2013,2486,2243,1805,2152,2694,2129,1813,1737,2074,1989,1549,1663,1783,1745,1902,2318,2352,1850,1445,1627,1831,2081,2168,2002,1896,1593,1430,1445,1590,2020,2194,1685,1508,1635,3091,3804,3583,3406,2980,2371,1873,1912,2220,1896,1753,1670,1492,1590,1789,2302,1936,1643,1808,2198,2395,2028,1925,1964,1874,1958,1848,1982,1732,1889,1891,3273,3683,3587,3742,3584,3426,3749,3557,2398,1759,1806,1518,1603,1500,1483,1632,2283,2630,2275,1756,1913,2251,2599,2154,2147,2501,2573,2010,2807,3073,2597,2181,2401,2896,2763,2692,2415,2298,2250,2137,1822,1881,2443,2287,2498,3009,3300,3167,3007,3230,3033,2717,2616,1996,2594,3295,3365,3356,3459,3462,3467,3278,2610,2711,3161,3437,3617,3676,3556,3557,3458,3758,3542,3052,3238,3653,3324,2255,2201,2832,3195,3024,2084,1436,1783,2186,2019,2148,2024,1592,1649,1890,1875,2419,2521,2136,1841,1531,1537,1541,1474,1469,1523,1634,1836,2708,2886,2625,2818,2213,2205,2740,3386,2990,1910,1464,1390,1748,2386,2768,2574,2574,2531,2586,2776,2703,2587,2578,2543,2281,1954,1912,1665,1472,1455,1393,1395,1692,2431,1993,1582,1383,1460,1483,1528,1515,1444,1497,1617,1704,1788,1704,1591,1582,1634,1591,1559,2120,2373,2476,2766,2227,1746,2093,1991,1526,1496,1587,1586,1981,2380,2483,2237,1964,1876,2133,2116,1993,2753,2469,2010,1646,1464,1526,1683,1661,1616,1494,1480,1605,1721,1678,1528,1516,1442,1575,1680,1687,1521,1478,1482,1515,1709,1974,2026,1875,1537,1520,1820,1854,1680,2191,2428,1836,1580,1771,2124,2272,1920,1792,1987,1861,1754,1785,1495,1545,1690,1350,1244,1287,1236,1279,1321,1351,1349,1287,1355,1223,1256,1254,1130,1207,1228,1118,1564,2261,2288,2017,1628,1325,1349,1437,2002,1655,1392,1240,1281,1314,1331,1375,1337,1266,1414,1426,1487,1737,1493,1289,1371,1387,1244,1259,1207,1456,1840,1568,1503,1383,1322,1324,1643,1758,1631,1424,1368,1337,1283,1332,1373,1218,1360,1404,1283,1456,1677,2049,2327,2030,1425,1335,1494,1474,1406,1319,1425,1350,1382,1506,1520,1475,1328,1186,1570,1918,1578,1360,1180,1360,1542,1759,1793,2176,1841,1746,1618,1468,1645,1650,1483,1666,2091,2029,1898,1976,1742,1564,1395,1421,1363,1500,1667,1844,2118,2295,2063,1643,1095,1076,1115,1026,1207,1378,1541,1543,1803,2155,2183,2245,1904,2169,2787,1969,2475,2757,2938,2332,1942,2137,2052,2274,2596,2431,2819,3300,2268,2217,2779,2843,1949,1990,2115,2270,2170,1974,2056,1976,2114,1730,2348,2792,2779,1811,1575,1882,2799,2696,2575,3088,2752,2410,2400,2266,2741,3375,2844,2251,1628,2060,2208,2331,2777,2310,2090,2355,2642,2653,2632,3008,2930,2353,2003,1887,1803,2434,2117,1779,2722,2873,2415,2067,1951,2347,2751,3741,3095,2562,2337,1854,2298,2290,2464,2790,2503,3153,3371,3170,2148,1827,2328,2833,2684,2379,2714,2589,1888,1855,1807,1950,2072,1890,1504,1626,2366,2352,2119,2543,3284,2897,1890,2103,2110,2026,2194,1760,2186,2394,2019,2292,2188,1916,2313,2272,2039,2500,2783,3060,2850,1931,1840,2176,2357,2365,2756,3701,4240,3096,1550,1637,2811,3825,3306,2025,2106,2317,2583,3046,3603,3798,3972,4285,4135,3718,3127,2520,3107,3812,3956,4046,3464,2709,2263,2020,2049,2349,2442,2396,2336,2131,2139,2097,2163,2071,2082,2196,2055,1935,1582,1494,1824,2027,1930,1689,2168,2967,2593,1988,1627,1726,1573,1290,1058,1033,1317,1554,1516,1345,875,1282,1862,2459,2251,2136,2069,1851,1897,2050,1605,1493,1785,1792,2008,1935,2209,2157,2382,2701,3054,2758,2316,2414,2337,2453,2376,2097,1892,2009,2049,1659,1910,2077,2011,2352,2144,1722,1698,2018,1561,1475,2934,2134,2121,2634,2789,3198,2851,2541,2733,2512,2059,1608,1254,1335,1920,2224,2296,1964,1712,1824,1250,1735,2932,2262,1971,2576,2308,1703,1637,1817,2303,2614,1840,1643,1634,1913,1555,1815,1780,1241,1486,1405,1735,2175,1574,1414,1221,1114,1134,1078,1304,1726,1861,2348,3165,3280,2833,2991,2999,2888,2971,3554,3076,2060,1883,1758,1672,1726,2055,2814,2759,1690,1599,2060,1791,1407,1696,2356,2654,2679,2998,3261,3234,2850,2428,2271,2050,1907,2390,2752,2990,2963,2559,1930,1699,1910,2098,2004,1986,1915,2014,1901,1998,1836,1753,1620,1837,1937,1885,1825,1734,1848,1837,1865,1834,1930,1780,1766,1856,1933,1807,1507,1697,1849,1626,1661,1610,1603,1589,1834,2373,2153,2532,3046,3177,2944,3027,3099,3095,3535,3528,3620,3462,2658,2375,2814,2535,2121,1852,2225,3405,3854,3768,3671,3240,2316,2526,2370,1828,1663,1704,2080,1945,2114,2426,2042,1707,1362,1602,2033,2208,2024,2478,2002,1510,1675,1851,2576,3316,2317,1822,2032,1581,1794,1550,2090,2833,3425,3418,2809,2602,2819,2524,1975,1711,1880,1916,2401,2342,2178,2469,2874,2636,2448,2461,2525,2394,2136,2394,2862,2700,2536,2285,2636,2312,1746,1759,2026,1861,1641,1631,1644,1799,1782,1859,2110,2293,2398,1886,1708,1693,1469,1391,1614,1983,2065,2387,2285,1823,1685,1529,1543,1653,1901,2011,1852,1625,1619,1500,1461,1505,1666,1661,1748,2046,1855,2045,2459,2641,2577,2467,2153,2387,2876,2640,2122,1599,1811,2195,2471,2403,2306,2481,2195,1841,1749,1777,1715,1691,1884,2053,1673,1598,1561,1582,1826,1669,1511,1416,1364,1401,1564,1829,2151,2069,2135,2208,2174,2295,1927,1951,2199,2193,1885,1883,1806,1996,2000,1706,1907,1865,1603,1487,1444,1629,1632,1858,1976,1586,1622,1929,2023,2077,2521,2862,2702,2193,2166,1952,1844,2290,2433,2276,2226,2294,2447,2209,1764,1636,2078,2613,2491,2623,2701,2843,3352,3162,2712,2727,3206,3053,2332,2191,2284,2951,2979,3037,3356,2577,2008,2478,2608,2813,2770,2159,2213,2035,2136,1826,2315,2457,1857,1789,2027,1932,1913,2007,2166,2193,2267,2216,2304,2876,3037,2510,2204,2579,2492,1933,1627,2460,2277,1684,2004,2404,2380,2287,3062,3449,3521,3404,3140,2989,2761,2787,3366,3921,2686,2618,3042,3200,3470,3514,3340,3245,3150,2998,2436,1786,2131,2501,2603,2471,2409,2652,2895,3187,3313,3251,3274,3106,2294,2266,2022,2110,2258,1975,2460,2292,1859,1904,2004,2179,1874,1267,1350,1828,2460,3061,3133,2866,2333,2120,2192,2235,1995,1925,2005,1706,1709,1895,1967,2030,2131,2647,2596,2759,2618,2114,1722,1516,1364,1505,1636,1765,1820,2072,2348,2770,3014,2829,2645,1977,1660,1770,1593,1515,1781,1888,2060,2198,1857,1638,1788,1756,1795,1895,1959,2155,2497,2932,2784,2369,1990,1883,1730,1596,1509,1518,1598,1575,1976,2397,2564,2581,2202,1937,2187,2224,2178,1812,1329,1112,1383,1676,1738,2112,2631,2626,2693,2774,3507,3873,3675,2968,3191,3666,3551,3186,2863,2377,1990,2047,2510,2822,2549,2225,2397,2573,2274,2057,2237,1930,1742,1958,1838,1654,1639,1699,1681,1788,1688,1450,1481,1366,1489,1600,1368,1390,1444,1496,1771,2198,2144,2037,1995,1975,1774,1786,1709,2127,2329,2111,2457,3048,3527,3476,2240,2332,2092,1797,1820,1904,2093,2111,1937,2034,2253,2444,3206,3218,2691,2625,2200,2020,2020,1857,1754,1730,1812,1980,1974,2150,2299,2505,2593,2614,3060,2853,2799,2597,2810,2669,1974,1469,1539,1875,1489,1342,1831,2005,2291,2337,1998,1982,1817,1727,1738,1733,1860,1909,1908,1969,1747,1724,1706,1770,1847,1854,1804,2028,2164,2598,3288,3239,2666,2685,3208,3164,2819,2542,2178,2702,2877,3049,3449,3090,3061,3407,3414,2435,2089,2938,3236,2854,3326,4067,4112,3388,3208,3157,2708,2823,2806,2781,2611,2204,2120,1897,1985,2105,2798,3170,2418,1969,2173,2740,2902,2987,2587,1884,1720],[1396,1343,1644,1821,2297,2587,2700,2997,3276,3628,3670,3704,3460,3472,2818,2466,2264,2072,2327,2382,2581,2868,2474,1931,1990,2110,2098,2089,2022,2021,2181,2160,2152,2215,2128,2049,2042,2220,2344,2511,2734,3308,3362,3441,2993,2923,3459,3924,4070,3809,3278,3075,2946,2443,2877,3440,3242,3195,3150,2850,2221,1919,2041,1973,1973,2017,1500,1440,1799,1746,1588,1808,2045,1696,1650,2156,2046,1846,2234,2261,2120,1916,2122,2026,1742,1696,1986,1817,2248,3262,3861,3914,3334,2884,2809,2385,2190,2554,3116,2823,2084,2575,3147,2435,2147,1925,2187,2710,2678,2149,1919,1637,1939,2289,2330,2241,2742,2774,2940,3042,2898,2497,2489,2633,2518,2405,2208,2819,2962,2993,2513,2147,2591,3187,3216,2429,1844,2193,2348,2069,2243,2484,2518,2757,3574,4017,3438,2987,3242,3387,3620,3247,2451,2326,3163,2884,2041,2343,2743,2204,1714,1639,1641,1674,1896,2104,2100,2286,2159,1962,2262,2302,2149,2372,2583,2308,1836,1949,1969,2280,2881,2563,2910,2518,2549,2451,2608,2840,2684,2928,3472,3250,2818,3021,3465,3646,3548,3751,3651,3306,2608,2299,2156,2126,2448,2518,2543,2240,2377,2246,2764,3166,2938,3144,3162,2943,2802,2635,2294,1916,1896,2181,2102,2131,2292,2861,2758,2520,2308,2254,2346,2343,2443,2508,2199,2029,1978,1903,1931,2041,2139,2062,2396,2331,1822,1556,1289,2019,2750,2514,2600,2390,2012,2901,2709,2557,2483,2220,1984,1873,1936,2050,2050,2194,2049,1890,2433,1631,856,1130,1890,2114,2356,3388,3748,3437,2999,2851,2979,3041,2994,2575,2342,2907,2615,2267,2034,1875,2377,2799,2624,3120,3112,3352,2912,2702,2238,2360,2610,2638,2993,3254,3340,3615,3755,4229,4023,3322,3023,3007,2596,2343,2511,2553,2634,2969,3190,3292,3474,3373,3164,2254,1619,2270,2802,2491,2395,2898,3281,3530,3721,3531,3224,3341,2962,2818,2642,2653,3495,3702,3241,2932,2455,2160,2034,1945,2445,2252,1834,1979,2144,1893,1780,1711,1716,1618,1734,2104,2368,1941,1586,2063,2122,2006,1655,1816,1814,1888,2084,1924,1588,1506,1671,1737,1894,2103,2175,1815,1683,1525,3265,4272,4045,3703,3048,2341,2120,1969,1887,1807,2070,1918,1655,1676,1715,2027,1702,2024,2157,1932,1746,1801,2286,2182,1968,2155,1645,1411,1624,2035,1996,2523,3659,3914,3292,3309,3529,3631,3200,2042,1444,1353,1495,1638,1524,1544,1694,1760,1803,2024,1893,1909,2256,2364,2276,1974,2125,1944,2139,2656,2631,2482,2326,2706,2787,2563,2476,2389,2423,1978,1716,1534,1817,1824,2008,2552,2921,3142,3178,3074,3166,3099,3291,2849,2436,3188,3373,3311,3248,3220,3293,3352,3318,3001,2896,3276,3526,3439,3261,3263,3262,3262,3284,2595,2214,2834,2966,2756,2103,2122,2640,3530,3128,1645,1203,1757,2143,2213,2405,2371,1919,2160,1993,2004,2460,2784,2514,2421,2221,1671,1600,1923,1675,1415,1751,2288,3020,3366,3382,3210,2943,2369,2188,2648,2459,1753,1622,2071,2459,2664,2735,2347,2556,2223,2406,2397,2698,2420,1938,2126,2050,1922,1834,1653,1479,1406,1518,1438,1624,1803,1686,1561,1462,1462,1440,1523,1625,1525,1582,1739,1523,1515,1498,1570,1694,1685,2160,2146,1872,2307,2967,2950,2120,1780,1673,1653,1633,1569,1482,1680,1886,1806,1604,1551,1620,1659,1933,1859,1834,2654,2486,1729,1409,1344,1426,1773,2037,1801,1718,1789,1634,1692,1722,1558,1521,1511,1680,1687,1462,1337,1365,1622,1747,1668,1486,1382,1353,1611,1722,1650,1640,1831,2077,1830,1572,1847,2272,2091,1914,1796,1769,1920,1744,1443,1403,1404,1665,1627,1217,1157,1202,1249,1267,1285,1323,1336,1252,1235,1327,1406,1336,1241,1372,1433,1136,1344,1526,1525,1433,1334,1816,1804,1447,1421,1406,1317,1365,1323,1267,1367,1704,1687,1346,1410,1318,1775,2305,1861,1546,1616,1348,1343,1370,1268,1384,1788,1459,1865,1954,1614,1456,1592,1768,1803,1585,1377,1259,1310,1332,1303,1384,1450,1368,1456,1522,1722,2010,2032,1787,1626,1629,1493,1600,1567,1490,1461,1478,1425,1366,1341,1324,1313,1207,1361,1531,1490,1681,3915,2690,1910,1991,1894,1955,1764,1881,1821,1551,1552,1556,1357,1666,2078,1826,1931,1810,1675,2063,2039,1787,1696,1691,1925,1803,1920,1866,1232,932,1262,1418,1191,1252,1498,1554,1512,1521,2203,2492,1751,1835,2210,2452,2925,1821,1511,1454,2078,2574,2327,1954,1865,1884,2167,2118,1858,2773,2578,2620,3166,2836,2185,2199,2114,2057,1757,1550,1952,2045,1898,1792,2282,2879,2895,1743,1452,2118,2759,2454,2027,2915,2631,2433,2250,2238,2972,3277,3377,2945,2154,1842,2093,2431,1998,1719,2185,2330,2099,2030,2106,2109,2270,2340,1960,1590,1535,2261,2618,2194,2409,2601,2332,2166,2308,2656,3388,3948,3677,3067,2583,2218,2196,1994,2207,2689,2347,2730,2562,3050,2219,2059,2352,2448,2714,2515,2562,3025,2051,1868,1533,1796,1707,1694,1806,2231,2480,2383,1946,2122,3055,2876,2265,2365,1979,2221,1870,1360,1622,1667,1924,1860,1520,1997,3022,2819,2108,2980,3149,2840,2370,1886,2163,2599,2310,2664,3050,3733,3886,2514,1368,1782,2887,4039,3679,2360,2368,2545,2231,2431,3232,3615,3760,3788,3990,4367,3790,2547,2920,3492,3751,3981,3586,2890,2067,1995,2356,2447,1851,1852,2311,1710,1493,1849,2498,2307,2326,2251,2410,2442,1740,1363,1346,1220,1357,1563,2214,2228,1416,803,880,1478,1854,1683,1388,1390,1432,1304,1146,1445,1446,1824,2017,2174,2016,1760,1770,2098,2760,2832,2055,2123,2241,1774,1785,1816,1709,1539,1659,1989,2067,1945,2350,2287,1901,1981,1635,2218,2670,2686,2336,1810,1764,1905,1770,2066,2399,2187,2153,2221,1680,1232,2990,3486,3363,2934,2634,2702,2434,2244,2191,1920,1510,1089,1342,1904,2076,2254,2097,1900,1591,1414,1321,1932,2004,1515,1771,2415,2057,1522,1481,2089,2921,2380,1603,1455,1530,1496,1667,1887,1282,1431,1659,1635,2144,1720,1400,1284,1131,1243,1194,1226,1765,2347,2756,2901,2708,2889,2974,2980,2883,2811,3011,3100,2414,1950,1830,1778,1666,1631,1846,1997,1603,1382,1865,2104,1842,2089,2288,2342,2585,2805,3282,3190,2955,2645,2186,2222,1986,2010,2238,2612,2808,2868,2515,2071,2004,1790,2264,2236,2133,2277,1970,2020,1973,1730,1750,1816,1835,2019,1955,1904,1848,1895,2039,2015,1932,1975,1824,1835,1777,1820,1811,1550,1750,1932,1808,1544,1661,1763,1722,1821,2245,2344,2785,3550,3812,3652,3398,3208,3243,3539,3652,3736,3632,3452,3128,3122,2736,2209,1969,2534,3595,3638,3418,3376,2938,2298,2294,2289,2559,2266,1935,2120,1991,2108,2514,1908,1753,1328,1638,2341,2590,2645,2758,2287,2001,1966,1867,2499,3482,2252,2269,2521,2084,2435,1934,2186,2640,2833,2943,2670,2495,2597,2578,2359,2231,2388,2437,2128,2187,2562,3150,3154,2760,2409,2158,2470,2523,2501,2564,2239,2256,2611,1973,2543,2530,2409,2609,2069,1681,2093,1931,1841,2066,1943,2172,2299,2391,2029,1645,1739,1576,1629,1716,1792,1953,2032,2313,1777,1427,1470,1417,1531,1656,1670,1671,1646,1989,2188,1635,1580,1313,1350,1399,1486,1530,2145,2426,2508,2307,2109,2134,1968,1780,1638,1758,1836,1638,1930,2833,3107,2711,2386,2490,2722,2895,2690,1921,1505,1725,1936,1697,1387,1439,1375,1533,1665,1914,2195,1735,1279,1343,1711,2035,2048,1700,1977,1955,2540,2216,1859,2139,2708,2707,2188,2246,2361,2408,1958,1754,2157,2210,1981,1678,1545,1624,1868,2121,2076,1681,1831,1949,2326,2546,2464,2408,2152,2010,2086,1836,1912,2366,2585,2445,1924,2200,2547,2273,1808,1467,1635,1936,2183,2863,2777,2703,3480,3124,2503,2352,2185,1897,1832,2552,2985,3442,3231,3097,3552,3164,2669,3175,2974,3012,2802,2496,2214,2401,2137,2093,2165,2032,2071,1569,1672,2055,1933,2226,2182,2070,2056,2473,2987,3309,3331,2705,2172,2358,2625,2343,2196,2721,2518,2226,2000,1827,2003,2236,2446,2722,2761,2993,2964,3010,3306,3237,3074,3646,3499,3349,3120,3377,3732,3557,3360,3472,3395,3358,2908,2655,2855,2958,2504,1937,2243,2447,2222,2580,2864,2763,2900,2631,2359,2612,2415,2380,2402,2188,2710,2626,2049,1989,2054,1968,1144,797,1294,2222,2807,2986,3340,2973,2387,2407,2371,2000,1758,1757,1914,1620,1899,2220,1956,2371,2442,2262,2437,2507,2354,2278,1838,1591,1544,1571,1821,2021,1887,2015,2315,2728,2648,2532,2430,1780,1744,1887,1805,1631,1665,1721,1731,1969,2244,1888,1782,2038,2224,2417,1949,1738,2219,2497,2645,2885,2584,2299,1904,1726,1655,1784,1788,1609,1670,1972,2194,1739,1619,1857,2014,1949,1800,1401,1283,1508,1547,1591,1967,2657,3164,2404,2235,2525,3082,3201,3400,3242,3222,3394,3570,3558,3160,2524,2215,2032,2300,2321,2191,2485,2744,2475,1685,1464,1801,1808,1665,2091,2119,1737,1640,1665,1844,2093,1946,1516,1184,1288,1630,1734,1960,2237,1770,1643,1662,1637,1752,1947,1850,1752,1653,1621,1698,2060,2518,2171,2685,2835,2865,2531,2319,2204,1824,1680,1740,1786,1942,2133,2289,2964,3240,2295,2667,2636,2577,2506,2107,2071,2048,1912,1899,1896,1743,1674,1752,2287,2347,2430,2616,2350,2519,2596,2323,2341,2444,1936,1604,1368,1312,1558,1559,1476,1619,2159,2211,2014,1979,1821,1674,2062,2313,2030,1629,1554,1797,1960,1814,1823,1778,1845,2028,1919,1919,2117,2053,2459,3060,3226,2375,2258,2940,3144,2570,2477,2296,2252,2361,2789,3415,3277,3145,3218,3229,2843,2428,3340,3746,3029,3349,4140,4079,3585,3120,2853,2840,3466,3316,2818,2522,2402,2344,2126,2232,2305,2698,2715,2036,2206,2530,3028,2801,3022,2832,2289,2178],[1406,1090,1065,1772,2364,2604,2767,2622,2980,3242,3143,3124,3169,3251,2621,2421,2175,1858,2286,2591,2951,3112,2601,2108,2347,2303,2257,2147,2108,1971,2058,2273,2149,2011,1807,1866,1894,2179,2096,2223,2801,3202,3262,3307,3352,3262,3386,3674,4156,4015,3779,3547,3266,2547,2361,2776,3029,2997,3171,3197,2603,2167,2126,2096,2042,1827,1394,1668,1999,2152,1844,1741,1736,1523,1977,2711,2309,1978,2286,2336,2132,1729,1627,1547,1928,2249,2194,2259,3119,3909,3766,3731,3905,3628,2930,2465,2770,2568,2708,2419,1821,2401,2662,2120,2069,1857,2243,2347,2444,2078,1967,1813,2470,3433,3032,2817,2969,2886,3710,3306,2502,2349,2903,2670,2711,2488,2258,2859,3022,3133,2938,2297,2630,2718,2382,1870,1659,2272,2329,1989,2243,2680,2575,2603,3184,3475,3377,2928,3186,3117,2584,2724,2525,2801,3241,3300,2821,2765,2784,2201,1633,1516,1515,1485,1881,2015,2056,2086,2452,2329,2271,2241,2178,2448,2562,2371,2244,2424,2123,2998,3855,3605,3111,2729,2543,2408,2626,2783,2698,2927,3215,3151,2512,2858,3115,3291,3405,3780,3662,2907,2469,2492,2254,2136,2455,2641,1948,2082,2373,2357,2978,2999,2669,2723,2784,3038,3226,3010,2754,2230,2235,2248,2243,2305,2430,2830,2850,3024,3097,2625,2093,1958,2015,2220,2395,2136,2032,2292,2211,2081,2094,2296,2885,2785,1851,1571,1571,2153,2508,2722,2767,2583,2423,2866,2766,2375,2105,2074,2020,1994,2626,2584,2780,2687,2567,2735,3313,2786,1754,1488,1891,1896,2195,3105,3293,3308,3161,2924,2971,2577,2819,2757,3019,3131,2586,2404,2458,2118,2576,2756,2998,3418,3001,3078,3039,2934,2950,2842,2657,2907,3116,3185,3686,3692,2939,3028,3488,3095,2911,3024,2945,2849,2629,2384,2434,2813,3260,3491,3371,3538,3387,2204,1675,2067,2314,2316,2665,3126,3385,3709,3709,3730,3564,3436,2255,1642,1850,2792,3454,3452,3615,3385,2716,2092,1738,2364,3429,2918,1902,1675,1737,1631,1661,1653,1514,1592,2024,2431,2847,2137,1874,2046,1675,1819,1654,1762,2000,2343,2512,2180,1651,1682,1744,1694,2187,2415,2367,2011,1826,1853,2966,4243,4239,3394,2596,2108,2368,2002,1676,1859,2216,2084,1982,2160,2363,2114,2193,2477,2264,2044,1860,2004,2125,1808,1910,1898,1713,1620,1856,1998,2037,2675,3883,3896,2943,3087,3304,3293,3182,2438,1923,1596,1625,1822,1988,1954,1640,1609,1653,1568,1756,1786,2029,2215,2416,1910,1936,2230,2485,2558,2624,2769,2556,2814,2503,2499,2721,2579,2081,2064,1789,1640,1743,1646,2496,2828,2634,2923,3007,2913,2609,3081,3546,3007,2707,3326,3598,3385,2999,3218,3300,2896,2851,3275,3377,3190,3187,3417,3341,3007,2814,2833,2488,2054,2281,2499,2060,1849,1980,2829,3231,3571,2732,1430,1531,2131,2233,2309,2210,2166,2278,2586,2553,2701,2732,2790,2580,2902,2929,2120,1593,1682,1464,1499,2061,2511,3115,3581,3494,3137,3024,2905,2591,2233,2038,1992,2310,2814,3134,2543,2316,2239,2513,2469,2523,2532,2564,2337,2162,1857,1576,1874,1822,1670,1558,1703,2009,1632,1398,1577,1584,1488,1555,1481,1506,1773,1571,1417,1525,1576,1438,1311,1328,1411,1521,1700,2302,2238,1827,2635,3219,2854,2083,2104,2115,1735,1610,1745,1821,1834,1757,1527,1554,1642,1706,1964,2689,2326,1824,2071,1811,1324,1383,1694,1787,1922,1962,2021,1927,1814,1735,1713,1741,1594,1648,1789,1901,1637,1362,1500,1747,1882,1611,1257,1311,1617,1866,1757,1660,1753,1866,1838,1708,1664,1807,2167,2298,1971,1593,1687,1663,1543,1572,1690,1501,1354,1382,1212,1110,1100,1141,1286,1329,1350,1301,1252,1158,1183,1341,1527,1555,1330,1380,1522,1174,1274,1454,1376,1286,1407,1628,1612,1446,1545,1537,1606,1921,1683,1432,1483,2083,1748,1297,1298,1203,1494,1880,1769,1832,1719,1425,1476,1354,1346,1312,1395,1576,2056,2188,1891,1608,1570,1805,2002,1786,1816,1579,1453,1395,1415,1422,1375,1454,1484,1356,1385,1583,1763,1698,1510,1417,1024,1375,1578,1470,1416,1569,1417,1299,1411,1374,1314,1185,1253,1328,1394,1508,4412,3223,2060,2136,2008,1641,1466,1300,1238,1520,2145,2208,1817,1820,1887,1547,2157,1888,1744,2422,2269,2064,2046,1836,1819,1730,2018,2209,1687,1484,1708,1666,1331,1393,1542,1619,1611,1654,2766,2698,1847,1531,2262,2459,2364,1888,1688,1827,1951,2509,2940,2365,2395,1855,1928,1999,1804,1998,1970,2476,2603,1973,1595,1727,2015,1850,1736,1968,1989,1933,1264,1508,2002,2324,2168,1544,1563,1892,1837,1701,1607,2193,2339,2227,2373,2443,2860,2868,2853,3028,2463,2236,2984,2342,1773,1932,2188,2031,1892,1941,2029,1974,2122,2248,2167,1932,1985,2570,2785,2285,2104,2323,2208,2425,2333,2924,3452,3388,3100,2785,2414,2504,2728,2630,2972,3814,3093,2495,2278,2635,2689,2435,2249,2407,2934,2844,2231,2866,1719,1418,1561,1645,1587,1764,1902,2128,2414,2438,2163,2260,2896,3098,2728,2155,2090,2030,1664,1772,1731,2077,2323,1946,1865,2220,2802,2554,1831,2222,2077,2210,2574,2691,2545,2402,2604,2992,3502,4265,4336,3378,1728,1970,2676,3641,4171,3298,2249,2149,2357,2630,2662,2333,3085,3808,3775,3903,3930,2956,2305,2576,3318,3920,3929,3333,2656,2677,2742,2427,1485,1776,2198,2180,2347,2561,2484,2103,1905,1848,2185,2046,1733,1663,1011,798,792,1165,1675,1361,918,979,1224,1532,1904,1931,1948,1926,1850,1439,1380,1560,1678,1496,1768,2142,1808,1552,1738,1854,2055,2129,1991,1947,2112,1658,1920,2298,2237,1949,1830,1704,1578,1673,1817,1617,1780,2081,1817,2756,2705,2495,2164,1782,1803,1945,1788,1603,1770,1912,1732,1595,2032,2039,2589,2768,2358,2108,2223,2154,2329,2419,1678,1433,1083,1262,1933,1810,1516,1797,1778,1363,1155,1197,1612,2116,1798,1405,1870,1930,1669,1467,1718,2627,2767,1957,1483,1600,1526,1672,1894,1518,1311,1692,1676,2026,1956,1457,1287,1080,1154,1171,1373,2140,2600,2791,3157,2910,2542,2791,3178,3128,3414,3395,2865,2444,2408,2383,2038,1886,1912,1863,1494,1301,1534,1781,2033,1867,2070,2773,2668,2473,2428,2319,2922,3135,2965,2530,2433,2210,1931,2141,2299,2417,2521,2463,2215,1698,1695,1777,1985,2111,1910,1577,1614,2024,2070,1677,1876,2132,1860,1993,1956,1956,2004,1925,2077,2046,1809,1748,1876,1830,1632,1751,1748,1639,2008,2030,1854,1706,1805,1786,1875,2120,2688,3145,3209,3488,3743,3928,3784,3677,3587,3628,3657,3457,3480,3633,3620,3461,2908,2324,1890,2308,3606,3782,3481,3305,2887,2412,2220,2556,2610,2176,2103,1951,1843,2096,2307,1751,1310,1349,1671,2412,2476,2342,2386,2132,2266,1883,2105,2916,3562,2058,2261,2563,2501,2339,2114,2358,2406,2141,2273,2750,2910,2343,2490,3094,2996,2476,2678,2052,1968,2707,3333,3295,2777,2395,2370,2420,1973,2127,1938,1553,1900,2104,1855,2076,2352,2451,1959,1635,1949,2321,1894,1765,1798,1842,2061,1980,2126,1917,1644,1672,1854,2131,2098,1961,2364,2451,2186,1690,1530,1498,1399,1556,1773,1547,1411,1428,2036,2145,1673,1533,1323,1354,1595,1674,1735,2711,2809,2335,2424,1772,1511,1545,1310,1356,1280,1384,1322,1839,2991,3388,2872,2355,2589,3064,3061,2367,1472,1392,1573,1681,1681,1590,1520,1496,1569,1565,2038,2854,2276,1528,1803,2004,2323,1925,1548,1834,2189,2417,2103,1991,2039,2322,2719,2585,2723,2662,2341,1791,2215,2512,2377,1920,1538,1630,1871,2009,1812,1880,2166,2041,1951,2192,2569,2667,2048,1686,2009,1917,1591,1594,2142,2268,1958,2042,2137,2689,2513,1806,1364,1773,1951,1869,2215,2590,3141,3794,3161,2770,2037,1494,2046,2711,3089,3329,3552,3575,3428,3531,3367,2975,2849,2802,2810,2750,2516,2579,2408,1987,2265,1901,2076,2383,2018,2025,2257,2267,2003,1780,2056,2292,2576,2919,2875,2962,2934,2630,2587,2762,2373,2196,2512,1854,1626,2016,2138,2475,2398,2402,2554,2912,3265,3052,3181,3505,3259,2928,3127,3459,3709,3774,3324,3096,3286,3109,3283,3214,3106,2733,2822,3060,2709,2215,2350,2510,2352,2246,2528,2610,2441,2640,2756,2844,2872,2525,2542,2532,2449,2933,2427,2420,2128,1914,1916,1150,1028,2123,2412,2220,2669,3123,2886,2453,2273,2087,2002,1844,2001,1853,1642,1892,2368,2182,2034,2071,1832,1885,1920,2093,2155,2055,1712,1671,1643,1551,1614,1909,1788,1616,2040,2469,2031,1921,1383,1523,1669,1837,1925,1736,1541,1443,1760,2034,1690,1868,2308,2103,2181,2072,1848,1879,2251,2503,2665,2441,1775,1705,1866,1750,2032,2057,1977,1785,1638,1557,1543,1698,1853,1831,1820,1554,1286,1526,1709,1663,2091,2481,2468,2286,1758,1610,2051,2300,2447,2667,2951,3348,3583,3759,3777,3074,2352,2047,1983,2093,1817,2154,2632,2518,1946,1612,1665,2173,2142,1782,2031,2110,1793,1664,1533,1804,1856,1799,1856,1666,1970,2194,2008,2129,2512,2414,1899,1731,1780,1760,1755,1885,1933,1800,1768,2096,2843,3437,3104,3556,2690,2309,2017,2190,2013,1786,1744,1674,1761,2237,2600,3076,3464,3835,3041,2125,1749,1936,1946,2045,2066,1824,1924,1891,1983,1924,1988,1910,2012,1970,1975,2281,2554,2858,3023,2444,2301,1965,1725,1565,1638,1811,1678,1628,1581,1824,2491,2337,1919,2057,1912,1710,2093,2076,1834,1628,1807,2264,2191,1979,1998,1970,1977,1958,1959,2242,2224,1882,2177,2688,2976,2356,2457,3276,3292,2843,2697,2496,2474,2596,2656,2985,3011,3429,3416,3416,3149,2599,2984,3374,3097,3340,3859,3754,3465,3374,2954,3009,3392,3146,2669,2463,2304,2252,2249,2311,2686,2635,2099,1948,2202,2802,3083,2598,2974,3183,2912,2859],[1952,1544,1348,1644,1935,2490,2653,2610,2858,3135,2922,2640,2841,2867,2442,2556,2478,2224,2552,2873,3074,3387,2513,2297,2298,1967,1952,2022,1860,1713,1873,2078,2017,1994,1919,1914,1865,2017,1820,2181,2773,3199,3226,3210,3396,3009,2822,3181,3789,3622,3680,3660,3500,3164,2727,2624,2732,3165,3764,3594,2861,2243,2169,2067,2014,1870,1542,1836,2652,3053,2432,1863,1933,2551,2987,3131,2518,2374,2730,2237,2128,1799,1632,1779,2142,2619,2404,2613,3381,3317,3381,3470,3476,3103,2757,2640,2902,2588,2074,2019,2153,1874,2184,2510,2346,2041,2164,2197,2214,2107,1982,2348,3018,3060,2750,2639,2658,3218,3130,2524,2022,2260,2177,2379,2818,2575,2549,2784,3063,3220,3137,2396,2541,2061,1793,1952,2058,2837,2623,2691,3156,2931,2793,2851,3447,3669,3250,3175,3627,2928,2122,1975,2344,3173,3746,3663,3422,3094,2643,2035,1548,1426,1422,1598,1961,1995,2079,2284,2432,2057,1951,2373,2196,2272,2146,1974,1906,2197,2134,3326,4050,4053,3676,2964,2458,2267,2698,2869,2674,3102,3487,2974,2162,2565,3168,3283,3348,3675,3666,3309,2917,2740,2404,2645,2440,2286,1670,2066,2602,2524,2568,2699,3110,3354,3354,3306,3212,2775,2490,1930,2182,2145,1982,1890,2337,2624,2586,3266,3561,2878,2315,1803,1986,2001,2468,2203,2354,2520,2286,2352,2213,2388,3217,3189,1811,1510,1870,2282,2666,2944,2746,2630,2729,2579,2524,2328,1704,1905,2107,2303,2768,3203,3354,2948,2575,2811,3188,3154,2744,2272,2098,1961,2243,3123,3175,3193,3117,2893,3079,2879,2932,3330,3253,2572,2160,2727,3500,3185,2996,2944,3223,2920,2766,3057,3195,3199,3351,3024,2740,2928,2843,2813,3222,2922,2031,2533,3614,3538,3372,3376,3193,3576,3138,2841,2543,2948,3145,3417,3553,3737,3273,1967,1495,1654,1746,2106,2377,2963,3543,4237,4220,3973,3667,3334,2260,1476,1794,3030,3252,2976,3447,3400,2567,2041,1873,2714,3417,2669,1672,1637,2132,2230,1623,1599,1678,1527,2039,2209,2766,2091,1829,1787,1498,1441,1727,1864,1888,2263,2657,2027,1410,1467,1632,1780,2112,2599,2631,2080,2049,2017,2185,2932,2676,1716,1539,1761,2040,1889,1456,1567,1865,2016,2216,2310,2444,2588,2340,2037,1875,2215,2512,2482,1792,1621,1752,1838,2021,1971,1783,1521,1674,2380,3780,3378,2933,2917,2574,2232,2082,1732,1800,1902,1862,1884,1598,1588,1650,1729,1729,1432,1708,1896,2158,2400,2254,1983,2072,2105,2215,2077,2366,2810,2830,2221,2422,2214,1636,1281,1971,2990,2396,1884,2126,1997,2419,2176,2541,2930,2690,2517,3028,3528,3396,3106,3125,3283,3396,3266,3152,3300,3250,1917,1334,2020,2924,3216,3152,3285,2836,1889,2023,2664,2096,1858,1957,1942,1958,2355,2906,3396,3209,2929,2392,1797,1920,2248,2502,2825,2412,2278,2453,2713,2780,3006,3331,3099,2576,2826,3132,2604,2046,1721,1707,2187,2758,3205,3552,3473,3466,3354,3109,3498,3874,2923,1967,2031,2398,2890,3000,2575,2265,2004,2124,2831,3263,2929,2579,2238,1847,1575,1547,1875,1674,1730,1472,1439,1706,1579,1403,1443,1415,1413,1570,1691,1489,1439,1466,1434,1430,1395,1532,1516,1432,1690,1824,1590,2135,2264,2242,2475,2654,2399,2012,1843,1848,1695,1468,1693,1937,1724,1864,1766,1834,1921,1953,2028,2742,2579,1861,1655,1720,2066,2536,2549,2264,2246,2164,2051,1746,1720,1975,1909,1800,1721,1710,1805,1777,1708,1846,2061,1998,1700,1446,1413,1681,1859,1793,1847,2158,2282,2061,1761,1582,1768,2252,2630,2384,2114,1603,1494,1432,1333,1782,1940,1434,1370,1244,1227,1184,1172,1136,1246,1485,1615,1290,1159,1267,1325,1291,1440,1525,1400,1204,1232,1140,1173,1257,1202,1381,1571,1565,1516,1362,1456,1540,1740,2127,1864,1564,1526,1828,1593,1361,1298,1239,1359,1378,1488,1618,1642,1503,1403,1364,1404,1372,1257,1566,1679,1534,1625,1585,1400,1472,1753,1674,1603,1699,1641,1518,1578,1460,1319,1377,1280,1265,1389,1416,1452,1623,1494,1350,1230,1357,1493,1538,1426,1302,1298,1354,1431,1433,1441,1283,1178,1268,1616,1677,2247,1954,1970,2203,1764,1543,1773,1350,964,1464,2453,2596,2100,1907,1715,1698,2152,2022,2236,3066,2369,2029,1916,1788,1620,1638,1479,1671,2147,2133,1731,1524,1640,1836,1723,1919,1720,1787,2789,2584,1903,2066,2386,2101,2258,2202,2039,2366,2319,2680,3209,2830,2339,1860,2025,1888,1803,1795,1948,2273,2030,2309,2017,2082,2504,2387,2070,1899,1908,2177,1710,1454,1704,1989,2183,2148,1899,1788,2343,1882,1318,1642,2743,2438,2322,2863,3484,3439,2988,2797,2485,2888,3233,2205,1695,2284,2155,1859,2518,2841,2467,2283,2366,2579,2504,2609,2823,2829,2618,2783,2851,2588,2338,2132,2249,2886,2845,2514,2510,2504,1816,1892,2326,2908,3809,4220,3255,2708,2359,2384,2880,2542,2279,2059,2756,3174,2211,2843,1858,1283,1493,1773,2012,1968,2018,2440,2375,2294,2691,3017,2901,2954,2630,2280,2578,2256,2191,2334,1985,2135,2326,2220,1876,1984,2248,1941,1566,1375,1527,2061,3018,3120,2353,2426,2862,2791,3499,4475,4544,3801,2407,2249,2895,3758,4355,3365,1789,1953,2191,2128,2050,1566,2191,3335,3706,3602,3465,2426,1997,2352,3139,3718,3813,3739,3519,3686,3185,2333,1642,2119,2742,3038,3288,3420,3172,2609,2066,2269,2425,2233,2060,2257,1361,1109,1135,1476,1622,1537,1335,1266,1532,1606,1587,1842,2279,1942,1829,1553,1414,1578,1556,1266,1852,2448,2213,1908,1719,1826,1917,1915,1930,1716,1371,702,937,1588,1937,1936,1908,1858,1950,1932,1862,1816,1836,1764,1816,2132,2304,2460,2181,1864,1663,1743,1960,2070,2205,1910,1623,1627,1965,1955,1992,2407,2244,1933,2105,2064,2170,1844,1521,1653,1396,1556,1677,1218,1017,1235,1255,960,996,1072,1423,1684,1431,1852,2190,1830,1639,1541,2079,2156,1759,1515,1615,2114,1564,1701,1316,1216,1620,1605,1891,2098,1576,1278,1131,1190,1207,1443,2662,3351,3159,3097,3197,2822,2620,3138,3623,3560,3670,3486,2820,2555,2621,2684,2264,2038,1777,1166,886,1430,1921,1829,1696,1780,2389,2744,3122,3536,3328,3089,2799,2259,2146,2321,2437,2022,2178,2690,2702,2625,2320,1547,1799,1564,1520,1561,1632,2130,2097,1865,1917,2091,2192,1744,1911,1768,1650,1767,1802,1807,1956,1900,1896,1876,1732,2014,2049,1772,1746,1746,1793,1950,2271,1874,1491,1665,1820,1843,2128,2272,2841,3264,3492,3432,3514,3916,3689,3669,3753,3459,3294,3284,3359,3811,3815,3296,2699,2270,1989,2058,3066,3570,3654,3706,3472,2862,2687,3286,2780,2184,2308,2160,1602,1624,1770,1597,1507,1803,1901,2182,2180,2172,2668,2242,1851,1464,1842,2556,3248,2112,1979,2621,2332,2026,2118,2428,2817,2731,2118,2406,3049,2476,2533,3449,3263,2530,2344,1904,1765,2557,2966,3020,2697,2623,2685,2608,1847,1854,1640,1882,2504,2198,1702,1687,1965,2359,1745,1491,1470,1738,1979,2139,1819,1599,1542,1535,1687,1650,1433,1543,2182,2646,2177,1844,2219,2055,1583,1510,1560,1719,1656,1592,1846,1601,1272,1333,1719,1725,1455,1332,1404,1496,1744,1786,2014,3318,3464,2236,1598,1445,1579,1488,1072,1343,1447,1412,1333,1837,2676,3252,3110,2634,2592,2688,2131,1660,1375,1282,1421,1347,1415,1592,1511,1587,1804,1560,1742,2180,1778,1946,2158,1952,2276,1889,1539,1676,1964,2331,2221,2208,2093,1803,2076,2589,3122,3052,2645,2702,2945,2544,2111,1800,1604,2006,2302,2630,2018,1843,2086,1982,1838,1988,2439,2452,2215,2391,2398,1606,1489,1521,1645,1846,1759,1902,2002,2410,2579,2246,2069,2366,1798,1656,2010,3028,3571,3680,3017,2522,2006,2419,3688,4002,3044,3111,3542,3332,3306,2964,3002,3112,2824,2916,2862,2636,2663,3086,2396,2191,2263,2281,2239,2420,2042,2008,2339,2120,1763,1986,2336,2230,2143,2094,2850,3154,3244,2956,2991,2723,2755,2753,2587,2374,2319,2469,2481,2751,2457,2663,2607,2908,3275,3470,3538,3651,3536,3124,2743,2646,3453,3842,3535,3504,3327,3230,3250,2960,2594,2603,3198,3121,2711,2678,3020,3093,2661,2856,3141,2966,2643,2662,2851,3168,3367,2500,2298,1860,1808,2020,1981,2362,2186,2212,2322,1718,1888,2891,2601,2237,2728,2809,2414,2322,2150,2130,1948,2062,2371,1888,1592,1808,2366,2286,1710,1704,2059,1929,1676,1981,2067,2132,1902,1830,1830,1738,1959,2038,1835,1904,1961,2260,2031,1670,1273,1630,1887,1874,1902,1858,1672,1454,1722,1942,2036,2048,1970,1633,1975,2072,1996,1892,2013,2220,2655,2510,1815,1850,1914,1688,1903,1947,1846,1862,1834,1788,1687,1769,1880,1914,1958,1897,1714,1808,2253,2291,2535,2446,1925,1882,1805,1733,1923,2186,2504,2923,3112,3464,3836,3871,3813,2716,2141,2644,3286,2612,2098,2500,2599,2337,1635,1584,1517,2237,2254,1844,1771,1846,1581,1530,1528,1701,1631,1582,2035,2169,2304,2236,1775,1702,1781,1850,1679,1888,1955,1522,1646,1933,1841,1614,1952,2994,3651,3507,3483,3338,2395,1768,1816,1930,1879,1797,1627,1537,1889,2110,2486,2895,3494,3717,2885,2001,1811,1768,1962,2030,2047,1910,2010,1874,1982,2268,2204,1888,1762,1749,1925,2523,2474,2432,2646,2247,2658,2048,1865,1748,1844,1740,1803,1862,1710,2026,2431,2322,2002,1804,1802,1693,1920,1800,1757,1890,2320,2304,1951,1886,1840,1997,2353,2265,2713,3077,2271,1851,2091,2486,2495,2422,2884,3385,3551,3653,3226,2715,2392,2263,2175,2526,2775,3614,3927,3370,2789,2665,2513,2744,2789,2872,3044,2846,2919,3301,2977,3040,3379,2988,2569,2564,2333,2250,2122,2024,2034,1964,1913,2058,2180,2444,2345,2283,3278,3298,2154,2402],[1907,1837,1858,1907,2077,2165,2553,2580,2579,2842,2690,2442,2674,2923,2404,2236,2765,2667,2762,3072,3239,2757,2121,2198,1980,1658,1849,2013,1829,1650,1569,1740,1932,2061,2036,2052,1894,1902,1859,2103,2743,3338,2990,3046,3012,2776,2623,2979,3562,3550,3436,3526,3317,2830,2878,2941,3197,3584,4008,3615,2923,2279,2163,2105,2055,1855,1490,1771,2706,3232,2801,2892,3003,3380,3375,3119,2810,2712,2567,2379,2691,2229,2046,2135,1685,1744,2045,2562,3018,3261,3511,3523,3239,3068,2806,2922,3255,2856,1979,1893,2211,1992,1835,1836,1896,1896,1668,1695,2262,2404,2220,2549,3030,3029,2709,1924,1707,1853,2243,2225,2236,2108,2096,2792,3051,2845,2664,2464,2980,2783,2653,2577,2643,1967,1707,2311,2505,2722,2903,3009,3001,2738,2962,3160,3428,4090,3564,3379,3006,2750,2580,2099,2031,2635,3552,3831,3587,2968,2641,2119,1656,1455,1516,1793,1825,1801,2156,2479,2447,2036,2197,2612,2118,2114,2043,1936,1911,1805,1903,2800,3077,2984,2557,2349,2257,2284,2750,2840,2565,3154,3501,2584,1755,2074,2896,3256,3190,3394,3582,3605,2707,2433,2424,2485,2162,2158,2156,2419,2673,2530,2708,2934,3870,3729,3087,2998,2891,2612,2494,2510,2581,2356,1964,1700,2017,2617,2583,2300,2557,2611,2431,2180,1831,1624,2751,2905,2216,2188,2461,2682,2613,2408,2921,2772,2030,2225,2336,2407,2574,2729,2703,2743,2529,2570,2535,1925,1559,2192,2150,2388,2821,2932,2769,2726,2880,2889,2697,2362,2135,1880,2319,2278,2344,2968,3206,3254,3066,2929,3097,3097,3268,3450,3276,2473,2322,3061,3968,3525,2971,3256,3006,2589,3202,3463,2935,2855,3275,3360,2644,2664,2579,2641,3089,2446,1950,3273,4209,3673,3897,4221,3837,4544,3964,3708,3312,3481,3447,3409,3148,2977,2752,1937,1523,1528,1696,1872,1723,3033,3925,4374,4279,3327,2897,3249,2916,1940,1687,2131,2093,1917,2492,3013,2366,1899,1960,2646,3175,2355,1559,1699,2208,2436,1683,1778,1846,1784,2545,2459,2138,1665,1683,1661,1387,1545,1905,1968,1798,1753,2462,2305,1661,1558,1645,1801,2053,2460,2272,1904,2132,1991,1697,2022,1863,1709,1785,1742,1497,1599,1578,1336,1462,2132,2531,2229,2313,2481,2250,1780,1505,2248,2711,2395,1923,1748,1720,1868,1887,1626,1837,1941,3057,3272,3076,2719,3133,2678,2349,1854,1104,1305,1830,2199,2547,2384,1969,1715,1707,1756,1788,1678,1767,2343,3101,3173,2764,2469,2388,2186,2361,2144,2710,2859,2348,2207,2299,1913,1312,1319,2357,3284,2578,2495,2464,2090,2200,2526,2962,2819,2497,2663,3462,3526,3254,3235,3252,3000,3055,3107,3147,3153,2938,1518,1595,2342,2599,3243,3173,3453,3244,2191,2098,2480,1920,1825,2188,2110,2218,2652,3140,3349,3191,2587,2004,1852,2042,2439,2858,2812,2544,2454,2923,3239,3020,3265,3675,3289,2482,2565,2823,2499,2133,2078,2281,2500,2462,2880,3430,3239,2868,3272,3446,4048,4196,2967,2224,1980,1972,2159,2565,2567,2134,1953,2382,3328,3486,2856,2272,1785,1548,1615,1575,1884,1707,1499,1302,1365,1549,1433,1299,1219,1249,1310,1366,1576,1462,1329,1405,1451,1390,1664,1857,1450,1252,1296,1702,1820,2230,2360,2188,1968,1915,1771,1654,1690,1896,1898,1647,1501,1616,1865,2240,1833,1644,1876,2014,1727,1743,1836,1709,1715,2219,2613,2687,2520,2504,2458,2027,1694,1484,1667,1931,1904,1879,1899,1618,1714,1758,1647,1699,1576,1359,1470,1818,1945,1838,1755,2039,2589,2526,2033,1767,1626,1653,2165,2413,2395,2396,1918,1669,1764,1519,1367,1375,1482,1393,1527,1266,1346,1254,1177,1243,1227,1692,1772,1346,1300,1341,1337,1277,1242,1399,1278,1305,1253,1136,1202,1284,1236,1297,1336,1317,1423,1324,1472,2196,2417,2077,1868,1789,1580,1554,1663,1537,1406,1323,1448,1378,1330,1549,1494,1391,1419,1509,1403,1290,1310,1482,1361,1506,1522,1432,1219,1346,1463,1693,1486,1425,1568,1738,1852,1721,1444,1311,1216,1451,1359,1251,1334,1428,1387,1686,1652,1389,1382,1319,1217,1252,1280,1315,1584,1632,1505,1235,1308,1660,1849,1870,1782,1935,2188,1836,1454,1689,1616,1153,1417,1750,2198,2451,2083,1724,1747,1954,1975,1939,2408,2243,1916,1806,2058,1816,2290,2521,1612,1848,2709,2578,1995,1619,2092,1761,2040,2423,1884,1748,2170,2316,2201,2496,2475,2016,2245,2396,1735,1794,2326,2746,2888,3262,2655,1959,2297,2326,1793,1414,1483,1779,1721,2485,2405,2659,2267,2564,2768,2360,2135,2314,2390,1806,1481,1952,2348,2546,1837,2124,2723,1933,1587,2237,2841,2573,2266,2521,3190,3771,3881,3043,2597,3038,2370,1909,1921,2034,1964,2073,2524,2856,2751,2511,2179,1954,1667,2174,2824,2929,2842,3105,2893,2408,2234,2330,2381,2731,2105,2188,2543,2318,1750,1968,2916,3492,3794,3837,3072,2391,2058,2197,2912,2712,2196,1913,2443,2681,2145,2628,2256,2011,2627,2668,1925,1595,1828,2289,2135,1999,2696,2945,3050,3431,3043,2542,2673,2919,2990,2570,2191,2188,2281,2058,1833,2317,2459,2065,1698,1792,2307,2790,3110,2585,2253,2778,3284,2890,3512,4519,4653,3743,2402,2559,3628,4184,4341,3526,2113,2014,1985,2005,2341,2196,2175,2662,3226,3639,3571,2849,2467,2785,3395,3498,3572,3797,3774,3835,3453,2680,2251,2730,3253,3636,3974,4124,3873,2778,2361,3009,2424,2384,2282,2203,1739,1597,1628,1592,1522,1526,1418,1419,1439,1498,1425,1515,1487,1413,1364,1466,1593,1662,1445,1483,2222,2711,2486,2030,1684,1765,1914,2165,1947,1686,1155,554,394,602,1266,1661,1034,1192,1687,1974,1892,1750,1785,1710,1689,1733,2136,2455,2078,1550,1591,1827,1814,1992,2182,2015,1765,1919,1923,1672,1942,2428,2177,1852,1837,1876,1804,1498,1656,1655,1785,1688,1395,1290,1231,1187,1174,909,1436,1709,1820,1598,1477,2070,2025,1707,1462,1782,2251,1906,2466,2613,2518,2209,1820,1785,1228,1571,1642,1752,2061,1707,1388,1186,1191,1223,1427,2448,3410,3335,3332,3232,2841,2562,2768,3333,3486,3317,3283,3016,2985,3060,3117,3119,2438,1666,1131,1108,1378,1753,1920,1772,1625,1964,2261,2510,3133,3422,3683,3813,3483,2800,2092,1925,2063,1863,2201,2843,2810,2104,1918,1520,1860,1838,1583,1529,1822,2274,2246,2031,2013,1993,2445,2099,2149,1870,1797,1758,1723,1659,1751,1768,1923,1981,1856,2166,1919,1860,1923,1789,1887,2216,2403,1738,1299,1932,2042,1691,1788,1883,2248,2894,3290,3523,3645,3669,3539,3606,3619,3419,3374,3333,3411,3942,2942,1861,2377,2385,2077,2032,2802,3456,3592,3894,3980,3610,3473,3665,2534,1922,2320,1974,1354,1298,1363,1340,1509,1886,2034,2129,2182,2132,2922,2662,1465,1673,1716,2202,2648,2050,2357,2598,2314,2321,2106,2389,2718,2820,2502,2598,2606,2457,2452,3017,3277,2648,2264,2025,2075,2138,2369,2222,2059,2448,2698,2656,2142,2160,2037,2512,3194,2436,1798,1695,2030,2353,1829,1538,1738,2210,2592,2576,1936,1608,1804,2048,1720,1800,1806,1913,2007,2298,1824,1885,2330,2098,1626,1741,1691,1450,1489,1371,1426,1539,1534,1423,1652,1714,1594,1504,1520,1660,1964,2191,2185,2850,2932,2037,1627,1656,1751,1576,1441,1545,1498,1350,1412,1803,2387,3020,2889,2422,2017,1756,1486,1400,1314,1400,1612,1478,1500,1753,1553,1584,2011,1719,1740,1549,1320,1420,1388,1618,1663,1530,1531,1487,2003,2322,1911,1939,2222,1916,1873,1895,2195,2570,2931,2964,2610,2504,2895,2414,1868,2174,2141,2231,2153,1910,1516,1583,1732,2016,2044,1841,2021,2266,2353,1786,1456,1750,1643,1637,1723,1942,2254,2402,2777,2834,2365,2214,1916,2226,2964,3507,3695,3530,3005,2536,2548,3089,3862,3908,2839,3231,3382,3153,2596,2139,2966,3277,3151,2920,2769,2686,2620,2667,1892,2026,2353,2409,2185,2854,2730,2242,1902,1706,1944,2361,2464,2055,2002,1905,3098,2806,2955,2909,2899,3100,3022,2568,2297,2793,2742,2390,2620,3484,3328,2956,2868,2674,2762,3106,3217,2963,2761,2678,2406,2490,3211,4026,4082,3847,3508,3309,3183,2979,2213,2357,3100,3106,2965,3050,3313,3426,3255,3008,3055,3334,3328,3213,3088,3120,2949,2115,2194,1643,1768,1825,1930,2110,2590,2356,1943,1918,2277,2728,2842,2869,2918,2391,2556,2367,1803,2019,1847,2308,2463,1862,1722,2006,1853,2013,1879,2039,2788,2859,2310,1742,1594,1880,2074,2037,1838,1923,2029,2132,1878,2238,2037,1826,2058,1729,1669,1825,1763,1854,1826,1848,1852,1577,1559,1730,2091,1974,1855,1626,1509,1690,1973,1946,1728,1759,2224,2626,1939,1710,1768,1783,2165,1982,1754,1914,2352,2319,1971,1888,1875,1942,1928,1914,1703,1690,2184,2039,1627,1802,1996,1915,1891,2038,2216,2641,2636,3200,3056,3169,3676,3675,3032,2292,2730,3284,3552,3415,2994,2554,2229,2274,1669,1653,1777,2130,2156,1924,1739,1544,1611,1815,1626,1619,1568,1636,2015,1978,1888,1749,1699,1609,1614,1632,1671,1939,2024,1842,1764,1667,1634,1716,2632,3638,3422,2993,3022,2667,2021,1744,1758,1713,1621,1722,1787,1918,2291,2218,2873,3104,3306,2896,2091,2355,2197,1830,2371,2139,2001,1832,1812,1815,1989,2138,2078,2046,2031,1948,2263,2492,2104,1997,2045,2177,2446,2293,1887,1659,1668,1760,2166,2172,1745,2017,2113,1878,1809,1613,1816,2182,2171,1840,1679,1846,2100,1878,1573,1665,1864,1822,2233,2409,3190,3156,2313,1970,2042,2049,2054,2314,2743,3512,3640,3882,3599,2790,2316,2462,2476,2555,2864,3230,3418,3249,2865,2509,2331,2449,2598,2737,2749,2706,2889,3458,3008,2330,2586,2379,2384,2802,2409,2302,2007,1951,1894,2018,2073,2079,2254,2631,2309,2054,2601,2357,1625,1925],[2678,2771,2692,2554,2490,2339,2608,2701,2636,2496,2339,2214,2321,3037,2720,2569,2806,2709,2994,3373,3069,2202,1921,1908,1620,1793,2300,2251,1790,1647,1748,1680,2154,2309,2261,2192,1998,1889,1951,2374,2490,2658,2222,2226,2548,2569,2567,2734,2676,2726,3041,3222,2754,2165,2271,2424,3099,3595,3946,3663,2972,2435,2239,2119,1883,1448,1403,1646,2126,2855,3183,3340,3016,3097,3296,3243,3059,2646,2122,2045,2027,1861,2052,1876,1694,1739,1869,2112,2475,3074,3497,3584,3663,3377,3197,3327,3162,2931,2386,1885,2137,2244,2092,2356,1967,1322,1342,1695,2499,2291,2278,2141,2712,3075,2880,2276,2200,2197,2597,2879,2723,2429,2654,3158,3203,3075,2934,2566,2543,2488,2026,1743,1909,1784,1634,1899,1944,2097,2671,3217,3176,2717,3067,3304,3540,3798,3428,3033,2651,2696,2607,2499,2327,2248,2453,3173,3125,2805,2771,2544,1926,1498,1566,1906,1843,1796,2396,2735,2720,2338,2461,2357,2051,2043,2024,1789,1584,1685,2182,2591,2310,2253,2047,2293,2319,2375,2769,2799,2668,3117,3024,2480,2190,2239,3152,3271,2911,3306,3538,3614,3237,2905,2384,2013,1860,1992,2258,2681,2812,2395,2610,2670,3530,3652,3248,3294,3090,2482,2188,2108,2401,2644,2194,1831,2236,3210,2711,1997,1914,2389,2800,2649,2148,2739,4046,3818,2874,2505,1924,1969,2389,2500,2524,2492,2622,2644,2459,2326,2282,2688,2713,2134,1982,2843,2973,2190,2246,2678,2680,2854,2978,2642,2417,2509,2762,3292,3654,3027,2344,2144,2434,2579,2604,3090,3447,3376,3141,2715,2269,2756,3387,3344,2831,2450,2872,3525,3885,3187,3011,3251,2929,3105,3408,3315,2717,2609,3073,3460,2896,2525,2462,2389,2833,2647,2727,3827,4029,3171,3833,4504,4323,4768,4313,3735,3560,3806,3813,3580,3075,2857,2452,2025,1668,1779,2353,2362,2215,3262,3870,4151,4033,3327,3044,2852,2309,1835,1981,1968,1692,1809,1838,2484,2197,1927,2138,2619,2801,2101,1769,2052,1990,1741,1521,1742,1804,2308,3147,2547,1623,1510,1461,1447,1376,1644,1884,1983,1657,1674,2150,2245,1616,1351,1653,2164,2356,2355,2056,1757,1960,1871,1712,1937,1950,2212,1968,1802,1567,1491,1644,1613,1654,2105,2224,2102,2292,1985,2139,2023,1736,2128,2568,2450,2099,1908,2093,2222,2198,2025,2506,2819,4050,3835,2707,2538,2724,2491,2256,1670,1206,1939,2313,2531,3011,2898,2721,2321,1778,1513,1529,1635,1929,2531,2666,2730,3350,2993,2642,2553,2464,2337,3054,3270,2986,2564,1894,1737,1809,2040,2097,2315,2339,3068,2231,2179,2900,3451,3000,2476,2720,2971,2894,2957,3214,3140,3009,3012,3076,3059,2967,3204,3231,2402,2169,2498,2568,3139,3024,3161,3174,2973,2182,1974,2095,1970,2126,2551,2554,2343,2506,2941,3139,2306,2165,2094,2002,2513,2737,2632,2614,2576,2758,2789,2883,3155,2964,2635,2212,2440,2236,2254,2236,2036,2157,2207,2366,2956,3496,3082,2798,3154,3413,3934,3419,2478,2143,1984,2006,2099,2212,2196,2063,1998,2599,3317,2764,2552,2365,1809,1893,2071,1841,1715,1576,1370,1302,1421,1610,1392,1352,1299,1282,1340,1494,1556,1392,1356,1440,1403,1470,1649,1801,1504,1486,1782,2264,2245,2033,2054,1955,1623,1594,1761,1650,1739,2004,2027,1900,1952,2132,2887,3041,2334,1814,1591,1647,1771,1976,2227,1972,2163,2331,2367,2473,2656,2512,2166,1853,1518,1592,1882,1911,1843,1876,2094,1924,1714,1524,1547,1686,1780,1856,1912,2007,1875,1953,2386,2614,2412,1969,1796,1687,1829,2237,2204,1837,1722,1688,1556,1797,1759,1518,1383,1366,1554,1563,1476,1310,1479,1382,1239,1272,1257,1300,1320,1383,1393,1168,1299,1192,1223,1357,1220,1507,1379,1134,1305,1338,1304,1338,1350,1368,1559,1500,1681,2232,2120,1888,1851,1686,1524,1728,1836,1781,1537,1456,1454,1475,1701,1600,1412,1410,1827,1980,1458,1256,1424,1704,1480,1895,1493,1290,1331,1452,1564,1676,1504,1243,1237,1483,1812,1674,1432,1350,1290,1144,964,1003,1136,1305,1461,1600,1396,1293,1271,1299,1338,1252,1096,1427,1596,1533,1549,1530,1665,1866,1819,1829,1875,2135,1831,1642,1678,1198,1197,1748,2255,2244,2117,2131,1671,1830,1945,1991,1739,1627,2002,1620,1805,1659,2057,1970,2494,2911,2528,3066,3039,2022,1783,1851,2912,2084,1830,1867,1597,1866,2082,1987,2208,2043,1930,1825,1800,2317,2305,2342,2154,1995,2335,3244,3299,2654,2197,2138,1525,1093,1404,1512,2192,3140,2767,1886,1412,2336,2922,2423,1910,2171,2270,1899,1829,2482,2662,2752,2173,2653,3168,3089,2574,2079,2136,2082,1604,1838,3023,3559,3144,2545,2969,2910,2193,1793,1590,1677,2248,2346,2242,2468,2461,2378,2214,2103,2076,2037,2169,1853,2214,2589,2111,1940,2192,2576,2728,2734,1719,1516,2364,2659,2166,2341,3250,3592,3914,4019,3168,2309,2351,2878,2959,2198,1696,1946,2301,3053,2760,2079,2322,2730,3164,2741,1267,1111,1625,2394,2342,1930,2093,2419,2657,3177,3090,2310,2451,3482,3141,2325,2299,2315,2242,1879,2265,2619,2250,2200,2031,2107,2198,2326,2354,2470,2498,2353,2700,3184,4002,4564,4560,3028,1561,2376,3736,4270,4299,4072,2706,2158,1986,2376,2611,2418,2095,2313,2663,2827,3496,3570,3017,2381,2994,2995,3195,3595,3947,4079,3979,3474,2782,2332,2936,3847,4096,4043,3873,3749,2907,2362,1877,2111,2183,1965,1745,1722,1609,1481,1525,1536,1462,1236,1243,1578,1731,1704,1660,1540,1172,1166,1385,1830,1743,1603,1971,2498,1937,1873,2048,1974,2037,2122,1805,1426,1053,964,500,577,1285,1245,760,1206,1571,1642,1837,1747,1780,1783,1546,1529,1963,2039,1682,1576,1650,1644,1591,1758,2112,1886,1871,2450,2565,2241,2353,2300,1854,1643,1790,1765,1575,1575,1579,1621,1651,1630,1655,1689,1596,1550,1588,1489,1860,2089,2122,2127,1985,1915,1719,1522,1714,2452,2578,2376,2701,2727,2647,2085,1686,1204,1410,1619,1459,1723,1724,1334,1170,1198,1166,1322,2129,3269,3142,2918,3296,3405,3164,3087,3217,3365,3045,2813,2888,2861,3388,3414,2983,1941,1272,1079,1187,1542,1705,1788,1802,1519,1699,2579,2274,2008,2175,2444,2657,2774,2911,2790,2190,1847,2039,1824,2260,2364,2214,1822,1853,1808,1964,1812,1563,1591,1781,2060,2108,2004,2110,1809,2385,2417,2024,1688,1837,1746,1658,1692,1810,1703,1761,1982,1819,1867,1719,1658,1737,1800,1752,1789,1877,1531,1402,2262,2467,2288,1825,1778,1700,2001,2545,3072,3542,3696,3486,3549,3677,3714,3631,3680,3730,3898,2692,2092,2656,2401,2009,1980,2479,3398,3647,3833,3905,3686,3463,3108,2404,1990,1870,1554,1323,1507,1553,1425,1845,1979,1852,1877,1929,1935,2364,1946,1349,1895,2251,2383,2025,2057,3122,2557,2304,2094,1808,1686,1826,2614,2978,2626,2609,2824,2698,3072,3038,2422,2398,2310,2408,2285,2098,1714,1815,2248,2664,2305,2008,2684,3217,3111,3118,2447,1708,1592,1989,2017,2031,2050,2096,2363,3034,2939,1957,1677,2015,2300,2018,2058,2105,2012,1794,1885,1842,1997,2417,2089,1590,1747,1600,1428,1462,1522,1489,1578,1591,1389,1578,1605,1396,1369,1469,1578,1691,1854,1664,1606,1998,1949,2019,1798,1560,1917,2101,1639,1585,1629,1763,1830,2102,2185,1881,1563,1476,1367,1356,1359,1372,1518,1634,1434,1482,1829,1627,1531,1835,1940,1682,1372,1481,1647,1804,1900,1739,1762,1768,1560,1888,2370,2287,2283,2436,2245,2160,2022,1939,2570,3183,2705,2153,2431,3115,2952,2731,2029,1760,1979,2032,1839,1882,1963,2249,2618,2067,1862,2463,2576,2160,2087,2306,2603,2143,1652,1682,1820,2311,2641,2785,3287,2663,2148,2019,2579,3225,3426,3461,3138,2741,3069,2760,2189,2550,3064,2663,2928,3168,2813,2181,2558,2743,2635,2821,2370,2648,2311,2246,2613,2468,2042,2239,2198,2061,2545,3008,2659,1600,1791,1875,2250,2522,2421,2438,3142,3720,3052,2986,2852,2688,2764,2373,1996,2044,2995,3347,2774,2879,3559,3638,3342,3163,2941,2565,2764,2973,2226,2317,2578,2600,2741,2855,3474,3781,3174,2960,3372,3208,2723,2313,2183,2128,2535,2858,2739,3174,3440,3286,2902,3081,3563,3438,3097,3054,3094,2985,2613,2300,2119,2358,2216,1929,2005,2625,2684,2046,1973,2558,2555,2750,2935,2715,2307,2416,2182,2033,1791,1559,2092,2723,2381,2214,1980,1815,1981,1966,1749,1916,2752,2348,1572,1578,1758,2051,2213,1847,1610,1718,2004,1695,1776,1496,1373,1615,2030,2096,1410,1483,1893,1570,2119,2387,1964,1653,1609,1845,1729,1861,1909,1601,1634,2006,2087,2025,1881,1913,2442,1960,1597,1754,1835,2073,2042,1857,2145,2569,2640,2626,2193,1867,1967,1934,1970,1933,1877,1678,1708,1682,1701,2088,2208,2004,2122,2853,3350,3026,2727,2489,2580,3039,2896,1923,2111,3065,3393,3570,3775,3629,2842,2386,2427,2060,2208,2342,2543,2873,2495,1768,1814,2225,2408,2003,1872,2054,2016,2039,1760,1750,1856,1984,1919,1647,1710,1996,1696,2047,2215,1806,1808,2116,2353,2708,3296,3427,3105,2380,1894,1814,1821,1772,1788,1861,1914,2039,2362,2475,2607,3242,3647,3288,2484,2555,2842,2348,2029,2767,2359,2060,1933,1882,2036,2037,1859,2090,2138,2091,2136,2172,2256,2183,1996,1842,2040,2164,1959,1678,1699,1703,1817,2132,2030,1840,2054,2017,1627,1816,1720,2247,2746,2285,1833,1598,1640,1728,1736,1710,1679,1843,1710,2291,3097,2831,2534,2424,2180,2119,2048,1946,1900,2691,3768,3742,3804,3882,3060,2280,2452,2778,2878,2957,2962,2727,2930,3310,2910,2588,2672,2627,2614,2643,2862,3231,3499,2566,1828,2054,2070,2626,2907,2564,2442,2013,1827,1804,2009,2398,2304,2200,2690,2527,2137,2328,1953,1731,1898],[2991,3197,3187,3286,3064,2651,2452,2483,2540,2449,2385,1961,2061,2988,2864,2762,2937,3038,3354,3354,2360,1750,1771,1814,1773,1963,2842,2977,1961,1647,1664,1990,2492,2483,2490,2146,1927,1946,1939,2034,2048,2105,1879,1707,2293,2354,2156,2206,2648,2647,2934,3038,3030,2662,2122,1814,2465,2696,3037,3432,3068,2497,2358,2398,2199,1991,2034,2113,2303,2550,3034,3146,2861,3111,3270,3375,3231,2587,2338,2192,1805,2022,2272,1899,2028,2248,2010,1868,2000,2651,3228,3617,3793,2967,2899,3061,2939,2872,2368,2039,2666,2648,2559,3078,2406,1409,1755,1670,2098,2353,2527,2244,2565,2825,2799,2863,2781,2508,2495,2597,2733,2508,2763,3029,3016,2358,2068,2196,2401,2640,2451,2330,2351,1970,1771,1638,1447,1612,2182,3122,3289,2718,2391,2663,3090,3419,3261,2808,2868,2601,2000,2257,2524,2116,2237,2401,2852,2889,2720,2453,1968,1665,1832,2092,2009,2230,2810,2679,2679,2454,2159,2086,1995,1886,2029,1932,1581,1784,2286,2377,2188,2288,2061,2217,2259,2500,2890,3038,3041,3107,2713,2485,2889,2795,2966,3260,3308,3651,3539,3477,3121,2845,2598,2118,2231,2295,2305,2789,2692,2732,2609,2808,3592,3705,3459,3676,3010,2259,2542,2366,2382,2495,2630,2130,2689,3483,3141,2667,2327,2736,3186,2920,2647,2978,3519,2953,2468,2260,2075,2097,2362,2421,2319,2642,3167,3209,2814,2247,1701,2166,2132,1711,1718,3040,3143,2925,3181,3250,3272,3024,2749,2315,2511,2796,3017,3432,3615,3433,2964,2939,2843,2582,2701,3470,3861,3481,2922,2598,2469,2766,3151,2978,2413,2691,3312,3564,3253,2785,2435,2364,2908,3699,3639,3571,2949,2405,2396,2697,2723,2506,2600,2884,2664,2634,3328,3646,3374,3108,3384,3904,4403,4163,4017,3917,3710,3698,3520,3812,3522,2926,2430,1937,1539,1881,2392,2374,2499,3046,3560,3807,3683,3443,3083,2171,1872,2193,2082,1796,1783,1882,1881,2136,2057,1859,2123,2348,2124,1735,2041,2564,2637,2018,1735,1904,1874,2142,2554,2009,1764,1819,1710,1583,1476,1746,1966,2056,1809,1529,1565,1615,1596,1583,1926,2667,2465,2755,2082,1971,2154,1768,1780,1987,1937,2058,2317,2307,1891,1953,2003,1836,1734,1814,1785,1911,2116,2282,2238,2007,1996,1980,2018,2258,2848,2669,2406,2405,2673,2803,2971,3418,4112,3404,2620,2304,2123,2382,2172,1677,1984,2225,1869,2292,2464,2327,1937,1874,1991,1746,1557,1911,2252,2288,2043,2452,3421,3077,3020,2635,2271,2385,3039,3403,3624,2893,1869,1808,2156,2244,2076,2455,2151,2175,2055,2521,3156,2907,2275,2755,2934,3282,3500,2894,2554,2575,2822,3153,3034,3185,3198,3203,3625,3458,2971,3097,2802,2564,2832,3046,3141,3125,2724,2596,2424,2008,2325,2930,2923,2745,3353,2967,2805,2198,2636,2501,2095,2256,2078,2046,2487,2641,2846,2906,3028,2959,2788,2655,2338,2349,2335,2633,2490,2308,2352,2049,1869,2539,3306,3097,2756,2924,3217,3296,2617,2111,2139,1933,2193,2779,2953,3002,2709,2163,2757,3271,2801,2618,2688,2949,2834,2533,2407,1713,1477,1508,1504,1666,1549,1466,1377,1376,1512,1641,1838,1795,1549,1673,1609,1518,1514,1519,1668,1620,1576,1876,1986,1787,1553,1574,1708,1593,1556,1731,1516,1466,1723,1835,1759,2110,2240,2908,2977,2409,2011,1538,1749,1991,1889,1888,1843,2171,2050,2270,2390,2687,2495,2089,2041,1815,1948,1958,1968,1822,1874,2194,2224,2080,2026,2006,1930,1877,1810,1792,1873,2164,2721,2720,2283,1880,1753,1748,1863,2211,2222,1970,2047,1951,1550,1664,1715,1496,1431,1394,1628,1696,1513,1295,1307,1360,1315,1286,1288,1299,1331,1388,1304,1310,1137,1263,1281,1274,1274,1247,1293,1234,1084,1281,1459,1380,1338,1269,1323,1577,1613,1748,1565,1513,1810,1710,1564,1678,2024,1904,1895,1509,1424,1456,1391,1504,1634,1782,1730,1721,1560,1441,1419,1521,1525,1584,1530,1233,1266,1264,1299,1490,1556,1449,1185,836,1026,1562,1632,1677,1600,1372,1325,1188,910,1128,1294,1270,1279,1185,1181,1161,1200,1247,1134,1274,1744,1801,1669,1843,1947,1678,1694,1738,1915,1932,1781,1724,1967,1570,1034,2019,2640,2527,2398,2099,1666,1555,1941,1697,1892,1596,1859,2018,1865,2013,2189,2292,1848,2178,2740,3283,3454,2293,1591,1564,1542,2710,2008,934,1306,1895,2170,1859,1811,2162,2088,2197,1984,1690,1963,2209,2363,2339,1874,2092,2800,3437,3376,2415,2150,1540,1247,1224,1243,2798,3803,2576,1475,2026,2939,3217,2541,2084,2777,2416,2369,2290,2407,2606,2902,2968,3422,3470,2699,2240,2250,2213,2152,1825,2308,2876,3459,3339,3501,3253,2722,2763,2468,2126,1983,2248,2123,2255,2221,2344,2337,2307,2356,2177,1803,1826,1919,2086,2401,2703,2105,1675,2104,2553,2221,1840,1498,1978,2743,2489,2329,3049,3768,4038,3637,2569,2526,2699,3030,2920,2470,1937,2354,2609,2926,3183,2025,2228,2667,2801,3192,1919,1460,1870,2688,2608,2144,2017,1842,1884,2286,2663,2243,2633,2989,2437,2156,2226,2221,2343,2198,2239,2343,2398,2381,1792,2008,2024,2464,2787,2946,2823,2784,2783,3018,3896,4464,4708,3743,1903,2157,3051,3941,4337,4289,2706,2306,2284,2398,2445,2175,1902,2150,2336,2353,3221,3490,3272,2083,2641,2624,2890,3378,3828,4169,4119,3978,3544,2482,2665,3792,3809,3819,3826,3753,3145,2518,2243,2151,2215,2394,1930,1629,1800,1758,1827,1832,1641,1155,1361,1438,1369,1511,1877,2003,1521,1562,1938,1851,1662,1539,1707,1836,1656,1945,2282,2060,1904,2019,1771,1409,1637,1897,1206,1187,2622,3189,2177,2413,2879,2709,2301,1945,1935,1872,1750,1519,1979,2121,1638,1324,1098,989,1023,1071,1014,1106,1926,2990,3065,2859,2952,2609,2065,2048,2111,1887,1872,1896,1753,1829,1586,1638,1458,1366,1488,1499,1532,1523,1476,1538,1657,1682,1659,1727,1606,1593,1817,2624,2816,2568,2251,1899,1860,1877,1250,1295,1735,1630,1811,1440,1182,1046,1029,1156,1080,1577,2842,3319,2949,3020,3405,3550,3627,3441,3021,2862,2710,2619,2664,2754,2599,2294,1750,1088,1072,1338,1613,1700,1584,1649,1531,1362,2327,2887,2542,2106,2070,2369,2327,2241,2333,2529,2095,2168,2070,2061,2862,2552,2445,2612,2313,1985,1841,1740,1825,2093,2210,2145,1961,1892,1931,1952,2192,2153,1806,1871,1886,1688,1843,1779,1810,1780,1683,1866,1707,1751,1843,1909,1912,1704,1527,1410,1548,1421,1341,2141,2035,2142,1861,1737,1709,1748,1918,2286,2955,3175,3030,3287,3332,3583,3638,3921,3679,2921,2323,2126,1927,2008,2094,1893,1970,3051,3610,3609,3518,3318,3188,3027,2768,1956,1530,1756,1784,2008,1928,1830,2067,1923,1580,1431,1813,1877,1744,1692,1799,2231,2045,1489,1739,2156,2856,1988,1791,1713,1955,2042,2198,2698,2656,2069,2285,2786,3011,3099,2623,2387,2733,2369,1989,1871,2084,2109,2086,2543,2750,2233,1896,2127,2437,2706,2640,2244,1801,1495,1489,1667,2100,2177,1728,2028,2337,2476,2276,2025,2680,3256,2822,2128,1830,2004,2126,2095,1883,1719,1721,1628,1400,1539,1747,2026,1781,1838,1493,1107,1199,1382,1481,1599,1444,1579,1640,1824,1926,1920,1605,1485,1747,1911,2138,1935,1561,1963,2084,1535,1627,1554,1508,1488,1532,1528,1418,1375,1427,1411,1377,1479,1570,1529,1457,1512,1596,1680,1525,1481,1733,1787,1456,1294,1694,2273,1728,1629,1666,1640,1719,1387,1825,2935,2603,2438,2610,2243,2038,1894,2288,2873,2284,2279,2684,2146,2428,3116,2700,1685,1625,1797,1520,1591,2007,2052,2305,2346,2109,2269,2714,2525,1917,1782,2070,2212,2178,1914,1870,2254,2650,2436,2454,3029,2467,2077,2113,2660,3400,3342,2746,2281,2261,2597,2113,1724,1810,2621,3177,3133,3086,2868,2676,3047,2745,2489,2997,2876,2496,1960,2259,2858,2794,2125,1830,1942,1963,2019,2439,2214,1852,1945,1744,2147,2399,2245,2742,3523,3392,3012,2666,2500,2367,2558,2570,2608,2833,3659,3031,2635,2957,3480,3621,3121,2759,2689,2248,2055,2048,2216,3190,2712,2310,2633,2739,3056,3185,2850,2683,3106,3040,3272,3039,2837,2861,2920,2918,2906,3150,2958,2699,2614,2490,2691,2996,3321,3034,2976,2754,2676,2412,2253,2569,2410,1976,2056,2329,2135,1965,1912,2150,2233,2885,2808,2426,2465,2229,2286,2503,2236,1935,2071,2511,2394,2070,1699,1692,1623,1706,1732,2171,2322,1954,1873,2081,1847,1816,2161,2114,1969,1715,1700,1579,1663,1653,1549,1751,2143,1979,1544,2171,2472,1846,2467,2372,2049,1727,1572,1837,1821,1779,1936,1900,1741,1778,1830,2086,2267,2015,2048,1763,1635,1749,1647,1575,1614,1823,2294,2683,2995,2997,2388,2043,2149,2159,1875,1758,1867,1674,1539,1431,1479,1301,1719,2048,2434,3189,3333,3115,2841,2464,2435,2498,2020,1719,2563,3233,3496,3571,3433,3000,2382,2403,2442,2446,2737,2689,2647,2807,2442,2024,2443,2507,2988,2746,1956,1716,1972,2130,1881,1674,1854,2105,1917,1584,1769,1993,1687,1889,1870,2052,2224,2463,2459,2473,2883,3085,2745,2285,1840,1835,1747,1770,1858,1952,1933,2271,2410,2356,2633,2729,3120,2898,2922,2709,2555,2924,2911,2700,2048,1842,1932,1924,2039,1995,1756,2005,2360,2271,2200,2198,2439,2294,2183,2078,2082,2269,1985,1715,1785,1616,1810,1866,1742,1909,2220,1985,1874,1891,1893,2343,2348,1935,1774,1802,1855,1904,1960,2043,1813,1743,1763,2968,3422,2464,2297,2098,2208,2220,2406,2362,1636,2161,3001,3319,3593,3849,3307,2472,2264,2612,2975,3105,3131,2820,2346,3190,2872,2401,2500,2519,2565,2633,2746,3373,3657,2744,2300,2698,2285,2247,2522,2632,2610,2573,2192,1902,2349,2691,2849,2343,2409,2218,2096,2165,2071,2119,2251],[2106,2686,2896,2971,2757,2630,2556,2621,2258,2297,2298,2181,2587,2999,2762,2729,3110,3243,3225,2599,1864,1746,1563,1822,2055,1737,2546,3237,2567,2036,1739,1947,2240,2539,2998,2156,1820,1908,2042,1947,1910,1991,1879,2097,2205,2127,2126,2107,2791,2644,2443,2689,3068,2653,2186,2140,2940,3374,3259,3208,2808,2473,2336,2374,2373,2214,2164,2188,2110,1918,2490,2949,3131,3453,3500,3529,2952,2597,2610,2405,2364,2265,2438,2345,2729,2373,1644,1650,2056,2532,2945,3461,3287,2590,2596,2930,3090,2969,2448,2508,2866,2632,2486,2966,2903,2257,2193,2327,3093,3078,2644,2765,2941,2766,2654,2693,2556,2462,2410,2437,2814,2651,2732,2894,2534,1979,2329,2425,2365,2721,2721,2932,2614,2074,2464,1813,1566,1652,1802,2931,3326,2476,2093,2027,2260,2978,2894,2655,2774,2736,2544,2227,2540,1851,1739,2508,2931,2796,2534,2260,2219,2144,2277,2282,2086,2351,2587,2370,2363,2464,2395,2030,1921,1877,1898,2117,2272,2405,2541,2209,2244,2040,1918,1784,2150,3028,3356,3104,2966,2986,2687,2419,2612,3020,3270,3571,3840,3817,3426,3295,2890,2707,2621,2313,2335,2368,2330,2351,2575,2608,2222,2596,3338,3188,3432,3736,3069,2701,2722,2365,2807,2879,3019,2835,2994,3297,3461,2978,2576,2920,2922,2790,2931,1947,1896,2035,2254,2006,2411,2612,2613,2631,2527,2585,2922,3330,3000,2147,1832,2214,2366,2388,2396,2956,2690,2609,2971,3104,3024,2453,2108,2109,2403,3125,3680,3848,3488,3026,2869,2894,2597,2326,2798,3647,3956,3485,2937,2497,2631,2864,2832,2757,3142,3801,3772,3104,3018,2918,2520,2729,3054,3020,2907,3326,3141,2519,2434,2774,2419,2225,2558,2474,2618,3417,3646,3173,3050,3404,3553,3904,4064,3891,4062,4124,3879,3463,3074,3465,3420,2247,1951,1708,1349,1636,2270,2388,2394,3128,3827,3862,3466,2775,2454,1925,2164,2997,2625,2091,1798,1892,1899,1802,1642,1536,1848,1750,1572,1655,1551,2029,3304,3167,2208,2087,1892,2101,2624,2253,2126,1750,1758,1480,1450,1761,1913,1913,1862,1654,1632,2234,2530,2335,2596,2857,2662,2655,2016,1976,1806,1829,2150,2165,2042,1889,2316,2549,2481,2750,2419,2093,2057,1905,1803,2132,2262,2156,2070,2181,2852,2508,2092,2181,2920,3473,2877,2806,3443,3465,3242,3881,3657,2535,2265,2214,2407,2613,2205,2065,2449,1998,1889,1797,1799,1901,1825,2040,2540,2088,1632,1859,2322,1836,1856,2536,2879,2989,2886,2675,2652,2401,2685,3105,3646,2872,2344,2082,1930,2122,2461,2592,2136,1904,2033,2775,2963,2629,2373,2751,2775,3318,3563,3006,3151,2721,2774,3039,3044,3372,3319,3556,3680,3581,3584,3046,1894,2062,2924,3277,3086,3049,3257,3042,2950,2974,3056,3207,3215,3159,3529,2975,2486,1975,2286,2114,1760,2014,2223,1759,2035,2472,2658,2533,2578,2843,2796,2423,2459,2730,3000,3097,2788,2764,2482,2148,2050,2397,2909,2894,2583,2735,2652,2433,2203,1950,1795,1614,1957,2546,3063,3416,2837,2501,2832,3342,2878,2567,2667,2917,2906,2587,2413,1697,1642,1789,1698,1647,1248,1660,1709,1592,1658,1758,1964,1910,1702,1456,1428,1517,1468,1527,1600,1552,1527,1709,1472,1220,1373,1561,1744,1703,1590,1786,1554,1443,1314,1583,1559,1440,1394,1778,2287,2455,2308,1660,1786,1804,1593,1614,1896,2093,2072,2347,2690,2903,2634,2182,2289,1982,2051,1843,1939,1961,2116,2205,1986,1908,2075,2038,1975,1975,1943,1996,2394,2784,2546,1910,1722,1758,1720,2054,2310,2198,2020,1736,1942,1974,1462,1644,1529,1444,1449,1393,1539,1489,1296,1294,1322,1273,1370,1315,1315,1343,1319,1272,1227,1193,1186,1328,1355,1273,1254,1195,1134,1252,1247,1291,1232,1271,1272,1306,1490,1520,1628,1632,1324,1454,1446,1422,1552,1570,1725,2091,1842,1471,1402,1335,1314,1312,1502,1947,2071,1691,1550,1732,1538,1793,2165,2082,1574,1490,1650,1487,1451,1488,1490,1504,1378,1257,1265,1449,1559,1720,1677,1609,1468,1078,1219,1571,1293,1224,1212,1171,1197,1146,1122,1164,1323,1594,1790,2066,2168,2028,1838,1669,1849,1927,2062,1739,1547,1958,2143,1629,1678,2077,2132,2166,2134,1870,1780,1938,1820,1980,2388,2053,2495,2474,1810,2170,2542,2438,1876,2113,2531,2890,2874,1824,1536,1479,1580,2075,1591,1399,1946,2208,1998,1523,2067,2051,2185,2276,2476,2203,1874,1919,2520,2522,1992,2163,2692,3574,3196,2849,2588,2008,1660,1255,1471,2577,2885,2228,2207,3028,3052,1831,1544,1694,2207,1995,2140,2237,2071,2503,3142,3477,3142,2521,2241,2249,1903,1865,2032,2282,2372,2474,2978,2711,2740,2759,2618,3423,3157,2845,2659,2167,2139,1528,1428,2043,2358,2382,2259,1749,1552,1998,2092,1996,2355,2799,2459,1782,1909,2041,2031,2326,2376,2503,2565,2413,2448,3062,3474,3118,2720,2012,2461,2731,2742,3463,3325,2319,2498,2232,2026,2410,1984,2031,2646,3256,3494,2443,1800,1741,2382,2699,2485,2282,1794,1679,2029,2867,2333,2219,2214,2376,2438,1981,1869,2474,2587,2148,2452,2307,2158,2062,2364,2453,2588,2728,2664,2598,3143,2889,2552,3565,4496,4756,4168,2744,2692,3229,3898,4201,4132,2980,2089,2019,2288,2566,2393,2154,2388,2532,2580,3251,3675,3522,2543,2519,2799,2834,2684,2993,3864,4200,3993,3919,3224,3232,3827,3771,3565,3038,2540,3209,3234,2019,1924,2257,2393,2231,1882,2058,1784,1628,1694,1792,1574,1444,1416,1300,1451,1785,1968,1976,1740,2104,1372,1015,1440,1572,1564,1711,1935,2313,2071,1736,1738,1918,1872,2224,2303,2206,2476,3681,4085,3497,3526,3880,4164,3520,2348,2078,2100,1915,1582,2170,1970,1810,1736,1410,1472,1534,1392,1212,1193,1672,2383,2163,2293,2787,2852,2295,1897,1804,1656,1704,1784,1725,1859,1747,1910,1466,1155,1112,1002,1057,1232,1279,1274,1384,1375,1512,1622,1556,1507,1632,1967,2226,2069,1862,1476,1717,1728,1413,1687,1660,1890,1963,1333,1194,1011,1062,1039,1285,2222,2989,3136,2944,3049,3071,3052,3540,3312,2449,2417,2547,2734,2675,2030,1370,1318,1588,1411,1587,1587,1509,1553,1785,1650,1881,2330,2568,2644,2788,2669,2576,2753,2504,2592,2622,2407,2306,2232,1978,2362,2937,2763,2911,3151,2690,2510,2265,1988,2051,2224,2308,1917,1661,1746,2094,2276,2072,1939,1802,1786,1839,1824,2027,1964,1894,1852,1773,1842,1735,1733,1837,1889,1918,1564,1273,1715,1770,1272,1418,1990,1827,1857,1796,1590,1676,1810,1553,1812,2276,2387,2712,3241,3332,3536,3612,3714,3334,2371,2533,2864,2097,2298,2465,2139,2174,2472,3185,3574,3686,3665,3487,3427,3062,2007,1579,1678,1552,1599,1764,1936,1643,1570,1664,1943,2679,2798,2756,2788,2231,1967,2032,2050,2436,2359,1985,1715,1754,1838,2492,2969,2920,2964,2579,2373,2469,2809,2923,3175,3163,2593,2522,2354,2026,1856,2362,2476,2152,2100,2331,2301,1825,1843,2248,2133,2040,1896,1744,1549,1609,1857,1830,1587,1781,2110,1799,2087,2265,2128,2721,3491,3127,2244,1836,1858,1894,1998,1557,1290,1393,1705,1479,1548,1968,2182,2173,1954,1504,1202,1351,1516,1594,1618,1542,1757,2087,2496,2389,1757,1485,1672,1637,1700,1912,1968,1748,1953,1783,1410,1375,1377,1343,1360,1378,1488,1508,1444,1391,1324,1313,1378,1369,1569,1433,1493,1458,1434,1551,1781,1914,1664,1372,1496,2347,2711,1625,1594,1648,1506,1461,1433,2155,2446,1782,2070,2222,1945,1577,1833,2112,2219,1831,2050,2360,2404,2771,2890,2094,1521,1572,1500,1352,1525,1571,1646,1588,1802,1980,2126,2245,2220,1873,1618,1947,2060,1991,2330,2711,2690,2237,1650,2100,2514,2036,1852,2164,2754,3230,2958,2705,2128,2504,2424,2624,2149,2175,2693,3125,3518,3288,2770,2457,2777,3629,3416,2790,2131,1761,1867,2250,2533,2409,2008,2248,2676,2586,2027,2319,2264,2335,2101,2127,2322,2391,2209,2646,2921,2875,3420,3044,2396,1925,2256,2902,3142,3233,3203,2697,2762,2855,3010,3023,2548,2381,2077,1841,1954,2062,2262,2841,2757,2566,2574,2454,2933,3751,3487,2844,3343,3443,3111,2910,2963,2920,2973,2965,2965,2783,2646,2799,2396,2301,2661,3061,3288,2752,2458,2799,3318,2934,2276,2281,1856,1742,1947,2171,2041,1855,1829,2006,2919,3269,2774,2435,2129,2415,2969,2402,2366,2290,2244,2322,2532,2323,2048,1910,2049,2025,2012,2040,1796,2045,2256,2155,1968,1802,2490,2636,2076,1645,1874,2014,1830,1783,2132,2388,2344,1829,1766,2229,2618,2219,1987,1858,1794,1519,1432,1718,1820,1837,2059,2414,2271,2049,1797,1975,2160,1982,2160,2216,2213,2202,1805,1531,1622,1583,2015,2473,3037,3006,2502,1851,1925,2166,1737,1586,1799,1898,1377,1229,1607,1596,2073,2468,2856,3306,3353,2940,2460,2580,2974,2699,2346,2523,3103,3371,3283,3144,2754,2252,2183,2470,2630,2688,2689,2480,1915,1630,1923,2260,2477,2492,3162,3038,2060,1856,2036,1988,1782,1792,1783,1943,1909,1815,1930,1919,1766,1676,1994,2185,2230,2663,2491,2319,3023,2789,2305,2016,1719,1794,1788,1952,1912,1807,1937,2458,2831,2271,1915,2024,2161,2419,2946,2702,2578,2823,3119,2588,1787,1851,1980,1950,1893,2006,1926,2017,2586,2469,2155,2270,2322,2150,2314,2366,2086,1898,1636,1636,1811,1810,2004,2041,1915,2114,2088,2010,2065,1973,2035,2374,2253,2018,1892,1888,1962,2110,2099,1846,1800,1663,1840,2998,2662,2098,2183,1989,2324,2479,2780,2856,2244,2174,2644,3152,3576,3691,3498,3030,2609,2469,2819,2920,3083,2953,2436,2612,2335,2378,2512,2348,2472,2603,2956,3651,3394,2357,2785,3703,2859,2054,2271,2642,2645,2557,2510,2395,2176,2105,2194,2308,2798,2452,2320,2465,2475,2510,2655],[2260,2712,2625,2705,2620,2738,2890,2770,2363,2230,2340,2495,2897,3000,2602,2509,3414,3458,2832,1955,1831,1635,1524,1857,1953,1949,3021,3675,3450,2734,2061,2038,2008,2678,3172,2404,1968,2407,2302,2000,2132,2165,2098,2100,2178,2171,2238,2752,2778,2181,1809,2131,2792,2774,2475,2681,3351,3749,3755,3095,2627,2400,1959,1834,1810,1592,1498,1537,1536,1565,2034,2519,3017,3532,3649,3022,2732,2840,2914,2510,2711,2662,2285,2379,2987,3105,2212,1953,2287,1978,2504,3133,2887,2452,2409,2601,2874,2898,2676,2576,2532,2547,2570,2735,2525,2544,2586,2918,3642,3101,2712,3123,3264,3342,3150,2877,2790,2363,2420,2402,2731,2650,2491,2397,2234,2304,2790,2703,2383,2431,2241,2495,2172,2055,2248,1894,1794,2109,2019,2525,2902,2790,2663,1991,2358,3232,3134,2912,2784,2577,2403,2388,2526,2206,2241,2703,2625,2623,2470,2446,2603,2249,2086,2406,2281,2180,2027,1811,1846,2500,2865,2263,1909,1853,1703,1841,2304,2241,2214,2214,2214,1850,1981,2225,2477,3356,3442,2927,2867,2958,2403,1955,2173,3069,3317,3133,3275,3037,3318,3573,3270,3244,2406,2367,2383,2277,2171,2148,2217,1919,1879,2469,2836,2655,2999,3462,3241,2764,2732,2598,3294,3510,3167,3040,2811,2844,3054,2899,2662,2853,2958,2849,2662,2053,1970,2137,2475,2203,1976,2602,2965,2364,2272,2248,2252,2670,2519,1899,2288,2879,2822,2592,2820,2646,1828,1674,2121,2181,2386,2375,1932,2292,2598,3019,3400,3736,3770,3296,2935,2815,2480,2075,2179,2799,3305,3205,3061,3150,2900,2293,2495,3242,3595,4000,3235,2601,2769,2729,2848,3025,2624,1914,2388,2651,2542,2888,2958,2721,2154,2315,2720,2557,2497,2778,2850,2959,3663,3829,4172,4308,3564,2943,2910,3374,3403,2291,2125,2872,2761,1584,1456,1752,1836,1885,2203,2191,2498,3240,3640,3673,2955,2386,1970,1818,2360,2895,3184,2745,1999,2443,2073,1670,1809,1674,1817,1579,1366,1393,1413,1828,2579,2624,2508,2311,1957,2285,1903,1293,1278,1555,1736,1395,1465,1697,1684,1666,1808,1759,1513,2081,2878,2823,2834,2431,2205,2244,1958,1686,1581,1678,1750,1980,2234,1929,2003,2364,2458,2470,2680,2570,2160,1900,1814,2030,2067,1819,1885,2460,2638,2657,2431,2849,3068,3848,3904,3697,3734,3665,4026,4257,3232,2456,1873,1753,2013,2030,2282,2755,2396,2103,2040,1874,1959,2199,2133,1864,2205,1850,1931,1892,1848,1745,1989,2662,2937,2736,2231,2363,2357,2035,1968,2308,2631,2690,2855,2424,2126,2509,2867,2655,2175,2165,2843,3616,3141,2629,3208,3059,2911,3106,3044,3168,3113,2642,2242,2277,2782,3294,3427,3384,3382,3349,3321,3065,2622,3065,3455,3234,2843,2745,2894,2788,2732,3039,3228,3194,3200,3312,3152,3002,2590,2565,2888,2397,1856,2194,2690,2130,2100,2564,3078,2766,2119,2144,2309,2722,3238,3409,3233,2810,2468,2535,2288,2278,2314,2141,2236,2160,2170,2237,1648,1465,1897,1920,1672,1556,1676,2281,2857,3084,2313,2212,2474,2984,3039,2632,2308,2314,2349,2491,2646,1956,1896,1992,2024,1602,1415,1719,1682,1670,1915,1984,2094,1930,1716,1347,1295,1420,1512,1494,1406,1387,1722,2048,1677,1243,1312,1734,1950,1887,1891,1940,1424,1198,1292,1644,1870,1952,1765,1762,2710,2787,2398,1726,1556,1688,2072,2382,2346,2126,2150,2806,3086,2988,2725,1881,1539,1537,1905,2236,2190,1986,2081,2082,2041,2188,2328,2014,2029,2125,2054,2609,2945,2430,1918,1845,1882,1933,2179,2374,2004,1690,1726,1566,1532,1472,1411,1522,1393,1438,1413,1351,1330,1378,1470,1532,1403,1271,1290,1228,1313,1506,1546,1274,1248,1287,1290,1372,1317,1287,1272,1213,1138,1208,1201,1166,1254,1365,1331,1295,1275,1328,1549,1694,1701,1522,1541,1367,1482,1631,1748,1927,1768,1647,1622,1465,1422,1476,1663,1877,2121,1770,1735,1734,1755,2178,2544,2421,1909,1937,2110,1693,1410,1342,1421,1694,1497,1369,1406,1403,1484,1483,1617,1770,1665,1384,1504,1698,1194,1191,1293,1097,1061,1123,1123,1141,1272,1398,1646,2205,2270,2050,1742,1654,1754,1988,1792,1346,1763,2223,1740,1935,2371,2001,1732,1886,1608,1471,1721,1747,1773,1913,1853,1958,2630,2737,1897,1986,2116,2170,1963,2305,2545,2644,2490,1725,1461,1775,2207,1954,1544,1567,1450,1995,2216,2309,2553,2072,2136,2264,1869,1660,1707,2279,3273,2646,2140,2172,1848,2173,2275,2836,2702,2198,2052,1631,2049,2720,2330,2293,2496,2116,2576,1747,1410,1550,2030,2520,2824,2398,2048,2408,2978,3346,2262,1971,1835,1985,1776,1677,2094,2388,2118,2530,2797,2000,2651,3326,3074,3670,3705,3919,3833,3197,2369,1603,1920,2298,2354,2364,1936,1671,2259,2488,2277,2155,2222,2259,2270,2171,2230,2015,2248,2847,2702,2740,2741,2763,3068,2461,2501,2454,2362,2428,2707,2714,2708,3055,3278,2636,1541,1451,2144,2609,2313,2121,2755,3340,2865,2328,1956,1924,2279,2778,2636,2415,2039,1972,2608,2709,2255,2249,2455,2910,2924,2619,2376,2226,2416,2044,2170,1706,2091,2554,2675,2397,1923,2139,2553,2718,2605,2064,2396,3401,4420,4735,4817,4256,3672,3845,4231,4144,3985,2796,1459,2134,2630,2593,2266,2233,2446,2724,2934,3587,3876,3558,2723,2740,3691,3378,2520,2616,3361,3825,3950,3920,3646,3814,3651,2822,2128,1652,2089,3439,3017,1568,1823,2211,2237,2197,2033,2155,1938,1704,1737,1765,1426,1348,1647,1540,1328,1763,1909,1983,2007,1687,934,1254,1964,2018,2121,2180,1882,1866,1551,1582,1594,1760,1835,1883,2068,2360,2639,2989,3045,3067,3551,4129,4473,3333,2294,1936,1920,1831,1647,1742,1754,2260,2400,2320,1901,1485,1205,1432,1343,1863,2567,2689,2778,3036,2747,2053,1780,1803,1669,1504,1555,1468,1305,1873,1779,1460,1568,1273,1089,1164,1205,1144,1498,2048,1708,1690,1594,1492,1451,1798,1894,1610,1577,1578,1610,1983,1662,1580,1504,1739,2084,1696,1284,1101,1090,1032,1216,2204,2847,2812,2907,2633,2754,2950,2805,3226,3430,2837,2462,2577,2698,2138,1229,969,1134,1526,1271,1422,1283,1481,1743,1758,1736,2192,2421,2419,2667,2963,2928,2854,2580,2568,2546,2479,2361,2435,2157,2018,2402,2746,2709,2726,2740,2312,2351,2253,2196,2137,2035,2108,1436,1331,1814,1891,1922,1797,1901,1872,1876,1854,1592,1737,1968,2042,1989,1925,1929,1831,1693,1833,1848,1814,1565,1514,2728,2369,1607,1828,2067,1840,1747,1910,1780,1780,1716,1463,1666,1625,2524,3320,3632,3835,3709,3205,3241,3365,2507,2342,2802,2438,2474,2546,2252,1835,1980,2973,3379,3466,3542,3526,3650,3393,2448,1693,1529,1896,1682,1939,1914,1623,1881,2050,2268,2677,2696,2437,2399,2239,2019,2231,2126,2380,2207,1822,1798,1941,2017,2304,2712,2819,2668,2135,2303,2363,2786,2942,3176,3206,2608,2270,2623,2689,2048,1977,1714,1825,2192,2610,2294,1880,1776,1828,1954,1885,1504,1381,1215,1379,2099,1919,1692,1847,1893,2168,2480,2338,1838,1835,2238,2403,2276,1776,1549,1561,1771,1521,1295,1563,1873,1696,1763,1915,1734,1482,1332,1515,1510,1353,1299,1676,1701,1777,2167,2459,2657,2649,1993,1742,1809,1434,1420,1470,1520,1389,1454,1337,1261,1534,1594,1648,1720,1420,1468,1450,1350,1337,1295,1301,1367,1432,1562,1476,1403,1497,1605,1798,1981,1789,1391,1326,1774,2469,1849,1388,1575,1544,1444,1669,2047,2197,1956,2176,2912,2268,1948,1949,2115,1779,1794,2378,2562,2509,2835,2909,2520,1939,1582,1747,1525,1559,1563,1549,1646,1462,1266,1489,1734,1636,1729,1843,1808,1874,2017,1957,2524,2822,2467,2014,1657,1743,1801,1819,1968,2037,2405,2674,2647,2798,2334,2545,2684,2851,2632,2764,2706,3028,3672,3278,2160,1923,2683,3642,3536,3095,2657,2421,2337,2438,2742,2740,1974,2246,2689,2526,2373,2509,2359,2011,2314,2555,2135,1790,1854,2338,2907,3083,3020,2578,2481,2405,1970,2707,3393,3326,3123,3138,3121,2769,2570,2585,2723,2265,1781,1654,2168,2474,2156,2138,2027,2165,2577,2591,2514,3493,3739,3270,3614,3485,2960,2867,2957,3097,3134,3034,2967,2744,2395,2477,2023,2356,2668,3000,3070,2712,2796,3120,3608,3328,2242,2139,1793,1919,1954,2283,2536,2091,1809,2260,2903,2711,2484,2615,2226,2333,2678,2210,1911,1882,1773,2316,2675,2381,2217,2431,2559,2193,2095,2284,1915,2091,2311,1998,1889,2042,2909,3436,2790,2230,2154,2457,2053,1930,2379,2464,1950,1929,1835,1874,2220,2115,1876,1783,1625,1560,1492,1518,1802,1831,1913,2268,2383,2447,2036,1802,1804,1848,2212,2475,2452,2473,2527,1780,1639,1801,2047,2009,2078,2317,2327,2029,2102,2232,1795,1792,1875,1983,1583,1882,2291,2514,2282,2153,2667,3039,3055,3071,2576,2637,2896,3055,3427,3480,3375,3138,2686,2230,1954,1713,1977,2490,2530,2599,2410,1975,1559,1649,2134,2312,2150,1993,2646,2657,1954,1894,1944,2055,1857,1748,1788,2398,2724,2287,1879,1820,1747,1736,1913,1813,2021,2532,2902,2818,3161,2941,2299,1931,1932,1850,1886,1970,1892,1863,2265,2843,3016,2445,2050,2388,2081,1857,2364,2977,2620,2316,2819,2854,2220,1988,2020,2086,1979,2308,2006,1842,2352,2249,2249,2411,1988,1989,2352,2316,2171,1853,1832,1687,1831,1845,2136,2239,2334,2235,1991,2214,2128,2204,2066,2316,2498,2106,1822,2002,1859,1841,1848,1633,1800,1839,2065,2911,2486,2075,1955,2012,2159,2539,2977,2992,2601,2456,2577,3155,3466,3311,3401,2801,2404,2243,2697,2902,3040,2983,2790,2684,2387,2358,2394,2295,2404,2509,3120,3672,3439,2964,3251,3593,2986,2095,2160,2380,2035,2018,2508,2699,1976,1849,1794,2326,2869,2823,2567,2623,2522,2521,2499],[2227,2446,2053,2172,2483,2619,2830,2854,2764,2845,2812,2889,3516,3205,2750,2459,3274,3430,2249,1724,1735,1448,1367,1720,2033,2590,3249,3581,3271,2971,2668,2247,1881,2418,3134,2707,2498,3248,3492,3146,2437,2224,2063,1748,1787,1938,2077,2610,2350,2544,1997,1799,2646,2740,2428,2792,3178,3425,3321,2611,2280,1834,1373,1372,1583,1556,1560,1766,1845,1826,1880,2099,2808,3332,2973,2533,2776,2796,2894,2874,3044,3084,2856,2542,2584,2959,2968,2923,2674,2063,2546,3343,3242,2842,2816,2788,2800,2809,2667,2431,2548,2724,2769,2286,2568,2790,2813,3305,3194,2564,2758,3241,3310,2929,2509,2734,2912,3184,3112,2810,2742,2517,2542,2658,2478,2486,2603,2224,2081,1727,1648,1863,1777,1803,1867,2060,1882,1813,1902,2037,2346,2752,2408,1998,2314,3012,3043,2740,2750,2476,2222,2074,2290,2351,2331,2407,2562,2752,2459,2210,2089,1880,1926,2237,2156,2080,1836,1632,2282,2906,3059,2710,1981,1831,1703,1648,2035,2132,2008,1911,1949,1875,1918,2167,2433,3226,3330,3269,3204,2899,2346,2261,2514,3251,3335,3251,3144,2876,3328,3229,2810,3484,3208,2712,2238,1879,1746,2031,2047,1743,1938,1963,2438,2876,3220,3616,3684,2954,2502,2328,2932,3076,2547,2176,2328,2469,2585,2677,2729,3036,2718,2546,2468,2388,2230,2214,2524,2344,1946,3138,3677,2558,2459,2546,2559,2519,2040,2109,2901,3181,2798,2687,2822,2589,1744,1426,1366,1337,2101,2371,2279,2813,2986,2740,2893,3386,3217,2929,2744,2625,2244,1841,1910,2096,2010,2432,3108,3538,3056,2344,3106,3683,3404,3566,2916,2390,2270,2593,2899,3118,2442,1825,2368,2351,2427,3236,3316,3177,2680,2724,2832,2734,2541,2496,2143,2291,3094,3770,4611,4296,3429,3039,2961,2915,2554,1870,2004,3016,2658,2408,2712,2335,2058,1918,1879,1863,2652,3406,2846,2661,2789,2633,2082,1854,2206,2478,3024,3267,2666,1861,1747,1588,1450,1353,1675,1708,1462,1400,1510,1887,2115,1892,1648,1808,2068,2230,1675,1424,1467,1693,1733,1682,1682,1691,1631,1636,1637,1753,1758,1937,2295,2207,2684,2770,2695,2824,2238,1642,1469,1472,1534,1939,2425,2110,2060,2485,1980,1793,2766,2907,2137,1936,2021,1983,1940,2047,2092,2624,2251,2533,2735,2787,2712,3620,4219,3982,3927,3881,4121,3710,3182,2548,2296,2120,2113,2282,2569,2376,1981,2157,2232,2041,2146,2338,2147,2179,1974,1693,1850,1700,1794,1813,2141,2828,2547,2482,2546,2580,1882,1577,1842,1908,1885,2150,2655,2532,2230,1797,1896,2858,2852,2522,2722,3146,2734,2363,3033,2707,2609,2971,3149,2876,2359,2320,2414,2514,2866,3096,3056,2996,3253,3193,2906,2719,2980,3228,3069,2663,2320,2116,2636,2819,2368,2845,3094,2888,2703,2871,2938,2778,2603,3724,3625,2619,2148,2144,2696,2081,1941,2137,2504,2269,1786,1738,2038,2469,2795,3543,3680,3051,2801,2670,2326,2237,2136,1939,2070,2101,1938,1888,1711,1776,1766,1622,1681,1569,1969,2282,2522,2881,2802,2543,2074,2321,2448,2053,2016,2394,2238,2374,2722,2271,1904,1989,2182,1940,1662,1615,1491,1566,1989,1706,1681,1619,1520,1418,1460,1501,1464,1363,1248,1406,1927,2231,1844,1352,1448,1835,1970,1964,1559,1461,1584,1572,1732,1973,2219,2196,2366,2494,2761,2640,2164,1677,1864,2358,2567,2070,1648,1582,1714,2514,2865,2959,2768,1995,1727,1903,2094,2216,2016,2054,2121,2293,2205,2170,2192,2147,2195,2059,2542,3077,2520,1872,1794,1939,1970,1932,1935,1737,1567,1500,1515,1582,1581,1465,1500,1519,1534,1535,1471,1389,1339,1373,1378,1898,1615,1332,1311,1242,1230,1191,1138,1156,1208,1184,1260,1171,1266,1300,1181,1111,1242,1329,1201,1144,1297,1349,1348,1420,1428,1456,1349,1551,1620,1686,1861,1536,1479,1660,1713,1663,1673,1541,1404,1410,1399,1403,1952,1958,1729,1653,2044,1997,1960,1909,1602,1465,1397,2122,2580,1898,1476,1437,1685,1919,1633,1491,1461,1389,1360,1505,1521,1527,1836,1740,1873,1708,1199,1350,1342,962,1037,1142,1199,1277,1295,1334,1605,1950,2015,1969,1739,1701,1955,1759,1391,1523,1704,1687,1712,2099,2235,1918,1674,1508,1352,1716,1678,1415,1644,2046,2224,2403,3057,2771,2248,2401,2758,2215,2156,3129,3421,3295,2659,1759,2047,3305,3417,2454,2708,2370,2172,2555,3073,3524,3168,1978,1527,1595,1617,1497,1926,2397,2574,2404,2387,2231,1760,1646,1955,2533,2150,2179,2311,1864,2244,2508,2113,2248,2359,1772,2531,2140,1643,1817,1703,2078,2609,2055,1631,1895,2311,2493,2550,2723,2250,1737,1519,1621,1820,2009,1760,2321,2686,2160,2876,4336,3671,2942,3124,3791,4184,4396,3891,2841,2458,2767,2504,1982,1983,2053,2360,2604,2532,2213,2155,2295,2114,2137,2332,2141,2216,2611,2928,2899,2480,2253,2529,2421,2644,2175,1971,2601,2512,2299,2481,2506,2602,2084,1366,2069,2423,2736,2548,2065,2486,2466,1869,2087,2198,2367,2421,2729,2618,2563,2381,2145,2452,2713,2591,2585,3116,3501,3208,2758,1756,2156,2316,1794,1699,1941,1990,2101,2126,2285,2634,2474,2654,2110,1826,2353,2832,3377,4388,4739,4705,4068,3552,4064,4287,4340,4151,3105,1866,2465,2666,2279,2088,2176,2390,2710,3394,4029,3778,2932,2079,2683,3639,3969,3748,2778,2363,3150,3835,3951,4029,3560,2261,1417,1267,1845,3096,3836,2695,1519,1714,1947,1986,1943,2002,1930,1854,1811,1691,1759,1481,1272,1428,1566,1519,1825,1908,1915,1917,1552,1626,2374,2963,2780,1948,1743,1471,1548,2082,2428,1883,1572,1459,1642,1879,1983,2026,2304,2216,2335,2733,3233,3323,2529,1921,1697,1725,1610,1685,1810,1855,2274,1904,1965,1432,1012,1032,1163,1296,2056,2597,2544,2588,2525,2096,1902,2048,1980,1694,1549,1545,1527,1640,1830,1451,1812,1922,1549,1308,1202,1423,1670,1974,2869,2302,1685,1282,978,1219,1503,1514,1438,1356,1281,1583,1987,1640,1528,1824,2242,1800,1498,1300,1078,1010,1109,1870,2681,2980,3087,2865,2598,2685,3010,3035,2920,3062,3040,2712,2282,1896,1565,1223,1203,1320,1166,1132,1327,1495,1736,1718,1859,2380,2636,2577,2543,2809,3230,3466,3914,3794,3218,2484,2112,2306,2258,1953,1970,2112,2316,2579,2188,1993,1749,1651,2131,2331,1996,1886,1812,1434,1962,2391,1843,1842,1845,1986,1875,1989,1814,1699,1848,1820,1803,1877,1900,1856,1921,1744,1945,2035,1766,1410,1981,3252,2822,1920,1975,2177,1944,1587,1830,2151,2012,1897,1908,1810,1664,2561,3248,3394,3630,3693,3080,2602,3061,2546,2375,2812,2757,2504,2274,2282,2061,2361,3046,2834,2198,2741,3366,3429,2874,2204,1707,1589,1929,1801,2319,2304,1740,1841,1786,1642,1737,1787,1938,1916,1904,2210,2092,1822,1973,1886,1885,1920,2198,1754,1662,2103,2178,2184,1858,1998,2287,2619,2609,2686,2900,2940,2646,2442,2469,2245,1835,1628,1887,1948,2166,2359,1960,1538,1515,1780,1742,1344,1383,1268,1490,2433,2298,1824,1541,1947,2317,2054,1846,1787,1588,1555,1800,2311,1786,1419,1525,1570,1568,1645,1666,1797,1730,1606,1616,1473,1354,1340,1385,1431,1411,1272,1324,1680,1935,2221,2232,2292,2438,1785,1362,1520,1694,1606,1399,1208,1357,1404,1425,1373,1647,1990,2003,1942,1359,1400,1632,1485,1386,1366,1365,1435,1426,1571,1571,1465,1721,1688,1709,1650,1648,1492,1485,1848,2241,1797,1499,1528,1441,1558,2248,2644,2026,1892,2349,2867,2230,1979,1965,1793,1609,1566,2017,2264,1839,2222,2420,2190,1929,1851,2057,1783,1627,1461,1498,1593,1411,1386,1475,1525,1597,1630,1977,2000,1975,2274,2389,2230,1951,2009,2185,1852,1513,1511,1763,1761,2030,2148,2314,2376,2259,2244,2147,2463,3198,2983,2936,3340,3610,3326,2842,2289,2186,2526,2829,3124,3068,2806,2879,2712,2597,2951,2749,2054,2436,2820,2520,2656,2442,2071,2242,2696,2799,2391,2029,1625,1896,2731,3327,2713,2177,2798,2998,2134,2193,2829,3119,3480,3604,2890,3032,3011,2943,2657,2260,1881,1693,2368,2731,2213,2336,2394,2590,2349,2836,2359,2640,3891,4124,3570,3336,3234,3032,3160,3441,3350,2964,2575,2563,2730,2422,1914,2055,2485,2902,3038,2956,3286,2898,3352,3297,2243,1769,1578,1810,2070,2386,2530,2273,1919,2137,2198,2492,2698,2632,2179,2046,1998,2033,1943,1798,1692,2152,2300,2169,2363,2331,2222,1940,2261,2623,2298,2203,2092,2067,2140,2096,2676,3250,2776,2715,2230,2657,2156,1694,2088,2349,1979,2022,2070,1921,2078,2214,2023,1787,1504,1656,1537,1722,2202,2034,2018,2304,2547,2612,2359,2247,2172,1820,1930,2047,2303,2864,3134,2182,1603,1603,1807,1793,2162,2634,2395,2440,2298,2039,1708,1871,2446,2153,2139,2764,2909,2728,2160,1835,1965,2264,2473,2798,2459,2591,3033,3666,3693,3265,3098,3061,2518,2081,1938,1825,2453,2903,2345,2579,2309,1792,2006,2332,2297,2042,1656,1629,2101,2190,1764,2046,2046,2154,1947,1798,2207,2598,2635,2287,1966,1766,1954,1880,1922,1815,1929,1884,1998,1823,2156,2364,1977,1861,1820,1844,1844,1729,1843,1747,2186,3054,2661,2165,2035,2466,2123,1497,2108,2962,2801,2639,3020,3251,2529,2213,2251,2144,1928,2215,2500,2541,2536,2407,2373,2330,1792,1893,1952,1960,1995,2048,2090,1976,1989,1960,2102,2339,2512,2469,2396,2008,1823,2104,2029,2330,2366,2010,1903,2124,2037,1783,1718,1691,1651,1689,2204,2637,2201,1721,1761,2239,2604,2839,2934,2626,2854,2912,2106,2462,2834,2607,2477,1737,1886,2349,2512,2235,2557,3052,3196,3065,2169,2431,2542,2277,2553,2628,3296,3787,3484,3208,3274,3375,3100,2499,2590,2332,1915,2012,2468,2880,2571,2218,2292,2556,2620,2581,2600,2648,2231,2203,2448],[1918,1891,1888,2245,2017,2144,2813,3176,3212,3211,2884,2922,3537,3254,2293,2210,2788,2489,1834,1870,1719,1423,1515,1511,1865,2938,3212,2941,2233,1980,2272,2338,2351,2975,3400,2986,3377,3783,3758,2919,1642,1500,1999,1771,2349,2128,1918,2052,2268,2534,2038,1880,2387,2668,2867,2801,2840,3002,3272,3453,2365,1598,1502,1484,1726,1718,1615,1747,1803,1749,1824,2008,2614,3168,2250,2098,2489,2468,2740,3084,3289,3213,2842,2383,2933,3085,2922,3060,3141,2770,2917,3573,3529,3300,3344,3186,2720,2408,2442,2480,2503,2270,2126,2061,2725,2822,3082,3487,2711,2497,2911,3257,3100,2649,2526,2888,2908,2993,3307,3578,3372,2629,2322,2613,2729,2706,2178,1688,1777,1476,1992,1815,1840,2002,2127,2397,2137,1792,1977,2440,2476,2428,2066,2114,2441,2805,2780,2676,2604,2485,2430,2307,2631,2476,2066,2105,2406,2525,2094,1929,2018,2008,2049,2364,2644,2670,2534,2547,2955,2566,2548,2326,1985,1848,1836,2186,2302,2071,2155,2320,2262,2200,2285,2205,2289,3144,3387,3373,3312,2653,2364,2675,3064,3505,3389,3285,3112,3116,2915,2776,2872,3108,3096,2957,2819,2399,1999,2208,2387,1927,1911,1956,2460,2664,2901,3162,3366,3292,2753,2366,3043,3250,2477,1764,2434,2508,2362,2491,3119,2696,2246,2383,2581,2791,2745,2553,2658,2684,1888,2622,2965,2408,2304,2557,2737,2384,2037,2757,3430,3027,2703,2822,2248,2736,2576,2443,2286,2120,2277,2423,2452,2488,2566,2756,3271,3464,3181,2840,2657,2344,2051,2372,2998,3205,2912,2799,3398,3673,3514,3550,3624,3318,3243,2561,2784,2626,2455,2554,2497,2831,2990,2651,2288,2779,3064,3626,3571,3719,3692,3401,2602,2026,2220,2603,2301,2164,2711,3829,4133,3693,3494,3473,3522,2701,2008,1944,2407,2805,2730,3013,3376,3151,2395,1999,1684,1965,2771,3095,2318,1954,2247,2324,2041,2019,2098,1957,2676,3465,3074,2402,2194,2001,1758,1601,1733,1817,1677,1622,1656,1985,1967,1678,1531,1958,2101,1968,1798,1769,1930,2061,2162,2009,1742,1798,1845,2086,2156,2364,2588,2575,2448,2303,3014,3397,2570,2156,1936,1773,1720,1818,1721,1973,2607,2142,1644,2121,2040,1919,2432,2757,2230,2045,1864,1792,1702,1956,2137,2595,3064,2971,3007,2923,2830,3525,3923,4224,4232,4090,3868,3539,4019,2927,2482,2732,2521,2145,2181,2293,1923,1790,1597,2163,2790,2319,1737,1917,1794,1652,1794,1889,2049,1779,2426,2949,2679,2969,2707,2234,1967,1909,1965,1853,1596,1902,2388,2520,2375,1885,2122,3172,3038,2686,2644,3030,2714,2590,3183,3234,2995,3262,3104,2341,2166,2674,2743,2480,2797,3109,3075,3118,2918,2909,3106,2987,3262,2867,2831,2665,2443,2519,2562,2575,2523,2396,2604,2697,2537,2539,2822,2771,2758,3793,3660,2756,2352,2055,2368,1933,1922,2070,2128,2056,1742,1484,1366,1817,1980,2597,3316,3007,2383,2038,2059,2084,1995,1972,2026,2013,2034,1948,1790,1794,1844,1649,1673,1765,2588,3051,2888,2874,3285,3518,2696,2052,1787,1881,2498,2875,2477,2016,1881,1691,1870,2136,2098,2216,1985,1544,1571,1523,1520,1413,1459,1414,1392,1338,1377,1457,1387,1360,1339,1642,2272,2149,1857,1700,1712,1838,1882,2109,2076,1996,2231,2190,2231,2390,2477,2252,2802,2602,2240,1994,1511,1574,2151,2581,2526,2071,1733,1609,1560,2230,2579,2499,2462,2127,2088,2235,2214,1953,1911,2098,2095,2619,2223,2042,2114,2306,2459,2238,2782,2612,1863,1826,1904,1955,2010,1840,1783,1656,1516,1487,1635,1701,1444,1361,1506,1508,1463,1478,1383,1243,1403,1477,1266,1637,1429,1304,1419,1362,1211,1124,1163,1203,1230,1109,1276,1315,1347,1351,1197,1196,1440,1444,1249,1254,1362,1329,1512,1591,1484,1757,1501,1465,1440,1472,1420,1350,1452,1694,1650,1495,1494,1521,1574,1484,1383,1376,1858,2199,1706,1472,1704,1622,1689,1674,1734,1985,2004,2364,2719,2010,1652,1611,1826,1893,1606,1677,1610,1344,1520,1564,1393,1412,1560,1608,2032,1837,1410,1396,1240,997,1435,1288,1288,1294,1269,1519,1634,1670,1831,1902,1777,1851,1786,1671,1544,1787,1496,1401,1869,1848,1934,1734,1460,1286,1559,1725,1511,1740,1744,2046,2361,2589,2557,2147,2132,2699,3220,2355,2186,3375,3673,2819,1630,1278,2204,3400,2979,2362,2469,1917,1636,2002,2358,2824,2879,1771,1150,1131,1392,2017,2744,2711,2386,2237,1954,2135,2079,1445,2275,2805,2028,2403,2541,2231,2156,2034,2134,2129,1954,1943,1934,1757,2183,2315,1686,1857,2129,1944,1916,1997,1791,2031,2751,2577,1882,1577,1603,1791,2404,2525,1919,2313,2491,2602,2724,3642,3408,3074,2874,2610,3242,3931,4346,3997,3094,2640,2536,2201,2531,2283,1870,2160,2351,2048,1922,2022,2002,2240,2343,1657,2139,2342,3169,2968,2132,1887,2073,2557,2776,1979,1865,2547,2540,2256,1876,2105,2700,2444,2414,3046,2655,2336,2462,2211,2470,2177,1983,1839,2050,2631,3077,2919,2647,2664,2216,1637,1914,2877,3459,3178,3116,3448,3449,2621,2034,2539,2204,1795,1697,1785,1824,1578,1535,2048,2668,2226,2576,1936,2245,2894,3393,3795,4468,4815,4439,3076,2697,3571,4138,4351,4259,3587,2280,2584,2769,2287,2297,2645,2675,2568,3043,3629,3840,2813,1917,2720,3853,4357,4355,3031,2260,2823,3552,3883,4169,3862,2330,1157,1462,2742,3902,3925,2853,2003,1972,2245,2042,1802,1940,2092,2179,1843,1483,1160,1444,946,766,1326,1881,2008,2190,2366,2133,1978,2052,1866,2420,2866,2330,1931,1753,2091,3125,3054,2388,2020,1803,1520,1468,1621,1660,1617,1902,2160,2381,2569,2511,2164,1857,1724,1718,1612,1788,1754,1908,1887,1632,1413,1003,1205,1892,1563,1173,1685,2140,2605,2232,1702,1721,1678,1779,1804,1757,1810,1704,1807,2038,1519,1384,1659,1469,1500,1310,1395,1570,2032,1873,2371,2097,1658,1073,598,924,1209,1433,1297,1565,1410,2026,2107,1580,1744,2373,1996,1504,1386,1120,919,945,1407,2304,2580,2978,3186,2930,2787,2878,2992,2810,2569,2582,2529,2131,1628,1388,1396,1499,1462,1250,1157,1472,1742,1842,1719,1620,1943,2582,2651,2731,3153,3155,3898,4147,4147,4129,3541,2735,2721,2951,2390,1950,1718,1695,2026,2269,1823,1813,1829,1846,2174,2250,1857,1979,1730,1859,2441,2430,1977,2191,1972,2085,1987,2022,1872,1766,1734,1798,1874,1843,1777,1678,1943,1833,1831,1874,1667,1592,1909,2150,1909,1687,1827,1665,1490,1658,1891,2303,2019,2071,1973,1828,1729,2150,3199,3228,3010,2912,2507,2127,2333,2109,2247,2556,2746,2619,2423,2409,2265,2277,2920,2949,2700,3264,3917,3632,2315,2025,1898,1576,1885,2129,2245,2178,1482,1190,1755,1694,1822,1832,1851,1935,2080,1987,1367,1865,2430,2065,1967,2000,2171,1609,1957,2083,1956,2278,2752,2901,2666,2416,2205,2536,2504,2391,2717,2230,1857,2303,2132,2261,2238,2042,2370,2612,2165,1649,1787,1873,1885,1669,1597,1525,2453,2601,2365,2070,1519,1692,2055,1926,2095,1861,1202,989,924,1421,1808,1757,1637,1531,1612,1758,1851,1925,1664,1388,1403,1505,1489,1548,1608,1614,1623,1460,1449,1627,1797,1899,1831,1971,2424,2114,1527,1842,2226,1902,1442,1284,1430,1423,1395,1275,1341,1619,1567,1640,1377,1393,2051,1798,1488,1825,1761,1355,1388,1496,1573,1648,1509,1365,1584,1575,1572,1366,1231,1593,1788,1542,1470,1443,1473,1561,1905,2148,1817,1801,1989,2426,2342,2402,2164,1836,1707,1556,1740,1854,1614,1725,1791,1676,1776,2050,2102,2200,2129,1621,1583,1478,1166,1335,1333,1367,1429,1479,1874,1976,1954,1826,1599,1577,1750,1835,2072,1947,1641,1634,1832,2060,2204,2223,2218,2583,2814,2808,2958,2680,2603,2584,2953,3561,3256,3030,2630,2486,2574,2418,2451,2855,3128,2976,2774,2623,2610,2709,2279,2018,2230,2403,2461,2441,2279,2342,2213,2269,2523,2372,1776,1784,2283,2494,3053,3161,2657,2671,2699,2464,2136,2163,2523,3317,3928,3483,3108,2909,2758,2497,2352,2215,2076,3017,2988,2164,2692,2546,2264,2099,2396,2205,2134,3075,3959,4109,3853,3554,3331,3415,3417,3122,2889,2488,2585,2841,2675,2292,2343,2862,3133,3166,2687,2995,3275,3857,3311,2490,2003,1978,1967,2080,1981,2199,2388,2243,1916,1935,2819,2345,1853,1732,1766,1837,1881,1949,1672,1547,1726,1483,1586,2225,1951,1951,2053,2131,2148,2055,2207,2385,2212,2432,2780,2324,2596,2698,2505,2248,2553,2108,1673,1812,2092,2125,2048,1945,1764,1816,1771,1806,1795,1610,1991,1951,2029,2433,2250,2085,2248,2488,2542,2465,2270,2512,1880,1854,2108,2183,2365,2622,2483,2013,1635,1543,1678,1709,1674,1701,2190,2384,1955,1793,2376,2668,2262,2130,2250,2575,2219,1266,1123,1451,2166,2344,2263,2396,2750,2784,3210,3462,3316,3147,2595,2114,2011,2063,2312,3083,2967,2489,2492,2473,2290,2491,2520,2094,1714,1562,1636,1842,2152,2120,2556,2342,2272,2163,1893,1727,1946,2210,2406,2179,1982,2101,1938,1826,1564,1868,1816,1884,1984,2026,2067,1904,1756,1814,1984,1935,2035,2217,2036,1953,2529,2711,2908,2578,2013,1814,1693,1762,2696,3121,2671,2791,3104,2552,2304,2164,2076,1857,1990,2542,2517,2653,2700,2601,2088,1836,1992,1908,1875,1864,1896,2036,2101,2004,2041,2075,2159,2258,2382,2263,1945,2053,2272,2096,2141,2219,2050,1907,1937,1854,1588,1729,1806,1762,1865,2360,2208,1892,1706,2136,3333,3618,3210,2952,2378,3117,3380,2776,2891,2723,2396,2309,2111,1865,2132,2380,1932,2237,2906,3228,2662,2243,2507,2426,2267,2515,2718,3393,3831,3600,3520,3507,3253,3133,2733,2843,2591,2074,1985,1925,2293,2620,2229,2132,2036,1955,2487,2979,2756,2155,1887,2095],[2745,2895,3238,3138,2758,3093,3481,2979,2755,2972,3024,2722,2984,2853,2080,2285,2669,2013,1707,1783,1621,1594,1684,1681,1692,2580,2522,1959,1814,1853,2236,2940,3383,3915,4002,3619,4085,4000,4080,3636,2420,1942,2455,2645,2712,2034,1670,2155,2200,1970,2072,2344,2415,2639,3094,2985,2673,2155,2337,2932,2588,2143,1810,1588,1806,1912,2000,2167,2440,2453,2613,2350,2541,3272,2953,2314,2248,2466,2665,2956,2990,2720,2152,2064,2567,2723,2832,3129,3332,3329,3585,3804,3604,3707,3654,3386,2898,2421,1872,2299,2587,2436,2054,2061,2604,2820,3301,3310,3034,3183,3383,3214,2999,2181,2208,2698,2709,2588,2655,3231,3484,2562,2048,2286,2382,2708,2447,2319,2186,2143,2356,2410,2685,2565,2679,2636,2014,1854,2008,2628,2639,2381,2392,2463,2702,2881,2894,2851,2508,2045,2148,2712,2806,2431,1958,2132,2421,2319,2043,1968,2188,2260,2252,2741,2723,2806,3056,3514,3277,2393,2019,2032,1886,1494,1906,2677,2452,1913,2186,2987,3122,2929,2493,2195,2364,3194,3462,3320,2971,2567,2979,3091,2776,2915,3002,3198,3128,3196,3016,2965,2994,3035,2974,3136,3449,2735,1968,2421,2720,2432,2577,2443,2372,2699,2877,2851,3007,3206,3119,2708,3179,3237,2548,2110,2622,2918,2645,2673,2939,2785,2652,2470,2262,2723,3096,3083,2972,2736,1516,1593,1920,2050,1772,1743,2284,2239,2048,3001,3506,2889,2542,2757,2556,2688,3028,3463,3187,2463,2361,2429,2440,2598,2776,2937,3361,3486,3393,3001,2768,2491,2061,2285,2974,3257,3187,3093,3553,3653,3950,4452,4029,3318,2394,1836,2531,2879,2792,2940,2976,3273,3561,3283,2939,3165,3389,3726,3868,4141,4140,3725,2909,2081,2496,2657,1875,2078,2412,3151,3496,3319,3494,3344,2919,2175,1802,1910,2116,2303,2713,3012,2589,2599,2812,2778,2492,2006,1949,2081,2241,2667,2406,1937,1774,1738,1666,1620,1954,3099,3184,3123,3210,2531,1916,1955,1968,2035,1591,1560,1830,2071,1917,2784,2877,2492,2231,1894,1981,2128,2114,1959,1952,2096,1776,1623,1766,2276,2197,2311,2688,2648,2242,2163,2486,2841,2290,1910,1810,1686,2040,2300,1478,1769,2446,2232,1964,1980,2088,2278,2365,2840,2111,2097,1754,1620,1578,1958,2150,2501,3037,2888,2742,2692,3730,3773,3828,4160,3918,3960,3448,3632,3952,3118,2564,2885,2471,2127,2101,2275,1804,1606,1539,2337,2604,1939,1686,1797,1741,1757,1570,1776,1798,1996,3416,3436,3414,3195,2549,2604,2934,2448,1910,1697,1596,1569,2009,2381,2430,2741,3057,3111,2736,2807,2941,3007,2821,2786,3131,3242,3028,3122,3095,3131,3230,3416,3218,2736,2878,3111,2846,2519,2201,2795,3410,3249,3199,2670,3077,3054,2740,2598,2354,2568,2806,2652,2468,2512,2343,2108,2521,2247,3174,3609,3740,2994,2253,2310,2075,1776,2238,2111,2004,1834,1799,1521,1212,1491,1640,1813,2286,2260,1986,1954,1942,1870,1593,1901,2126,2190,2408,2166,1808,1919,1866,1774,1745,2228,3453,3529,2919,2917,3254,3329,2986,2185,2198,2742,2977,2899,2623,2297,1926,2118,2558,2510,2118,2163,2339,1905,1567,1396,1345,1272,1562,1830,1438,1319,1300,1408,1338,1443,1650,1780,2330,2158,1932,1996,1994,1969,1916,2049,2330,2381,2372,2207,2143,2356,2399,2440,2913,3226,2978,2285,1891,2104,2323,2384,2260,2069,2024,2114,1982,2139,2490,2607,2691,2725,2676,2568,2513,2352,2144,2155,2105,2269,2119,2046,2274,2537,2422,2197,2148,1858,1814,1862,1885,2031,1992,1710,1496,1339,1394,1593,1848,1740,1529,1560,1582,1468,1440,1307,1166,1202,1282,1296,1213,1224,1241,1349,1440,1358,1250,1181,1289,1336,1264,1277,1294,1275,1272,1329,1310,1303,1335,1292,1170,1260,1356,1258,1447,1494,1384,1338,1414,1389,1333,1403,1381,1282,1428,1945,1961,1629,1472,1532,1384,1341,1348,1406,1534,1536,1344,1301,1492,1796,1896,1815,1794,1940,2171,2333,2312,2040,2105,2102,1692,1389,1562,1860,1651,1395,1700,1461,1360,1365,1412,1615,1853,1823,1649,1471,1560,1374,1701,1591,1332,1163,1556,1779,1730,1638,1778,1996,1919,1696,1422,1942,1721,1759,1536,1779,2008,1929,2019,1934,1989,1982,1792,1666,1734,2304,1954,1770,1715,2312,2404,2073,1910,2359,2614,1958,2088,2514,1876,681,373,945,2363,2244,1963,2116,2414,2158,1542,1450,1532,1850,2062,1474,1352,2064,2110,2110,2410,2610,2427,2033,1685,2099,2468,1847,2648,2934,2352,2472,2777,2329,1741,1832,1829,1643,1825,1858,1904,2098,2214,2133,2203,2190,2402,2598,2589,2326,2211,1997,2106,2497,2324,2137,1776,2064,2541,2171,2036,2120,2530,3432,3020,2774,3226,3652,3711,3083,3172,3276,3673,3393,2415,2320,2429,2263,2419,2256,1959,2035,1991,1743,1776,1757,1902,2128,2320,2108,2746,2888,2774,2423,2242,2390,1941,2080,2512,2485,2392,1964,2126,2175,1698,1998,2244,2281,2596,2603,2178,2332,2640,2498,1954,1840,1998,1718,1554,2812,3860,3340,2720,2411,2044,2400,2595,2806,3418,3050,2274,2412,2966,2459,2460,2690,2299,2114,1984,2267,2480,1525,1599,2310,2630,2547,3206,2902,2758,2981,3210,3811,4568,4784,4340,2976,3054,3710,4133,4273,4344,3931,2900,3154,3002,2261,2567,3001,2822,2423,2394,2296,3017,3082,2707,2985,3830,4167,4375,3828,2788,2588,3459,3902,4112,4140,3308,1604,1918,3433,4144,4156,3764,2821,2156,2244,2360,2213,2099,2078,2155,1880,1670,1586,2624,1776,698,1224,1624,1833,2530,2679,2320,1974,1880,1623,2121,2658,2534,2131,2040,2553,2719,2405,2218,1677,1786,1750,1643,1421,1590,1755,1698,1827,2236,2366,2353,2142,1846,1785,1816,1621,1725,1974,2844,2449,1858,1240,899,1365,1892,1521,1123,1398,1788,1971,1482,1781,1833,1423,1827,1810,1726,1809,1644,1733,1590,1204,1672,1453,1532,1604,1390,1341,1740,1891,1901,2181,1922,1701,1078,935,1072,1608,1662,1562,1724,1643,1807,1527,1576,2332,2256,1489,1454,1225,970,970,1340,2332,2850,2895,2934,2874,2686,2755,2979,2886,2590,2500,2540,2153,1677,1764,1810,1673,1615,1238,1131,1460,1822,1778,1317,1269,1648,2222,2465,2778,2986,3342,3255,3729,3857,3472,3594,3116,2510,2424,2890,2370,1970,1797,1828,1924,1938,1893,1892,1874,1606,1816,2274,1823,1958,2018,2410,2455,2267,2127,1982,1743,1959,2121,1866,1695,1704,1704,1794,1873,1844,1792,1810,2007,1911,1659,1565,1578,1709,1654,1537,1660,1754,1733,1451,1794,2104,2435,2874,2539,2091,1809,1723,1747,1903,2526,2522,2403,2289,2344,1919,1991,1962,2225,2612,2386,2388,2674,2579,2662,2275,3216,3797,3876,3973,4359,4020,2436,1783,1752,1418,2002,2199,2071,2000,1565,1462,1897,1974,2691,3062,2921,3038,3158,2350,1308,1946,2246,2110,2293,2336,2360,1979,2095,1989,2436,3054,3341,3137,2774,2604,2301,2480,2300,2470,2840,2390,2095,2469,2624,2491,2253,2100,2144,2237,2014,1893,2170,2121,2010,1735,1412,1606,2445,2529,2546,2364,1748,1719,2213,1946,1751,1596,1126,1210,1440,1930,2106,1843,1642,1591,1659,1598,1748,1704,1489,1511,1504,1475,1503,1604,1737,1575,1220,1350,1835,2026,1953,1893,1632,1880,2083,2330,1819,1889,2365,2148,1517,1334,1322,1261,1360,1383,1454,1300,1315,1583,1498,1301,1438,1405,1596,1982,1864,1564,1439,1383,1405,1646,1355,1138,1562,1610,1536,1516,1460,1588,1459,1409,1477,1438,1556,1574,1382,1477,1750,1658,2032,2366,2343,2465,2368,2100,2084,1665,1797,2148,1656,1498,1470,1805,1941,1765,1846,2048,2030,1790,1804,1523,1490,1472,1260,1196,1223,1366,1692,2046,2063,1754,1547,1817,1910,1702,1656,1654,1787,2031,2496,2184,1732,2038,2297,2420,2601,2431,2368,2002,1617,1798,2779,3414,3059,2762,2421,2304,2567,2335,2165,2276,2651,2592,2535,2476,2372,2077,2021,1966,2023,2459,3016,2632,2117,2300,2270,2240,2215,2199,2184,2472,2635,1980,1899,2577,2587,2418,2568,2840,2625,2178,2408,2761,3054,2875,2504,2267,2400,2446,2254,2481,2485,3086,2562,1882,2554,2226,2017,2083,2348,2602,2086,2324,3149,4161,4248,3824,3544,3132,3130,3276,2818,2265,2324,2622,3155,2697,2235,2823,3062,3038,2486,2656,2886,3232,3341,2830,2259,2109,2353,2501,2057,2062,1929,2350,2261,2475,2790,2088,1645,1692,1852,1844,1671,1701,1793,2220,2183,1569,1313,1951,2497,2426,2350,2285,2192,1948,2110,2232,1823,1910,2502,2355,2492,2589,2097,2162,2122,1840,1936,1814,1785,1960,1803,1547,1772,1759,1607,1628,1498,1734,2015,2032,2175,2367,2457,2292,2406,2591,2337,2227,1937,1893,1908,1814,1901,2236,2249,2554,2930,2122,1617,1692,1862,1420,1266,1790,2343,3118,2619,2238,2361,2116,1974,1672,1886,2145,1725,1454,2031,2419,2588,2160,2187,3023,2755,2139,2374,3046,2944,2393,2002,1843,1827,2332,2744,2961,2791,2821,2771,2663,2656,2435,1966,1583,1504,1665,1587,1648,2219,2441,2230,2517,2876,2569,2040,2036,2118,2079,1961,2187,2029,1760,1903,1824,1885,1975,1885,2010,1841,1802,2213,1927,1603,1901,2214,2137,2021,1731,1865,2354,2901,3164,3159,2688,1998,2003,1741,1708,2267,2658,2032,2184,2898,2492,1997,1976,1980,1968,1860,2130,1936,1896,2478,2855,2233,1902,1838,1829,1780,1856,2017,2138,2028,1678,1667,1497,1851,2101,2226,2137,2057,2141,2193,2035,2145,2372,2144,2004,1957,1736,1723,1699,1784,1819,2056,2230,1819,1739,1833,2859,3832,3339,2864,3009,3155,3529,3012,2432,2452,2365,1945,2111,2589,1981,1668,2465,2668,2813,3154,3250,2495,2545,2589,2360,2366,2430,2691,3261,3694,3784,3661,3485,3018,3054,2692,2580,2503,2075,1812,1410,1914,2786,2245,1959,2084,1999,2215,2687,2509,2413,2605,2545],[2975,3220,3697,3787,3806,3996,3928,3260,2833,2653,2335,2824,3024,2750,2586,2675,2364,1791,1935,1711,1526,1633,1546,1796,1632,2045,2143,1914,1919,1927,2296,3463,4239,4417,4308,4016,3812,3639,3527,2839,2508,2310,2236,2286,2630,2486,1957,2476,2214,2168,2063,2216,2147,2511,2736,2788,2474,2105,2247,2654,2930,2920,2624,2457,2653,3153,3537,3629,3720,3298,2884,2739,2800,3360,3683,3272,2921,2708,2542,3052,3151,2963,2354,2419,2968,3074,3032,3227,3259,3346,3477,3765,3648,3366,2842,3243,3648,3421,2784,2789,3319,3439,3007,2644,2863,2388,2845,3317,2524,2097,2819,3054,2404,1460,1808,2323,2472,2539,2436,2711,2645,2312,2260,2091,2019,2487,2553,2521,2703,2830,2498,2470,2667,2347,2548,2788,2107,1698,1881,2401,2595,2429,2232,2283,2446,2570,2994,2981,2306,1599,1653,2082,2467,2199,2019,2241,2327,2308,2236,2297,2493,2437,2382,2908,2917,2928,3076,3295,3107,2362,1886,2031,1793,1453,2047,3024,2833,2093,2385,2788,3107,2876,2454,2048,2524,3428,3419,3284,2984,2743,3154,2968,2986,2910,2932,3408,3648,3771,3474,3062,2827,2964,3051,3250,3167,1830,1917,2845,3131,2953,2966,2688,2388,2637,2530,2290,2839,2906,3037,3130,3227,2579,2214,1980,1848,2441,2801,2770,2906,2933,2447,2238,2382,3101,3138,3300,2741,2352,2148,2122,2106,2135,1903,1927,2384,2437,2545,2746,2871,2561,2115,2452,2420,2288,2907,3428,3295,2556,2467,2475,2520,2851,2778,2235,2727,3409,3508,3125,2701,2455,2121,2085,2783,2996,2800,2977,3615,3955,4258,4539,4328,3070,1944,2116,2583,2794,2236,1999,2279,3019,3122,3110,2886,3328,3994,3991,4073,4351,4038,3370,2900,2643,2751,2326,2026,2808,3230,3871,3930,3577,3426,3266,2786,2142,1738,1744,1957,2387,3002,2862,1969,2144,2894,2773,2381,2408,2449,2206,2369,2750,2166,1826,1860,1874,1522,1708,1774,2207,2546,3087,3453,2580,1676,1808,2130,1992,1495,1531,1810,1829,1990,3316,3821,3498,3097,2521,2043,1878,1820,1961,2180,2350,1924,1538,1642,2104,2061,1969,2309,2641,2210,1903,1900,2059,1744,1794,1948,1785,1854,1878,1830,1946,2295,2597,2043,1671,1779,1577,1739,2082,1908,2294,1808,1528,1639,1785,1924,2277,2820,2719,3088,3485,4056,4073,4460,4140,2961,2336,2927,3492,3430,2824,2081,2424,2275,2442,2249,2784,2062,1649,1422,1629,1667,1541,1742,1803,1856,1900,1412,1816,1351,2749,4167,3870,3437,3261,2895,2668,2642,2400,1926,1643,1698,1686,1797,2081,2030,2381,3099,2803,2819,3226,2927,2788,2850,2748,3017,2794,2811,2810,2241,2718,2931,3091,3523,3247,3056,3078,2984,3023,2756,3081,3216,2783,2297,2202,2820,2988,3054,2787,2597,2746,2853,2996,2518,2601,2384,2257,2309,2567,3407,3666,3715,3087,2195,2192,1840,1567,2173,2185,2126,2085,2498,2196,1848,1983,1974,2030,2160,1818,1819,1992,2047,1923,1957,2655,2368,2565,2565,1862,1667,2027,2308,2374,2318,2532,3642,3615,2908,2885,2706,3018,2979,2464,2299,2632,2851,2527,2496,2648,2270,2486,2615,2652,2392,2086,2364,2275,1738,1370,1351,1262,1670,1959,1407,1388,1282,1302,1375,1929,2158,1681,1993,2206,2139,2241,2148,2255,2185,2221,2604,2697,2331,1989,1891,1868,1976,2205,2807,3328,3140,2779,2811,2468,2329,2179,2090,2011,2414,2913,2584,2164,2257,2566,2955,2823,2675,2730,2932,2653,2104,2006,2126,2254,2142,2209,2544,2602,2231,1968,1918,1893,1889,1852,2090,2257,1838,1671,1573,1565,1570,1797,1866,1412,1378,1462,1362,1380,1327,1176,1135,1299,1361,1318,1304,1303,1324,1333,1421,1425,1324,1323,1283,1235,1148,1192,1292,1321,1281,1284,1363,1395,1430,1363,1236,1267,1358,1238,1260,1339,1338,1281,1393,1556,1627,1351,1280,1332,1432,1510,1466,1476,1420,1275,1279,1355,1478,1565,1401,1448,1471,1423,1505,1809,2083,1822,1630,1502,1543,1741,1971,1897,1686,1758,1632,1689,1951,2072,2144,1784,1561,1604,1406,1300,1335,1265,1263,1491,1655,1570,1323,1139,1630,1827,1598,1527,1757,1793,1730,1738,1731,1818,1577,1533,1320,1289,1330,1530,1836,2308,2193,2032,1901,1902,2158,2102,1543,1531,1677,2048,1835,1752,2207,2798,2766,2399,2222,2514,2309,1806,2396,2503,2081,1045,1049,1725,2513,2569,2305,2275,2610,2428,1662,1317,1507,1826,2067,1387,1855,3095,2919,2076,2223,2841,2969,2432,1931,1733,2307,2699,3116,2656,2472,2833,2820,2205,2186,2921,3016,2367,2391,1841,1478,1764,1845,1608,1920,1920,1801,1935,2240,2501,2769,2510,2422,2753,2537,2385,1750,2116,1986,1956,2273,2093,2368,3022,2945,3116,3215,3361,3663,3995,3772,2883,2478,1858,1847,2681,3130,2629,2333,2502,2375,2172,1685,1332,1766,1690,2022,2530,2548,2549,3184,3343,2713,1952,2226,3312,3041,2667,3091,2732,2444,2060,2629,2755,2293,2267,2003,2069,2396,2035,2421,2684,2686,2744,1834,2214,2076,1876,1626,2458,3654,3213,2440,2253,2117,2881,3027,2490,2360,1725,1707,2254,2686,2580,2076,1909,2328,2362,2226,2437,1898,1247,1488,2023,2278,2830,3692,3618,3244,3310,3178,3669,4523,4744,4574,3134,2989,3333,3795,4124,4444,4284,3749,3550,2819,2107,2422,2429,2341,2247,2218,2295,2839,3292,3309,3104,2846,3283,4220,4373,3468,2374,2280,3165,3827,4064,3138,2131,2603,3928,4473,4365,4072,2900,2184,2519,2831,2790,2754,2209,2065,2089,1852,1914,2697,2044,867,1439,2089,2005,2245,2367,2033,2190,2133,1858,1986,1791,1691,1710,2078,2711,2141,1963,2064,1570,1773,1765,1660,1562,1654,1688,1577,1845,2118,2154,2216,2040,1718,1763,1500,1622,1571,2154,3132,2835,2070,1317,944,1049,1123,1165,1321,1714,1924,1813,1349,1668,1825,1520,1695,1766,1867,1838,1562,1603,1125,1292,1654,1743,1831,1859,1604,1565,2103,2242,2094,2166,1837,1509,1010,1179,1379,1698,1730,1681,1387,1426,1458,1542,2165,2272,1606,1469,1273,1096,1059,1310,2288,3056,3053,2918,2770,2604,2768,2915,2890,2823,2549,2275,1912,1642,1683,1951,1808,1771,1521,1178,1468,1876,1892,1308,1283,2010,2702,2641,2460,2632,3054,3635,3363,3232,3361,3088,2942,2813,2096,2018,2244,2068,1840,1829,1821,1906,2123,2058,1844,1785,1672,1797,2200,2062,2160,2155,2282,2603,2626,2418,2373,1925,1973,2192,1779,1689,1899,2138,1832,1754,1812,1745,1733,1903,1887,1561,1525,1720,1782,1606,1617,1768,1538,1647,1857,1855,2240,2885,3067,2847,2207,1707,1572,1671,1899,2522,2802,2147,1985,2326,1933,1929,1999,2412,2924,2478,2114,2427,2294,2520,2142,2458,3291,4059,4284,4308,3702,2198,1886,1941,1461,1949,2039,2552,2375,2437,2017,1968,2334,2758,2976,2939,3121,3091,2265,1747,2645,2513,2458,3096,2595,1945,1701,1546,1993,2791,3145,3231,3023,2862,2615,2568,2226,2196,2197,2182,2242,2080,1814,1675,1609,1810,1814,1601,1454,1655,1912,2171,2327,2453,2605,2477,2108,2031,2187,2337,2286,1747,1888,2120,1979,1729,1581,1810,2452,2767,2896,2502,1662,1559,1938,1967,1579,1604,1678,1713,1812,1677,1535,1418,1330,1452,1447,1216,1354,1903,2076,1804,1570,1437,1653,1791,1914,1735,1741,1864,1656,1516,1614,1450,1239,1216,1246,1421,1280,1281,1666,1620,1419,1385,1357,1384,1357,1454,1557,1397,1394,1461,1881,1732,1519,1691,1530,1653,1768,1796,1867,1703,1560,1411,1339,1448,1709,1655,1705,1855,1902,2362,2438,1993,2357,3098,3057,2474,1682,1877,2079,1702,1742,1885,2233,2082,1688,2012,2080,1830,1797,1838,1537,1608,1544,1291,1201,1519,1891,1979,1999,1934,2055,1810,1901,1713,1534,1650,1680,1730,1838,1934,1757,1612,1930,2148,2271,2390,2127,1866,1793,1915,1741,2265,2830,2425,2291,2303,1826,1928,2208,2040,2239,2293,2165,2233,2193,2061,2317,2449,2032,2097,2833,3608,3248,2308,2321,2524,2344,2204,2295,2976,3153,2291,1355,1214,2102,2275,2354,2457,2492,2482,1766,1912,2500,3308,3388,2436,2035,2548,2489,2130,2317,2186,2323,1997,1931,2522,2408,2045,1711,2323,3022,2565,2750,2657,3444,4164,4131,3485,2805,2932,3318,2834,2160,2355,3073,3277,2188,2157,2820,2764,3084,3082,3216,3527,3745,3674,3182,2370,2129,2225,2295,1864,2093,2251,1996,2155,2511,2437,1975,1910,1916,1933,2063,1926,1747,1837,2853,2965,2118,1859,2103,2245,2724,2697,1951,2192,2404,2194,1932,1917,2176,2392,2653,2521,2018,1965,2327,2225,2164,2497,2312,2265,2024,1543,1782,1931,1780,1746,1732,1350,1490,1854,1642,1867,2360,2447,2292,2021,1648,1784,2239,2146,1898,1925,1817,1750,1792,1893,2272,2376,1764,1717,1794,1736,1549,1618,2075,2568,3410,3169,2214,1810,1871,1966,1955,2192,1923,1786,2018,2337,2301,3047,3046,2599,2376,2194,2548,2762,2967,2099,1688,1661,1601,1998,2548,2719,2499,2135,2313,2745,2628,2414,1799,1596,1533,1621,1722,1634,1758,2474,2566,2370,2898,3187,3024,2541,2341,2110,1593,1542,1836,1750,1585,1695,1716,1816,2004,2047,1888,1719,1799,2171,1749,1693,2120,2310,2128,1872,1699,2464,3411,3603,3475,3199,2237,1882,2366,2152,1855,1763,1913,2040,1925,1725,1744,1764,1919,1880,1942,1621,1963,2140,1923,2394,2691,2309,2042,1975,1791,1896,2410,2576,2303,1960,1532,1742,1737,1903,2161,2126,2122,2178,2113,2011,1960,2002,2156,1860,1909,1811,1811,1875,1785,1852,2042,2338,1973,1494,1961,2608,3489,3313,2495,2488,3345,3939,4049,2988,2287,2292,2103,1785,2115,2604,2323,2404,3011,3153,3199,3433,3339,2564,2567,2979,2780,2628,2677,2989,3615,3657,3768,3549,3183,2852,2847,2475,2342,2398,2116,2123,1771,1741,2668,2586,2016,2380,2426,2190,2052,2175,2569,2858,2707],[2629,2742,3353,3587,3586,3542,3516,3195,2574,2210,2092,2845,2858,2721,2939,2535,1763,1784,1969,1660,1683,1611,1560,1658,1678,2299,2540,2027,1895,1903,2177,3331,4351,4272,4148,3718,3619,3528,3230,2893,2685,2576,2562,2320,2874,3044,2261,2032,1954,2242,2409,2449,2313,2303,2234,2351,2625,2609,2700,2874,2848,2904,3110,3122,3396,3848,3905,3832,3869,3239,2547,2757,2944,3465,3506,3793,3627,3531,3222,3347,2973,2744,2675,2956,3371,3119,3342,3394,3265,3303,3133,3647,3892,3956,3457,3238,3618,3914,3528,2933,2873,3073,3244,2830,2567,2383,2499,2921,2141,2242,2818,2678,1897,1076,1414,1973,2387,2322,1709,1755,2181,2584,2975,2905,2676,2636,2662,2671,2404,2315,1996,2690,3054,2193,2326,2595,2083,1954,2188,2619,3028,2944,2012,1643,2148,2761,2905,2798,2214,1764,2064,2305,2418,2422,2398,2352,2532,2712,2473,2375,2327,2247,2412,2788,2774,2759,2622,2387,2316,2255,2279,2371,2324,1997,2386,3156,3007,1969,2332,2880,3107,2858,2552,2507,3026,3598,3218,3241,3105,2896,3194,3204,3287,3104,3310,3442,3538,3492,3096,2939,2690,2750,3110,2988,2644,1817,2544,3592,4035,3873,3375,3006,2736,3042,2989,3054,3451,3464,3128,2841,2555,2080,2000,1893,1853,2314,2544,2563,2729,2767,2290,2052,2403,2419,2578,2851,2303,2269,2832,2632,2109,1975,2058,2226,2459,2014,1673,1978,2119,2223,2460,2916,2580,2343,2618,2555,2338,2200,2446,2453,2309,2586,2156,1652,2369,3326,3710,3377,3019,2804,2797,3001,3162,3065,2541,2932,3762,4195,4283,4503,3968,2520,1894,2109,2117,2334,1806,1771,2329,2922,2898,3139,2678,2877,3598,3759,3796,3689,3688,3416,2814,2684,2593,2164,3016,3472,3276,3415,3495,3492,3150,3264,3231,2987,2542,2370,1977,2431,2911,2697,2567,2796,2796,2213,1923,2335,2690,2443,2523,2973,2441,2215,2216,1936,1654,1946,2248,2500,2448,2368,2402,2302,1715,1770,1549,1521,1516,1660,1709,1527,2175,3406,3662,3466,3366,3155,2309,2236,2562,2649,2766,2219,1881,1663,1578,1708,1726,2230,2769,3033,2575,2294,2218,2160,1955,2110,2136,2018,1780,1791,1965,1752,2040,2333,1680,1723,1603,1638,2020,1879,2142,2205,1760,1886,1982,1860,1736,1798,2420,2879,3614,3968,3803,3650,4156,4213,2833,1955,2409,3094,2976,2502,1858,1889,2156,2241,2124,2073,1819,1704,1651,1624,1746,1950,1798,1586,1626,1478,1426,1578,1666,3506,4241,3754,3985,4331,3801,3196,2754,2533,1966,1843,1560,1399,1882,2311,2413,2437,2448,2700,3034,3189,3209,3112,3047,2659,2945,3277,3386,3044,2669,3243,3111,2646,3130,3474,3174,3270,3570,2979,2092,2458,2955,2867,2398,2483,2546,2555,2944,2933,2828,2578,2064,2592,2404,2576,2557,2529,2164,2716,3410,3206,3017,3008,1878,1840,1748,1809,2268,2267,2249,2233,2457,2095,2219,2891,2930,2556,2112,1741,1841,2062,2189,2188,2186,2319,2055,2862,3090,2630,2363,2553,3000,2839,2831,1942,2244,2853,2927,2571,2385,3090,3234,2722,2282,2544,2757,2774,2880,2938,2400,2246,2536,2696,2654,2348,2284,2419,2111,1525,1366,1243,1307,1360,1330,1399,1405,1462,1566,2251,2200,1622,1890,2201,2275,2517,2278,2388,2397,2564,2888,2808,2353,1980,1957,1897,1829,2131,2724,3113,3182,2940,2658,2235,2104,2070,2000,1699,2058,2758,2668,1930,2202,2714,2633,2437,2601,2833,2750,2316,2083,2148,2267,2379,2530,2555,2402,2420,2128,2036,1875,1831,1832,2085,2107,1759,1726,1683,1520,1504,1584,1843,1572,1272,1350,1378,1322,1343,1328,1339,1316,1315,1404,1403,1400,1370,1229,1294,1321,1355,1360,1301,1208,1266,1179,1190,1508,1611,1422,1289,1248,1379,1788,1782,1393,1362,1406,1287,1268,1341,1388,1460,1401,1454,1747,1372,1265,1383,1352,1304,1410,1469,1327,1237,1257,1282,1388,1635,1764,1908,1567,1432,1522,1621,1728,1767,1568,1511,1555,1675,2148,2035,1492,1445,1544,1806,2310,2326,2084,1788,1725,1687,1516,1550,1349,1235,1518,1557,1426,1477,1377,1239,1482,1724,1785,1672,1574,1706,1726,1692,1899,1911,1698,1902,1795,1350,1622,2049,2159,2267,2053,1929,1978,2381,2104,1863,1589,1615,1723,1782,1711,2093,2309,2349,2470,2385,2265,2287,2041,1672,2246,1768,1292,1277,1920,2634,2669,2536,2302,2274,2583,2736,2375,2023,1854,1379,1644,1556,1627,2104,2358,2474,2360,2730,3052,2569,2002,1817,2362,2775,2482,2270,2602,2429,1912,2337,2544,2997,3098,2523,2064,1633,1116,831,632,774,1297,1924,2211,2416,2691,2542,2294,2396,2705,2910,2378,1905,1848,2032,1808,2407,2714,2040,2079,2447,2878,3132,3076,2934,2602,3518,3426,2564,1780,1880,2688,3241,2901,2574,3074,3409,2552,1877,1350,1447,1672,1762,2267,2784,2648,2205,2633,2902,2387,1841,2294,3166,3987,2919,2358,2237,2580,2904,3121,2829,2562,2425,2255,2728,2920,2213,2627,2637,2331,2635,2233,2448,2254,1661,1503,1838,3153,3339,2621,2703,2417,2842,2757,2418,2071,1949,2255,2699,2996,2930,2508,2337,2499,2165,2089,2084,1836,1583,1498,1532,2041,2872,3463,3204,2676,3199,3220,3754,4436,4715,4643,2972,2298,3153,3587,3841,4454,4439,3959,3102,2342,2009,2031,2367,2679,2424,2316,2341,2596,2995,3494,3096,2042,2310,3431,4311,3836,2979,2320,2723,2763,2968,2675,2232,2873,4013,4081,4363,4232,2940,2332,2369,2039,1931,2180,2072,1895,2039,2120,1968,2083,1490,634,1160,2173,2019,2076,2155,2083,2576,2351,1871,1837,1860,1730,1571,2065,2437,2271,2684,2522,1964,1950,1729,1098,1320,1798,1754,1732,1954,1724,1828,2044,1642,1525,1544,1578,1515,1587,2535,2981,2647,1847,1116,904,1022,1042,1093,1570,1852,1832,1666,1434,1629,1992,2057,1847,1803,2172,1798,1772,1456,990,1511,1824,1737,1649,1717,1682,1844,2546,2766,2126,1757,1692,1143,1122,1191,1513,1560,1472,1235,1274,1629,1860,2250,2579,1792,1464,1346,1119,1031,1415,2340,2866,2790,2642,2654,2700,2929,3106,2900,2698,2491,1969,1464,1058,1179,1523,1604,1456,1232,1196,1455,1786,1896,1677,1419,2062,2725,2800,2902,2416,2059,2364,2585,3006,3193,3470,3045,2354,2453,2104,2076,2481,2245,1858,1896,1901,2117,2495,2425,1857,1710,1745,1745,1854,1879,1844,1742,1770,2244,2395,2833,3335,2291,1951,2122,1934,1846,1594,1580,1623,1738,1697,1677,1782,1949,1948,1568,1554,1564,1741,1615,1516,1485,1449,1775,2076,1758,1903,2294,2121,2108,1711,1641,1741,1562,1771,2452,2631,1785,1511,1938,2071,1777,1694,2209,2797,2635,2357,2828,2402,2335,2164,1975,2775,3742,4288,4476,3789,2029,1959,2053,1526,2027,2509,2923,2602,2840,2281,1729,2125,2294,2032,1824,2413,2548,1975,2027,3340,3540,3530,3464,2589,2194,1974,1759,1887,2017,2236,2364,2359,2122,2093,2275,1900,1865,1712,1721,2348,2205,1654,1570,1529,1518,1887,1747,1670,1918,1914,2148,2711,2964,2803,2291,1998,2159,2055,2156,2106,1935,1876,2059,2060,1832,1874,2267,2645,2757,2874,2570,1744,1858,2021,1793,1576,1584,1791,2020,1914,1599,1415,1421,1622,1720,1670,1280,1370,1812,1936,1842,1448,1277,1450,1833,1863,1556,1465,1547,1584,1435,1375,1323,1253,1181,1166,1341,1296,1254,1426,1461,1484,1491,1394,1452,1356,1423,1462,1520,1537,1405,1570,1680,1977,1898,1604,1874,2046,2016,1784,1837,1694,1541,1434,1549,1702,1687,1741,1709,1960,3025,3309,2334,2699,3025,3489,2622,2039,2793,3143,2402,1875,1889,2026,1725,1610,2128,2355,2284,2125,1724,1434,1440,1402,1341,1308,1664,1896,1661,1747,1551,1799,1543,1481,1418,1491,1787,1751,1577,1740,1846,1665,1776,1768,2151,2478,2306,1983,2071,2370,2419,2026,1847,2112,2492,2373,1975,1602,2021,2030,1906,2013,2011,2115,2166,2214,2242,2393,2226,2018,2107,2507,3608,3886,3247,2824,2728,2666,2348,2482,3022,2807,1967,1306,1316,2260,2684,2622,2341,2365,2591,2208,2083,3139,3684,3130,2341,2152,2185,2061,2215,2302,2185,2234,2201,2360,2540,2585,2546,1982,2408,2711,3146,3259,2853,3471,4148,4296,3749,3239,3399,3593,3241,2802,2733,2562,2434,2315,2834,3159,3010,3000,3211,3310,3283,3404,3378,3277,2585,2296,1969,1632,1837,2678,2674,2619,2658,2503,2443,2381,2662,2740,2467,2524,2154,1847,1738,2559,2364,1831,2149,2483,2187,2177,2464,2272,2309,2307,2193,1842,1852,2341,2526,2543,2171,1729,1985,2100,2437,2730,2687,2484,2466,1994,1539,1532,1614,1688,1887,2279,2164,1900,2182,1634,1660,2048,1846,1666,1655,1588,1819,2264,2030,1786,1816,1744,1729,1654,1696,1548,1342,1781,1376,1428,1576,1560,1930,2107,2188,2722,2523,2278,2191,2018,2165,2190,2109,2047,2049,1956,2097,2512,3067,2942,2692,2916,2683,2570,2309,2093,1705,1466,1377,2079,2764,2574,2264,1968,1807,2268,2464,2262,2619,2055,1653,1665,1653,1558,1719,2233,3106,3422,3120,2850,2796,2724,2444,2203,1943,1596,1583,1565,1880,1870,1587,1583,1676,1631,1744,1716,1667,1868,1938,1738,1795,1878,1889,1935,2056,2431,3188,3383,3327,3493,3117,2181,1868,2003,2004,1779,1783,1754,1790,1758,1698,1948,1969,2092,2493,2088,1675,1738,2047,2034,1986,2129,2231,2225,1903,1814,1881,2261,2763,2100,1821,1629,1719,1780,2302,2523,2276,2369,2455,2079,1699,1874,2005,2112,2077,2022,1960,2041,2066,1990,2113,2244,2170,1824,1851,2819,3000,2728,2368,2008,1914,2883,3859,4002,3207,2466,2599,2535,2550,3232,3448,2958,3065,3447,3176,2927,3136,3090,2512,2752,3564,3151,2961,3100,3461,3776,3666,3750,3593,3124,2432,2254,2105,2131,2360,2355,2873,2919,2861,2741,2668,2129,2186,2598,2568,2216,2075,2498,3155,2789],[3024,2953,3292,3019,2657,2777,3197,3006,2690,2373,2403,2097,1826,2698,3021,2040,1549,1839,1794,1587,1980,1860,1575,1588,1831,2612,2787,2253,2005,1874,1893,2371,3205,3498,4240,4340,3960,3563,2924,3014,3607,3706,3374,3073,3134,2767,2275,2455,2447,2204,2500,2712,2856,2828,2353,2325,2816,2766,2829,2684,2675,2459,2163,2584,3013,3277,3526,3648,3429,2782,2350,2361,2292,3221,3000,3285,3648,3761,3401,3242,2934,2431,2664,3276,3153,2458,3156,3373,3410,3626,3575,3916,4177,4148,3883,3615,3527,3697,3558,2931,2489,2862,2994,2921,2945,2873,2676,2424,1928,2270,2678,2573,2315,1874,1788,2178,2395,1831,1159,1613,2271,2541,3042,3117,2814,2625,2697,2457,1743,1927,2185,2914,2731,2303,2226,2014,1976,1938,2208,2734,2513,2082,1826,1788,2759,2731,2670,2382,2005,2010,2151,2417,2430,2249,2304,2251,2473,2482,2189,2140,2224,2435,2502,2467,2575,2497,2358,2598,3189,3686,3618,3217,2966,2348,2730,2983,2784,2304,2419,3103,3334,3081,3220,3147,3011,3647,3306,3227,3123,2709,3037,3583,3527,3663,3913,3485,3062,3354,3493,3286,2869,2792,3236,2997,2565,2236,2877,3747,4355,4152,3689,3588,3300,3241,3242,3488,3594,3762,3169,2881,2723,2395,2522,2497,2409,2706,2634,2963,3074,3174,2733,2787,2894,2495,2520,2548,2175,2343,2875,2303,1955,1604,1914,2190,2078,1834,2040,2398,2242,2176,2646,2690,2409,2458,1841,1426,1537,1494,1960,2099,2073,2446,2258,2024,2490,3024,3452,3632,3453,3587,3443,3193,2945,3046,3065,3772,4420,4124,3796,3635,2799,2171,2227,2264,1931,1798,2026,2768,3216,3015,3349,3550,3001,3153,3407,3369,3452,3740,3850,3311,2603,2469,2266,2142,2746,3028,3264,3185,3270,3303,3023,3072,3392,3464,3320,3027,2624,2586,2271,2254,2554,2621,2290,1992,2040,2626,2541,2502,2714,3098,2780,2736,2955,2612,2050,1798,2267,2810,2858,2764,2457,2206,1938,2019,1796,1939,1793,1686,1692,1590,1941,2433,2686,2331,2551,2955,2830,2465,2974,3310,2776,1904,1567,1468,1456,1511,1910,2453,2869,2798,2557,2446,2439,2061,1828,2066,2120,2115,2023,2316,2134,1615,1669,1877,1821,2293,1870,2013,2344,2023,1791,1593,1874,2651,2607,2182,2064,2210,2612,3118,3883,3833,3558,3255,3482,3677,2558,2177,2563,2502,2229,1735,1805,2194,2144,2341,2220,1781,1907,1808,1660,1495,1636,1851,1586,1606,1616,1367,1526,1260,2258,3965,3697,2995,3456,4311,4005,3453,3140,2865,2561,2453,1928,1620,2115,2466,2820,2740,2209,2597,3096,3166,3090,3313,3161,2796,2580,2785,2708,2451,2765,3121,3034,2767,3132,3598,3425,3381,3366,2610,2590,2930,3085,2887,2185,2242,1903,2162,2806,3085,2924,2351,1911,2539,2700,2309,2471,2410,2180,2918,3338,3325,3060,2923,1971,1894,1671,1928,2130,1967,1743,1592,1525,1873,2910,3305,2809,2700,2020,1850,1772,2005,2256,2719,2737,2153,2448,3365,3361,3176,2889,2942,3487,3210,2769,1793,1435,1871,2643,2993,2950,3073,3079,2617,2358,2569,2607,2802,2905,3025,2374,2057,2408,2631,2719,2602,2371,2290,2389,1944,1533,1267,1326,1401,1448,1518,1483,1409,1482,1631,1582,1481,1642,1938,2166,2424,2452,2476,2632,3004,2853,2478,2238,2076,2027,1934,1810,2038,2403,2783,3123,3153,2482,2061,2062,2353,1955,1547,1752,2211,2933,2943,3208,3098,2587,2475,2391,2458,2231,2025,2073,2255,2460,2402,2257,2257,2155,2082,2169,1992,1625,1745,1710,1906,1764,1361,1533,1353,1343,1524,1770,1720,1416,1388,1435,1635,1908,1560,1073,1116,1290,1301,1500,1403,1359,1500,1273,1371,1373,1290,1374,1385,1284,1221,1219,1190,1360,1440,1346,1224,1151,1161,1247,1749,1524,1205,1291,1331,1337,1360,1328,1473,1588,1327,1416,1391,1256,1248,1444,1606,1522,1485,1533,1739,1839,1713,1749,1922,2458,2519,1804,1580,1635,1472,1721,1871,1395,1486,1638,1686,1738,1774,1627,1608,1491,1981,2511,2072,1647,1682,2037,2025,2042,1838,1371,1226,1543,1462,1259,1302,1381,1443,1504,1531,1510,1321,1370,1672,1698,1748,1824,1761,2100,2144,2251,2542,3028,3684,2850,2248,2049,1821,1966,2509,2187,1614,1580,1605,1998,1948,1927,2751,2698,2645,2295,1830,1956,1863,1765,1383,1322,1403,1913,2068,2244,2521,2215,2049,2099,2436,2895,3229,3156,2461,2141,1805,1559,1665,1582,2322,3895,3661,2403,2520,3189,2457,2075,2454,2446,2310,2512,2491,2159,1604,1307,1775,1504,1504,1681,1843,1377,1674,1518,871,793,1171,1678,2026,2048,2354,2512,2398,2004,2308,3087,3632,2843,2069,2314,2093,1958,2627,2078,1896,2037,2434,2840,3138,3375,3310,2637,2734,3077,2595,1955,2328,3422,3350,2146,2368,2692,2852,2175,1763,1788,1820,1617,1815,2239,2530,2461,2133,2231,2499,2128,2258,1692,2211,3693,3017,1819,2263,3151,3169,2653,2692,2769,2156,2025,3053,3284,2178,1689,1661,1957,2614,2544,2388,2555,1836,1709,1430,1707,1825,2348,3019,2612,2577,3265,2978,2160,2136,2396,2790,2879,2764,2361,2466,1951,1964,2098,1761,2003,2130,1660,1472,2054,2831,2702,2353,2504,2998,2921,3608,4381,4628,4747,3261,2421,3085,3150,3354,4228,4445,4019,2543,2156,2025,2059,2568,2888,2791,2511,2458,2388,2351,3141,3095,2379,2073,2266,3697,4277,4140,3563,3332,2967,2839,2483,1642,2634,3717,3901,4364,4291,3093,1874,1873,1387,1075,1515,1911,1886,1860,2085,2141,1743,1104,779,1040,1994,2003,2143,2019,2044,2343,2082,1753,1885,2303,2235,2204,2599,2310,2122,2184,2003,2100,1909,1268,1162,1780,1860,2053,2071,1893,1559,1443,1787,1702,1588,1505,1519,1544,2513,3367,3209,2652,1669,1102,1103,1384,1393,1355,1534,1809,1876,1931,1903,1668,1966,2062,2199,2655,2255,1742,1755,1122,1105,1819,2235,1873,1667,2046,2162,1887,2211,2490,2023,1558,1474,1447,1398,1445,1554,1620,1510,1270,1703,2504,2413,2647,2129,1476,1399,1253,1325,1586,2056,2584,2705,2706,2520,2586,2670,2841,2724,2587,2796,2335,1195,810,1007,1273,1516,1488,1272,1330,1565,1671,1817,1623,1773,2036,2653,2746,2441,2461,1894,1881,1958,1976,2048,2552,2963,2753,2474,2346,2054,1960,2100,1914,1942,2006,1964,2189,2681,2679,2160,1910,1898,1771,1655,1741,1780,1650,1754,1994,1895,2017,2583,2690,2325,2182,1858,1537,1517,1971,2005,1798,1762,1857,1880,1955,1973,1642,1522,1579,1650,1496,1462,1511,1716,2022,2072,1757,1812,1996,1861,1997,1892,2043,1644,1417,1656,2128,2458,2272,1913,2057,2125,1806,2004,2431,2814,2751,2864,2809,2017,1968,2073,1949,1988,2653,3971,4431,3815,1963,1975,2144,1797,2368,2571,2499,2458,2599,2577,1851,1776,2233,2259,2115,2468,2292,1848,1548,2147,3009,3307,3031,2815,2462,1934,1878,1715,1931,2199,1829,1714,1610,1793,2090,2163,2144,1916,1674,2210,2206,1696,1527,1630,1868,2127,1936,2020,2158,1979,2109,2447,2279,1866,1925,2490,2425,2301,2393,1937,1575,1786,2226,2378,2382,2286,2166,2252,2640,2791,2605,1922,1672,1640,1631,1689,1913,2027,1890,1591,1443,1437,1590,1876,1692,1512,1456,1472,1671,1773,1712,1591,1495,1749,2078,1749,1664,1694,1708,1953,1554,1316,1344,1316,1357,1376,1300,1250,1267,1318,1323,1382,1360,1320,1354,1325,1410,1507,1665,1588,1416,1376,1499,1665,1880,2084,1819,2305,2007,1549,1910,1970,1591,1470,1556,1715,1879,1628,1424,1794,2706,3732,3460,3649,3118,3215,3515,3333,3666,3838,3377,2495,1907,1792,1660,1532,1691,2077,2331,2166,1582,1328,1332,1372,1507,1433,1773,1562,1468,1527,1707,1765,1565,1510,1547,1615,1550,1790,1872,2043,2198,1874,1773,1806,2604,3228,2769,2061,2197,2480,2464,2112,1857,1927,2361,2105,1748,1537,1683,1813,1765,1678,1907,2102,2479,2532,2511,2505,2204,2298,2454,2091,2706,3397,3451,3184,2938,2495,2296,2264,2664,2891,2005,1469,1524,1684,2222,2446,2764,3016,2843,2591,2831,3670,3520,2753,2426,1949,1662,2233,2686,2424,2299,2295,2186,2059,2745,3518,3062,2524,2202,2028,2363,2888,3204,3407,3788,4069,4069,3736,3583,3469,3137,3090,3054,2553,2510,2834,3045,3259,2941,2623,2910,2965,2744,2896,3120,3263,2826,2496,1883,1508,2268,3029,3002,3008,3051,2741,2567,2366,2781,2916,2374,2067,2104,2176,2062,1895,1774,1815,2427,2575,2359,2193,2108,2316,2327,2263,2069,2360,2391,2159,2329,2580,2252,2029,2191,1765,1972,2511,2181,2175,2278,2051,1846,1844,1834,1826,1886,2129,2566,2341,2248,1767,1684,1704,1784,1693,1566,1625,1913,2159,1879,1582,1558,1573,1593,1602,1180,1007,1424,2004,1658,1666,1855,1648,1726,1996,2286,2386,2321,2546,1955,1847,2194,2344,2260,2146,2146,2375,2414,2178,2309,2695,2752,3054,2554,2194,1822,1710,1232,1073,1586,2116,2267,2309,2369,2178,2288,2436,2587,2792,3033,2463,1730,1501,1531,1675,2077,2769,3245,3335,2842,2589,2770,2494,2097,2142,2289,2210,1845,1699,1752,2035,1782,1626,1676,1485,1396,1523,1543,1577,1691,1925,1819,1992,2376,2160,1996,2585,3255,3110,2772,2750,2451,2277,1841,1605,1543,1644,1992,1980,1944,1886,1698,2024,2105,1968,2180,2018,1772,1758,1963,1989,2006,2082,2295,2332,1740,2027,1764,2130,3003,2554,2108,2099,1999,1899,2377,2251,2149,2247,2398,2309,2149,2498,2338,2226,2121,2007,2069,2144,2208,2077,2088,2101,2011,1998,2220,2746,2665,2187,1851,1794,1863,2499,3582,3681,2798,2722,3060,2645,2550,2990,3355,3098,2845,3398,3532,3122,3042,3023,2474,2588,3463,3203,3294,3330,3506,3595,3767,3840,3821,3374,2472,2200,2184,2036,2391,2480,2523,2192,2600,2940,2588,2318,2259,2298,2496,2542,2104,2460,3182,2531],[3255,3016,3056,2988,2621,2833,3038,3017,2878,2619,3083,2713,2595,2994,2664,1993,1809,2183,2133,2120,2364,2056,1784,1741,2198,2615,2740,2252,2088,1941,1808,2135,2663,2943,3760,4017,3602,3207,2554,2763,3234,3500,2835,2743,2790,2398,2414,2896,3464,3532,2888,2603,3041,3285,3122,2652,2417,2285,2540,2756,3022,3122,3090,2779,2457,2568,2336,2186,2198,1832,2200,2691,2777,3464,2944,3065,3797,3507,3031,3161,2789,2153,2768,3439,3484,3371,3362,3399,3332,3259,3286,3799,4074,3826,3763,3818,3542,3441,3400,3562,3538,3349,3198,3004,3191,3163,2866,2761,2541,2535,2733,2787,2700,2614,2912,2854,2678,1957,1498,2096,2404,2512,3150,3277,3411,3103,2997,2905,2600,2652,2388,1930,2135,2524,1983,1591,1709,2002,2281,2458,2574,2187,2177,2126,2523,2597,2867,2509,2158,2089,1995,2240,2405,2286,2310,1945,1739,1814,2075,2153,2368,2785,2714,2470,2657,2873,3250,3687,4264,4099,3915,3582,2652,2255,2698,3044,3250,2856,2790,3176,3403,3377,3374,2995,2865,3128,2950,2653,2642,2508,2972,3658,3846,4012,3980,3365,2758,3589,4026,3726,3188,3021,3174,2793,2202,2309,2766,2877,3697,4013,3835,3929,3943,3465,3278,3203,3167,3234,3044,3021,2718,2488,2686,2590,2512,2954,2874,2661,2573,2820,2807,2944,2842,2595,2402,2548,2885,2888,3251,2501,1917,1447,1411,2008,2328,2700,2648,2165,2060,2309,2647,2524,2952,2764,1560,1181,1181,1063,1366,1829,2110,2654,2836,2617,2379,3167,3429,3285,3352,3762,3862,3584,3200,3059,3255,3886,4240,4062,3599,2963,3019,2645,2442,2266,1694,1850,2854,3431,3492,3564,3584,3116,2736,3282,3276,3176,3078,3384,3241,2561,2072,2311,2122,1814,2441,3233,3503,3381,3688,3365,3289,3528,3552,3372,3498,3675,3620,3052,2596,2474,2523,2730,2459,2314,2225,2225,2260,2173,2461,3405,3662,3523,3449,3565,3348,2583,2777,2541,1943,2788,2923,2420,1944,1593,1798,2031,1943,1964,1864,1605,1746,1802,1834,1710,2247,2662,2438,2200,2871,3278,2690,1808,1824,1633,1698,1607,2178,2191,2258,2295,2211,2245,2386,2165,1829,1991,2004,2241,1932,1906,1764,1595,1501,1804,2166,2078,1794,2226,2810,2247,1580,1429,1808,3095,3357,2358,1817,2426,3343,3914,4144,3929,3610,3131,2899,2765,2662,2445,2358,1814,1582,1566,1914,2171,2178,2350,2019,1781,1992,1945,1843,1612,1418,1461,1472,1850,1614,1397,1278,1306,2858,3980,3075,2407,3068,3654,3602,3082,3096,3423,3262,2921,2154,1885,2706,2843,3115,2961,2362,2397,2999,2459,2542,2824,2700,2747,2442,2213,2232,2408,2842,2765,3005,3115,3344,3538,3650,3356,2604,2223,2789,2933,3074,2894,2437,2309,2080,2219,2532,3065,3128,2387,2120,2472,2430,2272,2548,2388,2518,3348,3660,3294,2383,2647,2091,1938,1862,1876,1945,1759,1566,1627,1676,1890,2863,3651,3188,2652,2078,1571,1014,1211,2237,3338,3200,2523,2538,2856,3032,3333,2713,2675,3159,3444,2612,2055,2141,2351,2942,3124,2767,2669,2819,2532,2718,2808,2722,2792,2777,2675,2245,2182,2280,2474,2705,2719,2633,2223,2405,2346,1781,1422,1418,1439,1396,1418,1672,1844,1378,1462,1465,1283,1309,1550,1810,2269,2514,2635,2830,3015,2807,2417,2266,2490,2360,2053,1852,1998,2144,2599,3176,3395,2822,2033,2015,2220,1854,1847,2280,2978,3417,3326,3065,2941,2916,2758,2282,2039,2310,2910,3292,3430,3675,3242,2448,2192,2160,2210,2294,1875,1687,1932,1802,1743,1795,1992,1948,1343,1426,1947,1934,1534,1432,1482,1481,1867,2030,1521,1156,1116,1206,1253,1398,1320,1313,1431,1409,1493,1497,1361,1304,1352,1303,1179,1248,1324,1352,1349,1346,1169,1213,1248,1196,1410,1424,1432,1701,1520,1467,1352,1301,1550,1870,1499,1338,1295,1202,1155,1338,1451,1340,1459,1682,1553,1366,1316,1997,2126,2480,2727,2314,1859,1614,1439,1974,2099,1394,1381,1429,1465,1357,1620,1728,1970,2343,2308,1894,1770,1572,1555,1824,1964,2060,1786,1325,1413,1459,1252,1284,1381,1437,1622,1766,1448,1270,1569,1648,1834,2004,1744,1543,1786,1993,1781,1756,2410,2822,3426,2574,2054,1820,1808,1752,1667,1819,1972,1772,1887,2150,1968,2077,2635,2299,2140,1810,1305,1318,1615,1648,1346,1550,2215,2222,1998,2170,1916,1597,1712,2080,2685,3175,3449,3574,2777,2523,2748,2053,1978,2172,3327,4058,2717,2642,2800,3385,2592,2515,2872,2136,2153,2884,2728,2231,1627,1342,1904,1534,1091,1300,1522,1464,1666,1616,1264,1533,2314,2583,2719,2331,2035,1807,2051,2128,2435,2808,3222,2967,2211,1815,2019,2175,2260,1891,2105,1872,2395,2755,2964,2977,3039,2558,2416,2648,2747,2246,2121,2692,3318,2520,2739,2675,2604,1862,1801,1874,1877,2204,2255,2442,2314,2434,2285,2520,2486,2009,1733,1399,1572,2043,1693,1734,2599,2940,3194,2612,2958,2568,2001,2042,2600,2398,1781,1703,1907,2182,2877,3146,2221,2697,1964,1649,1353,1858,2664,2880,2845,2169,2285,3717,3503,1989,1598,2063,2625,2936,2910,2364,1981,1591,1813,2062,1967,2132,2261,1686,1337,1499,2316,2422,2653,3437,2997,2590,3415,4212,4560,4864,4313,3230,2885,3038,3027,3842,4357,3646,2276,2204,2220,2444,2876,2868,2760,2775,2632,2547,2555,3312,3828,3486,2655,2354,3485,4391,4528,4189,3861,3727,3194,2298,1654,2722,2919,3864,4460,4584,3222,1831,2018,1806,1344,1378,1692,2123,2167,2065,2221,1951,1798,1284,1079,1888,2275,2042,1885,1811,1781,1896,1816,1815,2107,2106,2103,2688,2434,1843,1427,1629,1881,1322,861,1352,1886,2235,2801,2646,2238,2036,1613,1448,1496,1428,1553,1709,1963,2232,2980,2770,2269,1416,1224,1420,1637,1477,1170,1586,2386,2221,1991,1910,1979,2652,3143,3138,2732,2077,1831,1293,1077,1544,2221,2264,1738,1664,2115,2064,2076,2404,1974,1672,1593,1864,2092,1773,1587,1650,1889,1454,1694,2081,2674,2832,2728,1766,1478,1349,1425,2102,2471,2536,2568,2880,3133,2928,2587,2464,2510,2566,2745,2547,1519,847,1034,1367,1577,1620,1322,1285,1570,1851,1623,1634,1805,2280,2534,2986,3216,2927,2820,2406,2101,1961,1961,2006,2408,2445,2448,2295,2139,1967,1852,1862,1894,1970,1969,2135,2072,2244,2359,2246,2014,1970,1948,1764,1844,1817,1681,2003,2479,2701,2391,2674,3320,2711,1970,1679,1576,1875,1907,1804,1889,1998,2002,1955,1643,1613,1600,1473,1738,1794,1560,1562,1524,1492,1941,1943,1725,1746,1697,1981,2406,2178,1941,1560,1637,2040,2244,2304,2380,2120,2036,2038,2041,2170,2250,2433,2966,3097,2545,1898,1990,1938,1918,1484,2284,3775,4223,3838,2340,1964,2004,1678,1832,1785,1897,2023,2132,2426,2060,1939,1978,2220,2400,2298,2019,1845,2253,3002,3138,2729,2351,2362,2569,2205,2007,1942,2334,2626,2339,1866,1688,1758,2218,2488,2206,2059,1691,1810,2173,1930,1878,1877,1930,1824,1596,1611,1714,1571,1471,1488,1310,1394,1755,2040,2225,3177,3525,2502,2160,2438,2733,2692,2298,1964,1721,1719,2130,2114,2376,2232,1645,1489,1960,2254,2021,2254,1986,1526,1490,1450,1572,1638,1371,1678,1936,1615,1418,1457,1644,1742,1543,1752,1846,1828,2740,2090,1850,1816,1566,1438,1396,1326,1298,1399,1410,1393,1359,1310,1426,1418,1375,1411,1544,1427,1338,1464,1606,1658,1542,1404,1726,1494,1774,2058,1745,2345,2144,1638,1837,1886,1530,1399,1591,2094,2288,1696,1819,2332,2307,2921,3826,4524,4396,3980,3373,3051,3160,3488,3830,3620,2618,1946,1766,1589,1597,1792,1990,1862,1403,1272,1274,1322,1351,1297,1431,1509,1683,1782,2026,1808,1567,1609,1774,1802,1750,2003,2156,2407,2557,2143,1898,2653,3452,3465,2899,2381,2325,2492,2267,1790,1900,1856,1906,1591,1615,1560,1484,1725,2013,2138,1974,1718,2292,2152,2118,2443,1943,2110,2395,1854,1962,2842,3105,3065,2808,2524,2169,1971,2591,3261,2808,2082,1802,2046,2046,2253,2924,2964,3499,3232,3417,3398,3177,2886,2162,1556,1481,2348,2784,2226,2153,2142,2113,1875,2722,3609,3061,2406,2125,2429,2277,2325,3106,3295,2967,3269,4055,4013,3512,3153,3077,3310,3245,2544,2610,3083,2776,2813,2654,2938,2951,2886,2941,2570,2965,3292,2931,2367,1919,2199,2692,2769,2661,2368,2598,2846,2430,2322,2690,3082,3104,2813,2552,2492,2238,2101,1879,1948,2224,2006,2074,2215,2042,2042,2112,2281,2227,2432,2600,2574,2595,2669,2555,2564,2178,1682,1793,2088,1790,1977,2611,2601,2124,2062,1941,2060,2435,2632,2970,2313,2019,2541,2294,1949,2140,1736,1506,1789,1906,1832,1601,1460,1470,1461,1622,1758,1566,1582,2077,2326,2202,2253,2264,2076,2059,2175,2446,2488,2658,2521,2277,2093,2047,2468,2775,2473,2077,2149,2323,1898,2290,3185,2845,2610,1908,1978,1513,1064,1305,1814,2291,2295,2574,3090,2672,2411,2316,2127,2689,3264,3121,2480,1708,1528,1731,1736,2491,2932,2967,2767,2930,3344,3097,2202,1738,1836,2171,2209,1912,1700,1942,2436,2151,1760,1891,1800,1546,1925,2125,1804,1983,2043,1588,1883,2337,2002,1848,2450,2949,2789,2370,2318,2192,1892,1813,2096,2122,2239,1941,1889,1923,1952,1896,2161,2199,2062,2043,1975,1735,1798,1941,2163,2384,2679,2830,2827,2192,1804,1554,1802,2365,2534,2117,2137,2233,1977,2474,2548,2369,2679,2543,2304,2508,2416,2477,2743,2297,2199,2344,2149,2046,2063,2050,2139,2027,2071,2208,2640,2952,2454,2010,2120,2106,2396,3373,3331,2590,2554,2194,2414,2434,2698,3025,2874,2730,3137,3254,3354,3365,3316,2984,2512,2994,3315,3428,3442,3628,3593,3582,3812,4017,3785,2872,2427,2323,2111,2161,1875,1694,1815,2274,2342,2283,2505,2564,2382,2644,2566,2391,2636,2779,2144],[2829,2812,2763,2858,3163,3191,2675,2111,2376,2938,3687,3222,3121,3009,2119,1968,2063,2408,2672,2509,2505,2682,2643,2559,2945,3429,3285,2494,2023,2117,2022,2356,2920,2806,2813,2761,3116,3068,2890,2591,3374,3230,2422,2283,2275,2565,2822,3143,3690,2990,2336,2610,3325,3427,3498,3136,2656,2214,2447,2812,2812,2993,3255,2902,2382,2047,1631,1703,1930,1907,2709,3103,3087,3332,3007,3109,3828,3617,3427,3452,3019,2624,2778,2844,3350,3659,3298,3165,3270,3162,3309,3825,4256,4057,3943,3915,3606,3553,3459,3507,3504,3618,3870,3719,3408,3225,3061,2731,2957,3132,2797,2424,2523,2875,3101,2938,2665,2259,2254,2556,2418,2408,3222,3726,3761,3508,3342,3343,3607,3498,2522,1702,2344,2612,1930,1515,1714,2167,2111,1935,2234,2332,2311,2120,2029,1966,2219,2490,2335,2297,2120,2229,2921,3395,3310,2450,1905,2169,2531,2374,2315,2396,2601,2779,3323,3695,4182,4100,4056,3756,3615,3100,2285,2430,2624,2917,3335,2862,2908,2976,3313,3275,3209,3109,3073,2773,2458,2121,1963,2276,3013,3587,3738,3836,3926,3255,3234,3984,4180,3603,2690,2744,2955,2423,1818,1894,2224,2419,3310,3984,3930,3587,3684,3366,3103,3028,2972,3172,3113,3320,2303,2119,2183,2018,2185,2954,3172,2519,2885,3249,2503,2176,2125,1926,1654,2296,3543,3586,2978,2221,1734,1459,1847,2287,2641,2872,2254,1991,2040,2374,2505,2525,2958,2647,1665,1250,1207,1021,1572,1893,1942,2706,2956,2918,2743,3282,3203,2912,3187,3416,3295,3278,3373,3350,3304,3465,3738,3584,2994,2833,3492,2997,2238,2159,2309,2621,2866,2943,3541,3555,2889,2783,2789,2834,3006,3024,2996,2788,2563,2522,2381,2193,2270,2760,3219,3356,3275,3583,3497,3254,2863,2909,3141,3283,3630,3710,3311,2678,2802,2474,2879,3080,2452,2321,2503,2098,1778,1483,1971,3094,3853,3989,3405,3699,4043,3626,3395,2874,2120,2031,2203,2225,1790,1487,1553,1769,1765,1673,1752,1554,1592,2016,1826,1462,1895,2312,2316,2655,3199,2922,2643,1924,1780,1856,1973,1812,2320,2260,2357,2634,2541,2253,2284,2166,1914,1741,1597,2079,1816,1638,1453,1375,1450,2006,2398,1976,1844,2117,2541,2485,2016,2123,2241,3375,3494,3061,2631,2755,3509,4016,4093,4216,3868,3085,2952,3193,3139,2292,2103,1911,1498,1541,1748,1848,1853,1839,1658,1671,1737,2037,1805,1524,1551,1659,1584,1730,1836,1598,1595,1749,3306,3983,3243,2912,3286,3460,3560,3108,3067,3429,3039,2541,2316,2063,2731,2919,3194,2987,2808,2744,3109,2639,2646,2510,2337,3077,3228,2937,2699,2945,2800,2629,3169,3134,3222,3430,3582,3223,2144,2201,2501,2591,2717,2835,3019,2290,2344,2514,2489,2666,2975,2617,2458,2695,2140,2040,2442,1833,2104,2710,3294,2754,2085,2652,2305,1888,1881,1486,1452,1544,1518,1498,1417,1668,1989,2385,2160,2002,2070,1532,890,1120,2410,3234,2759,1901,1829,2017,2536,2613,2054,1843,2015,2228,1946,1814,2070,2579,3141,3278,3212,2763,2714,2632,2958,3354,3227,2977,2599,2063,2164,2554,2461,2286,2609,2674,2888,2610,2327,2464,2164,1559,1308,1409,1329,1552,2753,3394,1824,1504,1529,1439,1472,1654,2175,2591,2640,2695,2767,2779,2765,2637,2355,2565,2415,2131,2065,2164,2258,2512,2830,3089,2820,2220,2107,1951,1910,1897,2197,3047,2951,2750,2877,2889,2602,2242,2352,2925,3188,3484,3552,3471,3395,3188,2768,2325,2147,2220,2165,1996,1977,2006,1859,1909,1782,1739,1514,1406,1770,1904,1579,1405,1383,1369,1406,1556,1692,1521,1257,1224,1444,1460,1300,1200,1253,1329,1323,1321,1324,1313,1269,1251,1279,1173,1220,1319,1264,1230,1298,1205,1206,1243,1246,1294,1384,1353,1225,1277,1353,1290,1298,1350,1422,1285,1215,1333,1294,1171,1245,1292,1322,1525,1901,1612,1566,1645,1791,1899,2190,2571,2327,2048,1969,1691,1852,1889,1418,1250,1382,1377,1449,1685,1722,2109,3097,2207,1522,1616,1752,1939,1674,1420,1393,1461,1497,1522,1402,1176,1108,1332,1520,1871,1757,1532,1339,1478,1719,2015,2034,1453,1387,1672,1807,1632,1349,1850,2272,1888,1399,1570,1597,1594,1534,1479,1865,2226,1888,1855,2104,2197,2187,2172,2033,1938,1865,1475,1655,2007,1576,1618,1948,2560,2224,1660,2128,2057,1932,2137,2425,2902,3296,3347,3414,2942,2297,2439,2190,2057,1836,2756,3359,2329,2277,2707,3307,2958,2509,3002,2463,2244,2186,2534,2656,1881,1439,2323,1959,1432,1627,1750,1721,1633,1739,1800,2121,2567,2670,2635,2302,2049,1985,2072,2448,2855,2487,2303,2822,2307,2281,2641,2301,2438,3223,2974,2016,2346,2776,2380,2138,2071,2067,2744,2689,2156,2046,2243,2295,2577,2703,2771,2843,2543,2083,2181,1881,2034,2646,2664,2624,1995,1847,2168,3057,2644,2152,2302,2139,1704,1355,1505,2480,2961,2728,2764,2852,3034,2458,2368,2285,2243,2154,2096,2407,2314,2414,3010,3666,2223,2565,1888,1800,1802,1984,2333,2304,2335,2242,2188,3072,2788,2050,2112,2687,2648,3002,2928,2700,2397,1892,1801,1904,2007,2008,2294,2129,2070,2258,2921,3135,2998,3054,2710,2837,3195,3889,4561,4749,4677,3872,2822,2210,2234,3372,4284,3637,2604,2152,2130,2633,2853,2565,2636,2640,2761,3033,3431,4048,4331,4209,3552,2990,3530,4295,4487,4415,4088,3811,2818,2133,2150,2326,2424,3566,4377,4556,3347,2008,2002,1854,1526,1348,1469,1897,2189,2324,2246,2094,2069,1425,1151,1766,2185,1989,2369,2307,2421,2652,2058,2060,2156,2163,2187,2399,1948,1391,1498,1604,1530,966,1035,1617,1920,2689,3179,3169,2842,2276,1894,1585,1505,1294,1523,1334,1637,2100,2706,2395,2406,1644,1285,1499,1643,1426,1283,1938,2591,2278,2203,2390,2607,2823,3244,3727,2906,2235,1715,1033,1357,1780,2221,1992,1523,1869,2077,1758,1873,2004,1736,1615,1581,1809,1943,1720,1606,1841,1790,1522,2256,2749,3168,3054,2057,1570,1427,1356,2047,2842,2743,2847,2575,2755,3040,2901,2331,2124,2387,2626,2336,1365,1048,1222,1602,1849,1577,1136,1194,1588,1909,1787,1471,1780,2242,2446,2466,2633,3405,3417,3341,3031,2418,2356,2256,2277,2575,2746,2853,2719,2604,2469,1748,1644,1789,2014,2093,2175,2045,2061,2076,2030,1906,1998,2017,1832,1858,1721,1874,2311,2686,2692,2413,2956,3507,3174,2318,1807,2088,2403,2060,1975,2031,2003,1781,1976,1844,1745,1810,1659,1593,1609,1582,1709,1557,1936,2567,1968,1835,1851,1880,2140,2419,2695,2399,1981,1995,2112,2271,1847,1653,1837,1749,1593,1584,1770,2092,2669,3053,3040,2547,1631,1736,2025,2084,1787,2289,3360,3904,3809,2434,1664,1663,1393,1704,1900,1858,1766,1860,2251,2170,2642,2260,1874,1934,2129,2114,1770,1917,2055,2541,2793,2420,2569,2915,2964,2498,2334,2622,2799,2647,2096,1973,1906,2360,2417,2418,2779,2488,2222,2210,1844,1527,1473,1488,1511,1583,1500,1479,1512,1802,1704,1595,1622,1598,1509,1489,3239,4389,3108,2578,2554,3099,3024,2330,1787,1581,1526,1686,2410,3145,3140,2513,1909,2613,2508,1687,2045,1837,1545,1478,1349,1499,1727,1424,1508,1497,1410,1448,1375,1669,1840,1556,1528,1505,1507,1707,1671,1942,1935,1644,1473,1490,1599,1469,1813,1677,1417,1252,1202,1220,1306,1281,1462,1616,1453,1393,1448,1514,1662,1479,1404,1648,1608,1482,1565,1541,1778,1745,1471,1564,1645,1546,1472,1598,1982,2101,2054,2292,2274,1842,2008,3084,4296,4253,3124,2281,2299,2435,2768,3505,3659,2866,2338,2053,1694,1612,1678,1744,1548,1273,1123,1129,1239,1279,1413,1663,1814,1888,2048,2044,1616,1608,1838,2122,1985,1964,1720,1575,1875,2083,2165,2156,2240,2524,2800,2462,2293,2151,2229,1950,1742,1887,1831,1937,1738,1442,1542,1521,1433,1852,2062,2287,1811,2041,1929,2101,2622,1966,1650,2075,2076,2090,2621,2888,2903,2828,2743,1964,1692,1765,2601,3307,2496,1979,2459,2047,2338,2546,2181,3140,3524,3119,2841,2663,2281,2048,1887,1670,2100,2532,2402,2412,2159,2181,2115,2237,2656,2540,2272,2261,2829,2908,2254,2902,2996,2246,3352,4170,4017,3459,3304,3307,3089,2906,2785,2781,2713,2437,2562,2668,2734,2544,2890,3011,2731,2884,3107,2983,2422,2285,2719,2419,2468,3001,2971,2446,2614,2376,2365,2522,2676,2845,3030,3285,3025,2169,1923,1581,2134,2684,2247,1871,1863,2066,2135,2049,2285,2289,2134,2512,2814,2479,2117,2301,2190,1851,1962,2193,2414,2091,1790,2668,2712,2346,2260,1847,2126,2314,2556,3407,2800,1838,2008,2159,2371,2499,2050,1935,1796,1704,1620,1576,1472,1567,1492,1533,1637,1573,1726,1999,2041,2187,2328,2139,1889,1967,2299,2176,2340,2859,2707,2219,2088,2337,2288,2502,2356,2022,1729,2291,2511,2775,2767,2090,1588,1669,1891,1593,1524,1831,2158,2470,2733,3366,3274,2557,2384,2197,1954,2362,2721,2766,2686,1979,1672,1891,1897,2610,2269,2609,2826,3273,3168,2380,1838,1792,1742,1540,1727,1951,2272,2541,2563,2229,1864,1913,1730,1885,2852,2954,2245,2029,2031,1640,1673,1861,1720,1737,2352,2461,2132,1960,2189,2648,2282,2080,2536,2259,2299,1963,1832,2031,2301,2046,1590,1742,2237,2375,2151,1700,1679,1794,2032,2481,2996,3229,3154,2318,1685,1608,1657,1932,2021,1725,1802,1823,1960,2614,3242,2911,2787,2232,1742,1942,2192,2510,2698,2318,2485,2737,2076,1822,1962,2032,1999,2065,2206,2251,2580,2599,2177,2323,2563,2351,1902,2216,2394,2393,2224,1901,1969,2332,2866,3147,2984,2763,3193,3172,3398,3372,3225,3155,2986,2915,3173,3486,3509,3885,3650,3397,3706,3697,3566,2856,2760,2590,2317,2149,2085,2235,2345,2120,2220,2362,2751,2519,2367,2492,2881,2438,2458,2520,2298],[2791,2866,3147,3242,3461,3074,2123,2244,2253,2096,2785,2884,2974,2407,2048,2290,2204,2451,3450,3104,2862,2152,2715,3518,3564,3473,2917,2362,2101,2257,2230,2307,2623,2850,3031,3207,3654,3454,3384,3143,3454,3011,2447,2233,2314,2744,2525,2670,3255,3168,2824,3020,3329,3463,3432,3173,3208,2731,2245,2376,2536,2566,2780,2525,2357,1550,1542,1697,2034,2475,3322,3535,3123,3252,2853,2622,3168,3189,3134,3427,3165,3136,2756,2197,2674,3204,3134,3212,3226,3231,3422,4001,4568,4305,3980,3854,3692,3714,3805,3826,3651,3582,3834,3816,3279,3104,3207,2940,2977,3133,2844,2485,2497,2535,2587,2602,2653,2657,2820,2752,2377,2317,3531,3983,3803,3587,3359,3248,3414,3576,2953,1944,2225,2508,2138,1846,2083,2242,1824,1661,1961,2057,1860,1768,1999,2284,2512,1764,1914,2404,2028,2221,2988,3650,3373,2397,2015,2336,2710,2884,2920,2623,2715,2856,3927,4472,4328,3507,3313,3630,3384,2625,2196,2336,2510,2494,2516,2442,2647,2615,2474,2215,2209,2481,2733,2835,2646,2176,1979,2168,2820,3342,3631,3895,3992,3537,3265,3373,3715,3187,2420,2935,2908,2467,2285,2610,2802,3297,3864,3890,3517,3427,3685,3742,3796,3482,2898,3178,2631,2718,2431,2251,2430,2769,2868,3204,3218,2513,2699,3150,2564,2286,2285,2078,2161,2266,2608,2603,2224,1895,1800,1791,1610,1645,2404,2742,2432,2068,1914,1960,1954,2148,2395,2519,1758,1172,1363,1103,1762,1835,1664,2656,3119,2834,2956,3365,3182,3155,3338,3142,3221,3225,3296,3244,2689,3100,3254,2997,2752,2916,3172,2720,2106,2207,2654,2468,2091,1907,2437,2736,2518,3165,3266,3176,3050,2964,2728,2477,2790,3063,2778,2292,2322,3385,3074,3107,3442,3305,3111,3010,2949,3095,3006,3276,3497,3312,3031,2625,2588,2685,3139,2714,2106,2426,2712,2350,1888,1810,2401,3276,3845,3920,3410,3798,4036,3538,3500,3498,2967,2342,2027,1758,1481,1344,1476,1715,1652,1435,1929,2073,1720,1731,1554,1436,1889,2421,2614,3560,3852,2944,2364,1700,1503,1908,2063,2194,2208,2374,2797,2767,2720,2777,2746,2076,1884,1816,1610,2074,2080,1521,1357,1387,1670,2503,2639,1558,1756,2436,2675,2510,2369,2478,2490,3033,3318,3360,3264,3532,3987,4328,4121,4191,4376,3266,3142,3851,3646,2375,1838,1886,1807,1851,1902,1738,1788,1587,1598,1557,1456,1604,1677,1802,1703,1719,1667,1871,2021,1665,1660,1729,3387,3872,3548,3544,3360,3073,3263,3200,2596,2647,2277,2192,2441,3020,3001,2081,1803,2140,2429,2720,3120,2988,2821,2841,3153,3625,2481,2415,2400,2968,2579,2479,2999,3160,3356,3515,4006,3271,2654,3195,2652,2777,2742,2905,2714,2308,2380,2702,2542,2297,2590,2624,2624,2641,2143,2208,1872,1524,1843,1714,2021,1925,2359,3250,2775,1938,1959,1490,1668,1758,1782,1638,1681,1650,1739,1691,1984,2475,2292,1929,1676,2022,2967,2911,2267,1941,2458,2621,2644,2279,2239,2371,2374,1996,1643,1938,2595,2908,3052,3323,3577,2972,2691,2802,3123,3480,3553,3317,2820,2530,2531,2664,2641,2346,2438,2660,3075,3051,2523,2373,2479,2020,1480,1401,1352,1481,1944,2353,1876,1388,1537,1696,1718,2097,2609,2475,2432,2544,2552,2578,2636,2692,2438,2409,2424,2320,2287,2244,2568,2818,2423,2391,2434,2249,2143,1775,2241,2474,2454,2293,2209,2379,2396,2171,2157,2567,3254,3174,2956,3111,2806,2644,2835,2962,2842,2433,2125,2075,2107,2160,2055,1888,1579,1843,1947,1534,1436,1770,1989,1676,1478,1398,1295,1265,1214,1283,1496,1381,1288,1261,1324,1367,1266,1273,1293,1183,1221,1314,1331,1417,1376,1514,1522,1259,1195,1186,1166,1184,1206,1265,1346,1255,1384,1258,1360,1340,1256,1192,1217,1279,1311,1385,1358,1190,1351,1463,1414,1251,1225,1293,1363,1648,1940,1555,1318,1631,2072,1839,2120,2308,2023,2073,1986,1685,1591,1845,1567,1369,1398,1567,1942,2080,1884,1820,2288,1684,1589,1580,1994,2216,1720,1481,1536,1673,1750,1406,1220,1159,1153,1490,1772,1764,1386,1400,1488,1549,1771,1875,1413,1108,1462,1559,1800,1716,1637,1829,2144,1405,1101,1537,1632,1492,1593,2010,2086,2168,1930,1783,1837,2026,2155,2518,2447,2270,2333,2084,2193,1938,1491,1982,1638,2149,2294,1480,1910,2255,2133,2225,2398,2755,3071,3186,3233,2623,1692,2209,2500,2353,1994,2295,2632,2371,1954,2358,3584,3378,2341,3417,3112,2242,1676,2077,2522,2476,2637,2886,2365,1969,2170,2087,1831,1937,1870,1736,1848,2214,2320,2503,2426,2129,2353,2213,2115,2525,2217,2259,3044,2543,2045,1828,2079,2379,2770,2254,1856,2603,2519,1578,1760,1578,1372,1792,2320,1941,2363,2921,3246,3218,3177,2801,2354,2646,2756,2332,2324,2264,2519,2726,2427,1855,1728,2146,2598,2143,1871,2260,2425,2177,1581,2181,2732,2895,2893,2854,3190,3010,2620,2414,2208,2151,2337,2152,2111,1872,1948,2525,3123,2243,2368,2445,2301,1884,1653,1457,1274,1768,2370,1960,2467,2492,2464,2576,2691,2309,2631,2878,2684,2157,1542,1550,1707,2173,2176,2415,2483,2297,2264,3010,2658,2546,2924,2740,2762,2770,3770,4496,4647,4607,4276,3616,2402,2728,3610,4204,4203,3670,3106,2596,2635,2250,2469,2643,2691,2805,2989,3459,3918,3984,3978,3947,3498,3498,4172,4501,4636,4439,4007,2908,2527,2367,2040,2541,3657,4140,3747,3147,2255,1926,1683,1854,1592,1382,1657,1749,2187,2213,2144,1929,1543,1532,1879,2166,2387,3435,3394,3065,2604,2165,2141,2340,2314,2232,2135,1592,1513,1678,1871,2049,1543,1537,1664,2075,2864,3135,3186,2701,2100,1769,1511,1500,1543,1551,1544,1819,2020,2001,1972,1908,1676,1566,1521,1463,1207,1310,1979,2270,2317,2333,2674,2757,2444,2755,2858,2207,2055,1329,1189,1575,1440,1360,1450,2256,2792,2431,1625,1496,1662,1698,1537,1537,1752,1880,1734,1674,1766,1594,1826,2669,2843,2719,2099,1483,1490,1531,1996,2997,2988,2673,3011,3016,2899,2939,2805,2250,2273,2610,2066,1191,809,1137,1311,1553,1500,1184,1281,1644,1865,1854,1591,1672,2306,2344,2640,3230,2883,3128,2828,2586,2591,2497,2675,2643,2558,2758,2933,2842,2334,2819,2984,1886,1311,1601,2046,2326,2228,2169,2168,2124,2110,2026,1986,1923,1942,1967,1987,2099,2521,2550,2341,2149,2361,3098,3267,2541,1948,2016,2045,1991,1907,1788,1774,1649,2081,2099,1730,1908,1742,1422,1488,1781,1914,1594,1808,1935,1753,2022,2006,1959,1998,1824,2145,2723,2858,2366,2031,1988,1649,1614,1815,1683,1543,1482,1578,1845,2287,2935,2807,2357,2311,2292,2270,2020,1826,1783,2678,3673,3680,2678,1676,1885,1938,2287,2402,1895,1764,1751,2054,2105,2403,2252,1918,1876,1964,2089,2101,2396,2608,2719,2536,2043,2624,3219,3520,3104,2579,2492,2469,2458,2084,2059,1870,2184,2286,2354,2468,2403,2214,2123,1989,1766,1571,1458,1522,1739,2055,1845,1519,1344,1698,1865,1799,1564,1452,1543,2403,3563,2980,2665,2562,2686,2495,2131,1641,1559,1611,1799,2507,2827,2900,2501,1854,1828,1805,1642,1580,1506,1475,1553,1633,1642,1482,1454,1579,1621,1584,1710,1459,1635,1602,1466,1452,1484,1440,1328,1470,1982,2062,1560,1437,1568,1827,1539,1436,1273,1166,1195,1289,1397,1416,1281,1371,1341,1457,1440,1435,1466,1434,1456,1449,1470,1543,1576,1583,1446,1512,1509,1612,1759,1701,1413,1426,1624,2144,2326,2198,2282,2066,1737,1953,2543,3407,3111,2381,2106,2160,1984,2025,2745,3150,3063,3153,3124,2251,1645,1544,1736,1716,1713,1419,1543,1898,1699,1545,1709,1964,2251,2156,2082,1608,1782,2114,2312,2208,2058,1648,1500,1592,1509,1644,1639,1589,1915,2159,2032,2123,2018,2182,2203,2261,1991,1660,1949,1818,1569,1650,1649,1648,1741,1701,2030,1994,2281,1675,1807,2234,1802,1666,1969,2325,2778,2808,2865,2663,2920,3147,2460,1882,1969,2855,3606,2837,2263,2208,2402,2831,2533,1899,2096,2802,2597,2700,2635,2162,2383,2631,2511,1970,2198,2781,2719,2486,2545,2385,2202,2570,3166,3169,2355,2125,2542,2248,2514,2603,1957,3187,4307,4250,3722,3266,3167,3030,2761,3072,2607,2236,2275,2350,2289,2204,2332,2788,2911,2836,2613,2752,2983,2603,2802,2801,2363,2569,3216,3155,2739,2733,2600,2103,1737,2183,2821,2423,2468,2574,1668,1559,1784,2047,2554,2271,2664,2932,2669,2386,2071,2632,2791,1976,2156,2423,2176,2273,2508,2216,2137,2262,2213,2148,1526,1637,2351,2300,2282,2302,2287,2371,2117,2369,3238,2878,2038,2083,2333,2326,2380,1991,1904,1821,1741,1744,1647,1504,1486,1415,1559,1594,1488,1648,1896,2042,2188,2343,1843,1550,1776,2292,2010,1990,2423,2160,1875,2438,2568,1919,1728,1864,2076,2024,2053,2384,2563,2149,1715,1735,1980,1864,1660,1533,1846,2519,2358,2446,2857,2711,2489,2499,2331,2291,2674,2741,2459,2156,2155,1703,2007,1974,2351,2106,2336,2612,2770,2562,1980,1814,1860,1618,1469,1750,1961,2548,2603,2203,1937,1893,1801,1813,2386,3076,3116,2825,2336,1958,1694,1722,1982,2089,2112,2337,2067,1664,1616,1876,2482,2493,2386,2182,2871,3592,2485,1814,2180,2295,2049,1681,1561,2265,2634,2340,1878,1816,1942,2213,2669,2866,3116,2964,2182,1642,1613,1751,1946,2163,2199,2010,1880,2083,2553,3046,3138,3021,2613,2088,2212,2768,3124,2685,1991,2220,2427,1829,1815,1976,2106,2104,2076,2099,2125,2181,2266,2225,2305,2408,2254,1988,1785,1807,2269,2309,1991,2045,2620,3493,3475,3530,3776,3791,3242,3487,3488,3261,3067,3113,2799,2828,3520,3566,3763,3530,3372,3596,3492,3464,3133,3087,2865,2482,2211,2014,2359,2597,2521,2401,2757,2785,2257,2054,2473,2980,2541,2321,2112,2316],[3272,3181,3761,3594,3574,3067,2204,2659,2383,2059,2470,2925,2763,2027,2271,2139,2089,2711,3802,3378,3128,2698,2454,2850,3298,3106,2696,2790,2824,2667,2498,2185,2587,3188,3343,3499,3559,3474,3458,3648,3675,3077,2332,2348,2712,2212,1683,2367,3127,2735,2900,3414,3222,2930,2889,3325,3416,2481,2004,2105,2128,2311,2306,2454,2474,2006,2198,2447,2345,2284,3005,3391,3405,3626,2856,2093,2019,2135,2877,3393,3291,3225,2893,2705,2874,3174,2864,3009,2956,2674,2833,3742,4372,4196,3754,3607,3496,3393,3177,3187,3461,3586,3527,3735,3310,3044,3145,3107,2962,2929,2692,2663,2748,2723,2725,2513,2691,2777,3110,2890,2418,2468,3516,3927,3842,3725,3423,3297,3404,3485,3460,1894,1427,2250,1984,1503,1544,1859,1909,1962,2081,1973,2025,1931,2261,2824,2452,1256,1490,1958,1759,1840,2306,2724,2508,1946,2158,2740,3098,3068,3278,3408,3415,3438,4108,4416,4243,3478,3122,3636,3044,2511,2288,2336,2087,1948,1982,2150,2235,1997,1906,2061,2155,2283,2475,3042,3003,2746,2418,2511,2563,2631,3020,3419,3475,3562,3420,2787,2805,2722,2416,3141,3270,3180,3561,3896,3928,3950,3750,3565,3650,3748,3500,3237,3059,3073,2862,3097,2416,2907,2728,2453,2635,2753,2658,2807,2696,2167,2334,2603,2274,2104,2051,2450,2298,1808,2061,2437,2156,1920,2048,1688,1256,2236,2612,3075,2353,2013,2332,1912,1683,2208,2457,2297,1914,1525,1397,1175,1554,1762,2202,2890,2855,2723,3024,3097,3292,3559,3552,3295,3166,3096,3142,3045,3162,3487,2705,2115,2138,2365,2689,2679,2432,2278,2577,2507,1862,1694,2407,2510,2985,3611,3709,3626,3499,3123,2899,2583,3017,3216,2964,2229,1854,2665,2710,3096,3356,3191,3080,3065,3318,3538,3034,3206,3319,2975,2605,2391,2511,2833,2773,2477,2543,2669,2396,2128,1924,2674,2902,3002,3207,3142,3290,3990,3882,3295,3376,3727,3661,3266,2662,2187,1847,1548,1510,1795,1813,1538,1666,1656,1507,1652,1697,1618,2392,3418,3474,3908,3986,3310,2522,1825,2026,2211,2192,2341,2453,3057,3403,3288,3200,3847,2987,1990,1848,2026,1781,2115,2241,1575,1462,1741,1988,2769,2512,1459,1919,2995,3185,2664,2360,2413,2845,3175,3190,2933,2922,3507,4059,4479,4312,4040,4361,4085,3794,3583,3016,2081,1730,1975,1999,1844,1833,1877,2034,1612,1547,1547,1476,1417,1506,1551,1405,1995,1660,1621,2019,1823,1665,1930,2331,2540,2820,3200,3029,2491,2830,3112,3030,3328,2942,2648,2579,3350,3344,1779,1116,1573,1962,2460,2577,2498,3232,3386,3460,3322,2909,3104,3416,3603,3288,3045,3139,3465,3629,4532,5541,4183,3637,3395,2459,2669,2942,2976,2881,2781,2785,2837,2362,1999,2475,2810,2818,2565,2695,2364,1581,1696,1984,1890,1551,1533,2120,2986,2658,1865,1751,1492,1720,1965,1948,1789,1673,1627,1692,1758,2143,2354,2311,2317,2097,3064,2809,2377,1966,2087,2356,2620,2469,2364,2563,2566,3120,3210,3003,2739,3219,3133,3030,3376,3185,2840,2947,3066,3211,3176,3384,3251,2862,2731,2579,2586,2712,2600,2340,2639,3105,3250,2990,2459,2385,2406,1711,1444,1381,1444,1491,1490,1539,1407,1425,1700,1754,1818,2027,2167,2209,2398,2408,2562,2662,2747,2534,2448,2529,2620,2753,3030,3354,2910,2275,2383,2689,2819,2795,2503,2614,2470,2225,2109,2081,1924,1834,2325,3057,3543,3720,3242,2752,2688,2286,2357,3003,3107,2526,2193,2070,2128,2085,1997,2002,1854,1503,1469,1437,1276,1541,2040,1850,1444,1814,1554,1339,1318,1281,1349,1235,1179,1208,1184,1202,1208,1200,1239,1362,1262,1544,1352,1217,1281,1348,1578,1429,1281,1253,1173,1225,1281,1231,1316,1396,1422,1480,1331,1404,1377,1289,1201,1196,1289,1316,1362,1295,1237,1357,1464,1700,1414,1270,1353,1323,1492,1603,1453,1488,2126,2707,1932,1933,1476,1153,1632,2208,1743,1591,2076,1702,1584,1499,1686,2666,2488,1994,1752,1582,1396,1505,1434,1477,1740,1732,1541,1604,2362,2255,1400,1312,1356,1459,1760,1792,1449,1231,1361,1608,1927,2026,1443,1083,1512,1527,1569,1914,1960,1914,2060,1975,1416,1472,1954,1688,1334,1558,2152,2074,2306,2310,1988,2048,2352,2322,2308,2059,1974,2217,2352,2276,1870,1613,1824,1437,1735,2208,1987,1977,1993,1885,2143,2277,2258,2180,2273,2281,2005,1986,3029,3496,2986,2607,2351,2561,2741,2039,1969,3505,3815,2539,3184,2898,1680,1473,2313,3075,3201,3194,3294,3185,2962,2655,2558,2622,2686,2648,2666,2395,2797,2620,2264,2543,2737,2657,2421,2414,2056,1967,2275,2480,2092,1919,1970,2480,2718,2499,2101,2107,2900,2353,1559,1581,1525,1267,1279,1969,2756,3089,3242,3482,3110,3078,3063,2950,2728,2425,2523,2998,2776,3030,3087,2286,1665,2187,2824,2247,2098,2259,2400,2258,2139,2029,2583,2198,2720,2962,2707,2525,2503,2611,2409,2149,1935,1732,1838,1933,1880,2250,2409,2718,2588,2264,2684,2351,1344,1409,1664,1532,1725,2143,2064,2736,3169,3146,2834,2493,2294,2300,2528,2381,2017,1467,1812,2308,2377,1928,2090,2327,2500,2691,2586,2166,2541,3176,2756,2676,2705,2972,4168,4608,4253,3989,3906,2997,2809,3636,4083,4008,3994,3881,3128,2521,2676,2896,2440,2610,2780,2436,2452,3259,3762,3947,4276,3999,3004,3234,4228,4496,4463,4351,3970,3687,2938,2400,2797,3384,3962,3622,3295,2832,2217,1911,2111,1701,1234,1378,1669,1990,2300,2564,2072,2068,1856,1972,2973,3937,4428,3882,2904,2303,2053,1875,1588,1264,1645,1787,1692,1584,1750,2236,2112,1836,1758,1792,2114,2499,2664,2369,2106,2195,1764,1988,1566,1731,1522,1447,1353,1595,1801,1586,1709,2140,1831,1833,1800,1944,1809,2196,2349,2297,2359,2209,1821,1813,2062,1876,1988,1958,1115,1313,1324,1391,1355,1602,2389,3101,2757,1888,1565,1671,1619,1331,1328,1667,1779,1597,1637,2014,2251,2456,2836,2945,2426,1691,1578,1733,2209,2592,3226,3088,2767,2695,2889,3210,3142,2738,2652,2771,2290,1028,650,920,1216,1463,1258,1111,1271,1548,1854,1732,1491,1872,2252,2510,2696,3279,3558,3287,2755,2263,2057,2374,2602,2542,2403,2434,2469,2836,2606,2135,2561,2525,1980,1997,2223,2268,2279,2261,2207,2075,2141,2178,2238,2128,2089,2143,2095,2277,2387,2497,2735,2709,2308,2857,3260,3021,2297,2059,1907,2241,2290,1955,1709,1736,1725,1926,2095,1815,1727,1479,1387,1433,1647,1768,1649,1688,1824,1768,1726,1805,1912,1902,1533,2066,2148,2191,2457,2272,2056,1768,1685,1687,1608,1570,1632,1675,1886,2037,2652,2597,2370,2430,2293,2024,2000,1997,1713,2332,3339,3196,2579,1604,2089,2237,2211,2369,2561,2047,1608,1704,2018,2396,2456,2332,2086,1954,2094,2293,2842,2938,2213,2161,2667,3308,3319,3049,3040,2647,2296,2383,2586,2188,1863,1771,1857,1819,1704,1588,1684,1666,1609,1655,1721,1595,1492,1648,1504,1440,1409,1401,1375,1587,1854,1840,1531,1471,1657,1970,2701,2604,2429,2339,2025,2090,2041,1670,1734,1744,1564,1495,1449,1766,1855,1657,1453,1811,1764,1528,1540,1756,2253,2762,2410,1671,1727,1862,1712,1737,1931,1627,1669,1666,1499,1524,1505,1262,1228,1472,1844,2004,1764,1440,1399,1528,1515,1315,1269,1318,1329,1381,1505,1483,1309,1327,1420,1402,1324,1332,1472,1595,1858,1842,1666,1538,1513,1494,1376,1425,1682,1817,1804,1610,1640,1765,1747,1942,2030,2060,2554,2404,1779,1720,1963,2425,2402,2438,2232,1963,1725,1663,2115,2942,3238,3185,3275,2521,1843,1787,2208,2220,2135,1851,2032,2138,1673,1592,1701,1863,2116,1999,2048,1897,1862,1678,1759,1707,1561,1531,1754,1738,1622,1517,1600,1831,1968,2020,1942,1798,1797,2032,2362,2721,2393,1908,1598,1600,1529,1600,1555,1806,1957,2113,2359,2644,2148,1361,1525,1854,1594,1710,1796,1749,2214,2689,2713,2705,2897,2819,2535,2239,1970,2254,2603,2268,2355,2356,2847,3176,2675,1920,2181,2874,2916,2483,1976,1776,2322,2526,2349,1808,1760,2442,2753,2800,2582,2710,2704,2269,2897,3584,2436,1824,2227,2174,2307,2664,2169,2509,3826,4609,3963,3217,3209,3284,2797,2797,2509,2489,2603,2314,2092,2267,2668,2777,2631,2817,2300,2287,2855,2886,2869,2656,2707,2937,3089,2964,2952,2958,2758,2452,2675,2920,3233,2265,2065,1847,1877,2395,2444,2540,2115,2019,2910,3064,2779,2589,2426,2570,2678,1920,1991,1965,2055,2784,2732,2319,2425,2175,2053,2398,1714,1600,2160,2265,2381,2070,2245,2360,2095,2273,2264,1926,1979,2031,2176,2228,2198,1815,1986,2207,1953,1642,1472,1420,1643,2209,2115,1679,1844,1880,1806,2186,2362,2252,1725,1440,1619,2011,2165,2207,2310,2176,2315,2721,2526,1865,1474,1529,2126,2267,2236,2201,2205,2145,1737,1584,1627,1839,1811,1694,2057,2437,2290,2510,2741,2661,2556,2369,2240,2776,3040,3285,2902,1891,1608,1960,2480,2562,2431,2181,2166,2049,1883,1711,1526,1578,1639,1720,1654,1540,1817,2365,2229,1784,1841,1753,1838,2350,2367,2668,2962,3042,3097,2430,2092,1910,1727,1990,2596,2852,1946,1672,1756,2187,2422,2297,2089,1929,2440,3196,3085,2370,2153,2207,1917,2398,2250,2181,2386,2300,2045,2110,2182,2222,2154,2181,2311,2119,1901,1561,1657,1748,1852,1929,2083,1995,2282,2176,2106,2739,3305,3204,2876,2149,2535,2667,2611,2038,1897,2167,2187,1964,1907,2043,2254,2555,2385,2070,1911,1899,2318,2257,2204,2244,2235,2156,1853,1870,2390,2615,2512,2869,3361,3530,3300,3625,3971,4075,3583,3686,4052,3826,3284,3172,2989,2517,3132,3618,3760,3625,3244,3176,3151,2944,2868,2767,2508,2580,2322,1914,1968,2109,2592,2479,2365,2237,2069,1926,2396,2754,2620,2435,2024,2354],[2989,3172,3294,3112,3220,2896,2556,2250,1875,2415,3085,3115,2403,2325,2530,2224,2141,2813,2927,2761,2322,2119,2130,1992,2336,2789,3403,3792,3882,3682,2988,2520,3100,3226,3175,3327,3230,3130,3288,3315,2801,2723,2284,2525,2410,2057,2371,3186,3164,2437,2820,2994,2686,2653,3307,3687,3558,2457,2158,2552,2509,2288,2272,2434,2320,2002,1746,1747,1715,2031,3116,3421,3274,3396,2931,2044,2056,2209,2492,2961,3225,3318,3594,3906,3699,3654,2921,2950,3009,2557,2799,3001,3707,4076,3729,3400,3414,3395,3322,3263,3261,3652,3669,3694,2840,2293,2706,2885,2877,3033,2984,3020,2788,2627,2779,2653,2626,2813,3072,2974,2691,3075,3417,3428,3793,4015,3760,3658,3666,3384,3454,2635,1764,2219,1758,1323,1670,1980,2156,2382,2338,1903,2486,2657,2165,2119,1958,1801,2010,2171,2059,2347,2433,1976,2186,2067,2098,2648,2669,3023,3679,4174,4099,3961,4260,4312,4300,4140,3605,3282,2772,2461,2300,2341,2251,2193,2077,2029,2114,1992,2114,2409,2268,2363,2578,3322,3061,2823,2718,3311,3275,2809,2910,3299,3042,3265,3818,3234,3152,3543,3538,3670,3684,3509,3365,2893,2742,2889,2890,2911,2962,2758,2815,2665,2714,2886,3110,3073,2706,2514,2337,2502,2314,2350,2458,2437,2216,2008,2226,2281,1892,1642,1615,2289,2796,2519,2422,2522,2181,2077,2054,1259,1919,2916,3097,3001,2127,2538,3196,2315,1791,2147,2709,2596,2645,2505,2217,1586,1623,1796,2060,2602,2441,2488,2839,2578,2920,3307,3518,3376,3128,3287,3205,3570,3882,3746,3117,2400,2087,2359,2674,2713,2668,2203,2480,2710,2066,1958,2425,2938,3570,3816,3303,2885,3046,2402,2746,2647,2898,3052,2996,2095,1596,2137,2702,2929,2995,2861,2980,3104,2994,3306,3116,3016,3063,2557,2024,2007,2666,2964,2454,2165,2600,2454,1951,1898,2224,2800,3129,2916,2266,2264,3406,4080,3551,3164,3355,3499,3858,3492,3093,3007,2916,2386,1812,1853,1780,1603,1656,1448,1354,1476,1547,1715,2383,3419,3792,4139,3971,3484,2678,1640,1685,1991,2151,2405,2788,3452,3609,3466,2922,2786,2114,1710,1838,2013,1823,1721,1718,1447,1463,1849,1815,2092,1816,1382,1518,2037,2286,2429,2630,2942,2990,2883,3309,3342,3330,3660,4365,4588,4474,4273,3984,4132,4161,3585,3212,2969,2418,2555,2170,1717,1727,1962,1947,1662,1586,1520,1614,1547,1760,1986,2000,2293,2116,2403,2730,2409,1888,1645,1930,2203,2046,2591,2446,2128,2626,2791,2989,2743,2993,3078,2976,3008,2909,2489,2556,2260,2078,2648,2924,2922,3199,3428,3407,2798,2930,3549,3826,3702,2999,2500,3152,3696,3327,4057,4216,3647,3195,2595,2358,2824,2888,2489,2533,2857,2724,2480,2208,1988,2231,2473,2752,2693,2700,1802,1790,2111,1883,1721,1474,1566,1707,1791,1616,1477,1432,1589,1570,1846,2074,2029,1764,1542,1639,2206,2393,2320,2679,2667,2496,2766,2220,2009,1951,1875,1920,2047,2173,2342,2200,2023,2480,2941,3305,3140,3098,2739,2855,3191,2671,2635,3382,3469,3265,3061,3076,3060,2724,2778,2813,2631,2620,2745,2527,2523,2910,3144,3176,2954,2360,2520,2244,1809,1484,1811,1742,1425,1523,1419,1407,1560,1516,1439,1507,1843,2072,2294,2422,2582,2628,2690,2614,2718,3121,3378,3420,3320,3078,2491,2395,2636,2763,3278,3587,3190,2463,2065,2153,2094,1937,2221,2706,3394,3858,3847,3638,3074,2514,2321,2109,2185,2614,2621,2211,1897,1986,2131,1938,1922,2026,1927,1620,1363,1362,1556,1874,1905,1474,1649,2690,1877,1402,1348,1415,1539,1445,1267,1233,1273,1305,1290,1250,1236,1445,1440,1694,1318,1140,1253,1356,1385,1312,1413,1338,1287,1472,1629,1465,1594,1439,1268,1299,1317,1368,1363,1339,1281,1177,1282,1421,1345,1215,1380,1372,1332,1348,1261,1202,1273,1361,1370,1360,1469,1693,1964,2112,1863,1666,1227,1186,1572,2232,1827,1798,2359,1866,1982,2025,1923,2584,2087,1731,1792,1728,1439,1398,1456,1471,1627,1772,1856,1969,2963,2740,1539,1334,1554,1604,1622,1482,1387,1422,1641,2018,2128,1470,1229,1220,1441,1447,1761,2016,2062,2040,1657,1512,1732,1729,1982,1711,1528,1515,1782,2062,2084,2217,1916,2060,2477,2020,1535,1933,1997,1828,2073,2185,1779,1726,2318,2508,2193,1975,2131,1904,1839,1858,1854,1850,1864,1886,1855,1952,1887,2654,3419,3105,3220,3366,2965,3610,3604,2818,2014,3140,3427,2491,2865,2755,1882,1745,2798,3542,3249,3006,3063,2984,2576,2535,3218,3422,3377,3281,3532,3880,4216,3806,2736,2461,2506,2310,2489,2396,1568,1668,2149,2458,2499,2674,2276,2026,2181,2092,1814,2078,2975,1924,1365,1750,2025,2018,1902,2084,2809,3284,3416,2900,2695,3244,2927,3090,2886,2390,2655,2723,3108,3350,2690,2030,1903,2877,2642,2068,2931,2852,2678,2852,2643,2291,2482,2405,2597,2670,2533,2665,2448,2384,2719,2447,2297,1857,1814,2054,2042,2141,2011,2758,3292,2365,2684,2570,1904,2304,2480,2304,2151,2630,2818,3115,3441,3416,2885,2223,2218,2353,2533,2192,1976,2398,2741,2086,1626,1607,2248,2460,1998,2065,2347,2138,2834,3060,2460,2906,2833,2863,3958,4608,4375,4264,4372,3603,2403,3055,3807,3682,3705,4132,3514,2469,2828,2947,2393,2510,2657,2254,2673,3464,4019,4228,4509,4552,3306,2620,3388,3829,4093,4484,4392,4062,3306,2214,2193,2468,3352,3665,3864,3703,2964,2109,2059,1802,1322,1407,1588,2053,2486,2695,2206,2267,1848,1937,3329,4220,4352,3653,2584,2244,1916,1249,852,1040,1374,1766,1987,1865,1809,2178,2251,1947,1764,1595,1787,1975,2385,2115,2385,2272,1897,1656,1732,1722,1423,1274,1235,1299,1323,1493,1597,1600,1402,1532,1632,1684,1932,1908,1692,1646,1552,1162,793,1065,1228,1668,2227,1574,1395,1568,1469,1494,1477,1673,1888,1970,2696,2642,1744,1498,1311,1528,1777,1944,1853,1519,1431,2112,3018,2918,2876,2648,1860,1592,1762,2431,2840,2662,2961,3052,2978,2851,2787,3168,3021,2705,2588,2005,1319,744,799,1026,1296,1338,1047,1032,1417,1823,1777,1538,1773,2374,2509,2352,2425,2718,3163,2846,2353,1997,1856,2362,2635,2419,2165,1880,1744,2560,2514,2232,2402,2185,1834,2254,2754,2568,2453,2263,2399,2154,2163,2152,2269,2155,2147,2170,2176,2336,2391,2639,3199,2995,2661,3304,3089,2645,2294,2168,1907,2121,2139,1907,1710,1641,1559,1719,2039,1805,1607,1602,1511,1366,1546,1817,1710,1713,1934,1818,1498,1759,2067,1868,1782,2100,1960,2096,2327,2225,2045,1913,1662,1669,1666,1581,1738,1851,1962,2204,2536,2634,2504,2226,1973,1886,2145,2168,1860,1884,2453,2040,1690,1557,1975,2253,1860,2457,2790,1874,1609,1725,2006,2526,2957,2776,2354,2609,2282,2396,2928,2303,1569,2100,3355,4023,2873,2361,2878,2803,2662,2671,2863,2394,1604,1868,1948,1802,1914,1770,2060,1970,2213,2146,1857,1649,1583,1686,1550,1270,1151,1322,1364,1354,1754,1740,1625,1825,1833,1970,2570,2735,2591,2173,1652,1821,1946,1820,1824,1628,1455,1353,1533,1840,1655,1425,1715,1961,1759,1569,2010,2732,2657,2888,3050,1832,1498,1827,1760,2164,2436,2127,2148,2076,1737,1606,1598,1396,1461,1577,1713,2211,2194,1500,1372,1457,1520,1420,1367,1338,1312,1394,1588,1449,1365,1331,1407,1310,1337,1438,1469,1604,1853,1712,1431,1356,1502,1507,1463,1616,1727,1707,1676,1588,1674,1890,1866,1690,1578,1719,2219,2101,1676,1603,1753,1940,2454,2832,2684,2172,1798,1874,2556,3024,2858,2802,2758,2001,1672,1951,2186,2185,2238,1897,1613,1871,1878,1918,1806,2144,2797,2048,1786,1768,1721,1565,1477,1395,1347,1466,1780,1803,1998,1661,1553,1808,1981,2021,1705,1513,1660,1806,2087,2217,2114,1688,1425,1523,1440,1659,2106,2604,2610,2632,2605,2032,1709,1749,1739,2253,1962,1721,1758,1501,1702,2432,2875,2975,2529,2280,2510,2186,1758,2017,1892,1996,2316,2340,2370,2350,2120,2161,3008,3616,3028,2143,2157,2412,2708,2235,1807,2062,2132,2182,2866,3262,3265,3448,2930,2127,2197,2534,2121,2327,2587,2433,2565,2853,2654,2313,3206,4364,4220,3438,3167,3471,3486,3383,3259,3587,3439,2652,2177,2032,2345,2742,2756,2868,2552,2524,2792,2830,2460,2359,2458,2753,3006,2767,2369,2330,2374,2711,3540,3763,3164,2529,2379,2066,2567,2868,2712,2630,2426,2944,3033,3001,2995,2786,2351,2446,2995,2567,2131,2106,2536,2566,2140,1632,2013,2258,2384,2644,1608,1256,1842,2110,2087,1788,2009,2161,1826,1706,1734,2014,2122,1888,1837,2261,1970,1787,1842,2044,2003,1623,1453,1586,2327,3338,2595,2456,2577,2158,1798,2482,2413,2030,1892,1482,1448,1534,1862,1922,1824,1944,2056,2054,1910,1570,1387,1719,2002,2103,2193,2002,2413,2220,1591,1818,1954,2393,2162,1343,1363,1946,2569,2824,2685,2787,2840,2755,2977,3265,3186,3345,2893,2305,2511,2866,2630,2540,2231,1964,1875,1698,1599,1506,1562,1510,1709,1904,1653,1641,1868,1911,1603,1366,1802,2078,2223,2457,2367,2502,2569,2864,3034,2852,2730,2248,1892,1898,2320,2619,1775,1628,1884,2431,2232,2216,2161,1944,2076,2898,3518,3419,2910,2899,2740,2927,2608,2113,2170,2021,1937,2039,2022,1889,1759,1823,1968,1907,1881,1924,2051,1620,1764,2088,1998,1959,2241,2144,2013,2618,3436,3418,3037,2225,2713,2488,2374,2238,2144,2015,1975,1954,1952,1972,1932,2136,2093,1638,1664,1908,2470,2338,2241,2304,2006,2052,2067,2100,2280,2449,2652,2639,3288,2788,2824,3364,3461,3820,3783,3623,4063,4184,3398,3197,3259,2676,2909,3529,3746,3584,3041,2880,2800,2381,2230,2009,2129,2547,2261,2454,2243,2148,2369,2437,2381,2157,1947,1650,2068,2840,2700,2418,2379,2836],[3109,3337,3208,2907,2811,2997,3005,2526,2326,2980,3409,2788,2123,2836,2520,2984,2763,2197,2160,2348,2156,2470,2956,2508,2467,2911,3677,4016,4002,4002,3595,3332,3646,3571,3143,2963,3336,3593,3512,3732,3285,2718,2210,2304,1954,2278,2933,3303,2886,2676,2897,2184,2124,3106,4041,3828,3580,2827,2568,2755,3157,2956,2331,2279,2358,1936,1832,1841,1956,2676,3399,3286,2890,3050,2705,1992,1770,1724,2197,2669,2686,3094,3675,3767,4001,3829,3096,3395,3629,2943,2829,3348,3776,4025,3824,3299,3373,3376,3508,3574,3742,3786,3755,3546,2774,2321,2410,2525,2700,3214,3493,3538,2752,2685,2809,2625,2601,2800,2889,2776,2939,3155,2859,3121,3628,3905,3719,3763,3695,3504,3239,3066,2576,1966,1528,1560,1743,1565,1707,2088,1957,1801,2014,2282,2155,2139,2101,2083,2182,2237,1974,2329,2602,2355,2477,2171,2147,2143,2608,3714,4284,4347,4293,4353,4376,3958,3770,3872,3429,3474,3373,2596,2318,2311,2440,2485,2258,2053,2097,2111,2106,2206,2302,2392,2795,3434,3321,3203,3486,4004,4165,3388,2890,3582,3471,3205,3643,3676,3592,4121,4200,3781,3408,3356,2988,2157,2072,2584,2946,2808,2898,2997,2936,2458,2361,2663,2802,2634,2559,2388,2433,2273,2088,2446,2700,2619,2179,2202,2756,2266,1684,1719,1709,2413,3254,2944,2581,2694,2387,2108,1466,1488,2669,2949,3164,3164,2519,2386,2968,2246,1946,2149,2944,2922,2953,2770,2607,2506,2270,2053,2385,2743,2364,2564,2724,2784,2925,3197,3565,3209,3151,3164,3244,3461,3517,3762,3958,3630,2491,2320,2520,2316,2537,2440,2279,2059,1905,1918,2279,3071,3765,3929,3648,3530,3284,2679,2315,2509,2804,2958,2896,2809,2614,2552,2319,2359,2385,2254,2634,2762,2830,3176,3371,3353,2990,2509,2237,2435,2925,2856,2389,2487,2269,1964,2385,3030,2708,2733,2942,2239,1999,3099,3926,3465,2651,3242,3575,3493,3480,3129,3003,3172,3076,2729,2396,2179,1945,2088,1865,1549,1618,1756,2148,2150,1795,2269,2788,3643,3931,3493,2685,1803,1681,1672,1701,1792,2114,2801,3001,2388,1936,1714,1653,1826,2165,2099,1687,1495,1552,1498,1455,1608,1474,1405,1377,1413,1433,1409,1706,2157,2823,3552,3688,3386,3592,3702,3509,3651,3914,4000,4280,4067,3858,3984,3806,3741,3426,3316,3107,2806,2332,2345,2354,2179,2370,2542,2040,1767,1874,1728,1767,2262,2419,1893,2017,2417,2700,2566,2116,1829,2138,2397,2013,2468,2366,1938,2268,2245,2350,2570,2940,3276,2880,2754,3205,2870,3228,3169,2278,2630,3060,3109,3074,3150,3097,2828,2864,3017,3144,3316,2620,2284,2486,3251,2988,3462,3094,2633,2604,2568,2596,2879,2898,2576,3002,3012,2473,2576,2650,2079,1723,2173,2856,2832,2072,1624,2082,2137,1889,1777,1468,1910,1791,1340,1478,1792,2003,1917,1570,1716,2048,1874,1621,1574,1722,2127,2167,2321,2287,2542,2891,2846,2732,2626,2546,2209,1713,1705,2210,2084,1685,1768,2161,3021,3240,2945,2910,2469,2159,2275,2475,3063,3560,3658,3373,2987,2724,2801,3013,3101,3001,2779,2579,2727,2730,2508,2526,3007,3156,3029,2430,2177,2350,2269,1749,1705,1628,1422,1438,1408,1520,1506,1446,1532,1461,1486,2018,2436,2706,2795,2778,2929,3091,3234,3341,3554,3355,2831,2363,2186,2936,3208,3151,3451,3132,2380,2046,2053,1980,1957,2327,3022,3316,3351,3519,3240,3062,2864,2729,2587,1963,1576,1622,1828,2111,2057,2046,2049,1970,2059,2083,1804,1479,1366,1526,1786,1870,1574,1337,1360,1313,1247,1301,1415,1467,1614,1599,1297,1256,1226,1240,1256,1184,1293,1870,1663,1421,1299,1356,1359,1444,1324,1281,1375,1318,1450,1498,1460,1366,1526,1440,1407,1386,1339,1491,1377,1386,1257,1208,1183,1329,1394,1312,1381,1360,1301,1356,1321,1206,1215,1287,1228,1247,1259,1335,1459,1523,1577,1572,1632,1601,1549,1660,1474,1632,1994,1898,1789,1834,2279,2551,2250,1942,1887,1849,1618,1582,1546,1623,1942,1727,1796,1920,2435,2087,1459,1460,1660,1808,1655,1475,1481,1611,1874,2068,1537,1128,1374,1435,1353,1317,1791,2197,2151,1922,1627,1987,1902,1688,1869,1848,1942,1847,1748,1743,1927,1964,1982,2284,2537,1814,1994,2675,2527,1940,2054,2321,1852,1833,2694,3366,3068,1991,1657,1582,1810,1944,1978,1987,2446,2378,2382,2390,1818,2246,2642,2101,2665,3350,2938,3948,4233,3681,2830,3365,3279,2475,2498,2618,2178,2162,2721,2878,2766,2955,3118,3081,2489,2926,3451,3509,3569,3905,4549,4396,4236,3908,2556,2707,2579,2165,2301,2050,2104,2452,2929,2856,2780,2618,1749,1923,2619,2023,1377,2081,2367,1433,2062,2751,2615,2524,2534,2859,3043,2909,2923,2574,2891,3165,2785,3078,2842,2534,2246,2047,2798,3089,2751,2536,2806,3551,2448,2757,3367,2765,2459,3001,3129,2421,2180,2180,2089,2176,2075,2236,1890,2114,3101,2932,2176,1796,1729,1953,1972,1824,1763,2322,2496,2275,2784,2520,2326,2636,2908,2823,2101,2631,3310,3064,3024,2976,2745,2381,2215,2392,2790,2755,2743,3241,2897,1932,1872,2084,2459,2687,2774,2800,2819,2349,2690,2964,2996,2943,2355,2418,3565,4340,4571,4743,4625,3942,2611,2852,3278,3794,3506,3978,3935,3432,3441,3026,2625,2825,2640,2173,2888,3175,3097,3949,4463,4585,4277,3084,2629,3261,4100,4533,4534,4159,2620,1326,1563,2281,3342,3663,3899,3676,2667,1949,2141,2101,1670,1269,947,1569,2062,2201,2380,2218,1869,2325,3329,4200,4424,3794,3007,2733,1910,872,1013,1534,1549,1746,1955,1885,1740,2104,2224,1863,1726,1870,2212,1913,2009,1771,2008,1919,1752,1575,1731,1694,1648,1382,1441,1446,1498,1698,1537,1398,1379,1344,1364,1395,1481,1487,1504,1505,1555,1389,1005,1262,1066,1376,1362,1233,1602,1567,1605,1643,1372,1144,1199,1458,2545,2321,1699,1335,1331,2177,2418,1907,1669,2069,2419,2479,2854,2850,2794,1982,1557,1734,2410,3116,3147,2812,2855,2874,2862,2841,2855,2876,2735,2372,1772,1225,892,875,1004,1050,870,827,1065,1353,1852,1801,1425,1388,2199,2800,2953,2798,2410,2359,2613,2511,2277,1910,1813,2319,2501,2499,2359,2287,2094,2690,2699,2424,2579,2247,2084,2500,2347,2243,2828,2941,2562,2437,2539,2642,2448,2092,2066,2080,2176,2443,2568,2724,3096,2994,2883,2647,2247,2023,2029,2062,1815,1753,1969,1948,1912,1748,1675,2056,2012,1602,1632,1742,1532,1375,1685,1887,1754,1795,1647,1666,1576,1793,1848,1808,1872,1722,1925,2048,2021,2226,2467,2596,1860,1831,1787,1610,1582,1821,1917,1937,2316,2623,2546,2605,2303,1865,2094,2258,1976,1583,1658,1719,1685,1509,1775,1879,1781,2885,3196,2152,1690,1843,2144,2600,3031,2768,2517,2941,2789,2832,3127,2523,1907,1959,3257,4261,3139,3291,3328,3022,2559,2173,2404,2026,1616,2308,2447,2585,2314,1807,2357,2137,2203,1956,1862,1746,1636,1733,1735,1621,1600,1727,1655,1633,2021,1816,1951,2031,1652,1704,2231,2433,2496,2148,1554,1525,1558,1613,1595,1445,1731,1813,2098,2304,1792,1578,1764,1919,2062,2197,2146,2811,2425,2420,2902,2007,1659,1957,1682,1762,2194,2242,2127,1979,1652,1520,1491,1314,1302,1343,1554,1826,1736,1632,1766,1625,1274,1219,1215,1147,1187,1272,1679,1778,1385,1355,1535,1641,1508,1477,1529,1447,1405,1237,1222,1341,1502,1426,1348,1533,1739,1810,1651,1572,1597,1688,1631,1639,1648,1659,1708,1742,1766,1873,1849,1725,2064,2588,2810,2157,1715,2128,2381,2805,2675,2724,2314,1693,1593,1624,1594,1849,2257,2088,1603,1676,1679,1885,2193,2804,2774,1983,1604,1692,1622,1612,1593,1474,1439,1569,1852,1966,1773,1548,1769,1957,1780,1601,1511,1584,1655,1599,1877,1948,2019,1583,1438,1475,1609,1877,2402,2614,2508,2954,2479,1931,2217,2235,2257,2846,2135,1798,1883,1861,2015,2158,2881,2864,2147,2142,2342,2183,2212,2521,2445,2253,2092,2184,2392,2451,2342,2625,3708,3737,2723,2769,3047,2677,2576,2426,1949,1716,1857,1952,2812,3415,3721,3343,2519,2047,1898,2166,2492,2822,2714,2611,2668,2558,2213,2184,2944,3809,4333,3828,3645,4240,4330,4034,3804,3855,3648,3082,2404,2082,2200,2712,2787,2777,2770,2495,2639,2931,2577,2106,2176,2558,3031,2806,2245,2030,2404,2753,3261,3452,2777,2234,2053,2092,2558,2624,2576,2336,2568,3050,2949,3029,3396,3107,2647,3473,3757,2973,2441,1888,2148,2295,2317,1847,2189,2522,2747,2186,1039,1002,1387,1670,1707,1649,1769,2177,1973,1864,1884,2223,2063,1906,1597,1152,1288,1999,1986,1571,1659,1588,1539,2216,3322,3112,2398,2857,2467,1714,1715,2273,2285,1864,1820,1496,1504,1937,1973,1533,1628,1729,1597,1480,1384,1401,1394,1578,1735,2320,2819,2278,2066,1844,1760,1794,2410,3218,2779,1599,1198,1989,2428,2372,2599,3064,3177,3508,3687,3288,2786,2765,2696,2570,3047,3384,2938,2379,1976,1930,1781,1591,1627,1614,1642,1723,2379,2790,2366,2216,2322,2589,2072,1583,1701,1941,1978,2151,2277,2084,1853,2107,2259,2521,2890,2453,1965,1849,2320,2387,2032,1733,1838,2008,1818,1788,1865,1711,1743,2425,3537,4101,3043,2203,2326,2500,2187,1962,1886,1840,1876,1831,1724,1800,1922,1942,1847,1728,1790,1945,1875,1657,2098,2388,2336,2222,2026,1892,2223,2669,3230,3481,3484,3485,3492,3142,2729,2243,2001,1947,1932,1893,1758,1820,1739,1743,1765,1744,2037,2281,2385,2321,2573,2459,1984,2092,2422,2349,2260,2238,2370,2417,2842,2662,2823,3075,3097,3416,3552,3613,3816,4090,3593,3251,3216,2775,2696,3247,3403,3308,3304,3294,3126,2623,2487,2369,2538,2762,2414,2686,2626,2689,2958,3180,2902,2416,2077,1854,2219,2436,2722,2502,2061,2270],[3360,3480,3268,3105,2966,3064,3186,2879,2555,3215,3106,2193,2659,2512,2066,3414,3876,2975,2317,2073,1948,2867,3569,3170,3129,3652,3549,3780,3983,3978,3782,3572,3836,3854,3603,3140,3561,4196,3990,4168,3682,2907,2444,2555,2134,2409,3435,3529,2817,2526,2941,2037,2674,3769,3862,3451,3410,3309,3350,3087,2879,2664,2376,2160,2195,2360,2624,2176,2171,2757,3071,3089,2884,2844,2614,2119,1854,1973,2434,2642,2693,2667,2910,3279,3342,3282,3150,3432,3349,2623,2791,3181,3606,3935,3828,3453,3342,3324,3437,3399,3479,3470,3429,3497,3586,3628,3398,2785,2987,3405,3537,3525,2834,2647,2708,2661,2744,2739,2519,2459,2702,2841,2569,2691,2806,2851,2779,3137,3300,3271,3328,2864,1916,1720,1932,1803,1682,1396,1231,1784,1938,1850,1549,1393,2089,2788,2250,1805,1765,1876,2315,2643,2957,2924,2766,2698,2527,2541,3184,3632,3620,3707,3860,4161,4144,3459,3190,3528,3082,3250,3373,2770,2000,1964,2646,2707,2414,2100,2057,2178,2476,2940,3109,2690,3164,3729,3559,3598,3958,4093,4344,3957,3252,3479,3818,3277,2994,3197,2931,3254,4100,3877,3394,3540,3260,2810,2648,3054,3118,3256,3064,2946,2618,2475,2579,2488,2404,2568,2378,2496,2620,1565,1560,2065,2367,2763,2428,2348,2787,2409,2040,2052,2091,2104,2744,2517,2245,2353,2235,1849,1436,2339,2989,3057,3180,2902,2721,2929,2866,2438,2420,2807,3327,3371,3089,2654,3106,3648,3103,2595,2908,2967,2084,2009,2068,2209,2618,3152,3295,3043,3294,3492,3414,2922,2567,2577,2957,3522,3234,2440,2593,2197,2262,2389,1942,1751,1677,1488,1670,2644,3359,3902,3842,3596,3388,3584,3294,3338,3624,3089,2869,3239,3208,3054,2587,2392,2164,2630,3184,3115,3375,3538,3475,3539,3187,2763,2808,3068,2842,2480,2088,2188,2218,2133,2555,2666,2326,2399,2342,1737,2327,3298,3450,2918,2728,3033,2893,3138,3137,2790,2678,2600,2722,3178,3283,3031,2576,2392,1909,1731,1671,1878,2539,2105,1646,1793,2058,2625,3173,3134,2265,1733,1885,1984,1817,1512,1498,2055,2056,1552,1538,1708,2182,2114,2366,1989,1679,1506,1674,1573,1662,1856,1567,1349,1579,1769,1763,1757,2298,1974,1952,2620,2886,2578,2854,3020,3132,3599,3689,3728,4288,4080,3978,3827,3198,3514,3029,2865,2732,2415,2084,2181,2483,2335,2366,2484,1953,1655,1689,1746,2184,2670,2216,1598,1912,2531,2548,2061,1946,1814,1822,1647,1897,2301,2426,2075,2066,2087,2223,2279,2397,2682,2679,3055,2878,2769,2690,2692,2153,1966,2098,2055,1850,1923,2069,2126,1912,1807,1900,2887,3097,2575,2094,2368,2280,2532,2491,2313,2613,2448,2237,2644,3023,2885,2710,2271,2456,2703,2483,2222,2115,2642,3111,2268,1617,1907,2238,2195,1968,2131,2036,2076,1556,1342,1870,2484,2686,2391,1839,1929,1915,1609,1462,1487,1938,2597,2596,2685,2417,2126,2265,2546,2788,2854,3119,2303,2339,2283,2104,1948,1967,2177,2330,2586,2765,3182,3104,2526,2408,2225,2164,3321,3626,3545,3326,3009,2719,2831,3160,3084,2824,2785,2670,2608,2745,2656,2308,2724,2664,2188,2088,2235,2602,2752,2205,1718,1625,1455,1440,1340,1333,1324,1303,1476,1471,1574,1952,2402,2868,2977,3087,2987,2888,2751,2711,2778,2441,2423,2807,3143,3454,3696,3413,2835,2092,1925,1904,1892,2132,2880,3259,3486,3352,3010,2632,2523,2813,2747,2603,2440,1689,1385,1510,1695,1710,1878,1996,2075,2060,2073,2060,1682,1367,1476,1790,2062,1700,1495,1440,1327,1379,1415,1406,1393,1524,1878,1859,1537,1409,1311,1234,1259,1368,1577,1686,1827,1664,1410,1495,1740,1817,1446,1258,1397,1384,1402,1327,1263,1160,1232,1294,1249,1304,1454,1623,1439,1317,1253,1228,1129,1264,1375,1268,1251,1266,1260,1290,1271,1295,1300,1340,1277,1365,1521,1476,1338,1389,1389,1416,1568,1576,1497,1588,1466,1422,1568,1588,1424,1488,2149,2381,2098,1809,1715,1644,1678,1668,1678,1786,2003,1842,1724,1565,1472,1180,1281,1682,1893,1730,1603,1505,1696,1918,1966,1676,1417,1426,1506,1484,1428,1576,1879,2291,1997,1649,1227,1628,1529,1407,1599,2064,2216,2113,1907,1998,1996,1786,1851,1888,1864,1793,2776,2830,2193,1910,1973,2241,1833,1803,2383,2610,2222,1802,1729,1652,2020,2139,1990,2182,2520,2009,1973,2177,2115,2237,2399,3115,2885,2568,2606,3619,4015,3847,3705,3584,2943,2175,2002,2237,2085,2328,2036,2151,2311,3130,3450,3397,3480,3793,3820,3706,3351,2805,3053,2429,2626,2692,2314,2575,2699,2777,2576,1964,2020,2844,3131,2742,3061,2886,2248,2710,2933,2267,2292,2471,1752,1521,2179,2106,2120,2404,2530,2836,2878,2707,2253,2364,2526,2395,2507,3046,2699,2278,2110,2262,2344,2758,2952,2514,2372,2769,2252,2918,3234,2617,2597,3143,2863,1859,1903,2323,2213,2286,2462,2570,2020,2214,3278,3650,2798,1928,2025,2119,1702,2129,2204,2119,2171,2225,2413,2524,1908,1732,2511,2466,1527,1694,2602,2611,2281,2339,2326,2283,2041,2147,2618,2754,2675,2812,2427,1750,1766,2106,2456,2665,3106,2834,2832,2385,2530,3244,3750,3553,2696,2471,3145,3828,4572,4719,4612,4120,3205,2984,2867,3554,3769,4152,4393,4320,3963,2840,2517,2624,2462,2346,2652,2391,2279,3479,4315,4584,4544,4073,3212,2813,3624,4364,4708,4695,3503,2122,2187,2808,3409,3785,3862,3830,3124,2335,2235,2369,2080,1370,782,1144,1549,1810,2238,2148,2260,2347,2594,3526,4260,4233,3971,2800,1658,1179,1273,1700,1956,1985,2115,2153,2170,2216,1841,1628,1651,1942,1826,1826,1736,1846,1899,1750,1562,1671,1611,1710,1908,1456,1322,1292,1400,1413,1408,1410,1403,1400,1427,1452,1443,1509,1594,1649,1801,2115,1638,1789,1529,1402,1438,2034,2231,1655,1644,1456,1328,1141,1175,1164,1429,1636,1616,1351,1784,2655,2408,1770,1598,2570,3240,2938,2722,2679,2025,1606,1700,2325,2975,3146,3091,3012,2897,2885,2802,2775,2663,2766,2462,1491,993,816,1074,1318,1027,755,892,1346,1636,1678,1286,1254,1538,2203,2721,3293,3616,3223,2922,2986,2699,2260,2133,2041,1957,2232,2633,2764,2714,2696,2376,2462,2315,1986,2410,2078,2342,2889,2152,1757,2237,3121,3054,2603,2491,2917,2856,2151,2087,2241,2519,2813,2865,2584,2720,2647,2015,1779,1755,1698,2147,2544,2022,1962,2016,1869,1696,1691,1719,1780,1759,1695,1741,1732,1543,1523,1601,1763,1858,1703,1554,1764,1700,1693,1728,1798,1918,1902,1809,1609,1766,2122,2367,2492,1851,1620,1895,1766,1653,1691,1754,1879,2069,2209,2249,2457,2174,2009,2088,2188,1999,1547,1800,2316,2207,1738,1757,2021,2382,2873,3078,2231,1720,1860,2083,2618,2915,2712,2485,3199,3725,2937,3275,2757,2250,2193,3449,3918,3739,3571,2954,2508,2288,2371,2330,1896,2109,2404,2491,2669,2125,1801,2390,2238,1638,1692,1920,1666,1542,1520,1606,1857,1852,1881,1796,1787,2031,1903,1671,1615,1689,2051,2379,2446,2663,2293,1763,1828,1971,1837,1699,1686,2026,2154,2242,2024,1662,1592,1479,1718,1793,1963,2118,2276,1945,1977,2390,2336,2154,1774,1490,1904,2248,2405,2214,1619,1167,1185,1233,1247,1357,1452,1764,2044,1858,1684,2143,1952,1458,1468,1366,1268,1314,1615,2766,2317,1422,1333,1839,2111,1499,1315,1389,1448,1450,1322,1287,1300,1212,1251,1393,1522,1760,1807,1478,1545,1519,1466,1330,1414,1526,1697,1683,1786,1678,1880,2047,1606,1719,1883,2037,2190,2319,2902,2802,2741,2745,2382,1707,1572,1544,1564,1658,1561,1843,2248,1898,1830,1710,1991,2143,2005,1985,1565,1370,1604,1698,1633,1550,1610,1589,1950,2200,2236,1765,1878,2635,2238,1539,1583,1907,1748,1688,1634,1720,1849,2058,1809,1433,1762,2112,2046,2337,2458,2250,2654,2276,2732,3091,2493,2526,2657,2268,2403,2236,1920,1951,1960,2372,2834,2533,2000,2434,2451,2121,2404,2444,1932,1821,2027,2042,2387,2239,2640,3669,3466,3051,3184,2780,2338,2352,2519,1986,2061,2664,2662,3352,3697,3618,3186,2380,1758,1890,2446,2635,2648,2481,2755,2248,2374,2468,2275,2386,3164,3949,3964,3816,3951,4204,3992,3518,3349,3342,3442,2968,2272,2298,3102,3191,3132,2916,2624,3018,3316,2639,2127,2220,2391,2434,2448,2344,2064,2256,2332,2119,2281,2377,2095,2181,2476,2386,1955,2466,2532,2297,2429,2635,2789,3340,3043,2404,3137,3285,2615,2363,2332,2287,2384,2842,2474,2231,2194,2293,2040,1634,1510,1730,1620,1531,1776,1793,1883,2042,2201,1911,1783,1784,1455,976,946,1305,1900,1900,1760,1933,1800,1913,2610,2760,2035,1858,2250,2023,1701,1551,1728,1660,1368,1648,1594,1662,1647,1533,1772,2309,2124,1688,1444,1488,1522,1411,1379,1644,2510,2643,2415,2085,2015,1967,1566,2082,2597,2514,2356,2235,2402,2177,2188,2868,3714,3676,3814,3691,2989,2551,2519,2513,2588,2729,2908,3001,2668,2073,1777,1480,1383,1404,1500,1629,1887,2419,2426,2258,2469,2984,3119,2454,2049,2080,1856,1591,1824,2228,2194,1897,1895,2102,2524,2864,3045,2276,1860,2178,2230,2000,1831,1902,1926,1731,2158,2292,2031,1611,2078,3031,3042,2030,1694,1917,2114,2048,1880,1688,1534,1574,1882,1858,1687,1798,1826,1670,1635,1665,1743,1592,1890,2256,2309,2430,2518,2199,2138,2458,2514,2644,2928,3646,3725,3491,3498,2640,2108,2146,2376,2171,2072,1938,1691,1559,1652,1704,1932,2547,2728,2342,2463,2527,1997,2172,2235,2435,2259,2228,2260,2004,1963,2267,2290,2436,2604,2742,2916,3260,3428,3269,3549,3363,3112,3172,2853,2582,2830,2954,2934,3339,3466,3565,3431,3031,2822,2653,2553,2572,2718,2834,2833,2822,2951,2812,2388,2072,1742,1706,2046,2433,2401,2082,2281],[4084,4024,3487,2777,2710,2896,3002,2887,2812,3046,2258,2278,2784,2090,2417,3615,3563,2934,2506,2384,2373,3231,3318,2852,3235,3969,4091,4006,3941,3921,3449,3524,4221,3981,3910,3641,4133,4268,4156,4051,3705,3162,2769,2598,2489,2917,3791,3835,2822,2663,2567,2285,3395,4109,3595,3008,2856,3040,3510,3474,2733,2374,2410,2402,2016,2186,3032,2562,2532,2990,3122,2939,2570,2090,2145,2195,1943,2025,1980,2062,2535,2836,3382,3408,3319,3373,3017,3085,3128,2501,2344,2364,2829,3141,3284,3426,3518,3664,3708,3542,3349,3154,3010,3409,3597,3969,4042,3340,3167,3364,3239,3106,2903,2775,2755,2701,2878,2752,2552,2551,2949,3056,2702,2698,2584,2221,2246,2657,2941,3183,3204,2382,1720,1823,2183,1893,1476,1338,1301,1811,2100,1846,1663,1658,2114,2785,2552,2059,2040,1551,1459,2729,3119,2620,2470,2429,2624,2930,3403,3625,3886,3679,3537,3823,4026,3417,3241,3111,2511,2646,3062,2734,2179,2303,2819,2988,2520,2170,2224,2145,2750,3178,3393,3230,3267,3805,3754,3624,4009,4175,4352,4132,3386,3226,3675,3519,3392,3650,3000,2718,3217,2993,2983,3520,3273,3013,2739,3230,3357,3410,2773,2711,2973,2746,2684,2469,2387,2887,2386,2377,2168,1428,1610,2033,2228,2764,2963,2758,2454,2202,2425,2257,2376,2469,2700,2385,2159,2182,2072,1637,1810,2514,3086,2844,2415,2281,2306,2170,2468,3334,3300,3084,3130,3307,2976,2551,2962,3611,3684,3130,2840,2700,2237,2047,2143,2422,2617,2938,2713,2510,3010,3025,3162,3131,3080,2966,2788,2924,3149,2697,2873,2813,2491,2336,1897,1842,1719,1748,2103,2206,2264,2756,3167,3603,3408,3431,3209,2945,3116,3043,3460,3554,3355,3282,3349,3096,2751,2751,2929,3204,3696,3772,3443,3298,2879,2855,3095,3384,2790,2231,2200,2246,2204,2555,2802,2392,1876,1532,1807,2095,2831,3130,3397,3216,3256,2783,2521,3139,3378,2687,2296,2404,2181,2661,3261,3284,3168,2811,2654,2597,1887,1862,2324,2265,1973,1583,1669,1625,1846,2264,2452,2758,2807,2322,1951,1723,1390,1622,1824,1746,2092,2217,2598,2222,2042,2417,2164,1650,1690,1779,2223,2287,1648,1360,1621,1788,1719,2029,2498,1813,1563,1984,2510,2290,2365,2814,3007,3540,3965,4027,4220,4091,3650,3247,3143,3305,2500,2272,2426,2090,1929,1867,2331,2241,2312,2356,1833,1686,1832,2522,3529,3671,2814,1822,1949,2386,2603,1867,1939,2032,2446,2082,1965,2769,2874,2080,1880,1801,1820,2227,2150,2097,2186,2258,2231,2761,2762,2812,2479,1874,1724,1483,1697,1922,1946,1688,1540,1553,1890,2835,3300,3153,2436,1825,2027,2374,2139,2174,2725,2209,2282,2700,2855,2750,2388,2153,2376,2462,2459,2585,2753,2718,2534,1874,1837,1734,1898,1846,2019,2544,2701,2433,1685,1230,1823,2570,3013,3020,2568,2310,2036,2188,1938,1525,1904,2454,2935,3456,3285,2620,2122,2422,2814,2930,2973,2148,2242,2401,1996,1840,1928,1981,2039,2156,2122,2819,3156,2675,2799,3065,3060,3241,3440,3407,3258,2942,2821,3018,2930,2788,2543,2611,2767,2569,2587,2815,2505,2253,1995,1973,2544,2819,2554,2696,2663,1818,1519,1481,1538,1381,1661,1737,1462,1392,1499,1655,1704,2110,2634,2479,2329,2193,2363,2482,2370,2365,2729,3044,2903,2491,2412,3022,2518,2024,1903,1819,1936,2492,3252,3663,3317,2893,2519,2335,2183,2298,2243,1913,1718,1741,1483,1504,1697,1894,1859,1966,2116,1977,1827,1949,1989,1601,1644,1850,1880,1941,1927,1687,1653,1794,1712,1466,1475,1350,1346,1477,1643,1474,1366,1298,1289,1287,1497,1895,2154,2414,2279,1949,1907,1898,2002,1869,1438,1288,1232,1275,1272,1206,1199,1238,1246,1109,1187,1190,1246,1322,1323,1363,1284,1183,1227,1299,1335,1322,1382,1427,1253,1174,1249,1205,1227,1337,1433,1497,1404,1381,1439,1438,1310,1528,1929,1678,1443,1330,1405,1558,1354,1414,1859,1764,1552,1711,1585,1476,1484,1682,1571,1645,1602,1545,1766,1488,1336,1564,1511,1589,1886,1769,1439,1826,1849,1862,2186,1699,1375,1517,1521,1573,1424,1854,2353,2105,2420,1927,1600,1721,1881,1723,1430,1576,1997,2125,1973,1691,1512,1538,1918,1887,1137,1472,2157,2581,2348,2233,2006,1854,2014,1714,1647,1790,1721,1677,2102,2380,2357,1923,1503,1600,2136,1856,1548,1771,1836,2262,2986,2627,3194,3176,2799,2660,2986,3440,3427,3035,2546,2074,1697,1975,1923,2046,2453,1955,1930,2314,2339,2235,2770,3159,2979,2757,2492,2663,2191,2262,2221,2221,2314,2482,2244,2461,3042,2859,2289,2114,2425,2383,2639,3064,2954,2519,2463,2370,2229,2526,2553,1831,1820,1456,1117,1447,2181,2119,2181,2485,2264,2084,2267,2507,2260,2328,2735,2436,1889,2041,2436,2756,3001,2875,2808,2957,3100,2587,2564,2562,2332,2467,2664,2416,1480,2030,2062,1872,2045,1862,1663,1903,2140,2836,3312,2651,2182,2376,2310,2385,2689,2986,2400,2257,2482,2958,2675,1525,1389,1995,2232,1964,1915,2175,2258,2194,2114,2144,1869,2201,2605,2696,2814,2940,2733,2554,2168,2010,2402,2578,2451,2793,2862,2416,2567,3405,3230,3294,3874,3178,2799,2813,3398,4441,4739,4729,4565,3899,3123,2780,2989,3408,4385,4437,4473,4205,3241,2733,2667,2496,2580,2802,2603,2647,3082,3790,4431,4575,4596,4103,3152,2993,3751,4488,4789,4424,3603,3251,3183,3630,4113,3863,4071,3667,2679,2328,2588,2527,2042,1472,1516,1754,1708,1698,2158,2741,2094,2107,2249,3412,4080,3089,1389,1069,1391,1388,1593,1964,2019,2431,2615,2331,1909,1609,1559,1488,1646,1857,1885,1732,1991,1902,1743,1699,1894,1520,2139,2116,1690,1466,1396,1344,1354,1340,1352,1343,1259,1244,1395,1418,1413,1428,1398,1402,1510,1616,1772,1743,1555,1742,2308,2303,1826,1461,1300,1440,1205,1298,1359,1339,1598,1483,1289,2204,2611,1937,1544,1469,2409,3147,2911,2785,2259,1626,1577,2124,2999,3075,2814,2851,3198,3253,3217,2877,2885,2882,2409,1350,696,786,1132,1483,1340,831,898,1349,1740,1739,1448,1313,2200,2620,2997,3263,3365,3645,3732,3386,3320,2630,2189,1995,2086,2165,2534,3341,3580,3273,2939,2501,2074,1851,1929,2515,2137,2645,2543,1976,1793,2474,3173,3408,3194,2608,2695,3022,2812,2597,2632,2743,3055,3236,3209,2961,2210,1641,1570,1662,1667,1860,1841,1856,1764,1632,1462,1615,1637,1543,1556,1864,1980,1809,1715,1639,1627,1619,1733,1703,1509,1404,1700,1808,1862,1824,1688,1826,1834,1765,1694,2093,2216,2258,2261,1830,1439,1747,1706,1696,1869,1816,1682,1669,1963,2326,2448,2455,2524,2150,2269,2400,2188,2389,2689,2258,2260,2196,2545,3082,2422,2125,1701,1611,1943,2177,2401,2578,2623,2485,2877,3724,2582,3270,2711,2786,2858,3501,3536,3684,3220,2640,2779,2617,2509,2343,1947,2236,2246,2095,2356,1919,1980,2642,2500,1959,2044,2014,1750,1739,1832,1872,1852,1869,1820,1945,2175,2317,2072,1639,1555,1783,2173,2459,2233,2400,1783,1895,2159,2210,2018,2066,2003,2053,2118,2204,2043,1754,1514,1535,1909,1537,1516,1770,1652,1559,1802,1775,1692,1943,1302,1347,2206,2261,2537,2305,1992,1674,1551,1456,1495,1516,1533,1747,1831,1733,1635,2173,1980,1714,1708,1452,1661,1679,1423,1701,1742,1512,1294,1563,1721,1377,1387,1333,1932,1848,1447,1354,1345,1273,1313,1377,1396,1572,1675,1572,1693,1553,1579,1793,2014,1837,1551,1549,1687,1534,1583,1650,1505,1493,1404,1791,2539,2874,2390,1920,2383,2632,2012,1576,1543,1709,1814,1697,1703,2381,2902,2415,2046,1843,1896,2024,2408,2647,1696,1499,1554,1618,1477,1727,1982,1786,1865,1960,2078,2033,2445,2574,2069,1825,1814,2195,1961,1765,1638,1551,1973,2248,1875,1913,2891,2907,2577,2534,2305,2160,2329,2373,3319,3326,2478,2192,2321,2568,2450,2226,1688,1550,1603,2071,2448,2285,2358,2676,2665,2633,2417,2019,1812,2169,2293,2257,2244,2226,2662,3204,2453,2138,2382,2641,2788,2822,2700,2340,3309,4061,4056,3978,3732,3576,3363,2686,1981,2281,2656,2406,2728,2863,3466,2906,3098,3176,2697,2387,2471,3032,3716,3293,3110,3824,3968,4016,3782,3624,3493,3172,2511,2403,3046,3538,3552,3296,2901,2604,2684,2766,2407,2045,1975,1877,1963,2399,2547,2512,2336,1921,2130,2331,1942,1881,2488,2036,2214,2836,2699,2183,2147,2137,2195,3037,2962,2220,2293,2385,2222,1917,2257,2279,2289,2435,2220,2010,1693,1864,2302,2248,1674,1908,1733,1850,1865,1692,1722,2006,2127,2056,1851,1714,1564,1664,1604,1904,1995,1844,1649,1642,1795,1917,1932,1711,1424,1788,2268,1837,1582,1555,2098,1910,1575,1777,1779,1819,1905,1808,1866,1957,1763,1620,1698,1872,1671,1449,1216,1439,2319,2544,2734,2366,2116,2053,1741,1671,1750,2025,2282,2148,2056,1959,2104,2607,3344,3517,3281,3166,3316,2932,2601,2631,2623,2816,3115,2974,2652,2030,1721,1502,1346,1484,1702,2049,2474,2352,2072,2717,2980,3724,3253,2639,2542,2328,2127,2079,2331,2541,2641,2566,2692,2683,2690,2941,3551,2786,2166,2318,2334,2070,1968,2057,2071,2293,2725,2775,2310,1996,2362,2387,1624,1525,1823,1847,1950,2084,2002,1541,1364,1481,1735,1876,1793,1873,1756,1645,1633,1849,1947,1799,2132,1998,2098,2290,2358,2553,2587,2568,2499,2340,2834,3682,3542,3409,3432,2404,2248,2245,2340,2578,2320,1957,1629,1588,1727,1833,1981,2298,2367,2192,2802,2519,1941,2135,2108,2079,2103,2263,2145,2127,2510,2609,2180,2074,2105,2381,2332,2508,2628,2884,3100,3019,2797,2962,3130,2444,2335,2846,2983,3274,3232,3174,3530,3435,2921,2574,2567,2664,2819,3218,2999,2888,2837,2865,2042,1834,1829,1895,1952,1952,1941,1845,1902],[3140,3123,3038,2591,2512,2711,2881,2677,2830,2441,1852,2338,2750,2877,2986,2892,3061,2696,2155,2568,3022,3171,3037,2809,3315,3968,4108,4048,4013,3748,3648,3879,4082,3853,3961,3729,3970,3825,3836,3807,3226,2905,2974,2849,2407,3165,3851,3969,2933,2925,2427,2415,3330,3863,3322,2741,2564,2887,3354,3169,2330,1975,2358,2757,2264,1870,2149,2499,3218,3429,2742,2534,2332,1763,1958,2413,2398,2360,2097,1927,1891,2435,3198,3409,3395,3458,3194,2608,2988,2776,2191,1887,2472,2645,2823,2984,3064,3429,3696,3603,3516,2951,2680,3178,3739,3872,3441,2742,2642,3210,3144,2968,3008,3000,2604,2686,2773,3042,3118,3121,3286,3127,2821,2742,2472,2197,2378,2592,3063,3330,2863,2186,1812,1959,2438,2562,2041,1622,1854,1997,2076,2354,2270,1861,1989,2140,2454,2630,2082,1625,1979,2642,2506,2235,2150,2666,3515,3311,3694,3850,3641,3297,3465,3648,3530,3688,3418,2886,2912,2799,2809,2807,3185,3225,3077,3043,2713,2415,2394,2468,2554,2485,2801,2961,3144,3676,4113,3707,3572,3549,3554,3277,2957,3391,3996,4034,3883,3697,2985,2751,2685,2792,2853,3231,3222,3210,3230,3168,3164,2968,3079,3310,3185,2491,2546,2762,2785,2777,2948,2972,1848,1388,2062,2107,1873,2360,3228,3068,2690,2538,2273,2036,1803,2043,2576,2808,2978,2899,2276,1932,2602,2619,2943,2231,2254,2176,1936,1977,2769,3452,3503,3393,3320,2979,2535,2450,2956,3519,3407,3043,3130,3129,2724,2663,2809,3058,3328,3363,2864,2875,3061,3045,3286,3243,3398,3097,2673,2461,2360,2312,2901,3676,3665,2562,1903,1626,1682,2247,3295,2625,1699,1939,2690,3225,3570,2987,2086,1880,2419,2927,3372,3222,3276,3183,3211,3062,2996,3023,2894,2827,3399,3397,3104,2714,2232,1912,1805,2269,2258,1874,1753,1915,2122,2546,2952,3069,2282,1699,2232,2964,2956,2878,3178,3375,3372,3237,3350,3134,2669,2194,2045,2670,2453,2592,2386,2341,2994,3355,2967,2308,1781,1603,1759,2802,2596,1714,1529,1705,1491,1684,2944,3850,3098,2029,1749,1550,1562,2180,2084,1710,2308,2286,2177,2307,2420,2469,2052,1870,1761,1806,2392,1925,1452,1390,1600,1718,1518,1723,1710,1585,1517,1953,2562,2501,2575,2864,3371,4124,4058,3850,4042,3617,3299,3186,3072,3013,2718,2091,1952,1955,2186,2313,2490,2320,2391,2645,2681,2381,2138,3030,3954,3978,2785,1655,1911,2150,2257,2137,2082,1850,2107,2030,1841,2047,1865,1705,1723,1556,1730,1934,1616,1699,1924,2195,2127,2221,2275,2554,2515,2179,1798,1602,1840,1875,1780,1513,1565,1512,2415,2986,2897,2690,2196,1976,2354,2707,2450,2378,2744,2215,2230,2175,2425,2405,2511,2779,2632,2599,3009,3064,2692,2090,1880,1930,1884,1615,1778,1962,2366,2709,2899,2898,2540,2252,2274,2670,2920,2510,2520,2382,1958,2148,1978,1694,1594,2107,3262,3306,2928,2626,1887,1967,2068,2447,2244,2017,1968,1818,2018,2185,2054,1911,2220,3088,2556,2611,3094,3141,3339,3450,3369,3246,3200,3168,3116,2939,2862,3002,2871,2808,2468,2534,2974,2698,2500,2510,2125,1978,2258,2786,3183,3240,2754,2514,2832,2260,1766,1614,1756,1709,1685,1587,1466,1386,1447,1431,1506,2011,2469,2340,2382,2448,2370,2105,1853,2406,3392,2788,2216,2371,2011,2138,1981,1808,1867,1941,2487,3232,3530,3162,2540,2442,2410,2410,2307,2126,1820,1484,1456,1507,1456,1658,1930,2013,1964,1908,2036,1994,1835,1889,2049,1994,1988,1857,1932,3030,2940,1772,1964,2161,1678,1389,1368,1290,1352,1360,1364,1288,1351,1398,1433,1406,1436,1575,1680,2278,2208,1892,1955,2057,2332,2336,1686,1293,1343,1458,1453,1211,1198,1169,1175,1197,1283,1290,1248,1248,1170,1298,1412,1315,1344,1460,1504,1321,1512,1504,1236,1155,1173,1146,1217,1304,1462,1554,1492,1530,1528,1573,1349,1361,1840,1825,1583,1575,1520,1590,1494,1648,2190,1944,1501,1626,1544,1417,1499,1548,1412,1645,1776,1742,1642,1467,2024,2142,2176,2024,1886,1709,1759,2063,1954,2128,1860,1410,1660,1707,1616,1840,1419,1703,1974,1847,1960,1877,1674,1674,1688,1926,2084,1995,2204,2138,1743,1700,1428,1431,1877,1792,1613,2333,2592,2398,2258,1995,1915,1948,1722,1709,1886,2296,2404,2866,3518,3825,2852,1491,1184,1504,2110,1979,2266,1830,1580,2401,3352,3037,2669,3154,3511,2846,2542,2608,2170,2005,1786,1887,1938,2421,2142,2263,2328,1929,2097,2379,2191,2188,2464,2453,2493,2286,2010,2744,2744,2329,2428,2737,3086,2878,2337,2748,3127,3082,2534,2285,2100,1967,2831,3408,3041,2321,2035,2384,2971,2951,2610,1961,2271,1946,1686,1494,1748,2150,2619,2319,2159,2744,2789,2655,2250,2564,2668,2293,2354,2844,2447,2094,1950,2431,2880,3279,3226,2647,2214,2122,1857,1925,2161,2217,2082,2482,2082,1987,1926,1780,1848,1708,1837,2319,2466,2548,2386,2789,2798,2845,2436,2944,2566,2236,2539,2322,1804,1873,2268,2811,2986,2603,2242,2135,2263,1786,1838,2209,2168,2230,2364,2425,2527,3349,3233,2585,2193,2275,2288,2128,2128,2536,2690,2112,2640,3661,2858,2734,3164,2245,2088,2427,3414,4419,4695,4772,4771,4328,3405,2805,2646,3018,3948,4276,4440,4476,4200,3739,3054,2628,2755,2896,2910,2657,2365,3129,4224,4597,4644,4707,4141,3205,3217,3928,4544,4679,4519,3861,2980,3225,3714,3768,4100,4046,3089,2266,2247,2337,2358,1930,1728,1929,1543,1963,2486,2428,1829,1989,2244,2617,3090,2163,1354,1615,1774,1789,1844,1971,1826,2480,2630,2291,1811,1838,1863,1705,1484,1922,2471,2326,1959,1832,1667,1825,1654,2012,1975,1869,1946,2014,1888,1611,1555,1357,1313,1245,1208,1191,1384,1401,1348,1472,1608,1743,1776,1412,1533,1684,1490,1736,1974,1752,1699,1576,1122,1198,1202,1373,1368,1322,1476,1021,1270,2613,2398,1778,1510,2004,2877,2992,2764,2480,1790,1591,1822,2601,3176,3254,2743,2711,3124,3309,3038,2785,2875,2436,1380,778,844,1456,1498,1299,885,906,1476,1896,1953,1397,1141,1621,2447,2716,2988,3422,3067,3031,3506,3261,3412,3104,2604,2253,2186,2156,2644,3441,3508,3039,2762,2338,1903,1640,2170,2385,2378,2653,2010,1691,2238,3124,3571,3658,3587,3293,3028,2604,2474,3053,3328,3123,3486,4051,4028,3174,2090,1670,1587,1799,1715,1643,1704,1857,1722,1550,1480,1655,1726,1695,1756,1965,2098,1846,1680,1765,1562,1537,1670,1707,1578,1399,1621,1960,2032,1816,1523,1449,1852,1844,1786,2169,2336,2332,2391,1990,1490,1619,1682,1641,1788,1801,1819,2040,1902,2562,2742,3076,2596,1859,2122,2518,2375,2287,2754,2420,2288,1991,2174,3065,2386,1841,1846,1850,1765,1692,2148,2354,2270,2243,2277,2912,2526,2929,2424,2250,2510,2675,2630,2614,2590,2489,2931,3054,2746,2461,2585,2552,2647,2629,2644,2495,2439,2544,2292,1892,1844,1848,1932,1627,1631,1566,1589,1679,1800,2030,2194,2079,1781,1604,1648,1600,1814,1938,1622,1732,1842,2042,2340,2384,2149,2100,2203,1974,2014,2326,2371,1902,1474,1804,2002,1519,1446,1513,1533,1651,2010,2000,1870,2333,1358,1371,2302,2204,2136,1977,1765,1624,1622,1521,1460,1573,1521,1603,1574,1681,1619,1740,1604,1567,1453,1320,1874,1990,1692,1874,1848,1590,1432,1449,1318,1382,1561,1413,1477,1485,1447,1490,1359,1250,1378,1506,1542,1558,1652,1685,1598,1570,1776,2067,2026,1686,1559,1593,1594,1644,1545,1623,1594,1496,1418,1850,2321,2624,2597,2378,2837,2466,1824,1788,2026,2192,1774,2186,2031,2452,2886,2237,2027,2003,1694,1848,2446,2486,1799,1576,1575,1598,1550,1844,2160,1975,1606,1699,1828,1819,2158,1954,1879,1812,1496,1643,1765,1762,1619,2017,2690,2670,2304,2502,3094,2818,2406,2317,2476,2360,2846,3274,3787,3985,2842,1970,2081,2400,2410,2288,1820,1553,2042,2332,2054,2235,2253,2041,2605,2696,2233,2291,2293,2179,1996,2122,2372,2523,2684,2873,2263,1695,1756,1985,2438,3013,2654,2573,3774,4353,4257,4050,3746,3444,3430,3278,2610,2451,2645,2807,2876,2977,3376,4042,3886,3141,2797,2513,1843,2238,2891,2678,2842,2721,2953,3714,3963,3935,3217,2519,2886,2985,2834,3146,3308,2984,2482,2625,2869,2586,2322,2198,1990,1762,1784,2103,2355,2568,2680,2424,2375,2017,1886,2183,2386,1962,2336,2357,2157,2176,2072,2143,2519,2932,2944,2589,2012,1941,2122,2439,2620,2692,2458,2023,2062,1667,1166,1584,1954,2367,1870,1985,2078,2249,2076,1847,1802,1671,1798,2046,1949,1747,1682,1609,1469,1968,1951,1952,1786,1708,1682,1609,1850,1962,1692,1737,2091,1852,1465,1616,2408,2153,1854,1866,1729,2061,2460,2138,1617,1488,1704,1700,1876,1803,1606,1492,1318,1547,1853,2308,2802,2453,2157,1998,2194,2084,2186,2094,2422,1892,1555,1620,2201,2587,2887,3404,3210,2544,2829,3539,3430,3372,2921,3255,3479,3106,2303,1709,1750,1468,1368,1774,2087,2383,2510,2001,1737,2337,3230,3773,3130,2676,2380,2060,2272,2568,2809,2535,2588,2469,2773,2753,2322,2182,2448,2447,2674,3094,2759,2286,2239,2198,2146,2272,2194,2529,2297,2096,2308,2155,1740,1743,2096,2208,1795,1914,1833,1515,1476,1418,1518,1725,1669,1563,1644,1731,1713,1610,1850,1844,1858,1816,1960,2459,2381,2866,3045,2732,2540,2485,3086,3651,3442,2943,2823,2586,2643,2383,2042,2110,1901,1764,1748,1753,1795,1821,1655,1776,1824,2364,2464,2203,2242,1957,2216,2533,2276,2350,2131,2404,2475,2729,2750,2702,2834,2727,2423,2149,2128,2299,2412,2514,2529,2743,2962,2418,2375,2812,3095,3198,2953,2962,3421,3326,3075,2932,2670,2415,2209,3100,3310,2938,2508,2592,2021,1645,1601,1823,2110,1954,2132,2178,1942],[1768,1895,2160,2222,2244,2342,2359,2221,2230,1875,1790,1849,2215,2660,2348,2056,3071,3355,3382,3285,3582,3780,3736,3771,3904,3969,4248,4239,3961,3565,3695,3127,3255,3438,3861,4073,4165,4015,3638,3087,2774,2664,2775,2788,2364,3489,4000,3574,2524,2661,2754,2498,3099,3694,3263,2666,2645,2690,3110,2590,2070,2031,2686,2852,2313,2197,2270,2071,2775,2834,2081,2476,1998,1766,2482,3318,3575,2835,2339,2280,2018,1899,2303,2954,3021,3096,2909,2413,2370,2577,2018,1921,2488,2713,2845,2644,2319,2875,3492,3510,3718,3260,3074,3533,3681,3608,3279,2483,2356,2880,3216,3203,3422,3508,3406,3430,2776,2445,2733,2839,2830,3023,3104,2975,2632,2341,2528,2818,3241,3124,2567,2371,2285,2220,2475,2585,2200,1869,2027,1938,1981,2476,2815,2010,1631,1521,1734,1955,1774,1757,2320,2801,2858,3039,2280,2036,3530,3872,4149,3926,3816,3581,3316,3051,2916,3254,3135,2746,3061,3289,3007,2986,3817,3454,3009,3087,3019,2688,2586,2664,2475,2130,2104,2390,2774,2975,3396,2910,2553,2374,2909,3331,3270,3869,4197,4124,4071,3707,2495,2576,2922,2990,2508,2871,2954,3027,3097,2963,2723,2573,2819,2716,2544,2363,2846,2645,2556,2214,2769,2777,1638,1560,2196,2001,2012,2335,3153,3593,3175,2861,2237,1646,1518,2368,3175,3493,3627,2747,2443,2555,2865,2567,2901,2820,3001,2612,2279,2507,2753,3077,3385,3475,3073,2668,2535,2491,2953,3522,3439,2974,3210,3559,3497,3089,3060,3362,3407,3225,3106,3072,3153,2980,2818,2456,3083,3297,2353,2293,2591,2920,3267,3903,4177,2472,1782,1634,1671,1975,2501,2338,1974,2453,2912,3112,3094,2242,1843,2466,2552,2434,2819,3099,3177,2875,2480,2362,3111,3450,3582,3089,3423,2967,2575,2584,2060,1587,1444,1507,1706,1980,2220,1874,1710,2268,2640,2257,1644,2097,3121,3287,2942,2903,2705,2688,3099,3680,3494,3046,2485,1714,1968,2202,2267,2050,1448,1063,1788,2705,2955,2870,2124,1892,1797,2099,1808,1723,1718,1632,1427,1726,2601,2951,2513,2109,1812,1626,1842,2141,2177,1597,1763,2000,1958,2541,3294,2733,1772,1929,1867,1714,2190,1613,1433,1432,1393,1447,1481,1494,1534,1560,1529,1716,2063,2063,2055,2350,3088,3514,3711,3823,3694,3340,3022,2539,2150,2500,2901,2492,2232,2144,2198,2260,2228,1834,2019,2824,3370,3176,2800,3629,4379,3842,2469,1727,2411,2809,2496,2627,2349,2136,2447,1935,1636,1553,1802,2235,2253,1846,1676,1659,1466,1530,1767,2071,2244,2031,1726,2022,2418,2389,1866,1918,2234,2131,1747,1654,1683,2196,2719,2647,2919,2324,1907,2354,2717,2917,2699,2372,2486,2353,2416,2502,2454,2127,2148,2375,2612,2771,2932,2334,1975,2027,2141,2362,2132,1957,2250,2504,2523,2778,2886,3013,2872,2971,2977,2957,2587,2309,2386,2154,2036,2466,2709,2402,1819,2055,3463,3444,2195,1819,1763,1858,1969,1905,1730,1768,1621,1711,2242,2373,2762,2762,2380,3279,3130,3002,3104,3351,3603,3747,3663,3320,3226,3218,3166,3089,3051,2999,2875,2749,2654,2753,3054,2820,2404,1943,1975,2413,2409,2689,3019,3151,3077,2537,2570,2721,2394,1866,1782,1742,1571,1525,1478,1456,1498,1656,1755,1889,2229,2518,2609,2320,2078,2181,2149,2134,2993,2315,2270,2233,1926,1830,1875,2221,2562,2415,2659,2910,2588,2135,2127,2393,2113,1892,1811,1679,1570,1639,1687,1557,1616,1923,2028,1969,1945,1902,1922,1959,2133,2144,2118,2012,1737,1452,1460,1821,1802,1548,1664,1622,1460,1299,1285,1299,1329,1346,1387,1351,1323,1345,1339,1431,1486,1710,1751,2107,1958,1974,2123,2094,2281,2315,1848,1310,1505,1559,1488,1255,1206,1113,1109,1223,1300,1290,1288,1310,1219,1269,1315,1306,1338,1361,1400,1194,1426,1479,1322,1187,1085,1194,1328,1265,1309,1379,1307,1453,1571,1593,1464,1506,2179,2146,1618,1495,1317,1363,1631,1889,2225,1909,1490,1499,1479,1401,1383,1449,1371,1440,1733,1782,1653,1701,2019,1939,2056,1970,1746,1569,1732,1898,1918,1664,1407,1642,1910,1729,2028,1939,1760,1792,1841,1686,1925,1787,1527,1541,1426,1639,2067,2162,2132,1756,1542,1748,1227,1315,2562,2792,2358,2409,2155,2012,1815,1820,1887,1738,1677,2107,2644,3022,2977,3428,3853,3088,2105,1741,1996,2580,2580,2645,2411,1715,1959,2654,2931,2873,2270,2197,2766,2794,2475,2596,2133,2500,1919,2138,2639,2836,2440,2176,2528,2731,2678,2697,2675,2456,2218,2154,2201,2357,2588,2667,2141,1778,2366,3220,3505,3898,3327,2665,3048,3851,3020,2270,1967,2042,2408,2765,3016,3015,2588,2745,2900,2309,1832,1713,1999,1922,1987,2137,2095,1841,1767,1897,2214,2722,3012,2629,1930,2100,2223,2203,2921,3331,2967,2669,2829,2529,2297,2775,2883,2621,2341,2462,2125,2102,1837,1761,2074,2136,2152,2221,2261,2295,2089,2131,2354,2580,2319,2147,1835,2329,2640,2517,2111,2268,2231,2146,2547,2521,2172,2546,2894,3271,3235,2587,2585,2571,2201,2041,2391,2460,1849,1652,2530,2603,2408,3051,2856,2310,2304,2641,2338,1859,2170,2640,2459,2036,2520,2886,2525,2408,2149,1985,2446,2967,3529,4132,4628,4727,4820,4648,4259,3706,3024,2746,3184,3976,4300,4416,4332,4132,3573,2974,2749,2900,2707,2586,2685,3426,4116,4501,4704,4773,4332,3574,2821,2874,3830,4512,4665,4288,3444,3060,3015,3225,3942,4276,3034,2156,2138,2150,2332,1958,1624,1862,1822,1588,2242,1895,1701,1847,2084,2099,2036,1713,1426,1802,2023,2031,2007,1910,1854,2430,2268,2242,2455,2533,2216,1922,1864,2440,2935,2885,2390,2274,1594,1440,1340,1709,1626,1593,1871,1988,1788,1558,1644,1579,1448,1383,1461,1610,1591,1602,1813,2282,2456,2199,2015,1776,1957,1497,1590,1838,2014,1827,1882,1581,1131,1145,1311,1393,1351,1451,1260,832,2318,3322,2446,1687,2424,3481,3692,3077,2685,2083,1591,1851,2458,3020,3098,3128,2700,2853,3058,2996,2943,2557,1740,1019,824,914,1327,1821,1548,1361,1196,1469,1848,1854,1437,1081,1584,2569,3054,2828,3105,3509,3067,3019,3010,2813,3177,3161,2774,2715,2513,2254,2439,2499,2143,1896,2286,2109,2043,1768,2398,2525,2695,2551,1663,1720,2509,2898,3206,3384,3494,3266,3261,2846,2220,2151,2768,3278,3877,4190,4075,3061,2049,1741,1598,1719,1621,1672,1952,2046,2024,1734,1605,1780,1904,1794,1786,1663,2136,1845,1671,1659,1628,1601,1653,1668,1510,1434,1597,1977,1831,1786,1826,1719,1787,1667,1627,1666,1986,2140,2091,2048,1484,1538,1802,1773,1654,1678,1749,1808,1745,2449,2783,3033,2777,2039,2130,2302,2439,2178,2664,2343,1923,1531,1689,2469,2573,2412,2202,1880,1328,1314,1936,2257,2273,2114,1918,2358,2812,2907,2159,1808,2293,2676,2647,2387,2471,2072,2316,2483,2029,2118,2554,2441,2282,2230,2293,2207,2090,2015,1722,1579,1501,2064,1945,1373,1587,1958,1786,1741,2246,2530,2100,1615,1431,1459,1656,1464,1669,1830,1881,1867,1824,1801,2147,2116,1816,1922,1917,1655,1882,2216,2111,1743,1747,1970,1705,1464,1438,1548,1819,1808,1639,2135,2337,2460,1931,1968,2009,1988,2091,1994,1638,1416,1405,1383,1449,1931,1735,1825,1914,1704,1377,1329,1371,1378,1398,1440,1560,1572,1474,1508,1520,1492,1494,1556,1423,1338,1372,1365,1325,1347,1418,1447,1348,1371,1539,1533,1587,1355,1456,1724,1587,1555,1946,2089,1751,1564,1705,1670,1638,1561,1450,1965,1810,1480,1593,2056,2153,2422,2600,2365,2380,2030,2232,2458,2531,1967,1707,2085,1947,2120,1877,1296,1601,1768,1744,2128,2438,2250,1716,1612,1641,1714,1897,1864,1724,1753,2087,1861,2013,2266,2438,2250,2070,1951,1759,1713,2009,2203,1937,1913,2512,2887,2600,2356,2409,2012,1778,2264,2924,2889,3187,3187,2587,3077,2429,2147,2036,2233,3056,2986,2825,2361,2070,1935,1942,2244,2337,2077,2474,2447,2350,2448,2381,2361,2246,2543,2762,2462,2314,2511,2153,2075,2186,2148,2403,2548,2184,1968,3082,3887,3847,3188,2711,3063,3693,3795,2975,2428,2820,3121,2633,2619,3361,3618,2951,2637,2633,2255,1267,1623,1941,2404,2418,1661,1856,2963,3459,3366,2815,2711,3283,2729,2744,2789,3034,2756,2434,2721,2553,2422,2566,2379,2155,1818,1704,2054,2114,2500,2807,2896,2490,1765,1934,2302,2069,1648,1615,1640,1979,2387,2353,2459,2383,2386,2331,2192,1821,1762,2242,2567,2421,2547,2172,2197,2335,1914,1386,1527,2025,2610,2470,2298,2098,1995,2172,2104,1732,1671,2076,2253,2165,1897,1977,1828,1557,1736,1685,1826,2057,1994,1865,1971,2264,2099,1919,1671,1968,2050,1622,1568,2001,1925,1967,1977,1485,1710,2188,2002,1709,1639,1803,1665,1576,1597,1614,1557,1554,1613,1828,2097,2037,1924,2329,2008,2101,2042,2082,1921,2008,1751,1681,2233,2835,2650,2758,3322,3661,2717,3059,3789,3892,3419,2961,3306,3421,3022,2379,1919,1944,1469,1624,1961,2154,1984,1732,1691,1625,1615,2547,3482,3060,2424,2357,2472,2556,2712,2708,2191,2070,2098,2504,2476,1909,1637,1964,2172,2584,2643,2423,2267,2127,2130,2104,2328,2511,2525,2112,1618,1807,2107,1994,1852,1808,1849,1803,1877,1627,1591,1601,1502,1643,1853,1838,1692,1532,1665,1640,1479,1568,1601,1853,1924,1918,2415,2797,2858,3018,3132,2831,2414,2665,3309,3353,2576,2840,2824,2824,2619,2094,1742,1813,1784,1770,1686,1582,1947,2256,1970,1848,2371,2219,2068,2484,2644,2874,2995,2428,2281,2294,2597,2348,2493,2922,2991,3107,3060,2654,2087,2040,2452,2508,2218,2242,2292,2576,2596,2399,2645,3053,3206,3030,3042,3270,3270,3499,3299,2325,2213,2065,2757,3094,2386,1869,2027,1885,1597,1584,1760,1998,1913,2194,1899,2085],[2134,2180,2244,2172,1983,1901,1744,1747,1856,1684,1663,1520,1987,2347,1796,2078,2640,3009,3736,4005,3938,3949,4164,4116,4071,4188,4140,4188,3986,3913,3763,3407,3386,3354,3300,3518,4221,4777,4372,3215,2898,2888,2707,2294,2389,2881,3053,2844,2665,2972,3035,3083,3335,3686,3278,2686,2630,2590,3190,2753,2372,2627,2664,2221,1958,2712,2902,2156,1992,2155,2298,2309,2194,2476,2765,3383,3804,2885,2043,2241,2155,1891,1679,1723,2139,2774,3440,3189,2800,2510,2152,2236,2509,2502,2667,2612,2585,2984,3452,3607,3762,3776,3650,3717,3484,2945,2487,2406,2193,2246,3082,3196,3090,3251,3763,3572,2839,2653,2806,2598,3063,3716,3433,3221,3058,2729,2518,2832,3100,2499,2340,2473,2414,2388,2194,2082,2187,2050,2010,1953,1932,2462,2342,1783,1631,1649,1769,2110,2184,2031,2191,2546,2592,3415,2967,2516,3324,3662,3831,3890,4030,3880,3577,3449,3046,2964,3310,3328,3319,3523,3262,3518,3863,3272,3165,3483,3321,3105,3153,3277,2833,2696,2398,3043,2962,2561,2610,2414,2513,2807,3682,4212,4062,4329,4300,4093,4070,3714,2934,2894,3098,3090,2656,2450,2509,2790,2953,3074,2994,3661,2938,2386,2085,2376,2563,2182,2157,2132,2182,1958,1493,1504,1790,1757,1971,2246,2814,3184,2706,2216,1878,1990,2546,2853,2214,2502,2887,2429,2352,2378,2654,2583,2707,2628,2710,2864,2894,3028,3084,3485,3145,3165,2823,2687,2620,2282,2489,3193,3130,2783,3121,3593,3814,3686,3348,3023,3322,3208,3009,3070,3271,2861,2400,2479,3414,3428,2201,2226,2240,2486,2746,3574,3334,2272,1827,1777,2057,2277,2516,3016,2558,2761,3044,2919,2652,2631,2608,2589,2148,2142,2379,2521,2766,2788,2380,2355,3074,3204,3544,2840,2964,3123,3039,2732,2160,1734,1525,1714,1892,1964,2048,2117,2240,2390,2320,2421,2301,2600,2922,2498,2598,2836,2465,2058,2924,3657,2885,3122,2734,2225,2933,2787,2061,2155,1926,1268,1772,2686,3149,3041,2363,2117,1928,1893,1641,1589,1696,1643,1554,1680,1964,1988,2039,2037,1915,1766,1787,2207,2133,1670,1573,1697,2013,2540,2746,2464,2014,2012,2179,2385,1859,1610,1845,1618,1338,1319,1392,1623,1823,1496,1513,1897,1696,1713,2398,2843,2756,3050,3325,3384,3474,3420,3384,2971,2281,2326,2559,1970,1770,1809,1698,1925,1942,1620,2033,2192,2581,3002,2856,3880,3828,3056,2208,2041,2649,2640,2312,3062,3323,2730,2597,2144,2030,2055,2159,2854,3327,2579,2070,1742,1427,1466,1680,2123,2540,2664,2537,2403,2648,3175,2562,2018,2100,2054,1920,1841,1891,2282,2581,2834,3200,2327,1988,2490,2815,2833,2710,2417,2258,2535,2734,2667,2577,2337,2408,2070,2245,2331,2240,2287,2768,2916,2720,3185,3844,3364,3072,2664,2401,2734,2785,2973,3002,3187,3247,3341,2987,2878,2717,2120,1978,2378,2652,2263,2188,2808,3526,3104,2183,1853,1884,2095,2058,1727,1895,2514,2321,2103,2522,2526,2834,2662,2302,2924,3261,3303,3310,3407,3501,3473,3488,3542,3365,3348,3353,3227,3097,3055,2960,2754,2810,3196,3296,2773,2245,1899,2464,2850,2657,2466,2656,2796,3068,2875,2448,2543,2671,2061,1560,1972,2788,2035,1699,1661,1982,2174,1864,1726,2005,2342,2238,2061,2021,2475,3241,2917,3256,2711,2283,1973,1899,2105,2424,2580,2310,1981,2131,2291,2242,2162,2138,1924,1613,1657,1562,1471,1859,2104,1983,1632,1760,1942,2036,1901,1875,1997,2144,2310,2381,2242,1796,1360,1323,1303,1272,1304,1432,1408,1399,1715,1361,1354,1565,1503,1458,1522,1427,1375,1404,1474,1335,1339,1376,1419,1451,1813,1891,2093,2288,2202,2284,2446,1910,1326,1437,1548,1344,1251,1243,1150,1109,1233,1304,1297,1301,1542,1401,1296,1220,1278,1218,1414,1434,1365,1437,1500,1428,1222,1119,1232,1542,1565,1288,1281,1344,1450,1468,1585,1564,1412,1902,2025,1520,1418,1355,1338,1508,1714,1952,1928,1740,1656,1473,1271,1278,1375,1265,1272,1627,1709,1635,1737,1510,1631,1741,1831,1688,1611,1866,2157,2066,1583,1767,1676,2044,1932,2029,2149,2374,2220,1574,1594,2120,1876,1521,1326,1343,1665,1688,1867,1920,1688,1620,1576,1499,2317,3271,3109,2410,2007,1732,1732,1672,1648,1476,1856,2312,2590,2656,2587,2330,2488,2764,2353,2171,2366,2512,2407,2534,2455,1540,1256,1986,2457,2688,3020,2864,2352,2477,3405,2884,2569,2336,2375,1910,2558,3448,3348,2730,2370,3029,3194,3052,3088,3080,3170,2941,2484,2920,3135,2730,2408,1748,1294,2030,2625,2899,3303,3332,2899,3509,4029,2996,2726,2863,2437,2136,2397,3219,3427,2810,2857,2312,2110,1478,1513,2010,1885,2161,2742,2810,2313,1856,1952,1979,2103,2880,3428,2509,1625,1700,2374,2757,2986,3134,2872,2762,2484,2392,2535,2592,2420,2031,2169,2215,1966,1748,1957,2171,2116,1845,2353,2699,1971,1810,2731,2580,2505,2040,1697,1626,1620,2052,2107,1909,2035,2640,2542,2709,3196,2604,2140,2622,2718,2438,2125,2613,2709,1965,2315,2791,2823,2671,2531,3272,3150,2680,2575,2319,2148,2077,1986,1745,1924,2398,2526,2568,2568,2526,2557,2584,2509,2392,2508,2923,3120,2792,3200,4364,4636,4768,4753,4616,3937,2722,2332,2652,3426,4017,4195,4266,4183,4070,3716,2769,2713,2693,2687,2902,3320,3748,4324,4627,4732,4652,4140,3077,2363,2698,4169,4689,4563,3936,3260,2381,2365,3471,4140,3614,2944,2490,2600,2500,2072,1958,1749,2038,1588,2015,1943,1489,1538,1758,1745,1801,1651,1332,1540,1879,2132,2012,1780,2264,2491,1701,1731,2557,2491,2126,1969,1976,2284,2448,2331,1780,1428,1076,826,1234,1657,1240,1062,1492,1886,1977,1765,1599,1704,1758,1770,2080,2224,1970,1983,2109,2431,2696,2101,1731,1986,1570,1374,1529,1547,1642,1590,1530,1468,1467,1281,1444,1459,1500,1587,957,1481,3332,3597,2370,2122,2856,3213,3442,2880,2392,1718,1870,2311,2814,2987,2835,2715,2852,2945,2944,3050,2787,1763,789,767,983,1066,1278,1344,1170,1275,1663,1762,1419,1321,1580,2097,2614,3350,3402,2927,2820,2930,2865,3065,2902,2386,2280,2099,2414,2889,2480,2210,2046,1786,1960,2171,2430,2380,2548,2311,2201,2200,2505,2501,2111,2301,3159,2874,2762,2639,2465,2574,2996,2975,2308,2061,2008,2585,3530,3951,3694,3071,2562,2064,1679,1584,1576,1791,1841,1981,2249,2050,1838,1854,1750,1650,1957,1893,1951,1665,1773,1831,1664,1507,1531,1654,1489,1551,1776,1859,1852,1936,1952,1920,1814,1754,1864,1887,1847,2096,1947,2020,1443,1743,2425,1940,1479,1697,1803,1620,1693,2272,2754,2899,2896,2612,2796,2082,2214,2091,2596,2232,1621,1603,1705,1730,1745,1866,2030,1743,1434,1542,1957,1916,2358,2531,2420,2678,2780,2556,2339,2308,2463,2553,2479,2550,2257,1792,1866,2197,2129,2115,2364,2250,1958,1907,1832,1776,1816,1700,1350,1434,1360,2002,2099,1641,1676,1708,1512,1756,2266,2392,1918,1551,1468,1557,1470,1586,2068,2060,1868,2156,2283,1908,2445,2281,1907,1581,1346,1366,1507,1469,1709,1774,1652,1744,1772,1854,1861,1791,2099,2171,1771,2256,2212,1970,1713,1847,2163,2231,2080,1892,1808,1665,1617,1480,1627,1855,1791,1834,1788,1601,1440,1408,1513,1427,1341,1376,1428,1392,1442,1576,1557,1521,1792,1734,1507,1340,1355,1446,1356,1316,1428,1370,1296,1286,1389,1369,1614,1542,1435,1540,1429,1635,2095,2126,1786,1730,1954,1717,1715,1598,1582,1650,1624,1755,1985,1938,2286,2332,2286,2361,2094,1779,2132,2766,2229,1493,1570,1528,1584,1847,1493,1697,1888,1800,1745,2215,2008,1767,1670,1740,1830,1918,2070,1864,1864,2110,2161,2037,2420,2589,2073,2053,2389,2524,2084,1613,2208,2500,2200,1895,2357,2352,2406,2225,2093,2029,2205,2707,3506,3927,3277,3188,2387,2226,2327,2451,2152,2407,3244,3670,3444,2761,2476,2174,2168,2219,2443,1880,2066,2370,2586,2614,2664,2925,2730,2087,1975,2770,2533,2584,2456,2666,2293,2031,2300,3078,2597,1907,2549,3152,3064,2204,1968,2764,3630,3687,3122,2477,2745,2858,2608,2533,2746,2764,2606,2296,2275,2545,1585,1355,1763,2731,2900,1973,1704,2601,3014,2649,2462,2574,2875,2687,3506,3437,3153,2336,1997,2298,2376,2611,2810,2552,2162,1825,1853,2662,2450,2610,2962,2923,2512,1952,2012,2190,1966,1596,1392,1512,2260,2635,2661,2381,2123,2117,2257,2221,2155,2115,2325,2574,2338,2114,2291,2435,2566,2326,2011,1974,2171,2413,2588,2358,1843,1993,2322,2328,2017,2024,1915,2229,2266,1999,2055,1872,1534,1492,1507,1563,1875,1995,1976,2187,2388,1832,1758,1866,1924,2219,2220,1982,2294,2605,2671,2365,1610,1519,1685,1711,1700,1645,1622,1552,1633,1734,1659,1749,2068,1825,1949,2192,2012,1997,2322,2193,2101,2026,2036,2092,2147,2409,2534,2781,3062,2630,2384,3220,3751,3352,3347,3406,3264,3007,3088,3419,3482,3190,2618,2334,2332,1766,1850,2265,2154,1649,1538,1600,1665,1910,2743,3552,3363,2700,2953,2908,2664,2672,3035,2439,1816,1929,2092,1994,1854,1859,1930,1708,1646,1902,2353,2261,2092,1988,1688,1995,2624,2924,2621,1843,2115,2456,2050,1659,1572,1698,1850,1925,1811,1932,1758,1602,1549,1550,1696,1661,1552,1578,1542,1691,1880,1896,2028,2602,2911,2819,3044,2930,3008,2766,2569,2460,2578,2555,2620,2650,2920,3100,3084,3110,2686,1743,1831,1612,1698,1884,1622,2198,2322,1882,1879,2167,2060,1846,2365,2652,2665,2663,2429,2204,2360,2092,2286,2533,2619,2710,3054,3145,2797,2154,2288,2930,2969,2513,2273,2104,2250,2415,2270,2291,2464,2596,2709,2714,2767,3035,3309,2789,2285,2355,2070,2318,2666,2407,2148,2313,2041,1359,1241,1567,1926,1989,2062,1844,1846],[1566,1593,1766,1918,1861,1792,1982,1976,1928,1982,2004,1919,2285,2173,1682,2121,2474,3017,3895,4043,4027,4059,4133,3760,3904,4148,4228,4608,4559,4443,4100,3538,3343,3539,3337,3239,4267,4940,4777,3970,3206,3088,2742,2242,2490,2554,2515,2586,3068,3662,3551,3519,3676,3829,3321,2903,2653,2563,3305,3516,3023,2802,2384,1901,2422,2966,2244,1842,1948,1982,2122,2421,2576,2476,2496,2822,2901,2495,2077,2387,2381,2151,1714,1561,1691,2657,3459,3238,2664,2137,2367,2931,3152,2584,2349,2475,2534,3107,3473,2979,2844,3383,3510,3738,3631,2787,2074,1925,1843,1692,2171,2740,2475,2143,2116,2396,2351,2342,2449,3124,3665,3743,3002,2592,2302,2511,3112,2977,2382,2235,2191,2241,2541,2712,2188,2125,2330,2502,2681,2541,2381,2657,2304,1826,2122,2325,2194,3091,3179,2455,2156,3085,3018,3619,3166,3052,3566,3518,3483,3589,3761,3782,3887,3881,2950,2927,3586,3738,3534,3483,3416,3407,3031,2802,3056,3052,3130,3635,3702,3848,3445,3377,3316,3437,3365,3150,2933,2727,3543,4400,4464,4247,4420,4345,4386,4244,4216,4333,4004,3861,3781,3509,3116,2839,3207,3341,3220,2915,3028,3805,3485,2404,1884,2298,2192,2104,2438,2072,1907,1803,1864,1978,1774,1499,1651,2441,2876,2416,2038,1988,2221,2620,2690,2639,1896,2067,2607,2519,2521,2745,3139,3140,3135,2813,2531,2705,3078,3060,2887,3431,2857,2912,2910,2761,2504,2352,2592,2758,2620,2630,3255,3688,3385,3488,3702,3163,2851,2956,3184,3489,3414,2829,2610,2586,2884,2875,2105,1961,2182,2520,2722,3033,2576,2331,2030,1684,1930,2273,2373,2900,2667,2928,3165,2215,1706,2722,2764,2002,2320,2620,2259,1900,2508,2481,2172,2473,2665,2897,2989,2436,2647,2896,2808,2764,2232,1904,1891,2442,2383,2000,2011,2637,3171,3266,2584,2035,2264,2789,2473,1741,2109,2784,2813,2591,3188,3088,2029,2534,3178,2836,2955,3366,2632,2363,1852,1997,3002,3189,2880,2844,3271,2857,2098,1866,1866,1799,1746,1796,1839,1508,1621,1610,1953,2062,1853,1923,1947,2191,1992,1467,1613,1944,2159,2334,2578,2580,2420,2552,2774,2731,2283,2593,2685,2237,1817,1496,1457,1570,1490,1495,1990,2044,1483,1432,2359,2844,3064,3649,3727,3406,3044,2611,2342,1938,1886,2385,2803,2084,2041,1854,1495,1840,1905,2121,2720,2175,2699,2655,2438,2957,2933,2783,2296,2477,2761,2206,2284,3419,3631,2717,2233,2241,2398,2176,2078,3206,3496,2464,1949,1808,1533,1553,1749,2119,2425,2813,2886,2554,2055,2754,2690,2265,2411,2447,2121,2099,2054,1956,2206,2481,2519,2353,2021,2060,2596,2811,2688,2644,2442,2332,2524,2574,2691,2790,2600,2313,2182,2026,2417,2933,3185,3444,3282,3109,3611,3429,3071,2684,2558,3078,3249,3280,3420,3367,3120,3131,3158,3121,2714,2417,2186,2433,2511,1758,2523,3652,3887,3218,2509,1992,1675,1625,1691,1884,2436,2888,2859,2666,2323,2127,2564,2768,2778,3182,3438,3571,3640,3713,3852,3740,3677,3572,3260,3270,3321,3127,3095,3298,3068,2835,3144,3492,3065,2508,2356,2259,2649,2924,2863,2534,2480,2757,3057,3061,2657,2243,2472,2439,1739,1847,2396,1916,1737,1873,2281,2401,2148,2009,2030,1992,2409,2835,2409,2686,3256,3069,2756,2217,1811,1716,2050,2511,2609,2410,2190,2064,2049,2030,1903,2131,1892,1463,1661,2476,2170,1570,1919,1918,1816,1577,1865,1993,1926,1758,1895,2122,2183,2077,1921,1720,1437,1346,1467,1340,1313,1289,1253,1298,1409,1592,1338,1343,1639,1582,1418,1398,1301,1260,1414,1501,1566,1411,1351,1295,1334,1642,1663,1768,1665,1891,2426,2830,2275,1482,1411,1497,1391,1391,1377,1290,1264,1188,1434,1688,1356,1424,1229,1209,1252,1257,1346,1428,1368,1367,1349,1471,1477,1322,1224,1323,1410,1247,1304,1381,1364,1370,1335,1742,2026,1509,1718,2007,1522,1336,1404,1450,1457,1538,1692,1743,1713,1591,1407,1257,1292,1268,1018,1536,1865,1787,1572,1477,1360,1402,1663,2048,2191,2031,2004,2321,1780,1744,1702,1599,1886,1737,1974,2194,2139,1882,1306,1370,2030,2180,1969,1355,1318,1938,1742,1654,2122,2175,1723,1472,1910,2221,2324,2162,1843,1857,1678,1637,1405,1498,1911,2212,2168,1942,2126,2036,1896,2742,2919,2542,2753,2967,2907,2327,2106,1448,1062,1715,2327,2657,3398,3507,3338,2714,2546,2962,2585,2646,2665,2315,2259,2822,2809,2400,2187,2189,3112,2798,2767,3006,2883,2990,2822,2383,2576,2160,1896,2275,1905,1626,1826,1895,2316,2134,2811,3183,3366,3109,2840,3030,3228,2995,2497,2850,3053,2300,2200,2052,1802,2634,2568,2598,3107,2546,2155,2158,2443,2588,2004,1975,1670,2242,2711,2871,2484,1828,2200,2891,2964,2823,2677,2302,2719,2887,2664,2274,2360,2304,1881,1743,1796,1804,1972,2304,2609,2963,2553,2647,2397,1675,2261,2836,2407,2252,2386,2820,2659,2214,2031,2284,2173,2254,2853,2409,2785,3416,2229,1570,2519,2851,2199,2064,3186,3491,2159,2438,2735,3087,3308,3308,3378,3325,2925,2363,2124,2082,1874,1909,1832,2240,2541,2275,2821,2698,2576,2644,2504,2688,2752,2337,2585,2491,1841,2606,3870,4460,4663,4711,4664,3715,2577,2469,2545,2846,3610,3973,4195,4376,4287,4212,3593,3530,3182,2667,2866,3043,3226,3959,4475,4575,4663,4517,3987,2687,2319,3472,4424,4751,4451,3327,2100,2230,3045,3498,3520,3384,2831,2791,2169,1953,2364,1906,1758,1555,1690,1908,1375,1285,1694,1734,1722,1684,1182,1249,1526,1941,1986,1620,1832,2110,1962,2157,2375,2065,2014,1976,1940,1894,1940,1717,979,650,443,388,844,987,812,1004,1251,1697,1798,1904,1879,1762,1997,2295,2645,2576,2317,2667,2455,2213,2294,1768,1793,1490,1172,1423,1418,1347,1343,1383,1275,1217,1250,1316,1471,1416,1687,1471,1242,2619,3755,2847,1717,2537,3520,3287,2911,2433,1964,1758,2467,2556,2398,2402,2518,2762,2845,2709,2752,2477,1532,1033,977,1004,1043,1043,967,1092,1397,1687,1885,1638,1408,2115,2569,3130,3034,3023,2916,2617,2379,2271,2266,2534,2694,2642,2629,2392,2684,3086,2841,2224,1937,1748,2144,2530,2591,2504,2287,1964,1704,1433,2094,2576,2665,2840,3222,3030,2831,2905,2941,2568,2883,3064,2426,2299,2395,2620,3002,3513,3283,3441,3487,3052,2164,1675,1841,1736,1722,1892,2310,2057,1868,2066,1795,1378,1486,1803,1858,1651,1658,1628,1457,1423,1710,1749,1780,1611,1863,1762,1847,1881,1900,1787,1688,1805,2108,2151,1940,2136,1998,2081,1580,1431,1654,1666,1479,1624,1904,1863,1587,1872,2420,2798,2932,3032,3056,2059,2234,2121,2316,2373,1976,1677,1609,1760,2149,2114,1969,1497,2226,2518,2149,1947,2158,2438,2604,2563,2288,2089,2348,3044,2380,2104,2580,3002,2334,1966,1827,2296,2530,2281,2652,2381,1949,1881,1818,1772,1805,1693,1502,2078,2157,2072,2188,1771,1610,1719,1715,1777,1715,1732,1858,1645,1476,1484,1336,2003,2535,2128,2023,1920,1904,1949,2624,2221,1663,1726,1700,1663,1973,1797,1916,2102,1705,1631,1847,2106,2130,2181,2513,2477,1934,2032,2383,2031,1615,1859,2081,1937,1735,2024,2126,1923,1641,1469,1579,1753,1606,1431,1255,1223,1429,1654,1771,1574,1404,1460,1468,1406,1344,1215,1160,1366,1563,1477,1444,1348,1378,1381,1397,1324,1400,1348,1302,1370,1514,1454,1593,1826,1804,1522,1677,2590,2280,1824,1635,1841,1729,1601,1588,1430,1495,1647,1853,2107,2194,2083,2149,1935,2095,2139,1769,1554,1698,2076,1790,1442,1666,1457,1476,1597,1693,2416,2437,2143,1764,1815,1801,1711,1693,1735,1842,1552,1680,1787,2065,2493,2298,2430,2690,3002,2453,1926,2303,2584,2053,1599,2151,2065,1905,1940,1939,1571,1851,1981,2007,2183,2221,2479,3112,3817,3240,3240,2714,2039,1919,2191,2020,1878,2495,3636,4112,3338,2669,2320,2177,2251,1949,1758,2038,2364,3003,3102,2723,2852,2609,1871,2077,2857,2569,2664,2751,2773,1955,1356,1676,2571,2508,2131,2558,2284,1991,1826,1673,2225,3134,3535,3439,2591,2405,2962,3034,2778,2642,2953,3471,2873,2525,2804,2266,1816,2275,3190,3095,2001,1486,2150,2380,2325,2435,2749,2742,3108,3619,3034,2709,2519,2422,2852,3130,2635,3128,3135,2491,2129,2105,2422,2366,2516,2871,2731,2191,1742,1729,1494,1716,1653,1842,2365,2546,2462,2497,2232,1812,2048,2439,2446,2857,2775,2205,2557,2569,2598,2512,2133,2526,2454,2134,1924,2177,3211,3109,2123,1772,2136,2308,2639,2070,1881,1780,2296,2070,1937,2048,1643,1432,1544,1577,1521,1737,1982,2132,2405,2418,2247,2077,2008,2264,2246,1954,1942,2236,2110,2313,2487,1896,1791,1569,1652,1761,1658,1730,1806,1972,2233,1994,1835,2143,1879,1909,2133,2110,2287,2692,2648,2229,1834,1865,1908,2004,2206,2343,2545,2758,2752,2999,3531,3214,3026,3277,3281,3098,3130,3652,3253,3076,3122,2428,2123,2457,1975,1696,1944,1851,1756,1626,1735,2085,2786,3495,3304,3351,3241,3318,3059,2744,2910,3104,2576,2017,1788,1764,1990,2036,1971,1603,1539,1722,2281,2780,2525,2369,2433,2077,1903,2340,2988,2853,2049,1860,1740,1687,1534,1843,1792,2079,2307,1921,1828,1895,1943,1561,1544,1754,1778,1563,1647,1903,2151,2300,2009,1717,2336,3108,3206,3251,3163,2980,3028,2995,2676,2141,2207,2938,2873,2789,3184,3018,3133,2959,2314,2253,1742,1847,2042,1772,1655,1854,2050,1918,1849,2069,2326,2691,2424,2668,2785,2558,2245,2359,2510,2665,2814,2655,2439,2885,3067,2853,2280,2253,2875,2915,2503,2320,2333,2374,2453,2144,1812,2077,2104,2279,2374,2358,2357,2295,2074,2202,2289,2247,2198,2394,2374,2122,2045,1779,1217,1531,1730,1931,1808,1758,1980,1926],[1674,1410,1616,1682,1722,1811,2184,1833,1959,2206,2314,2002,1766,1575,1922,2469,2598,2896,3754,3817,4090,4472,4120,3770,4004,4048,4196,4499,4515,4460,3967,2987,2874,3227,3482,3547,4424,4721,4306,3780,3532,3470,2775,2374,2859,2897,2610,2655,3207,3579,3660,3581,3526,3397,3266,3179,2670,2547,3419,3566,3053,2788,2859,2920,3061,2419,1854,2337,2474,2055,1943,2171,2465,2242,2159,2754,2391,1973,1650,2041,1992,1754,1765,1537,1792,3097,3750,3277,2534,2121,2307,2608,2835,2551,2315,2314,2505,3297,3416,2603,2959,3826,3508,3616,3714,2787,2531,2171,2024,1772,1826,2004,2074,1996,2052,2096,2001,2002,2150,3044,3674,2933,2397,2132,2040,2823,3554,2757,2546,2887,2488,2240,2807,3233,2920,2957,3140,2975,3251,3360,3220,2670,1945,1876,2529,2602,2540,3146,3522,2587,2046,2702,3206,3760,3330,2987,2788,2531,2657,3267,3805,3795,3935,3716,2934,3299,3692,3861,3845,3729,3587,3234,2958,3123,2770,3006,3128,3905,3762,3565,3374,3241,3205,3226,3398,3564,3423,3129,3574,3904,3892,3797,4070,3883,3917,3970,3960,3972,3992,3992,3749,3652,4005,3876,3840,2905,2730,2608,2559,2498,2451,2235,2211,2522,2206,2231,2618,2207,1903,2031,2141,1802,1627,1657,1521,1955,2443,1857,1800,1953,2281,2416,2132,2896,2465,2654,2958,2898,2714,2387,2648,3317,3487,3087,2820,2661,2922,2938,2756,2779,2680,2729,2587,2519,2562,2768,2554,2207,2241,2662,3203,3210,3061,3167,3119,2792,2619,2566,2898,3471,3166,2629,2674,2025,2227,2424,2284,1996,2345,2669,2955,2734,2134,2149,2100,1969,1882,2154,2279,2233,3073,3144,2534,1787,1990,2955,2620,2144,2627,1900,1870,1954,2354,2599,2796,2400,1993,2346,2663,2833,3262,2965,2531,2763,2438,2824,2751,2866,2644,2445,2244,2176,2775,3339,2734,2366,2744,2829,2542,1875,2124,2765,3276,3214,3027,3074,2457,1975,2754,3231,2813,3066,3344,3233,2043,2556,3313,2656,2459,2830,3583,3519,2188,1517,1776,2010,2058,1885,1628,1431,1570,1691,2037,2164,2135,2512,2282,1925,1821,1433,1786,2387,2460,2365,2766,2712,2766,3161,3128,2893,3146,3240,2839,2730,2242,1798,1672,1498,1474,1924,2276,1905,1483,1591,1925,2224,2711,2860,2535,2101,1851,1922,1761,1635,1638,2359,2475,1687,1355,1344,1463,1722,2234,2428,2534,1997,2600,2769,2714,2987,2829,2709,2777,2934,2958,2320,2078,2745,2842,2285,2146,2472,2529,1985,1744,2614,2898,2204,1813,1875,1766,1788,2166,1947,1820,2095,2243,2649,2185,1888,2184,2247,2292,2230,2030,2100,1740,1572,1804,1601,1806,2604,2667,2389,2755,3093,2843,2928,2800,2641,2534,2308,2698,2514,2148,2236,2065,2169,2449,2706,3132,3620,3660,3066,3327,3479,2975,2897,2943,2916,2931,3181,3508,2939,2407,2755,3001,2684,2700,2534,2586,2762,2446,2037,2912,3859,4139,3725,2712,2150,1814,1575,1355,1614,2109,2522,2889,2902,2623,2663,2929,3111,3226,3133,3065,3340,3022,3216,3191,3242,3640,3703,3386,3386,3095,2519,2362,2226,2640,3106,3060,3328,3087,2535,2353,2210,2436,2753,2932,2828,2591,2613,2888,3061,2991,2467,2391,2736,2354,1873,1766,1758,1904,2254,2608,2825,2766,2526,2432,2101,2962,3626,3012,2905,2905,2524,2002,1835,2043,2354,2338,2185,1883,1849,1855,1900,1956,1750,1485,1793,1783,1497,1556,1691,1670,1497,1475,1393,1294,1676,2026,2056,2008,2013,1987,1836,1676,1610,1422,1372,1447,1439,1398,1276,1344,1322,1239,1311,1377,1507,1514,1413,1471,1411,1417,1372,1390,1394,1543,1474,1664,1599,1542,1421,1537,1743,1605,1481,1329,1914,2280,2121,1873,1665,1606,1433,1262,1222,1270,1297,1390,1356,1453,1348,1236,1251,1255,1470,1387,1264,1305,1326,1440,1367,1301,1356,1340,1241,1206,1301,1328,1349,1414,1349,1304,1381,1644,2127,1770,1410,1692,2281,1670,1423,1511,1593,1514,1607,1532,1374,1446,1470,1573,1461,1323,1257,907,1666,1818,1658,1451,1505,1844,1798,1840,2250,2674,2204,1898,2021,1922,2249,2017,1885,1970,1731,1809,1964,1902,1779,1420,1782,2196,2245,1976,1635,1411,1787,1910,1776,1816,1807,1797,1882,1802,1608,2036,1877,1690,1688,1386,1662,1847,2016,2020,1981,1900,1921,2391,2200,2265,3218,3218,2788,2753,3020,2789,2475,1900,1228,1606,2166,2306,2409,3404,3178,3050,2732,2232,2194,2187,2463,2937,3037,2488,2770,2436,1925,1703,1923,2880,2796,2764,2796,2297,2451,2679,2327,2144,2241,3090,2531,2078,2348,2059,2113,2869,2824,3059,3636,2930,2463,2786,3006,3864,3929,2612,2556,2458,2235,2176,2221,2153,2985,3559,3067,2488,1592,1776,1480,1592,2439,2460,2841,2327,2129,2331,2604,2283,2056,1921,1815,2040,2568,2459,2380,2802,2657,2634,2391,2287,2304,2062,1626,1504,1699,1778,2200,2604,2875,3221,2766,2228,2183,2800,2766,2336,2099,2438,3041,2910,2568,1866,2154,1938,1907,2318,2321,2448,2696,1801,1577,2740,2803,2166,2259,2818,2818,2264,2509,2507,2853,3132,3226,3462,3610,3326,2610,2503,2375,2004,1670,1696,2352,2684,2325,2801,2934,2449,2023,1916,2648,2888,2363,2597,2358,2152,2878,3616,4245,4576,4711,4775,4300,3343,2418,2330,2576,2967,3679,4017,4331,4403,4416,4212,4184,3664,2647,2603,2766,2957,3707,4308,4532,4643,4604,4544,3274,2464,2698,3748,4740,4695,3746,2701,2695,3052,3469,3695,3919,3448,2551,1791,1995,2414,1742,1204,1547,1831,1892,1609,1475,1506,1741,1654,1798,1682,1962,1840,1692,1791,1597,1495,2052,2009,2044,2347,2146,2245,2335,2486,2441,1992,1208,542,374,292,650,1238,1042,917,1057,1460,1801,1754,2182,2142,1881,2308,2675,2634,2447,2443,2862,2728,2523,1830,1661,1570,1120,1322,1527,1546,1425,1418,1576,1401,1249,1390,1643,1512,1464,1581,1379,1544,2591,2944,1945,1875,3165,3596,3262,2854,2254,1826,1950,3002,3385,2770,2438,2632,2898,2977,2807,2198,1296,1161,1571,1432,1289,1563,1618,1289,980,1389,1940,1967,1622,1918,2669,3075,2712,2178,1926,2412,2599,2225,2215,2258,2678,3094,3179,3050,2221,2040,2878,3598,3140,2124,1654,1798,2106,2089,1970,1734,1555,1588,1422,2390,2529,2656,2875,3039,2942,2841,3084,3262,3072,3362,3597,3309,3029,3165,2958,2781,2744,3172,3831,3984,3513,2398,1742,1787,1741,1888,1837,2131,2001,1702,1815,1594,1135,1534,2054,1823,1783,1689,1578,1466,1639,1880,1849,1763,1513,1597,1798,2052,2086,1925,1776,1578,1730,1771,1761,1778,2151,1989,2148,1811,1310,1628,1900,1789,1867,1867,1976,1904,2198,2596,2747,3002,3021,2358,1682,1699,1674,1832,2210,2042,1508,1661,2001,2157,2420,2202,1580,2222,2590,2244,1903,1986,2447,2670,2434,2170,2197,2210,2584,2087,2075,2814,2595,2011,2355,2333,2273,2186,2312,2412,2146,2137,2266,2302,2253,2380,2338,2324,2658,2556,2507,2687,2170,2366,2822,2563,2117,1632,1698,1703,1437,1396,1418,1347,1599,2175,2061,1897,2125,2212,2099,2258,1917,1735,2122,1932,1859,2257,2126,2115,2101,2238,2094,2020,2480,2866,2930,2842,2819,2113,1886,2562,2475,2025,1771,1416,1719,1674,1889,2116,2188,1897,1976,2644,2619,1574,1299,1467,1691,1856,2128,2164,1655,1410,1403,1392,1426,1283,1151,1341,1518,1499,1282,1446,1442,1480,1504,1344,1385,1510,1582,1484,1462,1619,1489,1520,1841,1937,1650,1607,1992,1757,1604,1654,1984,1992,1783,1621,1583,1660,1917,2292,2600,2524,2311,2034,1714,1677,1777,1748,1637,1554,1476,1198,1533,1885,1646,1735,1565,1636,1803,1806,1766,1942,2427,2221,1843,1854,1892,1816,1772,1816,1992,2049,2231,1876,1556,1990,2656,2584,2337,2184,2179,1713,1566,2033,1880,1830,2025,1834,1482,1795,2081,1828,1857,1639,1704,2128,3226,3467,2949,2328,2236,2210,2057,1556,1729,2310,2959,3466,2884,2539,2511,2329,2610,2250,2014,2053,2117,2634,2740,2208,2437,2588,2405,2511,2531,2436,2578,2705,2786,2216,1339,1373,1686,1818,1956,2869,2419,1834,2180,2066,1934,2608,3488,3862,3084,2354,2757,2874,2267,2254,2941,3211,3293,2799,2704,2821,2466,2117,2072,2100,1475,1590,2634,2498,2450,2403,2273,2353,2680,2924,3025,2746,2595,2809,2668,2986,2641,3159,2894,2564,2376,2376,2159,1788,1781,1784,1816,1600,1558,1474,1101,1324,1968,2539,2769,2788,2675,2504,2173,2024,2437,2446,2155,2138,2205,2026,2109,2154,2216,1970,2005,2176,1823,1789,1967,2048,3107,3133,2373,2323,2274,2570,2670,1923,1517,1758,1819,1493,1707,1994,1912,1730,1688,1576,1607,1865,1903,1956,2095,2207,2342,1861,1697,2321,2362,1882,1577,1626,1763,2300,2674,2072,1791,1630,1879,1852,1626,1824,1852,2088,2365,2181,2130,1842,1859,1999,1879,1940,2568,2940,2874,2536,1915,1649,1511,1713,2012,2153,2335,2435,2402,2394,3090,3362,3373,3964,3794,3277,3150,2878,1811,2404,2887,2404,2022,2652,2254,1463,1454,1490,1723,1574,2084,2866,3397,3574,3275,3404,3462,3362,3056,2680,3007,3305,2587,1925,1787,1778,1676,1837,1733,1485,1548,1916,2344,2583,2653,2415,2253,2091,2260,2098,2584,2276,1847,1848,1721,1518,1824,1915,1734,2110,2444,1952,1737,2039,1804,1788,1528,1637,1870,1716,1785,2038,2123,1869,1708,1614,1896,2766,3057,3152,2951,2618,2488,2314,2208,2430,2909,3137,2873,2910,3166,3296,3322,2685,2828,2776,2458,2422,2268,1824,1664,1945,2536,2261,1911,2674,3209,2702,2156,2194,2401,2395,2241,2430,2830,3066,2972,2868,2321,2128,2114,2224,2157,2298,2609,2546,2485,2700,2814,2752,2776,1931,1917,1929,1969,2200,2288,2268,2264,2119,1962,1953,2162,2326,2172,2250,2144,2002,1857,1783,1686,1958,2023,1942,1824,2003,2192,1942],[1761,1630,1213,1054,1686,1968,1905,1801,2185,2194,1931,1691,1603,1936,2607,2873,2854,2883,3067,3486,3906,4172,3762,3426,3894,4199,3968,4097,4477,4432,3683,2971,2896,2949,3422,3692,4099,4288,3861,3652,3807,3644,3323,2731,2234,2274,2688,2866,2956,3069,3198,3351,3270,2936,3065,3175,2841,2211,2601,2907,3063,3021,3164,3199,2546,1880,1699,2529,2846,2145,2278,2237,2039,2013,2215,2336,2270,1866,1721,1852,1722,1996,2089,1647,2061,3537,4034,3481,2317,2098,2060,2010,2361,2474,2354,2190,2701,3763,3467,2470,3188,3927,3814,3253,3297,3103,2613,2549,2255,1812,2013,2249,2143,2193,2315,2233,2177,2140,2520,2878,3051,3021,2931,2895,3222,3461,3008,2452,2833,3230,2959,2641,2822,2908,3176,3506,3627,3637,3571,3465,3276,2664,2318,2121,2787,2727,2423,2564,3001,2778,2499,2243,2315,2563,2291,2155,2158,1960,2257,2699,3363,3528,3451,3305,3662,4061,3801,3801,4225,4196,3796,3680,3348,3596,2788,2843,3070,3440,3386,3408,2995,2330,2369,2894,3527,3652,3560,3287,3641,3579,3572,3500,3440,3351,3364,3536,3747,3695,3632,3387,3406,3616,3513,3117,3211,3023,2843,2568,2323,2244,2704,2667,2545,2670,1997,2071,1951,2603,2244,2141,2359,1840,1301,1624,1949,1857,1795,1383,1732,1875,1979,2097,2009,2653,2623,2765,3282,3250,2540,1874,2097,2844,3091,2473,2483,2841,2922,2730,2972,2829,2710,2781,2332,2371,2614,2588,3161,2836,2529,2772,2696,2431,2952,3505,3195,2892,2966,2593,2514,2852,2937,2677,2279,2043,2555,2698,2275,1848,1904,1991,2563,3165,2103,1769,2008,2416,2023,2500,2204,2230,2741,2907,2490,1627,1896,2714,2510,2241,2415,1527,1795,2481,2770,2703,2370,2269,2264,2162,2633,3282,3239,2555,2404,2512,2655,3443,3063,2775,2733,2662,2860,3228,3212,3007,2512,2253,1970,2709,3020,2843,2571,2511,2711,2695,2942,3624,3204,2114,1880,2730,3073,2711,3095,3319,2974,3166,2766,2415,2656,2801,3271,3305,2032,1556,1797,2476,2688,2265,1880,1752,1694,1617,2211,2347,1959,2323,2096,1956,2049,1735,2090,2414,2377,2167,2250,2686,3528,4059,3785,3748,4197,3690,2937,2880,2753,2050,1919,1625,1536,1562,1528,1488,1438,1843,2114,2155,1887,1750,1681,1759,1961,2199,2068,2044,1834,1805,1814,1519,1110,1121,1605,1846,2790,2295,2177,2047,2071,2182,2822,3379,3200,3089,2868,2199,2251,2382,1514,1059,1794,2093,2165,2559,2788,2199,1821,2355,2607,2391,1975,2114,2144,1791,2144,2106,2557,2317,2224,2978,2475,1975,2032,2207,2059,2142,2293,1913,1675,1715,1626,1592,1713,1916,2063,2320,2413,3062,2935,2404,2520,2564,2246,2164,1898,1722,2099,2154,2070,2346,2553,3124,3396,3624,3760,3210,3128,3460,3409,3109,2975,3153,2881,2579,2672,2066,2316,2886,3216,3009,3145,2441,2862,2952,2460,2193,2256,2861,3602,3267,2214,2226,1958,1683,1832,1675,1920,2275,2427,2534,2934,3365,3176,2993,3311,2843,3121,3151,2598,2614,2032,2212,3118,3572,3385,2890,2789,2456,2436,2471,2907,3145,2761,2974,3066,2543,2473,2624,2571,2537,2932,2918,2811,2434,2688,2915,3091,2842,2513,2676,2624,2220,2139,2258,2348,2681,3105,3373,3187,2465,2409,2191,2706,3432,3246,2604,2137,1822,1740,1947,2214,2173,2024,2144,2420,2297,1844,1544,1505,1516,1498,1404,1338,1432,1439,1826,1998,1550,1459,1569,1626,1910,2127,2109,1988,1893,1671,1516,1473,1606,1455,1373,1400,1377,1344,1286,1309,1340,1369,1306,1327,1676,1801,1513,1461,1377,1425,1564,1621,1507,1567,1639,1527,1447,1571,1626,1803,1645,1543,1336,1387,1734,1897,1828,1808,1796,1653,1371,1161,1240,1371,1403,1543,1438,1298,1214,1356,1370,1344,1418,1368,1323,1313,1347,1493,1408,1324,1254,1301,1289,1256,1277,1361,1388,1367,1341,1350,1410,1896,2246,1548,1431,2013,2452,2045,1676,1798,1793,1680,1802,1111,1185,1785,1970,1863,1571,1466,1357,1000,1614,2322,2294,1991,1990,2143,1971,1906,1881,2333,2133,1749,1561,1931,2213,2316,2349,2066,1937,2081,1885,2039,1696,1502,1603,2437,2398,1959,1815,1767,2360,3056,2676,1808,1684,1903,2122,1932,1948,2056,1790,1494,1229,1461,2170,2503,1979,1770,1717,1810,1896,2171,2465,2989,3226,3042,2509,2485,2834,2941,2621,1610,1201,2029,2453,2392,2067,3041,3120,2644,2423,2477,2105,1963,2610,3044,3218,2648,2722,2375,1928,1691,1725,2463,2814,2405,1952,1988,1808,1900,2017,1615,2266,3262,2422,2217,1981,2523,3134,3348,3621,3598,3834,3273,3325,3322,2956,3672,3711,2500,2525,3147,2867,2486,2502,2578,2897,3250,2763,1835,1565,1802,1819,2135,2850,2898,2770,2524,2156,1792,1935,2133,1988,1707,1477,1359,1951,2317,2092,2504,2888,2656,2107,1992,2186,2338,2077,2055,2024,1870,1847,2198,2653,2665,2531,2465,2618,2946,2990,2788,2046,1873,2307,2232,2269,2027,2196,2310,2104,2215,2396,2313,2433,2032,2064,2953,3066,2237,1832,1647,2178,2228,2381,2360,2562,2767,2861,3094,2942,2920,2844,2968,2145,1928,1581,1635,2132,2327,1962,2057,2052,1334,1389,1497,2050,2083,2534,2512,2523,2887,2938,2967,3505,4171,4673,4803,4734,3769,2209,2325,2400,2400,3174,3840,4228,4416,4460,3798,3594,3625,3090,2805,2932,2605,2815,3571,4377,4577,4575,4603,4049,3293,2705,3393,4640,4759,4347,3404,2660,2923,3653,3584,3702,3348,2377,1881,1929,1788,1508,1425,1758,1850,1958,1943,1621,1487,1633,1785,2024,2181,2084,1962,1841,1659,1633,1905,2465,2181,2345,2357,2164,2468,2189,2310,2344,1485,760,390,327,480,1147,1576,1148,754,1035,1636,1947,1853,1889,1946,1955,2273,2582,2477,2296,2470,2942,2992,2107,1610,1952,1479,1282,1505,1310,1527,1612,1504,1796,1861,1344,1469,1555,1500,1616,1508,1221,1344,1857,1850,1614,2264,3554,3537,3343,2809,2003,1917,2346,3241,3596,2862,2574,2722,2941,2961,2131,1282,1307,1701,1487,1334,1559,1801,1800,1388,1380,1918,1890,1657,1801,2191,2674,3429,2589,1768,2247,2850,2312,2055,2249,2225,2653,2462,2841,3270,2945,2613,2756,3272,3045,2276,1695,1959,2384,2323,1918,1926,1677,1834,2211,2576,2213,2107,2657,3161,3055,2806,2845,3171,3426,3831,4011,3840,3772,3462,3084,2743,2263,2625,3443,3937,3354,2490,1786,1641,1688,1658,1664,1978,2134,1695,1648,1700,1474,1880,1874,1676,1842,1658,1587,1537,1618,1766,1889,1640,1545,1757,1836,1870,1949,1873,1844,1591,1754,1931,1809,1696,1958,1812,1988,1928,1381,1636,2095,2233,2416,2194,2416,2382,2387,2381,2294,1815,1477,1511,1331,1534,1935,1886,2211,2422,1879,1804,1956,1810,2115,2105,1802,1781,1856,1795,1886,1830,1857,2423,2401,2338,2297,2163,2064,2127,2517,2954,2645,2452,2900,2682,2503,2270,2267,2037,2553,2745,2682,2637,2563,2565,2549,2571,2588,2609,2755,3110,2482,2496,2787,1954,1430,1434,1678,1694,1444,1500,1493,1378,1713,2320,2304,2277,2657,2547,2652,2875,2612,2358,2509,2410,2235,1867,2326,2286,2353,2368,2085,2152,2829,2722,2518,2953,3100,2648,2409,2420,2060,1829,1724,1389,1871,2028,1709,1741,1833,2003,2177,2351,2200,1704,1788,1737,1888,2198,2213,2149,1855,1475,1331,1417,1361,1274,1442,1636,1644,1460,1262,1339,1321,1574,1578,1412,1494,1612,1778,1669,1431,1454,1438,1472,1699,1479,1354,1375,1759,1816,1717,1888,2055,1711,1470,1599,2007,2456,2611,2483,2755,2864,2397,1922,1785,1749,1784,1987,1932,1715,1512,1522,1969,1720,1716,1652,1578,1529,1583,1986,2373,3183,3437,2671,2494,2171,2017,1653,1573,1567,1549,1679,2071,2220,1873,2035,2710,2589,2498,2115,2038,1782,1593,1716,1834,1758,1910,2011,1733,1970,2226,2071,1908,1560,1974,2227,2432,2711,2547,2203,1834,1797,1855,1520,1998,2577,2767,2995,2718,2309,2146,2488,2708,2435,2382,2243,2413,2531,2371,2639,2880,2830,2683,2817,2909,2654,2327,2322,2662,2511,1658,1498,1503,1991,2331,2443,2049,1959,2512,2540,2461,2682,3116,3141,2271,1543,1923,2021,2002,2321,2672,3018,3181,2921,2902,2780,2415,2040,2202,2555,2057,2295,2562,2287,2402,2596,2717,3138,3289,2834,2551,2155,2244,2623,2529,2427,2701,2862,2346,2289,2427,2143,1466,1338,1736,1868,1843,1816,1916,1649,1428,1726,2474,2890,3255,3118,2597,2667,2750,2391,2623,2532,2604,2612,2337,2145,2035,2390,2109,1812,2137,1825,1715,1761,1987,2040,2610,2917,2353,2470,2521,2770,2648,2041,1871,2000,1742,1557,1707,1946,2050,1925,1675,1597,1996,2343,2020,1571,1848,2174,1648,1154,1424,1847,2080,1997,1693,1536,2005,2397,2143,1756,1603,1539,1738,1637,1886,2207,2017,2326,2089,2178,2244,2158,2404,2377,2046,2054,2197,2258,2564,2711,2223,1889,1830,1609,1557,2030,2231,2111,2423,2768,3239,3671,3792,3984,3167,2538,2556,2039,1390,1804,2421,2376,2155,2614,2355,1807,1850,1514,1411,1762,2407,3117,3519,3588,3596,3587,3440,3297,2884,2170,2436,2343,1942,1736,1624,1697,1906,2027,1715,1703,2061,2498,2321,2404,2618,2189,2402,2321,2367,1941,1998,1754,1542,1895,2009,2055,2266,1997,1957,1863,2181,2076,2128,2496,2259,1808,1501,1655,1937,2038,1911,1592,1745,1910,1637,1755,2057,2464,2658,2855,2952,2402,1642,1612,2329,3009,2817,2937,2656,3155,3116,3031,2937,2736,3010,2810,2480,2540,2182,1731,1807,2468,3156,2416,1968,2686,3055,2755,2266,2201,2232,2237,2513,2640,2584,2740,2539,2527,2259,2133,1677,1781,2027,2134,2055,2204,2778,2984,3027,3000,2823,1960,2190,2015,2132,2253,2373,2422,2234,1907,1697,1877,2100,2304,2184,2238,2179,2143,1953,1898,2026,2273,2194,1825,1900,2063,1903,1639],[1526,1222,961,1267,1848,1939,1730,1888,2244,2433,2190,1938,2518,2887,2751,3055,3360,3113,2858,3000,3551,3805,3475,3198,3595,4072,4072,4179,4413,3891,3572,3089,2728,2973,3416,3638,3994,4357,4220,3875,3713,3914,3723,2720,2070,2254,2762,2857,2778,2502,2288,3286,3791,3081,3083,3314,3201,2743,3330,3602,3221,3217,2831,2090,1778,1708,1805,2620,2795,2450,2366,2434,2277,2090,2296,2454,2567,2112,2012,2072,1965,2193,2093,1860,2110,3415,3913,2991,2126,2090,1987,1553,1758,2338,2287,2079,3005,4015,3617,3248,3958,3932,3471,2871,2707,2774,2871,2986,2754,2494,2485,2695,2828,3019,3089,2956,2802,2697,2896,3221,2899,2911,3275,3405,3859,3858,3409,3412,3498,3574,3344,3115,3095,2878,2977,3179,3332,3673,3737,3219,2820,2902,2783,2607,3150,3670,3240,2823,2801,2651,2351,1700,1547,2249,2697,3016,2752,2502,2534,2530,2988,3011,2978,3361,3707,3752,3469,3553,4033,4081,3806,3385,3162,3128,3327,3396,3326,3620,3455,3354,2923,2280,2490,3228,3773,3605,3689,3627,3673,3553,3454,3229,2993,3027,3072,3262,3619,3675,3430,3065,3283,3428,3339,3165,3667,3608,2304,1694,2236,2390,2400,2270,2269,2230,2140,2338,2132,2232,2047,2065,2106,1554,1200,1595,2548,2837,2168,1415,1642,1916,2067,2198,2301,2419,2454,2784,3438,3415,2762,1870,2185,2210,2458,2200,2709,3165,3111,2879,2878,3046,3219,2823,2511,2570,3066,3255,3942,3173,2945,3288,2734,2504,3112,3521,3514,3538,3448,2628,2963,3128,2840,2518,2178,2060,2194,2444,2532,2196,2020,1995,3143,3130,2305,2253,2855,2799,1917,2118,2334,2533,2743,3052,2722,2330,2013,2539,2231,2034,2138,1917,2054,2643,2910,2601,2215,2415,2874,2839,3030,3376,2745,2409,2498,2696,2470,2309,2310,2666,2757,2420,2308,2793,2925,2435,2111,1815,2108,3047,2758,2512,2604,2322,2264,2580,2625,3112,3283,2763,2830,3405,2812,2485,2547,2974,3827,3278,2524,2854,3021,3171,3516,2831,1686,1942,2292,2897,3031,2767,2272,2114,1976,1989,2919,2598,1647,1621,1666,1797,1860,1748,2095,2017,1800,1793,1786,2678,3738,4065,3728,3742,4294,3187,3117,3442,3199,2389,1819,1561,1462,1438,1508,1544,1479,1725,2175,2243,2153,2033,1968,1967,2155,1963,1724,1925,1918,1615,1638,1766,1543,1301,1872,1703,2066,2642,3061,2433,1712,1846,1951,2700,3254,3308,2791,1741,2398,2416,1528,1231,1720,2154,2237,2586,2996,2696,2054,2409,2719,2430,2186,2543,2408,1870,1864,1948,2160,1886,2309,3351,3255,2468,1844,2413,2500,2078,2230,1897,1720,1757,1656,1706,1884,2196,1990,2073,2004,2742,2478,2030,1986,1873,2067,2026,1638,1931,2122,1989,2199,2502,2789,3043,3398,3513,3694,3708,3264,3271,3642,3409,3042,3057,2686,2856,2551,2450,2684,2994,3083,2958,2917,2983,3452,3342,2658,2282,1732,1757,2094,2294,2174,2009,1596,1634,2315,2127,2048,2277,2314,2630,3184,3260,3082,2993,3206,2641,3331,3422,3085,2770,1881,1394,1808,2720,2739,2033,2890,3528,3577,3444,3373,3418,3310,3190,2899,2468,2496,3003,3264,2432,2700,2843,2910,2701,2624,2798,3042,3090,2798,2499,2588,2709,2614,2885,2930,2987,2999,2871,2825,2553,2352,2205,2525,2952,2675,1959,1745,1936,2210,2598,2463,2449,2773,2633,2416,1948,1614,1567,1507,1400,1490,1441,1378,1448,1432,1514,1533,1431,1456,1443,1769,2073,2116,2116,1986,1826,1661,1589,1562,1475,1563,1545,1455,1359,1306,1321,1454,1649,1394,1207,1286,1459,1582,1485,1392,1331,1423,1629,1574,1558,1767,1745,1541,1610,1700,1828,1848,1670,1433,1321,1484,1819,1953,2029,1963,1755,1559,1471,1198,1207,1430,1396,1376,1299,1299,1344,1362,1280,1233,1206,1228,1241,1260,1502,1877,1898,1506,1277,1278,1309,1353,1440,1424,1421,1381,1385,1318,1332,1317,1476,1475,1357,1650,1825,1610,1508,1514,1561,1960,2411,1312,1298,2161,2231,1920,1823,1730,1544,1392,1743,2336,2416,2223,2115,2264,1980,1780,1686,2201,2176,1620,1840,2126,1766,2271,2402,1996,2165,2025,1575,1729,1591,1704,2248,2866,2720,2469,2322,2194,2922,3186,2194,1756,2078,1815,1995,2007,1745,1531,1363,1620,2039,2046,2188,2287,1808,1827,1614,1998,2423,2414,2638,3137,3119,2770,2695,2800,2806,3008,2579,1419,1427,2127,2411,2141,2009,2645,3077,2866,2590,2539,1890,1790,2292,2221,2787,2749,3217,2918,1720,1482,1746,2332,2705,1959,1951,2765,2019,2066,2144,1968,2279,2525,2501,2396,2309,2524,2564,2358,2961,3271,3689,3565,3618,3340,3177,3640,2954,2194,2131,2802,3265,2844,2714,2517,2247,2220,2779,1890,1528,2204,2546,2896,2817,2574,2603,2622,2998,2755,2499,2558,1776,2155,2048,1904,2653,2952,2349,1953,2464,2728,2345,2248,2751,2954,2564,2492,2277,1766,1777,1935,2296,2540,2456,2421,2503,2857,2996,2835,1874,1462,1559,2237,2536,2222,2365,2935,2532,1892,2232,2770,3406,3032,2397,2997,2626,2116,2056,1903,2258,2304,2161,2176,2298,2359,2448,2449,2102,2409,2676,2777,3022,3174,2890,2618,2573,2523,2330,2354,2451,1814,1869,1711,2250,2189,2607,2476,2429,3369,3385,2427,2812,3729,4500,4676,4689,3482,1969,2022,2192,2438,2895,3508,3986,4196,4464,4244,3421,2778,3629,3099,2755,1941,1860,2713,3872,4488,4511,4571,4510,3862,2686,3080,4255,4751,4660,4156,3103,2944,3559,3464,3199,3178,2678,2170,1780,1639,1847,2070,1982,2080,2161,2119,1835,1640,1592,1539,1793,2066,1825,2106,2475,2430,2114,2018,2126,2118,2232,2488,2674,2474,2395,2437,1837,1273,656,359,359,958,1575,1744,1780,1457,1290,1472,1590,1839,2243,2326,2061,2089,2120,2022,2431,2521,2679,2631,1860,1862,1899,1430,1369,1365,1291,1453,1384,1482,1576,1368,1383,1560,1435,1479,1530,1477,1219,1505,1565,1210,1422,2612,3588,3569,2865,2012,1876,2310,2488,2692,2864,2423,2577,3006,3074,2137,1184,1437,1923,1572,1269,1514,1595,1444,1245,1268,1686,1684,1743,1859,2264,2114,2286,2604,2128,2076,2421,2188,1775,2221,1967,2303,2029,1678,2251,1992,1496,1830,2687,3308,3211,2835,1871,2390,2684,2402,2211,2059,1844,2030,2902,3520,2999,2338,2316,2490,2743,2800,2724,3516,4112,4264,3924,3651,3849,3441,2883,2379,1986,2196,2427,3132,3022,2535,2103,1856,1780,1844,1725,1756,1881,1648,1752,1960,1672,1732,1555,1802,1896,1688,1669,1692,1788,1908,1883,1609,1520,1764,1794,1625,1841,2061,2005,1638,1691,1731,1722,1716,1849,1916,1858,2009,1746,1941,2529,2512,2192,1947,1702,1793,2114,1974,1693,1473,1376,1772,1354,1668,2590,2481,2218,2597,2092,1836,1682,1481,1715,1850,1729,1977,2095,1986,2043,1887,1804,2525,2792,3077,2720,2248,2434,2586,2646,2284,2533,2751,3016,2496,2007,2210,2320,2332,2803,3028,2922,2783,2749,2581,2464,2542,2673,2852,2967,2944,2443,1924,1880,1795,1557,1369,1450,1556,1476,1541,1553,1550,2066,2292,2136,2043,2496,2515,2609,3103,2958,2529,2768,2872,2632,2073,2268,1962,1997,1757,1823,2260,2524,2210,2142,2504,2761,2331,1981,1928,1637,1682,1753,1631,2250,2288,1802,1647,1843,1945,1833,1672,1768,1939,1958,1673,2011,2386,2013,2185,2239,1621,1571,1539,1311,1471,1382,1474,1481,1367,1339,1282,1270,1688,1842,1538,1444,1414,1395,1380,1427,1324,1319,1400,1414,1393,1377,1588,1930,1953,1945,2040,2093,1616,1757,2637,3306,3081,2661,2621,2768,2518,1915,1581,1796,1748,1867,2182,1729,1721,1601,1484,1586,1661,1711,1739,1787,1493,1932,2364,2812,3316,2751,2281,2303,2353,2113,1874,1677,1398,1344,1516,1671,1936,2082,2150,2962,2619,2182,2192,1967,1638,1543,1788,1891,1715,1675,1937,1855,1923,1998,2048,1925,1770,2208,2270,1887,1874,2187,2593,2315,1784,1461,1460,1843,2454,2599,2711,2485,2267,2213,2494,2674,2599,2707,2470,2533,2699,2872,3462,3249,2789,2813,2874,2741,2208,1640,2216,2992,2687,1907,1765,1763,1919,2121,1992,2202,2857,2978,2790,2786,2596,2559,2394,2144,2092,2054,2076,2640,2800,2932,3128,2917,2812,2939,2619,2374,2020,2197,2806,2947,2536,2463,2722,2498,2360,2689,3154,3119,2830,2841,2952,3119,3051,2828,2485,3144,3062,2370,2246,2298,2024,1347,1604,2082,2342,2247,2230,1876,1537,1170,1590,2369,2427,2630,2526,2617,2823,2998,2574,2801,2714,2669,2619,2137,1939,2509,3082,2403,1916,2240,2197,2339,2310,2125,2308,2289,2076,2010,2404,2462,1998,1753,1755,1776,2117,1949,1851,2114,2203,2084,1935,1645,1803,2123,2236,2402,2032,2443,2734,1753,1374,1474,1462,1479,1708,1657,1563,1798,1953,1826,1699,1477,1483,1551,1708,2064,2113,2109,2568,2453,2353,2207,2357,2867,2808,2468,2315,2234,2279,2637,2896,2581,2046,2029,2014,1922,2200,2093,2027,2580,2810,2789,2979,2647,2815,2375,2198,2079,1695,1327,1348,1853,2181,2027,2503,2669,2659,2250,1906,2079,2555,2766,3076,3365,3431,3380,3476,3536,3596,2565,1859,1923,1790,1646,1590,1619,1715,1853,1893,1975,2276,2493,2700,1952,2590,2733,2524,2722,2593,2110,1716,1616,1748,2156,2179,1984,2030,2187,1842,2103,2193,2248,2124,2229,2526,2024,1520,1561,1879,2171,1906,1936,1915,1806,2015,1495,1717,2199,2137,2018,2304,2679,2382,1849,2054,2922,3141,2937,3134,2995,3255,3115,3008,2927,2976,2964,2866,2774,2311,1758,1653,1936,2863,2657,2049,2291,2758,2916,2754,2415,2296,2260,2548,2745,2701,2275,1896,1831,1898,1997,1910,1579,1678,1944,2100,2292,2743,2720,2655,2851,3007,2836,2272,2205,2440,2626,2744,2981,2746,2091,1877,1907,1955,1857,1930,1970,2032,2178,2238,2135,2018,2017,2270,2460,2045,1961,1863,1749,1678],[1191,910,1053,1568,1788,1659,1814,2151,2495,2962,3090,2691,3082,3846,3345,3462,3887,3689,3030,2923,3514,3886,3698,3684,3439,3197,3366,3981,3693,3476,3694,2961,2929,3486,3673,3879,4284,4351,4133,3516,3241,3428,3385,2585,1725,1602,2243,2689,2814,2877,2786,3663,4164,3571,3643,3464,3020,2920,3275,3153,2843,2584,2171,1809,1959,2411,3125,3042,2784,2798,2379,2690,2654,2336,2187,2465,2811,2549,2249,2490,2779,2754,2185,2048,2599,2998,3241,2763,2191,2416,2729,2199,1235,1919,2569,2790,3695,4109,3626,3508,3743,3200,2551,2452,2637,3079,3506,3374,3273,3231,2966,3040,3042,3151,3504,3233,2733,2520,2680,2810,2583,2993,3260,3405,3683,4113,4124,3860,3864,3843,3724,3337,3024,3076,3299,3454,3532,3707,3686,3167,2828,2930,2601,2684,2895,3141,2967,2886,2865,2321,1782,1631,2333,2917,2558,2263,1785,2029,2092,1932,2526,3008,3132,3448,3518,3610,3494,3543,3663,3646,3805,3669,3264,3130,3917,3818,3304,3340,3241,3168,2949,2993,3559,3754,3584,3237,3283,3652,3902,3588,2994,2644,2798,3034,3032,3050,3267,3411,3053,2863,3233,3563,3084,2853,3574,3582,2336,1813,2598,2596,2366,2368,2013,1949,2140,2235,2003,1757,1648,1956,2445,2001,2002,2848,3171,3862,3264,2196,2039,2226,2137,2352,2232,1869,2150,2508,2576,2684,2542,2569,3082,2828,2749,2697,2918,3197,3107,2430,2280,2569,3341,2389,2131,2481,2914,3390,3798,3175,3193,3925,3499,3049,3416,3526,2938,3206,3030,2495,2508,2684,2940,2989,2377,2138,2632,2811,2419,2248,2179,2170,3088,2751,2691,2253,2240,2597,2653,2173,1939,2490,2965,3097,2522,2417,2247,2688,2122,1985,2105,2049,2312,2823,2376,1985,2130,2243,2448,3083,3332,3638,3031,2482,2387,2652,2766,2328,2359,2722,2513,2578,2141,1952,1836,1736,1683,1674,2019,2275,2138,2667,3162,2674,2878,3143,2831,2364,2776,2739,3046,3210,2774,2636,2666,3472,3733,2629,2710,3173,3165,3026,2777,2427,1798,2138,2229,2292,2906,3157,2603,2092,1989,2092,2504,2105,1805,2005,1968,1634,1669,1780,1765,1562,2009,2261,2118,3105,3704,3666,3090,3631,4417,3371,3231,3653,3010,1966,1619,1875,1462,1408,1493,1570,1775,1724,2100,2387,2741,2432,1818,1786,1728,1503,1591,2330,2096,1555,1490,1845,1588,1715,1990,1960,2631,3586,3638,2820,2409,2667,2082,2458,2822,2699,2019,2035,2874,2952,2197,1775,2139,2532,2480,3155,3233,2741,2778,2922,2638,2635,2556,2371,2139,1779,1836,1965,2127,1886,2171,2964,2740,2181,2266,3077,2699,2336,2455,1968,1992,1890,1516,1619,1970,2242,1947,2049,2204,2337,2094,2039,2003,2152,2247,2003,2050,2388,2308,2339,2406,2472,2248,2158,2797,3366,3328,2898,2610,2686,2955,3568,3330,2680,2018,2842,2555,2502,2653,2943,3250,3098,3014,3261,3243,2886,2319,2346,1911,1985,1847,2083,1922,1762,1714,2066,2454,2274,2154,2378,2328,2543,2843,3181,3520,3287,3250,3174,3419,3412,3348,2993,2188,1794,1866,2017,1952,1787,2735,3537,3718,3518,3795,3966,3683,3515,2890,2249,1995,2287,2677,2331,2510,2839,2933,2972,2755,2765,2942,2929,2730,2641,3100,3484,3078,2828,2952,2957,3010,2978,2789,2525,2301,2551,2834,2266,1952,1926,2155,2386,2631,2930,2832,3129,2925,2169,1730,1621,1652,1765,1734,1471,1548,1530,1392,1388,1418,1500,1471,1383,1381,1597,1951,2098,2102,2077,2105,1875,1708,1562,1472,1465,1550,1462,1255,1190,1331,1425,1438,1472,1365,1336,1265,1416,1390,1358,1475,1395,1386,1444,1481,1652,1888,1680,1612,1864,1525,1321,1544,1781,1629,1530,1590,1525,1542,2180,2818,2553,2288,1687,1269,1386,1588,1307,1122,1322,1441,1219,1189,1136,1124,1225,1322,1260,1219,1249,1436,1712,1635,1560,1426,1403,1652,1509,1401,1357,1368,1373,1300,1341,1346,1479,1558,1383,1731,1992,1719,1484,1510,1652,1844,1904,1502,1384,1674,2065,1852,1412,1567,1771,1649,1511,1793,2096,2006,1664,1875,1958,2025,2438,2420,2184,2072,2219,2222,2150,2339,2051,2069,2297,1791,1677,1835,1853,2281,2684,2692,2580,2124,1983,3008,3186,2318,1897,2314,1959,1705,1830,1874,1748,1290,1442,2013,2093,1903,2054,1843,1573,1978,1899,1936,2262,2781,3271,3200,2961,2650,2687,2654,2543,2685,2344,1418,1739,2458,2599,2630,2688,2463,2656,2707,2384,2279,2019,2320,2243,2623,3770,3683,3029,1966,1463,1715,1745,2241,2566,2018,2348,3144,2966,2556,2335,2775,2806,2515,2423,2526,2730,2275,2252,2481,2452,2868,3841,3464,3005,2731,2690,2685,2372,2309,2802,3705,3536,2537,2641,2968,2603,2427,2313,1692,2138,2359,2124,2642,2452,1920,2579,3344,3596,3074,2602,2413,2144,2580,2569,2542,2677,2537,2115,1983,2046,2744,3009,3081,3295,3011,2519,2459,2057,1447,1851,2479,2647,2570,2276,2308,2224,2325,2444,2156,1727,1845,2247,2500,2666,2491,2391,2985,2662,2230,3153,3032,3387,3529,2566,3030,3020,2634,2439,2131,1915,2130,2133,1980,2180,1970,1931,2483,2876,3352,3716,3889,3962,4004,3847,3504,3005,2537,2323,1736,2288,2456,2041,1999,2814,2445,2110,1882,1746,3045,3519,3048,3044,3605,4285,4576,4519,3647,2454,2569,2864,2707,2773,3250,3650,3899,4212,4441,3918,3406,4076,3408,2589,2172,2562,2841,3274,4111,4488,4544,4592,4380,2955,2456,3512,4415,4287,3994,3696,3138,3077,3488,3491,3322,2906,2254,1886,2023,2177,2224,1931,2085,2155,2105,2138,2011,1835,1702,1816,1938,2200,2296,2600,2718,2172,1893,2097,2024,2081,2303,2495,2216,2042,1719,1701,1417,935,494,813,1484,1574,1898,2255,1780,1648,1504,1660,1938,2330,2911,2720,2300,1959,2164,2496,2374,2271,2011,1786,1882,1641,1397,1261,1289,1631,1450,1365,1286,1045,1114,1466,1379,1371,1418,1483,1587,1402,1692,1633,1472,2000,2927,3599,3326,2342,1828,2332,2899,2940,2718,2254,2145,2711,2665,1802,1088,1195,1612,1518,1449,1511,1539,1469,1469,1624,1960,1552,1422,2251,2889,2690,2122,1931,2047,2116,2689,2620,2485,2384,2353,2121,2298,1865,2080,2337,1624,1660,2462,2541,2619,2396,2382,2149,2251,2176,2104,2419,2244,1804,1841,2779,3578,3196,2196,2257,2098,2174,2295,2871,3749,3883,4046,4050,3617,3064,2601,2462,2243,2216,2644,2501,2667,3166,3728,3118,2105,1865,2019,1697,1487,2005,1694,1493,1614,1614,1542,1538,2024,2033,1922,1913,1936,1889,1732,1830,1685,1443,1486,1836,1735,1775,2041,2084,1692,1619,1738,1860,2018,1770,1689,1503,1765,1928,2084,2322,2240,1663,1581,1665,1528,1875,2099,1588,1289,1311,1836,1377,1329,1654,2226,2106,2280,2128,1789,1793,1970,2255,2004,1810,2578,2468,2089,1986,2175,2077,2261,2661,3251,2684,1893,2088,2501,2532,1942,2508,2488,2691,2342,2291,2352,2315,2635,2825,3085,3295,3293,3132,2937,2875,2906,2939,3020,2699,2223,2060,1901,1691,1627,1511,1549,1718,1594,1766,1623,1432,1685,1817,1965,1960,1782,2154,2470,2710,2489,2206,2070,2042,2386,2474,2446,2831,2442,1836,1709,1603,1805,2047,2089,1857,2512,2625,2077,1886,1827,1805,1898,1745,1600,1692,1670,1611,1363,1285,1563,1673,2061,2364,2107,1543,1351,1451,1587,2000,2492,2521,2067,1698,1449,1472,1599,1389,1484,1448,1336,1326,1283,1217,1417,1504,1456,1490,1340,1198,1319,1347,1283,1255,1278,1315,1426,1441,1595,1773,2134,2393,2079,2029,1633,2614,4083,4128,3208,2938,2986,2557,1981,1514,1342,1504,1698,1672,1678,1616,1750,1637,1610,1694,1788,1867,2179,2308,1847,2574,2448,2331,1866,1824,2217,2227,2130,2139,1972,1803,1543,1579,1701,1707,1756,1626,1694,2308,2109,2089,2605,2342,1393,1215,1663,1811,1736,1739,1978,1809,1954,2317,2031,1570,1738,1991,1822,1711,1895,1754,2213,2799,2277,1548,1355,1766,2078,2074,2199,2387,2618,2143,2201,2340,2250,2319,2283,2567,2996,3320,3451,2886,2439,2684,2667,2434,2380,2452,2790,3408,3099,2255,1969,1782,1632,1791,1647,1769,2650,2654,2298,2098,2098,2536,3174,3057,2612,2393,2991,3583,3834,3927,3273,2835,2667,2657,2206,2330,2160,1943,2375,2630,2013,1902,2175,2103,1892,2384,2551,2687,3061,3025,2604,2714,2856,2513,2701,2785,2374,2930,3033,2867,2093,1686,1955,2265,2291,2093,2002,1876,1493,1220,2282,3109,2712,2739,2759,2699,2638,2525,2134,2653,2473,2044,2507,2509,2131,2912,3508,2263,1904,2619,2468,2169,2248,2423,2306,2039,1913,1923,2614,2647,1922,1709,1675,1531,1974,1570,1650,1947,1880,1806,1815,1735,1933,2008,1994,2851,2693,2969,2852,1793,1467,1444,1441,1569,1712,1674,1790,2049,1822,1709,1948,1650,1570,1537,1900,2070,2007,2067,2267,2350,2458,2321,2226,2470,2236,2120,2274,2417,2173,2334,2702,2681,2277,2066,2343,2855,2525,1933,2259,2602,2941,3051,2626,1992,2298,2452,2289,2292,2059,1593,1365,1631,2110,2059,2353,2710,2863,2335,2151,2441,2727,2682,2764,3067,3107,3042,3372,3842,3528,2423,1941,1949,1837,1635,1581,1620,1632,1804,2199,2750,2921,2864,2647,2001,2580,2584,2464,2535,2275,1748,1576,1472,1821,2298,2280,2061,1820,2148,2255,2603,2513,2420,2091,1914,1976,1681,1620,1768,1853,1905,1854,1993,2371,2179,1832,1664,1876,1982,1918,1858,1838,2248,2303,2143,2574,2990,3165,3112,2998,2999,3144,3026,2708,2875,3053,3111,3110,2956,2667,2569,2295,1968,2201,1956,1563,2088,2653,2562,2415,2287,2093,2219,2545,2494,2718,2412,1862,1686,1613,1682,1671,1563,1632,1768,1931,2184,2522,2181,2009,2480,2913,2904,2460,2261,2770,2993,3157,3335,3161,2867,2369,2232,1840,1733,1873,1960,1935,2000,2316,2276,2149,2158,2343,2357,2295,2111,1915,1861,1921],[922,850,1036,1521,1790,1866,2301,2423,3034,3330,4116,4035,3824,3915,3807,3842,4056,4208,4104,3706,3300,3171,3470,3725,3404,2984,3091,3520,3050,3093,3558,3647,3851,3964,3911,3274,3557,3918,3810,3631,3318,3229,3189,2910,2210,1608,2071,2853,2370,2754,3154,3448,4000,3789,3463,3229,3018,2950,2790,2776,2667,1999,1872,1654,1786,2562,3138,2687,2878,2854,2402,2414,2150,2190,2331,2302,2339,2276,2009,2298,2693,2938,2314,2479,3383,3487,2962,2010,1930,2577,3177,2810,1716,2164,2852,3132,3891,3950,3056,2501,2358,2153,2416,2402,2290,2767,3482,3264,3273,3454,3501,3154,2112,1974,2697,2699,2340,2485,2987,3142,3039,3580,3515,3675,3827,3835,3671,3521,2877,2689,3055,2817,2754,2670,3031,3240,3657,3879,3790,3274,3626,3226,2433,2407,2548,2762,2843,3040,2942,2219,2027,1982,2428,2427,1885,1654,1473,1652,1699,1543,1998,3086,3462,3566,3404,3425,3275,3083,3471,3550,3693,3695,3306,3405,3714,3627,3300,2770,2326,2601,3189,3269,3657,3542,3076,2871,2896,3278,3947,3759,2851,3112,3917,3182,2723,2408,2232,2752,3191,3289,3400,3385,2571,2061,2518,2844,2792,2955,2824,2509,2462,2079,2039,2068,2014,2308,2328,2007,2225,2713,2661,2489,2434,2867,2905,3384,3494,3172,2974,2555,2033,2088,1710,1907,2303,2087,2059,2298,2542,2757,2935,3232,3050,2756,2754,2784,2468,1831,2242,2135,2785,2608,2681,2352,2131,2540,2888,2716,2929,3846,3642,2979,3262,3264,2646,2887,2841,2389,1951,1990,2508,2736,2288,2208,2692,2490,2018,1827,2024,2309,2512,2458,2575,2401,2014,2585,3355,2768,2683,3023,2887,2722,2237,2190,1992,1754,1796,1931,2140,2165,2468,2533,1970,2288,2226,2107,2017,2554,2790,3436,3496,3249,3062,2611,2863,2813,2871,2553,2196,2461,2051,1893,2018,1784,1675,1704,1732,1848,2204,2845,2432,2554,3347,3739,3541,2876,3107,2614,2247,2446,2555,2456,2305,2586,3163,2639,3082,3462,2877,2548,2100,2176,2113,1930,1783,1794,2569,2923,2498,1845,1755,1852,2313,2128,2120,2464,2126,1734,1882,1771,1470,1409,1786,2045,2446,2776,3355,3441,3188,3609,4051,3740,3222,2842,2136,1737,1746,2077,1650,1614,1483,1666,2020,2238,2667,2619,2649,2499,1847,1844,2165,2301,2410,2629,2071,1917,1904,1975,1843,2384,3030,3083,3222,3706,3313,2797,2286,1894,2230,2094,1942,1755,2122,2662,2878,2876,2475,2076,2155,2478,2584,3008,2708,2529,3177,3234,2964,3001,2742,2750,2718,1646,1796,2199,2245,1979,1738,2130,2194,2077,2473,2669,2124,2147,2514,2365,2330,2197,1869,1797,1744,1720,1960,2326,2846,3067,2830,2263,2083,2241,2214,2652,2310,2463,2445,2372,2338,2281,1950,2021,2916,3560,2950,2036,1955,2298,2264,2567,2912,2880,2324,2170,2014,2280,2832,3285,3293,3075,3031,3088,2677,2670,2358,2536,2271,2042,2104,2122,1837,1771,2100,2238,1953,2218,2323,1982,1951,2330,2468,3270,3848,3741,3649,3592,3509,3413,3175,2554,2217,2134,2112,1873,1827,1956,2384,3022,3602,3928,4020,3871,3564,3584,3342,2558,2003,1963,1696,1776,2118,2565,2875,2986,2954,2762,2676,2758,3090,3682,3906,3816,2668,2242,2928,3066,2988,3198,3053,2588,2671,2574,2166,1805,2189,2578,3087,3317,2791,2643,2987,3294,2957,2093,1639,1614,1689,1901,2042,1861,1688,1547,1457,1376,1332,1508,1648,1661,1668,1778,1964,2122,1995,2133,2155,1970,1494,1328,1467,1541,1380,1236,1200,1306,1434,1507,1468,1438,1370,1356,1091,1210,1346,1699,2026,1714,1569,1438,1626,1739,1710,1458,1470,1604,1304,1166,1377,1426,1384,1500,1510,1306,1382,2265,3286,3371,3228,1874,1270,1366,1281,1318,1254,1253,1259,1278,1317,1309,1307,1345,1368,1284,1178,1293,1469,1416,1411,1485,1410,1368,1832,1448,1354,1406,1372,1256,1255,1450,1532,1892,1992,1526,1780,2194,2242,2081,2210,1990,1572,1370,1336,1301,1550,1827,1701,1528,1764,1896,1733,1613,2036,1829,1642,1553,1808,2309,3070,3097,2381,2186,1659,1710,1942,2208,1929,1779,1986,1944,2048,2219,2048,2171,2470,2545,2706,2265,2208,2669,2652,2513,2448,2113,1868,1838,1850,1870,1614,1330,1588,2114,2389,2302,1918,1817,1523,1462,1425,1372,1475,1645,2193,2985,3009,2835,2698,2534,2378,2445,2589,2360,1571,1818,2655,2636,2719,2899,2344,2569,2698,2527,2161,2032,2401,2782,3891,4759,4560,3382,2292,1889,1766,1795,2302,2414,2070,2259,2986,3042,2142,2019,2673,2243,2158,2586,3222,3506,3210,2887,3245,3310,3463,3595,2757,2521,2742,2899,2720,2171,2297,3030,2814,2050,1897,1815,2554,2444,2070,1932,2092,2500,2700,2225,2608,2770,2457,3120,3930,3580,2160,1693,1961,2255,2688,2534,2414,2273,1992,1757,2523,2401,2512,2795,3128,3044,2658,2430,2262,1824,1606,2208,2732,2591,2216,2326,2493,2285,2114,2486,2498,2142,2222,2381,2238,2491,2255,2254,2657,2408,2828,2901,2426,2713,3528,2866,2265,2783,2900,2769,2980,2889,3316,3095,2558,2385,2664,3292,3689,4009,4227,4219,4038,3999,4067,4212,4184,3497,2270,2275,2376,2978,3340,2517,2784,4039,3594,2645,1933,2109,2508,2464,2857,2741,3064,3631,4082,4155,4157,3869,3499,3018,2666,2496,2714,2965,3552,3896,4274,4476,4641,4460,3797,3195,2758,2819,2927,3229,3853,4364,4519,4640,4591,3583,2798,3107,4120,4760,4820,4408,3330,2940,3824,3854,3387,2964,2530,2615,2304,2341,2256,1872,1828,1707,1770,1722,1654,1874,1813,1958,1882,1753,1807,2126,2275,2349,2652,2508,2174,2378,2148,2309,2082,1814,1795,1537,1451,1678,1470,1483,1631,1292,1274,1782,1644,1515,1563,2037,2155,2381,3078,2793,2272,2383,2519,2481,2580,2093,1786,1809,1534,1676,1847,1593,1664,1633,1328,1295,1048,1003,1354,1391,1366,1400,1025,1139,1571,1567,1570,1340,1620,2567,3163,3252,2724,1973,2273,3090,3518,3518,2684,2254,2162,2076,1557,1205,1060,1232,1513,1375,1555,1530,1218,1234,1870,2166,1873,1591,2228,3297,3326,2642,2166,1669,1997,2716,3275,2847,2697,2082,1684,1816,1796,1593,1732,1992,2142,2818,3372,1894,1758,2002,1751,1620,2123,2237,2138,2284,2092,1923,2392,2475,2428,2565,1839,1920,1947,2270,2004,2098,2736,3328,3708,3974,3579,2485,2042,2615,2324,2344,2486,3083,2820,3230,4276,4019,3307,2696,2676,2053,1816,2228,1666,1457,1714,1575,1687,1749,2008,2232,2141,1963,1864,1656,1677,2065,1614,1555,1533,1991,2072,1902,2090,2071,1706,1556,1733,1831,1926,1471,1036,1136,1722,2260,2460,2387,2238,1685,1557,1993,1531,1662,2137,1727,1189,1288,2016,1932,1476,1729,2310,2138,1706,1426,1622,1976,2213,2082,1992,2041,2626,2250,1918,2352,2530,2182,1830,2294,3098,2430,2408,2608,2994,2912,2317,2317,2524,2758,2647,2586,2452,2542,2788,2739,2985,3244,3340,3236,3115,3138,3130,3138,3124,2624,1890,1781,1934,1682,1513,1561,1726,1814,1646,1733,1582,1491,1667,1572,1817,2003,1637,1969,2722,3031,2132,2167,1908,1811,2148,2596,3431,4113,3215,2115,2025,1611,1479,1794,2330,2404,2470,2678,1991,1601,1615,1824,2055,1790,1563,1641,1700,1388,1488,1928,2146,1659,2061,2605,2261,1563,1604,1957,1997,2293,1996,1909,1843,1617,1538,1600,1564,1316,1340,1470,1462,1478,1322,1293,1432,1563,1562,1531,1358,1246,1250,1353,1393,1342,1373,1556,1621,1581,1913,2469,2568,2755,2056,1572,1520,2919,3969,3172,2603,3012,2584,2172,2147,1841,1802,1663,1853,1895,1834,1753,1760,1713,1680,1579,1729,1916,1778,1582,1592,2046,2034,1973,2098,2130,2026,1794,1714,1813,1869,1859,1621,1669,1716,1860,1820,1824,1738,1749,1732,2209,2853,2646,1573,1065,1217,1493,1438,2027,2317,1887,1987,2226,1785,1508,1924,2209,1884,1716,1754,1590,1592,2106,2429,2055,1820,2409,2845,2489,2155,2156,2565,2207,1904,1970,1789,1967,2361,2954,3161,3118,2788,2068,1899,2718,2878,2907,2921,2447,2302,3225,3097,2630,2309,1790,1693,2040,1932,1889,2208,2410,2142,2327,2270,2999,3924,3576,2666,2479,2893,3260,3648,3902,3528,3156,2798,2812,2562,2578,2358,1910,2338,2078,1758,1766,1895,1919,1734,2590,2669,3088,3384,3232,3100,3096,2770,2576,2964,2713,2210,3047,2866,2352,1832,2008,2054,2225,2424,2230,1878,1487,1491,2178,3046,2864,2487,2635,2470,2240,2182,2352,2496,2654,2496,2590,3108,2653,1999,2984,3560,2591,2077,2902,2453,2260,2589,2586,2404,2444,2104,1780,2111,2069,1852,1936,1783,1524,1633,1708,1693,1538,1481,1398,1488,1848,1814,1666,1750,2232,2198,2402,2350,1756,1458,1575,1744,1686,1808,1906,1937,2151,2198,2166,1888,1748,1906,1796,1760,1787,2049,2626,2664,2114,2211,2266,2361,2029,1713,2142,2648,2415,1908,2033,2352,2333,2522,2201,2200,2996,3206,2485,2162,1853,2655,3165,2556,2181,2414,2390,2432,2670,2490,1891,1504,1580,2071,2335,2019,2214,2372,2468,2432,2252,2495,2574,2564,2599,2789,2834,3318,3738,3658,3096,2128,1800,1664,1650,1750,1648,1716,1682,2289,3108,2929,2269,2310,2203,2480,2457,2279,2381,2182,1591,1704,1507,1697,1761,2134,2100,1907,2167,2530,2388,2315,2517,2272,2070,2052,1953,1998,2235,1937,2331,2182,1938,2136,2285,1944,1617,1753,1815,1718,1725,1786,2223,2294,2238,2746,2890,2963,3054,3017,3021,3320,3338,2806,3055,3150,3177,2885,2946,2965,2860,2709,2387,2314,2304,2242,2600,2696,2723,2544,2545,2380,2218,2273,2484,2759,2501,1959,1520,1508,1580,1570,1593,1710,1721,1793,2103,2440,2564,2245,2492,2529,2410,2281,2343,3201,3079,2731,2628,2712,2811,2608,2272,2008,1958,1969,2288,2420,2586,2543,2260,2082,1953,2103,2199,2209,2238,2078,1954,2170],[925,981,1311,1755,1819,2483,2854,2945,3029,3250,3497,3249,3040,3275,3460,3330,3431,3680,3726,3288,3082,2998,3027,2939,3125,3624,3813,3309,2739,3094,3836,3818,3871,3903,3403,2928,2957,3365,3400,3351,3409,3204,2852,2830,2792,2821,3028,2955,1935,2418,2967,3496,3706,3439,3263,3189,3272,3353,2974,2721,2360,1910,1831,1915,2012,2189,1997,2118,2941,2587,2135,2232,1865,2275,2336,2437,2768,2333,2075,2049,2017,2679,2812,3153,3746,3702,2790,2096,2043,2434,2999,3083,2797,2587,2536,2867,3637,3339,2189,2418,2864,2802,3002,2220,2409,3067,3262,3294,3404,3675,3852,3507,2473,2054,2714,3116,2753,2952,3487,3858,3472,3296,3444,3753,3785,3507,3296,3274,3155,2976,2986,3394,3023,2208,2700,2850,3572,3940,3249,2941,3547,2998,2315,2634,2797,2766,2904,3266,2896,2532,2389,2426,2266,1674,1449,1438,1549,1613,1561,1473,1747,3174,3654,3714,3508,3395,3076,3075,3388,3377,3365,3079,3142,3498,3688,3247,3474,3608,3398,3185,2897,2973,3165,3140,2939,2834,2845,3068,3820,3772,3282,3334,2968,2678,2226,1776,1963,2337,2872,3608,3351,2438,1438,1499,2135,2564,2909,2781,2455,2602,2400,2126,2271,2081,2136,2521,2923,2122,2272,2736,2801,3035,2413,1812,2236,2749,2926,3154,2563,1927,1886,1641,1361,1611,1681,1821,2004,2201,2612,2806,2928,3362,3022,2641,2529,2724,2829,2024,2401,2308,2279,2561,2493,2093,2219,2439,2303,2335,2584,2908,2867,2351,2337,2240,2308,2643,2630,2192,1990,2191,2236,2080,1767,2166,2587,2418,2476,2043,2056,2106,1924,1941,2544,3188,3250,3401,3540,3060,3262,2959,3144,2697,2284,2342,2097,2100,2060,1859,1880,1966,2568,2198,2254,2145,1922,2173,2185,2018,2219,2852,2801,2822,2877,2057,1925,2063,2373,2119,1898,1934,2029,2075,2083,1833,1655,1719,2019,2109,2060,2259,2499,2566,2739,3392,3317,2917,3163,2653,2198,2711,3116,2828,2381,1845,1931,2279,3117,3660,3458,3267,2566,2216,2255,2050,2088,1784,2163,2409,2193,1689,1590,1602,1776,1718,1927,2084,1782,1989,2434,1764,1384,1339,1481,2142,2555,2469,3132,3231,3181,3354,3706,3722,3040,2584,2113,1952,1771,1959,1874,1786,1816,1775,2032,2678,3151,3107,3238,3294,3264,3330,3299,3207,2908,2829,2569,2234,2209,2147,2365,3113,3045,2686,2933,2883,2750,2724,2093,1734,1989,2051,2031,1745,2082,2786,3291,3196,2934,2117,2205,2173,1814,1918,1891,2137,2653,3161,3312,3030,2426,1847,1602,1555,1721,1969,2213,2118,1876,2293,2317,2087,2146,1887,1548,1677,2249,2393,2103,1858,1736,1621,1520,1592,1896,2437,3311,3704,3025,2324,2307,2203,1667,1700,1806,2321,2484,2334,2253,2117,1715,1653,2430,3012,2381,1968,2018,2510,2483,2291,2718,2803,2614,2224,2142,2753,3267,3235,2749,2966,3063,2897,2435,2781,2647,2404,2004,2074,2436,2344,2251,2123,2308,2181,2149,2522,2205,1880,1775,2480,3245,3522,3606,3609,3596,3365,2915,2565,2830,2191,1990,1956,2221,2348,2063,2159,2410,2561,3103,3908,3782,3720,3543,3120,3040,2584,2128,1917,1555,1493,1764,2215,2721,2929,2932,2733,2800,3200,3656,3682,3491,3470,2683,2536,3075,2974,2662,2909,2787,2744,2799,2166,1954,2081,2288,2719,3058,3053,2757,2613,3068,3431,3135,2248,1692,1613,1777,1898,2191,2120,1698,1530,1557,1483,1563,1913,1981,1956,1753,1797,2178,2270,2287,2677,2215,1362,1240,1474,1644,1565,1386,1265,1392,1377,1395,1513,1443,1412,1337,1162,1353,1819,1832,2068,2104,1736,1684,1494,1430,1654,1548,1606,1986,1829,1498,1394,1388,1339,1485,1454,1521,1434,1471,2521,3062,3270,3176,2117,1560,1535,1286,1374,1240,1116,1140,1306,1321,1295,1260,1313,1362,1344,1292,1287,1351,1440,1341,1367,1384,1298,1388,1229,1242,1415,1424,1238,1265,1436,1644,2090,2159,1875,1814,1934,2008,1989,2048,2157,1842,1632,1535,1619,1705,1737,1509,1477,1474,1748,1764,1919,2034,1213,805,1317,1991,2641,3297,2859,2150,1792,1519,1658,2066,1827,1216,1684,1925,1622,2022,1947,1863,2132,2217,2410,2430,2056,2116,2668,2082,2049,2741,2019,1179,1784,2071,1823,1247,1549,1955,2321,2752,2578,2371,1721,1704,2458,2264,2120,2410,2590,2687,3031,2790,2569,2631,2393,2182,2396,2565,2020,1392,2057,2642,2303,2733,2561,2237,2750,3284,3008,2178,1946,1925,2664,3927,4376,4272,3399,2613,2113,1838,1924,1981,1839,1872,2386,2482,1941,1476,1926,2382,2212,2715,2426,2584,3000,3367,3515,3680,3753,3572,2946,2788,2890,2534,2958,3061,2543,2612,2630,1720,1935,2504,2416,2406,2150,2168,2178,2345,2573,2919,2144,2517,2625,2818,3317,3448,3333,2521,2631,3021,2640,2533,2715,2537,2286,2260,2320,2424,2784,2818,2351,2510,2491,2352,2627,2132,2027,1938,2126,2238,1793,1081,1620,2372,2624,2744,2675,2266,1950,1991,2113,2187,2536,2249,2232,2374,1881,2083,1934,2226,2445,3073,3137,2376,3002,3231,4062,4289,4120,4082,3828,3115,2706,3442,3954,4001,4137,4252,4207,4057,4155,4392,4475,4520,3936,2413,2246,2897,3212,3649,3159,3149,4132,4301,3393,2215,2369,2405,2354,2362,2640,2944,3173,3443,3850,4289,4509,3994,2608,2476,2596,2722,2819,3382,3949,4284,4357,4553,4528,4308,3781,2939,2800,2730,2842,2987,3881,4380,4508,4583,4248,3307,2423,3095,4429,4965,4696,3740,2948,3427,4056,4062,3535,3176,3021,2546,2214,1888,1657,1525,1243,1414,1430,1748,1950,1853,1781,1931,1859,2024,2196,2210,2619,2736,2374,2482,2944,2264,1918,1816,1735,1670,1775,2056,2277,2160,2030,1781,1338,1240,1614,1602,1503,1762,2251,2305,2725,3340,2951,2340,2295,2077,2226,2408,1981,1837,1340,1394,1611,1597,1562,1664,1361,1008,1181,995,1213,1376,1270,1302,1149,771,1489,1880,1722,1506,1468,2617,3398,3230,2790,2198,1967,2807,3522,3548,3219,2570,2245,1838,1405,1142,953,953,1264,1515,1423,1476,1461,1177,1601,2007,1690,1577,2319,3033,2962,2823,2642,2325,1682,2105,2757,2737,2202,2127,1820,1615,1890,2073,1686,1596,1966,2346,2358,2496,1984,2040,1874,1792,2057,2421,2193,1857,2142,1961,2084,2833,3209,3023,2504,1963,2132,2435,2426,2380,2092,1941,2626,3355,3607,3043,2124,2271,2798,2408,2475,2902,3539,3283,3000,3173,3551,3863,2953,2032,1516,1554,1721,1500,1526,1593,1522,1788,1796,1728,1972,1995,1879,1611,1639,1887,2145,1682,1524,1583,1893,2025,1826,1790,1824,1947,1749,1971,1872,1709,1541,1371,1936,2374,2475,2260,1901,1832,1563,1532,2158,1637,1538,2069,1919,1292,1561,2440,2504,1767,1539,2071,2187,1736,1390,1670,1852,1958,1859,1885,1967,2031,1907,1964,2123,2228,2261,1829,2060,2721,2508,3046,2849,2729,2811,3354,3627,3166,3032,2951,2668,2643,2508,2769,2624,2819,3152,3312,3203,3130,3107,3037,3041,2890,2623,2357,2501,2175,1699,1620,1879,1752,1592,1559,1496,1485,1598,1727,1588,1579,1736,1704,2110,2426,3057,2011,2488,2354,1735,2481,2976,3122,3329,2977,2450,1880,1874,1644,1859,2490,2718,2767,2702,2084,1782,2172,2349,2178,1666,1519,1673,1751,1620,1760,1755,1826,1689,1694,2004,2059,1924,2185,2115,1998,2229,1759,1859,1837,1746,1584,1397,1399,1420,1356,1306,1293,1405,1278,1288,1403,1436,1332,1346,1358,1404,1379,1295,1309,1330,1354,1481,1477,1600,1876,1843,1743,2165,1905,1511,1442,1969,2431,2269,2319,2724,2156,2014,2095,1678,1724,1786,1883,1713,1345,1406,1739,1642,1672,1656,1892,1704,1577,1693,1463,1432,1533,1888,2504,2366,1842,1824,1939,1722,1723,1928,1794,1320,1431,1634,1753,1891,1802,1651,1732,1566,1765,2055,1617,1231,1492,1570,1615,1926,1887,1867,2100,2138,1955,1862,2285,2445,1995,1961,1825,1499,1433,1921,2395,2668,2686,3116,3774,3097,2644,2654,2254,1997,2120,2460,2210,2030,2499,2786,2690,2408,1882,1519,1530,1752,2708,3257,3176,2691,2938,3149,2839,2427,1976,1779,1795,1954,1924,1774,2058,2641,2064,1898,1988,2496,3196,3075,2566,2501,2319,2552,2575,3120,3106,2897,2722,2979,2598,2867,3214,2655,2426,2025,2344,2114,2644,2599,2165,2644,2707,3139,3576,3142,2798,3288,3009,2557,3023,2750,1686,1763,2076,2169,1954,1897,1964,2201,2348,1765,1372,1279,1627,2210,2252,2501,2814,2600,2242,2129,2147,2598,2841,2765,2930,3499,3467,2700,2294,2943,3197,2202,1802,2481,2110,1987,2592,2386,2225,2088,1758,1763,1501,1437,1475,1589,1690,1724,1602,1606,1542,1432,1497,1327,1388,1859,1781,1500,1471,1600,1786,2073,2158,2034,1822,1768,1875,1864,2186,2141,1763,1726,2208,2010,1603,1619,1877,1824,1671,1801,1996,2564,2739,2087,2345,2500,2563,2331,2372,3006,2714,2058,2125,2466,2466,2154,2806,2517,2080,2408,2880,2221,1857,1727,1882,2177,2219,2211,2366,2401,2935,2900,2923,2408,1827,1663,1931,2177,2152,2307,2418,2651,2523,2526,2624,2621,2591,2629,2743,2788,3345,3684,3558,2674,1968,1648,1507,1640,1670,1614,1619,1626,2264,2525,2634,2612,2223,2247,2413,2155,2006,1760,1634,1500,1667,1689,1785,1810,1805,1779,1774,1999,2193,2028,2283,2276,2194,2048,1932,2129,2338,2416,2261,2341,2077,1889,1936,1873,1634,1674,1763,1735,1515,1580,1727,1819,1941,2328,2552,2670,2766,2762,2827,3219,3282,3366,3123,3272,3226,3209,3150,3344,2954,2536,2442,2200,2401,2999,2744,2956,3094,3219,2596,2523,2050,1718,2016,2451,2371,2062,1863,1651,1744,1650,1604,1489,1510,1542,1851,1914,2282,2642,2360,2325,2266,2208,2139,2192,3101,2940,2340,2414,2570,2543,2623,2436,2294,2324,2706,2752,2693,2881,2416,2250,2100,1799,2138,2231,2033,2156,2056,2238,2452],[1163,1323,1735,1886,2074,3089,2995,3088,2810,2200,1851,2015,2220,2147,2442,2719,2872,3034,2968,3016,3108,3139,3450,3403,3133,3383,3316,2694,2675,3495,3811,3736,3603,3616,2856,2820,3115,3362,3272,3366,3640,3132,2019,1982,3020,2940,2524,2610,2341,2558,2702,3328,3298,2806,2846,2876,2976,3064,3095,3088,2157,1716,1824,2204,2141,2182,2184,2626,2856,2189,2126,1958,2142,2216,2076,2584,2962,2700,2260,1870,2060,2523,2680,3013,3194,3166,2581,2707,2174,2279,2862,3256,3027,2625,2415,2533,2868,2596,2002,2696,2414,2407,2764,2023,2419,3161,3262,3275,3550,3647,3727,3916,3298,2833,3164,3259,3387,3452,2588,2020,1943,2168,2484,3203,3618,3232,3104,3297,3422,3516,3749,3499,2840,2087,3024,3871,4200,3935,3217,3051,3232,3063,2590,2652,2857,2807,2853,3063,2518,2587,2771,2624,1916,1221,1274,1440,2029,1806,1495,1383,1747,2926,3534,3636,3378,3264,3233,3274,3333,3429,3316,3149,3216,3481,3831,3485,3309,3383,3518,3276,2886,2823,2934,2950,2824,2841,2993,3282,3481,3394,3194,3165,2655,2271,1812,1537,1871,2175,2389,3100,2799,1613,1622,1884,2652,2770,2684,2388,2466,3099,2512,2127,2126,2053,2157,2518,2430,1836,1720,2142,2707,3184,3030,2785,2885,2882,3116,3672,2653,2451,2170,1926,1510,1158,1451,1910,2204,2457,2889,3119,2791,2931,2421,2130,2286,3066,2912,1865,2040,2209,2218,2510,2390,2422,2554,2467,1926,1583,1843,2003,2226,1963,1798,2029,2385,2391,2190,2307,2171,2385,2810,2530,1962,2420,2894,2746,2287,2106,2100,1776,1638,1764,2548,3428,3606,3475,3306,2897,3006,2923,2925,2619,2326,2294,2244,2335,2402,2437,2019,2309,3282,3010,2658,2207,2140,2356,2183,1844,1943,2242,2518,2447,2696,2231,1855,2166,2725,2642,2128,2052,2166,2162,2270,2088,1870,1972,2155,2385,2182,2322,2578,2756,2994,3212,3067,2849,3161,2454,3079,3472,3860,3616,3431,2710,1841,2008,2614,3483,3626,2758,2630,2460,2204,2036,2050,1643,1730,1839,1890,1715,1666,1717,1716,1577,1656,1791,1985,2102,2115,1838,1617,1632,1846,2312,2547,2745,2917,2950,3416,3628,3448,3401,3293,2766,2126,2147,2352,2719,2642,2375,2469,2352,2304,2917,2888,2804,3706,3654,3769,3631,3314,3182,2824,2874,2854,2260,2159,2291,2365,2791,2115,2197,2232,1951,1961,2257,2019,1931,1954,2002,2000,2117,2422,2707,3184,2738,2357,2134,2132,1895,1911,1934,1958,1984,2007,2446,2822,2544,2288,2005,1601,1676,1652,1831,2299,2166,1838,2307,2654,2488,2172,2060,1748,1779,1891,2042,1992,1709,1607,1615,1875,2178,1996,2031,3146,3455,2784,2501,2402,2317,1932,1802,2079,2408,2449,2444,2574,2344,2139,2141,2317,2676,2377,2175,2142,2489,2370,2421,2876,2834,2164,2017,2365,3156,3340,3273,3155,3340,3244,2939,2691,2670,2456,2128,1829,2185,2821,3057,2630,2196,2253,2275,2514,2493,2231,2220,2272,2852,3093,3172,3348,3393,3173,2874,2149,2127,2349,2078,1891,1980,2488,2564,2252,2086,2230,2918,3376,3874,3571,3028,2677,2519,2567,2621,2315,1963,1666,1480,1571,1907,2476,2748,2752,3098,3376,3636,3729,3527,3484,3510,3266,3020,3094,2898,2770,3286,3006,2405,2040,1999,2163,2164,2290,2499,2270,2076,2312,2401,2564,2840,2522,2114,2056,1904,1875,2082,2421,2248,1758,1596,1623,1534,1559,1862,2002,1848,1620,1806,2144,2165,2381,2540,1946,1421,1349,1425,1511,1511,1391,1420,1737,1477,1413,1391,1389,1404,1254,1143,1930,2657,2304,2290,1827,1721,1669,1459,1364,1519,1510,1938,2350,1946,1936,1632,1356,1269,1531,1632,1544,1515,1681,2533,3108,3388,3429,2764,1736,1422,1266,1342,1322,1165,1299,1382,1422,1345,1282,1370,1442,1387,1373,1349,1311,1292,1256,1295,1297,1293,1350,1360,1302,1450,1493,1266,1182,1236,1292,1750,2520,2499,1968,1786,1879,2104,2698,2852,2170,1713,1719,1816,1594,1569,1563,1440,1502,1868,1732,1296,965,982,1089,1569,2452,3406,3142,2247,2182,1753,1801,1827,1655,1442,1390,1790,1960,1788,2115,1858,2106,1822,1819,1987,1952,1975,2008,2002,1902,2174,2178,1436,1270,1908,2037,1485,1521,2072,2248,2556,2770,2363,1936,1774,2293,3248,3186,3299,3746,3575,3330,3409,2466,2163,2173,2108,2256,2387,2246,1502,1477,2117,2543,1737,1766,1699,2248,2864,3479,3330,2500,1945,1832,2336,3292,4119,3837,3385,2732,2166,2501,2832,2654,2155,2006,2755,2438,1772,1600,1903,2252,2414,2634,1722,1250,1803,2222,2337,2622,3185,3835,3918,3375,2824,3017,2520,2438,2867,2989,3108,2459,2783,3154,2275,2192,2476,2790,2769,2917,3536,3356,2467,2364,2451,2611,2429,2554,2977,2636,2396,2962,3208,3002,2963,2406,2331,2065,2096,2364,2608,2564,2213,2437,2779,3132,3003,2510,2796,2697,2163,1997,1826,1150,1579,2525,2754,2984,2766,2025,1738,1809,2070,2339,2160,2036,1884,1824,1748,1780,1838,2016,2031,2499,3210,2622,2858,3065,3950,3769,3372,3360,3522,2931,2583,3324,3780,3827,4177,4421,4499,4462,4538,4612,4498,4428,4252,3099,2741,3038,2949,3013,3166,3784,4220,4259,3939,2542,2016,2149,2203,2452,2579,2498,2328,2397,2986,3827,4320,3619,2687,2844,2958,2956,3378,3464,3251,3134,3287,4141,4661,4515,4148,3269,3100,2512,2200,2298,3318,4138,4371,4391,4408,3659,2539,3063,4413,4965,4844,4280,3600,3447,3853,4184,4100,3855,3401,2684,1937,1879,2106,1866,1356,1273,1610,1904,1997,2014,1685,1696,1782,1882,2137,2259,2236,2358,2413,2474,2759,2294,1936,1874,1823,2342,2369,2292,2483,2636,2608,2426,1954,1660,1603,1488,1681,2065,2613,2489,2624,3354,3099,2487,1990,1948,2224,2198,1950,1552,1207,1688,1974,1837,1737,1764,1598,1322,1396,1214,1344,1337,1402,1143,1024,1426,2081,2101,1835,1482,1966,2923,2828,2841,2471,2072,2486,3005,3305,3007,2687,2743,1983,1159,1227,1229,1051,1148,1351,1573,1600,1460,1347,1597,1983,1832,1763,2237,2924,2756,2447,2664,2577,2592,2447,2755,2558,2034,1889,2138,2091,1783,1883,2184,1920,1883,2335,2046,1787,1829,2193,2261,1877,1764,2003,2306,1971,1880,2090,1920,2108,2277,2363,2999,2588,2206,3050,3089,2541,2675,2263,1580,1641,2282,3023,2736,2489,2644,2486,2437,2911,3176,3396,3385,3094,2640,2520,2780,2504,1894,1619,1561,1474,1512,1773,1846,1832,1750,1637,1422,1668,1826,2065,1801,1790,1887,1776,1579,1605,1601,1559,1977,2050,1793,1716,1881,1615,1743,1697,1870,1885,2010,2261,2224,2200,2066,1838,1696,1404,1507,2103,1706,1279,1868,2115,1532,1627,2493,2503,1661,1415,2092,2523,2040,1599,1715,1808,1791,2186,2329,1891,1758,2004,1874,1494,1848,2417,2182,2105,2479,2676,2898,2752,2438,2252,3120,3877,3460,3580,3376,2850,2604,2509,2718,2761,2899,3131,3288,3239,3131,3099,3199,3094,2567,2110,1977,2802,2510,1786,1534,1534,1659,1826,1704,1727,1711,1644,2076,1786,1594,1639,1661,2374,2755,3021,2022,1866,1838,1853,2908,2968,2240,1897,2298,2680,2056,2230,2142,2266,2652,2589,2418,2403,2442,2158,2297,2307,1947,1553,1948,2080,1917,1901,1736,1735,2080,1966,1842,2270,2260,2001,2353,2071,1964,1887,1803,2218,2293,1821,1735,1804,1550,1584,1472,1568,1950,1933,1714,1550,1406,1311,1301,1303,1366,1441,1314,1277,1310,1291,1245,1449,1520,1379,1565,1827,2045,2033,1713,1580,1884,1871,1576,1845,2264,2024,1892,1636,1530,1662,1631,1662,1644,1517,1341,1554,1554,1530,1828,1886,1835,1560,1608,1848,1738,1592,1578,1703,2117,2248,1730,2198,2036,1664,1606,1748,1792,1690,2032,2001,1735,2107,2132,1699,1544,1444,1622,1748,1745,1699,2010,2291,2303,1966,2096,2227,2150,1809,1789,1691,1842,2444,2248,1981,2042,1930,1920,1855,1954,2467,2164,2266,3084,2987,2935,2713,2419,2403,2426,2406,2242,2462,2852,2478,1902,2257,2094,2123,2080,2421,3244,2963,2451,2621,3130,2967,2464,2112,1859,1742,1984,1876,1912,1912,2230,2663,2450,2201,2214,2146,2230,2310,2522,2729,2312,2420,2276,2044,2485,2475,2138,2753,2902,2757,2990,2966,2376,2208,2641,2251,2697,2591,2680,3205,2766,2498,3068,2708,2625,2781,2210,1763,2527,2452,1344,1016,1742,2620,2474,2222,2214,2095,1810,1407,1257,1800,2865,2497,2260,2554,2608,2425,2390,2273,2128,2411,2466,2519,2770,2820,2519,2171,2361,2546,2577,2135,2141,2620,2238,2110,2358,2044,2289,2197,2124,1927,1582,1417,1714,1898,2160,2523,1874,1654,1566,1413,1307,1376,1481,1844,1969,1707,1591,1562,1709,2017,2381,2455,2093,1694,1607,1722,2388,2377,2002,1670,1538,1544,1645,1709,1795,1725,1744,1929,2026,2277,2397,2055,2297,2570,2536,2756,3332,3249,2544,2440,2368,2624,2756,2072,2464,2854,2399,2153,2488,2255,2166,1892,1560,1931,2247,2382,2437,2313,2850,2973,3009,2918,2525,2341,2569,2767,2972,3172,2934,2511,2419,2585,2609,2576,2565,2583,2641,2841,3022,3067,2482,1819,1960,1944,1639,1521,1582,1807,1648,2017,2633,2249,2324,2297,1983,2249,2364,2276,2285,2067,1706,1636,1523,1759,1816,1830,1726,1659,1650,1649,1917,2288,2059,1853,2082,1865,2056,2040,2148,2216,2010,2023,2126,2132,1953,1710,1583,1672,1816,1672,1394,1404,1688,1700,2138,2872,2924,2714,2454,2835,3133,3310,2888,2810,2998,2962,2754,3131,3714,3381,2573,2639,1996,1730,2247,2706,2416,2844,2956,2696,2486,2449,2348,2256,2276,2285,2028,1995,1965,1691,1692,1479,1518,1472,1455,1535,2150,2392,2034,1934,1959,2347,2523,2290,2622,2376,2770,3011,2801,2817,2678,2525,2721,2720,2498,2194,2832,2712,2714,2692,2462,2779,2413,1834,2110,2200,1914,1979,1996,2112,2186],[1968,1798,1922,1864,2724,3123,3124,2990,2177,1728,1446,1592,2048,2052,2146,2410,2658,2763,2722,3187,3531,3225,3301,3492,3042,2801,3078,2888,3190,3747,3915,3698,3031,2483,2507,2805,2978,3189,3365,3624,3623,3863,3225,2709,3039,2897,2919,2984,3151,3041,2820,2868,2750,2691,2871,2882,2849,2977,2768,2425,1936,1744,1880,1881,2068,2359,2406,2720,2487,1660,2150,1961,2619,2472,2421,2634,2647,2468,2177,1953,2130,2325,2408,2519,2708,2589,2002,2123,1693,1974,2316,2268,2379,2462,2518,2577,2635,2452,2889,3285,2942,3042,3322,3174,2919,2689,2717,2900,2905,3059,3791,4210,3251,2809,3129,3304,3917,3787,2480,1663,1509,1559,2215,3023,3182,2657,3064,3762,3658,3361,3285,3093,2437,1949,2656,3474,3883,3286,2961,3230,3422,3210,2596,2940,3002,2849,2832,2907,2386,2247,2432,2157,1760,1603,1948,1581,1564,1453,1572,1790,1992,2283,3112,3747,3655,3518,3398,3074,3112,3562,3623,3676,3499,3639,4009,3861,3095,2708,2958,3028,2888,2817,2845,2838,2946,2857,2796,3031,2945,2989,3064,2996,2884,2591,1825,1802,1844,1796,2072,2440,2551,1916,1742,2261,2763,2154,2169,2395,2600,3008,2183,2253,2146,2154,2522,2521,2134,2085,2401,2949,3319,3437,3495,3354,2961,3154,3316,3913,3305,2729,2390,2549,2143,1825,2079,2377,2788,2874,3025,2510,2204,3235,2649,2171,2363,2790,2535,1963,1791,2058,2564,2840,2540,2697,2515,2001,1758,1647,1774,2184,2565,2552,2272,2111,2304,2150,2061,2305,2319,2410,2701,2596,2144,2025,2518,2573,2262,2563,2154,1728,1819,1915,2490,3256,3341,3111,2745,2234,2596,2501,1959,2069,1953,2031,2151,1938,2015,2672,2679,2509,3107,3366,3129,2669,2308,2239,2027,2055,1753,2137,2626,2017,2338,2394,2135,2946,3607,3636,3084,2697,2988,3257,2733,2664,2406,2531,2294,1969,2102,2647,2453,2486,3131,3441,3840,4356,4111,3211,3643,3871,3893,3434,3292,3068,2442,2024,2601,3580,3016,1973,2514,2673,2307,1868,1975,1755,1785,1947,1798,1536,1627,1985,1915,1556,2167,2545,2768,2528,2274,2112,2155,2300,2379,2524,2889,2989,3168,3340,3985,4010,3753,3364,2811,2287,2127,2056,2228,3186,3582,2891,2470,2843,2734,2830,2512,2978,3786,3674,3771,3672,3162,3053,3038,3049,2943,2334,2212,2255,2610,2470,1952,1854,1738,1793,1832,1846,1892,1758,1546,1643,1871,2032,2009,2476,2455,2406,2430,2409,1996,1894,2007,1957,2214,1975,2182,2953,3232,2316,2342,1996,1638,1826,1923,2181,2308,2042,1528,1822,2026,2214,2307,2307,2184,1994,2236,2416,1965,1475,1458,1550,1886,1669,1545,1798,2834,3063,2612,2451,2432,2214,1945,1952,2198,2429,2592,2522,2669,2799,2963,2780,2625,2739,3088,2569,2161,2377,2228,2053,2272,1818,1474,1655,1743,2228,2603,3109,3435,3392,3378,3493,3367,2750,2466,2584,2203,2384,2618,2517,2203,2051,2254,2798,2665,2089,2194,2115,2470,2943,2776,2616,2845,3200,2558,2136,1858,1932,1955,1809,1801,2231,2845,3047,2664,2213,2039,2245,3140,3567,3264,3001,2820,2821,2798,2438,2258,2149,1847,1533,1532,1770,2220,2752,3194,3367,3294,3239,3182,3619,4152,3880,3458,2719,2463,2862,2792,2450,1899,1979,2115,2254,2366,2518,2497,2142,1627,1681,2054,1869,1630,1859,1873,1930,1939,2000,2228,2360,2183,1898,1614,1487,1531,1497,1551,1738,1763,1768,2060,2160,2059,2109,1998,1880,1576,1580,1628,1541,1517,1592,1620,1949,2276,1824,1477,1344,1332,1365,1172,806,1456,2069,1781,2273,1918,1666,1653,1633,1649,1698,1643,1939,1935,1662,2066,1834,1242,1254,1504,1651,1501,1505,1804,2654,3288,3338,3620,3288,1644,1086,1135,1303,1428,1925,1820,1432,1638,1495,1389,1369,1339,1285,1337,1463,1359,1289,1283,1248,1278,1334,1478,1427,1349,1383,1344,1237,1177,1285,1366,1554,2741,2928,2054,1720,1796,2027,2397,2327,1697,1468,1735,1670,1811,1517,1642,1440,1508,1772,1573,1175,1004,1473,1986,2106,3221,3925,3178,2212,1771,1526,1815,1946,1859,1971,2260,2177,1887,1781,1977,1931,2090,1858,1844,1812,1904,2106,1999,1711,1995,1994,1931,1689,1782,1951,1772,1749,2467,2449,2132,2319,2877,2758,1500,1703,2680,3112,3178,3724,4113,3455,3613,3145,1958,1745,1668,1627,1888,1905,2020,1817,2132,2444,2903,2088,1609,1729,2274,2796,3095,3344,2862,1925,1965,2312,2852,3749,3651,2806,2447,2531,2884,2847,2584,2656,2139,2702,2688,1869,1918,2194,2138,2221,1955,1342,1500,2094,1977,1835,2091,2697,3593,4286,3835,3472,4078,3541,3273,2818,2565,3054,3200,2733,2705,2247,2724,3449,2994,2961,3808,3470,2764,2802,2490,2242,2424,2436,2323,2646,2950,2391,2679,2995,2904,2573,2518,2658,2272,2310,2751,2608,2378,2373,2916,3284,2662,2247,2508,3075,3260,2727,2101,1863,1942,2359,2391,2137,2362,2403,2031,2042,2053,2049,2584,2187,2020,1888,1339,1667,2084,2088,2074,1752,1834,2715,2442,2533,3044,3725,3363,2721,2817,3149,3063,2663,2966,3937,4448,4608,4629,4651,4607,4594,4652,4608,4512,4468,3978,3217,3041,2998,2762,3510,4288,4115,3317,3479,2834,1969,1853,2109,2443,2626,2623,2047,1829,2186,3507,4385,4074,3808,4024,3604,3172,3585,3682,3404,2933,3018,3840,4340,4262,4208,4184,3995,2692,1735,2217,3067,3660,4139,4368,4531,4456,4041,3733,4391,4823,5009,4597,4124,3531,3434,3973,4208,4058,3702,2894,2049,2010,2084,1899,1488,1211,1431,1555,1736,1696,1584,1643,1710,1754,1902,2041,2239,2047,2069,2079,1841,1742,2099,2000,2257,2872,2225,2440,2500,2787,2885,2762,2614,2206,1806,1816,1892,2176,2599,2205,2208,2246,1892,1902,2092,2297,2416,2259,1686,1400,1522,1720,2092,2241,2133,1933,1731,1500,1382,1257,1291,1494,1374,1177,1741,2411,2475,2188,1735,1852,2692,3099,2853,2501,2244,2728,3522,3848,3365,2830,2814,2126,1141,1104,1027,1015,1107,1095,1464,2001,1802,1388,1606,1954,1911,1854,2389,2995,2694,2522,2452,2322,2175,2068,2273,2297,1944,1939,2008,1766,1735,1848,1704,1983,1670,1765,1952,1757,2079,2310,2271,2125,1770,1760,1871,1905,1715,2172,2103,2005,2094,2169,2713,3122,2550,2476,2735,2206,2365,2455,1802,1579,1824,1699,2026,2356,2265,2103,2373,2941,3238,3274,3505,3394,3532,3486,2934,2739,2999,2418,1785,1604,1453,1655,1905,2171,2165,1881,1604,1459,1474,1593,1818,1750,1721,1500,1443,1826,1648,1636,1716,2259,2062,1761,1662,1748,1581,1838,1979,1861,1980,2225,2111,1948,2343,2347,2097,1807,1494,1648,2186,2139,1542,1570,1882,1576,1404,1772,1754,1344,1565,2244,2728,2347,1838,1751,1766,1718,1987,2102,1993,1882,1909,1484,1245,1796,2364,2148,1967,2279,2742,2980,3233,2989,2263,2332,3193,2752,3118,2836,2500,2315,2447,2769,2812,2832,3117,3275,3156,3008,2979,3120,2884,2324,2214,2241,2967,2783,1908,1632,1605,1772,1873,1742,1852,1616,1580,1771,1966,2309,2327,2501,2872,2958,2674,1728,1508,1539,2005,2878,3461,2742,2481,2669,2635,2216,2109,2026,2185,2338,2502,2788,2607,2257,1779,1631,1555,1696,1603,1730,1670,1589,1738,1708,1736,1958,1924,1994,2409,2443,1987,2183,1984,1813,1941,1790,1692,1640,1676,2166,2084,1388,1560,1606,2070,2851,2483,1844,1619,1476,1364,1323,1345,1405,1356,1211,1265,1253,1470,1457,1492,1523,1401,1530,2229,2749,2273,1778,1518,1815,2037,1649,1463,1575,1725,1789,1578,1613,1655,1681,1778,1564,1750,1733,1791,1426,1593,1838,1694,1478,1505,1535,1709,1864,1410,1504,1809,1841,1919,1699,1816,1559,1427,1505,1578,1568,1766,2105,2253,2248,2302,2104,1731,1525,1631,1718,1795,2134,2587,2749,2919,2765,1906,1962,2285,1871,1838,1739,1608,1552,1869,1835,1903,2107,2247,2191,1934,2460,2338,1937,1868,2381,2645,2474,2264,2623,2765,2358,2057,2275,3027,3304,3045,2428,2649,2512,2626,2850,3312,3039,2191,2091,2420,2625,2428,1785,1786,1510,1807,2259,2151,2580,2545,2182,2427,2558,2554,2735,2196,1870,1859,1465,2077,2218,2257,2754,2828,2728,2398,2016,2391,2790,2575,2401,2677,2886,2343,2430,2347,2786,3164,3341,2871,2232,2323,3033,2196,2450,3125,2549,2103,2790,2766,1849,1436,1919,2660,2483,2491,2562,2317,1728,1614,1510,1731,2641,2747,2121,2187,2418,2410,2460,2601,2625,2599,2382,2225,2701,2847,2856,2754,2424,2242,2490,2708,2857,2845,2099,2119,2318,2537,2671,2680,2623,2036,1734,1845,1934,1916,2048,2469,1855,1625,1540,1469,1435,1553,1516,1816,2033,2206,2238,1882,1934,2365,2561,2154,1848,1685,1581,1563,1793,2100,2007,1659,1474,1426,1729,2110,1941,1779,1780,2228,2205,2115,2262,1944,1842,2247,2514,3038,3661,3339,2422,2306,1971,2389,2658,2323,2264,2655,2513,2058,1915,2267,2596,2029,2047,2338,2382,2619,3107,3124,2807,3018,3220,3248,3165,2997,3052,3006,2973,3062,3481,3140,2819,2583,2595,2515,2518,2567,2602,2631,2604,2524,2351,1927,2018,1854,1488,1472,1721,1650,1573,2605,2898,2115,1997,2122,2024,2438,2364,2444,2480,2587,1992,1775,2102,2341,2149,1775,1688,1707,1505,1604,1717,2226,2304,2395,2243,2012,2150,2212,2372,2212,1937,2099,1915,1850,1800,1766,1746,1657,1608,1727,1764,1804,1945,1875,1968,2664,2564,2310,2044,2474,2766,2669,2526,2881,3132,2860,2819,3138,3303,2903,2688,2534,1775,2037,2389,2530,2568,2818,2626,2512,2644,2371,2284,2500,2448,2221,1953,2175,2004,1533,1553,1683,1815,1681,1450,1334,1693,2293,2376,2032,1962,2359,2797,2788,2989,2955,2611,2651,2996,2828,2620,2576,2741,2979,2758,2402,2764,2857,2685,2133,2348,2875,2304,1830,1853,2001,1960,1973,1812,1606,1819],[2396,2212,1927,2237,2950,3064,3104,2458,1884,1581,1427,1400,2005,1960,2052,2424,2756,2665,2697,3282,3567,3273,3146,3264,2852,2599,3054,3843,4283,4111,3636,3161,2591,1932,2076,2821,3018,3263,3418,3833,3950,4004,3968,3541,2854,2832,3086,2993,3160,3265,3057,2750,2767,2996,3168,3159,3106,3323,2596,1825,1633,1692,1845,2203,2227,2348,2272,2495,2567,2073,2252,2045,2191,2312,1987,1871,2071,2253,2289,2092,2029,2127,2446,2626,2791,2178,1760,1813,1731,2011,2424,2232,2286,2274,2712,3244,3175,2919,3310,3216,2692,2786,3118,3208,2820,2344,2524,2989,2942,2946,3761,4086,3146,3007,3209,3038,3539,3678,2475,1591,1327,1745,2424,2957,3219,2688,3254,4164,3660,2946,3042,3096,2293,2414,2262,2193,2411,2548,3222,3076,2785,2025,2194,2836,3174,3145,2519,2190,2332,2375,2237,2025,2094,1890,2003,1804,1462,1659,2054,2310,2380,2669,3329,3816,3537,3394,3315,3105,3436,3673,3864,3975,3916,3662,3772,3939,3400,2993,3264,2910,2846,2840,2856,2769,2894,2813,2875,3042,2898,3120,3552,3275,2842,2457,1931,1824,1905,2220,2700,2797,2544,2227,2182,2411,2244,2039,2466,2498,2333,2462,2410,3046,2778,2432,2562,2979,3404,3187,3200,3361,3324,3602,3339,2280,2263,2788,3386,3636,3222,2434,2497,2862,2680,2456,2209,2456,3311,3495,3010,2668,2950,3571,2912,2154,1951,2438,2507,2063,1922,2568,2887,2342,1843,1995,1683,1929,2430,2383,2030,1953,2753,3183,2396,1654,1631,1842,2077,2365,2485,2718,2749,3185,3046,2150,2358,2062,2584,3293,2420,2217,1970,2298,2530,2824,2654,2663,2436,1981,2199,2041,1616,2067,2287,2580,2310,1823,1771,2365,2487,2817,3240,3385,3264,3073,2540,2237,1981,1692,1991,2172,2066,1815,2328,2185,2208,2987,3833,3969,3539,2745,3044,3375,2733,2744,2611,2437,1931,1824,2306,2375,2553,3273,3915,3702,3990,4358,4264,3882,3688,3835,3648,2919,2690,3395,3084,2406,2790,3085,2403,2019,2440,2570,2095,2186,2428,1967,1936,2334,2111,1545,1709,1731,1645,1837,2416,2925,2702,2241,2168,2259,2309,2786,2990,3091,3312,2949,3432,3669,3817,3693,3724,3934,2877,2114,2217,2042,1999,2783,3385,2789,1745,2048,2706,2646,2771,3061,3509,3422,3428,3792,3540,3261,2942,2663,2630,2171,2092,1846,1822,1461,1346,1822,1857,1631,1846,2018,2425,2806,2180,1847,2332,2288,1908,1659,1710,1980,2054,2207,2536,2458,2446,2482,2383,2054,2600,3860,3499,2434,2282,1602,1686,2218,2142,2151,2125,2145,1909,1971,1945,2194,2093,2177,2104,2336,2700,2264,1898,2194,2272,1584,1728,1587,1712,1829,2290,2219,1930,2117,2376,2523,2470,1929,1742,2248,2636,2500,2587,3181,3574,3105,2747,2893,3264,2832,1969,1980,2032,1950,1870,1645,1886,1670,1278,1688,2211,2482,2879,3515,3845,3946,3397,2712,2769,2931,2494,2429,2753,2515,2053,1973,2041,2257,2047,2088,2712,2720,2890,2812,2534,2296,2711,2956,1940,1690,2060,2031,1952,2053,2124,2500,2836,3050,2764,2532,2402,2215,2807,3217,3132,2995,2962,3141,3094,2528,2221,2197,2037,1738,1864,2386,2479,2872,3277,3278,3298,3012,2607,3143,3604,3621,3594,3184,2732,2422,2218,2066,2174,2436,2600,2374,2010,1771,1736,2136,1691,1809,1927,1403,1893,2054,1869,1859,1816,1995,1845,2021,1769,1703,1678,1603,1716,1781,1959,1926,1733,1809,2286,2446,2318,2238,1989,1944,1604,1550,1968,2190,1986,1895,1681,2023,2181,1736,1513,1170,1004,1049,1139,1138,1204,1374,1846,1952,1591,1591,1720,1920,1963,1832,1534,1656,1575,1715,1769,1770,1466,1477,1755,1763,1816,1632,2062,3001,3160,3211,3588,3365,1835,1443,1296,1412,1495,2287,2346,1453,1529,1433,1354,1285,1251,1250,1382,1578,1510,1467,1322,1224,1302,1459,1498,1334,1318,1404,1246,1278,1362,1413,1462,1286,2193,2779,2238,1994,1774,1662,1610,1600,1568,1466,1452,1490,1516,1451,1748,1677,1569,1887,1610,1708,1760,1919,2180,2514,3432,3875,3089,2268,1896,1925,2266,2227,2054,1736,2032,2346,1985,1900,1847,1908,2282,2358,2070,1620,1471,1843,1801,1886,2208,2071,2198,2408,2013,1747,1766,1904,2142,2078,2103,2310,2830,2824,1911,1775,2691,3506,3638,3687,3462,2796,3044,2303,1278,1285,1899,2244,2062,1798,1835,1825,2060,2790,3168,2337,1655,1483,1758,2231,2170,2193,2098,1675,2209,2136,1942,2910,3361,2985,3106,3237,3049,2745,2664,2547,1889,2303,2789,2357,2564,2692,2216,1764,1580,1869,2173,2416,2107,2140,2042,2205,2714,3183,3266,3893,4668,4596,4200,3814,3289,2895,3217,3174,3341,3023,2806,2446,2260,2807,3420,3054,3364,3974,3143,2311,2174,2033,1931,2240,2755,2684,3247,3321,3361,3045,2500,2408,1954,1712,2122,2657,2940,2495,2462,2967,2812,2451,2491,2820,3213,3200,2522,1930,1872,1865,1710,1886,1836,2250,2636,2491,2256,1996,1760,1667,2102,2242,2002,1963,2037,2297,2476,2177,2077,2395,2646,2995,3082,3431,3323,2796,3174,3381,3518,3075,2968,4109,4504,4548,4605,4567,4563,4583,4627,4675,4667,4541,4296,3508,2959,2697,2812,3739,4408,4260,3116,2956,2653,1991,2258,2646,2350,1962,2228,2266,2097,2405,3074,3893,4315,4375,4562,4397,4168,3957,3884,3436,3586,4144,4359,4012,3834,4152,4356,4212,2743,1821,2879,3298,3275,3709,4293,4516,4608,4468,3826,4135,4752,5005,4732,4360,3955,3601,3709,4193,4055,3736,3414,2570,1951,1823,2015,1748,1392,1271,1356,1578,1556,1759,1788,1697,1780,1720,1891,2178,2073,2576,2924,2510,1956,1811,1846,2238,2458,2387,2612,2742,3028,2939,2813,2758,2602,2468,2336,2255,2333,2373,1971,1666,1981,1740,1574,1989,2110,2242,1936,1385,1662,1724,1266,1438,1910,2110,1971,1847,1610,1463,1479,1424,1472,1195,1280,2248,2639,2757,2065,1751,2315,2930,3023,2450,1837,2517,3417,3817,3440,2653,2446,2035,1175,1239,1272,1052,1256,1273,1152,1462,1650,1346,1504,1900,1578,1684,2404,2823,2687,2307,1942,1984,2429,2305,2215,2660,2713,2280,2064,2094,1993,2008,2054,2217,2296,1718,1690,1715,1917,2267,2029,1995,1858,2004,1807,1569,1360,1493,2025,1985,1970,2239,2700,2996,2943,2704,2674,2605,2124,1940,1917,1495,1604,1691,1729,1760,1710,1614,1860,2386,3296,3243,3395,3331,3414,3661,4064,4007,3442,3243,3238,2640,1874,1775,1832,2081,2142,1825,1842,1889,1766,1481,1372,1536,1689,1688,1570,1703,2154,1725,1571,1729,2022,1976,1836,1825,1899,1863,1920,1924,1870,2036,1919,1926,1839,2282,2763,2503,2036,1774,1640,1900,1920,1635,1434,1577,1532,1412,1198,1644,1666,1951,2304,2514,2511,2087,1708,1842,1707,1866,1970,1933,1904,2008,1650,1717,2386,2905,2488,2029,2332,2478,2640,2874,2868,2815,2492,3059,2879,2551,2264,1958,1901,2405,2885,2752,2730,2974,3105,2985,2864,2889,2940,2702,2426,2594,3267,3737,3062,1970,1694,1744,1788,1658,1596,2142,1974,1698,1628,2296,2780,2819,3308,3536,3206,2715,1632,1598,1684,2476,2858,3339,2832,2678,2911,2680,2462,2544,2466,2155,1886,2288,2588,2578,2280,2194,1900,1754,1990,1673,1500,1761,1550,1472,1522,1760,2250,1945,1868,1815,1832,1706,1878,1936,1976,2156,1923,1580,1697,2019,2092,1803,1583,1738,1606,1859,1934,1642,1498,1342,1462,1525,1361,1402,1422,1279,1244,1280,1332,1326,1331,1487,1588,1693,1513,1956,2295,1750,1636,1682,2008,1815,1462,1369,1502,1552,1493,1636,1870,1708,1322,1411,1578,1918,1721,1505,1634,1677,1653,1593,1405,1463,1509,1594,1760,1116,1206,1603,1569,1538,1700,1737,1588,1436,1448,1585,1544,1636,1656,2377,2100,1856,1964,1954,1944,1862,1744,1901,2370,2623,2700,2761,2551,2137,2080,2290,1899,1767,1596,1504,1581,1702,1817,1844,1859,2028,2425,2743,2711,2153,1999,1901,2414,2909,2082,1218,1926,2879,2330,2141,2552,3112,3392,3344,2954,2754,2345,2372,2741,2747,2313,2121,2211,3106,3443,2567,1855,1651,1782,2490,2271,2059,2523,2214,2143,2413,2497,2558,2576,2078,2129,2235,2228,2486,2164,2213,2864,2666,2372,2045,2010,2157,2717,2750,2400,3084,3009,2523,2396,2127,2518,2732,3496,2807,2513,2743,3133,2259,2635,3399,2959,2613,3142,3510,3008,2548,1854,2074,1940,2121,2608,2426,1740,1550,1618,1418,1780,1776,1821,2721,2944,2900,2780,2901,2658,2340,1780,2204,3105,3002,2732,2930,2602,2479,2462,3169,3588,2887,1670,1895,2577,2903,2911,2684,2270,1886,1948,2076,1645,1543,1664,1951,1804,1563,1528,1577,1566,1597,1763,1786,1858,2137,2325,2566,2604,3020,2968,2530,2258,1908,1678,1615,1590,1756,1929,2070,1876,1718,1952,2297,2029,1828,2276,2839,2501,2169,2212,1901,1457,2143,2824,2690,3120,3456,2394,1944,1882,2342,2454,2347,2272,2351,2307,2038,1760,2060,2634,2504,2690,2818,2718,2849,3116,3029,3019,3108,3030,2818,2798,2782,3129,3228,2950,2563,3205,3813,3264,2661,2596,2517,2487,2553,2587,2565,2557,2546,2715,2047,2016,1966,1604,1853,2176,1805,1643,2185,2324,2185,1775,1952,2022,2481,2559,2529,2669,2408,2065,2450,2634,2385,2270,1817,1888,1620,1695,1829,1815,1924,2126,2269,2149,1807,1756,2577,3010,2529,2046,2320,2142,1670,1710,1904,1814,1562,1490,1650,1848,1993,1932,1778,1621,2288,2569,2761,2320,2400,2554,2433,2568,3090,3470,3122,2867,3172,3022,2450,2181,1892,2017,2416,2225,2350,2140,2104,2486,2557,2426,2264,2518,2647,2498,2402,2142,2544,2302,1918,1850,1659,1735,1544,1294,1260,1692,2532,2787,2269,1898,2135,2604,2653,2664,2593,2226,2471,2938,2831,2492,2342,2655,2673,2708,2950,2993,2745,2293,1738,1950,2210,1970,1930,1983,1997,1987,1961,1726,1845,1870],[2769,2186,1939,2715,3119,3199,2898,2375,1853,1382,1487,1352,1750,2851,3348,3341,3366,3432,3538,3554,3371,3683,3816,3797,3624,3637,3392,3659,4352,4372,3629,3366,3493,2529,2151,2699,3143,3751,3876,3919,3963,4004,3795,3580,3079,2809,2679,2404,2829,3328,3392,3462,3549,3072,2884,3050,3044,3206,3131,2411,1876,1862,2405,3125,1997,2056,2441,2973,3044,2562,2649,2511,2354,2282,2150,1882,2042,2345,2281,2417,2295,2059,2017,2199,2275,2117,2027,2088,2075,2353,2697,2293,2943,2738,2642,3101,2932,2874,3359,3019,2473,2312,1820,2124,2067,2546,2903,3101,2920,2707,3477,3969,3494,3634,3308,2443,2843,3039,2298,1769,1432,2734,2968,2956,2999,2675,3077,3760,3647,3587,4020,2932,1627,1952,1945,1923,1887,2131,2864,2485,1635,1148,2233,3395,3444,3089,2585,2923,2855,2787,2555,2308,2242,1741,2210,2111,1911,2303,2181,2231,2454,3093,3569,3704,3367,3281,3026,3296,3452,3735,4127,4173,3928,3377,3338,3627,3567,3508,3509,2954,2647,2866,2911,2821,3166,3335,3188,2921,2850,3660,4030,3576,3112,2544,2105,1794,2259,3264,3604,3007,2356,2425,2371,2110,2187,2428,1858,1858,1999,2567,2876,3020,2414,2210,2320,2852,3624,3641,3226,3129,3161,3140,2646,1880,1895,2458,3188,3382,2938,2469,2221,2539,2786,2680,2513,2304,2954,2884,2688,3018,3293,3271,2979,2368,2196,2854,2777,2596,2759,2610,2382,1895,1624,1665,1719,2344,2830,2718,2134,1844,2154,2385,1809,1506,1877,2143,2320,2743,3155,3161,2780,3021,2873,2271,2184,2126,2323,2779,2518,2413,2561,2580,2277,2256,2111,1891,1780,1985,2255,2084,1999,2549,2690,2081,1693,1802,1931,2147,2602,2706,2408,2801,2981,2975,3039,2918,2416,2036,1914,1777,1886,1950,1907,2115,2286,2445,3564,3461,2438,2025,2394,2664,2817,2707,2409,2373,2640,3231,3216,2144,2717,3607,3648,3609,3720,3979,4208,3728,3505,3802,3725,3142,2785,3141,3119,3062,2850,2256,2312,2556,2510,2385,2207,2291,2127,1793,1789,2076,1875,1755,1920,1729,2099,2081,2252,2852,3417,2973,2251,2014,1837,2061,2383,2831,2846,2704,2837,2922,3312,3534,3559,3182,2337,1987,2459,3041,3221,3077,3283,3178,2084,2624,2730,2364,2271,2220,2377,2375,2853,3770,4058,3768,2929,2567,2777,2416,2200,2191,2053,1370,1094,1714,1863,1974,2250,2359,2701,3284,2514,2091,2640,2283,1654,1732,1867,1691,1931,2666,3250,2728,2591,2474,2480,2332,3096,3996,2810,1977,1903,1688,2601,3135,2503,1845,1933,2011,2448,2568,2240,2217,2121,1967,2238,2969,2862,2075,1725,1717,1723,1525,1581,1587,1586,1753,1779,1663,1745,2257,2670,2611,2631,1990,1918,2076,2526,2478,2518,2938,3299,3295,3309,3240,3105,2814,2136,1885,1706,1898,1994,2122,2095,1607,1611,2344,2718,2464,2965,3852,3883,3244,2896,3187,3610,3393,2217,1768,2176,2216,2303,2087,1903,2232,2197,2104,2770,2834,2974,2297,2514,2555,2424,2216,1756,1950,2197,1803,1932,2627,2707,2913,3038,2978,2409,2391,2518,2468,2924,3268,3221,3128,2951,2965,3020,2533,2304,2280,2305,2343,2764,3361,3410,3332,3187,3172,3363,2840,2574,3139,3466,3913,3761,3266,2547,2022,2062,2089,1996,2128,2613,2111,1820,1887,1771,2006,1550,1633,1836,1529,2031,2065,1732,1807,1817,1783,1922,1919,1931,1775,1599,1643,1922,2047,1971,1621,1528,1723,2218,2378,2054,2120,1969,1722,1542,1586,2041,2627,2243,1688,1614,1632,1238,978,969,1257,1882,1816,2022,2094,1917,1962,2531,2287,1634,1603,1571,1878,1828,1919,1616,1422,1539,2018,1894,1779,1689,1697,1698,1924,2419,1820,2829,3211,2883,2976,3410,3238,2229,1779,1656,1499,1443,1678,1543,1435,1417,1416,1357,1331,1304,1318,1413,1739,1902,1649,1455,1322,1228,1343,1395,1533,1590,1420,1234,1279,1386,1499,1406,1196,1649,2193,1977,2004,1666,1692,1780,1934,1831,1687,1561,1380,1257,1401,1802,1995,1785,1959,1477,1698,1874,2025,2142,3131,3628,3573,2898,2132,1953,1903,2048,1727,1614,1798,2500,2318,1933,1899,2105,2303,2406,2587,2069,1203,1537,2117,1614,1821,2195,1976,1966,2004,1794,2094,2167,2246,2730,2838,2954,2867,2344,1817,2201,1941,2208,3251,3686,3791,2972,2433,2385,1658,1077,1199,2262,2693,2496,2380,2138,1666,2047,2900,2518,2316,2383,1680,1439,1960,2320,2117,2008,1939,2653,2200,2019,3330,3926,3443,2641,2814,2745,2282,2639,2614,1734,2402,2919,2691,2678,2508,2482,2264,2113,2169,2205,2257,2060,2060,1791,1793,1993,2620,3400,4461,4864,4167,4069,5069,4229,2976,2831,3492,3834,3144,2698,2524,2410,2382,2456,2609,2590,3298,3200,2534,2311,1898,1842,2405,2935,2801,3086,3408,3105,2463,2171,2146,1686,1665,1580,2339,2731,2011,2128,2698,3132,2977,2501,2577,3064,3271,2828,2231,1960,1895,2079,2230,1832,2131,2854,2553,1928,1743,1171,1402,2087,2696,2389,2319,2138,2488,2647,1944,1295,1702,2508,2880,3159,3562,3295,2836,3009,2707,3310,3154,2786,3804,4445,4437,4477,4459,4480,4584,4608,4664,4639,4519,4509,4342,3893,3132,2764,3342,4203,3692,2607,2745,2507,2402,2688,2685,2021,1614,2191,2847,2454,2532,2688,3305,4180,4227,4344,4532,4572,4440,4026,2489,3060,4120,4440,4212,4152,4181,3920,3291,2267,2225,2728,2876,3001,3130,3767,4299,4528,4480,4249,4305,4497,4795,4868,4596,4104,3872,3675,3629,3205,3048,3056,2613,2181,2112,2280,2045,1560,1205,1372,1527,1721,1809,1832,1783,1907,1853,1865,1929,2610,3329,3060,2656,2261,1915,2193,1755,1733,2293,2620,2920,3021,2903,2775,2421,2330,2448,2527,2614,2460,2132,1663,1351,1996,2234,2138,2223,2243,1976,1588,1531,1831,1333,1110,1242,1457,1788,2041,2089,2201,2086,1564,1401,1402,1511,1782,2515,2106,2040,1410,1873,2512,2752,2917,2178,2047,3001,3262,3306,2798,2259,1703,1176,1236,1533,1466,1404,1504,1490,1413,1205,1167,1660,1989,1633,1599,2458,2796,2330,2348,2471,2196,2013,2011,2067,2145,2455,2478,2543,2265,2079,1970,1959,1726,2039,2009,1822,1952,1568,1663,1960,1866,2022,1777,2049,1638,1466,1626,1792,2042,2042,1934,2387,2696,2498,2720,3036,2635,2360,2180,2118,1891,1838,1892,1742,1845,1870,1686,1569,1995,2413,2874,3319,3376,3186,3001,3160,3491,3842,3744,3143,3245,2493,2063,2055,1866,2043,1919,1692,1732,2020,1816,1482,1432,1557,1675,1672,1865,1821,1891,1672,1383,1452,1895,2046,1804,1817,1933,1971,1620,1521,1656,2082,1932,1968,1879,1978,2621,2776,2546,2010,1614,1726,1863,1830,1576,1587,1682,1664,1570,1654,1799,1897,1961,2433,2812,2451,1792,1945,1652,1667,1748,2014,2164,2343,2072,2372,3110,3011,2542,2492,2635,2325,2539,3081,3100,3013,2969,2878,2321,1825,1804,2410,2696,2222,2569,2530,2536,2456,2486,2627,2744,2756,2643,2577,2210,2218,2819,2791,2446,1997,2051,1798,1658,1766,1734,2540,2419,1786,1559,1835,2409,2665,2969,2665,2643,2565,2015,1964,2139,2583,2576,2429,2387,2541,2902,2977,3141,2840,2733,2413,2090,2453,2449,2370,2272,2273,2085,2066,2125,1719,1506,1764,1465,1358,1460,2013,2831,2106,2212,2464,2084,1721,1710,1936,1988,1922,1936,1856,2062,2099,1826,1543,1780,1831,1448,1407,1348,1283,1237,1334,1538,1737,1676,1466,1427,1335,1286,1298,1338,1449,1885,1969,1978,2182,1699,1893,2237,1710,1551,2074,2411,1881,1438,1443,1577,1881,1810,1677,1654,1434,1071,1500,1635,1614,1589,1623,1647,1548,1632,1662,1452,1516,1505,1363,1450,1199,1400,1556,1543,1655,1897,1944,1655,1397,1617,1673,1802,1753,1771,2564,2028,1618,1943,2290,2106,2012,2221,2407,2623,2364,2471,2283,2294,2118,1694,1577,1765,1725,1892,2046,1928,2022,1763,1649,1758,1985,2280,2608,2271,1937,2003,2406,2790,2780,2017,1208,1411,2272,1917,2057,2769,3143,3370,3144,2721,2569,2383,2466,2475,2226,2481,2545,1869,1835,1957,1734,1695,2208,2485,2393,2034,1869,2189,2009,1975,2047,2085,2113,2174,2083,2133,2122,2263,2351,2043,2086,2499,2340,2098,1969,2176,2193,2512,2884,2592,2667,2885,2813,2403,1916,2331,2098,2974,3323,2876,3050,3108,2629,2857,3437,3177,3140,3217,3535,3330,2786,1915,2202,1586,1935,2612,2534,2156,2140,2020,1663,1681,1692,2107,2835,3272,3222,2987,2790,2608,2387,2380,3083,3495,3227,2801,2853,2684,2752,2674,3099,3482,2977,2018,2065,2613,2799,2685,2377,1699,1485,1775,1803,1587,1764,1613,1652,1816,1644,1468,1539,1528,1727,1904,1790,1844,2219,2186,2237,2146,2341,2510,2350,2092,1777,1488,1443,1514,1794,2288,2575,2338,2123,2271,2508,1978,1573,2498,3094,2577,2018,2101,2009,1394,2218,2824,2352,2311,2479,2198,2056,2165,2263,2358,2408,2517,2420,1921,1938,1915,1879,2229,2599,3106,2893,2634,3109,3234,3162,3279,2822,2551,2469,2423,2509,3171,3477,2680,2268,2824,3453,3274,2797,2585,2615,2493,2512,2624,2644,2523,2560,2784,2459,2344,2483,2419,2598,2787,2033,1591,1980,2424,2416,2037,2006,2075,2109,2290,2213,1995,2199,3331,3485,2662,2230,2141,1993,1876,1817,1952,1807,1930,2070,2156,2556,2823,2122,1951,2603,2728,2336,2084,2460,2495,2202,2189,2087,1901,1765,1575,1616,2171,2287,2087,1625,1444,1963,2592,2732,2156,2417,2624,2583,2802,2963,2985,2883,2923,2925,2467,2018,1735,1834,2415,2217,1763,2050,1832,1765,2072,2044,2065,1986,2471,2351,2136,2138,1796,1910,2090,2050,2087,1903,2292,1869,1613,1788,2054,2666,2734,1806,1924,2533,2542,2692,2745,2396,1906,2517,2658,2692,2536,2404,2410,2209,2780,3355,2875,2018,1835,1770,1839,1917,1852,2087,2289,2228,2009,1811,1838,1914,1822],[2537,1945,2658,3519,3348,2857,2441,2325,1542,1383,1432,1331,1744,2681,3238,3376,3509,3575,3697,3628,3574,4100,4344,4350,4516,4493,3962,3788,4235,4328,3786,3741,3647,2833,2088,2314,3020,3956,4074,4038,4311,4295,4026,3941,3754,3517,2911,2660,3320,3339,3189,3384,3786,3307,3000,3100,2823,2735,2807,2857,2676,2478,2533,3112,2437,1988,2458,2835,2515,2396,2602,2584,2217,1923,2221,2098,2190,2176,2143,2236,2009,1817,2020,2055,1936,2002,2175,2346,2427,2707,2182,2091,2313,2732,2753,3144,3549,3889,4112,3434,2699,2455,2216,2452,2076,2321,2854,2963,2762,3078,3598,3594,3484,3275,2988,2732,2721,2499,2620,2299,2120,3057,2888,2191,1807,1931,2232,2656,3155,3117,3154,2088,1974,2065,1905,1832,1810,2022,2022,1812,1721,1622,2352,3250,2690,2798,3360,3327,2831,2563,2290,2177,2027,1848,2192,2066,1996,2031,1788,1889,2219,3317,4096,4025,3084,2481,3100,3529,3426,3693,4040,3956,3637,3362,3229,3496,3637,3775,3694,3286,3096,3107,3038,2902,2752,2555,2420,2416,2918,3776,3884,3727,3150,2279,2059,1967,2714,3486,2893,2342,2267,2713,2612,2513,2547,2520,2193,1930,2277,2692,2942,2740,2464,2579,2514,2642,3241,3618,3495,3161,3237,2232,1649,1959,2454,2709,2731,2587,2666,2383,2020,2458,2862,2929,2980,2372,2498,2589,2814,3219,3628,3404,3067,2906,2800,2644,2700,2673,2307,1690,1900,1958,1927,2368,2348,2508,2619,2902,2174,1956,1399,1452,1689,2072,2469,2354,1980,2065,3038,3186,2705,2519,2345,2509,2491,2272,1975,2465,2709,2664,2886,2846,2666,2389,2111,1686,1591,1810,1924,1924,2114,2182,2373,2075,1796,1893,1858,1954,2316,2037,1861,2148,2554,2557,3099,3175,2495,2286,1965,1763,2078,2049,2119,2596,2679,2365,2906,2976,2053,2204,2562,2466,2541,2502,2590,3481,4084,4240,3882,3309,3397,3254,3242,3386,3544,3732,3882,3709,3581,3870,4056,3840,2767,2862,3529,3530,2548,2031,2376,2527,2390,2533,2492,1845,1694,1712,1727,1645,1810,2408,1795,1604,2122,2280,2453,3273,3527,2396,2072,1646,1645,1918,1774,2172,2342,2580,2430,2050,2246,2767,3403,3159,2184,1900,2369,3244,3365,3225,3299,2955,2450,2777,2668,2284,2342,2486,2330,2339,2811,3647,4018,3853,3054,2850,3285,3060,2508,2452,2364,1865,1518,1968,2486,2420,2350,2301,2421,2991,2863,2764,2828,1982,1298,1761,2056,1995,2734,3144,2828,2440,2631,2599,2597,2229,2502,3119,3029,2501,2315,1948,2446,2927,2409,1698,1783,2155,3085,3009,2576,2385,1934,2059,2499,2610,2853,2924,2082,1826,1578,1593,1912,1852,2008,2071,1719,1879,1874,2473,2843,2522,2490,1860,2078,1929,2525,2654,2454,2689,2995,3334,3426,3263,2829,2663,2643,2181,1595,1706,1865,1903,2109,2207,2164,2678,2842,2375,2758,2764,2032,1678,2943,3505,3472,3176,2036,1383,1529,2109,2584,1796,1550,2047,2492,2764,2750,2621,2574,2497,2978,2612,1958,1824,2268,2742,2798,2175,2019,2365,2562,2710,2763,2418,1787,1870,1990,2085,2696,3341,3516,3240,3024,2978,2754,2329,2173,2531,3012,3414,3638,3891,4123,3841,3078,3071,3172,2908,3160,3098,3528,3749,2897,2208,2046,2089,1901,1891,2376,2268,1972,1599,1621,1879,1826,1648,1438,1637,1593,1439,1937,1643,1433,1520,1641,1643,1867,1817,2106,2102,1670,1669,1921,1946,1793,1344,1195,1507,2496,2874,2279,2301,1989,1755,1927,1807,2080,2587,2336,1835,1709,1256,959,1045,1134,2101,2888,2616,2649,3018,3537,3852,3398,2373,1894,1738,1533,1759,1958,1925,1947,1680,1578,1938,1892,1635,1473,1463,1541,1651,1911,1981,3057,3229,3286,3277,3231,2939,1982,1411,1462,1425,1340,1512,1431,1676,1893,1627,1348,1347,1396,1496,1422,1503,1542,1509,1462,1549,1382,1395,1439,1604,1560,1393,1332,1298,1346,1317,1236,1317,1470,1830,1775,1714,1498,1474,1344,1673,1852,1873,1816,1181,1272,1611,2076,2987,2785,2198,1848,1904,1986,1919,2473,3636,4023,4002,2905,2062,1566,1250,1496,1428,1549,1740,1896,1872,1754,1754,2003,2257,1967,2272,1948,1090,2021,2728,2265,1986,1953,1866,1891,2220,2684,2823,2822,2884,2252,2623,2945,2775,2308,2193,2575,2003,1904,2917,3646,3605,2831,2574,2022,1678,1213,1432,2339,2851,2676,2495,2457,2081,2452,2696,2397,2906,2353,1756,1739,2199,2573,2375,2493,2407,2791,2800,2247,3200,3858,3008,2256,2595,2351,2580,3261,2790,2041,2547,2976,2818,2764,2213,2294,2100,2414,2260,2264,2314,2077,1887,1806,1763,1852,2455,3359,4632,5149,4773,4224,4553,3993,3033,3040,3720,4043,3339,3083,3296,2451,1727,2241,2383,2244,2588,2612,2863,2202,2063,2130,2230,2315,2369,2580,3018,2801,2573,2424,2980,2814,2206,2351,3132,2464,1868,2496,3081,3305,2827,2380,2277,2556,3076,2908,2668,2438,2322,2389,2353,2110,2041,2684,2455,1622,1861,1367,1825,2585,2868,2024,1930,2342,3177,2864,2162,2126,2351,2669,2718,2972,3639,3588,3056,2633,2401,2884,3200,2755,3275,4299,4327,4340,4408,4432,4515,4577,4653,4671,4538,4484,4585,3968,2830,2384,2892,3977,3686,2335,2380,2836,2562,2120,1803,1795,2137,2686,2818,2111,1887,2176,2604,3638,4123,4243,4507,4613,4476,4192,3204,3110,3441,3798,4196,4279,3908,3042,2167,2172,2543,2416,2470,2754,2558,3294,4069,4187,4363,4444,4157,3852,4500,4920,4821,4215,3726,3046,2437,2923,3286,2626,2178,1947,1597,1929,1952,1433,1253,1426,1600,1657,1647,1722,1744,1562,1616,1998,2125,2841,2844,2192,2775,3156,2049,2236,2039,2050,2386,2536,2837,2891,2767,2659,2519,2370,2382,2485,2771,2291,1739,1365,1204,1580,2031,2008,1864,2095,1531,1404,1607,1304,1144,1272,1449,1461,1700,1848,1978,2227,1888,1470,1353,1544,1760,1836,1966,1809,1468,1550,2557,2968,2753,2375,1998,2864,3195,2996,2776,2668,1889,1158,1094,1316,1378,1313,1391,1504,1650,1396,1154,1653,2081,1918,1803,2451,2690,2414,2351,2540,2646,2333,2076,2233,2179,1919,2188,2474,2710,2610,2226,1764,1758,1926,1961,1814,1951,2339,1772,1546,1491,1456,1692,1908,2106,1958,1940,1974,1858,1873,1829,2145,2544,2181,1975,2133,2294,2196,2024,2109,2440,2239,2043,1905,2197,1932,1740,1552,1636,2245,2326,2577,3375,3394,2911,2457,2865,3500,3662,3872,3033,2722,2685,2443,2073,1784,2030,2188,2182,2375,2473,1844,1653,1541,1678,1499,1560,2043,1896,1859,1642,1450,1538,1928,1994,1582,1739,1880,1905,1625,1536,1646,2100,1999,1636,1747,2033,2367,2623,2303,1756,1626,1957,2075,1804,1586,1576,1583,1587,1648,1382,1680,2003,1610,1699,2322,2637,1826,1918,1769,1453,2007,2743,2588,2423,2454,2946,3053,2522,2398,2942,2775,2589,2568,3240,3010,2640,2788,2640,2398,1826,1670,1927,2458,2147,1857,1853,2109,1877,1998,1990,2027,2196,2482,2512,1789,1791,2277,2101,2013,2205,2244,1816,1718,1937,2405,3230,2805,1881,1694,1785,2053,2414,2359,2072,2285,2350,2153,1750,2129,2937,2752,2669,2840,2996,3445,3438,3702,2972,2689,2599,2613,2727,2339,1837,1876,2139,1859,1855,2107,1922,1886,1868,1745,1860,1737,2035,2276,2053,2264,2010,1721,1953,1866,1882,1852,1987,1850,1875,1638,1438,1473,1364,1518,1384,1338,1436,1457,1415,1328,1328,1402,1612,1567,1322,1290,1351,1294,1206,1328,1729,2005,1802,1946,1970,1866,1968,1630,1223,1332,1770,1959,1617,1482,1491,1582,2013,1917,1631,1528,1591,1570,1644,1481,1510,1695,1680,1449,1416,1466,1704,1498,1560,1481,1335,1360,1295,1399,1484,1809,2127,2125,2533,2420,1648,1742,1816,1897,1636,2261,2774,2485,2385,2300,2059,1942,2348,2812,2508,2530,2585,2321,2115,2293,2213,1909,1836,1761,1758,2100,2113,1889,1831,1553,1815,1832,2098,2171,2039,2257,2425,2464,2477,2789,2598,2137,1985,2033,2053,2274,2622,2916,2930,2762,2352,2221,2031,1892,2120,2439,2656,2683,2852,2280,1537,1946,1954,1619,2302,2375,2301,2071,2049,1946,1599,1565,1836,2190,2267,2353,2280,1926,1866,1971,2155,1979,1919,2167,2228,2398,2435,2351,2565,2535,2296,2396,2332,2820,3007,2491,2762,2708,2149,2458,3069,2912,2897,3631,3388,3021,3992,3483,3145,2653,2459,2811,2756,2540,2502,2245,2597,2830,2344,1559,1544,2074,2174,1912,2193,2396,2812,3181,3306,2874,2401,2523,2543,2740,3367,3346,3062,2881,2851,2722,2629,2750,2986,3231,3013,2511,2358,2184,2176,2273,2105,1597,1510,2054,1963,1725,1914,1614,1475,1831,1779,1748,1946,1714,1734,2050,2172,1714,1851,1996,1844,1758,1949,2182,2037,1860,1614,1513,1540,1531,1664,2093,2437,2248,2271,2532,2762,2194,1761,2264,2692,2508,2288,2172,2165,1758,2121,2344,2133,1829,1879,2199,2465,2542,2855,3145,2706,2732,2163,1943,2145,1976,1835,1978,2317,2534,2263,2186,2771,2693,2490,2470,2211,2393,2036,2161,2676,3391,3475,3406,3481,3387,3173,2890,2435,2476,2556,2297,2452,2675,2806,2596,2655,3076,3193,2889,2606,2816,3119,2621,1809,1624,1677,1831,2058,2041,2005,2016,1959,1770,1865,2614,3379,3972,3676,2764,2216,2166,2533,2166,1980,2237,1998,1880,2054,1775,2189,3099,2822,2424,2042,2066,1906,2047,2742,2954,2765,2269,1651,1714,1899,1721,2026,2420,2707,2444,1832,1765,1951,2218,2256,2314,2759,2498,2566,2709,3153,3382,3014,2785,2465,1989,1630,1488,1704,2259,2154,1700,2392,2466,2221,1893,1719,1655,1763,2130,1902,1890,1984,1518,1654,1720,1644,1744,1854,2004,2229,2304,2525,2665,3197,2949,1989,2347,2599,2326,2258,2210,2279,2045,2149,2301,2333,2509,2614,2354,2607,3209,3409,2723,1686,1852,1537,1625,1819,2086,2304,2196,2094,1960,1895,1917,1890,2039],[2018,2116,3155,3660,2986,2421,2451,2203,1526,1425,1886,2452,2395,2291,2469,2710,2769,2761,3331,3474,3875,4263,4372,4604,4757,4605,4209,3979,4144,4261,3698,3959,3903,3550,2526,2347,3063,3789,3871,3993,4192,4257,4121,3956,3896,4050,3842,3535,3813,3639,3499,3511,3493,3373,3498,3348,2819,2445,2532,2573,2746,2942,2835,3051,2569,2055,2303,2475,2182,2242,2460,2711,1930,1575,1982,2390,2336,2183,2243,1641,1426,2266,2599,2029,2488,2325,2353,2709,2290,2368,1905,1950,2322,2345,2396,3061,3567,3556,3561,3138,2760,2136,2620,2417,1798,1982,2509,2436,2252,2729,2953,2753,2629,2481,2647,2733,2995,2930,2719,2796,2896,2727,2413,1921,1807,1807,1807,2239,3195,2634,2729,2313,2194,2035,1902,1762,1983,2274,1906,1886,2200,2077,2354,2938,2500,3086,3271,2578,2386,2153,2015,1983,1868,1867,2179,2821,2846,1525,1344,1791,2045,2965,3739,3919,3345,3299,3782,3654,3449,3804,3965,3819,3330,3363,3250,3333,3538,3737,3724,3479,3282,3029,3068,2968,2425,1841,1653,2090,3016,3659,3592,3680,3166,2336,2047,1895,2427,2667,2184,2298,2323,2570,2468,2481,2640,2579,2111,2246,2438,2304,2428,2431,2753,2764,2337,2399,2862,3327,3606,3352,2536,1851,1779,1597,2024,2754,2675,2468,3085,3036,2238,2112,2753,3029,2829,2593,2399,2610,2858,2981,3602,3301,2981,3255,3222,2381,2413,2618,2090,1605,1952,2316,2066,2412,2278,2055,1916,1909,1584,1418,1011,1476,2234,2342,2209,2022,1803,1881,3042,3247,3349,2922,2786,2520,2601,2142,1809,2381,2653,2876,3098,3051,3256,2650,2048,1858,1788,1748,1825,2462,2651,2359,2351,2164,1962,2050,1984,2009,2375,2324,1996,2151,2024,2104,3093,3175,2280,1997,2174,2133,2014,1949,3228,3472,2566,2335,2710,3043,2674,2548,2924,2533,2400,2627,2510,3577,3725,3850,4232,4053,3153,2789,2905,2928,2993,3345,3739,3569,3562,3741,3938,3315,2220,2308,2845,2820,2013,1929,2530,2303,1875,2460,2341,1681,1710,1593,2002,1948,2027,2002,1640,1802,2233,2625,2855,3230,2666,2072,2125,1948,1853,2040,1990,1904,2063,2406,2230,2140,2100,2416,3305,2842,2495,2601,2060,1892,1887,2019,2491,2525,2385,2712,2553,2536,3322,3554,2665,2567,2666,2513,2808,2916,2742,2905,3199,3009,2587,2574,2173,2172,2908,3288,2996,2407,2016,1885,2710,3618,3404,3385,3197,2783,2243,2220,2208,1953,2692,3105,2554,2533,2944,2750,2377,2114,2193,3225,3924,2808,2165,1482,1901,2409,1923,1603,1627,2107,2941,3083,2700,1980,1848,2306,2658,2398,2880,3189,2336,2137,2014,1938,2278,2052,1875,1755,1825,2104,2427,2712,2671,2287,2222,2245,2230,2022,2415,2825,2565,2910,3536,3572,3339,3197,2957,2503,2501,2656,2133,1686,1749,1953,2486,2656,2293,2533,2831,2398,2603,2320,2736,3052,3305,3283,3331,3288,2310,1429,1346,2195,2868,1871,1393,2018,2930,3017,2776,2701,2357,2575,2592,1802,1783,2189,2476,2975,2779,2198,2205,1954,2167,2593,2499,2086,1718,1797,1873,1869,2027,2268,2231,2243,2881,3088,2733,2363,2346,2913,3496,3880,3875,4169,4099,3698,3104,3188,3277,3431,3342,2886,2950,2690,2169,2177,2260,2154,1954,2500,2418,1773,1531,1634,1760,1894,1943,1904,1925,2083,1809,1875,2387,1908,1937,1857,1936,2294,2448,2107,2201,2116,1519,1505,1821,1675,1675,1266,1163,1790,2896,3515,3577,2976,2043,1703,1614,1604,1654,1993,2003,1722,1723,1366,1413,1385,1271,2032,2592,2657,2713,3221,3805,3725,3019,2451,2062,1640,1503,1616,1838,1698,1770,1670,1698,1912,1631,1342,1310,1437,1545,1549,1321,1408,2253,2863,3262,3382,3129,2493,1673,1465,1512,1426,1466,2079,2372,2269,2227,1789,1497,1440,1525,1683,1475,1589,1690,1590,1434,1463,1274,1273,1477,1572,1370,1302,1342,1389,1487,1284,1333,1416,1562,1828,1504,1395,1459,1349,1128,1338,1617,1819,1629,1409,1549,1798,2029,3046,3044,2482,2463,2494,2210,1703,1919,2946,3948,4019,2733,2155,1648,1560,1761,2203,2796,2578,2062,1730,1605,1679,1917,2302,1856,1995,1895,1243,2146,2840,2665,2120,1750,1906,1792,2165,2599,2597,2964,3383,1925,1882,2181,2620,2575,2554,2834,2018,1623,2199,3218,3629,3106,2541,1859,1452,1243,1503,1829,2253,2297,2322,2423,2048,1842,1798,2487,2785,2424,2537,2406,2598,3024,2943,2527,2491,2589,2596,2280,2607,2979,2829,2536,2739,2407,2789,2999,2401,2190,2401,2841,2711,2306,2159,2151,1724,2165,1870,1844,2069,2152,2091,1860,1862,1926,2172,2765,4099,5021,5172,4724,4099,3321,2832,3529,3862,3636,3168,3252,3739,2705,1970,2561,2809,2723,2740,2706,3008,2798,2292,2085,2085,1975,1740,1793,2850,2758,2073,1851,2434,3105,2854,2654,2952,2603,2520,3097,3189,2995,2020,1912,2060,2342,2640,2623,2719,2659,2541,2154,2196,2426,2269,2543,2646,2211,2430,2254,2668,2811,2525,2215,2328,3283,4020,3471,3262,3365,3239,2798,2636,2767,3564,3837,3131,2489,2138,2325,3087,2895,2749,3903,4297,4300,4343,4363,4442,4548,4573,4623,4543,4476,4145,3096,2437,2490,2779,3671,3339,2708,2699,2835,2233,1938,2110,2282,2644,2779,2327,1679,1837,2433,2621,3000,3932,4125,4268,4086,4092,4309,3937,3285,2842,3163,3826,4033,4004,3884,3188,2793,2645,2504,2332,1947,1826,2354,2598,2942,4052,4352,3852,2723,3585,4613,4897,4367,3488,2129,1663,2590,3094,2518,2032,1585,1138,1678,1962,1362,1218,1439,1573,1625,1678,1629,1369,1141,1241,1920,2000,2443,2965,2967,3538,3084,1959,2103,2608,2865,2911,2799,2833,3101,3232,3116,2818,2573,2629,2957,2796,1997,1469,1295,1220,1331,1545,1470,1716,1864,1245,1129,1460,1414,1293,1387,1410,1528,1759,1640,1632,1814,1501,1402,1213,1774,1882,1714,1803,1781,1605,2113,3252,3342,2699,2077,2750,3373,2665,2609,2810,2155,1375,1266,1244,1220,1185,1182,1438,1549,1317,1177,1664,2022,1932,1817,2214,2592,2435,2205,2093,2514,2599,2352,2168,2014,2297,2084,2152,2072,2214,2480,2375,2192,2303,2270,2141,2042,2041,2229,1944,1687,1693,1632,1614,1753,1834,1687,1671,1663,1709,1720,1729,2149,2350,1900,1896,2009,1721,1755,1726,1999,2599,2600,2655,2482,2318,1820,1422,1381,1417,1589,1842,2391,2459,2324,2464,2507,3348,3607,3668,3820,3260,2939,3044,2932,2228,1879,2015,2409,2518,2210,1787,1678,1740,1590,1698,1505,1514,1874,1909,1889,1732,1502,1482,1699,1823,1488,1680,1729,1647,1579,1482,1676,1882,1860,1624,1622,1978,2088,2166,2186,2083,2035,2364,2297,1977,1682,1524,1384,1512,1598,1283,1514,2032,2101,1389,2026,2866,2132,1895,1977,2096,2721,2834,2558,2535,2577,2599,2248,2105,2142,2478,2580,2799,2589,2647,2374,2624,3357,3053,2026,1582,1938,1936,2308,2088,2107,2218,2121,2106,2280,2019,2041,2472,3122,2469,1819,2198,2615,2789,2523,2603,2321,1929,1849,2019,2450,2852,2313,2100,2331,2266,2074,2192,2066,2121,1986,1989,1813,1616,2523,3334,2745,2645,2910,3030,3228,3081,3121,2245,1925,2001,2514,2809,2085,1559,1854,2387,1995,1697,1959,1958,1699,1691,1899,2012,1802,1922,2032,2077,1908,1701,1705,1769,1790,1665,1631,1861,1621,1832,1783,1764,1813,1548,1400,1332,1378,1338,1338,1310,1292,1342,1350,1491,1462,1361,1371,1341,1309,1309,1456,1590,1867,1967,1756,1729,1665,1411,1290,1286,1244,1323,1633,1559,1544,1548,1640,1771,1772,1491,1431,1437,1579,1640,1668,1718,1547,1333,1355,1467,1585,1691,1648,1548,1483,1686,1596,1506,1521,1276,1725,2169,1983,2430,2282,1743,1665,1685,1542,1984,3030,3074,2841,2730,2242,1783,2570,2713,2458,2016,2116,2266,1986,1828,1852,1841,2053,2173,1650,1679,1987,1712,1544,2161,1959,1487,1767,2359,2282,2040,1982,2543,2798,2735,2430,2199,2253,2458,2119,2319,2785,2902,2870,2631,2109,2015,2160,1997,1997,1819,1976,2045,1879,2368,2258,1725,2358,2329,1726,1959,1791,1819,1958,1967,1615,1467,1844,1988,2148,2396,2436,1881,1773,2350,2817,2396,1986,2039,2187,2116,2589,2653,2174,2069,2193,1601,2004,2208,2535,2353,2891,3477,2513,2475,2570,2517,2873,3382,3898,3172,3425,4460,3650,3134,2872,2566,2869,2691,2420,2322,2225,2546,2477,1532,1121,1414,1909,1952,1900,2183,2314,2813,2962,2898,2921,2429,2365,2647,3647,3775,3642,3409,3552,3286,2817,2588,2763,2821,2762,2751,2864,2751,2256,2370,2460,2025,1691,1658,2096,2164,1932,1718,1666,1942,1901,1691,2068,2505,1924,1674,1709,1453,1336,1617,2111,2003,1675,1903,2128,1970,1762,1697,1831,1598,1486,1543,1734,2076,2062,2032,2417,2620,2132,2245,2432,2244,2103,2061,1988,2142,2055,2157,2318,2120,2076,2066,1781,1898,2364,2955,3088,2540,2444,1730,1858,2010,1969,1953,1978,1998,2012,2091,2005,1785,1697,1930,2200,2104,2481,2776,3375,3824,3620,3064,2577,2701,3044,2973,2446,2328,2758,2680,2376,2455,2802,2773,2585,2773,3003,2953,2963,3012,3059,2569,1870,1648,1622,1558,1504,1705,1973,2215,2068,2004,1886,2379,3183,3716,3139,2861,2521,2146,2201,2479,2270,2318,2492,2038,2097,2052,1841,1912,2351,2686,2621,2336,2253,1845,1965,2730,3061,3113,2576,2091,2489,2029,1760,1893,1803,1945,1886,1718,1759,1857,2398,2578,2477,2485,2386,2206,2700,3451,3665,2940,2039,1821,1831,1582,1526,1615,1838,2033,1965,2741,2350,1820,1729,1770,1697,1810,2039,1763,1617,1808,1875,2272,1870,1669,1669,1919,2226,2587,2482,2476,2578,2968,2875,2437,2597,2225,1854,1824,1676,1977,2339,2210,2071,1961,2324,2699,2444,2699,2679,2555,2510,1892,1798,1560,1801,2027,2526,2425,1880,1860,1832,1654,1763,1981,1998],[1917,2590,2932,3134,2674,2270,2374,2016,1406,1685,2602,3454,2587,1971,2720,3296,3166,3566,4014,4014,4264,4492,4484,4624,4800,4797,4648,4354,3863,4124,4240,4256,4120,4018,3493,2855,3210,3901,3871,3905,3876,3958,3799,3776,3969,4244,4240,4167,4133,3918,3647,3436,3188,3099,3281,3482,3242,2848,2512,2649,2932,2854,2792,3090,2984,2459,2590,2654,2432,2100,2548,3232,2220,1980,2411,2523,2043,2091,2314,1952,1821,2671,2521,2015,2610,2779,2216,2182,1946,1945,2084,2172,2013,2067,2289,2646,2887,2151,2440,2449,2169,1576,1664,1816,1649,1659,1941,1983,1913,2546,2504,3112,2900,2609,2946,3795,3916,3698,3632,3931,3558,3112,2764,2066,2111,1875,1913,2209,3098,3142,3141,3433,3034,2365,2092,1632,1956,2119,1896,1861,1964,1817,2142,2880,2498,2554,2412,1977,2008,1884,1710,1793,1958,1954,2311,2846,2691,1873,2018,2262,2295,2878,3381,3187,2854,2980,3094,2746,2896,3565,4016,4034,3363,2909,2690,3040,3507,3781,3839,3534,3126,2595,2539,2391,2382,2096,1832,2029,2468,3016,2994,2945,2908,3022,2288,1725,2280,2348,2105,2053,2302,2014,1523,2035,2887,2862,2451,2554,2697,2468,2100,2295,2677,2518,1913,1648,2443,3137,3220,2683,1609,1480,1956,1830,1676,2476,2733,2735,2973,3162,3016,2314,2205,2532,2589,2529,2352,2484,2740,3250,3508,2907,2422,2684,2758,2427,2696,2842,2431,2098,1614,2155,2225,1997,1993,2149,2198,2103,2060,1782,1238,1376,1888,1767,1699,1615,1725,1942,3156,3316,2769,2389,2730,2805,2961,2738,2645,2636,2087,2252,2618,2765,2749,2049,1509,1976,2216,1945,2148,2714,3050,3054,2697,1975,1834,2161,2031,1888,2072,2058,2112,1885,1878,2485,3195,2910,1801,2209,3031,2384,1761,2567,4051,3164,1642,1929,2518,3082,3115,2840,2924,3086,3107,2913,2343,2237,2490,3174,3852,3347,2376,2527,2972,2999,2785,2986,3492,3442,3425,3424,3746,2934,2330,2481,2596,2282,1877,2187,2689,2483,2714,2814,2225,1957,1920,1849,2408,2581,2396,2041,1975,2540,2670,2780,2721,2751,2402,2206,1990,1802,1936,2345,2526,2160,1959,2287,2419,2363,2222,2553,2418,2634,3293,2702,1639,1594,1898,1874,2215,2980,3106,2408,1969,2797,4376,3950,2335,2346,2649,2533,2566,2750,3016,2933,2787,2896,2834,2666,1924,2291,3508,3662,3321,2562,1654,1312,2311,3728,3459,3539,3145,2567,2356,2506,2424,2127,2262,2263,2067,2326,2601,2632,2587,2424,2045,2304,2758,2380,1936,1712,2438,2698,2055,1880,1930,1994,2234,2356,1932,1802,2110,2569,2576,1965,2118,2573,2526,2778,2432,1846,1936,1901,1902,1858,1775,1625,1772,1677,1786,1888,2260,2524,2482,2339,2238,2841,2709,2970,3540,3661,3348,2899,2809,2508,2185,2448,2484,1829,1719,2123,2298,2288,2482,2439,3210,3537,2924,2375,3226,3488,3185,3284,3156,3371,2824,2126,2078,2485,2520,2176,2210,2758,2828,2378,2200,2107,2194,2601,2227,1983,2193,2332,2623,2958,2380,2169,2198,1830,1736,1742,2166,2769,2508,2610,2246,1858,1994,1693,1388,1722,2858,3199,2877,2610,2742,3065,3527,4228,4234,4099,3702,3459,3410,3298,3354,3394,3000,2508,2102,1790,2191,2533,2357,2431,1986,2084,2061,1660,1581,1753,1673,1882,2105,2113,2035,1870,1872,2030,2390,1991,2256,2256,2236,2968,3042,2398,2270,2007,1568,1444,1642,1504,1782,1467,1852,1950,2700,3570,3780,3197,1960,1364,1129,1137,1580,2327,1838,1516,1644,1688,1949,2134,1939,1770,2003,2216,2499,2950,2366,2649,2614,2648,2030,1557,1419,1407,1571,1759,2122,2015,1930,1654,1482,1404,1069,1326,1453,1376,1368,1530,2029,2600,2986,3043,3007,2564,1852,1643,1456,1544,1778,1908,1803,1839,1886,1889,1758,1622,1406,1570,1729,1673,1799,1832,1679,1403,1322,1351,1367,1360,1374,1567,1364,1387,1417,1419,1920,1433,1372,1487,1455,1440,1499,1589,1474,1371,1529,1884,1556,1628,1543,1825,2191,2696,2812,2876,3075,2933,2062,1506,1760,2248,3100,3514,2598,2209,2150,2021,1929,2529,2943,2600,2039,1818,1758,1984,2276,2542,2254,2242,2034,1715,2210,2540,2674,2692,2370,2363,1854,2497,3548,3782,3315,3348,2072,1967,2765,2864,2875,3521,3574,2828,2537,2396,2487,3129,2918,2968,2556,2126,2334,2557,2313,2288,1975,2480,2298,1533,1516,1993,2086,1988,2024,2590,3056,2831,3007,3400,2525,2219,2071,2257,1922,2321,3492,3973,3463,2822,2600,2644,2417,2305,2799,2464,2361,2581,2709,2598,2333,1788,1652,1259,1025,1266,1602,2110,2023,1932,1893,2152,3176,4277,4448,4512,3226,2839,2910,2181,3038,3582,3480,3388,3586,3422,3452,2998,2784,2668,2451,2488,2584,2571,2444,2310,2424,1927,2071,1926,2036,2493,2230,1504,1282,1444,2683,2975,2241,2577,2776,3099,3472,3576,2651,2044,2446,3082,2792,2317,2244,1951,2148,2652,2221,1637,1722,1788,2406,3151,2675,2105,2391,2762,2778,3071,3304,2845,3256,4046,3505,3585,3338,2910,2514,2423,2469,2955,3708,3389,2454,1764,1895,2286,2303,2499,3586,4062,4143,4284,4383,4359,3790,3875,4559,4507,4436,3964,3171,3680,3372,2998,3024,2700,2439,2440,2444,1884,1684,1874,2224,2734,2728,2414,2088,2699,2932,2385,2526,3606,3623,3615,3764,3854,4348,4099,3455,3120,2740,3066,3864,4125,4060,3920,3265,2741,2548,2155,1844,2040,2581,2279,2632,4079,4469,4189,2990,2966,4129,4763,4201,2649,1549,1706,2349,2752,2495,2121,1674,1171,1866,2034,1268,1118,1426,1766,1880,1616,1314,1323,1474,1358,1560,1575,1914,2788,3115,2965,2376,1870,1888,2302,2654,2968,2819,2721,2792,3251,3603,3414,3077,3076,3422,3044,1990,1418,1258,1180,1318,1438,1598,1740,1346,1119,1161,1208,1266,1433,1471,1461,1546,1537,1533,1415,1452,1438,1270,1383,1915,1832,1572,1469,1554,1866,2824,3654,3096,2258,2418,2907,2543,2097,2470,2217,1410,1310,1311,1223,1060,1284,1275,1544,1512,1296,1736,2028,1697,1775,2306,2430,2030,2155,2223,2123,2204,2378,2442,2273,2126,2263,2343,2222,1892,1918,2040,2287,1791,1767,1786,1656,1470,1511,1573,1549,1570,1566,1622,1663,1725,1654,1626,1598,1686,1784,1830,1696,1852,2258,2306,2493,2428,1848,1634,1650,2054,2355,2172,2243,2575,1927,1448,1361,1460,1494,1474,1803,1954,1531,1454,1882,2476,3661,3990,3535,3200,3378,3145,2800,2569,2394,2357,2438,2364,2073,1826,1640,1680,1872,1713,1604,1534,1569,1744,1913,2138,1891,1656,1391,1609,1836,1597,1770,1669,1551,1520,1638,1760,1693,1782,1699,1552,1886,1990,2733,2968,2561,2174,2442,2374,1974,1805,1540,1673,1725,1688,1259,1288,2073,2533,1635,1688,2746,2490,1897,2154,2352,2359,2478,2416,2288,1942,2148,1980,1838,2652,2796,2626,2830,2662,2478,2297,2547,3112,2501,1820,1360,1560,2157,2310,1882,2160,2665,2802,2613,2448,2110,2143,2162,2690,2345,2264,2358,2574,2611,2365,2408,2340,2091,2098,2106,1997,2226,2314,2858,3407,2426,1986,1874,1991,2085,1734,1770,1544,1485,2400,3096,2932,2603,2719,2713,3086,2806,2542,2184,1694,1617,2097,2187,1493,1365,1766,2265,1843,1824,2129,2335,2362,2313,2196,1899,1547,1477,1680,1950,1770,1564,1585,1595,1836,1641,1771,2043,1729,1796,1842,1653,1906,1713,1389,1460,1306,1221,1323,1260,1506,1550,1361,1525,1456,1409,1494,1583,1428,1257,1282,1386,1656,1635,1664,1876,1665,1533,1517,1255,1422,1513,1557,1554,1640,1709,1691,1605,1486,1565,1690,1518,1664,1770,1712,1633,1556,1464,1417,1605,1581,1633,1642,1405,1476,1556,1490,1577,1562,1474,1568,1979,1780,2062,2062,1777,1599,1488,1669,2354,2861,3068,3227,2707,2102,2441,2919,2749,2722,2285,1859,1723,1970,1881,1944,1887,2141,1897,1444,1538,1844,1921,1970,2382,2080,1780,2352,2415,2200,2339,2117,2645,2502,2160,1848,1853,2354,2592,2315,2423,2348,2319,2342,2175,2128,2194,2054,2020,2062,1773,1634,1749,2131,2412,1984,1856,2280,2206,1796,1899,1826,1953,1858,1776,1742,1687,1706,1882,2034,2509,2677,1903,1932,3421,3544,2568,2168,2229,2620,3122,3062,3062,2780,1912,1706,1583,2520,2462,1836,1813,2657,3442,3752,3384,2542,2190,2784,3510,3113,2231,2832,3304,3248,3212,2731,2341,2762,2450,2298,2659,2370,2287,1923,1255,1462,1620,1786,2249,2470,2504,2524,2884,2811,2744,2569,2425,2724,3168,3906,4069,3959,3696,3255,3065,2890,2590,2655,2623,2552,2723,2950,2985,2802,2764,2266,2134,2122,1897,1873,1744,1622,1494,1888,2555,1958,1449,1807,2098,1834,1771,1608,1459,1507,1707,1982,2132,1941,1831,1884,1819,1686,1849,1908,1829,1748,1598,1719,1911,1961,2158,2388,2207,1892,2480,2917,2324,1958,2323,2541,2288,2018,1911,1551,1825,2464,2172,1671,1835,2280,2482,2298,2128,2091,1685,1723,1799,1758,1919,1937,2031,2120,2270,2250,1937,2074,2093,2365,2761,3520,4155,4111,3732,3248,2620,2325,2505,2663,2985,2613,2573,2792,2714,2522,2594,2787,2733,2712,2820,3053,2929,2965,2980,2376,1719,1488,1470,1486,1562,1603,1490,1852,2671,2212,1947,2166,2874,3463,3669,3400,2655,2558,2712,2159,1968,2401,2497,2510,2376,2599,2365,2367,2131,2090,2420,2763,2524,1942,1594,1828,2289,2890,3348,3139,2535,2083,1991,2022,1771,1580,1776,1880,1794,1999,2055,2709,2312,2438,2596,2862,2565,2890,3025,2742,2546,1936,1556,1552,1473,1670,1762,1709,1901,2205,2652,2058,1652,1483,1425,1656,1881,1949,1703,1791,2157,2008,2325,2050,1728,1848,1942,2214,2684,2561,2447,2620,3061,2806,2629,2701,2295,2041,2010,1880,2077,2093,1798,1799,1867,2042,2362,2191,2287,2158,2121,1898,1721,1802,2412,2612,2302,2388,2189,1785,1714,1863,1721,1838,1815,2055],[2597,2896,2997,3055,2655,2479,2423,2397,2112,1521,2190,3106,2441,1891,2862,3646,3807,4207,4328,4223,4191,4536,4576,4722,4976,4997,5048,4785,4160,3514,3648,3743,3672,4049,3768,2672,2721,3663,3953,4039,3897,3673,3354,3375,3516,3938,4164,4175,4061,3832,3684,3519,3134,2767,3008,3561,3485,3513,3460,3486,3165,2904,2853,3085,2876,2383,2424,2357,2269,2192,2298,3056,2926,2667,2699,2325,2102,1818,1688,2145,1970,2211,2054,1323,1600,2225,2401,2403,2205,2045,2046,1924,1973,3010,3009,2652,2966,2488,2398,2526,2088,1585,1534,1809,1832,1502,1619,2054,1943,2809,2815,3797,3862,3278,3364,3673,3702,3801,4232,4123,3597,3461,3328,2773,2099,2056,2150,2016,2753,3219,2567,2380,2430,2486,2114,1505,1919,1805,1686,2073,2075,1988,2037,2178,2159,2600,2635,2369,2154,1781,1808,2260,2335,2661,2699,2367,2147,2453,2633,2537,2521,2808,3112,2474,2092,2131,2156,1744,2680,3547,3973,3898,3317,2834,2680,3028,3450,3638,3566,2523,2369,2720,3093,3045,2510,2060,2014,2037,2138,2157,2238,2463,2541,3526,3096,2027,1895,1906,2126,2244,2338,2054,2068,2514,2752,2799,3291,3031,2729,2282,2196,2730,2394,2304,2170,2413,3238,3045,2482,1707,1633,1608,1719,2080,2249,2890,2620,2411,2643,3030,3221,2632,2022,2010,2352,2539,2700,2748,3105,3043,2092,2141,2344,2399,2408,2631,3035,2852,2376,2900,2266,2098,2297,1798,2378,2866,2595,2833,2676,1920,1470,1282,1550,1632,1903,2031,2303,2409,2798,2855,2236,2233,2640,2981,3215,2849,2535,2329,2192,2694,3071,2988,2066,1081,978,1794,2331,2631,2592,2663,2886,2812,2625,1901,1766,2127,1867,1918,2139,2050,1842,1867,2259,3132,3759,2755,1671,2728,2954,2121,2137,3322,3737,2163,1246,1708,2360,2548,2648,2746,2708,2877,2692,2757,2469,2035,2040,2417,3061,2560,2006,2535,2851,2974,2940,3104,3210,3359,3486,3779,4116,3515,2661,2472,2245,2014,1960,2163,2510,2731,2670,2765,2087,1726,1699,1623,2075,2503,2271,2096,2169,2864,3198,2723,2535,2669,2475,2619,2378,1689,1913,2473,2619,2253,2154,2216,2431,2388,2174,2292,2304,2696,3111,2276,1512,1810,1928,2220,3141,3566,2813,1929,2275,3286,4615,3894,2724,2569,2558,2594,2856,3344,3887,3050,2871,2963,2855,2178,1896,2242,2760,2851,2718,2201,1797,1995,2728,3421,3245,3306,3164,2446,2234,2178,2196,2299,2377,2092,1936,2377,2060,1942,2073,2275,2057,2087,2303,2447,2209,2242,2845,2666,2524,2502,2358,2106,2086,1857,1618,1771,2183,2323,2170,1778,2049,2774,2642,2483,2068,1837,1721,1722,1885,1896,1741,1622,1721,1529,1615,2244,2690,2764,2338,2325,2023,2823,2822,2738,3349,3452,3156,2987,2909,2769,2502,2767,3196,2524,1887,2074,2175,2294,2303,2228,2803,3182,2988,2512,2499,2687,2698,3316,2996,3405,2832,2364,2488,2844,2497,2476,2732,2426,2202,2016,1840,2470,2589,2317,2029,2197,2222,2357,2351,2185,2067,2073,1963,1767,1549,1317,1539,2381,2667,2486,1880,1636,1814,2063,1827,2108,3133,3461,2941,2324,2504,2857,3511,4080,3867,3627,3506,3120,2923,3033,3053,3061,2453,1931,1813,1964,2270,2696,2184,2160,1643,1348,1714,1858,1920,1902,1722,2306,2231,1916,1766,1628,1865,2184,2735,2211,2382,2593,2278,2897,2988,2439,2066,1908,1505,1408,1692,1671,1878,1945,2209,2335,2592,3403,3769,3487,1935,1479,1791,1946,2286,2800,1916,1231,1284,1390,1901,2212,1452,1479,1791,1486,1954,2626,1453,1264,1765,2205,1883,1750,1580,1343,1564,1914,2336,2350,1743,1439,1414,1723,1582,1542,1367,1465,1665,1523,1813,2619,3056,2779,3100,2770,1922,1530,1387,1375,1612,1484,1361,1436,1634,1718,1671,1555,1324,1343,1891,2346,1990,1683,1626,1332,1272,1366,1329,1264,1325,1467,1352,1319,1347,1365,1469,1397,1524,1513,1366,1264,1541,1687,1545,1447,1494,1628,1615,1797,1631,1899,2958,3453,3410,3543,3496,2723,2005,1957,2495,2265,2269,2313,2285,2015,1801,1860,1624,1725,1829,1675,1763,1992,1925,1826,1761,1602,2357,2928,2386,2446,2338,2286,2597,2521,2453,2486,2333,2930,4026,4580,4569,3742,2417,2508,3072,2891,3020,3667,3473,3703,3759,3268,2600,2586,2547,2710,2813,2895,3571,3819,2320,2168,2288,2409,2031,1560,1749,2312,2476,2534,2727,2856,2719,2955,2801,2898,1910,1524,1599,2216,2144,2856,3681,3839,3463,2814,2829,2713,2550,2263,2225,2148,2280,2574,2595,2584,3012,2834,2107,1608,1398,1693,2076,2163,2054,2519,2570,2820,3630,3544,3408,3834,2824,2590,3209,2674,3009,3409,3623,3815,4124,3132,2344,2168,2138,2130,2253,2369,2264,2128,1940,2058,2492,1538,1568,2157,2180,1917,1821,1906,1569,1533,2829,3659,3223,3187,2723,2618,3018,3436,2663,2338,2947,3329,2722,2585,2354,1948,2231,2929,2553,1514,1837,2435,3033,3217,2609,2740,2949,2735,3052,3540,3488,2590,2731,3805,3010,3063,3471,3531,3015,2588,2543,3074,3875,3638,2922,2059,1764,1974,2314,2329,3129,3653,3846,3914,3784,3829,3728,3895,4391,4335,4231,4277,3949,3383,3034,2656,2469,2441,2192,2452,2305,1645,1867,2374,2185,2264,2938,2502,2356,2944,3364,2698,2567,3653,3916,3316,2305,2647,4004,4532,4272,3320,2446,2508,3421,4096,4151,4140,3889,3307,2602,2290,2136,2519,2859,2312,2405,3352,3294,3292,2975,2823,3389,4273,4041,2586,1834,2098,2551,2683,2656,2243,1725,1015,1387,1637,1185,1135,1549,1897,1588,1153,1133,1455,1764,1715,1582,1771,1878,1819,1973,1962,1859,1958,2213,2186,2452,2810,2919,2911,2902,3245,3370,3094,2878,3217,3458,2820,1968,1547,1412,1227,1292,1511,1846,1588,1336,1288,1302,1175,1041,1108,1418,1432,1289,1498,1404,1371,1517,1392,1050,1619,2050,1947,1843,1677,1634,2269,3111,3350,2635,2187,2587,2325,2275,2679,2548,1674,1353,1294,1368,1370,1489,1769,1695,1629,1451,1671,2006,1699,1816,2493,2645,2055,1567,1825,2167,2250,2359,2479,2309,2247,1986,1819,2040,1990,2062,2019,1867,2117,1910,1879,1793,1576,1588,1921,1736,1506,1514,1465,1456,1535,1731,1880,1799,1493,1572,1748,1835,1531,1520,1855,1926,1927,1847,1481,1367,1471,1801,1586,1439,1748,2017,1640,1667,1654,1482,1551,1436,1530,1506,1289,1366,2034,2664,3065,3500,3378,3332,3847,3483,2480,2521,2932,2474,2371,2568,2199,1896,1830,1998,2171,1893,1618,1599,1537,1581,1747,1982,1930,1578,1502,1624,1813,1636,1633,1669,1628,1641,1680,1748,1655,1769,1634,1546,1840,1856,2360,2711,2518,2149,2245,2364,2347,1954,1450,1914,1692,1626,1281,1359,1926,2036,1504,1820,2874,2810,2046,2087,2124,1997,2329,2511,2751,2420,2515,2314,1775,2187,2780,2697,2273,2354,2656,2313,2181,2203,1718,1720,1638,1704,2142,2211,1964,1835,1928,2099,2034,2093,1854,1675,2167,2832,2927,2801,2461,2211,2202,1916,1988,2466,2222,2332,2324,2147,2725,3087,3176,2666,1872,2045,2100,2383,2186,1628,1705,1455,1450,2126,3371,3615,2632,2501,3138,3506,2810,2381,2532,2238,2216,2238,1705,1444,1544,1793,1763,1439,1665,1921,1958,2506,2892,2610,2026,1591,1656,1821,1874,1685,1511,1718,1691,1835,1754,1875,2002,1571,1507,1826,2014,2264,1922,1518,1366,1311,1300,1295,1278,1637,1662,1350,1302,1343,1531,1597,1692,1472,1288,1304,1352,1552,1816,2025,1961,1923,1757,1809,1552,1582,1588,1788,1939,1932,1893,1942,1930,1896,2135,2020,1609,1546,1957,1739,1740,1727,1569,1343,1394,1409,1473,1414,1313,1451,1584,1725,1838,1620,1854,1885,2009,1887,1784,1692,1631,1525,1611,2147,2224,2304,3121,3133,2855,2464,2808,2902,2974,2405,1852,1918,2403,2588,2588,2557,2470,2129,1562,1411,1814,2360,2379,2009,1747,1691,2032,2706,2237,1927,2021,2030,2361,2335,1963,1934,1983,2265,2418,2225,2246,1832,1736,1966,2144,2294,2556,2394,2094,1982,1785,1748,1780,1749,1910,1670,1732,2097,2332,2438,2851,2596,1986,1643,1929,2158,1775,1842,2723,2383,2937,2669,2390,2647,3374,2978,2248,1969,2113,2484,2644,2853,3222,3381,2855,2565,2522,2936,2367,2213,2143,2403,3448,3704,2900,2330,2421,2533,2930,2003,1825,2701,2884,2587,2732,2518,2602,2975,2209,2119,2211,2031,2409,2052,1670,1883,1763,2164,2833,3035,3022,2942,3165,2768,3090,3110,3144,3168,3211,2972,3127,3386,3168,2886,2940,2543,2328,2510,2535,2562,2808,2682,2736,3167,2783,2024,2258,2210,1702,1757,1581,1598,1640,1732,2412,1978,1583,1572,1555,1555,1630,1598,1490,1574,1741,1983,2264,2026,1715,1702,1527,1365,1738,2003,1910,1709,1731,1857,1937,2325,2592,2508,1941,1870,1853,2565,2216,1911,2044,2044,2017,1801,1604,1702,2353,2700,2358,1920,1815,1924,1903,1938,2106,1995,1808,1710,1620,1546,1722,1892,2008,2144,2355,2240,2047,1823,1642,2078,2844,3670,4265,4052,3316,3243,2740,2730,2653,2797,2837,2568,2505,2566,2523,2458,2459,2560,2756,2737,2677,2962,2972,2788,2228,1808,1722,1610,1436,1482,1538,1516,1557,1805,2895,2721,2118,2469,3076,3354,3520,3299,2894,3219,3302,2513,2411,2828,2580,2588,2757,2453,2220,2519,2688,2447,2352,2187,1793,1534,1763,2230,2978,3222,3107,3020,2524,2078,2290,2180,1851,1692,1889,1968,1879,1943,2143,2281,1931,2009,1973,2072,2192,2379,2407,2181,2059,1621,1565,1512,1558,1879,1923,1771,1736,1648,1648,1772,1664,1567,1578,1572,1948,2439,2222,2650,2593,1866,1897,1991,1835,2216,2376,2383,2725,2935,2910,2934,2902,2562,2719,3075,2851,2570,2060,1810,2098,2092,1919,1955,1948,1981,2451,2589,2213,2043,2006,1819,2025,2721,3277,3089,2868,2787,2627,2040,1764,1677,1787,1843,1828,2181],[3030,2964,3183,3339,3077,2761,2532,2686,2543,1720,1839,2720,2762,2539,3196,3547,4015,4420,4355,4464,4264,4403,4491,4686,4904,4949,4916,4620,4058,3475,3531,3637,3391,3387,3117,2911,3276,3799,3982,3934,3984,3720,3532,3533,3505,3471,3649,3965,4108,3924,3648,3491,3247,3305,3130,2942,3309,3510,3732,3925,3275,3082,3002,3054,2484,2124,2013,2315,2558,2846,2707,3047,2919,2402,2567,2396,2874,2514,1780,1938,1582,1978,1860,1489,1847,2184,2702,3117,2648,2204,2105,2397,2593,3330,3243,2761,2986,2984,2732,2460,2039,1779,1905,2240,2217,2038,1940,2430,2247,2262,2525,2956,3045,3209,3431,3463,3100,3317,3907,3644,3516,3565,3461,2645,2242,2334,2188,2215,2977,2777,1629,1288,1371,1743,1940,1835,2026,1935,2199,2958,2994,2656,2240,1935,2329,2593,2679,2685,2032,1928,2526,3060,3334,3730,3161,2173,2157,2654,2475,2204,2305,2166,2168,2049,2642,2851,3278,3364,3474,3571,3605,3615,3562,3216,3038,3196,3397,3343,3131,2573,2964,3310,3350,3237,2565,2059,2366,2408,2169,2109,2249,2247,2299,2907,3687,3109,2184,2193,2684,2679,2186,1840,1874,2024,2591,2742,2724,2670,2312,1998,2196,2175,1481,1818,2644,3210,3322,2939,2064,1528,1988,2100,1989,2689,2734,2567,2723,2859,3202,3254,2751,2328,2088,2054,2298,2397,3013,3593,3821,3063,2451,2693,2769,2580,2235,2372,2514,2041,2149,2613,2614,2009,2141,2140,2339,2386,2255,2699,2534,2250,2290,1911,2510,2291,2723,2611,2103,1831,2317,2922,2713,2661,2795,3034,3081,2923,2330,2467,2679,2632,2989,2402,1218,1165,2035,2586,2444,2496,2090,2367,2930,2358,2376,2093,2046,1968,1800,2061,2294,2247,2269,2461,2534,3628,3769,2496,2232,2691,2200,2175,3172,3879,3095,1703,1514,1878,2568,1910,1678,1729,1909,2207,2684,2953,2498,2359,2618,2615,3028,2998,3060,3069,2954,3122,3304,3437,3269,3295,3571,3870,3974,3374,2387,2402,1888,1813,2126,2162,2686,2921,2709,2698,2252,1948,1961,1762,1771,2111,1929,2049,2096,2897,3499,3154,2999,2915,2692,2576,2163,2032,2562,2503,1805,1858,2784,2518,2215,2351,2254,2254,2405,2447,2641,2223,1945,2070,2232,2501,3010,2354,1824,2361,3014,3985,5156,4872,3472,2569,2722,2813,2923,3052,3155,2695,2962,3211,3251,2790,2398,2470,2537,2033,1542,1881,2470,2590,2496,2457,2753,3044,3269,2628,2100,2192,1789,1307,1391,1415,2000,2571,2364,2277,1839,2049,2317,2635,2430,2137,1903,1834,2309,2595,3046,3209,2869,2245,1927,1973,2014,1991,1882,1617,1949,2091,2244,3076,2704,1999,2310,2537,2056,1881,2236,2035,1786,1918,1936,1693,2054,2404,2577,2854,2160,1985,1689,2457,3153,3303,3257,2861,2966,3183,3056,2557,2603,3168,3451,3056,2236,2057,2293,2221,2048,2153,2267,2820,3394,2824,2740,2813,2554,3211,3326,3487,2979,2249,2098,2328,2260,2458,2530,1985,2053,2006,2136,2851,2556,2131,1986,1909,1983,2291,2199,1990,2185,2365,2358,2113,1550,1460,1616,2069,2052,1882,1704,1770,1990,2096,1958,2078,2462,3191,2898,3066,3088,3103,3449,3539,3763,3737,3060,2365,2614,3141,2779,2544,1898,1831,1824,2072,2054,1922,1690,1874,1786,1686,1904,1808,1918,1678,1626,1873,1964,1757,1462,1348,1403,1929,2968,3309,2954,2336,1731,1931,2040,1722,1740,1896,1933,1969,1877,1815,1793,1841,2768,3360,2691,3265,3714,3674,2000,1700,1650,1491,1967,2601,2088,1158,1083,1174,1918,2247,1385,1730,1644,1122,1700,2199,1029,276,1175,2050,1911,2310,2541,2040,1946,1756,1692,1702,1698,1679,1498,1865,2137,1794,1466,1765,1778,1599,1719,2502,2898,2639,2989,2607,1836,1561,1431,1628,1719,1715,1660,1648,1588,1390,1951,1758,1425,1313,1807,2407,1992,1513,1553,1561,1306,1237,1375,1333,1388,1364,1325,1280,1292,1302,1265,1520,1689,1463,1410,1357,1513,1566,1594,1577,1563,1502,1726,2273,2400,2520,3328,3492,3328,3209,2858,2052,1804,2366,2690,2161,1920,2093,2243,2047,1831,2093,1845,1899,1736,1805,2008,1906,2021,1770,1624,1809,2688,3182,2452,2105,1974,2346,2479,2492,2548,2221,2225,2291,2729,3339,3558,3265,3103,2743,2448,2693,2756,2997,3034,3160,3323,2912,2768,2357,1733,1862,2086,2453,3382,3422,2218,2304,2047,2008,2015,2185,2135,2075,2600,2916,3164,3083,2001,2586,2543,3038,2029,1658,1623,2207,2431,2128,2625,3347,3229,2996,3147,2836,2832,2022,1539,1716,2264,2854,2857,2791,3318,3381,2411,2112,2292,2576,2817,2727,2196,2735,3151,3237,3260,3042,3385,3441,2546,2508,3318,3493,3539,3730,3814,3492,3029,2200,1678,1597,1604,1665,1996,2518,2652,2388,1881,2258,2526,1989,2144,2743,2688,2114,1996,1905,1644,1579,2426,3334,2685,3353,3244,2324,2180,2933,3174,2445,2324,2718,2735,2792,2192,2193,2525,2806,2253,1785,2241,2874,3174,2908,2828,3440,3244,2422,2861,3969,3485,2554,2520,3452,3338,2562,2355,2834,2469,2108,2374,2804,3393,3773,3620,2480,1722,1874,2039,2055,2696,3266,3461,3605,3685,3829,4399,4471,4428,4299,4259,4463,4325,2968,2384,2028,1801,2063,2216,2309,1771,1918,2306,2678,2350,2452,3350,2902,2402,3121,3621,2846,2608,3405,3862,3517,2157,2806,3716,4483,4744,3659,2845,2930,3438,4078,4247,4183,4240,4096,3387,2965,2646,2519,2370,2198,1927,2153,2294,2462,2568,2348,2636,3596,3291,2386,2052,2297,2507,2431,2483,2446,1977,1329,1514,1865,1422,1318,2080,2249,1245,1015,1237,1415,1641,1893,1936,1905,1820,1964,2036,2051,1980,2072,2194,2182,1978,2297,2790,2874,2894,3000,2956,2599,2393,3243,3337,2842,2167,1919,1705,1604,1416,1732,1748,1423,1497,1576,1538,1180,1134,1227,1368,1081,1210,1358,1347,1435,1384,847,1135,2026,2089,2208,2032,2075,1843,2652,2949,2728,2102,2565,2962,2543,2720,2792,1892,1399,1322,1444,1432,1525,1757,1955,1750,1543,1614,1834,1667,1582,2321,2431,1747,1778,1890,2085,2418,2501,2753,2740,2730,2525,2226,2338,2427,2499,2505,2433,2292,2064,2121,1839,1730,1627,1581,1702,1590,1642,1495,1367,1473,1429,1477,1580,1475,1456,1505,1703,1699,1408,1324,1347,1721,1976,1621,1358,1354,1562,1456,1355,1512,1610,1406,1431,1673,1603,1482,1415,1346,1425,1373,1459,1874,2685,2894,2752,3078,3237,3549,3829,3552,2751,2397,2542,2095,2033,2446,2607,2305,1872,1785,1938,1914,1568,1561,1477,1554,1729,1817,1882,1679,1566,1630,1789,1770,1708,1765,1748,1713,1609,1630,1511,1702,1703,1547,1734,1924,2148,2308,2304,2318,2290,2060,2166,1942,1508,1560,1478,1552,1547,1482,1730,1648,1440,2132,2689,2729,2324,1799,1841,2568,2661,2511,2773,2351,2226,2558,2299,1770,2112,2485,2176,2322,2547,2472,2235,2220,1949,1885,1949,1867,1987,1880,1849,1854,1665,1730,1697,1709,1820,1509,1963,3288,3373,3067,2722,1968,2313,2189,2335,2801,2113,2304,2564,2468,2458,2747,2776,2075,1750,1795,2143,2626,2182,1624,1453,1300,1621,2228,3216,2888,2445,2953,3439,3356,3023,2856,2768,2412,2731,2225,1592,1642,1778,1748,1667,1653,1678,1513,1308,1729,2102,2427,2201,1626,1581,1652,1653,1527,1413,1252,1290,1538,1798,2014,1730,1622,1786,2083,2082,2047,1850,1521,1438,1394,1274,1367,1417,1386,1412,1329,1261,1655,1754,1551,1448,1520,1477,1336,1476,1677,1714,1745,1736,1822,1477,1472,1597,1759,1774,1685,2014,2056,1768,1804,1721,1982,2282,1902,1746,1968,3008,2587,1923,1608,1482,1475,1513,1551,1579,1511,1391,1483,1620,1683,1726,1633,1924,1780,1563,1700,1850,1714,1476,1532,1583,1853,1744,1827,2239,2321,2496,2806,2680,2353,2291,1973,1837,2035,2285,2414,2426,2193,2184,1937,1663,1642,2019,2193,2280,2065,1963,2270,1660,1670,1976,1750,1876,2090,2253,2248,2011,1854,2271,2434,2115,2014,1887,1701,1749,2010,2202,2271,2544,2122,1714,1656,1788,1974,1730,1567,1885,1847,1780,2090,2187,2836,3248,2840,2265,1886,1954,2100,2347,2473,2800,1935,2258,2864,3421,3077,3103,3737,2964,1877,2098,2307,2057,2308,2261,2830,3749,3321,3269,2994,2700,2253,1686,2733,3550,2508,2202,2035,2295,2125,2260,2066,2416,3340,3408,2967,3053,2750,2529,2886,2548,1853,2617,2268,2009,1836,1807,2070,1948,2524,2997,3316,2868,2596,2554,2380,3167,3183,3152,3304,2936,2635,2917,2822,2534,2634,2230,1990,2213,2685,2521,2502,2670,2520,2857,3095,2331,1909,2274,2166,1796,1865,1818,1969,1753,1814,2326,2239,1697,1492,1592,1597,1602,1492,1569,1902,1908,2030,1978,2081,1860,1692,1469,1605,1937,1953,2196,2342,2223,2220,2109,2142,2364,2287,1934,2055,1667,1716,1767,1795,2024,2024,1839,1958,1734,1772,2348,2509,2210,1787,1890,1800,1663,1644,1622,1935,2131,1910,1569,1671,1701,1780,1879,1971,1873,1930,1970,1642,1623,1757,2469,3687,3698,3681,3657,3593,3185,3008,2850,2503,2353,2471,2584,2676,2510,2194,2327,2736,2885,2278,2271,2921,2999,2252,1670,1833,1962,1657,1461,1522,1493,1343,1766,2089,2626,2548,2501,2666,2464,2396,2710,2918,3172,3008,2906,2941,2698,2296,1865,2280,2470,2070,1920,2169,2604,2388,2034,1716,2014,1904,2314,2662,3178,2989,2871,3352,2745,1904,1811,1980,1832,1696,1643,1816,1747,1622,1696,1660,1476,1607,1824,1894,1951,2073,2497,2004,1644,1684,1587,1488,1453,1526,1661,1776,1822,1754,1713,1871,1670,1760,1677,1488,1566,2122,2122,2718,2845,2298,1931,1829,2124,2534,2450,2405,2875,3165,3000,2946,2770,2740,3410,3328,2854,2779,2076,1659,1985,1987,1895,1982,2025,2060,2400,2460,2332,2294,2323,2408,2821,3566,3767,3374,3226,3215,2854,2119,1966,1804,1698,1677,1648,1729],[3212,3198,3355,3386,3217,2770,2385,2492,2177,1745,1927,2731,2882,2858,3373,3311,3937,4300,4151,4420,4483,4559,4414,4438,4583,4635,4492,4284,4264,4095,3615,2818,2153,2351,2898,3329,3566,3934,4069,3927,3882,3874,3762,3649,3603,3507,3369,3680,4095,4220,3958,3328,3121,3395,3474,3369,3209,3159,3105,3659,3306,2942,2864,2445,2364,2358,2369,2680,3059,3263,3387,3541,3278,2973,2668,2440,3275,3206,2629,2134,1311,1703,2160,2054,2054,2588,3545,3692,2696,2567,2286,2122,2489,2976,3188,2866,2972,2868,2298,2242,2217,2145,2388,2663,2370,2103,2579,3258,3009,2395,2788,2920,2734,2824,2983,2169,1651,2587,3196,3283,3548,3665,3564,3151,2819,2438,1993,2238,3001,2669,2091,1853,2025,2097,2183,2091,2170,2259,2387,2957,3055,2481,2091,1888,1795,1236,1336,1892,1882,2052,2688,2787,3087,3602,3356,2352,1870,2301,2277,1986,2040,2011,2508,2626,3543,3707,4100,4201,3518,3217,3398,3549,3632,3436,3507,3596,3593,3318,3387,3132,2994,3059,3188,3266,2791,2336,2672,2352,2161,2217,1952,2198,3079,2945,2855,3043,3073,2998,3032,3096,2447,1989,1798,2077,2353,2515,2713,2574,2256,1942,2054,2077,1795,2064,3154,3790,3413,3178,2216,1909,2434,2919,2496,2429,2425,2741,3077,3121,3040,2400,2250,2520,3061,3142,2852,3106,4047,4453,4140,3776,3553,3056,2586,2562,2632,2841,2731,2405,3223,3124,2580,1904,1622,1714,1750,1837,2231,2717,2610,3124,3132,2523,2717,2670,2770,2504,1992,1770,2337,2958,2921,2714,2802,3038,2765,2497,2420,2905,2937,2763,3223,3242,2577,2608,2946,2484,1996,1925,2164,2211,2198,1982,2065,2168,2216,1858,1814,2557,2744,3034,3110,2687,2497,3345,3406,2366,2474,3157,2860,2652,3395,3241,2535,2237,1905,2430,2315,1207,1368,1818,2030,2732,3034,2854,2340,2601,3409,3055,3206,3471,3470,3474,3624,3650,3430,3104,3209,3417,3471,3596,3615,2494,2481,2505,1907,2355,2345,2055,2863,3431,3084,2829,2475,1979,2250,1766,1703,1692,1764,1858,1948,2809,2941,2962,3288,3175,3100,2895,2454,2692,3155,3047,2307,2293,3652,3398,2632,2479,2250,2342,2480,2877,2750,2356,2269,2045,2047,2279,2232,1886,2303,2754,3038,4228,5068,4757,4018,2757,2798,2856,2790,2889,2797,3197,3481,3431,3540,3470,3078,2898,2695,2308,2137,2082,2286,2187,2332,2517,3006,3316,3441,2887,2225,2281,1510,809,1153,1548,1897,2003,2002,2099,2243,2263,2480,2802,2230,1927,2093,2228,1852,1951,2253,2700,2478,1851,1773,1999,1838,2089,2530,2498,2786,3107,3208,3189,2516,1711,1909,2131,1853,1916,2159,2202,2002,1958,1769,1751,2231,2562,2940,3070,2205,1850,2380,2731,2965,3560,3129,2896,3288,3185,2862,2284,2651,2945,3196,3003,2624,2083,1938,2137,2235,2213,1930,2230,2920,3378,3586,2552,2372,3052,3558,3611,3035,2128,1982,2346,2329,2510,2187,1335,1601,2267,2978,3123,2489,2275,2448,2302,2235,2266,2354,2172,2340,2511,2493,2459,2019,2020,1776,1584,1694,1683,1692,1855,1980,1944,1979,1978,2175,2370,2220,2829,2878,2842,3083,3119,3398,3682,2929,1945,2523,3054,2436,1910,1852,1984,1999,2540,2410,1688,1777,2218,2045,1600,1715,1822,1975,1733,1802,2258,2642,2249,1758,1630,1696,1910,2248,2217,2338,1880,1169,1259,1510,1522,2086,2335,2087,1620,1566,1970,2385,1798,2055,2092,2138,3143,3584,3495,2297,1689,2085,2870,2908,2883,2332,1368,1388,1596,2560,2195,1368,1494,1571,1455,1729,1825,1295,842,1425,2258,2025,2324,2732,2521,2024,1614,1523,1558,2191,2280,1624,1818,1975,1731,1553,1942,2083,1861,1971,2513,2650,2430,2811,2643,1996,1801,1879,2474,2000,1735,1639,1844,2008,1851,2366,1932,1292,1334,1572,1741,1712,1796,1630,1658,1405,1390,1428,1604,1485,1280,1320,1282,1272,1426,1520,1591,1463,1374,1390,1296,1357,1424,1583,1802,1745,1527,1817,2438,2507,2127,2728,3281,2984,2663,2164,1817,2274,2988,2731,1898,1676,2111,2021,2111,1880,1736,1812,2154,2409,2427,2121,1942,2133,1905,1312,1319,1867,2347,2557,2523,2071,2087,2239,2522,2525,2028,1758,2002,2364,2219,2337,2569,2809,2292,2293,2810,3243,3057,2774,3014,3039,2769,2500,1695,1578,1856,2229,3273,3298,2695,2022,1689,1676,2072,1856,1741,2041,1936,2232,2265,2911,3408,2234,2132,2710,3218,2467,1474,1651,2569,2401,2066,2707,3455,3315,3256,3565,3177,2790,1986,1688,2053,2272,2762,2947,2491,2565,2713,2300,2341,2724,3000,2791,2223,2027,2479,3283,3304,2385,2841,3673,2639,2601,3297,3544,3484,3452,3320,3104,2844,2592,2510,2325,1954,1740,1619,2047,2943,3097,2819,2132,2069,2420,2472,2658,2923,2409,1891,2209,2040,1720,2034,2534,2885,2599,3431,3465,2414,1772,2220,3099,2764,2471,2776,2355,2552,2258,2312,2429,2657,2353,1964,2151,2537,2742,2779,2913,3122,3617,2667,2640,3392,2525,2137,2365,2823,2717,2081,1982,1923,1466,1470,1859,2264,2725,3357,3427,2545,1857,1761,2047,2369,2601,3052,3437,3802,4163,3974,4353,4490,4589,4581,4419,4552,4188,3095,2381,1748,1531,2251,2688,2821,2282,2718,3205,2992,2465,2548,3395,3398,2713,3029,2990,2231,2222,2763,3254,3670,3173,3153,3648,4236,4736,4540,4017,3259,3021,3720,4305,4240,4264,4295,4112,3317,2999,2677,2540,2141,1856,2338,2877,3155,2995,2370,2595,2664,2346,2246,2558,2786,2864,2767,2797,2939,2479,1846,1522,1877,1501,1951,2349,2821,1730,1150,1169,1159,1370,1824,1926,1756,1945,2115,1927,1977,1997,1859,1773,1857,1749,1934,2344,2657,2692,2824,3068,3203,2998,3488,3475,3405,2979,2776,2643,2366,2213,1894,1540,1624,1802,1928,1671,1423,1251,1368,1167,909,1158,1388,1485,1435,1156,958,1706,1942,1974,2161,1827,1681,2220,2766,2894,2535,2190,2690,2887,2756,2451,1975,1290,1288,1424,1422,1455,1626,1778,1786,1474,1484,1781,1830,1821,2004,2296,2311,2272,2371,2232,2447,2864,2990,2666,2287,2303,2327,2415,2414,2281,2232,2136,1981,1742,1827,1955,1720,1664,1520,1346,1368,1458,1723,1577,1361,1344,1680,1777,1701,1657,1787,1883,1773,1663,1612,1682,1380,1506,1598,1448,1270,1389,1605,1572,1501,1664,1547,1277,1380,1597,1510,1555,1470,1401,1422,1438,1374,1561,2195,2322,2587,3309,3581,3111,2995,3172,2879,2292,2248,2138,1951,2762,3307,2481,1906,1791,1686,1745,1678,1612,1576,1716,1742,1660,1755,1713,1543,1561,1887,2050,1641,1678,1716,1570,1548,1714,1626,1806,1838,1664,1677,1898,2442,2995,2976,2749,2418,2044,2092,2139,1657,1620,1585,1470,1643,1468,1294,1562,1507,1983,2558,2689,2446,1826,1785,3151,3166,2559,3009,2834,2363,2407,2774,2207,1756,2407,3018,2755,2031,2377,2526,2311,2015,1911,1886,1780,2244,2189,1957,1734,1609,1775,1630,1707,2165,1858,1567,2605,3174,2824,2570,2308,2588,2343,2113,1801,1701,2185,2518,2556,2453,2724,2899,2748,2029,1837,2281,2509,2143,1529,1558,1487,1550,1933,2101,2340,3177,3656,3771,3508,3228,3155,2768,2601,2670,2322,2150,1786,1433,1721,2613,2477,1530,1352,1565,1693,2138,2260,2020,1642,1726,2016,1933,1722,1367,1103,1403,1507,1673,1910,1843,2050,2248,2083,1882,1703,1483,1360,1436,1410,1327,1332,1328,1517,1678,1552,1408,1489,1678,1613,1438,1497,1540,1497,1533,1595,1610,1684,1582,1527,1418,1411,1729,2105,1836,1800,2307,1979,1767,1649,1734,2013,1924,2148,2611,2715,2890,2336,1676,1516,1538,1512,1431,1497,1814,1709,1488,1475,1425,1414,1487,1816,2054,1885,1615,1681,1953,1628,1480,1449,1419,1487,1419,1496,1587,1845,2273,2610,2322,1955,2033,2146,1999,1975,1879,2143,2232,1871,1887,2245,1970,2078,2588,2331,2290,2505,2236,2501,1776,1677,1748,1666,1918,2468,2740,2221,1969,2003,2004,2278,1907,2315,2360,2093,1922,2125,2297,2328,2068,1659,1819,1981,1932,2003,1699,1458,1613,1831,1903,1923,1982,2198,2839,3688,3476,2584,2081,1994,2392,2512,2038,1642,2303,3072,3049,2809,3135,3211,2301,1972,2296,2471,2242,2288,2213,2922,3404,3094,2839,2632,2809,2054,2081,2609,2805,2648,2076,1895,2038,2044,2277,2889,3444,3742,3758,3558,3595,3075,2546,3002,2444,2351,3295,2552,1942,1833,1684,1911,2276,3085,2833,3227,3025,2410,2091,2398,3054,3276,3041,2857,3011,3108,2858,2010,1776,2187,2270,2690,2841,2758,2758,2878,2714,2864,3296,2849,2024,1725,1880,2070,1978,2053,2099,2102,1874,1990,2490,2322,1903,2180,2371,2309,2008,1846,2123,2174,1975,1899,1991,2169,2019,1739,1539,2012,2599,2150,1792,2044,2825,2410,1937,1886,1992,1872,2244,2453,1948,1534,1642,1688,1703,1629,1681,2012,1990,1957,2114,2281,2216,2194,2179,1708,2020,1771,1561,1543,1649,1755,1693,2008,1685,1602,1770,1834,1721,1894,1939,1601,1469,1406,2323,3766,3630,3335,3543,3795,3571,3386,3057,2412,2142,2122,2274,2663,2547,2520,2685,2739,2850,2216,2184,2711,2514,1909,1762,2128,2086,1692,1761,1631,1558,1466,1887,2196,2187,2369,2631,2458,2303,2460,2652,2696,2642,2248,2039,2352,2261,2087,2082,2565,2639,2164,2109,2334,2484,2037,1805,2099,2721,2558,2513,2586,2450,1809,2337,3292,2793,1739,1741,2233,2015,1837,1596,1557,1519,1631,1637,1647,1738,1783,2054,2170,2016,2065,2051,1595,1832,1870,1675,1829,1937,1725,1571,1669,1720,1834,1781,1927,1936,2133,1854,1852,2027,1982,1830,2181,2608,2471,1898,2047,2152,2038,2237,2364,2674,2669,2557,2497,2300,2520,3085,2791,2340,2653,2209,1692,1617,1615,1646,1905,2471,2543,2425,2564,2523,2387,2175,2109,2621,3361,3685,3462,3254,2800,2277,1907,1745,1678,1724,1639,1603,1721],[3312,3428,3323,3155,3031,2174,2142,2499,2112,1655,1967,2781,2948,2143,2632,3222,3618,3588,3463,3681,4192,4508,4500,4689,4644,4491,4533,4364,3928,3662,2944,2778,3226,3493,3671,3424,3509,3942,4180,4188,4015,3955,3920,3558,3539,3836,4000,3879,3639,3667,3653,3315,3098,2988,3410,3495,3164,2761,2742,2955,3112,2888,2695,2459,2246,2321,2585,2878,3458,3816,3830,3356,2790,2741,2422,2185,2845,3033,2862,2482,1996,1871,2176,2289,2432,2877,2206,2033,2242,2519,2342,2023,1895,2181,2392,2262,2540,2471,2229,2300,2176,1842,2088,2264,2019,2092,2206,2753,2921,2398,2547,3111,3120,2626,2508,1634,1272,2224,3032,3077,3138,3261,3538,3494,3067,2748,2256,2392,3240,3876,3548,3120,3450,2365,1926,1969,2005,2250,2110,2320,2553,1967,1640,1531,2061,1399,1028,1529,1795,1964,2317,2555,2729,3443,3810,3129,2635,2602,2415,2656,2786,2712,2576,2568,3527,4007,3978,3693,3429,3349,2940,3086,3229,3363,3649,3717,3386,3242,3532,3059,2393,2566,3146,3326,2834,2363,2448,2225,2150,2126,1863,2460,2842,2501,2337,2694,3334,3251,2856,3223,3150,2703,2099,2103,1966,2141,2401,2806,2806,1929,2066,2376,2361,2621,3564,3913,3403,2956,2436,2724,3418,3515,2945,2356,2797,3620,3284,2606,2409,2399,2258,2647,3909,3708,3473,4388,4764,4840,4495,4227,4048,3216,2479,2396,2862,3312,3330,3227,3204,2986,2793,2127,1603,1742,2005,2216,2525,2259,1819,3029,3184,2600,2331,2051,2014,2026,1613,1257,1775,2447,2529,2168,2634,2877,2556,2451,2880,3219,3304,3150,3020,3472,3771,3713,3769,2982,2142,2198,2540,2424,2085,1929,2154,2758,2844,2569,1962,2255,2126,3100,3121,2744,2446,2753,3021,2310,2080,2634,2907,2756,2404,2175,2036,2078,1848,2232,1593,876,1686,2225,2856,3798,3370,2720,2311,2964,3502,3618,3468,3349,3460,3470,3406,3642,3394,3152,3344,3739,3599,2611,2416,2792,3250,2513,1965,2083,1928,1540,1619,2327,2746,3011,2814,2147,2511,1832,1826,1995,2376,2094,1864,2224,2180,2022,2416,2625,3218,3107,2687,2645,2735,2658,2174,2298,3389,3045,2153,2261,2427,2423,2783,3381,3106,2885,2854,2496,2145,1966,2357,2665,2613,2775,2888,3299,3271,3392,4289,3186,3002,2961,2523,2717,3116,3497,3660,3532,3300,3508,3312,2994,3022,2752,2634,2281,2063,2117,2357,3039,3376,3520,3714,3509,2724,1929,1627,1344,1428,1879,2281,2028,2220,2779,2536,2073,1922,1888,1840,1905,2274,2566,2188,1931,2132,2448,1874,1640,2230,2160,1970,2365,2775,2994,2798,3045,3133,2901,2335,2079,2342,2367,2280,2127,2353,2332,1771,1773,1584,1689,2325,2610,2480,2345,2154,2210,2728,2579,3044,3979,3476,3355,3218,2734,2070,2024,2716,3043,2766,2513,2231,1850,2066,2536,2667,2588,2299,2740,3081,3593,3754,3265,2901,3296,3730,3429,2741,1974,2394,2837,3088,3025,2403,1885,2580,3226,3204,3453,3010,2330,2658,2481,2026,1901,1621,1591,2157,2279,2670,2797,2530,2290,1716,1361,1501,1627,2076,2208,2072,2078,2336,2392,2047,1671,1933,2386,2686,2811,2928,3001,2995,3328,3496,2685,2689,2340,1952,2024,2433,2160,2076,2820,2665,2541,3139,3139,2292,1567,1447,1643,1992,2054,2230,2483,2183,1821,1700,1700,1890,2080,1993,2111,2586,2235,1448,1346,1715,2031,2301,2439,2280,1570,1494,1875,2537,2410,1938,1749,1882,2591,2958,2779,2144,1765,2274,2900,2361,2618,2254,1760,1870,1843,2208,2035,1860,1810,1840,1684,1652,2138,1886,1169,1402,2062,1742,1714,2002,2450,2349,1871,1708,1865,2517,2535,1793,1707,1613,1896,1628,1890,1466,1375,1868,2204,2189,2075,2575,2754,2210,1769,1814,2014,1788,1528,1616,1730,2008,2103,2342,1910,1438,1327,1394,1415,1502,1742,1516,1310,1452,1538,1419,1492,1446,1301,1283,1298,1257,1408,1476,1368,1384,1453,1374,1390,1609,1771,1799,2067,1964,1500,1502,1710,1802,1479,1970,2282,1902,1814,1864,1728,2248,2785,2504,2306,1463,1405,1895,1921,1521,1543,2105,2714,2587,2116,2168,2009,2190,1938,1113,1393,1860,2096,2033,2137,2076,2070,2086,1919,1750,1871,1946,2465,2311,1854,2226,2271,2098,2308,2490,3050,3456,3473,3331,2972,3112,2429,1681,1887,1755,1837,2708,3414,3110,2567,2416,2342,2236,2314,1656,1925,2546,2449,2126,2031,2676,3356,2486,1996,2510,3411,3308,1699,1733,1959,2001,2126,3021,3694,3660,3728,3664,3176,2922,2643,2605,2590,2110,2373,2560,2357,2179,1922,2019,2313,2751,2789,2128,2082,2522,2558,3098,3683,2974,2805,3305,2894,2878,3716,3787,3435,3042,2416,2596,2916,2774,2912,2690,2143,1855,1748,2366,3265,3152,3007,2833,2416,2371,2330,2347,2338,1868,1641,2219,2519,2146,1717,2110,2644,2935,3301,3165,2652,2279,2163,2464,2474,2995,2945,2487,2551,2644,2402,2436,2784,2643,2090,1952,2343,2676,2649,2558,2591,3552,2729,2175,2574,2167,2252,2710,2267,1561,1341,1406,1355,1275,1926,2171,2291,2922,3527,3754,2796,1872,1805,2005,2270,2429,2974,3535,3822,4135,3964,4043,4267,4616,4632,4552,4501,4408,3827,2632,2197,2205,2862,3783,4015,3106,3189,3992,3376,2285,2289,2701,3155,2615,2828,2634,2142,2376,2764,2994,2802,2040,2241,2885,3584,4407,4702,4604,3837,3237,3239,3858,4207,4351,4414,4436,4288,3963,3645,3274,2669,2523,2812,3125,3532,2967,2641,2462,2137,2369,3104,3568,3239,2587,2687,3388,3777,3054,2421,1998,1808,1455,1961,1643,1620,1832,1805,1534,1178,1522,2060,2019,1816,1556,1839,1730,1768,2034,2124,2035,1732,1738,1849,1853,1983,2522,2675,2823,3043,3414,3563,3528,3588,3432,3132,2413,1979,2259,1556,1588,1780,1782,2120,1610,1404,1417,1317,921,1067,1349,1510,1478,1476,1180,1600,2018,1925,1887,1912,1383,1631,2654,2871,2447,2043,2244,2736,3161,3200,1967,1437,1322,1202,1302,1375,1528,1568,1820,1786,1427,1534,1831,1953,1809,1981,2050,2050,2054,2066,1962,2059,2156,2106,2116,1972,2207,2404,2399,2270,2036,1855,1748,1309,1069,1349,1630,1882,1781,1688,1504,1333,1410,1558,1600,1497,1626,1766,1692,1558,1479,1557,1746,1787,1813,1841,1704,1458,1516,1457,1325,1278,1318,1533,1522,1390,1573,1603,1460,1421,1641,1526,1413,1354,1370,1417,1544,1637,1830,2178,2345,2821,3316,3763,3111,3033,3081,3066,2906,2548,2048,2286,3462,3482,2749,1874,1691,1608,1654,1795,1766,1723,1736,1739,1543,1471,1510,1523,1425,1609,1779,1580,1745,1710,1524,1470,1709,1800,1836,1814,1593,1500,1717,2601,3526,3565,3418,2874,2153,1957,2075,1793,1580,1547,1449,1598,1636,1372,1860,1638,1914,2312,2534,2636,2122,1742,2622,2846,2530,2949,3052,3118,2776,2753,2720,2029,1802,2764,3120,2558,2552,2690,2251,1802,1781,2183,2051,2676,2715,2303,1915,2078,2098,1940,2016,2242,2136,1389,1736,2579,2083,1921,1822,1936,1888,1506,1090,1560,2148,2166,2118,2517,2392,2602,3077,2438,2214,2871,2790,2126,1644,1666,1569,1582,1818,1868,2497,3474,3854,3640,2762,2424,2359,2397,2659,2335,2188,2417,2182,1805,2102,3032,2874,2073,1538,1782,1631,1624,1604,1487,1534,1843,2077,1895,1659,1506,1400,1563,1654,1690,1880,1809,1923,1753,1448,1585,1484,1337,1247,1333,1205,1293,1284,1439,1430,1437,1599,1537,1497,1386,1346,1430,1500,1470,1539,1513,1444,1450,1508,1538,1528,1339,1290,1961,2218,1627,2448,3249,2374,2219,1714,1652,1548,1511,1879,2380,2420,2138,1966,1834,1661,1542,1541,1712,2458,2441,2062,1776,1570,1402,1333,1477,1664,1673,1672,1555,1832,2160,1942,1640,1478,1416,1433,1421,1701,2200,2342,2136,2166,1768,1926,2600,3009,2600,2385,2562,2753,2809,2392,2009,1926,1593,1990,2248,1810,1917,2160,2038,2178,1865,1979,2224,2488,2820,3287,3453,2496,2237,2184,1814,1749,1841,2268,2087,1848,1860,2226,2975,2945,2034,1644,1792,1758,1688,1750,1914,1692,1494,1925,2465,2730,2501,1924,2368,3588,3670,2863,2267,2302,2452,2572,2396,2028,2231,2565,2779,3024,2974,2221,2389,2042,2329,3012,2649,2242,2677,2845,2930,3470,3293,2721,2852,2374,2732,2609,2401,2229,2103,2142,2244,2280,2468,2889,3276,3736,3892,3714,3815,3371,2827,2790,2609,2924,3379,2846,2332,2088,1949,2200,2939,3134,2532,2773,2670,2016,2266,2854,3116,2828,2463,2642,2883,2777,2170,1571,1781,2344,2894,3421,3185,2942,3025,2766,2741,3146,2928,2645,2247,2051,1911,2029,1677,1797,2446,2757,2427,1975,2019,1938,2030,1820,2342,2544,2031,2144,2098,1860,1793,1659,1593,1707,1790,1860,1785,2205,2668,2428,1754,1986,2991,2468,1849,2013,1853,2040,2584,2435,2047,1758,2214,2055,2093,1648,1766,1890,1752,2099,2349,2455,2182,1570,1548,1468,1882,1626,1458,1294,1460,1584,1621,1602,1543,1599,1731,1828,1801,1970,1622,1503,1456,1565,2115,3040,2696,2663,3532,3764,3462,2944,2325,2138,1996,1810,1845,2321,2435,2576,2722,2795,2751,2656,2754,2842,2276,1860,1627,1525,2063,2086,2021,2094,1815,1708,2051,2056,2059,2559,2458,2204,2412,2840,2925,2207,1681,1760,1848,1968,1864,1795,1889,2339,2915,2872,2568,2110,1892,2060,2374,2636,2689,2540,1959,2038,2483,1816,1673,2282,2373,1828,1802,1970,1701,1617,1688,1693,1682,1638,1706,1952,2118,1795,1622,2152,1964,1729,1856,2171,2333,2081,1944,2003,1980,1766,1427,1648,1854,2126,1842,1720,1611,1969,2013,2270,2525,2177,2069,2251,2580,2955,2179,2249,2259,1838,1936,1870,1775,1750,2017,2202,2165,2360,2364,1989,2045,2393,2119,1541,1804,2076,1881,1865,2323,2566,2526,2688,2687,2559,2408,2656,3312,3974,4018,3452,2494,1846,1714,1761,1897,2003,1889,1725,1781,1757],[3351,3262,3032,2930,2600,1993,2229,2649,2210,1966,2391,2807,2577,1972,2373,3259,3558,3364,3089,2864,3393,4464,4904,4741,4740,4654,4640,4489,3884,3338,2983,3161,3617,3729,3596,3572,3640,3882,4100,4093,4000,4005,3970,3450,3661,3629,3674,3740,3382,3250,3521,3818,3322,3022,3664,3473,3561,3100,2901,2944,2936,2823,2518,2535,2515,2485,2576,2467,2985,3168,3003,2530,2476,2208,2242,2070,2531,3153,2940,2845,2771,2335,2428,2462,2779,2858,1728,1490,2092,2365,2199,2160,2112,2055,1903,2194,2953,3034,2297,1972,1867,2041,2226,1936,1710,2090,2100,2164,2323,2334,2478,2959,2880,2766,1716,1290,1814,2596,3053,2729,2663,3250,3579,2973,2849,2953,2527,2074,2282,3188,3177,3374,3011,2159,2309,1933,1528,2233,2086,2557,2387,1793,1602,1985,2629,2301,2412,2228,1835,2167,2207,2190,2392,3318,3001,2230,2713,3228,2809,2586,2396,2446,2171,2244,3145,4049,4200,3789,3525,3562,3305,3429,3399,3385,3548,3111,2555,2946,3429,3297,2668,2792,2964,3031,2808,2230,2057,1803,2089,2268,2221,2342,2047,1608,1924,2496,2840,2296,2600,2888,2939,2785,2640,2415,2229,2327,2424,2800,3132,2513,2463,2583,2751,2900,3541,3686,3138,2500,2216,2502,2492,2674,2728,2675,2885,2855,2513,2798,2842,2275,2047,2367,2931,3326,4167,4716,4525,4706,4879,4707,4472,3887,3133,2937,3178,3122,3064,3334,3221,3443,3312,2473,1681,1898,2331,2778,2433,1823,1643,2259,2797,2671,2172,1769,2074,2136,1663,1393,1527,2245,2095,2034,2120,2160,2468,2929,3215,3172,3341,3152,2876,3151,3352,3439,3813,3317,2490,2047,2048,2314,2432,2092,2069,2577,3231,3707,2396,1571,1679,2201,2509,2774,2191,2069,2565,1895,1685,2030,2559,2578,1813,1715,1880,1956,1808,1789,1169,1294,2502,2828,3094,3626,3016,2648,2216,2867,3100,2962,2976,2889,3518,3633,3255,3452,3355,3032,3308,4069,3253,2032,2154,3282,3499,2241,1852,1986,1917,1736,1321,1553,2088,2698,2792,2506,2341,2038,1911,1869,2104,2149,1810,2081,2734,2332,2069,2103,2385,2205,2355,2191,2190,2303,2166,2262,2618,2242,2395,3048,3406,2944,2808,2783,3168,3343,3183,2668,2249,2083,2576,3069,2626,2561,2899,2886,2275,2986,4000,3304,3132,2957,2226,2279,2924,3271,3517,3592,3270,3472,3307,3204,3481,2761,2238,1840,1846,2014,2314,3040,3316,3604,3438,3483,2477,1144,1166,1713,2178,2553,2670,2313,2387,2679,2204,1961,1820,1683,1677,1762,1826,1697,1947,2148,2378,2339,1814,2286,2786,2165,1775,1834,2073,2089,1902,1935,2154,2464,2232,2308,2536,2343,2359,2012,2114,1924,1817,1945,2143,2462,2357,2275,2467,2784,2530,2394,2383,2206,2544,3894,3537,3229,3321,2674,1728,2085,2558,2279,2279,2187,1858,1863,2625,3428,3191,3242,3157,3256,3220,3014,2841,2674,2678,3270,3803,3247,2700,2374,2980,2873,2413,2536,2534,2565,3229,3382,2499,2733,3408,2402,2150,2137,1667,1432,1543,1988,2402,2376,2376,2513,2311,1772,1468,1422,1658,2087,2474,2724,2764,2493,2714,2700,2013,1782,2060,2475,3012,3319,3370,3123,2923,2977,3616,3165,2341,1921,1891,1843,2043,2110,2064,2430,2896,3120,3292,2711,1627,1361,1372,1669,2005,2087,2283,2443,2046,1511,1676,2004,1956,1844,1816,2230,2268,1888,1695,1907,1843,2130,2714,2663,2753,1944,1826,1918,2234,2668,2198,1853,1831,2176,2840,2722,1919,1945,1529,1615,1471,2120,1798,1360,1262,1243,1855,2313,1609,1243,1504,1454,1409,2109,1691,1101,1250,2076,2046,1941,2144,2733,2774,2029,1799,1820,1778,1964,1817,1657,1675,2101,1809,1869,1325,1353,1591,1396,1470,1480,2043,2423,2149,1559,1541,1669,1689,1573,1582,1648,1465,1510,1661,1456,1363,1355,1433,1533,2063,1945,1584,1266,1345,1447,1424,1526,1916,1395,1344,1340,1344,1320,1323,1496,1528,1471,1415,1402,1799,2092,2158,2457,2216,1892,1666,1930,1766,1465,1663,1723,1670,1838,1940,1887,2386,2724,2687,2504,1892,2187,2842,2076,1556,1721,1896,2259,2266,1972,2630,2164,2190,2173,1781,1780,2156,2178,1844,1844,1951,1935,1822,1722,1570,1985,2040,2638,2599,2424,2402,2005,1765,2107,2321,2551,2957,3233,2884,2388,2776,1934,1906,2541,2103,2037,3119,3564,3158,2692,2398,2046,2124,1945,1570,2260,2177,1568,1973,2585,2792,3015,2895,2791,2551,2863,3793,2731,2066,1822,2497,2499,3124,3373,2901,2645,2591,2831,3038,3228,3287,2509,1923,2174,2643,3068,2320,1774,2067,2314,2641,2719,2407,2434,2415,2641,2773,2955,3222,2638,2291,2034,2010,2656,2769,2677,2557,2408,2773,3203,2668,2171,1709,1557,1769,2281,2829,3326,3172,2710,2310,2448,2450,2184,2029,1913,1810,1855,2352,2613,2198,1763,1655,2120,2747,2767,3028,3520,3493,2319,2310,3128,3711,3024,2591,2827,2688,2513,2557,2527,2788,2319,1846,2156,2763,2590,2491,2368,2997,2629,2247,2482,2235,2476,2922,2134,1323,1453,1715,1511,1250,2004,2205,2048,2476,3143,3355,2884,1899,1747,1816,1948,1890,2613,3498,3884,4096,3985,3563,3867,4432,4607,4627,4383,4408,4297,2985,2922,2677,2791,2857,2923,2912,2971,3718,3670,2535,2386,2385,2846,2630,3154,2852,2241,2402,2884,2802,2310,2007,2202,2654,3193,3796,4347,4644,4527,3435,2807,3348,3896,4156,4355,4484,4576,4645,4539,3793,2989,2633,2912,2976,2785,2723,3031,2952,2678,2964,3795,4062,3262,1974,2402,3400,4095,3772,3088,2329,1976,1638,1801,2020,1983,2206,2494,1975,1455,1544,1757,1542,1429,1096,1408,1757,1870,2141,2376,2173,1923,2234,1861,1566,1616,1991,2387,2670,2944,3370,3853,4167,3906,3413,2855,2207,2653,2070,1431,1502,1420,1676,1448,1317,1460,1549,1139,1078,1341,1541,1494,1485,1350,1388,1992,1940,1640,1649,1620,1523,2189,3085,3183,2394,2017,2344,2755,3173,2199,1403,1417,1197,1221,1380,1440,1348,1280,1447,1518,1501,1763,1750,1857,1989,1862,1729,1637,1712,1888,1974,2376,2800,2935,2520,2387,2908,3009,2706,2315,1951,1742,1588,1328,1356,1803,2312,2078,1662,1596,1674,1774,1748,1732,1753,1703,1514,1471,1476,1409,1411,1393,1525,1765,1771,1621,1318,1245,1372,1419,1507,1507,1362,1367,1308,1361,1354,1709,1649,1358,1422,1505,1476,1511,1452,1436,1578,1497,1733,2401,2612,2986,2881,3331,3595,3320,2953,3088,3206,2570,1897,2419,3221,3510,3807,3018,2271,1731,1832,2227,2599,2518,2028,1913,1823,1548,1444,1538,1478,1586,1819,1693,1699,1672,1566,1524,1735,1741,1669,1655,1543,1454,1652,2146,2831,3020,3204,2787,2229,1917,1946,1649,1455,1483,1505,1573,1765,1498,1918,2114,1993,2212,2769,2669,2136,1681,1609,2081,2305,2871,3203,3222,3154,2583,2541,2503,2113,2236,2676,2584,2502,2513,2350,2060,1960,2155,2269,2244,2266,2236,2272,2433,2219,2280,2309,2181,1964,1354,1769,2574,2119,1826,1765,1680,1851,2040,1864,1852,2150,2060,2201,2396,2176,2535,2621,2645,3116,3250,2931,2330,1903,1783,1623,1709,2070,2164,2939,3542,3419,3152,2776,2551,2435,2535,2648,2096,1713,1851,1942,1993,2117,2504,2310,1864,1607,1737,1694,1587,1515,1584,1699,1446,1636,1755,1874,1910,1431,1407,1739,1986,2335,1829,1504,1563,1392,1502,1453,1367,1284,1237,1172,1261,1298,1376,1379,1430,1400,1444,1438,1366,1340,1357,1624,1427,1448,1519,1392,1416,1483,1498,1455,1367,1760,2393,1970,1382,1937,2920,2728,2079,1521,1445,1449,1489,1707,1877,1950,2260,2377,1924,1623,1539,1653,2275,2544,2432,2566,2199,1534,1434,1396,1417,1634,1609,1919,2174,2505,2562,1916,1501,1499,1512,1463,1524,1804,2403,2703,2487,2194,1662,1731,2459,3232,3363,3090,3205,3526,3343,2477,1857,1709,1672,1751,1693,1426,1531,1653,2138,2592,2556,2668,2787,3113,2671,2873,3154,2435,2230,2478,2134,1812,1967,2049,1926,1997,2180,2546,2944,3033,1963,1718,1661,1488,1488,1675,1815,1545,1635,1958,2535,2593,1933,2009,2215,2609,3308,2498,2118,2342,2052,2164,2664,2349,2049,2416,2752,2806,2812,2378,2762,2229,2015,2656,2526,2576,3396,3035,3124,3647,3626,2874,2439,2365,2917,3160,2839,2449,2226,2442,2826,2658,2439,2514,3009,3195,2647,2488,2646,2419,2279,2915,3141,3051,3106,2529,1768,2032,2427,2778,2786,3198,3085,3245,2746,2208,2619,2821,2822,2715,2746,2821,2946,2642,2379,2331,2691,2920,2991,3134,3064,3196,3175,2844,2565,2556,1995,1789,2120,2632,2347,1828,1864,2492,2789,2348,2062,1570,1515,1846,1922,1715,2057,2031,1712,1696,1780,1878,1771,1637,1755,1880,1869,2035,1756,1651,1703,1974,1669,2006,2635,2086,1886,2160,1898,1835,2312,2494,2090,2220,2789,2565,2322,1908,1883,1948,1845,2015,2287,2533,2112,1589,1620,1566,1948,1744,1495,1438,1476,1585,1526,1412,1462,1599,1794,1939,1792,2192,1912,1608,1709,1630,2097,3041,2728,2347,2923,3235,3423,2865,2416,2299,2066,1876,2143,2318,2424,2517,2735,2768,2761,2989,3005,2981,2645,1833,1799,1595,1559,1651,2336,2309,1877,1989,1913,2875,3300,2707,2297,2182,2269,2355,2029,1725,1467,1588,2028,2158,1986,1968,1661,2554,3481,3120,2505,1858,1831,2079,2482,2663,2695,2690,2041,1722,2437,2555,1967,2579,2644,2143,2425,2099,1536,1998,2254,2004,1975,1809,1858,1874,1923,1761,1612,2218,2263,1810,1928,2398,2336,2341,2036,1841,1820,1577,1420,1569,1591,1502,1284,1060,1155,1770,1874,1823,2059,2397,2456,2597,2687,3307,2315,2360,2329,1853,1743,1808,1592,1455,1665,1813,1745,1831,1593,1688,2082,2458,2258,1615,1987,2139,1910,2128,2083,2191,2172,2405,2677,2908,2959,3144,3805,4280,3939,2836,2093,1873,1770,1814,1772,1881,1987,1714,1657,1793],[3271,3266,3028,2743,2355,1957,1935,2372,2237,2258,2116,2518,2558,2486,2758,3044,3414,3415,3222,2931,2901,4058,4504,4167,4486,4595,4652,4388,3761,2950,3189,3817,3717,3558,3409,3603,3676,3786,3934,4049,3928,3753,3791,3514,3789,3914,3833,3752,3385,3353,3740,3813,3318,3052,3356,3651,4001,3422,2932,2848,2967,2706,2291,3050,3571,3107,3164,2923,2915,2921,2106,1989,2155,2016,1980,1760,2369,3286,3197,3321,3033,2791,2908,3341,3696,2944,2076,1991,2336,2373,2170,2236,2128,2298,2162,2183,2865,3089,2200,1830,1908,2264,2374,1870,1750,2662,2830,2701,2576,2732,2403,2480,2835,2765,1731,1679,2195,2471,2674,2863,3154,3486,3865,3217,3674,3570,2825,2045,1923,1820,2081,2534,2602,2893,3392,2494,1285,2496,2360,2779,2566,2355,1911,1956,2392,2567,2634,2501,2828,2917,2608,2864,2814,3439,2552,2454,2963,2664,2224,2237,2636,2614,2302,2468,2568,3055,3101,2613,2520,3256,3937,3770,3431,3360,3334,3225,3209,3357,3505,3405,2737,2805,2720,2777,2480,2191,1892,1652,1810,1870,1736,1669,1791,2111,1909,1909,2510,2941,2776,2345,2673,3270,3166,2408,2225,2306,2246,2588,2828,2881,2884,3008,3230,2712,2546,2773,2819,2247,2038,2284,2046,2581,2330,2583,2517,2259,2526,3609,3914,2945,2411,2526,2195,2578,4108,4819,4819,4615,4596,4796,4353,3517,3428,3263,2811,2604,2980,3528,3489,3407,3331,3260,2240,2170,2372,2408,2052,1884,1728,1823,2427,2712,2566,2191,2327,2172,1922,1834,1784,1809,1960,2582,2500,2113,2547,2889,2754,2809,2909,2585,2531,2643,2978,3366,3501,3438,2950,1978,1857,1915,1635,1629,1802,2223,3558,3475,2139,1660,1811,2163,2663,2688,2306,2240,2306,2073,1790,1858,2232,1932,1664,1693,2580,2985,2228,2048,1600,2335,3706,3947,3902,3899,2957,3015,2984,2799,2430,2430,2191,1887,2471,3473,3890,3746,3872,3543,3680,3646,2166,1638,2305,3166,2912,1771,1800,2120,2042,2088,1993,2081,2478,2735,2796,2434,1882,1722,1824,1879,2411,2919,2343,2628,3210,3084,2979,2603,2089,1998,1859,1942,2271,2190,2004,2126,2386,2092,2562,2577,2991,3052,2578,1932,2459,3116,3064,2345,1931,2210,2655,2325,2061,2855,2946,2831,2562,2923,3540,3079,2470,2449,2191,2320,2754,3242,3453,3741,3397,3400,3379,3333,2890,2083,1758,1603,1831,2054,2286,2546,3448,3010,2600,2610,2092,1557,1377,1662,2275,2554,2531,2465,2690,2303,2288,2267,2070,2014,2093,2131,1736,1713,2145,1858,1772,1771,1676,2275,2014,2061,1891,1971,2136,2095,1920,1847,2286,2520,2062,1818,1795,1955,2382,2331,2242,1743,1672,1935,2260,2655,2557,2556,3252,3198,2388,2763,2552,2324,2467,3340,3254,2739,2349,2238,2160,2314,2532,2667,3078,2232,1846,1844,2323,3422,3474,3374,3142,2798,2900,3396,3366,3093,2945,2829,3510,3072,2907,2700,2824,2325,2169,2673,2762,3010,3737,3943,2923,2514,3481,2731,2068,2045,1698,1489,1973,2314,2319,2214,2087,2495,2453,1882,1732,1954,2123,2529,2764,2778,2755,2613,3030,3062,2673,2325,2303,2684,3340,3545,3322,2987,2755,2711,3094,2547,1923,2022,2002,1817,2394,3040,2576,2030,2517,2676,2780,2263,1614,1465,1893,2197,2037,2225,2514,2047,1733,1271,1500,1741,1701,1882,1777,1705,1631,1367,1682,2580,2740,2724,3134,2975,2868,2470,2327,2222,2185,2058,1784,1721,1905,2341,3183,3167,1992,2181,2498,2347,1706,2252,1734,1235,1328,1252,1910,2190,1471,1214,1182,1118,1278,2103,1810,1194,1364,1761,1964,2071,1858,1824,2287,2003,1507,1609,1836,2017,1758,1883,1926,1642,1735,1853,1470,1620,1465,1210,1555,1885,2040,2172,1760,2132,2338,1913,1753,1894,1959,1620,1554,1488,1656,1895,1542,1414,1622,2001,2414,2339,1850,1478,1366,1437,1535,1473,1649,1337,1383,1366,1433,1344,1254,1399,1415,1499,1610,1525,1888,2591,2770,2801,2338,2198,2019,1824,1456,1483,1731,1825,1781,1899,1964,1846,2359,2717,2670,1948,1530,2050,2687,2159,1485,1343,1424,1324,1463,1370,2058,2048,2146,2126,1759,1705,2130,2164,1986,2008,1966,1820,1593,1641,1724,2287,2088,2588,2797,2502,2235,1984,2016,2193,2166,2399,2632,2732,2757,2789,2548,1842,2214,2771,2710,2451,2731,3337,2968,2243,2230,2099,2162,2023,1898,2669,2026,1847,2824,3005,2683,2510,3077,3396,3405,3220,3395,2877,2285,2401,2700,2431,2943,3052,2245,2281,2680,3064,2734,2078,2178,2133,1975,2241,2702,3045,2778,2165,1973,2352,2984,3062,3256,2841,2412,2483,2746,2470,2485,2022,2054,2485,2429,2297,2494,2733,2568,2376,2626,3042,2703,1964,1633,1481,1946,2645,2712,2689,3041,3049,2117,1757,2355,2477,2566,2268,2173,2047,2127,2448,2173,1919,1635,2038,2780,3260,3053,3315,4031,3008,3107,3862,3813,3094,2759,2610,2611,2479,2381,2255,2724,2784,2074,1995,2723,3020,3134,2919,2972,2786,2604,2718,2684,2517,2742,2403,1514,1083,1317,1312,1095,1769,2250,2025,2287,2924,3519,3459,2179,1825,1800,1820,1946,2337,3393,3901,3999,4091,3889,4256,4432,4399,4435,4428,4347,4272,2673,2350,2050,2286,2980,3275,3760,3806,3598,3421,2811,2103,2159,2367,2513,2664,2784,2566,2848,3335,2985,2658,2351,2123,2513,2696,2656,3183,4271,4735,3435,3029,3476,3295,3549,4099,4177,4408,4549,4645,4336,3763,3272,2990,2656,2488,2887,3124,3065,2900,3022,3704,3463,3428,2431,2738,3510,4052,4122,3687,2711,2224,2396,2056,1848,1466,1445,1865,2452,2485,1780,1133,1229,1333,1244,1585,1920,2105,2182,2117,2094,2044,2160,2004,1676,1821,1826,2010,2247,2755,3299,3806,4231,3981,3269,2812,2207,2062,1507,1553,1551,1544,1549,1465,1482,1659,1577,1467,1754,1603,1591,1491,1384,1221,1883,2094,1614,1615,1636,1377,1556,2471,2757,2777,2099,2083,2268,2834,2532,1609,1409,1176,1157,1377,1332,1311,1008,1013,1217,1320,1694,1782,1712,2126,2173,1793,1623,1537,1766,1998,2223,2598,2113,2199,2190,2472,2459,2148,1911,1818,1779,1612,1407,1465,1476,1820,1912,1579,1548,1667,1965,1889,1832,1844,1897,1903,1628,1538,1462,1607,1410,1394,1638,1532,1591,1699,1545,1457,1266,1345,1522,1446,1367,1367,1282,1440,1378,1534,1519,1367,1481,1650,1744,1697,1477,1704,1837,1542,1708,1810,2096,2411,2076,2644,3100,3037,2911,2795,3020,2857,2303,2962,3601,3719,3624,3275,2661,1710,1824,2537,2916,2459,1663,1720,1954,1480,1403,1696,1737,1604,1822,1709,1537,1731,1764,1707,1836,1813,1824,1686,1575,1582,1850,2033,2131,2374,2317,2029,1854,1928,2018,1624,1419,1559,1371,1411,1623,1581,1668,1904,1744,1600,1550,1625,1826,1797,1516,2062,2263,3020,3198,3162,2843,2474,2245,2176,2630,2447,2320,2643,2570,2264,2288,2153,2077,2169,2377,1909,1658,2155,2595,2252,2514,2754,2084,2236,2160,1967,2034,2210,2106,1532,1234,1542,1879,2100,1995,1901,2378,2302,2674,2988,3046,2858,2604,2844,2903,2844,3075,2665,2136,2050,1944,1987,2679,2732,3034,3363,3209,3406,3666,3575,2768,2188,2347,1948,1655,1505,1550,1623,1680,1778,1610,1395,1302,1471,1554,1499,1544,1624,1676,1616,1815,1981,2149,1910,1475,1528,1786,1974,2177,2071,2050,1958,1848,1667,1678,1452,1354,1307,1218,1243,1384,1420,1433,1398,1473,1496,1289,1316,1407,1352,1374,1292,1591,1908,1883,1909,1659,1287,1332,1422,1817,1876,1561,1774,1797,2258,2024,1411,1402,1579,1616,1640,1732,1864,1946,2127,2214,1679,1533,1599,1570,2048,2016,1731,2158,2182,1543,1491,1508,1641,1726,1816,2299,2758,2924,2690,1991,1437,1404,1468,1543,2225,2160,2134,2213,2148,1822,1586,1549,1881,2740,2899,2380,2569,2822,2708,1904,1606,1362,1820,1779,1610,1570,1665,1923,2447,2751,3006,2854,2473,2907,3059,2944,2385,1978,2030,2041,2061,2103,1802,1669,1815,2092,2321,2226,2365,2114,1741,1781,1645,1712,1786,2134,2266,2062,2096,2049,2069,1938,2087,2290,2076,2282,2737,2658,2916,2756,2060,2082,2503,2590,2025,2019,2303,2747,3172,3383,3146,2369,2227,2249,2087,2630,3286,3074,3348,3118,2947,2622,1853,1881,2779,3173,3040,2797,2132,2863,3067,2605,2111,2737,3298,3299,2647,1876,1808,1975,2655,3720,3629,3436,3190,2784,2583,2717,2636,2743,2757,2790,2910,3078,3166,2832,2836,2831,2562,2398,2482,2545,2755,2432,2435,2590,2534,2265,2167,2577,2863,3156,3235,2798,2169,2095,2167,2050,2447,2807,2313,2048,2320,2507,2592,2165,2093,1686,1688,1880,1749,1644,1816,1593,1160,1334,1565,1668,1635,1688,1725,1533,1874,1890,1688,1480,1708,1880,1660,2094,2480,1872,2004,2408,2059,1803,2338,2188,2135,2566,3183,3071,2439,2104,1953,2124,1837,1717,1655,1865,2027,1994,1945,1851,2044,1827,1527,1444,1515,1610,1584,1585,1635,1858,1983,1950,1971,2092,1915,1651,1692,1757,2368,3304,2771,2394,2224,2768,3201,3010,2774,2604,2199,2020,2210,2450,2708,2756,2511,2437,2653,3103,3216,2757,1879,1637,1846,1924,1740,2037,2590,1993,1761,1791,1403,2834,3117,2654,2364,1917,2084,2239,2118,1905,1638,2046,2309,2004,2207,2446,1647,2063,2799,2303,1891,1781,1882,1846,1960,2471,2756,3028,2409,1689,2141,2778,2262,2589,2568,2814,3301,2518,2047,2498,2235,2068,2026,1937,1845,1384,1636,1804,1819,1924,2170,1841,1673,2128,2214,2578,2123,1854,1788,1664,1648,1782,1760,1643,1744,1762,1785,1899,1819,1930,1883,2055,2106,2746,3063,3040,2667,2668,2534,2078,1708,2038,1707,1571,1851,2027,1683,1722,1893,2247,2350,2200,1947,1691,1755,1999,1939,1766,1882,2179,2344,2440,2508,2822,2925,3052,3362,3624,3366,2621,2406,2015,1799,1870,1797,1704,1832,1558,1520,1725],[2931,3274,3385,3150,2479,2501,1991,2039,2017,2038,1813,2267,3133,3545,3164,2921,3251,3142,2915,2739,2850,3772,4228,4370,4535,4150,4332,4091,3564,2885,2863,3746,3584,3608,3617,3448,3550,4059,3952,3882,3926,4002,3994,3851,4005,4212,3949,4052,3676,3567,3791,3934,3604,3340,3374,3474,3112,2587,2457,2562,2932,2692,2398,3245,3517,3457,3426,3294,2698,2350,1918,2165,2307,2048,2239,2249,2271,3106,2780,3052,3253,3233,3588,3805,3586,2790,2402,2850,2531,2176,2003,2170,1721,2065,2522,2259,2103,2188,2319,2161,2217,2542,2416,1919,2036,2730,2972,2696,2703,2813,2668,2412,2699,2609,2215,2570,2800,2553,2891,3199,3092,3262,3750,3398,3672,3317,2585,2375,1962,1860,2132,2260,2681,3034,3189,2909,1808,2191,2498,2791,2893,2918,2796,2575,2448,2210,2116,2408,3408,2878,2209,2766,3134,3743,3197,2871,3010,2816,2281,2168,2720,2722,2355,2216,2155,2255,1940,1619,1946,2965,3707,3528,3511,3332,2654,2919,3604,3668,3549,3435,3002,2734,2731,2735,2232,1897,1981,2170,1916,2014,1869,1744,1723,1870,2238,2761,3043,3257,3096,2758,3109,3402,3146,2330,2023,2535,2592,2481,2205,2620,2987,2917,2692,2364,2129,2646,2878,2316,2072,2129,1959,2166,2234,2966,2647,2005,2247,2946,3863,3829,2541,2197,2077,2148,2872,4112,4796,4791,4472,3980,2911,2517,2853,2622,2187,2499,3375,3550,3373,3188,2852,3212,2872,2294,2015,1988,2341,2719,2541,1879,2226,2365,2461,2114,2058,1819,1786,1688,1730,1862,2185,2603,2164,2232,2706,2513,2592,2436,2607,2359,2009,1822,2114,2597,3046,3551,3187,2099,2034,1899,1440,1600,1946,2128,2479,2258,1929,1927,2095,2536,2721,2311,2042,2081,2175,2412,1985,1613,1481,1487,1742,1781,2176,2508,2240,2589,2297,2718,3400,4141,4352,3273,2144,2722,3522,3820,3619,2742,1875,1898,1932,2208,3042,3356,3904,3624,3295,2736,1761,1718,2027,1901,2212,1954,1694,1854,1515,1694,1990,2370,2977,3370,3028,2297,2020,1803,2057,2022,2425,2813,2332,2352,2528,2840,2632,2352,2402,2032,1920,2139,2121,1777,1454,1755,2619,2357,2109,1849,2291,2547,2080,1637,1520,1782,2530,2094,1795,2419,3027,2235,1930,2295,2727,2474,2250,2768,3105,2769,2354,2830,2932,2884,2877,3310,3043,3254,3393,3471,3404,3121,2356,1759,1748,1922,1976,1785,1874,2419,2851,2435,2247,2350,2438,2494,2271,2353,2621,2435,2451,2192,2142,2320,2597,2338,1882,1848,2013,1881,1596,1848,2258,1785,1802,1744,1695,1910,1635,1750,1754,2520,3077,2691,2343,2027,2195,1963,2019,1699,1798,2137,2743,2612,2234,1920,1904,1935,2388,2677,2421,2633,2779,2433,2567,3304,2886,2100,2101,2478,2907,2607,1760,1788,1924,2299,2824,3112,3633,2602,1578,1098,1235,2243,3011,3241,3315,3558,3522,3617,3859,3255,2610,2207,3241,3299,3198,2806,2780,2705,3230,3344,2654,2783,3095,3934,3811,3225,3253,2741,2120,1888,1773,1830,2248,2507,2611,2824,2867,2965,2833,2257,1833,1949,2215,2311,2470,2668,2481,2521,3352,3548,3452,2933,2729,2854,3250,3239,3219,3096,2735,2687,2438,1935,2027,2106,2270,2420,2599,3131,2723,1939,1769,2171,2640,2415,1849,1553,1910,2500,2332,2236,2557,2044,1763,1493,1527,1756,1697,1737,1969,1818,1705,1638,1889,2798,3104,2806,2440,2192,2062,1938,2526,2824,2413,2548,2332,1887,1841,2399,3163,3180,1931,2257,3407,2802,2359,2814,2407,1980,1561,1641,2212,2495,2203,1734,1740,1913,1820,2254,1947,1084,1372,2178,2418,1704,1644,1692,2121,2009,1654,1677,1798,1690,1744,1918,1843,1737,1854,1772,1597,1711,1731,1641,2096,2074,2194,2125,1523,1825,2105,1782,1687,1970,2199,1810,2162,1472,1576,1758,1461,1403,1693,2298,2489,2150,1999,1886,1576,1360,1438,1356,1319,1418,1424,1376,1583,1528,1330,1475,1483,1656,1499,1401,1655,2490,2242,2049,1807,1771,1720,1699,1693,1911,1997,1920,1839,1928,1934,1930,2234,2308,1941,1532,1295,1890,2610,2129,1408,1101,1261,1080,690,1383,2018,1947,2032,2093,1754,1715,2276,2317,2038,1813,1621,1499,1478,1654,1793,1980,1850,2200,2644,2565,2351,2112,1888,1990,2544,2608,2530,2415,2446,2576,2270,2143,2670,2779,2765,2914,3240,3504,3163,2608,2482,2589,2548,2381,2186,2693,2169,1768,2311,2795,3042,2498,3220,3210,3566,2954,3117,3390,3262,2897,2297,2258,2756,2917,2029,2208,2718,3121,2710,1913,1779,1998,2095,2536,2790,2847,3123,2862,2846,2716,2819,2612,3352,3115,2519,2403,2913,2978,2283,2058,2374,2370,2287,2196,2688,3448,3564,3541,2742,2599,2555,2070,1769,2020,2027,2412,2597,2928,3501,3589,2633,1920,2163,2623,2610,2335,2019,1540,2016,2446,2372,2303,1928,2165,2427,3343,3144,2993,3367,2700,2828,3440,3294,3817,3676,2933,3220,2993,2399,2573,2692,2976,2400,1829,2013,2459,2729,2717,2622,2940,2991,2568,2232,2487,2950,2452,1394,955,1405,1615,1514,2238,2631,2197,2183,2665,3362,3530,2366,2153,2370,2370,2216,2180,3022,3938,4003,3741,3530,3672,3428,3190,3536,4162,4232,2904,1918,2272,2145,2498,3146,3319,4032,3491,3165,2616,2706,2384,2226,1815,1951,2308,2432,2625,2590,2622,3287,2993,2580,1951,2221,2069,2145,2945,3894,4508,4240,3675,2957,2357,2956,3472,3510,4052,4408,4552,4595,4507,4062,3072,2225,2237,2577,2734,2633,2528,2783,2517,2292,3522,3355,3052,3320,3906,4155,3929,2859,2335,3198,2644,2321,1854,1498,1785,3024,2508,1207,1017,1524,1683,1604,1537,1683,2114,2232,2190,2135,2081,1917,1422,1560,1827,1851,1663,1514,2207,2974,3625,3860,3960,3756,2951,2008,1516,1406,1509,1607,1531,1422,1534,1495,1564,1402,1784,1802,1619,1576,1522,1206,1592,2340,1867,1301,2127,2137,1603,2014,2927,2576,2090,1946,2422,2714,2808,2125,1715,1289,1124,1365,1417,1371,1595,1428,1132,1361,1663,1771,1802,2102,1990,1638,1809,2002,1967,2355,2397,2411,2197,1569,1838,2280,2165,1957,1870,1803,1647,1750,1667,1403,1617,1506,1476,1488,1593,1486,1614,1811,1680,1660,1612,1838,1940,1554,1287,1339,1435,1382,1692,1886,1440,1425,1542,1426,1455,1450,1744,1516,1168,1239,1278,1375,1463,1364,1375,1525,1433,1388,1556,1704,1648,1627,1686,1746,1485,1635,1591,1894,2241,2119,1963,2418,2917,2574,2481,2508,2885,2773,3174,3694,3773,3499,3487,2791,1785,2193,2986,3079,2012,1428,1484,1773,1628,1700,1899,1816,1686,1917,2054,1961,1810,1694,1696,1736,1861,1669,1566,1607,1633,1803,1834,1590,1415,1411,1574,1911,1955,1743,1621,1549,1429,1423,1656,1566,1434,1389,1333,1294,1471,1615,1569,1700,1830,1591,1893,2168,2754,3007,2541,2183,2508,2022,1599,2391,2662,2091,2254,2604,2380,2355,2311,2084,2241,2520,2624,2565,1975,1955,2016,2478,3044,2591,2195,2232,2413,2037,1654,1768,1503,1273,1519,1881,1914,1959,2486,2510,2380,2382,2128,1908,2238,2613,2645,2780,3074,3240,2754,2420,2454,2413,2820,3335,3197,3052,3068,3154,3263,3339,3150,2178,2130,2037,1681,1603,1497,1476,1484,1417,1393,1472,1548,1666,1625,1608,1851,1877,1681,1521,1675,1788,2035,2103,1768,1447,1502,1830,1910,1837,1792,1989,1914,1960,1887,1721,1643,1463,1277,1185,1289,1578,1495,1497,1449,1394,1328,1297,1371,1287,1403,1427,1338,1704,2170,2041,1754,1438,1510,1568,1456,1515,1399,2081,2868,2502,2296,1862,1346,1550,2019,1819,1524,1388,1630,1805,1620,1686,1614,1591,1636,1757,2134,2077,1620,2115,2448,2041,1688,1575,1721,1606,1572,1809,2089,2067,2035,1921,1434,1340,1482,2213,3121,2663,2069,1693,1735,1638,1516,1488,1752,2358,2046,1325,1804,2253,1773,1475,1447,1418,1678,1682,1672,1976,2134,2350,2577,2081,2458,2291,2090,2441,3244,2986,2131,1832,1863,2004,2132,1685,1730,1806,1891,2152,2222,1946,1769,1645,2163,2442,2373,2438,2587,2951,2341,2264,2495,2641,2219,2230,2236,1981,1769,1926,2498,2888,3386,3323,2427,2572,2450,2319,1948,1751,2352,3112,3090,2767,2660,2540,2583,2075,2081,2890,3410,3132,3226,2890,2240,2185,2409,2599,3210,3164,2849,2958,2844,2774,2657,2532,2353,3088,3358,3217,3116,2379,1849,1925,2531,3332,3486,2985,3175,2822,2605,2544,2433,2112,1872,2377,2666,2787,2796,2357,2642,2957,2660,2563,2844,2760,2521,2573,2632,2227,2083,2105,1880,2106,2402,2238,2559,2084,1881,2424,2567,2298,2410,2423,2118,2063,2327,1960,2174,2308,1875,1782,2129,1943,1699,1914,2274,2032,1744,1632,1468,1602,1848,2004,1863,1621,1786,1785,1609,1630,1902,1943,1665,1942,2160,1804,1716,2330,2522,2663,2812,2041,1762,2187,2855,2836,2371,2533,2292,2101,1731,1491,1397,1529,1779,2178,2076,1678,1618,1766,1932,1864,1738,1778,2001,2002,1830,1738,1688,1806,1915,1893,1780,1663,1846,1930,2471,3343,2534,2425,2813,2978,2794,2955,2916,2734,2622,2586,2595,2636,3028,3257,2977,2902,3199,3182,2503,1747,1599,1592,1677,2097,2116,2013,1836,1474,1913,1898,1367,2300,2557,2159,1842,1753,1976,1892,1937,2183,1794,2154,2492,1913,1887,2296,2345,2432,2177,1833,1706,1626,1608,1732,1791,2364,2723,2836,2141,1996,2958,2720,2140,2388,2331,2453,2478,2099,2226,2146,1787,1906,1951,1724,1506,1310,1604,1803,1626,1637,1971,1998,2386,2802,2617,2389,2334,1932,1544,1560,1849,2066,2092,2282,2512,2585,2232,1962,1890,2270,2451,2230,2564,2792,2756,2510,2525,2635,2658,2204,1765,2048,1797,1745,2113,2132,1807,1986,2665,2769,2351,2314,1992,1759,1729,1755,1655,1626,1654,1869,2230,2255,2033,2384,2732,2759,2966,3055,2889,2749,2905,2334,2243,2105,1799,1537,1624,1731,1644,1675],[2648,2763,3386,3284,2987,2824,2128,1815,1632,1512,1842,2486,2880,3334,3205,3127,3240,3260,3097,3059,3210,3741,4183,4820,4720,4120,4332,4217,3827,3437,2577,3653,3882,3284,3310,3409,3663,3994,4058,3926,4100,4120,3842,3915,4152,4099,3475,3894,3666,3358,3373,3246,3151,3522,3890,3565,2915,2547,2428,2385,2631,2478,2400,2793,2858,2854,2924,2830,2420,2137,2207,2410,2442,2292,2176,2199,1965,2773,3388,3830,3633,3382,3940,4383,3493,2486,2574,2871,2159,2147,2120,2071,2078,2539,2591,2320,2310,2185,2237,2214,2208,1866,2046,1858,1988,2344,3032,2989,2414,2356,2309,2082,2361,2523,2446,2718,2836,2785,2771,2662,2389,3508,3604,3459,3883,3107,2486,2366,2112,2056,1994,2102,2574,2858,3020,2985,2430,1924,2136,2602,2777,2903,2780,2061,2425,1757,1864,2399,2965,2846,2249,2195,2830,3349,2998,2577,3416,3536,2470,2445,3566,3664,2596,2121,2016,2122,1787,1693,2216,2817,3305,3085,3206,2670,1958,2710,3646,3725,3489,3704,3588,3031,2735,2713,2207,2313,2461,2323,2125,2631,2527,2214,2693,3474,3638,3757,3451,2924,2268,2060,3008,2718,2555,2227,2008,2258,2172,2276,2539,2885,3004,2434,2547,2588,1808,1769,2239,2059,2053,2020,1865,1897,2096,2691,2416,1954,2380,2852,3541,3165,2332,2118,2249,2105,2051,2625,3739,4599,4275,2943,2207,2182,2297,2194,1982,2690,3394,3269,3200,3038,2459,2669,3098,2724,2206,2389,2288,2699,3300,2467,2461,2243,2200,2357,2128,1734,1505,1669,2322,2293,2046,2294,1907,2050,2198,2511,2509,2363,2513,2054,1511,1623,1803,1660,1903,2508,2605,1953,1800,1373,1061,1224,1620,1932,1881,1720,1979,1971,2050,3333,3802,3028,2260,1897,2028,2210,1922,1627,1306,1234,1744,2131,1981,1815,2274,3072,3438,3005,2686,3275,3384,2542,2132,2281,2618,3515,3716,2795,2157,2119,1924,2314,2476,2975,3137,2369,2546,2637,1750,1726,2002,2382,3108,2352,1982,1890,1364,1681,2028,1671,1896,2878,2670,1915,1849,1918,2145,1667,2077,2259,2065,1814,2340,2868,2312,2081,2287,1643,1858,2421,2205,2287,1946,1999,2484,2275,2059,2221,2244,2028,1772,1847,1648,1892,2258,2540,2429,2024,2448,2401,2576,3024,2937,2386,1880,1943,2382,2710,2742,3598,3812,3441,3464,3465,3082,2866,3028,3196,3028,3021,2874,2606,3000,2887,2082,1703,1832,2121,2481,2365,1992,2109,2444,2490,2202,2479,2204,2413,2589,2207,2010,2225,2348,2081,1988,2246,2170,1681,1456,1602,1900,1853,1604,1606,1849,1658,1614,1455,1223,1993,2752,2867,2722,1924,2088,2190,2204,2062,2107,2372,2681,2775,2656,2771,2386,2169,2544,2612,2444,2643,2387,2475,2972,3296,2712,2179,2146,2164,2778,2680,1708,1616,1902,2343,2656,2648,2601,1976,1354,1344,1992,2592,2820,3342,3575,3774,3492,3241,3972,3816,2822,2340,3056,3847,3520,3029,3350,3430,3348,2878,2435,2643,2692,3294,3498,3565,3312,2806,2014,1561,1802,2128,2524,3025,3298,3012,3205,2839,2588,2327,1866,1509,1599,1996,2116,2129,2211,2686,3579,3847,3964,3464,3086,2897,2898,2849,3045,3124,2910,2530,1997,2052,2232,2113,2527,2598,2471,2787,2353,2100,2383,2737,2393,1800,1818,1929,2218,2480,2381,1931,2232,2013,1972,2052,1967,2014,2026,2308,2510,1975,2195,1891,1874,2290,2329,2203,1919,1982,2281,2071,2105,2169,2163,2285,1832,1854,1767,2289,3188,3220,2100,2361,2928,2192,2282,2352,1901,1890,1828,1760,1751,1671,2179,2338,2071,1929,1691,1933,1809,1054,1361,2410,2678,1830,2159,2667,2060,1781,1932,1962,1748,1498,1697,1907,1887,1595,1975,2127,1861,1708,1781,1898,2032,1812,2050,2136,1673,1524,1424,1383,1621,1681,1893,2044,1908,1480,1342,1286,1575,1760,1816,2192,2016,1915,1939,1798,1489,1385,1483,1454,1316,1295,1344,1371,1508,1519,1669,2030,1708,1809,1550,1467,1471,1880,2140,2061,1936,1778,1764,2285,1864,1958,2056,1909,1787,1694,2072,2112,1891,1815,1571,1425,1456,1779,2402,2039,1702,1711,2071,1856,1374,1715,2030,1947,1981,2377,2089,1978,2387,2141,1730,1547,1659,1698,1498,1574,1915,2142,1912,2119,2668,2437,2170,1776,1409,1465,1627,2171,2342,2602,3284,3123,2244,2286,2852,2576,2916,3386,3774,3904,3420,2878,2534,2334,2500,2183,1773,2048,2113,2410,2245,2639,3276,2236,2098,3043,3581,2985,2754,2935,3144,2573,2057,2461,2834,2968,2104,2071,2666,3350,2946,1951,1776,1955,2055,2563,2818,2764,2855,3057,2737,2702,2498,2142,2935,2889,2533,2692,2874,3002,2674,2226,1991,2510,2520,2270,2589,3350,3621,3160,2980,2809,2368,1917,1940,1839,1844,2466,2603,2834,2916,3096,2725,2105,2396,2734,2352,2509,2017,1677,2420,2418,2313,2495,2049,2034,2308,2903,2836,2766,2934,2592,2702,2475,2365,2942,2569,2105,2617,3002,2764,3078,2480,2313,2502,2285,2156,2064,1894,2060,2240,3200,2952,2265,1700,1860,2398,2040,1546,1814,2454,2420,2200,2867,2586,2320,2251,2668,2830,3060,2656,2508,2337,2165,1870,1880,2379,2954,2813,2501,2292,2140,2012,1770,2486,3846,4364,3296,2454,2643,2554,2752,3571,3222,3270,3142,3188,2533,2952,2674,2028,1900,2489,2739,2597,2625,2220,2591,4164,3642,2766,2222,2107,1851,1999,2673,3222,3939,4572,4213,2842,2598,2894,2485,2259,2963,3694,4207,4519,4596,4487,3799,2769,2598,2503,2700,2640,2472,2790,2542,2900,3959,3676,2911,3104,3394,3194,3925,3784,3338,3481,2458,2414,2714,2359,2539,2620,1613,990,1469,1760,1762,1772,1749,1534,1835,2146,2074,2049,1881,1327,1069,1569,1932,1992,1555,1488,2115,2251,2964,3714,3867,3692,2576,1638,1547,1513,1367,1430,1532,1519,1692,1610,1345,1648,1849,1634,1512,1480,1273,1282,1808,2029,1893,2031,2577,2209,1758,2474,2753,2272,1714,1974,2653,3032,2534,1798,1453,1067,1336,1426,1375,1642,1892,1760,1506,1676,1716,1586,1838,1849,1417,1408,1879,2094,2054,2391,2437,2169,1564,1653,2307,2192,1887,1939,1698,1544,1370,1475,1491,1446,1378,1306,1300,1319,1321,1276,1340,1496,1443,1616,1624,1779,1780,1717,1381,1257,1566,1638,1647,1747,1404,1347,1389,1439,1345,1470,1727,1634,1465,1424,1313,1268,1452,1408,1281,1482,1381,1384,1651,1689,1434,1620,1553,1810,2130,2130,1741,1498,1721,2159,2178,2465,2711,2578,2665,2242,2890,3198,3100,3362,3670,3540,3419,3066,2733,2955,3381,3131,1887,1457,1477,1810,1975,1768,1693,1826,1913,1929,2531,2676,2187,1729,1639,1688,1717,1580,1536,1507,1559,1710,1731,1518,1416,1450,1749,1848,1608,1746,1706,1661,1703,1930,1882,1626,1500,1340,1450,1744,2270,1781,1371,1598,1905,1808,1812,1917,2386,2787,2485,2320,2510,2090,2040,2077,2503,2481,2900,2996,2523,2369,2286,1925,2101,2441,3128,3234,2234,1829,2191,2128,2500,2250,1813,1798,1575,1380,1595,1622,1377,1664,1908,2048,1996,1753,2040,2314,2159,1998,1458,885,1443,2136,2391,2755,3251,3317,2657,2711,2586,2429,2974,3153,3001,3123,3084,2801,2925,2812,2422,2232,2504,1925,1560,1569,1503,1447,1426,1506,1742,1738,1845,1998,1785,2183,2499,2148,1732,1517,1452,1705,2252,2266,1785,1527,1680,1810,1779,1623,1524,1635,1887,1922,1720,1478,1603,1584,1428,1523,1438,1560,1393,1278,1304,1353,1440,1700,1508,1284,1488,1586,1419,1424,1594,1757,1788,1550,1774,1773,1635,1519,1495,2300,2656,2360,2296,1762,1469,1505,1642,1597,1859,1428,1395,2158,1960,1438,1425,1604,1794,2100,2081,2042,2175,2312,2514,2382,1724,1384,1436,1448,1359,1493,1636,1362,1395,1588,1478,1482,1504,1998,2386,1976,1667,1676,1999,2098,2032,1792,1830,2205,2186,1510,1362,1660,1555,1332,1417,1648,1735,1542,1267,1871,2144,2069,2511,2114,2153,1957,1652,1919,2733,3024,2395,1802,1879,2189,1954,1670,2275,2096,2195,2480,2151,1736,1515,2174,3353,3818,3438,2574,3178,3388,2492,2366,2741,2740,2345,2104,2226,2596,2212,1971,2958,2734,2633,3068,2845,2746,2208,1892,1778,1842,2552,3086,2695,2071,2551,2523,2313,2280,2451,3071,3941,3663,3296,3018,2163,2239,2766,2842,3134,2890,2692,2736,2125,2120,2301,2312,2496,2919,2895,2745,3680,3426,2231,2186,2657,3032,3044,2570,2724,2867,2534,2024,2207,1930,2077,2649,2804,3194,2876,2942,3048,3309,3228,2909,2765,2780,2835,2736,2612,2292,2184,2720,2684,2394,2267,2250,2372,1892,2084,2482,2287,2223,2624,2388,2302,2373,2093,1750,2264,2068,1630,1979,2148,1888,1881,2054,2031,2122,2259,1704,1489,2074,2257,2122,1886,1663,1765,1968,1887,1903,1823,1963,2002,1985,1827,1871,1917,2481,2558,2820,2958,2208,1770,2082,1896,2004,2523,2480,2087,1443,1310,1505,1585,1576,1600,1856,1995,1904,1532,1735,2021,1804,1551,1618,2410,2294,1692,1394,1382,1562,1772,1983,1797,1864,1969,2084,1992,2312,2259,2702,3601,3685,3456,3454,3292,3090,3010,2980,2547,2851,3020,3284,3325,3193,3144,2669,1951,1678,1660,1472,1777,2366,2168,1864,1736,1870,1965,1959,1751,2122,2392,2346,2008,1870,2005,1877,1938,1965,1757,1976,2523,1886,1638,1985,2362,2204,1731,1859,1791,1644,1778,2120,1774,1824,2062,1955,1985,2293,2711,2526,2371,2618,2722,2537,1860,1634,1846,1682,1758,1816,1792,1788,1824,1821,1660,1738,1629,1560,2046,2582,2920,3248,2902,2073,1963,1789,1624,1704,2033,2184,1991,2833,2674,2205,1879,2104,2369,3295,3311,2765,2575,2763,3124,2865,2709,2314,2265,2104,1794,1798,1675,1903,1919,2013,2088,2001,2576,2644,1989,2079,1915,1909,1815,1776,1777,1676,1557,1754,2325,2337,1827,1971,2414,2519,2655,2693,2420,2723,3033,2601,2427,2010,1588,1542,1722,1874,1864,1741],[2819,2756,3266,2488,2799,2701,2292,2100,1794,1575,2200,2637,2476,3104,3097,2776,3146,3539,3343,3055,2958,3377,3770,4283,4604,4476,4459,4292,3860,3756,2774,3601,3794,3226,2811,3196,3891,4099,3960,3905,4078,4061,3946,4084,4356,4092,3332,3669,3472,3216,3474,3610,3541,3764,3666,3432,3009,2842,2553,2408,2468,2087,2183,2293,2279,2046,2141,2757,2231,1731,2091,2181,1957,1769,1622,1673,1575,2353,3370,3443,3045,3189,3920,4352,3588,2976,2734,2707,2574,2700,3016,2782,2371,2569,2166,1941,2456,2315,2330,2124,2313,2042,1925,1808,1746,2126,2486,2280,1932,1841,1903,1965,2027,2456,2565,2552,2359,2416,2593,2585,2623,3077,2910,3443,3618,2635,2603,2485,2496,1682,1548,2243,3229,3132,2944,2758,2122,1925,2215,2493,2173,2024,2337,2362,2751,2130,2135,2642,2767,2822,2471,2143,2597,2818,2680,2458,3275,2943,2037,2169,3197,3029,2245,2084,1878,2232,2487,2094,2183,3228,3636,2789,2469,1893,1526,2541,3754,3858,3487,3609,3838,3370,2503,2657,2997,2658,2554,2420,2652,2677,2670,2637,3179,3646,3401,3396,2814,2287,2083,2153,2880,2368,2028,2378,2230,2025,1975,2234,2400,2611,3007,2830,2492,2020,1520,1710,2036,2000,2224,2197,2261,2384,2249,2470,2210,2231,3194,3262,3772,2865,2448,2666,2476,1916,1893,2038,2472,3331,3243,2121,1885,1898,1996,1843,2348,3172,3444,3221,3263,3160,2812,2762,3176,3165,2504,2709,2504,2401,2583,2991,2665,2142,2522,2884,2707,2676,2379,2575,2825,2562,1864,1887,1982,1739,1985,2592,2557,2666,2508,1996,1698,2177,2083,1613,1486,1606,1650,1627,1722,1406,1265,1461,1511,1692,1946,1742,2000,2023,2004,3086,3684,3356,2813,2407,2369,2409,2176,1715,1166,1201,2138,2754,2316,2137,2378,2331,2826,2485,2293,2908,2763,2354,2361,2153,2225,2625,3071,2889,2880,2548,2192,2589,2864,2845,2454,2043,2833,2833,1645,1552,2309,2698,2850,2922,2867,2409,2065,1993,2092,1935,2315,2898,2349,1947,1764,1828,1792,2041,2371,2278,2095,1974,2476,2649,2872,2198,1921,1840,1742,1772,1824,2917,3450,2677,2023,2406,3120,2930,2396,1986,2445,2432,2076,1958,2022,2303,2328,1963,2178,2293,2105,2470,2708,2438,2163,2155,2612,2432,2489,3231,3554,3520,3491,3172,3117,2664,2667,2874,3103,3150,3425,3143,3085,2536,2152,1984,1989,2004,2030,1968,2162,2585,2909,2700,2172,2092,2093,2099,2106,2109,2505,2555,1926,1850,2321,2275,1973,1705,1511,1766,1813,2009,1860,1604,1770,1955,1968,1848,1769,2240,2596,3073,2630,1905,2137,2516,2342,2408,2470,2289,2658,2899,2383,2074,2023,2121,2482,2427,2251,2525,3067,3437,3781,3416,2285,1870,2074,2196,2919,2142,1384,1775,2138,2134,2060,2234,2388,1797,1320,1904,3016,3684,3552,3360,2940,2909,3402,3624,3912,3816,2618,2039,2977,3575,3033,3329,3728,3574,3463,3416,3161,3108,2942,2817,3109,3443,3561,3327,2069,1454,1672,2053,2747,3105,3184,2687,2647,2336,2313,2256,1801,1460,1579,1948,1840,1801,2433,3420,3800,4090,4143,3753,3262,2987,2646,2315,2438,2751,2760,1983,2080,2325,2291,3077,3366,2651,2454,2457,2259,2475,2990,2856,2072,1742,1970,2237,2023,2135,2194,2046,2602,2686,2770,2724,2530,2136,2098,2203,2049,1681,1988,1891,2044,2447,2520,2115,1985,2212,2337,1957,1691,1820,1963,2057,2164,2303,2269,2426,3128,3092,2363,2475,2363,1920,2623,2081,1556,1373,1301,1258,1166,1091,1240,1235,1281,1412,1391,1600,1561,1225,1324,2640,2653,2029,2134,2504,1991,1600,1744,2082,2191,1714,1582,1569,1698,1729,1963,2282,1964,1788,1826,1685,1506,1932,2742,2292,1798,1671,1499,1741,1727,1742,2121,1862,1455,1528,1410,1370,1501,1837,1939,2004,1700,1947,1654,1460,1152,1327,1479,1387,1299,1276,1304,1334,1371,1508,1739,1716,1537,1558,1374,1420,1490,1647,1925,1721,1700,1949,1914,2286,1843,1674,1722,1373,1417,2035,2337,2131,1875,1573,1634,1936,1629,1813,2397,2163,1971,1979,2130,1871,1542,1643,2048,2002,2131,2526,2629,2024,2023,1913,1889,1932,1951,1824,1763,1721,1775,2024,2020,2068,2553,2381,2027,1924,2033,1920,1995,2292,2816,3718,3947,3211,2339,2421,2395,2159,2100,2663,3211,3449,3182,2740,2382,2735,3067,2437,1562,1718,2167,2959,2499,2383,2966,2376,2009,2776,2820,2416,2663,2599,2080,1829,2340,2497,2942,3106,2314,2265,2895,3343,2820,1987,2022,1952,1715,1929,2364,2836,2454,2303,2176,2813,2678,2206,2541,2250,2075,2425,2163,2285,2698,2524,2356,2719,2964,3285,3186,3166,3101,2996,3398,2877,2442,2221,1919,1850,2258,2452,2556,2501,1808,2029,2869,2604,2853,3050,2603,2571,2013,1681,1778,2253,2361,2543,2177,1840,2088,2557,2555,2533,2482,2583,2690,1962,2049,2574,2679,2689,2700,2287,1925,2354,2343,2045,2553,2976,2853,2700,2042,2007,2118,2979,2688,2203,1946,2008,2171,1992,2070,2599,2589,2237,2487,2319,2159,2403,2171,2594,2681,2415,2901,2968,1942,1614,1498,1564,1847,1889,1833,1742,1820,1677,1720,1776,2344,3769,4573,4097,3218,3152,2570,2533,2997,3574,3206,2855,2577,2501,2744,2565,2637,2995,2889,2503,2794,2630,2967,2832,3555,3551,2705,2063,2132,1930,2056,2452,2666,3373,4384,4649,3566,2963,2869,2142,2061,2456,2977,3745,4235,4482,4550,4443,3899,3187,2673,2883,2830,2734,2280,1983,2930,3840,3853,3507,3063,2641,2029,3212,3847,4015,3686,2201,1736,2023,2653,2909,1937,1170,1362,1752,1759,1763,1836,1800,1664,1631,1923,2260,2080,1326,1007,1445,1826,2009,2093,1860,2164,2117,1929,2159,2814,3230,2711,1740,1537,1817,1564,1428,1345,1421,1639,1818,1511,1121,1612,1726,1615,1598,1331,1174,1648,1948,1879,1716,2351,2231,1675,2045,2538,2244,1829,1672,2070,2525,2831,1993,1515,1133,1344,1385,1348,1555,1902,1805,1512,1643,1691,1613,2015,1841,1438,1203,1435,1751,1814,2034,2176,2230,1923,1808,2498,2172,1920,1905,1839,1409,1334,1377,1322,1355,1260,1265,1370,1300,1245,1156,1239,1267,1253,1258,1522,1552,1976,1863,1748,1646,1444,1603,1748,1795,1635,1453,1367,1426,1214,1368,1371,1328,1587,1629,1505,1446,1432,1461,1283,1370,1550,1382,1315,1526,1442,1304,1423,1486,1804,1884,1602,1469,1403,1398,1636,1926,2288,2727,2586,2522,2724,3230,3461,3152,3010,3572,3172,3185,3338,3341,3077,3329,2732,1606,1376,1516,1706,1741,1750,1769,1882,1875,1898,2344,2474,2293,2377,2264,2122,2017,1865,1610,1555,1726,1737,1852,1709,1557,1466,1531,1437,1549,1668,1785,2103,1986,1703,1690,1534,1417,1461,1583,1854,2054,1650,1563,1821,1943,1861,1753,1836,2082,2792,3108,2562,2207,2580,2541,2056,2025,2535,2637,2707,2930,2231,2247,2198,2069,2241,2476,2419,2116,1997,1678,1647,2041,1823,1785,1887,1438,1876,1826,1709,1685,1828,1726,1623,1795,1977,2080,1856,1735,2183,1871,1588,1895,1975,2027,2390,3033,3082,3321,3207,2833,3068,3350,3451,3601,3583,3463,3680,4153,4196,4123,4153,3250,1974,1637,1600,1490,1376,1499,1867,2054,1638,1859,1738,1814,2401,2625,2002,1528,1550,1660,1832,1891,1775,1828,1646,1531,1564,1959,2280,2036,1772,1892,1756,1416,1354,1515,1561,1559,1618,1582,1748,1511,1345,1415,1594,1996,2244,1804,1374,1480,1538,1353,1364,1376,1461,1788,1758,1613,1649,1630,1521,1557,1648,1655,1713,2029,1906,1536,1562,1572,1650,2207,2027,2157,2392,1859,1426,1861,2149,2008,2403,2216,2328,2673,1836,1680,1807,1594,1599,1624,1456,1431,1398,1362,1246,1379,1700,1516,1458,1481,1705,1883,1794,1624,1631,1946,2141,1949,1874,1831,1677,2218,1927,1405,1426,1415,1379,1435,1516,1481,1586,1603,2652,2599,1524,2019,2132,2196,2523,2084,1874,2655,2934,1875,1507,1581,1891,2359,2385,2521,2245,1995,1820,1841,2077,2612,3289,3748,3140,3145,2921,3410,3377,3087,3010,2724,2407,2386,2335,1951,2873,2640,2313,2632,2317,2292,2670,2599,2307,1902,1652,1663,2054,2731,2746,2533,2814,2642,2346,2492,2900,3057,3198,3646,3417,2652,3164,3041,2211,2321,3229,3313,2873,2695,2645,2643,2581,2460,2125,2087,2512,2703,2674,3929,3610,3072,3054,2938,2865,2694,2588,2642,3033,2569,1979,2299,1626,1603,2439,3043,3053,2734,3091,3378,3446,3358,3118,2890,2953,2784,2493,2030,1405,1554,2346,2564,2413,2363,2575,2365,2068,2495,2575,2339,2312,2600,2759,2989,2509,1674,1665,2200,2014,1795,1643,1661,1699,1662,2147,2093,1816,1715,1526,1838,2393,2342,2003,2014,2105,1940,1720,1539,1817,1621,1790,2113,2196,2291,2026,2061,2410,1899,1902,2564,2718,2681,2935,2099,2014,2166,2068,1971,1454,1291,1581,1606,1429,1431,1509,1729,1934,1560,1832,1928,1721,1402,1619,2598,2621,1995,1584,1642,1672,1835,2010,1767,1893,1839,1606,1448,1520,1693,2430,3555,3838,3658,3378,3110,3066,3362,3480,2651,4021,2979,2841,3498,3042,2219,1815,1669,1522,1397,1444,1810,2161,2186,1814,1867,2142,2164,2257,2035,1731,1960,2220,1800,1917,1879,1753,1707,1839,1838,1677,1732,1640,1621,1832,2411,2548,1678,1881,1992,1824,1960,2025,1613,1694,2082,1948,1959,2067,1998,1974,1843,2261,2569,2204,1849,1449,1692,1701,1969,2042,1822,1918,1978,2114,1654,1904,1924,1667,1708,2007,2297,2676,2160,1621,1699,1833,1995,2192,2562,2597,1778,2092,2170,1797,2089,2940,3419,3709,3489,3017,2934,3197,3675,2964,2255,1811,1962,2157,1989,1956,2008,2222,2029,2095,2390,2145,2027,2154,1919,1938,1736,1793,1742,1686,1666,1690,1774,2194,2799,2630,1809,1780,2071,2209,2473,2740,2679,2755,2900,2683,1994,1476,1541,1998,1799,1792,2062,1852],[2197,2835,3033,2496,2687,2678,2694,2642,2245,1752,2349,2646,2281,2453,2420,2301,2832,3191,2967,2564,2236,2545,3265,3806,4120,4384,4340,4014,3804,3292,3240,3686,3586,3232,2858,3238,3825,3818,3955,3882,3947,4067,4140,4116,4304,4288,4078,3864,3602,3781,3942,3476,3603,3676,3183,3020,2751,2562,2147,2266,2165,1784,1836,1767,1654,1613,2276,2990,2690,2232,2138,1858,1709,1697,1816,1992,1824,1914,2732,3010,2884,3088,3308,3154,2987,2766,2444,2558,2640,2453,2875,2799,2258,2194,2396,2401,2221,2486,3219,2813,2358,2247,2079,2277,2243,1765,1743,1777,1912,1801,2322,2784,2198,2327,2691,2891,2688,2221,2529,2934,2926,2815,2600,3001,3219,3203,2906,3234,3108,2429,1966,2866,3440,3044,2863,2325,2084,2404,2295,2014,1832,1875,2255,2212,1897,2087,2399,2391,2192,2113,2191,2504,2689,2823,2213,1575,1693,1508,1428,1693,2487,2468,2194,2121,1655,2237,2399,1870,1990,3353,3764,2644,2078,1787,1644,2555,4003,4357,3838,3618,3506,3273,2758,2621,2814,2350,2090,1913,2212,2313,2274,2529,3249,3752,3427,2975,2124,1966,2195,2247,2154,1779,1891,2266,2390,2332,1882,2149,2186,2161,2214,2173,1723,1661,1921,3011,3077,2131,2070,2282,2558,2365,2559,2604,2046,2127,3096,3321,3594,2877,2385,2454,2208,1738,1678,1825,2044,2294,2116,1802,1733,1809,1820,1856,2633,3305,3304,3227,3074,2816,2910,2533,2775,3270,2733,2866,3617,3165,2536,2438,2166,2316,2633,2871,3222,3588,3171,2790,2340,2136,1847,1816,1787,1817,2380,2537,2598,2368,2432,2046,1989,2001,1926,1666,1599,1511,1595,1844,2144,1858,1764,2055,1988,1741,1771,2155,2299,1857,1924,2683,2865,2775,2768,2831,2774,3095,2819,2165,1785,1918,2768,3000,2724,2493,2148,1890,2197,2341,3298,3483,2986,3043,2645,2201,2010,2377,2244,2395,2841,2845,2248,1879,2413,2407,2722,2968,2980,1887,1532,1672,1764,1706,2432,3374,2819,2363,2431,2094,2347,2432,2568,2777,2559,1917,1672,1746,1472,1832,1983,2069,2470,2467,2410,1870,2074,2098,2020,2466,2266,1850,1850,3008,3828,3024,2013,2822,3715,3540,3049,2541,2920,2671,2494,2164,1844,1732,1796,2115,2480,2240,1942,2384,2830,2276,2228,2304,2430,2264,2420,3198,3430,3636,3572,3108,3175,2767,2543,2677,3305,3470,3297,3132,2966,2900,2586,1946,1905,1808,1991,2095,2820,3696,3854,3407,2587,2389,2452,2383,2192,2130,2496,2753,2409,1911,2157,2426,2346,1887,1986,2043,1863,2143,2143,1713,1764,2188,2167,1905,1738,1569,1654,2099,2142,2002,1888,2182,2181,1859,2339,2833,2187,2017,1958,1682,1851,2159,2884,2928,2519,2797,3318,3751,3927,3090,2160,1982,2614,2828,3042,2148,2096,2314,2382,2172,1682,1809,2276,2202,1908,2472,3044,3240,3218,2989,2565,2917,3345,3510,3676,3607,2831,2445,3391,4149,3499,3350,3597,3125,3438,3611,3362,3186,3034,3032,3150,3239,3693,3840,2774,1934,1860,2236,2800,2835,2645,2407,2439,2599,2777,2674,1882,1414,1383,1643,1731,1820,2713,3319,3623,3819,3760,3570,3296,3090,2668,2096,2039,2627,2199,1996,2339,2299,2690,3806,3926,2994,2460,2251,1974,2104,2856,3064,2329,1856,1870,2326,2061,1970,2016,2440,2732,2683,2676,2343,2275,1669,1728,1971,1603,1532,1946,2542,2669,2632,2372,1889,2050,2001,1916,1440,1526,1981,1843,1827,2000,2443,2283,2153,2668,2850,2265,2171,2205,2444,2952,2357,1982,2143,2092,1688,1403,1615,2049,1874,1998,2187,2004,2197,1968,1693,1834,2590,2410,1789,1971,2298,1760,1592,1856,2143,2248,1773,1573,1481,1644,1831,1794,1766,1635,1531,1585,1469,1416,1973,3055,1957,1730,1748,1554,2072,1905,1560,2007,1870,1379,1422,1342,1300,1324,1688,1754,1710,1599,1479,1569,1538,1390,1394,1282,1281,1326,1400,1367,1382,1388,1446,1480,1321,1285,1302,1308,1462,1522,1547,1779,1445,1543,1927,1670,1611,1364,1577,1617,1583,2012,2063,2122,2232,1856,1671,2051,2250,1732,2032,2070,2105,2095,1815,1732,1638,1361,1659,2071,2100,2048,2115,2561,2155,2140,2346,2176,1878,1935,1836,1812,1815,1867,1992,2236,2056,2670,2842,2407,2626,3089,2749,2592,2798,3436,4116,3963,2915,2274,2859,2264,2006,1732,2260,2700,2955,3474,3163,2477,2373,2633,2542,1948,2299,2170,2364,2093,1806,2686,2951,2429,2563,2608,3085,3675,3104,2001,2391,2454,2425,2886,3100,2658,2562,2868,3033,2584,1794,1867,1818,1381,1810,2320,2985,2801,2315,2436,2813,2635,2414,2372,2199,2613,2655,1936,2367,2879,2956,3339,2995,2769,3012,2889,2944,2448,2272,3384,3654,3187,2670,2088,2699,2976,3028,2725,2199,1736,1846,2812,2708,2790,2733,2790,2823,2082,1598,1541,2009,2193,2360,2238,1958,2147,2619,2691,2176,1782,1918,1602,1609,2245,2779,2811,2743,2679,2296,1991,2730,2823,2523,2658,2968,3238,3089,2097,1903,1974,2286,2347,2252,2197,2037,2461,2561,2464,2213,2057,2137,2409,2209,2921,2502,1994,2426,2567,3012,3781,3100,1810,1561,1542,1562,1787,1743,1685,1753,1866,1720,1750,1760,1998,3052,3466,3284,3790,3767,2889,2483,2076,2311,2133,1714,1765,1998,2069,2250,3021,2383,2370,2221,2530,2298,2200,2377,2358,2141,1989,2177,2554,1972,2125,2132,2137,2799,3557,4368,4323,3504,2806,2481,2535,2654,3161,3616,4121,4251,4482,4602,4703,4057,3696,3638,2987,2416,2312,2247,2370,2619,2531,3144,3846,3575,2824,3050,3655,3797,3152,2191,1729,1936,2543,2935,1926,1582,1727,1764,1808,1824,1850,1777,1714,1639,1822,2210,1806,1026,1310,1772,1938,1849,2029,2027,2084,1984,1808,1747,1996,2217,1944,1570,1533,1771,1665,1758,1677,1723,1902,1739,1070,1111,1579,1585,1525,1526,1236,1487,1832,2201,2076,1743,1576,1599,1778,2255,2277,2046,1808,1982,2145,2062,2207,1725,1228,1274,1450,1352,1524,1850,1858,1473,1470,1621,1716,2137,2143,1488,1455,1522,1820,1804,1510,1597,1862,1752,1625,2562,2499,2013,1859,1713,1388,1377,1482,1446,1376,1269,1247,1416,1461,1335,1224,1187,1199,1221,1266,1310,1396,1515,1739,1601,1354,1301,1260,1369,1583,1736,1632,1760,1595,1452,1259,1283,1239,1309,1350,1470,1536,1421,1271,1306,1369,1399,1452,1346,1324,1439,1328,1401,1458,1408,1420,1580,1680,1537,1393,1479,1459,1547,1664,2080,1930,2089,2770,3334,3519,3404,3171,3378,3289,3099,2884,3059,3001,3333,2640,1475,1326,1379,1499,1519,1548,1666,1930,1883,1686,1791,1874,1923,2062,2443,2568,2445,2497,2145,1882,1870,1655,1620,1581,1483,1369,1316,1338,1484,1507,1577,1776,1782,1715,1815,1550,1564,1590,1580,1742,2062,1931,1819,1969,1886,1761,1708,1721,1847,2635,3229,3101,2510,2732,3267,2724,1796,1822,2238,3382,3299,2466,2324,2341,1971,2593,2378,2188,2388,1838,1095,1293,1625,1798,2100,2192,1930,1920,1526,1891,2033,1595,1304,1340,1528,1867,2081,1777,2105,2818,2290,2272,2166,2128,2076,2221,2214,2669,3099,2678,2678,3234,3838,3790,3780,3836,3654,4080,4456,4759,5053,5009,3542,1990,1826,1636,1517,1465,1641,1943,2143,2035,1859,1508,1763,2110,2248,2105,1937,1772,1715,1731,1647,1403,1544,1594,1471,1439,2109,2786,2590,2234,2020,1410,1213,1344,1717,1758,1964,2268,2000,2197,1891,1534,1538,1708,1746,1541,1349,1582,1523,1542,1398,1260,1287,1405,1948,2176,1839,1828,1837,1337,1506,1632,1715,1538,1876,1902,1565,1478,1405,1454,1752,2199,2269,1708,1401,1462,1921,1904,2115,2365,2574,3523,3154,1708,1510,1717,1812,1860,1930,1871,1578,1417,1373,1342,1510,1793,1776,1598,1497,1958,2409,2028,1761,1954,2030,1894,1686,1561,1515,1698,2149,2110,1631,1281,1330,1464,1493,1628,1567,2093,2277,2395,1997,1562,2132,2558,2989,3007,2317,1778,2039,2159,1742,1752,1804,2652,3117,2607,2317,2422,2092,1722,2382,3208,3796,3160,3184,2877,2752,2856,3071,2927,2956,2844,2504,2041,2284,2621,2128,2764,2503,2491,2095,1653,2035,2481,2702,2734,2008,1588,1842,1842,2276,2348,2587,2546,2113,2110,2821,3372,3299,3271,3128,2603,1746,2340,2373,1936,2250,3000,2687,2811,2895,3254,3305,2314,2386,2221,2800,3284,3011,2475,3471,3538,3164,3012,2718,2431,2700,3076,2801,2917,2456,2558,2490,1585,2004,2784,3162,2931,2928,3145,3009,2924,3297,3049,2828,3030,2587,2330,2239,2008,1756,2051,2570,2885,2889,2655,2210,2474,3023,3083,2562,2395,2523,2735,2872,3445,2930,1973,2110,1902,1922,1699,1823,1742,1552,2215,1942,1528,1621,1874,2166,2210,1999,2220,2601,2228,1859,1688,2004,2199,1818,1589,1722,2081,2509,2236,2258,2609,1747,1588,1967,2469,2874,3369,2964,2377,1813,1796,1908,1860,1744,1657,1463,1288,1396,1378,1532,1464,1556,2042,2004,1851,1496,1799,2464,2503,2206,1795,1918,1794,1755,1840,1914,1732,1619,1570,1511,1569,1763,2320,2780,2863,3035,2841,3084,3505,3815,3588,2948,3171,2634,2854,2862,1924,1493,1625,1550,1358,1389,1489,1534,1475,1432,1616,1929,2066,1881,1660,1523,1519,1719,1996,1914,2490,2166,1788,1743,1781,1754,1753,1858,1815,1678,1668,1868,2250,1689,1668,1694,2011,2117,1900,1582,2070,2480,1803,1743,2096,1859,1757,1651,2129,2302,2117,1888,1599,1702,1750,1838,1789,1801,1988,2178,2443,1971,1886,1918,1709,1723,1655,1725,2087,2014,1827,1830,2009,2107,2178,2209,2397,2258,2248,2373,2229,2510,3327,3603,3418,3219,2640,2807,2907,2821,2056,1813,2077,2156,2110,2274,2179,2150,2324,2226,2240,2051,2397,2481,2195,2072,1932,1849,1942,1743,1642,1774,2156,2399,2883,2849,2439,2047,2211,2286,2219,2381,2679,2933,2789,2934,3123,2359,1504,1753,2540,2260,1946,1769,1750],[2166,2487,2429,2153,1952,2500,3010,2718,2355,1883,2230,2817,2111,1595,2069,2343,2325,2145,1955,1937,1731,2060,2887,3596,4069,4384,4292,4191,4101,3217,3204,3707,3620,3324,3141,3439,3806,3759,4020,3861,3826,4049,4024,4000,4191,4260,4148,3941,3906,4416,4123,3243,3420,3026,3085,2984,2929,2607,2076,2010,2116,2053,1837,2171,2741,2866,2834,2710,2919,2598,2577,2333,1735,1849,2425,2424,2375,2262,2806,3253,3366,3156,2925,2687,2266,2102,2330,2413,2309,2357,2811,2757,2730,2739,2900,2618,2210,2976,3538,3477,2872,2408,2266,2464,2419,1843,1608,1723,2354,2071,2532,2564,2093,2785,3317,3011,2541,2261,2590,2663,2480,2963,3076,2797,2963,2785,2876,3526,3716,3463,3074,3134,3250,2816,2899,2528,2699,2680,2604,2922,2643,2497,2568,2415,2093,2036,2434,1884,1750,1891,2047,2475,2640,2652,1838,1183,1272,1554,1724,1843,2212,2369,2360,2370,1997,2100,1850,1975,2284,3200,3585,3200,2903,2147,1644,2442,3737,3929,3577,3436,3383,3385,2950,2666,2692,2115,1685,1699,2050,2377,2232,2152,2376,2329,2152,2278,1938,1941,2310,2381,1782,1386,1642,1857,2549,2456,1726,1837,2198,2278,2156,1776,1844,1902,1947,3014,3095,2108,2166,2250,2266,1941,2321,2335,1902,1904,2676,3452,3197,2167,1679,1835,2093,1882,1544,2144,2274,2299,1804,1484,1895,2068,1926,2446,3171,3072,2979,3066,2823,2909,3129,2804,3396,3532,2688,2857,3410,2786,2193,2216,2364,2720,2618,2531,3344,3685,3328,3100,2598,1993,1772,1763,1809,2524,2697,2447,2771,2635,2548,2100,2143,2163,1721,1697,1664,1530,1764,1989,2072,1871,1880,2492,2047,1839,2046,2232,2288,2010,1883,2117,2700,2757,2410,2449,2686,2378,2557,2523,2330,2526,2833,2872,2462,2366,2272,1997,2073,2088,3234,3267,3139,3299,3064,2038,1857,2017,1873,2096,2475,2548,2450,2119,2341,2448,2925,2850,2459,2061,1725,1720,1796,2040,2742,3039,2625,2383,2032,1697,1952,1913,1708,2361,2423,1744,1766,1593,1431,1735,1637,1953,2844,2829,2429,1858,1716,1818,1949,2214,2417,2494,2224,2635,2840,2222,1962,2769,3178,3347,2809,2647,2473,2327,2358,2127,1831,1808,2032,2252,2105,2158,2163,2409,2308,2028,2105,2219,2339,2250,2643,3176,3006,3228,2818,2967,3212,3060,2788,2923,2928,3144,3132,2967,2843,2736,2552,2511,2039,2002,2138,2181,2807,3021,3241,2780,2423,2597,2321,2115,1952,1939,2161,2577,2420,2120,1896,1952,2342,2642,2422,1967,1895,1732,1625,1601,1284,1474,2203,2049,1698,1430,1427,1819,2002,2012,1939,1909,1919,2060,2728,3173,2518,1809,2040,2755,2711,2762,3384,2905,2354,2876,3011,3090,2799,2169,2184,2263,3188,3915,3212,2619,2511,1945,2055,2120,1774,2157,2098,2190,2126,2034,2574,2861,2949,2930,2721,2634,2750,3110,3721,3860,3508,3552,3892,4400,4244,3919,3540,3260,3189,3165,3378,3371,3450,3545,3335,3136,3746,3936,2917,2348,1969,2143,2593,2609,2470,2661,2935,2872,2630,2568,2254,2077,1858,1568,1528,1575,1883,2137,2940,3832,3992,3586,3220,3241,3068,2342,2396,2398,1913,2159,2336,2656,3348,3719,3120,2254,2141,2245,1932,1698,2129,2930,2708,2388,2109,2098,2128,1914,1891,2217,2214,2133,1754,1681,1803,1708,2020,2138,2025,1873,2149,2477,2288,1760,1483,1310,1696,2088,1854,1602,1499,1802,1977,1840,1913,1961,1799,1829,2306,2812,2120,2005,1829,1860,2577,2237,1998,2053,1566,1486,2075,2425,2097,1725,2155,2213,1895,2160,1920,1757,1750,2143,2484,2198,2344,2317,1732,1627,2117,2213,2156,1834,1721,1652,1733,1737,1628,1686,1741,1521,1531,1521,1666,1919,2321,1680,1427,1374,1449,1796,1658,1421,1549,1383,1332,1576,1477,1534,1880,2083,1884,1559,1400,1371,1457,1490,1553,1527,1347,1249,1500,1488,1463,1409,1344,1347,1417,1360,1398,1597,1606,1451,1346,1362,1614,1648,1664,1762,1479,1344,1543,1770,1500,1841,2322,1697,1791,2477,2476,2398,2152,2205,1739,1619,1921,2096,1815,1382,1601,1583,1528,1934,2215,2051,1850,1893,2182,2302,2291,2428,2252,1829,1980,1805,1771,1924,2426,2709,2530,1871,2581,3501,2884,2689,2940,2848,2881,2978,3190,3553,2901,2252,2622,2970,2010,1640,2174,2732,2823,3387,4257,4019,3406,2805,3086,2116,2436,2758,2177,2407,2321,1781,2119,2690,2131,2223,2911,3074,3777,2856,2542,2903,2713,2577,2751,3240,3389,3190,3177,3399,2770,1614,1588,1823,1765,2151,2240,2848,3178,2829,2863,2893,2546,2395,2605,2813,2823,2844,2609,2565,2625,2827,3344,3385,3032,2336,2417,2696,2391,2322,2968,3761,3470,2569,2151,2573,2929,3213,3085,2643,2166,2343,2838,2801,2469,2379,2342,2688,2458,2047,2117,2004,2531,3000,2655,2409,2166,2087,1713,1587,2191,2395,2242,2454,2689,2588,2624,2713,2909,2893,2054,2031,2455,2514,2646,2656,2889,2741,2004,1787,1903,1869,2245,2611,2924,2513,2449,2175,2120,2414,2301,1770,1675,2137,2466,2178,2406,2662,2658,3398,3849,3128,1942,1735,1647,1839,1965,1814,1753,1687,1636,1572,1650,1715,1687,1864,1984,1870,2973,3798,3544,2849,2564,2348,1603,1111,1099,1243,1749,2502,3516,2710,2188,1892,2436,2182,1763,2044,1935,1954,1909,1792,2065,2119,2110,1939,1688,2296,3134,4035,4676,4529,3865,3346,3204,2830,2912,3193,3499,4012,4352,4262,4311,4488,4583,4313,3440,2705,2447,2633,2291,2209,2187,3005,3720,3742,3492,3074,2490,2215,2062,2188,2401,2413,2487,2533,2119,1927,1797,1757,1824,1869,1829,1758,1628,1497,1722,1619,943,1151,1724,1943,1814,1997,1975,1471,1483,1812,1881,1849,1722,1784,1927,1670,1448,1695,2012,2236,2277,2230,2008,1294,992,1378,1546,1539,1521,1606,1578,1734,1781,2210,2194,1780,1490,1571,2031,2438,2249,2210,2042,2265,2219,1972,1925,1599,1252,1396,1309,1454,1790,1858,1655,1711,1643,1490,1818,2086,2047,1694,1559,1451,1600,2031,1896,1535,1617,1729,2296,2867,2080,1869,1655,1469,1457,1658,1542,1506,1416,1435,1627,1427,1346,1354,1360,1299,1294,1300,1316,1319,1405,1490,1490,1507,1309,1033,1260,1563,1852,1722,1615,1786,1665,1414,1547,1584,1334,1277,1293,1422,1508,1483,1427,1360,1420,1440,1426,1389,1471,1487,1427,1506,1548,1388,1388,1510,1544,1592,1660,1483,1389,1477,1509,1418,1526,1978,2955,3441,3376,3173,3169,3066,3620,3541,2971,3008,2987,3003,2633,1718,1373,1271,1401,1372,1294,1629,1874,1963,1834,1797,1906,1961,2081,2443,2445,2705,2416,2323,2354,1980,1899,1708,1553,1501,1386,1365,1354,1421,1613,1767,1605,1505,1693,1739,1646,1774,1748,1658,1625,1804,1889,1835,1735,1718,1912,1755,1631,1808,2294,2792,2896,2354,2417,2975,2673,2321,1962,1909,2351,2319,2744,2417,2070,1861,2587,2745,2302,1958,1386,1146,1537,1668,1949,2514,2596,2577,2010,1594,1933,2184,1843,1471,1444,1587,2100,2282,2190,2552,2456,1800,1983,2065,2054,2046,1936,2258,2835,2864,2402,2327,2833,3596,3936,3904,3920,3574,3793,4253,4352,4519,4637,3733,2159,1646,1293,1249,1248,1580,1703,2003,2080,1453,1411,1788,1646,1918,2405,2183,1839,1980,2336,2416,1799,1512,1555,1646,1462,1614,2080,2194,2116,1787,1572,1798,1883,2042,2333,2802,2714,2454,2472,2115,1631,1422,1554,1399,1368,1408,1807,1729,1578,1508,1449,1404,1671,2276,2633,2182,1882,1583,1330,1572,1700,1882,1722,1753,1767,1617,1523,1561,1470,1643,1848,1582,1428,1474,1471,1465,1750,2271,2157,2178,2959,2622,1743,1480,1824,1974,2222,2015,2018,1606,1549,1508,1433,1595,1810,1964,1744,1630,2131,2249,2263,2183,2201,2228,2032,1966,2062,2320,2589,2783,2797,2137,1587,1333,1529,1993,1865,2156,2951,2784,2166,1707,2161,2796,3150,3186,2536,2335,2205,1909,2133,2095,1802,1885,2823,3142,2502,2230,2474,2013,1892,2809,3559,3821,3793,3804,3929,3876,3842,3138,2347,2059,2098,1892,1818,2401,2581,2136,2076,1989,1786,1734,1997,2222,2286,2552,2598,2285,1902,2059,1979,1743,1705,2537,2799,2242,2026,2818,3436,3352,3247,2965,2655,2127,1631,1888,2643,3068,3156,3000,3130,3144,3786,2967,2162,2269,2165,3305,3774,3083,2856,3305,3355,3260,2976,2886,2732,2728,2758,2634,2767,2400,2500,2072,1491,2273,3455,3489,2819,2802,2461,2619,2828,3404,3363,2567,2482,2257,1933,2416,2808,2486,2255,2795,2978,2841,3130,3076,3106,3459,3222,2622,2929,3522,2877,2180,2898,2547,2356,2237,1984,1679,1563,1817,1823,1849,2189,1794,1383,1582,1855,2062,2053,1767,1702,2068,1716,1703,1951,2514,2494,1865,1493,1706,2219,2579,2177,2197,2221,2154,1831,1811,2458,3183,3145,2936,2181,1702,1986,1913,1939,1955,1742,1370,1407,1537,1759,1765,1614,2050,2118,1895,1631,1561,2023,2334,2018,1830,1716,1773,1861,1667,1793,1976,1782,1673,1722,1688,1759,2513,2998,2287,2123,2273,2323,2524,2855,3361,3272,2914,2683,2556,2419,2021,1779,1758,1654,1427,1263,1426,1499,1408,1315,1315,1510,1773,1857,1646,1587,1590,1492,1465,1657,1863,2815,2513,2036,2039,1903,1741,1744,1942,2298,1814,1571,1550,1866,1769,1529,1551,2067,2139,1678,1501,1853,2218,1760,1691,2205,1873,1715,1665,2304,2535,2112,1760,1600,1606,1696,1556,1536,1789,2076,2023,2513,2246,1748,1691,1610,1908,1992,1640,1714,1648,1714,1794,2030,2106,2017,1990,2074,2259,3050,3175,2440,2816,3499,3239,2911,2746,2325,2189,1892,1647,1692,1858,2053,1977,2097,2371,2215,2369,2844,2863,2979,2364,2474,2668,2104,2062,2288,2326,2128,1820,1841,2048,2550,2815,2944,2579,2004,1853,2244,2436,2677,2983,2899,2711,2730,3039,3348,2610,1773,1907,2615,2873,2190,1624,1639],[2496,2567,2600,2157,2208,2805,2777,2509,2263,2068,2376,2938,2250,1675,2067,2263,2182,1958,1870,1997,1887,1978,2698,4133,4633,4573,4336,4423,4219,3519,3318,3550,3551,3536,3448,3615,4036,3606,3637,3646,3639,3879,4052,4200,4238,4136,4012,3939,3861,4124,4159,3386,3047,2490,2846,2908,2701,2526,2138,1908,2279,2044,2098,3039,3163,3083,2858,2517,2634,2764,2868,2677,2178,2489,2510,1964,2324,2404,2767,2963,2908,2597,2454,2555,2248,2511,3152,3088,3426,3418,3322,3240,2822,2449,2333,2074,2063,2317,2842,2795,2403,2811,2934,2113,1959,1847,1690,1773,2342,2185,2072,2085,2494,3051,3144,2996,2742,2578,2756,2656,3020,2985,2685,2546,2770,2897,3086,3484,3931,3731,3463,3011,2864,2906,2907,2251,2162,2039,2466,2706,1896,1707,2008,2320,2240,1779,2204,1964,2150,1866,1771,1809,2041,2243,2091,2119,2220,2361,2280,2105,2473,2112,2198,2379,2244,2195,2173,2436,2352,2805,3175,3140,3131,2499,2137,2413,2868,3007,3032,2973,2890,2929,3000,3000,2790,2333,2064,1969,1891,1790,1642,1948,1664,1682,2136,2210,1948,2014,2173,2004,1708,1587,1697,1854,2468,2254,2110,2132,2254,2455,2242,1797,1903,1837,1920,2645,2768,1972,2200,2154,2160,1767,1808,2415,2412,2492,2828,3066,2618,1852,1797,1997,2170,1780,1576,2285,2401,2669,2504,2347,2563,2115,1985,2733,3273,3152,3247,3151,3124,3283,3416,3305,3597,3640,3160,2843,2473,2209,2770,2943,2858,2765,2799,2020,2330,3163,3457,2971,2398,2191,1981,2047,2196,2510,2366,1985,1926,2086,1974,1748,1831,1896,1742,1987,2170,1743,1569,1574,1539,1973,2115,2187,2156,2021,2013,1909,1967,2146,1838,2101,2813,2789,3017,3297,2708,2343,2306,2267,2968,3013,2536,2630,2437,2513,2588,2796,2220,1694,2318,2490,3076,3299,2618,2135,2262,1931,1611,2060,2742,2322,2232,2192,2424,2316,2236,2190,2792,2788,1952,1875,2254,2460,2359,2248,2523,2518,1986,1536,1331,1842,2284,2380,1952,1741,1935,1651,1616,2410,2251,2130,2563,2995,2908,2692,2598,2307,2245,2381,2696,2825,2104,2380,2380,2160,2054,2331,2487,3071,3108,2632,2326,2803,2990,2500,1938,1656,1986,2475,1881,1920,1974,2212,2201,2159,2166,2261,2202,2205,2390,2639,2972,2884,2453,3166,3498,3082,3085,3377,3120,2664,2604,2874,2596,2297,3022,3619,3172,2573,2288,2536,2884,2663,2447,2128,2428,2480,2350,2932,2562,1421,1756,2596,2636,2280,2126,2486,2491,2270,2072,2101,2321,1670,1560,1481,2000,1923,1970,2112,1975,1713,1698,2164,2414,2474,2200,2340,1925,2068,2552,2984,3000,2740,3414,4028,3296,2865,3232,3198,3181,3418,3065,2408,2112,1924,2458,2707,3051,3548,3181,2754,2328,1800,1978,1974,1606,1632,1582,2253,2546,2346,2686,3330,3418,3122,2814,2662,2899,3337,4069,4372,4400,4448,4400,4452,4331,4132,3847,3569,3479,3648,3636,3785,3548,3220,2996,3260,3770,3580,2915,2373,2024,2161,2432,2470,2337,2470,2238,1944,1676,1722,1566,1820,1639,1429,1424,1401,1376,1394,2078,3362,3995,3582,3264,3552,3792,3351,2655,1968,2004,1956,2251,2977,3029,2944,2358,1776,1785,2048,1875,2028,2386,2543,2007,1692,1749,1761,1763,2101,2333,2327,1982,1853,1721,1616,1701,1718,1655,2348,2825,2470,2577,1964,1525,1367,1434,1252,1641,2018,2294,2536,2379,2919,3520,2967,2425,1968,1980,1678,1708,1951,1841,1922,1682,1794,2428,2842,3105,3215,2922,2843,3256,3352,3138,2996,3229,3118,2935,2518,1836,1763,1941,1989,2080,2243,2552,2101,1868,1689,1901,1785,2170,2392,2046,2098,1974,1693,1531,1640,1844,1836,1567,1485,1557,1694,1692,1753,1599,1298,1392,1565,1506,1349,1374,1234,1412,1629,1355,1337,1947,2542,2432,1793,1642,1457,1408,1313,1382,1558,1517,1290,1527,1475,1429,1431,1554,1621,1357,1477,1686,1760,1824,1459,1345,1380,1354,1589,1570,1605,1383,1296,1576,1547,1553,2235,2263,1748,1693,2176,2290,2530,2150,2135,1918,1626,1886,2136,1816,1749,1836,1809,1832,1751,1631,1867,1910,1733,1935,2159,2121,2120,2339,1673,1489,1442,1448,1764,1729,1798,2032,1491,2082,3425,3394,3054,2729,2259,2453,3044,3037,2942,2601,2550,2890,2645,1994,1936,2253,2620,2929,3720,4019,3553,3392,2416,2526,2215,2802,2836,2380,2222,1921,2133,2448,2363,2268,2601,3518,2683,2217,1904,2333,2691,2611,2626,2758,3541,3768,3751,3740,3689,2648,1652,1715,2501,2810,2513,2423,2481,2566,2303,2128,2613,2413,2172,2492,2303,2712,2811,2610,2778,2508,2524,2994,3370,3820,2940,2156,1998,2250,2542,2240,2564,2789,2520,2580,2713,2435,2584,2740,2564,2336,2439,2918,2843,2488,2012,1608,1855,2151,2507,2328,1409,2008,3064,3241,3200,2635,1721,1730,2004,2278,2780,2911,2467,2330,2542,2629,3111,3436,2886,1604,2094,2815,2440,2273,2209,2434,2379,1744,1747,1915,1979,2792,3109,2978,2076,1293,1209,1698,2082,1798,1887,2034,1851,1964,2256,2512,2460,2446,3320,3644,3343,2181,1717,1991,2320,2188,1834,1749,1687,1643,1567,1556,1566,1522,1498,1600,1588,2498,4005,4124,3042,2459,1981,1318,959,1100,1354,1824,3352,4084,3505,2561,2529,3041,2420,1856,1945,2070,2342,2216,1843,1827,2076,2121,2047,2179,2979,3436,3471,4343,4708,4736,4443,4256,3385,3177,3160,3055,3398,3538,3491,3558,4071,4572,4308,3755,3514,3433,3259,2612,2404,2850,3300,3697,3385,3124,2674,1861,1842,1809,2399,3219,3406,2824,2349,2488,2352,1951,1735,1735,1805,1776,1754,1516,1197,1392,1384,1248,1622,1896,2230,2110,2107,2075,1497,1664,1836,2016,2205,1849,1545,1738,1744,1583,1505,1692,2009,2414,3073,2893,1460,1496,1671,1645,1592,1506,1445,1677,1763,1555,1593,1764,1718,1589,1713,2592,2715,2706,2273,2568,2435,2504,2269,1920,1465,1418,1420,1411,1709,1902,1750,1682,1805,1578,1628,1917,2069,2206,2160,2047,1663,1488,2012,2091,1489,1488,2236,2910,2344,1862,1715,1411,1120,1381,1566,1519,1498,1505,1447,1512,1344,1271,1279,1518,1439,1303,1374,1306,1200,1204,1411,1605,1727,1375,1503,1798,1850,1891,1630,1422,1332,1312,1249,1500,1586,1236,1378,1814,1412,1305,1370,1512,1587,1652,1675,1760,1997,1544,1424,1624,1510,1505,1457,1628,1619,1453,1906,2010,1506,1454,1483,1445,1547,1722,1919,2808,2714,2784,2984,3176,3318,3570,3466,3356,3396,2955,2792,2908,2173,1572,1285,1371,1221,1163,1526,1746,1663,1863,2306,2144,1969,2208,2670,2667,2802,2486,2147,2278,2303,1859,1454,1598,1562,1400,1381,1431,1532,1521,1721,2030,1864,1422,1588,1924,1760,1822,2010,1804,1967,1804,1660,1644,1909,2215,1820,1636,1914,2125,2586,2856,2413,2352,2409,2884,2942,2498,2215,1965,2409,2526,2179,2092,1588,1898,2664,2308,2003,2027,1811,1926,1891,1879,2662,2938,2940,2333,1609,1790,2055,1848,1450,1688,2004,1971,1984,2354,2496,2260,1970,1882,1882,2004,2004,1896,2174,2420,2692,2370,2174,2994,3566,3872,4008,3914,3731,3935,4164,4252,4416,4476,3696,2106,1456,1434,1858,2024,1747,1793,1986,1555,1344,2034,1861,1560,1960,2128,1845,1871,2236,2706,2492,2007,1667,1780,1897,1622,1334,1440,1615,1714,1602,2005,1779,1538,1499,1988,2588,2857,2928,2744,2408,2089,1576,1533,1478,1431,1708,2040,1869,1556,1510,1424,1462,1958,2323,2191,2035,1657,1380,1462,1587,1763,1677,1420,1454,1616,1524,1497,1580,1403,1408,1363,1277,1465,1543,1478,1494,1736,1986,1802,1724,1924,2363,2230,1723,1922,2217,2062,1891,1888,1633,1598,1532,1384,1512,1571,1649,1506,1604,1723,1738,2715,2636,2329,2407,2204,2024,2154,2546,2663,3417,3615,3171,2446,2020,2142,2591,3050,3631,3197,2365,2170,2177,2081,2415,2718,2586,2243,2311,2710,2824,2884,2536,2004,1803,2092,2262,2019,2181,2058,1703,1695,2197,3055,3617,3868,3805,3793,3508,2812,2094,2149,1855,2213,2250,2357,2567,2744,2250,2136,2194,1937,2088,2251,2161,1998,2842,3055,2521,2434,2234,2168,2321,2220,2347,2585,1950,1866,2692,3271,3062,2898,3213,3184,2667,2033,2475,3274,3264,2553,2807,3120,3096,4074,3318,2661,2416,2412,3381,3827,3199,3111,3129,3277,3695,3178,3100,2772,2508,2522,2910,2784,2356,2132,2058,2325,2855,3429,3449,2884,2519,2435,2894,3111,2996,2534,2255,2530,2204,1977,2640,3022,2739,2591,2727,2586,2750,2862,2633,2938,3217,2939,2750,2792,3077,2710,2235,2476,2148,2010,2002,1876,1558,1584,1747,1816,1950,2080,1668,1489,1688,1662,1665,1975,1972,1644,1559,1909,1848,1945,2143,2010,1904,1880,2108,2315,2547,1671,1721,2454,2510,1708,1869,2596,2999,2900,2486,1879,1699,1780,1821,1893,1818,1780,1431,1506,1564,2030,1993,2249,2674,2123,1794,1940,2111,2354,2358,2142,2172,1867,1489,1431,1599,2031,2136,1954,1832,1924,2004,1797,2534,2475,2310,2258,2144,2320,2798,2898,2853,3151,2795,2664,2298,1681,1602,1632,1548,1426,1362,1398,1477,1439,1389,1425,1447,1449,1633,1804,1706,1758,1954,1849,1777,1710,1728,2048,2024,1833,1749,1897,1808,1920,2002,2024,1552,1524,1453,1907,2055,1754,1821,1783,1782,1985,2101,2278,2293,1928,1881,1996,1845,1846,1735,2019,2253,2011,1804,1541,1511,1676,1658,1838,1893,2022,1854,2163,2192,2030,1802,1668,2149,2055,1636,1742,1931,1982,1947,1874,1727,1744,2047,2216,2855,3709,3559,2844,3354,4040,3532,2859,2491,2217,1853,1779,1685,1668,1743,1682,1845,2526,2552,2493,2770,2999,3332,3437,2554,2020,2389,2177,1801,2165,2419,2085,2191,2468,2100,1872,2247,2235,2054,1864,1811,2284,2835,2996,3020,3124,2753,2733,2996,3540,3174,2590,2061,2266,2591,2077,1808,2242],[2430,2455,2614,2221,2732,3294,2871,2155,2302,2280,2206,2471,2312,2345,2438,2469,2600,2091,1829,2030,1896,1850,2387,3548,4518,4420,4111,4292,4011,3261,3317,3450,3787,3654,3659,3673,3881,3763,3818,3773,3841,3889,3850,4040,4168,4127,4184,4092,3906,4063,4264,3359,2185,2064,2634,2630,2559,2301,2066,2087,2112,1696,1943,3094,3354,3240,3116,2597,2417,2534,2603,2719,2586,2518,2227,1984,2241,2093,2088,2752,2764,2378,2811,3135,2554,2706,3310,3007,3519,3609,3285,3396,2789,2320,2073,1819,1507,1804,2876,2469,2074,2440,2812,1865,2082,2253,1928,1911,1995,1961,1840,2011,2405,2405,1942,2455,2374,2298,2330,2373,2745,2889,2486,2623,2855,3216,3336,3414,3671,3527,3254,2584,2286,2054,1794,1978,2024,1971,2077,1648,987,1100,1295,1349,1537,1695,2133,2120,2337,2077,2054,2122,2319,2214,2138,2398,2208,2187,2159,2077,2410,2471,2288,2142,2004,2029,2274,2224,1776,2036,2398,2325,2243,2119,2015,2124,2270,2314,2243,2150,2307,2447,2446,2520,2392,2070,1949,2075,2037,1824,1684,1953,1723,1660,2060,2183,1976,1908,1874,1709,1745,1754,1771,1745,1758,2215,2392,2282,2196,2198,1917,1731,1990,2113,2403,3087,2764,2202,2381,2142,2381,1997,2108,2592,2448,2544,2644,2768,2472,2157,2327,2525,2236,2064,2071,2217,2379,2922,3440,3595,2952,2249,2432,2861,2816,2865,3076,3112,3154,3306,3525,3348,3292,3550,3718,3168,2521,2995,3646,3384,2755,2710,2633,1864,1566,2298,3486,3507,2698,2500,2443,2489,2063,1677,1908,1729,1410,1689,1764,1574,1685,1715,1854,2828,3104,2398,2176,1821,1552,1830,2489,2768,2321,2010,2063,1889,1869,2154,2001,2686,2898,2831,3077,3132,2800,2590,2176,2284,3416,3526,2618,2415,2540,2608,2713,3331,2544,2750,2869,2456,2673,2867,2492,2481,3053,2660,1765,1521,2062,2510,2131,1984,2644,2677,2169,2208,2461,2334,1947,2051,2425,2557,2021,1951,2137,2251,2139,1767,1423,1886,2210,2159,2352,2282,1968,1655,1678,2711,3132,2481,2496,2742,3120,3466,3040,2733,2568,2562,2494,2183,2081,2701,2393,2338,2929,2737,2389,3154,3738,2742,2300,3415,3052,2641,2510,1775,1824,2177,1926,1926,2314,2573,2745,2740,2568,2088,1659,1713,1914,2237,2370,2563,3072,3632,3451,3097,3282,3340,2817,2636,2747,2712,2788,2413,2759,3244,3384,2943,2511,2328,2685,2797,2565,1988,2220,2792,2790,2983,2433,1050,1582,2449,2285,2020,2440,2853,2617,2219,1801,2077,2306,1985,1909,1686,2005,2406,2487,2207,2061,1920,2374,2803,2584,2691,2543,2518,1839,2149,2702,2829,2811,3056,3541,3316,2713,2429,2609,2668,2634,2802,2714,2311,2128,2284,2800,3132,3187,2841,2701,2738,2185,2053,2343,2058,1802,2088,2392,2508,3362,3540,3400,4036,3906,3062,2993,2949,3277,3682,4100,4208,4220,4175,4373,4376,4141,3854,3625,3792,4078,3444,3190,3284,2504,2299,2630,3091,2873,2540,2425,2060,1729,1741,1687,1676,1901,2382,1860,1600,1418,1537,1401,1493,1484,1439,1513,1401,1378,1343,1558,2545,3662,3562,3608,3804,3953,3496,2324,1899,2130,2220,2482,2428,2287,2313,2254,1926,2032,2186,2051,2270,2291,1801,1361,1117,1290,1819,1920,2354,2620,2879,2263,1754,1680,1671,1739,1956,2333,2753,2867,2668,2308,1724,1379,1314,1416,1227,1640,2182,2807,2787,2248,2907,3728,3353,2157,1486,1603,1624,1636,1855,1892,1547,1417,2121,3432,4230,4365,4500,4476,4324,4292,4340,4429,4384,4572,4761,4629,3939,2788,1947,1966,2523,1903,1805,2020,1836,1767,1603,1363,1399,2230,2288,2168,2564,2349,1649,1528,1498,1541,1675,1639,1549,1442,1431,1453,1412,1287,1234,1382,1629,1484,1276,1467,1470,1390,1396,1372,1682,1976,2173,2431,1802,1476,1354,1388,1401,1426,1439,1553,1542,1449,1382,1588,1570,1497,1529,1635,1969,1692,1593,1674,1448,1457,1489,1399,1647,1865,1769,1510,1772,1952,1733,2170,2332,2477,2024,1990,2121,2153,2178,2033,2166,2253,1824,2185,2432,2036,1627,1494,1748,1774,1597,1687,1930,1738,1718,1911,1884,2255,2140,2002,955,650,935,1025,1457,1550,1511,1686,1516,1924,3380,3662,3513,3377,2719,2669,3260,3284,2971,2764,2735,2507,2275,2115,2112,2424,2843,3223,2619,2193,1995,2146,2245,2486,2254,2416,2484,2585,1793,1426,2554,2424,2244,2830,2633,3303,2935,2065,2001,2244,2450,2290,2344,2681,3597,3514,3586,3530,2893,2249,1963,2360,3098,2900,2496,2354,1733,1810,1921,2067,2508,2508,2153,1908,2060,2744,2494,1941,2622,2446,2252,2456,2749,3463,3563,2463,1744,1763,2063,2323,2275,2278,2427,2815,3176,2761,2286,2556,3087,2688,2477,2975,2761,2329,2077,1736,1869,2038,2280,2108,1331,1367,2564,3572,3726,3189,2258,1830,1742,1997,2614,2850,2433,2555,2903,3075,3189,3054,2321,1852,1875,2032,2490,2624,2203,2126,1956,1726,2232,2236,2300,2662,3194,3089,1995,1113,1121,1830,2080,2002,3145,3031,1797,1702,2041,2079,2115,2263,3292,3812,3342,2416,2267,2831,2698,2255,1881,1740,1687,1615,1555,1512,1525,1512,1536,1573,1506,2231,3939,4343,3305,2551,2122,1443,1020,1142,1839,2522,3618,4233,3665,2689,2542,2834,2353,2228,1906,1504,1635,1934,2132,1997,2040,2301,2142,2066,2534,2876,2832,3728,4554,4737,4884,4853,4604,4432,3947,3726,3604,3513,3397,3130,3526,4356,4321,3863,3890,4282,4308,3228,2813,3275,3801,4424,4298,3219,2394,2475,2697,2662,3415,4149,3499,2436,2508,2699,2441,2263,2083,1996,2045,1993,1788,1660,1517,1501,1365,1632,1825,1695,1993,2105,2165,2578,2194,2040,1764,1731,1938,1723,1777,1879,1818,1865,1716,1555,1785,2079,2175,2287,1826,1714,1685,1687,1748,1592,1364,1407,1651,1749,1628,1493,1606,1414,2391,3564,3212,2556,2467,2710,2412,2388,2302,1811,1373,1677,1532,1613,1841,1680,1614,1869,1678,1576,1898,1877,1864,2037,2419,2561,2345,1714,1655,1575,1362,2302,2677,2184,1891,1607,1220,1135,1540,2094,1695,1471,1484,1480,1409,1393,1367,1388,1359,1326,1253,1253,1338,1352,1392,1362,1344,1475,1489,1329,1493,1463,1630,1736,1632,1424,1068,1274,1690,2095,1814,1256,1420,1751,1602,1494,1610,1665,1606,1645,1608,1696,1911,1791,1581,1531,1704,1749,1678,1563,1413,1394,1813,1835,1538,1488,1508,1500,1711,1633,1788,2788,2689,2551,2911,3320,3486,3193,2921,3261,3826,3231,3005,3393,3532,2503,1476,1271,1301,1317,1504,1832,1875,1659,2233,2304,2087,1925,2045,2288,2380,2600,2331,2224,2192,1775,1807,2180,1671,1455,1377,1336,1446,1604,1909,2315,2104,1526,1716,1939,1653,1710,2057,2013,2014,1837,1555,1782,1973,1942,1754,1715,1945,2154,2476,3053,3131,2680,2314,2387,2401,2350,2309,1894,2145,2106,2134,2546,1887,2023,2337,2260,2166,2113,2418,2370,2208,2006,2107,2397,2312,1862,1885,1845,1855,2044,2098,2420,2233,1681,1876,2397,2663,2721,2444,2209,2375,2453,2270,2154,2383,2565,2324,2154,2146,2842,3352,3531,3565,3422,3583,3714,3892,4263,4426,4432,3682,2506,2079,2156,2297,2043,1728,1936,1875,1686,1924,2137,1622,1787,2125,2166,1850,1964,2155,2323,2622,2367,1507,1609,1930,1931,1454,1334,1527,1469,1742,1843,1791,1694,1461,1614,1771,2257,3013,3076,2728,2712,2233,1796,1480,1354,1551,1692,1600,1390,1399,1472,1457,1986,2404,2066,1838,1675,1998,2413,2209,1751,1525,1532,1660,1653,1532,1518,1403,1390,1500,1691,1652,1568,1550,1569,1612,1603,1658,1727,1881,1924,2152,1898,2077,2333,2568,1996,1573,1782,1844,1749,1537,1421,1409,1345,1413,1812,1650,1534,2170,2632,2310,2260,2286,1836,1677,1568,1704,2464,3278,3420,3332,3097,2656,2424,2836,3566,3971,3344,2046,1946,2586,2229,1865,1699,1713,1688,1980,2142,2244,2210,1865,1828,1392,1218,1449,1925,2164,1970,1809,1781,2411,3344,3869,3851,3558,3119,2210,1800,2093,2311,2009,2383,2785,2600,2174,2158,1992,1897,2419,2433,2111,2271,2078,1925,2466,2843,2997,3041,2754,2523,2767,2578,2265,2204,1793,1712,2696,3234,2744,2817,3430,3016,2460,2419,2640,3221,3287,2408,2448,2374,2752,3894,3184,2324,2187,2111,2919,3513,3009,2999,3105,2965,3385,2911,2884,2881,2542,2577,2764,2471,2387,2349,2581,2721,2511,2841,2875,2934,2599,3002,2900,2670,2583,2641,2764,2411,1985,2093,2367,2798,2590,2689,2624,2869,2759,2019,1824,2385,2540,2685,3194,3301,2595,2288,2563,2204,1830,1802,1843,1815,1848,1787,1910,1920,1945,1981,1618,1569,1615,1496,1502,1657,1932,1787,1429,1439,1559,1872,2104,2103,2116,2118,1986,1776,1738,1654,1769,2333,2151,1586,1757,2007,2002,2106,2072,1717,1864,1739,1747,1880,1670,1572,1450,1361,1457,1687,1818,2216,2414,2509,1917,2018,2155,2307,2137,2160,2499,2071,1609,2025,2652,2492,2565,2169,2021,2114,2041,1664,2113,2181,2343,2310,2243,2518,3032,2757,2108,2444,2364,2188,1648,1552,1526,1490,1386,1397,1450,1475,1551,1546,1430,1442,1415,1482,1629,1719,1964,2447,2859,2633,2105,1690,1490,1426,1498,1562,1975,1837,1562,1685,1629,1605,1729,1760,1594,1774,1587,1331,1559,1377,1632,2596,2868,3013,2767,2305,2031,1825,1665,1703,1617,1552,1923,2172,1924,1628,1619,1711,1809,1767,1618,1724,1907,2156,2260,1984,1628,1642,1724,1564,2084,2543,2702,2676,2091,1620,1807,2175,2201,2526,3473,3580,3234,3234,3364,3386,2716,2177,2021,1788,1776,1859,1745,1766,1838,1703,2293,2418,2499,2909,3389,3458,3430,3366,2743,2052,2138,1869,1638,1870,2197,2214,2330,2541,2093,1957,1926,1865,2237,2283,1938,2305,3041,3108,3098,3542,3176,2849,2732,2963,3049,2630,1855,1775,2025,1800,1944,2129],[2546,2197,1903,1897,2759,3116,2620,2000,1983,2032,1808,1980,2133,2621,2651,2857,2736,2420,2358,2194,1887,2041,2216,2590,3480,3852,3933,3952,3710,2873,3195,3448,3695,3859,3945,3960,3681,3574,3697,3374,3391,3560,3824,3790,3971,4057,4148,3986,3708,4132,4228,3143,1935,1750,2148,2225,2383,2042,1852,1881,1898,1869,2023,2795,3100,2864,2766,2402,2221,2032,2218,2576,3154,3356,2978,2670,2426,2197,2654,3118,2846,2709,2931,2986,2784,2928,3203,2792,2721,2880,2920,2584,2198,2276,2040,1937,1707,1824,2928,2637,1886,1826,1858,1586,2396,2587,2189,1982,1828,1988,2042,1792,2113,2575,2306,3204,2302,1556,1999,2564,3213,2980,2376,2463,2733,3068,2739,2996,2699,2385,2308,1930,1981,1791,1709,1887,1986,1963,1876,1654,1287,1494,1556,1193,1372,1610,1765,1856,1970,2170,2280,2172,2171,2114,2191,2207,2248,2261,2365,2334,2266,2213,2132,2153,2174,2147,2187,2083,1709,1971,2083,1725,1749,1875,1984,2122,1972,1735,1825,1912,1887,1919,1824,1870,1836,1874,1942,1970,1969,1881,1851,1920,1927,1858,2033,2267,2093,1885,1919,1615,1650,1766,1903,1521,1708,2311,2248,2012,1912,1903,1887,1904,2048,2222,2470,2910,2645,2502,2500,2380,2481,2340,2508,2685,2309,2406,2635,2824,2447,2070,2228,2324,2253,2583,2712,2552,2492,2834,3016,3438,3256,2895,3041,3173,3247,2834,2435,2811,3062,3133,3494,3411,3338,3365,2676,2182,2388,3153,3803,3182,2636,2785,2398,1812,1694,1723,2796,3365,3296,2463,2336,2422,1986,1596,1574,1609,1641,1964,2207,1859,1716,1588,2414,3588,3659,2487,1976,1808,1764,2229,2777,2709,2083,1863,1996,1986,1939,2197,3033,3585,3229,2813,2537,2512,2651,2389,2389,2812,3352,2977,2454,2181,2282,2231,2596,2832,2552,2597,2635,2867,2192,2169,2396,2279,3061,2396,1685,1674,2511,2890,2297,2130,2702,2679,2465,2319,1880,1927,1972,1818,2122,2142,1652,1706,1829,1797,1959,1809,1800,1957,1849,2246,3120,2261,1798,2125,2149,2673,2775,2152,2235,2307,2817,3626,3016,2273,2298,2829,2920,2208,2338,2608,2315,2369,3128,3476,3162,3110,3185,2009,2193,3129,2701,3121,2997,2054,1820,1746,1824,2369,2502,2818,3491,3315,2984,2108,1698,1814,2172,2396,2177,2255,2642,3021,3334,3326,3131,3030,2591,2457,2746,2752,2785,2415,2152,2622,2431,2399,2519,1697,1898,2185,2288,1853,1858,2718,2784,2894,2584,1901,2214,2708,2143,1932,2507,2566,2396,1953,1706,2132,2821,2702,2494,2308,2242,2527,2781,2718,2464,2335,2497,2874,2278,1973,2007,2274,1872,1890,2160,2177,2105,2189,1952,1948,2040,2348,2420,2040,1914,2149,2321,2588,2778,2740,2689,3102,3326,2201,2188,2676,2475,2589,3086,2647,2208,2641,2878,2942,3672,3650,3560,3684,3851,3330,3628,3692,3739,3890,4006,3728,3458,3674,4152,4171,3531,2963,2873,3474,3743,3206,3271,3244,2962,3021,3357,2730,1950,2046,2081,1849,1506,1524,1656,1736,1912,2380,1977,1576,1438,1469,1408,1404,1397,1377,1511,1433,1410,1418,1513,2095,3272,3498,3509,3785,3775,2896,1925,2080,2395,2632,2218,1847,1776,1841,1951,1754,1872,1863,1832,1997,1780,1287,1398,1394,1406,2182,2306,2571,2531,2702,2530,1979,1681,1764,1702,2132,2373,2349,2236,2203,2125,1856,1716,1602,1664,1558,1600,2085,2448,2043,2032,2300,2547,2636,2018,1670,1481,1623,1952,2171,2057,1905,2540,3707,4384,4443,4499,4568,4291,4211,4396,4475,4475,4531,4776,5088,5200,4909,3732,2341,1606,1982,1482,1706,1674,1711,1889,1848,1302,1168,1596,1822,2238,2147,2194,1787,1655,1576,1510,1431,1420,1641,1623,1492,1493,1557,2028,2018,1829,1890,1520,1369,1456,1520,1203,1257,1399,1511,1724,1682,2121,1827,1575,1466,1363,1533,1650,1531,1439,1535,1522,1577,1794,1748,1470,1335,1641,1648,1742,1635,1538,1475,1508,1522,1456,1520,1624,1692,1665,1812,1756,1658,2172,1974,2163,1850,1743,2056,1860,2081,2126,2370,2283,1937,2225,1945,1996,1960,2120,2036,1758,1592,1622,1765,1652,1706,2023,2047,2257,2293,2084,1148,917,1385,1448,1622,1715,1227,1604,1690,1663,3099,3937,3963,3607,2993,2507,2740,3372,3185,2790,2760,2221,2517,3003,2980,3283,3353,3215,1951,1592,1704,1416,1931,2276,1798,2048,2066,2343,1792,1874,3078,2569,2382,2784,2270,2366,2492,1958,2463,2623,2786,2275,2306,2548,3481,3636,2939,2137,2022,2046,1820,2303,2454,2790,2590,1982,1855,2020,1882,2128,2341,2424,2074,1786,1989,2767,2868,2706,2909,2780,2593,2358,2351,3216,3916,3156,2214,2164,2836,3498,3024,2712,2710,3050,3343,3348,2599,2592,2987,2786,2710,2868,2866,2887,2585,2308,2340,1945,2097,2136,1584,1236,2019,3019,3437,3104,2448,2030,1927,1878,2003,2596,3098,3348,3112,2532,2348,1960,1830,2269,2048,2013,2596,2566,2049,2078,2200,2264,2227,1723,1250,1252,2287,2874,2193,1316,1021,1524,2258,2255,3184,3175,2080,2138,2985,2644,2303,2127,2835,3677,3470,2626,2591,3077,2931,2463,1950,1755,1683,1604,1555,1503,1491,1500,1476,1489,1505,1945,3536,4320,3560,2898,2385,1635,1023,1068,1860,2602,3399,4248,3884,2569,2215,2491,2243,2175,1538,1406,1653,1684,2232,2265,1858,2089,1964,1968,2266,2323,2599,3363,4164,4475,4695,4816,4852,4780,4728,4361,3861,3875,3340,2950,3145,3801,3864,3875,4035,4165,4372,3980,3763,3999,4239,4535,4272,2832,2689,3486,3318,2853,3707,3768,2562,2453,2888,2806,2640,2510,2451,2899,2619,2094,1894,1866,1752,1476,1644,2011,1781,1423,1860,2520,2840,2819,2621,2159,2250,1964,1745,1880,2294,2193,1677,1902,1937,1880,1880,1844,1627,1726,1789,1789,1705,1478,1412,1683,1759,1584,1508,1574,1798,2041,1824,1603,3003,3883,3485,2470,2379,2469,2209,2139,1862,1609,1511,1710,1548,1571,1656,1475,1720,1778,1654,1998,1989,1476,1179,1389,2364,2631,2520,2226,1993,1529,2012,2304,1822,1766,1701,1159,1146,1614,2138,2334,1856,1743,2036,1697,1627,1616,1372,1486,1472,1357,1405,1486,1622,1841,1688,1548,1602,1591,1526,1418,1323,1464,1694,1772,1698,1436,1144,1608,2729,2736,2189,1816,1469,1710,1842,1593,1668,1870,1769,1466,1459,1613,1448,1532,1606,1575,1904,2102,1903,1629,1555,1652,1573,1407,1490,1509,1838,1739,1660,1544,2120,3218,3075,2454,2449,2829,3053,3135,2865,3320,3902,3820,3550,3884,4441,3544,1919,1223,1272,1272,1345,1547,1896,1578,1797,2053,1980,1735,1884,2222,2455,2365,2268,2322,1958,2002,2106,2364,1710,1612,1592,1500,1395,1604,1718,1681,1590,1394,1713,1808,1825,1751,2024,2069,2159,1943,1623,1722,1780,1789,1738,1681,1645,1734,2019,2600,2652,2482,2243,2096,2094,2017,2055,2283,2487,2418,2868,3222,2227,1611,1605,1926,1997,2112,2626,2441,2114,1992,1638,1802,2273,2226,2401,1938,2033,2231,2173,2171,1759,1738,2443,2777,2800,2907,2520,2330,2373,2153,2145,2190,2337,2375,2131,2344,2348,2156,2506,2967,3378,3467,3334,3327,3792,4233,4475,4475,3791,2558,1952,1969,1782,1562,1751,1986,1741,2613,2591,1845,1815,2054,2274,2415,2282,2192,1964,2235,2974,2687,1945,1798,2229,1920,1626,2189,2393,1715,1470,1553,1980,2094,1610,1647,1692,1687,2392,2745,2548,2754,2601,1936,1485,1490,1416,1372,1404,1320,1366,1542,1429,1541,1868,1903,2113,1966,1946,2277,1980,1489,1497,1608,1726,1832,1798,1555,1421,1449,1517,1758,1592,1350,1497,1640,1736,1808,1609,1853,1909,2242,2123,2023,2378,2557,2047,1384,1544,1659,1555,1768,1614,1696,1797,1794,1684,1837,1573,1560,1661,1488,1654,2060,2297,1772,1671,1540,1373,2036,2873,3205,3376,3288,2970,2835,2980,3465,3742,3325,2590,2755,2460,2083,2055,1635,1530,1688,1718,1616,1543,1464,1672,1842,1434,1416,1652,2026,1945,1886,2146,2536,3011,3370,3286,3263,3104,2464,1930,1919,2349,2331,1971,2081,2833,2846,2097,1965,1995,2371,2688,2252,1997,1953,2259,2329,2342,3022,3484,3219,2807,2625,2832,2470,2235,2220,2083,2106,2714,3137,2979,3199,3250,2554,1990,2160,2480,2558,2514,2051,1993,2236,3040,3028,1973,2003,1891,2048,3293,3540,3032,3153,3138,2696,2587,2583,2609,2624,2343,2465,2693,2533,2355,2139,2785,2728,2432,2656,3142,3017,2809,2817,2679,2745,2965,3018,2708,2104,1771,2236,2244,2442,2420,2537,2630,2544,2126,1943,2123,2300,2193,2554,3143,3020,1886,1653,1998,1793,1751,2430,2399,1838,2002,2142,2167,2180,2146,1924,2050,1848,1569,1516,1574,1609,1812,1738,1305,1336,1716,1716,1855,1887,1917,2268,1836,1562,1559,1687,1763,1906,1995,1744,1790,1910,1715,1730,1605,1498,1587,1827,1716,1595,1634,1616,1444,1331,1515,1572,1691,2157,2163,2412,1857,1728,1869,2082,1894,1970,2393,2258,2340,2806,2925,2454,3125,2498,1962,1760,1746,1737,1806,1775,1937,2094,2326,2658,2449,2232,2197,2024,1714,1704,1659,1572,1503,1477,1497,1474,1529,1513,1478,1426,1510,1577,1592,1556,1532,1555,2082,2539,2520,2220,1882,1585,1483,1499,1622,1686,1454,963,1054,1538,1739,1867,2085,1722,1446,1829,1747,1498,1647,1367,1361,2393,3238,3394,2661,1903,1882,1814,1587,1640,1643,1559,1749,1832,1695,1873,2036,1688,1656,1797,1541,1538,2189,2402,1904,1530,1550,1669,1732,1844,2272,2361,2034,1853,1636,1656,1968,2216,2447,2829,3415,3414,3254,3085,2452,1888,1859,2226,2033,1610,1769,2167,2148,1866,1892,2098,2108,2134,2645,2989,3391,3710,3628,3514,3221,2504,2200,1682,1898,2149,2212,2416,2663,2964,2678,2352,2357,2286,2458,2487,2295,2459,3140,2985,3302,3585,3541,3163,2827,2855,2750,2302,1806,1838,1874,1530,2166,2640],[2048,1574,2047,2074,1851,1809,2119,2259,2044,2056,2252,2080,2337,3053,3209,3100,2813,3047,2863,1952,1621,1969,1904,2154,2947,3652,4169,4082,3978,2951,3257,3407,3614,3981,3990,4096,3737,3557,3531,3146,3400,4058,3915,3518,3564,3862,3972,3772,3563,3813,4107,3177,2059,1929,2364,2203,2233,2088,1841,1852,1938,2112,2137,2313,2480,2471,2511,2544,2260,2155,2678,2497,2410,3125,3477,2995,2163,2031,2765,3101,2973,2919,2735,3110,3144,3343,3498,3021,2561,2561,2963,2735,2335,2376,2265,2462,2082,2444,2976,2326,1891,1571,1692,2193,2421,2258,2336,2161,1823,2045,1983,2041,2078,2416,2676,2729,2004,1707,2135,2590,2719,2285,2078,2256,2543,3065,2696,2523,2153,1947,1569,1443,1758,1908,1911,1837,1772,1670,1554,1487,1572,1838,1833,1854,2015,1861,1757,1869,2082,2260,2473,2532,2388,2522,2642,2647,3078,3282,3486,2721,2031,2113,2238,2454,2454,2158,2028,1884,1478,2016,1957,1731,1740,1822,1910,2008,1955,2083,1923,1615,1698,1931,1905,1789,1726,1955,2245,2316,2279,2251,2115,2163,2099,1884,2015,2016,1919,1929,1884,1798,1778,1848,1889,1750,1991,2223,1846,1951,2014,2062,2214,1804,1813,1910,1937,2060,2066,2099,2210,2210,2164,2210,2200,2209,2155,2502,2635,2652,2092,1928,2252,2433,2474,2521,2995,3091,2666,2770,2259,2635,2877,2619,2735,2685,2435,2272,2186,2451,2844,3166,3206,3125,2868,2434,1621,1864,2168,2281,2513,2773,3019,3010,2355,2307,2468,1758,2069,2559,2408,1769,1869,2088,1858,1532,1472,1534,1937,2056,2402,1766,1616,1566,2923,3619,3190,2263,1955,1749,1694,2209,2431,2308,1956,1679,2267,2575,2458,2557,3630,4063,3132,2244,2036,2331,2756,2408,2645,3311,3542,2789,2415,1799,1809,2264,3131,3162,2616,2351,2589,3066,2013,1846,2132,2419,2241,1504,1438,1382,1677,2167,1960,1969,2052,2357,2389,2245,2267,2220,2132,2041,2287,2253,2200,2283,1921,1673,1842,1713,1697,1306,1555,2093,2577,1980,1916,2523,2366,2198,2112,2075,2411,2304,2453,2920,2721,1831,1760,2122,2270,2418,2376,2302,2223,2283,2709,3132,2700,2253,2059,1973,2831,2625,2652,3186,2600,1772,1646,1575,1847,2492,2745,3508,3395,3206,2345,1791,1776,2027,2593,2445,1929,1894,2499,2664,2503,2500,2623,2945,2575,2376,2808,3150,3086,2614,2432,2596,2130,2114,2105,1747,1914,1864,2481,2796,2790,2756,2757,2778,2785,2916,2910,2780,2200,1930,2359,2475,2089,1797,1830,2697,3352,2815,2316,2340,2684,3090,3275,2996,2719,2776,2956,2727,2235,2218,2604,2545,1916,1728,1961,1866,1928,1828,1486,1861,2040,2722,2605,2078,2111,2383,2544,2711,2750,2305,2249,2743,2663,1393,2049,3006,3243,2930,3187,3166,2595,2692,2957,3354,3564,2945,3272,3521,3303,3373,3572,3593,3349,3164,3052,2885,2853,3295,3907,3851,3315,3038,2812,3248,3698,3760,3620,3660,3699,3654,3131,1953,1692,1950,1906,1981,1782,1659,1781,1825,1882,2010,1791,1511,1433,1483,1525,1582,1378,1314,1426,1334,1304,1468,1541,2013,3186,3748,3682,3839,3288,2322,1968,2279,2489,2788,2340,1949,1571,1452,1698,1715,1671,1623,1620,1878,2030,1705,1608,1936,2270,2276,2567,2955,2596,2497,2514,2180,1862,2136,1992,2156,1777,1782,2116,2330,2546,2718,2520,2212,2240,2061,1863,1851,2107,1937,2208,2154,2212,2119,2034,2028,1729,1583,1826,1987,2048,2533,3739,4294,4564,4564,4640,4547,4408,4240,4095,4151,4384,4426,4628,4920,5177,5265,4885,3271,1944,1613,1596,1754,1726,1690,1981,2144,1238,1020,1444,1699,2178,1902,1638,1542,1609,1683,1785,1575,1594,1829,1852,1473,1489,1733,3285,2989,2822,2385,1818,1642,1577,1614,1349,1504,1899,1956,1904,1964,2352,1789,1559,1530,1420,1463,1501,1639,1758,1639,1571,1433,1579,1946,1542,1470,1506,1424,1786,1662,1530,1624,1481,1533,1533,1707,1646,1576,1655,1829,1708,1976,2364,2044,2110,2157,1733,2062,1898,2539,1926,2554,2059,1806,2104,1995,2043,2195,1875,1753,1728,1636,1632,1838,1838,1693,1760,1943,2408,2338,2244,1568,948,1435,1619,1693,1816,1375,2135,1986,2047,3425,3764,3708,3504,2872,2540,3074,3573,3160,2330,2457,2385,3182,3695,3948,4082,3765,3348,2193,1329,1454,1368,1572,2051,1881,2460,2279,2512,2083,2620,3077,2432,2024,2249,2306,2059,2364,2379,2426,2156,2419,2799,2589,2430,3029,2924,1978,1775,2685,3056,2662,2653,2093,2769,2546,1692,1985,2044,1788,2203,2858,2907,2850,2630,2193,2890,2814,3484,3094,3012,2833,2418,2490,3119,3813,3287,2475,2930,3249,3356,3530,3274,2979,2630,2844,3407,3083,2514,2315,2312,2272,2308,2673,2751,2242,2357,2545,2314,2398,2264,1615,1295,1715,2422,3196,3015,2785,2467,1940,1865,1951,1844,2214,2990,3252,2477,2294,2458,2298,2311,2076,2189,2155,2732,2811,2802,2267,2155,2012,1879,1571,1087,1310,2149,2421,1655,1034,1145,1844,1846,2554,2940,2600,2549,3440,3715,2746,2349,2855,3408,3638,2785,2576,3032,3028,2576,2027,1768,1666,1580,1537,1528,1527,1553,1611,1637,1636,1846,3375,4144,3383,2769,2430,1910,1442,1361,1814,2098,2856,3956,3287,2190,1979,2833,2818,2431,2037,1975,2079,1988,2109,1826,1685,1855,2194,2047,2247,2198,2695,3143,3407,3692,3941,4461,4728,4681,4740,4664,4631,4489,3864,3676,3405,3026,2766,2770,2539,2636,3809,4224,4416,4408,4289,3792,3515,2473,2901,3979,3342,2365,2830,2786,2552,3203,3261,3260,3046,2639,2269,2957,3184,2870,2576,2208,1639,1583,1892,1983,1720,1879,2698,2808,2730,2342,2207,2237,2621,2415,2239,2229,2176,2161,1920,2342,2079,2029,1908,1837,1857,1842,1847,1891,1683,1098,1063,1544,1690,1749,1749,1411,1454,1870,1454,2001,3299,3640,2947,2222,2435,2281,2085,1762,1417,1384,1636,1600,1456,1444,1522,1726,1758,1710,2008,2235,2214,1555,1198,1254,1979,2523,2358,1909,1433,1914,2543,2071,1708,1482,1305,1427,1364,1719,2087,2098,1989,2586,2903,2171,1832,1651,1547,1654,1615,1657,1646,1634,1824,1865,1724,1743,1700,1684,1748,1676,1620,1750,1866,1781,1828,1329,1414,1799,2472,2140,1742,1651,1490,1580,1459,1439,1463,1581,1629,1356,1504,1879,1519,1555,1720,1728,2019,2191,1575,1604,1831,1639,1330,1399,1433,1368,1553,1501,1440,1400,1848,2687,2997,2807,2360,2254,2836,3059,2439,2921,3342,3680,3860,4016,4617,4128,2387,1407,1340,1285,1275,1250,1556,1651,1568,1801,2046,2167,1871,1987,2326,2156,2194,2255,2329,2356,1988,1891,1814,1714,1665,1598,1601,1686,1509,1587,1420,1390,1459,1538,1642,1938,1934,1775,1854,1634,1526,1782,1833,1768,1953,1811,1590,1550,1733,2198,2024,2563,2830,2543,2343,2136,2532,2778,2331,2412,2548,2387,1615,1364,1569,1746,1903,1925,2183,2397,2184,2041,1844,1553,2120,1767,1659,1693,2104,2259,1944,1835,1909,2041,2310,2750,2727,2690,2916,2710,1932,1963,2025,1575,2069,2806,2394,2033,2140,2026,2485,3377,3442,3330,3334,3238,3109,3603,4062,3977,3488,2353,1713,1744,1676,1520,1642,1898,1837,2247,1960,1841,2171,2225,2329,2444,2452,2270,1753,1998,2415,2286,2288,1987,2118,1762,1337,1787,1997,1772,1960,1757,1674,1826,1740,1860,1913,1956,2008,2090,2688,3411,3133,2101,1533,1596,1264,1186,1265,1544,1562,2090,1697,1353,1392,2351,3198,2320,1621,1559,1494,1672,1631,1453,1446,1795,1998,1828,1574,1570,1551,1516,1576,1354,1511,1762,2237,2098,1638,1726,1899,1969,1777,2008,2244,2272,1750,1536,1776,1698,1512,1561,1649,1882,1933,1641,1542,1705,1631,1573,1676,1519,1621,1825,1829,1681,1586,1532,1533,1813,2134,2812,3261,3012,3263,3254,2478,2414,2131,2701,2644,2699,2364,2090,2078,1927,1596,1492,1424,1554,1706,1643,2188,2256,1917,1659,1503,1591,1797,1926,2462,2896,3383,3518,3382,3195,2956,2422,1915,1776,1751,1796,1713,1933,2958,2989,2386,2142,2210,2406,2001,1717,1990,2070,2527,2338,1990,2502,3079,2632,2239,2123,2083,2468,2104,2026,1932,1883,2283,2601,2849,2942,2829,2292,1583,2163,2354,1907,2273,2124,2540,3164,3505,3085,2289,2610,2018,2108,3218,2734,2517,2933,2836,2482,2553,2784,3063,3343,2690,2519,2757,2820,2322,2013,2931,2787,2653,2899,2952,2718,2405,2461,2720,3053,3099,2745,2705,2574,2272,2272,2496,2338,2453,2723,2791,2666,2458,2376,2402,2059,2004,2498,2871,2257,1833,1949,1963,1780,1615,2270,2489,2115,2127,2198,1874,1982,2002,1914,1766,1722,1620,1630,1815,1784,1699,1591,1601,1948,1925,1743,1807,1658,1712,2001,1549,1520,1654,1533,1501,1811,1929,1772,2090,2166,1857,1974,1721,1444,1355,1556,1669,1698,1718,1748,1555,1557,1589,1766,1854,1972,1871,1885,1716,1567,1780,2150,1854,1886,2265,2413,2476,2819,2330,2170,2775,2540,2118,2043,1972,1714,1556,1606,1974,1982,2370,2035,2028,2192,2302,1816,1507,1731,1808,1795,1618,1496,1592,1504,1490,1412,1358,1373,1736,2076,1849,1474,1476,1784,2327,2493,2089,1573,1521,1477,1524,1726,1904,2058,1759,1269,1228,1872,2172,1970,2098,1527,1228,1970,2066,2271,2209,1588,1344,2238,3120,2947,1937,1614,1759,1687,1660,1732,1760,1673,1665,1748,1904,2030,1938,1991,2051,1974,1704,1456,1440,1282,1720,1960,1780,1720,2047,2020,1897,1999,2145,2006,1632,1750,1946,2253,2617,2999,3164,2720,2458,2070,1659,1681,1749,1800,1698,1693,1898,1776,2052,1707,1649,1676,1672,2581,3090,3037,3461,3671,3368,3261,2943,2439,2280,1982,2007,2153,2127,2469,2897,3223,2968,2355,2789,2773,2811,2679,2793,3545,3740,3161,3151,3647,3906,3367,2795,2744,2605,2676,2090,1671,1597,1856,2222,2394],[1848,1846,2045,1808,1486,1686,1822,1967,2050,2586,3582,2776,2665,3044,3206,3124,3219,3267,2805,1864,1376,1805,1782,2022,2818,3827,4140,3962,3598,2912,2944,3327,3984,4132,3806,3794,3627,3577,3511,3860,4030,4090,3680,3452,3496,3769,3784,3774,3551,3745,4176,3093,2360,2436,2391,1952,2066,2316,2352,2114,2104,2310,2022,2082,2328,2863,2318,2608,2436,2014,2758,2761,2081,2858,3532,2713,2230,2519,2874,3007,3030,3031,3107,3381,3394,3166,3394,3965,3560,2842,2851,2720,2521,2702,2778,2662,2067,2529,2764,2529,2267,2154,2568,2478,1979,1896,2008,1981,1923,2348,2345,2120,1973,2042,2105,1739,1637,1715,1841,2042,2230,1799,2060,2283,2431,2655,2490,2129,2049,1987,1670,1507,1696,1946,2220,1960,1879,1908,1871,1521,1620,1904,1928,2085,2217,2037,1875,1981,2086,2285,3199,3068,2275,2313,2399,2383,3037,3460,3365,2469,1825,2100,2138,2196,2002,1943,1376,1651,1554,1856,1867,1593,1584,1521,1522,1625,2124,3144,2171,1659,1722,1704,1690,1737,1676,1748,2378,2686,2651,2655,2669,2853,2718,2820,2341,2096,2027,1995,2035,1860,1756,1732,1814,1787,1749,1942,2130,2897,2942,2576,2292,1823,1885,1981,2354,2477,1905,2003,1968,1563,1674,1886,2033,2348,2412,2102,2045,2137,1754,1852,2332,2459,2245,2199,2452,2633,2778,2610,1861,1904,2023,1942,2218,2412,2530,2722,2537,2629,3044,2622,2525,2442,2394,2217,2208,2268,2136,1950,2249,2866,2732,2507,2492,2678,2243,1778,1548,1677,1792,1691,1743,1995,1972,1908,1809,1810,2165,1835,1710,1716,1792,2169,3373,3338,2322,2154,2282,1870,1800,2047,1696,1940,2281,2011,2260,2859,3242,3151,3269,3273,2586,1676,1689,1928,2368,2395,2966,3725,3775,3272,2577,2125,1839,2168,3120,3278,2325,2784,3464,3908,2977,2053,2189,2568,1988,1605,1448,1236,1603,1853,1544,1636,1929,2213,2324,2378,2232,2065,2112,2205,2166,2395,3117,2780,2227,2103,1890,1758,1428,1448,1788,1920,1829,1777,2049,2117,1929,1895,1989,2417,2314,2254,2420,2170,2160,1861,1700,1952,2591,2797,2494,2262,1804,1902,2260,2691,2702,2339,2409,2423,2494,2172,2517,2910,2285,1645,1547,1524,2031,2532,2977,3476,3381,3118,2384,1866,1522,1651,1875,1805,1847,2225,3042,3139,2764,2492,2689,2867,2675,2407,2574,3097,3354,3562,3198,2589,2043,1650,1953,1704,1694,1842,2790,3298,3198,2997,2932,2915,2797,2783,2957,2845,2514,2221,2366,2250,1859,1551,1764,2627,2696,1660,1531,2098,2917,2810,2822,2610,2231,1861,1832,1842,2092,2552,2570,2236,1827,1846,2096,2178,1939,1691,2012,2511,2508,2785,2868,2676,2889,3032,2978,2687,2300,2208,2246,2467,2541,1888,2452,3287,3320,3176,3451,3300,3094,3553,3674,3241,3200,2989,3156,3143,2722,2674,2612,2483,2562,2601,2526,2273,2692,3286,3144,2624,3032,2969,2596,3225,3651,3535,3481,3517,3482,3362,2302,1537,1562,1759,1643,1666,1898,1676,1446,1409,1446,1608,1639,1704,1579,1576,1436,1445,1403,1396,1454,1520,1492,1490,1534,1820,2834,3786,3804,3609,2744,2142,2139,2431,2099,1923,1826,1954,1888,1700,1535,1556,2055,2088,1786,1693,1991,2242,2155,2611,2819,2027,2468,3270,2725,2457,2928,3122,2580,2624,2364,2237,1952,1824,2381,2853,3074,2818,2321,2213,2156,2243,2250,1936,2187,1743,1829,2106,2010,1954,2010,1902,1637,1760,2030,2308,1925,2783,4025,4291,4496,4604,4607,4518,4400,4272,4152,4104,4365,4439,4592,4720,5068,5372,5239,3829,2298,1706,1838,1902,1662,1662,2114,2048,1648,1310,1280,1509,1881,1676,1375,1432,1461,1637,1875,1592,1620,1743,1826,1774,1760,2213,3172,2889,2920,2679,2473,2585,2414,2198,1622,1962,2094,2060,1985,2053,2080,1817,2056,1931,1421,1283,1227,1602,1694,1478,1494,1463,1765,1805,1725,1702,1638,1688,1779,1655,1386,1520,1570,1580,1671,1830,1548,1702,1873,2123,2311,2469,2582,2476,2634,2656,1727,1955,1842,2093,1603,2178,2092,1725,2150,2161,2033,2049,1427,1656,1799,1724,1670,1690,1592,1605,1916,2066,1995,1902,1887,1735,1336,1995,2093,1613,1480,1981,2953,2330,2024,2897,3351,3492,3472,2863,2558,2953,3318,3442,2722,2531,2842,3749,3937,3864,3696,3651,3463,2070,1143,1396,1759,1714,1787,1980,2885,2374,2120,2171,2395,2504,2337,2125,2500,2896,2258,1870,1443,1596,1836,2300,3121,3081,2583,2441,2314,2191,2534,3133,2764,2768,2666,2441,2459,2778,2267,1963,1958,1659,2183,2809,2796,3287,2888,2427,2367,2479,3103,3165,3426,2998,2647,2685,2584,3376,3222,2668,3037,2631,2392,3274,3297,3237,2618,2175,2742,3076,2715,2025,1726,1813,2007,2596,2464,2050,2176,2326,2236,2552,2580,1984,2010,2258,2072,3155,3394,3429,2956,2425,2019,1750,1795,1895,2143,2432,2337,2151,2666,2806,2852,2328,2069,1427,2278,2293,1847,1877,2005,2023,2156,1917,1462,1161,1302,1993,1823,1150,980,2100,2054,2129,3093,3008,2413,3111,3207,2163,2352,2829,3485,3758,2761,2435,3024,3300,2780,2040,1726,1660,1620,1625,1632,1668,1736,1838,1838,1857,1989,3298,4132,3343,2561,2436,2070,1896,1712,1919,2177,2836,3666,3296,2450,2349,3381,3305,2532,2173,2056,2018,1992,2019,1964,2019,2156,2471,2330,2183,2167,2319,2126,2059,2468,2775,3685,4420,4472,4464,4544,4751,4707,4675,4528,4148,3742,3284,2881,2148,1895,3060,3816,3790,4116,4241,4188,4008,3263,3233,3688,3162,2530,2514,2245,2795,3646,3662,3760,3593,3278,2898,2403,2435,3135,3774,3208,2238,2226,2226,1874,2054,2888,2906,2452,2863,2408,1982,2240,2535,2561,2557,2222,2591,2234,2264,2570,2307,2084,2017,2145,2091,2117,2054,1949,1617,1219,1327,1504,1417,1658,1861,1778,1649,1738,1914,2895,3572,3218,2525,2455,2576,2441,2318,1770,1880,1881,1497,1229,1304,1434,1672,1858,1578,1828,2114,2148,2260,1641,1646,1400,1763,2457,2161,1410,1553,2249,2113,1814,1757,1346,1287,1591,1631,1876,1916,1785,1819,2365,2496,2255,2460,2498,2003,1946,1668,1516,1460,1679,1885,1651,1518,1523,1414,1478,1636,1750,1698,1804,1846,1693,1560,1268,1444,1871,2215,1958,1651,1390,1382,1550,1550,1372,1363,1440,1443,1380,1464,1561,1692,1798,1664,1713,1405,1765,1666,1722,1692,1444,1299,1428,1483,1488,1686,1716,1568,1456,1526,1910,2381,2369,2048,2174,2662,2994,2779,3221,3352,3363,3705,3820,4052,3535,2759,1942,1442,1296,1201,1192,1256,1378,1504,1579,1932,2377,1864,1755,1832,2003,2007,1802,2180,2413,2148,1958,1888,1732,1604,1562,1569,1470,1468,1417,1352,1372,1372,1099,1449,2096,1921,1601,1642,1562,1465,1723,1568,1180,1434,1705,1631,1573,1768,2138,2589,3395,3262,2499,2447,2108,2364,2462,1853,1721,1731,1883,1723,1659,1710,1775,2076,2289,2298,2297,2360,2634,2240,1656,1862,1622,1603,1886,2039,2036,2137,2286,2471,2056,1793,2286,2847,2378,2364,2230,2167,2268,2115,1912,2590,3608,2791,1708,1900,2510,3218,3692,3487,3476,3393,3306,3146,3248,3338,3400,3261,2536,2214,2172,2150,1838,1719,2082,1939,1688,2019,2460,2297,1909,2023,2409,2362,2170,1734,1600,1604,2402,2476,2118,2114,1711,1324,1842,2349,2166,2135,1802,1734,1722,1672,1926,1979,2266,2282,2136,2625,3162,3120,2734,1776,1448,1360,1265,1454,1587,1530,1655,1411,1393,1599,1908,1706,1774,1556,1416,1433,1794,1764,1920,2102,1892,1898,2002,1675,1570,1325,1344,1484,1852,2076,2281,2341,1666,1331,1669,1964,1937,2480,2724,2033,1913,1637,1749,1576,1575,1732,1715,1713,1814,1898,1771,1938,2444,2282,1776,1627,1507,1541,1540,1729,1733,1714,1776,1823,1648,1407,1842,2369,2010,2409,2517,1718,1504,1377,1852,1948,1722,1605,1661,2009,2183,1665,1486,1595,1660,1826,1898,2176,2180,1863,1559,1530,1744,1953,1757,2179,2494,3227,3046,2391,2865,3284,3189,2640,1707,1553,1686,1974,2262,3206,3144,2410,2052,1959,1978,1625,1700,2192,2626,2750,1956,1735,1884,2251,1909,1861,2106,1949,1909,1826,2057,1891,1842,2380,2192,2604,2728,2392,2161,2110,2552,2374,2182,2390,2117,2711,3586,3397,3241,2557,2480,2083,2275,3319,2944,2320,1745,1523,1537,2142,3304,3542,3533,2612,2671,2756,2802,2229,2113,2647,2620,2562,2596,2518,2521,2289,2541,2849,3153,3221,2645,2918,2944,2687,2633,2728,2618,2662,2577,2622,2710,2243,1975,2031,1963,2120,2502,2563,2035,1887,2098,2217,2076,1803,1895,1703,1968,2193,2352,2019,1932,1901,1870,1571,1589,1956,2206,2244,2502,2272,1964,1907,2004,1949,1895,1864,1662,1612,1672,1982,2366,1966,1646,1642,1892,1621,1894,2205,1858,1621,2045,1986,1681,1537,1434,1834,1792,1592,1640,1720,1836,1800,2336,2246,1888,1763,2018,2131,1830,1998,2200,1633,1678,1830,1838,1985,2288,2149,2004,2099,2167,2087,2031,1840,1593,1671,2059,2158,2033,2420,1920,1829,1923,1684,1483,1697,1848,1665,1850,1610,1639,1637,1507,1435,1389,1421,1506,1682,1864,1858,1780,1749,2070,2689,2248,1637,1478,1441,1378,1888,1992,2222,2364,1794,1576,1453,1589,1938,2311,2254,1832,1526,1852,1917,2432,2557,1930,1533,1808,2170,2056,1745,1682,1732,1655,1544,1575,1573,1559,1867,1938,1632,1492,1533,2106,2332,2042,1968,1650,1339,1360,1820,1948,1792,1998,2305,2164,2087,2282,2790,2446,2005,1909,2036,2522,2683,2445,2218,1916,1830,1899,2004,1844,1659,1589,1532,1708,1717,1612,1734,1778,1702,1962,2487,2407,2879,2934,3234,3090,2325,2500,2436,1956,1741,1888,2124,2096,2214,2347,2303,2443,2467,2570,3150,3134,2918,2534,2809,3377,3252,3074,3107,3382,3506,2900,2563,3000,2950,3154,2796,2406,2475,2614,2735,2648],[1756,1706,1758,1563,1683,2124,1747,1764,2017,2630,3118,2911,2751,2874,2765,2978,3705,3474,3203,2436,1465,1820,1738,1956,2720,3755,4068,4124,3735,2753,2574,3032,3779,4152,3861,3814,3726,3695,3684,4060,4152,3991,3955,3726,3423,3587,3560,3653,3394,3487,3467,2878,2375,2358,2084,1803,1686,2034,2590,2533,2315,2386,2010,2065,2736,3427,2729,2634,2458,1946,2503,2774,2365,2509,2629,2352,2598,2676,2869,2707,3007,3118,2962,3247,3320,2688,2964,3593,3307,2641,2453,2420,2622,3334,3473,2526,2138,2530,2917,3140,2858,2821,3030,2841,2576,2496,1733,2264,2742,2654,2736,2643,2120,2046,1953,1759,1679,1699,1672,1815,2149,1929,2055,2269,2637,2735,2343,1874,1996,1860,1716,1653,1754,2034,1962,1869,2048,2010,1597,1320,1619,2123,2169,2031,1815,1936,2470,2895,2621,2377,3248,3155,2100,1569,1603,1736,2160,2666,2985,2160,1713,1815,2024,1880,1742,1843,1957,3031,2825,2172,1874,1336,1616,1661,1777,1856,2083,3097,2193,1875,1839,1750,1697,1755,1552,1601,2467,2724,2788,2994,3090,2862,2718,2663,2070,2083,2344,2569,2486,1737,1610,1688,1927,1592,1721,1916,2485,2721,2768,2443,2050,1914,2191,2564,2754,2523,2027,1816,1701,1579,1644,1713,2001,3061,3377,3190,3310,2671,1924,2568,2562,2236,1848,1841,1861,2097,2567,2435,2326,2296,1974,1794,1989,2465,2413,1970,2299,2586,2864,2229,2180,2460,2576,2767,2889,2700,2614,2217,2486,2317,2354,2289,2577,2034,1908,1821,1502,1596,1931,1871,1707,1948,2499,2669,2310,2151,2139,1892,1581,1556,1502,2144,3292,3034,2316,1975,1721,1763,2043,2459,1986,2220,2403,2169,1861,2163,2766,3221,3044,2691,2230,1987,2127,1874,1845,1907,2464,3177,3415,3017,2965,3097,2153,1736,2313,2666,2566,2997,3666,4210,3914,2986,2770,2481,1914,1741,1978,2019,1736,1687,1653,1547,1620,2192,2503,2527,2388,2170,1816,1711,1714,2402,2539,2143,2142,2150,1684,1414,1495,1837,1949,1883,1742,1886,2183,2007,1949,2155,1985,2126,2287,2474,2516,2380,2136,2055,1987,1817,1788,2026,2383,1985,1860,2130,2191,2352,2430,2492,2305,2024,1997,1713,1931,2452,2238,2201,1874,1772,2198,2583,2941,3248,3403,2903,2133,1726,1365,1026,1337,1665,2348,3382,3551,3386,2756,2418,2565,2798,2841,2631,2618,2841,2701,3075,2701,2091,1870,1901,2306,2258,1929,2144,3039,3332,3017,2972,3064,3090,2729,2851,2820,2223,2020,2128,2136,1995,1667,1616,2023,2331,2415,2097,1755,2058,2697,2928,2858,2422,1745,1388,1587,1881,2081,2209,2158,1953,1862,1840,1732,2026,2018,2215,2818,2769,2303,2511,2531,2845,3263,2963,2945,2774,2289,2196,2268,2431,2996,2798,2665,2995,2871,2806,2966,3142,2995,2976,2941,2832,2797,2707,2664,2675,2599,2447,2358,2511,2924,3166,3002,2755,2896,3307,2801,2387,2901,2889,2735,3187,3864,3834,3683,3541,2617,2429,1763,1591,1540,1648,1498,1410,1688,1601,1242,1206,1291,1622,1964,1751,1581,1775,1811,1582,1577,1504,1356,1310,1281,1443,1649,1681,2335,3590,3749,3167,2083,1907,2179,2709,2609,2001,1851,1942,2110,1735,1644,1793,2643,2722,2159,1804,2078,2442,2513,2942,2974,2040,2187,2330,2204,1989,2579,3515,2911,2195,2199,2219,1899,2234,2705,2580,2242,2040,2134,2215,2055,2267,2310,2001,2185,2098,2115,2014,1877,1868,1885,1751,1975,2381,2568,2824,2135,2941,4140,4471,4597,4617,4478,4499,4632,4452,4376,4304,4484,4455,4543,4485,4771,5279,5171,4001,2427,1750,1997,2120,1660,1631,2093,2025,2557,1999,1336,1486,1613,1687,1870,1850,1635,1792,1767,1844,2063,1977,1781,2053,1929,2188,2229,2098,2622,2718,2974,3400,3297,3104,2032,2095,1495,1760,1603,1462,1664,1717,1975,2063,1629,1330,976,1187,1387,1433,1388,1384,1436,1671,1914,1954,2080,1965,1698,1570,1433,1573,1803,1791,1858,1831,1698,1777,1854,1953,2045,2076,2342,2514,2278,2762,1910,1788,2029,2749,2637,2457,2358,2257,2167,1860,1925,2104,2046,2093,2073,1560,1182,1231,1303,1637,2075,1994,1985,2264,2292,2373,2281,2948,2608,1820,1606,2159,2796,2180,1620,2652,3325,3293,3465,3060,2755,3215,3604,3749,3415,2871,3370,4063,3811,3531,3355,3505,3523,2136,1153,1462,2345,2601,1740,1848,2409,1735,1573,1848,2259,2509,2409,1913,2828,3075,2459,1750,1360,1299,1528,2337,3285,3458,3035,2431,2176,2221,2365,2876,2531,2047,1940,2444,2897,2768,2388,2353,1949,1683,2139,2579,2575,3118,3620,3099,2262,2863,3066,2542,3030,2792,2503,2313,2169,2932,3470,3464,3183,2410,2376,3079,3039,2774,3034,3094,3210,3317,3376,2477,1793,2087,2380,2543,2543,2230,2011,1842,1954,2488,2710,2277,2604,2543,1911,2266,3109,3314,2985,2778,2129,2132,2388,1836,1782,2142,2363,2585,2938,3195,3088,2075,1594,1254,1566,1939,2122,2404,2335,1991,2046,2154,2030,1614,1527,2197,1984,1475,1339,2113,2053,1901,2682,2746,2341,2304,2719,2369,2412,2404,2945,3552,2922,2495,3113,3576,3069,2204,1837,1804,1783,1807,1866,1861,1873,1910,1875,1826,1902,2912,3948,3067,2292,2771,2556,2315,2354,2556,2596,2567,2504,2477,2509,2842,3267,2928,2302,2001,2013,2275,2355,2407,2297,2176,2211,2399,2446,2159,2019,2041,1897,2206,2825,2409,3007,3626,3609,3385,3353,3772,4257,4473,4509,4459,4340,4162,4044,3195,2532,3167,3297,2812,3396,3903,4099,4036,3218,2437,2276,2478,2247,2495,2248,2573,3341,3671,3783,3590,3572,3373,2598,2274,3075,3990,3905,3250,3055,2288,1851,2095,2462,2090,1931,2222,2047,1653,1808,1948,2466,2436,2287,2061,1864,1827,2008,2352,2126,1970,2117,1926,1919,1894,1998,1715,1510,1354,1349,1412,1523,1793,1908,1843,1748,2301,3283,3358,2852,2357,2527,2792,2531,2069,1770,2036,1875,1352,1040,1308,1626,1808,1598,1683,2374,2494,1986,1581,1445,1953,2146,2359,2421,1657,1506,2211,1910,1553,1665,1271,1155,1592,1678,1854,1819,1575,1632,1872,2091,2330,2207,2164,1980,1911,1890,1753,1922,1785,2007,2180,1685,1620,1677,1470,1467,1786,1622,1627,1765,1766,1634,1505,1390,1327,1801,2233,2321,2001,1705,1585,1678,1841,1591,1553,1672,1486,1449,1512,1495,1899,1782,1576,1697,1696,2095,1859,1774,1545,1337,1357,1439,1590,1644,1461,1532,1637,1452,1371,1474,1628,1656,1578,1714,2766,3550,3491,3604,3501,2928,2951,3062,3076,2711,2667,2279,1835,1417,1253,1254,1245,1326,1526,1799,1737,1883,1930,1744,1599,1748,1821,1831,2088,2239,1996,1842,1937,1792,1565,1773,1676,1433,1547,1600,1552,1489,1352,1134,1453,1866,1917,1860,2026,1654,1160,1260,1134,972,1498,1717,1664,1639,1894,2396,2852,3398,3357,2513,2171,1779,2174,2254,2158,1971,1991,1941,1754,1831,1828,1912,2266,2338,2210,2269,2359,2656,2515,2102,2114,2368,2531,2404,2209,2166,2226,2376,2626,2164,1946,2216,2833,2290,2257,2779,2612,2312,2339,2111,2381,3505,3009,1841,1660,2322,3393,3749,3472,3399,3404,3139,2999,3262,3054,2977,2880,2492,1959,2266,2077,1609,1675,1973,1986,2006,2200,2279,2095,1660,1898,2365,2147,1997,1675,1525,1578,2208,2279,1934,2079,1854,1857,2458,2796,2251,1638,1697,1923,1698,1621,1711,1943,2468,2314,1832,1973,2690,3183,3282,2092,1488,1452,1336,1441,1408,1387,1465,1377,1282,1432,1469,1443,1560,1443,1424,1374,1368,1546,2146,2431,2052,2067,1738,1394,1459,1425,1412,1598,2391,2722,2981,2735,2044,1846,2109,2060,2116,2437,1946,1674,1567,1493,1632,1638,1526,1734,1780,1460,1487,1808,2437,3347,3440,2341,1932,1678,1498,1432,1570,1799,1750,1730,1772,1634,1649,1426,1488,1751,1666,2251,2668,2009,1377,1286,1453,1582,1389,1429,1649,1962,1957,1479,1456,1695,1695,1619,1511,1544,1838,1939,1752,1730,1653,1717,1676,2045,2421,2350,1925,1656,2082,2647,3074,2574,1781,1735,2100,2134,1904,2621,3072,2632,2029,1950,1996,1825,2232,2636,2489,2769,2257,1861,1677,1907,1814,2381,2262,1556,1415,1671,2084,1895,1892,2932,3019,2915,2347,2011,1983,2210,2509,2453,2114,1834,2215,2746,3283,3201,3451,2730,2376,2001,2343,3288,3235,2039,1274,1619,2611,3331,3664,3069,2526,2187,2156,2886,2911,2403,2371,2533,2621,2691,2744,2503,2710,2874,2764,2998,3166,3241,2756,2820,3224,3130,2951,2740,2213,1999,2227,2362,2256,1769,1761,1853,1909,1901,1875,2039,1990,1986,2072,2218,2285,2378,2350,1959,1930,2447,2489,2598,2399,2025,1955,1705,1677,2359,2448,2497,2964,2743,2213,2546,2777,2504,2015,1807,1758,1651,1645,1888,1863,1756,1663,1951,2545,2490,2264,2021,1730,1828,2008,2081,1910,1579,1733,2283,2072,2110,1732,1656,1566,1861,2460,2179,1632,1509,1927,2033,1496,1612,1745,1540,1635,1591,1591,2203,2333,1945,1782,1788,1618,1654,1950,1819,1808,1931,2024,2060,2243,2699,2646,2193,1749,1599,1635,1600,1512,1427,1704,1660,1570,1707,1563,1485,1495,1529,1504,1384,1475,1753,2170,2275,2222,2528,2242,1791,1729,1798,1576,1669,1601,1836,2058,1815,1710,1516,1710,2118,2088,2001,1849,1552,1573,1752,2457,3205,2577,1697,1711,1871,1754,1768,1781,2031,1962,1775,1781,1747,1714,1975,2020,1593,1676,1751,1946,2417,2379,2163,1691,1514,1575,1614,1595,1765,1916,1834,2008,2534,2588,2824,2846,2554,2270,2110,2188,2154,1820,1709,2074,2539,2155,2032,1786,1722,1511,1151,1512,1743,1854,1837,1808,1677,2239,2872,2425,2916,2477,2045,1866,1747,2028,2288,2040,1803,2464,2916,2609,2686,2146,1987,2590,2325,2244,2546,2919,2553,2214,2257,2157,2126,2381,2920,3039,2867,2170,2291,3041,3251,3264,3337,3619,3739,3213,2720,3091],[1865,1973,1810,1553,1652,1818,1656,1590,1757,2604,3286,3111,2865,2911,3354,3874,3736,2974,3044,2685,1599,1726,2127,2639,3329,3773,4128,4592,4472,3042,2700,2858,3352,3607,3476,3780,3841,3674,3768,3916,3807,3729,3773,3393,3222,3178,3100,3362,3496,3139,2640,2314,1996,1907,2060,2141,2232,2382,2380,2244,2166,2127,1794,1868,2382,2414,2439,2929,2680,2094,2090,2039,2165,2046,1924,1955,2114,2231,2785,2975,2994,2939,3022,3334,2702,2226,2602,3426,3469,2741,2397,2278,2898,3332,3129,2778,2811,2937,3252,3140,2519,2878,3134,2876,3032,2600,1954,2742,3306,2603,2191,2275,2169,1991,1965,1854,1887,2013,1902,2122,2362,2182,2046,2338,2363,2576,2612,1947,2032,1826,1713,1625,1556,1698,1691,1631,1886,1986,1852,1743,1932,2209,2114,2002,1813,2086,2874,2910,2529,2180,2398,2836,2313,1558,1558,1611,2203,2844,2479,1896,1659,1459,1569,2057,2958,2864,2520,2898,2371,2028,2362,1947,2259,2258,2250,2126,2146,2448,2120,1935,1798,1759,1888,1776,1555,1742,2504,2607,2575,3286,3188,2496,2424,2324,1950,2337,2711,2874,2409,1620,1600,1573,1794,1638,1512,2001,2439,2033,1917,2204,1918,1577,1926,2410,1958,2051,2113,1874,1948,2259,2469,2083,2185,3320,3591,3646,3233,2412,1943,2777,3334,2916,2200,2229,2543,2452,2252,2226,2293,2242,2317,2186,2249,2313,2287,1982,2354,2620,2851,2481,2434,2951,3349,3709,3762,3181,2976,2639,2808,2393,2620,2522,2302,2155,1981,1879,1678,1604,1872,1974,1837,1757,2134,2389,2410,2089,2096,2064,1821,1577,1484,1827,2589,3011,2461,1854,1675,1590,1920,2195,2176,2184,2004,1850,2079,2327,2392,2899,2854,3045,3304,2823,2448,1964,1799,1576,1533,1958,2244,2668,3200,3442,2686,1980,2135,2027,2322,2779,3243,3463,2940,2323,2542,2770,2546,1668,1488,1725,1768,1737,1743,1633,1799,1875,2154,2806,2987,2420,1808,1663,1970,2581,2260,2092,2360,2209,1704,1650,1781,1631,1780,2069,2183,1906,2257,2504,2354,2356,2271,2340,2604,2502,2786,2779,2180,1715,1864,2365,1998,1823,1905,1814,1827,2078,2201,1874,1533,1605,1631,1881,1885,1567,1722,2391,2885,2869,2009,1776,2069,2362,2569,2621,2536,2084,1760,1646,1244,1041,1311,1837,2828,3743,3972,3648,3339,3024,2486,2526,2318,2254,2646,2587,2511,2452,1794,1594,1936,2154,2364,2488,2294,2356,3063,3198,3032,2955,2888,3159,3055,2612,2206,1969,1982,1829,2008,2424,2032,1890,2178,2150,2576,2519,2072,2215,2071,2149,2691,2610,1850,1560,1732,1910,2072,2380,2557,2273,1968,1704,1744,2250,2519,2778,3485,3378,2493,2267,1893,2323,2647,2843,2836,2754,2257,2047,2087,1982,2194,2445,2562,2616,2769,2841,2929,3133,2835,2664,2641,2536,2558,2704,2984,3305,3198,2663,2581,2798,3227,3418,3106,3005,3085,3279,2775,2732,3326,3348,3286,3382,3615,3752,3626,3841,2929,2253,1733,1620,1666,1711,1604,1457,1550,1664,1477,1335,1395,1553,2116,2123,1705,1729,1716,1460,1338,1277,1309,1322,1338,1389,1989,2591,2807,3483,3593,2651,1836,2086,2100,2256,2524,2250,2146,1849,2188,1914,1718,1865,2176,2409,2536,2091,1772,2224,2476,2441,2591,2285,2591,2321,1909,1320,1630,2308,2036,2070,2411,2230,1737,1706,2132,2497,2458,2552,2117,2142,2196,2317,2177,2009,1951,2041,2020,1775,1365,1516,2235,2889,3117,2701,2496,2614,2073,2629,3926,4333,4369,4468,4318,4331,4523,4587,4544,4434,4588,4575,4728,4859,5028,5392,5028,3746,2198,1511,1686,1865,1857,1824,1905,1801,2251,2139,1773,1665,1634,1975,2273,2054,1595,2242,2146,1796,1622,1521,1880,2248,2147,1974,1537,1615,2485,2678,2716,3055,3088,2620,1960,1531,1620,1876,1658,1554,1656,1864,2481,2481,2101,1570,1220,1285,1522,1533,1502,1623,1836,1964,1979,2148,2153,1770,1466,1393,1470,2154,2436,2166,2013,1928,1970,1902,1815,1814,1787,2088,2288,2459,2518,3117,2132,1727,2027,2240,2468,2426,2078,1747,1708,1841,2001,2134,2086,1779,1959,1806,1493,1458,1610,1955,2265,2066,1745,2225,2308,2059,1956,2235,2125,1507,1170,1330,1773,1832,1664,2756,3618,3222,3643,3625,3526,3696,3630,3504,3238,2855,3373,3930,3642,3527,3452,3466,3361,2295,1482,1424,2042,2306,1711,2374,2950,2035,2024,2806,2720,2886,2426,1935,2263,2723,2501,1616,1542,2000,1966,2226,3032,3451,2962,2451,2354,2315,2266,2988,2984,2087,1700,2285,2735,2321,2684,3195,2281,2114,2405,2323,2388,2911,3739,3647,2894,2824,2440,2059,2579,2468,2430,2047,2156,2842,3537,3680,2999,2241,2339,2945,3288,3112,3220,3660,4133,3746,3041,2853,2425,2365,2552,2530,2258,2333,2203,1729,2028,2197,2523,2653,2645,2039,1606,1633,2410,2689,2509,2315,2269,2740,2646,1685,2185,2432,2409,2633,3163,3680,3552,2338,1600,1694,1986,2354,2311,2375,2153,2350,2128,2097,2079,1931,2049,2231,1990,1970,1931,1724,1844,2197,2362,2141,2021,1791,3006,3017,2120,2024,2680,3407,3044,2556,2966,3450,3272,2387,1939,1885,1904,1911,1922,1858,1813,1791,1787,1773,1827,2667,3904,3222,2605,3001,2776,2489,2568,2453,2319,2180,2040,2256,2597,2773,2532,2142,2086,2097,2085,2534,2147,1972,1885,1954,2304,2667,2542,2013,1898,2175,2119,2365,2886,2360,2654,2756,2378,2245,2509,2820,3071,3272,3664,4012,3648,2961,3815,3905,3586,4016,3593,2775,3063,3964,4232,3414,1924,1545,1718,1908,1949,2255,2452,2336,2390,2888,3409,3639,3688,3233,2611,2258,3143,3761,3861,3502,2979,2293,1893,1757,1909,2111,2245,2486,2215,1960,2031,1723,2158,2301,2307,2181,2103,1838,1858,2178,2104,1904,2012,1794,1820,1882,1943,1804,1564,1117,1194,1504,1400,1260,1546,1634,1592,3000,3646,3387,2481,2297,2464,2252,1809,1550,1893,2333,2061,1743,1454,1753,1865,1677,1566,2237,2989,2602,1796,1527,1798,2225,2374,2520,2104,1603,2231,2006,1816,1657,1310,1063,1415,1558,1538,1561,1540,1605,1921,1797,1829,1981,2077,2189,2497,2648,2050,1714,1743,1685,1916,1841,1551,1813,1517,1339,1451,1576,1472,1474,1620,1799,1704,1647,1528,1485,1982,2211,2762,2652,2134,1647,1511,1785,1816,1613,1612,1612,1695,1549,1431,1525,1554,1609,1550,1599,1659,1736,1792,1689,1564,1387,1338,1645,1782,1643,1770,1683,1578,1378,1367,1503,1814,1873,2339,3260,3330,3606,3737,3724,3010,2874,2924,2751,2592,2439,2302,2138,1838,1659,1410,1382,1434,1558,1997,1939,1670,1669,1715,1669,1676,1759,1677,1825,1996,1936,1713,2015,1818,1538,1500,1443,1403,1569,1600,1447,1485,1497,1552,1850,1877,1809,2242,2377,1353,856,1308,1202,1404,1870,1820,1764,1631,1831,2272,2413,2742,2614,2334,2032,1707,1882,2041,2031,2060,2298,2400,2138,2598,2780,2682,2333,1894,1968,2109,2238,2291,2446,2396,2014,2132,2399,2140,2419,2520,1870,1804,2176,1999,1694,1990,2243,2146,2402,2602,2503,2542,2180,2023,1805,2768,2507,1805,1631,1990,3015,3662,3671,3464,3194,2878,2675,2546,2455,2670,2862,2229,1832,2165,1836,1538,1850,2069,2126,2570,2511,2059,1884,1794,2061,2092,2066,1909,1672,1655,1562,1861,2084,1856,2066,2146,2242,2307,2357,1835,1461,1655,1623,1522,1559,1579,1895,2062,1467,1814,2029,1968,2357,3074,2518,1748,1478,1475,1416,1262,1175,1384,1293,1332,1384,1342,1422,1416,1459,1694,1647,1332,1349,1844,2231,2431,2280,1441,1408,1436,1396,1566,2033,2401,2710,3379,3581,2886,2673,2707,2069,2243,2385,1992,1758,1879,2074,1964,1733,1497,1579,1604,1564,1582,1898,2231,2700,2270,1696,1707,1805,1732,1578,1728,1855,1897,1555,1451,1634,1804,1431,1761,2020,1727,1806,2596,2358,1617,1607,1897,1960,1762,1964,2198,2083,1780,1518,1573,1630,1606,1710,1760,1582,1712,1933,1872,1607,1705,1558,1410,1771,1936,1526,1516,1700,2144,3002,2447,1927,1902,1738,2238,2172,2005,2355,2894,2641,2158,2175,2066,1891,2503,2858,2393,2673,2468,2041,1968,1865,1813,2153,2120,1793,1578,1656,2144,2106,1897,2937,3096,2740,2467,2054,1892,2402,2767,2530,2311,2420,3176,2463,2540,3241,3400,2645,2226,1836,1782,2663,2916,2094,2334,2873,3968,3962,3164,2522,2253,1922,1848,2825,3121,2352,1978,2420,2633,2847,2554,2531,2752,2907,2720,2755,2939,2933,2670,2875,3221,3278,2499,2386,1961,2057,2156,2302,1855,1673,1844,2023,2545,2500,1645,1772,1706,1778,2002,2236,2319,2675,2634,2293,2167,2352,2327,2332,2230,2235,2060,1816,1872,2477,2504,3041,2871,2728,2384,2390,2592,2359,1801,1772,1835,1771,1831,1694,1742,1765,2084,2222,2472,2535,2432,2154,2018,2114,2054,2210,1950,2017,2489,2940,3041,2885,2356,1945,1706,2191,2442,2116,1930,1625,1638,1648,1388,1361,1656,1627,1855,1964,2078,2358,2192,1904,1816,1853,1576,1665,1980,1948,1873,1887,2085,2294,2534,2755,2478,1707,1515,1587,1606,1475,1529,1583,1654,1578,1392,1460,1519,1516,1483,1469,1421,1426,1488,1555,1839,1939,2168,2002,1780,1913,2334,2295,1599,1493,1520,1411,1535,1582,1468,1465,1855,2164,1943,1650,1580,1667,1601,1713,2293,2618,1946,1685,1606,1799,1741,1896,2548,2519,2014,1867,1822,1844,1827,1941,1904,1801,1685,1673,1653,2071,2413,2123,1898,1831,1382,1512,1399,1636,2042,2447,2583,3167,3004,2895,2900,2470,2474,2780,2640,2282,2240,2007,1837,2154,1820,1824,2033,1901,1801,1586,1534,1717,1761,1779,1778,1755,2417,2719,2494,2751,2306,1882,1754,1847,2101,2049,1847,1785,2367,2820,2843,2415,1830,2023,2806,2996,2584,2279,2584,2498,2133,1996,2106,2195,2403,2570,2515,2729,2120,2156,2885,3262,3209,3397,3942,4423,3715,2441,2193],[1642,1538,1590,1593,1683,1747,1656,1791,1935,1923,2263,2332,2424,2335,3529,3890,3029,2258,2736,2938,2030,2037,2699,3142,3693,3753,4161,4255,4111,2879,2829,3183,3396,3298,3141,3481,3849,3817,3695,3574,3156,3510,3726,3410,3444,3366,3260,3359,3633,3165,2475,2134,1794,1764,2311,2437,3019,2461,2161,2010,2059,2031,2040,2488,2641,2210,2323,2695,2148,1725,1690,2311,3151,3094,3048,2886,2498,2386,2888,3272,2990,2813,3022,3342,2812,2533,2490,3603,3272,2735,2504,2542,2642,2511,2915,3448,3321,2898,3320,3174,2555,2922,2326,2115,2387,2613,2790,2713,2592,2389,2093,2174,1956,1822,1863,1833,1883,1990,1910,2013,2087,1930,1900,1988,2031,2361,1950,1808,1920,1827,1735,1719,1713,1760,1825,1866,1921,2008,2101,2014,1912,1782,1754,1931,1892,1962,2337,2219,2585,2577,2027,2564,2788,1786,1673,1828,2053,2568,2525,2220,2167,2194,2114,2664,3858,3462,2330,2181,1645,1658,2117,1993,2142,2160,2228,2072,1856,1923,2096,2050,2040,1997,1953,1814,1548,1664,2522,2667,2609,3104,2941,2384,2468,2272,2174,2500,2667,2809,2341,1709,2179,1781,1678,1807,1722,2050,2109,1800,1937,2584,2348,1991,2329,3018,2702,2632,2206,1628,2106,2722,2967,2521,2559,3452,3659,3629,2556,2094,1998,2103,2539,2508,2445,2747,2955,3168,3162,2653,2420,2032,2009,2240,2554,2669,2405,2139,2462,3223,3133,2047,2500,3011,3376,4018,3708,3027,2674,2783,2707,2194,2643,2562,2143,2281,1946,1903,1866,1661,1798,2029,2030,1887,2049,2345,2110,1725,1564,1667,2033,1937,1670,1581,1833,2590,2521,2313,2075,1812,2054,2385,2474,1978,1866,1839,1842,1737,2176,2702,3175,3275,3527,3578,3019,2514,2364,1889,1769,1903,1732,2083,2502,3045,3042,2305,2093,2278,2059,2089,2714,2808,1851,1707,2191,2536,3068,2579,2209,1794,1536,1848,2040,1848,1744,1913,2268,2294,2184,1940,1845,1731,1841,2060,2415,2541,2836,2574,1949,2037,1904,1760,2091,2736,3029,2422,2663,2264,2699,2431,2175,2444,2424,2538,2895,2545,2363,1798,1695,2122,2386,2157,1967,2038,1917,1913,1946,1565,1220,1335,1681,1919,1722,1706,1604,2410,3184,2767,1859,1778,2176,2503,2512,2258,2181,1894,1988,2210,1816,1352,1324,2163,3393,4032,4145,3648,2839,2654,2462,1945,1609,1791,2700,2977,2942,2618,2132,2153,2322,2359,2364,2286,2329,2274,2849,3049,3118,2888,2699,2924,3164,2548,1683,1705,1879,1909,2072,2596,2782,2523,2400,1999,2519,2863,2432,2114,2145,2387,2600,2391,1868,2327,2087,1828,2203,2626,2524,2297,1991,1771,2036,2314,2464,2479,2698,2894,2541,2561,2642,2680,3052,3284,2725,2075,1750,1975,1811,1673,1854,2487,2884,2761,2994,3227,3130,3004,3031,3191,3091,2730,2651,2652,2908,3272,3481,3151,2975,2889,3043,3052,3058,3229,3357,3364,3166,3249,3687,3609,3702,3746,3399,3481,3825,3820,2656,1808,1814,1827,1837,1793,1590,1447,1710,1765,1661,1410,1426,1589,1774,1630,1433,1432,1495,1416,1273,1282,1422,1244,1215,1248,1580,2209,2819,3225,3167,2234,1850,2041,1873,1656,2143,2313,2059,1824,1747,1758,1691,1822,2149,2468,2359,1919,1877,2214,2169,1951,2437,2655,2624,2300,1581,1096,1603,2140,2696,2767,2396,2113,2072,2781,2518,2583,2235,2036,1968,2038,2170,2232,2073,1919,1992,2392,2287,1923,1598,1953,2562,3043,3190,2538,2241,2304,1951,2216,3564,4152,4152,4284,4035,4218,4484,4560,4412,4375,4576,4760,4960,5067,5114,5020,3627,2817,1922,1538,1708,1852,1918,1714,1764,1912,1936,1801,1723,1848,1799,1902,1896,1668,1823,2309,2285,2190,2058,1843,1959,2517,3188,2900,1615,1959,2665,2836,2900,3145,2909,2250,1644,1681,2161,2385,2301,1973,2171,2532,2417,2232,2282,1675,1351,1481,1552,1639,1965,1982,1760,2021,2124,2100,2117,2062,1653,1532,2109,3304,3286,2434,2023,1954,1928,1731,1492,1550,2066,2504,2558,2485,2821,2924,2294,2276,2579,2232,2121,1953,1959,1574,1825,2278,2203,2184,1984,1758,2072,2243,1977,1744,1837,1810,2030,1940,1913,2025,1826,1824,1796,1914,1864,1123,557,856,1541,1686,1864,2794,3724,3509,3887,4098,3955,3784,3499,3429,3182,2729,3321,3731,3655,3598,3347,3401,3124,2546,2098,1980,2416,2518,1910,2390,2850,2535,2109,2531,2451,2899,2685,2375,2136,2348,2349,2005,2655,3110,2959,2744,3126,3321,2406,2111,2604,2753,2646,2940,2643,2105,2059,2431,2507,2740,3099,3079,2598,2188,2153,2330,2365,2482,3029,3483,3508,2679,1717,1982,2099,2151,2357,2199,2138,2641,3366,3558,3275,2674,2386,2468,3142,2827,2951,3580,3835,3371,2586,2245,2383,2484,2329,2208,1835,2454,2422,2020,1905,1365,1754,2505,2377,2002,1953,2129,2358,2572,2097,2212,2678,2898,2303,2147,2407,2011,2040,2598,3400,3829,3687,3030,2192,1616,1738,1835,1347,1801,2120,2541,2372,2101,1976,1880,1899,1812,1714,2452,2311,1737,1842,2884,3109,2301,1968,2265,3120,2305,1238,1387,2164,3188,2817,2428,2755,3405,3372,2656,2011,1897,1913,1834,1803,1799,1737,1713,1743,1764,1795,2425,3920,3909,3046,2991,2784,2353,2069,1932,1860,1756,1879,1937,2115,2319,2422,2467,2589,2547,2129,2512,2575,2480,2321,1882,2250,2179,1967,2014,2169,2371,2399,2911,3090,2714,2558,2186,2225,2732,3046,3152,3233,3118,2568,2725,2166,1915,3060,3221,2641,3219,3930,3676,3657,4200,4042,3272,1860,1797,1947,2178,2156,2286,2281,2081,2132,2345,2729,3017,3016,2662,2244,2547,3400,3719,3494,2814,1991,1953,2140,1978,2067,2384,2567,2339,2092,1998,1664,1648,1913,2226,2552,3063,2592,2027,2251,2094,2192,1946,2042,1761,1782,1861,2040,1911,1433,1200,1491,1507,1205,1081,1519,1402,1918,3300,3566,2898,2099,2155,1898,1677,2116,1930,2182,2336,2331,2071,1959,2060,1831,1540,2000,2825,2973,2253,1810,1934,2372,2532,2613,2353,1924,2187,2167,1816,1609,1281,1110,1352,1499,1626,1714,1686,1737,1857,2166,2206,2257,2258,2310,2476,2908,2743,1931,1402,1362,1426,1570,1614,1835,2253,1840,1497,1484,1550,1570,1359,1575,1816,1772,1738,1688,1649,1902,1932,2365,2287,1835,1234,1601,2425,1976,1514,1924,1870,1681,1816,1738,1568,1411,1469,1521,1471,1559,1767,1712,1704,1521,1451,1355,1620,1911,1731,1533,1579,1612,1457,1415,1401,1558,1757,2280,2797,3172,3490,3763,4122,3793,3306,3221,3149,2996,2785,2557,2354,2275,2261,1902,1663,1792,2229,2715,2136,1686,1711,1846,1685,1664,1938,1855,1739,1726,1929,1800,1965,1906,1653,1447,1516,1664,1664,1472,1306,1353,1519,1507,1502,1454,1493,2265,1865,1266,1466,1373,1184,1579,1831,1638,1756,1631,1873,1904,2129,2317,2113,2070,2263,2109,1822,1778,1730,1639,1875,2144,2840,3232,3252,2922,2220,2116,1981,1870,2143,2367,2431,2201,1936,2189,2149,2000,2297,2625,2001,1649,2060,1942,1809,2115,1905,1965,1684,1704,2261,2679,2308,2235,2307,2816,2713,2331,1954,2068,2799,3579,3656,3169,2644,2324,2226,2328,2752,2798,2603,2057,1866,2178,2094,2183,2143,1750,1899,2333,2210,2305,2144,2004,1871,1764,2163,2306,2032,1741,1774,2014,2083,2229,2141,2492,2274,2046,1817,1360,1418,1555,1503,1679,1570,1542,1804,1779,1533,2114,2170,1780,1842,2379,2351,1932,1711,1509,1359,1246,1236,1409,1364,1449,1479,1395,1338,1305,1430,1761,1677,1267,1430,1882,1853,2238,1945,1426,1568,1804,1745,1981,2429,2743,3201,3565,3646,3396,2908,2482,1842,1997,2093,2377,2338,2425,2181,1638,1443,1527,2093,1738,2171,2433,2234,2110,1876,1449,1409,1513,1642,1570,1596,1845,1986,2523,1987,1603,2332,2321,1818,1923,2271,1941,1506,1798,1989,1937,2070,2491,2343,2082,2811,2797,2136,1661,1470,1301,1347,1569,1738,1605,1468,1547,1770,2027,2085,2080,1651,1415,1743,1853,1658,1886,1619,2074,2564,1973,1965,1879,1638,1910,2136,1910,1802,2014,2171,2276,2236,2542,2149,2291,2337,1853,2065,2323,2368,1893,1519,1896,2075,1998,1991,1886,1874,2085,1928,1776,2504,2667,2475,2266,1815,1716,1992,2280,2229,2711,2913,2774,2123,2501,2919,2802,2606,2525,2331,1788,2602,3010,3047,3001,2884,3232,3155,2525,2007,2326,2279,2198,3035,3239,2508,2180,2514,2676,2747,2370,2378,2677,2763,2645,2485,2415,2478,2432,2944,3240,2862,2242,2367,2040,2167,2260,2329,1932,1712,2254,2310,2208,2216,1813,1699,1625,1546,1749,2050,2380,2696,2520,2250,2242,2238,1937,2019,2136,2235,2027,2297,1984,1891,2083,2456,2316,2364,2404,2272,2455,2357,1666,1688,1882,2017,1976,1660,1644,1489,1831,1976,1740,1590,1769,1933,2101,2100,1841,1864,1793,2143,2677,3010,3011,2677,2255,1849,1821,2123,2046,2277,2292,1908,1773,1630,1447,1465,1602,1628,1844,2040,2232,2309,2097,1903,1912,2137,1929,1912,2011,1996,2036,1996,2029,2626,2652,2520,2538,1731,1596,1548,1394,1281,1514,1605,1494,1442,1431,1521,1584,1523,1490,1490,1535,1542,1437,1474,1451,1464,2016,1984,1836,1935,2143,2129,1830,1607,1780,1535,1570,1610,1555,1531,1786,2041,2002,1782,2029,2258,1849,1719,1690,1542,1481,1648,1627,1675,1653,1984,2226,1900,1736,1759,1721,1394,1749,2088,1859,1508,1547,1573,1476,1682,2008,1885,1988,2299,1650,1570,1485,1527,1844,2501,3227,3142,2640,2700,2618,2717,2832,2603,2447,2328,2329,2364,2192,1917,1771,1904,2117,1952,2112,2292,1820,1815,1888,2014,2004,1999,2238,2168,2334,2472,2136,2006,1836,1915,2287,2093,1907,1652,1714,2325,2793,2544,2282,2104,2304,3212,3030,2185,2302,2505,2093,2293,2608,2734,2824,2750,2586,2390,1976,2064,2887,3593,3461,4059,4555,4592,3783,2666,2060],[1808,1744,1781,1936,1981,1749,1873,2357,2429,2416,2044,1673,2118,2568,3340,3063,2509,2142,2602,3030,2416,2391,2890,3261,3736,4073,3694,3268,3154,2906,2906,3477,3504,2895,2938,3231,3610,3834,3557,3354,3096,3341,3518,3528,3792,3610,2898,2819,3306,3222,2671,2167,1833,1930,2589,2408,2469,1825,1748,1964,2261,2348,2341,2488,2669,2748,3040,2093,1536,2177,3134,3592,3952,3377,3220,3277,2669,2210,2889,3377,3086,2977,3266,3724,3197,3188,3484,3433,2512,2475,2420,2235,2511,2726,3241,3410,3199,3218,3116,2599,2799,2731,2194,2138,1964,1859,1726,1408,1767,2212,2077,2279,2369,2200,2014,2018,1898,1892,1990,2013,2110,2116,1852,1697,1610,1654,1549,1634,1720,1802,1852,1782,1789,1892,1946,1959,1897,1926,1909,1707,1602,1601,1779,1930,2027,2042,1996,2106,2902,3151,2282,2113,3035,2357,2095,2508,2688,3463,3570,3187,2926,3166,3621,3588,3907,3240,2378,2425,1789,1625,2170,2184,1883,1789,1744,1778,1766,1674,1652,1501,1584,1509,1489,1792,1472,1668,2498,2708,2752,2779,2301,2215,2223,2076,2522,2337,2784,2653,2548,2786,2950,2242,2428,3232,3206,2849,2529,2645,2294,2823,3090,2639,2993,3750,3476,2872,2374,2095,2291,2824,2896,3167,3648,3709,3513,2770,2145,1843,1974,2067,2015,1843,2030,2469,2648,2542,2454,2573,2706,2274,2095,1951,2092,2379,2479,2848,3186,3142,3089,2463,3122,2807,2819,3429,3702,3904,3204,2642,2718,2854,2743,2456,2359,2544,2119,1957,2122,1953,1924,2025,1893,1665,1662,2079,2280,1843,1982,1941,2051,2211,1915,1885,1918,2065,2546,2766,2441,2208,2351,2874,2832,1791,1811,1701,1534,1652,1816,2746,3310,2976,2852,3223,3602,3085,2310,2157,2684,2458,1990,1841,1905,2643,2800,2244,2298,2454,2288,1773,2142,2148,1888,1879,1898,2099,2332,2603,2722,2258,1845,1815,2045,2138,1802,2170,2412,2139,2299,2356,2220,1820,1582,2008,2636,2588,2384,1973,1835,2047,2101,2328,2318,2842,3263,2707,2491,2855,2587,1787,2020,2801,2640,2578,2508,2326,2103,2126,1986,1729,1828,1828,1894,1921,1819,1878,2047,1888,1472,1438,1470,1556,1744,1797,1660,2378,2752,2331,1955,2045,2152,2370,2120,1945,2487,2318,2215,2392,2291,2037,2002,2406,3200,3583,3682,3311,2457,2545,2652,1989,1664,1997,3515,3704,2905,2605,2305,2180,2238,2076,2150,2230,2448,2445,2661,3659,4419,3853,3250,3449,3543,2407,1690,1806,1794,1837,2073,2095,2070,2495,2367,1928,2278,2558,2358,2300,2407,2313,2281,2109,1954,2474,2040,1976,2416,2504,2314,2099,1745,1751,2008,2157,2909,3086,2932,3154,3074,3440,3862,3862,4152,3739,2597,1675,1420,2050,2388,2658,2364,2810,2986,2920,3190,3204,3011,3031,3284,3498,3337,2928,2874,2853,2744,2786,3450,3775,3775,3217,2811,2773,2916,3062,3030,3388,3682,3510,3365,3329,3426,3365,3613,3896,4036,3383,2143,1882,1983,1750,1689,1611,1554,1419,1675,1763,1885,1580,1312,1417,1558,1645,1428,1273,1327,1306,1324,1349,1411,1316,1437,1331,1126,1459,2199,3015,2864,1876,1846,1864,1746,1560,1802,1914,1962,1931,1591,1765,2100,2113,2295,2359,2293,1858,2215,2468,2208,2262,2302,2181,2518,2613,1693,1531,2163,2985,3549,2921,2828,2374,2191,2927,2388,2224,2094,1976,2085,2471,2878,2674,1938,1589,1912,2501,2281,2330,2250,2071,2460,2964,3021,2493,2307,2370,2081,2121,3355,4054,4200,4333,4172,4271,4455,4482,4452,4573,4620,4531,4544,4832,4900,4629,3009,2747,1965,1747,1650,1590,1799,1735,1870,1742,1816,1711,1958,2249,1822,1577,1465,1314,1612,2093,2172,1948,2084,2062,2182,2801,3307,2776,2088,2267,2531,2634,2844,3038,2805,2436,2227,2114,2293,2662,2786,2943,3186,2903,2116,2009,2101,1666,1768,2195,1826,1512,1757,1855,1596,1996,1771,2135,2719,2697,2490,2264,2363,3484,3562,2911,2294,1945,1786,1553,1038,1554,2186,2396,2619,2872,2908,2857,3378,3667,3436,2401,2201,1926,1864,1814,2014,2421,2410,2208,1944,1689,1908,1871,1604,1741,1839,1643,1838,1899,1989,2032,2047,2120,1842,1805,2038,1303,1044,2221,2984,2004,1802,2315,3210,3384,3628,4119,3983,3867,3760,3638,3300,2774,3364,3740,3628,3549,3384,3439,2765,2072,2450,2731,2732,2756,1986,2209,2807,2545,1932,2433,2500,2517,2645,2552,2907,3099,2613,2278,2888,2823,2492,2718,3154,3006,2085,1929,2530,2542,2625,2653,2331,1852,1457,2164,3018,3348,3294,3659,2986,2046,1846,1698,1586,1986,2139,1911,1786,1358,1539,1705,1702,1575,1760,2093,1776,1957,3232,3574,3632,3155,1912,1516,1796,1872,2974,3674,3438,2919,2830,2812,2650,2643,2289,1886,1776,2271,2249,2181,2396,1887,1929,2401,2352,2196,2324,2509,2314,2180,2411,2580,2608,2909,2858,2309,2007,1847,2050,2754,3594,3532,3271,2832,2468,1945,1552,1682,1454,1735,2370,2689,2618,2122,2070,2059,2118,1940,1404,2226,1958,1902,1697,2019,2352,2175,2105,2077,2396,1904,1485,2161,2745,3309,3176,2487,2662,3405,3495,2741,1990,1831,1831,1779,1800,1810,1720,1703,1674,1631,1649,2182,3706,4062,3086,2784,2978,2556,2071,1891,1766,2084,2107,1935,2065,2724,2872,3029,3073,2590,2087,2403,3007,2822,2098,1542,1641,1607,1838,2005,2201,2382,2503,2939,3005,2810,2373,2214,2518,2691,2762,3197,3140,3440,2688,1975,1859,2281,2967,2745,2126,2799,3816,4440,4175,3666,3085,2247,2000,2301,2343,2233,2169,2212,2010,1861,1876,2038,1880,2056,2446,2519,2666,3267,3494,3454,3006,1873,1323,1698,1735,1880,1905,2048,2298,1990,2036,1876,1731,2194,2430,2442,3164,3579,2569,2303,2548,1932,2230,1896,1852,1845,1808,1860,2060,2013,1683,1470,1687,1432,1224,1394,1866,1583,2385,3166,3055,2315,2011,2102,1826,2149,2547,1898,2373,2416,2541,2202,1997,1869,1515,1885,2790,3075,2540,2311,2357,2421,2586,2547,2264,1923,2277,2406,2112,1911,1316,1022,1442,1782,1837,1896,1758,1737,1858,1836,2235,2355,2186,2225,2234,2619,3139,2836,1947,1402,1444,1587,1800,1729,1721,2086,2074,1880,1678,1516,1565,1588,1592,1794,1930,1765,1655,1611,1937,2084,1826,1643,1512,1414,1774,2162,1868,1780,1720,1349,1414,1957,1796,1477,1382,1385,1464,1478,1494,1532,1553,1766,1706,1623,1608,1621,1656,1510,1469,1541,1514,1510,1582,1475,1396,1493,1983,3067,3765,3688,4008,4240,3903,3196,3132,3453,3156,3185,2963,2700,2891,2780,2645,2395,2567,2795,2846,2543,2138,1797,1893,1826,1866,1952,2024,1811,1690,1825,1996,2141,2042,1631,1571,2142,2248,1609,1461,1352,1394,1410,1384,1409,1444,1463,1818,1562,1414,1334,1146,1485,1710,1637,1494,1818,1681,1677,1988,1986,1661,1652,2005,2282,2244,1928,1948,2192,1920,2069,1996,3271,3467,2841,2591,2091,1712,1993,2018,2083,2470,2322,2156,2137,2385,2457,2725,2308,2221,1960,1568,2042,2075,1792,2155,1866,1934,1638,1819,2145,2793,2652,2281,2502,3132,3521,3212,2902,2690,2599,2731,2696,2641,2569,2233,2511,2677,2518,2132,1963,1914,1437,1734,2033,2145,2101,1704,1944,2025,2096,2471,2524,2145,1829,1973,2236,2353,2361,1622,1625,1947,2242,2570,2344,2264,2259,2182,1678,1396,1539,1586,1553,1441,1498,1586,1548,1800,1891,1832,2004,2052,1818,1632,1681,2036,1855,1566,1478,1408,1333,1339,1439,1458,1416,1347,1305,1240,1396,1840,1888,1413,1404,1864,2218,2400,2390,2043,2050,2092,1870,2156,2342,2298,2954,3394,3026,3046,2315,1648,1703,1720,1691,1760,1977,2262,1977,1321,1561,1536,1662,1503,1868,2676,2143,1742,1821,1536,1431,1515,1609,1684,1824,2131,2110,2035,1875,1895,2186,1926,1775,1868,1869,1501,1278,1448,1936,2610,2764,2884,2266,2159,2652,2430,1722,1432,1470,1503,1586,1899,1872,1729,1721,1591,1721,1723,1826,1843,1646,1733,1911,2302,2086,2252,1824,1982,2288,2143,2031,1784,1678,2158,2077,1940,2260,2554,2534,2708,2708,2600,2592,2446,2512,2374,1691,1845,2736,2182,1634,2219,2047,1885,1917,1942,2158,1988,1655,1562,2132,2655,2435,2108,2018,1770,1879,2530,2834,2291,2482,2684,2617,2659,2884,3432,3750,3475,3211,2050,3010,3118,2824,2327,1897,2452,2977,2396,1708,1892,2330,2472,2741,3109,2341,2018,2526,2755,2661,2702,2610,2601,2702,2780,2619,2293,2427,2378,2366,2648,2265,2358,2520,2238,2081,1994,2120,2137,2207,2331,1878,2300,2765,2133,1621,1547,1509,1494,1756,2262,2556,2468,2164,2060,1883,1692,1986,2456,1909,1945,1996,1669,1583,1638,1499,1635,2214,2864,2230,1614,1842,1570,1730,1880,1837,1552,1942,2094,1605,1537,1720,1951,2199,2608,2164,2134,2062,1650,1537,1768,1841,2059,2525,2735,2215,1729,1499,1730,1773,2030,2295,2176,2009,1857,1770,1619,1527,1538,1550,1592,1572,1902,2227,2348,1788,1635,1832,1720,1610,1902,2013,2151,2248,2332,2724,2009,2187,2301,1778,1681,1614,1522,1501,1680,1595,1444,1466,1451,1573,1670,1452,1259,1339,1626,1561,1426,1499,1664,1891,2061,1937,1736,1902,2009,1703,1519,1404,1399,1471,1459,1933,2011,1968,2581,2933,2653,2108,2340,2174,1904,1569,1595,1820,1668,1616,1736,1724,1714,1800,1852,1816,1663,1676,1761,1359,2014,2379,2108,1666,1542,1573,1600,1695,2044,2067,1832,2109,1875,1505,1386,1489,1703,2383,3056,2683,2624,2415,2148,2775,2866,2600,2719,2213,2145,2604,2302,1798,1750,1907,2105,2396,3034,2875,2230,1887,1732,2124,2288,1952,1992,2677,2636,1991,1918,2269,2272,1766,1838,2236,1994,1575,1747,1969,2137,2308,2382,2019,1960,2243,1831,1514,1730,2509,2564,2902,3281,3225,3030,2739,2461,2378,2750,3143,3316,3862,3997,4485,4386,3912,3373,2987,2352],[2165,1757,1830,2067,2040,1873,2028,2392,2467,2924,2339,1981,2066,2279,2934,2981,2386,2063,2438,3296,3005,2348,2454,3168,3535,3710,3218,3483,3614,3062,2964,3639,3602,3044,3176,3055,3466,3548,3426,3616,3555,3497,3561,3769,4017,3562,2770,2695,2924,3210,2995,2614,2077,2024,2588,2548,2320,2005,1963,2097,2480,2720,2442,2050,2454,2833,2973,1412,1149,2093,2822,2894,3038,2711,2412,2499,2220,1715,2564,2939,3022,3024,3117,2870,2964,3263,3610,3564,3100,3022,2487,1923,2084,3261,3576,3474,3407,3596,3325,2731,2929,2786,2366,2430,2446,1872,1678,1436,1738,2052,2250,2501,3027,2874,2449,2210,1971,1792,1912,1921,1902,1944,1987,1865,1737,1593,1659,1759,1875,1929,1932,1968,1867,1830,1848,1704,1647,1644,1501,1642,1642,1528,1578,1908,2399,2621,2512,2312,2932,3090,2579,2575,2969,2514,2839,3526,3318,3429,3748,3709,3554,3639,4006,4205,4042,3758,2890,2477,1965,1988,2503,2448,2072,1719,1525,1872,1765,1524,1475,1509,1522,1436,1382,1748,1578,1560,2115,2741,2986,2619,2312,2352,1949,1896,2323,2273,2740,2339,1925,2531,2864,2333,2752,3665,3696,3090,2698,2798,2767,2844,2985,2986,3417,3802,3746,3249,2473,1993,2086,2326,2325,3041,3574,3341,2977,2849,2622,2062,2097,2420,2241,1823,2205,2556,2705,2485,2391,2661,2498,2088,1839,2155,2266,1920,1904,2231,2652,2862,3349,3254,2543,2242,2556,3185,3675,3899,3309,2448,2223,1987,1808,2127,2611,2676,2511,2533,2449,2053,1980,2089,2095,2110,2049,2259,2648,2231,2071,1853,2488,2811,2479,2335,2127,1954,2294,2564,2630,2588,2400,3300,2676,1822,1747,1506,1649,2171,2391,2793,2881,2543,2287,2576,3116,2253,2149,2667,2930,2769,2236,1966,2341,2787,2409,2165,2349,2009,2198,2148,2392,2242,2076,1826,1789,1904,2119,2546,2652,2620,2208,1729,1935,2059,2262,2627,2351,2339,2208,2335,2093,1963,1971,2011,2498,2885,2965,2513,2423,2732,2644,2548,1940,1603,2094,2298,2315,2414,2218,2054,2512,3093,2633,2260,1987,1708,1774,1951,1920,1857,1888,1780,1799,1848,1848,1823,2201,2448,2410,1756,1426,1684,2318,2071,2039,2692,2303,1897,2120,2460,2071,1804,1657,1925,2317,2508,2174,1941,2022,1956,1933,1805,2021,2229,2623,3165,3140,2927,2314,1664,1605,2064,3272,3532,2484,2208,2078,2074,2200,2426,2517,2585,2714,2815,2874,3569,4275,3987,3165,2930,3221,2301,2078,2076,1814,2018,2307,2433,2569,2519,1869,1523,1836,1975,1931,2192,2239,2056,2012,2229,2540,2821,2819,2910,2755,2147,1882,1583,1439,1686,1731,2157,2624,2712,2244,2476,3316,4050,4009,3717,4024,3655,3168,2348,1628,2059,3156,3588,3176,3366,3142,2989,3009,2954,3063,3297,3442,3348,3270,3037,2990,3056,2722,2588,2976,3606,3491,2979,2718,2486,2655,2885,2751,3277,3481,3278,3113,3089,3053,3235,3725,3916,3838,2849,2044,2115,1710,1456,1593,1502,1545,1510,1542,1510,1423,1215,1125,1243,1301,1355,1377,1361,1434,1513,1527,1439,1311,1377,1469,1287,1215,1464,2026,2448,2216,1912,1941,1855,1726,1684,1751,1903,2020,1869,1832,2008,1911,2030,2092,2313,2452,2049,2518,2508,2358,2221,2169,2205,2287,2338,1884,1970,2238,2988,3206,2433,2930,2553,2271,2483,2260,2754,3272,2478,2417,2885,3308,3030,2041,1501,1736,2357,1960,1937,1995,2014,2188,2529,2912,2798,2625,2603,2200,2154,3367,3986,4035,4090,4127,4364,4439,4280,3768,3648,3149,3052,3405,3793,3254,2741,2564,2529,1677,1322,1349,1743,2006,2266,1832,1537,1597,1828,2104,1940,1873,1879,2689,3227,2876,3061,2980,1751,1980,1880,2203,2613,3252,2834,2232,2205,2209,2262,2469,2632,2490,2480,2124,1917,2337,2423,3378,3939,3705,3286,3032,2843,2568,1829,1785,2099,1870,1387,1354,1367,2339,2943,2088,2150,2481,2379,3143,3064,2699,2802,2518,2325,2069,1906,1714,1138,900,1667,2186,2224,2272,2555,2887,3378,4275,4428,3484,2448,2374,2266,2151,2335,2689,2925,2623,2021,1864,1641,1905,1635,1631,1918,1964,1808,2015,2166,1969,1840,2054,1892,1605,2049,2745,2117,1753,2865,3186,2106,1796,2270,2934,3106,3382,4272,4101,3881,3796,3450,2469,2261,3167,3618,3331,3470,3852,3348,2005,1442,1969,2294,2091,2309,1763,2200,2511,2424,2423,2875,2563,2468,2859,3008,3864,3549,2842,2388,1931,2203,1880,2102,2720,2500,1930,1811,2029,2267,2377,2333,2207,2041,2481,2705,2976,2827,3260,3876,2973,2127,2030,1645,1634,2176,2082,2005,2102,1662,1305,1375,1412,1489,1645,1723,1820,2241,2711,2933,2780,2686,2012,1797,1664,2170,2931,3274,3042,2516,2813,2786,2292,2388,2385,2185,2119,2100,2103,1943,2194,2122,2186,2708,2324,2040,2106,2423,2565,3199,3465,2491,2392,3108,3445,2769,1997,2291,2692,2632,3381,3105,2917,2146,2049,2356,1970,1999,2245,2471,2218,2429,2419,2285,2424,2383,2480,3106,1907,2270,2285,2508,2017,1657,1622,2152,2556,2464,2997,2562,2110,2757,3074,2957,3452,2619,2427,3263,3531,2854,2068,1916,1969,1908,1920,1893,1714,1668,1615,1537,1578,2009,3405,4097,3406,2978,2815,2585,2298,2005,2114,3263,3040,2380,2316,2226,1888,2332,2774,2514,2002,2266,2901,2581,1850,2047,1705,2009,1926,1937,2181,2485,3078,3193,3269,3353,3056,3160,2895,2840,2519,2590,2491,2899,2788,2131,2222,2646,2934,3076,3407,3935,4073,4307,4251,4074,2808,1498,1797,2357,2280,2087,2125,1939,1932,1952,1898,1639,1298,1473,1695,2101,2954,3531,3550,3284,2335,1409,1436,1661,1708,2173,1974,2287,2173,2098,2239,2025,1990,2247,2303,3077,4006,4179,3795,3254,2202,2195,2216,1792,1812,1893,1831,1851,1884,1859,2041,1806,1539,1361,1454,1854,1898,2135,2901,3213,2939,2095,2016,1977,1758,2398,2671,2133,2485,2556,2681,2510,1986,1482,1609,2531,3061,2896,2280,2421,2374,2305,2201,2369,1833,2139,2715,2313,1982,1509,1142,1480,1957,2049,1932,1715,1594,1627,1817,1781,2142,2540,2415,2274,2498,3218,3197,2643,1860,1337,1277,1329,1477,1427,1383,1742,1859,1583,1551,1521,1617,1747,1600,1730,1782,1749,1713,1643,1832,1642,1481,1745,1842,1754,1594,1651,1715,1825,1513,1101,1460,1578,1483,1498,1449,1361,1401,1467,1580,1393,1525,1645,1769,1801,1672,1592,1494,1527,1729,1807,1938,1803,1688,1460,1408,1496,1599,2805,3330,3497,3880,3931,3250,2582,2823,3732,3613,3834,3624,3262,3415,3401,3023,2890,3007,3012,3024,3070,2613,1993,1929,2046,2046,1828,1739,1901,1880,1964,1928,1950,2005,1592,1933,3285,2649,1499,1333,1443,1372,1429,1433,1639,1662,1476,1760,2026,1443,1063,1378,1764,1581,1332,1958,2353,1945,1653,1682,1591,1259,1463,1970,2264,2223,2075,2533,2490,2381,3063,2722,2589,2894,2691,2270,2126,2379,2663,2257,2096,2117,2254,2281,2711,3001,3234,3707,2886,1806,1615,1626,2061,2156,1785,1692,1909,1988,1768,1839,2134,2632,2563,2517,3052,3153,2757,2590,2368,2144,2377,2638,2810,2775,2493,2270,2205,2044,2019,2109,2327,2575,2210,1907,2210,2557,2698,2386,2055,1943,2133,2514,2288,1775,2045,2275,2080,2347,2353,1919,1620,2369,2654,2455,2345,1987,1995,2257,1885,1675,1688,1726,1679,1519,1478,1556,1614,1818,2105,2349,2285,2427,2305,1699,1830,2252,2176,1609,1387,1396,1338,1423,1514,1438,1291,1362,1511,1400,1365,1495,1631,1794,1527,1970,2500,2232,2201,2525,2621,2307,2068,2012,1740,1725,2654,3282,3232,2755,1756,1632,1927,1839,1858,2242,2295,1969,1781,1702,1845,1771,1599,1629,1631,1990,1715,1424,1533,1618,1574,1547,1565,1660,1922,2018,1913,1872,1782,1896,1980,1753,1612,1499,1695,1533,1426,1414,1662,2165,2268,1954,1631,1921,2275,2035,1806,1670,1583,1883,1722,2033,1864,1837,1901,1904,1996,2233,2419,2110,1936,2414,2419,2587,2211,2059,1737,1593,1594,1501,1660,1699,2037,2591,2498,2676,2305,2481,2668,2637,2408,2598,2608,2348,2754,2615,1462,1742,2579,1917,1713,2176,2055,2057,2343,1993,2049,2156,1742,1605,1896,2135,2200,2291,2279,2030,2668,3489,3079,2226,2489,3130,2901,2326,3073,3916,4252,4047,3450,2260,3265,3835,3155,2420,2283,2343,2434,2441,1847,1841,2537,2187,2305,2766,2511,2164,2391,2544,2468,2566,2654,2722,2718,2929,2585,2417,2305,2187,2181,2308,2243,2245,2144,2067,2111,1946,1910,1962,2189,1509,1292,1894,2019,1562,1516,1603,1523,1417,1676,2021,2210,2193,1670,2080,2076,2122,2354,2225,1794,1704,1727,1919,2055,1761,1425,1733,2009,2289,1689,1403,1740,1862,1746,1810,1913,1965,2230,2182,1786,1570,1570,1971,2206,2271,1910,2115,1854,1382,1532,1721,1757,1984,1985,2053,1806,1481,1398,2028,2108,2049,1792,1828,1975,2122,2249,1886,1657,1473,1445,1493,1472,1699,2251,2760,2168,2107,2347,1822,1548,1664,1804,2002,2144,2226,1698,1382,1834,1846,1809,1651,1468,1544,1503,1378,1497,1620,1483,1455,1636,1858,1566,1441,1626,1742,1564,1513,1499,1480,1742,2089,2023,1807,1643,1698,1497,1547,1580,1563,1552,1487,1797,2047,2414,2884,2730,2331,2086,1782,1629,1614,1668,2014,2081,1949,1927,1668,1704,1907,1938,1712,1744,1566,1452,1824,1533,1915,2626,2236,1756,1716,1795,2071,1838,1755,1655,1691,2068,1898,1530,1489,1751,1893,2144,2257,2688,2887,2343,1947,2275,2525,2849,2623,2163,2520,2781,2343,1919,1888,1811,1961,2522,2333,2069,2264,1942,1710,2259,2540,2213,2598,2894,2531,2078,2103,2135,1678,1757,1981,2132,1813,1832,1981,1889,2092,2375,2244,1891,2003,2076,1752,1627,1827,2363,2585,2965,3298,3084,2676,2434,2733,3225,3826,4017,3329,2651,3693,4367,4340,3443,2753,2983,2476],[2392,2362,2212,2230,1938,1639,1871,2046,2137,2259,1860,1605,1909,1985,2067,2213,1918,1996,2223,3470,3672,2146,1975,3105,3597,3836,3619,3762,3898,3392,3270,3674,3520,3251,3275,3237,3588,3508,3509,3563,3508,3670,3786,3868,3716,3252,2799,2813,2962,3438,3295,2588,2395,2408,2598,2663,2320,2260,2270,2470,3032,3177,2777,1970,2292,2877,2956,2022,1571,1853,1790,1851,2532,2797,2552,2170,1924,1758,2396,3100,3538,3211,2862,2801,3163,3264,3183,2938,2930,3009,2721,1948,1637,3115,3435,3742,3604,3226,3286,3628,3538,3006,2753,2952,3130,2498,2491,1897,1733,2066,2439,2701,2923,2841,2796,2310,1881,1657,1695,1652,1609,1824,1919,1916,1862,1787,1862,1966,2066,2069,2141,2043,2014,1908,1522,1467,1721,1647,1855,1998,1723,1543,1678,2200,2443,2562,2489,2111,2265,2039,1732,2696,2832,2345,3294,4057,3672,3209,3401,3382,3588,3818,3912,3979,3925,3896,3057,2413,2114,1929,2019,2284,2007,1886,2333,2598,1902,1494,1434,1383,1384,1344,1374,1705,1759,1295,1650,2740,2741,2405,2347,2145,1971,1702,1886,2042,2051,1810,1750,2283,2530,1904,1751,2025,2951,2567,2761,2907,2643,2808,3007,2729,2735,2957,3066,3091,2526,1989,2261,1973,2276,2574,3064,3299,3300,3444,3035,2484,2677,2839,2676,2126,2524,2786,2613,2098,2452,2995,2898,2401,2425,2963,2664,1936,2164,1965,2020,2720,3211,3371,3002,2368,2705,3251,2906,2823,2424,2204,2087,1282,1037,1820,3051,3264,2930,2911,2490,1670,1698,2115,2182,2144,2027,1826,2044,2408,2333,2192,2590,3143,2784,2380,2211,2010,1929,2000,2041,2137,2212,3207,2481,2064,1830,1819,2083,2297,2798,3142,2977,3161,2588,2266,2172,1154,1407,2088,2690,3086,2874,2491,2473,2175,1908,1806,1655,2044,2154,1950,1730,1750,1805,1581,1617,1794,2273,2490,2176,2156,2070,2095,2452,2215,2186,1839,1878,2332,2314,2260,2610,2665,2185,2050,2387,2868,2888,2615,2352,2562,2364,2334,2757,2396,1596,1716,2217,2745,2664,2902,3119,2720,2497,2143,1958,1880,1933,1924,1797,2001,2334,2042,1848,1842,1761,1710,2056,2225,2359,1935,1637,2041,2653,2133,2158,2200,2126,1836,2015,1913,1906,1650,1745,1946,2131,2495,2367,2115,2069,1857,1586,1733,1868,1786,2090,2797,3023,3352,2697,1624,1619,1653,2242,2597,1846,1874,1844,1862,2099,2454,2664,2731,2935,2894,2787,3669,4180,3771,2854,2386,2423,2100,2241,2113,1812,1952,2326,2402,2220,2141,1842,1873,2205,2066,1882,2380,2666,2943,3189,3066,3165,3529,3715,4057,3165,1883,1622,1544,1485,1684,1792,2305,2059,1886,1745,1777,2500,3742,3658,3142,3184,3231,3464,2945,2580,2769,3498,3629,3241,3036,3029,3154,3124,3032,3145,3414,3347,3041,3244,3164,2994,2779,2737,2812,3178,3620,3356,3087,2818,2603,2890,2691,2611,3399,3484,3140,2857,3028,2997,3206,3856,3831,3677,2909,2341,1966,1554,1433,1620,1732,1689,1555,1557,1574,1544,1532,1347,1262,1087,1171,1331,1446,1529,1566,1484,1338,1448,1739,1670,1437,1334,1462,2004,2078,1782,1998,2116,1973,1794,1757,1710,1916,2101,2040,2504,2599,2270,2105,1828,2254,2025,1857,2755,2425,1918,2121,2876,3105,2445,2043,1962,2043,2179,2204,2284,1935,2018,1940,2072,2162,1931,2457,3040,2464,2755,2706,3139,3024,2342,1649,1964,2204,1095,854,1337,1750,2153,2419,1964,2530,2724,2547,2186,2124,3060,2899,2498,2855,2867,2968,2442,2612,2608,3017,2790,2835,2888,2773,2603,2801,2832,2060,1303,1460,1722,2359,2268,2580,1948,2066,1972,1941,1986,2046,1955,1803,2930,4341,3902,3398,3016,2509,2457,1681,1924,2286,3228,3173,2259,2178,2416,2338,2036,2228,2117,2721,2209,1962,1996,1829,2084,2808,2964,3095,3603,3573,2797,1946,1747,1524,1368,1316,1374,1362,1710,2192,2021,1935,2078,2219,2589,2309,2421,1938,1491,1642,1813,1735,1686,1370,1237,1799,2203,2332,2411,2247,2420,2721,3687,3930,3130,2220,2185,2395,2513,2895,3582,3881,2984,1840,1815,1676,1802,1713,1864,2187,2201,1973,1864,1875,1682,1638,1960,1865,1780,2095,2618,2509,2125,2242,2190,1920,1987,2223,2944,3426,3732,4312,3979,3602,3172,2964,2347,2359,2929,3391,3208,3328,3962,3562,1754,1774,2257,2310,2121,2109,2329,2315,1697,1740,2602,3233,3000,3455,2812,2466,2709,2778,2590,2411,2166,2524,1942,1447,2088,2426,2002,1958,2250,2061,2244,2835,2406,2652,3526,3583,3143,2461,2788,3703,3389,2405,2157,2094,1905,2297,2635,2666,2698,2175,1460,1349,1456,1673,1824,1481,1564,2164,2578,2392,2093,2749,2640,1923,1921,2224,2308,2522,2980,2798,2754,1932,1771,1884,1998,2491,2394,2226,2198,2054,2316,2202,1766,2335,2531,2617,2619,3008,2270,3090,3164,2305,2579,3135,3282,3298,2766,2449,2632,2573,3405,3481,3455,3317,2930,2622,2335,2171,2839,2944,2156,2321,2732,3414,2887,2133,2277,2857,3074,3121,2780,2940,2619,2222,2305,2331,2348,2842,3274,2865,2185,2410,2607,2547,3309,2980,2485,3259,3620,3149,2276,1989,2077,2007,1974,1918,1790,1730,1666,1594,1572,1859,3071,4195,4062,3632,2428,2475,2338,1925,2193,3141,3198,2677,2465,2339,2032,2082,2741,2731,2120,2479,2916,2736,2419,2671,2471,2167,1963,2187,2178,2594,3569,3603,3483,3070,3340,2995,2730,2854,2497,2765,2613,2465,2653,2403,2553,2894,3055,3326,4014,4148,3714,3950,4140,3716,2061,1369,2004,2309,2161,1911,1661,1694,1764,1823,1677,1163,1128,1347,1569,1907,2474,2907,3208,2951,1642,1291,1227,1175,1702,1976,2126,2656,2875,2385,1864,1732,2051,2642,3011,3862,4299,4308,4040,2701,1952,2407,2023,1677,1716,1804,1982,1813,1940,1852,1929,1832,1804,1631,1683,1819,1978,2900,3183,2886,2441,1929,1762,1844,1810,2581,2542,2143,2556,2963,2801,2141,1658,1638,2184,2475,2590,2263,2242,2360,2266,2126,2143,1844,2035,2812,2612,2246,1699,1037,1372,1848,1860,1837,1879,1768,1718,1744,1706,1553,2004,2665,2689,2623,2924,3393,3052,2301,1650,1609,1865,1814,1684,1447,1406,1672,1832,1654,1467,1413,1327,1383,1614,1786,1540,1459,1645,1836,1782,1458,1493,1941,2026,1749,1742,1591,1375,1534,1612,1606,1544,1389,1487,1511,1448,1421,1389,1529,1575,1522,1490,1411,1527,1810,1851,1670,1567,1447,1456,1872,2210,1904,1666,1535,1527,1631,1649,2215,2754,3030,3396,3299,2492,2799,3488,3809,3580,3792,3609,3254,3274,3261,3206,3149,3112,3672,3710,3619,3095,2476,2219,2055,1731,1624,1762,1889,1787,1735,1525,1696,1847,1754,1645,1945,1516,1399,1372,1427,1333,1346,1353,1421,1571,1630,1839,1860,1500,1555,1692,1764,1871,1500,2309,2631,2041,1684,1719,1659,1546,1887,1995,2066,2138,2831,3172,2525,3009,3684,3240,2827,2332,2102,1712,1568,1765,1882,2141,2132,2127,1947,1967,2521,2828,3240,3731,3221,2018,1859,1927,2192,2342,2032,2115,2436,2311,2166,2633,2728,2292,2498,2438,2347,2200,1967,2370,1876,1722,2311,2690,2823,2708,2436,2468,1967,1615,1881,2710,3044,2945,3343,3128,2810,2869,3075,2778,2320,2197,2318,2247,2051,2204,2733,2524,1982,2241,1998,1716,1784,2242,2080,1913,2022,1798,1996,2128,2066,1965,1869,1682,1789,1591,1487,1567,1747,2166,2756,2604,2329,2137,2061,2038,2089,2137,2214,1787,1524,1428,1366,1506,1358,1289,1228,1297,1417,1429,1393,1344,1593,1740,1625,1907,2264,2200,2033,2653,3299,3215,2611,1681,1353,1337,1612,2333,2599,2050,1656,1717,2018,2457,2043,3543,2965,1849,1593,1687,1968,1851,1739,1672,1612,1640,1677,1506,1568,1839,1527,1422,1575,1792,1889,1876,1858,1609,1379,1501,1550,1481,1680,1624,1712,1904,1815,1653,1685,1730,1667,1647,1567,1558,1794,2049,2662,1956,1685,1788,1595,1614,1814,1608,1678,2174,2163,2539,2822,2148,2014,2271,2014,1816,1964,2045,1721,1593,1574,1437,1443,1764,2184,2414,2568,2394,2206,3197,3272,2352,1756,2012,1964,1902,2334,2299,1706,2386,2911,2372,2040,2336,2373,2273,2134,1822,1971,1938,1582,1910,1765,1761,2084,1865,1833,2376,3064,3354,3042,2646,2685,3122,3010,2215,2863,3360,2884,3289,2767,2288,3043,3087,2879,2645,1901,2039,2213,2602,2717,2685,2060,2083,2863,2833,2552,2264,2046,2099,2270,2633,2817,3002,2637,2600,2122,2006,2141,2010,2150,2311,2227,2524,2564,2228,2200,1988,1759,1963,2464,2458,2153,1775,1399,1336,1591,1733,1804,1676,1704,1766,2160,2481,2066,2383,2532,2360,2234,2018,1753,1558,1476,1686,1838,1626,1597,1664,1795,1589,1502,1830,2342,2156,1543,1478,1679,1975,2133,1937,1707,1574,1448,1574,1592,1434,1519,1869,1779,1604,1588,1557,1513,1604,1555,1720,1732,1644,1742,2008,1947,1699,1628,1616,1630,1896,1873,1744,1649,1567,1699,1814,1456,1904,2527,2806,2887,3184,3230,2600,2138,1904,1815,1901,1871,1636,1661,1628,1514,1451,1419,1377,1429,1444,1613,1738,1729,1597,1539,1537,1595,1523,1408,1382,1425,1415,1427,1517,1492,1623,1898,1923,1878,1638,1574,1465,1771,2060,1691,1557,1590,2084,2674,2663,2451,2365,2038,1725,1659,1574,1591,1622,1674,1968,2047,1925,2035,1838,1841,1800,1635,1526,1695,1532,1360,1930,2026,2062,2345,2040,2013,2150,2282,2167,1918,1520,1329,1606,1727,1556,1445,1642,1831,1739,2109,2447,3134,2575,2567,2109,1813,2163,2636,2796,2944,3128,3234,2592,2217,1998,1768,1744,1760,1542,1819,1942,1896,2094,2831,3174,2952,3061,2375,2531,2762,2628,2499,2231,2254,2533,2337,1886,2054,2374,2163,1924,1676,1461,1593,1712,1987,1836,1877,2188,2584,2608,2609,2782,2667,2868,2896,3429,3864,4122,4229,3736,3037,3355,3930,3283,2243,2526,2766,2625],[1817,2180,2080,1859,1903,1773,1881,1608,1640,1864,1798,1814,1879,1930,2007,1923,1631,1991,2070,3168,3726,2143,1759,2922,3440,3705,3780,3544,3620,3506,3241,3515,3553,3404,3107,3050,3140,3317,3408,3300,3330,3616,3647,3615,3371,2727,2267,2613,3051,3582,3452,2595,2521,2432,2315,2665,2578,2556,2422,2686,3046,2989,2842,2459,2734,3135,3134,2930,2894,2645,2680,2824,2620,2266,2447,2019,1486,1440,2082,3168,3657,3273,2924,3378,3685,3617,3218,3095,3803,3694,3426,2824,2640,3470,3785,3649,3146,2676,2969,3673,3308,3104,2589,2330,2509,2389,2737,2845,2522,2285,2401,2685,2783,2539,2664,1987,1806,1478,1564,1534,1434,1625,1867,1950,1942,1925,1920,1874,1817,1794,2053,1758,1908,1944,1483,1556,1935,2093,2292,2541,2311,2086,2099,2083,2325,2580,2307,2406,2175,1354,929,1930,2833,3113,3395,3702,3595,3038,2795,2603,2619,2796,3309,3382,3594,3719,2871,1967,1995,1936,1671,2100,1972,2119,2766,2708,1966,1618,1609,1526,1517,1460,1516,1776,1768,1329,2129,2907,2835,2846,2298,1935,1997,1716,1681,1509,1392,2163,2899,2662,2472,1823,1781,1929,2630,2690,2766,2756,2376,2696,2836,2054,2046,2008,2238,2729,2589,2092,1914,1972,2513,2616,3102,3592,3291,3149,3144,3037,3183,2811,2630,2928,3109,2928,2534,2422,2894,3117,2963,2320,2362,2765,2968,2036,1707,1770,2119,2032,2227,2480,2566,2644,3012,3326,2614,2353,1940,2079,2046,1620,1384,1869,2887,3412,3150,2573,1792,1571,1680,1725,1605,1662,2271,2352,2341,2851,2909,2534,2856,3012,2353,2263,2205,2502,2163,2084,1707,1669,2250,2891,2956,2830,2288,2153,2145,2598,2999,3087,2664,2985,2398,2132,2263,1539,1675,2400,2661,3148,3429,3265,2664,1913,1925,2331,2076,2073,2109,2118,2290,2100,1665,1892,2068,1967,2003,2171,2498,2870,2785,2466,2301,2428,2132,1616,1610,1654,2333,2956,3208,2884,2332,1835,1996,2115,2122,2079,1826,1919,1763,1687,2295,2106,1986,2126,2127,2012,2010,2663,2569,2132,2132,2022,1843,2004,2290,2148,2042,2326,2688,2902,2562,2039,1741,2030,2114,2039,1886,1749,1530,1742,2005,1880,2431,2744,2498,1801,2152,2055,1644,1627,1749,1737,1865,1940,1863,1899,2259,2389,1835,2391,2249,2049,2305,2442,2529,2735,2201,1587,1578,1531,2121,2008,1880,2167,1832,1663,1887,2046,2131,2290,2632,2775,2845,3303,3606,3749,3223,2713,2688,2270,2143,1984,1991,2097,2077,2072,1991,2198,2424,2404,2358,2404,2522,2822,2692,2840,3206,3198,3500,3772,3793,3902,2908,2099,2054,1823,1562,1533,1750,1993,1754,1529,1848,2044,1891,2678,2714,2219,2247,3351,2813,2334,2872,3642,3944,3551,3155,3035,2988,3252,3240,3306,3133,3221,3089,2845,3166,3286,3067,2788,2766,2810,3178,3262,2906,3004,2924,2617,2917,3006,3340,3707,3544,3205,3217,3285,2918,2875,3145,2996,2873,3030,2803,2024,1818,1737,1980,2008,1617,1655,1562,1549,1525,1392,1489,1298,979,1260,1390,1395,1435,1498,1478,1423,1595,1564,1476,1316,1279,1591,2188,2114,1801,2083,2404,2188,1653,1685,2146,2054,2020,2287,2919,2534,2313,2253,1943,2338,2207,1785,1758,1852,2141,2121,2142,2851,2314,1844,2013,2212,2298,2286,2163,1850,1712,1859,2446,2436,2192,2090,2254,2020,2530,2501,2898,2947,2591,1920,1892,1887,985,902,1186,1631,1818,2000,1875,2090,2444,2362,2003,1989,2463,2663,2601,2435,2482,2686,2555,2742,2762,2721,2264,2244,2570,2502,2489,2450,2355,2159,2166,1987,1715,2270,2193,2103,1828,2038,1795,1669,1718,1733,2133,2085,2189,3111,3296,3161,2684,2884,2744,2196,2212,2292,2786,2940,2330,2231,2807,2667,1980,1781,1763,2172,2366,2677,2351,1797,1968,2234,1951,2617,3232,3506,2489,1700,1535,1383,1390,1377,1341,1433,1508,1534,1690,2460,2250,2200,1925,1781,1657,1436,1450,1760,2015,1910,2082,2245,1895,1878,1864,2070,1909,1785,1829,1804,1825,2493,2608,2135,2032,2002,2150,2299,3024,3924,3209,1997,1686,1677,1726,1834,1853,1979,1954,1746,1487,1753,1577,1712,1887,1798,1720,2017,2467,2618,2631,2392,2127,2156,2049,1912,3294,3809,3972,4116,3848,2648,1592,1673,2165,2419,2766,3493,3292,3306,3778,4103,2623,2265,2729,2571,2098,2074,2097,1785,1698,2025,2823,3073,3278,3477,2669,2304,1756,2226,2550,2487,2562,2441,2098,1727,1825,2187,1857,2263,2646,2163,1947,2325,2292,2889,3805,4000,3768,2716,2197,2938,3827,3332,2694,2260,1648,1714,2310,2394,2357,2312,2053,1806,1732,1735,2004,1741,1841,1935,2459,2241,2188,2847,2815,2194,2037,1950,2008,2115,2908,3187,2488,1978,1991,1734,1646,1908,1914,2004,2150,2005,1954,1937,2269,2821,3649,3694,3166,2878,2019,2243,2741,2476,2655,2920,2943,3409,3561,2603,2471,2303,2740,3261,3693,3964,3361,2749,2678,2677,2746,3012,2201,2103,2535,2476,2002,1721,1898,2033,2730,2792,2723,2845,2790,3099,2866,1958,1938,3066,3353,2966,2552,2718,2689,2550,3078,3151,2469,3146,3488,3252,2430,2103,2122,2069,2018,1997,1926,1811,1708,1653,1621,1780,2842,4257,4313,3340,2416,2427,2366,1914,2061,2532,2670,2586,2568,2536,2186,2080,2193,2384,2199,2080,2268,2973,3392,2880,2480,2120,1953,2051,2179,2378,3056,3410,2590,1857,2749,3143,3035,2147,2006,2684,1958,1589,1876,2220,2519,2539,2559,2485,2723,3376,3916,4151,3499,1991,1450,1924,2377,2360,2134,1708,1716,1795,1594,1756,1387,1130,1325,1461,1541,1864,2088,1941,2286,2125,1675,1960,1268,1343,1909,2214,2380,2994,3791,3352,2243,1647,1807,2233,3003,3902,4219,4201,3041,1836,2269,2348,1766,1627,1576,1922,2314,2290,2236,2170,1977,1812,1864,1886,1808,1748,2298,3124,2880,2687,1940,1685,1768,1734,1919,2600,2540,2364,2856,3046,2278,1735,1643,1985,2248,2348,2426,2179,2126,2200,2411,2353,1933,1942,2912,2762,2509,2019,1223,1437,1826,1704,1643,1625,1710,1896,1755,1654,1929,2365,2785,3164,3364,3130,2722,2803,2802,2199,1530,1555,1867,2036,2115,1581,1453,1631,1818,1515,1355,1253,1432,1761,1851,1671,1507,1457,1643,1917,1968,2359,2127,1750,1622,1618,1714,1702,1595,1532,1691,1724,1410,1308,1482,1625,1550,1571,1541,1454,1506,1670,1461,1322,1435,1656,1932,1928,1765,1609,1457,1746,1882,1657,1560,1591,1969,2070,1457,1777,2341,2486,2246,2090,2490,3154,3651,3720,3536,3542,3443,3523,3680,3495,3559,3819,3443,3753,3796,3498,2746,2379,2517,2099,1707,1786,1937,1766,1631,1568,1621,2182,2084,1917,1855,1963,1592,1434,1403,1312,1331,1355,1275,1342,1536,1516,1586,1481,1526,1736,1751,1480,1174,1202,1700,2187,2154,1773,1628,1738,1906,1987,1716,1695,2182,3031,3129,2751,3350,3993,3294,2546,2235,1765,1588,2101,1806,1729,2137,1929,1760,1936,2242,2335,2501,3099,3132,2598,2084,2009,1954,2120,2370,2298,2567,2729,2280,1982,2592,2567,2154,2592,2458,2253,1955,2205,2600,2245,1922,2071,2479,2875,3032,2820,2495,2026,1738,2071,2957,3184,3099,3377,3598,3355,3155,2758,2066,1936,2510,2288,2249,2568,2834,2820,2556,2238,1825,1709,1744,1704,1682,1672,1682,1888,2003,2449,2504,2265,1904,1843,1792,1729,1780,1954,1903,1743,2009,2490,2531,2625,2286,2041,2292,2161,2048,2228,2064,1677,1638,1669,1737,1448,1375,1384,1280,1281,1525,1559,1656,1847,1802,1820,1574,1630,1808,1825,2258,3184,3003,1733,1131,1399,1456,1489,1692,1695,1815,1649,1575,2159,2712,2069,3296,2438,1661,1718,2073,2262,1898,1703,1744,1744,1494,1671,1509,1484,1603,1437,1367,1527,1642,1635,1660,1636,1494,1558,1492,1750,1593,1521,1706,2157,2363,2305,2318,2335,2448,2656,2219,1887,1975,2278,2308,2539,2056,2103,1997,1651,1931,2547,1917,1837,2214,2001,2360,2337,1622,1993,2032,1709,1679,1968,2135,1815,1532,1514,1489,1353,1606,1978,2351,2209,1765,2297,3313,3110,2191,1796,1630,1584,1939,2165,2408,2280,2453,2496,2488,2307,2013,2027,2269,2358,1983,2302,2235,2092,2292,1978,1841,2275,2016,2065,2822,2790,2167,2175,2494,2531,3077,1980,1780,2750,3285,2597,2719,2461,2629,3200,2590,2995,2714,2323,2787,2467,2812,3245,2896,2121,2497,3030,2703,2483,2209,2150,1942,2529,2293,2197,2770,2501,2656,2463,2392,2658,2654,2639,2305,2339,2601,2522,2761,2308,1627,1652,2474,3009,3440,3106,2432,1857,1724,1639,1784,1749,1743,1722,2145,2328,2644,2623,2369,2213,1920,2104,2319,2032,1825,1618,1347,1382,1476,1560,1677,1774,1657,1829,2096,2062,1694,1327,1369,1579,1795,2041,1903,1804,1639,1484,1393,1460,1793,2030,1826,1687,1556,1465,1311,1348,1457,1578,1998,1794,1800,2004,1845,1698,1580,1560,1550,1822,1931,1658,1450,1496,1462,1636,1849,1743,2141,2459,2735,3142,3077,3120,3100,2640,2208,1861,1930,1920,1734,1682,1522,1409,1437,1332,1508,1794,1628,1666,1548,1447,1511,1507,1507,1461,1369,1358,1273,1319,1454,1385,1416,1435,1516,1560,1523,2174,2245,1695,1560,1992,1925,1576,1824,2141,2941,3062,2722,2646,2056,1780,1692,1658,1624,1736,1946,1959,2222,1934,1645,1943,2292,2044,1774,1570,1561,1587,1739,1868,2002,1936,1749,1702,1864,2045,2091,2567,2127,1889,1592,1498,1576,1554,1738,1704,1758,1675,1593,1943,2176,2602,2340,2185,1947,1714,2077,2644,2961,2844,3597,4277,2864,2093,1752,1747,1975,1721,1644,1895,1999,2012,1733,2405,3348,3332,3163,2551,2652,3019,2934,2931,2446,2199,2575,2473,2010,1980,2464,2203,1810,1580,1604,1727,1813,2246,2245,2546,2823,2966,3082,3074,2765,2099,2321,2187,2798,3291,3829,4042,3930,3764,3603,3566,3033,2777,3083,2994,3239],[1534,1707,1717,1461,1640,1981,2048,1659,1660,1863,2236,2692,1842,1711,2494,2958,3037,2668,2311,3192,3658,2267,1490,2217,2574,3272,3608,3088,3443,3452,3409,3666,3707,3365,3294,3059,2941,3245,3262,3297,3211,3442,3435,3560,3420,2911,2306,2220,2763,3484,3376,2805,2641,1906,2088,2815,2708,2920,3304,3121,2556,2419,2722,2666,2634,2952,3105,3496,4047,3835,3579,3325,2790,2749,3243,2519,1446,1312,2008,2807,3040,2977,2777,3327,3499,3472,3471,3704,3724,3043,3454,3774,3673,4011,4024,3303,2854,2565,2798,2977,3339,3564,2386,1920,2266,2317,2244,2721,3187,2718,2534,2524,2674,2745,2262,1364,1286,1449,1439,1350,1318,1540,1872,2010,1938,1829,1781,1853,2044,1931,1772,1642,1767,1647,1648,1835,2218,2656,2721,3007,2750,2751,2708,2526,2656,2711,2752,3132,2724,1877,1796,2171,2668,2921,2769,2618,2383,3060,3210,2697,2421,2278,2226,2336,3160,3708,2944,2148,2452,2335,2360,2162,1889,2105,2972,3042,2060,1989,2130,1905,1973,1967,2014,2062,1935,1426,2388,2818,2706,2566,2016,1986,1986,1869,2045,1503,1550,2837,3492,3561,2789,2318,2366,2343,2662,2636,2348,2397,2183,2125,1892,1899,2117,2320,2408,2592,2728,2327,1918,2235,2889,2976,3062,3010,2922,3592,3500,3305,3243,2988,3002,3312,2811,2429,2298,2350,2810,2899,2539,2263,2400,2661,3178,2587,1672,1913,2371,2261,2345,2048,2196,2935,3184,3000,2644,2252,2170,2156,2228,2046,1914,2110,2176,2308,2603,2117,1393,1824,1834,1579,1494,1787,2121,2684,2988,3261,3364,3146,3263,3030,2243,2358,2005,2277,2446,2340,1898,1680,2007,2260,2356,2396,2311,2238,2021,2549,2453,2589,2490,2546,2543,2711,2986,2798,2540,2689,2909,3164,3221,3081,3197,2534,2653,2861,2508,2277,2402,3082,3196,1890,1538,2200,1784,1872,2048,2167,2868,3488,2864,2131,2004,2086,1919,1853,1804,1475,1644,1772,2534,2484,2761,2552,2044,1759,2054,2438,2255,2040,1643,1677,1626,1423,1772,2276,2062,1999,2202,2383,2059,1898,2056,1826,1696,2667,2562,2244,2330,2526,2949,3294,3351,2854,2170,1865,1926,1975,1736,1759,1628,1692,1686,2363,3232,3393,2767,2166,2192,2013,1738,1668,1560,1628,1970,1844,1580,2138,2518,2986,2366,2226,2168,2296,2737,2400,1914,1986,1965,1853,1693,2194,2338,2178,2016,1786,1638,1620,1924,2240,2030,1674,1908,2081,2320,2530,2922,2877,2548,2143,2030,2198,2204,1952,2114,2237,1829,1797,2225,2317,2766,2492,2166,2119,2705,2948,2618,2583,2923,3241,3416,3439,3573,3838,3365,2602,2678,2521,2097,1873,1708,1772,1754,1318,1878,2688,3000,2451,2144,1970,2142,2836,2767,2609,3131,3602,3759,3457,3271,3303,3733,3670,3320,3797,3482,3404,3122,2769,2888,2961,3031,3156,3074,2888,3096,2955,2589,2504,2492,2423,2629,3163,3237,2897,2718,3006,3288,3550,3408,3112,2843,2657,2193,2463,2719,2662,2536,2275,2285,2039,2226,2267,1649,1490,1455,1399,1572,1504,1449,1469,1384,1371,1348,1395,1421,1389,1518,1378,1366,1328,1368,1707,2347,2045,1811,2207,2388,2266,1695,1593,1986,2230,2265,2191,2437,2501,3178,3022,2192,2432,2296,1896,1805,2084,2757,2326,1931,2526,2356,1819,2066,2359,2110,1871,1958,1818,1805,2024,2710,2497,2509,1864,1305,1569,1995,2157,2541,2524,2297,2558,2369,2349,1488,1265,1516,1967,1778,1659,1810,2024,2289,2270,1988,2088,2067,2279,2452,2411,2328,2255,2052,1853,2166,2520,2442,2584,2382,2055,2280,2227,1992,2212,2864,2297,1738,1534,1548,1631,1753,1942,1613,1559,1643,2004,2751,2854,2658,2585,2601,2777,2888,2844,2477,2284,2260,2084,2066,2068,2066,2370,2721,2469,1786,1666,1704,1880,2540,3040,2521,2030,2043,1904,1865,2591,2862,3178,2254,1703,1578,1544,1497,1489,1556,1600,1672,1605,1869,2544,2254,2536,2113,1648,1541,1716,1897,1837,1955,2115,2280,2193,2055,1574,958,1051,1283,1777,1847,1601,1462,1700,2282,2042,1722,1770,2018,2031,2596,3618,3317,2139,1700,1590,1706,1751,1590,1964,2080,1823,2040,2030,1570,1702,1796,1777,1936,2217,2410,2445,2182,1546,1755,2221,2040,2125,2371,2322,2295,2080,2266,1737,772,1316,2088,2248,2713,3529,3334,3546,4055,4255,3427,2723,3018,2940,2351,2276,1587,1686,1838,2315,3353,3690,2981,2497,2509,2496,2557,3093,3012,2980,2432,1702,2034,2084,1899,2398,2048,2149,2510,2425,2001,1813,2296,3254,3905,3595,3492,3122,2788,2657,3110,3222,2944,2146,1891,2189,1980,2003,2192,2499,2814,2423,2194,2158,2203,1896,2275,2409,1839,1477,1834,2349,2544,1951,2160,1724,1696,2105,2548,2358,2071,2044,2020,1817,1624,1797,1836,1762,2382,2568,2535,2397,3162,3469,3753,3872,3340,2682,2187,2002,2393,2619,3141,3305,3197,3597,3553,2647,2216,2127,2329,2544,3060,3595,3636,3379,3032,2894,2962,2920,1994,1659,1829,1666,1838,1970,1834,2281,2924,2700,3354,3086,2587,2728,2110,1380,1574,2144,2664,2437,2276,2451,2403,2583,2646,2877,2471,2938,3304,3200,2569,2161,2072,2088,2082,2066,2001,1896,1782,1714,1723,1712,2535,4108,3879,2484,2244,2599,2494,1886,1676,2111,2383,2546,3088,3164,2343,2013,1884,2437,2308,2017,2048,2850,3189,2719,2776,2412,2423,2644,2570,2068,2319,2250,2024,2047,2342,3253,3178,1799,1677,2129,1772,1525,1906,2679,2924,2724,2578,2329,2235,2393,3085,3696,2324,924,987,1715,2404,2197,1932,1930,2008,1574,1445,1626,1215,1219,1412,1643,1860,2770,2886,2176,1816,1943,2264,2630,2036,1766,1941,1888,1947,2810,3232,2590,1876,1640,2156,2139,2021,2533,3172,3154,2191,2310,2440,1885,1538,1375,1830,2297,1906,1693,1680,2019,2262,2119,1880,1841,1748,1779,1973,2293,2372,2314,2004,1816,2370,1999,1841,2592,2578,2460,2556,2294,1882,1830,1848,2173,2053,2235,2286,2342,2342,2520,2534,1985,1810,2806,2776,2366,1980,1348,1700,2046,1743,1487,1566,1602,1594,1557,1692,2568,3482,3573,3740,3710,3167,2231,1614,2063,2415,2077,1740,1634,1538,1786,2406,2178,1692,1581,1807,1581,1546,1528,1837,2441,2222,1395,1344,1482,1880,1991,2066,2586,2242,1939,1719,1639,1831,2077,1868,1438,1701,1749,1534,1482,1578,1554,1447,1544,1504,1375,1512,1471,1246,1461,1498,1516,1698,1932,1825,1788,1751,1766,1416,1273,1838,1924,2010,2158,1581,1992,1919,1836,1732,2403,3111,3109,3437,3660,3390,3270,3295,3707,4002,3671,3437,3605,3514,3559,3309,2508,2232,2630,2675,2354,2174,1797,1743,1675,1708,1722,2004,1996,2054,1924,1636,1634,1655,1499,1420,1448,1450,1411,1300,1419,1438,1582,1600,1540,1558,1586,1521,1094,964,1401,1738,2114,2231,1916,1691,1626,1526,1637,1744,1837,2438,2762,2665,2700,3064,3459,2964,2698,2476,2408,2353,2253,1721,1684,1779,1655,1720,2297,2547,2608,2586,2526,2220,1860,1950,2248,2244,2182,2200,2348,2380,2210,1811,1687,2497,2866,2746,2556,2413,2389,2244,2138,1953,2081,2144,1926,2342,2713,3231,2823,2288,2614,2620,2589,2832,2932,2924,3107,2857,2488,2918,3094,2144,1568,1908,1689,2501,3055,2934,2604,2381,2032,1551,1487,1520,1437,1516,1947,1909,2576,2830,2842,2589,2165,2070,2093,1998,1778,1633,1893,2056,1836,1992,2022,2263,2734,2963,2745,2512,2299,2056,2255,2426,1936,1764,2117,2431,1770,1506,1518,1312,1339,1609,1695,1708,1654,1642,1768,1413,1346,1358,1495,1843,2788,2628,1652,1460,1561,1522,1594,1579,1603,2072,1981,1848,2201,2156,1710,1868,1541,1323,1638,1955,2037,1830,1764,1656,1686,1642,1655,1569,1393,1507,1489,1379,1649,1848,1698,1519,1414,1411,1612,1628,1924,1582,1299,1578,1907,2069,2371,2404,2231,1979,2275,2087,2183,2340,2082,1943,1637,1577,1563,1838,2104,2260,2547,1776,1742,1990,2408,2587,2130,1738,2210,2127,1563,1505,1919,2178,1841,1543,1440,1242,1473,1672,1887,2254,2198,2063,2335,2591,2632,2801,1998,1545,1614,2267,2160,2404,2371,2078,1887,2042,2114,2254,1933,2098,2361,2601,3383,3379,2749,2372,2226,2198,2370,2354,2368,2578,2346,2349,2712,2398,2069,2633,1907,1732,2856,3614,3059,2752,2670,2513,2634,2379,2587,2524,3062,3494,3121,2784,2864,2498,2104,2853,2894,2398,2263,2248,2398,2380,2410,2148,2107,1972,2175,2870,2732,2502,2696,2626,2768,2278,2471,2385,3043,3509,2712,1896,1642,2001,2735,2894,2489,2656,2540,2176,1710,1590,1443,1562,1948,2145,2267,3113,2962,2399,2075,2066,2853,2938,2404,2244,1722,1375,1804,1830,1499,1642,1687,1532,1741,1975,1754,1589,1552,1513,1608,1665,1720,1933,2078,1943,1781,1650,1721,1993,2030,1826,1772,1656,1925,1942,1936,2039,1919,1938,1833,1844,1769,1698,1801,1593,1489,1830,2260,2265,2136,1837,1848,1642,1479,1516,1607,1688,1789,2200,2526,2817,2966,2996,2932,2466,2024,1924,1916,1790,1484,1296,1489,1714,1490,1680,1915,1704,1717,1562,1535,1490,1681,2157,1870,1431,1415,1422,1399,1472,1433,1431,1433,1632,1534,1452,1903,1920,1548,1629,2164,2425,2138,2676,3174,3282,2619,2214,1892,1714,1705,1628,1695,1713,2015,2192,1800,1901,1621,1838,2046,2200,2071,1810,1799,2018,2070,2196,2365,2340,2397,2017,2059,2005,1862,1888,2152,1938,1634,1516,1630,1664,1667,1776,1556,1984,1732,1622,1844,2026,2070,1971,1952,1833,1988,2796,3006,3226,3126,3653,3880,2800,2031,1920,2054,2138,1917,1943,2040,2231,2204,1785,1882,2459,2546,2424,2194,2294,2622,2776,2464,2028,2221,2484,2427,2377,2414,2435,2091,1954,1929,2230,2104,1880,2059,2408,2705,2369,2734,3059,3286,3141,2261,2006,1656,1934,2544,2966,2866,3166,3562,3112,3082,2974,3104,2798,2867,3078],[2002,2303,2087,1801,1772,2133,2514,1895,1866,2202,2662,3317,2310,1787,2937,3487,3416,2641,2009,2508,3210,2539,1569,2254,2691,3219,3529,3225,3435,3740,3872,3652,3356,3072,3376,3850,3391,2555,2356,2859,3006,3484,3435,3536,3341,2818,2563,2548,2554,3119,3297,3376,2878,2225,2561,2995,3012,3606,3937,3883,3662,3352,3247,2547,1999,2375,3431,4120,4417,4185,3592,3195,2435,2327,2859,2752,2184,1921,1953,2373,2393,2631,2829,3480,3608,3775,3812,3414,3326,3470,3717,4304,4239,4207,3686,3186,3076,3094,3043,2945,3651,3348,2282,2336,2339,2092,2379,2640,3163,3167,2353,2259,2653,2797,2287,1326,1180,1535,1538,1305,1489,1867,2036,2007,1675,1532,1656,1929,2103,2288,2153,1913,1950,1968,2148,1963,2314,3134,3563,3483,3007,2830,2371,2019,2172,2631,3095,3028,2541,2093,2538,2604,2817,2745,2353,2308,2607,2934,1868,1357,1814,2066,1803,2055,3143,3681,3043,3138,3688,3304,3130,2291,2029,2265,3153,3349,2147,1955,1894,1695,1778,1683,1755,2035,1917,1438,2191,2418,2143,1906,1853,2086,2118,2339,2999,2369,2173,2366,2604,3083,2830,2505,2638,2377,1961,2175,1918,1857,1856,1612,1478,1843,2168,2199,2000,2025,2294,2470,2230,2192,2785,2963,3264,3086,3185,3759,3683,3495,3287,3031,2684,2485,2454,2512,2610,2412,2785,2911,2316,2240,2219,1854,2238,2382,1898,2004,2170,2311,3105,2876,2299,2411,2922,2150,1743,1788,2286,2321,2140,2099,1991,1885,2016,2308,2074,1666,2178,2627,1929,1450,1750,2091,2112,1977,1977,2424,2931,2729,3039,2981,2789,1980,1002,1465,2375,2551,2343,2232,2066,1766,1592,1723,2097,2109,2122,2399,2289,2525,2321,2061,2227,2401,2691,3001,2986,2790,2909,3352,3328,3387,3797,3134,2895,2584,2260,2305,2371,3076,3022,1506,2148,2503,2129,2140,2388,2477,3241,2954,2020,1930,2012,1816,1566,1427,1518,1750,1716,1914,2895,2801,3203,2934,2579,2546,2145,2046,2059,1863,1553,1602,1366,1478,1466,1916,2244,2279,2128,2149,2332,2208,1958,1842,2366,3141,2591,2246,2407,1923,2277,3231,3587,3163,2113,1803,1733,1733,1854,2571,2304,1881,2269,3086,3321,3154,2991,2787,2497,2329,1775,1757,1680,1709,2055,2077,1953,2276,2260,2445,2176,1691,1642,1980,2481,2222,1796,2164,2398,2161,1950,2414,2358,2342,1881,1068,1274,1593,1948,2153,1989,1677,2010,1990,2030,1961,1718,1805,2142,1970,1675,1928,1879,1673,1548,1664,1782,2131,2344,2259,2168,2524,2739,2713,3220,3321,3105,2643,2729,3163,3223,3374,3371,3483,3464,3018,3188,3323,3022,2698,1710,1509,1642,1483,2103,2963,3123,2205,2252,2524,2515,2855,3221,3331,3545,3727,3895,3796,3374,3499,4181,3571,3490,3956,3488,3342,3207,2865,2680,2641,2805,3087,2811,2645,3061,2875,2397,2153,2482,2689,2907,3333,3037,2635,2191,2502,3167,3536,3338,3127,2623,2596,2710,2406,2501,2927,2728,2184,2221,1877,2324,2118,1653,1684,1500,1347,1462,1534,1548,1509,1377,1338,1278,1377,1488,1371,1378,1405,1371,1394,1420,1880,2351,1921,1998,2222,2205,2192,1731,1664,1666,1917,1722,1614,1797,2030,3065,3233,2033,2206,2035,2095,1977,2194,2877,2441,1956,2944,2919,2132,2396,2502,2097,1719,2178,1953,1825,1977,2728,2778,2721,1504,850,1345,1820,2076,2154,2246,2399,2483,2317,2303,1767,1529,1699,1904,1770,1730,1898,1944,1947,2177,2123,2118,1928,1980,2053,1756,1403,1668,1786,2097,2674,2533,2475,2900,2047,1808,2000,2064,1796,2108,2397,2013,1743,1432,1481,1608,1591,1725,1682,1648,1589,2015,2517,2752,2645,2477,2431,2468,2315,2121,1993,2078,2248,2127,1805,1998,2142,2292,2105,1921,1917,1901,1761,1892,2677,2984,2248,2112,1836,1882,2283,2497,2083,2083,2149,1862,1942,1914,1514,1482,1830,1921,1910,1694,1715,1864,2142,2545,1908,1336,1661,2262,2376,2092,2183,2533,2322,2021,2002,1603,1224,1251,1541,2079,2021,1547,1651,1780,2434,2015,1358,1594,2110,2124,2373,3324,3299,2267,1835,1740,1695,1659,1720,1955,1898,2045,2148,1927,1883,2009,2158,2255,2100,1962,2028,1960,1455,884,1189,1831,2090,2085,1286,830,1197,1564,2065,1990,1257,1904,2275,2275,2998,3407,3292,3637,3929,3901,3340,2721,2776,2671,2452,2407,2069,2117,2133,2209,2901,3073,2729,2878,3032,2455,2158,2713,2876,3133,2180,1416,2335,2210,1876,2480,1887,1618,2313,2445,1938,1554,2072,2962,3658,2997,2418,3007,2870,2276,2119,2184,2589,2407,2345,2362,2105,2160,2212,2669,2753,2493,2215,1860,1793,1883,2468,2788,2121,1254,1327,1743,2147,1726,1697,1925,2341,2856,2668,2102,1779,1809,1799,1851,1942,2212,2260,1982,2556,2941,2139,1713,2735,3282,3372,3774,3470,2786,2458,1794,2042,3260,3698,3528,2857,2711,2573,2076,1787,2155,2416,2279,2401,2653,3250,3696,3221,2854,3053,2720,1994,1441,1457,2113,2500,1936,1729,2665,3637,2865,2874,2819,2585,2676,2308,2042,2388,2426,2017,1801,2115,2590,2806,2656,2371,2708,2485,2872,3328,3066,2526,2087,1983,2071,2089,2099,2078,1960,1853,1758,1745,1677,2238,3865,3716,2417,2317,2754,2524,1894,1842,2261,2386,2451,2842,3438,3032,2048,1826,2248,2385,2410,2617,2391,2425,2896,3626,3274,2675,2598,2625,2640,2553,1575,1649,2222,2093,2601,3219,2497,1813,1825,1848,2157,2577,2776,2691,3059,3206,3030,2796,2267,2720,2597,1140,687,665,1330,1838,1816,1830,1582,1303,1267,1531,1449,1251,1428,1561,1713,2461,3482,3748,2728,2008,1831,1798,2182,1967,1647,1675,1591,1899,2371,2442,2149,1521,1584,1906,1861,1986,1806,1838,2065,2233,2742,2116,1837,1689,1743,2297,2059,1732,1838,1736,1729,1947,2202,2205,1903,1825,1693,1722,1841,1916,1926,1942,2144,2755,2090,1722,2306,2535,2431,2227,1839,1782,1839,1736,2012,2192,1960,1848,2164,2206,2302,2053,1703,2700,3096,2722,2078,1477,1572,2127,2154,1550,1266,1411,1472,1671,1749,2413,3733,3921,3823,4086,4019,3418,2614,1985,1996,2407,2506,2030,2072,1931,1840,2264,2438,2139,2189,2000,1909,2239,1947,1506,1766,1569,1489,1617,1905,1871,2039,2398,2286,1975,2288,2185,1848,2113,2499,2038,1665,1488,1482,1459,1544,1593,1573,1589,1497,1352,1392,1490,1510,1436,1633,1458,1385,1510,1624,1810,1993,1988,1830,1603,2021,2464,2120,1906,1978,1792,1980,1891,1662,1772,2711,3349,3312,3500,3561,3187,3059,3012,3396,3475,3466,3498,3300,3581,3181,2447,2143,2209,2877,3124,2830,2636,2113,1787,1735,1975,1952,2044,2106,2188,2019,1615,1509,1605,1486,1455,1454,1455,1413,1302,1482,1583,1643,1530,1427,1577,1499,1056,1043,1277,1527,1733,1868,2148,2151,1851,1615,1300,1431,1607,1920,2765,2702,2810,2828,2403,2481,3109,3309,3176,3501,2786,2071,2190,1903,1499,1613,2540,2875,2465,2614,2723,2363,2051,1981,1946,1989,2072,1963,1903,1975,1974,2426,2412,2473,2937,2811,2420,2427,2522,2554,2380,2031,1915,1987,1856,1904,2302,2740,3211,2934,2797,2879,3111,3160,3295,3485,2939,2459,1926,1869,2241,2413,2423,2052,1602,1912,2635,3159,3104,2607,2461,1966,1557,1503,1488,1626,2062,2341,2098,2350,2725,2945,2585,2038,2027,1859,1751,1771,1734,2169,2009,1988,2005,1983,1982,2373,2852,2769,2536,1946,1647,1954,2007,1675,1624,2460,2576,1720,1571,1513,1396,1391,1512,1670,1619,1380,1389,1497,1424,1391,1557,1796,1982,2619,2970,2801,2413,1843,1767,1832,1664,1466,1842,2238,1918,1899,2013,1677,1648,1381,1071,1408,1701,1910,1642,1574,1541,1561,1717,1793,1589,1555,1890,1715,1306,1432,1487,1487,1376,1385,1427,1577,1612,1841,1678,1266,1413,1707,2044,2490,2480,1896,1793,2414,2128,2183,1998,1771,1711,1667,1516,1170,1683,2597,2380,1982,1744,1559,1972,2491,2439,2024,1838,2069,1887,1519,1877,2185,2154,1864,1669,1447,1455,1814,1802,1907,2136,1828,2032,2814,2631,2883,2786,1881,1701,1772,2102,2008,1769,1655,1699,1904,1940,1938,2358,1807,1922,2177,3231,4143,3888,2640,2094,2453,2358,2413,2790,2296,2041,2058,2429,2457,1616,1431,1858,1946,2540,3625,3458,2851,2916,2692,2474,2495,2413,2336,2584,2990,3256,3027,2709,2811,2788,2306,2570,2309,2037,2219,2741,2608,2709,2642,2427,2078,1632,2050,2770,2662,2484,2946,2895,2484,2238,2409,2357,3387,4220,3927,2677,1615,2138,2977,2416,1998,2730,3272,2415,1880,1511,1535,1736,1831,1673,2140,2623,2376,2416,1934,2230,2968,2451,2172,2233,1929,1977,2404,2059,1411,1405,1657,1545,1570,1671,1644,1567,1746,1720,1578,1542,1553,1686,1694,1579,1575,1513,1738,1875,1951,1996,2016,2071,2168,2106,2023,1896,1898,1960,1842,1799,1704,1733,1537,1396,1585,1814,2143,2470,1958,1426,1488,1521,1603,1541,1753,1649,1760,1739,1758,1577,2098,2545,2436,1772,1538,1640,1809,1813,1667,1483,2049,2163,1701,1663,1725,1852,1705,1547,1474,1297,1750,2287,1763,1566,1376,1446,1370,1417,1564,1584,1526,1506,1417,1519,1631,1488,1492,1561,1810,2326,2463,3185,3300,2710,1999,1626,1666,1862,1714,1773,1851,1711,1807,1520,1425,1605,1616,1704,1785,1972,2029,1968,2072,2321,2209,2068,2671,2820,2728,2269,2403,2270,2291,2467,2225,1809,1518,1589,2017,1876,1712,1603,1346,1574,1742,1757,1787,1994,2092,1875,1947,2354,2688,2830,2603,2812,2721,2769,2472,2007,1992,1978,1975,1864,1680,1847,2097,2337,2230,1822,1693,2291,1989,1980,2414,2711,3201,3095,2276,2348,2490,2192,1958,2172,2338,2117,1872,1945,2276,2631,2421,2237,1958,1981,2287,1969,2698,2976,2575,2479,2316,1965,1547,1560,2064,2359,2157,2841,3322,2874,2779,2578,2584,2360,2796,3266],[2325,2752,2536,2159,2073,1937,2115,1785,1968,2828,3123,3220,2494,1837,2326,2279,1848,1686,1566,1898,2966,2799,1780,2379,3017,3741,4060,3682,3558,4023,4082,3953,3658,3410,3806,4070,3817,3439,2626,2074,2974,3839,3938,3699,3240,2479,1659,1343,2202,3119,3278,3322,3207,3204,3407,3406,3341,3578,3614,3848,3924,3897,4184,3042,2286,2401,3206,3531,3924,3827,3606,3110,2405,1866,2374,2844,2800,2766,2165,1926,2490,2725,2916,3195,3425,3327,3076,2905,3635,4323,4240,3835,3951,4660,4301,3997,3773,4124,3770,3430,3704,3272,2840,3006,2282,2156,2810,2829,2844,2777,2403,2443,2430,2602,2497,2185,1916,1637,1728,1592,1789,1947,1844,1732,1578,1606,1710,1885,2208,2712,2623,1897,2088,2265,2138,1930,2459,3185,3474,3444,3089,2335,2114,2806,3255,2928,2601,1979,1901,1845,2276,2302,2499,2570,2362,2249,2297,2304,1751,1218,1515,1666,1538,2578,3420,3835,3749,3772,4031,3803,3151,2634,2445,2557,3039,2971,1947,1537,1491,1406,1348,1289,1368,1864,2056,1885,1926,2076,1857,1828,2286,2254,2416,2205,2844,2810,2482,1771,1847,2554,2609,2581,2756,2144,1689,1804,1560,1542,2208,2049,1858,2127,2285,2066,2180,2322,2603,3018,2908,2388,2364,2829,3334,3073,2957,3197,3494,3162,2836,2591,2280,2341,2361,2458,2587,1926,1776,2200,2155,2287,2216,1852,1861,1844,1770,1779,1870,2135,2545,2902,2963,2435,2333,1965,1972,2061,2220,2318,1780,1744,2056,2270,2454,2160,1826,2080,2819,2484,1594,1660,1871,1992,2176,2300,2078,1908,2884,3106,3257,3144,3182,2245,1234,1362,2175,2435,2334,2216,2168,1560,1609,2099,2344,2270,2410,2557,2801,2730,2326,2060,1722,1919,2376,2597,2789,2940,3113,3483,3378,3528,3763,3200,2455,2363,2541,2428,2294,2571,2348,1568,2348,2585,2225,2153,2454,3182,3500,2862,2706,1958,1725,1694,1638,1667,1812,1971,1954,2226,2092,2187,2797,2910,3288,3243,2480,2172,1974,1722,1960,1592,1482,1599,1626,1796,2366,2902,2534,2254,2186,2019,1720,1995,2864,2511,1950,2097,2364,1882,1786,2532,3002,2692,2142,1894,1798,1741,1788,2043,1692,1898,2794,2909,2589,2561,2712,2686,2604,2453,1900,1922,1947,1658,1585,1654,1670,1901,1986,2015,2147,2052,1886,1793,1964,1949,1886,1654,1828,2161,2126,1963,2034,2242,1933,1391,1343,1238,1693,2048,1943,1588,1533,1841,2015,2046,1711,1741,1984,1935,1782,2077,1918,1924,1606,1951,2149,2326,2040,2148,2602,3020,3432,3447,3624,3710,3331,2518,2678,2619,2798,3240,3013,2833,3137,2998,3049,3571,3660,3445,2358,1767,1793,2095,2554,2828,2514,2514,2907,3006,2687,2623,3073,3520,3609,3547,3528,4016,4081,3940,4155,3940,3818,3636,2918,2709,2807,2522,1881,2211,2729,2788,2408,2374,2658,2519,2298,2218,2310,2614,2642,2712,2258,2488,2327,2542,2833,3082,3042,2824,2626,2757,2659,2426,2399,2280,1910,1766,2122,2056,1876,1808,2019,2146,1793,1635,1786,1572,1448,1479,1529,1427,1357,1449,1549,1480,1350,1415,1521,1506,1486,2015,2477,1785,2160,2236,1775,1636,1952,1975,1948,1709,1448,1553,1818,1757,1876,2319,2071,2115,2155,1944,1745,1717,1824,1877,1812,2352,2545,2454,2258,2149,2099,1833,1981,2221,2276,2214,2317,2403,2548,2254,1649,1447,1621,1991,1985,2184,2100,1731,1898,1770,1642,1648,1623,1634,1745,1781,1694,2044,1954,1543,1920,1969,1890,1855,2311,2093,1816,2172,2212,2142,2454,2043,1934,2448,1986,1917,2416,2221,1813,2277,2200,1856,1854,1787,1682,1670,1665,2012,1854,1624,1560,2097,2412,2358,2404,2530,2600,2531,2007,2241,2670,2463,2652,2584,2297,2324,2022,1857,1986,1951,1996,2019,1850,2087,2819,2751,2215,2013,2076,2268,2100,2007,1907,1959,1871,1681,1838,2104,1937,1719,2049,1789,1368,1447,1452,1704,2050,1978,1642,1456,1798,2154,2047,2370,2342,2357,2450,2170,2067,1693,1133,1259,1713,2140,2078,1515,1547,1900,2374,1953,1352,1660,2240,2203,2232,2996,3269,2295,1757,1586,1616,1888,1799,1875,2143,2281,1960,2017,1909,1873,2182,2229,2130,1902,1825,2044,1406,1064,1652,2012,2021,1799,1372,1484,1992,2203,2337,2276,1263,1650,2047,2169,2895,2718,2192,2364,3052,3453,3167,2620,2381,2147,2459,2206,1908,1838,2379,2523,2946,2887,2994,3667,3282,2596,2258,1972,2328,2514,2308,1795,2025,2427,2401,2312,2057,2083,2476,2577,1892,1669,1849,2148,2220,2418,2419,2553,2193,2403,2609,2173,2484,2601,2339,2208,2265,2263,2217,2047,2204,2466,2300,1942,2068,2419,2844,3131,2878,1929,1545,1606,1998,1732,1748,2367,2620,2392,2806,2720,1987,2493,2266,2532,2451,2503,2417,1848,2140,2895,2345,1411,2163,3230,3144,2899,2841,2408,2431,1803,2291,3219,3549,3298,2621,2391,2417,2199,1886,2027,2289,2769,2749,2340,2876,3283,3146,3370,3483,3152,2354,1595,1985,2710,2758,2080,1755,2094,2721,2492,2251,2272,2367,2285,2272,2678,2653,2580,2194,2389,2734,2872,2334,2410,2310,2564,2618,2680,2537,2350,2420,2260,1933,2030,2019,2070,2093,2004,1893,1793,1745,1637,2052,3543,4360,3543,2812,2864,2586,1878,2043,2230,2388,2696,2946,3585,3466,2558,2128,2485,2548,2348,2424,1788,1283,2420,3853,3443,2640,2504,2802,3152,2774,2165,2294,2832,2818,2302,2786,2658,2050,1853,2187,2703,3175,3023,2978,3673,3513,2930,2695,2265,2164,1419,762,599,1047,1590,1782,1798,1573,922,514,967,1656,1747,1522,1586,1491,2213,3208,3750,2968,1780,2500,2700,1604,1711,1614,1500,2024,2214,2271,2097,2132,1721,1432,1707,1942,2264,2208,1919,1884,2059,2287,2122,1768,1604,1649,2180,2225,1759,1808,1909,2036,1840,1816,1804,2173,1932,1813,1778,1809,1793,1726,1782,1755,2320,2993,1720,1880,2320,2481,2315,2066,1785,1814,1870,1668,1796,2122,1966,1949,2190,2091,1991,1644,2395,3249,3083,2652,1649,1691,2168,2621,2702,1841,1633,1811,1537,1595,1953,2983,3757,3708,3825,4050,4059,3920,3333,2414,1829,2152,2780,2135,2023,2310,2285,2299,1938,1504,1434,1372,1880,2308,2083,1497,1649,1542,1737,1675,1721,1846,2265,2821,2578,2294,3081,2953,2113,2163,2575,2123,1842,1654,1588,1455,1478,1607,1817,1710,1641,1640,1636,1585,1455,1458,1500,1430,1498,1614,1521,1601,1766,1897,1830,1990,2356,2710,2406,2051,1857,2023,1805,1697,1488,1776,2829,3440,3393,3505,3348,2997,2996,3100,3386,2946,3155,3387,3413,3704,3303,2857,2872,2438,2841,2753,2614,2686,2273,1632,1814,2120,1938,1728,1811,2132,2164,1741,1613,1576,1510,1444,1383,1450,1404,1367,1606,1772,1820,1731,1652,2019,2136,1738,1637,1591,1616,1745,1899,1910,1974,1897,1570,1298,1367,1709,2177,2670,2631,2548,2441,2648,2821,2995,2978,3428,3389,2356,2037,1820,1535,2351,2797,3961,3710,2466,2235,2275,2102,2001,2002,1832,1867,2231,2547,2235,1875,2150,2773,2531,2182,2121,1829,2177,2678,2480,2658,2086,1725,1745,1705,1814,2160,2401,2724,3185,3377,2917,2701,3430,3306,3436,3826,3296,2327,2254,2413,1952,2188,2535,2416,2128,2349,2999,3436,2786,2267,2219,1743,2007,1981,1833,1747,2634,2493,1974,2233,2330,2296,2323,1930,1724,1594,1635,1703,1847,2138,2067,2265,2255,2106,2071,2041,2232,2326,2244,1825,1979,1936,1682,1481,1470,1952,2047,2036,2083,1611,1375,1395,1507,1518,1523,1437,1488,1511,1558,1692,1834,1901,2023,2424,2916,3163,2813,2187,1781,2046,1896,1477,1423,1551,1750,2189,2079,1600,1814,1860,1482,1515,1756,1657,1585,1472,1416,1395,1418,1525,1479,1516,1714,1552,1616,1967,1505,1548,1890,2026,1881,1807,1572,1772,1740,1343,1534,2117,1898,2060,2512,2204,2050,2191,2077,1771,1746,1751,1405,1638,1685,1822,2144,2746,2429,1759,1310,1819,2383,2205,2094,2269,2318,2242,2011,2131,2417,2349,2290,2157,1656,1795,1831,1777,1766,1705,1974,1654,1737,2746,2555,2676,2534,2295,2215,1768,1551,1903,1730,1593,1730,1908,1884,1873,1888,1764,1920,2236,3160,3709,3120,2297,2167,2553,2388,2590,2658,2016,2184,2210,2160,2128,1743,1586,2227,2786,3617,3846,3206,3204,3140,2472,2662,2813,2343,2168,2613,3169,3396,3000,2830,2879,2653,2449,2486,2363,2309,2330,2674,2570,2554,2410,1939,2103,2634,3112,3225,2689,2884,3075,2784,2304,2226,2363,2191,2470,3252,3614,2676,1942,2110,2873,2366,2321,2616,2933,2327,1760,1688,1620,1722,1832,1643,2204,2115,1924,1816,2047,2956,2952,1852,1809,1940,1938,2309,2536,2161,1600,1523,1394,1523,1607,1670,1499,1544,1829,1717,1387,1350,1515,1536,1452,1429,1338,1449,2210,1830,1678,1554,1617,1588,1511,1586,1698,1713,1623,1654,1497,1438,1555,1576,1558,1730,2025,2160,2526,2447,1479,1267,1727,1844,1822,2116,2256,1786,1637,1591,1508,1522,1628,1943,1942,1452,1553,1626,1776,1874,1810,1533,1936,1845,1583,1453,1801,2072,1874,1672,1374,1450,1826,1960,1503,1476,1447,1497,1313,1386,1534,1512,1516,1410,1440,1631,1568,1469,1568,1577,1370,1612,1962,2741,2894,2565,2333,1644,1731,1974,1796,1709,1921,1974,1709,1461,1452,1534,1594,1760,2262,2330,2046,2031,1916,2077,2108,2479,3152,3178,2980,2758,2641,2337,1957,1952,2030,1835,1823,1863,2270,2221,1708,1465,1653,1772,1975,2189,2163,2182,2181,2105,2348,2468,2520,2331,2210,2241,2046,2281,2086,1834,2045,1993,1692,1619,1678,1986,2087,1990,2029,1749,1748,2406,2419,2575,2780,2496,2664,2856,2342,2310,2407,1951,1756,1848,2204,2122,1898,1948,2223,2935,2870,2535,2232,2364,2557,2258,2360,2353,2270,2044,1944,1849,1494,1445,1886,2044,2027,2522,2986,3384,2889,2118,2126,2490,3081,3642],[2164,2702,2623,1932,2094,1991,1565,1461,2083,2800,2995,3083,2414,1736,1996,2099,1942,2035,2047,2184,3195,3130,2436,2888,3500,3774,4153,3874,3742,4285,4072,4014,3843,3442,3461,3548,3449,3553,2366,2061,3065,3772,4070,3636,2840,1858,1527,1827,2863,3506,3714,3699,3548,3451,3343,3216,3351,3405,3226,3269,3597,3482,4036,3748,3257,2797,2625,2783,3204,3842,3626,2955,2950,2326,2568,2813,2663,2576,2196,2195,2387,2446,2607,2871,2770,2808,2679,2784,4124,4724,4333,3517,4045,4808,4441,3814,4019,4613,4172,3458,3030,2487,2610,2964,2511,2181,2281,2484,2357,2169,2604,2490,2299,2732,2414,2328,2065,1952,1662,1803,1856,1654,1594,1680,1637,1646,1523,1654,2382,2498,2299,1890,2000,2017,2300,2402,2567,2689,2620,2966,2943,2194,2432,2842,2450,2122,1952,1671,1699,1698,1851,2097,2664,2837,2234,2002,2778,3243,3033,2944,2962,2545,2094,2414,3340,3782,3640,3340,3213,2778,2348,2467,2055,2450,3086,2977,2150,1575,1414,1392,1371,1430,1467,1620,1987,1905,1662,1954,1823,2083,2209,2206,2586,2303,2448,2731,2703,2064,2073,2720,2608,2735,2736,1934,1971,1836,1519,1388,1854,1750,1938,2721,2412,2069,2322,2379,2540,2822,3042,3023,2298,2258,2728,2930,2655,2499,2354,2208,2280,2430,2981,2479,1965,2077,2040,1903,2012,2248,2403,2409,2133,1810,1827,1855,1892,1501,1842,2119,2553,3216,3220,2965,2627,2132,2272,2231,2014,2322,2081,1883,2051,2336,2310,1963,2020,2434,2791,2322,1950,1931,1870,2148,2008,2436,2589,2301,2856,3233,3394,3442,3175,2856,2824,2291,2194,2201,2222,2167,1829,1444,1503,2149,2453,2492,2501,2464,2665,2546,2497,2348,2212,2461,2714,2774,2777,2372,2496,2764,2710,3348,3802,3109,2192,2720,2899,2755,2697,2741,3021,2486,2258,2370,2403,2542,2787,3055,3160,2850,2802,2364,2391,2274,1969,2058,2036,2035,2420,2523,1722,1615,1722,2177,2466,2705,2551,2182,1477,1805,2306,2018,1687,1782,1841,1959,2555,3200,2884,2899,2453,2061,2140,2600,2764,2502,2222,2121,2043,2078,2141,2248,2566,2482,2253,1964,1612,1738,2075,2198,1881,2190,2933,2631,1858,1740,1998,2058,2351,2454,2050,1767,1694,1488,1582,1611,1439,1373,1546,2093,2500,2373,2305,2075,2427,2090,1562,1996,2495,2509,2331,2008,2260,2439,2143,1916,1824,1806,2114,2326,2124,1679,1543,1565,1777,1862,1588,1597,1538,1603,2149,1960,1747,2105,2319,2578,2457,2001,1897,2598,2966,3173,3429,3530,3721,3675,3016,2437,2466,2437,2690,3470,3076,2533,2952,2995,2808,3355,3702,3754,3574,2708,2700,3329,3492,3317,3187,3245,3530,3718,3705,3392,3297,3448,3294,3342,3582,4024,3855,3549,3786,3799,4052,3480,2769,2188,2569,2328,2235,2397,2858,3032,2692,3044,3312,2745,2317,2155,2341,2728,2729,3076,2596,2247,2472,2864,2615,2874,2973,2583,2752,2818,2080,2208,2177,2143,1851,1871,2012,1991,1763,1664,2054,2020,1629,1637,1892,1610,1518,1494,1718,1670,1665,1673,1773,1685,1334,1379,1473,1415,1606,2128,2179,1869,2324,2079,1565,2142,2433,2133,2058,1868,1667,1629,1801,1895,2021,2042,1997,2075,2298,2149,2129,1807,1759,1923,1945,1942,2285,2576,1958,2000,2139,2785,2878,2423,2178,2009,2126,2554,2697,2788,2113,1720,2002,2436,2181,2285,2139,1737,1725,1716,1745,1749,1643,1624,1772,1859,1781,2180,2118,1644,2178,2083,1899,1808,1758,1787,1876,1741,1740,2194,2360,2115,1970,1975,1920,2090,2509,2072,1709,2020,2167,1990,1986,2114,2014,1966,2150,2209,1802,1655,1964,2366,2292,2125,2013,2209,2253,2187,2328,2530,2062,2226,2498,2646,2541,2212,1662,1898,2519,2321,2003,1931,1832,2016,2316,2089,2110,2060,2154,2126,1781,1679,1795,1846,1797,1820,1550,1705,1825,1744,2259,1930,1384,1404,1466,1659,2018,2229,1957,1777,1814,1960,2088,2492,2335,2302,2645,2392,2151,1768,1303,1684,1974,1823,2143,1917,1309,1787,2130,1655,1338,1715,2256,2270,2117,2552,2955,2122,1731,1811,1732,1918,2038,2271,2758,2471,2112,2226,1882,1831,1947,1949,2050,1968,1968,2198,1882,1582,1691,1899,1923,1625,1909,2380,2463,2345,2276,1575,858,998,1857,2438,2598,2315,1929,2379,3046,2900,2769,2208,2092,2128,2408,2206,1892,2207,2440,2544,2619,2435,2787,3096,2798,2254,1833,1944,2359,2624,2722,1780,1631,2438,2293,2118,1969,2373,2586,2475,1924,2032,2084,1876,1836,2483,2693,2098,1715,1932,2088,2309,2719,3034,2446,2781,2647,2126,2333,2558,2360,2369,2147,2263,2808,3009,2932,2997,2755,2476,2449,2034,1592,2154,2649,2764,3222,3220,3698,2894,2590,3000,2417,2759,2441,2304,2302,1758,1804,2442,2302,1468,2102,2663,2314,2103,1873,2093,2473,1953,2565,2988,2886,3033,2774,2450,2341,2678,2630,2624,2139,2564,3129,2526,2426,2587,2778,3466,3438,2553,2361,2469,3035,3348,3453,2462,2368,2480,2152,1520,2035,2462,2298,2210,2505,2729,2059,1980,2894,2844,2482,2307,2335,2631,2493,2379,2679,2275,1586,1592,2309,2327,1948,1979,2031,2076,2093,2014,1879,1777,1773,1782,2031,3287,4536,4100,2929,2712,2858,2446,2261,1913,2320,2554,2532,3173,3200,3019,2558,2792,2684,2530,2333,2188,1362,2287,4020,3455,2858,3420,3507,2934,2599,2746,2622,2728,3086,2225,2405,2507,2092,1772,1750,2423,3711,3181,2486,3298,3275,2431,2885,2884,2220,1120,636,887,1475,1693,1808,1878,1702,1183,724,1107,1267,1474,1548,1561,1617,2668,3698,3870,2491,1522,2821,3267,2435,1891,1802,1955,2241,2381,2317,2299,2147,1898,1805,1636,1741,2042,1694,2182,2302,2416,2139,1816,1827,1758,2329,2575,1877,1958,2021,1902,1740,1612,1659,1837,1973,1829,2093,2273,1955,1877,1869,1933,2380,2851,2690,1510,2192,2429,2329,2062,1805,1971,2470,2446,1764,1615,1960,2032,2331,2365,2158,1597,2229,3321,3291,2767,1619,1415,1979,2310,2889,2697,2175,2121,1855,1648,1590,2021,3215,3932,3971,4035,4124,4152,3475,2551,2412,1790,1797,2449,2171,1969,2238,2329,2242,1907,1395,1572,1807,2049,1820,1837,1614,1531,1475,1562,1612,1778,2164,2512,2698,2635,2114,2409,2685,2280,3087,3641,2739,1724,1660,1599,1554,1590,1623,1732,1616,1759,1796,1790,1594,1425,1434,1567,1446,1533,1742,1604,1434,1628,1732,1558,1799,1964,2078,1834,1685,1626,1707,1526,1435,1391,1554,2022,2746,3075,3195,2619,2404,2985,3399,3520,3374,3217,2953,3144,3573,3560,3342,3650,3051,3269,2955,2799,3024,2510,1902,1768,1664,1614,1470,1524,1902,2310,1865,1426,1472,1455,1390,1402,1443,1368,1453,1659,2138,2572,2144,1630,1947,1982,2056,1962,1669,1555,1651,1565,1444,1721,2152,1720,1441,1373,1664,2127,2020,2396,2664,3448,4277,3828,2943,2269,2308,2170,1588,1585,1283,2091,3296,4204,4533,3288,2365,2257,2050,1563,1695,2042,2200,2566,2864,3660,2903,2265,2745,2999,2133,2007,2493,2092,2348,2923,2547,2633,2260,1715,1291,1670,1887,2106,2416,2590,3208,3395,2873,2949,3407,3074,2922,3186,3056,2702,2412,2244,2138,2301,2357,2159,2053,2234,2309,2930,2502,1958,1740,2230,2612,2500,2326,2019,2019,1844,1876,2157,1993,1886,1818,1613,1481,1650,1765,1848,1991,2094,2295,2590,2388,1997,1937,2457,2876,3105,2678,2690,2562,2079,1923,1783,1599,1756,1862,2219,3186,2505,1527,1377,1366,1348,1486,1696,1693,1569,1654,1977,1894,1678,1728,2024,2490,2956,3145,2678,1814,1832,1814,2047,2142,1898,2128,1970,1566,1543,1715,1684,1589,1529,1622,1553,1583,1585,1544,1357,1379,1361,1249,1281,1387,1338,1744,2256,1879,1867,2548,2780,2723,2376,1580,1888,2272,1504,1461,2036,1837,2183,2416,2128,1710,1819,1986,1602,2001,2191,1870,1947,1933,2116,1866,2206,2338,1900,1536,2202,2796,2640,2479,2298,2106,1952,1945,2317,2230,2126,2362,2149,2259,2477,1818,1760,2007,1829,2193,2099,2258,3066,3178,3195,2767,2408,2694,2104,1553,1807,1536,1628,1871,1643,1560,1635,1785,1622,1815,2313,2707,2719,2514,2001,1985,2906,2954,2514,2096,1940,2114,2036,1791,1680,1409,1455,2437,3068,3700,3504,3419,3386,2930,2365,2440,2596,2342,2259,2597,3231,3171,2420,1939,2316,2501,2402,2725,2791,2455,2479,2692,2412,2216,1996,1958,2009,2714,3138,2991,2554,2719,2463,2331,2456,2603,2486,2222,2555,2454,2767,2485,2539,2645,3106,2744,2773,2741,2750,2268,1943,2157,2030,1731,1836,1613,1886,1585,1662,1781,2495,2910,2281,1760,1951,2154,1997,1808,2417,2522,1847,1640,1457,1538,1584,1630,1544,1714,1757,1639,1559,1468,1450,1732,1856,1540,1339,1564,1995,1909,1616,1359,1393,1659,1787,1535,1699,1749,1567,1585,1387,1374,1696,1796,1929,2014,1840,2150,2373,2127,1377,1417,1785,1810,1879,2332,2389,1926,1507,1846,1973,1521,1475,1923,1733,1403,1426,1585,2036,2194,1874,1512,1485,1578,1527,1551,1668,1635,1935,1756,1497,1523,1578,1544,1471,1439,1422,1386,1325,1372,1350,1502,1632,1472,1416,1577,1586,1690,1616,1622,1705,1787,2188,2807,2501,2138,2055,1764,1675,1991,1954,1686,2341,2365,1741,1619,1506,1317,1582,2131,2563,2418,2189,2064,2308,2526,2221,2496,3301,3282,2668,2236,2223,2214,1985,1844,2052,2598,2786,2489,2242,2149,1925,2452,2730,2205,2177,2215,1988,2338,2234,2155,2349,2222,2007,1956,1917,1865,1842,1841,1802,1797,1816,1555,1505,1693,2061,2599,2586,2018,1628,1620,2008,2490,2634,2664,2297,2632,2320,2303,2326,1977,1938,1422,1433,1757,1851,1842,1958,2003,2314,2720,2431,2322,2255,2464,2045,1926,1952,1886,1812,1690,1842,1901,1577,1441,1766,1885,2382,2440,2768,3664,3165,2343,2500,2504,2739,3532],[1585,1959,2042,1455,1421,1477,1400,1497,1792,2126,2297,2147,1918,1745,2370,2887,2777,3023,3164,3223,3338,3277,2644,2208,2585,3105,3796,4096,3791,4082,4136,3938,3641,3355,3317,3356,3319,3450,2901,2531,2761,3270,3735,3414,2879,1688,1382,2171,3285,3640,3510,3403,3557,3405,2945,2970,3243,3284,3189,3105,3205,3392,4091,3907,2907,2313,2367,2632,3276,3716,3142,1957,2237,2598,2665,2568,2899,2630,2266,2347,2500,2221,2488,2500,1691,2050,2669,3493,4424,4685,4200,3914,4496,4724,4059,3529,4156,4573,3786,2849,2298,2306,3057,2755,2042,2169,2250,2026,2087,2242,2247,2194,2169,2546,2204,1916,1898,2348,1965,1978,1872,1617,1574,1534,1528,1625,1656,1943,2247,1959,2278,2338,2451,2728,2766,2744,2458,2172,1895,2157,2777,2945,2389,2127,1748,2038,2009,1659,1503,1631,1786,2270,3130,3024,2408,2751,3904,3714,3726,3954,3761,2707,1709,1923,3000,3465,2778,1914,1642,1693,1995,2553,2314,2583,2861,2498,1996,1605,1376,1323,1328,1360,1406,1619,2071,1998,1706,1698,1720,2085,2308,2131,2214,2405,2364,2564,2775,2170,2261,2702,2822,3140,2878,2662,2235,2388,1908,1237,1420,1115,1668,3081,2728,2199,2093,2210,2624,2965,3431,3452,2586,2452,2685,2459,2105,2040,1774,1813,1814,2219,3447,3299,2532,1926,1438,1365,1711,2121,2402,2198,1772,1698,2105,2049,2216,2037,1898,2114,3310,3770,2763,2698,2964,2517,2273,2355,2148,2258,2260,2093,2206,2152,2102,1949,1837,2420,2858,2484,2193,1867,2185,2566,2906,3285,2824,2495,2392,2363,2621,3134,3096,2730,3010,2545,2084,2001,2172,2206,1896,1638,1700,2213,2470,2519,2280,2414,2472,2536,2536,2832,3038,2817,3119,2928,2324,2198,2584,3021,2976,3331,3449,2614,2784,2974,3320,3414,3023,2775,2546,2540,2504,2668,2495,2219,2352,2361,2667,2890,2908,2654,2644,2585,2438,2182,1960,1837,2110,1872,1952,2088,2000,1942,1744,2475,2857,2268,1610,1772,2373,2151,1544,1672,1842,1990,2238,2788,3045,3084,2873,2047,1934,2545,2906,2943,2279,1994,1720,2042,2297,2741,3297,2989,2494,2032,1744,1690,2040,2428,2231,1981,2555,2428,2074,1697,1519,2186,2356,1936,1776,1844,1695,1492,1673,1685,1630,1603,2603,2600,2732,2263,2304,2169,2185,1967,1951,2863,3044,2942,2562,2069,1990,2323,2194,1967,1814,1771,2136,2554,2408,1931,1982,2348,2335,2099,1600,1654,2034,1864,2075,1831,1750,2482,2597,2415,2416,2513,2694,2806,2844,3118,3218,3129,3351,3367,2535,2156,2575,2447,2944,3820,3452,2921,2834,2620,2591,3220,3669,3708,3550,3185,3355,3666,3660,3458,3439,3679,4168,4072,4032,3586,3426,3499,3363,3274,3572,3741,3108,2758,2730,2841,3457,3194,2344,1948,2468,2437,2567,2474,2674,2832,2591,3437,3417,2657,2388,2389,2806,2731,2964,3052,3293,3119,3008,3017,2790,2836,2654,2332,2478,2465,2342,2206,2173,2008,1749,2045,2221,2517,2354,1684,1667,1683,1689,1512,1635,1765,1572,1455,1555,1623,1595,1475,1520,1703,1431,1387,1420,1510,1648,2364,2040,1989,2466,1980,1592,2282,2668,2414,2030,2024,1802,1604,1679,1901,2065,1969,1964,2223,1992,1743,1975,2180,2626,2889,2518,1986,2168,2260,2122,2099,2757,3688,3699,2801,1920,1487,1498,2004,2138,2225,2031,2123,1917,2194,1974,1770,1816,1667,1604,1727,1858,1720,1686,2125,2094,1820,1526,1785,1812,1538,1534,1756,1744,1391,1526,1640,1331,1323,1360,1569,1854,2221,2320,1943,1682,1924,2163,2324,2388,2387,2600,2589,2391,2719,2522,2142,1825,1630,1892,2078,2260,2295,2228,1990,1932,2015,1622,1903,2174,2343,2070,2039,2558,2809,2508,1786,1406,2143,2594,2211,1692,1733,1772,1744,1780,1834,2013,2006,1949,1972,1935,1863,1874,1913,2011,1813,1793,2015,1789,1678,2137,1981,1703,1566,1514,1644,2213,2492,2313,2392,2111,1979,2155,2388,2337,2396,2657,2574,2156,1946,1798,1792,1216,1075,1957,2138,1354,1578,1913,1489,1423,1830,2174,2216,1992,1941,2331,1920,1708,1892,1882,2119,2448,2300,2317,2193,2105,2087,2096,1438,1320,1519,1908,1951,1871,2082,2243,2100,1820,1951,2089,2009,2714,2908,2530,2313,2373,1555,882,1188,2320,2799,2255,2276,2238,2410,3003,3110,2387,2221,2308,2247,2727,2553,2176,2336,2242,2354,2233,2368,2713,2877,2842,2293,1760,2285,2991,3073,2707,2177,2258,2566,2162,2717,2164,2499,2510,1620,1336,2188,2544,2069,1937,2196,2022,1715,2250,2963,2286,2495,2584,2812,2601,2745,2894,2280,1952,2158,2120,2523,2357,3127,3176,2839,2986,2752,2708,2928,2964,2769,2822,3345,3372,2789,3516,3604,4031,3231,2988,2916,2330,2384,2374,2222,1887,1761,2048,2308,2515,2031,2392,2666,2782,2933,2678,2423,2131,2105,2536,2360,2286,2678,2409,2670,2452,2604,2636,2918,2077,1979,2873,2877,2681,2432,2198,2664,3012,2534,2846,3361,3304,3732,3610,2309,2325,2801,2055,1815,2660,3006,2778,2149,2156,2564,2226,2492,2954,2146,1664,2206,2560,2824,2878,2521,3277,2510,1342,1314,2364,2407,2003,1942,2030,2048,2038,1958,1832,1741,1718,1773,1846,3006,4388,4275,2895,2577,2924,2776,2357,2029,2194,2188,2570,3474,2974,2887,2542,2691,2300,1969,2110,2589,2352,3110,3838,3034,2946,3076,3190,3326,3100,2185,2056,2279,2600,2151,2066,2378,2304,2068,1941,2119,2934,3011,2494,2840,2604,2018,2556,3431,2894,1518,1323,1915,1892,1669,1619,1887,1926,1618,1432,1376,1247,1347,1410,1475,2133,2944,3330,3473,3312,2818,3460,3563,2330,2031,1888,1874,1832,1797,2035,2181,2031,2346,1832,1658,1820,1715,1626,2191,2120,2032,1759,1771,1886,2156,2549,2004,2011,3046,2800,1932,1874,1757,1946,2259,2106,2026,2756,2976,2322,1934,1820,1853,2458,2793,1864,1553,2464,2568,2206,1932,1982,2604,3176,2710,1781,1494,1701,1819,2036,2384,2037,2237,3300,3309,3093,2263,1323,1500,1904,2124,2681,2858,2269,2109,1723,1469,1634,2242,3341,3852,3869,4159,4459,4400,2974,1950,2338,2092,1816,2186,2120,1946,2147,2246,1950,1883,1654,2237,2601,2705,2530,2250,1716,1161,1325,1708,1690,1802,2058,2326,2558,2483,1588,1942,2250,2653,3797,4299,3352,2093,1880,1669,1773,1505,1642,1509,1394,1714,1696,1715,1571,1477,1710,1740,1476,1484,1698,1691,1775,1536,1509,1498,1695,1939,1778,1608,1622,1710,1612,1383,1360,1384,1444,1521,1999,2808,2901,2635,2394,2383,2756,3232,3520,3443,2958,2856,3199,3470,3590,4002,3422,3116,2917,3117,3364,2908,2291,1901,1597,1694,1606,1681,1964,2375,2009,1575,1472,1443,1394,1526,1628,1426,1659,1818,2800,2665,1908,1473,1974,1909,1944,1964,1703,1639,1560,1351,1305,1597,2159,2042,1634,1407,1522,1573,1423,2101,3099,3860,4070,3828,3596,2876,2255,1467,996,1080,1330,2433,3689,4587,3682,2806,3010,2742,1760,1426,1642,1810,2364,3110,2946,3293,3316,3062,3060,2918,2295,2354,3169,2593,2173,2168,2148,2740,2726,2008,1360,1646,1777,2017,2353,2246,2988,2957,3138,3431,3300,3231,2648,2453,2402,2246,2140,2245,2274,2347,2296,2118,2016,2199,2689,3117,2578,2187,2102,2170,2238,2401,2532,2755,2543,1884,1811,2022,1897,2008,1729,1578,1805,1914,1836,1853,1912,2072,2371,2241,1983,1661,1665,2576,3305,2893,2148,2411,2602,2315,1998,1812,2168,2684,2168,1865,3063,2574,1512,1369,1559,1582,1710,1644,1602,1926,2004,1939,1786,1466,1338,1779,2265,2490,2696,2200,1538,1400,1658,2198,2004,1876,2308,1561,1283,1382,1716,1770,1588,1493,1456,1522,1608,1549,1598,1411,1399,1333,1493,1867,1857,1655,1820,2290,2439,2065,2220,2498,2491,1773,1521,1629,2150,1730,1726,2337,2741,2498,1860,1902,2052,2410,2358,1981,2172,2195,1805,1509,1706,1832,1742,1646,1794,2048,2018,2522,2280,2093,2094,1800,1794,1765,1723,2177,2316,2539,2557,2339,2768,2831,2398,2279,2299,2402,2286,2265,2460,2657,2922,3068,2446,1964,2078,1808,1780,1847,2320,2513,1902,1540,1504,1765,1838,1582,1890,2576,3120,2955,2921,2119,1995,3011,3076,2438,2420,2405,2181,2044,1785,1196,1469,1803,2288,3046,3575,3355,3116,3109,2974,2602,2544,2584,2500,2008,2076,3461,3529,3256,2470,1719,1942,2440,2707,2409,2146,2675,2950,2404,2140,2187,1976,2031,2080,2554,2876,2822,2462,2060,2126,2358,2596,2420,2166,2403,2216,2330,2421,2468,2720,2851,2604,2742,2852,2510,2032,2238,2188,1951,1597,1450,1678,1995,2048,1870,2370,2813,2340,1721,1899,2340,2185,2070,2075,2526,2352,1901,1691,1529,1456,1476,1481,1549,1742,1497,1626,1732,1521,1427,1808,1739,1484,1416,1425,1563,1729,1602,1715,1726,1769,1725,1644,1893,1782,1588,1476,1406,1664,1982,2020,2351,2264,1761,2384,2410,2352,1636,1580,1764,1576,1825,2120,2137,1704,1395,1719,1763,1483,1637,1839,1497,1394,1395,1610,1849,2012,1948,1610,1623,1671,1437,1504,1481,1465,1622,1490,1591,1569,1431,1502,1456,1367,1511,1597,1437,1488,1494,1468,1484,1272,1375,1642,1864,1827,1830,2040,2061,2089,2094,2454,2419,1978,1680,1980,1714,1742,1906,1574,1901,2574,2380,1698,1439,1566,1647,2818,2719,2110,1819,1944,2182,2014,1831,2350,2985,2888,2048,1782,2066,2021,2111,1919,2289,2668,2519,2453,2125,1644,1818,2600,2850,2910,2790,2332,1912,2037,2076,2066,1929,1668,1732,1859,1773,1656,1709,1973,1725,1639,1749,1662,1756,1709,1862,2029,1959,1818,1777,2112,2695,2693,2381,2374,2563,2867,2061,2157,2111,1937,1917,1417,1438,1858,1962,1930,2312,2144,2377,2942,2847,2843,2301,1968,1847,1871,1820,1772,1667,1716,1832,1825,1734,1564,1599,1700,2292,2294,2073,2808,3020,2793,2886,2846,3010,3379],[1904,1709,1960,1753,1392,1292,1249,1442,1494,1786,2194,1765,1568,2427,2980,3019,2820,3209,3008,2271,2416,3008,2491,1910,2263,2892,3671,3795,3761,4029,4052,3937,3756,3586,3552,3660,3860,4109,3836,3088,2532,2281,3353,3091,2371,1470,1950,3023,3355,3213,2669,2719,3698,3440,2921,3196,3443,3541,3278,3260,3458,3805,4120,3500,2328,2121,2237,2606,3165,3049,3275,2823,2832,2796,2965,3461,3680,3351,2743,2416,1952,1762,2204,1965,2009,2495,3439,4069,4302,4543,4275,4352,4635,4500,4289,3876,4151,4380,3133,2617,2648,2979,2690,2014,2019,2592,2714,2366,2053,2367,2586,2566,2203,2187,2231,2071,2170,2609,2334,1952,1747,1674,1571,1516,1695,1677,1880,2430,2442,2218,2338,2313,2852,3164,2621,2288,2285,2110,1615,1707,2373,3016,2148,1681,1720,1924,1623,1441,1683,1911,2328,2563,2688,2160,2326,3134,3683,3581,3565,3686,3641,2898,2388,2596,3067,3362,2576,1300,1847,2990,2801,3122,2666,2261,2309,2445,2159,1733,1795,1812,1837,1779,1742,1926,1954,2040,2097,1713,1673,1867,2136,2185,2074,2207,1893,2131,2474,2165,2066,2385,2276,2547,2898,2800,2198,2201,1771,1202,1426,1157,1449,2636,2813,2711,2055,2452,2878,2912,3734,3624,2797,2709,2638,2378,2161,1990,1798,1859,2235,1908,2684,3365,2621,1742,1419,1351,1777,1953,2233,2139,2183,2145,2345,2315,2430,2216,1926,2097,3155,3661,3122,2761,2699,2664,2386,2184,2125,2114,2215,2338,2355,2348,2697,3197,2712,2579,2880,2445,2174,2128,2253,2603,3196,2778,2687,3120,2618,2335,2167,2679,3287,2965,2371,2269,2263,2126,2097,2152,2165,1995,2144,2261,2289,2211,1985,2296,2452,2818,2925,2829,2338,2470,3143,2858,2577,2732,2546,3327,3448,3068,2809,2638,3676,3707,3715,3491,3286,2445,1613,1801,2271,3140,2649,2428,2813,2729,2629,2733,2863,2900,2700,2380,2063,2140,2008,1780,1769,1666,2032,2316,2442,2013,1616,2268,2674,2340,2216,2060,2664,2386,1388,1518,1787,1706,1904,2308,3165,2876,2257,1875,2277,2772,2964,2869,2280,1849,1665,2432,2043,2443,3118,2952,2392,1871,1929,2106,2192,2552,2108,2169,2263,1922,1920,1909,2280,2966,2905,2637,2505,2774,2271,1603,1577,1642,1590,1492,2187,2390,2419,2226,2184,2216,2464,2056,2226,2674,2787,2597,2371,1829,2437,2567,2180,1942,1960,1935,1903,2168,2525,2956,2646,3032,2867,2678,1932,1973,2168,2060,2109,1814,2422,2795,2285,2503,2619,2739,2864,3515,3253,3221,2957,2945,3340,3281,2171,1776,2453,2523,3031,2855,3452,2985,2202,1867,2041,2854,3624,3629,3278,3139,3343,3388,3536,3602,3636,3798,4034,3859,3937,3839,3750,3762,3351,3031,3415,3688,3496,3195,2576,2611,2971,3098,2401,1985,2210,2469,2879,2747,2535,2702,2579,3442,2625,2412,2779,2824,2901,2775,3001,3197,3449,3527,3223,2928,3081,2890,2111,1923,1986,2170,1962,2050,2164,2027,2139,2207,2176,1920,1832,1764,1760,1707,1549,1540,1603,1693,1542,1576,1688,1587,1425,1490,1478,1817,1504,1432,1386,1404,1690,2393,2056,2048,2561,2050,1387,1838,2580,2357,1885,1707,1760,1756,1752,1671,1526,1601,1844,2041,1824,1891,2554,2941,2709,2307,2138,1988,1754,1865,1936,1996,2604,3291,3043,2080,2047,1547,1330,2109,1935,1785,2025,2359,1793,1707,1731,1594,1692,1804,1638,1842,2110,2094,2049,2082,1975,1780,1685,1909,1884,1929,2011,2072,1621,1608,2082,2054,1876,1770,1852,1887,1753,1928,2073,1914,1711,2072,2132,2361,2383,2108,2737,3041,2776,3133,3090,2210,1711,1858,1991,1903,1824,1818,2165,2024,2142,1932,1872,2236,2315,2387,2127,2364,2868,2859,2334,1723,1417,2297,2412,1671,1316,1418,1207,1033,1134,1379,1528,1707,1744,1880,1841,1787,1875,1854,1860,1811,1883,2376,2284,1910,2119,1681,1578,1491,1433,1612,2376,2699,2629,2723,2194,2066,2095,2078,2192,2202,2573,2973,2233,2169,2048,1472,1028,1109,1917,2254,1622,1549,2055,1888,1651,1849,2086,2173,1960,2276,2695,2202,1730,1860,1760,2018,2226,1829,1975,2592,2519,2744,2593,1462,1283,1828,2042,2054,2265,2579,2668,2130,1968,2042,2038,2071,2504,2292,2053,2187,2414,1874,986,1571,3056,3404,1907,2122,2187,2444,3121,3063,2437,2272,2158,2366,2916,2590,2061,2520,2607,2367,1911,1930,2137,2231,2214,2242,2089,2409,3066,2952,2546,2258,1972,2448,2264,2485,1846,2276,2450,1675,1437,2232,2966,2510,2043,1880,1886,1616,2449,2684,2082,2498,2627,2423,2198,2503,2838,2123,1647,1945,1868,2330,2667,2797,2452,2340,2851,2739,2575,3031,3430,3474,2950,3189,3663,3087,3542,3794,3825,3331,2358,1759,1919,2315,2561,2273,1845,1914,2228,1958,2538,2274,2383,3016,3272,3006,2610,1979,1672,2094,2398,2225,2195,2621,2092,2447,2877,2587,2343,2592,2410,2601,2797,2261,2048,2549,2404,2143,2317,2975,3166,3121,2661,2723,2908,2458,2626,2375,1384,2542,3291,2249,2060,2129,2196,2786,2800,2792,2356,1812,2053,2700,2747,2847,3068,2452,2986,2562,1515,1235,2209,2424,2032,1903,1973,1994,2010,1990,1890,1804,1763,1857,1758,2623,4060,4139,2755,2363,2756,2764,2410,2154,1917,2216,3207,3539,3007,2899,2376,2356,2432,1902,1687,2512,3671,3461,2692,2401,2670,2802,3362,3738,3438,2331,2424,2969,2585,2070,2111,2269,2436,3292,3487,2858,2531,3247,3488,2916,2385,1840,1821,3050,3682,2878,2520,3186,2730,2030,1638,1718,1791,1542,1605,1479,1340,1500,1469,1445,1961,2781,3455,3292,3510,3278,3083,2485,1888,1753,1672,1726,1597,1385,1793,1824,1586,2005,1858,1896,1924,1865,1653,1698,1874,1759,1727,1766,1732,2015,2207,2136,2776,3683,2868,2088,2278,2194,2220,2430,2307,2250,2999,3075,2600,1914,1869,1908,1935,1785,1833,2248,2631,2587,2185,1892,2454,3348,3206,2241,1558,1343,1427,1665,1897,2076,2098,2944,3507,3184,3061,2862,2062,1719,1871,1768,1683,1751,1943,2037,1747,1647,1899,2430,3481,3999,3936,3981,4299,4279,3464,2120,2272,2339,1759,1642,1763,2115,2337,1882,1054,1259,1230,1487,1750,2060,2159,2006,1581,1410,2050,2182,1757,1837,2055,2113,2488,2711,2451,2604,2590,3066,3971,4085,3374,2343,2287,2219,2065,1623,1461,1354,1490,1603,1523,1541,1964,2390,2209,2078,1848,1440,1372,1613,2144,1859,1650,1656,1767,1918,1941,1711,1598,1629,1583,1527,1403,1350,1436,1470,1446,2068,2665,3002,3008,2531,2450,3121,3469,3326,3063,2690,3321,3320,3605,3908,3516,3371,3315,3257,3139,2876,2156,2003,2320,2596,2016,1647,2175,2483,2211,1654,1374,1439,1388,1505,1852,1554,1613,1349,2174,1881,1541,1415,1640,1883,1794,1665,2084,2181,1593,1529,1654,1630,2006,2264,1849,1974,1729,1264,1720,2766,3586,3695,3355,3604,4266,3799,2326,1101,980,1043,1015,1467,2868,3563,2551,2454,2767,2424,1926,1464,1455,1580,2002,2798,2630,2639,3141,3344,3015,2300,2122,2807,3277,2490,2414,2598,2808,3376,3121,2348,1843,1823,1757,1747,1967,1446,1378,2217,3006,2940,3064,3010,2546,2712,2568,2295,2403,2297,2012,2194,2314,2413,1947,1559,2337,2958,2400,2271,2348,1935,2065,2342,2453,2823,2800,2281,2544,2612,1756,1521,1508,1692,1774,1591,1690,1715,1921,2150,2219,2059,2380,2142,1706,1961,2355,2032,1921,2354,2519,2264,1810,1712,2808,3331,2630,1933,2082,1710,1421,1450,1481,1521,1634,1587,1516,1804,1897,1606,1767,1617,1426,1820,2235,2308,2001,1654,1585,1403,1597,1912,1638,1705,1677,1285,1221,1322,1471,1531,1608,1535,1674,1767,1685,1436,1404,1346,1373,1311,1566,2063,2092,2122,1816,1986,2587,2330,2453,2469,2196,1773,1824,1767,2054,2132,2281,2600,2685,2463,2398,2869,3125,2972,2610,2209,1961,1572,1716,1771,1599,1687,1872,1764,1742,1762,1650,1913,1966,1735,1598,1483,1856,1790,1595,1894,2326,2930,2758,2696,2677,2921,3685,3629,2886,2912,2778,2259,2223,2464,2653,2481,2304,1930,1575,1213,1562,1775,2119,1959,1678,1614,1534,1728,1860,1905,2262,2486,2711,2894,2930,2633,2512,3161,2797,2100,2230,2585,2603,2482,2395,2237,2996,2992,2654,2522,2877,3311,3146,3074,3278,2508,2093,1815,1676,1899,2340,3378,3539,3156,2532,1966,2139,2731,2610,2272,2294,2747,2807,2543,2243,2013,1791,2127,2315,2503,2959,3150,2522,2256,2296,2474,2364,2265,2310,2047,1690,2063,2244,2191,2380,2136,1781,1964,1976,1963,1889,1942,1950,1999,1679,1625,1987,2691,2458,1935,2527,2844,2559,1967,2179,2671,2261,2292,2386,2105,1671,1655,1544,1439,1537,1553,1553,1553,1817,1771,1934,1754,1647,1537,1720,1581,1373,1607,1603,1657,1978,1917,2010,1728,1794,1813,1691,1893,1917,1692,1582,1561,1546,1767,2204,2598,2329,2088,2536,2602,2151,1791,1683,1527,1269,1295,1958,2222,1552,1414,1562,1540,1537,1512,1469,1383,1278,1412,1525,1403,1694,2010,1750,1708,1877,1597,1565,1601,1517,1501,1640,1942,1811,1482,1433,1370,1378,1654,1642,1425,1573,1694,1484,1463,1372,1457,1627,1942,2034,2013,2524,2659,2028,1769,2296,2521,1996,1609,1649,1743,1675,1739,1833,1874,2402,2764,2266,1931,2146,1796,2292,2081,1647,1719,1962,1948,2144,2491,2387,2219,2429,1803,1970,2148,1903,2077,2070,2236,2190,1949,1770,1708,1721,1734,2342,3106,3309,3053,2729,2410,2097,1980,2085,1897,1676,1773,1664,1601,1567,1507,1755,1671,1633,1719,1742,1765,1586,1563,1896,1944,1811,2200,2819,2830,2243,2385,2655,2895,2852,2101,2132,2502,2155,1928,2095,2089,1789,1876,1648,2000,1968,1847,2461,3013,2900,2424,1920,1903,1978,1685,1738,1741,1875,1864,1738,1664,1570,1907,1995,2106,2263,2414,2972,3038,3152,3418,3564,3254,3000],[2501,2507,2422,1929,1802,1701,1328,1500,1512,1619,2238,2122,1888,2634,3118,2577,1920,2599,2808,2105,2384,3077,2484,2038,2451,3575,4058,3825,4004,4031,3736,3671,3881,3880,3762,3999,4220,4176,3723,3042,2110,2213,3022,2081,1235,1432,2587,3189,3083,3189,3252,3363,3528,3043,2818,3276,3431,3537,3451,3435,3520,3393,3588,3360,2238,2314,2559,2487,2901,3187,2957,2957,3528,2853,2573,3226,3441,3315,2775,2253,1891,2176,2325,2454,3429,3580,3861,4124,4207,4384,4516,4163,3703,4196,4457,3950,4130,3952,2902,2259,2375,2249,1967,2036,2481,2561,2002,1930,2278,2204,2762,2552,2279,2235,2634,2864,2736,2596,2187,1785,1737,1880,1716,1638,1772,1997,2226,2335,2419,2272,1779,1882,2410,2324,1912,2083,2076,1854,1514,1726,2461,2557,1884,1580,1827,2010,1794,1930,2363,2495,2702,2647,2329,2002,2032,2592,2577,2584,2998,2976,3062,2997,2832,3217,3387,3563,3068,1846,2881,3353,2524,2652,2544,2099,2274,2542,2156,1846,2065,2086,1907,1691,1615,1725,2063,2471,2388,1913,1675,1647,1937,2154,2265,2419,1991,1889,2190,2002,1964,1651,856,1313,2168,2142,1980,1938,1522,1385,1405,1294,1297,2101,2911,3032,2692,2986,3084,3158,3761,3452,3061,3019,2766,2424,2330,2036,1871,1858,2178,1931,1863,2486,2617,2145,1895,1605,1672,1893,2302,2171,2644,2652,2139,2114,2350,2332,2198,2394,3123,2923,2901,2746,2574,2279,2208,2501,2405,2113,2420,2480,2105,2390,3184,3385,2655,2502,2586,2293,2556,2587,1937,2075,2843,2926,2907,3483,2625,2290,1727,2126,2604,2405,2158,2123,2251,2360,2247,2186,2104,2045,2261,2427,2309,2229,2166,2571,2762,3008,2709,2152,2323,2568,2404,2391,2520,2868,3195,3463,3011,2802,2440,3210,4071,3648,3286,3480,3531,2431,1642,1721,2531,3283,2428,2082,3042,3593,3231,2952,2919,2956,2743,2385,1840,1698,1877,1970,1580,1382,1619,1826,1902,1643,1564,2117,2168,2208,2250,2401,2376,2526,1980,1595,1483,1466,1672,2503,2845,2244,2231,2475,2733,2213,2032,2102,2404,2182,1874,2299,2214,2244,2351,2427,2341,2161,2025,2889,2580,2398,1857,1835,1989,2409,2574,2331,2613,2898,2784,2504,2336,3657,3038,2166,2652,2643,2292,2449,2375,2008,1986,1947,1749,2194,2420,2009,2045,2329,2747,2386,2201,1925,1851,2034,1926,1920,2364,2362,2148,2251,2632,2995,2556,2404,2301,2246,1968,2122,2150,2270,2159,1903,2724,3013,2100,2108,2620,2803,2600,2903,2975,2932,2674,2424,2735,2879,1921,1769,2342,2556,2665,1978,2370,2500,2077,1894,1810,2466,3537,3984,3873,3697,3660,3554,3838,4284,4015,3925,3980,3709,3886,4043,3876,3985,3413,2977,3350,3827,3408,2871,2700,3084,3542,3831,3496,2470,2010,2294,2424,2173,2307,2556,2285,2181,1970,2153,2579,2717,2780,2922,3209,3437,3308,2973,2934,2648,2890,2347,2092,1799,1725,1987,1970,1974,1868,1913,2049,1969,1931,1596,2166,2591,2232,1762,1557,1577,1598,1523,1562,1596,1582,1694,1589,1735,1526,1836,1461,1290,1377,1510,2014,2443,2100,2251,2662,2654,2462,2596,2803,2558,2274,1852,2076,1969,1650,1653,1678,1731,1656,2236,2769,3155,3545,3506,2744,2229,2310,2132,1842,1878,2019,2049,2020,2610,2709,2456,2724,2545,2010,2093,1900,1748,1942,2001,1826,1737,1755,1730,1711,1703,1394,1453,1898,2049,2009,2019,2046,1899,2078,2381,2300,2523,1777,1979,1764,1879,2067,2467,2873,2715,2388,1904,1704,1620,1787,1917,1887,2387,2257,1581,1485,1713,2513,2677,2821,3400,2878,1800,1998,2082,2086,1832,1851,2090,2179,1876,1946,1777,1892,2142,2674,2917,2350,2306,2690,2900,2654,2182,1777,2399,2342,1516,1110,1198,1371,1377,1265,1428,1458,1482,1598,1680,1652,1683,1634,1474,1651,1894,1918,2102,2033,1903,1991,1558,1444,1345,1400,1487,1816,2230,2739,2400,1771,1738,1878,2006,2269,2482,2308,2482,2193,2155,2025,1427,981,1049,1731,2304,2024,1694,2322,2221,1695,1571,1817,1947,1730,2367,3286,2702,1918,1902,1770,1982,2315,2001,2358,2670,2566,2587,2237,1550,1724,2610,2537,2013,2033,2663,2385,2093,2010,1915,2083,2429,2687,2404,2182,2256,2437,2182,1302,1486,2797,3042,2002,2411,2444,2386,2611,2709,2542,2200,2304,2406,2547,2267,2208,2534,2458,2229,2435,2206,1750,1674,2238,3055,2778,2281,2492,2355,2376,2448,2113,2293,2132,1850,1464,2036,2359,1778,1473,2115,2932,2786,2364,1972,2001,1659,2084,2333,2243,2407,2448,2206,2314,2894,3172,2000,1716,2050,2113,2185,2588,2614,2286,2151,2475,2739,2824,2751,3039,3498,3129,3286,3475,3358,3764,3970,3694,2986,1926,1753,2294,2867,2953,2312,2362,2143,1796,1975,2206,1602,2012,3105,3242,2687,2170,1660,1671,1997,2498,2609,2347,2663,2189,2491,3161,2917,2442,2173,2407,2851,2309,1930,2029,2907,2931,2586,2952,3776,3445,2911,2887,3264,3072,2475,2898,2562,1829,2834,2843,1509,1727,2436,2454,2457,2872,2932,2262,2192,2800,3144,2822,2823,3047,2397,2443,2493,1732,1503,2204,2450,2107,1869,1930,1996,2056,2030,1932,1849,1787,1845,1694,2307,3724,4086,3142,2397,2473,2699,2364,2182,1965,2188,2729,2928,3110,3282,3021,2758,2423,2147,1966,2148,2500,2316,2348,2654,3144,2938,3046,3260,3248,2631,2318,2729,2523,2176,2443,2003,2136,2675,2769,3217,3038,2910,2890,2395,2198,1928,1575,2337,3533,3864,3055,3042,2766,2531,2112,1725,1692,1667,1548,1484,1644,2144,1804,1521,1459,1746,2588,3326,3051,2535,2462,2071,1668,1679,1654,1614,1253,1206,1913,1808,1509,2113,2404,2370,2271,2079,1918,1919,1892,1727,1827,1805,1672,1899,1968,2057,2641,2999,2309,1964,2048,2186,2237,2209,2080,2208,2788,2730,2502,2032,1970,1976,1926,1748,1953,2292,2212,1959,1835,1853,2729,3138,2281,1613,1522,1245,1748,2567,2403,2230,2332,2774,3552,3302,3093,3250,3007,2163,1831,1837,1742,1681,1921,1910,1699,1664,1554,2396,3603,4217,4216,4167,4292,4160,3154,1965,2026,1925,1733,1813,1933,2212,2151,1829,1675,2180,2196,1984,1802,1603,1621,1819,1670,1639,1812,1749,1650,1931,2126,2062,2257,2480,2388,2570,2678,2644,3661,3952,3186,2707,2128,1735,1822,2006,2001,2011,1792,1501,1313,1663,2480,2573,2141,2378,2092,1504,1318,1630,1943,1785,1765,1830,1630,1808,1870,1743,1734,1455,1436,1400,1334,1352,1504,1611,1545,1750,2292,2890,3001,2500,2461,3341,3641,3433,3095,3060,3573,3218,3292,3514,3550,3711,3710,3796,3387,2938,2062,2336,3153,3228,2442,1798,1611,2284,2762,1916,1423,1413,1324,1353,1500,1417,1383,1749,2071,1568,1300,1344,1604,1854,1999,2182,2001,2229,1832,1579,1736,1642,1769,1951,1912,2126,2029,1967,2789,3631,3794,3772,3412,3484,3861,3176,2098,1393,1096,1121,1046,1031,1476,2371,2320,2251,2166,1859,2220,2030,1973,1941,2160,2434,2452,2741,2829,2851,2631,2339,2222,2888,3168,2921,2830,2961,2941,3146,3218,2623,1953,1728,1548,1564,1786,1682,1260,1654,2276,2234,2134,1870,2401,3207,2644,2316,1997,1967,2200,2331,2171,2150,2164,2135,2280,2191,1928,2071,2186,1876,2158,2492,2403,2398,2700,3161,3684,3538,2610,1703,1577,2022,2040,1703,1816,1705,1684,1816,2005,2192,2464,2286,2013,1992,2018,1994,1924,2002,2357,2341,2421,1912,2462,2831,2274,1876,1698,1460,1445,1451,1412,1364,1607,1701,1526,1458,1937,1838,1720,1612,1615,1752,1912,1854,1610,1529,1630,1451,1750,2347,1790,1299,1338,1404,1356,1412,1365,1493,1723,1827,2140,1472,1363,1339,1307,1332,1351,1383,1455,1477,2032,2556,2031,2141,2491,3030,2988,2375,2121,1802,1810,1820,2094,2366,2302,2578,2670,2735,2718,2919,3289,3076,2480,1788,1426,1512,1976,2076,1800,1646,1592,1572,1723,1455,1401,1604,1810,1649,1488,1628,1828,1620,1515,1640,2069,2674,2543,2587,2306,2589,3354,3702,2923,2557,2568,2087,2221,2803,2810,2432,2613,2501,1800,1340,1366,1631,1960,1685,1500,1683,1665,1610,2000,2489,2819,2460,2103,2290,2365,2355,2622,2645,2218,1925,2043,2913,3024,2922,2741,2779,2952,2697,2258,2246,2839,3532,3850,3669,3620,2245,1874,2025,1997,2578,2830,3249,3393,3099,2822,2644,2612,2718,2534,2249,2374,2577,2898,2621,2267,2175,2314,2497,2496,2476,2981,2934,2710,2753,2446,2288,2337,2622,2598,2170,1903,2107,2260,2158,2042,1918,1656,1766,1804,2048,1947,1653,1576,1603,1605,1735,1942,2696,3123,2756,2752,2788,2434,2337,2774,2843,2379,2021,1957,1696,1363,1349,1412,1537,1727,1548,1331,1445,1918,2116,1918,1856,1868,1602,1776,1758,1543,1691,1714,1786,1974,1877,1786,2049,2100,1946,1910,1798,1892,1953,1909,1844,1612,1746,2338,2387,2131,2079,2464,2237,1876,1964,1724,1557,1378,1091,1272,1592,1754,1903,1882,1577,1578,1828,1807,1651,1502,1246,1296,1500,1838,2110,1875,1742,2085,1733,1501,1514,1492,1638,1704,1714,1622,1490,1571,1488,1457,1685,1519,1442,1472,1475,1410,1442,1550,1693,1763,1802,1887,2432,2565,2681,1943,1663,1956,2233,2084,1917,1993,2133,1617,1512,1941,2211,2064,2280,2339,2085,2325,2166,1718,1487,1458,1657,1793,1858,1922,1909,1815,1916,2604,2054,1772,1727,1720,1815,1720,1715,1875,1917,1979,2442,2354,2507,2907,2745,2502,2566,2580,2322,1718,1667,1832,1843,1753,1611,1496,1519,1424,1411,1687,1615,1500,1751,1940,1743,1511,1570,1785,2195,2313,2551,2957,2546,2432,2894,2992,2895,3086,2576,2195,2292,1782,1635,1943,2215,1817,1708,1732,1739,1882,1966,2199,2314,2474,2525,2138,1741,1644,1538,1655,1800,2008,1976,1753,1685,1940,2349,2274,1973,2286,2700,2839,2723,2868,3144,2909,2203,2288],[2547,2595,2111,1830,2358,2050,1464,1408,1476,1647,2346,2770,2966,2889,2699,1881,1270,2209,2907,2204,2229,3117,2446,2007,2398,3824,4301,3969,3974,3875,3584,3642,4019,4015,3925,3939,4073,2827,2039,2108,2077,2698,2892,2381,2165,2668,3587,3665,3326,3316,3260,3404,3615,3204,2980,3119,3164,3164,3198,3182,3249,3391,3697,3372,2162,2001,2466,2488,2985,3340,3472,3716,3572,2734,2658,2962,2705,2750,2410,2189,2142,2046,1865,2127,2924,3178,3350,3767,3833,4259,4457,3883,3161,3255,3989,4206,4544,3532,2614,2264,1877,2007,2334,2023,2570,2330,1675,1813,2522,2071,2653,2756,2613,2286,2224,2835,3030,2201,1823,1732,1710,1558,1569,1638,1577,1528,1745,1919,2230,2145,1708,1930,1866,1663,1324,2131,2010,1861,2179,2625,2866,2368,1869,1986,2387,2529,2442,2218,2532,1999,1772,2201,2119,1757,1602,2178,2391,2374,2362,2126,2698,2612,2632,3030,3261,3233,2706,2056,1943,1675,1932,2625,2396,1969,2121,2331,2094,1666,1672,2183,2122,1597,1484,1572,1922,2522,2562,2109,1983,1592,1831,1974,2225,2333,2192,1858,1623,1522,2104,2314,1539,1541,1554,1320,1466,1968,1729,1797,1590,1606,1572,2082,2601,2666,2803,3020,3151,3438,3752,3381,3309,3426,3611,3073,2446,2065,2251,2309,2226,2011,1710,2047,2623,2370,2286,1952,1539,1909,2086,1939,2414,2832,2586,2310,2437,2822,3201,2854,2898,2599,2100,2182,2187,1788,1432,1903,2665,2556,2289,2311,2364,2496,3130,2521,2200,2617,2706,2359,2338,2170,1673,1741,2223,2276,1802,2333,2140,1972,2235,2723,2263,1983,2119,2128,2160,2343,2475,2390,2158,2063,2155,2301,2222,2359,2439,2576,2669,2769,2364,2228,2522,2275,2176,2548,2922,3573,3775,3535,3049,2603,2230,2993,3736,3882,3554,2921,3671,3506,2817,2296,2469,2729,2120,2142,3265,3925,3685,3624,3261,2892,2626,2079,2058,1960,2076,2035,1582,1368,1361,1264,1369,1361,1485,1631,1847,2362,2431,3010,2270,2192,2114,1668,1467,1709,2519,3082,2775,2581,2400,2445,2611,2307,1786,1753,2298,2428,2235,2315,2409,2844,2556,2273,2286,2133,1976,2354,2387,1918,1598,1402,1709,2453,2513,2108,2352,2519,2458,1965,1931,2780,2576,2368,2481,2524,2620,2713,2390,2152,2439,2047,1819,2458,2353,2247,2268,2491,2765,2264,1904,1729,1759,2165,1948,2106,2458,2363,2235,2309,2159,2260,2342,1984,1760,1680,1566,1750,1847,1974,1874,1764,2110,2630,2410,2609,2941,2946,2792,2730,2589,2766,2182,2084,2156,2000,2069,1902,1873,2347,2459,1903,2273,2493,1889,1711,1574,2012,2647,3031,3649,3905,3637,3803,4325,4632,4488,4327,4058,3900,4015,3479,3315,3684,2832,2901,3607,3880,3178,2651,2820,3416,3538,3577,3777,3204,2534,2620,2199,2147,2500,2098,1839,1759,2056,2219,2041,2238,2353,2691,2953,3007,2746,2789,2767,2829,2481,2238,2323,1841,1732,2041,2309,2031,1874,1897,1804,1664,1733,1682,1814,1715,1699,1806,1850,1895,1839,2098,2115,1765,1577,1695,1419,1409,1461,1641,1574,1453,1455,1563,2141,2392,1897,2379,2898,3099,3145,2569,2554,2743,3099,3177,2570,1728,1751,1959,1630,1982,2271,2764,3095,2889,3001,3298,2952,2315,1933,1793,1942,1902,1949,1824,2061,2321,2563,2622,2821,2747,2185,1795,1802,1930,1874,1751,1704,1693,1671,1678,1789,1637,1478,1491,1583,1662,1979,2038,1778,1780,1905,2065,1969,2190,1812,1971,2011,2244,2333,2576,2932,2799,2336,1740,1383,1404,2049,2157,2174,2669,2706,2392,2136,2071,2475,2598,2625,2435,1909,1527,2019,1826,1639,1960,2003,2173,1967,1781,1898,1768,1925,2209,2692,2998,2685,2199,2728,3113,2775,2387,2183,2221,2170,1565,945,1407,1787,1850,1813,2015,1936,1539,1632,1835,1815,1647,1475,1482,1578,1801,1830,1637,1564,1753,1857,1672,1600,1488,1503,1598,1618,2050,2372,1966,1852,1923,2144,2109,2565,2719,2245,2089,1925,2187,2251,1672,1257,1050,1571,2194,2082,1570,2392,2503,1828,1332,1438,1743,1712,2163,3136,2830,2082,2022,1773,1843,2261,1919,2177,2568,2365,2094,2233,2075,1867,2358,2397,1925,2034,2199,2125,2165,2014,1978,2136,2375,2524,2626,2376,2185,2350,2470,1932,1904,2194,1890,2056,2536,2346,1994,2054,2332,2337,2069,2273,1969,2222,2123,2259,2469,2231,2319,2735,2632,2338,2443,2911,3128,2314,2266,2471,2009,1869,1989,1670,1787,2236,2008,1751,2503,2533,2106,2096,2137,2441,2443,2558,2145,2062,1887,2047,2838,2821,2126,1755,1814,2148,2854,3045,1831,2079,2607,2442,2265,2459,2658,2519,2444,2386,2194,2188,2126,2373,2668,2951,3307,2961,2917,3427,3782,3630,3254,2580,2281,2168,2686,3132,2316,2086,2129,1868,2136,2201,1869,2105,2834,2697,2525,2003,1843,1916,1876,2562,3128,2964,2577,1958,2379,3241,3271,2878,2346,2481,2736,2553,2657,2766,3255,3108,2808,3155,3414,3230,2831,2785,3110,2805,2115,2635,2266,1676,2543,2482,1958,1954,2348,2518,2437,2813,2763,2711,2386,2699,2456,2570,2893,2868,2577,2721,2823,2288,1917,2169,2454,2236,1878,1920,1945,1982,1945,1895,1853,1813,1861,1729,2102,3453,4099,3283,2367,2565,2729,2425,2447,2347,2246,2491,2684,2567,2520,2540,2421,2457,2249,2170,2334,2125,2400,2756,2745,3155,3222,3035,2980,2903,2342,1865,2667,2976,2342,2792,2491,1965,1913,2310,3204,3602,3685,3252,2633,2936,2541,2039,2290,2841,3163,2585,2642,2565,2664,2783,2116,1665,2157,1993,1561,1570,1788,2398,1901,1505,1367,1546,2080,2191,2165,2173,1713,1658,1625,1560,1505,1374,1700,1924,1838,2062,2521,2457,2586,2604,2535,2372,1970,1771,1577,1676,1550,1412,1554,1862,2095,2185,2162,2092,2029,1938,2391,2308,2211,2231,2444,2719,2255,1933,1970,2003,2148,2240,1820,1865,1771,1789,1812,1880,1711,2342,2442,1829,1486,1542,1384,2087,2695,2690,2820,2718,2148,3060,3316,3068,3034,2701,2041,1864,1887,1801,1633,1853,1888,1575,1567,1548,2317,3678,4376,4401,4325,4284,4227,3439,2495,2131,1669,1717,1887,1680,1847,2009,2264,2525,2599,2549,2609,2599,2494,2465,2620,1953,2178,2226,1881,1752,1942,2105,2148,2275,2277,2249,2491,2590,2272,2728,3466,3255,2675,1823,1627,2330,2758,2869,2637,2258,1909,1557,1785,2336,1973,1653,1839,1862,1522,1444,1589,1759,1721,1644,1659,1567,1623,1471,1870,1729,1546,1596,1510,1461,1382,1485,1574,1537,1726,2104,2339,2521,2032,1878,3210,3707,3560,3498,3798,3621,2733,2625,3262,3756,3806,3583,3686,3422,2896,2266,2167,2840,3205,2675,1977,1836,2494,2656,2006,1400,1328,1333,1390,1380,1428,1542,1897,1788,1559,1498,1356,1582,1993,2540,2837,1988,1739,1499,1344,1814,1958,1605,1745,1798,1860,2298,2536,2609,3177,3696,3776,3688,3211,2811,2276,2011,1480,1090,1144,1139,1079,1442,2441,2590,2238,1944,2165,2502,2570,2330,2194,2140,2287,2223,2517,2442,2415,2305,2422,2199,2308,2514,2332,2376,2880,3098,2980,2938,2884,2085,1717,1651,1698,1932,1948,1595,1893,2096,1956,2231,2309,2397,2752,2389,1824,1415,1915,1935,2173,2419,2406,2485,2286,2015,2105,2218,1921,1860,1814,1869,2501,2603,2472,3184,3951,4060,3742,2939,1809,1671,1849,1327,1336,1553,1518,1478,1544,1981,2105,1964,1946,1818,1798,1882,1782,1675,1700,2210,2641,2971,2187,2061,2536,2378,1906,1681,1523,1433,1408,1581,1499,1682,1741,1595,1615,2169,2122,1742,1543,1684,1756,1913,1891,1588,1259,1505,1727,2235,2601,1932,1304,1312,1464,1626,1698,1726,1643,1576,1693,1754,1442,1502,1511,1594,1748,1676,1641,1621,1528,1677,1913,2500,2863,2884,3006,2345,1605,1727,2003,2122,1946,2190,2520,2436,2445,2734,2678,2069,2122,2692,2933,2780,2010,1581,1637,1627,2210,2342,1884,1415,1777,1842,1453,1763,2036,1952,1877,1505,1630,1592,1683,1764,1550,1514,2093,2159,2033,2186,2326,2597,3037,2978,2896,2438,2132,2393,3034,2601,2417,2643,2687,2351,1818,1513,1975,2492,1953,1636,1844,1708,1622,2128,2180,2692,3144,2856,2455,2258,2380,2457,2337,2142,1859,2092,2922,3040,3039,2696,2608,2589,2360,2204,2330,2852,3521,3518,3284,3065,2499,2226,2521,2423,2314,3040,3956,4091,3691,2518,2750,2950,2532,2171,2159,2697,2933,2946,2775,2324,1752,1830,2451,2635,2720,3344,3510,3482,2680,2120,1839,2325,3151,2840,1989,1737,2097,2281,2353,1978,1771,1485,1875,2019,1880,1677,1583,1613,1602,1658,1793,1951,2271,2242,2004,2986,2867,2199,2253,2677,2748,2364,1911,1782,1583,1360,1394,1485,1543,2003,1709,1475,1380,1619,1957,2051,1973,1670,1453,1794,1898,1582,1403,1453,1528,1754,1669,1615,2047,2048,2110,2099,1787,1792,1969,1962,2220,2009,2045,2623,2642,2331,2577,2490,1837,2019,1937,1551,1505,1629,1685,1437,1634,2004,2262,2178,1662,1654,2122,2031,1575,1410,1426,1598,1629,1759,1913,1912,1779,1803,1556,1351,1381,1544,1628,1677,1698,1569,1444,1337,1289,1397,1551,1444,1406,1455,1437,1434,1561,1743,1627,1573,1678,1567,2432,2219,1945,1705,1964,2156,2033,2409,2612,2422,2208,1426,1516,2012,2260,2330,2574,2718,2282,2016,1898,1607,1530,1667,1773,1616,1602,1754,1925,2030,1894,2251,2050,1660,1652,1696,1857,1761,1600,1448,2039,3383,3440,2566,2800,2700,2398,2644,2256,1837,2040,1709,1549,1428,1596,1708,1814,1626,1569,1483,1772,1944,1729,1589,1666,1858,1943,1700,1887,1754,2548,2763,2563,2530,2695,3207,3195,2580,2856,3595,3054,2382,2129,1682,1565,1742,1860,1793,1848,1781,2166,2799,2404,2133,2250,2394,2182,2071,1818,1728,1628,1735,1793,1902,1853,1705,1661,1830,1933,1800,1583,1766,1971,1894,2297,3107,3054,2152,1931,2137],[2076,2612,2370,2277,2653,2751,2234,1831,1816,2216,2580,3019,3332,2659,1918,1691,1466,2194,2974,2279,2109,3044,2419,1959,2495,3650,4216,3942,3628,3325,3307,3505,4140,4110,4191,3812,3493,2281,2590,3366,3311,3203,3225,3203,3422,3595,3558,3194,3274,3084,2746,2902,3034,2872,2864,2972,3086,3024,2931,2843,3039,3498,3961,3329,2222,2344,2746,2669,2944,3516,3913,3748,3393,2532,2373,2449,2658,2612,2245,1877,1804,1472,1203,1941,2728,2686,2736,3432,3624,3807,4208,4229,3914,3738,4108,4304,4544,3986,2754,2217,2171,2471,2532,2352,2706,2598,2598,2768,2359,2185,2557,2652,2386,1806,1506,2091,2284,1874,1798,1728,1685,1622,1627,1671,1637,1606,1844,2064,2218,2524,2260,1806,1567,1784,1858,2173,1909,1832,2039,2520,2901,2509,2117,1910,1886,2312,2081,1604,2024,1880,1838,1926,1800,1610,1584,1958,2209,2348,2166,2521,2556,2116,1896,2263,3034,2856,2689,2374,1966,1938,1976,2436,2018,1692,1802,2588,2271,1675,1614,2056,2111,1604,1511,1687,2034,2731,2570,2229,2155,1841,1730,1809,2045,2170,2294,2106,2148,2589,3104,3032,1890,1652,1624,1603,1482,1376,1635,1843,1642,1725,1806,1929,2146,2213,2363,2749,3060,3291,3083,3371,3732,4062,4176,3565,2691,2184,2469,2587,2078,1765,1753,2016,2642,2729,2542,2170,1694,1677,1849,2048,2561,2721,2997,3051,3053,3251,3206,2841,2456,2413,1939,1996,2032,1377,1048,1648,2447,2858,2566,2198,2284,2414,2359,1981,1693,2029,2682,2984,2702,2233,1810,1870,1958,1832,1831,1806,1742,1970,2988,3039,2292,2032,2035,2101,2234,2344,2403,2405,2349,2276,2276,2167,2040,2017,2142,2178,2250,2375,2536,2981,3132,2373,2614,3039,2871,2919,3376,3488,3371,2857,2087,1996,2357,2922,3510,3896,4092,4151,3211,2169,2160,2095,1898,2182,2824,3569,3531,3386,2975,2523,2342,1937,2171,2292,2520,2448,1869,1557,1504,1387,1478,1781,2014,1872,2154,2347,2103,2122,1782,2126,2500,2281,2156,2275,2581,2457,2578,2521,2514,2192,2233,2362,1915,1838,2149,2085,2185,2420,2098,2141,1996,2167,2266,2092,2019,1970,1804,1727,1817,1641,1755,2103,2356,2243,2700,2425,2148,1924,1707,1915,2128,1855,1813,2160,2188,2061,2360,2353,2751,2046,1975,2572,2482,2320,2401,2525,2636,2254,2075,1945,2071,2486,2499,2540,2530,2219,1943,1814,1770,2307,2259,1642,1639,1562,1411,1476,1598,2038,1849,2022,2514,2813,2470,2513,2905,2579,2460,2546,2668,3019,2473,2158,1889,1712,1738,1714,1749,2030,2016,1521,1771,2121,1684,1438,1065,1287,1954,1762,2670,3720,3885,4118,4412,4391,4624,4488,3691,3816,4272,3863,3406,3692,3250,3066,3188,3275,2821,2526,3013,3312,3240,3229,3895,3615,2647,2631,2078,1880,2365,2052,1555,1536,2148,2283,1816,1860,2060,2331,2598,2499,2465,2996,3166,2874,2526,2624,2150,1859,1801,1843,1989,2055,1827,2059,2043,1761,1954,1600,1319,1605,1921,1973,1974,2310,2452,2814,2614,1735,1391,1418,1479,1788,1765,1566,1426,1337,1524,1977,2370,2247,1889,2404,2894,2678,2699,2623,2589,2799,2994,2941,2496,1921,2112,2097,2269,2865,2729,2591,2758,2333,1911,2333,2498,2114,2031,2050,1936,1832,1665,1809,2014,2099,2324,2426,2477,2436,2044,1903,2089,2008,1992,1439,1122,1645,1626,1737,1750,1510,1566,1699,1774,1986,1846,1633,1454,1727,1777,1986,1912,1865,1969,2037,1967,2337,2389,2241,2676,2649,2120,1580,1669,1614,2160,1777,1909,2895,2912,2842,2502,1941,2290,2618,2592,2048,1890,2029,2229,2190,1920,2127,2134,2066,1800,1864,1850,1880,2258,2470,2455,2329,2319,1906,2701,3220,2866,2342,1934,1792,2045,1739,1390,1607,1742,1754,1708,1570,1586,1584,1807,1937,1834,1757,1726,1583,1878,1909,1685,1825,1857,2075,1864,1672,1825,1762,1675,1844,1659,1820,1996,2304,2214,2111,2400,2269,2529,2284,1772,1634,2047,2564,2128,1176,1320,1389,2051,2234,2125,1570,2142,2599,2061,1496,1436,1709,1744,1714,2757,2729,2137,2040,1798,1824,2096,2123,2254,2332,2286,2123,2248,2362,1876,2003,1953,1896,1870,1710,1858,1854,1955,1993,2182,2555,2379,2690,2580,2110,2173,2282,2190,2558,2379,2060,2167,2182,2186,2133,2244,2323,2142,1943,2219,2451,2709,2189,2083,2260,2397,2542,2469,2366,1970,1958,2598,2791,1957,2687,2918,2039,2116,2210,1713,1947,2471,2343,2118,2632,2484,2583,2643,2198,1882,2042,2498,2337,2205,1945,1920,2857,3185,2843,2372,2605,2720,2974,2498,1673,1686,1906,1932,2374,2797,3113,2941,2855,2666,2266,2437,2495,2686,2235,1984,2064,2191,2414,2930,3236,3603,3476,3387,3130,2720,2555,2963,2696,2212,2104,2216,2373,2280,2150,2008,2697,2301,2222,1929,2010,2077,1824,2142,2954,3197,2484,2237,2607,2998,3203,3498,3063,2700,2707,3245,2850,2765,3038,2624,2368,2617,3079,3021,2633,2554,2786,2788,2604,3344,3173,2414,2484,2722,2610,2462,2489,2563,2576,2990,2368,2564,2671,2722,2389,2636,2714,2797,2831,2608,2418,2441,2158,2266,2271,2381,2002,1936,1953,1965,1963,1914,1858,1829,1856,1751,1925,3252,4023,3395,2499,2373,2580,2456,2867,2954,2508,2408,2408,2194,2378,2476,1978,2081,1966,2072,2254,1963,2476,2954,3076,3570,3566,2879,2735,2544,2048,1715,2391,2790,2234,1925,1741,1720,1845,2005,2266,3117,4480,4540,3743,3159,2780,2321,1937,2012,2614,2496,2539,2829,2777,2623,2121,1619,1847,2149,1794,1540,1521,1970,1922,1592,1492,1471,1550,1886,2301,1913,1655,1653,1642,1543,1481,1345,1653,1885,2025,2408,2352,2244,2361,2210,2292,2154,1838,1799,1882,1863,1471,1259,1310,1637,2037,1995,2167,2056,1887,2294,2626,2536,2214,2380,2714,2539,2016,1824,1709,1916,2207,1723,1555,1866,1985,2302,2298,2010,1615,1556,1777,1688,1598,1587,1381,2540,2856,2887,2815,2396,2025,3234,3580,2964,2580,2148,1744,1704,1602,1532,1633,1720,1848,1726,1667,1813,2178,3179,4232,4416,4123,4084,4153,3416,2706,1947,1599,1521,1497,1596,2094,2382,2436,2567,2436,2060,2200,2144,1844,2193,2287,1957,2784,2996,2459,2365,2764,2928,2583,2653,2382,2389,2555,2579,2740,2430,3149,3272,2308,1853,2021,2266,2494,2589,1958,1859,2056,1863,1736,1874,1946,1674,1680,1715,1592,1632,1483,1567,1705,1490,1502,1506,1501,1604,1815,1586,1802,1814,1578,1484,1531,1942,1888,1538,1761,1822,1937,1865,1927,1980,3089,3785,3630,3716,3880,3218,2975,3409,3805,3465,2927,3065,2977,2447,2115,1948,1945,2647,3426,2996,2100,2365,2784,2236,1948,1527,1419,1418,1361,1284,1351,1577,1793,1639,1242,1326,1399,1837,2010,2350,2149,1831,1627,1364,1337,1889,2213,1926,2186,1905,1736,2540,2924,2079,2203,3271,3917,3586,2823,2078,1940,2043,1470,1340,1858,1830,1407,1667,2399,2214,1707,1934,2126,2292,2446,1897,2035,1882,2389,2042,1799,1685,1704,1839,2072,2029,2394,2940,2943,2886,2820,2923,2973,3096,3176,2458,1816,1672,1734,1797,1698,1740,1851,1626,2041,2690,2774,2096,2089,1938,1700,1672,1992,1844,1914,2217,2266,1980,1728,1730,1995,2344,1835,1420,1595,1663,2247,2304,1956,2517,3204,3044,2383,1918,1973,1882,1810,1490,1459,1373,1448,1735,1723,1926,2164,1967,1760,1553,1611,1915,1877,2162,1898,1784,2393,2666,2113,1734,1881,1834,1692,1704,1523,1484,1584,1641,1602,1572,1516,1483,1758,1893,1654,1980,1678,1741,1614,1507,1942,1666,1366,1762,2213,2411,2236,1820,1735,1932,1988,1932,1904,1904,1722,1592,1506,1560,1425,1528,1588,1726,2230,2236,2078,2190,2047,2004,2070,2745,3122,3211,2466,1474,1301,1520,2076,2755,2532,2176,1931,1837,1799,2244,2145,1638,1655,2066,2702,2640,1991,1961,1866,1746,2391,2518,2058,2172,2464,2091,1769,2360,2317,1886,2189,1842,2183,2042,2381,2658,2155,1637,1882,1807,1640,1885,2020,2601,3021,2998,2303,2220,2703,2844,3310,2806,2546,2480,2544,2458,1995,1874,2643,2812,1883,1640,2073,1992,1816,1695,1652,2157,2445,2630,2590,2385,2129,1974,2076,1879,1752,2292,2791,2740,2562,2320,2488,2524,2661,3018,2974,2728,2879,2866,3503,3383,2822,2518,2713,2761,2569,3513,4227,3978,3751,2364,2762,3018,2422,2022,2462,2994,2944,2956,2929,2462,1630,1774,2420,2728,2951,3363,3309,3001,2303,1970,1713,2153,2646,2264,1643,1790,2470,2302,2102,1569,1222,1135,1674,2171,2240,1881,1613,1716,1867,1612,1691,2133,1947,1688,1600,2570,2731,2250,2155,2374,2305,1910,1476,1488,1516,1450,1507,1611,1536,1926,1780,1498,1529,1584,2025,2440,1904,1614,1425,1747,1649,1466,1500,1582,1719,1858,1906,1972,1874,1814,1694,1646,1740,1567,1602,2073,2692,2566,2454,2381,1920,1806,2143,1834,1529,1748,1694,1548,1491,1470,1795,1807,1720,1570,1787,1855,1705,1707,1400,1402,1353,1592,1730,1684,1579,1652,1745,1868,1832,1587,1457,1440,1477,1515,1530,1581,1577,1460,1301,1241,1273,1319,1356,1363,1416,1500,1478,1612,1505,1483,1470,1532,1532,1459,1662,1685,1958,2078,2303,2352,2115,2311,2732,2424,2107,1864,2276,2562,2433,2354,2406,2203,1713,1545,1525,1572,1832,2048,1918,1457,1169,1460,1687,1836,1869,1919,1781,1750,1850,1682,2005,1660,1454,1470,1537,2165,1869,2144,2338,1980,1993,2164,1982,1940,2152,2030,1559,1551,1645,1715,1827,1745,1736,1795,1743,1778,1756,1682,1410,1294,1550,1700,1743,1608,2158,2331,2193,2463,3119,3210,2721,2192,2451,3159,2746,2295,2091,1645,1564,1595,1556,1723,1908,1832,2200,2589,2334,1959,2176,1966,1669,1692,1852,1790,1730,1687,1650,1686,1437,1654,1737,1789,1716,1612,1610,1766,1808,1647,2187,3372,3472,2836,2119,1826],[2398,2607,2681,2841,2757,2876,2515,2147,1844,2071,2426,2709,2892,2667,1826,2038,2057,2472,2816,2434,2297,2988,2751,2353,2754,3606,3783,3350,3466,3508,3376,3305,3836,4112,3926,2884,2602,3033,3523,3698,3480,3455,3410,3395,3356,3549,3237,3195,3016,2620,2645,3112,2988,2723,2847,3108,3240,3154,2922,2934,2974,3197,3980,3373,2520,2903,3018,2652,2604,2640,2675,2731,2623,2029,1939,2411,2600,2546,2386,1982,2143,2107,1467,2329,2846,2653,2707,3520,3517,3665,4050,4256,4257,4234,3738,3514,4284,3646,1957,2215,2382,2653,2775,2990,3352,3296,3461,3050,2220,2142,2541,2546,2088,1579,1580,1906,1941,1642,1680,1737,1687,1668,1678,1749,1743,1655,1893,2014,1899,2164,2052,1747,1574,1788,1975,2020,1800,1676,1882,1999,1895,2070,2230,2279,1947,2031,1729,2066,2206,1973,1933,1809,1824,1780,1709,2226,1846,2067,2438,2676,2215,1875,1689,2107,2671,2545,2186,1841,1743,1902,1666,2320,2082,1549,1732,2735,2424,1777,1700,2015,2280,1868,1603,2092,2237,2395,1986,2179,2192,2184,1918,1800,1946,1971,2249,2693,2847,3332,3164,2610,1672,1666,2238,2657,2013,1576,1884,1990,1762,1702,1637,1343,1754,2340,2584,2883,3145,3196,3276,3740,3777,3918,4100,3935,3320,2569,2232,2125,1903,2041,2349,2596,2806,3047,2688,2094,1722,1547,1870,2530,2780,3364,3549,2927,2609,2741,2687,2669,2460,2165,2399,2908,2374,1387,1452,2150,2355,2416,2081,1965,2195,2063,2056,2166,1908,1751,2303,3088,2721,2287,1956,2405,3038,2329,1873,2029,1492,1490,2020,2089,2198,2165,2134,2138,2333,2412,2374,2322,2237,2302,2374,2417,2344,2168,2153,2286,2576,2284,2648,2949,2841,2709,3210,3276,2714,2462,3097,3548,3493,2766,2157,2031,1754,1654,2258,2985,3263,3404,2845,2198,2006,2074,2045,1941,2385,3128,3400,3206,2398,2176,1952,2078,2457,2774,3061,2884,2181,1812,1776,1901,1744,1809,1652,1677,1971,2236,2342,2150,2145,2394,2425,2589,2767,2579,2444,2445,2312,2631,2867,2282,2054,2187,2029,2136,2201,2268,2395,2221,2075,1757,1781,2019,2308,2463,2178,1846,1609,1851,2447,2319,2230,2197,2333,3106,2829,2501,2270,1908,1754,1987,2199,1680,2003,2235,1956,2099,2568,2967,2764,2059,2266,2558,2164,2140,2459,2701,2536,1939,1908,2266,2267,2667,3296,3152,2467,1969,1791,1544,1668,2313,2276,1632,1794,1747,1719,1644,1883,2154,1892,2000,2822,3179,2513,2414,2753,2330,2633,2688,3083,2829,2535,2564,2531,1846,1293,1686,2061,1796,1535,1275,1358,1597,2147,2233,1810,2235,1890,1581,2477,3613,4090,4108,3972,3546,3802,4092,3392,3695,3576,3241,3405,3634,3141,2665,2896,3109,2652,3266,3759,3430,3076,3418,3470,3553,3281,2814,2199,1995,2008,1924,1531,1665,2084,1950,2059,1972,1944,2472,2730,2669,2359,2213,2473,2295,2420,2585,2150,2047,1880,1753,1759,1935,1918,1924,1906,1974,2010,1898,1852,1898,2054,2291,2232,2292,2460,2585,2322,1605,1507,1555,1623,1592,1582,1686,1306,1269,1832,2779,2798,2190,2032,2472,2475,2154,2226,2348,2576,2966,2168,2133,2808,2708,3250,3079,2601,2103,2279,2428,2335,2120,1899,1973,2161,2101,2222,1968,1726,1917,1973,2176,1973,1847,2068,2155,2082,2774,2941,2029,2120,2665,2498,1224,1410,2106,1959,1853,1821,1779,1872,2016,2146,1862,1637,1856,1946,1893,2387,2646,2107,1836,2124,2027,1904,1911,2139,1979,2547,2756,2113,1652,2024,1952,2077,1910,2128,2578,2476,2238,2046,1756,2403,2396,2730,3385,3249,2817,2416,1979,1752,2053,2149,1940,1989,2199,1749,1594,2106,2270,2366,2008,1743,1913,2410,2622,2604,2327,1900,1752,2377,2183,1719,2002,2265,2009,2096,2221,1841,1625,1900,1861,1815,2246,2216,1791,1825,1626,1694,1827,1566,1515,1472,1547,1801,2036,1807,1990,1905,2093,2118,2834,2735,2269,2432,2622,2414,1932,1595,1837,2389,2654,2323,1285,1675,1923,2478,2425,2100,1800,2012,2327,2158,1887,1616,1689,1875,2233,2732,2267,1936,2023,1830,1783,2007,2245,2279,2135,2357,2395,2229,2542,2029,2027,1902,1532,1573,1877,1709,1778,1984,1928,2271,2504,2337,2624,2554,2222,2142,2193,2116,2169,1999,1875,2350,2398,2071,2211,2082,2309,2272,2000,2205,2548,2579,2302,2248,2643,2598,2495,2445,1953,1617,1629,2564,2898,2525,2967,2714,2281,2509,2093,2047,2117,2493,2277,1534,1715,2090,2212,2023,1582,1406,1912,2198,2098,2331,2282,2644,3062,3354,3174,2399,2526,2614,2588,2288,1633,1423,1387,1529,2567,2844,3245,3388,2852,2076,1561,1918,2453,2592,2161,1999,2081,2188,1717,1918,2622,3410,3597,3586,3330,3178,2957,2868,2700,2366,2348,2520,2640,2127,1864,1684,2521,2567,2277,1827,1961,2029,1690,2012,2899,2865,2588,2656,2610,2413,2496,2697,2073,1841,2512,3073,2845,2414,1853,2056,2282,2245,2573,2819,2520,2306,2411,2017,2312,3824,4530,3876,3004,2629,2583,2245,2173,2369,2275,2427,2266,2053,2665,2942,2798,2567,2425,2575,2929,2631,2701,2874,2620,2841,2601,2598,2137,1971,2032,1988,1965,1917,1859,1813,1814,1780,1733,3065,3865,3189,2366,2406,2799,2665,2432,2570,3052,2713,2458,2224,3001,3342,2479,2600,2156,2061,2207,2137,2250,2491,3341,4084,3939,3285,2846,2632,2459,2137,2347,2408,2340,2126,1850,2143,2266,2125,2679,3543,3919,4174,3654,2791,3188,2308,1643,1742,2493,2777,2340,2632,3294,2980,2260,2019,1813,2031,1975,1700,1595,1807,1844,1522,1541,1521,1583,2089,1981,1611,1646,1700,1553,1474,1553,1669,1931,2210,2471,2454,2432,2419,2321,2323,2502,1975,1743,1847,1891,1855,1546,1275,1284,1573,2114,1871,2208,2044,2034,2524,2545,2485,2232,2025,2359,2445,2105,2092,1889,1929,2014,1482,2244,2160,2258,2828,2634,2026,1509,1383,1737,1703,1710,1745,1731,2785,2934,2989,2911,2066,2509,3590,3496,2940,2222,1788,1839,1407,1255,1353,1619,1505,1679,1701,1568,1798,2318,3284,4141,4143,3802,3860,3359,2542,2473,1893,1647,1603,1790,2343,2633,2498,2303,2296,2525,2672,3039,2896,2677,2873,2808,2767,2554,2108,2136,2300,2726,3064,2924,2641,2242,2541,2833,2846,3231,2574,2206,2369,2164,2150,2386,2139,2004,2066,1790,1870,2231,2269,1845,1613,1780,1693,1622,1489,1515,1720,1576,1459,1564,1444,1598,1625,1676,1649,1715,1900,1943,1714,1499,1330,1373,2095,2209,1592,1333,1350,1673,1847,2130,2625,3328,3662,3694,3798,3268,2917,3624,3533,3472,2640,2573,3113,2619,1941,1762,1780,1888,2211,2846,2985,2394,2302,2416,2374,2165,1752,1576,1471,1353,1380,1448,1505,1532,1536,1321,1292,1358,1621,2215,2334,1978,2158,2346,2071,1883,1849,2225,2054,2138,1921,1647,2350,2719,2345,1940,2640,3469,3061,2187,1722,1753,2005,1945,1916,2536,2359,1859,1705,1801,1980,2351,2397,2094,2025,2331,2136,2116,2128,2270,2026,2087,2438,2741,2866,2589,2469,2550,2213,2169,2497,2675,3241,3138,3146,3375,2810,2264,2189,2094,1857,1637,1908,2143,2013,2173,2083,2129,1779,1393,1386,1730,2031,2193,1998,1819,1903,1811,1611,1801,1755,1664,1974,2036,1936,2012,1771,1935,2313,2136,2173,2499,2066,1689,1734,2137,1941,1603,1584,1577,1432,1459,1629,1750,1887,2322,2399,1824,1543,2056,2122,2056,2410,2060,1643,1724,1991,1957,1523,1593,1911,1699,1612,1701,1851,1979,1905,1920,1813,1565,1621,1894,1833,1268,1516,1622,1728,1543,1906,1986,1461,1327,1548,2096,2460,2058,2027,2683,2988,2857,2589,2417,1751,1427,1395,1355,1457,1431,1477,1569,1616,1627,1776,2270,2514,2442,2444,2304,2352,2792,3417,2959,1723,1320,1333,1650,2370,2653,2079,1625,1574,1591,1635,1577,1868,1928,1772,2037,2326,2517,2065,1872,1742,1919,2034,2184,2553,2917,2903,2367,2182,2160,1704,1867,1510,1958,2719,3016,3301,3111,2200,1720,1781,1805,1637,1570,2287,2850,3089,2428,2701,2960,2851,2774,2851,2670,2169,2021,2435,2669,2040,2711,2544,1912,1690,2045,2046,1762,1605,1873,2304,2343,2343,2448,2256,1829,1908,2357,2105,1885,2420,2731,2579,2013,2161,3106,3120,3089,3198,2934,2346,2093,2423,2884,2450,2270,2645,2445,2628,3100,4189,4164,3824,2813,2178,2887,2952,1797,1529,2612,3091,2915,3186,3173,2592,1816,1854,2201,2459,3006,3087,3099,3071,2732,2245,1660,1633,1588,1616,1547,1582,2087,1887,1930,1680,1110,1210,1812,2150,2360,2028,2042,2284,2014,1697,1863,2039,1749,1504,1625,1989,1995,2009,2354,2458,1861,1665,1648,1620,1689,1601,1531,1516,1573,1754,1763,1852,1976,1817,2294,2426,1766,1719,1641,2088,1915,1793,1870,1796,1578,1701,2085,2206,1987,1966,1795,1546,1668,1535,1504,1794,2408,2471,2215,1907,1681,1672,1852,1616,1454,1869,1946,1961,1723,1475,1515,1477,1481,1611,1489,1337,1423,1535,1294,1332,1357,1423,1413,1660,1591,1578,1652,1815,1906,1669,1508,1526,1482,1663,1569,1342,1470,1490,1578,1551,1395,1410,1438,1392,1385,1328,1374,1484,1402,1500,1495,1498,1500,1550,1600,1914,2251,2164,2229,2335,2129,1738,2326,2541,2401,2477,2485,2416,2280,1875,1804,1814,1655,1671,1584,1670,1847,2122,2318,1755,1149,1189,1699,2198,2175,2008,1783,1582,1507,1525,1887,1585,1621,1471,1221,1437,1581,1710,1918,1965,1886,1892,2249,2348,2051,1911,1677,1736,1597,1606,1731,1679,1671,1671,1626,1907,1773,1560,1376,1467,1531,1768,1702,1207,1336,1823,2183,2542,2591,2358,2466,2268,2135,2536,2198,2349,2225,1678,1668,1720,1602,1829,1728,1907,2001,1665,1868,2016,1892,1609,1526,1595,1686,1887,2061,1750,1543,1597,1721,1931,1716,1604,1464,1641,1748,1727,1910,1992,2535,3687,4007,3299,1947,1948],[2864,2543,2341,2389,2365,2164,1965,1848,1540,1735,2138,2766,3162,3310,3010,2370,2247,2798,3030,2853,2762,2874,2996,3060,3088,3519,3342,3109,3230,3544,3462,3420,3575,3575,2857,2365,3153,3758,3674,3843,3571,3637,3441,3322,3151,3221,3174,3300,3164,2742,2846,3198,3104,3116,3067,3168,3200,3226,3331,3593,3863,3984,4081,3378,2679,2818,2762,2403,2483,2460,2326,2540,2668,2425,2364,2563,2635,2321,2210,2302,2280,2442,2416,2262,2539,2423,3006,3500,2980,2521,3153,4080,4317,3755,2887,3139,4209,3334,2921,2512,2624,2989,2819,3220,3895,3869,3626,3273,2721,2110,2174,1980,1824,1848,1950,2004,1669,1588,1810,1886,1826,1686,1952,1865,1742,1820,1622,1661,1936,1979,1886,1742,1493,1744,2126,2066,1793,1715,1671,1979,1724,1907,1999,1887,1914,1995,2004,2266,2279,2154,1908,1690,2021,1763,1511,2283,1914,1703,2069,2723,2310,1851,2058,2237,2755,2917,2060,1307,1353,1381,1482,2333,2219,2001,2376,2912,2513,1935,1831,2038,2152,1669,1682,2664,2590,2341,1851,1899,2165,2266,2099,1793,1719,1999,2646,2918,2584,2953,2984,2733,2325,1811,2264,2872,2238,1812,2072,2175,2040,1857,1732,1311,1598,2199,2391,2421,2685,3095,3462,3505,3270,3229,3385,3533,2985,2452,2432,2023,1941,2038,2108,1918,2276,3074,2759,2106,1636,1549,1992,2578,2640,3304,2750,2332,2667,2799,2655,2462,2157,2281,3122,3356,2745,2140,1915,1888,2056,1897,1733,1995,2245,2156,2254,2518,2443,1830,1861,2281,2350,2134,1924,2665,3195,2166,1860,2090,1589,1515,1530,1494,1992,2290,2400,2241,2274,2342,2376,2222,2161,2410,2599,2601,2587,2411,2302,2242,2497,2498,2454,2356,2282,2791,3188,3219,2885,2716,3150,3164,3138,2109,2620,3240,2312,1797,2210,2118,2045,2330,2573,2260,1847,2142,2187,1710,1769,2634,2995,2562,2245,1995,1846,1847,2059,2958,3139,2688,2547,1892,1746,1940,1739,1672,1479,1478,1470,1684,2134,2385,2657,2869,2511,2690,2603,2691,2850,3062,3425,3239,3084,2954,2268,2174,2400,2475,2692,2523,2431,2416,2190,1724,1832,1935,1960,2081,1950,1834,1729,1856,2243,2464,2301,2221,2371,2669,2321,2320,2266,2147,1763,1132,1888,2253,2413,2173,1815,2517,2929,3019,2863,2705,2725,2814,2575,2503,2534,2314,2105,1671,1449,2122,2361,2520,3388,3272,2504,2153,2035,1797,1924,2387,2778,1967,2007,2005,1749,1700,2065,1976,1782,1749,2173,2879,2991,2587,2522,2469,2777,2608,2846,2968,2592,2426,2740,2597,1814,1897,2331,2072,1610,1450,1747,1764,1930,2069,2206,2908,2412,1791,2513,3614,3973,4071,3627,2883,2989,2907,2448,2753,2801,3046,3282,3138,2626,2372,2773,3297,3138,4057,4314,4058,3575,3859,4033,3492,2729,2360,2454,2571,1954,2323,2522,2224,2018,2182,2331,2528,2968,2908,2547,2661,2454,2063,1971,1737,1974,2164,2233,2185,2332,1880,1848,1978,2137,1955,1904,2104,1880,1961,1882,1568,1656,2061,1926,1996,2070,1892,1584,1648,1731,1426,1482,1469,1569,1600,1338,1297,1576,2254,2869,2220,2069,2763,2690,2053,1774,2216,2105,2035,1737,1989,2474,3006,3619,2880,1944,1920,2325,2351,2232,2609,2478,2353,2431,2402,1900,1758,1792,2028,2426,2313,2060,1813,1737,1833,1969,2315,2443,1836,2622,3423,3338,2458,2496,2641,2115,1867,1844,2036,2139,2360,2464,1991,2092,2280,2313,2148,2496,2664,2236,2388,2348,1992,1996,1968,2268,2197,2373,2380,1965,1762,2072,2183,2176,1950,1847,2482,2866,2096,1677,2180,2871,2419,2918,4187,4611,3945,2900,2077,1925,2578,2695,2134,2194,2014,1698,1844,2482,2387,2475,2254,1594,2122,2888,2477,2582,2715,1926,1918,2490,2510,1930,1917,1933,1587,1638,1683,1577,1468,1483,1862,1873,2419,2386,1964,1866,1804,1834,1736,1670,1628,1590,1679,1675,1618,1783,1717,2003,2104,2461,2713,2618,2444,2247,2238,2138,1876,1682,1638,1849,2476,2648,2219,2452,3035,3549,3167,2254,2071,1857,1982,2031,1820,1578,1663,1832,2009,1931,1737,1661,1799,1785,1774,1968,2017,2314,2590,2483,2265,1981,2509,2375,2198,2086,1758,1908,1886,1770,1853,1776,1779,2468,2337,2316,2413,2257,2105,1947,2084,2062,2018,2075,2222,2444,2393,1946,2179,2514,2744,2600,2481,2480,2643,2885,2709,2395,2833,2151,2473,2309,1793,1793,2469,2791,2370,2177,2309,1987,2097,2115,2098,2427,1973,2492,2188,1323,1345,2109,2522,2258,1726,1372,1811,2462,2500,2241,2522,2962,2887,2460,1803,1656,2232,2768,3078,2478,1880,1855,1671,1881,2877,2718,2585,2820,2508,1766,1562,1992,2729,2576,2134,2416,2256,1886,1483,1351,1942,2950,3067,2817,2827,2979,3094,2679,2563,2648,2883,2401,2192,2282,2069,1690,2246,2578,2237,1736,1831,1954,1642,1859,2532,2398,2614,2423,2124,2144,2687,2564,2346,2931,3156,3012,3256,2803,1688,1946,2511,2518,2387,2360,2137,2122,1949,2072,3221,4321,4928,4272,3769,2940,2610,2222,2330,2188,2042,2360,2635,2048,1968,2700,3023,3113,3161,2810,3104,2746,2767,3199,2996,2852,2709,2674,2231,1973,2032,1984,1972,1934,1905,1884,1859,1856,1647,2548,3505,3251,2670,2806,2865,2676,2329,2656,3481,2654,2744,2188,2161,2473,2287,2297,2083,2044,2258,2292,2080,2084,2894,2966,3061,3145,2858,2799,3079,2588,2558,2796,2724,2686,2612,2636,2366,1874,2840,4094,3573,3772,3563,2512,2262,2314,2063,2198,3311,3131,2545,2469,3195,2929,2701,2498,2304,1974,1831,1880,1793,1795,1996,1859,1855,1344,1389,1917,1715,1660,1693,1670,1456,1574,1662,1748,2016,2602,2814,2374,2095,1951,2342,2771,2239,1712,1824,1831,1868,2131,1955,1687,1469,1572,1598,2012,2185,1896,2204,2788,2797,2437,2122,2199,2590,2526,2426,2260,2083,2382,1578,1719,2492,2092,2100,2424,2181,1876,1846,1655,1960,1587,1591,1514,1662,2111,2610,2831,2542,2191,3218,3854,3360,2465,1856,1790,1854,1456,1280,1372,1471,1502,1566,1614,1644,1962,2801,3776,4244,4100,3440,3409,2787,2328,2316,2122,2007,1810,1846,2146,2326,2432,2113,1781,2481,3077,3194,3231,3089,2976,2994,2692,2114,1725,1711,1744,1866,2134,2417,2453,2424,2687,2686,2484,3134,3090,1941,2151,2414,2286,2335,2084,1809,1842,1763,2110,2526,2549,2436,2403,1970,1574,1416,1416,1690,2212,1835,1686,1671,1694,1758,1838,1900,1785,1768,1876,1797,1483,1448,1066,1118,1528,1815,1486,1283,1482,1774,1706,1918,2907,3603,3580,3518,3206,2771,2868,2749,2301,2839,2864,3044,3608,3355,2416,1825,1853,1821,1791,2024,2626,2548,2331,2032,2194,2144,1753,1531,1556,1447,1544,1427,1396,1312,1480,1590,1474,1377,1254,1758,2250,2275,2254,2070,2141,2157,1937,1968,1888,2078,1898,1784,2077,2754,2991,2197,1966,3008,3395,2424,1982,1864,2037,1653,1884,2406,2138,1836,1819,1752,2474,3032,2176,1852,1994,2388,2356,2233,2198,2191,2365,3165,3757,3614,3153,2487,2453,2730,1891,2018,2903,3285,3438,3016,3001,3164,2811,2653,2326,2423,2321,1967,2161,2113,2018,1936,1892,1904,1704,1294,1226,1690,2170,2224,1896,1683,1844,1884,1991,2097,1832,1740,1672,1703,1808,1870,1830,2013,2452,2470,2258,2447,2185,1806,1725,1666,1548,1480,1548,1527,1507,1507,1688,1635,2242,2677,2178,1948,2453,2619,2160,1720,1626,1609,1655,1953,2532,2320,1824,2047,2258,1892,1865,2363,3250,3116,2155,2280,2652,1752,1555,1481,1451,1306,1335,1517,1834,1604,1654,1687,1401,1393,1706,1951,1887,1819,2600,3020,2778,2667,2844,2621,1899,1435,1395,1433,1516,1505,1538,1526,1540,1459,1628,2231,2642,2785,2644,2646,2540,2330,2828,2746,1654,1246,1235,1373,1619,1848,1875,1913,1666,1519,1553,1577,1685,1906,1738,1643,2448,2989,2500,2118,1936,1779,1866,2426,2589,2731,2644,2159,1609,1551,1426,1843,1440,1874,2634,2728,3022,2535,1886,2019,2251,1814,1602,1736,2091,2510,2602,2455,2278,2514,2664,2629,3138,2608,1974,1814,2365,2348,2002,2353,2225,1931,1855,2145,2174,1720,1629,1760,2366,2613,2160,2029,1857,1699,1969,2567,2567,2235,2275,2881,2567,1631,2168,2698,2668,3319,3185,2535,2426,2352,2266,2690,2402,2013,2104,1905,2397,3420,4165,4124,3075,2080,2248,2959,2446,1189,1880,3173,3066,2878,3045,3178,2641,1898,1883,1987,2787,3406,2604,2556,3111,2792,2359,1923,2072,2019,2102,2131,1757,1764,1794,2064,2066,1483,1608,2048,2094,2496,1940,2350,2697,2121,1772,1949,1922,1691,1538,1666,1824,2175,2466,2223,2315,1745,1641,1655,1620,1598,1559,1500,1554,1616,1656,1644,1588,1643,1940,2155,1980,1904,1672,1687,2076,2085,1756,1644,1942,1766,1521,1827,1871,1776,1761,1537,1426,1583,1522,1523,1738,1947,2056,2111,1805,2062,1825,2056,1855,1771,2389,2356,2056,2020,1874,1477,1361,1366,1586,1505,1398,1362,1468,1368,1296,1420,1434,1658,1820,1824,2028,1685,1652,1915,1894,1720,1593,1512,1683,1448,1344,1427,1636,1905,1726,1489,1532,1519,1415,1495,1567,1579,1520,1544,1670,1644,1490,1468,1626,1842,2107,1954,1853,1826,2017,2196,1710,1823,2411,2724,2736,2485,2151,1892,1408,1609,1711,1580,1640,1780,2041,2526,2896,2941,2481,1617,1350,1897,2143,2082,1976,1779,1537,1553,1687,1768,1705,1509,1305,1296,1606,1968,2274,2525,2423,1862,1843,2075,2495,2154,1966,2078,1772,1443,1494,1712,1850,1663,1589,1515,1874,1685,1551,1688,1909,1782,1805,1790,1552,1391,1223,1776,1872,1696,2555,2522,2216,2034,1739,1635,1998,2104,1775,1745,1858,1655,1792,1798,2341,2186,1915,1786,1763,1900,1787,1704,1871,1828,1758,1944,1641,1588,1571,2017,1886,1584,1474,1640,1882,1847,1928,2503,3079,3486,3684,3462,3212,2634,3252],[2621,2348,1781,1520,2017,2004,1490,1571,1648,1639,1970,2632,3142,3278,3216,2554,2103,2139,2216,2194,2279,2329,2587,3156,3716,3827,3674,3394,3310,3227,3253,3418,3436,3315,3197,3829,4202,4177,4002,3881,3550,3242,3212,3340,3322,3328,3422,3436,3366,3223,3264,3145,3193,3205,3429,3520,3563,3540,3562,3777,3877,3684,3558,3298,2939,2664,2723,2775,2730,2581,2592,2429,2562,2797,2756,2740,2931,2758,2580,2325,2437,2430,2725,2432,2854,2598,2720,2589,2517,2680,2952,3676,4063,3419,3121,3590,4284,3796,3398,2545,2930,2922,2690,3146,3270,3185,3378,3408,2867,2380,1805,1615,1822,2047,2114,1869,1678,1881,1796,1834,1815,1917,1999,1875,1750,1581,1400,1638,2065,1908,1974,1958,1713,1883,2080,2183,1972,1906,1806,1873,1755,1927,1877,1729,1803,1862,1841,1995,2416,1809,1545,1640,1781,1833,1720,1649,1755,1944,2108,2314,1880,1838,3104,3407,3580,3501,2376,1682,1686,2048,2575,2800,2563,2722,3374,3249,2412,1823,1590,2017,2249,1725,1803,2257,2360,1982,1583,1707,1815,1997,2111,2119,1743,1979,2604,2973,2609,2937,3123,2823,2517,1995,1797,1891,1921,1847,1988,2526,2509,2008,1980,1808,1785,2065,2209,2110,2604,3323,3442,2983,3101,3211,2845,2480,2239,2359,2351,2358,2541,2240,2033,2209,2508,2899,2524,1744,1417,1823,2233,2688,2977,2765,2364,2630,2906,2951,2743,2126,2060,3168,3781,3544,3411,3230,2464,2061,2082,2049,2082,1955,2006,1915,2110,2153,2217,1835,1564,1805,2100,1954,2026,2330,2313,2221,1860,2219,2382,2024,1654,1444,1624,2133,2254,2266,2323,2393,2329,2143,2174,2733,3063,2848,2733,2579,2527,2438,2522,2206,1979,2104,2489,2789,2765,3062,3182,2921,3271,3096,2911,2467,2924,3162,2407,2090,2189,1698,1555,1772,1729,1781,2016,2393,2442,2212,1942,2411,2619,2568,2526,2309,2028,1694,2374,3439,2887,2573,2567,1864,1607,1607,1855,1707,1476,1676,1683,1680,1742,2621,2448,2623,2976,2822,2738,3041,3052,3107,3322,3063,2487,2374,2264,2055,2114,2326,2480,2451,2549,2420,2076,1907,1913,1985,1824,1828,1871,2082,1913,1999,2282,2105,1881,2106,2712,3086,3084,2920,2445,2482,1913,1160,1770,1997,2285,2515,2285,2437,2795,2754,2875,3098,2934,2899,2273,2337,2448,2292,2417,2133,1988,2481,2541,2374,2329,2036,2081,2597,2596,2383,2320,2379,2620,2045,1981,2060,1818,1908,1916,1638,1920,1909,2031,2604,2797,2517,2354,2797,3024,2374,2307,2687,2514,2214,2213,2290,1813,1778,2045,1892,1806,1974,1861,1688,1802,1637,1849,2490,2218,1685,2044,3064,3155,3871,3409,2439,2051,1957,1867,1784,1963,2083,2191,2486,2160,2054,2657,2919,2742,3459,4036,4050,4056,3853,3530,2852,2197,1918,2095,2127,1859,2454,2811,2558,2518,2535,2345,2879,3387,2539,2103,2493,2642,2404,1888,1529,1592,1815,1792,1945,2411,2324,2004,1831,1947,1709,1859,2323,1966,1763,1575,1593,1514,1543,1629,1681,1548,1428,1475,1557,1625,1468,1428,1432,1410,1357,1300,1381,1482,1797,2344,2090,2016,2554,2867,2285,1681,2261,2287,2230,2119,2071,2622,3100,2687,2003,1959,2325,2484,2122,2010,2354,2697,2832,2587,2191,1931,1954,1597,1803,2314,1902,1908,2241,2165,1951,2395,2493,2057,2101,3144,3333,2852,2668,2396,1964,1721,1937,2103,2167,2531,2433,1987,2029,2346,2342,2232,2038,2039,2309,2214,2197,2109,2172,2241,2258,2502,2441,2002,1577,1161,1339,2044,2142,2154,1791,1883,2912,2865,1983,1726,2089,2311,2075,2601,3557,3946,3786,3187,2273,2230,3059,3200,2552,2157,1896,1727,1892,2171,2060,2075,2003,2027,2004,2294,2270,2826,2668,1818,2154,2771,2375,1698,1664,1615,1393,1462,1131,1205,1773,2229,2476,1936,1978,2016,1982,2157,2053,1722,1738,1926,1981,1925,1902,1674,1547,1670,1709,2003,2245,2810,2684,2346,2169,2040,2026,1743,1745,2016,2195,2530,2677,3122,3687,4155,4577,4628,3897,2317,1883,1425,1458,1604,1544,1477,1557,1628,1687,1764,1626,1547,1743,1859,1886,2051,1966,2221,2582,2377,2151,2077,2181,2126,2080,2093,1826,1533,1596,2003,1887,2080,1967,2371,2049,2195,2508,2224,1921,1852,1935,1993,2177,1813,1815,2381,2183,2040,2341,2829,2901,2927,2723,2159,2555,3139,2599,2377,2775,2723,2859,1994,1505,2002,2497,2391,2376,2386,2546,2306,2380,1904,1896,2364,2119,2375,1874,1427,1729,2315,2620,2171,1940,1321,1587,2383,2293,1996,2331,2633,2585,2348,2046,2119,2471,2756,3247,2469,2435,3206,3240,2707,2778,2719,2547,2414,2204,2046,2176,2492,3132,2676,2361,3130,2525,1761,1866,1946,2446,3066,2642,2309,2316,2622,2618,2116,2601,2857,3143,2064,2154,2396,2040,2352,2764,2761,2447,1961,1745,1754,1754,2077,2297,2289,2553,2551,2415,2939,3655,3299,2790,2798,2887,3186,2886,2097,1469,2317,3107,3089,2343,2077,2154,2004,1739,2229,3451,4043,4724,4507,4245,3316,2851,2624,2235,1875,2378,2903,2675,2166,2269,2636,2578,3204,3229,2829,2912,2686,2600,3497,3672,2792,2384,2691,2347,1986,2070,2011,1948,1868,1833,1853,1924,2159,2105,2276,3386,3592,2625,2689,2856,2648,2457,2765,3016,2540,2241,1938,1759,2376,2728,2398,1886,1813,1930,2031,2061,2135,2454,2396,2368,2915,3140,2967,3197,3228,3157,3204,3371,3350,2955,2546,2254,1867,2458,3271,3197,3486,3585,3115,2872,2852,2201,2357,3738,3801,3387,2686,2728,3008,2455,2398,2459,1769,1593,1744,1748,1814,1616,1712,1820,1570,2009,2386,1979,1506,1542,1565,1631,1685,1587,1887,2162,2479,2465,2398,1913,1606,2298,2499,1836,1658,1716,1746,1961,1669,1795,1875,1945,2057,1975,2239,2105,1631,1749,2346,2754,2577,2225,2458,2862,2627,2511,2362,2503,2505,1492,1793,2075,1709,1725,1788,1576,1675,2234,2029,2083,1624,1512,1462,1284,1872,2640,2631,2269,2232,3553,3447,3013,2071,1733,1689,1852,1707,1427,1394,1408,1406,1448,1478,1543,2175,2562,2874,3386,3316,3052,3329,3007,2379,2085,2121,2314,2382,2420,2498,2261,2062,1718,1605,2133,2496,2263,2077,1971,1972,2075,2124,2067,1681,1506,1681,1816,2047,2361,2426,2497,2632,2422,2064,2614,3309,2194,2332,2056,2198,2586,2198,1893,2017,1959,1947,2376,2431,2819,3037,2712,2102,1575,1649,1737,2155,2041,1958,1951,2129,2114,1951,2244,1970,1928,1999,2031,1685,1469,1423,1443,1390,1424,1403,1333,1516,1761,1545,1430,2090,3139,3329,2839,2227,2757,2658,1906,2034,3066,3375,3444,3685,3319,2570,1972,1916,1847,1844,1829,2306,2713,2679,2320,1980,2154,2043,1742,1639,1729,1884,1669,1345,1396,1474,1456,1548,1562,1433,1384,1440,2032,1814,1455,1891,2098,1826,1630,1881,2136,2058,2036,2097,2520,3134,2620,2219,3121,3565,2834,2216,1948,1682,1296,1563,2048,1786,1669,1854,2080,2812,2500,1870,1823,2293,2814,2912,2468,2163,2171,2468,3315,3577,3206,2850,2501,2497,2868,2540,2474,2482,2618,2878,2901,3034,2832,2626,2911,2464,2504,2484,2547,2348,1950,1966,1796,2128,2569,2195,1718,1804,2291,2872,2387,2009,1744,1763,2091,2178,1934,1934,1930,1588,1772,1616,1491,1635,2001,2298,2092,2471,2737,2376,1900,1578,1549,1516,1657,1539,1387,1324,1613,1682,1695,2312,2327,2402,2891,2598,2227,1932,1550,1322,1350,1802,1842,2180,2422,2196,2045,1897,1975,2309,2997,3805,3271,2452,2807,3175,2013,1644,1605,1592,1299,1248,1673,2068,1779,1382,1364,1391,1827,1825,1881,1875,2147,2675,2858,2734,2696,2655,2600,2286,1617,1494,1360,1361,1363,1454,1505,1497,1305,1425,1738,2085,2380,2525,3108,3173,2688,2357,2093,1549,1331,1416,1537,1611,1724,1924,1877,1547,1427,1586,1633,1593,1899,1791,1658,2085,2402,2669,2778,2810,2475,2145,2386,2194,2325,1999,1929,1714,1587,1946,2624,2529,2438,2325,2349,2670,1900,2019,2381,2203,1806,2288,2060,2079,2159,2069,2465,2514,2655,2530,2442,2627,2437,1992,1724,1755,1904,1965,2092,2215,2098,2000,2189,2166,1770,1632,1900,2369,2487,2284,2031,1773,1659,1794,2001,2468,2813,2407,2574,1543,1471,2685,3164,3786,3916,3003,2675,3076,2565,2181,2300,2076,1918,1976,1829,2588,3061,3798,3627,2803,3124,2964,2818,2001,1575,2409,2854,2459,2754,3160,3325,2889,2215,2122,2170,2800,3392,2501,2577,3071,2466,2503,2751,2878,2762,2846,2483,1798,1667,1773,1901,1928,1705,1990,1798,1646,1857,1713,2242,2406,1946,1561,1736,1935,1830,1858,1829,1575,1909,2350,2105,2101,2004,1961,1934,1756,1621,1650,1690,1699,1389,1477,1708,1584,1599,1666,1725,1551,1697,1615,1582,1704,1726,1354,1008,1566,1549,1347,1698,1631,1567,1668,1464,1361,1581,1616,1536,1880,2215,1940,1845,1677,1647,1934,2411,2300,2028,2122,2056,2060,2233,2177,1601,1462,1522,1492,1498,1472,1317,1382,1631,1562,1389,1345,1538,1682,1858,1915,1442,1504,1877,2029,2030,1755,1538,1452,1318,1434,1604,1679,1669,1571,1436,1602,1666,1488,1429,1493,1474,1506,1610,1562,1493,1426,1419,1504,1744,1918,1716,2106,1623,1636,2204,1898,1779,2695,2998,2887,2667,1978,2125,1684,1676,1686,1704,1889,2342,2777,3157,3130,3083,2981,2199,2062,2553,2282,2030,1960,1828,1857,2184,2154,2072,1847,1470,1537,1612,1689,2257,3090,2753,2254,1898,1906,2029,2454,2410,2280,2343,1832,1589,1647,1663,1853,1763,1666,1687,1952,2089,1939,1558,1595,1687,1773,1788,1598,1546,1346,1716,1810,1482,1467,1851,2280,2012,1724,1752,1721,1998,1919,1563,1533,1525,1657,1619,1888,1881,1734,1634,1455,1338,1428,1267,1323,1945,1580,1576,1573,1655,1519,1514,1473,1461,1618,1758,1697,1640,1931,2820,3517,3475,3408,3319,3386,2821,3228],[2260,2138,1594,1766,2266,1798,1510,1600,1820,1797,1986,2417,2690,2568,2374,2071,1642,1466,1758,1826,1920,2064,2115,2415,2869,3156,3352,3506,3444,3288,3418,3364,3204,3225,3396,3951,3863,4027,4087,3877,3372,2997,3300,3376,3240,3426,3436,3155,3308,3287,3310,3269,3506,3652,3776,3656,3624,3652,3564,3551,3548,3239,3184,3146,3188,3002,2811,2613,2456,2197,2438,2279,2049,2728,2636,2382,2967,3051,3212,2754,2586,2597,2555,3038,3540,3799,3166,2242,2388,2398,2265,2417,2964,2966,3088,3176,3464,3465,2858,2962,3232,2552,3029,4015,3356,2833,3150,3479,2779,2543,2180,1801,1868,2043,1930,1804,1853,1732,1567,1764,1753,2170,1903,1865,1765,1473,1182,1843,2176,1874,2106,2098,1885,1897,2194,2187,2120,1894,1803,1761,1691,1765,1722,1516,1484,1731,1759,1555,1793,1670,1501,1787,1798,1872,1701,1593,1582,1572,1787,2456,2053,2117,3318,3596,3276,2780,1921,1511,1616,2338,2686,2632,2384,2717,3413,3464,2648,1824,1498,2030,2164,2140,2124,2014,1882,1624,1654,1421,1623,2070,2214,2321,2022,1869,2066,2597,2756,2964,2911,2698,2732,2524,1874,1698,1904,1838,2334,2768,2812,2451,2227,2545,3094,3464,3199,2716,3044,3386,3152,2790,2852,2678,2230,2280,2548,2843,2934,2908,2712,2551,2968,3727,3304,2489,2306,2060,1811,1874,2289,2883,3130,2928,2742,2764,2906,2752,2586,2348,2692,3558,3848,3590,3485,3250,2769,2478,2222,2119,1942,1544,1394,1605,1744,1990,2078,1850,2020,2566,2954,2535,2088,2061,1817,2138,2356,3266,3498,2612,1844,1507,1534,1990,2315,2324,2364,2439,2190,2096,2316,2708,2930,2743,2748,2871,2691,2431,2545,2386,2265,2639,2844,2508,2604,2733,3023,3392,3442,3230,2789,2241,1847,1952,2071,2203,2294,1981,2099,1991,1590,1790,2188,2527,2546,2459,2354,2295,2446,2339,2156,2293,1936,1923,3222,3551,2651,2563,2436,2048,1637,1692,1990,1933,2513,2069,1956,1791,1764,2098,1901,2466,3100,2873,2963,3015,2820,2759,2524,2420,1946,1704,1726,1864,1875,2023,2512,2727,2727,2438,1929,2216,1870,1762,1673,1976,2246,2108,1814,1809,2071,2055,2000,2388,2800,2788,3238,3473,3034,3160,1534,1265,1666,1905,2147,2089,1943,2112,2537,2614,2665,2348,2344,2546,2248,2507,2585,2692,2986,2641,2360,2568,2625,2424,1850,1711,1982,2567,2808,2567,2337,2047,2004,1813,1876,1883,1598,1974,2054,2193,2747,2272,2048,2707,2698,2607,2591,2922,2906,2272,1992,1964,2099,2002,1826,1967,1717,1774,2050,1786,1805,1986,1792,1717,1670,1544,1654,1757,1747,1681,2211,3118,3406,3834,3378,2484,1869,1689,1556,1261,1312,1743,1963,2009,1870,1911,2591,2581,2041,2707,3862,4059,3654,3064,2372,2152,2779,2507,2399,2040,2003,2354,2770,3227,3426,3095,2935,3684,3398,2262,2206,2135,2427,2059,1744,1780,1803,1679,1915,2216,2192,2465,2502,1867,1830,1887,2842,3068,2231,1698,1580,1722,1527,1525,1834,1652,1441,1622,1694,1474,1475,1517,1444,1316,1300,1299,1421,1516,1311,1645,2104,1935,2137,2535,2989,2303,1746,2480,2967,2425,2056,1809,2226,2514,2182,2086,2190,2416,2314,2056,1768,1825,2500,2635,2403,2233,2150,1841,1806,1951,2008,1929,2452,2718,2533,2619,2689,2746,2229,1501,2061,2632,1920,2331,2157,1798,2155,2455,2907,3178,3230,3002,2792,2643,2574,2276,1854,1925,2202,2396,2288,1895,2337,2535,2446,2125,2011,2005,1680,1373,1002,1340,2268,2333,2026,1679,2209,2476,2182,1904,2079,1829,1661,2331,2498,1967,2831,3205,3250,2232,2352,3168,2810,1921,1784,1954,1791,1852,1997,1964,2094,2112,2260,1941,2237,2465,2769,2552,1994,2293,2933,2574,2114,1827,1504,1456,1886,1680,1560,1885,2190,2423,2240,1858,1896,2265,2254,2062,1874,2181,2071,2728,2718,2454,2136,1994,1706,1975,2230,2813,3198,2802,2192,1995,1732,1655,1809,2073,2188,2347,2731,2830,3636,4501,4932,4791,4670,4095,2072,1429,1386,1694,1844,1703,1633,1675,1814,1721,1721,1651,1619,1698,1746,1707,1875,1692,1710,1965,1928,1902,1964,1880,2067,2055,2038,1650,1333,1924,2200,1949,2176,2383,2193,1713,2082,2365,2272,1818,1838,1808,1942,2036,1966,2416,2599,1896,1722,2260,2546,2640,3055,2783,2322,2292,2758,2322,2316,2730,2701,2503,2332,2209,2367,2129,2074,2432,2075,2979,2776,2401,2192,2719,2786,2025,2127,2031,1762,2472,3085,2619,1894,1840,1405,1510,1873,2062,1968,2035,2584,2762,2570,2823,3078,3114,3265,3071,2147,2761,4055,3654,2608,2528,2853,2772,2620,2338,1992,2108,2918,3646,2939,2468,3285,3046,2035,2009,2279,2724,3140,2833,2798,1852,1642,1589,1960,2687,2319,1981,2256,2496,1992,2115,2377,2249,2270,2249,2273,1873,1666,1923,2116,2049,2258,3029,3265,2949,3144,3429,3016,2717,2843,3065,3370,2373,1554,1590,2586,2908,2464,2358,2536,2255,1704,1948,2600,3296,3826,4504,4333,3561,2736,2541,2667,2433,2574,3383,3064,2209,2193,2396,2471,2216,2583,3086,2556,2554,2354,2191,3122,3710,2978,2229,2557,2390,1919,1912,2023,2135,2319,2643,3118,3487,3836,3532,2890,3659,4268,3606,2997,2845,2872,2509,1792,2210,2588,2734,2520,2021,2315,2531,2334,1935,1930,1916,2156,2592,2598,2283,2192,2370,3230,3607,3043,2874,2626,2482,2766,3100,2722,2592,2410,1986,2020,2579,2434,2129,2910,3586,4224,4196,3154,2245,2885,3341,3628,3754,3239,2707,2640,2418,2470,2984,2446,1543,1816,1712,1767,1505,1427,1458,1675,1963,2050,1588,1516,1656,1644,1965,1804,2238,2266,1942,2282,2316,2433,2093,2186,2530,2022,1603,1704,1759,1746,1871,1590,1750,1595,1918,2209,2114,2126,1991,1656,1673,2151,2366,2536,2685,2829,2742,2441,2199,2208,2338,1693,1431,2232,1814,1494,1748,1869,1491,1750,2262,2524,2214,1670,1407,1401,1345,1569,2227,2976,2867,3010,3255,2739,2331,1715,1561,1590,1799,1719,1369,1362,1456,1467,1554,1512,1441,1599,1703,1880,2532,3150,3471,3693,3222,2498,1921,1616,2085,2345,2190,1955,1700,1667,1902,1962,2525,3122,2927,3167,2978,2630,2463,2521,2290,1507,1349,1501,1822,2388,2378,2154,2344,2383,2153,1933,2140,3370,2293,2019,1810,2148,2585,2226,1781,2084,2057,1927,2245,2568,3166,3145,2411,2070,2132,1868,1613,2049,2213,2234,2320,2183,1769,1786,2440,2720,2449,2332,2189,1885,1501,1508,1621,1509,1399,1447,1381,1440,1455,1425,1326,1510,1911,2168,1974,1843,2027,1914,1810,2749,3508,3548,3793,3686,3067,2711,2504,2082,1899,1859,1852,2134,2403,2590,2558,2248,2211,1980,1641,1551,1804,1816,1459,1416,1419,1266,1355,1519,1500,1430,1290,1676,2072,1906,1562,1772,2140,2308,2102,1833,1830,1925,2117,2192,2142,3266,2756,2958,2788,2520,2302,1830,1747,1662,1531,1628,1809,1782,1824,1884,2524,3024,2830,2224,2127,2526,2764,2385,1982,2073,2125,2449,3020,2591,2429,2546,2304,2176,2221,2409,2450,2308,2219,2261,2078,2215,2504,2618,2754,2593,2413,2314,2498,2300,2322,2174,1562,1750,2720,2402,1976,2120,2199,2527,2219,2254,1952,1888,2217,2270,2128,1891,1697,1472,1839,1624,1480,1440,1911,2118,1807,2152,2123,1782,1744,1704,1682,1525,1687,1246,1265,1569,2047,1837,1674,1733,1869,2677,3040,2430,2129,1545,1218,1176,1694,1938,1630,1664,2543,2502,2207,2197,2254,2455,2842,3389,3398,3444,3694,3383,2379,2014,1825,1559,1604,2002,2336,2094,1778,1328,1461,1796,2222,1889,2122,2480,2310,2529,2788,2664,2503,2442,2389,2543,1797,1524,1425,1433,1552,1517,1567,1593,1569,1633,1566,1634,1825,2026,2468,2896,3109,2438,2150,1820,1640,1758,1688,1704,1858,1735,1666,1486,1434,1960,1948,1753,1889,1909,1677,1643,2090,2525,2631,3178,3471,2508,2008,1802,1943,1987,1956,1928,2077,2388,2793,2722,2395,2766,2395,2139,1734,1638,1619,1627,2191,2546,1997,2154,2227,2076,2458,2618,2343,2016,1733,1558,1777,1888,1796,1795,1833,1588,1660,1743,1683,1771,1854,1706,1431,1560,1929,2222,2258,2219,2059,1851,1813,1952,2082,2980,3648,2850,2080,1604,1768,3293,3817,3547,3251,2586,2749,3334,2875,2588,2475,2142,2106,2474,2192,2867,3283,3406,2841,2466,3398,3265,3031,2066,2052,2990,2484,2423,2741,2954,3322,3128,2669,2316,2242,2678,3356,2586,2690,3401,2673,2858,3254,3218,3184,2896,2494,1998,1780,1775,1891,1995,1705,2142,2075,2062,2390,2520,2652,2665,2099,1764,2174,2161,1836,1843,1650,1396,1459,2020,2019,1993,1904,2019,2220,1707,1471,1538,1584,1634,1387,1530,1822,2081,2176,2122,1857,1814,2225,1852,1643,1787,1957,1655,1484,1875,1697,1956,2031,1625,1502,1589,1455,1502,2070,2318,1886,1980,2364,2088,2522,2334,1933,2239,2307,1849,1937,2162,2170,2260,2378,2486,1784,1437,1560,1548,1489,1595,1512,1611,1983,1629,1275,1242,1403,1378,1546,1654,1859,1914,2024,2050,2137,1940,1650,1420,1361,1779,2024,1852,1537,1553,1512,1491,1584,1519,1432,1361,1213,1327,1573,1511,1488,1418,1395,1509,1585,1731,1969,1999,1670,1959,2434,2096,1875,2330,1957,2292,2611,1879,1807,1820,1837,1875,1965,2537,3245,3266,3263,3122,3039,3042,2613,2272,2585,2438,1898,1954,2044,2286,2638,2425,1991,1576,1570,1726,1922,1919,2249,2374,2152,1960,1653,1768,1980,2122,2530,2512,2209,1611,1632,2179,2175,2076,1986,1741,1756,2157,2544,2128,1588,1733,1680,1693,1676,1537,1442,1784,1875,1562,1396,1680,2032,2053,2100,1698,1628,1638,1765,1748,1455,1564,1572,1548,1474,1447,1554,1837,1951,1724,1305,1457,1531,2119,2453,1668,1522,1645,1532,1438,1475,1406,1422,1546,1514,1532,1920,2106,2047,2745,3162,3230,3253,3196,2689,2588],[2126,1936,1898,2372,2334,1969,1776,1691,1910,1974,1939,2090,1825,1497,1490,1397,1400,1532,1921,2050,2138,1879,1846,2150,2846,3006,3173,3814,3938,3646,3569,3609,3435,2997,3400,3930,3704,3775,3836,3854,3375,2985,3310,3471,3378,3466,3306,3173,3087,3278,3317,3390,3516,3716,3805,3641,3684,3605,3486,3496,3238,3031,2923,2905,3030,3263,2843,2255,2356,2751,3078,2633,2161,2751,2654,3089,3331,3056,3443,2687,2220,2520,2963,2862,2708,3526,3454,2533,2127,2072,2013,1877,2182,2775,2938,2879,2864,2856,2710,2895,3050,2424,2646,3271,3370,3184,3253,3012,2732,2587,2141,1785,1911,1957,1654,1511,1658,1735,1791,1816,2369,2568,1938,1656,1737,1712,2037,2614,2535,2444,2492,2551,2099,1854,1998,1815,2077,2062,1707,1742,1828,1707,1605,1613,1620,2024,2643,2171,2225,2096,1723,1761,1919,1926,2143,2168,1665,1486,1558,2534,2171,2309,2853,2344,1967,1952,1716,1543,1783,2023,2165,2396,2273,2469,3089,3359,2784,1941,1610,2059,2169,2059,2151,2129,1975,1600,1452,1577,2107,2406,2138,2214,2214,1860,1867,2238,2433,2568,2756,2829,2877,2934,2378,1861,2009,2448,3029,2916,3123,3365,2855,2800,3555,3751,3224,2602,3223,3732,3244,2435,2329,2289,2060,2252,2856,3450,3515,2989,2348,2252,2888,2897,2569,2387,2011,2133,2287,2356,2456,2484,2637,2844,2504,2375,2740,2618,2734,2928,3522,3736,3584,3507,3366,3132,3013,2675,2358,2083,1929,1631,1437,1643,1765,2133,2233,2126,2440,2956,2679,2302,2085,1963,2048,2513,2709,2917,3073,2264,1686,1650,1650,1901,2294,2349,2224,2176,2050,2085,2415,2656,2635,2660,2872,2835,2421,2673,3449,3140,2818,3063,3113,2813,2732,2822,2909,2911,3142,3151,2706,2578,2313,2033,2366,2585,2668,2113,2300,2015,1692,1562,2052,2596,2707,2562,2412,2486,2713,2764,2403,2537,2018,2234,2472,2262,2187,2248,2300,1760,1527,1746,2014,2091,2011,1755,2084,2008,2070,2108,2236,2668,2269,1970,2401,2353,2348,2487,2372,2093,2197,1851,1842,2294,2142,2176,2765,2880,2816,2991,2546,2949,1994,1744,1972,2546,2697,2557,1993,2119,2353,1829,2001,2299,2159,2125,2294,2398,2499,2785,1706,1438,1822,2342,2577,2312,1823,1998,1952,1757,1866,1819,2220,2243,2267,2655,2266,2017,2288,2077,1872,2090,2375,2138,2115,2264,2501,2908,2844,2897,3032,2592,1947,1863,1991,1832,1766,2199,2010,2630,3189,2500,2375,2587,2630,2367,2232,2993,2954,2409,1980,1977,2048,1682,1514,2340,2302,2121,1891,1260,1264,1826,2330,2308,2165,1725,1681,1777,1757,1830,2466,3198,3343,3354,3150,2481,2081,1817,1585,1519,1619,1549,1561,1709,1825,1671,1782,2147,2166,2529,3605,4461,4025,3217,2254,2017,2493,2392,2308,1899,1805,2153,2876,3731,3730,2783,3197,3519,2526,2025,2153,2386,2621,1895,1504,1682,1819,1891,2211,2191,1781,1800,1727,1555,2001,2737,3167,2551,2288,2114,1702,1740,1952,2192,2412,2002,1514,1556,1578,1371,1349,1405,1401,1301,1384,1641,2081,1749,1468,1654,2031,1763,2166,2704,2851,2253,2145,2614,2496,2512,2391,1686,1748,1866,1751,2313,2490,2502,2197,1998,1701,1922,2243,2271,2360,1990,1845,1874,2381,2687,2155,1945,2730,2486,2190,2613,2743,2418,1990,1283,1235,1841,1891,2267,2096,2808,3124,3022,3156,2836,2466,2669,2620,2132,2164,2181,1665,1659,1698,1665,1908,2071,2354,2214,2279,2250,1810,1583,1132,1026,843,1067,1426,2374,2094,2043,2294,2177,2200,2630,2978,2170,1969,2710,2376,1871,2933,3339,3073,2159,2095,2380,2107,1678,1639,1715,1838,1979,1869,2039,2342,2191,2013,1918,2072,2569,2618,2352,1940,2012,2557,2307,2346,2199,1517,1559,1624,1531,1691,1958,2222,2170,1891,1979,2333,2096,2154,2111,2209,2305,2296,2909,2611,2112,2648,2632,2031,2105,2348,2743,2762,2745,2081,1823,1642,1954,2168,2089,2215,2921,3125,2711,2767,3275,4418,4664,4319,3939,2363,1633,1722,1879,1699,1410,1362,1546,1779,1411,1435,1783,1736,1746,1792,1707,2082,1968,1645,1988,1896,1797,2028,2126,2126,2023,2054,1874,1981,2465,2224,1809,2017,2547,2202,1944,2359,2657,2509,2025,2051,1821,2170,2245,2420,2798,2340,1737,1962,2272,2350,2873,2625,2249,1880,1532,2235,2290,2049,2264,2256,2620,2688,2048,1709,1698,2426,3153,3031,3537,2580,1732,2157,3317,3068,2259,2655,2134,1982,2642,3027,2858,2364,2421,1858,1670,1747,2055,2144,1949,2420,2976,2976,3265,3394,3229,3607,2932,2596,3154,3849,3188,2032,2201,2559,2477,2630,2396,2281,2785,4006,3761,2812,2212,2677,2708,1775,2044,2356,2622,2483,2588,2998,2016,1718,2056,2362,2477,2448,2474,2822,3179,2766,2389,1476,1563,2068,1718,1795,1998,1768,2337,2820,2727,2994,3298,3308,3264,3033,2893,2720,2507,2846,3157,3429,2775,2316,2124,2078,2084,1917,2396,2796,2500,2110,3025,3471,3484,3637,3873,3660,3219,2798,2408,2372,2586,3097,3335,3064,2198,2135,2501,2225,2469,2508,1959,1583,2016,2280,1799,2371,3156,2887,2250,2603,2397,2218,2884,3407,3589,3640,3768,4242,4625,4772,4409,3374,3789,4440,4524,3553,2755,2683,2543,2083,2578,3105,2901,2864,1989,1985,2195,2380,2223,2153,2234,2530,3008,2954,2523,2339,2545,3002,3178,2940,2964,2323,2199,2502,2939,2555,2534,2059,1574,2436,3352,2942,2118,2424,2425,3487,3906,2805,2358,2626,2504,2768,3282,3551,3549,3094,2666,2308,3157,2489,1869,2194,2259,1989,1771,1764,1892,1988,2175,2301,1649,2261,2317,2322,2041,1905,1976,1260,1511,2409,2299,1720,1937,2324,2006,1707,1621,1672,1628,1851,1591,1758,1719,1558,2010,2157,1847,1960,1953,1960,2045,2625,2359,2490,2508,2406,2640,2422,2044,2362,2397,1528,1888,2316,1712,1817,2037,2028,1827,1933,2244,2440,2239,1813,1526,1384,1401,1284,1339,1609,2156,2832,2796,2510,2166,1724,1634,1615,1631,1754,1449,1376,1510,1439,1469,1445,1572,1581,1555,1697,2481,3090,3022,3244,2612,2374,1816,1512,1652,2057,2038,1901,2243,2687,2710,2109,2220,2789,3239,3299,3493,2737,2338,2194,2440,1926,1818,2003,1874,2004,1925,1945,2230,2137,1957,1963,1947,3063,2429,1991,2008,1830,2055,2131,2169,2612,2214,2576,2553,2646,2833,3129,2600,2474,2947,2652,2543,2812,2734,2844,3244,2974,2014,1822,2272,2996,2637,2026,1983,1999,1769,1664,1590,1458,1393,1316,1282,1215,1327,1491,1466,1318,1217,1568,1842,1738,1758,1727,2018,2766,2974,3485,3759,3431,3231,3533,3272,2459,1914,1801,1737,1976,2178,2181,2185,2367,2345,2311,1708,1514,1692,1736,1601,1460,1401,1296,1402,1432,1342,1330,1384,1516,1375,1933,2220,2192,2586,3133,2540,1809,2355,2250,2312,2366,2048,2531,2840,3475,2445,2401,2876,2367,2181,1960,1947,1814,1760,1775,1620,1791,2656,3024,3147,2501,1720,1910,2081,1481,1561,2098,2172,2519,2321,1594,1485,1400,1342,1561,2145,2352,2059,2348,1884,2161,2353,2580,2603,2546,2718,2753,2497,2367,2257,2209,2214,2019,1578,1645,2169,2084,1946,1866,1887,1974,2204,2434,2199,2278,2417,2326,2314,2026,1672,1609,1669,1604,1868,1902,2401,2556,2243,2120,1766,1552,1960,1843,1582,1622,1668,1614,2031,2389,2254,2015,1857,2219,2460,1725,1415,1766,2144,1801,1699,1961,2397,2198,1990,1946,1919,2093,2267,1928,2013,2077,2198,2843,3276,3749,3726,3437,3010,3085,2668,1932,1990,2145,2178,1883,1777,1504,1635,1805,2187,2599,3077,3190,2958,2792,2664,2326,2134,2308,2249,2311,1754,1539,1598,1554,1627,1569,1437,1521,1616,1734,1879,1898,1653,1833,2040,2533,2809,2602,2578,2077,1603,1705,1803,1607,1570,1520,1627,1554,1835,2786,2445,2096,2148,1835,1772,2037,2620,2786,2181,2018,2876,2230,1565,1527,2074,1958,1560,2075,2667,2822,2822,2442,1968,2449,2113,1936,1774,1581,1737,1887,2214,2142,1806,1904,2142,2229,2190,2109,1788,1713,1544,1365,1484,1989,1937,1601,1706,1644,1562,1470,1580,1942,1606,1651,2007,1861,1970,2171,2386,2503,2344,1952,1469,1656,3110,3538,3386,2876,2472,2105,2126,3143,3619,3219,2785,2764,2533,2755,2439,2292,2223,2042,2357,2283,1959,2298,2255,2214,2277,2660,3051,2922,2209,2182,2622,2955,2835,2951,2670,2602,2850,2973,2809,2199,2193,2663,3608,2972,2978,3510,3068,2906,3006,3154,2856,2111,1985,1744,1665,1755,1787,1835,2049,2581,2501,2176,2183,2227,2320,2309,2033,2294,2107,1925,1461,1439,1453,1392,1607,2154,2644,2473,1805,1915,2576,1827,1448,1556,1703,1600,1514,1500,1851,2669,2744,2439,2213,2455,3200,2156,1932,2213,2436,2499,2674,2552,1939,1688,1628,1491,1510,1633,1555,1516,2080,2477,1826,1935,1932,1889,2571,2396,2147,2412,1945,1510,1487,1787,2248,1807,2048,2403,1852,1456,1439,1492,1525,1690,1593,1555,1657,1290,1288,1362,1381,1456,1771,2051,2156,2078,1898,1878,2146,2015,1616,1377,1637,1942,1876,1967,1614,1502,1518,1545,1571,1452,1438,1434,1251,1357,1511,1470,1545,1518,1510,1554,1569,1900,1862,1504,1624,2217,2574,2256,2063,2832,2207,2056,2369,2084,1883,2161,2752,3117,2641,2457,3319,3339,3260,3146,3204,3397,3050,2388,2075,1803,1625,1798,1912,2304,2290,2016,1801,1550,1666,1957,2377,2237,1945,1792,1933,1921,1729,1693,1759,1707,2001,2019,1815,1680,1525,2263,2492,2380,2257,1816,1699,2050,2232,2143,2305,2358,2510,2204,1753,1637,1692,1605,1443,1381,1749,2597,2524,1612,2055,1753,1729,1575,1607,1543,1732,1907,1647,1622,1542,1401,1844,1908,1696,1820,1727,2142,2485,2822,2864,2274,1848,1745,1585,1592,1553,1607,1728,1766,1750,1723,2302,1996,1945,2788,3021,3041,3200,2695,2347,2331],[2435,2406,2564,2382,1930,1986,1770,1512,1720,1866,1740,1687,1621,1598,1620,1583,1445,1443,1946,2242,1974,1730,1691,1955,2573,2822,3068,3737,3853,3757,3904,3660,3658,3208,3250,3798,3993,3927,3772,3775,3658,3393,3529,3537,3396,3496,3398,3227,3132,3471,3785,3956,3902,3941,3902,3606,3716,3679,3465,3470,3286,3244,3010,2810,2955,3264,3001,2573,2907,2904,3131,2802,2325,2518,2502,2179,2155,2849,3332,3048,3094,2897,2851,2376,1788,2276,3286,2245,1660,2354,2365,1931,2265,2889,3194,3292,3075,2997,2912,2979,3064,2603,2038,2013,2163,2699,2940,2677,2608,2261,1682,1865,2201,1869,1706,2104,2040,1834,1768,1796,2492,2649,1986,1687,1713,1787,2182,2225,2183,2464,3010,2888,2302,2095,1774,1474,1815,2110,2180,2420,2192,1740,1933,1644,1629,2314,2891,2431,2376,2116,1682,1608,1470,1498,1930,2301,1930,1931,1916,2614,2997,3320,3282,2231,1527,1631,1498,1572,1553,1881,2408,2407,2255,2435,2832,2337,1988,2083,1965,2063,2204,2032,1971,1777,1714,1378,1667,2173,2272,2070,1832,2196,2369,2076,1893,1883,1952,2365,2083,1654,2298,3041,2698,2107,2386,2743,2728,3012,3706,3574,2879,2741,2702,2324,2584,2230,2498,2859,2858,2460,2366,2369,2342,2735,3296,3383,2706,2383,2376,2013,2043,2269,2693,2448,1835,2152,2669,2374,2143,1958,2347,2526,2460,2828,3354,3066,3054,3327,3606,3697,3508,3492,3175,2814,2508,2345,2521,2280,2140,1846,1870,2020,2097,2543,2922,2554,2156,2605,2686,1946,1864,1883,1995,3162,3708,3203,2752,2072,1660,1576,1640,1815,2095,2219,2010,2060,2156,2310,2506,2715,2688,2655,2713,2598,2424,2622,2958,2781,2786,3043,2812,2547,2357,2402,2880,3116,2774,2539,2513,3152,2922,2388,2607,2658,2680,2455,2156,2162,2138,2070,2347,2467,2414,2431,2492,2707,2657,2612,2036,1963,1947,2380,2257,1853,1882,2107,2071,1623,1530,1569,1790,2302,1900,1792,2032,2153,2411,2514,2649,2526,1895,2138,2030,1694,1936,2083,2175,1995,2075,1652,1502,2044,2283,2456,2812,2900,3122,3131,2832,2514,2280,2073,2203,2343,2924,3300,2415,2431,2164,2029,1908,1792,1680,1704,1805,2348,2734,2442,2053,1954,1998,2035,2046,1951,1970,2240,2654,2443,1830,1848,2437,2523,2546,2647,2339,2284,2390,2010,1750,1894,1797,2279,2831,2869,2398,2192,2743,3173,3264,2640,2210,2456,2362,1942,1850,2194,1952,2353,2282,2123,2525,2578,2700,2577,2766,3442,2428,2120,1671,1548,1888,1809,1897,2619,2873,2553,1760,1492,1396,1842,2294,1973,1696,1577,1586,1861,1716,1728,2248,2978,3244,3322,3054,2098,1979,1649,1548,1904,2193,1872,1916,1863,1713,2126,2258,1796,2046,2414,3370,4313,4244,3316,2015,1789,2010,2064,2094,1902,1891,2293,2856,3284,2973,1886,2449,2355,1709,2060,2511,2811,2387,1787,1672,1503,1907,2273,2059,1836,1659,1830,1826,2007,2510,2718,2435,2292,2368,2134,1510,1682,2304,2616,2334,1976,1490,1381,1392,1367,1490,1551,1442,1334,1371,1765,2437,1716,1429,1666,2099,1806,2040,2397,2125,1962,2575,2545,2287,2382,2314,1788,2022,2106,1722,2492,2420,2736,2554,1862,1544,1941,2146,2053,2210,1984,1915,2050,2285,2558,2304,2076,2126,2135,2287,2375,2048,1979,1807,1249,1234,1910,2088,1831,2051,2745,2814,2989,2953,2144,1833,1857,1851,2087,2221,1964,1864,1659,1509,1466,1695,1814,1725,1740,1957,2419,1888,1666,1406,1311,1352,1459,1856,2599,2932,3088,2600,2207,2403,2535,2864,2308,1909,2214,1857,1810,2256,2711,3261,3250,2517,1845,1779,1720,1918,2462,2418,2754,2514,2363,2702,2424,2357,2252,1999,2199,2107,1994,1682,2745,2754,2249,2204,2176,1710,1896,1992,1822,1854,2190,2451,2090,1807,2626,3278,2982,2797,2944,2845,2845,3266,2864,1699,1531,2710,2703,2476,2165,2181,2134,2533,2307,2030,2436,2380,2228,2217,1935,2570,3915,3337,2749,2226,2542,3752,4297,4175,3775,2406,1690,1825,1546,1462,1340,1316,1465,1686,1331,1338,1566,1691,1675,1708,1678,1841,1668,1377,1721,1748,1846,1885,1968,2136,2067,2038,1962,2348,2675,2369,2008,2547,2954,1982,2373,2708,3217,3009,2523,2317,2454,2648,2472,2475,1946,1636,2071,2571,2436,2272,2544,2206,1867,1688,2070,2878,2423,1771,2269,2194,2093,2519,2338,1781,1702,2493,3750,3999,3726,2888,1848,1627,2089,2390,2474,2524,1702,1233,1607,2114,2574,2717,2471,2267,2284,2360,2951,2598,2510,2499,2499,2791,2721,2430,2428,3409,3274,2717,3337,3952,3370,2159,1963,2087,2493,2588,2763,2665,2539,3018,3023,2746,2468,2592,2523,2188,2946,2849,3188,2979,2609,2802,2390,2589,3491,3220,2609,2544,2297,2191,3212,2631,1618,1463,1811,2010,1736,2210,2424,2174,2568,2978,2949,3072,3284,3798,3868,3254,2897,2636,2569,2744,2880,2890,2887,3083,2189,1831,2156,2504,2778,2778,2736,2338,3055,3522,3360,2910,2820,2956,3082,2890,2542,2546,3024,3484,3105,3015,2573,2678,2609,2420,2932,2548,1743,1489,2035,2596,2063,2097,2546,3028,2664,2590,2375,2775,3717,4082,4141,3864,3516,3969,4532,4752,4620,3480,3623,4328,4288,3353,2686,2610,2522,2023,2710,3680,3532,2721,1994,2435,2577,2894,2796,2710,2612,2380,2555,3091,3238,2456,2219,2756,2854,3132,3509,3063,2454,2431,2570,2214,2075,1946,2099,2939,3168,2381,2044,2619,2922,3396,2957,2416,2305,2084,1901,2256,2974,3550,3513,2707,2171,2098,2690,2566,2157,2304,2521,2040,1801,2040,2027,2030,2198,1966,1712,1774,1760,2110,1745,1731,1767,1508,2030,2585,2041,1632,2386,2234,1747,1694,1606,1440,1636,1794,1710,1815,1610,1704,2062,1931,1600,1843,1743,1986,1991,2089,2146,2702,2643,2106,2449,2609,2391,2733,2441,1463,2261,1976,1650,1686,1846,1810,1736,1848,2047,2299,2257,1778,1521,1386,1311,1431,1621,1675,1444,1818,2323,2730,2541,1746,1650,1758,1549,1722,1670,1554,1446,1434,1399,1346,1376,1317,1505,1836,2479,2474,2455,2661,2202,2743,2062,1688,2065,2610,2653,2578,3138,3512,2872,1792,1692,2369,2692,2434,3267,2656,2051,2122,1788,1324,1721,1838,1549,1315,1345,1842,2122,2349,2173,2032,1681,2435,2595,2016,1905,1408,1931,2479,2544,2933,2367,2473,2908,2459,2494,3006,2954,3065,3111,2994,2992,3097,3165,3138,3331,3041,2381,2178,2477,2537,2135,1785,1835,1897,1752,1568,1446,1409,1389,1498,1614,1403,1453,1486,1340,1215,1221,1499,1809,1820,1802,1632,1784,1767,1968,2781,3296,3382,3294,3349,3619,3057,2005,1795,1643,1796,2052,1900,1967,2191,2277,2274,1942,1582,1575,1610,1715,1450,1426,1237,1494,1482,1493,1517,1482,1247,1310,2118,2598,2470,3013,3382,2485,1524,1842,1835,2145,2298,1979,1986,3176,3676,2836,2814,3155,2880,2222,1808,1968,1846,1652,1636,1595,1975,2153,2336,2709,1999,1256,1809,1786,1377,1751,2137,2079,2303,2000,1689,1575,1580,1575,1714,2588,2737,1801,1801,1587,2263,2710,2862,2893,3062,3375,3419,3013,2605,2708,2807,2284,2032,2198,2343,1969,2092,2010,1908,2076,1866,1805,2004,2375,2539,2294,2238,2481,2336,2178,1877,1697,1737,1878,2196,2698,2555,2139,1882,1928,1769,2135,2070,1805,1704,1869,1755,1716,1819,1835,1902,2275,3150,2894,1531,1718,2708,2518,2170,2457,2585,2466,2280,2152,1974,1732,1877,2076,1952,2370,2220,1869,2170,2950,3393,3269,3474,3629,3945,3687,2624,2233,2190,1930,2072,2025,2116,2116,2059,2697,3470,3450,3064,2731,2578,2492,2046,2021,2151,2304,2166,1661,1475,1528,2015,2555,2204,1970,1725,1653,1741,1610,1655,1874,1965,1778,2188,2473,2439,2298,1766,1475,1776,1700,1608,1454,1400,1505,1559,2147,2556,2244,2392,2304,1868,1744,2226,2850,2581,2009,1924,2081,1616,1466,1732,2312,2219,2000,2245,2160,2578,3088,2374,2359,2230,1957,2026,1680,1606,1803,1751,1772,1877,2272,1969,2154,2232,1908,1599,1623,1897,2013,1870,2122,2226,1787,1413,1690,1718,1647,1462,1489,1653,1372,1614,1976,2231,2482,1758,2031,2845,2767,1953,1190,1300,2734,2639,2415,2327,2193,2263,2463,2724,2931,2879,2447,2779,2623,2378,2239,2596,2644,2557,3079,2843,2296,2394,2483,2072,2285,2872,2076,2221,2119,2124,2788,3225,3096,2407,1917,2338,2834,2932,2554,2196,2365,2699,3625,3350,3197,3815,3378,2378,2338,2220,2087,2019,2003,1286,998,1750,2122,2174,2574,2871,2457,2131,2008,2053,2032,1870,1886,2084,2068,1734,1348,1373,1486,1530,1707,2134,2203,1976,1767,1521,1694,1405,1335,1753,1970,1896,1668,1557,1995,2724,3085,2913,2624,2420,3176,2842,2607,2302,2257,2839,2962,2596,2227,1830,1726,1623,1596,1633,1560,1468,1875,2309,2202,2037,1788,1611,1653,1651,2024,2395,1708,1453,1426,1583,1646,1588,2155,2461,2147,1854,1498,1518,1697,1844,1809,1655,1583,1701,1508,1454,1422,1732,2035,1890,1715,1677,1528,1690,2098,2073,1820,1688,1841,1931,1798,1653,1465,1493,1613,1690,1600,1483,1467,1579,1582,1584,1470,1404,1493,1462,1513,1478,1737,2105,1992,1738,1875,2556,2950,2504,2024,2730,2384,1986,2181,2122,2513,3554,4090,4183,3448,2732,3230,3400,3288,3319,3340,3393,2961,2165,1637,1438,1787,2131,1850,1882,1597,1561,1737,1721,1798,1800,2170,2031,1688,1968,2258,2454,2166,1883,1648,1537,1776,1980,2114,2069,1849,2132,2265,2373,2476,2040,1713,1764,2024,2187,2442,2323,2645,2420,1800,1580,1671,1638,1643,1671,1915,2196,2295,1657,1914,1870,1795,1776,2076,2243,2256,2258,1816,1509,1649,1743,2514,2503,2429,2678,2778,2864,2935,2844,2622,2277,2109,1970,1766,1608,1712,1862,1761,1588,1639,1818,2191,1932,1850,2274,2745,3060,3627,3222,2577,2530],[2028,2481,2171,1691,1597,1733,1732,1520,1466,1552,1563,1916,2164,1960,2030,1904,1692,1685,1973,2058,1845,1626,1541,1745,1941,1997,2322,2907,3308,3457,3792,3443,3522,3532,3342,3535,3710,3882,4133,4008,3408,3217,3130,3196,3366,3538,3529,3104,2712,3037,3681,3787,3725,3883,3491,3158,3548,3604,3535,3509,3394,3240,3010,2814,2903,3362,3339,2919,3235,3077,3073,2932,2657,2809,3228,2834,2308,2906,3548,3935,3743,2121,1930,2191,2009,2045,2207,1869,1561,1784,1968,2071,2437,2450,2709,2915,3150,3065,2741,2874,3111,2711,1958,1899,2230,2254,1934,2073,1962,1459,1770,2154,2102,1653,1836,2055,2073,1533,1240,1681,1972,2172,2216,2138,1838,1852,1763,2053,1983,2876,3428,2880,2624,2654,2178,1659,1340,2002,1935,1901,1957,1577,1917,1807,1742,2083,2343,2504,2540,2257,1749,1607,1742,2025,2392,2588,2415,2641,3010,3216,3592,3696,3129,2255,1636,1597,1483,1692,1659,1937,2114,1959,1997,2496,2296,2053,2465,2392,2012,2060,2181,1944,1879,1751,1499,1650,2280,2217,1795,1626,1727,1958,2214,2230,2038,1793,1943,2531,2019,1604,2137,2994,2778,2337,2757,2902,2614,2976,3443,3426,2574,2796,2707,2482,2821,2800,2135,1999,2453,2548,2558,2790,2762,2866,2828,2519,2483,2626,2443,2178,1992,2230,2539,2513,2219,2303,2218,2127,2432,1864,2008,2260,2507,3230,3413,3458,3741,3430,3441,3406,3419,3463,3123,2314,2271,2585,2724,2388,2212,1988,2078,2226,2142,2718,2984,2512,2027,2062,2328,2022,1938,2029,2349,3606,4475,4366,3311,2053,1902,1813,1653,1668,1933,2175,2077,2032,2103,2221,2427,2543,2455,2407,2383,2332,2526,2668,2492,2018,2452,2905,2551,1992,1844,2029,2819,2737,2603,2312,2417,3116,3318,2595,1907,2177,2484,2355,2333,2393,1969,1918,2232,2273,1894,1829,1680,1913,2684,2529,1945,1840,1942,2374,2723,1904,1500,2014,1959,1710,1793,2127,2376,2518,2337,1791,1524,1893,1916,1923,2393,2408,2174,2088,1663,1585,1799,1971,2102,2008,1827,1417,1283,1530,2025,2577,2752,3006,3182,2542,2647,2720,2472,2021,1706,1781,2767,2815,2338,2317,1996,2301,1948,1849,1904,1725,1794,3044,3795,3115,2745,2490,2177,2292,2467,2302,2299,2259,2778,2953,2416,2107,2645,2807,2645,2647,2348,2753,2708,2247,2249,2642,2829,2992,3018,2944,2234,2008,2316,2181,2495,2171,2090,2374,2263,1664,1975,2128,1952,2583,2755,2697,3051,3077,3067,2588,3314,3518,2268,1692,1762,1935,1967,1599,1825,2225,2323,2437,2259,2057,1679,1973,2150,1849,1669,1646,1760,1906,2121,2189,2291,3181,3350,3405,3338,2094,1657,1506,1643,1654,1881,2322,2337,1782,1699,2060,2052,2008,2380,2329,2243,3227,3805,3140,2078,1669,1765,1888,2099,2532,2742,2455,2498,2414,2099,1613,1646,1741,1919,2644,2873,2609,2005,1816,1758,1886,2298,1876,1835,1969,2018,1942,1987,2513,2599,2300,2255,2060,1828,1772,1696,1860,1835,2229,2077,1902,1720,1537,1304,1281,1455,1476,1436,1342,1342,1577,1769,1527,1572,2064,2104,1945,2119,2102,1988,2307,2491,2315,2026,1584,1708,1981,2282,2258,2101,2508,2836,2945,2646,2028,1865,2598,2276,2094,2370,2310,2031,1859,2227,2766,2997,2656,2210,2086,2177,2187,1993,1923,2137,1745,1539,1731,2104,2456,2810,3076,3188,3255,2856,2013,1848,1803,2339,2114,2158,1869,1826,1894,1852,1668,1832,1951,1798,1849,2061,2286,2100,1834,1816,1947,2012,1822,1963,2754,3543,4257,3271,2462,2575,2181,2200,1807,1659,1859,1675,1774,2081,2465,2750,2780,2986,1780,1853,2043,1775,2013,2740,3555,2864,2695,3186,3167,3482,2808,2095,1925,2399,2973,2551,3422,2980,2339,2329,2301,1896,1857,1758,1608,2020,2243,2208,1911,2397,2712,2873,3152,3497,4097,3697,3341,3660,3028,2153,2142,3113,3229,2140,2105,1941,2005,2270,1937,1799,2111,2171,1969,1924,1877,2106,3605,2839,2851,2405,2197,3019,3941,4280,3795,2564,1471,1506,1538,1487,1534,1699,1638,1522,1454,1344,1488,1675,1695,1817,1757,2088,2159,1931,1791,1781,1896,1835,1924,2405,2400,1892,2049,2157,2147,2284,2227,2797,2658,2070,2809,2473,2046,2451,2462,2100,1981,1890,2356,2575,1584,1611,2365,2566,2331,2526,2524,2309,2010,1708,2031,2433,2348,2061,2848,2648,1977,2417,2569,2313,2123,2008,2893,3400,2722,2080,1838,1917,2151,2495,2880,2308,1445,1325,1905,2342,2407,2126,2063,2546,1992,1570,1896,1939,3011,2875,1923,1851,2014,1853,2044,3112,3400,2394,2625,3112,3382,2087,1831,1687,2446,2656,2856,2988,2670,2478,2946,3147,2707,2879,2319,2359,3117,3410,3133,3173,2783,2534,2769,3436,3852,3457,2530,1794,1457,1522,2077,1919,2012,2148,2002,1675,1934,2647,2687,2370,2852,3142,3309,3476,3377,3667,3422,3075,2870,2823,2924,2909,2734,2187,2653,3200,2230,2375,2774,3163,3461,2837,2916,2894,2839,3146,2903,2039,1659,2027,2735,2307,2424,2463,2612,2945,3318,3375,2993,2808,2476,2410,2258,1981,2267,2592,2530,2425,2011,1803,2486,3341,3138,2578,2337,2828,3619,3794,3669,3520,3397,3769,4488,4747,4853,3807,3405,4184,3849,3060,2872,2600,2668,2042,2643,3716,3895,2643,2271,2624,2958,3142,2966,3012,2822,2413,2625,3464,3652,2655,2155,2782,3318,3465,3323,2657,2066,2023,2164,2498,2774,2512,2313,2322,2496,2829,2398,2478,2569,2396,2046,2187,2557,2070,1797,2114,2625,3218,2552,2460,2397,2470,2431,2371,2282,2218,2130,1872,1894,1995,1655,1474,1511,1826,1541,1152,1676,2391,2184,1830,1929,1994,2308,2664,2544,2604,2415,1880,1649,1703,1637,1787,1958,1992,2010,1662,1550,1917,1943,1637,1782,1839,1647,2057,2119,1968,2250,2950,2813,2238,2303,2207,2438,2619,1621,1367,1987,1802,1564,1302,1504,1715,1577,1661,1891,2228,2339,1918,1543,1425,1136,1475,1787,1692,1500,1596,2099,2427,2083,1606,1632,1730,1510,1655,1762,1818,1628,1622,1769,1699,1739,1498,1431,1572,2173,2287,2115,2505,2535,2979,2515,2303,2777,2916,3104,3141,3064,2763,2045,1707,1772,2013,2119,2553,3086,2608,2275,2490,2156,2010,1553,1380,1362,1324,1620,1875,1868,2011,1796,1535,1560,2307,2548,2220,2207,1599,2010,2285,2106,2541,2427,2297,2401,2321,2750,3120,3008,2994,3082,3145,3226,3328,3328,2879,2819,2674,2495,2530,2430,2287,2030,1671,1713,1880,1786,1570,1554,1439,1478,1717,1790,1598,1413,1402,1220,1235,1366,1483,1638,1854,1834,1509,1271,2093,2173,2274,3039,3247,3022,2764,3550,3357,2496,1980,1803,1866,1841,1931,2200,2286,2176,2230,2055,1550,1692,1731,1465,1510,1477,1769,1809,1528,1662,1666,1479,1388,1446,1945,2304,1980,2701,2705,2069,1593,1364,1830,2380,2254,1833,2236,3342,3235,2315,1843,2112,2381,1912,1702,1746,1701,2128,2246,1525,1465,1577,2030,2415,1702,1293,2205,2438,2306,2244,2168,1979,1899,1923,1959,1908,1799,1731,1792,2439,2631,2079,1910,1580,2479,3489,3725,3755,3666,3638,3304,2754,2394,2293,2154,1871,2289,2642,2653,2341,2111,1770,1753,2053,1929,2103,2514,2725,2236,2042,2210,2735,2834,2385,1822,1723,1831,1825,1708,1916,1770,1663,1678,1861,1716,1813,2059,1933,1946,1930,1626,1729,1824,1850,1818,2012,2171,2288,1803,2142,2502,1950,1780,2227,2242,1857,1823,1886,1650,1378,1492,1977,2211,2600,2732,2401,1975,2673,3039,2940,3558,3671,3902,3778,2706,2023,1809,1946,2297,2220,2244,2026,2027,2944,3442,3087,2741,2440,2340,2207,1836,1986,2097,2155,1912,1569,1470,1556,2371,2764,2331,2325,1830,1635,1623,1428,1505,1764,1678,1644,1853,2076,2338,2303,1871,1448,1626,1534,1434,1288,1497,1902,1881,1976,2226,1966,2137,1995,2006,1697,1675,1816,1729,1909,2271,1880,1556,1480,1478,1871,2518,2041,2057,1851,2822,3066,2447,2699,2648,2260,2108,1771,1522,1744,1655,1441,1925,2384,1882,2280,2327,1763,1703,1653,1772,1826,1598,1630,1728,1437,1460,1718,1754,1671,1569,1959,2148,1687,1596,1872,2547,3002,2566,2695,3776,3693,2273,1659,1888,2598,2910,2656,2401,2724,2759,2917,3052,2907,2731,2775,3204,3253,2536,2411,2786,2444,2600,3382,2973,2778,2176,1780,2438,3040,2864,2326,2553,2338,2325,2867,3032,2709,1917,2177,3004,3493,3023,2610,2784,2822,2746,3428,3646,3274,3849,3553,2214,2425,2454,2705,2891,2326,1603,1480,1997,2487,2263,2337,2593,2292,1898,1666,1844,1866,1698,1635,1809,2016,1728,1403,1466,1467,1498,1679,1835,1912,1982,1805,1671,1740,1620,1698,1774,1715,1814,1707,1519,1680,1995,3142,3602,3318,2196,2329,2406,2415,2226,2262,2684,2575,2648,2779,2332,1909,1684,1565,1507,1476,1431,1723,2169,2447,2178,2089,2114,1567,1666,1588,2043,1613,1442,1497,1484,1506,1814,2554,2481,2087,2172,1975,1865,1940,2089,2027,1834,1914,1841,1588,1691,1980,2134,1817,1554,1633,1614,1490,1596,1979,2317,2048,1860,1874,1941,1708,1579,1736,1793,1572,1542,1481,1535,1601,2084,2121,1736,1440,1431,1482,1572,1644,1579,1711,1952,2184,2179,2092,2041,2673,2604,1982,1823,1911,2191,2379,2666,3464,4188,4108,3947,3029,2327,2737,3313,3262,3107,3016,2600,2108,1832,1676,1808,2169,2079,1675,1857,1918,1768,2001,2030,1834,1700,1616,1503,1520,1690,1910,2281,1954,1977,1710,1742,2125,2179,2100,1802,1662,1948,2147,1937,2225,2008,1694,1643,1998,2253,2760,3198,2874,2148,1723,1939,2233,1879,2044,1845,1740,2006,2466,1914,1792,1849,1762,1841,2256,2349,2281,2410,2110,1767,2162,2540,3012,2967,2492,2477,2553,2626,2833,2533,2633,2562,2085,1883,1734,1687,1678,1884,1723,1532,1738,2409,2810,2138,1876,2054,2664,2758,3386,3636,3436,3388],[1910,2145,2094,1842,1637,1609,1643,1661,1731,1606,1600,1946,2064,2143,2064,1987,2093,2151,2329,2298,1958,1678,1626,1549,1529,1722,1683,2053,2907,3134,3229,3167,3177,3479,3710,3585,3005,3197,3991,3985,2776,3083,3107,3152,3344,3274,3010,2896,2910,2985,3359,3516,3517,3485,3194,3077,3425,3536,3561,3507,3356,3227,3021,2749,2799,2977,3063,2610,2535,3097,3475,3487,3263,3074,3382,3489,3164,3392,3436,3714,3474,2113,1849,2154,2186,1875,1864,2564,2950,2458,2022,2413,2634,2266,2450,2400,2526,2468,2573,2854,2983,2632,2272,2116,2402,2159,1687,1660,1688,1619,2191,2348,2142,2054,2208,1836,1646,1642,1738,1908,1843,2040,2020,2695,2749,2404,1958,1587,1985,2576,2318,2214,2722,2911,2479,1670,1488,1882,1886,1909,1750,1763,2416,2275,1937,2612,3068,2946,2612,2711,2446,2171,2299,2445,2718,2395,2876,3350,3176,3011,2995,3141,3109,2636,1969,1631,1366,1468,1646,1890,1768,1885,2829,3315,2590,2336,2934,2790,2121,1872,1977,1925,1814,1659,1745,2101,2314,1902,1589,1697,1695,1571,2018,2059,1760,1763,1990,2271,2474,2299,2321,3149,3462,3041,2618,2603,3000,2977,2980,2654,1952,2166,2622,2752,2625,2470,2281,2243,2400,2801,3131,3173,2736,2609,2472,2297,2323,2336,2490,2662,2977,3084,3114,3205,2812,2513,2260,2526,2603,2207,1808,1952,2734,2961,2848,3543,3706,3605,3650,3341,3131,3283,2699,2143,2558,2770,2696,2457,2219,2304,2884,2591,2234,3165,3184,2061,1891,1910,2062,2295,2288,1991,2193,2984,3836,4091,3208,1986,1644,1848,1945,1854,2038,2322,2170,1923,1981,2164,2232,2113,2071,2152,2245,2272,2310,2348,2148,2002,2602,3024,2663,2133,2374,2510,3220,2832,1998,2123,2438,2544,2610,2422,1766,1515,1838,1739,1903,2090,1650,1830,2272,2248,2175,2756,2171,2146,3054,2854,2127,1786,1714,2134,2500,1801,1587,1842,1755,1720,2083,2757,2812,2453,2126,1844,1666,1926,1813,2404,2183,2036,1969,1676,1606,1609,1616,1731,1936,2251,1928,1518,1475,1671,2066,2494,2535,2563,2406,2221,2207,2316,2554,2381,1672,1828,2157,1842,2050,2018,1983,2494,2643,2508,2204,1794,1970,3140,3588,2684,2607,2597,2118,2402,3108,3307,2598,2415,2942,3047,2708,2591,2897,2789,2868,2757,2086,2326,2557,2337,2278,2203,2602,2956,2888,2718,1998,1744,2117,1750,2261,2039,2277,2042,1744,1683,2158,1999,2226,3213,3244,3042,3012,2563,2690,2547,3071,3249,2611,1743,2066,2688,2216,1932,2304,2163,1995,1968,2403,1990,1815,1904,1905,1833,1936,2020,2147,2224,2628,3032,2966,3495,3481,3214,3260,2478,1781,1914,2072,1781,1952,2188,1900,1657,1674,1931,1997,2193,2543,2235,2495,3258,3513,3243,2290,1669,1638,1754,2070,2798,3413,2415,1872,1930,1845,1520,1535,2115,2894,2963,2448,2145,1392,1449,1487,1968,2162,2329,2288,2019,2590,2541,2159,2172,1876,1831,1877,1643,1672,1584,1763,2019,1968,2273,2066,1825,1780,1866,1494,1018,1253,1448,1435,1378,1322,1598,1817,1780,1685,2116,2090,1935,2448,2736,2766,2592,1941,2014,1618,1454,2021,2461,3122,3152,2120,1862,2216,2186,2153,1778,1900,2482,2211,1771,2448,2776,2471,2203,2678,3525,3591,3075,2207,2010,1749,2003,2158,2173,2407,2158,2111,1816,1981,2444,2510,2660,3109,2808,2230,1816,2168,1861,2370,2031,1781,1850,1547,1411,1748,1960,2104,2224,2340,2094,2136,2063,2027,1635,1590,1762,1837,1761,2329,3366,3196,4030,3518,2850,2234,1842,1914,2200,2076,1910,1920,1996,2392,2612,2391,2755,3173,2082,1592,1810,1954,2158,2489,2624,2280,2226,2326,2198,2317,2125,2332,1837,2707,3143,2979,3183,3021,2468,2339,2666,2522,2398,2477,2265,2456,2577,2713,2533,2120,2170,2342,2700,3615,4332,4136,3645,3019,2925,2315,2191,2916,2586,2150,2175,2117,2232,1974,1714,1868,1991,2272,2096,1698,1724,1587,2541,3008,3386,2744,2238,2552,3229,4196,3952,2730,1468,1347,1547,1663,1721,1716,1602,1470,1454,1479,1799,1818,1654,1718,1964,2758,2583,2575,2614,2549,2240,1869,1923,2459,2595,2028,2290,2254,2094,2452,2908,3084,2316,2453,3353,2852,1926,1788,1895,2150,2182,2044,2962,2365,1503,2436,2830,2653,2490,2792,2545,2024,2488,2200,2445,2858,2801,2385,2462,2472,2008,1870,1955,2214,2439,2204,2337,2344,1991,2140,2031,2376,1811,1732,2861,2439,1512,1681,2330,2522,2132,1514,1565,2462,2129,2174,2402,2584,3067,3060,2149,1934,2258,2157,2173,2692,2778,2109,2381,2918,3632,2768,2257,2500,2790,2831,2878,2795,2933,2260,2487,2889,2126,1971,1902,2183,2546,3006,2458,2191,2309,1910,2395,2609,2624,2938,2151,1610,1522,1684,1621,1768,2369,2590,2132,2137,2833,2965,2319,2240,3216,3483,3591,3342,2603,2973,3607,3726,3553,3539,3204,2856,2944,2440,2815,2836,2293,2541,2524,2886,2534,1807,2425,2784,2529,2562,2523,2084,1554,2680,3240,2576,2955,2966,2709,3074,3610,3406,2850,2702,2555,2382,2390,2780,2814,3264,2755,2587,2156,1663,2500,3606,3642,2730,2402,2624,3356,3575,3654,3968,3999,4252,4660,4752,4908,4139,3363,4100,4484,4299,3782,2734,2609,2127,2533,3293,2963,2211,2110,2299,2891,3068,2464,2807,2709,2166,2166,3156,3504,3438,2596,2052,2322,2340,2007,1805,1697,1584,2336,2546,2123,1920,2087,2029,2225,2452,2435,2290,2051,2143,2177,2552,2645,2233,1833,1990,2479,3175,3043,2840,2573,2416,2167,2194,2498,2137,1854,1929,2040,2066,1572,1566,2416,2792,1902,1675,2328,2920,3001,2366,2267,2199,2558,2654,2566,2252,1798,1698,1716,1680,1764,2019,2040,2258,2036,1489,1881,2064,1781,1614,1958,1684,1864,2215,2092,2084,2134,2663,2730,2347,2104,2308,2596,1922,1158,1898,2098,1679,1371,1152,1530,1707,1578,1679,1792,1982,2230,1838,1510,1310,1059,1415,1670,1606,1474,1432,1982,2029,1838,1514,1743,1712,1582,1598,1656,1808,1721,1946,2303,1897,1683,1516,1421,1433,1863,2308,1924,2142,2596,2807,2580,2096,2461,2344,2159,3155,3185,1937,1512,1766,2007,2198,2288,2121,2226,2176,2053,2068,1939,1733,1450,1398,1499,1243,1322,1787,1926,1898,1715,1318,1670,2386,2559,2292,2101,1702,2315,2543,2299,2520,2402,1812,1509,1954,2712,3218,3112,2808,2819,2997,3278,3708,3261,3056,3144,2574,2265,2302,1805,1738,1735,1547,1510,1766,1925,1761,1820,1763,1801,1688,1537,1428,1312,1379,1218,1340,1449,1440,1481,1692,1683,1511,1969,2900,2450,2154,2486,2796,2676,2403,3218,3343,2923,2294,2009,2018,1788,1786,2122,2297,2281,2264,2005,1628,1657,1806,1746,1694,1520,1684,1667,1600,1654,1542,1462,1456,1373,1789,2524,2381,2358,2197,1737,1714,1750,2384,3044,2609,1902,2066,2779,2382,1918,1686,2114,2105,1989,2220,2058,1651,1964,2241,2006,1779,1577,2159,2499,1881,1266,2022,2529,2365,2231,2243,2078,2122,2123,1982,1865,1709,1846,2012,2175,2292,2234,1912,1762,2710,3892,4105,3523,2688,2510,2666,2546,2211,1616,1529,1750,2121,2220,2107,2295,2442,2055,2194,2187,2184,2900,3198,2519,1829,1810,1777,1719,2009,1737,1512,1863,1819,1770,1782,2143,1831,1657,1732,1635,1628,1798,2082,2237,2093,1703,1836,2078,2023,1891,1670,1534,1810,2022,2047,2036,1593,1379,1554,1943,1950,1770,1795,1745,1596,1591,1913,2276,2320,2292,2928,2952,1992,2315,2754,2315,2942,3435,3639,3531,2865,2085,1976,2019,2076,2113,1809,1597,1705,2104,2597,2571,2489,2355,2308,1943,1632,1906,2222,2226,1872,1865,1848,1537,1947,1986,1707,1569,1450,1686,1617,1345,1462,1759,2055,2062,1958,1833,1770,1773,1633,1734,2174,1889,1431,1631,1985,2266,2424,2591,3042,2685,2284,1935,1849,1654,1398,1649,1886,2021,2020,1717,1730,1389,1559,2159,2680,2147,2475,2807,3288,3261,2822,2790,2459,1877,2437,2477,2016,2024,1966,1742,2075,1909,1816,2352,2201,2039,2068,1812,1830,1706,1641,1625,1622,1437,1461,1636,1773,1649,1513,1787,2420,2547,2369,2292,3204,3142,3652,3757,3807,3373,2505,2147,2326,2718,2510,2430,2700,3034,3030,3479,3249,3373,3418,2954,2864,2370,1797,2366,2092,1562,1478,2370,2798,2713,1635,1527,2557,2831,2211,2159,2490,2219,2569,3186,2928,2514,2092,2411,2540,3009,2974,2642,2931,3051,2780,3077,3315,3185,3116,3132,2906,3161,3108,3226,3310,2644,2630,3012,2916,2703,2243,1932,2212,2182,1769,1633,1682,1642,1544,1486,1577,1964,1970,1819,1943,1692,1550,1788,1886,2328,2191,2054,2010,1824,1676,1660,1532,1475,1991,2121,1935,1912,1718,2519,3131,3038,2044,1766,1940,2030,1958,2156,2536,2551,2720,3212,2482,1776,1574,1547,1645,1606,1482,1501,1815,2180,2328,2958,3300,2017,1665,2076,2077,1729,1820,1692,1870,1791,1632,2255,2556,2066,2332,2214,1648,1758,1924,1974,1907,1860,1638,1486,1887,2121,1792,1607,1655,1644,1855,1615,1354,1746,2195,2149,1914,1914,2053,2109,2244,2218,2010,1531,1494,1643,1498,1545,1669,1764,1716,1521,1511,1576,1615,1848,2031,1788,1671,1889,2250,2244,1936,2115,2196,1931,1879,2466,2701,2928,3063,3377,3882,3724,3600,2923,2167,2172,3040,3396,2973,2395,1778,1621,1782,1824,2086,1918,1855,1919,2046,1974,1872,1973,2133,2222,1852,1367,1464,1594,1712,1907,1954,1796,2000,2238,2216,2038,1865,2001,1482,1449,2072,2788,2074,1995,2030,1709,1674,2209,2642,3017,3119,2726,2416,1759,2024,2402,2076,2372,2105,2238,2690,2744,2203,1841,1908,2016,1946,2442,2448,2200,2270,1956,2000,2202,2414,2442,2338,2166,2098,2219,2646,3018,2517,2613,2676,2127,1783,1638,1719,1735,1761,1824,1766,1853,2518,2935,2598,2555,2250,2625,2950,2937,2976,3580,3742],[2077,1998,1900,1693,1636,1553,1593,1510,1571,1631,1621,1867,1712,2100,2099,1623,1654,2215,2399,2356,2033,1647,1598,1488,1532,1783,1804,2097,2841,2806,2159,2237,2742,3316,3522,3710,3143,3225,3894,3950,2822,2579,2941,3385,3497,3024,2429,2651,3097,3454,3649,3516,3594,3441,3242,3286,3441,3609,3582,3461,3313,3173,3012,2740,2561,2473,2688,2597,3056,3816,4107,3883,3350,2896,2980,3206,3437,3116,2384,2620,2535,2420,2513,2454,2388,2437,2687,3053,3551,3211,2577,2793,2747,2478,2417,2436,2344,2435,2533,2590,2483,2439,2168,2243,2422,2208,2193,2251,2232,2105,2150,2250,2557,2824,2592,2483,2312,1942,2019,1790,1964,2476,2307,2905,3028,2788,2487,2053,1901,1944,2245,1973,2133,2532,2732,2396,1958,1643,2134,2092,1608,1922,2684,2389,1920,2231,2932,2851,3189,3205,2994,2903,2470,2182,2480,2486,2902,3210,2901,2810,2957,3154,3504,3273,2507,1919,1556,1752,1739,1541,1702,2213,3339,3918,3228,3276,3959,3453,2259,1787,1525,1792,1851,1864,2166,2149,1883,1612,1632,1606,1644,1705,2179,2111,1377,1351,1993,2193,2364,2953,3501,3925,4015,3619,2546,1917,2535,2607,2299,2435,2380,2114,2442,2917,2492,1924,2328,2536,2564,2801,2829,2710,2611,2532,2452,2233,1949,2106,2587,3167,3654,3647,3574,3375,2853,2685,2889,2802,2475,2608,2275,2540,3592,3326,3374,3554,3480,3343,3109,3252,3218,2708,1555,1427,2016,2664,3151,2742,2069,2489,3022,2271,2446,3429,3055,1991,1904,2012,1976,2148,2057,1784,1902,2270,2470,2675,2380,1649,1295,1289,1654,1896,1951,1984,1946,2000,2018,1960,2013,2100,2146,2251,2325,2371,2417,2322,2082,2449,3085,2486,2103,2358,2690,2759,2776,2258,1887,1914,2010,2150,2272,2275,1836,1345,1683,1665,1763,1863,1938,2280,2238,2038,2474,2795,2171,2132,2411,2405,2053,1919,1715,1932,1905,1569,1399,1361,1482,1494,1726,2041,1924,2259,3334,3187,2114,2063,2140,2928,2310,1931,1897,1559,1503,1684,2058,1939,2236,2964,2513,2641,2666,2851,2843,2991,3028,2765,2786,2409,2053,2300,2420,2461,1764,1997,1719,1618,2408,2742,2795,3263,3408,3262,2951,2106,1775,2644,2899,2357,2467,2351,2160,2484,3250,3245,2382,2444,2911,2974,2821,2868,2889,2642,2812,2659,2378,2524,2436,2351,2183,1804,1974,2382,2669,2664,1995,1714,2195,1835,1986,1814,2028,1996,1623,1964,2351,2061,3107,3611,3429,2918,2295,1900,2470,2424,2557,2821,2346,1555,1574,2019,2021,2282,2746,2866,2953,2727,2701,2766,2370,2049,1778,1687,1942,1970,1898,2007,2367,3326,3295,3284,2740,2567,2807,2499,2113,2270,2214,1978,1905,1960,1738,1761,1736,2330,2221,1990,2105,1948,2824,3459,3430,3122,1977,1679,1658,1765,2151,2321,2939,2290,1855,1988,1695,1499,1651,2397,3694,3928,2591,1808,1508,1404,1609,1468,1687,2279,2221,2371,2734,2302,1843,1409,1481,1728,1943,1663,1577,1504,1619,1858,2102,2031,1807,1678,1834,2232,1772,1208,1312,1551,1471,1387,1404,1446,1792,2019,1774,2011,2018,1974,2439,2784,2519,2008,1883,1815,1650,1694,2334,2624,2324,2307,2271,1967,2010,1972,1699,1621,1876,2214,1963,1635,2119,2557,2555,2617,3220,3484,3328,3078,2322,2362,2380,2371,2110,2491,2496,1997,1694,1725,2129,2301,2049,1977,2053,2145,2024,1913,2106,1981,2236,2087,1582,1803,2133,2076,2677,2658,2569,2711,2299,1942,1744,1969,2148,1761,1718,2066,1589,1570,2330,3265,2636,2853,2996,2710,2067,2235,2508,2301,1909,1799,1749,1663,1730,1760,1880,2260,2363,2409,2274,2584,2549,2177,1801,1759,1747,1488,1460,1507,1449,1591,1687,1690,2396,2489,2578,2917,3045,2707,2279,2388,2512,2136,2149,1897,2118,2438,2400,2209,1937,2100,2160,2567,3930,4371,4251,4037,2835,2309,1948,1974,2297,2222,2602,2707,2608,2264,1887,1805,2605,2468,2955,3264,2166,1753,1621,1797,2630,3144,2721,2436,2531,2640,3967,4337,3033,1629,1479,1441,1316,1396,1541,1545,1441,1317,1333,1872,1961,1743,1619,1696,2291,2203,2370,2500,2417,2049,1908,2003,2053,2208,1974,1987,2093,2204,2348,2663,2373,2099,2646,3466,3365,2425,1739,1866,1955,2124,2155,2833,2514,1946,2439,2828,2942,2599,2912,2252,1511,2227,2110,2177,2621,2600,2313,2520,2406,1785,1952,2351,2489,2763,2438,2152,2094,1774,2453,2534,2754,2384,2626,2909,2223,1565,2126,2812,2844,1987,1953,2595,3738,3400,2666,2505,2186,2266,2820,2733,2178,2292,2354,2266,2229,2332,2756,2811,3251,3720,3177,2410,2440,2836,2908,2350,2094,2313,2147,1932,1978,1636,1609,1919,2094,2077,2296,2176,1787,2031,1943,3019,3659,3414,2697,2268,2569,2963,2737,2170,2519,3211,2858,2115,2718,2951,2202,2241,2964,3342,3423,3473,2685,2148,2692,3318,3140,2852,2625,2419,2125,2217,2347,2109,1970,2214,2315,2114,2315,2083,2205,2647,2653,2096,2065,2364,2437,1816,2626,3696,3653,3632,3874,3520,3150,3107,3256,2989,2343,1801,2037,2536,2843,2958,3472,3249,3165,2786,2186,2680,3606,3928,2742,2488,2539,3082,3330,3630,4093,4195,4485,4753,4797,4936,4484,3399,4009,4473,4608,3959,2373,2434,2047,2467,3216,2643,2167,2132,2136,2476,3095,2811,2907,2504,1903,2009,2830,3278,3198,2359,1696,1663,1733,2281,2644,2283,1726,2346,2354,2171,2184,2267,2241,2195,2249,2790,2790,2201,1743,1820,2717,2841,2442,1689,1742,2585,3076,3383,3212,2730,2463,2298,2021,2040,1812,1862,1985,2015,2009,1799,1886,2157,2281,2002,1717,1931,2279,2818,2647,2425,2153,2162,2047,2172,2161,2073,1819,1620,1807,2035,1928,2142,2300,2192,1893,2178,2058,1621,1761,1860,1719,2118,2251,2498,2483,1863,2140,2342,2140,2042,2237,2439,1340,1329,2391,1990,1451,1308,1252,1563,1677,1793,2163,1902,1830,2155,1926,1527,1194,1171,1533,1714,1830,1646,1521,1853,1969,1740,1494,1613,1587,1571,1491,1589,1700,1785,2019,1935,1698,1527,1417,1397,1454,1681,1942,1836,2063,2683,2728,2553,1847,2587,2579,2429,3119,2198,1420,1749,2391,3121,3471,2986,2320,2446,1685,1970,1788,1922,2062,1822,1819,1798,1232,1180,1775,2214,2088,1779,1616,2168,2647,2518,2100,1945,1603,1820,1953,1837,2195,2443,2193,2171,2383,2313,2607,2381,2312,2733,2897,3179,4007,4062,3760,3416,2424,2149,1824,1458,1683,1626,1680,1774,1648,1764,1857,1964,1892,1635,1476,1400,1299,1429,1700,1475,1426,1466,1449,1528,1482,1513,1584,1771,2057,1981,2208,2297,2443,2534,2984,3228,3294,3330,2818,2240,2117,1820,1722,2075,2292,2229,2301,2098,1723,1519,1450,1325,1375,1387,1405,1542,1691,1665,1547,1454,1354,1441,1838,2314,2648,2537,2123,1932,2137,2163,2462,3061,2263,1752,1800,2019,1803,1590,1464,1821,1655,1603,1722,1844,1799,2054,2223,2025,1944,1970,2140,1765,1448,1477,1731,1705,1336,1604,2081,2046,2121,1960,1902,2153,1922,2128,2216,1923,1843,1883,2105,2230,2339,2569,2895,2379,1912,2496,3125,2950,2307,1778,1758,1616,1873,2301,1925,1933,1690,1859,2568,2254,2066,2486,2328,1649,1316,1743,1786,1393,2014,1931,2105,2050,1728,1809,2019,2375,1965,1583,1470,1464,1679,1680,1905,2165,1950,2257,2458,2384,2315,1984,1577,1430,1675,2374,2812,2115,1628,1632,1431,1877,1949,1908,1907,1765,1666,1913,2328,2257,2029,2207,2872,2798,1936,2048,2644,1871,2269,3143,3737,4025,3257,2177,1838,1741,1929,2164,1762,1603,1567,1440,1890,2106,2306,2262,2100,1806,1622,2006,2335,2264,1859,2330,2036,1569,1572,1596,1724,1693,1839,1925,1411,1459,1498,1646,1786,1816,1919,1957,1885,1707,1678,1793,2079,2054,1858,2076,2161,2119,2679,2873,2933,2349,1738,1910,1775,1578,1776,2087,2210,1986,1731,1634,1840,1782,1732,1986,2351,2253,2490,3847,4581,3539,2903,2876,2570,2271,2521,2518,2491,2264,2003,2116,1894,1728,2245,2382,2047,2194,1965,2424,2066,1804,1825,1765,1609,1720,1840,1860,1824,1816,1673,2016,3081,3345,2972,2739,3356,2834,3034,3392,3236,2823,2362,2086,2256,2647,2356,2740,2929,2842,2900,3386,3024,3263,3310,2623,2321,1960,2089,2636,2212,1719,1938,3046,3173,2852,2270,2152,2366,2219,2105,2906,2878,2388,2629,3082,3002,2181,1737,2223,2596,2995,2900,2719,3094,3156,2895,2956,3100,3109,2663,2886,3007,2963,2847,2843,3078,2924,3032,3216,3123,2382,1731,1566,1799,2143,1955,1743,1945,1910,1910,2106,2280,2435,2194,1910,2152,2145,1894,1774,1794,2003,1995,2066,1772,1547,1412,1385,1469,1475,1808,2074,2612,2660,2151,2170,2265,2129,1843,1932,2226,1783,1833,2271,2609,2382,2286,2540,1907,1608,1512,1511,1724,1611,1627,1887,2019,2313,2950,3572,3301,2549,1939,1816,1824,2212,2311,1823,1924,1900,1689,1616,1766,2310,2398,1873,1599,1729,1864,2033,1897,1549,1428,1716,2048,1865,1572,1715,1774,1565,1614,1546,1597,2020,2327,2287,2091,2157,2256,2173,2042,1932,1692,1411,1542,1552,1559,1621,1532,1526,1591,1547,1493,1548,1465,1665,2144,2209,2129,1959,2184,2338,2320,2316,2137,1941,2380,3120,2998,3241,3072,2754,3132,3616,3274,2398,1644,1460,2165,2559,1708,1510,1900,2355,2009,1906,1851,1792,1811,1865,1924,1813,1815,2004,2396,2278,1968,1695,1806,1678,1788,2298,2460,2402,2730,2786,2433,2040,1781,1689,1611,1512,2024,3140,2984,2241,2093,1967,1717,1983,2397,2536,2655,3016,2793,2165,2098,2127,2310,2280,2062,2457,2247,1938,1899,2053,2106,2520,2200,2266,2362,2294,2270,2244,2237,2298,2320,2048,1941,1909,1722,2148,2669,2731,2377,2419,2610,2424,2052,1901,2164,2051,1753,1971,1792,1696,2095,2499,2580,2563,2666,3039,2854,2169,2133,2876,3229],[2082,1938,2082,1971,1733,1666,1490,1361,1439,1641,1836,1793,1889,2312,2222,1815,1530,2008,2028,1787,1533,1505,1419,1582,1970,2210,2147,2359,3056,2916,2054,2068,2522,3090,3374,3573,3206,3230,3491,3319,2497,2237,3034,3728,3662,3019,2417,2359,2551,2773,3279,3291,3427,3453,3370,3374,3458,3501,3504,3367,3156,3044,2986,2764,2520,2303,2360,3010,3938,4301,4312,3949,3556,3243,3418,3403,3457,2834,2231,2393,2351,2533,2959,3151,3029,2783,2999,2957,3399,3270,3115,3116,2910,2998,2803,2550,2430,2321,2504,2471,2363,2336,2226,2248,1976,1897,2502,2654,2455,2199,2082,2381,2844,2902,2536,2547,2608,2227,2225,1891,1906,2585,2808,2641,2539,2323,2423,2778,2078,2595,3259,1903,1572,1937,2112,1918,1592,1704,1982,1955,1829,2064,2056,2070,2032,2131,2482,2517,3066,3448,2941,2525,2123,1826,2012,2475,2479,2235,2142,2645,2552,2551,2996,3050,3062,3020,2540,1926,1834,1964,2492,2566,2868,3157,2776,3532,4037,3030,2536,2476,1836,1655,1963,2189,1945,1798,1649,1675,1793,1879,1918,2144,2250,2095,1760,1303,1425,2075,2178,2796,4000,3915,3874,3889,2955,2418,2620,2424,1974,2262,2561,2507,2596,2652,2386,2186,2721,2234,2149,2099,2304,2414,2305,2104,1721,1449,1105,1547,2877,3688,3491,3727,3704,3413,2929,2982,3458,3385,3011,2799,2174,2386,3385,3695,3674,3327,3304,3229,3174,3117,2977,2542,1556,1046,1217,2199,2482,2574,2014,1921,2236,2186,2620,2466,2066,1989,2070,2077,2182,2253,1980,2058,2730,2938,2580,1882,1730,1594,1355,1151,1244,1637,1852,1544,1856,2210,2177,1604,1406,1677,2036,2258,2333,2681,2786,2229,2042,2359,2552,1924,1990,2171,2414,2443,2314,1979,2246,2302,1832,1858,1974,2311,2385,2236,2025,1877,1532,1738,2286,2574,2271,2170,2376,2299,2510,2271,1747,1819,1624,1559,1575,1945,1880,1563,1535,1592,1577,1547,1600,1624,1812,2604,3522,3560,2243,2150,2647,2752,2288,1978,1868,1668,1610,1686,2020,1819,1888,2219,2788,3046,2743,3100,3373,3395,2853,2658,2986,2328,1819,2241,2624,2663,2216,1768,1701,2242,3248,3748,3840,4187,4081,3144,2580,2028,1431,1703,1990,2024,2291,2351,2453,2336,1979,1923,1896,2128,2519,2942,2998,2699,2619,2453,2921,2693,2349,2267,2276,2302,2114,1953,1856,2154,2066,2026,1732,1869,2004,1963,2036,1876,1734,1594,1542,1798,2070,2279,3386,3228,3043,2897,1982,1733,2417,2933,3190,2733,1759,1539,1898,1946,1842,1960,2397,2629,2752,2634,2160,2221,2658,2957,2014,1581,1687,1709,1710,2084,2436,2832,2984,2840,2392,2352,2338,2196,2481,2693,2346,2019,1676,1703,1789,1654,1766,2026,2026,1990,1744,1626,2072,3065,3313,3219,1864,1596,1743,1793,2338,2933,3437,2618,2033,1936,1696,1792,1913,2664,3743,3863,2427,1920,1807,1841,2004,1612,1695,2061,2513,3020,2665,1755,1736,1559,1581,1666,1890,1752,1752,1733,1684,1806,1823,1566,1627,1711,1545,1582,1518,1311,1316,1415,1406,1442,1677,1688,1666,1942,2104,2243,2016,2076,2249,2508,2369,2076,1875,1771,1985,2027,2133,2154,1722,1968,2566,1961,1832,1840,1903,2037,2070,2056,2142,2332,2425,2395,2699,2960,3242,3166,2789,2577,2469,2558,2584,2203,2044,2579,2821,2374,1807,1792,2209,2018,1747,1709,1904,2310,2114,1982,2415,2823,2666,2133,1868,2135,2913,3151,3331,2513,2580,2918,2244,2116,2372,2348,2249,2003,1896,2326,1860,1917,2969,3252,2724,3040,3172,2473,2001,2187,2138,1726,1538,1637,1572,1736,1566,1534,1792,2137,2405,2512,2627,2741,2191,1952,1824,1751,1550,1406,1566,1603,1513,1527,1663,1878,2044,2285,2548,2645,2821,2265,2009,2106,2232,1986,1888,1813,1999,2053,2010,1718,1902,2266,2547,2721,2962,3306,3463,3836,2968,2236,2229,2504,2180,2596,3122,2874,2901,2247,1874,2127,2954,2546,2964,2666,2246,2085,1662,1542,1662,1992,2417,2751,2618,2749,3818,4441,3247,1841,1698,1684,1664,1765,1600,1543,1662,1429,1571,1901,2025,1729,1623,1655,2008,2356,2365,2178,2138,2209,2147,2162,2427,2114,2388,2475,2396,1981,2254,2569,2153,2479,2684,3183,3311,2789,2185,1990,1570,2024,2252,2577,2798,2966,2843,2958,2924,2532,2629,1787,1349,1738,1940,1963,2818,2754,2460,2473,2061,2098,2450,2874,3231,3011,2188,2023,2270,1997,2490,2705,2941,2966,2697,2710,2460,1719,2498,2917,2810,2545,2762,3399,4419,3933,2330,1775,2067,1974,2492,2919,2269,2337,2465,2200,2183,2698,3267,2676,2122,2260,2213,1739,2364,3118,2582,1979,2344,2257,1974,1958,1954,1737,1761,2256,2374,2265,2814,2700,2329,2329,2611,2707,3184,2832,2368,2552,2928,2956,2442,2687,3239,3363,3018,2365,2424,2092,1962,2800,3138,2919,3146,3166,2830,2707,2758,2702,2076,2017,2172,2440,2367,2258,2326,2480,2285,2426,2702,2253,1899,2050,2970,3129,2910,2306,2623,2649,2369,2390,2657,2592,2431,3226,4339,3595,2442,3028,2998,2241,1777,1896,2377,2526,2513,2386,2745,2979,2712,2553,2135,2451,3296,3823,2717,2784,2602,2917,3582,3905,4040,4243,4461,4660,4676,4864,4740,3414,3807,4312,4419,3769,2585,2569,2452,2807,3506,2612,2495,2186,2156,2136,2885,3285,3264,2743,2148,1996,2373,2469,2197,2133,2173,2390,2426,2513,2061,1749,2015,2028,2268,2196,1860,1998,2218,2225,2357,3364,2987,2029,1789,2292,3020,3160,2584,1933,2076,2398,2518,2584,2386,2183,1764,1145,852,1692,1698,1623,1554,2106,2267,1801,1650,1846,2366,1904,1501,1281,1716,2647,2574,2454,2337,2042,2192,2764,2967,2684,1895,1678,1889,1704,1464,1762,2157,2135,2194,2388,2047,1709,1833,1647,1852,2264,2240,2913,2302,2159,2100,2048,1880,1974,2256,2015,1104,1709,2286,1772,1478,1250,1302,1468,1724,1650,1976,2017,2002,2085,1944,1601,1304,1276,1579,1831,1829,1748,1670,1743,1990,1723,1483,1568,1740,1801,1660,1600,1590,1870,2396,2225,2198,1876,1556,1517,1466,1607,2003,2070,1952,2946,2832,2876,2475,2884,2878,2828,2950,2077,1604,2393,2848,3361,3461,3073,2218,1902,1766,2413,2362,2165,1808,1761,2253,2137,1488,1361,1908,2382,2204,1808,1494,2080,2945,2640,2124,2054,1585,1724,2137,1760,2162,2690,2414,1898,2133,2159,2774,2944,2512,2565,2614,2812,3914,4109,3225,2804,2234,2074,1700,1409,1522,1549,1813,1829,1618,1631,1958,2126,1675,1475,1486,1400,1357,1709,1798,1453,1426,1461,1475,1460,1334,1490,1578,1733,1970,1769,2120,2300,2269,2533,3066,3362,3680,3915,3577,2846,2353,1936,1759,2150,2283,2221,2336,2259,1718,1386,1324,1345,1412,1296,1194,1301,1415,1611,1744,1482,1383,1501,1496,1729,1774,1525,1625,2014,2084,1531,1710,2788,2114,1899,1806,1709,1701,1682,2126,2150,1625,1648,1876,2501,2487,2549,2165,2137,2281,2246,2030,1709,1818,2109,2056,2039,1954,2019,2126,1967,1967,1936,2006,2524,2218,2035,2104,1957,1684,1904,2251,1931,2036,2155,2190,2250,2334,2592,2822,3112,2646,2105,2021,1580,1894,2214,1821,1259,872,1647,2404,2157,1920,1936,1744,1631,1498,1703,2012,2232,2686,2684,2656,2072,1632,1685,1874,2168,1889,1604,1682,1695,1924,1948,2204,2608,2779,2846,2120,2040,2276,1921,1812,1839,1841,2946,3685,2779,2314,2218,1615,1840,2070,2107,2120,1995,2002,2104,2333,2161,2437,2788,2435,2300,2048,2439,2678,2011,1943,2543,3461,4137,3205,1991,1558,1310,1738,1985,1671,1736,1656,1410,1688,2201,2390,2021,1743,1731,1832,2272,2435,2225,1804,1981,1712,1595,1557,1621,1823,1873,2067,2150,1592,1808,2051,1951,1778,1640,1810,1788,1678,1729,1969,2104,2563,2598,2412,2301,2189,1975,2357,2678,2698,2249,1959,1923,1526,1550,2037,2188,2309,1793,1754,1732,1747,1783,1824,1940,2215,2234,2060,2625,3220,2864,2854,2504,2514,2424,2106,2136,2182,2081,2180,1945,1671,1647,1885,1903,1997,2078,1925,2432,2026,1779,1762,1615,1900,2271,1863,2028,2282,2327,2042,2721,3426,3547,3383,3320,3260,2551,2246,2322,2253,2094,1949,1998,2343,2822,2955,2820,2187,2063,2658,3155,3254,2764,2350,2718,2468,2426,3270,3693,3642,2983,3410,3504,2700,2876,3086,2587,3138,3032,2689,2692,1970,1843,2113,2554,2966,2230,1922,2730,3238,3373,2941,2565,2707,2734,2931,2896,2984,3310,3284,3159,2933,2830,2670,2844,3356,2976,2854,3184,2776,1902,1507,1566,1604,2055,1980,1709,1989,2235,2107,1819,1487,2342,2271,1964,1950,1975,1977,1929,2018,1823,2008,2004,1443,1395,1470,1668,2112,1759,1594,1870,2418,2588,2202,2133,2266,2142,1718,1756,2192,2330,2488,2696,2742,2380,2304,2046,1604,1600,1459,1444,1546,1687,2045,2055,2239,2497,3020,3210,2766,2514,2242,1824,1856,2288,2328,1791,1774,1827,1444,1368,1710,2281,1882,1890,2210,2231,2313,2355,2291,1877,1871,2344,2059,1874,1699,1643,1592,1424,1434,1632,1900,2175,2260,2232,2140,2220,2212,2136,2056,1881,1606,1522,1504,1570,1628,1503,1451,1493,1735,1704,1594,1509,1682,1489,1914,2513,2409,2075,2192,2251,2054,2655,2468,1878,2042,2939,3101,3107,3088,2896,3332,3443,2376,1559,1188,1101,1714,2376,1930,2038,2188,2645,2193,1962,1810,1617,1759,1896,1776,1945,1789,2003,2182,1800,1720,2111,1907,1688,2143,2248,2490,2740,2573,2099,2453,2032,1926,1750,1772,1771,1976,2627,2664,2165,2078,2167,1868,1870,1825,2064,2788,3230,2728,2351,2343,2235,2207,1843,1685,1648,1021,1174,1626,2430,2229,1647,1729,2266,2526,2446,2381,2407,2523,2364,2271,2139,1614,1838,2282,2061,2222,2526,2562,2435,2320,2531,2626,1995,1866,1742,1734,2006,2024,1947,2181,2238,1948,2475,3372,3286,2523,2145,2389,2744,2846],[2242,1834,1843,2056,1973,1844,1583,1547,1715,1889,1782,1816,2122,2166,2375,2568,1970,1951,1904,1965,1799,1692,1600,1854,2409,2492,2401,2784,2921,2601,2806,2986,2743,2801,2851,2798,2665,2734,3155,3406,3114,3393,3687,3850,3893,3202,2520,2287,2319,2342,2775,3141,3299,3551,3405,3298,3311,3298,3395,3348,3200,3055,2965,2963,3196,3409,3607,4072,4484,4272,3916,3333,3482,3418,3620,3542,3294,3244,2908,2544,2275,2477,3153,3694,3786,3385,3164,2569,3582,4421,4237,3542,3375,3218,2796,2765,2576,2401,2341,2209,2359,2525,2438,2198,1826,1864,2287,2237,2379,2292,2287,2698,2994,2955,2444,2104,2323,2469,2452,2146,2166,2811,2751,2341,2540,2530,2899,3133,2026,3063,3739,2351,1613,1596,1715,2097,2446,2199,1894,2259,2214,2396,1911,1785,1716,1828,2099,2359,2325,2293,1892,1779,2265,2144,1979,2712,2341,2094,1827,1953,2049,2289,3034,3567,3178,2770,2645,2218,2067,2384,2890,2476,1858,2179,2469,2791,2876,2367,2325,2581,2436,1829,1694,2126,1826,1722,1709,1759,2017,2256,2250,1986,1744,1714,2047,1706,1506,2310,2438,2335,3277,3574,3802,3738,3131,2954,2889,2546,2505,2869,2641,2667,2765,2478,2584,2449,2328,1604,1891,2365,2567,2424,2254,1996,1216,1014,1231,2507,3112,3594,3812,4252,4256,3856,3505,3220,3459,3813,3759,2917,2220,2210,2897,3550,3353,3155,3305,3475,3674,3347,2817,2633,2299,1656,1100,1538,1863,2427,2491,2039,1831,2498,2492,1865,1863,2080,2422,2107,1790,2316,2197,1981,2788,2966,2652,1853,1520,1915,1717,1343,1438,1931,2311,1871,1991,2224,2059,1233,792,1116,1732,2189,2288,2768,2921,2256,2155,2284,2014,1832,2120,2195,2376,2324,1945,1686,1769,2055,1887,1948,1767,2054,2585,2641,1990,1645,1715,1858,2044,2449,2551,2423,2147,1952,2136,1974,1746,1724,1600,1465,1714,2196,2173,1842,1760,1776,1564,1689,1924,1682,1587,2024,2113,2325,2338,2889,2791,2273,2452,2128,1802,1721,1776,1694,1539,1663,1721,2087,2959,2905,2591,2828,3285,3101,2511,3078,3322,2749,2372,2388,1895,1875,2011,1314,1259,2181,2857,3300,3876,4358,3648,2585,2146,1704,979,736,1125,1484,1699,1896,2181,2235,2115,1828,1598,1222,1714,2154,2326,2702,2745,2610,2573,2347,2711,2866,3165,2028,1704,1926,2512,2596,1822,1571,1832,2211,2129,1949,1885,1857,1804,1659,1599,1674,1835,2198,2723,2458,2427,2618,2109,1907,2294,2679,3364,3131,2019,1744,2089,2231,2077,2182,1982,1729,2047,2012,1975,2185,2232,2549,1792,1549,1743,1850,1796,1901,2258,2475,2635,2665,2193,2006,2147,2206,2502,2496,2698,2053,1719,2341,2236,1693,1742,1813,1977,1770,1811,1953,2625,3183,3024,3406,2648,2842,2467,2135,2426,3217,3749,2730,2149,2017,1908,1719,2003,2416,2843,2434,1719,1913,1938,2326,2700,2419,1809,1911,2468,2674,2276,1964,2047,2041,1936,1671,1749,1753,1787,1996,1757,1634,1492,1367,1632,1562,1463,1493,1562,1536,1489,1376,1367,1464,1443,1489,1538,1600,1918,2144,1793,1891,2165,2331,2186,2036,1896,1860,2145,2263,2095,1918,1776,1888,2259,1906,1958,1821,1610,1959,2020,2081,2508,2483,2852,3286,3233,3010,2740,2845,2785,2148,2266,2646,2477,1916,1936,2501,3042,2806,2413,2281,2359,2514,2674,2249,2174,2096,1951,2218,2421,2611,2365,2171,2300,2014,2939,2933,2041,1712,2149,2420,2249,2181,2170,2026,2241,2080,1726,2204,2012,1869,2941,3244,3002,2932,2670,2149,1772,1773,1975,1859,1528,1486,1694,1794,1770,1816,1886,2058,2252,2119,1945,2049,1639,1539,1804,1757,1632,1571,1604,1508,1560,1600,1599,1649,1504,1883,2481,2379,2768,2476,2386,2518,2642,2267,1603,1783,2062,2147,2266,1897,2611,2647,3067,3387,2876,2770,3072,3251,3040,2409,2270,2477,2328,3098,2954,2372,2352,2151,2739,3058,2569,2282,2225,2127,2759,2652,1946,1773,1654,1749,2200,2557,2964,3111,3917,4451,3341,1919,1624,1579,1626,1358,1236,1449,1591,1417,2017,2030,1763,1601,1560,1756,2094,2142,2150,2285,2415,2289,2140,2532,2418,1969,2099,2510,2631,2530,3124,2854,2235,2765,2568,2647,2868,2670,2354,2181,1775,1593,2055,2373,2253,2338,2450,2467,2214,2840,3131,2081,1718,2191,2391,2046,2551,2806,2039,2025,1947,2110,2257,2110,2321,2136,1888,1977,2045,2267,2465,2636,2735,2304,2445,2569,2309,1694,2136,2642,3042,3354,2966,3187,3861,3241,1828,1427,2155,2579,3120,3059,2296,2468,2474,2471,2581,2384,2227,1825,1722,2523,2988,2491,2778,3250,2459,1935,2025,1748,1621,1943,2215,1859,1616,1959,2191,2331,2586,2439,3046,3201,2568,2309,2597,2009,1882,2137,2284,2229,2454,3166,3190,3017,2735,2302,2193,2052,2487,2963,2931,2634,2535,3143,3663,3185,2255,1879,2060,2098,2401,2704,2641,2514,2715,3312,3134,2823,2770,2000,1695,2278,2959,2753,2600,1819,1760,1946,1945,2542,2279,1940,2476,3475,4039,3337,3088,2984,2407,2319,2396,2268,2361,2276,2156,2300,2716,2842,2371,2547,2564,2503,3163,3631,2727,2929,2900,3000,3768,3929,4056,4328,4515,4660,4633,4776,4882,3519,3516,4164,4388,3927,2809,2453,2655,2950,3939,3374,3025,2352,2324,2316,2986,3056,2633,2314,2008,2054,2544,2411,2412,2757,2610,2521,2510,2092,2388,2338,1965,1976,2242,2163,2257,2291,2172,1951,2317,2841,2561,2501,2359,2713,3563,3196,2475,2459,2305,2038,1987,1925,1775,1747,1601,843,456,713,1124,1384,1402,1732,2098,1665,1542,1962,2483,1698,1826,1473,2094,2685,2349,2583,2589,2060,2331,2627,2652,2869,1892,1721,1969,1615,1570,1826,2007,1715,1666,2010,2050,1974,1882,1637,2133,2272,2505,2768,2487,2430,2219,2047,1907,1912,2087,1526,1143,2278,2287,1708,1438,1388,1242,1456,1810,1699,1872,2245,2348,2348,2185,1609,1411,1473,1542,1671,1722,1788,1683,1636,1732,1737,1832,1575,1851,1695,1760,1591,1490,1741,1816,2038,2279,1975,1763,1767,1649,1699,1908,1641,1941,2779,2863,2698,2166,2438,2752,2320,2321,2252,1704,2792,3064,3123,3165,3193,2192,1651,1997,2255,2449,2260,1685,1764,2128,2010,1435,1411,1980,2405,2282,1864,1411,1919,2810,2469,1986,2018,1635,1771,1971,1725,2128,2444,2564,2502,2576,2669,2521,2440,2081,1732,2089,2369,3381,3664,2590,2023,1863,1646,1412,1343,1377,1678,1893,1663,1586,1593,1768,1560,1483,1381,1367,1461,1393,1511,1459,1347,1374,1471,1353,1296,1453,1590,1528,1615,1685,1682,1986,2317,2466,2585,2689,2980,3494,3697,3946,3585,2973,2656,2330,2401,2466,2450,2405,2269,1803,1357,1421,1452,1367,1384,1622,1715,1503,1686,1909,1723,1643,1604,1452,1500,1502,1383,1497,2085,2057,1531,1831,2334,2120,1935,1909,1890,2038,2767,2814,2096,1638,1873,2219,2249,2149,2182,2292,2499,2546,2193,2004,2154,2214,2445,3071,2883,2378,2249,2354,2072,1963,1988,2047,2407,2692,2680,2523,2308,1659,2155,2456,1548,1599,1946,2208,2492,2415,2095,2383,3089,2867,2299,2086,1744,1717,1815,1952,1515,1476,2405,2776,2017,1629,1786,1748,1607,1167,1555,1937,2597,2711,3395,3178,2099,1628,1765,2273,2715,2482,1951,1676,1735,2309,2468,2482,2651,3074,2889,2276,2094,2029,1653,1840,2260,1985,2356,3350,2921,2585,2171,1828,1855,2166,2685,2482,2296,2485,2671,2761,2518,2573,1866,1403,1728,2030,2757,3133,2371,1947,2367,3189,4064,3143,1824,1427,1540,1833,1715,1687,1699,1600,1604,1927,2324,2361,1908,1699,1715,1958,2473,2539,2329,2104,1760,1906,2177,1943,1686,1620,1607,1735,1721,1746,1809,2195,1979,1726,1599,1694,1733,1588,1775,2165,2348,2293,1942,2081,2612,2060,1570,1971,2328,2475,2228,2017,1916,1720,1810,2050,1923,1725,1555,1606,1686,1578,1404,1657,1879,2156,2448,2476,2415,2367,2080,2258,2144,2058,2082,1896,2137,2424,2220,1908,1769,1609,1587,1544,1801,2103,2284,2217,2294,2122,1764,1781,1818,2150,2472,1781,2121,2693,2245,2147,2813,3208,3414,3341,3388,3091,2374,2205,2055,2096,2430,2586,2509,2546,3252,2855,1935,1830,2426,2669,2853,3145,2284,1444,1805,1968,2584,3311,3499,3719,3654,3955,3663,2397,2662,2666,2326,3362,3345,3086,2447,1730,1914,2104,2292,2611,2531,2611,2489,2661,3460,3494,2761,2902,3066,3017,2857,2830,3077,3220,3082,2923,2928,2887,2789,2896,2785,3006,3099,2530,1750,1528,1680,1839,2131,2100,1958,2372,2374,1913,1486,1172,2221,2501,2224,1842,1990,1979,2054,2199,1876,1657,1505,1337,1416,1700,1900,2472,2077,1880,2142,2273,2089,1920,2007,2240,2236,1821,1825,2494,3453,3329,2587,2790,3420,3299,2509,1725,1618,1458,1749,2024,2640,2488,2272,2496,2303,2047,2475,2732,2689,2676,2083,1956,1893,1824,1911,1946,1504,1344,1686,1815,1630,1467,2067,2420,2012,1887,2328,2800,2181,2408,2281,1973,1755,1653,1804,1715,1560,1683,2039,1848,1835,1706,1954,2107,2114,2075,1896,2253,2136,1608,1489,1560,1652,1591,1553,1520,1397,1854,2231,2239,1940,1890,1719,1789,2251,2409,2070,2244,2442,1831,2082,2185,1772,1728,2529,2952,2745,2852,2943,2663,2381,1604,1067,1343,1947,2565,2988,2382,2048,1768,2194,2183,1686,1640,1870,2274,1759,1594,1751,1675,1748,1753,1754,1819,1865,1771,2166,2186,2182,2842,2863,2092,1990,2039,1574,1613,1888,1990,1848,1622,1722,2165,2178,1898,2075,2004,2458,1937,1982,2735,2740,2318,1828,1654,1677,1837,1958,2009,1654,1095,1482,1804,2046,1777,1624,1771,2208,2341,2320,2179,1924,2093,2265,2265,2184,1775,2204,2431,2208,2264,2505,2481,2163,1820,2027,2268,1698,1559,1655,1681,1959,2127,2176,2186,1833,1648,2102,2733,2802,2579,2329,2204,2197,2604],[2268,1864,1686,1798,1992,2015,1910,1878,1788,1685,1622,2095,1802,1440,2098,2741,2544,1992,1708,2017,2577,2392,1832,2087,3082,3344,3421,3342,3386,3177,3238,3130,3243,3329,2799,2430,2392,2543,2959,3549,4073,4119,3781,4099,4155,3452,2872,2509,2422,2590,2947,3231,3274,3427,3298,3274,3228,3167,3240,3263,2984,2804,2843,3239,4002,4469,4304,4155,4321,3913,3501,3609,3312,2916,2985,2554,2520,3173,2998,2106,1859,2141,2692,3049,3734,3983,3575,2735,3582,4395,3902,3397,3384,3475,3729,3448,3122,3021,3060,3098,2987,3151,2566,2009,1949,2275,2226,1929,2197,2268,2314,2675,2812,3019,2383,1996,2662,3210,2849,2669,2540,2094,2022,2138,2387,2731,3190,2919,1888,2463,3322,2687,2338,2639,2918,3518,3691,3085,2720,3090,2623,2591,2165,1941,2044,1696,2008,2480,2381,2414,2146,2310,2668,2212,2230,2747,2424,2339,2064,1885,1967,2033,2218,2471,2006,1895,2126,2078,1903,2534,2922,2533,2047,2104,2195,2320,2330,2058,1680,2193,2686,2333,1727,2023,2120,1889,1677,1944,2041,2065,1872,1468,1830,1876,2213,2192,2692,2864,2525,2503,2668,3408,4319,4125,3517,3037,2670,2570,2626,2588,2545,2669,2735,2752,2901,2486,2065,1913,2094,2162,1970,1990,2313,2482,1808,1820,2206,2876,3020,3231,3812,4232,4188,4392,3816,3021,3505,3483,3464,2905,2972,3099,3594,4177,4004,3397,3197,3452,3387,3205,2591,2732,2784,2250,1676,1503,1964,2582,2768,2254,1859,1943,2028,1874,2198,3212,3364,2216,1756,1997,1841,1801,2226,2278,2272,1672,1272,2118,1904,1595,1758,2118,2082,1951,2264,2323,1870,1151,912,1323,2127,2675,2200,2520,2706,2397,2166,1933,1590,1471,1828,2288,2347,1905,1726,1848,1773,1951,2220,1985,1887,2424,3096,2734,2098,1909,1857,2188,2396,2270,2248,2059,2090,2296,2482,2344,1742,1519,1479,1363,1496,1810,1812,1642,1543,1735,2029,1812,1693,1414,1543,1704,1947,2357,2498,3047,2802,2324,2599,2792,2276,2075,1980,1734,1779,1890,1814,2247,2613,2337,2351,2667,2858,2665,2744,3124,2757,2618,2777,2699,2050,1870,2064,1965,1913,2441,2308,2479,2994,3728,3146,2797,2548,2178,2030,2110,2025,1506,1678,2086,2318,2005,1819,1686,1416,845,1184,1764,1860,2588,2979,2501,2846,2647,3051,3186,2932,2017,1831,1690,2584,2654,1956,1873,2160,2473,1794,1886,1771,1699,1809,1900,1852,1875,1864,2023,2194,2210,2701,2903,2272,2165,2483,2783,3362,3294,2284,2293,2294,2253,2551,2307,1840,1817,2014,1816,1629,1614,1922,2003,1799,1884,2250,2436,2320,2634,2828,2447,2692,2869,2236,1900,2230,1781,1756,2231,2388,2017,1759,2369,2302,1708,1599,1625,1923,1686,1744,1647,2578,2940,3528,3616,3144,3001,2452,2184,2047,2424,2977,2579,2170,1994,1971,2041,2249,2446,2218,1709,1820,1951,1913,2381,2568,2534,1994,2141,2154,2143,2231,2175,1909,1913,1868,1677,1869,1984,2135,2088,1570,1412,1636,1414,1571,1600,1384,1566,1688,1322,1222,1407,1366,1486,1326,1433,1733,1854,2140,2338,1911,1736,2366,2757,2357,2400,2264,1976,2383,2371,2200,2050,2048,2050,2259,2309,1952,1453,1661,2316,2254,2131,1876,1844,2696,2954,3049,2951,2492,3063,3231,2351,2246,2270,2437,2283,1960,2457,2931,2852,2670,2517,1997,2270,3034,2555,1770,1633,1541,1659,1808,1884,1995,2556,2335,2134,2541,2088,1771,1612,1704,1942,1998,2256,2317,2362,2458,2033,2054,2398,2062,1803,2478,3214,2864,1961,1679,2106,1911,1968,1983,2210,1952,1561,1892,2120,2172,2165,1982,1891,1798,1827,2337,2254,1825,1581,1967,1900,1647,1727,1870,1754,1930,1894,1746,1627,1476,1428,1882,2249,2678,2531,2144,2227,2369,1923,1700,2024,2069,2270,2100,2097,2653,2471,3006,3029,2608,3239,3488,3504,3607,3149,2478,2076,2946,3631,2963,2236,2271,2445,2994,2959,2276,2327,2309,2197,2988,3173,2700,1833,1643,1509,2418,3560,3230,2875,3947,4572,3558,1954,1604,1447,1647,1469,1474,1440,1620,1864,2122,1876,1557,1624,1701,1698,1844,2018,2157,2714,2640,1997,2057,2284,2120,1786,1838,2108,2037,2636,2872,2375,2332,2633,2521,2384,2654,2618,2546,2605,2157,1959,2435,2455,2208,2039,1788,2046,2210,2709,2806,2470,2470,2864,2602,2135,2785,3009,2148,1973,1942,2193,2171,2079,2476,2366,2322,2254,2232,2788,2873,2585,2174,1820,2624,2423,2154,2198,2574,3433,3824,2995,2497,2539,2522,2413,2157,2447,2806,3059,3091,2896,2610,2269,2058,2363,2319,1655,1804,1918,2020,2849,3250,2805,2880,2908,2231,1849,1594,1912,2585,2399,2258,1943,1976,2384,1997,1865,2107,2302,2836,3144,2540,2025,1771,1722,2059,2182,2358,1961,2358,2596,2402,2149,1948,2210,2138,2054,2274,2168,2567,2868,2779,2808,3660,3598,2468,2225,2364,1967,1974,1923,1846,2090,2488,2999,2977,2248,2545,2041,2182,3344,3328,2911,2443,1433,1384,1766,1816,2475,2754,3175,2531,2986,3304,3023,2557,2061,2094,2420,2584,2744,2658,2518,2430,2231,2613,2380,2274,2474,2728,2487,3241,3762,2927,2844,2911,2951,3830,3925,4176,4473,4620,4620,4560,4652,4880,3757,3398,4113,3780,3387,3118,2432,2678,2897,3970,4188,3297,2922,2776,2467,1974,1204,1065,1570,2008,2609,2918,2696,2555,2780,2168,2076,2350,2260,2207,2162,2039,1775,2061,2342,2500,2270,2054,1897,2263,2286,2617,3508,3168,2888,3442,3121,2508,2145,2243,2525,2574,1791,1698,2458,2562,1933,1368,1284,1384,1215,1329,1438,1624,1730,1664,1802,1962,1638,1868,1896,2445,2391,2089,2520,2447,1918,2219,2546,2767,2810,1902,1604,1740,1683,1645,1829,1858,1461,1528,1843,1803,1804,1683,1979,2176,2245,2846,2854,2911,2665,2150,1982,1982,1942,1946,1198,1584,2200,1780,1405,1342,1390,1288,1571,1878,1591,1610,2296,2484,2541,2096,1436,1473,1453,1396,1611,1786,1698,1417,1360,1851,2402,2793,2092,2381,1947,1731,1642,1549,1701,1758,1797,1864,1946,1834,2023,2018,1995,2058,1846,1982,2182,2967,3249,2402,2447,2854,2728,3095,2727,1792,2757,3215,2960,2945,2903,2029,2060,2540,2068,2108,1856,1832,1921,1934,1936,1386,1523,2080,2482,2335,1697,1393,2024,2478,2161,1797,1980,1979,1669,1510,1494,1858,2684,3322,3231,3007,2647,2552,2668,1412,1321,2142,2768,3210,3152,2104,1668,1833,1642,1427,1603,1650,1528,1534,1605,1527,1576,1509,1535,1489,1465,1672,1637,1437,1323,1382,1416,1384,1456,1366,1433,1550,1567,1517,1521,1623,1621,1816,2042,1964,2100,2358,2636,2846,3364,3530,3537,3563,3287,2854,2835,2850,2636,2412,2334,1960,1412,1841,1581,1334,1313,1441,1469,1483,1824,1983,1699,1717,1926,1516,1346,1418,1443,1516,1970,1850,1778,1855,1891,2054,2057,2082,2105,1984,2668,2626,2229,1808,1786,1992,1882,1588,1718,1976,2115,2173,2093,2101,2200,2043,2059,3410,3062,2749,2551,2648,2234,1688,1926,2254,2264,2438,2477,2425,2389,2304,2229,2161,1659,1556,1973,2626,2688,2142,2025,2019,2211,2564,2342,2015,1699,1630,1885,1918,2051,2416,2807,2598,1707,1524,1729,1640,1484,1094,1776,2096,2270,2714,3427,2940,2107,2004,2094,2342,2818,2735,1960,1508,1923,2402,2568,2357,2269,2624,2553,1991,1907,2216,1837,1860,2150,2263,2157,2218,2021,1859,1673,1690,1791,2155,2524,2316,2722,2906,2642,2232,2164,2480,2230,1854,1855,2155,2755,3087,2520,1972,2484,2892,3630,3084,1950,1378,1383,1861,1848,1659,1638,1606,1616,1965,2377,2533,2045,1829,1794,2032,2400,2557,2476,2099,1715,2344,2654,2518,2697,2032,1697,1599,1636,1627,1875,1976,1979,1902,1677,1871,1761,1759,2031,2339,2432,1802,1667,2424,2997,2713,2175,2185,2303,2500,2630,2590,2182,1812,1830,1786,1808,1598,1741,2003,2130,1688,1488,1667,1722,1676,1847,2351,2253,1615,1580,1882,2093,2261,2248,2206,2213,2204,2194,2178,2136,1710,1790,1815,1986,2003,2295,2385,2296,2170,1879,2055,1658,1884,1969,1698,2263,2790,1941,2030,2085,2204,3010,3299,3508,2710,1859,2494,2592,2026,2866,3436,2613,2340,2978,2765,2097,2320,2802,2300,2585,2448,1791,1756,1957,1918,2392,3204,3295,3481,3720,3625,3130,2324,2712,2275,2143,2115,2783,3304,3163,2556,2471,2806,2462,2626,2964,2836,2265,2536,3247,3309,2929,2942,2897,2778,2974,3052,2985,3099,3229,3132,2950,2722,2654,2283,2313,2750,3065,2612,1813,1816,2162,1867,1915,1934,1764,2024,2191,1856,1584,1542,2503,3068,2305,1530,1451,1438,1774,1932,1569,1487,1559,1346,1615,2055,1890,2076,2417,2257,1995,1856,1832,2010,1903,1827,1753,2288,2190,2249,3116,3543,2851,2796,3509,3045,2089,1677,1823,1780,2564,2788,2910,2691,2717,2430,2122,2522,2974,2934,2329,1991,1887,2100,1861,1508,2128,2160,1657,1670,1774,1853,1525,1598,2654,2776,2300,2354,2525,3050,2835,2412,1863,1993,1900,1591,1626,1805,1941,1836,2081,1797,1958,1680,1671,2002,2091,1980,1885,2189,2118,1831,1627,1604,1439,1464,1504,1301,1445,2032,2615,2678,2031,1746,1871,1783,2448,2709,2153,2040,2073,1826,1941,2225,2174,1947,2557,2781,1926,1914,2215,2045,2262,1894,1876,3000,3190,3439,3429,2550,1930,1842,2067,1827,1638,1738,2187,2364,1765,1807,1869,1656,1534,1732,1910,2007,1995,1974,2690,2752,2956,2596,2584,2008,2048,2013,1953,1989,2182,2154,1720,1396,1570,2350,2198,1753,1918,2003,2208,2058,2115,2156,2200,2070,1860,1982,1792,1838,1979,2074,1700,1416,1710,1898,2006,1892,1665,1897,2027,1726,1774,1764,1688,1670,1675,1912,2027,2122,2494,2775,2417,1886,1896,1767,1727,1596,1624,1616,1599,1654,1700,1678,1746,1588,1695,1831,1573,1500,1682,2104,2630,2862,2624,2047,2369,3041],[2457,2243,1927,1842,1697,1972,2111,2018,1670,1332,1288,1604,1624,1500,2411,3371,2928,2023,1678,1999,2655,2309,2021,2618,3293,3392,3715,3577,3443,2652,2819,3344,3203,3208,3169,2501,2504,2702,2756,2924,3764,4132,4238,4497,4456,3884,2904,2419,2316,2787,3298,3359,2861,3188,3361,3364,3355,3389,3322,3078,3032,3203,3156,3436,3539,3896,3849,3750,3585,3164,3100,3748,3387,2630,2722,2799,3122,3563,3123,1902,1794,2016,2131,1875,2728,3529,3583,3213,3997,4099,3118,2754,3375,3442,3885,3761,3529,3333,3397,3597,3645,2996,2288,2576,3227,3243,3230,2850,2454,2653,2315,2391,2679,2660,2340,2260,2951,3161,2770,3226,2988,2221,2241,2632,2287,1909,2007,2183,1982,1966,2327,2875,3522,3386,3439,3388,3147,3240,2994,2745,2242,2334,2304,2391,2529,2133,2244,2404,2496,2418,2771,2688,2365,2019,2323,2537,2499,2442,1922,1629,1880,1906,1733,1899,1635,2018,2132,2274,2656,2625,2663,2703,2799,2796,2584,2567,2411,1819,1406,2026,2530,2520,2351,2311,2353,2059,1944,1863,1874,1864,2104,1966,2183,2165,2095,2168,2831,2812,2756,3038,2703,2894,3914,3881,3267,3150,2841,2176,2066,2357,3117,2952,2625,2596,2788,2702,2165,2077,2303,2070,1904,1951,2152,2545,2497,2621,2413,2511,2773,2496,3023,3814,3798,4093,3471,3073,3948,3179,3084,3131,3370,3583,3894,4131,3849,3343,3172,3460,3397,3710,3460,3007,2677,2250,2084,1998,2178,2502,2448,2004,1788,1453,1887,1602,1958,3321,2887,2004,1989,2029,2005,2425,2440,2257,2686,2148,1109,1326,1711,1882,1965,1857,1679,1995,2556,2555,1974,1646,1404,2078,2965,2981,2585,2127,2437,2473,2121,2048,1888,1787,1958,2135,1928,1950,1781,1769,2126,2459,2366,2402,2657,2688,2733,2385,2067,2123,2238,2387,2532,2337,2109,1824,2041,1916,1996,1958,1545,1507,1496,1254,1268,1457,1518,1485,1538,1963,2723,2230,1481,1402,1968,1987,1920,2423,2159,2137,2204,2347,3140,2733,2055,1902,1924,1820,1883,2085,1881,1607,1721,1719,1918,1973,1982,2150,3000,3187,2719,2476,2588,2344,1828,2000,2264,1853,2072,1989,1826,2352,2546,3205,3582,3153,2733,2652,2758,2999,2781,2032,2303,3136,3027,2362,2332,2038,1472,1071,1555,2040,1777,2160,2538,2380,2868,2161,2440,3087,2534,2059,2125,1758,1995,2313,2255,2149,2313,2574,2140,2777,2526,2214,2215,2092,2005,1858,1716,2218,2424,2740,2978,2404,1951,2325,2393,2375,2863,2894,2116,2070,2111,2620,2762,1951,1829,2212,2187,2005,2147,2163,2292,2507,2093,2203,2927,2885,2359,2184,2114,2701,3397,2607,2025,1754,1970,1745,1918,2081,1969,1780,1605,1566,1618,1607,1532,1486,2092,1990,1855,1886,2885,3384,3403,2914,2556,2630,2731,2692,2337,2579,2607,2713,2646,2616,2597,2443,2219,2167,2121,2154,2384,2275,2079,2128,2366,2187,2260,2716,2273,2041,2221,1996,1746,1931,1933,1792,2265,2398,2268,1813,1458,1354,1450,1584,1885,1775,1312,1444,1523,1142,1039,1350,1537,1760,1389,1312,1570,2308,2637,2208,1819,1930,2654,3310,2587,2619,2547,2109,2134,2226,2214,1678,1760,1929,2023,2364,2028,1748,2043,2459,2346,1570,1341,1527,2143,2507,2740,2422,2442,3083,2828,2156,2015,1995,2459,2396,1919,2490,2666,2117,1958,2084,1486,1699,2620,2518,1795,1737,1953,2283,2779,2508,2662,2591,2187,2692,2139,1901,2459,2008,1865,1712,2170,3311,3514,3404,2630,2041,1816,1644,1772,1873,2067,2021,1875,1593,1748,2129,1969,1964,1676,1706,1750,1640,2006,2049,1689,1830,2036,1973,2120,2280,2602,2163,1638,1774,1982,1699,1615,2170,2648,2387,2493,2421,2156,1824,1645,1565,2035,1990,2033,1971,1483,1389,1541,1353,1737,2311,2355,2374,2006,2297,2459,2534,2827,2402,2275,2387,2257,3151,3430,3310,2279,2440,3492,3086,2735,2525,2374,2127,2154,2242,2141,2353,2129,2201,3100,3174,2557,1715,1602,1595,2161,3577,3973,2990,3274,4069,3740,2050,1532,1398,1673,1648,1604,1659,2059,2099,1738,1456,1772,2172,2363,1898,2121,2503,2256,2410,2395,1980,1984,2402,2603,2132,1894,1986,2216,2150,2283,2074,2271,2854,2867,2846,2825,2756,2880,2867,2498,2345,2276,2106,2111,1725,1248,1508,1617,1828,1997,2206,2876,3230,2741,2394,3315,2547,2255,2003,2050,2177,2042,2035,2405,2685,2491,2399,2415,3521,3598,2646,2235,2414,2680,2511,2261,2000,2657,3660,3248,2270,2775,2695,2164,2782,2985,2927,2956,3028,2864,2957,2843,2225,1789,1853,2387,2282,2318,2177,2153,2399,2665,2507,2432,2531,2386,1877,1511,1708,2539,2294,2043,1838,1917,2282,1893,1926,2687,2787,2541,2767,2711,2353,2435,2415,2503,2518,2264,1577,2039,2159,2111,2626,2709,2342,2085,2218,2785,2898,2076,2522,3373,2970,3618,3878,2497,2503,2755,2146,2245,2109,2369,2196,2563,2618,2136,1855,2147,2347,2531,2932,2898,2576,2092,1364,1626,2500,2245,2431,2686,3299,2769,2784,2412,1862,2103,2561,2776,2654,2191,2497,2415,2560,3109,2756,2222,2095,2598,2409,2475,2263,2811,3757,3031,2875,3003,2742,3716,4174,4311,4496,4540,4532,4625,4631,4791,4107,3318,4000,3071,2949,2946,2464,2618,2843,3654,3820,3211,2576,2055,1885,1603,1062,1379,1748,1774,2374,2071,2492,2556,2351,2083,1963,2186,2518,2388,2525,2341,1555,1780,1659,1948,2337,2687,2931,2446,2321,2755,3044,3187,2790,2645,2459,2534,2837,2976,2544,2067,1643,1971,2353,2426,2786,2653,1726,1545,1428,1174,1471,1515,1832,1504,1589,2030,1832,1482,1839,2451,2030,2112,2409,2037,1875,1923,2254,2421,2126,1724,1718,1732,1813,2023,2069,2005,1659,1708,1723,1760,1492,1465,1646,1973,2658,2928,2818,2830,2309,2067,1929,2338,2357,1451,1553,2157,2158,1802,1641,1424,1300,1383,1453,1737,1510,1657,2207,2458,2620,2182,1690,1846,2011,2084,2082,2020,1836,1666,1476,1878,1962,2120,2037,2032,1878,1853,1606,1469,1520,1595,1830,2088,2199,2259,2157,2003,2079,1999,2209,2604,2515,2660,2528,2341,2653,2646,2580,2909,3009,2534,2576,3220,3599,3178,2607,2037,2201,2623,1997,2053,2024,2230,2025,1935,2114,1955,2005,2321,2431,2185,1820,1871,2260,2115,1976,1803,2368,2195,1654,1565,1559,2085,3186,3422,2872,2849,2630,3339,3788,2648,2193,2495,2539,3022,2810,1849,1812,1917,1693,1488,1607,1500,1370,1386,1554,1654,1682,1569,1475,1268,1412,1765,1599,1388,1422,1456,1374,1377,1462,1468,1409,1415,1459,1479,1466,1399,1486,1680,1588,1402,1643,1798,2099,2182,2799,2939,3129,3339,3466,3576,3425,3289,3000,2279,2333,2120,2082,2476,1626,1264,1307,1523,1622,1496,1649,1609,1563,1695,1928,1534,1431,1783,1659,1652,1695,1849,1975,1982,2177,2183,2139,2029,2084,1882,2219,2435,2684,2192,1670,1644,1686,1925,2048,1918,1757,1704,1919,2100,1981,2077,2271,2832,2770,2817,2701,2577,2270,1943,2125,2380,2405,2265,2147,2206,2217,2417,2525,2470,2365,2711,2754,2336,2410,2164,2329,2411,2366,2342,2286,2130,1749,1821,1916,1754,1766,1867,1823,1626,1433,1494,1578,1591,1651,1560,1854,2062,2140,2425,2570,2541,2644,2708,2374,2558,2430,2612,2413,2322,2181,1785,2128,2474,2384,2523,2191,1914,1897,2122,1913,1960,1925,1870,1700,1588,1685,1747,1843,1761,1827,2398,2575,2258,2741,2877,2511,2289,2102,2302,1888,1173,1369,2062,2702,2699,2433,1759,2346,2320,2852,2832,2182,1494,1377,1764,1927,1649,1519,1433,1352,1848,2603,2714,2222,1945,1750,1925,2468,2679,2547,2017,1727,2518,2720,2828,3197,2436,1956,2073,1924,1765,1991,1868,1725,1739,2183,2257,1877,1616,1739,2078,2408,1881,1780,2574,3321,2830,2081,2410,2483,2686,2940,2980,2328,1677,1775,2218,1859,1680,1905,2010,2096,1767,1730,1748,1689,1614,1651,2159,2097,1652,2037,2052,1702,1860,1807,1952,2260,2153,1996,2297,2106,1633,1788,2238,2194,1741,1857,2098,2243,2076,1949,1865,1587,1730,2033,1988,2072,2209,2121,2222,2162,2416,3279,3228,2729,1358,1540,2759,2877,2307,2866,3082,2446,2520,3382,3167,2488,2557,2669,2103,2304,1969,1661,2002,2612,2315,2403,3079,2832,2900,3269,2887,1897,2121,2469,2075,2008,2479,2972,2975,2697,2139,2807,3421,2752,2779,2870,2965,3182,3133,3321,3423,2942,2740,2856,2756,2868,2733,3020,3309,3146,2579,2495,2647,2580,2324,2134,2053,2023,1805,2116,2090,2536,1997,1683,1553,1692,1892,2066,1775,1765,2026,2249,2462,2111,1512,1293,1427,1736,1947,1723,1684,1662,1440,1733,2152,1821,1787,2020,1932,1586,1505,1762,1791,1632,1566,1539,1914,1882,1924,2187,2458,2624,2944,2776,2120,1738,1875,1926,2370,2880,2644,2849,3225,2922,2381,2485,2796,3017,2590,1824,1824,2001,2281,1844,1343,2337,2702,2409,2316,1813,2004,2125,1902,2396,2637,3052,2887,2531,2653,2640,2033,1587,1665,1820,1809,1626,1785,1988,2077,1815,1894,2401,1988,1700,1940,2099,2144,2235,2088,1687,1695,1569,1603,1547,1398,1269,1668,2266,2237,2275,2527,2149,1742,1591,1520,2176,2198,2003,1864,1991,2057,1923,2363,2636,2061,2041,1991,1717,1675,1710,1675,1971,1714,2083,3156,3621,3484,2656,1907,1721,1672,1889,1658,1602,1631,1629,1777,1716,1705,2077,1974,1660,1805,1847,1971,2055,2049,2693,2755,2560,2162,1951,1970,2048,2069,2302,2445,2128,1779,1611,1587,1665,2279,2035,1791,1910,2070,2109,2142,2057,1917,1776,1719,2501,2745,2016,1904,2214,2297,2293,2172,2087,2121,2071,1932,1931,2247,2114,1637,1678,1713,1635,1637,1915,2029,1988,2227,2322,2517,2251,1850,1737,1643,1792,1887,1864,1892,1954,1930,1672,1637,1773,1720,1794,1768,1531,1525,1704,2015,2600,3132,3218,2836,3082,3530],[2528,2039,2132,2299,1716,1832,1825,1925,1896,1655,1916,2071,1874,1736,2321,3009,2534,1703,1646,2460,2934,2068,1843,3183,3752,3487,3547,3538,3369,3216,3487,3993,3429,3156,3086,2752,2703,2692,2667,2877,3638,4256,4257,4169,4353,3764,2497,2300,2451,2762,3226,3457,2855,2941,3262,3255,3201,3299,3238,2977,3034,2686,1798,2244,2404,3169,3450,3207,2801,2218,2523,3194,2829,2224,2597,2606,2842,3017,2754,2343,2026,2066,1880,1917,3165,3961,2994,2212,3311,3681,3168,3248,3342,2887,3216,3431,3222,3089,3203,3366,3099,2756,3176,3775,4309,3893,3748,3117,2612,2610,2401,2607,2954,2791,2334,1825,2216,2427,2354,2614,2614,2289,2428,3129,2588,2090,2490,2687,2348,2154,2343,2866,3196,3048,3241,2862,2844,3155,2394,1483,1340,1933,2397,2739,2976,2619,2575,2257,2238,1950,2126,2716,2592,2333,2523,2166,2217,2198,1719,2023,2714,2398,1874,1733,1811,1958,2173,2483,2386,2097,2133,2303,2756,3215,2955,2781,2068,1694,1660,1832,1959,2510,2490,2460,2336,1821,1939,1815,2020,2156,2394,2130,1975,1897,1656,1928,2372,2491,2446,2423,2233,2065,2640,3019,2734,2755,2526,1901,2204,2617,2877,2834,2675,2495,2646,2509,2218,2647,2946,2095,2172,2549,2732,2771,2698,2727,2349,2455,2351,1887,2348,2781,2916,3760,3571,2985,3783,3996,3850,3735,3675,3626,3683,3515,3550,3233,3166,3222,3364,3739,3760,3387,2698,2041,1839,2226,2693,2552,2288,1765,1736,1741,2039,1792,2238,2951,2485,2125,2393,2602,2917,3309,2852,2497,2362,2148,1407,1021,1345,2280,2586,2138,1918,2339,2713,2553,2661,2662,2280,2825,3293,2864,2301,2091,2409,2220,2044,2193,2276,2354,2215,2290,1948,2204,1882,2021,2546,2569,2398,2706,2943,2663,1929,1697,1932,2251,2272,2073,2131,2141,2094,2097,2142,1960,1947,1785,1460,1488,1493,1401,1674,1588,1556,1609,1583,2208,2619,1984,1488,1890,2238,2198,2315,2552,2039,1869,1866,1792,2052,1772,1494,1697,1906,1772,1876,2375,1980,1741,1893,1864,1853,2025,2180,2287,2825,2908,2687,2272,2247,2421,2266,2129,2135,1823,2018,1707,1885,2108,1768,2191,2763,2404,2237,2158,2314,2617,2584,2348,2543,2754,2352,1970,1890,1766,1804,1781,2193,2220,1980,1681,1924,2177,1962,1634,1995,2565,2348,2061,2039,1904,2141,2573,2211,2397,2664,2883,2758,3007,3152,2996,2874,2326,2028,1986,2267,2812,2754,3086,2801,2014,2692,3313,3242,2818,2526,2419,2459,2433,2177,2316,2430,2020,2096,2370,2081,1885,2254,2059,2046,2495,2858,3472,3666,3372,3012,2612,2116,2677,3476,2397,1880,2091,2248,2007,1714,1703,1626,1505,1739,1794,1708,1765,1810,2031,2189,2137,1969,2061,2318,2333,2579,2446,3076,3465,3326,2773,2491,2830,2576,2349,2642,2575,2945,3032,1951,2027,2308,2237,2186,2089,1768,1843,2633,2636,2825,2985,2237,1725,1756,1855,1798,1877,1902,1782,2162,2384,2644,1947,1351,1271,1532,1887,1958,2009,1547,1399,1544,1267,1163,1377,1597,1654,1367,1338,1507,1931,2198,2032,1729,2202,2835,3185,2298,2443,2684,2547,2770,3311,2864,1787,1632,2036,2070,2216,1874,1863,2216,2120,1918,1696,1837,2086,2513,2690,2273,2175,2584,2414,2013,2008,1758,1946,2540,2408,2149,2170,1923,1512,1740,2021,1459,1419,1572,1876,1716,1674,1738,1737,2785,2978,2677,2224,2370,2641,1886,1660,2260,2121,2422,2404,2879,3178,3122,2953,2459,2131,1842,1656,1722,1790,1887,1609,1452,1391,1731,2343,2215,2058,1986,1848,1826,1892,1904,1609,1076,1762,1860,2006,2082,2113,2160,1827,1576,1879,1900,1659,2154,2825,2584,2223,2387,2490,2202,1812,1524,1494,1655,1759,2047,2047,1508,1534,1728,1558,2126,2258,2096,2041,2293,2514,2566,2947,2846,2647,2567,2265,2508,3276,3230,2558,2122,3417,4108,3617,3394,3219,2453,2021,2330,2537,2220,2583,3414,3226,2739,2320,2624,3056,2357,1743,1765,2788,4244,3556,2799,3632,3815,2330,1510,1562,1635,1651,1757,1828,1838,1549,1571,1818,2413,3095,3004,2341,2483,2817,2589,1968,1709,1813,1882,2226,2564,2221,2042,2275,2188,2076,2298,2503,2482,2320,2590,2867,2987,2708,2835,2812,2546,2722,2687,2395,2072,1269,2131,2690,2037,1993,1921,2871,3613,2909,2604,2272,2968,2196,2222,2157,1750,1788,2049,2080,2334,2818,2439,2262,2200,2626,3088,2966,2966,2938,2748,2956,2480,2051,2946,3063,2308,2120,2896,2854,2619,2807,2857,2668,2753,2931,2696,2652,2447,2217,1816,1780,2100,2292,2780,2542,2624,2491,2485,2470,1998,2254,2477,2017,1621,1719,2424,2360,1931,1796,2076,2307,2460,2767,3248,3336,2597,2214,2071,1932,2167,2341,2372,2632,2617,2249,2338,2277,2452,2966,2832,2306,2250,2584,2383,1911,1356,1594,2434,2685,3538,3438,2022,2269,2476,2599,2657,2558,2840,2485,2514,2422,1857,1997,2465,2458,2364,2737,2805,2561,2426,1824,2204,2426,2010,2530,2888,3226,3329,2804,2083,2187,2700,2780,2887,2842,2472,2640,2314,2642,3009,2587,2154,2092,2497,2288,1770,1899,2597,3818,3052,2956,3227,2585,3234,4196,4488,4492,4391,4444,4633,4675,4740,4416,3175,3970,3193,3338,3022,2643,2329,2387,2663,2350,1494,1079,1260,1526,1250,952,1656,1710,1516,2137,2133,2536,2490,2009,2395,2192,2238,2791,2371,1939,1616,1331,1600,1642,2024,2402,2601,2591,2596,2649,2216,1665,1842,1863,2124,2762,3270,3565,3020,1677,1215,1459,1688,1870,1963,2307,2692,1222,720,1142,1256,1500,1885,2163,1803,2097,2294,1798,1582,1825,2522,2355,2308,2342,1822,1937,1804,1655,1720,1814,1849,1715,1663,1522,1558,1842,2115,1784,1638,1697,1432,1466,1688,1745,2111,2800,2802,2611,2427,1914,2061,2259,2514,1530,1134,1800,2093,1779,1627,1737,1483,1402,1590,1467,1671,1800,2352,2447,2509,2827,2426,2076,2216,2351,2410,2138,2032,2521,2441,2124,2018,1670,1541,1620,1592,1755,1771,1548,1331,1522,1817,2236,2390,2160,2076,1664,1654,2386,2406,2375,2547,2569,2563,2489,2320,2464,2380,2344,2562,2942,2984,2598,2602,2788,2727,2411,1991,2084,2123,1971,2039,2078,2398,2420,2241,2315,2161,1976,2102,1890,1715,1677,1682,1603,1553,1769,1702,1938,1800,1560,1715,2072,2463,2962,3108,2751,2821,3026,3823,4156,3698,3130,2818,2489,2253,1793,1838,2083,1810,1462,1422,1434,1402,1400,1395,1458,1576,1548,1504,1401,1153,1210,1603,1606,1323,1277,1275,1358,1444,1511,1554,1432,1460,1561,1529,1444,1449,1477,1625,1625,1459,1602,1346,1236,1455,2063,2652,2908,2874,3455,3574,3427,3574,3470,2530,2082,1788,1976,1830,1409,1322,1228,1328,1463,1667,1558,1342,1367,1445,1478,1471,1509,1577,1534,1566,1500,1600,1903,2436,2543,2034,1679,1727,2175,2048,2113,2583,2773,2132,1603,1762,2169,2453,2540,2217,1823,1787,2066,1976,2013,2674,2764,2368,1917,2133,2224,2298,2123,2018,2093,2089,2230,1984,1776,1920,1853,2064,2518,2531,2664,2943,2972,2526,2363,2002,1905,2045,2355,2253,2130,2102,2048,1952,1996,1919,1624,1484,1515,1570,1757,1772,1610,1643,1598,1711,2004,1929,1975,2325,2844,3332,3460,3623,3316,2763,2430,2657,2533,2131,1793,1889,2235,2455,2193,2404,1825,1930,1837,1623,1666,1750,1709,1833,1682,1479,1630,1887,1969,1967,2077,2719,2757,2499,2537,2289,2029,1807,1738,1835,1619,1272,1481,1834,2533,2425,2322,1734,2151,2648,3287,3486,2691,1524,1391,1559,2032,1698,1446,1395,1499,2085,2758,2755,2342,1865,1556,1823,2551,2878,2887,2054,1923,2654,2923,3156,3128,2393,2147,2293,1845,1858,1792,1666,1613,2354,2819,2257,2054,1864,1732,1807,2105,2144,2481,3078,3378,2761,2135,2640,2488,2256,2351,2719,2342,1828,1770,1914,1950,2071,1829,1842,1875,1609,1749,1862,2577,2127,1840,2214,2082,1751,1721,1676,1607,1986,2074,1912,1973,2214,1847,1991,2116,1650,1877,2478,2490,2025,1660,1901,2160,2086,1903,1740,1490,1661,2184,2322,2392,2432,2833,2670,2183,1958,2780,2662,2205,1142,1874,2644,2208,1582,1411,1963,2522,2563,3585,3457,2507,2341,2134,2183,2640,2355,1922,1951,2113,2127,2690,3405,3040,2438,2431,2192,1841,2442,2720,2792,2944,3086,2824,2886,2699,2076,3319,3758,2885,3108,3375,3566,3283,2916,3364,3293,2769,2555,2779,2945,2954,2902,3160,3350,3100,2242,2430,2850,2688,2511,2055,2019,2720,2498,3033,2814,2857,2332,1742,1551,1753,1871,1897,1752,1714,2077,2393,2424,1894,1556,1491,1477,1575,1860,2079,1982,1794,1662,1882,2226,1930,1734,1743,1581,1632,1644,1960,1708,1433,1653,1786,1830,1920,1863,1670,1671,2110,3064,2758,2170,2077,1655,1764,2580,2780,2690,3165,3388,2956,2708,2623,1919,2313,2092,1877,2002,2363,2398,2059,2253,2955,2862,2770,2615,2266,2504,2188,1987,2170,2166,2441,2364,2349,2546,2150,1769,1597,1512,1878,2005,1677,1628,1584,1622,1548,1886,2123,1852,1666,1768,1964,2057,1919,1736,1636,1460,1506,1902,2186,1694,1190,1476,1636,1542,1652,1850,1731,1824,1663,1687,1890,1649,1809,1921,1966,2122,2041,2310,2675,2140,2087,2146,2273,1864,1566,1668,1757,1574,1676,2462,3415,3260,2039,1505,1537,1551,1791,1678,1472,1335,1463,1813,1764,1658,1940,1981,1898,1591,1463,1746,1682,1869,2414,2598,2341,2114,1968,1872,1732,1565,1758,2216,2079,1831,1822,1852,1804,2200,1936,1643,1704,1712,1919,2120,1913,1933,1864,1715,2474,2662,2387,2271,2244,2146,2254,2374,2357,2228,2121,2285,2366,2183,2297,1952,1842,1708,1628,1612,1799,1885,2217,2381,2197,2750,2657,2431,2280,2198,2292,2029,1937,1911,2040,2224,1849,1750,1733,1599,1731,1768,1770,1573,1540,1664,2122,3016,3045,2554,2998,3354],[2607,2028,1703,1838,1816,1791,1917,2192,2148,2132,2189,2222,2340,2047,1855,1920,2080,1822,1958,2859,3012,2069,1818,3166,3991,4108,3853,3398,3548,3917,4110,4313,4014,3812,3167,2986,2765,2631,2626,2809,3715,4086,3869,4124,3837,3023,2419,2587,3276,3360,3138,3105,2749,2877,3147,2991,3193,3561,3397,2866,2003,1868,1798,2184,2426,3152,3252,3001,2185,1234,1377,1854,2303,2387,2269,1806,2089,2111,2335,2364,1967,2083,1942,2086,3167,3376,2317,2739,3685,4019,3374,3563,3055,2362,2857,3285,3070,3063,3126,2941,2613,2573,2846,2791,2985,3330,3677,3033,2705,2713,2374,2469,2851,2874,2494,1621,1874,1656,1786,1643,1781,1956,1869,2035,2097,2262,2490,2504,2410,2666,2873,2717,2824,2998,3230,3360,3729,3420,2023,1132,1451,1876,2246,2663,3609,3010,2387,2013,1848,1715,2278,2899,2361,1954,2197,1310,1822,2241,2520,2930,3409,2955,2203,1738,1645,1577,1945,2461,2309,2032,2217,2465,2968,3284,3106,2705,2270,2236,2512,2183,1771,2352,2459,2455,2229,1869,1740,2080,2289,2087,1881,1618,1556,1781,1886,1959,2445,2510,2027,1872,1941,1905,2221,2273,2148,2329,2520,2523,2878,2957,2853,3065,3016,2735,2823,2813,3073,3047,2298,1860,2532,3031,3038,2639,2554,2613,2384,2228,1830,1932,2100,2106,2303,3455,3063,2844,3674,3794,3702,3705,3917,4082,3593,3010,3632,3817,3791,2945,2570,3051,3212,2810,2287,1927,1952,2698,3169,2763,2071,1824,1810,1896,1994,1874,2241,2547,2434,2176,2657,2835,3050,3133,2891,2565,2189,1991,1836,1882,2526,3106,3038,2866,2791,2902,2597,2302,3003,2608,2114,2446,2534,2534,2658,2614,2593,2455,2272,2173,1986,2029,2380,2225,2097,2042,1782,1871,2389,2864,2918,2822,2988,3096,2596,2061,1801,1925,1746,1731,1913,1924,1944,2024,1970,1695,1570,1745,1660,1710,1609,1638,1803,1698,1801,1727,1615,2018,2080,1804,1582,1848,2239,2283,2356,2005,1714,1829,1762,1670,1819,1716,1533,1819,2040,1959,1738,2075,2117,2003,2274,2070,1829,2103,2121,2347,2412,1942,1832,1942,1813,2042,2229,1919,1957,2137,2321,2182,1758,1698,1452,1587,1905,1838,1771,1626,1722,2347,2258,2265,2365,2319,2019,1824,1904,1973,2542,2178,2013,1744,1625,1721,2366,2354,2018,1831,1490,1718,2259,1976,1961,2231,2567,2529,2304,2594,2819,3017,2768,2727,2911,3135,3015,2357,2248,1935,1902,2209,2731,2918,2503,1880,3039,3900,3665,3528,3197,3177,3419,2800,1969,1921,1941,1804,2175,2467,2002,1836,2288,2303,2101,2517,3382,3896,4052,4093,4042,3760,3332,3028,2978,2253,2092,2656,2665,1978,1621,1597,1725,1821,1987,1961,1718,1918,1913,1945,1908,1927,1897,1975,2269,2887,2791,2523,2525,2173,1833,1854,2396,2985,2276,1667,1917,2141,2778,2557,1730,2114,2264,2246,2039,1930,1775,1796,2288,2452,2462,2578,2377,1788,1589,1603,1511,1603,1543,1299,1541,1983,2263,1894,1481,1447,1853,1960,1809,2147,1742,1453,1679,1426,1345,1395,1347,1317,1432,1505,1426,1499,1742,1977,1758,2308,3166,3252,2664,2616,2857,2622,2720,3414,2695,1824,1926,2305,1936,2052,1710,1935,2524,2495,2017,1842,2134,2833,3256,3043,2359,2008,1998,2106,2337,2066,1610,1908,2359,2171,1943,2040,1625,1330,1559,1976,1547,1530,2322,2786,2119,1615,1569,1747,2240,2689,2646,2463,2162,1970,1985,1695,1903,1957,2600,2769,2304,2162,2381,2524,2759,2225,1902,1750,1917,2083,1762,1556,1582,1438,1741,2123,1951,2048,2001,1915,2192,2225,2006,1790,1169,1501,1656,1662,1780,2064,2100,1781,1822,1861,1942,1920,1942,2208,2002,1869,2023,1979,1881,1534,1469,1947,2016,2188,2227,1918,1693,1919,2044,2062,2080,2204,1994,1774,2469,3055,3123,3607,3637,3460,2720,2641,3143,3417,3042,2156,2839,3992,3880,3214,2525,2698,2283,2110,2254,2519,2547,2110,2169,2088,1845,2061,3486,4007,2820,1865,1628,2237,3980,3964,2768,3011,3494,2480,1565,1920,2175,2105,1823,1598,1780,2200,2382,2214,2110,2265,2194,2815,3073,3056,3277,2990,2727,2450,2095,2057,2224,1763,1825,1877,2097,2209,2100,2163,2220,2313,2204,2201,2141,1997,2707,2648,1839,1733,2515,2543,1704,1481,2688,2511,2598,3230,2552,3105,2784,2208,1542,1810,2221,2264,2541,2206,2085,1939,1684,1572,1926,2549,2055,1991,2561,2896,3174,3453,3157,2544,2751,2754,2452,2138,2680,2433,2007,2181,2558,2317,2242,2518,2776,2755,2664,2696,2570,2717,2687,2552,2169,2000,1969,1898,2358,2820,3025,2555,2123,2197,2172,3078,3241,2353,1901,1963,2146,1981,1748,1851,2009,2354,2665,2496,2561,2320,1917,2089,2172,2341,2535,2779,2427,2454,2244,1569,1820,2466,2843,2502,1953,2116,2249,2755,2104,1548,1670,1924,2359,2470,2866,2733,2320,2728,2835,2872,2340,2349,2248,1983,1962,2244,2275,2020,2085,2209,2115,1892,2184,2545,2509,2162,2597,2755,2431,2310,2309,2294,1978,1930,2025,2275,2612,2940,2578,2663,2532,2413,2391,2874,3062,2844,2195,1850,2576,2532,1892,2568,2699,3764,3284,3017,3341,2704,2932,4018,4520,4444,4261,4343,4516,4615,4715,4668,3215,3827,3536,3225,2922,2452,2229,2145,2098,1762,1191,1167,1339,1547,1318,1505,1599,1581,1614,2002,2173,2251,1954,1647,2164,1826,2157,2505,2265,2144,2008,1736,1745,2221,2382,2270,2450,2420,2165,2171,1750,1489,1813,1978,1755,2066,2224,3107,3602,2359,1469,1468,1674,1842,2222,2494,1403,482,389,870,1322,1933,3150,3386,2845,2681,2611,2065,1669,1558,1979,2257,2492,2116,1785,1785,1524,1620,1910,1825,1758,1656,1725,1629,1696,1984,2072,1881,1703,1457,1428,1646,1776,2018,2332,2743,2895,2589,1951,1462,1826,2379,1907,1140,1624,2129,1860,1598,1450,1583,1670,1799,1578,1582,1673,1727,2182,2187,2336,2730,2403,1943,1663,1556,1655,1455,1153,2269,2691,2664,2266,1566,1590,1735,1549,1582,1538,1752,1572,1915,2058,2191,2236,2208,2160,1900,2496,2960,2275,2485,2545,2282,2221,2318,2230,2286,2159,2336,2810,2929,2595,2546,3099,2878,2172,2300,1930,2100,2093,1947,2030,2350,2576,2343,2180,2189,2092,1951,1990,2164,2116,2281,1646,1621,1770,1862,1813,1497,1274,1478,1883,2446,2399,2496,2492,2121,2565,3084,3579,4019,3895,3395,3018,2608,1905,1836,2192,2079,1689,1434,1417,1441,1419,1419,1383,1409,1394,1480,1622,1474,1715,2296,1927,1646,1201,1319,1664,1664,1511,1529,1416,1431,1548,1500,1421,1387,1485,1554,1567,1657,1469,1788,1563,1281,1362,1554,2381,2865,2419,2625,2920,3241,3549,3521,2890,2175,1853,1854,1671,1615,1526,1323,1284,1334,1302,1259,1404,1431,1449,1399,1553,1296,1001,1284,1502,1626,1742,1923,2425,2373,1939,1748,2030,2449,2170,1796,1809,1761,1645,1731,1865,2233,2817,3156,2508,2064,1899,1986,1924,2393,2566,2310,2159,1580,1833,1779,2523,2314,2003,1985,2046,1798,1664,1702,1737,1808,1924,2060,1986,1982,2150,2708,2471,2398,2351,2035,1730,1781,1903,1946,1952,2021,2048,2109,2083,2011,2032,2031,1960,2044,2018,1839,1710,1801,2080,1934,1678,1974,2573,3189,3196,3203,3818,3869,3480,3127,2556,2084,1959,2203,2434,2496,2288,2177,2379,2060,1939,1767,1592,1484,1478,1487,1726,2035,2192,2308,2185,1813,1730,1850,2408,2721,2575,2067,1632,1821,1912,1756,1784,1766,1537,2050,1974,2505,2704,2498,1960,1794,2431,3242,3373,2829,1449,1621,1831,2117,1806,1706,1636,1613,1883,2326,2587,2184,1697,1561,1807,2353,2535,2605,2063,2299,2792,2969,2943,2932,2598,2408,2239,1918,2185,2116,1801,2170,2973,2276,1872,1607,1533,1453,1512,2251,2962,2734,2570,2885,2874,2066,2083,2010,1695,1793,2194,2299,2030,1979,2225,1992,1771,1614,1647,1459,1487,1587,1866,2558,2231,1909,2036,2026,1883,1693,1665,1841,2144,1991,1847,1829,1970,1984,2414,2354,2313,2452,1902,1976,2091,1809,1894,2248,2244,2197,2057,1645,1733,2047,2288,2083,1944,2512,2248,1902,1444,2331,2981,2599,1654,1783,1918,1878,2078,1634,1679,2371,2342,3333,3037,2350,2423,2754,3365,3585,3308,3143,2188,1541,1780,2381,2917,2466,2248,2733,2806,2462,2235,2479,3041,3244,2983,2813,2823,2908,2298,3124,3131,2768,3283,3406,3238,3032,3225,3516,3259,2705,2581,2856,3189,3230,3372,3334,3167,2978,2789,2946,2997,2669,2365,1952,2579,3150,2626,2727,2443,2425,2354,1823,1655,1582,1544,1788,1656,1781,2266,2267,1783,1531,1501,1585,1514,1474,1631,2076,2174,1847,1752,1761,1619,1753,1916,2258,2392,2421,2195,2370,1987,1623,1831,2067,2648,2507,2107,1914,1932,2073,2399,2622,2468,2078,1742,2210,3108,3275,3299,3338,3122,2871,3069,2706,1957,2163,2389,2267,2348,2559,2501,2444,2561,2664,2779,2547,2454,2276,1958,1407,1748,2100,2015,2122,2419,2640,2292,2138,2044,1728,1614,1823,2095,1869,1549,1477,1552,1635,1570,1560,1682,1809,1791,1791,1899,1967,1691,1555,1422,1629,2207,2461,1845,1395,1650,1943,2041,2291,1958,1908,2482,2220,1981,1837,1733,1963,2035,2059,2110,1980,2127,2467,2722,2227,2223,2195,1741,1515,1571,1697,1735,1811,2361,2886,2675,1807,1589,1620,1570,1760,1750,1605,1583,1730,1826,1678,1657,1914,1711,1892,1590,1456,1681,1863,2036,2186,2268,2115,1930,1864,1791,1628,1527,1743,2093,2030,1956,1872,1895,1895,2001,1878,1679,1690,1580,1688,2075,1988,1650,1578,1822,2187,2121,1903,1749,1749,2250,2532,2455,2475,2211,2308,2151,2089,2335,2895,2743,2271,1836,1715,1813,1782,2050,2497,2336,2357,2705,2793,2634,2467,2503,2517,2150,1878,1769,1686,1852,1820,1894,1803,1778,1736,1701,2038,1682,1349,1550,1721,2388,2574,1863,2113,3060],[2764,2566,1955,2045,1869,1837,2151,2241,2161,2171,2177,1930,1878,1896,1805,1712,1888,1732,2008,2701,2626,1917,2003,2973,4030,4588,3914,3779,4103,4176,4228,4625,4596,4201,3584,3206,2883,2923,3044,3251,4029,3916,3912,4149,2912,2521,2614,3243,3625,3307,2966,2425,2113,2465,2631,2185,3001,3431,3466,2546,1377,1286,2018,2608,2823,2913,3007,2867,2121,1157,1400,2013,2338,2667,2698,2321,2148,2032,2384,2480,2243,2492,2416,2276,2569,2469,2439,3860,4124,3108,3068,3605,2998,2415,2923,3341,3355,3399,3662,3240,2565,2329,2037,1674,1709,2597,3614,3144,2742,2564,2086,2322,2576,2446,2004,1736,1711,1618,1475,1212,1365,1505,1684,1776,1610,2125,2510,2614,2369,2802,3083,2629,2675,3079,3233,3377,3820,3380,2322,2385,2426,2202,2276,2292,2612,2251,2162,2075,1794,1960,2103,2030,1960,1828,2364,1895,1870,2221,2902,3332,3184,3002,2776,2463,1995,1710,1867,2049,1856,2031,2588,2735,3131,3096,2946,2741,2825,2991,3059,2669,2374,2085,1716,2154,2410,2339,2106,1897,1902,1827,1584,1553,1853,2198,2218,2548,3392,3001,2260,1806,1968,2236,2248,2079,1952,2423,2852,2972,3228,2767,2611,2955,3012,2920,2889,3389,3485,2708,1932,1968,2487,2843,3121,2852,2610,2178,2113,2303,2257,2600,2384,2255,2461,3205,3022,2817,3219,3581,3839,3702,4109,4197,3488,2805,2944,3625,3609,3006,2911,2847,2186,1826,1754,1793,2536,2665,2570,2197,1638,1606,2060,2283,1864,1975,2201,2392,2430,2145,2248,2507,3110,2928,2539,2539,2136,1923,2068,2336,3254,3586,3006,2426,2676,2830,2565,2760,2977,2567,2200,2407,2174,1907,2323,2385,2566,2770,2555,2143,2106,2202,2583,2698,2333,1856,2078,2424,2380,2381,2294,2664,2857,2321,2771,2390,1766,1583,1772,1975,1702,1521,1672,1746,1792,1849,2018,2249,2008,1841,1813,1954,1759,1604,1973,1844,1883,2008,1860,2030,2311,2173,2428,2675,2618,2303,2085,1945,1910,1940,1809,1654,2099,2255,2126,2169,1819,2303,3060,2540,2456,2590,2272,2214,2315,2138,1922,1802,1909,2192,1842,1680,1833,1745,2319,2643,2666,2476,1798,1926,1842,1453,1677,1872,1735,1672,1706,1711,1682,2084,2455,2403,2352,2481,2254,2262,2701,2307,2458,2129,1606,1737,2141,2303,2531,2070,1822,2282,2499,1765,2077,2710,2853,2369,2149,2174,2603,3084,2974,2823,2702,2865,2841,2596,2262,1637,2025,2798,3172,2731,2017,1930,3023,3544,3325,3584,3265,3133,3129,2394,1775,1559,1578,2089,2962,2947,2708,2857,2676,2258,2287,2457,2847,3140,3465,3569,3466,3792,3242,2275,2208,2236,2022,2384,2305,1885,1529,1960,2369,2093,1931,1808,1719,1815,1757,1794,1778,1592,1957,2676,2919,2698,2540,3036,2852,2461,2276,2157,2512,2834,2104,1688,1852,2201,2512,1883,1506,1673,2185,2126,1849,1885,2052,1975,1778,1763,1756,2192,2285,1996,1552,1817,2354,2425,1886,1300,1705,2367,1998,1753,1682,1811,1821,1701,1826,1937,1660,1454,1490,1395,1435,1525,1432,1359,1456,1501,1510,1558,1842,1880,1865,2423,3450,4002,3518,2830,2736,2382,2814,4164,3086,1803,1833,2136,2190,2157,1794,2375,3531,3450,2466,1644,1859,2639,3020,3129,2475,1790,2065,1942,2115,1981,1870,2144,2416,2302,2001,1983,1652,1423,1367,1709,1527,1591,2548,2604,1870,1534,1692,2031,2138,2436,2294,2098,2086,2070,2112,2291,2138,2158,2500,2253,2194,2179,1986,2325,2753,2114,1868,1775,1927,2030,1958,1903,2164,2309,2420,2270,1844,2224,2938,2248,2122,2436,2902,2745,2024,2098,2095,1616,1787,2499,2655,2075,1296,1577,1762,2098,1964,1607,1957,2448,2559,2354,1968,1428,1644,2213,2532,3077,2154,2279,2478,2110,2160,2213,2030,2010,1832,2100,2314,2330,2366,2875,3350,2869,1615,2094,2459,2414,2148,2247,3702,4217,3738,3106,2468,2835,2480,2415,2872,3174,2476,1578,1866,2398,2112,2131,3067,3427,3334,2201,1730,1697,3090,3616,2676,2503,2955,2590,1878,1976,1924,1512,1427,1780,2262,2084,2008,2251,2153,1857,2353,3640,4057,3834,3826,3891,3761,3220,2360,1781,1736,1814,1771,1754,2352,3022,2987,2240,1746,1544,1922,2009,2112,2230,2505,2302,1698,1346,1517,1551,1119,2031,2579,1294,2541,3122,2398,2139,2428,2022,1559,2203,2318,2407,2701,2530,2386,1765,1735,1798,2289,2842,2240,2175,2775,3492,3983,3796,3286,2437,2532,2381,2736,2510,2836,2698,2868,3094,2994,2477,2185,2273,2555,2705,2364,2288,2504,2393,2331,2447,2523,2413,2305,2107,2205,2323,2504,2440,2025,2219,2924,3218,3013,2817,3088,2700,2181,1735,1562,1837,1736,1905,1857,1575,2112,2330,2310,2168,2586,2676,2834,3018,2455,1923,1788,1603,2048,1981,2358,2424,2532,2298,1873,2433,2520,2124,2228,2495,2540,2247,2234,1919,2437,2673,2598,2319,2354,2316,2256,2423,2290,2438,2615,1891,2330,2876,2662,2620,2700,2669,2642,2634,2371,2448,2380,1878,1902,1818,1675,2260,2578,2485,3583,3794,2420,2790,3688,3609,3219,3044,3139,2625,2256,2419,3154,2880,1943,2785,3018,3802,3438,2892,3331,3181,3096,4148,4465,4323,4164,4285,4388,4514,4631,4677,3377,3609,3815,3118,2886,2395,2359,2436,2076,1896,1542,1252,1194,1362,1504,2270,2274,1642,1577,2302,2830,2448,2025,1671,1902,2156,2302,2537,2806,2480,2379,2467,2517,2938,2743,2200,2167,2012,2010,2454,1794,1770,2406,2157,1296,1084,1051,2070,3414,2712,1748,1435,1843,1748,2132,2285,1017,444,812,1375,1526,2410,3552,3964,3895,3111,2664,2419,1829,1837,2330,2577,2386,1884,1732,1606,1374,1459,1753,1805,1643,1688,1634,1586,1657,2027,2010,1839,2006,1871,1760,1865,1936,2168,2584,2878,3032,2344,1591,1409,2002,2174,1402,1442,2047,1996,1710,1464,1470,1706,1785,1832,1538,1647,1670,1675,2230,2474,2610,2719,2324,1925,1632,1594,1444,1246,1420,2648,3082,2867,2504,1636,1604,1736,1494,1494,1486,1848,1792,1842,1827,1875,2036,2093,2098,2435,2778,2610,2044,2559,2322,2166,2016,2355,2587,2165,1930,2332,2502,2462,2370,2464,2835,2954,2661,2808,2597,2589,2461,2454,2244,1853,1897,2228,2475,2423,2220,2475,2708,2962,2646,2143,1828,2148,2203,2265,1998,1465,1144,1498,1642,2387,2302,2437,2456,2394,2565,2657,3253,3771,3561,3244,2732,2244,1834,1923,2093,1847,1474,1471,1623,1653,1466,1365,1330,1442,1473,1493,1570,1496,2080,2299,1776,1329,1296,2003,2148,1544,1598,1624,1321,1408,1475,1262,1334,1422,1421,1342,1487,1774,1855,1719,1432,1606,1559,1514,1548,1671,2006,2882,3380,3081,3087,3133,3283,3122,2681,2170,1902,1710,1542,1475,1280,1162,1183,1263,1382,1526,1451,1557,1746,1460,1223,1033,1288,1611,1482,1699,1994,1946,1800,1919,1832,1879,2020,1841,2123,2118,1779,2237,2474,2741,3320,2710,2056,2184,1936,2031,2470,2053,1967,2574,2544,1968,1960,1937,2596,2459,2036,2066,2126,1663,1587,1793,2100,2158,1853,1919,1634,1728,1961,2431,2398,2503,2733,2471,2092,2460,2209,2362,1803,1875,1904,1936,1998,1989,2142,1894,1735,1880,2028,2022,1973,2128,2274,2221,2081,2409,3009,3400,3341,3505,3781,3735,3308,2252,1851,2266,2279,2075,1966,2537,2624,2607,2363,2308,2146,1793,1694,1665,1715,2133,2795,3694,3554,3067,2293,1544,1313,1396,1572,2021,2353,1846,1389,1717,1941,1863,1598,1365,1659,2380,2180,2392,2799,2923,2327,1649,2322,2902,2270,1986,1166,1176,1332,1918,1807,1512,1401,1573,1762,1731,1798,1690,1361,1381,1497,1547,1668,1752,1915,2552,2954,2890,2763,2888,2534,2328,2095,2336,2777,2442,2125,2588,2497,1901,1714,1674,1646,1514,1792,2440,3088,2910,1971,2322,2304,1930,2253,2210,1879,1776,1991,1998,1654,1748,1972,1550,1393,1522,1867,1747,1793,1830,1990,1914,1496,1616,1705,1963,2357,2444,2241,2106,2211,1971,1737,1830,1816,1997,2262,2651,2967,2603,2601,2263,1974,1965,2206,2409,2328,2139,1890,1801,1776,2154,2678,1926,2274,2355,2178,1923,1641,2264,2956,2488,1908,2078,1960,2184,2648,2505,1794,1852,2019,2330,2362,2612,2793,3019,3602,4003,3570,3361,2056,1734,1790,2288,2617,2316,2552,3321,3012,2346,1964,2238,2740,2998,2894,2822,2279,1988,2111,2396,2297,2556,3046,3096,2818,2900,3122,3292,3603,3045,2786,3407,3604,3360,3222,3193,3135,2901,2895,2953,2642,2674,2788,2574,2648,2604,2134,2081,1949,2150,2280,1923,1760,1557,1743,1914,1614,1849,2295,2205,1672,1367,1676,1943,1764,1683,1691,2019,2098,1937,1933,1618,1454,1770,1869,1787,1855,1807,1836,2282,2104,1693,1687,1940,2894,2862,2005,1879,2015,1895,1714,2030,2186,1998,1786,2051,3049,3416,2789,2739,3186,2963,3056,2833,2317,2437,2712,2641,2700,2561,2348,2155,2838,3134,2822,2501,2156,2433,2438,1900,1762,2005,1986,1995,2562,2641,2314,2145,1879,1958,1904,1747,1773,1706,1689,1660,1572,1595,1592,1658,2004,2059,1970,1634,1775,2071,2048,1764,1492,1599,1627,1544,1445,2008,2770,3030,2506,2422,1950,1653,1835,2029,1989,2047,2154,2164,2110,2066,1838,1961,2331,2172,2770,2337,1847,1856,1720,1559,1639,1882,1914,1656,1770,1856,1694,1575,1675,1604,1527,1660,1669,1664,1782,1813,1672,1442,1613,1929,1761,1681,1499,1733,1949,2000,1929,1785,1848,1909,2056,1986,1885,1945,1914,1952,2326,2067,1666,1708,1766,1773,1713,1693,1626,1660,1589,1785,2220,2178,1722,1521,1891,2229,2254,2136,1888,1988,2828,2786,2919,2789,2095,2031,2114,2088,2369,2556,2181,1807,1550,1847,2144,2162,2280,2303,2384,2544,2823,2770,2415,2535,2857,2822,2391,1849,1664,1635,1675,1807,1991,1804,1598,1720,1730,1889,1736,1577,1764,1678,1678,1829,1852,1675,2486],[2621,2203,1772,1917,1921,2093,2149,2056,1941,2001,2268,1924,1661,1520,1681,1929,1944,1695,2062,2202,1885,1866,1866,2440,3867,4316,3916,4028,4225,4165,4272,4664,4817,4120,3437,3527,3407,3216,3327,3344,3444,3487,3611,3636,2868,2675,2743,3271,3440,3164,2652,1901,1721,1685,1745,1484,2734,3144,3329,2683,1976,1719,2463,3734,3467,2324,2220,2093,2176,1947,2156,2743,2438,2520,2648,2347,2149,1920,2472,2855,2457,2320,2677,2722,2583,2588,2984,3118,2946,2820,3509,3624,2641,2409,2818,2573,3240,3572,3677,3165,2404,2079,1653,1544,1350,1810,2544,2344,3104,2972,2402,3152,2596,1963,1896,1935,1920,2128,2094,1918,1891,2256,2412,1956,1825,2718,3003,2759,2418,2934,2892,2470,2363,2253,2373,2876,2800,2662,2493,2514,2204,2271,2152,1833,1538,1453,1964,2370,2236,1950,1997,2266,1870,1319,2039,1813,2126,2382,2553,2657,2333,2415,2954,2934,2518,2298,2052,1970,2468,2566,2566,2371,2794,2812,2598,2929,2828,2208,2503,2974,2998,2990,2625,1779,1735,1986,1801,1786,1991,1815,1619,1493,1857,2656,2600,2797,3012,2641,2224,1981,2687,2775,2452,2243,2236,2985,3276,2992,3287,3142,3259,3350,3456,3086,2798,3115,3215,2854,2207,1940,2210,2503,3157,3051,2401,1908,2363,2616,2344,2601,2836,2720,2554,2700,2658,2593,2565,2902,3350,3320,3719,3764,3197,2525,2558,3285,3595,3019,2663,2566,2126,2193,2074,1851,2439,2469,2226,1811,1651,1878,2455,2401,1976,2287,2298,2196,2104,2042,2153,2740,2769,2369,2291,2208,1859,1977,2036,2198,3288,3676,2895,1960,2087,2224,2374,2750,3244,3278,2811,2576,2037,2038,2278,2293,2431,2437,2327,2166,2655,2733,2359,2325,1931,1604,2024,2680,2759,2223,2125,2472,2829,3006,2887,2509,1783,1624,2138,2031,1562,1565,1682,1590,1679,1871,2020,1931,1726,1634,1795,1817,1571,1849,2098,1775,1814,1725,1895,1983,1914,2056,2142,2264,2114,1964,2102,1958,2082,2132,1747,1962,2286,2242,2076,2244,2082,2211,2460,2291,2338,2559,2343,2197,2088,1861,1897,1953,1926,1838,1735,1798,1825,1895,2375,2564,2369,2077,1780,2042,2012,1597,1677,1806,1676,1723,1673,1713,1842,1985,2292,2065,2122,2409,1915,2092,2408,2514,2667,2301,1734,1682,1557,1720,2156,2212,2658,2747,2210,1806,1960,2482,2606,1978,1703,2121,2654,2740,2481,2524,2276,2268,1957,1941,1875,1742,2767,3089,2761,2455,2144,2484,3142,3370,3552,3688,3362,3371,3115,2244,1475,1521,1910,2690,3263,3321,3483,3443,2995,2316,2895,3083,2688,2974,3393,2695,2709,3159,2622,2625,3087,3035,2416,2449,2665,2425,2419,3130,3237,2249,1656,1584,1560,1600,1644,1670,1660,1882,2215,2748,3123,3197,3463,3973,3818,3062,2545,2437,2556,2452,2154,1881,2198,2183,1968,1761,1623,1935,2162,1815,1528,1753,2156,2013,1793,1696,1632,2121,2209,2154,1999,2263,2632,2535,2241,1880,1854,2182,1957,1748,1663,1853,1752,1876,1700,1731,1747,1521,1353,1343,1433,1277,1336,1431,1490,1382,1448,1453,2028,1940,1885,2616,3628,4308,3984,3459,2618,2120,2633,4057,3488,1968,1449,1775,2460,2720,2657,3618,4317,3480,2309,2155,2663,3029,2787,2751,2397,1817,1399,1546,1882,1951,2222,2264,1992,1953,1604,1519,1571,1564,1630,1926,1685,1510,1640,1552,1615,1716,2024,2373,2041,1975,1658,1525,1732,2073,2266,2466,2627,2831,2286,1674,2235,1947,1831,2010,2045,1880,1404,1474,2049,2408,2392,1981,2190,2509,2480,1952,1802,2268,3131,2565,2237,2767,3044,2667,2729,3107,2615,1864,2022,2326,2500,1885,1376,1984,1779,1888,1688,1873,2455,2496,2446,2222,1860,1632,1969,2233,2442,2520,1965,2397,2709,2185,2042,2213,2014,1915,1994,2515,2856,2417,2314,2359,2635,2267,1708,1816,1995,1887,1962,3071,4497,4547,4167,3747,2851,2676,2567,2378,2377,2408,2120,2015,2588,2558,1931,1630,2225,3052,3625,2591,1843,1807,2457,2856,2786,2408,2265,2515,1911,1489,1263,1564,2138,2126,2191,1792,1805,2478,2312,2159,3241,3978,4397,4190,3915,3573,3700,3174,2309,1874,1754,1695,1713,1887,2756,3072,2341,2121,2329,2201,2009,1969,2060,2115,2077,2030,1980,1800,1560,1274,1377,2730,1527,1296,3069,2657,2111,2202,2083,1541,2024,2600,2574,2480,2613,3133,2618,2040,2047,1623,1993,2679,2439,2378,2483,2830,2841,2801,2918,2486,2508,2356,2793,2733,2204,2564,3379,3211,3009,2921,2541,2032,2271,2796,2581,2215,2441,2456,2428,2895,2792,2355,2068,1757,2143,2023,1978,2646,2493,2963,3522,2917,2746,3451,3661,3162,2445,1547,1481,1741,1823,1869,2310,2295,2510,2778,2380,2271,2380,2281,2438,2676,2453,1545,1533,2125,2188,1752,2263,2634,2257,1741,1754,2110,2143,2320,2650,2524,2578,1808,1754,2176,2690,2631,2581,2078,1992,1994,1975,2629,2692,2244,2071,1909,2791,3650,3146,3331,3196,2912,3052,2635,1765,1530,1646,1892,2525,2467,1989,2273,3132,2479,2958,3361,2325,2566,3133,3219,3220,2867,2997,2944,2719,2558,2908,2993,2592,3216,3896,4154,3593,2851,3220,3340,2852,4048,4351,4352,4168,4255,4255,4444,4517,4608,3684,3284,3981,3266,2825,2614,2671,2387,1965,2136,1694,1365,1361,1405,1793,2476,2556,1968,2011,2837,3088,2448,2412,1615,1878,2380,2232,2256,2603,2496,2291,2417,2348,2251,2025,1987,2412,2313,2079,1736,1578,1937,2564,2592,1636,1272,1395,1607,2224,2292,1484,1155,1684,1911,1883,1224,575,665,1341,1559,1982,3183,3371,3928,3583,2268,2068,2719,2492,2543,2964,2713,2034,1674,1525,1416,1560,1461,1434,1847,1714,1805,1662,1725,1928,2064,1992,1994,2364,2042,1957,1858,1959,2547,2879,3487,3210,2052,1420,1622,2286,1922,1506,1846,1930,1377,1455,1447,1520,1577,1651,1575,1538,1823,1700,1465,1784,2333,2611,2732,2247,1864,1627,1753,1565,1272,1353,2185,2644,2142,2007,1844,1689,1583,1482,1594,1510,1608,1773,1794,1787,1843,1913,2146,2276,2832,2477,2045,2104,2424,2339,2585,2695,2392,2006,1971,2367,2659,2397,2250,2476,2554,2643,2872,2834,2747,2767,2752,2841,2903,2670,2733,3045,3393,3511,3317,2868,2559,2374,2431,2438,2174,2048,2000,2136,2411,2138,1621,1323,1500,1359,2031,2424,2459,2584,2533,2424,2627,3060,2971,2482,2316,2388,2558,2111,1955,2065,1709,1525,1579,1863,1974,1435,1399,1448,1419,1462,1564,1551,1534,1545,1393,1429,1363,1628,2292,2009,1446,1526,1297,1290,1419,1300,1258,1321,1377,1337,1237,1525,1767,1677,1484,1551,1788,1793,1599,1609,1471,1789,2646,2369,2578,2876,2634,2691,3163,2692,2047,2083,1708,1536,1416,1310,1153,1404,1519,1515,1516,1425,1484,1383,1277,1538,1324,1564,1691,1511,1738,1880,1751,1604,1709,1609,1687,1895,1869,2003,2271,1749,1881,2172,2419,2234,1635,1633,1784,1673,2462,3032,2091,2443,2887,2828,2537,2409,2525,2657,2359,2041,2241,2472,1759,1494,1877,2360,2335,2149,2213,1880,1813,1982,2160,2482,2921,2758,2468,2317,2654,2894,3183,2503,2470,2303,2157,1889,2043,2332,2134,1844,1817,2100,2287,1946,2072,1963,2221,2259,2575,2743,2811,3061,3352,3488,3254,2519,1536,1802,2400,2470,2225,2189,2637,2392,2252,2277,2175,2212,2083,2001,1892,1999,2488,3407,3949,3407,2520,1858,1614,1731,2023,1925,2389,2382,1936,1534,1549,1599,1706,1339,1337,1554,1606,2147,3096,3375,3318,2830,2455,2288,2144,1575,1352,1057,1157,1579,1964,1904,1657,1460,1466,1706,1672,1574,1627,1445,1469,1490,1544,1629,1642,1980,2465,2801,2702,2817,2938,2442,2352,2469,2652,2922,2605,2289,2137,2107,2110,1958,1920,1792,1770,1657,1843,2150,2283,2381,2618,2263,2182,2165,1771,1861,1388,1431,1682,1564,1789,2568,2187,1509,1996,2337,1801,1632,1808,2086,1901,1647,1945,1890,2116,2350,2519,2437,2355,2477,2375,2010,1742,1667,1926,2165,2924,2930,2754,2558,2492,2456,2286,2070,1854,2091,2066,2243,2565,2374,2347,2439,1955,2421,2780,2576,2308,1986,1892,2208,2119,2002,2301,2735,3188,2776,2248,1760,1930,2040,2187,2818,3318,3384,3558,3447,3882,3890,3462,2600,2751,2964,2790,2718,3096,3470,3439,2554,2365,2664,2784,3052,3043,2756,2696,2163,1925,2472,2579,2779,2853,2986,2797,2627,2832,2890,2949,3378,3078,2688,3377,3621,3100,3022,3169,3152,3032,2955,2757,2502,2452,2631,2664,2486,2601,2358,2130,2191,2589,2456,2115,1772,1680,2117,1910,1705,1808,2095,1942,1660,1586,1781,2100,2025,1860,1625,1945,2090,1765,1788,1729,1576,1470,1540,1549,1670,1595,1886,2526,2646,2210,2072,1912,2109,2229,2049,2247,2200,1793,1780,2151,2379,2329,1719,1952,2828,3216,2445,2743,3111,2986,2924,2769,2635,2433,2466,2292,2176,1670,1581,1792,2688,2845,2833,2449,2127,2376,2386,2097,1879,2220,2677,2664,2251,1953,1888,1791,1793,1909,1876,1582,1571,1966,2031,1771,1501,1541,1907,1794,1867,2078,1982,1553,1789,2067,2082,1945,1723,1798,1730,1717,1689,2077,2304,2466,2031,1769,1698,1481,1824,2412,2297,2590,2535,2272,2050,1876,1559,1736,2466,2383,2080,1700,1471,1863,1778,1892,2286,2246,1839,1521,1694,1674,1721,1591,1506,1486,1471,1496,1735,1869,1846,1671,1571,1582,1839,1896,2006,1796,1700,1829,1762,1936,2140,1965,1782,1758,1972,2031,2170,2210,1969,1768,1942,1959,1993,1879,1659,1693,1543,1593,1581,1540,1466,1909,1938,2094,2121,1805,1883,1931,1947,1843,1883,2583,3312,3201,3173,2735,1942,1864,2486,2523,2114,1841,1582,1628,1349,1818,2402,2475,2547,2565,2299,2424,2856,2886,2732,2642,2375,1984,1992,1818,1941,1863,1653,1614,1688,1556,1497,1710,1704,1712,1654,1766,2044,2070,1846,1760,2125,1691,1775],[2818,1999,1776,1836,2025,2314,2285,2166,1952,1995,1954,1571,1981,2210,2230,2379,2116,1976,2199,1953,1818,2223,2129,2263,3130,3674,3570,3917,4136,4313,4376,4428,4468,4056,3627,3625,3816,3332,3001,2818,2840,3179,3391,3526,3438,2939,2646,2979,3018,2793,2739,2354,2044,2074,2101,1862,2586,3153,3204,2872,2820,2477,2162,2654,2586,1847,1687,1569,2650,3287,3228,3061,2483,2460,2406,2393,2583,2328,2337,2352,2347,2797,3244,3228,2518,2603,2546,1991,2107,2588,2765,3028,2715,2247,2533,2614,3031,3197,3190,2407,1805,1891,1946,1953,1579,1594,1968,2342,3314,2972,2160,2448,2141,1875,1937,1860,2286,3079,3186,2868,2723,2397,1954,1855,2099,2186,2008,2507,3161,3528,3408,2565,1633,1542,1864,2495,2251,2610,2459,2069,1974,2145,1908,1788,2060,2092,2266,2312,2232,1832,2030,2167,1920,1597,1938,2294,2907,2878,2036,1254,1160,1775,2602,2604,2472,2498,2165,2245,2555,2535,2505,2522,2525,2513,2656,2523,2078,1664,2814,3368,2844,3160,3328,2563,2007,1939,1792,2082,2398,2061,1892,2072,2542,2770,2500,2260,2159,2060,1729,1602,1834,2097,2696,2786,2382,2662,3659,3718,3619,3469,3739,4053,3521,2829,3017,3348,3414,3229,2702,2170,2043,2094,2166,1949,1778,1760,2448,2958,2692,2448,2886,2655,2238,2342,2526,2552,2469,2710,2785,2919,3038,2923,2502,2221,2564,3255,3415,2608,2158,2287,2413,2585,2311,2056,2276,2184,1952,1993,2177,1874,1835,2193,2075,2049,2047,1875,2272,2201,2489,2639,2182,2143,2414,2286,2000,1869,1801,2031,2495,2929,2419,2172,2096,1710,1669,1971,2355,2858,3256,2846,2278,2204,2422,2737,2598,2574,2580,2422,2739,2780,2284,2080,1636,1542,1956,2292,2338,2467,2394,2041,2305,2483,2656,2453,1521,1658,2161,1599,1545,1441,1725,1592,1665,1931,1873,1813,1710,1630,1878,2030,2392,2331,1976,2084,1768,1759,2272,2066,1860,1957,1856,1997,1797,1814,1937,1655,1920,2142,1923,2576,2503,2138,2026,2106,1883,2018,2261,2061,1963,1969,2083,2761,2149,1794,1686,1659,1802,1866,1904,1977,1851,1943,1854,1788,1948,1878,1822,1930,1764,1611,1925,2007,1858,1904,1908,2046,2030,2186,2231,2012,1969,2138,2066,2591,3017,2770,2623,2359,1908,1810,1621,1872,2031,2395,2710,2443,1816,1591,1490,1743,2129,1970,2001,2534,2514,2447,2943,2646,1901,1674,1626,1792,1765,2074,2733,2686,2066,2113,2495,3474,2924,2989,3151,3632,3438,3394,3307,2341,1677,1803,2531,3033,2478,2830,3124,3029,2520,2316,3406,3742,2922,3228,3966,3431,3062,3022,2514,2543,2740,2642,2872,2998,3570,3185,3162,3398,3063,2289,1765,1681,1908,1978,1771,1931,2047,2440,2351,2580,2610,2751,3316,3637,3425,2440,2644,3169,2975,2780,3018,2768,2886,2570,2122,2081,2221,2337,2185,1675,1413,1925,1982,2031,1922,1583,1355,1769,2066,2129,2109,2034,1934,1730,1778,1655,1554,1577,1598,1616,1534,1598,1619,1631,1676,1798,1736,1443,1261,1336,1599,1580,1489,1459,1576,1425,1462,1541,2025,1932,1881,2730,3793,4144,4070,3411,2554,2280,2180,2889,2952,2153,2150,2730,3297,3190,3168,3696,3577,2413,1792,2115,2531,3108,2897,2440,2250,1770,1633,1918,2029,2192,2044,1693,1505,1663,1801,1874,1727,1628,1786,1959,1838,1732,1568,1597,1799,1903,2104,2046,1803,2045,1924,1773,1681,1947,2439,2625,3121,2964,2035,1488,2059,1785,1860,1897,1739,1771,1686,1977,2419,2824,2832,1333,1560,1902,1754,1693,1755,1622,1744,1844,2098,2771,2922,2301,2291,2691,2304,2205,2818,2767,2943,2196,1967,1846,1596,1764,2050,2409,1985,1763,1884,1991,2048,2028,1970,2259,2500,2531,2226,2137,2142,2058,2163,2223,2156,2063,2171,2624,2746,1803,1953,2452,2285,2027,1623,1650,2436,1825,2241,3841,4548,4560,4410,4142,3641,2878,2178,1988,2394,3221,3872,3747,3480,2980,2159,1582,1903,2558,3183,2693,1991,1890,2495,3112,2789,1853,1441,1507,1452,1681,1931,2636,3583,2728,1794,1521,1338,2028,2012,2486,3572,3709,3958,3970,3721,3303,3050,2878,2785,2588,2495,1856,1786,2101,3005,2833,1934,2186,2153,1961,2155,2315,1925,1655,1848,1951,2104,2054,1897,1712,2071,2431,1281,2065,2684,2304,2410,2535,2116,2072,2558,2757,2320,2262,2475,3217,3118,2834,2417,1727,2237,2964,2409,1843,1769,2327,2382,2730,3032,2994,2512,2418,2909,2691,2393,3020,3379,2559,2007,1697,1630,1852,1746,2282,2465,2281,2929,2858,2296,2709,2673,2141,1840,1529,1894,1716,1836,2518,2440,3140,3862,3347,3165,3443,3297,3248,2932,2203,1943,1931,2398,2396,3084,2868,2506,2531,2459,2365,2262,2596,2705,2733,2813,2351,2354,2494,2245,2343,2676,2422,2219,2430,2509,2444,2520,2420,2185,2152,2105,1832,2218,2403,2352,2086,1649,1265,1097,1544,1644,1903,2233,2298,1968,2410,3087,3074,2695,2764,2857,2833,2626,2125,2071,2195,2561,2613,2972,2222,1702,2241,3065,2690,2343,1917,1719,2159,1968,2243,2477,2692,2797,2778,2755,2363,2728,3226,2346,2592,3906,4100,3724,2946,2921,3370,2661,3661,4238,4332,4228,4276,4345,4331,4331,4528,4038,2997,4027,3852,3084,2601,2612,2272,1993,2017,1613,1425,1511,1506,1748,2268,2386,2221,1699,1713,1985,1916,1814,1931,2381,2341,2441,2600,2387,2469,2200,2049,1812,2218,2382,2066,2409,2179,1455,1188,1924,2370,2360,2712,2057,1245,1383,1907,2792,2881,1498,1332,2141,2038,1236,590,517,1133,1512,1587,2796,3674,3711,3510,2662,1531,1616,2325,2563,3144,3312,2318,1735,1477,1290,1445,1588,1455,1710,1905,1776,2078,1934,1728,1873,2025,1817,2262,2988,2592,2238,1985,2216,2819,3122,3498,2846,1688,1164,1810,2547,1733,2212,2414,1528,1419,1459,1586,1666,1542,1517,1426,1379,1720,1736,1394,1332,2081,2542,2708,2306,1796,1620,1771,1670,1430,1607,2098,2163,2097,2280,1936,1562,1526,1750,1772,1545,1562,1754,1795,1790,1826,1867,2344,2192,2768,3072,2514,2431,2545,2541,2599,2580,2294,1989,1963,2668,2856,2656,2390,2449,2191,2132,2362,2525,2442,2199,2309,3122,2972,2890,3231,3209,2834,2939,3295,2930,2205,1886,1931,2374,2543,2470,2334,2006,1843,1786,1690,1504,1272,1086,1596,1983,2119,2320,2356,2260,2304,2262,1989,1859,1945,2485,2511,2095,2031,1866,1616,1493,1452,1596,1644,1386,1466,1414,1373,1438,1465,1642,1815,1649,1507,1691,1871,2033,2330,1620,1493,1310,1258,1362,1480,1305,1245,1291,1293,1206,1311,1494,1425,1385,1393,1552,1637,1902,1565,1454,1340,1436,1721,1642,1534,1893,1924,1955,2184,2018,2177,2344,2454,1635,1179,1276,1365,1526,1662,1605,1427,1378,1387,1255,1143,1344,1776,2028,1830,1902,2106,2006,1794,1679,1596,1375,1341,1644,1851,1835,2090,1766,1528,1744,2076,2060,1784,1867,1961,2103,2532,2485,2036,2262,2558,2536,2692,2663,2602,2685,2270,1919,1762,2352,2017,1836,1721,2254,2285,2601,2664,2160,1910,1992,1872,2077,2696,2822,2433,2275,2191,2621,2441,2539,2697,2523,2305,1970,1979,2050,1843,1809,1819,2491,2691,2388,1977,1866,2134,2364,2868,3009,2467,2222,2559,2715,2525,2317,2201,2371,2467,2576,2337,2334,2424,2014,2113,2269,2352,2360,1944,1825,1696,2035,2425,2881,2699,2223,1838,1866,2166,2487,2849,2446,3176,2762,2114,2077,2312,1898,1622,1460,1432,1605,1502,1996,2905,3093,3311,3107,2790,2223,2181,1686,1496,1206,942,1404,1915,1899,1561,1367,1234,1427,1526,1412,1526,1571,1371,1462,2022,2177,2271,2403,1984,1935,1973,2148,2084,2300,2548,2352,2220,2297,2123,1791,1501,1573,1599,1766,1697,1577,1597,1579,1622,1838,1923,2463,2958,2433,2320,1945,1539,1647,1500,1472,1577,1617,2078,2431,2026,1923,2328,2435,1830,1929,2220,2182,2649,2304,1895,1925,2243,2701,2586,2011,1895,2384,3178,2089,1752,1908,2093,2246,2391,2432,2373,2124,2250,2199,1847,1725,1687,2010,2036,2161,2281,2120,2347,2851,2911,3008,2823,2452,2025,1640,1865,2445,2418,2266,2115,2178,2348,2366,1948,1925,2372,2498,2839,3039,3295,3420,3253,2817,3444,3829,3652,3345,3044,3123,2823,2750,3453,3823,2886,1987,1766,2426,2866,3042,3163,2974,2962,2636,2473,2981,2918,2602,2146,2517,2766,3175,3188,2719,2665,3087,2798,2402,2825,2840,2432,2766,3151,3482,3185,2946,2807,2164,1374,1584,2172,2413,2283,2324,2595,2828,2954,2275,1830,1607,1683,1790,1850,1780,1701,1664,1547,1696,1712,1700,1743,1774,1992,1793,2280,2270,1881,1756,1694,1568,1564,1628,1694,1854,2144,2430,2540,2358,2045,2214,1932,1819,1797,1942,2404,2099,1875,2088,2558,2631,2404,2092,2304,2367,2832,3349,3329,2845,2749,2967,2765,2461,2279,2326,1884,1766,1802,1698,1815,2141,2109,2346,2587,2485,2670,2154,2014,2408,2624,2907,2534,1965,1817,2006,2144,1747,1731,1839,1595,2010,2645,2278,1814,1729,1767,2077,1787,1745,2118,1845,1450,1736,1951,2057,2194,1910,1881,1961,1876,1825,1935,2510,2466,1892,2250,2706,2230,1958,2789,2624,2618,2353,1958,1870,1700,1567,1610,2179,2254,1976,1764,1608,1850,1804,2192,2424,2080,1632,1448,1620,1642,1489,1447,1477,1588,1629,1597,1816,1787,1461,1631,1692,1581,1701,2025,2109,1876,1706,1664,1698,1580,1879,2110,2129,1937,2020,2171,2389,2512,2294,1985,2147,2348,2248,1930,1939,2003,1644,1525,1548,1561,1686,1647,1443,2047,2321,1781,1560,1758,1649,2169,2728,3184,3263,2677,2276,2327,2002,1833,2370,2636,1725,1587,1564,1782,1602,1939,2378,3050,3525,2551,1659,1862,2130,2439,2303,2229,2041,1770,1768,1638,2395,2240,1726,1638,1517,1397,1630,1890,1696,1823,1932,2446,2740,2670,2482,2113,1833,1559,1671],[2781,2155,2022,1827,2034,2141,2258,2171,1941,2286,2259,2229,2664,2566,2494,2144,1817,1961,2047,1890,1750,2199,2710,2774,2676,2520,2994,3830,4313,4765,4572,4324,4156,4004,3929,3616,3953,3374,2743,2704,3320,3549,3448,3550,3388,2963,2674,2686,2536,2779,3187,3274,2713,2299,2393,2254,2575,3178,3152,2953,3445,2742,1254,1162,1841,1914,1864,1797,2710,3483,3639,3569,2972,2695,2614,2543,2498,2801,2597,2673,2908,3306,3012,2872,2741,2773,2853,2531,2455,2383,1754,2680,2909,2169,2076,1903,1980,2544,2595,1745,1304,1469,1450,1375,1302,1358,1543,2097,3153,2734,1669,1833,2175,2153,1881,1840,2267,2775,2713,2590,2869,2061,1672,2295,2711,2442,2295,2564,3357,3543,3298,2903,2308,1964,2025,2273,1691,2116,2182,1942,2188,2615,2564,2224,2286,2009,2334,2334,2351,1953,2366,2435,2427,2271,1980,2189,2614,2590,1879,1419,1794,2208,2641,2447,2284,2475,2659,2996,3047,2555,2385,2454,2410,2633,2896,2826,2835,2699,3650,3463,2685,2630,2971,3167,2988,2642,2071,2149,2194,2069,2171,2276,2302,2232,1876,1742,1657,1394,1359,1547,2054,2799,3182,3334,2785,2256,3089,3372,3177,3339,3665,3633,3163,3035,3113,3261,3354,3364,3291,2591,2141,1834,1741,2078,2109,1891,2123,2343,2292,2424,2532,2007,2403,2635,2658,2483,2303,2234,2618,3191,3131,2731,2331,2225,2698,2782,2683,2161,2497,2880,3435,3604,2907,2166,1938,1888,1803,1941,2174,1886,2246,2370,2304,2236,2198,1813,1803,2202,2452,2241,1895,1989,2277,2554,2189,1726,1635,1793,2030,2248,2114,2022,1835,1824,1929,1757,1591,2301,3598,3463,3605,3007,2380,2357,2326,2678,3020,2437,2096,2405,2131,1881,1716,1990,2656,2613,2398,2102,1792,1932,2382,2557,2313,1747,1540,1691,1931,1850,1773,1830,2040,1923,2161,2282,2123,1952,1757,1784,1747,2134,2767,2282,2499,2664,1991,1838,2241,2233,2256,2206,1985,2250,1947,1854,1779,1607,1652,1686,2230,2424,2287,1814,1608,1899,1723,2083,1954,1846,1897,1931,2237,2703,2419,1859,1573,1644,1717,1804,1985,2065,1888,1624,1461,1533,1859,1744,1684,1530,1494,2042,2491,2149,1904,1721,1703,1803,1979,2454,2010,1757,1867,1897,1751,2046,2713,3028,2843,2545,2057,1880,1804,1978,1904,2047,2189,2051,1927,1885,1719,1670,1765,1997,2656,2768,2096,2095,2522,2343,1919,1640,1797,1854,1695,1934,2586,2766,2059,2149,2387,2563,2680,2395,2611,3331,3338,3373,3579,3294,2484,2136,2631,2643,2240,2709,3221,3047,1847,2268,3769,3668,2920,3481,3683,3027,2730,2286,1944,2103,2420,2359,2562,2872,3035,3027,3029,2865,2688,2347,1946,1865,2357,2182,1567,2406,2973,2689,2682,2976,2811,3174,3124,2893,2798,2632,3295,3180,2501,2918,3526,3102,3050,3246,2995,2452,2254,2130,2105,1878,1810,2255,1913,2182,2123,1560,1461,1561,1225,1287,1494,1575,1766,1844,1854,1608,1692,1621,1507,1487,1488,1643,1751,1668,1596,1572,1462,1398,1226,1370,1453,1408,1354,1477,1627,1404,1339,1687,1941,1780,1908,2636,3768,3815,3946,2811,2190,2369,2285,2062,1746,1887,2648,2909,2925,2570,2836,2753,2466,1621,1854,1931,2045,2328,1946,2413,2972,2044,2508,2667,2183,2181,2142,1692,1587,1748,1765,1781,1964,2012,1825,2200,2028,1914,1625,1335,1743,2025,2159,2041,1976,2133,1904,1247,1142,1963,2710,2792,3416,2988,2513,1953,2039,1843,1782,1727,1867,2093,1986,2126,2036,1945,2033,1327,1775,1964,1789,1671,1636,1388,1382,1663,1975,2154,2236,2186,2858,2711,2160,2341,3056,2824,2745,2653,2198,1483,1465,1526,1820,2081,2387,2545,2329,1758,1932,1899,1809,1968,2243,2767,2396,2046,2234,2154,2016,1919,1758,1826,2144,2307,1947,1770,2385,2376,1879,1897,1866,2121,2027,1232,1858,2983,3804,4288,4344,4071,3563,3006,2723,2829,3105,4335,4548,4185,4061,3672,2432,1743,2024,2616,2818,2677,2792,2845,2898,2513,1895,1264,1644,1674,2267,2338,2298,3260,3869,2769,1643,1460,1519,2367,2427,2574,2880,3072,3767,4046,3592,3510,3483,3361,3298,2843,2919,2113,1904,2669,2843,2752,2807,2503,2226,2243,2512,2686,2776,2645,2165,1559,1735,2040,2120,2015,2048,2143,2460,3017,2545,2110,2470,2590,2663,3445,3191,2784,2822,2645,2138,2714,2941,2304,1969,2046,2160,2442,1974,1474,1516,2540,3408,3827,3427,2521,2015,2953,3779,3140,2426,2690,3154,2340,1844,1378,1940,2445,2530,2762,2548,2684,2918,2540,1964,2307,2633,2275,2505,2431,2061,1604,1801,2376,2420,2820,3506,3028,2913,3405,3660,3389,3056,2792,2562,2439,2630,2680,2655,2470,2589,2818,2994,2855,2717,2932,2970,2928,2589,2820,2956,2540,2257,2669,3063,2718,2684,3053,2632,2207,2018,1919,1855,2197,2258,2524,2788,1889,1632,2090,1388,1005,1344,2106,2785,2369,2042,2449,2484,2592,2814,2873,2617,2074,1991,2161,2129,2379,2636,2678,2232,1975,1835,1659,1738,2006,2348,2543,2470,1663,1578,2259,1937,3108,2952,2876,2491,2222,2555,2474,2733,3054,2447,2598,3646,3917,3807,2829,2386,2875,2654,3430,4220,4353,4320,4308,4285,4210,4332,4418,4257,2894,3698,3860,2836,2414,2857,2537,1991,1803,1272,1366,1669,1843,1824,2424,2333,1974,1655,1951,2157,1944,1873,2315,2690,2451,2409,2150,1735,1673,1580,1877,1664,2010,2244,2012,2347,2495,1708,1339,2038,2126,2017,2276,2427,1565,1240,2828,4368,3748,1995,1718,2009,1046,517,417,814,1548,1577,2472,3050,3359,3301,3026,2957,2574,2403,2625,2585,3075,2796,1901,1559,1383,1570,1747,1616,1505,1887,1978,1799,2018,1794,1654,1755,2037,1841,2127,2466,2374,2503,2485,2964,3085,2656,2613,2028,1496,1448,2006,1933,1917,2237,2064,1838,1786,1551,1506,1456,1517,1533,1451,1492,2100,1917,1599,1494,2246,2574,2662,2408,1810,1587,1502,1574,1622,1607,2122,2275,2380,2458,1985,1588,1538,1583,1615,1528,1432,1664,1709,1811,2122,2264,2310,2228,2735,3332,2701,1854,2208,2372,2144,2296,2767,2714,2090,2438,2636,2850,2666,2220,2154,2040,1897,2086,2253,2369,2676,3430,3269,2999,2927,2634,2273,2645,3137,2912,2349,1819,1795,2219,2546,2923,2558,1721,1665,1752,1846,1721,1434,1449,1673,1748,1875,1902,1719,1851,2229,1838,1667,1917,1706,1507,1367,1585,1687,1428,1450,1400,1383,1402,1354,1387,1417,1321,1266,1386,1388,1617,1844,1635,1820,2270,2341,2232,2277,1340,1243,1202,1284,1425,1503,1536,1395,1306,1247,1226,1266,1324,1259,1296,1342,1383,1549,1728,1585,1410,1173,1280,2069,1821,1347,1658,1478,1549,1696,1748,1885,2152,2054,1371,1140,1168,1349,1561,1874,1505,1336,1329,1441,1397,1352,1695,2611,2586,1902,1956,1948,1612,1650,1398,1006,838,994,1538,1876,1936,2241,2033,1660,1791,2003,1979,1951,2050,2023,2019,2147,2203,1907,1389,2124,2544,2122,2163,2250,2391,2188,2365,2231,2304,1969,2084,2070,2327,2360,2473,2257,1893,2059,2090,1926,2399,2538,3042,2552,2213,2182,2210,1962,2217,2586,2365,2420,2114,1797,1793,1670,1768,1708,2437,3387,3382,1887,1338,2078,2526,2874,3350,2573,1879,1977,2051,2084,2227,2407,2364,2535,2700,2486,2488,2480,2273,2190,2314,2465,2708,2295,2020,1992,2095,2069,2212,2226,2086,2141,2279,2646,3031,2965,2792,3089,2836,2287,2191,2260,1989,1838,1811,1777,1854,1713,1937,2323,2380,2936,2797,2409,2517,2401,1914,1805,1351,1034,1520,2161,1866,1765,1600,1373,1435,1553,1510,1405,1448,1277,1523,2445,2764,2569,2448,2266,1821,1587,1533,1543,1577,1567,1543,1627,1653,1621,1699,1446,1423,1519,1934,1784,1728,1602,1482,1730,2004,2111,2578,2737,2000,1897,2021,1919,1609,1326,1278,1593,1697,1958,2071,2234,2157,2030,1999,1851,2418,2436,2310,2981,2570,1969,1938,2253,2631,2298,1877,1695,2435,3292,2407,1887,2286,2590,1986,1922,2263,2099,1942,2122,2686,2763,2474,1953,2035,1956,1965,1626,1549,2217,2808,3064,2903,2329,2604,2024,1922,2369,2903,2632,2110,1914,1529,1412,1847,1937,2117,2237,2626,2758,2836,3276,3436,3496,3465,3573,3648,3831,3343,2657,2781,2125,2474,2956,3326,2684,1991,1553,2195,2754,2995,3019,2927,3018,2715,2353,2463,2144,1901,2001,2430,2661,3210,3229,2836,2846,2942,2373,2150,2876,2429,2333,2580,2677,3286,3130,3000,3001,2238,1474,1566,2273,2177,1878,2067,2664,3124,2884,2185,1775,1744,1918,1973,1926,1770,1771,1708,1689,1501,1320,1487,1581,1832,2053,2011,2099,2037,1860,1771,1701,1735,1718,1668,1737,2004,1844,1756,1888,1894,2103,2122,1643,1677,1776,1826,2114,1887,1965,2377,2607,2808,2355,2153,2395,2165,2728,3858,3705,3356,3044,2994,2727,2741,2322,1955,1698,1873,1871,1697,1734,1635,1815,2501,2586,2545,2859,1907,1728,2599,2637,2299,1991,1902,1978,2420,2445,1784,1875,1710,1582,2098,2615,2392,2127,1932,1657,1566,1485,1855,2317,2077,1691,1929,2221,2121,2175,2114,2069,1875,1890,1708,1860,2411,2254,2152,2688,2922,2193,2127,2459,2416,2102,1692,1779,2023,1698,1355,1634,1759,1517,1762,1816,1954,1658,1566,1672,1571,1462,1478,1475,1591,1622,1551,1513,1443,1468,1624,1852,1719,1621,1769,1979,1812,1497,1627,1869,1726,1853,1600,1655,1599,1454,1323,1675,2103,2513,2736,2697,2745,2655,2280,2217,2455,2633,2152,2231,2194,1953,1887,1790,1828,2215,2443,2112,1798,2249,2311,1837,1641,1757,1694,2319,2656,2752,2615,2068,1806,1845,1732,1618,1989,2101,1465,1558,1585,1636,1554,1848,2097,2507,2878,2471,1881,1483,1760,2353,2286,2204,2245,2030,1675,1455,2354,2929,2437,2011,2015,1535,1806,2062,2038,2061,2179,2146,1738,1951,2253,2179,2111,1897,1924],[2511,2133,2043,2198,2119,2136,2288,2191,2002,2632,2476,2463,2471,2024,1993,1589,1492,1556,1954,2048,1772,2071,2589,2762,2876,3021,3727,4092,4463,4916,4652,4058,3993,4232,4077,3842,4120,3869,3516,3197,3315,3584,3381,3728,4016,3492,2950,2430,2202,2301,2922,3461,2498,2044,2493,2536,2691,2964,3090,3079,2898,2666,1966,1746,2166,1948,1788,1945,2690,3529,3848,3842,3491,3059,2368,2083,2434,2866,2894,2897,2896,2675,2532,2599,2434,2453,2912,2566,2303,2131,1960,3049,3011,2268,2226,2048,1950,2356,2232,2074,1788,1710,1666,1938,1822,1720,1894,2443,3272,2862,2345,2909,2814,2091,1958,1954,1851,2160,2298,2354,2468,2029,1938,2702,2880,2471,2193,2163,3062,3255,2963,3060,2519,1882,1951,2274,2332,2480,2431,2089,2128,2634,2889,2732,2482,2006,2662,3077,2921,2543,2667,2495,2381,2286,2221,2315,2239,2164,2128,2076,2690,3060,2958,2633,2319,2414,2603,2339,2290,1819,1976,2153,2154,2800,3122,2984,3313,3609,3065,2531,2841,2821,2469,2734,3248,3445,2877,3442,3090,2460,2282,2132,1763,1722,1839,2077,1815,1386,1350,1353,2201,3130,3262,3386,3486,2689,2484,2258,2185,2689,2723,2503,2805,3077,3272,2976,3386,3681,3663,3348,2626,2027,2085,2686,2812,2230,2088,2123,2046,2424,2160,1510,1935,2266,2039,1874,1767,2046,2570,3372,3714,3724,2832,2264,2299,1886,2526,2857,2922,3255,3672,4008,3704,2532,2158,2057,1888,2090,1738,1455,2135,2542,2248,2431,2524,1771,1832,2256,2283,2386,2309,2025,1877,2147,1927,1504,1597,1715,1992,2170,2176,2165,2210,2383,2713,2231,1937,2880,4002,4093,4211,3812,2951,2497,2446,2715,2792,2218,2032,2076,1854,2008,2237,2380,2835,3154,2902,2191,2073,2056,2109,2169,2120,1737,1788,1915,2257,2350,2027,1807,1665,1944,2296,2349,1986,1708,1598,1714,1682,2049,2919,3152,2808,2216,1936,1737,1810,2075,2755,2420,2006,2703,2450,1790,1686,1674,1584,1765,2020,2002,1841,1552,1820,1937,1851,2020,1738,1676,1870,1984,1891,1958,2148,1820,1692,1682,1606,1640,1714,1831,1716,1510,1546,1818,1967,1869,1740,1587,1740,2195,2460,1862,1844,1717,1923,1719,2049,2514,2188,2246,2458,2345,2209,2406,2736,2884,2677,2410,1752,1764,1884,1910,1988,2128,2129,2069,2020,1997,2073,1825,1758,1821,2155,2141,1648,1742,2104,2111,1824,1619,1763,1776,1537,1489,2164,2690,2294,2308,2595,3056,3032,2343,2679,3474,3731,3524,4156,4428,4280,3704,3130,2662,2316,2243,2896,2712,2355,3045,3425,3203,3106,3288,2965,2561,2346,2169,2271,2293,2678,2746,2734,3050,2920,2766,2757,2721,2182,2160,2032,2094,2196,1677,1442,2061,2410,2868,3550,3312,3082,3540,2976,2814,2858,2711,2991,2811,2614,2989,3015,2568,2264,2534,2560,2537,2933,2908,2187,1709,1689,1965,2104,1909,1751,1696,1700,1550,1164,1322,1618,1560,1708,1870,1938,1830,1822,1636,1447,1840,2146,1952,1998,1614,1405,1377,1405,1529,1308,1410,1442,1235,1362,1548,1437,1316,1279,1634,1937,1672,1793,2499,3291,3227,3329,2572,2070,2344,2678,2542,2042,1859,2178,2271,1968,2249,2618,2132,1768,1493,1405,1436,1522,1201,965,2156,2700,2209,3626,3522,2293,2343,2562,2019,1845,1990,1718,1547,1748,1846,1939,2330,2011,2190,2320,1730,1664,2129,2477,2270,1948,1960,1624,1181,1642,1958,2439,2525,2710,2562,2492,2553,2512,2306,2081,1831,1863,2130,1932,1636,1366,1311,1508,1303,1794,2231,2120,1814,1650,1505,1467,1664,1929,1282,1140,1246,2077,2478,2256,2039,2221,1822,1410,1804,1770,1417,1438,1389,1825,2508,2930,3349,2840,2170,2204,2048,1710,1385,1892,2972,2380,1832,2083,1925,1951,1869,1714,1943,2128,2168,2235,2545,3018,2588,1982,1689,1659,1901,1526,1430,2164,2630,3358,4165,3996,3167,2541,3075,3926,4100,3992,4524,4355,4168,4016,3167,2321,2043,2046,2369,2431,2862,2809,2170,1824,1573,1354,1611,2667,3274,3120,2184,2019,3107,2997,2213,1736,1734,2150,2565,2692,2857,2878,3112,3636,3782,3626,3549,3758,3727,3452,2975,2310,1735,2079,2899,3012,3043,3029,2916,2846,2486,2589,2530,3483,3552,2002,1302,1372,1597,2076,2212,2120,2153,2308,2037,1863,2084,2294,2240,2707,3043,2896,2508,2820,2466,2023,2243,2054,2128,1794,1678,1819,2388,2489,2081,1937,2964,3901,4407,3999,2524,2460,3763,3646,3152,2054,2990,3652,2813,2947,2368,2576,2800,2900,3272,3365,2879,2536,2236,2618,2419,2303,2291,2555,2402,2280,2190,2088,2402,2410,2385,3067,2458,2526,3397,3506,2550,2487,2358,2418,2775,2781,2511,2067,1884,2243,2246,2428,2654,2796,2603,2490,2408,2361,2495,2248,2401,2474,2558,2878,2755,2927,3123,2395,1752,1996,2576,2674,2553,2279,2553,2840,2185,2142,2620,2168,1643,2309,2728,3659,3110,2536,2854,2946,3146,3190,2750,2446,2339,2189,2220,2020,2156,2350,2161,1764,1583,1714,2205,2402,2287,2502,2699,2872,1859,1664,2245,2375,3271,3012,2745,2675,2699,2981,2608,2313,2615,2420,2639,3112,3498,3924,3085,2254,2345,2330,2937,4078,4240,4241,4058,4140,4232,4368,4028,4084,2901,3094,3462,2855,2530,2707,2360,2001,2154,1594,2144,2048,2221,2061,2102,2260,1846,1832,2392,2646,2710,2391,1953,1977,1841,1882,2002,2027,1925,2082,1873,1615,2019,2486,2346,1956,1904,1757,1857,2110,1997,2124,2273,2330,1500,922,2311,3990,3744,2147,1849,1603,971,768,904,1407,1437,2258,3809,3648,3293,3294,3309,3594,3509,3188,3001,2471,2842,2274,1689,1514,1631,1727,1506,1571,1676,1934,2020,1700,1848,1590,1575,1590,1920,1864,1930,1976,2129,2564,2846,3086,2857,2303,2070,1610,1428,1678,1921,1661,2386,2208,1782,2130,1971,1467,1486,1383,1587,1524,1510,1986,2437,1930,1521,1418,2024,2536,2623,2438,1844,1602,1556,1539,1669,1581,2098,2501,2213,2204,1985,1538,1527,1546,1448,1382,1371,1610,1425,1647,2365,2602,2437,2317,2354,2963,2708,1491,1730,2305,2417,2174,2959,2714,2484,2485,2163,2556,2847,2490,2279,2151,1998,1978,2206,2435,2814,2813,2423,2328,2365,2219,2485,3152,3672,3164,2608,2022,1782,2272,2460,2324,1876,1610,1650,2242,2378,1869,1860,1938,1521,1433,1809,2071,1741,2036,2174,1858,1823,2077,1911,1241,985,1750,1929,1591,1522,1462,1316,1416,1589,1484,1574,1473,1236,1296,1414,1648,1980,1692,1802,1816,1802,1742,1681,1439,1284,1194,1382,1488,1375,1375,1482,1404,1417,1362,1228,1300,1336,1331,1355,1258,1295,1440,1322,1242,1163,1315,1800,1524,1308,1534,1504,1362,1412,1487,1421,1481,1440,1241,1252,1549,1429,1470,1769,1580,1456,1388,1432,1364,1327,1557,1828,1727,1775,1913,1643,1560,1653,1041,779,1282,1945,2212,2197,2007,1836,1932,1836,1889,2214,2276,1946,1714,2009,2144,1898,1876,1846,1695,2028,2476,2166,1872,2126,2260,2293,2088,1750,1513,1581,1919,2069,2185,2170,2274,2292,2392,2549,2315,2447,2732,2652,2732,2429,2231,2092,2159,2098,2110,2446,2154,2133,2084,1819,1705,1730,1748,1753,1946,2433,2522,1733,1621,2390,3024,3065,2963,1968,1910,1956,1634,1761,2056,2059,2172,2475,2358,2359,2462,2416,2552,2519,2397,2450,2762,2553,2201,2210,2253,2201,2359,2236,2181,2171,2189,2062,2106,2189,2418,2601,2448,2289,2037,2038,2030,2148,1973,2029,2278,2165,2182,2439,2480,2570,2446,2524,2454,2091,2088,2142,1782,2008,2139,2225,1659,1643,1528,1421,1654,1996,1798,1436,1547,1631,2213,2908,2739,2155,1822,2072,1844,1583,1591,1549,1504,1450,1520,1654,2010,1958,1784,1452,1388,1773,2058,1916,1816,1518,1355,1997,2185,1877,2200,2156,1745,1636,2118,2324,1883,1359,1363,1555,1802,2106,2128,2098,1656,1869,1655,2001,2524,2062,2020,2358,2242,2199,2406,2504,2247,2072,2208,2006,2718,3008,2580,2038,2252,2339,1814,1741,2152,2250,2170,2608,3476,2895,2251,1913,1943,2020,2020,2090,2339,2398,2485,2756,2382,2521,2824,2640,3084,3283,3206,2619,1891,1957,1858,1918,2156,2183,2310,2170,2404,2531,2662,3429,3500,3394,3608,3825,3979,3861,2854,2924,2964,2217,2238,2764,2413,2385,2441,1845,1900,2476,2932,2942,2952,3186,2879,2568,2471,2246,2311,2564,2922,3078,2937,2858,2767,2567,2332,2314,2643,2974,2664,2531,2470,2441,2671,2820,2942,2996,2799,2547,2481,2416,2280,2102,1852,2471,2928,2866,2245,1747,2099,2125,1685,1691,1659,1570,1228,1470,1591,1744,1679,1510,1444,1676,1952,1835,1799,1988,2468,1749,1683,1482,1564,1723,1772,1454,1471,1643,1844,2397,2402,1554,1412,1629,1854,1983,1708,1793,2049,2293,2592,2141,1673,1956,2018,2322,3333,4058,4332,3626,2780,2234,2202,2002,1865,1801,1759,1544,1576,1643,1560,1790,2465,2502,2404,2413,2108,1931,2138,2000,1719,1571,1604,1868,2050,1780,1902,1947,1809,1745,1897,2017,2142,2249,2066,1886,1670,1533,1802,2103,2003,1792,1954,2085,2136,2120,2336,2312,1868,1619,1433,1610,1779,1710,1914,2220,2163,1907,1782,1656,1864,1964,1888,2113,2722,2846,2159,2620,2475,1733,1559,1741,2088,1770,1599,1713,1731,1548,1442,1430,1500,1576,1613,1638,1649,1566,1631,1698,1625,1715,1880,1815,1621,1589,2002,2102,1960,1996,1732,1582,1527,1704,1617,2022,2314,2417,2491,2637,2779,2430,1807,2326,2785,2635,2031,2084,2005,2055,2114,1991,2223,2238,2009,2114,1934,1858,2160,2155,1958,1940,2121,2798,2954,2460,2358,2136,1898,1882,1791,1676,2107,2049,1716,1880,1920,1876,1814,1684,2122,2448,2599,2263,1943,1622,1710,1900,2042,2050,2219,2199,1804,1599,1836,2205,2154,1980,2448,1930,1844,2098,2169,1791,1592,1682,1844,1885,1974,2204,2066,1877,2267],[2141,2140,2184,2184,2308,2525,2404,1693,1824,2446,2186,2378,1960,1787,1795,1774,1540,1696,1961,2217,2302,2204,2026,2492,3639,3610,3552,4140,4592,4588,4132,3779,3840,4333,3960,3600,3861,3812,3466,2818,3254,3658,3241,2893,2770,3053,2729,2231,2425,2307,2330,2407,2180,2242,2354,2880,2801,3090,3203,3082,2423,2313,2386,2404,2353,2241,2326,2242,2704,2932,2765,2753,2722,2886,2319,2014,2217,2679,2750,2712,2511,2335,2668,2482,1603,1222,2257,2185,2342,2600,2862,3746,3776,3284,3018,2758,3151,3176,2452,2318,2208,2336,2249,2639,2632,2874,3250,3365,3440,2932,2416,3162,3217,2007,1744,2082,2128,2087,2121,2281,2520,2601,2337,2185,2322,2241,2013,2054,2932,3125,2282,2248,2314,2197,2383,2500,2690,3054,2938,2316,2531,2482,2124,2422,2393,2613,2890,3228,3294,3167,2952,2206,2177,2241,2054,1734,1763,1976,2125,2775,3694,3428,2687,2583,2386,2108,2026,1758,2078,2048,2315,2326,1921,2692,3046,2225,2310,3129,2946,2459,3001,3060,2555,2813,3554,3228,2965,3620,2974,2206,2431,2562,2092,1740,1887,2609,2402,1622,1707,1716,2221,3262,3301,3218,3588,3363,2596,1921,2071,2491,2393,2554,2893,3034,3378,3231,3666,4033,3831,3483,2862,2326,2355,2457,3022,2854,2487,2212,1741,1706,2105,1851,1528,1905,2238,2118,2719,3399,2416,2751,3205,3770,3459,2187,1406,1510,2320,2735,2753,3208,3621,3266,3008,2765,2332,2193,2071,2151,2056,1754,1849,2054,1901,1919,2145,2363,2513,2401,2922,3321,2636,2162,1965,2047,2114,2040,1622,1358,1849,2193,2083,2245,2217,1884,2374,2402,2493,2784,3001,3233,3705,3809,3507,3419,3452,3437,3554,2710,2577,2547,1986,2151,2222,2185,2499,2692,2921,2612,2339,1881,1876,1857,1866,1912,1934,2020,2247,2298,2183,1874,1723,2181,2585,2827,1896,1592,1547,1472,1802,2243,2863,3322,2690,1685,1948,1848,1617,2143,2951,2368,1779,2331,2361,1835,1729,1513,1436,2088,2329,2244,2046,2308,2626,1864,1876,2186,2026,1945,2143,2102,1813,2119,2282,1908,1806,1732,1577,1567,1514,1685,1598,1591,1715,1888,1914,1830,1824,2150,2222,2235,2231,1925,1866,2012,2127,1702,1891,2132,1902,1961,2382,2593,2438,2510,2126,2031,2186,2246,2314,2154,2011,1990,2199,2305,2153,2267,2054,1994,2125,2108,2127,1908,1509,1301,1496,1570,1541,1721,1759,1826,1894,1723,1471,1701,2127,2522,2600,2576,2875,3231,2565,2355,3053,3349,3500,3363,4014,4484,4365,4103,4312,3932,3198,2618,2336,2595,3379,3839,3694,3314,3261,3011,2698,2562,2012,2309,2873,2689,2929,3083,2865,2874,2670,2654,2863,2806,1836,2188,2526,2588,2094,1504,1717,1939,2259,3439,3738,3530,3426,3561,2932,2783,3009,3164,3182,2775,2979,3195,2863,2301,1934,2214,2445,2270,2782,2899,1937,1647,1663,1939,2105,1928,1760,1583,1534,1713,1414,1485,1741,1520,1466,1489,1655,1668,1606,1461,1483,2190,2333,1867,1600,1539,1560,1497,1516,1465,1447,1492,1361,1305,1527,1578,1385,1389,1383,1544,1842,1661,1743,2776,3265,3145,2923,2294,2065,2294,3125,3042,2355,1949,2254,3008,2404,2219,2512,2261,1720,973,663,854,906,892,1261,1751,1731,1975,3684,3548,2381,2491,2633,2015,1704,1886,1749,1556,1494,1766,2170,2164,1749,2173,2608,2321,2220,2482,2552,2604,1942,2208,1979,1713,1876,1713,2169,2331,2191,2489,2978,2804,2244,2320,2414,2324,1904,2071,1832,1302,1200,1319,1447,1455,1880,2585,2581,2036,1663,1489,1606,2234,2430,1471,1275,1547,2384,3030,3096,3000,2404,1857,1693,1967,1866,1792,1557,1582,2028,2337,2518,2884,2418,1838,2240,2356,1880,1541,1980,2417,2034,1681,1801,1957,1864,1923,2239,2133,2060,2568,2900,2369,2710,3110,2880,2426,2112,1909,2117,2718,2776,2646,3123,3051,2395,2212,3217,3974,4389,4420,4431,4340,4041,4023,3513,2658,2395,2179,1861,2167,1774,2057,2002,1660,1598,1674,1669,2533,3572,3176,1983,1653,2065,3239,2984,2168,2227,2126,2072,2227,2430,2537,2126,2424,2946,3334,4016,3503,3255,3375,3420,3040,2424,2027,2564,2841,2262,2491,3372,3544,3075,2899,2136,1716,2406,2728,1742,1236,1288,1688,2053,1934,2112,2220,2132,2270,2405,2336,2078,2495,2842,2444,2462,2563,2570,2383,2393,2097,1917,2273,1941,1835,2223,2270,2214,2067,1889,2754,3742,3897,3897,3199,2976,3488,2352,2580,2378,3500,3628,3110,2890,2478,2598,2833,2679,3006,3709,2871,2668,2442,2625,2519,2427,2444,2159,2025,2492,2537,2604,2492,2105,2479,2700,2163,2790,3055,2699,1967,2351,2817,3168,3233,2492,2171,2335,2220,2032,2425,2305,2899,3353,3106,2641,2457,2896,2714,2366,2472,1747,2060,2349,2453,2340,2361,2010,1788,2889,3710,3406,2813,2330,2193,1800,2241,2641,2897,3300,3056,2907,2756,2841,2367,2419,2498,2438,2640,2213,1686,2246,2809,2482,2029,1796,1857,2304,2443,2094,2115,2365,2642,3019,3251,3336,3062,3022,2048,1637,1800,2061,2020,1865,2515,2721,2109,2167,2045,2131,2677,2030,2965,3023,3578,4060,3620,3200,2909,2546,2739,3847,3680,3449,3753,4038,4093,4257,3312,3203,2917,2709,3474,3536,2857,2566,2369,2003,2253,1539,1891,1998,1936,1797,1855,2260,2180,2150,2624,2768,2541,1914,1620,1865,1828,1930,2110,1917,2063,2352,2132,2132,2229,2230,1600,1421,1747,2302,2690,2664,2583,2607,2458,2210,1529,867,1730,3283,2942,1787,2072,1803,1364,1178,1172,1229,1720,3285,4126,3632,2986,2983,3350,3463,3103,3028,2911,2341,2285,1885,1477,1487,1725,1552,1519,1937,1819,2143,1887,1620,1835,1492,1700,1898,2046,1956,1909,1796,1921,2501,3184,2943,2276,2153,2265,1738,1517,1974,1683,1909,2329,1798,1700,2151,1797,1504,1685,1571,1730,1643,1580,2286,2414,1660,1281,1432,1816,2581,2663,2396,1860,1636,1679,1621,1719,1816,2203,2449,2230,2210,2017,1489,1475,1443,1334,1383,1454,1556,1637,1624,2059,2435,2379,2246,2062,2454,2571,1835,2199,2445,2025,2013,2682,2940,3289,3079,2504,2375,2919,2878,2309,2097,1881,2013,2157,2242,2626,2367,2375,2666,2527,2496,2539,3096,3974,3732,3408,2656,1873,2090,2063,1766,1773,1715,2013,3010,2687,2042,1750,1540,1223,1303,2138,2192,1980,2067,1894,1707,1990,2667,2813,1854,1760,2330,1828,1545,1474,1516,1464,1671,1559,1426,1528,1405,1296,1349,1367,1441,1522,1585,1717,1565,1738,1894,1831,1594,1514,1418,1391,1499,1553,1486,1743,1567,1560,1469,1417,1354,1340,1461,1539,1403,1567,1644,1581,1520,1418,1520,1535,1346,1192,1435,1445,1306,1333,1474,1438,1388,1434,1377,1547,1973,2062,1777,1569,1598,1545,1482,1403,1378,1339,1395,1438,1461,1787,1749,1574,1552,1392,828,1406,2730,3209,3028,2514,2072,2083,2565,2002,1703,1931,1826,1577,1434,1780,1846,1469,1361,1782,1806,1602,1920,2095,1838,1991,2149,2298,1810,1454,1261,1425,1636,1380,1463,1889,2161,2046,1914,2160,2098,2301,2493,2026,2058,2253,2139,1901,2173,1793,1773,2181,1987,1748,2110,2166,1943,1810,1531,1446,1648,1814,2351,2645,2869,2800,3311,3262,2622,1685,1857,1865,1504,2233,2986,2603,2526,2729,2404,1798,1693,1970,2168,2312,2376,2366,2459,2446,2333,2411,2510,2612,2252,1386,1806,2106,2061,1407,1541,1965,2454,2766,2288,2132,1778,1775,2024,2225,2225,2359,2124,2071,2516,2741,2386,1918,2038,2236,1956,1776,2012,2115,2066,2197,2265,1975,1907,2050,1876,1644,1749,1981,1793,1531,1615,1663,2192,2990,2577,1849,1500,1920,1960,1581,1640,1600,1528,1393,1566,1602,1591,1760,1617,1480,1644,1770,1792,1772,1629,1533,1463,1878,1862,1881,2129,2419,1946,1703,1836,1824,1674,1670,1699,1725,1895,2098,1922,1613,1620,1941,1763,1923,2269,2149,2025,2170,2177,2184,2745,2445,2530,2673,3151,3277,3519,3155,2424,1934,1886,2118,2112,1839,1932,1967,2557,2984,2994,2246,2210,2070,1788,1857,1860,2105,2385,2304,2631,2777,2455,2908,2865,2952,3388,3421,3175,2438,2041,2502,2110,2619,2901,3003,2509,2283,2241,2420,2802,3256,3318,3266,3592,4093,4309,3953,2929,3150,2900,2381,2105,2203,1780,2447,3205,2376,1976,2291,2570,2611,2846,2940,3118,3009,2680,2755,3023,3116,3144,3304,3044,3130,3052,2841,2433,2648,2599,2482,2585,2273,2532,2554,2230,2587,2850,2468,2542,2426,2381,2169,2358,2492,1946,2088,2623,2851,2383,1866,2142,2366,2251,2091,1831,1575,1231,1636,2314,2557,2017,1700,1525,1545,1865,1643,1915,3107,3893,2316,1964,1666,1577,1556,1581,1623,1536,1513,1580,1822,1881,1675,1507,1499,2022,1901,1861,1687,1570,1951,2263,2030,1428,1411,1422,1916,2562,3160,4084,3375,2444,2154,2000,1987,1870,1731,1892,1875,1640,1621,1926,2525,2670,2134,1840,1957,2018,1922,1748,1757,2025,1824,1705,1746,1951,2073,2026,1925,1826,1710,2198,2323,2182,2734,2913,2495,1994,1808,1870,2134,1797,1583,1649,1300,1532,2030,2228,2186,1894,1488,1493,1533,1438,1419,1591,1829,1974,1999,1594,1408,1569,1818,2251,2596,3399,4015,2973,2820,2280,1565,1515,1743,1920,1756,1837,2591,2365,1542,1555,1471,1513,1558,1502,1628,1637,1601,1680,1677,1634,1681,1791,1845,1631,1754,1946,1967,1996,1739,1495,1534,1865,1949,1633,1541,1730,1889,1790,2238,2217,1996,1753,2166,2467,2019,1823,1824,1910,2031,1851,1946,2263,2150,2119,1946,1673,1658,2070,2214,2276,2392,2236,2143,2366,2546,2585,2422,1824,1676,1629,1670,1844,1869,1725,1890,2204,2359,2142,1616,1886,2191,2182,2203,1747,2036,1964,1803,1995,1973,2191,2480,2190,1874,1598,1801,1782,1666,2060,1914,1668,1888,1912,1518,1499,2053,1924,1739,2114,2314,1951,2108,2388],[2220,2314,2186,2242,2342,2455,2403,2004,1472,1881,1978,2076,1866,1838,1671,1656,1758,1791,1948,2732,3066,2502,2307,2999,4092,3718,3001,3392,3878,3688,3586,3436,3342,3363,3120,3150,3654,3558,3548,2946,2894,3391,3729,3474,3466,3116,2890,2983,2547,2140,1991,1660,1714,2176,2169,2781,2977,3492,3790,3758,3120,2524,2276,2341,2332,2288,2430,2254,2313,2345,2547,2475,2888,2831,2198,2032,2490,3028,3244,3354,2880,2419,2714,2604,1878,1635,1901,2027,2323,2242,2750,3641,3794,3629,3804,3762,4300,3620,2567,2288,2387,2321,2177,2412,2857,3356,3516,2980,2479,2196,1810,2474,2507,2358,2122,2250,2410,2496,2664,2734,3024,3251,2984,2618,2953,3028,2383,2019,3020,3077,2393,2431,2322,2406,2588,2814,3184,3208,2654,2155,2524,2822,3174,2578,2242,2753,2858,2863,3030,2971,3011,2719,2976,2520,2226,1924,2030,2113,2453,3221,3465,3381,2871,2312,1801,2231,2054,1958,2062,2254,2409,2160,1712,2478,2996,2375,2834,3337,3084,2690,3020,3326,3355,3519,3719,3033,3054,3469,2830,2209,2552,2963,2303,1474,1890,3011,2732,2406,2639,2891,2929,3028,3128,3320,3729,3727,3032,2236,2350,2579,2488,2507,2766,3089,3407,3742,3821,3694,3707,3266,2683,2532,2461,2420,2747,2930,2458,2133,1600,1166,2121,2532,1784,1767,2052,2093,2788,3549,2600,2281,2744,3615,3821,2603,1787,1869,2366,2996,3184,3240,3056,2168,2281,2846,2624,2410,2446,2387,2296,2424,2161,1765,1895,2024,2423,2319,1900,2120,2974,3168,2536,2055,2040,2134,2113,2091,1645,1073,1263,1864,2115,2053,2080,1959,1824,2479,2978,2550,2055,2265,2844,2886,2975,3213,3475,3758,3206,2582,3352,3310,2555,2349,2270,2642,2548,2553,2453,2417,2256,1860,2006,2128,2100,2272,2295,2036,2112,2314,2437,2208,1798,1994,2518,2614,2063,1781,1529,1544,1927,2321,2669,2714,2853,2172,1911,1592,1454,2355,3042,2622,2091,2502,2717,1941,1789,1366,1297,2486,2747,2536,2741,2929,2820,2188,2056,2491,2449,2570,2708,2285,2073,2475,2454,2045,1800,1915,1609,1518,1735,1785,1930,2077,1708,1721,2430,2485,2357,2690,2510,2340,2159,2003,2066,2352,2094,1539,1771,1974,1712,1634,1846,2107,2292,2257,1683,2136,2430,2476,2345,1821,2029,2183,2399,2163,2072,2148,2159,2057,2212,2243,2125,2093,1693,1731,2214,1875,1741,1784,1702,1845,1838,1609,1524,2078,2533,2280,2034,2192,2521,2458,2348,2448,2340,2465,2834,2884,3438,4257,4100,3806,4121,3994,3078,1986,2514,3588,3619,3460,3382,3289,3218,2954,2387,2227,2001,2391,2916,2686,3204,3032,2845,2976,2350,2648,2841,2340,1644,2038,2534,2697,2354,1584,1646,1844,2339,3620,3769,3890,4012,3663,2673,2684,2908,3083,3140,2622,2374,2341,2435,2307,2047,2141,2513,2699,2614,2188,1696,1494,1820,2182,2148,2289,1953,1675,1683,2150,2161,1581,1720,1818,1475,1405,1511,1444,1549,1467,1366,1869,1918,1927,1750,1754,1614,1474,1503,1546,1754,1692,1606,1753,1764,1517,1348,1393,1480,1966,1892,1619,1912,2842,3394,3527,3262,2213,2106,2045,2188,2174,2305,1829,1914,2118,2004,1967,1898,1834,1526,816,810,907,873,973,1356,1636,1763,2226,3167,2940,2395,2316,2337,2072,2085,1842,1654,1448,1391,1756,2076,2036,1699,2055,2580,2442,2668,2583,2428,2714,2291,2415,2106,1899,1759,1909,2533,2636,2393,2643,3335,2884,2007,1913,1981,1902,1659,1622,1635,1379,1574,1706,1447,1604,2085,2636,2416,2120,1924,1675,2024,2951,2500,1372,1477,1828,2348,3074,3330,3162,2351,1851,1732,2348,2442,1974,1660,1875,1995,1989,2632,3348,2564,1536,1612,2084,2170,1890,2084,1929,1684,1427,1757,1974,2089,2599,2679,1923,2018,2605,2422,1571,1702,2475,3162,3535,2750,1903,2773,3431,3732,3150,3061,2083,2103,2104,2846,3826,4276,4099,3995,3709,3317,3167,3224,2720,2111,1915,1626,1833,1660,1736,1755,1906,2428,2354,2124,3320,3736,2686,1656,1525,2532,3519,2642,2212,2430,1787,1914,2290,2387,2482,2190,2613,3155,3496,3792,3982,3461,3177,3504,3481,3052,2842,3061,2899,2350,2471,3020,3013,2648,2121,1370,1673,1990,2092,1990,1666,1248,1389,2138,1892,1897,2313,2512,2344,2751,2454,1990,2576,2701,2480,2592,2748,3337,3391,2896,2003,1793,2135,2316,2260,1951,2160,2285,1982,1982,2661,3538,3154,2563,2868,3024,2842,2298,2592,2688,2933,3293,3093,3050,2882,2835,3067,2912,3124,3644,3370,2291,2191,2491,2762,2919,2587,2051,1629,2443,2359,2784,2214,1978,2500,2066,2318,3091,2854,2041,2022,2665,2811,3078,3220,2961,2291,2288,2586,2334,2481,2098,2456,3039,2812,2536,2648,2612,2620,2593,2351,2416,2515,2382,2986,2681,2416,2494,2861,3759,4111,3882,3072,2486,1859,2225,3212,3492,3341,3216,3109,2698,2700,2880,2957,2700,1983,2231,2378,2512,2282,2186,2137,2483,2347,2399,2833,3066,2907,2329,2500,2633,3027,3485,3724,3350,2953,2837,2293,2156,2396,2470,2234,2216,2690,2788,2156,2488,2775,2570,2920,2297,2810,3021,3268,3962,3784,3665,3428,2901,2681,3375,3248,2799,3016,3270,3588,3904,3520,3680,3332,2622,3564,3820,2882,2364,2356,1942,2068,1614,1967,2165,1940,1906,2151,2273,1977,1528,1612,1714,1845,1851,1897,1810,1863,1909,1969,2030,2221,2465,2669,2990,2978,2564,1687,2235,2789,2850,2625,2704,2522,2208,2201,2304,2390,1462,1561,2512,1720,1695,2038,1665,1443,1716,1537,1384,2663,3817,3749,3573,3537,3226,3350,3067,2828,3035,3062,2385,1837,1487,1394,1748,1694,1443,1905,2376,1846,2245,1755,1604,1808,1616,1848,2193,2047,1760,1778,1951,2423,2806,3618,3003,2320,2254,2452,2232,2232,2232,1809,2150,1948,1527,1780,2048,1765,1544,1708,1687,1415,1418,1744,2433,2320,1485,1454,2035,2130,2610,2697,2390,1932,1759,2440,2321,1788,2133,2467,2630,2165,2097,1853,1492,1449,1426,1386,1399,1471,1490,1632,1892,2336,2446,2192,1920,2219,2417,2452,2404,2450,2429,1951,2158,2553,2696,2963,2928,2657,2525,2596,2662,2398,2196,2040,2072,1988,2112,2001,1854,2632,2584,2585,2464,2739,3410,3009,3482,3523,2680,2280,1990,1597,1474,1683,1825,1963,2232,2064,2193,1722,1642,1514,1555,2053,1845,1518,1634,1838,1818,1748,2568,3181,2239,1943,1786,1573,1472,1491,1655,1683,1494,1242,1329,1370,1269,1321,1521,1458,1461,1781,1859,1627,1522,1475,1685,1922,1570,1529,1351,1289,1647,1811,1401,1358,1554,1654,1773,1698,1394,1383,1418,1457,1438,1932,1639,1389,1544,1309,1307,1394,1362,1235,1221,1302,1335,1316,1376,1452,1456,1510,1549,1763,1742,2459,2422,1599,1354,1352,1365,1415,1610,1452,1507,1512,1419,1600,1526,1403,1200,721,478,1368,2812,3066,2831,2659,2250,2038,2001,1446,1270,1745,1907,1503,1223,1280,1556,1441,1370,1485,1722,1946,1670,1665,1785,1888,2084,2084,1656,1461,1390,1429,1444,1381,1374,1956,2242,2017,2116,2458,2498,2562,2396,2626,2846,2332,2410,2646,2412,2294,1986,1758,1764,1873,2222,2458,2106,1769,1656,1610,1848,2294,3305,3585,3980,3377,3353,3458,2592,1565,1750,1698,1534,2165,2343,2441,2964,3076,2413,1271,1174,1605,1770,2041,2367,2407,2452,2665,2544,2754,2460,2732,2410,1584,1936,2089,1902,1583,1832,2103,2366,2695,2103,1840,1565,1549,2123,2345,2206,1998,1727,2137,2512,2558,2654,2182,2014,2114,2160,1697,1775,1990,1999,2079,2210,1963,1910,2057,2025,1902,1875,1653,1599,1624,1738,1764,2072,2339,2208,1922,1672,1748,1542,1432,1732,1951,1642,1584,1519,1527,1468,1466,1462,1483,1542,1652,1872,1983,1447,1532,1986,2036,2033,1953,1814,2416,2548,2155,2009,1852,1344,1290,1409,1933,2016,1940,1692,1583,1840,2018,1971,2030,2305,2204,2175,2498,2668,2352,3019,2563,2307,2750,3585,4005,4068,3688,3044,2494,2258,2241,2579,2121,1995,2112,2198,2556,2709,2551,2358,1953,2084,2276,2314,2214,1950,1965,2347,2094,2242,2873,2414,2150,2886,3300,2832,1970,1884,2135,2039,2736,3067,2996,2797,2769,2386,2432,3016,3451,3498,3181,3366,3476,3163,3010,3016,3518,3596,2866,2558,2633,2122,2517,2922,1924,1886,2692,3022,2847,2600,2412,2706,3017,2886,2532,2835,2920,2925,2709,2876,2962,2863,2855,2522,2378,1939,2288,2898,2636,2710,2186,2042,2641,3051,2356,2646,2788,2544,2335,2329,2697,2627,2286,2429,2463,1996,1805,1872,2426,2440,2292,2218,1990,1635,1671,2338,2469,1828,1718,1658,1664,1854,1670,1884,2777,3077,2335,1831,1585,1526,1497,1600,1622,1524,1472,1463,1549,1962,2306,1910,1828,1867,1926,2223,1839,1639,1889,2131,1830,1378,1512,1638,1713,1685,2337,3249,2493,2044,2220,2038,1869,1946,1689,1821,2019,1682,1602,2170,2415,1998,1665,1707,1802,1798,1772,1784,1775,2054,2072,1836,1710,1982,2148,1744,1664,1582,1491,1987,2131,1902,2291,2178,1851,1757,1751,1632,1503,1425,1604,1511,1175,1268,1836,2081,2020,1673,1512,1546,1615,1614,1991,1832,1496,1802,1969,1782,1560,1410,1523,2151,2607,3294,3312,2636,2277,1748,1507,1732,1700,1708,1755,1981,3216,2845,1866,1808,1662,1640,1570,1581,1697,1780,1921,1857,1611,1596,1699,2120,2155,1773,1956,2116,1941,1890,1685,1512,1591,1978,2441,1997,1511,1854,1887,1966,2082,2219,2481,2280,2296,1966,1984,2418,1952,1854,2097,2027,2243,2098,1868,2024,1847,1662,1582,1852,2272,2418,2271,2145,2185,2165,2495,2634,2704,2182,1638,1684,1998,1770,1605,1882,1796,1958,2062,1970,1642,1526,1755,1870,2009,1780,1971,1976,1837,1895,2014,2048,2370,2489,2028,1951,1991,1938,1993,1836,1587,1559,1395,1299,1711,2114,2330,1797,2019,2411,2448,2282,2370,2209],[2470,2094,1695,1723,1973,2358,2756,2946,2025,1580,1541,1729,1662,1624,1478,1575,1989,2012,1990,2784,3247,2444,2128,2853,3777,3739,2495,1978,2276,2727,3318,3344,3018,3042,3554,3683,3915,3347,3371,2956,2906,3504,3768,3687,3408,3152,3234,3145,2952,2906,2240,1814,1925,2562,2494,2612,2813,3243,3604,3460,3056,2522,2335,2121,2247,2655,2957,2544,2492,2624,2762,2697,3051,3095,2745,2731,2822,3373,3390,3366,3243,2576,2603,2918,2840,2525,2203,2394,2487,2509,2580,3124,3231,2782,3116,3340,3317,2696,2231,2324,2177,1970,2040,2554,3204,3100,2786,2381,2169,1947,1872,2531,3007,3327,2786,2257,2403,2492,2320,2529,3116,3310,3174,3088,3528,3806,3159,2323,2567,2996,2787,2573,2412,2407,2247,2459,3232,2799,2266,2115,2520,3605,3748,2807,2574,2414,2118,2397,2912,3288,3573,3720,3665,2714,2610,2476,2276,2219,2072,2357,2685,3445,2818,2182,2095,2535,2383,2332,2687,2648,2339,1976,1673,2540,3209,2316,3093,3834,3796,2980,2920,3636,3956,3739,3738,3334,2864,3185,3071,2695,2753,2539,2062,1562,1917,2340,2370,3087,3637,3595,3507,3328,3385,3471,3487,3727,3304,2772,2373,2411,2557,2575,2827,3261,3419,3219,2965,2940,3168,2788,2364,2657,2315,2641,3194,2881,1926,1997,2041,1732,2467,3294,2548,1811,1863,2038,2444,2998,2973,2915,3200,3813,4200,3808,2966,2381,2570,2956,3169,2741,2521,1803,1513,2424,2776,2590,2685,2403,2399,2678,2087,1633,1698,2036,3260,3448,2821,2376,2277,2444,2486,2042,1853,1750,1644,1876,1582,1463,1041,1217,1992,2039,2028,2011,2221,2540,2400,2255,2522,2474,2242,2004,1946,1819,1898,2863,3159,3356,3519,2991,2851,2975,2448,2806,2439,2680,2688,2115,1770,1734,2259,2751,2696,2469,2187,1621,1671,2078,2372,2020,1544,1615,1786,1918,1989,1923,1636,1655,1941,2093,2610,2389,2678,2564,2273,1771,1717,2519,2796,2605,2284,2386,2396,1917,1948,2052,1363,2321,3022,2920,2598,2226,2197,2109,2090,2230,2670,2780,2568,2435,2862,3116,3039,2229,1770,1893,1849,1722,1838,1887,1880,2026,1738,1853,2654,2405,2739,2723,2530,2438,2264,2403,2767,2600,1866,1644,1986,1951,1582,1734,1736,1977,2174,2089,1969,2587,2615,2289,2136,1838,2300,2300,2198,2042,2466,2118,2105,1905,2170,2750,3044,3194,2756,2764,2863,2261,2105,2007,1775,1752,1763,1615,1638,1958,2132,1786,1597,1948,2653,2714,2480,2365,2149,1998,1877,1773,2202,3083,3509,3672,4020,3753,2648,2309,3242,3312,3300,3470,3354,3167,3019,2897,2719,2360,2471,2751,2780,3010,3236,2732,2974,2942,2979,2931,2574,2042,1726,2035,2381,2477,2160,1676,2105,2303,2447,2683,3484,3882,3405,3165,3177,2983,3116,3128,3015,2854,2341,2176,2193,2596,2421,2053,2306,2834,2534,1956,1738,1619,1692,1918,2423,2371,1790,1743,1792,1802,1655,1643,2043,1854,1443,1451,1453,1396,1561,1314,1761,2151,2122,1957,1710,1838,1658,1537,1469,1428,1898,1947,2378,2460,1926,1488,1391,1422,1649,2425,2122,1544,2016,2942,3566,3513,2865,2088,2105,1802,2258,2474,2232,1881,1817,2232,2258,1703,1597,1690,1518,802,913,1062,873,1058,1333,1410,1579,2033,2404,2555,2909,2765,2299,2415,2371,1850,1503,1385,1365,1348,1801,2025,1823,2188,2429,2744,2974,2372,2017,2135,2232,2236,2100,2640,2871,2565,2389,2047,2270,2574,3162,2687,1737,1697,1742,1629,1804,1786,1750,1786,1761,1577,1532,1744,1765,1991,1947,1703,1794,1736,2370,2976,2250,1447,1327,1748,1973,2041,2205,2162,2071,1921,1808,2543,2650,2111,2072,1935,1876,1622,1736,2295,2084,1662,1591,2076,2178,1928,1789,2226,2292,1851,1964,2212,3263,3711,3297,2416,2615,2338,2236,2139,2016,2227,2519,2728,2342,2565,3495,3105,3098,2922,3321,2955,3342,3032,2545,3461,4432,4166,3896,4169,4059,3404,3667,3388,2434,1910,1641,1621,1605,1905,2374,2632,2627,2593,1992,3353,3706,2336,1798,1998,2965,2829,2075,2304,2201,1535,1616,2263,2866,2966,2557,2283,2747,3069,3129,3604,3388,3189,3439,3834,4070,3958,3927,3213,2855,2334,2602,2556,2209,1773,1564,2139,2322,2177,2227,2199,1531,1739,2045,2098,2707,2896,2625,2383,2537,2200,2050,2371,2339,2654,2730,2757,4373,4672,3696,2374,1725,2006,2568,2235,1662,1947,2214,2112,2040,2390,3317,2819,2476,2570,2345,1956,1839,2294,2687,3050,3408,2788,2625,2853,3192,3283,2890,3050,3055,2362,1840,2456,2610,2149,2281,2243,2020,2239,2977,2467,2655,2280,1991,2008,1933,2257,2950,2770,2328,2394,3036,2622,2464,2588,3232,2629,2766,2818,2098,1872,1966,2404,2364,1894,1531,1864,2016,2273,2142,1699,2074,2599,3175,3689,3426,3435,3029,3076,3491,3606,3453,2309,2081,2306,3146,3030,3038,2952,2820,2803,2526,2866,2497,1930,1799,1935,2326,2214,2626,2426,2039,2012,2476,2741,2657,2863,2741,2888,2545,3048,3279,3249,3270,2973,2735,2667,2508,2544,2781,2774,2865,2376,1957,2296,2534,1830,2298,2724,2626,2784,2308,2482,2690,2630,3880,3687,3561,3542,3050,2502,2866,3331,3386,3196,2917,3204,3591,3480,3437,3207,2530,3476,3715,2773,2315,2397,2201,2355,2193,2031,2138,1870,1736,1941,1783,1792,1586,1710,2042,2402,2239,2184,2091,2104,2040,2060,2596,2672,2737,3015,3272,3340,3026,2731,3062,3173,2814,2547,2449,1920,1805,1961,2248,2710,2353,1710,1737,1771,1773,1750,1555,1613,1989,2131,2648,3628,3676,3625,3363,3261,3270,2638,2157,2271,2724,2486,1784,1416,1292,1704,2078,1770,1415,1650,1591,1576,2061,1700,1605,1729,1636,1862,1943,1958,1854,1771,2406,3033,3481,3430,2887,2500,2308,2379,2252,2370,2154,1661,1937,1718,1760,2233,1964,1653,1598,1839,1834,1461,1279,1791,2600,2156,1408,2003,2563,2730,2785,2768,2444,1913,1998,3372,3226,1755,2133,2459,2244,2088,2670,2237,1661,1387,1402,1363,1506,1714,1605,1436,1571,2040,2642,2358,2195,2609,2426,2521,2775,2542,2301,2409,2955,2702,2105,2386,2441,2041,2384,2324,2212,2108,2134,2165,2305,2585,2433,1815,1936,2390,2037,2484,2356,3241,2925,2569,3450,3309,2636,2254,1970,1733,1682,1925,1900,1845,2093,2215,2296,1923,1758,1723,1671,1610,1515,1595,1860,1750,1708,1560,1851,2105,2152,1918,1844,1778,1579,1580,1491,1425,1432,1394,1410,1433,1332,1437,1582,1527,1387,1892,2123,1561,1470,1285,1109,1398,1778,1731,1520,1744,1865,1469,1633,1742,1620,1523,1573,1624,1463,1534,1406,1645,1417,1662,1485,1390,1395,1328,1322,1282,1293,1342,1390,1229,1215,1319,1211,1433,1477,1544,1511,1455,1357,1685,1718,1337,1300,1428,1427,1324,1493,1518,1599,1433,1583,1742,1468,1563,1486,762,1385,2446,2821,2311,1846,2556,2323,1998,1779,1404,1813,2566,2243,1719,1633,1435,2048,1577,1509,1675,2386,2455,1968,1730,1858,2079,2075,2135,1744,1839,1768,1777,1800,1771,2092,2392,2158,2060,2443,2507,2402,2410,2308,2379,2325,2496,2765,3078,2667,2709,2411,1802,2027,2250,2189,2162,1830,1639,1923,1899,1932,2032,2934,3288,3870,3828,3459,3320,2500,1979,1809,1606,1701,2110,2141,2126,2924,3107,1924,1108,1318,1576,1719,2049,2456,2676,2618,2337,2356,2495,2242,2467,2316,1803,1737,1844,1896,1904,2004,1911,1758,1814,2005,2020,1663,1779,2271,2302,2038,1885,1999,2227,2020,2223,2732,2052,1920,2181,2055,1791,1781,1902,1976,2083,2232,2028,1683,1785,2242,2511,2292,1608,1477,1619,1698,1698,1808,2066,2211,2220,2031,1911,1792,1844,1802,2056,1788,1633,1594,1459,1393,1261,1287,1680,1660,1492,1959,2128,1583,2016,2494,2330,2190,1925,2062,2743,2718,2544,2140,1875,1389,1406,1718,1938,2146,2090,1791,1739,1801,1958,2048,2229,2835,2366,2126,2291,2675,2509,2709,2849,2964,3354,3591,3557,3351,2997,2883,2768,2354,1987,2112,1975,1952,2127,2357,2645,3209,3466,2762,2778,2810,2280,1918,1946,1535,2331,2899,2943,3167,2785,2240,2635,3294,3373,3016,1835,1882,1760,2001,2668,3289,3113,2855,2626,1920,2116,2930,3338,3364,3204,2625,1957,2248,2630,3128,3869,3883,3064,2397,2182,1536,2235,3038,2169,2204,3273,3271,2784,2382,2159,2612,3402,2940,2203,2644,2995,3396,2900,2889,3038,2570,2434,2683,2513,2378,2720,3156,2714,2540,2294,2422,2575,2702,2743,2910,2255,1966,2274,2315,2421,2788,2291,2273,2435,2130,2027,2126,2345,2355,2139,1991,1970,1743,1746,1879,1980,1675,1637,1566,1836,1803,1415,1684,1919,1857,1734,1620,1646,1815,1847,1827,1898,1595,1526,1544,1731,2042,2068,1946,2085,1932,1948,2122,1836,1944,2014,1850,1573,2082,1982,1887,1519,1030,1880,2553,2109,2114,2256,2061,1727,1898,2004,2005,1881,1766,1833,2207,2114,1628,1613,1758,1652,1677,1821,2172,1831,1735,1598,1549,1653,1852,1716,1487,1521,1685,1924,1902,1638,1633,1755,1869,1772,1757,1722,1658,1680,1787,1645,1305,1288,1340,1638,1889,2055,1955,1839,1529,1684,1986,2093,1694,1511,1981,1675,1645,1526,1593,1890,2527,2397,2510,2209,1927,1654,1433,1759,2439,2344,1958,2090,2674,3205,3080,2822,2698,2172,1699,1627,1620,1572,1603,1747,1742,1676,1584,1578,2212,2008,1867,2133,2034,2101,2288,2226,1991,1700,1743,2514,2266,1752,1777,1704,1887,1695,1896,2298,2799,2975,2280,2009,2323,1682,1609,1955,1963,2186,1972,1713,1766,1831,1765,1691,2094,2577,2371,2175,2388,2868,2591,2347,2341,2236,1843,1580,1996,2321,2083,1971,1989,1697,1708,1438,1587,1624,1653,1565,1691,2024,1952,1851,1906,2032,1926,1957,1899,2254,2187,2108,2199,1920,2194,2605,2371,1667,1404,1367,1586,2003,2252,2060,2154,2276,2204,2109,2293,2493,2267],[1900,1731,2005,1997,1562,2099,2940,2675,2100,1661,1566,1662,1599,1565,1523,1570,1863,2042,1799,2384,2870,2368,2186,2236,3222,3739,2824,1917,1780,2073,2872,3175,2881,3234,4152,4155,4236,3504,2739,2517,3334,3266,3094,3504,2957,2813,2834,2723,2754,2477,2400,2249,2244,2532,2408,2507,3030,3234,3198,3273,3094,2335,2548,2331,2408,3193,3561,2916,2482,2642,2806,2898,2818,3093,2801,2631,2712,2843,2799,3031,3379,2573,2329,2920,3199,3059,3040,2931,2522,2480,2684,2997,3128,2893,3052,2588,2381,2655,3306,3085,1770,1282,1605,2930,3466,2878,2039,1882,2030,2025,2044,2395,3086,3137,2533,2082,2248,2390,2090,2534,2924,2934,2765,2861,3392,3527,2540,1310,1617,2833,3087,3355,3244,2182,2015,2355,2895,3021,2763,2319,2464,3007,2786,2280,2315,1655,1282,2036,2069,2473,3129,3309,3408,2823,2304,2495,2360,2193,1948,2254,2742,2693,2348,1965,1630,1883,2222,2426,2866,2823,2494,2302,2341,2821,3576,2879,3408,3750,3761,3005,2964,3743,3710,3198,3457,3287,3101,3453,3291,3153,2918,3160,2674,1842,2072,2282,2198,2993,3735,3340,3170,3042,3409,3696,3971,3741,3333,3527,2827,2259,2666,3106,3190,3321,2784,2295,2715,2812,2544,2379,2388,2403,2080,2598,2998,2367,2092,2279,2050,2370,2790,2805,2201,2159,2085,2295,2720,3384,3660,3376,3320,3500,3996,4200,3815,2741,2521,2595,2484,2315,2632,2314,1852,2190,2396,2649,2994,2807,3104,2652,2142,2057,1876,2297,3904,3950,3138,2822,2496,2431,2601,1993,1536,1455,1877,1999,1303,1564,1388,1028,1466,2044,2188,2011,2159,2003,2365,2358,2358,2424,2270,2049,1490,1001,1272,2284,3492,3874,2996,2068,2290,2348,2155,2088,2358,2546,2184,1662,1709,2250,2891,3068,2767,2160,2081,1724,1293,1362,1560,1539,1512,1732,1930,2128,2348,2093,1681,1669,2031,1963,2281,2688,2896,2908,2418,1876,1820,1750,2231,2329,1803,2109,1902,1722,1860,2364,1762,2077,2496,2601,2230,1634,1798,2079,1814,1933,2599,2186,2235,2557,3063,3152,2675,2048,1770,1839,1830,1768,2094,2200,1848,1846,1646,2049,2333,2597,3108,2912,2532,2217,2475,2595,2758,2190,1921,1815,1958,2067,2158,1920,1882,1922,2036,2268,2416,2468,2083,2164,2391,2007,2290,2260,2052,2469,2630,2265,1843,1504,2196,2770,2867,3122,2545,2276,2373,2458,2374,2078,1934,1961,1781,1625,1689,1650,1681,1487,1557,1984,2701,2675,2143,2068,2756,2995,2418,1991,2053,2062,2656,3172,3632,3563,2536,2450,3152,3054,3298,3388,3330,3146,2912,2964,2656,2335,2834,3273,3129,3064,2922,2727,3119,3212,3053,2841,2490,2274,2212,2317,2209,2313,2342,2228,2776,2825,2750,2363,2754,3409,3104,3121,3300,3392,3308,3426,3304,3279,2990,2663,2470,2515,2534,2111,2128,2480,2078,1766,1766,2150,2093,2111,2608,2556,2443,2208,1790,1763,2139,2343,1974,1617,1760,1556,1412,1452,1450,1321,1714,2007,2212,1743,1349,1692,1550,1533,1472,1494,1894,1738,2054,2344,2062,1612,1518,1565,1749,2165,2034,1616,2048,3395,4030,3956,3074,2411,2534,1974,2368,2536,1943,1639,1687,2455,2358,1852,1774,1464,1311,798,942,1156,957,1433,2298,2496,2333,2157,2996,3310,3117,2705,2671,2304,2135,1985,1660,1585,1379,1333,2171,2660,2614,2491,2346,2610,2662,2218,1714,2001,2764,2780,2162,2064,2061,1854,1700,1797,2019,2004,2287,2203,2182,2499,2202,1804,1860,1809,1906,1749,1486,1335,1696,1563,1511,1587,1716,1663,1622,1680,2014,2110,2164,1876,1836,2213,1986,1704,1688,1882,1885,1442,1584,2420,2580,2799,2972,2005,1588,1606,1588,1305,1571,1858,1921,2046,1942,1685,1582,2182,2662,2282,1886,2621,3870,3854,3720,3225,2593,1951,2145,1773,1574,2127,2052,1924,2395,3427,3892,3371,2827,3522,4065,3291,3558,3812,2753,2795,4123,4473,4416,4320,3985,3598,3328,2734,1991,1700,1620,1587,2031,2512,2898,2954,2392,2399,2170,3207,3641,2433,1995,2236,2127,2035,2402,2438,1970,1481,1896,2799,3199,3318,2254,1741,2176,2288,2602,2989,3190,3396,3462,3481,4153,4111,4431,3925,3182,2275,2429,2835,2569,2107,2138,2329,2272,2341,2482,2236,1821,1957,2233,3042,3617,3611,2830,2218,2393,2370,2352,2714,2471,2474,2505,3094,4516,4509,3530,2467,1705,1692,2201,1987,1828,1870,2224,2319,2052,2132,2919,2512,2548,2496,2120,1853,1870,2261,2280,2402,2744,2829,2641,3008,3352,3414,3053,2916,3020,2940,2601,2990,2954,2575,2360,2430,2118,2849,3286,2454,1913,1772,1592,1852,2105,2368,3068,2544,2373,2503,2999,2523,2322,2486,2814,2590,2534,2021,1455,1699,2468,2632,2227,1896,1933,2789,3064,2701,2339,1931,2104,2474,2714,3326,3784,3576,2886,2541,2797,3160,2404,1901,1882,2163,2363,2151,2465,2903,3321,2873,2198,2381,2603,2352,2662,2358,1930,1973,2467,2736,2532,2167,2208,2762,2479,2628,2534,2991,2773,3052,3348,2812,2312,2355,2636,2906,2906,2323,2242,2070,1982,1716,1816,2305,2425,1707,1852,2477,2591,2304,1694,2258,2690,3146,4082,3741,3671,3784,3514,2751,3183,3895,3986,3902,3548,3750,3871,3692,3470,3047,2532,3560,4047,3139,2766,2647,2351,2944,3175,2253,1897,1503,1880,2100,2014,2137,2024,2251,2400,2236,2264,2445,2750,2939,2263,2098,3120,3318,2946,2510,2524,2888,3005,2734,2280,1983,1572,1950,2371,2053,2170,1905,1945,2127,2446,2054,1664,1722,1760,1894,1933,1969,1727,2266,3409,3740,3594,3148,3175,3614,2921,2120,1893,1763,2242,1942,1605,1415,1759,1889,1956,1870,1528,1402,1338,1429,1692,1576,1466,1708,1730,1844,1758,1983,2002,1808,2554,3276,3450,2899,2524,2296,2355,2425,2266,2270,1715,2091,2010,1571,1873,2228,1903,1606,1586,1814,1805,1660,1569,2036,2552,1859,1355,2146,2474,2709,2724,2725,2504,1860,1936,3275,3308,1707,1909,2142,1661,2119,2591,2091,1539,1361,1378,1492,1717,1948,1780,1583,1836,2508,2778,2302,1962,2159,2230,2625,3093,2945,2585,2773,3239,3482,2767,2952,2674,2210,2298,2368,2301,2135,2192,2243,2322,2767,2722,2437,2391,2372,2817,3175,2670,3163,3505,3356,2781,2378,2476,2187,1997,1973,1690,1589,1810,1810,2002,1888,1979,2009,1783,1719,1537,1511,1411,1368,1321,1422,1426,1379,1405,1550,1804,1853,1741,1757,1863,1818,1281,1255,1440,1503,1584,1548,1404,1463,1443,1533,1537,1752,1974,1655,1743,1876,1408,1343,1926,1952,1762,2031,1742,1653,1936,1702,1670,1623,2114,2124,1612,1549,1463,1410,1319,1346,1356,1338,1362,1440,1395,1427,1462,1443,1369,2183,2283,1870,1390,1405,1356,1405,1400,1332,1188,1304,1449,1379,1438,1572,1562,1590,1566,1472,1448,1429,1606,1646,1550,1838,1842,1488,2240,3162,2928,1714,794,2046,2482,2014,1925,1657,2031,2889,2105,1668,2171,1880,2146,1802,1926,2100,2596,2592,2036,1984,2792,3552,2402,2241,2312,2238,2048,1975,2453,2509,2790,2922,2357,2365,2422,2230,1970,1940,1874,1901,1817,2061,2554,2535,2276,2348,2054,1830,1866,1638,1821,2400,2080,1770,1813,1829,1438,1252,2151,2556,2596,2556,2542,2344,1919,2025,2150,2192,2280,2410,2272,2255,2944,3216,2103,1028,1235,1678,1560,1680,2381,2698,2788,2412,2181,2285,2306,2265,2156,1935,1846,1925,2026,2115,2032,1891,1667,1288,1646,1875,1704,1510,1722,2084,2370,2719,2973,2657,2643,2993,3028,2249,1794,1836,2319,2701,2200,1807,1831,1945,2009,2122,1720,1627,2306,2468,2258,1762,1582,1704,1844,1723,1591,1696,1917,2150,2009,2046,2048,1958,1873,1873,1714,1713,1732,1582,1455,1259,1488,1834,1669,1788,2067,1767,1665,1937,1996,1860,1724,1767,2116,2544,2298,2283,2244,1805,1940,2374,2148,2049,2437,2208,1914,1484,1550,1743,2024,2048,2220,1948,1864,2172,2570,2081,1888,2610,2986,2639,2492,3038,3016,2907,3312,2634,1844,1760,1791,2077,2480,2744,2496,2591,3209,2598,1758,1970,2128,1791,1788,2104,2114,2868,3698,3497,2773,2281,2282,3387,3936,3481,3175,2269,2176,2348,2308,2353,2564,2431,2171,1799,1789,2025,2754,3221,3146,3320,2620,2363,2897,2670,2802,3836,3608,2414,2442,1967,2018,2806,3581,3139,2867,3051,2714,2260,2010,2211,2646,2752,2056,2618,3364,3737,3566,2595,2687,3373,2940,2663,2763,2708,2548,2597,2697,2171,2433,2645,2444,1983,2072,2574,2795,2255,1822,2374,2462,2073,2708,2351,2238,2618,2488,2125,2192,2138,1873,1476,1671,2051,1717,1814,1864,2044,1804,1920,2235,2245,1721,1486,1864,2232,2504,2544,2054,1863,2294,2347,2111,2326,2189,1858,1638,2227,2518,1980,1809,1820,1785,1608,1858,2063,1836,1546,1552,1687,1999,1763,1684,1365,933,1460,1717,2056,2302,1907,1846,2082,2084,2107,2149,1822,1682,1998,2114,1810,1838,1969,1768,1489,1556,1674,1938,1859,1720,1534,1342,1551,1816,1594,1550,1477,1591,1756,1592,1499,1587,1786,2027,1727,1481,1611,1669,1728,1915,1670,1455,1514,1598,1593,1803,2052,2131,2008,1697,1674,1776,1782,1741,1868,1998,1682,1626,1669,2310,3030,2432,2048,2216,1892,1732,1663,1672,1847,2491,2437,2425,2499,2598,2475,2833,3020,2790,2056,1578,1616,1659,1550,1531,1959,1801,1734,1717,1922,2020,1609,1783,1866,1644,2043,2258,2265,1814,1718,1664,1897,1803,1745,1625,1789,1789,1675,1953,2407,2822,2730,2371,2104,1984,1784,1908,2078,1993,2146,1974,1639,1722,1819,1919,2149,2271,2418,2333,2266,2440,2808,2452,2250,2057,1708,1610,1362,1778,2136,1936,1607,1413,1573,1597,1546,1460,1349,1390,1422,1614,1814,1943,1850,1884,1917,2277,2087,1885,2077,2313,2712,2304,1687,1888,1964,2011,1582,1353,1575,1884,1908,2106,1842,1878,2138,2092,2011,2278,2430,2177],[1440,1577,1639,2024,1639,1774,2250,2116,1851,1751,1759,1640,1548,1498,1874,1955,2116,2175,2161,2488,3116,3119,2651,2538,2910,3462,3095,2414,2743,3020,3539,3962,3230,3574,3986,4106,4259,4016,3008,2836,3692,3382,3042,2664,2661,3041,2524,2589,2665,2745,3151,3270,2511,1730,1917,2683,3555,3288,2717,2750,3044,2269,2334,2429,2524,3466,4043,3172,2496,2779,2461,2513,2263,2612,2176,2236,2170,2434,2510,2588,2874,2873,3099,3431,3518,3328,2880,2712,2446,2213,3218,3242,3391,3339,3112,2997,2911,3378,4153,3397,1644,980,1589,2955,3690,3743,2605,2292,2454,2231,1888,2351,3481,3210,2687,2314,2410,2669,3091,3383,2996,2856,2975,2875,2758,2735,2107,1606,1686,2469,3042,3648,3585,2430,2048,2232,2800,3328,2797,1924,2067,2561,2576,1887,1338,1102,1754,2042,1441,1794,2984,3173,3050,2984,2391,2567,2376,2472,3021,3317,3018,2186,2196,2014,1643,1956,2314,2483,2280,1974,2365,2808,2577,2506,3198,3448,3803,3679,3103,2625,2830,3252,2942,2532,3486,3307,2745,2973,3136,3165,2927,2924,2474,2140,2375,2432,2205,2294,2851,3055,3046,3112,3365,3365,3581,3640,3554,3480,3002,2364,2432,3066,3488,3435,2683,2589,2498,2564,2820,2879,2623,2309,1996,2191,2719,2646,2437,2048,2555,2836,2423,1962,1879,2159,1978,1978,2815,3373,2799,2902,3301,3243,3295,3531,3320,2577,2576,2901,3079,2713,2288,2039,2078,2385,2538,2736,3191,3083,2874,2353,2513,2728,2435,3239,4113,3539,3317,3384,2911,2589,2198,1625,1159,1164,2019,2272,1498,1177,1157,1207,1524,1880,2089,1953,2010,2509,2837,2627,2535,2408,2194,2131,1793,1498,1694,2658,3583,3517,2541,1990,2408,2337,2439,2565,2417,2178,1876,1703,2185,2840,3008,2531,2366,1843,1733,1724,1845,1587,1368,1413,1718,2061,2342,2311,2016,1887,2256,2348,2379,2129,2438,3483,3486,3112,2622,2280,2382,1642,2476,2185,2101,2297,1905,1643,1897,2521,2929,2406,1963,2562,2420,1787,1996,1873,1688,2087,2251,1989,2105,2486,3185,3072,2271,1787,1566,1898,1918,1906,2100,2115,1942,1991,1955,2153,2712,3341,3238,2984,2648,2457,2942,2292,2072,1976,2030,1842,1845,1927,1978,1785,1621,1370,1192,1394,1619,1738,2168,2899,3174,2418,2293,2493,2363,2214,2176,2012,1726,1935,2683,2689,2833,2761,2484,2126,2055,2070,2138,2047,2030,2315,2123,2062,2025,1785,1714,1570,1542,1715,2193,2519,2434,2081,2511,3297,3333,2654,2176,1612,2202,2967,3308,2909,2328,2539,2857,3098,3221,3334,3570,3218,3084,3365,2887,2652,2856,3094,2988,2869,2776,2684,2818,2694,2669,2702,2260,2279,2697,2997,2569,2242,1996,2215,2424,2664,2818,2258,2318,3221,2979,3204,3413,3835,3494,3440,3139,3047,3001,2863,2524,2300,2541,2144,1964,2145,1793,1635,2063,2620,2365,2015,2061,2006,1866,1745,1747,1732,1921,1920,1622,1676,1985,1869,1542,1405,1394,1226,1129,1505,2148,2019,1247,1543,1708,1789,1770,1611,1575,1425,1471,1652,1640,1453,1553,1999,2460,2607,2014,1702,1980,3515,4070,4208,3608,2617,2261,1838,1557,1426,1456,1513,1507,1769,1571,1908,1808,1475,1306,1007,975,1157,1363,2518,3847,3277,2430,2029,3065,3152,2851,2217,2160,2514,2465,2048,1917,1656,1664,2128,2731,3117,2807,1954,1467,1443,1653,1895,2037,2216,2584,2686,1945,1772,2042,2241,2098,2097,1863,2251,2341,2182,2225,2121,2041,1906,2484,2680,2326,1882,1550,1376,1970,1843,1554,1748,1939,1619,1513,1860,1773,1677,2210,1963,2757,2523,1944,1906,1847,1957,1974,1774,1909,2174,2347,2855,3252,2678,1781,1708,1441,1362,2120,2141,1610,1891,2142,2038,2276,2213,2109,1905,1506,2799,3811,3352,2937,2797,2473,2193,1931,1280,1550,1851,1816,1962,3090,2956,2856,2708,2712,3042,2898,2275,2717,3719,3501,3044,4105,4474,4209,3682,3254,2658,2138,1814,1775,2167,2331,2631,3041,3168,2974,2500,2049,1578,2513,3617,3671,2820,2352,1957,1698,2847,3670,2604,1856,1389,2377,3509,3563,3089,2283,2362,2525,2313,2504,2879,3234,3408,3314,2986,3460,3880,4086,4096,3937,3045,2062,2129,2470,2541,2271,1907,1932,2255,1958,1721,1843,2004,2930,3773,3759,3571,3276,2676,2148,2348,2437,2715,2656,2397,2276,2886,3760,3516,2480,2468,2563,2294,2221,1937,1856,1807,2218,2475,2133,1604,1594,2011,2377,2330,1873,1609,2321,2935,2714,2810,2686,2374,2601,2743,3161,3520,3372,3123,3135,3002,2525,2612,2450,2677,2372,2285,2331,2866,3012,2228,1748,1732,1328,1510,1848,2281,2788,2276,2641,2877,3177,2538,2294,2811,2675,2727,2864,2202,1712,1975,3140,2985,2221,2432,2510,3185,3704,3147,2760,2628,2518,2489,1916,2519,3535,3176,2857,2677,2831,3023,2454,2070,1975,2092,2275,2400,2557,2684,2238,2131,2424,2698,2971,3203,3106,2225,1815,2209,2674,2747,2622,2286,2555,3255,2945,3107,2742,2717,2745,2741,3085,2984,2792,3132,2661,2229,2374,2155,1970,1901,1944,2406,2756,2974,2743,2285,2725,2958,2684,2433,1967,2890,2755,3238,4038,4046,3913,3764,3120,2607,3305,3977,3901,4036,3808,3855,3902,3995,3837,3558,2722,3263,4165,3501,2752,2456,1990,2100,2144,2018,1936,1670,2201,2439,2289,2178,2316,2589,2578,2482,2461,2608,3607,3965,2700,2156,2627,2840,2398,2247,2230,2351,3341,3013,1458,1411,1606,2040,2635,2657,2237,1687,1930,2047,2031,1790,1636,1690,1762,1913,2207,2134,2029,3259,3867,3788,3596,3210,3392,3533,2554,2286,2621,2329,2100,1653,1501,1511,1646,1741,1606,1881,1888,1557,1395,1309,1554,1477,1381,1826,1643,1539,1707,1715,1644,1642,2491,3282,2896,2409,2183,2162,2404,2125,2275,1870,2043,2355,2047,1705,1984,2126,1772,1655,1521,1644,1528,1410,1465,2313,2318,1521,1623,2388,2582,2772,2833,2566,2282,1919,1793,2966,2891,1975,2070,2431,1804,2019,2598,2119,1550,1534,1455,1511,1483,1527,1559,1554,1804,1969,2145,2729,2670,2256,2342,2692,2698,2072,2061,2713,2867,2899,2931,2706,2565,2711,2643,2348,2102,2390,2880,2269,2027,2129,2392,2556,2434,2580,2866,2853,2077,2239,3421,3737,2928,2532,2419,2480,2287,1931,1542,1730,1847,1671,1567,1616,1989,2140,1799,1600,1572,1472,1376,1348,1272,1649,1602,1548,1759,1675,1633,1728,1740,2003,1942,1964,1511,1376,1312,1337,1447,1556,1502,1346,1355,1449,1586,1478,1536,1616,1671,2044,1735,1592,1600,1598,1663,1606,1469,1736,1911,1771,1626,1590,1715,1749,1518,1530,1483,1511,1599,1414,1320,1335,1414,1445,1408,1454,1455,1500,1410,2117,2006,1562,1538,1454,1246,1361,1378,1408,1328,1701,1678,1434,1369,1625,1629,1940,1977,1485,1273,1563,1562,1508,1649,1968,1938,1759,1843,2877,2995,1588,1074,2297,2730,2308,2006,1721,1954,2576,2198,1892,1628,1577,1858,2041,2242,2189,2248,2000,1703,1922,2190,2205,1997,2141,2300,2361,2294,2079,2401,2462,2979,3121,2666,2907,2856,2165,1870,1803,1558,1557,1470,1667,2057,2006,2054,2131,1727,1521,1577,1820,2155,2763,2357,2290,1842,1412,1207,1073,1408,1869,1919,2392,2835,2353,2028,2265,2693,2622,2558,2596,2495,2472,2547,2637,2257,1672,1417,1655,1883,1872,2092,2401,2700,2570,2132,2059,2059,2103,1997,2024,2102,2134,2149,1911,1874,1963,1714,1263,1292,1603,1647,1582,1997,2400,2963,2915,3384,3775,3638,3774,3383,2123,1485,1818,2955,3484,2688,2147,2168,2181,1909,2070,1907,1998,2289,2030,1857,1693,1446,1531,1771,1582,1559,1651,1903,2004,1737,1804,1698,1728,1828,1863,1815,1679,1671,1599,1503,1387,1886,1809,1654,1950,1936,1731,1732,1729,1930,2026,1803,2036,2272,2120,2219,2166,1999,1957,2195,2190,2026,2273,2494,1982,1812,1489,1499,1621,2209,1875,1739,1572,1449,2057,2435,2017,2156,2525,2421,2872,2469,3252,3199,2905,3144,2564,2022,1908,1808,2131,2609,2702,2207,2313,3099,2235,1613,1758,1975,2199,2519,2602,2227,2473,3489,3540,2654,2035,2208,3506,3773,3149,2681,2284,2222,2247,1926,1932,2578,3286,2780,2172,2070,1936,2498,3330,3469,3172,2877,3041,2997,2500,2887,3360,2774,2125,2806,2835,2898,3038,3272,2735,2182,2123,2293,2787,2624,2182,2181,2269,2427,3209,3819,3762,3121,2598,2918,3219,2944,2617,2457,2600,2359,2573,2942,2624,2530,2551,2405,2041,2132,2685,2947,2062,1904,2728,2512,1983,2382,2331,2126,2665,2698,2157,1995,1709,1497,1705,2048,2433,1679,1685,1998,2210,2270,2115,2514,2512,1893,1947,2066,2272,2843,2852,2266,2019,2369,2600,2210,2215,2599,2192,1709,1981,2110,2180,1867,1860,1900,1603,1581,1860,1546,1472,1638,1600,1637,1671,1560,1627,1306,1738,2089,2559,2185,1707,1825,2086,2000,1984,1968,1724,2056,2321,1956,1815,2238,1902,1601,1565,1700,1862,2047,2079,1873,1612,1563,1552,1729,1515,1638,1569,2118,1937,1604,1551,1488,1763,2055,1738,1614,1594,1515,1552,1802,1643,1556,1567,1570,1534,1610,1779,1935,2017,1854,1582,1456,1614,1642,1734,1576,1728,1789,1780,2501,2901,2390,2524,2676,2333,1874,1788,2008,1990,1931,1664,2061,2790,2553,2102,2089,2285,1981,1642,1778,1896,1749,1644,1621,2020,1814,1666,1773,1947,1931,1811,1616,1573,1573,1816,1859,2197,2045,1804,1712,1668,1731,1698,1754,1898,1586,1585,1721,1962,2077,1909,1942,2164,1972,2107,2045,1807,1896,2026,1868,1530,1589,1879,2207,2504,2424,2157,2258,2275,2403,2439,2024,2193,2500,2369,2183,1331,1404,1939,1663,1658,1951,1914,1806,1698,1429,1399,1213,1137,1375,1598,1985,1895,2226,2469,2556,2698,2353,2587,3617,3563,2339,1956,2548,2173,1389,1331,1530,1836,1873,2095,2125,1743,1968,2290,2116,2058,2307,2040,1793],[1509,1481,1935,2231,2089,2025,2228,2279,1931,1844,1744,1560,1625,1718,2258,3105,2980,2878,2574,2622,3039,3063,3300,3253,2722,2504,3072,3282,3611,3526,3861,4140,3525,3459,3903,4388,4469,4309,4224,3903,4124,4075,3554,2942,2777,2675,2265,2497,3138,3604,3508,3505,3251,2652,3084,3493,3567,3161,2806,2583,2707,2595,2668,2358,2396,3555,4092,3322,2623,2780,2118,2152,2198,2371,2094,2097,2048,2313,2556,2974,3230,3130,3171,3263,3176,2898,2852,2725,2361,2334,3150,3598,3488,3251,2905,2990,2614,3299,3963,2592,1162,947,2150,3196,3245,3061,2747,2189,1984,2289,2079,2499,3241,2957,2467,2287,2526,3125,3492,3311,3115,3182,3326,3052,2697,2498,2004,2264,2545,2852,2978,3240,3222,2609,2173,2541,2956,2864,2322,1928,2458,2588,2511,2097,1832,2292,2202,1601,1487,1956,2685,2520,2189,2619,2879,3200,2831,3275,3284,2698,2474,2186,2060,1980,1945,1931,1958,1965,1864,1732,2326,2912,2233,2349,2651,2730,3110,3012,2559,2353,2326,2637,2736,2513,3774,3522,2766,3111,3030,2940,3331,2851,2019,2371,2387,2579,2537,2235,2308,2831,2740,2657,3003,2966,3078,3451,3031,2796,3087,2752,2287,2430,3360,2933,2196,2162,1569,1641,2866,3625,3011,2475,2380,2370,2412,2156,1999,2054,2405,2176,2164,2192,2084,1888,1606,1650,2231,2997,3030,3008,3134,3426,3020,2872,2601,2337,2408,2667,2872,2635,2089,1900,1992,2208,2608,3095,3306,3153,2592,2412,2548,2630,2828,3505,3381,2979,2973,3344,3255,2643,2126,1948,1236,776,1558,2545,2666,2065,2144,2313,2187,1868,1844,1922,1894,2168,2400,2645,2565,2251,2056,1849,2239,2611,1952,2375,3023,2933,2543,2327,2461,2686,3264,3453,2633,2057,1708,1647,1898,2203,2109,2181,1983,1800,1619,1349,1169,1300,1378,1545,1731,1880,2708,2527,2360,2253,2654,3083,2568,1988,2740,3728,3523,2717,2416,2153,2702,2140,2267,2066,1983,1832,1662,2477,2888,2776,3005,2267,2294,2689,2438,2114,2332,2238,1816,2053,2058,2111,2029,2175,2872,3012,2178,1677,1682,1867,1732,2054,1755,1843,1872,1781,2032,2155,2008,2035,2019,2337,2454,2587,2438,2485,2154,1971,1978,1868,1700,1848,1766,1493,1578,1804,2010,2046,1560,1680,2688,3403,2957,2543,2490,2075,1760,1891,2217,1852,1740,1895,2502,2814,2814,2324,2036,2099,2151,2091,2040,1885,1926,2131,1901,1826,1924,1858,1793,1803,1707,1767,1943,2078,1919,1850,2141,2398,2299,1578,1306,1591,2486,3363,3407,2669,2244,2733,2894,2623,2468,2994,3521,3157,3128,3376,3256,2944,3079,3185,2795,2544,2670,2856,3028,2749,2735,2293,2088,2359,2881,2901,2822,2873,2416,2076,2181,2467,2631,2034,2164,3641,3772,3609,3563,3452,3100,2760,2795,3145,3154,2698,1935,1488,2244,2166,1880,2322,2170,1746,2444,2633,1934,1650,1734,1610,1656,1602,1889,1627,1489,1520,1634,1906,1923,1818,1733,1512,1450,1272,1235,1757,2190,2114,1736,2226,1916,2085,1863,1769,1658,1361,1380,1578,1700,1759,2254,2974,3460,3282,2033,1720,2094,3064,3223,2728,2010,1527,1411,1299,1225,1266,1472,1665,1748,1681,1675,1756,1745,1780,1871,1636,1424,1438,1655,2663,3442,2400,1769,1961,3150,2971,2321,2055,2199,2864,2686,1997,2020,1770,1936,2283,2170,2167,1934,1614,1642,1757,1925,1959,2098,2258,2584,2151,1765,1948,2300,2471,2292,2030,1893,1932,1922,2216,2007,1596,1476,1951,2430,2612,2447,1998,1635,1472,1927,1943,1555,1537,1751,1515,1682,2302,1820,1552,1787,2129,3242,3139,2776,2700,2287,2117,2129,2383,2124,2083,2130,2093,2403,2402,1728,1412,1203,1499,2185,2034,1656,2021,2370,2319,2262,2100,2254,2076,2234,3465,3944,3151,2538,2513,2297,2187,1731,1671,1765,1878,2002,2529,3471,2922,2170,2050,2395,2587,2102,1643,2105,3484,3761,3317,3784,3996,3437,2658,2164,1912,1881,1792,2316,2964,2986,2959,2924,2946,2570,1894,1760,1660,2536,3108,2688,2182,1932,1690,1948,3185,3702,2214,2161,1924,1764,2940,3592,2776,2182,2184,2532,2385,2222,2320,2973,3184,2669,2595,3111,3664,3914,3940,3950,2907,1716,1580,1854,2430,2764,2239,1851,2036,2054,1735,1734,2631,3675,4244,3979,3650,3841,3252,2059,2163,2525,2531,2313,2148,2304,2658,3003,2581,1841,2375,2555,1862,1525,1986,2195,2274,2360,2224,1978,1519,1767,2522,2578,2586,2328,2169,2323,2991,2498,1797,1896,2164,2371,2317,2651,3159,3056,3086,3054,2363,2110,2317,2214,2032,1795,1821,2215,2399,2222,2134,2158,2114,1667,1974,1892,2142,2082,2254,2644,2871,2984,2637,3241,3538,2853,2965,3255,2436,2250,2291,2696,3354,3260,3352,3218,3436,3647,3111,2950,2831,2426,2602,2152,2741,3175,2712,2589,2280,2451,2434,1752,1957,2403,2604,2973,2823,2255,2379,2570,2989,3305,3238,2604,2616,2899,2363,2447,2750,2742,2231,2562,2234,2176,2578,2353,2495,2325,2369,2684,2789,2746,2800,3229,3550,2302,1735,2235,2087,2204,2525,2788,2979,3030,2820,2109,2114,2824,2862,2526,2591,2526,3532,2711,3017,3960,3914,3820,3641,2840,2529,2808,3723,3527,3852,3961,3855,3763,3950,3448,2622,2360,2711,3294,2751,2120,1891,1782,2194,2377,2314,2024,1797,2010,2059,2041,2210,2498,3183,3334,2884,2569,2369,3144,3932,2887,2091,2078,2033,2056,2510,2513,2136,2778,2958,2015,1792,1642,1542,2082,2557,1949,1512,2021,2178,2006,1791,1903,1889,2190,1797,1682,2031,3045,4521,4689,4136,3716,3394,3211,3249,2574,2354,2601,2210,1674,1494,1446,1510,1643,1642,1592,2027,1881,1700,1621,1536,1848,1570,1616,1752,1431,1519,1835,1858,1778,1816,2395,2894,2670,2398,2138,2286,2468,2346,2433,1796,2141,2191,2136,2126,2306,2108,1596,1517,1434,1539,1549,1307,1558,2370,2155,1355,1783,2588,2531,2719,2879,2481,2200,2069,1871,1882,1942,2082,2271,2216,1593,1915,2479,2027,1600,1556,1356,1396,1516,1517,1436,1425,1673,2110,2720,3006,2867,2845,2374,1980,1937,1717,1743,2452,3143,2931,3011,2963,2852,3002,3107,2309,1756,2025,2548,2450,2330,2152,2070,2244,2270,2091,2246,2334,1989,2211,2919,3252,3272,2818,2428,2336,1821,1505,1596,1591,1673,1604,1560,1581,1671,1818,1819,1798,1954,1515,1423,1385,1456,1635,1424,1483,1765,1605,1382,1531,1698,1870,1855,1896,1693,1496,1379,1432,1483,1525,1642,1465,1624,1999,1784,1427,1409,1652,1781,1866,1644,1429,1417,1580,1650,1694,1646,1780,1701,1584,1499,1501,1534,1834,1717,1543,1472,1583,1619,1415,1367,1391,1350,1318,1392,1384,1400,1403,1433,1438,1437,1353,1372,1347,1279,1347,1420,1525,1891,1820,1526,1373,1477,1693,1455,1531,1825,1565,1232,1555,1486,1568,1937,2001,2029,1733,1434,2419,3275,2741,2636,2830,2647,2401,1933,1775,2133,2701,2491,2040,1322,1319,1731,2071,1926,1782,1960,1743,1860,1891,1915,2177,2193,2221,2178,2091,2018,2195,2226,2249,2563,2350,2609,2802,2584,1935,1700,1716,1558,1565,1676,1832,2072,2071,1709,2109,2098,2462,2509,2712,2901,2829,2520,2036,1264,1106,1600,1538,1420,1865,2143,2474,2740,2513,2381,2657,2762,2676,2697,2683,2701,2315,1965,1992,1284,1029,997,1171,1482,1738,2135,2262,2186,1716,1443,1537,1455,1644,1813,2082,1947,1475,1316,1376,1524,1525,1307,1274,1612,1917,1704,1948,2566,2644,3009,2773,2958,3666,3916,4019,3347,2355,2063,1968,2588,3112,2249,2135,2814,2481,2092,2282,2264,2167,1860,1730,1877,1598,1405,1514,1742,1431,1396,1540,1887,1708,1548,1550,1564,1732,1663,1974,2184,1815,1756,1892,1883,1839,2082,1883,1666,1681,1672,1635,1697,1716,1735,1739,1668,1795,1942,2182,2073,1952,1663,1941,1976,1530,1909,2259,2161,1736,1735,1590,1506,1708,2100,1667,1333,1347,1376,1867,2044,1948,2446,2694,2174,2460,2954,3108,2425,2229,2523,2561,2278,2318,1818,2036,2017,1911,2162,2435,3173,2886,2125,1735,2052,2483,2670,2632,2299,2121,2714,2840,2530,1963,1995,2441,2311,2077,2201,2340,2547,2701,2129,2150,2945,3737,2583,2322,2452,2080,2307,3251,3473,3015,3352,3514,2736,2228,2358,2370,2574,2920,2853,2562,2545,2887,3529,3116,2600,1967,2181,2854,2378,1905,2235,2642,2953,3356,3186,2929,2906,2908,3087,2713,2254,2347,2742,3029,2795,2619,2609,2483,2427,2601,2545,2154,2253,2525,2610,1876,1581,2669,2863,2314,2153,2066,2085,2567,2775,2045,1764,1623,1678,2388,2258,2618,2352,2453,2704,2508,2280,2222,2268,1962,1932,2111,2114,2127,2424,2447,2564,2327,1904,1902,1726,1772,2088,2025,1743,1714,2066,2394,1848,1927,1642,1424,1549,1666,1591,1547,1554,1640,1724,1693,1721,2361,1853,2054,1982,2053,1855,1938,1875,1602,1760,1920,2011,2143,2379,2149,1645,1635,1656,1781,1887,1772,2014,2316,2352,2447,2082,1702,1996,1838,1714,1523,2342,2376,2256,1824,1470,1463,1428,1514,1649,1470,1458,1415,1393,1773,2196,1955,1600,1562,1878,2010,1675,1736,2088,2191,2025,1866,1614,1582,1500,1471,1473,1511,1598,1805,2286,2631,2762,2806,2649,2480,2622,2774,3294,2684,1918,1722,2201,3095,3166,2375,2344,2808,2159,1998,2294,2423,2205,1787,1664,1983,1943,1719,1836,2027,2061,1811,1499,1720,2176,2048,2050,2569,2536,1975,1669,1626,1741,1881,1765,1671,1664,1698,1640,1886,1932,1881,2342,2396,2006,1986,1888,1990,2458,2474,2210,1961,1843,1752,1819,2142,2094,1789,1912,2312,2593,2557,1906,1987,2746,2363,1696,972,1068,1417,1440,1954,2348,2178,1998,1657,1336,1336,1428,1515,1529,1585,1843,2059,2263,2231,2613,3066,2805,3017,3982,3662,2365,2461,3649,2877,1790,1492,1524,1625,1871,2270,2252,2019,2069,2191,2262,2359,1698,1436,1776],[2164,1878,2203,2759,2621,2115,2350,2799,2461,2274,1800,1560,1852,2097,2303,2894,2474,2382,2584,2957,2754,2732,3597,3688,3061,2816,3494,3775,3850,3519,3428,3720,3572,3239,3417,3716,4241,4361,4672,4408,4232,4092,3765,3674,3535,2808,2574,2844,2824,2568,2775,2997,3704,3617,3609,3797,3429,3060,3239,3198,3146,3730,3507,1764,1446,3152,3978,3296,2677,2649,2377,2104,2035,2395,2944,3232,3121,2728,2915,3407,3492,3480,3312,3009,2575,2220,2543,2744,2675,2757,2961,3111,2967,3059,2885,2526,2177,2529,2965,2338,1746,1602,2512,3205,3105,3158,3061,2806,3142,2763,2218,2589,3203,2455,2226,2260,2715,3245,3162,3360,3375,3011,2678,2454,2509,2437,2570,2598,2559,2862,2873,2789,3009,3082,2609,2646,2689,2586,2160,2053,2685,2853,2688,2468,2406,2293,1865,1748,2178,2696,3107,2967,2221,2626,3111,3236,2975,3138,2668,2081,1979,2006,2138,2287,2640,2387,1980,1846,1793,1896,2371,2346,1729,2337,3018,2754,2718,2634,2692,2556,2161,2406,3048,3123,3273,2810,2953,3884,4003,3495,3553,3234,2657,2865,2815,2920,2866,2809,2840,2684,2287,2275,2883,3046,2890,3199,3108,2805,2813,2561,2465,2284,2750,2653,2601,2548,1815,1288,2274,3275,2598,2723,2886,2613,2100,1744,1614,1785,1754,1931,2276,2226,1807,1569,1654,1937,2191,3410,3764,3350,2927,2891,2517,2288,2269,2131,2158,2632,2648,2571,2322,2103,1801,1896,2139,2471,2637,2503,2363,2458,2714,2900,2911,3242,3536,3632,3029,2861,2858,2673,2958,2891,1871,1139,1527,2814,3730,2689,2339,2664,2777,2357,2037,1833,2040,2285,2256,2569,2685,2182,1754,1812,2197,1954,1851,2164,2626,2491,2116,1998,2040,2047,2326,2598,2005,1891,2019,1942,1776,2099,2200,2062,2038,2199,2176,1930,1882,1832,1736,2144,1846,1542,2260,2127,2223,2323,2568,2789,2395,1914,1989,2697,2943,2287,2267,1941,2364,2441,2189,2084,2093,2128,2438,3108,3220,2501,2148,1609,2183,2393,2231,2104,1909,1642,1687,1782,1719,1856,1957,1997,1936,2256,2064,2074,2163,1866,1932,2069,1630,1703,1745,1692,2222,2123,1408,2092,2245,2587,3053,2864,2613,2645,2304,2038,2223,2547,2051,1903,1795,1860,1916,2735,2969,2809,2758,2438,2809,3063,2688,2453,2285,2229,2211,2390,2265,2077,1770,1907,2440,2604,2851,2801,2459,2086,2011,2080,2006,1896,1828,1853,1553,1631,1748,1850,1919,1932,1925,1857,2002,2161,1937,1956,1958,1901,1914,1650,1517,2174,2928,3228,3174,2599,2315,2764,2661,2910,2931,3371,3233,2994,3059,3273,3251,3020,3146,2977,2620,2420,2823,3211,3395,3060,2428,1934,2085,2280,2409,2201,2376,2590,2258,2194,1868,1901,1879,1701,2601,3702,3842,3865,3153,2588,2874,2840,2702,3317,3538,2535,1550,1237,1998,1841,1979,2812,2289,1915,2377,1955,1284,1405,1893,1803,1811,1511,1830,1603,1482,1434,1605,1915,2008,1865,1708,1763,2171,1807,1809,2106,2447,2293,2024,2102,1820,2056,1901,1738,1664,1361,1613,1872,2200,2367,2989,3272,3152,2921,2053,1630,2279,2817,2083,1537,1312,1250,1156,1162,1115,1207,1409,1581,1619,1508,1792,2249,2202,2075,2004,1787,1360,1245,1435,1917,2721,2565,2301,2093,2489,2579,2541,2886,2818,3166,2485,1987,1796,1555,1759,1927,1659,1771,1893,1878,1760,1714,1839,1901,2135,1866,2077,1652,2004,2114,2467,2911,2734,2308,2227,2185,2316,2488,2108,1825,1418,1613,1845,2040,2026,1952,1594,1676,2197,2025,1865,1464,1688,1655,1939,2215,1786,1960,2154,2366,3031,2577,2087,2285,2107,1989,1774,1942,1804,2346,2359,2220,2287,2011,2127,2233,1929,2050,2351,2384,2005,2192,2171,2342,2014,2170,2430,2566,3199,3802,3672,2885,2893,2142,2195,1995,1787,1498,1501,2145,2164,2542,2850,2718,2112,2136,2610,2787,2346,2033,2220,3003,3441,2990,2853,2707,2172,1952,1855,1765,1642,1712,2496,2845,2967,2908,2890,2915,2522,1954,1756,2095,2374,2821,3216,2531,1763,1458,2146,3311,3732,2503,2725,2483,1666,2676,3020,2376,2125,1982,2191,2584,2012,1751,2172,2548,2595,2771,2910,3001,3369,3798,3291,2134,1716,1678,1426,1510,2260,2486,2144,2252,1987,1234,2210,3731,3958,3951,3902,3752,3862,3405,2670,2534,2745,2600,2140,1854,2002,2500,2573,2258,2158,2424,1797,1224,1425,1984,2311,2741,2526,2094,2376,2405,2026,2263,2708,2661,2537,2452,1921,2194,1816,1701,2418,2520,2114,1880,2302,2578,2617,2584,2408,2379,2347,2360,2226,1925,1613,1695,2189,2260,2309,2401,2121,2034,1731,1934,2227,2437,2182,2372,2601,2874,3341,3221,3033,3156,2821,2727,2595,2937,2822,2342,2613,3573,3830,3286,2978,3189,3235,2934,2497,2711,2708,2365,1663,2534,3111,3160,2879,2260,2630,2394,2066,2821,2854,2386,2283,2329,2448,2355,2292,2430,2696,2728,2542,2780,3090,2742,2957,2304,2061,1879,2132,1805,1798,2033,1982,2181,2205,2069,2733,3242,2511,2428,2779,2917,2429,2013,2335,2520,2374,2391,2720,2740,2623,2292,1743,1959,2168,2221,2591,2851,2342,2543,2438,2699,3421,3802,3871,3915,3199,2951,2619,3465,3408,3329,3621,3698,3122,3462,3592,2988,2500,2082,2132,1806,1814,2081,1967,2559,2428,2082,2078,1760,1510,1874,2053,2013,2321,3053,2192,2432,2439,2247,2362,2844,2613,2234,2077,2047,2166,2384,2320,1748,2233,3012,2602,1858,1441,1315,1737,1988,1497,1809,2372,2154,2149,1876,2130,2321,2260,1845,1824,2604,4108,4633,4665,4328,3772,3237,2731,2866,2900,2376,2236,1794,1506,1471,1595,1758,1715,1570,2063,2214,1610,1605,1558,1726,2146,1707,1612,1619,1466,1473,1439,1321,1288,1430,1758,2386,2492,2362,2164,2331,2343,2655,2119,1947,2297,2056,2272,2297,2196,1723,1634,1531,1434,1581,1555,1281,1831,2380,2055,1667,1992,2547,2639,2646,2898,2735,2481,2102,1719,1446,1691,1983,1959,1424,946,1263,1799,1774,1490,1381,1340,1467,1597,1572,1448,1427,1819,2634,2911,2568,2506,2659,2449,2021,1820,1591,2299,3250,3218,2539,2762,3198,2747,2533,2758,2625,2190,2415,2721,2471,2532,2165,1923,2415,2380,2471,2934,2562,2364,2449,2651,2633,2861,2432,2438,2194,1674,2124,2032,1548,1763,1721,1519,1405,1259,1447,1769,1757,1751,1583,1518,1467,1422,1360,1333,1446,1533,1327,1415,1541,1771,1966,2411,2252,1761,1716,1982,1958,1808,1691,1772,1678,1948,2084,1494,1295,1522,1643,1520,1527,1365,1202,1456,1607,1678,1812,1654,1546,1528,1580,1529,1394,1520,1757,1758,1512,1472,1756,1571,1426,1392,1384,1485,1394,1336,1353,1379,1394,1424,1522,1626,1388,1493,1559,1540,1481,1427,1681,2114,1882,1514,1449,1677,1768,1666,1383,1379,1425,1348,1388,1478,1509,1900,2689,2677,2291,2272,2315,3119,3068,3286,3322,3322,2998,2192,1895,2275,2045,1473,1263,1243,1453,1635,1695,1366,1237,1638,1876,2099,1841,1917,2287,2166,1861,1866,1856,1772,1744,1777,1744,1735,2199,2410,2634,2589,2046,1886,1876,1848,1690,1547,1641,1676,2004,2085,2359,2361,2777,2320,2548,2802,2457,2609,2332,1582,1308,1748,1834,1722,2055,2415,2912,3339,3138,2802,2731,2819,2839,2840,2641,2607,2237,2305,2178,1335,1192,1351,1375,1535,1873,2005,2140,2026,1627,1540,1481,1492,1742,2102,2254,1706,1361,1395,1471,1510,1424,1431,1662,2094,1963,1550,1897,2364,2364,2773,2561,2306,2842,3339,3637,3207,2001,1614,1622,2032,2434,2261,2136,2608,2501,2280,2137,2001,1863,1881,2048,2080,1470,1375,1409,1490,1496,1438,1458,1532,1530,1704,1987,2114,2063,1683,2100,2213,1696,1903,2149,1865,1758,1825,1846,1798,1599,1649,1821,1813,1758,1784,1716,1575,1720,1793,1887,2226,2321,2004,2047,1771,1647,2126,2257,2101,1960,1974,1734,1734,1880,2234,1809,1391,1392,1446,1587,1665,2018,2403,2503,2518,2429,2955,2909,2309,2170,2111,2388,2276,2396,2067,2215,2192,1920,2079,2363,2665,2845,2690,2811,2758,2610,2122,1902,2285,2367,2204,2131,2069,1970,1942,1977,2009,2227,2144,2291,2558,2263,2279,2621,2957,3610,3116,2661,2606,2100,2192,2985,3661,3653,3122,2701,2552,2911,3365,3226,3409,3685,3019,2797,2953,3055,4100,3442,2347,2199,2601,2987,2267,1956,2623,2732,2609,2621,2302,2461,2930,2863,2961,2784,2293,2428,2585,3028,2778,2315,2503,2207,1964,2242,2415,2177,1820,2062,2462,2544,2866,3211,2999,2686,2293,2226,2745,3169,3183,2400,2166,2221,1908,1543,1660,2519,3008,3310,3143,2163,1800,2222,2499,2024,2127,2062,1975,2075,2480,3084,2886,2105,2035,2287,2229,2181,2452,2808,2482,2229,2360,2330,1824,1704,1682,1592,1751,1852,1627,1629,1584,1698,1771,1879,1966,2385,1932,1772,1746,1715,1799,1948,1753,1596,1710,1850,1951,2105,2149,1710,1440,1498,1612,2168,2337,2024,2265,2171,2165,2362,1965,1641,1866,1802,1694,1606,2030,2039,1603,1493,1520,1563,1493,1434,1445,1363,1266,1391,1749,1899,2190,2150,1896,1657,1758,1993,1881,1794,2044,2431,2260,2151,1836,1676,1584,1517,1486,1451,1527,1668,2023,2525,3353,2875,2880,2633,2684,3061,3139,2344,1890,1944,2100,3208,2958,2423,3134,3428,2941,2595,2258,2073,2537,2199,1719,1955,1824,1674,1824,1847,1789,1597,1614,1837,1823,1612,1593,2187,2541,2082,1700,1641,1693,1833,1707,1534,1804,1685,1465,1663,1749,1901,2031,2037,2025,1880,1717,2099,2735,2598,2890,2587,1903,1721,1793,1786,1803,1861,1787,2179,2510,2142,1820,1901,1891,1395,1383,1550,1684,1467,1724,2069,1784,1785,1997,1880,1840,1565,1506,1683,1546,1625,1870,2083,2056,1800,2166,2789,2856,2846,3299,3098,2193,2493,3190,2844,2237,1744,1415,1401,1543,1890,2197,2247,2526,2475,2675,2600,1853,1658,1806],[2500,2607,3078,3293,2707,2073,1992,2033,2380,2396,1990,1944,2046,2280,2238,1841,2053,2325,2511,3473,3327,3150,3703,3996,3350,2989,3216,3829,4075,3863,3441,3316,3464,3197,2820,2887,3628,4085,4484,4190,3845,3725,3682,3708,3356,2707,2768,2950,2810,2584,3217,3516,3647,3144,3499,3851,3599,3131,3162,3498,3498,3880,3251,1631,1300,3060,4012,3050,3139,2972,2350,1843,1848,2661,3680,3804,3727,3535,3320,3218,3304,3204,3015,2745,2122,2065,2943,3134,2595,3075,3384,3331,3116,3265,3122,2348,2212,2469,2591,2792,2862,2562,2588,2798,2998,2936,2845,3188,2996,2612,2265,2751,2873,2690,3111,2709,2950,2930,2756,3150,3098,2690,2477,2387,2442,2447,2544,2541,2568,2553,2658,2768,2719,3076,2907,3072,3216,2825,2066,1438,1384,1808,2469,2728,2697,2558,2295,2550,2956,2641,2322,2844,2454,2301,2644,2688,2480,2249,1881,1923,2148,2331,2166,2107,2370,2396,2306,2208,1905,2076,2386,2037,1681,2126,2695,2770,2880,2586,2634,2518,2400,3308,3162,2548,2334,2143,2411,3254,4058,3678,3429,3389,2679,2748,3220,3184,3532,4052,3838,3070,2553,2655,3002,3076,2800,2665,2723,2618,2709,2980,3110,2805,2407,2220,2360,2618,2485,1902,2062,2051,1715,2645,2803,2423,2157,1836,1494,1470,1747,2034,2322,2631,2073,1820,1936,2222,3198,3527,3731,3431,2714,2714,2793,2329,1887,1834,2296,2446,2159,2629,2832,3206,2562,2190,2289,2207,2270,2274,2123,2764,3052,3229,3765,3817,4448,4584,4095,2999,2285,2489,2680,2740,2430,2288,2066,2752,3020,2193,1766,2484,3239,2942,2266,1813,2024,2480,2441,2304,2140,1618,1403,2032,2048,1962,2145,2599,3216,2908,2006,2020,2121,2213,2374,2171,1752,1998,2474,2332,2292,2548,2316,1958,1924,2138,2393,2578,3154,2790,2353,2218,1920,1779,1896,1781,1950,2092,2026,2151,2216,2120,2302,2565,2590,2303,2245,2165,2429,2596,2434,2214,2308,2777,3440,3626,3398,2534,2144,1664,1975,1897,1708,1916,1818,1730,1910,1894,1814,1802,2098,2349,2322,2774,2858,3094,3024,2353,2064,1866,1686,2127,2071,1785,2004,1542,1482,2244,2631,2906,3234,3274,3210,2455,1781,1752,2084,2525,2107,1698,1685,1919,2007,2967,2624,2022,2037,1929,2209,2535,2547,1879,1741,2566,3120,3121,2185,2093,1629,1847,2077,2063,2388,2477,2187,1898,1842,1940,1958,1972,1720,1643,1788,1965,1844,1713,1731,1861,1968,2005,2020,2196,2066,1872,1672,1672,1886,1681,1857,2497,2551,2799,2733,2338,2348,2935,2544,3263,3882,3551,3144,3430,3500,3313,2950,2756,2917,2843,2912,3287,3329,2976,2750,2340,1748,1618,1636,1556,1580,1816,2076,2591,2547,2133,1624,1714,1917,2465,3540,3928,3874,3602,2566,2613,3105,2554,2294,2643,2600,2048,1494,1749,2189,1796,1936,2133,1676,1779,2232,1670,1281,1610,1781,1799,1788,1634,1742,1485,1116,1248,1500,1887,2244,2269,1981,1926,2295,2196,2310,2256,2566,2380,2196,2113,1794,1632,1672,2149,2057,1733,2485,2846,2951,2835,2732,2750,2988,2734,1974,1715,2652,3394,1910,1419,1397,1406,1507,1433,1329,1528,1746,1933,1879,1684,1990,2237,2068,1885,1665,1155,695,1166,1656,1762,2320,2702,2456,1938,1986,2229,2098,2187,2226,2292,1976,2063,1964,1577,1634,1808,1748,2039,2457,1995,1589,1680,2060,2282,1996,1715,2240,2146,2264,2360,2351,2596,2615,2189,1908,2344,2289,2591,2664,2747,1927,1490,1621,1565,1634,1721,1516,1815,2103,2451,2158,1570,1562,1811,2108,2285,2035,2002,2142,2281,2645,2225,2500,2734,2261,2083,2116,2417,2088,2360,2281,2329,2400,2366,2554,2373,2589,2118,2245,2421,2275,2333,2223,2353,2663,3010,2888,3517,3913,3771,3593,3145,2640,1708,1656,1751,1943,1673,1873,1886,2435,3166,2853,2551,1944,1957,2316,2811,2820,2344,2866,3329,3217,2758,2281,1875,1838,1975,1952,1774,1427,1596,1964,2381,2734,2836,2889,2868,2896,2854,2298,2158,2209,3206,3386,2285,1790,1519,2644,4064,4148,2722,2337,2239,1642,2264,2788,2429,2063,2158,2155,2322,2101,2427,2226,2001,2297,2327,2241,2078,2842,3397,2567,2442,2382,2147,1688,1415,1490,1829,2375,2381,1640,1875,3542,4062,4081,3717,3613,3575,3783,3882,3460,2985,2678,2355,2047,1706,1631,2013,2248,1922,2269,2595,2198,1823,1945,2586,2701,2071,1992,2386,2758,3117,2537,2519,2857,2615,2571,2240,1814,1709,1419,1859,2773,2424,1980,2421,2604,2373,2818,3123,2677,2280,2383,2498,2352,2396,1980,2010,2082,2081,2624,2680,1996,1808,2226,2644,2674,2735,2674,2544,2395,2416,2711,2808,2430,2350,2610,2750,2670,2742,2708,2406,2884,3737,3432,2689,2193,1649,2354,2764,2236,2555,2590,1663,1014,1996,3012,3418,2610,2328,3009,2790,2666,2637,2136,1613,1649,2213,2614,2491,2092,2186,2626,2778,2440,2678,2473,2884,2940,2401,2109,1875,2279,2473,2448,2537,2519,2640,2868,2510,2863,3216,2552,2734,3061,2890,2577,2534,2711,2548,2270,2231,2684,2857,2456,2504,2101,2435,2836,2845,3120,2983,2409,2134,2223,2485,3364,3811,3796,3934,3730,3177,2500,3184,3254,2823,3312,3168,2410,2767,2460,1933,1670,2134,2387,2269,2430,2525,2173,2686,2856,2415,2098,1937,1709,1712,1494,1793,2320,2679,2058,2078,2266,1901,2192,3086,3188,2588,2254,2426,2702,2524,2254,1989,2268,3159,2839,1847,1549,1664,2077,2030,1644,1984,2299,1669,1933,1806,1767,1878,1712,1707,2054,3439,4308,4108,4240,3698,3292,3135,2292,2048,2623,2493,1964,1588,1324,1353,1681,1850,1509,1916,2342,2007,2154,1854,1468,1578,1904,1665,1586,1804,1731,1330,1179,1211,1224,1121,1525,2167,2309,2402,2176,2126,2564,2841,2034,2199,1910,1902,2066,2031,1916,1527,1607,1724,1780,1815,1554,1403,1989,2353,1938,1516,1847,2712,2666,2522,2865,2806,2490,2065,1632,1460,1788,1887,1329,1042,1108,900,1710,2041,1754,1379,1432,1648,1826,1675,1446,1410,1548,2099,2531,2534,2204,2532,2655,2298,2146,1883,2036,2888,3670,3396,2976,2734,2292,2850,3296,2949,3043,3211,3310,2855,2523,2109,2128,2547,2371,2558,2890,2301,2102,2458,2662,2800,2648,2499,2618,2113,1793,2027,1771,1786,1663,1483,1350,1319,1293,1489,1706,1735,1542,1435,1561,1473,1426,1632,1457,1302,1329,1360,1425,1440,1461,1784,2068,1899,1876,2008,1966,1871,1612,1527,1531,1681,1832,1605,1404,1406,1560,1447,1223,1443,1479,1512,1398,1692,1784,1773,1612,1348,1518,2051,1982,1473,1652,1887,1676,1474,1831,2032,1615,1357,1346,1344,1328,1335,1340,1353,1428,1428,1394,1419,1400,1361,1589,1726,1572,1473,1494,1647,1731,1836,1730,1621,1499,1496,1548,1273,1261,1457,1497,1570,1506,1355,1450,2078,2751,3024,2956,2588,2834,2821,3575,3837,3505,2475,1897,1983,2030,1680,1237,1246,1387,1760,2052,1896,1274,1530,1968,2283,2187,1606,1699,2190,1857,1818,2674,2076,1856,1787,1691,1586,1627,2148,2203,2498,2709,2497,2471,2176,1926,1890,1844,1954,1926,2390,2322,2395,2349,2350,2334,2416,2345,1903,2237,2553,1782,1706,2168,2110,1730,1990,2440,2984,3818,4288,3364,2638,2757,2743,2436,1953,1898,2374,2166,1968,1620,1477,1864,2028,1971,1952,2097,2167,2047,1974,1870,1658,1639,1822,1985,2047,1910,1863,1870,1889,1954,1992,1974,2137,2206,1929,1730,1833,2007,2236,2912,2954,2501,2587,2912,3248,2820,1907,1749,1812,1800,1776,1809,1990,2439,2632,2519,2069,1840,1627,1538,1520,1525,1321,1415,1639,1559,1500,1503,1483,1494,1531,1746,2340,2206,1839,1644,2059,2018,1688,1874,1898,1650,1611,1671,1756,1858,1820,1850,2046,2050,1945,2001,1925,1901,2047,2071,2225,2820,3122,2460,2400,2157,2046,2646,2578,2115,2130,1945,1962,2108,2356,3001,2198,1840,1438,1681,1775,1588,1904,2412,2304,2140,2192,2570,2316,1811,1865,1898,2338,2565,2307,2094,1807,2032,1817,1476,1743,2512,2984,3030,2956,3271,3595,2950,3123,3462,3100,2455,1911,1745,1896,2178,2708,2880,2407,1855,2211,2600,2710,2648,3075,3120,3218,3338,2917,2518,1942,2032,2508,3121,2822,2580,3145,3749,3693,3768,3458,3099,3448,3218,2899,2640,2566,3287,3127,2776,2821,2828,2976,2930,2796,2797,2766,2739,2788,2822,2691,2791,2775,2954,2959,2890,3060,2752,2645,2429,2128,2925,2723,2069,2321,2603,2226,1971,2053,2732,2956,2872,2895,2773,2976,3186,3310,3254,3257,3054,2577,2566,2657,2148,1456,1716,2649,3190,3206,2831,1916,1875,2494,3024,2499,2458,2065,1928,2320,2633,2732,2106,1725,2072,3122,3096,2981,2844,2717,2699,2344,1798,1507,1444,1594,1924,2162,2261,2061,1644,1535,1443,1532,1599,1992,2408,2365,2001,1896,1936,1979,2052,1873,1764,1658,1722,1704,2040,2318,2060,1628,1456,1647,1980,1910,1927,2229,2456,2189,2078,1809,1599,1633,1749,1449,1365,1492,1556,1412,1372,1505,1556,1498,1403,1376,1324,1331,1529,1770,1884,1738,1696,1837,1947,1670,1673,1740,1718,1694,1998,2392,2376,2200,1966,1855,1628,1502,1487,1440,1665,2154,2106,2502,3238,3017,3166,3027,2880,3000,2579,1921,2198,2577,2485,2774,2253,2729,3406,3614,3422,2954,2320,2083,2222,1996,1706,1599,1632,1677,1560,1533,1606,1661,1638,1584,1553,1493,1530,2032,2513,2264,1971,1879,1934,1794,1590,1671,1680,1511,1560,1624,1754,1841,1862,1754,1754,1773,1636,1891,2186,2405,2677,2525,2354,1959,1820,1922,1920,1855,1654,1966,2351,1949,1996,1942,1701,1775,1734,1771,1804,1647,2184,2079,1420,1622,1864,2015,1710,1526,1612,1660,1621,1795,2031,2025,2091,2062,1873,2262,2319,2046,2493,2847,1832,1945,2536,2315,2120,1893,1605,1652,1654,1858,2258,2283,2276,2058,2243,2159,1765,1625,1730],[2055,2426,2889,2631,2337,2165,1768,1564,1738,2016,2099,1863,1872,2234,2045,1653,1781,2190,2645,3154,3640,3419,3594,3703,3284,3360,3865,4240,4136,3768,3071,3460,3754,3626,3162,2775,3231,3987,4100,3543,3348,3282,3084,3154,2962,2446,3139,3561,3750,3815,3971,4089,3651,3251,3488,3457,3442,3413,3081,3426,3439,3696,3112,2281,1940,3055,3572,2796,2862,3216,2885,2699,2649,2673,3483,3951,3703,3739,3731,3310,2902,2731,2950,2814,2322,2578,3400,3022,2430,3046,3515,3618,3586,3783,3362,2365,2142,2473,2647,2677,2432,2312,2329,2309,2365,2539,2585,2815,2383,2208,2298,3063,3507,3820,3738,2577,2406,2360,2300,2711,3007,2165,1433,1406,1965,2442,2259,2326,2536,2490,2664,2702,2644,2665,2686,2967,3196,3317,2315,1216,1184,1833,3012,2771,2458,2980,3072,3094,2594,1520,1054,1717,1989,2044,2236,1952,1725,1808,1982,2121,2150,2259,1875,1993,2602,2721,2828,2859,2408,2203,2005,1798,1823,2513,3166,3322,3003,2586,2533,2263,2720,3728,3697,3221,3040,3130,2965,3370,3691,3664,3252,3250,2966,2915,2918,2816,3198,3914,3985,3740,3146,3052,3188,3120,2940,2709,2730,2601,3067,3427,3349,3221,2852,2359,2456,3042,3088,2168,1771,1245,1305,2092,2358,2357,2609,2141,1718,1878,1931,1935,2645,3155,2764,2157,2056,2624,3687,3761,3674,3210,2696,3015,2874,2300,1908,2318,3461,3466,2517,2994,3213,3178,2852,2547,2448,2136,2403,2476,2261,3140,3726,4216,4617,4540,4184,4078,4396,3554,3042,3350,3283,3050,2819,3493,3276,2830,2424,2044,2062,2354,2706,2577,2020,1815,1745,1995,2370,2322,1975,1849,1582,1888,2261,2315,2164,2745,3320,2740,1854,2035,2446,2756,2735,2325,2091,2437,2596,2744,3032,2691,2497,2692,1912,2069,2285,2334,3100,2755,2249,1865,1808,2193,2259,1930,2090,2402,2092,2166,2286,2337,2432,2578,2539,2434,2510,2428,2273,2382,2482,2509,2677,2904,3228,3396,3494,2743,2658,2543,2477,2184,2169,2355,2149,1926,1878,1730,1614,1761,2443,2439,2267,2458,2558,3057,3261,2890,2497,2020,1859,2320,2018,1556,1486,1487,1865,2253,2774,2841,2827,2966,2832,2211,2081,2182,2654,2812,2285,2010,2143,2404,2501,2495,2026,2014,2052,1588,2120,2397,2221,2214,2112,2043,2054,2006,2193,2403,2028,1656,1696,1646,1907,2418,2379,2361,2111,1957,2214,2097,1663,1530,1695,2016,2150,1802,1737,1804,1953,2025,1831,1963,1913,1753,1601,1688,2036,2271,2498,2670,2341,2448,2403,2117,2112,2225,2190,3079,3337,3089,2986,2966,3355,3328,3464,3383,2819,2541,2208,2420,2620,2681,2737,2612,2172,1626,1654,1696,1750,1818,1613,1913,2232,2021,1769,1738,1870,2518,3333,3535,3714,3715,3145,3466,2963,2167,2278,1945,1745,1754,1793,1865,1670,1936,2170,1820,1439,1534,1892,2561,1931,1682,1761,1594,1782,1866,1745,1413,1295,1820,1786,2028,2584,2588,1920,1925,1913,2352,2303,2322,2585,2271,1960,2064,1627,1521,1473,1628,1900,2113,2899,3712,3585,2857,2186,2207,2943,2691,1771,1817,2690,2996,1764,1338,1429,1405,1619,1749,1716,2178,2813,2785,2416,1988,1713,1965,1918,2338,1711,885,1043,1588,1708,1773,2131,2526,2426,2141,2754,2790,1900,1759,1759,1845,1895,2011,1975,1669,1782,2192,2054,2117,2236,1937,2106,2513,2871,2968,2241,1833,1952,1885,2229,2492,2266,1996,2110,2057,1671,1975,2215,2571,2503,2276,1714,1425,1427,1374,1495,1745,1883,1954,1621,1770,1622,1476,1356,1557,1961,2244,2033,1738,1758,1573,1970,2019,2568,2472,2150,2082,2052,2065,2141,2132,1839,1730,1778,2136,1988,1853,1827,1621,1886,1925,1854,1875,2263,2645,2782,2604,2919,3804,3539,2788,3294,2958,2017,1701,1758,1625,1452,1787,1831,1779,3045,3516,2949,1928,1610,1473,1902,2581,2456,2424,2907,2756,2150,1724,1880,2250,2443,2036,2034,1883,1571,1497,1627,2007,2413,2731,2998,2964,2647,3075,2426,1927,2179,3120,2884,1967,1893,1937,2760,4281,4135,2932,2281,1938,1851,2492,3326,3041,2292,1935,1802,1953,2308,2519,2248,1905,2110,2521,2316,2207,2718,2619,1907,2070,2627,2639,2428,2091,1728,1982,2828,2055,1725,3162,4079,3738,3896,3892,3740,3623,3906,4059,3535,2923,2431,2239,1880,1759,1877,2155,2086,1879,1934,2181,2335,2154,2360,2554,2071,1440,1901,2288,2719,2934,2143,2619,2510,1875,1980,2359,2608,2239,2078,2367,2999,2456,2377,2809,2940,2684,2808,3583,3618,2700,2460,2750,2767,2596,2261,2217,2438,2319,2601,2327,2038,2104,2365,2640,2840,3174,2908,2407,1997,2118,2391,2551,2494,2286,2685,2885,2644,2878,3230,3109,3016,2836,2484,2369,2019,1549,1942,2220,2082,1981,2376,2222,1918,2292,2007,2115,2024,2533,2742,2163,1942,1864,1809,1965,1752,1743,2321,2490,2446,3075,2923,2813,2260,2348,2121,2588,2362,2307,2281,2089,2707,2914,2907,2601,2382,2483,3500,3018,2975,2699,1911,1974,2222,2148,2091,2408,2362,1831,2343,2858,3242,2689,2243,2920,2695,2688,2513,2364,2755,2787,2165,2193,2629,3343,3868,3497,3449,3749,3804,3159,2672,3016,2975,2461,2512,2509,2405,2588,2214,1604,1802,2666,2973,2510,2213,1991,2082,2522,2575,2120,1356,1468,1990,1908,1836,2342,2383,2599,2486,2449,2276,1423,1491,2419,3322,2467,2098,2646,2984,2451,2218,1976,1786,2645,2787,1919,1650,2143,2764,2453,1929,1710,1744,1679,1972,2131,2238,2007,1787,1916,2690,3982,3935,3760,3871,3739,2971,2457,2348,2630,2645,2054,1541,1259,1434,1776,1980,1775,1997,2247,1891,2283,2484,1904,1404,1466,1842,1633,1535,1658,1505,1332,1548,1439,1316,1469,1992,2386,2426,2262,2125,2005,2786,2788,1891,2249,1672,1786,1610,1708,1497,1523,1607,1668,1861,1714,1417,1587,2252,2191,1792,1385,2255,3090,2977,2985,2813,2588,2379,2035,1698,1403,1757,1926,1463,1081,1038,991,1629,1722,1372,1358,1832,2292,1926,1405,1581,1720,1620,2098,2397,2414,2148,2529,2414,2349,2593,2634,2415,2661,3178,3253,3312,3187,2370,2524,3318,3972,3682,3040,3022,3183,3090,2779,2493,2617,2265,2862,2122,1833,1892,1922,2428,2478,1927,2090,2148,1914,1780,1495,1533,1682,1502,1285,1185,1299,1449,1508,1589,1698,1582,1471,1554,1480,1407,1839,1443,1196,1294,1479,1520,1429,1406,1670,1689,1499,1602,1672,1676,1814,1570,1353,1350,1641,1661,1460,1490,1444,1495,1440,1382,1389,1516,1929,2020,1983,1880,1912,1652,1576,1951,2578,2330,1797,1773,1819,1509,1468,1704,1644,1482,1355,1351,1371,1372,1426,1402,1366,1407,1460,1453,1314,1201,1323,1510,1585,1512,1374,1678,1906,1706,1870,1459,1585,1556,1635,1521,1312,1421,1616,1741,1802,1618,1404,1373,1868,2543,2076,2023,2894,3069,3339,3682,3309,2219,1536,1828,1982,1809,1806,1555,1569,1616,1806,1682,1609,1271,1784,2156,2119,2066,1735,1674,1947,1917,2164,3140,2332,1952,1981,1988,1820,1681,2327,2443,2000,2192,2355,2137,2107,1990,2346,2579,2562,2760,3091,3135,3145,2452,2130,2200,2093,2024,2112,1948,2467,2069,2259,2332,1960,1628,1913,2653,3624,5117,5354,3620,2669,2690,2385,1787,1647,2214,2492,2241,2227,1843,1806,1877,1976,2173,2195,2385,1691,1783,1922,1383,1145,1512,1867,2320,2502,2263,2350,2503,2621,2249,2160,2241,2190,1976,2301,2252,1974,2057,2312,2784,2958,2512,2355,2902,3134,2417,1793,1565,1938,1800,1835,2304,2588,2732,2123,1957,1963,1895,1698,1411,1414,1609,1408,1450,1582,1497,1518,1568,1487,1466,1443,1595,1706,1514,1578,1709,1774,1731,1650,1486,1420,1606,1604,1598,1558,1541,1686,1713,1959,2143,2024,1874,1917,2090,2165,2323,2266,2725,3197,2389,1907,2562,2403,2125,2087,1916,1723,1635,1677,2041,2800,2778,1875,1735,1561,1977,2115,1828,2148,2502,2316,2070,2164,2386,1798,1095,1111,1544,1958,2210,2123,1747,1439,1681,1915,1652,2018,3065,3382,3672,3015,3547,4240,4209,4392,4355,3781,2862,2020,1860,1946,2291,3119,3124,2577,2201,2142,2602,3200,2953,2917,2669,2682,3296,3175,2619,2259,1900,2001,2397,2777,3401,3873,3899,3553,3371,3125,2656,2962,3141,2429,2436,2461,3108,3135,2812,2822,2800,3015,2727,2820,2774,2906,2874,3023,2774,2586,2766,2784,2710,2272,2036,2204,2553,2636,2272,2224,2984,2861,2263,2494,2254,2103,2104,2062,2368,2589,2701,2656,2668,2768,2984,3154,3150,3002,2962,2673,2470,2688,2665,2288,2460,2657,2271,2518,2581,2182,2160,2294,2114,2082,2403,2398,2411,2188,2066,2189,2120,1735,1743,2746,2927,2966,2279,2020,2050,1803,1635,1565,1504,1829,2688,3094,2578,2188,1817,1099,1127,1566,1943,2352,2302,1959,1916,2105,2349,2292,1862,1630,1666,1436,1639,1919,2496,2381,1725,1489,1462,1527,1682,1741,1837,2157,2176,1959,1889,1611,1517,1761,2048,1839,1562,1516,1508,1229,1422,1593,1612,1613,1507,1462,1431,1837,2512,2636,2145,1745,1826,1713,1559,1542,1644,1804,1945,1873,1791,1824,2119,2332,2168,1952,1659,1659,1527,1634,2364,2469,2509,3124,3396,3520,3416,2731,2395,2611,2521,2611,3306,2624,3025,2468,2321,3012,3260,3439,3388,3009,2577,2332,1971,1684,1786,1776,1676,1467,1388,1359,1424,1495,1536,1842,1992,1366,1683,2024,2118,2081,2096,1943,1898,1647,1803,1787,1353,1524,1795,1727,1899,1805,1729,1597,1607,1615,1575,1875,1920,1904,2082,2367,2675,2007,2037,2148,2032,1678,1696,1831,2217,2241,2040,1848,1878,1930,1748,1508,1635,1493,1634,1454,1334,1494,1779,1922,1810,1760,1696,1717,1734,1894,2002,1963,2194,2087,1684,1826,1874,1769,2072,1896,1424,1675,1842,1629,2123,2387,2024,2035,1959,1974,2145,1842,1718,1909,1906,1653,1654,1666,1783],[2008,2447,2260,1732,2011,2052,1924,1813,1818,2308,2425,1953,1919,2174,2124,1981,2249,2568,2723,2352,2572,2803,3371,3211,2933,3532,4145,4183,4207,4093,3629,3728,4008,3481,3205,3241,3370,3675,3592,3060,2674,2883,3226,3571,3060,2545,3474,3921,3930,3849,3716,3862,3659,3609,3775,3241,3082,3162,2964,3217,3242,3205,2770,2344,2543,3064,3096,2767,2834,3340,3349,3126,3132,3576,3796,3965,3634,3292,3019,2952,2939,3027,3166,3164,2846,2972,3228,3209,3056,3019,3182,3819,3806,3384,2724,2004,2093,2391,3007,2712,2455,2380,2200,2077,2232,2186,2182,2236,2082,1989,2232,2843,3640,3619,3205,2839,2216,2320,2696,3305,3322,2363,1786,1522,1665,2226,2186,1980,1862,2217,2382,2276,2274,2637,2525,2568,3033,3057,2314,1475,1435,1961,2629,2207,2546,3369,3159,2510,1345,874,1487,2336,2297,2053,1786,1851,1825,1979,2075,2345,2123,2057,1791,2023,2602,2812,3506,3850,3013,2314,1816,2220,2686,3020,3226,3020,2651,2849,3151,3059,3308,3538,3420,3375,4070,3856,3129,3482,3588,3254,3338,3558,3138,2777,2688,2813,3064,3574,3838,3886,3343,2939,3238,3207,3277,3335,2913,2533,2831,3510,4133,3880,3420,3043,2246,2556,2520,1541,1449,1404,1359,2112,2281,2288,2165,1892,2104,2387,1906,1623,2374,2872,2776,2039,2224,3016,3297,3616,3570,3139,2792,3373,3218,2545,2508,3338,3863,3322,2613,2842,3263,3167,2602,2221,2094,1766,2426,2376,2248,2873,3964,4520,4503,4420,3978,3819,3739,3338,3643,3342,3097,3720,3543,3538,3040,2390,2073,2253,2473,2374,2210,1941,1721,1721,1855,1929,2039,2482,2286,1880,1729,1590,1777,1919,1986,2415,2481,1909,1761,1781,2156,2636,2741,2674,2426,2448,2427,2438,2791,2503,2773,2670,2400,2279,2285,2586,2877,2809,2582,2195,1949,1914,1993,1946,2217,2792,2013,1917,2135,2207,2764,2855,2520,2831,2990,2778,2397,2674,3354,3614,3253,2806,2624,2806,3016,2579,2596,2577,2181,2408,2820,2646,2133,1615,1422,1556,1623,1765,2470,2608,2373,2302,2458,2585,2636,3088,2933,2408,2142,2131,2117,2063,1844,2001,2105,2281,2814,3074,2531,2475,2500,2829,2502,2237,2387,2226,2349,2974,2730,2406,2563,2163,1924,2128,1984,1878,2598,2564,2502,2459,2343,2094,2061,2001,2075,2335,2236,2109,2178,1797,2025,2548,2566,2542,2439,2213,2143,2002,1833,1907,1946,2009,1810,1786,2105,2150,2039,1877,2877,2887,1837,1748,1799,1826,2054,2555,2557,2680,2520,2215,2327,1938,2002,2087,2126,2415,2299,2382,2852,2773,2918,3250,3723,2916,2267,1965,1928,2272,2709,2994,2651,2029,1622,1228,1379,1597,1934,2004,1717,1692,1742,1649,1798,1709,1711,2518,3130,3374,3618,3492,3715,4017,2908,2336,2381,2248,1994,1809,2030,1960,1721,2360,2587,2211,1953,1746,2040,2834,2398,1888,1848,1575,1713,1830,1744,1594,1686,2060,1699,1741,1937,1945,1827,2027,1966,2055,2049,2100,2415,2344,2080,2292,1730,1692,1613,1936,2161,2457,2736,2645,2084,1825,2102,2563,3123,2585,1741,1822,2761,2430,1996,1818,1550,1465,1705,1912,2153,2383,2326,2152,2412,2176,1572,2090,2060,2409,1710,1163,1555,1707,1666,1769,1897,2125,2162,2272,2609,2452,1948,1845,1747,1967,1939,1630,1704,1810,2254,2563,2119,1648,1629,2009,2473,3361,4264,4425,3784,3339,2832,2204,2436,2525,2382,2349,2602,2408,1743,2116,2154,2040,1961,1723,1802,1774,2008,2073,1958,2127,2327,1854,1596,1590,1376,1451,1536,1582,1860,1874,1963,2144,1703,1487,1711,2210,2249,1725,1886,2000,1936,2186,2314,2018,1588,1532,1651,1855,1742,1541,1539,1550,1745,1794,1837,2045,2616,2962,2690,2272,2452,2596,2523,2486,2510,2124,1920,1902,1883,1424,1515,2148,1848,1957,2668,2644,3500,2741,1908,1666,2040,2396,2326,2101,2073,1861,1449,1536,2285,2490,2666,2181,1873,1903,1792,1651,2047,2524,2630,3050,3327,3145,2513,2477,2151,1559,2075,2893,2787,2248,2460,2519,2619,4373,4293,3644,3308,2340,2920,3825,3666,3059,2373,1994,2040,2274,2238,1984,2070,1800,2336,2492,2018,2290,2643,2287,1873,2215,2392,2437,2778,2412,1894,2501,2542,1820,2658,3937,4015,3825,3957,3898,3754,3636,3790,3798,3122,2811,2756,2113,1945,1955,1847,1778,1408,1284,1389,1783,2304,2399,2139,1968,2047,1893,2260,2386,2518,2476,2425,2774,2243,1927,2451,3167,3388,2751,2761,2493,2917,2429,2402,2901,3019,2453,2054,2496,2620,2326,2013,2429,2345,2568,3199,2578,2088,1967,2304,2405,2658,2867,3055,2634,2517,2697,2474,2231,2327,2331,2426,2601,2155,2125,2868,2238,1788,2518,3128,3000,1943,1547,1752,1786,1456,1372,1704,1730,1635,1671,1881,1924,2490,2585,2104,2396,2713,2518,2155,1925,2186,2336,2215,2134,1872,2214,2519,2232,2364,2562,2519,2676,1965,1492,2089,2684,2385,2395,2674,2422,2699,2640,2424,2097,2037,2488,3012,2464,2757,2388,1625,1991,2175,2116,1978,2498,2307,2115,2743,2814,2813,2525,2754,2985,2613,2517,2310,2136,2205,2481,2154,2856,3310,4169,3868,3273,3436,3676,3626,2873,2131,2195,2361,2059,2015,2044,2381,2855,2824,2109,2103,2524,2611,2451,2139,1970,2253,2524,2877,2195,965,1085,1832,1709,2127,2612,2622,2647,2155,1854,1860,1675,2341,3064,3819,2717,2006,2304,2216,1797,1809,1905,2051,2588,2481,2039,2109,3034,3231,2613,2053,1937,1676,2076,2533,2898,2987,2711,2732,2906,3764,4091,3784,3632,3754,3874,3615,2845,2790,2854,2089,1621,1433,1379,1673,1558,1896,1725,2038,1885,1946,2381,2224,1925,1698,1852,2036,1608,1547,1563,1465,1587,1853,1587,1324,1584,1936,2316,2364,2387,2201,2029,2894,2009,2186,2266,1946,1907,1454,1403,1321,1412,1484,1707,2068,1809,1476,1757,2438,2098,1650,1489,2548,3022,3052,3120,2744,2642,2658,2091,1714,1422,1663,1931,1919,1536,1214,1082,1531,1748,1542,1560,1877,1996,1742,2024,2007,1717,1389,1644,2018,2094,1975,2093,2345,2287,2391,2758,2483,2523,2188,1989,2663,2699,2263,2265,3106,4164,4053,2884,3010,3196,2663,2590,2635,3087,3143,2725,1848,1759,1694,1926,2566,1946,1443,1446,1360,1486,1588,1575,1889,1868,1843,1512,1230,1504,1372,1579,1798,1837,1766,1546,1378,1348,1316,1310,1316,1361,1393,1449,1477,1464,1732,2031,1822,1522,1604,1675,1924,2081,1692,1349,1435,1633,1677,1423,1354,1516,1581,1490,1383,1572,1682,1643,2157,2224,2049,1638,1472,1740,2177,2236,1570,1694,1610,1693,1551,1584,1588,1591,1566,1535,1575,1639,1653,1638,1619,1532,1623,1603,1621,1504,1424,1359,1367,1614,1491,1366,1545,1826,1734,1902,1751,1637,1558,1579,1451,1440,1557,1736,1990,1930,1694,1626,1542,1690,1676,1753,1931,3117,2750,2154,2635,2309,1848,2151,2192,1991,2192,1954,1469,1470,1576,1471,1168,1366,1604,1873,2255,1975,1813,1696,1567,1912,2027,2031,2296,2044,1730,1835,2265,2186,2038,1976,1820,1652,1847,2388,2072,1773,1691,2019,2290,2393,2601,2761,2809,2692,2468,2669,2389,2411,2523,2380,1802,2074,2136,2167,2173,2143,2072,2280,2498,2784,3066,3274,3297,2987,2243,1665,1571,1647,1816,1703,2010,2409,2180,2260,1996,1955,1886,1942,1621,1280,1793,2247,1982,1826,1986,2112,2443,2450,2858,2873,2712,2874,2500,2354,2376,1963,2134,2818,2479,1837,2378,2722,2526,2217,2063,2621,2880,2640,2066,1492,1486,2119,2207,1981,2498,2830,2986,2078,1682,1990,2070,1737,1406,1515,1582,1499,1415,1365,1564,1581,1610,1519,1584,1490,1523,1493,1451,1592,1721,1686,1686,1649,1396,1525,1832,1570,1615,1820,1760,2018,1926,1730,1892,1666,1037,1411,1918,1810,1942,1995,2284,2358,2343,2291,2770,2520,2036,2352,2279,1803,1898,2232,2230,2344,1964,1629,1626,1865,2282,2086,1788,2146,2175,2233,1904,1781,2049,1810,1354,1444,2040,1952,1727,1802,2018,2030,1832,2049,2440,2727,3772,3996,4176,3747,3839,4231,4604,4823,4575,3973,3143,2157,2136,2163,2395,3166,3153,2305,2479,2299,2440,3343,2563,1876,1854,2171,3605,3503,2800,2557,2218,2088,2540,3269,3435,3682,3482,3494,3595,2630,1608,1846,2485,2629,2687,2844,3086,2441,2259,2897,2674,2709,2470,2534,2820,2647,3002,3493,3204,3088,2834,2462,2461,2219,1851,1837,2777,3160,2258,2626,3228,2734,2423,2473,2338,2304,2134,1956,1923,2625,3066,3150,2641,2680,2931,3297,3217,2973,2930,2577,2327,2493,2708,2618,2547,2684,1880,1884,1995,2115,2204,1935,1749,1966,2358,2576,2040,1895,2152,2316,2233,1819,1649,2043,2575,3126,2924,2403,2106,1840,1655,1552,1842,2502,2965,3291,2788,2175,1796,1405,1543,1764,2045,2198,2013,1658,1942,2060,2043,2063,1771,1740,1531,1431,1676,2235,2564,2012,1738,1461,1384,1345,1596,1925,2077,1917,1840,2119,2440,2364,2056,1830,1883,1964,1912,1625,1568,1462,1808,1789,1561,1551,1551,1556,1657,2020,2590,2642,2176,1809,1997,1537,1419,1483,1788,2469,2578,2039,1732,1635,2124,2457,2502,2147,1836,1867,1798,1953,2453,2625,3182,3406,3239,3529,2853,2118,1724,1764,2002,2742,2977,2025,1898,1892,2559,3106,3431,3464,3039,2744,2576,2261,2047,1830,1816,1825,1613,1566,1490,1406,1411,1483,1618,2090,2360,2114,2067,2055,1915,1763,1706,1632,1736,1634,1564,1677,1494,1642,1918,1803,1937,1835,1792,1758,1601,1590,2098,2465,2164,2293,2354,2718,3110,2142,1836,2041,1953,1871,1808,1766,2018,2270,2209,1848,1618,1459,1366,1564,1909,1548,1627,1698,1728,1749,1742,1692,1668,1578,1578,1636,1832,1942,1625,1642,1850,1836,1819,2006,1988,1782,1612,1566,1702,1923,1901,1876,2192,2779,2103,2034,1886,1907,2044,1875,1707,1649,1556,1396,1555,1722,1697],[2195,2277,1852,1728,2020,1836,1929,2132,2070,2116,2143,1833,2057,2161,1953,2134,2434,2398,2243,1870,1962,2716,3499,3596,3585,3718,3213,3359,4111,4349,4157,3553,3648,3175,3120,3577,3376,2911,3195,3440,2779,3001,3374,3827,3671,3569,3774,3772,3792,3783,3797,3819,3672,3814,3681,2927,3042,3447,3274,2972,2676,2342,2545,2878,2992,3022,2831,2590,2689,3182,3205,3166,3431,3687,3824,3747,3881,3119,2613,3353,3365,3273,3253,2932,2917,3048,2834,2785,2694,2415,2874,3838,3587,2836,2623,2686,2770,2776,2907,2569,2463,2454,2241,2155,2128,2010,2104,2105,1996,2032,2093,2488,3473,3835,3527,3166,2597,2500,3106,3681,3423,2827,2542,2302,2308,2845,2667,1858,2084,2262,2137,2435,2895,3499,3440,2800,2739,3175,2579,2482,2568,2579,2480,2440,3110,3631,3218,1935,1106,1772,2920,3015,2405,1535,1636,2122,2294,2298,2190,2251,2231,2270,2269,2152,2363,2759,3902,3979,2987,2482,2402,2355,2553,3024,2888,2606,2655,3226,3677,3553,3481,3274,3310,3369,3792,3684,3481,3396,3340,3119,3480,3665,3186,2977,2890,3103,3013,3464,3842,3966,4003,3452,3156,2962,3030,3234,3110,2814,2532,2696,3833,4086,3653,3680,2600,2039,1956,1454,1534,1835,1926,2083,1903,2294,2405,2197,2325,2435,1806,1041,1389,2231,2257,1904,2635,3323,2846,2613,2313,2394,2478,2836,3541,3106,3184,3795,3527,2895,2463,2331,2921,3654,3455,2492,1749,1697,1760,1870,2549,3396,4145,4444,4452,4397,3994,3064,2817,3266,3433,2879,3366,4132,3562,2443,1991,1881,2066,2576,2775,2410,1914,1897,1985,1990,2018,1964,1926,2108,2013,2029,1869,1761,2074,2277,2117,1822,2066,1858,1761,2065,2689,3298,3499,2984,2142,2209,2289,2304,2397,2493,2433,2465,2371,2115,2080,2404,2666,2800,2602,2436,2617,2669,2107,2066,2393,2453,1753,1642,2005,2151,2291,2125,2152,2798,2807,2713,2643,2877,2888,3170,3193,3040,2990,2713,2415,2337,2380,2268,1918,1956,2257,2405,1997,1768,1905,2027,2016,2301,3044,3428,3243,3187,2934,2301,2343,2780,2802,2920,2847,2468,2100,1959,2060,2173,2294,2668,2624,2488,1801,2054,3143,3647,2913,2271,2069,1668,2045,2766,2543,2175,2275,2153,2237,2022,1619,1593,1967,2252,2662,2745,2604,2527,2476,2534,2597,2535,2258,2403,2202,2156,1974,1898,2144,2264,2203,2259,2258,2026,1912,1962,1959,1971,1763,1996,2582,2530,2241,1989,3085,3195,1746,1652,1956,1696,1801,1827,2003,2197,2212,2255,2081,1818,2007,1804,1279,1296,1739,1894,2020,2089,2654,2858,3132,2314,1775,1997,2077,1989,2580,2867,2640,2414,1622,1197,1220,1630,1923,1942,1919,2023,1701,1533,1797,1603,1626,2724,3258,3632,4064,3781,3858,3854,2959,2481,3003,3086,2208,1991,2021,1986,1914,2356,2078,1879,2217,2076,2504,2837,2498,2030,1738,1987,2061,1837,1936,1815,1644,1534,1596,1861,1739,1810,1796,2068,2348,1813,1385,1565,1926,2167,2272,2148,1830,1636,2014,2890,2805,2384,2277,2199,2107,2219,2843,3033,3537,2523,1747,1857,2819,2490,2340,2166,1403,1435,1661,1631,1776,1926,2150,2249,2124,1831,1563,1659,1644,1912,1954,1647,1620,1708,1731,1700,1706,1764,1850,2050,2393,2047,1702,1948,2046,2020,1805,1356,1471,1781,2250,2388,1986,1688,1932,1925,2124,2930,3899,4449,3872,2479,1954,2259,2182,2180,2243,1939,2722,2909,2091,1909,1582,1577,1739,2110,2331,2222,2589,2562,2309,2099,2186,2116,2009,1698,1228,1366,1584,1583,1642,1604,1626,2031,2093,1865,1758,2072,1976,1663,1639,1838,1843,1725,1946,1920,1506,1897,2156,2026,2155,2010,1838,1992,1827,1805,1869,1935,2093,2385,2353,2247,2242,2128,2418,2593,2039,1749,1672,1801,1816,1632,1935,2179,1916,2028,1776,1950,3156,3320,2452,2360,2471,2368,2027,1665,1666,1588,1375,1938,2415,2477,2586,2173,1872,2004,2049,2005,2395,3184,3322,3467,3630,3399,2788,2049,1788,1558,2170,2884,2697,2492,2523,2902,2552,3255,3796,4162,4235,3272,3200,3475,3240,2701,2324,2224,2546,2381,2369,2362,2336,2012,2866,2360,1781,2223,2433,2223,1949,1602,1898,2295,2630,2547,2110,2557,1901,2453,3549,3893,3979,4014,4026,4017,3745,3481,3406,2791,2666,2972,2930,2345,2398,2338,1948,1604,1756,2012,2171,2233,2251,2345,2180,2494,2296,1909,2139,2121,2369,2586,2415,2492,2193,2242,2208,3129,2888,2892,3146,2909,2829,2558,2718,3154,3018,2126,2160,2284,2450,2292,2198,2753,2294,2927,3098,2353,1962,2018,1910,2225,2603,2373,3104,3118,2321,2457,2450,2766,2648,2354,2494,2721,2265,2679,3179,2061,1608,2282,2737,2291,1418,1189,1563,1906,1836,2176,2502,2128,1873,2085,2066,2347,2285,2783,3060,2668,2136,2100,2603,2706,2061,2061,1958,1886,1789,2669,2809,2008,2637,2806,2501,2788,2517,2265,2774,3287,3571,3491,3332,2319,2209,2009,1769,1945,2156,2363,2006,1841,2536,2565,2379,2775,2181,2176,2198,2808,2436,2395,2851,2753,2425,2910,3270,2480,2069,2004,1757,1800,1726,2188,2342,3034,3416,4006,3549,2933,3226,3082,2788,2127,1706,1540,2082,2566,2433,1977,2152,2702,2827,2368,2366,2541,2090,2360,2647,2136,2357,2518,2744,2532,1433,1376,2001,2178,2571,3167,2967,2370,1369,1432,1835,1937,2164,2568,3238,2908,2568,2361,2005,1840,1929,2363,2127,2608,2414,2060,2106,2176,2031,2400,2162,1560,1886,2446,2671,2917,2466,1991,2921,3393,3563,3038,3240,3632,3929,4090,3592,2546,2496,2384,1690,1495,1427,1755,1775,1355,1333,1687,1715,1587,1681,1945,2019,1808,1760,2028,1725,1460,1575,1692,1676,1816,1940,1486,1420,1637,1519,2013,2187,2459,2050,2358,2663,1997,2405,2485,2004,1571,1460,1410,1273,1564,1509,2035,2288,1740,1470,1991,2413,2072,1475,1739,2872,3083,3071,3038,2829,2647,2908,2114,1864,1661,1714,1771,1742,1552,1130,1032,1285,1490,1484,1465,1514,1531,1835,2136,1908,1531,1445,1548,1792,2132,2016,1808,2386,2260,2412,2652,2591,2081,1611,1621,1709,1825,2203,2789,3759,3889,2728,2132,2462,3266,3567,2817,2416,2613,3054,2688,1986,1852,1783,2229,2514,1638,1359,1356,1322,1456,1452,1659,1821,1917,2082,1660,1432,1975,1572,1533,1390,1803,1957,1548,1334,1355,1341,1346,1479,1450,1355,1438,1493,1421,1801,1838,1650,1610,1656,2086,2688,2392,1664,1299,1217,1258,1590,1542,1568,1885,1649,1438,1281,1787,2002,1608,1645,1793,1594,1457,1562,1557,1680,1614,1483,1496,1574,1676,1630,1552,1510,1461,1557,1739,1896,1777,1998,2051,2237,2213,2123,2065,2151,1946,1766,1636,1620,1719,1433,1520,1503,1511,1543,1498,1578,1734,1637,1499,1523,1634,1766,1867,2244,2320,1836,1902,1806,1765,1793,1856,1859,2328,2075,1615,1808,1920,2238,2790,2665,2400,2462,2056,1716,1679,1826,1939,2020,2317,2214,2010,2026,1681,1667,2002,2246,2229,2109,1929,2051,2126,1973,2121,2248,2032,2035,1796,1615,1833,2059,2415,2261,1816,1679,1713,1888,2176,2222,2695,2753,2485,2132,1902,2218,2491,2639,2612,2139,1973,2197,2097,2068,2195,2149,2137,1993,2249,2893,3460,3857,3775,2554,1612,1755,1879,2468,2802,2542,2600,2448,2055,1827,1887,1738,1958,2236,2209,2388,3138,3240,2498,2186,2242,2814,3254,3144,3145,2885,2688,2319,1995,1986,1938,2076,2715,2689,1866,1865,2076,2481,2280,1951,1901,2031,1980,1857,1831,1977,2329,2342,2177,2932,2990,2821,1815,1733,2412,2525,1791,1410,1551,1585,1586,1497,1515,1620,1481,1404,1287,1262,1314,1416,1523,1485,1426,1523,1621,1499,1752,1594,1973,2011,1643,1919,2144,1900,2008,1752,1503,1650,1732,1101,1249,1765,1807,1747,1907,1919,1843,2325,2519,2384,2235,2251,2569,2405,2360,2526,2967,2312,1857,1695,1667,1548,1538,2095,2172,1669,1715,1787,1984,1598,1560,1580,1437,1275,1367,1815,1983,1869,1737,1747,1964,1922,2168,2445,2546,3077,3738,4288,4271,4192,4152,4265,4677,4284,3641,3365,2559,2323,2205,2147,2577,2235,1703,2771,2986,2728,2710,2130,1342,1733,2230,3720,3286,2665,2379,2344,2566,2714,3339,3540,3585,3175,3177,3733,2825,1589,1725,2761,3095,2724,2566,2739,2719,3218,3318,2953,3175,2886,2745,3208,3119,3090,2971,3188,3378,2717,2663,3022,2942,2482,2286,2827,3139,2743,2700,2870,2808,2831,2807,2477,2325,2038,1905,1952,2501,2810,3195,2583,2630,2996,3072,2786,2379,2163,2027,2110,2004,1874,2602,2645,2864,2325,2006,1864,1917,2105,1841,1668,1686,2317,2519,1962,2405,2412,2285,2347,2326,2011,1814,2487,3154,2744,2324,2360,2134,1992,1593,1660,2090,2190,2468,2257,1857,1542,1337,1607,1760,2025,1966,1996,1831,2134,1975,1700,1555,1760,1809,1483,1480,1938,2250,2174,1818,1615,1554,1390,1394,1761,1805,1804,1874,1753,2139,2877,2862,2649,2203,1780,1941,2073,1959,1753,1632,1686,1477,1737,2226,1865,1583,1604,1490,1551,1580,1607,1518,1474,1393,1498,1687,1858,2235,2333,1736,1545,1697,1973,2156,2690,2402,2153,2356,2251,2263,2336,2269,2613,2397,2614,2834,2094,1696,1732,1758,1628,2021,2667,2433,1741,2167,2869,3001,3118,2939,2683,2475,2141,2235,2193,1970,1975,1719,1588,1773,1682,1540,1577,1599,1620,1875,2401,2813,2602,2354,1919,1633,1650,1597,1668,1803,1547,1558,1506,1487,1624,1918,2212,1894,1755,1742,1643,1857,2612,2210,2082,2635,2208,2287,2245,1693,1881,2032,1773,1675,1876,1811,1815,2170,2207,1690,1662,1609,1517,1708,1817,1740,1722,1669,1760,1761,1642,1637,1716,1487,1543,1605,1677,1594,1533,1540,1674,1824,2050,2209,1761,1946,1860,1889,2043,2091,1898,1758,1729,2334,2228,1951,2012,1912,1884,2003,1649,1571,1569,1544,1784,1869,1733],[1826,1976,1786,1888,1997,1562,1526,1968,2070,1754,1208,1348,1730,1902,2032,3090,3121,2487,2219,1914,2541,3911,4252,4072,4183,3784,3562,3969,4095,4203,4276,3529,3106,3574,3519,3127,3409,3311,3309,3824,3297,3216,3423,3650,3436,3520,3719,3697,3705,3773,3646,3625,3298,3211,3239,2998,3028,3701,3626,3200,2770,2463,2740,2841,2874,2886,2618,2456,2822,3107,2842,2909,3287,3580,3307,3021,3636,3968,3626,3513,3716,3112,2876,2735,3167,3673,3649,3150,2561,2761,3472,3593,3071,2633,3016,3133,3260,3850,3326,2445,2522,2658,2566,2780,2908,2868,2678,2008,1464,1965,2190,2223,2428,2630,2962,3072,2666,2451,2757,2857,3053,2888,2788,2721,2592,2708,2453,2236,2570,2493,2250,2247,2662,3484,3606,2738,3059,3356,3020,3291,3023,2663,2268,2573,3195,3096,2809,2421,2410,2763,2410,1990,2045,1703,2275,2459,2386,2260,1766,1685,1973,2094,2391,2020,2208,2426,2636,2843,2773,3020,2996,2833,3152,3479,3717,3547,3234,3453,3816,3560,3333,3226,3383,3488,3460,3450,3432,3089,2675,2873,3425,3519,3366,2857,2822,2989,2973,3390,3904,4257,4521,4121,3229,2855,3007,3364,3586,3702,2808,2696,3374,3833,3631,3685,3134,2188,2006,2094,2611,3006,2126,1760,2077,2257,2334,2325,2561,2262,1958,1613,1586,1936,2088,2114,2624,2877,2548,2667,1998,2155,2543,2750,3145,3175,3408,3198,2918,2741,2578,2450,2476,3234,3244,2668,1548,1375,1698,2662,3759,3835,3949,4014,4135,4376,3614,3029,3869,4131,3679,3337,3528,3647,2697,2029,2392,2272,2012,2406,2853,2511,2312,2244,2075,2661,2978,2288,2061,1952,1915,2191,2065,1980,2508,2706,2302,1620,1716,1964,1707,2246,3562,3819,3488,2820,2321,2399,2371,2262,1954,2299,2051,1918,1751,1857,1970,1974,2210,2791,2313,2183,2879,2384,1767,1857,2001,1895,1810,1971,2082,1998,2380,2567,2279,2299,2351,2543,2692,2876,2662,2942,3168,3126,3085,2908,2471,2389,2562,2307,1767,1625,1866,2381,1961,1851,2039,2114,2578,2730,2878,3366,3308,3093,2459,2303,2608,2776,2972,3344,3388,2770,2250,2003,2171,2597,2632,2291,1659,1853,2056,2111,2504,2858,2514,1834,1639,1650,1767,2078,2210,2401,2142,2128,2183,2082,1832,1964,2140,2390,2875,2511,2374,2414,2288,2243,2736,2316,1783,2103,2710,2946,2404,2279,2832,2736,2493,2525,2342,1968,1945,2255,2405,2510,2172,2293,2624,2569,2329,2041,2158,1810,1571,1886,1952,1675,2620,2331,1936,1887,1897,1852,1649,1671,1930,2084,1566,1274,1928,2193,1893,1986,2833,2360,1813,2005,2010,1991,1718,1586,2215,2633,2770,2767,1840,1403,1566,1655,1893,2115,2298,2203,1734,1709,1752,1542,2305,2854,3086,3701,3718,3385,3673,3176,2092,2153,2566,2300,2031,1992,1758,2010,2411,2378,2046,2158,2512,2605,2511,2273,2362,1897,1499,1656,1636,1670,1934,1877,1676,1498,1624,1808,1852,1726,1898,2449,2212,1675,1675,1610,1604,2160,2730,2522,1976,2035,3002,3899,3709,2561,2070,2088,2548,3164,3616,3673,3702,2439,1682,2088,2520,2072,2208,1870,1381,1395,1411,1417,1598,1781,2004,1893,1646,1614,2058,2216,1732,1816,2132,1683,1443,1580,1864,2156,2131,2119,1909,1920,2215,1968,1978,1964,1733,1759,1654,1328,1441,1678,2009,2066,1882,1979,1966,1717,1583,1959,2815,3882,3763,2732,2558,2781,1814,1672,1798,1879,2632,2534,1748,1283,1122,1465,1726,2438,2392,2379,2485,2631,2596,2209,1995,1801,1674,1416,1146,1361,1376,1263,1361,1252,1250,1864,2687,2319,1588,1606,1882,1711,1659,1896,1742,1538,1886,1864,2004,2711,2478,1772,1782,1847,1877,2210,1953,1751,1805,1893,1825,1898,1982,2414,2630,2109,2046,1922,1756,1624,1454,1534,1571,1977,2171,1943,1450,1625,2316,2287,2697,3162,2461,2382,1954,1953,1972,1917,1951,1873,1985,2294,2226,2186,2082,1706,1610,1912,1852,2026,2124,2949,3443,3557,3570,3398,2780,2018,1564,1693,2484,2725,2510,2307,2762,3606,3628,3257,3492,4069,3963,3045,2256,2339,2649,2666,2807,2912,2996,2757,3093,3221,2592,2186,2520,2187,1784,1961,2128,2291,2025,1971,2302,2567,2453,2585,2344,2087,2149,3286,3782,3597,3752,4101,3913,3694,3329,3341,2887,2640,2801,2958,2699,2396,2424,2575,2352,1766,2065,2714,2514,2052,1848,2166,2552,3071,2329,1725,1938,1902,2430,3032,2668,2762,2383,2166,1875,2614,2824,2842,3021,2482,1992,2479,2688,2950,2927,2163,2577,2433,2397,2655,3184,2786,1689,1703,1948,1992,2232,2796,2272,2264,2216,2541,3012,2765,2864,3362,3338,2750,2574,2655,2846,2553,2166,2706,2762,2679,1797,1521,1744,1557,1254,1432,2144,2309,1791,1749,2035,2406,1916,1885,2020,2850,2458,2322,2162,1640,2065,2501,2416,2273,2188,2078,2260,2235,2248,3471,3184,2143,2452,2712,2741,2665,2341,2259,2542,2864,3448,3543,3022,2394,2388,2137,2161,2003,1940,2208,2104,2160,2565,2528,2454,2665,2241,2387,2995,3301,2864,2474,2811,2834,2433,2756,2652,2392,2401,2093,1737,1711,1652,2133,2285,2669,3045,3404,3264,2798,2648,2207,1823,2067,2186,2229,2910,3500,2766,1975,1994,2533,2928,2399,2061,2097,1603,2134,2492,2265,2245,2140,2211,2378,2416,2450,2513,2662,2993,3104,2862,2663,1498,1402,1818,1617,1650,2357,2775,2867,2920,2611,2502,2533,2125,1812,1473,2115,2348,1971,2142,2068,2445,3067,2137,1698,2458,2518,2911,2644,1900,2223,2636,3485,2824,2054,2476,3094,3107,2445,2261,1903,2155,1912,1548,1393,1695,1720,1535,1453,1565,1512,1336,1456,1769,2010,1908,1877,1871,1904,1560,1324,1492,1613,1592,1623,1672,1508,1904,2307,2005,2213,2542,2213,2046,2850,2263,2115,2352,1946,1626,1312,1300,1372,1248,1534,1472,2053,2030,1640,1525,2220,2438,1910,1452,2022,3054,2976,3226,2900,2980,2508,2519,1980,1845,1697,1711,1893,1968,1781,1444,1422,1592,1920,1935,1549,1665,1597,1588,1753,1693,1515,1564,1536,1564,2079,2238,1954,2314,2562,2525,2432,2338,1986,1907,1902,1782,2048,2646,2900,3283,2574,2426,2257,2092,2427,2896,2655,2006,2042,2633,2878,2517,2170,2064,2342,2214,1714,1338,1296,1400,1400,1330,1494,1441,1427,1626,1597,1738,1982,1821,1421,1562,2203,2155,1696,1406,1289,1317,1404,1518,1467,1435,1360,1586,1498,1576,1517,1393,1423,1617,2291,2259,1447,1606,1675,1744,1480,1462,1510,1594,2004,1602,1286,1292,1721,1876,1281,1371,1608,1416,1390,1450,1442,1706,1708,1558,1522,1606,1678,1638,1512,1512,1693,1782,1884,2272,2099,2281,2546,2653,2670,2642,2714,2648,2246,2124,1988,1781,1398,1520,1660,1434,1394,1458,1375,1406,1507,1524,1468,1499,1666,1771,1664,1680,1676,1772,1642,1569,2077,2230,1916,2049,2272,2471,2514,2925,2569,2348,2621,2779,2457,2291,2081,1879,2201,2621,2597,2359,2330,2138,2345,2476,1968,1780,1992,2076,2045,1896,1736,2044,1994,1866,1892,1802,2213,2076,1792,1696,2036,2144,1947,1910,1758,1642,1883,2281,2085,2223,2093,2254,2238,1720,1595,2409,2908,2883,2588,1929,1857,2163,2356,2287,2743,2698,2224,1983,2206,2955,3697,3927,3768,2624,1946,1996,1844,2570,3079,2766,2510,2098,1920,1776,1751,1912,2013,2067,2486,3019,3725,3929,2879,2512,2619,2837,2701,2502,3082,2773,2091,1990,1708,1867,2334,2127,2575,2757,1979,2089,2367,2728,2504,1889,1678,1745,1718,1709,1752,1984,2014,1890,1903,2345,2872,2762,2172,2705,3701,3275,1912,1640,2188,1903,1637,1540,1514,1496,1345,1324,1283,1280,1371,1534,1661,1464,1451,1628,1727,1546,1790,1743,2023,1900,1560,2036,2072,1878,2222,2072,1811,1620,1412,1296,1532,1913,1814,1938,2052,1676,1821,2329,2360,2260,2214,2364,2387,2448,2339,2332,2510,2338,2236,2127,2246,2188,1748,2136,2178,2126,2222,2169,1881,2114,2115,1631,1672,1829,1830,1776,1800,1650,1665,1931,1940,1915,1992,1902,2394,3174,3748,4194,4631,4332,3891,3643,4008,3961,3394,3200,2556,2061,1988,1771,2117,2161,1719,2714,3042,2888,2743,2249,1524,1662,2062,2757,2509,2345,2624,2333,2498,2690,3217,3440,3440,3426,3210,3232,3089,2705,2948,3340,3088,2768,2698,2881,2501,3195,3297,2950,3061,3120,3288,3260,3033,2728,2519,2916,3420,2896,2867,3118,3189,2647,2087,2376,2979,2894,2714,3062,3194,3164,2973,2048,1502,1782,2099,2156,2686,2706,3017,3027,2729,2841,2431,2017,1858,1625,1836,2400,1987,1529,2585,2952,3084,2958,2515,1914,1776,2204,2051,1727,1580,2005,2070,1804,2013,2287,2165,2078,2103,1794,1779,2307,2290,2425,2060,1932,1969,1672,1504,1633,1855,2539,2946,2288,1667,1502,1553,1506,1809,1968,1820,1637,1774,2207,2140,1741,1715,1866,2026,2182,2124,2164,1895,1802,1647,1546,1614,1622,1989,2304,1975,1733,1884,1917,1931,1988,2282,2286,2359,2427,2200,1946,2035,2186,2111,1952,1853,2182,2588,2056,1636,1472,1418,1478,1428,1368,1451,1624,1775,2126,2104,1755,1779,2130,1836,1845,1805,1582,2113,2749,2477,2194,2226,2208,2236,2109,2109,2316,1977,2018,1959,1780,1358,1514,1625,1758,2229,2819,2602,1951,2467,2964,2945,2846,2878,2577,2415,2576,2756,2374,2272,2378,2176,2408,2469,2418,2042,1826,1816,1977,2464,3016,3334,3464,2732,1797,1613,1536,1604,2072,2028,1835,1698,1437,1381,1442,1705,1892,1985,1938,1816,1827,1876,2537,1976,2018,2139,2098,1974,2103,2056,2015,2135,2012,1786,1708,1667,1761,2111,2381,1812,1563,1635,1587,1571,1664,1814,1970,1987,1674,1767,2059,2464,1902,1431,1529,1940,1877,1713,1714,1549,1713,1920,1864,2188,1528,1710,2116,2075,2143,1918,1952,1927,1426,1699,2182,1989,1781,1655,1696,1683,1532,1665,1780,1688,1883,1917,1647],[1901,2154,2171,2177,1939,1282,1394,1980,2191,2094,1681,2181,2547,2792,3111,3859,3959,2923,2306,2600,3404,4092,3928,3904,4019,3717,4185,4546,4293,4038,4233,3886,3223,3785,4118,3598,3362,3780,3819,3879,3636,3504,3628,3671,3532,3526,3641,3784,3746,3683,3329,3564,3195,2909,3265,3472,3282,3350,3632,3589,2792,2520,2696,2595,2874,2712,2275,2666,2683,2331,2405,2341,2499,3060,2755,2543,3651,3676,3064,2897,3718,3071,2938,3021,3407,3653,3572,3548,3314,3540,3498,3350,2893,2447,2515,2743,2992,3724,3301,2779,3086,3007,2687,2476,2513,2543,2052,1649,1432,2220,2422,1980,1667,1996,2976,3451,3085,3020,2917,2098,1977,2269,3018,3476,2674,2342,2832,3106,3052,2977,2958,3183,3179,2749,2900,2919,3227,3020,3286,3277,2610,2243,2243,2722,2850,2334,2269,2306,2493,2230,1572,1526,1937,2018,2048,2305,2510,2495,1985,1739,2186,2369,2304,2161,2361,2149,1898,2291,2742,3069,3035,3243,3459,3431,3669,3748,3917,3596,3597,3529,3287,3273,3494,3517,3140,2931,2813,2336,2113,2507,3049,3527,3300,2790,2853,2874,2955,3234,3632,4184,4553,4207,3326,3096,3307,3417,3230,3363,2845,3025,3245,3719,3752,3270,2923,2315,1979,2324,2586,2469,1844,2187,2378,2322,2395,2479,2624,2436,2135,2098,2119,2101,2352,2105,2029,2691,2989,3233,2736,2373,2215,2972,3140,2749,3282,2919,2887,2659,2478,2412,2258,2497,2653,3136,2423,1400,1871,3459,4145,3635,3673,3513,3675,4199,3116,3009,3650,3769,3164,2970,3532,3073,2215,2203,2515,2908,2449,2608,2588,2216,2147,2401,2541,2920,2893,2061,1889,1863,1709,1890,2242,1966,2185,2250,1998,1626,2234,2545,1702,2481,3573,3305,2751,2056,2477,2923,2611,2127,1779,1630,1863,1914,1907,2169,2152,1853,1998,2526,2190,2455,3305,2254,1437,1610,1954,1906,1696,2115,2279,2254,2712,2519,2307,2463,2800,2933,2984,2951,2858,2853,3096,3119,2922,2956,2730,2714,2909,2563,1937,1981,2453,2765,2154,1644,1518,1633,2177,2151,2047,2614,2633,2564,2291,2272,2837,3107,2546,2579,3039,2706,2354,2229,2820,3174,3061,2586,1873,1982,2633,2324,1780,1870,1701,1517,1521,1641,1702,2101,2020,1874,1968,2149,1776,1779,1830,2129,2522,2601,2799,2226,1920,2007,1958,2113,2315,2132,1904,2030,2400,2568,2686,2824,3218,3344,3447,3300,2465,2010,1954,2378,2590,2499,2289,2402,2709,2587,2092,2171,2327,1659,1494,1531,1543,2142,2822,2395,2108,1920,1771,1807,1836,1811,1772,1948,1381,1453,2319,2865,2218,2223,2757,2246,2158,2067,1884,1966,1522,1776,2514,2609,2624,2544,1804,1560,1555,1617,1982,2100,2214,1906,1663,1542,1647,2014,2578,2776,3549,4081,3896,3945,3791,2490,1685,2055,2274,1935,1956,1773,1765,1997,2320,2373,2273,2503,2944,2774,2341,1895,2486,2080,1695,1579,1941,2208,1938,1863,1694,1440,1346,1312,1519,1620,2277,2182,1637,1450,1355,1393,1626,2384,2534,2211,2131,2580,3606,4069,3720,2670,2206,2743,3293,3531,3736,3968,3625,2431,1670,2217,2304,1437,2024,1773,1586,1486,1423,1478,1642,2154,2300,1692,1677,1936,2054,2009,1750,1762,1715,1423,1344,1735,2303,2397,2317,2375,2158,2316,2432,2210,2570,1984,1585,1793,1612,1588,2048,2386,2303,2046,1760,1587,1518,1664,1793,2331,1931,2466,3142,3173,2754,2153,1695,1687,1538,1234,1192,1365,1465,1521,1292,1231,1433,2391,2532,2389,2234,2024,1956,1939,1644,1272,1372,1400,1285,1451,1521,1870,1995,1555,1352,1575,1745,1704,1424,1662,2021,1833,2250,2062,1578,1942,2105,1811,1914,2132,2162,1984,1641,1418,1831,2182,2478,2127,2019,1653,1808,1775,1582,1737,1656,1828,2032,1696,2207,1870,1572,1613,1734,2452,2853,2279,1958,2579,3189,3050,2828,2656,1874,1504,1567,1901,2182,2296,2406,2094,1794,1976,2003,1953,2007,2061,2231,2147,2045,2399,2255,2618,3266,3472,3341,3254,2807,2154,2117,2163,2614,2733,3230,2749,2887,3095,2918,2503,2874,3248,2905,2385,2264,2221,2475,2962,3090,2931,3285,3442,3637,3591,2851,1927,1911,2565,2855,2604,2751,2766,2388,2231,2015,2340,2123,2334,2499,2209,2646,3630,3664,3461,3234,3452,3398,3479,3375,3222,2712,2686,2965,2930,2584,2577,2364,2096,2203,2005,2264,2687,2519,2185,1898,1662,2196,2902,2890,2919,2503,1801,2006,2784,2833,2322,1821,1891,1710,2648,3410,2872,2439,2048,1909,2274,2369,3056,3104,2606,2311,2788,3077,2809,2943,2763,1964,1295,1484,2117,2834,3743,3551,3449,2679,2655,2851,2688,2898,3749,3852,3081,2778,2153,2351,2432,2324,2390,2576,2706,2066,2110,2093,1944,2536,2929,2997,2384,2000,2369,2614,2632,2200,2035,2562,2997,2546,2124,1844,1897,2343,2205,2025,2320,3288,3053,2756,2380,2225,2918,2660,2184,2322,2215,2292,2563,2451,2231,1972,2676,2354,2701,3263,3062,2532,2240,2431,2552,2480,2217,2056,2073,1930,2056,2188,2374,2242,2475,2877,2989,2715,2266,2565,2781,2311,2545,2475,2660,2632,2647,2122,1453,1787,2300,2075,2475,2844,2445,2039,1910,1760,2060,1813,2009,2747,2729,2564,2938,2928,2346,1954,2292,2821,2388,1929,1822,1461,2054,2456,2097,1844,1843,2167,2894,3377,3191,2954,2170,2191,2357,2845,3089,2306,1705,1775,1782,2051,2589,2845,2964,2750,2420,2056,2202,2302,1924,1947,2219,2481,1990,1758,2155,3276,3650,2329,2346,2337,2469,3021,2194,2166,2579,3131,3426,2556,2313,2482,2755,2661,2034,2380,2526,2092,1560,1188,1513,2000,1964,1912,1838,1746,1405,1458,1876,1639,1633,1498,1466,1715,1768,1494,1472,1507,1523,1534,1492,1472,1615,2565,3125,2813,2670,2543,1960,2664,3043,2143,1992,1595,1456,1446,1161,1153,1226,1509,1549,1622,1732,1816,1636,1724,2378,2320,1745,1434,2439,3152,2994,3137,2952,2995,2440,2194,1982,1678,1610,1632,1634,2044,1939,1793,2018,2167,2039,1722,1635,1770,1592,1584,1825,1721,1565,1619,1597,1490,1854,1950,2023,2589,2864,2561,2760,2719,2376,2841,2661,1806,2323,2837,2511,2162,2131,2333,2024,1943,1946,2226,2156,2166,1945,1771,2289,2567,2538,2556,2956,3066,2474,2082,2116,2159,1973,1628,1546,1433,1479,1631,1579,1885,1887,1826,1830,2212,2283,2059,1627,1519,1345,1344,1393,1468,1525,1373,1464,1644,1556,1496,1431,1504,1604,1739,2416,2094,1609,1992,2183,2154,1691,1472,1553,1784,1660,1282,1278,1364,1454,1548,1647,1521,1540,1448,1385,1391,1449,1771,1865,1691,1774,2030,1644,1464,1511,1443,1503,1438,1923,2439,2318,2417,2579,2476,2545,2614,2743,2916,2510,2404,2388,2027,1246,1474,1659,1460,1417,1395,1250,1349,1483,1513,1551,1424,1577,1654,1515,1365,1270,1328,1333,1537,1750,1698,2287,3039,3248,3343,3054,3451,2949,2355,2732,2978,2165,1849,2009,1992,2397,2310,1877,1720,2080,2202,2394,2336,2116,1932,1981,2123,1982,1787,1298,1592,1697,1761,1743,1635,1876,1921,1736,1720,2041,2257,2365,2318,2165,1759,1834,2042,1929,2181,2113,2492,2100,1818,2093,2508,3074,3409,2807,2478,2551,2448,2509,2196,2416,2545,2372,2182,2216,2552,2841,3312,3081,2212,2162,1874,1674,1841,2125,2166,1812,1895,2153,1976,1815,1676,2264,2443,2335,3273,3786,3674,2688,2090,2389,2653,2406,2509,2740,2387,2083,1926,1670,1570,2215,2215,2385,2512,1970,2093,2448,2542,2207,1824,1835,2133,2250,2189,2036,2104,1726,1889,2105,2454,3085,3168,2754,2951,3304,2966,1892,1486,1620,1524,1483,1313,1299,1406,1349,1318,1402,1520,1469,1520,1542,1544,1562,1619,1595,1654,1916,1863,1733,1697,1919,2237,2178,2304,2299,2722,2426,1533,1741,2210,2382,2347,1901,1744,1641,1492,1623,1892,2293,2498,2214,2587,2699,2579,2132,2166,2075,1946,2127,2186,2391,2243,2097,2254,2022,2248,2188,1935,1884,2421,2393,1715,1542,1999,1889,1368,1515,1667,1766,1860,1737,1787,2163,2143,2299,3248,4224,4194,4600,4201,3961,3696,3597,3093,2368,2438,2389,2344,2575,2106,1903,2147,2250,2668,2587,2348,2686,2369,1752,1947,2286,2249,2354,2256,2193,2146,2411,2680,3032,3232,3365,3240,2645,2249,2397,3031,3570,3435,3550,3387,3330,3082,2451,2773,2774,2579,2641,2806,3074,2843,2609,2234,2112,2649,3077,2708,3360,3573,3300,2931,2419,2482,3017,2867,2664,2902,3054,2950,2921,2139,1324,1691,2230,2398,2641,2540,2862,3327,3039,2911,2675,2348,1921,1710,1936,2756,2447,2126,2517,2663,2892,3074,2495,1766,2114,2586,2083,1772,1661,1600,1859,1898,1837,2286,2405,2054,2143,2030,1919,2007,2042,1841,1847,1868,1837,1713,1815,1779,2081,2568,2269,1529,1727,1696,2238,2013,2008,1717,1790,1671,1607,1970,1872,1749,2148,2398,2600,2602,2342,1984,1574,1653,1615,1438,1527,1925,2291,2148,1734,1907,2242,2238,2093,2129,2326,2061,2112,2306,2191,1851,1763,2093,2281,2133,1977,1783,1973,1904,1714,1494,1437,1539,1805,1883,2184,2568,2623,2612,2035,1725,1809,1908,2200,2116,1643,1870,2890,2893,2185,2316,2340,2041,1978,1945,2015,2021,1851,1785,1728,1584,1482,1610,1912,2405,2462,2590,2647,2368,2809,2751,2594,2818,2774,2406,2423,2944,3134,2577,2356,2286,2081,2437,2655,2884,2548,2116,2025,2500,3128,3262,3295,3326,2900,1936,1663,1730,1894,2454,2270,2031,1497,1292,1394,1437,1643,1782,1938,2106,1765,1749,1758,2072,2176,1966,1764,1685,2131,2371,2061,2087,2109,1855,1577,1552,1741,1748,2175,2468,2064,1734,1720,1621,1600,1631,1714,1847,1720,1477,1747,2073,2232,1831,1664,1736,2106,2139,1750,1704,1424,1805,2257,2039,2613,2467,2338,2753,2489,2056,2147,2630,2444,1709,1609,1953,1899,1952,1995,2142,1670,1593,1923,1972,1669,1639,1799,1827],[1624,2091,2679,2732,2400,2047,2218,2493,2510,2450,2454,2640,2736,3266,3892,3951,3608,2561,2210,3023,3761,3918,3852,3752,3594,3884,4245,4372,4380,4156,4096,3837,3809,3958,3877,3602,3089,3332,3554,3330,3225,3349,3462,3565,3588,3587,3499,3582,3563,3615,3364,3481,3333,2978,3222,3515,3250,3182,3654,3179,2602,2470,2391,2987,3199,2462,2175,2709,2602,2404,2491,1964,2151,2697,2393,2297,3625,3598,3381,3781,3965,2787,2322,2769,2978,2713,2756,3246,3866,3868,3452,3178,2605,2235,1931,2136,2893,3174,2972,2886,2701,2940,2544,1717,1290,1631,1699,1289,1489,2286,2480,2090,1691,2496,3428,3780,3520,3538,3100,2854,1912,1584,2786,3249,2264,2335,3074,3226,3174,2979,3259,3485,2920,2667,3018,3618,3167,2005,2142,2547,2136,2004,2518,2846,2706,2396,2476,2350,2148,1859,1749,2009,2218,1920,2002,2409,2241,2501,2575,1985,1842,2557,2462,2387,2670,2339,2198,2577,3086,3022,2770,3072,3045,3061,3403,3671,3616,3067,3218,3339,2930,2508,2712,2829,2304,2272,2708,2957,2608,2161,2655,3710,3944,3530,3184,2883,2733,2945,3242,3725,3917,4276,3824,3310,3462,3360,3351,3293,3204,3341,2886,2956,3547,2974,2979,2555,1983,2591,2339,2243,2510,2492,2376,2790,2867,2435,2512,2666,2367,2154,2322,2679,2834,2442,2330,2365,2613,2536,2474,2315,2347,3528,2902,2018,2676,3023,3066,2717,2614,2482,2250,1975,2641,3909,3754,2359,2536,3174,3580,3549,3610,3854,4144,4123,3470,3666,3994,3831,3104,3116,3494,3142,3145,2528,2668,3210,3232,2809,2171,1963,2059,2780,3187,3260,3156,2425,1757,1804,1902,1890,1927,1868,1996,2082,1914,2115,2934,2447,1931,2966,3396,2916,2574,2154,2136,2850,2636,1819,1367,1493,1869,2133,2263,2208,2365,2082,2177,2570,2674,3040,3310,2435,1475,1713,2313,1902,1775,2529,2319,2285,2521,2526,2476,2714,2586,2642,2724,2612,2510,2243,3097,3077,2476,2911,2865,2917,2858,2431,2295,2496,2798,3002,2376,1763,1654,1739,1880,1936,1989,2496,2519,2314,2020,1788,2253,2484,2066,2294,2688,2320,2376,3001,3312,3565,3615,2906,2049,2194,2868,2807,2098,1802,1776,1869,1586,1505,2043,2025,1683,1655,1926,1853,1603,1764,1554,1618,2378,2364,2295,2480,2145,1810,1873,2335,2389,2476,2207,1921,1620,1709,2115,2135,2110,3085,3783,3399,2358,1947,1924,1936,2298,2441,2330,2419,2675,2227,1914,2631,2448,1847,1588,1548,1681,2664,3009,2469,2163,1903,1622,1776,1824,1759,1757,1835,1729,1721,2217,2415,2061,2326,2229,1899,2173,2066,2178,1980,1648,1830,2258,2214,2293,2182,1673,1647,1745,1747,1878,2121,2277,1672,1557,1664,2049,2352,2323,2654,3353,3791,3880,3927,3480,2050,1728,1912,2455,2271,1921,1862,2067,2004,1870,2126,2175,1964,2097,2375,2511,2547,2418,2126,1686,1657,2081,2128,1838,1860,1716,1496,1443,1604,1450,1554,1902,1691,1584,1634,1624,1654,1562,1898,2222,2207,2040,2535,3310,3773,3510,2985,3204,4038,4072,3871,4139,4345,3639,2226,1760,2280,2738,2454,2712,2757,2061,1578,1439,1471,1612,2653,2921,1525,1603,2022,2141,2336,1907,1658,1780,1514,1501,1988,3197,3296,2249,2643,2684,1830,1578,2043,2299,1664,1694,1837,1695,1620,1871,2075,2113,1997,1556,1762,1960,1843,2133,2248,1707,1577,1804,1997,1645,1497,2100,2292,1806,1122,1260,1735,2010,1814,1232,1246,1535,1702,1763,1882,1438,1151,1364,1710,1628,1444,1588,1604,1475,1283,1240,1757,2050,1676,1535,1507,1096,1363,1470,2122,2288,1907,2261,1978,1884,1782,1361,1486,1726,1871,1744,2064,2043,1785,1536,2020,2330,2128,1868,1998,2131,1688,1418,1507,1747,2413,2486,1929,1755,1876,1846,1638,1851,2983,3313,2501,2130,2028,2368,2522,2047,1761,1622,1686,2109,2428,2659,2595,2604,2370,1930,2060,1895,2112,2066,2470,3088,2728,2222,2430,2300,2249,2961,3426,3404,3348,3088,2300,2653,2551,2732,3448,3880,3312,2416,1763,1822,2160,2159,1879,1863,1858,2065,2191,2754,3138,3100,3187,3321,3393,3566,3355,2634,1832,1745,2110,2431,2294,2588,2385,2473,2499,2270,2098,2223,2401,2261,2105,2500,3549,3602,3239,2720,2821,3051,2984,2809,2887,2994,2922,2818,2823,2578,2677,2216,2140,2120,2200,1994,2394,2947,2823,2188,1881,2156,2236,2294,2657,2088,1981,2106,2394,2484,1991,1663,1606,1783,2975,3837,2909,2079,1867,2203,2068,2505,3033,2947,2663,2431,2832,2920,2545,2442,3096,2495,1566,1349,1954,2824,3249,3152,3228,3371,3311,3035,2536,2592,3560,4213,3419,2722,2156,1928,2031,2220,2570,3064,2706,2195,2668,2499,2163,2756,3261,3055,2640,2569,2795,2584,2258,2209,2230,2306,2395,2489,2253,2042,2112,1913,2029,2227,2497,3257,2977,2477,2512,2487,2337,1821,1784,1949,2123,2173,2784,2702,2192,2009,2253,1794,2435,3653,3388,2454,2389,2584,2562,1983,1347,1266,2087,2621,2793,2244,1925,2176,2180,2078,2265,2125,1868,2272,2562,2204,2665,2645,2457,2543,2894,2569,1948,2439,2570,1742,1827,1987,1916,1997,2104,1928,1920,1541,1601,2345,2388,1813,1857,2366,2216,2158,2420,2410,2176,2150,2199,1936,2442,2737,2273,2162,2029,2029,3264,3295,2446,2566,2277,2322,2213,2338,2611,2438,2103,2054,1870,1996,2497,2446,2477,2741,2941,2486,2297,2253,1891,1566,1948,2349,2155,2091,2574,3473,2798,2264,2293,1972,2758,2558,2006,2467,2957,3523,3271,2959,2217,2686,2795,2114,2121,2806,2306,1656,1250,1392,1945,2113,2235,2098,1991,1931,1697,1849,1946,1542,1725,1498,1642,2142,1802,1434,1558,1747,1864,1642,1748,1706,2141,3024,3262,2808,2552,2050,1957,3021,2769,1809,1895,1469,1748,1697,1498,1409,1387,1657,1653,1649,1732,1724,1445,1713,2563,2144,1690,1694,2729,2994,3154,3038,3038,2997,2455,2330,2290,1753,1964,1946,1692,2339,2496,2310,2425,2429,2182,1798,1685,1745,1439,1438,1579,1677,1615,1561,1549,1366,1848,1902,1840,2252,2561,2841,2802,2388,2684,3597,3145,2377,2185,2204,2148,2018,2396,2284,2052,1750,1377,1636,1642,2226,1957,2160,2828,2957,3386,3196,2711,2940,3046,2923,3240,2922,2183,1776,1585,1507,1351,1553,1727,1879,1921,1770,2148,2574,1784,1468,1390,1559,1661,1506,1470,1642,1628,1488,1631,1650,1635,1613,1422,1467,1603,1923,2338,1721,1697,1855,1842,1670,1622,1502,1462,1566,1493,1442,1395,1455,1565,1821,1757,1476,1436,1416,1456,1474,1514,1609,1568,1645,1741,2004,1687,1501,1531,1626,1517,1606,2248,2545,2209,2240,2519,2367,2329,2456,2734,2786,2639,2488,2478,2083,1429,1578,1755,1502,1427,1547,1430,1657,1447,1501,1607,1524,1427,1435,1462,1369,1412,1557,1417,1590,1440,1550,2133,2845,3493,3541,2873,3207,3387,2726,2531,2505,1786,1977,2241,2071,2085,1916,1766,2218,2752,2337,2556,2892,2367,1892,2146,2645,2055,1872,1481,1534,1593,1512,1639,1522,1430,1825,2071,1947,2085,2520,2577,2652,2602,2069,2207,2136,1928,1662,1869,1880,1689,1952,2226,2478,2878,2831,2451,2446,2287,2416,2740,2391,2154,2295,2301,2082,1873,1930,2314,2977,2684,2424,2136,1833,1937,2010,2347,2508,2171,2249,2342,2155,2012,1882,2291,2125,2053,3050,3146,2414,2100,1988,2322,2733,2590,2294,1852,1887,2048,1998,1628,1612,2413,2408,2360,2188,1790,1860,2222,2270,2432,2500,2035,1925,2213,2170,2237,2121,1966,2352,2557,2442,2887,3317,3204,2857,2059,2070,1726,1870,1705,1420,1356,1291,1394,1523,1482,1439,1484,1481,1456,1470,1542,1500,1298,1778,1958,1827,2167,2084,1682,1682,1692,1899,2136,2176,1712,2266,2288,1632,2053,2344,2364,2618,2035,1578,1594,1477,1604,1746,2162,2002,2061,2457,2878,2631,2109,2258,2023,1794,1676,1741,2046,2175,2410,2431,2311,2484,2586,2364,2126,2315,2131,1946,1495,1975,1735,1516,1706,1761,1810,1809,1698,2226,2858,2636,2817,3344,4433,4456,4085,3483,3114,2744,2507,1987,1540,1826,2025,1999,2176,2003,1749,1742,2136,2116,2053,2360,2817,2637,2210,2508,3204,2712,2962,2706,1963,1960,2195,2487,2702,2915,3046,2696,2213,2341,2500,3132,3684,3486,3391,3259,3297,2752,2167,2383,2640,2887,3141,3117,3040,2643,1967,1810,2037,2369,2324,2212,2600,2872,3084,3177,2984,3191,3031,2502,2344,2695,2828,2757,2939,2294,1722,2171,2430,2313,2264,2226,2614,3033,2824,3112,3491,2687,1781,1687,2251,2581,2288,2117,2007,2442,2922,2950,2533,1993,2263,2844,2311,1816,1629,1644,1945,2070,1963,1975,2043,1941,1874,1805,1863,1773,1909,1864,1907,1784,1662,1747,1583,1452,1647,1688,1481,1083,1512,1702,1889,1595,1507,1731,1936,1803,1904,1844,1534,1532,1972,2788,2843,2417,2355,2348,1895,1527,1508,1447,1458,1845,2219,2149,2207,2203,2293,2018,2124,2200,2354,2286,2328,2209,1897,2005,1772,1741,1718,1542,1665,1792,1978,1803,1471,1475,1575,1810,2342,2446,2178,2186,2387,1964,1706,1734,1861,1949,2186,1765,1538,2297,2792,2262,1737,2216,2626,2282,2115,2335,1778,2003,1849,1711,1727,1732,1820,1803,2320,3166,2413,2086,2503,2909,2850,2720,2619,2579,2309,2361,2784,2930,2522,1881,1795,1918,2236,2373,2565,2774,2555,2426,2755,3200,3312,3182,2633,2294,2567,1968,1561,1708,1865,1898,1757,1653,1572,1570,1608,1782,1971,1624,1729,2088,1999,1686,1648,1760,1957,1847,1710,1815,2083,2172,1868,1858,1755,1516,1407,1545,1610,1947,2447,2564,2223,1795,1910,1987,1713,1638,1860,2029,1920,1824,1731,1741,1716,1760,1905,1913,2352,2626,2127,2057,1813,2308,2664,2532,3002,2843,2623,2854,2739,2363,2335,2494,1995,1747,1823,1876,1929,2454,3007,2622,1778,1719,2274,2160,1691,1875,2049,1748],[2272,2420,2510,2474,2505,2369,2584,2756,2485,2314,2609,2841,2974,3724,4084,3766,3243,2362,2265,3112,3444,3540,3842,3671,3701,3771,3505,3781,4064,4157,4028,3328,3625,3883,3803,3703,3383,3395,3522,3339,3194,3222,3420,3604,3636,3609,3394,3363,3311,3498,3482,3305,3182,3242,3710,3528,3035,3104,3483,2674,2500,2779,2883,3289,3131,2556,2830,3088,2866,2542,2317,1745,1784,2190,2229,2132,3294,3895,3759,3806,3576,3031,2613,2930,2855,1706,1446,2607,3365,3371,2958,2763,2629,2596,2372,2670,3020,2888,3000,2913,2575,3082,2673,2017,1393,1764,2087,1577,1701,2076,2249,1995,2207,3304,3442,3213,3209,3354,3703,3602,2476,1813,2611,2744,1331,1843,2463,2299,2242,2372,3267,3347,2910,2621,3153,3981,3019,1291,1442,2487,2155,2085,2564,2601,2169,2281,2296,2437,2326,2055,2026,1962,1779,1873,1921,2078,2320,2931,3083,2406,2069,2513,2386,2312,2382,2109,1872,2146,2383,2303,2487,2841,2589,2564,2675,2861,2707,2633,2765,2645,2598,2084,2407,2789,2394,2170,2680,3004,2668,1949,2166,3365,4237,4114,3448,2757,2539,2694,3038,3422,3698,4304,3702,3354,3418,3674,3864,3696,3751,3677,3232,3072,3492,2893,2722,2707,2054,2461,2467,2314,2332,2224,2765,3361,3064,2598,2526,2431,2069,2331,2558,2471,2907,2666,2172,2037,1964,2227,2993,3178,3226,3341,2065,1810,2529,3022,2852,2625,2584,2522,2324,2182,2531,3240,3725,3117,3182,3165,3349,3431,3683,3747,3965,3740,3553,3522,3317,3387,3178,3830,3843,3147,3239,2953,2855,2843,2932,2342,1798,1850,2547,3077,2508,2416,2969,2352,1927,2221,1982,1605,1637,1720,1810,2022,2186,2770,2775,1862,1657,1781,2460,2867,3134,2701,2435,2431,2329,2216,1717,1671,1751,1717,1793,1994,2511,2554,2731,2867,2847,3225,3453,3040,2270,2385,2631,2103,1924,2721,2534,2417,2563,2397,2689,2928,2497,2388,2219,2347,2555,2233,2953,3069,2765,3094,2905,2631,2568,2420,2149,1880,2037,2575,2301,1915,1860,2140,2048,2210,2496,2687,2734,2834,2897,2652,2554,2125,1940,2276,2512,2066,1855,2215,2868,3472,3411,2706,2148,2193,2509,2423,1724,1906,2085,2036,1672,1676,2273,2153,1857,1840,1917,1984,1985,2115,1776,1892,2631,2695,3050,3066,2797,2418,2598,2644,2272,2016,1818,1790,1419,1556,1744,1591,1823,3214,3861,3132,2116,2066,2018,1770,2442,2564,2456,2394,2504,2042,2030,2495,2310,1915,1616,1468,2088,3021,2513,2307,2001,1818,1606,1721,1667,1712,1818,1817,1874,1988,2059,2068,2009,2084,1941,2162,1855,2124,3096,2201,1733,2030,2279,2195,1951,1971,1938,2059,2033,1660,1823,2036,1932,1572,1642,1672,1744,2025,2221,2098,2451,3334,3538,3226,2589,1881,1549,2053,2325,2246,2241,2883,3429,2779,2279,2411,2008,2103,2459,2306,2192,2078,1984,1980,1940,2014,2113,1863,1744,1849,1693,1704,1655,2056,1611,1854,1991,1720,1549,1822,2478,2445,1785,1661,1771,1988,2099,2661,2930,2789,3357,3605,4007,4440,4273,4212,4397,4473,3584,2024,1893,2585,2810,2718,2718,2597,2652,2869,2293,1887,1906,2764,2869,1861,1669,1821,2287,2494,2112,2045,2121,1738,1541,1962,2947,3056,2059,2685,2602,2266,2140,2243,1922,1565,1804,2001,1746,1491,1741,1888,1760,1567,1475,1659,1486,1487,2283,2138,1677,1674,1522,1449,1584,2129,2678,2906,1989,1541,1997,2209,1957,1740,1536,1669,1979,1726,1521,1540,954,1164,1322,1576,1609,1604,1654,1536,1455,1426,1547,1835,1999,1786,1702,1678,1514,1550,1301,1775,2025,1913,1987,1955,1958,1662,1434,1462,1611,1707,2017,2257,2247,2032,1914,1791,1851,2028,2199,2386,1845,1535,1720,1968,2044,2553,2604,2264,2076,1840,1585,1543,2109,3145,3272,2573,2286,1867,1785,1664,1635,1804,2009,2448,2978,3000,2520,1989,2309,2364,2050,2185,1907,2199,2210,2364,2863,2736,2071,2276,2458,2247,2591,3362,3285,2930,3462,2397,2715,3159,3110,3531,3754,3238,2202,1739,1878,2179,2189,2138,2071,2033,2188,2254,2744,3086,2907,2972,3195,3291,3293,2842,2461,1809,1754,1912,2319,2396,2048,1777,1881,2264,2250,1895,2089,2329,2185,2283,2357,3098,3616,3197,2887,2767,2481,2290,2394,2655,2875,2890,2464,2710,2534,2324,2164,2403,2226,2387,2336,2391,3011,3064,2084,1682,1560,1582,1794,2790,2850,2346,2508,2812,2699,2415,1825,1574,2176,3040,2872,2275,2236,1905,2306,2094,2309,2873,2997,2690,2770,2327,1852,1792,1956,2924,2215,2318,1846,2386,2582,2277,2259,2749,3364,3529,3313,2441,2665,2873,2905,2831,2431,2229,2470,2867,2808,2544,2735,2596,2744,2756,2580,2001,2299,2599,2828,3129,2780,2667,2746,2276,1774,2300,2622,2513,2713,2314,1895,2072,2352,2436,2278,2517,3041,2600,2248,2435,2856,2635,1562,1819,2159,2240,2331,2728,2495,1882,1490,1745,1886,2542,3488,2929,2038,1929,1694,1937,1664,1538,1326,1970,2845,2788,2003,1826,2456,2316,2416,2874,2641,2296,2166,2284,2081,2302,2360,2124,2241,2420,2294,2229,2944,2460,1681,2187,2699,2224,1987,1990,2066,1780,1444,1637,1919,2430,1896,1765,1785,1979,3047,2975,1945,1787,1942,2138,2110,2406,2497,2001,2199,2024,1820,3138,2830,2737,3316,2643,1730,1696,2171,2558,2812,2620,2316,1684,1833,1990,1898,2133,2668,2580,2020,1844,2199,2329,2028,2032,2060,2255,2347,3089,2699,1865,2193,2004,2079,2408,2028,2294,2645,3214,3199,2979,2439,1711,2814,2625,1948,2334,2412,1798,1382,1537,2061,2021,2238,2010,1755,2308,2134,1704,1714,1592,1729,1857,1626,1791,1883,1484,1287,1365,2173,2675,2004,2288,2405,2719,3308,3106,2666,2910,2680,2386,2843,2219,2378,1621,1681,1768,1495,1519,1439,1584,1656,1492,1782,2415,2546,1604,2075,2509,1967,1716,1988,2390,2495,2775,2991,3039,2750,2482,2303,2158,1577,1972,2004,1698,1748,1813,1974,2388,2602,2382,1898,2031,2098,1499,1396,1549,1660,1483,1406,1339,1465,2042,2243,2113,2254,2464,2754,2849,2967,3098,3695,3052,2393,2287,2657,2486,2282,2406,2142,2020,1762,1601,1404,1522,1998,1752,2387,2801,2764,3152,3281,2907,2798,3040,2828,3383,2722,2059,1823,1467,1269,1248,1412,1448,1497,1763,1744,1743,2046,1576,1398,1441,1612,1815,1705,1671,1713,1436,1383,1554,1525,1830,1955,2002,1865,1533,1909,2013,1394,1282,1502,1636,1695,1656,1597,1452,1367,1358,1375,1494,1571,1616,1749,1403,1261,1408,1565,1605,1535,1803,1860,1547,1602,1636,1831,1664,1582,1775,1748,1614,1847,2396,2646,2130,2071,2380,2456,2553,2622,2797,2841,2765,2548,2570,2106,1546,2085,2414,2077,1941,1844,1856,1905,1632,1459,1461,1566,1522,1458,1565,1461,1473,1552,1259,1291,1284,1983,2074,1992,2836,3511,3536,3538,3662,3507,3050,2382,1765,2287,2273,2079,2110,2530,2569,2254,2045,1993,2323,2395,2089,1729,1872,2323,2045,1696,1723,1804,1803,1811,1841,1843,1703,2248,2547,2127,2287,2919,2690,2446,2404,2381,2390,2714,2290,1823,2202,2365,2459,2511,2331,1782,2282,1908,2031,2004,1849,1852,2221,2344,2136,2239,2621,2470,2038,1975,2169,2510,2481,2361,2144,1914,1828,1837,1886,2082,2384,2461,2451,2414,2064,2227,2226,2016,2220,3168,2863,2109,2449,2913,2965,2411,2126,1699,1680,2242,2127,1938,1621,1955,2398,2475,2391,1924,1903,2340,2541,2047,2048,2327,2066,1794,1827,1780,2265,2657,2430,2477,2623,2724,3288,3318,3261,2493,1752,1811,1772,1649,1424,1409,1411,1354,1455,1576,1494,1451,1468,1601,1538,1432,1479,1481,1454,1919,2074,1812,1683,1515,1587,1600,1627,1773,1858,1666,1701,2252,2171,1967,2482,2539,2121,2395,2137,1684,1646,1473,1620,1662,2308,2603,2425,2531,2487,2133,2151,1840,1660,1740,1710,1852,2302,2365,2342,2387,2453,2679,2474,2241,2045,2298,2107,2340,2197,2230,1902,1836,1916,1744,1563,1640,1881,2194,2401,2369,2434,2893,3463,3162,2500,2021,2092,2397,2149,1654,1643,1667,1600,1811,2111,1903,1321,1286,1816,2300,2323,2272,2917,2655,2126,2401,3441,3608,3364,2861,2271,1953,1859,2037,2297,2390,2691,2924,2664,2509,2319,2208,2895,3458,3072,2871,2830,2327,2103,2236,2242,2929,3279,3151,3156,3084,2054,1397,1709,2128,2141,2186,2140,1910,2132,2633,2679,2956,1931,1719,1879,2566,3125,2834,2210,1675,2083,3207,3262,2874,2905,2536,2375,2318,2320,2894,3250,2766,1988,1791,2671,2877,2439,2367,2226,2465,3002,2793,2514,2302,2433,2720,2360,1908,1763,1792,1860,1814,2022,2426,2114,1936,1825,1838,1965,1877,1827,2006,1937,1572,1533,1613,1513,1452,1345,1345,1370,1414,1542,1532,1600,1600,1621,1776,1829,1752,1917,1831,1710,1824,1920,2611,2589,1950,2265,2828,2410,1648,1621,1432,1586,1630,2042,2422,2224,1954,2088,2410,2753,2579,2431,2409,2205,1730,1865,2276,1843,1584,1627,1421,2059,2196,1915,1703,1423,1677,1924,1939,2229,2116,1756,1853,1552,1773,1733,1649,1816,1922,1917,1722,1886,2092,2093,2496,2508,2685,2719,2249,2009,2222,2379,2490,2001,1650,1855,2298,2141,1630,1936,2294,2144,1767,2182,2632,2705,2753,2652,2400,2208,2286,2514,2431,2101,1831,1822,2274,3001,2687,2533,2589,2547,2720,2717,2721,2678,2226,1750,1700,1878,1937,1758,1528,1510,1541,1613,1623,1648,1599,1544,1668,1686,1722,1753,1766,1914,1896,1902,2110,2315,2043,1776,1717,1548,1718,2114,1977,1783,1743,1802,1900,1803,2215,2786,3001,2585,1954,2017,2069,1482,1749,1919,2117,2008,1661,1509,1673,1699,1677,1802,1864,2289,2553,3165,2965,2541,2867,3396,3334,3081,2542,2402,2517,2595,2224,1976,2204,2159,2077,2064,1803,2015,3042,3199,2321,1797,1824,1943,1562,1585,1785,1699,1707],[3038,2785,2402,2345,2562,2579,2814,3122,2674,2191,2765,3422,3422,3774,3829,3427,3179,2742,3054,3428,3250,3477,3808,3665,4048,3984,3670,3918,3829,3969,4031,3724,3791,3603,3741,3980,3764,3664,3736,3513,3330,3351,3624,3506,3295,3436,3508,3452,3411,3594,3605,3305,3310,3348,3311,3422,3527,3518,3279,2958,2755,2987,2545,2182,2518,2907,3553,3774,3394,2607,2255,2027,1787,2077,2508,2451,2634,2680,2787,2896,2731,2551,2602,2729,2546,1651,1284,2410,2770,2531,2169,2201,2887,2850,2237,2545,2665,2963,2987,2713,2584,3044,2920,2364,1724,1853,2109,2001,1986,2098,2132,2105,2558,2711,3012,2931,2920,3002,3112,2773,2448,2220,2464,2885,2043,2202,2216,2003,1626,2272,3609,3653,2739,2425,3362,4113,3110,1850,1984,2614,2032,1981,2596,1849,1278,2002,2642,2718,2565,2384,2308,1891,1756,1973,2030,2056,2320,3793,4028,2695,2578,3124,3121,3292,3002,2387,2220,2945,2865,2315,2711,2730,2242,2163,2453,2933,2856,2735,2974,2927,3195,2697,2436,2736,2930,2610,2320,2444,2575,2089,2094,3185,3747,3872,3521,2862,2604,2437,3017,3624,3692,3991,4247,4048,3886,3811,3806,3482,3704,3993,4312,3524,3161,3188,3116,2939,2187,2127,2372,2281,2128,2081,2476,3242,3414,2499,2110,2379,2188,2933,2818,2177,2630,2553,2078,2061,2221,2861,3585,3643,3580,2720,1948,2633,3124,3061,2767,2507,2460,2107,2039,2320,2746,2778,2899,3359,3535,3370,3364,3733,3986,3776,3440,2899,2710,3043,3484,3409,3238,3832,3713,2987,2823,3321,3585,3431,2874,2126,1944,2233,2581,2218,1596,1435,1766,1879,2108,2398,1852,1301,1834,1737,1581,1950,2176,2743,2600,1858,1837,1854,1853,2247,2762,3016,3002,2269,2057,2664,2036,1862,1420,1259,1505,1813,2226,2328,2370,2099,2194,3132,3605,3864,3681,3162,2592,2169,2121,2545,2546,2525,2626,2104,2126,2097,1913,2058,2228,2715,3010,2761,2944,3066,3063,3082,2888,2989,3273,2955,2614,3008,2590,2329,2141,2056,1938,2177,2139,2090,2322,2451,2397,2977,3861,3872,3348,2203,1974,2236,2174,1916,1720,1758,2041,2503,2568,2137,2084,2974,2744,2099,1935,2125,1967,2028,1831,1597,1652,1824,1849,1604,1784,2259,1874,1750,1688,2036,2332,2935,3190,2907,2802,2809,2869,2626,2410,1959,2597,2564,1740,2121,2151,1676,2054,3029,3520,2539,1806,1901,1554,1693,2513,2351,2373,2346,2408,2235,2291,2553,2310,1703,1560,1682,2248,2652,1696,1643,1819,1705,1879,1762,1594,1688,1703,1811,2243,2233,2069,1988,1897,1896,2067,2078,1748,1849,2310,1945,1644,1695,1843,1804,1698,1903,2039,2042,2033,2472,2727,2336,1790,1450,1710,1845,2113,2592,2710,2082,2350,3057,3195,2788,2008,1573,1622,2226,2785,2871,2719,3592,4008,3143,2320,2316,1887,1872,2104,1999,1974,1874,1781,2076,2326,2031,1741,1945,1747,1804,1815,1691,1545,1525,1498,1749,1742,1645,1633,1678,1856,2342,2521,2568,2554,2538,2873,3106,3028,3221,3758,3776,3880,4233,4132,4107,4228,4284,3251,2023,2013,2685,2614,2316,1991,1887,2679,2895,3000,3133,3274,3071,2385,1974,1781,1790,2084,2172,2066,2261,2255,1701,1719,1940,1443,1288,1406,2026,2062,2315,2855,2590,2035,1958,1958,1794,1511,1716,2262,2034,1670,1908,1861,1744,1612,1728,2078,1823,1730,1697,1620,1591,1984,1869,2558,3081,2234,1519,1745,1964,1882,1981,1926,1859,2264,1917,1566,1551,1378,1587,1715,1728,1762,1783,1660,1559,1542,1594,1704,1813,1862,1824,1893,1792,1583,1229,1228,1616,1765,1642,1569,1737,1893,1919,1812,1801,1984,2113,1929,1898,1855,1504,1532,1892,2226,2205,2010,1907,1665,1740,1821,1803,1586,2017,2678,2559,2113,1804,1789,2327,2691,3054,2968,2152,1841,1560,1548,1698,1982,2163,2199,2481,2574,2160,2118,2135,2189,1898,2071,2174,2282,2361,2115,2083,2357,2168,1967,2163,2511,2365,2188,2862,3024,2231,2940,2386,2585,2833,2668,2770,2735,2367,1888,1857,1831,1747,1874,2041,2030,1953,1913,2055,2745,3050,2470,2590,3052,3151,2667,2116,2445,1837,1780,2208,2032,1835,1978,1810,1581,1662,1964,2066,2110,2362,2379,2798,2690,2670,2820,2797,2770,2625,2220,2106,2296,2468,2553,2734,2437,2895,2861,2330,2324,2493,2244,2341,2549,2554,2584,2573,1814,1657,1565,1681,1790,2380,2549,1983,2397,3501,3351,2698,2350,2303,2420,2446,1844,1911,2518,2241,1907,1972,1882,1963,2644,3245,3624,2412,1695,1657,2189,2481,2107,2360,2432,2854,2815,2312,2234,2657,2504,2215,2406,2302,3169,2333,1967,2453,2219,2191,2680,3320,3454,2958,2598,2369,2309,2149,2564,2211,2629,2928,3110,2946,2684,2622,2410,2125,1704,1968,1972,1890,2768,2658,1952,1801,2382,2769,2714,2797,2400,1951,1837,2228,2749,2421,1845,2145,3204,3205,2770,2553,2165,1820,1864,2122,2276,2856,3283,2213,2064,1613,1534,2026,2086,1966,1493,1736,2457,2032,1868,2154,2165,1944,2920,3585,3372,2727,2581,2530,2160,2110,2056,2114,2204,1931,1892,2055,2359,1951,1922,3166,3150,2089,1788,1825,1964,1776,1470,1829,2530,2587,1902,1870,1871,2646,3544,2756,2024,1976,1876,1799,1990,2542,2554,1991,2132,2099,2037,2824,3094,3393,3208,2278,1872,2443,2952,2729,2518,2305,2112,1735,2098,1854,2370,2533,2274,2150,2013,2031,2250,2316,2310,2030,2337,2906,2774,2292,1670,2016,2166,1996,2154,1967,2254,2652,2955,3053,2919,2762,1917,1881,2258,2050,2117,2549,2083,1474,1191,1874,2172,2241,2146,1659,2115,2432,1762,1502,1461,1743,1934,1678,1730,1780,1585,1453,1382,1694,2326,1780,2039,2853,2579,2177,2687,2910,2504,2275,2194,2742,2525,1853,2008,1523,1810,1561,1166,1381,1472,1583,1617,1445,1743,2688,2731,1702,2052,2037,1791,1992,1973,1657,1656,1909,2162,2361,2426,2427,2040,1820,1734,1891,1956,1636,1550,1568,1714,2137,2408,2571,2062,2087,1880,1438,1484,1534,1520,1464,1449,1533,1590,2066,2770,2100,2384,2762,2840,3495,3682,3739,3671,3106,2658,2906,3503,3242,2468,2301,2593,2062,1368,1073,1088,2280,2416,1919,2558,3025,2656,2446,2407,2370,2762,2779,2620,2984,2294,1969,1852,1465,1306,1387,1212,1658,2335,2160,1632,1492,1520,1428,1388,1478,1648,1773,1695,1661,1531,1305,1531,1664,1753,1772,2312,2321,1844,1639,1761,1726,1444,1271,1555,2042,2207,1878,1813,1468,1746,1709,1599,1498,1534,1675,1597,1359,1274,1323,1444,1452,1527,1878,1823,1753,1605,1614,1865,1835,1882,2026,2152,2327,2165,2041,2325,2115,2105,2303,2439,2732,2764,2706,2765,2712,2669,2745,1967,1650,2337,2625,2712,2275,2122,2145,1964,1765,1600,1597,1792,1644,1426,1702,1428,1284,1294,1329,1390,1472,1548,1427,1514,2040,2918,3608,3732,3474,3054,2753,2032,1770,2029,2221,2266,2069,2132,2003,1304,1075,1304,1137,893,921,745,1205,1671,1857,1921,2249,2035,1890,1793,2023,2508,2041,2443,3062,3183,3614,3111,2176,1938,2028,2176,2155,2223,2312,2496,2504,2702,2643,2562,2313,1949,2075,1769,1769,1811,1690,1639,1958,2358,2299,2413,2994,2711,2264,2353,2309,2292,2310,2250,2193,1998,1481,1532,1904,2404,2801,2393,2203,2032,2167,2533,2428,2548,3186,3686,3348,3095,3580,4025,3870,2589,1995,2338,2623,2394,2160,1960,1788,2271,2489,2586,2542,2032,2430,2977,2946,2024,1729,1920,1887,1798,1655,1743,2222,2348,2060,2097,2347,2644,2831,3104,3241,2833,2315,2313,2345,1812,1454,1441,1461,1439,1563,1455,1333,1428,1510,1554,1439,1379,1415,1445,1470,1543,1574,1564,1582,1468,1537,1487,1515,1707,1772,1689,1857,2148,1936,1788,2021,2279,2038,1991,2280,1918,1581,1572,1623,1596,1994,2596,2843,2615,2081,1989,2336,1667,1573,1644,1557,1917,2450,2259,1886,2034,2396,2421,1985,1949,2106,2025,1823,1876,2027,1973,1835,1910,1953,1854,1689,1878,1984,1968,2029,2244,2408,2648,2418,1960,1804,1679,2303,2952,2477,1720,1717,1669,1694,1968,2141,1981,1218,1034,1561,2622,3165,2658,2866,2428,2430,2398,2467,3124,3011,2545,2335,1996,1955,2402,2741,2206,2679,3028,3164,3436,3035,2112,2241,2699,2447,2404,2813,2708,2583,2510,2170,2724,3234,2854,2701,3010,2843,2400,2223,2220,2159,2160,2103,2164,2048,2354,2565,2808,2283,2180,2512,2990,3112,2686,1895,1718,2478,3639,4144,3630,3227,2968,2418,2121,2405,2508,2293,2410,2172,1918,2920,3461,3229,2987,2385,2106,2387,2120,1881,1898,1986,1958,1946,1772,1742,1844,1824,1642,1707,2521,2499,2040,1954,2208,2210,1947,1755,1660,1636,1582,1568,1484,1453,1478,1485,1396,1762,2009,1657,1528,1629,1560,1583,1599,1916,1905,1850,1943,1735,1772,2123,2193,1804,1634,1832,2250,2484,1974,1985,1998,2067,1630,1665,1796,1696,1724,2172,3029,3198,2798,2450,2258,2226,2070,2150,1980,1794,1966,1837,1621,2066,2098,1996,2020,1778,1950,1891,1716,2026,1743,1763,1880,1696,1912,1840,1637,1542,1749,1826,1841,2143,1876,2409,2952,2808,2719,2540,2064,1862,2005,2169,2223,1961,1788,2050,2658,2120,1790,1951,1962,2083,2093,2364,2392,2497,2680,2385,2064,2263,2164,2233,2535,2347,2286,2136,2468,2807,2521,2578,2522,2617,2989,2640,2118,1850,1783,1756,1959,2031,2466,2286,1500,1542,1535,1640,1531,1524,1599,1423,1488,1465,1603,1606,1804,2128,2386,2414,2404,2308,2088,2150,2198,1842,2121,2090,1742,1803,1897,1850,1733,1861,2713,3746,3416,2403,2032,2086,1880,1602,1470,2071,2667,2532,2160,1744,1798,1873,1666,1577,1670,1664,1815,1925,1651,1674,2415,2483,2403,2863,2586,2668,3053,3054,2198,2098,2294,2236,2222,2124,1823,1948,2321,2230,1952,2114,2036,1960,1638,1644,1674,1795,1662],[3207,3189,2975,2889,3155,3272,3459,3927,3322,2414,2759,3586,3454,3396,3328,3170,3023,3067,3400,3485,3566,3641,4058,3991,3873,3724,3625,3898,3891,4033,3796,3522,3628,3628,3670,3767,3614,3723,3595,3460,3576,3603,3636,3369,3300,3577,3624,3475,3409,3437,3426,3427,3624,3543,3387,3609,4133,3930,3346,3000,3041,3054,2326,2169,3105,3765,3720,3824,3191,2663,2721,2765,2597,2610,2877,2845,2469,2365,2358,2222,2260,2124,2435,2459,2120,1540,1338,1748,1953,1940,2074,2625,3032,2435,1913,2496,3011,3074,2724,3248,3091,2977,3183,2656,2057,2068,2115,2024,2222,2143,2177,2483,2296,2094,2498,2951,2965,3016,3035,2980,2471,2321,2384,2778,3365,3010,2330,2175,1860,2301,3197,2717,1743,2120,3505,3868,3272,2410,2480,2381,1824,2212,2519,1817,1699,2295,2732,2723,2734,2332,2373,2178,1967,1990,2416,2635,2239,2900,2917,1888,2280,3592,3671,3364,2954,2441,2081,2646,2795,2884,3138,3089,2701,2177,2479,3144,3129,3114,2798,2585,2917,2985,3232,3139,3064,3025,2451,2052,2301,2382,2288,3365,3485,3441,3694,3133,2451,2691,3061,3438,3474,3770,4255,4349,4201,3350,2942,2533,3106,3577,3587,2955,2624,2820,2877,2771,2329,2018,2231,1899,1978,2155,2008,2654,2874,2247,2044,2022,2420,3475,3282,2655,2685,2458,1980,1923,2875,3731,3630,3504,3365,2875,2579,2824,2918,2941,2984,2402,2241,2265,3019,3674,3899,3249,2779,3235,3574,3532,3683,4156,4156,3786,3221,2284,2170,3132,3389,3618,3752,3942,4038,3510,3418,3804,3570,3118,2906,2344,2004,2105,2282,1998,1712,1665,1898,2004,2040,2354,2095,1719,2143,1633,1522,1577,1875,2211,2377,1985,1714,1677,1676,2039,2562,2364,2508,2047,1880,2569,2060,1998,1313,1857,2710,2370,2088,2123,2315,2008,2048,2736,3348,3665,3497,2908,2483,2561,2585,2917,2765,2314,2555,2019,1955,2373,2678,2631,2225,2257,2569,2633,2697,2488,2172,2395,2399,2855,3095,2750,2568,2908,2987,2303,1958,2047,1815,1924,2149,1903,2109,2374,2242,3187,3920,3805,3646,2729,2232,2331,2185,1743,1653,1815,1775,1855,1821,1741,1897,2567,2676,2082,1859,2202,2548,2339,1993,1732,1724,1765,1613,1787,1708,1688,1547,2093,2220,2009,2395,2861,2794,2672,2866,3039,2928,2412,2543,2694,3172,2477,1830,2553,2699,2370,2144,2480,2953,1810,1707,1854,1527,1729,2141,2126,2046,1790,1882,2286,2666,2809,2327,1586,1645,2063,2309,2056,1438,1861,2084,1945,1954,1958,1852,1578,1726,2104,2355,2172,2147,2091,1828,1738,1810,1766,1823,2120,2172,1779,1503,1378,1461,1486,1730,2084,2191,2263,2147,2584,2884,2862,2091,1579,2070,2179,2369,2691,2425,2029,2377,2801,2855,2307,1721,1654,1835,2097,2699,2833,2609,3086,3821,3490,2303,2090,2444,2115,2005,2234,2031,1780,1800,1806,1913,1715,1456,1765,1627,1795,2176,2216,1747,1481,1576,1796,2012,2158,2013,1803,1691,2524,3063,3019,3213,3327,3274,3145,3273,3771,3994,3970,3945,4363,4400,4420,4353,4266,3065,1974,1952,2392,2206,1727,1729,2018,2685,3129,3690,3397,3419,3859,3763,2951,2036,1604,1947,2217,2057,2063,2089,1714,1649,1767,1509,1011,1120,2011,2069,2240,2807,2958,3066,2901,2047,1678,1755,1890,1889,1791,1718,1993,1897,1938,2108,2106,1885,1674,1835,1647,1605,1569,1605,1560,2311,2774,2370,1793,1609,1727,1947,2070,2072,2053,2309,1986,1770,1685,1824,1913,1702,1664,1856,1694,1438,1362,1443,1455,1126,1349,1560,1729,1752,1672,1511,1320,1548,1938,1975,1671,1547,1696,2166,1725,1438,1725,1967,2291,2612,2397,1635,1010,885,1312,1965,2010,1887,1686,1439,1624,1750,1999,2051,2382,2939,2348,1471,1838,2202,2627,2876,2736,2177,1775,1736,1649,1750,2251,2820,2721,2058,1823,1877,2061,1870,1643,1772,2009,2317,2372,2624,2433,2082,2244,2282,1982,2059,2026,2258,2562,2349,2152,2682,2728,2874,2676,2685,2778,2351,2327,2561,2114,1869,1885,1954,2684,3496,2829,2064,2181,2288,2331,2558,2654,2170,2395,2843,2972,2459,2331,2417,2014,1871,2260,2595,2544,2103,1812,1477,1807,1999,2439,2413,2299,2659,2712,2802,2780,2359,2222,2081,2172,2105,2231,2268,2343,2381,2484,2296,2798,3045,2420,2118,2168,2283,2387,2413,2886,2319,2308,2095,1949,2070,1902,1699,1765,1865,2069,2264,3397,3072,2062,2516,2994,2452,1703,1309,1863,2591,2566,2028,1803,1797,2069,2720,2951,3625,2619,2005,1852,2276,2752,3099,3056,2681,2846,2199,1819,1991,2316,1777,1278,1331,1908,2054,1643,2178,2807,2505,2457,2431,2354,2385,2856,3085,2805,2711,2415,2309,2287,2154,2124,2083,2034,2362,2107,1838,2496,2414,2562,2345,2228,2708,3185,3025,2740,2913,3253,3169,2623,2018,2088,2117,2795,3096,2386,2047,2336,3420,3697,3029,2731,2584,3045,2714,2261,2403,2443,2224,2643,2398,2144,2129,2156,2065,1685,898,1246,1778,1272,1939,2257,2194,2061,2900,3667,3156,2237,2137,2023,1968,2079,1959,2199,2234,1925,2073,2386,2755,2165,2142,2910,2520,2054,1899,1615,1764,1769,1434,1855,2843,2199,1955,1837,1986,2784,3046,2697,2379,1925,1930,1712,1985,2745,2764,2011,1822,2026,2224,2647,2834,2626,2316,2328,2403,2440,2305,2365,1992,2101,2087,1779,2124,2120,2217,2322,1996,1704,2106,2280,1841,2342,2825,2394,2482,2925,2577,1839,1981,2281,1976,1873,2237,2182,2513,2702,2898,2721,2919,2188,1834,1878,2210,2396,2423,2120,1572,1220,1547,2097,2304,2209,1642,1902,2515,1995,1638,1999,2144,2442,1997,1863,1977,1748,1461,1505,1467,1816,1835,1707,2487,2773,2380,2363,2999,2774,2007,1542,2109,3309,2241,1996,1678,1521,1833,1401,1300,1663,1605,1665,1441,1512,1520,1321,1255,2248,2657,2040,1788,1779,1655,1483,1527,1658,1615,1939,2656,2609,2307,2013,2020,2008,1854,1862,1779,1742,1850,2223,2297,2373,1913,1474,1432,1452,1436,1389,1523,1544,1416,1504,1514,1895,2635,2393,3658,3824,3786,3817,3428,3283,3008,3081,3477,3295,3394,3276,2531,2586,2603,2203,1788,1722,2092,2809,2851,2526,2736,3129,3297,3059,2745,2830,2235,1842,2595,2935,2449,1956,1720,1803,2216,2327,1947,2369,2473,2416,1826,1522,1478,1354,1341,1741,2161,1933,1755,1599,1493,1401,1476,1645,1808,1459,1964,1949,1540,1592,1584,1481,1427,1580,1615,2029,2081,1864,1761,1483,1743,1782,1576,1353,1377,1372,1317,1324,1262,1265,1396,1639,1595,1594,1359,1452,1545,1612,1937,2008,2070,2261,2153,2279,2192,1976,2352,2253,2020,2198,2315,2374,2508,2459,2449,2440,2765,3030,1788,1768,2678,3195,2952,2541,2342,2253,2253,2086,1701,1566,1744,1822,1649,1710,1345,1221,1327,1466,1504,1592,1572,1556,1674,1837,2217,3130,3432,2986,2646,2290,1929,1901,1905,2010,2205,2008,1644,1170,842,1252,951,613,743,804,930,1592,2031,1913,2402,2689,2314,2572,2843,3211,3651,3556,4120,4418,4399,4596,3764,2570,2044,1792,1689,1844,1901,2165,2544,2322,2551,2068,1821,1739,1964,1982,1498,1441,1814,1853,2029,2392,2438,2270,2105,2583,2490,2389,2392,2287,2245,2272,2097,2025,2150,1937,1853,2000,2662,2609,1860,1981,2205,2746,3071,3166,3684,3881,3910,3845,3965,4306,4237,4164,2767,2096,2282,2283,2075,2039,2040,1865,2188,2663,2787,2231,2206,2441,2639,2489,2060,2141,2133,1867,1747,1675,1814,2143,2205,1856,1749,1798,2106,2430,2700,3134,3090,2513,2593,2571,2025,1624,1327,1258,1320,1411,1410,1378,1529,1562,1416,1356,1423,1393,1460,1582,1572,1652,1609,1476,1449,1499,1607,1599,1670,1757,1732,1800,1982,1832,1827,1864,2328,2378,2151,2148,1868,1568,1648,1698,1730,2005,2539,2707,2585,2413,2147,2166,1780,1662,1358,1154,1655,1787,1678,1667,1988,2304,2147,2065,2127,2520,2054,1611,1675,1772,1693,1650,1704,1620,1630,1735,1931,1870,2009,2150,2201,2356,2580,2232,1980,1766,1601,2091,2756,2435,1762,1857,1723,1809,1955,2052,2067,1614,1078,1506,2621,3121,2593,2363,2610,2842,2307,1891,2595,2831,2589,2184,1935,2648,2857,2980,2667,2806,2931,3593,4091,3125,2441,2348,2259,2353,2442,3161,3025,2273,1698,1678,2438,3222,3327,3130,3177,3333,3056,2563,2374,2296,2519,2551,2602,2235,2607,2792,2604,2586,2631,2917,3034,2841,2765,2557,2236,3007,3851,4008,3429,3208,3132,2761,2609,2542,2277,2012,1850,1719,1577,1842,2601,2950,2885,2129,2317,2380,1813,1605,1714,1844,1577,1685,1876,1936,1803,1714,1720,1794,2461,2365,1809,1855,2025,1995,1919,1886,2124,1776,1676,1668,1600,1469,1553,1619,1543,1482,1449,1583,1721,1483,1524,1518,1353,1996,2453,2068,1835,1759,2334,2758,1976,1363,1295,1706,1863,1857,1945,1811,1797,1953,1656,1361,1374,1449,1337,1809,2548,2978,2875,2280,1925,2331,2654,2135,1793,1925,1865,1675,1918,2259,2193,1968,2088,1879,1875,1733,1688,1709,1705,1884,1734,1493,1526,1547,1500,1443,1696,1709,1996,1914,1750,2434,2730,2792,2710,2545,2143,1800,2048,2037,2093,2123,1835,1849,2164,1692,1695,1999,2588,2524,2475,2600,2486,2482,2568,2146,1904,2170,2106,2160,2527,2345,2131,1974,2218,2697,2822,2888,2734,2890,3090,2819,2250,1969,1883,1730,2130,2300,2223,1881,1536,1743,1767,1885,2036,1670,1751,1679,1745,1955,1793,1963,2536,2708,2561,2181,2142,2309,2242,2334,2735,2451,2547,2102,1553,1712,1971,1953,1835,2182,2753,3112,2462,2303,2255,2105,1872,1753,1882,2576,3098,2799,2513,2525,2823,2556,1784,1611,1600,1437,1812,1797,1244,1430,2185,2457,3060,3096,2852,3244,3074,2395,2183,2216,2092,1835,1842,1929,1887,2047,1970,1721,1837,2286,2067,2179,2410,2126,1814,1542,1503],[3537,3436,3308,3242,3499,3428,3203,3484,3658,2916,2770,3145,3671,3769,3558,3514,3354,3450,3769,3531,3567,3805,3986,3907,3475,3418,3370,3476,3764,3658,3545,3740,3941,3828,3588,3650,3608,3782,3679,3482,3550,3538,3432,3298,3161,3329,3392,3190,3207,3416,3472,3500,3564,3517,3508,3680,3923,3854,3422,3080,2845,2712,2668,3000,3366,3423,3382,3189,2631,2645,2928,3144,3182,3050,3019,2976,2455,2574,2707,2441,2247,2306,2456,2416,1968,1363,1428,1605,1578,1576,1897,2854,2761,2184,2024,2856,2945,2466,2187,2720,3293,3442,3218,2642,1866,1631,2129,1801,2018,2119,2510,2664,2393,2708,3281,3217,3061,3474,3549,3012,2187,2137,2361,3155,3881,3413,2354,1950,1888,2047,2277,2122,1720,2116,3574,3774,3734,3166,2852,2530,2400,2875,2878,2546,2637,2822,3146,2778,2669,2381,2352,2290,2016,2070,2598,3008,2482,1681,1653,2260,2562,2745,2987,2705,2811,2647,2170,2854,3182,2265,1746,2452,3168,2832,3210,3475,3618,3319,2766,2841,2930,2752,3197,3305,3100,3088,2942,2386,2102,2229,2786,3085,2853,3311,3629,3250,2633,2464,2727,3074,3300,3481,3818,4300,4045,3387,2574,1927,2338,2665,2719,2734,2646,2558,2459,2546,2514,2131,2611,1626,1593,2082,2146,2202,2137,2101,2107,1720,2193,3695,3791,2933,2574,2321,2048,2016,2456,3096,3166,3117,3136,3189,3004,2325,2457,3098,3361,2847,2567,2811,4048,4508,4132,3574,3230,3100,3312,3609,3805,3896,3814,3420,3074,2464,2486,2774,2888,3461,3533,3548,3990,4400,4370,4311,3409,2663,3014,2257,1782,1678,1668,1791,1895,1986,2043,2114,2214,2555,2346,2113,1807,1409,1533,1477,1652,1860,2073,2258,2023,1691,1741,2178,2220,2056,2191,2121,2178,2270,2052,2014,1790,2500,3304,3043,2869,2665,3021,2163,1723,1756,1905,2141,2491,2368,2684,2924,2591,3010,2983,2209,2541,2412,2254,2351,2107,1784,1833,2003,2351,2374,2121,1874,2078,2621,2430,2292,2400,2488,2487,2685,2984,2425,2098,2571,2135,1659,1864,1916,2155,2322,2455,3252,3588,3683,3692,3076,2492,2536,2664,2477,2049,1815,1663,1731,1838,2451,3242,3072,2406,2133,2060,2562,3116,2548,2020,1961,2147,1843,1531,1651,1696,1732,1799,2194,2240,2258,2473,2561,2801,2533,2648,2766,2686,2068,2259,2854,2667,2019,2074,2457,2381,2468,2139,2597,2203,1615,1714,1833,1661,1608,1575,1607,1458,1400,1951,2475,2697,2718,2127,1848,1975,2504,2443,1913,1620,1780,1912,2059,1935,2261,2250,1863,1879,2326,2632,2569,2409,2131,1582,1381,1676,1983,1959,1900,1990,1972,1874,1817,1687,1786,1836,1708,1707,2066,2182,1947,1738,1837,1784,1881,2079,2229,1870,1835,2112,2403,2319,2745,2945,2178,1697,1788,1995,2118,1935,1914,2383,2503,2596,3150,2693,2393,2570,2144,1931,1947,1650,1569,1582,1718,2087,1958,1854,1712,1629,1743,1886,1748,1597,1600,1652,1910,2154,2150,2014,2120,1933,2275,2699,2699,2647,2853,3138,3168,3096,3355,3762,4034,4139,4603,4447,4051,3871,3823,2801,1849,2026,2379,2236,1879,2731,2609,2592,3082,3703,2620,2322,3610,3882,3127,2460,1656,1719,1899,1872,2050,2128,1721,1438,1390,1599,1791,2136,2038,1660,1930,2324,2986,3461,3104,2525,1778,1877,1762,1679,1669,1598,1717,1926,2323,2595,2297,1826,1799,2239,2092,1676,1711,1679,1975,2487,2409,2258,2577,2224,1739,2058,2156,2118,2030,1919,1820,1604,1509,1968,2142,1586,1640,1730,1601,1496,1475,1693,1695,1456,1474,1548,1548,1608,1689,1614,1642,1693,1857,1908,1702,1649,1593,1802,1626,1678,1832,2199,2690,3082,2619,1869,1334,841,1107,1543,1901,1904,1579,1533,1518,1607,2053,2344,2358,2523,2253,1492,2188,2332,2136,1930,1737,1643,1562,1723,1856,1943,2392,2529,2216,1890,2206,1921,1876,1740,1981,2235,2256,2505,2587,2119,2012,2000,2129,2126,2257,2310,2068,1971,2459,2688,2257,2534,3288,3309,2555,2574,2690,2124,2244,2241,1929,2157,2181,2200,3461,4508,3543,2377,2312,2056,2038,2232,2463,2172,2402,2916,2490,2122,2356,2304,2065,2076,2425,3020,2621,2149,1995,1952,2440,2454,2330,2347,2232,2557,2584,2609,3146,2674,2163,2135,2210,2227,2201,2100,2146,2258,2359,2328,2617,2767,2228,2026,2100,2534,2522,2221,2746,2311,2165,1921,1839,2121,2059,1718,1847,1880,2534,2165,2582,3138,2845,3217,2851,1634,1075,1368,1833,2078,2203,2075,1742,1900,2085,1989,2606,3606,2878,2508,2498,2802,3123,3175,3383,3088,2710,2022,1898,2171,2032,1600,1210,1262,2099,2376,1976,2288,2562,1991,2519,2131,1745,2198,2436,3082,3366,3305,2849,2562,2374,2100,1987,1786,2353,2853,2249,2132,2454,2418,2414,2198,2132,2221,2608,3376,3639,2912,3432,3262,2785,2015,2754,3384,3429,3175,2699,2478,2689,3670,3892,2902,2858,2744,2855,2076,2017,2054,2149,2634,2779,2558,2560,2332,2210,2224,1672,732,1163,1304,1571,2268,2497,2480,2056,2456,3006,2657,2354,2138,1737,1814,1847,1944,2222,2234,1774,1973,2244,2419,2027,2122,2652,2368,2000,1702,1396,1815,1645,1422,1889,2324,1984,1845,1934,2821,3564,3078,2531,2065,1974,2109,1751,1645,2214,2411,2091,2064,2072,2061,2555,3003,2566,2326,2106,1920,1559,1921,2435,2377,2158,1980,1884,1853,1919,2326,2430,2494,2335,2332,2041,1431,2227,2622,2621,2858,2768,2184,1822,2115,2216,1842,1861,2560,2649,2161,2486,2284,2342,2183,1741,1743,1921,2290,2708,2265,1734,1340,1428,2150,2266,2290,1728,1751,2449,2201,1481,1917,2409,2720,3338,2813,2053,1892,1636,1411,1453,1554,1599,1492,2045,2702,2373,2142,2353,2734,2404,1440,1277,2408,2907,1919,1738,1506,1720,1620,1141,1351,1640,1821,1785,1430,1449,1489,1481,1764,2902,2929,1992,1634,1349,1486,1734,1671,1696,1599,1909,2917,2963,2730,2243,1930,1975,1815,2007,1710,1555,1726,2547,2414,1978,1757,1632,1611,1563,1331,1299,1570,1543,1473,1558,1732,2194,2673,2964,3562,4051,4006,3594,3648,2933,2554,3252,3732,3420,3087,3050,2824,3005,2996,2270,2165,2269,2015,2317,2601,2600,2763,2938,2994,2973,2814,3046,2745,2266,2582,2770,2320,2124,2233,2282,2401,2534,2668,2455,2344,2415,1842,1572,1549,1341,1499,2204,2301,1798,1765,1636,1629,1781,1948,2100,2002,1725,1845,1832,1621,1498,1513,1673,1354,1338,1372,1483,1456,1367,1504,1659,1810,1749,1470,1306,1345,1318,1321,1322,1294,1402,1542,1588,1430,1431,1491,1783,1791,1712,2202,2207,1997,1996,2044,1956,1915,2206,2657,2344,2081,2144,1913,1831,2199,2118,2370,2456,2747,2746,1835,2097,3075,2967,2498,2766,2754,2718,2592,2056,1430,1319,1532,1693,2137,1760,1350,1326,1421,1450,1398,1447,1473,1485,1586,1616,1968,2393,2124,2635,3389,3032,2279,2045,1896,1760,2021,2004,1722,1226,1226,1616,1406,1509,1709,1720,1956,2567,2574,2112,2451,2668,3098,4072,4568,4764,4848,4806,4983,4892,4313,3849,3808,3960,3698,2916,2481,2020,1773,1927,1996,1818,1755,1594,1379,1459,1773,1743,1537,1706,2168,2227,2445,2319,2160,2406,2144,2106,2329,2313,2419,2554,2421,2215,2280,2301,2393,2620,2610,2458,2186,1678,1476,2057,2797,3286,3757,3773,3492,3651,4062,4091,4135,4112,3786,3629,2840,2572,2413,2125,2382,2670,2833,2564,2119,2578,2588,2024,2254,2426,2520,2399,2047,2104,1906,1870,1521,1668,2135,2174,1964,1793,1792,1744,1641,1620,1858,2559,2836,2489,2492,2632,2415,1946,1546,1577,1856,1899,1481,1289,1471,1457,1364,1411,1404,1377,1478,1498,1466,1628,1540,1406,1498,1613,1574,1670,1648,1313,1467,1555,1832,2044,2317,2357,2171,1858,1783,2046,2160,1961,1734,1566,1762,2254,1870,2093,2614,2548,2185,1979,1710,1680,1542,1165,1522,1627,1720,1760,2164,2094,1992,1908,1971,2212,2054,1855,1723,1958,1731,1612,1654,1602,1557,1717,1905,2049,2088,2039,2154,2257,2096,1727,1820,1745,1588,1878,2248,1975,1762,1835,1962,1843,1631,1700,1925,1935,1490,1971,2278,2441,2282,2319,2398,2389,2265,2221,2337,2362,1931,1799,2290,2491,2238,2507,2901,3019,2524,2502,2762,2644,2624,2381,2295,2543,2429,2557,2388,2105,1804,1562,2006,2687,2591,2558,2985,2972,2876,2799,2342,2664,3366,3332,2428,2118,2696,2453,2016,2169,2539,3009,2901,2585,2525,2774,2407,3232,3958,3705,3042,3219,3209,2610,2608,2603,2154,1682,1741,1541,1447,1389,1736,2148,2193,1967,2301,2510,2006,1547,1771,2052,1690,1714,2635,2724,2088,1743,1791,2088,2232,1921,1708,1760,2060,2223,2092,2039,2144,1895,1737,1691,1430,1362,1533,1552,1635,1579,1640,1719,1739,1461,1623,1703,1602,2438,2979,2353,1847,2011,2641,2327,1648,1558,1549,2035,2276,1852,1868,1794,1570,1570,1547,1367,1422,1564,1446,1569,1817,2366,2686,2460,2250,2294,2115,1702,1728,1942,2024,2142,2358,2274,2625,2363,1779,1892,2058,2329,2048,1697,1677,1597,1412,1395,1368,1413,1411,1313,1679,1887,2214,2109,2364,2765,2847,2722,2900,2920,2412,2131,2099,1881,2030,2239,2072,1713,1644,1858,1664,2068,2729,2636,2535,2253,2172,2342,2096,1761,1750,2107,2067,2053,2282,2187,2121,1854,1932,2188,2676,2886,2797,3094,3088,2721,2193,2014,2052,1941,1859,2331,2277,1768,1742,2024,2350,2809,2830,2086,2091,2164,1939,1858,1876,2178,2727,2785,2705,2129,1819,2082,2230,2219,2481,2458,2108,1781,1761,1814,1888,2199,2688,2666,2786,2390,2068,2312,2329,2057,1773,1870,2136,2784,3584,3758,3836,3973,4112,3045,2228,2281,2206,2010,2082,1765,1465,1705,2016,2093,2446,2479,2691,3487,2380,1740,2046,1959,1768,1608,1735,2175,2236,1860,1970,2249,2344,2463,2401,2708,2390,1998,2202,1956,1574],[3239,3176,3366,3711,3740,3530,3309,3251,3327,3123,2908,3010,3499,3746,3728,3741,3719,3642,3683,3713,3732,4038,4094,3618,3317,3464,3341,3404,3045,2448,3135,3790,4176,3977,3674,3662,3542,3623,3651,3581,3494,3377,3321,3343,3185,3329,3293,2999,3083,3425,3638,3414,3436,3500,3474,3421,3636,3952,3497,3134,2610,2589,2374,2565,2579,2652,2617,2403,2521,2481,2762,3197,3344,3138,2932,3088,2551,2734,3079,2720,2155,1974,1955,2002,1886,1776,1810,1682,1644,1659,2373,3129,2836,2155,2224,2837,2484,1915,1987,2059,2531,3052,2642,2028,1681,1627,1696,1545,1879,2125,2464,2676,2354,3055,3648,3817,3817,3864,3536,2921,2302,2081,2199,2753,3157,2645,2050,2060,2193,1838,1908,2404,1995,2255,3239,3575,3083,2379,2265,2523,2564,2331,2456,2668,3130,3158,3285,2456,2340,2860,2601,1953,1937,2069,2383,2670,2256,1819,2079,2518,2316,2162,2991,3379,3759,3074,2430,3328,3884,3007,2181,2490,2923,2521,2990,3188,3386,3040,2790,3042,3137,2865,2756,2789,2815,2756,2784,2699,2452,2084,2611,2341,2753,3741,3573,2975,2599,2623,2728,2950,3199,3233,3308,4049,3948,3193,2642,2302,2374,2673,2957,3042,2808,2668,2557,2809,2852,2200,2765,2186,2147,2541,2312,1659,1743,2491,2636,2730,3053,3420,4060,3377,2521,1747,2120,2442,2087,2528,3186,3379,3456,3548,3647,2704,2676,3599,3828,3579,2735,2559,3887,4708,4276,3625,2861,2400,2735,3423,3574,3625,3372,2885,2425,2507,2473,2161,2319,2788,3082,3304,3413,3713,4018,3741,3075,2391,1764,1597,1842,1962,1816,1721,1898,1983,2105,2485,2522,2768,2359,1731,1549,1561,1568,1505,1534,1520,1774,2081,2019,2054,2120,2353,2173,2080,1985,2156,2220,1913,1847,2193,2570,2806,2798,3087,3508,2999,3264,2957,1970,1513,1749,1857,1677,1925,2709,2916,2938,3086,2776,2331,2885,2748,2238,2191,2317,2403,2458,2647,2801,2586,2120,2166,2691,2943,2633,2325,2349,2278,2243,2316,2661,2502,1885,2316,2597,2236,2162,2255,2141,2242,2448,2713,2801,2535,2417,2618,2508,1933,2187,2480,2169,1919,1983,1826,2091,2924,3356,2689,2019,2049,2418,2990,2899,2419,1864,2214,2205,1836,1736,2060,2746,2480,2233,2605,2818,2664,2327,2492,2545,2242,2084,2343,2710,2491,2611,2669,2143,1814,2311,2198,1900,2081,2226,2183,1602,1495,1565,1766,1764,1619,1883,2260,1525,1765,2667,3339,3254,2799,1996,1768,1771,1837,1747,1612,1831,1823,1777,2217,2083,2293,2476,2069,2260,2519,2496,2650,2548,2077,1689,1415,1682,1996,1952,1961,2025,1970,1946,2033,2124,2260,1988,1554,1953,2300,1834,1203,1514,2261,2237,2140,1603,1600,1811,2011,2402,2262,2294,3265,3110,2201,1799,2004,2230,2291,2378,2551,2423,2080,1822,2281,2338,2117,2082,1781,1575,1460,1560,1564,1411,1746,2049,1949,1605,1424,1500,1620,1483,1042,1157,1417,1626,2106,2244,1762,1973,2536,2396,2153,2070,1822,1847,2271,2425,2373,2155,2221,2767,3567,3995,3906,3140,2711,2867,3226,2720,1778,1990,2402,2395,2195,2833,2595,2436,2612,2730,2082,2238,3466,3359,2655,2498,1686,2001,2740,2396,2076,2222,2046,1409,1236,1904,2216,2031,1920,1864,2491,2431,2541,2607,2487,2187,1867,1511,1359,1537,1547,1798,1864,1804,2091,1834,1748,1709,1697,2251,2274,1926,1803,1634,1786,2099,2282,2159,2424,2494,2065,2056,1984,2011,1879,2127,2305,1808,1573,2004,2345,1787,1780,1623,1690,1763,1563,1592,1579,1709,1756,1551,1477,1593,1588,1767,1870,1699,1686,1801,1812,1571,1479,1561,1504,1365,1892,2480,2563,2453,1844,1890,1996,1529,1728,1998,2221,1715,1423,1512,1518,1493,1452,1547,1901,2173,2689,2653,2991,2503,1860,1675,1855,1847,1990,2732,2736,2333,2158,2024,2187,2245,2182,1880,1961,1834,1936,2061,1729,2207,2836,2452,2049,1903,2258,2431,2248,2224,2140,1832,2042,2690,2688,2744,3685,3695,2948,2894,2271,1909,1977,1719,1864,2233,2279,2841,4112,4508,3497,2180,2098,2242,2104,2472,2845,2555,2789,3063,2229,2056,2758,2865,2037,2134,2890,3263,2837,2370,2084,2640,3297,3129,2467,2235,2072,2000,1683,1844,2950,3015,2427,2211,2280,2255,2067,2018,2114,2197,2301,2292,2123,2140,1928,1839,2053,2480,2731,2540,2341,2058,1803,2046,2418,2468,2797,1930,1879,1870,2628,2497,2086,2671,3111,3449,2757,1489,1222,1373,1654,2063,1941,1974,2064,1733,1763,1876,2442,3064,2993,2567,2499,2724,2407,2375,2979,3506,2646,2170,2264,2756,2602,1750,1339,2001,2591,2563,2031,1916,2131,2272,2858,2267,2226,2677,2651,2854,3076,3024,2877,2564,2321,1975,2028,2274,3283,3414,2783,2343,2154,2120,2025,1901,1970,1952,2205,2666,2840,2789,3304,3364,3559,3242,3596,3705,3041,2965,3328,2798,2696,3185,3111,2691,2611,2586,2122,1923,2219,2433,2844,3096,2540,1860,1930,2352,2453,2541,1757,1152,1397,1148,1754,2332,2537,2320,2452,3089,2541,2287,2618,2384,1826,2089,2071,2260,2411,2122,1854,2157,2409,2350,2268,2068,2165,1605,1395,1543,1511,1758,1482,1371,1764,1897,1852,1809,2034,2979,3829,3272,2712,2176,2373,1803,1578,1654,2415,2843,2392,2280,1965,1806,2358,2655,2376,2487,2073,2140,2132,2336,2567,2396,2082,2165,2255,2005,1880,2590,2812,2845,2323,1720,2068,1924,2299,2652,2697,2940,2359,2178,2101,2281,2426,2202,1848,1736,1864,2088,2586,2364,2025,1906,1550,1484,1979,2253,2235,1771,1443,1294,1960,2208,2384,2044,1726,2326,2493,1836,1847,2545,2253,3160,3651,2943,2009,1710,1597,1600,1603,1576,1633,2125,2829,3032,2779,2376,2479,2569,1827,1142,1667,3241,2888,1787,1722,1426,1863,1362,1007,1405,1728,1903,1744,1494,1437,1482,1517,2162,3101,2446,1769,1597,1321,1622,1719,1730,1763,1644,1918,2804,3029,2486,2031,1848,2405,2322,2302,1790,1555,1802,2285,2160,1863,1703,1629,1650,1388,1176,1271,1488,1535,1754,1824,2258,2740,2833,2584,2714,3852,3960,3793,3648,2755,3304,3832,3723,3522,3251,3048,2941,3261,3175,2486,2348,1829,1605,1842,1936,2248,2576,2836,2923,2866,2857,2923,2723,2497,2466,2381,2361,2168,2459,2536,2529,2656,2645,2396,2220,2034,1842,1645,1554,1504,1516,1525,1426,1669,1975,1844,1848,1918,1919,1825,1613,1670,1956,2044,2300,1751,1521,1567,1402,1353,1353,1327,1349,1430,1513,1547,1682,1555,1626,1436,1233,1354,1396,1344,1333,1443,1620,1716,1560,1473,1536,1410,1437,1808,1923,2011,2235,2001,2116,1829,1730,2243,2188,1583,1709,2073,1774,1532,1797,2042,2328,2353,2149,1822,1768,2433,3226,2677,1722,2272,2824,3021,3062,1940,1449,1287,1492,1660,1682,1440,1366,1425,1527,1477,1382,1449,1396,1471,1459,1593,2230,1964,1857,3112,4129,4007,3172,2221,1936,1748,1653,1845,1836,1482,1423,1549,1611,1990,2367,2237,1998,1985,2035,2025,2532,3218,4196,4733,4784,4821,4766,4732,4684,4285,3538,2879,2888,2951,3277,3500,3199,2653,2522,2266,1851,1674,1916,1964,1631,1636,1755,1977,1876,2072,2228,1985,2359,2426,2182,2169,2171,2128,2326,2562,2735,2697,2742,2718,2681,2334,2399,2571,2583,2143,1707,1786,2047,2420,2809,3682,4237,3840,3097,3425,4012,4177,3794,3563,3520,3136,2769,2620,2404,2385,2693,2364,2314,2542,2565,2561,2120,2009,2369,2446,2530,2267,1702,1783,1764,2038,1451,1677,2132,2148,2142,2137,2300,2136,1742,1584,1606,2020,2423,2740,2972,3121,2692,2371,2143,2316,2540,1976,1370,1236,1444,1434,1438,1383,1355,1393,1421,1461,1486,1525,1569,1675,1891,1876,1644,1640,1599,1714,1763,1763,2037,2217,2245,2234,1990,1706,1817,2330,2386,2342,1793,1630,1731,1826,1647,2094,2271,2077,2011,1906,1710,1821,1773,1598,1655,1645,1624,2000,2277,1958,1809,1842,1779,2080,2481,1895,1626,1869,1704,1650,1714,1505,1456,1652,1783,1952,2050,2096,2081,1960,1640,1596,2004,1981,1820,2336,2309,1779,1807,2225,2436,2070,1643,1596,1725,2074,1857,1921,1913,2219,2655,2624,2184,2286,2485,2577,2238,2253,1525,1949,2680,2522,2390,2622,2884,3023,2402,1478,1616,2142,2886,2669,2359,2267,2249,2287,2564,2778,2128,1537,2179,2603,1958,2130,2519,2589,3077,3221,3005,2743,2648,2882,2761,2611,2549,2116,1649,2118,2832,2832,3006,3255,3040,3111,2774,2603,3138,3274,2968,3288,2809,2778,2662,2585,2139,1663,1654,1503,1494,1536,1644,2015,2400,2747,2932,2967,2098,1486,1603,1738,1624,1765,2874,2970,2380,2120,1964,2099,1734,1555,1682,1725,1802,2209,2065,1932,2032,2054,1936,1835,1590,1444,1461,1420,1596,1952,1870,1666,1606,1628,2214,2535,2041,2010,2206,2345,1897,1904,2275,1890,1534,1623,1670,1991,1982,1764,1764,1808,1968,2042,1636,1403,1747,1987,1629,1489,1880,2399,2743,2580,2010,1844,1842,1838,1933,2280,2492,2255,2110,1979,2591,2908,2450,2081,2232,2260,1886,1704,1622,1425,1402,1449,1456,1337,1397,1519,1666,2080,2430,2918,3205,2853,2602,2668,2900,2938,2470,2018,1796,1899,2009,2116,2177,2107,2481,2686,2389,2661,2596,2716,2425,2140,2492,2461,2067,1743,1621,1815,2071,2411,2299,2093,2858,2319,2036,2060,2194,2570,2530,2611,2543,2193,2015,1967,1861,1669,1660,1969,1964,1824,1874,1898,2363,2826,2769,2617,2741,2778,2173,1661,2099,2129,2373,2681,2544,1912,1742,1723,1969,2298,2180,1961,1632,1648,1714,1920,2604,3199,2646,2473,2797,2476,2157,2145,2252,2265,2164,2551,3120,3840,4164,4128,3939,3651,3861,3294,2524,2969,2995,2120,1810,1814,1520,1565,2144,2167,2156,2036,2411,2769,2181,1869,1668,1716,1557,1691,1881,2231,2274,1781,1980,2571,2930,3155,3077,2981,2342,1900,2450,2478,1890],[3437,3308,3067,3588,3901,3598,3299,3243,3310,3348,3306,3328,3455,3493,3610,3716,3759,3549,3525,3639,3908,3887,3586,3249,3233,3285,3328,3442,2918,2551,3229,3634,3543,3740,3782,3550,3338,3314,3399,3413,3369,3015,2854,3120,3250,3497,3421,3068,3082,3500,3791,3713,3608,3462,3206,3071,3422,3751,3191,2661,2247,2416,2497,2698,2680,2923,2818,2514,2476,2427,2595,2777,2923,2686,2656,2940,2814,3006,3006,2442,2142,2114,1954,1937,2452,2624,2386,2287,2025,1953,2696,2819,2736,2578,2452,2899,2330,1756,1864,2363,2763,3030,2154,2287,2532,2178,1770,1724,1898,2254,2578,2725,2402,2876,3296,3439,3282,3037,2876,2820,2328,1982,2026,2184,2075,1635,1720,2459,2718,1745,1760,2116,2197,2024,2676,2885,2053,1496,1664,2210,2246,2234,2552,2957,2790,2613,2532,2092,2280,2774,2448,2207,2074,2027,2197,2321,2191,2219,1963,2146,2320,2551,3030,3266,3011,2169,1920,2357,2873,2368,1924,2768,2896,2050,1902,2143,2658,2959,2930,3084,3186,2864,2828,2830,2467,2179,2476,2640,2536,1930,1858,2203,2834,3507,3454,2945,2774,2440,2400,2786,2968,2923,2858,3467,3536,2783,2296,2364,2846,2865,2702,2784,2753,2729,2510,2558,2633,2260,2601,2603,2835,3273,2768,1546,1782,2652,2424,2952,3596,3802,3615,3051,2512,2054,2458,2883,2639,2661,3086,2805,3159,3447,3624,2749,2709,3986,4264,4019,3124,2351,3122,4065,3950,3402,2597,2507,2700,3108,3509,4188,3699,2931,2852,2894,2554,2453,2236,2024,2071,2410,2865,3076,3145,3164,2642,1445,1204,1879,2074,1836,1614,1856,1992,1871,2586,3156,2766,2335,1976,1715,1633,1654,1631,1600,1503,1440,1578,1886,1828,2132,2364,2336,2350,2322,2130,2088,1891,1625,2001,2899,3112,2368,1903,2824,3397,3459,3529,3042,2246,1744,1656,1665,1932,2015,1902,2348,2566,2518,2346,2327,2642,2454,2320,2497,2629,2560,2652,2964,3054,3031,2824,2908,2950,3040,2766,2127,2005,2400,2361,2595,3123,2942,2407,2930,3017,2887,2931,2820,2374,2333,2459,2513,2460,2275,2229,2644,2237,1431,1511,1635,2051,1846,1605,1737,2064,2385,2177,1810,1670,1990,2412,2593,2286,2030,2042,2176,2060,2281,2062,2159,2822,2069,1970,2353,2567,2500,2164,2546,2625,2371,1904,2047,2341,2469,2648,2601,2768,2297,2512,2135,1996,2345,2500,2140,1708,1588,1860,2029,2136,2522,2192,2173,1798,1860,2486,3034,2680,2106,1870,1802,1776,1823,1882,2441,2566,2270,2172,2310,2251,2448,2294,2010,2302,2036,1770,1978,1957,1810,1786,1549,1695,1997,2098,2318,2248,2190,2182,2074,1958,2098,1958,1735,1632,1512,1248,1055,1510,2077,2410,2533,2164,1775,2091,2642,2566,2310,2700,2929,2821,2170,1837,2414,2988,2496,2912,3313,2676,2191,2342,2621,2188,1925,1948,1681,1638,1575,1652,1461,1908,1947,1808,1867,1566,1454,1501,1645,1445,1072,1351,1721,1898,2496,2368,1842,2151,2529,2468,2220,1974,1384,1194,1914,2179,1957,2078,2029,1883,2577,3450,3321,2490,2194,2326,2699,2366,1833,2019,2801,2634,2207,1810,1537,1366,1767,2574,2342,2178,2891,3118,3078,2702,2656,2334,2640,2495,2195,2292,2093,1642,1699,2192,2360,1897,2055,1844,2602,2769,2273,1986,1912,1767,1890,1795,1525,1632,2095,2280,1985,2135,2338,1837,1682,1614,1330,1626,1830,1836,1875,1718,1673,1895,2175,2098,2071,2046,1953,1895,1882,1779,1858,2508,2492,1892,1690,2117,2380,2105,2008,1675,1798,1729,1499,1468,1378,1464,1433,1380,1359,1438,1361,1692,1709,1511,1591,1685,1784,1839,1869,1748,1168,1377,1989,2183,2265,2213,1627,1663,1718,1737,1919,2412,2202,1502,1512,1453,1380,1371,1190,1414,1877,2578,3150,2798,2495,2060,1603,1648,2182,2458,2513,2602,2085,1877,1831,1960,2117,2196,2048,1982,1827,1516,1605,1895,1787,2215,2596,2786,2075,2015,2388,2281,2137,2140,2253,2118,1830,1918,2097,2795,3950,3920,3706,3294,2371,1970,2157,1873,1780,2004,2038,2414,2850,2971,2820,1931,1910,1982,1678,1798,2194,2350,2851,2885,2538,2884,3198,2916,2078,2239,2720,2979,2933,2597,2322,2717,3238,2939,2360,2206,1859,2011,1970,1757,2587,3342,2957,2442,2363,2304,2132,2143,2269,2313,2433,2432,1966,1604,1627,1934,2072,2120,2646,2763,2207,2049,1989,2151,2551,2862,3585,2524,1968,1870,2332,2588,2120,1832,2264,2780,2641,2114,2246,1996,2066,2294,1929,2530,2407,1650,1499,1454,1533,2130,2598,2656,3509,2690,2139,2078,2409,2868,2208,1926,2054,2210,2434,1718,2070,2918,2669,2211,2131,2245,2337,2339,2504,2194,2017,2052,2394,2562,2830,3061,2973,2254,2069,1911,1897,2192,2974,3215,3348,2852,1968,1784,1865,1748,1719,2331,2221,2344,2340,2564,2851,3128,3576,3594,3554,3206,2676,2889,3395,2688,2828,2701,2486,2425,2246,2424,2555,2411,2499,3116,3023,2383,2109,1990,1931,2306,2413,2783,2263,1690,1575,1549,1935,2328,2193,2168,2875,3064,2482,2206,2298,2054,2387,2676,2118,2006,2086,1908,1978,2388,3392,3304,2845,2316,2771,1616,1527,1870,1863,1860,1936,1941,1933,2361,2418,1780,2654,3550,3813,3636,3208,2401,2228,1960,1902,2210,2744,2875,2375,2269,1720,1777,2055,2309,2236,2206,2216,2482,2375,2247,2507,2523,2398,2093,1863,1659,1757,2833,3348,2878,2322,2410,2916,2496,2463,2807,2721,2580,2189,2417,1898,2447,2319,2586,2174,1755,1784,2011,2365,2098,1808,1517,1370,2105,2636,2279,1799,1644,1311,1963,2341,2381,2206,1654,2173,2596,2138,1654,2818,3344,3045,3702,3452,2351,1854,1613,1493,1505,1650,1676,1896,2194,2503,2524,2805,2788,2630,2237,1359,1152,2412,3774,2607,1780,1478,1744,1873,1035,1421,1914,1956,1916,1613,1480,1608,1667,1731,2034,2869,2159,1802,1744,1795,2076,1882,2198,2153,1890,2231,2831,2938,2250,1893,1868,2676,1969,2019,1838,2082,2122,2042,2074,1815,1670,1565,1583,1484,1598,1521,1571,1656,1880,2286,2586,2456,2464,2617,3020,3714,3339,3312,3847,3923,4042,3843,3520,3370,3334,3256,3200,3432,3595,3615,3322,2341,2041,2083,2376,2536,3117,3212,2861,2844,3133,3040,2523,2455,2342,1989,2027,2192,2454,2445,2588,2688,2601,2395,1968,2076,2054,1615,1500,1488,1512,1644,1758,1826,1923,1900,1837,1778,1907,1757,1485,1899,2446,2063,1981,1756,1444,1408,1405,1439,1414,1510,1827,1924,1663,1290,1370,1443,1483,1476,1390,1338,1376,1529,1462,1369,1416,1448,1460,1605,1743,1794,1881,1836,1776,1900,2103,2142,1859,1619,1940,2211,1819,1473,1856,2121,1937,1529,1451,1692,1892,1960,1694,1599,1865,2423,3054,2824,2012,2596,2877,2712,2247,1623,1480,1432,1428,1416,1448,1526,1600,1376,1432,1515,1503,1491,1404,1583,1829,1952,2096,1891,2093,3055,3974,4145,3423,2403,2003,1787,1937,2380,2154,1648,1389,1412,1622,1799,1838,1723,1638,1674,1803,1973,2339,3483,4587,4795,4792,4712,4580,4335,4135,3819,3428,2599,2567,2705,3264,3410,2750,2353,2220,2324,2092,1888,2033,1981,1798,1867,1614,1730,1848,2090,1946,1861,2062,2237,2122,2198,2484,2178,2166,2579,2387,2684,3560,3460,3384,3020,2556,2294,2098,1815,2015,2428,2734,2778,2651,3653,4023,3276,2698,3175,3728,3222,2313,2365,2853,2937,2745,2658,2083,2150,2522,2235,1787,1937,2864,3050,2133,2144,2426,2387,2570,2204,1748,1749,1888,1915,1920,2092,2338,2430,2243,2279,2619,2448,2469,1664,1555,1730,2303,3067,2976,2876,2390,2220,2256,2178,2269,1769,1260,1316,1573,1540,1284,1336,1424,1374,1413,1582,1718,1832,2014,2261,2320,2363,2344,2257,2409,2144,1896,1958,2022,1913,1843,1678,1804,1698,1976,2333,2360,2432,2050,1835,1730,1607,1447,1475,1606,1605,1569,1663,1754,2017,2417,1916,1564,1561,1942,2121,2034,1979,1949,2288,1964,2110,2843,1953,1584,1732,1640,1667,1823,1624,1486,1666,2041,2513,2480,2502,2168,2117,1660,1801,2275,1960,1760,2394,2398,1958,2512,2983,2229,1930,1684,1896,1946,2188,2045,1760,1715,1959,2444,2494,2076,2040,1986,2128,2048,1929,2076,2542,2810,2303,2179,2691,2542,2215,1843,1653,1726,1995,2468,2620,2409,2499,2662,2878,3278,3218,2626,2198,2502,2397,2262,1923,2385,2620,3020,3493,3677,3234,2618,2729,3104,3562,2497,1873,1612,2240,2543,2587,3001,3315,3264,3365,2853,1982,2475,2894,3044,2836,2452,2840,2662,2510,1946,1776,1794,1709,1775,1647,1754,2265,2286,2884,3073,2887,2123,1728,1736,1819,1770,1736,1985,2050,2144,2287,2154,2199,2114,1703,1704,1819,1742,1943,1858,1642,1732,1814,1921,1915,1463,1448,1458,1320,1561,2028,1770,1522,1825,2254,3024,2868,1794,1563,1604,2232,1991,1989,2038,2188,2077,1702,1677,1786,1604,1571,1683,1775,1894,2138,1816,1925,2338,1935,1649,1847,2288,2443,2520,2065,1582,1610,1744,1781,1995,2370,2072,1976,1888,1824,1932,2261,2372,2315,2211,1735,1460,1365,1504,1447,1406,1488,1462,1432,1544,1513,1598,1958,2683,3134,3008,2495,2146,2387,2588,2793,2388,1704,1548,1748,1820,1942,2040,2441,3020,3165,3174,2813,2957,2468,2160,2374,2432,1948,1778,1633,1476,1537,1739,2270,2282,2062,2548,2302,1986,2114,2081,2156,1967,1755,1925,2052,2128,1939,1494,1342,1526,1585,1553,1752,2308,2420,2114,2075,2397,3001,3164,3272,2757,1918,1804,1938,1883,1951,1950,2031,2060,1681,1766,2148,1894,1776,1722,1804,1740,1789,2546,2732,2687,2742,2457,2059,1908,1759,2141,2349,2723,3325,4063,4290,4216,4001,3296,2667,3348,3539,2474,2692,2736,2097,1961,1997,1682,1569,2226,2045,1746,1624,1667,1667,1722,1771,1610,1638,1526,1662,1909,1851,2057,1973,1798,1940,2533,3064,3270,3042,2469,2039,2081,2133,1926],[3868,3687,3443,3636,3673,3353,3086,3038,3266,3461,3417,3315,3386,3572,3702,3864,3986,3761,3463,3531,3735,3701,3461,3203,3057,3012,3232,3461,3666,3620,3642,3493,3384,3689,3696,3441,3428,3627,3603,3507,3271,2646,2373,2741,3096,3397,3261,3119,3174,3450,3636,3622,3506,3252,2928,3138,3206,3371,3055,2692,2689,2393,2322,3044,3986,3841,3498,2617,2814,3108,2634,2679,2928,2558,2561,2823,2785,2737,2561,2456,2799,2853,2149,2427,2885,2919,2704,2865,2646,2289,2358,2314,2432,2641,2603,3264,2714,2051,1755,2178,2351,2214,2332,3000,3350,2851,2304,2310,2320,2486,2423,2503,2510,2530,2619,2651,2968,3177,3177,2984,2342,2077,2317,2313,2140,1747,1464,2181,2448,1935,1599,1910,2229,1751,2142,2928,2996,2471,2424,2617,2252,2383,2446,2569,2246,2267,2218,2145,2220,2265,2270,2227,1693,1771,2094,1905,2087,2244,1967,2600,3008,2868,2964,3138,2918,2239,1978,2101,3276,2402,2230,3100,3166,2433,2110,2483,3139,3369,3145,2938,3207,2887,2842,2899,2567,1871,2180,2235,1766,1491,2354,3214,3673,3658,3429,2833,3018,2987,2540,2655,2534,2648,2813,2748,2583,2058,1893,2015,2710,2698,2728,2620,2601,2746,2298,2507,2570,2175,2395,2668,2956,3178,2984,2138,2465,3087,2604,2443,2975,3711,3519,3108,2820,2375,2308,2667,2494,2894,3110,2937,3308,3377,3095,2885,3351,4208,4252,4100,3781,2835,2379,2783,3233,3536,3687,3394,3218,3163,3543,4082,3692,2948,2962,2798,2266,2507,1987,1911,1841,1988,2295,2646,2787,2790,2021,1534,2016,2297,1944,1764,1776,1743,1771,1613,1963,2649,2410,1836,1727,1647,1698,1687,1751,1652,1484,1427,1591,1655,1811,2114,2174,2169,2264,2329,2427,2290,2151,2089,2461,3453,3056,2074,2047,2790,3054,3150,3150,2828,2369,1836,1722,1903,2367,2283,1836,2046,2130,2214,2158,2402,2873,2978,2889,2734,2833,2754,2764,2770,2738,2865,2998,2913,2892,2898,2662,2167,2109,2548,2450,2514,2676,2287,2347,2807,2800,2567,3045,3365,2646,2243,2359,2563,2813,2830,2924,2623,1713,1361,1456,1443,1484,1396,1584,1717,1862,2027,2718,2779,2237,2209,2543,1912,1853,1875,2000,2299,2403,2233,1943,1885,1744,1435,1861,2444,3023,2969,2505,2543,2508,1980,1507,1586,2064,2844,2866,2540,3267,2654,2899,2743,2119,2235,2295,2032,1803,1492,1505,1730,2208,3044,2078,1920,1860,1982,2564,2810,2214,1630,2016,2543,1930,1834,2633,3276,3039,2433,2163,1952,1805,2105,2024,2255,2766,2316,1880,2025,2171,1664,1657,1667,1728,2190,2645,2481,2393,2454,2107,1836,1844,2052,1954,1818,1805,1820,1652,1472,1348,1677,2296,2643,2558,2520,2690,2704,2368,2387,2964,3145,2763,2535,2200,2649,3116,2584,2910,3565,2918,2467,2405,2219,1955,1847,1859,1618,1593,1750,1728,1498,2054,2825,2504,1892,1686,1544,1487,1731,1470,1417,1499,1741,2019,2373,2123,1710,1609,1717,2042,1832,1563,1179,1000,1295,1847,2590,2545,1955,1775,2020,2657,2973,2491,2233,2031,2207,1960,1776,2080,3038,2916,2472,1657,1019,1304,1703,2505,2424,1960,2209,2428,2706,2598,2836,3099,2972,2287,2114,2045,1980,2294,2101,2215,2282,1891,1915,1851,2332,2384,2173,1821,1663,1817,1846,1937,1738,1660,2170,2088,1759,2094,2280,1747,1340,1143,950,1278,1801,2074,2676,2172,1790,1783,1879,1985,1964,1892,1875,1974,1969,1569,1818,2496,2275,2093,1942,2659,2797,2518,2197,1919,1928,1700,1500,1485,1445,1411,1360,1417,1371,1310,1328,1428,1345,1241,1459,1588,1574,1676,1892,1896,1761,2104,2204,1797,1960,1931,1492,1461,1652,1782,2001,2332,1735,1466,1448,1699,1652,1557,1262,1815,2066,2462,2864,2769,2216,1515,1177,1550,2150,2580,2121,2039,1947,2144,2115,2049,1896,1825,1916,1644,1252,1556,1856,2162,2209,2056,2170,2720,2230,2077,1997,2014,2231,2016,1860,1920,1361,1041,1480,2969,3860,4056,4003,3562,2586,2466,2730,2255,2166,2333,2511,2055,1933,2457,2764,2219,2413,2092,1760,2098,2049,2010,1928,2465,2798,3076,3000,2378,1929,2006,1936,1980,2048,2147,2089,2056,2121,2214,2360,2175,1867,1622,1968,1941,2269,3163,3222,2823,2666,2565,2353,2300,2360,2482,2454,2506,2338,1987,1658,1744,2023,1997,2345,2444,2083,2108,2316,2208,2442,2395,2879,2677,2045,1769,1905,2375,2541,1755,1791,2054,2138,2310,3231,3319,3182,3470,3514,3544,2743,1748,1652,2071,2443,2701,2957,3501,4150,2833,1958,1678,1809,2295,2254,2563,2736,2723,2707,2280,2855,3072,2917,2319,2134,2389,1985,2086,2199,1969,1934,1738,1778,1917,2340,2721,2666,1947,1754,1976,2013,2280,2451,2642,3083,2803,2399,2175,2026,2025,2025,2624,2394,2582,2574,2987,2890,3074,3711,3334,3045,3140,3401,3289,3288,2973,2479,2078,2349,2336,2224,2640,2588,2294,2592,2907,2409,2086,2564,3153,2619,2271,2778,3115,2589,2086,2365,2584,2279,2389,2202,2530,2643,2901,2552,2310,2360,2249,2710,3017,2596,2348,2326,2274,2369,2253,3075,2698,2187,1850,2196,1516,1680,2026,1787,1770,1932,1955,1768,2247,2487,2195,3271,3531,3018,3212,3021,2561,2202,1969,1980,2259,2018,2069,2006,1973,1563,1904,2820,3204,2457,2272,2611,2356,2154,2256,2369,2551,2754,2399,1894,2029,2148,2347,3018,3196,2589,2764,3145,2472,2874,2903,2408,2181,2683,2401,2290,2230,2035,2435,2256,2244,2122,1940,2329,1899,1533,1114,1715,3083,2800,1885,1759,1638,1971,2446,2394,2105,1721,1924,2643,2454,1874,2023,3345,3227,3275,3571,2568,1870,1848,1496,1576,1654,1960,1883,2028,1738,1695,2011,2407,2388,2382,1896,1135,1700,3183,3676,1863,1598,1373,1908,1898,1235,1788,2327,2381,2050,1547,1479,1486,1672,1694,1366,2015,2084,1771,1731,2074,2111,2236,2598,2475,2426,2425,3111,2829,2179,1819,2178,2661,2093,1871,2031,2410,2298,2166,2123,1787,1818,1608,1575,1562,1744,1573,1867,2125,2243,2321,2408,2478,2324,2479,2902,2790,2664,2384,3066,3889,3937,3603,3359,3311,3392,3347,3394,3569,3687,3787,3914,3575,2708,1842,2228,2886,3482,3529,3044,2796,2993,2975,2458,2578,2406,2081,2037,2420,2545,2278,2300,2504,2488,2247,1963,2302,2689,2098,1619,1537,1537,1614,1773,1847,1890,1888,1794,1746,2042,1782,1722,1925,2479,2293,1786,1459,1493,1706,1571,1414,1423,1428,1534,1721,1443,1501,1483,1477,1418,1381,1456,1371,1295,1463,1532,1440,1444,1365,1494,1651,1877,1807,1836,1626,1718,2300,2211,1706,1743,1819,2661,3239,2630,2349,2544,2356,2106,1837,1999,2311,2375,1892,1601,1723,1995,2077,2366,2367,2429,2961,2996,2266,1734,1730,1664,1660,1428,1262,1402,1571,1659,1421,1393,1477,1498,1339,1369,1534,1679,1707,1798,1711,1738,2331,2875,2853,2509,2335,2009,2046,2270,2579,2403,1786,1378,1262,1562,1706,1984,1757,1386,1876,1911,2150,2160,2713,3384,3349,3441,3686,3676,3334,3680,3368,3157,2661,2916,3319,3898,3464,2655,2227,2336,2859,2600,2765,2891,2496,1819,1784,1699,2098,2382,2202,1981,2123,2205,1986,1836,2038,2446,2415,2064,2055,2815,3552,3271,3197,3282,2833,2360,2044,1957,1797,2323,2859,2640,1893,1819,2984,3581,2631,2295,3200,3082,2342,2314,2680,2856,2677,2706,3011,2390,2117,2372,2480,2144,1791,2542,2785,1742,1670,2159,2151,2154,1918,1905,1854,1947,2278,2141,2282,2854,2707,2969,2893,2644,2521,2856,2065,1736,1641,2730,3053,2287,2026,1852,2122,2072,1627,1537,1459,1483,1539,1570,1601,1680,1947,1961,1864,1922,2013,2244,2461,2808,2710,2779,3360,3435,3278,2879,2014,1744,2041,1953,1879,2179,2116,2373,2238,2645,2265,2081,1853,1842,1903,1669,1411,1447,1520,1831,1651,1626,1764,2109,2125,2033,1776,1667,1685,1795,1926,2119,2172,1867,2211,1759,1634,2475,2298,1781,1833,1735,1614,1823,1722,1747,2041,2165,2954,2976,2658,2227,2207,2049,1944,1859,1675,1662,1664,1783,1908,2403,3146,2483,2138,1831,1996,2151,2081,1969,1958,2080,2061,2165,2297,2138,1762,1929,2395,2145,1807,1986,2318,2555,2403,2779,3094,2442,2221,1936,1784,1878,2011,2419,2484,2664,2998,2744,2709,3082,2921,2796,2500,2374,2184,2304,2654,2920,2777,3312,3492,3507,3743,3368,3324,3664,3551,2826,1908,1864,2410,2546,2458,2707,3306,3150,2831,2259,2300,2846,3124,3132,2524,2257,2452,2728,2547,1882,1817,1754,1714,1828,2078,2213,2415,2402,2820,2387,2110,2055,1705,1786,2314,2195,1677,1691,1892,2089,2101,1941,2553,2500,1811,1892,1974,1646,1695,1771,1467,1405,1541,1719,1677,1568,1571,1818,1657,1599,1936,1823,1591,1744,2352,3417,2706,1824,1903,1753,2590,2724,2442,1907,1804,1838,1868,2054,2113,1725,1775,1832,1611,1746,1804,1737,2123,2146,1720,1686,2167,2354,2103,1857,1823,1910,2269,2117,1617,1639,1786,1664,1793,1855,1845,2144,2375,2305,2268,2437,2101,1577,1471,1472,1559,1477,1467,1459,1461,1423,1623,1951,2313,3343,3282,2800,2476,2024,1765,1819,2397,2311,1715,1559,1559,1592,1777,1976,2276,2394,2728,2943,2929,2855,2068,1826,2054,1873,1480,1509,1483,1454,1504,1785,2191,2320,2359,2249,1857,1755,1836,1816,1831,1609,1679,1873,1702,2049,1899,1475,1883,2172,1917,1808,1917,2294,2161,1639,1699,2040,2691,3177,3134,2342,1615,1502,1656,1664,1817,2431,2553,2259,1951,1921,1990,1822,1925,2012,1641,1475,1768,2155,2405,2674,2902,2627,2498,2527,2478,2223,2147,2700,3153,3616,3646,3254,2619,2093,2384,3385,3593,2963,3072,3009,2602,2180,1849,1477,1453,1847,2174,2226,1813,1423,1319,1364,1439,1627,1664,1740,1702,1511,1446,1793,2058,1920,1941,2792,3312,3396,2922,2762,2281,1770,1718,1613],[3629,3421,3304,3073,2868,3041,3132,3000,3253,3476,3373,3397,3608,3925,4007,4018,4013,3767,3688,3825,3876,3885,3708,3492,3022,3218,3333,3480,3987,4104,3837,3431,3620,3986,3748,3457,3282,3386,3362,3285,3190,2854,2521,2735,3131,3167,3270,3269,3018,3671,3756,3553,3387,3042,2968,3361,3306,3110,2700,2752,2810,2224,1986,2388,3133,3149,3330,2852,3228,3127,2687,2771,2718,2391,2702,2906,2580,2567,2742,3022,3096,3294,2742,3015,2960,3060,3194,3230,3011,2402,2084,2119,2057,2261,2462,2665,2286,1885,1992,2174,2193,2329,2945,3439,3235,2996,2662,2177,2461,2344,2308,2737,3085,3040,2820,2966,3695,3417,3038,3563,3485,2495,2157,1914,1491,1398,1452,1930,2064,1890,1644,2055,1964,1293,1814,2702,3076,2924,3218,3344,2862,2522,2764,2798,2664,2702,2608,2491,1730,2002,2093,1809,1815,2299,2230,1877,2077,2239,2383,2508,2566,2964,3306,3041,2808,2496,2308,1954,2611,2451,2140,2966,3707,3222,2930,3067,3149,3388,3061,2889,3232,3096,2734,2384,2251,2122,1937,1891,1457,1935,2899,2989,3627,3404,3376,2868,2836,3032,2652,2416,2497,3091,3379,2568,2282,1850,2105,1991,2632,2770,2829,2827,2849,2654,2324,2770,2632,2088,2561,2557,2886,3046,2620,2314,2389,2356,2464,2445,2423,2922,3408,3561,3206,2690,2331,2464,2226,2800,3141,3257,3209,3211,2867,2797,3526,4113,4070,4003,3825,3200,2466,2445,3053,3485,3654,3716,3448,2988,3220,3735,3592,3055,2861,2678,2106,1996,1976,1843,1773,2191,2536,2366,2434,2251,1852,2494,3401,3066,2364,1967,1748,1615,1696,1789,1921,2031,1830,1614,1592,1566,1635,1704,1609,1607,1616,1489,1652,1508,1598,1955,1844,1901,2081,2425,2448,2170,2670,2868,2222,2744,2712,2171,2233,2564,2281,2390,2525,2561,2475,2086,2130,2179,2065,1951,1948,2143,2276,2154,2143,2470,3085,3208,3035,2839,2842,2591,2510,2448,2399,2661,2962,2833,2493,2237,1808,1637,2155,2427,2590,2493,2062,1968,2617,3017,3008,2933,3428,3570,2797,2610,2727,3057,3399,2805,2755,2251,1664,1507,1616,1562,1288,1318,1403,1561,1418,1947,2902,2689,2900,3165,2824,2031,1731,1847,2021,1855,1917,1941,1981,2077,1605,1454,2142,2803,2898,2642,2405,2328,2223,1746,1392,1551,2354,3060,2431,2373,3062,3129,3305,2920,2392,2211,2071,1908,1909,1439,1600,2141,2072,2376,1832,1873,2683,3066,3078,3162,2918,2072,2212,2757,2362,2329,3361,3459,3328,2697,2260,2120,2106,2191,2094,2342,2614,2365,2185,2216,2356,1954,1749,1687,1669,2468,3110,2653,2535,2371,1782,1757,2239,2114,1793,1511,1727,1863,1925,1923,1936,2045,2288,2381,2494,2722,2367,1832,1809,2460,3139,3340,2342,1887,1945,2338,2458,2146,2426,2801,2354,2216,2114,1962,1893,1820,1787,1561,1726,1800,1671,1531,1628,2355,2204,1786,1637,1535,1385,1731,1608,1516,1560,1703,2054,2229,2041,1672,1483,1750,1748,1178,1226,1140,986,1153,1724,2198,1580,1287,1882,2223,2470,2581,2176,1984,2041,2263,1906,1683,2107,2886,2953,2815,2145,1515,1711,1771,1953,1564,1494,1776,2238,2464,2288,1933,2419,2798,2324,2258,2079,1703,1995,1718,2262,2009,1995,2170,2272,2609,2810,2557,2158,2090,1984,1669,1757,1687,1613,1754,1938,1663,1660,1844,1656,1454,1284,1444,1964,2373,2131,2537,2107,1929,1836,1760,1754,1609,1698,1950,2179,2269,1628,1750,2209,2288,2390,2087,2449,2553,2244,2006,1780,1631,1648,1497,1440,1488,1441,1601,1523,1498,1288,1288,1391,1468,1472,1456,1472,1551,1662,1752,1654,1659,1779,1922,1438,1245,1284,1399,1615,2163,2604,2464,2378,1928,1565,1503,1927,2179,2183,1892,1941,2236,2380,2280,2085,1690,1267,1585,2220,2289,2092,1877,1893,1957,1992,1853,1873,1976,1817,1870,1664,1853,2351,2013,1973,2295,2330,2229,2112,2102,2201,2244,2165,1990,1851,2119,2164,1371,1197,1363,2733,3890,4287,4268,3710,2755,2260,2124,2221,2137,2433,2770,2191,2919,4144,3554,2773,2646,1932,1827,2452,2248,1878,2184,2235,2127,2309,2048,1825,1881,1760,1712,1899,2148,2290,2131,2540,2305,2282,2436,2166,1932,1557,2549,2718,2086,2796,3341,3141,2755,2614,2422,2363,2388,2451,2394,2643,2761,2542,1987,1742,2007,1549,1334,1389,1764,1914,2298,2250,2106,2040,2316,2498,2303,1859,1903,2173,2819,2110,1682,2063,2221,2405,3160,3304,3519,4165,4074,3408,2485,1875,1545,1966,2336,2452,2608,2834,3361,2686,2034,1885,2025,2148,2245,2557,2267,2276,2063,2328,2585,2777,2805,2230,1919,2024,2041,2310,2106,2471,1875,1739,1919,1919,1772,2079,2183,1988,1961,2204,2354,2386,2608,2841,3042,2471,2629,2300,1954,2058,2181,2375,2363,2198,2344,2593,2522,3056,3349,2598,2386,2708,3243,3499,2910,2144,1805,2066,2449,2152,2553,2497,2069,2750,3040,2630,2379,2612,2687,2792,2097,1968,3001,3196,2438,2406,3016,2894,2265,2052,1882,2104,2348,2426,2096,2210,2515,2154,2213,2589,2541,2611,2755,2611,2524,2427,2584,2739,2242,1856,1880,1450,1752,1916,1727,1724,1771,1877,2012,2677,2979,2596,2909,2923,3176,2998,2562,2640,2242,2163,2045,2301,2080,2098,2160,1994,1757,2105,3104,3108,2130,2382,3076,2393,2079,2181,2679,3362,2576,2504,2424,1954,1743,2014,2865,3492,2712,2470,2534,2346,3049,2592,1877,2142,2757,2942,2840,2236,2363,2398,2462,2854,2895,2326,1961,1622,1397,1460,2364,2745,1997,1771,1712,1958,2326,2175,2113,1411,1785,2536,2475,2184,1713,2646,3482,3311,3468,3009,1959,2195,1726,1633,2073,1971,1882,1868,1858,1668,1808,2082,2010,1999,2363,1992,1511,2120,3391,2793,1909,1432,1582,2032,1520,1241,1828,2252,2459,1995,1351,1368,1276,1253,965,1262,1925,2025,1633,1610,1824,1824,1731,1891,2189,2335,2342,3178,2771,2172,1776,2406,2776,2054,1798,2066,2185,1995,2182,1817,1297,1852,1688,1552,1621,1825,2030,2150,2138,2242,2252,2425,2453,2367,2478,2785,2765,2884,2652,2861,3352,3536,3447,3350,3307,3430,3334,3374,3652,3618,3602,3750,3741,3011,2373,2702,3263,3673,3495,3107,2975,2873,2896,2493,2154,2452,2271,2156,2494,2706,2551,2890,3198,2862,2248,2417,2573,2817,2575,2049,1686,1795,1920,1900,2326,2236,1977,1965,1714,1508,1416,1726,1652,2315,2322,1727,1558,1581,1682,1448,1261,1424,1365,1404,1556,1559,1866,1722,1505,1447,1320,1264,1257,1215,1290,1345,1408,1403,1449,1730,1593,1544,1686,1693,1527,1542,1744,1924,1921,1956,2000,2416,3167,2420,1934,2047,2355,2245,2170,2183,2248,2480,1691,1607,1824,2193,1896,1638,1816,2370,2880,2620,1842,1758,1625,1708,1848,1514,1393,1362,1492,1461,1373,1374,1473,1447,1487,1621,1777,1678,1541,1672,1335,1543,2078,2018,2230,2222,2238,2092,2099,2204,2313,2452,1975,1534,1244,1490,1623,2127,2017,1711,1772,1760,1948,1979,2425,2774,2632,2708,2851,2657,2591,2932,2635,2584,2632,2677,2808,3211,2989,2514,2245,2317,2578,2552,2646,2722,2570,2182,2046,2217,2379,2014,1746,1881,2253,2101,1850,1659,1849,2108,2455,2080,1924,2441,2164,1963,2570,2647,2196,1993,1943,1974,2348,2551,2529,1988,1906,2312,2780,3378,3432,2900,2321,1892,2219,2464,2645,2653,2359,2487,2778,2316,2151,2551,2641,2200,2069,2398,2133,1532,1643,1865,1920,1570,1678,1970,1804,1897,2279,1925,2371,2765,2204,2847,2843,2567,2645,3306,3069,2534,2453,3065,3318,2524,1608,1501,1814,2235,1958,1466,1611,1716,1731,2025,2363,2624,2741,2663,2525,2666,3189,3207,3089,3046,2907,3286,3695,3670,3351,2785,2021,1776,1839,1836,1885,1910,1602,1390,2298,2548,1955,1744,1824,1843,1928,1929,1700,1598,1391,1922,2020,1881,2041,2467,2382,2062,2008,2168,1957,1732,2018,2258,2088,1605,1741,1634,1559,2000,2244,1946,1762,1768,1991,2671,2019,1819,1903,1954,2721,2438,1945,1985,2297,2237,1943,1920,1996,1639,1417,1675,1902,2470,2992,2644,2175,1919,1877,1748,1749,1942,2068,1990,1957,1964,2077,2075,1833,2082,2294,2027,2128,2326,2282,2273,2536,2788,3123,2482,1991,1967,1656,1643,1825,2210,2356,2352,2447,2928,2928,3042,2631,2171,2189,2299,2281,2667,3343,3189,3018,3586,3473,3202,3597,3539,3672,3824,3049,2658,2243,2275,2540,3065,3119,3062,3235,2881,2471,2603,3165,3371,3222,2791,2478,2368,2497,2947,2678,1792,1814,1752,1512,1745,1996,2255,2196,2302,2444,2022,1653,1948,1829,1677,2446,2917,2015,1811,2136,2020,1881,1973,2048,1891,2097,2138,1975,1875,1741,1636,1613,1901,1729,1616,1477,1658,1592,1971,2502,2488,2212,1941,1809,1908,2330,3240,2736,2082,1913,1815,2310,2576,2280,2109,1922,1825,2063,2346,1976,1533,2059,1802,1542,1618,1725,1519,1431,1540,1703,1851,1961,1902,1933,1612,1833,1780,2299,2037,1873,1845,1671,1994,2505,2450,2188,2046,2247,2264,2351,2596,2419,1990,1516,1606,1934,1742,1527,1597,1523,1614,1784,1760,2143,3062,2720,2626,2558,2248,1899,1563,1748,2009,1880,1636,1830,2003,1614,1880,2174,2210,2294,2182,2532,2438,2007,1910,1823,1642,1290,1318,1392,1545,1672,1770,1982,2017,1951,1987,2051,1946,1888,1545,1731,1892,2148,2179,1947,2024,1908,1696,1914,1886,1613,1624,1844,1822,1538,1569,1714,2232,3022,3356,2885,2084,1859,1972,2115,1974,1731,2113,1990,2001,2113,1959,1763,1713,1882,1752,1591,1850,2211,2393,2819,2940,2745,2596,2545,2496,2340,1782,1924,2518,2918,3143,2988,2438,2007,2005,2247,3043,3424,3285,3270,3474,2803,1976,1661,1523,1469,1742,2728,3405,2545,1768,1578,1576,1605,2024,2009,1951,1944,1610,1492,1825,2337,2584,2563,3427,3527,3588,3411,2867,2451,1946,1591,1584],[3546,3431,3333,2979,2943,3075,3107,3103,3042,3146,3407,3519,3641,3833,3719,3490,3762,3659,3420,3598,3828,3627,3407,3190,2932,3156,3216,3449,3786,4029,3969,3673,3702,3834,3583,3615,3312,3300,3211,3021,2975,3006,2915,3052,3147,3027,3188,3283,3197,3819,3726,3601,3447,3317,3112,3080,3093,2751,2503,2438,2530,1990,1915,2063,2462,2922,3139,2765,2403,2445,2467,2755,2801,2410,3354,3670,2845,3410,3392,2797,2402,2712,2796,2829,3113,3205,3264,3327,3306,2238,1953,1785,2123,2250,2164,2301,2041,1687,2042,2344,2153,2401,3191,3658,3022,2785,2395,1870,2411,2734,2473,2741,3486,3495,2724,3107,4134,3572,3485,3964,4030,3002,2009,1848,1898,1753,1773,1636,1910,2091,2317,2907,2976,2492,2356,2564,3063,3486,3459,3431,3223,2644,2652,2633,2768,3244,3064,2471,1659,2240,2027,1869,2350,2486,2169,1994,1972,2501,2852,3105,3493,3677,3073,2785,2867,2805,2786,2003,1703,2121,2119,2757,3401,2466,2103,2686,3193,3216,2971,2786,2918,2995,2823,2395,2601,2951,2205,1696,1748,2908,2875,2919,3294,3088,3109,2764,2645,2745,2364,2357,2807,2979,2935,2579,2390,2431,2592,2468,2965,3075,3019,3019,2926,2617,2576,2885,2656,2325,2869,2353,2787,2742,2228,2381,2608,2658,2757,2734,2703,2588,2454,2630,2208,2567,2147,2033,2191,2730,3168,2864,2622,2677,2634,2590,2876,3132,3050,3189,3462,3074,2667,2678,3011,3208,3527,3817,3778,3384,3520,3860,3882,3557,3431,3357,2402,2205,1899,1461,1757,2034,2426,2575,2394,2335,2851,3384,3226,3261,3040,2940,2501,1973,2046,2095,1825,1774,1859,1666,1665,1884,1870,1693,1593,1584,1556,1432,1578,1685,1842,1843,1827,2136,2260,2365,2378,2069,2201,2169,1957,2015,2347,1967,2092,2436,2115,2361,2027,2055,2416,2201,2194,2359,2138,1913,1896,1791,1614,2100,2508,2489,3053,3220,3090,2818,2647,2568,2626,2640,2613,2909,3037,2692,2415,2302,1909,1609,1896,2215,2349,2128,2302,2733,3079,3167,3061,3094,3618,3850,3322,3402,3396,3152,3269,3109,2641,2281,2054,1973,2019,1767,1588,1636,1543,1576,1811,2453,2443,2073,2802,3687,3294,2400,1998,1855,1967,2070,2530,2363,2365,2283,1668,1682,1936,2008,2446,2687,2431,2060,1595,1461,1438,1511,2053,2485,2365,2405,2541,2882,3145,3249,3105,2744,2086,1707,1654,1548,1501,1756,1798,1920,1761,2199,3007,2986,2673,2583,3253,2449,2158,2453,2375,2777,3518,3809,3057,1985,2100,2540,2973,2395,1500,1492,1743,1930,1945,2041,2271,2163,1927,2106,2231,2965,3504,3009,2753,2489,1943,1888,2481,2204,1643,1540,1846,1970,2060,2115,2054,2148,2164,2257,2773,3208,2710,2323,2293,2741,3471,3063,1861,1456,1620,2011,1901,2009,2266,2502,2633,2402,2124,2041,1913,1820,1813,2003,1970,1445,1498,1626,1511,1842,2182,1975,1452,1288,1364,1575,1487,1462,1581,1938,2154,2145,1805,1735,1720,1800,2081,2318,2425,1920,1407,1438,1928,2145,2024,2301,2763,2921,2754,2707,2252,2063,2159,2197,1896,1759,2288,2921,2862,2858,2689,2828,2341,2520,2319,1456,1337,1519,1790,2450,2424,1891,1919,2546,2555,2612,2367,1844,1902,1633,1735,2329,2880,2523,2280,2575,2858,2846,2879,2743,2199,1891,2036,2107,2126,1968,1911,1774,1678,1731,1718,1689,1677,2125,2588,2180,1812,1782,1676,1693,1736,1700,1506,1588,2072,2066,2036,2065,1787,1810,2062,2518,2554,2208,2051,1922,1693,1721,1693,1503,1831,1583,1528,1584,1749,2207,2164,1769,1555,1367,1408,1302,1394,1411,1505,1578,1517,1654,1626,1604,1562,1517,1480,1455,1418,1561,1924,2503,3038,2569,2276,2390,1911,1592,1752,2195,2420,2139,2149,2317,2208,1875,1829,1714,1717,2612,2679,2255,2072,2048,1819,1750,1900,1738,1869,1758,1643,2131,2159,2062,1948,1763,1875,2186,2252,1863,1880,2417,2272,2183,1940,2114,1866,1940,1941,1600,1329,1173,1889,3107,4116,4296,3662,2754,2132,2235,2397,2374,2527,2237,2090,3386,4229,3334,2437,1836,1336,1558,2419,2514,1835,2269,2225,2119,2105,2055,2015,2160,2150,2101,2244,2453,2243,2387,2693,2480,2367,2320,2129,1654,1278,2520,3194,2075,2426,3181,3413,2929,2630,2457,2377,2374,2379,2497,2635,2534,2369,2063,1949,2449,1566,728,1041,1455,1795,2046,2376,2369,2126,2170,2354,2283,1910,1946,2146,2392,2288,2302,2380,2310,2552,2780,2544,2807,3442,2939,2153,1933,2046,1648,1429,1829,2269,2249,2489,2600,2421,2755,2698,2886,2946,2750,2350,2231,2165,2113,2035,2067,2451,2718,2383,2042,1832,1725,2286,2463,2898,2663,2503,2998,2511,1744,1764,2067,2403,2683,2855,2450,2364,3376,3806,3047,2148,2244,1974,2222,2358,2066,2059,1886,2041,2509,2225,2036,2625,2569,1933,1701,2283,2813,3164,2741,2280,2210,2078,2078,2290,2447,2331,2396,2854,2492,2238,2191,2631,2653,2255,1931,2409,3143,3340,2700,2461,2543,2192,2244,1883,1585,1624,1762,1759,1675,1843,2024,1687,2210,2176,2087,2512,2585,2707,2836,2858,2629,2893,2539,2147,2302,1579,2233,2730,2002,2010,1714,1656,2082,2586,2365,2302,2497,2476,2362,2198,2341,2138,1952,2357,2456,2646,2408,2305,2415,2064,1941,2382,2799,2329,2217,2617,3002,2292,2164,2521,2987,3449,2819,2472,2398,1937,1879,2428,3147,3326,2621,2376,2337,2332,2935,2310,2002,2228,2428,3054,2966,2424,2462,2439,2818,3008,2842,2786,2136,1997,1953,2031,2317,2003,1897,1769,1717,2281,2198,2284,1745,1585,2198,1928,1875,1818,1893,2836,3152,3431,3397,2330,2145,2068,1516,2050,2099,1987,2040,1917,1788,1669,1691,1730,1875,2209,2273,1799,1791,2641,2966,1886,1676,1729,1799,1897,1507,1364,1856,2239,2322,1699,1311,1272,1227,1083,894,1539,2189,1843,1520,1818,2071,2135,2310,2232,1731,1476,1826,2922,2601,1985,1785,2405,2803,1775,1736,1859,1842,1793,1885,1609,1566,1998,1924,1733,1813,2266,2586,2209,1771,1765,2098,2447,2491,2416,2451,2543,2648,2654,2689,2877,2849,2938,3141,3348,3453,3471,3347,3347,3356,3355,3326,3311,3318,2820,2624,3234,3395,3697,3468,3116,2949,2955,2510,1893,2064,2352,2054,1941,2294,2818,2818,3304,3251,2796,2415,2555,2678,2639,2585,2269,1737,1697,1580,1764,2589,2580,2291,2094,1774,1579,1941,2151,1902,2242,2173,1559,1477,1488,1553,1614,1496,1498,1705,1859,1733,1551,1620,1667,1461,1336,1298,1258,1276,1399,1433,1340,1365,1355,1636,2084,1755,1607,1739,1731,1587,1647,1717,1876,1898,1809,1920,1911,2103,1909,1698,1761,1937,2076,2452,2429,2547,2317,1480,1454,1453,1424,1557,1892,2170,2392,2742,2134,1598,1832,1899,1815,1795,1396,1398,1272,1301,1411,1419,1444,1436,1548,1687,1796,1766,1534,1478,1429,1249,1472,1598,1766,2286,2540,2377,2060,1855,2059,2188,2190,1964,1760,1411,1447,1566,1713,1942,2056,1782,1687,2205,3413,4145,3537,2861,2817,2758,2722,2684,2678,2764,2745,2624,2377,2896,3651,3173,2344,2172,2104,2006,2082,2196,2379,2584,2702,2366,1986,1839,1467,2050,2524,2755,1960,1349,1316,1496,1576,2092,2144,2025,2428,2486,2589,2640,2331,2052,2198,2108,1991,2460,2677,2290,2029,2361,2370,2114,2611,3093,2347,2212,2531,2463,2800,3563,3652,2810,2090,2258,2348,2379,2319,2085,1866,1853,2344,2014,1830,1967,2042,1871,1908,2391,2400,2101,1845,1845,1839,1853,2242,2229,2984,3204,2557,2394,2944,2864,2758,2820,2688,2980,2822,1681,1600,1785,1716,1556,1384,1504,1573,1865,2435,3018,3565,3610,3173,2898,2963,3306,3326,3175,2730,2767,2878,3024,3311,3173,2691,2453,2260,1912,1721,1673,1554,1079,1195,2213,2470,2165,2427,2464,2189,2054,2434,2284,1823,1740,2367,2784,2492,2119,2231,2632,2835,2515,2577,2074,1963,2212,2098,1880,1781,1747,1723,1710,1800,1875,1559,1582,1798,1936,2140,1691,1418,1422,1621,2385,2270,1813,2125,2274,2168,2225,2249,2197,1927,1809,1933,2046,2176,2227,2264,2223,2102,1637,1597,1483,1765,2066,2100,1909,1819,1896,1975,2064,2183,1998,2097,2216,2514,2382,2318,2722,2555,2587,2138,2172,2127,1842,1980,2205,2292,2086,1777,1769,2246,2856,3034,2622,2272,2432,1987,1899,2527,2897,3046,3247,3163,3105,2761,2987,3439,3758,3544,3165,2813,2503,2308,2473,3111,2974,2853,2658,2525,2380,2623,2811,2732,2686,2879,2922,2662,2762,2938,2467,1730,1599,1610,1560,1672,1856,2064,2274,2408,2488,1976,1425,1814,1914,1519,2097,2764,2371,1877,2048,1917,1707,2075,2198,2438,2710,1978,1640,1783,1670,1618,1866,1708,1643,1687,1708,1737,1563,2081,2768,2406,2291,2499,1975,1886,2039,2943,2976,2040,1774,1907,1908,1898,2075,2105,1994,1994,1645,1771,1524,1693,2088,1842,1585,1550,1576,1670,1561,1326,1611,1688,1619,1653,1832,1836,1881,1729,1829,2158,2479,2234,1897,1809,1926,2292,2264,1850,2350,2270,2571,2376,2156,2066,1824,1833,1920,1841,1877,1685,1647,1630,1542,1501,1653,2056,2399,2347,2081,2226,1908,1785,2058,2370,2088,1732,2395,2632,1906,1717,1861,2076,2215,2172,2125,1942,1868,1628,1693,1694,1463,1427,1480,1694,1833,1960,1849,1839,1891,1896,1905,1905,1700,1863,2365,2222,2282,2125,1904,1697,1599,1593,1693,1853,1932,1808,1759,1609,1625,1798,1761,2312,2842,3196,2808,2219,2314,2357,2092,1966,1731,1897,1917,1993,2091,2148,1904,1802,1855,1748,1803,2722,3397,2930,2985,3165,2744,2619,2392,2498,2248,1781,1720,1964,2462,3132,3603,3321,2663,2498,2814,2525,2961,3216,3473,3466,2469,1632,1570,1546,1664,2112,2932,3693,2624,1785,1611,1973,2396,2575,2217,1846,1848,1668,1874,2461,2990,3185,2789,2719,2635,3310,3517,2879,2618,2438,1820,1640],[4123,4109,3896,3584,3550,3484,3286,3050,2975,3045,3262,3445,3602,3770,3751,3404,3675,3419,3186,3392,3537,3089,3088,3210,3426,3554,3390,3339,3565,3790,4051,3833,3746,3753,3704,3464,3310,3252,3164,3012,2986,3079,3168,3123,2921,2860,2896,3030,3222,3637,3624,3305,3270,3366,3021,2994,3220,2780,2520,2299,2404,2445,2622,2696,3052,3422,3646,2902,2074,2214,2178,2293,2570,2425,3410,3508,2928,3411,3030,2501,2222,2403,2599,2740,2857,2835,3123,3299,3398,2171,1799,1555,1642,1759,1896,2562,2593,1864,2133,2531,2518,2800,3008,3251,2829,2674,2374,1851,2008,2472,2212,2214,3261,3139,2612,3096,4155,4219,3424,3724,3789,3526,3196,3294,3186,2526,1883,1947,2410,2331,2950,3096,3044,2496,2082,2402,3135,3466,3193,3242,2844,2203,2352,2152,2354,3197,2997,2586,2164,2468,2446,2459,2362,1880,2058,2269,2335,2944,3479,3945,3586,2781,2448,2834,3038,3273,3220,2320,1716,2065,2052,2293,2494,1914,2037,2916,3580,3198,2902,2853,2769,2780,2907,2829,3027,2962,2098,2025,2602,2740,2828,3099,3139,2896,2921,2922,2668,2293,2179,2500,3008,2938,2430,2768,2746,2579,2405,2799,3238,3210,3096,2888,2618,2522,2833,3284,2625,2668,2956,2150,2519,2564,2054,2141,2228,2245,2323,2511,2886,2910,3157,2370,1637,2700,2471,2048,2150,2841,3472,2994,2634,2671,2512,1635,1396,1902,2258,2419,2855,3033,2983,3174,3308,3540,4159,4017,3730,3300,3438,3287,3497,3286,3355,3109,2508,2944,2626,2026,2322,2335,2316,2188,2148,2532,2730,3248,2810,2598,3046,3511,3042,2420,2124,1869,1549,1619,1805,1673,1528,1902,1980,1889,1846,1962,1838,1457,1457,1487,2020,2508,3008,2808,2877,2963,2480,2099,1960,2719,3406,2764,2540,1877,1847,2142,2258,2148,1865,2148,1988,1764,1976,2228,2122,2277,2180,1807,1604,2611,2698,2540,2966,3156,3225,2975,2787,2906,3060,2841,2504,2592,2391,2113,2356,2288,2102,2182,1918,1792,1672,1780,2254,2498,2689,2908,2920,2885,3134,3481,3532,3714,3449,3250,3354,3012,2554,2522,2313,2354,2025,1533,1520,1748,1817,1734,2135,2070,1687,1554,2149,3199,3518,2408,1914,1636,2026,2520,2493,2478,2950,2468,1781,1985,1935,1797,2437,2718,2474,1990,1544,1451,1368,1549,2060,2503,2192,1665,2207,3198,3422,3588,3504,2743,2009,1749,1874,1678,1521,1677,1880,1841,1599,1637,2120,2490,2305,2078,2332,1674,1829,2325,2286,2780,3294,3340,2577,2218,2974,2890,3022,2181,1548,1493,1715,1775,1846,2013,2060,1970,2092,1944,2291,3200,3484,2977,2776,2569,2166,1959,2502,2610,2130,2009,1924,2164,2834,2477,2090,2047,2040,2050,2250,2405,2706,2843,2901,3313,3374,2509,2001,2177,1880,2007,2034,2081,2384,2797,2883,2447,2286,2140,1845,1657,1657,1698,1646,1614,1668,1677,1481,1756,2182,2005,1462,1368,1682,1765,1486,1716,1562,2229,2508,2220,1816,2088,1846,1815,2176,2131,2124,2165,1999,2164,2621,2678,2884,2785,2906,2928,2675,2604,2348,2160,2254,2200,1819,1885,2250,2911,3183,3011,3292,3901,3341,3327,2828,1988,1952,1796,1672,2231,2199,2001,1861,2284,2674,2614,2308,1892,1844,1737,1744,2263,2346,2031,2054,2300,2372,2348,2458,2270,1876,1673,1655,1821,1924,1790,1697,1617,1547,1432,1361,1525,1781,1791,1873,1698,1692,1858,1960,1771,1730,1886,1699,2179,2792,2249,1757,1741,2004,1902,1884,2070,2244,2118,1714,1691,1772,2301,2198,1722,1782,1742,1612,1783,1790,1684,1599,1781,2242,2338,2015,1437,1404,1349,1576,1677,1730,1640,1594,1520,1560,1668,1758,1843,1931,1931,2178,2368,2764,2402,1900,1960,1830,1599,1604,1991,2036,1903,2179,2172,1914,1663,1670,2100,2352,2525,2397,2197,2095,2032,1718,1739,2075,2548,2975,2381,2223,1937,1959,1948,2050,2165,2020,2094,2514,2403,2294,2363,2135,2008,1879,2072,1888,2054,2126,1690,1310,1214,1251,1565,3138,4185,3640,2741,2666,2486,2374,2714,2793,2321,2175,2535,2329,1625,1276,1380,1848,2242,2084,2140,2166,2329,2518,2273,2458,3013,2724,2871,3084,2642,2214,2145,2137,2109,1836,2008,2207,2234,2260,1915,1418,1918,2307,1823,2224,3195,3662,3266,2762,2499,2359,2263,2344,2397,2318,2135,2089,2220,2335,2422,1994,1367,2026,2186,1968,1993,2389,2535,1932,2001,2338,1970,1814,1787,2252,2120,2378,2735,2244,1934,2469,2561,2604,2942,2924,1923,1327,1356,1621,1895,2321,2754,2580,2296,2600,2900,2954,3122,3160,3307,2946,2496,2491,2930,2828,2372,2143,2258,2667,2878,2580,2276,1876,2028,2298,2765,2696,3120,3306,3378,2645,1664,1462,1973,2723,3191,2831,2092,2149,3482,3796,2732,2354,2172,2030,2533,2430,1825,2264,2339,2210,2146,2223,1815,2210,2414,2090,2031,2743,2824,2780,2968,2508,2337,2070,2372,2244,2014,2144,2283,2198,2031,1942,2230,2634,2676,2236,2034,2170,2376,3306,2966,2350,2341,2735,2414,1963,2034,1998,1793,1728,1798,1821,1770,1767,1907,1802,1672,1646,1686,2418,3128,2964,2791,3286,2613,1804,2019,1575,2338,2798,1975,1955,1726,1605,2050,2227,2565,2780,2532,2309,2188,2397,2011,1854,2478,2614,2523,2411,1873,1823,2091,1956,1897,1522,1340,1494,1705,1850,2351,2642,2879,3152,3563,3443,2674,2207,2096,2090,2025,2223,2964,3019,2467,2228,2320,2232,2259,2064,2181,1973,1931,2557,3005,2609,2602,2589,2552,2372,2049,2688,2555,2242,2321,2095,1956,1944,2056,1602,2062,2326,2358,2090,1455,1476,1773,1618,1629,1738,2320,2974,3009,3387,2942,2039,2330,1787,1704,2205,1815,1887,2149,2115,1887,1485,1271,1400,1889,2304,2081,1834,2192,2972,2398,1527,1765,2092,2083,2048,1603,1972,2254,2461,2286,1526,1324,1362,1369,958,1109,2365,2603,1896,1716,2130,2121,2052,1937,1642,1691,1794,2336,2939,2428,1943,1840,2490,2565,1784,1841,1737,1647,1617,1650,1650,1771,2014,2098,2036,2036,2658,3011,2364,1879,1717,2248,2546,2461,2248,2067,2034,2349,2463,2544,2657,2884,2828,3039,3304,3545,3706,3569,3359,3145,3184,3303,3374,3120,2710,3110,3460,3449,3686,3655,3144,2801,2941,2379,1746,2216,2400,1793,1208,1659,2374,2918,3450,2810,2482,2787,2796,2728,2751,2808,2314,1808,1710,1261,1951,2640,2713,2768,2463,1999,1892,2400,2642,2183,1786,1669,1549,1751,1874,1940,2054,1681,1524,1792,1829,1647,1464,1465,1513,1359,1232,1288,1311,1291,1526,1591,1474,1415,1393,1894,1958,1536,1648,1803,1774,1644,1526,2020,2334,2198,2144,2249,2006,1698,2058,2376,2364,2497,2403,2299,2369,2437,2008,1593,1576,1593,1580,1655,2204,2388,2222,2484,1860,1672,1660,1821,1832,1531,1356,1319,1252,1399,1489,1446,1348,1541,1615,1548,1772,1571,1506,1427,1232,1411,1527,1721,1989,2242,2249,1985,1858,1481,1411,1720,1825,1916,1932,1597,1394,1577,1768,2016,2366,2182,1870,2662,4620,4734,4167,3681,3046,2348,2676,3003,2696,2583,2576,2514,2375,3053,4024,3715,2590,2109,2036,1920,2090,2332,2499,2817,2824,2617,2092,2432,2282,2752,2844,2812,2342,1757,1560,1579,1510,1964,2344,2154,3138,3674,3330,2843,2474,2171,2480,2247,2011,2326,2386,2155,2371,2054,2028,1852,2404,2863,2872,3287,3384,3355,3980,4640,4665,3237,1897,1871,2118,2511,2104,1923,1888,1672,2118,2236,2370,2184,2110,2286,2686,2373,1826,1711,1627,2097,1933,1644,2576,2556,2641,2923,2424,2158,2290,2280,2302,2132,2070,1926,1796,1501,1512,1472,1467,1607,1648,1624,2114,2253,2394,3086,3508,3503,3319,3039,2934,3062,3186,2806,2734,3293,3190,3088,3024,2729,2615,2593,2375,1667,1749,1957,1921,1558,1267,1964,2286,1974,2111,2060,2418,2207,2336,2378,2139,2476,2812,2678,2316,1915,1906,2596,3410,3133,2698,2290,2069,1830,1752,1956,1952,1603,1584,2034,1984,1641,1419,1730,1749,1506,1416,1487,1428,1591,1893,2041,2356,2375,2457,2238,2100,2514,2432,1990,1982,2098,2069,2162,2198,2419,2663,2274,1910,1549,2079,1720,1534,1857,2114,1959,1806,1771,1708,1970,2253,1729,1728,2015,2380,2072,2108,2544,2708,2226,2134,2392,2212,2401,2620,2164,2008,2230,2268,2426,2066,1983,2462,2689,2686,2426,1930,1826,1755,1947,2448,2792,2652,2710,2718,2773,3330,3583,3288,3428,3160,2745,2541,2407,2474,2387,2510,2040,1928,1987,2132,2333,2718,3182,3294,3294,2711,2669,2814,2170,1726,1593,1511,1589,1627,1752,2024,2236,2288,2105,1864,1460,1515,1654,1519,1753,1970,1841,1782,2060,1938,1927,1901,1882,1972,2056,1524,1832,2024,1305,1290,1731,1652,1534,1632,1709,1583,1741,2236,2708,2028,1857,2097,1692,1529,1747,2270,2340,1919,1814,2142,2133,2084,2393,2021,1737,1858,1826,1598,1637,1923,2172,2068,2073,2156,1963,2336,2374,1865,1460,1601,1710,1718,1570,1738,1979,2022,2018,1998,2008,2043,1681,1540,1697,1822,1837,2100,2383,2076,1861,1748,1901,2248,2423,2305,1815,1661,1946,1877,1861,1790,1697,1670,1956,1888,2171,2632,2604,2048,1641,1799,1653,1968,2353,2934,3433,2864,1962,1762,1940,2064,2209,2285,2159,2007,1708,1668,1565,1593,1527,1504,1595,1682,2002,2155,1929,1830,1637,1578,1660,1776,1911,2697,2920,2937,2713,2180,1963,1844,2112,2088,1828,2114,2329,1926,1664,1660,1700,1948,2100,2250,2536,2728,2398,2180,2287,2461,2177,1977,1690,1736,1991,1946,1823,1780,1656,1841,2022,1660,1652,2939,3282,3052,3017,3211,2697,2204,2236,2068,1864,1886,1641,1781,2405,2850,3687,3913,2742,2643,3011,2641,2851,3299,3618,3474,2564,1572,1472,1499,1623,2012,2522,2840,2056,1500,1618,2361,2606,2272,2402,2088,1909,2160,2765,2955,2899,2502,2454,2354,2598,3394,3024,2332,2418,2468,1887,1583],[4034,3925,3884,3914,3925,3851,3605,3305,3121,3154,3452,3782,3652,2894,3628,3979,3716,3347,3631,3710,3399,3058,2986,3103,3312,3328,3156,3261,3804,3965,4096,3873,3932,3950,3699,3362,3465,3342,3203,3223,3379,3387,3216,3016,2871,2894,3116,3138,3084,3373,3497,3399,3531,3771,3470,3096,3065,3072,2658,2474,2868,3212,3019,2899,2745,2572,2999,2668,2156,2442,2088,1806,2183,1993,1943,1828,2212,3231,3321,2898,2917,3005,2935,2744,2339,2634,2873,2633,2273,1791,1725,1747,1821,1837,1805,2150,2194,1824,2525,3084,3185,3210,2972,2988,2753,2285,1823,1634,2035,2409,2093,1999,2596,2517,2315,2395,3518,3929,3132,3112,3142,3453,4013,4273,4177,3522,2144,2597,2618,2336,2588,2850,2866,2382,2020,2281,2886,3222,2964,2919,2651,2302,2077,2024,2248,2678,3071,3217,2446,2125,2521,2534,1789,1769,1877,1982,2413,3222,3839,3728,3222,2711,3042,3279,2963,2604,2556,2294,1924,1954,1948,2351,2241,1819,2195,2862,3248,3246,2962,2933,2662,2573,2732,2678,2821,2169,2381,3175,3296,2907,2920,3189,3108,2755,2807,2802,2576,2006,2351,2977,3118,2705,2395,3117,3408,3164,2983,3200,3334,3075,2956,2945,2533,2244,2536,2832,2312,2599,2727,2111,2343,2459,1996,2023,2147,2430,2767,2752,3131,3306,2924,2386,2366,2831,2470,2100,2244,2932,3611,3119,2633,2663,2346,1694,1938,2758,3009,3029,3185,3275,3604,3805,3818,4156,4625,4307,4041,3382,3460,3077,3177,3183,3195,2994,2859,2836,2690,2558,2430,2402,2230,1867,1858,2121,2013,2214,2825,3089,3362,3528,3063,2187,1923,1716,1649,1816,1883,1692,1633,1677,1809,1927,2004,2004,1577,1596,1532,1462,1636,2487,3232,2633,2169,2408,2199,1863,1947,2079,2237,2725,2282,1799,1725,1595,1923,1919,2187,2240,1930,1857,1931,2025,1901,2133,1998,1707,1462,1963,2132,2573,3243,3516,3397,3210,3098,3057,2840,2393,2239,2053,2011,1920,1889,1952,2074,2221,1900,1457,1561,2120,2221,2455,2554,2890,2612,2775,2984,3620,3974,3803,3570,3397,3212,2804,2329,2385,2265,2485,1846,1215,1625,2273,2143,2087,2205,1780,1620,2058,2519,2556,2547,1697,1563,1603,2049,2647,2261,2468,2950,2501,2019,2051,2138,2107,2277,2952,2409,2423,2378,1765,1414,1764,2464,2512,2100,1813,2270,3345,4144,3757,3587,2688,2342,1998,1714,1747,1698,1850,2218,2054,2388,1908,1753,1849,2038,2567,2209,1686,2213,2380,2213,2213,2075,2427,3168,3347,3295,3154,2877,2005,1933,1996,1990,1785,1831,1942,1592,1679,2159,2194,3277,3743,3516,2892,2401,2544,2664,2639,2501,2112,2171,2118,1693,2496,3366,2569,1970,1660,1805,2270,2489,2287,2127,1999,2166,2275,2268,2135,2209,2329,1785,1831,2413,2213,2181,2413,2453,2481,2501,2153,1767,1557,1611,1548,1547,1595,1656,1569,1387,1624,2127,2254,2010,1774,1930,1947,1573,1961,2092,2010,2219,2108,2220,2358,2324,2567,2567,2108,2035,2161,2277,2286,2492,2480,2510,2425,2434,2432,2349,2305,2354,2304,2234,2069,1571,1572,1903,2423,2718,2730,2747,2889,2858,2865,2751,2593,2399,2061,1954,2338,2289,2078,1626,1650,1667,1579,1747,1891,1930,1822,1665,1791,1804,1847,1719,1859,1901,1763,1713,1638,1456,1421,1418,1656,1816,1687,1316,1307,1574,1528,1804,2229,2169,2033,1929,1565,1562,1763,2127,1836,1836,2009,1858,2226,2487,2115,1712,1979,2366,2483,2145,1708,1766,1816,1804,1937,2475,2944,2107,1526,1797,1910,1805,2015,1952,1764,1575,1674,2212,2679,2460,2062,1543,1283,1406,1975,2096,1748,1670,1444,1530,1555,1625,1669,1955,1743,1802,1788,1873,1889,1724,1564,1553,1556,1575,1722,1700,2015,2118,2080,1761,1662,1974,3175,3263,2396,2210,2533,2138,2003,1814,1463,1764,3054,3494,2847,1945,1838,2200,2230,2254,2276,2057,1997,2142,2114,2186,1986,2388,2272,1835,1789,1707,1585,1461,1477,1599,1766,1547,1561,2889,3894,3603,2896,3098,3132,2938,2644,2409,2178,2032,1587,1299,1201,1710,2948,3887,3421,2160,2050,2526,2636,2630,2272,2268,2574,2495,2649,2590,2336,2083,2112,2314,1825,1421,1927,2344,2251,2546,2501,1622,1541,1724,1962,2167,2909,3484,3382,2975,2691,2499,2300,2264,2238,2353,2093,2225,2762,3028,2598,1787,1654,1760,1812,2125,2122,2216,2236,2244,2266,2283,2035,2201,1902,1932,1990,2293,3067,2862,2062,2418,2742,2398,2669,2621,1975,1401,1013,1354,1863,2293,2634,2243,1879,2330,2698,2574,2734,3189,2676,2106,1903,2197,3029,3073,2364,2041,2427,2866,2814,2821,2492,2220,2327,1841,2242,2357,2226,2363,2496,2171,1719,1810,2311,2460,2769,2551,2070,2327,3066,3125,2402,2226,2514,2228,1884,1464,1496,2589,2860,2501,2487,2564,2100,2285,2388,1931,2208,2651,2420,2364,2620,2223,2181,2294,2418,2099,2252,1969,2234,2681,2578,2436,3000,3189,3306,2614,2072,2265,2593,2740,2193,2254,2272,2169,1862,1530,1864,1882,1802,1743,1623,2051,1825,1881,2181,1918,1570,1356,1332,1941,2566,2418,2642,3239,2548,1794,1434,1620,1838,1757,1723,2095,1966,1876,2180,2551,3000,2343,2190,2108,2009,2264,2174,2254,2570,2257,1872,2005,2127,2340,2467,1948,1790,1020,845,1040,1050,1032,1330,1853,2358,2753,2509,2016,2258,2195,2119,2259,2697,2547,2880,2850,2613,2732,2245,1902,2071,2470,2369,1804,1574,2187,2408,2146,2534,2138,1941,1654,1620,2399,2643,2443,2725,2297,1841,2044,1751,1599,2022,2221,1998,1360,1207,1401,1530,1596,1630,1820,2643,2699,3088,3675,2502,2453,2342,1774,2166,1979,1687,2030,1982,2336,1960,1290,1043,1226,1827,2048,2083,2355,2717,2655,1749,1406,1853,1981,2008,1955,1895,1969,2106,2292,1718,1397,1648,1849,1795,1181,1272,2378,2492,1981,1696,2141,1985,1885,1792,1812,2069,2349,2978,3145,2211,1981,1853,2652,2370,2017,1932,1767,1751,1475,1647,1898,1513,1568,1928,2125,2035,2380,2685,2411,1919,1606,2029,2472,2350,2108,1919,1813,2448,2473,2610,2598,2642,2934,3148,3268,3572,3776,3786,3565,3293,3129,3146,3371,2670,2216,3153,3335,3610,3916,3675,3109,2943,2778,2180,2341,2765,2324,1823,1234,1789,2647,3257,3327,2686,2722,2972,2922,2705,2459,2753,2461,1838,1597,1280,2254,2818,2721,2585,2335,2056,1856,1930,1940,1731,1462,1524,1844,2066,2288,2023,1669,1556,1450,1415,1504,1408,1319,1454,1495,1404,1381,1371,1324,1470,1670,1463,1350,1388,1383,1447,1448,1381,1453,1736,1796,1712,1789,2232,2404,2422,2316,2322,2202,2087,2224,2201,2158,2555,2300,1759,1757,1819,1980,1854,1765,1730,1507,1780,2315,2266,1960,2392,2012,1899,1651,1584,1464,1405,1483,1336,1387,1542,1582,1523,1354,1702,1462,1433,1547,1527,1548,1439,1335,1487,1601,1697,1817,1935,1701,1603,1630,1578,1987,2076,2184,2247,2053,1649,1337,1504,1748,1787,2441,2371,2085,3045,3967,4175,4381,4341,3262,2344,3160,3608,2883,2700,2575,2434,2373,3065,3926,3505,2666,2241,2246,2066,2099,2546,2844,2872,2567,2585,1722,1654,1796,2103,2775,2860,2600,2400,2093,1849,1862,2264,2498,2155,2770,3487,3398,3276,2697,2189,2241,2153,2120,2402,2409,2108,2564,2397,2524,2855,3631,3903,3845,3864,3872,4082,4468,4352,3661,2660,2114,2311,2752,2696,2059,2108,2100,2004,1990,2490,2753,2152,2114,2597,2644,1980,1600,1491,1290,1688,1626,2008,2720,2287,2092,2705,2831,2774,2790,1924,1831,1970,1870,1653,1592,1452,1361,1488,1510,1647,1789,1892,2813,3039,2462,3342,3728,3556,3579,3404,3549,3815,3220,2419,2820,3655,3654,3561,3615,3578,2845,2128,1804,1641,2571,2693,2049,1761,1837,2293,2204,2259,1959,1747,2006,1960,1859,1946,2153,2221,2155,2135,1925,1846,2062,2248,2684,2896,2347,2105,2062,1844,1904,2079,1731,1559,1799,2392,2107,1850,2270,2445,1933,1948,2442,2526,2057,1974,2333,2247,2558,2396,2339,2085,1687,1993,2104,2047,2271,2317,2304,2476,2383,2302,2549,2249,2027,1816,2505,2142,1574,1665,1843,2029,1925,1647,1898,1996,2199,1986,1885,2224,1965,1673,1783,1990,2054,1897,1879,2198,2776,2796,2624,2131,2280,2578,2525,2359,1764,1365,1865,2270,2166,2266,2060,1763,1764,1605,1633,1720,1882,2265,2922,3109,3517,3961,3903,3439,2758,2415,2226,1900,2619,2633,2170,1860,1923,2178,2666,3270,3479,3710,3532,3451,2643,2589,2636,2210,2043,2297,2129,1440,1478,1597,1696,1719,1720,1863,1939,1642,1518,1687,1880,1733,1691,1636,1752,1939,1970,2060,1810,1772,1803,1822,1914,2030,1823,1461,1460,1754,1691,1540,1842,1736,1704,2590,2535,2319,1676,1638,1835,1687,1595,1796,2097,2249,2021,1810,2039,2260,2393,2397,1936,1617,2025,2139,1814,1593,1541,1613,1786,2066,2372,2069,2144,2106,1649,1382,1853,1881,1730,1626,1842,2184,2110,2081,2057,1767,1757,1703,1788,1748,1835,2172,2362,1998,1700,1793,1975,2070,2323,2404,2168,1736,1615,1856,1880,1630,1481,1481,1841,2232,1825,1597,1709,2269,1826,1609,1690,1811,1648,2380,3433,3378,2399,1846,2408,2505,1980,1973,2160,2207,2191,1903,1719,1510,1546,1557,1736,1910,1880,1981,2226,1879,1704,1896,1720,1549,1698,2492,3150,3088,3509,3351,2681,2537,2178,2181,2525,2596,2105,1802,1691,1591,1628,1520,1767,2679,3029,2225,1818,1996,1937,2092,3227,3178,2278,2118,2074,1958,2016,1604,1374,1463,1835,2148,1822,2295,2971,2655,3043,2832,2508,2364,1968,2143,2026,1881,1786,1924,2199,2170,2210,3084,3820,3720,3852,3624,3183,3154,3312,3448,3285,2604,1697,1627,1808,1697,1808,1928,1693,1577,1544,1695,1846,1784,1853,2033,1883,1800,2336,2924,3104,2942,2731,2632,2355,2404,2394,1980,2256,2448,2081,2036,1916],[3598,3627,3794,4047,4208,4120,3870,3606,3466,3562,3724,3942,3862,3144,3602,3890,3774,3582,3507,3438,3352,3175,3068,3111,3184,3169,3385,3559,3890,4047,4016,3929,3815,4017,3644,3072,3018,3275,3285,3184,3506,3698,3249,3086,3050,3241,3440,3156,3130,3567,3673,3602,3494,3348,2995,2462,2459,3190,3421,3471,3396,3309,3172,3413,3085,2192,2423,2522,2273,1983,1594,1531,2082,2126,1797,1576,1751,2520,3130,2810,3122,3418,3309,2603,2009,2234,2554,2147,1605,1642,1724,1982,2562,2626,2530,2266,2788,2163,2586,3286,3270,3074,2964,3118,3101,2477,1813,2045,2540,2750,2597,1995,2172,2526,2304,2077,2842,3046,2554,2618,2918,3139,3838,4316,4189,4063,2814,2331,2535,2613,2840,3305,3476,3141,2476,2473,2770,2574,2443,2673,2974,3073,2588,2270,2462,2790,3071,2770,2124,2008,2347,2327,1963,2214,1956,2341,2714,2873,3097,3291,3558,3464,3149,2854,2522,2221,1938,1998,2592,2887,2441,2689,2517,2219,2488,2646,3265,3662,3063,2878,2699,2812,2897,2782,2968,2075,2612,3017,2758,2721,2728,2887,3032,2607,2635,2491,2438,2565,2923,3203,3051,3040,3248,3111,3038,3007,3068,3168,3128,3085,2887,2439,2217,2032,2448,2685,2249,2286,2584,2371,2334,2164,2020,2324,2474,2762,2786,3096,3584,3491,3156,2690,2047,1859,1864,2110,2403,3045,3510,3321,2712,2470,2566,2684,2765,3033,3119,3107,3229,3107,3327,3814,4182,4276,4364,4276,4253,3862,3581,3350,3111,3124,3448,3205,2989,2360,2714,2885,2690,2379,2120,1998,1938,2126,2150,2122,2354,2811,3531,2956,2256,2186,2105,1815,1665,1864,1846,1620,1651,1993,2010,1662,1715,1605,1586,1487,1578,1833,1852,2370,2643,2339,2240,1974,1699,1590,1867,1796,1902,2277,1950,1713,1697,1792,1947,1776,1629,1631,1823,1897,1966,1966,2114,2248,2054,1963,2021,1980,1989,2303,2958,3132,3033,2796,2520,2193,1860,1729,1808,1785,2056,1937,1678,1556,1518,1512,1494,1569,1565,2011,2284,2595,2437,2378,2373,2254,2777,3542,3361,2893,3377,3055,2996,2918,2590,2220,2063,1947,1886,1763,2196,2698,2568,2718,3121,2741,2306,2309,2712,2768,2644,1712,1542,1788,2037,2292,2519,2940,2423,1980,2145,2292,2154,2137,2517,2655,2121,2119,2208,2128,1656,1863,2561,1930,1956,1906,2203,3506,3818,3771,3375,2624,2495,1801,1794,2198,2137,2091,2182,2097,2789,2079,2236,2008,1952,2299,1773,1934,2462,2198,2354,2229,1703,2166,3520,3951,3995,4036,3371,2496,1917,1975,2104,2003,2158,1882,1514,1301,1554,2610,3533,3489,3138,2561,2286,2691,2898,2373,1903,1841,1989,1947,1580,2270,2940,2493,2224,1970,1699,2495,3304,2983,2613,2293,2487,2354,2126,2055,1985,1956,1752,2110,2382,2254,2340,2463,2425,2399,2220,2029,1824,1659,1729,1746,1716,1724,1725,1656,1656,1716,1812,2070,2087,1954,1947,1929,1784,1857,1998,1771,1721,1854,1929,2079,2327,2291,2172,1996,2020,2089,1975,1874,2003,2121,2099,2045,2002,1903,1968,2007,2004,2142,2218,1941,1761,1760,2053,2273,2244,2220,2316,2425,2345,2243,2298,2226,2008,1862,1994,2210,1936,1431,1066,1478,1592,1236,1768,2166,2339,2280,1908,1999,2222,2508,2516,2221,2051,1907,1713,1769,1692,1597,1617,1868,1936,1990,1844,1527,1570,1786,1719,1814,1986,2013,1868,1126,1485,1832,2106,2230,2326,2199,2059,2112,2294,1976,1778,1901,2431,2902,2419,1587,1584,1639,1805,1791,2157,2432,2083,1780,1905,1841,1836,2026,1805,1935,2060,1870,1707,1951,1992,1895,1716,1389,1370,1715,1670,1561,1551,1472,1595,1157,1158,1556,1687,1669,1750,1727,1752,1707,1601,1595,1572,2010,1885,1599,1818,2071,1947,1846,1712,1498,2061,3399,3414,2613,1929,2088,2066,1668,1900,1914,2141,2819,3081,2490,1710,1749,2168,2183,2019,2149,2206,2010,1930,2001,2071,2265,2752,2612,2063,2017,1998,2107,2410,2339,2286,2581,2587,2708,2928,3347,3255,2719,2576,2851,2688,1958,1932,2565,2311,1936,1245,686,1776,2954,2745,1925,1655,1977,2180,1934,1630,1389,1403,1457,1720,2053,2010,2152,2448,2416,2180,1825,1746,2269,2544,2081,2179,2179,1712,1637,1890,2114,1794,1941,2985,3487,3156,2811,2487,2288,2235,2222,2214,2367,2872,3210,2899,1921,1549,1753,1474,1351,1942,2371,2326,2278,2613,2636,2433,2337,2529,2285,1860,1897,1974,1995,2464,2383,2354,2109,2071,2685,2899,2655,1961,1307,1581,1909,2127,2964,2515,2098,2501,2303,2524,2623,2828,2316,1742,1458,1878,2955,3248,2404,1919,2429,2545,2288,2621,2294,2380,2072,1870,2245,2156,2133,2073,1986,1951,1788,1504,1763,2157,2352,2130,1946,2148,2405,2396,2156,2374,2372,1864,1641,1605,1895,2408,2655,2418,2546,2614,2338,2737,2770,2535,2720,2791,2813,2458,2408,1948,1968,2349,2150,2543,2548,2187,2654,2922,2666,2406,2862,3085,2973,3030,2363,2302,2600,2559,2287,2430,2308,1864,1848,1658,1763,1738,1738,1610,1256,1874,1814,1898,2136,1870,1565,1476,1193,1500,2117,1920,2260,2902,2399,2019,1613,1628,1848,1872,1951,2170,2241,2468,2504,2712,2862,2446,2236,1874,1721,1844,2123,2148,1813,1838,1957,2160,2125,2329,3033,2340,1971,1218,980,1252,1445,1218,1164,1731,2348,2369,1665,1918,2348,2522,2566,2900,2585,2348,2796,2543,2389,2584,2226,2020,2146,2423,1830,1558,1799,1980,1476,1483,1426,1473,1948,1870,1790,1825,2746,3441,3130,1988,1734,1673,1577,1682,1930,2010,1610,1328,1402,1717,1672,1556,1476,1767,2154,2066,3131,3495,2410,2331,1914,1841,2281,1716,1626,1801,2086,2482,1753,1199,1072,1338,1937,2164,2490,2852,2846,2285,1332,1860,2020,2105,2036,1637,1646,1632,1713,1866,1898,2094,2155,2063,1845,1202,1398,1992,2150,2149,2114,2420,2246,2047,2013,1938,2081,2577,3183,2818,2399,2198,1919,2832,2400,1953,1745,1499,1651,1582,1700,1950,1567,1855,1542,1887,2067,2482,3124,2895,2370,2270,2369,2460,2504,2540,2429,2598,2818,2714,2759,2766,2623,3075,3182,2846,3043,3606,3616,3485,3244,3087,3174,2884,2365,2916,3450,3216,3239,3499,3540,3160,3320,2828,1881,2369,2453,1994,1792,1543,1866,2488,3040,2835,2533,2845,2986,2941,2725,2207,2502,2279,1856,1652,1339,2013,2785,2744,2230,1871,2188,1946,1797,1857,1654,1580,1699,1737,1600,1696,1729,1638,1576,1412,1419,1592,1437,1430,1405,1536,1383,1475,1570,1389,1534,1621,1377,1516,1615,1404,1392,1490,1407,1730,1932,1796,1631,1812,1893,1776,1668,1652,1841,1878,2141,2024,1767,1694,2099,2074,1658,1401,1495,1687,1790,1699,1525,1337,1517,1669,1778,1835,2380,2408,2074,1687,1477,1448,1636,1517,1377,1372,1419,1510,1540,1489,1413,1414,1435,1645,1748,1677,1777,1644,1546,1607,1534,1528,1605,1499,1420,1303,1676,2204,2168,2337,2532,2258,1759,1388,1502,1666,1553,2074,2143,2087,3152,3828,3911,4236,4200,2916,2412,3130,3755,3406,3118,2907,2562,2313,2589,2576,2460,2672,2766,2244,1991,2534,2776,2590,2460,2673,2281,1734,1745,1535,2119,3021,2751,2470,2554,2438,1925,1623,1729,2199,2214,2326,3305,3659,3141,2432,2097,2050,2051,2305,2392,2250,2103,3020,3675,3870,3999,4299,4320,4143,4105,3797,3702,3693,2687,1953,2053,2168,2652,2314,1894,2130,2601,2540,2108,2108,2260,2101,1907,2455,2643,2475,2238,2024,1847,1730,1700,1771,1870,2030,1859,2241,2941,2986,2775,2210,1737,1565,2213,2187,1725,1560,1474,1382,1523,1460,1528,1658,1622,2222,3220,2586,3159,3794,3981,4003,3474,3094,3340,2822,2436,3124,3672,3620,3377,3038,2698,2295,2090,1844,2250,2676,2016,1894,2460,2717,2363,2224,2874,2553,1879,1636,1701,1646,1754,2292,2116,1780,1598,1861,1982,2101,2079,2062,1754,1642,1898,2008,1831,1725,1878,1794,1907,1991,2338,2199,2278,2624,2523,1957,2081,2764,2630,2050,1930,2264,2163,2220,2256,2090,1944,1896,1669,1524,1872,2285,2292,2503,2823,2922,2364,2035,2342,2048,1913,2340,1930,1692,1648,1764,1974,2236,1873,1951,1939,2630,2562,2273,2294,1892,1731,2031,1915,1673,1869,1860,1779,1920,1976,2102,2181,2856,2989,2388,2084,1736,1698,1891,1669,1662,2128,2542,1907,1758,1665,1635,1686,1654,2200,3131,3673,3493,3453,3511,3356,2554,2173,1997,2131,2798,2452,2049,2531,2754,2502,2647,2979,3522,3521,3784,3408,2525,2699,2745,2526,2172,2388,2427,1768,1710,1513,1566,1571,1649,1992,1883,1670,1642,1526,1614,1721,1778,1981,1993,1791,1730,1654,1581,1663,1690,1965,2357,2261,2078,1939,1892,1929,1981,1708,1565,1398,1754,2649,2767,2260,1908,1759,1545,1421,1683,2104,2570,2320,2013,1754,1860,1950,2123,2149,1737,1728,1892,1726,1609,1585,1469,1521,1753,2037,1769,1509,1732,1698,1478,1700,2063,2102,2071,2555,2935,2851,2360,2330,2215,1853,1776,1803,1619,1559,2057,2709,2780,2604,2219,2259,2371,1831,1785,1503,1546,1772,1918,1749,1516,1467,1583,1720,2020,2108,1750,1526,1608,1704,1636,1494,1652,1950,1865,2104,2733,2792,2419,1943,2189,2217,1594,2026,2247,2428,2486,2291,1976,1778,1709,1600,1718,2009,2051,1785,1642,1514,1630,1900,1641,1541,1841,2381,2553,2770,3377,3151,3327,3133,2542,2009,2170,2459,2296,2049,1673,1698,1870,1546,1559,2094,2238,1937,1820,1965,1982,1888,2828,3028,2083,1907,1964,1949,2002,1638,1544,1525,1533,1679,1686,2123,2442,2297,2690,2490,2199,2222,1998,2027,1749,1663,1950,2329,2576,2665,2753,2887,2872,2761,2940,2951,3044,2836,2742,2798,2409,1962,1669,1707,2273,2171,1918,1673,1585,1606,1696,1812,1699,1697,1803,1366,1724,2200,2308,2513,2922,3194,2847,2258,2192,1959,1776,1742,2076,2636,2436,2399,2264],[3341,3636,4059,4489,4488,4223,3969,3913,3760,3776,3764,3763,3817,3928,4094,3950,3779,3461,3205,3514,3496,3203,3199,3181,3356,3252,3484,3633,3868,3840,3974,4086,3941,3814,3593,3248,3075,3338,3331,3272,3359,3320,3200,3309,3374,3366,3232,2839,3021,3286,3335,3626,3624,3222,2370,2061,2484,2958,3210,3102,2962,2533,2669,3635,3658,2601,2740,2710,2374,2097,1837,1704,2206,2352,1963,1964,1829,2069,3175,3032,3355,3366,2987,2523,2152,2517,3100,2832,2443,2297,1951,2081,2525,2756,2897,2288,2739,2857,2432,2766,3422,3240,2955,2854,2454,2312,2394,3282,3095,2479,2249,2158,2355,2483,2097,1922,2438,2613,2484,2503,2708,2965,3303,4189,4332,3977,3024,2525,2713,2806,2938,3383,3518,3284,2593,2554,2844,2176,1740,2340,3128,3311,2750,2287,2357,2516,2332,2313,2379,2601,2622,2350,2467,2471,2332,2958,3112,2711,2555,2899,2926,2590,2344,2457,2093,2016,1875,2034,2916,3028,2541,2702,2745,2784,2981,2781,2998,3708,3278,2915,2667,2811,2876,2901,2503,2402,3251,3407,3186,2473,2469,2752,2761,2612,2599,2482,2358,2901,3117,2809,2637,2665,2897,2630,2580,2622,2922,3046,2872,3035,2701,2471,2172,2101,2766,2853,2352,2342,2791,2793,2701,2158,2260,2745,2495,2989,3256,2997,3112,3263,3303,2731,1704,1612,1550,2099,2526,3068,3355,3319,2711,2709,2966,2608,2478,2411,2291,2423,2469,2381,2652,3632,4167,3528,3560,3935,3993,3872,3640,3521,3315,3407,3182,2999,2994,2563,2429,2750,2831,2463,2407,2296,2120,2310,2188,2031,2294,2271,2593,2114,1833,2134,2295,2221,1810,1703,1631,1547,1645,1928,1697,1547,1584,1606,1674,1538,1606,1844,2000,2269,2169,2188,2128,1724,1593,1641,1834,1779,1932,1956,1865,1873,1802,1848,1904,1493,1044,1449,2143,2109,2092,2074,1810,1904,2100,2659,2714,2247,2149,1859,2497,2735,2684,2610,2147,1781,1737,1920,1760,1666,1932,1852,1820,1677,1577,1743,1594,1731,1629,1728,1982,2158,2031,2322,2048,1562,2166,2766,2573,2010,2938,3009,3259,2212,1959,2260,2093,1856,2011,2277,2414,2292,2687,3106,3450,3327,2726,2158,2200,2729,2843,2062,1577,1782,2291,2078,2043,2449,2473,2208,1945,2010,1941,2164,2707,2468,2041,1771,1824,2310,1764,1914,2468,1831,1838,1885,2404,3812,3723,3843,3113,2276,2757,1985,1985,2430,2135,2019,2157,2032,2382,2023,2078,1968,1899,1989,1782,2153,2192,1854,2255,2226,1564,2114,3022,3385,3790,3969,3616,2800,1951,2246,2490,2403,2284,2233,1799,1238,1564,3100,3132,2629,2866,2913,2600,2939,2845,1868,1809,1924,1606,1734,1860,2176,2236,1869,1754,1736,1635,2255,3322,3233,2784,2726,3117,2962,2795,2614,2343,2228,2210,2018,1815,2084,2192,2170,2081,2045,2017,1930,2001,2038,2058,1946,1854,1815,1729,1650,1707,1760,1769,1759,1644,1694,1743,1520,1362,1582,1677,1692,1867,1863,1757,1771,1636,1587,1770,1662,1474,1742,1920,2177,2316,2566,3131,3421,2889,2158,2747,3304,3420,3253,2755,2023,1773,1930,2566,2891,2732,2809,3084,3133,2725,2452,2589,2510,2098,1973,2239,2996,2291,903,1074,2033,2340,1839,2142,2729,3322,3367,3007,2828,2808,2897,2945,2389,1974,1725,1387,1653,1661,1634,1810,1942,2075,2038,2023,1594,1477,1859,1830,1785,2061,1796,1982,1955,2152,2180,2045,2170,2483,2598,2310,1927,1751,1814,1959,1934,2510,2519,2149,1643,1684,1677,1735,2129,2157,1883,1968,1833,1726,1859,1910,1870,1765,2019,1935,1394,1323,1676,1806,1995,2026,1808,2056,2133,1725,1804,1573,1847,1838,1103,966,1430,1517,1681,1953,1853,1731,1661,2067,1792,1621,3013,3237,2492,2255,2128,2064,1831,1623,1679,2360,3120,3329,3042,2767,2539,2168,1971,2055,1885,1941,2402,2586,2241,1981,1783,2087,2146,1830,2112,2076,1971,2085,1932,2123,2453,2785,2815,2320,2414,2664,2745,2645,2726,2928,2869,2499,2231,2457,2863,2760,2270,2061,1982,1715,1638,2263,2527,1626,1985,1510,765,1177,1689,1848,2294,2774,2467,1609,1249,1197,1440,1457,1466,1676,1865,1823,2060,2225,1837,1721,2024,2149,2557,2626,2110,2225,1988,1782,1934,1914,2136,2087,1955,2810,3499,3248,2855,2447,2291,2253,2381,2675,3197,3339,3045,2509,2079,1867,1819,1766,1829,2336,2690,2552,2302,2481,2535,2374,2257,2243,2438,1812,1597,1766,1688,2058,2214,1776,1396,1914,2775,3060,2545,1937,1264,1648,1979,2070,3030,3067,2908,2984,2520,2491,2729,2788,2458,2123,2347,2341,2555,2730,2012,2188,2417,2294,2404,2453,2248,2338,2592,2900,2692,2448,2545,2315,1743,1969,2169,2348,2690,2885,2630,2186,2291,2510,2089,1907,1919,1730,1519,1822,1807,1541,1748,1769,2170,2144,1788,1925,2305,2306,2043,1952,2383,2578,2569,2236,2177,2133,2117,2052,1888,2167,2478,2686,2728,2811,2548,2431,2540,2930,2864,2228,2294,2555,2351,2451,2713,2390,2157,2114,1836,1780,1438,1344,1658,1866,1860,1860,1942,1827,1463,1431,1431,1753,1427,1775,2237,2142,2492,3037,2497,1806,1718,1823,2346,2410,2017,1999,2156,2417,2255,2063,1907,2001,2098,1954,2078,1831,1626,1748,1863,2311,2337,2097,2245,2321,2849,2564,2127,1736,1451,1301,1378,1323,1384,1671,2125,1996,1747,2199,2467,2430,2431,2360,2041,2308,2624,2562,2519,2098,1992,1785,1752,1976,1649,1578,1810,1351,864,970,1120,1632,2013,1903,1613,1636,2349,3106,2209,1909,1832,1590,1731,1696,1694,1777,1561,1346,1526,1834,1633,1847,1970,1669,1566,1716,2093,2041,2062,2134,1596,1785,2133,1513,1467,1571,2142,2025,1454,1262,1274,1511,1969,2192,2408,2834,2830,1977,1503,2398,2440,2632,1991,1577,1607,1428,1522,1712,1771,1856,2065,2060,1950,1749,1874,2211,2162,2083,2111,2160,2197,2269,2247,2075,2145,2537,3283,2698,2286,2092,2035,2777,2307,1683,1725,1463,1591,1683,1848,1550,1048,1527,1561,2027,2209,2509,2751,2514,3077,3548,3396,3149,3163,3238,2985,2941,2833,2854,2873,2709,2695,3057,3044,2777,2831,3204,3045,3045,3189,3375,3272,2248,2093,2782,2840,2674,2544,2728,2997,2817,3187,2954,2297,2309,1979,2076,2210,1985,1925,2178,2744,2591,2551,2868,2989,2946,2797,2327,2410,2174,1710,1405,1256,1887,2831,2863,2636,2093,2281,2083,1886,1925,1895,1732,1788,1782,1525,1361,1415,1562,1605,1506,1507,1586,1456,1317,1371,1527,1593,1922,2016,1666,1620,1409,1354,1676,1626,1466,1424,1528,1643,1770,1661,1636,1566,1553,1485,1586,1424,1607,1961,1682,1736,1917,1921,1974,1910,1643,1412,1512,1698,1787,2012,1788,1666,1512,1400,1516,1636,1781,2054,1985,1665,1505,1401,1466,1624,1476,1419,1309,1478,1495,1528,1466,1444,1467,1465,1558,1613,1671,1888,1579,1605,1517,1314,1331,1506,1627,1467,1261,1631,2100,2135,2594,2653,2313,1975,1700,1716,1612,1657,2036,2193,2234,2797,3497,3807,4460,4588,3814,3347,3610,4156,3920,3834,3587,2722,2314,2503,2655,2687,2945,2791,2369,2305,2876,2986,2475,2598,3204,2985,2053,1357,1593,2063,2523,2331,2322,2394,2619,1971,1854,1978,2165,2331,2031,2082,2459,2166,1958,2050,2047,2012,2224,2403,2836,2850,3632,4039,3912,3882,3964,3937,3811,3543,3458,3798,3542,2501,2143,2142,2110,2031,1910,2186,2282,2283,2142,1771,1806,1667,1920,2410,3017,2671,2439,2461,2316,2212,2160,1892,1776,1457,1661,1639,1658,1937,2182,2232,2032,1889,2049,2496,2166,1521,1477,1555,1528,1732,1968,2286,2144,1869,1922,2252,2095,2374,3372,4196,4327,3732,2857,3326,3123,2944,3343,3518,3394,2758,2103,2191,2266,2207,2314,2318,1892,2164,2701,3047,2963,2570,2319,2352,1991,1647,1662,1704,1826,1794,1888,1748,1824,1725,2320,2192,1951,2085,1989,1850,1921,1900,1908,1729,1676,2076,2303,2947,2746,2197,2369,2455,2331,2256,1959,1581,2189,2210,1732,1895,2164,1682,1836,2133,2007,1949,2117,1904,1613,1867,2130,2387,2723,2744,2314,2171,2256,2490,2236,2076,1909,1801,1785,1443,1677,1891,2256,2045,1977,1947,2527,2429,2148,2216,1868,1908,2262,1944,1815,2032,1955,1829,2021,1883,1814,1919,2243,2447,2290,2127,1749,1966,2047,1569,2354,3117,2723,1977,1941,1901,1568,1627,1681,2019,2274,3168,3217,3210,3406,3414,2793,2256,1861,2144,2590,2231,2192,2618,2518,2308,2492,2566,3175,3745,3880,3215,2719,2786,2784,2338,1991,1707,1766,1932,1667,1369,1388,1372,1642,1965,1866,1705,1621,1608,1687,1527,1666,1799,1961,1766,1559,1972,1941,1784,1982,2277,2208,2244,2167,1767,1951,2146,2023,1402,1316,1656,2046,2065,2164,2411,2425,2161,1747,1758,1995,2246,2402,2022,2015,2501,2546,2128,2117,2199,2075,1945,1813,1805,1566,1664,1792,1859,1770,1722,1584,1757,1820,1533,1402,1779,2336,2840,2827,3371,3082,3074,2825,2810,2483,2146,2008,1828,1820,2061,2104,2271,2122,2192,2180,2374,2229,1687,1534,1460,1538,1650,1713,1684,1718,1732,1880,2047,2058,1813,1767,1807,1924,1885,1675,2003,2374,1997,1898,2050,2190,2027,2119,2049,1880,1769,1531,2701,2879,2402,2454,2509,2217,2094,1673,1520,1799,2009,1710,1418,1457,1520,1596,1548,1480,1663,1766,1847,2081,2533,2374,2102,2763,3121,2686,2112,1914,2193,2653,2309,1544,1735,1806,1774,1650,1542,1544,1549,1505,1840,1900,1841,2139,1996,1782,1743,1551,1743,1946,1860,1744,1560,1596,1627,1641,1991,1964,1741,1997,2444,2917,2257,1998,2113,1847,1789,2205,2700,2923,3098,3067,2713,1913,1473,1545,1942,2417,2386,2192,1930,1919,2150,2024,1714,1828,2021,2190,1724,1516,1587,1932,2228,2026,1956,1991,1824,1951,1940,2075,2397,2374,2382,2592,2557,2663,1748,1444,1682,1843,2592,2924,2670,2518],[3681,3641,4012,4557,4588,4383,4204,4156,4063,4007,3855,3741,3683,3738,3864,3875,3830,3703,3764,3860,3736,3475,3572,3518,3292,3218,3165,3407,3892,3881,4000,4072,3891,3386,3536,3537,3448,3526,3565,3542,3466,3399,3261,3248,3282,3134,2840,2563,2762,2829,3464,4132,4196,3219,2144,2350,2550,2643,3012,3331,3259,2197,2356,3522,3709,2874,2584,2407,2336,2343,2198,2057,2238,2365,2172,2094,1776,1682,2659,3043,3452,3480,3648,3416,2877,3156,3709,3293,3100,2697,2084,2071,2319,2489,2498,2225,3011,3448,2681,3028,3681,3316,2844,2288,1842,2292,2728,3261,2566,2103,2629,2720,2348,2227,2048,2113,2425,2356,2554,2532,2602,2890,3168,4026,4287,3733,3638,3757,3311,2595,2588,2654,2393,2156,2221,2619,3204,2692,2172,2315,2692,3044,2930,2202,2564,2454,1937,2410,2622,2729,2480,2375,2564,2353,2498,2978,3159,2878,2723,2484,2504,2050,1766,2056,1882,2045,2503,2654,2604,2121,2115,2762,2655,2372,2806,2877,2752,3602,3334,3049,2945,2787,2633,2264,1859,2474,3373,3006,2857,2346,2654,2360,2292,2624,2656,2577,2784,3117,2811,2585,2766,2791,3046,2966,2670,2552,2818,3019,2930,2809,2543,2491,2290,2301,2584,2605,2338,2464,2949,2711,2692,2863,3087,3483,3353,3320,3107,2539,2454,2912,3476,3111,2277,2037,1770,1947,2386,2964,3326,3030,2400,2698,2876,2247,2761,2762,2060,1917,2195,2579,2449,3230,4111,3815,3559,3842,3817,3595,3703,3758,3850,3470,3067,3040,2746,2680,2858,2906,2691,2510,2375,1913,2070,2099,2054,2254,2103,2027,2108,1859,1982,2302,2639,2518,2215,2073,1478,1515,1465,1527,1873,1687,1854,1996,1686,1594,1803,1581,1562,1926,1847,1870,1717,1559,1823,2214,2136,1899,1802,2088,2470,2065,1901,1896,1742,1512,1114,1700,2483,2500,2311,2132,2155,2111,2011,2348,2436,2284,2276,1888,2564,2272,2854,3418,2511,1683,1830,2533,2372,1724,1681,1561,1904,2279,2298,1951,1570,1571,1488,1493,1607,1552,1548,1992,1990,1591,1637,2243,2244,2098,2696,3329,3659,2662,2378,2597,2214,1890,2004,2395,2668,2763,3196,3552,3485,3404,2923,2420,2214,2310,2142,1794,1703,2065,2812,2626,2284,1838,2534,2852,2044,1588,1765,2231,2404,2271,2235,1895,1894,2009,1850,1741,1732,1829,2518,2521,2776,3261,3286,3580,2501,1917,2140,2188,2172,2242,2009,1885,1982,2054,2320,2075,1735,2187,2396,2483,1847,1804,1652,1769,2308,2341,1643,2256,2910,2844,3355,3282,2874,2335,2222,2090,2705,2743,2548,2020,1496,1334,1974,2788,2849,2832,2754,2799,2756,3028,2365,1729,1652,1493,1175,1665,2117,1913,1594,1686,2257,2072,2239,2409,3100,3205,3208,3047,3034,3030,2592,2254,2320,2373,2577,2068,1918,2289,2754,3157,2632,2360,2378,2769,2776,2431,2206,2052,2040,1983,1892,1805,1785,1565,1677,1611,1373,1409,1500,1263,1512,1938,1605,1712,1809,1647,1665,1677,1426,1417,1166,933,977,1287,1726,1968,2053,2287,2764,3377,2995,2436,3414,3638,3208,2988,2635,1993,1766,2217,2908,2889,2717,2761,2819,2968,2788,2177,2354,2465,2112,2022,2198,2976,2779,1365,1108,2123,2352,2058,2014,2448,2722,2600,2720,2808,2533,2142,2076,2133,2365,1941,1598,1890,1986,1703,1506,1831,1998,1892,1680,1655,1826,1886,2138,1903,2092,1813,1986,2067,1860,1897,2194,2653,2872,2661,2283,1681,1406,2161,2666,2059,2177,2025,1958,1853,1742,1621,1753,2370,2342,1688,1675,1661,1549,1852,1874,1681,1971,2192,1945,1591,1667,1864,1940,2030,1968,2065,2623,2662,1908,1763,1606,1689,1724,1548,1662,1930,2088,2645,2930,2008,1708,1826,1824,1366,1250,2212,3090,3392,2916,2265,2042,1729,1632,1825,2002,2274,2661,2957,2801,2629,2338,2047,1902,1904,2009,2310,2496,2640,2157,1875,1874,2144,2010,2293,2277,2236,2314,2141,2059,2246,2762,2646,3160,3850,3793,3697,3962,3953,3212,2718,2491,2281,2568,2585,3350,3597,2386,2328,2051,1797,1930,1648,1306,1549,1711,1769,2226,2828,3044,3054,3260,3053,1951,1582,1876,2175,2337,2502,2545,2329,2048,2082,1906,2269,2250,2253,2095,2351,2294,2311,2845,2709,2134,1907,2166,2355,2216,1870,2368,3407,3182,2993,2647,2446,2742,3208,3499,3242,2890,2623,2193,1935,1930,1931,2187,2474,2608,2642,2524,2056,2119,2373,2140,1829,2386,2619,1926,1626,1708,1470,1415,1724,1872,2355,2640,2927,2688,2355,1800,1365,1644,2209,2254,2441,2646,2969,3142,2867,2677,2752,3029,2963,3238,3684,2635,2363,2495,2113,2286,2327,2196,2160,2087,2343,2490,2750,2806,2537,2264,1868,1355,1333,2100,2535,2700,2858,2575,2092,1921,2014,2273,2187,1736,1709,1824,1835,2241,2573,2419,2332,2184,2470,2844,2750,2502,2214,1775,1612,2010,2277,2396,2766,2910,2409,2061,2097,2468,2174,2000,2314,2399,2055,2244,2303,2157,2009,2178,2099,2003,2214,2180,2297,2535,2489,2030,2118,2161,1697,1526,1454,1996,2662,2873,2675,2378,2333,1807,1438,1543,1887,1823,1683,2184,2588,3047,2857,2971,2608,1856,2101,2081,2474,2337,1848,1820,1881,1716,1826,1722,1761,2175,2144,2025,2051,1803,1638,1582,1917,2137,1943,2186,2555,2954,3510,2966,2104,1624,1412,1458,1571,1317,1472,1663,2150,1868,1832,2036,2365,2492,2475,2348,2153,2198,2508,2558,2219,1765,2017,2013,1813,1740,1831,1999,1608,1242,1384,1781,2109,2166,2165,1732,1570,2178,2630,2304,1819,1808,1555,1598,1730,1648,1497,1582,1520,1486,1682,1704,1771,1958,2230,1990,1837,1765,1608,1911,2381,1916,1593,1583,1651,1585,1593,1711,1815,1515,1221,1208,1365,1814,2534,2372,2193,2715,2502,1373,1534,2161,2053,1964,1684,1516,1562,1431,1503,1739,1769,2138,2119,2151,2041,2240,2392,2324,2083,1969,2028,2160,2237,2346,2395,2343,2121,2026,2585,2414,1904,1657,2055,2622,2107,1899,1822,1821,2080,1999,2184,1284,1549,2489,2046,2024,2258,2086,2144,2808,3769,4132,3886,3624,3648,3710,3212,3018,2778,2406,2508,2592,2735,2964,2767,2912,2984,3156,2837,2375,2414,3053,2866,2150,2344,2634,2688,2254,2209,2567,2626,2615,2666,2825,2696,2398,1964,2132,2202,1753,2038,2239,3030,2476,2306,2722,2886,2909,2666,2394,2475,2266,1832,1695,1481,1882,2798,2934,2845,2202,2062,2215,1979,2271,2414,1898,1910,1743,1712,1720,1584,1891,1603,1412,1454,1415,1453,1553,1561,1496,1756,2309,2308,1909,1825,1412,1384,1461,1665,1535,1431,1582,1686,1638,1813,1924,1561,1565,2094,2350,1786,1730,1734,1462,1393,1612,2249,2566,2000,1638,1572,1920,1989,1975,1739,1583,1522,1552,1608,1793,1916,1941,1971,1894,1490,1384,1395,1372,1296,1343,1347,1338,1374,1392,1397,1432,1497,1572,1715,1582,1249,1401,1475,1238,1415,1448,1522,1550,1627,1542,1427,1406,1693,2386,2183,2314,2232,2128,2015,1934,2151,1880,1673,1928,2260,2402,2619,3181,3938,4579,4739,4852,4247,4300,4464,3896,4034,3713,2600,2491,3123,3405,3487,3704,3519,3496,2889,2940,3088,2830,2945,3332,3616,3039,2079,2289,2095,2414,2714,2809,2700,2898,2330,2510,2475,2162,2462,2480,2172,2554,2425,2500,2347,2132,2219,2317,2307,3056,3692,3980,4239,4239,4220,4011,4111,4070,3795,3973,4299,3814,2538,1903,1937,2207,2291,2420,2312,2033,1883,2298,2060,1798,1641,1840,2603,2644,2493,2363,2135,2162,2066,1936,1641,1689,1551,1688,1826,1478,1461,1764,2084,2126,1531,1603,1898,1747,1480,1714,1518,1446,2012,2530,2966,2624,2034,1643,1456,1448,1630,2524,3742,4270,4041,3146,3211,3293,3286,3421,3291,2989,2320,1615,1837,1884,2122,2433,2107,1514,1787,2484,2448,2082,2047,2046,1715,1490,1513,1571,1832,1991,1852,1553,1677,2109,1935,1956,2083,1985,2132,2211,2249,2267,1850,1759,1764,1537,2088,2527,3122,2796,2230,2432,2305,2104,2303,2440,2172,2282,2599,2236,2580,2580,2245,2116,1985,2003,1879,2336,1870,1888,2168,2372,2350,2693,2599,2268,2736,3083,2898,2680,2365,1970,2046,1802,1614,1860,2061,2010,2088,2150,1998,2136,2204,2371,2876,2169,1835,1882,1781,2121,2272,2190,2043,2107,1716,1516,1650,1636,2010,2116,2010,1838,2063,2116,1870,2123,2343,2232,1945,2146,2209,1915,1910,1836,2262,2069,2191,2636,2907,2990,2865,2922,2774,2196,1866,2220,2229,2427,2663,2917,2861,2807,3222,3689,4004,3650,2861,2439,2419,2351,1885,2052,1662,1569,1669,1662,1468,1372,1359,1457,1633,1547,1505,1466,1597,1766,1876,1651,1581,1875,1643,1617,2010,1996,1885,2126,2056,2026,2329,2223,1981,2137,2460,2521,1858,1530,1821,1830,1873,2336,2479,2491,2198,2202,2251,2392,2439,2108,1754,2172,2626,2242,1888,2036,2286,2430,2119,1810,1665,1562,1685,1958,2375,2424,2397,2384,2055,2107,2002,2152,2765,2857,3121,3248,3439,2924,2663,2489,2381,2666,2732,2307,1953,2023,2200,1851,1900,1934,1681,1533,1796,1797,1816,1713,1591,1564,1502,1830,2312,2170,2122,2223,2270,2231,2243,2206,2082,1960,1875,1942,2515,2872,2237,1816,1852,1870,2060,2056,2084,1930,1667,1658,2339,2756,2668,2789,2921,2584,2205,1824,1664,1754,1726,1469,1395,1520,1574,1674,1735,1659,1787,1573,1676,2480,2534,2162,2187,2325,2958,2942,2229,2137,2293,2570,2286,1682,1741,1763,1968,1954,1810,1715,1681,1813,1859,1606,1547,1793,1746,1856,1787,1652,1675,1887,1888,1730,1449,1417,1694,2005,1894,2123,1970,1854,2338,2576,2084,1836,2227,1999,1801,2327,2872,2801,2756,2301,2020,1640,1600,1578,2063,2051,1981,1936,2289,2768,2808,2510,1854,2362,2317,2236,1847,1500,1621,1785,2158,2129,1697,1722,2150,2446,2423,2745,2761,2406,1879,2668,3030,2802,1829,1623,2062,2292,2718,2977,2885,2852],[4285,3654,3863,4509,4616,4463,4389,4241,4215,4093,3894,3771,3763,3785,3860,4027,4136,3879,3974,3780,3651,3397,3514,3399,3342,3505,3264,3394,3992,4071,3969,3945,4087,3971,3585,3538,3489,3444,3543,3551,3496,3188,2998,2931,2987,3052,2792,2680,2686,2412,2849,3709,4236,3609,2618,2435,2471,2358,2715,3404,3766,3117,2923,3105,3603,3141,2483,2550,2556,2485,2222,1887,1804,2301,2395,2196,1771,1597,2301,2858,2893,3118,3463,3392,3374,3554,3445,2880,2599,2432,2509,2524,2436,2561,2876,2771,3012,3409,3200,3647,3606,3209,2068,1698,1525,1874,2149,2284,2502,2585,2930,3065,2639,2097,2143,2507,2648,2894,2981,2554,2391,2388,2753,3671,4162,4182,4364,4320,3736,2799,2815,2203,1774,1895,2188,2386,2999,2712,2105,2326,2170,1996,2490,2452,2591,2032,2419,2832,2875,2806,2330,2106,2246,2461,2831,2741,2654,2566,2590,2369,2360,2161,1974,1845,2051,2762,2814,2547,2666,1980,1891,2843,2435,2019,2189,2455,2739,3138,2940,2851,3162,3187,2475,1643,1958,2709,3145,3142,3124,2719,2951,2408,2564,2829,2726,2713,2361,1943,2474,3075,3426,2966,2814,3008,3156,3078,2750,2598,2637,2563,2636,2581,2545,2609,2763,3082,2312,2234,2747,2508,2733,3062,3256,3650,3339,3067,2825,2518,2495,2682,2957,2923,2532,2193,2117,2355,2368,2707,3421,3161,2308,2541,2454,1920,2622,2786,1975,1737,2046,2181,2290,2917,3785,3934,3344,3396,3537,3751,3670,3750,3782,3064,2787,2645,2565,2819,2877,2759,2670,2390,2071,1739,1811,1972,2198,2199,1881,2014,2266,2209,2251,2604,2701,2198,2395,2610,1659,1573,1823,2009,1886,1553,1827,2151,1778,1729,2110,1478,969,1184,1617,1664,1577,1507,2057,2588,2658,2593,2246,2292,2990,2345,1868,1954,1788,1925,2066,2051,1854,2373,2785,2835,2791,2272,2128,2389,2418,2292,2326,1949,2173,2049,3199,3864,2692,1493,1856,2646,2448,1598,1541,1551,2019,2610,2701,1991,1726,1684,1406,1305,1614,1579,1436,1632,2017,1875,1764,2430,2600,2626,2565,2640,2511,2424,2799,2670,2219,1752,1846,2068,2222,2564,3212,3662,3695,3573,3585,3229,2410,2123,1800,1676,1896,2378,2608,2544,1936,1301,1857,2269,1939,1569,1665,1942,2107,1875,1547,1541,1690,1658,2307,2119,2056,2271,2048,1969,2292,2743,3072,2945,1926,1608,1505,1663,2152,1985,1852,1695,1797,2020,2203,2134,2256,2436,2503,2505,1997,1806,1681,1786,2381,2273,1730,2549,3340,3319,3153,2481,2630,2437,2354,2348,2831,2600,1887,1595,1446,1495,2327,2750,2762,3000,2732,2495,2655,2809,2521,2309,2383,2003,1547,1992,2219,1882,1724,1793,2001,2198,3119,2770,3009,3212,3018,2858,2786,2911,2665,1912,1856,1941,2447,2280,2458,2355,2522,2751,2852,2832,2819,2862,2722,2388,1930,2333,2154,2276,2234,1953,1675,1679,1883,1761,1561,1546,1582,1475,1971,2094,1554,1739,1599,1430,1614,1772,1547,1563,1460,1380,1524,1512,1582,1787,1908,1787,2013,2812,2634,2735,2828,2656,2709,2635,2455,2002,1770,2239,3282,2739,2562,2632,2553,2741,2840,2313,2164,2236,2016,1883,1773,1864,2071,1613,1092,1731,2184,2084,1766,1675,1734,1847,2025,2292,2552,2287,2113,2091,2364,1868,1793,2186,2488,2042,1801,1761,1700,1825,1992,2216,2036,1728,1819,1775,1831,2022,2111,2199,2239,2594,2774,2198,2080,2172,1994,1586,1664,2503,2601,2031,1678,1439,1941,2311,2293,1780,1693,1854,1770,1772,1920,1766,1843,1947,1891,1919,1932,1835,1910,2110,2220,2094,2500,2173,1919,1900,2375,2509,2010,1940,2025,1953,2144,2456,2530,2465,2608,3315,3616,3041,2487,1932,1731,1416,1364,1505,1936,2654,2639,2260,1833,1635,1861,2095,2146,2083,2218,2748,2920,2955,2632,2034,2014,2544,2615,2364,2188,2324,1938,1712,1756,2186,2332,2112,2137,2567,2436,2372,2383,2249,2521,2871,3886,4522,4301,4049,3896,3325,2633,2953,2742,1531,1775,2588,3196,3616,2473,2383,2093,1897,1826,1857,1905,2133,2591,2996,3383,3522,3719,3558,3528,3493,2428,1634,2109,2531,2797,3039,2990,2557,2077,1926,1570,2296,2401,2185,2220,2314,2150,2198,2661,2718,2374,2171,2514,2499,2263,1995,2286,3298,3454,3305,3051,3165,3396,3312,2609,1606,2151,2452,2344,1935,1823,2283,2684,2766,2666,2649,2474,2236,2332,2106,2058,1886,2439,1984,1955,2319,2101,1587,1841,2375,2656,2547,2745,3272,2676,2164,1914,1882,2292,2608,2521,2434,2387,2609,2947,2929,2842,2405,2863,3096,3084,3188,2252,1898,2072,2328,2554,2415,2405,2564,2450,2544,2276,2067,2111,2324,1910,1497,1898,2376,2396,2124,2397,2443,2097,1622,1619,1634,2251,2556,1509,1124,1250,1484,2241,2484,2313,2172,2010,2525,3583,3518,2822,2068,2061,1819,2231,3024,3129,3124,2788,2247,2322,1991,2498,2260,2176,2187,2475,2470,2441,2250,1844,1967,2156,1904,2037,2141,1865,1771,1745,2113,2086,2271,2119,1647,1799,2180,2596,2802,2643,2137,2016,1913,1805,1775,1795,1806,1866,1837,1655,2069,2630,3096,3387,2453,2139,2733,2024,2179,1896,1528,1703,1656,1660,1913,1920,2032,2246,2336,2430,2878,2509,1966,1850,2288,2027,1893,2382,2412,2618,2886,2420,2161,1926,1859,2231,1901,1899,2103,2160,2197,1918,1917,2336,2543,2104,2204,1999,1941,2069,2455,2667,2102,2270,2546,2294,2165,2181,2667,2857,2124,1885,2111,2353,2132,2245,2288,1672,1919,2754,2620,2024,1948,1614,1473,1579,1450,1289,1428,1562,1792,1759,1748,1702,1834,2110,2164,1879,2042,1826,2065,2182,2209,1633,1688,1691,1517,1697,2179,2232,1820,1301,1050,1212,1549,2271,2747,2383,2290,2934,2207,1109,1580,1979,1783,1741,1677,1631,1640,1621,1653,1783,1685,1911,1883,1685,1866,2195,2203,2037,1930,2046,2166,2114,2141,2107,2266,2361,1993,1681,2025,2112,1836,1724,1943,2566,2354,2499,1786,1953,2106,2597,2592,1878,2275,2506,2154,2109,2222,1875,2212,3474,4053,4151,3966,3961,3981,4107,3705,2817,1776,1904,2379,2668,2688,2602,2347,2715,3028,3168,2918,2349,2481,2765,2319,2292,2321,2244,2193,1737,2072,2388,2723,2924,2740,2592,2570,2432,1828,2044,1979,1817,2350,2313,3085,2400,2225,2448,2625,2800,2553,2241,2321,2545,2153,1853,1460,1944,2654,2907,2619,2266,2132,2216,2132,2231,2281,1794,1934,1887,1891,2056,2198,2110,1577,1489,1567,1570,1612,1706,1705,1627,1670,1863,1756,2029,1853,1451,1348,1383,1663,1496,1353,1469,1560,1721,1712,1619,1620,1470,1614,1649,1720,1567,1349,1421,1487,1643,2556,3157,2331,1812,1852,1855,1779,1555,1449,1361,1452,1610,1555,1843,2509,1973,1985,1660,1473,1518,1402,1452,1487,1392,1377,1293,1203,1252,1347,1519,1548,1797,1655,1556,1391,1542,1431,1208,1252,1268,1418,1554,1561,1604,1735,1859,1848,2095,1817,1787,1799,1899,1979,2146,2298,1890,1693,2025,2222,2158,2554,3216,4253,4764,4763,4993,4196,4208,4377,3754,3776,3534,2528,2535,3329,3797,4222,4187,4195,4228,3762,3116,2866,2708,2452,2957,3630,3809,2798,2305,1979,2655,3386,3410,3054,2877,2569,2454,2250,2280,2371,2888,2279,2423,2999,3112,3028,2488,2390,2155,1761,2313,3139,3869,4365,4428,4230,4271,4403,4508,4320,4132,3828,3433,3176,2625,1946,2088,2261,2512,2150,2095,1931,1844,1768,1743,1671,1641,1888,1966,2031,1961,1994,2220,2144,1785,2031,2277,1722,1437,1499,1331,1367,1499,1876,1933,1162,1236,1410,1507,1422,1453,1553,2074,2752,2480,2458,2200,1614,1413,1403,1396,1385,2086,3211,3882,3920,3289,2910,2768,2872,2797,2359,2856,2841,1737,1542,2042,2336,2100,2011,1899,1859,2194,2183,1981,2169,2022,1629,1573,1557,1606,1985,1874,1762,1826,2113,2215,1904,1970,2400,2160,2067,2209,1925,2034,1743,1606,1816,1894,2047,2296,2822,2587,2353,2163,1768,1580,2028,2452,2477,1991,1960,2330,2881,2688,2166,1570,1609,1888,1890,1541,1914,2302,1968,2149,2296,2360,2142,2165,2700,2966,3083,3331,2809,1763,1902,2155,2141,2459,2597,2342,2408,2109,1977,2045,1947,2336,3105,2835,2279,1980,1722,1704,2124,2326,2530,2074,1126,1119,1650,1707,2235,2212,1947,1888,2047,2104,2032,2046,2058,1802,2032,2312,2123,2255,2333,2436,2756,2190,1616,1649,2291,2777,2528,2533,2410,2000,1300,1704,1927,2064,2296,2757,2516,2486,2807,3021,3354,3037,2243,1604,1554,1916,2116,1971,1875,2052,2094,1992,1600,1300,1273,1345,1395,1455,1508,1632,1701,1698,1904,1671,1844,1979,1665,1692,1698,1569,1852,2153,1944,2566,2088,1580,1956,1928,1899,2059,1865,1493,1730,1901,2331,2769,2797,2534,2097,2780,2880,2913,2598,1997,1975,2301,1958,1566,1663,2051,2035,2252,1800,1626,1769,1762,1786,2296,2623,2175,2185,2486,2571,2964,2448,2398,2729,2857,2757,2974,3191,2978,2594,2353,2524,2502,2473,2865,2710,2296,1948,2030,2275,2216,1994,1693,1399,1685,2040,1809,1715,1703,1989,2482,3165,2922,2533,2139,2023,2109,2599,3112,2654,2138,2049,2359,2698,2758,2492,2188,1840,2047,2272,1968,1869,1763,1686,1870,2198,2262,2238,2649,2850,2988,2578,2208,1872,1595,1452,1430,1516,1558,1414,1619,1726,1598,1543,1409,1672,2497,2614,2490,2308,2306,2739,2339,2099,2128,1902,2095,2031,1846,1698,1795,1726,1780,1789,1639,1985,2426,2278,2022,2270,2339,1714,1664,1591,1540,1627,1801,1876,1824,1676,1456,1941,2316,1663,1718,1840,1896,2018,1988,1959,2242,2255,1910,1644,1824,2201,1826,1699,1638,1809,1779,1730,1545,1621,1854,1953,1784,1922,1949,1657,2209,1967,2214,2136,2168,1905,1674,1917,1614,1716,2050,1843,1967,2179,2361,2427,2863,2296,2243,2783,3540,3980,3312,2197,2025,2524,2885,3074,2996,3230,2943],[4623,3858,3647,4200,4504,4403,4227,4119,3993,3947,3950,3570,3372,3686,3596,3879,4163,3972,3683,3795,3852,3617,3518,3491,3738,3859,3898,3751,4159,4324,3993,3814,4041,3970,3294,3320,3444,3232,3334,3394,3328,3289,3160,3117,2884,2835,2996,2977,2784,2430,2338,2758,3655,3907,2741,2011,2149,3416,2957,3237,3839,3452,3006,3046,3726,3496,2653,2631,2325,2470,2266,2039,2157,2419,2875,2424,1860,1506,2210,2939,2797,2786,2750,3277,3291,3081,2406,2482,2188,1843,2465,2943,2717,2727,3122,2921,3038,3674,4145,4100,3698,3250,2169,1843,1770,2084,2381,2690,2705,2471,2919,2694,2566,2154,2508,2919,3223,3405,3140,2888,2778,2458,2918,3794,4288,4308,4228,4015,3573,2887,2440,2366,2415,2715,2615,2073,2086,1986,2126,2567,2216,2235,2592,2891,2170,2192,2952,2820,2698,2520,2194,2468,2337,2386,2844,2579,2067,2395,2348,2601,2498,2232,2210,2287,2545,2613,2098,1938,2614,2600,3119,2699,2304,2239,2510,2665,2482,2501,2690,2552,3121,3024,1904,1511,1998,3113,3190,3005,2867,3272,3340,2962,2928,2942,2752,2262,1951,2666,3573,3718,3797,3471,3330,3249,3378,3379,3064,2633,2417,2406,2554,2590,2565,2915,3276,3062,2322,1913,2047,2163,2596,2865,3074,3741,3371,2832,2734,2475,2291,2645,2660,2707,2530,2198,2203,2179,2103,2438,3217,3084,2535,2589,2434,2016,2664,2535,1695,1636,1954,2209,2503,2693,3189,3783,3345,2984,3177,3454,3679,4026,3565,2990,2603,2245,2570,2276,2071,2458,2586,2498,2135,2201,1934,1989,2210,2281,2045,1879,2301,2343,2267,2211,2311,1904,2212,1858,1541,1516,1725,1759,1549,1505,1636,1786,1748,1825,1945,1535,1185,1471,1991,1873,1644,1793,2210,2182,2158,2224,2279,1841,2165,2205,1927,1979,1848,1936,2252,2167,2141,2501,2512,2734,2354,1985,1905,2050,2321,2801,2405,2143,2259,2373,2940,3342,2736,2086,2359,2270,2159,1699,1542,1480,1900,2431,2650,2298,2049,1955,1717,1298,1563,1350,1412,1567,1964,2016,1830,2183,2299,2242,2566,2319,1986,2158,2296,2445,2092,1735,1830,1948,2018,2392,3204,3632,3684,3660,3596,3028,2734,2657,1951,1707,2084,2060,1985,2049,1802,1671,1715,2041,2370,2076,1672,1617,1816,1957,1675,1959,2172,2354,2608,2514,2766,2475,1924,1829,2036,2203,2274,2189,1623,1476,1421,1387,1476,1939,2236,2131,2040,1959,2253,2253,2194,1835,2268,2250,1862,1797,1852,1826,1964,1836,1799,2452,3417,3531,3297,2723,2741,2500,2478,2576,2784,2487,1818,1686,1616,2319,3232,3096,2624,2927,2689,2509,2576,2923,3088,3110,3218,2820,2454,2392,2228,1882,1809,2020,2259,2195,2547,2494,2832,3132,2907,2754,2686,3163,3160,1989,1878,2056,2402,2329,2515,2245,2238,2693,2932,3006,3033,3034,2818,2596,1597,2122,2243,2029,1912,1858,1846,2134,2243,2067,1771,1561,1563,1553,2092,2051,2121,2048,2028,1694,1506,2050,2386,2167,1840,2072,1985,1706,1601,1863,1862,1804,1976,2512,2524,2952,2527,1841,2348,2775,2654,2036,1918,2343,3248,2614,2493,2740,2635,2662,2699,2355,2120,2017,2005,1755,1831,1889,2031,1650,1467,1915,2238,2068,1961,2258,2458,2201,2083,2358,2649,2294,2383,2482,2655,2274,2264,2564,2321,2170,2033,1722,1671,1995,2178,2110,1657,1809,2137,1863,1648,2149,2461,2673,3274,3460,3140,2254,2056,1975,1700,1725,1958,2005,1844,1803,1417,1655,2347,2364,2198,2078,2361,2089,1909,1897,1766,1675,1995,2462,2504,2092,2010,1789,1641,2241,2425,2099,2419,2192,2376,2242,1913,1868,2416,3108,2941,2597,2878,2663,2525,2453,3096,3485,3248,3318,3081,2668,2174,1748,1699,1538,1457,1586,1832,1806,1600,1779,2052,1947,2283,2515,2653,2829,2700,2873,2858,2577,2130,2229,2210,2116,1990,1800,1808,1943,1995,2219,2510,2172,2181,2514,2443,2575,2436,2148,2097,2876,3689,3906,4140,3946,3067,2808,2790,3751,2908,1373,1507,2745,2543,2255,2049,1942,1653,1572,1570,1596,1659,2503,2456,2318,2619,2916,3594,3686,3594,3701,2666,1996,2182,2080,2610,2911,2869,2248,1635,1506,1376,2019,2577,2722,2768,2483,2132,2021,2263,2309,2335,2626,2492,2468,2446,2097,2170,2856,3454,3420,3565,3627,3096,2213,1170,1019,1813,2277,2364,2390,2635,2862,2834,2669,2622,2464,2087,2355,2288,2018,2182,2304,2454,2388,2571,3016,3028,2176,1887,2542,2987,3609,3781,3733,3421,2465,2132,2158,2855,3152,2676,2633,2736,2546,2532,2644,2752,2503,2396,2300,2176,2349,2156,2220,2604,2588,2219,2143,2243,1997,2131,1810,1736,2130,1909,2067,1897,1952,2710,2929,2177,1859,2765,2346,2101,2185,2098,2313,2944,3133,2340,1648,1279,1589,2504,2428,2213,2203,2256,2381,3473,3226,2423,1914,2030,2144,2744,2979,2654,2370,2498,2722,2502,1954,1910,1786,2005,2075,2953,3484,2974,2121,2117,2291,2092,2149,2180,2280,1983,1420,2059,2436,2096,2234,2522,2555,2538,2589,3281,3117,2873,1994,2635,2569,2273,1900,1910,1911,1698,1450,1408,1624,1722,2398,2655,2003,2400,2733,2001,2059,1861,1770,1954,1987,2045,2081,2258,2244,2302,2407,2540,3298,3128,2532,2330,2235,2115,2404,2466,2387,2283,2756,2714,2086,2302,2741,2584,2853,3175,2789,2586,2219,1890,1650,2070,2251,2082,2060,2045,2049,2254,2654,2955,2611,2490,2346,2244,2347,2776,3187,3149,2591,2175,1702,1907,2172,2036,1835,1813,2326,2626,1994,1731,1591,1496,1546,1725,1520,1212,1331,1574,2177,2370,1969,1953,2156,2226,1956,1947,1920,1904,1856,2229,1826,1546,1642,1965,1931,1910,2292,1970,1450,1065,1096,1337,1810,2314,2589,2135,2163,2823,1924,1231,2024,1969,1918,1962,1726,1642,1750,1696,1622,1608,1671,1936,1792,1692,2115,2401,2007,1777,1891,2064,2048,2026,2045,2039,2241,2254,1860,1712,1993,1868,1699,1766,1876,2364,2337,2277,1947,1836,1825,2564,2775,2770,3262,3107,2953,2407,2024,1855,2622,3614,4061,4164,4116,4195,4356,4267,4024,3250,1924,2320,2885,3168,2619,1909,1878,2211,2263,2657,2868,2845,3120,3121,2898,2527,2113,1990,1992,1820,1910,1902,1906,1879,1968,2009,1923,2008,1814,1945,1748,2059,2255,2265,2622,2393,2324,2295,2281,2526,2485,2287,2588,3122,2348,1950,1970,2224,2562,2291,1952,2251,2151,2027,2254,1973,1692,1659,1791,1878,1842,1902,2032,1765,1630,1605,1603,1544,1560,1545,1540,1699,1597,1862,1747,1964,1704,1410,1410,1476,1402,1412,1351,1350,1389,1665,1554,1732,1643,1466,1517,1852,1902,1549,1331,1528,1568,1732,2330,2584,2016,1843,1955,1858,1625,1455,1454,1409,1469,1560,1415,1782,2355,2090,1764,1624,1686,1669,1460,1379,1365,1427,1396,1265,1331,1518,1549,1531,1515,1773,1577,1450,1512,1806,1789,1592,1332,1381,1489,1426,1532,1914,1929,2093,1891,1402,1299,1600,1610,1660,1771,1899,1868,1802,2292,2172,2423,2063,2841,3682,4520,4931,4775,4372,3694,4123,4332,3870,3752,3387,2517,2654,3130,3579,3981,4118,4219,4376,3715,2774,2986,3342,3041,3414,3741,3979,2563,1634,2260,3404,4265,3854,2835,2510,2452,2363,2482,2767,2819,3354,2707,2565,2932,2980,2500,2317,2563,1981,1618,2082,2645,3814,4132,4239,4290,4444,4389,3815,3184,2713,2349,2762,3529,3247,2436,2496,2347,2210,2002,1932,1786,1817,1864,1750,1627,1700,2083,2154,2238,2755,2598,2304,2053,2143,2664,2693,1923,1550,1654,1571,1544,1506,1557,1563,1338,1185,1532,1478,1326,1445,1417,1948,2392,2371,2297,1526,1448,1846,1801,1482,1631,2166,3112,3587,3302,3260,3019,2110,1977,2019,1819,2182,2309,1807,1621,2009,2142,2018,1995,2138,2052,1932,2111,2710,2666,1721,1792,1673,1550,1701,1754,1660,1558,1572,1588,1737,1726,1638,1881,1996,2345,2456,2050,1708,1634,1643,1719,1957,1847,1638,1749,1949,2283,1955,1577,1586,1909,2481,2042,1556,1734,2085,2190,2121,2280,1937,1845,1778,1954,2075,2634,2469,1748,1878,2177,2124,2001,2110,2387,2648,3019,3247,2543,1884,1893,2062,2502,3144,2923,2544,2511,2183,2138,2136,1815,2149,2598,2605,2400,2292,2182,2188,2055,1757,2148,1717,1161,1209,1678,1854,1946,1965,1892,1875,1969,2091,2025,2092,2175,2371,2537,2229,2303,2186,2091,2446,2460,1789,1703,2326,2841,3515,3354,2817,2181,1556,1286,1782,1606,1658,1835,1919,2021,2152,2644,2750,2984,2625,1947,1582,1641,2073,2596,2312,2307,2425,2048,1781,1566,1329,1398,1428,1426,1478,1547,1646,1717,1642,1883,1777,1783,2049,2040,1996,1852,1687,2153,2508,2685,3004,2049,1992,2102,1873,1778,1742,1526,1439,1909,2198,2194,2476,2354,2008,1688,2379,2933,3055,3034,2280,2108,2374,2021,1705,1969,2179,1863,1791,1532,1477,1781,1850,1688,2057,2334,2047,2007,2088,2791,2973,2359,2402,2666,2879,2775,2453,2190,2440,2822,2852,2657,2070,2403,2503,2670,2265,1974,1938,2011,2040,1898,1545,1521,1660,1795,1635,1769,1794,2099,2332,2928,3348,2906,2466,2622,2424,2408,2641,2068,1950,2297,2674,2729,2578,2871,2351,1891,2087,1937,1725,1719,1812,2003,2089,1703,1671,1703,1935,2191,2674,2624,2380,2054,1750,1570,1544,1528,1429,1518,1606,1599,1558,1511,1609,2205,2821,2787,2435,2276,2898,2920,2089,2216,2216,2193,2443,2330,2000,1708,1616,1584,1659,1604,1687,1823,2072,2326,2588,2714,2419,1759,1597,1460,1499,1777,1948,1876,1638,1683,1708,2302,2103,1841,1906,2211,2448,2163,1943,2320,2354,1913,1707,1766,2046,2053,1723,1526,1586,1775,1959,1902,1824,2063,2082,1778,1645,1586,1228,1108,1841,1923,2110,2149,2368,2219,2215,2456,2030,1732,1806,1667,1648,2111,2131,2456,2709,2334,2369,2979,3580,4312,3958,2730,2832,3199,2575,3051,3140,3184,3416],[4506,4388,3964,3718,3453,3469,3617,3705,3618,3463,3521,3579,3677,3596,3348,3736,3959,3803,3698,3766,3580,3265,3675,3648,3639,3584,3773,3819,4099,4320,3824,3491,3642,3393,2931,3085,3112,2829,3112,3450,3639,3681,3698,3393,3165,3671,4013,3506,2841,2701,2677,2454,2767,3338,2742,2389,1956,4517,3765,2871,3054,2778,3023,3120,3081,3476,2843,2739,2096,2268,2203,2204,2413,2433,2408,2376,2046,1640,1984,2380,2556,2473,2613,2850,2831,2911,2911,2935,2361,1860,2237,2529,2483,2552,2620,2663,2850,3250,4154,4102,3526,3110,2505,2081,1954,2155,2719,3016,2631,2696,2555,2354,2413,2131,2302,2933,3248,3217,3028,3048,3475,3064,3441,3707,4063,3957,3710,3683,3547,2744,2391,2854,3007,2844,2464,1840,1789,2220,2089,2501,2258,2561,2735,2833,2552,2746,2720,2066,1986,1858,2110,2406,2317,2413,2519,2300,2435,2527,2621,2750,2385,1876,2033,2205,2357,2371,1905,1722,1916,2064,2635,2480,2308,2178,2011,2371,2586,2344,2452,2369,2897,2353,1557,1580,2011,2868,2749,2621,2869,2988,3016,2854,2711,3037,2556,1878,2586,3631,3672,3484,3241,3501,3527,3204,3025,3001,3191,2570,2663,2850,2675,2687,2916,3544,3675,3262,2458,1799,1997,2337,2489,2721,2616,2843,2692,2500,2367,2069,1995,2645,3054,3051,2754,2568,2715,2761,2640,2708,3115,2863,2774,2946,2590,2361,2870,2424,1630,1755,1832,2051,2397,2790,3473,3914,3627,3455,3233,2899,3163,3680,3664,3415,2626,2207,2178,1925,2065,2059,2292,2103,1717,2109,2420,2561,2535,2512,2419,2308,2327,2133,2479,2965,2310,1619,1968,1982,1799,1551,1464,1506,1628,1767,1745,1660,1647,1679,1506,1383,1428,1570,1678,1684,1604,1936,2370,1943,2039,1868,1888,1856,1698,1763,1719,1833,2011,1996,2017,2290,2502,2306,1938,2408,2354,1637,1545,1760,1958,2097,2040,1913,1810,2128,2300,2316,2104,1824,2207,1832,2061,1748,1494,1678,1644,1884,2137,1972,2242,1914,1244,905,1252,1417,1476,1649,1931,1787,1600,1765,1769,2367,3300,2303,1681,1761,2348,2524,1899,1716,2005,2139,2064,2698,3425,3672,3653,3377,3339,3251,3551,3374,2429,1944,1769,1703,1796,1909,2535,2443,2245,2560,2435,1870,1686,1655,1854,2244,2431,2496,2326,2522,2446,2425,2733,2314,1879,1944,2134,2125,2085,1685,1317,1201,1326,1333,1521,2167,2149,2032,1946,1930,2375,2250,1903,2106,2567,2495,2003,1926,2265,2088,1701,1512,1677,1874,2380,2959,3137,2638,2386,2512,2677,2441,2308,2111,1811,2033,1965,2864,3364,3254,3163,2791,2429,2443,2513,2504,2496,3020,3317,2830,2733,2193,2152,1808,2022,2648,2773,2708,2835,2586,2775,3096,3001,2742,2854,3434,3274,1991,1892,2093,2081,2006,2022,1994,2058,2494,2874,3163,3204,3221,2774,2692,2049,2567,2621,2083,1813,1797,2103,2163,2290,2356,1853,1603,1544,1780,2048,2434,2088,2207,2710,2048,1656,2585,3245,2431,2128,2493,2092,1609,1793,2361,2337,2004,2094,2536,2614,2879,2402,1824,1997,2647,2831,2054,1903,2278,2874,2644,2858,2971,2485,2592,2636,2429,2283,1875,2280,1611,1759,1905,1678,1699,2168,2476,2283,2039,2051,2712,2932,2372,1947,2081,2373,2525,2641,2590,2698,2673,3034,2980,2087,1840,1752,1812,1798,2486,2342,2096,2235,2977,2683,1875,1983,2069,1924,2509,3505,3168,2789,2156,1868,1760,1627,1716,1760,1813,2086,2246,2300,2243,2357,2614,2500,2067,2288,2389,2094,2033,1886,1768,2056,2427,2343,1853,1833,1640,1553,1642,2460,2962,2557,2545,3072,2501,1511,1743,2809,3434,3273,2850,2980,2576,2330,2035,2187,2705,3019,2832,2639,2825,2847,2412,1999,1729,1613,1606,1765,1561,1603,2047,1967,1631,2145,2881,2954,2503,2237,2534,2500,2751,2194,1846,1834,2146,2334,2245,2079,2105,2088,2137,2475,2263,2275,2145,2632,2867,2412,1979,1969,2241,2351,2630,3396,3595,3153,3121,3130,3677,3392,2841,2750,2791,2824,2630,2200,1876,1717,2033,2397,2204,1669,2184,2443,2827,2992,3127,3430,3335,3418,3251,2217,2004,1841,1479,2034,2751,2723,2310,1776,1592,1475,1824,2532,2952,2853,2501,2388,2092,1859,2176,2472,2602,2500,2467,2468,2445,2425,2644,3248,3648,3556,2832,2640,2093,1403,1420,1349,1607,2089,2691,3143,2926,2761,2449,2226,1862,1448,1598,1808,1880,2061,2505,2540,2249,2294,2557,2776,2248,1730,2100,2880,3016,2675,3176,3611,3389,2653,2260,2766,3282,3033,2851,2946,2919,2642,2168,2281,2586,2123,1690,2253,2939,3002,3103,2419,1934,1328,1568,2191,2321,2425,2025,1871,2046,1739,1627,1981,2610,3288,3520,2792,2511,2844,2692,2613,2613,2265,2492,3239,3629,3368,2921,1854,1721,2807,2812,2890,2321,1669,2294,2969,2621,2462,2751,2641,2577,2957,2388,2400,2333,2626,2677,2405,2420,1841,1497,1578,2210,3120,2942,2575,2557,2209,1886,1945,2199,2045,2317,2088,1577,2023,2182,1961,2374,2642,1916,1932,2344,3371,3622,3293,2364,2513,2248,2301,2273,2188,2793,2428,1721,1806,2185,2317,2568,2242,1730,2037,2435,2384,2104,1741,1635,1824,2277,2288,2459,2767,2812,2541,2339,2043,2322,2451,2254,2392,2178,2310,2765,2372,2357,2788,3571,3405,1950,2409,3028,2296,2879,3361,2834,2320,2194,1786,1503,2171,2388,2338,2125,2259,2225,2213,2864,3418,3276,3182,2562,2611,2746,2764,3063,2842,2486,2202,1787,1802,1841,1588,1815,2301,2467,2002,1637,1480,1403,1486,1869,1953,1480,1451,1599,1593,1986,2009,1742,1914,2028,2026,1773,1840,1753,1794,2180,2290,1670,1609,1908,2433,2145,1966,1920,1609,1267,1273,1493,1569,1944,2291,2336,1961,2137,2407,1481,1695,2346,2321,2039,1923,1673,1760,2217,1986,1719,1704,1883,1851,1728,1798,2316,2439,1828,1802,1894,1900,1918,1989,1969,2039,2126,1987,1844,1854,1800,1498,1804,1780,1934,2422,2287,1894,1781,1560,1864,2792,2882,2905,3536,3330,3513,2647,1989,2743,3684,3978,4061,4104,4100,4206,4357,4257,4144,3043,2077,2348,3162,3207,2667,1980,1949,2047,2194,2348,2288,2417,2470,2500,1976,1579,1787,2014,1780,1565,1726,1801,1765,1612,1496,1547,1671,1747,1911,1880,1800,2134,2267,2189,2258,2321,2292,2271,2086,2185,2360,2496,2555,2751,2176,1958,1901,2156,2508,2080,1989,2231,1857,1623,2029,1987,1749,1826,1861,1632,1552,1785,1753,2030,2176,1574,1452,1377,1443,1485,1447,1454,1471,1673,1804,1825,1645,1525,1519,1510,1332,1318,1293,1410,1445,1720,1943,1796,1453,1346,1482,1621,1726,1759,1598,2032,1712,1839,1867,1813,1952,2125,2137,1981,1622,1589,1580,1470,1534,1693,1757,1725,1577,1633,1505,1452,1509,1623,1633,1511,1399,1349,1310,1315,1426,1594,1592,1289,1566,1710,1427,1542,1550,1400,1684,1624,1344,1375,1540,1690,1641,1785,1903,2134,1795,1353,1533,1645,1458,1314,1561,1803,1799,2055,2700,2557,2413,2090,3274,4219,4583,4816,4832,4744,4028,3677,4192,4240,4181,3483,2510,2679,2868,2952,3108,2899,2662,2791,2661,2943,3459,3737,3258,3274,3419,3458,2731,2806,3636,3901,4025,3871,3308,2824,2533,2355,3002,3503,3616,3560,3149,2493,2420,2729,2206,2352,2552,2097,1860,2152,2182,3635,4285,4364,4300,3950,3271,2534,2218,1895,1873,2298,3094,3202,2814,2692,2338,1917,1698,1670,1598,1715,1810,1825,1664,1686,2155,2562,2713,2814,2634,2202,2011,2125,2254,2149,1881,1908,1689,1613,2050,2132,1691,1501,1427,1552,1611,1406,1485,1518,1311,1462,1685,2106,2252,1804,1748,2800,2532,1985,2711,2850,2930,3280,2747,3052,3010,1828,1869,2470,2042,1786,2184,2005,2020,2322,2526,2366,2044,2051,2022,1786,2084,2688,2977,2099,1939,1969,1809,1674,1655,1496,1471,1529,1323,1715,1948,2095,1747,1554,2046,1976,1686,1524,1555,1604,1541,1686,1970,1682,1559,1962,2087,1839,1644,1698,1751,1952,1959,1504,1557,1895,1717,1754,2209,2194,2101,1629,1625,1771,2054,2007,1627,1663,1772,1958,2208,2527,2912,3564,3221,2463,2243,2084,1775,1800,2026,2260,2524,2626,2715,2389,2280,2164,2173,2166,2172,2085,1978,2411,2586,2462,1961,1609,2060,1897,1757,1726,1968,1939,1837,1886,2157,2372,2473,2302,2259,2564,2753,2853,2523,2241,2092,2161,2584,2533,2219,1953,2235,2745,3134,3594,3803,3752,3421,1975,1395,1533,1432,1595,1761,2310,2621,2810,3086,2974,2959,2408,1614,1893,2082,2328,2536,2205,2294,2301,1690,1556,1582,1541,1595,1502,1522,1473,1586,1687,1684,1742,1925,1621,1664,1976,2046,1847,1892,1811,2003,2358,2800,2592,2054,1965,2006,2075,1892,1625,1404,2199,2547,2418,2100,2044,2183,2159,2025,2272,2032,2076,2414,2347,2796,2745,2221,1805,1996,1906,1885,1599,1316,1509,1687,1677,1791,2534,2887,3225,2955,2446,2685,2568,2382,2588,2798,3293,3288,2974,2753,2628,2639,2845,2288,1993,2144,1784,2091,2025,1851,1772,1487,1566,1795,1627,1706,1706,1635,1643,1695,1968,1992,2093,2808,3240,2763,2442,2222,1880,1838,1819,1757,1805,1935,2242,2035,1702,1806,1738,1813,1927,1657,1709,1719,1890,1916,2216,1543,1313,1503,1762,2074,2187,2573,2818,2132,1862,1672,1417,1422,1716,1725,1547,1463,1492,1582,1932,2664,3052,2819,2610,2881,3602,3174,2370,2496,2581,2568,2610,2308,2056,1966,1656,1773,1850,1782,1860,1659,1974,2289,3051,2903,2181,1911,1850,1812,2088,2186,2079,1940,1621,1875,1947,1797,1610,1767,1846,2177,2752,2512,2026,2334,2227,1909,1755,1958,2268,2105,1720,1639,1656,1845,2336,2458,2102,2219,1873,1614,1999,1937,1383,1362,1740,1946,2220,2449,2723,2584,2442,2476,2099,1788,1783,1782,1650,2128,2064,2131,2534,3118,3415,2775,2851,3607,4085,2836,2947,3914,3141,3144,2938,2879,3103],[4333,4312,4320,4093,3718,3448,3064,2739,3188,3815,3949,4080,3929,3624,3512,3710,3725,3624,3619,3496,3364,3225,3659,3518,3469,3605,3660,3731,3880,3973,3657,3464,3428,3228,3090,3314,3132,2884,3009,3581,4120,4051,3776,3515,3688,4164,4432,3973,3264,2767,2764,3087,2810,3373,2902,2622,1951,3656,3799,2652,3281,3265,3472,3545,3182,3483,2786,2473,2414,2574,2109,1774,1930,2021,2095,2416,2530,2415,2393,1916,2161,2256,2401,2739,2851,3098,3104,2956,2635,2263,2342,2762,2885,2717,2076,2358,2630,2717,3007,3068,2788,2596,2415,2081,1715,1591,2059,2329,2765,3063,2656,2285,2204,1979,1880,2254,2578,2489,2791,3023,3352,3292,3174,3664,3838,3397,2849,3151,3492,2954,2368,2321,2165,1733,1656,1943,2266,2399,2264,2657,2122,1775,2100,2526,2517,2344,2105,1843,1976,2358,2680,2430,2140,2207,2340,2279,2365,2891,2812,2451,2443,1892,1859,2029,2658,2458,2337,1934,1824,2087,2476,2327,1932,2040,1747,1781,2429,2212,2309,2523,2332,1592,1413,1577,2276,2824,2576,2898,3055,2598,2382,2438,2739,2844,2152,2441,3570,3637,3608,3441,3216,3483,3474,3618,2918,2885,3043,2587,2967,3069,2823,2861,3095,3252,3196,2895,2152,1879,2319,2702,2321,2291,2229,2375,2539,2877,2641,2088,2203,2743,3241,3140,2795,2563,2698,3200,2801,2718,3146,3110,3196,3407,2938,2652,2654,2120,2009,2270,2048,2247,2603,3256,3774,4035,3366,3133,3229,2973,3396,3762,3464,2958,2325,1989,1962,2070,2166,1898,1898,1822,1820,2105,2508,3104,3162,2799,2603,2485,2188,1960,2220,2503,2143,1966,2157,1991,1699,1551,1534,1671,1625,1692,1528,1730,2188,1897,1564,1476,1427,1726,1791,1909,2156,2355,2316,2729,2906,2425,2459,2140,1700,1605,1572,1744,2095,2126,1902,1849,1915,1934,2001,2689,2182,1454,1538,1607,1550,1676,1939,1618,1548,1779,2076,1707,1726,1741,1875,1907,2004,1643,1644,1780,1410,1410,1588,1742,2264,2066,1668,1377,1490,1628,1538,1600,1920,1858,1566,1737,2114,2126,2007,1727,1589,1589,2166,2250,1788,1663,2080,2066,1972,2810,3613,3736,3492,3121,3343,3494,3669,3051,2507,2499,2160,2032,1828,1535,2223,2003,2364,2313,2204,1995,1750,1658,2099,2325,2432,2576,2054,2320,2265,2511,2548,1893,1875,1802,1892,2246,1936,1607,1448,1050,1158,1488,1342,2057,2370,1897,2196,2032,2087,2142,1981,2125,2290,2311,2221,2100,2122,1961,1654,1622,1623,1808,1841,2413,2792,2401,2095,2318,2486,2491,2454,1972,1821,1805,2323,3029,3435,3208,2864,2313,2322,2910,2877,2448,2367,3352,3625,3311,2904,2103,2008,2105,2620,2965,2894,2895,3176,3140,2700,2657,2907,2796,2821,3117,2598,1735,1580,1766,2114,2121,1866,2167,1965,2395,2680,3039,3055,2876,2732,2570,2406,2767,2675,2172,1860,1936,2732,2836,2811,2853,2122,1597,1502,1743,1909,2178,1792,2126,2751,2340,2059,2577,2641,2175,2384,1995,1605,1539,1883,2176,2098,2054,2460,2626,2576,2820,2110,1702,2166,2853,2575,1925,1879,2230,2791,2918,3138,3509,2858,2792,2798,2493,2292,2202,2273,1497,1407,1777,1816,2037,2590,2470,2172,1784,1704,2104,3160,2632,2196,2100,2610,3081,2625,2419,2474,2359,2586,2695,2073,1766,1909,1835,1733,2120,2053,2347,3365,4089,3448,2348,2248,2025,2077,2396,2712,3038,2740,2292,2030,1715,1554,1560,1644,1732,1926,2354,2359,2170,2349,2972,2712,2020,2262,2371,2081,2049,2001,2048,1964,1886,2382,2081,1761,1526,1538,1788,2480,2478,2217,2122,2096,1954,1332,1702,2833,2976,2770,2556,2746,2747,2566,2263,2166,2484,2456,2266,2370,2574,2984,3094,2625,2091,1810,1737,1598,1536,1915,2106,1850,1815,2264,2618,2754,2381,2018,1937,2108,2417,2354,2048,2170,2636,2558,2620,2160,2182,2176,2383,2644,2296,2203,2197,2395,2443,2143,2009,2268,1952,1974,2536,2895,3082,3094,2907,3177,3349,3539,3624,3495,3033,2529,2044,2101,2017,1924,2004,1980,1883,1587,1912,2784,3197,2917,2821,2658,2238,2334,2388,1984,2225,2196,1538,1640,2184,2275,2008,1560,1347,1387,1685,2329,2874,2775,2518,2665,2241,1885,1906,2280,2554,2476,2436,2436,2411,2425,2502,2929,3263,2329,1814,2518,2625,1970,1402,1080,1287,1657,2084,2818,2988,2518,2046,1848,1620,1390,1326,1502,1879,2220,2494,2551,2242,1947,2208,2566,2764,2666,2504,2659,2366,2532,2621,2934,3504,3436,2786,2376,2497,3006,3260,2898,2909,2784,2293,2423,2588,2061,1865,2510,3263,3426,3064,2020,2013,1624,1989,2985,3639,3367,2491,2176,2436,2304,1967,2428,2850,2839,2547,2734,2448,2059,2037,2044,2099,2376,2633,3062,3492,3388,2910,2032,1921,2549,2351,2375,1781,1544,2170,2566,2449,2722,2986,3022,2833,2730,2399,2680,2663,2719,2431,3088,3120,1952,1815,1931,2510,3295,2900,2530,2768,2007,1782,2363,2378,2373,3150,2942,2069,2382,3069,3087,2553,2452,2453,2209,2113,3194,3729,3165,2252,2257,2404,2678,2614,2287,2932,2240,1538,1825,2281,2490,2417,2540,2099,1745,2144,2128,2157,1973,2061,2226,2282,2032,2501,2723,2636,2288,2254,1897,1952,2143,2040,2335,2077,2333,2391,2024,1997,2202,2630,2510,2102,2522,2643,2354,2771,3054,3012,2416,2415,1974,2103,2715,2327,2195,2003,1756,1816,1627,2293,3052,2967,2800,2219,2423,2821,2676,2555,2391,2568,2469,2236,1980,1453,1533,1980,2266,2019,1663,1479,1257,1245,1544,1989,1814,1513,1670,1665,1598,1632,1826,1896,1861,1643,1627,1728,1532,1683,2026,2879,2580,1743,1974,2248,2393,1921,1634,1582,1355,1223,1513,1774,1965,2234,2277,2174,2172,2656,2309,1245,2051,2212,2375,2646,2032,1564,1917,2624,2657,1839,1421,1770,1784,1772,1896,2468,2316,1818,1888,1870,1850,1948,1902,1819,1942,1932,1857,1693,1872,1707,1527,1836,1797,1730,1789,1753,1932,2046,1911,2049,3012,3558,3441,3628,3244,3043,2437,2414,3536,4100,4112,4160,4207,4280,4344,4225,4084,4092,2600,2072,2622,3218,3090,2351,1949,2104,1615,2132,1845,1916,1787,1555,1492,1383,1282,1212,1567,1771,1744,1680,1742,2040,2207,1917,2157,2084,1959,2360,2292,1967,1986,1851,1853,2368,3112,3098,2698,2698,2663,2450,1891,1512,1982,2233,2092,2091,2392,2342,1814,1825,2157,1860,1474,1871,1920,1861,1916,1985,1738,1608,1725,1613,1820,1924,1774,1643,1494,1422,1550,1594,1426,1654,1682,1497,1729,1556,1319,1317,1344,1401,1486,1601,1643,1638,1787,1937,1740,1438,1417,1548,1567,1526,1655,1538,1610,1459,1380,1643,1855,2003,2088,2158,1887,1447,1609,1674,1277,1425,1680,2249,2036,1833,1529,1366,1423,1446,1408,1551,1649,1594,1429,1365,1381,1523,1493,1556,1422,1493,1368,1296,1554,1421,1312,1347,1318,1507,1410,1583,1778,1789,1688,1734,1764,1499,1373,1504,1700,1615,1458,2227,2116,1877,2022,2114,2026,2051,2226,3273,4095,4420,4632,4936,4997,3927,3188,4249,4624,4363,3393,2634,2676,2508,2408,2321,2132,2264,2554,2483,2824,3284,3422,3081,3010,3151,2966,2788,3354,4111,3958,3897,3914,4564,3927,2711,2490,3450,4020,3658,3212,3064,2491,2098,2376,2298,2128,2142,1898,1823,1901,2237,3398,3725,3250,2972,2614,2127,1985,1910,1767,1940,1967,2348,2566,2600,2820,2766,2289,1873,1768,1816,1844,1857,1836,1846,1917,2049,2532,2633,2261,1880,1368,1321,1512,1752,1820,1890,2026,1839,1966,2436,2523,1957,1515,1475,1658,1475,1307,1497,1360,1274,1372,1517,1615,1912,2265,2433,2552,2206,2147,2932,3173,2841,3142,2814,2586,1772,1566,2204,3144,2814,2324,2623,2439,2213,2902,3489,2819,2111,2194,2047,1704,1825,1711,2032,2098,1891,1848,1771,1600,1610,1434,1356,1696,1608,1852,2000,1859,1529,1646,1715,1662,1636,1431,1693,2546,1946,1818,2154,2179,2051,1721,1671,1738,1590,1580,1657,1840,2208,1758,1426,2044,2040,1984,2492,2446,1961,1432,1559,1693,1570,1510,1525,1612,1671,1838,2100,2310,2683,3176,2676,2316,2368,1939,1735,1772,1784,1820,2270,2902,2934,2307,2335,2470,2215,1998,2143,1914,1687,2142,2244,2200,2040,2104,2414,2282,2025,1990,2178,2144,1847,1854,2416,2639,2639,2909,2640,2355,2482,2551,2565,2746,2763,3002,3013,2540,2690,2218,1876,2084,2292,2421,2729,3024,3005,2115,1681,1744,1722,1716,1794,2228,2482,3213,3049,2924,3477,2740,1705,1729,2127,2364,1941,1641,1941,2014,1736,1712,1937,1733,1554,1482,1407,1453,1548,1657,1789,1832,2042,1722,1947,2170,1939,1494,1772,1721,1593,1744,1932,2089,2260,2002,1836,1981,1630,1434,1741,2763,3185,2494,1875,1851,2404,2535,2438,2437,2174,1788,1694,1828,2104,2048,1877,1920,2088,2100,2186,1996,1762,1800,2081,2089,2122,2879,3370,3334,3230,3304,3462,2745,2484,2634,2846,3698,3648,3318,3087,2867,2566,2096,1669,1874,1906,1750,2093,2160,1798,1702,1644,1593,2161,2163,1759,1645,1456,1620,1688,1780,1866,1900,2501,3106,2866,2514,1982,1699,1590,1775,1577,1460,1548,1634,1552,1594,1911,1876,1685,1644,1627,1895,1834,1744,1820,1633,1480,1549,1541,1592,1670,1902,2752,3210,2435,1803,1814,1589,1620,1826,1591,1466,1521,1565,1733,2032,2426,2757,2513,2634,3096,3603,3425,2578,2533,2681,2904,3232,2918,2630,2130,1864,1643,1815,1982,1985,1797,1644,1916,2715,2791,2272,2071,1832,1883,2261,1806,1820,2033,1729,2055,2122,1721,1712,1913,1866,1942,2361,2183,2070,3154,2601,2175,2079,2040,1830,1588,1840,2156,1902,1829,2410,2765,2460,2635,2154,1791,2391,2747,2183,1744,1635,2057,2588,2493,2615,2615,2635,2166,2007,2290,2512,2008,1573,1751,1886,1908,2060,2915,3517,2582,2814,2830,3474,2522,2482,3320,3442,3013,2514,2668,3010],[4245,4251,4136,3825,3107,2638,2241,1987,2263,3084,3586,3692,3514,3354,3251,3374,3480,3541,3579,3597,3706,3677,3654,3538,3542,3732,3837,3941,4021,4020,3638,3491,3638,3326,3176,3352,3474,3232,3144,3347,3621,3893,3784,3564,3726,3759,3828,3648,3494,3271,3161,3310,3072,3686,3937,3485,2209,2346,2872,2676,3429,3726,3592,3540,3040,3028,2540,2062,2220,2427,2020,2225,2503,1914,2062,2153,2041,2152,2030,1552,1945,2579,2767,2623,2621,2912,3178,3296,2761,2894,2668,3046,2717,2384,2046,2075,2332,2391,2387,2613,2441,2254,2126,2102,2039,2075,2040,2327,2912,3409,2964,2016,1847,2163,2294,2186,2484,2455,3007,3447,3516,3537,3198,3196,2761,2383,2332,2905,3387,3046,2193,2114,2059,1655,1832,2178,2474,2453,2741,2659,1923,1724,1995,2132,2290,2198,2001,1905,2232,3221,2885,2246,1635,1521,2082,2184,2755,3643,2822,2487,2678,2410,2209,2511,3169,2756,2514,2370,2072,1941,2464,2258,1876,2366,1929,1864,2713,2667,2470,2153,1577,1310,1372,1611,2207,2405,2548,3343,3242,2931,2536,2706,2981,2698,2380,3138,3592,3463,3409,3310,3598,3474,3617,3827,2911,3042,2629,2776,3076,2956,2911,3147,3039,2556,2564,2578,2205,2206,2648,2783,2055,2194,2603,2920,3002,2929,2626,2464,2901,3311,3310,3108,2710,2379,2156,2065,1821,2482,3160,2990,3142,3293,2908,2497,2207,1397,1792,2077,2225,2642,3013,3377,3605,3365,2364,1804,2553,3547,4029,4047,3458,2266,2453,2463,2480,2524,2458,2282,2277,2369,2253,2198,2123,2447,3176,3172,2988,2657,2476,2198,1989,2157,2212,2108,2084,1951,1542,1717,1654,1595,1453,1433,1387,1731,1975,1694,1652,1573,1544,1929,1785,2042,2149,2154,2756,3272,3053,2709,2720,2438,1960,1642,1404,1481,1871,1938,1651,1630,1794,1941,1974,2175,2071,1920,1779,1698,1637,1603,1959,1724,1973,1895,1819,1803,1483,1006,1185,1602,1744,1578,1677,1533,1391,1424,1526,1556,1737,1947,1895,1720,1781,1760,1523,1676,2048,2021,1810,2003,2633,2751,2240,1887,1878,1717,1733,2009,2068,2059,1992,1919,2310,3057,3364,3494,3220,2667,2922,3688,3538,2856,3088,3179,2598,2414,2038,1961,1671,1481,2076,2101,1995,2147,2201,1923,1733,1856,2054,2768,2251,1974,2051,2384,2276,2073,2183,2022,2278,2167,1654,1661,1879,1876,1879,2077,1425,1909,2245,2177,2474,2124,2111,2266,2090,2243,2160,2144,2072,1735,1704,1689,1684,1672,1935,1926,1834,2031,1756,1596,1996,1873,1996,2137,2116,2245,2252,2154,2874,3270,3451,3449,2635,2149,2625,3072,3242,3408,2879,3257,3582,3450,2896,2185,2172,2893,3020,2467,2322,2075,2707,3089,2524,2576,2927,2947,3000,3362,3359,2469,1477,1575,1752,1891,1731,1946,1742,2308,2475,2733,2819,2934,2812,2420,2251,2387,2226,1941,1858,1779,2542,2831,3256,3250,2764,2493,2375,1981,1990,2282,2214,2577,2975,2796,2242,1972,1951,2403,2132,1599,1617,1488,1435,1581,1507,1931,2224,2261,2585,2508,1853,1551,2402,2857,2221,1821,1993,2313,2920,3044,2785,3081,3006,2720,2580,2491,2196,2001,2191,1865,1889,2548,2284,2025,2664,2435,2089,1698,1805,2117,2973,2810,2886,2673,2853,3271,2392,2336,2218,2365,2607,2647,2022,1652,2019,2109,2232,2613,2412,2630,3674,4024,3305,2742,2525,2133,2098,2192,1922,2400,2423,2243,2013,1660,1487,1568,1609,1635,1687,2687,2824,2239,2170,2570,2226,2039,2265,2187,2138,1926,1950,2212,1748,1670,2020,1956,1751,1675,1585,1991,2019,1658,2055,1983,1700,1993,1313,1636,2907,3037,2908,3006,2996,2770,2621,2295,2084,2142,2030,2169,2491,2557,2811,2877,2680,2806,2397,1639,1405,1542,1888,1983,2041,2074,2298,2389,2553,2611,2083,2040,2453,2396,2510,2461,2154,2555,2227,2220,2492,2426,2144,2434,2658,2431,2329,2000,1271,1395,2271,2386,2098,1548,1887,2847,3004,2911,3206,3615,3854,3384,2949,2987,2531,2039,2200,2024,2454,2309,1986,1655,1565,1712,1729,1786,2392,2850,2243,1765,1513,1518,1910,2501,2246,2426,2056,2194,2400,2345,2539,2358,2175,2113,2360,2476,2575,2684,2987,2585,2338,2336,2071,1743,1802,2066,2225,2286,2233,2244,2357,2373,2464,2644,2252,1860,2330,2779,2338,1482,1273,1379,1465,1630,2504,2614,1920,1647,1650,1661,1565,1733,2319,2854,2696,2422,2430,2669,2460,2315,2621,2687,2501,2685,2663,2472,2167,2096,2127,2565,3030,3188,2802,2337,2431,3015,3309,3075,2576,2067,1809,1985,2017,1944,2136,2463,3010,2535,2418,2320,2042,2468,3016,3066,2820,2297,2236,2665,2680,2120,2700,3041,2758,2669,2801,2439,2646,2897,2590,2519,2887,2850,3349,3582,3109,2584,2103,1704,1671,1488,1187,1682,2485,2523,3110,2621,2481,2612,2965,2523,2165,1994,2856,3138,2598,2540,3308,2814,2034,1782,1878,2718,3344,3201,2366,2224,1770,2120,2618,2223,2534,3378,3016,2351,3085,3531,3090,2314,2169,2546,2013,2090,3208,3914,3007,1785,2487,2467,2116,1835,1959,3188,2319,1275,1518,1939,1953,1916,2465,2289,1826,2206,1900,2420,2217,2137,2177,2275,2320,2505,2559,2442,2184,2032,1914,1980,2038,1995,2346,2344,2552,2309,2160,2358,2674,2744,2458,2375,2417,2666,2177,2599,3287,2929,2886,3395,3211,2643,2859,2533,2333,2198,1852,2154,2204,2219,2478,2272,2012,2183,2533,2696,2581,2409,2395,2547,2576,2495,1931,1561,1780,1998,2021,1728,1493,1118,1138,1323,1449,1506,1399,1593,1617,1592,1528,1774,2245,2451,2034,1691,1857,1793,1518,1565,2146,2582,1991,1859,2196,2276,1831,1502,1455,1531,1381,1430,1628,1842,2278,2298,2337,2341,2648,3095,1769,1486,2051,2000,2430,2575,1804,1648,2036,2150,1969,1779,1586,2304,2493,2256,2200,2565,2207,1837,1875,1803,2053,2111,1990,1927,2054,2024,1808,1729,1960,1773,1729,1866,1753,1686,1677,1872,2084,2247,2107,2067,2593,3166,3297,3356,2669,2136,2326,3141,4005,4117,4195,4184,4260,4365,4341,4148,4022,3970,2747,2093,2770,3311,3075,2603,2096,2069,1409,2230,1848,1925,2110,1646,1274,1548,1561,1252,1087,1090,1565,2136,2287,2465,2354,2228,2518,2335,2280,2559,2200,1779,1911,1822,2014,2361,2920,3010,3033,3320,2669,2227,2072,1806,2001,1992,1732,2103,2578,2365,1681,1582,2015,2170,1874,1820,1982,2002,1825,1820,1660,1792,1614,1852,1780,1585,1687,1732,1664,1601,1564,1591,1678,1867,2110,2189,2097,1726,1325,1321,1406,1430,1410,1687,1872,1668,1496,1597,1836,1582,1471,1567,1505,1522,1429,1522,1550,1391,1409,2051,2208,1866,1926,2267,1941,1738,1910,1588,1228,1712,1483,1628,1833,1588,1438,1406,1538,1561,1516,1540,1571,1545,1596,1593,1611,1563,1611,1588,1377,1440,1320,1311,1278,1386,1532,1322,1338,1278,1263,1315,1314,1538,1650,1475,1503,1587,1534,1674,1651,1378,1204,1957,2168,1957,1861,1734,1876,2047,2215,2971,3226,3745,4355,4813,5193,4420,4149,4541,4731,4568,3484,2636,2584,2356,2487,2656,2599,2577,2568,2661,2935,3061,2405,1899,2485,3186,2998,2607,3215,4111,4315,4568,4785,4989,4669,3099,2016,2553,3164,3121,3167,2750,2484,1972,2414,2361,1845,1900,1931,2091,2436,2590,2710,2640,2223,2269,2270,2132,1942,1844,1796,1939,1934,2077,2451,2796,3178,3603,3045,2044,1697,1615,1570,1992,2072,2353,2336,2093,2286,2377,1979,1365,1091,1159,1267,1376,1790,1861,1952,1699,1721,2817,2952,2013,1575,1545,1489,1384,1449,1518,1326,1427,1487,2292,1992,1655,1849,1831,1930,2040,1807,2174,2795,2418,2312,2770,2856,2364,2707,2944,3361,3193,2787,2991,2745,2097,1815,2401,2598,2303,2840,2298,1776,1797,1497,1596,2208,2122,1843,1746,1652,1699,1549,1654,1340,1507,2065,1929,1599,1638,1752,1618,1524,1531,1563,1775,2390,2098,2305,2221,2157,1820,1487,1597,1740,1555,1783,1926,1871,2899,2680,2193,2467,2447,2546,2706,2580,2190,1589,1525,1515,1604,1619,1808,1845,1703,1814,2392,2744,2595,2316,2109,2132,1746,1676,1782,1952,2096,1951,2543,3397,3345,2476,2181,2439,2110,1835,2037,2125,1740,1964,2234,2120,1979,2260,2634,2679,2280,2024,2294,2188,1726,1730,2015,1784,2039,2349,2343,2623,2775,2766,2918,2943,2585,2448,2207,2162,2436,2020,2053,2405,2524,3022,3340,2792,2181,1805,1849,2064,2471,2326,2069,1996,2268,2473,2302,2459,2930,2696,2068,1866,2299,2322,1744,1554,1719,1914,1985,2250,2210,1700,1578,1399,1462,1579,1653,1531,1708,1499,1637,1661,1946,2231,1937,1766,2096,2069,1697,1775,1909,1889,1889,2025,1795,1647,1442,1766,2361,3159,3242,2542,2099,1874,2197,2396,2566,2057,2302,2010,1976,2015,1786,1683,1810,1996,2231,2532,2530,2900,2589,2277,2438,2625,2320,2792,2662,2556,2898,2864,2345,2408,2753,2497,2672,3404,3093,2427,1923,2436,2135,1489,1469,1660,1681,1763,2310,2458,1871,2051,1887,1614,1818,2177,1964,1620,1621,1682,1694,1752,1792,2138,2954,3348,3109,2317,1925,2138,1973,1824,1819,1958,1890,1762,1852,1760,1693,1673,1476,1632,1823,2072,1781,1658,1631,1648,1750,1660,1691,1800,1890,1976,2522,2832,2197,1842,1904,1835,2160,2346,1910,1638,1630,1794,2432,2452,2208,2288,2504,2868,2990,3175,3315,3015,2740,2990,3399,3538,3094,3047,2082,1644,1527,1764,1807,1898,1773,1587,1781,2141,2307,2147,2576,2137,2055,2082,1728,1806,1931,1875,2040,1981,2014,1926,1809,1711,1756,1955,2139,2953,3251,2300,1738,1848,2283,2058,1703,2306,2338,2230,2351,2380,2687,2999,2153,1662,1706,2117,2511,2299,1857,1723,1768,1653,1561,1961,2365,2427,1904,1820,2260,2562,2476,2159,1773,1723,1883,2088,2157,2281,1872,2624,2433,2301,2001,2251,2854,3045,2675,2521,2733,2828],[3916,4144,3872,3563,2988,2710,2366,1877,1751,2492,3088,3244,3350,3374,3107,3395,3498,3644,3696,3728,3688,3596,3508,3453,3606,3706,3760,3858,3851,4017,3672,3284,2971,2867,2723,2880,3164,3266,3349,3199,3084,3323,3560,3330,3176,2898,3222,3300,3394,3404,3068,2819,2711,3016,3808,3814,2615,2365,2768,2710,3472,3868,3724,3583,3792,3389,2810,2285,2111,2380,1874,2334,2338,1765,2029,1876,1701,1940,2005,1593,1898,2510,2568,2836,2818,2817,3234,3138,2313,2840,3042,3240,2796,2321,2105,1998,2111,2211,2209,2198,2367,2142,2105,2271,2290,2308,2265,2718,2878,2833,2438,1994,2298,2808,2608,2248,2147,2801,3284,3614,3362,2992,3037,2863,2707,2700,2465,2377,2415,2256,2222,2360,1992,1674,2121,2463,2501,2293,2241,2196,1906,2188,2376,2596,2756,2574,2190,1676,1939,2729,2294,1887,1743,1803,1954,2028,2643,3064,2552,2348,2130,2147,2474,2451,2451,2138,1982,2460,2392,1685,2183,2202,2140,2626,2353,2330,2855,2901,2512,2051,1853,2007,2040,2039,1681,1299,1882,2808,3172,3294,3096,3041,2798,2611,2950,3520,3736,3858,3190,3362,3540,3453,3719,3889,3588,3283,2698,2810,3100,3052,3140,3312,3169,2641,2546,2532,2207,2279,2605,2688,2181,2212,2565,2691,2846,2911,2698,2435,2837,3194,2695,2768,2749,2322,1864,1453,1580,2464,3006,2928,3220,3294,2854,2055,2049,1656,1721,1955,2036,2522,2799,3111,3421,3225,2554,1703,2075,3476,4000,3755,3122,2454,2681,2447,2320,2438,2326,1976,2149,2785,2631,2676,2294,2474,3260,3345,3099,2689,2490,2290,2076,1851,1862,1726,1752,1559,1457,1561,1526,1504,1524,1474,1544,1698,1808,1541,1565,1777,1734,1926,1982,2020,1904,2048,1938,1758,1880,1955,1811,1655,1927,2028,1720,1604,1842,1786,1482,1621,1965,1983,1976,2196,2157,1780,1792,1798,1804,1895,2002,1810,1874,1924,1923,2181,1710,1138,1269,1546,1651,1547,1669,1660,1557,1460,1476,1359,1418,1645,1632,1549,1611,1684,1692,1854,2093,1947,1972,2282,2934,2707,2132,1868,1787,1665,1603,1984,2741,2943,1915,1687,1678,2097,2588,3142,3197,2723,3086,3750,3240,3118,3448,3097,2810,2769,2366,2477,2286,2053,2017,2170,2348,2563,2576,2313,1693,1830,2004,2690,1970,1528,1594,2120,2205,1964,1925,2279,2351,1947,1697,1779,2007,2053,1996,1771,1563,1645,1745,2095,2200,2054,2083,2123,2042,2222,2174,2376,2297,2118,1920,1958,2106,1870,1790,1746,1708,1732,1604,1754,2068,1760,2185,1998,1857,2216,2505,2621,2790,2988,3029,3045,2554,2792,2768,2998,3527,3835,3562,3360,3242,3077,2648,2009,2099,3376,3279,2688,2311,1907,2041,2513,2557,2424,2522,2673,2999,3753,3719,3265,2130,2186,2277,2568,2320,1910,2117,2580,2797,2955,2864,2598,2486,2420,2199,2164,1881,1688,1573,1480,2248,3017,3218,3256,3051,2879,2828,2254,2136,2442,2643,2308,2976,3332,2430,1863,1919,2048,1874,1876,1984,1627,1377,1452,1568,2032,2225,2195,2405,2163,1652,1604,2366,2749,2165,1870,2173,2722,3060,2754,2552,2800,2784,2635,2382,2222,2164,2472,2784,2235,2255,3074,2564,1771,1892,1885,1785,2095,2354,2622,2756,2622,2669,2639,2598,2242,1885,2437,2604,2716,2956,2658,2132,1761,1998,2570,2798,2885,2507,2589,3010,3227,2768,2491,2468,2272,2341,2173,1892,2077,2008,1699,1771,1701,1656,1925,1647,1783,1981,2765,3071,2403,1953,1983,2100,2542,2295,2529,2174,1786,1920,2381,2132,2100,1953,1822,1773,1682,1623,1707,1702,1943,1986,1783,1730,2691,1843,1497,3322,4003,3308,3198,2808,2430,2070,2041,1741,1542,1776,2159,2031,2419,2803,2456,2391,2776,2468,1681,1422,1656,1730,1628,1536,1824,2129,2140,2169,2037,1995,2382,2619,2652,2398,2362,2526,2598,2032,1978,2752,2602,2119,2369,2537,2569,2700,2033,1106,1602,2214,1787,1544,1680,2076,2705,2787,2487,2474,2822,2989,2405,2501,2902,2696,2433,2706,2371,2344,2325,1959,1737,1754,1738,1829,1696,1754,1829,1561,1814,1889,1799,2164,2669,2666,2315,1926,2230,2365,2392,2257,2843,2990,2750,2608,2647,2598,2257,2410,2432,2509,2563,2219,1659,1254,1883,2148,2001,2009,2054,2224,2319,2074,2591,2872,2429,2452,2734,2437,1636,1344,1354,1347,1448,1996,1598,1375,1435,1526,1744,1994,2511,3183,3239,2863,3266,3115,2712,2639,2451,2562,3121,3399,3172,3200,3256,2397,2017,1820,2029,2268,2725,3226,3124,2610,2493,2807,3038,2731,2355,2295,2523,2151,1801,1918,2013,1980,2222,2201,1791,1960,2509,2973,2910,2810,3019,2356,2426,2790,2103,2558,3206,3018,2667,2128,2267,3440,3885,3110,2572,3243,3614,4002,4037,3398,2998,2568,2039,1691,1604,1504,2021,2897,2924,3471,2908,2576,2565,2966,2805,2499,2191,2793,3140,2304,2272,3152,2850,1957,1639,2314,2950,3002,2662,2142,2128,1964,2188,2073,1953,2789,3045,3046,2871,3060,2935,2010,2183,2578,2546,2361,2706,3248,3625,3086,1864,2510,2039,1932,1588,1832,2921,2261,1353,1663,2058,1600,1677,2484,2220,1754,1725,2265,2792,2632,2320,2128,2529,2994,2500,1682,1750,1631,1590,2000,2171,2178,2288,2374,2109,2011,2056,2208,2342,2541,2467,2304,2646,2460,2618,2346,2735,3211,3215,3796,4239,3609,2592,1967,1380,1409,2157,2172,1916,2136,2510,2493,1785,1998,2404,2577,2595,2115,2096,2279,2371,2589,2244,1654,2095,2060,2092,1873,1587,1217,1001,1599,2034,1716,1415,1696,1981,1670,1505,1548,2154,2349,2146,1779,1881,2239,2136,1680,1582,1853,1858,1732,1853,1908,2001,1592,1486,1499,1356,1460,1740,1739,2060,2521,2457,2466,2514,3054,2714,1532,1821,1914,1614,1859,1766,1522,1808,2196,2081,1979,1792,1632,1967,2508,2822,2482,2359,2163,1905,1804,1882,2304,2236,2149,2152,2197,2116,1728,1887,2159,1859,1575,1765,1744,1764,1584,1609,1651,1577,1599,1719,1802,1862,1983,2215,2046,1948,2299,3152,3894,3960,3716,3862,4062,4188,4232,4122,4029,3746,2788,2217,2610,2779,2653,2484,2025,1627,1539,1922,1476,1814,2368,1740,1297,1827,2423,1766,1204,1053,1542,2493,2599,2380,2584,2778,2578,2325,2179,2368,1983,1785,2148,2047,2009,1902,1904,2137,2532,2658,1880,1778,2121,2145,2089,2056,1791,2288,2490,2190,1529,1507,1915,2098,2115,1973,2076,2208,1997,1878,1644,1656,1496,1941,1824,1624,1493,1588,1672,1665,1534,1432,1621,1819,2156,2069,2189,1724,1432,1463,1490,1553,1732,2201,2262,1745,1480,1455,1679,1465,1422,1418,1411,1434,1411,1453,1614,1570,1844,2766,2755,2314,1853,2093,1841,1609,1598,1397,1456,1839,1861,1942,1815,1562,1347,1401,1727,1661,1550,1473,1354,1214,1427,1578,1748,1759,1729,1493,1324,1444,1245,1466,1354,1403,1386,1284,1333,1395,1371,1352,1486,1576,1404,1331,1712,1736,1605,1797,1810,1584,1343,1515,1678,1856,1899,1664,1787,2028,2112,2777,3108,3770,4089,4422,5008,4539,4163,4584,4835,4476,3330,2354,2278,2227,2261,2299,2287,2367,2444,2645,3206,3085,1996,1559,2208,3086,3090,2989,3342,3752,3805,3639,3958,4568,4452,3006,1951,1692,2031,2244,2336,2388,2809,2321,2388,2532,2282,2195,2120,1904,2053,2268,2154,2240,2099,2555,2356,2240,1974,1922,1970,2011,2225,2545,2731,2901,3361,3763,3160,2219,2039,1872,1895,2038,2237,2700,2888,2343,1898,2047,1759,1461,1395,1374,1472,1344,1880,2080,2082,1971,2123,2714,2543,2053,2076,1634,1592,1544,1586,1365,1377,1440,1478,1877,1707,1652,1715,1854,2526,2641,2202,2197,2615,2424,2273,2644,3168,3274,3346,3477,3510,3348,2401,2380,2483,2191,2008,2247,3047,2828,2536,2249,2376,2781,2646,2121,2472,2092,2115,2070,2341,2087,1636,1545,1321,1497,1747,1690,1634,1686,1578,1662,1848,1558,1533,1704,1700,2080,2330,2198,1988,1696,1522,1644,2070,2029,2285,2270,2100,3398,3374,2468,2239,2234,2281,2205,2026,2055,1908,1953,1638,1626,2048,2350,1904,1608,1759,2299,2379,2108,2150,1955,1866,1994,2224,1931,1994,2029,2408,3272,3648,3195,2163,1999,2213,2091,1954,2212,1892,1813,2150,2307,2069,2005,1942,1903,2290,2402,2146,2371,1556,1266,1648,1866,1572,1352,1460,2235,3104,3222,2839,2831,3124,2729,2410,2252,2356,2364,2722,2788,2576,2639,3348,3371,2654,2370,1876,1929,2558,3529,3414,2603,1520,1606,1885,1723,1998,2069,1926,1829,2003,2270,1962,1750,1660,1957,2329,2389,2747,2339,1770,1739,1344,1598,1636,1600,1592,1908,1728,1934,1863,2114,2513,2088,1989,2489,2534,1626,1496,1676,1680,2052,2114,1705,1769,1987,2536,3130,3539,3225,2510,2097,1905,1997,2324,2484,2126,2225,2191,2394,2245,1726,1690,1897,2131,2641,2866,2317,2788,2713,2791,2638,2750,2773,2802,2734,2871,3210,3342,2574,2362,2511,2714,2536,2177,1797,1766,1629,1453,1433,1662,1738,1669,1502,1655,2248,2233,1913,2007,2053,1828,1777,1898,1641,1585,1752,1833,1714,1721,1932,2833,3425,3420,2657,2031,1813,1816,1830,1778,1875,2038,1765,1787,1974,1635,1528,1613,1579,1653,1908,1726,1676,1794,1643,1752,1908,1726,1824,1830,1950,1801,2283,2514,2609,2502,2093,2004,2116,1971,1775,1665,2017,2711,3120,2886,2499,2452,2775,2987,2866,2597,2753,3118,3116,3287,3602,3749,3291,3217,2658,2009,1675,1630,1627,1641,1654,1810,1948,1830,2121,2326,2554,2350,2354,1884,1447,1984,2215,1900,2039,2016,2210,2173,2032,1953,1624,1720,1907,2388,2314,1909,1721,1576,1700,1582,1500,2141,2763,2966,2775,2182,2675,2769,2134,1954,1950,2030,1895,1646,1749,1751,1610,1461,1650,1676,1747,2078,2092,1755,1935,2425,2285,2034,2005,1846,2113,2214,1869,1627,1745,2516,2221,1937,2055,2277,2910,3056,2463,2600,2847,3193],[3540,3991,3913,3717,3322,3076,2790,2083,2029,2744,3397,3596,3421,3151,3088,3320,3480,3715,3730,3660,3624,3492,3509,3619,3582,3628,3708,3847,3782,3766,3657,3476,3061,2630,2583,3041,3242,3207,3659,3532,3261,3278,3616,3451,3369,2992,2978,3121,3388,3426,3032,2604,2511,2647,3030,3226,2802,2851,2934,3131,3523,3486,3470,3251,3282,3261,2750,2416,2484,2602,1824,1981,2290,2039,2099,1882,1805,1912,2239,1932,1776,2081,2649,2910,2619,2483,2790,2533,2008,2224,2557,2743,2841,2509,2115,2065,2408,2457,2315,2231,2588,2078,2116,2603,2741,2911,2974,2962,2889,2749,2863,2844,2852,2702,2484,2434,2134,2602,3076,2923,2196,2159,2750,3112,3173,2758,2785,2641,2707,2729,2428,2115,2002,2410,2731,2591,2289,1985,2204,2374,2260,2718,2656,2801,2714,2611,2357,1787,2194,2436,2047,2240,2843,2786,1967,1904,2070,2225,2367,2019,1862,2373,2172,1525,1794,1832,1990,2331,2502,1630,1948,2436,2649,3046,2838,2547,2613,2510,2371,2374,2510,2266,2004,2081,1824,1580,1823,2706,3469,3357,3168,2907,2622,3113,3349,3594,3772,3474,3510,3753,3603,3582,3564,3649,3693,3088,2788,3153,3120,3128,3108,3216,3155,2752,2604,2529,2482,2292,2225,2310,2087,2205,2690,2472,2942,3400,3037,2561,2743,2379,1499,2536,3090,2217,1848,1763,1954,2134,2304,2423,3211,3252,3046,2396,2513,2417,2164,2053,1717,1783,2414,3128,3283,3439,2776,1814,1866,2636,3034,2997,2941,3206,2871,2114,2152,2187,2229,2452,2864,3210,3253,3085,2640,3147,3738,3615,2976,2410,2451,2380,2099,2084,2101,1471,1551,1762,1635,1558,1425,1408,1481,1625,1826,1756,1714,1594,1792,1844,1829,1703,1843,2046,1897,1942,2070,2008,1815,1951,1499,1021,1596,1989,1635,1443,1797,1750,1463,1493,1552,1583,1942,2400,2307,1888,2010,1899,1904,1914,1914,1808,1748,1781,2292,2460,1518,1128,1277,1758,1638,1516,1546,1604,1505,1374,1443,1438,1469,1543,1576,1577,1738,1816,1652,1557,1938,1759,1800,2002,2321,2151,1783,1586,1434,1599,1798,1882,2867,2990,1855,1336,1197,1714,2485,3117,3386,3312,3383,3317,3118,3332,3133,2928,3041,2493,2268,2227,2080,2200,2515,2673,2178,2409,2511,2527,2385,2344,2397,2323,1916,1676,1513,1881,2267,2055,1995,2143,1962,1809,1560,1546,2082,2252,2468,2259,1924,1899,1888,1742,1808,1946,1947,1815,1839,1987,2132,2353,2420,2521,2406,2333,2188,2090,1799,1646,1711,1769,2007,1812,1573,1767,1900,1482,1649,1863,1838,2234,2706,2755,2596,2972,3001,2842,2520,2895,3394,3629,3518,3450,2895,2318,2159,2054,2232,3080,2810,2697,2175,1829,1979,2405,2402,1780,1509,1586,2247,3773,3630,3152,2562,2730,2557,3242,2929,2222,2213,2497,3146,3479,3183,3043,2852,2313,1982,1923,1926,1553,1522,1589,2176,3110,3442,3372,3265,2814,2390,2181,2125,2289,2512,2263,2818,2718,1903,1860,1925,1934,1983,1749,1690,1841,1713,1741,1733,1758,2050,2142,2512,2359,1776,1650,2230,2604,2076,1933,2128,3054,3429,2832,2520,2507,2331,2368,2305,2238,2171,2699,2879,2197,2139,2664,2298,1925,2007,2330,2094,1995,2261,2398,2399,2465,2313,2126,2058,2046,2641,3104,3154,2753,2788,2519,2066,1803,1960,2933,3156,2677,2093,2528,2409,2226,2087,2132,2031,1786,1700,1495,1695,2042,2150,1727,1532,1477,1815,2339,2174,2092,1967,2412,3055,2631,2146,2085,2063,2383,2083,2600,2096,1885,2478,2708,2646,2483,2082,1720,1857,1758,1660,1742,1998,2296,2190,2337,2754,3042,2430,1955,3134,3847,3040,2902,2576,2092,1749,2142,1694,1355,1651,1953,1910,2433,2677,2341,2547,2622,2059,1554,1719,1843,1113,928,925,1681,1991,1811,1756,1617,2105,2743,2610,2366,2322,2617,2301,2554,2327,2061,2490,2321,2219,2392,1867,2176,2603,2347,1566,1659,1723,1866,2597,3087,3008,3027,3018,2322,1948,2735,3310,2532,2395,2106,2458,2320,2446,2315,2336,2419,2069,1756,1738,1578,1682,1628,1292,1182,1573,2554,2915,2455,1778,2035,2299,1799,1787,2258,2406,2584,2484,2646,1869,2162,2253,2312,2400,1970,1533,1666,2353,2574,2499,1957,1323,2343,2730,2183,1997,2220,2232,2027,2089,2845,3270,2963,2483,2511,2698,2496,1668,1417,1454,1359,1300,1249,1325,1471,1587,1972,2569,2869,2973,3331,3850,4145,4014,3109,2478,2455,2575,2575,2923,3302,3233,3111,2485,2140,1941,1974,2156,2357,2943,3420,3417,2774,2386,2700,2812,2452,2403,2080,1627,1729,2066,1966,1809,2261,2200,2219,2536,3009,2952,2855,2832,3271,2063,2111,2226,1775,2225,2774,2834,2612,2245,2371,2796,3441,3240,2534,3110,3918,4188,4172,3861,3168,2774,3110,2462,2189,1929,2017,2197,2720,3013,2836,2919,3282,3294,3012,2585,2249,2609,2751,2129,2300,3538,3332,2292,2372,2913,2322,1954,1673,1595,1958,1800,2007,2393,2676,2841,3274,3455,2886,2570,1933,2020,2929,3278,3253,3207,3306,3124,2752,2956,2288,2532,1923,1798,1522,1956,2517,2204,1823,2050,2292,1736,1715,2576,2092,1888,2426,3065,2723,2670,2521,2463,2621,2667,2103,1537,1621,1813,1881,1947,2164,1992,2190,2525,2259,2073,2295,2340,2084,2415,2534,2646,2542,2524,2754,2558,2777,2923,3344,3779,3790,3310,2270,1366,686,1058,1949,2291,2657,2837,2360,1821,1533,1772,1857,2266,2680,2128,2351,2341,2163,2190,1643,1603,2222,2265,1958,1665,1342,1001,1378,1903,1697,1208,1468,2085,1985,1465,1361,1989,2618,2464,1850,1780,2168,2317,2070,1838,1874,1991,1688,1698,1919,1743,1603,1544,1613,1441,1380,1929,2450,2245,2492,2605,2623,2643,2840,3265,2147,1650,2098,1616,1534,1498,1476,1506,1962,2301,2053,2026,1645,1380,1562,1854,1793,1802,2102,2146,1981,1802,1865,1608,1691,2010,2138,2311,2043,1953,2220,2031,1621,1622,1774,1678,1483,1382,1556,1713,1736,1703,1598,1670,1815,1813,1662,1737,1793,1922,2143,2595,2748,2370,2865,3377,3716,3887,3875,3829,3426,2526,2475,2432,1832,1924,1874,1859,1499,1932,2319,2090,2196,2156,1700,1487,1821,2430,1778,1941,2003,2015,2238,2029,1699,2533,3153,2563,2194,1624,1306,1469,1579,1767,1796,1937,1697,1648,1812,2166,2456,1915,1907,2296,2435,2382,2277,1763,1709,1644,1721,1776,1877,2019,2138,2177,2207,2382,2611,2219,1912,1764,1669,1553,1693,1670,1521,1420,1436,1447,1596,1771,1848,1796,2065,2634,2036,1621,1449,1390,1375,1444,1535,1651,1763,1663,1471,1433,1734,1631,1317,1339,1281,1266,1322,1372,1408,1547,1582,1824,2451,2312,2247,1942,1878,1787,1607,1506,1432,1443,1607,1750,1742,1651,1532,1331,1755,1866,1761,1564,1515,1365,1367,1462,1521,1687,1719,1661,1577,1501,1348,1488,1610,1407,1418,1423,1245,1366,1617,1468,1476,1664,1512,1385,1399,1326,1426,1682,1592,1725,1810,1514,1386,1466,1757,1903,1700,1679,1964,2330,2712,3118,3749,3717,4044,4829,4561,4197,4678,4825,4644,3488,2309,2254,2300,2267,2319,2276,2337,2370,2556,3183,3065,2646,2313,2458,2272,2112,2776,3120,2885,2901,3254,3481,4144,4341,3462,2712,1986,2107,1945,2039,2379,3003,2502,2159,2619,2623,2094,1898,1756,2103,2363,2290,2102,1837,2293,2403,2337,2215,2044,1888,1932,2088,2288,2463,2915,2950,2680,2178,1901,2348,2739,2602,1980,2107,2809,3148,2522,2147,1914,1572,1423,1376,1399,1602,1533,2079,2501,2242,2143,2130,1824,1637,1851,2015,1586,1854,1814,1528,1348,1286,1333,1344,1310,1479,1765,1732,1847,2298,2478,2382,2792,2891,2436,2431,2546,3057,3587,3484,3364,2924,2036,1542,2330,2705,2757,2995,3243,3760,3453,2710,2865,3655,3695,3666,3209,2419,1830,2077,1839,1690,1780,1758,1736,1570,1464,1579,1662,1796,1859,1702,1714,1837,1514,1641,1770,1799,2156,2255,2041,2226,2259,2021,1642,1998,2886,3688,3133,2044,2376,2925,2625,2082,1794,1937,2169,2331,2421,2214,2320,1868,1805,2177,2118,2055,1990,1825,1946,2042,2265,1823,1448,1627,2294,2665,1968,1663,2274,3344,3748,3513,2522,1743,1903,2090,2114,2190,2338,2150,2070,2180,2261,2234,2261,2101,2322,2201,2553,2478,2042,1200,961,1438,1905,1848,1671,2097,2655,3238,3301,2801,2966,2985,2898,2834,2832,2473,2632,2976,2776,2230,2449,3242,2707,2257,2668,2565,2270,2648,3201,3442,2696,1467,1665,1939,1750,2109,2204,1852,1825,2144,2066,2058,1975,1838,1799,1694,1795,2148,1987,1605,1741,1717,1755,1709,1521,1606,2162,2015,1770,1759,2059,2317,2010,1914,2135,2602,2001,1996,1995,1747,2070,2131,1667,1659,2393,2886,2885,2483,2403,2348,2328,2192,2379,2739,2657,2469,2108,2180,2678,2449,1938,1985,2137,2479,2721,2599,2092,2753,2833,2862,2894,2678,2767,2783,2750,2979,3514,3688,2991,2536,2664,2917,2470,1965,1645,2048,1992,1045,1484,1783,1617,1544,1670,1675,1692,1637,1660,1869,2018,1876,1830,1803,1607,1602,1714,1855,1895,2030,2269,3086,3447,2965,2135,1845,1874,2010,1910,2077,1971,1958,1816,2070,1734,1446,1451,1594,1498,1735,1935,1685,1992,1850,1697,1532,1780,1863,1962,1932,1979,2239,2341,2191,2635,2955,2445,2022,2104,2062,1654,1707,2332,2925,2666,2384,2777,2955,2783,2831,2608,2529,2944,3100,3130,3013,3152,3674,3795,3495,3168,2544,1964,1981,1755,1561,1627,1853,1995,1747,1825,2075,2269,2163,2106,1918,1580,1965,2544,2175,2210,2069,2292,2759,2546,2071,1630,1555,1581,1659,1724,2084,2275,1649,1482,1456,1440,2027,3162,3345,3061,2544,2768,2666,2017,1869,1932,1948,1723,1552,1677,1632,1540,1555,1594,1498,1514,2060,2358,1907,1896,2277,2059,1609,2070,1915,1827,1698,1753,1844,2354,2872,2734,2264,2039,2531,2727,2864,2705,2740,2685,3012],[3540,3758,4012,4052,3779,3736,3395,2710,3011,3493,3328,3630,3764,3606,3292,3308,3504,3752,3728,3598,3589,3547,3495,3517,3527,3551,3732,3859,3758,3732,3688,3608,3174,2724,2814,3145,3422,3253,3504,3377,2834,2856,3442,3707,3710,3453,3216,3350,3408,3341,3150,2635,2701,2957,3416,3580,2890,2714,2567,2279,2666,3275,3476,2909,2414,2465,2261,2158,2761,2752,2001,2024,2281,2057,2022,2542,2662,2336,2170,1902,1973,1843,2138,2599,2302,2180,2712,2298,1888,2502,2734,2529,2634,2301,2111,1971,2080,2443,2646,2707,2305,1693,2104,2750,2985,3200,3056,2919,2899,3108,3377,3142,2574,2357,2311,2368,2231,2171,2321,2223,1844,2102,2254,2797,3067,2921,2740,2352,2732,3222,2584,2131,2032,1949,2292,2439,2014,1952,1920,2072,2500,2678,2685,2495,2166,2607,2555,2144,2469,2199,1482,1387,2194,2523,2238,2053,2688,3030,2653,2049,2070,2172,2018,1723,1964,1940,2503,2334,2383,1681,1476,1857,2736,2918,2512,2585,2732,2513,2744,2679,2078,1768,1824,2166,2187,1806,1776,2527,3270,3028,2750,2416,2421,2976,3459,3563,3043,2745,3050,3305,3078,2984,3431,3726,3714,3032,2924,2778,2576,3056,2697,3033,3272,3124,2900,3008,2932,2205,2276,2393,2172,2373,2913,2466,2927,3559,3440,3233,3462,2762,1527,2592,3347,2273,2069,1826,1653,1661,1855,2326,3275,3193,3217,3168,3196,2514,1786,1774,1633,2055,2910,3095,2731,2841,2420,2288,2490,2634,3143,3504,3415,3906,3676,2743,2336,2136,2359,2496,2668,2611,2645,2890,2962,3265,3862,3573,2979,2732,2732,2358,1997,1845,1875,1580,1684,1977,1949,1742,1525,1573,1722,1745,1674,1724,1756,1788,1754,1598,1694,1469,1747,1976,1786,1946,2535,2844,2223,2103,1421,1589,2037,2028,1922,1780,1756,1656,1446,1512,1488,1556,2204,2980,2997,2595,2800,2533,1932,1734,1816,1895,1863,1868,2309,2316,1523,1424,1414,1584,1476,1448,1749,1902,1605,1370,1476,1689,1697,1543,1595,1461,1849,2103,1640,1548,1838,2321,2284,1625,1684,1654,1636,1792,1730,1747,1728,1766,2294,2419,1959,1393,1315,2040,2644,2785,3028,3135,3112,3041,3344,3095,2552,2658,2762,2240,2103,2148,2191,2234,2701,2745,2200,2677,2625,2430,2461,2481,2262,2119,2289,2295,1775,1716,1839,2120,2190,2010,1892,1607,1640,2008,2346,2470,2415,2328,2317,2396,1837,1614,1878,1914,1971,1665,1722,1796,2128,2483,2450,2363,2432,2160,1946,2002,1890,1959,1920,1761,1722,1560,1393,1671,2043,1788,1464,1803,2156,2554,2674,2497,2215,2714,2842,2669,2807,2957,2890,2669,2810,3303,2855,2419,2292,2358,2205,2434,2530,2520,2045,1997,2121,2048,1935,1722,1252,1422,2050,3493,3110,2544,2363,2886,3354,3808,3086,2100,1982,2158,2901,3819,3592,3418,2768,2011,1866,2132,2122,1940,2020,1821,1859,2396,2896,3176,3249,2962,2565,2665,2509,2335,1974,1836,2136,2161,1874,1655,1934,2198,2155,1753,1556,1792,1639,1752,1754,1912,1935,2058,2291,1975,1617,1717,2464,2605,2083,2029,2178,3243,3747,3310,2867,2342,1723,1517,2068,2209,2067,2280,2470,2148,2505,2164,1814,1899,2237,2456,2230,2126,2404,2134,1681,1775,2306,2230,2092,2615,2962,3275,3084,2349,2370,2446,2114,2110,2468,3146,3054,2460,2157,2503,2341,1865,1678,1715,1442,1509,1816,1593,1774,1987,2056,1409,1136,1389,1788,2326,2333,1849,1763,2454,3120,2978,2425,2204,2041,1873,1863,2014,1811,1863,2123,2498,2700,2633,2458,1968,2012,1858,1891,1930,2604,3083,3332,3142,2440,2485,2902,2778,2842,3116,2946,2707,2296,1494,1743,1903,1632,1490,1698,1713,1727,2242,2510,2576,2743,2195,1744,1662,2096,2054,1481,1508,1576,1775,1888,1905,1952,2078,1741,2308,2416,2292,2942,3075,2446,2976,2678,2051,2247,2187,2551,3050,2193,2182,2076,2271,2225,2103,2084,2668,3483,3433,2983,2757,2568,2024,1958,2434,2595,2363,2019,2138,2330,2010,1898,2083,2097,2326,2171,1687,1577,1520,1588,1763,1864,1954,2020,2297,2689,2508,1910,2054,2070,1990,2196,2490,2586,2664,2722,2431,2194,2366,2395,2463,2425,2241,1570,1413,2575,2859,2557,2150,1764,2033,2365,2273,2547,2874,2483,2391,2907,3530,3429,3282,3000,2811,2774,2684,2155,1972,1751,1328,1355,1589,1556,1631,2152,2513,2552,2583,2989,4420,5092,4520,4408,4184,2810,2285,2570,2730,2276,2741,3310,3124,2728,2567,2152,1880,2015,2286,2533,2895,3087,2125,2123,2335,2532,2461,2176,1798,1690,1962,2504,2497,2232,2445,2603,2565,2750,2832,2601,3160,2675,2156,1808,2542,2757,2013,1946,2512,2617,2570,2166,2135,1676,1582,1580,1900,2332,2714,3065,3238,3056,2502,2320,2557,2034,1985,1972,2397,2325,2686,2821,2985,2812,2574,2832,2642,2271,2536,2821,2588,2574,2643,2945,2567,2500,2746,2509,1877,1526,1306,1448,2036,1863,1869,2344,2651,2314,2928,2866,2621,2558,2112,2500,3354,3341,3374,3465,3328,3273,3360,2973,2430,2277,1873,1830,1791,2187,2962,2686,2119,2105,2088,1997,2437,2843,2061,1867,2698,2988,2479,2124,2534,2966,2687,2653,2388,2477,2304,2611,2282,2072,2266,2160,2336,2554,2225,1889,2039,2395,2387,2732,2723,2327,2361,2514,2447,2442,2496,2352,2374,2301,2654,2445,1866,1140,1095,1798,2004,2175,2777,2829,1959,1490,1773,2111,2386,3124,2887,2274,2811,2832,2237,1568,1379,1749,2172,2180,1722,1443,1057,1196,1847,1534,1193,1488,1791,1890,1776,1580,1872,2376,2256,1726,1730,2020,2268,2054,1743,1714,1880,1968,1512,1632,1948,1816,1759,1688,1519,1478,1699,2265,2570,2395,2675,2640,2556,2702,3285,3061,1969,2322,2120,1496,1837,1698,1592,1666,2084,2126,2083,1943,1454,1471,1954,2118,1921,1600,1958,2154,1863,1777,1476,1106,1459,1772,1902,1954,1769,1908,2263,1831,1460,1704,1780,1615,1599,2040,2330,2286,2238,2150,2204,2576,2688,2818,2603,2435,2104,1924,1846,1770,1811,1986,2126,2396,2498,2497,2955,3448,3374,2634,2599,2215,2144,2401,2576,2379,2113,2378,2304,2236,2017,2177,2072,1569,1779,2032,1769,2297,2298,1824,1870,1714,1629,2674,2667,2227,1953,1498,1389,1366,1389,1383,1392,1604,1621,1660,2071,2338,2496,2191,1979,2059,2031,2154,1815,1662,1739,1502,1810,2138,2140,2166,2743,2932,2249,1611,1813,2305,2068,1694,1603,1627,1722,1611,1477,1554,1440,1526,1471,1551,1696,1748,2099,2534,2125,1834,1810,1365,1232,1312,1464,1620,1596,1355,1350,1295,1327,1173,1173,1252,1321,1358,1433,1678,1817,1666,1537,1942,2201,2253,2427,2342,2112,1927,1600,1396,1383,1474,1864,2006,1671,1474,1403,1415,1523,1504,1520,1522,1462,1461,1565,1489,1636,1886,1685,1452,1610,1657,1809,1902,1531,1366,1513,1470,1192,1403,1623,1582,1540,1556,1408,1494,1500,1537,1606,1569,1512,1745,1658,1594,1555,1610,1609,1831,1695,1760,1805,2420,2808,3093,3645,3632,3617,4020,3990,4016,4448,4448,4588,3392,2356,2255,2104,2065,2181,2230,2268,2289,2534,2968,2795,3141,3553,2840,2226,2270,2696,2953,2710,3072,3770,3560,3753,4151,4064,3229,2264,2108,2070,2278,2356,2518,2452,2353,2626,2545,1570,1803,1964,2691,2714,2500,2017,1914,2073,2088,2060,1985,1843,1929,2100,1814,1714,2188,2254,2061,2055,1890,1845,2122,2375,2072,1693,2062,2636,2458,2145,2122,1735,1565,1544,1539,1574,1736,1698,1773,2024,1881,1659,1758,1853,1911,1592,1511,1566,1655,1515,1501,1513,1341,1361,1284,1284,1519,1661,1538,1952,2071,2025,2417,2890,2264,1695,2029,2394,2665,3129,3451,3620,2793,1868,2337,3212,3410,3333,3108,3346,3812,3695,3240,2669,3340,3729,3608,3096,2292,2129,2143,1885,1692,1613,1742,1998,1734,1659,1744,1628,1744,1850,1737,2018,1875,1441,1750,2141,2137,2014,1870,1424,1958,2223,2110,2049,2068,2865,3374,3020,2220,1704,1882,2030,2066,2126,2310,2708,2689,2444,2125,1913,1963,2231,2192,2259,2303,1986,1804,1824,1976,2032,1582,1547,1636,1810,2046,1914,2110,2787,3262,3085,2886,1878,1686,1878,1970,2046,2500,2447,1967,2085,2417,2330,2148,2523,2508,2511,2680,3064,2596,1670,1655,1665,1725,2482,2116,1980,2718,2589,2610,2705,2379,2303,2423,2702,2656,2135,2078,2542,2842,2686,2160,2610,2620,2357,2670,2806,2383,1952,2438,2998,3342,2858,1690,1711,1792,1804,2126,2120,1770,1891,1983,1770,1820,1974,1878,1854,1740,1411,1794,1959,1840,1836,2054,1875,1578,1624,1694,1827,1794,1694,1792,1911,2115,1842,1723,1838,2177,2043,2321,2261,1923,1856,1905,1410,1391,1933,2423,2211,1703,1905,2153,2440,2414,2847,3162,2996,2828,2687,2620,2764,2569,2309,2229,2435,2352,2418,1997,1727,2408,2929,3263,2939,3020,3254,3066,3053,2756,2598,3062,2673,2271,2665,2607,1952,1630,1633,2160,2376,1580,2065,1778,1571,2035,2448,2579,1961,1545,1673,1619,1734,1790,1682,1761,1883,1598,1601,1692,1420,1813,2600,3312,3571,2958,2130,1986,2001,1868,1931,2165,1839,1993,2369,2312,1863,1521,1600,1743,1593,1979,1714,1798,2042,1775,1841,1762,2061,2096,1869,1927,2131,2330,2306,2272,2384,2518,2439,2137,2044,2054,1772,1903,2047,2332,2104,2084,3382,3720,3161,2822,2623,2905,3052,2986,2861,2513,2602,3188,3423,3370,3164,2680,2293,2143,1882,1760,1914,1970,1837,1761,1648,2015,2347,2146,2235,2610,1913,1686,2058,2284,2045,1876,2174,2477,2199,1810,1643,1621,1698,1684,2011,2349,2249,1948,1888,1633,1545,2054,2652,2832,2787,2432,2153,2090,1794,1864,1928,1960,1601,1476,1560,1531,1548,1627,1654,1625,1750,2070,1836,1609,2276,2414,2253,2096,2065,1870,1643,1588,1813,2109,2426,2584,2257,1525,1547,2220,2209,2609,3066,2464,2138,2730],[3714,3741,3859,3979,3938,3764,3508,3300,3444,3583,3373,3671,3926,3919,3560,3273,3347,3583,3649,3586,3646,3624,3586,3571,3502,3535,3759,3774,3608,3725,3814,3738,3474,3142,2917,3098,3122,2992,2937,2813,2407,2654,3078,3441,3627,3343,3215,3615,3428,3209,2986,2769,3009,3074,3106,3189,2756,2545,2421,2765,3419,3976,4209,3108,2178,2226,2408,2128,2680,2634,1885,1741,2092,2341,2460,2879,2652,2451,2036,2214,2301,2069,2357,2366,2003,2125,2701,2333,2021,2476,2597,2292,2101,2245,2274,2223,2311,2589,2872,2806,2448,1890,1892,2728,2717,2724,3109,2945,2769,2862,3364,3266,2858,2380,1888,1769,1962,2047,2071,2333,2096,1763,1782,2820,3337,3076,2355,1665,1970,2301,2148,2172,1705,1753,2116,2077,1900,1809,1742,2187,2513,2455,2701,2576,2675,2938,3144,3166,2553,2134,1032,836,1484,2233,2730,2751,2543,2423,2369,2284,2334,1924,2127,2059,1638,1969,2360,2402,2266,1823,1584,2079,2702,2430,2398,2610,2402,2490,3053,2918,2230,2210,2106,2032,2177,1931,1809,2537,3015,2728,2819,2576,2500,2496,3018,3057,2106,2208,3042,3423,3152,3263,3664,3620,3797,2960,2491,2247,2919,3327,2600,2458,3046,3121,2798,3168,3054,2109,2642,2737,2143,2405,2853,2828,2857,3120,3217,3247,3517,3194,2377,2863,2741,2356,2268,1946,1763,1615,1853,1955,2337,3046,3068,3178,3579,2770,1848,1807,1842,2375,2887,2747,2719,3031,3106,3509,3585,3068,3381,3598,3365,4051,4272,3098,2640,2460,2452,2531,2724,2535,2219,2464,2540,2698,3450,3387,3063,2693,2523,1959,1678,1624,1971,2226,2155,1827,1795,1764,1689,1672,1614,1721,1527,1544,1511,1618,1426,1702,1866,1461,1619,1941,2067,1942,2077,2541,1927,1898,1730,2700,3089,2383,2071,1955,1836,1483,1394,1350,1583,1627,1914,2769,2692,2669,2966,2346,1664,1550,1592,1745,1786,1853,1825,2073,2030,1858,1842,1719,1465,1421,1533,1699,1481,1434,1682,2104,1713,1715,1759,1868,2140,2192,1807,1792,2002,2141,2021,1595,1991,1742,2097,2169,1866,1786,1763,1874,2263,2450,2156,2050,2128,2708,3098,2313,2874,2969,2810,3035,3249,2448,2174,2736,2590,2293,2759,2277,2576,2741,2546,2719,2758,2433,2424,2017,1804,1922,2048,1967,2086,2090,1900,1880,1814,2280,2506,2319,2043,2007,1944,2046,2194,2204,2196,2757,2668,2376,1856,2380,2258,2009,2064,2202,2167,1690,1732,2015,1962,2125,2009,1555,1681,1512,1605,1871,1895,1820,1777,1665,1506,1755,2141,1907,1512,1870,2063,2299,2643,2578,2432,2873,2979,2894,2807,2434,2355,2679,2842,3249,2715,2062,2242,2399,1843,1816,2282,2273,1788,1564,1550,1719,1724,1801,1312,1893,2363,3140,2487,2111,1971,2315,2654,2412,2273,1736,1527,2028,2859,3561,3516,3718,3063,2182,2036,2326,2116,1875,2051,2024,2051,2268,2192,2834,3276,3296,2751,2618,2836,2656,2056,1524,1499,1742,1859,1782,2036,2584,2687,1823,1953,2094,1978,1974,1999,2270,2236,2099,2293,2156,1771,2133,2968,2520,1915,1970,2389,3332,3869,3718,3473,3098,2030,1652,2246,1911,1858,1989,2129,2118,2242,1980,2111,2443,2691,2833,2697,2280,2556,2174,1699,1707,2187,2410,2334,2410,2624,2946,2865,2397,2419,2321,2352,2012,2229,3067,3193,2740,2178,1954,2125,2142,2296,2208,1858,1721,1856,1929,1885,1960,2102,1844,1716,1838,1717,1794,1805,1499,1603,2321,3238,3251,2776,2175,1809,1979,2115,2051,2029,1912,2173,2532,2533,2461,2224,1941,1901,1862,1730,1812,2380,2687,2743,2325,2124,3050,3373,2746,2578,3075,3065,2657,1659,1722,1924,1641,1584,1542,1504,1441,1438,1496,1649,2247,2206,1743,1609,1856,2258,1854,1340,1575,1762,2070,2066,1266,1366,1961,1725,2224,2252,2387,2753,3039,2889,2258,2032,2209,2494,2569,2537,2717,2155,2621,2986,3167,3191,2626,2167,2526,3252,3398,2818,2232,1842,2148,2020,2155,2484,1892,1636,2179,2211,1669,2064,2508,2710,2733,2199,1663,1506,1604,1578,1883,2128,1927,2217,2744,2520,1671,1161,1812,2378,2579,2297,2184,2299,2428,2507,2143,1910,2253,2383,2315,2438,2793,2352,2248,3138,2814,2162,2063,2115,1759,1443,1839,2584,3387,3474,3339,3501,3331,3241,3397,3413,3354,2931,2535,2424,2195,2132,2056,1469,1499,1720,1876,2597,2649,2457,3109,4191,5069,5207,4748,4336,4106,3418,3338,2840,2665,2496,2308,2964,3492,3278,2792,2400,2130,2086,2243,2482,2659,2812,2532,2865,2542,2513,2744,2293,1797,1803,2135,2644,2892,2744,2512,2750,2457,2072,2188,2590,3128,2729,1854,2000,2644,2627,2464,2220,2366,2495,2535,1950,1792,1887,2003,1911,2071,2315,2354,2229,2135,2100,2248,2545,2646,2436,2462,2645,2687,2382,2216,2549,2999,2501,2165,2101,1978,2112,2919,2984,2397,2510,2199,2064,2205,2521,2724,2310,1871,1638,1608,2314,3023,2344,1753,1860,2307,2424,2550,2641,2821,3123,3087,3062,3173,2533,2634,2991,2937,2820,2955,2508,2112,2161,1907,1982,2238,2571,3089,2492,1824,1777,2184,2535,2945,2670,1835,2094,2569,2227,2183,2026,2335,2431,2474,2731,2718,2547,2753,2858,2608,2576,2190,2026,2502,2449,2220,2519,2796,2764,3111,2578,1950,2388,2809,2509,2270,2379,1995,1812,2047,2558,2190,1922,2190,1728,2623,3070,2621,2219,2603,2695,2280,1985,1728,1606,2383,3184,2541,2102,2612,2699,1935,1317,1697,2164,2208,2020,1412,1127,1069,1670,1720,1191,1285,1802,1790,1559,1620,1909,2140,2136,1550,1556,1866,2305,2386,1930,1580,1807,1952,1726,1499,1874,2062,1729,1679,1754,1880,1909,2147,2829,2388,2415,2708,2630,2697,2869,3161,2685,1996,2415,1730,1703,1837,1916,1738,1811,2057,1988,2049,1827,1553,1870,2382,2589,2220,1533,1946,2143,1821,1979,1528,1395,1896,2184,2148,1725,1838,2179,2338,1655,1501,1460,1689,1571,1915,2192,2061,2325,2238,1895,1912,2624,3025,3132,2919,3055,2809,1992,1682,1651,1596,1647,1699,1781,1888,1976,2101,2803,3067,2447,2032,2027,2269,2424,2635,2519,2041,2257,2390,2458,2114,2347,2031,1383,1392,1472,1568,1833,1849,1722,1885,2002,2160,2612,2369,2047,1618,1463,1498,1454,1423,1376,1331,1467,1565,1642,2128,1974,1967,2181,2535,1993,1551,2014,1986,2268,2428,1775,1782,1962,2062,2122,2911,3614,2597,1852,2064,2696,2311,1764,1762,1677,1703,1746,1844,1754,1700,1647,1391,1671,1724,1628,1865,1933,1869,2195,2367,1476,1233,1462,1509,1509,1531,1522,1404,1409,1418,1189,1129,1304,1392,1439,1650,2215,2122,1670,1880,2677,2692,2470,2438,2392,2449,2303,1764,1426,1425,1550,1653,1696,1562,1372,1410,1502,1594,1543,1286,1358,1403,1488,1520,1431,1864,2113,1565,1339,1425,1489,1697,1656,1553,1528,1410,1275,1217,1495,1541,1562,1509,1505,1442,1501,1713,1924,2004,1958,2023,2194,1690,1424,1636,1655,1525,1764,1781,2005,1969,2309,3022,3442,3885,3765,3309,3540,4018,3928,4231,4425,4453,3311,2723,2837,2757,2381,2003,2408,2338,2268,2387,2675,2986,3083,2873,2583,2792,2995,3241,3577,3572,4027,3937,3354,3298,3485,3710,2902,2244,2404,2652,2475,2074,1974,2389,2345,2252,2563,1899,1954,2222,2461,2421,2199,1858,1787,1859,1904,1798,1682,1735,1693,1612,1828,1690,1866,2081,2081,1928,1873,2105,2402,2209,1897,1846,2104,2728,1951,1856,1925,1806,1747,1630,1741,1860,1865,1712,1356,1404,1816,1614,1842,2153,1871,1589,1545,1544,1479,1359,1433,1390,1360,1443,1829,1672,1637,1430,1489,2160,2336,2027,2226,2212,1729,1636,1979,2406,2403,2455,2619,2984,2531,2132,2451,3076,3746,3837,3307,3513,3816,3740,3942,2955,2849,3341,3128,2548,2321,2276,2430,2451,1898,1641,1768,1920,1787,1828,1905,1538,1679,1875,2124,2664,2308,1629,1753,2219,2037,2090,2099,1971,2142,2732,3119,3357,2977,2586,2297,1830,1557,1604,1687,2030,2377,2370,2524,3050,2920,2536,2316,2479,2714,2386,2276,2498,2186,2003,1815,1803,1830,2091,2261,2124,1752,1826,2100,1655,2182,2686,3119,2874,2261,1765,1810,1850,2019,2214,2383,2497,2342,2832,2932,2259,1863,2608,2655,2408,2714,2699,2114,1547,1830,1687,1927,2542,2137,2187,2854,2508,2511,2519,2504,2571,2612,2598,2144,1656,1686,1784,1999,2347,2216,2850,2109,1720,2132,2277,2214,2192,2298,2774,2945,2692,1796,1575,1690,1864,2109,2056,1765,1703,1717,1638,1740,2037,2017,2193,1631,1107,1565,2032,2032,1646,1995,2023,1594,1719,1780,1420,1383,1628,1642,1930,2360,2029,1931,1976,1998,1917,1763,2032,2199,1870,1739,1685,1588,1764,1900,2125,2106,1865,1730,1769,2125,2658,2958,3045,3112,3225,2879,2735,2570,2252,2305,2549,2492,2567,2160,1907,2246,3293,3241,3199,3308,2762,2354,2767,2165,1937,2239,2292,2236,2259,2236,1714,1598,1871,2422,2315,1843,1881,1806,1655,1949,2409,2965,2512,1704,1627,1897,2064,1802,1597,1709,1888,1810,1744,1802,1851,2142,2945,3717,3085,2027,1793,1968,1831,2016,1919,1676,1779,2134,2222,2286,2205,1685,1499,1737,1787,1980,1775,1575,1643,1587,1720,1891,2070,1870,1832,1837,1840,2219,2578,2833,2305,2165,2381,2479,2394,2191,1968,2033,1909,2339,2932,2920,3544,3702,3555,3112,2610,2831,3041,2879,2490,2171,2397,2887,3229,3521,3340,2994,2555,2120,2453,2526,2502,2269,1768,1610,1488,1453,1668,1776,1974,1999,1673,1666,1875,1875,1943,2080,1975,2058,1921,1610,1491,1729,1772,1612,1702,1873,2021,2186,2099,1837,1622,1665,1954,2093,1818,1666,1639,1765,1674,1681,1770,1955,1951,1995,1902,1803,1719,1666,1893,1874,2064,2158,1981,1951,2738,2811,2493,2425,2242,1814,1654,1961,2495,2504,2397,2375,2272,1822,2171,2482,2566,2712,2717,2094,2097,2854],[4094,4107,3901,3875,3980,3739,3651,3538,3539,3618,3528,3607,3891,3948,3587,3363,3361,3505,3650,3674,3696,3667,3596,3505,3505,3641,3804,3797,3682,3805,3716,3705,3514,3243,2888,3200,3142,2906,2762,2541,2689,3117,3129,3251,3588,3458,3254,3193,3338,3139,2828,2915,2881,3111,3282,3309,3235,2907,2733,3271,3663,4151,4435,2923,2025,2380,2304,2003,2017,1770,1532,1562,1812,2379,2653,2603,2185,2587,2254,2668,2701,2685,2802,2789,2433,2102,2371,2543,2732,2976,2755,2524,2613,2939,2646,2249,2243,2428,2471,2679,2402,2052,2099,2872,2622,2374,2878,3118,3095,3234,3462,3484,3176,2614,2025,1814,2136,2238,2066,2128,2140,1942,2085,2891,3283,2679,1964,1628,1692,2076,2536,2189,1854,2253,2286,1783,1726,1748,2131,2766,2652,2612,2561,2157,2540,2590,3153,3469,3034,2929,2134,1672,2132,2742,3007,3426,3275,2652,2441,2401,2139,1572,1500,1469,1832,2199,2076,2209,2113,1771,1686,2212,2777,2888,2522,2430,2377,2285,2601,2697,2611,2556,2072,2054,2417,2447,2477,3147,3060,2830,2809,2899,2591,2301,2984,2762,2009,1926,2473,3274,3771,3448,3347,3435,3287,2427,2199,2663,3374,3521,2866,2832,3116,2684,2722,3322,2426,2248,2652,2492,2112,2508,3106,3270,2963,2755,2941,3554,3738,3220,2018,2132,2052,2513,2896,2353,1766,1658,1792,1797,2468,3285,3012,2863,2875,2656,2136,2049,2522,3406,3839,3082,2721,3184,3597,4014,3850,3082,3266,3330,3388,3994,4520,3734,3040,2620,2317,2398,2846,3020,2930,3023,2602,2478,2995,3116,3231,2772,1911,1697,1685,1989,2459,2245,1959,1726,1516,1582,1660,1703,1796,1709,1547,1504,1494,1400,1401,2030,2060,1841,2145,2250,2041,1912,1655,1577,1499,1543,1658,2493,2840,2089,2196,2530,2172,1668,1478,1365,1578,1713,1707,2083,2216,2493,2526,2223,1735,1470,1384,1576,1554,1627,1715,1924,1983,1840,1902,1811,1609,1459,1529,1681,1256,1409,1733,1909,1489,1525,1636,1737,1963,2153,1933,2100,1890,1742,1533,1516,1877,1716,1993,2084,1822,1671,1824,1813,1866,2014,2066,2395,3113,3431,2799,2242,2920,3274,2159,1924,2431,2037,2354,3097,3021,2686,2742,2091,2508,2141,1981,2542,2712,2175,1736,1789,1885,1875,2623,2337,2260,2179,2114,1875,1882,2431,2622,2098,2074,2272,2294,2293,2118,1914,2340,3076,2397,1866,2260,2535,2111,1974,2191,2438,2013,1464,1491,1759,2022,2450,2025,1624,1531,1534,1547,1471,1795,2352,2365,1899,1765,1995,2204,2175,2122,2003,1882,2131,2674,2877,2708,2603,2655,2748,2632,2334,2433,2376,2442,2540,2216,2061,2244,2134,1910,1901,2059,2031,2166,2176,1866,1788,1718,1783,1892,2388,2834,2954,2526,2270,2382,2310,1891,1768,1639,1240,1228,2033,2666,3315,4132,5456,4971,2929,2101,2055,1979,1794,2233,2221,2266,2203,1852,2058,2720,2824,2075,1834,2318,2463,2477,2233,2154,1902,1829,2122,2375,3113,2784,1801,1884,1924,1745,1737,2100,2316,2181,2062,2154,2169,1791,2462,3156,2407,1816,1897,2505,3543,3840,3848,3823,3403,1718,1758,2213,2405,2361,1909,1859,2002,1986,2310,3007,3024,2952,2551,2482,2532,2507,2702,2568,2379,3062,3334,2345,1831,2459,2596,2698,2708,2530,2273,2389,2043,1932,3074,3804,3132,2010,1772,2120,2575,2539,2230,2072,2338,2729,2832,2308,2103,2424,2132,1704,1934,1663,1682,1722,1959,1774,2339,2840,2910,2756,2089,1698,1789,1969,2446,2382,1993,1978,2136,2117,1893,1783,1750,1665,1897,2166,2309,2272,2126,2181,1694,1809,2937,3225,2940,2420,2562,2774,2082,1402,2126,2216,1922,1578,1415,1490,1600,1396,1319,1769,1813,1612,1559,1880,2581,2842,2256,1621,1874,2031,2430,2169,1760,2298,2388,2373,2511,2428,2199,1983,2143,2424,2313,2500,2734,2578,2344,2197,2128,1954,3091,3374,3161,3408,2970,2491,2586,2439,2291,2378,2724,2875,2956,2564,2423,2240,1752,1526,1741,1634,1677,2513,2578,2708,2642,2268,1964,1888,1758,1503,1686,2103,2223,2203,2642,2432,1310,1675,1798,1902,2026,2296,2352,2270,2228,2353,2098,1864,2413,2622,2253,2136,2403,2390,1915,2007,2201,2302,2024,1619,1853,1744,2110,3262,3626,3507,3544,3398,3330,3720,4001,3920,3885,3507,2905,2232,1850,2055,2055,1611,1838,2496,2280,2817,3022,3134,3916,4712,5303,5198,4916,4577,4477,4537,4372,3785,2807,2318,2233,2426,2669,3024,3406,2921,2477,2354,2339,2477,2568,2847,2916,2979,2769,2805,3043,2678,1979,1659,1898,2134,2210,3172,3124,2730,2508,2285,2517,2558,2546,2337,1864,2168,2261,1920,2259,1875,2047,2026,1965,2060,2330,3238,3354,2724,2578,2436,2098,2306,2033,2386,2700,2364,2480,2662,2661,2922,3076,2429,1910,2393,2998,2415,2284,1844,1786,2552,2784,2242,1968,2024,1791,2008,2254,2263,2171,2097,1638,2009,2297,2529,2725,2535,2082,2122,2579,2616,2766,3442,3109,3017,3295,3617,3686,2884,2989,3311,3043,2841,3186,2205,1433,2377,2479,2369,2632,2776,2874,2540,2159,2109,2555,2741,2795,2356,1880,2040,2658,2922,2781,2236,2414,2465,2676,2801,2674,2768,2958,2564,2495,2645,1976,2008,2360,2302,2372,2429,1813,2072,2369,2181,2095,2085,2145,2309,2754,3116,1899,2226,2669,2428,1710,2116,2267,1972,2449,3340,3631,3343,3526,2534,2843,2547,1691,1884,2759,2777,2285,1974,1792,1738,1420,1406,1823,1936,1814,1560,1136,1628,1743,1861,1461,1166,1383,1532,1535,1489,1876,2124,1973,1748,1653,1852,1981,2268,2355,1934,1647,1946,1990,1685,1608,1900,1977,1918,1843,1682,1815,2218,2482,2621,2347,2580,2910,2729,2525,2821,3111,2366,2423,2070,1663,1934,1917,1929,1929,1955,1963,2120,2150,1776,1957,2062,2462,2569,1767,1600,2073,1896,2405,2912,1749,1550,1919,2152,2300,1738,1721,2097,1910,1664,1838,1866,1982,1784,1738,1846,1869,2046,1751,1793,2265,3624,3496,3090,3119,2684,1929,1376,1113,1427,1682,1864,1897,1613,1499,1602,1655,1969,2126,1974,1737,1717,1946,2045,2178,2323,1587,2070,1980,1888,1925,2071,1785,1321,1324,1413,1577,1645,1717,1535,1565,2145,2408,2169,1719,1541,1391,1355,1472,1447,1388,1400,1439,1434,1499,1745,2459,1870,1732,1960,2371,1984,1388,1673,2148,2665,2491,1905,1570,1647,2311,2799,3010,2598,2189,2192,2360,2527,1944,1805,1666,1510,1599,1852,1861,1931,1988,1660,1488,1685,1670,1471,1454,1725,2207,1885,2004,1497,1361,1389,1352,1414,1449,1356,1220,1321,1477,1112,1179,1389,1679,1475,1732,2616,2311,1697,2235,3033,3068,2683,2642,2360,2756,2756,2213,1590,1946,2110,1915,1715,1560,1462,1422,1406,1431,1460,1333,1399,1403,1520,1561,1628,2012,2138,1619,1490,1642,1456,1432,1443,1581,1562,1345,1359,1334,1583,1411,1405,1648,1724,1518,1717,2095,2098,1964,2062,2003,1997,1785,1768,2354,1949,1549,1690,1914,2131,1962,2066,2779,2866,3012,2967,2328,2302,2818,3451,3628,3420,3195,3107,3358,3340,3470,3187,2950,3350,2840,2472,2342,2548,3223,3820,3381,2599,2823,2806,2667,3649,4220,3968,3384,3354,3181,2989,2532,2335,2947,3367,2947,2423,2236,1857,2225,2263,2043,2021,1852,2012,2170,2154,2036,1820,1699,1797,1962,2018,1803,1615,1701,1586,1367,1809,1606,1662,2161,2114,2166,2297,2349,2819,2988,2532,2141,2478,2842,2166,1588,1596,1823,1773,1736,2077,2451,2396,1832,1590,1600,1889,1655,1716,2012,1777,1581,1531,1422,1268,1381,1494,1498,1459,1519,2100,1746,1461,1557,1575,1690,1689,1502,1450,1527,1894,1749,1938,2213,2413,2508,2358,1924,1948,2475,3094,3494,3871,3942,3536,3454,3636,3317,3519,3659,3000,2663,3156,3265,2262,1919,2321,2013,1674,1646,1598,1559,1742,2321,2192,1880,2106,2119,2148,2354,2164,1943,1738,1708,1870,2464,2362,2337,2404,2690,3044,3310,3289,3030,2457,1990,1752,1475,1628,2021,2328,2438,2610,2440,2330,2474,2385,2404,2492,2419,2045,1907,1984,2177,1820,1652,1870,1865,1803,2149,2056,2082,2003,1729,2123,2115,2487,2400,2011,1948,2063,1938,2044,2397,2178,2303,2526,3196,3156,2514,2426,3056,3138,2956,2629,2374,1626,1399,2037,1665,1884,1832,1820,1882,2392,2303,2147,1957,1863,2057,2215,2136,1763,1616,1606,1480,1594,2108,2236,2644,2175,1792,2078,2486,2955,3077,2597,2619,2522,2279,1754,1638,1689,1912,2120,2051,1839,1618,1577,1485,1783,2199,2304,2032,1856,1497,1410,1689,1680,1553,1812,1865,1570,1760,1848,1564,1460,1406,1486,1724,1948,1741,1497,1591,1794,1776,1880,2305,2344,2136,2108,1971,1600,1826,1916,1840,1968,1977,1564,1581,1885,2091,2432,2877,3175,3414,3285,2730,2329,2641,2820,2689,2976,3041,2779,2601,2692,3601,3207,3516,2796,2423,2728,2121,1570,1937,2008,2006,2115,2227,2302,1866,2105,2774,2742,2210,1979,1958,1836,1635,1782,1897,2107,2188,1928,1662,1792,2020,1716,1478,2026,2006,1905,2001,1717,2016,2636,2672,2530,1880,1588,1839,2553,2370,2261,1807,1470,1719,2181,2507,2510,2347,1675,1493,1682,2054,1920,1648,1512,1506,1504,1530,1663,1605,1654,2004,2166,2548,2522,2479,2537,2145,2373,2413,2404,2392,2068,1788,1909,1973,2055,2373,2372,2491,3185,3399,3494,3182,2900,2697,2464,2242,2445,2635,2723,2741,2917,2907,2742,2606,2631,2912,3043,3405,2786,1659,1581,1533,1549,1598,1650,1920,1801,2137,2098,2000,1856,1932,1868,1875,2153,2126,1588,1561,1803,1635,1641,2005,2233,2140,2331,2460,2067,1760,1672,1676,1753,1655,1610,1677,1882,1756,1729,1679,1682,1935,2327,2207,2159,1912,1844,2051,1907,2043,2300,2265,2287,2521,2443,2008,2266,2337,1852,1913,2338,2414,2413,2520,2454,2510,2510,2744,2833,2467,2379,2555,2553,2907,3310],[4035,3963,3742,3536,3571,3602,3632,3570,3619,3675,3648,3659,3928,4001,3505,3491,3658,3557,3588,3695,3581,3586,3607,3617,3684,3750,3727,3421,3372,3842,3443,3452,3436,2939,2724,2872,3173,3095,2707,2530,2782,3201,2967,2854,3241,3708,3410,3370,3315,2887,3066,3307,3186,3265,3426,3624,3345,3108,3417,3537,3800,3928,4160,2656,1591,1705,1752,1969,2126,2027,1809,1776,1891,2225,3250,3156,2578,2483,2465,2744,2747,2634,2554,2483,2477,2419,3042,3432,3713,4024,3520,3081,2798,2522,2308,2066,1935,1749,1759,2343,2507,2560,2850,2622,2119,2265,2806,2901,3082,3496,3532,3441,3174,2690,2086,2159,2323,2190,1942,2002,2109,2163,2174,2076,2234,2032,1832,1606,1566,1869,2462,2336,2589,2743,2178,1842,1826,1915,2292,2493,2369,2556,1981,1609,1989,2282,2631,2821,2807,3294,3106,2276,2496,2967,3073,3182,3040,3144,2987,2596,2088,1460,1125,1621,2122,2013,2244,2374,2051,1843,1749,1974,2874,3473,2901,2829,2623,2381,2723,2866,2656,2546,2095,2238,3007,3166,3012,3314,3030,2632,2664,2521,2106,2276,2711,2350,2223,2332,3162,3256,3292,2842,2777,2783,2744,2444,2432,2573,2609,2571,2386,2645,3044,2906,2581,3112,2322,2254,2434,2200,2337,2659,2913,3047,2895,2761,2631,3385,3890,3274,2474,2240,2153,2447,2766,2325,1807,1863,2027,2221,2452,2677,2304,2119,2532,2825,2241,1711,1905,3193,4280,3529,2289,2207,2678,3199,3597,3486,3470,3340,3383,3796,4025,3992,3588,2452,1802,2204,2934,3400,3544,3477,2807,2654,3064,2868,2457,1986,1698,1836,1750,1901,2530,1892,1772,1625,1508,1340,1627,1992,1942,1633,1542,1556,1626,1617,1709,2131,2024,1663,1695,1839,1998,2117,1960,1757,1614,1666,1591,2077,2163,1674,2126,2471,2144,2292,2601,2372,2042,2138,2345,2252,2584,2675,2486,2447,1864,1433,1456,1524,1408,1524,1900,1986,1857,1913,1882,1734,1747,1697,1657,1725,1460,1635,1576,1681,1823,1743,1791,1634,1760,1929,2025,2171,1757,1846,2375,1943,1737,1707,2003,2103,1891,1968,1954,1575,1676,1721,1769,2216,2940,2767,1945,2155,3162,3222,1781,2063,2290,2086,2526,2283,2672,2897,2452,2570,2743,2114,1500,1794,2278,2023,1623,1767,2059,2073,2330,2175,2546,2677,1975,1549,2071,2590,2241,1830,1937,2122,2360,2841,2814,2318,2262,2338,2008,1713,1887,2189,2308,1890,1998,1856,1688,1732,1688,1908,1972,2055,1952,1817,1627,1626,1617,1650,2189,2367,1824,1736,1898,1604,1719,2200,2321,2062,2006,2046,2494,2922,2922,2757,2674,2796,2926,2341,1937,2031,2568,2369,2029,2183,2332,2081,1835,1922,2326,2183,2832,2980,2900,2431,2050,2016,2260,2453,2275,2036,1729,2272,3042,2761,2384,1935,1638,1587,1611,1898,2319,3342,4885,6344,6093,4131,2646,1862,2016,2060,2050,1956,2103,2256,2161,2047,2012,2071,1916,2083,2445,2957,2954,2488,2337,2177,1889,1805,2029,2585,2171,1586,1548,1642,1864,1604,1854,1801,2074,2288,2164,2066,1804,2396,2876,2106,1802,1963,2599,3783,3833,4108,4176,3589,2052,2098,2489,2564,2171,1716,1725,1993,2212,2424,2559,2318,2460,2941,3362,3213,2409,2237,2397,2828,3927,4018,2686,1638,2241,2360,2299,2718,2801,2353,2417,2541,2387,2893,3504,3110,2097,1971,2105,2575,2247,2118,1851,2439,2923,2307,1804,1907,1887,1599,1654,1722,1482,1621,1600,1885,1805,2120,1922,1778,1841,1706,1808,1975,2330,2657,2551,2524,1919,2248,2226,1959,1814,1628,1625,1911,2030,2116,1995,2198,2540,2189,1845,2722,3182,2847,2148,1997,2216,1723,1899,2431,2317,2537,2049,1791,1807,1814,1454,1575,1986,1858,1548,1653,2434,3035,2995,2551,2274,2294,2256,2380,2462,2762,2813,2720,2805,2641,2232,2153,2177,2390,3168,2948,2483,2207,1928,2114,2335,2137,2162,2632,2335,2508,2812,2247,2832,2996,1703,1068,1748,2266,2426,2613,2585,2135,2085,1844,1633,2056,2054,1957,2341,2758,3099,2825,2589,2316,1940,1819,1524,1528,1743,2083,2132,1997,1821,1484,2171,2424,2215,2051,1833,1904,2383,2415,2339,2020,2220,2348,2527,2007,2070,2291,2128,1637,1559,2104,2319,1911,1529,1805,2061,2428,3427,3460,3291,3328,3375,3609,3914,3914,3939,4124,4152,3561,2793,2344,1730,1561,1927,2469,3172,3319,3611,3864,3884,4147,4960,5335,4979,4815,4681,4572,4348,4251,4091,3442,2650,2187,2241,2331,2517,3422,3518,2864,2533,2353,2343,2385,2489,2633,2776,2976,3110,3338,2800,1674,1405,1629,1825,2608,3494,3266,2665,2729,3211,3028,2600,2364,2237,2306,2190,2191,2207,2125,1726,2184,2376,2440,2235,2373,3120,3178,2719,2275,2072,2094,2587,2211,2566,2686,2544,2872,2933,2856,2884,2714,2104,2003,2487,3189,2854,2294,1913,2105,2942,3030,2191,1704,1976,1879,2335,2188,2342,2298,2322,1667,1853,2307,2608,2505,2390,2238,2108,2732,2786,2629,3255,2947,2399,2099,3006,3641,3168,3161,3537,3032,2453,3019,2045,1835,2712,2310,2151,2150,2385,2810,2359,1359,1470,1801,1648,1709,1714,1813,2023,2320,2296,2312,2466,2874,2725,2979,3365,3016,2737,2142,1995,2213,2367,2080,1997,2243,2094,2393,1907,1453,1789,1984,2147,1901,1643,1675,1931,2352,2631,2124,2622,2789,1928,2006,2442,1918,1648,2030,2383,3439,4042,3227,3207,3835,2899,1975,2416,3039,2814,2118,1527,1496,1789,1741,2093,2187,1965,1628,1309,1558,1970,1476,1499,1454,1251,1337,1489,1497,1753,2138,2000,1972,1785,1925,1906,1747,1767,1997,1970,1770,2021,1911,1605,1643,1790,1838,2136,1975,1717,1765,2294,2585,2351,2399,2781,3388,2980,2419,2886,3200,2196,2553,1865,1536,1841,1837,2041,2087,1901,2020,2389,2157,1694,1423,1425,1785,1780,1533,1748,2095,1951,2691,3160,1612,1771,2024,1779,1432,1669,1677,1937,1601,1764,2164,2092,2040,1754,1778,1735,1707,1921,1745,2944,3849,4372,4563,4557,4147,2933,1748,1184,1057,1327,1870,2156,2265,2155,2083,1886,1655,1597,1486,1494,1835,2142,2246,2308,2054,1827,1523,1808,1548,1830,2216,2432,2093,1668,1497,1346,1475,1520,1438,1461,1466,2365,2858,2691,2318,1802,1510,1639,1707,1353,1431,1451,1582,1626,1765,1811,1901,1582,1534,1636,1642,1488,1322,1453,1957,2603,2262,1845,1453,1494,2070,3076,2880,1944,2189,2307,1822,1968,1990,2335,1885,2072,1829,1566,1632,1813,1697,1648,1484,1476,1520,1412,1982,2304,2562,1899,1504,1318,1326,1396,1419,1396,1371,1249,1215,1134,1173,1115,1213,1409,1969,1692,1812,2801,2501,1985,2327,2630,3166,3152,3140,2178,2742,2967,2328,1641,2171,2599,2810,2523,1741,1469,1401,1429,1367,1382,1468,1513,1526,1481,1746,1865,1864,1663,1311,1633,1918,1648,1408,1328,1378,1495,1367,1208,1476,1739,1590,1494,1518,1617,1714,1786,1836,1713,1736,1863,1936,2015,1784,2172,2588,2235,1723,1677,1859,1906,1793,1647,1869,1693,1653,1689,1352,1264,1798,2579,2781,3150,3404,3630,3470,3296,3107,3182,3348,3101,2677,2466,2309,2455,2976,3699,3292,2147,2140,2263,1946,2582,3381,2632,1867,2263,3247,3116,2308,2671,3336,3289,2497,2114,2128,1939,2310,2232,2047,1931,1916,1931,2263,2602,2382,1992,1744,1918,2297,2473,1752,1271,1685,1938,2139,1985,1328,1698,2301,2190,2048,2137,2642,3190,3620,3232,2643,2504,2534,2196,1741,1773,1868,1735,1766,2503,3400,3092,2030,1550,1524,1661,1747,1760,1599,1888,1720,1461,1558,1406,1344,1339,1410,1389,1580,1663,1591,1585,1525,1447,1521,1717,1630,1572,1659,1836,1621,1870,1945,2093,2130,2434,2415,2237,2654,3319,2964,2855,3386,3267,3222,3161,3054,3518,4144,3874,2927,2831,3517,2908,2352,2378,2365,2066,1691,1560,1543,1936,2687,2734,2590,2833,2062,2034,2153,2194,2252,2216,2049,2153,2322,1883,1329,1627,2328,1901,2326,3163,3050,2176,1967,1992,1729,1776,1831,2143,2604,2386,1807,1628,1909,2175,1968,1758,1671,1620,1853,2227,2066,1655,1784,2236,1949,1663,1780,1727,2134,2338,2097,2320,1879,1827,1728,1572,1746,1771,1533,1697,2166,1925,2048,2352,2831,2591,2292,2854,3256,3408,3231,2666,2272,1666,2060,2990,2503,2469,2310,2129,2079,2112,1982,1825,1792,1882,2050,2272,2900,2409,1748,1857,1773,1981,2402,2455,2394,2212,2199,2509,2963,3898,4042,3465,2679,2514,1988,1905,1920,1764,1864,1920,1777,1672,1537,1777,1907,1744,2076,2140,1917,2038,1876,1686,1597,1428,1190,1567,1879,1938,2423,2236,1705,1495,1388,1553,1619,1746,1760,1323,1361,1494,1624,1960,1946,1962,1865,1854,1738,1603,1653,1784,1801,1891,1777,1744,2287,1832,1730,1861,2502,3065,3074,2867,2549,2683,3219,3276,3207,3217,2976,2669,2390,3043,3370,3550,3022,2080,1996,1921,1336,1185,1717,1824,1723,1734,1715,2100,2314,2462,2601,2220,2298,2431,2360,2408,2164,1767,1549,1743,2272,2584,2217,1824,1880,1692,1351,1747,1814,1670,1970,2003,2299,2160,1915,1793,1708,1582,2265,2512,2305,2106,1619,1559,1710,2251,3031,2844,2203,1548,1472,1740,1884,1690,1514,1511,1528,1614,1632,1816,2026,1998,2299,3228,3881,3138,2688,2677,2353,2319,2317,2137,2094,1925,1506,2024,2220,2239,2397,2139,1891,2451,2926,3172,3443,3338,2742,2194,2001,2342,2505,2536,2404,2295,2240,2654,2841,2877,2787,2829,3094,2428,1820,1801,1546,1627,1676,1607,1739,1923,2125,1937,1759,1920,1783,1745,1976,1981,2187,1707,1903,1810,1582,1562,2097,2331,1974,2351,2718,2144,2048,1840,1800,1714,1642,1673,1718,1609,1828,2101,2211,1967,2058,2530,2340,2341,2177,2178,1990,1794,1872,1953,2010,1823,1910,2354,2134,1792,1699,1880,2468,2887,2282,2337,2152,2352,2740,2549,2750,2854,2434,2513,2365,2844,3005,3143],[3341,3382,3362,3253,3248,3205,3024,3071,3428,3802,3805,3729,3824,3915,3432,3726,3962,3682,3638,3696,3650,3658,3696,3765,3796,3790,3732,3759,3777,3769,3316,3515,3693,3308,2791,2647,3188,3329,2626,2357,2812,3190,3046,2912,3222,3735,3601,3648,3428,3090,3160,3205,3348,3681,3818,3396,2548,2430,2908,3163,3651,3294,3104,2322,1636,2056,2264,2348,2451,3117,2290,2435,3332,3288,3728,3374,2319,2238,2719,2763,2552,2436,2648,2472,2595,2601,3442,3692,3749,3916,3706,2984,2496,2656,2634,2224,2038,2264,2564,2871,2645,2325,2883,2574,1908,2022,2448,2280,2430,3116,3376,3473,3422,2609,2442,2607,2072,1845,2136,2952,2889,2143,2116,1958,1979,1927,1642,1551,1522,1523,1863,2472,2906,2577,2188,2345,2480,1995,1780,2099,2106,2392,2103,1975,2075,2356,2566,2456,2571,3074,2746,2235,2796,3041,2876,2304,2911,3153,2785,2769,2124,1541,1710,2036,1809,1713,1657,1720,1848,2189,2236,2210,2990,3551,3055,2600,2710,2741,2706,2552,2408,2630,2430,2393,3172,3297,3187,3216,2902,2730,2656,2449,2521,3025,2933,2189,1892,2711,3100,2980,3058,3274,3659,3396,3124,3021,2823,2648,2120,2122,2092,2641,3240,2942,2460,2430,2428,2523,2219,1984,1934,2194,2429,2887,2869,2985,2578,2619,3287,2878,2394,2202,2198,2332,2358,2290,2149,2204,2834,3172,2620,2143,1838,2098,2987,3325,2458,1647,1844,3112,4099,3514,2072,2018,1972,2414,3292,3576,2977,2840,3114,3649,3781,3768,3994,3104,2251,2769,3110,3263,3641,3054,2506,2450,2721,2292,1864,2100,1963,2129,2023,1737,2459,2128,1902,1822,1712,1500,1715,1982,1892,1942,1826,1665,1996,1791,1808,1939,1876,1550,1681,2082,2453,2096,1616,1561,1333,1433,1505,2044,1866,1793,2130,2360,1998,2126,2807,3022,2733,2609,2764,2418,2888,2944,2615,2300,1952,1652,1606,2019,2122,1609,1693,1648,1934,1825,1757,1816,1736,1804,1828,1845,1772,1931,2006,1816,1578,2081,2400,1554,1446,1740,2188,2866,2222,2382,2775,2119,1982,2279,2203,2039,2098,2086,1855,1674,1664,1803,2117,2233,2525,2133,1851,2041,2754,2617,1559,2486,2348,2193,2933,2547,2930,2909,2699,2512,2410,2309,1476,1556,2142,2324,1772,1603,1839,1756,1664,2024,2580,2306,1570,1714,2444,2362,2079,1818,2196,2526,2377,2491,3145,3326,3044,2867,2997,2319,1534,1974,2259,1825,1778,1553,1700,1653,1772,1936,1577,1318,1643,1892,1856,1820,1959,2037,2349,2028,1664,1908,1752,1472,1782,2110,1974,1841,1963,2220,2494,2426,2552,2843,2924,2873,3328,2711,1811,1906,2370,2471,2351,2282,2176,2015,2032,2240,2138,2249,2908,3135,3072,2810,2468,2076,2026,1907,1615,2017,1974,2856,2503,3064,3132,1996,1690,1986,2340,2453,2548,3293,4628,6167,6439,4940,3107,2032,2263,2214,1808,1647,2094,2403,2257,2167,2074,2166,1682,1895,2466,3330,2951,2423,1920,1714,1912,1766,1722,2280,1952,1776,1669,2236,2588,2257,2754,2119,2405,2820,2367,2122,2041,2335,2746,2049,1825,2075,2909,3834,3884,3990,4108,3795,2908,2415,2543,2543,2359,2399,2153,1875,2124,2435,2206,2027,2051,2482,2896,2795,2263,2596,2832,2701,3198,3523,3176,2322,1997,1844,1905,2598,2467,2191,2586,2400,2355,3015,2937,2315,1836,2002,2040,2626,3327,3089,2283,2081,1808,1694,1690,1648,1794,1760,1814,1721,1572,1644,1698,1799,1755,1653,1910,1994,1644,1744,1986,2232,2457,2275,2588,2989,2544,2725,2680,2267,2050,1705,1659,2009,1909,1754,1824,2108,2031,2375,2750,2820,2768,2425,1986,2211,2356,1907,2504,2356,2690,2718,2214,2275,2099,2030,1808,1835,2177,1727,1504,2144,2858,2930,2791,2611,2564,2444,2470,2869,3242,3239,3156,2741,2682,2651,2310,2008,2032,2591,2918,1970,1504,1539,1610,1597,1477,1895,2166,1774,1315,2128,2476,2202,2532,1981,1098,1154,1676,1951,1954,2121,2192,1907,2057,1887,2002,1986,1878,2294,2774,2796,2432,2332,2846,2667,1965,1749,1510,1549,1494,1642,2120,2154,1882,2154,2596,2457,2431,2257,1932,2553,2742,2236,2090,2333,2512,2274,2290,2175,2258,2200,2157,2121,2510,2918,2366,1797,1961,2370,2370,2453,2749,2968,3244,3585,3930,4034,3830,3730,3775,3792,3860,3790,3253,2769,2269,2177,2037,2357,3103,3351,3046,3307,3763,4283,4857,4864,4767,4713,4655,4671,4415,4179,4132,3898,3488,2972,2465,2201,2267,2424,2792,2689,2608,2136,2094,2438,2633,2871,2700,2778,2792,2559,2168,1637,1605,1661,2333,3275,3299,2943,2342,1931,2233,2387,2590,2686,2809,2524,2190,2306,2247,2079,2211,2143,2446,2909,2558,2400,2820,2379,2101,2035,2000,2112,2413,2673,2940,3023,3604,3749,2871,2769,2688,2295,2322,2468,2646,3067,3131,3111,2664,2608,3316,2976,2031,1718,2060,1757,2024,2029,2475,2364,1976,1714,1560,1752,2225,2177,2016,2335,2083,2291,2232,2188,2387,2797,3028,2797,2874,3191,2696,2511,2828,2791,2160,2950,2429,2436,2718,2023,1803,1984,2314,2710,2141,920,1015,1032,1122,1576,2169,1921,1878,1992,2098,1924,2138,2565,2647,3364,3826,3210,3134,2570,2408,2698,2382,2316,2232,2052,2172,2822,2925,2310,2131,2458,2476,1969,1773,2410,2057,1585,1870,2302,2386,2025,1982,2509,2558,2015,1964,2197,2968,3916,3554,3026,3665,3470,2413,2324,2670,2855,2990,1801,1356,1570,1629,1953,2431,2055,1722,1498,1311,1965,1941,1283,1412,1373,1332,1236,1600,1647,2106,2087,1915,2188,1881,1806,2033,1959,1888,1892,1886,1728,1678,1731,1609,1617,1556,1614,1822,1778,1650,1786,2232,2389,2214,2514,2724,3310,3042,3175,3362,2291,1993,2310,1646,1834,1934,2031,2516,2305,2017,1856,2003,1790,1777,1519,1645,1664,1432,1415,1818,2074,1894,2112,2054,1628,2222,2192,1482,1266,1684,1788,1654,1442,1968,1924,1725,1586,1591,2112,1884,1757,1936,2141,3709,4530,4430,4462,4561,4389,3914,2932,1621,1275,1520,2009,2209,2292,2373,2362,2260,2265,2169,1851,1638,1892,1863,1754,1924,1865,1726,1689,1538,1453,1679,2062,2326,1959,1830,1554,1431,1411,1390,1352,1448,1265,1687,1999,1931,1935,1644,1412,1848,1995,1688,1627,1594,1514,1550,1688,1576,1425,1396,1564,1592,1415,1388,1332,1362,1905,2377,2193,1667,1580,1648,1953,2678,2298,1852,1869,1865,1852,2083,2071,2601,2287,2006,1727,1522,1851,1906,1617,1421,1591,1778,1773,1576,2355,2102,1984,1825,1648,1623,1467,1406,1436,1299,1237,1273,1214,1118,1169,1235,1422,1462,1583,1474,1699,2210,1979,1954,2513,2387,2945,3472,3460,2391,2308,2285,1941,1751,1979,2320,2662,2680,2147,1638,1283,1405,1484,1524,1378,1417,1500,1431,1456,1576,1737,1534,1428,1507,1558,1493,1641,1398,1397,1400,1391,1354,1543,1769,1869,1783,1617,1626,1940,1865,1878,1985,1924,1820,2031,2437,2524,2312,2424,2734,1952,1839,1969,1878,1791,1601,1464,1512,1654,1456,1286,1250,1547,2334,2678,3089,3460,3218,2452,2757,2735,2788,2474,1954,2034,2168,2270,2173,2565,3395,3176,2476,2280,2342,2174,2576,2569,1759,1465,2236,3212,3251,2902,2710,2700,2908,2406,2068,2044,1942,1801,1677,1659,1832,1732,1976,2752,2589,1829,1728,2113,2417,3614,3974,2425,1421,1664,1786,1775,1875,1937,1798,2293,2598,2036,2131,2523,3111,3519,3378,2801,2350,2274,2018,1833,1805,1575,1564,1530,1788,2617,2620,1831,1518,1465,1365,1810,2377,2022,2008,1685,1500,1408,1443,1407,1366,1323,1471,1592,1493,1537,1562,1475,1947,1765,1658,1692,1796,1964,1882,1737,2013,2026,1864,2256,2790,2400,2397,2345,3132,2880,2756,3144,2922,2768,2802,3145,3759,4090,4152,3636,2800,2621,2692,2824,2258,2229,1958,1840,2050,2138,2476,2834,2585,2374,2481,2623,3398,3219,2933,2426,1928,2232,2608,2374,2166,1229,1029,1803,1922,2510,2845,2780,2142,2101,1992,2100,2339,1989,2049,2270,1864,1645,1888,2271,2754,2390,2032,1850,1583,1837,2368,2518,1930,1763,2146,2192,2202,2222,2193,2307,2244,2145,2023,1885,1770,1642,1887,1626,1604,1574,2048,2076,1989,2247,2322,2576,2424,2546,3310,3551,3291,2920,3067,3054,2674,2845,3098,2575,2512,2641,2696,2330,2013,2077,2133,2023,2280,2411,2608,3128,3073,2194,1946,2040,2354,2685,2622,2395,2358,2304,2492,2526,3272,3382,2879,2595,2258,1940,2263,2395,2238,1831,1588,1259,1465,1932,2148,1920,1758,1921,1920,2068,2139,1789,1748,1816,1560,1067,1636,1979,1909,2392,2276,1808,1612,1414,1565,1729,1718,1686,1447,1570,1562,1676,1907,1830,1763,1692,1920,2104,1958,1720,1543,1692,1713,1815,1935,2250,1743,1520,1613,1841,2495,2821,2592,2677,3074,3323,3271,3544,3653,2988,2482,2192,2614,2708,2502,2120,2054,1974,1498,1029,1249,1603,1731,1841,1742,1576,1884,2374,2309,1917,1749,1918,2010,2059,2610,2783,1703,1709,2058,2547,3104,2536,1779,2011,2251,1934,1796,1794,1509,1593,1982,2201,1760,1656,1682,1726,1908,2104,1808,1906,2020,1846,1644,1579,1742,2270,2196,1587,1494,1874,1889,1821,1996,1889,1744,1748,1713,1616,2117,2988,2032,2053,3264,4092,3652,3504,3239,2352,2214,2167,2066,2234,2578,2432,2730,2580,2268,2229,2225,2123,2546,2999,3075,2964,2708,2146,2297,2099,1915,2274,2220,2236,2388,2414,2840,3266,3206,2791,2529,2397,1876,1592,1737,1716,2129,2104,1732,1700,1725,2198,2623,2362,1954,1981,2106,1949,1738,1786,1737,1961,1835,1716,1697,1996,2438,2398,2482,2630,2252,2238,2360,2120,1717,1599,1723,1743,1641,1759,2057,2558,2103,1885,2171,2376,2548,2302,2083,1780,1842,2075,1797,1619,1845,2037,2170,2426,2172,2025,2360,3183,3042,2343,2437,2485,2749,2758,2617,2741,2428,2525,2832,2436,2810,2929,2901],[2997,3221,3276,3295,3248,2888,2653,2740,2915,3294,3817,3459,2994,3350,3352,3781,4026,3636,3587,3764,3759,3794,3804,3835,3817,3784,3718,3951,3960,3705,3133,3642,4095,3594,2963,2801,3308,3394,3011,2481,2974,3241,3085,2850,3171,3391,3542,3685,3486,3195,3172,3241,3362,3720,3876,2786,1787,2029,2320,2503,3320,3264,2812,2909,2766,2850,2824,2452,1931,1957,1779,2700,3378,2944,3199,2952,2109,2298,2588,2640,2380,2241,2597,2437,2281,2651,3321,3349,3278,3501,3598,2950,2470,2717,3221,3050,3143,3466,3747,3928,3292,2885,2687,2336,2121,2101,2440,2291,2483,2806,3248,3638,3243,2768,2405,2274,2332,2049,2210,3082,3006,2237,1986,1802,1564,1881,1685,1676,1676,1401,1736,2564,2774,2617,2743,2514,2318,1979,2072,2261,2591,2658,2819,2776,2000,1853,2070,2292,2325,2416,2207,2568,2577,2980,2979,2836,3351,2842,2442,2367,2165,1863,1855,1762,1470,1755,1751,2116,2072,2214,2547,2513,2624,3307,3150,2633,2841,2719,2315,2248,2479,2705,2308,1800,2199,2896,3274,3230,2953,2921,2677,2961,3433,3750,2575,1828,1982,2976,2865,3163,3326,3376,3953,3816,3719,3625,3297,2544,2534,2621,2619,2730,2665,2630,2224,1780,2034,2125,1928,1808,1526,1986,2043,2457,2699,2888,2679,2301,2436,2107,2087,2801,3001,2535,2247,1930,2074,2092,2478,2835,2299,1890,1873,2258,3274,3573,2426,1643,1823,2781,3576,3105,2068,1951,1824,2264,3059,3178,2849,2710,2852,3504,3592,3232,3653,3898,3265,3521,3725,3542,3409,2956,2709,2426,2295,1737,1729,1955,2002,2284,1930,1713,1891,2001,1710,1671,2192,2375,1967,1788,1639,1715,1910,1843,2245,1860,1673,1859,1948,1748,1763,2324,2677,2072,1787,1738,1098,934,1882,2283,2171,2086,1989,2079,1990,1829,1999,2206,2309,2229,2386,2512,2453,2408,2334,2338,2272,1813,1611,2750,3470,1810,2031,2032,2593,1942,1560,1782,1658,1592,1622,1650,1692,1773,1931,1938,1717,2127,2156,1584,1890,1998,2004,2545,2406,2067,1758,1624,1858,2003,2180,2198,2254,2214,2031,1628,1584,2021,2179,2179,2329,2780,3082,2077,2239,2185,2167,2620,2089,2349,2909,3159,3064,2397,2365,2510,2441,2225,1677,1790,2398,2347,1652,1509,1677,1638,1719,2242,2541,1988,1485,1891,2851,2521,2134,1658,2142,2511,2330,2478,2701,3083,3200,3395,3848,3008,2067,2320,2194,1889,1717,1565,1801,1871,1979,1980,1512,1361,1620,1589,1733,1847,1870,2054,2040,2417,2468,2408,2227,2102,2006,1989,2074,2132,2400,3249,3091,2242,2128,2416,2575,2684,2798,2564,2443,2170,2063,2215,2298,1893,1863,2036,2389,2070,1983,2302,2518,2723,2823,2932,2668,2027,2063,2059,1870,2636,2192,2797,3196,4114,3765,2184,1761,2332,3106,3068,3263,3276,4209,5658,5717,4564,3200,2025,1848,1757,1858,2164,2502,2978,2775,2021,2001,1846,1632,1887,2310,2585,2575,1955,1384,1542,1743,1678,2353,2575,2312,2008,1771,2776,2934,2469,2145,1731,2234,2930,2996,2865,2738,2769,2875,2231,1947,2097,3217,3693,3330,3354,3518,3655,3306,2520,2526,2558,2467,2597,2625,2189,2373,2627,2668,2502,2135,1764,2158,2517,2317,2564,2564,2162,2318,2953,2843,2133,1989,1903,1996,2140,2089,2430,2600,2247,2800,3729,2903,1799,1281,1681,2248,3171,4101,3565,2757,2508,1699,1846,1986,1825,1357,1230,2123,2170,1914,2094,1911,1902,2378,2236,2179,1674,1633,2123,2611,2530,2358,2192,2306,2553,2491,2702,3056,2888,2065,1491,1199,1494,1830,1940,2124,2086,2030,2590,2743,2297,2329,2280,2107,2074,2127,1981,2519,2720,2619,2001,2066,2315,2274,2526,2154,1740,2075,1677,2098,2571,2732,2872,2654,2664,2556,2657,3178,3826,3662,3153,2965,2665,2840,2908,2250,1731,2067,2991,3265,2249,1611,1560,1420,1340,1626,2330,2202,1598,1356,1791,1882,1785,1727,1529,1507,1909,1936,1864,1810,2077,1867,1824,2389,2280,2531,2271,2740,3703,3395,2388,2007,2289,2598,2143,1531,1644,1619,1674,2036,2026,1874,2107,2190,2151,2243,2301,2744,2309,1908,2041,1895,1660,2107,2326,2017,2208,2379,2060,1860,2046,2193,2662,3687,3384,2621,2308,2549,2830,2392,2138,2462,3044,3537,3791,4102,3814,3404,3342,3584,3621,3898,4362,4096,3369,2943,2513,2046,2402,2872,2769,2400,2235,3073,4122,4796,4873,4860,4876,4715,4636,4576,4328,4131,4198,3859,3571,3186,2387,2013,2292,2176,2093,2095,1758,2065,2645,3110,3172,2764,2104,1920,1950,2098,2073,1925,1476,1903,3007,3498,3245,2593,2315,1941,1712,1839,2289,2246,2417,2242,2247,2292,2247,2149,1905,2493,2348,2235,2461,2579,2159,2341,2345,2176,2100,2283,2826,3189,3182,3456,3438,2909,2576,2508,2364,2780,2886,2779,2740,2850,3353,3485,3444,3724,2893,1777,1780,2318,2233,1915,1975,2382,2380,1852,1819,1788,1815,2424,2139,2092,2699,2440,2657,2134,1769,2026,2624,3510,3297,2823,3296,2740,2459,2545,2088,2192,3097,2458,2287,2302,2171,2374,2446,2340,2480,2176,1188,1603,1786,1849,1972,2221,2106,1804,2306,2535,1959,1737,1933,2220,2730,3161,3149,3130,2237,2585,2996,2469,2156,2148,2148,2226,2371,2190,1735,2191,2641,2482,1971,2531,2868,2198,1571,1666,1751,1738,2040,2543,2518,2486,2225,2491,2750,3130,3544,3074,3581,3530,2591,2412,2697,2711,2590,2269,1383,1584,2123,2409,2326,2142,1765,1389,1241,1584,1835,1469,1412,1493,1474,1453,1290,1717,2025,2043,1958,2121,2106,1675,1804,1985,2004,1932,1980,1811,1652,1676,1738,1645,1550,1525,1608,1729,1792,1629,1521,1853,2006,2029,2159,2739,2948,2586,2877,2835,1685,1875,2017,1565,1927,1830,2115,2314,2161,1743,1206,1328,1646,1582,1632,2143,2279,1934,1414,1910,2021,1794,2188,1905,1768,2363,2221,1364,1439,1782,1810,1968,1755,2126,1619,1531,1627,1807,2081,1862,1789,1609,2160,3814,4440,4483,4350,4400,4484,4151,2800,1667,1442,1884,2391,2433,2291,2350,2400,2179,2036,1975,1825,1641,1788,2390,2143,2120,1953,1735,1781,1542,1487,1733,1621,1715,1707,1793,1739,1551,1488,1448,1457,1505,1404,1791,2343,2414,1917,1628,1555,1643,1661,1928,1980,1830,1637,1543,1359,1305,1311,1503,1560,1373,1349,1455,1622,1970,2380,2502,2523,2104,1915,1846,1704,2103,2185,1848,1723,2080,2415,2104,1741,1781,1942,1897,1546,1487,1572,1610,1782,1375,1664,1435,1298,1403,1957,2401,2232,1709,1771,1627,1402,1251,1334,1292,1188,1331,1218,1221,1231,1382,1613,1678,1888,1665,1646,2061,1784,1873,2202,2090,2306,2829,2767,2334,2104,1797,1623,1947,2476,2453,2256,2157,1964,1583,1459,1572,1691,1685,1542,1563,1510,1518,1404,1429,1486,1336,1427,1324,1373,1462,1610,1513,1692,1636,1409,1551,1455,1355,1388,1838,1983,1706,1818,1841,2198,2545,2063,1919,2670,3260,3009,2353,1809,1970,1690,2131,2374,2009,1871,1727,1499,1556,1693,1530,1377,1410,1703,2662,2919,2555,3182,2664,2146,2330,2267,2087,2007,1959,2045,1979,2285,2150,2296,3029,3742,3334,3082,2717,2266,2392,2370,2210,2612,3382,3515,2852,2343,1759,1989,2354,2041,1742,1991,1956,1569,1329,1510,2137,1986,2508,2913,2127,1718,2204,2312,2035,3066,4017,3090,1831,1604,1486,1111,1762,2461,2377,2665,2976,2809,2735,2739,2907,3059,3130,2890,2430,2027,1848,1615,1892,1593,1489,1452,1603,2255,2015,1574,1897,2033,1635,1577,1931,1573,1367,1522,1531,1395,1427,1480,1502,1523,1814,1799,1634,1511,1521,1570,2435,1916,1701,1990,2060,1999,1842,1578,1579,1765,1748,2067,2631,3162,2750,2093,2730,3209,3267,3041,2731,2635,2601,2775,3420,3458,3514,3799,3682,2863,2806,3209,2597,1785,1872,2504,2587,2244,2132,2419,2459,2609,3257,3865,3725,3421,3383,2911,2047,2120,2462,2372,1758,1575,1422,1726,2482,2601,2626,2697,2165,1732,1429,1626,1874,1824,2037,2150,1726,2142,2625,2867,3461,3460,3304,2504,1772,1852,1927,2117,1880,1704,2114,2250,2295,2258,2214,1860,1964,2308,2233,2041,1689,1726,2170,1963,2277,2135,2236,2380,2487,2665,2504,2302,2640,2890,2585,2896,2776,2915,3296,3120,3039,2774,2299,2402,2394,2230,2340,2487,2370,2078,2229,2313,2568,2489,2539,2742,2828,2269,1740,1951,2644,2746,2543,2432,2454,2496,2647,2329,2249,2333,2734,2962,2780,2626,2598,2649,2294,1715,1484,1398,1643,2291,2411,2072,1780,1863,2085,1872,1688,1631,1892,2247,1981,1694,1783,1864,1852,1969,1854,1788,1672,1443,1494,1521,1510,1598,1516,1402,1415,1645,2109,2056,1709,1818,2290,2230,2034,1835,1716,1951,2063,2209,2197,1989,1863,1952,1722,1791,2157,2319,2586,3096,3300,3463,3721,3624,3899,3160,3067,2523,1893,1999,1999,1747,1854,2046,1699,1395,1450,1529,1670,1894,1968,2051,2462,2875,2737,2181,1889,1762,1665,1546,1997,2420,1714,2266,2612,2698,2976,2438,1931,2310,2665,2459,1951,2188,1850,1419,1772,1842,1702,1770,1811,1788,1716,1555,1650,1612,1540,2097,1887,1559,1424,1581,1622,1502,1696,2136,2084,2339,2701,1869,1643,1747,1650,1705,1854,2083,1727,1770,2417,2773,2988,3343,2802,2373,2360,2087,2210,2631,2685,2630,2648,2521,2283,2240,2364,2525,2822,3109,3251,3060,2773,2356,2461,2030,2116,2345,2085,2089,2341,2617,2712,3128,3233,2934,2436,2209,1959,1846,1751,1678,1817,1830,1910,2062,2194,2730,2801,2841,1976,1998,2050,1802,1775,1938,1932,1914,1842,1792,1873,1893,2245,2836,2533,2256,1968,2173,2603,2269,1836,1624,1560,1709,1825,2052,1987,2176,2094,1935,1732,2121,2460,2396,2266,2449,2832,2671,2332,2029,2579,2493,1875,1735,2042,2511,2930,3451,3228,2834,2984,3010,2953,3109,2878,2498,1875,2160,2647,2231,2420,2646,2690],[3030,3189,2922,2762,3194,2906,2654,2814,2820,2923,3393,3504,3305,3518,3665,3916,3982,3637,3580,3737,3718,3792,3892,3904,3809,3738,3661,3859,3950,3311,2830,3448,3580,3750,3077,2735,3112,2998,2959,2844,2989,3128,2880,2655,2719,2773,3211,3326,3190,3138,3379,3348,3295,3587,3916,3028,2092,2639,2752,2202,3123,3820,2812,2719,2773,2458,2241,1959,1898,1851,2045,2426,2731,2872,2996,2801,2688,2409,2691,2879,2341,2275,2618,2500,2223,2907,3399,3348,3312,3312,3674,3553,3186,3206,3436,3583,3709,3709,3715,3770,3693,3284,2377,1905,2026,2315,2132,2781,3076,3084,3495,3707,3363,3109,2309,1863,2049,2083,2098,2069,1890,1927,1860,1685,2293,2745,2464,2437,2233,1743,2041,2441,2364,2213,2295,1816,1735,1873,1909,2402,2984,2905,3244,2951,1722,1561,1633,1969,2252,2105,2596,3162,2871,2956,3116,3086,2944,2223,1423,1440,2128,1377,1253,1563,1620,1575,1892,2501,2298,2046,2540,2642,2186,2734,2941,2459,2774,2985,2818,2431,2319,2289,1986,1692,1729,1965,2476,3218,3173,2786,2077,2643,3394,3376,2609,2135,2831,3063,2466,3040,3008,2888,3500,3363,3466,3535,2905,2600,2523,2539,2733,2724,2962,2851,1852,1336,1538,1556,1503,1592,1645,1896,2268,2635,2919,2849,2467,2165,2044,1671,1949,3527,3688,2565,2024,1657,2181,2133,1997,1891,1757,1963,2294,2745,3098,3635,2588,1753,1763,1856,2165,2392,1983,1837,1927,2181,3067,3398,3020,2736,2821,3352,3737,3499,3883,4287,4216,3862,3122,3020,2869,2673,2719,2835,2629,1723,1695,1640,2250,2468,1995,1754,1786,1661,1615,1869,2540,2419,1948,1838,1719,1703,2053,1948,1786,1606,1572,1742,1834,1780,1894,2548,2581,2024,1875,1834,1388,1196,1812,1885,1860,1786,1787,1965,1970,1900,1982,1895,1834,1724,1826,2136,2349,2401,2453,2659,2300,1925,1988,2118,2154,1313,2214,2544,3051,2122,1701,1874,1602,1443,1508,1639,1764,1881,1918,1787,1692,2006,1992,1919,1987,1797,1894,2376,2270,1784,1754,1734,1745,2081,2569,2136,2177,2066,1755,1469,1622,1868,2129,2818,2770,3083,3708,3072,2800,2548,2478,2241,2042,2398,2585,2769,2464,1995,2276,2846,2924,2312,1793,1599,1900,2135,1713,1421,1722,2200,2150,2213,2199,1843,1754,2209,2971,2880,2434,1916,1998,2194,2163,2262,2359,2642,2722,3354,3820,3731,2530,2165,2082,1939,1699,1523,1694,1897,1923,1859,1771,1837,1891,1911,1915,1793,1721,2067,2032,2570,2842,2648,2552,2586,1884,1618,2019,2377,2508,2636,2690,2474,2021,1699,1605,1910,2109,2149,2609,2168,2161,2197,2164,1854,2499,2531,2562,2271,2251,2401,2684,2956,3040,3272,3067,2091,2069,2117,1765,2216,2091,2873,3798,4188,3472,2673,2423,2235,2863,3009,2907,2774,3562,4169,3736,2851,2170,1738,1698,2160,2762,3032,3004,2899,2664,1925,1737,2019,2141,2118,1951,1671,1720,1618,1531,1767,1818,1946,2210,2141,2468,2392,1935,2544,2500,1756,1509,1780,2071,2427,2634,3234,3273,3564,3305,2141,1924,2293,3389,3956,3718,3331,3113,3511,3482,2388,2086,2392,2702,3056,2865,2483,2444,2211,2012,2434,2636,1964,1923,2035,2176,1942,2339,2140,2186,2354,2050,1887,2276,2579,2379,2027,2199,2553,2287,1786,1881,2795,2513,2238,1892,1857,2702,3621,4208,3812,3530,3291,2233,2058,2072,1270,851,1173,1507,1745,1860,1770,1724,2153,2669,2364,1986,1688,1514,1888,2678,2281,2309,2485,2099,2420,2889,2563,3021,3450,2983,1553,1305,1700,1829,1895,1976,1954,1959,2348,2678,2545,2868,2500,2142,1656,1738,2160,2530,2626,1455,861,1694,2187,2374,2764,1920,2011,1766,1903,2692,3329,3341,3002,3144,3276,3142,3145,3829,4263,3924,3585,3349,3000,2978,2822,1820,1576,2322,3257,3387,2433,1570,1209,1311,1629,1962,2148,1979,1900,1853,1974,2074,2163,2132,1675,1685,2132,1943,1555,1626,2339,2566,2711,3627,3473,2835,2341,2618,2898,2579,1924,1604,1978,2100,1716,1709,2014,1817,1826,1990,1750,1624,1675,1899,2149,1888,2295,2679,2029,1670,1637,1658,1808,2072,2114,2098,2283,2358,2230,2437,2961,2599,2802,3283,2528,2445,2667,2761,2745,2348,2500,2629,2702,3412,3795,3796,3032,3138,3105,3494,3862,4124,4356,4308,3982,3449,2355,2137,2155,2527,3179,2787,2355,2492,3186,4136,4760,4947,4863,4820,4776,4553,4207,3958,4156,4094,3793,3216,2567,2121,1992,1905,1894,1842,2122,2470,2322,2809,2730,2276,1775,1703,2408,2504,2141,2053,1531,2253,3153,3428,3264,2798,2787,2843,2391,1949,1903,1903,1929,2092,2697,2776,2708,2316,1919,2522,2230,2092,2110,2129,2388,2653,2433,2047,2118,2408,2443,2461,2399,2339,2500,2383,2372,2298,2381,2574,2791,2934,2665,2095,2325,2707,3472,3502,2819,1852,2036,2335,2209,2273,2301,2482,2407,1987,2478,2403,2108,2235,1784,2198,2451,2476,2365,1878,1869,2280,2470,2275,2102,2596,3386,3170,3029,2201,1721,2280,2504,2210,2299,2088,1860,1972,2022,2021,2798,2850,2072,2506,2544,2232,1979,2274,2225,1881,2314,2028,1780,2150,2370,2208,2087,2643,3250,3050,2385,2688,2909,2311,2050,2515,2315,2069,2477,2386,2155,2208,2614,2000,1808,2224,2194,1822,1592,1815,2114,2399,2382,2347,2132,2511,2489,2631,2466,2110,2029,2780,3543,2651,2482,3219,2945,2962,2487,1570,1708,2215,2895,3306,2664,1844,1508,1271,1583,1900,1614,1204,1498,1463,1596,1498,1349,1645,1771,1757,2001,2170,1851,1757,1996,1952,1932,1882,1929,1705,1709,1741,1504,1366,1404,1440,1511,1576,1700,1467,1556,1954,2003,2313,2777,2747,2521,2553,2717,2159,1696,2320,1598,1720,1838,1806,2113,2032,1890,1683,1281,1458,1799,1628,1425,1944,2017,1612,1529,1950,1874,1793,2240,1866,1698,2131,1910,1310,1494,1824,2066,2064,2079,1976,1645,1743,1708,1789,1778,1702,1721,1594,2248,4184,4358,4516,4408,4252,4416,3959,2607,1787,1755,1992,2021,1801,1630,1614,1748,1678,1778,1686,1793,1960,2129,2314,2596,2880,2396,2216,2061,1841,1853,2419,2172,2144,1875,1675,1739,1677,1618,1691,1764,1777,1754,2237,2387,2135,1551,1495,1634,1594,1642,2070,2431,1998,1639,1671,1514,1428,1450,1824,1750,1543,1560,1533,1713,2048,1873,1776,2223,2250,2620,2476,2439,2510,2439,2242,1822,2282,2496,1916,1763,1872,1923,1810,1616,1492,1571,1434,1323,1487,1475,1475,1458,1406,1616,1910,1854,1668,1669,1371,1487,1457,1377,1333,1252,1172,1236,1336,1356,1536,1592,1968,2910,2455,1999,2147,1715,1897,2099,2224,2632,2829,2679,2626,2426,1873,1914,1794,1823,2128,2203,2136,1779,1848,1856,1560,1503,1278,1513,1865,1630,1511,1435,1346,1300,1279,1325,1324,1418,1670,1568,1344,1587,1493,1296,1481,1560,1376,1195,1483,1732,1479,1808,1917,2122,2264,1813,1822,2314,2820,3050,2867,1826,1440,1449,1993,2472,2160,1941,1906,1648,1648,1717,1610,1465,1520,1731,2498,2782,2665,3062,2554,2015,2380,2554,2284,2181,1847,1664,1950,2248,2178,2286,2459,3119,3123,2832,2489,2201,2345,2288,2292,2505,2552,2331,2258,2257,2128,2731,2852,2229,2136,2239,2182,1854,1644,1664,1621,1736,2128,2047,1591,2185,2426,2024,1801,2449,3442,3002,1942,1641,1745,1844,2106,2436,2532,2362,2533,2931,3011,2893,2766,2801,3272,3312,2630,1889,1914,1890,1781,1610,1499,1505,1576,1816,1820,1682,1881,1944,1637,1364,1603,1441,1638,1776,1497,1408,1363,1420,1367,1352,1804,1945,1826,1633,1536,1456,1487,1518,1847,2136,1894,1660,1656,1489,1448,1688,2004,2645,2596,2896,3110,2525,2285,2880,3163,2856,2963,3234,2998,3001,3436,3384,3075,3473,3824,3359,2818,2868,2476,1843,2532,2702,2176,1644,1700,1829,2346,3195,3861,3650,3339,3414,3364,2708,1993,1589,1814,2691,2195,2223,2178,2358,2991,2896,2887,2844,2226,2023,2057,1791,1713,1839,2001,2227,1954,2556,3033,3377,3418,3454,3471,2542,1710,1832,1844,1804,1665,1787,2079,1975,1695,1706,1708,1476,1727,2282,2385,2047,2081,1921,1870,2252,2041,1658,2010,2476,2353,2158,2088,2161,2274,2338,1868,1897,2272,2980,3074,2511,2628,2529,2170,2434,2419,2334,2122,2232,1993,1720,1792,2177,2946,3191,2924,3040,2907,2539,2044,2321,2864,2843,2575,2329,2158,2789,2964,2657,2437,2355,2170,2259,2449,2554,2586,2397,1808,1459,1262,1317,1887,2509,2458,2466,2256,2181,2460,2123,1786,1924,2152,2031,1907,1698,1655,1800,1783,1942,1928,1757,1795,1787,1810,1609,1507,1682,1658,1693,1787,1876,1952,1958,1928,2002,2440,2267,2197,2053,2010,1779,1896,1946,2002,2394,2886,2421,1885,2004,2326,2728,3120,3484,3494,3297,3281,3316,3309,2940,2747,2057,1726,1808,2174,1918,1760,1851,1676,1689,1422,1427,1642,1864,1995,2329,2514,2552,2887,2445,2102,1902,1754,1537,1889,1870,1634,2376,2552,2441,2714,2417,2077,2167,2302,1896,2142,2815,2320,1713,1639,1851,2011,2025,1818,1669,1597,1811,1968,1560,1542,1974,1870,1816,1666,1714,1975,1937,1896,1908,1859,2336,2178,1674,1543,1702,1619,1560,1421,1671,1789,1717,2004,2171,2247,2541,2236,2478,2342,2293,2397,2362,2490,2643,2475,2801,2755,2380,2578,2981,3278,3497,3508,3405,3485,3189,2612,2203,2288,2328,2086,1745,1943,2377,2396,2419,2634,2534,2126,1942,1864,1631,1643,1808,1902,1992,1940,1919,2092,2548,2482,2234,1877,1956,2031,1643,1615,2006,2127,1995,1692,1658,2164,2178,1933,2557,2751,2701,2283,1826,1934,1922,1628,1435,1522,1862,2339,2719,2531,2128,1901,1844,1926,2094,2254,2380,2312,2753,3371,2861,2559,2509,2508,2625,2133,1641,2049,2745,3062,2977,2867,2784,2752,2841,2767,2890,2712,2230,2236,2684,2801,2543,2520,2663,2562],[3603,3576,3144,2769,3286,3093,2787,2878,2859,2910,3119,3784,4185,3892,3619,3764,3881,3824,3627,3570,3584,3757,3962,3928,3731,3640,3618,3686,3742,3241,3228,3741,3233,3198,2743,2513,2958,2939,2856,2668,2824,2962,2597,2497,2709,2879,3071,3189,3071,3187,3372,3330,3092,3534,3952,3629,3143,3196,3101,2590,2938,3559,2684,2833,2740,2013,1844,2150,2155,2573,3088,2181,2303,2599,2518,2916,2582,2344,2687,2768,2507,2496,2720,2358,2353,3082,3198,3139,3142,3398,3693,3799,3625,3464,3407,3419,3410,3481,3475,3429,3491,3240,1939,1274,1789,2210,2401,2783,3062,3172,3551,3668,3589,3537,2913,2246,2139,2275,2308,1862,1825,1782,1717,2060,2203,2010,2391,2752,2288,1814,2291,2482,1957,1639,1873,1903,2111,1980,1954,1929,1998,2583,2875,2311,1822,1749,1760,1955,2298,2017,2433,2998,2929,2869,2863,2548,2427,1478,1001,1451,1855,2049,1823,1554,1555,1699,2055,2026,1910,1824,1964,2339,2324,2084,2258,1811,2155,2841,3093,2711,2248,1976,1842,1886,1831,1962,1851,2242,2795,2246,1911,2100,2586,3104,3088,2698,3040,2901,2692,3083,2913,3010,3251,2865,3205,3375,2743,2417,2379,2468,2151,1854,2298,2844,2046,1532,2082,2013,1547,1643,2040,2542,2820,2983,3267,3376,3044,2472,2370,2041,1831,3128,3325,2423,1863,1600,1941,2109,2031,1890,2177,2632,2820,3307,3093,3607,2666,1914,1857,1644,1836,2414,2216,2246,2397,2208,3204,3606,3140,2878,2894,3262,3497,3329,3631,3896,3863,2897,2059,2024,2026,2288,2680,3151,2775,1639,1639,1628,2003,2286,2462,2440,2116,1765,1772,2018,2486,1818,1799,2002,1792,1651,1838,1741,1614,1591,1748,2239,2336,1950,2020,2269,2031,1698,1677,1580,1464,1447,1564,1780,1795,1423,1654,1873,2088,1868,1936,1945,1910,1949,1914,1707,1903,2086,2326,2527,2021,1764,1771,1410,1064,1552,2437,2840,2929,2222,1659,1457,1499,1344,1450,1566,1801,1810,1768,1542,1621,1812,1937,1981,1913,1782,2179,2598,2087,1897,1784,1758,1655,2542,2690,2203,2204,2042,1968,1820,1741,1759,2395,3279,3091,3165,3060,2404,2456,2469,2157,1805,2009,2450,2763,2493,2402,2154,2713,2369,2611,2431,2004,1771,2192,2299,1741,1605,1947,2173,2061,2123,2093,2517,2508,2196,2296,2379,2329,2147,2161,2136,2009,1969,2176,2616,2355,2397,2819,3258,2611,2322,2135,1889,1728,1743,1917,2061,1867,1845,1817,1794,1380,1791,2207,2123,1874,1906,1937,2058,2474,2808,2273,2523,1758,1843,2107,2267,2095,1937,2762,2974,2081,1615,1770,2128,2276,1932,1860,1653,2093,2202,1868,1870,2329,2249,2071,2058,2098,2374,3647,3932,3475,3586,3683,2599,2292,2308,2007,1993,1890,2177,3270,3739,3143,3243,2671,1937,2193,2597,2268,2136,2647,2955,2213,1200,1081,1447,1659,2207,2875,3189,2915,2136,1857,1959,2217,2699,2688,2060,1728,1711,1348,1518,1831,2236,2027,1968,1895,2214,2508,2388,2138,1952,1736,1538,1834,2179,1952,2078,2097,2522,3024,3948,3323,2039,1963,2499,3363,3695,4053,3698,3114,3191,2913,1740,1653,2177,2617,3069,2635,2185,2559,2457,1842,2236,2513,1770,1583,1731,1715,1449,1701,2099,2396,2241,2155,2346,2570,2353,2173,2061,2367,2396,2331,1724,1848,2386,2353,2770,2626,2608,3474,3843,3690,3503,3531,3244,2590,2588,2311,1603,1531,1513,1337,1749,1536,1643,2085,2714,2788,2755,2386,1979,1798,1606,1618,1758,2307,2544,2405,1975,1914,1930,2599,2877,3054,2188,2306,2309,1935,1816,1721,1639,1723,2147,2696,2386,2697,2382,2023,1583,2091,2291,2289,2120,918,859,1861,2127,2741,2292,1737,1863,1748,2547,3116,3808,3670,3181,3220,2731,2735,2616,3357,4061,3907,3339,3062,2877,3020,2543,1847,1914,1991,2832,3355,2941,1918,1222,1381,1935,2072,2081,2144,2215,2141,2055,2344,2858,2703,1866,1901,2366,2326,2232,2586,3111,2896,2709,3081,2956,2441,2226,2105,1820,1976,1757,1596,1959,2118,1697,1675,1906,1880,1766,1630,1460,1569,1405,1691,1912,1964,2069,2098,1880,1980,2098,1890,1812,1841,1841,2005,1920,2448,2656,2343,2600,2626,2854,3199,2894,2591,2199,1959,2064,1738,2965,3295,2612,2780,3197,3383,2922,2514,2621,3210,3314,3377,3829,4025,3959,3183,2169,2027,2232,2505,2812,2469,2077,1798,2045,2788,3917,4589,4585,4685,4730,4528,4103,3911,3879,3858,3600,3088,2509,2209,2030,1960,1857,2063,2062,2069,1592,1714,2126,1780,1522,1930,2279,2474,2510,2215,1693,2503,2898,2958,3029,2953,2967,2969,2811,2703,2401,1954,1981,2409,2548,2532,2911,2071,1666,1990,1976,2030,2298,2178,2056,2403,2602,2315,2567,2525,2271,2043,1863,1869,1944,1885,1891,2083,2285,2217,2221,2298,2103,2024,2310,2251,2449,2624,2256,1838,2319,2689,2655,2702,2784,2569,2224,2416,2862,2656,2330,2272,2252,2383,2566,2501,2150,2289,2492,2469,2491,1771,2113,2588,3108,2718,2149,1929,2257,2424,2479,2543,2661,2026,1848,1911,1661,1851,2339,2769,2969,2797,2191,2082,2097,2481,2061,1752,2387,1852,1713,2495,2876,2270,1793,1800,2368,2483,2306,2556,2763,2452,2369,2498,1991,2132,2460,2091,2361,2458,2301,1989,2110,2303,2381,2079,1794,1561,1702,2180,1967,1858,2177,2585,2454,2474,2165,1847,1636,2021,2310,1974,2575,3124,2796,3020,2176,1660,2160,2494,2503,2625,1982,1550,1395,1363,1639,1745,1669,1405,1557,1582,1668,1399,1625,2184,2040,1789,1893,1744,1498,2154,2040,1464,1675,1893,1848,1692,1788,1769,1472,1374,1600,1579,1428,1475,1514,1673,1740,2014,2344,2545,2588,2321,2214,2646,3043,1968,2118,2129,1490,1887,1626,1802,2541,2735,2484,1788,1552,1873,1874,1717,1830,1923,1767,1426,1476,1750,1739,1664,1671,1632,1621,1683,1766,1344,1514,1665,2343,1858,2192,2005,1702,1737,1724,1722,1685,1791,1911,1750,2525,4320,4430,4343,4452,4459,4444,3991,2941,2293,1943,1765,1583,1475,1454,1614,2101,2467,2460,2109,2101,2130,2030,2116,2935,3032,2137,2016,2156,2148,2485,3372,3018,2796,2234,1717,1772,1555,1212,1520,1204,1453,1567,1681,1725,1779,1692,1649,1739,1858,1696,1984,2572,2038,1480,1415,1744,1651,1626,1976,1865,1678,1682,1665,1399,1250,1240,1757,2149,1992,3057,2731,2153,2208,2113,2020,1796,2071,2001,1447,1533,1842,1709,1722,1670,1567,1635,1510,1403,1395,1318,1533,1596,1448,1607,1565,1838,1623,1522,1688,1735,1529,1447,1498,1340,1338,1491,1359,1369,1356,1489,1837,2743,3327,2340,1692,1623,1743,1560,2091,3157,3342,3034,2834,2412,1869,2065,1672,1624,1991,1864,1674,1811,2360,2015,1510,1543,1499,1505,1928,1510,1393,1429,1340,1262,1315,1318,1309,1432,1570,1528,1426,1323,1302,1346,1415,1486,1526,1442,1374,1243,1405,1938,2048,2074,1967,1860,1635,1747,2304,2924,2571,1594,1454,1479,1750,2120,1853,1906,1871,1593,1532,1603,1607,1487,1570,1610,2383,2912,2912,2967,2586,2082,2228,2836,2963,2697,1936,1467,1744,1922,1735,2064,2087,1912,1932,2087,2045,1965,1958,1963,2128,2325,2548,2533,2690,2769,2406,2361,2387,2105,1954,1992,1923,2214,1948,2251,1917,1899,1870,1816,1671,1644,1856,1898,1852,1837,1986,2008,1752,1421,1569,1904,2014,2311,2837,2990,2805,3040,2990,3063,3233,3240,3616,3699,3621,2676,2240,1937,1638,1559,1465,1498,1596,1906,1676,1438,1468,1468,1184,1363,1433,1253,1577,1553,1388,1372,1479,1424,1332,1353,1528,1561,1596,1657,1686,1533,1456,1618,1748,1592,1541,1471,1706,1690,1478,1410,1945,2300,2404,2273,2595,2775,2249,2412,3133,3142,3504,3588,3454,3485,3518,3635,3758,3771,3812,3646,3196,2634,2290,2396,2436,2577,2374,1730,1943,2661,3437,3603,3440,3203,2961,2867,2867,2244,2148,2204,2338,2516,2385,2387,2386,2902,3562,3334,2932,2465,2166,2524,2510,2126,1817,1711,1905,2217,1998,2203,2940,3261,3208,3387,2921,2020,1500,1553,1650,1577,1609,1678,1950,2182,1851,1693,1969,1534,1548,2248,2142,1677,1943,2477,2885,2609,1901,1652,1910,2134,1914,1696,1763,2098,2060,1927,1776,1890,2274,2571,2496,2374,2498,2294,1907,2344,2492,2502,2232,1898,1723,1835,1823,2212,3142,3186,2975,2898,2784,2744,2224,2587,2815,3024,3003,2401,2457,3191,3120,2523,2457,2302,1934,1877,1752,1860,1888,1808,1655,1576,1512,1743,2687,2972,2379,2285,2258,2320,2599,2172,1580,1696,1861,1759,1804,1597,1687,1901,1626,1839,1976,1685,1821,1947,1861,1761,1800,1811,1897,2082,2047,1876,1798,1933,1929,2037,2321,2371,2603,2533,2143,1971,2145,2034,1985,2228,2762,2481,2297,2646,3299,3205,3334,3549,3376,3130,2950,2777,2219,2215,2496,2294,2153,2179,2060,1717,1627,1559,1638,1592,1362,1410,1669,1765,1623,2007,2071,2573,3038,2653,1825,1548,1609,1717,1910,1730,1523,1759,1948,2313,2377,1962,1374,1962,2253,1850,2059,2197,2219,2063,1722,1670,1975,2261,1703,1587,1831,2129,1846,1512,1441,1264,1287,1648,1794,1798,2105,2139,2075,1955,1731,1984,1862,1719,1811,1860,1640,1607,1781,1948,1847,1874,2308,2237,1917,1819,1949,2186,2201,2184,2397,2316,2110,1831,1879,2741,2845,2566,2371,2766,3378,3329,3695,3652,3608,3415,2581,1919,1887,2220,2511,2097,2095,2096,2424,2335,2007,1881,1803,1833,1769,1604,1710,1744,1621,1669,1706,1648,1764,2149,2156,2041,1894,1792,1668,1403,1847,2323,1961,1969,1647,1614,1871,1919,1620,2026,2478,2700,2570,1869,1906,2248,2012,1781,1692,1996,2096,1952,2206,2244,2132,2184,2126,2084,2283,2439,2270,2168,2687,2402,2099,2008,2024,2421,2210,1767,1975,2545,2751,2884,2811,2510,2292,2253,1920,2261,2411,2329,2553,2215,1783,2181,2457,2464,2510],[4145,3769,3185,2983,3223,3302,3057,2910,2878,3048,3332,3852,4197,3919,3839,3960,3992,3901,3669,3583,3575,3695,3864,3860,3784,3761,3676,3727,3602,3227,3706,3674,3313,2979,2709,2556,2932,3331,2898,2576,2823,2758,2556,2555,2766,3267,3376,3315,3228,3131,3241,2996,3016,3370,3282,3340,3242,3327,3219,2818,2828,2566,2878,2965,2267,1863,1945,2258,2024,2467,2784,1932,2160,2155,2256,2597,2059,2693,3137,2898,2602,2532,2886,2814,3010,3227,2957,2809,3222,3565,3666,3714,3532,3399,3452,3486,3407,3405,3460,3428,3460,3765,2758,1786,1768,2366,2717,2845,2938,2625,2675,2672,3006,3275,2844,1723,1606,2317,2570,2279,2174,1974,1942,2166,1997,1841,1964,2261,2262,2326,2384,2487,1979,1667,1739,2003,2426,2601,2149,1760,1830,2336,2436,2424,2144,1881,2008,2418,2403,2066,2009,2342,2400,2419,2513,2830,3205,1997,1612,1907,1751,2149,2079,1677,1645,2035,2048,1773,1756,1858,1850,2442,2658,2322,2332,2061,2004,2234,2751,2766,2366,2073,2066,2166,2110,3166,2880,2185,2834,2435,2232,2155,2414,2934,2711,2408,2455,2448,2721,2513,2625,3027,3183,3123,3020,2956,2460,1538,1532,2188,1908,1415,1475,2211,1842,1856,2743,2868,2308,1685,1753,2369,2584,2866,3320,3454,3232,2641,2562,2347,2270,3089,3165,2741,2778,2485,1908,1742,1851,1794,2083,2536,2769,3268,3030,3570,2980,2382,2158,1802,1822,2205,2302,2601,3326,3351,3647,3746,3676,3431,3234,3278,3253,3336,3542,3714,3321,2300,1931,1907,1672,2165,2457,2741,2526,2518,2292,1852,1933,1954,2317,2359,2447,2041,1693,1807,2336,2454,2663,2508,2249,2074,1711,1490,1798,2054,1687,2213,2714,2801,2618,2090,1818,1904,1840,1650,1476,1355,1602,1665,1723,1847,1952,1948,2282,1797,1666,1938,1914,2149,2242,1680,1728,1633,1660,1986,1859,1616,1532,1471,1438,1858,2746,3138,2801,2025,1634,1606,1860,1524,1417,1667,1763,1651,1680,1599,1695,1966,2091,2063,1978,1987,2210,2114,1812,1861,1604,1621,2216,3188,2762,2165,1930,1719,2032,2239,2276,2007,2818,3441,3326,3340,2836,2193,2045,2085,1838,1677,1832,2169,2841,2468,2504,2418,2910,2091,1995,2402,2374,2228,2119,2079,1853,1737,2009,2124,1858,2031,2232,2597,3084,2625,1908,2514,2865,2684,2957,2485,1980,1703,1689,1948,1960,2100,2548,2713,2691,2617,2184,1938,1804,1656,1854,2471,2293,2031,1755,1625,1499,1424,1620,1683,1722,1710,1794,2039,2408,2633,2323,2868,2684,2711,2579,2698,2566,2330,3002,3269,2307,1782,1843,1946,2208,2574,2110,1639,2026,2041,1836,2215,2222,1716,1935,2146,2149,2272,3318,3655,3455,3449,3492,2789,2612,2509,1842,2033,2132,2156,3017,3288,2142,1874,1562,1581,1925,1881,1871,2030,2320,2475,2329,1681,1631,2053,2085,2589,2945,2956,2512,1989,2237,2852,2677,2701,2818,1799,1460,1732,1344,1793,1798,2003,2052,1817,1744,2200,2477,2244,1777,1453,1656,1757,1673,1855,1838,1763,1920,2371,2746,3629,3020,1869,2063,2634,3404,3969,4140,3526,3039,2951,2421,1872,2115,2578,2912,3076,2859,2220,2619,2486,1941,1977,2095,2194,2604,2381,1932,2003,1933,2177,2778,2508,2442,2299,2054,1746,2160,1893,1948,2414,2418,2144,2600,2507,2303,2392,2191,2974,3759,3672,3430,3474,2939,2463,2209,2444,2653,2235,2032,2186,1847,1675,1713,2357,2332,2763,2766,3033,2896,2376,2050,1678,1869,2633,2610,2735,2531,1907,2060,2279,2342,2211,2168,1994,1936,1793,1861,1893,1828,1793,1786,2199,2556,2584,2264,2507,2767,2530,2426,2225,2669,2476,1518,1703,2056,2339,2786,1982,1923,1780,2379,3394,3673,3781,3519,3001,2697,2632,3232,2933,3088,2984,2874,2634,2495,2618,2693,1965,1828,2177,1851,2493,2431,2395,2160,1895,2100,2452,2617,2579,2054,1572,1284,1537,2681,3128,2954,2798,2854,2854,2677,2397,2370,2431,2370,2302,2299,2073,2040,2136,2330,2036,2030,2010,1860,1750,1635,1714,1837,1706,1777,1635,1557,1460,1462,1394,1743,1726,1858,1951,2005,1964,1939,1801,1924,2105,2246,2751,2483,1783,1753,2207,2300,2298,2519,2578,2519,2590,2336,1775,1686,1849,1424,2590,3318,3112,2888,2477,3081,3725,3210,2707,2784,2453,2552,3175,3959,4015,3666,2687,2040,2329,2521,2408,2320,1986,1476,1485,1756,2417,3310,3896,4528,4507,4354,4239,4132,4112,3946,3506,3496,3110,2458,2030,2101,1899,1992,2118,2027,1783,1481,1294,1227,1754,2083,2080,2232,2128,1722,1497,2334,2630,2611,2786,3131,3096,2630,2656,2710,2225,1773,1763,1998,2140,2314,2114,1578,1607,2241,2313,2162,2451,2078,2128,2670,3234,3100,2963,2727,2374,2061,2117,1836,1541,1885,1940,1924,1718,1858,1859,2076,2034,2289,2212,1981,1914,2034,1780,1656,1964,2384,2644,2732,2775,2465,2259,2459,2497,2184,2013,2278,2648,2698,2544,2358,2310,2788,2094,2244,2470,1968,2244,2600,2700,2254,1946,2576,2592,2072,2369,2419,2963,1968,1579,1583,1721,1924,1880,2770,3303,2514,1905,2025,2410,3066,2046,1946,2376,1701,1375,2226,2898,2236,1602,1688,1800,1848,2083,2583,2532,2398,2326,2074,1948,2286,2155,2276,2310,2180,2231,2410,2712,2370,2483,2254,1762,1485,1590,1423,1504,1711,1894,1974,2282,2266,1829,1718,1595,1604,1697,1902,2448,2813,2768,2940,2684,1945,2182,2562,2545,1875,1600,1414,1322,1332,1456,1552,1853,1832,1531,1691,1769,1356,1366,1911,2345,1954,1719,1694,1701,2059,1781,1660,1828,1642,1541,1698,1831,1683,1513,1532,1466,1534,1769,1697,1603,1808,1854,2270,2514,2322,2070,2110,2397,2602,2827,1730,2087,1576,1577,1857,1587,2136,2981,3278,2953,1982,1728,1786,1765,1880,2452,2392,1955,1485,1621,1834,1751,1654,1551,1430,1327,1395,1661,1483,1794,1868,2531,2474,2540,2004,1665,1699,1512,1657,1542,1406,1920,2027,3050,4200,4496,4388,4288,4392,4460,4008,3510,3500,2496,2088,2205,2873,2588,2787,3076,2803,2336,2070,2010,1875,1736,2122,3135,2518,2213,2104,2008,1995,2134,2362,2446,2664,2521,1876,2082,1639,930,1350,1249,1448,1274,1707,1916,1594,1539,1594,1629,1682,1674,1906,2031,1674,1417,1440,1544,1684,1550,1437,1532,1487,1482,1478,1290,1396,1433,1954,2170,2243,2589,2257,1784,1594,1469,1499,1671,1376,1476,1554,1444,1700,2039,2090,1826,1538,1494,1396,1243,1243,1364,1650,1669,1453,1513,1444,1408,1366,1404,1481,1527,1506,1470,1495,1317,1283,1221,1150,1373,1412,1493,1611,1948,2744,2908,2110,1711,1817,1406,1899,3138,3439,3054,2414,2219,2365,1959,1860,1779,1756,1652,1796,2608,2575,1665,1560,1502,1546,1506,1777,1591,1574,1485,1320,1231,1341,1409,1464,1580,2169,1826,1530,1458,1586,1378,1279,1344,1517,1523,1370,1362,1788,2405,2487,1957,1466,1758,1598,1473,1794,2070,1663,1229,1272,1439,1793,2060,1870,1875,1634,1389,1592,1655,1682,1556,1676,1867,2178,2621,2835,2690,2221,2319,2313,2627,2889,2543,1945,1687,1856,1720,1590,1819,1729,1783,2004,2095,1767,1736,1740,2040,2149,2427,2718,2831,2897,2820,2328,2031,2343,2025,2242,2734,2341,2288,1956,2065,1999,2122,2100,1796,1486,1453,1655,1815,1895,1778,1768,1831,1739,1576,2072,2214,2008,2248,3134,3630,3138,3351,3432,3426,3465,3645,3759,3780,3674,3303,3064,2542,1844,1765,1583,1642,1697,1487,1196,1301,1626,1598,1416,1472,1376,1531,1683,1447,1614,1593,1695,1597,1607,1611,1660,1515,1404,1637,1945,2068,1748,1722,1728,1649,1920,1513,1662,1524,1513,1683,1943,2241,2792,2827,2654,2365,2116,2336,3051,3065,3526,3414,3122,3409,3928,4015,3718,3757,3767,3788,3841,3155,2680,2574,2048,1974,2113,1906,2458,3466,3805,3514,3264,3139,3195,2678,2654,2109,2081,2503,2688,2679,2858,2859,2642,2884,3221,2854,2577,2138,1992,2444,2302,2023,1778,1504,1495,1560,1703,2330,2566,2664,3560,3572,2445,1881,1696,1553,1450,1567,1628,1514,1831,2237,1758,1620,2242,2088,1863,2136,1860,1574,1708,2401,2985,2611,2340,2228,2086,1974,1606,1601,1685,1779,1962,1987,1994,1981,1966,2082,1816,1951,2143,2426,2533,2244,2611,3041,2754,1970,1680,1793,1877,2304,2645,2359,2819,2786,3002,2552,2019,2300,2768,3120,2622,2010,2322,3146,3067,2472,2462,2103,1878,2002,2188,1787,1238,1126,1670,2703,2952,2857,3221,2863,2412,2401,2408,2365,2354,1749,1472,1527,1376,1493,1637,1583,1824,1874,1421,1403,1489,1569,1569,1715,1716,1874,1981,2005,2205,2087,1826,1667,2062,1967,1782,1863,2008,2262,2223,2426,2292,2094,2204,2156,2262,2204,2436,2458,2742,2986,3240,3282,3294,3247,3286,2978,2338,2013,1737,1902,1824,2359,2522,2703,2216,1769,1804,1769,1769,1868,1842,1570,1583,1682,1631,1771,2002,2144,2262,2040,1283,1235,1528,1641,1854,1851,1732,1673,1664,2076,2246,2002,1952,3166,3200,2337,1898,2119,2281,2121,1763,1555,1980,2057,1688,1823,2134,2024,1674,1444,1438,1365,1334,1524,1700,1908,1999,2077,1904,1810,1750,1872,2018,1896,1736,1742,1860,1931,1920,1904,1544,1824,2122,2132,1898,1493,1661,1914,1850,1911,2404,2609,2509,1675,1964,2720,2720,2425,2392,2420,2454,2539,3190,3357,3204,2902,2202,1956,2038,2284,2380,2193,1952,2026,2378,2172,1608,1539,1766,1975,1996,1858,1938,2012,1655,1787,1882,1744,1652,1812,2166,2575,2776,2178,1710,1714,2306,2246,1862,2061,2007,1664,1566,1811,1620,1640,2043,2027,2046,1936,1778,2331,2543,2241,2204,2348,2319,2307,2286,2060,2153,2661,2071,1701,2094,2508,2530,2406,2325,2028,1769,1689,1719,1810,1860,2153,2714,2930,2602,2779,2478,2278,2500,2513,1992,1868,2449,2801,2456,1828,1811,2245,2302,2574,2275],[3802,3023,2289,2483,2802,2997,3154,3144,3006,3391,3660,3823,4048,4108,3942,3979,3963,3973,3851,3688,3641,3629,3702,3801,3851,3796,3720,3660,3616,3536,3672,3405,3361,3163,3006,2962,3145,3421,3186,3204,3077,3044,3033,2889,2873,3063,3326,3659,3338,3049,3113,3137,3330,3332,2945,2877,3053,2776,2632,2868,2929,2490,2717,2727,2557,2575,2409,2654,2524,2357,2008,2321,2237,1818,1692,1798,2008,2978,3506,3541,3307,2928,2667,2775,3247,3427,3023,3082,3420,3537,3670,3736,3772,3666,3509,3398,2929,2779,3313,3428,3540,3676,3453,2551,1883,2419,3006,3003,3012,2828,2810,2744,2729,2996,2411,1535,2067,2714,2843,2595,2371,2342,2433,1998,1920,1882,1892,1942,2020,2029,2187,2355,2367,2294,1879,1662,1995,2236,2640,2564,2017,1956,2360,2722,2172,2040,2367,2204,2170,2436,2261,2248,2617,2519,2436,3339,3058,2351,1953,1822,1856,2160,2169,1946,1679,1755,1725,1612,1646,1677,1837,2322,2375,2362,2169,1964,1748,1715,1969,2403,2812,2546,2484,2427,2127,2770,2781,2533,2797,3006,2726,2323,2740,2774,2381,2305,2030,2530,2879,2623,2355,2901,2945,2682,2845,3138,2812,1056,1208,2501,2606,2130,2062,1785,1388,1237,1740,2519,2303,1297,1350,2110,2369,2854,2738,3342,3294,2745,2509,2343,2282,2964,3229,2894,3082,3104,2513,1748,1813,1819,2013,2154,2601,3035,2927,3034,2928,2634,2426,2206,1980,2367,2381,3107,3950,3741,3560,3662,3692,3531,3496,3463,3337,3377,3882,4133,3443,2360,1896,1749,1799,1978,2156,3012,2823,2395,1857,1509,1841,2431,2289,1992,1831,1570,1455,1383,2226,3436,3532,2540,1968,1648,1531,1666,1963,2539,2286,2176,2910,3210,3378,2770,1778,1674,1658,1642,1498,1454,1866,1934,1892,2179,2080,1957,1984,1782,1819,2160,2250,1915,1996,2313,1969,1587,1476,1751,1564,1345,1555,1626,1506,2087,2755,2699,2711,1710,1679,1869,1974,1778,1582,1452,1479,1601,1562,1486,1544,1968,1970,2273,2355,1968,1814,1837,1837,1912,1818,1794,2293,2499,1982,1768,1589,1729,2157,2472,2332,2168,2712,3276,3404,3356,3219,2684,2206,1995,1942,2128,1812,1642,2105,2026,2376,2640,2912,2522,2587,3047,2458,2114,1825,1743,1607,1771,1878,1946,1973,2176,2240,2313,3123,2657,1995,2712,2486,2701,3054,2715,1938,1544,1154,1409,1811,1974,2438,2680,2336,2243,2084,1977,1953,1686,2024,2700,2546,2035,1732,1714,1623,1505,1294,1292,1661,1739,1902,2236,2910,2796,2456,2625,2799,2895,2884,3156,3121,2709,3312,3217,2509,2337,2217,2321,2278,2577,2604,2083,1797,1914,1739,1979,1937,1690,1923,2025,1912,1983,2366,2641,2421,2314,2282,2224,2932,2767,1914,2054,1794,1779,2635,2644,1723,1592,1657,1849,1847,2051,2197,2001,2015,2141,2214,1898,2646,2744,2048,2316,3025,2655,2643,3437,3719,3099,2395,2411,2109,2070,1782,1526,1107,1574,1762,1600,1843,2110,2174,2059,2047,1816,1550,1805,1656,1816,1748,1709,1755,1691,1838,2079,2735,3510,2541,1967,2201,2668,3221,3779,3296,3233,3297,3188,3000,2700,2519,2662,2743,2832,3127,2149,2198,2519,2356,1889,1960,2113,1945,1746,2103,2669,2585,1775,2458,2590,2245,1751,1869,1890,2137,1859,2281,2742,2254,2595,3001,1969,2148,2343,2862,3552,3628,3504,3444,2586,1755,1798,2256,2913,2502,1675,1862,2295,2056,1871,2562,2894,2698,2952,2822,3432,3855,2728,1797,1553,1863,2274,1967,2149,2386,2681,2342,2099,1971,1887,1981,1911,1801,1771,2042,1902,1796,1930,1772,2039,2609,2545,2264,2706,2844,2722,1939,2020,2962,2539,2377,2366,2123,2756,2482,2020,1990,1823,2654,3505,4192,4428,4688,3829,2752,2636,2734,2675,2072,1478,1800,1922,1722,1912,2340,2538,2985,2327,1975,2259,1781,2072,2459,2423,2662,2751,2727,2557,1779,1910,1866,2247,3140,2995,2895,3354,3206,2784,2832,2940,2310,1718,2028,1898,2022,2254,2255,2224,2190,1729,1501,1720,1648,1563,1714,2022,1853,1762,1577,1517,1636,1597,1444,1488,1488,1830,2173,1954,2061,2039,1862,2596,3322,2784,2208,2884,2341,1906,1859,2324,2387,2031,2099,2223,2424,3066,2585,2071,1854,2107,2083,2210,2673,3095,3043,2538,2644,3234,3185,2631,2607,2199,1745,2293,3474,3999,4104,2720,1852,1879,2181,2417,2348,2091,1713,1598,1908,2161,2297,2730,3583,4145,4332,4517,4565,4173,3270,2923,3318,3224,2555,2043,1974,1952,1870,1933,2043,2049,1841,1669,1789,1984,2047,2091,2558,2198,1871,2062,2702,2827,2567,2586,3096,3283,2700,2589,2602,1919,2221,2464,2342,2387,2151,1746,1485,1608,2129,2019,1627,1400,1688,2581,2780,3140,3052,2819,2964,2995,2683,2413,2100,2109,2415,2017,1809,1619,1638,1864,2069,1944,1803,1806,2001,2266,2257,2210,2072,2029,2170,2715,2622,1981,2000,1998,1921,1925,1851,1880,1967,2374,2405,2237,2083,2238,2556,2025,2835,2595,2020,1970,2193,2650,2822,2954,2680,2114,2034,2515,2026,2656,1968,1570,1896,2400,2062,2042,2833,3120,2612,1958,1842,2129,2734,2031,2164,2220,1748,1640,2178,2476,1858,1722,1940,1905,1794,1846,1916,2205,2322,2066,1869,2242,2102,1974,2363,2147,2030,2248,3028,3409,2889,2419,1962,1486,1569,1710,1598,1545,1626,1880,2344,2489,1851,1560,1665,1680,1651,1683,1626,1921,2430,2832,2898,2290,1948,2247,2490,2320,1626,1451,1304,1520,1731,1532,1323,1581,1836,1757,1537,1405,1322,1272,1866,2238,2090,1618,1596,1713,1589,1447,1636,1772,1448,1308,1621,1802,1635,1493,1512,1423,1636,2139,1788,1810,2148,2244,2641,2451,2127,2224,2224,2642,2844,2409,1976,1936,1660,1923,1827,1587,2306,2956,3048,2546,1767,1763,1710,1751,1848,2120,2231,1695,1438,1845,1880,1661,1626,1428,1364,1330,1456,1397,1521,1708,2101,2627,2851,2709,1506,1460,1358,1357,2151,1359,1288,2654,2557,3163,4093,4353,4376,4227,4221,4245,3836,3188,2998,2649,2618,2893,3332,2955,2932,2817,2183,2011,1942,1967,1876,1748,2100,2940,2213,2023,2147,2116,2067,2001,2030,2186,2623,2346,1796,2217,1566,1152,1435,1575,1581,1604,2201,2004,1569,1445,1481,1456,1780,1465,1469,1525,1463,1399,1477,1540,1641,1627,1516,1358,1339,1459,1470,1547,1524,1920,2211,2137,1980,2072,2233,1806,1609,1610,1766,1824,1567,1653,1787,1551,1644,2462,2788,2091,1666,1663,1491,1196,1318,1376,1425,1441,1311,1323,1390,1349,1387,1394,1299,1410,1390,1370,1417,1395,1425,1450,1312,1366,1399,1703,1937,1818,1746,2024,1965,1692,1733,1785,1841,2431,2786,2864,2579,2386,2202,1935,2268,2388,2246,2307,2298,2223,1979,1707,1655,1505,1589,1538,1483,1637,1735,1767,1449,1400,1428,1447,1647,1661,1871,1543,1474,1648,1615,1393,1392,1357,1505,1761,1561,1567,1807,2056,1758,1456,1511,1729,1444,1244,1628,1821,1576,1245,1264,1965,2557,2612,2167,1940,1799,1497,1500,1460,1372,1520,2009,2193,2203,2621,2800,2740,2277,2576,2776,2510,2320,2134,1994,2287,2379,1797,1664,1575,1519,1853,1881,1853,1664,1780,1949,1867,2024,2287,2723,3200,2973,2575,2498,2458,2700,2178,2463,2699,2715,2532,2213,2198,2250,2353,2368,1944,1515,1548,1605,1806,1931,1754,1666,1628,1701,1919,2061,2075,2136,2582,3584,4026,3387,3671,3949,3706,3676,3757,3759,3514,3414,3451,3483,3047,2077,1843,1666,2004,2126,1647,1408,1493,1576,1662,1686,1485,1397,1515,1698,1555,1656,1532,1533,1556,1700,1753,1802,1664,1589,1744,1755,1895,1635,1604,1654,2230,1954,1781,2219,2448,2606,2837,2994,2994,2697,2365,2677,2527,2567,2294,2435,2635,3384,3483,3432,3870,4153,4058,3870,3931,3436,3529,3819,3301,2558,2385,2172,1845,1511,1706,2447,3084,3392,3494,3407,3430,3521,3181,2984,2392,1975,2232,2671,2790,2790,2940,2959,2924,3032,3021,2994,2482,2057,2183,1953,1676,1680,1820,2043,1747,2465,3249,2555,2176,2706,2862,2411,1887,1616,1483,1578,1922,1841,1610,1710,1880,1622,1410,1871,2359,2248,1926,1675,1629,1967,2112,2308,2388,2504,2070,1652,1786,1624,1545,1521,1638,1777,1998,2230,2134,1749,2009,1958,1880,2036,2445,2855,2180,2531,3146,2475,1640,1530,1606,1660,2036,2288,2344,2821,3182,3094,2392,2162,2192,2546,2745,2188,1821,1824,2402,2424,2310,2397,2355,2143,2287,2610,2138,1478,1333,1784,2645,2454,2172,2597,2721,2320,2364,2531,2679,2302,1640,1929,2004,1775,1786,1713,1804,2294,1859,1577,1900,2104,1866,1621,1587,1797,1938,1849,1847,1748,1693,1741,1569,1682,1617,1593,1680,1862,1889,1884,2113,2255,2203,1969,1985,2277,2312,2586,3212,3427,3108,3123,3294,3239,3120,2603,2029,1789,1748,1749,1746,1595,2048,2208,2155,2217,2315,2063,1831,1624,1829,1897,1594,1559,1743,2049,2025,2011,1897,2019,1810,1343,1399,1794,1450,1767,1720,1836,1748,1769,1885,1949,2084,2797,3795,3747,2880,2268,2098,2017,2160,2445,1681,1907,1886,1867,1968,2250,2602,2181,1465,1444,1598,1905,1604,1694,1825,1836,1778,1879,2017,2019,1861,1836,1870,1665,1713,2338,2722,2029,1632,1461,1820,1704,1571,1686,1790,1846,2012,2102,2659,2678,2242,1902,1768,2536,3207,2946,2641,2822,2702,2215,2504,3060,2788,2657,2534,2495,2414,2404,2352,2204,2138,1982,2176,2540,2198,1703,1742,1866,2120,2345,2111,1929,2088,1873,1742,1692,1661,1686,2272,3121,3277,3278,2584,1914,2040,2256,2263,1819,2512,2837,1935,1678,1830,1770,1625,1671,1371,1757,2163,1715,2062,2128,1945,2237,2215,2139,2232,2202,1470,1973,2732,2478,2222,2109,2078,1870,1942,2075,1869,1694,1664,1675,1779,1672,2022,2438,2384,2441,2161,1671,1941,2203,2454,2315,2110,2527,2697,2366,2379,2493,2193,2166,2374,2156],[2843,2667,2422,2600,2845,3160,3159,3375,3320,3582,3868,3715,3698,4060,4120,4003,3760,3748,3786,3641,3660,3596,3529,3719,3739,3625,3638,3551,3557,3361,3377,3488,3362,3217,3165,3061,3123,3210,3140,3189,3238,3283,3312,2987,2876,2827,2998,3439,3192,2677,2905,3176,3121,3272,3152,2810,2643,1964,2194,2422,2354,2725,2856,2821,2881,2881,2456,3084,3184,2318,2569,3255,2901,1945,1670,1698,2256,3482,3553,3421,3739,3686,2807,2447,2999,3145,3000,3406,3660,3702,3687,3763,3886,3746,3543,3386,2741,2326,2924,3190,3356,3619,3583,3131,2868,2868,3042,2897,2839,3031,3020,2921,2676,2920,2596,2451,2648,2791,2873,2567,2390,2542,2728,2398,2512,2005,1766,1827,1996,2115,2525,2627,2283,2337,2212,2114,2564,2313,1919,2320,2558,2111,1951,2054,2160,2336,2229,1958,2249,2361,2502,2553,2981,2871,3123,4202,3486,2402,2176,2160,2468,2658,2157,2035,1879,1914,1785,1510,1611,1600,1867,2268,2667,2634,2238,1986,1775,1650,2121,2446,2869,2765,2796,2729,2318,2294,2514,2578,2713,2796,2525,2541,3118,3044,2370,2297,2249,2551,3366,3376,2762,2734,2548,2401,2980,3703,3256,1519,1744,3195,3325,2907,2776,2166,1694,1362,1856,2965,2504,1687,1887,2490,2740,2733,2638,3425,3574,2805,2474,2546,2200,2662,3233,2992,2926,2854,2453,1891,1908,1862,1775,1818,1980,2251,2374,2310,2426,2865,2663,2547,2563,2707,2366,3088,3927,3418,3392,3614,3454,3406,3525,3503,3504,3485,3244,3458,3052,1983,1630,2062,3086,3220,3067,2919,2232,1814,1436,1824,2591,2599,2267,1869,1670,1605,1480,1467,1680,2306,2674,1861,1674,1604,1650,1757,2233,2539,2459,2657,3053,2998,3034,2190,1423,1548,1620,1512,1489,1613,1670,1771,1871,2083,2099,2282,2342,1765,1666,2260,3410,2514,1893,2656,2249,1757,1469,1479,1287,1550,2217,1935,1597,2318,3098,3233,2908,1960,2909,2735,1981,1790,1774,1740,1832,1839,1456,1535,1670,2294,2079,2583,3001,2203,2020,2117,1911,1895,1845,1818,2188,2152,1821,1836,1687,1905,2138,2270,1817,1856,2347,3117,3491,3782,3959,3414,2842,2453,2800,2922,2168,2090,2674,2654,2405,2433,2728,2779,3178,3307,2116,1464,1162,1445,1732,1749,1703,2124,2436,2440,2559,2833,3266,2581,2632,2917,2504,2399,2762,2564,1866,1876,1704,1543,1561,1658,2327,2421,2081,1875,1968,1814,1977,1699,1652,2302,2623,2018,1577,1741,1753,1689,1558,1778,2579,1939,1953,2286,2511,2332,2197,1917,1776,2169,2720,3154,3665,3647,3747,3322,2764,2372,2179,1898,1747,1876,2278,2586,2335,2112,1835,1783,1820,2001,1962,2178,2640,2558,2250,1947,1773,1887,1902,2223,2981,2442,2299,2264,2089,1843,2444,2301,1714,1603,1888,2104,1822,2204,2268,1972,1879,2231,2017,1850,2374,2306,1752,2082,2361,1997,2301,3506,3981,2841,2268,2419,2506,2515,2280,2183,1690,1854,2180,2119,1958,1996,2542,2432,2164,2009,2244,2579,2088,1745,1607,1555,1755,2120,2069,2329,3010,3476,2118,2002,2362,2879,3294,3100,2651,3137,3473,3260,3349,2880,2578,2817,3305,2655,2652,2573,2390,2483,2206,1815,1799,1829,2099,2507,2311,2508,3022,1996,2360,2888,2443,2031,1939,1676,1881,2439,2742,2590,2394,2410,2202,2070,2017,2324,2933,3291,3008,2689,2744,2530,2087,2023,2001,2208,1918,1283,2008,2655,2451,2513,3064,3190,2846,2797,3349,3693,3054,1907,1762,1483,1938,2161,1908,1988,2348,2342,1945,1688,1380,1763,2386,2244,1887,1991,2576,2352,2106,1981,1792,1954,2194,2244,3123,3465,2410,1759,1241,2268,2654,2101,2349,2341,2554,2755,2019,1918,1938,2365,2536,2581,4190,4728,4252,3161,2259,1889,1626,2046,1987,1510,1709,1642,1798,1963,2147,1903,2179,1814,1880,1886,1703,2236,2482,2569,3063,3326,3190,2702,1813,1814,1997,2554,2708,2142,1908,2617,3041,2640,2678,2752,2256,2029,2281,2037,2180,2585,2470,2343,2199,1760,1392,1432,1537,1634,1961,2296,2119,2152,1930,1812,1736,1664,1576,1437,1090,1778,2613,2148,2269,2423,2016,2151,2690,2850,2423,2541,2472,2277,2275,2323,1968,1840,2473,2668,2789,3382,2923,2335,2100,2221,2078,2105,2354,2553,2389,2196,2136,2192,2278,2873,2866,2895,2187,2117,2871,3870,3209,2268,2040,1704,1831,1900,2316,2228,2016,1727,1952,2251,2282,2169,2491,3288,3937,4587,4560,3454,2404,2009,2258,2431,2234,2192,2178,2089,2045,1838,1913,2066,2141,2065,2010,1793,2097,2548,2907,2799,2964,3274,3166,2735,2635,2806,2789,2642,2438,2467,2536,2292,2532,2310,2314,2212,1764,1586,1538,1495,1952,2138,1749,1160,1471,2645,3287,2873,2506,2577,2706,2942,2790,2348,1895,2175,2958,2484,2386,2410,1986,2054,2586,2596,2168,2212,2518,2353,1882,2031,2070,2155,2220,2351,2142,1905,2008,1877,1849,1797,1919,1850,1882,1661,973,1155,1658,1804,2223,2522,2822,2494,1889,1531,1866,2076,1918,2208,2119,1827,2223,2229,1812,2252,2254,2038,2091,2104,1859,2160,2751,2729,2210,2037,2041,2000,2144,1985,2470,2885,2793,2346,2066,1716,1438,1829,2115,2071,2014,2439,2302,1980,2083,2217,2444,2330,1838,2000,2795,2612,1847,2234,2702,2756,2511,1913,1475,1639,1621,1485,1766,1700,1554,1652,1869,1903,1679,1819,1724,1439,1400,1493,1594,1707,1979,2634,3069,2170,2306,2259,2363,1810,1491,1317,1313,1558,1627,1425,1444,1563,1519,1568,1686,1519,1417,1451,1697,1595,1836,1759,1784,1768,1664,1664,1549,1692,1344,1260,1643,1735,1497,1623,1782,1663,1666,1604,1403,1886,2874,3022,2972,2907,2495,2878,2722,2652,2875,2189,1953,2066,1955,1985,1605,1504,2031,2524,2822,2536,1904,1764,1766,2056,2230,2289,2050,1419,1413,1968,1841,1666,1731,1477,1330,1252,1361,1227,1600,1876,2054,2500,2930,2952,1512,1351,1430,1887,2474,2109,1979,2497,2358,2618,3104,3247,3452,3762,3840,3764,3205,2278,2633,2424,2421,2881,3029,2864,3076,2729,2169,2250,2197,2036,1887,1722,2288,2729,2230,1965,1978,1951,1942,2015,2020,2257,2769,1914,2300,2563,1915,1416,1334,1536,1625,1917,2150,1686,1575,1450,1333,1479,1720,1543,1515,1493,1390,1390,1392,1323,1412,1595,1562,1543,1532,1641,1667,1731,1758,2359,2288,1846,1786,1851,1938,1596,1600,1979,2070,1852,1942,1630,1380,1566,1824,2408,2510,2068,2056,1762,1636,1170,1328,1360,1312,1471,1438,1359,1446,1464,1444,1395,1352,1476,1416,1377,1337,1400,1254,1410,1479,1404,1686,2284,2249,1802,1478,1571,1604,1593,1520,1601,1881,1887,1936,2003,2085,2127,1724,1571,1659,1860,2036,2769,2764,2552,1907,2097,2366,2185,2238,1867,1478,1556,1804,1862,1405,1557,1443,1349,1759,1741,1438,1501,1694,1686,1499,1737,1879,1429,1600,1792,1612,1672,1874,1745,1546,1890,2120,1809,1475,1670,1885,1406,1276,1219,1198,1758,2579,2600,2211,2076,1913,1662,1719,1638,1422,1807,2741,2935,2336,3242,2919,2331,2104,2665,2972,2452,2099,2025,2379,2908,2586,2154,1846,1632,1526,1540,1748,1864,1614,1657,1862,1963,2073,2250,2746,2842,2414,2311,1941,2164,2786,2503,2229,2466,2952,3003,2690,2129,1966,2114,2451,2217,1725,1933,1838,1732,1709,1725,2031,1896,1637,1777,1950,2114,2113,2767,3609,3839,3554,3392,3138,3111,3316,3533,3154,2333,2946,3160,3480,2965,2320,1737,1556,1754,1832,1613,1510,1588,1630,1596,1453,1315,1331,1394,1737,1695,1599,1490,1296,1405,1904,1888,1694,1659,1549,1583,1561,1582,1426,1426,1527,1925,1832,2212,3051,3305,3307,3396,3570,3332,2545,2105,2509,2574,2662,2631,2330,2666,3560,3848,3731,3528,3378,3645,3559,3405,3542,3663,3341,2768,2319,2292,2344,1915,1605,1936,2101,2134,2796,3382,3560,3636,3399,3208,3252,2859,2133,2013,2026,2537,2592,2761,2968,2967,2854,2625,2668,2203,1862,1854,1660,1909,2281,2677,2424,1875,2751,3796,3138,2076,1907,1923,1772,1626,1528,1581,1988,2036,1636,1657,1520,1473,1475,1757,1692,1817,1889,1952,1931,2201,2280,2001,2054,2210,2666,2234,1874,1605,1802,1925,1734,1623,1599,1844,2091,2162,2170,2366,2284,2141,2239,2463,2555,2115,2100,2260,2290,1956,1499,1748,1859,2156,2013,1824,2484,3041,2676,1964,1860,2072,2175,1993,2232,2245,2173,2250,2132,2256,2369,2885,3164,2877,3120,3260,2864,2686,2294,2215,2028,2281,2235,2261,1909,1914,2062,2166,2039,1825,2025,2408,2464,2260,2097,2075,1824,1583,1817,2350,2495,2240,1885,1560,2226,2143,1727,1637,1617,1678,1610,1564,1560,1592,1534,1697,1821,1644,1637,1669,1644,1488,1928,2142,2260,2605,2644,2996,3347,2954,2709,2915,2861,2777,2125,1724,1782,1737,1604,1624,1498,1641,1803,1849,2345,2498,2032,1844,1906,2132,1882,1579,1596,1812,2027,1907,1906,2107,1950,1728,1763,1619,1782,1621,1717,1669,1737,1762,1980,1884,1584,1477,2024,2986,2889,2211,1878,1762,2125,2463,2352,2072,2230,2050,1770,1787,2433,3100,2663,2169,1676,1973,1974,1690,2322,2198,1714,1520,1865,2405,2524,2393,2153,2010,1582,1841,2264,2479,2215,1731,1647,1735,1504,1476,1592,1836,1936,1873,2419,3228,3155,2712,2180,2339,2800,2886,2890,2831,2710,2570,2181,2467,3244,2935,2310,2404,2460,2329,2431,2379,2410,2308,2061,2137,2447,1900,1792,1680,1754,2032,2438,2192,1812,1862,1985,1814,1454,1531,1780,2503,3150,3409,2998,2868,2100,1965,2570,2737,2247,2844,2908,2429,2702,2647,2264,1993,1949,1734,1971,1875,1644,1740,1745,1738,1722,2176,2124,2254,2046,1863,2643,2776,2360,2220,2126,1714,1604,1803,1746,1712,1921,2025,2237,2423,2013,2091,2532,2458,2423,2019,1788,2176,2194,2019,1643,1834,2519,2447,2623,2774,2549,2219,2192,1992,2004],[2293,2801,2784,2845,3079,2965,3197,3493,3642,3665,3865,3632,3413,3652,3699,3660,3758,3697,3678,3550,3538,3584,3550,3716,3838,3764,3628,3571,3518,3158,3220,3746,3736,3607,3151,2601,2858,3178,3144,3100,3264,3288,3174,2698,2498,2844,3176,3373,3153,2243,2485,2805,3127,3426,2812,1792,1875,2392,2448,2412,2810,3312,2850,2690,3249,3439,2208,2989,3046,2194,2278,3213,3129,2191,2079,2103,2822,3560,3374,3083,3343,3743,3441,3083,3142,3166,3398,3851,3849,3948,3738,3716,3901,3942,3890,3763,2998,2364,2463,2877,3066,3061,3124,3386,3386,2751,2387,2643,2498,2790,2724,2658,2823,2873,2842,2876,2789,2501,2165,2099,2219,2486,2787,2745,2487,1964,1557,1599,1886,1991,2157,2199,2324,2881,2890,3000,3213,2824,2131,3284,3652,2576,2072,2099,2126,2230,1768,1701,2019,2355,2541,2414,2720,3250,4184,4452,3724,3091,2631,2531,2724,2357,2138,2105,2036,1762,1427,1356,1699,1963,2266,2863,2931,2733,2428,2382,2121,2743,3072,2469,2353,2561,2574,2459,2467,2378,2610,2807,2764,2715,2498,2666,2854,2610,2035,2121,2454,2385,2766,3523,3360,2683,2493,2779,3489,3753,3234,2886,2886,3362,3348,3229,3293,2891,2290,1694,2112,2531,2254,2091,2276,2585,2984,2955,3199,3458,3286,2587,2492,2800,2352,2472,3441,3432,3285,3081,2877,2516,2365,2464,2454,1914,1551,2224,2841,2257,1904,2553,2710,2683,2134,1982,2066,2589,3466,3775,3588,3188,2831,2661,3014,3209,3444,3168,2253,2500,2289,1680,1724,2820,4095,3842,2984,2156,1896,1838,1644,1986,2308,1869,1762,1832,1743,1598,1495,1561,1760,1547,1638,1853,1762,1502,1490,1599,2300,2754,2602,2328,2055,2094,2549,1813,1542,1554,1616,1627,1695,1748,1493,1496,1610,2003,2160,1840,1786,1627,1675,2542,3145,2117,1647,2519,2403,1835,1493,1308,1260,1535,1780,1553,1605,2305,2792,3085,2552,1774,2147,2095,1979,1932,1686,1670,1845,1861,1521,1585,1635,1803,2231,2888,2750,2425,2696,2669,2389,2197,2062,1937,2331,2150,1769,1971,2128,2501,2470,1909,1933,2493,3124,3834,3614,3671,3891,2999,2631,3242,3882,3592,2820,2929,3342,3141,2550,2077,2058,2567,2934,3051,1782,1270,1809,2654,2227,1626,1686,2351,2806,2377,2271,2611,2648,2198,2496,2554,2398,3091,3512,2450,1962,2198,2286,2056,1640,1967,2670,2099,2067,1890,1882,1803,1821,1859,2124,2322,2213,1676,1273,1214,1368,1666,2021,2077,2054,2136,2213,2224,2502,2475,2249,1648,1470,1596,1796,2381,3186,3715,3765,3565,2939,2243,1932,1787,1836,2094,2147,1947,1974,1775,1839,1750,2050,2406,2585,2771,2708,2410,1952,1910,1852,2001,2544,2841,2698,2649,2391,2431,2605,2767,3084,2354,2098,2582,2014,2068,2264,2389,2432,2224,2130,2358,2231,1659,1871,1884,1628,1821,1735,1712,2070,2987,2873,2293,2466,2983,2653,2065,2197,2455,2072,2008,2179,2557,2202,1991,2133,2416,2275,2220,2358,2534,2376,2031,1637,1648,2366,2646,2111,2393,2859,2636,1987,2000,2678,3123,3194,3338,3416,3459,3664,3155,3021,2945,2805,3311,3807,3042,2635,2645,2359,1983,1930,1975,1905,1903,2543,3029,2303,2489,3121,2739,2698,2945,3101,2518,1978,2210,1905,2101,2364,2165,2182,1643,2315,2371,2463,2457,2132,2552,2554,2341,2819,2766,2702,2345,2090,1994,2024,1800,2532,2600,2355,2753,3032,3078,2824,3067,3591,3206,2592,1440,1480,1886,2395,2241,1901,1996,2054,1504,1581,1932,1627,1885,2293,2294,2062,2048,2345,2342,2198,2003,2123,1892,1499,2640,3783,3583,2521,2053,2246,3209,2739,2240,2525,2555,2589,2413,2360,2265,1971,2495,2120,2424,3974,4373,3802,3028,2175,1736,1661,2073,1796,1945,2307,1835,1841,1959,2120,1881,1807,1458,1709,1763,1480,1786,2332,3221,3045,2940,2967,2724,1992,1953,2326,2532,2343,1966,1903,2488,3055,2835,2856,2417,2073,2314,2527,2552,2940,2950,2369,2306,2336,1938,1719,2145,2084,1796,1955,2370,2262,2231,2625,2344,1822,1666,1527,1257,1082,2131,2501,2293,2342,2454,2549,2263,2236,2779,2727,2492,2552,2237,2198,2730,2752,3156,3122,2821,2798,2622,2392,2169,2096,2239,1978,1757,1855,1937,1861,2208,1969,1915,2389,2403,2398,3239,3067,2410,3378,3641,2688,3341,3548,2014,1809,1508,1857,2227,2143,1931,2038,2191,2225,2155,2253,2507,2886,3784,3515,2068,1432,1583,1862,2022,2068,2370,2702,2876,2116,1708,2020,1971,2051,2282,2277,2193,2102,2449,2639,2552,3002,3392,3238,2975,3020,3459,2986,2455,2160,1765,1986,2252,2069,2030,2170,1782,1792,1659,2056,1899,1908,2124,1954,1799,1779,1863,1802,1884,2618,3382,3571,3094,2553,2141,1848,2071,2504,2321,2665,3077,2742,2481,2778,2652,2377,2372,2508,2229,2330,3227,2612,1996,2232,2287,1936,1847,2048,1840,1964,2002,2357,1638,1366,788,871,1386,1733,1734,2245,2264,1880,2075,1918,1512,1887,1802,1852,2548,2586,1959,2081,2025,2207,2611,2471,2658,2183,1737,2001,2396,2534,2698,2141,2236,2119,2110,1967,1771,2493,2545,2242,2399,2614,1803,1741,2159,2157,2196,2525,2688,2332,2374,2393,2177,2280,2434,1913,2197,2874,2145,2181,2414,2359,2153,1990,1714,1582,1613,1225,1598,1978,1926,1876,1801,1655,1522,1640,1709,1446,1293,1404,1432,1421,1446,1478,1917,2429,1975,2432,2505,1981,1603,1238,1572,1993,1652,1548,1576,1622,1596,1185,1373,1502,1361,1271,1655,1655,1394,1584,1850,1929,1766,1770,1820,1709,1688,1169,1461,1744,1597,1271,1461,1597,1564,2052,1960,1996,2607,3120,2886,3211,3249,2820,2755,2543,2721,2790,2271,1959,1828,2129,1996,1404,1070,1205,1559,1650,1789,2101,1921,1751,1953,2192,2581,2340,1501,1580,2098,1927,1920,1484,1136,1187,1277,1320,1265,1630,1793,1979,2202,3127,3217,2145,1826,1764,1707,1894,1997,2097,1992,1915,1940,1924,2167,2297,2359,2580,2740,2420,2020,2397,2428,2423,2952,2855,2209,2664,2664,2178,1940,1974,1804,1841,1841,2444,3031,2458,2046,2037,1902,1852,1921,2081,2865,2566,1906,2310,2238,1974,1704,1767,2070,2307,1936,1780,1937,1738,1772,1578,1521,1648,1674,1443,1352,1361,1383,1623,1353,1456,1766,1857,1656,1662,1752,1721,1726,1627,1917,1984,1739,1645,1409,1354,1416,1448,1910,1624,1785,1950,1728,1661,1714,1891,1986,1776,2094,2697,1831,1777,1323,1372,1321,1264,1532,1511,1324,1297,1310,1457,1607,1749,1570,1517,1307,1292,1302,1535,1837,1643,1440,1783,2305,1849,1842,1803,1654,1629,1431,1316,1504,2257,2048,1707,1670,1689,1776,1675,1485,1173,1442,1723,2453,2432,2127,1923,2290,2564,2437,2185,1831,1588,1713,2394,2323,1772,1735,1535,1602,1882,1635,1371,1402,1470,1406,1422,1583,1486,1573,1848,1959,1638,1356,1568,1809,1816,1936,1923,1685,1580,1568,1506,1434,1370,1305,1407,1500,1913,2078,1960,1912,1786,1803,1802,1280,1505,1975,2596,2454,2242,2715,2270,2160,2518,2896,2698,1799,1245,1839,2975,3067,2036,1993,2294,1896,1555,1571,1605,1541,1482,1510,1609,1627,1816,2100,2750,2524,2270,2557,1793,1809,2467,2653,2403,3077,3868,3849,3440,2379,2238,2611,2745,2337,2253,3263,2847,1844,1748,1904,2206,2073,1648,2003,2137,1753,1632,2047,3104,3648,3471,3156,2762,2262,2115,2858,2924,2224,2595,2655,3274,2956,2585,1935,1487,1474,1459,1380,1353,1506,1673,1592,1542,1441,1384,1409,1717,1900,1759,1696,1671,1741,1960,1805,1735,1504,1393,1488,1676,1468,1349,1328,1639,2165,2120,2084,2684,3019,3215,3108,3129,3270,3000,2472,2684,2631,2535,2910,3021,3018,3307,3511,3132,2563,2791,3473,3073,3330,3781,3771,3396,3119,2917,2730,2622,2436,2348,2169,2183,2177,2541,3116,3543,3671,3442,3138,3064,2574,2101,2176,1947,2652,2840,2785,3078,2864,2447,2428,2524,2254,2074,1772,1944,2511,3057,2806,2070,1753,1952,2395,2206,1968,1887,1720,1776,1553,1805,2178,2308,1801,1614,1567,1472,1541,1793,2046,2023,1945,2208,2664,2244,2588,2512,2811,2550,2465,2731,2548,2101,1630,1822,2000,1804,1560,1611,1880,2043,2193,2430,2125,1868,2028,2231,2550,2488,2044,2057,2164,2220,2230,2021,1769,1880,2039,1888,1830,2263,2475,2185,1568,1493,1877,1906,1970,2424,2307,2453,2089,1694,1774,1825,2257,2632,2629,3270,3841,3858,3759,2465,2104,2396,2821,2363,1931,1909,1864,2009,1922,1798,2178,2183,2332,2655,2347,1973,1890,1772,1836,1827,2150,2524,2512,2014,1947,2569,2414,1832,1597,1737,1798,1643,1596,1678,1724,1548,1701,1815,1808,1863,1553,1491,1863,2189,2250,2404,2645,2763,3097,3521,3128,2635,2884,2482,2413,1743,1527,1788,1962,1830,1688,1810,1871,1811,1781,2082,2196,2062,1874,1892,1952,1919,1764,1773,1730,1775,1975,1867,1912,1925,2043,1777,1684,1834,1745,1815,2057,2089,1877,2045,2106,1357,1142,1657,2183,1961,1738,1672,1954,2511,2544,2269,2513,2630,1963,1720,1766,1806,1902,1787,1900,1689,1937,1805,2031,2057,1719,1850,1641,1767,2359,2774,2884,2518,3179,2450,1973,2039,1962,2172,2081,1859,1620,1666,1541,1644,1692,2062,2557,2886,2895,3436,3192,2505,2626,2454,2215,2535,2505,1983,1835,2125,2305,3034,2951,2342,2570,2458,2409,2603,2427,2187,2200,1966,1677,1653,1510,1752,1785,1911,2124,2242,2172,1926,2070,2798,2697,1620,1667,2004,2490,2776,3075,2903,2991,2469,2144,2767,2928,2908,3073,2631,2809,2813,2168,1985,2375,2407,2036,1872,1696,1549,1782,2345,2232,1977,2444,2176,2172,1744,2086,2383,2008,1777,1944,1801,1555,1605,1704,1755,2013,2190,2239,2343,2459,2388,2589,2744,2541,2387,2258,2164,2126,1832,1829,1427,1388,1853,2118,2627,2766,2458,2395,2373,2061,2026],[1870,2325,2441,2305,2242,2189,3050,3641,3707,3543,3597,3584,3420,3453,3527,3595,3872,3936,3948,3648,3538,3698,3795,3842,3855,3750,3638,3628,3594,3285,3205,3260,3174,3106,3086,2630,2824,3076,3150,3184,3111,3087,2942,2538,2325,2623,2779,3121,2920,2706,2753,3260,3780,3830,3039,2247,2215,2328,2605,2985,3109,2941,2258,2127,2413,2452,2229,2806,2929,2347,2451,2856,2528,2358,2556,2496,3208,3285,2696,2169,2374,2800,3155,3300,3440,3560,3494,3548,3838,4060,3914,3869,3928,4029,3890,3705,3304,2688,2680,2732,2500,2138,2894,3474,3480,2821,2508,2500,2397,2822,2986,2864,2745,2741,3042,3132,2944,1973,2013,2172,2026,2326,2502,2303,2223,1951,1592,1686,1939,2171,2939,2618,2308,2798,3261,3145,2806,2720,2705,3162,3130,2534,2116,1641,1716,1940,1788,1377,1611,2604,2667,2510,2687,3392,4263,3813,3382,3464,2894,2448,2382,2098,1976,2290,2429,1981,1597,1589,1993,2897,3205,3353,2883,2450,2382,2502,2268,3039,2778,2480,2296,2076,2088,2064,2458,2292,2464,2973,2988,2612,2518,2600,2667,2263,2170,2454,2479,2222,2354,3042,3034,2525,2769,3187,3413,3280,3462,3323,3012,3216,3224,3233,3232,2806,2536,2336,2785,2702,2454,2160,2514,2464,2829,3414,3616,3835,3421,2441,2288,2492,2568,2435,3674,3854,3736,3418,3164,3095,2906,2979,3008,2279,1918,2503,2810,2192,1943,1937,2348,2608,1955,1474,1718,2521,3139,3364,3145,3089,3106,2888,2817,2743,2745,2250,2166,2596,2300,1904,1788,2271,3281,3239,2446,1700,1843,1917,1777,1922,2174,1808,1658,1842,1792,1697,1599,1761,1806,1693,1627,2000,1636,1219,1544,2047,2267,2689,2850,2152,1741,2207,2267,2066,1633,1576,1797,1844,2316,2281,1614,1547,1553,1807,1820,1765,1890,1920,2030,2479,3177,2443,1620,2029,2242,1896,1504,1431,1491,1583,1679,1523,1439,2205,2831,2872,2452,1802,1702,2071,2041,1794,1431,1301,1477,1839,1833,1637,1537,1404,1945,2652,2568,2509,2624,2866,2709,2735,2294,2066,2073,1925,1966,2074,2171,2088,1913,1993,2037,2460,3549,3764,3333,3060,2934,2547,3184,3829,4244,4077,3227,2534,2624,2504,2340,2121,2154,2641,2692,2792,1942,1935,2791,2519,1643,1555,2010,2792,3159,2555,2282,2050,2148,2097,2110,2105,2458,3818,3695,2023,1638,1885,2459,2055,1652,1860,1854,2271,2334,1999,2078,2062,1832,1874,2032,1793,1914,2011,1628,1190,1240,1663,2277,2422,2060,2386,2548,2678,3327,3125,2341,1698,1562,1592,1490,1851,2249,2607,2886,3020,2892,2496,2246,1756,2125,2776,2286,2034,2115,1832,1622,1595,2056,2544,2791,2884,2846,2422,2056,2221,1818,1808,2580,3089,2800,2791,2533,2562,2448,1881,1790,1835,2224,2809,3286,3376,3648,2784,2114,1850,1573,1991,1935,1693,2018,2041,1715,1621,1635,2027,2391,2687,2409,1994,2348,3304,3514,2713,2293,2088,1803,2096,2414,2537,2243,2020,2498,2523,2047,2187,2573,2442,2143,2493,2103,1822,2535,2395,2330,2133,2534,2092,1880,2231,2765,2927,3119,3480,3664,3458,3552,3167,3104,3152,2941,3231,3530,3243,2244,1749,1960,1882,2012,2480,2282,2380,2719,2278,1998,2438,3264,3389,2752,2746,2724,2536,2811,3125,2643,2386,1970,1974,1835,2002,2640,2455,2730,2524,2106,2338,2428,2997,3222,2726,2977,2821,2975,3167,2584,2249,2615,2729,3216,3627,3194,2542,2988,3470,3500,3292,2803,1698,1449,1999,2238,1910,1808,1786,1954,1511,1746,1956,1996,1739,1745,2341,2304,2036,1897,2113,2440,2158,2162,1810,2172,3518,3453,3470,2878,1981,2780,3780,3119,2385,2309,2265,2165,2489,2750,1970,2032,2044,1748,2542,3658,3688,3742,3168,1933,1824,1672,2280,1963,2163,2070,1741,1880,2087,2030,2062,2006,1974,2064,1999,1518,1683,2318,3195,2708,2459,2065,2272,2310,2066,2056,2168,2285,2416,2435,2713,3088,2875,2648,2409,2696,3132,3426,3333,2931,2189,2229,3201,3296,2189,2272,2769,2238,2179,2420,2811,2546,2353,2790,2404,2060,2008,1612,1230,1636,2440,2434,2620,2450,2254,2400,2228,2166,2552,2806,2823,2886,2450,2494,3038,3164,2906,1661,1786,2468,2219,2153,2287,1994,2117,1847,1782,2059,2265,2414,3241,2020,1141,1486,1877,2020,2563,3022,2957,3275,2468,2736,3040,2835,1925,2210,2200,1808,1900,2110,1997,2047,2161,2181,2110,2299,2262,2486,3030,2691,2039,2160,2205,2156,2292,2183,2169,2647,2708,2014,2445,2111,1955,1873,1937,2288,2313,1924,2105,2818,2876,3106,3384,3397,3211,3283,3488,3003,2669,2222,1675,2004,2576,2488,2274,2098,2020,2128,2295,2884,2474,2012,2164,1948,1646,1836,1643,1286,1753,2433,3098,2924,2793,2430,1907,2067,2420,2614,2510,2332,2156,1977,2303,2565,2319,2607,2548,2423,2279,2733,2734,2490,2877,2776,2342,2385,2259,2410,1841,2095,2039,1917,1375,1308,1118,1584,1880,1276,1527,2058,1901,1756,1703,1900,2192,2234,2248,2542,2759,2498,2103,2265,2083,2020,2320,2141,3299,2611,2476,2621,3000,2898,2407,1935,2114,2033,2261,2264,1806,2246,1804,1922,2329,2986,2199,2111,3194,2668,1922,2165,2181,2082,2956,3329,2965,2374,2018,2036,2513,2690,1960,2104,2272,2428,2214,1756,1496,1742,1619,1722,2100,1918,1829,1997,1746,1470,1544,1644,1600,1324,1302,1476,1519,1437,1571,1681,1744,1646,2004,2326,1977,1598,1245,1623,2930,2658,1644,1474,1420,1594,1427,1294,1687,1534,1229,1275,1542,1505,1419,1647,1892,1886,1591,1654,1598,1450,1383,1384,1773,1792,1473,1231,1470,1366,1381,2148,1946,2457,3315,3310,2975,3287,3063,2942,2942,2679,2878,2696,2188,1838,1321,1791,1793,1423,1500,1506,1629,1510,1261,1491,1746,1700,1776,2084,2167,2082,1445,1710,2010,1720,1801,1515,1482,1798,1789,1526,1413,1709,1675,2051,2409,3528,3323,2290,2119,2015,1833,1843,1536,1792,1779,1863,2102,1848,1974,2026,2040,2066,2067,2094,2126,2084,2259,2595,3151,2360,1815,2316,2434,1945,1909,2046,1993,1898,1881,2842,3848,3115,2974,2680,2225,1918,1897,2402,3041,2093,2488,3300,2803,2104,1875,2525,3180,3265,2138,1571,1900,1843,1688,1635,1558,1827,1810,1488,1597,1578,1393,1504,1386,1733,1840,1636,1577,1545,1577,1712,1778,1923,2021,1822,1630,1426,1402,1578,1563,1581,1548,1435,1771,1989,1753,1691,1552,1587,1512,1318,2017,3022,2226,1678,1539,1501,1340,1349,1450,1313,1327,1376,1613,1490,1610,1650,1643,1694,1561,1378,1549,2188,1948,1485,1598,1605,1555,1502,1804,1752,1738,1559,1384,1683,1969,2023,1690,1474,1667,1630,1580,1302,1309,1594,2277,2380,2607,2406,1871,1564,1737,2151,2778,2786,2341,2049,1992,2327,2018,1876,1942,1741,1549,1600,1536,1406,1305,1422,1509,1538,1442,1489,1818,1681,1618,1522,1431,1470,1594,1651,1609,1496,1453,1399,1365,1470,1681,1892,1564,1344,1707,2150,2010,1538,1449,1813,1932,1920,1165,1579,1840,2169,2225,1882,1613,1621,2050,2611,2546,2116,1513,1716,2312,2409,2294,1907,2213,2678,2232,1688,1500,1550,1674,1630,1697,1618,1553,1855,1991,2194,2327,2972,3400,2973,2496,2905,3507,2584,2582,3351,3344,3331,2631,2248,2598,2387,1806,2096,3149,2873,1988,2124,2258,2007,1707,1488,1805,1968,1682,1528,1449,1924,2887,3356,2670,2102,1629,1721,2306,2552,2988,2398,2522,2956,3045,2958,2302,1620,1610,1576,1599,1366,1383,1538,1605,1758,1657,1452,1362,1638,1864,1764,1946,2076,1638,1510,1484,1504,1548,1512,1491,1569,1562,1560,1569,1632,1959,2294,1953,2853,3451,3439,3155,3216,3311,3215,3354,3486,3027,2797,3120,3109,3061,2964,2835,2452,2432,2858,3073,3265,3687,3858,3675,3343,3217,3496,3519,2790,2449,2343,2165,1942,2423,2412,2369,3272,3699,3376,3195,2826,2268,1920,2351,2620,2635,2784,2898,2851,2485,2012,2103,2402,2179,2361,2635,2735,2772,3526,3266,2302,1722,1706,1724,1810,1996,1862,2013,2138,2165,2254,2802,2592,2231,1859,1587,1820,1987,2138,2409,2296,2228,3002,2668,2190,2092,2596,2939,2928,3120,2778,2721,2548,2105,2316,2655,1868,1527,1522,1712,1818,2023,2053,1886,1743,1683,1814,2192,2390,2182,2032,2129,1958,2002,2012,2168,1932,1649,1638,1985,2365,2533,2486,2024,2026,2007,1724,1938,2012,1931,2200,2146,1748,1408,1502,1759,2247,2242,2598,2980,2888,2918,2158,1886,2436,2829,2383,2076,2100,1947,1946,2002,1882,2049,2135,2053,2425,2448,2262,2069,2117,2210,1782,2505,3001,2506,2046,2618,2836,2148,1844,1603,1587,1969,1908,1796,1766,1830,1671,1688,1908,2282,2188,1782,1854,2221,2305,2456,2745,2754,2889,3312,3698,3566,2522,2014,2136,2308,2016,2098,2188,2305,2030,1828,2040,2166,2009,1909,2112,2081,1747,1433,1589,1760,1590,1583,1747,1892,1908,2100,1784,1807,2198,2032,1639,1690,1588,1671,2147,2326,2299,2213,2331,2427,1750,1151,1505,1666,1578,1455,1625,2305,2452,1968,1674,2155,2392,1590,1483,1454,1596,1565,1568,1549,1478,1744,1918,2001,1739,1788,1943,1801,2138,2555,2576,2121,2037,2988,2759,2574,2496,1990,1972,2155,1948,1781,1955,1607,2054,2049,2453,3168,3146,3067,3506,3278,2680,2485,2282,2590,2706,2295,1924,1700,2004,2113,2431,2512,2526,2836,2461,2208,2979,3100,2085,1784,1663,1446,1351,1527,1731,1784,1903,1947,2236,2670,2512,2597,3055,3029,2133,2130,2508,2899,2840,2801,2668,2687,2478,2281,2420,2566,2568,2357,2413,2600,2188,1675,1642,2036,2219,1976,1693,1807,1708,1845,2360,2295,1911,1815,2220,2040,1440,1759,2077,1781,1750,1977,1548,1581,1690,1692,1852,2040,2105,2190,2398,2425,2508,2751,2862,2942,2523,2269,2377,2088,1622,2075,2108,1936,1776,1937,2526,2458,2194,2344,2149,2093,2220],[1961,2656,2504,2385,2026,1976,2184,2890,3464,3552,3542,3663,3572,3548,3520,3606,3760,3779,3927,3863,3630,3601,3567,3499,3454,3566,3603,3585,3452,2950,2768,2597,2637,2630,3022,2888,2832,2988,3076,3267,3176,3010,2756,2540,2592,2490,2768,3130,3188,3185,2803,2800,3143,3043,2397,2258,2266,2254,2736,2743,2759,2370,2041,1905,2125,2580,2518,2336,2484,2021,2116,2196,2557,2608,2800,2657,2824,2642,2256,2070,1835,1868,2221,3043,3509,3493,3419,3448,3475,3826,3948,3870,3729,3570,3398,3459,3395,3066,3375,3061,2665,2187,2339,3023,3640,3296,2810,2725,2728,2997,2974,2708,2467,2709,3067,3117,2209,1663,2188,2247,1902,2013,2268,2199,2125,2004,1996,1850,1884,2743,3418,3146,2442,2169,2593,2579,2264,2507,2732,2512,2647,2393,2216,1952,2132,2178,2725,1987,1110,1715,2499,2654,2328,2599,3261,3464,3419,3060,2530,2100,1848,1699,1785,2035,2191,2025,1738,1730,2199,3205,3003,2723,2719,2325,2458,2264,1839,1883,1534,1666,1792,1601,1880,2206,2546,1973,2304,2874,2831,2668,2896,3010,2940,2690,2663,2915,2990,3021,2968,2503,2133,2448,3083,3282,3129,3351,3632,3073,2768,3395,3409,3164,2998,3130,3083,2846,2589,2302,2258,2441,2699,2556,2790,3570,3666,3775,3416,2207,2125,2216,2417,2613,3675,3903,3476,3248,3149,3342,3204,3219,3627,2872,2204,2512,2700,2135,1788,1705,2045,2365,2007,1250,1780,3277,3578,3735,3421,3620,3627,3054,2745,2742,2355,2292,2798,2432,2241,2019,1855,2060,3185,3429,2423,1667,1643,1973,1937,2128,2267,1871,1886,1974,1970,1759,1658,1766,1691,1964,2047,2461,2309,1975,2636,3010,2696,2629,2749,2779,2614,2416,2324,2137,2070,2060,1824,1836,2430,2530,2081,1880,1595,1578,1499,1707,1976,2199,2078,1953,2514,2419,1606,1670,1873,1684,1570,1440,1432,1635,1959,1602,1677,2646,3006,3040,2722,2111,1872,1823,1879,1692,1353,1400,1752,2236,2231,2024,1781,1604,1968,2004,1808,2149,2557,2656,2656,3388,2615,1981,1967,2009,2121,2124,2032,2113,2943,2697,2350,2867,3840,3516,3294,3001,2641,3354,4062,4006,4121,3937,3208,2152,2071,1915,1919,2334,2786,2586,2455,2382,1880,2134,2277,1282,1326,2178,2714,2987,2876,2761,2859,2192,2075,2285,2236,1913,2071,2918,2712,1799,1459,1723,2119,1827,2309,2326,1537,1847,2160,2031,1974,1968,1876,1844,1868,1792,2202,2559,1915,1573,2156,2569,2668,2577,2634,2591,2898,3379,3521,3440,2947,2514,1853,1502,1471,1676,1924,1928,2019,2562,3050,2656,2141,1555,2797,3042,2512,2593,2472,2126,1990,1997,2187,2955,3332,2952,2354,1982,2261,2289,2189,1861,2240,2421,2154,2337,2242,2514,2644,2317,2612,3043,3416,3839,4291,4533,4779,3556,2300,1981,1836,2051,2257,2375,1971,2033,1776,1867,1982,2245,2585,2619,2155,1546,1647,2514,3392,2919,2821,2137,2047,2425,2332,2345,2446,2728,2778,2222,2172,2729,3018,2712,2256,2566,2511,1794,1522,1769,1935,2467,2611,1962,2021,2457,2730,2632,3134,3016,2896,2944,2928,3122,3571,3263,2592,2385,2450,2507,2254,1988,2085,2374,1850,1686,2046,2419,2491,2078,1898,2178,3238,3331,2446,2389,2062,2205,2155,2160,2665,2360,2008,2250,2197,2161,2137,2148,2183,2050,1853,2202,2831,3053,2759,2686,3087,3116,3134,3141,3049,2872,2542,2885,3105,2996,2740,2707,2512,2678,3296,3142,2251,1628,1512,1861,2004,1730,1652,1707,1840,2380,2268,2042,2322,1851,1794,2239,1932,1649,1774,1952,2392,2130,1818,1752,2963,3493,3338,3619,3328,2684,3270,4025,3022,2432,2421,2341,2361,2808,2562,1959,2104,2261,2258,2903,3585,3283,3385,2986,1911,1754,1478,1947,1697,2049,2608,2656,2044,1681,1929,2074,2375,3039,2939,3011,2170,1559,1919,2369,2554,2370,2127,2707,3260,3141,2966,2589,3047,3140,2876,3144,3397,2879,2384,2510,3075,3603,3263,2815,2698,2217,2205,2718,3052,2127,2578,3131,2611,2864,3039,2646,2658,2947,3350,2281,2238,2701,2272,1764,2054,2181,2195,2315,2265,2253,2197,2136,2193,2541,3562,3729,2833,1910,2122,2369,2546,2254,1303,1427,2468,2721,2610,2465,1948,1909,2144,2213,2619,2613,2286,2786,2263,1127,1041,1717,1836,1889,2429,2668,2536,2401,2854,2779,2275,1866,2243,2158,1504,1663,1942,1797,1910,2092,2391,2118,2169,2365,2533,2588,2576,2503,2358,2189,2468,2831,2263,1881,1748,1647,2570,3270,2547,1995,1910,2025,2092,1967,2077,2113,2789,3221,3348,3484,3542,3442,3241,2678,2156,2448,2532,1959,2308,3111,2709,1864,2198,2510,2069,2354,2468,2089,2010,2492,2324,1570,1687,1766,2155,2621,2310,2455,2177,2290,2224,1700,1692,2157,2840,3001,2098,1423,1336,1535,2059,2248,2311,2699,2562,2442,2801,2652,2652,3078,2975,2535,2778,2519,2166,1548,1440,1859,2026,1767,2217,2282,1644,1133,858,1779,2400,2378,2139,2079,2419,2403,2211,2400,2301,2167,2269,2357,2332,2110,2067,1943,2344,3151,2105,2562,3263,3377,3426,2894,2208,2053,1889,2077,1910,1738,1862,1700,2366,2920,3222,2824,2841,3265,2888,2213,2067,1841,1731,3189,3839,3418,2916,2725,2204,2309,2291,2218,2148,2156,2183,1614,1341,1733,1756,1465,1703,1808,1788,1795,1911,1736,1597,1571,1888,2071,1550,1387,1343,1436,1483,1823,2150,1806,1899,2535,2186,1614,1402,1578,2771,3220,2072,1629,1724,1514,1454,1337,1410,1533,1329,1139,1275,1533,1623,1578,1556,1557,1641,1541,1521,1570,1566,1465,1644,1863,1725,1485,1332,1446,1332,1434,1654,1930,2793,3431,3275,3220,3317,2893,2978,2968,2889,2940,2344,2144,1567,1331,1765,1497,1454,1700,1872,2566,2980,2047,1660,1780,1690,1435,1403,1750,1575,1426,1838,1869,1714,1781,1504,1508,1721,1868,1623,1380,1540,1929,2283,2776,3742,3266,2187,2022,1761,1535,1836,1719,1777,1825,1965,2182,1899,1847,1923,2021,2095,1976,2031,2089,2070,2512,3111,3346,2266,2190,2865,2535,1998,2081,2490,2428,1859,2105,3033,3088,3099,3954,4095,3289,2534,2349,2977,2776,1876,2390,2607,2375,2145,2067,2741,3482,3151,1838,1399,1906,1833,1559,1546,1674,1824,1705,1696,1728,1721,1621,1413,1583,1878,1669,1586,1356,1012,1320,1580,1757,2370,2159,1660,1533,1521,1513,1554,1554,1518,1485,1513,1728,1902,1704,1595,1664,1738,1355,1223,1658,2624,2497,1803,1598,1522,1391,1396,1734,1494,1369,1316,1363,1286,1380,1377,1430,1489,1505,1312,1651,2395,1859,1480,1525,1545,1497,1716,2068,2397,2312,1641,1624,1941,1780,1826,1993,1592,1894,1562,1179,1470,1736,2242,2728,2953,2585,2154,2186,2047,1856,1910,2420,2878,2766,2524,2189,2016,1704,1568,1779,1679,1477,1438,1426,1504,1433,1437,1689,1494,1356,1506,1693,1488,1370,1437,1301,1327,1385,1625,1897,1546,1320,1238,1198,1248,1959,2308,1634,1564,1938,1956,1771,1374,1312,1769,1879,1820,1431,1842,1897,1880,2004,2011,1910,1731,1935,2037,1859,1756,1618,1846,2039,1759,1716,1916,2471,2724,2387,1938,1806,2041,1802,1657,1584,1425,1403,1719,2052,2720,3632,4214,4385,4204,4006,3486,3961,2897,2496,3484,3748,3774,3297,2385,1809,1653,1744,2257,2297,1807,2018,2320,2293,1838,1635,1636,1551,1592,1635,1546,1394,1507,1905,2365,1913,1692,1520,1625,1963,2187,2113,1836,2268,2541,2623,2645,2295,1651,1585,1523,1616,1634,1692,1647,1638,2019,2039,1482,1433,1724,1719,1616,1782,1584,1578,1570,1398,1523,1718,1787,1781,1846,1758,1796,1664,1603,1917,2466,2504,3174,2895,2457,2584,2764,3110,3372,3347,3538,3240,2722,3212,3198,3117,2973,2846,2612,2798,3091,2995,3042,3563,3913,3658,3099,2367,3152,3467,2861,2478,2372,2358,2270,2504,2326,2020,2462,3206,3296,2878,2654,2306,1964,2231,2564,2585,2811,2605,2175,2171,2046,2001,1735,1746,2523,3241,3061,3317,3814,3814,2743,1393,1371,1694,1707,1718,2106,2165,2282,2414,2486,2880,2730,2195,1672,1707,1896,2209,2309,2339,2098,2886,3096,2314,2023,1864,2079,2385,2940,2874,2698,3105,3249,2776,2640,2187,1527,1500,1409,1584,1814,1882,2142,2338,2607,2157,1712,1578,1873,2442,2265,1959,1779,1818,2007,2104,2155,1910,1667,1691,1682,2281,2552,2423,2557,2177,1793,2124,2298,2035,1938,2206,2068,1868,2300,2169,1947,1674,1976,2416,2342,2162,2029,2071,1974,2285,2316,2521,2062,1952,1888,1869,1845,1855,1819,1674,1891,2113,1877,1681,1917,2114,1920,2599,3086,2279,2025,2270,2025,1532,1569,1706,2154,2634,2544,2156,1937,1613,1369,1643,1953,2048,2106,2206,2272,2410,2557,2646,3242,3307,3287,3417,3648,3462,2243,2073,2650,2451,2306,2287,2356,2651,2407,2156,2222,2902,2362,1708,1982,2210,1751,1527,1813,1896,1796,1831,1734,2202,2172,2232,1958,1898,2146,1775,1645,2283,2505,2406,2366,1981,1686,2022,2006,2135,2156,1783,1666,1654,1539,1451,1842,2082,1702,1616,1544,1703,1641,1625,1566,1538,1616,1582,1660,1620,1671,1983,2009,1715,1646,1976,2100,2124,2175,1850,1714,1411,1333,1731,2114,2702,2790,1970,1812,1985,1891,2322,2222,2030,2096,2282,3010,3527,3638,3715,3554,3380,3399,3357,3039,3209,2634,2081,1828,1835,1865,1956,2116,2112,2115,2132,2093,2069,3096,3256,2986,2260,1794,1504,1443,1460,1468,1641,1937,2349,2453,2865,2963,2155,1902,2292,2283,2705,2944,3043,3231,3031,2668,2595,2373,2561,2599,2185,2287,2332,2499,2244,1740,1597,1803,1760,1745,1737,1767,1957,2083,1937,1721,1931,1886,1772,2077,2025,1631,1644,1963,2070,1911,1918,1657,1637,1879,1936,2509,2794,2613,2343,2333,2468,2448,2348,2552,2854,2556,2512,2592,2069,1712,1817,1999,2182,2140,2179,2228,1966,2062,2148,1941,1794,1772],[1805,2087,2424,2857,2791,2600,2485,2622,3066,3089,3373,3536,3552,3717,3429,3741,3858,3833,4048,3942,3628,3526,3464,3492,3435,3410,3331,3129,2834,2290,2377,2776,2715,2592,2940,2986,2974,2940,3025,3151,3095,3319,2764,2403,2601,2533,2834,3130,3363,3071,2394,2246,2463,2331,2224,2543,2326,1929,2105,1985,1878,2295,2470,2176,1902,2056,2414,2040,2408,2275,2097,2161,2708,3138,3235,2430,2275,2554,2518,2331,1946,1925,2212,3294,3585,3627,3632,3561,3487,3820,4127,4095,3619,3149,3088,3508,3360,2752,3527,4168,3299,2474,2194,2661,3417,3409,3112,3008,2780,2922,2866,3019,2916,2979,3022,3337,2667,2292,2260,2081,1947,2096,2542,2388,1781,1715,2310,2198,2181,2820,3112,2835,2381,2113,2104,2093,2268,2558,2399,2290,2619,2315,2666,3033,2352,2670,3653,3132,1840,1079,1946,2679,2362,2720,3269,3330,3044,2258,1866,1746,1627,1719,1915,1907,1653,1737,1759,1967,2642,2952,2683,2562,2849,2541,2271,2033,1948,2139,1702,1747,2008,1906,2055,2261,2499,2392,2563,2868,2767,2885,3334,3293,3051,3107,3144,2973,3194,3830,3022,2058,2016,2857,3498,3576,3596,3352,3285,2983,2888,3484,3505,3420,3141,2904,2910,2481,1900,1736,2148,2751,2799,2315,2191,2939,3063,3204,2713,2159,2431,2567,2289,2458,3604,3783,3242,3259,3237,3393,3139,3128,3537,3167,2128,2419,3090,2802,2286,2098,2138,2545,2214,1360,1609,2995,3206,3141,2902,2724,2592,2248,2250,2413,2078,2684,2989,1961,2049,1976,1896,2130,2784,2788,2231,1925,1968,1968,1924,2002,2010,1968,1695,1884,2158,1926,1688,1860,2091,2424,2797,3033,2942,2801,3086,2990,2718,2792,3374,3232,2632,1925,1704,1931,2728,3227,2575,1897,1996,1951,1953,2029,1734,1570,1576,1811,1741,1541,1498,1493,2190,2631,1664,1703,2032,2109,1766,1641,1879,2279,2110,1603,1835,2301,2561,2940,2314,2387,2571,2490,2374,1877,1541,1591,1721,1884,1878,1882,1716,1690,1858,1982,2076,3142,3352,2583,2546,3060,2331,1766,1803,1940,2008,2053,2275,2621,3039,2418,2855,3792,3889,3283,3186,2708,2494,3247,3857,3798,3376,2875,2923,2654,2259,2261,2253,2396,2531,2407,2291,1819,1732,1906,2010,1457,2039,2661,2854,2732,2504,2496,2655,2291,2112,2531,2404,1952,1788,2041,1804,1829,1976,2264,2144,1966,2350,2135,1714,1658,1743,2010,2112,1880,1842,2047,1953,1739,2113,2311,1841,1461,1714,2477,2797,2377,2258,2262,2928,3216,3226,2883,2976,3230,2400,1578,1526,1615,1808,1750,1630,1851,2406,2186,1713,1696,2789,2644,2511,2634,2430,2204,2012,2148,2344,3109,3276,2691,2290,2079,2126,2262,2780,2450,1863,1746,1683,2096,1986,2505,3163,3649,3296,3583,4090,4321,4356,4486,4915,4252,2518,2044,1944,2062,2386,2501,1957,1799,1965,2010,1969,2209,2412,2809,2664,1910,1704,1806,2554,3147,3508,2975,2404,2093,2006,1923,2379,3050,2805,2486,2403,2680,2842,2513,2254,2023,2061,1754,1465,1743,1986,2492,2306,1976,2188,2600,2502,2481,2763,2533,2810,2780,2700,2966,2710,2053,1675,1760,1991,2127,2354,2864,2677,3085,2476,1800,2226,2465,2513,2648,2074,1942,2596,2932,2732,1987,2080,2475,2110,1967,2120,1961,2238,2527,2236,1660,1650,1767,1939,1731,2068,2614,2875,2525,2810,3046,2871,2838,3020,3299,3669,3372,2918,2811,2463,2592,2184,2448,1918,2208,2994,2464,1920,2042,2019,1948,1797,1845,1765,1806,1674,2222,2094,1811,2026,2134,2180,2129,1453,1804,2842,3341,3466,2458,1843,2359,3340,3574,3362,3274,3408,3449,3592,3764,2479,2119,2333,2607,2532,2675,2168,1956,2019,1756,2020,3018,3540,3051,3083,2887,1864,1531,1491,2226,2472,2690,3109,2495,1555,1841,2545,3066,3420,3740,3570,3135,2062,1334,1506,2156,2255,1961,2053,2741,3261,2906,3219,2268,3117,3285,3466,3716,3780,2909,1798,1647,2300,2924,2553,2871,3110,2560,2125,2618,2662,2209,3022,3796,3425,3083,2819,1893,2536,3012,2852,2078,2393,2812,2295,2344,2440,2127,2085,2211,1975,1867,1927,2208,2095,2449,3278,3010,1968,1851,2075,2271,2354,1897,1531,1774,2036,2164,2173,2053,2042,2098,1921,2123,2437,2548,2655,2294,2181,2128,1520,1890,1992,1741,1736,1983,2215,2487,2548,2282,1881,1874,1837,1693,1424,1475,1607,1541,1884,2127,2208,2299,2306,2440,2601,2708,2993,2798,2430,1944,2185,2980,2218,1929,1672,2205,3177,2810,2019,2260,2234,2000,1971,1930,1936,2156,2248,2630,2929,3232,3554,3362,2830,2438,1924,2179,2294,2100,2366,2185,1967,2022,2792,2376,1671,2291,2523,1923,2026,2631,2642,2133,2109,2131,2675,2621,2785,2986,2856,2769,2316,1797,1831,2026,2420,2744,2241,1843,1549,1553,1903,1911,1986,2684,2670,2624,3043,2816,2376,2640,2600,2436,2195,1988,2128,1928,1530,1604,1723,1570,1642,1854,1429,1203,1705,2265,2291,2127,2438,2775,2497,2192,2612,2788,2320,2253,2354,2071,2041,1748,1449,1808,2379,2501,2188,2743,3316,3326,2947,2243,1937,1839,1873,2542,2010,2332,1926,1737,2152,2199,2720,3288,3109,2596,2387,2588,2308,2081,2454,3384,3924,3426,3042,3052,2888,2545,2104,2103,2493,2473,1928,1484,1521,1620,1757,1681,1549,1535,1744,1976,2100,2335,2807,2062,2002,2482,1958,1615,1244,1275,1622,1748,2112,2508,2669,2381,1663,1496,1364,2332,3238,2392,1589,1759,1942,1795,1674,1553,1511,1547,1286,1083,1210,1394,1430,1646,1285,1071,1053,1171,1367,1473,1709,1837,1803,1809,1705,1326,1295,1224,1294,1468,1682,2005,2734,3542,3382,3013,2610,2647,2937,2786,3562,3252,1929,1876,1512,1486,1562,1353,1744,2180,1871,2058,2467,1864,1671,1643,2214,2389,2108,1716,1268,1469,2036,1865,1669,1791,1412,1426,1415,1514,1502,1353,1498,2072,2335,2924,3755,3231,2721,2399,2047,2064,2128,1865,1790,1836,2058,2107,1897,1892,2127,2264,2220,1847,1739,1810,1952,2270,2828,2994,2588,2426,2308,2100,2203,2460,2436,2281,1945,2077,2889,2564,3050,3515,3515,3374,3482,3747,3453,2105,1641,1851,1793,1994,1944,1992,2033,2321,2097,1417,1710,2220,1788,1721,2070,2071,2082,2010,1849,1781,2023,1864,1504,1917,2216,1853,1583,1251,1170,1287,1614,1548,2092,1924,1477,1472,1540,1364,1236,1295,1529,1587,1659,1674,1736,1603,1638,1784,1690,1505,1500,1567,1996,2087,1763,1593,1489,1306,1345,1921,1617,1345,1335,1377,1379,1467,1416,1411,1513,1491,1476,1500,1454,1340,1384,1310,1424,1543,1726,1975,2091,1970,1569,1415,1781,1746,2026,2342,2213,2365,1480,1416,1958,2180,2504,2654,2438,1741,1748,2027,1601,1584,1771,2379,2811,2707,2514,2232,2276,2036,1499,1612,1356,1421,1397,1400,1476,1574,1484,1533,1389,1305,1340,1353,1418,1583,1411,1334,1272,1415,1739,1530,1156,1157,1167,1194,1132,1586,1952,1550,1522,1888,1810,1509,1400,1436,1898,1929,1578,1447,1512,1556,1793,1692,1798,1907,1572,1693,1833,1853,1600,1713,1909,1880,2030,1979,1897,2280,2457,2191,2050,1725,1459,1667,1827,1812,1925,1815,1588,1787,2648,3847,4421,4489,3991,4093,3494,3338,2464,2483,3486,3985,4168,3562,2196,1740,1905,2043,2223,2169,1988,2242,2092,1764,1450,1670,1916,1784,1532,1546,1671,1714,1887,1831,2078,2188,2355,1792,1587,1838,1854,1764,2007,2469,2482,2290,2588,2093,1576,1458,1465,1641,1828,1754,1482,1456,1816,2006,1450,1481,1732,1875,1750,1604,1555,1851,1964,1736,1929,2683,3293,3232,2513,1805,1996,1738,1880,1802,1957,2563,2910,2300,1630,1427,1493,2310,2977,3150,3622,3460,2618,3120,3312,3220,3086,3137,3262,3261,2988,2831,3130,3658,3883,3801,3175,2685,3369,3518,3090,2680,2358,2330,2573,2774,2526,2396,2258,2953,2988,2407,2701,2566,2092,2197,2596,2687,2433,2147,2068,2207,2167,1879,1822,2001,2785,3490,3457,3595,3803,3482,2077,994,933,1371,1500,1938,2237,1804,2110,2588,2600,2421,2468,1946,1904,2100,1670,1834,1935,1980,2156,3124,2840,2249,2072,1967,2156,2614,2364,1921,2531,3638,3802,2902,2281,1841,1642,1569,1523,1623,1701,1637,1847,2172,2366,1807,1638,2051,2136,2014,1720,1729,1638,1708,1987,2169,2280,2266,2149,1857,1644,1826,2092,2283,2305,2099,2040,2371,2648,2290,1686,1653,1986,2472,2759,2181,1714,1783,2243,2783,3245,3114,2158,2055,1847,2011,2185,2558,2292,1923,2067,2564,2708,2575,2210,1773,1538,1318,1604,1655,1653,1965,2129,2281,2175,2223,2103,1988,1794,1619,1611,1773,2093,2617,2976,2265,1930,1513,1109,1636,1948,1561,1778,2311,2500,2687,2296,2292,3045,3422,3295,3029,3083,2624,1941,1849,1992,1980,2183,2277,2656,3273,2957,2384,2930,3274,2297,1265,1717,2524,2120,1597,1338,1318,2186,2192,1913,2292,2336,1989,1870,1824,1703,1768,2208,2348,2037,2263,2214,1743,1676,2370,2271,1884,2018,2014,1716,1725,1651,1603,1751,1837,1685,1600,1732,1748,1694,1691,1854,1684,1632,1594,1527,1542,1946,2006,1932,1931,1841,2081,2503,2708,2321,1675,1799,1808,1644,1889,2165,2496,2684,2082,1840,1686,2199,2557,2131,2050,1902,1979,2832,3365,3293,3570,3479,3464,3382,3345,3110,3482,2996,2238,2011,1965,1888,1877,1783,2226,2056,1527,1678,1904,2313,2856,2813,1918,1776,1847,1520,1445,1838,2194,2492,2679,2195,2200,2259,1409,1804,2599,2788,3194,3272,3089,3199,3249,2908,2846,2436,2521,2773,2082,1961,2579,2604,2186,2088,1901,1886,1873,2076,1821,1918,1998,2245,2082,1806,1865,2015,2212,2243,2275,2438,2054,1713,1855,1843,1795,1808,1632,1903,2534,3083,3119,2976,2545,2485,2665,2458,2530,2360,2076,1975,2263,2633,2232,1538,1384,1630,2172,2535,2449,1912,1855,2296,2396,2378,2253,2223],[1771,2217,2664,3145,3286,3086,3129,3215,3166,3288,3390,3274,3429,3731,3232,3405,3962,3796,3764,3924,3628,3359,3312,3404,3020,3029,3155,3202,3216,2856,2954,3265,2709,2379,2888,3272,2967,2698,3024,2997,3006,3273,2806,2619,2664,2889,3166,3251,3315,2995,2645,2491,2353,2474,2496,2415,2166,2042,2087,2120,2158,2326,2326,2320,2173,2276,2708,2320,2866,3254,3131,2779,2685,3221,2883,1880,1937,2307,2346,2114,1802,2017,2656,3448,3679,3775,3909,3760,3661,3926,4141,3810,3168,2997,2922,3407,2937,3172,4213,4605,3936,3182,2687,2500,2728,3011,2791,2444,2679,2623,2721,3019,2787,2761,3029,3420,3601,3089,2149,1925,2178,2469,2341,2353,1901,1974,2671,2624,2548,2295,2374,2597,2247,1960,1894,2139,2186,2347,2315,2731,2252,2187,2663,2418,2003,2833,3465,3112,2646,1819,2220,2852,2594,2641,2916,2917,2711,2088,1837,1769,1801,2143,2115,1815,1659,1674,1826,2321,2671,2622,2531,2576,3095,3150,2722,2417,2327,2832,2066,1647,1938,2072,2331,2188,2250,2761,2909,2874,2878,3387,3754,3362,3199,3031,2972,2951,3134,3432,2599,2182,2333,3272,4356,4477,4060,3009,2924,3197,3461,3450,3507,3660,3444,2954,2707,2530,2291,2047,2142,2541,2812,2485,1881,1971,1879,2286,2154,2184,2635,2664,2272,2317,3343,3682,3331,3372,3508,3422,2994,3020,3456,3529,2796,2933,3615,3435,3227,2908,2144,2260,1973,1765,1694,2669,2435,1907,1870,1807,1937,1955,1975,2076,1648,2074,2486,1996,1788,1793,1918,1775,1677,1663,1924,2460,2323,1805,1728,1871,1844,1991,1945,1859,2047,2110,2267,2688,2814,3273,3333,3007,2854,2670,2495,2722,2878,3110,3498,3486,2769,2045,1711,1756,2512,3148,2275,2050,1974,1791,1901,1843,1673,1781,1739,1790,1760,1532,1594,1699,2026,2107,1520,1539,1760,1724,1629,1780,2189,2166,1820,1832,1823,2002,2310,2144,2014,2482,3064,2668,2113,1644,1228,1161,1486,1976,2087,2073,2011,1773,1905,2659,2235,2946,3316,2264,2310,2798,1926,1655,1658,1664,1760,1953,2085,2501,2810,2945,3185,3795,3829,3315,2770,2422,2342,2836,3398,3007,2423,2210,2735,2613,2345,2630,2990,2885,2644,2621,2089,1636,2012,1973,1779,1789,2384,2757,2708,2452,1926,1894,2333,2061,1720,2321,2228,2414,2130,2324,1908,1833,2114,2294,1982,1719,1684,1920,2042,1823,1681,2020,2249,1929,1702,2065,1904,1597,1837,2087,2031,1718,2003,2527,2854,2403,2310,1965,2042,2353,2735,2698,2842,3012,2334,1960,1865,1830,1679,1601,1613,1746,1858,2023,1909,1821,2186,2222,2217,2399,2376,2156,2341,2224,2372,2449,2420,2426,2608,2391,2045,2491,3414,3332,2532,2440,1834,2327,2299,2430,3297,3826,3835,3970,4083,4186,4361,4499,4736,4388,2887,2320,1806,2200,2209,2372,2063,1782,1926,1951,2039,2283,2557,3062,3086,2408,2340,1763,1952,2345,2947,2667,2258,2071,1795,1838,2383,2612,2641,3010,2796,2514,2189,2274,2250,1615,1625,2008,2041,1903,2194,2496,2017,2196,2338,2554,2636,2727,2457,2172,2470,2565,2428,2140,1682,1488,1623,2189,2703,2630,2351,2898,2784,2734,2396,2122,2301,2265,2616,3213,2246,1785,1501,2232,3106,2459,2918,2958,2623,2418,1933,2235,2691,2092,1903,1839,1807,1731,1703,1738,2031,2297,2553,2554,2641,2566,2622,2706,3073,3406,3414,2905,2642,2622,2754,2381,2147,2276,2325,2982,2831,2229,2098,2024,1672,1576,1775,2267,2054,2261,2248,1773,1701,1618,1678,1996,2163,2543,1944,2303,3281,3475,3069,2345,2013,2403,3005,3242,3062,3150,3153,3097,2973,2918,2568,2376,2715,2494,2197,2325,2020,2050,1876,1487,1788,3274,3461,2976,3316,2798,1961,2060,2178,2198,2531,2775,2025,1514,1711,2454,2999,3197,2634,3017,3426,2755,1894,1780,1898,2035,2042,1954,1752,2405,3088,2976,3196,2113,2418,3203,3738,3862,3880,3580,2618,2181,2218,2030,1624,2132,2514,2492,2411,2784,2288,1625,1972,2840,3206,2765,2567,2585,3426,3417,2613,2226,2696,2649,1980,2092,2378,2240,2005,1791,1767,1801,2105,2154,2358,2279,2476,2374,2158,2231,2061,2017,2022,1949,1946,1864,1622,1813,2108,2006,1852,1825,1875,2168,2216,2371,2648,2016,1995,2212,1770,1841,2016,1812,1867,1852,1941,2119,2173,2175,2117,1960,1429,1419,1489,1570,1616,1469,1494,1538,1950,2396,2578,2567,2397,2801,2828,2533,2479,2138,2312,2811,2332,1955,2062,2359,2641,2575,1823,2357,2615,2398,2049,2143,1871,1882,2061,2188,2267,2731,3372,3126,2615,3195,2728,2615,2298,1985,2018,1689,2155,2239,2099,1762,1454,2102,2134,1444,1923,3120,3050,2363,2408,2684,2591,2213,2510,2865,2712,2631,2222,2321,3041,2950,2439,2524,2475,2132,1834,1597,1759,1712,1754,2148,2391,2711,2958,2777,2899,3031,2571,2687,2922,2661,2803,2911,2557,1853,1155,1083,1091,1329,1805,2105,2290,2426,2634,2755,3300,3362,2641,2519,2780,2556,2253,2362,2081,1352,1898,1865,1604,1686,1786,1790,1950,2338,2844,2658,2536,2182,2046,1865,2217,2743,1844,1742,1698,2193,2525,2385,3138,3796,3541,2927,2864,2700,2010,1670,2086,2687,3225,2968,2809,3221,3154,2908,2543,2270,2013,2085,1992,2009,1896,1766,1864,1773,1540,1465,1517,1725,1877,1997,2757,2330,2240,2458,2121,1777,1416,1426,1691,1690,2359,3025,2557,1790,1521,1346,1324,2002,2367,1837,1668,1840,1870,1821,1840,1785,1500,1469,1360,1348,1327,1385,1476,1628,1214,1347,1692,1403,1211,1171,1132,1270,1579,1844,1720,1549,1521,1547,1562,1599,1704,2022,2956,3475,3119,3109,2270,2582,2817,2827,3664,2619,1713,1629,1421,1681,1562,1428,1989,2476,2001,1917,1996,1796,1598,2219,3241,3609,3677,3197,2057,1897,2045,1931,1692,1561,1416,1309,1482,1646,1556,1457,1660,2359,2625,2854,3400,3111,2587,2429,2140,1917,1657,1761,1874,1778,1870,1730,1478,1851,2052,2199,2155,1898,1410,1623,1991,1997,2272,2611,2468,1999,1732,1760,1833,1896,1897,1865,1976,2283,2617,2406,2633,2619,2779,3648,4436,4452,3013,1567,1656,1801,1724,1672,1574,1559,1434,1555,1764,1797,1807,2061,1717,1808,2612,2368,2306,2226,1814,1963,2069,1763,1722,2159,2322,2125,1721,1464,1495,1564,1689,1265,1425,1655,1504,1641,1672,1295,1336,1841,1902,1502,1546,1615,1645,1626,1682,1760,1949,2034,1772,1834,2464,2787,2073,1737,1654,1445,1426,1460,1421,1378,1361,1256,1255,1385,1415,1505,1468,1333,1527,1479,1936,1906,1698,1632,1819,1854,1735,2009,2004,1860,1910,1651,2348,2087,1632,1703,2084,1907,1267,1643,1939,1992,2061,2286,1974,1672,1751,1737,1440,1600,1768,1976,1959,2000,2178,2264,2142,1655,1493,1631,1397,1451,1320,1290,1404,1464,1338,1337,1384,1300,1327,1359,1380,1620,1441,1434,1236,1756,1960,1509,1202,1087,1134,1198,1093,1198,1349,1380,1431,1565,1576,1374,1339,1615,1936,1831,1580,1677,1722,1541,1898,1690,1565,1453,1327,1461,1729,1648,1550,1892,2129,2109,2323,2051,2319,2730,2552,1973,1977,2051,2115,2293,2130,2048,2115,1824,1605,1903,2471,3882,4504,4303,3908,3459,2701,2287,1865,1776,2258,2846,3141,2500,1701,1565,1692,1830,1490,2014,2204,1984,1811,1680,1514,1621,1828,1895,1812,2024,1991,2424,2789,2023,1852,2593,2840,2414,2178,1816,1435,1594,1714,1841,2305,2113,1896,1863,1570,1409,1405,1581,1814,1725,1824,1806,1568,1572,1444,1831,2245,2104,1798,1597,1699,1925,2008,2076,2365,2905,4219,4071,2753,1809,1742,1844,2030,1785,1867,2165,2087,1737,1591,1757,1712,2193,3071,2760,3000,2670,2226,2817,3376,3465,3263,3317,3240,3196,3011,2787,2951,3721,3436,3422,3318,3243,3516,3809,3576,2984,2489,2437,2425,2392,2363,2498,2366,2544,2508,2626,2879,2605,2287,2075,2253,2373,2161,2169,2107,2099,1905,2013,2688,2654,2963,3551,3624,3551,3614,2964,1340,965,1207,1354,1576,2081,1810,1456,1629,2246,2536,2279,2288,1814,2273,2286,1784,1710,1777,1797,2402,2722,2358,2144,2169,2256,2268,2404,2072,2149,2259,3560,3522,2307,1681,1638,1576,1471,1574,1619,1593,1930,2261,2460,2214,1761,1980,2455,2298,1829,1833,1965,1856,2146,2083,2011,2178,3275,3313,2398,1821,1620,1615,1594,1686,1782,1772,2175,2504,2069,1523,1431,1642,2049,2040,1783,1842,1992,2274,2321,2833,2835,2204,2000,2119,2030,2159,2592,2980,2376,2054,2598,2856,2724,2771,2217,1521,1239,1562,1619,1798,2165,2283,1931,2079,2540,2204,2077,1871,1583,1808,1771,2239,2580,2447,2075,1885,1625,1483,1649,1474,1501,2098,2435,2484,2567,2107,1880,2513,3076,2964,2613,2254,2274,2504,2558,2231,1950,2127,2566,2858,3164,2962,2621,3343,3610,2686,1793,2238,2707,2354,1636,1438,1537,2040,1923,2126,2401,1913,1711,2268,2405,2419,2713,3096,2284,1752,2344,2410,2055,1768,1796,1816,1951,2323,2252,1760,1808,1854,1697,1884,1803,1796,1991,2190,2409,1885,1774,2096,1948,1746,1471,1482,1571,2058,1820,1803,2187,2001,1828,1965,2421,2183,1731,1830,2008,2558,2416,1720,2486,2720,2218,1824,1581,2186,2562,2347,1956,1450,1693,2058,2705,2997,3418,3381,2917,2163,2325,3121,3514,2808,1878,1620,1634,1802,1992,2222,2382,2104,1912,2260,2381,2763,3219,2653,1947,1655,2093,1926,1784,1951,2152,2634,2402,2050,2343,1905,1775,2602,2763,2734,3405,3652,3260,3030,2766,2452,3098,2897,2511,2807,2336,1785,1971,1995,1642,1992,2153,1857,2005,2516,2486,2574,2194,2123,2007,1620,1692,2221,2833,2654,2626,2714,2289,1908,1704,1946,2108,1920,1661,1899,2378,2160,1977,2523,2230,2299,2509,2315,2334,2341,1809,1301,1748,2376,2007,1574,1879,2126,2253,2481,2437,2106,2177,2199,2397,2474,2258,2044],[1920,2110,2466,2818,2978,3141,3437,3598,3362,3262,3161,3344,3306,3553,3428,3300,3891,3861,4064,4168,3738,3166,2856,2786,2839,3167,3527,3688,3688,3417,3332,3537,3012,2471,2898,3332,3023,2997,2963,3084,3272,3218,3217,3111,2732,2723,3222,3580,3648,2850,2471,2093,2162,2276,2027,2090,2078,1829,2020,2363,2626,2778,2561,2419,2160,2426,2525,2376,2958,3710,3726,3296,3295,3522,2666,2020,1878,1958,2143,1780,1425,1801,2593,3334,3673,3840,3918,3753,3559,3803,3735,3285,2819,2660,3215,3645,3430,3234,3190,3624,3662,3410,2837,2124,2241,2808,2950,2597,2623,2522,2697,2774,2235,2401,3132,3184,3023,2613,2272,2258,3229,3272,2150,2075,2385,2448,2248,2263,2414,2704,2923,2416,2100,1922,2348,2688,2134,1914,2067,2121,2146,2439,2348,1973,2235,2641,3228,3001,2765,2900,2928,2999,3083,2750,2372,2814,2972,2700,2178,2022,1832,1968,2244,1792,1625,1603,1956,2496,2639,2745,2764,2957,3376,3350,2487,2007,2132,2801,2314,1755,1622,1707,2278,2467,2494,2636,2866,3077,2963,3364,3413,3151,3010,2955,2888,3032,2750,2517,2752,2352,2284,3620,4619,4587,3498,2309,2292,2758,3310,3341,3325,3337,3226,2890,2642,2841,2354,2589,3330,2972,2667,2390,2051,1827,1680,2042,2170,2345,2430,2266,2145,2271,3454,3673,3303,3370,3431,3280,3232,3386,3370,3312,3232,3355,3505,3403,3459,3074,2008,2061,1988,1771,1852,2245,2106,1974,2060,2099,2258,2624,2234,2158,1613,1671,2358,1957,1478,1648,1820,1754,1582,1602,2208,3030,2688,2056,1951,2108,1982,2065,2395,2059,1968,2269,2736,2999,2360,3108,3364,3200,3072,2978,2711,3041,3392,3374,3458,3592,3321,2613,2129,2213,2632,2678,1805,2292,2310,1843,1644,1610,1648,1793,1897,1775,1750,1726,1827,1675,1837,1675,1619,1545,1533,1604,1865,2383,2484,2444,2194,2042,1894,1724,2002,2157,1968,1951,2040,1820,1912,1744,1346,1368,1720,2200,2438,2309,2320,2568,2487,2388,1975,1975,2264,2017,2358,2608,1603,1848,1676,1641,2194,2553,2231,1966,2040,2329,2706,3530,4111,3488,2416,2342,2126,1942,1698,2070,2212,2137,2264,2223,2188,2106,2000,2080,2315,2356,1812,1808,2028,1790,1958,2504,2932,3043,2797,2333,1889,1888,2140,2041,1642,2082,1928,2352,2354,2045,1893,1885,1977,2070,2041,1978,1674,2119,2118,1835,1636,2108,2388,2029,1700,1857,1928,2154,2156,2439,2512,2087,2298,2291,2357,2370,2070,1540,1582,1789,1974,2215,2581,2680,2077,2415,2209,2442,2041,1981,1739,1563,1592,2242,2642,2091,2061,2199,2473,2677,2214,2118,2756,2238,1892,1745,1973,2188,2388,2245,1929,2229,2644,2852,2770,2664,2218,1825,1559,2152,3064,3679,3957,4164,4211,4184,4201,4174,4342,3692,2949,2643,2348,2387,2048,2028,2003,1770,1940,2123,1962,2403,2998,3201,3293,3181,3027,2258,2208,2247,2015,1804,1748,1948,2072,2106,2278,2154,2568,3119,3205,2927,2282,2088,1911,1721,2204,2487,2304,2125,2395,2025,2026,2198,2524,2857,2853,2440,2061,1716,1722,1767,1626,1473,1400,1545,2014,2585,2964,2591,1910,2110,2464,2526,2360,2276,2316,2247,2344,2832,2040,1737,1706,2532,3078,2720,2842,2667,2358,2353,2040,2600,2700,1972,2046,2182,1882,1740,1546,2076,2317,2450,2646,2511,2535,2401,2448,2686,2940,3142,3342,2995,2700,3094,3423,2944,2729,2769,2846,2746,2147,2132,2308,2265,1878,1732,1794,2140,1980,2357,2479,1613,1408,1764,1781,1779,1931,2281,2198,2086,2305,2271,2287,2494,2168,2293,2958,2901,2651,3007,3046,2558,2420,2567,2865,3152,3016,2297,2251,2409,1888,2151,1790,1647,2448,3817,3787,3225,3304,2828,2053,2007,2194,2164,2678,2578,1962,2414,2886,3086,2993,2951,2583,2708,3240,2596,1785,1858,1664,1813,2342,2544,2797,3391,3484,3346,2618,1770,2416,3195,3473,3623,3769,3930,3509,3028,2857,2228,1797,1928,2117,2119,2216,2208,1748,1666,1642,2158,2745,2373,2159,2871,3443,3575,3448,2691,2373,2410,2258,2198,2208,1948,1725,1936,2016,2039,2105,2595,3188,2596,2250,2295,2158,1957,1814,1903,2432,2518,2197,1841,2018,2023,2154,2146,1804,1665,1870,2404,2375,2333,2539,2722,1918,1597,1702,1709,1702,1767,1789,1672,1930,2081,2209,2755,2732,2337,1759,1642,1756,1569,1477,1606,1504,1641,1980,2108,2534,2711,2325,2697,2253,2344,2407,2054,2266,2563,2403,2076,1938,1939,1915,2156,2237,2294,2591,2558,2500,2389,2104,1896,1861,1907,2248,2504,2602,2359,2008,2683,2692,2762,2385,1917,1651,1970,2703,2409,1918,1968,1728,1977,2042,1474,2288,3400,2700,2419,2419,2107,1688,1476,1741,2160,2236,1995,2052,2113,2442,2741,2807,2324,2270,2160,1775,1561,1615,1823,2562,2632,2200,2813,3330,3228,2746,2447,2351,2429,2536,2347,2307,2607,2353,1503,1017,1407,1274,1811,2067,1854,1875,2081,2226,2528,3230,3343,2522,2374,2092,1543,1411,1391,1506,1346,1692,2012,1934,1780,1724,1575,1562,1522,1848,1678,2052,1897,1976,1945,2200,2054,1807,2015,2184,2326,2165,2164,2493,3196,3007,2115,1861,2356,2219,2144,2447,2620,2706,2614,2967,3405,2860,2535,2441,2541,2366,2118,2028,2304,2402,2048,1778,1553,1446,1435,1434,1490,1426,1769,1975,1647,1958,2098,1876,1679,1615,1730,1760,1729,2677,2666,1844,1540,1376,1235,1591,1624,1584,1827,1856,1865,1742,1554,1870,2279,1864,1470,1216,1398,1426,1317,1351,1389,1308,1596,1739,1754,1791,1642,1302,1033,1397,1715,1504,1599,1802,1719,1682,1709,1698,2059,2810,3082,2918,2707,2217,2558,2678,2784,2930,2039,1760,1709,1358,1721,1624,1663,2374,2664,2347,2301,2385,2095,1474,1966,3342,4065,4328,3698,2239,2063,1982,1781,1599,1462,1395,1319,1248,1366,1605,1520,2061,3451,3298,3066,3060,2895,2416,2526,1924,1499,1700,2018,2086,1737,1514,1353,1605,3052,3284,1917,1781,1797,1510,2874,2980,1785,1839,2084,2457,2231,1859,1725,1793,1799,1636,1673,1991,2551,2684,2459,2787,3303,3826,4081,3962,3472,2014,1568,1538,1484,1454,1389,1571,1645,1547,1567,1899,1980,1529,1497,1570,1639,2213,2417,2342,1991,1681,1816,1929,1647,1749,2102,2174,1829,1976,2220,2095,2027,1806,1393,1592,1743,1354,1556,1787,1417,1377,1595,1656,1491,1550,1759,1641,1570,1648,1635,1786,1861,1930,1960,2548,3230,2485,1930,1901,1755,1517,1367,1350,1440,1391,1240,1338,1346,1396,1483,1599,1321,1412,1437,1765,1732,1658,1770,1983,1886,1874,2211,2082,1602,1876,2325,2735,2052,1764,1979,1906,1425,1396,1667,1660,1773,1788,1881,1548,1872,1992,1547,1522,1715,1721,1638,1499,1653,1899,1997,2036,1714,1638,1497,1465,1455,1328,1391,1377,1410,1456,1417,1335,1252,1427,1411,1412,1410,1318,1272,1119,1528,1671,1586,1390,1191,1166,1215,1272,1270,1364,1261,1482,1579,1348,1658,1993,1964,1937,1794,1560,1529,1474,1520,1958,1692,1556,1504,1959,2143,1924,1809,1526,1606,1748,1900,2089,2217,2204,2191,2151,2192,2300,2434,2287,2041,1930,2137,2114,2094,2116,2300,2846,4050,4415,4134,3970,2950,2072,2081,1916,1735,1746,1715,1742,1525,1499,1776,1976,2133,1550,1765,2035,1801,2018,2101,1804,2014,2050,2322,2440,2446,2110,2365,2708,1959,2084,2541,2214,1945,1741,1485,1558,1844,1762,1520,1996,1859,1598,1799,1568,1422,1538,1727,1727,1795,1679,1546,1622,1615,1399,1693,1735,1864,1930,1700,1767,1665,1600,1846,2050,2184,3222,3107,2360,1906,1772,1746,1786,1642,1681,1788,1734,1660,2314,2602,2088,2556,3266,3017,2557,2023,2216,2545,2661,3425,3636,3683,3450,3377,3793,3728,3498,3641,3061,2786,3160,3144,2909,3574,3602,3494,3022,2734,2588,2182,2284,2423,2156,2295,2364,2468,2786,2501,2496,2146,2245,2685,2370,2081,2008,2002,1729,2221,2890,3029,3371,3518,3566,3504,3486,3357,2312,1670,1601,1427,1515,1591,1506,1524,1770,1891,1752,2284,2214,1823,2090,2285,1951,1801,1920,2310,2774,2553,2309,2402,2744,2503,2243,1895,1985,2128,2127,2728,2397,1679,1566,1549,1438,1411,1600,1531,1489,1687,2802,2764,2130,2061,2149,2078,1803,1691,2068,2223,2076,2338,1911,2233,2820,3487,3228,2414,1857,1584,1552,1771,1740,1553,1522,2054,2233,1797,1546,1497,1555,1788,2017,2155,1876,1931,1937,1634,1694,1865,2078,2133,2221,2066,1926,2649,2972,1990,1719,1736,2276,2583,2683,1946,1621,1795,2316,2835,3040,2988,2514,2163,2010,2095,1780,1563,1654,1490,2018,1816,2020,2058,2060,2149,1892,1635,1534,1410,1516,2141,2424,2500,2508,2966,2822,2166,2086,2447,2658,2172,2106,2746,2785,2800,2284,2159,2228,2432,2532,2902,2851,2325,2511,3053,2874,2058,2100,2319,2318,2154,2130,1951,1690,1722,2050,2114,1780,2041,2824,3183,3294,2790,2828,2526,2376,2492,2813,2503,2240,2216,1895,2207,2577,2585,2021,2292,2336,1968,1774,1664,2336,3001,2996,2663,2092,2041,1932,1884,1718,1634,1596,1764,2062,1962,2216,2289,1970,1716,1638,1759,1832,2060,2204,2292,2750,2839,2618,3087,2895,2514,2056,1944,2235,2438,2332,1686,1512,2102,1877,2402,3130,3131,2868,2304,1862,1653,1954,2520,1906,1613,1962,1830,1754,1750,1746,1630,1880,2094,2169,2209,2586,2656,2544,2348,1631,2036,2157,2291,2424,1846,1825,1786,1879,1863,1643,2188,2708,2730,2692,2864,3166,2938,2825,2352,2109,2931,2754,2115,2309,2329,2344,2059,1815,1822,1932,2062,1901,2075,2210,2493,2591,2234,2438,2632,1958,2001,2676,2678,2496,2642,2260,1914,1896,1924,2152,2272,2165,2189,2124,1748,1621,1759,2120,1874,1849,1791,1851,2084,2139,1541,1101,1468,2099,1846,1758,2284,2280,2068,2183,2040,2057,2237,2456,2805,2545,2176,2106],[2075,2181,2492,2590,2428,2822,3429,3960,3938,3649,3421,3222,3047,3110,3084,3040,3696,3605,3746,3618,3299,3045,2943,3098,3442,3666,3783,3748,3709,3599,3255,3254,3190,2568,2554,2990,3082,3104,3041,3096,3283,3275,3183,3011,2719,2415,2664,3130,3274,2481,2090,2027,2512,2465,2233,2298,1943,1848,2219,2763,3296,3262,2676,2751,2471,2286,2510,2415,3066,4186,4148,4107,4047,3576,2244,1909,1859,1967,1973,1777,1669,2059,2958,3637,3759,3673,3555,3582,3627,3946,3751,3566,3376,3017,3634,4016,3756,2987,2473,2956,3207,3173,2614,1748,1940,2554,2877,2446,2224,2490,2807,2770,2401,2750,3397,3254,2500,2459,2859,2033,2899,3979,3506,2655,2669,2779,2315,2075,2188,2507,2072,1772,2070,2019,1990,2188,2295,2159,2220,2309,2277,2314,2019,2165,3093,3023,3116,2950,3100,3083,2814,2909,3184,2863,2756,3249,2792,2462,2234,2136,1810,1615,2163,1969,1516,1670,1899,2109,2877,3182,3311,3209,2839,2522,2191,2167,2499,2743,2511,2122,1915,1917,1951,2172,2477,2698,2931,2868,2373,2721,3276,3317,2888,2907,3056,3112,2579,2320,2522,2093,2105,2932,3716,3696,2623,2117,2097,2142,2562,2944,2980,3266,3146,3027,2701,3156,2666,3242,3885,3316,2886,3108,2918,2135,1888,1944,1947,2245,2276,2398,2358,2271,3330,3674,3617,3593,3507,3338,3428,3583,3465,3388,3243,3450,3599,3330,3248,2917,1653,1515,1772,1741,1871,1892,1907,1735,1937,1921,1999,2232,2069,2086,1649,1525,2353,2210,1433,1567,1750,1751,1726,2189,2792,3074,2946,2143,1690,1932,2190,2596,2741,2328,2394,2742,2567,2277,1901,2786,3447,3514,3066,2935,2774,2968,3450,3461,3269,3370,3405,3101,2677,2562,2281,2046,1893,1988,1811,1642,1481,1434,1615,1899,1954,1528,1486,1762,1754,1541,1540,1552,1833,1766,1504,1546,1927,2558,2312,1963,1957,1935,2036,1797,1661,1588,1368,1458,1605,1511,1789,1910,1737,1804,1864,1770,1827,1996,2151,2385,2184,1852,1738,1971,2151,1906,1850,1932,2002,2082,1755,1852,2502,2833,2416,1885,1769,1879,2018,2466,2802,2487,2128,2009,1917,1819,1768,2514,2517,2026,1796,1925,2156,1797,1637,1618,1750,1910,1957,2082,2024,2013,2500,3135,3429,2987,2504,2110,2040,1590,1766,1772,1484,1458,1414,1787,2103,1914,1827,1856,2086,2375,2247,2340,1966,2046,1986,1657,1803,2223,2272,2015,2111,2394,2379,2519,2404,2697,2673,2003,2399,2003,1782,2301,1867,1487,1900,2089,1743,1538,1891,2210,1847,1684,2419,2701,2626,2820,2336,1927,1904,2411,2906,2039,1864,2480,3003,3074,2296,2334,2432,2412,2366,2377,2798,2697,2226,2125,1881,1980,2138,1982,1985,2376,2418,1807,1929,2188,2918,3935,3857,4073,4133,4002,3971,3898,4100,3210,2344,2200,2449,2277,2069,2260,2337,2013,2154,2342,2493,2335,2869,3218,3305,3163,2795,2141,2077,2408,2116,1914,1921,2619,2425,2296,2424,2565,2858,3016,3134,2974,2410,2125,1781,1748,1840,1801,2182,2267,2099,1937,2119,2340,2542,2559,2222,2106,2166,1763,1675,1671,1627,1638,1783,2103,2276,2399,3016,2952,2157,1863,2083,2069,2008,2312,2534,2397,2017,1928,2094,2065,1985,2240,2639,2895,2692,2321,2178,2480,2596,2598,2039,1822,1973,2002,1789,1537,1820,2258,2301,2261,1756,2094,2412,2093,2702,2685,2642,3066,3078,2675,2521,3195,3678,3077,2692,2409,2083,2042,1845,1715,2113,2342,2487,2298,2016,2267,2285,2283,2123,2109,2054,2343,2098,2039,2246,2535,2420,2243,2599,2546,3222,3940,3294,2407,2487,2631,2523,2797,2731,2563,2644,2493,2343,2345,2210,2068,2221,2079,2078,2363,1978,1685,2800,3790,3688,3255,3200,2948,2300,2041,2467,2117,2248,2564,2991,3177,3277,3016,2513,2764,2554,2204,2529,2400,2149,2567,2096,2242,2913,3309,3438,3500,3089,2740,2486,2129,2824,3157,3591,3228,3170,3694,3599,3426,3435,2774,2189,2340,2418,2233,2401,2242,1917,2086,2265,2461,2338,2067,2116,2272,2840,3698,3953,3597,3083,2575,2435,2137,1877,1726,1935,2041,2074,2242,2016,2855,3709,2938,2136,1970,1943,1990,2011,2338,2867,2602,2116,2226,2283,2001,2134,2385,2098,1742,1964,2518,2529,2472,2484,2630,2068,1575,1713,1766,1760,1875,1697,1769,1936,1993,2245,2544,2388,2478,2226,1983,1764,1404,1573,1660,1568,1912,2473,2685,3067,2912,2513,2287,2290,2365,1933,1878,2426,2382,2260,2221,1891,1653,1697,1772,1796,1739,2061,2272,2249,2153,2245,2008,1721,1767,1934,2364,2455,2127,2068,2418,2338,2049,2175,2164,1900,2492,2396,1798,1978,2186,1732,1879,2210,2646,3422,3097,2477,2442,1943,1508,1999,2774,2779,2706,2168,1700,1774,1571,1601,1990,2097,1935,1941,2242,2385,2253,2273,2561,3240,2921,2335,2905,3449,3426,2906,2542,2485,2293,2197,2182,1950,1803,2098,1824,1462,1988,2125,2549,2143,1407,1714,2078,1717,1773,2734,2967,2084,1909,1554,1152,1383,1484,1504,1477,1627,1935,1522,1294,1135,1096,1152,1569,1672,1569,1777,1903,2048,2205,2377,2132,1949,2316,2492,2403,2217,2214,2143,2504,2203,1694,1751,1981,2113,2065,2226,2366,2382,2265,2764,2923,2474,2348,2645,2379,1964,2301,2445,2187,2177,2473,2317,1814,1530,1495,1627,1870,1848,1806,1791,1891,1856,1775,1671,1564,1569,2098,2105,2254,2765,2176,1608,1487,1353,1381,1856,2180,2222,2060,1790,1697,1502,1597,2564,2687,2097,1448,1167,1337,1409,1560,1586,1382,1550,2041,1697,1654,1687,1815,1647,1438,1800,1811,1243,1125,1333,1396,1410,1405,1434,2176,3074,2951,2811,2257,2273,2482,2558,2988,2789,1745,2168,1804,2154,1930,1683,1573,1853,1902,1918,2226,2204,1851,1418,1829,3245,4180,4156,3552,2083,1911,1950,1549,1435,1343,1428,1584,1461,1367,1689,1604,2345,3966,3472,3031,3018,2545,2792,3235,2396,2031,2159,1959,1928,1611,1361,1448,2225,4110,3774,2141,1739,1926,1897,2121,1968,1527,1381,1578,1654,1322,1763,1925,1790,1598,1606,1867,1947,2192,2714,2888,3426,3700,3200,2164,1956,1866,1542,1493,1473,1527,1598,1592,1400,1348,1508,1548,1595,1516,1453,1366,1417,1570,1913,2245,2468,2196,1634,1883,1852,1672,2157,2469,1969,1712,2055,2330,2263,2272,2097,1509,1586,1839,1466,1569,1660,1557,1313,1298,1374,1372,1701,1839,1521,1615,1786,1583,1836,1656,1812,1744,1853,2288,2001,1785,1923,1689,1378,1339,1411,1398,1346,1352,1427,1431,1422,1528,1506,1477,1504,1400,1365,1433,1422,1428,1688,1948,1989,2179,1978,2153,3068,3726,3526,2583,1875,2238,1927,1600,2080,1727,1690,1603,1920,2148,1823,2035,2178,1778,1491,1511,1875,2117,1908,1683,1624,1624,1708,1592,1634,1492,1511,1439,1366,1443,1443,1521,1373,1319,1417,1416,1343,1330,1360,1353,1324,1317,1275,1208,1275,1453,1375,1292,1313,1272,1349,1444,1318,1285,1651,1319,998,1597,1855,1737,1747,1750,1362,1108,1411,1816,2592,2525,1941,1877,2386,2465,2152,1874,1550,1573,1579,1747,1982,2236,1945,1635,2031,2549,2647,2483,2138,1920,2014,2420,2230,2229,2443,2675,2961,3993,4376,4022,3705,2611,2002,2101,1907,1969,2233,1848,1649,1548,1509,1699,2046,2278,2040,2035,2349,2175,2618,2711,2182,2409,2591,2786,3024,2974,2204,1774,1888,1819,2025,1855,1765,1820,1559,1579,1641,1676,1879,1776,1883,1849,1754,1863,1921,1942,1766,1949,1985,1858,1636,1593,1557,1526,1433,1478,1748,2192,2104,1826,2062,1824,2050,1965,1536,1469,1677,1825,1529,1344,1492,1761,1803,1503,1333,1895,2134,1547,1577,1854,1616,2035,2952,3405,2865,2096,2308,3086,2555,2698,3498,3804,3825,3820,3496,2676,2382,2976,3253,2961,3074,3276,3199,3428,2957,3087,3182,2789,2692,2480,2518,2476,2104,2012,2306,2403,2767,2444,2061,2490,3462,4061,3098,2059,1931,1680,1481,2013,2329,2877,3409,3448,3544,3134,3319,3494,2433,2129,2113,1843,1792,1687,1584,1708,1865,1610,1621,2397,2463,1932,1982,2244,2122,1796,1845,2287,2905,2587,2182,3056,3372,2463,1980,2304,2640,2620,2894,3141,2609,1891,1750,1539,1443,1558,1867,1642,1596,1829,2439,2244,1851,1980,2018,1938,1626,1626,2306,2505,2169,2157,2236,2835,3495,3274,2542,2531,2878,1990,1481,2288,1911,1810,1950,1907,1719,1765,1775,1886,1928,1944,2286,2967,2157,1771,1784,1905,1957,1708,1431,1347,1506,1754,2039,2719,2351,1729,1936,1773,2001,2947,2880,2114,2002,1968,2465,2966,2945,2709,2239,2263,2043,1664,1548,1456,1519,1981,2193,2032,2099,2053,2172,2355,2171,2056,1748,1972,1683,1749,2464,2518,2342,3086,3219,2323,1930,2363,2510,2501,2742,2742,2200,2022,1797,2043,2164,2030,2150,2812,2962,2154,1818,2484,2559,1625,1618,2386,2630,2078,1730,1439,1240,1698,2048,1829,1815,2399,3023,3124,3041,2674,2447,2621,2834,3013,2852,2370,2410,2728,2423,2216,2117,2165,2185,2046,2361,2211,1641,1649,2525,3077,2858,2355,2284,2235,1781,1527,1545,1625,1665,1883,2452,2976,3152,2563,1792,1735,1680,1989,2233,2092,2132,1858,1971,2104,2207,2249,2323,2260,2188,2299,2345,2257,2041,1693,1832,2198,1989,2416,2791,2536,2193,1996,2019,1977,1735,2001,1927,2105,2248,1895,1610,1432,1527,1560,1594,1852,2102,1990,1576,1886,2243,2341,2290,2045,2039,2441,2670,1989,1505,1553,1592,1469,1772,2192,2554,2764,2604,2494,2407,2522,2730,2757,2874,3141,3172,2476,2281,2265,2167,1849,1891,2165,2073,1950,1747,1717,1841,2210,2504,2736,2988,2831,2082,2610,2840,1913,2192,2863,2473,2006,2083,2273,2645,3054,2719,1881,1680,1644,1839,1741,1834,1711,1312,1200,1658,2091,1574,1244,1110,1368,1926,2003,1854,1858,1750,2128,2253,2012,2178,2752,3370,3304,2809,2957,2570],[2354,2894,2784,2541,2319,2333,3027,4040,4452,4400,3970,3476,3222,3122,3185,2928,3116,3076,3016,2923,3030,3221,3275,3327,3499,3571,3592,3571,3627,3672,3227,2867,2753,2212,2521,3124,3124,3034,2967,2909,3164,3018,2599,2452,2359,2404,2537,3030,2828,2441,2244,2220,2346,2388,2482,2417,2135,2402,2692,3076,3254,3118,3028,2942,2456,2539,2802,2415,3025,3721,3602,3348,3164,2593,1930,1635,1992,2419,2446,2412,2293,2448,3687,3949,3597,3321,3108,3107,3719,4024,3666,3155,2884,2946,3376,3701,3543,3133,3138,3082,2971,3152,2664,1668,1667,2387,2656,2207,2159,2821,3040,2893,2687,2996,2917,2511,2380,2668,2956,2407,2278,3352,4328,4090,3713,3031,2390,2301,2214,2495,1760,1807,2050,1901,1616,1807,2220,2273,2208,2013,1994,1994,1962,2642,2928,3061,2786,2643,3021,3066,2962,3115,3432,3556,3282,3010,2281,2125,2701,2384,1974,2113,2692,2411,1908,1666,1605,2197,3174,2886,2711,2498,2249,2485,2497,2175,2415,2401,2262,2325,2526,2207,1873,1834,2114,2430,2433,2078,2055,2877,3480,3429,3095,3081,3187,3043,2425,2174,2448,2579,2163,2397,3226,3205,2686,2375,2145,2069,2631,3083,2962,3336,3063,3054,2708,3012,3109,3263,3017,2464,2557,3040,2642,1841,1629,1699,1935,1888,2075,2226,2274,2202,2831,3259,3496,3927,3929,3548,3430,3491,3774,3547,3183,3273,3422,3228,3062,2766,1741,1424,1788,1910,2205,2358,2048,1995,2159,1786,2192,2447,2126,1768,1512,1542,2019,2178,1535,1426,1614,1781,1774,1925,2198,2510,2801,2178,1414,1784,2593,2957,2563,2410,2779,2994,2662,1925,1744,2756,3631,3649,3090,2560,2357,2871,3194,3338,3174,2955,3094,3208,2996,2554,2177,1886,1777,1560,1672,1836,1609,1455,1544,1862,1908,1461,1523,1721,1544,1477,1493,1467,1676,1729,1444,1612,1412,1549,1561,1510,1684,1648,1840,1612,1064,1059,1185,1405,1604,1487,1692,1970,1679,1762,1904,1831,1950,2127,1820,1547,1663,1978,1919,1644,1416,1409,1720,1872,1635,1679,1743,1874,2451,2583,2271,2138,1889,1680,1980,2074,2031,2044,2125,1958,1918,1867,1932,2362,2659,2639,2310,1842,1750,1512,1504,1666,1936,1886,1686,1798,1999,2376,2823,3021,2931,2243,2188,2237,2217,1795,1726,1627,1648,1698,1579,1811,2054,1703,1968,2273,2199,2200,2311,2470,2454,2324,1889,1983,2243,2285,1989,1900,2379,2443,2229,2441,2149,2168,2154,2059,2698,2562,2468,2790,2246,1906,2008,2247,1749,1795,1688,1730,2062,1981,2568,2602,2720,3270,2974,2317,2299,2276,2645,1800,1745,2508,3019,3379,2921,2351,2135,2341,2570,2531,2467,2058,1604,1565,1674,1910,1869,1731,1824,2622,2748,2090,2187,2047,2585,3890,3891,4069,4071,3960,4156,3569,3232,2869,2046,2036,2326,2110,2142,2411,2113,2013,1952,2065,2310,1897,2146,2766,2868,2303,2168,2239,2362,2293,1865,2148,1964,2171,2212,2353,2269,2208,2496,2725,2678,2246,1811,1697,1730,2002,1380,1397,2234,2224,1806,2036,2260,2579,2501,2045,2240,2352,2331,2023,1843,1824,1867,2008,2157,2221,1886,1843,2417,2518,1986,1850,2063,1990,2083,2523,2998,3189,2688,1991,2214,2533,2286,1995,2194,2754,2620,2621,2062,2204,2735,2151,1691,2243,2292,2146,2085,1901,2082,1946,1854,1816,1476,1547,1657,1869,2689,2303,2302,3020,3030,2293,2093,2798,3222,2463,1924,2189,2358,2553,2292,2324,2410,1969,2130,2508,2357,2232,2062,2163,2366,2135,2156,2329,2610,3099,3475,3706,2974,2425,3277,3189,3688,3885,3995,3149,2258,2103,2243,2442,2578,2573,2532,2215,1887,1956,1873,2017,2353,1872,2352,2840,2182,1537,2110,2896,3114,3123,2951,2567,2708,2409,2453,2722,2965,3371,3816,3360,2847,2675,2688,3040,2465,1956,2685,2622,2348,2051,2075,2820,3106,3033,3053,3076,2868,2663,2668,1554,2384,2980,3406,3831,3739,3576,3211,3025,3043,2686,2196,2818,3802,3628,3097,3012,3117,2521,2294,2521,2109,2029,2263,2248,2659,3432,3506,3549,3692,3408,3096,2798,2002,1830,2126,2107,2416,2334,1654,1630,2293,2670,1543,1423,1913,1924,1768,2209,2813,2792,2406,2199,2543,2409,2248,2414,2180,1663,2013,2158,2267,2399,2938,3060,2202,1986,2275,2341,2314,2299,2229,2209,1882,2261,2546,2065,2018,2197,1930,1677,1682,1716,1824,1627,1485,1555,2806,3793,3981,3498,2938,2411,2378,2540,2281,2246,2537,2294,2148,2078,1806,1795,1960,2007,1787,1885,1886,1726,1640,1973,2274,2486,2511,2091,1854,1828,2179,2254,2297,2359,2157,2054,2197,1934,1982,2405,2091,1971,2225,1982,1788,1844,2438,3376,3278,2623,2750,2566,1920,1391,1619,2486,3062,3050,1895,1394,1409,1490,1554,1720,1961,1672,1942,2910,3403,3063,2724,2461,2597,2596,2603,2719,2977,3276,3076,2855,2759,2500,2353,2927,2498,1623,1950,1825,2245,3500,3789,2978,1802,1737,2092,1910,1708,1808,2654,2230,1729,1932,1530,1272,1650,1635,1511,1344,1499,1530,1382,1460,1140,1121,1260,1457,1280,1506,1765,1783,1694,1814,2415,2241,2152,1847,2032,2460,2344,2249,2180,2404,2344,2378,2262,2062,2245,1953,2136,2303,2290,2027,2266,2437,2045,2026,2401,2518,2310,2542,2966,2872,2312,1996,2248,2124,1898,1519,1898,2042,1808,1616,1826,2319,2363,1977,1862,1949,1747,2310,2568,2503,2148,1659,1457,1381,1412,1511,1731,2154,2484,2093,1888,1849,1687,2416,2661,2312,1841,1389,1384,1479,1273,1245,1371,1373,1587,1974,1782,1754,1651,1718,1748,1787,1859,1583,1207,1296,1315,1146,1291,1577,2099,2568,2689,2589,2451,2106,2032,2175,2459,2797,2334,1531,2197,1858,2666,2467,2221,1619,1312,1435,1597,1793,1812,1597,1324,1965,2901,3497,3732,2555,1799,2177,1981,1519,1400,1309,1478,1641,1610,1498,1844,1740,2728,3674,3249,2956,2658,2169,2524,2686,2121,1704,1855,1802,1698,1316,1203,1811,2259,2790,2372,1898,1988,2109,1823,1517,1482,1388,1491,1843,1638,1791,2251,2180,2584,3041,2893,2619,2315,2319,2383,2862,3620,3647,2480,1602,1560,1477,1388,1416,1396,1383,1483,1497,1350,1339,1453,1580,1670,1520,1398,1495,1548,1404,1497,1754,1981,1865,1775,2010,1588,1439,1411,1532,1405,1570,1972,2137,2044,2154,2107,1565,1570,1772,1620,1632,1678,1499,1291,1408,1437,1347,1589,1804,1491,1637,1539,1665,2082,1911,2122,1906,1572,1604,1630,1770,1749,1596,1450,1448,1508,1398,1290,1505,1678,1846,1807,1370,1136,1304,1478,1542,1417,1465,1370,1395,1997,2290,1905,2083,2110,2149,2889,3272,2850,2328,1998,2256,1797,1751,1832,1246,1556,1990,1950,1965,1996,1954,2018,1779,1610,1782,2144,1996,2042,1736,1442,1417,1425,1503,1613,1537,1492,1454,1529,1691,1676,1651,1391,1444,1520,1426,1413,1482,1446,1332,1364,1594,1289,1310,1476,1245,1224,1300,1167,1248,1360,1383,1254,1324,1572,1246,1267,1413,1688,1714,1932,1845,1573,1461,1455,1919,3197,3260,2434,2219,1909,2050,2253,2198,2120,2315,1895,1669,1926,1997,1786,1506,1852,2346,2417,2149,2004,1970,2262,2397,2084,2249,2602,2833,2765,3589,4333,3962,3846,3060,2457,2374,2199,2059,1823,1665,1649,1674,1563,1551,1941,2214,2548,2545,2614,2355,2410,2315,2048,2598,2834,2808,2950,3339,3073,2020,1657,1789,2078,1765,1918,2042,1688,1599,1533,1542,1874,1924,1824,1952,2308,2524,2302,1961,1719,2001,1894,1853,1838,1581,1669,1928,1779,1555,1580,1790,2165,1981,1851,1927,2322,1764,1323,1450,1632,1507,1274,1230,1367,1604,1844,1742,1656,2584,2620,1932,1566,1456,1318,1857,3139,3585,3276,2481,2060,3018,3470,2865,2666,2842,3282,2978,2238,1835,2071,2394,2698,3202,3110,3073,3122,3096,2503,2667,2990,2652,2552,2578,2430,2437,2513,2060,2182,2342,2248,1985,2261,2884,3361,3549,3035,2408,2253,1931,1938,2613,3156,3349,3494,3460,2906,2035,2416,2634,2165,1940,2387,2632,2598,2041,1708,1511,1499,1561,1660,2193,2144,1698,1765,2132,2160,1700,1930,2730,3259,3112,2889,3300,3288,2536,1914,2076,2620,3055,3256,3109,2376,1870,1740,1681,1594,1985,1966,1828,2030,2115,2190,1833,1488,1723,1982,1789,1836,1920,2358,2669,2414,1916,1995,2780,3552,3085,2610,2967,3212,2385,1958,2545,2002,1901,2297,2191,1856,1606,1521,1771,1834,2092,1947,2556,2018,1988,1982,2120,2392,1859,1192,876,1126,1621,1754,2175,1918,2090,2292,2103,2192,3078,2733,2148,2119,1817,2041,2002,2006,1856,2049,2308,2164,2194,2040,1649,1836,2095,1974,1942,1754,1691,2114,2149,1990,1954,2315,2851,2486,2620,2997,2670,2410,3086,3352,2711,2127,2549,2713,3341,3150,2744,2291,1937,1941,2137,2099,2023,2002,2520,2639,1973,1750,2143,2238,1592,1782,2708,2763,1830,1648,2076,1964,2130,2259,2009,2146,2441,2728,2795,2729,2192,2542,3082,2814,3333,3306,2733,2227,2008,2035,2153,1841,1975,2331,2259,2464,2240,1703,1841,2280,2172,1939,1846,1892,1914,1736,1639,1705,1661,1622,2127,2804,3015,3027,2463,1754,1999,1611,2374,2730,2350,1723,2026,2054,1765,2138,2124,1775,1930,2460,2137,2322,2171,1876,1641,1980,1973,1731,2091,2286,2166,1953,1844,1697,1694,1794,2263,2890,2573,2259,2111,1632,1574,1759,1635,1924,2164,2340,2093,2078,2830,2770,2321,1953,1930,1672,1420,1472,1468,1560,1433,1372,1987,2644,2346,2443,2742,2811,2480,2497,2987,2685,2668,2854,2479,2933,2844,2526,2187,1949,2029,2448,2392,2280,2045,1771,1815,1932,2046,2415,2678,2322,2098,2266,3251,3052,2236,2212,2470,2342,2222,2176,2437,2656,2957,2913,1876,1524,1540,1499,1494,1908,2077,1582,1525,1877,1981,1589,1235,1358,1985,1880,1832,1860,1620,1698,2364,2688,2508,2830,3270,3564,3493,3713,4099,3582],[2518,2558,2458,2416,2326,2169,2484,3193,4021,4350,4021,3796,3422,3287,3028,2602,2662,2952,3124,3403,3469,3451,3518,3442,3474,3564,3563,3593,3663,3709,3139,2763,2655,2198,2462,3197,2986,2767,2865,2758,3030,2933,2545,2317,2308,2721,3086,3241,3044,2905,2868,2924,2459,1974,2158,2251,2571,3593,3542,2972,2773,2929,3251,3074,2525,2214,2690,2425,2700,2275,1953,2056,1931,2626,3221,2924,3051,2974,2786,3558,3284,3037,4152,4237,3370,3053,2769,2851,3521,3548,2588,1753,1699,2058,2334,2708,2941,3072,3139,2797,2422,2713,2426,2150,2429,2620,2381,2313,2406,3200,2936,3087,2842,2776,2186,2227,2299,2003,2123,2304,2346,2764,3401,3886,3396,2666,2302,2416,2432,2367,1675,1626,1760,1649,1589,1588,1655,1958,2249,2249,2177,2028,1951,1973,2301,2548,2352,2646,2987,3046,2739,2296,2864,3603,3620,2679,1986,1956,2305,2521,2518,2725,2966,2884,2855,2039,1840,2455,2305,2123,2115,2049,1981,2903,2850,2315,2481,2332,2002,1897,2343,2667,2604,2171,1916,2174,2191,1742,2170,3032,3239,3395,3076,2954,2885,2916,2530,2309,2312,2115,1949,2375,2657,2727,2524,2350,2571,2997,3183,3033,3116,3152,3204,3061,2630,3077,3339,2829,2107,1682,1853,1822,1606,1626,1692,2407,2100,1742,1764,1669,1952,2030,2188,2717,3183,3761,3551,3285,3180,3059,3407,3466,3280,3262,3338,2775,2323,2480,2148,1857,2104,2047,2101,2188,1871,2104,2234,1950,2090,2218,2123,1872,1831,1873,2044,2155,1583,1454,1585,1715,1703,1685,1886,2410,2770,2239,1582,1756,2451,2662,2341,2062,2295,2376,2268,2246,2872,3516,3749,3702,3216,1860,1815,2912,3182,3341,3038,2502,2511,2909,3043,2978,2571,2046,1821,1830,2099,1798,1610,1443,1493,1537,1568,1563,1732,1794,1586,1524,1498,1411,1554,1627,1347,1457,1478,1483,1434,1660,1780,1534,1604,1476,1181,1850,2083,1811,1677,1710,1641,2066,1870,1861,2333,2388,2281,1925,1831,1757,1561,1682,1745,1727,1580,1472,1747,1831,1749,1834,1858,2287,2585,2648,2265,1923,1891,1683,2138,2100,2108,2215,2237,2199,2019,1965,1906,2259,2732,2303,1863,1464,1189,1525,1908,2032,1990,1681,1594,1963,1613,2002,2558,2874,2203,1874,1947,1984,1835,1641,1790,1938,1845,1907,1700,1835,2175,1860,1931,2226,2070,2202,2266,2120,2524,2474,2295,2369,2008,2053,2069,1959,2472,1953,2066,2455,2088,1990,2264,2459,2520,2655,2723,2956,2303,1996,2181,2017,1822,1911,1859,1968,2489,2689,2465,2351,2640,3327,3543,3230,2681,2201,2376,2050,1916,2186,2710,3160,2901,2257,1873,1523,1415,1771,1502,1532,1536,1560,1694,1889,1723,1589,1606,2012,2341,1728,1620,1767,2205,3554,3901,3969,3996,4029,3918,2734,2323,2624,2148,2083,2359,2126,2257,2810,2553,2150,1913,1873,1808,1641,1618,1970,2123,1851,2002,2175,2050,1828,1985,2410,2313,2092,2049,2209,2319,2429,2344,2487,1894,1537,1734,1656,1964,2089,1636,1774,2393,2087,1973,2256,2478,2758,2258,1873,2109,1968,2057,2056,1992,2062,2106,2184,2132,1830,1582,1675,1853,2240,2164,2213,2308,2291,2497,3249,3669,3629,2965,2053,2131,2375,2332,2049,2062,2161,2002,2460,2390,2514,2326,1805,1780,2084,2157,2320,2282,2017,1765,1494,1601,1692,1646,1508,1885,2419,2544,2260,2238,2255,2010,2001,2469,2640,2307,2026,2091,2624,2792,2849,3002,2796,2279,1902,1937,2017,2023,1833,1844,1933,2004,1807,2258,2600,3226,4184,4443,4404,3628,2563,3261,3818,3784,3454,3594,3763,2918,2080,1898,1769,1848,1912,2220,1831,1556,1743,1606,2050,2275,1835,2435,2705,1866,1752,2310,2992,3306,2817,2462,2305,2310,2401,2195,2830,3075,2921,3076,2708,2666,2630,2563,2590,2596,2370,2531,2128,1843,2097,2424,2537,2196,1873,2301,2729,3150,3056,2736,1423,1842,2340,2236,2329,3211,3486,3238,3726,3379,2636,2463,3759,4016,3223,2574,2819,3421,3269,2868,2503,2642,3230,2927,2691,2592,2996,2774,2647,2720,3194,3774,3674,2535,1931,1660,1642,1991,2017,1918,1482,1887,2073,1875,2271,2601,2317,2090,1858,1894,2047,2023,1844,2374,2215,2148,2289,2152,1665,1618,2074,1946,1951,2779,2895,1958,2291,2138,1838,2320,2347,2512,2398,2127,2821,2780,2086,1725,1648,1577,1533,1606,1691,1813,1636,1569,2145,3555,4086,3923,3936,3572,2954,2851,2938,2315,2066,2167,2143,2082,2175,2091,2075,2175,2253,2209,2298,1854,1561,2051,2500,2374,2579,2396,1853,1871,2072,2056,2021,2258,2245,2094,2165,1653,1737,2101,2242,2021,1991,1467,1168,1467,1377,1960,2885,2273,2277,2401,2332,1816,1437,1619,2150,2464,2209,1579,1414,1588,1547,1328,1301,1573,2056,2690,3544,4219,4045,3040,2289,2386,2787,2742,2364,2505,2318,2286,2592,2496,2521,2700,3185,2885,2381,2769,2708,2710,3249,3147,2587,1830,2023,2100,1729,1840,1927,2243,2011,1996,2363,1916,1275,1508,1439,1474,1166,1846,2106,2025,1891,2034,1751,1474,1315,1381,1833,2187,2164,1732,1886,2548,2244,2104,1841,1999,2254,2074,1918,1943,2285,2940,2584,2042,2264,2270,2115,2004,2261,2022,1881,2453,2427,1875,1848,2363,2806,2780,2769,2721,2574,2534,2148,1992,1935,1927,2009,1946,1756,1717,1511,1748,2697,2925,2258,2161,2115,1824,2435,3153,2492,1677,1555,1363,1282,1431,1631,1825,1991,2391,2275,1907,2056,2174,2288,2137,1879,1577,1434,1500,1760,1573,1436,1525,1667,1943,1765,1619,1698,1713,1711,1765,1928,1814,1511,1299,1398,1367,1247,1625,2086,3131,3320,2479,2275,2072,1746,1953,2253,2447,2822,2157,2096,1818,2076,2720,2555,2092,1258,1113,1221,1242,1525,1549,1215,1596,1761,1881,2124,2439,2183,1991,2137,1951,1599,1692,1672,1732,1697,1481,1663,1861,1904,2835,3188,2951,2841,2287,1813,1782,1937,1610,1705,2131,1944,1631,1336,2022,3963,3903,1867,1660,1845,1767,1471,1622,1312,1438,1456,2262,2548,1538,2076,2625,1911,2196,3008,2956,2676,1716,1347,1935,2800,3408,3198,2111,1608,1676,1502,1588,1824,1449,1368,1366,1395,1257,1365,1432,1367,1470,1615,1659,1905,1737,1523,1513,1550,1563,1508,1738,1664,1504,1402,1619,1735,1509,1545,1615,1686,1793,1862,1932,1621,1338,1312,1329,1415,1435,1360,1399,1431,1458,1488,1519,1748,1494,1805,1834,1736,1821,1764,1897,1741,1421,1518,2020,2227,1662,1615,1567,1610,1767,1712,1622,1640,1653,1854,1653,1124,1180,1313,1415,1519,1419,1594,1300,1174,1680,1621,1584,1969,2244,2437,2369,2138,1690,1930,2521,2025,1576,1641,1543,1942,2533,2467,1796,1585,1665,1671,1662,1598,1831,1960,2335,2032,2059,1828,1544,1653,1899,2071,2020,1718,1668,1676,1733,1847,1587,1456,1379,1459,1396,1355,1630,1663,1395,1299,1351,1370,1255,1345,1314,1263,1348,1252,1098,1158,1230,1393,1462,1482,1548,1424,1560,1409,1533,1438,1688,1783,1648,1524,1403,2044,3242,2599,1561,1327,1353,2015,2092,1894,2049,2367,1973,1972,2014,1754,1650,1471,1662,2076,2276,2053,2055,2107,2268,2049,1899,2308,2526,2544,2688,3717,4133,3952,3942,3463,2452,2274,2388,2162,1758,2056,1943,1604,1562,1552,2003,2123,2452,3028,3112,2700,2335,2180,1901,2137,2564,2687,3009,3576,3274,2167,1918,1710,1488,1639,1843,1375,1395,1574,1461,1341,1312,1623,1844,1901,2128,2435,1936,1670,1675,1869,1839,2093,2020,1722,2249,2503,2238,1994,1601,1820,2141,2099,2081,1897,1662,1343,1160,1283,1376,1362,1395,1361,1399,1506,1554,1549,1903,2321,2192,1775,1475,1336,1324,1621,2225,2593,3148,3129,2284,2821,3313,3405,2855,2359,1880,1635,1706,1699,1881,2026,1887,2813,3128,3074,2806,2700,2432,2378,2496,2329,2206,2401,2363,2204,2492,2496,2259,2282,1852,1787,2118,2514,2908,2438,2094,2409,3202,2689,2474,3255,3664,3152,2979,2887,2192,1796,1765,2132,2281,2312,2779,2827,3035,2877,2301,1512,1484,2000,2286,2118,1820,1569,1646,1824,1794,1607,2442,2929,3142,3428,3370,3193,3355,2891,2101,2397,3184,2989,2526,2306,2016,1960,1722,1874,2129,2214,1898,1973,2087,1932,1945,1937,1648,1629,2038,1907,1945,2042,2187,2620,2542,1841,1893,2353,2956,2378,2098,2152,2119,2365,2077,1782,1620,1998,2715,2625,1697,1434,1601,1606,1867,2170,1962,1971,1875,2544,2575,2414,2620,2114,1569,1418,1832,1945,1758,1707,1689,1743,1854,2088,2454,2499,2234,2277,2413,2366,2457,3254,3430,3038,2931,2517,2343,3061,2897,1913,1760,1879,1677,1626,1526,1534,1746,2096,2163,2150,2750,3308,3338,3015,2798,2730,1978,2558,2951,2634,2369,2365,2640,3074,3062,2902,2262,1975,2112,2083,2042,2106,1935,2081,2339,2399,2117,1560,1515,1756,1945,2266,2513,2157,2214,2615,2472,1897,1849,2777,3045,2406,2132,2185,2291,2413,2921,3186,3334,3416,3287,2983,2142,1963,2059,2198,2160,2185,2374,2684,2563,1933,1573,1915,1893,1867,1939,2466,2281,1765,1571,1969,2252,1881,1734,1971,2532,2841,2763,2457,2354,3045,2697,2447,2416,2135,2455,3277,2621,1953,2148,2097,1762,1897,2028,2247,2303,2142,1828,1741,1904,1780,1877,1881,1907,2523,2124,1816,1732,1757,2343,2964,2844,2183,2250,2181,1678,1675,1711,1849,2628,2239,1978,2072,2590,2874,2283,1899,2378,2491,1491,946,829,1360,1742,1625,1836,2742,2787,2189,2146,2504,2878,2609,2484,2946,2690,2644,2279,2023,2295,2759,2574,2091,2018,2084,2037,2315,3082,3050,1731,1495,1853,1963,1932,1817,1705,1731,2478,3284,3338,2967,2526,2588,2493,2107,2151,2536,3009,3169,2855,2495,1931,1445,1609,1711,1940,2388,2227,1984,2514,2847,2054,1265,1744,2466,2074,1786,1978,1867,1732,2146,2458,2855,3585,3650,3565,3462,3853,4172,3880],[2353,2632,2477,2427,2337,2361,2502,2467,3184,3883,3688,3620,3464,2978,2588,2454,2866,3382,3558,3705,3605,3519,3536,3437,3294,3430,3564,3742,3846,3805,3232,2876,2869,2363,2420,3054,2875,2617,2876,2545,2719,2510,2388,2453,2750,3053,3248,3174,2966,3115,3112,3129,2834,2091,2133,2339,2858,3309,3400,2894,2601,3245,3387,3012,3327,2721,2752,2630,2395,2102,2402,2754,2297,2813,3808,4080,4129,3494,2758,2708,3142,3555,4012,4035,3588,3558,3493,3575,3626,2874,1924,1676,1664,2057,1870,2063,2563,2610,2621,2387,2298,2431,2872,3543,3300,2623,1997,1612,2334,2930,2970,3572,3406,2367,1649,1790,2034,1911,2040,2691,3028,2721,2504,2695,2062,2012,2408,2348,2358,2189,1815,1767,1592,1511,1483,1632,2087,2232,2128,2815,2742,2115,2070,2190,2396,2242,2272,3129,2829,2924,2414,1847,2248,3184,3304,2507,2048,1777,2001,2610,2801,2892,2796,2757,3099,2910,2100,1782,1748,1873,2099,1796,1581,2258,2416,2249,1985,1773,1588,1926,2544,3144,3264,2687,1995,1989,2188,2073,2491,3000,3319,3386,2984,2843,3012,3219,3263,2923,2546,2522,2360,2061,2070,2448,2318,2456,2910,3207,3051,2719,2968,3071,3060,2767,2645,3010,3154,2613,2024,1596,1674,1594,1600,1763,2428,4724,3328,1601,1735,1699,2051,2181,2418,2675,2539,3276,3082,3045,3120,3029,3340,3500,3292,3167,3005,2467,2258,2429,3044,3238,2955,1968,1692,1722,1576,2124,2319,2073,1826,1825,2242,2346,2796,2923,2601,2765,1840,1510,1464,1556,2012,2260,2193,2071,1904,1706,1674,1758,2342,2557,2382,2074,2286,2471,2298,2646,3344,3762,3728,3750,3195,1665,2248,2870,3272,2908,2634,2496,2260,2525,2920,2667,2326,2235,1799,1581,1863,1665,2176,1926,1484,1193,1326,1518,1498,1738,1704,1453,1412,1692,1840,1817,1499,1509,1582,1457,1514,1651,1578,1729,1768,1549,1428,2015,2178,2330,2070,2004,1809,2056,2058,1788,2113,2379,2196,1553,1833,1648,1484,1549,1683,1668,1448,1488,1755,1759,1642,1739,2216,3383,3267,2905,2465,2244,2283,2151,2238,2066,2078,2375,2698,2302,1917,2365,2128,2105,2220,1980,1878,1664,1860,2158,2690,3109,2267,1645,1867,2119,1684,2145,2397,2228,1964,2060,2079,2112,2058,1825,1756,1873,1826,1955,1770,2014,2566,2210,2160,1992,2154,2850,2890,2801,2618,2304,2061,2172,2198,1894,1716,1586,1677,1861,2266,2537,2446,2319,2544,2604,2452,2375,2321,2358,1977,2019,2306,1939,1998,2266,2332,2387,2600,2543,1984,1992,2470,3393,3601,3405,2954,2687,2350,2387,2602,2480,2676,3207,3047,2432,1688,1367,1674,1943,1810,1934,1724,1587,1722,1859,1798,1828,2078,1972,2103,1901,1641,1836,2166,3193,3913,4014,4088,3830,2888,2509,2662,2400,1882,1838,2244,2091,2232,2644,2554,2311,2080,2006,1962,1742,1749,1914,1980,1749,2018,1909,1641,1734,1896,1940,1929,2024,2250,2330,2592,2890,2425,2204,1687,1252,1822,2135,2238,1858,1682,2232,2292,1962,2172,2451,2711,2567,2065,2065,2396,2239,2288,2211,1976,2020,2017,2013,2034,1830,1736,1737,1708,2065,2370,2153,2250,2433,2504,3107,3641,3748,3287,2441,2282,2504,2640,1901,1787,2204,2468,2444,2536,2524,1887,1627,1808,1864,1636,1755,1710,1828,2088,1842,1454,1463,1639,1852,2177,2513,2664,2272,1904,1559,1681,2549,2475,2075,1808,1998,2358,2661,2348,2169,2202,1714,1646,1668,1701,1932,1846,1530,1744,1776,1656,1735,1845,2009,2700,3410,3124,3292,3000,2476,2688,3414,3830,3660,3706,4050,3208,2213,1975,1797,1552,1613,1946,1761,1722,1895,1856,2281,2133,1813,2536,2602,1542,1916,2708,3473,3930,2844,2503,2240,2087,2113,2216,2423,2221,2468,2835,2787,2864,2673,2547,2662,2532,2239,2081,1772,1808,2262,2260,2624,2691,2176,2115,2415,2988,3304,2501,1718,1742,2014,2379,2563,3410,3861,2912,2994,3142,2762,1953,2175,1977,2234,2186,2127,2486,2612,2372,2014,2448,2656,2502,2603,2029,2331,2649,2539,2463,2502,2758,2900,2700,2618,2292,1843,1502,1688,2180,1904,1895,1867,2504,2752,2520,2995,2990,2265,2289,2176,2178,2415,2359,2342,2322,2014,1575,1480,2176,2612,2243,1837,1892,2282,1918,2050,1848,1403,2321,2482,2535,2611,2239,2187,2446,2263,1758,1498,1544,1505,1451,1664,1769,1673,1755,1848,2612,3589,4034,4376,4320,3637,2953,3116,3088,2463,2301,2193,2222,2766,2841,2259,2129,2531,2466,2498,1650,1283,1592,2004,2114,2340,2197,2252,2400,2476,2542,2207,2021,2286,2293,1882,1365,1836,2074,2030,1685,1300,733,712,1018,1104,2030,2642,2003,2596,2475,2098,1587,1654,1921,2099,2207,1879,1457,1375,1354,1398,1403,1502,1815,2465,2652,3716,4388,3387,2685,2668,2423,2718,2718,2287,2160,1868,2306,2216,2424,2439,2238,2552,2918,2786,2865,2940,2383,2043,2316,2044,1625,1907,2172,2080,2094,2377,2412,2275,2388,2511,2144,1343,1369,1586,1356,1305,2208,2610,2097,2060,2511,2509,2182,1891,2153,2252,2141,1810,1524,1847,2430,1930,1660,1937,1910,1872,1788,2026,2712,3175,3452,2778,2420,2619,2209,2274,2403,2348,1734,1689,2401,1965,1195,1874,2856,2813,2678,2679,2318,2145,2598,2739,2856,2567,2030,1999,2360,2371,1902,1613,1627,2172,2534,2093,1950,1846,2136,2956,2770,1825,1602,1478,1394,1460,1405,1571,1768,1929,1961,2156,2168,2043,2135,2200,1877,1777,1482,1274,1502,1725,1615,1653,1784,2835,3296,2899,2533,2117,1926,1769,1781,2176,1897,1395,1394,1225,1063,1297,1816,2244,3094,3219,2331,2309,2122,1844,2218,2438,2708,3110,2430,2358,1816,2271,2765,2383,2079,1087,949,914,907,1086,1390,1202,2598,2820,2524,2684,2851,2946,2402,1969,1890,1644,1709,1663,1807,1721,1830,1847,1904,2035,2671,3274,2831,2451,2041,1867,1794,2082,1754,2015,1978,1583,1504,1577,2548,4896,4448,2068,1887,1857,1638,1460,1630,1394,1799,1650,2010,2059,1632,2608,3562,3217,2962,3297,3015,2373,969,804,1858,2627,2720,2216,1879,1588,1528,1511,1531,1486,1377,1329,1336,1379,1398,1534,1500,1245,1325,1457,1654,1946,1685,1510,1610,1759,1736,1660,1988,1946,1614,1515,1715,1592,1616,1660,1536,1478,1663,1699,1869,1753,1444,1288,1144,1153,1258,1302,1500,1454,1411,1533,1442,1436,1431,1786,1766,1560,1725,1996,1889,1443,1372,1512,1881,1940,1567,1580,1639,1648,1685,1739,1741,1815,1880,1680,1515,1505,1491,1468,1461,1405,1347,1438,1059,823,1188,1454,1666,1862,2190,1990,1852,2136,1631,1752,2367,1754,1288,1422,1429,1277,1532,1714,1896,1847,1742,1826,1600,1528,1668,1980,2342,2285,2163,1934,1637,1577,1904,1937,1638,1655,1967,1988,1814,1670,1464,1380,1426,1478,1407,1477,1782,1639,1384,1299,1296,1423,1374,1256,1242,1482,1482,1506,1765,1183,1206,1282,1558,1584,1400,1447,1544,1625,1521,1395,1608,1821,1604,1472,1626,2127,2843,1819,1375,1681,1709,1852,1883,2007,2142,2150,2203,2641,2574,2281,1913,1592,2156,2294,2049,1950,1870,1887,1950,1772,1804,2199,2768,2897,2701,3427,3504,3564,3784,2942,1945,1770,2180,2355,1921,1866,1816,1554,1560,1914,2356,1938,1912,2801,2805,2476,2553,2767,2548,2060,2396,2684,3156,2770,2046,2054,2114,1694,1452,1678,1690,1366,1284,1410,1396,1323,1360,1771,2034,2067,1872,1698,1842,1852,1733,1896,2060,2388,2565,2475,2493,2290,2601,2066,1633,1563,1534,1584,1591,1479,1477,1564,1401,1249,1306,1377,1450,1394,1506,1395,1214,1426,1743,1882,1917,1939,1724,1506,1500,1635,1709,1627,2534,2968,2451,2466,2402,2222,2003,1611,1432,1499,1766,1932,1927,1814,1853,2205,2950,3305,2940,2867,2752,2523,2478,2554,2597,2496,2169,2218,2080,2266,2262,2137,2115,2423,2588,2717,3153,2357,2342,3109,4100,3216,2501,2767,2912,2444,2583,2950,2568,1847,1692,2138,2198,2833,3142,2872,2829,2853,2116,1685,1842,2143,2241,2051,2164,2014,1820,1852,2052,2099,2799,3033,2721,3062,3370,3183,3389,2851,2743,3254,3813,3675,2565,1976,1821,1644,1649,1973,2150,2053,1748,1890,1700,1557,1818,2110,2022,1937,2040,1994,2007,2149,2156,2220,2292,2036,1824,2066,2401,2205,2402,2055,2033,2295,1853,1557,1723,2145,2423,1952,1478,1421,1686,1657,2314,2427,1970,1631,1686,2172,2410,2258,2547,2288,2374,2029,1864,1874,1833,1997,1849,1749,1910,2028,2329,2243,2475,2208,2403,3007,2966,3340,3670,3539,3398,2952,2962,3807,3676,2432,1938,1966,1599,1641,1765,1773,2026,2440,2629,3120,3411,3473,3498,2643,2258,2601,2104,2122,2090,2414,2844,2729,3230,3179,2562,2715,2240,2266,2089,2029,2125,1935,2024,2338,2640,2984,2439,1422,1371,1922,2082,2104,2204,2029,2300,2523,2019,1942,2470,2808,2756,2489,2113,1826,2109,2801,2453,2450,3120,2729,2302,2293,2417,2703,2381,2137,2323,2159,2040,2179,2108,1723,1845,1859,1543,1806,1996,2117,2182,1913,1818,2028,1952,1710,1884,1983,2320,2875,2946,2639,2855,2845,2714,2733,2744,2785,2973,3297,3168,2916,2825,2314,1870,1672,1638,1960,2240,2327,2070,1681,1676,1794,1919,1907,2085,2547,2266,1953,1770,1810,2430,2542,1961,2036,2047,1908,1883,2062,2150,2098,2247,1782,1743,2128,2165,1931,1752,2122,3226,2976,1481,1337,1364,1603,1994,2050,2051,2200,1786,1671,2234,2877,3098,3098,2617,2699,2756,2717,2383,2029,2123,2547,2328,2025,2004,1796,1610,1937,2402,2509,2090,1684,1599,1830,2040,1854,2040,2253,2309,2892,3030,2994,2791,3019,2706,2500,2604,2517,2780,3271,3226,2930,2578,2542,2178,2027,2210,2867,2397,1707,2588,3299,2352,1381,1562,2064,2050,1918,1857,1981,1976,2471,2866,3510,3880,3676,2585,2701,3326,3302,3331],[2042,2129,2008,2041,2159,2305,2443,2455,2653,3184,3379,3196,2966,2851,2875,2950,3270,3751,3471,3120,3585,3619,3544,3477,3298,3395,3583,3641,3730,3774,3329,2722,2673,2491,2271,2651,2790,2359,2643,2264,2548,2575,2175,2430,2841,3103,3282,3197,3061,3010,2887,3040,3232,2420,2186,2248,1772,1788,2688,3082,2828,3003,2624,2544,3342,2944,2930,3128,2808,2799,3388,3424,2523,2075,2414,3470,3593,3386,3378,2865,3075,3283,3544,3829,3969,3882,3703,3484,3507,2878,2967,2708,2433,2200,2210,2193,2521,2881,2679,2390,2391,2247,2541,2974,2877,2518,2044,1784,2405,2906,3197,3235,2534,1843,1810,2201,2731,2555,2709,3085,3210,2664,2447,2585,2056,1724,2113,2219,2154,1877,1758,1556,1469,1410,1677,2064,2745,2818,2380,2414,2309,1996,1890,1935,2301,2221,2278,2793,2512,3374,3307,2616,2114,2447,2409,1943,1735,2112,2637,2627,3237,3420,2780,2665,3022,2878,1999,1599,1649,1726,1816,1809,1840,2035,1783,2015,2066,1769,1669,1977,2047,2094,2415,2306,2531,3175,3065,2448,2444,2832,3271,3111,3085,3090,3179,3363,3473,3123,2978,3038,2375,1975,1865,2220,2440,2394,2459,2216,2552,2856,2788,2787,2791,2593,2399,2640,3134,2856,2417,1840,1896,2332,2015,1780,2386,3271,2501,1910,1795,1855,1927,2083,2466,2076,2001,2648,2668,2791,2869,2876,3151,3328,3014,2897,2762,2744,2821,2784,3492,3630,3162,1952,1594,1576,1669,2230,2649,2819,2084,1944,2099,2344,3013,3088,2720,2449,1773,1570,1807,2235,2933,3173,2840,1923,1771,1964,2136,2070,2243,2316,2178,1946,2009,2297,2453,2556,3334,3915,3869,3732,3416,2720,2922,3242,3386,2866,2482,2320,2348,2332,2454,2273,2293,2232,1865,1693,1993,2038,2312,1993,1551,1436,1499,1517,1534,1493,1521,1512,1480,1570,1770,1808,1510,1513,1750,1726,1720,2016,1583,1831,1643,1401,1450,1959,1958,2427,2178,2004,2042,1793,2217,2235,2335,2331,1872,1602,1797,1796,1767,1619,1655,1630,1519,1650,1749,1760,1861,2603,3607,4549,3640,2449,2563,2688,2491,2325,2277,2068,2085,2076,2079,1687,2050,3007,2465,1953,1933,1587,1394,1795,2274,2264,2200,2611,2142,1640,2127,2044,1706,2228,2194,1832,1831,2017,2114,2142,2260,1983,1876,2008,1853,1830,2143,2303,2198,1816,1927,2095,2330,2602,3409,3346,2171,1901,1881,1952,2033,1929,1769,1793,2028,2506,2614,1947,1901,2287,2625,2843,2666,2224,2441,2635,2206,2082,1915,1921,2220,1912,2077,2408,2626,2363,1867,1755,2567,3543,3617,3304,3284,3450,3241,3529,3708,3505,3156,3279,3051,2489,1893,1815,1794,1649,1923,1883,1419,1394,1837,2196,2276,2475,2533,2251,2313,2343,2055,2134,2179,2810,3868,4264,4028,2998,2330,2459,2425,2332,1779,1765,1998,2154,2255,2314,2400,2332,1948,1674,1428,1627,1832,1985,1846,1789,2116,2064,1871,1982,1962,1634,1767,2317,2318,2352,2418,2611,1948,1688,2303,1779,2293,2648,1992,1797,1897,2205,1829,2081,2331,2426,2304,2039,1960,2122,2690,2454,2125,2097,2124,2208,2078,2081,2166,1917,1780,1810,1713,2040,2512,2385,2293,2205,2013,2531,3233,3680,3182,2453,2324,2333,2424,2250,2124,2451,2778,2699,2292,1853,1725,1665,1670,1720,1897,1946,2118,2186,2294,1886,1434,1575,1550,1648,1971,2118,2580,2414,1801,1520,1743,2106,2262,2092,1991,1939,2174,2297,1903,1955,2071,1723,2055,2079,1873,1915,1789,1713,1782,1637,1760,1786,1876,2216,2812,2423,2155,2668,2691,2551,2431,2598,3357,3931,4039,3818,2610,2366,1983,1691,1553,1828,1922,1658,1597,1649,1734,2092,1935,1726,2547,2842,2017,2032,2423,2802,3002,2705,2359,1729,1350,1588,2158,1980,1870,2611,2467,2161,2150,2200,2410,2388,2337,2519,2339,2158,1949,2272,2722,2918,3012,2757,2443,2530,2980,3159,2924,2739,2364,2371,2540,2656,3329,3361,2263,1487,1281,1833,1511,1284,1712,2248,2072,1717,2105,2355,2258,1905,2502,2252,2116,2464,2135,2376,2689,3002,3039,2576,2419,2347,2312,2593,2821,2448,1679,1466,1713,1892,1723,2044,2775,2649,2131,2314,2210,2186,2617,2718,2966,2741,2283,2488,2402,1951,1867,2376,2712,2550,2341,2048,2151,2199,2024,1821,1516,1526,2198,2490,2620,2730,2403,2294,1981,1978,1954,1659,1464,1422,1424,1487,1687,1779,1807,1977,2345,2835,3750,4435,3885,2881,2264,2349,2933,2647,2293,2227,2477,2720,2588,2305,2318,2642,2451,2069,1551,1345,1742,2031,2140,2198,2035,2335,2846,2578,2730,2786,2558,2098,2016,2005,2150,2277,2173,2104,1919,1611,1259,1401,1120,1177,1798,1872,2114,2744,3113,2824,2109,2310,2462,1798,1520,1274,1241,1150,1188,1276,1395,1672,1837,1824,2481,3884,3627,2522,3123,3001,2037,1793,1615,1725,1690,1316,1650,2270,3007,2918,2404,2397,2874,3061,3090,3286,3110,3060,2938,2465,2676,2982,2767,2568,2666,2661,2602,2536,2559,2544,2162,1663,1411,1352,1281,1925,2575,2784,2141,1863,2439,2601,2534,2413,2775,2840,2150,1919,1780,2162,2399,1980,2232,2491,2148,2074,2014,1880,2442,2979,2685,2356,2341,2343,1988,1864,2104,1869,1615,1965,2409,1994,2052,2734,3123,2742,2269,2532,2543,2610,2957,3065,3082,3067,2574,2074,2001,2359,2321,2192,1737,1620,1764,1631,1644,2140,2929,2856,1936,1584,1340,1388,1554,1645,1467,1427,1549,1745,1992,2188,2207,2168,2175,1871,1717,1864,1632,1959,2414,2248,1901,1698,2205,3426,4089,4047,3836,3515,3143,2166,1806,2001,1765,1396,1464,1394,1263,1325,1817,2408,3200,3052,2230,2598,2558,2412,2535,2411,2972,3065,2326,2031,1685,2531,2723,2391,2210,1499,1290,1208,1041,1130,1417,2266,3709,3736,3884,3973,3572,3380,2514,1997,1913,1607,1510,1631,1597,1531,1574,1814,2244,2289,2469,3221,2634,2270,1984,1848,1852,1920,1945,1907,1667,1248,1098,1559,1924,2291,1861,1785,1636,1539,1431,1666,1868,1482,1433,1389,1656,1491,1478,3046,4073,4095,3654,3438,2736,2206,1430,1296,1761,2231,2259,1952,1819,1567,1485,1411,1458,1483,1466,1424,1486,1693,1629,1510,1455,1302,1480,1514,1667,1794,1719,1717,1629,1798,2003,1933,1851,1843,1687,1508,1760,1707,1785,1809,1815,1420,1402,1690,1932,1759,1636,1629,1316,1261,1438,1331,1570,1492,1424,1463,1418,1293,1518,1855,1782,1571,1749,2241,2043,1438,1406,1544,1462,1642,1548,1431,1441,1363,1406,1552,1469,1460,1588,1622,1688,1653,1611,1622,1687,1620,1419,1528,1305,878,1160,1458,1547,1714,1871,1682,1991,2190,1809,2051,2101,1510,1197,1384,1384,1327,2130,2248,2215,1848,1755,1741,1543,1624,1769,1886,1942,1962,2188,1820,1526,1497,1773,1538,1421,1443,1988,1863,1591,1682,1610,1484,1501,1508,1470,1407,1455,1370,1373,1317,1356,1634,1494,1399,1490,1493,1505,1747,2098,1454,1262,1324,1644,1606,1301,1416,1843,2009,1780,1401,1666,1998,1713,1527,1659,2009,2157,1652,1468,1539,1602,1651,1989,2236,2338,2213,2223,2472,2490,2464,2029,1798,2058,2234,1984,1878,1970,1934,1807,1784,1999,2238,3002,3505,3250,3311,3333,3232,3393,2841,2163,2164,2650,2468,1739,1779,1976,2071,2208,2671,2724,2018,1692,2039,2225,2479,2576,2739,2969,2339,2188,2563,2880,2328,1719,2030,2093,1879,1861,1678,1526,1482,1449,1456,1416,1410,1208,1836,2327,2502,2343,2154,2337,2043,1595,1605,1911,1980,2401,2602,2221,2479,2544,1773,1592,1662,1563,1459,1588,1729,1626,1991,1736,1353,1418,1470,1618,1447,1405,1206,1260,1481,1455,1843,2304,2453,1934,1493,1710,1872,1749,1582,2179,2515,2677,2827,2328,1848,1565,1344,1460,1676,1866,1885,1970,2171,2505,2382,2423,2626,2920,2928,2686,2331,2492,2995,3144,2500,2351,2467,2178,2331,2377,2405,2624,2743,2548,2481,2566,2330,2709,3191,3896,3160,2525,2544,2555,2921,3321,3183,2366,1852,1922,1825,2024,2965,3540,3119,2946,2250,1526,1751,1823,2114,1953,1757,1953,2043,1867,1765,1881,2057,2625,2915,2710,2595,2668,2732,2923,2511,3116,3592,3759,3544,2619,1785,1492,1515,1734,1905,2242,2275,1738,1729,1902,1782,1755,1938,2072,2153,2082,2013,2162,2209,2045,1987,2091,1864,1706,1875,1882,2167,2502,2408,2564,2136,1680,1559,1514,1662,1863,1751,1743,1759,1649,1664,2127,2315,1891,1438,1493,1598,1622,1515,2041,2451,2283,2176,2015,2199,2573,2558,1933,1815,2043,2111,2888,2924,3008,2711,3021,3000,3375,4001,3725,3137,3069,2900,3020,3537,3329,2318,2042,1923,1722,1681,1926,2257,2579,2727,2968,3346,3471,3508,3558,2268,1811,2317,2610,2342,1647,1512,1969,2337,2699,2632,2100,2315,2520,2200,1972,2210,2202,2242,2096,1997,2529,2890,2545,1799,1481,1747,1989,1880,1732,1973,2095,2029,1840,2599,3095,2509,2609,2626,2432,2335,2634,2965,2336,2421,2843,2591,2213,2105,2295,2763,2728,2263,1948,1320,1271,1600,2577,2338,2064,1854,1556,1667,1795,1848,1838,1945,2248,1891,1932,1625,1924,2433,2416,2654,2476,2626,3099,2688,2751,3010,3169,2933,2721,2816,3458,3540,3480,3279,2746,2198,2141,2416,2181,2049,2097,1792,2004,1711,1612,1556,1713,2150,2303,2119,2197,2282,2219,2171,1963,2621,2279,2202,1993,2351,2071,2115,2175,1675,1604,1898,1993,1930,1834,1796,2023,2327,1669,1507,1823,1801,1886,2005,1842,1531,1497,1959,3043,3744,3373,3264,3157,2874,2698,2646,2293,2164,2096,1861,1979,2122,2041,1721,1668,1735,2034,2259,2595,2339,2089,1879,1868,2137,2811,2762,2425,2533,1969,2404,2657,2956,3055,2695,2248,2464,2610,2693,3182,2990,2395,3021,2814,2578,2966,2665,1801,1845,2210,2402,2238,1547,1407,1742,2214,2028,2105,2436,2258,1975,2608,2985,3393,3737,3252,3029,2949,2699,3225],[2125,2159,2174,2135,2245,2497,2523,2420,2294,2457,2821,3017,3177,3243,3094,3037,3055,3572,3492,2956,3479,3651,3608,3635,3483,3465,3586,3543,3476,3508,3407,2788,2733,2434,2219,2214,2349,2759,3038,2520,2355,2334,2510,2889,2894,3305,3306,3242,3098,3022,2965,3009,2701,2124,2084,2137,1782,1865,2310,2943,2423,2577,2231,2431,3077,3295,3615,3928,3738,3072,2359,2456,1900,2023,2332,2720,2498,2092,2132,2632,3208,3422,3357,3596,3953,3751,3709,3333,3500,3459,3705,3407,2756,2579,2846,2538,2502,2701,2598,2455,2408,2680,2348,1594,1786,2071,2438,2522,2806,3248,2911,2229,1976,1907,1958,2562,3089,3194,3077,3008,3034,3060,2718,2806,2489,1739,1772,1976,1978,1722,1694,1745,1696,1434,1874,2429,2906,3344,2872,1978,1925,1981,2004,2084,2198,1850,1806,2109,2291,2632,3406,3168,2248,2080,2150,1788,1389,1914,2600,2607,3480,3220,2739,2764,2831,2265,1688,1640,1881,1987,2105,2372,2490,1964,1660,2116,2280,2206,2426,2429,1987,2298,2315,1928,2811,3215,2636,1747,1335,1648,2370,2842,3306,3505,3265,3178,3275,3196,3332,3390,3106,2450,2331,2531,2382,2676,2771,2884,3366,3322,2907,2821,2656,2378,2138,2769,3125,2796,2614,2215,1974,2181,2080,1827,1945,2082,1984,1859,1873,1920,1897,2250,2622,2057,2040,2192,2397,2556,2533,2641,3033,3307,3083,3103,3067,2731,2613,2676,3166,3467,2784,2007,2008,2329,2285,2323,2328,2415,1757,1977,1684,2047,2714,3372,3053,2179,2195,2686,3217,3694,3824,3875,3576,2655,1726,2071,2371,2323,2111,1963,1824,1737,2122,2784,2366,2097,3044,3837,3692,3696,3640,3283,3509,3748,3259,3055,3086,2350,2310,2169,2120,2380,2164,2003,2077,1891,1655,1763,1984,1668,1554,1586,1633,2082,2134,1901,1673,1562,1475,1805,2092,1864,1510,1575,1906,1776,1910,2074,1552,1534,1639,1509,1520,1943,1932,2093,2209,2392,2251,1601,2170,2823,2160,1590,1481,1671,1952,2541,2448,1745,1675,1968,1937,1843,1926,2016,2227,3318,3973,4452,3482,2429,2785,3230,2686,2597,2987,2081,1984,2047,1678,1449,2040,2562,2116,1859,2132,2248,2230,2420,2166,1860,1854,2178,2305,1976,2318,2426,2335,2397,2380,2115,1953,2492,2344,2420,2658,2917,2544,2386,2030,1863,2304,2272,1759,1747,1942,2343,2458,2422,3222,3017,1923,1724,1642,1732,1871,1786,1870,1859,1688,2093,2266,1745,1825,2505,2535,2388,2707,2955,2698,2462,2443,2463,1981,2132,2242,1770,2003,1796,2123,2204,2229,2061,2304,2846,3221,3277,3491,3573,3317,3953,3894,3797,3496,3343,3178,2547,2049,1948,1755,1633,1700,1400,1586,2082,2545,2619,2657,2620,2359,2365,2446,2294,2068,2020,1985,2479,3628,3857,2952,2370,2499,2196,2383,2615,2254,2036,1948,1976,2071,2197,2197,1960,1984,1988,1803,1948,1951,2117,2094,2138,2280,2179,1964,1919,1804,1726,1864,2320,2387,2427,2291,2432,1856,1757,2434,2253,2370,2099,1619,2229,2187,1938,2038,2250,2275,2106,1851,1789,1836,1887,2135,2198,2023,2052,2054,2064,2019,2155,2210,2076,1901,1958,1810,2020,2332,2352,2386,2311,2222,2491,2722,2719,2276,2013,2020,1804,2200,2567,2569,2389,2216,2299,1998,1749,2039,1940,1709,1860,2302,2253,1976,1785,1903,1832,1705,1598,1429,1814,2210,2072,2263,2184,1636,1520,1820,2156,2092,1864,1884,1931,2039,2036,1762,2087,1941,1853,1900,1899,1799,1603,1600,1876,1947,1551,1608,1647,1764,3264,3936,2700,2447,2844,2971,2719,2176,1695,2230,3152,3594,2944,1851,2186,1720,1871,1739,1317,1549,1602,1716,1559,1922,2041,1888,1888,2686,2667,2250,1936,1886,1981,2004,2096,1672,1662,1987,2579,2853,2350,2176,1852,1706,2085,2344,2075,1991,2224,2810,2600,1923,2403,2220,1646,1949,2061,2305,2127,1782,2126,2530,2310,2278,2402,2467,2864,3086,2539,3073,2809,2123,1414,1532,1770,1594,1648,1676,1616,1807,2171,2647,2332,2046,2271,2458,1888,2154,2678,2640,2827,3580,3970,3238,2596,2644,2386,1751,1654,2307,2231,1758,1496,1696,1736,1703,2820,3125,2807,2223,2289,2043,2548,2822,2566,2832,2607,2183,2271,2204,2166,2086,2679,2732,1854,1933,1977,1960,2172,2442,2536,2447,2294,2304,2324,2584,3010,2823,2598,1823,1807,2080,1360,1230,1502,1436,1451,1550,1938,1981,2863,2808,1717,2061,3096,2575,1952,1838,2244,2918,2989,2854,2714,2897,2927,2384,1975,2245,2272,2364,2427,2220,1975,2287,2316,2036,1805,1952,2564,3083,2459,2641,2765,2481,2155,1926,1856,2202,2337,2270,2277,2062,1675,1801,1967,1577,1693,2301,1933,1923,2384,3008,3166,2851,2498,1992,1595,1253,1138,1319,1585,1644,1580,1770,2019,2042,2168,2909,4248,4069,3905,4241,3440,2938,2677,2289,1870,2003,1613,1337,2373,3323,2894,2354,2178,2762,3252,3394,2811,3648,3924,3254,3209,3522,3144,2353,2325,2436,2678,2510,2522,2553,2688,2494,2239,2223,2090,2001,2034,2368,2687,1967,2108,3178,2322,2375,2774,2974,2425,2017,1978,2362,2900,2467,2263,2795,2389,1807,1733,1664,2031,2562,2793,2380,2441,1938,1663,1583,1477,1686,1458,1507,2133,2756,2629,2527,2775,2962,2459,1957,2226,2540,2791,2890,2708,2416,2967,3004,2599,2315,1879,1950,2352,2524,2316,1913,1507,1435,2411,2851,1994,1772,1647,1419,1453,1776,1720,1403,1674,1850,1791,2005,1907,1722,1761,2080,1835,1698,1780,1572,2415,3076,2947,2552,2302,2639,3627,3861,3978,4082,4131,3657,2131,1721,1877,1632,1644,1656,1483,1424,1453,1926,2423,3439,2381,1823,2423,2632,2503,2470,2499,3050,2921,2007,2152,1890,2784,2486,2546,2096,1646,1509,1368,1248,1550,1670,2298,3108,3396,4028,4095,3572,3146,2217,1943,1768,1365,1361,1460,1499,1455,1550,2336,2370,2253,2375,3385,2774,2348,1960,1682,1626,1547,1815,1875,1791,1841,1932,2202,2078,1833,1981,1925,1868,1787,1576,2073,2066,1555,1372,1558,2073,1589,1908,3408,3964,3749,3309,3049,2282,1870,1769,1437,1618,1770,1641,2003,1754,1669,1604,1350,1485,1589,1599,1495,1532,1632,1460,1444,1300,1211,1776,1470,1664,1845,1526,1409,1415,1675,1996,2086,2380,2251,1930,1902,1853,1920,1964,1979,1908,1716,1609,1738,1888,1871,1884,1757,1446,1276,1419,1330,1436,1439,1405,1477,1444,1330,1397,1576,1704,1864,1909,2338,1949,1434,1328,1359,1320,1562,1553,1431,1489,1475,1440,1386,1395,1527,1563,1439,1512,1513,1524,1552,1710,1742,1612,1738,1692,1493,1574,1671,1744,1625,1651,1572,1555,1650,1893,2146,2105,1722,1453,1683,1832,2219,3128,3109,2117,1575,1635,1619,1461,1367,1378,1535,1729,1780,1880,1523,1560,1795,1838,1980,1719,1460,1905,1837,1479,1509,1627,1588,1490,1409,1404,1780,1714,1384,1352,1301,1512,1769,1505,1447,1556,1364,1392,1446,1396,1423,1377,1480,1710,1549,1371,1541,2015,2466,2139,1522,2105,2257,1792,1641,2060,2170,2032,1873,1811,1860,1837,2002,2067,2172,2147,2016,2072,2103,2757,2465,1880,1830,1816,1909,1930,2101,2574,2751,2468,2221,2226,1946,2334,3474,3596,3566,3500,2956,2645,2654,3121,3653,3683,2817,1965,1750,2197,2611,2286,2307,2591,2237,1813,1953,2091,2142,2026,2269,2881,2530,2028,2188,2908,2789,1910,1635,1857,2216,2521,1756,1406,1414,1410,1471,1629,1538,1331,1761,2226,2371,2264,2306,2554,2078,1644,1595,1732,1356,1606,1961,2286,2856,2524,1869,1831,2060,1737,1522,1538,1585,1812,2156,1659,1475,1576,1631,1582,1361,1385,1408,1569,1624,1521,1634,2125,2695,1962,1912,2048,1981,2070,2255,2401,2250,2379,3031,2770,2199,1694,1399,1511,1814,1907,1899,2142,2400,2591,2594,2802,2736,3053,2808,2475,2247,2496,3046,3031,2442,2742,2811,2482,2485,2680,2862,2757,2735,2855,2981,2811,2614,2083,2610,3338,2711,2192,2296,2644,2953,2999,2204,1873,1833,1911,2024,2656,3620,3551,3077,2566,1852,1438,1584,1814,2179,2006,1794,1882,1882,1686,1579,1567,1659,1758,2048,2502,2212,2262,2332,2443,2655,3322,3897,4006,3406,2337,1835,1535,1721,1642,1284,1570,1678,1698,1734,1742,1698,1677,1800,1727,1707,1758,1731,1925,2131,2166,1866,2039,1812,1583,1288,1053,2028,3098,2775,2728,2250,2088,2024,1910,2136,2148,1928,2085,2243,2062,1792,1873,2454,2359,1840,1772,1570,1440,1437,1503,1883,1791,1741,2056,2148,2394,2414,2051,1862,1941,1943,2440,2574,2448,2563,3062,2944,3124,3887,3733,2625,2164,2307,2949,3072,2603,1975,1875,1884,1783,1791,2003,2266,2556,2846,3076,3186,3201,3467,3550,2151,1639,2032,2375,2280,1621,1275,1562,2317,2584,2525,2270,2229,2721,2285,2208,2827,3115,2598,1737,1897,2854,2696,2346,1703,1624,1865,2236,1918,1958,2344,2110,2218,2298,2184,2262,2288,2622,2924,2978,2976,2792,2491,2371,2663,3382,3451,2954,2519,1993,2482,2758,2512,1642,891,1224,2471,3012,2476,2116,1925,1762,2033,2204,1924,1775,2216,2230,1889,1840,1750,2397,2699,2138,1811,1754,2442,3088,2483,2457,2840,2874,2214,2395,3312,3803,3748,3557,3469,3407,3161,3030,2865,2231,2056,2261,1889,1968,1794,1636,1649,1821,1950,1930,1936,1882,2031,2197,2355,2035,2359,1918,1751,1795,2063,2208,2410,2009,1655,1679,1495,1560,2057,1818,1583,1377,1878,1945,2303,3028,2832,2155,1827,1620,1855,2073,2373,3042,3617,3376,3177,3106,2808,2576,2282,2076,2078,1957,1761,2237,2411,2092,2085,2062,1970,2166,2531,2589,2383,2327,1954,1804,2042,2632,2340,2323,2719,2364,2218,2439,2605,2300,1670,1765,2473,2975,2711,2302,2082,2010,2322,2441,2765,3311,2480,1846,2181,1983,2001,2280,1814,1538,1548,1924,2283,2397,2348,1998,1487,2678,3663,3488,3604,3694,3574,3009,2557,3111],[3408,2711,2198,2092,2078,2186,2143,2181,2523,3141,3252,3221,3619,3726,3258,3137,3029,3460,3716,3638,3718,3729,3674,3629,3563,3485,3544,3584,3459,3270,3382,2967,3024,2808,2437,2120,1992,2564,3172,2538,2151,2202,2796,3294,3406,3283,2502,2109,2735,3176,3243,3689,3278,2341,2134,2974,3194,2911,2746,2990,2565,3061,2973,2877,3356,3902,3843,3797,3470,3050,2495,2541,2134,2601,2972,2928,2530,2141,2150,2662,3420,3997,3972,4041,4094,3583,3760,3388,3420,3333,3516,3653,3530,3445,3086,2705,2303,2117,2468,2455,2414,3073,2440,1360,1471,1786,2076,2393,2821,2842,2365,2284,2270,2275,1938,2221,2602,2938,3227,3188,3187,3183,2746,2750,2792,2169,1741,1732,2071,2066,1830,2522,2337,1616,1783,2039,2270,3044,3296,2564,2191,2293,2188,2110,2146,1909,1444,1758,2217,2268,2565,2395,1736,1840,2055,1826,1329,1482,2396,3129,3405,2872,2614,2662,2307,2011,1852,2062,2366,2351,2335,2250,1997,1804,1571,2093,2778,2679,2774,2927,2548,2606,2156,1778,2355,2116,1982,1581,1088,1346,1826,2299,3117,3509,3265,3123,3090,3076,2956,3106,3220,2707,2503,2359,2343,2550,2874,3332,3217,2917,2915,2999,2964,2674,2251,2399,2253,2245,2055,1721,1635,1751,2008,2040,2136,2175,1846,1873,1940,1725,1826,2302,2190,2002,2214,2354,2650,2700,2702,2637,2898,3018,2899,2863,2641,2410,2557,2357,2508,2943,2682,2351,2047,2346,2518,2854,1727,1719,2207,2522,2307,2120,2567,3462,3334,2854,3549,3695,3559,3780,3859,4225,3509,2602,2453,2019,2106,2874,2402,1836,1873,1948,2461,2733,2087,2060,2309,3007,3480,3706,3831,3838,3962,3798,2754,2288,2955,2663,2132,2205,2548,2464,1953,1971,2047,2011,1783,1583,1843,1634,1484,1444,1600,2013,2376,2060,1683,1633,1541,1572,1765,1879,1553,1653,1683,1569,1830,1701,1336,1575,1924,1619,1520,1659,1681,1823,1872,1972,1949,1926,2546,3034,2588,2034,1923,1874,2058,2626,2588,2098,2009,2194,2018,2039,2270,2295,2315,2855,3731,4383,4127,3398,3483,3781,3396,2894,3202,2512,2079,1891,1155,1482,2120,2073,2150,2236,2131,2166,2156,2445,2256,2157,2191,1929,1813,1884,2014,2188,2156,2122,2580,2599,2373,2458,2458,2551,2446,2520,2069,2047,2348,2137,2071,2435,2457,2325,2453,2685,2685,2790,3211,2624,1924,1853,1663,1594,1652,1688,1793,1730,1759,1496,1473,1620,2179,2679,2751,2753,3076,2822,2077,1648,1607,2353,2287,2293,2041,1664,1703,1470,1612,1905,2343,2355,1910,2014,2430,3242,3728,3063,2409,3526,3884,3842,3525,3243,3313,2809,1850,1674,1804,1647,1826,1717,2330,2425,2250,2398,2778,2602,2379,2287,2143,2103,1838,1945,2247,2439,3176,2779,1919,2280,2555,2542,2485,2338,2184,1825,1731,1900,2225,2529,2642,2036,2627,2436,2302,2225,2173,2381,2429,2381,2358,2165,1852,2007,2192,2634,2391,2697,2508,2037,2230,2803,2654,2287,2409,2607,2285,1746,1903,2398,1988,2049,2333,2495,2427,2012,1842,2048,2071,1958,1969,2190,2588,2685,2487,2127,2081,2144,2163,2155,2122,1986,1826,1931,2174,2592,2543,2474,2438,2382,2322,2093,1977,1845,1746,1984,2121,1865,1590,1707,2099,2017,1919,2083,2237,2341,1962,1972,2254,1850,1343,1677,1946,1861,1577,1540,1840,2345,2201,1964,1808,1563,1471,1717,2366,2648,2040,1825,1795,1939,1686,1688,1643,1729,1677,1669,1723,1755,1648,1559,1632,1777,2071,1611,1492,1717,1921,3042,3207,2563,2563,2786,2630,1971,1996,2226,3235,3230,2823,2187,1629,1973,2033,2408,2048,1932,2442,2281,1916,2053,2550,2078,1941,1891,2297,2601,2562,2205,1965,1869,2031,2127,1710,2320,2831,3270,3665,3746,2844,2313,2348,1979,1671,1555,2029,2692,2923,2483,2577,2758,2282,1670,1786,2120,1943,1603,1856,2238,2125,1918,1951,2266,2219,2470,2596,2563,2461,2208,2253,2277,2101,1869,1930,2247,2101,2178,2352,2618,2678,2555,2292,2303,1991,1877,2433,2830,2958,2857,3064,3066,3183,2982,2843,3207,2626,1744,1371,1656,1916,1820,1889,1743,2240,3126,2841,3191,2955,2614,2142,2646,2719,2465,2721,3029,2930,2840,2427,2169,1777,2127,2588,2122,1764,1833,1841,2134,2722,3158,3316,2920,2608,2617,3069,3197,3398,2840,2201,1969,1967,1533,1704,2088,1907,1657,1673,2260,2290,3499,3419,1943,1728,2148,1936,1871,1822,2282,3129,3097,2966,2906,2972,2849,2612,2662,2244,1750,1810,2089,2373,2580,2522,2368,2153,2003,2263,2510,2316,2183,2692,2877,2545,2366,1754,1176,1539,1855,2082,2111,2298,2041,2182,1946,1968,1954,1675,1671,2026,2584,3184,3188,3132,2345,1897,2001,1454,1386,1309,1572,1852,1908,2460,2762,2374,2809,2758,3300,3818,4261,4012,2909,2397,2685,2511,2262,2567,2234,2207,2940,3167,2611,2462,2612,3221,3353,2696,1822,2824,3597,3156,3038,3529,2678,1762,2278,2024,2071,1991,2222,2367,2326,2275,2318,2403,2086,1940,2230,2255,2526,2505,3300,3428,2196,2164,2349,2285,2005,1951,1954,2315,2909,2074,2148,2916,2878,1728,1298,1882,2751,3248,2878,2200,2025,1627,1795,1833,1981,1940,1425,1642,1987,2610,2744,2144,2132,2434,2124,1957,1876,2031,2323,2523,2532,2215,2511,2733,2974,2626,1909,1816,1946,2178,2556,2263,2021,2148,2706,2033,1677,1718,1448,1544,1645,1958,1735,1596,2051,2070,1847,1860,1874,1737,1459,1638,1738,1828,1744,1814,2538,2658,2387,2455,2931,3139,4095,4104,3955,3889,3873,3095,1863,1945,1968,1568,1601,1668,1402,1292,1457,1970,2556,3209,2206,1814,1931,1993,2119,2413,2782,2922,2535,2015,2357,2419,2576,2340,2413,2187,1897,1475,1185,1275,1626,1843,2078,2146,2416,2751,3198,3507,2856,2127,2063,1761,1482,1588,1425,1425,1558,2115,2320,2121,2029,2485,3173,2868,2690,2122,1615,1593,1470,1820,1809,1814,2500,2668,2531,2482,2699,2496,2076,2172,2328,2252,1954,1622,1711,1664,1599,1472,1307,2667,4017,4152,3684,3229,2827,1875,1496,1829,1390,1454,1152,1542,1819,2029,2364,2011,1460,1504,1542,1553,1686,1568,1420,1252,1436,1262,1166,1724,1655,1772,1810,1437,1364,1686,1753,2019,2637,2934,2326,2307,2125,2228,2399,2434,2308,2237,2191,1642,1628,1612,1832,1498,1348,1394,1291,1347,1398,1429,1498,1487,1390,1457,1578,1672,1611,1666,1820,1771,1947,1757,1522,1419,1379,1383,1438,1460,1432,1581,1626,1394,1277,1836,1679,1563,1633,1560,1509,1505,1599,1887,1745,1594,1553,1589,1698,1718,1735,1719,1779,1858,1788,1686,1767,1869,1908,1997,1749,1692,1687,1693,1747,1961,1921,1713,1708,1835,1894,1617,1371,1427,1506,1757,1804,1503,1355,1491,1746,2015,2124,1713,1686,2024,1644,1472,1623,1782,1664,1541,1503,1663,2613,2633,1931,1562,1569,1507,1441,1333,1357,1490,1375,1402,1468,1521,1396,1356,1652,1734,1490,1410,1554,2231,2766,2450,1990,2299,2181,1870,1990,2251,2112,2216,1981,1603,2026,2519,2248,1691,1654,1840,2141,2235,2813,3597,2886,2085,1780,1615,1953,2111,2588,3154,3272,2670,2259,1946,1644,2164,2927,2685,2722,2945,2447,2335,2359,2732,3278,3776,2997,2339,1967,2291,2269,1947,2260,2403,2122,1803,2031,1924,1637,1705,2041,2474,2317,1772,1696,2351,2779,2281,1591,1756,2358,2534,1611,1457,1372,1378,1610,1784,1743,1708,1831,1897,1899,2002,2042,2268,2680,2085,1549,1160,1261,1647,1765,1767,2000,2148,1921,1835,1976,1701,1612,1582,1483,1738,1819,1567,1475,1679,1980,1541,1323,1345,1381,1422,1674,1659,1564,1789,2309,2065,2003,2091,1919,1948,2084,1938,1779,1681,2329,2387,1766,1471,1460,1508,1676,1750,1937,2081,2207,2541,2765,3088,3244,2642,2707,2476,2206,2357,2801,2997,3104,3212,2675,2453,2552,3329,3632,2999,2773,2604,2498,3034,2877,2024,2284,2784,2601,2427,2081,2017,2445,2465,1911,1902,1891,1903,2001,2377,3120,3340,3540,2742,1887,1542,1434,1726,1721,1758,1875,1804,1561,1458,1461,1660,1694,1543,1584,1507,1504,1736,1692,1866,2064,2297,2962,3582,2916,1828,1558,1457,1673,1450,1134,1339,1497,1746,1765,1855,1918,1738,1956,1793,2008,1691,1542,1431,1711,1868,1851,1877,1597,1552,1516,1379,2117,2783,2113,2153,2272,2118,1877,1709,1946,2270,2466,2342,2040,2033,1804,1641,1889,2081,1978,1934,1659,1371,1497,1806,2030,1670,1630,1853,1989,2122,2209,2183,1741,1486,1462,1644,1876,1901,2045,2376,2290,2564,3743,3558,2280,2281,2990,3461,2945,2524,2303,2343,2254,1912,2138,1981,1987,2568,2734,3008,3276,3267,3467,3631,2551,1960,2197,2216,2207,1763,1672,1986,2407,2170,2255,2260,2554,2754,2241,2295,3364,3618,2448,1592,1626,2798,2701,2536,2453,2815,2654,2520,2472,2613,2753,2872,2768,2518,2540,2767,2989,3133,3240,3432,3348,3061,3006,2902,3045,3674,3853,3141,3293,2614,2576,2233,2429,1842,1214,1303,1964,2153,2184,2353,2069,1845,1817,2041,2086,2036,1796,1742,1794,1697,1881,2344,2393,2131,2216,2283,2702,2564,2476,2408,2341,2304,2341,3011,3754,3980,3955,3906,3580,3363,3530,3582,3361,2498,2064,2277,1856,1752,1744,1693,1792,1842,1651,1522,1730,1843,1974,2106,2045,1851,1874,1816,2016,2216,2423,2526,1827,1617,1775,1567,1326,1500,2056,2141,1745,1535,1813,2010,2390,2785,2835,2353,1895,1750,2133,2476,2568,2723,3376,3914,3904,3099,2644,2951,2511,2004,1859,2045,2472,2697,2498,2332,2412,2577,2471,2116,2392,2287,1970,1903,1722,1972,2032,1958,2339,2336,2922,2891,2500,2493,2009,1294,1377,1914,2122,2392,2664,2290,1779,1808,2078,2204,2446,2975,2744,2100,2105,2001,2237,1790,1634,1581,1789,1880,2068,2029,2184,2267,1989,2575,3809,3850,3739,3903,3765,3059,2622,3159],[3041,2480,2136,2191,2189,2169,2154,2092,2194,2533,2778,3077,3768,4147,3939,3427,3116,3406,3738,3783,3715,3696,3637,3638,3602,3336,3247,3387,3480,3479,3480,3029,2986,2973,2462,2200,2122,2379,3251,3092,2980,3006,3140,2695,2656,2996,2578,2143,3076,3562,2822,2652,2536,1998,2036,3161,3859,3572,3411,3261,2729,2938,3537,3516,3337,3579,3142,3130,3071,2865,2872,2577,2800,3384,3506,3472,3550,3503,2866,3010,3183,3632,3737,4164,4116,3703,3574,3194,3338,3738,3842,3705,3421,3173,3146,3000,2750,2750,2654,2630,2453,2250,1887,1495,1637,2004,2034,2579,3125,2691,2237,2718,2514,2426,2107,2138,2566,3069,3327,3293,3366,3061,2626,2555,2729,2843,2063,1618,1763,2204,2190,2912,3154,1926,1637,1936,1662,2171,2489,1875,2103,2834,2695,2632,2420,1891,1520,1517,1924,1903,1646,1648,1185,1643,1852,1784,1560,1799,2477,3252,3420,2957,2631,2361,1856,1801,1781,2352,2496,2328,2166,1870,1876,1934,1858,2266,2624,2453,2190,2525,2632,2332,1766,1741,2120,2527,2710,2643,2658,2692,2625,2873,3265,3112,2663,2620,2873,2947,2730,3207,3275,2668,2499,2631,2642,2379,2442,2798,2863,2618,2915,3072,3284,2517,1820,1468,1562,1845,1736,1518,1439,1676,2062,2269,2337,2406,2063,1904,1886,2288,2392,2052,2156,2226,2204,2279,2510,2574,2701,2531,2336,2545,2651,2580,2206,2273,2678,2445,2365,2692,2907,2868,2446,2513,2677,2589,1792,1977,2802,3342,2964,2165,2412,3223,3238,3344,3815,3342,3309,3636,3382,3406,3011,2923,3364,2719,2858,3472,2535,1909,2122,2030,2496,2558,2210,1887,1999,3195,3826,3614,3708,3979,3735,3418,2552,2036,2594,2499,1945,2429,3269,2953,2403,2501,2366,2071,1167,1114,1578,1566,1368,1276,1510,1590,1677,1609,1608,1736,1704,1511,1418,1743,1820,1876,1635,1653,1600,1619,1737,2178,2112,1625,1437,1566,1858,2173,2262,2445,2436,2601,3130,3553,3386,3078,2831,2063,1968,2828,2995,2525,2322,2282,2501,2614,2608,2895,2823,3128,3882,4271,4177,3738,3906,3643,2502,2147,2688,2986,2558,1617,1151,1903,2436,2272,2078,2088,1980,2047,1998,1973,2080,2293,2344,1731,1490,1738,1754,1947,1998,2007,2590,2430,2612,2407,2262,2155,2169,1929,1548,1669,2062,2322,2365,2532,2807,2709,2629,2977,3428,3553,3160,2315,1820,1652,1456,1370,1528,1617,1856,1816,2272,1613,1496,1678,1819,2192,2400,2663,3074,2691,1998,1842,1886,2533,2258,2159,1947,1732,1715,1643,1826,2279,2669,2756,1846,1948,1938,2788,3189,2143,1848,2710,3282,3815,3638,2911,2844,2571,1711,1549,1521,1569,2014,2013,2226,2357,2166,2479,2884,2504,1923,1680,1699,1785,1565,1862,2174,2209,2093,1953,2075,2432,2699,2501,2133,1930,1911,1701,1671,2159,2708,2756,2745,2259,2730,2532,2245,2217,2082,2117,2110,1904,1879,1824,1699,2265,2985,3078,2357,2506,2750,2469,2258,2581,2586,2336,2866,3262,2188,2151,2423,2031,1916,2244,2470,2662,2427,2099,1973,2109,2045,2036,2050,2344,3226,3363,3146,2779,2364,2186,2092,2201,2327,2335,2352,2510,2213,2222,2291,2253,2689,2752,2321,2067,1856,1687,1932,2220,2016,1657,1490,1740,2008,1743,1641,2112,2596,2535,2048,1823,1808,1518,1389,1713,1913,2056,1884,1749,2321,2216,1692,1796,1848,1719,2095,2137,2156,1997,2220,2318,1947,2093,1802,1539,1542,1630,1703,1842,2168,1822,1548,2063,2026,2304,2910,2104,1610,1881,2296,3075,3110,2824,2800,2696,2193,1761,2562,3116,3582,3247,2447,1872,1694,1873,2115,2194,2111,2851,3185,3062,2226,2253,2179,2078,2065,2229,3040,3606,3166,2126,1427,1346,1560,1933,2123,2690,3193,3465,3365,3207,2424,2577,2701,2207,2743,2448,2661,3204,2635,1873,1917,2005,1624,1554,1526,1427,1778,2750,3242,2612,2360,2069,2414,2847,2174,1656,1710,1811,1708,1722,1642,1489,1703,1932,2127,2279,2192,2220,2326,2339,2316,2414,2532,2294,1884,1847,1859,1954,2336,2828,2482,2110,2664,2662,2439,2562,2633,2179,1598,1344,1541,2110,1767,1868,2214,2047,2194,3134,3542,2845,2396,2584,2578,2524,2785,3457,3010,2962,2333,2147,2062,1918,1916,1701,1570,1715,1935,2013,2260,2459,2775,2436,2446,2646,3240,3801,4536,4126,3006,2369,2392,2614,2567,2625,2775,2011,1655,2060,2248,3110,4144,3570,2808,2518,2176,1910,1737,1696,2261,3151,2920,2179,2139,2207,2592,2944,2260,1693,1814,1590,2104,2768,2836,2637,2098,2374,2150,1965,2075,2364,2909,3074,3046,2522,1103,744,995,1164,1573,1844,2177,2142,2362,2441,2123,1861,1859,2055,2365,2586,2566,2898,2917,1875,1964,2124,1266,1156,1478,1690,1754,1823,2272,2231,2000,2227,1926,1931,2954,3355,3154,2075,1297,1512,1470,2235,3640,3354,3272,3130,2624,2639,2814,2452,2995,3827,3672,2910,2890,3448,2990,2820,3376,2855,2250,2424,2156,2251,2398,1967,1957,2477,2525,2473,2432,2214,1912,1990,2280,2998,2990,2834,2344,2288,2302,2230,2612,2248,1943,1552,1706,2529,1923,2287,2721,2640,1875,1677,2266,2563,3156,2929,2446,2305,1882,1847,1986,2120,2130,1943,2170,1868,2024,2576,2294,2055,2532,2687,2563,1967,2132,2380,2334,2567,2620,2302,2217,2474,2170,1613,1651,1786,2078,2011,2062,2357,2618,2119,1488,1563,1392,1733,2010,2143,2208,1327,1390,1895,2026,1668,1385,1474,1917,1670,1572,1572,1719,1704,1820,2454,2675,2590,2593,2576,2753,3625,3861,3897,4112,4140,2827,1676,1960,1867,1346,1333,1550,1305,1293,1573,1956,2963,3130,2001,2139,2252,1848,2388,2556,2293,2765,2120,2316,2255,2150,2148,2026,1738,1861,1950,1443,1145,1319,1732,1743,1854,1859,2063,2277,2658,3141,2416,1882,1990,1737,1460,1638,1498,1664,1592,1848,2086,1960,1705,2440,2977,2680,2840,2267,1550,1504,1393,1762,2150,2574,2524,2320,2333,2026,1738,1587,1629,1831,1818,1767,1605,1438,1511,1439,1524,1244,1511,3201,4288,4104,3636,3329,2642,1467,1738,2185,1728,1788,1555,1874,1908,2136,3027,2688,1585,1592,1561,1606,1993,1600,1483,1527,1619,1372,1149,1186,1427,1642,1736,1531,1685,1906,1608,2262,2486,2430,2210,2372,1940,1626,1892,2380,2725,2358,1931,1842,2041,1632,1738,1451,1293,1288,1340,1466,1494,1438,1573,1705,1401,1394,1595,1777,1540,1498,1510,1510,1696,1815,1768,1695,1469,1505,1929,1889,1719,1698,1506,1620,1873,2654,2340,1634,1682,1671,1655,1719,1653,1931,1839,1720,1494,1648,1952,1837,1671,1644,1643,1830,1990,2034,2126,1831,1797,1670,1693,1765,2186,2667,2490,2069,1869,1782,1697,1663,1696,1626,1615,1508,1673,1661,1463,1604,1809,1742,1749,1853,1708,1652,1684,1766,1332,1664,2430,2135,1479,1770,1900,2250,2946,2813,2451,1892,1891,1906,1679,1358,1361,1450,1410,1356,1313,1311,1297,1481,1792,1599,1424,1351,1193,1142,1672,2024,1866,1745,1871,1935,2107,2250,2240,2342,1979,1844,2195,2392,2120,1658,1554,1556,2065,2958,3765,3902,3608,2686,1927,2032,2710,2487,2583,3067,3318,2962,2132,1587,1838,2805,2958,2104,2171,2464,2368,2384,2244,2426,3276,3560,2811,2107,1781,1788,1557,1838,2294,1678,1560,1616,1748,1677,1488,1593,1951,2154,1801,1604,1689,1886,2340,2337,1693,1906,1825,2236,2094,2004,1598,1603,1872,1927,1853,1629,1653,1876,1921,1886,1803,2194,2612,1926,1628,1454,1447,1792,2022,1820,1700,1760,2057,1950,1656,1620,1677,1502,1725,2031,2100,1994,1584,1670,1920,1542,1409,1460,1427,1252,1453,1439,1415,1416,1911,2296,2237,2377,1837,1874,1736,1565,1660,1584,2313,2301,1543,1445,1609,1527,1495,1850,2488,2552,2748,3055,3207,3316,3229,2846,2556,2268,2420,2588,2659,2300,2315,2733,2325,2332,2855,3050,3219,3216,2766,2259,2271,2667,2570,2282,2235,2718,2326,2572,2057,1862,2380,2718,2375,2133,2166,2194,1855,1623,1627,2525,3151,2919,2172,1668,1553,1837,1930,1776,1670,1498,1439,1477,1421,1538,1507,1406,1430,1507,1413,1466,1596,1732,1763,1852,1859,2005,1730,1573,1477,1472,1666,1755,1646,1615,1564,1560,1874,2200,1753,1831,2418,3218,3020,1819,1528,1543,2101,2156,1880,1876,1476,1500,2012,2624,2702,2338,2378,2196,2113,1920,1744,1599,1534,1804,2024,2254,2083,2109,2231,1803,1758,1802,1996,2050,1715,1650,1728,1714,1673,1578,1738,1543,1699,1904,2031,1964,1647,1519,1719,1808,1623,1621,1698,1784,2099,2430,3266,3497,3227,3309,3562,3574,3172,2912,2798,2775,2475,2078,2286,1942,2258,2541,2503,2832,2702,2557,3063,3133,2270,1958,2342,2448,2697,2088,1981,2126,2307,2177,2436,2730,2522,2509,2260,2099,2907,3034,2490,1688,1026,1880,2233,1910,2335,2871,2779,2854,3220,3400,3373,3510,3084,2876,3071,3316,3077,2944,3004,3227,3293,3248,3282,3272,3259,2973,3051,2546,3145,2809,2662,2026,1897,2293,2119,1945,1968,1787,2001,2142,1891,1830,1598,1900,2182,2163,1897,1898,1757,1698,2156,2254,2225,2281,2916,2938,3031,2238,1940,2075,1714,1632,1769,2076,2753,3120,3396,3426,2442,2874,3579,3679,3428,2362,1841,1826,1823,1909,1730,1820,2073,2103,1785,1778,1660,1613,1349,1561,1842,2000,2142,2354,2718,2437,2092,1986,1656,1844,1955,1606,1469,1842,2055,2232,2029,1716,1787,2042,2266,2402,2774,2744,2584,2540,2890,3029,2813,2757,3299,3811,4011,3592,3266,3898,3378,2414,1990,2024,2558,2762,2414,2132,1985,2235,2257,2184,2308,1922,1823,1862,1686,1798,1919,2014,2393,2215,2568,2623,2322,2363,1936,1177,1405,1708,1821,2101,2352,2020,1939,2002,2051,1842,1785,1931,1675,1904,2370,2082,2250,1674,1582,1827,1971,1869,1946,2064,2060,2224,1927,2266,3741,3952,3789,3795,3646,3476,3247,3330],[1870,1889,2021,1916,1579,1408,1547,1685,2001,2207,2403,3121,3730,3830,3796,3541,3331,3441,3668,3785,3726,3690,3636,3580,3473,3058,2519,2596,3253,3726,3602,2922,2657,3012,2528,2265,2060,2461,3241,3273,3452,3398,3377,2660,2342,3006,2985,2774,3364,3790,2863,2387,2393,2655,2752,3228,3411,3148,3162,3073,3063,3320,3745,3913,3171,2776,2958,2713,2795,2839,2937,2862,3299,3417,3076,3102,3559,3617,2521,2251,2205,2443,2553,2967,3221,3474,3165,2733,3238,3506,3637,3986,3854,3416,3297,3275,3322,3397,2847,2510,2265,1798,1645,1539,1707,2057,2302,2986,2923,2403,2309,2908,2831,2344,1855,1730,2128,2843,3105,3264,3452,2944,2424,2348,2570,2532,2322,2013,1764,2241,2477,2890,3444,2579,1871,2131,2296,2896,3204,2482,2309,2972,2644,2326,2302,1952,1827,1664,1668,1757,1793,2173,1721,1404,1909,2601,2648,2646,2959,3439,3271,3124,2962,2350,1999,1794,1952,2127,2161,2160,2020,2043,2223,2423,2558,2664,2575,2404,2031,2171,2331,2054,1931,2373,2592,2486,2585,3005,3727,3454,2940,2910,2731,2504,2238,2402,2909,2675,2530,3221,3352,2661,2470,2469,2811,2514,2320,2402,2375,2668,3079,3272,3398,2972,1962,1376,1844,1996,1853,1780,1638,1864,2933,2755,2613,2891,2437,1763,1764,2226,2429,2486,3012,2832,2510,2199,2531,2814,2829,2557,2451,2780,3135,2995,2480,2024,1763,1868,2250,2117,2688,3304,3205,2997,2653,2077,1744,2051,2725,3248,3001,2308,2377,3117,3307,3190,2823,2589,3152,3640,2911,2633,3199,3215,3571,3085,2831,2480,1823,1881,2104,1798,2259,2640,2325,1877,2285,3406,3665,3668,3615,3601,3316,2986,2332,1994,2020,1904,1774,2257,2954,3204,2762,2389,2296,2211,1710,1033,939,1109,1319,1435,1516,1469,1471,1587,1622,1721,2063,1674,1416,1547,1611,1705,1682,1419,1407,1631,2222,2472,1877,1524,1372,1577,2149,2420,2272,2370,2259,2413,2721,2967,3270,3798,3673,2313,2127,3011,3310,2614,2073,2114,2750,2768,2688,3042,3200,3287,3573,3859,3768,3682,3684,2880,2024,2479,2871,2805,2354,1790,1582,2109,2583,2332,1582,1539,1819,1988,2076,2246,1930,2054,2055,1197,1268,1719,1821,2077,2014,2069,2280,2266,2544,2632,2595,2510,2308,1863,1520,1634,2123,2406,2311,1984,2131,2564,2666,2773,3249,3411,2908,2155,1820,1560,1554,1543,1577,1621,1894,1780,1582,1489,1709,1879,1717,1624,1499,1824,2105,1987,2181,2078,2480,2130,1903,1943,1881,1817,1819,2060,2317,2704,3078,3002,1737,1633,1843,2193,1951,1569,2091,2785,2908,3217,3182,2634,2476,2248,1532,1137,1415,1583,1836,1817,1904,1823,1820,2679,3173,2751,1763,1741,1944,1904,1567,1625,1853,2151,2099,2343,2165,2022,2180,1963,1933,1646,1588,1714,1912,2624,3029,2762,2783,2532,2178,2249,2473,2239,1768,2225,2347,2127,1983,1646,1561,1893,2586,2671,2324,2679,3132,2976,2579,2580,2500,2524,2986,3086,2787,2944,2247,1695,1879,2162,2633,2692,2171,2143,2157,2067,2020,2394,2711,2663,3342,3647,3540,3396,2686,2346,2175,2125,2313,2620,2914,3032,2755,2424,2490,3077,3706,3400,2743,2335,2133,2056,2083,2178,2339,1716,1403,1600,1740,1684,1763,2371,2720,2542,2232,1682,1694,1653,1679,1892,2206,2103,2009,2040,2247,2064,1815,2006,1796,1794,2092,1845,1963,2212,2573,2432,2128,1984,1758,1819,1775,1861,2204,2432,2480,2504,2304,2799,2855,3083,3408,2589,1912,1973,1931,2298,3045,3386,2655,2292,1526,2019,2953,3060,2785,2622,2304,1837,1677,1592,1765,1627,2422,3370,3252,2492,1981,2165,2342,2119,2136,2575,2915,3432,3293,1790,1366,1293,1337,1851,2388,2380,2352,2308,2177,2110,2235,2735,2676,2320,3272,2684,2298,2355,2275,1612,1339,1780,1692,1229,1317,1476,1944,2308,2599,2713,3178,3212,2802,2688,1845,1031,1025,1122,1603,1943,1718,2134,3034,2216,1973,2045,2147,2341,2358,2168,2063,2127,2093,2099,2060,1993,1853,2029,2282,2573,2132,2283,2293,2263,2401,2336,2463,2559,2041,1644,1620,1924,1558,2432,2564,2134,2417,3239,3465,3164,3179,2840,2522,2665,2526,2901,2417,2233,2016,2114,2151,1954,1737,1712,1726,1604,2042,1831,1791,1840,2034,2259,2359,2467,2846,3061,3394,3483,2964,2397,2099,2591,2512,2788,3339,2895,2095,2149,2555,3368,4312,4419,3828,3061,2264,1748,1715,1823,2474,2949,2831,2315,2305,2352,2105,2074,1991,2245,2720,2392,2428,2704,2453,2341,2410,2509,2326,2088,2042,2563,3134,2968,2868,1978,922,787,847,898,973,1355,1831,1886,2266,2381,2107,2288,2411,2112,2301,2288,2321,2754,2565,1885,1917,1653,1261,1368,1641,1733,1727,1970,2358,2004,1971,1697,1869,1725,1583,2075,2452,1819,1167,1279,1326,2218,4225,4256,4030,3565,2961,3148,3728,3693,3503,3311,3335,3112,3395,3129,2623,2784,2654,2492,2479,2172,1972,2299,2157,1546,1740,2109,2048,2122,2196,2036,2112,1822,2320,2822,2644,2610,2643,3032,2624,2543,3067,2491,1970,1282,1288,2206,2705,2774,2492,2324,1872,2040,2427,2676,2986,2403,2344,2149,2182,2065,1768,1919,2215,2242,2262,2271,2484,2662,2636,2667,2941,3129,2916,2381,2485,2531,2452,2997,3002,2784,2688,2365,2001,1665,1358,1534,2157,2418,1956,2024,1957,1449,1569,1496,1569,2332,2546,2476,2041,1084,1063,1338,1708,1437,1260,1406,1522,1459,1473,1421,1719,1727,1736,1996,1731,2154,2644,2005,1726,1967,2052,2367,2897,3054,2424,1753,1803,1609,1200,1597,1638,1149,1245,1692,1984,2962,3201,2103,2055,1877,1729,2253,2535,2249,2770,2055,2301,2281,1946,2005,1660,1475,1948,1918,1647,1435,1469,1745,1924,1830,1926,2186,2130,2872,3317,2312,1891,1835,1959,1693,1647,1581,1932,1694,1494,1413,1492,1628,2425,3160,2657,3003,2335,1767,1759,1505,1712,2431,3216,3240,2863,2626,2168,1777,1425,1472,1469,1549,1538,1395,1268,1400,1411,1508,1374,1867,3476,4189,4048,3679,3439,2770,1506,2131,2530,2192,1584,1388,1884,1834,2221,2981,2430,1498,1553,1453,1446,1456,1420,1364,1354,1352,1411,1316,1400,1543,1544,1625,1539,1692,1797,1741,2084,2157,2252,2233,2252,2148,2063,1786,1880,2911,2690,2062,2370,2154,1823,1765,1410,1222,1295,1370,1455,1543,1348,1350,1407,1404,1616,1654,1680,1554,1702,1626,1392,1488,1576,1765,1991,1788,1598,2023,1763,1801,1744,2170,2900,2809,2458,2129,1673,1715,1983,1846,1841,1892,1770,1728,1642,1534,2033,2620,2480,2003,1628,1507,1667,2055,3056,2804,1922,1679,1612,1928,1977,2567,3505,3220,2009,1869,1851,1782,1709,1840,1777,1670,1711,1744,1658,1607,1598,1729,1843,1874,1895,2165,1990,1730,1532,1527,2208,2431,1826,1578,1903,1988,2403,2534,2574,2405,2250,2155,2163,1924,1644,1552,1710,1913,1914,1639,1345,1367,1503,1704,1229,1136,1295,1261,1168,1420,1777,1782,1730,1923,1990,1853,1833,2269,2478,2092,2150,2409,2431,2510,2149,1649,1522,2071,3488,4082,3825,4370,4119,3428,2801,2790,2778,2618,2244,2544,3074,2719,2088,1972,2753,2732,2132,2130,2368,2376,2337,2241,2575,3605,3837,2974,2432,2340,1849,1538,1792,2068,1661,1603,1588,1578,1719,1669,1677,1881,1975,1821,1814,2099,1811,1843,1515,1233,1559,1814,2720,3039,2603,2119,1951,1888,1740,1548,1560,1703,1877,2209,2300,2097,2663,2446,1974,2000,1837,1598,2033,2312,1932,1907,1815,2157,2277,1688,1647,1638,1567,1868,2435,3094,2887,2186,1992,1804,1936,1709,1611,1682,1638,1638,1561,1572,1639,1689,1782,1865,2154,1612,1763,1563,1511,1552,2230,3173,2534,1583,1583,1647,1505,1538,1638,2524,3150,3213,3262,3262,3354,3120,2929,2647,2367,2789,2986,2319,1863,2517,2446,2201,2643,3042,3047,3167,3088,2721,2495,2502,2522,2354,2988,2840,2325,1822,1627,1912,2057,1981,2330,2079,1944,2417,2720,2094,1755,1615,1981,2366,2357,2069,1824,1699,1904,1995,1708,1828,1794,1560,1552,1451,1410,1447,1534,1544,1576,1664,1713,1611,1615,1617,1710,1799,1858,1635,1610,1544,1611,1553,1660,1621,1404,1397,1413,1665,1978,1826,2175,2621,2981,2279,1546,1432,1564,1935,2054,1866,1914,1662,1696,2059,3053,2686,2243,2544,2288,2013,2021,2022,1853,1599,1677,1763,1851,1935,2323,2744,2509,2212,2012,2420,2547,1910,1827,1847,1678,1586,1753,2015,1672,1863,2372,2236,1925,1770,1492,1594,1856,1659,1809,1798,2031,2519,2913,3095,3260,3426,3311,3269,3249,3182,2954,2786,2837,2762,1996,2200,2322,2521,2491,2281,2321,2380,2364,2617,2739,2452,2441,2489,2370,2676,2308,2495,2225,2276,2662,2802,2545,1877,2325,2416,2260,2604,2588,2216,1814,1930,2276,2542,2589,2535,2376,2659,2806,2863,2817,2985,2985,2651,2663,2932,3009,2730,2493,2532,2733,2756,2519,2495,3031,3076,2761,2540,2415,2461,2607,2758,2093,1929,2737,2806,2118,1815,1499,1703,2012,2450,2059,1855,1951,2122,2182,1907,1923,1713,1936,2419,2402,2213,2405,2831,2465,2406,2012,1963,1928,1546,1535,1478,1600,1812,1864,2276,2353,1629,1666,2734,3073,2583,1970,1677,1771,2235,2077,1479,1742,2187,2307,2519,2315,1692,1324,1293,1474,1666,1902,1809,1780,2003,1859,1704,1686,1553,1579,1798,1692,1535,1471,1564,1941,2114,2050,2131,2178,2041,2145,2644,3188,3351,2855,2431,2873,3146,3239,3824,4059,3892,3714,3609,3996,3642,3130,2329,1929,2260,2490,2373,2061,1953,1962,2511,2280,2264,2098,2177,2303,1935,1636,1633,1999,1842,1585,2853,3519,2330,2054,2127,1913,2053,1994,1929,2101,2058,2201,2514,2491,1649,1684,2190,1985,1986,2340,2028,1767,2111,2256,2465,2360,2023,2013,2106,1952,1945,1917,1653,1980,3129,3498,3532,3648,3474,3326,3626,3694],[1332,1316,1464,1505,1422,1674,1898,1968,2482,2955,2857,2992,3535,3607,3529,3707,3759,3583,3568,3717,3705,3705,3647,3596,3387,3248,2496,2032,2820,3507,3462,2909,3075,3155,2697,2364,2029,2518,3148,3198,3384,3399,3334,3210,3175,3126,3084,3156,3326,3617,3109,3293,3632,3530,3354,3410,3332,3264,3016,2934,3363,3575,3761,3996,3580,2934,2692,2119,2401,2813,3086,3397,3306,3030,2978,3084,3487,3171,2452,2048,1988,2226,2428,2758,2743,2378,2216,2121,2771,2895,3444,3793,3987,3352,3144,3432,3380,3255,2939,2469,2173,1909,1837,1877,1808,2165,2973,3517,2719,2088,1925,2119,2348,2020,1522,1722,2206,2611,2910,2819,2832,2296,1708,1704,2142,2530,2718,2391,2021,1735,1642,2229,2928,2427,1787,2157,3029,3215,3528,3397,2838,2907,2575,2162,2029,2074,1904,1970,1693,1567,2266,2415,2013,1987,3032,3616,3153,2879,3363,3772,3325,3050,2486,1973,2097,2003,2048,2136,1975,2039,2368,2232,2002,2876,3262,3366,3185,2566,2217,2288,2219,2155,2176,2483,2441,2074,2172,3064,3703,3314,2677,2366,2049,2374,2555,2420,2359,2521,2422,2555,2880,2524,2208,2393,2734,2330,2133,2295,2055,2551,3163,3016,2944,3217,2835,2518,2208,2501,2488,2119,1958,1948,2392,2432,2596,3132,3025,2410,2081,1789,2081,2830,3055,3198,2996,2271,2731,3283,2621,2284,2489,2790,3383,3182,2350,1847,1787,1713,2077,2121,2125,2750,3374,3032,2538,2392,2152,1980,2276,2775,3526,3515,3481,3825,3797,3148,2872,3032,3477,3741,2819,2281,3143,3237,3311,3375,3340,2429,1900,2076,2098,1898,2069,2558,2742,2666,2863,2574,2684,2746,2666,2475,2274,2105,1824,1625,1747,1803,1774,2225,3264,3532,2375,2008,1912,2029,1432,766,959,1460,1679,1659,1582,1616,1926,1788,1608,1705,2184,2077,1773,1829,2016,2155,1825,1428,1501,1813,2138,1694,1678,1555,1473,1583,2233,2381,2501,2548,2395,2373,2450,2700,3049,3737,4107,3028,2724,2851,3078,2701,2130,2438,3008,2989,2850,2817,2893,3277,3675,3786,3939,3658,3253,2300,2070,2713,3160,2674,2050,1597,1515,1895,2351,1523,1063,1276,2030,2210,2546,2584,1778,2130,2200,1380,1720,1912,2150,1831,1804,2222,2379,2445,2136,2147,2670,2678,2402,1761,1600,1588,1676,2059,2024,1737,1737,1809,2040,2289,2187,2192,2208,1897,1998,1855,2032,2270,1686,1734,1903,1715,1623,1551,1602,1793,1819,1848,1522,1723,1823,1916,2552,2536,2231,1681,1681,1901,2019,1775,1775,2314,2879,3149,3558,2504,1788,1549,1560,1602,1604,1709,2193,2691,2728,3046,3105,2784,2304,2153,1591,1620,2148,2040,1870,2095,2134,1871,1742,2342,2735,2688,1848,1770,1789,1721,1482,1660,2163,2263,2029,1837,1411,1730,2012,2001,1964,1681,1567,1624,2006,2569,2688,2548,2602,2290,1782,1844,2820,2831,2304,2576,2674,2295,1768,1784,2031,2055,2365,2446,2086,2333,2531,2818,2928,2143,2542,2895,2389,2310,2424,2050,1670,1743,2127,2651,3167,3104,2417,2136,2110,2156,2507,3054,3204,2858,3292,3695,3448,3694,2965,2694,2749,2258,2326,2785,3077,3414,3642,3262,3353,3885,3792,3727,3328,2532,2174,2088,2191,2199,2322,2047,1922,1821,1855,1880,1718,2023,2393,2422,1970,1700,1781,1949,1805,2071,2321,2145,2089,2331,2720,2566,2016,1890,1584,2109,1791,1449,1544,1663,1837,1928,1908,1675,1715,2048,2058,2327,2745,3047,2640,2659,2554,2658,2900,3051,3094,2417,1994,2293,2621,3166,3641,2968,2365,2584,1776,2060,3194,3285,2896,2666,2059,1626,1852,2204,2221,1685,2723,3236,2731,2221,1875,1878,2098,1990,1951,1979,2548,3321,3640,2261,1926,1659,1383,1779,2091,1929,1654,1379,1658,1747,1942,2844,2454,1672,2066,2459,1876,1639,1895,1701,2048,2541,2066,1095,1140,1507,1902,1606,2467,2876,2880,2703,2563,2886,2366,1677,1367,1321,1600,1859,1904,2031,2161,1948,1963,1913,2027,2492,2641,2398,2591,2724,1913,2094,2380,2025,2072,2083,2432,2499,2699,2868,2474,2286,2441,2645,2733,2798,1979,1833,2070,1907,2364,3124,3027,2820,2547,2466,2453,3155,3226,2879,2900,2542,2226,2295,2186,1797,1817,2061,1960,1943,2009,2001,1882,1377,1461,1630,1772,1958,1940,1954,2000,2301,2674,2787,2360,1989,2208,2146,2737,2804,2405,2661,2662,2498,2164,2048,2814,3691,3847,4062,3973,3574,3046,2208,1849,1922,2082,2319,2753,2709,2339,1853,1745,1503,1532,1743,2429,3050,3010,2972,2381,2071,2039,2352,2779,2456,1874,2382,3129,3195,2664,1829,1570,1353,1180,1017,899,1306,1897,2375,2570,2385,2316,2130,2019,2135,2172,2342,2425,2368,2368,2214,1823,1783,1803,1719,1858,2034,2021,2328,2266,2196,2400,1954,2362,2402,1935,2147,1886,1532,1274,1586,1379,2105,3422,3761,3688,3303,2671,2883,2890,2840,3210,2597,2473,2775,2976,2890,2568,2316,2069,2041,2221,2056,1878,2151,2061,1672,1809,2005,1744,1674,1684,2060,2235,1931,2410,2530,2229,2568,3289,3212,2122,2568,3067,2423,1880,1487,2077,2669,2750,2449,2050,1975,1852,1853,2098,2812,3146,2588,2067,1633,1758,1903,1909,2514,3072,2757,2654,3150,3560,3045,3032,3109,2877,2646,3069,2819,2897,2995,3100,3359,3328,3138,2819,2197,1920,1721,1605,1534,2041,2049,2039,2048,1638,1786,1764,1543,2041,2479,2316,2499,2018,1175,887,931,1252,1365,1364,1604,1523,1171,1411,1692,1826,1705,1824,2013,1622,1961,2253,2127,2268,2365,2389,2734,3427,3495,3156,2912,2238,1502,1463,1895,1667,1204,1304,1707,2196,3046,2890,2069,1942,1622,1586,2153,2525,2437,2696,2066,2078,2346,1894,1780,1359,1550,1977,1816,1768,1555,1637,1746,2024,1941,1931,1953,2122,3243,3487,1920,1639,1765,2081,1759,1556,1591,1644,1433,1239,1319,1693,1845,2505,3538,2566,2596,2080,1881,2007,1769,1720,2349,3166,3009,2645,2613,2048,1868,1461,1481,1359,1499,1582,1655,1565,1391,1400,1591,1627,2368,4038,4127,3995,3805,3463,2535,1456,2065,2838,2968,1906,1371,1773,1690,2214,2038,1770,1457,1533,1477,1503,1534,1412,1399,1405,1334,1426,1505,1574,1513,1602,1529,1699,1459,1786,2308,2042,1933,1948,2289,2540,2170,1678,1861,2153,2754,2516,2136,2336,2092,1831,1654,1491,1402,1385,1406,1491,1485,1402,1276,1318,1406,1714,2203,1815,1323,1687,1458,1460,1531,1470,1866,2624,2526,2054,1913,1911,1742,1593,2033,2416,2331,1815,1815,1733,1813,2094,1454,1389,1676,1616,1452,1605,1687,1664,2220,2322,1773,1648,1971,2066,1964,2090,1814,1666,1636,1739,2001,1814,1901,2935,3031,1575,1764,1855,1677,1748,2114,1911,1904,2061,1926,1853,1797,1714,1810,1825,1856,1743,1919,1942,1749,1539,1630,1786,1607,1534,1704,1780,2411,3046,2479,2483,1926,1838,2423,2238,1753,1681,1656,1873,2477,2574,2108,1575,1304,1642,1744,1083,1089,1452,1387,1355,1639,1967,1819,1700,1758,1876,1869,2174,2822,2730,2005,2199,2410,1925,1974,2160,1946,1589,2276,3496,3514,3119,4311,4077,3398,3611,3173,2805,2497,2178,2155,2458,2726,3008,2849,3425,3265,2756,2577,2639,2469,2367,2469,2919,3846,4033,3022,2473,1883,1686,2054,2194,2160,2114,2333,2050,1572,1818,1882,1698,1432,1706,1705,1642,2285,1887,1323,1237,1564,1752,2071,2688,2884,2879,2769,2267,1846,1557,1405,1576,1688,1762,2005,2136,2465,2709,2419,2093,1725,1520,1864,2447,2499,1833,1810,2154,2580,2272,1559,1784,2088,1832,2130,2714,3531,2764,2046,2398,2542,2327,1866,1601,1748,1906,1691,1476,1666,1804,1683,1631,1962,2062,1775,1621,1605,1427,1323,1978,2364,1852,1589,1738,1625,1614,1648,1288,1814,2566,2753,3015,3340,2975,2285,2010,2535,2768,2238,2075,1901,2365,3176,2919,2790,2974,3051,2798,2641,2610,2928,3068,3365,3194,2777,2784,2422,2103,1851,1420,1833,2080,1574,1730,1715,2076,2281,2243,2133,1843,1673,1671,1697,1803,1873,1750,1641,1750,1671,1454,2033,1982,1668,1562,1532,1549,1571,1575,1641,1744,1786,1636,1571,1490,1483,1435,1497,1566,1654,1654,1724,1661,1483,1541,1471,1657,1637,1482,1857,2192,2044,2406,2348,1684,1469,1340,1320,1417,1550,1736,1733,1991,1898,1952,2029,2342,2010,2165,2401,2146,1990,2166,2049,1494,1474,1509,1682,1716,1814,2046,2201,2308,2135,2077,2562,2084,1495,1693,1963,1987,1741,1932,2217,1915,1941,2224,2183,1844,1498,1353,1456,1554,1526,1634,1824,2129,2551,2768,2480,2708,3154,3104,3017,2957,3107,3002,2944,2930,2480,1661,1895,2370,2514,2619,2486,2546,2646,2564,2683,2731,2459,2463,2536,2243,1949,2065,2612,2380,2259,2512,2610,2576,2319,2855,2609,2541,2105,2186,2132,2470,2756,2437,2588,2891,2470,1650,2348,2842,3229,2997,2790,2440,2445,2632,2723,2824,2796,2745,2789,2996,2979,2670,2541,2898,2722,2600,2454,2272,2290,2720,2913,2398,1891,2240,2302,2068,2034,1899,2011,1927,1986,2072,2047,2021,2281,2335,2050,2196,2156,1988,2394,2482,2352,2141,2122,2048,1904,1688,1621,1626,1571,1527,1499,1454,1431,1699,2148,2432,2106,1792,1973,2127,1941,1896,1648,2030,2664,2171,2156,2524,2414,2041,2659,2929,2059,1190,1334,1548,1683,1704,1654,1680,1774,1628,1528,1450,1579,1701,1625,1520,1605,1528,1497,1690,2021,2183,2205,1974,1730,1691,1856,2522,3083,2898,2540,2714,3199,3769,3957,4080,3862,3596,3461,3883,3141,2954,2822,2362,2521,2946,3069,2394,2100,1924,2624,2070,2104,2240,2075,2106,2093,1906,1637,1372,1490,1866,2894,2730,1845,1821,2076,2601,2636,2137,1906,1794,1908,2300,2286,2259,1583,1471,1930,2128,2275,2261,2151,2010,2136,2466,2492,1972,2083,2480,2434,2702,3003,2678,2348,1773,1746,2084,2304,2740,2924,2923,3400,3680],[1709,1797,2057,1956,1793,2021,2030,2539,2955,3341,3436,3608,3754,3768,4136,4209,4022,3714,3518,3586,3651,3659,3684,3656,3362,3360,2968,2087,2212,3096,3361,2984,3142,2798,2655,2424,2126,2645,3210,3143,3145,3206,3044,3027,3134,2997,3328,3337,2914,3269,3177,3187,3485,3352,3123,3038,3234,3409,3203,3143,3310,3383,3641,3820,3500,2899,2778,2687,2244,2454,3444,3674,3228,2895,2687,3067,3400,3429,3405,2963,2416,2287,2656,3572,2787,1403,1660,2392,3454,3752,3814,3624,3761,3635,3355,3256,3021,2761,2509,2483,2237,1954,1917,2367,2318,2827,3437,2965,2342,2039,1732,1745,2187,2161,1888,2051,2417,2496,2702,2158,2099,2222,1945,2061,2495,2623,2142,2248,2100,1564,1641,2090,2267,1878,1754,2353,2381,1625,2128,3023,2858,2865,2220,1966,1815,1981,2039,1974,2155,2011,1864,1782,1971,2632,3206,3252,3281,3107,3097,3783,3869,2754,1770,2217,2527,2348,2689,2653,1805,1743,2203,2201,1514,2258,3473,3916,3739,3203,3029,3161,2561,1912,2012,2202,2382,2606,2990,3206,3183,3209,3022,2617,2451,2557,2864,2925,2555,2518,2182,2194,2362,2222,1906,2289,2452,2303,2216,2577,2265,2192,2791,2625,2193,3034,3180,3316,2795,2974,2910,2485,1871,1840,1807,1748,2280,2721,2486,1925,1858,2070,2284,3250,3752,3787,3123,1801,2060,2735,1919,1962,2249,2446,3571,3280,2341,1909,1771,1748,2059,2124,2025,2834,3504,2894,2486,2644,2670,2293,2202,3156,3770,4104,4278,4037,3427,2954,3228,3387,3077,3076,2908,2329,2612,2704,2843,3416,3603,2531,1812,1828,1653,1682,2019,2995,3161,2720,2432,1862,1398,1431,1732,1757,1638,1730,1911,1782,1646,1877,2104,2676,3614,3007,2013,2668,2669,2586,2038,1176,1319,1742,1720,1566,1870,2386,2540,2077,1714,1782,1904,1947,1997,2447,2814,2402,1902,1913,1912,1909,2144,1904,1826,1659,1668,2155,2590,3070,3215,2552,2481,2547,2775,3604,3770,3685,3772,3477,3489,3128,2997,3024,2648,2696,3219,3426,3010,3109,3067,3325,3726,3754,3807,3462,2798,2609,2485,2386,2768,2639,2603,1660,1994,1882,1670,1275,1687,1920,2195,2623,3032,2526,2084,2866,2887,1932,1864,1925,2456,2454,2172,2226,2554,2691,2583,2385,2330,2104,2081,2029,1889,1868,1779,2082,2193,1887,1506,1595,2049,2171,1997,1697,1997,1905,1731,1605,1785,1869,1519,1645,1917,1657,1462,1512,1666,1784,1706,1421,1366,1575,1764,2654,3521,3101,2259,2058,1909,2069,2028,1955,2336,2347,3067,3361,3226,2297,1824,1613,1477,1672,1759,1779,2194,2503,2730,3039,2966,2684,2318,2448,2027,2039,2399,1813,1528,2119,2154,2020,1732,1704,1869,1831,1580,1759,2088,1916,1709,1876,2068,1942,2127,1923,1670,2173,2310,2315,2418,2211,1758,1525,1789,2016,2289,2347,2014,1504,1570,1817,2808,2911,2522,2145,1991,2021,2006,2186,2576,2158,2125,2296,2304,2797,2831,2899,2591,2099,2520,2753,2342,1913,1826,1798,1828,2005,2537,3060,3540,3515,2862,2256,1977,2482,3131,3339,3320,2949,2967,3008,2557,2954,3034,3030,3240,2986,2495,2351,2547,3293,4014,3990,3888,3899,3706,3263,2360,2486,2378,2107,2087,1829,1651,1802,2089,2010,1832,2089,1707,1651,2150,2012,2058,2011,1605,1572,1919,2476,2394,2237,2601,2986,2630,2286,1692,1815,2168,2406,1913,1634,1467,1500,1693,1758,1807,1672,1591,2034,2844,2322,2307,2655,2231,2304,2643,2717,2690,2389,2221,1857,1666,2177,2965,3184,2792,2201,2086,2141,1669,2127,3005,2750,2764,3001,2107,2018,3129,3511,3181,2688,2900,2860,2573,2264,1582,1326,1694,1924,1800,1785,2358,2544,2925,2146,1875,2108,2011,2035,2048,2113,2171,2124,2556,3090,3349,2884,1931,1272,1275,2153,2405,2050,1581,1672,1952,2002,1733,1221,1272,1879,1868,1483,1765,2063,2354,2546,2728,2586,2297,2069,2008,2014,2023,1878,1647,1447,1640,1931,1848,1975,2442,2335,2320,2600,2338,2222,2000,2785,3492,3629,2910,2621,2830,2496,2600,2709,2463,2498,2836,2514,2354,2429,2203,2513,2500,2040,2627,2731,2519,2915,3000,2757,2398,2290,2098,2640,3618,3673,2781,2169,2038,1487,1374,1705,1954,1921,2065,2230,1759,1147,1043,1420,1952,2242,2184,2182,2001,2082,2450,2376,2420,2297,2511,1908,1589,1856,2417,2657,2286,2283,2386,2165,2371,2764,3571,3562,3260,2891,2455,1841,1844,2131,2267,2464,2411,2066,1770,1725,1747,1699,1635,1792,3178,2513,2206,2526,2437,2376,2416,2634,3463,3211,2311,2202,2389,2441,1672,1668,2046,1916,1727,1526,1133,1432,1593,1876,2274,2818,2919,2546,1710,1417,1517,1826,1818,1999,2366,2277,2133,2379,2118,2079,1815,1858,1964,1987,1897,2081,2236,2374,2777,2907,3060,2488,2136,1571,1251,1742,1615,2281,3091,3440,3628,3232,2622,2634,2110,2121,2109,1981,2489,2983,2732,2763,2891,3323,3729,3561,3362,3273,2662,2553,2834,2481,2307,2100,1865,1754,1925,2730,2618,1963,2280,2330,1924,2188,2943,2797,2091,2801,2977,2016,1737,1733,2357,2638,2517,2498,2092,2111,1798,1994,2404,2851,3282,3183,2364,1968,2249,2204,2095,2973,3373,2016,2344,3086,3410,2668,2676,2847,2810,2895,3088,2909,2961,3176,3300,3275,3274,2911,2711,2273,1601,1542,1814,1669,1682,1814,2173,1961,1899,1908,1357,1438,1902,2039,1951,2470,2112,1245,956,1029,1224,1442,1357,1322,1316,1195,1454,1647,1626,1536,1789,2345,2381,2231,2208,2255,2561,3049,3282,3275,3249,3009,3106,3138,2269,1460,1645,2067,1707,1375,1505,1793,2252,3300,2565,1930,1701,1683,1656,1979,2328,2316,2210,1976,1920,1962,1798,1677,1473,1732,1966,1925,1813,1745,1896,1877,1619,1398,1461,1589,1881,2531,2657,2015,1730,1813,1783,1603,1614,1481,1441,1593,1551,1630,1838,2064,2619,3565,2297,1919,2017,1865,1754,1799,1858,2083,2566,2687,2600,2347,1863,1699,1461,1482,1365,1520,1830,1972,1656,1441,1423,1508,1611,2031,3046,3384,3274,3313,3174,2049,1516,2047,2881,3150,1684,1356,1532,1686,2196,1644,1529,1588,1557,1445,1321,1306,1331,1367,1459,1451,1465,1705,1694,1463,1364,1520,1727,1617,2297,2567,2041,1924,2060,2432,2563,1764,1327,2062,2547,2322,2139,2170,1958,1926,1787,1438,1522,1550,1595,1551,1571,1552,1382,1334,1381,1274,1643,2215,1780,1586,1971,1678,1714,1674,1345,2075,2622,2232,1837,1691,2046,2014,1986,1892,1965,1759,1704,1777,1741,1831,1908,1570,1477,1508,1534,1554,1676,1693,1458,1702,1952,1844,2048,2261,2491,2219,2104,1990,1935,1916,1966,2048,1583,1457,2147,2306,1476,1709,1707,1772,2185,2230,2014,2208,2472,2560,2237,1765,1782,1711,1713,1655,1828,1995,1878,1548,1448,1732,2014,1857,1726,1733,1857,2384,3000,2621,2613,2286,2432,2317,1738,1873,2040,1618,1657,1853,2322,2591,2019,1667,1817,1736,1416,1857,1874,1366,1453,1713,2001,1529,1357,1458,1925,2105,2576,2339,2142,2409,3394,3137,1887,1770,2041,2004,1667,2453,2477,2708,3181,3981,3606,3498,3627,3619,3212,2379,2465,2611,2617,2839,3044,2900,3506,3782,3028,2627,2660,2395,2303,2480,2809,3686,3716,3068,2221,1627,1896,2608,2820,2576,2330,2819,2491,1459,1541,1620,1541,1410,1881,1882,1861,1887,1617,1378,1481,1857,2088,2040,1783,2122,2608,2276,2402,1903,1667,1591,1683,1865,1826,1745,1876,1810,1748,2033,2080,1827,1534,2033,2479,2753,2392,2405,2669,2526,1968,1622,1920,2442,2395,2734,2927,3670,3187,2618,3209,3417,2658,1954,1969,2018,1918,1588,1520,1473,1571,1651,1565,1646,1924,1741,1565,1538,1311,1306,1499,1556,1499,1419,1482,1531,1483,1673,1876,1771,1675,1713,2176,2620,2208,1741,1750,2080,2522,2285,2198,2631,3177,3205,2991,2797,2982,3298,3120,2751,2897,3348,3138,3305,3278,2738,2363,2820,2853,2299,1949,2012,2014,1793,2002,1867,1982,1825,1821,1968,1676,1530,1554,1458,1617,1542,1509,1615,1592,1476,1587,1605,1489,1572,1611,1502,1461,1479,1393,1433,1686,1688,1752,1523,1428,1528,1397,1525,1866,1801,1715,1783,1778,1636,1550,1563,1716,1526,1704,1998,2280,1875,2081,2106,1451,1464,1454,1510,1460,1577,1537,1802,2057,2120,2236,2438,2199,1935,2033,2317,2427,1948,2501,2237,1473,1555,1644,1886,2080,1982,1752,1686,1964,1823,1938,2086,1571,1656,1608,1791,1849,1713,1982,2067,2040,2514,2480,2263,1981,1541,1490,1598,1560,1590,1673,1817,2308,2556,2411,2315,2756,2890,3306,2945,2888,3385,3062,2435,2326,1914,1471,1985,2548,3020,3460,3372,3020,2562,2482,2779,2518,2468,2543,3189,3131,2293,2182,2062,1946,2001,2078,2875,3006,2820,3031,2647,2139,1885,1918,1946,2465,2698,2495,2504,2289,1926,1863,2522,2974,3045,2663,2075,2023,2216,1885,2005,2191,2066,1983,2142,2658,3010,2710,2621,2993,2830,2706,2591,2038,2185,2790,2652,2891,2586,1949,1778,1786,1903,2056,2127,1942,2031,2167,1919,1898,2571,2868,1994,2487,2803,2014,2114,2466,2624,2217,1716,1989,2427,1793,1655,1925,1584,1499,1590,1440,1621,1965,2175,2250,2113,1960,2053,2181,2035,1926,1465,1793,2282,2567,3078,3074,2192,1621,1917,2473,2274,1372,1427,1416,1403,1438,1589,1439,1623,1774,1668,1641,1709,1712,1483,1471,1859,1667,1518,1621,1895,2034,1988,1767,1830,1716,1388,1845,2589,2780,2662,2702,3006,3613,3868,3322,2983,2977,3287,3572,2663,2324,2625,2853,2741,3123,3220,2434,1731,1629,1932,1833,1857,2001,1709,1603,1992,2145,1727,1507,1915,2633,2464,1574,1772,1702,1863,2460,2431,2136,2017,1371,1299,1927,1921,2009,1744,1251,1166,1465,1641,1982,2283,2139,2056,2317,2521,2004,2523,2963,2877,2858,3019,3244,2996,2276,1789,1446,1503,1650,1749,2201,2721,3679],[1844,1887,2059,2135,2222,2537,2812,2831,3029,3547,3713,3597,3393,3343,3884,4121,4072,3820,3420,3488,3570,3514,3638,3616,3537,3580,3261,2930,3196,3620,3523,3232,3373,3506,3262,2688,2289,2710,3224,2994,2790,2801,2998,3199,3141,3072,3434,3553,3097,3141,3157,2958,3065,3143,3002,2806,3172,3333,3082,2836,2400,2601,3232,2932,2438,2349,2814,2676,2009,2341,3329,3441,3117,2573,2209,2304,2571,3482,4083,3225,2510,2533,2438,3183,2619,2008,2093,2853,3565,3738,3772,3735,3861,3934,3708,3009,2463,2583,2787,2714,2599,2307,2118,2458,2824,3023,2710,2545,2423,1949,1953,2229,2810,2298,2360,2371,2208,1916,2225,2061,1916,2044,2229,2766,2950,2652,1931,2806,2428,2047,2269,2057,1755,1717,1779,1605,1106,1080,2156,3165,2665,2256,1866,1751,1840,2396,2449,2065,2253,2600,2396,1820,1606,2304,2708,2927,3476,3016,2359,2750,3429,2794,2092,2253,2148,1934,1956,2040,1815,1791,1882,2106,2116,2566,3218,3274,3278,3555,3670,3328,2245,1673,1703,2097,2284,2360,2378,2127,2331,2834,3195,2988,2695,2663,2592,2492,2404,2186,1844,1719,1659,1769,1864,2244,2755,2519,2448,3019,2733,2394,2297,2154,1876,2895,3283,3447,3400,2908,2784,2499,1763,1753,1918,2088,2299,2610,2460,1997,1906,2028,2347,3116,3583,3577,2862,1540,1416,2497,1818,1844,1953,1989,2155,2249,2198,2028,2220,2512,2544,2379,2286,3042,3239,2583,2444,2121,2242,2195,2466,3077,3240,3613,4164,4416,3863,3096,3372,3461,3082,2589,2599,2570,2470,2519,2898,3275,3374,2713,2088,1879,1682,1903,2238,3198,2871,2587,2482,2026,1452,1534,1792,1673,1576,1617,1804,1704,1575,1838,1957,2612,3254,2944,2281,2348,2930,3272,2414,1752,1610,1630,1708,1614,2146,3001,3573,2697,1930,1858,1613,1624,1944,2557,2242,1964,1960,1809,1800,1957,2093,1813,1914,2428,2810,2940,3230,3850,3824,3331,2864,2783,2765,3598,4026,3672,3151,3107,3385,3094,2909,3293,3073,2631,2935,3366,3495,3350,3199,3197,3430,3293,3063,3001,2858,2855,2919,2581,2609,2461,2634,2215,2021,1970,1760,2043,2565,2625,2784,3594,3698,2351,2178,2884,2609,2073,1722,1888,2721,3131,3000,2802,2733,2652,2510,1873,1704,1682,1589,1742,1886,1927,1930,2006,2251,2277,1809,1598,2110,2149,1986,1619,2064,2179,1742,1587,1893,2048,1765,1776,1870,1601,1485,1469,1595,1703,1514,1397,1480,1533,1960,2944,3474,3194,2143,1983,2057,1981,2060,2706,3176,2645,2680,2742,2309,1964,1913,1935,2215,1990,1771,1796,2232,2436,2706,2658,2498,2761,2577,2104,2004,1846,1988,1868,1954,2144,2071,1988,1648,1471,1734,1915,1974,2480,2558,2253,2008,1924,1892,2014,2744,2215,1909,2332,2310,2595,2774,2191,1643,1702,1764,1989,2695,2497,1952,1437,1285,1667,2199,2829,2670,2155,1995,2243,2395,2287,2586,2320,2304,2199,2663,3200,3242,2742,2475,2846,3064,2822,2164,1768,1714,1722,2040,2641,2986,3325,3763,3685,3171,2434,2289,2938,3272,3271,3279,3109,2906,2230,2198,2321,2661,3074,3513,3476,3097,2687,2368,2401,2934,3287,3617,3661,3455,2470,1655,2117,2301,2291,2076,1802,1626,1829,2326,2496,2063,2271,1750,1512,1737,1922,2033,2069,2008,1591,1938,2172,2171,2186,2518,2583,2182,1853,1441,1727,2193,2115,2115,1874,1457,1590,1743,1864,2171,1888,1740,2299,2964,2622,2293,2248,2236,2152,2665,2913,2605,2380,2346,1857,1486,1799,2110,2424,2283,2053,1918,1435,1678,2706,3033,2147,1994,2291,2096,2388,3464,3791,3544,3128,2546,2203,1793,1581,1196,1328,1638,2075,2034,2398,2408,2370,2360,1902,1946,1810,1923,2391,2221,1703,2570,2478,2171,2509,2190,1588,1582,1510,1851,2563,2862,2688,1354,1068,1442,1998,2219,2049,1851,1875,1683,1526,1823,2271,2652,2906,2806,2865,2184,2192,2369,2318,2002,1562,1301,1287,1406,1606,1734,2074,2570,2035,1833,2640,2189,1554,1786,2756,3394,3673,3637,3427,3307,2734,2831,2580,2507,2746,3078,2262,2388,2664,2509,2469,2048,1896,2566,2641,2452,2718,3123,2529,2396,2609,2302,2523,3703,3812,2374,1818,1910,1289,1448,1798,2128,2009,1958,1901,1443,1210,1268,1195,1482,2095,2062,1913,2131,2390,2372,2065,2478,2535,2376,2035,1609,1273,1711,2590,2523,2001,1966,1949,1716,1534,1983,2548,2325,1928,1710,1520,1611,2009,2791,2894,1892,1499,1490,1750,2040,1958,1593,1772,1954,1462,1390,1602,1768,2256,2700,2791,3352,3583,3494,3018,2652,2239,1599,1522,1854,2026,2111,1827,1471,1480,1458,1775,2017,2196,2543,2085,1125,918,1058,1250,1418,1720,1654,1931,1995,2040,2182,2192,1875,2082,1997,1781,2104,2149,1990,2241,2505,2492,3074,2316,2220,1846,1765,2187,2040,2380,3188,3292,3663,3480,2858,2983,2423,2866,2270,1828,2668,3125,3066,2622,2787,3684,3671,3394,3537,3491,3266,3375,3784,3654,3333,2729,2211,2084,2453,3043,2780,2366,2511,2391,1816,1506,2231,2706,2061,1811,2054,2065,1760,1561,2038,2179,2566,2555,2150,1947,2066,2221,2357,2822,3239,2743,1917,1870,2510,2541,2363,2706,2775,2594,2852,2590,2692,2020,2036,2869,3030,2798,2731,3070,3073,3157,3049,3529,3789,3264,2492,2048,1578,1427,1882,2090,1734,1947,2075,1829,2075,1488,1410,1427,1373,1514,1913,2229,1858,1239,1208,1274,1256,1296,1261,1360,1296,1301,1407,1349,1592,1642,1714,2013,2097,2066,1963,2234,3174,3431,3126,3174,3829,4427,4244,3216,2074,1437,1720,1993,1565,1414,1517,1853,2296,3285,2707,2112,2024,1861,1596,1601,1913,1819,1692,1810,1820,2059,2043,2003,1802,1889,2082,2025,2042,2061,2000,1887,1626,1497,1395,1425,1672,2089,1932,1805,1660,1806,1776,1449,1213,1219,1392,1570,1467,1690,1936,2128,2840,3349,2336,2020,2092,1664,1581,1809,2009,1880,1873,1978,1831,2005,2081,1719,1460,1463,1499,1635,1887,1952,1482,1662,1482,1460,1701,1623,1573,1671,1776,1964,1989,1735,1866,2072,2519,2850,1884,1678,1544,1645,1636,1383,1415,1394,1355,1438,1438,1377,1527,1534,1547,1457,1608,1709,1578,1433,1378,1498,1419,1414,1757,2047,1990,1914,1730,2640,2714,1532,1651,2605,2639,2446,2591,2079,1820,1843,1708,1512,1788,1650,1817,1675,1556,1577,1540,1435,1372,1285,1475,1734,1600,1469,1533,1781,1856,1838,1509,1761,1562,1280,1462,1833,2273,2120,2315,2475,2360,1626,1664,1628,1925,2057,2160,2144,1713,1635,2171,2301,1765,1589,1758,1826,2031,2007,1936,2018,2334,2233,1745,1929,2300,2135,2047,1720,1188,1294,1870,2035,1701,1716,1736,1878,2169,2199,2136,2155,2104,2585,2888,2334,1955,1747,1655,1562,1669,1801,1738,1607,1684,2050,2193,2181,1919,1874,1734,1853,1890,2236,2402,2205,2382,2009,1730,2191,2139,1587,1397,1832,2035,1904,1632,1713,1849,1795,1917,2214,2254,1923,2054,2055,1936,1471,1374,1730,2042,2162,2739,3215,3124,3282,3882,3383,2386,2367,2270,2109,1807,2080,2027,2611,3304,3817,4144,4244,4192,4197,3776,3476,3460,3393,3522,3692,3071,2526,3367,3747,2604,2120,2284,2164,2026,2391,2842,3653,3350,3000,1982,1952,2442,3020,3238,2669,2352,2426,2065,1405,1596,1945,1988,1930,2266,2141,1998,1924,1526,1463,1632,1792,2251,2250,2006,2126,2176,2059,2047,1741,1718,1754,1752,1721,1592,1599,1578,1472,1544,2011,2037,2074,1896,1878,2293,2796,2702,2645,2868,2719,2332,1808,1782,2350,3334,3363,4321,4480,4006,3644,3681,3934,3608,3119,2921,2045,1848,1713,1601,1474,1580,1547,1447,1649,1783,1569,1696,1924,1694,1440,1602,1510,1330,1472,1872,1915,1742,2003,2014,1730,1473,1647,1648,1515,1500,1548,2025,1982,2081,2308,2170,2630,3422,3370,3344,2983,3206,3210,2775,2669,3334,3291,2897,3194,3056,2283,2568,3372,2994,3159,2762,1898,1760,2298,2397,2061,1651,1584,1789,1743,1456,1651,1727,1655,1789,1522,1655,1651,1502,1562,1801,1800,1491,1375,1509,1647,1640,1489,1457,1673,1865,1580,1623,1515,1775,1813,1458,1510,1638,1570,1544,1621,1759,1917,1866,1855,1639,1686,1650,1655,1865,2121,2476,2060,1678,1784,1710,1744,1494,1616,1646,1789,1960,2055,2136,1905,1614,1798,1825,1771,1722,1605,2041,1721,1449,1630,1694,1665,1923,2080,1764,1636,1824,1532,1400,1505,1824,2126,2001,1786,1736,1769,2162,2042,1874,2077,1923,1941,2073,1725,1582,1779,1838,1954,2258,2294,2086,2110,2420,2272,2610,2828,3316,3195,3245,3062,2347,1752,1824,1882,2024,2371,2930,3471,3518,3581,3256,2932,2404,2247,2171,2467,2601,2691,2974,2323,2095,2030,1998,1972,2243,2352,2274,2492,2874,2334,1724,1927,2124,2389,2765,2585,2742,2626,2289,2457,2502,2431,2248,2217,2372,2305,2530,2211,1843,2372,2418,2431,2659,2974,3098,3066,2691,2677,3060,2920,3007,2946,2328,2531,3050,2702,2842,2354,1981,1897,1636,1828,2014,1798,1588,1976,2144,1930,1620,2237,3190,2253,2254,2546,2180,2130,2377,2438,2364,1958,2600,2828,1637,1841,2104,1895,1801,1725,1794,2184,2019,1873,1970,1815,2068,2886,2245,1775,1898,1901,2348,2679,2647,2507,2246,1820,1451,1527,1754,1844,1578,1947,1660,1527,1543,1501,1574,2034,2244,1855,1634,1730,1969,1719,1631,1757,1520,1585,1582,1693,1530,1748,2121,2044,1594,1252,1660,2232,2422,2788,3119,2573,2758,3142,2241,2175,2807,2734,2850,3112,2700,2588,2922,3064,2698,2065,1755,1530,1686,1817,2024,2232,2100,1854,1784,1787,1608,1776,2067,2215,2271,1866,1692,1754,1784,1885,1880,1584,1764,2075,1783,1551,1772,1667,1920,2129,2066,1678,1466,1509,1910,2232,2082,2046,2608,3220,2576,2835,3061,3288,3400,3161,3063,2986,2231,1772,1576,1628,1568,1533,1710,2482,3674],[2003,2237,2517,2563,2501,2451,2592,2919,3163,3460,3529,3350,2843,2542,2760,3552,4047,3897,3414,3300,3477,3452,3429,3490,3536,3632,3400,3327,3611,3718,3618,3348,3334,3604,3416,2810,2433,2787,3032,2850,2632,2567,2893,3040,3085,3073,3339,3454,3107,2888,2905,2975,2859,2765,2843,2822,3162,3235,2801,2689,1923,1990,2632,2080,1864,1959,2233,2081,1595,1844,2801,3272,3119,2411,2083,2071,2248,3017,3434,2723,2698,2484,2523,2844,2332,2490,2944,2906,2613,2783,3167,3414,3595,3716,3361,2597,2297,2509,2679,2809,2943,2894,2977,3054,3000,2604,2390,3059,2971,2087,1859,1853,1902,2366,2658,2260,1749,1947,2597,2508,1960,2354,2064,2442,2809,2916,2758,2890,2386,2094,1978,1651,1766,2086,1990,1726,1701,1950,2150,2298,1973,2200,2244,2169,2652,2856,2503,2069,1999,2338,2756,2052,1583,2042,2584,2995,3109,3044,3074,2730,2632,2293,1580,1620,1737,1751,1593,2088,2519,2331,2190,2183,2171,2257,2702,2939,2970,3240,3097,2355,2008,1837,1824,2150,1456,1263,1512,1730,2110,2554,3180,3266,3069,2746,2427,2343,2029,1724,1809,2010,2065,1987,1787,2091,2558,2180,2031,2562,2317,1982,1775,1632,1869,2799,3157,3637,3992,3351,2686,2423,2176,2519,2470,2190,2266,2912,2609,2354,2179,2057,2191,1970,1752,1951,1784,1550,1365,2111,1687,1628,1489,1227,1169,1780,2205,2291,2544,2855,2900,3120,2808,2731,2824,2519,2114,1826,1914,2167,2896,3187,3037,3224,3902,4212,4156,3863,3685,3738,3152,2194,2179,2369,2402,2641,2954,3530,3427,2778,3169,2409,2111,2050,2024,2519,2697,2679,2624,2359,1871,1927,1982,1931,1754,1537,1538,1469,1547,1652,1580,2094,2783,2908,2548,2481,3610,4061,3083,2002,1777,1661,1737,1581,2008,2962,3431,2800,2497,2485,1934,2200,2151,2136,1735,2110,1964,1707,1621,1859,2073,1893,2010,2452,2585,3055,3289,3686,3664,3505,3096,2654,2388,3183,3907,3651,3242,3186,2921,2849,2740,2831,2531,2767,2842,3266,3995,3817,3310,3067,3145,3245,3141,2815,2930,2723,2584,2396,2486,2642,2641,2175,2069,2335,2268,2798,2988,2894,3035,3963,3430,2306,1889,2192,2075,1933,1712,1762,2459,3054,3328,3137,2831,2703,2197,1700,1548,1599,1520,1915,2196,1888,1744,1880,1954,2183,2118,1869,1891,1831,1636,1512,2017,2317,1942,1832,2003,2058,1738,1887,1829,1567,1506,1465,1421,1508,1589,1729,1871,1892,2693,3539,2766,3012,2066,2094,2090,2165,2835,3399,3206,2357,2142,2234,1880,1830,1695,1894,2106,2294,1986,1933,2084,2077,1973,2044,2204,2553,2209,1476,2020,1872,1611,1516,1723,1787,1687,1750,1530,1359,1686,2092,2416,2666,2048,1898,2382,2314,1841,1793,1849,1884,2126,2299,2013,2181,2459,1701,1636,2366,2207,2399,2614,2485,2502,1766,1150,1443,2109,2650,2500,2343,2409,2276,2270,2220,2202,2194,2242,1965,2855,3912,3508,2660,2923,3015,2510,1944,1638,1669,1827,2193,2633,2998,3144,3364,3545,3707,3442,2646,2399,3145,3395,3373,3542,2963,3037,2243,1998,2379,2680,3028,3486,3467,3520,3395,3121,2523,2211,2158,3210,3582,3165,2111,1697,1832,1830,1754,1927,2231,2084,2417,2310,2588,2340,2241,1913,1527,1717,2031,1854,2379,3009,2575,2253,1831,2435,2668,2820,2642,2110,1853,1521,1632,2146,2510,2596,2068,1642,1607,1803,1771,2124,2298,2075,1907,2648,3398,2590,2230,2935,2372,2901,2718,1969,2288,2086,2087,1994,1764,1616,1775,1863,1852,1974,1861,1918,2652,2903,2070,2198,2646,2588,2492,2555,2523,2714,2610,2126,2030,1846,1751,1503,1436,1841,2048,1879,1955,2082,2228,2260,2109,2020,1686,1875,2591,2230,1988,2531,1824,1642,2248,2416,2301,2054,2028,2498,3108,3863,3500,1740,2153,2813,2635,2233,2165,2243,2186,2356,2687,2893,3034,2890,2880,2691,2734,2211,2247,2496,2658,2235,1627,1785,1705,1439,1805,1919,1882,1975,1884,1958,2008,1579,1478,1668,1909,2489,3310,3338,3207,2784,2263,2271,2976,2568,2390,2539,2382,2399,2484,2419,2166,1886,2556,2800,2627,2279,2442,2559,1997,2525,2956,2319,2041,2518,2362,1741,1983,2534,1942,1333,1720,2020,1759,1782,1919,1722,1308,813,907,1297,1778,2307,2077,2209,2178,2077,2214,2206,2190,2673,3097,2608,1869,1946,3042,2856,2017,1985,1857,1501,1484,1957,2203,1841,1703,1657,1441,1397,1663,2377,2156,1497,1473,1478,1546,1950,1729,1393,1542,1381,1279,1246,1350,1290,1521,1650,2159,2530,3020,3409,3575,3493,3030,2339,1960,1959,1955,2262,2305,1944,1521,1516,1775,1942,2024,1976,1455,1215,1681,1019,1063,1229,1625,1969,2260,2307,2292,1959,1752,1741,1857,1904,2108,2214,2192,2198,2039,2263,2225,2255,2154,2269,2247,2311,2549,2549,2824,3499,3369,3632,3387,2877,3498,3585,3819,2708,1891,1910,1865,2010,2417,2915,3410,3212,2424,2287,2313,2651,2957,2976,3388,3533,2797,2359,2584,2665,2827,2409,2173,2573,2814,2342,2217,2557,3002,2684,2100,2136,2128,1730,1624,2523,2312,2358,2116,1913,2067,1873,1626,1561,2273,2864,2442,2038,2254,2284,2402,2840,2858,2917,3175,3090,2820,2612,2202,2564,3486,3731,3431,3131,3124,3062,3184,2965,3356,3695,3002,2026,1856,1587,1382,1738,1806,1949,2086,1786,2093,1840,1465,1471,1692,1782,1816,1928,2186,2042,1479,1776,1793,1557,1330,1353,1333,1399,1504,1213,1113,1574,1810,1677,1575,1399,1179,1160,1762,2612,3066,3405,3583,3652,3383,3028,2677,1968,1421,1875,1865,1485,1448,1561,1879,2553,3215,2677,2280,1878,1414,1519,1631,1562,1572,1570,1841,1633,1829,1824,1869,1737,1806,1905,2074,2065,1892,1887,1769,1698,1994,1754,1570,2052,2393,1926,1887,2008,1936,1886,1384,939,1153,1362,1339,1463,1601,1919,2484,3349,3322,2533,2312,2040,1359,1468,1786,1886,1760,2226,1951,1433,1748,2114,1848,1536,1464,1458,1529,1649,1837,1652,1547,1427,1307,1604,1671,1402,1521,1686,1562,1471,1701,1640,1514,1647,1748,1685,1754,1642,1593,1532,1572,1454,1171,1398,1725,1383,1277,1455,1461,1459,1426,1512,1439,1392,1330,1250,1394,1388,1645,2075,2454,2104,1710,1676,2379,2642,2244,2060,1740,1455,1932,2337,1568,1413,1588,1496,1454,1453,1453,1648,1720,1593,1607,1754,1497,1407,1337,1510,1822,1338,1175,1718,2099,2095,1904,1732,1768,1782,1688,1825,2037,2274,2117,1874,1775,1560,1451,1550,1579,1988,2156,2101,1819,1621,1866,2583,2500,1965,1881,2111,1864,1626,1517,1387,1433,1540,1648,1678,1918,2018,1866,2038,2143,1836,1505,1731,2162,2426,2186,1854,2032,2482,2137,2322,2586,2340,2626,2618,2329,2349,2329,2003,1634,1594,1676,1670,1760,1905,2166,2256,2584,2469,2003,1519,1514,1616,2015,2243,2077,2186,2271,2284,2297,2455,2037,1477,2010,2214,1908,1963,2343,2034,1720,1765,1543,1714,1703,1624,1652,1264,1073,1118,1479,1849,2074,2700,3651,4114,3915,3842,3909,3401,2906,2730,2407,1644,1866,2210,2391,3329,3893,4177,4192,4042,4184,4168,3462,3393,3565,3724,3897,3252,2610,3515,3837,2545,1957,1939,1837,1691,2155,2641,3030,2710,2553,2225,1925,2293,3189,3772,3780,3200,2776,2404,2410,2819,2713,2362,2535,2404,1672,1609,1736,1420,1928,2329,2495,3142,2622,2010,1866,1888,2195,2052,1684,1648,1708,1635,1446,1948,1651,1435,1482,1530,1814,2158,2139,1987,2060,2198,2598,2702,2839,3188,3414,3124,2458,2250,2986,4101,4176,4148,4164,4063,3717,3411,3631,3687,3473,3117,2159,2041,2200,1982,1702,1765,1875,1810,1781,1909,1801,1796,1766,1520,1393,1615,1556,1536,1968,2808,2980,2834,2372,1646,1540,1516,1586,1597,1453,1521,1677,1820,1730,1862,2026,1903,2143,2983,3479,3532,2934,2981,2863,2804,3270,3564,3272,3161,3022,2802,2778,3702,3751,3329,3366,3020,2313,2558,2801,2406,1826,1580,1659,1697,1613,1522,1699,1733,1568,1721,1744,1719,1503,1496,1495,1438,1368,1284,1340,1716,2119,2080,1536,1638,1649,1354,1462,1588,1769,2046,1712,1495,1583,1614,1701,1607,1883,1663,1691,1981,1864,1647,1763,1627,1472,1343,2143,2404,2168,1811,1630,1737,1704,1771,1983,1738,1630,1763,1917,1903,1680,1616,1651,1635,1410,1572,1907,1835,1920,2001,2034,2155,1893,1716,1836,1546,1587,1805,1716,1403,1548,2018,2218,2197,2098,2002,1860,2109,1706,1520,1775,1542,1736,1834,1482,1315,1770,2238,2270,2345,2535,2596,2437,2309,2076,2186,2502,2787,3318,3055,2075,1706,1671,1805,2379,2780,2383,2988,3266,3275,3482,3361,2578,1758,1691,1788,1949,2196,2283,2640,2397,1953,1663,1696,2121,2392,2393,2157,2403,2711,2199,2194,2019,2294,2552,2396,2387,2663,2875,2733,2434,2393,2517,2988,3472,3274,2695,2768,2232,1772,2658,2768,2633,3000,3422,3445,3141,2795,2732,2911,2971,3162,3151,2692,3062,3139,2639,2630,2438,2154,1859,1713,2254,2123,1900,2008,2536,2193,1792,1812,2248,2468,2267,2297,2962,3285,2550,2064,2044,2101,1761,2046,1854,1529,1725,1623,1641,1722,1581,1688,1870,1629,1872,2100,1993,2627,2735,1944,1676,1943,2474,3032,3064,2553,1911,1723,1974,1821,1626,1499,1698,1933,2092,1800,1690,1552,1578,1847,2125,2267,1828,1637,1640,2069,1769,1802,1888,1814,1669,1520,1570,1541,1907,2436,2239,1964,1739,1575,1785,2286,2786,2998,2625,2785,3232,3139,3240,3128,2100,2270,2573,2150,2709,2769,3146,2642,2093,1747,1458,1556,1853,2610,3079,2165,1626,1874,1908,1259,1824,2536,2741,2350,2004,1974,1912,2039,2008,1911,1454,1647,1890,2128,2000,2055,1937,1996,2333,2403,1979,1783,1938,2481,2663,2629,2714,3054,2643,2607,3108,3315,3562,3588,3061,2300,2229,1495,1651,1593,1879,1896,1690,1877,2236,2944],[2563,2343,2412,2397,2272,2240,2527,3002,2631,2690,2576,2256,1876,1782,2075,3012,3819,3880,3448,3085,3394,3482,3444,3506,3492,3607,3551,3486,3684,3515,3486,3327,3109,3660,3646,2957,2337,1863,2202,2621,2554,2543,2818,2989,3037,3184,3404,3602,3744,3212,2775,2666,2540,2584,2250,2360,2911,2784,2570,2933,2751,2414,2589,2081,1964,1991,1878,1698,1247,1593,2445,3135,3408,3186,2796,2294,2110,2225,2540,1924,1831,2049,2566,2779,2445,2591,3261,3340,2767,2556,2622,2787,2758,2733,2810,2863,2753,2721,2692,2771,2873,2958,2847,2607,2529,2401,2522,3436,3626,2675,2107,1561,1693,2409,2811,2374,1600,1879,2737,2657,2186,2359,1847,2151,2534,2591,2144,2089,1874,1542,1730,1967,2481,2648,2242,1848,1736,2059,1797,1701,2016,2465,2120,2179,2758,2486,1898,1930,2014,1994,2224,1720,1666,2030,2508,2802,2688,2939,3281,3085,2604,2332,1450,1338,2148,2050,1957,2274,2414,2619,2921,2851,2432,2101,2482,2906,3331,3074,2766,2035,2120,2294,1966,1781,1372,1053,1428,2281,2613,2698,3250,3595,2811,2494,2282,2360,1991,1611,1998,2668,2995,2557,2236,2221,2055,1489,1400,1815,1863,1890,1761,1857,2425,2791,2972,3741,3887,3017,2284,2081,2434,2656,2696,2792,2545,2519,2600,2432,2041,2156,2209,1641,1499,1548,1455,1683,1682,1815,1758,1696,2345,2854,2896,2987,2524,2708,2807,2996,3066,3381,3049,3127,2994,2963,2688,2226,2047,2270,2559,2767,2871,3247,3822,3985,3632,3216,2989,3470,3317,2657,2447,2356,2519,2952,3294,3594,3630,2972,4241,3175,2378,1934,1534,1772,2264,2275,2354,2770,2746,2113,1881,1925,1705,1487,1372,1364,1464,1449,1522,1794,2030,2667,3464,3806,3902,3667,3462,2360,1783,2044,2124,1887,2281,2773,2998,3203,3686,3515,2178,2147,1947,1624,1612,1849,2156,2207,1908,1877,1975,2059,2326,2146,2187,2325,2548,3262,3459,3581,3374,2599,2374,3237,4070,3687,3200,2877,3120,3061,2712,2323,2263,2608,2807,3499,4047,3810,3425,3100,2895,3023,2872,2791,2818,2656,2374,2084,2418,2754,2827,2770,2644,2865,2661,3119,3311,2795,2277,2486,2130,2114,2098,2032,1902,1781,1792,1976,2276,2666,2954,2955,2459,2645,2498,2098,2101,2009,1802,1984,2067,1810,1656,1670,1785,1820,2009,1935,2005,1744,1628,1528,1528,1455,1565,1805,1769,1663,1729,1876,1675,1498,1527,1487,1530,1600,1644,2078,2499,1941,2928,3538,2345,2685,2251,2040,2132,2981,3480,3481,2998,2283,2198,2147,1788,1747,1425,1771,2132,2004,1876,2116,2058,1918,1908,2003,2010,1887,1505,1425,2060,1952,1739,1621,1750,1748,1769,1866,1725,1500,1615,2059,2054,1854,1475,1641,2656,2431,2119,2646,2907,2475,2244,2310,1781,2049,2044,1449,1476,2277,1928,2160,2155,2186,2656,2219,1746,1863,2197,2449,2740,2411,2213,2031,2109,2310,2497,2590,2546,2445,2933,3481,3128,2752,2578,2175,1874,1765,1764,2017,2734,3274,3104,2761,2678,2619,2840,3178,3068,2611,2284,2862,3200,3403,3636,3038,2998,2653,2172,2374,2563,2928,3330,3701,3737,3559,3579,3306,2829,2220,2358,2648,2492,2012,1941,1993,1865,1919,2254,2080,2165,2706,2478,2290,2600,2880,2385,1891,1836,1799,1775,2101,2842,2984,2141,1232,1728,2710,2904,2520,2137,1806,2004,2302,2317,2520,2540,2563,2170,1802,1874,1617,1794,2119,1975,1867,2625,3340,2082,1512,2467,2555,2963,2530,2188,2546,2576,2987,2510,1584,1572,1794,1995,1791,2002,2204,2278,2269,2012,1921,2007,2129,2293,2091,2032,2450,2369,2249,2370,2308,2103,1815,1764,1834,1945,1969,1923,2312,2701,2949,3447,3552,2745,2632,2675,2946,2841,2955,2524,2140,2469,2752,2938,2876,2744,2797,3085,3386,3789,3480,2056,2331,3134,2678,2148,2411,2856,2759,2808,2843,2821,3330,3230,3008,3042,2872,2429,2292,2369,2125,1942,1944,2330,2172,2046,2316,1874,1841,2000,1954,1864,1444,897,1011,1343,1416,1975,3006,2805,2975,2333,2064,2413,2529,2503,2417,2146,2383,2545,2381,1924,1740,2003,3003,3199,2979,2693,2366,2135,1649,1660,2229,2823,2498,2075,1937,2198,1935,2430,2571,2081,1617,1598,1843,2260,2182,1877,1404,1027,1379,1700,2193,2715,2017,1876,2154,2258,2308,2344,2351,2731,3340,3351,2336,2266,3074,2688,2161,1855,1616,1592,1884,2390,2496,2023,1692,1504,1566,1605,1686,1741,1585,1524,1459,1463,1548,1607,1433,1371,1455,1265,1382,1313,1207,1208,1489,1646,1601,1670,1847,2209,2800,3022,3110,2869,2609,2899,3006,2921,2567,2192,1650,1626,1739,1770,1789,1686,1214,1720,2621,1747,1628,1685,2384,2631,2532,2652,2238,1846,1864,1623,1538,1449,1610,1570,1802,2041,2092,2474,2258,2244,2268,2049,2178,2271,2081,2123,2570,3007,3370,3742,3492,3200,3637,3854,3773,3203,2327,1820,2032,2398,2608,3155,2820,2561,2445,2204,2058,2160,2296,2376,2810,3182,2717,2597,2813,2410,2625,2097,1989,2750,2688,2298,2023,2253,3145,3335,2288,2143,1621,1720,2136,2567,2403,2477,2081,2032,2001,1986,2194,2036,2045,1869,1906,2025,2223,2070,2115,2709,2909,2979,3450,4030,4028,3543,3182,3160,3531,4108,3839,2970,3085,3203,3300,3110,2778,2709,2156,1672,1857,1775,1494,1594,1771,2103,1719,1765,1831,1447,1557,2353,2788,2236,2035,1847,1853,1899,1382,1825,1831,1738,1504,1337,1461,1571,1299,1172,1481,1653,1760,1582,1367,985,1238,1488,1651,2517,3185,3249,3055,3055,3338,3307,2667,1859,1353,1738,1684,1227,1336,1655,1885,2675,3092,2554,2288,1980,1729,1391,1924,2238,1695,1743,2246,1830,1760,1889,1541,1643,1928,1676,1936,1880,1742,1863,1769,1783,1932,1707,1588,1980,2186,1906,1909,1879,1888,1945,1378,1379,1827,2254,2126,2089,2010,2377,3253,3907,3548,2736,2412,2015,1321,1355,1553,1730,1661,1666,1471,1347,1548,1860,1942,1678,1294,1273,1421,1460,1545,1601,1381,1338,1261,1490,1561,1388,1592,1969,1843,1506,1543,1515,1516,1433,1385,1707,1824,1738,1704,1555,1455,1516,1288,1321,1541,1488,1333,1336,1501,1572,1482,1459,1422,1515,1250,1396,1505,1617,2087,3106,3200,2156,1754,2300,2210,1826,1896,1644,1670,1636,1840,2178,1602,1241,1447,1682,1688,1596,1531,1446,1553,1533,1441,1438,1422,1448,1406,1469,1604,1078,846,1488,2380,2283,1919,2038,2287,2296,2208,2315,2455,2040,1815,1716,1541,1482,1678,1591,1706,2236,2107,1839,1626,1700,2217,2208,1806,1813,2201,2463,1859,1352,1337,1524,1793,1396,1434,1520,1761,2070,1920,2094,2389,2330,2031,2045,2395,2163,1595,1620,2060,2636,2271,2657,3177,2888,2508,2099,1675,1455,1823,2354,2381,2346,1964,1813,1794,1960,2205,2270,2279,2415,2330,1844,1459,1578,1860,2077,2120,2395,2519,2343,2166,2339,1988,1972,2157,2189,2525,2789,2620,1956,1838,1489,1405,1544,1857,1678,1705,1809,1433,1188,1592,1986,2056,2320,3044,3738,3852,3043,3116,3234,2994,3054,2648,2010,2297,2127,2176,3184,3704,3972,4181,4108,3788,3807,2789,2578,2909,3211,3518,3160,2784,3495,3791,2906,2265,2114,1870,1703,1979,2487,2779,2399,2270,2443,2148,2376,2980,3488,3791,3742,3489,2988,2810,2718,2322,2383,2254,1862,1591,1525,1613,1636,2153,2723,2675,3342,3057,2181,1857,1980,2180,2235,2026,1786,1950,2185,2236,3007,2200,2154,1945,1656,1733,2183,2404,2361,2078,2094,2543,2784,3093,3341,3645,3830,3400,3326,3876,4104,3649,3372,3260,2854,2702,2858,3145,3078,2596,2454,2270,2445,2434,2047,2175,2486,2385,2060,1990,1944,1836,1683,1474,1440,1387,1449,1545,2026,3006,3388,3435,3082,2352,1563,1373,1660,1668,1901,2168,1975,1690,1544,1464,1635,1643,1862,2029,2484,3417,3406,2963,2525,2595,3146,3477,3178,2973,3266,2937,2762,3011,3957,3754,3465,2573,2136,2107,2564,2586,1966,1779,1688,1571,1550,1649,1570,1366,1559,1701,2038,1975,1554,1470,1457,1363,1350,1312,1340,1482,1690,1884,1833,1532,1554,1437,1384,1642,1898,2106,1807,1503,1475,1533,1564,1627,1569,2062,2244,1931,1828,1916,2134,2511,2088,1753,1951,2688,2338,2207,2123,1643,1628,1809,1903,1930,1674,1580,1676,1727,1869,1855,1678,1688,1627,1485,1817,2083,1690,1837,2090,2303,2757,2442,1694,1608,1605,1669,1620,1583,1631,1976,2013,2042,2722,2220,1840,1687,1876,1505,1586,1858,1933,1928,1699,1612,1494,1749,2521,2796,2596,2524,2271,2300,2187,1839,1788,2116,2408,2480,1815,1609,1902,2041,2548,3013,2474,2155,2680,2886,3184,3576,2969,1964,1793,1719,1703,1911,2034,2017,2054,2263,1971,1736,2245,2310,2086,2735,2482,2551,2847,2334,2060,1833,2186,2604,2942,2666,2504,2980,2901,3078,3873,3491,2988,3051,2569,2213,2392,1936,1644,2453,2647,2607,2577,2893,3454,3296,3033,2979,2514,2452,2986,2987,2750,3121,2792,2130,2338,2419,2125,2065,2114,2531,2175,2098,2150,1953,1620,1801,2105,2102,2030,2137,2554,3342,3629,2729,1960,1759,1768,1773,1493,1499,1723,1649,1532,1587,1745,1600,1404,1486,1528,1799,1726,2088,2285,2019,1768,1771,1765,2039,2500,2577,2324,2012,1942,1842,2075,1661,1652,2009,2004,1834,1876,1825,1709,1686,1587,1689,2341,2076,1766,1815,1729,1437,1843,2000,1926,1952,1786,1639,1576,1685,2182,2255,2199,2057,1785,1662,1914,2360,2700,2990,3298,3461,3122,2731,2306,2010,2045,1864,1997,2733,2780,2601,2176,1990,1962,1530,1533,1596,2188,2593,1886,1482,1716,1548,1548,2329,2792,2842,2740,3027,3033,2404,2181,2163,2118,2206,2360,2226,2214,2193,2024,2013,2088,2279,2273,1997,1899,2255,2938,3426,3420,3046,3104,2727,2998,3589,3526,3436,3254,2652,1903,1944,1444,1628,1573,1755,1792,2008,2049,1973,2456],[2471,2031,2042,2243,2171,2036,1963,2377,2030,2208,2054,1659,1646,1684,1825,2353,3232,3897,3617,3076,3493,3470,3632,3505,2980,3283,3679,3705,3876,3872,3848,3405,2996,3462,3421,2893,2266,1432,1826,2404,2515,2641,2933,3172,3200,3299,3743,3750,3537,2975,2423,2490,2518,2408,1898,2088,2376,2149,2147,2758,3111,2895,2941,2372,2199,2193,1960,1860,1589,1623,2344,3176,3308,3078,2333,2018,1799,1859,1843,1730,1880,2106,2330,2336,2286,2676,3356,3765,3749,3355,2983,2842,2646,2585,2856,3011,2929,2694,2759,2921,2798,2598,2304,2126,2441,2556,2609,3211,3532,3006,2625,2112,1511,2063,2459,2217,2152,2040,2259,2851,2299,1845,1875,2285,2334,1903,1748,1987,1799,1931,2626,2963,2865,2403,2156,1803,1605,2066,1958,1601,1775,1810,1587,1826,2143,1695,1605,2043,1999,1960,1939,1825,1905,1969,2156,2359,2789,2968,3134,2814,2154,2482,2171,2518,2918,2533,2303,2230,2250,2568,3042,2850,2177,1793,2214,2473,2821,2353,1957,1886,1951,1970,1703,1453,1418,1530,1904,2725,3055,3185,3017,3105,2352,2512,2689,2775,2613,2595,2997,3173,3123,2857,2901,2171,2086,1667,1562,2165,2502,2387,2014,1835,2025,1862,2121,3467,3687,2608,2286,2370,2579,2664,2683,2842,2342,2099,2777,2532,2021,2160,2113,1756,1656,1717,1805,2026,2111,2060,2428,2720,3243,3917,3868,3261,2797,3116,3124,3041,3106,3003,2786,2446,2364,2636,2645,2397,2114,2084,2288,2851,2989,3100,3384,2954,2377,2340,2666,3270,3530,3235,3070,2997,3240,3416,3486,3256,3276,2659,4007,3457,2385,2222,2088,1943,1886,1589,1798,2019,2135,1688,2116,2502,1935,1425,1300,1331,1418,1598,1593,1753,1926,2130,2918,3572,3406,3566,3853,3024,2031,2311,2697,2579,2563,2754,2792,2713,3651,3737,2487,2156,1918,1711,1676,1631,1776,1808,1647,1525,1605,2106,2721,2558,2492,1896,2023,3042,3436,3112,2822,2922,2922,3285,4030,3813,2509,1974,3505,3741,2749,2198,2375,2755,3146,3464,3483,3250,2896,2909,2412,2530,2736,2746,2244,2214,2292,2038,2082,2365,2644,2589,2248,2651,3079,3124,3078,2275,1721,1577,1763,2452,2541,2128,2077,2009,2057,2279,2258,2045,2197,2612,2375,2361,2502,2955,3575,3113,2562,2271,1954,1734,1631,1575,1663,1720,2061,2351,2330,1987,1774,1679,1634,1248,1457,1758,1805,1833,1734,1815,1729,1618,1604,1595,1645,1629,1701,1984,2352,2188,3006,2918,2574,2730,2399,2055,2787,3386,3194,3052,2529,2188,2174,2130,2081,1974,1483,1519,1851,1682,1929,2445,2196,1956,1942,2027,1947,1826,2668,3050,2767,1665,1174,1488,1887,1807,1645,1877,1924,1654,1766,2078,1805,1542,1430,1445,2221,2636,2701,3067,3111,2669,2298,2173,2019,1938,1667,1886,1493,2151,2010,1922,2116,2027,2175,2239,2294,2200,2342,2491,3127,2908,2648,2801,2919,2832,2559,2323,2364,2463,2801,2786,2691,2556,2035,1728,1664,1748,2161,2902,3370,3044,2589,2468,2463,2531,2688,2624,2592,2639,2175,2016,2185,2795,3161,2822,2911,2951,3009,2696,2812,2851,3144,3858,3695,3591,3807,3664,3503,3107,2366,2096,2205,2226,2242,1852,1852,2150,2172,1696,1964,2113,1960,1863,2242,2526,2400,2276,2181,1756,1558,1801,2004,2330,2353,1883,2309,3107,2562,2156,2196,2042,2278,2194,1823,2460,2951,2867,2288,2035,1836,1571,1920,2366,2456,2549,2621,2667,1737,1377,1664,2024,2035,2095,2342,2217,2514,2500,1794,1722,1708,1808,2071,1937,2390,2248,2052,2266,1884,1586,1699,1851,1826,1910,2106,2714,2095,2022,2497,2674,2081,1767,1969,1853,1550,1907,2182,2930,3851,4272,4556,4618,2776,2077,2830,2863,3023,3175,2524,2604,2972,2945,3160,2725,2972,3059,2989,3310,3469,3033,2092,2376,2960,2268,2059,2298,2744,2388,2059,2139,2929,3314,2839,2730,3085,2953,2661,2776,2581,2379,3330,3360,2978,2623,2412,2317,2406,2575,2601,2497,2320,1727,989,1080,1270,1487,2048,2759,2922,2633,2146,2373,2529,2333,2636,2519,2455,2906,2428,2338,1979,1979,2420,2874,3023,3074,2625,2271,2513,2214,1874,2271,3008,2608,1975,1932,1759,1403,1628,2197,2647,2301,1963,2260,2456,2418,2421,1877,1533,1244,1322,2170,2541,2090,2042,2455,2601,2864,2542,2350,2125,1914,1758,2018,2373,2162,2003,1804,1619,1597,1739,1844,1914,2281,2048,1536,1521,1656,1552,1541,1406,1655,1659,1295,1321,1367,1324,1291,1332,1357,1246,1283,1254,1171,1162,1245,1511,1616,1608,1721,1413,1539,2017,2210,2161,1961,2812,3409,3330,3175,2657,2394,2403,2019,2087,2348,1689,977,2822,3672,2839,2258,1993,2260,2261,2176,2337,2014,1713,1579,1608,1333,1235,1535,1547,1514,1541,1614,1632,1703,1885,1865,2032,2158,2152,2287,2369,2020,2410,2442,2386,2613,2834,3239,3666,3650,3564,3329,2562,2699,3077,2719,3176,2980,2613,2640,2490,2297,2257,2243,2503,2397,2283,2042,2118,2481,2312,2553,1946,2327,2543,2276,2173,1842,2415,3043,2957,1366,1442,1548,1953,2321,2612,2692,2197,1600,1792,2073,2101,2278,2260,1980,1799,1837,1863,1744,1639,1778,2372,2563,3099,3752,3806,3848,3666,3571,3301,2957,3746,4007,3520,3342,3207,3110,3024,2700,2459,2018,1686,1995,2054,1541,1826,2208,1817,1688,1642,1285,1321,2256,3696,3221,2048,2031,2134,1856,1783,1788,2291,2198,1945,1707,1610,1561,1357,1005,1395,1649,1788,1799,1584,1349,1451,2486,1947,1189,1537,1748,2025,2203,2142,2077,1990,2061,1686,1297,1588,1386,975,1262,1720,2051,2657,2931,2589,2383,2298,1920,1502,2196,2456,2332,2688,2699,2129,1785,1919,1688,1797,2020,1723,1872,2010,1923,1855,1736,1826,1771,1703,1776,2166,2247,1588,1704,1947,1994,2115,1908,1929,2700,3426,3523,3364,2998,2624,3033,3395,3304,2818,2685,2085,1504,1506,1555,1642,1712,1517,1367,1482,1693,1761,1935,1613,1192,1299,1527,1616,1789,1568,1392,1411,1346,1365,1425,1396,1441,1458,1584,1504,1374,1343,1324,1276,1397,1671,1743,1675,1716,1522,1439,1383,1518,1427,1603,1606,1448,1360,1421,1547,1464,1417,1402,1431,1288,1530,1579,1613,1657,2118,2314,1824,2171,3093,2567,1851,1847,2023,1897,1834,2404,2475,1744,1530,1709,1842,1906,1713,1455,1401,1449,1406,1417,1548,1618,1520,1455,1586,1573,1477,1248,1470,2168,1864,1767,2534,2222,2133,2176,2348,2405,1768,1563,1662,1611,1616,1783,1630,1620,2000,1895,1720,1620,1635,1716,1654,1757,2267,2644,2286,1635,1617,1716,1937,2086,1698,1442,1671,1849,2072,1842,1650,2161,2160,1874,1912,2004,1836,1729,1808,2280,2646,2533,2667,2842,2930,2568,1938,1382,1199,1598,2240,2619,2370,2496,2491,2059,1812,1955,2178,2079,2160,2335,2330,1635,1673,2068,2260,2213,2307,2048,1741,1877,1969,1811,2070,2076,2083,2414,1788,1831,1735,1663,1504,1537,1835,1945,1540,2276,3415,3090,2452,2128,2332,2197,2108,2516,3341,4117,3629,2973,2812,2958,2664,2271,2508,2523,2297,2398,2941,3507,3321,3516,3276,2339,2573,2709,2805,3383,3720,3804,4021,4132,4320,4025,3423,2590,2088,1970,1920,2051,2460,2769,2409,2003,2012,2320,2842,2778,3068,3541,3563,3491,2910,2581,2306,1936,2100,1642,1394,1229,1358,1768,1942,2247,2598,2397,2489,2263,1776,1874,2148,1831,1878,2065,2037,2178,2354,2623,2569,2141,2273,2192,1844,1554,1902,2192,2232,1973,2000,2654,3474,4039,3695,3580,3965,4345,4420,4300,3445,2532,2400,2185,2242,2461,3072,3497,3322,2787,2428,2407,2659,2293,2005,2658,2994,2835,2237,1697,1591,1685,1527,1865,1935,1460,1455,1780,2491,3262,3184,3074,2455,2361,1844,1937,1932,1454,1754,2265,2105,1632,1512,1627,1638,1439,1470,1971,2340,3072,3055,2376,2192,2899,3582,3526,3300,3054,2961,2662,2610,2523,3112,3505,2680,1721,1617,1605,1977,2363,2053,1843,1450,1460,1393,1678,1604,1380,1485,1763,1884,1588,1471,1467,1470,1522,1286,1675,1533,1506,1734,2104,1982,1664,1460,1387,1327,1685,1648,1639,1471,1901,1606,1296,1571,1644,1556,1874,2021,1942,1904,1998,2180,1991,1787,2119,2377,2836,2580,2114,1958,1790,2090,2287,1745,1599,1488,1531,1675,1483,1674,2002,2102,1895,1961,1938,1825,2019,1725,1923,2002,1916,2322,2005,1472,1392,1651,1604,1425,1547,1938,2421,2150,2321,3151,2171,1840,1814,1758,1593,1876,1833,1704,1832,1747,1832,1875,2201,2609,2741,2403,2002,2207,2667,2669,2062,1958,2289,2116,1803,1672,1918,2185,2558,2644,2448,2044,2482,2901,3023,3320,3205,2279,1907,2132,1663,1644,1914,2123,2125,2323,2385,2244,1897,2151,2320,2160,3151,2122,2036,2352,1972,1808,1597,2141,2916,2850,2156,2320,3038,3173,3621,4153,3197,2598,2780,1897,1945,2426,2220,2526,2847,2648,2555,2486,2736,3416,3542,3288,3063,2339,2434,2921,2562,2511,2865,2315,1928,2217,2339,2168,2156,2281,2475,2172,2082,1797,1867,2162,2416,2631,2358,1994,2066,2448,2518,2815,2312,1760,1528,1563,1575,1488,1656,1771,1816,1673,1760,2072,1776,1598,1584,1736,1918,1930,2019,2056,2061,1959,1628,1555,1839,2028,1806,1829,1938,1889,1742,1878,1793,2099,2160,1853,2020,1860,1888,1746,1437,1481,1985,2659,2049,1710,1687,1478,1459,2149,2902,2421,2098,1760,1614,1561,1714,2018,1952,2009,2231,2065,1842,1773,1920,2218,2637,2745,2824,2060,2044,2213,2692,2775,2475,2781,2999,2258,1714,1815,2010,2032,1809,1531,1513,1600,1737,1942,1925,1438,1069,1295,1577,2198,2188,2072,2733,3108,2257,2189,2562,2460,2043,2435,2440,1828,2181,2286,2339,2488,2255,2002,2192,2172,2522,2947,2958,2851,2337,2030,2602,3588,3603,3586,3316,2890,2509,2293,2401,1910,1785,1781,1559,1637,1834,1786,1836,2090],[1990,1884,1984,2190,2003,1999,2500,2917,2604,2577,2120,1578,1712,1713,1710,1643,2098,3599,3824,3183,3526,3759,3754,3218,2742,3528,3793,3557,3519,3649,3836,3539,2887,3305,3582,3107,2303,1617,1946,2477,2490,2680,3094,3229,3252,3165,3274,3009,2621,2368,2020,2022,2479,2402,2163,2330,2335,2468,2502,2564,2946,2987,3122,2708,2178,2088,1861,1677,1983,2082,2275,2526,2584,2769,2396,2149,1938,1957,1676,2008,2184,1865,1849,2004,2248,3196,3452,3715,3940,3517,3482,3422,3153,3017,2968,2796,2313,2065,2523,2783,2499,2320,1944,2165,2909,2907,2856,3019,3226,2865,2670,2800,2185,2414,2480,2500,2525,2999,3142,3173,2281,1700,1970,2519,2264,1985,2077,1839,1702,2356,2794,2623,2273,2049,2180,1911,1772,1946,1687,1592,2075,2038,1760,1776,1770,1609,1942,2019,1998,2366,2366,2081,2062,2146,2160,2127,2547,2580,2566,2097,2104,2845,2844,2587,2416,2458,2460,2458,2504,2416,2438,2238,1943,1899,2150,2421,2331,1920,1970,2173,1951,1718,1694,1639,1604,1648,1995,2840,3133,3096,2742,2622,2915,3242,3039,3039,3494,3618,3505,3137,2830,2842,2997,2966,2847,2179,1909,2233,2175,2062,1870,1920,2162,1743,2026,2810,2852,2040,1971,2363,2550,2810,2984,2879,2670,2673,3122,2542,2126,2076,2187,2222,2191,2030,1959,1924,1835,2016,2896,3306,3312,3764,3706,3003,2664,2411,2573,2917,2900,2899,2431,1746,1988,1935,2455,2440,2637,2626,2530,2644,2679,2813,3176,2733,2114,2091,2511,3066,3217,3353,3550,3572,3753,3302,3544,3610,3404,3463,3718,3021,2366,2430,2708,2355,2096,1743,1794,2005,1982,1719,2014,2198,1758,1393,1433,1372,1597,2065,1755,1643,1876,1588,1760,2432,2874,3317,3824,3476,2446,2137,2280,2304,2096,2056,1754,2602,3520,3665,3300,3249,2653,1815,1645,1594,1681,1757,1568,1620,1735,2106,2360,2335,2613,2144,1877,2632,3040,2434,2383,2967,2732,2979,3702,3571,2469,2262,3375,3562,2938,2696,2611,2644,3222,3167,3108,3065,2395,2712,2219,2223,2663,2877,2729,2378,2239,2110,1884,1914,2201,2306,2122,2312,2658,2876,2995,2350,1862,1653,1554,1611,1959,2046,1918,1937,2258,2511,2522,2247,2345,2813,2833,2489,2236,2719,3587,3226,2841,2796,2599,2195,1703,1570,1666,1662,2014,2729,2778,2247,1919,1871,1960,1785,1598,1592,1745,1594,1565,1816,1845,1688,1460,1569,1673,1543,1958,2132,2209,2814,3525,3758,3419,2943,2354,2709,3386,3210,2863,2792,2402,2142,1904,1742,1549,1670,1664,1887,2054,1783,2254,2907,2589,2798,2999,2513,2208,1894,2586,3496,3470,2410,1644,1629,1622,1515,1517,1720,1974,1983,1943,2004,1814,1749,2042,1868,2164,3117,3049,2985,2663,2495,2371,2188,2036,1372,1840,2224,1553,1815,2211,2324,2590,2506,2657,2683,2299,2234,2304,2386,2546,2547,2614,2656,2471,2314,2141,2229,2645,2822,2768,2222,1976,1836,1802,1809,2013,2601,3163,3309,3016,2739,2787,2789,2718,2705,2687,2710,2648,2603,2311,1939,1746,2361,2670,1919,2397,2779,3584,3552,3283,2753,3442,4141,3936,3816,3902,3738,3641,3457,2832,2208,2053,2242,2270,1677,1697,1870,1838,1944,2309,2263,1914,1887,1972,1895,2257,2762,2808,2157,1804,1771,1702,2271,3219,2967,2396,2394,2000,1920,2112,2220,2214,1973,1875,2458,2818,2477,2010,1995,2012,1619,1902,2448,2666,2624,2229,2322,2436,1932,1528,1624,1750,2223,2215,1665,1841,1761,2060,2351,1990,1755,1909,2148,2286,1959,2006,2141,1865,1802,2546,2391,2032,2139,2293,2091,2104,2171,2722,2651,1875,1935,2107,2124,1882,2320,2036,2157,2642,3371,4120,4252,2900,2225,2386,2006,1989,2175,2377,2924,2911,2522,2820,2800,2910,2622,2513,3130,3472,2719,1758,2030,2301,2007,1944,1865,2121,2154,1812,1920,2795,3450,2874,2742,3292,3199,2746,2565,2518,2653,3184,3196,3175,3127,3264,3316,2920,3065,3553,3725,2824,2153,1790,1652,1850,1881,2378,2879,2724,2200,1924,2161,2492,2802,2496,2120,2744,3020,2608,2321,2051,2512,3029,3189,3099,2858,2330,2487,2850,2732,1995,1887,2314,2350,2569,2317,1975,1970,1926,2640,3608,2856,3076,2807,2219,2462,2508,2096,2317,1726,1252,1951,2554,2326,1906,2199,2376,2800,2986,2476,1935,1746,1600,1805,2140,2191,2027,1633,1488,1424,1595,1652,1974,1998,1794,1713,1768,1657,1418,1375,1388,1368,1249,1225,1214,1224,1356,1326,1377,1283,1190,1221,1263,1204,1151,1190,1464,1767,1627,1577,1430,1429,1523,1461,1504,1615,2135,2521,2472,2379,2678,3240,3601,3521,3464,3344,1708,966,1786,2908,2840,2262,2238,2414,2018,2181,2532,2253,1680,1520,1884,1826,1584,1688,1806,1828,1822,1745,1548,1556,1456,1514,1601,1598,1708,1967,2040,2106,2358,2263,2403,2510,2371,2497,2601,2708,2633,2889,2387,2401,2418,2353,2953,2899,2613,2696,2753,2751,2568,2360,2756,2448,1956,2317,2688,2345,2530,2597,2091,2104,1896,1801,2078,2155,2588,2724,2034,1263,2095,2646,2354,2430,2813,2510,1956,1925,2288,2303,1886,1808,1963,2114,2146,2016,1895,1839,1750,1937,2096,2194,2723,2663,2820,3300,3372,3365,3144,2722,3042,3565,3603,3447,3178,2889,2943,2385,2061,2025,1948,1842,1645,1517,2080,1998,1753,1843,1461,1360,1776,2938,3507,2273,2138,2143,2082,2065,2018,1783,1922,2412,2372,2006,1691,1360,920,1150,1596,1444,1866,1814,1503,1275,1427,1840,1415,1080,1249,1376,1459,1449,1377,1455,1803,1966,1520,1313,1596,1216,935,1307,1646,2178,3045,2821,2555,2288,1660,1265,1858,2675,2238,2087,2644,2733,2460,2022,2091,2061,2026,1996,1820,1845,1932,1780,1650,1693,1646,1621,1496,1870,2834,2667,1644,1730,1826,2005,2078,2217,2542,2797,3075,3270,3404,3338,2701,2943,3227,3276,2789,2613,2115,1841,1792,1549,1623,1811,1508,1261,1314,1616,1606,1577,1628,1524,1433,1433,1511,1538,1455,1546,1536,1345,1249,1304,1334,1434,1360,1607,1628,1354,1271,1218,1308,1708,2002,1964,1729,1585,1492,1387,1356,1397,1390,1420,1377,1380,1366,1390,1453,1456,1330,1292,1300,1402,1390,1490,1836,1868,1425,1294,1560,2181,2579,2157,2664,2751,2841,2466,2287,2558,2071,1617,1910,1950,1957,2112,1903,1625,1414,1340,1442,1584,1741,1622,1406,1427,1537,1562,1610,1902,1954,1747,1527,1613,2426,2367,2150,2195,2580,2259,1562,1671,1485,1476,1565,1518,1569,1569,1653,1513,1652,1870,2005,1973,2010,2083,1958,1767,1694,1536,2122,2345,1864,1636,1838,1795,1880,1775,1690,1383,1411,1953,2168,2178,1941,2110,2188,2025,2157,2540,2556,2547,2490,2648,2813,2196,1710,1492,1488,1823,2259,2162,2084,2559,2766,2719,2324,1991,1787,1940,1977,1835,2036,1749,1682,1914,2119,2141,1808,1536,1350,1239,1582,1925,2011,1779,1575,1484,1360,1672,1627,1337,1820,2400,2531,1959,1611,2401,3371,2657,3132,3186,2765,2218,1940,2456,3516,3815,3675,3215,3007,3191,1983,1688,2232,2260,2480,2700,2845,2851,2673,3166,3128,3096,3623,3441,3570,4608,4603,4660,4891,4736,4587,4195,3803,3008,2195,2030,2200,2519,2805,2768,2338,2116,2270,2426,2426,2331,2821,3322,3419,3184,2653,2621,2413,1887,1848,1897,1736,1508,1346,1506,1678,1820,2180,2271,1986,2045,1679,1818,2010,1583,1489,1624,1810,1795,2084,2239,1733,1963,2310,2122,2187,1945,1908,2316,2578,2229,1901,2357,3222,3789,4081,3949,3990,4595,4403,3796,2723,2173,1944,2063,2392,2820,3006,3256,3264,3108,2896,2603,2658,2674,2856,3219,3248,3266,2641,1843,1718,1577,1582,1920,1750,1527,1781,2649,2763,2533,2541,2150,1767,1523,1597,2221,2009,1556,1566,1819,1896,1580,1552,1528,1506,1426,1454,1987,2242,2626,2624,2238,2656,3243,3610,3742,3710,3510,3233,2599,2665,2562,2310,2524,2120,1460,1586,1572,1532,1577,1788,1588,1646,1600,1370,1578,1678,1571,1463,1538,1468,1544,1714,1376,1432,1623,1368,1500,1449,1487,1642,1698,1924,2045,1634,1418,1388,1633,1500,1426,1560,1839,1512,1581,2019,1784,1694,1752,1495,1607,1858,1926,1844,1659,1572,1941,2336,2865,2687,2001,1621,1804,1960,1990,1720,1714,1505,1456,1606,1660,1654,1749,2194,2397,2389,1796,1826,2063,1923,1842,2243,2042,1780,1779,1577,1605,1597,1398,1445,1596,1812,2026,1948,2455,2542,1836,1724,1770,1617,1533,1840,1857,1631,1757,1963,1843,1812,2165,2307,2270,2060,2035,2534,2872,2545,2266,2226,2403,2213,2130,2289,2548,2545,2655,2313,2076,2566,3230,3365,3322,3211,2873,2115,1809,1951,1463,1518,1914,2114,2451,2808,2482,2076,2068,2016,1945,2236,3337,2001,1359,2146,2139,1784,1824,2389,2951,2944,2205,2191,3087,3133,3057,3309,2921,2884,2490,2064,2630,2720,2388,2742,2922,2401,1885,2308,2233,2896,3464,3350,2988,3033,3232,2902,2321,2398,2482,1996,1796,1881,1755,1860,2089,1990,1930,2140,2078,1805,2095,2611,2688,2574,2002,1830,1961,2317,2435,3016,2566,1754,1512,1435,1339,1427,1925,2188,1721,1439,1808,1952,2109,1876,1531,1667,1955,2137,1837,1642,2161,2156,1654,1715,1779,1845,1896,2081,1947,1914,1837,1445,1464,1902,1895,2134,1983,1736,1897,1794,1560,2237,2388,1942,1667,1709,1585,1470,1432,1908,2639,2291,1867,1413,1379,1608,1831,1730,1610,1862,2141,2169,1998,1734,1725,1677,1651,1587,1409,1584,1865,2535,3484,3771,3698,3230,2435,1639,1631,2048,2373,2468,2385,1897,1600,1657,1699,1906,1870,1453,1812,2522,2283,2698,2099,1755,2012,2150,1810,2054,2450,2902,2840,2588,2417,1932,1794,1856,2360,2303,1862,1663,1987,2030,2165,2719,3526,3418,2499,2395,3210,3746,3691,3781,3360,2746,2596,2820,2631,2308,2126,1692,1621,1714,1532,1564,1590,1854],[1953,1987,2037,2185,2323,2524,2963,3125,2765,2589,2340,2161,2101,1890,1642,1388,1879,2776,3465,3261,3418,3914,3842,3515,3373,3899,3698,3447,3311,3503,3740,3621,3117,3397,3661,3182,2629,2246,2187,2225,2188,2191,2546,2929,3069,2810,2281,2296,2441,2292,1995,2426,2992,2712,2864,2768,2553,2711,2779,2474,2665,3002,3227,2833,2460,2752,2667,2193,2381,2400,2402,2071,2236,3125,3641,2964,2585,2500,1954,2146,2093,1784,2049,2121,2446,3213,3605,3739,3919,3919,3892,3642,3240,3017,3087,2370,1853,2300,2912,2539,2406,2327,1886,2250,3079,3162,2973,2763,2611,2496,2341,2844,2797,2865,2775,2831,2734,3430,3812,2708,2017,1937,2218,2531,2228,2215,1852,1540,1523,1991,2318,2106,1960,2058,1904,1671,1865,1532,1161,931,1507,1834,1975,1940,1688,1893,1895,1855,2291,2942,3003,2218,1976,1932,1764,1936,2251,2604,3201,2968,2778,2877,2495,2088,2030,2280,2598,2777,2534,2235,2425,2447,2259,2490,2813,3228,3096,3141,3476,3229,2618,2336,2051,2093,2180,2028,2465,3368,3441,3185,3176,3272,3384,3310,3044,3077,3451,3535,3550,3070,2888,2929,2952,3141,2887,2283,1905,2037,1932,2117,1988,1853,1774,1700,1782,1879,1820,1905,2060,2253,2628,2987,2561,2397,2790,2763,2725,2238,2300,2159,2155,2452,2318,2345,2220,1793,1230,1292,2054,2375,2797,3303,3458,3161,2771,2141,2076,2301,2238,2743,2387,1624,1969,1759,2472,2652,2815,2625,2678,2636,2105,2048,2588,3252,3112,2751,2777,3197,3471,3466,3362,3539,3752,3693,3830,3641,3527,3765,3502,2648,2734,2722,2530,2497,2403,2345,2556,2967,2802,2000,1682,1897,1741,1399,1513,1367,1538,1556,1589,1431,1498,1782,2074,1991,2194,2893,3625,3765,2807,1879,1824,1771,2105,2187,2382,3054,3440,3557,3816,3991,3409,2008,1526,1424,1505,1531,1485,1612,1495,1919,1838,1806,2553,2433,1861,2221,2983,2539,2497,2677,2463,2647,2920,3054,3198,3289,3495,3762,3959,3748,3245,3043,3162,3068,3307,3428,2604,2396,2221,2160,2734,3300,3311,2542,2396,2214,1909,1342,1467,1505,1776,2075,1825,2005,2200,1945,1857,1801,1908,2054,2265,2097,1837,2312,2578,2503,2398,2304,2630,2952,3098,2956,2064,2014,2037,2280,2707,3000,2928,2474,1762,1837,2094,1609,1889,2868,2569,2285,2176,2152,1986,1886,1759,1649,1526,1417,1641,1811,1768,1520,1531,1648,1544,1513,1843,2560,2725,2610,3112,3549,3583,3031,2291,2651,2668,2612,2335,1686,1744,2209,1933,1800,1763,1789,2018,2701,2670,2426,2968,3062,2791,3219,3586,3295,2767,2243,2054,2336,2584,2383,2136,2188,1902,1771,1522,1597,1922,2014,1975,2138,2089,1991,2294,2051,2036,2898,2785,2650,2288,2060,2202,2106,1503,1410,1863,2147,2241,2487,2647,2797,3167,3538,3805,3364,2598,2247,2176,2241,2272,2352,2499,2575,2546,2662,2625,2584,2696,2317,1939,1802,2001,2254,2313,2537,3089,3463,3374,2965,2910,3108,3167,3083,2995,2939,2743,2862,2961,2872,2527,1996,1778,1904,1813,1373,1979,2480,3121,3514,3322,3039,3510,3784,3648,3719,3790,3670,3561,3397,2754,2224,2159,2104,1828,1802,1936,1995,2114,2345,2485,2150,1815,1826,2026,2076,2126,2500,2657,2182,1996,2083,1965,2330,3118,3044,2476,2144,1876,1766,1825,1719,2002,2029,2164,2457,2562,2218,1819,1922,2244,1939,2227,2015,2003,1993,2099,2272,2417,1999,1569,1656,1650,1712,1992,2248,2133,2219,2332,2338,2100,1932,2099,2010,1912,2248,2197,1814,1950,2192,2608,2351,2145,2079,2130,2143,2377,2510,2904,3231,3030,2615,2092,1797,1761,1940,1938,2478,2398,2409,3096,3331,2657,2110,1977,1854,1785,2225,2501,2508,2359,2308,2014,2270,2873,2796,2569,2864,2997,2230,1794,2251,2634,2635,1777,1853,2541,2476,2500,2460,2956,3464,3007,3129,3501,3351,2799,2460,2451,2883,3398,3309,3209,3018,3040,2756,2399,3559,3756,3167,2415,1664,1586,1979,2336,2305,2580,2756,2442,1886,1841,1968,2198,2333,1980,2233,2511,2547,2697,1990,1383,2130,2981,3099,2975,2563,1707,1507,2432,2470,2054,1998,1918,2030,2210,2364,2623,2344,1910,1775,2501,2444,3863,3624,2563,1975,1906,2237,2630,2244,1846,2413,2690,2553,2035,2077,2249,2457,2582,2238,1893,1927,2189,2455,2436,2369,2378,1693,1419,1513,1487,1637,2420,2134,1552,1577,1663,1566,1355,1416,1485,1470,1372,1239,1560,1878,1719,1356,1233,1219,1213,1224,1206,1185,1165,1183,1436,1824,1498,1374,1388,1376,1371,1315,1314,1407,1581,1697,1782,1708,1998,2492,2688,2945,3226,3474,2478,1918,2178,2144,1944,1863,1595,1688,2040,2629,3222,2531,1849,1644,1305,1419,1913,1935,2036,2420,2391,2207,2085,2005,2019,1785,1558,1577,1519,1675,1840,1847,1909,1820,1672,1946,2258,2175,2295,2314,1891,2053,2077,2325,2746,2943,2872,2641,2727,2981,3083,3035,2607,2446,2702,2965,2788,2912,2709,2223,2598,2597,2526,2742,2326,1957,2117,1936,2030,2114,1625,1440,2138,2810,2600,2574,2497,2721,2558,2353,2102,2077,2023,1806,1869,2043,2070,1863,1772,1891,1710,1851,1878,2031,1969,1424,2270,2940,2764,2857,3234,2877,2669,3128,3666,3684,3250,2552,2347,1946,1970,1820,1836,1406,1249,1769,1978,1780,1975,1749,1574,1836,2234,2361,2024,2125,2408,2404,2248,2099,1965,1623,1764,2021,2317,2243,1604,1004,1001,1476,1595,1406,1690,1741,1476,1287,1184,1153,1005,1208,1335,1317,1294,1383,1346,1521,1965,1993,1427,1325,1593,1182,991,1323,1735,2164,3078,2911,2568,2381,1542,1022,1692,2209,1876,2152,2766,2874,2501,1865,1790,1917,1925,1909,1745,1610,1614,1586,1694,1709,1402,1417,1426,1837,2766,2533,1794,1787,2100,2209,2079,2134,1976,1821,2186,2297,2245,2453,2652,2942,3665,3698,2947,2447,2153,1886,1826,1557,1756,1909,1491,1258,1345,1491,1321,1358,1593,1662,1615,1543,1354,1402,1377,1416,1470,1810,1504,1207,1309,1452,1392,1543,1487,1318,1319,1296,1368,1523,1575,1606,1477,1533,1811,1707,1406,1331,1294,1336,1370,1413,1362,1350,1430,1386,1410,1244,1306,1345,1367,1652,2420,2550,1621,1508,1779,2300,2514,2477,3018,3140,2703,2168,2536,2710,1990,2461,2647,1861,1992,1872,1809,1855,1677,1454,1534,1535,1392,1364,1409,1646,1600,1539,1572,1939,1687,1820,1632,1691,2223,2264,2144,2253,2608,2349,1540,1448,1318,1448,1550,1415,1486,1638,1750,1845,1992,2517,3131,3301,3219,2986,2837,2798,2376,1976,2111,1965,1854,2149,2430,2344,1910,1699,1986,1949,1985,2041,2645,2749,2442,2217,2018,1875,2135,2787,2696,2241,2242,2486,2643,2055,1799,1678,1608,1863,2492,2674,2896,2849,2279,2375,2402,2429,1886,1675,1522,1627,1705,1612,1565,1578,1675,1748,1493,1644,1734,1472,2047,2382,2073,1676,1572,1280,1449,1712,1562,1476,1892,2388,2377,2120,2071,2310,2979,2180,2746,2833,2352,2050,1917,2283,3025,3473,3418,3005,3039,2824,1558,1574,1762,2249,2819,2887,2524,2532,3108,3941,4126,4387,4639,4332,3708,4484,4424,4439,4785,4965,4953,4453,3792,2899,2247,2193,2420,2202,2348,2404,2220,1829,1677,1857,2046,2187,2423,2466,2620,2388,2158,2166,2336,2063,1778,2011,1862,1371,1290,1609,1717,1566,1831,1962,2190,2341,1681,1493,1513,1469,1466,1513,1553,1620,2171,2282,1700,1889,1948,2269,2834,2757,2080,1916,2219,2407,2297,2422,2517,2911,3747,3806,3393,3493,3421,2979,2933,2758,2284,2224,2513,2719,2470,2535,2754,2855,2196,1736,2043,2630,3079,3370,3438,3421,2604,1897,1788,1479,1517,1469,1380,1418,2116,3063,2775,2542,2220,1550,1476,1668,1867,2247,2721,2142,1737,1836,1748,1643,1686,1730,1532,1502,1644,1930,2079,2283,2532,2585,2981,3362,3464,3715,3951,3790,3321,3272,3549,2640,1958,2241,2490,1809,1722,1482,1370,1470,1621,1419,1563,1630,1590,1720,1615,1580,1602,1511,1373,1527,1718,1485,1261,1338,1320,1376,1430,1620,1904,1660,1802,1920,1673,1368,1495,1400,1459,1481,1358,1326,1391,1585,1627,1507,1608,1575,1444,1548,1456,1919,2316,2494,2120,1942,2391,2558,2160,1893,1929,2359,2023,1662,1832,1755,1711,1861,1787,1742,1745,1630,2126,2256,2700,2223,2036,1899,1881,1871,2140,1800,1801,1811,1606,1692,1672,1565,1547,1585,1733,1750,1505,1886,2281,2107,1964,1826,1687,1637,1906,1663,1454,1951,2290,1887,2153,2230,2094,2161,1946,1852,2118,2293,2117,2136,1939,2365,2270,2370,2644,2909,2690,2610,2921,3081,2667,3033,3267,3152,2569,2792,2160,1834,1772,1681,1916,2051,2048,2186,2337,2439,2000,2122,2281,2279,2838,3465,2255,1591,2108,2231,1833,1639,2176,2800,3239,2576,2524,3162,3089,2947,2833,3097,3117,2566,2626,3024,3274,3232,2884,2512,2146,1795,2263,2907,3474,3488,3189,3033,3022,3000,2919,2459,2511,2215,1745,1686,1762,1771,1934,2530,2833,2208,1697,1908,2261,2780,3029,2498,2103,1556,1786,2158,2631,2794,2777,2225,1720,1627,1493,1272,1237,1808,2327,1647,1521,1630,1694,2166,1918,1503,1636,1838,2026,1763,1948,2536,1844,1736,1891,1909,1980,2034,1761,1677,1830,1657,1523,1940,1971,1775,2398,1903,1793,1934,1952,2155,2352,1740,1403,1603,1652,1448,1495,1555,1769,1992,1711,1797,1947,1690,1851,1831,1356,1529,1853,1962,2104,2128,1713,1316,1376,1508,1358,1163,1693,2290,3450,4037,3916,3797,2954,1957,1864,2182,2527,3124,3135,2932,2835,2300,1797,1770,1970,1898,1877,2598,2690,2259,2215,2223,2345,2304,1813,1814,2002,2254,2865,2932,2371,2586,2337,1658,1532,2296,2052,1690,1823,1983,2036,2248,2828,3486,3582,3316,3476,3930,3877,3536,3339,2994,2622,2897,3257,2789,1891,1698,1715,1749,1941,1738,1648,1980,2628],[1888,2024,2420,2546,2810,3061,2945,2980,2752,2592,2780,2562,2100,2068,1992,2236,2059,1603,2626,3304,3250,3958,3892,3946,3759,3592,3429,3399,3292,3427,3629,3420,2936,3038,3166,2987,3073,3063,3052,2231,1715,1937,2530,3076,3267,2789,2483,2750,2613,2555,2780,3160,3188,3038,3231,3142,3020,3077,3096,2731,2601,2877,2974,2778,2855,3143,3008,2517,2254,2351,2346,2249,2316,2878,3452,2819,2663,2964,2342,2379,2565,2889,2976,2465,2181,2871,3553,3835,3979,4050,3928,3463,3196,3046,3094,2372,2445,2714,2593,2379,2473,2492,2435,2646,3107,2944,2635,2451,2301,2093,2425,2836,2391,2162,2378,2646,2814,3543,3500,2255,1696,1876,2187,2691,2779,2007,1585,1602,1671,1698,1845,1949,1894,2085,2417,2250,2478,2024,1742,1482,1975,2011,1987,1843,1709,1897,1941,2133,2744,3489,3142,2707,2633,2141,1896,1796,2143,2103,2287,2481,2420,2434,2201,1626,1814,2108,2744,2819,2521,2525,2796,2529,2203,2222,3084,3869,4070,4292,4162,3639,2887,2784,2489,2523,2665,2331,2592,3323,3178,2933,3072,3277,3238,2971,3082,3167,3422,3115,3123,3071,3018,2878,3016,3054,2906,2418,2088,2332,2153,2117,2101,1770,1478,1576,1579,1601,1710,1616,1582,1846,2352,2858,2622,2810,2846,2688,2354,2279,2934,2731,2312,2352,2608,2779,2340,2024,1433,1191,1401,1563,2496,3085,3071,2674,1958,1533,2279,2618,2304,2729,2256,1798,2333,2662,2878,3110,2607,2025,2148,2308,2259,2038,2393,3333,3413,3270,3254,3370,3642,3698,3537,3525,3520,3508,3448,3187,3239,3486,3233,2453,3299,3166,2597,2634,2343,2446,2950,3266,3083,2407,2120,1912,1571,1516,1533,1404,1561,1664,1482,1302,1341,1732,2041,1782,1831,1945,2543,3274,2669,2145,2252,2438,2486,2449,2734,3088,3098,3249,3636,4132,3852,2307,1749,1461,1756,2030,1887,1717,1519,1836,2126,2082,2385,2035,1823,2276,3118,3023,2597,2281,2463,2507,2454,2872,3580,3865,3812,3848,3857,3421,3129,2975,2898,2547,2741,3187,2725,2135,1982,2084,3300,4160,3587,2480,2482,2317,1876,1480,1431,1447,1870,2051,1787,2027,1775,1533,1749,1643,1969,2222,2229,1913,2288,2843,2632,2333,2140,2150,2394,2524,2599,3175,2680,2186,1842,1926,2088,1960,2204,2327,1805,1994,2679,2050,2154,2731,2243,1785,1769,2160,2396,2186,1942,1728,1702,1577,1667,1725,1649,1588,1515,1482,1370,1527,1885,2092,1862,1925,2560,3143,3226,2919,2360,2430,2410,2226,1938,1788,2307,2137,1766,1786,1860,2676,2784,3198,2633,2431,3177,3008,2927,3404,3436,3095,2776,2301,2119,2298,2569,2968,2731,2461,2331,2104,1860,1869,2111,2122,2070,2122,1832,1630,2276,2406,2304,2641,2264,1637,1269,1205,1779,1872,1709,2239,2562,2743,2598,2347,2071,2329,3060,3450,3292,2874,2415,2140,2090,2119,2440,2732,2680,2713,2867,2833,2273,1865,1744,1738,1938,2135,2326,2574,2944,3420,3658,3537,3076,2777,2972,3181,3109,2908,2714,2640,2545,2606,2758,2781,2511,2126,1909,1754,1632,1623,2200,2329,2374,2855,2958,2757,3027,3332,3348,3349,3532,3444,3210,2923,2520,2254,2164,2366,2377,2172,2032,2237,2554,2342,2235,1758,1675,1790,1846,1922,2123,2082,1901,1713,2032,2537,2279,2276,2709,2188,1713,2452,2049,1735,1569,1615,2202,2508,2676,2894,2828,2135,2027,2354,2159,1940,2103,1887,1921,2375,2435,1945,1686,1610,1694,1865,1817,2016,2074,2287,2048,2491,2596,2348,2132,2069,2027,1711,1855,2062,1780,1837,1763,1984,2317,2018,2161,2061,1736,1597,1870,2371,2841,3220,3068,2599,1855,1804,2005,1708,2174,2789,2524,2500,2372,2179,1820,1755,1920,2481,2475,2570,2250,1966,2368,2632,2352,2617,2795,2678,2668,2869,2276,2194,2155,2462,2888,2497,1956,2524,2404,2177,2412,2386,2481,3083,3215,3071,3471,3467,2962,2964,2587,2767,3491,3661,3561,3042,3010,2258,2007,2868,3354,3189,2304,1466,1652,2174,2008,2078,2604,2764,2318,1651,2098,2186,2040,2106,1788,2697,3495,3371,2473,1687,1924,2921,2766,2583,2733,2121,1686,1626,2030,2611,2734,2104,1618,1569,1722,2273,2649,2387,2150,2460,2996,3243,3573,3288,2215,1405,1659,2034,2229,2389,2465,2275,2201,1954,1846,1802,2508,2642,2532,2607,2223,2053,2063,2093,2453,2459,2408,1759,1544,1802,1596,1691,2313,2052,1437,1377,1516,1628,1521,1544,1456,1359,1361,1167,1498,1905,1748,1328,1273,1372,1314,1299,1249,1310,1273,1268,1428,1835,1564,1534,1457,1286,1364,1375,1361,1433,1574,1420,1720,1743,1776,1939,1998,2248,2337,2630,2532,2082,1881,2066,2249,1758,1475,1476,1890,2558,2978,2558,1964,1163,725,1439,1990,1913,1943,2146,2442,2509,2502,2429,2409,2129,2238,2164,1944,1900,1766,1886,1811,1458,1161,1177,1279,1415,1739,1794,1701,1851,2061,2342,2360,2352,2331,2275,2558,2867,2919,2770,2176,2278,2530,2555,2953,3271,2325,2231,2940,2337,2426,2216,1873,1891,1996,1678,2292,2327,2106,2198,1998,2458,2569,2557,2426,3185,3025,2608,2318,2099,2112,2054,2081,1892,1852,1814,1700,1559,1551,1860,1892,1825,1853,1851,3066,3786,3130,2933,3001,2580,2766,2982,3323,2891,2367,2049,2400,2065,1749,1772,1676,1449,1636,2042,1776,1865,1699,1511,1532,1876,2099,1822,1743,2055,2261,2417,2489,2574,2088,1931,1990,1749,1967,1891,1189,951,1282,1605,1779,1623,1609,1649,1386,1097,1322,1262,968,937,1172,1396,1478,1431,1255,1441,1824,1810,1413,1322,1363,1191,1118,1388,1744,2345,3000,2932,2766,2319,1438,1202,1331,1467,1657,2534,3078,2985,2588,2198,1961,1858,1876,1972,1968,1912,1968,1846,1858,1620,1350,1401,1415,1958,2567,1992,1649,1695,1655,1833,1994,2014,1822,2064,2776,3060,2665,2309,2243,2369,3242,3706,2966,2482,2256,1732,1688,1472,1662,1864,1688,1589,1610,1342,1225,1417,1502,1615,1570,1655,1427,1656,1488,1495,1911,2307,1787,1260,1227,1274,1223,1301,1244,1284,1290,1264,1419,1371,1262,1224,1406,1778,2073,1808,1434,1396,1506,1745,1395,1367,1225,1305,1425,1344,1282,1239,1260,1258,1262,1455,2084,2396,1872,1874,1983,2256,2512,2484,2995,2814,2032,2058,2674,2580,1846,2036,2099,1928,2094,1844,1805,1781,1860,1622,1434,1252,1223,1375,1488,1812,1599,1560,1614,1610,1591,1613,1379,1857,2399,2137,2038,2010,2122,2134,1782,1843,1602,1510,1416,1368,1403,1608,1880,1996,2201,2890,3397,3482,3500,3460,3491,3608,3360,3121,2845,2369,2018,2382,2824,2590,2307,2489,3496,3064,2752,2519,2519,2586,2612,1991,1552,1565,1924,2279,1966,2411,2621,2181,1953,2026,2027,1666,1482,1759,2720,3411,3840,3608,2766,2480,2430,2248,1888,1901,1805,1553,1593,1671,1634,1562,1705,1622,1563,1934,1913,1311,1676,2301,2141,2059,1714,1317,1718,1888,1481,1434,1679,1666,1802,2189,2460,2335,2358,1909,1930,2146,1905,1867,1918,1624,1708,2310,2530,2865,3197,2432,1725,1681,1724,2397,3028,2349,1892,2173,2947,4284,4772,4811,4948,4807,3869,4143,4360,4089,4034,4104,3899,3508,3460,3219,2569,2359,2452,2052,2058,2071,1840,1513,1577,1874,1897,2410,2220,1825,1697,1626,1939,1975,2396,2026,1548,2102,2226,1630,1872,2172,1944,1914,2436,2103,2662,2523,1765,1541,1542,1528,1626,1611,1548,1605,2025,1998,1488,1566,1552,1926,2890,2613,1776,1519,1865,2342,2663,2850,2878,3085,3304,3520,3550,2876,2898,3018,3550,3762,3266,2695,2653,2170,1926,1973,2316,2319,2501,2387,2062,2433,3140,3489,3328,2874,2099,1465,1543,1450,1483,1436,1434,1389,2169,2635,2547,2464,2181,1674,1388,1613,1822,2269,2888,1893,1643,1794,1787,1815,1950,2009,1923,1763,1804,2024,1865,1997,2621,3068,3262,3430,3276,3347,3818,3697,2976,3084,2980,2303,2519,2407,2671,2366,1844,1595,1576,1710,1749,1562,1651,1660,1616,1878,1892,1770,1532,1370,1428,1570,2213,1826,1280,1338,1300,1246,1326,1393,1511,1360,1504,1525,1565,1470,1344,1414,1629,1453,1252,1365,1526,1499,1282,1318,1540,1551,1494,1612,1690,1958,2088,1945,1996,2100,2010,1909,2235,2175,2553,2830,2375,1722,1727,1681,1514,1667,1746,1699,1851,1558,1836,1908,2374,2030,1798,2065,2005,1879,2056,2126,2071,1632,1615,1707,1915,2101,1974,1645,1714,1808,1410,1900,2562,2857,2940,2215,1754,1641,1849,1654,1760,1771,1621,1723,1861,1651,1998,2129,1698,1447,1692,2242,2542,2200,1910,2166,2215,2164,2432,2656,2618,2823,2918,3111,2955,2986,2856,2546,2188,2428,2204,2106,1970,2092,2270,2106,1898,1740,1878,2183,1760,1691,2021,2635,2924,2824,2290,1818,1856,2258,1902,1582,1946,2443,2732,2653,2864,3040,3039,2972,2955,3050,2877,2908,2643,2367,3154,3212,2401,2114,2431,2585,2984,3492,3431,3128,2972,3051,2591,2479,2852,2895,2819,2158,1754,1775,2238,2501,2271,2605,2929,2403,2008,2588,2827,3133,3182,2271,2019,1820,1914,2054,2302,2811,2958,2400,2234,2198,1735,1541,1771,2040,2294,2372,2106,1809,1825,1710,1470,1782,1907,1759,1828,1897,2250,2373,2006,2326,2340,1975,2155,2443,2018,1816,1790,1855,1555,1780,1915,1722,1884,2138,2010,1884,2067,2382,2180,1637,1469,1597,1603,1509,1648,1963,1954,1773,1573,2268,2662,2296,2307,1981,1600,1875,1515,1643,1961,2191,1822,1349,1359,1571,1836,2170,2099,2364,3487,3458,3069,3108,3210,2484,2365,2603,3009,3445,3303,3457,3706,3474,2756,2279,1876,1872,2072,2481,2138,1809,2017,2494,2749,2165,1572,1708,1700,2491,3267,2820,2464,2909,2111,1449,1576,2101,2126,2027,2231,2518,2587,2457,2810,3001,3458,3582,3484,3628,3726,3203,2765,2799,2934,3074,3007,2435,1926,1870,1472,1353,1693,1838,1878,2243,2702],[2317,2705,3041,2930,3038,3035,2263,1953,2257,2292,2646,2560,2517,2695,2702,3095,2565,1258,1829,3035,3064,3637,3884,4000,3569,3443,3549,3404,2690,2634,3327,2943,2720,2611,2524,2993,3388,3298,3461,2253,1538,1719,2416,2790,2656,2377,2348,2507,2774,3052,3864,3780,3123,3430,3520,3079,2868,2906,2952,2954,2758,2712,2675,2989,2834,2589,2604,2426,2050,2079,2309,2375,2161,2046,2169,2169,2173,2190,2222,2213,2663,3243,3163,2285,1776,2401,3009,3376,3748,3851,3756,3230,2988,2968,2699,2413,2546,2295,2191,2444,2705,2995,2884,2810,3321,3261,2574,2636,2761,2251,2284,2471,2297,2232,2466,2460,2643,2965,3111,2596,2213,2480,2147,2539,2639,2070,2041,1980,1832,1805,1942,1844,1805,2290,2295,2234,2495,2306,2382,2457,2388,2042,1745,1624,1687,1853,2270,2604,3162,3123,2834,3439,3174,2314,2008,2036,2296,2135,2009,2000,1956,1886,1952,1841,1993,2384,3277,2942,2833,3175,2816,2246,2313,2631,3292,3455,3946,3903,3749,3505,2762,2378,2485,2851,3065,2906,2796,2786,2351,2064,2832,3072,3230,3088,3168,3352,3436,2686,2252,2809,3138,3141,3106,3098,2887,2552,2361,2199,1875,2176,2165,1829,1717,1792,1942,2032,1947,1923,2081,2144,2014,2216,2662,2852,2620,2457,2399,2792,2994,2502,2217,2354,2742,2415,2226,2088,2125,1748,1533,1819,2822,3418,3249,2489,1337,1081,1913,2454,2522,2713,2389,2015,2713,3156,3047,2774,2229,1884,2017,2052,2076,2310,3076,3282,3428,3119,3168,3339,3396,3315,3243,3151,2918,2886,2680,2610,2857,3410,3432,2613,3260,2820,2396,3052,3032,2801,3029,3173,2800,2564,2767,2416,1661,1438,1590,1556,1702,1927,1885,1697,1421,1663,1826,1809,1782,1615,1827,2039,1905,2071,2417,2724,2687,2222,2208,2755,2922,3182,3551,3909,3541,2510,2123,1661,1942,2281,2149,1864,1636,1770,2089,2179,2512,2463,2429,2661,3086,3143,2620,2213,2354,2656,2737,2942,3476,3726,3288,2775,2910,2911,3278,3432,3183,2696,2734,2976,2432,1911,1881,2058,3577,4177,3624,3224,2757,2272,1885,1726,2030,2152,2006,1754,1735,1872,1665,1642,1580,1755,2210,2198,2030,1978,2249,2667,2599,2217,2227,2354,2542,2548,2574,3021,2409,1693,1606,1926,2243,2002,1890,2045,1742,1634,2375,2162,2633,2656,2117,1967,1904,2307,2532,2007,1733,1588,1786,1737,1696,1612,1466,1467,1415,1472,1458,1447,1723,1917,2242,2246,2796,3176,2698,2743,2534,2486,2365,2066,1671,1960,2568,2061,1730,1920,2057,3035,3309,3376,2763,2761,3041,2821,2735,2911,3001,3132,2838,2494,2354,2395,2947,3574,3780,3812,3399,2929,2448,2234,2261,2253,2218,1861,1468,1677,2863,3452,3399,3652,2583,1338,1102,1200,1681,2142,2212,2469,2437,2099,1773,1683,1683,1792,2344,2458,2282,2186,2219,2356,2323,2237,2388,2265,2036,1967,1859,1696,1727,1902,2130,2314,2461,2643,2999,3224,3542,3754,3894,3780,3175,2888,2915,2893,2657,2474,2309,2296,2332,2447,2531,2326,2216,2068,1977,1745,1732,1706,2117,2525,2597,2652,2477,2311,2500,2733,3044,3061,3101,3152,3060,2541,2372,2236,2137,2303,2417,2393,2174,2087,2363,1970,1837,1758,1762,2042,1907,1726,1737,1778,1769,1663,1910,1984,2297,2611,2773,2258,1779,2259,1860,1433,1257,1496,2336,2567,2702,2552,2163,1925,1781,1879,1882,1756,2241,2634,2397,2435,2353,1592,1615,1770,2258,2341,2463,2165,1922,1936,2189,2315,1980,1909,2084,2122,2100,2076,1869,1559,1840,2198,1710,1735,2066,1912,1835,1803,1628,1526,2234,2409,2576,2319,1782,1641,1693,2109,2260,1985,2138,2222,2564,3006,2424,2146,2077,2245,2841,2912,2858,2471,2266,2431,2789,2873,2622,2856,2643,2407,2775,2792,2243,2271,2105,2093,1997,1807,2073,2535,2551,2431,2023,2319,2398,2785,2636,2519,2920,3081,2965,2833,2487,2827,3632,3653,3168,2383,2647,2663,2093,2164,2435,2779,2493,2036,2245,2329,1969,2155,2689,3220,2856,2083,2349,2211,2785,2730,2155,2474,2742,2518,1862,1922,2482,3317,2301,2141,2518,2330,2119,1967,1996,2423,2331,1602,1583,1621,1787,2260,2200,2407,2667,2841,2863,2564,2508,2433,2061,1819,1770,1860,2282,2225,2360,2037,2167,1989,1684,2043,2976,2834,2538,2626,2113,2423,2833,2898,2867,2083,1887,1676,1549,1440,1605,2094,2175,1647,1458,1505,1355,1505,2289,2188,1645,1310,1260,1229,1315,1547,1593,1406,1593,1603,1339,1324,1272,1427,1373,1360,1406,1526,1410,1447,1412,1364,1399,1463,1502,1556,1615,1392,1497,1504,1303,1471,1844,1967,2014,1967,2294,2332,1769,1660,1698,1599,1583,1663,2561,3166,2789,2436,1954,1127,848,1760,2196,1808,1663,1685,1631,1690,1853,1863,1948,2342,2480,2222,2401,2204,1575,1572,1657,1711,1589,1803,1699,1521,1842,2006,1704,1791,2467,2435,2238,2353,2099,2065,2199,1987,2120,2184,2002,2254,2286,2046,2403,2556,2375,2163,2668,2197,2522,2463,1975,1631,1596,1645,2568,2931,2172,1975,2136,2811,2834,2097,2076,2648,2332,2685,2549,2555,2843,2693,2847,2355,1891,1802,1968,1869,2133,1905,2201,2065,1961,2386,3361,4157,3709,2908,2243,2376,2679,2496,1881,1609,1772,1756,2149,2156,2066,1937,1985,2158,2388,1840,1687,1694,1393,1401,1631,1701,1681,1770,1845,1882,1962,2253,2647,2924,2483,2422,2193,2048,2149,1500,1069,1364,1411,1683,1832,1593,1611,1649,1372,1030,1265,1029,796,763,1105,1404,1330,1190,1200,1442,1833,1728,1296,1351,1162,1018,1166,1455,1673,2475,2954,2640,2633,2009,1137,1265,1286,1205,1796,2769,3083,2971,2707,2047,1775,2069,2075,2144,1978,1798,1928,1760,1791,1549,1751,2065,1849,2422,2724,1756,1577,1777,2005,2081,1892,1654,1465,1648,2851,3664,3233,2478,2009,1943,2932,3731,2919,2078,1615,1438,1503,1266,1405,1792,2004,2181,2014,1420,1286,1448,1507,1722,1530,1738,1455,1871,1729,1539,1526,1455,1376,1255,1302,1306,1255,1441,1412,1341,1278,1302,1448,1504,1444,1452,1544,1880,2187,1620,1366,1310,2811,3268,1670,1228,1261,1584,1433,1154,1299,1321,1525,1862,1488,1359,1483,1889,2101,2226,2486,2471,2121,2343,2850,2291,1866,2332,2585,2075,1677,2189,2197,2326,2284,1966,1815,2072,2105,1620,1387,1191,1293,1523,1475,1592,1541,1414,1504,1497,1431,1345,1456,1840,2050,1954,1950,1915,1948,2242,2164,2337,2400,2013,1713,1823,1758,1927,2138,2241,2445,3223,3503,3584,3624,3661,3646,3665,3633,3506,3318,2783,2209,2562,2924,2627,2496,2734,3677,3469,3564,3351,3118,3444,3312,2390,1872,1680,2107,2235,2172,3042,2690,2172,1477,1807,2062,1620,1574,2386,3538,3913,4292,4276,3992,3491,2967,2454,1947,1983,1946,1799,2042,1665,1581,1658,1618,1506,1837,1766,1655,1316,1473,2181,2499,2490,1866,1552,1834,1913,1715,1912,1983,1800,1799,2287,2518,2012,1695,1671,1635,1670,1888,2114,1882,1482,1093,992,1466,1935,2446,2422,2258,2315,2080,2247,2382,1819,1817,1968,2101,2966,4412,5021,5105,5172,4257,3843,3912,3770,3951,3948,3361,2513,2640,2633,2404,2523,2458,2486,2496,2064,1695,1696,1740,1825,2149,2996,2681,2113,1836,1909,2287,2220,2366,2389,2113,2410,2569,2314,2427,2604,2176,1995,1997,1954,2237,2612,2248,1666,1527,1477,1428,1519,1667,1731,1852,1647,1567,1743,1619,1627,1843,1648,1365,1396,1810,2160,2666,2834,2681,2971,3520,3132,2889,2305,2229,2757,3131,3110,2898,3045,3195,2459,1958,1775,1956,1988,2411,2843,2859,2842,3047,3060,2513,1897,1524,1461,1512,1532,1416,1463,1291,1630,2206,2596,2554,2066,2137,2198,1753,1605,1613,1919,1927,1704,1631,1744,1676,1636,1797,1826,1885,1721,1672,1915,1842,1903,2271,3134,3418,3284,3159,3210,3239,2836,2583,2686,2248,2207,2938,2607,2552,2276,1961,2131,2214,2222,2211,1697,1509,1523,1525,1586,2032,1755,1455,1681,1542,1401,1645,1582,1353,1330,1227,1363,1429,1714,1551,1394,1495,1565,1491,1376,1351,1593,1597,1389,1460,1929,2059,1755,1716,1534,1722,1745,1567,1789,2064,1903,1698,1540,1968,1969,1667,1768,3152,3292,2627,2407,2110,1619,1673,1694,1395,1294,1680,1876,1878,2070,2034,2026,2182,1981,1695,1755,1683,1666,1493,1425,1492,1715,1849,1733,1757,2044,2214,1794,1479,1316,1367,2457,2839,3399,3462,2386,2061,1829,1860,1855,1725,1485,1373,1539,1562,1926,2383,1905,1525,1462,1626,2345,2334,1941,1876,2530,3079,2761,2885,2829,2319,2553,2577,2804,3156,2729,1963,2101,2359,2345,2297,1991,2252,2801,2203,1955,2093,1826,1642,1754,1901,1855,2244,2576,2401,2624,2287,2253,2473,2592,2216,1945,2066,1953,2097,2119,2320,2911,2948,2379,2315,2427,2384,2577,2416,2339,2753,2530,2158,2295,2856,2761,2675,3041,3176,2906,2854,2999,2335,2287,2470,2574,2828,2601,2137,1971,2066,1979,2224,2213,2364,2567,3082,2977,2633,2872,3100,2633,2264,2081,1842,1459,1692,2566,3088,2389,2715,3001,2730,2575,2419,2013,1906,1887,1960,1987,1875,1714,1903,2599,2006,1593,1657,2102,2087,1883,1897,2222,2521,2421,2531,2494,1947,2221,2261,2197,1720,1762,2107,1886,1701,1981,2116,2048,1974,1953,1807,1562,1697,1691,1594,1560,1798,1802,1499,1439,1594,2156,2304,1848,1813,2022,2258,2147,1619,1582,1820,2059,2004,1843,1790,1838,2071,2277,1719,1786,2240,2338,2422,2663,2896,2802,2880,3288,3531,2958,2668,3325,3717,3710,3270,2415,2148,2338,2350,2540,2386,1842,1934,2377,2636,1852,1365,1538,1332,1482,2373,2932,2689,2292,1765,1655,1626,1693,2060,2424,2475,3357,3260,2460,2167,1721,2598,3594,3756,3859,3963,3341,2662,2442,2094,2366,2586,2178,2509,2133,1593,1316,1476,1659,1664,2053,2213],[2846,2788,2680,2727,2885,2634,1856,1643,2021,2095,2652,3008,3190,3352,3353,3376,2840,1834,1974,2767,2900,3364,3752,3814,3658,3436,3231,3403,2964,2851,3226,2573,2577,2511,2643,3334,3417,3009,3096,2775,2411,2424,2312,1675,1236,1604,2759,3038,3166,3142,3580,3518,3320,3588,3378,2469,2162,2793,3050,3103,2795,2667,2828,3300,2706,2459,2688,2510,2392,2689,2756,2328,2213,2003,1876,2121,2180,2134,2002,2215,2623,3114,3254,2297,1677,2061,2532,3015,3528,3440,3115,3022,2645,2305,2392,2499,1980,1989,2916,3181,3500,3846,3604,3177,3049,3415,2356,2230,2830,2684,2172,2265,2359,2511,2450,2333,2144,2008,2496,2972,3062,2902,1918,1782,1928,2046,2083,1957,1895,1904,1917,1693,2200,2517,1965,1984,2252,1957,2122,2466,2353,2124,1866,1746,1782,1790,2208,2603,3146,3072,3340,3706,2828,2448,2633,2415,2304,2201,2078,1888,1633,1570,2003,2454,2356,2473,2762,2897,2761,2521,2394,2353,3203,3405,3521,3326,3372,3146,3214,3122,2604,2269,2555,2931,3000,2985,2590,2551,2191,1963,2780,2911,3135,3419,3442,3422,3441,2546,1979,2598,3106,3093,2623,2610,2464,2364,1937,1592,1660,2471,2534,1781,1700,1850,1867,1898,1867,2175,2588,2664,1958,1876,2376,2684,2435,2366,2815,3222,2812,1998,1739,2276,2929,2743,1993,1855,2286,2226,1855,2022,2457,2939,3395,3242,1450,1066,2222,2533,2348,2116,2156,2345,2524,2467,2194,2109,2081,1908,2059,2337,2134,2480,3205,3300,3089,3016,3098,3109,3090,3052,3132,3016,2669,2917,2500,2369,2714,3432,3860,3506,3350,2609,2146,2836,3587,3156,2540,2515,2124,2414,2868,2314,1633,1605,1896,1817,1744,2072,2624,2214,1550,2035,1750,1806,1723,1660,1743,1620,1552,1792,2453,2862,2956,2503,2974,3728,3742,3417,3419,3432,2806,2408,2037,1433,1504,2053,2329,2177,2104,2036,1958,1852,1926,2545,2600,2551,2981,3119,2482,1831,1885,2089,1863,1962,3030,3629,3040,2309,2464,2806,3277,3632,3234,2989,3220,3554,2980,2210,1955,2159,2495,2098,2912,3660,3199,2712,2414,2312,2695,2966,2643,1675,1571,1628,1764,1661,1622,2047,2354,2402,2276,2275,2112,2069,2086,2442,2710,2503,2799,2768,2714,2786,2488,2039,1729,2507,3222,2779,2597,2354,2057,2022,1948,1750,2164,2013,1906,2076,2159,2570,2470,1952,1543,1875,2055,2076,1876,1697,1614,1543,1416,1384,1392,1392,1722,2040,2934,2395,2241,2171,2029,2302,2485,2231,1932,1687,1713,1866,2170,2479,2517,2389,2330,3156,3483,3584,3408,2712,2038,1923,2028,2365,2792,2946,2729,2787,2570,2476,2917,3187,3248,3411,3718,3243,2624,2546,2627,2401,2784,2155,1898,1881,3024,3776,3548,3628,3131,2001,1438,1402,1548,2023,1834,1305,1418,1673,1932,2110,2151,2032,1899,1874,2000,2135,2175,2117,1904,1801,1743,1743,1852,1936,1988,2146,2297,2376,2442,2678,2879,2949,3108,3140,3385,3584,3483,3586,3584,3137,2994,2906,2673,2373,2209,2240,2295,2588,2714,2574,2367,2289,2190,1979,1832,1770,2004,2614,2745,2263,2222,2129,2286,2327,2768,2730,2542,2540,2590,2498,2410,2315,2280,2293,2447,2395,2476,2154,1998,1695,1589,1736,1911,1858,1787,1780,1765,2126,2196,2234,2587,3062,3516,3151,2722,2461,2078,1950,1648,1368,1652,2047,2411,2400,2514,2459,2411,2386,2082,1971,1960,1735,2111,2876,2632,2461,2433,1897,2200,2047,2832,2898,2342,1768,1567,2110,2762,2355,1877,2037,1942,2105,2203,2302,1976,2155,2792,2765,2316,2310,2342,1848,1722,1768,1676,1576,1872,1838,1830,1749,1573,1747,1872,2071,2186,1902,1844,2270,2711,3264,2771,2674,2626,2546,2104,2092,2308,2022,2253,2364,2533,2661,2973,2807,2240,2063,2307,1939,1848,1903,1904,1725,1540,1647,1654,1559,1700,1899,2012,2183,2188,2204,2248,2325,2246,2203,2226,2092,2062,2902,3239,3226,2784,2047,2064,2071,2143,2366,2604,2744,2354,2381,2292,2395,2912,2817,3626,4124,3330,2623,2533,2301,2885,3438,3088,2539,2164,2021,1749,2387,2419,2829,2519,2954,2809,2357,2391,2454,2246,1863,1481,1111,1721,1849,1973,1992,1766,2465,2674,2724,3228,2946,2402,2257,2678,2811,2607,2330,2170,2357,2172,2111,2318,1998,1851,2550,3240,3087,2588,2388,1500,2530,2900,3088,2936,1997,1659,1812,1709,1417,1537,2086,2310,1728,1465,1515,1268,1299,2475,2430,1766,1385,1272,1235,1319,1515,1721,1465,1510,1433,1323,1233,1233,1308,1343,1493,1864,2213,2394,1925,1467,1364,1267,1492,1590,1678,1620,1506,1820,1760,1302,1623,2172,1933,1506,1865,2185,2602,3107,2802,1980,1748,1843,2250,3227,3327,2812,2806,2590,1727,1200,1971,2116,1969,2036,1996,1957,1979,1798,1673,1614,1554,1639,1864,2111,1961,1865,1877,2098,2156,2082,2186,2082,1826,1831,1979,1660,2090,3430,3207,2798,2360,2177,2202,2110,2188,2169,1916,2093,2254,2084,2243,2385,2300,2809,2230,2182,1955,2472,2609,2072,1776,1549,1503,2732,3110,1856,2453,3087,2846,2991,2144,2094,2357,2264,2927,2576,2191,2413,2329,2540,2642,2432,1961,1996,2132,2464,2315,2377,2048,1877,2201,2878,3394,3418,3120,2170,2330,2196,1696,1338,1664,1947,1774,1759,1992,2150,1898,2370,2698,2135,1797,1844,1524,1512,1446,1482,1489,1794,2115,1863,1904,1860,1887,2021,2187,2421,2091,1979,2095,1777,1357,1946,1957,1365,1631,1650,1470,1624,1709,1438,1236,1260,959,739,743,1072,1382,1378,1439,1454,1273,1724,1691,1399,1480,1362,1189,1257,1490,1762,2333,2711,2421,2405,1858,1284,1491,2186,1787,2008,2869,3140,2963,2725,2174,1820,2062,2060,2186,2086,1828,1643,1739,1765,1568,1813,2032,1858,2403,2718,1757,1705,1614,1636,1862,1818,1719,1731,1843,2249,2612,2708,2602,2172,1902,2909,3682,2942,2004,1563,1871,1780,1393,1402,1725,1830,1688,1580,1453,1433,1815,1767,1904,1582,1428,1268,1405,1441,1327,1244,1288,1422,1415,1354,1379,1319,1526,1461,1341,1421,1382,1352,1440,1670,1887,1754,1641,1793,1415,1316,1176,1975,1852,1286,1152,1350,1762,1610,1225,1438,1387,1450,1500,1278,1317,1422,1412,1664,2032,2344,2531,2230,1717,1880,1819,1980,1992,1779,1931,2380,2526,2185,2239,2323,2454,2490,2430,2258,2110,1702,1583,1627,1889,1738,1633,1576,1498,1495,1475,1471,1594,1715,1714,1630,1737,1794,1794,1716,1802,1898,1952,1998,2137,2681,3063,3340,3377,3104,2599,2645,3370,3562,3591,3626,3632,3630,3606,3611,3630,3410,2817,2493,2589,2470,2150,2236,2347,2475,3190,3421,2501,3028,3670,3382,2953,2278,1954,1786,1687,2100,2288,2175,2091,1953,2128,1945,1797,1980,3075,3947,4080,4264,3947,3812,3388,2626,2231,2110,2454,1938,1937,2732,2386,1720,1657,1477,1736,2002,1388,1403,1559,1416,1598,2172,2217,1840,1726,1803,1776,1814,1442,1659,1897,1964,2313,2330,1853,1502,1587,1349,1404,2003,2173,1911,1581,1330,1384,1435,1491,1782,1920,1908,2354,2503,2368,1933,2060,2138,1722,1781,2285,3626,4363,4323,4083,3768,3768,3256,3227,2980,2196,2170,2022,2578,2756,2654,2526,2484,2306,1882,1603,1479,1592,1802,2191,1911,2342,2555,2259,1802,1944,2176,1801,1973,2429,2228,2572,2499,2153,1876,2426,2335,2047,2054,1924,1598,1798,1628,1343,1361,1520,1566,1739,1802,2174,1914,1636,1830,1700,1562,1516,1444,1433,1386,1771,1961,1887,2118,2288,2321,3226,3520,2603,2160,2152,2462,2709,2584,2375,2679,3082,3118,2821,2390,2188,2133,2077,2193,2352,2653,2814,2800,2767,1934,1566,1304,1346,1339,1353,1390,1560,1704,2076,2613,2499,2376,2452,2744,2598,1976,1752,1709,1547,1772,1868,1541,1497,1515,1744,1776,1622,1708,1698,1472,1505,1547,1886,2078,2545,2998,2938,2834,2724,2652,2149,2455,2452,2205,2771,2976,2685,2437,2035,1976,2100,1836,1864,2214,1673,1614,1546,1528,1615,1787,1612,1780,1852,1584,1602,1794,1615,1412,1484,1590,1788,1748,1722,1560,1573,1626,1642,1444,1395,1568,1700,1408,1403,1334,1659,2082,1968,1766,1716,2040,2408,2411,1970,1964,2063,1976,1496,1580,1766,1742,2214,3173,3095,2330,1910,1975,2156,1860,1975,1985,1888,2008,1843,1752,1948,2059,1995,2150,2204,1899,1632,1455,1416,1488,1571,1698,2201,1864,1606,1772,1754,1673,1593,1592,1511,1848,3079,3260,3374,2940,2108,2130,2050,2104,1768,1453,1375,1502,1797,1876,1912,1708,1716,1916,1967,2192,2247,1816,1775,1845,2414,2968,2769,2851,2786,2464,2678,2824,3378,3797,2939,2048,2206,2160,2376,2295,1911,2454,2248,1932,2020,2360,2054,1812,1959,2504,2581,2322,2298,2082,2624,2852,2988,2583,2674,2494,2404,2296,1844,2138,2253,2222,2766,2880,2183,1919,2220,2329,2101,2183,2353,2286,2280,2504,3133,3682,3339,3140,3109,2978,2728,2796,2951,2269,2492,2656,2539,2543,2384,1976,1885,1980,1832,2199,1992,2537,2689,2492,1850,1768,2321,2687,2626,2101,1950,2294,1831,2088,2527,2452,1859,2543,2827,2556,2178,1761,1600,1662,1556,1588,1677,1522,1615,1986,2431,2102,1675,1820,2713,2894,2069,1678,2141,2580,2733,2878,2120,2026,2511,2330,2054,2295,2156,1769,1883,2013,1713,1908,2042,1771,1609,1564,1600,2020,1794,1606,1556,1732,1649,1564,1692,1568,1885,2134,1946,1720,2046,2148,1975,1948,1707,1724,2100,2284,2172,2284,2182,1894,1878,1879,1886,1707,1803,2676,2576,1913,2140,2500,3041,3444,3198,2834,3040,3081,3273,3176,2094,1909,2438,2635,2636,2103,1867,2024,1767,2191,2094,1748,1700,1241,1038,1734,2473,2664,2330,1952,1816,1688,1702,1996,2114,2378,3151,3160,2766,1864,1224,2316,3876,4216,4115,4329,3816,2692,2174,1800,1905,2157,1891,2252,2247,1949,1596,1339,1541,1634,1807,2077],[2586,2313,2630,2755,2886,2985,2635,2112,2006,2391,3091,3084,3384,3572,3592,3200,2680,2808,2700,2705,2598,3047,3428,3462,3697,3243,2713,3436,3694,3569,2901,2454,2310,2572,2880,3266,3296,3068,3268,3458,3595,3433,2440,1347,1349,2289,3420,3394,3105,3247,3542,3400,3350,3294,2831,2363,2104,2454,2774,2849,2603,2472,2587,2938,2598,2543,2723,2561,2578,2613,2980,2629,2630,2720,2379,2174,2103,2051,1898,2120,2828,3452,2900,1848,1649,2109,2472,2907,3076,2889,2932,2811,2531,2319,2446,2510,2232,3039,3813,3864,3909,3865,2677,2383,2247,2271,1949,2337,3029,2866,2558,2363,2405,2544,2287,2223,2241,2141,2440,2768,2912,2336,1662,1758,2028,2325,2385,2322,2358,2163,1937,1964,2423,2416,2100,2175,2249,1865,1823,2215,2545,2455,2063,2038,2118,1812,1687,2026,2413,2918,3890,3797,2807,2805,3130,2857,2527,2154,2072,2072,1633,1865,2200,2406,2433,2303,2978,3249,2560,2359,2179,2653,2810,2553,2830,3134,3518,3641,3154,2811,2664,2482,2652,2927,2879,2797,2113,2640,2508,2709,2888,2989,3152,3393,3352,3121,3397,2750,2381,2754,3006,3007,2479,2398,2671,2408,1958,1732,1655,2104,2470,2145,2220,2090,1779,1859,1948,1886,2050,2091,2054,1996,2217,2424,2186,2675,3156,2948,2146,2093,1981,2432,2755,2573,2061,2046,2567,2478,2647,3008,2677,2344,2749,2891,1827,1384,2176,2460,2188,1953,2003,1768,1699,1508,1535,1682,2274,2987,2947,2963,2427,2554,2952,3317,3228,2739,2514,3012,2734,2603,2754,2928,2919,2940,2450,2380,2998,3443,3771,3882,3548,2805,2799,2367,2447,2476,2075,2274,2404,2470,2603,2368,1983,1945,2121,2076,1762,1919,2335,2138,1920,2068,1760,2108,2194,2203,1941,1646,1714,1841,2744,2994,2944,2932,3650,3913,3661,3232,3269,3222,2410,1754,1493,1553,1904,2684,2958,3173,2894,2120,1843,1701,1731,2063,1922,1721,2264,2774,2703,1910,1771,1806,1677,1824,2652,3090,2735,2589,2814,2698,2885,2895,2645,2811,2894,3506,3030,2151,2166,2658,2188,1651,2316,3025,2888,2176,2569,2708,2742,2590,1976,1594,1703,1647,1565,1557,1698,2202,2534,2488,2291,2430,2380,2347,2566,3185,3649,3439,3184,2956,2828,2624,2341,2200,2031,2926,3320,2940,3006,2476,2033,2051,2048,2398,2315,1656,1730,1977,1961,2261,2275,2298,2127,2088,2174,2054,1801,1850,1871,1704,1531,1438,1353,980,1170,1474,2264,2518,2101,2009,2332,2459,2358,2054,1934,1634,1811,1818,2161,2917,3064,2661,2745,2836,2766,3029,3167,2899,2561,2557,2588,2341,2207,2402,2425,2654,2601,2843,3275,3153,3007,3144,3093,2565,2722,2333,2432,2469,2540,2031,1869,1500,2561,3748,3386,3572,3666,2749,1533,1146,1043,1781,2021,1981,2182,2149,1976,1821,1723,1698,1714,1650,1688,1661,1655,1715,1784,1874,2041,2230,2318,2305,2354,2426,2481,2544,2728,3119,3236,3274,3173,3261,3393,3602,3480,3314,3340,3316,3083,2774,2623,2573,2603,2563,2412,2477,2634,2633,2518,2319,2311,2253,2018,1936,1975,2524,2731,2368,2204,2173,2336,2193,2271,2520,2431,2237,2395,2469,2383,2373,2224,2171,2481,2604,2611,2430,2231,1927,1800,1870,1862,1780,1834,2100,2157,2290,2405,2833,3242,3559,3710,3183,2407,2099,1938,2091,1952,1782,2628,2699,2664,2320,2089,2155,2524,2829,2595,2085,1774,1500,1532,2417,2486,2300,2452,2177,2907,3614,3874,2955,2147,2176,1788,2173,2579,2645,2403,2298,2156,2500,1961,1744,2071,2509,2541,2595,2530,2232,1992,1577,2020,1947,1865,1758,1705,1823,1781,1775,1778,1633,1365,1587,1873,1862,2523,3275,2605,2726,2593,2271,2007,2341,2702,2459,2020,2147,2441,2811,2522,2729,2608,2313,2076,2119,2480,2488,2438,2288,2214,1565,1289,1235,1317,1333,1557,2455,2811,2641,2314,2098,2193,2081,2009,1973,1989,1963,1849,2273,2712,2759,2555,2114,1904,1997,2005,2137,2340,2556,2331,2610,2447,1966,1836,2817,4024,4460,3807,2722,2456,2505,2887,3499,3476,3040,2507,2178,2093,2409,2492,2507,2614,3085,2864,2722,2811,2556,2359,1942,1470,1024,1258,1572,1850,1938,1922,2185,2122,2325,2678,2180,2303,2151,2504,3082,3064,2266,2245,2314,2060,2348,2532,2303,2195,2819,3311,2753,2586,2173,1921,2708,2824,2885,2635,1986,1667,1647,1656,1706,1626,1893,2097,1999,1606,1430,1246,1331,1477,1484,1418,1413,1386,1526,1755,1431,1619,1685,1365,1303,1333,1249,1346,1411,1439,1440,1519,2366,2994,2323,1711,1570,1434,1528,1589,1593,1410,1460,1796,1592,1252,1401,1881,1636,1385,1306,1335,1839,2218,2638,2877,2717,2448,2588,3106,2612,2497,2811,3286,2508,2064,2265,2334,2745,2665,2155,2273,2575,2503,2503,2293,1985,2012,1616,1745,1556,1741,2105,1936,1885,2063,2197,1978,1746,1621,1771,1750,2920,3912,3031,2387,2435,2636,2735,2947,3061,2846,2658,2463,2253,2288,2267,2333,2653,2355,2110,1866,1735,2344,2431,2159,2209,2107,1575,2561,2585,1983,3062,3670,2686,2733,2200,1759,1950,2363,2906,2208,1649,1892,1855,2092,2142,2013,2014,2005,2369,2479,2360,2199,2060,2193,2265,1953,2357,2583,2302,1952,2188,1850,1768,1846,1794,1862,1724,1663,1793,1875,2070,2585,2294,1813,1980,1540,1411,1556,1586,1711,1781,2144,1953,2226,1780,1644,1643,1669,1865,1820,2041,2295,1882,1450,1847,2671,2306,1554,1481,1408,1364,1634,1803,1478,1282,1244,933,766,849,1312,1598,1715,1718,1582,1549,1888,1735,1685,1627,1268,1189,1285,1433,1821,2265,2372,2337,2162,1584,1310,1869,3207,2653,1863,2450,2953,2895,2765,2389,1931,2074,2001,2165,2114,1713,1545,1743,1819,1588,1496,1577,1703,2055,2196,1929,2069,1850,1672,1753,1860,1813,1720,2084,2199,2060,2561,2328,2026,1842,2831,3751,3261,2140,2017,2156,1814,1632,1605,1829,1838,1597,1511,1799,1583,1490,1617,1932,1795,1451,1351,1288,1267,1257,1251,1406,1693,1740,1444,1447,1438,1426,1355,1344,1301,1221,1336,1458,1484,2018,1891,1441,1330,1421,1422,1319,1137,1202,1367,1384,1390,1694,1754,1398,1524,1384,1321,1256,1302,1374,1455,1393,1533,1710,1866,2120,1760,1688,1887,1713,1737,1594,1703,1964,2417,2230,1793,1813,1916,2416,2485,2165,2108,2572,2212,1654,1694,2239,2112,1588,1545,1593,1698,1841,1611,1617,1609,1735,1572,1403,1421,1613,1655,1534,1794,1798,1498,1675,1914,2805,3560,3558,3532,2942,2845,3159,3184,3369,3415,3400,3400,3314,3373,3511,3386,2437,2135,2086,1771,1724,1885,1955,2174,2888,3162,2599,3358,3260,2900,2709,1825,1640,2019,2408,2602,2487,2264,2236,2452,2192,2007,2186,2774,3574,4096,4251,4253,3946,3694,3033,2166,1818,2130,2657,1801,1853,2094,2037,1906,1642,1527,1700,1762,1566,1543,1642,1666,2006,2074,1785,1848,1693,1910,1699,1485,1425,1995,2164,2040,2027,2096,1477,1426,1626,1716,1749,1942,1911,1955,1744,1368,1304,1397,1469,1813,1771,1387,1631,2073,1787,1782,1805,1335,1369,2143,2524,2377,2208,2185,2154,2410,2621,2457,2233,1747,1736,1715,1909,2721,2786,2809,2856,2580,2108,1578,1434,1448,1813,1755,1938,1786,2135,2229,2199,1985,1882,2140,2272,2636,2828,2277,2668,3061,2327,1837,2302,2441,2064,2325,2378,1708,1521,1546,1620,1551,1594,1519,1520,1896,2222,2200,2451,2331,1841,1534,1329,1389,1414,1696,2237,1996,1792,1697,2067,2533,3128,3117,2288,1509,1817,2965,2835,2763,2603,2517,2819,2915,2888,2652,2494,2338,2316,2404,2302,2597,2818,2840,2978,2343,1766,1509,1255,1151,1508,1870,2124,2270,2281,2998,2362,1936,2663,2899,2379,1843,1593,1840,1873,1705,1566,1608,1439,1711,1831,1498,1740,1999,1691,1467,1447,1677,2384,2424,2145,2105,2193,2658,2669,2442,2259,2427,2325,2331,2596,2819,2876,2508,1975,1919,2046,1935,1821,1939,1645,1719,1772,1677,1762,1817,1713,1604,1515,1462,1405,1489,1389,1586,1793,1845,1747,1651,1346,1337,1478,1651,1747,1676,1530,1374,1386,1400,1338,1424,1423,1696,1868,1685,1720,2024,2309,2301,2167,1866,2275,2048,1643,1603,1918,2004,2557,2877,2340,2047,1832,1766,2579,2293,2640,2149,1763,1764,1730,1632,1763,2006,2009,2261,2235,1708,1613,1828,1630,1564,1556,2002,2110,1626,1507,1640,1894,2027,1882,1937,1909,1892,2458,2902,3028,2410,1933,1825,2145,2138,1517,1557,1504,1629,1929,1821,1661,1654,1943,2061,1935,2046,1842,1624,1977,2242,2835,3117,2887,2723,2822,2947,2974,3130,3286,3097,2508,2080,2286,2200,2678,2604,2060,2246,1855,1831,2246,2687,2415,2081,2243,2931,2838,2419,2512,2302,2791,2972,2528,2469,2808,2319,2701,2946,2478,2666,2495,2251,2524,2186,1629,2512,2624,2363,2098,2025,2102,2065,2344,2965,3873,3763,3119,2885,2837,2711,2796,3407,2968,2094,2449,2354,1878,1813,2330,1887,1603,1641,1983,2203,2254,2464,2269,2374,2061,1591,1896,2454,2395,2081,1956,2156,2476,2847,2820,2270,1647,1635,1952,1902,1447,1316,1258,1589,1792,1828,2127,1650,1658,1825,1835,2017,1847,1888,2383,2461,1796,1537,1833,2215,2642,2548,2199,2459,2317,1996,2224,2754,2559,2106,2205,2454,1817,1786,1724,1968,1741,1601,1583,1447,1565,1877,1823,1672,1716,1759,1571,1630,1730,2091,2116,1666,1970,1986,1795,1873,1718,1692,1961,2143,2088,2277,2291,2020,1904,1847,1892,1753,1823,2089,1830,1937,2105,1855,2371,2941,2914,3300,3175,2408,3096,3485,2632,1741,1669,1966,1859,1613,2394,2482,2011,1983,2061,1959,1836,1584,1671,2053,2246,2393,2289,2189,2047,1829,1883,2023,2011,2161,2413,2942,2984,1843,1217,2338,3962,4328,4174,4313,3992,2965,2247,2111,2237,2132,1800,1632,1908,2505,2410,1973,1673,1498,1544,1991],[2435,2584,3094,3322,3351,3187,2624,2357,2302,2736,3151,2880,3286,3493,3448,3427,3040,2690,2428,2454,2319,2604,2977,3226,3449,3077,3100,3571,3182,2953,3063,2731,2622,3022,2966,3083,3300,3287,3423,3388,3483,3289,2911,2939,3095,3187,3334,3351,3196,3239,3318,3116,2966,3051,2584,2540,2321,1852,2307,2601,2503,2503,2687,2912,2829,2981,2930,2566,2285,1561,1943,2543,2996,3088,3028,3306,3177,2652,2236,2193,2316,2769,2225,1607,1456,1786,2285,2621,2438,2378,2573,2552,2417,2451,2498,2489,2355,2980,2798,3270,3095,3272,2321,1712,1709,1507,1705,2541,3127,2785,2818,2642,2278,2189,2453,2230,2519,2640,2104,2126,2378,1824,1535,1737,2057,2255,2126,2302,2822,2657,2325,2313,2554,2416,2008,2154,2215,1985,1858,1700,2474,2421,2040,2386,2425,2432,2462,2165,2128,3273,4199,3774,2979,2442,2111,2187,2495,2570,2709,2483,2107,2099,2128,2266,2426,2566,3430,3161,2677,2652,2228,2306,1937,1736,1946,2353,3055,3329,3041,2778,2603,2532,2504,2683,2561,2641,2657,3000,3297,3461,3042,2861,3038,3344,3387,3293,3542,2864,2517,2266,2322,2709,2436,2481,2448,1836,1935,2191,2227,2118,1941,2076,2635,2543,2084,1791,1903,1819,1788,2211,2387,2049,2076,2224,2510,2630,2847,2453,2287,2207,2259,2708,2873,2844,2326,2175,3016,3243,3441,3896,3716,2846,2286,2158,2066,1966,2274,2407,2075,1831,2161,2114,2066,1642,1462,1480,2866,3805,3592,3261,2841,2434,2553,3052,3217,2303,2070,2884,2429,2435,2420,2767,2422,1878,1652,2263,3115,3214,3348,3837,3633,2790,3200,2435,2332,2287,1884,1730,1597,1744,2327,2620,2392,2188,2001,2138,2150,1837,1740,1966,1996,1819,1928,2139,2209,2657,2497,1843,1743,1769,2570,3140,2878,2705,2856,3037,3043,3174,3652,3892,3476,2451,1758,1862,2061,2645,3287,3460,2906,2281,2220,2470,2432,2232,1764,1070,1287,1946,2459,2069,1861,1803,1580,2012,2249,2257,2598,2254,1881,2326,2762,2529,2430,2569,2677,3135,3097,2611,2684,2856,2575,2564,2365,2567,2658,2219,2395,2520,2601,2135,1624,1650,2138,2186,1659,1576,1648,2183,2535,2319,2464,2414,2351,2174,2442,3375,3903,3794,3820,3550,3033,2531,2293,2415,2126,2407,2506,2678,2995,2384,1816,1779,2032,2713,2499,1945,1956,2182,2310,2225,2377,2172,1944,1933,1864,1597,1533,1620,1674,1732,1747,1673,1455,1097,1637,2049,2127,2207,1800,1834,2344,2485,2156,1704,1754,2095,2023,1896,2556,2620,2192,1973,2152,1989,1688,2034,2685,2847,2757,2800,2955,2857,2531,2290,2261,2326,2222,2688,3230,3050,3152,2884,2439,2769,2842,2069,2202,2578,1830,1394,1478,1164,2188,3749,3454,3400,3603,2912,1544,1027,1224,1909,2061,1836,1712,1686,1798,1854,1830,1742,1724,1715,1799,1923,2080,2213,2318,2415,2421,2346,2352,2332,2509,2652,2710,2823,3021,3060,3122,3276,3118,2983,3194,3606,3550,3359,3463,3439,3111,3068,2811,2886,2985,3006,2789,2688,2679,2435,2146,2145,2223,2109,2058,1958,1860,2384,2603,2575,2346,2257,2316,2173,2217,2409,2405,2211,2295,2496,2304,2103,1925,1961,2248,2615,2588,2440,2374,2252,2136,2112,2109,2087,1847,2167,2711,2934,3217,3398,3163,2857,2979,3031,2403,2190,2218,2402,2426,2509,2991,2783,2680,2264,1712,1601,1931,2495,2928,2386,1838,1852,1611,1817,1884,1840,2404,2338,2725,3539,3292,2336,2595,3240,2306,2216,2159,2521,2670,2206,2388,2350,1903,1879,2157,2642,2396,2141,1945,1896,1810,2350,2819,2251,1741,1637,1945,2090,2163,2733,2316,1415,1334,1570,1996,1763,2613,2941,2271,2171,2093,1825,1624,2215,2664,2302,2030,2649,2978,2944,2707,2478,2010,1925,1918,1823,1743,1742,1996,1953,1899,1492,1617,1601,1627,1486,1452,2358,3040,2827,2776,2807,2493,2112,2278,2254,2266,2345,2198,2137,1753,1642,2199,2256,2265,2557,2365,2407,2405,2352,2353,2973,2719,1678,1428,2426,3154,3406,2794,1962,2221,2447,2671,2617,3067,3610,3133,2384,2326,2241,2205,2462,2991,3408,2595,2419,3072,2833,2110,2468,2016,1368,1027,998,1422,1765,1755,2230,2439,2291,2190,2123,2652,2478,2306,2843,2374,2229,2887,2343,1801,2292,2522,2411,2264,3008,3139,2721,2492,2035,2289,2652,2420,2374,2389,1957,1626,1403,1491,1817,1991,1745,1737,1841,1748,1620,1604,1739,1626,1522,1498,1616,1734,1752,1932,1708,1612,1420,1311,1300,1280,1249,1258,1243,1498,1379,1512,2123,2370,2029,1588,1760,1714,1459,1379,1355,1249,1362,1591,1666,1424,1311,1418,1239,1384,1583,1403,1383,1476,1623,1862,2148,2562,2968,2637,2325,2269,2430,2699,2530,2210,2067,2857,4024,3676,2062,1660,1817,1992,2322,2890,2634,2451,2370,2230,1501,1406,1517,1484,1837,2063,2201,1692,1354,1725,1814,1749,3128,3723,3121,2709,2722,2988,3115,3149,3331,3770,3923,3697,3708,2472,1895,1887,2009,2192,2439,2192,1829,2150,2631,2436,2861,2684,1648,2264,2852,2680,2651,2621,2539,2525,1677,1621,2346,2780,2966,1868,1296,1446,1950,1902,1505,1775,2000,2093,2474,2499,2309,2269,2965,3531,2880,2063,2177,1942,1765,1808,1700,1652,2082,2389,1886,1560,1593,1791,1724,1930,2281,2345,1721,1765,1486,1171,1597,1636,1640,1670,1815,1947,2261,2088,1675,1788,1731,1694,1808,1700,2129,2166,1514,1587,2421,2719,2370,1565,1556,1405,1461,1623,1740,1547,1271,1426,1144,793,892,1366,1665,1765,1772,1644,1701,1833,1643,1657,1709,1306,1108,1108,1509,2148,2545,2398,2342,2007,1593,1476,2360,3451,2880,1643,2283,2813,2856,2932,2503,1830,1969,1986,2172,2194,1713,1460,1775,1822,1523,1781,1864,1832,1726,1710,1887,1908,1560,1376,1556,1870,1673,1910,2990,2823,2495,3398,2396,1934,1886,2556,3628,3429,2633,2324,2154,2062,2049,1880,2074,1881,1546,1826,2241,1791,1474,1588,1944,1896,1525,1238,1352,1354,1346,1386,1251,1395,1477,1365,1329,1368,1263,1111,1177,1161,1259,1394,1536,1356,1676,1542,1504,1453,1460,1464,1412,1485,1457,1441,1616,1250,1303,1601,1422,1423,1367,1310,1345,1335,1469,1801,1852,1590,1655,2186,2164,1730,1698,2019,2025,1798,1733,2053,2183,2249,1935,2031,1666,2164,2783,2418,2025,1909,2278,2241,1958,1931,2049,1931,1599,1449,1638,1583,1724,1541,1583,1598,1552,1433,1467,1545,1847,1871,1606,1700,1802,1438,1539,1785,2157,2450,2521,2605,2420,2710,3159,3121,3301,3220,3138,3104,2852,2917,3066,3096,2448,2144,1941,1975,2197,2084,1827,2432,2903,2873,2834,2463,2523,2597,2388,1875,1736,2124,2634,2924,3218,2771,2326,2066,2062,2072,2445,3419,4058,4248,4175,4220,3945,3553,2952,1970,1795,2350,2058,1999,2077,1985,1758,1769,1593,1684,1818,1604,1702,1665,1764,1638,1813,1671,1687,1607,1832,2104,1781,1511,1412,1540,1671,1686,1748,2374,1719,2109,2030,1963,1997,2226,2113,1958,1854,1472,1417,1489,1748,1847,1557,1434,1421,2017,1942,1826,1733,1386,1465,2024,2125,1875,2057,1905,1868,2129,2078,1917,1646,1481,1664,1689,2278,2579,2181,2232,2144,1966,2023,1757,1536,1425,1920,1827,1722,1593,1536,2084,2840,2328,2082,2301,2364,1958,1895,2092,2687,2956,2184,1866,2144,2078,1783,1858,1931,1900,2050,2045,2115,1759,1547,1560,1879,2076,2257,2768,3266,2696,2186,1587,1324,1395,1286,1705,2253,2222,2232,2207,2556,2918,2978,2832,2517,1896,2477,3008,2867,3032,3074,2708,2476,2282,2279,2578,2604,2489,2524,2668,2402,2238,2363,2661,2901,2526,1897,1628,1466,1346,1832,2196,2199,2408,2401,2757,2265,2086,2764,2335,1866,1740,1647,1851,1871,1608,1500,1307,1424,1636,1635,1641,1938,1877,1475,1484,1614,2112,2754,2645,2539,2192,2100,2686,2244,1923,2109,2262,2255,1936,1989,2330,2227,1898,1505,1540,1788,1592,1546,1855,1556,1434,1713,1747,1654,1660,1277,1088,1387,1694,1648,1790,1553,1672,1932,1641,1433,1422,1509,1841,1659,1730,1632,1758,1583,1400,1316,1248,1611,1928,1838,1970,2033,2164,2076,2010,1844,2276,2214,1920,1849,1824,1960,1782,1714,2120,2986,3197,2336,1686,1742,1741,2262,2800,2835,1937,1856,1984,1829,1804,1991,1957,1976,2150,2113,2002,2132,2212,1832,1449,1372,1721,1763,1585,1447,1562,1879,2100,1802,2004,2023,1848,1801,1765,1807,1961,1815,1772,2108,1937,1529,1641,1592,1507,1526,1678,1851,2069,2192,1976,2133,2230,1945,1586,1837,2358,3229,3799,3138,2366,2694,3065,2840,3088,3002,2555,2095,2082,2631,2188,2540,2328,1834,1925,2109,1876,1927,2518,2733,2730,2511,2790,2424,2746,2861,2610,2800,2701,2460,2851,2819,2350,2718,2678,2431,2009,2188,2314,2512,1990,1814,2474,2566,2224,2135,1973,2201,2844,3343,3610,3492,3031,2473,2609,2676,2769,3286,3646,2375,1744,2367,1969,1640,2255,3444,3240,2634,2146,1904,1901,2418,2608,2298,2237,2200,1980,2001,2566,2663,2469,2000,2127,2598,2763,2392,1875,1741,1692,1759,1907,1688,1586,1581,1844,1873,1720,2260,2017,2175,1959,1509,1669,1630,1617,1814,1923,1653,1540,1465,1621,2220,2548,2853,2657,2247,2124,2026,2036,1860,1980,2162,2143,1745,1790,1691,1990,2042,2082,1715,1482,1613,1763,1506,1613,1593,1720,1483,1776,1922,1980,1808,1764,1927,1692,1945,2520,1980,1728,1856,1924,2165,2344,2374,2254,2394,2182,1848,1782,1667,1605,2024,2822,2897,2288,2281,2508,2822,2865,2797,2486,2434,2994,2749,1592,1613,1848,1647,1689,2285,2472,2113,2009,1949,1726,1632,1500,1613,2035,2707,2829,2347,2223,1991,2155,2075,2369,2613,2312,2169,2762,2823,1685,1391,2652,4107,4365,4184,4195,3810,3054,2543,2536,2502,2222,1890,1662,1785,2886,3128,2696,1789,1669,1753,2056],[2985,3204,3312,3345,3460,3410,3143,2950,2681,2946,2930,2375,2823,3151,3215,3340,3053,2485,2558,2822,2807,2792,2603,3090,3389,2888,2912,3235,2934,2656,2511,2445,2882,3340,3251,3357,3386,3339,3360,3335,3039,2912,3042,3130,3187,3272,3294,3357,3183,2844,3054,2952,2744,2562,2587,2411,2366,2153,2426,2640,2538,2550,2915,2950,2517,2867,3545,3041,2383,1890,2315,2755,2901,2909,2880,3011,3292,3253,2703,3047,2933,3111,2603,2188,1803,1907,2500,2673,2641,2868,2687,2640,2336,2402,2667,2379,2379,2202,2227,2602,2431,2658,2503,2066,1569,1677,2175,2553,3140,3072,2920,2721,2441,2775,2809,2173,2328,2670,2145,2088,2103,1616,1436,1599,1895,1934,1768,2115,2459,2296,1849,1921,2269,2082,1685,2021,1955,2165,2082,1181,1460,2189,1933,1902,2164,2767,3096,2611,2494,3733,4131,3704,2810,2141,1808,1681,2008,2647,3151,3088,2356,1793,1931,2007,2152,2451,2665,2467,2536,2632,2366,1827,2059,2286,1720,1761,2156,2463,2773,2635,2335,2262,2092,2316,2060,2196,2859,3298,3206,2603,2143,2474,2819,3506,3699,3306,3592,3090,2396,2210,2515,2474,2086,2020,1659,1438,1812,2742,2635,1958,1561,1551,1904,1792,1640,1643,1849,1838,1857,2390,2404,2083,2230,2811,3012,2468,2519,2563,2661,2514,2502,2750,3062,3116,2227,2325,2479,2480,2780,3211,3583,2684,2260,2545,2262,2176,2304,2407,2598,2094,2522,1891,2027,1941,1919,1960,2895,3311,3184,3224,2798,2696,2757,2750,2955,2069,2316,2719,2368,2007,2296,2874,2541,2152,2172,2348,2831,3098,3271,3903,3242,2403,2163,2151,2406,2144,1764,1863,2189,2470,2467,2300,2062,2095,2057,1943,2236,2238,2232,2414,2620,2267,1828,2007,2009,2591,2352,1883,1688,1583,2300,3082,3099,2806,3263,3757,3554,3761,4181,4119,3926,3060,2286,2147,2153,2325,2731,2451,1947,1903,2269,2622,2223,1997,1782,1388,1404,2287,2656,2271,1899,1682,1656,2084,1744,1849,2377,1979,1672,1992,2798,2574,2476,2413,2576,2943,2935,2933,3157,3030,3195,3054,2618,2677,2763,2426,2270,2478,2580,2227,1726,1649,2076,2415,1990,1681,1659,1955,2256,2252,2332,2210,2063,1986,2053,2691,3415,2983,3107,3226,3078,2686,2430,2734,2583,2650,3043,2872,2498,2426,2476,2743,2894,3124,2652,2488,2476,2229,2208,2375,2456,1919,1618,1778,1729,1587,1562,1658,1989,2274,2029,1878,1607,1727,1994,1927,1867,1569,1377,1748,2127,2260,1820,1864,2145,1854,1888,2285,2520,2485,2116,1573,1730,1591,1616,2212,2721,2520,2302,2258,2434,2646,2764,2446,2055,1853,1772,2236,2854,3113,3306,2458,2236,2583,2633,2498,3067,3332,2158,1031,925,1101,2323,3731,3730,3642,3717,3074,2311,2139,2144,2105,1943,1808,1878,1938,1908,1802,1768,1810,2006,2191,2332,2449,2484,2474,2362,2256,2209,2278,2485,2603,2727,2768,2840,2878,3063,3214,3283,3196,3095,3099,3359,3615,3295,3129,3188,3311,3264,3157,2824,2707,2868,2967,2813,2679,2561,2227,2017,2153,2062,1988,2105,2112,1943,2289,2526,2589,2459,2317,2279,2217,2211,2313,2369,2165,2026,2274,2397,2062,1888,1925,1973,2193,2318,2274,2251,2360,2484,2435,2333,2186,2114,2158,2889,3461,3640,3566,3543,3449,3175,3188,2708,2121,2470,2699,2647,2861,2819,2403,2438,2336,1906,1877,1780,1858,2423,1994,1837,2138,1899,1697,2057,2308,2317,2035,2080,2357,2231,2024,2312,2730,2364,2443,2497,2898,2819,2117,2078,2086,2076,1933,1808,2079,2117,2224,1935,1989,1848,2462,2987,2452,1945,1727,1743,1614,1568,2114,2036,1268,1606,1730,1940,1782,2388,2618,2289,2278,2088,1946,2197,2601,2844,2865,2554,2972,3210,2959,2500,2211,2486,3274,2938,2247,1885,2358,2676,2145,1738,1610,1372,1267,1491,1315,1296,2210,2491,2080,2368,2396,2464,2325,2383,2497,2402,2212,2258,2366,2170,1910,2170,2831,3229,3005,3065,3243,2995,2374,2178,2806,2518,1461,1747,2537,2707,2490,1989,2142,2245,2186,2570,2374,2742,3090,2889,3151,3489,3159,2604,2954,2648,2767,2375,2164,2352,2281,2149,2230,2511,2267,1431,1001,1155,1518,2047,2544,2555,2077,1916,2177,2815,2887,2580,2425,2220,2180,2138,1696,1641,2052,2219,2663,2780,2435,2886,3576,3161,2294,2155,2166,2083,2006,2153,2185,1845,1767,1938,2165,1980,1609,1766,1695,1537,1619,1706,1613,1381,1366,1451,1488,1888,1898,1512,1436,1353,1287,1325,1337,1306,1224,1260,1230,1360,1393,1605,1465,2030,2021,1449,1534,1611,1416,1295,1291,1250,1412,1392,1313,1321,1439,1426,1326,1489,1577,1372,1425,1700,1655,1476,1448,1851,1865,2272,2354,2280,2462,2472,1878,1494,1920,2974,3834,3451,2022,1822,1619,1506,1610,1905,1738,1916,2427,2248,1430,1387,1292,1771,1690,1690,1827,1456,1224,1837,1721,1978,3226,3740,3543,3093,3118,3183,3272,3030,3398,3853,3995,3941,4038,3056,1916,1653,1841,1820,1957,2040,2132,2106,2358,2249,3078,2874,2098,2722,3375,2834,2106,1986,2447,2706,1593,2172,2662,3062,3205,2112,1760,1806,1831,1547,1358,1475,1770,2037,2090,2323,2309,2610,3448,4392,3410,2258,1895,1593,1527,1641,1750,1735,1917,2169,2338,1731,1401,1510,1785,2444,2593,1959,1820,1492,1106,1691,2264,2457,1791,1688,1799,1750,2004,1767,1638,1816,1610,1694,2059,1958,1923,1615,1397,2010,2357,2450,1978,1685,1588,1312,1381,1553,1511,1618,1417,1510,1420,946,781,1116,1575,1937,1892,1636,1693,1785,1583,1569,1816,1732,1400,1218,1663,2588,2831,2554,2518,2156,1819,2387,3085,3151,3041,1725,2002,2699,2891,3107,2443,1787,1941,2037,2170,2260,1711,1448,1884,1848,1749,2015,1915,1919,1555,1537,2015,1791,1532,1660,1859,1848,1886,3241,3771,3190,2762,3572,2387,1704,1715,2258,3029,2987,2931,2524,2383,2180,1901,1942,2005,1841,1865,2002,1899,1812,1758,1716,1924,1685,1647,1506,1654,1446,1331,1360,1421,1374,1244,1258,1279,1287,1191,1229,1489,1395,1383,1450,1421,1380,1505,1646,1639,1498,1486,1417,1369,1388,1366,1353,1511,1232,1382,1592,1478,1383,1288,1245,1269,1298,1516,1679,1890,1390,1710,2764,2500,1954,2121,2921,3003,2423,2701,2557,2120,2246,1621,1830,1736,2800,2859,2207,1708,1604,2143,2545,2307,2241,1785,1851,1849,1669,1697,1569,1637,1560,1548,1719,1770,1891,2140,2177,2123,2095,1715,1634,1750,1678,1555,1561,1900,2173,2191,2355,2337,2889,3408,3511,3338,3044,2947,2828,2720,2656,2554,2669,2749,2413,2183,2842,2925,2624,2299,3132,3329,2956,2415,2150,2207,2551,2963,2686,2357,2079,2577,2834,3101,2972,2230,2091,2687,2540,2949,3726,4184,4004,3929,3961,3799,3355,2270,1904,2222,2389,1757,1616,1771,1590,1842,2027,1646,2163,2344,1595,1603,1625,1745,1919,1953,1610,1603,1566,1958,2064,1693,1792,1660,1571,1826,2169,2314,2269,1837,2467,2644,2394,2688,3176,2770,2175,2059,2040,2100,1893,1761,1633,1444,1365,1502,2180,2283,1885,1526,1333,1810,1963,1974,2098,2220,2514,2304,2106,2148,2105,1637,1419,1960,2139,2171,2417,1927,1887,2078,2141,2212,1829,1742,1795,2143,2404,1926,1895,1714,2136,2371,2093,2228,1819,1937,1737,1631,1955,2271,2139,1869,1634,1718,1768,1825,1690,1897,2447,2625,2416,1792,1505,1558,1744,1857,1997,2344,2153,2810,2697,1868,1641,1453,1502,1332,1531,2137,2458,2603,2669,2477,2354,2711,2856,2862,2641,2872,2832,3106,3233,2972,2800,2613,1949,2035,2543,2698,2715,2776,2863,2644,2490,2363,2475,2599,2387,1918,1954,1970,1902,1754,1681,1595,2190,2637,2308,2182,2234,2059,1864,1905,1991,1762,1654,1737,1744,1489,1235,1452,1358,1770,1908,1666,1512,1458,1721,1903,2209,2610,2711,2658,2521,2401,2561,2186,1758,1699,1898,2009,1924,1659,1635,1596,1585,1371,1383,1421,1427,1491,1529,1420,1527,1726,1604,1427,1578,1524,1075,1467,1701,1647,1543,1517,2077,2656,2536,2140,1707,1633,1790,1736,1579,1523,1653,1596,1500,1475,1705,1803,1619,1854,2152,1843,2068,1949,1931,1613,2170,2247,2061,1653,1544,1968,2170,1872,2198,2952,3050,1920,1521,1648,1806,1820,2878,3109,2236,1932,1970,1706,1711,2003,1766,1655,1857,1875,1899,2255,2171,1677,1422,1556,1890,1737,1723,1672,1743,1833,1890,1767,2078,2085,2179,2165,1770,1580,1853,1654,1605,1780,1642,1517,1622,1861,1829,1742,1747,1774,2190,2263,1875,2340,2542,2169,1995,2172,2566,3228,3835,3419,2809,3032,3171,2885,2890,2520,2448,2004,1997,2045,1807,1854,1665,1653,1946,2156,1991,1975,2565,2736,2534,2043,2001,1860,2308,2603,3040,3122,2811,2816,2734,2440,2131,2052,2432,2482,1795,2271,2768,2322,1772,1595,1995,2092,1712,2096,2041,2227,3397,3819,3325,2710,2469,2510,2760,3321,3726,3972,3229,1816,1545,1947,1869,1962,2604,3366,3257,3132,3111,2391,1768,1816,1932,2263,1841,1967,2251,1979,1914,2930,2829,2203,2348,2668,2619,2110,1594,1752,1812,1705,1698,1724,1715,1855,1964,2100,1959,2240,2458,2311,2042,1956,1840,1590,1648,1952,2221,1977,1730,1519,1640,1812,2360,3085,2941,2242,1885,1582,1779,1802,1809,2019,1911,1907,1903,1941,2057,2243,2170,1670,1836,1984,2167,1801,1616,1604,1599,1426,1688,1844,1696,1686,1941,1869,1878,2104,2525,2555,2054,1974,2193,2519,2562,2246,2039,2193,1957,1765,1771,1528,1918,2720,2877,2775,2598,2249,2396,2691,2122,2012,2265,2324,2115,2159,2027,1864,1891,2024,1693,2171,2769,2226,1820,1680,1788,1900,1517,1701,2264,2979,2646,2237,2244,2432,2303,2155,2568,2657,2556,2594,2764,2980,2709,2447,3267,4068,3913,3905,3991,3591,3030,2678,2540,2200,1832,1803,1808,1774,2419,2540,2115,1696,1815,2045,2241],[3322,3366,3252,3137,3430,3659,3384,2467,2190,1938,2218,2678,2636,2733,2988,3086,2753,2775,3193,3154,3055,3023,2807,2767,3277,2910,2698,3137,3616,3160,2664,2966,3196,3466,3459,3567,3417,3321,3312,2869,2476,2563,2934,3134,3283,3503,3504,3421,3261,3195,3904,3574,3264,2883,2733,2502,2416,2328,2355,2574,2552,2496,2578,2320,2326,2786,2879,2727,2966,3139,3124,2761,2634,2786,2706,2611,3044,3044,3204,3817,3438,3234,3317,3075,2775,2768,2934,2854,2854,2792,2614,2658,2566,2400,2476,2251,2308,2175,2283,2438,2680,2866,2786,2516,2619,2867,2713,2836,3334,3308,2791,2520,2403,2315,2175,1752,2007,2265,1666,1772,1931,1513,1557,1992,2032,1710,1508,1699,2204,2142,1541,1664,1918,2292,1693,1674,1823,2154,2618,2150,1886,1822,1707,1866,2140,2463,2526,2235,2988,3853,4078,3608,2709,2355,2089,1924,2121,2668,3046,2630,1801,1569,1782,1751,1808,1911,2004,2052,2200,2356,2275,1975,1990,1969,1717,1851,1958,2190,2514,2387,2336,2222,1812,1769,1859,2016,2575,3415,2989,2049,1778,2359,2986,3626,3742,3332,3321,3029,2302,2124,2631,2503,2338,1979,1512,1637,1991,3174,3099,2424,1792,1560,1641,1643,1606,1710,1854,1874,2021,2149,2115,1964,2073,2232,2524,2742,2987,2697,2183,2110,2214,2478,2888,2724,2160,2388,2321,2027,1743,2336,3020,2863,2902,2998,2539,2403,2375,3150,3518,3438,3217,2319,2114,1778,1621,2256,3141,2933,3116,3131,2636,2328,2508,2623,2909,2597,2898,2955,2610,2369,2700,3132,2770,2233,1765,1763,2327,2901,2976,3649,3016,2278,1462,1253,1815,2017,1794,1720,2264,2460,2376,2476,2942,2557,1982,1945,2097,2269,2228,2425,2959,2665,2084,2009,2115,2510,2338,2049,1772,1773,2286,2678,3054,3583,4228,4039,3776,3826,4180,4128,3798,3045,2972,3001,2802,2644,2188,1659,1652,1665,1872,2107,2042,2322,2077,2149,2767,3204,2827,2219,1768,1376,1605,2412,2220,2114,2114,1709,1655,2118,2798,2812,2533,2171,2200,2591,2482,2851,2799,2503,2943,3374,3350,2911,3017,2462,2063,2499,2354,1955,1503,1746,1922,2098,2062,1714,1795,2106,2451,2432,2088,1789,1633,1687,1757,1966,2764,2955,3235,2990,2978,3294,3288,3339,2994,2504,2374,2321,1836,2397,3471,3894,3849,3721,3509,2711,2332,2419,2199,2192,2263,1937,1714,1764,1842,1758,1678,1730,1780,1891,2019,1967,1831,1919,2066,2082,1730,1461,1434,1962,1926,2055,1771,1838,2044,1957,1979,2254,2754,3350,2657,2757,2795,2253,2041,2282,2866,2634,2240,2271,2510,2714,2438,1962,1950,1830,1902,2410,2710,2749,2508,2199,2176,2200,2532,2585,2858,2919,2432,1639,2053,1939,2810,3615,3688,3986,3736,2884,2270,2088,1982,1817,1753,1710,1694,1686,1705,1786,1890,2196,2413,2518,2484,2399,2268,2184,2170,2334,2408,2710,2798,2893,2909,2872,2907,3065,3263,3327,3342,3242,3130,3199,3603,3708,3377,3118,3050,3183,3293,3061,2722,2661,2665,2534,2536,2447,2445,2142,1879,1880,1919,2052,2433,2395,2127,2304,2530,2578,2501,2404,2243,2239,2237,2214,2201,2089,1869,1897,2066,1988,1909,1958,2013,2114,2190,2180,2316,2304,2396,2317,2171,2122,2049,2137,2584,3044,3403,3653,3814,4100,3770,3793,3672,2713,2452,3002,3160,3082,2841,2334,2314,2435,2055,1908,1548,1664,1720,1651,1825,2029,2142,2081,1920,1848,1734,1718,2019,2066,2618,2642,2100,2192,2740,2852,2316,2169,2216,1985,1829,1779,1891,1841,1746,1827,2281,2567,1959,1768,2004,2293,2142,1872,1845,1705,1834,1372,983,978,1060,910,1426,1755,1852,2006,2408,2457,2154,2089,2255,2610,2878,2569,2435,2776,2737,2767,2896,2610,2518,2896,3195,3882,3228,2943,2666,2379,2446,2266,2001,1816,1368,1434,1771,1924,1876,2854,2730,2480,2736,2397,2301,2252,2281,2602,2634,2350,2322,2291,2207,1799,1835,2622,3240,3187,3360,3682,3570,3459,3316,3254,3009,2202,2402,2665,2349,1978,2504,2464,2408,2500,2526,2436,2626,2614,2192,2337,3311,3752,2742,2626,2500,2348,2248,2505,2624,2374,2092,2201,2551,2507,2643,1907,1223,1121,2287,2730,2188,2149,2366,2766,2928,2595,2291,2565,2586,1990,1666,1715,2220,2322,2431,2575,2796,2979,3200,3341,2896,2270,1951,1843,2263,1748,1677,2288,2094,1875,1865,1830,1609,1537,1762,1664,1547,1504,1478,1434,1301,1207,1255,1420,1532,1513,1425,1309,1244,1326,1369,1392,1395,1555,1571,1563,1322,1318,1428,1301,1550,1539,1289,1315,1401,1648,1394,1372,1326,1380,1340,1200,1355,1520,1420,1391,1461,1357,1217,1350,1530,1481,1364,1594,1761,1449,1559,1791,1884,2307,2523,2269,2374,2116,2928,2392,2207,1741,1737,1762,1706,1754,1698,1488,1464,1708,1730,1208,1525,1594,2150,1587,1530,1738,1316,1290,1814,1502,1843,3041,3824,4023,3537,3543,3563,3741,3714,3687,3762,3956,3532,3081,2617,1468,1802,2115,1886,2016,1854,1951,2116,2230,1973,2485,3000,2776,2471,2796,2415,2105,2129,2459,2049,1801,2813,3362,3403,2927,2489,2003,1699,1830,2191,2507,1699,2070,2263,2119,2232,2287,2599,3587,4503,3476,2014,1677,1460,1445,1421,1411,1535,1684,2510,3189,2392,1665,1463,1935,2554,2119,1735,1872,1483,1697,2564,2508,2564,1875,1638,1837,1830,1828,1791,1657,1564,1423,1711,1684,1829,1580,1330,2172,2667,2384,2390,2387,1993,1426,1125,1230,1230,1192,1491,1536,1431,1584,1313,1121,1488,1705,1632,1568,1482,1730,1809,1555,1621,1887,1886,1419,1338,1815,2763,2916,2607,2690,2454,1716,1596,1873,2050,2618,1740,1637,2463,2919,2996,2251,1562,1844,2025,2079,2243,1800,1594,1891,1749,1680,1610,1528,1574,1492,2176,2575,1859,1740,1887,1906,1815,2179,3232,3687,3281,2730,3229,2536,1710,1983,2405,2922,2894,2965,2690,2218,2266,2034,1785,1836,1847,1622,1337,1388,1704,1497,1354,1469,1579,1710,1621,1550,1413,1365,1374,1452,1379,1272,1205,1197,1303,1335,1419,1633,1676,1570,1496,1446,1366,1300,1489,1538,1566,1678,1621,1559,1672,1360,1315,1340,1344,1489,1550,1556,1457,1289,1251,1312,1593,1765,1628,1914,1928,2101,2629,2679,2106,2181,3206,3068,1960,1856,1810,1760,1882,1703,1655,1887,2652,2501,2078,2023,2121,2815,2976,2339,2327,2081,2146,1926,1736,1664,1690,1709,1526,1615,2040,2020,1951,2283,2092,2212,2334,2009,1961,2044,1825,1512,1543,1731,2052,1979,2530,2105,2754,3338,3361,3442,3260,3119,3020,2938,2778,2517,2495,2552,2448,2159,2520,2386,2114,2686,3200,3118,2820,2575,2613,2533,2763,3282,2861,3089,2856,2696,2884,3553,3112,2154,2162,2534,2918,2978,2874,3300,2857,2934,2941,3368,3129,2193,1998,2216,2250,2133,2072,1772,1412,2057,1802,1838,2262,2298,2162,1839,1636,1626,1768,1818,1707,1677,1670,1726,1918,1737,1758,1823,1807,2054,2683,2577,2530,2479,2721,2592,2143,3055,3550,2814,2230,1853,2348,2369,1909,1646,1385,1207,1310,1822,2480,2563,1870,1331,1548,1679,1734,1836,1686,1670,2350,2150,1886,1880,1838,1792,1721,1726,1666,1807,2500,1970,1814,1896,2214,2408,2446,2707,2447,2555,2480,1812,1672,1377,1597,1321,1776,1896,1637,1666,1428,1466,1954,1760,1544,1607,1568,1540,1656,1813,1730,1893,2287,2098,1806,1605,1537,1480,1738,1830,1788,2039,1736,2113,2079,2240,2577,2039,2116,2158,1996,2156,2064,2591,2927,2132,2040,2712,2899,2956,3203,3076,2484,2548,2916,2775,2758,2744,1803,2499,3077,2862,2636,2564,2446,2545,2832,2664,2091,1933,2043,1784,2073,2347,2016,1420,1360,1656,2199,2221,1916,2597,3134,2500,1897,1665,1821,1860,1829,1895,1698,1377,1392,1388,1486,1806,1648,1531,1448,1597,1842,1952,1921,2176,2002,2143,2952,2884,2551,2576,2776,2542,2167,2032,1798,1429,1352,1523,1394,1333,1395,1303,1218,1362,1496,1598,1719,1653,1631,1509,1534,1681,1956,1852,1749,1842,1547,1787,2534,3049,3150,2997,2112,1697,1708,1489,1527,1878,1725,1719,1477,1706,2046,1653,1587,1852,2019,1480,1610,1867,1992,1801,1901,1945,1863,1762,1872,2652,2626,2322,2323,2942,2614,2224,1999,1855,1762,1651,2238,2644,2509,2441,1867,1874,1889,1880,1723,1758,1844,1781,1990,2237,1882,1482,1444,1606,1794,1697,1731,1909,1764,1707,1699,1611,1239,1243,1985,2250,2113,1738,1833,1833,2031,2101,1750,1648,1571,1678,1889,1919,1947,2231,2194,1924,1651,1747,1876,2083,2525,2889,3106,3632,3745,3618,3475,3200,2942,2508,2202,1948,2006,1851,1740,1972,1996,1613,1598,1654,1752,1927,2093,2618,3019,3392,2784,2225,2283,2375,2221,2161,2721,3011,2952,3232,3045,3019,2762,2558,3354,3064,2511,2756,2508,2039,1918,1794,1725,1558,1505,1984,2347,2987,3495,3474,3034,2728,2678,2573,2810,3382,3980,4034,2540,2188,2234,1953,1400,1587,2104,2236,1998,2246,2693,2057,1362,1619,1448,1978,2164,2258,2424,1934,1723,2599,2741,2163,1965,2070,2255,2447,1835,2086,1675,1459,1597,1597,1741,1827,1938,2118,1974,2285,2126,1838,1700,2164,2072,1514,1460,1590,2291,2353,1782,1714,1747,1584,2007,2866,2642,1997,1898,1736,2038,1832,1676,2084,2220,1973,2128,2426,2302,2129,2163,1830,1875,2468,2603,1989,1773,1635,1504,1481,1656,1786,1703,1788,1788,1792,2006,2097,2088,2099,1882,2232,2338,2440,2767,2344,1763,1940,1997,2109,2066,2003,2410,2864,2525,2408,2330,2076,2361,2262,1840,2044,2452,2155,1682,1664,1808,2064,2209,2236,2026,2288,2502,1986,1628,1640,1836,1793,1625,1820,1953,2477,2364,1910,2092,2359,2045,2015,2151,2129,2444,2677,2674,2924,3130,3239,3417,3399,3166,3598,3797,3462,2979,2219,1852,1864,1988,1905,1836,2125,2482,2082,2076,2069,1628,1964,2146],[3078,3023,2780,3060,3610,3253,2658,1866,1716,1640,2153,2685,2637,2287,2148,2381,2578,2938,3278,3145,3001,2916,2900,2785,3067,2817,2539,3546,4272,3726,2948,3328,3473,3566,3282,3204,3297,3249,3296,2745,2113,2329,2855,3277,3522,3508,3454,3334,3295,3509,3838,3376,3024,3054,3156,3118,2830,2414,2201,2488,2679,2531,2534,2369,2504,2390,2414,2746,3033,3385,3371,2579,2449,3256,3167,3118,3204,2937,3544,4006,3551,3394,3558,3706,3378,2770,2732,2998,2820,2482,2817,2912,2947,2624,2380,2564,2710,2347,2174,2313,2597,2743,2720,2713,3352,3228,2891,2607,3023,3292,2697,2296,2232,2241,2151,1946,1760,1953,1622,1600,1553,1721,2545,2888,2416,1730,1454,1578,2221,2369,1911,1721,2064,2583,1855,1664,2040,2827,3404,2878,2106,1790,1775,1835,2391,2518,2449,2155,2655,3286,3399,2778,2269,2514,2547,2425,2654,2858,2912,2723,1786,1642,1600,1444,1743,1974,1859,1986,2058,1936,1990,2033,2153,2083,1869,2072,2272,2621,2408,2249,2280,1939,1880,2239,2358,2408,2557,3256,3189,3022,2953,2797,2961,3398,3486,2985,2560,2717,2440,2293,2811,3009,2847,2111,1710,2085,2231,2800,3099,2647,1992,1760,1797,1879,1837,1901,1954,2237,2678,2656,2470,2512,2394,1858,1847,2431,2718,2356,2182,2094,1885,2198,2657,2675,2808,2691,2417,1893,1937,2584,2766,2728,2995,3021,2610,2312,2292,2958,3473,4304,3819,2692,2047,1658,1682,2368,3197,3053,3209,2431,2455,2194,2432,2719,2887,3091,3254,2976,2595,2572,3082,3194,2568,2025,2048,2235,2219,2861,3186,3034,2619,2226,1734,1361,1744,2088,1807,1573,1690,1795,1926,2289,2538,2142,1904,1947,2521,3186,2116,1922,2246,1663,1707,1433,1780,2322,2469,2039,1784,2314,2844,2892,3676,3958,3949,3748,3639,3638,3688,3437,3176,3154,3292,3270,3124,2289,1494,1403,1501,1510,1749,2059,2115,2244,2370,2811,3267,3301,3327,2854,1881,1416,2318,2945,3099,2765,2473,2052,2354,2691,2514,2300,2009,1753,1796,2388,2231,2671,2166,1824,2138,2543,2631,2398,2379,2273,2621,2837,2412,1830,1583,2264,2083,1784,1529,1396,1703,1945,2025,1997,1954,1769,1892,1930,2004,1734,1988,2611,3043,3232,3097,3270,3754,3513,2828,1989,1372,1260,1490,2769,3783,3518,2987,3272,3432,2594,1991,2040,2042,2184,2640,2242,1828,1662,1892,1756,1576,1659,1273,1407,1857,1901,1788,1908,1886,1708,1611,1656,1790,1829,1878,1911,1864,1976,2061,2163,2215,2385,2565,2936,2649,2929,3332,2369,1791,1938,2329,2192,1924,2164,2511,2516,1864,1727,1902,2020,1930,2622,2612,2226,2364,2661,2186,1932,2191,2126,1974,1569,1927,1837,2271,2418,3062,3741,3646,3227,2935,2604,1977,1808,1675,1677,1786,1857,1914,1982,2099,2199,2236,2249,2228,2170,2110,2142,2307,2540,2789,2890,2938,3006,3093,3190,3090,2948,2940,3125,3339,3264,3301,3253,3192,3305,3639,3587,3270,3010,2921,3022,3051,2757,2564,2555,2482,2198,2519,2632,2575,2230,1945,1914,2049,2275,2500,2320,2265,2391,2563,2661,2596,2605,2324,2309,2305,2138,2099,2112,1884,1845,1964,1933,1936,2003,2020,2009,2345,2336,2335,2299,2213,2147,2174,2322,2299,2282,2257,2608,3378,3921,3956,4007,3836,3683,3374,3351,3436,3356,3551,3628,3182,2730,2278,2238,1886,1515,1468,1763,1762,1722,1786,1966,2237,2655,2304,1386,1746,2127,2047,1918,2464,2476,2215,2575,2955,2768,2236,2127,2076,2220,1750,1626,1977,2036,2310,2533,2685,2800,2551,2163,2255,2094,1931,2064,2008,1693,1710,1310,1094,1274,1413,1334,1651,1874,1810,2164,2542,2192,2419,2241,2384,3016,2796,2578,2615,2916,3086,2534,2540,2985,3215,3258,2518,3149,3172,3084,3326,3388,3650,3248,2404,1652,1782,2232,2016,2189,2250,2963,2809,2902,3006,2669,2452,2462,2521,2565,2585,2326,2275,2377,2317,2150,2031,2500,2944,3241,3753,3830,3463,3504,3815,4187,3964,2828,2328,2590,1938,2030,2730,2497,2466,2558,2530,2646,3083,3532,2766,2728,3323,3067,2122,2049,2219,2103,2423,3010,2474,1624,1699,2260,2516,2914,3174,3073,2237,1984,2174,2050,2480,2551,2190,2544,2777,2617,2644,2329,2283,1966,1961,2376,2207,2130,2534,2478,2569,2819,3004,2761,2380,1914,1687,2091,2614,1902,1439,2307,2275,1714,1642,1515,1489,1449,1603,1554,1551,1417,1413,1397,1185,1151,1287,1417,1445,1265,1285,1331,1409,1254,1260,1399,1717,1805,1543,1342,1367,1497,1449,1312,1420,1485,1407,1484,1969,1881,1471,1317,1454,1721,1636,1428,1498,1432,1370,1378,1369,1324,1328,1284,1360,1526,1437,1417,1474,1595,1561,1392,1378,1574,1823,2608,3249,3209,3215,2351,1974,1651,1372,1395,1485,1595,1567,1505,1949,2046,1704,1324,1333,1408,1637,1434,1579,1688,1207,1284,1760,1546,1880,2358,3349,3852,3292,3484,3813,3718,3790,3760,3709,4117,3807,3144,2637,1511,2267,2258,1713,1790,1780,1758,1909,2291,2519,2465,2585,2479,1736,1778,1927,2272,2191,2600,1991,2333,3307,3890,3662,3337,3223,3023,2721,2180,2752,2843,2070,1965,2108,2397,2399,2272,2575,3658,4453,3279,1812,1576,1445,1520,1515,1431,1422,1368,1643,2204,2619,2329,2050,2536,2138,1687,1759,1517,1475,2652,3023,2447,2350,1826,1525,1780,1696,1718,1744,1727,1520,1406,1714,1798,1663,1299,1877,2763,2632,2373,2602,2698,2292,1513,1215,1282,1253,1441,1677,1760,1558,1486,1515,1672,1842,1826,1946,2099,1826,1930,1892,1791,1821,1780,1745,1384,1316,2111,2853,2652,2597,2735,2984,1891,1360,1553,1437,1806,1528,1515,2391,3009,2965,2350,1481,1832,2047,2089,2280,1987,1796,1738,1677,1694,1471,1376,1361,1617,2532,2697,1602,1612,1708,1685,1774,2307,3239,4149,3697,2789,3282,3327,3240,3464,3107,2921,3048,2982,2761,1999,2238,2181,1756,1925,2116,1713,1592,1649,1783,1447,1344,1226,1714,1942,1771,1504,1386,1357,1320,1472,1384,1277,1193,1216,1292,1242,1299,1406,1507,1473,1293,1439,1441,1359,1510,1499,1509,1460,1362,1670,1731,1359,1282,1274,1250,1312,1554,1654,1365,1355,1297,1297,1594,1735,1782,1630,1702,2009,2165,2164,1856,1953,2203,2104,1839,1809,2009,1903,2145,1852,1483,1771,1932,1689,1730,1955,2145,2656,2702,2542,2768,2359,2018,1800,1577,1522,1566,1600,1521,1796,2299,2319,2276,2436,2008,2295,2344,2125,2191,2326,2145,2375,2237,1947,2074,1682,2426,1795,1980,2848,3112,3222,3030,2845,2822,2602,2510,2711,2922,2971,2632,2155,2153,1931,1902,2309,2546,2587,2449,2469,2553,2740,3142,3593,2845,2561,2808,2994,2835,2989,2539,2160,2712,2887,3017,2752,3007,3288,2542,2301,2540,2618,2308,2136,2341,2556,2645,2321,2366,2127,1806,1637,1578,1814,1993,1943,1732,1558,1576,1830,1851,1634,1605,1769,1839,1655,1679,1808,1551,1481,1444,1808,2618,2750,2666,2543,2321,2102,2151,2708,2512,1980,1972,1800,2338,2574,2273,1882,1576,1337,1597,2755,3803,3798,2595,1656,1755,1617,1613,1585,1394,1512,1676,1535,1754,1611,1486,1556,2265,1743,1567,1746,2530,2148,1828,1926,2264,2535,2696,2668,2489,2729,1971,1880,1459,907,1043,1098,1471,1925,2151,1640,1361,1758,2412,2242,2270,2364,2125,1767,1412,1705,1975,1923,1849,1813,1624,1619,1452,1527,1788,1691,1531,1807,1870,2100,2092,2973,3120,1972,1857,2316,2409,2469,2447,2944,2736,2228,2403,2735,2667,3110,3638,3168,2482,2398,2566,2553,2611,2243,1924,2998,3383,2675,2368,2241,2018,2188,2580,2614,2009,2060,1743,1565,1727,1842,1669,1906,1860,1764,2430,2579,1837,2049,2541,2499,2017,1619,1650,2057,1939,1714,1460,1471,1552,1485,1741,2131,1882,1530,1348,1483,1467,1511,1632,1816,1685,2078,2833,3074,2774,2228,2453,2392,2082,1675,1441,1446,1462,1428,1332,1361,1434,1414,1440,1758,1795,1786,1642,1206,1534,1630,1571,1589,2067,2106,2058,1851,1749,1801,2408,2392,2364,1988,1648,1748,1600,1061,2026,2504,1657,1529,1337,1692,1609,1457,1567,1701,1843,1654,1737,1851,1730,1789,1809,1654,1695,1779,1954,2546,2433,2517,2394,2978,2440,1872,1938,1948,1866,1638,1904,2140,2124,2370,2058,1858,1881,1765,1795,1897,1690,1890,2632,2524,2074,1652,1583,1388,1290,1455,1802,1924,1736,1597,1448,1324,1058,1285,1992,2182,2074,1700,1860,1905,2602,2579,1860,1605,1459,1487,1628,1957,2139,2014,1649,1525,1600,1628,1906,1912,2327,3039,3471,3497,3268,3141,2973,3072,2776,2200,2117,1917,1873,1886,1515,1706,1987,1938,2141,1911,2016,2404,2475,2755,2383,2190,1926,1716,1726,1981,1847,1505,1881,2352,2819,3064,3067,3274,3428,3955,4029,3230,2946,2686,2108,1814,1607,1399,1832,1971,1897,1933,2797,3764,3709,3174,2695,2495,2604,2489,3140,3271,3501,3277,2284,1801,1822,1628,1184,1392,1883,1892,1951,2083,2046,1458,1445,1998,1715,1879,2110,2688,3009,2110,1692,1965,2138,2486,2447,1952,1902,2299,1814,1938,1588,1505,1808,1797,1778,1682,2051,2362,2089,2100,1777,1668,2200,2452,1864,1404,1736,2215,2294,2013,1554,1588,1698,1668,1858,2286,1869,1524,1689,1772,1964,2084,1965,2372,2468,1919,2214,2383,1994,2047,1947,2103,2309,2679,2589,2120,1747,1589,1496,1726,2327,2214,1841,2114,1970,1729,1670,1940,2141,2187,2646,3242,3122,2722,2895,2699,1859,2067,2182,1945,1957,2320,2247,2257,2258,2148,2052,1801,1603,1628,1626,1874,2461,2055,1577,1386,1248,1848,2232,2260,2198,2045,2445,2311,1909,1770,1692,1683,1756,1795,1643,1816,2008,2024,2243,2392,2325,2295,1811,1819,2071,2202,2332,2598,3011,3227,3240,3007,3099,3667,3297,3176,3172,2817,2649,2301,2134,1837,2128,2451,2237,1979,2108,2134,1777,1931,1920],[2819,2820,2712,2791,3164,2907,2392,1880,1785,2250,2740,2943,2487,1963,2087,2171,2915,3350,3234,3183,2997,2752,2808,2897,3312,3091,2646,3759,3918,3516,3428,3661,3819,3532,3292,3323,3306,3242,3309,2731,1888,2155,2994,3341,3674,3365,3184,3111,3297,3407,3438,3262,3112,3220,3429,3498,3286,2494,2045,2662,2821,2673,2686,2964,3173,3010,3006,2940,2851,3179,3053,2094,2171,3318,3197,3277,3189,3141,3429,3268,3172,3064,3249,3703,3164,2664,3017,3429,3419,3303,3124,2912,2624,2521,2366,2590,2780,2114,1799,1872,2384,2429,2164,2077,2688,2803,2552,2675,3475,3639,3012,2521,2513,2798,2332,1864,1580,1748,1688,1544,1388,2107,3200,3356,2662,1725,1618,1582,1792,2458,2119,1565,2081,2415,2209,2165,2885,3651,3474,2964,2486,1986,1874,1835,2778,2967,2471,2381,2474,2378,2612,2485,2236,2393,2335,2485,3030,3194,3217,2640,1998,1885,1762,1602,1951,2195,2051,2094,2142,2167,2182,1915,1716,1905,1981,2093,2202,2185,2111,2136,2088,2131,2563,2558,2412,2384,2477,2633,2641,2679,2590,2512,2621,2670,2581,2354,2402,2552,2196,2093,2321,2360,2316,2031,1843,1991,2036,2216,2386,2154,1992,2127,2142,2171,1981,2018,1935,2180,2432,2175,2174,2437,2321,1965,1539,1744,1784,2082,2363,2912,2504,2375,2942,3196,3252,3034,2258,2053,2182,2442,2616,2795,3232,3364,3024,2317,2179,2919,3418,3895,3697,2495,1747,1574,2005,2764,3115,2896,2814,1921,1435,1824,2524,2599,2563,2938,3181,2924,2473,2479,3155,3017,3042,2984,3179,3018,2543,2509,2429,2301,2076,2315,2123,1841,2002,1981,1675,1476,1675,2002,2103,2114,2245,2307,2286,2186,2338,2363,1821,2081,2165,1302,1527,1676,1537,1804,2027,2045,2353,2942,3574,3419,3827,3790,3704,3617,3271,3333,3321,3171,3204,3029,2736,2798,2636,2233,1477,1232,1460,1614,1863,2055,1971,2264,2664,2945,3128,3439,3416,2751,1972,2130,2709,2453,2652,2878,2741,2525,2614,2392,2562,2090,1614,1546,1774,2370,2675,2711,2137,1735,1746,1718,1859,2071,2019,2029,2546,2639,2274,1836,1914,2094,1748,1647,1689,1809,1745,1749,1999,2302,2158,2008,2430,2242,2008,1694,1643,1795,2540,3271,3097,2988,3061,2600,2422,2034,1800,1621,2229,3306,3107,2195,2332,3041,2951,2147,2217,2710,2623,2270,2236,1903,1699,1740,1975,1847,1700,1441,1165,1535,1730,1852,1591,1795,1953,1832,1717,1912,1858,1462,1419,1507,1682,1779,1929,2482,2641,2750,2200,2083,2123,2001,2258,1965,1926,1993,1893,1951,1961,2356,2153,2138,1886,1691,1681,1800,2055,2470,2273,2019,2235,2301,1842,1662,1853,1772,1525,1438,1781,2064,2276,2231,2491,2797,2423,2139,2232,2245,1787,1647,1686,1812,1930,2040,2184,2318,2402,2348,2214,2155,2223,2398,2620,2839,3119,3294,3432,3248,3087,3068,3227,3272,3040,2899,2942,3066,3165,3009,3056,3054,2997,3211,3588,3549,3183,2898,2822,2978,2944,2553,2536,2452,2108,2116,2580,2455,2266,2137,2098,2186,2245,2525,2635,2358,2588,2637,2652,2711,2498,2634,2547,2356,2122,2007,2037,2014,1930,1931,1863,1878,1944,1963,1991,1932,2244,2354,2275,2298,2274,2187,2148,2250,2276,2543,2384,2381,3006,3503,3607,3424,3640,3639,3123,2763,2846,3277,3690,4107,3443,2547,1920,2073,2083,1874,1684,1622,1624,1592,1642,1715,2008,3272,2330,1416,2294,2312,2134,2066,2148,2215,2353,2584,2802,2508,2135,2227,2708,2850,2382,2341,2592,2146,2243,3382,4224,4086,3543,2680,2233,2007,2019,2796,2577,2209,2042,1840,1816,1793,1826,2073,2203,2254,2115,1999,2374,2091,2243,2257,2446,2541,2479,2719,2816,2994,3408,2922,3317,3022,2622,3032,2843,3619,3504,3559,3859,3917,4252,4064,3134,2514,3098,2858,1648,1202,1622,2164,2256,2541,2652,2488,2600,2517,2573,2713,2638,2430,2326,2579,2489,2311,1983,2375,2956,3153,3673,3875,3696,3486,3566,3964,3713,2341,1836,1964,2004,2418,2440,2109,1964,2221,2200,2300,2640,3374,3054,2768,2493,2245,2397,2461,2564,2901,3267,3440,2055,1475,1774,2337,2808,3198,2788,2858,2755,2291,1676,1956,2689,2596,2143,2317,2622,2888,2929,2475,2754,2475,2059,2087,2036,2306,2529,2648,2718,2732,2823,2420,2046,1797,1964,2540,2655,1956,1459,1856,1956,1587,1529,1555,1576,1548,1475,1509,1550,1408,1404,1417,1279,1238,1308,1390,1554,1298,1298,1463,1564,1555,1565,1624,1687,1484,1210,1238,1267,1566,1823,1724,1804,1837,1913,1964,2568,1931,1330,1355,1741,2089,1952,1498,1654,1705,1449,1439,1386,1432,1356,1366,1404,1434,1502,1369,1463,1794,1489,1262,1325,1418,1587,1623,2081,2732,3129,3051,2646,2241,2075,2238,2084,1527,1346,1530,1711,1912,1761,1637,1590,1607,1472,1361,1372,1206,1158,1604,2147,1677,2040,2691,3570,3849,3146,2686,3086,3039,2911,3653,4027,4007,3614,2755,2051,1287,2215,2370,1983,2060,2007,1943,1781,1874,2244,2814,2487,2025,1820,1789,1839,2061,1885,1903,1925,2700,3516,3357,2710,3129,3559,3895,3769,2983,3084,2990,2345,2523,2763,2735,2480,2172,2383,3125,3271,2533,1815,1444,1358,1428,1489,1512,1426,1345,1265,1439,2295,2935,2923,2525,1639,1632,1448,1324,2266,3132,2840,2347,2294,1997,1639,1681,2012,1827,1722,1765,1663,1676,1837,1767,1394,1601,2610,2567,1942,2097,2566,2521,2186,1470,1347,1287,1504,1630,1703,1742,1627,1472,1615,1924,2183,3293,3912,3074,2186,1971,1701,1712,1810,1666,1620,1390,1386,2089,2584,2401,2648,2861,3352,2118,1389,1700,1703,1719,1744,1865,2676,2988,2697,2751,1686,1780,1964,2045,2269,1935,1620,1643,1526,1290,1514,1734,1813,2061,2789,2807,1839,1762,1897,1946,1852,1909,2532,3698,3620,2786,3448,3742,3694,3482,2864,2743,3435,3306,2846,2242,1736,1765,1528,1527,1886,1652,1630,1751,1606,1546,1590,1382,1710,2172,1966,1561,1428,1381,1332,1358,1271,1333,1278,1257,1298,1284,1293,1328,1561,1652,1364,1466,1397,1309,1374,1327,1492,1509,1585,1521,1354,1312,1295,1413,1338,1381,1556,1600,1475,1556,1484,1681,2385,2417,1826,1557,1537,1736,1766,1726,1766,1730,1902,2076,2129,2315,1999,1973,2224,1865,1520,1335,1296,1510,1612,1668,1941,2156,2380,2475,2486,1963,1560,1582,1560,1471,1216,1344,1644,2148,2492,2566,2729,2763,2216,2217,2994,3255,2566,2161,2329,2573,2128,2121,2068,1811,1720,1074,1186,1757,2314,2843,2976,2769,2645,2398,2844,3305,3283,3229,2954,2503,2502,2564,2532,2332,2306,2335,2165,2350,2564,2830,3143,3152,2221,2144,2633,2829,2251,2017,2138,2388,2558,2415,2930,2983,3627,3554,3034,2657,2536,2551,2418,2566,2666,2688,2342,2337,2408,2170,2000,1480,1274,1628,1930,2095,1712,1343,1707,2082,1993,2154,1904,1721,1693,1733,1665,1727,1873,1929,1645,1881,2566,2723,2504,2509,2464,2274,1990,1830,1343,1273,1487,1586,2101,2700,2587,1882,1521,1452,2333,3641,4364,4404,3453,2280,1758,1543,1362,1328,1326,1279,1486,1772,2060,1644,1601,1493,1531,1277,1218,1902,2431,2009,1764,1869,2116,2498,2404,2423,2552,2545,2136,2190,2036,1757,1777,2250,1970,2169,2577,1757,1712,1774,2421,2540,2657,3132,3389,2502,1582,1844,2118,1941,2076,1911,1651,1497,1476,1531,1615,1462,1583,1801,1614,1865,2094,2235,2247,1987,1797,1908,2199,2453,2590,2483,2361,2174,2132,2393,2536,3208,3765,3097,2596,2337,2155,2313,2577,2261,2590,3044,2735,2254,2085,2075,2410,2767,2720,2944,2546,2087,1556,1418,1487,1509,1726,2183,2076,2131,2869,2693,1634,1439,1702,1918,2131,2020,1619,1498,1784,1880,1566,1509,1749,1731,1786,1834,1898,1659,1513,1575,1567,1596,1683,1829,1970,2009,2322,2756,2990,2340,2074,2061,1989,1596,1417,1334,1334,1317,1360,1578,1524,1345,1304,1687,1910,1976,1732,1491,1592,1673,1612,1476,1513,1771,2088,1597,1659,1640,1986,1735,1565,1496,1548,1722,1435,1014,1203,1549,1591,1794,1444,1556,1439,1461,1414,1477,1683,1686,1847,1937,1916,1967,1869,1648,1454,1384,1688,2426,2850,2435,2161,2587,2535,1855,2026,1856,1478,1858,2036,1967,2002,2357,2083,1723,1724,1515,1830,2134,1643,1605,2454,2655,2323,1948,1679,1476,1412,1474,1932,1966,1802,2192,2188,1790,1730,1928,2126,2192,1908,1567,1970,2051,1856,1765,1573,1448,1408,1524,1972,2263,2086,1742,1770,1700,1754,2402,3122,2786,2530,3429,3761,3292,2968,2663,2391,2626,2576,2599,2601,2259,2184,1974,1404,1454,1953,2182,2790,2653,2602,2373,2210,2302,2280,2012,1656,1660,1787,2056,2515,1918,1532,1762,2592,3053,2951,2878,2901,3443,3986,3574,2922,2204,2026,1681,1619,1903,2039,2073,2081,2265,2735,3316,3419,2553,2208,2199,2920,2919,3320,3222,3209,2777,2540,2240,1809,1697,1857,2137,1856,1239,2134,2203,1937,1750,2118,2178,2086,2457,2322,2608,2839,2185,1577,1180,1866,2430,2355,2391,2471,1963,1794,1859,1624,1681,1951,2247,2186,1759,2150,2246,1934,1735,1655,1835,2412,2265,1812,1782,2220,2048,1583,1669,1692,1472,1516,1801,1990,1833,1529,1780,2382,1980,1636,2142,2281,2152,1929,1788,1729,1736,1731,2377,2144,1977,2374,2637,2530,1959,1834,1713,1574,1939,2402,2297,1995,2163,2066,1870,1814,1948,2191,2599,3111,3371,3096,2248,2404,2587,2284,2243,2185,2186,2427,2358,1934,1801,1748,1742,1960,1764,1730,1749,1390,1545,2304,2270,1878,1580,1676,2165,2426,2519,2304,2178,2342,2644,2496,1873,1671,1603,1638,1803,1832,1664,1543,1640,1932,1941,2054,2157,1926,1920,1974,2006,2179,2468,2442,2557,2846,2923,3218,3489,3306,3509,3472,3500,3462,2923,2371,1953,1875,1943,2208,1853,1662,1755,1852,2049,1926],[2799,2832,2746,2545,2732,2601,2554,2548,2348,2619,2670,2599,2316,2251,2698,2472,2773,3063,3064,3185,3050,2784,2749,2944,3477,3394,2934,3473,3430,3321,3645,3717,3736,3417,3312,3427,3381,3332,3423,3234,2569,2238,2833,3120,3319,3278,3479,3638,3704,3561,3557,3539,3282,3118,3385,3413,3061,2130,2170,2756,2786,2667,2684,3184,3756,3793,3461,2885,2523,2728,2575,2012,1996,2630,2894,3231,3173,3140,3263,3133,3298,3306,3498,3559,3295,3525,3708,3774,4128,4164,4069,3374,2551,2472,2221,2189,1930,1979,2402,2402,2153,2023,1852,1782,2256,2750,2993,3499,3970,3538,2700,2116,2111,2025,1955,1709,1677,1671,1627,1619,1626,1921,2612,2769,2327,1682,1781,2138,2215,2683,2670,2542,2213,1976,1939,2209,3305,3515,2513,2664,2285,1288,1555,2007,2553,2586,2833,3480,3272,2603,2463,2353,3133,3087,2539,2518,2506,2589,2998,3104,2589,2029,1938,1895,1937,2167,2515,2389,2386,2439,2430,2018,1752,1907,1914,2228,2975,2912,2621,2353,2051,2189,2239,2287,2321,2510,2385,2219,2321,2402,2429,2462,2379,2286,2069,2186,2125,2000,1909,2082,2238,2023,1840,1687,1606,1773,2223,2810,3035,2688,2288,2399,2192,2539,2437,2060,1847,2245,2431,1765,1823,1954,2134,2231,1827,1992,2221,2599,2703,3157,3081,2924,3061,3210,3596,3316,2215,2112,1770,1803,2199,2686,3281,3566,3188,2298,2260,2735,2877,2970,2864,2585,2016,1847,2224,3096,3294,3044,2912,2678,2179,2115,2500,2581,2814,3518,3464,2940,2495,2665,3196,3672,3825,3697,3595,3024,2753,2949,2599,2065,1879,2384,2447,1938,1932,2073,1899,1714,1842,2153,2475,2368,2260,2235,2284,2094,1880,2020,2236,2799,2405,1822,2150,1974,1636,1890,2295,2632,3107,3393,3443,2950,3405,3548,3395,3415,3275,3056,2710,2474,2667,2624,2421,2403,2188,2180,1657,1641,2240,2217,2396,2130,1558,2056,2408,2064,2287,2610,2501,2010,2038,2268,1961,2083,2680,3228,3350,2811,2621,2340,2840,2089,1938,2096,2175,2623,2686,2513,2237,2059,2085,1807,1892,2322,2630,2731,2707,2781,2564,2226,1938,1861,2092,1979,1848,1801,2200,2202,2040,2100,1919,1886,1926,1595,1584,1802,1848,2110,2732,2874,2909,2787,2648,2430,2219,2121,2035,1664,1715,2652,2796,2240,3068,3372,3019,1986,2457,2728,2453,2063,1958,2156,2254,2133,1770,1587,1521,1255,1315,1348,1442,1669,1457,1526,1765,1852,1864,1918,1737,1717,1746,1693,1786,1765,2274,2524,2762,2671,2222,1833,1687,2042,2119,1744,1751,1737,1666,1742,1870,2548,2447,2232,1858,1690,1613,1598,1876,2073,1987,2069,2093,2087,2038,2327,2112,1730,1466,1632,2023,2260,2425,2233,2343,2648,2112,2009,1870,1715,1804,1940,1951,1994,2179,2357,2354,2238,2096,2085,2258,2582,2850,3031,3112,3205,3329,3488,3381,3190,3129,2987,3041,3096,2967,2999,3132,3216,3098,2979,2930,2994,3104,3225,3542,3639,3340,2922,2818,2921,2745,2563,2350,1951,1691,2039,2293,2235,2358,2600,2912,2890,2432,2545,2596,2646,2681,2777,2759,2686,2329,2397,2648,2494,2194,2071,1935,1892,1976,2067,2076,1906,1980,1952,1918,1876,2066,2298,2445,2427,2218,2197,2152,2158,2179,2521,2666,2566,2352,2749,3097,3415,3792,3985,3769,2524,1946,2543,3408,3606,2877,2143,2192,2250,2272,1918,1570,1740,1620,1677,1712,1691,1672,2054,1525,1977,2355,2381,2467,2127,2023,2302,2325,2546,2476,2490,2157,2525,3396,3328,2938,2679,2288,1949,2305,3690,4121,3540,3434,2700,2108,1890,2126,2719,2458,2075,1920,1873,1930,1930,1593,1619,1964,2072,2046,1715,1266,1100,1371,1500,1782,2497,2598,2551,2672,3145,3053,2782,3255,2924,2800,3374,4000,4441,4120,4041,3980,3917,4072,4384,4006,3463,4100,3105,1394,788,979,1829,2436,2416,2315,2320,2305,2031,2431,2508,2619,2601,2362,2475,2455,2369,2265,2728,3364,3132,3391,3586,3293,2952,2888,3288,3005,2186,1920,1780,1860,2142,2719,2856,2408,2266,2091,2132,2402,2742,2622,2403,2265,2386,2467,2112,2331,2709,3061,3073,2001,1969,2612,2865,3232,3209,2690,2455,2365,2046,2434,2659,2259,2496,2447,2354,2286,2746,2496,2337,2930,2812,2326,2308,2385,2540,2678,2733,2907,2540,2091,2103,1897,1663,2386,2943,2565,1989,1546,1436,1477,1628,1591,1554,1542,1577,1737,1945,1913,1669,1435,1359,1292,1328,1482,1385,1444,1427,1441,1578,1595,1773,1768,1504,1354,1308,1532,1792,1503,1571,1814,1826,1780,1752,2003,2126,2027,1830,1567,1433,1615,1677,1543,1407,1548,1709,1535,1422,1530,1435,1385,1454,1422,1420,1417,1344,1577,1687,1491,1244,1293,1354,1320,1350,1524,1548,1780,2110,2401,2233,2330,2696,2734,2044,1903,2200,1959,2023,1771,1680,1844,1985,1914,1787,1676,1543,1782,2337,2383,1682,1776,2946,3796,3826,3221,2833,3496,3613,3441,3707,3735,3795,3696,2899,2067,1597,1985,1999,1955,2249,2367,2474,2114,1633,1996,2314,2743,2276,2049,1920,1742,1722,1907,1618,1730,2886,3649,3072,2226,2179,2692,3131,2939,2501,3010,3332,3376,3263,2931,2871,2292,2150,1749,2258,2415,2016,1750,1549,1328,1375,1447,1489,1438,1387,1334,1643,2832,3426,2947,1841,1598,1487,1295,2031,3125,2872,2189,2178,2237,2051,1708,1947,2501,2427,2099,1811,1750,1742,1690,1529,1453,2062,2585,1983,2076,2354,2221,2197,1787,1566,1405,1404,1562,1409,1367,1552,1740,1615,1784,2179,2112,2409,2001,1618,1830,1938,1632,1712,1938,1756,1632,1426,1593,2014,2297,2424,2713,3025,2864,1742,1577,2428,2975,3275,3188,2085,2557,2785,2328,2820,1993,1682,1914,2399,2687,2230,1823,1760,1518,1443,2720,3283,3665,3839,3436,3005,2347,2062,1971,1808,1876,1819,2302,3145,2943,2319,2240,1960,1897,1898,1827,2496,2965,2421,2608,2643,1879,1815,1360,1403,1585,1457,1791,1802,1540,1604,1593,1363,1605,1877,1938,1825,1483,1411,1305,1324,1336,1334,1353,1337,1480,1520,1276,1314,1448,1499,1321,1294,1261,1258,1439,1459,1506,1542,1539,1417,1301,1316,1410,1783,1384,1375,1597,1503,1453,1695,1967,2059,2579,2625,1748,1502,1575,1831,1766,1626,1721,1946,2579,2925,2453,2019,1792,1643,1653,1743,1696,1648,1817,1762,1906,1943,2421,2730,2867,2338,1764,1836,1853,1749,1694,1528,923,1354,2215,2930,3068,2898,2749,2509,2226,2338,2842,3097,2700,2362,2501,2127,1925,2874,2360,1942,1660,1207,974,948,1284,2243,3230,3032,2776,2728,3066,3326,3321,3208,3116,2670,2325,2523,2470,2186,2143,2061,2135,2459,2735,3067,2758,2480,2879,3124,2954,2863,2490,2351,2457,2749,2346,2688,3747,3836,3877,4027,2988,1922,2351,2567,2637,2775,2141,2253,1793,1739,2299,2764,2353,1627,1340,1594,1651,1759,1829,2037,2137,2509,2249,2527,2425,1882,1618,1561,1620,2106,2426,2016,1911,1976,2151,2000,1972,2517,3157,3139,2615,1847,1514,1344,1214,1531,1875,2169,2008,1583,1562,1983,3310,4256,4440,4014,2863,2025,1689,1444,1153,1255,1309,1693,1995,2433,2258,1870,1485,786,737,1095,1007,1405,1734,1550,1554,1817,1622,1748,1602,1799,1788,1624,1881,1973,2232,2002,1614,2008,1924,2152,2487,1802,1795,1740,2329,2391,2545,2706,3161,2900,2320,2416,2349,2471,2578,2066,1632,1383,1711,1639,1640,1541,1714,1740,1630,2089,1785,1646,1889,2032,1813,1634,1839,1849,1939,2076,2322,2221,2071,2288,2373,3352,3696,3121,2586,1935,1907,2176,2132,2109,2492,2624,2398,2189,2065,2263,2875,3386,3560,3335,2935,2062,1583,1486,1446,1441,1446,1569,1615,1971,2460,1905,1582,1534,1652,1672,1807,1948,1650,1426,1785,2575,2345,1756,1634,1715,1810,1741,1575,1405,1551,1587,1737,1968,1701,1978,2544,2120,2007,2423,3002,3027,2393,2261,2260,1839,1410,1414,1901,2060,1701,1693,1742,1599,1620,1769,1901,2091,2060,2181,2048,1820,1527,1522,1771,2025,2375,2159,1844,1860,2084,1825,1456,1457,1688,1745,1361,1320,1266,1280,1363,1445,1406,1411,1448,1500,1469,1392,1351,1348,1639,2199,2304,1914,1649,1506,995,1634,2428,2274,1917,1778,2030,2540,2439,1937,2340,1828,1392,1445,1549,1485,1691,2142,2100,1932,1780,2022,2518,2466,1807,1651,1945,2148,2033,1932,1841,1649,1428,1554,2003,2122,2402,2951,2959,2171,1861,1971,2208,1999,1602,1641,1992,2068,2093,2137,1696,1445,1524,2225,2502,2280,1914,1836,1884,1701,1842,2558,3414,3717,3591,3796,3660,3142,2639,2263,2391,2338,2119,2315,2075,2637,2923,2501,1914,2244,3040,2461,2952,3012,2750,2155,1782,2175,2354,2070,2179,2722,2207,1994,2809,2148,1283,1382,2166,2767,2838,2663,2529,2816,3599,3532,2559,2042,1774,1603,1621,1597,1515,1747,2185,2511,2464,3190,3658,2863,2864,2331,2877,2833,2633,2620,2375,2285,2477,2399,2086,2248,2663,2720,1737,1236,2498,2853,2678,2430,3271,3334,2658,2490,2300,2469,2707,2160,2088,1625,1830,1923,2036,2799,3017,2347,1933,1706,1582,1532,1763,2078,1725,1640,1828,1839,1792,1802,1720,1948,2587,2535,1713,1788,1851,1917,2007,1815,1977,1870,1644,1874,1885,1703,1684,1785,2073,1801,1468,1820,1956,1765,1639,1890,1748,1681,1586,1876,1703,1581,1982,2194,2291,1749,1801,1549,1904,2175,1851,1915,2216,2099,1803,1867,1856,1995,2388,2862,3226,3328,2349,1891,1995,1988,2053,2303,2350,2065,2228,2168,2088,2242,1869,1646,1775,2116,1909,1710,1648,1622,1785,2235,2674,2287,2160,2601,2800,2912,2530,2486,1988,2251,2623,2314,2039,1929,1862,1720,1418,1547,1585,1829,1974,1501,1422,1991,2080,1792,1789,1763,2111,2567,2547,2167,2144,2091,2322,2641,2722,2946,2932,2770,2734,2815,2346,1957,1927,2020,2460,1898,1924,1932,2036,1981,1848],[2667,2832,2949,3029,3041,2635,2556,2597,2588,2565,2491,2360,2381,2620,2887,2718,2818,3089,3174,3161,3079,2976,2966,3160,2884,3124,3042,3427,3526,3616,3674,3636,3674,3443,3285,3359,3418,3244,3248,3389,3207,2473,2253,2411,2754,3396,3750,3792,3846,3688,3466,3518,3133,3032,3360,3428,2965,2481,2552,2803,2834,2817,2668,2811,2898,2872,2998,2237,2116,2410,2349,2137,2144,2504,2980,3318,3116,2669,2314,2542,2842,3191,3212,3338,3392,3576,3607,4029,4539,4471,4302,3541,3060,2589,2542,2383,2014,1971,2586,3011,2735,2408,1989,1730,2368,2988,3520,4012,3697,2412,2016,2280,2540,2058,1949,1919,1759,2049,2192,2083,1995,2072,2370,1973,1861,1550,1699,2250,2464,2523,3084,3354,2461,1926,1969,1986,2721,2652,1896,2051,1683,1197,1500,2307,2407,2416,3770,4516,3855,2635,2790,3154,3731,3251,2984,2810,2362,2084,2864,3589,2953,2232,2443,1981,1924,2280,2690,3090,2955,2783,2616,2119,1982,2141,1790,2070,3130,3344,3146,2589,2476,2273,1896,2116,2235,2253,2108,2150,2452,2793,2632,2422,2298,2374,1949,1596,1787,1851,1889,2012,2306,2524,1888,1542,1555,1794,2484,3228,3216,2894,2480,2077,1836,2054,1839,1899,1933,2183,2732,1974,1969,1923,1721,2308,2208,2429,2744,2540,2422,2875,3249,3060,3027,3386,3735,3331,2313,2380,1850,1775,2084,2292,2512,2965,2731,2294,2408,2579,3244,3343,3229,2567,2286,2502,2525,2995,3300,3317,3266,3194,3372,2963,2462,2454,2928,3761,3686,3075,2787,3055,3282,3611,3718,3493,3473,3306,3458,3967,3776,2507,1909,2127,1927,1586,1658,1615,1454,1544,1918,1820,2002,2013,1832,2374,2216,1787,1630,2026,2640,2931,2556,2415,2225,1675,1774,2297,3054,3539,3604,3559,3106,2501,2930,3079,2664,2924,3207,2544,1918,2149,2736,2833,2645,1978,1800,2092,1950,2129,2515,2920,3253,2263,1563,1914,2278,1993,1908,1914,2010,2070,2291,2108,1969,2529,2852,3207,2950,2589,2710,2646,2480,2174,2131,2270,2669,2872,2768,2610,2474,2278,2346,2370,2586,2639,2932,3098,2679,2957,3210,2670,2372,2833,3038,2504,1938,2152,2998,2785,1998,1698,1791,1973,2186,2068,1776,1599,1869,2397,3091,3005,2352,2288,2348,2658,2784,2601,2409,2140,2192,3211,3140,2658,3630,3181,2767,2328,2240,2232,2007,1745,1965,2587,2951,2405,1523,1426,1686,1271,1502,1243,1382,1629,1642,1597,1738,1960,2096,1932,1698,1738,1736,1555,1620,1672,1858,2101,2354,2365,1993,1475,1661,2108,2315,1935,1960,2101,1950,1741,1996,2215,2360,2386,2240,2042,1958,1931,2200,2054,1928,2142,2178,2332,2357,2629,2282,1748,1512,2028,2376,2379,2652,2730,2700,2540,1960,1717,1659,1853,1960,1870,1836,2040,2320,2332,2179,2137,2340,2598,2960,3108,3074,2839,2862,3076,3234,3327,3238,3187,3108,2918,2790,2910,2963,3124,3230,3300,3288,3120,2900,2893,2898,3032,3338,3397,3239,2890,2813,2820,2678,2601,2235,1823,1743,1910,2038,2374,2874,3233,3430,3247,2633,2655,2832,2863,2863,2799,2800,2720,2426,2296,2510,2457,2126,1973,1986,1951,2011,2084,2019,1962,2003,1969,1941,1941,2024,2165,2287,2134,2210,2205,2282,2342,2429,2535,2692,2578,2436,2456,2484,2669,3329,3682,3574,3018,2706,3154,2840,2591,2532,2540,2265,2045,2020,1733,1930,2114,1738,1716,1701,1629,1690,1516,1432,1879,2420,2602,2134,2003,2396,2498,2318,2402,2142,2170,1987,2216,2698,2751,2301,2097,2284,2386,2235,2757,2754,2846,2872,2235,1621,1725,1950,2137,2351,2090,1754,1826,1716,1610,1550,1626,1708,1711,1887,1428,789,884,1237,1619,2294,3175,3212,2557,2192,2739,2293,2211,2888,3147,3306,3693,4136,4581,4464,4145,3595,3541,4104,4641,3938,2741,2162,1266,1228,1297,1429,2443,3076,2554,2464,2317,2164,2107,2597,2418,2644,2812,2505,2507,2321,2589,2833,3228,3212,2929,3088,2998,2755,2713,2510,2627,2656,2271,1716,1668,1770,2066,2468,2888,2788,2403,2238,2177,2402,2549,2532,2778,2669,2488,2252,2351,2798,2630,2486,2635,3029,3038,2853,3015,3263,3010,2126,1912,2022,2060,2294,2045,2229,2557,2184,2139,2259,2543,2714,2240,2129,2466,2566,2612,2422,2593,2542,2187,2574,2339,2015,2133,1987,2131,2866,2989,2348,1766,1702,1536,1495,1831,1842,1636,1524,1476,1696,1831,1840,1926,1837,1399,1408,1492,1564,1392,1504,1453,1464,1412,1588,1881,1767,1367,1411,1588,1843,1729,1622,1819,1848,1801,1574,1715,2470,2566,1814,1636,1573,1607,1756,1666,1512,1523,1663,1882,1788,1574,1505,1359,1380,1385,1339,1378,1401,1470,1625,1683,1450,1270,1483,1616,1414,1404,1377,1286,1325,1567,1924,2210,2388,2841,2463,2054,2119,2292,2644,2590,1930,1674,1814,1970,2058,1942,1772,1670,1964,2574,2200,1786,2234,3183,3500,3492,3174,3283,3851,3452,2976,3702,3692,3674,3842,3304,2486,2004,1894,1746,1964,2236,2275,2164,1842,1775,2308,2127,2323,2326,2197,2015,1959,1901,1830,1823,2417,2745,3631,3352,2496,2137,2165,2425,2216,2523,3312,3249,2818,3051,3256,2994,2194,2052,1908,2182,2574,2602,2484,2010,1793,1605,1400,1406,1322,1380,1358,2019,2914,3106,2092,1571,1585,1292,1578,2767,3210,2642,2065,2187,1876,1861,1837,2354,2624,2608,2326,1995,1762,1635,1677,1710,1723,1833,2046,1848,2511,2252,1827,2193,2104,1662,1497,1743,1543,1276,1470,1518,1734,1601,1667,2093,1951,1872,2068,2120,2054,2020,1490,1331,1735,1800,1606,1266,1606,2066,2292,2518,2730,2790,2228,2075,3124,3638,3872,4202,3905,2300,2246,2607,2227,2604,2256,1655,1852,2679,3586,3409,2325,1548,1642,1548,3286,4005,3962,3751,3332,3068,2464,1924,1780,1607,1857,1990,2778,3155,2392,1858,1623,1532,1842,2057,1914,2322,2851,2592,2801,3030,2205,1683,1310,1359,1478,1692,1982,1723,1559,1704,1745,1684,1638,1548,1998,1924,1412,1227,1255,1351,1328,1333,1392,1267,1325,1410,1394,1567,1438,1460,1345,1417,1415,1311,1399,1413,1356,1498,1606,1538,1353,1346,1333,1807,1561,1556,1727,1547,1410,1533,1799,1860,1813,1898,1680,1371,1489,1952,1900,1685,1579,2193,3024,3067,2324,1572,1454,1511,1681,1657,1592,1675,1812,1734,1757,1769,2181,2648,2752,2341,2105,2075,2046,1756,1517,1571,951,1196,2139,3090,3628,3640,3163,2130,2128,2352,2597,2603,2472,2306,2240,1886,2046,2204,1825,1750,1886,1910,1384,1184,1153,1931,2849,2919,2832,2853,2993,3177,3272,3262,3184,2776,2284,2439,2352,2299,2288,2313,2248,2649,2724,2740,2394,2255,3232,3584,3516,3171,2918,2601,2309,2441,2695,3576,3977,3851,3994,3941,3023,2797,3465,2958,2485,2402,2169,1957,1795,2007,2614,3130,3045,2276,1497,1646,1583,1780,2414,2409,2307,2432,2479,1946,2030,1814,1786,1852,1636,2271,2876,2447,2434,2142,1858,1627,1557,2029,2861,2986,2652,2208,1755,1581,1672,1848,1905,2260,1932,1505,1473,2521,3641,4400,4560,3386,2165,1890,1766,1647,1484,1543,1727,2060,2235,2304,2044,1834,1484,978,1238,1750,1732,1664,1446,1361,1161,1129,1195,1150,1233,1255,1435,1822,2166,2185,1930,1668,1259,1353,1481,1995,2276,1754,1569,1601,1950,2536,2630,2673,3165,2822,2501,2476,2386,2907,2862,2313,1597,1555,1664,1633,1728,1613,1627,1882,1963,2074,1842,1625,1802,1742,1682,1914,2034,2023,2103,1937,2031,1967,1990,2263,2416,3326,2989,2511,2288,1887,1954,1926,1639,1601,1797,1984,2247,2429,2696,2929,3322,3686,3778,3770,3108,2120,1908,1567,1438,1443,1527,1421,1446,1948,2330,1914,1840,1795,1573,1578,1747,1854,1734,1577,1719,2658,2546,2030,1696,1644,1865,1842,1606,1639,1670,1684,1951,1928,1880,2552,2939,2439,2568,2692,2919,3162,2889,2647,2305,1955,1660,2002,2774,2598,1921,1731,2042,1941,1816,1800,1977,2181,2455,2474,1848,1760,1654,1991,2821,3008,3150,2501,2022,1915,1976,1925,1705,1666,1731,1630,1574,1383,1533,1660,1487,1489,1429,1411,1410,1560,1806,1472,1294,1412,2148,2273,1888,1957,1818,1385,1290,2487,3183,3086,2601,2052,2161,2217,1986,2071,2175,1793,1600,1429,1346,1542,1888,1810,1842,1835,1719,2232,1884,1720,1530,1825,1898,1687,1658,1783,1921,1842,1564,1678,2082,2073,1747,1885,2224,2178,1824,2032,2368,1946,1557,1661,2018,2165,2601,2619,2009,1705,1814,2402,2316,2114,1953,1780,2060,2084,2117,2622,3642,4027,3948,3804,3133,2567,2352,1938,2062,2065,2427,3012,2110,2736,3108,2864,1987,2055,2276,2448,2850,2920,2830,2427,2028,2187,1986,1886,1935,2731,2077,1992,2720,2336,1800,1955,2442,2880,3034,2535,2440,2614,2974,2767,2046,1921,1980,1948,1924,1463,1175,1709,2324,2593,2544,2953,3767,3763,3548,2565,2285,1959,1836,1963,2121,2502,2490,2622,2586,2547,3087,2908,1974,1794,2364,2785,2647,2613,3510,3672,2703,1989,2270,2969,3208,2387,2468,2235,1964,1877,2056,2918,3359,2839,2369,2306,2094,1655,1582,1566,1537,1707,1687,1721,2048,2140,1990,1838,2081,2295,2056,1907,1924,2474,2185,1984,1942,1757,1664,1832,1867,1848,1975,1703,1887,1953,1594,1681,1845,1861,1831,2313,2033,1516,1600,1594,1344,1583,1882,1957,1879,1586,1504,1707,2184,2087,2126,2244,2243,2214,2053,2189,1995,2016,2402,2740,2718,3100,2426,2216,2314,2149,1864,2036,2308,2029,2122,2132,2150,2443,2301,1743,1571,1872,1888,1858,1704,1700,1662,1696,2195,2297,2287,3128,3286,3133,2679,2731,2231,2164,2741,2622,2441,2323,2109,1945,1479,1550,1505,2183,2319,1863,1608,1938,1990,1666,1628,1838,1829,2332,2706,2404,1787,1582,1668,2137,2259,1942,1961,2176,2218,2001,1687,1833,1816,2210,2128,1863,1974,2122,2070,1825,1744],[2647,2726,2889,2953,3113,2962,2747,2880,2845,2644,2708,2770,2666,2722,3065,3087,2876,2981,3144,3064,3188,3277,3350,3020,2382,2967,3354,3632,3905,4005,3930,3666,3627,3477,3281,3269,3379,3233,3276,3365,3585,3053,2877,3217,3376,3505,3459,3420,3544,3494,3452,3843,3563,3414,3370,3260,2946,2692,2840,2922,2941,2945,2495,2401,2115,2056,2309,2373,2600,2507,2895,3278,2696,2596,3098,3261,2923,2528,2032,2676,3362,3327,3145,3247,3444,3646,3708,3974,4068,4012,4083,3129,3204,2435,2665,2691,2113,1840,2033,2248,2411,2435,2287,2343,2567,2874,3282,3921,3333,2481,2484,2996,2620,2207,2634,2309,2229,2835,2641,2452,2284,2301,2269,2181,1897,1672,1780,1891,1988,2191,2540,2863,2345,2643,2630,2437,2508,2258,2082,2108,2143,1670,1676,2363,2420,2653,3982,4277,4093,3028,2895,3618,3817,3242,2912,3120,3079,2562,2356,2553,2170,2148,2220,1872,2187,2718,3050,3325,3256,3288,3007,2247,1782,2020,1599,1986,2766,3432,3330,2441,2637,2281,1712,1751,1917,1925,1803,1737,2050,2906,2842,2446,2031,2339,2032,1581,1743,1607,1544,1714,2526,3231,2238,1754,1594,1696,2102,2272,2155,2568,2542,1936,1602,1715,1794,1809,1570,1488,1709,2074,2486,2122,1520,1769,2128,2450,2380,2250,2871,3532,3558,3115,3008,3670,3860,3119,2340,2483,2637,2558,2548,2512,2934,3179,2958,2601,2404,2543,3249,3560,3726,2816,2769,2951,2379,2174,2719,2883,2802,3064,3108,2868,2319,2258,2778,3636,3735,3434,3338,3410,3459,3338,3088,3082,3874,4073,4052,4277,3621,2543,2310,2372,1827,1785,1989,1794,1439,1565,1998,2293,2230,2156,2052,2388,2197,1735,1616,2109,2795,2827,2338,1857,1807,1919,2282,3054,3776,3803,3598,3619,3153,2556,2646,2358,1931,2485,2772,1891,2126,2956,3232,2820,2526,1871,1527,1719,1886,1879,1709,1834,2180,1959,1847,1976,2197,2276,2333,2505,2533,2177,2146,1974,1952,2264,2564,2194,1760,2268,2930,2658,2477,2802,2820,2687,2815,2976,3059,2668,2438,2294,2396,2706,2939,2830,3054,3099,2570,2567,3164,3032,2931,3081,3056,2635,2455,2432,2625,2525,2052,2030,1978,2173,2236,1901,1655,1548,2029,2566,2822,2763,2409,2400,2081,2124,2480,2513,2103,2230,3028,3676,3234,3041,3375,2872,2534,2332,2133,2100,1952,1888,2053,2116,2507,2250,1790,1800,1572,1476,1582,1429,1505,1738,1802,1711,1787,1863,2007,2091,1936,1842,1738,1537,1627,1365,1231,1669,2070,2280,1672,1405,2070,1901,1886,2160,2361,2252,2090,2057,1916,1741,2003,2265,2154,2252,2301,2012,2083,1316,1209,1434,1869,2465,2654,2412,2188,2272,2441,2567,2402,2393,2634,2722,2309,1884,1643,1689,1798,1810,1785,1841,1880,1905,1973,2189,2453,2794,3090,3209,3304,3183,2916,2702,2752,3010,3248,3244,3275,3367,3203,2983,2774,2897,2938,3084,3210,3299,3308,3185,3083,2938,2850,2932,2956,2887,2612,2588,2668,2520,2708,2758,2376,1927,1772,2050,2545,2987,3092,3439,3529,3276,2697,2583,2403,2484,2688,2578,2780,2695,2381,2146,2165,2159,2160,2187,2244,2145,2138,2223,2208,2025,1940,1980,2017,2017,1997,1921,2008,2181,2272,2254,2328,2366,2520,2686,2577,2288,2387,2634,2980,2609,3034,3600,3283,3041,2881,2684,2229,2278,2723,2735,2353,2376,2003,1639,1814,1957,1626,1561,1740,1846,1838,1693,1608,1679,2247,2281,1992,2584,2954,2736,2322,2241,2200,2015,2345,2625,2319,2210,1863,1655,1693,1506,1533,1763,1889,1927,2077,1857,1866,2090,1715,1830,2247,2165,1652,1689,1615,1655,1915,1488,1609,2084,1933,1356,891,1328,1404,1678,2060,3023,3044,2232,2166,2208,2286,2385,2626,2977,3121,3617,4487,4644,4255,3264,2328,2332,3249,4241,3626,2739,1904,1453,2087,2031,1485,2176,2867,2333,2163,1982,2193,2534,2467,2227,2590,2801,2745,2758,2242,2996,3275,2839,2340,2659,2262,2075,2307,1964,1434,1722,2415,2280,2124,2293,2559,2447,1965,2011,1807,2203,2624,2109,2165,2492,2469,2998,2884,2445,2370,2954,3028,2688,2384,2715,3444,3374,3190,3022,2878,2617,1741,1834,2204,2245,1860,2099,2593,2388,2413,2864,2542,2309,2457,2321,2327,2552,2162,1765,2163,2264,1920,1742,1464,1622,2275,2326,2565,3018,3028,2763,2288,2214,2210,1653,1509,1787,1805,1654,1536,1399,1583,1660,1649,1791,1862,1543,1348,1438,1364,1342,1451,1432,1411,1416,1583,1863,2065,1630,1830,1909,1731,1471,1421,1711,1775,1718,1521,1735,2832,3034,1748,1570,1531,1724,2072,2040,1933,1702,1782,2059,1829,1592,1351,1421,1329,1287,1237,1376,1375,1504,1516,1447,1499,1504,1516,1599,1488,1376,1439,1376,1287,1399,1598,1978,2277,2308,2237,2425,2526,2177,2318,2459,2168,1815,1795,1953,2089,1851,1710,1695,1869,1978,1835,1620,2239,3006,3043,2795,3282,3733,3356,2662,2890,3773,3743,3738,3773,3123,2061,1813,1729,1837,1984,1912,2146,1677,1652,2141,2105,2155,2193,2192,2351,2211,2254,2255,1775,2247,2620,2865,3918,3870,2724,2029,2138,2752,2933,2698,2829,2740,2410,2710,3204,2786,2036,1858,1818,2018,2232,2410,2343,2085,2160,1792,1703,1601,1268,1266,1462,2677,3460,2472,1533,1593,1460,1343,1947,2642,2940,2934,2630,2368,2107,2390,2372,2381,2575,2530,2169,1849,1640,1801,1660,1702,1745,1998,2405,2239,1798,1536,2103,2397,2195,2277,2028,1861,1263,1218,1395,1581,1666,1650,1621,1710,1778,2147,2957,2934,2243,1937,1226,1024,1561,1838,1528,1263,1651,1970,2236,2764,3000,2718,2013,1857,2830,3453,3306,3552,3532,2878,2697,2754,2359,2454,2272,1648,1844,2850,4284,4148,2908,2513,2354,1577,2758,3694,3895,4112,3835,3221,2485,1702,1732,1723,1888,2056,2746,3085,2537,2077,1808,1692,2064,2267,2234,2510,2990,2721,2941,3050,2180,1472,1224,1169,1352,1694,1772,2561,3555,1917,1816,1757,1500,2007,2442,2088,1333,1006,1161,1353,1446,1422,1384,1266,1383,1360,1421,1394,1519,1529,1406,1633,1704,1569,1511,1445,1382,1366,1343,1696,1820,1681,1495,1800,1733,1676,1681,1476,1344,1500,1854,2101,1882,2041,1663,1401,1591,1637,1613,1595,1465,1887,2758,2738,2094,1629,1642,1630,1816,1555,1501,1552,1442,1550,1660,1650,1958,2222,2099,1675,1826,1875,1886,1576,1530,1653,1299,1263,1602,2194,2599,3001,2909,1765,1587,1943,2174,2373,2308,2075,1813,1500,1815,2317,2203,1843,1811,1989,1454,1583,1881,3015,3616,3055,2737,2741,2831,3084,3308,3122,3082,2892,2340,2435,2155,2242,2247,2505,2438,2095,2087,2585,2237,1930,3042,3813,4049,3632,3305,2359,2240,2498,2875,3382,3671,3849,4006,4005,3671,3707,3326,2887,2150,2137,2365,2041,1734,1925,2344,2482,2876,3178,2136,1843,1859,2014,2201,1881,2242,2420,2447,2377,2068,1882,2445,2289,1957,2677,2843,2358,2461,2352,1819,1687,1627,1880,2219,2080,2050,2467,2315,2167,2069,2066,1802,1803,1365,1052,1574,2669,3346,4096,4388,2957,2124,2258,1777,1683,1762,1838,2048,2003,2332,2226,1936,1909,1543,973,1337,1932,2078,1945,1988,1719,1378,1456,1573,1568,1572,1433,1608,2024,2279,2401,1842,1606,1743,2013,2148,2554,1952,1581,2078,2100,2002,2388,2973,2308,1931,2258,2230,2255,1732,1788,2280,2352,2028,1824,1675,1517,1414,1570,2115,2293,2042,1987,1858,1891,2209,1853,1617,1844,1849,1769,1758,1758,1864,1685,1768,1842,2148,2408,2076,1697,1706,1922,1866,1824,1730,1648,1521,1565,1749,2049,2668,2653,3029,3719,3802,3746,2720,1529,1412,1493,1394,1395,1427,1394,1448,1835,2002,1800,2143,2321,1814,1524,1531,1577,1619,1475,1511,2202,2429,1915,1710,1836,1990,1748,1492,1560,1740,1798,1798,1815,2210,2935,3074,2584,2569,2591,2490,2374,2143,2308,2404,2119,1816,1834,2465,2433,2052,2198,2193,1896,1796,1714,1722,2510,3002,2575,1981,2023,2194,2546,3419,3835,3405,2292,1879,1945,2130,1838,1830,1596,1526,1373,1515,1570,1993,1772,1410,1484,1598,1735,1700,1530,1986,1654,1410,1591,2900,2317,1639,2192,2176,1800,2500,3053,2604,2881,1945,2057,2277,1816,1959,2050,1650,1527,1683,1679,1686,2212,2801,2305,2200,1860,1842,2072,1852,1606,1688,2251,2283,1864,1652,1608,1873,1984,1692,1920,1946,2215,2092,1570,1739,2214,2148,2081,2265,2278,1726,1760,2377,2460,3017,2853,1984,1684,2069,2434,2197,2016,1835,1611,2428,2621,2366,2674,3557,3918,4005,3710,2813,2588,2358,1844,2025,2200,2614,3306,2946,2596,2538,2439,1820,1803,2001,2268,2662,2556,2533,2712,2301,2383,2436,2371,2369,2941,2628,2404,2576,2642,2688,2962,3156,3040,3178,2463,2474,2734,2602,2514,2958,3338,3209,3032,2874,1984,1296,1561,2192,2481,2630,2721,3196,3790,3682,2954,2279,1984,2177,2587,2746,2641,2121,2596,2781,2247,2269,2354,2287,2294,2260,2404,2546,3285,3907,3821,2633,2027,2688,3117,2852,2357,2123,1830,1732,1757,2007,2797,3197,3173,2541,2820,2412,1962,1687,1615,1918,1999,1655,1410,1282,1425,2171,2232,1991,1968,1979,2130,2786,2390,1866,2461,2544,1915,1669,1823,2065,2068,1813,1680,2048,2200,1741,1574,1645,1416,1571,2166,2078,1531,1686,1712,1438,1776,1816,1892,2002,1747,1600,1839,1906,1805,1965,2083,2008,1867,2039,2168,2365,2420,2390,2634,2214,2461,2814,2770,2379,2036,2014,2062,2009,1902,1940,2043,2155,2267,2018,1641,1539,1705,1850,1653,1623,1996,1812,1760,1640,2149,2988,3545,3376,2934,2524,2397,2026,1982,2548,2591,2554,2130,1793,2016,1833,1642,1745,2129,1936,1598,1555,1758,2232,2078,1782,1922,1775,2215,2071,1942,1872,1897,1801,1681,1802,1692,1728,2230,2889,2420,1976,1864,1583,1865,1998,1784,1726,1937,1769,1928,1783],[2806,2887,3172,3293,3372,3023,2728,2783,2938,2762,2696,2885,2873,3083,3489,3021,2757,2924,2876,2952,3295,3441,3444,3034,2776,3291,3551,3587,3870,3975,3874,3626,3338,3297,3281,3297,3360,3417,3580,3705,3619,3031,2724,3333,3637,3576,3400,3319,3480,3479,3632,3905,3842,3680,3423,3181,3194,3184,2922,2562,2600,2721,2479,2245,2248,2773,2895,3084,3010,2356,2828,3569,2988,2843,3087,2939,2988,3349,2866,3090,3272,2916,2908,3270,3608,3964,3684,3451,3422,3345,3064,2645,2686,2095,2335,2709,2322,1949,1870,1672,1581,1936,2299,2414,2467,2544,2872,3551,3042,2512,2802,3330,3282,2986,3018,2416,2546,2761,2761,2517,2042,2198,2535,2488,2066,1959,2133,2030,2089,2207,1838,2284,2427,2691,2400,2675,2641,2551,2456,2173,2198,2030,2084,2257,2031,2207,2886,3241,3570,2665,1954,2418,2815,2925,2678,2769,3232,3316,3208,2798,2519,2523,1967,1505,1963,2918,3442,3465,3232,3044,2953,2289,1702,2375,1926,2047,2692,3566,3499,2832,2825,2404,1624,1733,1770,1807,1692,1685,1782,2482,2490,2070,1949,2299,2054,1727,1784,1799,1846,1995,2114,2164,1952,1692,1633,1663,2004,2027,1871,1842,1816,2046,1882,1928,1674,1515,1634,1388,1327,2246,2767,2386,1468,1375,1957,2107,2217,2542,3153,3414,3178,2852,2569,3209,3082,2469,2499,2887,3006,2977,2915,3146,3506,3586,3684,3097,3119,3086,2898,2963,2951,2895,2941,2820,2224,2298,2719,2374,2046,2365,2280,2374,2504,2952,3466,3814,3824,3526,3270,3151,2919,2908,2783,2802,3183,3737,3776,3630,2784,2276,2548,2437,1716,1842,2429,2719,1809,1825,1867,2239,2420,2134,2342,2429,1987,1926,2415,3067,3802,3561,2531,1859,2260,2271,2674,3532,3813,3560,3262,3306,3330,2745,2310,1928,1864,1815,1789,1982,2975,3240,2555,2256,2308,1968,1690,1902,2026,1950,1727,1659,1858,1858,1884,1829,1765,2000,2265,2236,2135,1980,2037,1953,1842,1967,1692,1469,1860,2609,2666,2322,2526,3146,3477,2888,2532,3031,3364,3373,2619,2555,2684,3031,3155,3163,3198,3062,2856,2953,3441,3492,3182,3016,2469,1848,2343,2556,2676,2194,1820,2042,1871,1649,1658,1468,1616,1918,2338,2365,1941,1836,2275,2474,2722,2547,2244,2640,2325,2741,3450,3591,3289,3131,3187,2864,2473,2265,2181,2185,2005,1906,1902,2127,2841,2414,2097,2046,1713,1660,1710,1700,1708,2044,2138,1941,2026,2051,2161,2202,1846,1780,1681,1709,1837,1417,1224,1310,1604,1831,1663,1964,2071,1631,1636,2038,2263,1913,1746,1760,1566,1693,1782,1907,2200,2603,2287,1979,1590,1380,1357,1236,1434,1732,1879,1901,2027,2174,2203,2155,2308,2602,2365,2060,1891,1741,1843,1912,1720,1613,1750,1908,1823,1936,2480,2946,3152,3117,3123,3195,3188,3082,2840,2665,2862,3154,3245,3145,3174,3350,3194,3061,2975,3006,2966,3072,3248,3178,3055,3031,3010,2786,2719,2759,2646,2662,2497,2489,2349,2174,2408,2725,2406,2078,2155,2705,3298,3574,3407,3606,3429,2995,2546,2284,2131,2599,2874,2603,2673,2751,2308,2096,2046,2139,2199,2321,2540,2590,2621,2758,2646,2320,2078,2112,2232,2103,1982,1909,1881,2165,2308,2293,2097,2063,2568,2833,2476,2004,1970,2400,3404,3405,2902,3096,3069,2734,2499,2369,1999,2378,2939,3139,2798,3054,2416,1906,1986,1942,1690,1666,1862,2272,2366,1872,2018,2119,2138,1750,1743,2288,2476,2350,2292,2242,2075,2048,2231,2191,1836,2062,2480,2189,1682,1708,1685,2094,2088,2123,2357,1992,1937,1673,1510,1822,1898,1975,1802,1674,1458,1914,2014,1440,2000,2427,2024,1737,1218,1360,1428,1658,2040,2819,2370,1920,2303,2496,2644,2602,2254,2002,2800,3637,4423,4467,3333,1827,1437,1468,2330,3719,3813,2846,1646,1763,2574,2619,1740,2213,2453,2242,1951,1634,2084,2269,2173,2328,2602,2858,2967,2696,2375,3199,2894,2595,2578,2499,1946,1999,3081,3458,2124,1903,2250,2448,2285,2296,2502,2388,2170,2353,1954,1937,2524,2492,2185,1859,1851,2677,2610,2333,2592,3051,2789,2839,2592,2562,2884,2611,2551,2648,2265,2386,1819,2104,2192,2228,2217,2514,2240,1885,2221,2254,2262,2226,2175,2556,2244,2095,1841,1753,2186,2144,2079,2026,1696,2179,2564,2509,3132,3382,2866,2766,2539,2281,2148,1950,1626,1595,1522,1464,1526,1502,1632,1626,1556,1638,1729,1626,1430,1332,1324,1484,1578,1491,1526,1642,1721,2116,1773,1533,2008,2258,1836,1556,1502,1677,1781,1776,1722,1743,1653,1577,1536,1581,1759,2523,2387,2348,2328,1852,1982,2082,1706,1506,1477,1551,1363,1276,1278,1214,1419,1486,2036,2361,1790,1587,1344,1278,1332,1444,1484,1517,1459,1550,1405,1530,1841,2319,2652,2640,2541,2306,2134,2210,2150,2113,2196,2255,1990,1721,1716,1798,1841,1950,1871,1627,2370,2734,2787,2351,2783,2978,2886,2946,3581,3159,2634,3283,3173,2750,2393,2568,2112,2297,2061,2198,2098,1798,2232,2305,1896,1809,2174,2193,2069,2298,2192,2145,1424,1903,2403,3020,3561,3409,2770,2311,2294,2688,3311,3525,3032,2495,2468,2138,2364,2226,1679,1692,1747,1830,1787,1756,1957,1885,1847,1606,2198,2072,1521,1517,2048,3197,3123,1801,1512,1412,1299,1765,1848,1739,2254,2884,2978,2745,2365,2309,2534,2553,2374,2330,2226,1881,1605,1865,1829,1786,1762,2316,2543,2208,1618,1819,2454,2245,2758,3295,2950,2062,1358,1338,1544,1783,1650,1721,1786,1634,1585,1814,2851,2503,2133,1749,1037,1172,1663,1980,1600,1525,1950,2065,2460,2972,2844,2634,2032,1536,2225,2626,2588,2604,2800,2740,2598,2583,2377,2338,2282,1674,1687,2354,3479,3753,3858,4000,2972,1693,2508,3850,3996,3884,3587,3082,2301,1650,1735,1695,1858,1912,2536,2949,2385,2228,2502,2544,2655,2512,2555,2588,3024,2856,3022,2865,2046,1515,1359,1350,1526,1665,1915,3032,3926,1760,1546,1971,1771,1861,1883,1783,1595,1412,1301,1285,1387,1366,1304,1271,1372,1434,1373,1192,1399,1520,1440,1592,1641,1611,1453,1395,1629,1423,1483,1868,2015,1709,1545,1754,1771,1729,1636,1623,1576,1595,1588,1667,1971,2117,1867,1716,1553,1660,1656,1471,1440,1864,2351,2265,2077,1918,1593,1668,1649,1546,1586,1555,1507,1693,1757,1708,2015,2355,1700,1297,1492,1882,1885,1483,1548,1643,1576,1502,1597,1904,1986,2310,2576,1808,1854,1967,1720,1661,1572,1472,1442,1454,1832,2174,2006,2001,1986,2203,1743,1833,2482,3664,3583,2956,2578,2602,2958,2960,3159,2853,2546,2504,2277,2250,2279,2307,2232,2388,2230,1724,1837,2438,2115,2188,3187,3647,3796,3820,3393,2372,2230,2696,2662,2749,3595,3958,3933,3764,3491,3729,2975,2499,1747,2125,2673,2428,2042,1896,1927,1825,2130,2381,1831,1981,1723,1540,1614,1829,2171,2339,2355,1990,1627,2161,2760,1986,2171,3611,3905,3119,2136,1867,2050,1860,1776,1920,1857,1775,1787,2174,2553,2902,3140,2728,2002,1313,1439,1852,1909,2275,3042,3846,3754,2269,2080,2275,1636,1620,1604,1692,1974,2098,1965,1856,1961,2083,1773,1034,1488,2160,2603,2433,2415,2152,2098,2374,2360,2410,2129,1459,1591,1811,1643,1973,1802,1631,2060,2347,2723,2940,2148,1728,2105,1791,1709,2198,2633,1909,1908,2248,2050,1859,1640,1734,1943,2032,1859,1708,1605,1442,1432,1670,2070,2072,1912,1882,1627,2159,2340,1682,1667,2148,1797,1617,1630,1702,1769,1565,1620,1578,1498,1616,1585,1547,1754,1902,1594,1689,1704,1874,1770,1596,2052,2139,2078,2040,2385,3156,3636,3435,1904,1384,1336,1518,1573,1532,1414,1431,1798,2403,2333,1603,1655,1858,1806,1732,1594,1578,1656,1527,1729,2271,2427,2148,2171,2261,2018,1500,1426,1469,1739,2056,1897,2114,2405,2728,2768,2447,2587,2470,2004,1788,1732,1835,2454,2426,1918,1582,1882,2009,1876,1955,1826,1626,1494,1519,1952,2523,2924,2907,2898,2966,2976,3261,3761,3873,2968,1809,1653,1954,2120,1865,1703,1709,1637,1451,1421,1470,1592,1495,1266,1312,1575,1924,1914,1470,1715,1744,1509,1904,3012,2558,1835,2003,2171,2557,2953,2750,2344,2023,1475,1795,1908,1557,2099,2145,1263,1231,1585,1654,2035,2640,2599,1991,1866,1874,1680,1726,1648,1672,2263,2359,1935,1599,1617,2097,1968,1931,1938,1927,1650,1781,1802,1549,1665,2054,2256,2042,2330,2502,1707,1868,2032,2164,2470,2148,1740,1665,2053,2625,2470,1993,2144,2683,3110,2739,2507,2838,3552,3942,4003,3544,3052,2900,2292,1910,1948,1857,1985,2392,2322,2009,2130,2123,2010,2025,1694,2059,2945,2740,2718,2699,2428,2767,2786,2474,2462,2564,2666,2888,2846,2761,2718,3074,3006,2652,2886,2444,2676,2874,2426,2533,3252,3703,3539,3254,3474,3154,2484,1775,2242,2796,3206,2840,2754,3191,3182,2872,2432,2530,2486,2447,2244,1912,1745,1943,2078,1993,1957,2016,2097,2147,2229,2396,2618,3602,3854,3398,2320,2096,2718,2916,2239,1859,1828,1782,1622,1781,2405,3292,3418,3541,3291,3334,2604,1993,1816,1775,1754,1960,1924,1836,1411,1310,2105,2231,2276,2061,1963,2174,2496,2072,1594,2214,2767,2237,1893,2365,2166,1774,1740,1956,2032,2143,1924,1924,1967,1669,1771,1852,2009,1835,1838,1650,1278,1462,1714,1684,2192,2235,1782,1648,1588,1714,1875,1774,1696,1579,2133,2218,2454,2543,2460,2527,2084,2242,2855,3364,2882,2339,1841,2079,1945,1835,1813,1958,2111,2116,2043,1959,1743,1574,1699,1788,1703,2014,1870,1747,1860,2644,3532,3799,3516,2998,2304,1756,1673,2130,2109,2251,2228,2324,2204,2212,1914,1767,1839,1683,1542,1475,1593,1703,2508,2098,1714,1748,1820,1755,1904,2137,2070,2173,2048,1907,2031,1770,1803,2273,2975,2664,1888,1502,1561,1771,2047,2081,2182,2352,1974,2359,2047],[3042,3295,3318,2978,2913,2662,2463,2658,3023,2968,2699,2985,3549,4233,4201,3193,3032,2963,2805,2999,3406,3551,3560,3504,3563,3794,3686,3562,3730,3791,3929,3615,3308,3360,3375,3348,3557,3827,3762,3819,3863,3027,2791,3356,3463,3415,3429,3519,3500,3333,3253,3558,3926,3883,3602,3308,3156,3283,3409,2717,2467,2531,2558,2666,2732,2888,2286,1734,2102,2285,2559,2961,2634,2246,2599,2661,2852,3125,2777,2887,3104,2944,2962,3312,3526,3746,3570,3072,2997,2871,2621,2492,2341,2388,2867,2846,2271,1829,1986,1528,1394,2087,2630,2754,2545,2125,2149,2457,2298,2087,2339,3375,3826,3694,3239,2315,2622,3099,3128,2470,1799,1979,2312,2241,2033,2221,2381,2355,2552,2492,1954,1943,1910,1876,2004,2563,2615,2786,2642,2045,2448,2562,2881,2650,1983,2292,2489,2308,2619,2358,1757,1540,1697,1867,1750,2520,2817,3025,2933,2479,2600,2788,2370,1660,2103,2973,3470,3591,3494,3415,3272,2391,2050,2189,2254,2763,3526,4220,4128,3412,3109,2455,1584,1465,1447,1691,1660,1747,1804,1987,2015,1841,1794,1967,2144,2483,2200,2034,2281,2101,1938,2143,2217,1837,1515,1715,2446,2635,2373,2084,2439,2742,2066,1732,1597,1820,2207,2142,1875,2210,2900,2971,2066,1388,1543,2531,2757,2790,2791,2779,2384,1935,2120,2504,2132,2082,2331,2445,2598,2799,3017,3493,3557,3759,3801,3474,3528,3428,3384,3237,2769,2355,2415,2665,2252,2251,2470,2295,2272,2372,2350,2501,3083,3653,3692,3782,3840,3492,3042,2209,1997,2468,2444,2609,3204,3620,3654,2989,2054,1836,2098,2399,2226,2481,2909,2947,1989,2041,2121,2251,2303,2329,2606,2457,2338,2442,2874,2786,3496,4062,3537,2314,2295,2647,3024,3420,3508,3482,3499,3417,2977,2505,2157,1943,1960,1559,1806,2472,2828,3242,3143,2806,2740,2903,2316,2409,2466,2563,2349,2223,2119,1905,1884,1808,1482,1624,2079,1914,1968,2203,2119,2041,2110,2032,1902,2053,2842,3776,3319,2379,2602,3540,3799,2843,2614,3279,3587,3448,3142,2932,2971,3182,2988,2754,2622,2406,2531,2767,3234,3099,2254,1908,1664,1704,1960,1995,1896,1632,1864,2142,2101,2237,2164,2373,2562,2374,2439,2281,1633,1433,1715,2009,2487,2374,2534,2657,2576,3091,3538,3530,3117,3198,3389,2745,2263,2231,2126,2025,2027,2320,2435,2947,3291,2851,2242,1836,1915,1816,1815,2184,2416,2171,2120,2163,2624,2724,2985,2305,1649,1837,1889,1865,1863,1730,1793,1708,1730,1671,2061,2263,1830,1577,1773,1997,1985,1700,1736,1711,1793,2163,1836,1627,2131,2514,2502,2273,2318,1816,1256,1481,1503,1641,1864,1840,2230,2165,2443,2393,2230,2272,2107,1890,1761,1910,1996,1815,1764,1776,1792,1746,1802,2400,3064,3203,3250,3196,3142,3157,3065,2906,2724,2630,2824,3062,3060,2991,2961,2956,3011,3112,3111,3162,3185,3093,3123,3011,2802,2891,3099,3052,2929,2765,2664,2710,2895,3043,2965,2612,2273,2303,2228,2298,2437,2905,3356,3444,3410,3523,3238,2763,2673,2464,2537,2722,2987,3159,2728,2650,2297,2051,2061,2221,2175,2334,2734,2690,2666,2663,2631,2587,2243,2356,2420,2263,2110,1920,1936,2314,2611,2658,2351,2392,2699,2647,2214,1985,1818,1942,2540,2583,2663,2588,2188,1735,1726,2219,2158,2073,2470,2899,2941,3571,3141,2204,1769,1782,1849,1710,1803,2497,2753,1826,2060,2415,2129,1612,1718,1958,1951,2039,2357,2428,2182,1793,1640,1637,1515,1627,1983,1866,1808,2170,2408,2310,2115,2063,2152,2026,1949,1755,1636,1827,2009,1814,1665,1890,1928,1951,1761,1508,1946,2072,2025,1851,1298,1487,1626,1763,2008,2109,2031,2087,2357,2415,2392,1913,2197,2507,2640,3651,3890,3857,2670,1552,1695,1516,2119,4085,4246,2885,1269,1484,2770,2535,1411,1617,2257,2725,2279,2069,2495,2131,2427,2666,3151,3301,2790,2465,2466,3141,2894,2669,2845,2338,1776,1531,2075,2696,2096,2050,1954,2318,2320,2196,2411,2378,2309,2793,2514,2127,2122,2441,1948,1862,2199,2731,2744,2566,3131,3415,3304,3566,2702,2038,2285,2091,1814,2295,1842,1883,2031,2170,2320,2329,2051,2127,2060,2225,2436,2202,2335,2152,2078,2551,1963,1713,1860,2044,2010,2069,2520,2480,2315,2503,2491,2442,3154,3067,2692,2713,2363,2000,2444,2517,1723,1527,1487,1455,1483,1757,1908,1814,1582,1737,1851,1828,1592,1348,1399,1400,1455,1723,1627,1723,1788,1883,1614,1443,2128,2516,2514,2578,1806,1619,1748,1744,1750,1918,1715,1599,1800,1753,2303,2553,2053,2480,2627,2191,2010,2144,2019,2252,2105,1687,1426,1447,1555,1397,1437,1562,1799,1944,1608,1481,1571,1352,1362,1604,1560,1771,1750,1498,1455,1453,1611,2176,2653,2884,2797,3212,2187,2137,2397,2248,1937,1701,1775,1844,1854,1964,2022,2040,1945,1609,2132,2524,2446,2481,2784,2885,2918,2966,3247,3056,2614,2688,2788,3086,2575,2678,2643,2531,2238,2171,1882,1942,2350,3138,3109,1830,1636,1870,1880,1889,1780,1743,2000,2723,3056,3130,3120,3050,3228,3042,2806,2412,2705,3548,3755,3248,2994,2502,2195,1979,2078,2229,1789,1724,1555,1267,1743,1792,1912,1961,1922,1979,2088,2169,2666,3371,2399,1482,1454,1226,1531,1860,1481,1286,1625,2177,2703,3064,2798,2351,2321,2294,2057,2153,2192,1969,1951,1879,1787,1776,1769,1929,2043,1768,1743,2467,2312,2541,3372,3399,3051,2510,2051,1732,1760,1732,1869,2633,2614,1724,1569,1382,1467,1436,2068,1620,970,1222,1748,1862,1552,1693,2006,2016,2322,2953,2784,2841,2269,1966,2347,2427,2331,2343,2701,2890,2610,2565,2423,2235,2355,1836,1445,1948,3413,4046,4051,4139,3320,1968,2129,3069,3173,3230,3044,2955,2272,1858,1838,1670,1734,1787,2070,2242,2061,2176,2557,2480,2415,2292,2837,2711,2813,2777,3019,2769,2292,2138,1513,1394,1553,1889,1895,1628,1543,1241,1563,1765,1512,1572,1736,1744,1825,1734,1388,1283,1597,1438,1271,1355,1644,1564,1415,1346,1361,1462,1293,1420,1429,1462,1393,1399,1595,1536,1680,1894,1897,1658,1569,1491,1823,1869,1693,1739,1539,1298,1367,1449,1821,1894,2166,2109,1405,1500,1588,1446,1619,2354,2064,1886,1982,1838,1662,1653,1518,1434,1432,1438,1629,1920,2378,2530,2235,2820,2217,1425,1760,2164,1680,1637,1805,1746,1795,1760,1764,1912,1806,2049,2532,2553,2458,2126,1783,1593,1481,1426,1483,1488,1841,1940,1979,1937,2366,2244,2047,2205,2759,3421,2823,3172,2940,2419,2497,2600,2746,2495,2412,2341,2381,2438,2256,2004,2238,2270,1732,1519,1878,2348,1867,2533,3275,2864,2928,3699,3394,2514,2498,2320,2110,2663,3715,3868,3860,3631,3486,3051,2598,2158,1643,1780,2228,2646,2374,2018,1954,1859,1741,1778,1845,2029,1722,1838,2218,2016,1955,1982,1925,1668,1772,2535,2541,1807,2005,3002,4041,3699,2547,2385,2406,1929,1647,2231,2519,2374,1924,1898,1930,2501,2946,2831,2173,1590,1838,1910,1949,2181,2770,2736,2706,2234,2329,2165,1750,1704,1541,1585,1949,1947,1930,1880,2092,2267,1967,1034,1489,2040,2182,2082,2017,1936,1872,1937,2223,2542,2433,1629,1745,1692,1492,1526,1699,1743,1775,2316,2969,3162,2500,1716,1831,1502,1951,2311,2032,1771,1995,2178,1938,1709,1703,1714,1764,2066,1888,1627,1519,1486,1559,1547,1542,1587,1735,1749,1877,1969,1663,1502,1594,1941,1626,1714,1662,1566,1549,1461,1535,1506,1430,1434,1422,1499,1417,1336,1394,1609,2005,2084,1785,1848,2231,2170,2170,2435,2590,2864,2957,2921,1729,1382,1412,1513,1526,1520,1527,1599,1786,1973,1938,1714,1544,1351,2038,2015,1683,1694,1642,1501,1525,1916,2114,1948,1909,2171,1887,1620,1567,1869,2005,2167,2140,1991,2007,2294,2481,2548,2580,2377,2090,1816,1733,1854,2000,2308,2410,2075,1859,1757,1757,1979,1679,1487,1606,1904,2386,2236,2007,2195,2750,3063,2869,3144,3741,3382,2209,1727,1804,2157,1859,1950,1807,1597,1597,1512,1389,1397,1543,1658,1449,1371,1553,1745,1299,1215,1503,2059,1829,1914,2754,2783,2451,2791,2552,2191,1859,1991,2063,1543,1857,2077,1722,1679,2244,1735,1370,1506,1499,1772,2230,2758,2474,1977,2270,2181,1792,2074,2063,2284,2715,2273,1587,1495,1879,2677,2172,1888,1959,1865,1873,2015,1627,1408,1499,1670,1902,2192,2382,2284,1887,1644,1775,1949,1881,1902,1990,1958,2156,2188,2230,2507,3173,3692,3517,2923,2677,3141,3593,3779,3638,3510,3816,3152,2001,1847,1843,1733,1994,2073,1772,1740,1737,1584,1733,1766,1803,2153,2939,2929,2881,2965,2597,2700,2576,1852,1697,2071,2489,2630,2287,2399,2541,2535,2213,2565,2871,2717,2686,2400,1892,2209,2915,3520,3424,2974,3382,3564,3035,2463,2604,2940,2980,2547,2753,3117,3189,3088,2884,2856,2146,2193,2035,1922,2002,2076,2205,2146,2149,2050,1970,2093,1913,1911,2583,3209,3196,2473,2122,2103,2245,2217,1775,1813,1686,1536,1666,2165,2907,3239,3322,3034,2764,3051,3033,2432,2144,2280,2338,2237,2019,2092,2017,1807,2094,1843,1902,1866,2133,2268,1849,1813,1938,2402,2598,1809,1408,2342,2230,1787,2009,2653,2500,1834,1703,1815,1868,2088,2056,2127,1788,1778,1810,1970,1550,1095,1319,1693,1918,1970,1856,1714,1724,1835,1687,1643,1783,1860,2357,2127,2031,2112,2292,2336,2107,2735,3198,3345,2998,2381,1845,2393,2213,1995,2094,2073,2121,2184,2266,2223,2013,1809,1794,1592,1527,1690,1736,1641,2206,3197,3551,3584,3444,2897,2083,1733,1952,2232,2042,2096,2266,2049,2066,2268,1864,1609,1567,1593,1632,1737,1720,1806,2001,1857,1837,1908,1782,1625,1698,1769,1735,1497,1612,1910,2107,1739,1806,2307,2976,2818,1895,1502,1855,2257,2014,2181,2340,2107,2002,2178,2080],[3118,3242,2986,2591,2692,2758,2589,2634,2988,3222,3152,3754,4276,4909,4492,3189,2864,3076,2887,2978,3493,3692,3663,3705,3604,3537,3811,3472,3530,3921,3914,3650,3419,3073,3150,3428,3896,4212,4003,3890,4125,3450,3369,3422,3326,3400,3494,3526,3484,3331,3272,3591,3972,3927,3737,3562,3347,3400,3378,2613,2467,2535,2685,2836,2824,2679,2080,1765,1879,1896,1698,1736,1823,1931,2310,2331,2654,2656,2654,3351,3418,3261,3124,3040,2617,2879,3222,2866,2720,2768,2510,2315,2469,2963,3261,2685,2230,1642,1744,1490,1535,2173,2666,2780,2362,1851,1976,2401,2113,2023,2304,2751,3271,3552,2790,2448,2614,2886,3042,2475,1994,2368,3021,2386,1878,2215,2442,2220,2460,2580,2292,2054,1940,1753,2038,2440,2414,2803,2732,2382,2245,2347,3124,2670,2632,3108,2688,2281,2586,2613,1996,1519,1386,1451,1482,1666,1611,1802,2024,2128,2138,2378,2148,1974,2518,2654,3074,3124,3176,3355,3366,2513,2192,2279,2596,3529,4444,4668,4111,3420,3268,2290,1483,1321,1418,1667,1842,1972,1960,1858,1824,1824,1930,2371,2272,2108,2035,2131,2241,2026,1802,1854,2184,2083,1779,1863,2258,2580,3193,3162,2954,2477,1818,1650,1737,1680,1938,2482,2574,2339,2722,2691,2230,1910,1757,3479,3405,2775,2380,1889,1936,1985,2132,2566,2583,2565,2558,2611,2872,2968,3362,3608,3661,3646,3476,3506,3729,3395,2985,2945,3132,2779,1888,2030,2286,2402,2523,2235,2388,2757,2624,2406,2752,2813,2867,3692,3682,3096,2275,1276,1100,2110,2668,2761,3123,3463,3486,2522,1872,1614,2164,2698,2696,2787,3190,2448,1767,1949,2172,2460,2540,2728,2774,2513,2492,2519,2735,2167,2708,3396,3156,2300,2536,2990,3334,3522,3052,3060,3297,3218,2486,2280,2233,2088,2007,2090,2668,2614,2230,2906,3138,2802,2634,2658,2459,2642,2709,2565,2398,2461,2249,1857,1946,1794,1676,2102,2268,2132,1914,2266,2250,2196,1993,1883,2399,2738,3352,4273,4017,3118,3072,3217,3238,3116,3265,3573,3637,3706,3646,3053,2873,2620,2407,2728,2728,2656,2808,2876,2731,2501,2218,1915,2002,2261,1983,1822,1946,1996,2340,2524,2201,2522,2468,2395,1925,1842,2533,2745,2164,1918,1988,2612,2460,2362,3150,2655,2055,2684,3022,2631,2648,2999,3220,2565,2230,2124,2184,2160,2612,2890,2919,3083,3088,2797,2353,1939,2029,1704,2024,2105,1868,2272,2352,2519,3006,3019,2746,1989,1764,1870,2048,2309,2186,1895,1888,1940,1746,1615,1646,1617,1572,1604,1664,1740,1593,1343,1704,1830,1792,1811,1839,1651,1832,1887,2039,1935,1715,1598,1588,1862,1880,1394,1698,1907,2414,2498,2542,2207,2059,2024,1792,1741,1930,1929,1842,1808,1791,1741,1750,2149,2460,2735,2832,2923,3304,3306,3132,3110,3024,2846,2700,2720,2887,3035,2961,2921,2963,2828,2850,3182,3241,3086,3066,3111,3050,3074,3156,3384,3549,3482,3196,2947,2710,2780,3204,3287,3061,2997,2654,2258,2297,2548,2557,2651,2574,2540,2903,3190,2614,2253,2609,2398,2478,2764,3161,3440,3040,2674,2387,2109,2114,2304,2270,2328,2678,2639,2742,2781,2676,2561,2333,2437,2503,2509,2360,2155,2082,2156,2468,2774,2604,2483,2600,2246,2019,1986,1900,2089,2166,2170,2465,2145,1743,1610,1420,1432,1749,1655,1825,2680,3328,3558,3196,2711,2090,1820,1981,1851,1719,1918,2255,2110,1929,2223,2072,1655,1576,1737,2042,2139,2198,2213,2402,1960,1656,1642,1533,1669,1570,1841,1902,1859,2148,2008,1836,1742,1815,1892,1686,1686,1859,1971,2222,1937,1678,1946,2209,2122,1824,1747,1935,1917,1914,1736,1328,1731,2030,2138,2128,2064,2241,2085,2212,2223,1787,2056,2258,2110,2260,3074,3156,3133,2755,1836,1527,1397,2634,4471,4415,2908,1164,1429,2541,2067,1015,1033,2129,2830,2749,2386,2584,2553,2565,2768,2999,2732,2193,2269,2478,2776,2912,2184,1998,1992,1362,864,952,1075,1433,2352,2402,2579,2499,2326,2634,2326,1641,1894,2152,2506,2354,2234,1813,2315,2360,2447,2923,2701,3116,3479,2995,2836,2348,1917,2306,2145,1466,1865,2036,2110,2164,2402,3088,2868,1870,2244,2732,2818,1979,2047,2018,1971,2068,3016,2989,2097,1728,1834,1441,1879,2302,2919,3376,2956,2994,2608,2800,2513,1897,1981,1969,1924,2144,2325,1558,1412,1499,1438,1559,1819,1732,1483,1463,1659,1964,2127,1596,1319,1322,1460,1587,1655,1548,1646,1755,1737,1598,1510,1881,2114,2323,2568,1936,2073,2014,1697,1686,1880,1796,1715,1948,2066,2808,3298,3038,2823,2435,2059,2163,2095,1931,2130,2164,1772,1492,1515,1544,1428,1362,1634,1666,1752,1358,1676,1972,1550,1236,1216,1300,1835,1888,1356,1432,1588,1794,2128,2244,2722,3278,2874,1954,2286,2520,2296,2006,1837,1919,1830,1802,1812,1850,1957,1876,1655,2358,2401,2020,2178,2479,2633,2535,2314,2819,3263,3384,3269,2715,3145,2836,2854,2703,2083,1749,1678,1835,2391,3264,4101,3989,2741,1691,1641,1858,1866,1762,1747,2142,2324,2207,2708,3071,2949,3328,3498,3320,2900,2621,2764,3507,3724,3748,3227,2169,2019,2008,1357,1404,1463,1340,1646,2524,2076,1881,1894,1672,2008,2220,2385,2522,2461,1713,1537,1397,1525,1501,1260,1311,1532,1624,1691,2015,2569,3020,2953,2352,1998,1977,2103,1976,1912,1929,1849,1820,2043,2218,1744,1732,1865,2285,2402,2408,3154,3475,3174,2645,2281,2014,1770,1644,1720,2227,2920,2920,1962,1919,1605,1375,1785,2120,1581,1120,1376,1824,1763,1428,1859,2011,2217,2009,2535,2535,2626,2115,2300,2810,2557,2392,2592,2754,2758,2652,2756,2548,2201,2323,2191,1482,1593,2846,3710,3819,3947,3519,2181,1784,1817,1776,1635,1588,2533,2402,1875,1676,1432,1462,1720,1910,1982,2080,2031,2015,2569,2706,2359,2924,3061,2910,3097,3220,3149,2592,1833,1486,1536,1555,1924,2053,1915,1638,1253,1532,1942,1642,1857,2163,1861,1779,1755,1332,1694,2476,1706,1275,1373,1447,1439,1470,1414,1499,1652,1316,1282,1282,1262,1207,1233,1372,1482,1609,1754,1736,1651,1810,1729,2138,1781,1648,1684,1494,1295,1446,1708,2062,2104,2032,1881,1655,1910,1854,1830,1729,2396,2364,2014,1794,1551,1642,1552,1425,1367,1354,1623,1950,1924,2822,3101,2471,2542,2343,1803,2045,2396,2168,2300,2137,1948,2017,1709,1750,1818,1418,1511,2055,2509,2356,1694,1598,1774,1535,1371,1514,1641,1864,2100,2060,1892,2553,2343,2044,2534,2578,2954,3104,2828,2762,2214,2458,3071,2909,2670,2519,2119,2630,3164,2930,2542,2565,2380,1792,1770,2200,2115,2128,3105,3619,3086,2711,2946,2348,2196,2555,2307,2353,2754,3373,3636,3696,3132,2741,2475,2153,1947,2059,2407,2610,2589,1989,2037,1778,1663,1666,1809,1570,1538,1982,2558,2977,2396,1948,1996,2129,1858,1837,2544,2188,1499,1584,2094,2742,2662,2499,2406,2211,1969,2204,2951,2734,2116,1620,1741,1935,2297,2610,2675,2227,1825,1959,1875,1866,1887,2360,2190,2433,2363,2211,1962,1749,1578,1550,1891,2018,2029,2118,1907,2416,2685,2173,1246,1499,1898,2005,2076,1819,1860,1762,1669,1892,1859,2235,1847,1582,1525,1418,1550,2088,2171,2475,3000,2824,2864,2350,1531,1596,1545,1981,2096,1956,1780,2078,2265,1659,1585,1795,1718,1797,2139,1796,1934,1677,1605,1619,1458,1503,1824,1914,1713,1714,1596,1572,1463,1644,1619,1802,1758,1421,1374,1499,1486,1366,1382,1406,1437,1470,1476,1488,1497,1529,1503,1776,1727,1688,2003,1925,1831,2082,2339,2511,2548,2548,2077,1747,1605,1499,1446,1268,1202,1331,1715,1635,1599,1581,1554,1800,1674,2278,2018,1764,1700,1369,1446,2053,2134,1824,1866,2052,2065,1939,1791,2024,2405,2446,2526,2410,2018,2386,2356,2238,2207,2376,2447,2224,1919,1903,1992,1898,2053,2382,2237,2049,1895,1888,1694,1418,1741,1666,1481,2162,2755,2568,2229,2384,2412,1964,2481,2920,2673,1885,1807,2096,2105,2029,2284,1864,1712,1876,1543,1343,1350,1540,1714,1560,1361,1397,1858,1447,1209,1375,1616,1682,1914,2370,2910,3190,3387,2972,2624,2140,2334,2094,1660,1902,1936,1702,1902,2332,1823,1604,1614,1537,2068,2187,2530,2228,1825,2355,2502,2367,2385,2414,2508,2403,1929,1531,1479,2060,2355,2016,1846,1887,2044,2172,2136,1624,1603,1598,1739,1992,2373,2526,2319,1979,2073,2214,2113,1615,1508,1816,1864,2171,2030,2266,2921,3609,3685,3410,2755,2596,3040,3065,3495,3393,3348,3529,2886,2120,2010,1840,1820,1998,1555,1520,1584,1602,1968,2358,2509,2186,2018,2260,2128,2100,2615,2744,2620,2508,2026,2297,2275,2856,2497,1918,2568,2623,2351,2609,2939,3033,2938,2584,2004,1238,1992,2666,3364,3406,2830,2742,2786,2719,3066,3144,3041,3164,2731,3001,3273,3298,2668,2514,2880,2394,2665,2619,2114,2360,2696,2575,2177,2388,2254,2113,2154,1824,1832,2448,2497,2304,2243,2521,2500,1748,1741,1875,1885,1770,1578,2112,2690,3395,3261,3088,2806,2394,2651,2618,2664,2344,2450,2398,2734,2552,2030,1986,2470,2580,2001,1689,1684,2076,2170,1896,1820,1946,2481,2534,1685,1141,1401,1836,1912,1930,2402,2429,1792,1532,1534,1626,1850,1844,1986,1748,1641,1823,2232,2084,1542,1380,1792,1842,1673,1831,1802,1856,1749,1698,1616,1522,1803,2209,2074,1766,1721,1977,2138,2504,3207,3160,3010,3020,2583,2578,2680,2231,2141,2215,2314,2392,2104,2071,2126,2051,1960,1795,1512,1471,1560,1599,1837,2723,3492,3525,3550,3427,3161,2226,1832,2282,2426,2254,2186,2383,2349,1865,1954,1757,1574,1688,1893,1592,1686,1701,1675,1768,1758,1820,1836,1782,1726,1521,1544,1562,1476,1678,1989,2019,1765,1842,2229,2730,2692,2169,2013,2132,2298,2166,2208,2155,1941,2400,2657,2658],[3165,3038,2965,2840,2829,3156,3203,2976,2513,2850,3008,3833,4107,4364,3752,2940,3067,3253,3123,3331,3661,3529,3415,3458,3760,3631,3802,3531,3171,3134,3123,3489,3128,2694,3160,3295,3817,4232,4186,3708,3685,3418,3349,3375,3343,3384,3376,3399,3387,3374,3299,3528,3768,3792,3813,3746,3606,3581,3354,2720,2282,2373,2590,2762,2920,2655,2416,3423,2913,1803,1550,2188,2298,2300,2390,2285,2468,2389,2988,3516,3344,3226,2598,2894,2813,3084,3327,2999,2786,3086,2872,2876,2509,2898,2808,2932,2791,1992,1631,1473,1604,2040,2467,2587,2118,1866,2082,2724,2929,2919,2929,2520,2968,3074,2634,2609,2491,2501,2795,2739,2592,2731,2925,2215,1810,2073,1980,1721,1976,2157,2087,1935,1918,2008,2603,2622,2591,2487,2146,1854,2116,2397,2389,2277,2426,2559,2334,2089,2377,2089,1946,1709,1685,1626,1840,1889,1389,1311,1737,2307,2584,2319,1917,2535,2345,2425,2598,2542,2494,2746,3020,2424,2002,2060,2447,3498,4484,4475,3440,3447,3189,2077,1520,1443,1561,1745,1897,1943,1862,1809,1824,1683,1448,2017,2186,2271,2517,2458,2432,2076,1731,2185,2413,2164,1894,1812,2093,2512,3207,3043,2793,2600,2141,2100,2193,1996,1932,2395,3118,3517,2923,2219,2057,2174,2780,3610,3152,2530,1919,1465,1968,2375,2578,2755,3145,3338,3119,2977,3085,3408,3688,3678,3566,3653,3427,3331,3747,3211,2029,2149,3422,2396,1489,1773,2552,3523,3042,2187,2430,2450,2266,2281,2633,2733,2591,3024,3326,2676,1958,1807,2014,3078,3575,3261,3220,3199,3006,1981,1684,1650,2210,2775,2434,2035,2446,2098,1654,1834,1932,2033,2071,2188,2135,1794,2019,2132,2289,2071,2120,2369,2075,2028,2437,2164,2850,3120,2355,2034,2275,2388,2367,2436,2376,2003,1686,1931,2531,2988,2533,2456,2409,2784,2344,1955,2052,2295,2369,2460,2270,2065,1883,1578,1811,2131,2280,2287,2406,2303,2294,2670,2819,2554,2134,2334,3115,3453,3417,3608,2979,2852,2631,2663,3151,3476,3531,3594,3598,3782,3516,3190,3119,2743,2268,2339,2203,2648,3431,3389,2789,2363,2252,2036,2100,2095,1854,1911,2060,2205,2485,2647,2294,1937,2111,2091,1267,1381,2134,2104,1853,1980,2171,2641,2316,1722,1917,1853,1565,2463,2986,2857,3111,3123,2698,2495,2251,2207,2475,2076,2174,2641,2819,3096,2671,2115,2139,1860,2214,2074,2182,1875,1628,2473,2536,2981,3530,3239,2336,1720,1980,2004,2265,2579,2110,1903,2017,1880,1772,1754,1650,1702,1831,1625,1538,1793,1722,1432,1695,1783,1868,2006,1929,1859,1737,1759,1927,1694,1425,1207,1419,2154,1968,1630,1786,2081,2702,3022,2654,2147,2005,1894,1810,2124,2130,1739,1930,1887,1675,1787,2286,2497,2437,2590,2736,2833,3281,3260,3127,3203,3252,3219,2856,2713,2903,3035,3051,3042,3094,3114,3096,3269,3263,3022,3055,3015,3134,3340,3598,3732,3624,3397,3166,2920,2811,3304,3466,3158,3181,3238,2776,2396,2751,3055,3008,2793,2412,2299,2711,2631,2071,1972,2224,2244,2348,2487,2932,3441,3167,2610,2448,2200,2243,2359,2287,2221,2589,2735,2688,2562,2438,2317,2232,2352,2508,2567,2519,2568,2207,2192,2411,2644,2733,2482,2242,2032,1924,1929,2098,2485,2608,2878,2604,1898,1599,1690,1219,1195,1449,1487,1846,2678,3309,3082,2657,2401,2602,1797,1838,1920,1818,1832,1764,1959,1863,1687,1642,1657,1802,2297,2274,2041,1729,2145,2667,1813,1556,1562,1517,1589,1873,2052,1818,1682,1762,1782,1882,2096,1730,1721,1987,2321,2115,2246,2578,2252,2098,2337,2525,2425,1845,1783,1727,1859,1920,1780,1702,1847,2004,1865,1632,2006,2432,1747,1808,1861,1890,2664,2503,2227,2647,3116,3133,3168,2921,2055,1815,2270,3926,4619,3741,2496,1689,1721,2092,1568,1021,1543,2364,2633,2803,2534,2420,2798,2805,2685,1972,1838,1905,2124,2887,2753,2744,2035,2166,2054,1793,1868,2276,2600,2699,2590,2723,2822,2672,2569,2426,1982,1538,1766,1880,2441,2298,1888,1648,1941,1967,2449,2887,2770,2975,3027,2429,2495,2483,1965,2022,1973,1832,2262,2330,2082,2301,2575,2774,2471,2140,2127,2597,3118,2553,2217,2117,2100,2191,2570,2930,2735,1653,1616,1869,2178,1912,2886,3582,3518,3562,2936,2645,2407,1747,1774,1853,2174,2058,2014,1547,1331,1391,1524,1543,1661,1517,1420,1658,1653,1615,1723,1426,1375,1406,1515,1526,1501,1487,1613,2020,2154,1699,1658,2110,1939,1458,1914,2030,2150,2388,2114,1938,1914,1623,1553,1558,1836,2984,3286,3439,3422,2135,1557,2119,2342,1735,1415,1710,1586,1704,1540,1345,1218,1446,1490,1908,1832,1553,1783,1895,1580,1306,1273,1360,1572,1571,1400,1569,1715,1639,1592,1776,1787,2505,2908,2779,2583,2519,2404,2137,2244,2095,1924,1853,1895,1890,2106,1851,1574,2562,3376,2823,2555,2732,2965,2493,1807,2156,2390,2645,2712,2280,2835,3154,2975,2385,1607,1406,1487,1951,2910,3766,3523,3607,2732,1817,1852,2211,2141,1868,1980,2185,2065,2091,2529,3049,3292,3573,3761,3716,3451,3289,3319,3526,3789,3893,3211,2106,1593,1284,1178,1503,1805,2119,2955,3522,2525,1561,1492,2002,2822,2640,2356,2288,1831,1544,1470,1360,1643,1652,1337,1448,1696,1687,1631,1688,1901,2419,2634,2115,2011,1895,1799,1765,1898,1933,1820,1909,2598,2832,1807,1693,1741,1982,2089,2872,3419,3296,2851,2342,1758,1367,1302,1710,2294,2814,2721,2448,2018,1838,1692,1709,1984,2048,1575,1152,1349,1841,1678,1514,1945,2029,2743,2320,2427,2580,2466,2254,2407,2754,2228,2052,2329,2809,2807,2877,2972,2822,2490,2778,2694,1798,1584,2818,3863,4038,4060,3796,2337,1654,1400,1362,1454,1613,2333,2757,2226,1562,1538,1638,1670,1872,1891,2169,2099,1805,2654,2732,2278,2977,3270,2799,3110,3262,3338,2728,1917,1734,1673,1704,1725,1820,1857,1654,1560,2047,2159,1824,1933,1958,1667,1488,1808,1931,2098,1822,1432,1341,1443,1433,1436,1388,1346,1412,1411,1322,1289,1298,1343,1389,1400,1361,1405,1487,1485,1513,1602,1973,2549,1947,1433,1561,1656,1527,1425,1535,1978,2769,2813,2027,1926,2032,2139,1952,1753,1560,1956,2043,1837,1656,1496,1588,1331,1416,1683,1505,1543,1577,1637,2159,2353,2031,1945,2270,2375,2545,2701,2552,2177,2123,2221,2142,2147,2070,1768,1401,1300,1701,2318,2312,1794,1741,2283,2012,1654,1573,1687,1584,1637,1697,1772,2197,2398,2330,2265,2784,3444,3093,2491,2377,1964,2019,3028,3217,2976,3191,2681,2857,3271,3443,3505,2871,2236,1697,1802,2500,2413,2536,3151,3576,3687,2918,2038,2116,2643,2862,2731,2692,2689,2655,2706,2831,2684,2166,2026,2272,1841,1819,2619,2768,2764,2307,1823,1150,887,1071,1233,1314,1480,2314,2445,2452,2298,2224,2179,1957,1709,1879,2237,1874,1234,1311,1981,2088,1912,2415,2456,2149,2121,2545,2668,2265,1597,1620,1805,2005,2723,3308,3540,2662,1961,2131,1521,1751,2029,2124,2303,2155,1990,2304,2630,2663,1699,1674,1919,1735,1820,2214,2211,2448,2383,1979,1409,1501,1923,1982,2006,2012,2082,1996,1688,1967,2337,2912,2260,1472,1476,1347,1764,2010,1919,2480,2945,2588,2732,2188,1737,1745,1718,1960,2254,1996,1813,2203,2557,2257,2344,2545,2346,2481,2760,2277,2099,1865,1650,1837,1956,1714,1955,1906,1653,1730,1674,1803,1693,1772,1508,1487,1548,1412,1659,1917,1688,1402,1553,1375,1275,1323,1552,1538,1533,1644,1837,1998,1738,1878,2232,2129,1903,1867,1884,1954,1941,1921,1518,1479,1615,1533,1489,1499,1281,1291,1456,1480,1453,1626,1697,1620,1657,1757,1750,1753,1500,1769,2350,2462,1815,1624,1660,1748,2072,2042,2174,2424,2530,2711,2674,2495,2293,2464,2344,2006,1831,2081,2386,2199,1890,1904,2011,1921,2082,2275,2063,2383,2129,1837,1523,1624,2098,2035,1792,2614,3616,3189,2203,1897,1648,1461,1802,2128,2519,2480,2617,3293,3069,3017,2776,1716,1764,1654,1456,1438,1322,1542,1766,1588,1425,1575,1778,1720,1348,1296,1517,1598,1817,1942,2409,3189,3115,3022,2961,2303,2271,2465,2322,1735,1808,1511,1743,1976,1713,1509,1434,2127,2703,2621,2577,1988,1585,1676,1950,2211,1845,1740,2127,2067,1775,1647,1475,1598,1779,1855,2226,1880,1886,2194,2062,2075,2114,1821,1730,2002,2364,2707,2373,2046,2471,2586,3041,2209,2094,2099,1737,2179,2322,2475,3229,3662,3376,2712,2101,2505,3176,3024,3210,3316,3015,2507,2324,2153,2026,1996,2403,2156,1171,1593,1548,1632,2343,2646,2520,1932,1685,1931,1974,1789,2125,2339,2613,2670,1659,1321,1548,2199,1982,1859,2519,2777,2652,2712,2348,2351,2231,2381,1830,1310,1796,2357,3334,3716,3059,2491,2582,3230,3501,3203,2732,3075,2854,3211,2929,2832,3146,3294,2898,2181,2263,2432,2123,2552,2781,2721,2542,2808,3002,2730,2305,2142,2490,3024,3094,2670,2507,2562,2430,1866,1691,1644,1734,1833,2309,2916,3090,3386,3500,3289,3270,3288,3052,2263,2508,2435,2090,2085,2751,2946,2557,2394,2669,2372,1576,1335,1649,1869,1944,1902,1744,1647,1817,1618,1613,1511,1414,1627,1750,1940,2055,1658,1554,1638,1522,1533,1769,2010,1837,1649,1522,1554,1933,2230,2099,1785,2415,2297,1951,1836,1872,1933,1832,1640,1505,1506,1629,1768,1818,1793,1761,2042,2446,2708,3025,2578,2659,3001,2899,2609,2209,2276,2382,2216,2223,2232,2045,1878,1995,2096,2198,2167,1926,1796,1857,2138,3018,3084,3119,3262,3109,3119,3066,2232,1963,2357,2379,2439,2417,1989,1699,1361,1897,2137,2020,1752,1996,2004,1929,1719,1543,1803,2212,1795,1649,1853,1671,1451,1474,1538,1945,1955,1984,1989,1888,1930,1951,2320,2425,1979,1837,1906,1873,1692,2053,2224,2062,2422,2865,2891],[3466,3340,3328,3210,2996,3282,3383,2888,1937,2210,2621,3278,3754,3637,2987,2928,3220,3193,3365,3470,3550,3497,3473,3207,3252,3537,3748,3581,3339,2727,2714,3582,3127,2967,3467,3505,4072,4405,4153,3615,3417,3324,3422,3395,3231,3273,3237,3215,3152,3255,3183,3285,3421,3530,3627,3580,3470,3444,3262,2751,2329,2270,2586,2746,2839,2428,2047,2420,2110,1838,2224,2449,2414,2497,2307,2378,2480,2599,3563,3816,3440,3283,3105,3247,3200,3083,3403,3370,3046,3053,2652,2802,2366,2765,2508,2491,2579,2329,1963,1619,1956,2418,2705,2514,1934,1381,1747,2243,2292,2645,3063,3138,3488,3428,2947,2849,2867,2700,2763,2809,2726,2723,2577,1938,1551,1989,2172,1932,1845,1819,1974,2002,1910,2360,2521,2501,2450,2535,2419,1731,1324,1488,1766,2393,2923,2924,2520,2194,2402,2378,2556,2079,2170,2103,2429,2363,1814,2000,2405,2950,2987,3037,2648,2541,2333,2339,2141,2109,2194,2480,2585,2104,1959,2156,2371,2702,3069,2725,2222,3046,2800,1757,1434,1494,1563,1756,2015,2215,2086,2012,1823,1656,1194,1271,1993,2868,3051,2668,2182,2003,2404,2711,2326,2300,2312,2608,2413,2755,2854,2438,2404,2602,2472,2262,2217,1948,1941,2198,2923,3736,3328,2525,2221,2388,2558,2568,2350,2222,2577,3353,3350,2524,2510,3064,3365,3007,2718,2667,2770,3241,3540,3627,3873,3913,3376,3497,3626,3168,2301,2698,3484,2205,1450,1652,2657,3313,2510,2093,2398,2186,1960,2420,2974,3273,3035,3085,3296,2718,2557,2768,2918,3663,3398,2852,2955,2613,2246,1770,1830,1797,1981,2364,1905,1447,1500,1469,1532,1743,1713,1748,1700,1864,2066,1872,2196,2283,2003,2063,2221,2203,2436,2765,2566,2677,2520,2046,1770,1911,1798,1887,2308,2362,2067,1942,1787,2179,2830,3021,2416,2140,1981,2374,2625,2200,1869,2006,2354,2468,2014,1743,1765,2108,2612,3054,2746,2465,2287,2066,2374,2810,3227,2920,2653,2668,3683,3647,3097,2595,2473,2580,2394,2589,2984,3044,3299,3726,3698,3854,3762,3686,2527,2176,1934,1465,1521,2454,3186,3437,3230,2780,2478,2069,2122,2084,2212,1921,1758,2408,3396,3505,2333,1145,1261,1909,1581,1341,1694,1362,1452,1735,1950,2061,2019,1908,2206,1970,1800,3251,3705,3111,3010,2851,2402,2276,2090,2344,2584,2110,2207,2376,2272,2644,2786,2270,1811,1945,2125,2115,2123,1652,1737,2130,2154,3245,3897,3559,2484,2005,2067,2043,2284,2024,1565,1637,1863,1976,1935,1832,1817,1860,1888,1785,1721,1858,1703,1539,1686,1614,1785,1905,1799,1858,1742,1614,1692,1782,1842,1535,1638,2104,1775,2142,2331,2463,2947,2690,2306,2196,1883,2085,2242,2051,1781,1728,1892,1730,1573,2208,2589,2392,2386,2496,2743,2742,3151,3201,3161,3251,3196,3110,2850,2683,2865,3056,3086,3123,3094,2986,3022,3169,3062,3009,3249,3265,3373,3484,3628,3705,3419,3171,3124,3047,2868,3492,3616,3347,3386,3194,2789,2713,3076,3460,3322,2895,2473,2285,2368,2037,1942,1953,1936,2301,2802,2626,2586,3100,2864,2427,2432,2050,2067,2160,2208,2177,2540,2828,2854,2587,2273,2090,2094,2254,2334,2370,2389,2391,2459,2526,2713,2857,2920,2702,2396,2202,2163,2208,2400,2584,2429,2910,2167,2460,2138,1576,1527,1620,1672,1670,1769,2475,3197,2620,2348,2943,2879,2041,1860,1932,1859,1747,1624,1658,1716,1663,1584,1527,1556,2050,2143,1897,1692,1948,1614,1334,1465,1455,1425,1521,1833,1722,1563,1483,1522,1537,1732,1746,1671,1925,2222,2104,1938,2381,2192,2317,2394,2498,2786,2365,1664,1661,1777,1956,1955,1934,1928,1621,1501,1244,1320,1694,1678,1322,1856,1957,2545,3306,2797,2241,2836,3074,2909,3153,2813,2362,2226,2227,3430,4339,3703,3334,2406,1931,2110,1479,1193,2113,2574,2903,2652,2144,2400,3174,3216,2266,1483,1883,1745,1943,2879,2686,2863,2674,2734,2786,2818,2785,3428,3860,3470,3153,3270,3298,3138,2640,2260,1876,1766,1777,1771,1962,2012,2075,1892,1820,2078,2543,2587,2906,3234,3029,2874,3138,2719,1923,2245,2861,2732,2698,2561,2255,2237,2377,2469,2069,1904,2220,2562,3051,2908,2430,2130,2194,2498,2514,2513,2554,2242,2419,3077,3132,2347,2655,3376,3520,3525,3148,2515,2305,1942,1702,1606,1825,1919,1837,1526,1384,1696,1683,1461,1531,1450,1388,1500,1515,1459,1289,1362,1411,1513,1457,1416,1384,1360,1496,1795,1927,1509,1436,1948,1818,1473,1789,1948,1891,2221,2208,1999,2086,1805,1701,1516,1888,2732,2640,2890,2911,1955,1448,1434,1794,1714,1688,2188,1973,1926,1717,1512,1405,1552,1461,1776,2029,1879,1642,1580,1514,1503,1417,1552,1587,1496,1455,1633,1548,1444,1327,1434,1350,1612,2611,3425,3071,2780,2474,2156,1919,1827,1915,1906,1741,1814,1869,1741,1697,2533,3805,3626,3008,2661,2767,2356,1669,1809,1721,1608,1716,2235,2966,3226,3243,2513,1766,1722,1995,2375,2874,3430,3195,2630,1747,1548,1976,1990,1886,2001,2041,2315,2230,2027,2256,2928,3142,3231,3285,3165,3431,3694,3670,3746,3819,3729,2810,2050,1906,2227,2806,3191,3369,3654,4116,4069,3089,2077,1534,2010,2819,3431,3163,2223,1524,1503,1246,1534,2112,1936,1776,1882,1837,1690,1744,1625,1598,1766,1815,1719,1732,1744,1782,1841,1887,1862,1786,1692,2182,2181,2044,1692,1574,1629,1971,2668,3129,2902,2597,1962,1268,1113,1422,2002,2966,3449,3021,2185,1641,1550,1628,1702,1954,1886,1587,1122,1274,1778,1531,1671,1987,2378,2765,2396,2544,2800,3021,2580,1947,1917,1627,1648,1914,2304,2632,3129,3253,3064,2646,2188,2173,2181,1695,2733,3663,3803,3471,2919,2052,1671,1487,1557,1726,1632,2127,3087,2744,1738,1691,1661,1441,1783,2200,2350,2178,1850,2198,2719,2761,3230,3507,3316,3426,3349,3225,2801,2037,1712,1544,1458,1469,1609,1844,1649,1621,2144,2158,1801,1581,1670,1565,1393,1722,1981,1756,1687,1788,1452,1606,1665,1544,1482,1481,1245,1279,1428,1374,1298,1313,1404,1356,1153,1377,1673,1530,1506,1739,2218,2356,1736,1497,1622,1643,1594,1422,1493,1826,2818,2812,2163,1974,1914,1724,1587,1486,1324,1267,1491,1803,1945,1659,1629,1488,1470,1437,1069,1044,1471,1766,2019,2255,2026,1957,2186,2396,2472,2191,2079,1893,2554,2333,1744,1989,2034,1940,1452,1398,1731,1835,1865,1991,1830,2458,2712,2184,1782,1717,1559,1604,1688,1969,2322,1954,2072,2302,2938,2632,2281,2315,2258,1948,2159,2966,3046,3047,3046,2689,2896,2864,3140,3498,3071,2079,1820,2405,2595,2236,2270,2429,2056,2208,2110,2247,2891,3130,2989,2563,2765,3141,3061,2351,1948,1967,1754,2035,2437,1748,1583,2079,2237,2574,2419,1767,1136,987,1328,1528,1623,1643,2352,2416,2106,2109,2326,2116,1790,1872,2134,2040,1544,1336,2071,2634,2310,1956,2166,2420,2092,2001,2215,2623,2258,1861,2150,1926,1812,2577,2735,2597,2438,1931,1953,1517,1516,1847,2154,2177,1991,2429,2958,2602,2337,1885,2212,2265,1819,1900,2219,2304,2297,2433,2636,1793,1642,1908,2020,2019,2025,1965,1929,1792,2036,2446,2445,2029,1902,1456,892,850,775,1157,1826,2193,1998,2010,1874,1750,1980,2152,2499,2813,2154,1827,2415,2823,2522,2697,2915,2276,2705,3111,2699,2374,2074,1725,1867,2040,1696,1751,1716,1600,1648,1834,1977,1986,1932,1499,1161,1223,1388,1495,1572,1529,1478,1455,1505,1486,1324,1467,1720,1609,1544,2110,2454,2023,2018,2161,2114,1931,2042,2004,1920,1906,1901,1510,1463,1714,1648,1504,1831,1430,1357,1419,1409,1343,1542,1700,1694,1666,1548,1494,1722,1896,2065,2244,1915,1685,1619,1511,1983,2210,2153,2395,1826,1941,2756,2824,2496,2229,2085,1854,1904,2176,2018,1944,2041,2005,1919,1954,2019,2214,2479,2401,2450,2103,1619,1581,1815,2172,2213,1912,2790,3146,2064,1800,1919,1582,1530,1710,1819,2732,3060,3360,3631,2917,2788,2429,1590,1475,1490,1576,1511,1367,1509,1703,1592,1575,1375,1054,1366,1343,1415,1574,1696,1625,1560,2027,2292,2455,2840,2481,1857,1783,1984,1938,2043,1997,1650,1405,1525,1703,1544,1495,2115,2342,2244,2481,2348,1991,1742,1702,1958,1809,2271,2127,1643,1458,1338,1612,1814,1742,2326,2258,1724,1726,2022,2292,2698,2360,1851,1958,2432,2587,2494,1966,1787,1990,2121,2890,2686,2349,1955,1666,2148,2798,3001,3330,3346,2563,2060,2001,2262,3056,3184,2893,2810,2640,2118,1912,2115,2005,1773,1770,2161,2121,1953,1598,1812,2249,2282,2152,1750,1532,2237,2264,1864,2191,2742,3367,3124,1784,1542,1704,1628,1679,1660,2143,2620,2565,2657,2595,2400,2568,3188,2764,2196,2284,2634,3120,3362,3090,2542,2884,3245,2994,2222,1889,2304,2830,2855,2554,2799,3256,3420,2867,1998,1806,2076,1759,2332,2802,3259,3329,3002,2964,3030,2954,2945,3274,3332,2683,1772,2343,2400,2009,1987,1831,1684,1692,1918,2395,2705,2589,2476,3055,2754,3150,3776,3664,3016,2636,2734,2603,2480,2408,2648,2690,2687,2447,1873,1169,1478,2265,2056,1875,1910,1736,1301,1253,1430,1586,1660,1727,1626,1631,1917,1823,1547,1448,1639,1606,1604,1839,1882,1744,1764,1508,1515,1826,2070,2027,2311,2863,2534,2353,2141,1736,1732,1813,1883,2165,1917,1663,1817,1917,1876,2030,2199,1774,1559,2098,2168,2154,2553,2477,2115,1902,2080,2305,2120,2060,2047,1941,1832,1937,2088,2137,2173,2061,2100,2473,2997,2966,2159,2562,2834,2576,2770,2663,2152,2227,2473,2260,2210,2258,1400,1164,1702,2377,2863,2477,1853,1831,2064,2415,2170,1763,2209,3112,1838,1529,1690,1566,1463,1430,1446,1648,1682,1681,1823,1925,2000,1578,1981,2337,2255,1945,1912,2024,2093,2297,2110,2007,2489,2447,2460],[3631,3572,3547,3217,2938,3310,3708,3184,2411,2373,2695,2958,3055,2905,2941,3239,3173,3331,3561,3249,3088,3317,3333,3068,3073,3334,3415,3499,3772,3100,2408,3312,3480,3425,3551,3874,4360,4244,3801,3627,3472,3368,3395,3319,3193,3231,3206,3232,3176,3398,3323,3171,3140,3247,3341,3359,3306,3283,3142,2817,2780,2472,2435,2469,2590,2052,1610,1624,1621,1836,1991,2121,3333,3335,2445,2461,2615,2799,3748,3933,3509,3429,3522,3659,3438,3121,3195,3149,3083,2736,2567,2413,2328,2527,2432,2384,2199,2215,2266,2128,2519,3098,3090,2812,2584,2336,2360,2590,2676,2926,3043,3244,3531,3329,2911,3199,3316,3144,2886,2884,2859,2836,2445,1765,1781,2630,2997,2565,2025,1873,2221,2570,2346,2154,2207,2345,2287,2501,2566,1953,1347,1582,1794,2880,3343,3049,3043,2787,2613,2475,2246,1992,1888,1723,1842,1902,2104,2291,2822,3296,3548,3906,2950,2214,2306,2117,1811,1775,1661,1873,2071,1841,1897,1913,1859,1987,2166,2135,2022,2512,2643,1916,1549,1542,1515,1695,2194,2697,2467,2097,1852,1731,1306,1229,2018,3070,3692,3163,1813,1523,1751,2082,1934,2069,2001,1994,2285,2664,2611,2379,2276,2736,2731,2273,2084,1935,2103,2532,3104,3340,3430,2600,2033,2374,2319,2019,2120,2036,2405,3623,3876,2907,2821,3264,2811,1894,2094,2198,2344,2691,2534,2670,3912,3808,3093,3536,3449,2823,2151,2843,3120,2442,2114,2327,3045,2779,1864,2004,1981,2216,2610,2600,2149,2601,2765,2605,2541,2668,2908,2985,2783,3643,3057,2265,2670,2223,1873,1804,1801,1845,2490,2509,2298,1946,1851,1940,1815,1716,1527,1348,1503,1805,2024,2409,2786,2492,1847,2077,2476,2381,3001,3185,2808,2805,2670,2153,1933,1820,1340,1343,1574,1900,2001,2145,2266,2460,2840,2451,2210,2335,2349,2251,2391,2132,1966,2084,2115,1930,1996,1870,2418,3383,3073,2916,2834,2361,2004,2125,2485,2901,2577,2811,2846,3101,4019,3493,3015,2434,1831,2196,2722,2341,2061,2018,2371,2854,3484,3752,3852,3716,2189,1408,1444,1329,1852,2934,3065,3156,3167,3089,2831,2646,2531,2398,2248,1847,2149,3284,3829,3230,2431,1553,1462,1906,1825,1884,2356,2518,2536,2539,2598,2541,2236,1659,2011,1677,1802,2701,2850,2067,2275,2364,2265,2355,2288,2338,2438,2456,2342,1880,2043,2488,2009,1721,1629,1703,1947,1896,1614,1413,1530,1567,2093,3699,4063,2912,2273,2157,2279,2185,1887,1528,1471,1555,1698,1832,2043,2400,2408,1984,1917,1965,2042,1964,1807,1655,1649,1606,1448,1431,1455,1907,2045,1460,1266,1609,1522,1525,1774,2013,1970,2330,2796,3168,2734,2290,2217,2007,1964,2167,1917,1512,1536,1767,1703,1474,2092,3169,3439,2877,1997,2368,2735,2836,2841,2741,2778,2790,2822,2829,2712,2669,2852,3044,3141,3201,3140,2921,3016,3130,3094,3146,3353,3391,3360,3405,3500,3467,3104,3059,3073,2985,2820,3216,3327,3272,3146,3028,3132,3089,3211,3623,3341,2863,2402,2271,2368,2180,1876,1870,1928,2264,2679,2790,3142,3144,2688,2352,2113,1938,2071,2237,2271,2099,2511,2982,2919,2541,2102,2005,2169,2290,2344,2294,2276,2178,2156,2288,2543,2616,2710,2657,2524,2379,2411,2465,2531,2191,2103,2328,2097,3121,2714,1685,1709,1784,2049,2232,1899,1995,2403,2567,2731,3045,2731,2107,1723,1752,1718,1544,1531,1892,2087,1815,1636,1447,1379,1655,2367,1906,1826,2067,1653,1525,1508,1484,1620,1766,1675,1647,1959,1831,1643,1651,1674,1732,1950,2198,2614,2342,1699,1893,1634,1866,2187,1987,1982,2030,1875,1720,1791,1989,1857,2044,1880,1223,1283,1267,1389,1222,1583,2296,2495,2235,2350,2657,2221,2011,2584,2854,2964,3166,2639,2404,2232,2099,3312,3819,3145,3797,2680,2046,2062,1586,1555,2245,2766,2754,2522,2315,2753,3306,3012,1732,1435,1637,1929,2986,3716,2970,2787,2895,2953,3285,2824,2415,2894,2624,2452,3260,3238,2924,2728,2499,1967,1792,1953,1644,1555,1966,2300,2251,2360,2512,2041,2466,2845,3081,3236,3109,2954,2850,2590,2429,2865,3494,3438,2882,2597,2481,2271,2316,2502,2465,2454,2493,2580,2453,2236,2242,2228,2451,3393,3343,2536,2311,2590,2579,2857,3107,2469,2353,2813,3241,3033,2557,2193,2087,1687,1425,1587,1832,1707,1546,1480,1432,1463,1482,1500,1388,1343,1381,1427,1659,1822,2090,2003,1698,1481,1376,1376,1450,1424,1425,1608,1885,1728,1494,1678,1672,1430,1470,1893,1873,1618,1675,1777,1958,1965,2017,1896,2426,2966,2885,2590,2059,1735,1746,1904,1963,1766,1908,2535,2304,2120,1934,1613,1459,1522,1510,1665,2015,1999,1588,1342,1354,1356,1301,1572,1663,1408,1426,1461,1518,1532,1368,1442,1557,1472,1749,2797,3399,3213,2568,2203,1969,1901,1909,1620,1386,1646,1692,1859,1810,2191,3450,3604,2919,3322,3134,2188,2088,2022,1636,1863,1802,2136,2895,3029,3284,3304,2930,2590,3212,3289,3233,3762,3169,2032,1794,1954,2188,2098,1979,2253,2174,2093,2123,1936,1896,2626,3349,3293,2570,2137,2315,2996,3453,3574,3351,2824,2277,2308,3172,3775,3953,3935,3943,3979,3986,4047,4087,3542,2025,2021,2309,2920,3243,2106,1463,1417,1191,1786,2115,1908,1766,1803,1957,1902,1740,1607,1528,1633,1644,1611,1626,1782,1931,1892,1842,1754,1778,1699,1696,1990,1994,1397,1260,1548,1642,1837,2159,2159,1961,1494,1075,1272,1852,2009,2225,2910,2763,1820,1603,1708,1975,2336,2002,1820,1598,1103,1197,1622,1632,1887,2102,2615,2677,2198,2764,2832,3242,2260,1384,1185,1382,1622,1812,2061,2502,3091,3322,2950,2450,1962,1908,2401,1816,2199,2698,2603,2394,2103,1961,1912,1709,1687,1858,1825,1991,2778,2955,1946,1529,1335,1322,1697,2030,2076,2090,1998,1906,2269,2716,3263,3572,3200,3374,3392,3177,2890,2593,2184,1443,1374,1511,1622,1828,1822,1749,1845,1648,1655,1420,1493,1554,1452,1730,1728,1355,1428,1714,1639,1655,1533,1454,1648,1550,1597,1868,1636,1458,1309,1274,1276,1229,1167,1373,1919,1731,1621,1749,2051,2262,2135,1969,1778,1738,1830,1601,1450,1615,2182,2204,2142,2341,2121,1863,1787,1558,1417,1432,1694,1791,1860,1563,1671,1760,1615,1412,1621,2025,1914,1765,2124,2498,2207,2036,1702,2049,1909,1638,2292,2529,2915,2614,1679,1916,1788,1788,1537,1480,1799,1671,1655,1826,1937,2573,3010,2356,1802,1761,1759,1645,1725,2269,2334,1788,1581,2447,2924,2576,2331,2104,2075,2058,2598,2626,2424,2864,2491,2582,2819,2763,2858,3095,3108,2651,2251,2764,2928,1854,1842,2221,2115,1697,2086,2591,2692,2940,2926,2841,2885,2359,3140,2976,2411,2320,2690,3252,2944,2246,2327,2310,1918,1935,1963,1669,1695,1841,1695,1709,1718,2205,2390,2329,2155,2105,2022,1891,1965,1804,1719,1745,1432,1482,1970,2147,1728,1804,2578,2872,2427,1967,2407,2725,2297,2189,2525,1951,1901,2232,2182,2352,2366,2076,2026,1794,1323,1382,1757,1817,1892,2325,2015,1620,1145,1330,2032,2375,2062,2147,2381,2188,1992,2266,2646,2356,2248,2092,1951,1895,1999,1942,1838,1695,1525,1400,1403,1998,2305,1071,797,1017,1186,1254,1813,2235,2054,1938,2186,2223,2667,3576,3925,3485,2515,1758,2002,2424,2332,3053,3151,2210,2156,2347,2232,2035,1881,1747,1686,1756,1594,1660,1644,1722,1789,1697,1768,1992,2141,1851,1569,1408,1423,1379,1568,1411,1448,1491,1591,1621,1456,1544,1615,1433,1590,2003,1875,1704,2033,1842,1821,2407,2376,2053,1985,1991,1971,1489,1553,1711,1714,1578,1643,1374,1409,1477,1628,1753,1570,1638,1789,1649,1583,1547,1996,2912,2664,2099,1966,1914,1772,1830,2139,2467,2702,2260,1467,2142,3259,3393,2743,2435,2336,1917,2352,2403,1949,1986,2099,2051,2072,2183,2072,2189,2225,2211,2310,1905,1493,1901,2169,2351,2221,2139,2282,1829,1218,1443,1486,1509,1598,1708,1913,2357,2918,3597,2994,1984,1899,1693,1485,1430,1477,1522,1471,1348,1343,1483,1500,1369,1058,1236,1195,1534,1887,1992,1863,1765,1690,1794,1735,1889,2148,2023,1657,1723,2417,2263,2403,1815,1563,1611,1904,1788,1321,1396,1747,2294,2205,2347,2125,1756,1709,1905,1910,2120,2283,1685,1517,1471,1605,2123,2366,1552,1835,1696,1516,1674,1910,2230,2302,2212,2062,2130,2234,2737,2270,1856,1907,1735,1649,2022,2587,2580,2216,2165,2570,3119,3110,2878,2553,2173,1896,1953,1934,2307,2498,2365,2272,2323,2033,1713,1952,1873,1610,1300,1981,2370,2168,2070,2341,2343,2003,1988,1836,1930,2492,2149,2073,2198,2403,2850,2703,2055,2316,2265,1981,1774,1721,1665,1577,1909,2125,2708,2512,2492,2819,3392,3750,3419,3160,3207,2978,2656,2624,3162,3416,2920,1721,1808,2254,3218,3408,2978,2814,2905,2761,2673,2511,2370,1957,2277,3017,3383,3429,3186,2776,2619,2787,2857,3312,3807,3531,2525,1794,1793,1880,1953,2209,2001,1919,2382,2623,2066,1809,1879,2349,2964,2020,2265,3297,3738,3366,2872,2647,2675,2665,2553,2868,2790,2732,2502,2428,1579,1735,2505,2632,2144,2091,2008,1537,1525,1501,1512,1520,1650,1554,1777,1785,1614,1546,1687,1628,1489,1693,1763,1556,1473,1517,1419,1752,1961,1867,1835,2054,2445,2509,2120,1806,1588,1605,1751,2097,2581,2091,1698,1854,2099,2264,2457,2235,1748,1824,1992,1964,2041,2158,2090,2147,2081,1737,1937,1986,2063,1991,2010,2084,2025,1964,1755,1986,2136,2439,2896,2776,2159,1721,2222,2328,2055,2619,2855,2256,2184,2216,2050,2143,2769,2292,1803,2135,2513,3122,3094,2734,2403,2213,2612,2242,1983,2597,2874,1803,1641,1775,1861,1726,1735,1784,1509,1453,1551,1613,1736,1899,1811,2041,1977,1891,1992,2105,2269,2290,2243,2036,2031,2438,2289,2224],[3405,3440,3607,3138,2925,3522,3794,3356,2790,2690,3128,3310,3163,3064,3164,3151,3087,3387,3515,3284,2861,2800,2912,3134,3293,3211,3200,3296,3992,3473,2360,3129,3666,3630,3576,3962,4269,3917,3772,3672,3406,3319,3289,3286,3332,3288,3270,3274,3384,3536,3430,3186,2968,2997,3141,3354,3420,3198,3188,3120,3304,3124,2640,2343,2250,2130,2136,1869,1758,1950,2302,2476,2996,2981,2492,2401,2512,2937,3617,3718,3663,3453,3286,3718,3675,3518,3724,3624,3420,3379,3162,2345,1991,2065,2332,2547,2210,2050,2092,1864,2576,3579,3162,2699,2777,2634,2648,2800,2740,2597,2668,2886,3023,2074,2727,3448,3386,3250,3316,3175,2966,2741,2254,1842,2494,3597,3725,3385,2370,2261,2798,2562,1930,1640,2374,2409,1979,2489,2189,1939,1764,1726,1726,3174,3543,3228,3006,2898,2653,2263,2214,2562,2427,2044,1813,2021,2509,2126,2459,2963,3362,3242,2284,1918,2292,2004,1932,2117,1910,1889,2156,2051,1772,1907,2132,2472,2546,2149,1898,2186,2495,2136,1593,1487,1500,1707,2140,2467,2705,2348,1881,1749,1602,1583,2116,2900,3266,3083,1752,1268,1729,2529,2140,2060,1941,1919,2431,2269,2136,2542,2382,2788,2646,2413,2609,2186,2173,2601,3140,3304,3268,2914,2355,2464,2073,1921,2100,2281,2474,2651,2946,3089,3233,3044,2187,1681,1714,2115,3156,2491,2389,2209,2796,3130,3083,3395,3286,2619,2102,2314,2275,2247,2530,3178,3464,2836,2214,2092,2272,2778,2858,2104,2206,2513,2138,2314,2238,2481,3056,3418,3516,3794,3184,2511,2483,2371,2098,2216,2198,1879,2690,2413,2753,2840,2443,2711,2643,1924,1488,1475,1585,1713,2104,2687,2842,2976,2218,2516,2823,2912,2765,2337,2221,2629,2908,2559,1942,1475,1481,1249,1210,1772,1843,2036,2181,2111,2198,2597,2466,2267,2539,2454,2248,2097,1881,1931,1736,1952,2182,2256,2908,2906,2018,2278,2424,1993,2072,2221,2288,1991,2071,2597,2208,2300,2872,2894,3016,2726,1721,1797,2346,2176,2026,2389,2154,1779,2554,3104,3464,3718,2564,1483,1786,1643,2150,2625,2208,2889,3231,3042,3076,2943,2411,2119,1934,1739,2377,3075,2972,2928,2696,1893,1633,1860,1886,2105,2415,2492,2459,2850,3348,3130,2609,1591,1388,1341,2663,3011,2242,1915,2250,2341,2240,2319,2324,2267,2445,2171,2062,2058,2078,1990,1890,1772,1596,1551,1903,2177,1897,1687,1902,2114,3152,3984,3597,2430,1961,1930,2179,2122,1738,1699,1654,1565,1572,1619,1915,2754,3166,2549,2122,2045,1987,2012,2082,2067,1929,1729,1704,1868,1835,2186,2096,1273,1559,1658,1832,2310,2156,2183,2208,2409,2988,3068,2408,2174,2032,1969,2112,1995,1664,1509,1753,1880,1542,1885,3090,3605,3084,2323,2102,2752,2946,2385,2204,2496,2613,2695,2732,2645,2669,2707,2872,3102,3166,3167,3124,2994,2957,3082,3200,3248,3353,3149,3120,3333,3476,3264,3133,3132,3200,2840,2689,3113,3378,3164,2822,3212,3318,3182,3498,3814,3548,2958,2471,2275,2358,2332,2256,2200,2088,2188,2438,2698,2978,3313,3020,2523,2101,1976,2151,2393,2278,2164,2429,2498,2326,2081,1930,2136,2329,2243,2210,2291,2258,2325,2194,2100,2191,2217,2215,2320,2366,2298,2344,2504,2706,2128,2078,2187,2978,4002,2828,1486,1508,1797,2055,2302,1925,2087,2238,2045,2376,2529,2114,1516,1417,1700,1835,1549,1534,1940,2001,1781,1736,1626,1400,1521,1903,1634,1610,2015,2228,1806,1550,1556,1746,1847,1964,2397,2602,2234,1918,1712,1726,1717,1616,1878,2487,2586,1953,1987,1811,1874,2509,2317,1708,1546,1626,1578,1708,1964,1871,1861,1858,1236,1182,1581,1791,1449,2124,3072,2210,1746,2287,2272,2176,1944,2485,2920,3144,3309,3022,2467,2051,2501,3442,3320,2453,2671,2044,1674,1479,1427,1512,1629,1922,2152,2096,2161,2199,2420,2596,1575,1320,1282,2466,3677,3740,3255,2668,2070,1996,2391,2280,2040,2154,2303,2452,2841,2951,2674,2526,2383,1856,1688,1860,1709,1799,2343,2753,2909,2978,2664,2092,2259,2795,3305,3363,2980,2627,2248,2185,2581,2706,2973,3086,2665,2766,2828,2426,2072,2118,2353,2286,2036,1944,2067,2296,2707,2911,2741,3134,2997,2600,2623,2831,2570,2668,2510,2094,2159,2362,2508,1945,1842,2034,2255,2030,1791,2104,2148,1744,1528,1386,1366,1422,1462,1412,1415,1407,1455,1447,1576,1582,1827,2036,1692,1416,1373,1420,1450,1316,1503,1760,1918,1826,1754,1592,1447,1344,1538,1738,1559,1743,2363,2248,1858,1741,1698,1882,2514,2706,2535,2461,2157,1878,1892,1774,1684,1493,1659,2071,2172,2154,1907,1869,1995,1926,1989,1847,2032,2052,1537,1554,1802,1914,1848,1816,1610,1424,1534,1532,1514,1415,1229,1444,1554,1480,1512,1818,2279,2779,3045,3504,3492,3054,2674,1896,1602,1822,1621,1961,1912,1805,2954,3420,3054,3117,3101,2657,2534,2768,2469,2622,1804,2312,2974,3034,2989,3454,3577,3286,3669,4179,4399,4495,4070,3052,2464,2247,2135,2168,2187,2512,2624,2414,1879,1693,1904,2146,2878,2901,2078,1900,1693,1904,2605,3123,3217,2432,1742,2732,3941,4004,3852,3592,3564,3706,3690,3873,4163,4036,2862,2328,2295,2658,2492,1738,1527,1312,1252,1676,1677,1578,1656,1698,1842,1953,1845,1681,1664,1730,1708,1661,1680,1880,1990,1852,1476,1612,1774,1607,2432,2642,1637,1225,1094,1380,1567,1676,1691,1665,1371,1230,1241,1749,2032,1687,1366,1810,2166,1958,1685,1736,1905,2678,2648,2334,1821,1241,1323,1675,1752,1870,2142,2666,2365,2275,2757,2788,3128,2020,1310,1224,1512,1651,1814,2173,2484,2950,3265,2873,2280,2004,1935,2468,1962,1697,1867,2140,2511,2645,2403,1886,1681,1642,1848,1875,1895,2558,3454,2692,1805,1732,1820,1830,1872,1920,1785,1694,1460,1892,2679,2820,3054,2780,2766,3110,3294,2766,2298,1980,1296,1452,1585,1486,1587,1847,1684,1571,1571,1688,1646,1520,1433,1494,1792,1672,1370,1314,1497,1610,1766,1622,1520,1736,1604,1586,1806,1518,1433,1321,1264,1308,1368,1320,1342,1565,1700,1816,1862,2275,2460,2462,2251,1886,1732,1953,1804,1528,1532,2106,2070,2071,2390,1958,1690,1676,1453,1716,1961,2040,1614,1551,1577,1729,2070,2068,1655,1786,1959,1521,1712,2391,2422,1929,1924,1571,1719,1593,1560,2032,2435,2920,2529,1997,2286,1906,1713,1528,1543,1643,1488,1413,1577,1932,2977,3730,3116,2728,2069,1813,1917,2169,2375,2005,1630,1598,2512,3287,3396,2898,2207,2202,2503,2363,1938,2238,2491,2422,2874,2964,2773,2789,2805,2877,2709,2376,2710,2187,1797,2124,2380,2283,1780,1823,2060,2386,2821,3404,3474,3311,1915,2238,2876,2417,1982,2664,3303,2830,2517,2744,2557,1832,1694,2087,2459,2288,2814,2518,2044,2012,2285,2220,2461,2355,2169,2122,1882,2138,1941,1838,1544,1430,1678,1886,2182,1680,1424,1733,2066,1968,1704,1764,1868,2218,2223,2352,2112,2302,1982,1644,1693,1966,2121,2113,1996,1242,1581,1954,1761,1905,2208,2040,1793,1296,1655,2073,2023,2075,2458,2430,2159,2576,3334,3728,3307,2658,2296,1953,1862,1943,1937,1942,1506,766,1084,1402,1953,1733,1004,1214,1595,1572,1671,2004,2297,2106,1798,2408,2535,2690,3693,3684,3084,2810,2114,1738,2311,2665,2848,2655,2347,2490,2249,2025,1897,1873,1509,1442,1549,1576,1725,1636,1590,1504,1512,1581,1996,2288,1826,1658,1664,1610,1584,1504,1389,1395,1423,1438,1417,1439,1413,1437,1513,1743,1553,1416,1678,1852,1763,1743,1728,1938,2229,2349,1857,1654,1375,1360,1392,1498,1556,1460,1354,1466,1680,1759,1755,1548,1428,1438,1386,1441,1795,2080,2989,2692,1953,1861,1717,1647,2081,1951,2518,2776,2084,2078,3056,3892,3682,2912,2465,1722,1886,2539,1940,1794,1889,2281,2051,1931,2122,2106,2016,1895,2132,2294,1905,1707,2423,2751,2635,2758,2877,2502,1952,1526,1505,1502,1500,1582,1548,1488,1824,3023,3250,2121,1904,1682,1497,1502,1504,1737,1870,1615,1363,1391,1409,1378,1475,1312,1539,1289,1313,1435,1544,1730,1795,1948,1970,1864,1745,2024,2025,1642,1858,2221,2162,2128,1946,1798,1726,1838,1666,1165,1482,1813,2302,1992,1885,1623,1626,1961,1822,1606,1957,2100,2294,2154,1753,1754,2812,2283,1448,1472,1540,1504,1554,1679,1924,2141,2212,1866,1901,2046,2619,2366,2128,2368,2310,2172,2413,3065,2754,2501,2766,3111,3317,3177,2525,2140,2225,2079,1913,1791,1666,1375,1143,1252,1914,2056,1858,2341,2530,2196,1788,1666,1816,2048,2335,2723,2510,2068,1896,1720,1697,2042,1968,2034,2355,2062,1897,1838,1928,2420,2210,2438,2077,1794,1937,1691,2009,2176,2895,2608,1753,1942,3223,3588,2941,2909,3234,2678,2574,2824,3060,3466,2731,2138,2057,2738,4042,4070,3805,2880,2898,2821,2639,2548,2922,2636,2746,3210,2901,2432,2664,2578,2772,2811,2421,3010,3615,3663,3118,2217,1511,1786,2361,2352,2085,1952,2382,2968,2681,2078,1925,2068,2065,1672,1626,2118,2855,2798,2199,2350,2537,2588,2508,2620,2683,2589,2592,2222,1703,1735,2059,2198,1964,2050,2247,1598,1472,1581,1887,2030,1990,2031,2112,1820,1427,1504,1903,1600,1567,1799,1714,1675,1454,1570,1868,2336,2437,1986,1867,1860,1986,2116,1679,1659,1636,1635,1544,1644,1859,1628,1541,1688,1829,2076,2505,2674,2339,1792,1773,1973,1936,2236,2331,1883,1839,1718,1924,2056,1828,1640,1747,2211,2395,1870,1659,2041,2093,2311,2556,2186,1856,1751,2000,2232,2464,3174,2676,2034,2130,2226,2066,2199,2329,2192,2393,2430,2570,3010,2805,2448,2707,2708,3015,3012,2763,3002,2526,1855,1577,1936,2285,1981,1872,2094,1624,1496,1636,1749,1715,1754,1843,1744,1621,1743,1768,1864,1973,2082,1873,2170,2456,2656,2590,2474],[3481,3367,3190,3211,3353,3518,3863,3792,3367,3453,3750,3804,3623,3395,3024,2942,3199,3497,3721,3573,3039,2682,2780,3041,3099,3253,3351,3437,4057,3745,2846,3060,3794,3862,3651,3773,3957,3747,3886,3421,3302,3305,3305,3306,3206,3176,3207,3217,3270,3350,3369,3137,2856,3120,3309,3398,3300,3116,3128,3245,3472,3321,2821,2446,2475,2719,2590,2302,2175,2475,2791,2958,2896,2731,2475,2354,2432,3110,3652,3640,3687,3291,3387,3659,3725,3749,3841,3924,3829,3584,2991,2271,2192,2106,1967,2167,2164,2098,1990,2095,3151,3719,3138,3009,3370,2969,2598,2704,2705,3017,3108,2765,2864,2386,3045,3538,3310,3311,3245,3035,3083,2715,1945,1541,2168,3571,3499,3757,2873,2792,3627,3057,2114,2324,2370,1898,2023,2523,2104,2171,2040,1778,2221,3209,3875,3561,2623,2495,2480,2155,2234,2792,2753,2176,1876,2176,2282,2419,2775,3091,2721,2379,2325,2211,2434,2180,2373,2376,1744,1713,2508,2845,2175,2190,2497,2711,2735,1860,1848,2149,2306,2343,1816,1588,1556,1746,1895,2187,2799,2706,2050,1724,1660,1626,2150,2894,3121,3311,1960,1360,1992,2546,2402,2500,2387,2184,2744,2256,1940,2254,3190,3063,2643,2429,2619,2307,2228,2631,3084,2915,2905,3011,2214,1868,1780,1631,1877,2202,2020,2043,2843,3238,2744,2509,2678,2070,1784,2285,2099,1796,2698,2425,2454,2688,3029,3253,3028,2603,2263,2236,1747,1735,2517,3431,3429,3111,2775,2519,2735,3019,2688,2297,2903,2671,2174,2510,2289,2014,3168,3913,3786,3818,3488,2982,2601,2351,2262,2010,2061,1775,1904,1802,1993,2592,3343,3373,2958,2243,1540,1509,1655,1741,2164,2307,2450,3124,2945,3284,3266,3129,2730,2243,2468,2578,2100,2127,1931,1516,2137,1947,1936,1973,1635,1893,2068,2102,2557,2678,2547,2414,2212,1882,1858,2530,2512,1951,1613,1709,1745,1728,2288,2406,2025,2325,1977,2155,2515,2160,2161,2068,2275,2590,2265,1673,1836,2499,2851,2964,2071,1942,2240,2221,2358,2878,2642,2075,2383,2554,2801,3193,2688,2007,2011,1659,2214,2450,2465,3170,3230,3050,3041,2729,1963,1679,1932,2158,2589,2417,2702,3555,3343,2193,2152,2513,2454,2378,2152,2247,2532,2450,2686,2802,2307,1544,1229,2004,2992,2662,2174,2068,2117,2157,1828,2027,1942,1904,2160,1966,2038,2142,1960,1651,1816,1848,1614,1765,2205,2253,2031,2061,1936,2478,3410,3572,2600,1810,1884,1890,1903,1995,2106,1970,1596,1517,1635,1480,1685,2077,2368,2216,2238,2282,2160,2042,1990,2054,2155,2444,2364,2329,2336,2252,2110,1865,1942,1733,1999,2547,2331,2504,2812,2944,3333,2940,2466,2042,2036,2185,2044,1964,1699,1675,1905,1839,1874,2124,3038,3014,2035,1781,2402,3243,3165,2309,1775,1967,2268,2304,1957,2485,2570,2646,2781,2798,2950,3072,3052,3053,3064,3093,2978,2862,2777,2668,2604,2603,2579,2508,2535,2723,3028,2668,2587,3334,3396,3118,3230,3255,2857,3119,3513,3849,3798,3304,2830,2612,2520,2575,2698,2638,2291,2124,2536,2578,2343,2713,2491,2378,2674,2412,2224,2465,2361,2138,2324,2167,2060,2041,2167,2509,2480,2405,2473,2420,2301,2467,2381,2108,2202,2244,1981,2034,2135,2142,2132,2323,2452,2031,1943,2148,2876,3850,3064,1888,1529,1623,1644,2112,2093,2253,2301,1995,1875,2068,1651,1612,2032,2610,2252,1711,1821,1955,1901,1645,1952,2248,1770,1889,1937,1552,1576,1656,2020,1599,1622,1505,1283,1511,2007,2653,2579,2127,1966,1690,1790,1774,1533,1560,1904,2164,1771,1710,2060,2523,2369,2002,1510,1648,2005,2161,1922,1806,1573,2357,2502,1832,1362,1641,1917,1861,2120,2697,2095,2315,2569,2453,2150,2004,2495,2678,3064,3163,2986,2832,2757,2831,3090,2467,2055,1796,1930,2072,2171,2683,2591,1964,2093,1946,2034,2382,2231,2011,2374,1989,1832,2113,2104,2465,3208,3388,2800,2326,2274,2041,1649,1239,1443,1926,2005,2234,2574,2618,2570,2491,2072,1708,1598,1791,2270,2556,2579,2577,2687,2905,2714,2348,2445,3143,3324,2289,2218,2418,2471,2653,2700,2510,2339,2607,3202,3208,2601,2109,2039,2446,2131,1743,2096,2463,2552,2620,2868,2546,2310,2186,2222,2823,3248,3022,2730,2352,2527,2633,2445,2022,1984,2106,2072,2450,2746,2910,3012,2440,1859,1565,1405,1428,1487,1463,1427,1426,1349,1327,1444,1492,1448,1490,1711,1543,1573,1425,1460,1477,1533,1755,1815,1835,2018,2070,1792,1639,1544,1525,1322,1336,1473,2141,2362,1875,1789,1536,1463,2041,2198,2177,2304,2182,2071,2088,1895,2031,2061,1877,1939,1935,1763,1453,1664,2072,2071,2120,1695,1626,1708,1794,1777,1855,1654,1492,1556,1455,1366,1349,1381,1381,1432,1389,1512,1445,1433,1462,1444,1551,1833,2355,3109,3765,3750,3536,3094,2755,2090,2057,1991,2036,1880,2406,2687,2458,2231,2189,2328,2747,3003,2611,2938,2287,2931,3174,2975,2985,3150,2921,2913,3287,3508,3837,4108,3624,2699,2468,2019,1804,1787,2153,2703,2712,2408,2036,1914,2151,2120,2233,2450,1895,1810,1608,1603,1821,2103,2482,2270,2095,3122,3883,3846,3828,3907,3864,4005,4034,4176,4223,4163,3680,3074,2876,2785,2176,1497,1548,1237,1244,1417,1498,1515,1562,1587,1853,2027,1895,1885,1797,1814,1776,1719,1748,1460,1652,1497,1245,1681,1841,2251,3196,2225,1300,1349,1228,1201,1391,1760,1809,1723,1679,1449,1473,1877,1828,1433,1606,1560,1606,1752,1731,1507,1487,2175,2792,2764,2160,1427,1293,1484,1666,2026,2570,2683,1970,2556,2720,2420,2114,1591,1438,1547,1578,1655,1836,2145,2550,2930,3166,3031,2322,1843,1691,2314,1937,1307,1966,2700,2854,2428,1875,1749,1675,1595,1848,1978,1931,2263,3317,3327,2232,1847,1882,1661,1808,1743,1717,1681,1458,1472,2209,2282,2149,2525,2461,2871,3495,2938,2012,1799,1559,1618,1786,1548,1521,1711,1652,1562,1631,1563,1711,1524,1453,1416,1514,1466,1290,1556,1481,1426,1638,1458,1506,1947,1655,1404,1470,1505,1355,1295,1257,1404,1447,1249,1336,1520,1728,1944,2001,2319,2138,2324,2139,1791,1714,1785,1736,1682,1481,1472,1586,1695,1854,1647,1763,1570,1543,1832,1998,2052,1915,1953,2041,1822,1788,2100,1750,2344,2359,1936,1802,2084,2193,2011,1903,1717,1538,1510,1585,1823,1978,2182,2333,2446,2161,1792,1590,1417,1472,1490,1420,1452,1524,1772,2818,3116,3030,3460,2644,2049,1940,2235,1994,1550,1522,1796,3038,3178,2985,2721,2096,2480,3528,2596,1895,2331,2667,3262,3197,2996,3002,2756,2475,2656,2635,2768,2823,2231,2016,2182,2164,1805,1935,2245,2144,2199,2003,2442,2697,2884,2511,2635,2897,2367,1825,2205,2765,2453,2602,2699,2365,2094,2072,2285,2435,2269,2567,2896,3033,2976,2421,2181,2470,2176,2004,1692,1549,1994,2071,2020,1354,1340,1651,1742,2175,2116,1650,1589,1433,1511,1587,1628,1887,1664,1861,2132,2500,2439,2037,1804,1432,1621,1956,1952,2180,1364,1760,1780,1617,1789,1956,1987,1815,1757,1961,1950,2159,2263,2755,2508,2103,2765,2774,3198,3018,2445,2312,1980,1948,1960,1899,1785,1431,1488,2443,2670,2523,1767,1064,1201,1772,1838,1794,1908,1886,1939,1890,1911,2209,2442,3017,3232,3150,3066,2504,2025,2269,2679,2891,2709,2686,2873,2307,2113,2116,2046,1819,1870,1813,1944,1841,1615,1509,1600,1665,1550,1775,1861,1581,1576,1760,1913,1722,1439,1527,1637,1642,1562,1450,1481,1453,1627,1651,1620,1414,1634,1946,1764,1682,1696,1570,1698,1900,2422,2166,1577,1399,1337,1359,1497,1473,1382,1532,1788,2238,1959,1599,1419,1388,1487,1557,1559,1894,2379,2563,2308,1803,1297,1528,1496,1683,1935,2549,2425,2485,2756,2939,3594,3039,2086,1896,1512,1853,2057,1652,1631,1670,1968,1945,1959,1921,1925,1980,2275,2579,2250,2320,3242,3493,3458,3194,3740,3526,3210,2786,2148,1923,1814,1598,1716,1838,1658,2027,2929,2304,1649,1702,1627,1555,1469,1435,1462,1704,1750,1610,1607,1560,1436,1283,1501,1733,1433,1327,1410,1430,1580,1786,2004,1914,1670,1475,2179,1911,1565,1656,1510,1487,1612,1836,1882,1640,1723,2017,1441,1810,1865,1849,2038,1815,1416,1695,2133,1875,1638,1995,2053,2257,1837,1953,2068,2499,1988,1486,1621,1592,1462,1502,1490,1722,2123,2060,1795,1626,1726,2214,2081,1976,2189,2498,2600,2689,2853,2506,2769,2745,2845,3265,3385,2932,2502,2296,2060,1790,1834,1526,901,811,1248,2023,2995,2753,2851,3331,2959,2066,2025,2511,2198,2198,2689,2837,2321,2239,1995,1799,1714,2165,2170,2085,2182,1962,2010,2459,2415,2387,2578,2536,2395,2493,2535,2657,2796,2909,2575,2490,2933,3297,3252,2743,2735,2486,2060,2125,2443,2619,2776,2809,2508,2336,3104,4046,4283,3964,2530,2652,2700,2248,2406,2851,2822,2893,3088,2666,2365,2309,2257,2192,2280,2888,2878,3184,3623,3065,2091,1728,1686,1829,1912,2019,1852,1768,2219,2875,2389,1874,1887,1922,1755,1767,1949,2148,2264,1869,2075,2366,2192,1851,1894,1979,2137,2340,2053,1774,2083,2005,1890,1781,1658,1825,1424,1488,1672,2108,2743,2385,1872,1706,1628,1520,1610,1938,1992,1840,1776,1437,1738,1767,1819,1628,2135,3019,2625,1954,1694,1735,1686,1900,1959,1786,1849,1716,1666,1663,1717,1722,1593,1601,1537,1988,2426,2011,1485,1863,2009,2081,2159,2111,2037,1697,1648,1880,1897,1706,1685,1787,2350,2835,1867,1729,1853,1824,2087,2206,2133,2027,1575,1480,2115,2727,2237,1813,1967,1804,1897,2016,1725,1309,1742,2268,2184,2237,2155,2285,2257,2866,3082,3373,3335,3365,3164,2532,2179,2080,1787,1919,1978,2047,2216,1888,1645,1583,1619,1574,1532,1625,1835,1917,1798,1613,1584,1629,1643,1832,2085,2291,1963,1944,1982],[3666,3288,2676,3132,3624,3601,4053,4140,3716,3687,3710,3794,3659,3394,3119,3175,3161,3143,3338,3370,3088,2723,2707,2832,3041,3419,3409,3283,3686,3846,2995,2597,3409,3602,3472,3584,3686,3710,3716,3309,3237,3288,3296,3287,3278,3271,3242,3238,3238,3342,3321,3016,2763,2957,3255,3141,3033,3001,2968,3199,3398,3377,2989,2469,3051,3416,2710,2121,2522,2690,2797,3071,2910,2329,1960,2276,2799,3564,3518,3336,3676,3211,3492,3703,3684,3504,3647,3956,3897,3460,2713,2164,2492,2741,2508,2166,2157,2122,1812,2525,3329,3284,3139,3087,3119,2894,2592,2908,2802,3162,2987,2908,2902,2613,3141,3437,3220,3120,2812,2587,2822,2644,1879,1106,1830,3204,3516,3499,3310,3461,3370,2391,1725,2263,2080,1543,1615,1786,2024,2222,1963,1910,2898,3666,3854,3184,2109,2226,2535,2177,2248,2177,2170,1998,2073,2048,2499,3067,2803,2451,2378,2523,2536,2348,2421,2778,3097,2403,1701,1842,2746,3294,2569,2247,2521,2621,2552,2036,2304,2230,2384,2280,1782,1556,1469,1677,1888,1876,2248,2533,2238,1665,1670,1693,2030,2296,2478,2536,2136,2125,2361,2330,2276,2388,2426,2327,3064,2523,2563,2585,3162,3477,2879,2373,2526,3002,3555,3559,3641,2953,2612,2368,2002,1899,1698,1776,2112,2120,2066,2380,2857,2620,2180,2395,2431,2076,2137,2339,2070,2264,2519,2383,2446,2462,2902,3255,3088,2481,1996,1952,1498,1542,2791,3328,3090,2952,3116,3316,3124,2995,2966,2872,3047,2513,2709,2968,2558,2171,3185,3861,3726,3802,3727,3322,2708,2586,2166,1578,1756,1764,1674,1482,1806,2805,3493,3474,3261,2524,1662,1533,1655,1593,1728,2135,2460,2916,3440,3549,3371,3461,3307,2956,2977,2489,1878,1665,1853,1831,2499,2294,1912,1879,1797,1771,2149,2891,3447,2583,2597,2392,2100,1827,1964,2513,2887,2588,1814,1471,1791,2262,2984,3209,2540,2464,2304,2721,2570,2143,2208,2438,2543,2921,2906,2024,1549,2064,2434,2608,2328,2070,2436,2521,2823,3180,2561,2092,2322,2459,2937,3110,2875,2609,2252,2084,2370,2629,2826,3272,3536,3259,2872,2348,1976,1661,1932,2058,2573,2647,2696,3241,3084,2493,2460,2476,2608,2232,1990,2341,2614,2646,2929,2704,1984,1375,1222,2127,2480,1952,1945,2504,2188,1989,1938,2093,2048,2105,1980,2069,2246,2281,2046,1610,1630,1974,1916,1691,2039,2308,2022,2233,1989,2824,3430,2918,2246,2044,2208,2153,2172,2404,2545,2552,2102,1769,1708,1687,1699,1748,1931,1982,2087,2085,2173,2275,2280,1979,1993,2155,2132,2084,2086,2670,2900,2343,2147,2098,2146,2609,2968,3019,3283,3305,3374,2902,2278,2049,2301,2174,1908,2001,1800,1719,1580,1748,2077,2091,3300,2831,2036,2565,3141,3331,3042,2261,1800,1885,1731,1943,2047,2472,2834,2859,2658,2889,3178,3252,3252,3287,3146,2797,2592,2547,2354,2293,2344,2420,2428,2317,2216,2485,2622,2502,2834,3350,2982,3294,3365,2902,2757,2792,3051,3496,3747,3552,3178,3008,2847,2743,2654,2877,2543,2197,2428,2225,2034,2509,2574,2864,3212,2392,2248,2351,2388,2209,2544,2563,2414,2389,2667,2699,2564,2598,2770,2737,2456,2447,2438,2196,2161,2114,1896,1863,1924,2070,2148,2468,2648,2337,1972,1919,2046,2730,2806,2077,1882,1702,1641,2150,2510,2420,2552,2552,2036,2285,2022,2004,2135,2410,2453,2353,2310,2170,2021,1767,1987,2474,2062,2018,1606,1637,1700,1665,1577,1521,1606,1682,2078,2442,2411,2429,2077,1801,1584,1602,1853,1697,1593,1509,1649,1793,1564,1757,2744,3245,2534,2093,1732,1830,1581,2061,2048,1734,2289,2930,2713,2398,1776,1719,1845,2428,2491,2424,1909,1963,2081,2479,2253,2419,2806,2807,3254,2876,3492,3249,2920,2401,1736,1484,1716,2295,2975,3161,3173,3012,2700,2716,2877,2147,2499,2895,2535,2106,2128,2174,2556,2136,1008,1327,2588,3372,2841,2640,2414,1595,792,638,885,1363,1776,1982,2073,2054,2290,2493,2262,1952,1689,1956,2754,2590,2441,2508,2495,2729,2872,2453,2182,2289,2202,1920,2504,2757,2410,2419,2692,2622,2559,2925,3475,3057,2073,2458,2431,2675,2791,3110,3061,2854,2522,2299,2555,2569,2154,1958,2141,2421,2587,2646,2143,2253,2788,2893,2649,2281,2136,2149,2156,2523,3402,3973,3204,2320,1969,1613,1508,1552,1358,1296,1404,1792,1841,1426,1544,1744,1895,1590,1636,1654,1592,1656,1488,1519,1721,1714,1827,2121,2496,2562,2102,1897,2226,1753,1717,1569,1681,2195,2042,1787,2177,2061,1844,2044,2124,1793,1920,1934,1909,1918,2123,2346,2254,2163,2219,2344,2151,1336,1395,1775,1920,1831,1475,1384,1714,1805,1784,1665,1415,1305,1337,1482,1283,1390,1355,1459,1531,1434,1480,1451,1452,1453,1342,1464,1755,2002,1852,1884,1824,2389,2852,3169,3284,2952,2583,2736,2281,1968,2012,1968,1968,2170,2634,2742,2667,2377,2499,2661,2784,2976,3153,3384,3361,2437,2209,2872,3183,3307,3476,3199,2884,2301,1708,1516,1659,1876,2062,2220,2082,1498,1492,1720,1968,1911,1889,1845,1739,1656,1910,1864,1654,1922,2106,2416,3575,3786,3829,3939,4111,4284,4340,4242,4143,4175,4163,4013,3714,3096,2657,2075,1632,1536,1205,1435,1501,1549,1718,1744,1735,1860,1744,1699,1895,1815,1786,1873,1958,1823,1525,1915,1526,1310,2003,1900,2214,2371,1372,1315,1616,1527,1284,1373,1723,1816,1852,1806,1625,1711,1570,1249,1604,1741,1366,1977,2228,1760,1555,1544,1819,2229,2426,2295,1568,1262,1368,1460,2296,3255,2734,1957,2705,2611,2238,2049,1499,1453,1600,1687,1749,1787,1922,2362,2687,3050,2532,1878,1829,1697,2138,2049,1264,1942,2222,2171,2058,2148,2129,1824,1664,1793,1905,1775,1757,2546,3260,2568,1743,1510,1351,1573,1687,2028,1964,1903,2154,2959,2669,1774,2374,2813,3157,3312,2953,2395,1977,1736,1686,2033,1898,1365,1626,1927,1787,1730,1575,1726,1473,1365,1298,1298,1446,1680,1854,1637,1504,1711,1825,1552,1625,1312,1245,1501,1471,1259,1311,1369,1318,1184,1307,1664,1702,1576,1655,1983,2297,2180,2171,2064,1647,1412,1441,1753,1725,1556,1480,1624,1438,1512,1501,1846,1789,1731,1635,1521,1661,1857,2112,2216,1938,1749,1981,1919,3064,2652,2144,2029,2136,2430,2272,2008,1993,1823,2076,1930,2282,2586,2688,2094,1927,1828,1824,1775,1604,1540,1613,1896,1670,1522,1798,2974,2809,2473,2598,2115,1693,1671,2139,2088,1380,1567,2249,3020,2776,2737,2530,2005,2512,3174,2565,2520,2685,4212,6040,3706,2542,2744,2468,2399,2246,2457,2782,2989,2927,2350,1983,2010,2322,2345,2562,2205,1963,1924,1728,1761,2422,2739,3229,3027,2776,2807,2242,1670,1772,2363,3067,2878,2514,2642,2392,2523,2552,1982,2137,2841,3135,2822,2351,2351,1910,1885,1815,1790,2002,2067,1752,1329,1576,1871,2065,2406,2019,2374,2104,1557,1576,2244,2318,2728,2306,1642,1764,2122,2266,2338,2198,1699,1660,1832,1842,2301,1859,1765,1730,1579,1578,1497,1733,1660,1686,2035,2089,1913,1969,2280,1904,1735,2254,2159,2141,1815,1638,1814,1696,1825,1986,2010,1816,1630,1709,2646,3442,2695,1806,1450,1393,1859,1959,1989,1793,1619,2026,2241,1947,2065,2404,2525,2758,3006,2632,2797,2714,2334,2862,3000,2619,2530,2791,2597,2119,1892,1769,2055,2388,2328,2167,1696,1660,1635,1566,1433,1620,1689,1623,1549,1510,1564,2035,2282,1627,1649,2166,1925,1866,1647,1379,1401,1604,1602,1513,1448,1570,1580,1486,1523,1521,1618,1827,1652,1813,1713,1638,1567,1517,1494,1489,1416,1443,1368,1315,1495,1658,1514,1369,1447,1594,1539,1438,1854,2394,2318,2348,1822,1080,1460,1544,1653,2187,2192,2171,2623,2485,2343,2908,2218,1678,1665,1493,1694,1672,1759,1645,1529,1782,2056,2048,1972,1936,2062,2319,3164,3155,2834,3255,3635,4033,3803,3862,3623,3430,3671,3443,3173,2352,1857,1974,1945,1614,2137,2304,1707,1616,1631,1736,1719,1887,2082,1402,1495,1661,1608,1678,1614,1417,1185,1565,1565,1438,1456,1644,1731,1860,2127,1940,1823,1448,1717,2163,1758,1504,1493,1593,1548,1459,1604,1586,1621,1778,2348,1847,1757,1878,1822,1808,1615,1509,1920,2077,1813,1310,1713,1809,1674,1540,1641,1763,1964,1935,1770,1632,1572,1520,1493,1515,1744,2227,2172,2087,1648,1583,1932,1881,2222,2310,2210,2138,2472,2691,2332,2409,2421,2285,2832,3304,3006,2345,1860,1751,1676,1747,1436,1273,1263,1505,2023,3266,3260,2939,3226,2746,2122,2200,2710,2286,2173,2126,2070,1918,2077,2280,2308,2105,2413,2366,1966,2164,2155,2085,2292,2482,2786,2898,2556,2141,2535,3017,2723,2074,2288,2601,3143,3675,3563,3870,3323,2678,2471,2138,2018,2450,2755,3015,2820,2354,2654,2754,3141,3986,3328,2294,2524,2304,2258,2873,3110,3038,3166,2942,2471,2618,2318,2171,2039,2186,2501,2788,3100,2876,2328,2252,2336,1613,1167,1654,1824,1666,1645,1852,2641,2458,2003,2400,2480,2068,2113,2285,2189,2452,1890,1951,2162,2182,2062,1762,1591,1804,2354,2518,2104,2214,1891,1696,1785,1585,1412,1402,1469,1562,1845,2106,2008,1490,1591,2348,2231,1955,2013,2333,1979,1910,1798,1893,2101,2100,1659,2096,3101,3216,2565,2024,1888,1709,1734,1964,2160,2018,1810,1577,1575,1926,2029,1792,1758,1597,1850,1922,1552,1341,1751,1979,2554,2375,1869,1793,1648,1774,1804,1968,1830,1843,1709,1973,2111,1703,1852,1919,1707,1892,2254,2267,2144,1892,1908,2117,2206,1760,1952,2135,1952,2099,2082,1510,1367,2040,2423,2507,2332,2139,2351,2675,3242,3497,3559,3650,3543,3152,2682,2463,2303,1858,1742,1934,2331,2008,1752,1807,1796,1708,1614,1494,1691,2254,2174,1706,1738,1777,1671,1617,1904,2135,2644,2525,2164,1964],[3500,3492,3371,3579,3772,3764,3795,4045,3821,3397,3128,2967,3040,3325,3452,3545,3279,3124,3069,3053,2952,2857,2889,3210,3052,3178,3706,3686,3521,3851,3440,2343,2806,3399,3465,3536,3480,3480,3369,3333,3333,3371,3355,3251,3193,3264,3264,3208,3248,3234,3160,3051,3041,3073,3139,2967,2862,2774,2806,3142,3458,3265,3028,2866,3406,3448,2711,2050,2286,2577,2757,3038,2986,1975,1050,1358,2326,3517,3505,3395,3574,3540,3418,3584,3671,3697,3928,3738,3709,3693,2623,2198,2431,2744,2514,2055,1940,1854,1977,2880,3348,3167,3173,3106,3194,2887,2873,3219,3064,3284,3148,2977,2980,2999,2879,3085,3108,3027,2836,2626,2564,2357,1883,1270,2189,3271,3310,3317,3471,3565,3173,2381,2271,2277,1930,1558,1652,1747,2054,2443,2226,2041,2948,3791,3597,3161,2828,2850,2843,2626,2475,2290,2162,2013,1925,2209,2887,2849,2275,2275,2264,2318,2563,2479,2624,2995,2844,1963,1587,1733,2431,3000,2437,2235,2405,2411,2036,2156,2325,2254,2597,2360,1716,1597,1509,1907,2465,2016,2240,2375,2082,1693,1678,1731,1715,1544,1411,1436,1837,2348,2524,2195,2271,2231,2344,2515,3252,2832,2679,2872,2967,3076,2723,2273,2641,3378,4125,3806,3862,3072,2589,2400,2207,2152,2087,2088,2302,2661,2907,3223,2968,2330,2346,2645,2494,2290,2410,2658,2469,2223,2093,2450,2360,2249,2708,3046,3082,2155,1926,2069,1527,1668,2906,3228,2683,2705,3162,3279,3198,3085,3237,2708,2367,2498,3079,3166,2698,2598,3428,3761,3574,3555,3560,3273,2591,2788,2071,1886,1817,1621,1429,1351,2279,3592,3790,3618,3486,2540,1641,1470,1633,1537,1314,1587,2577,3588,3914,3665,3699,3640,3566,3703,3386,2185,1858,1760,1989,1836,1946,1869,1915,2709,3032,2379,1945,2398,2648,2006,1845,1932,2405,2449,2307,2336,2096,1991,1625,1684,2084,1952,2700,3310,2962,2744,2254,2377,2157,2177,2383,2292,2997,3571,3430,2751,2166,2372,2339,2024,2036,1735,1921,2698,3532,3609,2374,1945,2148,2972,3718,3693,3076,2674,2511,2273,2099,2400,3072,3377,2736,2357,2752,2222,2027,1807,1740,1923,2990,3131,2425,2322,2563,2538,2426,2279,2124,1891,1853,2104,2351,2647,2751,2484,2109,1885,2010,2465,2698,2487,2015,2321,2020,1905,1939,1932,2220,2381,2243,2181,2004,2248,2626,2161,1696,2211,2082,1830,1924,1787,1676,2142,2479,3168,3306,2547,2083,2164,2116,2020,1871,1989,2279,2858,2480,1934,2150,2367,1890,1925,2221,2540,2448,1927,1960,2199,2331,2198,2078,1977,1963,1954,2110,2526,2918,3083,3208,3081,2944,3092,3406,3487,3397,3178,2831,2285,2012,2230,2488,2031,2015,1924,1804,1627,1323,1681,1918,2468,3398,2952,2535,3410,3661,3487,2873,1965,1848,1655,2231,2729,2968,3383,3842,3400,2587,2589,2930,3071,2943,2967,2879,2264,2512,2627,2618,2668,2674,2599,2445,2353,2537,2770,2598,2348,2692,2746,2684,3032,2858,2880,2914,2839,2817,2798,2962,3238,3157,3240,3188,2780,2462,2057,2083,2199,2353,2823,3438,3572,3464,4058,4517,2713,2271,2221,2350,2277,2519,2531,2318,2273,2584,2859,2697,2506,2447,2423,2335,2338,2230,2055,1973,1930,1842,1842,1888,2035,2374,2564,2181,2487,1865,1930,2013,2061,2002,1869,1965,2007,1814,1687,1910,1937,1913,1880,1703,1981,2237,1975,1951,2122,2002,1982,2125,2076,1892,1802,1738,2281,2085,1655,1494,1740,1786,1839,1679,1634,1773,1852,2305,2884,2262,2337,2631,2238,1842,1810,1761,1732,1791,1632,1858,2076,1778,2242,3174,3195,2206,1945,2056,1805,1531,1759,1858,2055,3440,3875,2669,2091,1966,1939,2150,2987,2754,2584,2221,2078,2533,3076,2951,3398,3281,2634,2722,2226,2666,2397,1959,1786,1619,2022,2438,2843,3107,3053,2562,2096,2305,2622,2468,2135,2762,2978,2759,2447,1993,2176,2825,2531,1826,1757,2715,3131,2508,2545,2554,1755,762,484,661,922,1447,1885,1946,2099,2219,2209,2298,2338,2058,2350,2691,2496,2444,2498,2519,2389,2509,2498,2229,1618,1343,1956,2034,2461,2346,2196,2521,2339,2084,2459,3154,3439,3255,2763,2867,3117,2680,2783,2530,2451,2359,1992,2212,2532,2314,2231,2120,1885,2131,2296,2220,2089,2679,2831,2589,2677,2323,2212,2346,2181,2520,3288,2725,2286,1875,1530,1549,1578,1523,1488,1577,2154,2454,1435,1400,1592,1661,1493,1660,1563,1653,1688,1596,1588,1504,1421,1327,1663,2120,2254,1864,2041,2241,2102,2135,2111,1971,1755,1628,1841,2311,1662,1803,1761,1986,1971,1820,1750,1540,1485,1986,2114,1809,1820,1847,2139,1992,2038,2003,2481,2780,2459,1820,1764,1751,1624,1948,2026,1573,1575,1494,1537,1447,1449,1387,1492,1498,1506,1556,1416,1434,1544,1378,1440,1698,2076,1617,1506,1447,1720,2091,2464,2701,2453,2386,2275,1990,1923,1915,2013,2134,2291,2148,2221,2561,2355,2340,2543,2368,2527,3261,3996,3536,2358,2314,2909,3383,3558,3243,2842,2447,1843,1447,1398,1754,2082,1730,1762,1804,1482,1462,1338,1615,2265,2198,1975,1999,1875,2048,2144,1921,1963,2169,2989,3494,3728,4008,4079,4200,4063,3554,3338,3597,4059,4192,4164,3792,2789,2504,1767,1683,1551,1566,1808,1611,1674,1885,1842,1872,1971,1674,2058,2111,1981,1803,1947,2009,1869,1952,1992,1743,1929,2189,1615,1861,1758,1522,1788,1861,1850,1775,1652,1807,1874,1747,1784,1838,1815,1599,1427,1840,1510,1772,2958,2657,1898,1835,1786,1752,1652,1750,2188,1740,1331,1338,1484,2891,3375,2257,2141,2995,2622,1981,1888,1732,1665,1592,1764,1782,1726,1854,2236,2536,2844,1896,1442,1802,1706,1637,1994,1326,2053,1764,2077,2482,2453,2191,1919,1616,1496,1467,1513,1686,2085,2755,2752,1810,1466,1518,1589,1592,1815,1961,1985,1972,2208,2298,1607,2314,3231,3191,3107,2998,2690,2383,1998,1754,1866,1925,1627,1983,2038,1870,2272,2373,1750,1389,1418,1399,1339,1428,1618,1747,1811,1714,1764,1815,1486,1359,1438,1555,1391,1121,1488,1836,1534,1491,1270,1402,1701,1654,1557,1573,2099,2336,2306,2294,1984,1649,1450,1530,1851,1597,1622,1503,1421,1528,1673,1698,1737,1637,1538,1636,1682,1714,1684,1752,1715,1540,1681,1693,1688,2727,2888,2419,2187,2245,2128,2181,2184,2244,2194,2263,1809,2339,3304,3030,2221,1981,1978,2121,2030,1890,1684,1676,1812,1639,1486,1525,2269,2219,2104,2302,2276,1693,1819,2360,2462,1915,1785,2584,2504,2473,2790,2284,2060,2622,2788,2523,2614,2954,5386,4648,2798,2334,2445,2508,2376,1691,1792,2203,2520,2389,1944,1661,1819,2211,1917,1901,1781,1912,1813,1560,1825,2406,2643,2556,2296,3022,2782,2085,1766,2149,2353,2577,2162,2110,2260,2327,2821,2679,2135,1967,2203,2598,2428,2113,2028,1858,2266,2476,2095,1901,1917,1638,1438,1474,1865,2113,2158,2027,2605,2204,2317,2484,3062,3428,3398,2461,1714,1553,1521,1687,1992,1978,1884,2015,2071,1847,2167,2234,2235,2047,1858,1771,1676,2219,1653,1776,2251,1947,1591,1683,1659,1410,1620,1880,1850,1953,1903,1912,1752,1649,2070,2231,2091,2047,1606,1149,2302,3431,3050,2036,1729,1677,1774,2000,2046,1776,2040,2794,2722,2414,2202,2159,2198,2039,2084,1917,2023,1722,1548,2337,2895,3436,3352,3232,3039,2591,2320,1876,1989,2130,2163,1658,1591,1538,1527,1527,1539,1641,1737,1699,1645,1604,1403,1945,2583,1978,1768,1983,1874,2082,2177,1742,1753,1843,1474,1576,1751,1591,1426,1367,1370,1508,1332,1511,1615,1462,1544,1788,1632,1499,1439,1451,1560,1670,1410,1511,1774,1512,1433,1456,1510,1626,1423,1180,1422,2105,2461,2449,1655,1422,1662,1554,2106,2260,2008,2294,2252,1662,1516,1888,1943,1669,1565,1506,1656,2096,2217,1704,1442,1696,2007,2171,2160,2198,2589,3035,3338,3476,3417,3001,3442,3645,3384,3626,3645,3439,3659,3297,3297,3207,3008,3023,2711,2768,3027,2131,1494,1560,1559,1592,1722,1798,1754,1528,1563,1483,1488,1471,1612,1378,1312,1544,1394,1575,1478,1533,1783,2178,2070,1720,1538,1138,1669,1992,1564,1523,1556,1749,1961,1827,1669,1557,1489,1506,2028,1867,1548,1538,1614,1667,1425,1427,1656,1866,2115,1656,1733,2112,2168,1911,1786,1892,2013,2213,2262,2023,1952,1726,1639,1656,2063,2343,2176,2100,1708,1621,1921,1824,2297,1685,1912,2034,2163,2816,2764,2496,2287,2133,2308,2321,2248,2015,2066,2140,1994,1697,1492,1630,1607,1633,1671,2498,2991,2531,2440,2054,1903,1837,1728,1713,2294,1895,1381,1743,1996,2099,1913,1577,1744,2071,2152,2326,2366,2213,2197,2452,2478,2732,2272,2065,2687,2558,2626,2237,2119,2307,3226,3440,3352,3685,3124,2841,2857,2253,2135,2664,3033,3421,3860,3769,3555,2809,2942,3667,3028,2541,2698,2500,2763,2944,2708,2242,2756,2849,2762,2810,2387,2232,2376,2308,2221,2401,2501,2343,2259,2093,2155,1977,1875,2419,1931,1709,2042,1834,2039,2585,2480,2577,1988,1993,2275,2167,1906,1976,1714,1781,1931,1915,1925,2056,1973,1777,2104,2192,2545,2123,2018,1802,1588,1888,1772,1683,1615,1704,1831,1733,1705,1471,2167,2559,2624,2280,2193,2130,1887,1889,1962,1893,1982,2195,2074,1999,2423,2602,2227,2009,1868,1779,1550,1917,2176,2182,2322,1802,1721,1796,1949,1962,1819,1713,1751,1802,2011,1711,1563,2415,3221,2985,2246,1816,1990,1821,1629,1860,1704,1682,1762,1732,1538,1655,1838,1805,1885,1942,1995,2194,2163,2126,2017,1969,1841,1802,1987,2091,2153,2179,1654,1439,1863,2262,2468,2643,2665,3094,3252,2973,3164,3431,3450,3008,2348,2482,2582,2713,2603,2264,1899,1876,2289,2040,1962,2277,2126,1576,1570,1629,1711,2175,1875,1624,2122,2211,1670,1808,1985,1904,2157,2226,1925,1794],[3406,3589,3588,3517,3604,3501,3458,3428,3287,3131,2620,1818,2210,3271,3255,3397,3077,3008,2841,2858,2900,2554,2634,3428,3204,2878,3418,3636,3686,3669,3751,3153,3243,3696,3884,3808,3560,3207,3253,3430,3422,3407,3347,3329,3352,3281,3164,3175,3163,3156,3153,3220,3297,3186,3129,3119,3157,2927,2696,3120,3204,2958,2589,2453,3231,3132,2150,1909,2435,2702,2987,3113,2875,2005,1563,1648,3082,3706,3481,3491,3710,3959,3738,3628,3647,3597,3660,3398,3538,3518,2353,2221,2358,2326,2093,1950,1854,1573,2050,3000,3153,2968,2810,2441,2540,2400,2742,2938,3098,3213,3130,2868,2540,2543,2844,3329,3228,3286,3055,2801,2996,2498,2016,2040,2922,3537,3096,3318,3630,3262,3072,2648,2532,2134,1791,1754,2042,2069,2060,2431,2265,2013,2543,2989,3002,2575,2494,2963,3043,3308,3365,3166,2958,2611,2192,2424,2544,2576,2137,2596,3034,2876,2964,2739,2588,2371,1858,1889,2142,2058,2466,2685,2241,2025,2030,2148,2048,2590,3156,2994,3038,2744,1732,1553,1494,1973,2768,2526,2642,2396,1899,1624,1605,1688,1596,1459,1568,1937,2101,2280,2460,2268,2482,2509,2441,2237,3104,3099,2700,2934,2872,2968,2932,2798,3139,3650,3937,3582,3167,3105,3347,2916,2397,2560,2570,2290,2662,2963,3084,2909,2189,2309,2348,2292,2642,2432,2284,2500,2382,1645,1214,1807,1939,2667,3110,2808,2636,1952,1830,2083,1940,2220,2841,2956,2709,2667,2720,2886,2944,3011,2989,2511,2351,2983,3459,3472,3189,3102,3718,3853,3613,3684,3672,3348,3428,3196,2276,2196,2002,1620,1554,1681,2547,3469,3332,2695,2478,1923,1454,1687,1861,1534,1942,2859,3205,3495,4027,3913,3872,3840,3766,4080,3638,2727,2069,2011,1825,1638,1833,2097,2668,3173,2890,3221,2618,2147,1960,1880,1158,1078,1892,2418,2670,2710,2182,1852,1500,1874,2612,2457,2630,2694,2955,2706,2321,2132,1937,2214,2239,2516,3260,3199,3304,3142,2645,2586,2251,1690,1544,1820,2406,2975,3395,3344,2034,1979,2199,3112,3293,3074,2722,2352,2259,2008,1297,1770,2690,2611,1778,2169,2238,1900,2002,1928,1694,1820,2427,2795,2370,2238,2508,2563,3023,3030,1998,1805,2005,2227,2701,3274,3364,2635,2417,3056,3064,2624,3005,2395,2091,2161,1849,1907,1818,1736,2130,2338,1992,1689,1680,1897,2388,2286,1929,2106,2286,2226,1910,1745,1876,1961,2105,3091,3289,2387,1938,2132,2555,2262,1444,1499,1976,2211,2002,1859,2654,2814,1947,2165,2664,3373,2669,1931,1708,1947,2316,2335,2232,2146,2138,2202,2264,2194,2343,2493,2900,3200,3343,3398,3338,3025,2706,2380,2062,2087,2209,2389,2192,2099,2203,2167,1860,1477,1609,1857,2411,3090,3278,3270,3154,3581,3330,2742,2754,2216,2194,2236,2684,3134,3308,3509,3933,3666,2680,2727,2967,2629,2810,2969,2942,2587,2603,2491,2318,2269,2157,2148,1959,1953,2304,2542,2507,2591,2458,2536,2890,2931,2487,2347,2404,2518,2364,1942,2240,2719,2889,3140,3137,2303,1709,1281,1788,2742,2807,3203,3808,3593,3658,4465,4440,2752,2163,2190,2299,2304,2282,2178,2114,2133,2380,2729,2591,2456,2380,2425,2378,2328,2147,2029,2004,1939,1814,1770,1807,1891,2743,2512,1574,1506,1608,1981,1925,1707,1811,1792,1874,2165,2036,1637,1714,1848,1852,1962,1840,1714,1866,1544,1672,1877,1814,1925,1948,1916,1698,1891,2288,2383,1959,1562,1345,1858,2237,1807,1591,1714,2171,2420,2486,2596,2164,2823,3597,3565,2966,2194,1686,1604,1561,1627,1929,2118,1820,1670,2114,1943,1695,2242,2272,1758,1610,1858,1953,2360,3813,4006,2841,2508,2102,1824,2260,2964,2988,2830,2431,1951,2451,3131,2674,3884,3305,2453,2344,2132,2053,1873,2117,2135,1854,1864,2109,2349,2308,1931,1627,1864,2233,2624,2303,2160,2751,2779,2812,2897,2432,1995,2384,2994,3047,2458,2665,2544,2739,3006,3138,2723,1448,930,1598,1382,1622,2040,2225,2564,2395,2206,2173,2371,2452,2790,2846,2743,2759,2271,2298,1892,2067,2202,1553,1916,1666,2014,2352,2494,2543,2469,2544,2260,2260,2329,2686,2821,2639,2133,2661,3159,2624,2214,2234,2339,2420,2691,2720,2429,2491,2605,2038,1976,2596,2398,2350,2397,2683,2680,2533,2245,1978,2221,2229,2050,2502,2499,1722,1546,1541,1564,1560,1489,1750,1942,1725,1602,1798,1376,1438,1339,1288,1500,1460,1388,1582,1686,1708,1461,1529,1241,1102,1582,1832,1836,1656,2023,2424,2218,1858,2045,1918,1888,1777,1754,1820,1628,1752,1592,1848,1927,1743,1687,1372,1074,1383,1763,1673,1619,1744,1893,1892,2398,2173,1476,1652,2212,1968,1787,1673,1724,1885,1793,1611,1710,1671,1596,2050,1947,1565,1529,1578,1378,1410,1601,1434,1512,1344,1388,1556,1877,1675,1305,1399,1764,1766,1734,1947,1815,1820,1760,1597,1903,2078,1923,1956,2135,2009,2170,2396,2491,2534,2409,2244,2565,3566,3208,2554,2106,2187,2451,3130,3485,3242,3061,2479,1818,1802,2140,2482,2377,1973,2050,1935,1801,1777,1476,1888,2497,2232,2250,2536,2787,2392,2300,2094,2328,3306,3854,3391,3537,3892,3949,4207,3756,2932,2864,3230,3873,4160,4131,3817,2880,2261,1643,1562,1499,1943,2124,1810,2082,2359,2043,1824,1772,1830,1779,1669,1848,1830,1790,1830,1851,1682,1406,1551,2282,1938,1592,1704,1527,1848,2173,2066,2076,2292,2244,2126,1980,1802,1858,1837,1628,1607,1626,1628,1599,2166,2600,2166,1919,1837,1773,1776,1569,1808,2105,1932,1550,1376,1971,3131,3200,2493,2379,3131,2680,1856,1665,1887,1945,1652,1582,1683,1721,1946,2008,2321,2265,1359,1691,1833,1833,1572,2040,1524,2380,2364,2425,2542,2467,2526,2108,1622,1539,1594,1754,1841,1680,2370,2913,2096,1409,1221,1348,1618,1788,1909,1721,1284,1533,2247,2303,2530,2964,2597,2789,3166,2939,2408,1974,1795,1476,1360,1755,1985,1946,1843,2809,3515,2337,1440,1631,1613,1533,1655,1758,1741,1585,1446,1588,1721,1513,1482,1733,1725,1339,1339,2033,2061,1485,1461,1338,1366,1526,1802,1939,1750,2087,2890,3034,2459,2165,1882,1449,1362,1409,1373,1590,1738,1740,1702,1706,1628,1670,1648,1678,2017,1679,1547,1572,1504,1503,1472,1766,1691,1439,2079,2818,2305,1855,2010,1856,2391,2154,2091,1808,1553,1631,2753,4156,3977,2897,2584,2732,2940,2500,1961,1730,1797,1812,1643,1501,1584,1879,2064,2235,2608,2928,2671,2291,2160,2196,2349,2587,3219,2633,2256,2137,2017,2275,2554,2620,2238,2345,2601,4086,2908,2790,2776,2502,2410,1962,1586,2080,2481,2322,1783,2033,1811,1962,2143,2091,1918,1791,2254,2518,2109,2112,2276,1917,2150,2372,2578,2018,2309,2555,2632,2598,2422,1990,1991,2039,1996,1982,2466,2365,2166,2085,2111,2318,2170,2114,2107,2217,2430,2176,1740,1858,1544,1470,1456,1720,2032,1888,1931,1876,1796,2158,2776,3388,3238,2266,1664,1693,1760,1808,1766,1615,1743,1749,1674,1870,1952,2003,2116,2194,1815,2019,2008,2207,2018,1450,1450,1966,1806,1711,1836,1714,1647,1605,1417,1807,2269,2695,2965,2221,1917,2008,2119,2104,2144,1699,1570,2618,3363,3271,2088,2054,2161,1501,1274,1354,1614,2106,2192,2044,2521,2780,2342,2046,1981,1892,2221,2360,1846,1704,2390,2462,2052,1936,2200,2266,2490,2676,2191,1895,1782,1566,1730,1698,1488,1404,1365,1415,1498,1693,1815,2236,1810,1504,1732,2116,1749,1709,1996,1932,2160,2522,2254,2032,1742,1505,1515,1605,1544,1438,1466,1380,1436,1566,1641,1426,1417,1778,2364,1729,1394,1387,1444,1669,1694,1481,1578,1654,1466,1461,1393,1401,1510,1427,1308,1422,2071,2396,2195,1906,1981,2071,2004,1882,1782,2066,2152,1569,1372,1556,1713,1844,1800,1489,1094,1490,2101,2032,1572,1418,1372,1801,2100,2178,2546,3041,3221,3452,3697,3598,3539,3492,2802,3262,3808,3623,3592,3409,2630,2670,3252,3746,4004,3259,2597,2282,1694,1468,1553,1431,1355,1583,1481,1469,1533,1496,1286,1464,1655,1476,1306,1458,1476,1361,1428,1585,1494,1652,2100,1974,1662,1362,1246,1977,1814,1493,1573,1481,1860,2541,2680,2045,1542,1331,1344,1519,1640,1655,1534,1564,1538,1454,1449,1578,1548,2060,2048,1989,2415,2629,2425,2057,1862,2336,2648,2556,2122,1757,1676,1990,2085,1999,1886,1799,1991,1896,1672,1761,2184,2155,1986,2732,2635,2312,2342,2478,2478,2138,2032,2183,1880,1786,1852,1933,1708,1822,1786,1622,1644,1658,1577,1597,1999,2143,1851,2275,2056,1799,1372,1482,1829,2396,1997,1404,1853,2215,2013,1715,1512,2312,2158,1947,2148,2286,2366,2359,2146,2216,2523,1954,1853,2581,2143,2087,2700,2258,2431,3373,3444,3555,3404,2972,3732,2994,2147,2165,2663,3278,3619,3618,3930,3736,2665,2359,2973,3090,2956,2714,2310,2400,2463,2522,2419,2932,3044,2741,2563,2486,2564,2437,2165,2372,2183,2093,2084,2272,2162,1982,1974,2064,2118,1951,2398,2933,2558,2252,2809,2476,2122,2136,2872,2705,2003,1772,1909,1801,1772,1942,1886,1737,2290,2578,2018,2010,2166,2293,1890,1844,1665,1990,2380,2177,1852,1872,1860,1859,2094,2642,2657,2576,2186,2387,2371,2062,1807,1775,1648,1844,1968,1679,1573,2117,2382,2293,2212,2289,2108,1937,1694,1545,1850,2076,2208,2189,1640,1795,2056,1897,1810,1964,1856,1524,1585,2001,2017,2300,2943,3329,3230,3028,2424,2023,1661,1645,1720,1676,1481,1517,1572,1520,1804,2236,2128,2424,2142,1739,1844,1882,1944,1979,2019,2032,1967,1930,1864,1809,1792,1413,1831,2122,2382,2689,2557,2418,2928,2779,2556,3274,3442,3382,2774,2144,2566,2932,3086,3094,3019,2503,2221,2187,2058,2343,2322,2233,1753,1749,1880,1958,1997,1998,1885,2265,2240,1743,1866,1737,1481,1577,1712,1755,1868],[3068,3254,3246,3164,3064,2775,2583,2237,2010,2381,2653,1811,1671,2743,3059,3449,3428,3266,2953,2887,2901,2212,1899,2610,2758,2715,2996,3286,4014,3421,3603,3189,3060,3752,3890,3739,3594,3294,3305,3319,3167,2992,3241,3247,3194,3082,3124,3175,3064,3101,3090,3121,3130,3139,3290,3084,3198,3296,3085,3029,2878,2940,2396,2450,3244,2800,2104,2785,3198,2979,3067,3108,2735,2946,2679,2597,3442,3691,3697,3469,3497,3848,3670,3460,3630,3358,3481,3320,3575,3195,2348,2401,2433,2279,2146,1992,1842,1770,2395,2683,2630,2862,3038,2863,2767,2588,2520,2774,2840,2785,2985,3045,2599,2335,3206,3338,3198,3252,3140,3196,3306,2484,2041,2566,3240,3297,3124,3360,3435,2987,2593,2626,2579,2230,2248,2444,2426,2144,1542,1622,1976,2288,2192,2068,2077,2417,2807,3043,3050,2972,3028,3297,3520,3239,2248,2567,3437,3011,2356,2585,2836,2973,2964,2915,2696,2230,1952,2283,2447,2482,2579,2485,2366,2357,2129,1994,1932,2120,2567,2897,3380,2832,1648,1492,1455,1892,2619,2562,2404,2096,1827,1748,1664,1706,2144,2776,2503,2680,2456,2298,2385,2346,2401,2452,2479,2363,2590,2611,2600,2933,2652,2637,2862,3343,3365,3549,3636,3287,2602,2930,3416,2877,2462,2518,2757,2884,3414,3333,2652,2298,2237,2344,2240,2185,2458,2353,2081,2316,2053,1028,891,1578,2187,2997,3252,3089,2710,2361,2218,2134,2599,2868,2942,3189,3141,2975,2992,2866,2777,2852,2683,2533,2600,2861,3130,3560,3805,3874,4036,3811,3515,3733,4031,3787,3781,3096,2264,2255,2046,1748,1606,1732,2079,2415,2474,2108,1771,1541,1556,1772,1726,1959,2996,3565,3340,3032,3552,3740,3916,4139,4163,4046,3220,2640,2789,2642,1976,1978,2291,3266,3242,2763,2862,3124,2891,1995,1920,1808,1158,973,1478,1918,2183,2228,2128,1812,2142,1947,2348,2913,3217,3039,2689,2440,2255,2273,2679,2622,2092,2014,2352,2563,3069,3322,2721,2082,1945,1998,1999,2168,2640,2566,2841,2720,2162,2197,2442,2562,2382,2233,2621,2762,2150,2024,1365,1574,1902,1757,1954,2358,1957,1860,1905,1726,1720,1587,1895,2189,2363,2767,2479,2367,3153,3183,2317,2014,1943,1995,2573,3037,2937,2299,2318,2658,2786,2691,3030,2701,2424,1792,1676,1948,1684,1865,2613,2764,2254,1680,1863,1647,1929,1961,1694,2019,2681,2742,2069,2026,1999,2244,3000,3702,2832,2018,1943,2578,2745,2183,1554,1737,2004,1925,1705,2078,2789,2308,2441,2573,2658,2846,2517,1964,1831,2376,2526,2283,2071,2107,2058,2219,2691,2801,2475,2332,2297,2468,2650,2779,2687,2332,2292,2402,2286,2197,2059,2421,2229,2177,2197,2132,1773,1747,2041,2051,2553,3153,2887,3156,3064,3093,2943,2472,2764,2443,2287,2292,2193,2577,3038,3605,3815,3150,2604,2900,2909,2953,3094,3021,2741,2351,2270,2149,2295,2025,1818,1962,1780,1808,2177,2424,2527,2398,2273,2620,3087,2912,2547,2824,2448,2112,1791,1952,2160,2573,2857,2641,2328,1673,1510,2020,2806,3549,3587,3781,3547,2866,3360,4060,3540,2608,2215,2168,2220,2268,2257,2113,2233,2393,2343,2696,2633,2568,2531,2522,2516,2351,2103,1977,2001,2034,1948,1974,1880,1615,2283,1927,1509,1650,1699,1679,1678,1682,1896,1924,1854,1876,1996,1911,2012,2010,2021,2006,1950,1877,1565,1419,1789,1866,1864,1926,2154,2127,1836,1706,2293,2313,1958,1666,1542,2227,2728,2059,1821,1677,2094,2515,2765,3748,3558,3318,3042,2856,2801,2170,1903,1889,1591,1696,2058,1823,1615,1503,1722,1937,1678,1658,1795,1807,1957,2037,2105,2966,4168,4152,3608,3090,2424,1780,1788,2229,2770,2712,2326,2055,2453,2464,2254,3230,2896,2713,2533,2149,1868,1937,2294,2579,2798,2508,2233,2169,2553,2459,2406,2326,2410,2565,2259,2247,2643,2861,3152,3017,2806,2146,1908,2084,2535,2128,2403,3064,3384,3385,3239,2965,2182,1797,2279,1903,1794,1869,2634,2964,2744,2431,2208,2127,2360,2779,2493,2698,2847,2467,2376,2136,2339,2362,1809,2129,2055,2629,3448,3213,2518,2517,2401,2288,2656,2475,2358,2422,2807,2759,2342,2334,2349,2430,2420,2362,2058,2265,2133,2319,2332,2232,2178,2459,2492,2314,2197,1984,2083,2511,2148,1881,1826,2349,2898,2508,1827,1094,773,1148,1585,1876,1545,1376,1636,1836,1746,1411,1288,1202,1238,1327,1416,1629,1547,1336,1494,1794,1719,1803,1592,1322,1709,1960,1892,1761,1633,1519,1845,1750,1503,2061,1966,2059,1893,1832,1638,1365,1301,1869,1939,1547,1419,1439,1324,1092,985,1002,1454,1588,1571,1773,2005,1992,1932,1574,1763,2152,1754,1604,1997,2212,2010,1691,1770,1910,1771,1743,1800,1685,1654,1728,1665,1448,1525,1808,1472,1470,1433,1324,1213,1590,1556,1465,1671,1649,1631,1806,1709,1383,1309,1342,1455,1831,1960,1946,1856,1952,2173,2068,2090,2461,2342,2100,2667,2444,2500,2575,2501,2286,2092,2067,2661,3054,2879,2993,3012,2727,2255,2266,2154,1636,1580,2398,2611,2347,2220,2084,2072,1964,1894,2299,2215,2874,2636,2017,2080,2965,3726,3592,3227,3539,3777,3891,4208,3769,2811,2854,3043,3671,4058,4063,3636,3051,2030,1392,1737,1581,2054,1785,1849,2029,2294,2082,1591,1479,1834,1857,1754,1693,1680,1793,2010,1833,1497,1426,1680,1878,1709,1557,1398,1376,1720,2120,2164,2081,2192,2191,2104,2065,2162,2050,1814,1896,1810,1590,1575,1759,2028,2054,1948,1941,1683,1541,1834,1660,1643,1996,1995,1648,1569,2376,3005,2683,2172,2731,3000,2725,2645,2035,1789,1823,1610,1517,1648,1762,1881,2129,2425,1858,1356,1816,1862,1946,2010,2176,1628,2056,2542,2435,2585,2619,2342,1857,1607,1525,1407,1473,1704,1552,1974,2662,2295,1343,1318,1528,1507,1548,1813,1806,1361,1359,2048,2931,2742,2640,2579,2633,3144,3061,2402,1919,1759,1403,1539,2442,1978,1675,1661,2161,2732,2123,1484,1664,1744,1794,1720,1494,1381,1193,1138,1469,1649,1504,1503,1809,2017,1558,1502,1774,1549,1499,1591,1557,1413,1389,1489,1673,1578,1877,2795,2865,2026,1933,1582,1298,1366,1376,1379,1554,1693,1773,1838,1779,1715,1666,1721,2034,2290,1855,1816,1664,1526,1520,1371,1418,1465,1414,1596,2090,1897,1867,1977,2012,2245,2149,2142,2026,2184,2360,2955,4180,4079,3576,3267,3220,3088,2561,1936,1761,1737,1693,1671,1645,1822,2191,2321,2513,2828,2767,2830,2636,2631,2156,1815,2530,3069,2658,2420,2045,2002,2128,2255,2325,2110,2501,2592,2491,2579,2800,2998,2855,2248,2131,2132,2171,2320,1802,2150,2588,2178,2185,2466,2774,2557,2185,2316,2091,1992,2614,2831,2124,2350,2692,2093,1548,2409,3263,3354,3305,2709,1740,2067,2226,2757,2456,2365,2203,2793,2553,2106,2117,2097,2481,2609,2408,2414,2467,2132,1960,1591,1533,1583,1671,2144,2315,1725,1470,1896,1887,2155,2684,2109,1663,1616,1445,1588,1668,1618,1628,1695,1522,1439,2014,2515,1992,1769,1976,2172,2093,2160,1834,1450,1379,1450,1710,1669,1764,1942,1651,1683,1651,1370,1844,2221,2811,2771,2224,2092,2142,2227,2160,1991,1431,965,1993,3146,3272,2068,1785,2153,1338,1089,1273,1559,1929,1896,2172,2692,2699,2427,2347,2124,2116,2432,2681,2188,2142,2729,2562,2036,1842,2052,1979,2355,2245,1754,1609,1855,1822,1573,1403,1498,1559,1595,1497,1561,1939,1774,1713,1830,1575,1525,1741,1531,1720,2085,1794,1837,2088,2219,2148,1798,1611,1424,1495,1473,1469,1414,1467,1565,1593,1533,1362,1492,1788,2120,1640,1539,1428,1571,2089,2299,1837,1654,1720,1620,1620,1654,1597,1736,1580,1729,1846,1968,2055,1810,1796,2047,2216,2083,1574,1646,1969,1492,1195,1413,1680,1789,1785,1712,1317,1287,1714,1907,1905,1619,1605,1566,2317,2258,2270,2820,3038,3196,3399,3344,3255,3418,3979,3831,3103,3040,3195,3166,3021,3066,3056,2984,3306,3508,2864,2733,2102,1888,2325,2226,1685,1416,1556,1522,1447,1538,1521,1371,1771,1681,1594,1494,1489,1270,1187,1433,1546,1377,1323,1605,1735,1710,1291,1500,2023,1703,1509,1513,1362,1843,2439,2376,1769,1440,1345,1394,1622,1843,1603,1615,1820,1984,1550,1525,1693,1694,1802,1854,1859,2315,2327,2243,2153,1915,2398,2740,2523,1977,1707,1927,2432,2312,1727,1654,1623,1939,1865,1810,1526,2098,2008,1874,1862,2130,2452,2468,2636,2498,1880,1847,1974,1642,1497,1753,1693,1720,1936,1825,1773,1967,1905,1852,1837,1818,1833,2462,2622,2054,1627,1642,2233,2380,2384,2027,1367,1725,2006,1973,1758,1602,2277,2079,2328,2299,2002,2264,2473,2395,2342,2801,2608,3005,2894,2588,2498,3100,2492,2482,3145,3348,3663,3286,3011,3792,2433,2292,2196,2440,3000,2976,2557,2958,2923,2688,3396,3395,2856,2869,2257,2115,2068,2412,2590,2425,2286,2226,2224,2411,2651,2700,2437,2570,2691,2494,2346,2145,2478,3006,2486,2395,2900,2938,2784,2860,2862,2952,2836,2275,2490,2530,2857,2808,2175,1671,2007,2312,1767,1846,1893,1717,1840,2467,2862,2470,1846,1617,1535,1755,2142,2245,2293,2310,2100,1793,2242,2080,1680,2152,3035,3333,2499,2001,2536,3075,2313,1803,1835,1742,2264,2409,1923,1843,2229,2230,1959,2118,2264,2004,1790,1692,1924,1821,1858,1865,1736,1605,2059,2206,1776,1484,1828,1794,1146,1435,1963,2731,3111,2979,2831,2851,3010,2307,1757,1660,1637,1745,1730,1550,1555,1480,1487,1767,2109,2322,2890,2308,1778,1729,1957,2131,2035,2040,2130,2077,1991,1645,1636,1871,1754,1948,2227,2598,2728,2493,2502,3022,2958,3151,3554,3629,3174,2172,2250,3021,3516,3630,3504,3484,3107,2711,2094,2018,2032,1842,2078,2116,2135,2124,2354,2282,2206,2097,2176,2116,1887,2060,1856,1613,1533,1652,1493,1552],[2896,2905,2851,2777,2239,1816,1938,2050,2064,2498,2906,2419,1921,2744,3320,3628,3480,3276,3197,2962,2802,2510,1925,1971,2254,2602,3216,3547,3862,3068,3441,3404,3075,3861,4008,3582,3472,3417,3420,3257,2990,2951,3112,3121,2968,2937,3278,3386,3206,2996,2928,2990,3130,3283,3255,2998,3127,3512,3298,2999,3029,2850,2289,2610,3174,2709,2386,3464,3714,3308,3149,3015,2820,3350,3253,3353,3672,3790,3776,3724,3826,3927,3905,3690,3648,3349,3362,3387,3604,2942,2182,2491,2547,2457,2524,2547,2166,2092,2710,3272,2984,2669,2973,3206,3050,2584,2709,2968,3348,3277,2900,3234,3216,2986,3162,3218,3439,3351,3137,3193,3073,2076,2149,2601,3133,3278,3256,3460,3710,3073,2665,2835,2689,2443,2802,3188,3021,2319,1291,1236,1475,1855,2404,2687,2730,2966,3093,3311,3242,3151,3241,3494,3642,3169,2652,3038,3730,3094,2908,2875,2978,3248,3211,3008,2415,1969,2234,2238,2507,2853,3015,2787,2380,2293,2160,1887,1953,1696,1650,2599,3687,3069,1776,1421,1479,1686,2005,2112,2098,1917,1798,1763,1642,1693,2512,3671,2844,2579,2589,2380,2265,2514,2712,2588,2678,2530,2532,2557,2294,1935,1676,1925,2187,2693,2723,2689,3028,2571,1764,2757,3579,3021,2278,2246,2451,2560,3053,3002,2562,2404,2262,2828,3205,2653,2376,2521,2280,1814,999,753,1266,1707,2590,2884,3190,3538,2850,2597,2744,2453,2367,2049,2718,3202,3174,3134,3132,3124,3159,3026,3195,3263,2874,2640,2788,3365,3663,3914,3810,3801,3836,3850,3985,3852,3418,2550,2206,2446,2002,1515,1458,1719,1572,1581,2298,2779,2125,1663,1821,1998,2266,2753,3471,3579,3620,3221,3022,3296,3566,3595,3870,3587,2955,3040,3620,3523,2910,2576,3596,4429,3384,2453,2596,2720,2077,1565,1814,1954,2032,1556,1776,1882,1910,1886,1940,2180,2768,2438,2540,2849,2983,3067,2429,2074,2314,2531,2199,2563,1833,1625,2139,2308,2742,3085,2605,2237,2009,2536,2717,2028,2076,2225,2551,2456,2404,2546,2359,2253,2337,1904,2383,2890,2176,1967,1968,1699,1665,1979,1912,1807,1817,2026,2195,2147,2494,2454,2642,2132,2476,2555,2282,2539,3087,3203,2565,2158,2140,1838,1977,2125,2259,2325,2801,3169,3065,2840,2829,2855,2254,1429,1642,2147,1784,1770,2741,3244,2634,2254,2284,1923,1906,1758,1688,1735,2172,2558,2188,2367,2280,3005,3869,3526,2258,2040,2164,2182,2211,1940,1636,1928,2165,1882,1813,2055,2507,2608,3181,2801,2388,2441,2385,2048,2315,2635,2234,1895,1794,1901,1846,2362,3362,3582,3150,2920,2576,2303,2281,2206,1922,2103,2431,2509,2728,2511,2097,2402,2369,2142,2160,1902,1561,1745,1821,1473,1954,2554,2563,2734,2602,2762,2910,2525,2526,2489,2510,2419,2504,2874,3326,3361,3410,2611,2824,3099,3366,3260,2965,3309,3016,2344,2100,1998,2000,1983,2153,2044,1824,1779,1970,2325,2449,2209,2282,2719,3119,2900,2600,2961,2463,1935,1730,2178,2072,2191,2323,2097,2149,2287,2403,2292,2540,3490,4081,4036,3300,2525,2646,3252,3116,2622,2436,2220,2256,2196,2390,2186,2346,2623,2567,2485,2486,2448,2339,2267,2317,2324,2092,1961,1938,2067,2133,2085,1554,1528,1715,1571,1566,1790,1630,1503,1732,1866,1942,1846,1568,1814,2137,2013,2139,1980,1682,1681,1910,1925,1682,1880,2176,2192,2087,2005,2321,2392,2070,2122,2310,2236,2173,1844,1769,2166,2414,1919,2025,1878,2248,2242,2248,3461,3928,3480,2635,2699,2603,1930,1721,1849,1614,1995,2233,1775,1627,1445,1707,2103,2234,1998,1842,2056,2178,2030,2207,3947,4780,4684,4460,3950,2677,2127,2548,2006,2178,2359,2426,2329,2181,1844,2200,2534,2636,2664,2393,2198,1970,2132,2444,3047,2946,2526,2003,2273,3009,3215,3118,2887,2539,2329,2602,2567,2524,2996,3248,2799,2658,2381,2080,1939,1742,1488,2481,3418,3380,3089,2884,2241,2198,2095,1826,1664,1698,2176,2804,3094,2990,2529,2548,2282,2096,2023,2013,2564,2333,2264,2298,2469,2553,2208,1821,1609,1806,3194,3569,3189,2486,2757,2647,2754,3144,2572,2280,2269,2167,2176,1969,2106,2208,2047,1839,1814,1585,1704,1810,2118,2212,2144,2523,2674,2199,1973,2062,1887,2043,2709,2008,1892,1869,2583,3273,2756,1913,1350,1191,1317,1420,1586,1281,1321,1446,1502,1554,1384,1198,1206,1428,1503,1516,1497,1401,1444,1694,1880,2122,1865,1817,2055,2019,1907,1669,1664,1715,1486,1578,1182,1814,2360,2202,1897,1852,1951,1832,1603,1854,2039,1641,1365,1419,1330,1360,1171,1084,1276,1538,1595,1644,1821,1892,1919,2002,1920,2006,1967,1545,1442,1889,1736,1560,1661,1738,1842,1862,1746,1753,1957,1980,1884,1696,1460,1454,1462,1382,1627,1722,1525,1562,1651,1440,1397,1677,1837,1853,2298,1814,1127,1051,1390,1926,1979,1984,2041,1970,2133,2316,2025,1974,2176,2125,2321,3474,3372,2687,2485,2498,2504,2249,2135,2567,2949,2750,2535,2789,3187,2448,1790,1490,969,851,1786,2472,2099,2027,2185,1644,1511,1797,1882,1874,2082,2000,2036,2546,2958,2919,2639,2808,3580,3639,3994,4172,3510,2691,2591,2408,3274,3990,4036,3628,2863,1911,1702,1902,1490,1720,1740,2171,2482,1986,1477,1365,1546,1656,1622,1743,1730,1639,1639,1721,1604,1599,1693,1833,1920,1870,1700,1594,1677,1870,1968,2063,2011,2209,2210,2145,2104,1946,2270,2853,2680,2092,1954,1750,1794,1814,1930,1941,2136,1681,1465,1632,1955,2106,2287,2154,1667,1630,2214,2626,2287,2020,2955,2920,2834,2697,1947,1604,1680,1610,1572,1810,1866,1986,2256,2415,1754,1545,1808,1908,1908,1870,2169,1989,1773,2438,2647,2546,2376,1946,1943,1790,1648,1410,1474,1638,1441,1682,2620,2913,1870,1666,1661,1380,1289,1738,1927,1572,1303,1625,2321,2697,2934,2832,2755,3154,3006,2598,1883,1641,1488,1487,1662,1483,1434,1616,1758,1717,1575,1757,1843,1690,1721,1757,1680,1474,1251,1444,1512,1231,1404,1488,1724,1937,1535,1494,1362,1324,1484,1528,1555,1506,1372,1370,1300,1307,1760,2112,2107,1600,1429,1267,1335,1416,1449,1637,1750,1835,2059,2187,2116,2042,1776,1793,1969,1890,1859,1671,1543,1736,1578,1682,1729,1643,1502,1230,1754,2128,2260,2477,2147,1870,1946,1968,2176,2128,1971,2460,3928,4239,3963,3382,2974,2454,2002,1654,1582,1758,1664,1854,2082,1954,2127,2370,2467,2406,2422,2438,2263,2416,2164,1831,2412,2799,2301,2412,2628,2540,2553,2250,2001,1763,1885,2337,2312,1784,1912,2345,2647,2325,2297,2218,1859,1775,2032,2922,3208,2935,2712,2775,2873,2580,2266,2320,1885,2227,2309,2541,1733,1431,2509,2386,1617,1980,2743,3329,3452,3226,2868,2880,2852,3329,3117,2374,2273,3163,2964,2118,1819,1919,2319,2577,2596,2120,1937,2275,1852,1539,1754,1626,1702,2116,2159,1534,1549,2024,1860,1992,1935,1514,1511,1499,1448,1432,1503,1815,1777,1601,1531,1917,2648,2731,1906,1910,1838,1964,1932,2210,2029,1875,1879,1898,1903,1631,1837,2213,1924,1795,1420,1240,1708,2040,1980,1844,1978,1991,1858,2048,2001,2018,1853,1347,2410,3283,3248,2576,2338,1992,1504,1527,1675,1875,1996,1686,1876,2284,1927,1622,2077,2033,1765,2019,2405,2363,2237,2391,2286,2068,1844,1933,1898,2181,1832,1723,1804,1957,1943,1472,1413,1504,1449,1582,1620,1760,1850,1635,1645,1783,1506,1564,1654,1559,1796,1928,1691,1608,1716,2154,1902,1664,1655,1698,1815,1554,1465,1468,1514,1661,1777,1610,1477,1375,1687,1908,1614,1549,1806,2031,2530,2953,2121,1730,1842,2017,1982,1884,1772,1594,1696,1981,2045,2018,1906,1821,1909,2123,2200,1868,1698,1807,1462,1328,1590,1728,1870,1968,1974,1931,1851,1811,1876,1936,1774,1535,1632,1788,2147,2114,2453,2855,3056,3306,3243,3060,2989,3210,3697,4212,3728,2801,2801,2801,3109,3539,3392,3205,2885,2822,2919,3275,2588,2818,3220,2925,2205,1818,1635,1597,1781,1649,1615,1569,1923,1632,1509,1442,1461,1518,1627,1527,1407,1391,1489,1691,1669,2157,1239,1750,1731,1825,2058,1746,1469,1556,1696,1677,1613,1472,1385,1362,1477,1731,1626,1493,1660,1841,1577,1896,2636,2524,2406,2504,2060,2148,2067,2055,2175,1975,2296,2652,2254,1655,1649,2072,2235,1977,1969,1959,2133,2069,1973,2271,2237,2169,2260,2142,2114,2479,2753,2146,2474,2600,2243,1912,1990,1647,1683,1770,2026,2531,2294,1924,2038,2260,2053,2034,1763,1827,2176,2504,2093,1865,1802,1981,2504,2644,2206,1516,946,1205,1452,1743,1704,1777,1581,1642,2342,2343,1878,1991,2126,2358,2366,3174,3884,4244,3948,3542,3594,3375,2859,2730,2923,3088,2966,2589,3031,2742,2190,2658,2294,2462,3032,2735,2350,2554,2441,2659,2834,3074,2962,2624,2509,2554,2437,2530,2380,2003,1745,1729,2034,2508,2817,2425,2242,2536,2542,2415,2255,2368,3304,3426,2802,3162,3265,2520,1493,1347,2197,3088,3082,2877,3045,3320,3086,2455,2055,2306,2356,2082,1729,1671,1816,1952,2362,2440,2380,2004,1803,1782,1642,1953,2131,1677,1603,1710,1593,1502,1717,1480,1376,1927,2524,2374,2074,1993,2295,2443,1662,1797,2078,1967,2354,2804,2312,2044,1867,1763,1942,2322,2656,2033,1708,1820,1968,1771,1992,1946,2051,1533,1691,2057,1681,1663,2559,2515,1748,1800,2229,3060,2830,2499,2721,3074,2333,1560,1709,1854,1721,1579,1600,1534,1583,1875,1852,2009,2030,2343,2636,2354,2022,1714,1764,1966,1937,1811,1925,2136,2173,1754,1718,1593,1469,1917,2510,2649,2492,2536,2657,3019,3298,3176,2986,3542,3038,2172,2459,2634,3166,3725,3814,3739,3318,3274,2481,2564,2357,1738,1807,2482,2755,2630,2721,2988,2837,2232,2073,2101,2056,2120,1749,1590,1534,1894,1733,1566],[2852,3045,3199,3218,2199,1649,1841,2334,2658,2810,2866,2820,3120,3604,3685,3552,3164,3089,3129,2712,2556,2300,1990,1760,1824,1944,2635,3286,3493,2886,3196,3511,2976,4007,3814,3280,3665,3664,3480,3391,3209,3055,3072,3176,3027,2966,3186,3342,3298,2988,3100,3100,3176,3084,3050,2997,3141,3362,3212,3083,3099,2854,2889,2935,3001,2768,2809,3306,3343,3074,3076,3042,3121,3373,3508,3654,3697,3654,3439,3693,3937,3907,3791,3670,3597,3496,3354,3294,3295,2579,2194,2481,2450,2490,2591,2491,1974,2097,3087,3759,3496,3250,3139,2968,2710,2677,2728,2562,3061,3087,2842,3087,2932,2380,1960,2311,2919,3128,3332,3486,3123,1856,1794,2509,3297,3447,3420,3754,3765,3238,2942,3011,3097,2681,2815,2780,2457,2093,1853,1853,1577,1912,2647,3105,3310,3251,3462,3855,3660,3349,3301,3363,3514,3190,2932,3584,3709,3248,3004,2294,2364,2733,3217,3276,2599,2330,2478,2546,2862,3189,3151,2778,2533,2416,2101,2154,2693,2585,2663,3252,3465,3366,2247,1587,1588,1698,2073,2556,2733,2276,1935,1768,1650,1571,2295,3367,2973,2697,2604,2236,1908,2495,3292,3078,3008,2818,2918,2679,2326,1837,1674,1583,1821,2226,2169,2320,2664,2351,1601,2661,3927,3179,1973,2147,2272,2275,2485,2273,2186,2432,3141,3875,4153,3527,2819,2556,2374,1546,1089,1736,2310,2163,2402,2524,2890,3595,3222,3271,3550,3227,1947,1393,2046,2785,2653,2331,2497,2925,3039,3055,3305,3434,3263,3248,3190,3366,3835,3806,3539,3784,3951,3818,3705,3580,3116,2359,2314,2646,2237,1786,1771,2011,2019,1851,2417,2887,2198,1695,2306,3026,3471,3164,3062,3666,3740,3488,2769,2840,3233,3378,3387,3149,3194,3768,4031,3875,3843,3647,4193,3539,2268,2256,2481,2124,1709,1460,1602,2026,2181,2187,2205,1866,1800,1636,1883,2347,2243,2223,2776,3121,2976,2521,2043,2107,2330,2799,2369,2042,1583,1969,2404,2290,2490,2370,2278,2276,2186,2431,2395,1946,2208,2465,2384,2509,2797,2864,2336,2165,2504,2677,2483,2160,1684,2161,2286,1885,1804,1788,1697,1815,1888,2170,2580,2208,2303,1941,2129,1996,2162,2805,3311,2944,2720,2836,2287,1857,2123,1869,1986,2424,2908,2897,3463,3742,3337,2987,2964,2642,1786,1308,2094,2041,1832,1759,2062,3017,2607,2066,1846,1781,1918,1920,1822,2063,2285,2243,1901,1928,2362,3573,4036,3041,2259,2498,2755,2622,2018,1923,2251,2267,1920,1679,1762,1780,2418,2598,2572,3085,3460,3032,2499,2408,2631,2771,2466,2012,1773,1756,1689,2099,3186,3483,3411,3334,2811,2546,2486,2334,2036,2605,2713,2547,2586,2631,2381,2330,2410,2099,2083,1863,1829,1984,1622,1440,2219,2529,2839,3089,2277,1959,2408,2873,2714,2382,2530,2177,2912,3216,3043,2691,2927,2697,2602,3131,3377,2658,2687,3366,2884,2350,2067,1832,1970,2270,2579,2405,2031,2137,2430,2451,2408,2520,2592,2633,2890,2934,2874,3108,2800,2471,2186,2190,2095,1982,2217,2633,3599,3344,2692,2787,3003,3607,4025,3841,3115,2523,2379,2435,2223,2420,2590,2246,2334,2190,2454,2345,2426,2521,2463,2344,2270,2237,2108,2051,2126,2323,2239,2126,2101,2161,2181,1850,1580,1708,1643,1494,1691,1745,1770,1700,1667,1673,2014,1787,1575,1904,2099,2166,2185,1860,1659,1900,2200,2447,2030,2403,2428,1920,2003,2248,2139,2334,2127,1883,2176,2258,1960,1877,1899,1815,1835,1764,1810,1775,2360,2048,1653,2121,3232,3461,2702,2647,2723,1868,1731,1858,1546,1775,1879,1823,1724,1527,1444,1511,2102,2656,2435,2353,2171,2163,2698,4365,4585,3665,3550,3604,2842,2632,3818,2441,1824,2103,2134,1831,2093,2191,2326,2583,2629,2280,2286,2194,1608,2045,2500,2669,2569,1986,1565,2297,3212,3263,2652,2334,2344,2456,2680,2799,2509,2897,3183,3018,2768,2469,2372,2181,1755,2074,2764,2602,2717,2573,2498,2222,2178,1754,1441,1183,1493,2463,2917,3064,2999,2776,2456,1958,1784,2243,2679,2690,2330,2162,2271,2651,2385,2170,2647,2603,1981,2785,2980,2612,2220,2597,2731,2662,2451,1961,1842,2295,2323,2187,2015,2306,2806,2533,2116,1909,1506,1296,1530,1995,2112,2127,2414,2714,2361,2283,2046,1670,1861,2438,2214,2064,2127,2501,3001,2802,2139,1765,1651,1739,1981,1723,1396,1298,1290,1400,1553,1537,1445,1425,1596,1446,1557,1529,1550,1814,1955,1763,2107,1848,1810,1986,2298,2674,2297,1939,1705,1720,1293,1431,2268,2020,1912,1808,1844,2058,2068,2028,1982,1862,1795,1710,1595,1809,1541,1242,1338,1561,1457,1673,2118,1907,1898,2222,1982,1927,2015,1620,1341,1390,1785,1780,1607,1606,1731,1913,1937,1799,1909,2145,2156,1929,1653,1445,1439,1261,1281,1564,1619,1403,1382,1396,1356,1251,1370,1870,1821,1969,1549,1262,1543,2032,2105,1769,1960,2065,2436,2652,2559,2155,2234,2397,2419,3230,3975,3435,3032,3142,2553,2257,2097,2113,2220,2674,2895,2745,2842,3310,2601,1700,1471,1159,714,897,1380,1415,1563,1830,1792,1851,2019,1781,1777,1830,1874,2132,2294,2395,2305,2239,2426,3087,3421,3897,4217,4064,3816,3714,3686,3854,3871,3826,3472,2697,1814,2004,1654,1441,1747,1936,2497,3144,2350,1242,1219,1377,1603,1615,1709,1584,1613,1628,1649,1512,1669,1800,1839,1903,1898,1805,1693,1803,2100,2045,1804,1885,2048,2141,2284,2115,2148,2939,3151,2638,2122,2110,1882,1729,1686,1746,1897,2014,1814,1964,2514,2684,2433,2317,2029,1693,1510,1951,2233,1962,2492,2942,2841,2622,2041,1499,1417,1615,1935,1677,1817,1964,2131,2358,1946,1636,1543,1724,1885,1885,1853,2082,2178,1959,2128,2778,2575,2535,2493,2448,1994,1669,1423,1217,1246,1510,1695,2117,2985,2756,1725,1237,1139,1435,1698,1864,1751,1402,1245,1462,2167,3000,2673,2580,2996,2640,2614,2092,1858,1877,1540,1391,1353,1364,1530,1753,1919,1811,1807,1585,1395,1430,1735,1831,1389,1233,1744,1666,1097,1583,1570,1534,1597,1492,1380,1343,1439,1575,1544,1577,1488,1371,1298,1298,1364,1591,1656,1597,1415,1486,1534,1487,1340,1435,1692,1670,1867,1744,1921,2079,1839,1673,1737,1814,1784,1707,1618,2067,1961,1621,1721,1806,2370,2360,2055,2347,2642,2502,2304,1886,1702,1685,1914,2231,1773,2055,2121,2452,2786,2805,2695,2620,2155,1956,1902,1892,2193,2054,2430,2330,2182,2138,2294,1886,1620,1703,1821,1896,2036,2025,2097,2522,2741,2551,2552,2753,2380,2275,2112,1814,1709,1693,1988,2212,1879,2370,2254,2159,2409,2329,2250,2424,2322,2754,3301,3251,3186,3072,2985,2864,2730,2386,2286,2355,2567,2081,2087,1553,1424,2348,2552,2385,2483,2496,3160,2832,2768,2746,2110,2113,2178,2592,2819,2307,2475,2526,1675,1505,1506,2007,2737,2930,2320,1973,2180,1631,1666,2034,1929,1898,1644,1513,1242,1689,2552,2295,2327,1982,1583,1589,1606,1635,1598,1657,1690,1560,1543,1786,2256,2096,1979,1886,2155,2130,1743,1728,1951,1979,2196,2101,1917,1738,1662,1942,2315,2051,1877,1710,1782,2084,2007,1671,1653,1757,1854,1935,1981,1881,2073,1960,1730,2775,3083,2286,2046,1878,1578,1661,1574,1436,1657,1950,1507,1540,1831,1714,1630,1830,1730,1925,2007,2081,2213,2222,2324,1856,1665,1904,1739,1869,2035,1729,1854,1767,1968,2055,1700,1536,1515,1764,1803,1936,1971,1746,1476,1535,1618,1644,1653,1504,1576,1704,1643,1483,1450,1613,1927,1571,1445,1489,1695,1733,1472,1425,1469,1461,1593,1926,1930,1657,1481,1623,1632,1550,1532,1714,1815,2354,2806,1982,1914,1694,2168,2219,2304,2059,1626,1974,2270,2081,1901,1715,1832,2072,1849,1877,1844,1847,2004,1992,1892,1716,1762,2073,2477,2337,2187,2156,2012,1794,1992,1930,1673,1671,1928,1991,2346,2806,3028,3155,3090,2850,2625,3087,3492,3770,4083,4176,3384,2720,2973,3375,3241,2864,2761,2381,2255,2600,2977,2800,2806,2954,3130,3069,2769,2259,2001,2398,1670,1596,1597,1719,1492,1489,1471,1410,1570,1485,1243,1341,1612,2136,2067,1641,1769,1380,1746,1587,1723,1820,1534,1533,1530,1402,1528,1573,1500,1262,936,1009,1442,1765,1603,1570,1443,1505,1917,2280,2137,2933,2845,2150,2097,2056,1945,1781,1714,1713,1755,1990,1690,1438,1784,2109,1959,2221,2056,2164,1987,2132,2536,2533,2458,2469,2220,2459,2885,2782,1986,2678,2980,2696,2266,2332,2225,1687,1625,2418,2834,2498,2202,2054,2084,2180,2130,2117,2200,2102,2100,2196,2276,1826,1830,2409,2258,1708,1701,1409,1146,1600,1399,1482,2278,2082,1833,2057,2379,2440,2254,2293,2519,2431,3090,4276,4736,3761,3442,3650,2931,3293,3841,3385,3334,3362,2540,2495,2315,2446,2598,2388,2510,2809,2526,2040,2110,2458,3022,2829,3033,3381,2861,2540,2806,2963,2552,2520,2549,1886,1606,1806,1839,2591,2656,2800,2935,3072,3032,2611,2665,3160,2834,3162,3467,2732,1342,1105,1425,2027,2770,3363,2898,2550,2695,2276,2249,2215,2689,2115,1696,1888,1947,2026,2140,2308,2202,2023,1637,1692,1709,1835,2025,1874,1678,1659,1534,1641,1767,1528,1567,1766,1961,2231,1837,1902,2218,2142,1777,1608,1938,2530,2501,2197,2242,1936,1956,2278,2049,2002,2558,2843,2315,2186,2273,2052,2033,2120,2181,2358,2022,2031,2230,2256,2380,2901,2406,1936,2009,2640,2791,2246,2394,3104,2863,1740,1542,1748,2007,1865,1623,1624,1526,2048,2561,2106,1849,1959,2215,2425,2633,2476,1669,1618,1772,1652,1906,1966,1966,2061,2079,1929,1562,1911,2464,2073,2129,2261,2505,2631,3007,3109,2610,2274,3108,3077,2427,2415,2464,2689,3129,3653,3486,2928,2995,2768,3333,2877,1808,1747,2534,3165,3117,2929,3108,2602,2094,2114,1976,1807,1776,1612,1497,1634,1866,1676,1803],[2819,3218,3371,3174,2250,1614,1745,2554,2827,2825,2803,2923,2952,2985,3437,3462,2996,3142,3162,2599,2607,2534,2172,1706,1709,2022,2619,2932,3248,3286,3088,3250,2670,3871,3645,3415,3717,3754,3554,3586,3338,3142,3274,3278,3220,3123,3082,3137,3269,3307,3226,3266,3209,3064,3045,2984,2997,3012,3095,3161,3149,2842,2930,2735,2910,2819,3274,3256,2844,2812,3006,3151,3400,3462,3392,3520,3664,3530,3429,3775,3928,3650,3382,3462,3750,3576,3090,2824,3112,2125,2010,2303,2305,2520,2534,2294,1992,2242,2968,3436,3783,3688,3350,3232,3372,3062,2788,2599,2695,2743,2636,2888,2646,2002,1627,1625,2150,2828,3288,3588,2998,2047,2294,3018,3296,3512,3705,3646,3488,3278,2974,3060,2780,1973,2132,2079,2157,2292,2433,2447,2374,2421,2564,2889,3129,3109,3377,3448,3373,3668,4140,3781,3310,3028,2659,2678,2879,3275,3022,2260,2354,2630,2840,3008,2934,3089,3039,2757,2569,2901,2708,2521,2264,1997,1789,2104,2789,2469,2397,2636,2586,2600,2155,1651,1678,2114,2780,3132,3033,2624,2234,1798,1681,1573,2134,2988,3111,3053,2692,1975,1604,2265,3055,3177,3173,3033,2850,2397,2156,1917,1404,1094,1725,2714,2736,2744,2692,3032,2613,3073,4060,3538,2934,2665,2325,2388,2325,1949,1642,2455,4024,4396,3828,2978,2336,2321,2395,2209,2287,3141,3608,3162,3071,3219,2666,3051,3122,3352,3394,3232,2157,1553,2061,2691,2449,1980,2393,3066,2662,2936,3275,3207,3146,3376,3532,3399,3421,3676,3790,3827,3925,3768,3670,3489,2492,1918,2503,2641,2093,1849,2059,2059,2022,2313,2919,2640,2277,1907,2707,3350,3586,2899,2737,3106,3333,3096,2496,2513,2878,3146,3156,3265,3620,3867,4025,4039,3764,3657,3875,3093,2419,2496,2126,2042,1831,1691,1541,1881,2099,2363,2109,2108,1932,1785,2214,2323,2625,2611,2343,2389,2314,2247,2392,2260,1870,1933,1948,1715,1812,2281,1992,2207,2415,1850,2338,2271,2170,2048,1984,1941,2082,2096,1943,1939,2621,3021,2577,2468,2743,2856,2742,2285,2106,2281,2251,1875,1526,1327,1483,1738,1463,1547,2139,1905,1739,1879,2854,2487,1778,3022,3563,2567,2314,2184,1568,1495,1924,2107,2934,3672,3660,3120,3043,3391,3665,3453,3063,2449,2154,2292,2822,2359,2154,1886,1779,2174,2159,1823,1852,2065,1896,1801,1996,2224,2399,1896,1780,1907,2496,3544,3652,2996,2736,2953,2902,2533,1952,2236,2446,2341,1891,1967,1939,2073,2636,2518,2580,3199,3134,2588,2332,2500,2459,2590,2255,1807,1780,1896,1986,2484,2755,2509,2645,2844,2944,3001,2854,2461,2218,2499,2644,2712,2654,2791,2749,2158,2445,2093,1931,1685,1936,1945,1688,2087,2513,2776,3221,2808,2232,2469,2801,2854,2192,2303,2844,2584,2971,3030,3051,3373,3138,2716,2884,3770,3992,3167,3061,3143,2556,2279,2002,1921,2025,1907,2156,2122,1873,1991,2245,2197,2358,2591,2646,2729,2890,2986,2856,2893,3100,2865,2486,2152,1935,1968,2023,2191,3465,3199,2658,3065,3284,3205,3566,3907,3275,2418,2294,2298,2343,2802,2540,2214,2281,2152,2387,2410,2358,2265,2235,2291,2236,2120,2032,2004,2026,2272,2284,2055,2097,2270,2157,2391,2768,2092,1749,1998,2019,1596,1797,1608,1484,1449,1718,1730,1547,1804,2232,2150,1813,1545,1686,2375,2288,2194,1907,2979,2678,1850,1711,1640,1850,2076,2096,2121,2324,2089,1702,1644,1816,1855,1686,1738,1666,1785,2049,1905,1770,1781,2563,2686,2243,2078,1865,1613,1903,1936,1698,1494,1648,1816,1804,1607,1557,1945,2242,2185,2059,2349,2157,2140,2990,4164,4001,2576,2363,2766,2696,2465,3794,3149,1931,1770,1962,2050,2494,2666,2482,2790,2416,1971,2365,2010,1509,2299,2454,2225,2311,1905,1647,2369,3187,3072,2360,2114,2731,2577,2237,2396,2328,2465,2257,2356,2685,2718,2756,2564,2364,2546,2503,2232,2360,2486,2476,2338,2183,1885,1534,1547,2013,2352,2654,2784,2523,2009,1817,1445,1583,2632,2988,2598,2574,2294,2168,2398,1992,2470,2764,2220,2137,2136,2577,2366,2392,2607,2997,3102,2361,1900,1886,2415,2321,2293,2624,2593,2478,2207,2072,1676,1261,1700,2074,1862,1863,1792,1794,2189,2725,2520,1879,1749,2030,2334,2249,2317,2086,2176,2452,2436,2177,1883,1826,1644,2330,2041,1387,1230,1239,1291,1376,1415,1487,1488,1583,1505,1505,1502,1506,1835,1876,1554,1825,1860,1409,1701,2119,2231,2790,2117,1327,1346,1147,1945,2202,2033,2114,1968,2014,2252,2830,2402,2076,1952,1920,2186,1938,2199,1981,1521,1630,1613,1395,1769,2395,2105,2186,2534,1838,1403,1686,1684,1532,1720,1868,1825,1810,1746,1827,1990,1780,1686,1731,1804,2001,1972,1746,1682,1556,1467,1434,1409,1403,1375,1482,1548,1440,1403,1616,1672,1656,1651,1708,2322,2376,1937,1802,1899,1986,1996,2332,2483,2540,2385,2535,2622,2444,2887,3567,2989,2432,2521,2600,2265,2106,2169,1982,1940,2310,2737,3000,2881,2292,1591,1009,914,713,689,774,1118,1228,1427,1926,2066,1886,1685,1648,1737,1930,1907,1991,2237,2091,1989,2058,2383,2824,3520,3981,3871,3923,4050,3942,3890,3729,3695,3082,2390,1763,1835,1648,1600,1607,1612,2017,2374,1865,1018,929,994,1400,1346,1336,1426,1688,1607,1597,1704,1676,1747,1864,1928,1922,1765,1618,1678,2210,1992,1434,1461,1709,1860,1949,2150,2902,3043,2392,2137,2252,1905,1901,2075,1849,1705,1848,1783,1678,1758,1836,1688,1647,1568,1717,1768,1613,1917,1910,1975,2524,2508,2298,2138,1870,1620,1848,2290,2900,2259,1903,2006,2266,2245,1698,1577,1584,1576,1800,1879,1840,1954,2068,2482,1821,2755,2800,2348,2074,1953,1837,1754,1568,1305,1501,2110,2324,2392,2921,3399,2398,1322,1329,1503,1481,1710,1750,1578,1419,1433,1914,2355,1924,2060,2388,2396,2624,2342,1870,1556,1462,1443,1478,1687,1548,1654,1852,1673,1498,1512,1452,1293,1391,1581,1359,1176,1726,1839,1822,2494,1881,1535,1481,1372,1373,1395,1483,1502,1645,1742,1358,1311,1355,1472,1604,1616,1604,1566,1500,1490,1412,1382,1404,1638,1635,1305,1438,1759,1839,2071,2016,1890,1900,1874,1958,2007,2164,2250,2158,2083,2363,2498,2978,2735,2135,2346,2608,2294,1835,1566,1543,1587,1720,1774,1997,2186,1912,1738,2206,2447,2500,2496,2295,2488,2520,2604,2444,2155,2185,1918,2589,2512,1781,1570,1553,1619,1824,2128,2242,2056,2061,2308,2680,2625,2588,2485,2331,2155,1914,1980,2157,1873,1918,2504,2710,2862,2652,2602,2209,2598,2664,2177,2343,2874,3377,2900,2940,3002,2997,2814,2824,2488,2141,2620,2987,2518,2006,1554,1912,2482,2626,2917,2391,2866,3061,2563,2942,2781,2224,1856,1326,2071,2792,2129,2086,2129,2276,2496,1556,1750,1896,2357,2911,2824,2225,1556,1740,2071,2081,2025,2395,2045,1565,1812,2409,2295,2375,2322,1863,1508,1532,1496,1553,1614,1553,1460,1541,1984,2018,2115,2252,2097,2099,1963,1779,1728,2101,2132,1854,1951,1928,1708,1870,2092,2164,2165,2142,2119,2398,2585,2192,1812,1644,1591,1601,1833,2034,2022,1934,1949,1896,2355,2258,1393,1433,1234,1321,1344,1441,1589,1779,1965,1722,1614,1608,1530,1620,1775,2171,2978,2255,2107,2502,2078,1922,1610,1902,2386,2104,2107,2253,2163,1954,1343,1648,1808,1786,1729,1587,1726,1532,1515,1538,1480,1502,1497,1599,1740,1588,1727,1607,1579,1536,1471,1469,1682,1854,1612,1556,1480,1576,1557,1462,1370,1426,1524,1399,1705,2093,1841,1787,1710,1598,1543,1536,1509,1616,2136,2198,1734,1488,1484,1738,2096,2700,2374,1796,2019,2217,2019,1860,2015,2168,2438,2288,2031,2061,2336,2500,2442,2176,1656,1770,2648,2941,2382,2023,2030,2332,2010,1872,1585,1579,1846,1935,2168,2709,3049,3150,3247,2691,2213,2670,3566,3752,3573,3791,4220,3740,2633,2746,2697,2554,2539,2532,2432,2204,2691,2994,2885,2899,2807,3041,3392,3262,3288,2596,2442,1643,1427,1528,1636,1428,1440,1416,1384,1582,1542,1527,1537,1765,1537,1452,1444,1261,1503,1676,1517,1455,1413,1394,1668,1538,1300,1566,1695,1454,1203,1082,1160,1720,1831,1552,1583,1473,1585,1716,2142,1981,2320,2453,2284,2255,1805,1445,1313,977,1171,1921,2178,1826,1783,2047,2092,2108,2225,1890,1787,2026,2050,2598,3030,2677,2249,2146,2357,2128,1893,1772,2402,2592,2422,2520,2702,2491,1925,2082,2588,2645,2259,1865,1869,2363,2886,2731,2613,2390,2106,2303,2497,2698,2380,1909,1689,1654,1427,1690,1808,1685,1786,1655,1619,2179,2165,1776,1892,2707,3188,2574,2435,2873,2641,2721,3776,4524,3897,3943,3133,2511,3683,3598,2861,2636,2711,2666,2889,3287,3393,3219,3122,2770,2918,2788,2728,2634,3253,3442,3127,3352,3794,3281,2191,2430,3064,2652,2865,3012,2285,2291,1743,1550,2144,2283,2464,2874,2920,2730,2624,2396,2400,2587,3362,3750,3229,1849,1711,2120,2084,2125,2409,2083,1777,1976,1779,2008,2070,2183,1756,1893,2025,2175,2325,2372,2104,2040,2175,1678,1547,1836,2049,2231,2222,1748,1587,2156,2110,2072,2338,2216,1951,1898,1847,1941,2229,2659,2255,2030,1915,1930,2441,2665,2316,1845,1754,1904,2354,2030,1817,2469,3432,2911,2385,2444,1973,1598,1652,2229,2526,2456,2496,2176,2558,2173,2023,1968,2270,2304,2446,2142,2136,2868,3124,2294,1894,1745,2016,2031,1602,1675,1757,1843,2764,3356,2811,1948,1815,2030,2017,2268,2186,1832,1914,1854,1790,1798,1826,1914,2011,2101,1940,1600,2388,2464,1602,1633,1439,2001,2730,3057,2469,1899,1757,2228,2627,2590,2301,2481,2283,2578,3448,3182,2736,2492,2796,3284,2635,1879,1880,1904,2256,2779,2745,2853,2522,2270,2272,2056,1905,1942,1869,1786,1883,1868,1763,2149],[2744,3029,3001,2879,2226,1686,1792,2446,2513,2440,2548,2763,2845,3210,3517,3641,3242,3286,3198,2705,2719,2676,2198,2181,2624,2880,3055,3034,3271,3571,3394,3681,2499,3193,3652,3463,3472,3597,3440,3341,3310,3352,3432,3447,3294,3370,3258,3167,3183,3233,3120,3181,3083,2965,3016,3009,3011,3096,3483,3391,3234,3012,3360,2997,2546,2434,2768,2930,2935,3182,3329,3349,3388,3410,3401,3676,3757,3379,3422,3784,3651,3324,3209,3580,3768,3406,3272,3195,3179,2009,1820,2036,2150,2178,2312,2250,1917,2242,2871,3369,4086,3773,3233,3343,3395,3106,3153,3150,3039,2754,2765,3035,2763,1955,1693,1680,2424,3085,3275,3127,2387,1950,2174,2740,3372,3532,3758,3627,4185,3846,3186,2975,2592,2003,1616,1917,2285,2309,2533,2635,2753,2630,2577,2547,2948,3178,3211,3298,3082,3328,3984,3809,3295,3080,2586,2466,3011,3134,2722,2212,2437,2550,2732,2722,2625,2866,3232,2986,2642,2511,2229,2321,2031,1941,1710,1864,2260,1902,1687,1849,1895,1875,1946,1626,1779,2404,3226,3186,2989,2711,2212,1814,1715,1631,2058,2824,3039,3094,2789,2069,2072,2505,3046,3311,3172,2414,1847,1781,2061,2025,1654,1480,1836,2706,2382,2147,2315,3285,3585,3666,3858,3920,3852,3024,1926,2140,2249,1746,1675,2196,3417,3896,2777,1737,1683,2195,2679,3159,3526,3528,3980,4163,3418,2418,2531,2698,2917,3189,3299,3157,2626,2320,2546,2980,2808,2103,2201,2454,2295,2827,3262,3171,2910,3006,3492,3444,3224,3506,3853,3918,4141,3753,3639,3252,2149,1926,2085,2036,1775,1826,1885,1721,1725,1973,2108,1879,2284,2712,3040,2962,3063,2676,2773,3263,2894,2508,2509,2659,3108,2976,2951,3587,3830,3957,4061,4070,3348,3086,3881,3640,3020,2518,2286,2129,2043,2311,2238,2417,3000,2828,2312,2532,2420,2172,2326,2849,3687,3176,2688,2551,2295,2179,2187,1843,1925,2391,2078,1899,2376,2737,2200,1861,1920,2129,2904,2497,1963,1930,1703,1583,1614,2054,2021,1808,2429,3049,3037,2990,2844,2950,3213,3101,2691,2385,2509,2017,1760,1863,1978,2553,2032,1470,1654,1842,1948,2551,3790,3594,2239,2232,2098,2077,2383,2127,1815,1735,1714,2040,2675,2642,2097,2044,2232,2910,3362,2994,2406,2081,2333,2385,2784,2758,2237,2190,2116,1659,1719,1779,1714,2200,2063,1787,2685,3030,2244,1863,2244,2249,2776,3483,3250,2856,3321,3130,2446,1830,1596,1901,2179,2054,1929,2398,2508,2474,2282,2278,2343,2388,2096,1980,2017,2149,2119,2149,2149,2112,2174,2239,2122,2165,2070,1990,2016,2303,2714,2847,2785,2357,2246,2482,2586,2555,2487,2833,2829,1975,2398,2320,1959,1706,1766,1801,2043,2243,2412,2364,1916,1942,2535,2930,3459,3365,2612,2592,2711,2199,2371,2757,3022,3011,2624,3015,3544,4016,3682,2858,2995,2795,2389,2166,1906,2190,2240,1980,1892,1678,1882,1838,1824,1835,2432,2710,2854,2901,2874,2833,2247,2071,2494,2401,1947,2603,2149,2031,2040,2199,2844,3003,2894,2500,2526,2853,3100,3670,3676,2699,2240,2330,2468,2932,2543,2106,2121,2435,2602,2470,2468,2256,2178,2370,2327,2183,2150,2175,2088,2219,2217,2072,2156,2271,2049,2495,3186,2220,1910,2210,1953,1621,1558,1588,1485,1509,1593,1551,1553,1770,1920,1740,1649,1470,1814,2654,2557,2069,2412,2918,2292,1872,1637,1594,1590,1565,1601,1942,2280,1936,1594,1390,1756,2130,2104,1998,1918,1746,1713,1692,1805,1521,1770,1928,1953,2042,1625,1808,1963,1793,2001,1740,1921,1527,1526,1583,1787,2073,2260,1939,1844,2136,2173,2469,2978,3670,3516,2325,2543,3060,2442,2180,3294,3109,1809,1385,1709,1989,2438,2658,1963,2115,1724,1563,2361,1953,1700,2414,2530,2133,1895,1712,1855,2686,3229,3192,3042,3020,3321,2862,2419,2209,2069,2304,2271,2327,2581,2714,2570,2618,2318,2351,2453,2335,2371,2679,2798,2757,2666,2360,1993,2162,2449,1951,1641,1787,1828,2438,2537,1644,1621,2777,3132,2523,2580,2450,2327,2665,2647,2888,2991,2056,2034,2258,2333,2532,2718,2613,2802,2898,2340,2281,2344,2354,2220,2397,2724,2584,2253,1948,1616,1499,1881,2106,1672,1648,1727,1586,1799,1943,2587,2076,1978,2331,2288,2730,2777,2307,1991,2452,2751,3090,2567,2079,1871,1918,2508,2211,1507,1600,1804,1369,1412,1365,1362,1537,1743,1615,1539,1520,1542,1873,1932,1764,2157,2491,2129,2154,2314,2612,2586,2315,1763,1655,2054,2361,2523,2662,2061,1672,1611,2060,2786,2752,2810,2595,2271,2120,2079,2403,2254,1841,1721,1707,1692,1825,2093,2074,2267,2254,1942,1726,1755,1755,1882,2039,1844,1715,1686,1640,1644,1639,1713,1754,1731,1681,1723,1863,1941,1805,1630,1601,1505,1505,1478,1444,1493,1750,1701,1704,1644,1441,1700,1957,2009,2173,1991,1596,1651,2152,1913,1909,2101,2459,2481,2187,2040,2100,2376,2579,2918,2632,2304,1687,2072,2604,2552,2257,2042,1735,1654,2006,2271,2218,1957,1771,1246,1042,904,791,710,860,1079,1315,1505,1525,1553,1715,1614,1598,1960,1969,2157,2382,2589,2352,2185,2260,2203,2623,3277,3661,3632,3661,3592,3626,3715,3619,3167,2168,1835,1777,1612,1769,1747,1645,1658,1600,1225,818,764,1039,1218,1323,1267,1648,1996,1815,1825,1865,1633,1572,1729,1903,1942,1679,1433,1376,1679,1495,1487,1488,1443,1713,2024,2735,2702,2709,2535,2102,2009,1941,1871,1990,2109,2071,1752,1530,1657,1471,1447,1481,1465,1740,2194,1915,1629,1772,1835,2295,2469,1991,2135,2395,2260,2166,2592,3134,3254,2423,2009,2207,2388,2187,2102,1879,1665,1525,1513,1875,2014,1982,1829,2626,1989,2344,2986,2441,1802,1872,1936,1976,1887,1712,1579,2158,2503,2474,2718,3653,3333,1948,1606,1467,1418,1669,1749,1777,1863,1494,1434,1429,1422,1723,2001,2405,2653,2653,2015,1190,1347,1565,1699,1772,1732,1732,1805,1708,1633,1620,1372,1224,1264,1513,1366,1442,1829,1834,1780,2097,1897,1664,1523,1338,1337,1372,1490,1512,1557,1716,1273,1129,1257,1339,1605,1657,1534,1548,1651,1475,1354,1388,1503,1521,1463,1311,1626,2273,2086,1953,2094,1846,1833,2206,2114,1935,2016,1891,2674,2836,2450,1827,2463,2453,1685,2117,2615,2053,1781,1540,1558,1796,1563,1573,1909,1903,1923,2035,2388,2756,2834,2329,2615,2522,2336,2388,2188,2344,2447,2201,2565,2309,1858,1843,1498,1772,2050,2255,2141,1800,1862,2092,2170,2432,2939,2822,2465,2410,2308,2365,2209,2117,2111,2395,3134,3168,2809,2590,2129,2545,2392,1956,2370,2470,2614,2620,2672,2873,2857,2821,2876,2538,2134,2367,2475,1968,1815,2156,2724,2952,2409,2386,1764,2542,2802,2984,3143,2258,2019,2374,1806,2153,2361,2369,2409,2249,2250,2687,2038,1521,1498,1843,2453,2778,1942,1546,1776,1993,2002,1935,2656,2261,1518,1789,2362,2249,2148,2448,2126,1562,1694,2167,1623,1426,1628,1375,1584,2056,2015,2179,2352,2489,2335,2118,1948,2321,2264,1764,1692,2005,1854,1592,1611,1694,1900,2056,1999,2062,2271,2311,2308,2100,1790,1733,1704,1917,2161,2061,1953,2019,1946,2055,1823,1397,1567,1407,1826,1425,1411,1310,1641,2029,1761,1567,1810,1717,1537,1671,2056,2875,2164,2008,2163,1785,1799,1744,1661,1939,1787,1841,2326,2479,2177,1597,1561,1608,1754,1657,1606,1659,1791,1766,1453,1405,1476,1388,1519,1576,1447,1615,1634,1666,1560,1532,1564,1882,1937,1520,1405,1634,1620,1507,1418,1342,1651,1683,1513,1951,1893,1658,1830,1716,1576,1436,1511,1436,1462,1641,1519,1673,1678,1853,1843,1973,2338,2043,1672,1949,2057,1846,1964,2468,2519,2451,2498,2296,2004,2006,1991,1745,1851,1617,1772,2451,2469,2252,1986,1707,2103,2474,1879,1396,1854,1925,2023,2346,2544,2689,2812,2996,2422,2008,2999,3802,3553,3413,3641,3918,4008,3421,2680,2172,2087,2059,2175,2438,2513,3301,3565,3431,2862,2870,3015,3748,3930,3399,2269,1717,1544,1485,1628,1702,1509,1428,1262,1332,1609,1546,1654,1631,1666,1213,1292,1534,1619,1589,1577,1538,1372,1375,1318,1617,1490,1282,1403,1552,1498,1377,1338,1470,1921,1953,1628,1539,1473,1420,1674,1875,1959,2097,2402,2472,2175,1568,1689,1786,1236,1555,2354,1949,1753,1885,1676,1910,2184,2081,1903,1997,2198,2348,3307,3560,3119,2446,2398,2156,1699,1671,1644,1852,2048,2229,2552,2758,2504,2125,1988,2035,2002,1825,1809,1776,1993,2540,2821,2489,2076,2094,2310,2370,2302,2579,2664,2196,2180,2155,2004,2236,2002,1515,2050,2127,2151,2352,1879,2090,2856,2819,2224,2507,2673,2329,2552,2931,3892,3797,3547,2755,2900,3980,3864,3110,2609,2750,2727,3027,3297,3409,3482,3134,2801,2932,2836,2574,2527,3271,2943,2778,3396,3483,3044,1615,1862,3130,2975,2711,2369,2823,2866,1994,2273,2585,2169,2367,2906,2860,2861,2474,1886,1872,2059,2634,3410,3428,2786,2496,2262,2077,2067,2148,2009,2061,2094,1825,1875,1741,1952,2051,2104,2128,2267,2269,2139,2010,1815,1708,1733,1691,1545,1646,2392,2356,1747,2415,3361,3018,2110,2270,2604,1670,1788,2094,1957,2143,2614,2628,2692,2161,1745,2019,2038,1491,1504,1906,1842,1819,1737,1554,2198,2932,2266,2047,2259,2170,1964,1978,2195,2321,2442,2622,2575,2531,1903,1769,2154,2262,2132,2186,2207,2209,2599,2496,2036,2100,2426,2374,1881,1722,1741,1653,2210,3089,3369,3061,2244,2255,1948,1770,2161,2073,2056,1993,1937,1744,1548,1591,1876,1917,1927,1909,1758,2138,2222,1947,1634,1435,1946,2540,2313,1658,1626,2082,2199,2276,2701,2652,2568,2633,2468,2534,2767,2263,1935,2589,3068,2502,2240,2576,2532,2386,2316,2330,3008,3320,3057,2684,2221,1897,1664,1616,1942,2372,2461,2194,2559],[2857,2886,2752,2769,2404,1705,1824,2566,2776,2558,2546,2812,3067,3390,3640,3498,3466,3564,3262,2800,2808,2714,2418,2677,3032,3065,3022,3294,3363,3811,3750,3950,2756,2754,3624,3694,3695,3688,3415,3242,3282,3494,3666,3536,3486,3778,3371,3138,3149,3238,3187,3066,3112,3187,3285,3184,3108,3226,3554,3463,2928,2773,3304,3206,2622,2459,2535,2513,2700,3273,3350,3420,3522,3349,3400,3521,3505,3420,3522,3508,3284,3232,3374,3873,3846,2983,2620,3558,2856,1863,1656,1716,1691,1514,1650,1779,1854,2514,2828,3228,3566,3249,3106,3232,3226,3131,3228,3398,3206,3297,3165,2957,2620,2004,2360,2008,2207,2984,3263,2941,2282,2025,2086,2711,3166,3269,3693,4103,4641,4004,3461,3120,2872,2494,2008,2182,2556,2634,2809,2692,2845,2430,2386,2313,2552,2687,2578,2514,2589,2840,3183,3232,3376,3183,2541,2311,2930,2625,2176,1707,1603,1854,2268,2537,2766,3065,2993,2907,2922,2434,2144,2160,2272,1981,1612,2036,2132,1748,1776,1863,2079,2007,2007,1754,2097,2484,3089,3071,2941,2374,1815,1699,1692,1627,2002,2977,3122,3204,3055,2209,1589,1561,2494,2880,2336,2036,2102,2263,2543,2372,2242,2020,2148,2620,2400,2192,2359,3112,3694,3710,3764,3873,3605,2457,1489,1976,2207,1940,2222,2754,3170,2955,2251,1608,1584,2105,2954,3874,4084,3562,4049,4335,3826,2801,2741,3187,3306,3162,3176,3056,2790,2701,2698,3032,2585,2112,2192,2200,2356,3037,3287,3086,2863,3105,3605,3526,3432,3525,3813,3934,3906,3784,3714,3131,2376,1849,1620,1636,1566,1832,1960,1662,1806,1962,2531,2678,3028,3422,3073,2554,2676,2886,3399,3846,3264,3001,2894,2666,2674,2021,2153,3154,3907,4025,4019,3995,3784,3693,3768,3331,2758,2731,2559,2399,2664,2720,2442,2638,3303,3526,2999,2794,2946,2191,2291,2605,2360,2524,2734,2929,2929,2404,2005,2107,2402,2749,1932,1575,2282,2314,2038,1870,1670,2123,2972,2631,1975,1784,1662,1578,1774,2421,2218,1916,2351,2990,3260,3199,2852,3029,3229,3198,2961,2753,2669,2099,2085,1989,2392,2786,2314,1969,1698,1511,2152,3330,3636,3288,2359,1619,1860,2350,2320,1996,1722,1686,1946,2309,2541,2365,2418,2552,2630,3223,3220,2744,2018,1598,1826,2196,2600,2436,2118,1981,1541,1400,1750,1957,2036,1899,2360,2199,2182,2189,1722,1819,2535,3385,3802,3570,3286,3119,3223,2641,2082,1510,1475,1996,2368,2082,1813,2243,2226,2224,1836,2024,2046,1970,1943,1829,1944,2019,1923,1982,1943,1793,2130,2875,2697,2165,1959,1996,1874,1870,1902,1994,2083,1997,2032,2251,2607,2540,2498,2700,2370,2133,2233,2648,2362,1953,1744,1852,1974,1753,2026,2298,2634,2805,2665,3010,3407,2965,2424,2508,2591,2436,2722,3030,3028,2501,2348,2531,2984,2832,2907,3343,3038,2413,2148,1895,1783,2183,2082,1861,2104,1742,1928,1844,1820,2008,2688,2791,2877,2950,2742,2401,1895,2069,2226,2152,2476,2810,1963,2072,2399,2533,2720,2981,3034,2785,3166,3200,2764,2953,3496,2733,2317,2190,2354,2621,2514,2268,2098,2513,2830,2691,2731,2534,2370,2245,2245,2219,2188,2224,2175,2224,2106,2046,2193,2135,2369,3107,2532,2004,1955,1909,1772,1843,1924,1877,1654,1641,1497,1563,1501,1667,1802,1626,1735,1651,1680,2163,2252,2307,2661,2197,1990,1803,1565,1710,1710,1745,1735,1880,2148,2177,1788,1663,2011,2333,2508,1985,1826,1906,1715,1501,1557,1474,1409,1520,1875,2019,1747,1885,1821,1907,2016,1923,1887,1533,1676,1739,1648,1872,2161,1979,1970,1966,2047,2209,2548,3485,3864,2750,2562,2831,2273,2242,2743,2380,1995,1498,1547,1946,2427,2396,1759,1721,1278,1281,2082,1908,1924,2765,2909,2567,2009,1536,2053,2849,3108,3362,3339,3291,3226,2988,2894,2618,2046,2029,1991,2306,2457,2567,2460,2419,2355,2622,2618,2512,2579,2601,2676,2884,2795,2664,2519,2308,2351,1582,851,1156,1760,2692,2941,1986,1806,3019,3394,2510,2519,2537,2292,3087,3287,2669,2431,2107,2386,2633,2322,2692,2501,2696,2481,2929,2585,2383,2242,2304,2039,1962,2444,2239,2063,1886,1892,1989,2244,2167,1996,1833,1621,1704,1757,1730,2074,1784,2057,2420,2068,2581,2458,2225,2414,2786,3345,3110,2460,2236,1912,1604,1630,1720,1542,1536,1672,1359,1368,1479,1494,1528,1569,1499,1512,1456,1322,1560,1871,2000,2168,2450,2316,1852,2271,2446,2353,2435,2626,2972,2719,2503,2771,2404,1672,1776,1762,2317,2504,2275,2554,2831,2632,2371,2329,2318,1852,1535,1654,2093,2077,1862,1850,2011,1974,1887,1601,1570,1922,1996,1826,1748,1842,1785,1673,1553,1528,1528,1773,1717,1631,1605,1507,1631,1730,1835,1766,1751,1596,1651,1588,1526,1610,1818,1728,1502,1564,1635,1960,1925,1844,1732,1692,1786,1823,1830,1636,1719,1902,2230,2457,2243,1966,2172,2183,2474,2421,2448,2735,1762,1351,2540,2811,2119,1969,1948,1866,1525,1504,1932,2112,1890,1737,1638,1340,993,709,652,856,1106,1335,1604,1500,1637,1644,1650,1625,1897,1926,2224,2448,2047,1938,2192,2343,2562,2696,3265,3054,2610,2171,2689,3083,3083,3028,2035,1746,1738,1482,1606,1711,1802,1659,1422,1121,1013,1023,1141,1340,1430,1546,1914,1748,1859,1981,2175,1822,1587,1594,1710,1562,1235,1070,1207,1394,1601,1838,1822,1738,1821,2009,2765,2480,2432,2070,1748,2148,2568,2092,1669,1912,2116,2146,1432,1673,1482,1934,1949,2024,2502,2600,2301,1795,1590,1612,1915,1999,1935,2312,3133,3288,2789,2824,3007,2988,2651,2347,2423,2336,2151,2457,1997,2020,1569,1563,2203,2220,1913,1774,2382,2338,2099,2389,2439,1934,2029,2047,2153,2316,1930,1591,2047,2396,2425,2350,3043,3580,2532,1744,1686,1406,1271,1560,1893,2021,1597,1542,1735,1760,1665,1879,2372,2569,2766,2448,1565,1508,1777,1671,1407,1608,1591,1613,1777,1556,1432,1382,1290,1294,1534,1483,1523,1809,1908,1736,1697,1515,1630,1772,1423,1355,1373,1399,1688,1762,1605,1359,1411,1461,1421,1455,1432,1439,1415,1539,1491,1450,1500,1506,1411,1490,1511,1768,2182,1915,1670,1996,2182,2210,2932,2508,2186,1834,2170,3085,3187,2326,1964,2485,2279,1706,2014,2091,1622,1695,2066,2107,1890,1656,1659,2026,2359,2287,2233,2249,2046,2275,2083,2366,2221,2171,1988,2145,2635,2292,2099,2244,2121,1804,1467,1387,1697,1997,2069,1972,1871,2088,2338,2024,2089,2857,2949,3053,2275,1762,1896,2106,1975,2208,2968,3552,3861,4086,3166,2401,2415,2389,2473,2686,2082,1936,2364,2648,2763,2836,2861,2875,2802,2429,2077,1604,1485,2147,2748,2865,2491,2236,2102,1703,1752,2808,3361,2522,1936,2264,2487,2564,2556,2414,2257,2364,2646,2404,2150,1768,1473,1595,1655,2042,2375,1596,1683,1780,1745,1748,1825,2416,1998,1266,1577,2057,1944,2063,2335,2014,1613,1844,2543,1703,1562,2509,2305,1781,1749,1560,1781,2583,2690,2221,1936,2364,2577,1766,1431,1443,1742,1838,1514,1468,1822,2254,2441,2411,2013,2122,2113,2049,1864,1811,1816,1858,1971,2109,2082,2045,2053,2126,2406,2025,1605,1652,1476,1751,1618,1548,1837,2088,1986,1726,1572,1870,1738,1498,1417,1559,1922,2104,2047,1753,1558,1748,1896,1907,1888,1675,1775,2260,2435,2277,1863,1640,1550,1714,1693,1487,1643,1916,1670,1533,1629,1413,1349,1682,1617,1455,1542,1560,1496,1496,1489,1538,1660,1626,1483,1594,2048,1636,1418,1536,1674,2122,2179,1954,1673,1771,1783,1635,1460,1328,1348,1518,1481,1458,1757,1908,1787,1992,2211,1747,1719,1980,2579,2304,2431,1982,1580,2024,2448,2323,2343,2448,2092,1786,1612,1629,1715,2036,1839,1971,2235,2212,2219,1888,1618,1838,2154,1919,1829,1926,1976,2380,2565,2554,2425,2360,2521,2551,2695,3317,3572,3398,3436,3339,3372,3616,3664,3802,3325,2719,2195,2420,2690,2973,3527,3726,3802,3177,2776,2806,3362,3475,2457,1544,1337,1424,1464,1517,1409,1411,1314,1452,1403,1444,1358,1366,1446,1442,1369,1383,1604,1792,1619,1347,1407,1406,1655,1548,1482,1309,1375,1580,1638,1510,1448,1401,1553,2144,2182,1842,1598,1409,1509,1654,1666,1730,2501,2980,2004,1875,2041,2432,2223,1710,1666,1941,1699,1743,1857,2018,2523,2564,2007,2064,2448,2466,3270,4000,3676,3129,2632,2567,2249,1952,1776,1635,1862,1998,2119,2284,2366,2135,2116,2480,2396,1949,1749,1657,1539,1730,2451,2354,2306,2098,2144,2271,2128,2200,2531,2580,2223,2396,2646,2508,2342,1777,1533,2007,2044,1973,2436,2490,2441,2645,2541,2038,2114,2502,2478,2709,2500,3230,3596,3028,2937,3341,3942,3940,3121,2723,2597,2521,2845,2889,2858,2846,2503,2849,2758,2557,2287,2361,2548,2408,2815,3072,2588,2523,2313,3474,3776,2902,2610,2574,2832,2712,2454,2480,2537,2630,2885,3194,3376,2985,2370,1917,2010,2067,2114,2642,2977,3064,2865,2196,1861,1754,2038,2230,2325,1977,1670,1648,1749,1874,2049,2452,2775,2376,2023,2025,1942,1688,1744,1765,1576,1507,1774,2317,2016,2029,2787,3077,3284,2843,2707,2439,1641,2098,2629,2307,2093,2403,2663,2744,2410,2114,2007,1855,1477,1720,1909,2122,2015,1710,1447,1839,1990,1837,2004,2356,2321,2228,2227,1726,2232,2592,2646,2575,2547,2162,1725,2056,2222,2181,2318,2557,2092,2117,1700,1815,2201,2783,2452,2121,2285,2060,1879,2298,2856,3059,2678,1862,2088,1694,1808,2021,2378,2294,2024,1982,1721,1593,1644,1827,1968,2208,1804,1731,2229,2036,1739,1517,1747,2171,2211,1852,1944,2369,2768,2552,2159,2436,2326,2246,2910,2896,2483,2182,1799,1649,1971,2001,1754,1681,1998,1953,1737,1641,2047,2833,3187,3250,2984,2206,1720,1628,1649,2031,2596,2589,2249,2310],[2754,2690,2629,2780,2664,2210,2242,2713,2721,2355,2338,2635,2909,3151,3452,3470,3305,3083,2854,2631,2643,2577,2724,2861,2836,2945,2931,3122,3499,4120,4099,4172,3212,2481,3116,3494,3376,3431,3431,3197,3138,3462,3717,3374,3526,3564,3145,3081,3158,3209,3204,3197,3375,3496,3449,3304,3234,3377,3506,3432,2821,2476,2815,2947,2485,2582,2512,2229,2600,3024,3163,3360,3364,3230,3233,3354,3372,3270,3143,3299,3292,3308,3200,3782,4001,3797,3897,3737,2521,1839,1738,1495,1511,1372,1311,1459,2323,3150,2908,2942,2890,2760,2918,2998,3067,3194,3573,3649,3199,3252,2915,2692,2535,2292,2546,2045,2191,3118,3418,2846,2309,2321,2252,2368,2398,2620,3027,4242,4728,4251,4027,3771,3496,2931,2541,2699,2830,2844,2972,2856,2836,2540,2608,2538,2612,2681,2486,2331,2540,3031,3429,3386,3043,2689,2048,1908,1898,1857,1643,1520,1650,1978,2209,2247,2242,2256,2202,2116,2342,2261,2002,2143,2754,2604,2036,2244,2194,1765,2017,2080,2286,2009,1889,1796,2219,2390,2842,2972,2485,2151,1798,1662,1720,1663,1605,1987,2043,2627,2813,2415,1736,1325,2144,2731,2107,1936,2275,2550,2902,2375,1912,1642,1714,2432,2554,2427,2735,3162,3625,3773,3764,3686,3429,2009,1781,1931,2142,2315,2437,2913,2837,2500,2574,2228,2032,2183,3204,3957,3955,3820,4006,4178,4240,3441,2885,3327,3296,3075,3021,2929,2808,2967,2997,3074,2807,2467,2113,1867,2282,2928,3123,3124,2972,3199,3603,3572,3393,3427,3695,3759,3773,3739,3504,3051,2464,1804,1597,1742,1520,1549,1705,1790,1691,2165,2720,2517,2985,3640,3400,2937,2805,2894,3430,3492,3228,3164,3115,2509,1896,1835,1904,2511,3393,3864,3982,3949,3747,3188,3188,2649,2368,2653,2665,2526,2896,2953,2504,2911,3514,3931,3677,2736,2357,2024,2211,2001,2087,2526,2283,2108,2267,1984,2603,3038,2691,2692,2003,1967,2720,2259,1765,1809,2020,2424,2973,2610,2305,1735,1881,1750,2105,2381,2203,2177,2425,2429,2376,2601,2601,2696,2503,2697,2852,2851,2344,1907,1854,2045,2310,2312,2365,2391,1826,1616,2057,3345,3293,2514,2027,2007,1909,1953,2107,2244,2399,2668,2568,2912,2805,2639,2562,2715,2759,2577,2657,2775,2023,1610,1620,1951,2341,2016,2069,1974,1767,1693,1944,2398,2466,1906,2115,2163,2248,2074,1842,2080,2515,3373,3872,3666,2799,2548,2010,1860,2083,2236,2565,2477,2193,1893,1783,2207,2163,2193,2014,2065,2136,2171,2214,2039,1943,1787,1870,2002,1980,1929,2373,3234,3669,3343,2631,2093,1755,1840,1864,1868,1893,2122,2205,2207,2324,2358,2428,2204,2058,2323,2284,2341,2447,2443,2101,2203,2350,1929,2070,2509,3217,3112,2733,2900,2610,2054,2101,2437,2633,2612,2691,2855,2603,2323,2143,2290,2586,2641,3182,3277,2663,2141,2002,1888,1960,2714,2593,2076,1866,1989,2022,1882,1799,2145,2647,3052,3059,3027,2639,2022,2115,2690,2789,2133,3052,3308,2381,2172,2499,2385,2492,2723,3141,2870,3566,3617,2711,2845,3486,2981,2392,2123,2136,2215,2436,2430,2259,2575,2783,2507,2668,2635,2567,2526,2445,2291,2198,2197,2255,2234,2071,2204,2345,2141,3152,3348,2360,2327,2332,1857,1842,2148,1947,1794,1631,1661,1482,1565,1515,1656,1708,1719,2009,2066,2028,2054,1997,2579,3197,2336,2322,2147,2294,2107,1839,1925,1815,2176,2509,2436,2230,2018,1971,2068,2106,1616,1795,2086,1713,1516,1601,1570,1693,2043,2274,2258,1633,1615,1466,1619,1626,1713,1709,1889,2019,1655,1498,2026,1960,1947,1986,2127,2483,2583,2532,3294,3929,2874,2385,2690,2103,2231,2709,2608,2292,1851,1994,2481,2643,2404,2136,1618,1260,1533,2056,2180,2287,2815,2888,2383,2077,1925,1952,2410,2819,2999,3071,3077,2988,2792,2810,2932,2464,2244,2416,2512,2497,2350,2126,2317,2561,2641,2512,2135,1705,1785,2292,3068,3086,3054,2900,2622,2581,1825,930,1143,2030,2619,2840,2181,2259,2994,3030,2470,2332,1868,1399,2490,2913,2405,2329,2354,2555,2590,2428,2300,2268,2896,2666,3096,2625,2565,2474,2298,2252,2418,2676,2258,2083,2149,2534,2383,2128,1636,1838,1989,1841,2076,1727,1679,2209,1857,2209,2541,2205,2152,2191,2470,2278,2592,3411,2863,2207,2243,1997,1951,2374,2337,1753,1534,1550,1459,1427,1469,1437,1481,1628,1595,1394,1283,1290,1576,1840,1794,1983,2093,2242,2338,2858,2674,1888,1801,2617,2821,2543,2554,2481,2087,1685,1749,1945,2576,2417,1873,1758,1960,2122,2355,2283,2263,1712,1467,2066,2057,1934,1782,1947,2017,1981,2145,1944,2180,2386,2200,2346,4006,2274,1611,1632,1523,1654,1767,1788,1629,1439,1399,1460,1563,1510,1626,1676,1743,1598,1527,1586,1635,1503,1448,1477,1807,2166,1727,1996,1894,1837,1766,1809,2126,2006,1613,1499,1709,1858,1642,2114,2502,2121,1962,1890,2227,2276,2170,1813,1417,1818,2468,2275,1755,1836,2040,1978,1177,1373,1564,2126,2111,1953,1975,1975,1693,1241,842,707,711,929,1419,1474,1377,1628,1959,1712,1572,1634,1778,2070,2293,2239,2478,2770,2763,2614,3023,2846,2498,2379,2702,2269,2459,2677,1736,1748,1571,1630,1966,1683,1714,1881,1626,1282,1359,1462,1359,1520,1562,1690,1638,1382,1965,1894,2094,1533,1371,1619,1632,1386,1328,1431,1402,1401,1619,1620,1776,2012,1809,2141,2263,2193,2204,2018,2078,2532,2602,2216,1691,1946,2514,1948,1834,1803,1769,2061,2219,2797,2568,2216,2461,1941,1642,1713,1847,2193,2172,2275,2713,3138,3278,3064,2834,2773,2784,2331,2440,2218,2160,2161,2165,2042,1488,1619,1763,1691,1643,1796,2063,2421,2331,1622,2138,1979,2176,2351,2461,2397,1992,1629,1709,1766,1731,1561,1930,2957,2780,2002,1508,1191,1226,1563,1844,2055,1914,1645,1519,1305,1461,2304,2673,2375,2645,2624,2132,1815,1626,1383,1476,1446,1427,1542,1862,1696,1617,1350,1254,1386,1631,1715,1605,1892,2149,2073,1764,1441,1737,1783,1462,1362,1565,1635,1786,1700,1518,1547,1625,1482,1253,1243,1344,1638,1783,2068,1689,1457,1462,1448,1466,1564,1653,1709,1924,1832,1510,1581,1898,2243,3056,2711,2244,2192,2847,3443,2957,1960,2056,2199,1979,1863,2070,1759,1627,1628,2266,2823,2745,2339,2103,2290,2314,2474,2510,2420,1960,2159,2364,2249,2430,2581,2092,2474,3122,2260,2155,2142,2242,1959,1541,1665,1944,2308,2556,2534,2432,2388,2019,1621,1996,2708,2245,2785,2068,1410,1578,1923,2060,2305,2775,3253,3964,4168,3500,2920,2288,2050,2389,2383,1515,1781,2691,2640,2381,2731,3128,3196,3256,2642,2072,1385,1453,2099,2331,2116,2050,2200,2011,1791,1995,2475,2503,2008,1738,1998,2056,2266,2283,1813,1577,2163,3061,2955,2387,1948,1632,1558,1719,1957,1887,1573,1815,1503,1588,1736,1641,2001,1968,1633,1920,2376,2200,1990,1941,1813,1504,1534,1658,1873,2220,2685,2610,1763,1482,1320,1870,2605,2374,2042,2115,3604,2728,1568,1386,1337,1843,2262,1777,1708,2282,2280,2366,2258,2402,2589,2806,2801,2431,1948,1757,1841,1733,1778,1851,1821,1914,1953,2219,2153,1863,1650,1624,1840,1726,1530,1822,1982,1878,1787,1532,1565,1571,1387,1321,1383,1558,2152,2099,1665,1706,1739,1887,2586,2622,1876,1843,2137,2308,1997,1712,1765,1748,1851,1772,1636,1586,1500,1460,1598,1561,1368,1444,1550,1465,1419,1472,1550,1439,1532,1375,1400,1654,1792,1579,1593,1560,1503,1462,1514,1989,2525,2324,1958,1637,1608,1608,1504,1377,1531,1542,1458,1466,1606,1926,2100,1794,1911,1941,1494,1543,1530,2138,2496,2396,2073,2217,2420,2309,2204,2421,2498,1936,1641,1631,1527,1588,1678,1922,1746,1699,2106,1986,1643,1726,2031,2302,2161,1897,1930,2236,2352,2156,2127,2320,2312,2745,3418,3319,3303,3331,3168,3041,2974,2997,3087,3095,3312,3660,3670,3195,2773,3020,3319,3550,3751,3219,2764,2496,2298,2073,1770,1530,1398,1389,1259,1229,1326,1211,1305,1329,1394,1384,1351,1354,1446,1405,1328,1321,1343,1410,1611,1676,1627,1421,1361,1606,1561,1329,1312,1431,1510,1669,1513,1418,1582,1707,2244,2022,1895,1757,1656,1573,1484,1565,2073,3333,2899,1667,1719,2266,1937,1937,1726,1646,1680,1689,1836,2058,2405,2287,2163,2276,2862,3083,3140,3814,4038,3715,3251,2979,2796,2392,2067,1735,1852,2020,2104,1784,1745,1965,2128,2875,3485,2766,1830,1744,1660,1587,1756,2135,2009,2077,2193,2021,2104,2282,2470,2771,2344,1964,2450,2354,2422,2163,1601,1605,1930,1970,2000,2509,2897,2746,2850,2963,2470,2509,3262,3229,3439,2849,2631,2955,3020,2674,2818,3249,2836,2499,2404,2562,3361,2921,2916,2916,2946,3147,3111,2718,2393,2087,2143,1859,2337,2958,2800,2757,2751,2899,2832,2454,2297,2326,2222,2125,2302,2431,2281,2642,2630,2468,2946,3673,3375,2905,2437,2242,2096,2198,2612,2728,2551,2115,1856,1934,1765,1891,2340,2190,1684,1603,2116,2172,1735,2047,2238,1952,1857,1943,1754,1887,1790,1770,1722,2018,2615,2526,2189,1958,2039,1671,1726,2474,2876,2399,1642,1663,2136,2348,2032,2078,2563,2618,2631,2592,2281,1943,1877,2026,1743,1631,1846,2080,1898,1647,1621,2136,2630,2442,2276,2186,2107,2095,1896,2244,2386,2402,2236,2230,2197,2322,2591,2241,2055,2041,2678,2708,1981,1757,2091,2369,2617,2489,2699,2950,2461,2164,2589,2798,3012,2363,2077,1969,1941,2309,2282,2182,2002,1979,1650,1463,1650,2003,2043,2243,2303,1913,2369,2577,2165,2032,1842,1931,1920,1860,1883,2081,2706,2524,2025,2178,2706,2531,2298,2663,2601,2055,1910,1924,1794,1852,1758,1541,1575,1352,1426,1572,1606,2037,2676,2962,3173,2823,1951,1699,1824,1903,1997,2217,1942,1902,2369],[2846,2699,2604,2721,2792,2690,2290,2235,2365,2265,2050,2360,2740,2941,3311,3665,3540,3218,2980,2706,2625,2575,2612,2706,2879,2916,2872,3216,3458,3987,4264,3935,3529,2739,2652,3455,3194,3483,3475,3081,3194,3332,3494,3486,3492,3459,3260,3250,3344,3204,3127,3030,3226,3452,3370,3305,3262,3328,3510,3436,2934,2326,2012,2148,1514,1881,1772,1802,2526,2867,3056,3316,3312,3120,3084,3322,3372,3297,3155,3319,3128,3059,3272,3709,3957,4082,4055,3309,2183,1967,1999,1744,1872,1722,1500,1424,2663,3369,3195,3002,2328,2155,2530,2599,2802,3158,3647,3663,3200,3169,2824,2318,2277,2574,2567,2347,2690,3024,2756,2587,2322,2295,2222,2120,2178,2036,2658,3860,4356,4684,4776,4644,4100,2347,2691,3081,2998,3042,3274,3073,2705,2550,2648,2755,2974,3108,3142,3018,3012,3087,3288,3429,2978,2296,1942,1919,2195,2417,2362,1894,1565,1918,2304,2300,2271,2213,2173,2044,2159,2258,2049,2093,2524,2303,2148,2101,2002,1958,2436,2505,2194,1803,1692,1640,1952,2005,2246,2286,1816,1806,1736,1566,1700,1700,1438,1382,1478,2055,2284,2142,1856,1771,2489,3211,2687,2164,1935,2441,2957,2456,2386,2409,2116,2437,2409,2374,2681,3063,3522,3654,3727,3698,3598,2111,1811,2125,2199,2294,2194,1946,1870,2545,3146,2489,2208,2085,3206,3693,3593,3738,3906,3818,3609,3034,2513,3066,3183,3185,3225,3117,2894,3100,3144,3006,2986,2524,2081,2082,2287,2651,2596,2878,3319,3426,3702,3761,3518,3453,3642,3746,3726,3746,3506,2796,2192,1815,1766,2185,2269,2080,1948,2239,2380,2923,3234,3063,3322,3650,3695,3695,3536,3154,2732,2565,2776,3254,3225,2656,2301,2128,2243,2557,3086,3613,3863,4000,3964,3652,3117,3116,2722,2081,2192,2479,2769,2743,2332,3345,3695,3463,2792,1937,1908,1990,2014,2091,2253,2518,2264,1947,2002,2135,3332,3748,3308,2651,2310,2621,2830,2387,1979,2639,3515,3046,2415,2224,2126,1754,1980,2717,3159,3189,2492,1912,2458,2312,2134,2774,2533,2053,2092,2107,1996,2013,1874,1699,1796,2059,2126,2324,2501,2721,2239,2267,2097,2564,2322,2098,2186,2040,2067,2436,2260,2344,2354,2796,2300,2707,2365,2808,2869,2432,1950,2197,2964,2701,1995,1575,1742,2635,2977,2186,2199,2046,1883,1825,1980,2304,1768,1476,1776,2105,2785,2360,2029,2048,2298,3702,4042,3077,2016,1642,1502,1841,2188,2506,2520,2293,2184,2072,2219,3075,3195,2965,2980,3220,2824,2433,2531,2232,1982,1792,2261,2014,2094,2409,2864,3399,3836,3989,3786,2631,1693,1899,1887,1840,1892,2278,2180,2181,1992,2116,2232,2250,2562,2811,2634,2420,2308,2457,2793,3395,3197,2597,2297,2700,3344,2843,2352,2566,2362,2148,2492,2677,2688,2395,2540,2543,2352,2698,2620,2578,2651,2996,3295,2808,2273,2165,1990,1917,2322,2361,2052,2646,2692,2789,2708,2234,2236,2448,2327,2843,3148,3184,2655,1910,2404,3044,2512,2349,3210,3642,2886,2017,2013,2611,3353,3109,3274,3096,3497,3363,2475,2702,3423,3154,2293,2158,2094,2024,2512,2468,2242,2773,2806,2447,2578,2610,2631,2668,2641,2518,2452,2388,2200,2100,2126,2277,2216,1830,2944,2902,2081,2132,2248,1735,1868,1875,1618,1858,2106,1859,1600,1477,1768,1817,1872,2172,2194,2194,2454,2710,2930,3205,3208,2629,2442,2370,2230,2122,2033,1798,1844,1960,1717,2138,2129,1915,1879,1968,2031,1942,1950,1836,1693,1592,1422,1502,1893,2546,2422,2078,1700,1709,1645,1454,1631,1658,1634,1735,1947,1787,1876,2067,1802,1777,1918,2342,2304,2270,2271,2937,3428,2752,2790,3173,2308,2462,2783,2771,2242,2404,2850,2653,2320,2754,2700,1911,1455,1786,2099,2458,2278,2316,2436,2018,1644,1836,1930,2162,2664,2867,2914,2940,2878,2677,2687,2780,2796,2701,2858,2971,2984,2654,2329,2041,1905,2226,2397,2141,1643,1848,2187,2913,2955,2980,2974,2853,2732,2193,1230,1030,2014,2721,3272,2611,2271,2663,2678,2335,2095,1465,1032,1666,2448,2409,2300,2470,2734,2602,2644,2257,2312,2584,2919,3248,2779,2667,2566,2079,2091,1903,2102,2587,2768,2556,2294,1798,1504,1239,1838,2106,1863,2169,2128,2212,2611,2192,2801,3167,2664,2293,2510,2640,2100,2137,2685,2331,2215,2292,2120,2025,1964,1952,1838,1784,1744,1612,1552,1467,1435,1427,1512,1600,1342,1414,2047,1919,1842,2019,2474,2326,2096,2374,2798,2654,1840,1798,2654,2608,2187,2357,2574,2431,2354,2410,2692,3041,2766,1950,1612,2054,2049,1959,2164,1909,1714,1903,2205,1861,1669,1714,2130,2571,2410,2281,2111,1907,1888,2113,2241,3062,2220,2022,1754,1488,1554,1497,1663,2166,1790,1623,1683,1636,1468,1417,1492,1597,1703,1637,1674,1824,1829,1533,1532,1743,2055,1921,2144,2325,2050,1830,1738,1917,1953,1870,1854,2093,2118,1931,2384,2439,2036,2046,2117,1839,1787,1949,1758,1673,1798,2046,2240,2028,1924,2041,1940,1545,1698,1680,1805,1815,1729,1910,2027,2006,1860,1504,1157,861,707,785,816,1146,1672,1862,1562,1613,1724,1628,2011,2216,2121,2475,2489,2324,2140,2634,2922,2564,2324,2342,2190,2646,2482,1455,1628,1498,1498,1807,1605,1601,1874,1739,1405,1451,1442,1534,1630,1635,1591,1339,1561,2332,1853,1054,771,890,1125,1399,1643,1997,2210,2165,1617,1433,1404,1616,1732,2038,2393,2293,2304,2366,2214,2246,2250,2374,1959,1711,2559,2270,1676,1985,1818,1957,2140,2175,2194,1807,1722,2315,1956,1709,1676,2309,2540,2288,2441,2264,1938,2425,3330,3602,3112,2723,2706,2494,2058,1847,1906,1865,1290,1231,1562,1560,1416,1369,1629,1689,2058,2808,1610,1910,2122,2409,2470,2276,2091,1793,1615,1526,1262,1279,1266,1307,2366,2919,2276,1416,1300,1478,1681,1814,1863,1792,1267,1313,1307,1537,2417,2801,2438,2319,2406,2094,1795,1475,1973,2396,1650,1330,1406,1922,1891,1600,1443,1431,1660,1845,1796,1683,1756,1803,1909,1898,1644,1638,1546,1416,1405,1725,1770,1521,1482,1450,1456,1413,1318,1312,1308,1426,1536,1769,1948,1728,1576,1397,1486,1751,1592,1505,1680,1748,1552,1382,1426,1659,2243,2721,2739,2657,2912,3376,3343,2906,2289,1991,2222,2148,2194,2380,2184,1776,1914,2326,2352,2598,2534,2284,1947,2552,2834,2113,1701,1703,2164,2443,2431,2401,2256,2194,2212,2425,2237,2566,2269,2062,2376,2460,2338,2589,2547,2475,3096,2953,2454,1747,1086,1812,2884,2607,2392,2220,2258,2252,2176,2194,1974,1868,2120,2403,2928,3032,2766,2147,2651,2633,2057,1758,2253,2779,2510,2021,2125,2639,3414,3587,2866,1823,1572,1558,1995,2320,2014,2392,2512,1764,2447,2765,2336,2542,2287,2045,2434,2356,2204,2499,2332,1709,1789,2464,2849,2779,2033,1765,1906,1743,2145,1896,1970,1970,1648,2175,2230,1758,1996,1861,1759,1892,2515,2545,2230,1950,1821,1762,1943,2176,2565,2551,2232,2075,1490,1144,1532,2355,2218,1922,1400,1519,2266,2299,2022,1496,1506,1608,2036,1699,1616,1864,1743,1838,1797,2578,2828,2993,3334,2539,1836,2111,1780,1733,1722,1798,1798,1958,1837,1767,1865,1904,1855,1958,2067,1886,1627,1835,1933,1950,1674,1366,1544,1800,1370,1244,1340,1488,1936,1682,1049,1275,1504,1685,2098,2185,1640,2025,2290,2065,1734,1741,2076,2118,2110,1929,1917,1587,1456,1490,1504,1393,1319,1410,1401,1393,1412,1496,1525,1467,1598,1520,1706,1624,1495,1407,1391,1455,1478,1434,1584,1914,2355,2295,1515,1480,1256,1216,1588,1804,1670,1533,1410,1484,1692,1469,1659,1534,1627,1645,1428,1625,1703,1981,2188,2057,2000,2351,2832,2820,2238,2241,2100,1812,1576,1741,1796,1595,1636,1708,1678,2092,2394,2043,1705,1938,2264,2160,1965,1975,2297,2470,2647,2687,2554,2741,2511,2579,3408,3302,3375,3341,3116,3076,3039,2889,2889,2997,3178,3250,3427,3624,3452,3007,2850,3159,3142,2792,2578,2120,1872,1886,1694,1694,1458,1452,1278,1237,1241,1353,1367,1333,1276,1373,1382,1344,1320,1351,1478,1425,1473,1448,1618,1636,1488,1389,1344,1397,1479,1470,1409,1338,1635,1999,1585,1388,1543,1952,1952,2001,2244,1833,1282,1047,1438,1819,2387,3244,2064,1812,2316,2801,2648,2649,2302,1930,1776,1830,1782,1990,2034,1951,2108,2413,2508,2573,3222,3553,3508,3306,2896,2910,2854,2509,2104,1836,1954,2161,2136,1590,1483,1675,1662,1800,2284,2143,1948,1775,1599,1728,1708,1792,1876,1997,2515,2457,2544,2605,2404,2523,2118,1994,2546,2313,2392,1953,1630,1714,2018,2141,2213,2360,2260,2344,2974,3007,2752,3080,3801,3860,3618,2907,2373,2230,2250,2204,2392,2546,2380,2500,2294,2696,3517,3375,3282,3077,3060,3134,2736,2477,2266,1806,1915,1885,2742,3573,3204,3227,3442,2940,2143,2152,2294,2254,2156,2063,2035,2281,2678,2885,2790,2529,2795,3349,3507,3287,3105,2610,2154,2422,2510,2316,2314,2028,1888,2203,2068,1868,1920,1794,1468,1450,2011,2067,2051,2218,1814,1983,2512,2239,1792,1787,1848,1984,1798,2209,3128,2798,2490,2640,2647,2169,1832,1813,1944,1891,1677,1873,2387,2188,1575,2312,2453,2183,2244,2366,1989,1891,2193,2210,2051,1892,1941,2190,1976,1866,2057,2812,3054,2555,1952,1889,1853,2126,2334,2284,2301,2535,2814,2834,2558,2365,1710,2007,1869,1771,2284,2500,2104,2162,2177,2039,2592,2964,3112,3002,2549,2622,2957,2798,2272,2141,2375,2005,1940,1957,2040,1854,1682,2005,1844,1705,1658,2116,2371,2063,1886,1984,2598,2501,1941,2025,2121,2273,2084,1754,1697,1838,2056,1938,2259,2692,2822,2588,1876,2219,2269,1974,1722,1671,2078,2243,1752,1825,2020,1592,1467,1491,1453,1603,2056,2442,2717,2103,1554,1573,1577,1637,1642,1897,1942,2191,3238],[2701,2689,2635,2508,2535,2374,2017,2199,2176,2038,2045,2197,2642,2963,3175,3440,3821,3404,3069,2946,2835,2776,2824,2835,2928,2967,2889,2993,3189,3847,4124,3631,3799,3000,2375,3021,3086,3477,3396,3226,3486,3649,3709,3592,3396,3443,3463,3483,3338,3167,3210,3150,3260,3407,3392,3474,3459,3317,3562,3560,3125,2482,1869,1877,1438,1846,1480,1648,2360,2525,2877,3144,3109,3255,3404,3329,3310,3492,3481,3421,3292,3244,3454,3816,3819,3620,3520,2982,2029,1895,1772,1591,1602,1722,1647,1869,3048,3609,3660,2966,1769,1800,2346,2496,2467,2488,3002,3216,3111,3085,2464,2082,2382,2402,2588,2851,3107,3111,2662,2658,2597,2944,2938,2717,2654,2543,3100,3772,3761,4263,4603,4727,4427,3055,3414,3374,3189,3159,3184,2992,2701,2683,2878,2907,3108,3177,3316,3296,3216,2866,3128,3408,2782,2012,2049,2521,2678,3072,3252,2705,2341,2510,2413,2037,1745,1958,2339,2378,2274,2116,1868,2019,2256,2017,1901,1556,1747,1974,2215,2143,1913,1876,1755,1736,1941,1711,1757,1615,1846,1871,1892,1790,1732,1672,1826,2154,2501,2692,2555,2219,2264,2038,2339,3133,2916,2657,2100,2032,2275,2400,2976,3286,3154,2865,2233,2529,2822,2848,3297,3574,3712,3699,3443,2116,1783,2410,2338,2171,2137,2278,2068,2557,2917,2569,2083,2274,3228,3661,3595,3576,3423,3153,3374,3117,2385,2846,3057,3272,3205,3154,2942,2929,2965,2977,2819,2225,2437,2623,2393,2612,2425,2398,2996,3225,3441,3692,3640,3584,3789,3992,3738,3694,3399,2829,2254,1744,1732,2214,3120,2967,2514,3356,4026,4101,3984,3686,3345,3559,3759,3575,3454,2686,1927,2134,2640,2843,2776,2920,3011,2482,2623,2830,3131,2698,3293,3905,3920,3704,3782,3899,3240,2317,1991,1891,2137,2306,2540,3662,3337,2521,1949,2182,2529,2009,1827,1957,2508,2496,2431,2030,1930,2130,3162,3774,3463,3266,3023,2577,2401,2580,2094,3128,3596,2808,2243,2443,2095,1706,2188,3234,3731,3543,2756,2137,2431,2376,2001,2697,2706,2481,2377,2292,2021,1851,1937,1696,1665,2112,2245,2263,2884,2988,2252,2081,1906,2255,2257,1977,1894,1708,2217,2875,2504,2478,1979,2208,1896,2214,2018,2513,2314,1522,1968,2732,2853,2369,2304,1706,1819,2375,2363,2166,2559,2520,2033,1655,1932,2217,1901,1935,1947,1993,2121,1810,2095,2093,3069,4025,3409,2314,1637,1660,2079,2304,2329,2310,1925,2116,2319,2269,3038,4019,3594,3284,3499,3411,2933,2586,2706,3051,2659,2282,2259,1769,1531,2111,3163,3603,3668,4128,3973,2610,1754,1915,1891,1804,1772,2104,2144,2147,2325,2409,2552,2504,2670,2942,2897,2892,2501,2255,2402,3111,3396,3307,2766,2604,2524,1984,1730,1771,1937,2641,2613,2686,2389,2358,2770,2524,2571,3308,3200,2498,2774,3110,2829,2723,2398,2179,1832,1859,2107,1709,2011,2721,2853,2902,2837,2503,2519,2813,2931,3276,3373,3285,2780,2156,2586,3061,2396,2158,2597,3064,2832,2310,1964,2986,3929,3730,3174,2866,3155,2600,2119,2655,3435,3326,2339,2127,2114,2323,2969,2561,2180,2877,2972,2676,2592,2397,2295,2401,2677,2796,2834,2429,2243,2167,2323,2259,1651,1471,2109,2269,2083,2037,1949,1508,1471,1493,1669,2078,2208,2050,1580,1442,1861,1918,1870,2070,1885,1738,2039,2805,3785,3560,3216,2509,2242,2156,1778,1912,2101,2026,2208,2398,1978,1798,1952,1953,1693,1801,2104,2280,2043,1486,1591,1733,1456,1345,1742,2452,2127,1728,1797,1898,1762,1490,1650,1803,1699,1940,2152,1952,1962,1694,1719,1752,2206,2323,1729,1894,2298,2561,3038,2795,2951,2741,2116,1946,2241,2486,2448,2374,2619,2137,1935,2722,2703,2340,2079,2168,2242,2587,2258,2107,2202,1633,1146,1642,2036,2160,2788,2945,2896,2947,3045,2780,2670,2691,2803,2779,2780,2764,2683,2523,2669,2610,2534,2686,2731,2763,2444,2669,2869,3006,2829,2735,2843,2850,2707,2372,1832,1375,2031,2824,3825,3004,2193,2603,2598,2220,2064,1787,1579,2288,2604,2605,2487,2832,3119,2964,2531,2330,2470,2584,3334,3820,2975,2239,2273,1862,2345,2146,2445,3071,2822,2308,2048,1728,1567,1980,2597,2172,1804,2103,2038,2096,2917,2721,2523,2678,2623,2564,2330,2014,2039,1995,1974,2122,2448,2277,2155,1955,1984,2037,1684,1624,1699,1683,1773,1510,1495,1416,1504,1573,1611,1582,2190,2146,1796,2395,3006,2635,2421,2113,2257,2507,2603,2146,2521,2374,2367,2493,2281,2140,2519,2903,2609,2908,2634,1879,1864,2222,2044,1568,1530,1495,1625,1972,2082,1795,1678,1686,2495,2700,2236,2252,2150,1829,1877,1886,1909,2306,2357,1798,1536,1686,1734,1445,1812,2821,2220,1743,1669,1654,1418,1420,1493,1504,1692,1636,1674,1701,1568,1792,1785,1821,1786,2121,2375,2431,2546,2284,1868,1897,1925,2029,2216,2365,2556,2514,2452,2265,2071,1672,1508,1376,1116,1566,2025,1874,1626,1995,2245,2004,2059,2080,2246,2095,1822,1730,1755,1649,1547,1558,1809,1879,2071,2034,1864,1399,1057,790,730,677,892,1098,1251,1647,1773,1710,1884,1863,1824,2069,1992,2037,1857,1833,2018,1864,1700,1743,1981,2382,2187,1716,1378,1292,1509,1777,1862,1949,2188,1963,1567,1545,1855,2261,2321,2155,1705,1438,1721,2084,1487,879,872,1030,1316,1734,1738,2231,2444,2436,2204,1730,1270,1093,1742,2400,2187,2247,2446,2175,1769,1909,2209,2072,1698,1970,2591,1858,2001,2090,1708,1925,2003,1868,1632,1420,1825,2209,1947,1772,1621,2421,2758,2163,2120,1870,1132,1633,2500,3646,3716,2873,2464,2254,1980,1720,1905,1837,1409,1508,1810,1713,1565,1342,1503,1792,1813,2735,1840,1503,2115,2361,1947,1743,1793,1846,1657,1513,1296,1289,1394,1382,2120,3305,3225,2140,1686,1765,1773,1842,1813,1707,1254,1377,1501,1607,2071,2511,2429,2127,1967,2242,2631,2132,2772,2560,1930,1445,1435,1752,1830,1651,1555,1619,1661,1741,1776,1649,1494,1416,1611,1851,1606,1519,1487,1385,1332,1565,1570,1305,1513,1449,1583,1385,1340,1345,1428,1545,1599,1817,2050,2003,1670,1418,1506,1573,1487,1493,1727,1520,1468,1569,1456,1437,1831,2347,2524,2132,2555,3275,3010,2651,2647,2738,2644,2190,2222,2208,2111,2159,2155,1958,2004,2072,1922,2150,2030,3191,3146,1742,1312,1617,1903,2148,2259,2240,1975,2031,1748,1793,2055,3276,2702,1795,2109,2321,2396,2747,2834,2311,2779,2791,2532,1957,1421,2018,3042,3152,2461,2193,2163,2201,2172,2225,1916,2108,1848,1516,2346,2364,2093,2298,3001,2482,1807,1977,2047,1881,1725,1509,1470,2030,2387,2920,2938,2347,2490,2619,2842,2609,1959,2774,2566,1570,1661,1891,2566,2845,2396,2320,2311,2297,2500,2170,2025,1909,2030,2237,2535,2254,1890,1917,1980,1874,2096,1893,1876,1904,1888,2298,2265,2197,2273,1819,1695,1696,2513,2185,1718,1632,1464,1791,2502,2680,2897,2746,2282,1693,1387,1669,2863,2866,2400,2038,1802,1778,1743,2297,2555,1746,1832,1990,2171,1602,1520,1686,2314,2532,2070,2449,2865,2908,2723,2191,1949,2199,1799,1936,1868,1988,2018,1926,1786,1708,1785,1758,1518,1656,1748,1765,1759,1797,1754,1810,1582,1461,2069,2172,1738,1777,1333,1156,1504,1286,1221,1592,1657,1614,1866,1660,1394,1714,1810,1683,1874,1817,1935,2002,2041,2112,1925,1620,1215,1142,1437,1467,1483,1404,1295,1290,1338,1581,1467,1472,1481,1399,1580,1536,1381,1365,1383,1468,1556,1564,1748,1772,1652,1766,1379,1287,1405,1433,1585,1750,1705,1587,1409,1766,1880,1587,1941,1742,1664,1698,1614,1766,2495,2848,2159,1890,1919,1999,2647,2705,2452,2518,1946,1802,1804,1812,1791,1764,1825,1524,1617,1913,2015,1591,1511,1971,2165,1893,1974,2335,2551,2801,3025,3099,3048,3211,2311,1905,2954,3276,3558,3527,3256,3041,2901,2871,2855,2901,3124,3327,3337,3209,2967,2944,2985,2677,2098,2135,2383,1844,1792,2292,2397,2093,1640,1474,1335,1311,1234,1331,1490,1450,1376,1362,1290,1297,1275,1369,1546,1484,1570,1548,1476,1409,1409,1317,1275,1492,1636,1653,1549,1666,1939,1756,1388,1340,1429,1587,1603,2376,2807,2204,1526,862,956,1494,2387,2215,1766,1848,2256,2989,3443,2939,2317,2122,1961,1772,1734,1987,1992,2340,2627,2408,2330,2699,2991,2744,2401,2148,2208,2751,2461,2417,2136,1898,1480,1948,2329,1992,1894,1790,1712,1700,2059,2286,2411,2075,1892,1863,1620,1755,1731,2023,2499,2259,2245,2321,2345,2274,2514,2636,2802,2452,1974,1706,1790,1953,1891,1858,2389,2514,2166,2734,3495,2354,2460,3036,3775,3887,2977,2410,2413,2149,2264,2115,2305,2510,2033,2187,2444,2575,2429,2806,3306,3220,2988,2847,2614,2326,1936,1694,1754,2278,2722,2862,2957,3093,3138,2927,2636,2947,2765,2811,2901,2377,2352,2464,2888,2921,2808,2766,2722,2964,3228,2985,3077,2809,2331,2370,2022,2249,2470,2017,1964,2194,1843,1728,1851,1824,1337,1159,1888,2226,2434,2085,1629,1731,2002,1954,1918,2076,2374,2775,2698,2754,3084,2786,2556,2797,3508,3161,2000,1512,2221,2591,1990,2218,2735,2352,2053,2255,2075,2296,2279,2149,1642,1582,2027,2154,2336,2393,2112,1980,1848,2093,2404,2586,2238,2193,2074,1780,1676,2028,2453,2708,2677,2750,3003,2877,2646,2090,1819,2111,1946,1863,2031,2448,2619,2204,1981,1823,2159,2396,2491,2448,2472,2851,2829,2608,2423,2448,2187,1851,2193,2266,1893,1586,1589,1705,2072,2139,2035,2272,2127,1868,1993,2089,2180,1971,1918,1853,2219,2328,2236,2170,1859,1753,1624,1859,2437,2588,2927,2698,1805,1946,2022,1707,1953,1967,2024,2110,1876,1920,1976,1696,1376,1507,1617,1749,1951,2274,2074,1989,1737,1461,1447,1571,1635,1854,1963,2469,2922],[2396,2521,2633,2489,2517,2281,2082,2322,2066,2034,2250,2470,2871,2882,2950,3165,3624,3462,3121,2876,2828,2826,2951,2993,3061,3074,3001,3015,3352,3819,3875,3559,3620,3040,2422,3253,3522,3159,3298,3458,3657,3916,3827,3563,3663,3783,3799,3695,3422,3162,3159,3322,3394,3340,3448,3761,3635,3414,3574,3466,3266,2810,1891,1685,1477,1758,1650,1638,2417,2461,2799,2941,2828,3342,3611,3437,3461,3659,3725,3509,3248,3100,3326,3354,3375,3174,3373,2610,2117,1888,1732,1685,1597,1820,1840,2285,2981,3109,3596,3463,2567,2357,2751,2511,2294,2210,2270,2518,2763,2602,2056,2094,2556,2583,2787,2499,2988,3330,3330,2813,2408,2602,2713,2974,3233,3314,3426,3507,3835,4271,4407,4483,4291,3889,3515,3325,3277,3166,3032,2884,2702,2684,2862,2897,2979,2937,3062,3072,2930,2459,2710,3227,3108,2791,2004,1381,2109,3034,3272,3244,3624,3187,2451,1781,1346,1836,2476,2381,1858,1818,1931,2037,2192,2139,1886,1308,1543,1722,1862,2033,2050,2149,1799,1679,1793,1650,1883,2037,2316,2397,2042,1827,1834,1709,1898,2589,3042,3087,2976,2480,2670,2548,2539,2980,3129,2898,2136,1857,2211,2589,2932,3449,3421,3056,2136,2165,2316,2225,3086,3619,3588,3685,3182,1901,2086,2768,2315,1815,1973,2358,2289,2458,3119,2859,2289,2657,3361,3741,3606,3504,2894,2332,2768,2808,2587,2847,2778,2472,2275,2675,2854,2613,2893,3024,2801,2153,3010,2702,2311,2416,2275,2442,3118,3113,3195,3769,3952,3867,4035,3962,3532,3485,2822,2314,1836,1652,1810,1953,2724,3250,3565,4188,4267,4235,4016,3479,3122,3601,3930,3624,2839,2129,2120,2341,2489,2715,2633,2749,3164,2953,2607,2776,2699,1686,1889,2968,3451,3725,4038,3775,3110,2836,2342,1845,1816,2491,3066,3131,2784,2654,2665,2907,2684,2184,1991,2280,2737,1890,1953,1897,2258,2434,3164,3372,2952,3138,3422,3069,2522,2705,2679,2718,2653,2285,2342,2547,2201,1863,2239,3356,3552,3022,2510,2120,2289,2045,1675,1907,1906,2305,2590,2368,1854,1867,2319,2107,1959,1967,2194,2596,2933,2407,2132,1915,2298,2889,2576,2007,1745,2034,2398,2931,2657,2790,2492,2293,2289,2181,2026,2248,1950,2163,2730,2895,2828,2700,2210,2178,2074,2477,2526,2299,2214,2284,2259,1975,2107,2554,2762,2762,2453,1935,1959,2030,2183,2459,3396,3453,2668,2470,2107,2340,2242,2401,2241,2067,1792,2194,1980,2121,3294,3607,3002,3007,3038,3221,2965,2868,2392,2807,2584,2333,2315,2274,2036,2486,3444,3723,3581,4099,3973,2543,1789,1905,1954,1841,1907,2111,2013,2594,2873,2423,2521,2542,2608,2690,3067,3117,2989,2592,2239,2218,2716,3319,3319,2907,2025,1510,1758,1741,2414,2460,2508,2678,2270,2386,2618,2551,2740,3147,2964,2745,3063,2900,3044,2799,2250,1861,1739,2195,2171,1820,2263,2648,2848,2843,2972,2920,3259,3237,3284,3298,3243,3210,2817,2207,2144,2321,2304,2141,2277,2605,2710,2736,2692,3122,3274,2975,2381,2045,2407,2692,2706,2862,3616,3709,2691,2799,3046,2770,3034,2531,2185,2633,2684,2569,2359,2132,2248,2255,2414,2692,2706,2513,2508,2533,2525,2097,1534,1605,1848,2294,2497,1982,1700,1697,1866,1964,1876,2265,2154,1613,1440,1486,1730,1792,1887,1985,1754,1810,2235,2829,3235,2675,2037,1590,2083,2388,1902,1599,1796,2171,2351,2303,1965,1574,1741,1746,1749,1914,1874,1999,1858,1395,1347,1560,1390,1368,1673,1896,1556,1835,2143,1936,1722,1298,1300,1485,1731,1884,1830,2244,2010,1745,1963,2203,2615,2301,1630,1941,2304,2249,2200,2098,2784,2153,1862,1638,2404,3201,2872,2392,2632,2416,1990,2355,2709,2087,1649,1959,2197,2518,2389,2106,2002,1411,1269,2281,2810,2398,2764,2779,2640,2883,3041,2719,2663,2646,2654,2829,2662,2357,2524,2373,2774,2722,2696,2846,2955,2934,2857,2991,2996,3096,3084,2971,3142,3120,2810,2373,2612,2275,2250,2153,2269,2214,2186,2461,2280,1814,1794,2440,2648,3231,2709,2810,2462,2357,3137,3448,2862,2425,2603,2776,3461,3721,3209,2543,2151,1570,2077,2896,3308,2978,2487,2183,2013,2195,1988,2394,2591,1651,1535,2106,2225,2613,3244,3141,2574,2342,2585,2382,1902,1749,1864,2128,1950,1991,2431,2322,2341,2142,2102,2122,1983,2053,1663,1694,1889,1566,1501,1426,1552,1659,1657,1440,1606,1825,1887,2502,2725,2038,2147,2037,2752,3074,2393,2402,2437,2519,2830,2449,1926,1972,2477,2609,2308,2721,2253,2163,2229,2376,2023,1708,1644,1543,1633,1880,2151,1570,1556,1640,2759,2645,2083,2093,2113,2012,2012,1768,1686,2419,2974,2600,1851,2008,1696,1359,1589,2100,1740,1530,1652,1555,1349,1395,1361,1532,1587,1388,1520,1788,1839,1989,1961,1947,1884,2184,2456,2457,2482,2527,2180,1970,2286,2751,2501,1975,2213,2645,2482,2535,2681,2121,2324,2272,1757,1677,1930,1771,1731,1915,2062,1932,2082,2575,2809,2712,2323,1903,1864,1895,1778,1660,1456,1605,1615,1837,1868,1731,1522,1283,941,746,735,697,1174,1830,1785,2151,1923,1803,2054,1956,2020,2147,1871,1729,2044,2259,2213,1614,1762,2137,1854,1627,1250,1417,1812,1793,1955,2386,2634,2341,1844,1754,2316,2324,2416,1976,1375,1329,1625,1356,915,731,1060,1424,1404,1997,1884,1842,2259,2376,2336,2052,1398,1300,2234,2522,2108,2409,2176,1381,1492,2010,2110,1804,1653,2086,1889,1732,2227,2063,1636,1811,2176,1825,1642,1506,2055,2333,2201,1953,1958,2438,2442,2008,2167,1572,1033,1625,2175,3392,3463,3286,2890,2258,2094,2200,2272,2180,2051,2030,1979,1910,1892,1503,1659,1932,1899,2200,1874,1460,1883,2301,1726,1980,2211,1909,1469,1589,1445,1444,1654,1658,1882,2907,3558,2853,1932,1883,1804,1786,1748,1662,1538,1675,1796,1806,1935,2045,1992,1831,1943,2280,3190,2679,2336,2118,1665,1437,1353,1436,1692,1796,1826,1681,1451,1419,1504,1555,1562,1331,1546,1889,1782,1551,1299,1233,1216,1351,1440,1592,1750,1469,1571,1436,1442,1443,1669,2076,2482,2486,1763,1585,1576,1515,1522,1439,1446,1510,1519,1504,1477,1570,1654,1557,1637,1977,2072,1937,2383,2697,2295,1922,1772,1992,1897,1739,2234,2238,2128,1991,1948,1516,1099,1258,1665,1955,1998,2991,3166,2138,1590,1818,2036,2059,1906,1845,2152,2206,1715,1586,2044,2708,2286,2081,2139,2026,2075,2409,2470,1849,1914,2235,2790,2353,1731,2016,2820,2871,2449,2634,2148,2469,2172,1575,1826,2246,1813,1561,1992,2110,2154,2302,2310,1839,1700,1711,1713,1946,2123,1870,1578,1852,2030,2392,2554,2712,2910,2801,2922,2365,2063,2702,2505,2481,1705,1939,2902,2652,2466,2956,2552,2294,2473,1973,1657,2187,2486,2633,2308,2137,2015,2181,2646,2446,1772,1683,1744,1972,2238,2366,1979,2077,2077,1578,1518,1575,1650,1616,1716,1525,1393,2163,3089,2976,3083,2874,3097,2339,1914,3168,4308,3995,3209,2354,2061,1807,2210,2869,3107,2513,2078,2854,2942,1931,1515,1955,2573,2722,2394,2001,2302,3101,2878,2216,2020,1899,1615,1843,2298,2356,2002,1586,1366,1736,1953,1681,1594,1631,1637,1563,1530,1670,1670,1635,1827,1843,1984,1888,1996,1976,1571,1381,1677,1360,1682,2052,2004,2092,2045,1525,1528,1583,1682,1600,1961,1858,2042,2128,1923,1941,2015,1736,1239,1383,1509,1636,1510,1286,1265,1392,1450,1555,1338,1316,1447,1478,1478,1434,1426,1429,1406,1362,1350,1459,1624,1519,1515,1506,1471,1455,1581,1522,1325,1363,1493,1838,1587,1782,1630,1290,1642,1615,1717,1825,1456,1649,2198,2020,1882,1890,1854,2122,2598,2415,2508,2360,1858,1932,1986,1783,1618,1606,1642,1513,1559,1592,1754,1696,1981,2135,1764,1448,1826,2412,2439,2588,2662,2895,3109,2271,1718,1985,2571,3133,3351,3328,3388,3184,2761,2841,2818,2951,3249,3404,3392,3193,2795,3064,3313,2621,2132,2122,1942,1953,1778,2128,2737,2120,1673,1441,1320,1360,1364,1282,1208,1270,1428,1354,1311,1494,1568,1543,1413,1451,1848,1775,1421,1560,1610,1321,1529,1863,2034,2437,2324,2567,2567,1856,1362,1337,1396,1525,2086,2944,2944,2842,2547,2010,1349,1731,2894,2522,2092,2169,2155,2841,3095,2292,1771,1924,1780,1600,1659,1780,1942,2353,2426,2236,2501,2719,2680,2116,1906,2201,2210,2668,2708,2316,2008,2075,1929,2228,2274,1843,2231,2114,2148,2253,2316,2444,2209,1991,1942,1832,1639,1665,1728,1933,2371,2282,2343,2442,2469,2299,2508,2390,2663,2756,2342,2002,1782,1925,1782,1871,2303,2844,2432,2939,3143,2141,2281,2887,3165,2966,2574,2387,2862,2467,2438,1953,2216,2626,2354,1878,2256,2798,2752,2640,2558,2876,2677,2584,2486,2142,1716,1563,1496,2278,3096,3430,3620,3226,3043,2655,1991,2862,2953,3106,3386,3394,3155,2879,2911,2988,2909,2818,2865,2641,2741,2814,2673,2473,2347,2361,2144,2137,2275,2427,2750,2789,2182,2032,2084,1993,1802,1508,1522,1835,2309,2331,1986,1583,1560,1425,1899,2377,2610,3365,3528,3095,3194,2929,2326,2776,3808,3625,2286,1513,2113,2423,2187,2640,2676,2819,2604,2243,2190,2351,2133,1945,1816,2181,2429,2024,1948,2061,1983,1822,1897,2689,2723,2161,2143,2303,2133,2113,2081,2589,2688,2775,3043,2743,2364,2085,2301,2417,2551,2244,1893,1774,2125,2632,2511,1886,1595,1769,1571,1519,1844,2387,2666,2774,2682,2547,2286,1912,1950,1873,2282,2625,2078,1752,1843,2142,2382,2354,2398,2201,2055,1910,2022,2215,1914,1803,1855,1859,2002,2422,2697,2552,2430,1921,1901,1759,2236,2480,3279,2598,2029,2034,1836,1475,1748,1871,1472,1625,2126,1773,1556,1744,1680,1912,1654,2004,2331,2369,1771,1478,1518,1420,1578,1888,1738,1736,1673,1763,1656],[2869,2632,2886,2432,2482,2397,2502,2711,2160,2202,2426,2839,3077,2735,2806,3022,2975,2751,2878,3143,3052,3067,3077,2986,3050,3187,3109,3219,3621,3769,3966,3353,3364,2902,2333,3095,3141,3074,3540,3676,3868,3770,3754,3715,3662,3529,3396,3431,3345,3147,3039,3111,3253,3215,3373,3497,3328,3317,3532,3598,3363,2934,2113,1717,1606,1835,1783,1544,2261,2398,2760,2963,3051,3511,3519,3553,3461,3406,3474,3311,2522,2247,2640,2459,2647,2776,3492,2682,2087,1768,1446,1347,1651,1831,1687,2372,2713,2579,3230,3124,3208,3466,3406,2623,2305,2251,1977,2143,2241,2065,1979,2679,2820,2844,2898,2764,2718,2880,3044,2809,2485,2258,2327,2801,3062,3427,3697,3543,4046,4444,4531,4551,4144,3520,3169,3177,3255,3180,3250,3083,2413,2242,2286,2502,2664,2469,2454,2668,2377,1873,1986,2497,3536,4433,3239,2297,3262,3494,3117,3505,3976,3162,2194,1902,1855,2187,2287,2228,1632,1937,2098,2031,2005,1936,1543,1379,1609,1608,1901,2129,2143,2360,1746,1532,1594,1771,2076,2505,2477,2189,1853,1818,1974,1815,1887,2530,2846,2909,2522,2391,2348,2394,2320,2706,3250,3164,3025,2885,2745,2625,2654,3414,3351,3230,2315,2374,2342,1941,2811,3607,2932,2572,2805,2694,2587,2613,2337,2260,2588,2649,2474,2479,3543,3710,2896,3205,3660,3870,3680,3082,2336,2238,2631,2610,2420,2733,2544,1940,1729,2297,2822,2668,2699,2045,2162,2144,2822,2585,2596,2666,2610,2926,3423,3508,3454,3688,4006,3912,3969,3775,3327,3199,2194,1349,1347,1537,1642,1815,2540,3499,3784,3857,3845,3551,3355,3316,3515,3780,3453,2930,2435,2058,2277,2850,2832,2779,3210,2996,2822,3323,3264,2842,2547,2071,1585,2025,3067,4208,4184,4172,3607,3332,2503,2010,2352,3241,2987,2120,2576,3426,3591,3177,2851,2651,2386,2600,2394,2013,2421,2605,2020,1929,2208,2106,2220,2820,3267,3000,2677,3030,2648,2423,2463,2166,1871,1907,1937,2192,2784,3475,2522,2254,2164,2040,2134,2126,2384,2338,1942,2002,2411,2107,1747,2116,2855,2800,2624,2400,2365,3362,3495,2565,2244,2385,2851,3042,2932,2412,1916,2084,1931,2127,2188,2395,2750,2987,2656,2094,2131,2269,2399,3019,2568,2396,2557,2469,1888,2203,2088,2093,2317,2274,2372,2599,2258,2338,2195,2566,2866,3192,2567,1740,1758,1756,1930,2657,3313,2646,1922,1897,1468,1853,2442,2571,1963,1732,1675,1878,2106,2733,3418,2511,1918,2275,2965,3116,3278,3484,2283,1915,2226,2337,2902,3555,3442,3514,3880,3722,3489,3923,3930,2784,1908,1895,1968,1763,1943,2032,2149,3017,2626,2201,2241,2314,2670,2606,3207,3386,3089,2840,2746,2429,2199,2531,3073,3206,2690,1945,2024,1813,2012,2476,2700,2332,2587,3061,2438,2186,2370,2237,2728,3052,2700,2801,2969,2282,1782,1680,1878,2713,2675,2017,2338,2698,2765,2665,3418,3118,3276,3185,2854,2835,2889,2860,2661,2423,2137,1941,2268,2060,2194,2839,3299,3059,2676,2490,2377,2030,1763,2051,2656,3109,2856,3077,3783,3718,3389,3719,3926,3438,3204,2787,2407,2875,2758,2430,2104,1996,2136,2302,2410,2510,2414,2375,2692,2889,2586,1929,1758,1674,1829,2230,2020,1496,1575,2060,2135,1836,1887,2374,2156,2022,2319,1736,1550,1663,1942,1825,1782,3110,3362,2600,2597,2503,2044,2020,2902,3079,2611,2100,1974,2160,2500,2698,2326,1876,1978,1813,1937,2084,2019,1957,1769,1604,1515,1705,1448,1346,1275,1504,1642,1936,2116,1697,1484,1254,1204,1205,1496,1777,1862,1981,1877,2044,2212,2152,2403,2112,2047,2273,2007,2042,1603,1822,2321,1990,2308,2032,2231,3141,2974,2524,3113,2712,2298,2532,2574,2119,2075,2245,2072,2364,2471,2125,1964,1655,1952,3041,2929,2466,2528,2454,2542,2846,2924,2801,2745,2678,2771,2864,2717,2578,2547,2395,2584,2275,2198,2452,2666,2722,2882,3022,3286,3498,3430,3022,2841,2467,2321,2355,2518,2832,2920,2410,2364,2510,2458,2436,2084,1914,1719,2401,2677,2765,2660,3100,2754,2359,3097,3674,3067,2248,2510,2618,3160,3097,2784,2460,2304,2436,2733,3036,2777,2319,2341,2215,2310,2645,2401,2242,2211,1670,1393,2002,2867,3366,3227,3095,2938,2329,2256,2301,2006,2394,2247,2177,2084,2054,2432,2592,2456,2235,2351,2433,2778,3002,1954,1631,1519,1453,1456,1487,1532,1544,1487,1518,2038,2280,1961,2381,2336,1929,1976,2258,3298,3473,2459,2180,2457,2477,2639,2375,1956,1984,2419,2302,2421,2480,1937,1699,1802,2141,2137,1844,1849,1780,1570,1504,1507,1524,1676,1739,2503,2759,2220,1778,1683,1702,1875,1904,1537,1542,1791,1648,1554,1707,1528,1479,1509,1469,1375,1407,1451,1354,1340,1464,1554,1616,1444,1388,1407,1670,1837,1912,2059,1923,2001,2381,2447,2170,2273,2230,2188,2337,2502,2114,1538,1311,1514,2137,2441,2394,2682,2586,2219,2146,2565,2524,2106,1682,1576,1759,1771,1987,2808,3293,3119,3022,2741,2502,2140,2024,1945,1832,1720,1547,1247,1264,1754,1952,1783,1600,1460,1205,1004,898,1449,1892,1952,2170,1909,1785,1843,1868,2027,1930,1843,2011,2734,2953,2744,1924,1942,2301,1939,1623,1696,2112,2328,1880,1632,1749,1830,1760,1762,1680,1692,1676,1713,1729,1793,1792,1641,1005,756,657,996,1256,1170,2394,2089,1794,1997,2037,2275,1908,1537,2048,2712,2523,2458,2294,1608,1481,1818,2054,1930,2052,2454,2226,1619,1949,2061,1904,1736,1529,1794,1915,1703,1729,2213,2625,2477,1976,1990,2351,2102,2082,2187,1467,1398,1627,2186,3298,3372,3423,3176,2447,2198,2198,2071,2084,2186,2141,2211,2118,2025,1817,1994,2035,1866,1954,1764,1317,1350,2415,2150,2508,1740,945,820,1339,1617,1707,1908,1826,1737,2268,3282,3558,2411,1922,1832,1670,1643,1686,1759,1885,1860,1791,1670,1471,1671,2041,2252,2154,2916,2830,2426,2009,1610,1523,1548,1614,1794,1847,1600,1250,1415,1439,1509,1627,1743,1763,2253,2368,1887,1543,1311,1333,1247,1429,1478,1520,1536,1455,1404,1406,1452,1479,1691,2183,2492,2143,1605,1717,1693,1515,1327,1438,1599,1597,1704,1670,1370,1443,1603,1493,1528,1508,1770,1893,2072,2518,2083,1561,1405,1592,1796,1815,1808,1643,1768,1633,1611,1426,1642,1497,1604,2004,2037,2471,2799,2216,1835,2332,1864,1772,1984,1859,2218,2220,1781,1683,2244,2381,2294,2438,2251,2453,2088,2543,1913,1441,1482,2252,2980,2880,2600,1882,1869,2154,1917,2137,2210,2802,2712,1831,1968,2026,1516,1848,2120,2193,2375,2363,2309,2085,1895,1675,1807,1975,2455,2342,1943,2020,2478,2530,2088,2165,2700,2768,2348,1810,2458,3077,3307,3073,2171,2762,3118,2693,2632,2766,2643,2785,2581,2398,1826,1998,2303,2265,1969,1816,1947,2212,2631,2734,1918,1656,1970,2053,2116,2324,2235,2125,1974,1722,1772,1850,2488,3206,2887,2013,1832,2198,2200,2573,2759,2128,2061,2119,2644,3790,3162,2258,2297,2015,2087,2024,2066,2369,2360,2061,1923,2287,2316,1743,1875,2320,2223,2480,2055,1430,2319,3123,2929,2310,1754,1455,1621,1909,2029,1947,1832,1353,1416,1647,1661,1589,1817,1816,1658,1980,2241,2072,1839,1460,1837,1678,1577,1847,1929,1809,1864,1926,1974,1791,1939,2158,2080,2083,2135,1825,1744,1860,1957,1654,1963,1815,2464,2488,1759,1802,1948,1793,1570,1620,1524,1706,1470,1344,1422,1460,1566,1555,1490,1626,1485,1435,1361,1325,1321,1473,1469,1363,1316,1400,1443,1383,1353,1440,1389,1330,1458,1360,1183,1387,1585,1875,1666,1655,1688,1626,1619,1499,1634,1469,1410,1969,1954,1904,2237,2089,2043,2244,2249,2159,2101,2135,2093,2106,2046,2081,1709,1726,1732,1718,1528,1391,1794,2160,2360,2076,1485,1282,1555,2076,2577,2646,2641,2685,2217,1796,2142,2298,2343,2722,3079,3254,3291,3118,3020,2961,2896,2942,3116,3288,3288,3133,3105,3748,3720,2532,2806,2536,1943,1930,1726,2440,2566,1918,1822,1702,1388,1345,1308,1189,1189,1377,1474,1475,1334,1607,1722,1635,1522,1442,1552,1498,1452,1483,1488,1443,1669,1654,1517,2373,2887,3112,3052,2130,1382,1364,1457,2177,3155,3188,3011,3200,3326,3180,2364,2257,2930,2446,1872,2007,1972,2341,2068,2375,2160,2041,1698,1591,1488,1447,1845,2436,2407,2448,2701,2692,2413,2108,1940,2093,2308,2588,2586,2031,1914,1934,2046,2323,2374,1952,2193,2127,2037,2029,2204,2343,2204,1951,1729,1734,1750,1954,2282,2243,2397,2069,2137,2800,2636,2247,2214,2625,3350,3016,2261,1898,1852,1995,1658,1747,2238,2470,2189,2974,3486,2872,2662,2742,2509,2469,2822,2309,2447,2442,2010,1896,1976,2604,2924,1989,1850,2587,2737,2424,2093,2821,2731,2781,2481,2001,1683,1615,1809,2500,3186,3450,2851,2931,3219,2017,1904,2663,2909,2929,2901,3015,3193,3012,2707,3089,3216,2772,2901,2853,2632,2603,2701,2480,2407,2791,2656,2451,2490,2778,2756,2950,2800,2432,1817,1573,1584,1780,1850,2096,2417,2343,1935,2064,1902,1712,2103,2108,2187,2558,2942,2928,2601,2376,2721,3185,3312,3012,2789,2000,1886,2072,2633,2853,2824,2591,2262,2257,2186,2062,2127,2359,2465,2343,1595,1360,1809,2082,2277,2061,1893,2639,2635,2158,2377,2267,2176,1922,1954,3150,3235,2900,3155,2541,2155,2229,2264,2247,2236,1995,1980,1588,1923,2807,3120,2492,2156,2349,2076,1751,1687,2316,2963,2966,2700,2166,2018,2143,2132,1957,2410,2371,1746,1685,2008,2534,2612,2131,2122,1922,1998,1803,1942,2007,1670,1681,1647,1555,1666,2092,2143,2800,3025,2213,2288,2200,2597,2559,2755,2502,2523,2299,1854,1631,1813,1660,1321,1392,1826,1797,1479,1638,1701,1605,1627,1814,1961,1966,1814,1541,1483,1388,1607,2073,1810,1717,1672,1468,1374],[2236,2238,2597,2622,2677,2324,2221,2310,1860,2223,2320,2806,3204,2545,2834,3118,2848,2832,3034,2995,3098,3311,2878,2681,2764,3130,3466,3626,3650,3850,3896,2848,2611,2269,1879,2890,3417,3327,3540,3714,4020,3859,3948,3959,3716,3415,3244,3235,3204,3235,3216,3291,3304,3210,3422,3351,3328,3451,3553,3354,3271,3228,2875,2523,2160,2264,2150,1881,2232,2721,3008,3164,3275,3371,3541,3710,3498,3284,3362,3404,2812,2871,3103,2821,2774,3287,3639,2728,2081,1797,1334,1294,1462,1401,1500,2410,2380,2674,3382,2911,2587,3206,3460,2469,2084,2590,2653,2447,2055,2284,2546,3053,3138,3019,2784,2612,2674,2873,2996,2967,3298,3123,2579,2476,2670,3154,3602,3792,4099,4311,4451,4266,3662,3329,3135,3124,3124,3203,3233,3028,2383,2405,2521,2715,2778,2630,2813,2842,2099,1776,1732,1969,3899,4716,3441,3195,4220,4014,3274,2894,2453,2361,1948,2117,1954,2054,2218,2133,1824,2191,2238,2248,2408,2148,1438,1359,1582,1637,1910,2232,2208,2056,1737,1710,1689,1926,2339,2577,2406,2117,1838,1970,2140,1958,1911,2648,2701,2342,2320,2570,2814,2792,2154,2419,3076,3138,2864,2738,2805,2633,2642,2338,2316,2918,2654,2138,1995,2117,2889,3614,2639,1930,2469,3081,2946,3097,2746,2764,2858,2398,2137,2467,3469,4284,3486,3581,3752,3605,2908,2420,2144,2166,2688,2778,2367,2425,2359,1936,1525,2192,2647,3027,2752,2253,2070,2013,2396,2741,2696,2626,2978,3384,3532,3605,3892,3891,3813,3982,3929,3695,3514,2994,1842,1461,1595,1678,1732,2444,3467,4030,3604,3685,3925,3178,2801,2868,3123,3405,3145,2789,3166,2790,2535,3422,3131,2513,2886,3037,3407,3824,3724,3384,2706,2048,1854,1807,2085,3506,4184,4131,4016,3663,2968,2757,3054,3065,2155,1755,2094,3129,3903,3724,3055,2624,2655,2763,2786,2483,2754,2367,1386,1442,1559,1892,1943,2614,2977,2456,2684,3203,2927,2219,2121,2095,1877,1862,1789,2095,2395,2335,1778,2126,2129,1839,1758,2132,2766,2822,2241,2164,2253,1956,1441,1710,2382,2396,2258,2083,2084,3044,3154,2345,2195,2138,2110,2169,2493,2413,2094,1742,1781,2035,2262,2698,2698,2401,2249,2294,2567,2700,2418,2396,2557,2203,2369,2089,1830,1802,1747,2185,2316,2359,2834,2585,2054,2167,2081,2126,2268,2491,2072,2042,2172,1832,2041,3042,3071,2019,1476,1179,1305,1579,2121,2149,2166,2447,2306,2452,2614,2460,2614,2236,1860,2084,2986,2874,3117,2922,2122,1866,1978,2185,2805,3746,3760,3483,3438,3553,3227,3118,3315,2595,1841,1902,1938,1730,1942,2029,2865,2995,2131,1938,2124,2215,2611,2575,2812,2776,2614,3083,3294,2978,2677,2269,2366,2898,3119,2545,2496,2425,2813,3020,2290,2032,2932,3511,2858,2451,2140,2309,2674,2551,2181,2380,2700,2458,2146,1960,2388,3161,2928,2767,3118,3232,2520,1975,2334,2887,3414,2845,2358,2287,2182,2381,2384,2112,1779,2137,2210,2088,2243,3420,4156,3462,2480,2469,2651,1790,1942,2315,2688,3061,2712,2907,3340,3716,3936,3781,3842,3762,3373,3110,2688,2909,2625,2452,2295,2253,2216,2258,2389,2447,2404,2437,2580,2674,2164,1615,2017,1760,1876,2110,2062,1561,1890,2272,1857,1401,1531,2078,2100,2377,3239,2278,1643,1681,1944,1954,1853,2642,2602,2385,2836,2698,2836,2898,2908,2548,2522,2321,2024,1920,2114,2983,2780,2070,2092,1856,1937,1892,1929,1939,1816,1869,2088,2075,1968,1362,709,1148,1730,1663,1592,1567,1324,1107,822,1180,1668,2201,2152,1787,1787,2210,1994,1724,2377,2046,1975,2668,2504,2112,1578,1653,1761,1808,2262,2143,2098,2662,2817,2740,2834,2288,2092,2710,2915,2568,2144,1923,2053,2456,2513,2199,2177,1930,2071,2512,2226,1923,1944,1968,2142,2273,2396,2386,2520,2706,2701,3008,3087,2569,2266,2221,2302,2197,2280,2580,2784,2740,2502,2277,2916,2619,2442,2222,2083,1996,2051,2406,2781,2967,2619,2401,2700,2659,2571,2446,2476,2408,1864,1952,2072,2460,2742,3177,2928,2382,2838,3207,2467,2287,2510,2369,2910,2801,2459,2311,2871,3298,2699,2231,1823,1712,2042,2079,2174,2615,2598,2419,3288,3253,2480,2777,3388,3340,3124,3300,3367,2579,2267,2797,2419,2513,2298,2350,2292,1984,2092,2371,2352,2357,2693,2467,2774,3160,2157,1633,1485,1481,1571,1461,1459,1455,1590,1678,1982,2187,2137,2055,1776,1653,1828,2607,3451,3163,2359,2662,2776,2388,2557,2438,2138,1990,2416,2494,2072,1834,1685,1719,1751,2106,2701,3082,2668,2719,1892,1593,1547,1462,1875,1952,2142,2214,2018,1738,1544,1576,1765,1785,1677,1554,1541,1504,1477,1433,1448,1460,1514,1508,1510,1610,1534,1314,1379,1367,1466,1508,1552,1421,1497,2023,1908,1544,1745,1878,2197,2270,2100,1915,2071,2408,2915,2693,1976,1435,1412,1538,1660,1962,2567,2546,2473,2723,2430,2766,3032,2602,1873,1629,2010,1985,2042,2812,3353,3244,3078,3051,2848,2941,2608,2214,2075,2076,1863,1561,1476,1549,1723,1631,1728,1765,1570,1424,1468,1333,1609,1914,1835,1731,1879,1879,1788,1847,1919,1592,1476,2088,2850,3162,3133,2546,2123,2221,2090,1845,1576,2088,2583,2359,1912,2072,1965,1540,1596,1643,1655,1731,1632,1644,1844,1952,1630,1288,861,689,901,927,1026,1460,1550,2242,2596,2099,1752,1952,2180,2352,2326,2323,2272,1779,1475,1749,1999,1871,1715,2249,2551,1758,1477,1544,1335,1379,1858,1879,1651,1549,1448,1859,2570,2461,1708,1930,1875,2219,2230,2129,2377,1802,1468,1569,2144,2877,3099,3176,2903,2354,2228,1914,2054,2204,2157,2085,2153,2330,2382,2373,2360,2155,2097,2432,1796,1626,1142,1958,2214,1843,1054,966,1273,1782,1955,1699,1714,1632,1549,1853,2916,3759,2996,1924,1498,1404,1546,1788,1859,1848,1663,1406,1193,1327,1976,2665,2540,2219,2666,2874,2267,1576,1835,1785,1694,1657,1747,1779,1643,1373,1506,1577,1568,1638,1628,1858,2172,1873,1638,1720,1718,1385,1370,1527,1612,1635,1753,1556,1333,1441,1535,1508,1409,1591,1669,1569,1650,1624,1582,1411,1510,1731,1857,2020,1823,1628,1545,1539,1626,1696,1548,1400,1604,1589,1672,2117,2048,1497,1415,1571,1668,1750,1471,1492,1831,1544,1346,1534,2114,1953,1686,2013,2436,2636,2842,2575,2129,2036,1996,2133,2181,1945,1836,1866,1726,1771,2377,2198,2282,2343,2428,2234,2175,2480,1950,1737,1848,2563,2822,2501,2382,1633,1606,2277,2434,2454,2171,2172,2106,1786,2292,2190,1622,1763,2245,2545,2040,2211,1949,2174,2288,1721,1428,1672,2042,2127,2040,2344,2365,1966,1742,1875,1767,1917,2055,2136,2651,2665,3033,2534,2191,2519,1898,2133,1700,1944,2578,2885,2466,2426,2680,2486,2040,2124,2094,1882,2019,2074,2365,2520,1769,1677,1744,1855,1981,2068,2024,2055,2064,2216,2336,1903,2320,2810,2492,2024,2086,2037,1837,1670,1840,1726,1473,1607,2879,4017,3021,2642,2007,1782,2036,2298,2259,2313,1921,1579,1626,1509,1498,1657,2208,2520,2397,2432,1762,1787,2580,2554,2199,2121,2066,1803,1883,1876,2189,1835,1766,1344,1676,2103,1923,1635,1702,1636,1611,2238,2601,2613,2888,2412,2304,1879,2010,1975,1931,1826,1609,1843,1920,1623,1838,1960,1964,2011,1997,2192,1982,1924,2026,1660,1576,1805,2497,2380,2084,2036,1658,1655,1713,1642,1454,1420,1790,1666,1295,1353,1571,1528,1637,1654,1406,1335,1387,1342,1255,1319,1302,1279,1424,1483,1414,1362,1270,1256,1210,1345,1376,1355,1412,1482,1578,1737,1736,1923,1956,1801,1832,1825,1592,1482,1864,2316,1813,1980,1956,1781,1955,1969,2156,2262,2126,1945,1849,1884,2121,2134,1650,1504,1592,2116,2276,2165,2160,1879,1798,1679,1403,1207,1426,1452,1673,2223,2609,2312,1958,2151,2316,2286,2223,2241,2531,3135,3225,3207,3105,3239,3365,3240,3306,3501,3364,3203,3625,3775,2923,2169,2622,2454,1876,1843,2360,2469,1730,1822,1875,1586,1346,1336,1241,1186,1260,1782,1764,1427,1282,1328,1450,1744,1678,1360,1444,1438,1526,1427,1426,1737,1558,1368,1420,1775,2100,2500,2673,1916,1366,1410,1656,2750,3092,3252,3190,2845,3249,3297,2517,2279,2184,1708,2003,1771,1965,1941,1294,1699,2198,1912,1625,1685,1542,1834,2477,2275,2029,2362,2542,2530,2425,2284,2231,2728,2728,2578,2340,1958,1970,1756,1985,2400,2565,2470,2228,1910,1814,1653,1853,2275,2157,1761,1606,1514,1633,1913,2225,2053,2067,1939,2096,2350,2319,2343,1991,2397,3051,2454,1982,2358,2571,2064,1606,1948,2205,2239,2260,2585,2756,2669,2924,2896,2482,2362,2975,2253,2244,2314,1871,2140,2556,2953,3021,2500,2128,2442,2364,2144,2399,2684,2208,2244,2326,1999,1738,1756,1894,2454,2497,3199,2360,2974,3364,2811,2730,2712,2536,2511,2765,2695,2524,2407,2459,2662,3042,2858,2786,3033,2986,2833,2869,2758,2929,3106,2792,3062,2472,2315,2547,2626,2332,1868,1687,1386,1185,1635,2232,2294,2202,1931,1770,2081,2022,2099,1939,1919,1975,2004,2302,2415,1973,1771,2498,2819,2532,1937,2495,2468,2332,2432,2718,2912,2666,2044,2200,2128,1946,2072,2220,2285,2458,1827,1042,1364,1986,2410,2643,2307,1947,2041,1942,2088,2380,2231,2402,1536,1570,3309,3532,3332,2689,2142,2131,2210,2391,2047,2028,1606,1474,1739,2493,3243,3440,2709,2630,2446,2122,1932,1651,2204,2523,2658,2561,1740,2124,2471,2299,2221,2350,2185,1892,1790,2083,2567,2465,2036,2274,2070,1628,1777,2118,1850,1653,1699,1782,1802,1836,1907,1870,2608,2751,2293,2428,2813,2496,2048,1735,1958,2403,2242,1924,1744,1990,1891,1899,1852,1864,1709,1576,1724,1518,1587,1890,1756,1666,1598,1566,1580,1636,1587,1603,1826,1750,1717,1606,1487,1623],[2734,2543,2588,2600,2511,2166,1970,2645,2508,2440,2222,2673,3211,2648,2663,3382,3361,3012,2795,2574,2805,2938,2636,2458,2529,3011,3382,3393,3607,4083,3896,3326,2399,1735,2171,3108,3842,3480,3470,3614,3698,3709,3747,3547,3385,3482,3397,3278,3131,3172,3270,3392,3420,3436,3589,3553,3616,3636,3579,3574,3460,3361,3157,2639,2380,2399,2327,2366,2474,2967,3480,3421,3216,3226,3430,3688,3398,3155,3291,3219,2887,2775,3336,3563,3500,3729,3576,2705,2163,2014,1460,1260,1204,1271,1780,2469,2470,2908,3343,2884,2619,3021,3084,2639,2592,2986,3474,3255,2640,2494,2853,3137,3287,3312,3065,2871,2808,2855,3089,3175,3486,3110,2300,2383,2139,2733,3603,3962,4211,4354,4460,4223,3625,3385,3217,3285,3278,3151,3202,3038,2764,2786,2719,2696,2909,2846,2720,2600,2080,2081,1770,1875,3824,4318,3805,3704,4091,4257,3815,3227,2336,1988,1864,2530,2368,2349,2381,2065,2140,2388,2361,2214,2294,2181,1700,1401,1593,1863,2160,2512,2330,2114,2221,2112,1946,1916,2051,2315,2360,1987,1817,2161,2210,2076,1941,2232,2430,2449,2558,2449,2416,2579,2287,2113,2404,2421,2664,3732,3876,3274,2954,2589,2370,2829,3011,2841,2976,3173,3291,3415,3055,2564,2944,2766,2364,3308,3254,2498,2486,2263,2366,2765,3347,4227,3817,3261,3177,3251,2835,2258,2055,2085,2675,2943,2186,2210,2476,2267,2263,2586,2378,2523,2428,2515,2276,2047,2475,3024,2997,2591,2972,3571,3532,3619,3739,3739,3814,3907,3765,3601,3398,2585,1813,1854,1845,2360,2781,3764,4220,3972,3493,3634,3804,3143,2695,2811,2902,2923,2969,2620,2951,3055,3329,3504,2414,1880,2204,2646,3450,3821,3660,3505,2379,2214,2438,2286,1838,2166,3258,3885,3964,3538,3061,3029,2611,2198,1351,1004,1290,2735,3740,3865,3131,2884,2609,2446,2444,2420,2296,1776,1397,1897,2176,2880,2885,3062,2631,2682,3416,3278,2452,1838,1834,1778,2107,2113,1994,1873,1865,1680,2008,2530,2277,1639,1541,1907,2392,2693,2590,2381,2114,2027,1392,1353,1841,2099,2360,2281,2272,2568,2091,2012,2046,1887,1741,2130,2832,2813,2194,1969,2339,2200,2433,3061,2556,2253,2173,2435,2899,2968,2481,2123,2313,2604,2564,2214,1901,1742,2157,2380,2391,3064,2792,2214,1790,1709,1882,1933,1973,1855,1948,2127,1778,1775,2194,3204,2441,1944,1489,1444,1826,1865,2059,2072,2265,2814,2485,1891,1857,1793,1902,1841,1798,2304,2592,2163,1924,2174,2486,2494,2681,2680,2412,2539,2442,2495,2658,2686,2352,2255,2357,2043,1714,1884,1910,1654,2019,2381,3194,2563,2084,1929,1964,1913,2003,2120,1970,1937,2356,3073,3234,3054,2988,2721,2353,2335,2843,3107,2828,2555,2750,2589,2211,2138,2375,2717,2920,2409,1916,2744,2808,2521,2514,2382,2143,2331,2265,1972,2595,2985,2954,3144,3091,2790,1879,1627,1982,2642,3209,2651,2014,1995,1847,2056,2220,1591,1779,2226,2231,2098,2391,3488,4108,3557,2599,2531,2996,2365,2556,2413,2844,3078,2823,2499,2590,3068,3349,3590,3683,3674,3588,3319,2832,2745,2598,2538,2561,2511,2431,2362,2377,2476,2619,2686,2436,2219,1804,2154,2442,2457,2254,2126,1908,1575,1979,2121,1558,1496,1865,1816,1677,1865,2135,2068,1806,1828,1974,1887,1810,2002,2258,2471,2299,1982,2240,2684,2187,1702,2225,2311,1826,1531,1927,2785,2492,2022,1786,1610,1686,1748,1620,1963,2636,2951,2463,2117,2050,1305,644,1164,1732,1693,1804,1918,1571,1091,1178,1886,2339,2441,2095,1690,1796,2109,1783,1796,2287,2032,2205,2612,2287,2107,1686,1408,1540,1581,1724,1997,1874,2475,2696,2646,2631,2389,2336,2947,2957,2523,2455,1933,1918,2367,2625,2366,2198,1736,2053,2373,1720,1317,1345,1442,1743,1719,1819,1823,3032,3319,2589,2965,3124,2660,2591,2791,2737,2467,2354,2438,2426,1873,1384,1298,2057,2220,2352,2314,2288,2244,1984,2335,3196,2833,2268,2588,2554,2462,2538,2463,2580,2281,2056,2124,2280,2571,2424,2731,2341,2032,2601,2633,2248,2342,2019,2564,3352,2625,2223,2652,2859,2843,2130,1917,1290,1250,2115,2126,2212,2418,2430,2733,3147,3117,3002,3284,3387,3479,3606,3491,2777,2322,2237,2602,2636,2278,1829,2287,2585,2549,2226,2311,2385,2403,2365,2364,2593,2553,2014,1698,1533,1866,1787,1394,1533,1481,1634,1677,1779,2075,2460,2496,2121,2241,2713,2900,3067,2879,2072,2184,2184,2135,2718,2434,2221,2203,2547,2218,2018,2082,1837,2039,1989,2068,2319,2663,2326,2350,2546,2592,2137,1831,1854,1759,1861,1975,1803,1635,1762,1914,1866,1607,1530,1548,1516,1421,1391,1617,1637,1455,1452,1525,1427,1451,1438,1479,1462,1427,1391,1416,1410,1375,1470,1416,1498,1562,1668,1843,2114,2267,2200,2493,3054,3646,3328,2294,1674,1691,1851,2081,2276,1969,2073,2790,2401,2425,2384,2469,2656,2410,1884,2262,2786,2645,3087,3541,3488,3152,3021,3107,3221,3217,2986,2702,2395,2085,1808,1428,1612,1806,1711,1359,1296,1434,1554,1514,1600,1626,1658,1907,1857,1864,1957,1857,1947,1888,1955,1500,1613,2508,3183,3410,3342,2592,1906,2283,2168,1862,1672,2323,2668,2680,2477,2669,2358,1721,1388,1391,1578,1753,1701,1833,2072,1846,1942,1860,1386,1076,1326,1209,825,838,1040,1850,2442,2040,1709,2079,2734,2718,2208,1990,1775,1464,1804,2128,1820,1758,2009,2061,1873,1672,1610,1325,1238,1466,2047,2316,2162,1863,1703,2126,2524,2142,1561,2129,1964,2147,2400,2215,2493,2476,1959,1531,1832,2468,2771,2714,2464,2176,2182,1584,2020,2481,2331,2457,2524,2214,2188,2432,2515,2264,2277,2873,1970,2114,1616,1639,1809,1362,1247,1802,2409,2911,2653,1771,1550,1436,1476,1849,2571,3620,3529,2121,1290,1502,1669,1804,1753,1508,1236,1109,1212,1371,2006,3064,2771,2197,2468,2962,2976,1747,1783,1733,1487,1411,1727,1823,1764,1717,1672,1576,1736,1846,1370,1421,1664,1457,1423,1743,1829,1444,1415,1540,1470,1460,1807,1920,1550,1496,1746,1868,1593,1454,1578,1510,1530,1503,1475,1694,1957,1975,2041,2435,2174,1715,1550,1612,1482,1479,1585,1608,1653,1601,1525,1757,1971,1718,1887,1775,1740,1764,1732,1720,1531,1249,1182,1167,1308,1512,1700,2115,2601,3206,3426,3516,2753,2048,2023,2269,2091,1808,2094,2215,2339,2352,2177,2201,2453,2244,2397,2274,2229,2470,2444,1841,1838,2669,2485,1976,2025,1756,1729,2444,2875,2794,2297,2023,1856,1792,1627,1416,1615,1523,2066,2133,2198,1972,1614,2157,2053,1659,1579,1479,1791,2331,1904,2296,2152,1919,1910,1868,1661,2070,2502,2535,2285,2429,2618,2246,2461,2351,2056,1831,1462,2149,2690,2874,2247,2405,3035,2272,1790,2343,2165,1873,1742,1778,1785,1865,1686,1738,1651,1514,1649,1851,1641,1668,2053,2092,2436,1797,1762,2193,2228,1990,2081,2001,1559,1488,1816,1953,1666,2096,3481,3648,2476,2283,1986,1739,1866,2250,2474,2475,1951,1584,1429,1234,1214,1510,1854,1832,2064,2302,1797,1642,2116,2681,2533,2147,2732,2514,2403,2129,1944,1991,1647,1425,1611,1663,1619,1626,1497,1305,1782,1923,1723,1708,2043,2197,2498,2176,1990,1751,2006,2370,2205,2314,2093,1885,2144,1938,1964,1903,1893,1971,1868,1838,1923,2058,1969,2029,2382,2167,2534,2377,2076,1998,1797,1635,1490,1394,1759,1652,1216,1286,1406,1374,1444,1232,1372,1366,1372,1321,1260,1196,1184,1238,1375,1432,1471,1422,1382,1299,1420,1411,1361,1545,1731,2034,2018,1855,2264,2360,2169,1969,2238,2387,1957,1909,2418,2305,1810,1982,2064,1802,1620,1775,1984,2040,2004,1740,2031,2136,1900,1794,1710,1769,1925,2541,3119,2693,2289,1703,1502,1767,1339,1094,1104,1100,1117,1343,1843,2133,2143,2070,1958,2131,1937,2202,2654,3175,3464,3326,3033,3227,3458,3492,3646,3750,3715,3753,3610,2769,2376,2434,2728,2757,2493,2151,2412,2248,1854,2165,1670,1464,1276,1419,1306,1286,1319,1409,1410,1408,1300,1301,1494,1690,1486,1278,1508,1485,1422,1372,1486,1528,1347,1315,1434,1554,1505,1719,1752,1470,1366,1464,1754,2709,3432,3830,3307,2775,2963,2791,2380,2153,2086,2082,2455,1889,2087,2219,1747,1510,1816,1993,2095,1882,1722,2359,2662,2313,1939,1931,2286,2673,2776,2609,2798,3052,2891,2477,2503,2264,1986,1913,2221,2482,2674,2482,2223,1792,1730,1736,1625,1812,1924,1924,1716,1609,1951,2438,2316,1897,2289,2597,2472,2599,2689,2517,2065,2196,2391,2175,2185,3122,3459,2894,2653,2621,2778,2407,2304,2291,2601,2844,2730,2534,2438,2414,2756,2667,2652,2614,2423,2570,2907,2951,2934,2997,2702,2562,2500,2830,2847,2507,2103,2064,2526,2180,1860,1896,1577,2547,2990,2975,2732,2810,2668,2518,2719,2898,2210,2209,2429,1932,1911,1984,2420,2689,3038,2969,2908,3046,3184,3231,2935,2223,2547,3087,3222,3188,2534,2334,2676,2530,1984,1865,1869,1601,1426,1720,2578,2593,1960,1617,1608,2046,2185,1911,1714,1670,1669,1937,2089,1981,2238,2206,2320,2482,2539,2455,2621,2684,2724,2846,2805,2613,2102,2050,2581,2113,2119,2218,2383,2490,2379,2061,1889,2170,2444,2416,2395,2045,1693,1741,1998,2150,2295,2029,2303,1969,1733,2549,3453,3382,2577,2461,2387,2363,2407,1879,2128,1380,1211,2192,2932,2645,2214,2458,2633,2247,2022,1859,1794,1942,2077,1937,2074,1806,1892,2268,2348,2286,2233,1693,1814,2030,2055,2277,2435,2502,2438,2106,1575,1270,1697,2045,2005,1792,1971,2046,2256,2654,2200,2147,2271,2116,2341,2735,2774,2591,2469,2679,2521,2174,2050,2220,2293,2227,2033,2099,1958,1894,1987,2161,1938,1731,1742,1755,1678,1597,1447,1496,1705,1607,1486,1586,1627,1571,1465,1582,1592],[2729,2793,2634,2199,2013,2096,2470,3263,3686,2927,2256,2610,3020,2654,2548,3308,3371,3162,2756,2491,2569,2663,2677,2662,2786,3021,3090,3070,3579,3896,3723,3831,2985,1908,2612,3032,3539,3395,3274,3319,3547,3707,3538,3340,3395,3563,3274,3163,3255,3145,3039,3225,3344,3438,3710,3772,3768,3694,3641,3649,3619,3467,3239,2580,2180,2117,2125,1795,1776,2756,3591,3638,3475,3305,3387,3582,3410,3374,3222,3372,3158,3137,3461,3658,3795,3420,2663,2657,2277,2458,1955,1487,1327,1304,2177,2951,3011,3472,3729,3200,2531,2490,2859,3270,3596,3773,3720,3283,3053,2955,3254,3603,3492,3422,3327,3439,3190,2998,3064,3163,3312,2912,2603,2764,2672,3177,4024,4377,4364,4379,4376,4207,3733,3316,3216,3299,3338,3328,3378,3241,3348,3792,3584,3195,3370,3247,2819,2147,1822,2278,2896,3463,4017,4096,4052,4159,4236,4252,4057,3204,2581,2070,2385,2898,2718,2786,2225,2057,2646,2997,2754,2040,1987,2047,2326,2125,1954,1797,1625,1805,1880,2209,2573,2578,2389,2129,2060,2018,1794,1818,1858,2164,2150,2086,1989,1721,1907,2025,2010,2075,1825,2087,2302,1908,2216,2164,2522,3205,3248,2744,2598,2981,3172,3341,3138,3063,3225,3406,3935,4318,3871,3222,3266,2756,2746,3729,3216,2359,2651,2536,2433,2675,3544,4300,4240,3001,2940,3482,2899,2175,1930,2053,2325,2667,2329,2681,2688,2135,2849,2977,2390,2117,1867,1955,1996,2307,2603,2652,2876,2805,3096,3500,3474,3330,3310,3676,3879,3603,3528,3630,3370,2372,1818,1718,2177,2986,3882,4456,4299,3991,3636,3666,3772,3006,2880,2985,3068,3112,2829,2215,2170,2562,3174,3162,2273,1925,2203,2115,2290,2967,3365,3435,3504,3777,3212,2889,2501,1870,2113,3003,3870,3662,3134,2588,2070,2035,1225,897,1802,3083,3607,3450,3316,3118,2590,2757,2908,2284,2099,1855,1658,2127,2222,2475,2908,3225,3149,3360,3270,2409,1756,1836,1745,1647,1753,2287,2360,1942,1812,1735,1920,2059,2157,1664,1624,1716,1612,1918,2090,2123,2221,1763,1360,1377,1870,2258,2558,2966,2501,2219,2570,2852,2070,1780,1896,2070,2038,2002,2120,2259,2463,2141,2364,2600,2311,2054,2484,2796,2715,2590,2385,2006,2101,2451,2007,1674,1754,1652,2207,2398,2751,3039,2290,1775,1729,1830,2150,2318,2053,1757,1956,1897,1589,1456,2218,2663,1995,1858,1657,1847,2170,2285,2478,2380,1781,1991,1803,1336,1198,1578,1776,2145,2549,2780,2690,1867,1909,2566,2984,3186,2809,2587,2079,2070,2148,2323,2253,1949,1852,1856,2102,1813,1773,1814,1729,1692,1794,2819,2850,2248,2296,2270,2142,1771,1446,1708,1585,2081,2736,2823,2831,2857,2928,2865,2823,2514,2231,2607,2898,2678,2350,2127,1934,2068,2230,2753,2714,2018,2308,2704,2232,1937,2168,2405,1866,1742,1732,1857,2471,2771,2903,2841,2763,2834,2360,2098,2342,2471,2956,2237,1860,2144,2098,2120,2028,1606,2010,2261,2220,2092,2409,3496,3937,3417,2765,2439,2902,3019,3131,2706,2640,2771,2416,1894,2086,2565,2879,3713,3702,3281,3514,3308,2916,2898,2932,2894,2911,2901,2828,2706,2579,2670,2851,2699,2405,1979,1884,2536,2676,2524,2366,2357,1964,1677,1813,1974,1837,2208,2313,1802,1730,1722,1856,1980,1908,1953,1880,1842,2316,2170,2018,1930,1926,1808,2062,2009,1798,1595,1918,2286,2040,1805,1952,2499,2393,2028,1892,1698,1864,1771,1683,2029,2774,3419,2885,2032,1946,1495,1145,1727,1956,2330,2387,2026,1625,1280,1770,2351,2325,2019,1850,1976,2162,1921,2011,1980,2553,2603,2044,2131,2712,2597,1839,1448,1786,1949,2034,2264,2183,2579,2675,2379,2956,2846,2338,2770,2676,2100,2276,2269,2434,2867,2918,2625,2101,1932,2236,1964,1535,1473,1332,1493,2080,2208,2344,3121,3817,3398,2823,2880,2930,2989,3087,2708,2070,1792,1804,1831,2408,2079,1664,1753,2129,2223,2222,2230,2252,2200,1981,2491,3128,2450,2343,2563,2544,2604,2497,2221,2136,1991,2204,2568,2045,1991,2341,2456,2236,2129,2481,2269,2546,2552,2080,2745,3333,2945,2792,2725,2602,2209,2156,1854,1694,1572,2392,2302,2100,2215,2343,2834,2888,2624,2373,2995,3686,3828,3957,3149,2185,2119,2327,2331,2267,2114,2237,2557,2244,2243,2059,2218,2867,2930,2382,2315,2377,2070,1970,1771,1840,2276,1769,1663,1543,1842,2050,2021,1892,1999,2448,2618,2264,2009,2251,2779,2750,2569,2122,2193,1904,2378,2876,2533,2259,2513,2722,2382,2360,2119,2077,2137,2019,2113,2092,2291,2428,2355,2757,2834,2140,2062,1699,1469,1724,1976,1576,1866,2260,2287,2042,1576,1462,1448,1389,1483,1444,1669,1548,1443,1650,1689,1467,1443,1756,1665,1555,1597,1424,1336,1305,1421,1484,1538,1669,1626,1793,1882,2011,2214,2834,3562,3769,3645,3061,2313,2108,2091,2330,2590,2611,2315,1827,2317,2273,2231,2460,2341,2210,2480,2220,1987,2579,3470,3573,3453,3286,3086,3075,3167,3286,3297,3168,3084,2917,2513,2046,1513,1481,1716,1738,1627,1548,1414,1303,1366,1606,1724,1958,2253,2047,1843,1852,1842,1890,1719,1825,1823,2127,2613,2946,3131,2967,2918,2652,2223,1978,1738,1887,2222,2534,2600,2398,2393,2459,1889,1290,1104,1422,1715,1643,1691,2167,2321,2303,2272,2018,1753,1987,1402,838,1013,990,1356,1818,1986,1971,1483,2170,3035,2728,2105,1682,1556,1888,1773,1333,1423,2032,1978,1583,1860,1650,1322,1287,1372,1755,2233,2374,1998,1589,2269,2666,1701,1694,2027,1966,2288,2000,1699,2281,2434,2303,2049,1876,2092,2421,2547,2183,2050,2144,2004,2577,2819,2630,2873,2434,1593,1835,1913,2452,2624,2468,2010,1766,2396,2202,1675,1860,2182,2436,2969,3134,2887,2194,1736,1482,1586,1914,2081,2255,3053,3710,2785,1417,1382,1336,1579,1705,1583,1616,1491,1426,1464,2128,3027,2728,2265,2532,2812,2810,1804,1600,1581,1461,1290,1386,1597,1833,1823,1646,1566,1764,1754,1458,1520,1728,1453,1210,1449,1744,1851,1736,1516,1415,1490,1903,2162,1760,2032,2502,2767,1948,1512,1615,1531,1594,1610,1638,1856,1693,1744,1787,2279,2467,2213,1852,1692,1638,1693,1805,2010,2156,1749,1458,1520,1845,1887,1976,1778,1791,1845,1710,1688,1561,1343,1487,1680,1690,1597,1842,2166,2350,2989,3417,3722,2777,1784,2220,2495,2023,1830,2224,2335,2867,2868,1990,1612,1835,2380,2721,2414,2231,2422,2152,1966,2231,2518,2406,1917,1775,1691,1794,2270,2690,2965,2801,2345,2016,2505,2002,1667,1490,1784,2358,2389,2620,2172,2158,2332,1827,1734,1667,1629,1626,1808,1643,1824,1731,2181,2091,1805,1713,1747,2090,2310,2285,2788,2684,2366,2498,1972,1987,1770,2032,2633,3021,2648,2030,2399,2308,1508,1549,2114,1996,1717,1687,1696,1742,1919,1790,1980,2185,1824,1861,2155,1697,1935,2393,2014,2415,2114,2222,2253,2224,2103,2158,2116,1931,1597,2144,1812,1528,2282,3009,2730,2235,2206,1837,1356,1709,2330,2519,2335,1662,1274,1029,1017,1154,1378,1572,1519,2172,2408,1898,2089,2587,2943,2550,2241,2902,2499,2386,1854,1654,2034,1804,1737,1641,1569,1604,1619,1381,1324,1765,1542,1421,1190,1008,999,1783,2322,2060,1719,1995,2444,2286,1788,1871,2048,2170,1820,2311,2259,2406,2299,1838,1763,1808,1892,1873,1795,1787,1935,2237,2043,2559,2780,2272,1696,1531,1497,1542,1456,1297,1360,1512,1502,1266,1233,1309,1315,1339,1357,1306,1256,1218,1248,1495,1528,1455,1334,1258,1305,1395,1402,1455,1490,1798,2297,2054,1971,2442,2220,2157,1976,2276,2530,2452,2285,2172,1886,1636,2152,2060,1619,1504,1810,2310,2095,1871,1791,2002,1888,1570,1601,1555,1677,2312,2775,2896,2432,1853,1596,1430,1445,1226,1126,1090,1068,1185,1677,2254,2386,2179,1755,1537,2083,2115,2249,2040,2631,3107,2820,3060,3429,3544,3597,3601,3613,3487,3087,2185,1568,1948,2479,2824,2814,2590,2227,2345,2489,1736,1876,1430,1503,1391,1368,1331,1343,1317,1241,1447,1596,1359,1291,1286,1197,1192,1289,1470,1431,1422,1417,1285,1171,1269,1268,1311,1370,1428,1532,1472,1405,1378,1463,1719,2630,3905,4148,3646,3162,2980,2778,2006,1813,1761,2155,2656,2393,2644,2879,2350,1699,1632,1874,1979,1686,1969,2358,2075,2163,2104,1943,2327,2846,2798,2651,2779,2656,2436,2033,2899,2446,1820,1822,2155,2298,2249,2636,2608,1739,1604,1600,1604,1744,1898,2116,1920,1632,1816,1845,1777,1964,2779,3396,2905,3056,2789,2408,2336,2247,2490,2253,2309,3355,3770,3990,4188,3306,2665,2140,2578,2322,2741,2689,2376,2615,2626,2561,3133,3598,3240,2589,2389,2580,3032,3122,3006,3096,3118,2927,2751,2683,2436,2353,2195,2047,2712,2713,2272,2466,2510,2932,3186,2971,2735,2270,2031,2281,2420,2839,2451,2784,2804,2452,2317,2061,2092,2410,2731,2741,2889,3018,2902,2807,2673,2478,3150,2820,3087,3312,2896,2896,2997,2524,2237,2536,2488,1880,1527,1667,2145,1931,1545,1616,1889,2280,2348,2084,1836,1686,1610,1636,1686,1930,1876,1879,2192,2502,2541,2912,3020,2726,2899,2925,2808,2321,1908,2254,2269,2263,2149,2172,2268,2541,2370,2023,2028,2614,2768,2601,2304,1925,2104,2416,2117,2055,2073,1965,2156,2088,1775,1859,2543,2935,2675,2307,2171,2023,2002,2104,2351,1715,1788,2272,2346,2495,2809,2985,2460,2164,1925,1935,1996,1695,1746,1647,1880,2238,2098,2368,2603,2214,2040,1702,1742,2065,1972,1770,1775,1957,1957,1770,1546,1526,1637,1860,1938,1721,2073,2259,2080,2059,2261,2676,2282,2103,2438,2604,2778,2645,2535,2669,2274,2364,2290,2373,2212,2172,1900,2028,2503,2309,1834,2033,1938,2040,1810,1730,1846,1792,1660,1699,2026,2010,1694,1633,1642,1618,1585,1848,1678],[2745,2466,2438,2171,2335,2391,2514,2800,2990,2719,2601,2487,2453,2707,2959,3207,2996,3022,2852,2751,2880,2833,2853,3082,3137,3231,3144,2956,3514,3684,3890,3975,2755,2127,2785,2862,2927,3177,3318,3375,3546,3715,3492,3487,3632,3560,3292,3303,3584,3052,2612,3012,3422,3779,3836,3587,3618,3650,3639,3785,3608,3618,3437,2837,2320,2265,2055,1448,1625,2764,3573,3873,3992,3719,3426,3460,3430,3474,3532,3828,3834,3737,3752,3834,3905,3344,2377,2619,2419,2774,3089,2667,1963,1941,2811,3281,3405,3808,3964,3406,2742,2762,3130,3550,3799,3597,3222,2955,3181,3462,3647,3737,3663,3764,3918,4093,3418,3212,3097,3056,3207,3090,2687,2612,2919,3450,4165,4480,4467,4426,4420,4105,3627,3238,3251,3304,3297,3466,3630,3543,3616,3981,3767,3724,3691,3401,2687,1802,1754,2621,3761,4331,4029,3552,3321,3838,3842,3737,3738,2444,1528,1686,2785,3204,3046,2497,2203,2921,3398,3217,2947,2158,2166,2074,2276,2006,1876,1673,1699,1853,2121,2381,2609,2356,2242,2172,2238,2291,2093,1915,1809,2120,2372,2316,2059,2152,2872,3064,3327,3112,2237,2053,2259,1999,2083,2085,2376,2419,2270,2270,2314,3216,3506,3561,3250,3347,3637,3754,4540,5153,4629,3655,3009,2724,3144,3629,3165,2357,2468,2440,2422,2508,3661,4326,4229,3404,2877,2796,2415,2416,2081,2097,2327,2443,2344,2439,2637,2644,3300,3015,2382,2082,1891,2295,2592,3317,3638,3228,2941,2773,3172,3620,3427,3164,3491,4112,4265,3702,3614,3735,3152,2641,2521,2402,3013,3763,4232,4360,4221,3893,3488,3509,3435,2840,2937,2919,3228,3209,2862,2576,2243,2171,2322,2363,2353,2143,2320,1984,2115,2533,3207,3007,3254,3768,3416,3094,3037,2460,2207,1924,2741,2856,2840,3005,2736,2333,1698,1864,3042,3675,3709,3899,3642,3099,3496,3097,2557,2112,2413,1994,1908,2099,2337,2929,3108,2923,3366,3409,2796,1691,1585,1522,1672,1682,1579,2216,2277,2099,2193,2219,2157,1867,1958,1700,1708,1399,1185,1662,1822,2452,2452,1697,1480,1694,2398,2387,2300,2335,1964,1362,2136,2249,2078,2202,2150,1990,1825,1935,2301,2536,2641,2266,2185,2307,2632,2424,2482,2484,2026,2120,2454,2312,2233,2218,2019,2046,1765,1592,1898,2039,2067,2229,1960,1635,1759,1904,2159,2164,1879,2141,2249,1819,1650,1677,2293,2279,1932,1964,1998,2119,2512,2885,3087,2821,1617,1276,1100,1098,1350,1577,1659,2742,3514,3244,2770,1862,1937,1944,2637,3194,2954,2546,2021,1979,2167,2220,2132,2021,1866,2054,2410,1878,1803,1817,1553,1782,2075,2841,2563,2234,2310,2219,2088,1910,1588,1476,1381,2133,2631,2508,2524,2574,2640,2802,2894,2485,2397,2209,2404,2777,2502,1942,1874,2239,2260,2654,2499,2377,2757,2361,2154,1927,1937,2014,1496,1239,1437,1880,2133,2168,2486,2735,2802,3031,2700,2262,2425,2492,2752,2021,1860,2088,2027,1989,1859,1918,2160,2244,2379,2262,2204,2805,3091,3014,2821,2622,2609,2647,2924,2673,2562,2545,2232,2099,2470,2630,2843,3786,3659,2987,3285,3333,2941,2888,2981,2975,3055,3056,3168,3121,2920,2929,2907,2646,2322,1985,2194,2921,3019,2325,2004,2189,2148,1998,2080,2266,2365,2351,2105,2241,2273,1976,1906,1945,2055,1871,2019,2174,2257,1547,1583,1984,2026,2002,2077,2059,1969,1793,2030,1980,2185,1955,1582,1764,2051,1912,1821,1680,1784,1950,2132,2678,3304,3232,2611,2104,1841,1756,1780,1827,1880,2435,2443,2101,1716,1588,1841,1990,1719,1131,1178,1754,1770,1904,2218,1996,2445,2469,2206,2929,3249,2694,2057,2137,2701,2171,2237,2279,2142,2771,3130,2561,2789,3047,2414,2534,2496,2557,2462,2352,2709,2741,2614,2645,2458,2269,2289,2405,2127,2282,2226,2315,2523,2460,2643,3119,3308,2889,2614,2613,2507,2701,2383,1660,1627,1777,1822,1879,2730,2898,2663,2384,2186,2041,2170,2542,2111,1896,1759,2558,2719,2415,2525,2618,2424,2263,2263,1971,1860,2255,2446,2921,2653,2185,2577,2513,2611,2921,2647,2250,2407,2524,2485,2734,2978,2996,2868,2828,2483,1896,2055,2057,2545,2515,2439,2390,2270,2362,3131,3320,2651,2049,2045,2325,3196,3196,3074,2658,2023,1876,2203,2071,1884,1994,2094,1743,1906,2080,2045,2894,3532,3051,2511,2350,2453,2401,2474,2099,2509,2531,1874,2222,2198,2208,2332,2089,1688,1868,1917,1729,1886,1840,2113,2453,2287,2500,2632,2139,2199,2647,2730,2872,2435,2652,2741,2667,2208,2109,2361,2465,2585,2611,2322,2210,2132,2241,2810,2812,1908,1911,1571,1549,2195,2316,1943,2109,2066,1935,1948,1672,1566,1515,1721,1794,1579,1524,1452,1509,1565,1657,1716,1472,1475,1599,1722,1592,1437,1442,1260,1477,1568,1531,1617,1706,1746,1780,2307,3152,3914,4337,3995,3658,3474,3131,2744,2171,2527,2659,2537,2437,1919,1697,1947,2088,2330,2604,2310,2216,2017,2248,2040,2679,3178,3306,3196,3082,3115,3182,3182,3165,3232,3211,3032,2885,2676,1704,1198,1478,1259,1247,1526,1654,1596,1427,1301,1499,1857,1999,2051,1931,1864,1854,1855,1829,1874,1834,2009,2262,2485,2998,3172,2996,2593,2078,1816,1568,1811,2477,3072,3124,2486,2397,2756,2311,1594,1631,1863,2104,2282,2435,2214,2203,2402,2471,2033,1835,1785,1450,1282,1492,1186,1426,1807,2200,2041,1664,2446,3199,2962,2156,1755,1691,1737,1494,1360,1259,1282,1273,1759,1847,1346,1405,1522,1362,1525,1672,1543,1599,1569,2375,2498,1514,1913,2104,2043,2400,1707,1757,2425,2101,1769,2019,2045,2230,2264,2055,1919,2121,2204,2094,2193,2544,2759,3372,2192,1387,1780,2096,2396,2723,2422,1699,1659,2197,2356,1897,1626,2546,3044,3054,2504,1876,1520,1659,1668,1880,2130,2178,2192,2437,3078,2814,1455,1086,1349,1761,1857,1690,1722,1757,1749,2021,2587,2607,2668,2925,2756,2784,2509,1990,1520,1228,997,926,977,1289,1737,1991,1801,1587,1526,1760,1683,1961,2145,1713,1230,1201,1544,1884,1542,1461,1588,1802,1819,1792,1719,2330,2532,2346,1879,1477,1262,1336,1637,1929,1736,1857,2101,1779,1599,2080,2557,2441,1822,1477,1722,1930,1896,2288,2379,1781,1610,1610,1555,1688,1819,1635,1463,1552,1619,1652,1517,1506,1655,1730,1680,1681,1883,1834,2307,2914,3007,2883,2281,2120,2648,2413,1804,1795,2056,2204,2844,2625,1910,1625,1736,2480,2785,2626,2531,2309,2068,2005,1810,1757,2146,2017,1807,1652,1839,2092,2169,2380,2349,1943,2205,2499,2424,2535,2231,2396,2439,2634,2750,2675,2875,2571,1630,1500,1087,1027,1842,1461,1223,1719,2192,2185,1887,1835,1764,1649,1587,1758,2035,2266,2408,2061,2430,2106,1735,2208,2631,2925,2957,2264,2272,2858,2401,1856,1852,2285,2271,1902,1792,1736,1886,1870,1751,2084,2182,1706,1730,1969,1640,2087,2282,1623,1587,2046,1905,1720,1836,2194,2269,2640,2674,1814,2204,1632,1667,2331,2482,2293,2159,2144,1703,1143,1644,2317,2330,1751,1451,1105,1051,1167,1352,1342,1700,2162,2350,2101,1835,2410,2388,2473,2120,2091,2212,1929,2081,1986,2070,1913,1654,1786,1677,1772,1880,1915,1826,2114,1915,1842,2086,2049,1911,1642,1970,2175,1917,1872,1856,1857,1855,1873,1890,2093,2264,2483,2894,2815,2868,2424,1947,1933,1600,1596,1760,1679,1597,1603,1661,1701,1994,2322,2177,1775,1604,1653,1569,1409,1333,1349,1470,1384,1278,1392,1459,1286,1344,1497,1335,1199,1144,1364,1552,1506,1301,1409,1492,1410,1274,1357,1444,1511,1700,1984,2169,2624,2315,1822,1761,1940,1963,1870,2079,1961,1819,1922,2060,3006,1997,1509,1791,2083,2224,1998,1914,1792,1866,1824,1598,1576,1438,1735,2574,2632,2075,1718,1586,2166,1991,1380,1204,1187,1038,978,1066,1684,2179,2077,1922,1875,1959,2497,2610,2330,2125,2681,3201,2997,2824,3576,3346,2810,3215,3372,2994,2453,1744,1471,1506,1873,2619,2529,2062,1729,2019,2208,1674,1457,1298,1413,1458,1411,1337,1359,1253,1223,1439,1561,1415,1291,1155,1246,1356,1448,1522,1491,1452,1517,1557,1509,1402,1382,1350,1429,1417,1268,1323,1344,1369,1418,1510,2166,2894,3120,3349,2813,2270,1874,1773,1554,1660,1980,2092,2470,2620,2368,2019,1592,1525,1632,1641,2051,2481,2216,1701,2358,2756,2268,2199,2690,2733,2666,2535,2596,2519,2497,3160,2617,1819,2004,2706,2831,2403,2709,2653,1654,1393,1462,1673,1825,1816,1831,1811,1769,1869,2034,1966,2258,2784,2699,2474,2725,2222,1991,2188,2566,2619,2313,2283,3175,3948,4189,4300,3141,2657,2379,2303,2359,2675,2784,2896,3073,3217,3259,3672,3686,2988,2384,2603,2685,3129,3212,2888,3373,3764,3331,2839,2575,2435,2286,2294,2183,2347,2777,2599,2688,2745,2629,2500,2933,3242,2965,2328,2612,2363,2944,2375,2631,2754,2840,2656,2359,2302,2633,2769,2546,2557,2874,2830,2789,2532,2719,3321,3293,3319,3496,3099,2472,2544,2733,2823,2909,2220,1627,1527,1606,1971,1857,1928,2447,2599,2386,2577,2223,1977,1459,1794,2194,1730,1663,1676,1714,1873,2372,2824,3084,2757,2677,3261,3253,2955,2423,1977,1927,2060,2174,2027,2166,2372,2336,2239,1837,1154,1896,2541,2908,2574,2522,2701,2707,2183,1965,1910,2059,2102,1843,1519,1737,2181,2400,2159,1810,2003,1976,1968,2722,2909,2193,2355,2235,2199,2718,3009,2875,2730,2229,2148,2161,1968,1724,1681,1531,1862,2355,2296,2524,2748,2249,1731,1591,1556,2005,1985,1661,1739,2006,2225,1953,1910,1642,1597,1684,1825,2060,2111,2371,1857,1577,1930,2093,2084,2270,2216,2137,2657,2686,2431,2673,2674,2832,2283,1893,2014,2084,1948,2087,2418,2083,1766,1765,1742,2245,2184,1705,1748,1769,1450,1366,1911,2216,2214,1910,1757,1680,1721,1924,1598],[2942,2457,2373,2532,2546,2755,2944,2789,2568,2272,2300,2402,2629,2517,2674,3034,2944,2777,2587,2921,3176,2905,3059,3009,2740,2852,2858,3347,3986,4117,3862,3582,2159,2151,2899,2854,2974,3354,3513,3440,3649,3606,3583,3581,3782,3632,3441,3557,3776,3552,3257,3315,3482,3758,3676,3388,3355,3321,3264,3349,3386,3398,3227,2669,2221,2222,2053,1797,1996,2980,3676,4149,4336,3941,3520,3509,3759,3798,3768,3920,3901,3709,3624,3824,3793,3747,3724,3652,2929,2783,3365,3417,2986,3155,3473,3251,3576,3692,3720,3161,2925,3059,3196,3223,3068,3218,3398,3370,3596,3890,3742,3583,3758,4094,4245,4187,3436,3244,3096,3040,3378,3262,2686,2431,2324,2855,3808,4192,4243,4483,4676,4059,3572,3399,3354,3322,3238,3234,3452,3699,3852,4208,4068,4056,3939,3484,2592,1811,1884,2953,3949,4112,3466,2959,2932,3536,3836,3874,3240,1914,1456,2191,2933,3110,3153,2776,2536,3498,3802,3334,3000,2306,2105,2148,1863,1640,1577,1405,1761,2310,2864,2614,2562,2193,2173,2232,2238,2320,2423,2274,2067,2331,2562,2510,2463,2832,3592,3752,4184,3642,2488,1965,2100,1930,1930,2431,2514,2230,2609,2816,2487,2878,3123,3326,3096,3127,3283,3604,4535,4975,4312,3256,2588,2951,3173,3033,2784,2262,2226,2617,3017,3198,3726,3880,3956,3835,2978,2340,2667,2766,2282,2227,2109,2185,2166,2339,2862,3030,2674,2620,2688,2159,2104,2333,2802,3875,4034,3898,3022,2375,2612,2919,3289,3269,3660,4421,4164,3704,3493,3696,2791,2188,2518,3100,3564,3675,3819,4144,4227,4176,3995,3854,3216,3073,3228,3470,3614,2924,2614,2727,2498,2297,2266,2458,2499,2119,2138,2523,2407,2890,3232,2657,2709,3215,3421,3505,3684,3144,2559,2100,2220,2602,2901,3538,3418,2601,1981,2106,2778,3340,3847,4267,4140,3725,3786,3065,2544,2070,2199,2236,1927,2124,3168,4091,3768,2885,3071,3409,3003,2048,1716,1409,1492,1576,1542,1694,2054,2452,2676,2408,2216,2069,2072,1791,1985,1830,1566,1704,1624,2043,2375,2049,1548,1730,2306,2164,2025,1791,1975,1810,1521,1815,2344,2323,2116,1904,2033,2226,2357,2320,2353,2115,2478,2929,3163,2800,2686,2497,2029,2956,3620,2768,2260,2127,2026,2047,1814,1889,2127,2119,2208,2239,2148,2082,1908,1933,2191,2167,2310,3028,2678,1694,1409,1638,2060,1832,1610,2210,2308,2321,2734,3033,3319,3199,1967,1532,1494,1559,1986,1853,1986,2619,2592,2504,2115,1638,1883,1970,2187,2082,2217,2422,2108,1932,2011,2039,2292,2086,1835,1753,2124,2009,1814,1784,1731,1756,2292,2872,2445,2530,2076,1993,2388,2378,2154,1608,1566,1995,1924,1776,2024,2423,2640,2896,2662,2104,2504,2469,2140,2263,2534,2250,2238,2326,2297,2585,2661,2910,2641,2287,2175,2245,2125,1739,1296,1212,1368,1699,2034,2062,2302,2840,2990,3006,2664,2297,2391,2837,2806,2106,1746,1691,1811,2020,2310,2302,2242,2468,2306,2225,2221,2897,2984,2623,2518,2737,2886,2950,3076,2852,3106,2590,2069,2520,2590,2308,3204,4031,3510,3061,3495,3589,3047,2909,2910,2899,2874,3074,3050,3131,3186,3020,2833,2652,2289,2207,2786,3387,3330,3021,2370,2129,2504,2179,2276,2277,2434,2457,2469,2719,2703,2289,1940,1648,1440,1741,2100,2031,2054,2452,3065,2539,1998,2145,1855,2037,1861,1741,1724,1727,1864,1546,2056,1919,1766,1891,1884,1695,2045,2431,2296,2868,3020,2469,2434,2654,2127,1792,1631,1550,1695,1920,2147,2344,1927,1799,2024,1801,1068,484,845,1678,1749,1976,2444,2296,2038,1879,2310,3000,3078,2737,2192,2026,2294,1947,2011,2226,2133,2822,3457,2833,2758,2634,2091,2218,2386,3698,3602,2776,2476,2125,1859,2272,2615,2480,2360,2630,2391,2409,2617,2604,2520,2454,2750,2894,2584,2491,2705,2326,2421,2174,1495,1537,1964,2226,2361,2845,3400,3190,2443,2085,2105,2065,2214,2366,2007,1933,1888,2322,2450,2427,2412,2468,2437,2298,2477,2306,2440,2629,2955,3471,2833,2177,2285,2120,2189,2758,3020,2841,2730,2143,2113,2467,2862,2575,2536,2486,2079,2000,2344,2376,2686,3063,2861,3007,2922,3055,3414,2957,2591,2007,2024,2243,2654,2279,2051,2280,2138,2377,2673,2181,1878,2190,2037,1611,2024,2199,2496,3407,3187,2711,2715,2362,2480,2832,2835,2281,2539,2326,1801,2043,1851,1620,1860,1744,1834,2364,2185,2071,2440,2157,2096,2844,2180,1597,1798,1928,2350,2589,3251,4163,3572,3050,2536,2473,2426,2156,2367,2397,2466,2527,2300,2170,2367,2750,2880,2764,2442,1952,1919,1923,2238,2068,1732,1970,2030,1946,2048,2040,2263,1685,1532,1562,1714,1649,1578,1713,1832,2155,2029,1498,1448,1506,1600,1583,1428,1600,1456,1484,1510,1582,1738,1766,1870,2498,3242,3812,4090,4231,4111,3707,3632,3726,3544,2618,2294,2435,2527,2586,2182,1667,1920,2137,2230,2580,2522,2082,2035,2735,2416,2120,2520,3162,3253,3282,3355,3256,3064,3027,3190,3111,3010,2856,2460,1375,1151,1392,1306,1523,1378,1396,1566,1610,1612,1485,1757,2237,2259,2156,1990,1702,1714,1830,2078,2356,2032,2162,2204,2844,3414,3106,2386,2074,1759,1426,2295,3251,3651,3711,2990,2702,2708,2642,2122,2352,2382,2621,2861,2840,2784,2409,2061,2354,2092,1933,1903,2037,1742,1553,1540,1745,1985,2237,2110,2360,2924,3032,3006,2930,2819,2115,1721,1702,1525,1200,1017,1392,2062,2005,1396,1447,1525,1322,1395,1426,1583,1913,2254,2471,2512,2391,2232,1970,1848,2214,1788,1996,2370,1947,1612,2059,1991,1973,2215,2368,2327,2275,2177,1973,1974,2417,2854,3870,2750,2049,2179,2140,1932,1954,2018,1737,1800,2201,2430,2406,1584,2359,2584,2173,1829,1544,1404,1572,1710,1729,1948,2077,1958,1655,2066,2728,2054,1764,2096,2077,1866,1734,2024,2824,2729,1877,1782,1780,2386,2605,2198,2425,2781,2207,1704,1487,1019,1152,1301,1554,1678,1849,1820,1599,1429,1526,1533,1588,1811,1788,1476,1321,1654,2193,1788,1993,1831,1871,1746,1879,1951,2402,2740,2244,1843,1472,1376,1839,1782,2002,1726,1633,2166,2130,1737,1849,2010,1816,1544,1434,1653,1901,1584,1833,1914,1483,1508,1566,1498,1562,1744,1707,1570,1499,1406,1542,1550,1506,1938,1889,1698,1710,1744,1771,2158,2371,2304,2255,1900,1932,2126,2331,1809,1656,2234,2502,2909,2526,1671,1439,1582,2326,2707,2760,2538,2312,2530,2664,2379,1763,1782,1919,1792,1891,2097,1918,1834,1932,2010,1697,2712,3096,3226,3416,3518,2978,2353,2437,2394,2407,2653,2511,1926,1710,1740,1730,2080,2033,1920,1980,1868,1741,2036,2310,1713,1704,1958,2087,1887,1996,2016,2045,2565,2231,2008,2398,2391,2251,2381,2123,2954,3522,3641,2730,2070,2648,2937,2695,2164,1829,1897,1620,1771,2124,2081,1981,1848,1856,1970,2252,2183,1854,2368,2731,2122,1931,1852,1980,2031,2252,2361,2226,2121,1653,1970,2675,2894,2774,2468,2102,1714,1501,1649,1650,1437,1338,1393,1147,1170,1678,1994,2041,2265,1950,1538,1718,1924,2223,2382,2851,2495,2455,2277,1810,1788,1744,1801,1655,1840,1883,1594,1650,1677,1861,2120,2171,1726,2314,2877,2696,2850,3213,3090,2509,1932,1984,1616,1484,1650,1889,1882,2113,2218,2685,3218,2636,2308,2276,2150,2189,2064,1979,1851,1838,2284,2891,2546,2159,2080,1907,1904,1831,1730,1779,1909,1756,1378,1345,1333,1321,1347,1542,1664,1383,1332,1381,1369,1406,1324,1756,1639,1350,1355,1467,1574,1521,1296,1368,1343,1435,1552,1808,2552,3284,2640,2060,1926,1783,1605,1452,1680,1664,1564,1549,2121,2478,1693,1801,2128,1984,1755,1691,1598,1481,1708,1952,1642,1766,1813,1971,2576,2320,1666,1737,1886,2171,2416,2170,1478,1321,1319,1577,1628,1992,2154,1765,1803,1901,1881,2188,2226,2117,2190,2620,3305,3566,2798,2370,2388,2585,3370,3307,2938,2736,2480,1788,1687,1967,2800,3049,2535,1903,2438,2202,1828,1693,1520,1502,1663,1827,1472,1469,1293,1239,1504,1694,2000,1715,1364,1384,1424,1449,1527,1509,1432,1447,1557,1450,1453,1498,1375,1262,1329,1399,1467,1804,1946,1569,1694,2613,2100,2076,2308,1709,1499,1694,1746,1622,1920,1940,1787,2178,2147,2109,2185,1782,1575,1571,1913,2321,2485,1974,1519,1963,2640,2756,2609,2519,2586,2607,2285,2186,2466,2736,3140,3227,2836,2540,3052,3380,2490,2423,2684,2029,1569,1516,1685,1888,1732,1688,2127,2546,2778,3017,1955,1954,2614,2041,2012,2461,2384,1963,2343,2939,2788,2619,2305,2975,3520,3575,3363,2197,2214,2032,1806,2254,2546,2812,2988,3531,3804,3820,3481,3228,2801,2289,2632,2722,3006,3370,3438,3582,3595,3539,3008,2840,2833,2547,2509,2490,2684,2626,2599,2753,2788,2699,2777,3038,3054,2386,2126,2622,2902,2999,2409,1935,1781,2279,2744,2664,2844,2844,2812,2746,2484,2472,2706,2719,2729,2579,2546,2922,3220,3384,3365,2894,2700,2821,2615,2482,2356,1881,1548,1588,1736,2077,2600,2901,2676,2384,2396,1947,1919,1950,2320,2548,2242,1907,1851,1687,1682,2166,2732,2724,2614,2780,2852,2981,2734,2396,2225,2122,2319,2102,1871,2105,2378,2331,2167,1839,1720,2310,2684,2808,2654,2805,3022,3198,2776,1931,1934,2226,2114,1951,2049,2186,2057,1782,1617,1793,1889,2012,2177,2552,2450,1883,1959,2321,2921,2850,2620,2539,2907,2390,2142,2137,1810,1789,1741,1519,1744,1857,1686,1949,2474,2304,1795,1634,1786,2244,2022,1625,1759,2207,2656,2493,1922,1801,2044,1873,2043,2116,2248,2299,1716,1534,1844,1994,2116,2435,2301,2430,2712,2618,2179,1805,2009,2411,1926,1765,2024,2411,2236,2159,2260,2110,2083,2137,2196,2367,2056,1760,1996,2053,1656,1552,2002,2368,2486,2185,2189,1699,1561,1652,1623],[2563,2588,2441,2355,2324,2706,2958,2885,2713,2679,2179,2568,2834,2626,2514,2784,3046,3175,3250,3172,3040,2778,2930,3019,2800,2534,2307,3054,3733,3883,3463,2716,2104,2564,2994,3242,3539,3309,3561,3274,3625,4048,3688,3576,3886,3899,3789,3732,3881,3770,3342,3362,3441,3509,3288,2742,2457,2504,2341,2514,3076,3294,3190,2699,2367,2448,2264,2008,2403,3245,3494,3571,3616,3599,3476,3419,3676,3818,3698,3876,3854,3818,3332,3683,3690,3752,3962,3996,3341,2631,2922,3356,3275,3620,3001,2661,2945,3114,3232,3476,3474,3278,3270,3130,2939,3039,3295,3562,3730,3782,3565,3602,3702,4012,4056,3814,3442,3061,2989,2944,2987,3192,2579,2522,2417,2401,3194,4030,4319,4576,4532,4077,4047,3843,3797,3736,3776,3536,3312,3405,3750,4040,4013,3834,3886,3740,2885,2078,1958,2824,3415,3339,3172,2753,3216,3677,4041,4230,3163,1807,1626,2576,3045,3057,2873,2433,2359,3130,3186,2956,2591,2081,1929,1830,1569,1519,1686,1801,2115,2878,2843,2528,2404,2193,2187,2284,2393,2409,2652,2872,2849,2675,2811,2978,3208,3319,3520,3670,4035,3729,2667,1960,1899,1803,2089,3347,3620,3350,3400,3419,3187,2980,2949,3064,2855,2727,2769,3197,4293,4694,3969,3150,2677,3183,3206,3038,2531,2171,2277,3130,4035,3876,3180,3216,3742,4086,3836,2885,2875,3016,2688,2430,2396,2446,2379,2562,2777,2739,2673,3146,3219,2512,2257,2289,2520,2961,3149,3315,2840,2562,2591,2385,3288,3453,3633,4265,3916,3646,3479,3461,2967,2780,3219,3720,3769,3731,4008,3935,3852,3864,3598,3794,3501,3392,3821,4209,3607,2438,2129,2186,2093,1789,1897,2417,2217,1685,1776,2232,2457,3167,2890,2147,2469,3503,3657,3653,3807,3517,2913,2544,2750,3204,3315,3340,3089,2330,1807,1866,1722,2197,3083,3801,3944,3786,3694,3630,2937,2086,2045,2220,2275,3326,4006,3980,3554,2675,2846,3083,2630,2065,1461,1345,1522,1375,1532,1645,2054,2083,2117,2057,2254,2143,2172,2192,2546,2476,2054,1988,1959,2055,2040,1776,1529,1618,2098,2012,1913,2318,2786,2274,1527,1496,2006,2339,2146,1903,2037,2118,2069,1793,1953,2709,3388,3405,3162,2791,2835,2375,2601,2908,2800,2718,2154,1921,1992,2179,1897,1781,2210,2052,2148,2114,2052,2053,2030,2581,2767,2120,2054,2395,1924,1409,1707,2416,2466,1730,1471,2011,2209,2596,2899,2880,3163,3433,2806,2059,1777,1731,1657,1660,1888,1888,1814,1847,1638,1757,1940,1871,1872,2126,2657,2737,2325,2222,2127,2094,2254,1978,2117,2141,2270,1994,1771,1674,1635,1806,2300,2752,2373,2531,2093,2274,2899,2757,2070,1628,1837,1919,1704,1529,1693,2127,2878,2924,2244,1802,2116,2263,2311,2211,2198,2389,2611,2463,2442,2711,2774,2696,2425,2413,2204,2082,1911,1498,1479,1740,1715,1663,1845,2114,2499,2622,2546,2579,2635,2602,2451,2840,2381,1842,1981,2029,1908,1913,2352,2369,2494,2522,2257,2348,2417,2619,2412,2403,2490,2518,2865,3146,3264,2900,3142,2008,1957,2535,2498,2529,3333,3836,3325,3008,3517,3641,2887,2799,2540,2640,2635,2770,2409,2719,3081,2993,2902,2600,2279,2618,3419,3939,3621,3091,2287,1791,1851,1800,1918,1850,1951,2175,2355,2331,2249,2155,1532,1365,1684,2258,2004,2017,2480,2994,3415,2665,2286,2268,2025,2013,2014,2055,1907,1837,1812,1657,1815,1653,1468,1636,1965,2009,2125,1801,1943,2754,2849,2456,2623,2792,2180,1618,1497,1442,1582,1738,1756,2046,2148,2012,1839,1522,830,903,1747,2264,2194,1735,1771,2109,1996,2060,2285,2683,2822,3025,2338,1956,2145,2191,2530,2499,2464,2532,2669,2977,3183,3208,2500,2043,2067,3134,3488,2889,2317,1857,2352,2626,2364,2455,2547,2509,2421,2302,2446,2436,2293,2358,2646,2684,2291,2396,2592,1802,2167,2199,2030,2405,2431,2321,2860,3190,2987,2450,2511,2884,2850,2677,2703,2441,2181,2235,2193,2108,2081,2009,1978,2398,2707,2519,2559,2458,2625,2760,2860,3351,2850,2447,2303,1987,2128,2632,2499,2592,2366,2362,3165,2958,2631,2498,2353,2199,2105,2103,2005,1813,2797,3110,2951,3042,2556,2915,2906,2720,2610,2238,2269,2562,2375,2027,2504,2900,2872,2673,2352,1920,1902,2169,1849,1800,2063,2176,2653,2935,2864,3145,2809,2302,2350,2974,2802,2455,2413,1901,1724,1860,1656,1905,1896,1723,2143,2719,2971,2955,2720,2137,2165,2948,2375,1426,1526,1565,2031,2716,3936,4565,3881,2820,2769,2763,2447,2521,2385,2214,2334,2388,2472,2508,2499,2380,2530,2509,2393,2246,2465,2316,2163,2256,2149,2035,2121,1989,1858,2094,2536,1729,1471,1477,1421,1518,1586,1591,1805,2014,1619,1459,1555,1645,1828,1643,1575,1651,1596,1478,1640,1755,1809,2091,2210,2802,3429,3852,4172,4374,4217,3923,3650,3898,4094,3352,2725,2471,2320,2105,1838,1461,1620,2443,2474,2402,2555,2329,2352,2666,2732,2432,1990,2293,3045,3361,3506,3387,3229,3039,2951,2978,3095,2743,1603,927,1298,1439,1459,1465,1382,1330,1378,1461,1682,1535,1580,1758,1737,1868,1824,1720,1808,1809,2106,2746,2171,1987,2088,2293,2562,2518,1984,1924,1909,1873,2725,2813,2836,3097,2924,2780,2602,2794,3023,2944,2201,1947,2245,2346,2666,2795,2543,2104,2211,2095,2215,2260,2077,1914,1921,1949,1975,2290,2540,2790,2331,2244,2687,2976,3207,2718,1904,1647,1617,1178,1142,1626,2048,1977,1538,1309,1320,1421,1656,2120,2610,2490,1900,1791,2229,2182,2014,1763,1753,2164,1985,2351,2554,1838,1576,2182,2271,1904,2230,2377,2277,2252,1926,1729,1905,2396,3045,3493,2856,2232,2120,2044,1804,1704,2033,1742,1580,1970,2031,2446,1882,2091,2400,2530,2437,2050,2098,2326,1969,1829,1798,1537,1506,1358,1747,2804,2851,2197,1776,1591,1477,1520,2008,2990,2404,1505,1454,1595,1905,1820,1764,2143,2336,1980,1776,1992,1600,1289,1420,1536,1389,1416,1680,1725,1563,1501,1306,1076,1466,1896,1865,1591,1607,1899,1952,2080,1990,1848,1603,1715,1841,2062,2149,1879,1913,2091,2375,2494,2056,1835,1641,1712,1757,1849,2217,2022,1974,2235,1912,1528,1710,1976,1593,1755,1845,1544,1586,1698,1552,1402,1537,1693,1570,1310,1200,1376,1453,1692,2345,2357,2171,1915,1771,1778,2080,2041,2000,2397,1835,1584,1713,2126,1774,1697,2264,2578,2660,2458,1843,1579,1881,2819,3206,3287,2775,1971,1803,2080,1907,1576,1752,1828,1796,2659,2786,2154,2203,1985,1895,2133,2802,3506,3869,4008,3885,2874,2673,2716,2413,1946,1608,1673,2186,2085,2353,2701,2603,2845,2601,1575,1761,2294,3095,3405,2617,2287,2371,2228,1665,1883,2077,1979,2374,2471,2230,2117,2121,1791,1639,2215,3305,3811,3675,2567,2318,2568,2253,2189,2469,2183,1882,1925,2421,2203,2534,2084,2036,2465,2735,2831,2328,2103,2358,2694,2166,2047,1848,1693,1898,2145,1950,2592,2641,1934,2526,2768,2866,2787,2350,1666,1533,1810,1756,2067,1505,1023,1219,1124,1095,1817,2496,2374,2306,1822,1498,1944,2680,3017,2955,2651,2448,2593,2336,1925,1972,1688,1935,1701,1935,2188,1556,1193,1153,1311,2010,2183,1675,2153,2706,1956,2295,3141,2842,2523,2297,2173,1685,1577,1990,2089,1803,2001,2384,2770,2786,2329,2237,2402,2085,2148,2449,2266,1986,1718,1924,2460,2510,2895,2678,1840,1801,2004,1877,1739,1830,1796,1753,1643,1529,1565,1547,1399,1509,1392,1363,1426,1417,1389,1327,1657,1551,1345,1474,1423,1427,1431,1296,1452,1383,1394,1558,1588,2178,2867,2548,2244,2310,2042,1734,1687,1670,1498,1340,1261,1626,1839,1659,1877,1920,1672,1721,1582,1405,1372,1422,1628,1695,1943,2036,1946,1876,1520,1556,2132,2156,1813,2142,2611,2302,1982,2044,2337,2318,2366,2211,2133,2138,1928,1876,1857,1755,1951,1970,2301,2663,3006,2382,2474,3196,3633,3433,2984,2607,2190,1933,1559,1587,2000,2510,2722,1958,1777,2387,1986,1770,2017,1927,1615,1674,1893,1605,1594,1504,1412,1530,1610,2044,2023,1519,1337,1377,1376,1492,1470,1294,1371,1230,1270,1477,1459,1346,1400,1548,1492,1376,1562,1815,1710,1814,2520,1997,1757,1602,1388,1705,1802,1707,1798,1643,1444,1972,2188,1936,1980,1996,1703,1658,1846,2403,2872,2784,2048,1616,1722,2300,2640,2695,2272,2083,2285,2415,2409,2302,2424,3487,4201,3538,2292,2601,2359,1984,2097,2334,2069,1645,1610,1765,2027,2379,1864,1776,3065,3274,2756,1924,1795,2296,2176,2319,2732,2754,2437,2667,3122,2654,2482,2424,2674,2757,2863,2264,2003,2278,2018,2387,2448,2259,2675,3129,3311,3589,3298,2707,3474,3316,2423,2487,2819,3274,3418,3649,3429,3516,3720,3131,2842,2962,2898,2800,2744,3011,3024,2807,2879,2670,2497,3021,3056,2809,2346,2543,3286,3195,2850,2589,1730,1621,2644,3089,2624,2869,2514,2522,2549,2468,2447,2624,2520,2675,2857,2731,2872,2814,2792,3044,3220,3118,2730,2390,2323,2578,2489,1888,1609,1565,1888,2143,2313,2456,2048,2143,2408,2222,2450,2700,2817,2808,2798,2630,2198,1925,2515,2730,2483,2619,2786,2721,2957,2803,2601,2069,1974,2091,2025,2061,2077,2167,2075,1911,1809,2202,2569,2429,2193,2074,2517,3344,3503,3183,2446,1794,2029,2188,1914,2111,1985,1733,1432,1173,1610,1672,1408,1809,2008,1794,1803,1547,2529,3206,2798,2260,2099,2449,2374,2124,2027,1996,1897,1550,1573,1562,1662,1755,2052,2162,2244,1908,1564,1637,1883,1938,1865,1931,2540,2822,2667,2504,2750,2471,1931,1991,1998,2088,2122,2105,2098,2013,2070,2081,2233,2290,2441,2722,2281,1831,1815,2429,2605,2115,2075,2577,3108,2754,2518,2235,1922,2201,2678,2640,2430,2212,1937,2344,2067,1537,1775,2524,2742,2228,2037,2011,1628,1422,1538,1734],[2296,2686,2641,2410,2350,2675,2564,2611,2542,2629,2383,2605,2641,2474,2188,2596,3155,3163,2955,2811,2754,2719,3234,3047,2818,2609,2480,2880,3551,3762,3432,2763,2333,3218,3716,4059,4008,3304,3414,3473,3747,3745,3671,3914,4058,4047,3971,3805,3863,3543,3117,3404,3271,2863,2574,1782,1525,2105,1891,1670,2685,3100,3068,2703,2042,1974,2194,2331,2773,3165,3046,2496,2299,2851,3454,3716,3573,2646,2588,3695,3777,2790,2392,3432,3939,3947,3609,3329,3179,2491,2543,3131,3077,3309,2540,2368,2654,3053,3436,3460,3361,3376,3343,3374,3248,3329,3672,3619,3445,3605,3808,3714,3677,3820,3484,3304,3480,3255,2757,2551,2516,2687,2327,2578,2756,2285,2610,3874,4579,4716,4533,4411,4664,4484,4035,3857,3826,3661,3328,3155,3268,3155,3294,3572,3590,3378,2846,2269,2107,2294,2873,3218,3077,3266,3644,3806,3973,3597,2686,2212,2313,2800,2918,3110,3389,3418,3364,3332,3319,3077,2196,1816,2114,1817,1690,1601,1889,2761,2757,2658,2551,2200,1864,1478,1513,2364,2661,2595,3240,3552,3648,3405,3054,3145,3413,3493,3386,3570,4111,4051,3195,2189,1954,2017,2330,3511,3562,3375,3334,3376,3154,2914,3019,3340,3518,3350,2988,3163,3350,3340,3420,2978,2496,2669,2999,3266,2796,2269,2420,3299,3961,3043,1765,2554,3864,4062,4008,3420,2906,2588,2321,2319,2580,2767,2597,3023,3362,3451,3710,4012,3704,2817,2497,2759,2530,2246,2456,3184,3230,3211,3141,2603,3238,3211,3469,3784,3812,3828,3636,2924,2244,2910,3507,3687,3806,4042,4014,3636,3554,3646,3717,3819,3539,3509,4307,4671,3572,2533,2558,2355,1894,2270,2039,1835,1828,1776,1678,2051,2768,2621,2211,2041,2450,3284,3572,3682,3393,3108,2854,2949,3041,3172,3552,3426,2399,1877,1596,1871,1939,1803,2779,3764,3853,3553,3506,3646,3505,2555,2019,2417,2509,2953,3500,3431,2634,2302,2861,2707,2647,2683,1870,1841,1755,1492,1664,1200,1098,1692,2150,2317,2252,2065,2077,2309,2492,2612,2343,2160,1696,1358,1542,1655,1556,1547,1807,2215,2132,2098,2214,1987,1496,1515,1993,2376,2439,1921,2036,2179,1777,1582,2074,3079,3428,2896,2978,3139,3132,2786,2771,2402,2530,2609,2235,2282,2415,2237,1750,1933,2217,2441,2702,2565,2534,2249,2129,2942,2959,2490,2032,1718,1416,1412,1541,1847,2026,2122,2100,2128,2382,2809,2850,2683,2820,3088,3190,2474,1864,1308,1556,1832,1753,1810,1715,1634,1972,2734,2669,2145,2021,2278,2885,3032,2369,2225,1769,1860,2216,2236,2595,3053,2985,2313,1811,1700,1816,1860,2734,2596,2243,2370,2141,2386,2777,2332,1625,1823,2138,1911,1788,1779,1930,2199,2939,2776,2137,1815,1830,1848,2175,2321,2226,2163,2390,2566,2542,2507,2470,2373,2366,2461,2276,1997,1751,1742,1900,1804,1753,1830,1738,1832,1746,1904,1848,2045,2620,2613,2444,2382,2020,2349,2534,2007,1758,2252,2468,2589,2836,2596,2624,2715,2609,2380,2045,2134,2321,2476,2635,2702,2798,2642,2921,2333,2430,2573,2502,2615,2850,3056,2938,2893,3223,3405,2454,2069,2156,2285,2155,2339,2470,2664,2958,3064,2596,2102,2491,2854,3307,3298,2458,2103,2152,1936,1898,1983,1721,1697,2143,2482,2254,2090,2038,1888,1440,1910,2382,1945,1532,2248,2592,2427,2654,2253,2211,2069,2107,2017,2450,2374,2043,1604,1875,1969,1549,1705,1664,1578,1637,1908,1811,1584,1885,2406,2526,2284,2675,3117,2553,1724,1475,1464,1426,1702,1623,1487,1793,1890,1787,1814,1394,1751,2458,2608,2618,1960,1908,2218,2226,2398,2417,2555,2742,2764,2357,2229,2698,2603,2607,2395,2879,2700,2546,3052,3413,3440,2779,2235,2185,2317,2630,2587,2172,2074,2385,2334,2040,1919,2063,2073,2148,2320,2226,2204,2329,2485,2393,2418,2537,2505,2289,1961,1921,1759,1873,2460,2210,1893,2577,2363,2490,2816,2963,2949,2996,2589,2540,2578,2547,2608,2311,1819,1867,1967,1953,1967,2028,2274,2409,2979,3179,3097,3103,2939,2305,2060,2104,2266,2216,2397,2352,2267,1499,1805,3464,3934,2853,2201,2052,2081,2037,1981,1911,1903,3240,3029,2719,2784,2877,2896,2713,2802,2802,2673,2868,3264,2931,2122,2598,3849,4056,2690,1881,1942,2202,2322,2251,2314,2410,2545,2828,3020,3228,3063,2519,2252,2294,2744,2536,1908,1933,2042,2177,2271,1856,1838,1992,2091,2294,2988,2823,2743,2756,2317,1982,2336,2554,2245,2027,1821,2338,2378,3188,3747,2570,1990,2409,2125,2473,3083,2667,2336,2271,2292,2418,2302,2138,2124,2567,2641,2750,2589,2242,2454,2337,2397,2242,2335,2304,1842,1812,1904,1701,1490,1354,1299,1490,1634,1455,1554,2178,2149,1622,1511,1532,1662,1903,1487,1390,1471,1537,1708,1723,1790,2260,2802,2889,2865,3340,4056,4292,4444,4476,4370,4069,4089,4221,3761,2858,2219,1638,1468,1550,1435,1740,2624,2874,2483,2494,2663,2485,2687,2608,2712,2206,1693,2065,2691,3124,3344,3349,3203,3016,3012,2988,2190,997,1180,1535,1324,1361,1204,1266,1294,1245,1548,1606,1423,1564,1440,1448,1485,1524,1504,2013,2154,2054,2247,2159,1977,2030,2031,2098,2059,1830,1906,1837,2253,2856,2688,2554,2575,2721,2863,2917,3341,3710,3030,2026,1667,1758,1889,1816,1903,2746,2819,2398,2153,2407,2290,2176,2265,2066,1989,2117,2344,2678,3038,2491,2203,2455,2800,3076,3193,3071,2678,2050,1898,1675,1500,1397,1488,1839,1676,1730,2092,2242,2489,2736,2032,1254,1559,1913,1853,1830,1747,2280,2757,3049,3250,2600,1848,1950,2048,2261,2422,2784,2625,2128,2228,1380,1397,2142,2480,2502,2530,2302,1996,1882,1802,1839,1600,1682,1758,1533,1909,2106,2427,2325,1943,1956,2878,3392,3210,3266,2977,1964,1641,1472,1030,1354,1634,1685,2293,2741,2349,1844,1593,1516,1328,1648,1594,1433,1591,1806,1815,1757,1717,1946,2139,2096,2046,1741,1772,2190,1549,1497,1580,1383,1238,1516,1804,1761,1628,1518,1506,2014,1961,1907,1619,1318,1469,1803,1885,1809,1678,1516,1486,1682,1827,1968,2180,2112,2365,2754,2389,1915,1727,1902,2245,1935,1697,2088,2078,2031,2438,1985,1561,1708,1897,1886,2215,2110,1576,1501,1631,1409,1325,1394,1681,1532,1346,1394,1417,1409,2385,2984,2648,2448,1982,1758,1720,1790,1589,1559,1635,1592,1604,1804,1785,1544,1689,2193,2457,2221,2059,1758,1693,1817,2451,2687,2665,2410,1783,1334,1582,1775,1532,1772,1757,1878,2879,2533,1765,1551,1470,1848,2470,2808,3052,3145,3566,3551,2599,2976,3298,2678,1823,1686,2048,1918,1442,1703,1845,1751,2336,2360,1861,2696,3162,4008,3466,2699,2399,2284,2080,1634,1883,2011,1634,2113,1828,1632,2004,2465,2091,1768,2698,3242,3530,3437,2316,2577,2453,2553,2631,2953,2846,1892,2370,2624,2335,2407,1985,2204,2776,3071,3171,2569,2455,2557,2478,1919,2027,2164,2026,1984,1987,1998,2786,2983,2445,2929,2540,2850,2404,2094,1270,1418,1835,1782,2175,1829,1209,1585,1731,1544,1842,2110,1903,1966,2314,2050,2695,3904,4173,3328,2309,2526,2697,2820,2503,2262,1801,1696,1493,1802,2559,2216,1588,1382,1568,2210,2266,1835,2095,2444,1953,2042,2083,2058,2144,2093,2037,1798,1713,2180,2046,1709,1953,2261,2679,2375,2335,2356,2122,2165,2324,2533,2431,2125,2221,1818,1818,1656,1859,2067,2150,2400,2165,1837,1665,1584,1551,1641,1666,1673,1678,1838,1587,1570,1478,1439,1334,1223,1261,1529,1664,1362,1377,1475,1328,1451,1432,1461,1508,1324,1325,1475,1428,1344,1593,1879,2059,2623,2107,1663,2094,2135,1646,1521,1714,1686,1693,1907,2013,1866,1743,1948,1871,1582,1408,1369,1543,1609,1776,1952,1729,1512,1632,2050,2635,2258,1966,2277,2403,2320,2676,2477,2460,2598,2346,2164,2295,2165,1909,1905,1980,2216,2223,2287,2270,1936,2191,2832,3410,3574,3029,2521,3097,3399,2893,2204,2290,2568,2439,2312,2073,1961,1935,1886,1977,2216,2598,2435,1730,1519,1528,1597,1532,1502,1418,1385,1367,1714,1970,1432,1249,1470,1510,1597,1522,1379,1344,1302,1407,1441,1396,1348,1413,1449,1488,1340,1503,1526,1452,1718,1997,1891,1905,1689,1461,1534,1465,1825,2358,2222,1811,2863,2394,2078,2342,2111,1939,1918,2482,3384,3376,3084,2309,1802,1887,2343,2807,3174,2494,2033,2338,2216,1904,1988,2578,3588,3859,3208,2403,2103,1643,1631,1902,2082,1933,1786,1866,1610,1737,2404,1726,1597,2728,3218,3010,2286,1763,2116,2496,2730,2835,2727,2544,2258,2172,1911,2190,2408,2542,2630,2665,2393,2287,2050,2144,2900,2858,2132,2296,2532,2711,2972,2229,2415,3354,3652,3275,2750,2761,3211,3271,3747,3741,3354,2807,2425,2473,2910,3053,2842,2932,3123,3205,2824,2879,2636,2451,2912,2776,2693,2375,2900,3828,3218,2587,2216,1892,2320,3104,2803,2412,2521,2599,2668,2755,2842,2963,2918,2535,2714,3041,2974,3090,2591,2345,2617,3110,3294,2657,2521,2644,2735,2504,2206,1928,1830,1798,1869,2137,2263,1929,2148,2862,3008,2787,2730,2812,3133,2978,2431,2506,2573,2714,2690,2636,2725,2619,2769,2566,2555,2416,1885,2244,2180,2547,2569,2021,1849,2082,1851,1786,1935,1974,1938,1944,1585,1824,3128,3196,2985,2817,1990,1989,2139,2091,2080,1933,1876,1606,1531,2210,1534,1414,2446,2833,2416,1946,1946,2544,2566,2565,2341,1841,2276,2357,2030,1995,2210,1918,1538,1447,1500,1693,1903,2068,2159,2298,2319,1738,1649,1851,1818,2054,2321,2336,2619,2562,2587,2633,2209,2047,2059,2226,2104,2126,2194,2758,2791,2700,2278,2107,2256,2230,2244,2066,2384,2779,2612,2553,2589,2424,2494,2752,2851,2801,2712,2493,2338,2622,2667,2338,2157,2123,2355,1928,1587,1458,2360,3065,2684,2217,2120,1826,1439,1415,1683],[1941,2575,2712,2662,2294,1942,1907,1993,2641,3230,3152,2563,2402,2401,1779,2385,3021,2826,2278,2336,2513,2584,3038,3054,2803,2852,2760,2721,3105,3478,3762,3331,2686,3558,3752,3753,3369,3155,3241,3535,3872,4016,4332,4174,3989,3939,3993,3912,3761,3631,3428,3492,3073,2577,2490,2060,2034,2708,2686,2518,2680,2561,2762,2670,2208,2023,2566,3022,2835,2899,2851,2248,2021,2697,3046,3146,3199,2893,2783,3356,3135,2138,2496,3521,3819,3444,2564,2660,2811,2280,2245,2808,3449,3269,2586,2705,3078,3421,3609,3338,3196,3089,3161,3464,3330,3448,3733,3665,3378,3503,3684,3533,3474,3408,3209,3204,3166,3489,3350,3375,3235,2964,3001,2964,2930,2526,2554,3606,4476,4528,4461,4414,4407,4022,3646,3671,3581,3545,3296,3273,3584,3416,3203,3531,3361,3238,3254,3387,2397,1633,2249,1904,1965,3306,3444,3358,3617,3034,2763,2888,3166,3269,3105,3122,3320,3566,3699,3671,3642,3095,2242,2246,2532,2318,1779,1486,2174,3486,3758,3522,2588,2086,2750,2739,2238,2697,2779,2421,3316,3858,4121,3705,3288,3203,3295,3469,3421,3629,3812,3917,3785,3400,3486,3316,3040,3355,2933,2539,2586,2821,2835,2448,2510,3253,3582,2917,3029,3648,3211,2990,2802,2573,2500,2657,2777,2830,2564,2170,2326,2871,2876,1996,1404,1834,3107,3872,3795,3746,3392,2262,2106,3002,3518,3916,3925,4094,3994,3639,3917,3954,3666,2928,2774,2830,2256,2307,2778,3403,3306,3430,3396,3340,3307,2963,3052,3283,3521,3603,3297,2231,2275,2986,3054,3145,3617,3767,3521,3409,3599,3774,3794,3785,3694,3683,4580,4711,3619,2824,2499,1975,2012,2397,2219,1940,1976,1935,1718,2519,3042,2784,2205,2099,3002,3739,3464,3370,3382,2978,3049,3504,3315,3097,3061,3132,2180,2137,1923,1775,1875,2169,3043,3494,3353,2909,2705,2657,3118,2751,2790,2463,2101,2481,2979,2762,1997,1928,2306,2470,2671,2321,1990,2016,1860,1814,1988,1713,1722,1994,1803,1778,2105,2325,2501,2818,2649,2525,2274,2126,2098,1930,1705,1745,2242,2291,2097,2751,2406,2030,2121,2014,1714,1744,1851,1952,2057,1796,2271,2439,1815,1823,2277,3308,3414,2720,2874,2999,3124,2920,2711,2402,2438,2752,2868,2928,2678,2814,2203,2442,2684,3177,2640,2318,2743,2710,2877,2990,2493,2455,1973,1912,1725,1703,1650,1706,2156,2577,2707,2619,2733,2967,2777,2657,2694,2843,3272,2669,1895,1584,2009,2189,2419,2305,2082,1959,2332,3147,2739,2105,2153,2278,2714,2788,2139,1660,1540,1691,1931,2448,2661,2685,2802,2852,2121,1953,2087,1968,2729,2470,2104,2257,2199,2354,2388,1569,1526,1977,2037,1792,1918,1969,2103,2053,2464,2413,2069,1901,1772,2025,2189,1974,2013,2181,2065,2335,2344,2237,2243,2249,2460,2324,2088,1993,1815,1877,1863,1729,1701,1979,1909,2103,1837,1683,1693,1886,2301,2361,2179,2137,2459,2475,2563,2169,2521,2646,2584,2780,2740,2364,2404,2548,2603,2441,2260,1997,2020,2477,2633,3295,3308,2735,2235,2210,2614,2646,2526,2507,2522,2434,2433,2788,3323,3541,2724,1941,1864,1783,1894,2278,2484,2705,2841,2734,1972,1520,1842,2596,2532,2337,1916,2028,2295,1941,2032,2217,1835,1728,2024,2557,2031,1955,2414,1816,1678,2226,2199,1998,1763,2104,2381,2359,2608,2186,2137,2060,2141,2142,1988,2072,1908,1641,2000,1911,1670,1617,1657,1615,1643,1820,1875,1731,1829,1929,2071,2330,2901,2925,2218,1407,1098,1199,1309,1703,1771,1548,1694,1889,1910,1801,1630,2040,2729,2614,2147,1717,1807,1693,2059,2434,2614,2851,2567,2279,2500,2257,2435,2079,1805,2059,2438,2485,2732,3063,3107,3223,2846,2655,2626,2169,2491,2712,2580,2703,2422,2287,1914,1518,1430,1427,1777,1933,1547,1677,2073,2112,2006,2104,2235,2279,2107,2087,2389,2523,2492,2469,2342,2448,2540,2300,2742,3015,2940,2825,2808,2790,3169,3303,2730,2181,2152,2354,2570,2555,2640,2304,2304,2599,2691,2862,2752,2931,3082,2742,2387,1928,2230,2222,2098,1920,2404,2054,1476,1922,3278,3561,2677,2345,2265,2232,2003,1869,2119,2098,2504,2847,2850,2599,2414,2237,2239,2688,2887,2941,3056,2989,2213,2024,2822,3950,3541,2364,2181,2343,2670,2611,2266,2111,2653,2889,2809,2587,2407,2670,2518,2448,2416,2464,2436,2539,3122,3207,2753,2693,2255,2220,1973,1865,1963,2522,2428,2187,2048,1652,1865,2465,2611,2193,1905,1837,2124,2202,2788,2976,2388,2295,2251,2397,3212,2809,2873,2425,2204,2253,2221,2089,1972,1959,2049,2207,2973,3386,2939,2445,2248,2546,2676,2581,2995,2243,2107,1986,1627,1612,1426,1331,1572,1638,1382,1399,1927,2258,1920,1582,1400,1424,1459,1403,1462,1548,1685,1821,2136,2769,2957,2930,3198,3339,3300,3718,4196,4271,4376,4384,4082,3869,3738,3378,2445,1748,1138,1198,1603,2001,2269,2569,2985,2757,2325,2590,2570,2627,2234,2424,2439,1887,1575,1588,2209,3038,3282,3145,3009,3055,2527,1514,1456,1653,1711,1586,1592,1519,1566,1479,1427,1654,1676,1465,1535,1491,1722,1809,1801,1745,3095,2775,1874,1965,1945,1813,1802,1984,2242,1976,1633,1870,1853,2709,3342,2850,2502,2578,2586,2839,3416,3958,3804,2425,1635,1631,1668,1515,1621,1684,1838,2476,2364,1951,2251,2455,2327,2296,2618,2597,2480,2753,2621,2589,2667,2568,2513,2705,2890,3085,3186,3229,3194,3273,2837,2580,2567,2598,2591,2272,2126,2370,2144,2319,2636,1854,1598,1828,1758,1931,1918,2062,2568,3031,3072,2656,2270,1725,2297,2049,2319,2429,2688,2277,1693,1714,1086,1409,1930,1658,1738,1989,1957,1826,1791,1697,1762,1569,1721,2030,1888,1960,2257,2477,2552,2171,1398,2007,2968,3217,2627,1676,1055,1547,1625,1412,1570,1495,1597,1891,2666,2836,2239,1670,1514,1444,1801,1818,1794,1793,1592,1516,1742,2179,2453,1821,1769,1737,1692,1620,1715,1686,1722,1545,1262,1202,1588,1885,1777,1345,1245,1770,2070,1947,1725,1476,1432,1471,1694,1849,1730,1700,1593,1446,1390,1800,2326,2427,2107,2017,2172,2194,1823,1636,2078,2304,2451,1731,1615,1962,2099,2198,1921,1726,1863,2028,1986,2075,1830,1519,1544,1553,1647,1529,1384,1682,1637,1526,1532,1418,1522,2237,2644,2357,2130,1970,1810,1605,1575,1460,1322,1260,1219,1512,2061,1945,1830,1796,1954,2041,1878,1663,1539,1630,1564,1610,1725,1650,1771,1941,1859,1998,2020,1877,2025,1862,2279,2384,2077,1629,1315,1554,2094,2677,2800,2877,2971,3037,2958,2478,3001,3006,2481,1874,1942,2395,2209,1599,1251,1577,1532,1209,1681,2251,2685,3274,3542,2805,2689,2519,2458,2342,1792,1935,1854,2019,2243,2031,2504,2541,2503,2047,2372,3083,2451,2495,2954,2243,2684,2468,3022,2740,2974,2648,1856,2129,2111,1908,1995,2152,1823,2086,2395,2468,2281,2316,2089,2182,2080,2064,1881,1997,2468,2209,2429,2522,2452,2815,3335,2886,2615,2207,1983,1446,1532,1911,2169,2420,1990,1476,1845,1998,1958,2005,1904,1739,1886,2440,2395,2918,3804,3763,3543,2250,2631,2921,2855,2514,2330,2322,2080,1562,1854,2380,2404,2240,2244,2116,2352,2393,2081,2343,2368,1587,1163,1496,1697,1776,1889,2061,1853,1658,1789,1804,1893,1976,1943,2357,2336,2252,2127,1969,2316,2690,3199,3068,2623,2707,2536,2320,2297,2317,2025,2531,2278,1741,1735,1644,1641,1497,1649,1621,1436,1605,1663,1709,1770,1688,1561,1426,1391,1583,1716,1244,1171,1441,1533,1269,1338,1506,1648,1468,1394,1456,1563,1595,1206,1240,1381,1693,2508,2309,1813,2121,1875,1414,1925,2388,1979,1825,2312,1919,1611,1540,1746,1769,1608,1452,1432,1410,1447,1664,1641,1568,2080,2331,2097,1947,2278,2290,1982,2065,2485,2164,1848,2303,2525,2507,2286,2211,2578,2569,2415,2644,2787,2374,2334,1958,1287,1697,2710,3377,3009,2645,3355,4117,3531,3071,3090,3216,3460,3371,2998,2684,2417,2137,2073,2012,2002,2636,2873,2383,1758,1574,1633,1633,1530,1354,1392,1520,1591,1625,1353,1384,1622,1637,1686,1602,1484,1363,1330,1415,1504,1440,1356,1517,1581,1511,1376,1523,1506,1514,1716,1984,1989,1913,1886,1566,1658,1814,2341,2981,2814,2107,2178,2037,2146,2009,1818,2010,2237,3134,3650,3322,2899,2539,2376,2408,2366,3070,3186,2521,2614,2634,2380,2459,2702,2609,2460,2856,3032,2217,1668,1576,1551,1699,1960,2085,2416,2111,1797,1916,2072,1592,1480,2500,3609,3846,2830,2284,2696,2938,2995,2787,2350,2178,2033,2020,1966,2268,2460,2459,2564,2784,2439,2268,1813,2016,2365,2719,2087,2321,2464,2875,2409,2190,2298,2358,3647,3776,2621,2192,2187,2746,3084,2768,2474,2458,2690,2499,2688,3173,3164,3132,3299,3400,3042,2883,2837,2745,2533,2388,2330,2155,2953,3605,3474,3119,2354,2097,2543,2706,2584,2740,2909,2846,2876,3109,3227,3126,2978,2955,3029,2924,3068,3067,2587,2393,2354,2734,3101,3217,3182,3238,3143,2221,2007,1790,2002,1983,2040,2156,2094,2260,2450,2932,3194,2849,2624,2513,2678,2730,2931,2907,3023,2651,2137,2226,2109,2069,2499,2442,2745,2745,2734,2977,2777,3118,2836,2034,1669,2010,1929,1975,2331,1914,1837,2180,1992,2476,3198,3193,2936,2511,1833,1927,2514,2210,1730,1705,1582,1548,2136,3234,2148,2308,3173,3138,2490,2577,2463,2364,2539,2423,2026,2258,2676,2484,2207,2172,2064,1912,1689,1548,1439,1720,2226,2207,1961,2105,2314,1918,1870,1874,1655,2077,2737,2886,2873,2735,2978,3125,2597,2404,2238,2443,1951,2081,2175,2674,2391,2504,2256,1912,2147,2092,1769,1509,2408,2832,2410,2741,2818,2417,2131,2375,2563,2673,2906,2822,2334,2307,2364,2404,2031,2141,2282,1830,1587,1604,2280,2712,2292,2027,2043,1708,1564,1923,2688],[2193,2462,2647,2658,2386,2341,2352,2431,2872,3395,3422,2835,2932,2995,2475,2803,2973,2591,2407,2573,2764,2973,3185,2843,2665,3140,2943,2774,2943,3161,3560,2819,2639,3230,3425,3579,3606,3517,3362,3658,3676,3534,4028,4049,3940,3946,3956,3681,3781,3842,3495,3284,3002,2684,2620,2621,3394,3875,3608,3369,3151,2809,3008,2766,2236,2330,3116,3483,2718,2396,2463,2340,2108,2137,1990,2125,2727,3252,3392,3254,2391,1879,2441,3034,3454,2883,2611,2685,2413,2309,2267,2469,3138,3195,2896,2899,3060,2967,2950,3198,3332,2956,2643,3104,3426,3464,3464,3422,3426,3532,3560,3464,3306,2796,2380,2305,2699,3020,3312,3488,3540,3896,3898,3464,3022,2561,2762,3377,3839,3716,3894,4212,4388,4132,3850,3648,3586,3635,3608,3535,3869,3681,3188,3396,3354,3030,3100,3074,1768,1321,2032,1538,1758,3166,3472,3417,3461,2672,2906,3043,3204,3110,2698,2622,2820,3228,3322,3230,2996,2856,2640,2519,2467,2230,1610,1324,2182,3532,4086,3410,2489,2629,3624,3772,3614,2434,2612,2647,3044,3731,4131,3972,3764,3498,3497,3618,3698,3870,3482,3294,3625,3860,3970,3581,3264,3580,3031,2301,2359,2796,2723,2852,2933,3054,3076,3137,3398,3494,3443,3217,2846,2658,2606,2745,2482,2664,2854,2464,2264,2378,2358,2107,1647,1257,2166,3342,3671,3621,3019,2213,2226,3264,3943,4229,4211,4062,3790,3783,3916,3871,3726,3180,2684,2520,2442,2457,2819,3332,3410,3296,3376,3528,3452,3264,3163,3304,3421,3240,2568,1959,2846,3097,3182,3320,3420,3432,3432,3409,3472,3704,3969,3941,3934,3868,4723,4832,4056,2822,2010,1575,2074,2441,2317,2285,2210,1870,1629,2133,2430,2584,2017,1918,2996,3328,2248,2188,2696,2999,3542,3795,3640,3320,3232,3068,2632,2592,2115,1913,1899,2468,3023,3018,2608,2534,2714,2442,2470,2418,2878,2556,2304,2020,2226,2318,1974,2134,2714,2451,2322,2220,2254,2074,1896,1850,2478,2796,2434,2021,1876,2687,2806,3032,3033,2706,2405,2641,2293,1979,2150,2212,1998,1984,2314,2214,2098,2736,2461,1963,2122,1951,1837,1715,1804,1802,1754,2164,2186,2123,1811,1861,2457,3373,3288,3097,3041,2918,3054,3091,2920,2386,2402,2915,3486,3210,3261,3487,2856,2512,2752,3201,3194,2821,2642,2510,2812,2962,2598,2220,1606,1772,2400,2150,1839,1960,2174,2369,2490,2479,2812,3078,3146,3152,2919,3156,3501,3021,2260,2167,2078,1884,1930,1854,2102,2244,2070,2223,2091,1959,1808,1953,2295,2322,1797,1830,2244,2266,2752,3029,2768,2513,2928,3054,2287,2082,1974,2076,2476,2275,2130,2264,2177,1985,1700,1450,1660,1739,1838,1959,1762,1822,1926,2175,2322,2009,2104,2154,1697,1644,1605,1645,1676,1866,1972,1999,1998,2174,2056,2326,2825,2044,1992,2026,1803,1815,1708,1566,1617,2140,2352,2233,1975,1936,1968,1914,1982,1914,1852,2092,2230,1837,1915,2020,2228,2244,2174,2270,2164,1893,1919,2163,2854,2813,2297,2021,2142,2209,2392,3376,3773,2956,1915,2398,2911,2622,2878,3316,2823,2626,2863,3106,3178,3782,3395,2140,1837,2037,2254,2729,2824,2774,2750,2254,1670,1625,2208,2453,2136,2217,1826,1537,1763,1691,1966,2167,2334,1887,2091,2551,2224,2325,2275,1873,1828,1883,1851,2474,2304,2073,2379,2354,1824,1666,1905,2005,2380,2281,2095,2272,1862,1607,1715,1721,1796,1617,1630,1721,1970,2393,2216,2033,2169,2012,1592,1608,2085,2060,1670,1100,1157,1159,1282,1664,1770,1700,1936,2198,1940,1665,1509,1848,2540,1931,1843,1923,1834,1836,1769,1917,2247,2766,2614,2294,2424,2388,2558,2756,2615,2424,2203,2419,3000,2942,2541,2520,2366,2780,2456,2089,2784,2939,2862,2640,2250,2318,2432,2254,2005,1729,1844,1677,1387,1402,1651,1654,1510,1587,2058,2707,2476,2377,2621,2304,2267,2330,1976,2235,2674,2783,2900,3049,2944,2643,2708,3150,3074,2314,2166,1880,2358,3120,3393,3429,3642,3341,3257,3046,2739,2723,2792,2919,2332,2462,2220,2119,2187,1986,2094,2020,2272,1854,1592,2408,3475,3190,2352,2434,2220,2120,2223,2177,2600,2323,2235,2325,2131,1973,1942,2143,2302,2447,2652,2732,2632,2522,2033,2077,2658,3090,2648,2296,2376,2331,2952,2600,2260,2200,2277,2178,2092,2170,2836,3774,3100,2037,2270,2536,2437,2885,2448,2519,2532,2300,1959,1799,1817,1901,1997,2014,1784,1868,1798,1678,2073,2163,2286,2278,2019,2139,2265,2414,3347,3899,3141,2665,2299,3052,3544,2863,3110,2487,2092,2212,2189,2028,1964,2154,2249,2036,2497,2910,2441,1818,2025,2543,2416,2744,3550,3201,2662,2218,1830,1659,1795,1444,1377,1293,1325,1547,1830,1869,1860,1912,1637,1469,1528,1615,1694,1866,1908,2304,3238,3204,2854,3007,3086,3287,3330,3436,3794,3858,3514,3122,3276,3793,3628,3104,2592,2025,1510,1503,1920,2555,2891,2828,3145,3176,2423,2479,2675,2220,1719,2155,2379,1859,1899,1897,1693,2259,3008,3240,3102,2879,1821,1784,2286,2221,1938,1620,1766,1845,1780,1745,1725,1782,1845,1587,1426,1411,1681,1866,1884,2071,2920,2519,1824,1858,1867,1787,1836,1806,2018,1874,1632,1664,1978,2648,2911,2698,2776,2961,2683,2928,3392,3877,2884,1771,1489,1615,1694,1477,1542,1730,1849,1993,1896,2071,2113,2093,2308,2807,3646,3327,2990,3063,2509,2315,2654,2770,2806,2769,2735,2780,3002,3078,2780,2711,2621,2465,2688,2865,2823,2544,2518,2323,1770,2054,2201,1618,1918,2077,1864,2046,2009,2205,2464,2818,2916,2497,2139,1716,2025,1662,1543,1859,2211,1743,1590,1715,1282,1411,1733,1681,1790,1881,1959,1938,1906,1857,1836,1704,1904,2137,2004,1903,2168,2735,2893,2469,1406,1663,1978,1607,1235,1358,1853,2344,2128,1765,1730,1604,1710,1879,2715,3159,2610,1873,1429,1741,2497,2375,1761,1529,1452,2056,2503,2723,2485,1836,1855,1715,1858,1834,1621,1844,2157,1917,1482,1582,1825,1908,1870,1646,2088,2315,1945,1671,1432,1470,1552,1208,1168,1759,1825,1732,1361,1206,1446,1981,2740,2474,1746,1735,2212,2669,2152,1725,1992,2210,2193,1727,1720,2002,2181,2075,1734,1507,1732,2078,2041,2317,1821,1828,1978,1880,2215,1940,1418,1521,1650,1528,1390,1390,1416,1538,1831,1946,1990,1699,1476,1386,1351,1438,1475,1449,1477,1677,2080,2066,1978,1641,1499,1439,1610,1427,1332,1402,1358,1415,1406,1323,1475,1976,2188,2342,2196,2091,2106,2211,2626,2816,2961,2973,2420,1863,2351,2535,2617,2536,2533,2702,2349,1923,1987,2216,2351,2211,1653,2116,2390,1975,1787,2242,1606,1334,1875,2735,2833,2954,2853,2635,2648,2243,2459,2622,2242,2206,2288,2551,2428,2344,2648,2807,2352,2321,3155,3270,2520,2198,1994,2260,2308,2345,2133,1717,2155,2014,1866,1900,1744,2253,2395,2655,2284,2142,2124,2058,1961,1731,1636,2165,2298,2098,2009,1977,2633,2293,2554,2143,1793,2568,3486,3112,2343,2074,1992,1953,2061,1942,1876,1698,1549,1360,1542,1754,1910,1809,1799,1857,2242,2854,2539,2357,2585,2906,2953,2172,2692,2700,2456,2051,1882,1864,1635,1559,1956,2465,2513,2309,2367,1946,1945,2453,2472,2591,2310,1487,1528,2183,2212,2048,2308,2208,1865,2109,2233,1931,2122,2131,1990,2667,2622,2182,1992,1925,2417,2523,2730,3008,3115,3353,3591,2954,2297,1962,2155,2288,1963,2182,1757,1450,1569,1604,2320,1693,1260,1462,1554,1526,1552,1666,1635,1656,1703,1781,1864,1635,1756,1883,1888,1591,1557,1558,1469,1410,1333,1419,1584,1478,1162,1218,1294,1743,2279,2454,2364,2035,1782,2458,3383,3045,2222,2043,2501,2024,1422,1558,1865,2030,1668,1487,1470,1428,1742,1755,1460,1570,1950,2397,2456,2035,2380,2114,1505,1665,1677,1403,1694,2621,2801,2570,2136,2254,2521,2202,2037,2464,2609,2503,2602,2145,1433,1546,1858,2304,2287,3639,4156,3252,2242,2425,3097,3575,3548,3142,2952,2667,2398,2736,2669,2486,2588,3178,3328,2963,2019,1583,1767,1904,1748,1428,1507,1595,1503,1421,1444,1657,1876,1747,1964,2184,1758,1490,1406,1459,1506,1337,1353,1640,1556,1550,1804,1914,1968,2088,1939,2127,2066,2028,1752,1459,1566,1769,2038,2250,2448,2083,1742,2299,2545,2293,2055,2165,2974,3509,3594,3397,2784,2246,2260,2471,2593,2841,2624,2441,2558,2688,2734,2573,2531,2053,1519,2007,2284,2082,1887,1782,1941,2176,2298,1967,2395,2546,2490,2171,1716,1421,1343,2196,3719,4120,3733,3343,2700,2415,2474,2554,2271,2235,2376,2586,2492,2250,2348,2439,2712,2956,2442,2950,2344,1811,2153,2641,2198,2146,2608,2577,2393,2771,2284,2445,3388,3220,2973,2170,2148,2630,2342,2220,2335,2416,2559,2227,2414,2924,3251,3133,3339,3294,3550,3714,3187,2440,2467,2722,2741,3127,3585,3155,3122,3352,2793,2324,2397,2605,2618,2774,3185,3355,3137,3083,3178,3189,3105,3045,3172,2844,2834,2896,3011,2685,2426,2734,2729,3189,3138,2598,2526,2431,2320,2022,1892,2597,2900,2301,2122,2160,2082,2602,3012,2762,2456,1847,1746,2254,2876,2822,2850,2520,1979,2094,2060,2010,2183,1957,2349,2658,2947,3029,2858,2759,2632,1968,1698,1672,1548,1947,2482,2072,2310,2670,2622,2966,3165,3133,2962,2301,1779,2264,2713,2008,2054,2179,1782,1770,2108,2689,2110,2059,2156,2006,2187,2795,2740,2455,2385,2622,2073,2601,2202,1890,1969,1848,2037,2052,1798,1815,1932,2026,2074,1917,1708,1933,1959,2103,1952,1763,1911,2372,2801,3172,3122,2665,2746,2900,2623,2018,2276,2204,2244,2280,2288,2424,2162,2124,2001,1686,1970,2010,1852,1794,2304,2471,1974,2363,2857,2420,1926,2047,2419,2561,2599,2242,1929,2117,2126,2188,2270,2311,2286,1975,1975,2122,2046,2116,1914,1911,1773,1505,1507,2098,2755],[2212,2392,2706,2610,2574,3028,3165,3097,2922,2921,2933,3002,3091,3230,3087,2944,2853,2668,2460,2743,3100,3138,3313,3171,3060,3399,3274,3056,2886,3228,3454,2304,2498,3311,3376,3599,3536,3243,3151,3576,3535,3479,3756,3959,3829,3716,3645,3435,3824,4334,3747,2980,2765,2688,2584,2743,3966,4341,3747,2655,2647,3016,2902,2482,2155,2536,2765,2152,1863,2742,3068,2535,2192,1829,1743,1980,2525,3110,3413,3377,2401,2042,2232,2744,3249,2087,1902,2315,2802,2814,2378,2586,3076,3051,3099,3197,3226,2522,2574,2719,2943,2855,2603,2832,3223,3421,3256,3129,3420,3732,3853,3725,3067,2446,2268,2207,2661,2987,3341,3581,3554,3526,3175,2457,2203,2325,2886,3393,3628,3836,3813,4255,4544,4109,3407,3328,3487,3304,3572,3495,3450,3148,3208,3439,3297,2850,2872,2567,1350,1577,2164,1461,1604,3054,3583,3437,3495,3195,3094,3216,3176,2869,2564,2321,2147,2786,3139,3051,2308,2566,2285,2281,2346,2044,1640,1349,1836,2867,3382,2725,3140,3157,3348,3483,3321,2551,2596,2506,2950,3853,4027,3691,3497,3835,3836,3814,3641,3858,3716,3262,3509,3764,3905,3421,3209,3615,3420,2722,2272,2689,2200,2857,2996,2564,2934,3328,2675,2221,2491,2279,2238,3122,2888,2431,2041,2300,2691,2554,2272,2272,1932,2166,2127,1669,2597,3428,3394,2758,2300,2456,2315,3316,4120,4296,4357,4007,3642,3662,3643,3508,3443,3218,3188,3083,3050,2754,2575,2567,3215,3626,3608,3565,3395,3449,3831,3986,4060,3485,2160,2419,3357,3257,3133,3229,3475,3666,3503,3211,3109,3392,3675,3759,3965,3864,4509,4629,3450,2382,1733,1655,2181,2801,2815,2632,2217,1897,1848,2114,2880,2864,2197,1796,2297,2880,2218,1839,2127,2797,3198,3708,3696,3463,3303,2789,2813,2399,2019,2200,2083,2543,2611,2491,2131,2795,3343,3040,2493,2113,2104,2675,2702,1887,1982,2109,2264,2409,2312,1991,1693,1739,2153,1950,1654,1857,2751,3118,2490,2220,2242,3130,3073,3161,2991,2419,2878,2780,2046,1895,2347,2503,2231,2286,2219,2371,2331,2864,2620,2400,2309,2073,2052,1900,1759,1671,1914,2352,2027,1782,2004,2185,2800,3544,3740,3526,3088,2863,3091,3362,3168,3078,3334,2962,3342,3186,3370,3471,2873,2492,2739,2828,2955,3012,2698,2234,2764,2909,2724,2204,1671,1594,2102,2032,1953,2248,2400,2309,2142,2137,2922,3420,3793,3746,3396,3166,2938,2755,2656,2707,2544,2152,1841,1719,2040,2362,2255,2402,2306,1780,1529,1801,2187,2088,1915,2713,3153,2865,3288,3144,3037,2945,3211,3097,2373,2082,1881,2178,2698,2206,2198,2076,1841,1866,1719,2120,2312,2330,1967,1812,1945,1939,1874,2044,2055,2189,2382,2361,1537,1523,1676,1651,1576,1570,1685,1745,1996,2098,2267,2719,2648,1976,2207,2174,1902,1735,1489,1640,1974,2171,2067,1961,2454,2601,1991,1827,2227,1876,1945,2616,2556,1948,1764,2007,2067,1879,2101,1996,1670,1642,1704,1583,2730,3163,2649,1994,2041,2181,2021,2259,2688,2287,1787,2425,2647,2023,2664,3221,2544,2809,3404,3693,3792,4064,3730,2351,1870,2034,2291,2799,3017,3220,3221,2574,1974,1726,1820,1949,1985,2101,1914,1779,1729,1377,1815,2402,2408,1770,1726,1853,2452,2475,1904,1765,1903,1858,2126,2913,3117,2801,2542,2282,1986,1984,1989,2263,2634,2243,2360,2559,2062,1998,1637,1757,1763,1674,1935,2109,2257,2751,3147,3056,2366,2166,1678,1655,1494,1621,1686,1609,1763,1689,1716,1812,1842,1934,2158,2544,1887,1860,1588,1877,1970,1832,2344,1877,1423,1488,1810,1925,1946,2556,1820,1550,1954,2285,2777,3460,3340,2915,2658,2470,2754,2502,1951,2082,2242,2971,2780,2367,2490,2401,2320,2090,1991,2500,3082,2857,2750,2544,2437,2367,2125,1965,1963,1776,1552,1495,2161,3024,2710,2384,2295,2327,2396,2535,2410,2706,2825,2796,3106,3409,3027,2520,2626,3112,2753,2563,2920,2729,3200,4163,4083,3723,3593,3165,2895,2880,2850,2728,2817,2528,2250,2351,1733,1962,1800,2003,2459,2474,2146,1945,2153,2598,3536,3241,2341,2546,1994,2001,2197,2490,2504,2066,2107,1770,1384,1576,1825,1853,2329,2517,2597,2610,2599,2535,2188,1832,1856,2365,2378,2105,2485,2221,2665,2686,2269,1870,1728,2131,2472,2639,3281,4002,3731,3044,3562,3164,2523,2733,2740,2739,2485,1985,1749,1753,2034,2192,2069,2105,2046,2232,2272,2132,3275,2938,2242,1945,1760,1819,2020,2118,2608,3336,2990,2697,2891,2866,2964,2959,3088,2696,2348,2250,2107,1900,1794,1842,2245,2212,2117,2480,2202,1931,2396,2923,2520,2773,3721,3582,2477,1712,1504,1502,2042,1672,1348,1304,1379,1352,1448,1678,1769,1904,1577,1406,1569,1891,1910,1816,2521,3512,3835,3072,2706,2598,2517,3418,3738,3171,3464,3718,3668,3363,3238,3611,3750,3378,3147,2831,2294,1959,2159,2823,3197,3122,3131,2819,2288,2288,2642,2280,2159,2420,2046,1938,2480,2253,1749,1598,2054,2790,2828,2576,2049,2598,2706,2424,2022,1554,1723,2010,1975,1919,2056,2377,1876,1616,1541,1531,1735,1894,1822,2013,2374,2051,1756,1654,1572,1728,1781,1713,1806,1690,1651,1600,2001,2879,3227,3286,3446,3733,3044,2418,2749,2942,1944,1481,1462,1531,1600,1578,1521,1556,1881,1959,1528,1652,2144,2006,2057,2907,3580,3137,2885,2599,2209,2449,2869,2942,3169,2945,2735,2461,2649,2482,2185,2038,1937,1987,2047,2130,2512,2915,2859,1974,1342,1788,1968,1941,2144,1729,1618,1929,1782,2321,2589,2916,2692,2504,1957,2119,1800,1604,1796,1939,1816,1510,2050,2275,1526,1623,1429,1412,1777,1848,2129,2300,2172,2044,1944,1818,1797,1916,2013,2047,1892,2741,3129,2691,1482,1500,1570,1286,1669,2219,2482,2678,2531,1815,1826,2028,2010,2065,2254,2685,2798,2462,2813,3898,3981,2953,1892,1480,1896,2775,2884,2666,2402,1951,2083,2245,2251,2242,2128,1709,1863,1772,1545,1655,1515,1636,1834,2022,2287,1985,1606,1627,1726,1649,2088,1496,1557,2037,1977,1802,1432,1438,1642,1804,2013,1813,2013,2042,2313,2867,2645,2003,1664,1770,1709,1916,2071,1907,1906,1721,1660,1606,1751,2094,2073,2010,1656,1954,1790,1677,2108,1922,1470,1403,1556,1655,1599,1463,1390,1466,1595,1901,2062,1655,1423,1359,1337,1605,1759,1814,1979,1661,2188,2115,1893,1520,1337,1322,1370,1294,1311,1386,1405,1375,1345,1366,1435,2037,2076,2242,2430,2253,2027,2083,2340,2402,2514,3072,2684,1689,1938,2347,2791,2948,2751,2490,2290,2267,2401,2434,1954,1919,1796,2210,1774,1471,2218,2186,1536,1697,2351,2598,2502,2898,2879,2928,2472,2388,2193,2334,2422,2522,2464,2485,2393,2365,2787,2995,1996,2192,2724,2911,2952,2213,2082,2194,2041,1985,1605,2056,2266,1877,1859,1708,1827,2330,1906,2157,2071,2163,2172,2182,2100,1893,2100,2777,2743,2157,2096,2521,2524,1918,2750,2334,1729,2010,2885,2740,1807,1749,1754,1941,2088,1758,1427,1430,1598,1606,1548,1617,1917,1780,1778,2112,2105,2116,2275,2481,3208,3782,3086,2229,2230,2013,2074,1976,1906,2179,2264,2009,2232,2431,2364,2540,2023,1652,2214,2975,3602,3574,2707,2046,2390,3000,3294,2817,2195,2154,1888,2289,2379,2111,2438,1994,1698,2353,2651,2270,1948,2041,2560,2622,1954,1839,2291,3464,4205,3389,2055,1752,1602,1446,1456,1859,1795,1462,1452,1786,2218,1708,1404,1408,1512,1653,1562,1572,1620,1649,1735,1774,1814,1825,1914,2180,1969,1531,1471,1418,1377,1576,1442,1427,1371,1366,1325,1333,1342,1770,1982,1848,1655,1655,2138,2782,3227,2476,2495,2631,2343,1609,1618,1760,1874,2137,1768,1577,1473,1564,1574,1523,1684,1731,2113,2518,2920,2459,1709,1438,2001,2322,1915,1952,2691,3271,3167,2858,2207,1957,1800,1808,2091,2261,2398,2729,3009,2814,2170,1878,1701,2009,2520,3355,2821,1943,1888,2352,2874,3605,4017,3431,2878,2427,2561,2840,2921,2979,3289,3153,2912,2472,1820,1702,1798,1797,1675,1504,1615,1540,1389,1318,1492,1849,2290,2578,2868,3069,2473,1863,1640,1632,1367,1309,1340,1475,1443,1498,1913,2105,2358,2597,2172,1937,1927,1897,1493,1355,1527,1904,1835,1608,1729,1679,2134,2888,2810,2363,2759,3374,3891,3738,3750,3445,2890,2567,2634,2712,2700,2345,2215,2119,2053,2147,2307,2447,2320,1584,1356,1572,1642,2059,2211,2024,1806,2073,2398,2071,1994,2558,2532,1835,1480,1614,1741,2263,3227,3363,2922,2397,2272,2494,2937,2842,2601,2576,2653,3023,2535,1983,2177,2075,2242,2605,2720,2884,2680,2244,2526,2829,2302,2167,2288,2298,2798,2743,2521,3034,3597,3194,2980,2646,2700,2864,2597,2442,2422,2556,2468,2206,2223,2712,3191,3312,3378,3284,3459,3492,2876,2691,2909,3415,3979,4128,3570,3087,3291,3468,2972,2536,2286,2642,2909,2447,2651,3305,3272,3134,3144,3288,3344,3078,2829,2586,2165,2224,2761,2469,1971,2282,2524,2691,2147,1513,2444,2933,2549,1875,1629,2321,2977,2944,2487,2156,1959,2105,2148,2181,2082,1551,1594,2182,2809,2762,2571,2300,2034,2116,2505,2155,2448,2132,1971,2092,2745,3053,2653,2480,2316,2067,2331,1690,1694,1670,1742,1652,2192,2768,2967,3103,3119,3001,2612,2057,1807,2173,2576,2191,2615,2428,2248,2494,2670,2591,1932,1449,1422,1535,1888,2285,2331,2556,2069,2227,1825,1801,1636,2170,2466,2091,1951,1976,1838,1919,2434,2241,2272,2078,1809,1825,1804,1980,1925,1724,2045,2297,2269,3079,3110,2705,2438,2334,2513,2257,2188,2416,2337,1895,2137,2565,2239,1870,1785,1575,1561,1663,1718,1923,2232,2575,2663,2826,2615,2136,1944,1781,2253,2521,2471,1952,1946,2107,2072,2124,2269,2215,2188,2091,2070,2163,2163,2408,2153,1908,1748,1578,1573,1837,2072],[2303,2333,2639,2753,2828,3022,2944,2998,3116,3506,3629,3554,3176,2467,2588,2654,2410,2054,1870,2396,2930,2879,3108,3298,3349,3187,2997,2996,3053,3310,3374,2501,2406,3216,3266,3142,3008,3050,3217,3536,3597,3294,3415,3769,3716,3636,3752,3566,3421,3666,3397,3050,3057,2767,2578,2964,3551,3530,2928,2174,2501,2876,2746,2220,1801,2321,2080,1517,2259,3127,3367,2663,2244,1988,2232,2861,3090,3548,3798,3271,2491,2337,2162,2554,2730,2006,1675,2074,2780,2872,2536,2684,3164,2956,3035,3287,3379,2842,2713,2607,2710,2720,2640,2602,2879,3099,3079,3000,3017,3785,3724,3510,3182,2817,2902,3164,3045,2777,2928,3086,2852,2496,2546,2597,2842,2993,3041,2456,2459,3178,3625,4124,4242,3963,3454,3274,3310,3493,3746,3685,3385,2870,3184,3595,3405,2927,2680,2316,1510,1978,2030,1384,1658,3091,3470,2949,2905,2896,2843,2995,2711,2675,2377,1984,1700,2585,3090,2932,2141,1951,1998,2657,2641,2268,2002,1698,1819,1997,2249,2280,2724,2749,2773,2997,2667,2478,2598,2383,2672,3662,4017,3665,3735,3930,3882,3914,3437,3404,3410,3614,3603,3496,4030,4296,4003,3454,3342,2715,2010,2153,2216,2762,2167,2197,3106,3327,2460,1500,1774,1830,2458,3838,3396,2279,1896,2455,2284,2041,2060,1962,1900,2461,2836,2797,3230,3419,2922,2507,2624,2533,2396,3638,4484,4399,4441,4232,3642,2931,2617,2348,2296,2498,3269,3466,2962,2540,2698,3041,3317,3349,3713,3780,3638,3539,3830,4321,4436,3396,1958,2136,2841,3204,3146,3052,3296,3587,3450,3446,3116,3281,3587,3833,3842,3483,3804,3777,2792,2009,1604,1758,2364,2800,2950,2947,2462,2025,2288,2374,2985,3215,2756,2222,1879,2453,2536,2069,2233,2286,2369,3087,3067,2936,3023,3033,2850,2121,1749,2099,2646,2542,2591,2280,1980,2481,3173,3009,2261,1935,2303,2742,2563,2081,2021,2159,2520,2271,1835,1545,1361,1808,2306,1955,1771,1941,2307,2402,2373,2584,2188,2257,1904,2350,2702,2797,2978,2648,2104,1925,2092,2680,2469,2242,2181,2371,2451,2718,2386,2443,2326,1984,2203,2168,1996,1796,2056,1999,1492,1203,2290,2831,2874,3373,3613,3176,2977,2908,3040,3372,3275,3121,2942,2529,2979,3316,3263,3160,2668,2640,2938,2976,3040,2777,2256,2042,2636,2601,2314,1812,1542,1593,1654,1808,2061,1867,1908,1949,2160,2053,2197,3022,3530,3329,3375,2946,2339,2482,2681,2614,2539,2428,2213,2303,2351,2491,2511,2461,2345,1989,1954,2244,2270,2049,2032,2530,2852,2584,2801,2749,3026,2966,2993,3156,2570,2050,1943,2251,2889,2136,2062,1981,1598,1792,1631,1868,2208,2129,1994,2146,2032,1764,2108,2065,1909,2002,2066,2289,1898,1583,1722,2363,2458,1798,1475,1301,1894,1956,2101,2216,2054,2282,2504,2207,1968,1894,2172,2480,2343,2125,1766,1762,2476,2674,1916,1562,2226,2509,2464,2897,2776,1854,1830,2031,1882,1878,2036,1964,1636,1842,1983,1824,2422,2862,2692,2011,1980,2249,2204,2464,2319,1530,1737,2533,2446,1863,2645,3143,3062,2916,2824,3463,3704,4168,3768,2503,1926,2120,2390,2288,2367,2963,3589,3187,2354,2137,1994,2482,2308,1846,2053,2014,1841,1666,1704,1964,1874,1594,1686,1969,2403,1869,2157,2662,2735,2461,2486,2375,2164,2253,2210,1895,1481,1577,2188,2404,2165,1936,2142,2284,2339,2035,1976,1940,1892,2293,2343,2314,2423,2753,3361,3330,2495,1858,1511,1583,1676,1775,1769,1632,1438,1700,1980,1902,1931,2148,2085,2176,1757,1820,1886,2096,1783,2120,2457,1643,1113,968,1327,1809,2364,2425,1596,1638,2126,2378,2554,2843,2914,2745,2352,2074,2906,2042,2084,2561,2451,2591,2612,2347,2467,2709,2408,2013,2455,2778,3175,2707,2508,2440,2969,2914,2536,2345,2324,2375,2200,1945,1997,2333,2416,2225,2331,2514,2575,2574,2712,2766,2882,3189,3307,2933,2618,2561,2712,2832,2667,2962,3074,2823,3043,3719,3636,3383,3244,3404,3481,3250,3060,2898,3032,2735,2364,1436,873,1554,2300,2662,2716,2160,1973,2089,2344,2903,3261,2514,2380,2482,2092,2482,2718,2789,2575,1494,1605,1974,2024,2219,2054,2063,2585,2719,2792,2909,2671,2357,2453,2299,2154,2799,2678,2255,2728,2072,2013,2069,1821,1866,2471,2842,2875,2712,2404,3040,4351,3408,3376,2722,2368,2544,2950,3274,2741,2146,1924,1756,1920,1757,2033,2141,1960,2301,2160,2161,2728,2579,2138,1869,1735,1753,2078,2239,2482,2811,2698,2563,2919,2055,1732,2129,2102,2331,2328,2310,2076,1930,1746,1386,2008,2382,2200,2191,2624,2702,2513,2635,2612,2974,3720,3106,1929,1425,1429,1482,1612,1462,1404,1391,1453,1497,1818,2284,1896,1643,1604,1643,1904,1969,1812,2023,2690,3392,3598,3161,2797,2469,2422,3341,3929,3549,3658,3785,3931,3791,3548,3672,3623,3222,3089,3092,2699,2177,2325,2809,2736,2823,3062,2577,2169,2063,2359,2498,2359,2066,1835,2244,2315,1825,2272,2022,1687,1873,1732,2060,2419,2363,1874,1483,1665,1641,1820,2265,2156,2060,2075,2365,1850,1621,1683,1733,1819,1868,1898,1959,1964,1926,1858,1673,1668,1888,1817,1874,1812,1637,1836,1805,2071,2921,3252,3465,3417,3920,3155,2063,2277,2653,2136,1567,1531,1498,1420,1400,1428,1524,1568,1710,1903,1571,1504,1874,2118,2315,2668,2908,2686,2208,2314,2857,2943,2709,2818,2898,2734,2305,2092,2045,2298,2224,1956,2033,2004,1940,2232,2821,2033,1352,1698,1673,1576,1926,2024,1542,1716,1996,1889,2690,2770,3087,2841,2642,2404,2382,1770,1650,1984,2186,2249,2308,2518,2106,1685,1807,1478,1488,1824,1802,1872,1982,1906,1855,1797,1873,1940,2251,2350,2422,2160,2530,3111,3188,2116,1483,1627,1896,2469,2763,2809,2710,2370,1737,1590,1978,2177,2031,1996,2393,2871,3175,3834,3980,2995,2921,2234,1694,2132,2379,2224,2011,1984,1891,2015,2374,2529,2272,2353,1809,1478,1432,1366,1642,1636,1404,1340,1725,1797,1521,1440,1621,1722,1587,1902,1667,1784,1990,2163,1933,1646,1639,1448,1294,1414,1701,2378,1927,1992,2884,3211,2344,1523,1349,1404,2150,2518,1877,1561,1754,2086,1741,1669,1850,1774,1640,1990,2276,1856,1733,1571,1554,1501,1385,1500,1493,1596,1746,1634,1467,1368,1591,1696,1389,1350,1323,1351,1596,1590,1666,1947,2496,2762,2468,1986,1411,1301,1353,1387,1344,1355,1408,1423,1434,1470,1528,1518,1869,2142,2343,2479,2479,2154,2076,2289,2188,2002,1806,1747,1620,2082,2452,3257,3837,3030,2152,2355,2918,3165,3221,1999,1504,1945,2475,1949,2319,2652,1887,1737,2169,2461,2215,2704,2945,2508,2574,2472,3091,2604,2046,2366,2446,2385,2614,2667,2512,3000,2534,1599,1641,1920,2397,2643,2200,2497,2540,2322,1644,1482,2409,2218,1737,1710,1642,1964,1787,1332,1539,2234,3024,2812,2319,2532,2155,2330,3345,3633,2456,2444,2770,2041,1837,3111,2708,1956,2447,3155,2574,1936,1838,2042,2058,1770,1448,1288,1585,1826,1690,1311,1583,2061,1929,1974,2268,2122,1964,2427,2286,2714,2622,1922,1591,1677,2073,2303,1924,2248,2880,2680,2373,2011,1797,1867,2412,2368,1923,2332,2680,2422,2354,2202,2141,2148,2104,2890,2419,1986,2556,2049,2113,2678,2624,1863,1422,1920,2536,2888,2272,1695,1773,1933,2312,1926,1525,2318,3544,3548,2507,2207,2532,1933,1743,1780,1699,1410,1575,1353,1738,2500,2103,1430,1368,1443,1576,1564,1669,1454,1681,1852,1724,1691,1726,1771,1867,1860,1627,1443,1494,1413,1458,1504,1531,1823,1848,1509,1390,1455,1594,1523,1399,1330,1559,2150,2413,2063,1552,2024,2232,1438,1177,2010,1973,1659,1650,1612,1745,1491,1530,1916,2168,2156,2335,2612,2733,3134,2833,2142,2348,2851,2808,2499,2373,2977,2954,3050,3187,2456,1852,1870,2177,1953,1693,1972,2630,2799,2674,2693,2386,1953,2416,2661,2916,2757,2044,2324,2624,2283,2682,3552,3522,3112,2741,2933,3105,2866,2713,3065,3064,2373,1676,1594,1848,2243,2520,2060,1566,1730,1917,1592,1441,1660,1908,2632,3532,3542,3433,3338,2516,1853,1514,1358,1366,1344,1438,1428,1663,2235,2120,2257,2499,2543,2072,1758,1754,1613,1561,1678,1710,1602,1704,1737,1955,2370,2557,2667,2417,3088,3861,3718,3132,3175,3494,3156,2766,2697,3015,2872,2243,2165,2206,2475,2182,2115,2028,1706,1488,1520,1534,1848,2576,2392,2220,1605,1640,2070,1962,1793,2102,1948,1693,1964,1875,2054,2391,2633,2537,2324,2026,2041,2135,2249,2263,2857,3262,3212,3185,2670,2081,2119,2059,2100,2306,2163,1969,2532,2791,2423,2215,2153,2604,2058,2393,3258,2967,2857,3296,3735,3338,2833,2746,2841,2750,2338,2475,2521,2709,2555,2613,2521,2757,2903,3056,3361,3343,3133,2791,2835,3271,3134,3820,4015,3558,3265,3609,3526,2653,2233,1902,1597,1725,2337,1909,2178,2907,3306,3416,3372,3419,3205,2900,2622,1969,1661,2775,2934,2257,1810,2535,2839,2610,2208,1443,1814,2559,2057,1482,1469,1870,2435,3349,2920,2627,2496,2373,1843,2160,2289,2002,1880,2502,2947,2534,2306,2176,2236,2280,2387,2043,2124,2172,2032,2545,3451,3360,2784,2549,2034,1958,2260,1843,1567,1456,1462,1406,2149,2955,2999,2949,2806,2789,2173,1825,1255,1843,2365,2212,2137,2247,2645,2930,3072,3210,2791,1854,1739,1818,1644,2009,2042,2191,1953,2028,1821,1838,1943,2179,2504,2396,2249,2197,2169,2119,2409,2302,2556,2143,1851,2104,2323,2295,2160,2049,2456,2734,2784,3223,3312,3384,3076,3150,3015,2547,2255,2324,1987,1999,2531,2734,2053,2046,1874,1550,1536,1574,1550,1763,2330,2732,2665,2754,2186,1659,1750,1369,1803,2316,2126,1779,1727,2263,2678,2699,2769,2349,1963,1969,2149,2303,2624,2806,2279,1882,1970,1753,1734,1970,1981],[2333,2198,2195,2529,2840,2849,2780,2896,3307,3675,3928,3718,3389,2910,2873,2952,2428,2043,2254,2540,2654,2777,2994,2998,2967,2674,2931,3383,3398,3494,3499,2733,2634,3119,3375,3209,3050,3122,3475,3687,3659,3443,3474,3650,3717,3480,3693,3659,3123,3055,3210,2893,3178,2741,2696,3104,2833,2648,2401,2507,2868,2807,2950,2483,2162,2728,1811,1417,2191,2937,3039,2849,2706,2632,3349,3972,3797,3755,3473,2337,2441,2578,2602,2906,2744,2140,1789,2163,2751,2887,2689,2727,3200,3172,3061,3203,3422,3220,2832,2574,2792,2752,2322,2060,2205,2240,2304,2337,2526,3419,3515,3515,3881,3940,3760,3450,2787,2136,2215,2421,2342,2476,2724,2874,2749,2629,2836,2253,1587,1788,2582,3729,4057,3600,3086,2965,3093,3311,3572,3723,3557,3359,3586,3895,3759,3474,2878,1990,2209,2530,2268,1594,1750,2868,3247,2943,3165,3068,2603,2331,2354,2529,2065,1833,1836,2007,2352,2231,2102,2108,2577,3351,3001,2463,2249,2109,1971,1836,1954,2135,2238,2347,2712,2957,2751,2355,2303,2257,2676,3817,4147,4122,4133,3905,3386,3408,3431,3439,3709,4003,3852,3580,3689,3943,4143,3492,3530,2775,1941,2042,2636,2310,2062,2840,3261,3343,2956,2485,2353,2105,3095,3849,2932,2039,1994,2422,2460,2054,1961,1791,1458,1614,2493,3218,3339,2742,2180,2514,2836,2624,2445,3376,4468,4401,4208,4123,3525,3173,2444,1538,1414,1942,2797,3241,2808,2646,3118,3585,3708,3774,4024,3858,3815,3903,3796,4108,4333,3021,1891,2300,2449,2833,2755,2995,3128,3510,3437,3327,3182,3248,3549,3865,3759,3226,2711,2109,2008,1954,1821,1799,2416,2728,2463,2559,2380,2163,2309,2379,2599,2365,2479,2398,2128,3013,2599,2010,2201,2057,2060,2565,2628,2510,2590,2778,2317,2116,2103,2630,3474,2916,2533,2209,2126,2654,3193,3069,2541,2229,2491,2711,2318,2221,2371,2609,2850,2913,2592,2191,1769,1851,1998,1987,1910,1908,2060,2050,1903,2180,2655,2871,2179,2059,2169,2214,2448,2984,2787,2269,1673,2102,2615,2288,2065,2086,2170,2159,2287,2492,1910,1948,2125,2029,2106,2056,1932,2024,1645,1959,2326,2288,2706,2774,3021,3195,3151,2966,2861,3110,3271,3086,2586,2190,2712,3351,3329,2854,2520,2873,3017,2902,2728,2545,1934,2071,2369,2404,2199,1645,1768,2306,2229,1897,1913,1747,1664,1886,2288,2084,1946,2859,3194,2822,2618,2591,2744,2309,2077,2135,2518,2211,2343,2855,2828,2531,2213,2110,2158,2180,2286,2155,2127,2497,2288,2686,2933,2241,2235,2198,2624,2757,2779,3147,2722,1978,1813,2345,2536,2097,2078,1941,1779,1748,1868,2332,2222,1945,2070,2133,1560,1754,1984,2077,1896,1755,1514,1619,1719,2003,2183,2536,2566,1771,1594,1492,1931,2542,2670,2316,2108,2323,2279,2100,1932,1919,1843,1502,1737,1961,1950,2074,2643,2853,2155,2176,3141,3339,2668,2754,2742,1927,2061,2018,1746,1866,1843,1823,2072,2847,2699,2341,2499,2743,2604,2164,2192,2308,2468,2742,2119,1288,2061,3162,2495,1828,2534,3229,3353,2814,2788,3383,3851,4332,3489,2170,1732,1947,2079,2074,2314,2742,3109,2801,2397,2467,2544,2998,2383,1898,1989,2156,2177,2062,2062,2254,1947,1772,1880,2246,2158,1897,2233,2545,2787,2481,2363,2090,1886,1932,2000,1758,1363,1733,2338,2876,2536,2669,2692,2155,2307,2165,2136,1991,2034,2777,2934,2852,2610,2757,3098,2637,1712,1599,1553,1858,2519,2257,1676,1515,1672,1728,1830,1865,2338,2504,2223,1898,1792,1955,2381,2363,2064,2229,2481,2254,1415,989,1585,1794,2356,2596,2026,1823,2066,2090,2049,2229,2104,2397,2409,1696,2500,2466,2754,2833,2614,2258,1954,2092,2247,2437,2598,2496,2763,2902,3230,2779,2309,2443,2784,2766,2645,2415,2399,2498,2750,2432,2048,1664,1799,2202,2488,2542,2365,2388,2485,2636,3142,3450,3102,2579,2569,2541,2609,2962,3405,3332,2739,2022,2269,3076,3045,3269,3371,3518,3635,3370,3244,3283,2839,1915,1232,655,439,945,1613,2530,3219,2933,2711,2524,2786,3379,3191,2320,2279,2294,2220,2646,2652,2771,2733,2100,1799,2020,2347,2690,2451,2757,2723,2232,2181,2111,2214,2115,2206,2341,2490,2735,2669,2403,2518,2340,2216,2241,2115,2414,2773,2912,2847,1746,1746,2602,3594,2921,2681,2588,2502,2416,2739,3257,2857,2379,2318,2093,2025,1899,2221,1732,1665,2245,2096,2150,2476,2388,2099,2049,2165,2067,2287,2324,2678,2486,2366,2564,2392,1699,1521,1489,1469,2425,2605,2754,2277,1816,1592,1790,2400,2403,2098,2163,2654,2932,2115,1892,2343,2830,3263,2686,1890,1552,1654,1616,1557,1564,1527,1604,1732,1779,2046,1919,1687,1565,1549,1687,1949,1883,2490,3112,3174,3310,3528,3408,2758,2334,2733,3397,3741,3793,4006,3880,3639,3629,3732,3631,3356,3138,2723,2668,2806,2806,3057,2976,2565,2701,2777,2490,2096,1817,2056,2391,2503,2202,2027,2352,2082,2173,2770,2504,1948,1642,1688,2243,2172,1408,1215,1247,1536,1842,1867,1882,1885,1883,2170,2131,1627,1583,1720,1802,1859,1905,1968,1995,1793,1935,1977,1833,1830,1894,1773,1714,1903,1647,1849,1755,2280,2830,3164,3465,3436,3780,3449,2657,2778,3266,2814,1993,1627,1522,1396,1347,1366,1481,1575,1616,1740,1698,1331,1501,2105,2236,2271,2578,2843,2622,2564,2876,2953,2809,2588,2589,2479,2249,2119,2379,3131,2954,2266,2115,1974,2079,2160,2225,1822,1931,1915,1431,1583,1769,1570,1446,2126,1927,2149,2566,3002,3278,2985,2378,2240,2207,1803,1993,2675,2960,2647,2808,2263,1974,1787,1835,2036,2011,1969,1804,1687,1719,1833,1823,1542,1788,1616,1673,1990,2137,2221,2524,3220,3796,2925,1586,1744,1979,2157,2490,2262,1897,1597,1668,1624,1641,1938,2271,2223,2191,2852,3417,3907,3730,2458,2918,2532,1864,1939,2024,1805,1752,1853,1836,1716,1940,2151,1945,1880,1923,1778,1644,1547,1497,1471,1141,953,1528,1910,1802,1528,1516,1481,1425,1321,1509,1632,1962,1997,1673,1631,1439,1153,1300,1486,1969,2175,2269,2520,3014,2887,1969,1549,1446,1344,1579,2002,2005,1622,1993,2406,1849,1789,1790,1742,2019,2474,2503,2032,1751,1558,1720,1543,1473,1395,1368,1435,1646,1771,1686,1578,1590,1415,1144,1343,1388,1387,1464,1575,1567,1998,2742,2424,2150,1813,1314,1301,1329,1414,1432,1513,1566,1604,1532,1517,1500,1398,1527,1826,1932,1942,1812,1885,1996,2058,2175,1891,1601,1698,2419,2888,2722,3392,3611,2950,2082,2229,2713,2643,2792,2313,2193,2324,2586,2687,3091,2762,1758,2182,2579,2642,2461,2946,3041,2342,2207,2396,2493,1962,1849,2185,2093,2050,2863,3437,2907,2784,1759,1218,1508,1949,2408,2564,2658,2631,2261,1972,1368,1936,2216,1910,1519,1261,1381,1748,1995,2024,2138,2340,2610,2586,2000,2408,2126,1787,2463,3340,2850,1920,1692,1427,1758,2706,2563,2913,3553,3644,2855,1981,1883,2267,1876,1513,1355,1354,1506,1720,1528,1207,1651,1976,2046,1798,1871,2042,1798,2014,2360,2385,1901,1322,1449,2095,2368,2151,1924,2493,2522,2002,1888,1748,2128,2418,2766,2719,1901,2112,2802,2554,1850,1487,2266,2309,2294,2326,1823,1856,1988,1832,1992,1952,2078,1793,1929,2208,2542,2479,2249,1523,1529,1944,2012,1810,2102,2625,3440,2477,1850,2390,2408,2456,2631,2430,1842,1534,1599,1213,1453,1796,1645,1315,1351,1292,1337,1419,1558,1456,1783,1943,1731,1745,1760,1583,1673,1815,1765,1716,1709,1571,1561,1609,1636,2255,2179,1513,1347,1377,1508,1410,1286,1399,1583,1691,1670,1631,1644,1591,1700,1827,2009,2364,1870,1389,1409,1735,1720,1678,1886,2247,2390,2448,2731,2801,2842,2780,2713,2676,2664,2780,2828,2755,2350,2222,2318,2995,2940,2392,2292,2128,1763,1632,1572,1552,1986,1731,1692,1886,1898,1921,2523,2911,2832,2655,2663,2600,2192,1910,2046,2646,3330,3340,3064,2938,3044,2806,2597,2756,2367,1853,1483,1931,2235,2415,3135,2975,2360,2461,2392,1714,1474,1526,1940,3134,3792,3636,3651,3760,3340,2520,1777,1536,1461,1637,1629,1603,2308,3006,2657,2353,3173,3298,2281,1822,1891,1882,1816,1668,1561,1677,1861,2162,2236,2281,2145,2517,2872,3188,3206,2958,2467,2545,2840,2723,2734,2645,2807,2636,2775,2647,2452,2464,2486,2248,1965,1857,1768,1716,1643,1704,1874,1944,2417,2354,2062,1928,1802,1903,1933,1975,2211,2483,2187,2036,2026,2242,1870,1612,1620,1732,2056,1909,2014,3024,3341,3494,3548,3218,2496,1962,1935,2463,2430,1829,1942,2394,2566,2215,2039,2098,2099,1848,2391,2875,2968,2905,3208,3694,3470,3020,2524,2484,2487,2193,1981,2166,2378,2312,2376,2537,2709,2731,3005,3425,3575,3121,2598,3330,3835,3297,3071,2820,2700,3377,3633,2818,2534,2441,1730,1961,2131,2342,1811,2198,3016,3221,3230,3417,3364,3045,2738,2579,1800,1077,2257,2986,2825,2440,2708,2588,2409,2612,2382,2558,2894,2490,1992,1827,2155,2690,3020,2668,2503,2685,2590,2620,2792,2956,2955,2501,2579,2583,2563,2702,2395,2409,2336,2222,2347,2148,2128,2113,2539,3124,2844,2652,2244,2236,2234,2123,1648,1489,1721,1913,1940,2758,3221,3107,3124,3001,2504,1410,1333,1538,1914,1902,2089,2277,2342,2575,2875,2966,3427,2897,2038,2360,2130,1677,1880,2083,2106,2427,2316,1789,1863,1908,2087,2294,2463,2828,2740,2620,2293,2302,2391,2137,1906,2141,2767,2803,2424,2577,2675,2815,2815,2972,3297,3583,3497,3509,3573,3094,2452,2182,2172,1764,2149,2586,2562,2131,2153,1956,1667,1632,1667,1692,1668,1969,2000,1741,1897,1891,1878,1723,1440,1658,2014,1700,1636,1709,2125,2843,3068,2851,2433,2083,2514,2633,2329,2330,2477,2427,2604,2492,1951,1726,1787,1726],[2614,2474,2150,2037,2440,2807,2780,2799,2866,3360,3924,3691,3381,2897,2614,2620,2364,2421,2476,2630,2523,2533,2798,2459,2039,2423,3242,3428,3459,3781,3702,2489,2504,3116,3310,3340,3243,3355,3650,3631,3441,3449,3625,3573,3615,3452,3566,3720,2954,2871,3135,2905,3506,3074,2480,3094,2998,2913,2666,2471,2821,3020,3226,2720,2370,2525,2308,2165,2360,2964,3198,2900,2084,1839,3140,3706,3921,3745,3470,2754,2776,2845,3129,3386,3052,2543,2012,2221,2612,2691,2558,2779,3220,3344,3344,3606,3510,3095,2712,2458,2822,2580,1818,1844,2292,2153,2089,2009,2662,3598,3586,3300,3448,3695,4014,3873,2802,2407,2627,2762,2802,2878,2876,2842,2763,2761,2877,2547,1801,2003,2706,3724,3826,2774,2290,2536,3166,3476,3520,3530,3504,3494,3366,3520,3840,3566,2972,2867,3073,2998,2323,1442,1660,2843,3016,2970,3253,3166,2843,2041,2496,2122,1824,2065,2081,2250,2418,2237,2232,2315,2820,3393,3219,2785,2388,2292,2039,1934,1754,1663,2165,2769,2999,3024,3059,2687,2062,1909,3196,3986,4259,4147,4108,3875,3164,3205,3525,3604,3713,4006,3967,4038,4014,3458,3730,3738,3702,3007,2205,2469,2619,2303,2542,2615,2845,2855,2715,2356,2342,2452,3435,4101,3108,2099,2108,2454,2420,1719,1788,1689,1168,1247,1877,2630,2688,2131,2288,2656,2858,3003,2976,3482,4375,4352,3989,4029,3704,3250,2100,1457,1592,1974,2767,3352,3163,3198,3305,3453,3566,3619,3393,3080,3338,3663,3802,3894,3694,2375,1846,2494,2285,2441,2564,3295,3509,3359,3242,3343,3356,3396,3542,3542,3386,3076,2500,1619,1612,1874,1923,1937,2474,2354,1910,1940,1951,2183,2260,2371,2148,2119,2142,2105,2116,2377,2068,1963,2145,2259,2112,2010,2374,2696,2625,2475,2087,2039,1822,1956,2297,2479,2580,2532,2774,3175,3488,3234,2720,2259,2166,2763,2720,2471,2649,2909,2673,2168,2592,3274,2555,1847,2148,2205,2086,2035,2325,2131,2142,2322,3196,3270,2088,1729,1815,2326,2283,2796,3212,2384,1810,1981,2514,2589,2207,2205,2104,1913,2176,2532,1920,1920,2032,2314,2289,2031,1871,2232,2464,2397,1933,2049,2282,2193,2642,3090,3098,3006,2725,2723,2998,2894,2479,2107,2238,3105,3366,3023,2623,2907,2757,2610,2468,2296,1742,1809,2533,3017,2464,1763,1503,1792,2078,1951,2143,1844,1689,2232,2590,2512,2661,3271,3403,3082,2363,2505,3063,1843,1283,1753,2278,2297,2376,2193,2274,2443,2121,1831,2026,2443,2493,2246,2780,2835,2188,2706,2768,2376,2334,2075,2133,2253,2407,2824,2634,2077,1760,2631,2622,2105,2014,2071,2355,2031,1810,2155,2024,1745,1836,2318,2187,2083,1958,1969,1760,1510,1402,1454,1813,2150,2042,2135,2229,2046,1970,1945,1776,2118,2459,2195,2044,2119,2151,2076,1844,1582,1486,1713,1688,1695,2082,2480,2863,2832,2444,2358,2332,2351,2068,2068,1777,1813,1973,2061,1854,1814,2100,2016,2198,2729,2730,2392,2524,2745,2626,2269,1979,1949,1942,1941,2018,1750,1904,2454,2082,1792,2709,2961,3109,3647,3598,3623,4225,4144,2930,1953,2114,2180,2132,2517,2581,2341,2279,2221,2160,2326,2186,2102,2401,2545,2440,2790,2858,2374,1916,2061,2081,2698,2687,2265,1749,2070,2077,2079,2431,2897,3054,2844,2544,2271,1963,1953,1921,2424,2740,3146,2951,2805,2250,1839,1927,1833,2065,1996,2046,2671,3056,2984,2552,2467,2710,2541,1772,1475,1400,1730,3060,3042,2390,2060,2051,1937,1862,2115,2566,2475,2178,2116,2154,2342,2529,2347,2208,1863,2159,2150,1765,1508,1698,1439,1825,2763,3240,2695,1985,2026,2078,2250,2183,2714,2830,2292,2600,2526,2561,2792,2686,2076,2002,1959,1781,2520,2567,2507,2945,3416,3542,3352,2751,2387,2695,3067,2811,2498,2385,2419,2928,2808,2354,1385,1152,1533,1422,1087,1248,1803,2023,2485,2928,3388,2654,2262,2010,2272,2956,3213,3176,2775,2004,1838,2354,2845,3133,3053,3006,2812,2746,3120,3162,2775,1946,980,609,528,665,1404,1402,1929,2602,2552,2557,2769,3364,3617,2899,2275,2371,2258,2482,2717,2531,3118,2420,2521,2580,2170,2332,2849,2602,2332,2044,1911,2310,2637,2728,2395,2265,2637,2366,1959,2023,1925,2067,2184,2142,2111,2080,2416,2078,2186,2584,2033,1643,2188,2658,2655,2998,2884,2426,2052,2288,2731,2765,2367,2038,2172,2148,2232,2269,2053,2162,2376,2181,1995,2375,2327,1811,1549,1528,1814,2458,2462,2733,2773,2620,2557,2107,1483,1422,1549,1937,2799,2568,3128,2614,1711,1619,1939,2170,2079,2083,2330,2263,2192,1719,1829,2198,1985,2453,2386,1918,1723,1566,1608,1668,1826,1631,1633,1896,1870,1925,1571,1552,1620,1672,1874,1808,2480,3473,3730,3749,3873,3508,2924,2388,2082,2513,3352,3352,3513,3991,3785,3526,3552,3574,3477,3146,3055,2887,2933,3225,3554,3333,2557,2490,2463,1871,1669,1740,1683,1847,2160,2844,2524,1942,2247,2445,2648,2641,2438,2344,2087,1987,2278,1954,1090,962,972,1110,1294,1178,1111,1048,1146,1650,1975,1555,1639,1677,1805,1866,1895,1842,1763,1754,1783,1700,1676,1738,1832,1592,1604,1986,1713,1729,1663,2204,2852,3248,3527,3540,3444,3340,3318,3176,3066,2718,2075,1987,1571,1434,1431,1441,1448,1433,1521,1495,1561,1929,2147,2116,2226,2376,2049,2350,2806,2943,2645,2575,2719,2752,2458,2243,2376,2114,2061,2734,3064,2519,1915,1656,1981,2370,2277,2116,1942,1541,1619,1765,1447,1252,1927,2062,1907,2455,2655,3216,3238,2735,2567,2524,2220,2055,2132,2680,2814,2313,2430,1764,1755,1732,1799,2120,2204,2074,1930,2082,2381,2552,2014,1432,1808,1395,1157,1421,1669,1992,2455,3078,3573,3174,1908,1695,1979,1765,1661,1494,1472,1534,1682,1739,1692,1936,2518,2549,2071,2452,3364,3781,3716,2657,2318,2152,1817,1577,1366,1656,1988,1948,1685,1582,1710,1671,1623,1700,2058,2042,1776,1562,1493,1427,1373,1556,2019,1952,1792,1515,1580,1664,1633,1623,1322,1264,1670,1796,1625,1826,1721,1523,1663,1618,1623,1680,2373,2710,2308,1668,1467,1470,1398,1520,1533,1572,1651,1584,1638,1660,1615,1850,1601,1614,2324,2275,1935,1931,1846,2111,1862,1698,1520,1374,1588,1598,1504,1540,1647,1868,1863,1432,1345,1410,1368,1346,1599,1682,1461,1664,1954,2060,2114,1629,1245,1266,1333,1472,1398,1594,1656,1571,1440,1451,1671,1732,1434,1336,1439,1567,1372,1721,1735,1925,2110,2064,2118,2431,3153,2949,2930,3566,3154,2600,1903,1859,2302,2617,2973,2798,2566,2401,2392,2260,2310,1946,1532,2374,2711,2080,1986,2303,2323,2132,2273,2352,2176,1942,2119,2469,2674,2658,2886,2644,2957,3530,2385,1528,1858,2222,2329,2399,2366,2042,1943,1701,1554,2295,2166,1788,1345,1060,1400,1862,1883,1868,2184,2463,2440,2196,1826,1716,1778,1832,1965,2430,2467,1969,1776,1558,1868,2535,2776,3067,3031,3441,3348,2017,2035,2215,2038,2049,1904,1528,1609,1976,1844,1675,1938,1925,2030,1816,1611,1989,2041,2077,2501,2364,1628,1192,1482,1772,1663,1584,1669,2361,2108,1816,1945,1962,2049,2154,2172,2039,1739,1750,2128,2353,1975,1501,2059,2394,1916,1806,1896,1809,1949,2041,2240,2238,2330,2375,2342,2690,3112,2581,1991,1373,1310,2225,2728,2404,2670,2463,2636,2077,1864,1824,1989,2087,2077,2062,1650,1488,1618,1362,1550,1451,1287,1353,1470,1510,1518,1468,1361,1255,1562,1834,1587,1557,1281,1230,1476,1598,1836,1814,1671,1655,1750,1829,2081,2457,1912,1442,1344,1331,1524,1320,976,1565,1649,1424,1549,1448,1438,1742,1720,1869,1726,2116,2116,1735,1775,1974,1906,2062,1964,1842,1911,2379,2836,2908,2736,2440,2129,2295,2505,2734,2817,2831,2645,2227,2480,3227,2764,2162,2475,2432,1616,1619,1497,1361,1431,2000,2306,1926,1804,2134,2214,2432,2223,2052,2429,2721,2552,2191,1959,2221,2856,3278,3152,2990,3492,3122,2670,2460,1824,1607,1558,2072,2677,2865,3009,3142,3415,2945,1930,1457,1471,1679,2191,3680,3941,3842,3938,4013,3960,3282,2293,1747,1641,1764,1821,2030,3119,3285,2929,2094,2842,3265,2424,2131,2298,1948,1858,1952,1875,1922,2070,2210,2235,1838,2008,2666,2814,2437,2550,3011,2676,2236,1900,2706,2876,2546,2539,3011,3537,3334,2604,2364,2311,1938,1753,1906,2028,2023,2639,2764,2286,1875,2132,2211,1769,1717,1794,2022,1932,2022,2328,2216,2099,1735,1625,1843,1746,1614,1447,1643,2269,2408,2555,2950,2940,2791,2625,2414,2340,2147,2087,2718,2798,2193,2397,2501,2591,2849,2679,2115,1974,2226,2408,2222,2244,2577,3205,3657,3432,2610,2018,2736,2762,2318,2250,2652,2894,2758,2675,2898,2730,2378,2521,3190,3768,3606,2830,3210,3529,2618,2667,2990,3023,3616,3240,2144,2498,2519,2118,2281,2028,2678,2869,2740,2928,3061,3076,3101,3129,2938,2674,2786,2508,1816,2408,2753,2856,2940,2851,2578,2425,2684,3198,3097,2980,2546,2045,2088,2380,2644,2282,1952,2534,3096,3029,3079,2949,2857,3032,3001,2614,2588,3592,3603,2905,2459,2314,2852,2931,2548,2644,2370,2540,2925,2688,2718,2400,2404,2605,2482,1771,1396,1925,2204,2053,2750,2901,2588,2740,2668,1885,1455,1333,1727,1945,1720,1885,2048,2154,2431,2466,2556,2941,2744,2872,3007,2136,2041,2332,2238,2372,2532,2287,2392,2045,2056,2762,2846,2876,2780,2753,2923,2584,2468,2306,1941,2088,2713,3206,2742,2364,2656,2855,2511,2546,3318,3522,3142,2938,3056,3108,2975,2750,2536,2125,1664,2150,2408,2203,2013,1831,1681,1639,1622,2210,2556,1954,1635,1495,2025,2282,2126,2008,1792,1863,2229,2199,2138,2788,2621,2171,2258,2733,2776,2730,2422,2480,2422,2227,2141,2109,2362,2719,2678,2031,1542,1482,1402],[2679,2921,2708,2103,2303,2413,2491,2762,2532,2938,3561,3403,3293,2461,2048,2662,2675,2448,1857,2291,2478,2169,2214,2058,1862,2545,3443,3485,3664,3745,3702,2264,2284,2984,3152,3335,3374,3496,3605,3396,3240,3186,3494,3563,3217,3067,3285,3475,2569,2307,2665,3033,3666,2875,2260,2753,2492,2459,2459,2592,2953,3008,3202,2836,2152,2091,2520,2849,2681,3138,3266,2429,1687,1428,2474,3104,3296,3273,3212,3156,2963,2899,3229,2993,2665,2669,2247,2288,2424,2562,2362,2727,3377,3585,3764,3948,3439,2616,2415,2678,3188,2998,2450,2391,2468,2412,2525,2531,3050,3696,3729,3317,3296,3421,3226,2998,2792,2872,2806,2792,2793,2741,2818,2806,2798,2753,2777,2640,2279,2419,2857,3300,3100,2777,2569,2411,2822,3476,3526,3638,3304,3208,2874,3253,3760,3508,3493,3593,3674,3162,2005,1173,1610,2797,3006,3375,3309,3110,2625,2444,2865,2544,2255,2279,2454,2348,2244,2303,2320,2060,2750,3262,3248,2929,2556,2532,2353,2249,2033,1803,2051,2720,3205,2721,2884,3494,2655,2203,3088,3881,4166,3930,3929,3477,2939,3144,3256,3431,3639,4125,4012,4119,3781,3243,3550,3627,3337,3111,2846,2547,2370,2622,2580,2648,2407,2154,2027,2153,2461,2624,3032,3205,2758,2263,2093,2491,2881,1984,1834,1577,1011,1308,1768,2303,2257,2319,3062,3373,3334,3084,3001,3770,4255,3758,3019,3397,3160,2576,1983,1202,1279,1693,2648,3243,3069,3178,3241,2924,2679,2662,2423,2630,3081,3407,3662,3593,2750,1852,1776,1905,1967,2215,3055,4022,3783,3040,3020,3439,3323,3106,3393,3327,3030,2585,2598,2354,1849,1939,2166,2003,2053,1925,2023,1974,2109,2145,1946,2314,2040,1991,1890,2204,2352,2149,2225,1942,2007,2438,2089,1857,2040,2733,2738,2093,1965,2055,1828,1968,1737,1941,2165,2250,2442,2770,3296,3033,2419,2140,2490,3223,3100,2406,2352,2678,2270,1779,2024,2421,2542,2008,2172,1939,2076,2080,2084,2105,2529,3304,3361,2763,1959,1910,1875,2178,1714,2336,2711,2446,2171,1987,2481,2533,2238,2470,1881,1569,1891,1948,1918,1994,2027,2586,2424,1645,1735,2060,2105,2182,1852,2272,1754,2274,2137,2584,3043,3155,2958,2835,2713,2565,2363,1939,2070,2921,3134,2806,2452,2508,2125,2329,2410,1932,1665,2137,2624,2825,2324,2193,1488,1738,2032,2069,2156,1954,2262,3111,3511,2689,2574,3044,3323,3476,2322,2503,2752,1989,1860,2111,2017,2266,2431,2381,2609,2730,2244,1771,1654,2175,2438,2159,2818,3136,2386,2175,2097,1823,1852,1869,1961,2226,2298,2780,2622,2122,1755,2752,2809,2102,1940,2091,2298,1914,2040,2406,2343,1982,1990,2188,2447,2357,2125,2032,1935,1781,1700,1746,1984,2261,2122,2299,2004,1905,1888,1820,1682,1622,1584,1739,1903,2037,1996,1864,1805,1598,1877,1874,1838,1694,1722,2204,2815,2686,2127,1931,1832,2080,2453,2226,1827,1843,1738,2099,1948,1861,2482,2865,2817,3060,2906,2599,2845,3087,2612,2383,2194,2103,2498,2428,2325,2264,1673,1496,1657,1774,2906,2836,3330,3787,3506,3821,4208,3882,2799,2052,2114,2008,2115,2671,2875,2239,1827,1846,1768,1808,1686,1739,2128,2391,2846,2951,2512,2184,1728,1890,2280,2888,2742,2246,2414,2266,1874,2043,2700,3523,3574,2624,2007,1875,1895,2128,2563,3205,3405,3399,2805,2080,1948,1598,1650,1775,1911,2158,2348,2166,2619,2700,2239,1712,1948,2337,1779,1649,1792,1553,2163,2707,2751,2299,1917,1879,1913,2311,2698,2630,2375,2205,3009,3007,2270,2065,1919,1615,1839,2153,2092,1974,1516,1299,2131,2695,2415,1746,1740,2316,2258,2259,2309,2619,2780,2880,2501,1989,2075,2330,2520,2421,2091,1817,1835,2368,2128,2339,2341,2211,2854,3319,3443,2974,2477,2311,2757,2647,3038,2941,2692,2556,2462,1946,1666,1546,1322,1299,1349,1419,1651,2872,3124,3219,2578,2523,2676,3116,3283,2697,2591,2580,2404,2444,2408,2370,2670,2921,2889,3031,2928,2691,2397,2201,2182,1609,929,1183,1358,1963,2009,1892,2228,2460,2430,2341,2786,3255,2700,2154,2176,1822,2050,2557,2468,2630,2071,2666,2830,2102,2241,2512,1769,1533,1835,2150,2655,2858,2614,2590,2647,2735,2197,1722,1736,1773,2128,2463,2091,2321,2675,2556,2141,2095,2312,1800,1479,2208,2635,2534,2451,2252,2243,2025,2337,2034,1963,2105,2147,2334,2398,2302,2372,2701,2543,2366,2757,2435,2565,2063,1641,1458,1419,1728,2319,2342,2039,2047,2082,2161,2066,1875,1927,1745,1973,2378,1936,2328,2416,1692,1772,1971,2084,2047,2523,2523,2316,1942,1910,2548,2629,1956,2083,2101,1679,1536,1555,1619,1542,1582,1646,1559,1721,1743,1610,1533,1669,1801,1918,1871,2469,3292,3452,3530,3692,3517,2813,2173,2246,2268,2598,3241,3186,3402,3783,3580,3642,3733,3551,3513,3386,3198,3035,3071,3395,3533,3194,2828,2758,2325,1895,1874,1979,1730,2003,2047,2061,2089,1897,2084,2072,1721,2018,2269,2342,1975,2110,1967,1686,1139,1008,1013,1042,1035,1059,1060,981,949,1460,1827,1464,1489,1572,1732,1745,1744,1753,1746,1834,1890,1722,1654,1881,1955,1558,2115,2026,1916,1934,1724,1914,2447,2939,3172,3398,3259,2932,3251,2958,2906,2876,2524,2863,2415,1846,1551,1523,1439,1366,1389,1372,1436,1732,1984,2160,2161,2032,2088,2058,2242,2709,2811,2268,2216,2559,2457,2272,2395,2061,1803,1938,2285,1985,1704,1974,2443,2610,2387,2203,1944,1870,1968,1453,1103,1409,1978,1850,2080,2492,2893,3331,3325,3031,2910,2642,2275,2389,2492,2685,2533,2348,2155,1662,1687,1803,1937,2088,2269,2124,2159,2412,2308,1912,1459,1413,1775,1630,1295,1466,1655,1826,2279,2828,3015,3221,2467,1733,1975,1866,1669,1803,1865,1797,1897,2010,1791,1730,2190,2492,2153,2077,3022,3354,2821,2269,2188,1916,1623,1659,1597,1720,2223,2345,1683,1307,1372,1527,1637,1716,1946,2270,2016,1529,1525,1561,1549,1636,1742,1754,1827,1792,2010,1863,1447,1290,1139,1306,1415,1690,1598,1698,1759,1759,1852,1641,1520,1529,1535,1764,1604,1495,1513,1423,1418,1652,1608,1514,1603,1580,1477,1707,1759,1519,1386,1505,1780,2090,1863,1824,2507,2285,1575,1541,1564,1507,1633,1563,1409,1397,1389,1611,1700,1686,1693,1572,1477,1358,1467,1637,1506,1360,1546,2001,1934,1642,1589,1418,1356,1467,1538,1493,1474,1647,1580,1434,1671,1875,1351,1350,1616,1619,1542,1801,1694,1848,1966,2071,2005,1876,2335,2718,3108,3637,3770,2546,1881,1911,1778,2077,2332,2209,2072,1901,2120,1857,1411,1271,1735,2536,2447,1528,1484,2230,2282,2000,1974,1882,1667,1812,2038,2420,2633,2954,2845,2478,2739,2444,1926,1973,2129,2042,2222,2452,2198,2200,2921,2283,2263,2428,2040,1712,1418,1289,1566,1854,1374,1316,1827,2732,2763,2181,2085,1826,2388,2789,2533,2800,2961,2575,1723,1676,2211,2968,2986,2017,2134,3610,3098,2127,2229,1993,1809,1878,1960,1760,1880,1869,1954,1872,2026,1876,2122,2115,1669,1788,1836,1708,2326,3153,3121,3154,2643,2249,2395,1801,1346,1736,2168,2325,2305,1888,1433,1423,1587,1798,2191,2658,3268,3061,2670,2296,2579,2457,2025,2432,2365,1835,2185,2431,2308,2584,2756,2700,2170,2773,2997,2192,2067,1809,1450,2102,2990,3275,3451,3085,2042,2390,2015,1774,2008,1888,1676,1557,1311,1438,1499,1479,1479,1638,1510,1570,1820,2254,2248,1749,1404,1543,1751,1587,1465,1339,1017,1349,1463,1434,1528,1599,1660,1715,1846,1779,2009,2134,1773,1723,1445,1384,1372,947,953,1552,1561,1553,1739,1417,1660,2491,2614,2677,1587,1600,2054,1963,1792,1717,1893,2020,1912,1882,2087,2627,2610,2379,2647,2509,1831,1782,2375,2752,2676,2851,2880,2669,2395,2148,1516,1492,2273,2471,2033,1837,1432,1432,2000,2725,3079,2769,1939,2171,1623,1836,1829,2007,2780,3311,3450,2924,2315,2393,2677,3273,3320,3040,4109,3674,2755,2720,2610,2233,1932,2092,2508,2929,2820,2319,2766,2535,1605,1502,1896,1872,2519,3772,3912,3695,3723,3858,3912,3896,3184,2286,1903,1644,2002,2851,3570,3361,2469,1671,1928,2432,2353,2532,2212,1753,1912,2031,1858,1929,1960,2091,2243,2114,2491,3145,3470,3059,2800,3216,2679,2168,2015,2824,2809,2437,2871,3338,3552,3510,3081,2519,2004,1775,1797,2433,2555,2360,2961,3826,3606,2320,1774,1698,1607,1663,1899,2303,2147,1998,2105,2187,2354,2147,1766,1931,2304,2238,1545,1598,2172,2634,2989,3154,3012,2644,2244,1930,2024,2366,2340,2602,2866,2504,2276,2576,2281,2611,2424,2396,2830,2844,2852,2635,2253,2363,2646,3154,2774,1994,2210,3111,2891,2531,2714,3154,3404,3095,2540,2705,2611,2298,2497,2862,3373,3376,3184,3389,2933,2576,3315,3915,3838,3231,2731,2258,2713,2687,2270,2302,2531,3074,3120,2776,2708,3188,3232,3034,3021,2833,2751,2715,2768,2535,2391,2113,2315,2686,2787,2877,2658,2644,3248,3436,3088,2885,2501,2293,2501,2369,2155,2261,2220,2857,3640,3207,2782,2335,2509,3002,3199,3321,3763,3625,3160,2534,2452,3008,2996,2641,2373,1977,2272,3068,3185,3054,2770,2399,2437,2473,2096,1861,1954,1889,1890,2363,2426,1857,2184,2437,2191,2240,2088,2481,2759,2088,1745,1771,2294,2125,2052,2880,2946,2619,2877,2801,2349,2511,2460,2271,2325,2228,2203,2844,2303,2294,2711,2464,2333,2308,2604,2918,2335,2025,1807,2098,2483,2399,2423,2232,2066,2251,2491,2502,2812,3331,3346,2885,2946,2709,2415,2591,2827,2425,1941,2052,2236,2402,2068,1840,1914,1839,1771,1804,2969,3221,2097,1661,1598,2141,2330,2227,1828,1589,1743,2213,2234,2654,3508,3326,2908,2214,1883,1760,2172,2187,2045,2047,2184,2376,2203,2069,2391,2422,1864,1659,1587,1334],[2427,2911,3007,2794,2547,2285,2796,3248,2877,3132,3065,3061,3052,2301,2142,2706,2835,2398,1605,1784,2085,2078,2303,1907,1947,2681,3101,2930,3383,3885,3664,2101,1980,2749,3066,3152,3362,3710,3355,3413,3606,3536,3448,3230,2930,2828,3271,3226,2248,2084,2585,2868,2934,2528,2351,2141,2160,2225,2454,2901,3183,3097,2908,2592,2296,2380,2509,2874,2460,2496,2548,2078,1959,1799,2351,2378,2237,2789,2944,2765,2825,2814,2924,2704,2391,2137,2082,2375,2990,3097,2536,2790,3812,3725,3730,3853,3636,3448,3388,3241,3370,3603,3516,3305,3244,3286,3392,3327,3406,3462,3498,3677,3812,3828,2905,2962,2956,2744,2655,2642,2678,2701,2886,3155,3099,2940,2978,2941,2858,2957,3034,3455,3592,3475,3249,2809,2746,2941,3338,3428,3118,3275,2952,2621,2917,3053,3204,3374,3195,2761,2778,2514,2431,3031,3172,3470,3440,3289,2584,2375,2409,2294,2110,2646,3493,3149,2932,2286,2314,2241,2885,3289,3219,2657,2470,2799,2774,2597,2344,2190,1959,3062,3041,2291,2942,3526,2863,2499,2943,3363,3260,2937,3274,3271,3068,3031,3432,3571,3688,4168,4188,4132,3894,3387,3381,3307,3541,3531,3206,2382,2675,2626,2402,2654,2184,1807,1585,2254,2887,2883,2776,2386,2246,2486,2333,2820,3405,2468,1974,1471,1147,1321,1996,2842,2701,2527,3197,3262,2336,2208,2495,3074,3316,2769,2534,2876,2552,2460,2284,1338,1290,1458,2512,3185,3133,3098,2763,2596,2840,2698,2556,3060,3293,3377,3385,3222,2525,1858,2105,2048,1788,2031,3144,4014,3971,3513,3128,3394,3054,2840,2722,2755,2581,2181,2223,2238,2034,2272,2063,1912,2340,2288,2415,2434,2669,2369,2588,2742,2940,2844,2437,2491,2554,2855,2996,2444,2593,2776,2529,2062,1986,2515,2688,2496,2602,2138,1811,2123,1778,2189,1844,2342,2717,3299,2954,2346,2042,2154,2863,3243,2626,1957,2105,2185,2154,2104,2288,2679,2348,2087,1963,1860,2116,2000,1932,1999,2775,3454,2783,2343,2421,2481,2111,1720,2111,3020,2695,2257,2123,2002,2319,2332,2285,2874,1980,1636,2268,2474,2243,1948,2002,2426,2388,1749,1806,1600,1455,2140,2387,2083,1998,2236,1998,2207,2555,2850,2991,2873,2854,2489,2687,2461,2447,2540,2690,2645,2758,2562,2247,2562,2585,2097,1906,2292,2552,2610,2406,2812,2548,2244,1958,1687,2022,2740,2756,3035,3486,2590,2694,2586,3237,3864,3528,3811,3022,2282,2398,2411,2215,2199,2284,2049,2193,2370,2310,2056,1860,2026,2306,2191,2298,2231,2114,2437,2736,2653,2721,2819,2566,2608,2684,2889,2588,2099,1899,2591,2739,2092,1937,1896,1766,1829,2049,2352,2503,2342,2234,2160,2554,2586,2283,2284,2201,2014,2155,2054,2391,2204,2151,2074,1765,1852,1926,1954,1973,1931,1494,1750,1965,2045,1873,1876,1757,1725,2074,2208,2180,1885,1593,2025,2730,2569,2105,2053,1707,2099,2729,2144,1657,1761,2064,2603,2646,2531,2856,3479,3207,3229,3356,2525,2731,3480,2968,2486,2236,2009,2206,1952,1709,1644,1588,1554,1921,2061,2811,3356,3536,3481,3397,3566,3642,3428,3108,2624,2292,1853,2013,2256,2322,1914,1946,1717,1549,1642,1801,1748,1723,2094,2416,2024,2166,2357,1902,1774,2270,2254,2185,2371,2151,1859,2142,2770,3506,3513,2728,2341,2198,2081,2018,1951,2177,2800,3515,3899,3266,1873,2301,1939,1976,2086,1957,2602,2642,2288,2167,2016,1889,1532,1902,1990,1754,1877,1870,1466,1945,2394,2671,2264,1810,1936,2037,1841,1539,2084,2142,1867,2474,2343,1963,1831,1754,1795,1927,1995,2321,2398,1792,1813,2651,2419,1774,1992,1969,1964,2182,2305,2176,2169,2435,2377,1814,2082,2178,2115,2555,2803,2298,1970,2098,2197,2182,2424,2234,2092,2024,2530,3011,2895,2843,2524,2864,2937,3145,3265,2952,2587,2246,1926,1911,1860,1845,1755,1642,1798,1759,2536,3031,3007,2905,2862,2910,3266,2724,2261,2530,2552,2346,2277,2149,1994,2215,2411,2624,2571,2226,2057,2208,2306,2501,1846,1844,2084,2211,2028,1955,2143,2314,2708,2834,2597,2301,2347,2414,2133,2004,1889,2082,2338,2680,2431,1967,2200,2434,2141,2120,1809,1361,1968,2430,2139,2470,2223,2044,2427,2567,2658,2310,1754,1692,1954,2571,3029,2272,2024,2288,2663,2486,2308,2293,1964,1653,2080,2340,2208,2301,2600,2384,2628,2562,2060,1831,1818,1911,1989,2176,2128,2053,2434,2306,2954,3492,3247,2911,2438,1940,1647,1820,2097,2513,2310,2039,2442,2102,2305,1998,1970,1946,1818,1935,1806,1637,2035,2328,1973,2106,2009,2040,2098,2546,2258,2296,2003,1870,2472,2841,2460,1969,2352,2013,1620,1718,1489,1385,1427,1522,1528,1796,1646,1333,1553,1723,1924,1816,2145,2984,3049,3332,3608,3748,3209,2631,2360,2548,2509,2569,3161,3295,3386,3915,3774,3658,3620,3642,3652,3617,3147,2534,2695,3109,3266,3206,3111,2737,2522,2329,2131,2517,2395,2371,2245,2099,2302,2204,1747,1353,1649,2294,2459,2533,2083,2157,2027,1583,1157,1063,1012,1052,1088,1065,1078,1018,1008,1606,1626,1679,1435,1526,1660,1656,1739,1886,1838,1880,1925,1879,1949,1926,2087,1947,2208,1939,1880,1760,1851,2148,2245,2256,2259,2955,3051,2720,2999,2784,2979,2987,3041,3195,3105,2663,2010,1511,1432,1325,1310,1395,1421,1476,1619,1943,1954,1772,1968,2048,1798,1997,2304,2168,2520,2406,2190,1957,1920,1981,1844,1882,2024,1869,2025,2507,2754,2584,2535,2315,1998,1881,1766,1549,1873,2232,1991,1697,1713,2354,3052,3096,3010,2532,2724,2394,2352,2551,2629,2693,2580,2568,2175,1521,1872,2029,2119,2093,2147,2032,1996,1721,1443,1552,1753,1687,1833,1772,1412,1396,1597,1938,2049,2684,2946,3253,3150,2469,1859,1591,1892,1896,1680,2155,2742,2986,2103,1760,1949,1937,1847,2402,3237,3239,2609,2161,2155,1982,1477,1650,1715,1946,2118,1887,1387,1312,1312,1378,1624,1611,1683,2358,2236,1682,1409,1349,1592,1782,1772,1855,2057,2039,1738,1430,1415,1376,1419,1959,1732,1854,1582,1297,1641,1943,1950,1750,1748,1675,1305,1358,1433,1532,1344,1273,1349,1412,1428,1406,1488,1371,1205,1664,1629,1442,1406,1506,2377,2834,2197,2105,2282,1760,1422,1608,1784,1601,1651,1511,1511,1527,1428,1604,1455,1466,1642,1720,1716,1587,1547,1550,1403,1350,1376,1600,1621,1450,1533,1479,1419,1544,1614,1431,1499,1498,1597,1497,1452,1314,1243,1574,1854,2022,1991,1871,1978,2132,1791,1853,2055,1637,1416,1641,2300,2844,2995,2100,2080,2082,1441,1432,1664,1791,1765,1966,2277,1819,1181,1289,1975,2662,2663,1946,1684,1853,1800,1720,1556,1871,2197,1991,2206,2700,3042,3057,2733,2814,2557,1779,1649,1724,1903,1812,1775,2177,2407,2414,2648,2446,2546,2408,2092,1661,1433,1500,1640,2042,1577,1578,2052,2765,2967,2605,2614,2623,2656,2624,2688,3243,3195,2813,1912,1882,2291,3150,2887,1849,2475,3664,2744,1954,2038,1847,1876,1994,2104,1980,2066,1998,1942,1990,1924,1776,2027,2091,1916,1858,1742,2317,2944,3802,3962,3721,3206,2973,3166,2468,1579,1825,2261,2036,1832,1738,1330,1277,1864,2146,2090,2635,3616,3758,2916,2293,2546,3174,3445,2810,2238,1873,2177,2372,2283,2386,2132,1896,1954,2549,3083,2227,2472,2857,2002,2552,3200,3288,3506,2917,2400,2240,1897,1804,1532,1782,2002,1558,1358,1808,1581,1500,1549,1500,1531,1766,2127,2619,2649,2402,1895,1561,1739,1716,1430,1165,1153,1515,1617,1415,1351,1311,1305,1605,1706,1766,1855,1898,1853,1838,1741,1683,1491,1209,1209,1440,1527,1650,1758,1903,2486,2558,2265,2253,1785,1722,1948,1853,1723,1815,2258,2043,1621,1822,2191,2610,2662,2651,2620,2066,1781,1904,2431,2582,2512,2784,2832,2436,1759,1595,1531,2124,2642,2823,2577,2018,1708,1990,2676,3228,3365,3063,3049,3005,2187,2105,1974,2610,3313,3677,3813,3109,2398,2330,2917,3705,3419,3326,3459,2835,2488,3077,3448,2844,2091,2122,2591,2994,2727,1909,1610,1709,1622,1640,1956,1892,2742,3654,3386,2999,3072,3399,3429,3732,3592,3104,2214,1779,2484,3622,4060,3097,1856,1582,1816,1960,1754,1905,2046,2315,2643,2840,2292,1881,2072,2218,1933,1949,2457,3447,3742,3373,2456,2677,2291,1746,1615,2423,3095,3001,2952,2955,3230,3261,3119,2678,2292,2160,2401,2711,2492,2082,2599,3675,3206,2263,1839,1631,1577,1589,1860,2106,1937,1754,1947,2205,2272,2177,2045,2272,2292,2279,1659,2470,2296,2045,2524,2731,2625,2356,2164,2202,1956,2395,2362,2214,2388,2343,1997,2027,1730,1868,2082,2536,2461,2646,2945,2765,2671,2416,2337,2596,2600,2492,2482,2684,2477,2073,2697,3416,3415,3122,2861,2744,2401,2292,2642,2562,2713,2833,2763,3051,3290,3510,3393,2973,3513,2707,2386,2495,2485,2137,2186,2460,2942,3466,3203,2899,3158,3549,3165,2913,2972,2696,2563,2655,2573,2792,2645,2144,2260,2688,2641,2652,2723,2788,2967,3364,3588,3469,3028,2352,2174,2531,2685,2793,2208,3019,3366,3087,2956,2618,2563,3017,3449,3565,3429,3356,3159,2622,2402,2420,2707,2818,2666,2585,2789,2846,2884,3059,2950,2747,2614,2542,2498,2308,2091,2372,2754,2314,1968,1826,2253,2799,2698,2605,2665,3164,3461,2648,2031,1714,2150,2219,2635,2858,2478,2457,2797,2580,2490,2526,2397,2134,2076,2004,2303,2803,2706,2358,2185,2023,2069,2106,2186,2575,2091,2062,2074,1903,2242,2454,2241,2110,1941,1918,2007,2431,2965,3536,3676,2811,2845,2821,2640,2532,2259,1743,1498,1702,2178,2418,2296,2288,2098,1829,2003,2286,3078,2718,1770,1567,1772,2081,2078,1942,1725,1594,1704,2204,2380,2626,2613,3294,3554,3016,2375,2089,2127,2020,2126,2510,2452,2678,2419,2020,2116,2220,2094,1982,1951,1779],[3176,3249,3110,3150,2651,2327,2966,3420,2943,2911,3042,3271,2884,2669,2790,2615,2856,2557,1894,2134,2373,2280,2477,2319,2208,2833,2996,3187,3620,3897,2900,1706,2253,2777,2921,2899,2790,3053,2912,3274,3388,3354,3168,3050,2943,2929,3396,3279,2858,2946,3470,3545,2542,2322,2265,2350,2705,2389,2156,2104,2440,3151,3204,2930,2464,2396,2568,2692,2268,2437,2547,2225,2056,2102,2596,2604,2329,2776,3502,3240,2930,3158,3234,3222,3046,2479,2448,2677,2810,2746,2452,2763,3187,3233,3328,3661,3680,3711,3554,3374,3256,3221,3068,3182,3500,3817,3941,3796,3696,3493,3327,3462,3570,3804,3725,3413,2830,2654,2820,3018,2896,2886,3009,3450,3664,3574,3480,3492,3372,3295,3582,3950,4070,4069,3771,3428,3562,3792,3528,3463,3374,2687,2141,2151,2375,2728,2897,3129,3090,2365,2592,2510,2854,2985,3124,3545,3792,3310,2801,2676,2661,2485,2768,3494,3821,3413,3626,2880,2387,2393,2695,2760,2651,2237,2329,3232,3480,2848,2389,2282,2162,2819,2529,2995,3404,3319,2940,2626,2777,2629,2062,1914,2586,3300,3400,3176,3437,3420,3685,4157,4108,4034,3562,2957,3298,3573,3529,3264,3296,3008,3082,2742,2619,2533,2060,1738,1967,2712,2790,2729,2387,1810,2075,2584,2697,3090,3137,2256,1758,1492,1380,1490,2387,3244,2853,2478,2750,2663,2017,2511,2430,2353,2683,2566,2757,2795,2499,2620,2310,1788,1661,1586,2084,2534,2676,2667,2502,2500,3000,3165,2830,3104,3294,3364,3124,2850,2094,1825,2388,2255,1834,2099,3009,3701,4060,3914,3320,2723,2365,2719,2480,2048,2088,2167,2150,2231,2187,1967,1595,1765,2289,2520,2665,2791,2867,3089,2922,2551,2366,2306,2369,2318,2627,2888,3132,3062,2821,2756,2824,2207,1833,2066,2771,3209,2798,2033,1735,1787,1778,2381,2072,2411,2861,3326,3117,2618,2444,2647,2995,3063,2283,2151,2509,2157,2222,2265,2358,2335,1985,1841,1730,1825,2124,1848,1970,2509,3008,3329,2940,2275,2189,2413,2518,2353,2976,3797,3198,2415,2232,2115,2066,2357,2389,2735,2366,2465,3137,3353,2513,1844,1904,1940,2112,2090,1739,1356,1541,2082,2539,2452,2314,2540,2678,2529,2389,2449,2860,2768,3013,2587,2548,2160,2050,2278,2864,3112,3262,3262,3085,3009,2563,2026,2289,2315,2265,2380,2414,2623,2525,2455,2318,1643,1355,2424,2571,1706,2339,2450,2449,3192,3667,3632,3555,3271,2892,2832,2809,3174,2996,2354,2231,2013,2302,2304,2455,2486,2211,1926,1825,1946,2138,2158,2241,2829,3069,3189,3194,3233,2892,2531,2399,2642,2680,2130,1975,2605,2595,2093,1782,1853,1882,2106,2030,2372,2647,2443,1946,1923,2239,2172,2106,2221,1991,1955,2224,2254,2465,2009,2271,2206,1852,1972,1853,2061,2092,1975,1670,1629,1936,2084,1908,1741,1713,1774,1875,1851,1847,1786,1705,1717,1703,1641,1848,1914,1815,1920,2133,1737,1511,1824,2220,2534,2670,2254,2757,3297,3063,2742,2579,2125,2458,3018,2636,2140,1812,1792,1850,1852,2311,1807,1870,1868,2198,2820,2939,3373,3804,3596,3450,3325,3451,3415,3293,2947,2542,2099,2207,2309,2041,1809,2019,2311,2117,1853,1906,1677,1721,1812,1757,1901,2567,2413,1623,1810,2331,2079,2092,2282,1798,2067,2513,2618,2842,2812,2114,2056,1831,1684,1817,1750,1609,2230,2887,2944,2800,2588,3301,2832,2429,2264,2163,2352,2316,2074,1843,2281,2198,1798,1604,1537,1364,1475,1508,1411,1887,2266,2273,1897,1715,1874,1990,1845,1250,1501,1316,1541,1692,1922,1999,1930,1941,1976,1960,2542,2867,2209,1656,2298,2345,2165,1916,2037,1748,1619,1997,2085,2185,2480,2584,2554,2853,3390,3085,2174,1687,1782,2204,2120,1952,2341,2413,2291,2266,2561,2895,2489,2531,2488,2266,2227,2388,2392,2203,2285,2735,2421,1996,1883,2109,2113,1985,1798,1901,1961,2039,2464,2810,2962,3161,2801,2511,2719,2415,2325,2832,2973,2336,2021,1895,1699,1715,2057,2476,2391,2367,2140,2155,1796,1503,2097,2570,2167,2130,1985,1892,1994,2003,2264,2813,3534,2642,2198,2401,2039,2188,2271,2290,2720,2987,2494,2150,2391,2512,2280,2036,1512,1214,2217,2541,1964,2124,2219,2149,2389,2575,2226,1802,1942,1964,1802,1815,2161,2117,1993,2165,2437,2401,2567,2940,2653,1846,2157,2335,2300,2457,2066,2303,2856,2416,1808,1643,1944,2436,2620,2323,1994,2386,2516,2938,3652,3355,3021,2812,2643,2542,2749,3437,3165,2932,2467,2228,2698,2217,2361,2145,2537,2777,2257,1876,1594,1698,1754,2270,2134,1990,1970,1756,2031,2243,2117,2558,2383,1955,1893,2334,2763,2169,2619,2171,1731,1551,1364,1322,1328,1340,1472,1686,1572,1422,1407,1749,1867,1804,2850,3106,3207,3592,3652,3564,3278,2800,2655,2520,2546,2442,3089,3418,3642,3825,3914,3674,3372,3680,3786,3664,3462,2917,2560,2698,3243,3289,3275,2975,2756,2645,2489,2510,2342,2014,2003,2240,2496,2187,1576,1664,2346,2608,2463,2201,2268,1996,1845,1512,946,991,938,996,1009,978,1004,1051,1054,1683,1609,1418,1449,1593,1682,1704,1910,2158,1876,1887,1925,1949,2027,1860,1436,1354,1649,1816,1753,1540,2178,2597,2452,2678,2675,2750,2613,2490,2556,2758,3002,2934,2986,3288,3350,3105,2876,2018,1504,1385,1417,1407,1431,1538,1750,1741,1754,1914,2013,2083,1654,1721,1919,2236,2712,2375,1953,1992,2085,2053,1940,1933,1942,2088,2543,2702,2471,2470,2784,2635,2274,1731,1598,2012,2192,1765,1737,2064,2217,2386,3145,2972,2117,1776,2181,2121,2161,2388,2491,2568,2610,2502,2306,2141,2194,2241,2164,2064,2159,2054,1745,1534,1841,2250,2044,1885,1970,1942,1832,1383,1559,2443,2358,2619,2910,3059,3186,3000,2254,1386,1752,2024,2425,3013,3063,2662,1925,1642,1929,2451,3217,3886,3894,3567,3360,2524,2082,1908,1705,1896,1860,1754,1591,1403,1459,1495,1440,1456,1633,1740,1723,2058,2182,1761,1408,1425,1685,1840,2208,2552,2479,2143,1591,1587,1622,1545,1464,2261,2049,1681,1475,1474,1673,1748,1913,1635,1536,1381,1175,1357,1448,1412,1385,1352,1351,1412,1470,1428,1443,1590,1579,1682,1798,1592,1684,2165,2760,2685,2254,1933,1621,1613,1520,1696,2027,1979,1479,1448,1499,1586,1627,1529,1340,1422,1427,1431,1754,1617,1664,1610,1500,1398,1398,1433,1521,1594,1454,1347,1440,1557,1570,1548,1617,1443,1401,1410,1488,1468,1392,1686,2055,2085,1982,2102,2063,2387,2378,1935,2252,2066,1837,1983,1685,1502,1799,2023,2102,2052,1881,1708,1770,2152,2034,1923,1695,1659,1398,1147,1570,2647,3087,2780,2482,2263,2472,1993,1833,2149,2424,2588,2834,2830,2784,2779,2556,2543,2479,1779,1807,1814,1799,1525,1547,1887,2259,2416,2331,2513,2457,2240,1996,1595,1368,1814,1985,2001,1882,2053,2224,2081,2128,2465,2987,3041,2576,2276,2911,3340,3066,2843,1806,1881,2257,2364,2360,1939,2652,3179,2072,1685,1744,1713,2163,2603,2740,2180,1821,1778,1958,2046,1761,1732,1911,2114,1946,1465,1441,3133,3298,3470,3737,3138,2238,1933,2047,1997,1708,2100,1921,1644,1737,2016,2033,1782,1855,1836,1711,2351,3475,3455,2490,1990,2599,3328,3684,2610,2248,1747,1536,1958,2334,2685,2634,2347,2357,2712,2911,2048,2225,2954,2263,1778,2188,2424,2357,2186,2377,2216,2211,1945,1595,2251,2531,1768,1787,2058,1787,1682,1686,1629,1886,1921,2093,2677,2696,2751,2780,2111,2032,1783,1364,1376,1613,1766,1623,1475,1487,1346,1317,1470,1547,1852,2014,2358,2265,1886,1688,1780,1866,1858,1703,1633,1581,1782,1766,1763,1932,1578,1703,1823,1595,1780,1901,1742,1717,2156,3453,2433,2134,2244,1963,1985,2096,2244,2212,1896,1985,2283,2302,2078,2498,2497,2331,1953,1753,2104,1975,1908,2342,3030,2764,1921,2019,2399,3131,3500,2898,3001,3904,3782,2687,1906,2416,3284,3794,3693,2830,2329,2343,2296,2769,3396,2920,3134,3366,2442,1950,2796,3242,2360,1768,2173,2784,3015,2578,1673,1383,1521,1880,1973,1749,2107,2724,2669,2285,1842,1909,3123,3534,3727,3767,3680,2846,1935,2000,2590,2806,2249,1880,1954,1951,1855,1703,1597,2110,2770,3187,3275,2419,1898,2492,2540,2225,2271,2130,2949,3658,3476,2850,2807,2455,1898,1607,2207,3153,3304,2610,2132,2466,2586,2644,2510,2297,2381,2371,1998,1913,1867,2316,2745,2241,1746,1785,1892,1753,1814,1902,1757,1803,2096,2136,2063,2269,2388,2261,1963,1952,1985,1622,2268,2151,2042,2614,2828,2227,1606,1808,2541,2196,2093,1761,1936,2443,2564,1992,1792,2071,1909,1823,2307,2732,3229,2868,2632,2814,2433,2338,2199,2562,2496,1873,2407,2636,2529,3142,3139,3175,2768,2362,2054,2012,2259,2512,2321,2315,2634,2622,2698,3372,3895,3033,2508,3327,3160,2876,3076,2981,2826,2930,2924,2778,2964,2943,2837,3024,3116,2952,2798,2860,2566,2580,2621,2499,2878,2474,2055,2375,2811,2802,2768,2731,2767,2745,2789,2843,3060,2932,2227,1598,2286,2680,2994,2866,3156,2957,3146,3038,2556,2754,3110,2967,2893,2934,3031,2940,2467,1857,1967,2458,2929,2962,3221,3395,2742,2097,2045,2461,2382,2750,2966,2655,2797,2845,3018,2545,1882,2115,2024,2032,2553,2735,2690,2940,3120,3389,2408,2119,2011,2656,3097,2630,2109,2103,2574,2480,1830,1916,2607,3040,2881,2495,2020,1962,2263,2503,2418,2356,2523,2472,2454,2460,2533,2396,2494,2331,1795,2016,2150,2061,2058,2166,2330,2477,2754,2575,3143,3292,2435,2195,2380,2539,2191,1699,1837,2216,2259,2569,2519,2133,2344,1943,1615,1781,1793,2447,2381,1933,1785,1849,2257,2105,1859,1815,1735,1651,1877,2329,2724,2921,3249,3066,2674,2623,2853,2758,2492,2426,2701,2158,2258,2313,2009,1945,2227,2290,2129,1985,2070],[3042,2766,2858,3137,2919,2418,2705,3332,3090,2707,3045,3254,2895,2921,2661,2275,2697,2888,2758,2504,2463,2325,2354,2267,2119,2877,3101,3277,3638,2968,1868,2235,3188,3019,2834,2792,3046,3146,3106,3230,3216,3287,3387,3316,3232,2936,2635,2591,3262,3426,3498,3486,2412,1715,2015,2417,2407,2059,1842,1665,2025,2710,3234,3019,2788,2564,2852,3154,3240,3277,2908,2691,2937,2972,2946,2954,2789,2945,3354,3270,3072,3235,3218,3399,3516,3211,2774,2124,1948,2172,2177,2683,2807,3120,2978,3321,3627,3616,3425,3159,3210,3232,3085,3183,3240,3501,3642,3684,3795,3618,3409,3506,3675,3685,3802,3942,3685,2946,2715,2898,2740,2828,3117,3364,3411,3408,3581,3758,3561,3578,3750,3603,3939,4441,4096,3748,3886,4132,3802,3585,3184,2485,2331,2061,2016,2750,3268,3237,2746,1952,2236,2558,2263,2023,2844,3652,3166,2591,2827,2620,2928,3183,3134,3588,3628,3384,3141,2940,2592,2444,2658,2567,2418,2115,2251,3062,3306,3128,2480,2349,2420,2225,2017,2318,2821,3020,2653,2477,2286,1969,1312,1533,1782,2800,3405,3185,3069,3216,3907,4081,3917,4020,3179,2376,3085,3993,3257,2964,3041,3070,2988,2620,2642,2611,2375,2408,2484,3166,3195,2643,2296,2365,2530,2633,2939,3139,2619,1964,1687,1676,1644,1830,2886,3580,3143,2661,2540,2207,1930,1998,1803,2067,2352,2653,3041,2484,2301,2732,2072,2359,2511,2307,2113,1938,1859,1889,2249,2908,2647,2750,2730,2881,2954,3584,3514,2931,1730,1761,2480,2321,1928,1533,2511,3353,3516,3444,3142,2832,2614,2579,2238,2042,2458,2618,2749,2633,2408,2077,1879,1818,1908,2095,2168,2507,2709,2817,2670,2481,2502,2564,2554,2450,2388,2416,2709,2621,2390,2623,2867,2706,2410,2209,2055,2320,2416,1948,1784,1643,2183,2542,2373,2016,2003,2749,3480,3232,2491,2307,2730,3233,2930,3020,2295,1916,2085,1858,1901,2220,2120,2007,2753,2799,2675,2093,1909,2077,2766,3164,2838,2347,2072,2152,2619,3166,3597,3331,3344,2720,2482,2247,2330,2048,2124,2824,3109,2863,2955,3012,1949,1700,1737,1715,1776,1991,2094,1829,1845,1986,2802,3106,2443,2450,2194,2736,2070,2215,2576,2756,2591,2348,2209,2231,2174,2524,2790,2962,3203,3165,3570,3686,2706,2540,2566,2386,2316,1989,2008,2292,2221,2540,2617,2431,2161,2532,1865,1246,1714,1858,1970,3017,3514,3322,3154,3136,3044,3099,2840,3206,3116,2510,2270,2098,1992,2234,2907,2888,2144,1874,1786,1909,2372,2662,2541,2574,2309,2226,2375,2394,2429,2664,2706,2585,2452,1980,1791,2719,2501,2089,1685,2097,2106,2193,2170,2186,2579,2375,2018,2045,2112,1872,1832,2061,2027,1951,2100,2342,2144,1970,2226,2004,1923,1979,1672,1745,1927,2019,2041,1862,1533,1637,1688,1603,1700,1913,1976,1862,1719,1566,1747,1645,1452,1584,1826,1881,1745,1661,1834,1669,1563,1664,2027,2185,2484,2486,2916,2776,2435,2585,2613,2229,2312,2290,2161,1899,1824,2100,2108,1756,2054,2113,2365,2517,2922,3317,2874,2976,3175,3247,3606,3631,3717,3592,3051,2485,2275,1871,1814,1791,1640,1920,2383,2806,2594,2008,2030,1779,1736,1716,1730,1747,2173,1968,1331,1659,1996,1894,2083,2228,1619,2115,2370,2415,2415,2036,2052,1889,1532,1589,2306,2207,1392,1311,1781,2354,2416,2731,2886,2634,2401,2292,2402,2372,1908,1776,1826,2303,2091,1921,1546,1492,1584,1509,1406,1491,1672,1981,1754,1262,1856,2087,1938,2030,1973,1835,1668,1737,1764,2106,2248,1930,1961,2204,2122,3307,3552,2386,1842,2351,1953,2030,2338,2281,1865,1822,2029,1869,2110,2830,3074,2553,2684,2924,2852,2135,1532,1375,1704,1929,2385,2975,2522,2404,2340,2416,2580,2080,2351,2590,2557,2490,2178,1985,1966,2233,2653,1968,1570,1693,2244,2492,2415,2043,1801,2036,2253,2261,2543,2745,2598,2449,2724,2758,2594,2425,2482,2238,1969,1955,2001,2280,2264,2280,2728,2766,2552,2326,2432,1632,1610,2356,2357,1856,1746,2073,2066,1859,2258,2314,2500,3349,2655,2429,2540,2120,2014,2118,2160,2250,2414,2084,2112,2320,2345,2031,1814,1422,1772,2755,2452,2071,2563,2822,2223,2443,2408,2108,2166,2282,2219,1873,2007,2074,2074,1831,1836,2469,2468,2591,2651,2808,2684,2449,2472,2947,2743,2100,2118,2126,1824,2099,1875,1960,2199,1986,2438,2034,1952,1698,2643,3382,2806,2667,2406,2301,3168,3609,4219,3283,2514,2459,2696,3122,2425,2077,2090,2221,2199,1620,1692,1734,2198,2127,2270,2093,2398,2382,1932,2410,2495,1942,2208,2533,2579,2186,2521,3159,2501,2283,2090,1671,1421,1366,1382,1435,1420,1505,1815,1721,1668,1560,2122,2001,2277,3021,3126,3294,3606,3682,3608,3198,2728,2785,3055,3159,2844,3318,3506,3589,3608,3894,3874,3903,4086,3615,3570,3624,3416,3286,3240,3408,3399,3441,2884,2462,2326,1879,1916,2304,2476,2487,2170,2358,2192,1766,2116,2392,2580,2141,2218,2474,1986,1811,1428,904,919,923,910,931,902,883,916,1011,1632,1654,1274,1380,1684,1661,1765,2099,2250,1970,1925,1962,1986,2057,1806,1443,1750,1933,1736,1807,1978,2676,2676,2753,2980,3115,3335,3072,2532,2754,2960,2723,2495,2596,2910,3248,3322,3518,2984,2217,1710,1501,1463,1521,1664,1744,1579,1687,2174,2397,2416,1829,1716,1794,1907,2109,2186,2045,1974,2042,2036,1931,1932,1942,2038,2341,2344,2472,2843,2833,2941,2922,2008,1579,1874,1763,1679,2221,2626,2553,2850,3119,2343,1641,1723,1926,2106,2173,2294,2424,2422,2561,2648,2356,2181,2202,2183,2087,2182,2230,2066,1955,1973,2038,2004,1927,1876,1448,1571,2091,1630,1459,2351,2442,2281,2683,2920,3041,2890,2554,1725,1585,2599,3278,3140,2646,2285,2093,1832,2017,3077,3912,3935,3895,3796,3748,2796,2122,2314,2950,3228,2510,1816,1660,1434,1461,1448,1548,1490,1486,1754,1913,1814,1952,1902,1762,1933,2177,2078,2570,2674,2424,2323,2031,2242,1787,1461,1452,1750,1645,1480,1491,1434,1465,1555,1782,1703,1944,1767,1398,1248,1595,1830,1614,1422,1493,1612,1381,1474,1638,1603,1451,1854,2232,1836,1816,2140,2210,2240,2110,1644,1491,1551,1542,1632,1575,1460,1378,1325,2067,2599,1843,1438,1359,1347,1258,1368,1699,1482,1377,1435,1588,1592,1593,1502,1648,1803,1485,1440,1671,1390,1466,1475,1531,1514,1456,1257,1804,1921,1131,1341,1856,2017,2230,2106,1997,2700,2421,1888,1851,1928,2067,2004,1515,1409,1917,1987,1954,2093,2150,1626,2156,2382,2020,1916,1988,1924,1695,1306,2225,3147,2850,2600,2300,2010,2032,1532,1637,2306,2692,2534,2648,2957,2693,2489,2183,2032,2160,2054,2083,2061,1835,1642,1794,1964,2068,2208,2505,3172,2553,2170,1899,1478,1680,2166,2417,2338,2041,2229,2273,1974,2306,2745,2874,2806,2611,2238,2758,3074,2832,2635,2127,2136,2397,2519,2462,2157,2678,2395,1698,1787,1730,1821,2341,2380,2403,2148,1940,2123,2051,1877,1627,1582,1818,2463,2083,1306,1193,2216,2856,3098,2902,2170,1716,1795,1934,2282,1969,2404,1836,2000,2120,2083,2055,2070,2239,2110,1902,2090,2599,2695,2182,2192,2377,2511,2588,2284,2084,1841,2080,2360,2250,1813,1822,2152,2665,2614,2604,2231,1869,2065,1790,1576,1778,1676,1391,1110,1782,2132,2371,2062,2101,2241,2493,2347,1907,1539,1512,1739,1836,1583,1849,2702,2759,2504,2610,2983,3234,2442,1782,1524,1647,2254,2630,2338,1804,1421,1421,1388,1408,1418,1386,1672,2129,2406,2487,2154,1845,1744,1747,1727,1797,1752,1797,2018,1735,1525,1758,1754,1531,1508,1727,1592,1751,2149,2492,3160,3963,2942,2945,3240,2587,2101,2093,2151,2042,1861,2091,2301,2246,1883,1975,2094,2498,2428,2767,2746,1968,1940,2063,2996,2872,1974,2376,2322,2802,2668,2338,2866,3226,2944,2229,1808,2322,2887,3376,2352,1509,1875,2282,2245,2077,2406,2408,2857,2986,1963,1237,2269,2820,2080,2115,2688,3015,2876,1941,1338,1460,1788,2502,2768,1912,1859,2070,1680,1595,1482,1659,2862,3704,3737,3622,3745,3304,2097,1642,1829,1720,1772,1888,2190,2234,1833,1819,2000,2445,2792,2719,2224,2088,2494,3139,2829,2958,2400,2150,2687,3041,2966,3066,2850,2445,2214,1920,2368,2658,2445,2192,2593,2370,2271,2338,2190,2101,2336,2337,1802,2186,2186,2148,1875,1896,1739,1763,1824,2062,2237,2111,2450,2648,2493,2138,2023,2204,2311,2590,1987,1712,1826,1735,1768,1880,1936,2215,2316,1987,1874,2360,2697,2014,1741,1799,2014,2659,2837,2524,2854,2611,1980,2004,1898,2072,2788,2576,2609,2818,2575,2384,2370,2662,2674,2460,2636,2376,2574,3232,3024,2296,1649,1982,2377,2507,2542,2200,2426,2830,2534,2438,2325,2928,3394,3098,3476,3819,3282,3122,3199,3116,3269,3343,3248,2789,2635,2088,1949,2133,2445,2430,2233,2668,2906,2801,2409,2607,2924,2287,1600,2020,2361,2545,2398,2777,3086,2806,2674,2754,2928,2568,1859,2133,2547,2797,3128,3164,2884,2829,3146,2902,2408,2742,2910,2253,2244,2257,2475,2857,2874,2374,2080,2338,2886,3164,3194,3169,2895,2485,2264,2451,1944,2331,2790,2897,3176,3164,3003,2608,2377,2191,1950,2007,2535,2886,2280,2181,2531,2720,1940,1867,2330,2758,2510,2364,2378,2210,2095,2022,2103,2611,3396,3539,3131,2729,2220,1793,1900,2155,2399,2373,2460,1969,2282,2577,2300,2361,2334,1884,1642,1671,1879,1770,1867,2173,2546,3099,3101,2053,2567,2492,2014,1866,2340,2282,1749,1901,2215,2796,2347,2431,2372,1871,2213,2153,2018,1686,1494,2237,2198,2041,2128,2029,2231,2524,2142,2422,2620,2308,2135,2125,2142,2452,2875,2583,2410,3277,3594,2920,2780,2523,2878,2533,2279,2279,1959,1776,1903,2162,1876,1505,1880],[2652,2449,2750,3035,3249,2676,2491,2810,2982,3221,3423,3209,2958,2834,2334,1902,2048,2662,2974,2773,2107,2049,2350,2131,2310,3033,2946,3111,2941,1909,1884,3008,3443,3051,3010,2773,2900,2985,3123,3523,3451,3231,3458,3372,2800,2283,2249,2523,2648,2763,2567,2597,2223,1282,1269,1598,1819,1705,1640,1461,1716,2808,2987,2638,2652,2626,3155,3696,3696,3862,3421,3052,3310,3440,3401,3427,3256,2724,2485,2679,2679,2699,2769,3128,3471,3661,3151,1837,1237,2008,2292,2788,3150,3076,3098,3466,3702,3761,3804,3315,3422,3262,3142,3174,3162,3326,3587,3742,3682,3592,3382,3307,3572,3526,3450,3670,3773,3009,2761,2975,2835,2803,3117,3181,3129,3203,3340,3729,3291,3319,3520,3238,2863,3342,3505,3562,3897,4188,3798,3037,2486,2313,2725,2622,2486,3245,3484,3422,2608,1982,2395,2422,1583,1600,3109,3655,2959,2818,2898,2585,2957,3385,3450,3246,2923,2612,2413,2678,2592,2668,2755,2627,2387,2073,2159,2864,3106,3276,2750,2454,2531,2281,2226,2135,2237,2223,1864,2051,1846,2020,2070,2456,2395,2961,3294,2796,2661,3427,3930,3779,3703,3418,2570,2107,2956,3255,3026,3427,3499,3182,3045,2651,2445,2534,2678,2581,2657,2807,3019,2795,2363,2250,2412,2525,2792,2899,2531,2356,1901,1810,1974,2492,3438,3816,3360,2642,2351,2164,2201,2471,1910,1768,1703,2427,3003,2401,2574,2844,2340,2659,2932,2745,2421,2255,2516,2060,1843,3117,2784,2931,2810,2830,3222,3716,3850,2972,1698,2106,2415,2303,2061,1591,2425,2813,2350,2413,2334,2629,2655,2136,1801,2224,3140,3256,3109,3298,2670,2430,2402,2197,2077,1856,1788,1915,2037,2309,2395,2524,2307,2090,2600,2297,2333,2577,2734,2714,2654,2735,3116,3848,3824,2528,1492,1604,2085,2178,1930,1979,1963,1902,1886,1967,2295,2809,3440,3396,2999,2706,2491,3060,3497,2880,1954,2020,1965,1851,2061,2150,2292,2352,2736,2679,2671,2059,1660,1655,2087,2147,2213,2012,1794,1839,2159,2909,2872,2489,2632,2344,2166,2666,2696,2031,1990,2728,3109,2478,2712,2786,2170,2255,2132,1856,1855,1953,1756,1735,1899,2208,3045,3175,2527,2509,2467,2722,1793,2489,2844,2685,2762,2674,2487,2236,2232,2596,2451,3111,3463,3249,3452,3076,2430,2640,2513,2200,2240,2020,2136,2261,2204,2475,2707,2830,2919,3073,2087,1266,1323,1761,2399,2889,3116,3278,3252,3288,3088,3270,2863,2330,1985,2272,2363,2321,2311,2351,3250,3298,2446,2115,1994,2113,2495,2844,2607,2108,1654,1515,1587,1714,2001,2400,2583,2453,2072,1796,1620,2994,2697,2044,1802,1991,2031,2009,2228,2180,2182,2002,2272,2414,2376,2248,1682,1822,2185,2098,1958,1966,1752,1785,1803,1749,2164,2114,1673,1335,1510,1710,1869,2020,1896,1621,1522,1533,1772,2033,1475,1675,1770,1742,1888,1744,1605,2086,2613,2933,2616,1842,1816,1747,1549,1700,2189,2301,1956,1745,1821,1937,2133,2445,2413,2036,2016,2215,2411,2489,2071,2156,2151,1585,1880,1985,1848,2208,3063,2857,2629,3187,2747,2532,3306,3682,3584,3239,2497,1963,1742,1550,1784,2115,2367,2429,2287,2258,2422,2307,1827,1753,1845,1615,1809,1918,2306,2482,1975,2124,1787,1784,1773,1748,1726,2121,2227,2393,2264,1986,1884,1675,1725,2037,2824,2487,1431,1448,1709,2188,2115,1922,1936,1980,1979,1661,1169,1600,1838,1763,1632,2406,2425,2131,2006,2113,2303,1852,1590,1945,1935,1919,1719,1792,2967,2753,2662,2568,2290,1908,1791,1938,2557,2514,2299,2082,2302,2608,2620,3002,3194,2281,2124,2253,2361,2801,2685,2534,2316,1757,1653,1636,1676,2202,2710,2689,2543,2577,2409,1834,1524,1634,1786,1947,1910,2407,2620,2859,2824,2158,1941,1986,1969,2159,2186,2156,1792,2055,2277,2291,2287,1793,1688,1854,2079,2220,2258,1948,1879,2040,2143,2280,2609,2700,2769,2481,2338,2423,2425,2466,2520,2380,2159,2017,2579,2995,2872,2886,2939,2576,2248,2482,2577,2050,2067,2399,2376,1783,1726,1911,2269,2054,2503,2365,1855,2055,2258,2543,2391,1915,1792,2128,2415,2654,2225,2245,2191,2073,2232,2141,2230,2087,2332,2610,2182,2234,2539,2682,2296,2243,2245,2210,1855,2053,2192,1702,1741,2138,2135,2374,2932,3311,2413,2613,2786,2694,2533,2123,2450,2859,2571,1975,1651,1762,2063,2510,1947,1885,1736,2290,3562,2502,1366,1699,2929,3518,2930,2317,2250,2595,2887,2831,3385,2486,1971,2370,2435,2464,2429,2232,2171,1938,1544,1693,2209,2415,2724,2654,2354,2414,2625,2418,2122,2194,2562,2063,1981,2382,2825,2916,3046,3466,3052,2665,2481,1810,1454,1348,1414,1683,1678,1519,1879,1649,1729,1758,1832,2475,3128,3355,3334,3181,3438,3572,3129,3316,3334,3418,3514,3558,3374,3418,3387,3389,3560,3873,4029,3862,3522,2988,3362,3776,3615,3363,3364,3315,3330,3120,2425,2423,2894,2893,3364,3685,4017,3317,2439,2389,2377,1985,2052,2479,2091,1735,2345,2598,1902,1926,1327,965,919,913,896,860,868,912,833,1091,1692,1620,1470,1424,1656,1676,1796,2150,2175,1988,1968,1996,2022,2041,1789,1834,2008,1999,1927,1969,2164,2552,2613,3088,3153,3085,3252,3294,2821,2385,2645,2996,2698,3021,3580,3340,3317,3451,3374,3066,2404,1776,1548,1587,1580,1763,1790,1898,2701,2807,2314,1875,1729,1714,1725,1737,1883,2061,2093,1947,2000,1944,1915,1965,2041,2181,2332,2751,2945,2994,3153,2647,1986,1903,1763,1745,2211,3038,2933,2878,3172,2955,2029,1736,2190,2329,2469,2346,2464,2780,2749,2824,3073,2544,2221,2084,1918,1978,2155,2221,2154,2098,2067,1886,1352,1341,1675,1687,1900,2220,1836,1385,1854,2303,2111,2508,2819,3077,2862,2773,2353,1577,2288,2901,2498,2048,1892,2127,2410,2154,2718,3718,3882,3875,3955,3840,3010,2690,3356,3924,3670,2788,1965,1754,2011,2585,1878,1518,1587,1581,1742,1854,1762,1783,2177,2276,2032,2336,2323,2592,2424,2018,2276,2315,2094,1813,1731,1628,1593,1454,1439,1497,1292,1475,1413,1499,1761,2051,2116,1658,1389,1744,1652,1474,1605,1668,1591,1585,1689,1615,1550,1548,1810,2050,1990,1946,1819,1756,2023,1831,1525,1459,1549,1646,1672,1538,1581,1484,1384,2311,2584,1557,1284,1246,1316,1308,1483,1478,1528,1411,1390,1467,1468,1592,1694,1631,1439,1415,1442,1489,1466,1466,1336,1361,1419,1393,1583,2625,2270,1150,1029,1787,2343,2634,2245,2032,2161,2026,2189,2452,2343,2116,1631,1681,1869,2372,2355,1939,1849,1930,2020,2420,2366,1960,1899,1744,1603,1863,1832,1959,1989,1581,1853,1581,1646,2214,1816,1552,2380,3087,2831,2941,3326,2871,2603,2083,2055,2302,2181,2233,1975,1857,1981,2120,2108,2024,1964,2266,3576,3207,2197,1892,1633,1800,1852,1831,1921,2012,2109,2087,2192,2513,2544,2497,2495,2501,2980,2780,2581,2104,1986,2282,1925,2242,2702,2467,2757,2619,2222,2996,2769,2232,2522,3079,3072,2632,2347,2851,2869,2032,1811,2071,1759,2175,2674,2194,1396,1168,1931,2731,2243,1593,1611,2430,2897,2792,3060,2370,2223,2093,2407,2417,1899,1802,2225,2048,1897,2216,2517,2587,2185,2261,2707,2910,2818,2136,1726,1618,1809,1614,2092,2039,1741,2094,2277,2579,2205,1812,1958,2007,1735,1506,1749,2353,2015,1414,1025,1056,1297,1770,1842,1941,2013,2359,2452,1862,1481,1738,2557,2392,1661,1806,3211,3113,2688,2899,3213,2710,1675,1465,1943,2057,2476,2702,2548,2634,2011,1686,1490,1363,1365,1565,2010,1981,2018,2426,2385,2277,2041,1787,1612,1643,1699,1749,1905,1718,1665,1914,1784,1470,1577,1562,1747,2679,3142,2718,2843,3378,3262,3090,2841,2518,2169,2075,1893,1991,2049,2074,2087,1976,1818,1982,2122,2082,2002,2502,2393,1974,2396,2154,2490,2379,2165,2859,2497,2044,2114,2370,2540,2337,2274,2186,1418,1715,2626,3099,1941,1710,1997,2149,2147,2375,2260,1832,2344,2943,2326,1368,2189,2070,2229,2737,3045,2964,2305,1546,1553,1750,1824,1967,2567,2087,1780,1815,1871,1845,1943,1896,2579,3624,3740,3685,3725,3379,2577,1912,1546,1410,1687,1692,1639,1718,1807,2372,2865,2637,2449,2496,2103,2366,2577,3199,3109,2926,2359,2642,3109,2700,2503,2720,2415,2335,2117,2340,2468,2070,1781,2038,2376,2473,2831,2835,2028,2075,2380,2109,1932,2425,2098,1912,1583,1580,1922,2137,2189,2369,2176,1764,2464,2799,2425,2306,2025,2042,2071,2553,2248,1838,1889,1775,1640,1625,1507,1683,2001,2151,2481,2770,2524,1998,1693,1891,2216,2303,2335,2553,2378,2254,2073,2094,2119,2168,2492,2415,2330,2585,2629,2709,2840,2931,2881,2753,2701,2910,2705,2486,2640,2155,1547,1842,2266,2384,2166,1690,2414,3178,2386,2075,1913,2440,3200,3681,4080,3780,3176,3120,3169,3315,3388,3351,3188,2942,2275,1474,1545,1657,2017,2164,1753,2611,2925,2819,2567,3016,3101,2131,1708,1999,2602,2437,1938,2766,3125,2786,2630,2573,2487,2289,2202,2758,2797,2808,3116,2982,2667,2597,2410,2229,2223,2454,2333,2243,2320,2112,2338,2732,2875,2778,2409,2266,2643,3043,3089,2963,2753,2852,2980,2524,1974,2164,2633,3020,3092,2917,2735,2916,3079,2276,2060,2375,2395,2000,1820,1720,2060,2383,2220,2215,2590,2382,2337,2381,2430,2243,1985,1709,2463,3210,3267,3363,3085,2810,2696,2187,2020,2394,2390,2203,1955,1812,2236,2185,2218,2564,2250,1795,1719,1797,2149,1894,1886,2029,2262,2838,2546,1742,1983,2270,2198,2302,2390,2014,1887,2000,2109,2609,2437,1934,1747,1749,1978,2191,2303,1747,1788,2382,2181,2244,2239,2165,2426,2584,2471,2308,2558,2794,2292,1969,1781,1797,2215,2713,3178,3689,3024,2678,2580,2441,2719,2390,2094,2064,1924,1918,1886,2014,1588,1648,2196],[3012,2610,2514,2624,3088,2579,1917,2177,2614,2802,3118,3088,2736,2397,2146,2027,2050,2521,2432,2019,2024,2245,2300,2341,2603,2911,2856,2880,2211,2061,2852,3344,3288,3176,3310,2979,2757,3109,3374,3660,3471,3178,3385,3204,2244,1879,2416,2623,2346,2406,2186,2091,2237,1698,1446,1530,2060,2061,1919,1918,1989,2648,2732,2296,2219,2451,2890,3444,3717,3853,3341,2929,2951,3348,3030,3241,3481,2328,2096,2774,2732,2801,2890,2134,2367,3293,3426,2397,1847,2100,2287,2880,3317,3398,3484,3557,3718,3713,3804,3543,3672,3602,3457,3459,3355,3419,3630,3493,3381,3635,3374,2840,3061,3222,2998,3197,3848,3173,2800,2843,2677,2776,3116,3284,3112,3084,3206,3373,2828,2948,3175,2946,2409,2269,2853,3475,3684,3761,3663,2865,2297,2047,2304,2476,2881,3609,3558,3313,2874,2461,1952,1971,1582,1900,3088,2912,2565,2854,2551,2336,2884,3162,3333,3168,2604,2285,2226,2460,2231,2355,2389,2424,2216,2326,2672,2313,1860,2278,2466,2529,2721,2323,2107,2123,2333,1919,1965,1981,1230,1900,3248,3770,3466,3104,2843,2430,2753,3635,3847,3956,3881,3050,2086,2415,2852,2698,2784,3137,3606,3443,3450,2872,2722,2766,2798,2714,2903,3039,3046,2956,2624,2244,2295,2375,2821,2922,2644,3088,2821,2437,2164,2689,3370,3239,2408,1690,2117,2425,2600,2867,1954,1862,2091,2503,2303,2293,2470,2452,2652,3030,2942,2829,2584,2601,2626,1834,1967,3376,3118,3152,2618,2830,3492,2957,2990,2437,1578,1920,2088,2348,2498,2110,2680,2420,1874,2289,2615,2696,2317,1975,1669,2222,2679,3204,2843,2439,2664,3011,2719,2056,1703,1775,1998,1918,1839,2308,2778,2483,1904,2115,3116,2657,2540,2616,2761,2872,2699,2761,3071,2938,3050,2120,1434,1597,2079,2191,1848,2077,2706,2244,1736,2100,2334,2718,3186,3107,2880,2779,2585,3087,3408,2630,2114,2037,1731,1678,1853,1907,2047,2488,2164,1899,2014,2099,1878,1896,2157,1875,1845,1722,1942,2043,2326,2496,2481,2342,2179,2025,2398,2911,2600,2490,2258,2094,2050,2107,3116,3177,2559,2596,2648,2223,1819,1700,1601,1591,1874,2098,2420,2503,2649,2620,2833,2203,2176,3322,3189,2462,2862,3120,2685,2295,2785,2574,2341,2883,3319,3408,3306,2633,2440,2796,2710,2315,2149,1831,2075,2132,2193,2474,2713,2849,3000,3475,3087,2144,2003,2258,2436,2864,3076,2931,2967,3058,3060,2962,2611,2676,2946,3057,2662,2822,2689,2303,3087,3006,2485,2335,2138,2298,2461,2482,2371,2016,1732,1802,1848,1883,1777,1909,2062,2127,2263,1957,1718,2680,2687,2017,1642,1755,2230,1973,2204,2298,2280,2159,2537,2269,2004,1808,1748,2200,2258,1911,1500,1671,1923,2175,2554,2617,2238,1801,1498,1172,1260,1490,1638,2071,2355,1729,1680,1889,1855,1940,1666,2161,2158,2058,2015,1757,1738,1995,2518,3276,2667,2142,1982,1767,1510,1699,2225,2097,1787,1837,1801,2084,2368,2404,2586,2259,1992,2315,2266,2642,2454,2080,1672,1447,1642,1770,1820,2259,2785,2326,2398,2578,2931,2589,2872,3232,3422,3002,2272,2045,1949,1908,1979,2626,2850,2592,2103,2209,2223,2316,2163,2389,2137,1674,1842,1557,2469,2447,1880,1886,1671,1926,1875,1782,1814,1979,2214,2258,1986,2215,2169,1985,2024,2136,2497,2301,1902,1611,1649,1886,1812,1790,1837,1758,1543,1260,1521,2719,2977,2421,2236,2410,2410,2241,2095,2622,2680,1746,1608,2098,2072,1998,1874,2144,2757,2975,3153,3362,2799,1892,1952,2206,3134,2625,2698,2871,2665,2229,2081,2522,2745,2321,2058,2284,2580,2874,2666,2980,2391,1975,1888,2022,2498,2227,2260,3185,3021,2301,2338,2411,2271,2091,2303,2199,2111,2467,2390,2458,2496,2192,2106,2059,2139,2621,2490,2374,2304,2865,2314,2050,2155,2069,2126,2205,2087,1955,2162,1858,2221,2169,2229,2875,3122,2928,3041,2354,1966,2028,1876,2109,2118,2471,1888,1765,2427,2494,2173,2334,2150,1833,2094,2396,2313,2338,2438,2531,2855,2200,2176,2386,3150,2577,2586,2270,1852,1842,1935,2292,2330,2229,2329,2610,2642,2526,2181,2434,2746,2551,2377,2436,2665,3002,3088,2969,2671,2506,2895,2753,2166,2271,2478,2157,2105,2507,2206,1524,1847,2211,2624,3605,3665,3464,2769,2487,2257,2125,2164,2138,2200,2143,1876,1814,2246,2162,2004,2290,2093,1862,2151,3182,3396,2400,1556,1576,2178,3124,2800,2067,1980,2270,2225,2416,3012,2906,2785,2674,2393,2899,3543,2518,2133,2066,1931,2396,2485,2559,2678,2528,2510,2643,2665,2669,2488,2369,2571,2624,2073,1991,2599,3282,3353,3354,3087,2744,2309,1739,1700,1639,1429,2040,2116,1615,1453,1409,1730,1779,2103,2967,3079,3284,3448,3151,3235,3354,3195,3515,3514,3341,3565,3696,3448,3373,3281,3310,3521,3938,4129,3195,2822,2577,3296,4220,3974,3165,2958,2991,2922,2930,2958,3503,4009,3347,3792,3683,3720,3053,2357,2221,2620,2401,1739,1720,1700,1873,2302,2648,2039,1905,1505,1490,1495,1368,1321,1260,1071,1078,1016,1326,2042,1759,1761,1504,1643,1773,1823,2109,2040,1903,2000,1941,1996,1995,1540,1662,1938,1754,2098,1932,2052,2191,2743,3330,3272,3044,3010,3159,3028,2686,2532,2043,2563,2871,3356,3705,3416,3010,2800,2558,2623,2623,2064,1749,1710,1854,1839,1775,2499,2781,2493,2044,1795,1646,1679,1792,1733,1806,1904,1928,1731,1433,1708,1894,1947,2086,2262,2583,3039,3172,2585,2158,1990,1765,1950,2481,2924,2767,2830,3251,3386,3264,2372,1781,1996,2075,2116,2171,2558,2621,1650,1524,2450,2941,2562,2011,1996,2084,2177,2227,2151,1758,1473,1744,1913,1951,2141,2160,2121,2186,1964,1516,1578,1992,1867,2304,2564,2842,2864,2829,2811,2034,1806,2110,1955,2167,2629,3294,3474,2416,2168,3108,2879,2769,3544,3812,3210,2931,3146,3111,2472,2130,2099,1736,1584,1676,1561,1893,1876,1607,1809,2036,1804,1560,2043,2446,1870,1825,2172,2142,1786,1632,1926,2341,2232,1869,1810,1490,1660,1778,1496,1341,1426,1477,1220,1377,1588,1794,1795,1460,1680,1910,1689,1620,1778,1748,1681,1616,1447,1433,1423,1406,1696,1918,1916,2020,2054,1786,1733,1582,1526,1379,1614,1764,1709,1695,1719,1513,1684,1733,2000,1537,1490,2654,1908,1467,1626,1496,1528,1465,1378,1352,1401,1425,1478,1687,1626,1509,1545,1590,1539,1475,1550,1576,1463,1437,2076,3135,2856,2026,1668,2307,2684,2868,2579,2086,1819,1779,2248,2770,2725,2454,2154,2409,2225,2596,2802,2018,1917,1757,1814,2333,2226,1988,2151,1782,1476,1923,2615,2160,1717,1780,2079,1843,2337,2797,2354,2166,2777,3094,3208,3366,3514,3045,2867,2538,2257,2081,1902,1724,1982,2439,2398,2665,2276,2069,1997,2388,3133,2947,2238,1797,1771,1864,1838,1929,2063,2358,2074,2019,2525,2942,2838,2935,3024,3024,3076,2706,2238,1833,1384,1392,1733,1838,2011,1450,2348,2444,2546,3371,2762,2113,2668,3341,3188,2566,2438,2311,2010,1887,2038,2807,2567,2502,2484,2128,2008,1908,2310,2634,1782,1935,2349,3049,2958,2555,3117,3176,2541,1994,1958,2143,2072,2329,2933,3306,3385,3381,3460,2668,2007,2236,2486,2774,2574,1782,1720,1873,2300,2482,2522,2148,2119,2345,2356,2548,2460,1655,1380,1736,1804,2182,2729,3006,2298,1953,1649,1199,1223,1474,2145,2609,2401,2412,2460,2309,2163,2341,2834,2127,1954,2392,2303,1921,2184,2746,2496,1889,2032,2019,2206,2003,2063,1794,2076,2727,2325,1612,1522,1479,1345,2010,2064,1855,1795,2153,2212,2181,1833,1828,1837,1808,1682,1705,1719,1761,1929,1868,1554,1545,1309,1352,2376,3454,3325,2369,2348,2547,2310,1907,1869,2356,1917,1894,2040,2242,2025,1869,1817,1750,2105,2363,2094,1779,1615,1969,2073,2217,2197,1810,1701,1784,1971,2639,2223,1513,1962,2364,2364,2216,2627,2420,1882,1784,2531,3403,2824,2041,2034,2186,2230,2220,2062,1753,2008,2624,2555,1669,1825,2197,2531,2730,3137,2986,2259,1903,2077,1599,1453,1693,1871,1797,1582,1664,1936,1974,2004,1923,2257,3520,3674,3536,3606,3349,2838,2137,1611,1416,1753,1764,1741,1904,1817,2444,2687,2388,2487,2544,2418,2374,2567,2952,3337,3397,3052,2687,2780,2987,2940,2851,2444,2597,2598,2462,2027,2118,2419,2457,2654,2721,2923,2998,1973,2269,2143,1720,1648,1945,1935,1886,1725,1607,1863,1986,2062,2492,2521,2180,2380,2524,2397,2220,1723,1701,1797,1885,2057,2209,1937,1675,1616,1812,1730,1953,2296,2236,2563,2942,2963,2498,1794,1672,1832,1717,1958,2106,1820,2136,1998,1964,2456,2376,2154,2022,2152,2947,3580,2873,2654,3067,3334,2993,3128,3864,3566,2166,1908,2201,1819,2112,2515,2392,1944,1863,1832,2325,2208,2129,2392,2822,2832,3098,3680,3514,3088,3183,3397,3349,3287,3228,2900,2731,1992,1544,1875,1907,2792,2923,2700,3018,2898,2758,2809,3218,3256,3128,3072,2951,3169,2940,2642,2768,2658,2651,2257,2305,2580,2312,2427,2562,2564,3046,3186,3161,3019,2429,2148,2249,2486,2913,2740,2667,2449,2399,2576,2503,2350,2519,2517,2621,2455,2422,2797,2757,2300,2591,3016,2565,2185,2427,2787,3012,3221,2677,2328,2589,2996,2611,2640,2521,1864,1836,2117,1831,1828,2294,2042,2386,2677,2608,2903,2397,2478,2754,2396,2321,2986,2986,2877,3060,2851,2469,2655,2331,1968,2411,2241,1737,1528,1706,1750,2047,2343,1965,1878,1933,1931,2036,2443,2162,2052,2172,2392,2513,2071,1718,1998,2300,2393,2901,2368,2148,1952,1801,1937,1876,1697,1487,1434,1754,2041,2030,1880,1549,1689,1985,2604,2229,2182,2344,2662,2734,2415,2213,2610,2321,1846,1986,1892,1933,1678,2062,3153,3540,3162,2804,2381,2617,2908,2312,1893,1775,1791,1891,2096,1897,1602,1733,2011],[3046,2842,2568,2432,2872,2849,2307,2465,2730,2742,2801,2858,2765,2719,2657,2291,2503,3024,2741,2308,2395,2350,2337,2808,2790,2427,2667,2569,2320,2842,3387,3540,3417,3407,3699,3282,2920,3239,3262,3355,3222,3248,3446,3178,2340,1901,1872,1997,2044,2113,2083,1736,1910,2084,2009,2174,2623,2756,2437,1837,1796,2273,2572,2266,1896,2207,2667,2807,2890,3165,3119,2778,2565,2796,2691,3213,3266,2197,2274,3401,3504,3489,3455,2186,2556,3370,3542,3517,3288,2659,2440,2924,3263,3348,3322,3299,3560,3681,3829,3819,3918,3899,3794,3725,3620,3701,3859,3557,3382,3665,3183,2182,2576,3018,3046,3283,3670,3332,2883,2935,2799,2799,3063,3466,3273,3100,3307,3054,2765,3040,3231,2965,2407,2488,3463,3601,3760,3606,3597,3087,2596,2151,2234,2367,2618,2899,2744,2609,2727,2790,1583,1608,1216,1742,2376,2335,2403,2823,2574,2210,2562,2961,3153,3308,3074,2957,3147,2554,2189,2451,2302,2231,2154,2533,2837,2510,2178,2194,2465,3264,3163,2561,2236,2613,3034,2501,2920,2897,2099,2534,3574,3936,3904,3410,2534,2535,3412,3752,3946,4035,3459,2370,1917,2498,2569,2249,2113,1907,2775,3343,3706,3277,3207,3049,2974,2907,2479,2510,2877,2977,3011,2863,2810,2783,2977,3066,3109,3281,3330,2912,2501,3083,3370,2866,2077,2238,2769,3022,2741,2531,1959,2127,2360,2331,2094,2231,2475,2409,2454,2397,2637,2864,2603,2134,2144,1845,2600,3055,2270,2443,2388,2610,3216,2717,2445,1750,1987,2385,2269,2664,3147,3038,2895,2460,2277,2415,2547,2446,2278,2360,2032,2106,2298,2622,2732,2283,2198,2793,2888,2485,2226,2175,2534,2386,1958,2151,2548,2529,2273,2988,3595,2878,2369,2082,2451,2552,2449,2314,2579,2081,1891,2091,1985,1886,1857,1871,1927,2263,2562,2233,2080,2019,1821,2083,2525,2356,2309,2310,2297,2552,2500,2148,1918,1754,1888,1873,2178,2551,2262,2291,2327,2735,2802,2299,2100,2419,2288,1728,1518,1406,1638,2262,2519,2047,2054,1965,1858,2015,2575,2699,2360,2414,2437,2530,2403,2502,2681,2348,1899,1851,2156,2134,1793,1793,1903,2011,1946,2421,1849,1768,2178,2721,3147,2709,2575,2510,2309,2184,2332,2559,2170,2522,2799,2962,2973,3040,2971,2907,2564,1948,2166,2543,2830,2609,1919,1624,1833,2177,2554,2818,2885,2914,3217,3960,3973,3122,2832,2214,2164,2718,2984,2687,2751,2752,2319,2050,2101,2295,3168,3734,2708,2352,2179,2361,2901,2726,2598,2630,2372,2077,1949,1923,2072,2143,2035,1928,1798,1668,1727,2066,2245,2381,2567,2232,1904,2332,2470,2040,1624,2109,2549,2159,2060,1916,2121,2612,2558,1793,1522,1537,1875,2155,1999,1905,1570,2017,2066,1834,2351,2746,2122,1863,2086,1941,1849,1614,1678,2162,2093,1632,1762,2098,2029,1781,1852,1900,1833,1925,1943,1853,1987,1965,2218,2877,2303,2313,1864,1574,1565,1709,2200,2130,1885,2156,2223,2430,2290,1814,1816,2194,1982,2280,2510,2342,2027,1842,1587,1370,1435,1863,1958,1854,1979,2313,2443,2484,3300,3107,2779,3294,3441,2831,2487,2304,2313,2190,2487,2536,2382,2371,2435,2468,2092,2171,2204,2308,2316,2023,1713,1519,2244,2014,1870,1698,1582,1957,1993,1999,2160,2188,2164,2395,2214,2303,2045,1991,1824,1701,1929,1931,1635,1590,1884,2150,2114,2209,1959,1769,1473,1250,2083,3108,3238,2732,2362,2107,2279,2467,2159,2633,2487,1778,1832,1778,1978,1792,1910,2268,2575,2670,2356,2552,2724,2143,2411,2520,2443,2302,3194,3377,2692,2144,2286,2423,2711,2623,1980,1923,1947,1788,2078,2543,2504,2168,1920,2367,2799,2421,2598,3329,2699,2201,2377,2509,2650,2047,2250,2376,2689,2898,2603,2287,1988,2037,2276,2394,2525,3183,3040,2310,2353,3002,2401,2352,2608,2492,2532,2977,2986,2626,2604,2433,2338,2365,2509,3375,3476,2705,2218,1803,1788,1737,1831,2408,2577,2722,2248,2356,2399,1802,1553,1892,1638,1411,1860,2293,2422,2621,2388,2921,3407,2670,1953,1628,1714,2396,2952,2308,2170,1874,1852,2306,2654,2532,2717,2597,2495,2332,2233,2360,2376,2535,2720,2262,2359,2920,3124,3462,3407,3173,3030,2902,2675,3171,3748,3045,2497,2512,2092,1621,2244,2299,3437,3804,3650,3510,2690,2012,1909,2100,2077,1885,1763,2020,1575,1549,2271,2289,2353,2224,2171,2059,2243,2642,2499,2203,1786,1666,2104,2193,2093,2360,2451,2157,2284,2558,2637,2848,2933,2464,2216,2544,3377,2543,2294,1677,1841,2477,2358,2893,3364,3391,3178,2935,2814,2863,2464,2667,2492,2529,2208,2344,2868,3375,3256,2976,3098,2532,1785,1600,1655,1736,1294,2526,2886,1802,1355,1431,1547,1874,2811,3188,3074,3390,3367,3181,3252,3315,3541,3660,3557,3310,3487,3606,3303,3202,3360,3505,3752,4143,4404,3381,2875,2452,3040,3636,3196,2713,2905,3252,3465,3319,3371,4233,4759,3958,3790,3504,3174,3123,2655,2209,2512,2646,2061,1865,1888,2001,2249,2427,2352,1995,1789,1883,2217,2240,1943,1746,1700,2005,1740,1832,2071,1786,1662,1298,1594,1887,1883,1955,1949,1918,1897,1984,1941,1880,1474,1437,1727,1703,1954,1721,1851,2473,3129,3397,3441,3238,2955,3087,3118,2702,1923,1651,2288,2968,3023,3043,2921,2684,2746,2525,2768,3408,3075,2280,2024,1749,1701,1691,1837,2352,2414,2064,2156,2032,2114,2201,1926,1847,1949,1920,1549,1109,1240,1622,1962,2027,1959,2122,2753,2622,2096,1797,1714,2041,2334,2759,2658,2349,2754,2909,2884,2670,2371,1957,1825,1845,1696,1996,2626,2143,1227,1100,1916,2916,2723,2249,2096,2089,2102,2135,1937,1070,723,1217,1992,2213,1724,1177,1298,1842,1913,1871,1981,2128,1751,1976,2365,2478,2756,2973,2908,2443,1780,1681,2177,3266,3705,3504,3121,2647,2126,2082,1920,2082,3034,3975,3580,2893,2314,2121,2030,1825,2117,1827,1381,1491,1982,2054,1674,1497,1641,1828,1773,1575,1700,2449,2221,2176,1917,1507,1475,1603,1571,1884,2461,2061,1700,1461,1566,1690,1552,1510,1550,1495,1548,1565,1648,1975,1857,1814,1773,1594,1628,1635,1673,1534,1475,1456,1427,1410,1376,1462,1688,1727,1731,1743,1734,1562,1542,1417,1517,1520,1393,1632,1656,1387,1321,1604,1787,1395,1770,1459,1871,3012,2021,1314,1412,1414,1363,1343,1310,1333,1420,1317,1365,1627,1791,1674,1731,1675,1525,1779,1761,1463,1346,1483,2335,2886,3283,2430,2553,3179,2978,2874,2666,2087,1968,1652,1302,1416,2524,3003,3129,3120,2630,2951,2724,2126,2183,1874,1972,2532,2159,1615,1746,1816,1685,2292,2699,2244,1847,2172,2005,1663,2084,2526,2465,2753,3218,3351,2976,3231,3505,3178,3184,3219,2538,1856,1837,1996,2724,2920,2918,2899,1982,1841,1865,2403,3045,2989,2218,1775,1903,2242,2189,1851,1852,2371,1919,2182,2304,2321,3009,3545,3562,3127,2677,2165,1919,2118,1597,1462,1790,1627,1461,1406,2398,2525,2325,2839,2454,2296,2592,3245,2678,1572,2111,1875,2010,2027,2194,3099,3541,3228,2395,1939,2043,2431,2513,2608,2044,2375,2504,2836,2264,1941,2603,2769,2739,2521,2403,2823,2565,2357,2627,3107,3584,3128,2951,2802,2524,2699,2752,2553,2386,2282,2316,1971,2064,2810,3074,2734,2500,2224,2079,2347,2370,1931,2050,2389,2343,2411,2588,2976,2533,2514,2200,1861,1709,1754,2206,2138,2078,2398,2337,2184,2195,2740,2563,1779,2290,2664,1897,1759,2215,2618,1997,1430,1858,1643,1854,2062,2065,1824,1697,1646,1522,1444,1792,1842,1809,2148,1861,1964,1781,1804,1971,1760,1693,1918,1850,1572,1611,2075,1825,1732,1817,1854,1775,1690,1468,1416,1752,2811,2883,2391,2331,1964,1807,1869,1973,2254,2234,2186,2122,1917,1805,1764,1538,1675,1997,2411,1908,1463,1248,1897,2349,2614,2556,2121,1799,1809,1779,1974,1539,1309,1991,1891,2127,2431,2611,2454,2461,2297,2041,2488,2646,2107,2141,2243,2272,2123,1940,1935,2176,2664,2391,1692,2114,2603,2219,2563,3237,2558,2269,2149,2090,1639,1879,2494,2301,1748,1449,1458,1659,1824,1940,2566,2482,3161,3317,3248,3338,3458,3010,2288,1803,1496,1656,1994,1902,1565,1410,1647,1575,2107,2990,3060,2777,2367,2322,2873,3416,3702,3665,2979,2711,3474,3529,2893,2481,2677,2810,2431,2229,2821,3270,2718,2920,2471,2334,2126,1575,2095,2487,2577,2217,1977,1715,1521,1520,1553,1862,1740,2059,2658,2928,2436,2272,2496,2675,2185,1752,1915,1903,2042,2166,2084,2110,1769,1520,1866,1898,2133,2108,2451,3021,2173,1570,1890,1756,1664,1593,1877,2035,2118,2373,2792,2438,2220,2735,2392,1731,1646,2152,2785,4059,3522,3249,3625,3986,3874,3248,3355,3819,2687,2019,2211,2224,1947,1660,2006,1883,1845,1619,1799,2486,2734,2712,2699,2327,2963,3469,2970,2809,3291,3341,3187,3188,2937,2623,2588,2352,2320,2456,2113,3051,3320,3235,3069,2954,2801,2724,2989,3329,3615,3841,3576,3321,3072,3020,2985,2607,2453,2377,2776,2934,2570,2119,1646,2124,3138,2863,2916,2907,2674,2685,2479,2884,3356,3299,2843,2342,2463,2465,2443,2478,2731,3060,2782,2525,2791,3077,2365,2095,2744,3163,2946,2731,3123,3279,3177,3449,2853,2423,2590,2652,2392,2374,1986,1720,1784,1670,1543,1656,2339,2165,2850,2956,2901,2938,2767,2978,2916,2532,3121,3310,2444,2727,3093,2808,2320,2622,2366,1950,2183,1956,1576,1881,2060,1722,1947,2365,2324,2121,2495,2687,2569,2417,1966,2070,2253,2491,2529,2209,2365,2412,2008,2435,2873,2168,2035,1993,2092,1992,1768,1521,1377,1440,1764,2137,2005,1871,1526,1499,1984,2791,2410,2164,1955,2092,2151,1858,2207,2301,1701,1866,1941,1763,1832,1794,2281,3013,3333,3580,3375,2647,2770,2802,2241,2062,1757,1847,2005,2245,2006,1698,1750,1760],[3044,2849,2667,2654,3476,3770,3023,2691,2669,2872,2706,2784,3017,3234,3296,2908,2994,3140,3000,2886,2780,2691,2610,2785,2923,2683,2942,2907,2587,2880,3209,3155,3190,3443,3810,3218,3278,3470,3283,3337,3378,3432,3383,2930,2360,2040,2177,2509,2292,2204,2281,2171,1991,1915,2418,2499,2131,2900,2834,1881,1985,2173,2338,2127,2314,3216,3285,2997,2446,2654,2844,2661,2553,2745,3017,3176,2644,2242,2759,3379,3161,2911,2998,2318,2410,3002,2939,2974,3207,2924,2708,3188,3241,3247,3238,3204,3436,3749,3820,3858,3916,3761,3754,3758,3794,3846,3610,3261,3017,3168,3289,3055,3074,3272,3592,3161,3006,3264,3215,3221,3089,2997,3142,3553,3461,3159,3454,3304,2751,2975,3455,3062,2933,3254,3594,3705,3792,3483,3521,3492,3217,3084,2753,2136,2358,2661,2580,2810,2940,2755,1936,1853,1578,1831,2099,2442,2576,2375,2268,2189,2390,2516,2770,3570,3547,3242,3261,2564,2389,2918,2940,2578,2437,2717,2813,3092,2737,2427,3116,3812,3414,2888,2783,3356,3417,2757,2968,3388,3012,3183,3319,3848,4025,3493,2436,2552,3294,3553,3465,3596,2968,1870,2084,2228,2000,1627,1928,2039,2026,2077,2863,3388,3484,3266,2988,2814,2360,2230,2330,2697,2850,2807,2956,3134,3116,3116,3112,3022,3111,3066,3056,3559,3181,2942,2874,3060,3038,3028,2512,2249,2141,2225,2546,2608,2149,2431,2951,2661,2074,1596,1781,2184,2297,2186,2124,1947,2404,2339,2088,2632,2468,2488,2807,2572,2250,1698,2416,2842,2810,3185,3570,3304,2958,3300,2852,2137,2017,1832,2359,2328,2598,2292,1971,2178,2487,2297,2500,2767,2622,2897,2536,2491,2967,2497,2117,2366,2563,2876,2776,3006,3219,2677,2140,2021,2581,2523,2471,2139,2042,1653,1823,2345,2021,1782,1786,2003,2724,3230,2481,2078,1998,2223,2505,3353,2856,1905,2150,2034,1564,1897,2350,2166,1953,1878,1745,2013,2656,2890,2439,2182,2611,2989,2836,2563,2513,2220,2037,1917,1807,1577,1760,2144,2029,1996,1947,1784,2131,2269,2345,2058,2048,1978,2467,2897,2745,2630,2080,1761,1750,1615,1733,2233,2054,1819,2098,2521,2075,2440,2302,1935,1930,2312,2634,2594,2611,2745,2586,2348,2021,2070,2087,2656,2917,3095,2875,2845,2926,2515,1938,1937,2640,2768,2912,2553,2079,2041,2149,2209,2587,2780,2790,3085,3532,4002,3798,2862,2849,2587,2087,2239,2410,2490,2642,2298,1660,1729,1952,2299,3096,3458,2643,2688,2777,2353,2541,2415,2224,2859,2996,2026,1725,1727,2100,2189,1645,1508,1383,1455,1905,2193,2410,2542,2811,2723,2144,2250,2360,2129,1946,2807,2600,2229,2066,1903,2494,2788,2295,1906,1804,1521,1663,1635,1524,1454,1510,2227,2066,1847,2218,2345,2100,2163,2436,2742,2886,1791,1761,1731,1635,1749,1864,1804,1699,1811,1865,1693,1786,2338,2267,2136,2041,2190,2359,2558,2587,2316,1931,1840,1810,1821,2023,2131,1920,1887,1694,2018,1892,1741,1848,2014,1907,2473,2674,1689,1333,1642,1643,1613,1656,1756,1816,1708,2170,2994,2823,2633,3300,3066,2662,3453,3605,2782,2472,2225,2143,1941,2715,2807,2524,2662,2675,2002,1664,1756,1576,1805,2118,2233,2056,1528,1567,2474,2842,2055,1544,1675,1936,2374,2557,2578,2081,2075,2176,1986,2040,2145,1840,1881,1980,1646,1856,2518,2191,1994,2105,2240,2198,2087,1973,1744,2241,2952,2811,2277,2230,2198,2190,2504,2452,2752,2226,1823,2122,2241,2127,1857,2365,2886,2586,1986,1892,1776,2279,2534,2952,2831,2358,2552,2541,2458,2644,2433,2171,1887,2578,2655,2589,2407,2209,1781,2230,2728,2792,2264,1958,2392,2586,2648,2928,2562,2280,2400,2199,1835,1943,1967,2365,2361,2189,2365,2425,2480,2186,2041,2124,2379,3038,3602,3018,1963,1898,2256,2509,2813,2519,2654,2604,2745,3239,3200,2823,2374,2437,2609,2608,2928,2352,1817,2018,2269,2586,2555,2430,2222,2832,2114,1670,2391,2385,1569,1458,1809,1809,2188,2216,2320,2806,2450,1896,2306,2547,2464,2060,1516,1160,1685,2410,2557,2342,1922,2073,2213,2192,2268,2161,2208,2305,2120,2224,2182,2126,2687,2604,2083,1943,2205,2422,2822,2896,2947,2876,2969,2744,3150,4219,3465,2620,2466,2282,1941,2371,2523,3316,2858,2114,2024,1879,1699,1564,1569,1682,2149,1975,1819,1432,1388,1670,2021,2116,2056,2474,2431,2414,2831,2866,2480,1885,1269,1358,1522,2164,2576,2462,2542,2684,2561,2402,2020,2258,2160,2070,2589,2787,2614,2514,1924,2168,2357,2362,3140,2890,1989,2050,2470,2518,2559,2489,2475,2482,2479,2580,2715,2800,3238,3204,2861,2927,2307,1743,1529,1544,1600,1503,2589,2730,1769,1572,1601,1576,2241,2994,3003,2980,3395,3387,3228,3256,3354,3580,3548,3405,3273,2962,3342,3233,3134,3178,3053,3740,4036,3969,3268,2565,2315,2631,2834,2832,2979,3462,3680,3850,3624,3303,3826,3851,3325,3845,3640,3223,3554,3134,2529,2078,1926,1859,1773,1828,1671,1709,1936,2172,2157,2028,2042,2250,2187,1941,1931,2182,2077,1982,2152,2056,1798,1520,1406,1681,1875,1913,1876,1935,1996,1866,2122,1964,1998,1577,1595,1766,1909,1997,1724,2030,2778,3209,3153,3130,3103,2839,2880,2784,2199,1606,1661,2144,2401,2442,2679,2642,2462,2486,2840,3306,3658,3531,2994,2308,1754,1726,1762,1620,1624,1727,2080,2168,1894,2541,2292,1776,1745,1845,1918,1964,1635,1294,1621,1874,1742,1510,1372,1776,1813,1836,1705,2094,2532,2678,2693,2499,2427,2549,2295,2257,1494,1884,1862,1746,2009,2094,2128,2430,2052,1346,1373,2522,2951,2697,2440,2186,2112,2142,2198,1719,1001,595,1049,1943,1854,966,537,673,1582,1891,2491,2600,2402,2082,2159,2331,2275,2750,3099,3008,2878,2152,1569,2310,3139,3061,2952,3231,3054,2279,1713,1836,2184,2326,3142,3031,3248,2837,2139,2085,1936,1890,1842,1682,1631,1614,1421,1557,1606,1726,2048,1860,1757,1798,2216,2604,2619,1971,1498,1622,1831,1533,1542,2623,2354,1700,1551,1506,1476,1724,1917,1797,1918,1853,1544,1755,1841,1885,1891,1590,1222,1412,1663,1598,1394,1351,1495,1576,1415,1411,1412,1687,1548,1614,1765,1784,1622,1578,1520,1443,1361,1472,1775,1487,1367,1378,1715,1553,1473,1776,1535,1445,1791,1674,1438,1588,1532,1410,1357,1367,1265,1331,1352,1520,1713,1952,1976,1721,1582,1673,2215,2189,1632,1441,1775,2734,3200,3597,3428,3294,3404,3131,2830,2270,2055,2106,1302,1236,1587,2107,2373,2798,2542,2004,2023,2139,2434,2247,1999,2063,2088,2108,1393,1061,1875,2770,2710,2467,2440,2674,2623,2091,1413,1326,1715,2330,2875,2346,2666,2802,2802,3212,3470,3699,3781,3364,2652,2497,2426,2675,2675,2699,2745,2382,2274,1877,1697,2526,2894,2014,1883,1818,2178,2156,1567,1727,2059,1942,2042,2054,2625,3191,3165,3024,2740,2398,2114,2152,2351,2015,2047,1771,1814,1961,1810,2674,2886,2574,2235,1958,2530,2643,2657,1742,1622,2020,1981,2330,2289,2502,3641,4008,3319,2492,1966,1823,1991,2026,2110,2116,2544,3032,3233,2652,2451,2864,2881,2941,3161,3186,2712,2077,1885,2116,2751,3060,2723,2662,2382,2172,2625,2568,2156,2188,2449,2580,1984,2099,2480,2546,2417,2241,2035,1974,1748,1875,2046,2143,2410,2630,2813,2486,2173,2563,2657,2412,2354,2076,2022,2148,2235,2383,2570,2336,2175,2023,2314,2452,2387,2996,2814,2352,2893,2846,2206,2023,1613,1533,1497,1910,1887,2106,2219,1742,1437,1482,1570,1780,1714,1744,1609,1597,1801,1842,1685,1560,1636,1656,1610,1692,1288,1131,1571,1630,1506,1704,1703,1712,1800,1826,1735,1964,2512,2840,2885,1952,1687,2096,2349,2452,2357,2387,2079,1814,1644,1923,2026,1682,1953,1790,2275,2008,1582,1516,2213,2569,2199,2229,2147,2010,2036,2035,2313,1986,1355,1784,1699,2378,2644,2269,2033,2646,2798,1982,1975,2202,1895,2270,2621,2422,2149,1832,1626,1935,2125,1776,2181,2874,2559,2378,2972,2822,2150,2060,1979,1900,1896,2320,2494,2238,1801,1602,1458,1409,1593,1858,2624,2304,2689,3122,3140,3150,3400,3194,2470,2070,1714,1577,1766,1692,1691,2053,2268,2268,3263,3915,3858,3277,2475,2601,3040,3171,3011,3030,3208,3304,3825,3715,3122,2531,2287,2766,3157,2908,3129,3646,2626,2592,2642,2002,1685,1799,1774,2654,3226,2304,1813,1765,1521,1592,1593,1582,1637,2376,3038,2767,2249,2475,2698,2481,2025,1859,1793,1845,1935,1746,2043,2406,1953,1614,1799,1820,1930,2331,3210,3392,1909,1347,1527,2026,2454,2028,2046,2394,2720,2788,2455,2513,2229,2269,1928,1975,2034,2231,2246,2996,3373,3112,2775,3330,3761,3138,2112,2380,1872,1648,2106,2314,1785,1328,1722,1880,1920,1712,1850,2573,2620,2230,2153,2612,3250,3252,2724,2776,3310,3410,3198,3256,3311,2662,2457,3054,2784,2588,2652,2986,2630,2741,2710,2309,2298,2374,2667,3460,3573,3418,3522,3696,3509,3221,2927,2545,2286,2710,3242,3132,2808,2456,2019,2468,2644,2290,2170,2583,2999,3040,2547,2711,3227,3350,2916,2485,2565,2352,2413,2588,2259,2842,3031,2788,3000,3166,2770,2670,2673,2773,2782,3032,3659,3378,3143,3445,3085,2676,2635,2262,2039,2048,1597,1554,1883,2087,2013,1996,2522,2445,2978,3320,3027,2814,2952,3062,2474,2471,3262,3334,2710,2646,2468,2316,2217,2868,2736,2335,2472,2164,1685,1548,1959,1857,1691,1882,2169,2367,2541,2652,2820,2397,1808,1889,2221,2620,2871,2621,3075,2354,1657,2304,2575,2106,1960,1844,1671,1735,1732,1699,1438,1493,1845,2187,2139,2056,1655,1614,1963,2006,2261,2236,1988,2312,2249,1988,2136,2154,2006,1655,1648,2033,2079,1802,2217,2642,2773,3190,3076,2480,2369,2142,1991,1854,1752,1948,2153,2564,2342,1657,1705,1638],[3082,2999,2883,2849,3581,3474,2921,2546,2190,1958,1959,2530,3152,3353,3022,2843,3341,3387,3184,3074,3146,3228,3100,3684,3421,3243,3680,3480,3358,3660,3529,3288,3309,3251,3371,2918,2984,3232,3228,3167,3023,3218,3338,2739,2299,1932,1943,2310,3034,2956,2729,2102,2009,2133,2642,2951,2851,3333,2974,1862,1945,2171,2237,2124,2641,2548,2183,2441,2451,2542,2766,2844,2708,2461,2069,2376,2001,2342,2480,2176,1913,2142,2790,2519,2329,2686,2766,2661,2962,2751,2786,3329,3263,3343,3466,3461,3533,3776,3677,3696,3895,3720,3809,3783,3809,3919,3579,3054,2584,2546,3151,3356,2954,3371,3905,3059,2746,3174,3473,2956,2533,2569,2791,3375,3475,3391,3588,3762,3706,3647,3218,2883,3278,3805,3963,3851,3687,3241,3140,3224,2985,2878,2768,2246,2754,2910,2613,2698,3414,3301,2358,1945,1994,1888,1880,2280,2384,2236,2205,2396,2559,2746,2771,3179,3296,3082,2790,2277,2641,3034,2667,2529,2686,3086,2801,2647,2358,2656,3886,3583,2785,2853,2941,2846,2695,2623,2988,3152,2111,2406,2952,3698,3826,2967,1970,1849,2347,2624,2884,3353,2996,2083,2491,2376,1886,1532,2260,2671,2319,1687,1771,2468,3397,3120,2484,2670,2733,2324,2228,2471,2851,2890,2894,3203,3474,3627,3563,3118,2658,2549,2890,3466,3195,3249,3518,3518,3010,2522,2390,2393,2315,2297,2520,2698,2444,2761,3338,3270,2495,1758,1329,1757,2714,2798,2309,2152,2209,2147,2432,2658,2301,2495,2744,2570,1890,1846,2662,3097,3293,3536,3706,3401,3130,3448,2720,1967,1683,2023,2322,2302,2685,2425,2100,2536,2621,2377,2632,2485,2393,3160,2732,2625,2890,2548,2299,2406,2807,2878,2945,3010,2521,2463,2217,2613,2593,2538,2593,2402,1941,1604,2076,2217,1749,1842,2209,2590,2786,2870,2065,1840,1861,1880,2298,3068,2664,2117,2032,2017,1704,1828,2236,2245,1708,1607,1622,2415,2787,2369,2394,2330,2264,2187,2374,2696,2475,2659,2396,2037,1909,1707,1619,1731,1854,2001,1966,2183,3044,2857,2358,1800,1747,1867,2202,2265,2150,1873,1906,1945,1761,1932,2137,2609,2411,2579,2708,2701,2475,2364,2072,2131,2634,3090,3373,3016,2738,3739,2873,2887,2487,2282,2392,2097,2056,2408,2104,2252,2347,1995,1825,2176,2590,3273,3340,2665,2114,2294,2292,2002,2405,2620,2853,3354,3606,3571,3319,2565,2381,2800,2840,2328,2137,2247,2196,2254,2247,2225,2022,2808,3034,2719,2353,2309,2040,2037,2496,2356,2190,3072,3717,2328,1755,1777,2265,2093,1751,2102,2107,2137,2177,2309,2679,3062,3449,3444,2374,2265,2391,2241,2085,2338,2227,2542,2442,1951,2176,2376,2076,1804,1760,1827,1897,1595,1428,1426,1832,2074,1814,1988,2166,2368,2254,2008,2234,2820,2634,2045,2116,1980,2051,1851,1671,2017,2492,2332,2201,2073,2272,2985,2558,2007,1892,1872,2194,2592,2622,2372,2184,1847,1807,1787,1884,2003,1715,1658,1717,1665,1600,1478,1704,2280,2659,2878,2710,1639,1466,1905,2032,1863,1866,1746,1215,1177,2270,3230,2800,2407,2984,2653,2427,3251,3225,2393,2140,2015,1935,2020,2956,3399,3021,2357,2176,1775,1597,1481,1515,1693,1626,1701,1718,1706,1737,2292,3045,2590,1519,1606,1825,1935,2401,2835,2085,1765,1718,1565,1897,2016,1801,1930,1630,1728,2115,2534,2311,2122,2223,2110,1952,2116,2254,2160,2385,2400,2147,1952,1867,1696,1982,2317,2323,2108,1646,1575,2059,2259,1901,2140,2750,3005,2115,1902,2111,1932,2393,2191,2348,2728,2489,2201,1801,1988,2554,2578,2498,2300,2568,2575,2567,2404,2409,2254,2511,2765,2611,2454,2653,2269,1919,1989,2370,2045,2204,2252,1606,1013,949,1273,1998,2222,2398,2744,2974,3179,2713,2145,2200,2274,2665,2928,2612,2334,3022,3052,2762,2598,2476,2683,2975,2943,2821,3221,2615,1792,2217,2395,2274,2393,2060,2641,2948,2978,3169,2271,1999,1963,2163,1704,1823,2264,1969,1803,2188,2276,2038,2513,2524,2451,2469,2035,2132,2416,2202,2131,2016,1542,1417,1553,1917,2122,2258,2414,2166,2103,1936,1917,1955,1946,1995,1676,1968,2018,2416,3066,2392,2278,1821,1967,2670,2691,2556,2689,2792,2826,2401,2656,3868,3167,2545,2786,2520,1963,2121,2139,2399,2163,1641,1955,2000,1896,1898,2172,2414,2814,2233,1583,1520,1830,2212,2230,2087,1982,2359,2113,2220,2604,2654,2251,1807,1261,1355,1552,2063,2638,2250,2291,2626,2458,2207,2104,2018,2397,2362,2754,3007,2502,1974,1762,2303,2667,2785,2641,2182,1903,1954,2531,2615,2734,2686,2363,2535,2617,2698,2645,2854,3381,3517,3277,2602,1951,1618,1444,1403,1489,1787,2302,2009,1646,1700,1663,1635,2292,2247,2530,3010,3473,3521,3358,3334,3429,3719,3651,3457,3418,3176,3030,3074,3227,3185,2566,2909,3359,3297,3492,3451,2741,2664,3119,3149,2666,3044,3129,3044,2973,2778,3089,3116,3206,3662,3279,2636,2443,2374,2178,1878,1671,1763,1841,1760,1455,1615,2542,3217,2933,2885,2797,2541,2292,2177,2312,2260,2019,2117,2166,2006,1856,1713,1611,1775,1829,1903,1747,1930,2042,1988,2055,1867,1852,1629,1825,1834,1793,1975,1745,2150,3132,3195,3198,2988,3033,2755,2508,2238,1713,1562,1785,1811,1819,1725,1770,2078,2455,2337,2468,2976,3295,3177,3165,2962,2178,1810,1675,1476,1505,1656,1971,1810,2218,2474,2137,1798,1918,2126,1997,1989,2110,2159,1873,1411,1345,1309,1441,1741,1743,1787,1936,2142,2488,2532,2271,1924,1931,1954,2035,1777,1390,1670,1679,1840,2074,1867,1796,2090,2109,1681,2227,3462,3311,2703,2144,2017,2082,2069,1970,1760,1360,1119,1584,2005,1921,1110,630,677,1578,2204,2467,2203,2200,2447,2919,2990,2673,2501,2745,2898,3300,2729,1572,1726,2477,3120,3422,3173,2968,2652,1830,1720,2232,2053,2106,2027,2696,2965,2296,1973,1740,1505,1561,1622,1488,1755,1793,1644,1512,1838,2018,1723,1659,1766,1691,1977,2354,2164,1552,1622,1659,1643,1730,2059,2041,1715,1620,1670,1776,2194,2319,1930,1871,1609,1491,1594,1638,1976,1988,1717,1359,1478,1582,1411,1331,1419,1628,1545,1508,1411,1388,1553,1613,1831,2009,2054,1998,1684,1594,1357,1361,1653,1721,1619,1538,1318,1332,1380,1439,1714,1603,1293,1447,1438,1418,1468,1427,1394,1375,1272,1231,1360,1399,1548,1768,2042,1947,1848,1852,1599,2098,2286,1746,1446,1996,2894,3440,3450,3000,2811,3086,3052,2913,2558,2206,2191,1507,1651,2030,2133,2332,2332,1698,1291,1242,1377,1667,1850,1737,1945,1862,2307,2009,1648,2431,2869,2577,2785,2885,2862,2294,1861,1287,1164,1335,2290,3047,2632,2732,2700,2208,2402,2879,3636,3760,3796,3320,2709,2134,2077,2410,2402,2196,2806,3486,2831,2063,2524,2364,2192,2252,1924,1908,2073,1748,1792,2091,1996,1856,2154,2558,2530,2517,3105,3083,2140,1743,2056,2237,2072,1839,1580,2152,2498,2038,2641,2885,3063,2642,2802,3012,2980,2557,1842,2094,2144,2044,2099,1911,2287,3410,3281,3109,2577,2117,2168,2103,2003,1836,2157,2841,3129,2857,2974,3090,3234,3270,2870,3263,3465,2741,2314,1886,1930,2018,1630,2180,2743,3233,3445,3577,3037,2463,2156,2379,2494,2291,2416,2488,2189,2523,2674,2249,1844,1849,2250,1825,1654,1836,1884,2205,2121,2139,2658,2784,2959,2686,2057,2008,1952,1873,1769,2023,2047,2115,2454,2389,2039,2400,3119,3066,3244,3282,2596,2038,2123,1968,1882,2115,2063,1776,1721,1964,2082,1604,1560,1708,1656,1717,1456,1610,1479,1363,1858,1931,1787,1898,1624,1472,1665,1386,1540,1476,1277,1340,1511,1396,1422,1742,1919,2033,2133,2224,2712,3021,2060,1787,1942,2224,2411,2206,1951,1819,1752,1937,2226,2068,1880,1920,1633,1765,1976,1585,1700,2683,3167,2613,2184,1922,2110,1971,2496,3140,2811,2282,2240,2075,2360,2747,2692,2372,2457,2253,2166,2808,2571,2445,2216,1832,1825,1888,1688,1634,2117,2147,2291,3143,3375,2529,2244,2577,2099,2091,2030,2057,1673,1768,2181,2361,2093,1638,1497,1587,1454,1410,1504,1832,1860,2485,3164,3428,3354,3282,3131,3226,3122,2547,2096,1976,1826,2324,3172,3617,3676,3972,3941,3523,2912,3089,3494,3112,2662,2378,2545,3248,3466,3643,3594,3198,2627,2302,2520,3400,3608,3508,3455,2569,2603,2680,2259,2068,2142,1933,1976,2363,1978,1750,1853,1968,1628,1456,1148,1269,2360,3161,2958,3010,3007,2576,2054,1723,1714,1700,1835,2001,2052,2293,2359,2103,2024,2198,2236,2354,2453,2822,3023,2423,2264,1930,2379,3238,3294,2967,2654,2520,2258,2219,2625,2318,1848,1683,1909,2164,2319,1870,1823,2485,2419,2334,2875,3043,2853,2072,2200,2416,1965,2078,2288,2055,2092,2135,2217,2552,2387,1920,2326,2279,2116,2326,2670,2674,2586,2829,3119,3337,3266,3009,3044,3234,2685,2502,2774,2647,2336,2820,3464,3359,3295,2965,2465,2586,2376,2579,3512,3528,3636,3928,3992,3747,3219,2561,2237,2524,3285,3520,3341,3072,2820,2812,2995,2409,2042,2265,3118,3310,3002,3064,3168,3046,3044,2885,3151,3311,2876,2499,2151,2118,2729,2925,2590,2519,2878,2962,3212,2951,3038,2903,3221,3441,3284,3114,2695,2215,2220,2567,2243,2327,2154,1527,1570,1834,2530,2258,1793,1853,2415,3067,3143,3006,2767,2822,2787,2070,2326,2607,2720,2872,2619,2167,2057,1935,2351,2633,2342,2169,1820,1738,1528,1864,1797,1526,1431,1959,2049,1999,2242,2418,2132,1632,1568,1843,2178,3211,3234,2997,1965,2102,2813,2735,2237,1852,1678,2019,2732,2680,2136,1890,1780,2002,2484,2250,2330,2490,2171,1821,1825,1909,1875,1904,2077,1995,2165,2104,2349,2111,1889,2106,2163,1828,1958,2688,2375,2032,2235,2291,2213,2136,1805,1680,1666,1798,2200,2654,3288,2899,1736,1786,1694],[3285,2989,3218,3043,3307,3011,2795,2754,2227,1892,1754,2088,2490,2599,2843,2976,3205,3278,3109,2954,2973,3274,3342,4120,3859,3255,3994,4145,4132,4188,3950,3448,3650,3458,3200,2919,2890,3040,3021,2877,2765,2749,2937,2688,2371,1925,2054,2454,2816,2473,2430,2074,2053,2149,2119,3065,3188,3074,2677,2146,1951,2343,2530,2452,2729,2419,1908,1937,2299,2592,2700,2617,2642,2320,2044,2287,2239,2987,2755,2309,2322,2462,2459,2312,2668,3182,3296,2963,2985,3019,2980,3038,2996,3206,3321,2967,2934,3461,3260,3418,3825,3755,3676,3737,3728,3641,3473,3282,2585,2256,2379,2455,2561,2979,3190,2656,2752,3111,3184,2646,1990,1882,2451,2430,2093,2599,2809,2761,3078,3377,2829,2873,3237,3605,3642,3540,3496,3403,3702,3596,2749,2868,2931,2148,2965,2952,2746,3498,3669,3085,2415,2192,2247,2017,1998,2059,2143,2387,2557,3095,2963,2596,2182,2142,2577,3023,2681,2324,2762,2740,2190,2011,2635,3480,3109,2819,2646,3090,3531,2751,1782,2007,2192,2113,2526,3073,3064,2008,1219,2018,2644,3145,3292,2624,1986,2071,2250,2443,3016,3254,3476,3098,2684,2261,2151,2231,2604,2727,2755,2520,2234,1979,2917,2366,1982,2437,3016,2625,2199,2246,2808,2933,3037,3424,3918,4156,3653,3111,2324,1835,2353,3168,3396,3509,3572,3444,2872,2586,2834,2479,2137,2330,2451,2686,2688,3328,3452,3614,3718,3308,2343,2354,3250,3068,2415,2498,2825,2561,2508,2311,2491,2682,2608,2098,1538,1997,2709,3039,3399,3687,3741,3510,3160,2734,2096,1948,1683,1893,2080,2363,3002,2622,2336,2158,2345,2907,2740,2441,2888,4039,3703,3005,2750,2448,2298,2001,2266,2250,2499,2561,2688,2754,2709,2671,2487,2240,2355,2811,2234,1708,1796,1531,1544,2251,2364,2585,2460,2323,2192,2061,1952,1996,2047,1953,2116,2728,2534,2514,2182,1925,2054,1839,1116,1133,1963,2632,2792,2127,2468,2454,2097,2214,2555,2217,1699,1827,2193,2399,1980,1690,1700,1824,1809,1630,1698,2280,2852,2785,2456,2246,1915,1899,1892,1925,2011,1833,1986,1913,1879,2167,2372,2833,2734,2369,2588,2727,2563,2563,2787,2692,3221,3370,3082,2821,3384,3562,3124,3116,2733,2400,2460,2444,2313,2457,2625,2685,2850,2325,1775,1935,2397,2967,3094,2840,2906,2972,2148,2219,2511,2525,3020,3515,3338,3252,3064,2081,1832,2662,2661,2489,2814,2486,2204,2362,2743,2807,2509,2588,2108,2071,2206,2093,2039,2380,2614,2540,2331,2819,3643,2718,1857,1828,2494,2224,1906,1946,1926,2081,2488,2634,3327,3650,3592,3416,2330,2274,2303,2015,2222,2454,2342,2587,2620,2391,2220,1920,1548,1659,1614,1879,1952,1736,1707,1653,2115,2312,1809,2178,2745,3047,2253,1896,2542,2477,1872,1869,1815,2068,2186,1849,2132,2561,2862,2590,2138,2018,2018,2096,2008,2034,2242,2046,2149,2467,2597,2618,2496,1981,2040,1842,1753,1703,1793,1913,1723,1576,1540,1443,1694,2026,2611,2578,2191,1879,1813,1823,2310,2420,2346,2051,1332,1308,2486,3065,2540,2374,3218,2624,2190,2370,2313,2049,1780,1815,1973,2489,3242,3393,3194,2036,2249,2526,1848,1550,1494,1698,1638,1625,1557,1585,1585,1813,2490,2069,1715,1877,1765,1725,1892,2367,2104,1734,1666,1560,1498,1825,1982,2128,1813,2230,2208,2293,2364,2411,2338,2064,1708,1767,1979,1992,1729,1504,1857,2214,2233,2031,1910,2144,2170,1920,1799,1921,2090,2199,1976,2175,2336,2778,2733,2776,2347,2284,2185,1934,1941,1927,2010,2125,2310,2534,2598,2782,2811,2530,2357,2420,2476,2434,2382,2387,2714,3047,2655,2083,2231,1987,2188,2497,2222,2281,2671,2548,1420,786,1300,1532,1712,2057,2268,2341,3125,3760,2941,2074,2106,2244,2013,2296,2609,3067,3717,2990,2046,2012,2057,2824,2805,2418,2696,2854,2238,1759,2307,2323,2581,2474,2611,3329,3415,2829,2797,2304,2177,2293,2049,2146,2410,2218,2061,2431,2762,2745,2209,2081,2198,2250,2006,1674,1629,1960,2037,1837,1890,1793,1838,2072,2364,2157,2295,2639,2632,2762,2632,2473,2295,1911,2221,1969,2158,2302,2920,3322,2564,2139,2017,2547,2687,2251,2762,2858,3084,2756,1941,2381,3362,3115,2785,2967,2621,2261,2331,2341,2687,2255,2078,2641,2721,2424,2556,2306,2558,3104,2532,1848,2058,2661,3559,2932,2609,2347,2366,1921,2231,2388,1949,1910,2128,1776,1556,1608,1808,2416,2460,2482,2381,1905,1930,1903,1728,2397,2557,2718,3119,2397,2250,2139,1955,2216,2641,2679,2479,2038,1861,2437,2630,2874,2661,2234,2463,2573,2920,2770,3043,3242,3391,3115,2654,2036,1655,1650,1545,1492,1591,1578,1464,1738,1816,1722,2009,2039,2056,2188,2464,3140,3622,3613,3414,3413,4000,3784,3629,3317,3360,2654,2746,3056,2774,2110,2486,3444,3701,3992,3836,2961,2664,2980,3043,2950,2744,2413,2868,2984,2635,2915,3019,3138,3205,2876,2424,2237,2370,2301,1942,1666,1671,1686,1583,1528,1798,2702,3742,4132,3867,3623,3465,3381,3037,2731,2484,2498,2450,2232,2108,2147,1970,1996,2076,1898,1794,1776,1947,1756,1672,1804,1781,1723,1903,2038,1813,1983,1873,1903,2762,3174,3085,3217,2966,2707,2329,2029,1744,1460,1542,1700,1623,1650,1638,1588,1450,1632,1655,1970,2258,2599,2867,3032,2910,2497,2178,2036,1797,1602,1750,1687,2142,2858,2442,2144,2003,1919,2214,2431,2008,1984,2062,1565,1457,1530,1574,1764,1841,1822,1839,1719,1788,2264,2375,2144,1867,1741,2040,2385,2063,1946,1788,1804,2134,2149,2135,2000,2072,1904,1316,1591,2949,3173,2248,1803,1936,2086,2147,1965,1700,1509,1478,1704,1668,1944,1793,1448,1730,1969,2371,2486,1889,1726,2206,3127,3331,2915,2364,2371,2663,3145,2936,1874,1670,2423,2719,2908,2919,3081,2700,1985,1594,2298,2330,1843,1510,1945,2437,2188,1838,1920,1860,1476,1576,1576,1770,2036,1752,1808,1848,1624,1538,1625,1759,1723,1808,1849,2111,1831,1884,1599,1660,1611,1288,1515,1795,1609,1684,1954,1972,1969,1776,1552,1525,1569,1576,2056,1816,1583,1844,1776,1585,1487,1563,1335,1360,1411,1384,1614,1516,1455,1506,1467,1759,2043,2075,2064,1710,1543,1358,1338,1643,1589,1742,1665,1413,1464,1536,1379,1426,1552,1395,1235,1309,1329,1299,1510,1493,1345,1347,1362,1417,1415,1476,1756,2343,1836,1798,1842,1518,1981,2001,1575,1385,1512,1892,2474,2858,2573,2393,2708,2968,3109,2715,2338,2210,2191,1932,1760,2182,2489,2192,1986,1628,1526,1386,1427,1400,1685,1959,1965,2299,2343,2248,2213,1835,1988,2586,2367,2162,1760,1368,1503,1759,1964,2500,3118,2957,2518,2433,2181,2014,2049,2980,3475,3227,2712,2117,1892,2097,2477,2746,2818,3008,3522,3450,3143,2624,2046,2465,2620,2105,1829,2100,2109,1999,2209,1707,1698,1816,1829,2085,2756,3394,3322,2323,1710,1696,1698,1756,1739,1636,2090,2040,1764,1987,2424,2488,2235,3379,3342,2526,2056,2009,2454,2132,1917,1930,1967,2032,2293,2320,3040,2701,2134,2186,2147,2054,2031,2251,2320,1981,1886,3008,3550,3275,3373,3234,3077,2878,2546,2309,1800,1903,2200,1676,1787,2713,4027,4408,4508,3946,2732,2048,2292,2566,2542,2602,2602,2120,2841,2693,2156,1832,1990,2041,1492,1599,1646,1588,1854,1852,2042,2647,2641,3105,2570,2052,2092,2093,2234,2138,2035,2216,2473,2691,2116,1495,1887,2550,2774,3134,2796,2544,2220,1816,1643,1801,2106,2082,1803,1172,1666,2310,2045,1726,1649,1639,1751,1640,1579,1404,1663,1926,1889,1828,1718,1496,1461,1462,1391,1582,1610,1510,1432,1125,836,1117,1732,1900,1995,1905,2045,2210,2217,2072,1841,1964,2276,2190,1886,1857,2055,1807,1827,1747,2322,2026,1618,1521,1705,1874,1955,1885,2122,2951,2832,2462,1690,1852,2085,2374,2557,2586,2902,2742,2379,2058,2258,2587,2313,1921,1946,2253,2788,2723,2810,2322,2083,2215,2244,1856,1567,2007,2734,3466,3687,3072,1980,1981,1809,1897,2181,2354,2065,1363,1843,2133,1988,1684,1566,1536,1685,1646,1538,1438,1554,1760,2097,2579,3354,3551,3297,3111,3443,3422,3322,2790,2469,2732,2791,3151,3785,3914,3940,3480,2894,3134,3507,3274,2764,2414,2380,2648,3156,3386,3382,2971,2608,2999,3190,3043,3782,3652,3483,3449,2886,2292,2111,2259,2254,2456,1993,1815,1747,1767,1794,1947,2078,1673,1323,1036,1243,2252,2709,2823,3285,2853,2216,1861,1904,1792,1925,2535,2589,2158,2111,2248,2218,2253,2955,2760,2399,2176,2197,2580,2566,2131,1978,2402,3073,3560,3064,2447,2269,2010,2216,2098,2059,1987,2007,2285,2474,2522,2539,2918,3288,3194,2444,2408,2854,2864,2574,2224,2253,2416,2566,2473,2282,2235,2232,2360,2289,2612,2546,2292,2370,2361,2174,2465,2308,2326,3359,3731,3908,3709,3422,3331,3075,2765,2502,2476,2735,2553,2588,2564,2241,2697,3154,3195,3024,2610,2884,3344,3619,3925,3838,3596,3411,2973,2157,2187,3188,3892,3884,3463,3354,3035,2665,2415,2394,2102,2061,2792,2950,2320,2263,2485,2635,2453,2661,3118,3338,3216,2664,1992,2095,2664,2851,2552,2383,2763,3104,3379,3360,3327,3407,3529,3486,3416,2974,2572,2120,1936,2224,1873,1680,1616,1850,2307,2249,2504,2069,1819,1976,2554,3006,2718,2539,2185,2622,2767,2352,2613,2935,2795,2348,2286,2363,2468,2244,1668,1864,1811,1548,1094,1570,2077,1813,1443,1686,1832,1834,2148,2418,1946,1995,2298,1833,1669,1934,2122,2879,2819,2408,2522,2810,2729,2714,2364,1976,1845,2507,3530,3375,2423,2215,2014,2062,2876,3107,3100,3230,2405,1765,1830,1636,1937,1968,1848,2059,2214,2019,1938,1802,2008,2222,1904,1670,2044,2392,2270,1924,1908,1923,2316,2192,1886,1902,1952,2126,2576,3040,3564,2931,1875,1966,2067],[3219,3160,3452,3333,3296,3287,3431,2946,2172,2040,1917,2177,2334,2243,2420,2765,2778,2587,2724,2429,2666,3396,3462,3936,3685,3253,3839,4197,3889,4096,4096,3829,3830,3362,2938,2951,2972,2984,3034,2972,2854,2828,2840,2625,2577,2482,2429,2598,1992,1246,1243,1100,1537,2053,1541,2070,2130,2270,2556,2552,2398,2705,2785,2469,2479,2454,2276,2115,2376,2670,2620,2169,2281,2576,3042,2751,2462,2442,2474,2700,2713,2545,2267,2455,2487,3306,3550,3164,3163,3298,3162,3149,3075,3206,3040,2274,2379,3162,2963,3292,3905,4007,3661,3661,3629,3417,3385,2923,2171,2341,2592,2665,2951,3023,2688,2272,2292,2308,2338,2210,1978,2270,2568,2181,2215,2596,2502,2101,2208,2723,2597,2718,2798,2766,2799,3086,3165,3145,3748,3769,2908,2930,2754,2606,2787,2705,2567,3103,3673,3384,3189,3130,2591,1909,1953,1858,1737,1819,2562,2981,2828,2710,2250,1818,2184,2814,2334,2314,2771,2512,2436,2324,3039,3521,3505,3461,3313,3027,2855,2521,1697,1798,2069,2331,2482,2555,2014,1293,1396,1806,2094,2193,2219,2242,2278,2197,2275,2822,3212,3330,3406,3210,2492,1885,1854,2204,2120,2608,2783,2270,2443,1876,2051,1893,2472,2678,2967,3320,2968,2856,2961,3004,3186,3428,3775,3803,2998,2695,1974,1909,2195,2708,3292,3505,3420,3319,3063,2797,2710,2410,2320,2308,2414,2611,2506,3061,3475,3515,3675,3761,3595,2573,2607,2669,2241,2889,3636,3505,2831,2509,2658,2575,2336,2084,1744,1884,2296,3079,3605,3564,3799,3719,2971,2292,2098,2189,2309,2316,1886,2079,2530,2418,1982,1325,1470,2128,2018,1911,2573,3405,3288,2752,2312,2160,2403,2535,2414,2208,2458,2319,2595,2886,2924,2776,2729,2418,2466,2913,2565,2339,2382,2092,1645,2375,2117,1938,2088,2253,2350,1890,1797,2132,1996,1981,2492,3075,2533,2042,1863,1781,1844,1687,1301,1532,2379,2504,2685,2139,2030,2242,1908,2411,2745,2194,1749,1608,2209,2832,2220,1712,1881,2024,2140,1677,1632,2092,2810,3099,2824,2131,1792,1836,1669,1838,2083,1981,1842,1745,1971,2065,2191,2497,2359,2425,2447,2246,2689,3128,2793,2885,3334,3091,2884,3238,3652,3295,2942,2856,2700,2125,2030,2028,2083,2540,2908,2871,2953,2333,2058,2293,2422,2627,2702,2531,2979,2618,2239,2926,2641,2647,3313,3442,3321,3443,3081,2003,2055,2993,2644,2854,3221,3030,2486,2272,2627,2498,2419,2318,2171,2303,2318,2087,1962,2075,2171,2162,1943,2678,2974,2497,1994,2036,2527,2409,1913,2061,2414,2406,3006,2679,3019,3478,3513,3327,2416,2194,2244,1834,2223,2799,2409,2208,2519,2531,2308,1710,1756,1627,1647,1756,1706,1816,1850,1952,2370,2408,2127,2401,2714,3025,2116,2291,2227,1656,1591,1663,1949,2336,2122,2143,2383,1911,2379,2315,1794,1819,1998,2116,2179,2309,2227,2360,2688,2341,2194,2385,2344,2086,2302,2430,2309,2184,2166,2222,1898,1704,1713,1769,1998,2191,2038,1973,1672,1819,1823,1702,2308,2544,2342,2435,2286,1837,1878,2173,1878,1923,2458,2341,2104,1840,2077,2133,1915,1912,1989,2665,3522,3215,2865,2093,1890,2024,1795,1689,2154,2209,1876,1939,1538,1566,1642,1723,2136,1866,1681,1609,1643,1678,1729,1842,1750,1761,1792,1625,1665,1994,2301,2416,2167,2484,2162,2031,2031,1780,1873,2220,2152,1912,2283,2713,1835,1765,2272,2324,2226,1908,1655,1673,1685,1541,1745,2116,2111,2018,2079,2070,2365,2751,2901,2953,2938,2447,2051,2260,1568,1720,2219,2430,2627,2991,2832,2821,2619,2343,2202,2291,2674,2409,1998,2237,2887,2930,2351,1765,1678,2079,2519,2544,2331,2340,2248,2144,1310,1124,1829,1998,1800,2321,2800,2698,2909,3234,2819,2375,2487,2663,2469,2601,2277,3533,3647,2463,1383,1348,2090,2923,2907,2707,2452,2262,2388,2536,2690,2945,3226,2601,2943,3164,2712,2212,2048,1812,1916,2172,2081,2678,3101,2693,2209,2076,1996,1918,1875,1982,2053,2136,2179,1468,960,1509,2323,1828,1754,1980,2135,2198,2296,2325,2559,2647,2543,2486,2534,2731,2596,2146,1936,1508,1451,2084,2890,2830,2233,1807,1903,2297,2750,2871,2761,2775,3312,2752,2405,2966,3291,3253,2988,2876,2942,2918,2340,2623,2880,2229,2161,2086,2059,2102,2286,2230,2435,2980,2676,1707,1810,2230,3524,3095,2634,2700,2389,2064,2403,2410,2043,2237,2406,1917,1617,1688,1673,2210,2508,2757,2097,1572,1604,1487,1588,2329,2641,2337,2756,2216,2389,2457,2131,2492,2630,2587,2184,1703,1779,1986,2185,2670,2635,2463,2456,2597,3076,2979,3107,2920,2829,2784,2589,2138,1811,1648,1377,1549,1880,1483,1628,2248,2098,2336,2342,1982,2326,2280,1988,2384,3029,3484,3290,3105,3387,3459,3318,2811,2624,2834,3175,2969,2495,2075,2757,3530,4048,4301,4109,3072,2642,2435,2244,2467,2323,2503,2841,2303,2314,3061,2999,2996,3077,2778,2800,3305,3001,2436,2049,1563,1340,1445,1553,1485,1803,2784,4820,5118,4091,3851,3816,3736,3276,2742,2459,2153,2211,2155,2042,2222,2366,2383,2222,2228,2335,2311,2268,2249,2249,2082,1834,1852,2095,2000,1712,2069,1688,2087,2931,2873,2763,2890,2845,2463,2052,1810,1371,1414,1576,1593,1612,1602,1544,1434,1384,1271,1714,2104,2029,2016,2213,2323,2433,2588,2448,2256,1973,1763,1728,1801,2299,2343,2234,2540,2417,1950,2177,2286,2049,1838,1945,1986,1971,1888,1728,1777,2025,2171,2033,1952,2131,2220,2300,1761,1891,2004,2702,3038,3160,2998,2050,1684,1977,2350,3134,2907,2728,1939,1273,1448,2714,3153,2431,1936,2026,2137,2196,1999,1279,803,1001,1589,1725,1712,1709,1738,2146,2343,2589,2740,2020,1866,1959,2731,3295,2822,2186,2173,2728,2968,2908,2332,1632,2261,2416,3121,3122,2495,1729,1593,1904,2541,2354,1761,1392,1553,1918,1850,1675,1770,1858,1459,1462,1595,1703,1878,1870,1720,1581,1613,1643,1691,1969,1752,1889,1871,1948,2667,2621,1922,1942,1743,1273,1617,2025,1832,1919,1777,1660,1722,1747,1614,1633,1609,1756,1720,1187,1306,1675,1906,1826,2016,2080,1615,1317,1323,1375,1425,1480,1627,1679,1468,1561,1795,1584,1446,1515,1519,1442,1435,1584,1483,1477,1481,1428,1410,1549,1421,1567,1839,1678,1409,1361,1324,1467,1972,1720,1287,1400,1403,1538,1622,1628,1679,2266,2126,1886,1607,1648,1804,1635,1457,1398,1590,1729,1626,1869,1995,2100,2243,2480,2557,2535,2570,2565,2448,1892,1671,1911,2220,2207,2498,2040,1698,1543,1607,1547,1908,2165,2161,1982,2294,2336,1744,1370,1715,1968,1640,1568,1691,1729,2053,2497,2487,2091,2374,2144,1675,1842,2264,2026,2074,2272,2787,2493,2325,2402,2187,2377,2789,2686,2496,2314,2622,2695,2461,2280,1811,1841,2199,2249,1895,2036,2237,1778,1722,1694,1831,1680,1604,2059,2719,2932,3213,2677,1750,1710,2125,2192,1961,1515,1848,1768,1875,2139,2267,2104,1895,2723,2587,1874,1739,2062,1854,1940,2120,1976,1758,1843,1918,2446,3646,3175,2229,2382,2390,2358,2003,1824,2176,3130,2667,3568,4232,3875,3692,3057,2357,2557,2889,2923,2395,2430,3029,2653,2541,3624,4207,4255,4272,3142,1596,1635,2600,2851,3098,2822,2220,1655,1850,2278,1988,1739,1886,1597,1593,1854,1689,1825,2338,1953,2671,2534,2133,2433,2138,1869,2009,2032,1909,1742,2181,2587,2633,2397,1791,1334,1568,1907,2494,2746,2666,2906,2811,2068,1660,1855,1999,1534,1332,1388,2448,2646,2066,1791,1744,1837,2075,1898,1341,1275,2039,1948,1821,2307,2007,1720,1698,1566,1460,1787,2083,2014,2002,1532,1080,1712,2316,2165,2171,1914,1937,1889,1924,1870,1843,2190,2239,1959,1837,2129,2977,2008,1411,1665,2387,2088,1807,1559,1620,1880,2125,1900,2135,2996,2669,2711,2011,1839,2034,2023,1951,2502,2884,2522,1983,1868,1647,1970,2662,1889,2183,2833,2462,2197,2196,2226,2449,2488,2415,1830,1657,1596,2148,3458,3661,2636,2201,2489,2103,2242,2415,2322,2011,1673,1981,2109,1670,1683,1903,1606,1606,1882,1733,1838,1964,1709,1865,2280,2656,3052,2994,3376,3667,3509,3576,3272,3150,3483,3344,3090,3333,3805,3797,2827,2729,3134,3020,2851,2899,2858,2836,3146,3398,3320,3440,3415,3243,3362,3331,3261,3455,3222,3200,3405,2964,2250,2299,2366,2322,2474,2179,2156,1920,1785,1855,1941,1675,1388,1497,1460,1825,2744,3228,3219,3615,3046,2028,1785,2133,2052,1829,2218,2635,2397,2040,2201,2211,3030,3545,2458,2209,2213,2214,2509,2414,2061,2203,2310,2229,2491,2510,1891,2367,2959,2744,2235,2081,1823,2221,3151,2799,2625,3239,3186,3583,3617,3238,3503,3693,3472,3052,2633,2429,2304,2536,3135,2741,1943,2080,2254,2203,2176,2420,2764,2890,2588,2555,2503,2480,2599,3115,3653,3968,4087,3892,3179,2743,2626,2674,2812,2564,2431,2252,2081,2386,2719,3164,3436,3370,2810,2934,3278,3906,4101,3432,2888,3329,3544,2908,2148,3074,3984,3920,3370,3453,3244,2484,2453,2704,2389,2345,2710,2404,1879,1825,2233,2270,2188,2293,2509,2897,3048,2863,2518,2407,2499,2395,2624,2749,2889,3072,3339,3408,3197,3281,3360,3317,3475,3216,2680,2136,1963,1696,1493,1779,2316,2486,2229,1991,1881,1988,1854,1960,2359,2790,2520,2574,2696,3043,3133,2733,2447,2785,2968,2502,2311,2353,2499,2215,1193,1188,1480,1554,1918,1978,2048,1863,1677,1999,2017,2040,2588,2756,2253,2059,2298,1960,2071,2326,2342,2231,1873,2160,2579,2259,2468,2743,2380,1902,2116,2544,2635,2563,2719,2677,2089,2071,2880,3018,2480,2376,1920,1968,2102,1823,1905,2006,2193,2331,2493,2353,1754,1548,1793,1926,1930,1717,2219,2527,2232,1869,2375,2604,2148,1934,2073,2142,2154,2161,2361,2161,2413,2446,2288,2288,2288],[3018,3088,3121,3152,3096,2919,2912,2686,2409,2814,2754,2385,2592,2400,2364,2642,2829,2593,2699,2841,3254,3585,3448,3843,3254,3286,3591,3803,3979,4333,4359,4195,3771,3049,2843,2945,2896,2940,2954,2887,2664,3000,2963,2885,3018,2878,2674,2791,2567,2029,1919,1673,1866,2317,1848,1936,2271,2268,2286,2592,2625,2457,2490,2432,2602,2525,2514,2899,3751,3164,2086,1537,1759,2874,3535,3153,2662,2262,2124,2095,2209,2293,2089,2126,2208,2625,2956,3253,3481,3085,3071,3597,3448,3331,3047,2145,2434,3079,3010,3379,3304,3163,3284,3252,3327,3292,3264,3007,2126,2269,2540,3128,3497,3531,2770,2547,2976,2765,2622,2720,2021,2050,2324,2727,2611,2423,2646,2344,2280,2633,2922,3153,3263,3051,2725,2709,2680,2436,2174,2180,2206,2235,2272,2392,2347,2706,2655,2562,2810,3230,3550,3471,3086,2193,2540,2207,1941,2156,2568,2762,2775,2578,2380,2401,2851,3271,2574,2468,2634,2261,2120,2210,2651,3121,3526,3550,3055,2744,2646,2521,2081,2570,3081,2598,2114,2325,2114,1847,2070,2018,1763,1619,1875,1911,1895,1890,2359,3152,3387,3275,3123,2540,2071,1496,1172,1526,1580,2001,2030,2277,2304,2263,2159,2392,3008,2924,3122,3641,3797,3939,3554,3486,3729,3579,3576,3379,2619,2058,1832,2288,2321,2353,2957,3391,3292,3360,3620,3344,2486,2040,2126,2344,2434,2612,2494,2878,3474,3428,3514,3493,2790,1863,2223,2281,2588,3300,3870,4009,3516,2865,2695,2610,2426,2025,1542,1536,2312,3121,3461,3633,3772,3552,2944,2694,2581,2492,2750,2939,2408,2347,2640,2928,2381,1887,1565,1879,2104,2210,2365,2465,2796,2476,2030,2345,2548,1979,1920,2130,2302,2613,2930,2835,2757,2656,2615,2104,2214,2106,2116,2766,2846,2590,2423,2253,1976,2065,2200,2901,2600,1825,1805,1808,1847,2062,2917,3398,2547,2065,2114,1778,1565,1746,1684,1814,2014,2209,2670,2592,2166,2259,2070,2640,3330,3109,2548,1862,1840,2262,2417,1806,1873,2393,2448,1974,1871,1969,2382,2655,2402,2083,1814,1788,1591,1455,1727,1744,1760,1849,1876,1615,1864,2199,1963,2098,2315,2461,3276,3254,3054,3450,3178,2754,2957,3487,3716,3673,3233,2919,2840,2698,2318,2499,2375,2745,2843,2670,2408,2055,2236,2447,2114,2231,2568,2222,2116,1860,1838,2496,2680,2995,3416,3312,3217,3271,3119,2405,2724,3138,2386,2407,2919,2836,2579,2599,2642,2699,2612,2112,2002,2514,2830,2263,1871,1767,2004,2002,1880,2687,2680,2075,2013,1974,2156,2266,2024,2422,2588,2300,2381,2253,2396,2879,3116,3191,2592,2051,2357,1985,2160,2877,2448,2369,2777,2564,1919,1789,1872,1909,2161,1902,1808,1631,1567,1826,2325,2066,2093,2160,2286,2177,1958,2252,2132,2009,1738,1654,1933,2169,1995,2240,1769,1704,1948,1656,1545,1896,2333,2402,2375,2357,2314,2835,3387,2880,2140,2034,2066,2119,2212,1925,1867,2085,2395,2045,1592,1713,1927,2029,2552,2409,1952,1947,1800,1720,1672,1694,2298,2707,2321,2458,2255,1953,1979,2163,2053,2577,2886,2872,2531,2103,2122,2311,2511,2039,1822,2271,2996,3120,2745,1859,1547,1604,1656,1649,1844,1960,1812,1794,1537,1593,1654,1551,1782,1999,2278,2153,1866,1875,1925,1783,1655,2053,2676,2239,2034,2341,3038,2932,2231,2554,2429,1627,1524,1696,1450,1671,1693,1829,2338,2309,2092,2142,2214,2314,1853,1559,1752,1842,2216,2852,2895,2171,2160,1981,2321,2736,2574,2751,3094,3151,2800,1947,1613,1581,1605,2424,2360,2084,2293,3033,2941,2630,2321,2109,2146,2552,3594,2952,1682,1636,2318,2377,2326,2359,2612,2576,2373,2183,2045,1884,1580,2092,1826,1703,2049,2250,1937,2589,3208,3173,2766,2298,2577,2362,2286,2846,2406,2292,2248,2818,3106,2468,1810,2049,2415,2607,3089,3709,3619,2906,2602,3148,3149,3009,2523,2270,2691,2461,2056,1909,1925,2195,2311,2339,2155,2264,2285,2378,2266,2242,2046,1691,1679,1621,1619,1855,2096,1618,1645,1612,2678,2530,2061,2046,2013,2203,2312,2611,3186,2775,2112,1984,2385,2554,2666,2577,1925,1530,1781,2182,2298,2030,1845,1562,1570,1496,1972,2601,3247,3618,3772,3447,3292,3636,3658,2899,2490,2940,3053,2884,2419,2697,2808,2282,2477,2227,2097,2301,2114,2177,2668,2668,2418,1669,1749,2008,2702,2851,2554,2423,2372,2319,2477,2266,2060,1952,2221,2864,2258,2082,2111,2017,2526,2530,2076,2006,1834,1824,1750,2062,2369,2069,2598,2493,2255,2465,2576,2642,2504,2267,1733,1573,2248,2626,2069,2143,2187,2417,2357,2599,3112,3293,3426,3312,3047,2938,2833,2401,2180,1631,1469,1687,1932,1613,1656,1773,2203,2801,2131,1914,2567,2200,2358,2406,2449,3038,3404,3310,3088,2811,2823,2911,2989,3361,3194,2839,2611,2569,2530,2697,2934,3292,3646,2872,2468,2742,2876,2669,2503,2865,2700,2484,2669,3034,3065,2775,2521,2643,3071,3522,3144,2411,2029,1521,1375,1333,1453,1722,1935,2742,4983,5116,4157,3829,3719,3755,3217,2791,3039,2455,2078,1969,1913,2031,2238,2196,2120,2254,2344,2312,2268,2220,1887,1948,2073,1958,1918,1904,1902,1970,1629,2449,3046,2635,2553,2663,2585,2078,1699,1505,1321,1444,1567,1611,1539,1512,1495,1442,1250,1531,2318,2341,2208,2087,2041,1915,1976,2264,2237,2358,2341,2043,1907,2428,2868,2646,2589,2554,2396,2154,2364,2269,2311,2320,2178,2066,1920,1879,1860,2286,2522,2585,2630,2631,2511,2421,1993,1842,2388,2823,2750,2623,2930,3065,2619,2151,2032,2286,2874,2611,2161,1924,2028,2387,2977,3019,2636,2103,2083,2132,2243,1815,857,521,689,1493,2017,1615,994,1062,1688,2328,2242,2356,2104,1910,1666,2448,3119,2950,2432,2230,2698,2895,2797,2640,1555,1987,2117,2100,1968,1667,1538,2010,2094,1936,2102,1928,1754,1573,1467,2124,2104,1706,1432,1375,1418,1636,1789,1806,1688,1512,1449,1636,1733,1461,1784,1817,1730,1686,1853,2775,2789,2099,2031,1591,1046,1322,2006,2089,2084,2635,2104,1739,1701,1544,1476,1505,1738,1792,1582,1462,1543,1736,1855,1978,2214,1831,1338,1395,1528,1380,1403,1545,1546,1409,1362,1439,1455,2030,1766,1447,1417,1606,1665,1481,1380,1327,1427,1465,1526,1477,1751,1716,1611,1627,1581,1459,1748,2082,1642,1497,1497,1410,1750,1875,1497,1395,1719,1993,2148,1995,1812,1835,1694,1502,1451,1720,2424,1872,1654,1933,1844,1951,2512,2666,2542,2529,2287,2016,1947,1847,2027,1754,1910,1982,1828,1781,1770,1776,1662,1842,2150,1907,1698,2414,2620,2294,2104,1837,2040,1559,1362,1928,2347,2612,2688,2677,2288,2128,1787,1590,1865,2283,2374,2312,2226,2379,2325,2722,3012,2522,2492,2754,2404,2190,2486,2476,2128,2181,2050,1501,1484,1833,2094,1981,1858,1922,1615,1710,2129,2239,2027,1855,2128,2507,2946,2993,2447,1734,1672,2343,2288,1924,1832,2111,1956,1984,2268,2452,2262,2294,2932,2540,2086,1643,1874,1830,2258,2610,2266,1907,1992,1984,2156,2654,2542,2220,2177,2102,2118,1637,1622,2419,2662,2244,3428,4356,4020,3835,2819,1985,2676,2797,2791,2866,3282,3420,2527,2657,3861,4363,4300,4144,3134,1752,1949,2944,2909,2862,2997,2545,1730,1583,2228,2319,2224,2514,2308,1882,2157,1655,1935,2298,1946,2087,1971,2300,2332,2021,2054,2186,2718,2334,1806,2242,2531,2494,2552,2353,1932,1791,1639,1614,2264,2789,2824,2632,2212,1769,1964,2280,1526,1406,1804,2514,2530,1808,1830,2199,1802,1963,1977,1186,1261,1705,1692,2115,2814,2518,2155,1848,1591,1518,1986,2334,2458,2910,2414,1743,2075,2391,1936,1678,1736,1694,1710,1976,1898,1883,2089,1983,1866,1936,2242,2620,1938,1512,1737,2332,2710,2282,1746,1729,1591,2280,2354,2280,2719,2167,2453,2491,2159,1910,1990,2167,2168,1976,2126,1875,1851,1522,1406,1628,1473,2042,2699,2184,1643,1675,2100,2458,2619,2534,1842,1708,1514,1592,2449,2864,2325,2074,2338,2344,2302,2119,2417,1987,1941,1903,1802,1581,1804,1881,1716,1997,1838,1669,2012,1752,1386,1802,2642,2089,2055,2889,3532,3937,3928,3641,3550,3629,3724,3379,2930,2774,3104,3152,3279,3111,3035,3366,3492,3303,3146,3219,3425,3575,3500,3472,3426,3479,3595,3224,2972,2400,1902,2539,3344,2567,1973,2518,2215,2161,2056,2142,2195,1940,1824,1793,1688,1637,2104,2325,1858,2113,2710,2896,2712,3090,2656,2215,2588,2585,2106,1915,2091,2642,2450,1829,2072,2260,2810,3051,2436,2137,2240,2367,2460,2142,1919,1807,1668,1731,1936,2578,2047,2144,2567,2277,1918,1957,2033,2978,3797,3154,3069,3354,2896,2851,3034,3371,3502,3205,3181,3259,2617,1992,1896,2176,2972,2226,1669,1713,2032,2274,1950,2261,3234,3317,3194,2776,2308,2671,2940,3112,3392,3686,3688,3648,3362,2796,2612,3131,3444,2640,2444,2338,2111,2050,2333,2819,3407,3569,3006,2908,3642,4128,3714,2858,2080,3053,3392,3356,2678,3054,3771,3889,3284,2924,2842,2170,1932,2210,2262,2236,1802,1281,1480,1572,1481,1407,2078,2493,2596,3017,3218,3173,3163,2942,2877,2483,2867,2757,3100,3459,3574,3711,3523,3400,3266,3110,3025,2787,2644,2091,1614,1462,1586,2119,2698,2575,2368,2159,2225,2430,2153,2273,1938,2003,2094,2441,2592,2978,3062,2451,2370,2653,2746,2600,2382,2486,2389,2273,1750,1433,1545,1888,2599,2287,1936,2272,2323,2215,2288,2194,2096,2524,2939,3016,2955,2271,2443,2785,2752,2247,1901,2265,2590,2354,2746,2632,2215,2024,2364,2504,2114,1832,2775,3526,2544,2138,2540,2491,2410,2083,2098,1883,1930,2020,2170,2164,2005,2280,2789,2705,1765,1671,2283,2249,2067,2178,2745,2536,1874,1729,2464,2731,2354,2465,2067,2062,2198,2064,2011,1807,1852,1932,2070,1998,2270],[2836,2940,3066,3320,3259,2850,2999,3144,3008,3090,2604,2619,2754,2668,2762,2922,2807,2227,2521,3112,3451,3408,3176,3620,3264,3138,3588,3846,3981,4190,4157,3971,3614,3098,2997,2793,2503,2578,2632,2469,2617,3012,2856,3040,3232,3037,2587,2740,3131,2980,2386,2002,1998,2618,2438,2147,2138,1848,1769,2368,2601,2567,2391,2212,2522,2610,2629,2592,2507,2186,1766,1377,1547,2236,3021,3051,2521,1606,1585,1812,1926,1864,1879,1865,2244,2404,2388,2288,2042,2412,3018,3537,3422,3450,3367,2752,2679,3059,3356,3440,2840,2388,2389,2270,2862,3165,3284,2989,2075,1918,2292,3076,3144,3026,2707,2895,3372,2952,2912,3304,2013,1823,2370,2270,2282,2668,2509,2191,2462,2712,2807,3051,3218,2834,2563,2599,2717,2763,2321,2233,2227,2508,3273,3123,2551,2629,2304,1897,2221,2931,3073,3313,3341,2878,3084,2695,2519,2396,2254,2467,2850,2973,3234,3288,3205,3067,2713,2667,2381,2214,2154,2358,3055,3095,3246,3387,3002,2842,2406,2281,2928,3628,3452,2540,1993,2453,2737,2230,2233,2097,1800,1759,1924,2221,2448,1939,2378,3169,3465,2994,2264,1919,1676,1158,1182,1799,2048,2603,2760,3067,2737,2557,2621,2765,2722,2346,2480,3437,3665,3848,3672,3818,3731,3426,3473,3230,3065,2729,2159,2001,1867,2087,2831,3075,3379,3745,3996,3437,2754,2335,2419,2473,2238,2364,2474,2801,3320,3614,3493,2883,2060,1982,2269,2343,2924,3518,3848,4014,3515,2830,3023,3170,2566,1945,1819,1706,2173,2754,3210,3248,3250,3093,2676,2670,2436,2279,2265,2429,2576,2601,2855,3309,3262,2603,1973,2118,2725,2443,2300,2369,3098,2546,2049,2523,2433,1952,2153,2199,2349,2809,2870,2660,2469,2009,2331,2330,2376,2200,2201,2202,2145,2523,2621,2294,2179,2012,2250,3501,2345,1517,1687,1617,1884,2126,2942,3861,3681,3116,2335,1925,1870,1775,1619,1709,1870,2095,2589,2512,2330,2161,1964,2442,2966,2791,2700,2357,2376,2388,2588,2011,1785,2169,2070,1797,1619,1648,1848,1853,2213,1954,1924,2393,2386,1772,1564,1638,1831,2067,1764,1564,1671,2035,1937,2490,2833,2732,2896,2781,3043,3273,3233,3164,3243,3569,3565,3708,3535,3561,3486,3893,3495,2811,2410,2586,2751,2441,2033,1931,2118,2159,2030,1778,2093,2277,1587,1262,1080,1250,2033,3226,3681,3319,3206,3075,3061,2998,3220,2953,2365,2810,3038,2688,2726,2641,2481,2699,3035,2575,2188,2431,3078,2609,2197,2232,2434,2259,2127,2737,2796,2107,2041,2430,2543,2489,1980,1880,1688,1687,1781,1807,1782,1888,2325,2941,2881,1950,2086,1869,1995,2390,2527,2387,2512,2338,1936,1831,1647,1735,1962,1745,1876,1641,1826,1990,2310,2442,2320,1921,1785,1776,2193,2151,2291,2543,2182,1893,1922,2711,2416,2101,1914,2059,1967,1880,1937,2218,2420,2437,2375,2442,2071,2009,2569,2704,2644,2508,2157,2143,2640,2698,1931,2056,2500,2064,1720,1745,1917,2339,2679,2552,2040,1788,1764,1809,2036,2231,2353,2517,2104,2059,2243,2614,2932,3271,3363,3481,3469,3033,2457,1998,1760,2224,2605,2037,2107,2218,2079,2397,2486,1886,1555,1619,1576,1618,1930,2011,1477,1441,1526,1619,1906,1853,1766,2538,3826,3522,2293,2592,2100,1697,1827,2200,2792,2194,2121,2676,2460,2114,2286,2259,2073,1903,1723,1737,1631,1512,1650,1900,1796,1619,1647,1488,1856,2270,2046,1815,1967,2319,2947,3961,3892,2365,2088,2169,2569,2667,2378,2519,2653,2830,2214,1776,1303,1051,2387,2578,2253,2154,2552,3439,3544,2864,2224,2002,2044,2370,2646,2129,1384,1159,1833,2213,2116,2461,2958,2675,2235,2498,2261,1771,2225,2496,2233,1926,1895,1923,2154,2841,2827,2617,2177,1657,1876,1819,2079,2511,2013,2089,2324,2176,2463,2818,2636,2489,2495,2518,2545,2905,3128,2586,2501,2934,2973,2692,2254,2119,2099,2057,2379,2264,2293,2462,2422,2524,2260,2422,2728,2916,2764,2318,1792,1318,1759,1952,2101,1608,1443,2022,2699,2705,2954,2482,2122,2052,1803,2121,2370,2613,3113,2442,2066,2302,2280,2285,2450,2745,2441,1919,1863,1655,1996,2037,2070,1746,1637,1543,1844,2943,4127,4352,4058,3556,3362,3630,3498,2151,2194,2965,3199,2945,2362,2650,2857,2546,2402,2118,2417,2535,2233,2511,2866,2909,2956,2138,1939,2387,2973,3309,2793,2160,1915,1973,2341,2251,2171,2220,2866,3998,3088,2555,2353,1772,2050,2353,2350,2070,1712,1781,1645,2120,2074,2188,2913,2554,2255,2445,2830,2895,2686,2476,2140,2326,3193,2959,2132,2205,2337,2381,2707,2941,3142,3550,3613,3284,2930,2775,2841,2436,2372,1752,1466,1532,1528,1591,1754,1906,2552,2478,1969,2384,2661,2099,2392,2396,2729,3172,3474,3438,3132,2735,3131,3689,3503,3173,2983,3342,2878,2556,2396,2607,2674,3168,3624,2900,2455,2919,2962,3050,2825,2842,2962,3120,2707,3022,3366,2994,2596,2777,3182,3567,3311,2502,2141,1547,1681,1562,1562,1888,2075,2755,4852,5312,4072,3908,3796,3735,3210,2939,2964,2243,2011,2035,2008,2178,2437,2520,2511,2282,2122,2060,2002,1808,1629,1676,1918,1959,2089,1909,2104,1963,1802,2876,3282,2699,2785,2850,2621,1956,1688,1434,1516,1564,1547,1574,1532,1430,1384,1260,1428,2303,2702,2209,2059,2191,2236,2132,2029,1951,2095,2251,2355,2067,2166,2923,3195,3209,2855,2364,2354,2620,2811,2654,2574,2408,2378,2344,1854,1718,1937,2314,2338,2770,3340,3088,2442,2043,1825,1907,2316,2835,2237,2078,2173,2275,2342,2585,2249,2263,2257,1874,1527,1580,2374,2420,2259,2247,2545,2022,2104,2322,2366,1944,1183,793,1135,1942,2216,1617,845,803,1335,2016,2136,2249,2298,2174,1998,2182,2460,2546,2490,2432,2534,2514,2530,2779,1841,1525,1980,2121,1964,1896,2056,2614,2587,1935,1762,1678,1726,1592,1439,2449,2681,2029,1452,1552,1687,1776,1873,1835,1601,1592,1807,1982,1549,1332,1610,1698,1674,1730,1757,2298,2632,2070,1674,1304,1162,1348,1831,2040,1948,2017,1610,1570,1710,1663,1453,1400,1515,1632,1608,1441,1619,1685,1745,1799,1887,1749,1547,1397,1508,1421,1378,1465,1622,1464,1448,1534,1520,1723,1627,1357,1428,1682,1591,1517,1568,1429,1500,1366,1367,1405,1555,1582,1700,1921,1764,1422,1654,1815,1430,1483,1490,1281,1748,1773,1663,1717,1609,1527,1616,1721,1765,1772,1985,1924,1837,1872,2278,1871,1803,1906,1750,2016,2591,2818,2703,2541,2143,1995,2009,1961,2232,2017,2205,1575,1274,1673,1930,1840,1346,1301,1790,2100,1729,2114,2559,2975,2963,2439,2399,2373,2406,2686,3008,2852,2207,2576,2645,2330,2172,2386,2249,2130,2564,2675,2192,2003,2116,3012,3306,2408,2444,2446,2368,2468,2630,2452,1898,1964,1553,1330,1520,2031,1864,1620,1757,1834,1733,1892,2114,2227,2110,1919,1793,1927,2498,2140,1827,1801,1725,2023,1913,1909,2040,2037,1987,2095,2384,2487,2488,3027,3726,3388,2492,2311,2690,2574,2381,2272,2080,1928,1930,2043,2011,2170,2388,2126,1559,1882,1817,1231,1625,2549,2639,2247,3009,3886,3714,3636,2906,2152,2282,2552,2819,2456,2568,2686,2434,3104,4140,4440,4312,4396,4024,3112,3032,3038,2584,2539,2922,2480,1959,1874,2050,2253,2132,2605,2286,1534,1892,1806,2210,2301,2231,2141,2193,2249,2185,2025,1889,2207,3444,3556,2618,2539,2247,1908,2405,2779,2333,2010,1882,2207,2474,2058,2233,2092,2017,1953,2008,1734,1487,1765,1773,1955,2099,1966,2040,2178,2098,1825,1565,1598,1880,1928,1806,2103,2574,2491,1762,1459,1495,1610,1828,1925,2081,2911,2258,1867,2123,2035,1695,1659,1745,1680,2246,2665,2242,1850,1909,1835,2142,1998,2041,1824,1483,1419,1701,2587,2723,2155,1835,1456,1703,3333,3274,2468,2316,2352,2359,2381,2210,2220,2194,1826,1720,1809,2202,1873,1685,1569,1462,1553,1798,2134,2116,1736,1595,1741,1722,2157,2428,2154,1715,1639,1593,1571,1731,2032,2327,2127,2316,2036,1754,1706,2073,2094,2449,2349,1811,1542,1717,1655,1714,1759,1442,1560,1843,1658,1413,1666,2964,2561,2270,3171,3658,4081,4031,3679,3565,3825,4100,3040,2625,2907,3250,3809,3739,2841,2770,3306,3353,3203,3295,3208,3461,3513,3460,3337,3219,3395,3341,2795,2278,2043,1953,2208,2713,1979,1693,1775,1921,2438,2522,2235,1986,1873,1662,1642,1531,1636,2032,2030,1767,1843,1984,1901,2179,2282,2045,2518,2950,2400,1815,2136,2054,2237,1837,1601,1769,1996,2035,2635,2868,2279,1932,1932,2316,2340,2284,2070,1984,1898,1921,2389,2273,1942,1888,1928,2021,2025,2105,2357,3057,3009,3060,2801,2081,1878,2564,3151,3339,2904,2952,2956,2524,2222,2060,2169,2468,1620,1581,1902,1901,1766,1853,2675,3326,3466,3238,2393,2433,2836,2723,2918,3318,3345,3224,3462,3062,2745,2940,3190,3308,2396,2490,2631,2385,2143,2197,2470,3197,3520,3107,3232,3886,3899,3600,2458,1834,2446,2997,3209,2966,3141,3429,3418,2863,2374,2279,1935,1961,1888,2114,1792,1422,1348,1677,1876,1691,1811,2427,2692,2575,2770,2952,2988,3120,3134,3045,3065,3164,3087,3493,3886,4039,4168,4070,3596,3373,2996,2146,2081,2479,2163,1620,1494,1721,2049,2349,2353,2273,2551,2756,2436,2376,2199,1811,2019,2127,2691,2613,2427,2205,1914,2371,2235,2315,2350,2304,2192,2006,2215,1989,1301,1329,1931,2242,2115,1985,2347,2599,2217,2308,1908,1814,2056,2461,2929,2964,2785,2647,2443,2245,1844,2091,2249,2533,1935,2122,2327,2029,1818,1891,2268,2104,1460,1627,2234,2036,2166,2043,2367,2662,2523,2624,2692,2621,2641,3009,2641,2132,1886,1945,2112,1927,1881,1769,1951,1900,2359,2631,2083,1641,2010,2337,2199,2374,2282,1468,1623,1854,2054,1770,1533,1825,1885,1687,1636,2091],[2836,3027,3350,3582,3121,2971,3340,3661,3595,3486,2863,2752,2910,2929,2770,2501,2529,1995,2551,2922,3105,2742,2677,2942,2852,3018,3442,3702,3840,3940,3882,3803,3579,3200,2648,2502,2336,2613,2766,2489,2729,3022,2956,2921,2998,3299,3090,3032,3442,3317,2681,1716,1397,2721,3063,2253,2030,1753,1800,2097,2404,2680,2642,2728,2623,2225,2250,2077,1512,1540,1670,1705,1746,1469,1808,2306,1974,1289,1350,1062,1201,1260,1121,1518,2220,2486,2609,2264,2179,2495,3040,3182,3326,3726,3776,3377,3125,3334,3629,3628,2939,1931,1626,1788,2995,3248,3083,2609,2108,2055,2240,1883,1709,2311,2924,3186,3487,3156,2978,3129,2153,1876,2157,1724,1831,2621,2442,1814,2144,2407,2833,3010,2828,2600,2568,2886,3171,3252,3018,2520,1937,2199,2855,2899,2828,2841,2714,2164,1994,2579,3146,3340,3188,3083,2710,2521,2349,2209,2820,2745,2794,2728,2361,2589,2940,2925,2769,2635,2473,2675,2636,2718,3420,3018,3027,2996,2774,2470,2173,2369,2931,3225,2836,2280,1865,1958,2341,2090,2300,2221,1938,1963,2173,2320,2007,1980,2153,2651,2864,2074,1369,1745,1599,1214,1283,1922,2328,3381,4001,3439,2746,2955,3288,3032,2591,2172,1959,2735,3500,3720,3503,3559,3650,3332,2950,2877,3654,3454,2256,1809,1644,2380,2955,2623,2996,3749,3482,2835,3143,3188,3108,3138,2552,1880,2530,2754,2698,2883,3052,3342,2784,2125,1990,2473,3292,3764,3878,3781,3037,2938,3061,3393,2614,2314,2006,2048,2928,3428,3460,3037,2780,2499,2416,2662,2191,1774,1849,2193,2266,2453,2888,2932,2658,2722,2345,1913,1836,2090,2360,2336,2909,2655,1902,2128,2540,2844,2868,2467,2540,2988,3250,3002,2186,1855,2015,2171,2626,2664,2740,2978,2874,2856,2320,1721,1611,1625,2046,3262,2165,1505,1652,1705,1998,2070,2436,3194,3647,3337,2467,2353,2467,1917,1721,2271,2472,2386,2383,2348,2318,2271,2109,2654,2400,2266,2836,3057,2908,2185,1879,1751,1786,2159,2193,1696,1550,1820,1815,1834,2323,2137,2720,3559,3052,1986,1856,2081,2069,2086,1880,2004,1834,1957,2458,3431,2945,2667,2701,3051,3493,3642,3562,3494,3586,3928,3573,3616,3541,3745,3891,4028,3849,3499,3142,2846,2618,2019,1812,1913,2260,2518,2214,1938,2418,2129,1465,1296,998,1085,2099,3243,3633,3318,3317,3316,3188,2929,2929,2722,2393,2492,2620,2510,2504,2600,2382,2315,2894,3297,3050,2905,2929,2406,1922,1941,2052,1889,2164,3128,2887,2414,2166,2147,2784,2562,2038,2051,1804,1622,1839,2013,1970,2005,2436,3063,3112,2025,1867,1944,2044,2422,2729,2178,1929,2166,2389,1834,1902,1953,1814,1958,2030,1965,1865,2065,2541,2856,2339,1906,2048,2210,2344,2168,2630,2481,2104,1708,1628,2533,2653,2148,2004,2028,2279,2137,2258,2764,3084,3183,3052,3045,2367,2425,2502,2790,3645,3660,3060,2405,2404,2347,1895,2558,2386,2169,1906,1670,1882,2066,1931,1976,1794,1643,1825,2110,2366,2686,2346,2089,1974,2310,3002,3603,4096,4312,3646,3680,3196,2075,1809,1898,2102,2394,2533,2073,2132,2494,2168,1885,1969,1740,1626,1625,1519,1838,1720,1755,2063,1915,1598,1999,2281,1997,1830,2472,3930,3863,2499,3123,2593,1858,1620,1712,2153,1990,2028,2469,2278,2259,2167,2050,2102,2217,1956,1974,2017,1779,1814,1899,1583,1376,1902,2299,2068,1911,2185,1865,2248,2564,2980,4100,4004,2723,2086,2170,2555,2482,2379,2392,2391,2327,2132,1983,1107,1332,2094,2086,2113,2396,3033,3492,3756,2934,1798,2019,2223,2379,2287,2120,1909,1627,1940,2381,1854,1546,1936,2078,2464,2820,2932,2375,2306,2245,2184,1923,1949,1953,2214,2775,2944,2699,2114,2053,2100,1916,2102,2130,2093,2490,2504,2064,2016,2182,2096,1933,2081,2414,2219,2765,2996,2549,2242,2243,2294,2395,2266,2007,2056,2256,2219,2254,2235,2267,2246,2370,2209,2406,2463,2278,2429,2077,1461,1353,2622,2588,2117,1737,2009,2442,2796,3163,2785,2033,2061,1963,1958,2825,3205,2832,2338,2459,2688,2236,1808,2333,2742,2934,2844,2213,2214,1786,1904,2237,2316,2409,1773,1693,2319,3348,4131,4308,4188,3763,3493,3408,3145,1786,1996,2802,2963,2531,2073,2719,3101,2538,2165,2109,2740,3376,3375,3151,3560,3860,3596,2445,1914,2373,2916,2918,2632,2423,2123,2179,2400,2303,2371,2546,2836,3018,2520,2263,1786,1448,1800,2336,2212,1850,1954,2214,2278,2636,2380,2359,2514,2386,2185,2238,2594,2724,3079,3226,2787,2547,2777,2251,2121,2178,2020,2441,3130,3419,3571,3515,3349,3268,3309,3107,2917,2354,1902,1795,1786,1528,1497,1738,1968,2559,2952,2567,2409,2131,2091,2422,2439,2997,3410,3471,3784,4141,3868,3199,3928,3868,3650,3587,3487,3752,3259,2599,2397,2753,2807,3131,3856,3566,2988,3352,3260,3116,3094,3024,3118,3421,3450,3574,3616,3188,3063,3484,3640,3857,3277,2568,2254,1494,1388,1354,1450,1752,2157,2921,4596,5260,3879,3891,3925,3927,3136,2736,2436,2122,1914,1884,1899,2127,2483,2642,2664,2507,2425,2185,2086,2174,2025,1701,1484,1801,2132,1958,2080,1994,2227,3308,3567,3215,3218,3151,2855,1983,1682,1709,1616,1599,1685,1589,1489,1386,1284,1234,1848,2576,2418,2187,2032,2055,2176,2253,2173,2391,2747,2393,1989,1779,2024,2390,2695,2923,2757,2626,2832,2915,2831,2734,2474,2099,2017,1959,1804,1592,2036,2379,2545,2765,2817,2545,2371,2052,1859,1798,2258,2720,2208,2073,1750,1829,2039,2437,2668,2802,2213,1924,1793,1761,2474,2181,1886,1969,2031,1858,2122,2476,2409,2166,1936,1764,1842,1737,1904,1941,1381,1156,1629,1870,2019,2020,1976,2094,2186,2163,2163,2035,2128,2279,2250,2188,2099,2154,2132,1650,1852,2151,1798,1806,1919,2106,2055,1741,1664,1431,1346,1432,1607,2041,2759,2385,1503,1627,1825,1815,1858,1802,1654,1501,1528,1327,1380,1664,1736,1690,1879,2047,1787,1980,2652,2543,1869,1459,1416,1613,1733,1833,1948,1830,1582,1526,1570,1878,1708,1488,1426,1288,1414,1656,1628,1516,1478,1744,1792,1709,1956,2019,1704,1749,1610,1698,1680,1627,1602,1539,1710,2047,1866,1437,1514,1616,1583,1567,1577,1559,1502,1322,1328,1371,1454,1597,1794,1969,1582,1395,1566,1425,1376,1658,1365,1264,1628,1583,1526,1666,1589,1294,1303,1621,1656,1708,2334,2105,1838,1832,1782,1707,1890,2075,2153,2427,2554,2545,2612,2627,2292,2388,2298,2075,2069,2056,1808,1290,1290,1756,2162,1786,1566,1533,2026,2265,1438,1355,2040,3019,3410,2753,2742,3132,2933,2842,3186,2664,2067,2291,2338,2384,3112,3276,2299,1917,2322,2289,2297,2088,1933,2613,3016,3061,2967,2159,2046,2351,2674,2476,1922,1963,1261,1570,1720,1910,1882,1863,1905,1816,1697,1935,2170,2045,2003,1830,1857,1950,2138,2019,2136,2067,1868,2101,1950,2188,2354,1680,1866,2246,2589,2423,2398,2890,2906,2871,3089,3329,2714,2065,2009,1963,1856,1905,2414,2590,2683,3039,3404,2572,1981,2430,2177,1741,2467,3152,2872,2224,3045,3264,2946,3097,3050,2661,2849,3217,3214,2579,2250,2370,2403,3164,3787,4099,4156,4116,4062,3349,3175,3228,2730,2792,2788,2171,1816,1913,1910,1991,2070,2253,2280,2191,2331,2365,1881,1943,2201,2319,2287,2086,2113,1944,1660,1983,2779,3699,3218,2423,2055,2135,2566,2652,2395,2059,1975,2507,2323,1976,2583,2437,2310,2494,2345,1813,1678,1749,1836,2359,2601,2618,2138,1780,1954,1686,1616,1985,2243,2031,1542,1642,2034,2011,1584,1588,1902,1992,1845,1889,1932,1867,1720,1763,1884,2010,1863,1965,2248,1967,2565,2647,2295,1967,1955,1865,1949,1962,2145,2051,1547,1584,2003,2313,1978,1943,1650,1481,2032,2760,2576,2159,2117,2292,3021,2809,2302,2972,2711,2314,1958,1870,2003,1751,1677,1704,1715,1709,2032,2495,2188,1987,2099,1857,1598,1421,2077,2412,2329,2396,2180,1553,1333,1217,1877,2055,2011,1692,1531,1626,1752,1859,2270,2519,2025,1568,1584,1569,1624,1594,1578,1509,1611,1579,1511,1865,3238,3053,2256,3061,3577,3767,3674,3606,3732,4077,3759,2971,2810,3095,3451,3607,3436,2873,2883,3298,3277,3305,3355,3106,3130,3421,3442,3293,3293,3384,3316,2775,2537,2733,2220,2035,1866,1665,1831,1824,1987,2446,2110,1677,1996,2182,1548,1431,1441,1579,1646,1607,1497,1641,1560,1411,1402,1476,1877,2610,2183,1775,1741,2091,2094,2340,2118,1678,1632,1874,2118,2483,2386,1966,2038,2169,2083,2460,2427,2555,2419,2023,1808,1988,2385,2444,2260,1886,1905,1928,2096,1912,2432,2835,2743,2740,2282,2104,2636,2762,2938,2607,2539,2710,2566,2040,2047,2208,2036,1958,2409,2371,1908,1845,2010,2373,2949,3407,2665,2175,2577,3044,2834,2950,3338,2675,2581,3257,2867,2909,2973,2952,2571,1938,1856,1898,2251,2585,2298,2595,3406,3567,3184,3874,3934,3517,3389,2349,1920,2311,3129,3428,2931,2735,2972,3197,2724,2421,2190,2050,2413,2364,2398,2342,2321,2465,2424,2007,1752,2084,2371,2631,2769,2852,2836,2759,2636,2986,3078,2764,2806,3118,3234,3827,3938,4144,4193,3761,3494,3388,2459,2096,2280,2220,2254,2213,2179,2073,2475,2368,2189,2419,2879,2589,2272,2048,2010,2067,2358,2744,2663,2491,2104,1963,1743,1794,1975,1801,1876,1978,1939,1845,1675,1508,1582,1576,1668,2100,2094,2665,2665,2445,2471,2249,2046,1927,1708,1466,1562,2098,2220,2046,1921,1779,2036,2245,2372,1915,2026,2028,1882,1738,1837,2165,2188,1573,1237,1672,2088,2305,1874,2022,2379,2466,2438,2702,2653,2906,3143,2835,2522,2033,1917,1874,2098,1768,1466,1578,1964,2652,2942,2752,2046,1923,2046,2096,2065,1494,1282,1555,1779,2001,1841,1952,2268,2114,1935,1956,2432],[2656,2557,3124,3538,3134,2963,3140,3580,3738,3462,3017,2968,2924,2622,2383,2406,2441,2305,2873,3270,2875,2236,2303,2539,2919,3205,3327,3706,3794,3596,3703,3774,3602,3152,2631,2564,2454,2497,2653,2734,2908,2923,2858,2801,2829,3126,3069,3055,3422,3429,2875,1821,1502,2840,3283,2386,2472,2124,2213,2226,2303,2647,2774,2898,2691,2386,2441,2182,1777,1925,1951,1978,1990,1718,1897,2213,1794,1612,1587,1507,1502,1292,1251,1562,1886,2140,2389,2100,2061,2311,3078,3421,3285,3468,3725,3392,3294,3514,3895,3932,2935,1799,1482,1953,3284,3541,3307,2700,2159,2462,2558,1599,1487,2340,3356,3283,3523,3480,3359,3209,2635,1985,1866,2075,2353,2698,2337,1409,1969,2512,2577,3006,2843,2608,2709,2967,2901,3132,3361,3062,2791,2520,2768,3028,2940,3316,3183,3040,2780,2875,3295,3256,3255,3089,2526,2734,2108,2070,2790,2957,2922,2406,1467,1728,2596,2598,2404,2678,2662,2950,2978,2795,3251,3076,3028,2733,2389,1856,1515,1851,2754,2853,2477,2114,1830,1663,1918,2226,2492,2229,1998,1931,2228,2249,2332,2393,2238,2428,2008,1544,1532,1651,1398,1527,1370,1610,2543,3497,3906,3798,3458,3891,4051,3561,2489,2015,1803,2773,3742,3839,3630,3419,3370,3278,3138,2866,2531,2398,1575,1776,2077,2411,2224,2227,2633,3088,2723,2219,2719,3072,4071,4301,3904,2561,2065,1957,2154,2290,2184,1880,1759,1694,2042,2878,3548,3794,3704,3186,2545,2774,2878,3035,2532,2564,2432,2807,3994,4120,4094,3603,2884,2857,2820,3021,2008,1502,2221,2745,2437,2253,2174,2162,1921,1997,2175,2107,2044,2396,2413,2544,2863,2298,1749,2095,2306,2382,2452,2476,2332,3011,2807,2331,1920,2245,2430,2445,2692,2521,2391,2923,2811,2263,1908,1930,1778,1664,1881,2140,1681,1561,1548,1509,1952,2027,1799,2132,3089,3048,2165,2500,2564,2050,2050,2480,2585,2374,2232,2136,2003,2356,2449,2479,1964,2191,3043,3486,3006,2054,1629,1851,2088,2358,2401,2339,2125,1777,1627,2004,2168,2335,3088,3199,2023,1366,2286,2875,2357,2268,2273,2250,2065,2004,2249,2535,3033,3309,3108,3492,3638,3643,3477,3522,3831,3869,3461,3218,3343,3662,3730,3705,3583,3493,3460,3316,3093,2564,1801,1846,2358,2431,2222,2298,2266,1877,1856,2034,1968,2230,2497,3207,3362,3194,3259,3405,3404,2915,2541,2814,2746,2642,2845,2456,2200,2622,2457,2267,2589,3020,2930,2797,2536,2357,2137,1987,2035,2132,2442,2967,2814,2545,2486,2526,2924,2613,2147,1942,1782,1881,1951,2231,2458,1936,2225,3129,3288,2206,1704,2018,2039,2244,2467,2184,2118,2522,2591,2119,2282,2309,1975,1943,1983,2138,2355,2654,3068,2888,1811,1841,2525,2863,2057,2327,2994,2423,1797,1677,1836,2245,2251,2237,2366,2156,2047,1878,1886,2593,3210,3306,3444,3638,3068,3141,3469,3646,3989,3952,3653,3041,2201,2035,2254,2396,2275,2003,1583,1588,1885,1877,1643,1598,1600,1565,1959,2101,2377,2711,2335,1783,1796,2271,2899,3271,4075,4353,3110,3645,3442,2250,1890,2225,2500,2606,2796,2273,1854,2244,2343,1959,1754,1637,1875,1838,1763,1832,1668,2319,3007,2383,2031,2341,2245,2031,1810,1904,2996,3213,2668,3053,2431,1650,1367,1198,1852,2073,1606,1991,2594,2467,1982,2236,2363,2433,2150,2411,2402,2006,2238,2546,2222,1835,2599,2563,1809,2026,2565,2392,2509,2467,2721,3854,3973,2855,2164,1929,2277,2427,2533,2509,2259,2355,2175,1929,1896,1998,2156,2556,2799,3387,3991,3451,3273,2255,1816,2491,2612,2434,2590,2945,2872,2342,2213,2679,2036,1632,1816,1853,2026,2399,2568,2668,2486,2379,2347,1959,1807,1969,1985,2441,2967,2910,2907,2899,2945,2091,1952,2161,2104,2500,2299,1776,1588,1669,1932,1336,1461,2011,1892,2052,2546,2581,1942,1668,1733,1963,1748,1819,2045,2207,1941,1829,1593,1616,1821,2149,2240,2296,2534,2046,2302,2591,2574,2532,2736,2305,2074,2125,2137,2084,2254,2301,2243,2385,2342,2341,2584,3231,3401,2579,1953,2375,2669,2151,1905,2397,2712,2723,2664,2143,1897,1967,2047,2029,2115,2397,2137,2040,2663,3539,4619,4319,3874,3587,3618,3408,2820,2069,2444,2899,2578,2485,2633,3213,3609,2729,2072,2250,3518,4109,3722,3066,3301,3850,3706,2632,2014,2475,2605,2552,2702,2397,2221,2990,3063,2530,2624,2366,2076,2117,2251,2418,2003,1433,1479,1808,1851,1492,1470,1836,2390,2733,2218,1745,2263,2435,1967,1851,2770,3030,3186,3583,2829,2452,2302,1938,2331,2531,2226,2440,3161,3683,3778,3550,3076,3232,3351,2866,2736,2313,2127,2952,2973,2200,2046,1962,2376,2856,2857,3090,3143,2706,2791,2777,2579,3001,3453,3750,3918,4157,4356,4319,4509,3850,3819,3894,3352,3474,3283,2278,2259,2534,2425,2551,3160,3162,3062,3415,3389,2951,3217,3033,3088,3427,3349,3781,3792,3190,3186,3243,3440,3813,3399,2941,2276,1474,1243,1292,1448,1693,2170,2903,3817,4175,3687,3815,3894,3840,2986,2871,2697,1965,1847,1936,1974,2041,2400,2566,2532,2734,2554,2256,2211,2370,1989,1629,1412,1598,1936,1826,2160,2055,2562,3323,2956,3108,3271,3298,3198,2481,1886,1797,1679,1914,2031,1744,1572,1513,1566,1875,2030,2165,2179,2210,2181,2182,2276,2194,2268,2662,3106,2674,2011,1982,1891,2019,2413,2709,2730,2699,2684,2675,2612,2618,2169,1963,2013,1945,1824,1830,2375,2544,2514,2622,2385,1944,2005,1980,1921,1844,2453,2570,2287,2020,1827,1836,2025,2376,2737,2658,2129,1731,1315,1683,2194,1902,1959,2172,2029,1941,2017,2189,2244,1916,1338,1399,1857,1731,1850,2122,1821,1681,1460,1347,1525,1512,1535,1674,2376,2820,2630,1957,1659,2046,2084,1925,1854,1866,2167,1889,1542,1864,1890,1655,1724,1732,1525,1533,1707,1504,1564,1815,1720,1809,2105,2082,1875,1697,1833,1966,1782,1762,1674,1446,1297,1433,1775,1783,1584,1729,2487,2802,2012,1995,2470,2684,2173,1823,1713,1473,1449,1554,1735,1938,1686,1374,1365,1605,1761,1732,1616,1271,1381,1779,1918,1705,1488,1764,1779,1856,1983,1799,1753,1850,1700,1577,1515,1744,1819,1433,1739,2097,1793,1489,1550,1364,1629,1705,1488,1567,1570,1363,1260,1395,1522,1375,1491,1609,1439,1381,1512,1452,1407,1600,1492,1438,1521,1597,1710,2047,1927,1452,1313,1539,1957,2398,2587,2102,1642,1578,1790,1852,1756,2098,2483,2571,2304,2536,2509,2364,2164,2357,2446,2029,1659,1594,1312,1345,1735,2296,2009,2229,2785,2777,2910,2735,1897,1702,2292,2590,2402,2277,2867,3103,2524,2587,2905,2429,2296,2278,2018,2366,3317,3462,2743,2214,2319,2162,2191,1931,1896,1968,2473,3164,2885,1921,1838,2320,2373,1924,1927,2023,1647,1976,1892,1969,2270,2172,1918,1772,1780,2028,2282,1935,1856,1660,1742,1947,1998,2013,1925,1925,2165,2051,1915,2208,2485,1873,2246,2558,2700,2140,2145,2608,2560,2212,2577,2554,1981,1787,2091,2342,2465,2468,3220,2901,2484,2260,2692,2503,2443,2962,2744,2330,3218,3949,4152,3598,3240,3408,2808,2786,3008,2952,2939,2799,2788,2546,2260,2120,1918,1860,2264,2950,2468,2460,3042,2778,2368,2381,2482,2588,2382,1957,1653,1459,1821,1967,2025,2052,2426,2614,3025,2386,1644,2079,2536,2673,2412,2092,2370,2314,2493,2598,2666,3351,3658,3123,2456,2586,2331,1958,2711,2655,2524,2949,2501,2531,2856,2482,2396,2734,2635,2095,1732,1705,2119,2055,2242,2244,1786,1690,1792,1471,1409,1658,1916,1717,1426,1581,1943,1691,1522,1584,2234,2335,2142,2286,2072,1791,1967,1613,1838,2493,2624,2963,2898,1929,1859,2633,2754,2658,2646,2259,1873,1955,2127,2157,1917,2172,2269,1752,1712,1986,1756,1777,1886,1817,1891,2130,2318,2335,2535,1813,2059,3081,3124,2903,2074,1712,1860,1848,1940,1939,2033,1930,2280,2738,2383,1920,1564,1645,1786,1601,1825,2136,2310,2348,2031,1559,1379,1364,1600,1843,1765,1567,1781,1980,2057,1953,1896,2083,1852,1631,1607,1827,1904,1868,1713,1499,1573,1723,1649,2135,3429,3337,2178,2774,3387,3522,3599,3576,3499,3402,3231,3193,2794,2873,3420,3417,3426,3522,3667,3595,3461,3475,3490,3572,3435,3382,3337,3151,3197,3282,3231,2829,2536,2465,2267,1790,1542,1618,1801,1744,2115,2558,2191,2321,2317,2121,1897,1568,1521,1623,1715,1620,1557,1572,1549,1449,1321,1458,1676,2309,1826,1607,1804,2000,2352,2357,1862,1576,1689,1859,1898,2117,2026,1992,2434,2729,2259,2222,2329,2376,2091,2113,2427,2843,2709,2715,2697,2078,1548,1671,1739,1745,1883,2247,2732,2830,2408,1987,2593,2452,2193,1861,2121,2843,2887,2304,2398,2465,2331,2476,2255,1918,1848,2125,2270,2648,3008,3072,2529,2530,2691,2755,2779,3016,2821,2539,2954,3464,2912,2773,2585,2407,2097,1874,1681,1853,3061,3518,2943,2884,3563,3269,3240,3890,3811,3514,2935,2054,2081,2513,2988,3104,2606,1937,2358,3100,3274,2610,2600,2345,2409,2480,2456,2657,2548,2155,1964,1627,1748,2167,2274,2496,2767,2881,2966,2843,2486,2558,2658,2382,2679,2895,2674,2763,3234,3685,3242,3174,3750,3883,3163,2451,2030,2126,2836,2636,2513,2263,2374,2314,2267,2253,2750,2398,1802,1711,1869,2089,2059,1959,2091,2124,2071,2006,1943,1902,1794,1709,1749,1707,1516,1564,1688,1908,1964,1646,1601,1886,1659,2026,2216,2288,2425,2175,2174,2252,1736,1383,1844,2365,2297,2035,1930,1760,1684,2175,2420,2388,2176,2083,2110,1831,2193,2341,2357,2169,1625,2192,2846,2614,2244,2038,2035,2187,2468,2777,2075,2241,2434,2336,1904,1976,1971,2096,2051,1647,1526,1599,2092,2891,3042,2791,2891,2578,2044,2157,2012,1848,1844,2025,2474,2531,2232,1975,2229,2767,2567,1968,1868],[2296,2499,2898,3552,3572,3095,3056,3376,3338,3165,2819,2854,2834,2473,2217,2872,2921,2661,3068,3349,2740,2146,2252,2254,2424,2590,3300,3847,3768,3454,3463,3566,3708,3748,3399,2845,2458,2583,2755,2797,2710,2556,2471,2453,2389,2662,2797,2965,3406,3460,3128,2480,1713,2736,3440,3140,3023,3012,3122,3232,3216,2801,2571,3000,3239,3436,3240,2410,1778,1746,1874,1822,1902,2533,2266,1941,1819,1792,2368,2664,2205,1665,1142,1248,1518,1888,2114,1986,2069,2360,2977,3427,3312,3557,3849,3381,3207,3562,3835,3958,2792,1758,1429,2257,3203,3327,3186,2818,2358,2402,2379,1819,1715,2662,3503,3305,3535,3690,3646,3509,3153,2275,1606,2428,2994,2558,2012,1427,1841,1984,2037,2548,2661,2603,2953,2922,2544,3024,3317,3371,4082,3630,3265,3089,3154,3205,2932,3230,2962,2457,2485,2481,2742,2873,3006,3098,2718,2331,2810,3015,3062,2866,2192,1932,2254,2635,2624,2613,2620,2865,2890,2717,2909,2976,2951,2796,2591,2211,1654,1814,3038,2828,2810,2630,2366,1947,1756,2446,2380,2103,2093,2138,2308,2419,2308,2059,2150,2365,2066,1772,1844,1723,1279,1158,1374,1980,3166,4018,3497,3717,3752,3332,3892,3760,3071,2509,2342,2922,3299,3692,3898,3551,3505,3326,3496,3479,2833,2301,1670,1782,2319,2477,2518,2723,2318,2159,2240,2017,2165,2446,3868,4536,4583,2985,1810,2074,2151,2100,1856,1390,1357,1469,2053,2510,3127,3664,3474,2657,2238,2112,2492,3378,3362,2940,2648,3110,3770,3962,3642,3231,2923,3203,2643,2201,1894,1785,2731,3174,2645,2193,1943,1885,1632,1815,2198,2105,1908,2178,2202,2138,2224,1963,2054,2621,2263,1959,2200,2321,2045,2522,2204,1816,1824,2015,2438,2725,2540,2487,2568,2817,2149,2136,1925,1870,1552,1563,1862,2174,2398,1995,1848,1883,2020,1757,1627,1977,2420,2321,2142,2342,2204,2039,2272,2436,2239,2247,2264,2096,2002,2439,2858,2533,1998,1755,1844,1898,1766,1691,1886,1814,1876,2205,2358,2677,2194,1755,1814,1971,2048,2295,2396,2272,1825,1911,2505,3240,2922,2729,2264,2177,2391,2186,2018,1936,2244,2774,3096,3212,3162,3384,3296,3517,3630,3083,2674,2663,2654,3214,3485,3758,3684,3361,3314,3116,3229,2894,2047,2335,2784,2674,2588,2473,2126,1914,2272,2357,3022,3252,3078,3463,3491,3260,3248,3386,3510,2913,2234,2440,2558,2647,2595,2417,2418,2662,2304,2102,2640,3262,3374,2783,2418,2622,2443,2221,2380,2259,2233,2615,2636,2490,2233,2306,2812,2699,2146,1803,1876,2303,2069,2102,2281,1873,2244,3120,3429,2478,1682,1946,1995,2181,2800,2846,2570,2639,2412,2739,2523,2228,1899,1706,1747,2315,3109,3714,3603,2663,1858,2211,2830,2265,1906,2497,2798,2254,1887,1947,2248,2526,2352,2464,2320,1903,1750,1865,1816,2111,2441,2817,3407,3664,3404,3776,3946,3767,3807,3671,3230,2990,2765,2354,2310,2342,2287,2020,1762,1684,1798,2032,1855,1649,1644,1403,1996,2025,2136,2767,2612,2056,1919,2253,2608,2938,3961,4566,3978,3940,3767,3017,2491,2541,2622,2663,2842,2493,1857,1699,1734,1588,1774,2004,2100,1896,1842,1766,1634,1981,2215,1991,2362,1965,1845,2042,1730,2046,2302,2423,2503,2666,1980,1612,1544,1640,2496,2277,1592,1620,2194,2908,2634,2354,2106,1772,1899,2526,2599,2156,1938,2113,2635,2404,2371,2111,1626,2320,2788,2236,2035,2454,2365,2723,2851,2556,2252,2031,2536,2306,2459,2371,2220,2089,1817,2123,2293,2216,2554,3112,3134,3342,4018,3754,3248,2292,2270,2227,2286,2480,2382,2680,2814,2243,2413,2590,2580,1973,2379,2735,2069,1311,1483,2058,2086,2041,2363,2363,2176,1924,2015,2298,2373,2600,2861,2950,2578,1844,2067,2316,2191,2332,2178,2382,2160,2458,2454,1653,1619,1814,2066,2548,2497,1931,1666,1902,1953,1990,2128,2088,2164,2238,1832,1565,1788,1992,2168,2622,2354,1951,2584,2512,2597,2475,2458,2613,2232,1881,2148,2300,1666,1388,1870,2540,2852,2640,2302,2864,3306,3206,2698,2024,2114,2474,2376,2188,2067,1693,2195,2216,2184,2176,2032,2322,2536,2223,1919,2407,3144,2871,2959,3563,4536,4011,4177,4171,3428,2796,2206,1908,2819,3378,3220,3251,2510,2648,3212,2561,2310,2376,2685,2293,2306,2398,2297,3123,3449,2648,1903,2048,2424,3073,2840,2295,2348,3147,3184,2707,2481,2133,1755,1852,2786,2654,2334,1560,1399,1666,1870,1514,1164,1737,2522,2630,2043,1873,2524,2249,2215,1970,2938,3001,2718,2734,2688,2725,2352,2338,2808,3130,2840,2496,2791,3594,3863,3732,3484,3369,3448,2964,2081,1689,2243,3294,2984,2984,2512,2160,2552,2602,2666,3109,3198,3098,3060,2789,2776,3428,3782,3384,3552,3852,4212,4384,4178,3720,3836,3483,2723,3458,3753,2839,2728,3012,2646,2625,3288,3342,3134,3292,3168,2909,3175,3269,3362,3311,3474,3839,3720,3173,2614,2568,2836,3256,3338,2853,2126,1489,1361,1503,1701,1810,2113,2444,2872,2985,3028,3072,3211,3332,2893,2944,2640,2007,1976,2177,2241,2037,2040,2070,2150,2644,2597,2425,2511,2335,2252,2163,1764,1760,1975,1798,2062,1874,2444,2921,2624,2546,2722,2862,2955,2706,1989,1717,1686,1852,1829,1443,1533,1617,1937,2218,2148,2079,2166,2226,2220,2311,2421,2149,2381,2632,2658,2485,2622,2409,2156,2323,2414,2420,2337,2320,2243,2505,2557,2382,1909,1872,1852,1729,1735,1956,2096,2226,2338,2324,2292,2034,2045,2029,2128,2154,2357,2343,2186,2007,1982,2139,2266,2533,2678,2177,2049,2270,1780,2086,2279,2009,2042,2171,2198,1991,2014,2078,2084,1419,668,486,1360,1937,1908,1313,946,1266,1127,990,1713,2002,2022,2155,2696,3077,2820,2626,2916,2902,2595,2576,2366,1908,1852,1511,1071,1409,2402,2055,1953,1793,1626,1506,1564,1610,1708,1700,1492,1560,1561,1708,1680,1553,1775,1725,1789,2063,1882,1556,1497,1817,1876,1573,1709,2814,3535,3588,2510,2196,2232,2574,2490,2157,1812,1781,1847,1759,1854,1919,1814,1461,1432,1599,1656,1707,1738,1531,1571,1696,1838,1781,1438,1358,1519,1898,1795,1578,1644,1727,1574,1461,1538,1886,2102,1626,1664,1904,1700,1544,1493,1521,1459,1425,1686,1782,1451,1429,1384,1446,1512,1390,1383,1347,1379,1441,1508,1315,1293,1510,1576,1575,1627,1433,1704,2118,1964,1622,1530,1582,1826,2277,2132,1709,1664,1599,1951,1979,1899,2031,2414,2088,1713,2198,2154,2074,2397,2132,1930,1956,1815,2254,1928,1851,2003,2054,1882,2542,3585,3542,3081,2753,2597,2337,2456,2495,2393,2374,3116,3290,2587,2125,2454,2676,2382,2072,1795,2121,2326,2646,2240,2051,1732,2163,2176,2121,2152,2056,2282,2493,2500,1649,1834,2418,2678,2210,2223,2165,2080,2007,1638,1637,1728,1732,1577,1801,1992,1851,1801,1900,1647,1470,1716,1754,1618,1747,1859,2358,2557,1923,1808,1824,2092,2418,2729,2696,2467,2159,2137,2255,2155,2193,2110,2114,2133,2213,2254,2552,2442,2642,2840,2263,1875,2007,2117,2093,2530,3206,2463,2103,2718,3241,3495,2735,2584,3470,2930,2140,2337,2946,3260,2845,2702,2564,2356,2404,2994,2629,2193,2524,2156,1668,1882,1988,1899,2182,2142,2080,1942,1814,1821,1931,2065,2046,2025,2271,2026,1851,1913,1502,1924,2852,3254,3460,2878,2046,2272,2057,2894,3104,2336,2360,2890,2952,2631,2966,2279,1962,2668,3301,3078,3006,2763,2221,2381,2476,2342,2744,2603,1903,1954,2013,2317,2222,2082,1985,1982,1776,1758,1670,1648,1659,1746,1685,1601,1796,1876,1617,1592,2123,2458,2338,2502,3043,2730,2025,1839,1864,1769,2370,2855,2495,1926,1831,1977,2102,2612,3400,3141,2912,2680,2230,1880,1841,1964,2046,1859,1684,2053,2148,1903,1974,1688,1697,1707,1940,2394,2186,1800,1559,1722,2226,2536,2414,1744,1648,1802,1829,2241,2330,1882,1625,1731,1700,1935,1861,1699,1872,1786,1754,1878,1615,1256,1749,1648,1483,1466,1737,1750,1900,1721,1646,1887,1871,2138,2019,1965,1999,1752,1540,1523,2107,2577,2643,2267,1869,1618,1650,1465,1675,2607,3713,2690,2547,3104,3500,3466,3084,2997,3155,3495,3564,3392,3391,3427,3392,3473,3596,3853,3773,3776,3736,3710,3755,3442,3396,3334,3155,3144,3145,2972,2599,2056,2253,2837,2408,1848,1925,1876,1848,2413,2523,2597,2450,1959,1824,1832,1618,1543,1652,1890,1730,1412,1551,1626,1465,1398,1797,2248,2499,1954,1804,1842,1904,1973,1826,1775,1798,1964,2175,2786,2653,2293,2387,3208,3393,2698,2149,2068,2021,1809,2212,2661,2736,2187,2470,3145,2661,1909,1874,2105,1913,1965,2876,2846,2679,2957,2330,2376,2324,2262,2463,2724,2709,2344,2212,2327,2529,2752,2631,2285,2094,2176,2475,2501,3049,4026,3951,3166,2788,2969,2695,2950,2820,2398,3054,3106,3086,2706,2852,2430,2136,2438,2338,1894,2680,3686,3550,3185,2769,2895,2438,2705,3513,3701,3747,3098,2067,2269,2385,3012,3310,2469,1613,2645,3339,3382,2810,2924,2742,2209,2207,2373,2489,2348,1867,1725,1457,1956,2413,2542,2418,2308,2330,2602,2942,2934,3000,2886,2757,3187,2801,2036,1745,2657,3044,3067,3564,3206,2692,2427,2036,1739,1879,2268,2185,2626,2711,2602,2404,1953,2154,2388,1803,1450,1676,1769,1606,1527,1402,1628,1899,2024,1878,1882,1661,1699,1996,1674,1548,1492,1581,1685,1864,1893,1659,1642,1555,1541,1871,2005,2070,2238,2160,1994,1803,1776,1908,2167,2135,2724,2846,2301,1909,2231,2533,2350,2219,1933,2301,2294,2023,1970,1613,1643,1865,2099,3124,3463,2906,2294,1910,1722,1655,1996,2179,1542,1482,1935,1920,1821,1813,1872,2059,2004,1909,1521,1654,2076,2553,2489,2115,2930,2780,1999,1949,1942,1915,2404,3198,3541,3315,2465,1827,2137,2813,2700,2048,1855],[2390,2562,3008,3077,2979,3444,3532,3448,3206,2955,2519,2657,2744,2917,2640,2943,2939,2705,2417,2290,2324,2030,2335,2322,2241,2512,3325,3548,3339,3181,3487,3736,3892,3971,3778,2959,2449,2620,2746,2969,2829,2708,2641,2583,2677,2863,2624,2636,3564,3874,3377,2951,2316,2930,3431,3383,3441,3608,3696,3662,3764,3340,2714,3011,3703,3743,3537,2866,1947,1735,1832,1780,1909,2780,2644,2082,2166,1963,2331,3431,2931,2058,1305,1407,1637,1980,1794,1503,1868,2370,2994,3444,3441,3596,3836,3369,3031,3641,3644,3756,2874,2279,2463,2828,3298,3298,3248,2959,2504,2545,2209,2277,2168,2487,3005,3319,3576,3608,3598,3746,3497,2443,1709,2712,3100,2499,1901,1432,1979,2026,1970,2447,2579,2613,3090,3250,3340,3267,2896,2240,2800,3186,3177,3052,3169,2897,2829,3197,2703,2585,2488,2022,2015,2370,2729,2979,3022,2945,3442,3425,3159,2909,2654,2238,2234,2610,2641,2290,2518,2812,2821,2264,2065,2554,2741,2608,2561,2404,2252,2300,2647,2812,3272,3083,2663,2234,2059,2289,2522,2481,2450,2837,2988,2686,2514,2384,2408,2309,2486,2680,2737,2344,1619,1682,2440,3029,3591,3943,3649,3439,2684,1952,2193,2662,3567,3387,2796,2894,3044,3156,3332,3333,3514,3526,3569,3575,3651,3157,2350,2077,2277,2441,2974,3116,2114,2263,2729,2766,2598,2388,3213,4134,3773,2359,2179,2585,2580,2406,2698,2266,2146,1809,1969,2244,2565,3054,2940,2120,1393,1191,2213,3572,3619,2964,2519,2787,3218,3315,2984,3414,3522,3014,2235,2013,1975,1737,2302,2565,2403,2224,2388,1827,1690,2085,2312,1921,1596,1907,2030,1657,2316,2409,2365,2512,2276,2102,1908,1809,1886,2001,2099,2182,1860,1882,2602,2670,2664,2532,2361,2468,2460,2310,2067,1813,1531,1903,2066,2265,2188,1648,2231,2445,2314,1889,1757,1864,1957,2013,2187,2210,2075,2120,1976,1710,2296,2770,3169,2810,2713,3086,3428,3099,2151,1565,1412,1612,1815,1493,1875,1879,2187,2313,2303,2229,1946,1597,1685,1979,2084,2073,2243,2830,2482,2431,2823,3181,2896,2880,2397,2072,2610,2461,2202,2063,2332,2736,3326,3243,2973,3064,2984,3242,3132,2260,2512,3132,2931,3414,3427,3637,3441,3274,3207,3085,3296,2812,2080,2333,2678,3222,3094,2810,2390,1977,2386,2701,3063,2993,3316,3576,3549,3465,3261,3317,3149,2499,2152,2568,2886,2923,2410,2009,2250,2306,2110,2160,2297,2805,3349,2700,2457,2685,2488,1966,2569,2579,2102,2084,2390,2745,2420,2341,2886,2605,2072,2255,2138,2210,2021,2125,2208,2003,2050,2517,3024,2619,1817,2040,2043,2431,2796,3088,3214,2761,2258,2224,2242,2084,2062,2301,2217,2723,3335,3651,3174,2207,2035,2066,2319,1798,2029,2529,2378,2568,2635,2482,2427,2481,2643,2427,1863,1523,1787,2099,2041,1918,2192,2641,3052,3050,3285,3530,3217,3268,3527,3396,2998,2900,3036,2922,2517,2126,2087,1935,1489,1517,1824,2204,2259,2122,2111,1783,2100,2290,2177,2648,2667,2408,2376,2577,2818,3232,4233,4925,4664,3998,3505,2939,2442,2390,2518,2763,3087,2686,2029,1694,1592,1681,1787,2052,2049,1923,1842,1681,1796,1854,1882,1864,1885,1656,1549,1620,1642,2020,2034,1820,2077,2266,1763,1587,1452,1996,2784,2192,1625,1523,1942,2786,2634,2140,1757,1944,2856,2589,2082,1809,1664,1676,2471,2143,1860,1629,1794,2554,2701,2020,1845,2568,2290,2288,2408,2645,2215,1761,1951,2012,1990,1917,1946,1696,1991,2503,2171,2254,2678,3125,3142,2937,3006,3006,2830,2742,2771,2056,1938,2408,2457,2534,2701,2534,2280,2281,2585,2387,2917,3169,2243,1520,2011,2215,1792,2022,2942,2983,2820,2733,2087,1960,2490,2497,1810,1933,2145,2344,2409,2178,2056,2082,2276,2485,2321,2568,2432,2241,2701,2634,2891,3297,2580,2013,1957,2316,2484,2317,2743,2764,2775,2752,2135,2119,2395,2450,2697,3010,2615,2320,2559,2322,2115,1771,2097,2332,2008,2342,2655,2597,2052,1942,2268,2979,2988,2470,2227,2508,2476,2057,1971,2127,2126,2212,2643,2397,2298,1660,1735,1587,1841,1953,1812,2299,2598,2481,2957,3476,4009,3389,2873,2730,3002,3048,3717,3829,2889,2298,2081,2457,3655,3640,3250,2690,2346,2271,2399,2273,2424,2464,2128,1438,1455,1995,2477,2958,2932,2483,2276,1944,2117,3033,3007,2512,2346,2489,2720,2496,2596,2084,1728,1563,1893,2105,2134,1780,1562,1532,2082,2298,2024,2153,2257,2244,2000,2339,2521,2017,2139,2185,2555,2368,1826,1791,2287,2383,2177,2678,3355,3417,3054,3211,2626,2967,3648,3808,3734,3516,3130,2277,1758,1587,1769,2509,3462,2850,2047,2369,2732,2854,3233,3349,3098,3172,3065,2959,3213,3382,3385,3573,3810,4290,4473,4223,3994,3636,3604,3855,3707,4082,4096,3179,3142,3501,2708,2902,3488,3348,3124,3199,3111,2904,3094,3669,3817,3597,3982,3743,3237,3075,2373,2478,2866,3062,2767,2150,1947,1464,1363,1446,1512,1982,2020,2058,2178,2169,2180,2215,2285,2255,2622,2963,2256,2182,2145,2310,2376,2257,2046,1866,1861,2128,2242,2311,2184,2026,2534,2846,2519,2068,1880,1938,1938,1672,1950,2234,2244,2277,2306,2254,2278,2207,1939,1665,1564,1565,1621,1449,1531,1846,2005,2052,2132,2097,2141,2177,2201,2310,2420,2143,2099,2087,2183,2641,3061,2734,2329,2130,2221,2417,2437,2319,2460,2457,2285,2265,2067,1895,1867,1801,1854,1882,1970,2328,2286,1824,1763,1705,1780,1926,2009,2144,2204,2109,2107,2090,2001,2172,2236,2388,2546,2186,2243,2851,2501,2338,2056,1781,1859,2174,2444,2121,2036,2100,2043,1283,696,579,1399,2029,1578,695,480,717,1060,1531,2323,2413,2524,2451,2470,2702,3095,3501,3671,3365,3017,3211,3061,2502,1909,1481,1472,1415,2055,2031,1828,1699,1480,1326,1585,1864,1599,1266,1374,1452,1466,1498,1421,1719,1851,1821,2307,2087,1625,1678,1583,1634,1552,1940,3099,3339,2375,2967,2748,1954,1819,2049,2310,2359,1873,1898,1671,2019,2079,2008,1910,1632,1540,1676,1485,1409,1605,1689,1731,1392,1518,1597,1481,1383,1418,1671,1625,1547,1510,1609,1802,1723,1546,1932,2097,1848,1682,1684,1575,1460,1411,1567,1632,1465,1574,1589,1426,1454,1498,1511,1462,1426,1452,1404,1360,1368,1377,1321,1315,1395,1458,1543,1634,1388,1498,1610,1750,1637,1926,1975,1777,1892,1987,2129,1892,1734,2269,2150,2166,1993,2008,1815,1715,1756,1520,1645,2123,1803,2132,2619,2821,2864,2341,2463,2075,1658,1715,2727,3746,3549,3375,3172,2742,2629,2800,2541,2251,2481,3024,3124,2678,2030,2430,3295,2611,1931,1641,1921,2043,2007,1829,1909,2027,2263,2145,2156,2210,2362,2746,2596,2157,1282,1541,1693,2121,2280,2232,2108,1906,1454,1461,1609,1838,2004,1830,1505,1693,1799,1863,1924,1954,1859,1898,1899,1723,1662,1842,2035,2131,2481,2284,1824,2013,2275,2408,2663,2905,2769,2457,2047,2158,2254,2115,2229,2344,2305,2343,2397,2431,2922,2994,2270,1948,2512,2866,2510,2669,3227,2452,2039,2308,1912,1920,2105,2419,2713,2377,1890,2235,2643,3499,3429,3267,2747,2327,2281,3037,3135,2648,2322,2192,2501,2574,2191,2126,2338,2329,2197,1827,1663,2236,2742,2623,2324,2304,2289,2042,1875,1800,1930,2012,2730,3254,3331,3107,2519,2575,2634,2679,2487,1940,1707,2115,2499,2934,3211,2503,2119,2699,3636,3909,3982,3265,2395,2529,2833,3106,3095,2243,1634,1824,2073,2286,2388,2143,2317,2295,1855,1801,2127,1903,1609,1664,1852,1908,2084,1915,1673,1695,2028,2373,2511,2775,3338,3272,2510,2055,1998,2145,2192,2370,1807,1413,1813,2206,2135,2308,3062,3272,3244,2963,2922,2396,1978,1933,1955,2020,2014,2018,1694,1449,1645,2050,2535,2017,1869,2260,2004,1751,1609,1496,1487,1717,1792,1376,1625,1670,1709,2476,2256,1747,1737,1788,1698,1634,1207,1158,1573,1643,1591,1676,1896,1671,1783,1614,1431,1560,1627,1642,1991,2164,1898,1733,1936,2785,2410,2370,2281,1988,1597,1959,2728,3044,2930,2836,2732,2072,1766,1573,1375,1781,3500,2864,2518,2670,2683,2691,2919,3354,3586,3768,3731,3897,3742,3504,3522,3540,3603,3752,3767,3905,3951,3818,3738,3436,3538,3492,3486,3443,3190,2877,2199,1590,2049,2858,2684,2170,1902,1625,1811,2251,2302,2471,2519,2320,2431,2243,1859,2018,2204,2271,1865,1503,1676,1566,1625,1908,2210,2473,2410,2093,1863,1779,1875,1870,1915,1805,1984,2546,3526,3917,3507,2807,2569,2783,2448,2034,1807,1844,1818,1769,1996,2261,2075,2132,2083,2652,3510,3311,2707,2478,2181,2727,3646,2844,2790,3379,2598,2026,1983,2288,2797,2969,2115,1720,2212,2783,3199,2821,2306,2190,2123,2540,2579,2575,3619,4372,4352,4148,3283,3189,2964,3449,2425,2498,3384,3342,3175,2887,2474,2053,2284,2497,2254,2301,3255,3642,3233,3028,3013,2662,2447,3027,3553,3321,3463,3098,2541,2150,2208,2797,2844,2061,2260,3310,3473,2814,2374,2654,2948,2402,2374,2120,2044,2077,1770,1531,1610,2107,2223,2312,2229,2221,2677,2595,2748,2984,3191,3067,3320,3212,2998,2167,1737,2133,2159,2853,3091,2266,2117,2233,1981,1756,1829,1835,2148,3198,3411,3144,2494,1563,1643,1925,1867,1793,1844,1557,1591,1588,1197,1344,1725,1831,2061,2156,1775,1802,2348,1809,2005,1821,1535,1510,1638,1742,1804,1748,1683,1800,1850,1816,1820,2184,2388,2071,2211,1831,1845,1889,2137,2944,2976,2303,2089,2554,2850,2639,2303,1928,2338,2541,2706,2044,1594,1948,2265,2830,3289,2846,2555,2195,2014,2374,2083,1914,1792,1662,1594,1706,1896,1831,1647,1712,1836,1779,1945,1605,1901,2060,2235,2502,2299,2423,2163,1642,1735,2113,1970,2232,2942,3445,3322,2191,1835,1837,2198,2525,2466,2062],[2568,2651,3016,2724,3052,3739,3516,3472,3160,2827,2581,2668,2744,2752,2801,3082,3043,2927,2320,1606,1875,2067,2127,2196,2254,3040,3440,3399,3372,3354,3393,3581,3602,3510,3394,2850,2416,2586,2814,3077,2891,2563,2583,2912,3203,2957,2289,2491,3672,4035,3698,3416,2574,2529,2764,2966,3362,3436,3514,3706,3804,3479,3043,3224,3460,2554,2394,2414,1894,1790,1810,1864,2302,3130,3372,2901,2989,2250,2347,2687,1874,1698,1734,1658,1719,1946,1772,1558,2024,2285,3037,3472,3263,3406,3545,3160,3043,3420,3266,3328,3016,2668,2864,2652,2863,3021,3397,2988,2447,2518,2287,2446,2381,2219,2809,3281,3244,3299,3208,2795,2961,2545,2228,2850,2997,2644,1840,1642,2176,2082,2057,2587,2609,2685,2770,2986,3374,3051,2828,2691,2639,2807,2876,2877,3054,2746,2791,2630,2188,2253,2252,1908,1940,1904,1844,2355,2677,2944,3040,2731,2754,2431,2601,2320,2307,2429,2406,2492,2592,2398,2630,2632,2303,2617,2808,2684,2603,2551,2655,2805,2673,2611,2875,2425,2277,2452,1903,1892,2675,2406,2367,2836,2984,2428,2316,2686,2868,2723,2935,3451,3834,3549,2592,1967,2580,2851,3570,3593,3356,3385,2447,1664,1679,2709,3814,3688,2842,2585,2535,2380,2600,3366,3899,3749,3515,3607,3826,3675,3016,2450,2392,2512,2625,2792,2404,2464,2615,2515,2508,2264,2337,2710,2527,2375,2418,2549,2592,2369,3219,2778,2077,2155,2309,2669,2950,2817,2758,2589,1720,1443,2863,3567,3615,2381,2385,3073,3386,3388,3248,3654,3868,3525,3186,2450,2272,2364,2562,2697,2292,2206,2164,1772,1682,1962,2068,1795,1616,1858,2164,1735,2656,3043,2741,2479,3034,2951,2055,1741,1924,2110,2122,2133,1820,1957,2677,2677,2563,2246,2061,2075,2228,2381,2258,2019,1976,2065,1904,2023,2043,1825,2237,2374,2241,1901,1666,1746,2030,2300,2713,2689,2498,2195,1829,1865,3066,3128,2730,2832,2996,2995,3129,3212,2788,2564,2228,1866,1842,1670,1968,1952,2068,2288,2009,1815,1886,1753,2094,2214,2156,1920,2216,3276,2984,2324,2733,3103,2690,3491,3816,2619,2298,2929,2588,2086,2117,2965,3659,3453,3303,3078,2725,3054,3077,2612,3059,3462,3320,3629,3444,2591,1886,2514,2852,2753,3074,2713,2226,2480,2176,3023,3024,2769,2580,2086,2557,3416,3463,3217,3178,3066,3242,3331,3206,3581,3391,2669,2486,3006,3053,2736,2151,1852,2407,2365,2002,2075,2320,2509,2531,2431,2231,2591,2407,2503,3064,2708,2358,2466,2258,2589,2221,1866,2327,2331,2108,1954,1556,1566,2173,2319,1855,1789,1733,1976,2655,2628,1879,2224,2060,2404,2632,3299,3791,3385,2689,2433,2332,1974,2278,2282,2240,2269,2590,2258,1856,1838,2004,2319,2662,2570,2618,2394,2014,2488,2580,2497,2580,2466,2343,2036,1765,1936,2645,2921,2561,2292,1952,2170,2732,2447,2299,2995,3212,3219,3323,3194,3191,3212,2873,3043,3340,2714,2034,2005,1967,1953,1719,2030,2427,2109,2106,1897,1830,2254,1884,2356,2476,2539,2623,2692,2764,2979,3426,3630,3398,2827,2567,2424,2378,2628,3231,2828,2179,2114,1913,1968,1710,1874,2305,2304,2149,2327,2131,1958,1857,1864,1996,1864,1654,1825,1748,1526,1930,2320,1890,1642,1904,1981,1510,1480,1446,2043,2246,1814,1614,1570,1772,2322,2450,2047,1742,2480,2822,2395,1808,2046,2098,2198,2402,1712,1608,1722,2269,2852,2420,2002,1932,2049,1911,1791,2552,3025,2260,1586,1929,2460,2224,2198,1982,1746,1947,2349,2405,2131,2564,2967,2956,2723,2688,2740,2626,2645,2496,2035,2048,2303,2526,2895,3455,2978,2216,2798,3283,3261,3483,3017,2202,2164,2271,1880,1795,2145,2722,2731,2866,2745,2509,2779,3083,2570,1654,1724,1925,2260,2214,2082,2065,2245,2780,3147,2570,2242,2459,2286,2459,2376,2608,2566,2742,2587,2460,2440,2522,2541,2961,3296,3259,3171,2762,2939,2964,2689,2517,2542,2467,2107,1895,1724,1478,1517,2028,2425,2419,2325,2326,2319,2204,2447,2612,2662,2557,2263,1895,1763,1720,1972,2156,2292,2286,2209,2377,2252,2517,2075,1711,1842,2194,2281,2254,2419,2353,2097,3060,3141,3374,2902,2081,2397,2729,2191,2194,2160,1938,2036,2061,1968,2089,2532,2519,2112,2408,2035,2035,2381,2514,2260,1838,1430,1530,2043,2622,2724,2568,2391,2508,2343,2577,3305,3705,3348,2310,2117,2641,2270,2238,1989,1870,1591,1986,2617,2521,2323,2337,2004,2551,2928,2712,2464,2328,2476,2048,2173,1778,1603,1937,2270,3054,2791,2009,2119,2462,2474,2746,3288,3675,3209,2686,3352,3120,2613,2911,3516,3379,2872,2372,2007,1806,1668,1919,2150,2160,1764,2023,2415,2744,2980,3128,3366,3052,3196,2927,2995,3537,3309,3102,3473,3861,4028,3948,3797,4038,4069,3706,3993,3753,3896,4051,3066,3143,2820,2241,2692,3265,3151,2836,3169,3366,3295,3530,3651,3772,3714,3649,3554,2951,2675,2697,3077,3460,3507,3171,2490,1894,1549,1386,1334,1423,1784,1927,2010,2040,2082,2147,2119,2233,2364,2784,3174,2648,2356,2244,2312,2342,2280,2138,1972,1854,1859,1930,1937,1974,2003,2449,2824,2334,1974,1737,1847,1792,1654,1865,2004,1998,2063,1943,1845,1886,1867,1883,1860,1736,1597,1705,1868,2028,2115,1976,1930,2040,2074,2161,2322,2458,2292,2081,1745,1916,2477,3146,3690,3316,2611,2608,2453,2263,2138,2481,2534,2766,2852,2596,2450,2360,2038,1854,1919,1999,1806,1706,1706,1734,1596,1544,1466,1428,1390,1467,1623,1688,1852,2253,2569,2312,2524,2395,2341,2370,2510,2483,2307,2443,2452,2307,2160,1874,2150,2231,2241,2156,1995,1980,1831,1482,1421,1868,2088,1665,908,624,757,1077,1942,2830,2697,2484,2729,3531,4096,4296,4364,4176,3460,2718,2765,2536,2220,2255,1849,2181,2005,1842,1852,1686,1462,1407,1639,2072,2304,1830,1396,1372,1573,1628,1534,1792,2486,2486,2474,2823,2041,1489,1742,1643,1530,1853,2852,3179,2517,2658,2967,2339,1654,1642,1928,2080,2109,1826,1876,2129,2143,1539,1448,1820,1782,1603,1453,1402,1459,1515,1544,1728,1708,1826,1629,1400,1277,1500,1633,1516,1527,1444,1801,2232,1804,1240,1588,1851,1776,1593,1463,1366,1375,1510,1638,1763,1592,1468,1311,1399,1575,1578,1514,1716,1781,1508,1355,1322,1294,1411,1377,1454,1633,1642,1871,1608,1399,1544,2246,2264,1864,2068,1660,1655,1635,1824,2530,2340,2219,2301,1939,1918,2082,1983,1837,1600,1609,2066,1932,1799,2003,2806,3272,3395,2802,2181,1591,1323,1807,2260,3163,3635,3380,3312,2993,2297,2807,3349,2458,1946,2625,2885,2588,2319,2085,2312,2701,2502,2379,1872,2162,2614,2455,2494,2756,2612,2156,2182,2083,2122,2431,2741,2645,2098,1561,1500,1588,1874,2017,1932,2001,1881,1730,1946,2123,2058,2239,1728,1098,1448,1862,1889,1791,1959,2144,2138,1937,1710,1622,1946,2018,2500,3321,2988,2558,2144,1896,2310,2867,3108,2692,2360,2074,2200,2115,1915,1553,2259,2406,2308,2336,2440,2873,3150,2728,2084,2105,2253,2154,2186,2113,1762,1916,2055,1537,1915,2725,2468,2137,1945,1906,2403,2290,2997,3278,3220,2477,2351,3029,3421,2985,2237,1989,1885,2082,2204,1959,1854,2047,2154,2159,1744,1331,1581,2086,2253,2099,2556,2677,2294,1799,1726,1738,1368,2192,2885,2642,2281,2176,2431,2313,2544,2919,2637,2236,2204,2701,3164,3027,2600,2520,3220,4096,4161,4520,3516,2900,3000,2610,2847,2407,1861,1757,2149,2220,2033,2184,2418,2228,2157,2054,2028,2425,2066,1587,1788,2407,2342,2026,1832,1763,1904,2068,2270,2272,2165,2810,3019,2929,2343,2162,2216,2281,2068,1454,1116,1676,2223,2210,2424,2498,2830,3061,2951,3078,2279,1916,2161,1945,1815,1996,1952,1628,1179,1207,1844,2404,2152,1795,1960,1998,1847,1556,1417,1471,1800,2126,1954,2042,1818,1628,1849,1853,1652,1659,1756,1908,1936,1273,1171,1460,1762,1871,2005,2072,2169,2223,1990,1774,1813,1603,1677,2193,2372,1920,1716,2153,3066,3262,2899,2751,2626,2332,2776,3372,3408,3465,3550,3602,2622,1880,1580,1522,1728,3065,2895,1990,2063,2048,2597,3272,3500,3598,3609,3713,3930,3875,3661,3631,3698,3674,3714,3781,3951,4017,3738,3405,3493,3376,3190,3405,3530,2955,2324,1886,1997,2484,2290,2142,2097,1601,1374,1603,2080,2747,2746,2473,2533,2807,2855,2896,3160,2784,2040,1761,1701,1597,1730,1713,1823,1846,1821,2114,2041,1770,1823,1896,1898,2082,1948,2424,3039,3883,4408,4209,3284,2555,2216,1929,1781,1671,1736,1592,1906,1952,1936,1761,2049,2068,1982,2774,2962,2547,2248,2880,3060,2275,1935,1908,2155,2170,2038,2007,1919,2408,2430,1629,1585,1950,2955,3263,2496,2522,2269,2092,2824,2703,2346,2979,3916,4384,4212,3659,3172,2806,3255,2824,2665,2968,3429,3006,2263,2214,2273,2210,2111,2482,2614,2625,2604,2674,2776,2647,2397,2569,3042,3462,3108,3077,2675,2757,2175,2250,2174,1957,2321,2932,3064,2814,2207,1912,2240,2585,2287,2301,2156,2482,2300,1681,1463,1777,1692,1504,2023,2278,2351,2792,2624,2832,2874,2900,2942,3319,3155,3073,2929,2405,1855,1425,1698,1872,1745,1942,2166,1921,2086,2223,2098,2485,3128,3497,3278,2824,2120,1788,1960,2010,1888,1736,2127,2165,2134,2286,2168,1758,1762,2185,2557,2648,2230,2569,2569,2309,2077,1881,1764,1888,1758,1675,1953,1951,1781,1710,1702,1576,1742,1864,1728,1941,1977,2177,2219,2185,2201,2128,1746,1749,2711,3019,2898,2010,1816,2212,2964,2950,2066,1933,2102,2421,3155,2341,1820,2004,1906,2186,3362,3462,2737,2043,2005,1831,2003,2165,2326,2631,1898,1813,1849,1864,1821,2120,2009,2055,2215,2105,2136,1962,1748,1699,2306,2285,2134,2577,3204,3263,2302,1465,1462,2063,2558,2615,1980],[2924,3286,3399,3293,3749,3764,3422,3203,3083,2635,2125,2147,2370,2671,2878,2713,2853,2834,2188,1575,2134,2859,2667,2269,2618,3388,3676,3573,3436,3446,3530,3507,3343,3311,3009,2751,2489,2768,2972,3088,2830,2452,2721,3147,3165,2797,2254,2835,3503,2786,2834,3417,2141,1344,1635,2476,3394,3239,3352,3648,3572,3309,3133,3019,2543,2320,2536,2267,1771,1670,1861,1986,2207,2836,3460,3472,3275,2542,2570,2153,1531,1514,1759,1810,1875,2146,1992,1502,2142,2490,2965,3203,3131,3141,3199,3133,3288,3195,2979,3240,2787,2028,2024,1603,1807,2149,2830,3075,2462,2205,2236,2231,1911,1512,2192,3107,3231,3154,2877,1675,2397,2965,2563,2657,2823,2564,2385,2311,2210,2085,2414,2535,2385,2578,2818,2877,2998,3046,3019,2583,2574,2824,2664,2846,3061,3307,3282,2580,1814,2119,2102,1919,2009,1685,1542,1933,2068,2131,2511,2475,3033,2450,2226,2305,2480,2630,2511,2591,2231,1698,1951,2519,2766,3252,3436,3063,2857,2779,3046,2965,2971,2844,2309,2376,3061,2987,2058,1877,2751,2759,2601,2386,2534,2655,2774,3020,3357,3219,2824,3516,3705,3975,3739,2932,2771,2600,3150,3765,3929,3861,3065,1905,1617,2108,2798,3119,2723,2509,2149,2039,2292,3086,3721,3805,3595,3438,3707,3693,3335,3022,2566,2510,2568,2730,2862,2632,2867,3096,2698,2199,2138,2125,2313,3110,2586,2131,1837,1631,2599,2533,2211,2479,2503,2461,2635,2335,2657,3042,3023,2544,3306,3750,3175,1953,2677,3703,3680,3329,3051,3011,3103,3119,3284,3110,2976,2953,2541,2420,2351,1826,1584,1671,1577,1719,1809,1674,1570,1766,1952,1937,2596,2941,2639,2297,2454,2465,1870,1530,2302,2825,2406,2135,1929,2170,2340,2351,2273,1913,1902,1839,2155,2890,2612,2260,2286,2295,2287,2226,1862,2269,2833,2700,2307,1836,1512,1686,1939,2537,2881,2898,2556,1707,1308,1519,2965,3807,3574,3181,2325,2867,3305,3500,3539,3588,3196,2645,2532,2266,2026,2082,2081,1872,1774,1994,1887,1996,2275,2115,1978,1733,1902,2762,3188,2812,2761,2773,2976,4083,4049,3576,3086,3522,2570,2385,2451,2730,3267,3627,3761,3124,2773,3259,3360,3000,3094,3187,3110,3332,3435,2136,1417,1987,1956,2122,2522,2220,2423,2478,2278,2647,2820,3074,3119,2717,3035,3495,3415,3244,2978,2735,2801,2990,3038,2897,2830,2708,2541,2883,2830,2701,2514,2051,2471,2148,1891,2163,2777,3411,3355,2479,1992,2380,3032,3355,2897,2404,2689,2759,2509,2663,2065,1531,1505,2017,2095,1859,1644,1851,2813,2946,2417,2005,1653,1863,2402,2588,1894,2038,1979,2159,3163,3920,3710,3287,3300,3172,2587,2229,2253,1831,1870,2033,2280,2092,1896,1902,2154,2246,2281,2457,2584,2406,2387,2534,2109,1934,1955,1880,2091,2286,2662,2994,2994,2779,2568,2364,2445,2170,2205,2246,2104,2409,2788,2850,3190,3411,3520,3180,2611,2996,3574,3122,2366,2003,2069,2030,1558,1519,1851,2000,1926,1606,1709,1978,1765,2236,2265,2297,2640,2600,2397,2475,2385,2325,2346,2006,2065,2297,2544,2630,2913,2181,1533,2057,2447,2264,1756,2003,2656,2459,2244,2735,2461,2469,2254,1900,1795,1644,1653,1766,1800,1612,1755,1728,1700,1641,1711,1656,1600,1951,2014,2108,2164,1962,1653,1526,1596,1795,1887,2093,2204,2377,2530,2564,2078,2492,2928,3189,2685,1862,1798,2402,3020,2729,2052,1989,1871,2191,1802,1622,2341,2523,2084,1710,1888,2028,1975,2467,2295,1711,1682,1973,2149,2048,2595,3086,2923,2894,3195,2886,2754,2620,2370,2121,2029,1955,2199,2779,2800,2498,3084,3368,2622,2652,3285,3427,2996,2845,2403,2337,2945,2724,2337,2372,2571,2493,2537,2834,3075,2480,1948,2004,2009,2801,2604,2730,2390,1868,2619,3016,2238,2104,2369,1645,1645,2390,2314,1803,1437,1270,1960,2354,2315,2339,2590,2919,3078,3034,2737,2640,2738,2315,1801,1748,1952,1886,1637,1436,1866,2397,1948,2101,2738,2520,2596,2545,2344,2281,2272,2144,1852,1611,1527,1554,1431,1535,1754,2121,1965,1569,1617,1861,2210,2096,2060,2094,1895,1919,2359,2401,2191,1947,2392,2404,2381,2263,2075,2459,2170,1763,1901,2113,1920,2077,2081,2006,2090,2270,2243,2266,2093,1751,1701,1962,2243,2137,1960,1913,2497,2976,3021,3006,2943,3175,3494,3775,4025,3936,3872,3504,2584,2422,2656,2499,2338,1991,1898,1893,2617,3194,2608,2387,2561,2334,2653,2842,2575,2518,2296,2193,1963,1670,1218,2076,2636,2798,3651,3295,2665,2698,2887,3494,3686,3482,3665,3221,2753,3073,3312,3031,2421,2614,2673,2696,2458,2244,1798,1759,2083,2229,1929,2200,2494,2131,2608,2850,2952,3429,3337,3432,3152,3075,3544,3549,3418,3550,3516,3189,3510,3616,4140,4485,3940,3710,3799,3908,4004,3011,2944,3231,2799,2931,3311,3034,2298,2554,2797,3101,2963,2912,3273,3074,3156,3460,3162,2896,2729,2564,2949,3459,2919,2124,1763,1648,1507,1333,1431,1889,2164,2174,2020,1949,2076,2008,2131,2409,3000,3129,2847,2453,2327,2312,2204,2174,2130,2056,1973,1985,2105,2164,2204,2053,2163,2398,2049,1789,1832,1936,1744,1851,1997,2056,2063,1988,1902,1802,1772,1745,1725,1989,1886,1408,1942,2830,2975,2536,2162,2029,2077,2001,2178,2568,2627,2178,1727,1980,2641,3298,3572,3426,3151,3051,3384,3185,2294,2064,2351,2540,2741,2700,2332,2177,2265,2036,1971,2699,2408,1850,1611,1526,1635,1680,1593,1541,1469,1394,1412,1404,1427,1598,2554,3041,2484,2403,2441,2382,2415,2912,2421,1681,2032,2471,2086,2086,2136,2275,2050,2033,1997,1884,1791,1941,2146,2199,2102,1934,1659,1524,1188,1151,1542,2421,2583,2468,2464,2791,3664,3995,3891,3846,3557,2953,2600,2269,1871,2038,2399,2148,2474,2654,1898,1699,1941,1490,1485,1676,2203,2541,2101,1721,1699,1680,1542,1455,1704,2329,2725,2799,2887,2004,1773,1796,1636,1758,2392,2626,2292,2604,2801,2264,1720,1431,1688,2166,2059,1830,1663,1721,1918,1909,1569,1403,1553,1843,1775,1587,1454,1408,1393,1315,1461,1774,1956,1853,1475,1509,1695,1487,1488,1475,1391,1621,1926,1493,1469,1617,1439,1417,1480,1638,1414,1427,1519,1517,1629,1505,1346,1337,1505,1592,1607,1583,1744,1765,1632,1381,1322,1431,1448,1509,1393,1632,1864,1788,1589,1461,1542,2145,2482,2068,1880,1787,1574,1959,2233,2610,2004,2223,2344,1755,1658,1966,2120,2102,1823,2370,2919,2328,1982,1959,2729,3272,2945,2358,1895,1208,1759,2422,2769,3070,2831,2373,2632,2337,2641,3077,3171,2103,1707,2844,3173,2216,2025,2073,2179,2003,2060,2850,3097,3117,2680,2451,2656,2750,2253,2282,2265,2060,2266,2343,2855,2898,2304,2116,2218,2038,2049,2191,2092,2033,2071,2498,2401,2409,2210,1764,1005,1402,1903,1980,1954,1805,1770,2086,1859,1898,1620,1751,1832,2463,2985,3217,3116,2583,1788,1664,1938,2320,2812,2525,2200,2277,2367,2347,1848,1902,2464,2282,2286,2247,2404,2686,2824,2691,2056,2019,2017,1894,2052,1803,1680,2193,2072,1731,2822,3575,3593,2830,1793,2003,2507,2512,3028,3164,2598,2118,2873,3261,2214,2128,2184,2354,2576,2576,1930,2297,2577,2172,2052,1947,1805,1816,1599,1852,2445,2045,2075,2358,2065,1609,2003,2387,2114,2552,2790,2609,2504,2336,2366,2276,2786,2966,3021,2956,2841,2887,2808,2711,3229,3510,3608,4081,3584,3475,2367,2048,2620,2779,2322,1835,1829,1999,2091,1938,2079,3050,3160,2205,1924,1938,2032,2168,2044,1770,1710,2260,2670,2367,1992,2104,2138,2358,2632,2199,2079,2497,2647,2900,2445,1849,2046,2196,2106,1903,1290,1701,2655,2634,2420,2182,2147,2557,2786,2429,1709,1618,1723,1927,2135,2081,1908,1923,1571,1944,2089,2030,1602,1731,1983,1826,1684,1761,1542,1496,1596,2239,2186,1926,1588,1483,1656,1546,1555,1909,2136,2159,2105,1904,1778,2001,1990,1592,1567,1870,2133,2493,2304,1933,1929,1531,1858,1826,1858,1643,1464,2012,2983,3372,3119,2515,1971,2325,3163,3209,3239,3359,3561,3771,2839,2140,1843,1506,1516,2525,3001,1993,1916,1901,2796,3453,3542,3562,3624,3843,3869,3828,3574,3492,3760,3720,3642,3370,3603,4005,3648,2955,3308,3373,2700,2564,2453,2230,2568,2563,2845,2692,1955,1907,2310,1924,1440,1380,1895,2528,2785,3110,2995,2900,3054,3366,3326,2419,1699,1835,1813,1677,1819,1835,1926,1721,1898,2621,2247,2160,1976,1709,1938,2231,2568,2954,3139,3594,4033,3747,2625,2131,2133,2038,2166,2202,1977,1929,2774,2449,1560,1820,2526,2192,1641,1924,2254,2136,2221,2798,2677,2007,1390,1371,1909,2054,2270,2279,2207,2365,1878,1908,1742,1631,2260,2363,2225,2489,2359,2479,2965,3167,2544,2524,3185,3754,3152,2824,2302,2142,2797,3153,2985,2822,2719,2361,2434,3056,2703,2249,2037,2058,2332,2237,2202,2417,2491,2207,1765,2020,2812,3561,3558,2872,2958,2561,2619,2557,1867,1698,2378,2751,2732,3024,2654,2206,2313,2530,2381,2384,2391,2600,2346,1846,1820,1951,1783,2111,2623,2586,2349,2283,2326,2820,3051,3025,3018,3209,3257,3074,2738,2264,2071,1484,1015,1809,2544,2787,2374,2018,2150,2031,2215,2677,2448,2749,2544,2679,2283,2179,1985,2002,2006,2176,2286,2173,2424,2484,2023,1921,1769,1978,2302,2735,3031,3494,3158,2270,2041,2011,2039,2205,1990,1732,2054,1916,1845,1800,1629,1511,1356,1750,2284,2302,2503,2385,2120,2150,1912,1695,1620,1729,2626,2920,2678,1941,1901,2126,2636,2745,2398,2149,2183,2317,2890,2080,2144,2088,2070,2365,2396,2865,2580,2018,2314,2386,2305,2409,2337,2438,2002,1737,1865,1707,1716,1949,1848,1679,1666,1819,2198,1932,1760,1747,1863,2003,2119,2010,2314,2930,2395,1218,1585,2002,2017,2040,1783],[2921,2923,3292,3842,3843,3465,3316,3096,3152,2427,1359,1487,1742,2147,2377,2629,2788,2777,2396,2038,2279,3188,3187,2642,2934,3471,3609,3454,3284,3530,3751,3530,3086,3019,3241,3144,2974,3097,3196,3195,3067,2841,3108,3164,2983,2802,2496,2865,3327,2064,2024,2958,2376,1383,1218,2273,3178,3203,3498,3784,3623,3532,2975,2530,2350,2066,1898,1730,1539,1587,1922,1869,2084,2448,3068,3208,2764,2546,2662,2712,2179,1245,932,1175,1850,1982,1788,1349,1956,2352,2994,3127,3177,3427,3332,3247,3451,3341,3174,3253,2522,1801,1592,1634,1776,1924,2598,2930,2443,2344,2416,2329,1870,1212,1371,2334,3243,3167,2513,1425,2420,2945,2149,2272,2467,2496,2918,2511,2081,2552,3244,3090,2678,2730,2990,3124,2965,2830,2592,2246,2552,2889,2918,2790,2946,3618,3340,2272,1761,2008,2138,2134,1973,1860,1886,2112,2091,2097,2831,2986,2912,2547,2360,2110,2338,2548,2303,2405,2224,1812,1701,2320,2752,3015,2897,2997,3143,3166,3155,2978,2833,2105,2278,3355,3587,3117,2416,2058,2657,2563,2255,2143,2193,2557,2549,2432,3167,3445,3247,3305,3476,3936,4012,3330,2867,2697,2644,3134,3782,3689,2862,2028,2168,2630,2840,2829,3122,3120,2360,1996,2297,2940,3397,3348,3374,3084,3685,3854,3573,3063,2610,2698,2840,2915,3019,2990,3332,3786,3432,2788,2850,2832,2580,2599,2176,1908,1772,2012,2658,2493,2280,2467,2836,2952,3054,2480,2831,3223,3175,2917,2928,3117,2470,2358,3912,4241,3160,2937,3042,2776,2610,2686,3138,3334,3200,3203,2757,2752,2532,1780,2150,2621,2524,1764,1660,1636,1621,1604,1633,1787,2088,2168,2141,1979,1954,2251,2208,1716,2250,2469,2095,2107,2239,2298,2499,2510,2090,2296,2415,2033,2170,2707,2777,2829,2830,2685,2636,2687,2228,2170,2565,2529,2352,2085,1849,1947,2192,3007,2799,2331,1961,1503,1203,1212,2512,4213,4120,3547,2498,2944,3188,3263,3273,3273,3282,3093,2813,2225,2264,2658,2289,1954,2205,2746,2851,3075,2776,2388,1928,1632,1677,2105,2646,2923,2703,2729,2972,3516,3488,3240,3116,3340,2996,2908,2601,2242,2805,3792,4020,3306,3176,3421,3061,3272,3282,2965,2840,3132,3322,2629,2409,2284,2026,2306,2423,1609,1710,2446,2712,2321,2589,3277,3331,3307,3361,3507,3342,3196,2766,2104,1789,2470,2510,2120,2442,2590,2408,2237,2174,2436,2391,2003,2128,2065,2042,2164,2640,3256,3167,2199,1648,2097,3063,3240,2808,2547,2623,2407,2376,3111,2956,2285,1896,2105,2260,2326,2335,2624,2868,2884,2631,2432,1860,1979,2187,2518,2032,1854,1901,2209,3318,3523,3010,2549,3503,3627,3238,2974,2520,2237,2172,2232,1939,1801,2120,2026,2238,2335,2797,2956,2669,2667,2899,2522,1948,1933,1965,2458,2536,2392,3038,2978,2598,2493,2564,2114,2188,2357,2374,2268,2358,2756,2554,2155,2675,3242,3448,3241,3112,3183,3045,2432,2068,2003,1990,1860,1745,1903,2292,2598,2198,1832,2254,2106,2402,2811,2198,1837,2226,2391,2570,2803,2478,2321,2655,2454,2362,2531,2719,2458,2292,1865,1637,2122,2500,2136,1762,1914,2812,2792,2258,2202,2709,2446,2023,1782,1599,1515,1740,2451,2552,1705,1796,1552,1460,1499,1629,1754,2317,2552,2238,2268,2384,2085,1762,1600,1736,1736,2060,2310,2487,2370,2823,2653,2204,2415,2817,2854,2352,1860,1699,2824,2833,2231,1874,1913,2365,2524,1830,1704,2294,2550,2200,1587,1774,1520,1461,2258,2149,1489,1444,1738,2122,2770,3055,3098,3038,3372,3152,2257,2896,3001,2490,2501,2327,2569,2847,3038,3031,2986,2898,2445,1814,2147,2662,3153,2692,3288,2893,2830,3018,2391,2128,2242,2458,2568,2370,2493,2928,2422,1944,2483,2454,2699,2764,2774,2140,1771,2490,2792,2194,2425,2575,2015,2191,3020,2477,1845,1328,1252,1992,2279,2416,2171,1940,2121,2521,2118,2259,2209,2214,2797,2945,2583,2414,1851,1791,2006,2880,2776,2330,2092,1998,2099,2120,2055,1798,1613,1826,1989,1574,1659,1684,2009,1647,1366,1865,2133,1923,1902,1714,1699,2041,2136,2066,1946,1461,1575,1950,2331,2122,1840,1790,1744,2263,2695,2596,2382,2159,2343,2710,2821,2094,2142,2310,2249,1892,1686,2013,1918,1412,1463,1689,1995,2653,2889,3074,3320,3489,3393,3238,3317,3385,3484,3648,3924,4213,4064,3792,3466,2690,2253,2310,2277,2054,1909,1905,2230,3069,3532,2640,2311,2054,2044,2542,2438,2680,2546,2025,1699,1908,2020,1826,2718,2643,2944,3063,3095,3074,2775,2372,2655,2911,3237,3604,3145,2448,2049,2370,2439,2235,1984,2343,2644,2414,2536,2311,2084,2216,2351,2256,2667,2634,2496,2910,2834,3196,3606,3581,3454,3142,3087,3096,3375,3737,3595,3594,3377,3702,4053,4184,4315,3851,3193,3531,3984,3542,2811,3341,3886,3592,3340,3310,3178,2432,2766,3537,3665,3041,2886,3162,3599,3986,3486,3624,3632,3291,2983,2997,3119,2587,2185,2160,1838,1547,1384,1538,2201,2386,1985,1876,1723,1905,1902,1874,2249,2632,2785,2988,2708,2406,2241,2317,2447,2141,1874,1932,2190,2511,2733,2652,2328,2341,2634,2392,1887,1919,2110,1548,2044,2288,2146,2056,2230,2288,2187,1914,1713,1644,1738,1520,1709,2662,3273,3282,2998,2521,1982,1953,2030,2323,2368,2185,1977,2158,2627,2666,3398,3082,3247,3802,3963,3811,3500,2670,2402,2524,2338,2458,2411,2228,1877,2005,1989,2221,2698,2430,1809,1529,1488,1521,1554,1553,1514,1461,1442,1492,1488,1503,1542,2180,2428,2100,2163,2480,2293,2260,2923,1868,1374,1431,1792,1584,1511,2000,2082,1563,1370,1494,1512,1507,1892,2076,2080,2040,1968,1807,2018,2124,1694,1362,1474,1571,2079,2626,2582,3045,3641,3680,3760,3019,2501,2351,1950,1838,1974,1993,2143,2670,3165,2387,1468,2272,1726,1677,2304,2510,2118,1687,1684,1656,1483,1556,1489,1419,1676,2714,2921,2408,1961,2065,1994,1704,1763,1981,1860,2189,2361,2094,1635,1294,1648,2339,2533,2653,2163,1658,1708,1830,1859,1534,1256,1625,2108,1877,1731,1486,1367,1362,1349,1401,1401,1737,2032,1841,1712,1632,1419,1548,1656,1542,1462,1508,1354,1725,1794,1478,1388,1241,1453,1522,1640,1528,1426,1422,1522,1426,1380,1510,1783,1896,1709,1667,1611,1485,1330,1308,1492,1441,1347,1405,1852,2031,1603,1343,1520,1649,2124,2346,1945,1477,1690,1704,2017,2420,2288,1879,2149,2042,1775,1842,2226,2225,2028,2116,2275,2451,2508,2122,1753,2292,2773,2133,1715,1946,1698,2510,2900,2533,2790,2500,2435,2604,2544,2485,2850,2832,1971,2478,3217,3083,2445,2347,2451,2520,2508,2366,2691,3034,2713,2014,2144,2251,2261,1945,2431,2404,2149,2300,2255,2585,2456,2292,2877,2834,2050,2084,2854,2674,2592,2912,2943,2563,2283,1882,1092,1002,1858,2384,2313,2041,1948,1805,2125,2048,1859,1599,1816,2156,2598,2893,2690,2225,2051,1932,1882,1760,2084,2091,2404,2520,2446,2397,2469,2270,2184,2160,2311,2490,1977,2176,2473,2344,2618,2584,2618,2574,2255,1930,1736,1858,2402,2179,2243,3854,4449,4572,3278,1902,2024,2344,2618,3121,3039,1951,1643,2301,2233,2008,2226,2388,2131,2414,2602,2250,3035,3050,2270,2165,1851,1972,2494,2574,2510,2492,2100,2066,2100,2192,2022,2142,2600,2761,2863,2598,2340,2515,2541,2806,2818,3124,3063,3244,3294,2976,3112,2931,2783,2886,3385,3858,3558,3508,2890,2144,2119,2896,2910,2197,1907,1670,2066,2076,2000,1966,2820,3209,2584,1682,1936,2021,1854,1781,1697,1693,1969,2275,2613,2615,2236,1982,2626,3161,2450,1742,1702,1892,2385,2232,1631,1831,2100,2178,2170,1439,1244,1862,2303,2293,2175,2224,2185,1982,2001,1999,1787,1659,1923,2600,2714,2250,1993,1875,2028,2226,2094,1966,2212,1993,1768,1516,1607,1558,1507,1926,2291,1846,1664,1624,1648,1638,1755,2341,2740,2325,2064,2230,2208,2034,2122,1940,1388,1406,1888,2033,2385,2258,2326,2229,1560,1682,1864,1739,1135,1062,1841,2575,2864,2746,1756,1322,2165,3136,3177,2975,3110,3338,3642,3123,2483,1976,1574,1570,2244,3154,2040,1852,1880,2937,3542,3432,3487,3814,3798,3798,3792,3193,2701,3609,3716,3630,3337,3752,4100,3813,3141,3001,2811,2244,1992,2010,2345,3051,3032,2642,2176,1709,1594,2063,1806,1290,1477,2023,2420,2734,2994,3006,3030,3155,3183,2874,2349,2135,2208,2000,1870,2040,1982,1982,1771,1817,2464,2342,2355,2242,1932,2040,2476,2681,2432,2659,3045,2657,2341,1700,1659,1913,2017,2559,2509,2212,2563,3027,2445,1842,1989,1992,1585,1636,2189,2074,1952,2082,2261,1891,1264,1134,1851,2304,1967,2106,2316,2854,2610,2176,2120,1824,1621,1861,2210,2284,2083,2274,2525,2810,3293,2986,2690,2532,2592,2425,2201,1799,1995,2505,2762,3216,3001,2136,1957,2003,2608,2275,2313,2506,2565,2565,2297,2216,2301,2274,2418,1970,2232,2564,2967,2924,2910,2864,2834,3130,2747,2414,1947,2273,2347,2704,3130,2360,2251,2473,2837,2827,2324,2080,2335,2263,2337,2683,2731,2766,2666,3009,3016,2545,2363,2833,3109,2898,3066,3122,3227,3413,3443,2614,2310,2548,1708,1462,2427,2635,2377,2082,1791,2223,2088,1992,2293,2111,2355,1881,1990,1898,2110,1898,1885,2260,2395,1991,1991,2081,2075,1970,1865,1705,2007,2513,2783,3105,3454,2946,2191,1782,1685,1853,2100,2159,1841,1902,1800,1794,1692,1720,1695,1505,2351,2938,2416,2686,2463,2352,2048,1722,1644,1882,1904,1876,2212,2308,2129,2027,1909,2096,2258,3191,3108,2530,2644,2608,2148,2324,2192,2092,2220,2462,2454,2159,2321,2714,2841,2228,2633,3060,3096,2354,1782,1670,1522,1606,1592,1644,1633,1463,1764,2219,1990,1990,1820,1926,2414,2435,2269,2644,2796,2419,2099,2515,2079,2020,1915,1714],[3478,3296,3463,3791,3615,3252,3310,3389,3141,2160,1633,1904,1943,2019,2222,2215,2048,2421,3137,3176,2733,2801,2874,2765,3190,3397,3480,3583,3521,3618,3685,3568,3031,2971,3201,3222,3537,3709,3403,3221,3230,3208,3116,2978,2831,2819,2868,3042,3100,2793,2806,3128,3068,2498,1764,2056,2610,2769,2808,2741,2728,2875,2745,2938,3024,2630,1952,1761,2044,2385,2275,1973,1637,1958,2910,2937,2909,2953,2470,2449,2279,1576,1168,1234,1717,1779,1749,1573,1956,2540,3319,3470,3054,3283,3321,3112,3305,3504,3248,2894,2344,2059,1809,1925,2224,2262,2559,2585,2188,2710,2664,2641,2296,2235,2259,2535,2911,3186,2426,1555,2351,2818,2316,2347,2312,2492,2866,2232,2147,2483,2977,3184,2830,2673,2581,2618,2718,2530,2462,2563,2827,3168,2739,2145,2533,3316,2958,2128,1950,1943,1987,1991,1952,2014,1893,2238,1864,2052,3178,2872,2313,2427,2214,1891,1937,2301,2414,2497,2543,2095,1532,2031,2552,2762,2862,3319,3517,3095,2853,2779,2122,1671,2600,3511,3896,3969,3270,2424,2216,1928,1833,1981,1951,2389,2809,2798,2618,2532,3036,2770,3256,3691,3784,3299,2734,2613,2607,2798,3298,3498,2943,2476,2602,2980,3182,3072,3196,3356,2666,2071,2436,3108,3197,2610,2769,2772,3672,3916,3705,3082,3010,3256,3132,2983,2924,2691,2602,3457,3951,3764,3994,3769,2863,2332,1952,1960,2139,2419,2806,2573,1903,1408,1951,2730,2543,2701,3152,3007,2548,2664,2608,2765,3094,3571,4533,3995,2687,2545,2929,2854,3030,2951,2895,2912,3273,3327,2883,2645,2288,1859,2710,3298,2869,1764,1572,1731,1838,1779,1816,1957,1892,1934,2022,1886,1965,2509,2776,2529,2467,2538,2326,2385,2634,2418,2379,1988,1988,2731,2510,2188,2285,2331,2621,3050,2910,2375,2402,2553,2127,1857,2210,2433,2390,2071,2133,2058,2092,2209,2359,2203,1996,1843,1556,1732,2566,3771,3614,3448,2957,2833,2939,3070,3240,3329,2934,2622,2696,2488,2567,2750,2905,2799,2702,3163,3607,3370,3098,2686,1817,1583,1798,2311,2410,2413,2213,2005,1835,2160,2402,2300,2214,2790,3190,2762,2285,2396,3103,3408,3281,3139,3312,3337,3361,3403,2986,2930,3056,3276,3188,3105,2884,2330,2007,2131,1995,1797,2181,2499,2476,2457,2887,3393,3218,3218,3090,3235,2954,2909,2657,2466,2597,2783,2421,2167,2243,2401,2610,2258,2570,2488,1885,1849,2222,2377,2171,2141,2295,2721,2598,1775,1860,2472,3277,2988,2868,2874,2526,2298,2366,2952,3205,2857,2457,2285,2370,2085,2058,2468,2643,2774,2094,2156,2327,2065,2153,2883,2561,1756,1936,2232,3290,3234,3274,3281,3866,4127,4069,3710,3297,2542,2060,2413,2479,2482,2581,1950,1826,2134,3043,2997,2633,2900,3038,2468,2355,2351,2320,2574,2251,2279,2654,2743,2910,2352,2106,1916,2067,2358,2583,2545,2268,2319,2475,2453,2919,3218,3176,3438,3445,3050,2678,2162,2059,2376,2089,1931,2095,2773,2676,2787,2491,2077,2083,2289,2617,2618,2204,1777,1801,2116,2651,2669,2358,2265,2736,2509,2484,2603,2415,2429,2402,2143,1915,2182,2707,2436,2002,2013,3309,3471,3082,2334,2467,2223,1834,1759,1616,1663,2048,2061,2081,1711,1831,1634,1603,1613,1738,1730,1866,1780,1609,1835,1927,2012,1758,1560,1367,1645,1996,2289,2718,2589,2172,2432,2580,2699,2055,1992,1590,1713,2765,3262,2507,2093,1772,1545,2061,2226,1667,1610,2173,2424,2333,1790,1911,1418,1434,2371,2200,1597,1800,1909,2667,3541,3178,2988,2968,2910,2517,1867,2406,2865,2634,2493,2619,2582,2576,2533,2473,3123,2569,2110,2080,2134,2186,2453,2558,3076,2739,2383,2693,2267,1488,1462,2041,2254,2332,2453,2622,2481,2624,2895,2549,2557,3076,3064,2496,2677,2794,3016,2652,2932,2521,2172,2884,3063,2481,2019,1811,2033,2968,3472,3158,2142,2068,2264,2131,1923,2171,2171,2127,2513,2790,3279,2746,2182,2442,2084,2728,2491,2389,1907,1544,1749,2023,1841,1553,1222,1461,1936,1811,2012,2159,2796,2618,2178,1929,1615,1729,1981,1653,1511,1911,2091,2426,2516,2025,1839,2156,2382,2003,1727,1889,2092,2386,2600,2741,2648,2800,2389,1903,1964,2019,2006,2163,2270,2163,2095,2054,2126,2158,2221,2150,2480,3521,3836,3934,3753,3603,3551,3393,3232,3219,3294,3482,3578,3851,3959,3687,3067,2600,2167,1802,2023,2526,2322,2262,2614,2657,3188,2508,2411,1996,1781,2364,2485,2489,2406,2164,1997,2453,1963,2217,2801,2475,2829,2752,2563,2566,2666,2308,2138,2918,3871,3813,2729,2476,2216,1886,1835,2138,2158,2532,2247,2128,2488,2466,2193,2160,2169,2258,2525,2442,2463,2622,2782,3361,3665,3560,3392,3208,2934,2470,2554,3316,3746,3886,3755,3806,3993,3625,3776,3472,2916,3451,3453,2475,2258,3084,3597,3991,3674,3444,3009,2612,3330,3941,3498,3106,3301,3408,3256,3272,2780,3659,3869,3680,3729,3574,3195,2697,1954,1829,2002,1512,1237,1285,2003,2359,2095,2004,1577,2062,2096,1791,1931,1931,2257,2733,2508,2447,1971,2266,2076,1563,1492,1554,1796,2360,2880,2955,2624,2647,2664,2232,1926,1896,1962,1752,2144,2289,2265,2233,2209,2397,2440,2110,2032,2078,1747,1868,2824,3388,3363,2977,2587,2131,2142,2091,1972,2200,2514,2604,2690,3104,3028,2265,2338,2695,3695,4062,3922,3805,3764,3151,2543,2486,2362,2474,2440,2002,2019,2075,1830,2001,2278,2242,1959,1755,1680,1543,1572,1574,1603,1686,1627,1579,1604,1612,1589,2041,2333,2209,2228,2194,2296,2025,2841,1952,1388,1441,1502,1431,1363,1979,2117,1241,1087,1146,1080,1129,1914,2292,2137,2023,2126,2077,2360,2480,1832,1409,1724,1934,2221,2721,2434,2742,3778,3947,3855,3005,2229,2096,1990,1859,1875,1873,2078,2719,3427,3106,1527,2095,2032,2213,2449,1972,1555,1484,1584,1669,1732,1808,1516,1488,1487,2230,3178,2940,2365,2276,2337,2186,1773,1783,1933,2017,1743,1603,1323,1798,2546,2648,2498,2659,2177,1607,1743,1786,1598,1388,1515,1661,1921,1814,1634,1417,1345,1385,1282,1244,1613,1849,1844,1905,1780,1810,1877,1733,1567,1555,1535,1431,1535,1478,1411,1418,1359,1337,1557,1904,1758,1416,1358,1436,1405,1445,1549,1688,1837,1978,1703,1700,1693,1464,1362,1360,1444,1519,1515,1773,2245,2051,1553,1537,1721,1472,1430,1396,1522,1501,1658,1722,1622,1705,1730,1859,2107,1811,1706,2262,2784,2194,1668,1947,2214,2251,2060,1806,1798,1901,2050,1750,1916,2149,2687,3188,3378,2918,3049,2946,2678,2858,3052,2776,2801,2608,2701,3306,3584,3108,2836,2267,1930,2036,2238,2277,2099,1986,2086,1588,1817,1670,1636,1616,1628,1908,2320,2279,2228,2398,2458,2518,2911,2304,1883,1951,2623,2984,3355,3902,3076,2340,1846,999,1072,1628,1917,2069,2335,2253,2115,1988,1889,1701,1443,1526,1737,1711,2155,2766,2478,1789,1710,2099,2307,2137,2392,2160,2253,2382,2413,2537,2533,2504,2370,2208,1854,1944,1921,2020,2250,2308,2604,2656,2406,2411,2125,1807,2009,2087,2196,2074,2417,3777,4187,3874,3048,2150,2082,2522,2504,2428,2241,1636,1532,1970,1903,1947,2001,2454,2341,2293,2197,1882,1982,2342,2714,2014,1897,2261,2456,2290,2314,2148,2383,2664,2759,2886,2493,2088,2544,2718,2678,2532,2443,2455,2713,2820,2899,3010,2788,3061,3074,2896,3128,3084,3105,2939,2732,3060,2776,2563,2546,2525,2829,3410,2949,2406,1936,1621,2260,2481,2678,2233,2271,2621,2548,2121,2065,2119,1818,1779,1995,1888,2127,2547,2423,2846,2801,2243,2077,2574,2511,2193,2213,2101,2290,2036,1842,1751,1909,2113,2298,1941,1452,1665,2280,2657,2457,2508,2258,2211,2533,2446,2099,1969,1958,2547,2853,2387,1926,1851,1929,2060,2060,1984,2188,1769,1682,1427,1451,1574,1518,1733,1673,1622,1787,1668,1551,1707,2501,2812,3033,2538,2214,2820,2369,1863,1938,1889,1813,1837,2038,1919,1978,1954,2257,2409,1908,1460,1331,1476,1384,1394,2198,2911,2712,2552,1861,1534,2336,3208,3397,3253,2906,3049,3516,3492,3168,1925,1614,1535,2026,2736,2090,2152,2075,2828,3628,3415,3641,3975,3858,3767,3732,3587,3279,3644,3585,3741,4028,4298,4024,3583,3024,2469,1918,1781,1734,2380,3025,3108,2666,1958,1692,1699,1591,1575,1439,1385,1648,2099,2633,2973,3128,2943,3354,3428,3109,3042,2764,2515,2416,2142,2196,2418,2092,1715,1749,2005,2104,2216,2187,2204,2312,2050,2016,2171,1830,1968,2266,2039,1806,1626,1744,1914,1997,2518,2776,2437,2761,2744,2106,1870,1724,1421,1573,1765,2271,2238,1776,1962,2386,1898,1304,1171,1723,2497,2254,2036,2416,2737,2464,2317,2094,1773,1706,2041,2362,2646,2383,2399,2424,2438,3057,3528,2966,2185,2000,2172,2225,2353,2585,2627,3051,2872,2342,2010,2225,2453,2679,2728,2745,2507,2666,2652,2374,2075,2081,2038,2922,2730,2702,2678,2329,2249,2695,2720,2856,2488,2453,2875,2145,2165,2557,3206,2879,2446,2666,2798,2481,2359,2412,2149,2143,2442,2763,2951,3297,3404,3024,3265,3320,3002,3121,3431,3197,2943,3156,2966,3178,3284,3297,2879,2496,2279,1760,1566,2032,2146,1909,2005,1943,2123,1655,1854,2464,2200,1792,1784,1710,1939,2191,2248,2189,2205,2376,2559,2310,2131,1692,1740,2147,2063,2193,2554,2435,2420,2612,2356,2188,2047,1920,1917,2090,1873,1824,2086,2333,2216,2016,2065,1974,2637,3913,3602,2484,2664,2741,2019,1622,1673,1869,1999,1793,1775,2044,2129,2070,2133,1850,2124,2084,3085,2945,2438,2702,2522,1996,1952,2061,2080,1994,1882,2024,2098,1903,1941,2435,2425,2913,3329,3065,2442,1976,1816,1600,1737,2047,1892,1402,1574,2103,2047,1874,1919,1984,2326,2966,3009,2640,2072,2332,2718,2732,2222,1881,2336,2273,2008],[3363,3306,3384,3318,3422,3321,3229,3164,2914,1829,1785,2015,2186,2199,1923,1819,1772,2351,3365,3453,3311,3199,2688,2749,3308,3724,3864,3774,3604,3520,3669,3706,3500,3565,3606,3430,3775,3962,3587,3449,3374,3407,3308,3328,3272,3146,3204,2902,2383,2518,2724,2350,3108,3592,2469,1921,2692,2437,1795,1543,1748,2302,2641,2912,3178,2998,1778,1642,2187,3099,2320,1793,1510,1769,2938,3886,4308,3897,2603,2459,2298,1963,1934,1942,2144,2072,1946,1911,1997,2240,2899,3263,2468,2537,2568,2342,2426,2561,2910,2950,2356,1783,1778,2412,2897,2657,2819,2663,2396,3033,2903,2832,2630,2740,2964,3042,2961,2968,2756,2512,2658,2255,2269,2486,2509,2878,3278,2617,2937,3086,2719,2603,2665,3025,2710,2553,2802,2022,2156,2494,3266,3422,2750,2422,2688,3220,2910,2391,1974,1813,1827,1763,1796,1824,1972,2046,1626,2203,3178,2655,1914,2268,1958,1163,1508,2181,2178,2520,2667,2099,1915,2446,2396,2500,2986,3145,3045,2714,2475,2324,1858,1659,2221,2746,3499,3802,3326,2768,2222,1826,1702,1702,1997,2301,2810,2750,2150,1861,2272,2654,3287,3658,3525,3380,3238,3030,2762,2591,3195,2951,2718,2752,3406,3771,3560,3251,3310,3628,3288,2788,2955,3405,3094,2630,2739,2830,3498,4137,4094,3615,3464,3567,3486,3065,2857,2293,1433,1960,3350,3893,3869,2998,2728,2737,2266,2302,2165,1985,2414,2061,2003,1653,1585,2142,2423,2836,3063,2548,2513,3110,2922,3318,4041,4461,4532,4293,3702,2997,3074,3062,3108,2801,2663,2951,2958,3318,3328,3038,2630,2096,2708,3028,2658,2102,1884,1688,1574,1829,2099,2414,1832,1782,1897,1960,2056,2478,3312,3652,3609,3783,3178,2249,2272,2127,2090,1709,1694,2180,2422,2318,1886,1688,2066,2712,2865,3001,2570,2249,2141,2053,2600,2586,2546,2283,2224,2352,2443,2743,3144,3326,2934,2187,2322,2999,3520,3761,3587,3352,3071,3044,3019,3118,3266,3255,3038,3115,3123,2752,2660,2886,3319,3394,3160,3100,3516,4037,4061,3061,1997,1677,2134,2786,2341,2240,2688,2359,2308,2833,2988,2569,2510,2478,2818,2515,2208,2873,3388,3122,2885,3109,3341,3110,3164,3207,2942,3067,3225,3075,2950,3134,2967,2857,2690,2592,2076,1762,2100,2301,2325,2689,3119,3429,3149,2953,2972,3132,2899,2699,2578,2619,2578,2369,2116,1983,2009,2212,2193,2278,2692,2300,1743,2110,2449,2372,2334,2165,2260,2566,2674,2404,2592,3099,3309,2787,2680,2766,2810,2747,2534,2611,2730,2613,2569,2624,2303,1779,2199,2739,3063,2947,2471,2626,2544,1915,2332,3487,2849,1805,2077,2066,3111,3682,3824,3923,3822,3969,4042,3964,4034,3166,2692,2920,3152,3009,2686,2228,1897,2184,2934,2668,2353,2495,2657,2630,2445,2343,2574,2534,2092,2226,2562,3003,3147,2555,2149,2544,2962,2910,3090,3066,2888,3186,3223,3227,3436,3445,3294,3360,3222,3000,3109,3020,2967,3018,2286,1964,2249,2907,2495,2110,1880,1965,2126,2184,2113,2353,2470,2136,2022,2586,2718,2412,2348,1906,2045,2247,2114,2164,2580,2968,2611,2279,1865,2457,3506,2973,2018,2187,3563,3588,3048,2341,1816,1843,1715,1689,1875,1903,2179,2380,2299,2001,1833,1803,1834,1778,1739,1600,1607,1404,1330,1637,1630,1549,1653,1745,1521,2014,2349,2232,2756,2765,2306,2227,2580,2856,1965,1543,1659,2301,3084,2720,2176,1937,1614,1753,2074,1889,1566,1653,1937,2226,2237,2164,2020,1637,1620,1968,1895,1765,1952,2035,3059,3359,2867,2999,2831,2608,2001,1299,1542,2292,2687,2901,2864,1969,1619,1990,2115,2478,3108,2729,2463,2420,2264,2164,2250,2473,2577,2554,2454,2146,1792,1569,2127,2392,2066,1934,2103,2075,2141,2076,2100,2263,2150,2329,2741,2696,2352,2868,3068,2807,2177,2281,2542,2396,2542,2570,2364,2097,2809,3122,2920,2588,2203,2069,1828,1880,2376,2299,2141,2355,2564,2745,2247,2326,2337,2143,2468,2769,2635,1863,1721,2156,2330,1951,2012,1681,1808,1934,1929,2128,2603,2586,1997,2070,1812,1234,1467,2164,2088,1486,1857,2074,2242,2302,2137,1926,1902,2080,2049,1986,1833,1944,2113,2089,2021,2178,2438,1535,911,1121,1434,1877,2008,2023,1997,1896,2117,2786,2439,2059,1848,2402,3396,3723,3439,3305,3458,3717,3658,3356,3293,3275,3307,3461,3686,3743,3414,2888,2657,2335,1706,1766,2360,2420,2265,2333,2198,2850,2654,2295,1810,1635,2043,2276,2061,2391,2172,2529,2932,1754,2202,2415,2614,2699,2508,2322,2404,2798,2612,2149,2822,3618,3637,2563,2580,2193,1963,2211,1930,1774,1932,1780,2244,2710,2272,1985,2403,2189,2212,2234,2040,2004,2258,2868,3596,3738,3617,3432,3089,2600,2586,2812,3265,3842,3995,3925,3939,3507,3021,3572,3926,3707,3736,3035,2078,1992,2208,3216,3665,3427,3354,2816,2734,3491,3570,3399,3529,3497,3698,3019,2989,3015,3581,3706,3339,3400,3474,3449,2806,2033,2416,2619,1679,1354,1525,1638,1895,1991,1940,2013,2304,2165,2147,2446,2512,2170,2116,2276,2490,1887,2016,1854,1727,1866,1698,1803,2258,2556,2834,2712,2811,2713,2114,1792,1956,1771,1698,2111,2139,1866,1817,1926,1921,1988,1947,2126,2048,1626,2199,2980,2888,2732,2683,2431,2462,2706,2481,2181,2448,2421,2602,3234,3386,2781,1928,2114,3454,4212,4052,3779,3595,3483,2831,2379,2010,2310,2410,2468,2360,2396,2171,1901,2201,2687,2688,2382,2046,2095,1804,1826,1788,1650,1622,1562,1538,1541,1550,1887,2723,3000,2448,2065,1699,2401,2308,2441,1741,1283,1629,1833,1540,1479,2124,2182,1171,1022,1055,1028,1016,2019,2468,2208,2021,1895,1808,1876,1774,1511,1273,1807,2084,2066,2268,2141,2149,2810,3329,3277,2888,2226,1748,1729,1751,1764,1600,1810,2366,2526,2600,1978,1851,2137,2308,2061,1661,1527,1384,1231,1618,1727,1657,1570,1387,1415,2131,2842,2586,2178,2130,2304,2143,1643,1514,1785,1740,1751,1722,2025,2634,2581,1992,1660,1889,1861,1532,1837,1869,1682,1530,1748,1481,1330,1522,1676,1585,1489,1412,1205,1497,1809,1911,1809,1674,1985,1969,1907,2012,1845,1666,1452,1428,1688,1385,1389,1675,1579,1480,1554,1738,1593,1416,1561,1563,1457,1586,1607,1685,1636,1671,1461,1679,1604,1288,1314,1420,1586,2013,2130,1880,1920,1613,1532,1892,1776,1562,1551,1510,1372,1697,2060,1869,1646,1622,1668,2066,1956,1658,1895,2465,2568,1995,1793,2048,2079,2021,1843,1810,1693,1909,1825,1453,1959,2520,3419,3834,3730,3527,3227,2763,2767,2558,2587,2966,3138,3229,3500,3519,3001,2485,2197,2008,2134,2152,2144,1900,1706,2074,2313,1771,2104,1874,1785,1591,1405,1655,1766,1991,2104,2133,2160,2435,2421,2198,2199,2170,2437,2850,3400,3872,3365,2687,2043,1360,1708,2115,1606,1092,1481,2067,2198,2156,1953,1692,1656,1808,1825,1630,1729,2097,1824,1684,2235,2263,2125,2476,2864,2446,2123,2068,2222,2003,2030,2393,2385,2271,1888,1911,2080,2233,2452,2331,2118,2282,2478,2503,2558,2789,2625,3084,2396,2238,2388,3436,4176,3607,2848,2350,2531,2998,2498,2250,1720,1780,2287,2676,2436,2763,2724,2444,2878,2999,2364,1735,1664,2303,2257,1739,1689,2008,2303,2314,2347,2350,1928,1420,1829,2520,2009,1938,2385,2401,2463,2219,2053,2265,2699,2580,2448,2610,2753,2709,2411,2556,3239,3204,3161,3216,3405,3245,2645,2314,2242,2111,2620,2979,2242,1584,1498,2376,2622,2532,2774,2526,2393,2491,2243,1760,2043,2200,1948,2448,2298,1799,2589,2929,2799,3052,3021,2633,2116,1829,2002,2137,2081,1936,1935,1793,1780,1600,1440,1657,1802,1902,2147,2285,2885,2930,2463,2532,2900,2998,2791,2134,1966,2044,2095,2258,2248,1994,1870,1976,1859,1980,1985,1853,2139,1757,1660,1547,1695,1773,1583,1682,1669,1692,1781,1778,1873,1924,2322,2710,2808,2076,1847,2079,1973,2264,2415,2369,2130,1820,1948,2027,2172,1952,2094,2260,2061,1772,2079,2711,2048,1622,1643,2090,1961,1975,1844,1762,2556,2702,2819,3043,2860,3272,3441,3190,3532,1984,1470,1395,1620,1999,2136,2453,2247,2620,3521,3666,3891,3904,3811,3798,3803,3963,3278,2813,3366,3847,4041,3798,3129,2842,2182,1857,1737,1851,1991,2919,3086,2587,2014,1531,1692,2073,1690,1645,1654,1700,2022,2710,3352,3254,2797,2494,2723,2388,2580,3499,2786,2278,2137,2114,2431,2332,2136,2206,1968,2035,2329,2614,2199,1572,2068,2336,2164,2701,2236,1686,1747,2045,2111,1954,1880,1858,1745,2154,2588,2140,1851,1738,1792,1691,1659,1819,2014,1875,1805,1742,1406,1580,1916,2151,2094,1511,1247,2384,2734,2349,2180,1974,1946,2165,2300,2066,2141,2268,2514,2844,2912,2668,2200,1934,2485,2999,2540,1876,1989,2118,2030,2497,2583,2468,2759,2058,1708,1984,2518,2734,2756,2997,3227,2988,2395,2548,2366,2236,2667,2984,3410,3231,2889,2345,2113,2697,3022,2803,2967,2687,2766,3160,3027,2631,3127,3961,3786,3167,3190,3117,2639,2696,3212,2994,2713,2932,2450,2384,2651,2641,2840,3273,3317,3189,3361,3543,3361,3445,3409,3074,2784,2933,3297,3508,3297,2984,2409,1876,1770,1666,2032,2118,2028,2110,1859,2323,2909,2300,1860,1694,1651,2412,2961,2811,2199,2557,3169,2731,2464,2338,1820,2032,2337,2253,2280,2077,1995,2266,2459,2331,2110,1864,2046,2094,2066,1714,1994,2384,2418,2552,2928,2488,2292,2862,3670,3646,2500,2603,2953,2228,1712,1671,1708,1622,1673,1921,1971,2079,2260,2220,2214,2322,2215,2925,2931,2394,2328,2321,2047,2066,2065,2183,2727,2518,1985,1758,1766,1645,1648,2020,2651,3183,2920,2614,2554,2443,1878,2044,2690,2327,1765,2258,2343,1960,1537,1372,1582,1913,2706,3229,3098,2359,2512,2876,2398,2021,1975,1987,2025,2343],[2974,2353,2338,2539,3109,3292,3233,2858,2589,1868,2068,2020,2149,1977,1388,1560,1953,2750,3625,3408,3509,3633,2923,3275,3864,4197,4293,4315,4376,4240,3951,3908,3982,4305,4416,3974,4070,4030,3715,3431,3285,3269,3296,3527,3606,3608,3859,3517,2607,2564,2536,1775,3130,3925,2338,1504,2106,1735,1721,2276,2548,3001,3262,2884,3240,2762,1962,1542,2109,2732,2031,2088,2425,2729,3724,4369,4219,3774,2640,2386,2115,1982,2059,2010,2227,2112,2003,2276,2611,2233,2219,2556,2613,2741,2247,1778,1594,2153,3217,3239,2281,1714,1717,2131,2760,2697,2791,3030,3173,3333,3088,2942,2915,2773,2828,3019,2989,3016,3000,2988,2186,1502,2236,3128,2510,2212,2323,2285,2983,3019,2450,2792,2924,3548,3985,4008,3222,2033,2343,2945,3397,3146,2807,2699,2789,3233,2832,2796,2481,2191,2014,1862,1888,1754,1845,1802,1534,2164,2987,2467,2221,2388,2429,1898,2142,2342,2148,2051,2041,1998,2136,2220,1741,1810,2224,2731,2590,2152,2348,2404,2272,2432,2504,2475,2762,2705,2242,2505,2327,2577,1949,1713,1958,2165,2527,2759,2520,2392,2705,3320,3730,3817,3772,3951,4160,3992,2757,2077,2328,2232,2039,2323,3438,3997,3660,3305,3254,3661,3814,3173,2265,3014,3185,2916,3031,2965,3206,3548,3836,4006,3684,3597,3580,3193,2867,2490,2029,1352,1800,2775,2655,2097,2352,2083,2125,2263,2039,2314,2412,2215,2577,2269,2115,1945,2081,2580,2701,2351,2395,2685,2620,3709,4014,3958,4062,4074,4004,3563,3617,3913,3566,2801,2866,2907,2732,3256,2836,2767,2693,2282,2513,2708,2458,2222,2247,1852,2149,2366,1954,1959,1798,2078,2071,1960,2048,2112,2070,2265,2931,3573,3465,2132,2195,2134,2145,2279,2160,2374,2817,2541,2103,1870,1929,2640,2873,3292,2274,1988,2189,1948,1953,2182,2072,1939,2166,2200,2635,3269,3472,3640,3427,2363,2426,2963,3464,3828,3839,3514,3362,3293,3138,3325,3418,3107,3109,3167,3218,3217,3451,3567,3603,3575,3362,3186,3495,3937,3427,2512,2455,1946,1938,2511,2169,2267,3076,3210,2703,3130,3211,2573,3254,2343,1895,1871,1695,2664,3118,3150,2967,3073,3443,3080,2868,3064,2864,3063,3007,2902,2822,2796,2834,2664,3000,3460,2850,1936,2129,2136,2125,2653,3360,3320,2958,2724,2943,3108,2973,2790,2688,2765,2544,2327,1988,2041,2325,2779,2024,1857,2144,2042,2020,2500,2519,2487,2378,2376,2628,2586,2497,2630,2808,3011,3139,3016,2969,3088,3083,2841,2665,2497,2509,2253,2362,2736,2377,1947,2216,2592,2571,2307,1996,2153,1987,1348,2067,3300,2891,1873,2060,2101,3216,4181,4068,3973,3940,3638,3266,3506,3912,3781,3978,4027,3606,2949,3632,3937,3120,3329,3804,3294,2747,2409,2509,2406,2012,2052,2331,2551,2410,2390,2998,3221,3489,3652,2962,3134,3555,3461,3702,3488,3334,3519,3526,3625,3660,3524,3443,3413,3242,2972,3043,3418,3620,3455,2636,1970,2121,2476,2259,1708,1668,2084,2147,2116,2440,2436,2048,2009,2133,3065,2702,2186,2048,1822,2203,2475,2224,2088,2453,2984,2787,2557,2398,3373,3858,2700,1932,2567,3217,3039,2804,2173,1632,1621,1528,1760,1783,1709,1877,2117,2160,2197,1933,1807,1733,1719,1806,1634,1634,1370,1351,1507,1571,1504,1784,1773,1543,1850,1999,1930,2257,2149,1988,1939,2418,3247,2854,2232,2341,2641,2446,2075,1943,1810,1640,1836,1968,1853,1736,1875,1838,2229,2154,2199,2025,1502,1478,1573,2727,2752,2575,2677,3447,3186,2941,2946,2595,2635,2088,1356,1666,2287,3370,3616,3176,2946,2390,2656,2452,2436,2887,2687,2699,2823,2946,2601,2148,2081,2172,2742,2756,2264,1982,2286,2408,1566,994,1499,1771,1577,1890,1977,1880,1989,2436,2702,2474,2238,2198,2243,2351,2398,2477,2517,2438,2364,2257,2206,2160,2304,2455,2367,2415,2338,2007,1995,2131,2350,2486,2208,2387,2655,2742,2412,2439,2646,2374,2408,2386,2487,2768,2251,1828,1991,2138,2088,2210,2455,2322,2330,2530,2320,2438,2410,2266,3033,2177,1927,1839,2337,2154,1860,2105,2174,2192,2029,2045,2163,2120,2283,2451,2542,2259,1822,2531,2493,2363,2224,2091,1662,1268,1252,1868,2121,1708,1821,2015,2012,2455,2659,2419,2671,2730,2677,3105,3559,3327,3295,3573,3808,3709,3530,3514,3530,3542,3763,3797,3605,3293,2898,2644,2342,1973,1946,1908,2054,1976,2435,2503,2749,2934,2308,1702,1616,1744,1834,2019,2020,1842,2458,2593,2532,2966,2722,2503,2424,2366,2363,2839,3210,2643,2224,2765,3526,3060,2833,2697,1914,2067,2235,1692,1822,1882,1987,2286,2164,1981,2266,2336,1957,1937,1960,1865,1995,2265,2732,3379,3385,2908,2833,2645,2323,2468,2804,3473,3776,4036,4040,3639,3634,4049,3934,3860,4173,3928,3138,2544,2269,3016,3496,3239,3415,3322,2756,2928,3554,3330,3100,3587,3579,3897,3481,3272,3196,3493,3207,2805,3316,3580,3346,2469,1970,2834,2594,1856,1606,1889,1843,1910,2019,1764,1675,1722,1782,1814,1783,1855,1753,1835,1859,1615,1532,1836,1814,1699,1967,2069,2115,2113,1867,2246,2486,2336,2058,1898,1891,1968,1714,1650,2014,2071,1652,1682,1797,1693,1606,1746,1924,1887,1897,1860,2029,2012,2145,2199,2059,2199,2692,2450,2301,2294,2458,3241,3680,3152,2175,1769,2763,3926,3780,3688,3419,2942,2569,2269,2122,2087,2044,2175,2415,2497,2287,2006,1895,1930,1974,2201,2196,1854,1974,1727,1884,1931,1748,1581,1580,1571,1461,1499,2143,3255,3079,2207,1998,2194,2951,2688,1778,1168,1016,1285,1483,1254,1550,2432,1865,1178,1126,1023,1024,1115,1849,2047,1936,2071,1921,1838,2383,2432,1867,1367,1719,1875,1888,1930,1991,2000,2623,3559,3642,2990,1772,1384,1612,1577,1548,1465,1815,2386,2389,3084,3175,2181,2061,2423,1689,1745,1563,1584,1520,1729,1670,1622,1382,1228,2124,2688,2447,2155,1859,2011,2166,1954,1611,1481,1777,1890,1782,2005,2545,2245,1619,1400,1399,1389,1686,2215,1943,2055,2060,1844,1637,1439,1353,1421,1688,1680,1434,1336,1284,1581,1793,1873,1731,1647,1753,1810,1862,1886,1917,1849,1625,1654,1647,1644,1786,2015,1916,1592,1557,1537,1472,1534,1542,1672,1690,1576,1573,1516,1728,1661,1577,1690,1673,1465,1327,1425,1528,1721,1814,1667,1754,1641,1864,2079,1692,1551,1563,1366,1408,1645,1808,1969,1942,2310,1994,1787,1892,2009,2247,2436,2382,1914,1792,1936,2051,2104,2085,1948,1653,1571,1317,1083,1876,2934,3141,3171,3498,3728,3427,2905,2598,2708,2943,3283,3689,3751,3468,3342,3027,2520,2198,2500,2271,2084,2100,2208,2596,2702,2624,1799,1752,1725,1686,1561,1710,1741,1422,1632,1742,1882,1880,2216,2473,2773,2547,2292,2483,2595,3031,3216,2974,2608,2480,1759,1895,1981,1231,1321,2014,2309,2326,2170,1980,1887,1938,1911,1576,1522,1466,1801,1556,1782,2221,2061,1820,2132,2244,2110,2060,1610,1756,1795,2150,2088,2042,2052,2041,1971,2048,2309,2547,2282,2114,2290,1959,2068,2736,3043,2497,2042,1774,2238,2285,2933,3769,3033,2445,2031,2006,2303,2396,2331,1865,2007,2689,2702,2452,2994,2941,2239,3318,3532,2365,1906,2176,2403,1686,1485,1643,2243,2433,2113,2244,2196,1749,1425,1719,2473,1791,1926,1950,2352,2288,1800,1799,2153,2423,2587,2249,1936,2189,2322,2204,2425,2939,3164,3129,3511,3597,2858,2448,2257,1853,2289,2562,2320,1770,1400,1680,2531,2633,2385,2364,2544,2368,2212,1799,1831,2525,3052,2706,2110,1969,1962,2708,3274,3226,2776,2174,1759,1743,1578,1715,1752,1961,1936,1553,1805,1910,1372,1144,1588,1873,1973,1766,2209,3054,2915,2764,2743,3086,3017,2685,2327,2189,2287,2287,2021,1726,1705,1909,2454,1971,1716,1765,1892,2109,1969,1731,1433,1554,1746,1628,1669,1763,1780,1915,2002,2359,2774,2451,2205,2204,2085,2086,1782,2106,2282,1862,2129,2040,1680,1704,2079,2459,2090,2161,2382,1912,1666,2264,2503,1932,1703,1322,2027,1886,1575,1642,1947,2421,2639,3157,3146,2983,3372,3160,2440,3245,2294,1509,1528,1606,1879,2061,2144,2200,2318,3085,3548,3745,3897,3896,4016,3985,4063,3751,3463,3401,3584,3596,3150,2503,2203,1939,2116,2553,2402,2624,2834,2498,1910,1568,1672,2072,2301,2002,1972,2219,2577,3064,3264,3409,3393,2724,1952,1649,1531,1902,2481,2030,2081,2175,2283,2397,2068,1866,2352,2110,1543,2199,3289,2463,1660,1910,2383,2098,2271,2025,1684,1736,2083,2206,2072,1880,2036,1922,1917,2047,1832,1615,1688,1561,1435,1882,2057,1866,1800,1635,1533,1633,1626,2183,2357,2084,1661,1357,2007,2603,2593,2230,2119,2339,1927,2216,2247,2212,2114,2184,2248,2352,1976,1651,1846,2249,2440,2264,2003,2204,1960,2066,2525,2620,2467,2479,2170,1946,2503,3045,2810,3029,2898,2754,2768,2510,2751,2139,1982,2487,2818,2899,2796,2421,2023,2610,3082,3234,2977,2895,2913,2820,2819,2992,2950,3493,3975,3038,2113,2888,2735,2888,3631,4162,3909,3318,3137,3041,2602,2031,1915,2375,2918,3395,3129,2588,2392,2259,2978,3694,3500,3050,2873,2977,3184,3332,3457,3145,2686,2300,1965,2116,2057,2089,2674,2578,2673,2999,2474,1927,1727,1947,2831,3086,2471,2465,3047,3152,2742,2869,2504,2190,2207,1896,2030,2355,1972,2147,2736,2718,2614,2269,2099,2087,2034,2008,1838,1864,2162,2217,2530,3196,2858,2701,2000,2467,3112,2789,2654,2943,2494,1682,1587,1703,1543,1701,1975,2046,2300,2520,2558,2712,2399,2374,2758,2522,2094,2474,2474,1897,2196,2075,2004,2346,2416,2434,2179,1892,1701,1953,2025,1830,2437,2930,2884,2842,2674,1887,1503,1991,1897,1796,1847,1873,1982,1493,1346,1399,1554,2154,2630,2765,2709,2570,2245,1859,1759,1670,1865,2107,2193],[2557,2463,2482,2648,3126,3064,2993,2911,2504,2150,2238,2255,2417,2265,2178,2751,2640,3175,3602,3544,3588,3103,3128,3704,4107,4403,4559,4668,4551,4282,4204,4241,4228,4349,4232,3924,4172,4008,3640,3358,3181,3202,3275,3262,3385,3565,4036,4187,3784,3874,3709,3237,3157,3344,2433,1763,2186,1677,1863,2697,3031,3229,3494,3001,2954,2409,1855,1629,2298,2518,1939,2335,2388,2646,3784,3544,3331,2952,2415,2483,2409,2168,1798,2111,2580,2070,1877,2490,2877,2528,2414,2459,2579,2541,2358,2215,2148,2363,2977,2950,2169,1992,1766,1619,1879,2440,3130,3356,3090,3384,3356,3116,3376,3131,2718,2857,3034,3231,3100,3172,2485,1741,2357,3187,2587,2084,2258,2548,2964,2770,2469,2843,2878,3581,4355,4115,2877,2077,2402,2802,3145,2987,2764,2405,2770,2752,2510,2428,2545,2451,2346,2173,2024,1723,1897,1846,1672,2364,3180,2486,2683,2762,2521,2346,2288,2155,2010,1711,1881,1963,2080,2214,1974,1800,2120,3064,2584,2336,2586,2543,2438,2480,2436,2300,2404,2324,1783,1809,2352,3168,2744,2571,2404,2115,2260,2727,3211,3143,3172,3871,3598,3207,3716,3737,3780,3764,2589,2333,2496,2342,1954,2001,3427,4099,3719,3497,3160,3652,3811,2761,1482,2309,3024,3300,3377,3096,3117,2995,3276,3550,2978,3509,3470,3649,3428,2948,2657,2098,1498,1578,2142,2386,1969,1570,2220,2306,2380,3008,2842,2351,2221,2320,2266,1984,2017,2364,2529,2756,2670,2621,3002,4167,4315,3748,3566,3758,3758,3471,3608,4184,4488,3654,2956,2955,3009,2942,2837,2475,2269,2529,2514,2373,2552,2195,2328,2260,2328,2225,1741,1787,2282,2360,2094,1996,1986,1874,1924,2439,2730,2529,2707,2430,2901,2620,2514,2790,3034,3395,3538,2551,1874,2072,1835,2590,2896,3182,2388,2034,2043,1905,2006,2232,1977,1769,1970,2319,2653,3438,3431,3640,3551,2381,2226,2980,3374,3495,3494,3316,3428,3172,2946,3052,3501,3089,2989,3042,3218,3362,3420,3485,3458,3576,3820,3576,3316,3497,3405,2706,2920,2740,2732,2379,2078,2358,2522,2358,2092,2566,2531,2589,2814,2351,1844,1315,1616,2731,3062,3062,3191,3603,3755,3148,3050,3311,3173,3066,2980,3141,3082,2984,2888,2682,2813,3134,3168,2331,2689,2723,2598,2844,3166,2912,2646,2586,2764,2648,2552,2567,2451,2636,2455,2449,2360,2417,2788,2805,2012,2020,2290,2223,2518,2763,2610,2466,2187,2596,2627,2341,1992,2374,2684,2675,2654,2665,2720,3017,3161,3021,3008,2874,2854,2621,2441,2677,2554,2188,2143,2025,1985,1842,1552,1915,2118,1381,1526,2452,2842,2019,1997,2287,3192,4111,4068,3937,3572,2889,2750,3133,3488,4040,4427,4668,4041,3264,3672,4140,4162,4052,3320,2711,2246,1981,2070,2194,2382,2494,2555,2719,2692,2824,3220,3130,3100,3130,2764,2915,3344,3626,3946,3701,3526,3451,3509,3858,3992,3763,3583,3522,3418,3543,3613,3563,3747,3539,2827,2493,2343,2132,2096,1692,1761,2108,1824,1829,2057,1844,1986,2174,1960,2083,2199,2236,2380,2415,2610,2686,2378,1498,1274,2094,3029,2576,3055,4108,3525,2147,1788,2287,2161,2098,2498,1830,1662,1569,1636,1792,1500,1653,2016,1890,2202,2223,1772,1699,1612,1710,1806,1629,1515,1897,1782,1620,1709,1764,1694,1523,1493,1898,1896,1744,1881,1779,1852,2024,2139,2474,2374,2257,2287,2230,2088,2014,1789,1572,1465,1910,2132,2005,1874,1653,1709,2224,2219,2316,2055,1968,1845,2031,3770,3034,2498,2459,2710,2874,3006,2766,2619,2956,2332,1519,2015,2676,3138,2975,3571,2995,2192,2336,2322,2501,2344,2679,3463,2989,3001,3185,2542,2396,2102,1880,1910,1791,1980,2849,2753,1628,1501,1749,2168,1722,1700,1748,1718,1722,1824,2272,2246,1932,1698,1767,2558,2724,2297,2069,2136,2007,1945,2451,2764,2548,2522,2634,2600,2316,2054,2250,2191,2255,2094,2050,2354,2517,2380,2494,2613,2281,2190,2288,2294,2611,2855,2139,1711,2139,2152,1947,2035,2128,1962,1765,1670,1834,1903,1827,1886,2278,1783,2094,2177,2310,2114,2194,2404,2272,1969,1938,2461,2713,2521,2355,2408,2447,2230,2147,2150,2193,2315,2104,2000,1996,1576,1513,1799,1458,1510,2056,2257,2197,2376,2588,2852,2607,2385,2603,3047,3726,3730,3642,3837,3742,3716,3692,3630,3641,3702,3769,3680,3451,3244,3015,3096,2741,2736,2343,2442,2635,2302,2696,2745,2559,2883,2703,2231,1928,1880,1863,2074,2116,2322,2457,2214,2148,2315,2746,2589,2361,2568,2625,3010,3195,2349,2059,2464,3139,2896,3024,2600,2048,2373,2030,1791,1805,2172,2193,2091,2089,2252,2190,2025,1898,1842,1568,1474,1832,2154,2212,2279,2549,2492,2152,2343,2684,2756,3084,3395,3521,3768,3518,2829,2884,3759,3959,3900,3907,3790,3226,2935,2712,3183,3683,3833,3929,3602,3271,3278,3492,3474,3203,3416,3585,3798,3727,3396,3181,3240,2847,2802,3448,3753,3117,2171,2322,2834,2291,1632,1338,1554,1730,1986,2145,1618,1736,1835,1802,2082,2548,2501,2213,1852,1547,1588,1973,1894,1545,1492,1478,1545,1663,1630,2025,2305,2301,1914,1868,1830,1847,1905,1747,1800,1948,1845,1713,1808,2100,2293,1910,1948,2060,2083,2010,1737,1895,2255,2517,2054,2018,2321,2540,2040,2100,2130,3075,3514,3265,2541,1816,1884,2720,3260,3376,3322,2708,1896,1918,2332,2259,1932,1963,2282,2243,2114,2074,1947,1830,1958,2158,2053,1671,1896,2216,2138,2025,1995,1775,1672,1937,1720,1543,1490,2349,3305,2563,1886,1944,2535,3165,2842,1980,1052,1038,1110,1118,1154,1298,2225,1663,1158,1150,996,912,1293,1870,1636,1708,1915,2173,2103,2456,2407,1835,1577,1880,2036,2039,2050,2037,1972,2248,2957,2806,2245,1603,1584,2070,1967,2093,2380,2526,2585,2510,2822,3692,2917,1764,2096,1984,2209,2292,2568,2276,1840,1767,1760,1845,2811,3345,2427,2026,1877,2027,1859,1760,1729,1700,1688,1609,1418,1719,2076,1838,1330,1388,1622,1478,1438,1710,2438,1982,1706,1918,2054,1909,1693,1445,1365,1501,1565,1600,1389,1433,1592,1701,1648,1642,1758,1810,1636,1414,1606,1961,2042,1995,1970,1807,1874,1793,1844,1938,2116,1725,1526,1654,1559,1393,1427,1471,1532,1533,1439,1546,1533,1711,1897,1780,1358,1301,1574,2018,2088,1875,1848,1692,1896,2248,2092,1776,1774,1723,1837,1547,1154,1099,1773,1923,2314,2136,1707,1587,2121,2415,2306,2027,1470,1408,1561,1939,2055,2114,1793,1727,1414,1616,1742,2049,2889,3030,2750,2834,2875,2956,2536,2147,2976,3139,2946,3350,3526,3380,3083,2745,2690,2271,2343,2531,2898,2271,2212,2429,2402,1954,1619,1531,1612,1452,1421,1798,1905,1851,2008,1973,1892,1953,2494,2657,2588,1965,1914,2353,2690,2842,3162,2974,2529,2359,1820,1529,1637,1588,1939,2267,2271,2056,1902,2169,2192,1932,1970,1726,1914,2309,2162,1532,1843,2264,1916,1870,1892,2026,2204,1938,1542,2137,3030,2912,2226,2360,2789,2554,2139,2176,2216,2408,2297,2588,2652,2437,2662,2574,2510,2255,1896,2025,2284,2310,2386,2668,2720,2866,2504,2104,2424,2580,2354,2155,2194,2348,2188,2473,2938,2614,2388,3560,3854,2706,2282,2332,2322,2221,1965,2120,2956,2427,2141,2178,1994,1647,1611,1822,2780,3134,2938,2632,2702,2153,1843,2148,2388,2091,2530,2492,1963,2044,2150,1906,2205,2669,3009,2956,2784,3062,2802,2468,2248,1863,2317,2640,2195,1693,1670,1974,2075,2250,2401,2563,2578,1923,1706,1710,2138,2536,3230,3086,2271,2056,2168,2366,2280,2138,2133,1616,1482,1637,1690,2240,1990,1972,1997,1781,1937,2124,1865,1735,1882,1863,2003,1801,2276,2570,2447,2797,3188,3015,2834,2697,2858,2791,2539,2049,1597,1515,1766,2162,2292,1710,1828,1998,1930,1931,1942,1687,1428,1901,1770,1690,1680,1824,2067,2120,2492,3244,3671,2950,1858,1683,2154,2676,2216,2784,2480,1996,2310,2217,1782,1746,1912,2058,1898,1947,1890,1782,1638,2286,2364,1929,1744,1708,2302,2131,1786,1730,1826,2110,2974,3164,3150,3098,3366,3045,2684,3241,2668,2241,2316,2076,2178,2233,2350,2514,2524,3330,3705,3795,3887,3990,4097,4064,4057,4071,3550,2577,3033,3296,2829,2547,1874,2187,2819,3160,3054,2624,2448,2260,1814,1787,1884,1944,2348,3017,3239,3304,2966,3320,3151,2821,3096,2758,2110,1802,1686,1616,1768,2241,2430,2167,2128,2157,1956,1703,1682,1545,1534,1840,2668,2450,2314,2166,2247,1895,1890,2035,1831,1782,1839,1816,1970,1902,2112,2120,1832,1918,1837,1461,1643,1617,1584,2141,2087,1646,1800,1735,1912,2285,1910,2193,1982,1666,1562,1686,2464,3208,3031,2458,2526,2484,1886,2215,2397,1983,1680,1815,1987,1919,1781,1844,2094,2205,2141,2030,1827,1907,1956,2347,2684,2862,2756,2424,2428,2821,3287,3285,2825,3143,2963,3139,3482,3184,3186,2121,1069,1261,1471,1902,2128,1914,2240,2751,3064,3151,3119,2806,2676,2833,3024,3233,3205,3459,3560,2674,2539,3109,2956,3275,4042,4188,4199,3723,2865,2322,2254,1934,1549,2187,2901,3416,3170,2345,2450,2496,2656,3306,3329,3005,3077,2648,2566,2626,2688,3046,3332,2822,2228,2241,2087,2463,3142,2870,2941,3262,2768,2046,2314,2195,2397,2646,1930,2313,2963,2714,2326,2544,2680,2649,2214,1970,2176,2041,2282,2523,2514,2499,2436,2352,2407,2174,2139,1898,1761,1725,2440,2576,2413,2719,2542,2147,1543,2083,3046,2966,2579,2889,2362,1886,1685,1648,1833,1877,2130,2571,2354,1942,2257,2465,2444,2693,2674,2038,2140,2774,2465,1846,2196,1926,1586,1987,2801,3452,3539,3206,2600,2706,2318,2302,3008,3134,2684,2211,2166,1937,1674,1544,1529,1628,1726,1987,1938,1720,1620,1413,2093,2344,2348,2267,2020,2110,1806,1809,1718,1710,2086,2810,2849],[2681,3350,2884,3067,3194,3403,3321,3010,2691,2497,2563,2751,2835,2864,3122,3500,3384,3481,3362,3481,3308,2712,3207,4105,4552,4629,4620,4537,4188,4083,4249,4156,4196,4184,4096,3897,3768,3425,3175,3206,3273,3227,3253,3297,3442,3669,4005,3917,3665,3573,3624,3662,3109,2745,2734,2774,2719,2412,2126,2577,3064,2917,3243,2985,2547,2381,2025,1722,2154,1988,1919,2644,2631,2547,3724,3141,2280,2008,2058,2495,2734,2305,1839,2555,2449,2242,1821,2642,2943,2485,2366,2508,2497,2612,2534,2225,2088,1979,2519,2810,2328,2134,2017,1927,1934,2443,3199,2806,2305,2803,3221,2941,3266,3177,2618,2583,2817,3164,3133,3170,2954,2916,2889,2302,1571,1598,2496,3099,3304,3388,3275,3083,3198,3770,4220,4102,2946,2325,2653,2717,3204,3090,2619,2002,2432,2524,2526,2149,1886,2357,2577,2176,2148,1913,1855,1759,1752,2146,2459,2497,2398,2427,2291,2131,1993,2100,1854,1656,1907,1886,2005,2352,2490,2355,2677,2998,2733,2609,2657,2654,2439,2322,2522,2761,3120,2566,2096,2177,2605,3050,3316,3033,2122,1922,2254,2631,3044,3008,3120,3788,3621,3089,3627,3712,3737,3684,2866,2577,2752,3044,2452,2119,3331,3838,3735,3713,3226,3458,3687,2683,1650,2348,3350,3381,3572,3383,3438,3362,3005,2824,2244,2598,3234,3672,3664,3334,2909,2573,2300,1577,1294,1585,1542,1692,1975,2424,2863,2976,2711,2347,2150,1981,1974,2264,2376,2580,2896,3055,2811,3001,3732,4586,4533,3972,3759,3864,3736,3355,3105,3353,4305,4401,3330,3330,3728,3793,3861,3569,3374,3455,3134,3247,2676,2258,2313,2183,1952,2258,1868,1802,2410,2679,2237,1951,2023,2246,2376,2610,2505,2147,2209,2313,2552,2601,2610,3045,3515,3448,3239,2422,2257,2504,2437,3179,3416,3151,2464,2049,1916,2078,2184,2104,1895,2607,3204,3134,2852,3038,2752,3099,2993,2086,2242,2851,2863,2413,2376,2670,3196,2818,2979,3343,3338,3197,3180,3162,3339,3442,3361,3587,3587,3688,3931,3516,3207,3339,3341,3099,3405,3448,3118,2411,1751,1894,2093,2274,2374,2455,2651,3105,2246,1978,1748,1236,2472,3310,2701,2251,2703,3230,3398,2906,2757,2920,2959,2855,3046,3401,3318,2842,2557,2955,3123,3103,3100,2722,2958,2916,2715,2642,2707,2872,2962,3107,2928,2271,2155,2236,2214,2343,2200,2562,2723,2745,3150,3128,2645,2754,2749,2738,3012,2986,2910,2520,2683,2808,2697,2257,2241,2309,2373,2595,2461,2322,2068,2243,2486,2735,2968,2939,2961,2874,2677,2742,2513,2092,2026,1868,1896,1737,1538,1914,2109,1603,1713,2561,2890,2281,1969,2232,2920,3584,3384,3481,3184,3030,3046,2926,3206,3917,4200,4152,3805,3399,3427,3671,3643,3261,2686,2471,2059,1615,1487,1662,2298,2485,2404,2348,2072,2337,2585,2319,2417,2095,2416,2790,3350,3563,3540,3482,3231,3032,3423,3727,3454,2886,2981,3256,2966,3173,3494,3614,3636,3440,2830,2674,2723,2088,2126,1942,1827,1785,1622,1531,1885,2343,2530,2436,2069,2077,2176,1985,2088,1963,2397,2599,2460,1889,1297,2040,2884,2330,2834,3595,3266,2570,2382,3043,2156,2351,2645,2030,1965,2288,2609,2311,1693,2006,2157,1931,2172,1665,1539,1611,2037,1939,1709,1479,1562,1672,1696,1838,1514,1488,1522,1650,1604,1672,1840,1871,1789,1694,2014,2298,2076,1825,2053,2004,1796,2090,1898,1758,1632,1460,1753,2425,2381,2074,2045,1853,2031,2191,2086,2511,1948,1869,1524,2811,3496,2538,2443,2187,2453,3053,2597,2328,2381,2466,1932,2109,2204,2567,2699,2529,2830,2082,1943,2510,2653,2476,1893,2591,3641,3572,2855,3153,3248,2561,1948,1461,1320,1387,1636,2503,2242,1910,2219,1973,2763,2848,2609,2454,2178,1741,1554,2206,2737,2595,2266,2651,2909,2615,2004,1828,1818,1955,2014,2410,2365,2226,2371,2279,2039,1918,1814,1932,1947,2143,2077,2237,2635,2687,2722,2755,2415,2168,2336,2292,2756,3058,3076,2306,2100,2635,2384,1978,1602,1376,1647,1793,2040,2213,2110,1680,2115,2262,1970,2283,2947,2809,2267,2052,1966,1774,1737,1971,2645,2203,2301,2173,2077,2275,2166,2129,2241,2225,2061,2169,2309,2282,1986,1889,1970,1796,1959,1998,1993,2176,2122,2362,2698,2633,2466,2326,2849,3507,3311,3466,3683,3466,3388,3452,3551,3663,3751,3804,3609,3377,3184,2996,3362,3012,2645,2393,2495,2272,1810,1805,2166,1842,1875,2150,1934,1890,2110,2170,1984,1920,2274,2446,2123,1819,2034,2596,2329,2479,2662,2747,2678,2658,2181,1785,2023,2190,2211,2299,1972,1951,2149,1806,1724,1534,1892,1807,1731,1891,1941,2098,2045,1910,1672,1164,1491,2128,2370,2157,2026,2326,2362,2197,2918,3433,3278,3044,3240,3375,3278,2932,2834,2661,3143,3736,3984,4003,3920,3455,3112,3052,3342,3716,3902,3904,3564,3358,3375,3499,3431,3227,3283,3391,3415,3382,3401,3450,3226,2881,3295,3273,3595,3219,2205,2721,2834,2046,1444,1308,1557,1523,1641,1771,1421,1564,1478,1545,2225,2812,3008,2482,1851,1979,2729,3041,2265,1985,2101,1739,1944,1951,1830,2159,2250,2207,2158,2262,1876,1789,1876,1847,1840,1750,1734,1796,1790,2273,2499,2119,2040,1947,2133,2257,1912,2268,2740,2837,2310,2602,2665,2312,1897,1868,2680,3560,3463,2753,1939,2202,2224,2356,2576,3631,3757,3197,2171,2435,2836,2547,2272,2291,2494,2599,2201,1984,1803,1897,1842,1650,1720,1670,1954,2117,1862,1966,2134,1797,1834,2360,1920,1879,1821,2475,3098,2613,2154,2027,2394,2828,2741,2466,1171,1208,1909,1476,1147,1332,1940,1544,1122,1134,1076,942,1251,1932,1786,2001,2147,2005,2313,2563,2513,1968,1688,2051,2130,1870,1957,1893,1908,1906,1865,1777,1930,1629,1646,2153,2229,1838,1774,2208,2379,2617,2491,3321,3332,2087,1607,2034,2836,3088,2811,2149,2100,2351,2133,1962,2707,2582,2171,2072,2266,2119,1588,1448,1846,1760,1706,1793,1504,1867,1937,1432,1532,1635,1492,1410,1740,1973,1980,1751,1572,1659,2168,2127,1603,1526,1335,1322,1483,1701,1612,1621,1787,1655,1589,1849,1909,1675,1489,1418,1584,1804,2254,2165,1815,1877,2007,2050,1875,2282,3255,2095,1555,1930,1783,1496,1257,1228,1568,1627,1686,1593,1255,1432,1610,1586,1379,1400,1831,2095,2075,2066,1953,1572,1621,1726,1831,1909,2182,2240,2722,1915,1161,1355,1688,1630,1599,1879,1770,1413,1720,1943,2218,1706,1514,1544,1640,1881,1887,1931,1993,1812,1908,2597,2460,2353,3251,3028,2272,2170,2217,2416,2388,2587,3095,3075,2828,2823,2818,2945,3156,3210,2853,1923,1698,1943,1907,1944,2100,2163,2260,2264,2042,1692,1548,1367,1504,1798,2118,2396,2257,1973,1807,1985,2122,2072,1825,1432,1412,2093,3001,2678,2822,2449,2259,2031,1837,1624,1565,1802,2026,1969,1765,1552,1922,2330,2377,1960,1873,2040,2263,2172,1878,1814,2215,2167,1960,2255,2078,2225,1831,1938,2217,2722,2823,2618,2623,2710,2989,3164,2825,2322,1984,2065,1989,2343,2511,2386,2341,2272,2136,2030,1997,2203,2796,3070,2855,3233,3365,3284,2840,2490,3065,3001,2521,2174,2025,2192,2422,2853,2454,1843,1757,2108,2360,2079,2293,2448,2256,2500,2523,2503,3009,2756,2852,2621,2420,1891,1882,2131,2583,3389,3341,2699,2400,2028,1915,2208,2323,2220,2425,2166,2074,2065,1946,2061,2665,2952,3223,2864,2187,2812,2783,3089,2829,2317,2433,2939,2753,2333,2178,2202,2154,2533,2674,2033,1701,1725,2099,2089,2280,2201,2639,2856,2630,2190,1999,2023,1247,1553,2500,1980,1542,1671,2061,2400,2352,2069,1824,1948,2070,2339,2142,1918,2001,1856,1638,1761,2423,2994,3320,3815,3450,2513,2099,2228,2611,2730,2268,1898,1993,1939,1750,2131,2118,1867,2076,2029,2029,1937,1887,1627,1420,1471,1299,1336,1611,1841,2061,2208,2295,2425,2774,2906,2294,1857,2243,2726,2465,2536,2337,2316,2634,2317,1693,1569,1881,2028,1662,1644,1642,1812,1725,1935,1892,1950,1963,2028,2043,1762,1793,1627,1673,1945,3029,2374,2743,3138,3197,3030,3210,3607,3548,3580,3487,3088,2793,2567,2619,2998,3226,3652,3881,3885,3898,3939,4021,3968,3978,4020,3673,2880,2897,2568,1981,1930,1860,2172,2676,3168,2633,2132,2336,2187,2326,2038,2191,2512,3125,3684,4328,4257,3255,2835,2916,2657,2834,3051,3006,2923,2302,2171,2318,2910,2544,1753,1632,1949,2000,1525,1369,1601,1661,1702,2270,2989,2928,2490,2250,2037,2193,2152,1831,1645,1519,1945,2111,2096,1978,1818,2093,2402,2106,1801,1920,1801,1636,1921,2061,1864,2121,2035,1995,2057,1999,1956,1923,2102,2120,1947,2098,2811,3093,2534,2468,2242,2320,3086,2823,1998,1861,2178,2389,2331,2173,2338,2450,2513,2678,2812,2364,2157,2178,2031,2444,2963,2501,2380,2323,2462,3139,2780,2215,2336,2643,3675,3404,1855,1799,1666,1146,944,826,1560,2293,2434,2831,3497,2830,2325,2775,2686,3009,3349,3094,3148,3249,3229,3686,3397,3867,4086,3777,3315,2968,3196,4014,3914,2712,2216,2578,2546,2200,2625,2997,3402,3317,2836,2736,2773,2565,2841,3056,2780,3065,2774,2369,2319,2665,3095,3565,3510,3029,2588,2446,2776,2977,2578,2536,2821,2620,2656,2798,2475,2221,2279,2633,2668,2635,2073,1791,2495,2654,2771,2555,2383,2215,1846,2583,3197,3019,2791,2479,2225,2115,2112,2182,2076,2222,1806,2360,2452,1971,2496,2372,1825,1995,2492,3143,3072,2564,2620,2201,2233,1835,1798,2089,2468,2875,2891,2259,1714,1618,2133,2590,2857,2809,2320,2722,2808,2797,2162,2152,2169,2069,2573,3146,3613,3027,3117,3893,3708,3038,3273,3605,3466,2761,2187,2109,2156,1903,1751,2018,2442,2504,2077,1803,1752,1629,1743,2244,1988,2024,2358,2301,2253,1848,1804,1831,1741,1840,2654,2861],[2752,3248,2906,3330,3653,3816,3625,3126,2950,3295,3498,3297,3020,2908,3288,3496,3138,3055,3228,3130,2598,2474,2905,3703,4200,4228,4309,4083,3763,3797,3671,3684,3704,3735,3817,3686,3407,3155,3190,3487,3419,3339,3395,3430,3501,3768,4109,3839,3486,3475,3521,3557,3205,2816,2802,2662,2321,2176,2293,3241,3894,3659,3480,2971,2419,2496,2096,1974,2303,1885,2127,3154,3110,2883,3580,2719,1689,1918,2064,2436,3221,2745,2472,2845,2405,2128,1725,2430,2796,2388,2106,2172,2251,2182,2148,1685,1780,2498,2740,2706,2392,2344,2308,2391,2398,2622,2836,2268,1986,2023,2427,2189,2248,2339,2438,2097,2090,2802,3330,3451,3428,3287,2786,2418,1980,1237,2288,2556,2736,2783,2899,3239,3296,3420,4017,3920,2805,2597,2947,2561,3329,2876,2232,2399,2225,2138,2339,2090,2154,2747,2634,2143,2327,2181,1892,1835,2035,1919,2085,2316,2272,2208,2014,1944,2078,2401,2134,1914,1846,2006,1863,2081,2625,2698,2864,2587,2125,2249,2376,2224,2058,1822,2082,2691,2710,2702,2815,3073,2902,3129,3807,3055,2046,2603,2875,3238,3084,3340,3409,3471,3029,2776,3560,3824,3727,3642,3020,2795,2589,3539,3360,3039,3310,3508,3676,3763,3397,3117,3199,2919,2380,2656,3056,3187,3321,3450,3465,3217,2879,2841,2222,1852,2676,3538,3615,3567,3342,2850,2511,2184,1496,1089,1176,1474,1664,2355,2769,2519,2261,1957,1742,1689,2062,2524,2918,3050,3198,2942,2586,2977,3911,4312,4120,3851,3650,3620,3516,3441,3062,3311,3818,4074,3551,3659,4271,4471,4171,3750,3736,3693,3038,2791,2419,2668,2902,2829,2474,2353,2050,1699,2282,2729,2163,1823,1730,1802,2486,2297,1679,1910,2110,1918,2002,2321,2438,2595,2878,3238,3265,3295,3274,3188,3242,3348,3360,2874,2298,1961,2084,2535,2088,2142,2238,3219,3172,2639,2759,2548,2244,2730,2482,1642,1597,1677,1981,2042,2461,2275,2234,2443,2950,3078,3008,3047,3042,3084,3099,2889,2889,3238,3510,3521,3620,3552,3394,3329,3195,3063,3160,3010,2638,1996,1614,1622,1870,2109,2138,2112,3011,3319,2164,1891,1838,1953,3120,3020,1875,2205,3023,2749,2938,2705,2707,3053,3153,3021,3230,3374,3242,2717,2780,3125,3132,3188,2814,2711,2814,2658,2722,2845,2917,2896,3052,3096,2611,1858,1855,2167,2277,2304,2222,2356,2734,2893,3106,3603,3263,3018,3037,3361,3277,3277,2946,2687,2369,2836,3277,2986,2978,2436,2336,2492,2407,1895,2056,2402,2272,1945,1958,2140,2409,2708,2907,2636,2374,1910,1783,1587,1754,1759,1738,1808,2110,2143,2377,2730,2974,2593,1897,1900,2357,3017,3364,3817,3984,3508,3472,3236,3217,3683,3821,3596,3284,2633,2902,2997,2310,2401,2712,2209,1963,1894,1603,1698,1780,1728,1748,1797,2050,2391,2266,2115,2236,2331,2493,2844,3094,3172,3062,2896,2829,2720,2735,2513,2339,2475,2610,2659,2238,2529,3396,3476,3368,3276,2624,2356,2494,2110,2040,1803,1478,1361,1494,1487,2249,3016,3326,3296,2600,2137,1998,1908,1970,2046,1996,1771,2276,2464,2038,2342,2451,2399,2868,2824,3028,2649,2132,2596,2215,2657,2376,2056,2007,2679,3611,3043,1986,2191,1983,1901,1825,1910,1732,1548,1662,1910,1822,1658,1968,1905,1744,1913,1709,1550,1467,1645,1727,2136,2072,1762,1584,1537,1654,1773,1905,1756,1728,1654,1538,1848,1598,1549,1798,1813,2158,2393,2018,2012,2109,2023,2074,2013,2203,2333,2084,1959,1952,2933,2734,2322,2306,2001,2873,3584,2447,2114,2356,2423,2224,2586,2282,2080,2277,2551,2696,2146,2310,2752,2766,2263,2077,2657,2923,3098,3163,2997,3237,2950,2182,2104,2026,2123,2186,2517,1977,2230,2153,1856,2162,2459,2576,2604,2374,2134,2149,2526,2794,2972,2643,2951,2955,2546,2515,2768,2687,2181,1986,2170,1970,2438,2417,2736,2387,1803,1545,1558,1620,1958,2242,2844,3043,2677,3066,2825,2749,2576,2257,2160,2637,2874,2654,2209,2368,2370,2066,1920,1457,1843,2116,1944,2442,2313,2667,2375,2567,2713,2221,2263,2308,1892,1859,1864,1582,1618,2034,2266,2524,2151,2195,1866,2089,2397,2019,1670,2040,2129,2095,2396,2321,1936,1991,1763,1851,1979,2325,2479,2352,2375,1942,1811,2032,2072,1848,2533,3230,3543,3300,3279,3407,3439,3564,3703,3839,3939,3991,3802,3475,3282,3354,3384,3369,2684,1911,2024,2245,2218,1658,1710,2346,2114,2097,2394,2216,2044,2120,2014,1868,1999,2298,2260,1968,1987,2466,2613,2353,2652,2718,2573,2169,2243,2184,1867,1892,1889,1750,1918,2037,2500,1938,1910,1762,1707,1732,1562,1634,1825,1880,2246,1919,1689,1461,1324,1787,2487,2599,2475,2146,2477,2182,2016,3035,3201,2575,2273,2954,3167,2932,2494,2296,2111,2503,3125,3610,3873,3920,3486,2935,2845,3551,3616,3437,3615,3492,3200,3086,3328,3377,3254,3320,3352,3372,3256,3352,3286,3317,3342,3024,2600,2941,2657,2520,2864,2432,1860,1417,1341,1610,1698,1888,1823,1874,1593,1406,1586,2300,2874,2946,2488,1851,2183,2316,2187,1984,2146,2170,1928,1914,1863,1749,1481,1837,2338,2579,2617,1802,1824,1809,1723,1622,1782,1705,1521,1675,1936,2048,1959,1886,1749,2135,2249,2145,2223,2269,2038,1898,2348,2261,2108,1954,2282,3322,3648,3064,2243,1943,2404,2298,2353,2394,2896,3408,3130,2699,3002,3172,3040,2840,2438,2382,2519,2158,1938,1834,1995,1864,1632,1625,1675,1815,1640,1509,1898,1897,1783,1992,2277,1917,2082,1978,1634,1924,2491,2520,2285,2420,3044,2740,1830,1140,1431,2272,1760,1439,1890,2112,1538,1156,1171,1141,1027,1304,1771,2014,2312,2300,1927,2377,2642,2503,2088,1675,1810,2128,1993,1768,1460,1604,1856,2039,2000,2055,1706,1614,1958,1758,1198,1183,1867,2299,2895,2598,2877,3518,3252,2163,1863,2450,2526,2344,2726,3097,2719,2099,1783,2007,2186,2081,2056,2054,1987,1704,1927,2570,2391,1920,2177,1894,2315,2294,1866,1640,1523,1476,1575,1854,1898,1870,1936,1612,1528,1942,2402,1722,1372,1013,1066,1512,1672,1688,1882,1687,1059,1249,1552,1650,1627,1440,1199,1490,1671,1998,1825,1396,1348,1763,1871,1919,2620,2886,1821,1505,1961,1983,1572,1421,1554,1554,1439,1560,1324,1256,1350,1375,1528,1462,1505,2155,2154,1958,2145,1918,1645,1533,1593,1707,1927,2336,2191,2092,2172,1926,1937,1869,1790,1782,1772,1807,1510,1404,1471,1842,1577,1642,1771,1615,1649,1598,1545,1729,1831,2194,2852,2739,2316,2420,2805,2795,2620,2877,3100,2822,2751,3306,3661,3176,2517,2618,2711,2534,2508,2210,1880,1718,1748,1872,1996,1816,1541,2116,2669,1967,1792,1896,2001,1689,1676,1764,1597,1531,1715,1855,1877,2154,2234,1825,2004,1864,2244,2676,2645,2574,2265,2046,1858,1905,1899,1815,1610,1534,1800,1723,1907,2232,2326,2159,2129,2106,2192,2475,2018,2267,2547,2410,2262,2175,2187,1848,2303,2512,2379,2708,2802,2322,2771,3108,3265,3370,3489,3541,2169,1589,1499,1688,2150,2190,1952,1869,2116,2223,2348,2451,2176,2793,2299,1764,2407,2519,2810,2918,2708,2981,3011,2979,2196,1766,1936,2499,2426,2006,1630,1302,1260,1635,2201,2642,2546,2553,2956,2409,2436,2646,2784,3100,3115,2911,2531,2259,2118,2190,2453,2587,2625,2135,2323,2168,2209,2579,2546,2460,2408,2448,2313,2097,2347,2394,2553,2886,2424,1995,2612,3197,3020,2031,2020,3006,2989,2696,2923,2706,2563,2675,2862,2304,1891,1694,2191,2922,2770,2116,2030,2666,2879,2624,1992,1783,1993,1491,1663,2624,2646,1764,1568,2271,2780,2845,2131,1925,1910,2212,2250,1983,1962,2176,1851,1472,1847,2570,3088,3208,3364,3186,2475,2090,2243,2536,2349,1882,1774,1905,1744,1517,1726,1714,1556,1598,1594,2188,1975,1848,1730,1626,1671,1643,1560,1829,2044,2448,2597,2240,1900,2132,2935,2465,2142,2220,2255,2010,1658,1706,1981,2203,2565,2264,1893,2604,2085,1638,1580,1527,1836,2182,2049,1788,1904,1931,2111,1877,1675,1827,1941,1619,1785,2600,2818,2645,2709,3231,3265,3193,3774,3887,3593,3685,3742,3363,2528,2758,3539,3830,3795,3870,3947,3986,3986,4041,3946,3826,3661,3504,3472,3452,2583,1852,1830,2139,1926,1623,2194,2034,1957,1958,1886,2514,2511,2964,3299,3460,3510,3684,4119,3507,2645,2765,2810,3238,3312,3695,3738,2876,1981,1688,2052,2043,1787,1730,2109,1812,1584,1658,1675,1546,1544,1811,2685,2951,2466,2410,2408,2238,2139,2193,1862,1685,2230,2425,2667,2372,2199,2642,2671,2148,2017,2045,2078,2005,2071,2630,2237,2042,1858,1784,1941,2128,2238,2360,2570,2465,1951,1978,2713,3238,2536,2084,2293,2661,3229,3272,2360,1908,2185,2601,2075,2054,2512,2808,2876,2833,2961,2732,2473,2187,2084,2679,2863,2068,1938,2237,2337,2804,2698,2168,2178,2724,3130,2812,2395,2289,2040,2120,2074,1662,2156,3032,3362,3420,3263,2120,2068,2753,3019,3580,3017,2368,2370,2440,2949,3543,3830,3830,3840,3555,2916,2685,3006,3861,3202,2283,2218,2263,2419,2455,2829,3208,3152,3024,3011,3144,3383,2933,3126,3420,2745,2806,2690,2426,2437,2675,2975,3359,3566,3288,2851,2766,2911,2986,2463,2042,1948,2236,2257,2430,2884,2660,3039,3580,2656,2508,2272,3035,3220,2623,2809,2464,2264,2353,2273,2898,3166,2431,2452,2427,2173,2048,1980,1644,1958,2074,2115,2326,2071,1690,1920,2107,2221,2299,2553,2626,2023,2319,2112,1868,2082,2359,2364,1886,2198,2841,2692,2292,1973,1717,2348,2591,2759,2741,2457,2557,2570,2503,2260,2196,2202,2413,2744,2930,2994,2188,2816,4308,3693,3572,3815,3603,3485,3232,2674,2188,2318,2150,2036,2118,2285,2287,1991,1777,1720,1667,1946,2257,1872,1953,2370,2548,2132,2222,2367,2308,1980,2094,2444,2263],[2835,2970,3012,3352,3708,3642,3226,3010,2887,3286,3350,3094,2707,2665,3054,3277,3140,3043,3043,2629,2497,2699,2678,2863,3039,3547,3582,3536,3588,3351,3249,3437,3514,3686,3662,3315,3075,3089,3299,3357,3265,3301,3287,3341,3500,3622,3827,3775,3714,3794,3569,3661,3769,3834,3648,2786,2342,2409,2638,3603,4129,3770,3506,2834,2192,2326,2216,2499,2449,2109,2425,3056,3196,3068,2991,2399,1741,1765,1722,2491,3434,2777,2784,2688,2364,2078,1944,2259,2690,2664,2021,1823,1799,2296,2678,2250,2194,2666,3198,3110,2727,2802,2508,2325,2857,2829,2356,2008,2190,1894,1992,1886,1917,2129,2789,2697,2307,2643,2877,2687,3340,3316,2810,2780,2590,2182,2431,2311,2190,2379,2988,3137,2977,2253,2177,2341,2212,2311,2638,2328,2917,2428,2104,2458,2437,2490,2554,2624,2553,2435,2051,2286,2459,2094,1799,2279,2840,2451,2459,2615,2394,2521,2141,2513,2524,2436,2067,1953,1857,1889,1870,2050,2178,2435,2419,2207,2070,2243,1840,1730,1556,1505,1883,2215,1984,1920,2342,2759,2815,3021,3760,3683,3218,3265,3168,3311,3142,3087,2595,2248,2143,2569,3616,3705,3496,3474,3462,3479,3360,3759,3665,3498,3589,3760,3676,3758,3542,2968,2869,2868,3229,3719,3616,3425,3505,3674,3747,3577,3252,2854,2422,2383,2664,3335,3605,3665,3726,3424,2732,2280,1628,1215,1532,1778,1784,2239,2619,2764,2621,1923,1699,1912,2656,3210,3782,3785,3397,2727,2320,2937,3717,3817,3784,3311,3304,3453,3553,3382,3098,3360,3541,3444,3520,3938,4307,4339,4036,3281,3165,3386,2844,2933,3321,3459,3526,3522,3015,2654,2041,2054,2600,2753,2282,1760,1706,1961,2235,1825,1337,1581,2041,2383,2753,2746,2701,3536,3614,3418,3518,3786,3642,3348,3123,2922,2662,2554,2540,2339,2862,2478,2225,2997,3384,2934,2326,2387,2557,2360,2056,2296,2575,2546,2155,2207,2126,2691,2909,2629,2924,3077,3130,3287,3259,3075,3051,3243,3175,2359,2113,2646,3240,3107,3204,3594,3394,3232,3174,2838,2823,2731,2403,1885,1813,1726,1718,1989,2070,2142,2677,2496,1287,1206,1593,2384,3046,2981,2178,2968,3210,2900,2638,2258,2190,2563,3087,3095,3162,3086,3007,2883,3164,3362,3496,3465,2698,2374,2637,2841,3219,3242,3039,2534,2219,2047,2166,2001,2280,2633,2518,2374,2308,2385,2659,2691,2214,2356,2745,2863,3087,3229,3008,2949,2796,2531,2358,3057,3297,3046,3500,3451,2712,2419,2288,1964,2446,2598,2141,1714,1864,2344,2586,2517,2779,2584,2348,1894,1795,1750,1754,1737,1851,2050,2405,2567,2564,2913,3388,2801,1752,1634,2255,3496,4268,4199,4289,4108,3550,3155,3517,4253,3976,3118,2891,2178,2148,2059,1676,1900,2223,1943,2057,2152,1910,1920,1738,1699,1583,1692,2153,2081,1897,1736,1961,2355,2563,2852,2909,3038,2736,2596,2511,2221,2295,2096,2437,2170,1864,2193,2432,3236,3693,3070,3277,2912,1932,1813,1919,1963,2005,1917,1675,1534,1534,1632,2157,3052,3619,3705,2753,1996,2287,2294,2193,1866,1561,1648,2039,2292,2780,2585,2673,3146,2565,2347,2404,2295,2358,2227,2164,2417,2253,1816,1857,2439,2771,2323,1876,2309,2188,1838,2764,2636,1790,1749,1878,1930,1809,1898,1844,1722,1985,1604,1656,1528,1530,1730,2381,2489,1677,1552,1505,1484,1646,1557,1560,1488,1513,1677,1538,1593,1527,1449,1829,1906,1870,1954,1883,1936,1821,2019,2128,1928,2536,2164,1884,2070,2588,2930,2325,1929,1965,2005,2879,3532,2524,2499,2566,2778,2460,2435,2192,1899,1809,2284,2715,2623,2614,2944,2888,2416,2614,2995,2412,2363,3220,3117,2797,2464,2402,2500,2554,2557,2738,2746,2754,2928,2360,1839,1869,2237,2658,2614,2217,2359,2198,2059,2180,2289,2281,2754,2930,2792,2827,2984,2975,2539,2202,2093,2203,2959,3139,3517,2670,2115,1858,1593,2008,2460,2060,2236,2298,2264,2962,2706,3262,2496,2246,2344,2622,2529,1981,1852,2253,2446,2420,2439,2548,2703,2255,1470,1992,2440,2798,2525,2439,2482,2130,1816,1655,1568,1455,1826,1584,2154,2600,2548,2215,1894,1648,1641,2224,2514,1780,1532,1809,1982,2073,2305,2195,1889,2114,1960,1562,1707,2320,2692,2191,2356,2167,2370,3109,2575,2188,2952,3253,3231,3283,3392,3417,3382,3576,3706,3855,3905,3837,3755,3451,3222,3303,3393,3448,2966,2211,1794,2220,3006,2120,2129,2522,2415,2451,2604,2185,1939,2165,2014,1574,1839,2504,2507,2083,2149,3038,2987,2742,2947,2829,2538,2706,2587,1898,1710,2123,2193,1779,1619,1768,1853,1651,1609,1742,1864,2127,2285,2036,1924,2128,1961,1929,2363,2483,2438,2238,2488,2744,2599,2178,2119,1934,2466,3045,2036,1969,2867,3845,3825,3282,2832,2510,2418,2191,1967,2364,3107,3297,2818,2569,2785,3770,3579,3231,3382,2961,2136,2274,2978,3373,3323,2821,2830,3187,2886,3210,3085,3359,3671,3273,3035,2875,2337,2444,2864,2507,1525,1461,1251,1581,1796,2015,2039,2004,1906,1939,2040,2414,2948,2813,2362,1954,2379,2421,1666,1460,1751,1661,1433,1322,1532,1740,1953,2091,2347,2557,2328,1808,1728,1731,2027,2392,2644,1971,1979,2486,2061,1783,1542,1578,1602,1800,2077,2062,1980,2378,2142,2041,2068,1981,2227,2026,2906,3892,3495,2469,1774,2217,2291,2372,2375,2308,2342,2360,2469,2735,2438,2761,3066,2655,2462,2401,2223,2093,1896,2017,1939,1855,1883,1874,1703,1887,1394,1555,1810,1784,1970,2132,1967,1770,2002,1941,1704,2087,2546,2471,2416,2582,3044,2669,1487,1111,1127,1317,1431,1476,1952,2397,1530,1272,1556,1552,1610,2166,2122,1926,2195,2291,2250,2787,3014,2702,2103,1704,1476,1672,1683,1446,1471,1945,2360,2414,2196,2071,1841,1785,1756,1435,1285,1560,2025,2241,3228,3287,2787,3120,3840,3001,1720,1853,2258,2720,2911,2251,1866,1625,1568,1765,1903,2114,2103,2083,2353,2408,2491,2712,2643,1862,1914,1511,1980,2049,2049,1855,1664,1665,1758,2054,1894,1722,1657,1581,1568,1648,2222,1774,1165,1052,1550,1731,1557,1701,1852,1494,1290,1650,1420,1483,2467,2207,1323,1522,1659,1343,1127,1356,1579,2343,1977,1812,2055,1881,1632,1453,1603,1584,1153,1218,1838,1614,1342,1381,1337,1353,1366,1749,2096,1730,1652,1916,1689,1547,1691,1750,1775,1666,1436,1527,2407,2998,2424,1945,2059,2215,2114,1792,1801,1767,1704,2144,1754,1535,1675,1514,1528,1792,1855,1899,1870,1520,1430,1381,1558,1875,2143,2214,2229,1947,2474,3116,3295,3220,2894,2807,2946,3581,3367,2861,2769,3008,2964,2652,2061,1609,2003,2122,1800,1741,1836,1440,1358,1852,1872,1759,1850,1943,1908,1560,1562,1752,1914,1953,1773,1677,1471,1365,1870,2117,2578,2578,2215,2432,2967,2614,2465,2455,2186,2114,1951,1591,1161,1582,2049,1888,1982,2063,2037,2364,3275,3115,2176,2292,2177,2625,3498,2988,2510,2325,2750,2724,2997,2991,2149,2099,2181,2375,2996,3540,3649,3186,3075,2693,2028,2220,2498,3083,3427,2424,1358,1731,2792,3199,3119,2900,2070,1803,1794,2342,2653,2365,2472,2543,2774,3288,3432,3288,2836,2480,2556,2398,2480,2836,2451,1917,1662,1786,2002,2442,2425,2269,2330,2141,2219,2469,3116,3479,3139,3094,2963,2870,2854,2647,2692,2654,2404,2380,2246,2145,2356,2153,1819,2142,2598,2763,2900,2711,2626,2946,2389,2030,2048,1868,2386,3042,2247,1834,2924,3232,2492,2187,3153,2996,2423,2492,2753,2463,2179,2064,2219,2522,2656,2420,2165,2803,2762,2310,1989,1981,1863,1593,1471,2011,2501,2271,2491,3116,2976,2407,2299,2349,1873,2126,2239,2247,2317,2125,1884,1891,2135,2565,2495,2500,3305,3124,2368,2313,2285,2689,2149,1854,2094,2026,1918,1888,1827,1854,1599,1359,1467,1932,1735,1770,1821,1648,1378,1304,1861,2284,2543,2907,2696,2032,1811,1670,2075,1885,1886,1991,1831,1805,1953,2218,2510,2764,3003,2618,2346,3328,2350,1874,1796,1770,2100,2426,2578,2411,1956,1800,1925,1963,2106,2072,2640,2723,2623,3054,2791,2130,2412,3118,2897,3182,3731,3604,3484,3704,3609,3305,2734,2750,3674,4081,3874,3927,4047,4042,3903,3428,3312,3476,3661,3924,3985,3894,3304,2199,2000,2124,1694,1639,1637,1751,1542,1685,1909,2518,2973,2987,2770,2592,2656,2762,3207,3076,3077,3050,3187,3452,3108,3078,2788,2281,1909,1700,1920,2385,2061,1866,2098,1641,1718,1855,1545,1489,2007,2010,2099,2666,2410,2143,1871,1835,1940,2321,2314,2753,2766,2811,3049,2918,2587,2344,2328,2402,2187,1953,2136,2389,2221,2499,2292,1865,2035,2388,2282,2107,2198,2416,2575,2163,1806,1885,2063,2397,2039,1977,2557,2733,2818,3190,2536,1996,2121,2518,1957,1716,2083,2568,2814,2731,2392,2366,2410,2186,2613,2735,2370,2238,2164,2401,2581,2705,3103,3063,2952,3118,2877,3317,3443,2814,2251,2177,2082,2059,2746,3455,3087,2923,2910,2320,2621,3068,3663,3178,2320,2279,2413,2432,2285,2531,3264,3776,3526,3003,2500,2031,2712,3288,2430,2223,1995,2130,2229,2298,2758,3232,3216,3073,2928,2963,3120,2831,3131,3332,3201,2950,2787,2612,2301,2147,2464,3182,3401,3091,2473,2459,2530,2650,2250,1942,1962,2313,2541,2811,2832,2909,2961,2676,2075,2168,1833,2307,2652,2487,2362,2021,2325,2795,2656,2521,2400,2007,2433,2157,2379,2483,2455,2182,1919,1929,2025,2105,2125,1929,1825,2067,2635,2336,2329,2374,2430,2524,2025,1974,2239,2526,2267,1912,2267,2514,2184,2228,2169,2203,2380,2325,2377,2589,2544,2465,2334,2429,2708,2374,2016,2492,2636,2819,2639,2599,3459,4100,3785,3995,4172,3522,3541,3636,3010,2039,2202,2089,1886,1919,1995,1973,1842,1745,1758,1978,2113,2076,2188,2194,2501,2458,1972,1789,1928,2209,2307,2460,2365,1882],[2885,2609,2746,3116,3264,3489,3298,3006,2842,3075,3183,2927,2696,2683,2920,3250,3367,3263,2820,2536,2678,2867,3299,3602,3696,3709,3357,3299,3407,3354,3444,3465,3562,3671,3022,2805,2985,3060,3150,3081,3145,3203,3308,3543,3632,3797,4000,3701,3431,3525,3385,3704,3709,4069,4140,3072,2526,2722,2990,3758,3864,3704,3198,2570,2259,2177,2249,2732,2533,2268,2427,2590,2829,2798,2442,1760,1527,1476,1529,2407,3273,2879,2504,2529,2363,2239,2366,1944,2304,2402,1902,1881,2128,2221,2796,2942,2630,2220,2896,3520,3516,3298,2619,2338,3013,2973,2200,1597,1754,1864,1902,1787,1685,2267,3006,2950,2415,2233,1993,1788,2413,1677,1902,1899,1898,2663,2916,2540,1804,2186,3120,3011,2824,1878,1904,1851,1592,1789,2128,2325,2393,2299,2432,2501,3035,3394,2898,2843,2787,2198,2052,2595,2665,2127,1806,2703,2764,1974,2170,2138,1990,2929,3160,3393,3198,2604,1929,1771,1942,1824,1854,2101,2024,2380,2108,1849,1688,1534,1318,1412,1298,1520,1850,1880,1726,1895,2217,2194,2610,2645,2306,2836,2988,2897,2752,2603,2568,2503,2536,2886,2731,2857,3560,3095,3281,3478,3876,3937,3561,3566,3628,3413,3774,4047,3698,3428,3194,2612,2155,1649,2722,3670,3692,3625,3652,3695,3543,3144,2736,2369,2304,2396,2472,2664,3122,3575,3842,3775,3436,2813,2612,3000,2823,2274,2316,2777,3398,3557,3262,2790,2534,2747,2654,2995,3234,2737,2260,2325,2888,3582,3613,3652,3812,3350,3330,3517,3536,3339,3309,3248,3065,3229,3599,3827,3861,4140,4196,3728,3109,2591,2208,2750,3506,3334,3034,3348,3068,2990,1954,2189,2924,2728,2390,2310,2460,2410,1826,1238,1055,1567,2770,3551,3650,3199,2724,2543,2642,2877,3403,3428,2900,2844,3172,3121,2886,3295,2953,2656,2879,2532,2858,3421,3638,3034,2426,2633,2286,2144,2004,2680,3064,3316,2677,2287,2138,2730,2921,3072,3110,2717,2959,3363,3659,3443,3260,3372,3293,2424,2185,2556,3023,3160,3272,3499,3326,3153,2959,2519,2430,2032,1604,1552,1798,1879,1655,1785,2334,2234,2145,2236,1851,1693,1870,2203,2684,2900,2355,2686,2662,2319,2316,2076,1908,1926,2470,2865,2951,3041,3186,3119,3196,3420,3587,3642,2764,2425,2646,2933,3207,3146,2600,1968,1975,2265,2348,2186,2820,3207,2792,2596,2468,2387,2546,2360,1838,1827,2197,2437,2812,2917,2937,2866,2621,2370,2272,2388,2437,2535,3265,3714,3105,2555,2237,2334,2504,2437,2500,2536,2858,3213,3064,2743,2632,2607,2397,2342,2216,1886,1727,1785,2005,2156,2120,1838,1858,2402,3321,3019,1880,1516,2234,3547,4351,4339,4276,4176,4013,3934,4140,3952,3540,2677,2127,1813,1716,1574,1436,1462,1674,2070,2249,2121,1966,1720,1707,2257,2677,2764,2939,2291,1786,1646,1776,1835,2292,2741,2736,2958,2740,2503,2294,2503,2679,2655,2554,2556,2692,2639,2832,3758,3895,3240,2917,2423,1886,1893,1854,1750,1766,1959,1890,1760,2050,2724,2690,2553,2448,2131,2074,2325,2530,2087,2356,2344,1629,1598,1948,2347,2875,2633,2808,2609,1998,1940,1981,2148,2485,2670,2435,2286,2241,2057,2600,2544,2150,1881,2334,2858,2214,1906,2710,2259,1988,2388,2036,2188,2128,1841,1871,1813,2501,2183,1975,1872,1816,1924,2362,2036,1552,1578,1506,1497,1744,1596,1436,1700,1948,2027,1661,1619,1677,1689,1655,1469,1470,1689,1636,1565,1670,2020,2042,2115,2554,2115,1656,1778,2503,2797,2672,2615,1962,2099,2510,2689,2360,2369,2634,2835,2360,2144,2343,2459,2174,2351,2690,2855,2492,2901,2909,2713,2540,2220,1717,2023,2898,3044,2674,2185,2887,2427,2335,2384,2387,2413,3227,3636,2758,2160,2328,2668,2544,2454,2380,1759,1438,1757,2156,2380,2398,2454,2868,2952,2444,2822,3636,3021,2358,1917,2227,2793,3150,2808,2365,2342,2304,2205,2500,2899,2290,2153,2193,2758,3117,2489,2894,3020,2974,2661,2376,2163,2098,2104,2720,3436,3255,2893,2729,2552,2222,1942,2552,2897,2662,2378,2457,2869,2362,1929,1826,1597,1441,1852,2061,2453,2612,2643,2161,1515,1587,1841,2310,2571,1570,1835,2018,1982,1981,2084,2098,2266,2592,2254,1517,1729,1823,2033,1980,2199,2137,2823,3097,2260,2222,2497,2541,2822,2865,2835,3277,3275,3513,3595,3584,3529,3466,3513,3489,3288,3143,3373,3427,3007,2484,2053,2522,2544,2191,2360,2741,2489,2352,2247,1753,1862,2834,2250,1772,2024,2149,2503,2344,1869,2297,2526,2448,2471,2360,2322,2620,2559,1898,1476,1632,2012,1887,1749,1726,1582,1511,1469,1487,1692,2360,2666,2194,1768,2132,1884,2302,2920,2786,2260,2109,2406,2607,2383,1949,1863,2030,2980,3101,2308,2806,3834,4255,3716,3194,2942,2841,2912,2605,2207,2571,3043,2966,2596,2602,2539,3272,3545,3146,3244,3116,2762,3088,3311,3274,3365,2100,2111,2967,3082,3249,3287,3602,3738,3622,3241,2692,2173,2612,2087,1813,1295,1614,1524,1648,1842,1871,1975,2490,2602,2214,2188,2450,3010,2868,2219,2049,2237,2071,1622,1568,1469,1665,1752,1754,1903,1897,2002,1769,2419,2252,1812,1794,1730,1732,2205,2757,2754,2347,2520,2769,2919,2626,2145,1733,1771,1792,1996,1717,1578,1929,1972,2221,2257,2304,2744,2214,3417,3820,3052,2123,2008,2293,2332,2385,2168,2115,2172,2176,2218,2264,1813,2491,2752,2204,2119,2228,2108,1899,2211,2295,1830,2008,2014,1700,1648,1730,1445,1658,1704,1908,2330,2587,2242,1770,1815,1779,1624,2103,2415,2266,2257,2488,2739,2796,1877,1099,1381,1608,1423,1464,1947,2176,1312,1283,2207,2806,3196,2900,2003,1725,2207,2397,2077,2271,2408,2496,1931,1710,1549,1642,1628,1876,2333,2422,2322,2269,2264,2175,1942,1851,1679,1549,1070,1459,1947,2199,3166,3487,2673,2636,3606,3541,2230,1799,2289,3231,2924,1992,1569,1478,1545,1656,1751,1877,2040,2587,2620,2282,2640,2395,2127,1852,1818,1640,1728,1886,2036,1910,1782,1507,1342,1533,1511,1355,1482,1610,1516,1561,1782,1703,1433,1455,1650,1534,1461,1562,1687,1578,1647,1751,1642,1656,2184,1776,1237,1453,1415,1325,966,1185,1787,2410,1986,1560,1594,1630,1786,1779,1604,1261,1057,1836,2144,1645,1644,1574,1413,1384,1355,1636,1757,1643,1666,1578,1455,1644,1627,1766,1638,1620,1655,1952,2824,3146,2979,2501,2355,2029,1942,1838,1716,1456,1450,2008,1935,1623,1558,1596,1696,1682,1702,1884,1740,1393,1361,1623,1545,1628,1839,1766,1952,1764,2320,3320,3274,2820,2705,2741,2445,2920,2654,2665,2442,2652,2965,2575,1724,1626,1905,1738,1431,1710,1938,1880,1797,1859,1977,1933,1767,2178,2410,2010,2160,2141,2135,2122,1714,1538,1486,1777,2165,2275,2746,2961,2404,2568,2548,2156,2381,2324,2346,2499,2232,1564,1173,1780,2035,1919,1891,1801,1857,2715,4016,3481,2126,2109,2366,2787,4167,4072,2986,2571,3352,3352,2572,2771,2441,2286,2609,2742,3029,3941,4116,3260,2037,1678,2195,2252,2305,2878,3355,2184,1654,1995,3135,3199,2830,2535,2221,2056,2115,2173,2032,1954,2221,2322,2898,3008,2950,2884,2856,2840,2719,2500,2710,3196,2986,2630,2365,2490,2137,2264,2308,1996,2305,2276,1947,2182,3379,3912,3583,3616,2728,2602,2795,3226,3341,2774,2544,2578,2170,2100,2375,2448,2350,2484,2657,2164,2939,2851,2084,2875,2881,2447,2309,2322,2803,2586,1813,2547,3106,3030,2769,2430,3122,2702,2767,2577,2873,3253,2535,2077,2127,2258,2263,2344,2241,2796,2762,2568,2715,2460,1912,1911,1867,1699,1946,2156,2663,3020,2795,1804,2403,2564,2076,1794,2072,2520,2385,2265,2349,2209,2664,2924,2666,3077,3250,2843,2344,2491,2480,2276,1919,1732,1831,1918,1909,1893,1917,1710,1526,1622,2035,2007,1731,1748,1739,1808,1841,1791,2146,2110,2351,2064,1698,1503,1541,1585,1892,1982,1916,2004,2026,2088,2568,2627,2491,2233,2394,2432,2354,2680,1910,1636,1777,1655,1628,1984,2460,2019,1769,1792,2056,2330,2358,1929,2204,2243,2344,2691,2719,2468,2353,2743,2765,2853,3379,3465,3405,3522,3414,3190,2806,2710,3531,3946,3993,3959,3870,3074,2787,2434,2624,3549,4136,3996,3594,3488,3611,2630,1969,1608,1638,1788,1574,1494,1460,1655,1864,2578,2955,2340,2110,2130,2317,2524,2630,2996,3157,3226,3447,3361,3261,3157,2327,1723,1537,1606,2373,2316,2234,2477,2216,1704,1711,1981,1719,1778,2389,2158,1730,2198,2192,2131,2204,2122,2098,2342,2752,3120,2912,2568,2543,2230,1814,1904,2405,2618,2364,2132,2053,2041,1802,1773,1683,1703,2106,2302,1792,1610,1968,2752,2500,2240,2354,2365,2375,2304,2362,2373,2445,2322,2502,2766,2636,2263,2354,2454,2091,2010,2286,2250,2225,2151,1967,1760,2269,2384,2852,2511,2342,2198,1789,2072,2530,2883,3382,3103,2553,2495,2357,2898,3250,2294,2251,2522,2310,2292,2905,2966,2542,2547,2881,2610,2249,2454,3355,3039,2898,2918,2559,2238,2286,2725,3090,3887,3560,2897,2354,1747,2644,2584,2508,2500,2316,2372,2066,2310,2470,2514,2695,2776,2876,2811,2828,2406,2478,2767,2943,3044,3010,2646,2448,2228,2257,2413,2214,2438,2759,2722,2374,2469,2526,2188,2326,2322,2362,2433,2753,3235,2897,2509,2350,2408,2221,2544,2852,2534,2279,2313,2315,2468,2585,2642,2509,2135,2110,1763,2440,2459,2310,2317,2051,1844,1766,1866,2093,2154,2099,2086,2472,2592,2609,2437,2365,2306,2081,1946,1763,1964,2141,1900,2248,2613,2130,1628,1222,1772,2442,2201,2321,2824,2813,2727,2752,2423,2424,2272,1907,2427,2536,2952,2777,2588,3266,3395,2818,3039,3449,2688,2381,2558,2730,2029,2378,2491,2346,2216,2227,1963,1563,1641,1802,2216,2588,2514,2688,2325,2657,2773,2478,2221,2159,2429,2664,2586,2232,1876],[3044,3187,3397,3298,3124,3197,3223,3028,2987,3115,3116,3060,2935,2813,2901,3056,3361,3175,2693,2812,3001,3562,3920,4133,4217,3786,3379,3437,3561,3739,3664,3253,3423,3588,3292,3112,3130,3150,2972,3052,3441,3507,3466,3619,3828,3914,3978,3907,3334,3586,4018,4092,3861,3736,3292,2599,2579,2684,3046,3943,3882,3436,2969,2407,2344,2107,2118,2721,2594,2272,2445,2092,2170,2331,2376,1903,1909,1724,1581,2555,3442,3057,2591,2806,2496,2484,2563,1775,2115,2277,1881,1646,2001,2565,2939,2803,2503,2646,3130,3073,3274,3173,2312,2170,2604,2652,2438,1974,1887,1947,1976,1809,1678,2168,2514,2667,2490,2131,2040,2113,2249,1431,1577,1448,1416,2323,2998,3020,2172,2371,2988,2612,2695,2885,2910,2330,1779,1626,1474,1617,1914,2141,2196,2066,2138,2512,2514,2696,2894,2331,2540,2943,2650,2036,2141,3041,2554,2562,2718,2066,2194,2630,2018,2529,2923,2373,1823,1664,1685,1722,1919,1949,1882,2437,2344,2030,1520,1388,1440,1306,1346,1575,1737,1853,2053,2519,2984,2310,1983,2317,2292,2820,2592,2111,2384,2819,2775,2886,3404,3561,2885,2609,2751,3187,3685,3761,3727,3624,3488,3651,3608,3037,3252,3794,3206,2498,2225,2207,2099,1452,2322,3702,4028,3571,3361,3427,3138,2104,2025,2132,2314,2379,3453,2941,3076,3507,3729,3796,3836,3514,3065,3274,3142,2666,3174,3501,3762,3539,3151,2865,2580,2225,2115,2542,2407,2185,2269,2733,3470,3710,3829,3851,3920,3691,3517,3470,3269,3207,3299,3107,3051,3387,3443,3893,4062,4172,4061,3530,2720,2191,2066,2410,3029,2617,2617,3173,3109,3308,2188,1976,2536,2445,2937,3573,3555,3160,2042,1810,2112,2690,3520,3483,3264,3219,3073,2552,2446,3018,3563,3292,3011,3027,2964,2989,2502,2732,2903,2984,3119,2641,2265,2363,2943,3210,2752,2797,2308,1998,1983,2622,2503,2553,2482,2250,2362,2530,2507,2709,2599,2412,2243,2642,3002,3061,3085,3067,3045,2279,1793,2171,2298,2435,2769,3216,3626,3070,3124,2894,2048,1546,1650,1660,1738,1991,1859,2062,2693,2447,2149,2127,2358,2725,2396,1897,2109,1997,1909,2446,2542,2207,2325,2107,1947,1878,2231,2768,3188,3462,3475,3233,3383,3118,2920,3078,2347,2524,2991,3125,3024,2983,2395,2397,2652,2776,2753,2695,3164,3189,2636,2371,2280,2198,2226,2062,1808,2358,2822,2249,2342,2886,3128,2851,2492,2212,2323,2249,2001,2587,2974,3331,3249,2360,1947,2581,2978,2611,2649,2769,3194,3105,3018,2995,2958,2742,2352,2283,2038,1710,1717,1862,2076,2056,1802,1671,1658,2458,3664,3146,2026,1542,2174,3621,4344,4385,4196,3837,4092,4447,4660,4205,3188,2212,1878,1932,1794,1510,1551,1771,1680,2003,2360,2271,2308,2340,1916,2847,3120,2741,2657,2260,1922,1883,1859,1920,2588,2739,2565,2734,2584,2215,2409,2806,2718,2223,1992,2171,2228,2419,2943,3516,3317,2553,2220,2131,2043,1744,1606,1538,1760,2137,2105,2053,2692,3017,2775,2521,2396,2531,2858,3329,2986,2045,2077,2017,1870,1725,1748,2123,2462,2349,2563,2179,2563,2488,2151,2363,2634,2923,2683,2486,2244,2337,2427,2169,2054,1865,2330,2415,2091,2756,3490,2954,2707,2955,2921,3108,2285,2117,2327,1666,2559,2680,1992,1723,1678,1795,1879,1787,1614,1509,1565,1496,1583,1466,1448,1767,1962,1713,1512,1708,1870,1713,1621,1407,1417,1846,1712,1569,1673,1962,1973,2182,2407,2311,2382,2022,2553,2378,2603,2534,1547,1697,1905,1963,2207,2402,2779,2527,1823,1447,2093,2553,2603,2300,2432,2365,2342,2707,2756,2472,1964,1717,1521,1773,2604,2515,2082,2360,2546,2304,1963,1859,2069,2106,2685,2932,2453,2370,2497,2563,2490,2492,2889,1903,1805,2115,2141,2476,2554,2486,2523,2458,2232,2451,2915,2552,1717,1360,1404,2279,2500,1841,1990,2213,2276,2140,2255,2625,2448,2598,2619,2693,2477,2196,2937,3811,3340,2484,2086,2203,2626,2378,2712,2950,2646,2442,2491,2621,2425,2280,2276,2420,2732,2518,2619,2956,1894,1536,1873,1823,1656,1744,2135,2721,2873,2558,2305,1794,1936,1755,2352,2388,1898,2065,2055,2040,2089,1973,2050,2165,2282,2080,1570,1636,1632,1851,2042,2200,2129,2475,2680,2330,2187,2241,2159,2832,2915,2813,3121,3363,3425,3352,3294,3318,3466,3695,3736,3435,3173,3466,3287,2450,2191,2180,1973,2015,2339,2377,2269,2143,2139,2201,2107,2567,2502,2003,1909,1945,2213,2656,2041,1303,1049,1083,1388,1477,1208,1402,1719,2413,2316,1804,1573,1886,1771,1714,2000,1810,1550,1670,1516,1391,1890,2194,2053,2165,2128,1989,2580,3167,2530,1559,1735,2523,2779,1983,2004,2378,2707,3119,2789,2531,3128,3574,3802,3635,3286,2510,2177,2116,2368,2882,3642,3771,3584,3606,3352,2908,3097,3402,3627,3775,3283,2661,3298,3565,3233,3459,2890,2804,3165,3378,3408,3408,3462,3393,3045,2274,2208,2245,2724,2429,1977,1385,1513,1671,1652,1818,1856,1831,2831,3062,2301,1966,2657,2990,3017,2377,1971,2170,1904,1960,2034,1416,1876,2079,1972,1849,1896,1800,1907,2821,2570,1855,1735,1719,1896,2674,3276,2920,2626,2499,2676,3348,3405,3432,3131,2675,2320,2401,2376,2357,2402,2396,2442,2297,2535,2201,2330,3397,3182,2333,1801,2039,2231,2352,2362,2084,1861,1846,2036,1903,2310,2085,2382,2552,2271,2052,2067,2136,2048,2052,2048,1982,2225,2049,1750,1492,1348,1395,1589,1652,1859,2283,2292,1864,1580,1748,1771,1685,2169,2641,2701,2457,2133,2315,2541,1691,1378,1917,1879,1475,1738,2408,1816,1236,1476,2610,3183,3200,2503,1474,1498,1877,1801,1814,2199,2206,2053,1789,2285,2082,1563,1723,2298,2473,2226,2072,2051,1987,2086,2003,1883,1679,1398,1395,1873,2023,2172,2767,2985,2281,2296,2950,2567,1969,1927,1782,2479,2342,1657,1343,1187,1287,1506,1912,2010,2025,2359,2082,2520,2712,1861,1699,1890,1914,1858,1608,1456,1337,1691,1978,1682,1452,1596,1558,1739,1708,1556,1525,1395,1425,1704,1563,1431,1394,1481,1558,1603,1753,1853,2010,1919,1572,1492,1669,1717,1584,1642,1635,1799,1353,1248,1517,1786,1462,1359,1467,1744,1836,1818,1778,1611,1477,1772,1541,1453,1586,1755,1657,1522,1442,1384,1644,1600,1532,1539,1573,1673,1403,1652,1701,2037,2215,2481,2691,3064,3592,2803,2136,1812,1992,2371,2205,1961,1657,1985,2138,1680,1396,1346,1484,1534,1741,1751,1571,1454,1381,1836,1865,2194,2116,1765,2011,1890,2124,2800,2610,2764,2873,2642,2445,2423,2457,2630,2785,2820,2818,2468,2044,2157,2198,1888,1743,2092,1879,1895,1886,1853,2059,2204,1869,1990,2450,2277,2302,2696,2642,1966,1594,1653,1629,1981,2411,2411,2607,2643,2464,2459,1695,2013,1708,1610,2000,2343,2010,1642,1800,1801,1909,2484,2812,1947,1989,3394,3621,2510,1848,1948,2167,2597,3328,3277,2376,1699,2122,2142,1971,2362,2342,2479,2742,2718,2852,3278,3420,2522,1891,2366,2455,2145,2458,2232,2208,1870,2266,2654,2668,2352,1945,2309,3003,2578,2193,2158,2366,2343,2299,1948,2146,2281,2477,2641,3061,3135,2831,2912,2467,2466,2469,2610,2398,2140,1837,1998,2230,2142,1851,1770,2003,2109,3198,3898,3569,3300,2700,2010,2531,3115,2971,2295,2561,3053,2820,2749,3002,2554,2243,2386,2567,2513,3113,2879,2218,2467,2383,1970,1958,2166,2469,2118,1884,2933,3043,2652,2423,2720,2956,2782,3001,2796,2813,3109,2482,2563,2282,2124,2258,2458,2352,2614,3021,3038,2658,2024,1787,2417,2217,1712,1672,1439,2145,2540,2921,2116,1968,2023,1846,1485,1731,1992,2182,2581,2533,2160,2338,2458,2707,3232,3129,2557,2230,2221,2030,1910,1924,1541,1755,1945,1798,1991,2213,1987,1842,1942,1929,1769,1847,1860,1986,1871,1661,1506,1776,1621,1634,1659,1745,1707,1841,1856,2064,2353,1988,1856,2390,2322,2590,2721,2511,1918,2276,2442,2494,2278,1294,1087,1419,1757,1572,1606,1959,2029,1349,1577,2040,2104,2139,2030,1923,1707,2327,3044,3784,3341,3012,3397,3369,2954,3333,3474,3219,3528,3429,2863,2391,2382,3340,3773,3869,3507,3090,2243,2382,3286,3835,4080,4279,4051,3917,3685,3702,2955,2130,2129,2150,1722,1497,1639,1797,1660,1345,1935,2505,2139,2264,2587,2542,2279,2300,2634,2821,3085,3091,2323,2303,3417,3156,1925,1935,2099,2053,2062,2241,2194,2295,2029,1713,1758,1803,1719,1903,2053,2466,2954,2669,2416,2285,2112,2321,2705,2976,3134,2602,2378,2501,1608,1520,2258,2466,2167,2126,2104,2024,1949,1729,1798,1751,1691,1895,2111,1796,1837,2449,3119,2711,2648,2654,2503,2375,2614,2568,2149,2002,2098,2272,2456,2017,1561,2002,2398,2292,2312,2441,2521,2524,2035,1880,2020,2214,2319,2841,2655,2453,2050,1814,2075,2259,2666,3273,3325,2642,2137,2185,2237,2831,3110,3073,2846,2445,2557,2676,2257,2307,2210,2744,2425,2071,2294,2492,2700,3150,3196,2764,2253,2409,2852,2559,3119,3451,3301,2257,2178,2894,2566,2461,2141,2093,2601,2044,1814,2205,1969,1841,2431,3024,3197,3099,2487,2218,2180,2017,2263,2520,2546,2677,2187,1936,1980,2022,2123,2328,2307,2172,2485,2533,2147,2623,2585,2174,2272,2958,3152,2678,2644,3020,3196,3020,2831,2554,2171,2561,2335,2210,2392,2228,2195,2516,2281,2154,1792,1796,1801,1724,1826,1891,1644,1638,1800,2182,2396,2380,2100,2322,2814,2724,2168,2171,2210,1867,2173,2025,2284,2622,2070,2313,2735,2509,1483,757,1408,2177,2101,2400,2662,2322,2640,2998,2558,2658,2446,2382,2646,2536,2811,2711,2823,3210,2346,1572,2338,2352,1898,2004,2692,2530,2398,2778,2584,2310,2159,2251,1727,1521,1796,1938,2498,2695,2575,2465,2402,2968,3304,3106,2670,2503,2751,2688,2555,2245,2332],[2807,3307,3526,3161,2677,2560,2752,2872,3039,2998,2837,2835,2889,2754,3055,3322,3483,2662,2546,3085,3708,3915,3692,3713,4016,3694,3238,3381,3540,3803,3572,3107,3331,3625,3876,3471,2908,3001,3407,3537,3777,3714,3458,3407,3827,3746,3627,3426,2662,3181,3986,4228,4296,3674,2400,2342,2588,2742,3108,3373,3188,2609,2297,2272,2116,1962,2552,2988,2946,2551,2762,2923,2864,2773,2459,1813,1886,2014,2078,2416,2555,2566,2415,2552,2319,2284,2126,1962,2195,2257,2414,2698,3112,3234,2666,2167,2121,2469,2912,3044,2531,2995,3133,3001,2925,3039,3207,3024,2477,2296,2464,2301,1624,1643,1862,2064,2578,2477,2198,2272,2250,1750,1790,1890,1865,2241,2604,3300,3355,3121,2950,2589,3184,3632,3372,2930,2554,2306,1759,2052,2396,2163,2226,2052,2046,2106,2337,2637,2686,2623,2904,2925,2337,1871,2510,3041,2866,3090,3077,2240,2499,2622,2081,2407,2567,2199,1765,1767,1917,1567,1577,1686,2208,2670,2524,2700,2270,1764,1739,1787,2178,2440,2303,2493,2405,2655,3106,2549,1386,1899,2855,3020,2486,1721,2018,2647,2894,2831,2685,2327,1914,1998,2584,3184,2758,3141,3658,3458,3286,2941,3210,3140,3420,3641,2394,1786,1782,2156,2189,1989,2352,2910,3305,3019,2735,2341,2292,1940,2271,2504,2627,3097,3923,4167,3906,3552,3702,3628,3669,3710,3470,3105,2810,3192,3539,3570,3482,3261,3262,3073,2656,2394,2128,1995,2227,2740,3322,3470,3563,3693,3808,3739,3758,3424,3238,3307,3415,3245,3180,3190,3254,3331,3455,3840,3794,3525,3288,3210,2920,2316,2070,2214,2880,2555,2721,2805,3488,3816,2648,2038,2138,2263,2832,3182,2670,2096,1867,2328,2665,2808,3209,3230,2779,2736,2611,2282,2705,3116,3273,3037,3371,2962,2597,2996,3141,3158,2700,2468,2618,2567,2186,1931,2390,2798,2832,2302,2133,2025,2051,1943,2103,2584,2430,2034,2266,2406,2553,2057,2072,3087,2306,2470,3056,3450,3513,3231,3074,2533,1863,2178,2295,2388,2624,2710,2853,2485,2787,2638,1959,1798,1818,2025,2432,2031,1825,2320,2722,2467,2157,2332,2513,2998,2778,2120,2050,1941,2230,2523,2866,2545,2151,2117,2418,2477,2770,3286,3377,3196,3032,3209,3244,2087,1794,2347,2043,2383,2899,3039,2894,2721,2623,2630,2442,2548,2610,2579,3311,2941,2216,2051,2082,2118,1923,1798,1769,2810,3207,2363,2330,2370,2934,2851,2646,2305,2627,2483,2173,2266,2372,3233,3283,2288,2258,3043,2685,2376,2275,2460,2497,2751,2637,2222,2014,2186,2214,1793,1680,1592,1726,1719,1739,2022,2012,1706,1715,2853,3714,3011,2074,1604,2119,3630,4302,4428,4364,4071,4265,4551,4560,3916,2542,1801,2020,1995,1581,1653,2019,2087,2283,2302,2354,2022,2325,2497,2183,2451,2257,2068,2702,2732,2003,2022,2371,3142,3244,2912,2952,3047,2456,2194,2151,1983,2272,2250,2084,2209,2128,2590,2963,2849,2511,2159,2011,1919,1860,1715,1606,1550,1592,1779,2089,2139,2582,3187,2955,3198,3384,2841,2301,2944,2957,2150,1959,1900,2458,2742,2206,2206,2142,1991,2018,2487,3376,2762,2076,2603,2586,2103,2045,2469,2434,2442,2122,1871,2555,2953,2490,2071,2013,2603,3119,2677,2641,2654,3053,2438,2150,2570,2076,1805,2127,1792,1560,1470,1470,1611,1666,1600,1470,1694,1721,1546,1452,1522,1584,1672,1633,1453,1440,1588,1641,1619,1538,1445,1382,1742,1829,1559,1678,2041,1911,2237,2398,2592,2427,2270,2532,2377,2457,2137,1497,1453,1756,2246,2502,2808,2589,2118,1825,1699,2313,2614,2807,2266,2120,2345,2248,2122,2398,2048,1362,1572,2054,2368,2332,1873,2177,2896,2680,2276,2078,2481,2982,2288,2302,2152,2368,2184,2336,2441,2399,2601,2858,2507,2187,1741,1649,1940,2005,2041,2169,2328,2327,2067,2200,2328,1924,1532,1291,1993,2232,1675,1974,2573,1945,1273,1390,1498,1688,2036,2319,2397,2305,2313,3073,3896,3626,3023,2337,2503,2800,2100,2214,2479,2547,2579,2640,2597,2706,3041,3273,3574,3370,3145,2989,2148,1288,1128,1575,1911,2078,1986,1953,2544,2424,2302,2319,2118,1953,2116,2305,1819,1731,2021,1738,1771,2262,2198,2066,2132,2118,1860,1727,1758,1825,2039,2352,2846,2647,2049,1894,1670,1649,1786,1824,2681,2888,2829,3146,3421,3516,3515,3377,3420,3396,3494,3475,3425,3479,3725,3175,2394,2206,1957,1901,2360,2332,2308,2505,2763,2307,2468,2235,2331,2074,1947,2065,2076,2301,2366,2084,1730,1273,1248,1583,1466,1160,1917,2222,2184,2051,1832,1556,1433,1686,2549,2359,1729,1728,1759,1670,1772,1978,2070,2152,1978,1937,2103,2591,3234,3054,2424,2360,2951,2807,2184,2498,3106,3280,3256,3019,2939,2900,3008,3151,3017,3310,2111,1831,1755,1791,2435,3458,3784,3459,3533,3471,2732,2739,3184,3414,3576,3283,2729,3329,3625,3532,3299,3207,3377,3410,3610,3365,2944,3050,3472,3483,2624,2213,2920,3033,2536,1882,1570,1757,2002,1748,1814,2086,1836,2254,2219,2211,1994,2733,3081,3000,2608,2217,2157,2037,2042,2112,1732,1782,1708,1733,1559,1280,1279,1900,3038,2718,1801,1752,1766,1976,2943,3167,2726,2543,2436,2554,3218,3379,3162,3153,3129,3232,3582,3728,3332,3233,3235,3035,2531,2504,1957,2701,3228,2756,2568,2219,2150,2119,2349,2098,1804,1651,1863,1908,1855,2106,1838,1841,2116,2182,2008,1991,2344,2091,2025,2157,2135,2170,1753,1565,1522,1384,1351,1451,1393,1443,1691,1836,1764,1551,1654,1622,1862,2155,2632,3312,2990,1878,1840,1871,1349,1356,1589,1518,1440,1785,2523,1890,1364,1645,2351,3110,3233,2690,2161,1843,1709,1757,1967,2284,2273,1837,1947,2563,2544,1825,1362,1942,2482,2380,2092,2219,1956,2256,2072,1906,1713,1398,1622,1700,1641,1752,2144,2004,1895,1993,2280,2324,2935,3052,1763,1598,2129,1920,1402,1198,1691,2508,2734,2415,1949,1867,2254,2500,1816,1492,1796,1919,1985,1853,1468,1124,1754,2824,2858,2082,1626,1439,1595,1789,1366,1327,1421,1366,1309,1716,1678,1640,1553,1639,1694,1537,1675,1989,2069,1894,1598,1477,1525,1870,2212,2119,1758,1537,1379,1493,1588,1378,1307,1491,1552,1888,1686,1575,1681,1750,1950,1796,1520,1444,1424,1476,1578,1810,1816,1991,2273,1633,1255,1277,1560,1540,1520,1649,1601,1985,2380,2310,2455,2868,2766,2376,2003,2266,2353,2352,2400,2371,1963,1793,1751,1664,1561,1573,1900,1705,1839,2076,1903,1548,1447,1711,1837,1992,1997,1804,2181,2217,2143,2351,2458,2442,2349,2692,2612,2467,2584,2816,2551,2379,2540,2458,2121,2333,2486,2105,1904,1852,1729,1825,2163,2089,1805,2026,1917,1909,2427,2170,2259,2504,2047,1724,1648,1460,1985,2909,2439,1928,2014,1863,2057,2124,1853,2120,1784,1715,2124,2269,1888,1922,2020,1753,2237,2923,3449,2172,1994,3125,2929,1937,2042,2130,1861,2180,2491,2292,1936,1521,1839,1901,2011,1926,1980,2089,2285,2634,2692,2562,2202,1998,2232,2160,2163,1813,1901,2546,2700,2492,3088,3144,2657,2375,1801,2553,3109,2585,2521,2009,2091,2353,1894,2092,2634,2300,2291,2535,2501,2632,3010,2584,2326,2314,2338,2346,2502,2562,2489,2492,2409,2470,2374,2320,2500,2552,2742,2909,2751,2730,2851,2482,2509,2257,2088,2460,2545,2655,2636,2703,2730,2229,2037,2316,2139,2400,2908,2847,2647,2345,2010,2026,2287,2442,2605,2354,2591,3440,3362,2504,2383,2555,2688,2556,2485,2824,2362,2201,2178,2601,2196,2110,2283,2010,1967,2237,2389,2083,1752,1725,2332,2865,2034,1838,1427,1694,2396,2514,2620,2645,2559,2397,1938,1699,1925,1925,2063,2688,2431,1854,1938,2456,2403,2758,3186,2713,2260,1863,1739,1802,1842,1575,2083,1944,2019,2217,1842,1664,2075,1971,1664,2242,2189,1908,2035,1827,1643,1766,1651,1464,1426,1470,1589,1869,1889,2068,2260,2290,2128,2046,2358,2527,2428,2373,2270,2228,2290,2184,2349,1969,1309,1262,1594,2190,1706,2024,2199,2127,1636,1677,2008,2291,2489,2309,2227,1843,2381,2997,3460,3062,2743,3056,3459,3494,3589,3060,2949,3698,3543,3132,2888,2157,3231,3926,4020,3260,2597,2729,3262,3896,3995,3851,4060,4063,3946,3694,3780,3583,2800,2809,2585,1754,1638,1764,2224,2309,1621,2128,2975,2706,2966,3118,2890,2634,2653,2880,2692,2424,2115,1745,1793,2916,3033,2563,2751,2164,1887,2098,1897,1941,2266,2080,1774,1795,2154,2368,2455,2374,2062,2381,2366,2092,2112,1823,2159,2754,2844,2950,2784,2973,3348,2678,2979,2999,2236,2093,2238,2136,2437,2250,1901,1819,1737,1914,2251,2009,2324,2796,2855,2888,2622,2342,2335,2248,1990,2221,1902,1863,2156,2238,2206,2331,1752,1306,1919,2395,2132,2002,2093,2377,2728,2468,2490,2503,2260,2362,2758,2750,2314,2245,2641,2459,2264,2310,2754,2996,2502,2339,2406,2534,3222,3693,3658,3229,2612,2499,2070,1975,1815,2055,2631,2438,2501,2779,2699,2396,2347,2583,2590,2500,2304,2174,2249,2662,2789,2930,2294,2388,2820,2718,2764,2624,2776,2844,2510,1690,1611,1570,1800,2507,2574,2596,2670,2184,2231,2214,1515,2169,2531,2593,2781,2485,2286,2233,2130,2356,2460,2362,2388,2270,2467,2298,2901,2996,2474,2349,2714,3066,2821,2292,2380,3023,3055,2369,2388,2345,2462,1519,1298,1838,1599,1506,2041,2302,2190,2045,2112,1903,1653,1624,1613,1882,1766,1842,2038,2331,2586,2764,3015,2853,2529,2348,2402,2039,1465,2069,2291,2455,2218,1733,1924,2346,2404,1910,990,1303,2129,2098,2403,2174,2335,3029,2874,2776,2851,2547,2890,3049,2756,2225,2311,2645,2680,1436,1060,2049,2268,2064,2246,2569,2126,1980,2288,2159,2018,1981,1948,1689,1542,1759,2046,2953,3113,2957,2735,2587,2775,2937,2819,2208,1896,2212,2480,2319,2170,2690],[2413,2773,2946,3028,2668,2211,2189,2599,3075,3121,3122,3038,2876,2678,3187,3374,2574,2312,2909,3871,4309,4221,3842,3545,3686,3707,3494,3531,3620,3749,3620,3438,3528,3416,3033,2766,2604,3066,3619,3605,3685,3561,3451,3471,3662,3477,3220,3134,2775,2535,2863,3773,4002,3410,2400,2479,2655,2543,3120,3511,3437,2852,2519,2706,2261,2074,2195,2350,2453,1922,2612,3320,2930,2988,2847,2126,2217,2556,2790,2864,3060,2332,2126,2004,2224,1952,1750,2138,2398,2541,3262,4034,4372,3909,2656,2018,2190,2400,2687,2790,2169,2525,2841,2876,3391,3663,3641,3350,2609,2640,2408,2416,1977,1968,1892,2134,2637,2521,2281,2469,2753,2519,2476,2527,2615,2441,2545,3060,3549,3522,2931,2586,2920,2748,2633,2608,2122,2222,1752,2216,2325,2199,2452,2223,2221,2180,2360,2746,3111,3153,2734,2321,2387,2181,2511,2604,2715,3035,2972,2191,2231,2175,2002,2500,2458,2514,2358,1927,1814,1648,1652,1912,2113,2345,2723,3241,3151,2730,2577,3159,3518,3362,3045,2889,2208,2667,2987,2269,1460,1521,1780,2228,2850,2646,1959,2348,3155,2747,2316,2256,2094,2027,3044,3255,2514,3174,3770,3604,3550,3264,3383,3307,3223,3499,2400,1620,1720,1954,2083,2169,2040,2283,2920,2590,2470,2049,1732,2262,3001,3376,3415,3493,3835,4216,3800,3470,3792,3027,3351,3615,3606,3294,3435,3598,3641,3549,3117,3117,3267,2984,2853,2686,2598,2597,3345,3686,3897,3912,3886,4002,3535,3227,3443,3312,3239,3429,3385,3098,2925,3113,3154,3109,3545,3791,3565,3360,3062,2806,2545,2591,2509,2240,2558,2721,2758,2501,2841,3348,3263,2511,2046,2037,2435,2197,1847,1761,1946,2448,2515,2364,2623,2269,1680,1877,2227,2455,3113,3022,2968,3228,3334,3028,2737,2191,1982,1823,1727,2271,2346,2178,1849,1591,1892,2246,2945,2840,2178,2588,2881,2404,2859,3288,2791,2499,2399,2023,2041,2033,1995,2647,2592,2530,3011,3606,3774,3630,3317,2799,2259,2373,2342,1966,2098,2177,2525,2511,2641,2617,2114,2039,1825,2337,2856,2256,2149,2630,2784,2329,2714,3156,2839,3122,3185,2785,2071,2203,2741,2614,2742,2615,2220,2192,2411,2563,3239,3848,3587,3222,3216,3288,2942,2022,1790,2032,1995,2464,2825,2727,2661,2757,2618,2759,2446,2320,2361,2325,2951,2563,2360,2220,2145,2381,2345,2098,2283,3052,3013,2734,2548,2017,2239,2663,2795,2667,2690,2476,2545,2749,3206,3548,3422,2966,2951,3095,2719,2026,1891,2303,2035,2020,2058,1787,1795,2135,2128,1624,1621,1647,1699,1648,1943,2551,2470,1948,1725,2155,2498,2543,2011,1570,1856,3291,4179,4260,4046,3671,3698,3752,3216,2501,1973,1793,1772,1897,1617,1576,1910,1702,2027,2147,2144,1897,2569,3333,3233,2547,2003,1989,2390,2800,2126,2245,2178,2483,3086,2951,2887,2713,2165,2118,2003,1931,2219,2380,2181,2234,2127,2277,2265,2103,1889,1834,1745,1650,1609,1708,1767,1678,1623,2035,2031,2035,2115,2833,3066,3396,3637,2640,1923,2221,2129,2332,2228,2319,2439,2902,2609,2355,2201,2150,2231,2862,2891,2414,2210,2296,2156,1895,2275,2475,2557,2351,2326,2251,2735,2543,1938,1844,2165,1977,2188,2760,2712,2227,2277,2212,2447,2292,1935,2579,2155,1581,1470,1461,1361,1521,1872,1848,1792,2038,1913,1713,1671,1632,1617,1732,1579,1450,1637,1588,1422,1365,1537,1779,1444,1390,1847,1940,1854,1995,1883,2419,2064,2130,1904,2478,2562,2283,1796,1920,2268,1881,2227,2548,2712,3039,2007,1961,1878,2000,2535,2990,2977,2795,2836,2455,2200,2272,2153,1849,1482,1486,2231,2177,1747,1715,2337,3087,2997,2446,2300,2612,3186,2023,1765,2057,2517,2352,2109,2104,2222,2371,2422,2287,2191,2119,2164,2038,2063,2663,2410,2522,2566,2243,2153,2191,2588,2490,1851,1842,1739,1549,1658,2041,2008,1717,1779,1904,2018,2424,2490,2326,2290,2576,3062,3698,3683,3074,2311,2373,2544,2380,2632,2868,2569,2338,2609,2566,3123,3347,3006,2830,3056,3188,2802,2413,2206,1857,1786,2104,2066,1897,2126,2401,1775,2019,2308,2810,2684,2298,2120,1868,1828,1749,1238,1685,2193,2258,2327,2634,2264,1804,1839,2170,2328,2184,2656,3390,2720,1888,1664,1504,1463,1930,2058,2296,2667,3027,3282,3221,3269,3329,3415,3516,3365,3349,3351,3373,3190,2854,2398,2257,2471,2381,2272,2354,1999,1972,2154,2080,1809,1795,1694,1765,1902,1973,1997,1917,2164,2428,2535,2218,1918,1880,1743,1617,1550,1795,1835,1677,1587,1557,1643,1538,1601,2217,1760,1565,1570,1660,1945,2024,1816,1934,2055,1969,2414,2758,3229,3337,3098,2735,2769,3147,2375,2022,2379,2822,3056,3320,3505,3151,2483,2303,2292,2598,2943,2184,1819,1721,2035,2661,3175,3488,3471,3113,2675,2610,2998,3015,2856,3005,3163,3204,3638,3978,3687,3017,3287,3426,3340,3630,3318,3309,3287,3359,3194,2426,2431,2766,2469,2096,1861,1729,1781,1736,1659,1912,2014,1794,1974,2242,2224,1843,1985,2276,2164,2229,2157,1974,1811,1567,1664,1755,1644,1693,2069,1722,1353,1556,2460,3142,2173,1663,1662,1720,2272,2741,2872,2690,2587,2686,2779,2905,2853,2689,2745,3006,3045,3257,3519,3077,2874,2998,3069,2808,2707,2494,3040,2813,2140,2217,1907,1832,1935,2004,1863,1843,1953,2158,1738,1961,2453,2073,1910,1836,1893,1961,2036,2372,1941,1959,2106,2091,1848,1510,1429,1465,1482,1519,1564,1460,1538,1710,1664,1509,1479,1521,1488,1557,1634,1846,2339,2669,2625,2591,2183,1475,1340,1470,1392,1274,1690,2243,1678,1300,1698,2507,3173,3974,3681,2908,2246,2470,2364,1982,2111,1758,1525,1942,2166,2366,2236,1440,1652,2674,2485,1865,1913,2204,2479,2196,1976,1757,1533,1588,1609,1543,1597,1470,874,1119,1743,2002,2481,3274,3310,2503,1669,1231,1681,1516,1088,1880,2630,2496,2664,2392,1896,1809,1515,1420,1700,1733,1811,1830,1757,1853,2041,3188,3672,3620,2714,1764,1433,1521,1583,1264,1455,1475,1534,1441,1571,1727,1686,1449,1917,1920,1207,1387,1688,1711,1479,1396,1416,1424,1867,2137,2177,1998,1586,1496,1714,1685,1656,1670,1526,1749,1710,1526,1438,1235,1492,1830,1680,1798,1781,1711,1667,1814,2010,2022,2227,1948,1395,1558,1805,1875,1841,1854,1742,1623,1682,1738,2018,2353,2833,2533,2149,2155,2214,2136,2127,2219,2294,2137,1838,1765,1599,1599,1725,1937,1741,1731,2310,2222,1725,1768,2181,2761,2755,2138,1996,2238,2244,2147,2228,2533,2069,2135,2381,2263,2472,2761,2656,1991,2154,2699,2787,2271,2388,2211,1727,1640,1775,1915,2115,2514,2324,1895,1900,2180,2518,2642,2169,2446,2213,1743,1701,1630,1481,2089,2939,2650,2147,2211,1913,2167,2222,1839,1695,1847,1886,2180,2544,2448,2244,1787,1942,2156,2074,2398,1694,1523,2040,2081,1882,1880,1717,1899,2082,2229,2182,1746,2193,3115,3472,2959,2242,2043,2194,2622,2769,2225,2030,1944,2478,2551,2400,2154,1872,2301,3942,4189,2918,2613,2635,2436,2384,2114,1981,2209,2436,2589,2312,2039,2001,2206,2906,2952,2276,1975,2438,2833,2403,2086,2061,2958,2784,2222,2197,2495,2851,2864,2680,2713,2868,2895,3016,3162,2985,2873,2894,2669,2431,2541,2576,2403,2475,2674,3108,2398,2273,1958,2384,2712,2183,2298,2299,1740,2068,2454,2105,1965,2038,2603,2800,2507,2291,2460,2764,3030,3812,3422,2292,2291,2922,2646,2412,2714,3517,2284,1720,2143,2155,2004,1697,1731,1858,1921,2154,2136,1996,2032,2014,2387,2451,2374,2200,1902,2416,2662,2234,2036,2547,3044,3053,1940,1639,1825,2193,2271,2518,2184,1854,2174,2357,2240,2742,2334,1948,2120,1951,1638,1559,1697,1770,1974,2041,1810,1700,1759,2164,2600,2058,1896,2476,2296,2042,1789,1858,1821,1872,1864,1704,1656,1804,1970,2233,2035,1990,2021,2291,2502,2260,2102,2042,2119,2358,2175,1851,1611,1925,2201,2028,1850,1918,1874,1942,1717,2339,2443,1931,1643,1919,2230,2678,3023,2792,2662,2633,3043,2762,2933,2954,2896,3208,2987,3152,3698,3327,3074,3352,3367,3182,3026,2214,3067,3969,3780,3538,3448,3724,3880,3960,3918,3814,3951,3883,3753,3587,3753,3762,3146,2765,2402,2026,1888,1366,2094,2920,2721,3208,3349,3098,3242,3087,2929,2764,2444,2141,1692,1463,1648,2120,1863,1325,1775,2463,2375,2178,2112,1863,1554,1607,1755,1885,2106,2556,3050,3416,3536,2851,2048,2415,2215,1694,1930,1892,2156,2107,1976,2144,3044,3049,3048,3210,3806,3365,2320,1958,1998,2358,2988,2397,2051,1820,1762,2260,2171,1749,2684,3371,2766,2156,1860,2310,2522,2387,2029,2224,2033,1998,2025,2104,2399,2411,1958,1869,2313,2663,2706,2492,1964,1780,2160,2504,2790,2741,2488,2519,2482,2564,2481,2686,3094,2147,2175,1956,1857,2172,2542,2453,2312,3006,3513,3609,3626,3073,2834,2475,1994,1787,2072,2752,2801,2388,2087,2337,2646,2108,2392,2157,2043,2407,2324,1990,2059,2514,2495,2057,1847,2232,2698,2668,3185,2754,2762,3107,3001,2262,1732,1692,2095,2837,2969,2657,2618,2383,2507,2486,1858,2863,3042,3263,3531,2840,2464,2463,2294,2593,2784,2581,2565,2287,2224,2132,2686,2456,2050,2104,2462,2862,2707,2192,2242,2339,2155,2424,3105,2417,2360,1978,1474,1212,1411,1834,2076,2247,1860,2000,2222,2118,1815,1563,1744,1836,1646,1827,1964,2263,2320,2642,3057,2633,2260,1943,2108,2175,1785,2289,2268,1936,1947,2016,2060,2144,2363,2314,1926,2286,2679,2686,2685,2705,2790,2645,2585,2935,2851,2592,3002,2975,2585,2120,2224,2014,2296,1776,1161,1744,2115,1844,1907,2146,1881,2088,2015,1847,2072,2111,1963,1812,1559,1788,2464,2624,2574,2908,3018,2820,2888,2990,2561,2185,1898,2125,2622,2785,2674,2823],[2564,2622,3030,3460,3553,3284,2700,2473,2751,2807,3077,3222,2920,2831,3552,3316,2620,2942,3582,4285,4524,4308,4070,3919,3837,3883,4134,3921,3686,3451,3229,3221,3378,3109,2798,2731,2896,3504,3455,3374,3421,3377,3486,3453,3486,3350,3127,3094,3034,2744,2580,3064,3064,2819,2771,2683,2590,2401,2842,3174,3107,3094,2996,2966,2183,2145,2453,2767,2482,2214,2614,2932,2732,2790,2964,2590,2591,2634,3252,3156,3100,2292,2286,2275,2338,1997,1827,2376,2427,2491,3228,3695,3942,3354,2080,1590,2024,2656,2908,2395,1835,1877,2098,2579,3480,3760,3715,3530,2924,2916,2691,2648,1993,1903,2088,2101,2420,2553,2588,2639,2852,2561,2648,2763,2817,2937,2784,2942,3271,3156,2830,2943,2955,2654,2497,2411,2202,2154,1493,1359,1748,2652,3187,2968,2339,1833,2330,2788,3304,3256,2543,1555,1720,2363,2972,2708,2390,2601,2630,2146,1993,1933,2128,2461,2141,2253,2435,2130,1830,1771,1936,2293,2419,2275,2602,2964,3185,3701,3659,3834,3422,3023,2735,2198,2315,2668,2162,1885,1955,1867,1992,2602,3576,3599,2212,2274,2404,2181,2518,2894,2541,2328,2863,3139,3196,3089,3122,3173,3166,3109,3312,2963,2764,3210,2470,1465,1820,2408,2352,2231,1999,2563,2722,2768,2570,2285,2005,2508,3461,3838,3703,3695,3848,3798,3423,3345,3173,1848,2453,3264,3254,3472,3881,3695,3804,3950,3242,3231,3228,2957,2918,2718,3098,3602,3891,3836,3952,4277,4304,3991,3611,3504,3385,3428,3283,3234,2939,2476,1989,2576,3154,3134,3408,3543,3394,3493,3006,2435,2580,3318,3247,2476,2008,2221,2718,2691,2332,2820,2958,2491,2115,1704,2249,2242,2102,1907,1624,1976,2054,1918,2178,2038,1804,1900,1992,1822,2276,2328,2262,2353,2521,2690,2301,1730,1688,1732,1804,2179,1802,1952,1967,1622,2042,2820,3198,2861,2674,3212,3120,2689,3082,3211,2943,2995,2663,1959,1760,2161,2146,2317,2414,2402,3073,3688,3701,3654,2898,2287,2357,2535,2374,2203,2404,2516,2368,2249,2640,2387,2180,2267,1936,1851,1996,2308,2750,3252,3204,2900,2752,2683,3460,3683,3118,2729,2361,2417,2563,2271,2370,2260,2221,2383,2412,2697,2822,2906,2912,2764,2854,2830,2604,2396,2456,2247,2122,2436,2435,2496,2864,3052,2426,2452,2218,2041,2148,2250,2534,2502,2596,2320,2106,2383,2224,2251,2322,2547,2708,2812,2220,2178,2535,2871,3006,3168,3051,2776,2891,3374,3666,4035,3676,3193,3006,2852,2260,1750,1673,1708,1687,1902,1722,1604,1608,1712,1794,1698,1722,1704,1750,1662,2186,2632,2282,2088,1882,1914,1836,2388,1948,1514,1814,3176,3845,3833,4351,3886,2840,2281,1833,1721,1836,1758,1830,2192,1760,1448,1866,1734,1894,2198,2137,2126,2610,3461,3842,3190,2392,1972,1416,1851,2137,1909,1327,1541,2361,2565,2325,2181,2132,2114,2041,2041,2166,2342,2026,1722,1836,2143,2075,2047,2095,1888,1779,2320,2348,1974,1666,1540,1521,1734,1720,2001,2402,2417,2706,3187,3026,2472,2147,2540,2566,2365,2074,2066,2131,2314,2373,2272,2089,2025,2390,2972,2674,2498,2722,2333,2155,2071,2147,2128,2004,2384,2677,1947,2016,2004,1809,2126,2309,2072,2025,2418,2691,2611,2788,2697,2215,1865,2384,2808,2031,1693,1624,1782,1754,1807,2046,1881,1787,1758,1736,1908,1924,1637,1671,1632,1639,1466,1748,1595,1533,1574,1771,1854,1432,1247,1484,1881,2083,1997,2161,2564,2398,1728,1689,2616,3352,2820,1919,2309,2402,2047,2656,2437,2511,2048,1688,2143,1808,1934,2664,2890,2983,3128,3311,2746,2507,2233,1851,2296,1965,1904,2179,2120,2404,2630,2624,3041,3120,2666,2260,2222,2454,1838,2054,2299,2079,2040,1928,1753,1574,1698,1838,1435,1682,1751,1772,2039,2362,2841,2402,2227,2390,2406,2257,2206,2661,2566,2575,2237,1802,1916,1901,2116,2443,2402,2409,2133,1985,2741,2631,2598,2434,2986,3238,3121,2678,2467,2325,2187,2234,2304,2474,2592,2446,1938,2025,2619,3273,2262,2194,2610,2835,3401,2907,2078,2342,2226,1862,2060,2632,2644,2444,2315,2553,2753,2636,2965,3140,2736,2110,1979,1910,1878,1792,2459,2574,2451,2190,2405,2242,2035,2359,2664,2702,2473,3005,2937,2360,2019,2295,2354,2244,2677,2790,2699,2975,3237,3276,3162,3232,3195,3184,3281,2953,2896,3093,3143,2896,2639,2468,2480,2578,2206,2140,2508,2876,2791,3123,2806,2338,2450,2740,2614,2308,2480,2592,2098,2160,2308,2368,2003,1860,1899,1786,1726,1642,1841,2038,2024,1817,1599,1389,1456,1316,1288,1374,1332,1357,1632,1943,1865,1708,1958,2182,2308,2922,3239,3510,3352,3267,3394,3274,2665,2005,1756,1598,1970,2797,3277,3051,2710,2221,2102,2099,2995,3022,2312,1766,1787,2334,2905,2833,2711,3068,2570,2201,2839,3482,3152,3045,3465,3646,3726,3637,3956,3904,3553,3492,3361,3452,3650,3466,3288,3139,2939,2604,2288,2548,2289,1782,1792,1763,1770,1878,1542,1680,2192,1899,1489,1939,2289,2063,1451,1046,1400,1769,2172,2241,1842,1293,1370,1654,1664,2078,2790,2624,2040,1926,2105,2798,2836,1804,1632,1329,2050,3028,2934,2437,2575,2933,2854,2728,2501,2624,2928,3212,2941,2481,2833,3142,2999,2736,2681,2362,2396,2535,2652,3086,2214,1910,2157,2161,2050,2237,2218,2090,2019,2142,1916,1858,3084,3506,2833,2286,2127,2099,2198,2091,2206,1898,1950,2129,2126,1918,1723,1607,1564,1421,1428,1465,1531,1698,1797,1710,1431,1354,1545,1562,1742,2123,1852,1727,2048,2480,2880,3005,2349,2218,2237,1939,1699,2275,2490,1374,1277,1859,2877,3480,4156,4321,3227,2459,2813,2482,2089,2286,1703,1676,1839,1865,1966,2438,2014,1511,1916,1824,1644,1742,2026,2289,2319,2116,1920,1621,1545,1301,1371,1512,950,702,1014,1657,2025,2295,3074,3450,3457,2569,1368,1582,2082,1408,1441,2036,2549,2832,2543,2235,1812,1520,1597,1568,1689,1588,1487,1795,1928,2680,3562,3665,3355,2480,1831,1706,1642,1466,1399,1516,1497,1506,1519,1466,1466,1579,1779,2298,2264,1797,1605,1476,1619,1494,1446,1505,1749,1712,1680,1947,1834,1830,1781,1624,1860,2134,1838,1382,1480,1542,1521,1413,1183,1954,2280,1883,1772,1895,2007,1887,1891,1936,1803,1658,1456,1760,2199,2338,2177,1770,1759,1960,1826,1594,1731,1976,2478,2845,2805,2400,1902,1813,2082,2188,2314,2316,2143,2035,2080,1652,1657,2075,2127,1930,1985,2230,2304,2142,2332,2788,3724,3624,3040,2501,2263,2508,2977,3034,2658,2036,1829,2054,2164,2147,2286,1941,1762,1982,2597,2800,2252,1918,1544,1482,1816,1842,2097,2449,2887,2890,2380,2100,2424,2825,2490,2113,2193,2014,1676,1615,1491,1693,2022,2408,2539,2285,2132,2050,2351,2214,1758,1946,2144,1924,2056,2290,2205,2302,2113,2207,2147,2384,2072,1664,1650,1778,2171,2018,1896,1575,1824,2058,2014,2161,2182,2663,3576,3242,2334,2266,2274,2237,2495,2081,1741,1872,2622,3138,2831,2746,2379,2723,3698,4240,3748,2472,1997,3238,2999,2205,2177,2098,2215,2364,2143,1835,2234,2902,3190,3062,2554,2475,2060,2627,3308,2687,2418,2692,3566,2958,2293,2231,1989,2442,2611,2366,2724,2416,2402,2666,2844,3417,3485,2837,2523,2288,2420,2309,1876,2318,2910,3218,2457,2059,1953,1979,2214,2162,1974,1867,1984,2424,2843,1989,1891,2523,2813,2684,2472,2203,2324,2610,2781,3000,2920,2590,2624,3354,2237,1865,2280,3335,2128,1856,2621,2785,2580,2348,2123,2101,1945,2004,2236,2293,1845,1870,2070,1704,2112,2223,2080,2240,1911,1517,1910,2086,2402,2270,1707,1312,1321,1772,2436,2539,2332,1970,1979,2003,2042,2074,1420,1611,1813,1655,1421,1256,1372,2108,2514,2184,1700,1802,1770,2532,2588,1881,1892,1836,3161,2624,2211,2366,2062,1766,1714,1721,1737,1786,1864,2040,2363,2676,2611,2692,3152,2931,2019,1697,2375,2519,1855,1692,1592,1986,2598,2397,2091,1964,2123,2045,1868,2050,1909,1714,1561,2231,2395,2929,3218,2920,2777,2866,2846,2542,2739,2996,3207,3451,2669,2527,2480,2272,2432,2924,3143,3238,3119,2410,3205,4064,3568,3541,3803,4048,4017,3835,3813,3754,3790,3790,3782,3746,3884,3889,3370,2420,2392,2666,2490,1946,2149,3008,3198,3120,2950,3132,3436,3219,2994,2304,1764,1594,1739,1678,1785,1753,1706,1402,1627,1990,1848,1913,2110,2166,1925,1664,1672,1998,2469,2880,3392,3670,3874,3292,2276,2222,2272,1780,2196,2784,2676,2239,2247,2288,3143,3648,2927,2554,3375,3596,2740,2120,1876,2027,2208,2150,2009,1829,1947,2073,1772,1730,2051,2410,2253,2011,1918,2525,2130,2441,2441,2435,2344,2023,1912,1928,2259,2494,2397,2596,2674,2856,3392,2996,1851,1463,2089,2497,2698,2537,2358,2768,2404,2451,2619,2930,3311,2267,2093,1826,1365,1602,2078,2340,2733,3433,3536,3348,3154,2867,3171,3071,2520,1890,2375,2707,2448,2024,1841,2403,2589,2428,2287,1761,1671,2176,2897,2677,2369,2618,2259,2152,2397,3040,3473,3107,3017,2374,2526,2903,3051,2780,2222,1802,2140,2920,3110,2343,2543,2994,2983,3124,3104,3593,3705,3989,3972,2940,2400,2579,2488,2410,2092,2247,2240,1794,1538,2089,2495,2395,2459,2588,2389,2395,2347,2132,2172,1985,1915,2432,2621,2303,2396,2356,1817,1284,1669,2198,2253,2448,1810,2076,2279,2245,1692,1528,1925,1936,1932,2105,2853,2962,2729,2443,2360,2223,2016,1845,2037,2790,2676,2326,2081,1946,2256,2204,1797,1883,2377,2217,2453,3053,3037,3238,3052,2931,2766,2685,2567,2722,2574,2249,3041,3239,2408,2010,1897,1967,2339,2358,1728,1421,1557,1566,1970,2558,2232,2151,2077,1925,2137,2005,2039,2128,2104,2898,3506,3107,2650,2800,2932,3019,3337,3241,2956,2442,2073,2172,2576,2696,2873,2944],[2661,2841,3331,3426,3639,3620,2820,2517,2708,2690,2640,2752,2910,2894,3015,2749,3159,3554,3997,4354,4685,4245,4157,4132,3949,3950,3940,3838,3579,3220,3079,2951,3108,2944,2807,2710,3161,3400,3273,3286,3305,3311,3364,3472,3422,3212,3210,3135,3042,2875,2854,2874,2872,2888,2924,2820,2734,2773,2805,2545,2574,2475,2328,2378,2093,2670,3655,3814,3643,3705,3596,3366,3111,2868,3061,2843,2655,2946,3424,3225,3135,2461,2215,2178,2172,1907,1763,2378,2504,2472,3120,3286,3494,3488,2685,1941,2024,2654,2657,2438,2342,2319,2463,2719,2980,3631,3937,3898,3585,3496,3454,2956,1591,1525,2479,2457,2493,2600,2724,2425,2409,2501,2607,2629,2964,3067,2684,2716,3105,3350,3320,3320,2967,3105,3131,2792,2520,2499,2278,1999,2178,3166,3841,3540,2929,2352,2793,3052,3430,3124,2258,1384,1496,2134,2526,2668,2650,2632,2438,2033,1864,1879,2052,2128,1714,1724,1971,2320,2211,1808,1875,2320,2815,2737,2555,2356,3037,3610,3308,3471,3473,3424,2349,1496,2498,2796,2315,2402,2227,1989,2246,2579,3465,3475,2316,1959,2111,2269,2490,2467,2104,2396,2741,2635,2851,2232,1844,1839,1842,2103,2353,2315,2383,2532,2571,2062,2094,2470,2584,2608,2301,2399,2518,3111,2802,2246,2266,2386,2875,3375,3513,3663,3708,3630,3312,3018,2183,1669,1782,2325,3005,3450,3774,3971,3834,4141,3694,3087,3084,3250,3364,3522,3780,3913,3864,3773,4056,4313,4188,4017,3809,3652,3425,3181,2953,3123,3141,2363,1858,2626,3273,3736,3858,3182,2523,3129,3103,3107,3640,4069,3790,2910,2242,2385,2910,3106,2422,2193,2109,2251,2156,2026,2503,2359,1900,1615,1623,2066,2224,1826,1862,2078,2342,2222,2053,2142,2338,2183,1979,1848,1925,2303,2492,2463,2579,2733,1903,1400,1290,1700,1808,1850,2691,3301,2887,2584,2787,3235,3409,2751,2792,2797,3039,3662,3352,2568,2565,2661,2518,2696,2614,2011,2459,3329,3606,3466,3467,3173,2642,2743,3033,2942,2636,2656,2412,2260,2471,2509,2736,2856,2063,1973,2416,2528,2963,3227,2978,3064,2575,2585,3481,3657,3320,2700,2691,2811,2332,2115,2784,2903,2618,2338,2485,2792,2266,2327,2745,2376,2106,2287,2349,2002,1923,2150,2260,2590,2529,2800,3000,2678,2475,2369,2291,2179,2223,2309,2526,2733,2565,2424,2365,2142,1986,2480,2342,2400,2654,2384,1559,1853,2730,3122,3445,3628,3073,2733,2492,3033,3221,3553,3365,3001,2707,2237,1835,1799,1608,1692,1981,1991,1563,1468,1572,1644,1694,1606,1580,1564,1859,1780,1926,2078,1792,2093,2128,1941,1974,2564,2057,1482,1862,3114,3250,3097,3343,2913,2023,1629,1584,1607,1525,1804,2123,2149,1930,2178,2212,1843,1741,2144,2202,2113,2653,2927,2313,2275,2193,1846,1743,2098,2116,1953,1944,2088,2093,1758,1842,1963,2563,2294,2032,2099,2989,2767,1844,1825,2448,3035,2458,2226,1991,1725,2062,2660,2248,1975,1864,1733,1593,1608,1807,2539,2812,2388,2227,2657,2601,2545,2242,2635,2405,1902,1843,1850,1918,2004,1980,2055,1981,2028,2404,2931,2929,2680,3197,2724,1844,1797,1767,1598,1647,2135,2242,1732,1372,1700,1907,2143,1906,1981,2568,3111,3154,2791,2543,2331,2317,2296,2834,2647,2275,1847,1817,2259,1995,1892,1858,1700,1661,1674,1973,1969,1860,1727,1644,1520,1493,1432,1454,1472,1588,1528,1230,1368,1378,1419,1368,1698,1923,1942,2133,2352,2144,1611,1729,2721,3351,2905,2453,2607,2208,2070,2353,2028,2076,1850,1936,2096,1527,1654,2533,2437,2995,3540,3685,3285,2622,1759,1807,2421,2042,1756,2029,2635,2940,3438,2995,2968,2969,2607,2736,2665,2408,2235,2686,2479,2288,2414,2109,2203,1760,1931,1850,1134,1168,1376,1776,1744,1595,2086,2269,1939,1973,2072,1895,1935,1943,2254,2554,1981,2255,2402,2188,2306,2453,2426,2370,2317,2568,2736,2644,2809,2426,2335,2592,2622,2464,2487,2467,2430,2188,2308,2524,2732,2406,1798,1840,3064,3607,1939,1631,2173,2200,2640,2156,1692,1940,2048,2201,2513,3428,3626,3008,2695,3026,3034,2797,2591,2397,2419,1870,1891,2035,1887,2420,2743,2693,2452,2088,2058,2108,2033,1860,2022,2823,2822,3021,2533,2234,1995,2144,2827,3167,3062,2887,3088,3550,3548,3452,3298,3171,3206,2706,2612,2581,2522,2605,2543,2281,2171,2102,2546,3098,3271,3431,3776,3927,3708,3792,3697,3488,3883,4535,4363,4156,4532,4443,4140,4305,4257,3950,3353,3056,2620,2104,1867,1864,1937,2180,2464,2042,1746,1485,1492,1438,1376,1428,1477,1695,1881,1714,1757,1829,2095,2379,2827,3154,3294,3478,3383,3479,3752,3260,2358,2292,1783,890,926,2066,2675,2523,2288,1938,1967,2023,2376,2481,2060,1631,1607,2135,2643,2280,1930,2237,2029,2554,3188,3754,3130,2910,3717,3961,3477,3016,3609,3447,3719,3636,3458,3640,3322,3098,3138,2963,2697,2454,2256,2486,2167,1892,1845,1710,1684,2195,2135,2060,2302,1707,1430,1926,1814,1589,1475,1258,2136,2137,2359,2381,1628,1466,2035,2540,2416,2302,2248,1728,1763,2082,2341,2929,2186,1643,1594,1872,2711,3286,3478,3131,2731,2708,2779,2962,2830,2791,2967,3283,2876,2298,2341,2485,2379,2237,2145,2203,2488,2359,2650,2667,1969,2101,2398,2312,2191,2346,2226,1930,1949,2102,1922,2763,3683,3864,3747,2980,2228,1830,1920,1921,1981,2058,2060,2024,2263,2405,2361,2230,2178,2176,1951,1678,1735,1812,1633,1529,1559,1455,1349,1482,1709,1882,1827,1953,2123,2675,2843,2342,1741,2030,2657,2472,2330,2770,2264,1240,1559,2092,2905,3758,4300,3860,3154,2943,2938,2654,2578,2625,1958,1609,1866,1823,1824,2308,2339,1722,1415,1462,1442,1616,1688,1864,2182,2136,1835,1825,1924,1881,1967,1679,1078,854,993,1503,1940,2145,3206,3614,3687,3216,2473,1626,1821,1588,1238,1627,2390,2383,2309,2292,1947,1732,1499,1581,1699,1403,1584,1715,1570,2014,2913,3205,2290,1901,2054,1870,1724,1560,1522,1378,1205,1194,1298,1405,1383,1594,1911,2098,1823,1529,1448,1302,1427,1571,1513,1392,1449,1414,1570,1769,1571,1687,1487,1575,2054,2114,1813,1572,1510,1439,1445,1515,1944,2586,2458,2232,1732,1754,1939,1961,1822,2004,1949,1639,1572,1692,1688,1808,1704,1608,1804,2014,1898,2078,2192,2293,2466,2584,2467,2033,1773,2100,2515,2320,2234,2082,2086,2214,2063,1922,2033,2554,2287,1482,1416,1748,1758,1998,2668,2856,3419,3409,2844,2397,2352,2958,3411,3152,2586,2088,1997,1987,1873,1689,1905,1892,1756,1566,1931,1960,1701,1632,1426,1702,1880,1583,2362,3090,3401,3240,2761,2345,2227,2414,2334,2106,2125,1888,1625,1653,1525,1526,1760,2366,2309,2088,1900,2054,2473,2003,1812,2205,2710,2325,2135,1923,2190,2288,2326,2465,2301,1980,1641,2268,3045,2559,2211,2141,2557,2082,1810,2058,2186,2172,2207,2732,2872,2263,2249,3025,2966,2404,2069,1843,2156,2390,2792,3516,3426,3131,2810,2934,3783,4003,2744,2308,2553,3139,2537,1722,2306,2744,2757,3052,2835,2457,2303,2536,2867,2100,1807,1571,1962,2805,3524,3916,3731,3847,3464,2378,2832,2576,2088,2018,2244,2714,3084,2798,2335,2172,2701,3703,3991,3233,2281,2025,1972,2081,2591,2449,2506,2485,2590,2554,2247,1825,1797,2137,1904,2008,2229,2045,2478,1938,2054,2658,2378,2102,2384,2198,1880,2238,2886,2447,2317,2373,2827,2396,1964,1818,1621,2278,1803,1459,2163,2778,2633,2845,2359,2164,1990,2098,2295,2150,2046,1948,1723,1779,2077,2055,2095,1945,1699,1860,2541,2728,2915,2243,1841,1377,1014,1389,1656,2018,2051,2149,2237,2184,1977,1467,1537,2231,2236,1742,1746,1733,1851,2309,2304,1899,1954,2208,1981,2221,2097,1996,1919,1517,1925,2314,2651,2729,2471,1967,2001,1841,1881,1793,1636,1872,2344,2292,1892,2090,2599,2478,1703,1882,2224,1822,1775,1789,2195,2269,2646,2676,2182,1965,2040,1795,1735,1887,1432,1600,1942,2494,2548,2275,2300,2309,2313,2437,2309,2595,3162,3251,3194,3500,2445,1664,1480,1368,1469,2496,3142,3155,2889,2485,3580,3801,3725,3715,3748,3803,3911,3774,3719,3805,3827,3837,4002,3986,4077,3950,3605,2443,2449,2489,2391,2723,2834,2949,2964,2875,3207,3322,3177,2752,2284,1873,1562,1552,1425,1426,1550,1489,1669,1615,1585,1858,1925,1712,1854,1982,2057,1917,2148,2332,2534,2900,3319,3732,3996,3156,2343,2391,2733,2023,1970,2553,2872,2709,2274,2102,2552,3260,3122,2397,2979,3323,2787,2297,1865,1794,2042,2087,1974,1977,2007,1937,1980,1803,1541,1597,2043,1998,1947,2066,1731,2188,2398,2156,2204,1920,2023,2222,2407,2745,2765,2741,2676,3033,3198,2706,1731,1230,2239,2718,2504,2298,2536,3209,2562,2107,2675,3353,3349,2584,2177,1932,1703,1699,2128,2515,2766,3122,3277,3228,2691,3110,3732,3804,3057,2394,2958,2845,2345,1829,2226,2600,3233,2956,2235,2263,2552,2767,3081,3172,2986,2850,2192,2851,2962,2853,3218,2924,2575,2670,2680,2864,3285,2851,2438,2059,1831,2173,2965,3163,3411,3475,3325,3783,3871,3564,3607,4141,4095,3292,2746,2775,2710,2113,1940,2173,1992,1982,1971,1859,2571,3031,2662,2808,2512,2520,2524,2200,1965,1815,2147,2562,2463,2131,2255,2294,2120,1827,1947,1992,2404,2314,1979,2285,2472,2559,2015,1711,1942,2125,2043,2214,3442,3259,2663,2281,2402,2403,2350,2115,2283,3046,2888,2132,2171,2197,2322,2299,1969,1776,1707,1873,2215,2556,3119,3185,3143,3365,3371,3264,2828,2822,3065,3074,3241,3139,2192,1408,1850,2546,2532,2842,2419,2194,2028,1827,1980,2452,2315,1998,1959,1995,2012,1903,1951,1998,2198,3166,3296,3475,3692,3264,2752,2993,2855,2717,2899,2603,2218,2255,2403,2292,2499,2981],[2869,3632,3796,3497,3504,3289,2646,2363,2767,2844,2768,2625,2248,2584,2730,2524,3309,3299,3181,3938,4384,4176,4176,4265,4308,4104,3883,3950,3895,3547,3315,3217,3104,2924,2755,2568,3074,3283,3197,3256,3197,3015,3073,3336,3243,3097,3098,3044,2882,2876,2862,2818,2937,3032,2927,2787,2828,2596,2944,2884,2930,2403,2375,2379,2083,2877,3762,3706,3544,3387,3109,2699,2725,2661,3067,2683,2603,3172,3230,3145,3038,2455,2136,2147,2581,2263,2076,2113,2239,2368,2685,2659,2396,2394,2614,2403,2309,2806,2621,2724,2434,2267,2129,2011,2004,2954,3958,3934,3308,3107,3226,2864,1836,1822,2665,2739,2940,3167,2912,2485,2510,2522,2532,2638,2731,2779,2486,2159,3040,3628,3641,3384,2628,3127,3111,3031,2897,2525,2299,2131,2312,3215,3375,2962,2325,2001,2931,3241,3173,2649,1865,1484,1576,1717,2226,2774,2762,2556,1918,1748,1988,1800,2031,1909,1674,1767,1858,2121,1836,1564,1620,2476,2802,2712,2555,2423,3020,3085,2814,3016,3061,3173,2590,2128,2746,2828,2436,2321,2149,1996,2341,2713,3365,3375,2602,2354,2586,2721,2457,2294,1919,2017,2396,2310,2570,1824,1355,1373,1466,1515,1516,1791,2315,2238,2418,2407,2377,2699,2743,2587,2700,2898,2872,3030,2849,2428,2424,2520,2536,2994,3460,3819,3793,3475,3135,2457,1863,1955,1918,2193,3086,3292,3317,3817,3720,3738,3354,3082,3132,3410,3604,3731,3872,3892,4008,3991,3957,4006,4072,4048,3930,3718,3500,2976,2482,2924,3144,2511,2026,2608,3288,4216,4048,2843,2119,2915,3707,3959,4019,4058,3742,2890,2443,2728,2770,2654,2306,2176,1959,2267,2358,2402,2600,2283,1793,1661,2076,2859,2858,2433,2845,3286,3207,3038,2535,2329,2642,2406,1896,1312,1432,2043,2435,2294,1812,1788,1498,1238,1415,1701,1803,2066,2590,3000,2532,2866,2498,3084,3109,2661,2708,2645,2761,2785,2535,2908,3445,3504,3360,3325,3200,1956,1942,3006,3592,3288,3410,3215,2789,2848,2987,2981,2901,3226,3144,2611,2575,2967,3213,3025,2205,2344,2991,3146,3153,3103,2754,2691,2781,3075,3394,3608,3616,3098,3000,3023,2361,2492,3041,2763,2706,2573,2557,2650,2727,2916,2874,2445,2177,2241,2608,2511,2268,2356,2217,2288,2215,2392,2580,2376,2592,2520,2352,2319,2286,2267,2441,2796,2670,2513,2294,2081,2470,2648,2216,2189,2324,2318,2235,2231,2797,2895,3172,3168,2764,2534,2641,2920,2869,2868,2878,2691,2336,1878,2014,2111,1786,1858,2206,1762,1555,1459,1471,1512,1509,1538,1542,1658,1885,1746,1824,2079,1619,1955,2008,1915,2166,2630,2220,1460,1828,2898,2954,2442,2184,2297,2042,1745,1623,1544,1518,1710,1773,1710,1776,1783,1604,1644,1806,2503,2511,2602,3129,3222,2349,2059,2591,2415,1890,1732,1771,1993,2199,2122,1914,1737,2365,2818,2786,2366,2176,1896,2579,2722,1909,2116,2658,2691,2369,2173,1976,1822,2298,2275,2068,2007,2051,1946,1868,1865,2256,2943,2950,2707,2304,2075,2226,2248,2243,2239,1938,1906,1802,1682,1728,1866,2125,2256,2321,2586,2688,2872,2629,2820,3287,2333,1546,1748,2022,1730,1460,1716,1992,2091,2067,1932,1904,1798,1892,2454,2931,3088,2933,2741,2961,2309,2292,2153,2460,3162,3230,2251,2049,2323,1826,1914,1814,1804,1824,1863,2586,2429,1953,1851,1697,1488,1578,1679,1435,1386,1372,1339,1273,1435,1455,1692,2036,1996,1821,2182,2276,2088,2230,1862,2176,3177,3316,2621,2259,2062,1958,2070,1937,1827,2257,2438,2030,1556,1620,1824,2422,2220,2474,2606,3060,2930,2131,1706,1999,2002,1890,1975,2287,2137,1802,2985,2955,2756,2448,2001,2382,2754,2512,2385,2597,2613,2531,2135,2031,2586,2351,2259,1961,1913,2080,1761,1910,1850,1591,2257,2342,2143,2106,2288,1896,2164,2049,2126,2160,1996,1970,1953,1873,1786,1784,1895,1974,1923,2028,2017,2052,2014,1958,2013,2066,2174,2508,2714,2639,2631,2165,1890,1957,2500,2186,1781,1981,2811,3179,2525,2020,1875,1886,2059,2047,2448,2447,2256,2228,2560,3215,3726,3428,2727,2406,2421,2531,2059,1488,2093,1867,2276,2384,1638,1812,2297,2263,2210,1969,1927,2187,2036,2313,2820,3201,3032,2634,2332,2358,2041,2534,3776,3672,3348,3056,3250,3570,3417,3039,2397,2164,2448,2204,1969,1952,1883,2310,2625,3002,3249,3188,3890,4070,3873,3506,3471,3445,3505,3636,3471,3128,3579,4756,4984,4879,5000,4975,4999,4948,4791,4785,4628,4472,4157,3443,2907,2310,2003,2238,2328,2103,2126,2207,2098,1711,1448,1500,1734,2007,2026,1883,1992,1971,2355,2968,3147,3178,3438,3518,3470,3576,3540,2933,2652,2824,2223,1858,1234,1924,2221,2298,2296,2123,2128,2171,2206,1920,1767,1729,1622,1893,2568,2006,1869,2460,2229,2332,2387,2788,3167,3323,3694,3074,2944,2988,3356,3376,3008,2862,3021,3300,3255,3178,3208,3008,2534,2392,2337,2234,2114,1699,1725,1461,1465,1842,2208,2730,2478,1877,2163,2710,2592,2556,2309,1975,2570,2346,2406,2040,1543,2111,2634,2846,2532,2179,2061,1754,1870,2252,2756,2577,1803,1500,1866,2414,2577,3181,3576,3558,2976,2739,2928,2928,2569,2438,2337,2453,2331,2084,2100,2077,1982,1953,1914,2265,2644,2896,2566,2382,2259,2049,2339,2574,2042,1713,1588,1487,1481,2049,2547,3586,3893,3927,3822,3055,2193,2280,2078,1698,1842,2045,2060,2052,1897,1882,1642,1664,2170,2304,2145,2416,2540,2422,2393,2356,2328,1952,1684,1607,1663,1792,1908,1930,2415,3030,2500,1182,648,1213,1580,1004,1432,2586,1953,1261,1674,2226,3049,4100,4308,3469,3066,2945,2751,2552,2584,2200,1964,2148,2184,1858,1695,1888,2171,1856,1317,1266,1232,1440,1454,1468,1709,1915,1622,1880,2186,2253,2292,2029,1690,1312,1333,1600,2032,2166,3100,3422,3463,3452,3139,2391,1471,1073,1352,1469,1905,2243,2348,2037,1475,1631,1571,1521,1513,1677,1508,1377,1408,1544,1864,2113,1655,1609,1560,1506,1676,1732,1657,1366,1153,1184,1311,1449,1374,1375,1551,1809,1670,1456,1340,1193,1242,1496,1709,1578,1354,1215,1457,1666,1670,1461,1564,1628,1908,1730,1649,1636,1508,1664,1781,1903,2013,2094,2275,2100,1848,1666,1720,1715,1663,1758,1658,1711,1933,2336,1912,1673,1411,1455,1572,1676,1994,2436,2480,2472,2389,2212,1832,1760,1839,2294,2385,1919,1890,1840,2115,2160,2119,2070,2165,2496,2156,1680,1598,1620,1559,1766,2058,2348,2602,2844,3017,2856,2893,3384,3507,2894,1953,1759,2002,2121,1771,1499,1569,1804,1741,1721,1783,1556,1557,1487,1322,1708,1953,1821,2219,2812,2678,2264,2326,2148,1898,2062,2139,2213,1967,1688,1560,1578,1586,1464,1576,1836,1730,1783,1882,2381,2830,1963,1915,2626,2828,2008,2156,2042,1982,1930,2178,2308,2008,1866,1312,1942,2624,2798,2149,2301,2493,2130,2009,1866,2076,2288,2022,2078,2249,2580,2806,3432,3219,2055,1427,1555,2525,2542,2574,3638,3836,3450,2785,2924,2943,2740,2604,2946,3061,2367,1443,1332,2160,2943,3112,3168,2700,2585,1991,2314,2497,1878,2474,2567,2909,3016,3207,3423,3536,4159,3494,2410,2830,2758,2576,2402,2796,3640,3400,3206,3262,3147,3249,3615,3636,3099,2462,2183,2273,2750,2873,2654,2564,2340,2335,2199,2321,2170,2310,2719,2059,2372,2512,2265,2094,1974,1739,2121,2242,1938,1848,1836,2184,2354,2724,2441,2308,2631,2783,2576,2724,2056,1495,1990,1732,1404,1780,2452,2013,1950,1690,1938,1934,2245,2300,2433,2664,2136,1844,2051,1832,1753,1785,1738,1803,2230,2541,2541,2738,2338,2043,1642,1179,1312,1590,2228,2466,2305,2269,2321,1909,1358,1300,1859,1943,1565,1718,2081,2074,1914,2116,1865,2046,2176,2199,2029,1940,2064,1721,1599,2116,2204,2370,2603,2444,2142,2445,2201,2013,2108,2111,1995,1945,1846,1904,2280,2149,1860,1764,2277,1860,1614,1773,2037,2383,2221,1957,1856,1808,1857,1896,1594,1671,1707,1491,1921,2236,2327,2537,2269,1944,1996,2177,2586,2675,3024,3538,3296,2799,2951,1958,1539,1503,1360,1598,2537,3147,3090,2709,2215,3601,4052,3828,3681,3727,3792,3762,3715,3810,3924,3929,3685,4057,3970,4156,4012,4004,2746,2298,2467,2831,3188,2899,2757,2973,3259,3579,3066,2330,1960,1930,1864,1497,1445,1489,1654,1747,1524,1590,1626,1647,1906,2014,2014,2465,2251,1897,2030,2351,2373,2141,2374,2645,2740,3132,2178,2122,2034,2448,2193,1816,1880,2459,2551,2446,2526,2356,2631,3119,2702,2095,1928,2235,2091,2217,2488,2351,2128,2036,2076,2013,2144,2131,1639,1579,1927,2319,2064,1866,2024,1907,1783,2103,2711,2402,2109,2056,1810,2063,2553,2525,2197,2230,2768,2686,2478,2330,1928,2445,2451,2317,2414,2335,2755,2356,2344,2739,2761,2476,2057,2263,2460,2175,1932,2074,2135,1992,1804,2064,2547,2336,3029,4200,4064,3094,2713,2730,2396,1946,1987,2235,2190,2834,2880,2634,2617,2485,2414,2884,3285,3575,3740,3140,2930,3040,2492,2176,2143,2476,2799,2592,2951,3315,2648,2401,2495,2311,2571,3127,3503,3810,3637,3380,3494,3291,2625,2541,2908,3261,3276,2724,2996,3008,2172,1846,1936,1920,2432,2282,1356,2076,3161,2742,2513,2054,2377,2968,2490,1926,2113,2220,2398,2437,2017,2079,2060,2403,2753,2648,2476,2776,2470,1970,2139,2374,2083,1567,1890,2451,2419,2492,2480,2471,2723,2502,3039,3162,2720,2788,2652,2462,2543,2641,2342,2457,2239,2189,2449,2230,1708,1389,1763,2109,2449,2714,2739,3131,3319,3143,3038,2834,2478,3034,2664,2683,2871,2420,1969,2535,2815,2261,3184,2638,2331,2626,2253,1909,2084,1970,1952,2137,2136,2025,2041,1901,1833,2087,2480,2745,3222,3564,3181,2873,3151,2987,2553,2382,2530,2975,2968,2791,2759,2399,2776],[3327,3566,3772,3565,3442,3169,2722,2733,2968,2851,2753,2326,1924,2310,2271,2242,2688,2260,1790,2408,3400,4013,4056,3971,4119,4018,3864,3808,3854,3550,3570,3316,3002,2884,2795,2831,3221,3412,3348,3420,3238,3059,3081,3603,3337,2963,2975,3021,2965,2902,2830,2795,2851,3031,2968,2900,3164,2603,2644,2314,2115,1974,2376,2492,2151,2539,3233,3088,2618,2193,2148,1891,2229,2580,2920,2647,2740,2908,2335,2085,2115,2222,2209,2089,2598,2646,2484,2677,3099,2387,1815,1953,1724,1522,2103,2298,1913,2156,1969,1921,1817,2029,2274,2159,2082,2761,3649,3199,2436,2618,2583,2689,2187,1704,2172,2181,2887,3259,2730,2393,2469,2467,2486,2598,2288,2510,2484,2196,3211,3805,3945,3353,2811,3043,3241,3334,3140,2419,1827,1901,2301,2962,3043,3549,2977,2651,3196,3405,3137,2861,2527,2156,2382,2219,2257,2507,2466,2136,2106,2017,2128,2177,2047,1803,1959,1769,1344,1531,1861,1784,1620,2264,2884,2854,2784,2661,2943,3023,2923,2756,2437,2695,2464,2388,2696,2799,2036,1974,2162,2064,2061,2534,3326,3348,2518,2360,2386,2490,2262,2129,2131,2101,2153,2254,2317,1971,1759,1679,1451,1623,1849,2001,2253,2228,2380,2469,2806,3030,2933,2917,3143,3275,3274,3395,3220,2834,2370,2302,2308,2601,2891,2877,2794,2942,2844,2499,2263,2093,2112,2662,3297,3457,3306,3338,3206,3248,3194,3255,3296,3396,3551,3757,4038,3854,3792,3891,3837,3848,4065,4082,3891,3661,3702,2908,1956,2416,2608,3116,3096,3144,3272,3398,3010,2313,1957,2800,3499,3626,3764,3515,2817,2140,2120,2325,2256,2052,1897,1815,1810,2525,2656,2136,2304,2390,2580,2727,2101,2039,2242,2656,3603,3429,2705,3110,2790,2109,2559,2392,2079,1902,1714,1773,1813,1806,1587,1523,1539,1615,1818,1915,2012,2171,2275,2727,2399,2590,2287,2620,2719,2706,2708,2945,3331,3317,2953,3248,3507,3494,3234,3243,3637,2347,1864,2798,3264,3339,3409,3271,2988,3220,3196,2806,3468,4169,3740,2809,2636,3142,3394,2911,2366,2503,2855,3195,3189,2928,2593,2416,3042,3475,3652,3742,3552,3194,2839,2472,2366,2799,3086,2963,2805,2842,2784,2640,2536,2536,2511,2621,2468,2346,2765,2775,2331,2050,2193,2037,2023,2159,2226,2233,2351,2261,2160,2298,2514,2788,2723,2932,2968,2724,2164,2006,2335,2373,2207,2220,2280,2924,3266,2807,2120,2174,2927,3031,3096,2997,3109,2895,2286,2050,2343,2399,2035,1715,1887,2110,1982,2077,2111,1720,1542,1472,1494,1502,1567,1571,1548,1412,1418,1565,1683,1823,1625,1636,1629,1716,2110,2471,2112,1495,1686,2828,2902,2199,2012,1852,1979,2086,1696,1425,1535,1376,1502,1672,1480,1559,1755,1625,1801,2274,3508,3598,3386,3532,3322,3098,2976,2535,1854,1742,1802,1812,1914,2218,2153,2322,2902,2875,2342,2546,2676,2492,3039,2750,1728,2006,2156,1696,1804,1983,1963,1796,1720,2074,2215,2051,2395,2026,2074,2313,2209,2226,2483,2272,1753,1784,2093,2078,1938,1632,1745,2019,1664,1793,2070,1886,2150,2115,2518,2772,2765,2789,2538,2469,2610,2378,1875,2000,2585,2396,1677,1448,1453,1745,2194,2153,1851,1832,2187,2635,2440,1952,1859,2587,3011,2286,2030,1841,2342,2731,2477,2329,2872,3329,2172,2020,1993,1863,1830,2004,2371,2139,2117,2094,1725,1677,1799,1689,1490,1399,1521,1659,1653,1486,1590,1798,2058,2046,1895,2079,1936,2076,2632,2718,2450,2597,2828,2425,1748,1872,2458,2448,1982,2154,2751,2545,1597,1184,1749,1743,1936,1974,2175,2041,2350,2420,2186,2288,1944,1638,2066,2264,2540,1919,1369,2232,2749,2768,2409,1729,1636,2136,2433,2498,2509,2519,2810,2454,2476,2501,2214,2062,1932,2448,2906,2460,1953,1896,1758,1950,2044,1714,1767,2214,2214,2333,2323,2215,2135,2069,1704,1975,2051,1625,1583,1707,1793,1819,1677,1327,1310,1402,1399,1409,1356,1778,2608,3003,2678,2665,2552,2187,1917,2160,2269,1876,1999,2463,2456,2199,1763,1781,2176,2464,2386,2484,2446,2077,2057,2502,2974,2988,2664,2621,2439,2270,2293,1596,1525,2464,2481,2710,2767,2057,2043,1974,1937,2244,2120,1892,2300,2130,2484,2425,2258,2646,2577,2235,2300,2288,2518,3357,2840,2920,3172,3270,3079,2928,2514,2028,2154,2405,2129,2084,2525,2741,3431,3560,3747,3550,3607,3606,3459,3530,3584,3584,3560,3653,3692,3616,3493,3372,4483,4991,5080,5092,5002,4976,4846,4827,4853,4688,4653,4491,4384,3936,3330,3029,2687,2302,2230,2710,3064,2408,1594,1438,1707,1944,1802,1805,1844,1932,2407,3041,3450,3612,3538,3041,3234,3539,3397,2906,2597,2479,2426,2740,3367,2597,2349,2330,2450,2343,2246,2197,2226,2294,2170,1793,1808,1666,2012,2477,1973,2445,2453,1985,2343,2395,2497,2723,3705,3817,2734,3122,3472,3713,3771,2725,2536,2971,2751,2986,3209,3206,3296,2709,2390,2324,2059,1281,1262,1697,1760,1788,1798,2273,2920,2659,2246,1844,2110,2366,2664,2679,2795,3121,2863,2797,2246,1916,2504,2584,2464,2879,2480,2412,2198,1908,2479,2914,2105,1667,1516,1811,2438,2491,3229,3715,3692,3258,3080,2987,2834,2850,2710,2385,2425,2773,2742,2215,2166,2635,2539,2250,2559,2823,3234,2722,2109,2042,1833,1954,1926,1618,1567,1511,1403,1744,2289,3144,3812,3938,3926,3445,2334,2144,2438,2247,2052,2000,1975,1833,1977,1716,1780,1844,1892,1701,1212,1043,1322,1840,2162,2334,2479,2685,2721,2743,2785,2630,2501,2502,2535,3050,3263,2433,1293,894,1624,1375,882,1011,2493,2222,1498,1701,2513,3357,3868,3885,3548,3497,3229,2881,2625,2276,1853,1795,1830,1833,1812,1740,1783,1839,1708,1438,1418,1488,1713,1568,1424,1459,1542,1490,1484,1421,1688,1893,1666,1728,1599,1641,1740,1994,2106,2784,3406,3616,3704,3682,3227,2042,1159,1638,2282,2416,2377,1943,1455,1407,1772,1845,1632,1790,1936,1350,1398,1493,1477,1542,1631,1714,1564,1698,1659,1613,1730,1510,883,849,1259,1655,1665,1564,1394,1335,1481,1412,1521,1443,1296,1182,1371,1839,1815,1598,1401,1632,1741,1693,1635,1649,1548,1559,1403,1388,1521,1865,2241,2105,2059,2095,2066,2099,2123,2004,1788,1710,1700,1823,1400,1286,1668,1841,1945,1907,1733,1565,1527,1416,1592,2164,2392,2213,2242,1989,2116,1892,1802,2466,2906,2381,1680,1427,1606,1880,1981,2271,2178,1945,1945,2132,1621,1503,2059,2226,1898,1739,2086,2316,2609,3159,3448,3515,3509,2880,2295,2032,1793,1914,1961,1704,1288,1907,2558,1898,1651,1665,1888,1932,1648,1653,2300,2478,2158,1753,1879,2137,2409,2764,2094,2014,1969,1919,1928,1697,1416,1326,1623,1996,1708,1721,2223,2111,2091,2481,2910,2966,2452,2258,2278,1973,2130,2272,2010,1967,1977,1967,1835,1757,1665,1239,1317,1649,2048,1872,2054,2173,2036,1634,1333,1399,1672,2048,2030,2151,2610,2691,2962,2071,1367,1526,1939,2491,2350,2265,3124,3908,3430,2481,2299,2220,1668,1749,2330,2679,2204,1456,1302,1841,3052,3441,3528,2812,2791,2344,2114,1779,2190,2350,2047,2760,3160,4096,3876,4079,3981,3242,3040,3376,3376,2864,2272,2255,2468,2555,3176,3016,2780,2845,3282,3220,3029,2460,2546,3267,3374,3606,3864,3205,3053,3021,2404,2245,2386,3494,3616,3373,3143,3022,2771,2474,2320,1846,1907,2029,1998,1923,1863,2871,2990,2402,2530,2457,2447,2915,2976,2827,2499,2075,2636,1994,1963,1967,2278,2014,1790,2144,2432,2191,2187,2420,2588,2267,1631,1963,2312,2048,1542,1620,2086,2038,2049,2108,2202,2556,2328,1903,2089,1822,1655,2062,2692,2975,2865,2574,2347,2191,1908,1844,1925,1830,1734,1943,2309,1782,1729,2245,2117,2050,2186,2086,2003,2218,2099,1795,2200,2407,1711,1709,2089,2102,2009,2214,2313,1967,1951,2172,1967,1647,1715,1790,2432,2209,1686,1465,2183,1976,1664,1991,2294,2516,2611,2227,1744,1669,1711,2175,1828,1561,1544,1614,2054,2399,1960,1782,1750,1506,1504,1717,2310,2614,2928,2994,2380,2191,2110,1847,1950,2027,2014,2236,2903,3175,3118,2710,2093,3413,4132,3906,3839,3800,3938,3920,3819,3950,3948,4013,3921,3890,3880,4133,3900,3937,3031,2183,2191,2390,3008,2814,2810,3479,3865,3520,2662,2135,2272,2006,1500,1528,1615,1753,1881,1959,1767,1900,2268,1923,2093,1880,2073,2356,1966,2158,2290,1816,1788,1778,2400,1976,1828,2178,1764,2104,2201,1932,1983,2149,2094,2386,2436,2417,2077,1864,2320,2807,2424,1817,1703,1837,1830,1871,1988,2021,2020,2120,2290,2191,2171,2142,2042,1833,1886,1947,1859,1906,2031,1853,1835,2124,2579,2592,2706,2277,1953,1820,2001,2219,2540,2677,2784,2320,2230,2545,2691,2380,2546,2414,2247,2118,2420,2488,2224,2258,2244,2185,2129,2450,2939,2492,2397,2345,2093,1791,1588,1982,2286,2087,2571,3313,3318,2925,2626,2084,1984,2136,2018,2153,2737,2853,2578,2579,2553,2102,2296,2529,3188,3750,3739,3116,2744,2897,2315,1704,2075,2755,2751,2653,2880,2856,2510,2407,2981,3554,3596,3504,3344,3317,3305,3073,2832,2252,2038,2263,2311,2783,3249,3044,3060,3005,2471,2263,2372,2351,2542,2129,1183,1254,2634,2482,2201,1790,2048,2420,2139,2405,2640,2193,1727,2006,2079,2009,2099,3231,3332,2712,2706,3017,2668,2221,2471,2654,2084,1835,2270,2808,2849,2850,2584,2385,2630,2643,3253,2964,2490,2770,2562,2000,2383,2658,2713,2205,1910,2425,2581,2188,2045,2191,2384,2338,2483,2347,2840,3119,2972,2853,3038,2780,2658,3204,2996,2799,2985,2762,2676,2615,2113,2264,2417,2010,1913,2348,1931,1771,1967,1720,1769,2065,2377,2558,2396,1971,1973,2499,2549,2449,2658,3130,3055,2781,3133,2969,2525,2556,2625,3559,3622,2831,2476,2608,2598],[3222,3099,3297,3498,3278,3076,3046,3179,3212,2951,2879,1953,2296,2373,2360,2485,2652,2314,2092,1844,2013,3155,3930,3847,3934,3838,3398,3308,3466,3494,3344,3116,2954,2874,3109,3394,3370,3436,3456,3393,3326,3570,3498,3565,3064,2850,3010,3071,3014,2946,2865,2875,3010,3109,2778,2889,2878,2535,2427,1847,1576,1663,1981,2308,2182,2684,3607,3471,3240,3486,2689,2008,2433,2522,2522,2599,2787,2552,2142,2317,2268,2303,2053,2053,2443,2808,2692,2993,3226,2544,1916,2050,2163,2263,2534,2437,1812,1741,1776,1781,1953,2310,2297,2353,2554,2887,3480,3661,3300,3074,2576,2654,2296,1940,2198,1968,2295,2729,2604,2243,1728,1488,1997,2320,1992,1925,1949,2001,2574,3480,3946,3777,3338,3083,3398,3355,3154,2264,1993,2189,2590,2830,2642,2783,2523,2547,3118,3396,3325,3117,2840,2614,2758,2467,2355,2352,2369,2122,2285,2452,2371,2309,2130,1968,1965,1808,1865,1584,1489,1888,2252,2403,2447,2867,3088,2893,2975,3240,3308,2674,2208,2417,2128,2212,2973,3067,2338,1953,2232,2212,1773,2261,2971,3204,2343,2137,2110,2054,2128,2320,2428,2234,2231,2514,2474,1947,1976,1839,1390,1631,2027,2765,2955,2491,2526,2901,3155,3172,2866,2792,2962,2960,3373,3420,3475,2751,1820,2060,2746,2718,2239,1953,2302,2578,2661,2966,2566,1951,2276,2865,3182,2987,3088,3081,3202,3378,3318,3262,3335,3363,3505,3675,3840,3871,3750,3936,3876,3749,3870,3902,3625,3508,3765,2894,1415,1470,2326,3526,3670,3675,3539,2661,2232,1895,1867,2786,3298,3039,2893,2617,2490,2100,2252,2708,2952,2693,2156,1462,1260,2179,2432,1967,2408,2976,3339,3476,2913,2219,2376,3079,3564,2966,2185,2315,2457,2063,2446,2321,2149,2132,2029,1759,1783,1779,1463,1577,1754,1945,2003,1911,1958,2589,2540,2268,2933,2935,2421,2467,3052,3099,2908,3294,3552,3217,2457,2281,2831,3416,3442,3735,4232,3161,2178,2203,2804,3532,3672,3451,3310,3228,2878,2511,3076,3923,4024,3572,3352,3395,3422,2815,2110,2057,2416,2767,3082,2779,2487,2359,2710,3139,3173,2707,2586,2927,2657,2458,2766,2540,2534,2691,2998,2953,2109,1694,2131,2198,2200,2595,3040,2875,2570,2407,2333,2219,2209,2144,2126,2149,2128,2229,2359,2384,2397,2480,2380,2302,2010,2584,3145,3156,2664,2417,2406,2389,2385,2316,2270,3172,3006,3000,2930,2585,2956,3157,3240,3257,3066,2431,1778,1669,2152,2298,2078,1848,2045,2362,1938,2014,2022,1820,1704,1543,1471,1594,1716,1520,1579,1660,1645,1532,1569,1748,1682,1505,1538,1502,1595,1880,1844,1589,1784,2876,2699,2215,1840,1618,1836,1913,1711,1888,1905,1484,1717,1705,1701,2084,2232,1787,1685,1834,2702,2779,2211,2841,3762,2951,2156,2043,1874,1729,1760,1896,1860,2030,1971,2103,2679,2607,2429,2824,2708,2710,2806,2469,1638,2471,2534,2032,2040,2017,2025,1994,1830,2110,2310,2431,2576,2206,2360,2532,2302,2109,1802,1884,1871,1823,1926,2015,1902,1618,1788,1853,1635,1810,2059,2156,2092,1954,2380,2521,2391,2743,2915,2442,2088,2558,2244,1897,2308,2670,2340,1858,1593,1716,2264,2608,2249,2101,2078,2201,1880,1426,1713,1904,2154,2367,2200,1831,2098,2304,2391,2491,2609,2900,2120,1870,1822,1898,1694,1649,1905,1887,1866,1924,1893,1665,1870,1739,1636,1755,1856,1904,1832,1742,1892,1924,1754,1891,2500,2540,1896,1991,2577,3095,3077,2608,1992,1786,1763,2181,2768,2693,2264,2373,2654,2480,1946,1707,1775,1883,1919,1927,2226,2321,2523,2718,2599,2536,1910,2036,2120,2045,2578,2225,1853,2344,2341,2225,2254,1767,1647,2048,2205,2752,2727,2595,2469,2761,2482,2049,2128,2294,2289,2417,2652,2587,2316,2093,1988,2197,2203,1823,1663,2023,2079,1829,1980,1937,1949,1955,1689,2032,2170,1842,1808,1874,1828,1688,1546,1433,1460,1305,890,1035,1369,1903,2623,3221,3032,2830,2736,2357,2021,2326,2442,1817,1766,2142,1992,1906,1955,2100,1981,2331,2451,2488,2458,2452,2864,3016,2886,2243,2531,2983,2082,1459,2072,1870,1832,2865,3184,2964,2896,2626,2121,1568,2060,2332,2042,1762,2017,2177,2576,2625,2330,2812,3341,2583,2648,3038,2353,2696,2142,2450,2690,2745,2536,2408,2421,2370,2667,3108,2978,3021,3439,3204,3120,3293,3571,3659,3758,3254,2928,3429,3579,3605,3475,3518,3649,3463,3139,3053,4247,4993,4999,4990,4964,4901,4762,4443,4023,3398,3072,2728,3043,3295,3811,4272,3842,2954,2436,2524,2420,1853,1672,2051,2346,1865,2002,1937,1875,2076,2868,3497,3458,3674,3222,2234,3100,3484,3480,3085,2512,2099,2104,2678,3230,2865,2156,2123,2097,2364,2159,2131,2564,2641,2776,1988,1732,1694,2167,2212,2202,2706,2249,2192,2374,2420,2498,2750,3320,3428,3248,2987,2866,3226,3654,3509,3404,3207,2352,2941,3514,3107,2880,2169,1940,2236,1562,1057,1252,1398,1561,1723,1741,1932,1984,1691,1596,1442,1971,2375,2499,2800,2885,2750,2610,2299,1834,2284,2633,2099,1854,2728,3287,3334,2613,1901,2604,2508,1705,1703,1713,2019,2637,2277,3238,3898,3369,3139,3535,3398,3248,3377,3416,3376,3298,3764,3463,2589,2755,3371,3337,3188,2610,2677,3071,2899,2830,2313,1837,1847,2026,2210,1885,1633,1759,2048,2120,2528,3078,3639,3688,2767,2050,2118,2162,2394,2393,2185,2102,1874,1908,1783,1920,2060,1637,914,772,793,1106,1763,1609,1664,1633,1675,2032,2342,2570,2446,2376,2394,2646,3226,3053,2421,1958,1753,2276,1855,1182,1387,2412,2448,1681,1603,2120,2555,2912,3128,3008,3134,3138,2957,2514,1946,1634,1405,1408,1675,1731,1581,1588,1707,1963,2356,2724,3222,2917,2075,1852,2091,1888,1551,1656,1615,1750,1686,1761,1870,1869,1713,1674,1848,2129,2950,3641,3596,3620,3438,3306,2928,1852,1322,2518,2785,2159,1548,1514,1743,1744,1750,1768,1836,1776,1532,1419,1550,1558,1551,1572,1637,1625,1615,1540,1593,1753,1632,1481,1584,1560,1686,1794,1868,1464,1321,1388,1679,1925,1654,1598,1641,1744,1884,1820,1731,1598,1570,1438,1458,1627,1788,1858,1678,1384,1354,1450,2061,2137,2023,2016,2018,2003,2003,2015,2108,2345,2111,1795,1667,1448,1349,1583,1647,1763,2001,2002,1882,1577,1380,1564,1822,1870,1720,1682,1455,1814,2124,2084,2712,2750,2437,2340,1614,1267,1753,1893,2067,1996,1561,1860,2590,2142,1911,2575,2563,1888,1731,1929,2169,2459,2569,3044,3474,3273,2791,2649,2207,2014,1874,1985,1775,1738,2981,2494,1874,1478,1642,2117,1999,2027,2058,2530,2933,2600,1958,2226,2593,2824,2984,2113,2309,2010,1757,1867,1719,1254,1265,1833,2076,1594,1610,2138,2500,2533,2727,2624,2341,2478,2200,1901,1841,1809,1871,1885,1967,1908,1770,1663,1680,1537,1812,1836,1926,1973,2027,2025,1943,1588,1288,1229,1267,1975,2247,2150,1970,2036,2286,2134,1654,1854,2364,2774,2454,1854,1745,2062,2768,2066,1925,2700,2722,1852,1603,2086,2523,2110,1803,1810,2599,2814,3189,3326,2857,2533,2165,1844,1829,2454,2502,2193,2914,3343,4264,2556,2229,2663,2621,3554,4177,3232,2141,1542,1548,1888,2496,2976,2930,3210,3409,3141,3010,3565,2994,2592,3028,3143,3727,3982,3547,3006,2248,2444,2676,2976,3940,3813,3647,3442,3307,2688,2665,3231,2898,2301,2679,2299,2183,2302,2342,2303,2011,1880,2039,2652,3082,2460,2417,2851,3186,3116,2842,2326,2017,2258,2105,1802,2031,2489,2318,2076,1948,2199,2322,2082,3011,2951,2235,1804,2250,2956,2995,2046,1707,1967,2061,1961,2095,2855,2687,2190,2545,2834,2707,2658,2647,2880,2706,1866,1781,1740,1824,1898,1907,2044,1548,2076,2426,2011,1902,2054,2074,2196,2128,1976,2120,2566,2622,1984,1749,1977,1737,1626,2031,2246,2178,1941,1963,2071,1916,1656,1766,1940,1783,1493,1358,1957,1985,1858,2230,2238,2641,3003,2770,1780,2044,2094,2239,2152,1790,1685,1930,2496,2618,1801,1439,1076,764,746,1068,1614,1958,2160,2066,1979,1859,1367,1141,1611,1931,1959,2508,2962,3086,3140,2624,2540,3589,3862,3867,3906,3849,3939,3927,4017,4099,3937,4002,4030,3779,3870,4061,4046,3898,2890,1879,1920,2067,2359,2118,2596,3282,3119,2567,2656,3102,3529,2943,1997,1745,1490,1610,2128,2670,2503,2204,2158,2014,2207,2043,1859,1572,1631,2095,1951,1677,1590,1649,2094,1975,1781,1768,1914,2132,2018,1658,1707,1836,1652,2045,2237,2132,1866,1917,2358,2612,2308,1995,1820,1948,2078,1887,2093,1656,1759,1947,2260,2357,2076,2103,2135,1941,2129,2350,1970,2041,2266,1823,1990,2073,2276,2534,2564,2435,2009,2018,2047,2102,3002,3318,3224,2909,2312,2213,2216,2224,2605,2477,2513,2523,2507,2351,1875,2146,2411,2296,2482,2750,2833,2507,2453,2496,2072,1435,1458,1944,2510,2214,2175,2300,2470,2581,2320,1941,2154,2209,1837,2355,2444,2054,1810,2329,2790,1996,2123,2000,2433,3384,3611,3096,2880,2281,1960,1721,2070,2396,2558,2487,2271,2376,2392,2646,3316,3481,3518,3301,2474,2470,2586,2614,2367,1967,2222,2494,2788,3167,3451,3326,3141,2890,1987,2071,2469,2806,2828,2261,1788,1576,2210,2786,3098,2529,2060,1738,1373,2120,2586,2419,1744,1581,2397,2357,2369,2678,2103,1801,2360,2997,2507,2580,2811,2641,2590,2131,2439,2700,3018,3067,2846,2921,2956,2736,2888,2408,2812,2267,2138,1804,2131,2573,3015,2611,2170,2620,2523,2365,2654,2797,2713,2464,2388,2247,2924,2752,2544,2896,3144,3040,3309,3599,3206,2876,3232,2719,2610,2774,2536,2491,2434,2328,2345,2387,2030,2183,2230,1905,2063,2585,3479,3416,2950,2548,2448,2645,2490,2221,2272,2652,2611,2271,2598,3010,2688,2594,2940,3469,3446,2861,2448,2625,2507],[2840,2705,2924,3306,3312,3288,3275,3204,3270,3062,3160,2818,3067,3205,2818,2768,2907,2806,3202,3251,2675,3419,4129,4103,3980,3786,3596,3474,3270,3058,3089,3120,2971,2774,3098,3187,3382,3369,3119,3528,4002,3895,3672,3260,2932,2984,3040,3120,3061,2938,2864,2932,2974,2932,2406,2583,2425,2579,2845,2568,2473,2502,2168,2022,1909,2745,3942,4050,3843,3736,2854,2396,2155,1649,1985,2706,3096,2530,2631,2819,2665,2391,1928,2126,2544,2864,3074,3022,3171,2673,2172,2413,2743,2844,2814,2671,1911,1559,1620,1936,2618,2685,2055,1991,2444,2792,3343,3795,3507,3104,2758,2781,2126,1885,2556,2623,2414,2402,2374,2265,1789,1986,2390,2283,1958,1828,1953,2205,2754,3528,3779,3659,2769,2907,3231,2777,3131,2736,2533,2470,2237,2193,2297,2584,2592,2539,3086,3011,2838,2867,2838,2751,2810,2530,2153,2144,2071,2167,2874,3088,2544,2215,2167,2497,2166,2257,2287,2169,2360,2405,2425,2021,1803,2157,2590,2866,2905,3019,3028,2752,2346,2264,2013,2106,2752,2613,2098,2590,2911,2459,1949,2621,3054,3221,2402,2110,2138,1870,2041,2309,2204,2147,2206,2360,2083,1937,2171,1927,1511,1901,1848,3178,3907,2962,2513,2856,3063,2923,1693,1915,2563,2556,3196,3321,3247,2262,1211,1530,2596,2836,2318,2400,2944,2647,2495,3152,3220,3188,2863,3143,3377,3230,3121,3065,3436,3472,3339,3382,3711,3785,3974,3763,3793,4038,3929,3964,3836,3496,3514,3639,3673,3645,3775,2878,1567,1438,2386,3540,3714,3882,3573,2654,2380,2202,2053,3090,3729,2840,3519,4187,3982,3304,3016,3198,3282,3009,2549,2127,1227,1543,2053,2029,2718,3410,3682,3762,3508,2986,2847,3134,3009,2247,1599,1638,2186,1858,2002,2038,1879,2097,2556,2376,2465,2140,1576,1731,1680,2097,1944,1988,1967,2475,2250,2024,2467,2766,2518,2224,3045,3087,2863,3320,2967,1897,1426,1753,2350,3311,4077,4355,3994,3154,2565,2332,2766,3491,3683,3141,2701,2708,2734,2624,2855,3614,4104,3755,3279,2956,3073,2537,1993,2310,2365,2531,2822,2685,2434,2442,2578,2952,2674,1677,1601,2460,2942,2441,2691,2863,2799,2382,2749,2864,1935,2196,2548,2229,2083,2327,2928,2902,2225,1957,2641,2698,2269,2149,2065,2170,2252,2360,2446,2039,1794,2026,2178,2271,2116,2499,3164,3244,2951,2557,2270,2546,2480,2452,2311,2864,2618,2552,3219,3687,3285,2874,2894,3062,2931,2322,2023,1926,2246,2321,1834,2072,2458,2254,1864,1917,1801,1671,1685,1665,1465,1693,1686,1569,1537,1549,1713,1567,1757,1971,1633,1713,1608,1568,1862,2029,1712,1453,1949,2567,2110,1753,1648,1867,1822,1566,1704,1955,1738,1657,1793,1505,1579,1864,2326,1944,1369,1355,1838,1781,1831,2679,2519,1996,1730,1809,1829,1879,1805,1902,1967,1953,1800,1986,2331,2509,2688,2853,2263,1790,1948,1921,1766,2333,2487,2762,2636,2013,1655,1543,1655,1903,2481,3477,2961,2458,2116,2082,2619,2471,1858,1740,1615,1666,1815,1925,1977,1757,1826,1852,2171,2406,2071,1942,1919,2126,2410,2343,2099,2568,2731,2854,2384,2042,1915,1739,1754,2144,2158,1991,1853,1952,2494,2778,2376,2257,1942,1990,2228,1909,1505,1252,1629,2723,3206,2299,1968,1958,2120,1985,2212,2169,1916,1821,1725,1634,1742,1886,1879,1884,1905,1888,1784,1723,1573,1680,1718,1849,1825,1828,2068,1916,1810,1918,1779,2190,3532,2973,2248,2568,2387,2093,2308,2493,2386,2197,1835,2070,2763,2928,2370,2209,2521,2518,2396,2144,1819,1892,1919,1941,1966,2024,2900,3884,3094,2486,1844,2166,2170,1990,2150,2405,3031,2900,2389,2373,2198,1923,2598,2493,2271,2336,2572,3153,2634,2274,2266,2039,2138,1926,1745,2030,2122,2193,2206,1966,2082,2733,2739,2104,2061,2426,2342,2336,2698,2126,2366,2133,1517,1960,2048,1715,1598,1737,1626,1298,1342,1693,1815,1931,1316,1528,2189,2115,2444,3474,3315,2633,2643,2534,2172,2162,2405,1928,1777,2337,2253,2024,2094,2227,2337,2284,1887,1932,2141,2657,2609,1992,2332,2420,2778,3090,1842,1314,2153,2186,1512,1654,2459,2835,2778,3061,2067,1609,2137,2369,2024,1756,2181,2446,2356,2177,2007,2390,3124,2324,2884,3285,2365,2181,2260,2432,2337,2249,2381,2541,2750,3224,3532,3603,3768,3609,3626,3159,2961,3306,3607,3870,4113,3351,2276,2810,3234,3404,3331,3351,3510,2854,2231,2730,4060,4730,4803,4877,4921,4772,3654,2277,1925,1724,1990,2315,3011,3617,4187,4546,4557,4019,3195,2330,2050,2242,2502,2548,2138,1759,1701,1758,2088,2486,2967,3176,3580,3804,3356,2350,3193,3371,3274,2929,2463,2409,2578,2958,3063,2565,2130,2460,2159,2334,2013,1810,2258,2859,2625,1850,1754,1785,1984,2214,2399,2511,2442,2549,2588,2695,2445,2287,2310,2499,2618,2310,2050,2159,2707,3183,2940,3319,2463,2761,3261,2799,2410,1939,2301,2066,1250,1509,1637,1636,1670,1543,1555,1657,1743,1941,1974,2013,2346,2165,2296,2778,2552,2260,2260,1992,1985,2422,2413,1940,1561,2046,2829,3316,2967,2709,2742,2062,1755,1771,1664,2282,2200,2651,3957,4352,3377,3118,3603,3462,3341,3453,3692,3620,3363,3953,3467,2681,2853,3338,3516,3387,2984,3231,3382,2851,2533,1807,2044,1920,1726,1986,1855,1875,2215,1982,1919,2135,2534,3063,2987,2390,2161,1858,1844,1678,1798,2085,2321,2075,1842,1730,1499,1533,1463,1082,969,1040,1267,1313,1306,1403,1060,876,1155,1460,1652,1538,1108,951,1594,2103,2132,2395,2242,2171,2426,2337,2078,2155,2331,2130,1993,2179,2046,1833,1937,1930,2003,2248,2287,2321,2203,1973,1829,1744,1848,1923,1942,1881,1934,2076,2516,3057,3234,3399,3010,2143,1792,1884,1680,1647,1840,1918,1870,1991,2055,2022,1850,1765,1786,1816,1946,2397,2741,2876,2821,2624,2564,2649,2080,1143,1684,2383,2010,1600,1738,1740,1744,1820,1862,1794,1593,1482,1573,1687,1714,1477,1456,1572,1640,1672,1668,1960,1939,1722,1705,1774,1587,1335,1664,1949,1567,1412,1615,1669,1781,1896,1897,2289,2007,1460,1714,1832,1647,1506,1423,1425,1436,1522,1782,1686,1698,1577,1860,2135,2105,2081,1974,2029,2040,2116,2106,2060,2105,2164,1887,1564,1499,1623,1643,1574,1606,1641,1816,1916,1754,1699,1822,1695,1488,1606,1419,1286,1407,1865,2236,2497,2315,2373,2698,2182,1556,2197,2020,2360,1921,1353,1814,2365,2468,2115,1975,1975,1873,1848,1880,1990,1879,2236,2820,3183,2728,2541,2390,2264,2380,1647,1489,1354,2018,2867,2228,1706,1724,1967,1766,1471,1648,1688,1934,2324,2425,2705,3128,2916,2571,2554,2071,2346,2362,2030,1815,1561,1402,1301,1708,2083,1928,2099,2199,2656,2724,2743,2398,2014,1952,1789,1548,1373,1692,2001,2045,1989,1875,1668,1787,1522,1682,2105,2322,2394,1995,1688,2032,1824,1291,1189,1262,1527,2510,2329,2138,2113,2058,2073,2110,2741,2915,2734,2719,2223,2109,1833,1542,1946,1918,2459,3082,2622,1754,1669,2180,2284,2453,2548,2587,2577,2423,2706,2432,2215,2246,2380,2389,2265,2177,2306,2164,2227,2603,2659,2175,2901,3156,2511,2642,2439,1604,1547,1815,1972,1627,1913,2445,2830,2710,2377,2061,2635,3496,2783,2012,2164,2076,2851,3430,3464,2562,2342,2634,2952,3263,3610,3737,3367,3107,3023,2343,2443,2861,2987,2326,2544,2534,2430,2242,2075,2359,2204,1813,1894,2558,2517,2431,2654,2862,2779,2898,3079,2410,2554,2610,2186,2104,2634,2899,2473,2325,1783,1735,2106,3149,4393,4074,2798,2427,2962,3614,3374,1971,1627,1865,2304,2056,2207,2589,2055,1682,1842,2283,2677,2543,2496,2876,2600,1832,1515,1678,1714,1826,2480,2917,2210,2133,2248,1792,1636,1746,2148,2249,1774,1896,2230,2463,2394,1992,2238,2392,1843,1694,1801,1789,1937,2032,1841,1953,1963,1574,1605,1649,1738,1696,1708,2120,2099,1989,2331,2375,2205,2451,2586,2346,2498,2179,2247,2544,2069,1896,2132,2302,2229,1791,1527,1351,1296,1359,1629,1599,1672,2032,2590,2780,2215,1111,1249,1857,2066,1954,2444,2733,2662,2891,2415,2518,3667,3780,3857,3826,3826,3903,3969,4017,3919,3790,3914,3986,3914,3870,3902,3758,3087,2201,1919,1926,1961,1581,1469,1837,2347,2313,2450,3208,3798,4184,4205,3309,2105,1596,1770,2570,3527,3086,2245,1864,1903,2100,1802,1567,1619,1635,1589,1693,1961,1706,1739,1769,1629,1602,1751,2131,2342,1596,1553,1626,1611,1741,1902,1757,1937,2132,1971,2121,2470,2341,2452,2386,2492,2493,2438,2591,1921,1926,1983,1973,2093,2257,2341,2003,2156,2908,3099,2381,2156,1825,1757,2081,2403,2605,2396,2756,2984,2251,2421,2122,2001,2392,2916,2995,2830,2836,3278,3068,2820,2619,2451,2502,2409,2365,2194,2283,2479,2730,3001,3199,2887,2648,2403,1902,1950,2018,1335,1289,1489,1545,1663,1963,1934,1974,2041,1932,2006,2120,1747,1679,2157,1865,2327,1887,1825,2142,2195,2350,2195,2143,2490,2756,3160,3100,1604,1263,1901,2257,2481,2731,2683,2479,2272,2241,2798,3212,3408,3692,2883,1989,2097,2098,2360,2230,1929,2270,2945,3364,3615,3496,2694,2407,2144,1221,1546,2041,2692,2620,2687,2885,2502,1979,2207,2858,2807,2344,2110,1562,1474,2121,2641,2586,2065,2708,2697,2336,2178,2098,2097,2539,3020,2928,2589,2294,2357,3110,2930,2521,2707,3042,2899,2766,2930,2946,2965,3063,2448,3121,2514,2139,2151,2407,2778,3272,2974,2786,3011,2624,2296,2598,2800,2542,2874,2934,2661,2609,2524,2500,2840,3088,2965,2931,3377,3332,3406,3330,2748,2750,3443,3417,2894,2777,2701,2741,2535,2247,2664,2784,2273,2101,2812,4094,3452,2971,3100,2897,2588,2271,2159,2451,2473,2263,2082,2391,2492,2243,2576,3326,3858,3927,3235,2241,2452,2522],[2877,2062,2149,2767,3458,3649,3197,3114,3182,2937,2720,3088,3450,3462,2836,2372,2636,2875,3009,3240,3165,3672,3858,4050,3854,3376,3575,3870,3582,3089,3030,3107,3160,3394,3476,3391,3665,3635,3444,3796,4035,3921,3640,2942,2654,2878,3018,3053,2907,2890,2915,2977,3145,3018,2645,2650,2508,2705,3238,3394,3426,3940,2730,1997,1872,2697,3803,4005,3427,3073,2893,2854,2767,2297,2390,2815,3038,2539,2544,2721,2587,2171,2040,2289,2168,2526,3068,2957,3087,2326,2747,2601,2458,2678,2890,2415,1812,1732,1820,2060,2877,2766,2248,1816,2228,2423,2942,3241,3173,3216,2856,2228,1380,1231,2337,2565,1928,1681,1942,2266,1923,2201,2666,2470,2063,1847,1963,2190,2932,3589,4018,3780,2597,2095,2349,2690,3170,3331,2974,2402,2041,2003,2013,2276,2152,2388,2739,2739,2818,2890,2927,2941,3097,2909,2646,2664,2176,2136,2534,2791,2375,2199,2288,2521,2596,2574,2480,2761,2698,2603,2492,2049,2085,2225,2308,2526,2612,2810,2678,2956,2952,2564,2155,1898,2337,2574,2301,2840,2559,2202,1816,2489,2903,3061,2898,2443,1893,1658,1806,2139,2442,2345,2111,2190,1995,2327,2569,2054,1904,2156,2074,2984,3658,2651,2237,2784,2943,2612,1253,1569,2066,2414,2819,3033,3042,2117,1073,1489,2602,2576,2224,2082,2289,2282,2000,2370,2780,3128,2809,2923,3215,3193,3090,2975,3260,3266,3181,3473,3861,3950,3963,3728,3823,3984,3936,3870,3764,3348,3339,3480,3598,3675,3858,3633,3206,2110,2226,3485,3709,3785,3473,2800,2763,2644,2492,3287,3737,3232,3843,4376,4376,4021,3618,3038,2492,2010,1778,2498,2103,2419,2544,2118,2588,3239,3746,3851,3145,2670,2697,2956,3211,2468,1972,1889,2420,1960,1944,2318,2223,2702,2805,2243,2406,2181,1870,1736,1869,2428,2177,2603,2604,2599,2226,1652,2243,3517,3327,2580,3272,3366,3384,3548,2769,1619,1416,1846,2334,2768,3007,3005,3012,3125,2998,2729,2797,3151,2988,2696,2658,2503,2238,2148,2425,3127,3880,3551,3088,2818,2824,2403,2084,2065,2321,2552,2696,2708,2588,2800,3178,3107,2613,1742,1618,2608,2640,2415,2723,2998,3104,2844,2686,2548,2228,2564,2697,2653,2733,2836,2862,3112,3002,3084,3560,3076,2304,2207,2067,2059,2145,2318,2527,2308,2365,2426,2314,2013,1667,1990,2709,2762,2680,2609,2588,2790,2530,2474,2354,2375,2227,1985,2539,3305,3220,3218,3575,2978,2520,2313,2450,2142,2245,2022,1661,2160,2517,2125,1892,1923,1621,1560,1536,1639,1608,1764,1733,1635,1573,1526,1553,1577,1750,1774,1918,2192,1686,1567,1783,1975,1782,1366,2066,2308,1784,1569,1600,1918,1881,1587,1678,1669,1665,1508,1870,1677,1604,1795,1832,1677,1324,1579,1969,1635,1731,2106,1986,1825,1756,1924,2055,2157,2101,2040,2086,2180,1780,1854,1764,2026,2036,2248,2024,1850,2181,1980,1798,1935,2186,2375,2070,1769,1537,1626,1852,2078,2449,2842,3457,2978,1982,1825,1923,2163,1959,1761,1809,1864,2054,1917,1715,1666,1876,2204,2382,2196,1973,1715,1805,2210,2275,2448,2369,2447,1973,2353,2602,2482,2255,1637,1786,2255,2318,2356,2289,2204,2249,2244,1947,2176,2106,1984,2069,2072,1700,1541,2686,3902,3753,2768,2194,2023,1795,1736,2102,2034,1985,1976,1896,2006,2448,2410,1982,1698,1987,1863,1548,1708,1521,2287,2299,1735,1732,1824,2005,1626,1492,1750,1725,2464,3222,2468,2475,2523,1979,1534,1544,2282,2721,2327,1587,2008,2610,2744,2239,2050,2112,2072,2078,2196,2171,2250,2235,2260,2280,2462,3509,3693,2492,2076,2114,2460,2461,2450,2325,2664,3452,2918,2718,2656,2536,2877,3223,2505,2271,2295,2444,2626,2556,2768,2868,2359,2098,1686,1708,2231,2239,1815,1571,1881,2437,2997,2850,2622,2336,2290,2092,2464,2744,2621,3120,3039,2651,2653,2689,2433,1895,1885,2169,2001,1759,2247,2209,2060,1960,2468,2767,2343,2517,3447,3582,3132,3249,3316,3107,2833,2744,2258,2116,2771,2282,1908,2239,2104,2100,1910,2120,2812,2566,2148,1635,1631,1914,1549,1821,2310,1908,2101,2625,2270,1252,1821,2686,3128,3681,3939,2433,1537,2108,2947,2810,2336,2596,2462,2397,2590,2580,2276,2814,2726,2691,2698,2061,1876,2099,2124,2524,2908,3400,3515,3348,3951,4006,3681,3592,3204,3294,3492,3408,3515,3611,3516,3752,3406,2210,2197,2750,2926,3039,2884,2666,2369,1942,2390,3817,4637,4704,4679,4861,4861,3915,3001,2358,1806,1815,2179,2858,3986,4720,4552,4476,4555,4163,2873,2424,2463,2626,2177,1722,1576,1634,2196,2796,2780,2968,3370,3747,3987,3848,3307,3382,3207,2856,2845,3143,3010,3184,3209,3112,3009,3077,3266,2418,1946,1920,2186,2450,2909,2700,1771,1688,1677,1771,1907,1885,2159,2432,2684,2842,2500,2265,2333,2098,1946,2031,1946,2112,2065,2179,2637,2725,3476,2820,3094,3186,2763,2455,2655,2859,1620,1474,1959,2096,2017,1978,2026,2052,1994,1812,1888,1984,1948,1793,1815,2526,2587,2414,2297,2232,2151,2254,2030,1920,2031,2355,2695,2884,2970,3153,2975,2259,1734,1548,1639,1541,2182,2446,2613,3529,4417,3889,3522,3677,3674,3394,3349,3377,3493,3175,3597,3287,2754,3068,3577,3626,3576,3132,3183,3246,2687,2636,2288,2349,1913,1892,2136,1895,2002,2110,1998,2040,2014,2228,2245,2599,2602,2605,2061,1848,1819,1936,2402,2579,2223,1959,1652,1501,1969,1820,1260,1245,1412,1468,1253,1225,1340,1146,965,1180,1397,1582,1520,1176,1303,1441,1575,2130,2530,2356,2458,2568,2346,2281,2220,2057,2206,2740,2731,2612,2567,2605,2320,2159,2202,2317,2480,2477,2218,2093,2133,2208,2410,2228,2101,2153,2079,2147,2156,1913,1839,1920,1715,1518,1405,1384,1576,1509,1741,1862,1877,1889,1811,1807,1922,1961,1848,2143,2856,2958,2789,2688,2620,2216,2036,1858,1618,1556,1295,1219,1690,1755,1764,1743,1972,1788,1614,1686,1714,1602,1434,1090,1200,1854,1743,1665,1697,1920,2313,1814,1629,1589,1653,1512,1626,2249,1943,1487,1499,1613,1597,1578,1644,1545,1664,1426,1336,1757,1675,1615,1723,1664,1542,1531,1677,1668,1517,1772,1889,1954,1809,2142,2291,2041,2053,2071,2111,2145,2057,2216,2129,2038,1746,1824,2032,1766,1528,1472,1441,1540,1613,1870,1938,1809,1656,1683,1776,1707,1545,1573,1844,1860,1825,1928,2084,2239,1937,1866,2480,2280,2273,1716,1475,1846,2324,2480,1887,1716,2099,1850,1819,1982,2192,2185,2563,2999,2799,2240,2508,2398,2164,2193,1609,1488,1507,1937,2365,2312,1842,1777,1974,1753,1510,1524,1494,2055,2135,2175,2367,2519,2318,1956,2207,2299,2557,2468,1980,1780,1629,1844,1749,2604,2460,2018,1972,2144,2535,2663,2555,2084,1763,1974,2339,2484,2127,2197,2264,2571,2266,1870,1748,1698,1706,2071,2330,2489,2521,2289,2151,1875,1720,1621,1297,1931,2223,2117,2052,2068,2127,2405,2282,2018,2808,3013,2769,2441,2503,2510,1780,1819,2602,2861,2735,2580,2349,1764,1733,1764,1836,2322,2947,2780,1867,2139,2310,2405,2872,2863,2905,2813,2720,2351,2119,2626,2435,2116,2247,2802,3220,2818,2541,2300,1954,2508,2509,2556,2486,1841,1613,1975,2194,2677,2495,2018,2142,2524,2120,1811,1818,2231,2686,2225,2783,2849,2842,2499,2774,3050,2846,2899,3073,2677,2496,1916,1507,2206,2391,2381,2283,2458,2481,2067,2175,2490,2699,2576,2035,2086,2463,3059,3355,2651,2472,2690,2758,3244,3301,2906,2497,2476,2954,2939,2467,2354,1895,1811,2135,3172,3683,3189,2343,2473,3431,3500,2567,1808,1582,1921,2715,2209,1789,1894,1852,2071,2267,2699,3095,2880,2360,2099,1971,1786,1642,1675,1669,1963,2765,2599,1841,2020,2053,1929,1550,1495,1848,2156,2020,1964,2074,2121,2039,1995,2256,2548,1919,1838,1969,1804,2042,2370,1843,1781,1863,1950,1991,1993,1938,1285,1015,1591,1830,1736,1638,1656,1593,1792,2140,2242,2567,2732,2635,2797,2688,2132,1958,1814,1914,1771,1572,1585,1739,2095,2188,2030,2008,1992,2459,2844,2406,1150,1716,2283,2151,1766,2103,2497,2508,2591,2448,2656,3839,3762,3780,3849,3897,3884,3959,3986,3902,3834,3926,3891,3918,3686,3439,2890,2292,2519,2204,1919,1831,1546,1375,1371,1608,2097,2698,3038,3435,3984,4541,3904,2534,1736,1707,2046,2707,2788,2287,1721,1892,1957,1608,1461,1648,1415,1403,1966,1914,1696,1990,2014,1746,1700,1646,1866,2030,1399,1421,1566,1604,1608,1709,1852,2081,2438,2501,2036,2134,2511,2630,2241,2612,2767,3266,2924,1951,1983,2128,1849,1817,2421,2688,1974,2128,2949,2607,2379,2182,1960,1980,2394,2549,2212,2610,3065,2631,2101,2043,1886,1734,1821,2304,2470,1937,2446,3370,3076,2807,2597,2522,2580,2453,2677,2848,2751,2156,2440,3020,2677,2402,2477,2193,1903,2077,2178,1908,1708,1682,1898,2154,2131,1963,2193,1895,1533,2078,2250,2373,2456,2187,1916,2514,2652,1935,1604,2236,2795,2662,2358,1911,1989,2711,3097,2110,1860,2448,2631,2791,2874,3052,2845,2115,2231,2695,2578,3038,3710,2833,2276,2446,2325,2368,2308,1947,2458,3267,3096,3033,2986,2016,2050,2432,2030,1737,2258,2946,2984,2983,3009,2856,1979,1646,1952,2487,2533,2376,2280,1625,1899,2187,2402,2380,2575,2719,2210,2482,2679,2329,2478,2712,2267,2443,2471,2920,3204,3168,2823,2709,2957,3098,3061,2919,2747,3123,3063,2500,2626,2442,2469,3025,2973,2548,2715,2443,2330,2464,2477,2634,2831,2801,2458,2798,3250,2886,2428,2665,2964,3002,2916,3098,3056,3323,3118,3216,3356,3261,3292,3558,3614,3514,3274,3000,2774,2463,2215,2663,2754,2338,2024,2490,3416,3593,3680,3548,2597,1998,2257,2385,2646,2498,2447,2389,2266,1853,2295,2564,3091,3982,3670,2498,1731,2142,2018],[2756,1771,1758,2073,2995,3497,3363,3178,3148,2964,3176,3604,3759,3754,2981,2036,2577,2806,2577,2688,3503,3804,3529,3881,3692,3574,3880,4027,3619,2954,2619,3155,3194,3257,3086,3299,3627,3625,3604,3753,3915,3894,3544,2830,2521,2747,2618,2712,2753,2782,2913,2944,3000,2980,3142,3106,2446,2463,3457,3294,3183,3318,2536,2019,1843,2795,4069,4020,3499,3622,4120,4003,4108,3884,3079,2899,2746,2242,2050,1974,2076,2185,2164,2316,2622,2849,2998,2974,2956,2678,3208,2321,1826,2513,2916,2590,2154,1823,1722,1802,2922,2733,2310,1934,2144,2598,3210,3596,3560,3729,3166,1737,1223,953,1559,2082,1634,1346,1610,2009,2029,2396,2388,2232,2448,2687,2509,2499,2833,3204,3527,3370,3051,2550,2855,2917,3010,3405,3228,2694,2400,1919,1714,1985,2047,2585,2696,2750,3072,3161,3167,3152,3107,2918,2873,2579,2470,2337,2357,2202,2147,2092,2424,2800,2791,2416,2568,2957,2724,2675,2812,2432,2342,2251,2442,2498,2662,2839,2952,3105,2659,2370,2042,1682,2087,2720,2951,2444,1592,1526,2005,2586,2541,2784,2876,1914,996,1038,1549,2665,3787,3217,2923,3119,3142,3066,3034,2827,2407,1914,1833,2274,2674,2364,2288,2391,2565,2351,1573,1561,1696,1968,1758,1657,2244,2156,1842,1925,2293,2223,2017,1865,1921,1993,1644,1651,1924,1850,2017,2699,3185,3186,3055,2944,2996,3100,3098,3474,3828,3951,3931,3950,3940,3665,3684,3730,3664,3408,3474,3426,3573,3725,3780,3912,3732,2319,1991,3352,3351,3419,3443,3029,2841,2834,2938,3340,3604,3414,3466,4012,4012,3610,3289,2506,2242,1366,1213,2100,2867,3052,2556,2307,2898,3097,3135,3437,2863,2412,2798,3187,3350,2792,2151,2026,2546,2282,1980,2137,2391,2713,2555,2147,2068,1803,1895,1837,2051,2027,1912,2180,2644,3107,2474,1647,2273,3865,3758,3106,3199,3239,3407,3312,2622,1719,1648,2602,3093,2509,2440,2391,2826,3406,3414,3164,2976,2928,2697,2602,2624,2231,2150,2498,2332,2770,3514,3398,3252,3429,3221,2665,2416,2522,2916,3056,3090,2740,2701,2965,3353,2909,2666,2370,2623,3153,2886,2474,2140,2288,2669,2842,3006,2898,3146,3334,3329,3191,2815,2756,2849,3103,3472,3385,3240,2923,2196,1951,2093,2155,2083,2325,2767,2641,2244,2219,2145,1688,1660,2055,2349,2395,2556,2408,2532,2681,2435,2276,2282,2154,2059,1974,2109,2521,2861,3500,3831,2990,2577,2480,2663,2470,2115,2104,2355,2901,2880,2159,1809,1780,1667,1637,1548,1478,1636,1843,1830,1866,2024,1872,1559,1565,1600,1831,2344,2253,1853,1748,2128,2163,1766,1483,1954,2156,1682,1459,1542,1607,1741,1606,1598,1559,1630,1644,1810,1709,1849,1787,1579,1869,1810,2160,1928,1637,1640,1892,2335,2172,2034,2081,2076,2003,2151,2052,2095,2206,1858,1741,1933,2006,2041,2045,2027,2004,1964,1805,1920,1853,1763,2028,2167,2008,1746,1724,2048,2218,2393,2352,2810,2452,1867,1886,1800,1880,1631,1616,1519,1723,1863,1749,1727,2164,2467,2377,2251,2129,1910,1905,1819,1767,1810,2109,2422,2305,2171,2370,2723,3001,2182,1707,1920,2425,2785,2405,2085,2148,2390,2391,2077,2102,2407,2417,2307,2096,1862,1714,3172,4112,3651,2479,2200,2063,1693,2013,2180,2153,2107,1916,1757,2054,1948,1824,1959,1677,2031,1866,1672,1470,1436,1980,1809,1604,1728,1711,1728,1491,1553,1863,1896,2191,2207,1842,2007,2026,1686,1562,1616,1904,1725,1741,1898,2145,2666,2563,2278,2244,2603,2755,2396,2237,2127,2323,2499,2262,2214,2179,2820,2519,1897,2403,2767,2600,2528,2203,2283,3499,4189,3685,3241,2730,2962,3335,3196,3089,2943,2636,2570,2602,2600,3121,3319,2568,2077,2252,2204,2243,2089,1797,2116,2358,2443,2578,2619,2443,2183,2379,2261,2192,1808,2118,2963,3221,2846,2727,2703,2740,2598,2992,3125,2200,1934,2330,2455,2198,2120,2301,2370,2315,2548,3334,3472,3129,2955,2828,2950,3037,3208,2907,2763,2818,2214,2200,2490,1982,2066,1781,2733,2967,2142,1763,1885,2240,2112,1681,2049,2654,2684,2622,2320,2138,1692,2211,2867,3319,4027,3927,2491,1761,2417,3433,3135,2712,2568,2454,2609,2598,2898,2611,2972,2821,2307,2291,2069,2374,3007,3247,3486,3604,3782,3661,3427,3665,3748,3708,3475,3185,3452,3664,3364,3530,3692,3596,3529,3313,2614,2208,1684,1647,2543,2590,2207,2288,2110,2361,3666,4288,4328,4295,4444,4456,4082,4095,3454,1992,2011,3510,4349,4753,4904,4677,4462,4419,4332,3410,2447,1992,1788,1773,1853,1761,2321,3138,3872,3462,3429,3341,3588,3338,3531,4031,3408,2917,2977,3016,3095,3039,3708,4077,3681,3074,3117,3118,2497,2268,2249,2304,2300,2457,2765,2009,1697,1654,1620,1358,1606,1945,2030,2707,2598,2364,2585,2225,1682,1922,2036,1785,1931,1990,2122,2175,2655,3497,3460,3243,2839,2567,2509,3420,2689,1262,1484,2073,2205,2219,2303,2334,2253,2214,2020,1930,2243,2145,1888,1934,2436,2330,2553,2237,1772,2001,1833,1542,1856,2719,2931,2788,3060,3295,3072,1948,1623,1316,1339,1696,2319,3229,3561,3259,3718,4244,3617,3408,3726,3975,3279,2797,3023,2961,2751,3283,3607,3319,3406,3474,3137,3598,3132,2652,2704,2644,2878,2558,2231,2125,2217,1967,1666,1721,1840,1950,2160,2220,1866,1935,2245,2088,2405,2715,2614,2655,2954,2933,2901,2445,2004,1655,1676,2351,2247,1519,1544,1790,1566,1336,1417,1389,1152,967,1135,1463,1658,1621,1220,1342,1576,1765,2512,3318,3467,3312,3152,3116,2924,2365,2160,2039,2102,2288,2676,2889,2833,2696,2375,2241,2273,2213,2121,2077,2501,2423,2168,2187,1932,1775,1780,1692,1721,1776,1571,1550,1699,1753,1726,1606,1494,1500,1504,1649,1665,1450,1389,1592,1779,1817,2005,1895,2096,2796,2742,2321,2618,2526,2163,2554,2485,1977,2014,1510,1110,1593,1689,1850,2039,2039,1628,1444,1596,1698,1499,1141,1272,2292,2724,2306,1813,1744,1987,1856,1472,1396,1394,1553,1644,1843,2009,1593,1416,1503,1397,1454,1402,1504,1392,1397,1407,1816,2150,1677,1741,1705,1780,2010,2459,2570,1683,1277,1729,1758,1453,1590,2166,2608,2262,2103,2048,1981,2038,2047,2150,2181,2171,1931,2010,2105,1710,1564,1502,1403,1488,1450,1658,1976,1963,1982,1896,1775,1837,1608,1638,1677,1748,1970,2009,2425,2280,1890,1632,1863,1808,1756,1561,1538,2448,2619,2180,1980,1920,2069,1966,1843,2024,2299,2365,2297,2407,2267,2142,2195,2289,2398,1751,1471,1806,2045,2032,2209,1874,1475,1442,1664,1622,1325,1199,1590,2130,2182,2245,1752,1717,1856,1759,1945,2294,2384,1979,1741,1744,1670,1677,1608,2387,2014,1541,1922,2740,2846,2526,2562,2323,2316,2258,2590,2653,2532,2351,2611,2824,2570,2196,1780,2222,2761,2350,2454,2667,2546,2188,1808,1621,1768,1732,1900,2801,2664,1899,2026,2310,2239,2394,2227,2216,2112,2226,2370,2051,2029,2075,1945,2138,2768,3240,2574,2658,2417,2097,1767,1527,1977,2520,3465,3008,2192,2837,2526,2690,3200,3016,2895,2940,2708,2366,1784,2487,2731,2479,2611,2215,1904,1983,3129,3177,3272,3494,3177,3199,2958,2666,2490,1929,1806,2061,2411,3019,2468,2622,1947,2055,2025,2619,2707,2175,2239,2972,3510,3374,3480,2974,3136,3703,3288,2587,2242,2029,1671,1801,1906,1964,1845,1896,2319,2655,2753,2547,2714,2622,2436,2751,2478,2260,2853,2775,2474,2252,2246,2950,3332,3142,2710,2842,3078,3076,2567,2439,2414,2212,1919,2136,2478,2634,2197,3027,3575,2730,2097,2133,2060,2380,2765,2106,1604,1661,1845,1800,2058,2669,2642,2456,2080,1982,1949,1599,1520,1685,1499,1870,2201,1969,2045,2073,1591,2135,1333,1113,1535,2019,2046,1924,1913,1929,1714,1665,2173,2721,2166,1932,1976,1993,2389,2284,1840,1748,1865,1980,2236,2259,1427,888,1590,1936,1860,1534,1492,1912,1860,1722,1747,1986,2829,2930,2878,3011,3167,2258,2238,2093,1987,2024,1850,1732,1874,1875,2128,2281,2505,2360,1841,2161,1515,1328,2095,2354,2057,1793,2081,2689,3030,3059,2823,3030,3828,3824,3906,3938,4036,4058,4002,4037,3813,3708,3830,3773,3836,3129,2745,2140,2025,2546,2297,2199,2525,2292,1688,1440,1592,2412,2858,2957,3414,3925,4073,3905,2758,1987,2054,2156,2252,2779,2985,2411,2304,1810,1740,2172,2426,1825,1504,1775,1808,1830,2020,2085,2069,1952,1918,2088,2001,1707,1863,2195,2238,1968,1841,2238,2658,2522,2284,1748,1696,2475,2548,2158,2768,3210,3561,3186,2227,1826,1725,1684,1605,1923,2328,2147,2320,2575,2029,2131,2348,2198,2114,2323,2556,2238,2141,2050,1917,2145,2361,1967,1945,1923,1998,2191,1675,1746,2624,2131,1990,1930,2012,2585,2787,2729,2576,2250,1891,2055,2336,2040,1724,1826,2037,2479,2329,2081,2221,2223,1957,2090,2510,2600,2562,2442,1944,1898,2046,1908,2110,2329,2621,2588,2497,2062,2027,2209,2254,2719,2615,2045,1769,1556,2099,2843,2752,2059,2183,2653,2506,2575,2989,2851,2546,3065,3185,3189,3197,3142,3075,2884,2604,2352,2441,2735,2636,2540,2765,2454,2609,2567,2181,2734,2648,2214,2122,2482,3038,2962,2540,2630,3056,2564,1829,1757,2278,2688,2662,2305,1942,1650,1754,2750,3175,2928,2842,2800,3273,2909,2643,2158,2148,1780,1903,2697,3132,3084,2906,2786,3009,2916,2844,2963,2867,3095,3462,3041,2286,1964,2157,2532,2876,2640,2271,2526,2223,2450,2556,2292,2600,2626,2584,2646,3270,3525,2768,2216,2671,3058,2841,2828,2956,3009,3032,3039,3030,3408,3607,3161,2660,2761,2706,2806,2922,2556,2477,2699,2896,2403,1925,2068,2370,2165,2397,3197,3298,2547,2155,2649,2588,2468,2736,2828,2732,2666,2576,2780,2939,3222,3549,2822,1830,1790,1774,1691],[2832,2166,1866,1907,2701,3159,3264,3234,2910,2956,3371,3269,3694,3938,2918,1935,2368,2718,2599,2840,3814,4260,4144,4038,3974,4402,4140,3899,3414,3159,3517,3562,3109,2856,2820,3046,3264,3315,3347,3430,3542,3702,3703,2876,2380,2362,2120,2839,2714,2070,2417,2525,2802,3024,3170,3190,2674,2998,3735,3263,2822,2678,2211,1711,1686,2653,3629,3698,3694,3839,4536,4432,4305,4305,3461,3006,2994,2710,2436,2238,2288,2557,2620,2482,2899,2579,2354,2734,2777,2435,2820,2851,2507,2765,3068,2871,2561,2668,2502,2294,3328,2897,2344,2073,2535,3204,3660,3760,3596,3771,3435,2356,1959,1259,1838,2288,1832,1577,1825,2200,2576,2685,2058,2359,3196,3714,3868,4003,3379,3042,3399,3476,3306,3487,3454,3474,3828,4074,3912,3732,3024,1791,1970,2642,2885,3146,3162,2841,2596,2799,3129,3186,2596,2398,2145,1785,2360,2299,2250,2177,2124,1843,1857,2256,2214,2115,2656,3161,2776,3138,3356,2855,2612,2653,2441,2292,2719,2956,2999,2832,1920,1866,1902,1833,1703,2370,2929,2496,1881,1867,2559,2783,2380,2576,2552,1694,1046,1438,1938,3017,4199,4200,3621,3619,4012,4111,4160,3864,2651,1392,1342,1544,1868,1852,1556,1468,1801,2598,3211,2842,2286,1964,1416,1498,2116,2353,2245,1889,2024,2542,2310,1967,2022,1867,1788,2218,2321,2127,2262,2865,2862,2817,2697,2862,2972,3179,3266,3444,3652,3764,3861,3747,3718,3473,3573,3709,3504,3396,3527,3360,3503,3816,3816,3820,3732,3264,3002,3251,3166,3181,3340,3298,3073,2904,2888,3026,3279,3189,3327,4200,3880,3247,2713,2318,2063,1716,1992,2604,2905,2770,2332,1770,2333,2567,2402,2626,2832,2674,3098,3409,3348,3207,2680,2487,2522,2075,2030,2308,2667,3068,2874,2385,2151,1732,1866,2037,1832,1509,1542,1940,2416,2566,2239,1943,2448,3239,3536,3284,2942,3131,3128,2661,2398,2080,2570,3688,3504,2610,2585,2384,2753,3082,3008,2938,2954,3047,2814,2458,2587,2569,3120,3626,3006,2841,3238,3227,3062,2894,2856,3205,3652,3870,3882,3647,3611,3041,2521,2762,2600,2524,2828,2906,3466,3956,3842,3486,2940,2670,2565,2007,2092,2511,3093,3429,3727,3296,2245,2306,3039,2932,2458,2322,2584,2424,1918,1949,2198,2200,2082,2216,2526,2375,2049,2123,2236,2043,2029,1960,2064,2345,2504,2442,2508,2494,2265,2132,2049,2083,2146,2280,2388,2698,2511,2900,2830,2433,2343,2417,2566,2418,2348,3155,3043,2740,2670,2055,1689,1677,1723,1793,1624,1608,1800,1887,1860,2078,2388,2304,2048,1932,2046,2577,2395,2149,1953,1647,2108,2219,1622,1541,2031,1832,1564,1541,1584,1690,1842,1882,1843,1701,1644,1658,1676,1685,1699,1630,1874,2054,1870,1918,1864,1810,1893,1992,2091,2221,2399,2800,2585,1819,1830,2050,2930,2837,2050,1810,2042,1950,1726,1910,2259,2253,1992,1940,2150,2237,2054,2168,2054,2100,1600,1580,1895,2120,2210,2099,2307,1982,1775,1686,1620,1728,1581,1541,1787,1970,1962,1603,1710,2689,3005,2127,1767,2156,2620,2562,1903,1765,1780,2162,2366,2164,2391,2300,2831,2630,1387,1415,1708,2176,2303,2001,1741,1780,1924,2282,2228,1830,2221,2290,2047,2131,2149,2163,3547,3849,2529,1731,1963,2106,2136,2203,2601,2682,2057,1545,1818,2438,1988,1688,1854,1786,1739,1601,1553,1639,2032,2088,1602,1641,1798,1895,1787,1718,1847,1911,1902,2124,2176,1881,1653,1791,1618,1824,1748,1620,1952,2562,2524,2453,2566,2310,2369,2382,2298,2580,2889,2379,2358,2364,2436,2308,2280,2163,2316,1954,1926,2743,2924,3000,3074,2106,2818,4083,4174,4156,3708,2999,2656,2620,3387,4359,3792,2639,2548,2490,2436,3166,3068,2343,1982,2014,2049,1982,1687,1774,2337,2164,2313,2555,2602,1898,2065,2330,2425,2335,2238,2357,2709,2776,2446,2508,2558,2471,2460,3393,3592,2225,2139,2599,2702,2495,2150,2492,2679,2518,2450,2980,3063,2755,2854,3068,3408,3589,3532,2987,2702,2625,2318,2621,2657,2149,2195,2100,2401,2367,2228,2287,2548,2596,2113,2059,2464,2828,3119,2469,1941,1918,1740,2062,2796,3128,3849,3618,2356,1966,2309,2291,2482,2719,2510,2486,2493,2273,2202,2038,2202,2483,2660,3005,3059,3410,3691,3580,3558,3703,3768,3834,3676,3608,3754,3755,3798,3902,3786,3208,2522,2873,2945,2808,2658,2527,2354,2086,1308,1358,2370,2641,2321,2350,2191,2480,3652,4140,4288,4334,4256,4231,4099,4005,3539,2594,2920,4156,4932,5043,4936,4760,4348,3796,3362,2541,1874,2025,2032,1999,2198,2256,3020,3494,3720,3688,2722,2305,3342,3782,3956,3537,2550,2648,2734,2814,2755,3342,4120,4620,4231,3342,3272,3240,2609,2415,2219,2020,2543,2443,2679,2452,1858,1582,1432,1310,1940,2250,2494,2609,2407,2454,2384,1769,1672,1976,2073,1717,1926,1950,1980,1985,2387,3222,3665,3017,2647,2350,2853,3648,2508,1665,1594,1838,2065,2514,2607,2456,2352,2159,2089,1788,2149,2118,1766,1882,2292,2708,2822,2416,2402,2194,1860,2084,2400,3006,2566,2364,2556,2635,2062,1656,1678,1782,2166,2732,3244,3408,3760,3763,4003,4185,3868,3576,3096,3062,2921,2841,3163,3150,2734,2797,2947,2791,3012,3068,3088,3555,3116,2501,2455,2651,3073,2957,2494,2302,2009,2012,1777,1712,1852,1998,2144,2263,1919,2060,1998,1381,1235,1968,3087,3672,3710,3263,2917,2720,2206,1883,1748,2179,2089,1626,1670,1836,1664,1437,1456,1581,1334,1132,1200,1532,1688,1643,1380,1481,1673,1701,2294,3182,3308,3457,3605,3686,3509,3182,2662,2182,2248,2610,3032,3282,3144,3056,2792,2612,2054,1837,2293,2479,2608,2634,2651,2675,2353,1660,1414,1771,2021,1867,1512,1543,1741,1962,1846,1806,1807,1913,1920,1823,1726,1359,1346,1753,2513,3125,2917,2276,2122,2685,3053,2481,2065,2008,1985,2604,2608,2302,2765,2129,1113,1489,2220,2754,2322,1699,1572,1524,1577,1766,1565,1516,1927,2546,2632,2596,2018,1676,1660,1620,1464,1346,1532,1776,1652,1809,1745,1562,1360,1393,1363,1429,1585,1499,1377,1397,1460,1890,2149,1748,1672,1632,1638,2069,2839,2855,1898,1602,1893,1637,1354,1559,2052,2237,2178,2048,1946,1874,1899,1990,2060,2076,2048,2158,2410,2004,1942,1989,1570,1407,1540,1481,1758,2076,2002,2060,2018,1847,1726,1528,1765,1649,1488,1521,1882,2221,1938,1627,1571,1526,1431,1518,1488,1633,2634,2644,2294,2365,2073,1693,1932,2215,2218,2325,2267,1944,1716,2059,2408,2202,2753,2427,1897,2050,1995,1771,1955,1697,1438,1594,1768,1607,1418,1195,1162,1217,1374,1709,1730,1421,1647,1837,1776,1837,2107,1763,1692,1780,1944,2115,1891,1873,1822,1549,1688,2174,2308,2544,2274,2443,2364,2800,2884,2882,2819,2963,2741,2874,2761,2586,2034,1774,2731,3606,2956,2614,2473,2149,1880,1837,1974,1891,1690,1851,2298,2367,1869,2363,2405,2398,2574,2408,2540,2316,1996,1896,1802,1406,1710,2402,2175,2736,3174,2446,2524,2722,2444,1766,1978,2298,2144,2812,3278,2769,2654,2292,2646,3138,3081,2647,2481,2259,1841,1191,1607,2087,2370,1951,1159,1387,2444,3245,2978,2613,2074,2660,3249,2945,3037,3204,2230,2032,2138,2265,3017,2480,2624,2396,2200,2734,2833,2283,2365,2400,2524,3075,3826,3948,3666,4444,4488,2961,2004,1975,2085,1897,1782,1771,1785,1846,2402,2642,2987,2279,1882,2490,2456,2234,2190,1732,1327,1852,2509,2644,2328,1957,2463,2820,2546,3000,2830,2844,3278,3161,2363,1922,1908,1698,1657,1924,2334,2106,2142,2657,2645,3040,3145,2544,2431,2408,2040,1644,1612,1744,1710,1887,2095,2274,2588,2431,2177,2144,1649,1816,2210,1663,2251,2076,2128,2294,1854,1858,2114,1749,1475,1928,2180,2075,2128,1921,1720,1668,2121,2865,2821,2321,2118,1744,1644,1816,2008,1842,1561,1622,1751,2030,1798,982,1137,1445,1615,1772,1719,2466,2976,2590,2062,1760,1776,2216,2366,2536,2634,3012,3031,2864,2307,2032,2178,2097,1959,1786,2050,2450,2472,2792,2619,1901,1570,1277,1737,2304,2339,1995,1668,1803,2614,3442,3762,2973,3528,3972,3883,3893,4019,4287,4307,4146,3970,3677,3550,3251,3491,3360,2536,2304,1958,1831,2370,2648,2457,3010,3163,2231,1496,1499,2174,2676,2996,3350,3351,2993,2722,2315,1834,1919,2002,2165,2941,3283,2765,2263,1783,1686,2546,2938,2208,2132,2199,1901,2148,2183,1888,1676,1747,2038,2464,2472,2182,2504,2906,2344,1944,1859,2262,2837,2814,2229,1803,1823,2219,2149,1941,2331,2869,3012,2597,2237,1896,1638,1614,1457,1706,2075,2088,2161,2168,2070,2364,2474,2109,1979,1786,1870,1970,1885,1863,1567,1522,1803,2200,2686,2801,2362,2247,1981,1898,2980,2373,2103,2289,2381,2700,2654,2396,2326,2426,2242,1868,1921,1811,2078,2140,2527,2624,2320,2210,2353,2081,1827,1996,2014,2184,2250,2270,2842,2618,2311,1891,1834,2102,2596,2580,1786,1751,2866,2823,2262,2580,2736,2288,2076,1700,1828,2607,2776,2497,2686,2546,2384,2281,2559,2841,3221,3030,2635,3328,3725,3305,3364,3307,2749,2224,2619,3128,2632,2185,2360,2327,2253,2426,2679,2752,2343,2242,2197,1998,2728,2807,2539,3218,3108,2744,2066,1958,2209,2667,2342,1455,1529,1578,1998,2768,3082,2977,2752,3008,3217,2917,2862,2288,1941,2011,2213,2427,2156,2408,2677,2775,3043,2631,2678,2565,2639,3035,2973,2390,2083,2132,2331,2353,2430,2341,2298,2322,2267,2671,2536,2251,2150,2290,2680,3116,3430,2945,2648,2082,2232,2978,3209,3138,2712,2946,3010,2988,3094,3348,3710,3184,2385,2554,1998,2007,2432,2458,2275,2473,2798,2951,2613,2344,1944,1702,1795,2476,2712,2533,2531,2791,2853,2642,2761,2850,2905,2883,2728,2405,2602,2503,2687,2388,1921,2204,2292,2311],[3008,2781,2732,2857,3020,2943,3087,2976,2607,2909,3193,3127,3626,3647,2646,2276,2603,2953,3185,3364,4083,4420,4083,3706,3852,4041,3919,3531,3285,3184,3487,3511,3155,2935,2853,2849,3073,3282,3509,3820,3672,3264,3355,2818,2279,2222,2212,2837,2675,1883,2052,1795,2279,3243,3128,3137,2750,3189,3831,3458,2946,2482,1996,1724,1867,2548,3128,3631,3458,3614,4094,4328,4356,4232,3533,3132,3238,3016,2720,2286,2050,2522,2823,2425,2164,1926,1808,2611,2988,2634,3045,3431,3023,2712,2787,2790,2593,2991,2667,2433,2705,2426,2229,2262,2740,3347,3853,3784,3365,3646,3509,3100,2710,1551,1783,1968,2077,2499,2713,2634,2437,2287,2032,2624,3638,3698,3636,3464,2962,3074,3480,3177,3216,3274,3109,2929,2643,3338,3475,3354,2796,2200,2619,3295,3086,2879,3278,2972,2563,2408,2666,2628,2193,2336,2189,2065,2331,2619,2635,2451,2134,1742,2112,2392,1821,1686,2303,2678,2788,3273,3294,3029,3206,3188,2612,2248,2235,2357,2332,2141,1717,1695,1791,1832,2002,2458,2709,2734,2680,2617,2601,2427,2103,1928,1692,1447,2035,2818,2897,3186,4123,4430,3957,3880,4265,4252,4377,4054,2579,1412,1237,1236,1380,1392,1275,1182,1612,2780,3504,3804,3668,2665,1876,1885,2120,2642,2557,2546,2040,2195,2488,2566,2844,2699,2719,2799,2576,2478,2252,2771,2629,2556,2585,2781,3062,3199,3315,3537,3892,4037,3816,3326,3382,3176,3244,3536,3459,3348,3243,3066,3352,3806,3918,3882,3637,3518,3528,3181,3031,3104,3138,3282,3356,3256,3111,3086,3019,2954,3352,3834,3288,2764,2223,1935,2070,2175,2217,2429,2520,2670,2402,2105,2807,2776,2415,2117,2443,2661,2884,3204,3301,3043,2916,2988,2604,2013,2098,2589,3161,3632,2835,2336,2611,2398,2197,2220,1957,1726,1656,1652,1885,2763,2389,2663,3168,2826,2751,2613,2339,2451,2686,2483,2357,2019,2261,2874,2986,2680,2110,2088,2589,2916,2984,2805,2973,3240,3105,2940,2980,2813,3330,3592,3180,2829,2696,2585,2353,2015,2619,3429,3618,3883,3967,3862,3417,2885,2387,2548,2354,2504,3010,3117,3630,4208,4241,4099,3926,3651,2850,1874,1815,2400,2591,2590,2956,2995,2478,2357,2798,2785,2253,2336,2497,2139,1803,2224,2352,2126,1958,2028,2237,2412,2306,2294,2220,2192,2246,2220,2364,2514,2488,2549,2722,2548,2193,1903,1689,1956,2329,2815,2930,2736,2414,2323,2320,2198,2198,2263,2518,2524,2350,2961,2711,2223,2320,1857,1881,1889,1751,1808,1820,1930,2072,1902,2139,2382,2843,3142,3362,2929,2913,2675,2028,2258,2215,1923,2251,1975,1577,1571,2411,2393,1914,1618,1650,1943,2026,2323,2156,1637,1435,1512,1587,1659,1735,1775,1955,1821,1870,2043,2063,2031,2072,2094,2381,2672,2671,3217,2784,2008,1904,2564,2958,2351,2131,2313,2252,2077,1834,1718,2018,2221,2023,1994,1948,1940,2195,2159,2007,2166,1739,1908,2306,2133,1788,2059,2271,2348,1821,1484,1506,1643,1532,1578,1727,1883,1969,1748,2035,2567,2498,1746,1909,2241,2326,2514,2162,2180,2567,2607,2476,2225,2626,1969,2148,1763,1478,1687,1798,1970,1981,2097,1866,1272,1559,2433,2498,1625,1941,2294,2305,2526,2344,2854,3754,3124,1671,1218,1846,2342,2113,1910,2562,2450,1702,1503,2025,2432,2091,2115,2460,2360,2003,1676,1781,1657,1869,1738,1698,1903,2151,2147,1940,1873,1982,2061,2312,2541,2513,2663,2411,2521,2026,1835,1891,1730,1898,2485,2532,2449,2545,2337,2792,2547,1961,2791,3332,2802,3061,2836,2533,2458,2486,2569,2264,1582,2043,2743,3125,3250,2454,1959,2214,3380,3958,3979,3208,2359,2304,2491,3274,3555,3423,2616,2811,2485,2643,2371,1992,1726,1777,2138,2512,2365,1930,1906,1926,2084,2553,2834,2777,2148,2167,2371,2131,2135,2656,2586,2761,2376,2180,2187,2569,2596,2802,3227,3112,2321,2463,2446,2293,2155,2144,2336,2492,2499,2482,3063,3156,2920,2884,3296,3572,3200,3134,2919,2997,2209,1966,2187,2292,2344,2322,2105,2193,2243,1932,1975,2095,2399,2134,2108,2380,2510,3300,2311,1851,1858,1469,2280,3260,2860,3143,3086,2448,2120,2294,2123,2404,2339,2306,2263,2189,2078,2199,2287,2557,3642,3747,3774,3842,3939,3646,3048,3296,3711,3575,3427,3486,3512,3929,3802,3685,3929,3776,2888,2181,2367,2150,2022,2068,2044,1990,1505,1111,1285,1970,2382,2168,2310,1780,2332,3583,4050,4196,4184,4136,4212,4111,3862,3775,3589,4113,4629,4860,4784,4464,3917,3165,2469,2340,2253,2088,2369,2429,2093,2104,2098,2710,3040,2995,3028,2750,2494,2728,3250,3759,3045,2197,2561,2176,2561,2667,3395,4228,4243,3982,3764,3641,3153,2508,2527,2230,2118,2683,2243,2556,2925,2430,1833,1506,1740,2100,2041,2211,2282,2510,2553,2453,1732,1729,1940,2021,1989,1934,1798,1908,1897,2051,2584,3198,2398,2326,2444,2829,3353,3154,2669,2361,2334,2410,2280,2231,2396,2249,1948,1983,1453,1395,1569,2133,2722,3155,3564,3238,2778,2801,2719,2555,3029,2674,2248,2029,2359,2470,2129,1755,1664,1826,2056,2263,2928,3555,3559,3720,3678,3626,3938,3737,3408,3080,3032,3363,3585,3551,3042,2612,2514,2460,2588,3169,3156,2711,3052,3262,2965,2852,3077,3220,3080,2689,2643,2645,2456,1802,1900,1873,2007,2242,1897,2153,2577,2417,2229,1694,1397,1995,2890,3580,3854,3508,3184,2519,1975,1975,2164,1906,1715,1713,1771,1776,1734,1721,1700,1562,1655,1704,1726,1702,1780,1888,1843,1710,1760,1952,2291,2613,2680,2483,2734,2988,2575,2275,1973,1742,2032,2196,2484,2599,2598,2312,1962,1577,1604,1873,1974,1886,1838,1874,2193,1995,1476,1368,1820,2106,2028,2143,2468,2579,2759,2967,3045,3118,2957,2409,1907,1567,1340,1464,1953,2901,3592,3544,2615,2061,2251,2302,2075,1852,1868,1931,2554,2749,2675,2797,2167,1193,1213,2051,2373,1926,1432,1531,1676,1768,1918,1742,1866,2233,2237,2543,2359,1926,2321,2446,1677,1556,1600,1814,1836,1655,1680,1766,1593,1280,1406,1469,1422,1589,1604,1501,1432,1458,1640,1601,1623,1468,1294,1413,1730,2129,2026,1525,1605,1644,1471,1396,1668,1873,1781,1781,1756,1700,1699,1818,1833,1974,2172,2219,2193,2063,1670,2299,2442,2050,1807,1748,1658,1933,2189,2062,2076,2070,1972,1669,1598,1700,1562,1494,1704,1859,1868,1846,1690,1475,1446,1512,1636,1982,1904,2325,2437,1998,1769,1591,1508,1702,1678,1768,2142,1993,1686,1608,2206,2666,2552,2857,2466,2382,2662,2200,2036,1673,1224,1416,1656,1506,1637,1519,1346,1270,1214,1393,1794,1604,1439,1622,1517,1503,1670,1756,1752,2512,2430,2150,2237,2062,1791,1635,1808,2075,2364,1894,2325,1997,2127,2752,3594,4002,3182,2799,3038,3234,3273,2684,2378,1660,1599,2203,2684,2966,2707,2105,1663,1777,1934,1889,1740,1767,1882,2467,2655,1998,2484,2392,2441,2881,2563,2156,2274,2430,2265,1881,1781,2667,2777,2656,2913,2073,1708,2458,2814,2286,2064,2270,1815,1794,2715,2865,2308,2048,2460,2636,2675,2262,1954,2369,2445,1916,1662,2012,1679,2312,1658,1813,2221,3182,3216,2962,2732,2143,2145,3141,3732,3083,2713,2216,2010,2039,1885,2805,2973,3120,2821,2421,2822,2575,1917,2078,2358,2103,2330,2985,3674,3567,3727,3578,2813,2230,2062,2197,2142,2052,1970,2082,2244,2602,2450,2887,2472,2357,2523,2215,2148,2282,1939,1804,2080,2508,2623,2569,2500,2413,1987,2060,2602,2696,2817,2894,2929,1766,1484,1806,1615,1458,1950,1954,1911,2165,2519,3371,3783,3045,2234,2274,2297,1854,1555,1676,1832,1975,2379,2481,2231,2259,2372,2293,2424,1704,1386,2125,2253,2984,2698,2718,2381,2027,2243,2445,2278,2188,2334,1712,1251,1918,1899,1751,2301,2587,2614,2262,2056,1744,1411,1346,1398,1884,2014,1637,1493,1722,1858,1735,1420,1340,1250,1681,1714,1793,2753,3558,3323,1964,1604,1707,1953,2396,2168,2325,2221,2623,3001,2349,2247,2508,2148,2483,2621,2744,2402,2217,3106,3572,2610,1729,1566,1632,2094,2161,1964,1962,1886,2514,3559,3997,3282,3742,4208,4136,4080,4176,4511,4516,4167,4046,3897,3821,3011,2952,2519,2242,2324,2143,1969,2282,2627,2397,2599,2819,2133,1611,1308,1593,2317,2666,2517,2131,1750,2109,2732,2320,2451,2587,2613,2316,2130,2642,2411,1806,1738,2103,2243,2009,2600,2964,2242,2491,2305,1899,1701,1901,2051,2040,2270,2172,2131,2836,2537,1928,1568,2032,2644,2863,2247,1805,2010,1975,1819,2094,2062,2379,2470,1853,1917,2251,2079,1985,2039,2286,2438,2261,2023,2130,2192,2202,2004,1678,1695,1284,1323,1727,1999,1967,1659,1714,2255,2766,2493,2402,2499,1832,1810,2294,3039,3220,2897,2619,2707,2578,2264,2301,2187,2239,2408,2103,2251,2110,2467,2707,2534,2286,2328,2577,2248,1704,1681,1604,1404,1307,1834,2578,2565,2088,2359,2207,1737,1854,2225,2137,1917,1412,2022,2175,2163,2362,2822,2389,2099,2493,3045,3067,2520,2529,2859,2932,2458,2113,2374,2706,2943,2614,2509,3129,3482,3406,3261,3067,2843,2005,2897,3262,2283,1909,2007,2240,2363,2808,2599,2003,2344,2300,2017,2065,2835,3312,2833,2858,2744,2565,2406,2193,2147,2583,2219,1490,1345,1719,2448,2679,2531,2476,2730,2702,2917,3162,3031,2728,2427,2101,2281,2265,1747,1922,2024,2621,2997,2887,2908,2541,2219,2262,2398,2126,2141,2112,2202,2289,2454,2411,1980,1805,1730,2288,2565,2139,2411,2626,3005,3607,3109,2720,2967,2564,2447,3165,3720,3176,3008,3037,2690,2885,2951,2939,3305,3122,2959,2880,2233,2176,2521,2540,2343,2272,2633,3097,2999,2706,2297,2319,2585,2811,2809,2745,2667,2942,2898,2452,2567,2650,2720,2546,2733,2485,2365,2272,2214,2288,2103,2233,2723,2830],[2657,2683,3056,3154,3077,2839,3054,3047,2910,3296,3714,4038,3830,3566,3285,3286,3371,3563,3706,4072,4463,4495,4202,3834,3695,3948,3686,3339,3221,3060,3194,3370,3086,2844,2818,2853,2989,3176,3342,3544,3776,3607,3597,3044,2385,2270,2236,2561,2565,2110,2163,2259,2879,3736,3426,3076,2778,3230,3732,3260,2696,2023,1985,1888,2117,2555,3154,3915,3488,3680,4218,4069,3961,3730,3273,2971,2851,2802,2631,2320,2401,2807,2823,2285,1806,1937,2345,2580,2474,2265,2311,2626,2613,2702,2676,2682,2701,2821,2558,2536,2001,1736,2201,2369,2903,3653,3720,3495,3399,3645,3442,3138,2806,1700,954,1252,1938,2494,2408,2309,2531,3369,2624,2696,3248,3349,3284,3142,3206,3413,3327,3395,3413,2907,3195,3165,2688,2911,3277,3846,3951,3229,3124,3704,2955,2470,2943,2500,2137,2228,2692,2234,2143,2413,2242,2118,2474,2718,2722,2990,2174,2077,2684,2447,2463,2320,2643,3112,3246,3283,3074,2883,2867,2874,2894,2840,2464,2082,2283,2106,1908,1764,1704,1682,2061,2721,3288,3306,3397,3250,2924,2786,2460,2234,2163,2220,2584,3347,3532,3259,3638,4015,4176,3889,4041,4164,4095,3771,2250,1381,1306,1346,1220,1238,1406,1349,1774,3375,3859,4043,3987,2464,1942,1985,2141,2577,2858,2701,1561,1168,2149,3033,3164,3232,3146,3218,2878,2507,2418,2613,2732,2934,2780,2609,2723,3092,3430,3852,4167,4096,3665,3321,3141,2975,3088,3429,3584,3519,3352,3240,3483,3730,3874,3558,3068,2607,2911,3156,3209,3606,3752,3513,3425,3616,3638,3449,3329,3191,3567,3946,2874,2426,2656,2223,1930,1958,1928,2577,2856,2814,2155,2445,2603,2763,2987,2584,2202,2170,2374,2801,2732,2614,2880,3044,2654,2203,2123,2548,2784,3200,2408,1877,2725,3231,3149,2920,2203,1649,1750,1925,2136,2599,2280,3019,3796,3625,3196,3119,2798,2590,3252,3119,2721,2269,1798,1951,2591,2643,2366,2365,2482,2863,2930,2797,2962,3094,3055,3023,3031,2921,3182,3157,2793,2580,2533,2347,2363,2099,2658,3146,3016,2969,3305,3370,3130,2603,2018,2136,2597,2828,2954,3127,3329,3103,3584,3808,3808,3719,3056,2229,2267,2556,2468,2115,2279,2663,2741,2414,2605,2648,2853,3026,3135,2352,1796,2226,2116,2009,2222,2086,2156,2243,2138,2214,2157,2165,2498,2702,2598,2469,2394,2270,2300,2483,2410,2126,1604,1835,2590,2874,2812,2486,2359,2954,3013,2297,2017,2250,2695,2436,2270,2492,2472,2224,2084,1887,2088,1953,1662,1594,1804,2083,1973,1769,2512,2850,2865,3498,3859,3784,3444,2529,2465,2632,2436,2455,2625,1948,1522,1489,2429,3068,2585,1713,1529,1690,2206,2648,2141,1815,1673,1691,1560,1607,1796,1924,1808,1668,1685,1652,1689,1777,1707,1808,2330,2710,2502,2598,2328,2170,2415,3189,3125,2537,2393,2408,2579,2777,2199,1713,1905,1988,1951,1746,1630,1533,1882,1985,2142,2588,1900,2039,1873,1692,1644,1785,2390,2382,2494,2156,1512,1527,1486,1381,1395,1625,1906,2169,2414,2648,2301,1899,2270,2171,1910,2159,2305,2886,3164,2121,2198,1934,2008,2044,2208,1881,1842,1817,2013,2330,2322,2448,2242,1743,1788,2073,1908,1562,1962,2315,2174,2171,2234,2862,3084,2508,2058,1611,1806,2099,2357,2415,2145,1760,1584,1780,1807,1905,2242,2398,2302,2342,2156,1737,1779,1643,1802,1854,1948,2192,2400,2378,2083,1991,1822,1712,2397,2768,2511,2852,2521,2658,2480,1993,2047,1942,1880,2093,2360,2989,2901,2494,2703,2598,2700,3267,2676,2775,3475,3111,2453,2358,2631,2901,2531,2262,2878,3040,3112,2577,1823,2017,2054,2754,3666,3588,2092,1577,1860,2204,2834,2924,2557,2459,3002,2890,2649,2219,1358,1146,1702,2003,2393,2729,1992,2191,2381,2533,2604,2532,2577,2050,1897,2098,2031,2541,2965,2263,2365,2345,2207,2286,2535,2924,2613,2404,2246,2356,3300,3099,3100,3013,2575,2800,2905,2630,2458,3005,3051,2730,2824,3145,3382,2884,3103,3253,3418,2372,2142,2091,2385,2490,2127,1800,2127,2244,2227,2394,2124,2345,2211,1836,2036,2777,3155,2284,1758,1718,1668,2580,3509,2683,2468,2619,2552,2265,2071,2107,2073,2184,2362,2301,2255,2376,3113,3342,2945,3633,3587,3836,3996,4132,3864,3391,3460,3658,3252,2845,3356,3275,3515,3510,3415,3581,3648,2479,2141,2352,1982,2208,2758,2590,2072,1213,1296,1366,1594,2207,2132,2172,1626,2266,3604,3952,4099,4096,3993,4037,3937,3810,3764,3675,4351,4627,4368,3884,3129,2435,2068,2143,2503,2413,2469,2331,2460,2360,2054,1947,2187,2876,2956,2888,3235,3220,3092,3251,3448,3069,2756,2252,2234,2790,2855,3438,4000,3754,3454,3681,3655,3082,2657,2735,2222,2037,2185,2187,2244,2492,2186,1809,2076,2326,2452,2174,2010,2106,2310,2575,3206,2986,2332,2154,1947,1778,1691,1858,2037,1914,1954,1946,2386,2232,2014,2764,3381,3445,3045,2633,2578,3087,3267,3055,3029,2651,2603,2382,1984,1821,1741,1537,1948,2844,3637,3628,3287,2710,3129,3167,2728,2784,2230,1952,2437,2590,2334,1924,1722,1923,2159,2155,2423,2816,3418,3687,3576,3629,3882,3888,3820,3951,3851,3854,4054,4014,3481,3134,3221,3066,2718,2720,3237,3184,2705,3017,3535,3437,3053,3241,3051,3117,2797,2431,2436,2154,1982,2031,2197,2473,2200,2020,2364,2316,2180,2219,1977,1493,1542,1759,2597,3029,3285,3057,2388,2048,1986,2041,1815,1686,1944,1878,1741,1875,1901,1878,2105,1990,1895,2060,2071,2259,2328,1943,1702,1749,1719,1866,2429,2640,2840,2756,2011,2025,2788,2686,1421,603,667,1207,1366,1193,1083,1034,1094,1223,1311,1360,1473,1534,1448,1316,1146,1143,1396,2230,2434,2976,3418,3392,3400,3475,3589,3500,3195,2407,2172,1836,1490,1344,1370,2056,3085,3624,3466,2600,1969,2031,2469,2588,2058,1916,1858,2436,2763,2632,2856,2498,1258,1028,1643,1873,1869,1615,1723,1812,1874,1691,1640,1664,1900,2032,2016,1995,2562,2725,1904,1648,1720,1714,1619,1697,2026,1962,1810,1649,1470,1450,1498,1520,1626,1753,1693,1632,1655,1519,1402,1530,1484,1264,1315,1574,1775,1808,1695,1505,1528,1465,1494,1637,1758,1552,1586,1832,1622,1466,1521,1461,1791,2308,2514,2152,1565,1655,2160,2493,2278,1917,1935,1819,2137,2227,1809,2078,2035,2026,1894,1886,1678,1624,1864,1771,1664,1981,2068,1549,1490,1681,1755,1925,1948,1517,1860,2409,1714,1005,1277,1454,1584,1711,1670,1688,1677,1857,2113,2275,2533,2846,2852,2335,2700,2663,2137,1729,1278,1669,2195,2271,1591,1523,1459,1540,1892,1769,1551,1623,1515,1491,1497,1582,1798,1699,1679,1851,2180,1758,1796,2265,1808,1714,1532,1923,2269,2783,2630,2435,2420,2829,2980,2998,3065,2651,2366,2720,3427,3447,2622,1859,1476,1870,2020,2158,2744,2684,2018,1862,2111,1764,1758,1741,1725,1755,2555,2552,2077,2781,2767,2589,2644,2065,1387,1266,1874,2465,2269,1857,2504,2784,3338,3106,2230,2236,2845,2849,2756,2531,1789,1215,2060,2348,1595,1815,2348,2691,2456,2274,1916,1669,1971,1682,1566,1765,1654,2041,2696,2396,2592,2944,3264,3162,2844,2303,1627,1943,2689,3159,2790,2535,2585,2478,2291,2298,2530,3007,3309,3072,2962,3030,2658,2580,2495,2429,2224,2872,3652,3902,3249,3250,3777,3486,2480,2297,2656,2403,1970,2210,2907,3163,2818,2330,2598,2611,2398,2226,2009,1993,1785,1803,2252,2474,2654,2596,2358,2602,2456,2061,2259,2170,2356,2668,2333,2172,1501,1483,1857,1784,1798,1931,1886,2642,2729,2414,2780,2824,2909,2257,1947,2125,1817,1583,1683,1912,1883,1785,2024,1889,2002,2322,2174,2483,2200,1893,2843,2823,3251,3059,2410,2040,2282,2680,2466,2260,2352,2061,1032,1213,2273,2007,1958,2580,2764,2171,1619,1785,1896,1515,1382,1396,1669,1812,1834,1534,1850,1996,1875,1692,1628,1827,1967,1619,1840,1969,2099,2222,1449,1370,1644,1793,1748,1848,2087,2108,2671,2985,2343,2109,2392,2124,2195,2602,3320,2791,2195,2750,3300,2778,1793,1543,1570,1607,1653,2063,1944,1942,2690,3740,4039,3665,3940,4328,4545,4489,4207,4300,3952,3846,4211,4399,4359,3371,2350,1926,1919,2073,1849,2073,2310,2430,2415,2192,1890,1672,1599,1316,1292,1736,1933,1778,1993,2242,2786,3662,3520,3661,3919,3553,2346,2017,2836,2813,2054,1916,1890,2023,2476,2540,2986,2517,2609,2185,1734,1788,2248,2203,1793,1912,2094,2069,2690,2695,2345,1888,2089,2210,2170,2142,1978,1959,1966,2091,2409,2235,2326,2440,2123,2122,2600,2552,2534,2461,2232,2100,1930,1791,1993,2044,1860,2259,2080,1480,1061,1748,2109,1943,1733,1685,2122,2366,2199,1839,1873,2267,1844,2092,2436,2566,3199,2933,2493,2524,2503,2502,2609,2180,2238,2446,1987,2152,2360,2556,2388,2187,1848,1718,1904,1897,1692,1738,1801,1181,825,1980,3129,2563,1910,2249,2433,2448,2244,2181,2174,2684,2084,2093,2354,2547,2373,2424,1886,1753,2611,3143,2530,2385,2541,2831,3019,2613,2474,2482,2652,2785,2744,3188,3516,3466,3426,2922,2511,1714,1843,2824,2670,2122,2114,2348,2540,2525,2406,2191,2056,2380,2316,2174,2090,2558,3039,2966,2614,2236,2337,2311,2131,2200,2343,2224,2466,2211,2414,2964,2964,2379,2075,2271,2652,3118,3030,2749,3008,3054,2314,1526,1592,1854,2287,2314,2535,2809,2618,1995,1830,1935,1873,2211,2297,2115,2027,2000,1929,2276,2303,1786,1598,1800,2418,2377,1848,2074,2739,3031,3261,2783,2668,2309,2460,2908,3297,3462,3473,3551,3109,2843,2984,2855,2827,3382,3273,3137,3165,2998,2739,2511,2491,2319,2286,2542,2776,2900,2622,2653,3007,3452,3295,3066,2828,2830,3061,2733,2271,2047,2448,2938,2799,3141,2909,2638,2632,2266,2172,2149,2433,2922,2731],[2125,2000,2425,2503,2823,2759,2675,2620,2863,3372,4064,4132,3930,3978,3741,3672,3814,3688,3750,4621,4773,4436,4100,4071,3938,3818,3566,3333,3243,3186,3140,3288,3160,3237,3129,2956,2984,3093,3238,3498,3607,3787,3846,3066,2346,1909,1774,2228,2375,1985,1995,2551,3295,3805,3560,3162,2778,2984,3405,3039,2584,2233,2103,2100,1979,2336,2895,3355,2916,2993,3514,3272,3534,3570,3331,3117,3260,3210,3355,3185,2780,2921,3128,2722,2243,2716,3186,2871,2204,2242,1732,1674,2252,2710,2844,2330,2614,2745,2019,2118,2049,2369,2969,2839,3132,3552,3682,3551,3393,3295,3133,3237,3182,2321,1462,1455,1858,2313,2097,2008,2426,3255,2468,2548,2740,2750,2884,3184,3793,3948,3742,3807,3291,2964,2647,2104,2076,2284,2356,3064,3783,3413,3425,3880,2998,2429,2460,2380,2171,2601,2488,1858,1432,1794,2204,2072,2291,2259,2732,3449,2836,2869,3023,2946,3163,3160,3144,3240,3326,3249,3039,2745,2395,2569,2785,2785,2579,2355,2470,2227,1891,1905,1842,1880,2271,2538,3120,2987,3119,3084,2821,2735,3107,3165,3000,3013,2965,3375,3335,3100,3249,3233,3200,3183,3285,3127,2932,2684,1958,1668,1726,1665,1393,1388,1618,1589,1958,3797,3956,3839,3662,2413,2262,2468,2307,2280,2442,2267,1884,1693,2270,3540,3679,3286,3040,3130,2873,2749,2754,2618,2916,3550,3253,2644,2844,3673,3880,3837,3847,3709,3476,3483,3503,3377,3362,3353,3474,3647,3706,3735,3821,3774,3854,3201,2697,2141,2409,3308,3710,3843,3762,3435,3297,3137,3393,3431,3550,3585,3748,4015,3100,2413,2776,2568,2143,2046,1963,2153,2076,2357,2463,2640,2315,2236,2466,2382,2089,1886,2003,2258,1959,2133,2815,3178,3223,2576,1875,1687,2189,3054,2311,1765,2339,3113,3118,2967,1976,1542,2254,2387,2127,1924,2011,2908,3465,3194,3122,3453,2957,2322,2820,2552,2042,1934,2145,2403,2687,2886,2748,2517,2471,2687,2777,2906,2963,2683,2646,2718,2879,3415,3215,2433,2333,2348,2750,2521,2384,1984,2343,3020,3226,2872,2544,2388,2309,2243,1957,1970,2333,2364,2233,2154,2884,3149,3251,3081,2893,3056,3000,2227,1829,1881,2533,2649,2452,2392,2557,2193,1990,2745,3032,2692,2714,2125,1838,2430,2353,2239,2279,2040,2086,2224,2301,2338,2310,2374,2554,2671,2545,2316,2237,2002,2125,2597,2581,2620,2082,1988,2493,2596,2451,2392,2896,3022,2349,1865,1802,2450,2896,2699,2375,2334,2400,2512,2462,2360,2277,2323,2057,1722,2088,2050,1745,1902,2187,2340,2513,3127,3598,3902,3139,2130,2404,2364,2193,2546,2635,1896,1360,1309,1930,2753,2527,1656,1637,2026,2006,1940,1980,1692,1542,1598,1646,1793,1685,1565,1622,1643,1586,1507,1594,1696,1635,1756,2393,2677,2664,2410,2403,2690,3087,3153,2508,2110,1740,2132,2352,2217,2102,1697,1532,1314,1560,1900,1754,1616,2031,2003,1695,2182,1676,1702,1854,1736,1566,1755,2119,2551,3088,2556,1797,1653,1518,1500,1556,1787,2283,2383,2318,2363,2176,1944,1998,1878,1983,2033,2054,2446,2475,2087,2526,2354,2081,2187,1957,2087,2347,2265,2357,2481,2183,1903,1867,2067,1662,1826,2060,2176,2120,2260,2370,2092,2221,2465,2225,2135,2722,2145,1716,2167,3127,2800,1919,1787,2074,1947,1857,2425,2833,2705,2512,2106,1846,2076,1849,1685,1694,1403,1709,2170,2226,2169,1953,1874,1496,1569,2468,2764,2767,2657,2097,2175,2250,1994,2139,2223,2626,2372,2363,3085,2431,1773,2078,2855,3271,2641,2042,2639,3013,2286,2047,2423,2834,2983,3017,3116,2896,2546,2382,1945,2164,2298,1935,1907,2557,2576,1521,1744,1504,1638,1998,2644,2677,2898,3706,3602,2700,1546,728,934,1378,1893,2046,2426,2182,1992,2020,2491,2483,2306,1784,939,1212,1819,1936,2212,2255,1903,2060,2229,2373,2487,2422,2523,2514,2464,2185,2643,3587,3637,3858,3849,3628,3378,3088,2644,2243,2897,3345,3061,3156,3284,3549,3118,3298,3531,3462,2655,2216,2077,2064,2304,2434,2272,2714,2736,2723,2411,2523,2282,1776,1732,2177,3087,3715,3300,2667,2390,2416,2620,2965,2450,2332,2142,2001,2115,2226,2178,2486,2965,2923,2577,2444,2792,3416,3472,3190,3557,3814,4256,4260,3979,3802,3748,3746,3726,3384,3462,3588,3304,3296,3500,3776,3475,3307,2892,2506,2532,2548,2612,2573,2525,2250,1869,1494,1389,2390,2691,2342,2332,1845,2193,3639,3912,3995,4023,3981,4052,3939,3420,3292,3181,3228,3044,2585,2332,2096,2017,2215,2186,2069,2382,2550,2052,2398,2801,2494,2163,2504,3168,3061,3062,3207,3313,3366,3251,3110,3671,3033,2229,2505,2675,2892,3759,3923,3558,3081,3539,3882,3608,3495,3204,2270,1907,2198,2246,1907,1937,2088,2333,2488,2895,3120,2490,2541,3088,3167,3247,3311,3196,3256,2854,2285,2428,2651,2565,2735,2735,2798,2259,2193,2223,1985,2457,3540,3625,2513,1998,2122,2561,2823,3060,3174,3422,3498,2721,2285,2344,2071,1605,1537,2544,3182,3061,2669,2089,2644,2612,2091,2061,1978,2570,2868,2342,2024,1866,1862,2149,2358,2696,3286,2964,3344,3526,3708,4116,4137,3861,3862,4232,3520,2633,3186,4025,4210,4028,3799,3196,2554,2555,3107,3144,2894,3073,3458,3432,2991,3028,2775,3008,2855,2220,1974,2128,2317,2387,2504,2375,1947,2134,2351,2247,2149,2310,1974,1616,1507,1937,2007,1828,2336,2500,2020,1813,1814,1676,1670,1567,1928,1843,1798,1925,1859,2012,2107,1912,2209,2295,2315,2205,2342,2147,1723,1476,1686,2201,3066,3474,3350,3044,2082,2226,3354,3238,1794,932,1206,1517,1490,1461,1529,1419,1233,1329,1545,1747,1751,1765,1613,1551,1302,1112,1295,2092,2568,3130,3504,3073,2341,2578,3071,3185,3084,2307,2070,1866,1544,1361,1353,1995,3160,3696,3362,2599,2101,2139,2503,2649,2110,1900,1753,2186,2604,2565,2887,2751,1415,1008,1573,1754,1772,1692,1760,1771,1527,1571,1575,1560,1740,1805,2059,2564,2504,1743,1812,1966,1677,1803,1911,2161,2405,2334,2007,1726,1706,1556,1395,1387,1577,1656,1567,1379,1407,1422,1418,1436,1441,1354,1500,1748,1585,1737,1713,1620,1592,1636,1694,1604,1455,1245,1293,1572,1790,1594,1586,1543,1477,1854,2257,2558,2021,1440,1593,1966,2149,2309,2586,2198,2345,2052,1780,1615,1584,1707,1872,2064,1923,1805,1865,1626,1436,1559,1529,1501,1577,1698,1803,1977,1877,1511,1789,2314,1873,1635,1566,1527,1533,1573,1611,1655,1576,1630,1967,2498,2432,2229,2481,2164,2801,2503,1979,1361,1911,2384,2610,2386,1512,1179,1472,1889,2011,1843,1821,1760,1484,1422,1579,1819,2031,2048,1848,1585,2014,2336,2317,2674,2016,1853,1440,1722,2343,2930,2777,2302,2492,3228,3220,2629,2383,2315,2021,2552,3195,2764,2020,1571,1870,2148,2066,2556,2815,2534,2299,2066,1967,2285,3134,2387,1855,2327,2903,2243,1941,2667,2831,2465,2463,2030,1775,1329,1228,1892,2553,2327,2046,2517,3209,3034,2451,2338,2325,2621,3834,3317,1900,2177,2552,2131,1959,2566,3210,2940,2360,2247,1913,1390,1477,1549,2085,2611,3211,3670,3264,2961,3033,2667,2193,2102,1731,1879,2014,2796,3317,3633,3309,2419,2352,2178,1899,1942,2014,2316,2750,2808,3000,3122,2513,3191,3161,2818,2741,3155,3596,3933,4200,4283,4079,3255,2509,2592,2907,2734,1757,2322,2875,2851,2495,2194,2788,3149,3019,2805,2260,1976,1874,2588,2956,2796,2930,2872,2545,2540,2299,2045,2148,1782,2023,2340,2691,2034,1751,2035,2600,2623,2217,2021,2166,2530,2300,2232,2051,2074,2774,2423,1694,1714,1725,1559,1712,1988,1881,1618,1466,1531,1754,1647,1895,2163,2259,2510,2731,2511,3228,3419,2776,2243,2477,2718,2188,1944,1953,1721,945,1604,2591,2689,2265,2207,2123,1380,1305,1653,1903,1494,1449,1463,2087,2269,1945,1614,2242,2667,2151,1790,1960,2021,1605,1566,1837,1774,1657,1472,1227,1343,1527,1526,1853,2134,1996,1841,2257,2567,2094,2141,2315,2597,2482,2329,2596,2623,2633,2728,2797,2331,1826,1561,1449,1791,2048,2298,2048,2037,2629,3608,3976,3645,4175,4308,4405,4186,3501,3345,2839,3420,4006,3835,4183,3827,2541,2193,2345,2075,1506,2152,2713,2885,2728,2264,1664,1576,1604,1360,1466,1886,2253,2423,3110,3204,3226,3640,3850,3718,3861,3649,3007,2708,2780,2739,2532,2552,2267,2076,2448,2108,2187,2159,2188,2353,2217,1880,2056,2175,1815,1727,2019,2204,2729,2839,2730,2424,2166,1778,1787,2042,2255,2065,2136,2503,2364,2309,2297,2204,1925,2272,2729,2821,2669,2188,1759,1648,1605,1781,2033,2302,1965,2008,2216,1761,1644,2483,2777,2191,1738,1686,1899,2098,2107,1886,1974,2164,1981,2510,2533,2310,2295,2370,2847,2742,2425,2446,2575,2068,2272,2213,1958,2186,2548,2570,2263,2498,2097,1525,1450,1770,1759,1913,2026,1772,1433,2309,2995,2311,2154,2451,2271,2463,2048,1990,2711,2567,2231,2420,2675,2655,2558,2536,2042,2626,3395,3002,2347,2387,2784,2701,2903,2986,3037,3052,3166,3168,2786,2973,3185,3274,3106,2953,2625,2057,2562,2728,2263,2109,2116,2233,2395,2105,1998,2209,2574,2387,2216,2322,2226,2626,2457,1941,1798,1739,2158,2092,2432,2206,1973,1995,2297,2978,2929,2928,2701,2167,2017,2158,2380,2692,2165,2509,2994,3143,3050,2023,1711,2280,2514,2165,2298,2652,2319,1969,1553,1526,1761,1870,2137,2145,2481,2293,1847,1975,2157,1924,1947,2069,2148,1805,1892,2356,2883,2749,2564,2531,2852,2833,2576,2828,3096,3211,3259,3264,2940,2663,2730,2911,3230,3533,3271,3216,3287,3306,3096,2700,2503,2338,2270,2612,2358,2389,1907,1790,2570,3096,3433,3468,3086,2844,2781,2509,2482,2599,2789,2757,2730,3032,2896,2750,2419,2153,2398,2566,3340,3397,2464],[2272,2351,2474,2566,2954,3220,3637,3106,2818,3073,3334,3820,4164,4196,4029,4017,3802,3137,3919,4730,4896,4585,4100,4018,4000,3565,3298,3130,3204,3032,3212,3204,3084,3244,3210,3154,3234,3255,3341,3492,3407,3528,3625,2928,2229,1661,2059,2452,2331,2020,1956,2127,2496,3124,3275,2937,2596,3235,3510,3252,2788,2336,1814,1854,2062,2226,2271,2283,2437,2762,3272,3362,3904,4176,4037,3640,3426,3205,3322,3183,2902,2988,3081,2695,2228,2424,2890,2888,2504,2375,1795,1700,2176,2364,2430,2094,2376,2535,2542,2988,2968,2617,2484,2585,3072,3205,3725,3820,3343,2989,2986,3095,3100,2541,1853,1644,1893,2232,2032,1952,2336,2614,2376,2287,2459,3042,3420,3183,3632,3834,3664,3625,3093,2785,1730,1087,1669,1914,1846,2230,2684,2873,3167,3307,3082,2905,2695,2662,2411,2033,2062,2094,1674,1828,2170,2044,2150,1829,1943,2653,3007,3075,2922,2768,2858,2988,3013,3043,2945,2855,3130,2818,2665,2799,2785,2600,2536,2476,2360,2061,1961,2251,2122,2273,2396,1820,1658,1565,2204,2579,2728,2835,3098,3131,3165,3198,3011,3061,2831,2799,2701,2614,2024,2272,2656,2491,2388,2185,2061,1825,1790,1987,1640,1529,1541,1558,2308,3714,3898,3982,3436,2783,2864,2647,2321,2133,2223,2044,2164,2521,2746,3592,3835,3529,3335,3046,2740,2835,2866,2915,3121,3318,3106,3029,3537,4074,4027,3826,3650,3522,3436,3804,3956,3377,3104,3317,3316,3428,3762,3859,3845,3781,3749,3507,3577,2946,2555,3598,4024,3985,3806,3320,3304,3309,3632,3365,3352,3768,3811,3687,2574,2110,2513,2324,2164,2135,2138,2224,2186,2316,2626,2799,2920,2565,1719,1881,2254,2142,1981,2007,2168,2580,3090,3505,3817,3144,2508,2263,2576,2865,2342,1889,2172,2630,2778,2573,1954,1758,2338,2384,2043,1971,2655,3110,3068,2707,2162,2382,2378,2363,2368,1956,1952,2374,2526,2570,2718,2634,2737,2442,2295,2884,3316,3178,2480,2092,1938,1497,2277,3702,3200,2136,2330,2134,2946,2899,2668,2320,2382,2755,2486,1966,1847,1906,2034,2548,2437,2078,1959,1919,1936,2250,3028,3457,3064,2691,2615,2589,2698,2139,1677,1889,2116,2094,2210,2182,2265,2070,2025,2686,2750,2545,2643,2160,2054,2214,2216,2161,1986,1663,2041,2779,2798,2507,2436,2395,2482,2398,2176,2088,2208,2167,2276,2676,2414,2488,2551,2445,2520,2701,2833,3378,3828,3087,2334,1918,2245,2752,3359,3693,3347,2437,2057,2270,2383,2483,2121,2714,2459,2446,2334,1803,1649,1652,1735,1966,2470,2986,3275,3144,2233,1879,2569,2283,1901,2362,2214,1720,1366,1395,1982,2389,1765,1479,1669,2284,2409,2259,1929,1591,1654,1841,1726,1518,1628,1670,1760,1685,1663,1601,1614,1865,1981,1844,1835,2546,2998,2972,3166,3509,3416,2836,2531,3057,2656,2377,2091,2059,2510,2221,1720,1367,1704,1970,1826,1767,1850,1544,1202,1470,2352,2476,2425,2098,1841,1855,2495,3388,2743,2048,2106,2078,1603,1804,1546,1731,1936,2267,2436,2731,2447,1841,1970,2093,2131,2056,1665,2055,2286,2235,2917,2670,2224,2019,1982,2483,2514,2439,2490,1954,2013,2567,2269,2039,1820,1806,1812,1769,1924,2570,2778,1847,2071,1982,2490,2353,2395,2344,2020,1692,2405,2604,1822,1817,1870,1776,2141,2790,2794,2435,2060,1763,1864,1821,1560,1774,1885,1851,1982,2083,2024,2127,1968,1936,1837,1895,2404,2359,2074,2332,2144,1863,2088,1975,1987,2174,2625,2690,2923,2169,1774,1714,2088,2873,2416,1501,1650,2268,2180,1623,1926,1994,2347,2823,2548,2335,2446,2476,2448,2554,2743,2245,2292,2464,2363,1913,1604,1520,1092,1295,1576,2062,2491,3183,4113,4207,3149,1653,1226,1290,1241,1317,1616,1946,2217,2079,2008,2192,2350,2121,1409,1062,1445,2059,2126,2204,2030,1668,1883,1980,1940,2197,2281,2360,2476,2399,2080,2641,3121,3172,3492,3693,3426,2719,2782,2576,2421,3050,3420,2877,2854,2872,3065,3189,3444,3415,3075,2657,2131,1886,2111,2360,2220,2534,2671,2446,2496,2252,2403,2166,1902,2115,2285,2817,3674,3417,2855,2662,2542,2446,2026,2004,1919,2071,2750,3173,2946,2490,2707,2800,2635,2475,2514,2739,3417,3589,3698,3971,3915,3897,3898,3853,3967,3846,3675,3714,3558,3625,3602,3405,3628,3870,3775,3311,3165,3395,3030,2729,2776,2752,2598,2740,2875,2866,1865,1465,2505,2839,2342,2288,1924,2228,3718,4008,3950,3768,3714,3676,3198,2760,2630,2315,2232,2293,2298,2455,2508,2463,2266,1874,1957,2530,2178,1883,2601,3031,2878,2455,2188,2743,3205,2817,2615,2790,3473,3935,4187,4240,3531,2970,2938,2549,2510,3496,3870,4141,3608,3634,4009,3826,3296,3050,2724,2136,2195,2102,2066,2154,2163,2520,3086,3326,2997,2337,2626,3103,3550,3928,3531,3273,3292,3169,2938,3481,3628,3358,3403,3525,3794,3465,2630,2121,2106,2265,2715,3274,2901,2380,2691,2709,2324,2270,2684,3061,2853,2565,2776,2526,2050,1803,1873,2369,3051,3017,2330,2225,2407,2096,1881,1880,2293,2722,2432,2084,1816,1705,1799,2032,2243,3111,3435,3000,3513,3573,3764,4062,4094,3884,3749,3959,3410,2544,2836,3693,3818,3295,2807,2502,2508,2674,2820,3241,3331,3309,3506,3449,2898,2380,2087,2385,2901,2567,1978,2260,2486,2586,2776,2662,2438,2675,2732,2204,1994,2151,1956,1873,1926,1803,1664,2083,1844,1794,1676,1655,1966,1760,1592,1412,1344,1351,1635,1685,1412,1539,1689,1769,1671,1641,1925,2147,2103,1657,1460,1787,2324,2403,2922,3393,3230,3012,2290,2247,3204,3275,1920,1244,1754,2047,1986,1736,1604,1545,1438,1400,1520,1892,2040,2146,1919,1738,1368,1282,1496,2002,2802,3164,3334,2867,2117,2423,2886,2907,2754,2480,2130,1842,1580,1324,1369,1913,3244,3675,3516,2766,2105,2160,2489,2666,2204,1910,1730,1763,2325,2331,2731,2907,1591,963,1310,1411,1390,1495,1690,1645,1489,1559,1574,1660,1750,2227,2886,2626,1714,1707,1948,1540,1625,1765,1820,2104,2378,2251,1726,1586,1589,1571,1698,2037,1802,1488,1372,1464,1403,1286,1482,1456,1421,1619,1856,2083,1866,1905,1799,1784,1738,1737,1717,1501,1360,1426,1332,1470,1896,1815,1630,1655,1732,1484,1892,2345,1798,1519,1682,1645,1853,2141,2166,2136,2144,1782,1508,1430,1353,1574,1989,1976,1932,1947,1788,1550,1433,1427,1266,1578,1707,1747,1874,1908,1906,2106,2280,2252,2021,1784,1491,1456,1490,1476,1614,1679,1562,1860,2432,2806,2386,1668,1353,1896,2364,2071,1533,1787,2447,2235,1997,1592,1181,1243,1574,1959,1782,1856,2001,1866,1478,1886,2086,2229,2510,2089,1781,1378,1494,1947,2226,2194,2171,2141,1967,1666,2217,2518,2314,2437,2584,2706,2736,3008,3012,2114,1808,2073,2148,2077,1610,1732,2284,2081,2031,2713,2534,2430,2451,2025,2155,2469,3075,2413,2088,2769,3082,2573,2102,2221,2426,2314,2566,2169,2249,1745,1493,1759,2775,3416,2844,2230,2409,2879,2788,2320,2164,3411,4017,3386,2078,2288,2950,3499,3103,2688,2788,2781,2502,2144,1608,1171,1691,2598,2833,2909,3606,3550,2601,2589,3082,2571,1920,2121,2276,2430,2352,3416,3738,3443,3024,2709,2600,2352,1905,2243,2378,2412,2448,1603,2031,2866,2656,3053,3454,3374,3401,3681,3774,3786,4284,4120,2952,2044,2179,2252,2388,2331,2104,2033,1974,2386,2178,1970,2700,3128,3688,3474,2052,1618,1902,2611,2824,2922,3062,2698,2602,2898,2645,1969,2178,2066,2055,2632,2768,2369,2566,3121,3472,2824,2099,2187,2183,2596,2622,2761,2116,2086,2507,1979,1667,2038,1968,1648,1859,1947,1721,1750,1626,1936,1598,1634,1761,1718,2174,2779,2512,2377,2885,3097,2711,2296,2229,2309,1798,1874,1920,1597,1408,2185,3055,2803,1847,2061,1969,1212,1202,1569,2057,1800,1794,2160,2818,2769,2136,2113,2728,2664,2186,2013,1938,2040,1825,1705,1377,1038,979,1235,1422,1804,1846,1736,2032,2040,1888,2282,2172,2259,2058,2148,2515,3016,3234,3042,2303,2213,2661,2575,2277,2369,2257,1700,1573,1817,1845,2087,2248,2282,2622,3264,3519,3640,4045,4119,3874,3293,2898,2973,2906,3372,3604,3593,3818,4121,3618,3008,3265,2718,1882,1980,2425,2519,2677,2234,1322,1498,1637,1252,1289,1989,3002,3441,3730,3409,3326,3660,3912,3893,3798,3579,3274,2990,2780,2517,2252,2111,1848,1775,1988,1945,2296,2545,2325,2703,2531,1886,2031,2562,1982,1787,2148,2436,3168,3551,2759,1617,1460,1786,2494,2313,2141,1885,1966,2377,2364,2312,2092,2000,2058,2200,2599,2859,2422,1679,1406,1627,1626,1870,2536,2659,2160,1592,1669,2155,2109,2125,2116,2249,2038,1928,1738,2388,2416,1873,1916,2055,2315,2874,2647,2590,2562,2072,2354,2510,2328,2614,2348,2071,2307,2241,2248,2453,2352,1975,1971,2427,2632,2282,1874,1689,1568,1960,2390,2387,2328,2366,2352,2400,2374,2664,2740,2938,2416,2217,2482,2325,2577,2580,2404,2281,2157,2656,2750,3053,3242,2863,2350,2169,2548,2821,3128,3138,3188,3427,3542,3239,2944,3185,3057,2783,2691,2873,2894,2380,2144,2322,2254,1801,1756,1727,1734,1602,1938,2238,2680,2709,2483,2675,2807,2758,2544,1939,1848,2065,2426,2679,3398,3126,2390,1951,2285,2598,2494,2597,2387,2189,2339,2542,2206,2055,1927,2250,2734,3161,3300,2886,2392,2316,2434,2244,2380,2591,2280,1942,1408,1746,2107,2236,2257,2321,2621,2519,2235,2113,1992,1729,1974,2041,1943,1664,2255,2534,2558,2643,2595,2514,2503,2543,2896,3147,2654,2522,2452,2441,2334,2486,2722,2724,2901,2972,2874,2823,2648,2803,2866,2509,2311,2145,2404,2912,2543,2181,1836,1968,2596,2957,3271,3362,2950,2612,2620,2809,2641,2464,2883,2944,2837,2823,2664,2696,2214,2159,2536,2751,3178,3073,1982],[2482,2764,2728,2752,3264,3587,3852,3616,3239,3294,3516,3638,3843,4274,4477,4324,3350,2600,3394,4401,4640,4527,4309,4021,3688,3252,3156,3165,3319,3076,3265,3237,2936,2852,3028,3195,3327,3361,3263,3250,3455,3543,3758,3356,2585,2420,2702,2706,2581,2225,2294,3137,3562,3940,3740,3456,3536,4005,3846,3261,2463,2223,2116,2424,2959,3029,2832,2687,2865,3094,3337,3425,3895,4190,4117,3762,2863,1988,2097,2557,2889,2995,2741,2379,2245,1975,2364,2275,2358,2635,2174,1868,1912,2210,2279,1987,2612,2298,3133,3561,3507,2418,2065,2868,3129,2987,3597,3899,3312,2651,2699,2922,3007,2608,1981,1657,1773,1874,1969,2248,2212,2091,2126,2392,2577,2808,3265,2979,3085,3459,3727,3685,3176,2437,1692,2002,2437,2293,2314,2067,2131,2313,2617,2995,2874,2664,2358,2374,2285,1763,2219,2735,2591,2221,2265,2000,2110,1908,1740,2040,2258,2337,2276,2690,3022,3044,2881,2811,2591,2148,2162,2080,2326,2622,2687,2494,2279,2102,2120,2046,1882,2369,2355,2484,2071,1921,1981,2065,2511,2622,2481,2835,2897,2695,2818,2940,2818,2419,2674,2518,2533,2329,1764,1799,2493,3264,3117,2741,2632,1458,1415,2710,2346,2079,2048,2065,2681,3441,3570,3714,3461,3062,2923,2586,2308,2027,2124,1906,1874,2203,2440,2794,3237,3549,3460,2917,2604,2869,3035,3168,3266,3182,3165,3509,3771,3879,4037,3802,3487,3504,3430,3763,3692,3162,3207,3599,3156,3090,3648,3791,3692,3715,3785,3819,4069,3685,3219,3559,3763,3730,3527,3007,3229,3426,3666,3396,2944,3157,2988,3352,1969,1765,1713,1724,2056,2129,1933,1961,2205,2361,2449,2245,2570,2815,2107,2022,3042,3331,2881,2381,2473,3152,3603,3588,3672,3604,3775,3196,3497,3360,3504,3005,2677,2645,2745,2702,2295,2030,2033,1793,1710,2158,3462,3570,3188,2943,2136,2143,2344,2220,2081,2203,2430,2303,1990,2244,2632,2768,2915,2629,2144,2728,3587,3559,2190,1537,1806,1698,2259,4018,3458,2236,2261,2231,2987,2990,2709,2830,2855,2197,1751,1818,1942,2256,2511,2892,2517,1864,2195,2079,1897,2286,2431,2778,3049,2909,2850,2579,2413,1790,1754,2164,1958,2033,2452,2271,1767,1464,1838,2669,2507,2531,3175,2445,1895,1863,2019,2072,1800,1444,1907,2476,2701,2707,2364,2091,2093,2046,2002,2028,2184,2200,2360,2299,2077,2239,2563,2640,2974,3153,3110,3509,3491,3082,2554,2352,2518,3168,3926,3771,2730,1865,1832,2026,2462,2532,2475,3167,2755,2257,2049,1790,1653,1654,1893,2199,2327,2459,2844,2235,1592,1592,2223,2177,2059,2232,1934,1560,1473,2106,2316,1666,1221,1438,1593,1951,2231,2054,1771,1728,1954,2177,1958,1766,2136,1914,1987,1872,1732,1726,1885,2215,2064,1762,1710,2080,2835,3530,3446,3201,2729,2542,2399,2566,2338,2011,2050,2454,2587,2614,2453,1686,1957,1780,1664,1566,1542,1811,1799,1891,2645,2574,2091,1984,1816,1559,2695,3209,2723,2133,2147,1969,1992,1786,952,1156,1837,2304,2524,2758,2231,2266,2240,1902,2220,2377,2140,2260,2149,2391,2662,2249,1912,1630,1700,2305,2257,1987,1785,1815,2081,2454,2347,2229,1968,1665,1476,1554,1865,2294,2592,1847,1693,2121,2941,2587,2287,2202,1795,1669,2318,2283,1948,1608,1597,1958,2292,2490,2292,2238,2008,1952,1895,1729,1955,1969,2067,2172,2015,1877,1985,2098,1895,2175,2474,2513,2458,2172,1800,1927,1918,1880,1892,1848,1990,2318,2797,2977,2754,1862,1649,1185,1331,1646,1340,1244,1613,2008,2157,2128,2481,2080,2405,2929,2630,2735,3009,3083,2830,3055,2829,2069,2029,1828,1814,2000,1954,1626,1547,1555,1455,1544,1969,2270,2963,3296,2383,2108,2117,1700,1377,1242,1539,2310,2712,2511,2633,2744,2570,2118,1984,1719,2229,2557,2360,2117,2055,1941,2061,2282,2301,2268,2530,2499,2611,2570,2265,2776,3308,3316,3280,3361,2902,2512,3091,3085,2831,2645,3284,2854,3289,3178,2720,2849,3082,2978,2954,2702,2244,1824,2109,2330,2124,2254,2285,2577,2249,2055,2194,1894,1902,2075,2265,2551,2827,2894,2630,2441,2391,2584,2762,2895,2387,2308,3329,4022,3473,2688,2610,2536,2432,2420,2622,2834,3386,3641,3844,4212,4140,3955,3805,4016,3993,3930,3681,3614,3676,3587,3454,3260,3296,3282,2885,2801,3226,3316,3111,2766,2599,2608,2725,2699,2863,2945,2334,2109,2540,2940,2495,2353,2132,2361,3221,3382,3190,2905,2893,2916,2555,2312,2208,2122,2054,2051,2397,2962,2822,2562,2580,2604,2497,2129,1963,2607,3234,3235,3298,2978,2345,2155,2693,2356,2513,3354,4121,4446,4433,4139,3620,3160,2819,2285,2429,3226,3683,3231,3444,4080,4252,3941,3231,3338,3159,2173,2086,2221,2276,2394,2601,3191,3444,3307,2796,2472,2639,2957,3447,3724,3341,3124,3153,3107,3212,3584,4101,4126,3807,3228,3218,3188,2541,1867,1970,2137,2168,2707,3121,3020,2995,2823,2465,2057,1992,2358,2525,2647,2584,2310,1929,2216,1940,1648,2415,2482,2423,2723,2524,1962,1867,2195,2742,2296,2110,1889,1750,1836,2122,2446,2351,3053,3443,3783,4105,3241,3217,3508,3848,3952,3767,3607,3385,3288,3212,3028,2543,2353,2405,2553,3042,3377,3173,3585,3659,3316,3326,3500,3138,2422,1999,2358,3150,3152,2339,2294,2229,2141,2231,2128,2433,3356,3121,2093,2172,2459,2202,1951,1745,1964,2226,2530,1809,1644,1650,1746,1996,1834,1572,1440,1228,1273,1842,1992,1769,1743,1626,1812,1790,1707,1917,2163,1797,1430,1494,1879,2218,2261,2901,3212,3274,2888,2115,2229,3155,3342,2291,1681,1667,1539,1688,1561,1514,1567,1486,1277,1521,1974,1918,1843,1900,1672,1327,1301,1131,2113,3611,3210,2758,2639,2015,2087,2248,2058,2045,2273,2168,1822,1653,1382,1418,1807,3206,3655,3455,2711,2128,2155,2476,2649,2332,1895,1732,1887,2506,1947,2236,2882,1744,831,1049,1271,1309,1514,1770,2011,1815,1511,1561,1823,2433,3097,2634,1717,1571,1729,1345,1463,1867,1820,1918,1959,2083,1896,1623,1408,1505,1740,1971,2063,1852,1606,1544,1527,1487,1428,1408,1478,1432,1497,1721,2029,2122,1889,1586,1646,1774,1670,1379,1316,1445,1534,1459,1543,1617,1653,1450,1913,2004,1672,1949,1865,1644,1859,2003,2072,1954,1754,1613,1704,1557,1343,1389,1570,1598,1455,1396,1550,1762,1913,1693,1555,1443,1535,1598,1816,1987,1892,1835,1746,1788,2065,2252,2019,2310,1967,1459,1321,1367,1433,1794,2025,2088,2249,2241,2094,1881,1509,1596,2018,1958,1551,1362,2138,2313,1902,1670,1439,1347,1415,1677,1838,1843,1962,2007,1730,1604,2483,2245,1877,2095,2082,1754,1219,1186,1342,1787,2365,2563,2307,2049,1764,1984,2216,2242,2341,2433,2392,2397,2475,2530,1935,1897,2010,1927,1864,1769,1957,2751,2585,2485,2740,2367,2325,2244,2265,2450,2502,2105,1941,2691,3063,2595,2254,2267,2287,2227,2230,2037,1594,1893,2190,1888,1968,3245,4212,3870,2790,2180,2194,2031,1866,2361,2912,2734,2236,2049,2987,4006,3877,3191,2405,2142,2580,2183,2038,1629,1844,2557,3118,3094,2905,3152,2944,1928,2476,2821,2166,1961,2396,2807,3199,3436,3570,3383,2710,2577,2634,2711,2557,2178,2884,3294,3316,2939,2060,1669,2453,2876,2966,3305,3476,3371,3707,3961,3807,3873,3287,2181,2259,2061,1752,1745,2123,2468,1848,1581,2062,1938,1815,2069,2324,2755,2762,1561,1035,1483,1911,2381,2673,2244,2045,2456,2533,2597,2276,2476,2155,2092,2099,1957,2420,3143,3921,3847,2911,2287,2141,1849,2109,2287,2964,2556,2242,2374,2040,1980,2159,1985,1813,1852,2111,2212,2452,2270,2476,2026,1698,1867,1837,2244,2752,2310,2123,2570,2874,2699,2376,1950,2287,2092,1948,1851,1526,1586,2381,2602,2222,2410,3542,3351,2077,1570,1530,1919,2067,2196,2303,2670,3278,2781,2619,2897,2430,1871,1971,2008,1923,1745,1923,1797,1470,1634,1897,1764,1902,1622,1587,1782,1836,1844,2499,2319,2126,2130,2374,2592,2688,3073,2792,2090,2337,2666,2637,2304,2204,2093,1666,1516,1631,1750,1670,2024,2124,2593,2988,2911,3970,4186,4272,3937,3119,2844,2857,2912,2940,3431,3825,3945,4169,3743,2995,2967,2596,2031,1618,1644,1815,2189,2144,1508,1527,1562,1581,2324,3302,3479,3829,3846,3369,3100,3083,3292,3265,2985,3307,3663,3397,2496,2098,1697,1635,2045,2425,2492,2282,2396,2435,2003,2099,1780,1584,2192,2837,2202,1823,2494,3382,3712,3410,2460,1549,1533,2234,2990,2373,1747,1902,1914,1892,2343,2229,1727,1813,1756,1842,2183,2067,1731,1514,1546,1742,1692,1897,2480,2392,1757,1724,2005,1966,1537,1642,1816,1814,1729,1766,1895,2570,2396,1794,2093,1889,1955,2938,3043,2845,2879,2189,1853,2111,2332,2638,2857,2796,2564,2487,2324,2151,2076,1930,1783,1968,2178,2154,2270,2139,1743,1737,1931,2243,2545,2219,2061,2387,2610,2652,3082,3118,2526,2392,2585,2731,2735,2376,2150,2048,2233,2465,2698,2925,3028,2986,2502,2256,2591,2818,3077,3271,3308,3376,3405,2963,2920,3402,3039,2876,2796,2586,2834,2312,1857,2399,2967,2338,1673,1710,1580,1654,1754,2283,2796,2517,2196,2177,2128,2675,2711,1600,1771,2238,2534,2933,2498,2286,2090,1746,2150,2186,2080,2119,1893,2173,2275,2329,2150,1841,2077,2185,2497,2823,3156,3472,2944,2174,2059,2120,2360,2292,2149,1737,2224,2981,2649,2358,2493,2583,2518,2688,2520,2228,1754,1759,1887,1991,1772,1741,2471,2460,2348,2768,2968,2980,2320,1797,2886,3240,2692,2695,2479,2423,2485,2334,2255,2181,2448,3179,2898,2667,2648,2620,2690,2437,2264,2138,2521,2907,2611,2373,2609,2930,3406,3565,3248,3129,2964,2771,2771,3311,3068,2831,3186,3067,2631,2595,2863,2557,2108,2202,2447,2455,2503,2367,1958],[2097,2773,2822,2823,3557,3986,3911,3917,3809,3747,3880,3798,3256,3960,4540,4064,3145,2451,2796,3775,4092,4332,4384,3898,3477,3277,3273,3433,3377,3521,3686,3343,2985,2957,3205,3398,3497,3530,3653,3413,3410,3354,3272,3037,2603,2419,2571,2478,2377,2169,2480,3686,3892,3991,4055,3756,3449,3680,3680,2987,2346,2548,2958,3263,3542,3794,3299,2700,2807,3200,3385,3337,3174,3177,3370,3356,2642,1409,1168,1883,2336,2599,2740,2526,2661,2666,2642,2302,2413,2954,2834,2447,2035,2078,2353,2358,2653,2359,2645,2755,2818,2423,2116,2619,3174,3415,3784,3986,3472,2541,2256,2893,3081,2753,2064,1635,1721,1562,1527,2133,2232,2422,2484,2659,2868,2812,2843,2601,2723,3306,3804,3908,3388,2249,1953,2618,2888,2587,2380,2122,2155,2312,2670,2741,2573,2619,2104,1954,1847,1987,2698,2706,2633,2269,2198,1950,1958,2017,1882,1684,1938,2044,1816,2070,2304,2247,2326,2732,2106,1157,926,1181,1811,2193,2208,2192,2041,1956,2094,2116,2035,2401,2657,2767,2640,2866,3046,2927,2755,2607,2674,3006,2473,2660,2884,2987,3201,3182,3145,2776,2663,2490,1892,1848,2596,3219,3051,2797,2778,1478,1242,3110,3110,2612,2330,2208,2968,3370,3382,3396,3481,3242,3176,2849,2872,2953,2604,2418,2190,1963,2151,2467,2888,3449,3410,2922,2645,1958,2404,3281,3327,3189,3708,4136,4060,3859,3816,3610,3448,3322,3510,3851,3692,3388,3466,3343,2614,2900,3545,3522,3356,3343,3688,3596,3501,2957,2380,2918,3582,3717,3438,2819,2842,3292,3542,3068,2540,2386,2622,2992,2724,1938,1522,2036,2692,2688,2210,2382,2659,2534,2322,2039,2373,2432,1816,1304,2264,3109,2942,2879,2828,2943,3667,3640,3781,3602,4067,3617,3398,3905,3444,2559,2499,2507,2565,2518,2391,2257,2046,1676,1489,1834,2820,2822,2697,2774,2403,2041,1920,1843,1948,2184,2184,1697,1487,2564,3119,3230,3466,3075,2820,3484,4272,3796,2289,1375,1980,2304,2189,3792,3541,2630,2596,2795,3011,3551,4071,4051,3298,2063,1976,1743,2008,2443,2381,2552,2498,2246,2407,2221,2410,2691,1847,2123,3138,3204,3264,2930,2354,1974,2243,2534,2310,2126,2392,2188,1510,1382,1618,2159,1960,2018,2880,2517,1903,2104,2090,1927,1738,1756,2090,2268,2577,2743,2330,1936,1876,1982,2027,2033,2072,2024,1948,1975,2430,2697,2721,2738,3088,2888,2761,3388,3759,3115,2615,2470,2387,2976,3334,2350,1742,1694,1841,2136,2185,2535,2712,2832,2236,2078,2228,1968,1931,1974,1744,2044,1848,2027,2142,1855,1618,1494,1758,2022,2160,2086,1762,1827,1777,2271,2099,1545,1283,1418,1595,1728,1896,2072,2069,2024,2114,2217,2077,2013,2167,2278,2308,2260,1920,1592,1699,1888,1804,1770,1999,2546,3485,3828,3650,2977,2192,2234,2116,2172,2208,2132,2064,1801,2061,2533,2293,2106,2286,1927,1757,1301,1717,2311,1973,2007,2276,1942,1932,1998,1585,1679,2292,2187,2570,2396,2303,2099,2222,1723,866,787,1280,1910,2116,2297,2212,2503,2055,1904,2117,2361,2221,2165,2389,2156,2024,2022,1946,1522,1449,1742,1828,1606,1547,1827,2183,2302,2369,2401,2030,1872,1963,1969,1850,1670,1703,1594,1999,2406,2626,2259,1749,1741,1740,1902,2210,2438,2417,1603,1794,1940,2093,2117,1983,1952,1863,1924,1894,1899,1970,1749,1871,1932,1920,1699,1977,1902,2087,2459,2783,2786,2430,1889,1936,2312,2308,1966,1818,1995,2061,1935,2253,3018,2448,1840,1884,1274,1232,1037,1054,1384,1650,1899,2531,2272,2149,2387,2617,2544,2751,2975,2338,2547,2677,2626,2237,2119,2010,1707,1673,2142,2143,1857,1905,2020,1802,1403,1770,1721,2030,2214,1772,2039,2392,2442,1870,1356,2302,3238,2888,2409,2241,2393,2460,2146,1973,2294,2741,2404,2016,2359,2260,2145,2077,2247,2730,2449,2543,3063,2810,2757,2685,2632,3017,3264,3350,3164,3194,2993,3097,2950,2278,2508,3145,3005,3484,3516,3147,2946,2812,2724,2488,2178,1990,1915,2365,2316,2171,2138,2357,2463,2244,2190,2050,2110,2288,2300,2552,2519,2142,2314,2637,2802,2735,3032,3769,3884,3510,3276,3662,3982,3649,2800,2496,2384,2186,2341,2521,2651,3118,3369,3479,3783,3996,4083,3953,4058,4012,4124,3869,3644,3626,3415,3074,2655,2167,1718,1468,1976,2674,2852,2734,2468,2405,2485,2444,2384,2746,2740,2279,2086,2511,2938,2635,2247,2301,2464,2566,2609,2667,2629,2536,2477,2354,2287,2340,2150,1898,2210,3074,3120,2762,2480,2368,2809,2566,2008,2277,2792,3354,3475,3270,2530,2214,2364,2326,2396,3050,3732,4069,3896,3663,3883,3028,2658,2994,2732,2524,3052,3649,3271,3305,3797,3662,3670,3281,3676,3591,2301,1976,2389,2451,2637,2973,3220,3326,3051,3023,3152,3178,3432,3652,3265,3076,2938,2961,3217,3505,3592,3444,3754,4012,3663,3353,2375,2082,1562,1676,2262,2326,2142,2996,3609,3196,2668,2468,2260,1860,2187,2421,2649,2591,1733,2062,2618,2090,1749,2001,2320,2680,2835,2401,1879,1898,2544,2563,2059,1827,1659,1791,2183,2841,2830,2153,2284,3096,4124,4559,3924,3517,3618,3880,4208,4208,3791,3174,2911,3077,3188,3095,3305,3242,3205,3695,3868,3666,3806,3695,3317,3150,3394,3710,3089,2182,2485,2893,3127,2822,2488,2350,2261,2032,2247,2703,3031,2779,2553,2584,2142,2217,2014,2021,1990,1736,1838,1686,1693,1751,1785,1864,1914,1727,1591,1340,1385,2054,2250,2266,2186,2630,3211,2542,1716,1636,1684,1651,1651,1708,1858,2061,2085,2272,2270,2364,2154,1672,2049,3028,3287,2620,1741,1414,1341,1688,1535,1715,1860,1878,1569,1546,1620,1660,1806,1770,1658,1352,1496,1286,2264,3630,2701,1793,1743,1512,1548,1775,1723,1602,1767,1953,1738,1557,1376,1389,1691,2912,3469,3305,2738,2144,1974,2240,2605,2274,1661,1492,1718,2010,2105,2345,2843,1926,789,1126,1674,1874,2006,1896,2026,1828,1703,1938,2289,2744,2319,1908,1997,1849,1465,1521,1851,1775,1682,1775,1729,1637,1660,1592,1554,1979,1998,1934,2105,2071,1909,2264,1997,1727,1612,1353,1321,1351,1662,2047,2213,2073,1504,1384,1584,1557,1651,1930,1926,1676,1593,1563,1614,1666,1457,1572,1854,1559,1637,2054,2124,2065,1596,1568,2216,2216,1680,1584,1628,1457,1372,1522,1725,1737,1378,1389,1577,1550,1748,1834,1940,1756,1658,1618,1600,1811,1893,1929,2018,2142,2288,1924,1841,2252,2266,1678,1241,1371,1442,1626,2230,3020,2791,2598,2644,2106,1835,1825,1552,1732,1781,2050,2407,2126,2247,1817,1935,1692,1543,1773,2068,2568,2690,2495,1824,2022,2529,1923,1876,2564,2604,1993,1660,1495,1464,1914,2679,3200,3198,2474,1772,1998,2237,2156,2034,2213,2292,2134,2052,2656,2477,2397,2304,1741,1778,1712,1981,2722,2850,2824,2933,2618,2103,2133,2251,2194,2130,2149,2731,3311,3151,2138,2272,2294,1806,1539,1760,2070,1987,1938,2212,2222,2292,3198,3496,3710,3115,2785,2048,1810,1848,2066,2172,2102,1941,2625,3571,4132,3256,2613,1767,1839,2222,1954,2026,1975,1925,1838,2603,3793,3254,2811,2067,2180,3254,3490,2281,1762,2198,2964,3498,3572,3598,3277,2387,2530,2446,2647,2310,2339,3022,3584,3545,3226,2451,2022,2509,3040,3199,3182,3508,2963,3383,3496,3050,3056,2701,2225,2378,2036,1682,1915,2299,2187,2045,1886,2477,2568,2214,1700,1879,2432,2818,1996,983,1132,1746,2544,2475,1980,1767,2173,1734,2084,2349,2437,2243,2358,2261,2053,2228,2620,3395,3024,2017,2276,2344,2086,2246,2216,2532,2502,2335,2438,2557,2754,2379,2260,2192,1905,2280,2865,2656,2079,2291,2212,1936,2165,1882,2002,2463,2618,2540,3037,2993,2416,1785,1754,2200,2173,1932,1690,1512,2082,3020,2216,2216,2938,3628,3620,2664,2106,1979,2249,2154,2053,2326,3224,3792,3039,2906,2996,2696,1901,1641,1672,1700,1857,2117,2094,1763,2040,2145,1988,1803,1967,1930,2072,2265,2483,2403,2197,2106,2036,2089,1888,2012,2479,2301,2152,2351,2843,2813,2312,1885,1603,1556,1572,1603,1685,1404,1998,2011,2530,2963,2796,3815,4200,4183,4228,4003,3686,3175,2741,1801,2495,3370,3898,3985,3294,2493,2293,2457,2360,1910,1610,1615,1578,1735,1550,1961,2340,3101,3660,3007,2865,3574,3375,2665,2408,2474,2700,2841,3096,3771,3860,3492,2765,2601,2355,2178,2519,2543,2513,2259,2022,2416,1740,1719,1708,1676,2000,2433,2101,2007,2613,3090,2635,2332,1951,1655,1968,2553,2563,2040,1964,2438,2458,2429,3066,2733,1853,1498,1949,2001,1934,1700,1704,1832,1799,1792,1719,1897,2245,2257,1725,1974,1996,2145,1747,1608,1364,1365,1440,1889,2294,2276,2054,2091,2306,1866,1803,2185,2735,2834,3045,2297,1864,1941,1946,2739,3688,3582,2728,2902,2954,2046,2140,2039,1742,1782,2077,2352,2479,2454,2405,2081,1914,1588,1982,2511,2408,2249,2047,2282,2791,2514,2200,2575,3293,3063,2496,1905,1931,1975,2035,2287,2420,2513,2597,2765,2577,2574,2656,2617,2789,3197,3077,3062,2935,2746,2781,2853,2607,2988,2890,2320,2543,2263,2392,3119,3515,3117,2265,1789,1720,1780,1820,2065,2244,2169,2276,2252,2095,2779,2513,1739,2498,2492,2890,3440,2701,2163,2091,1998,2266,2039,1909,2001,2248,2648,2344,1781,1814,2295,2564,2627,2558,2336,2464,2875,2728,2241,1960,2097,2451,2368,1946,1729,2221,2662,2521,2426,2222,2539,2542,2807,2222,1970,2086,1865,1830,1854,1688,1909,2190,2003,2270,2697,3199,3206,2330,1715,2078,2463,2600,2880,2964,3146,3526,3429,3506,3207,3002,4083,4026,3068,2726,2929,2680,2363,2586,2530,2542,2649,2610,2952,3118,3350,3540,3510,3338,3216,3285,2853,2781,2851,2361,2349,2656,2951,2662,2890,2876,2307,2416,2309,2264,1937,2057,2195,2256],[2546,3226,3098,3386,3965,4208,4131,4317,3764,3194,3707,3441,2631,2838,3218,2908,2537,2617,3173,3757,3898,4197,4020,3669,3592,3423,3082,3042,3134,3273,3300,3228,3141,3109,3239,3393,3555,3648,3648,3450,3296,3272,3182,3046,2530,2344,2447,2064,2470,2402,2657,3282,3051,2666,2806,2923,2987,3498,3927,3415,2775,3051,2844,2939,3528,3968,3495,3162,3326,3100,2801,2608,1989,1710,2459,2612,2352,1591,1336,1958,2753,3156,2836,2573,2951,2944,2621,2289,2359,2887,2890,2388,1756,1542,2068,2107,2292,2559,2598,2630,2385,1865,1698,2542,2995,3165,3373,3525,3442,2956,2654,3064,3374,2857,2001,1401,1478,1650,1465,2190,2439,3069,3387,2928,2708,3045,3117,2749,2935,3452,3746,3746,3065,2225,2140,2301,2890,2980,2520,2424,2469,2267,2276,2158,2184,2628,2051,1932,1610,1886,2212,2680,2777,2389,2128,2008,1941,1824,1725,1664,1837,1674,1581,1677,2436,1906,1811,2566,2053,1386,1362,1635,2178,2092,1879,2302,2126,1781,2046,2126,2542,2585,2930,3229,3186,2901,2753,2925,2599,2483,2656,2977,2833,3038,2854,2961,3100,3005,3060,2913,2689,2272,1852,2585,3891,3815,3463,2985,2906,1866,1367,2927,3164,2483,2229,2263,3062,3409,3451,3254,3210,3114,3121,2865,3321,3728,3564,3426,3260,3164,3064,2899,2688,3161,3433,3351,2830,2039,2708,3608,3322,3311,3941,4164,4230,3907,3462,3414,3238,3106,3509,3661,3753,3709,3423,2708,2293,2798,3485,3433,3377,3010,3152,2643,2670,2840,2503,3130,3761,3544,2949,2387,2145,2360,2692,2603,3093,2905,2765,2388,2453,2269,2475,3286,3952,3649,3141,2674,2468,2522,2511,2718,3084,2705,2069,1368,1617,2317,2760,3383,3239,2745,2941,3517,3716,3472,3653,2994,2345,2674,2315,2089,2049,1945,2821,2880,2248,2064,2064,1777,1856,2313,2667,2099,1905,2304,2292,1978,2141,2300,2086,2008,1761,1664,2028,2624,3117,3221,2994,3124,3449,3573,3466,3212,2463,1521,2083,2303,2433,3227,3527,3474,3426,3033,2952,3603,4017,3675,3132,2191,2307,1815,1859,2165,2159,2557,2812,2588,2141,1973,2290,2345,1753,2252,3040,3060,2909,2776,2437,2094,2354,2854,2536,2208,1903,1822,1559,1823,2280,2231,2041,1999,2557,2519,2295,2349,1941,1895,1851,2103,2158,2269,2421,2583,2134,1772,1825,1947,2004,2255,2132,1640,1575,2092,2490,3067,3429,2896,2818,2668,2689,3378,3731,3294,2609,1868,1736,2235,2268,1853,2013,1875,1884,2065,2039,2346,2777,2402,1852,1899,2038,2057,2156,2080,2008,2140,1873,2003,2253,1949,1723,1773,1666,1802,2403,2007,1590,1370,1881,1778,1389,1397,1751,1978,1805,1697,1830,2018,1975,1900,2320,2134,1678,1781,1610,1995,2780,2845,2165,1631,1846,2026,2073,2384,2348,2742,3465,3718,3652,3485,2747,2218,2442,2284,1612,1736,2042,1886,2061,2410,2121,2315,2274,2547,2296,1815,2224,2166,1860,1773,2043,2384,2142,1612,1630,2296,2554,2270,2623,2769,2543,2440,2063,1698,1552,1132,1118,1828,2054,2254,2118,2442,2229,2122,2059,1895,1652,1895,2197,2009,1969,2193,1965,1626,1571,1566,1598,1702,2050,2150,2298,2701,3364,3094,2491,2147,2337,2186,1677,1707,2005,2011,2100,2195,2012,1597,1656,2110,2070,2175,2338,2870,2548,1692,1933,2001,1918,2008,2043,1886,1659,1657,1866,1814,1975,1822,1454,1517,1750,1844,1916,1974,2411,2891,2938,2439,2401,2189,2623,2754,2568,2086,2009,2121,1819,1603,2554,2900,2061,2022,1620,1387,1696,1423,1313,1251,1293,1936,2602,2283,2090,2329,2347,2527,2765,2513,1467,1879,2056,2136,2388,2296,2222,2248,2351,2665,2531,2461,2300,2145,2064,1632,1461,1520,2102,2325,1901,1972,2405,2720,2027,2013,3001,2952,2330,2140,1887,1882,2242,2270,2233,2373,2361,1666,1932,2510,2022,2082,2117,2446,2700,2403,2313,2597,2534,2710,2614,2303,2499,2820,3116,2938,3119,2832,2490,2170,1925,2190,2138,2285,2862,2855,3076,3084,2769,2316,2034,2118,1765,1878,2242,2110,2079,2391,2420,2189,2368,2476,2436,2346,2066,2212,2121,2025,1990,2900,3957,3935,3562,3642,3818,3686,3650,3628,3196,3662,3741,2954,2622,2380,2001,2301,2442,2545,3065,3383,3354,3197,3325,3670,3652,4090,4331,4247,3853,3227,2918,3029,2802,2224,1758,1631,1642,1795,1814,2388,3272,3426,3341,3538,3220,2554,2854,2557,2264,2499,2729,2813,2841,2326,2027,2207,2307,2244,2277,2280,2315,2380,2591,2872,2983,2233,1961,2758,2941,2365,2460,2308,2304,2476,2564,2670,2407,2385,3238,3520,2988,2389,2476,2755,2587,2232,2800,3588,3854,3610,3403,3444,2069,2058,2880,3232,2808,2525,3020,3117,2962,3388,2800,3292,3138,3565,3925,2698,2261,2364,2570,2778,2755,2932,2692,2639,3098,3345,3444,3518,3363,3011,2776,2865,3284,3371,3541,3692,3510,3189,3594,3796,3208,2697,2003,1551,1708,2104,2187,1909,2756,3826,3493,2801,2690,2504,1749,2298,2558,2656,2029,2135,2903,3034,2805,2363,1958,2270,2549,2474,2145,1982,2081,2316,2077,1853,1691,1629,1924,2720,3018,2214,1807,1998,2630,3937,4511,4396,3834,3776,4072,4241,4144,4014,3639,3238,3269,3807,3774,3784,3650,3564,3957,3965,3859,3905,3859,3887,3285,3072,3896,3480,2341,2442,2577,2835,2642,2375,2343,2380,2344,2447,2647,2485,2590,2674,2531,2331,2480,2038,2005,1930,1895,1926,1972,1796,1729,1721,1726,1892,1802,1676,1512,1637,2186,2151,1858,2192,3050,2999,1791,1173,1209,1530,1755,1600,1673,1661,1740,1565,1308,1409,1675,1732,1527,1864,2862,3029,2461,1950,1757,1404,1451,1593,1793,1672,1447,1426,1470,1386,1382,1865,1932,1644,1518,1764,1530,2142,2829,2288,1550,1267,1158,1466,1749,1640,1490,1620,1722,1637,1587,1415,1391,1673,2700,3413,3139,2572,2131,1793,1794,2122,2017,1748,1773,1970,1877,2105,2481,2793,2053,913,1462,1838,1938,1972,1910,1835,1799,1958,2481,2459,1946,2147,2768,2048,1456,1713,2052,1873,1730,1599,1758,1931,1787,1871,1807,1935,2189,2138,2008,1730,1926,2353,2500,2370,1970,1722,1555,1344,1396,1720,1720,1747,1644,1225,1392,1752,1549,1945,2264,1980,1798,1836,1696,1698,1760,1657,1666,1742,1571,1564,1940,2010,1892,1779,1669,1717,1848,2148,1849,1829,2035,1593,1412,1751,1859,1559,1460,1532,1544,1619,1874,1921,1816,1758,1490,1481,1605,1691,1930,1809,2056,2064,1648,1721,2001,2185,2238,1795,1349,1412,1488,1709,2548,2330,2641,3089,2501,1909,1454,1370,1944,2085,2111,2230,2127,2238,1839,1849,1721,1804,2123,2639,3028,3306,3175,2341,2528,2691,2965,3072,3096,2052,1774,1898,1792,1782,1930,2343,3174,3469,1959,1321,1836,1954,1905,1815,1852,2286,2028,1805,2257,2611,2853,2556,1897,1942,2493,2878,2533,2502,2122,2854,2905,2203,2047,1866,2073,2229,2404,2717,2449,2524,2321,2568,2010,1352,1366,1668,2259,2621,1939,1872,1711,2154,3305,3293,3370,2732,2610,2652,2235,1872,1943,1857,1743,2029,2688,3306,3912,2576,1738,1890,2707,2654,1992,2135,2200,2038,2223,3194,4168,3211,2297,1861,2634,3083,2668,2250,1802,2173,2974,2940,3197,3081,2510,2264,2322,2570,2750,2875,2854,3367,3522,3264,3372,3016,2601,2733,3139,3311,3103,3500,3041,2875,2620,2403,2436,2011,1849,1855,1309,1244,1900,2339,1828,2025,1946,2338,2496,2333,1819,1881,2675,3019,2367,1917,1968,2567,2703,2780,2403,2234,2194,1441,1679,2146,1948,2045,2537,2533,2340,2313,2459,2587,2480,2296,2786,2643,2210,2172,1898,1925,2265,2024,2141,2830,3216,2954,2367,2494,2291,2338,2801,2825,2310,2259,2163,1868,2329,2115,2435,2940,3117,2971,3400,3504,2497,1462,1531,1953,1771,1495,1539,1583,1998,2316,1835,2018,2169,2643,2698,2175,1626,1488,2061,2010,2125,2508,3022,3459,2922,3038,2904,2470,2146,2075,1970,1781,1795,1822,1858,2043,2314,2182,2168,2283,2166,1997,2220,2784,2974,2662,2524,1897,1924,1989,1873,1796,2080,2165,2152,2166,2548,2620,2153,1989,1739,1606,1636,1683,1793,1877,2253,2371,2633,2502,2666,3714,4089,4215,4667,4785,4221,2753,2492,2221,2622,3404,3703,3461,2896,2656,2498,2589,2708,2279,1609,1465,1381,2150,3028,3409,3421,3574,3281,2539,2732,3079,2622,2141,2318,2621,2675,2798,3132,3177,2678,2578,2590,2483,2212,2066,2432,2790,2789,2020,1914,2686,2633,2400,2596,2202,1637,1945,2078,1976,2082,2239,1769,1842,2154,1783,2060,2520,2264,2562,2611,2264,2398,2658,2908,2757,1977,1654,2265,1982,1837,1693,1660,1748,1788,1649,1862,2354,2449,2475,2258,2465,2385,2486,2230,1577,1450,1710,1717,1833,2028,2106,2090,2491,2515,2160,2059,2028,2252,2667,2381,1804,2101,2001,1996,2555,2918,3058,2784,3230,3074,2263,2354,2121,1594,1803,2265,2050,1865,1997,2470,2466,2164,1752,2063,2320,1975,1934,2162,2389,2260,2330,2402,2353,2847,2614,2315,2146,2147,2340,2735,2757,2611,2636,2348,2369,2592,2918,2729,2654,2932,3172,3072,2998,2934,2950,2894,2478,2397,3063,2543,2228,2494,2502,2987,3393,3349,2828,2277,1900,1812,2032,2013,1892,1997,2078,2279,2157,2214,2298,2331,2653,2978,2740,2946,3033,2767,2310,2098,1907,1856,2190,1959,2153,2668,2536,2072,1852,2023,2333,2669,2757,2612,2701,2635,2744,2337,2219,2161,2049,2153,2209,2039,1649,1727,2321,2225,2121,2085,2615,2701,2575,2036,1909,1567,1656,2153,2235,2376,2342,2356,2053,2429,2557,2957,2884,2423,2584,2090,1685,1931,2369,2903,3467,3965,4094,3952,3193,3056,3948,3975,2831,2706,3132,2590,2601,2921,2423,2620,2722,2646,3124,3408,3465,3361,3408,3430,3519,3332,3166,3261,2746,2193,2513,3150,3750,3497,3464,2678,2590,2587,2301,2344,1907,2211,2612,2444],[3234,3522,3322,3895,4086,4147,4316,3963,3328,2743,3042,2770,2353,2316,2334,2372,2702,2963,3711,4064,3674,3636,3342,3482,3540,3322,3152,3165,3318,3381,3228,3223,3182,3126,3218,3327,3422,3484,3383,3411,3349,3271,3450,3536,3272,3392,2898,2870,3453,2743,2458,3129,2866,2918,3194,3271,3588,3601,3892,3759,3306,3805,3322,3105,3305,3901,3790,3562,3350,2740,2706,2647,2129,1520,2387,2847,2720,2293,2056,2123,2518,2570,2284,2641,2756,2586,2442,2591,2856,3279,2786,2397,1641,1243,1561,1885,2390,2661,2597,2567,2456,1682,1296,1931,2133,2107,2385,2262,2578,2942,2961,3297,3326,2823,2380,1609,1897,2062,2288,2532,2422,3110,3408,2570,2128,2285,1875,2186,2947,3298,3177,2940,2798,2712,2568,2453,2795,2755,2483,2479,2243,2056,2110,2169,2592,3045,2578,2004,1872,2332,2438,2625,2602,2277,2309,2452,2142,1582,1806,1926,1723,1273,1188,1768,2225,2014,1850,2257,2197,1729,1782,2042,2207,2281,2151,2565,2471,2503,2570,2678,2557,2413,2818,2843,2625,2435,2767,3311,2947,2931,3106,3022,2836,2893,2856,2951,3000,2809,2802,2951,2722,1942,1910,2489,3249,3295,3218,3633,3636,2531,2636,3773,3140,2419,2313,2329,3011,3262,3310,3720,3736,3670,3326,3204,3486,3388,3642,3717,3054,3256,3272,2599,1942,2975,3448,3541,3378,3225,3414,3461,3195,3363,3726,3963,3830,3476,3243,3441,3118,3151,3526,3851,3992,3874,3254,2261,2004,2852,3444,3655,3500,2569,2250,2001,2104,1956,1924,2470,2822,2995,2678,2137,1741,1804,2334,3440,4104,3714,2883,2455,2322,2423,2865,3150,3307,3316,3247,2754,1992,2016,2263,2462,2764,2799,2548,2132,2010,2212,2472,2775,2575,2260,2423,3032,2479,2218,2670,2468,1907,1710,1604,1861,1701,1927,2756,2706,2149,1967,1834,2098,2850,3420,2962,1914,1753,2063,2087,2130,2177,2416,2154,2060,1912,2296,2440,1866,2354,2844,2558,2873,2740,2265,1989,2184,2263,1714,1947,2366,2490,3022,3432,3450,3442,2922,2645,2876,2941,2761,2522,2265,2040,1825,1835,2068,2451,2060,2610,3250,2720,1902,1848,1967,1664,2544,3218,2994,2522,2512,2902,2854,2525,2470,2083,2179,2055,2210,2120,2115,2630,2586,2354,2707,3021,2478,1907,1881,1784,1483,1599,1975,1986,1923,2149,2231,1977,1719,1679,1830,2075,2079,1713,1863,2018,2098,1881,2445,2642,2220,2418,2859,3276,3601,3553,3350,2911,2046,1787,2196,2204,2249,2884,3090,2381,1857,2112,2781,2996,2454,1990,1670,1828,2009,2114,1954,1975,2159,2171,2074,2069,1883,1726,1839,1666,1908,2630,1934,1488,1466,1919,1673,1522,1863,2064,2047,1815,1747,1839,1985,2074,2294,2370,2060,1993,1823,1564,2036,2696,2643,2235,2040,2109,2216,2245,2547,2470,2263,2842,3470,3736,3761,2830,2083,2253,2284,1637,2168,2452,2714,2940,3030,2536,2460,2596,2869,2486,1979,1969,1749,1833,1659,1728,1939,1813,1731,2084,2437,2520,2377,2466,2702,2539,2043,2024,1928,1961,1699,1542,1894,1964,2160,2359,2432,2480,2780,2285,1679,1674,1743,1303,1613,1966,2108,2197,2268,1974,1975,2310,2296,2167,2005,2157,2517,2386,2905,2609,2071,2330,1957,1576,1763,2216,2382,2252,2148,1876,1618,1867,2411,1974,1895,2496,2742,2192,2005,2324,2131,1874,2053,1967,1860,1517,1537,1517,1542,1936,1938,1477,1601,1969,2067,1933,2070,1896,2025,1948,1819,1907,1897,1960,2097,2257,2297,2157,2178,2177,2286,2868,2489,1960,2380,1620,1415,1509,1363,1450,1738,1825,1921,2280,2079,1939,1849,2420,2589,2490,2276,1632,2007,2094,2066,2105,1807,1930,2423,2810,2828,3097,3363,2973,2037,1942,1937,1612,1940,2814,2545,2040,1890,1789,1917,1727,2529,2518,2180,2231,2253,1943,2007,2256,2480,2754,2799,2723,1904,2462,2145,1725,1961,2100,3299,3493,2740,2541,2409,2152,2643,2829,2283,2346,2583,2799,2490,2308,1877,1841,2227,2401,2552,2458,2469,2508,2580,3480,3072,2600,2364,2412,2389,2156,2113,2186,2451,2623,2389,2354,1985,2428,2790,2690,1984,2102,2213,1963,2127,1976,2459,3774,3935,3820,3916,3728,3491,3356,3577,3618,3884,3609,2975,2595,2416,2196,2600,2463,2618,3008,3527,3720,3404,3584,3671,3540,3812,4084,4083,3792,2968,1941,1819,1724,1640,1797,1980,1989,1958,1810,2439,3626,3973,3698,3436,2980,2126,2232,2156,2453,2839,2710,2546,2314,2045,2336,2591,2309,2085,2240,2545,2883,3242,3486,3813,3575,2599,2154,2275,2142,2332,2513,2020,2156,2669,2601,2624,2482,2117,2485,2871,2668,2729,2578,2507,2807,2265,2191,2928,3645,3620,3304,2898,2294,2418,2787,2844,2791,3100,2922,2501,2419,2734,2680,3308,3370,3577,3688,2718,2244,2832,2974,2374,2574,2959,2769,3167,3438,3496,3610,3415,3201,3120,2874,3075,3271,3017,3094,3060,3083,2818,3279,3533,2833,2154,1616,1617,1985,2101,2040,1960,2248,3206,3812,3592,3316,2074,1492,2433,3038,2469,2164,2956,3156,3259,3636,3511,2586,2423,2304,2153,2059,2109,2165,1932,1755,1678,1796,2015,2414,2383,2170,1715,1861,2247,2888,3465,4216,3911,2443,2092,3274,3882,3654,3908,3952,3886,3708,4109,3886,3714,3509,3627,3892,3791,3650,3440,3509,3714,3204,3139,3828,3631,2978,2120,2191,2893,2852,2717,2499,2122,1997,2298,2579,2156,2767,3130,2607,2624,2351,2069,2004,2524,2600,2266,2514,2341,1914,1857,2142,2310,1953,1791,1776,2148,2266,1998,2150,2570,3020,3012,1958,1429,1337,1575,1778,1792,1905,1615,1505,1430,1384,1457,1455,1483,1527,1782,2288,2001,2092,1989,1780,1373,2159,2094,1369,1475,1522,1844,2021,1840,1152,1378,1567,1360,1562,1958,2047,2181,2598,2445,1694,1275,1213,1512,1718,1522,1485,1566,1679,1688,1568,1447,1449,1787,2714,3500,3364,2717,2376,1882,1414,1735,2320,2489,2542,2597,2083,1708,1952,2246,1975,1325,1780,1838,1862,1959,2005,1907,1729,2171,2602,2051,1527,2000,2534,1603,1824,1855,1609,1641,1866,1896,2122,2148,1995,1982,1936,1942,2166,2304,1987,2007,2490,2586,2384,2531,2265,1847,1657,1443,1304,1478,1574,1496,1549,1416,1570,1806,1904,2432,2416,1924,1734,1727,1802,1874,1861,1821,1531,1571,1432,1538,1682,1705,1588,1457,1637,1755,1898,2056,1514,1859,2133,1617,1479,1770,1880,1581,1332,1471,1502,1417,1545,1539,1898,1820,1682,1701,1726,1800,1707,1535,1643,1637,1736,2139,2032,2122,2874,2854,1926,1454,1450,1443,1627,2339,3172,3459,3228,2316,1323,1277,1786,2037,2174,1957,1723,1510,1481,1547,1758,2088,2722,3455,3076,3031,3191,2710,2579,2623,3053,3267,2397,2041,2375,2147,1903,1907,2438,2776,3269,2749,1789,1423,1478,1731,1884,1829,2064,2277,1957,2097,2878,3218,2656,2083,1877,1933,3173,2897,2510,2282,1760,2684,3385,2566,1979,2008,2377,2519,2613,2813,2286,2800,3400,3288,2632,2226,2266,1912,2144,2454,2084,2245,1628,1850,2248,2256,2774,2466,2370,3226,3106,2072,1890,1750,1700,2205,2565,3544,4327,2773,2396,3194,3460,2690,1997,2281,1962,2102,2600,3421,2626,2116,2398,2536,2788,2246,1730,1980,1948,2885,2834,2497,3330,2833,2392,2644,2620,2740,2931,3375,3334,3391,3418,3085,3352,3561,3172,3291,3589,2988,2776,3352,3210,3038,2692,2416,2214,1859,1810,1764,1274,1394,1898,1971,2339,2624,2178,2148,2298,2451,2464,2110,2146,2063,2329,2695,2166,2115,2260,2919,2674,2121,1921,1603,1706,2056,1865,2059,2314,2320,2254,2355,2812,2269,2141,2530,2652,2468,2147,1833,1679,2001,2439,2016,2114,2525,2566,2288,1715,1704,2144,2415,2455,2568,2206,2099,2117,2211,3046,3127,3486,3812,4015,3293,3476,4083,3301,2171,2236,2344,1595,1287,1937,2100,2313,2502,2172,1986,1832,2274,2459,2081,1344,1406,2688,2755,2388,2984,3284,3166,3162,3338,3066,2377,1929,2146,1968,1725,1872,1902,1939,2003,2090,2039,2147,2243,1908,1665,1871,2569,2556,2699,2463,1452,1883,2207,2177,2136,2020,1960,1849,1398,1660,2003,2213,2463,1832,1659,1678,1830,2130,2518,2690,2705,2322,1824,2414,3890,4038,4283,4723,4728,4327,3471,3194,3162,3675,4083,3827,3254,2832,2756,2615,2841,2677,2632,2324,2225,2060,2928,3565,3613,3613,3382,2922,2595,2735,3017,2962,3322,3124,2919,2824,2746,2842,2634,2304,2415,2298,1824,1683,1863,2258,2971,2821,2073,2078,2510,2442,2321,2754,2245,1606,1809,1830,1673,2309,2264,2050,2032,2194,1950,2125,2157,2127,2684,2484,2075,1941,2423,2599,2037,1613,1699,1948,2105,1894,1481,1453,1616,1703,1519,1766,2164,2176,2378,2454,2458,2367,2442,2088,1634,1839,1923,1931,1909,2180,2164,2318,2490,2570,2375,2618,2533,2103,2002,1843,2060,2467,2385,2872,2796,2503,2757,2930,2969,2562,2244,2098,2056,1706,2140,2090,1893,1404,1534,2475,2929,2723,2519,2266,1806,1675,1903,2210,2150,2236,2406,2013,1981,2174,2282,2295,2110,2158,2591,2673,2410,2566,3094,2798,2353,2758,2641,2229,2475,2746,3042,3239,3016,3024,3101,3100,2943,2833,2952,2392,2631,2609,2736,3244,3430,2987,2368,2210,2060,1900,1894,1848,1850,1910,2345,2602,2409,2220,2018,2048,2221,1844,1997,2238,2180,2468,2354,2280,2097,1989,2229,2254,2213,2436,2681,2464,2419,2394,2329,2501,2557,2698,3233,2797,2501,2374,2376,2265,2203,2154,2084,2370,2150,1657,2087,2172,1865,2159,2555,2803,2544,2248,2029,1959,2634,3006,2851,2326,1948,2273,2378,2854,2724,2610,2646,2789,2841,1767,1560,1818,1833,2664,3409,3693,3703,3381,2928,3100,3874,4096,3363,3063,3076,2479,2854,2844,2394,2589,2609,3222,3863,3742,3384,3394,3662,3790,3637,3146,3348,3432,3104,2777,2653,3144,3860,3807,3431,2498,2499,2522,2332,2340,1879,2214,2945,2234],[2723,3240,3387,4273,4034,4343,4660,4229,3754,3098,2398,2164,2502,3055,3370,3230,3510,3902,3963,3464,2996,3046,3176,3561,3581,3299,3031,3227,3322,3376,3278,3188,3174,3211,3328,3420,3472,3406,3362,3308,3294,3384,3557,3837,3876,3746,3494,3785,3837,2723,2419,2827,2583,2999,3215,3802,3610,3470,3562,3183,3137,3379,3287,3521,3775,4181,4089,3784,3638,3151,2954,2767,2801,2059,2226,2646,2734,2283,1837,2010,2706,2476,2365,2786,2364,2191,2431,2797,2508,1876,1330,1891,2143,2081,2479,2680,2673,2655,2658,2509,2699,1901,1729,1879,1904,1838,2002,2135,2587,3040,3067,3274,3470,3822,3001,1957,2122,2348,2198,1870,2051,2828,3284,2636,2416,2254,2416,2523,2346,2424,2744,2802,2640,2723,2620,2445,2482,2389,2302,2266,1900,1836,1853,2254,2515,2574,2420,1832,1904,2757,2813,2367,2425,2469,2299,2425,2257,1936,2159,2230,2178,1840,1743,2140,2597,2473,2242,2389,2221,2010,1739,2440,2621,2548,2469,2402,2521,2531,2652,2952,2378,2156,2753,2554,2083,2050,2493,3119,3255,3182,3094,2809,2808,3010,2808,2624,2841,2698,2663,2880,2665,2159,2015,1971,1951,2220,2929,3878,3861,2540,2825,3754,2823,2304,2313,2417,2874,2967,3322,3872,4006,3914,3481,3538,4031,3400,3439,3552,2722,3131,3344,2721,2215,3084,3514,3376,3415,3537,3411,3317,3004,2853,3133,3527,3355,3050,3035,3105,3206,3396,3449,3607,3673,3278,2441,2080,2443,3482,3548,3708,3620,2556,1808,2196,2933,2714,2009,1780,2138,2977,3462,3171,2518,2396,2828,4104,4492,3654,2801,2722,2693,2652,2698,3261,3263,2884,3182,2557,1922,1787,1810,1915,2116,2549,2413,2188,2188,2137,1820,2003,2078,2089,2376,2233,1880,1905,1978,1940,1650,1693,2250,2288,1700,2098,2130,1998,2312,2585,2365,2291,2912,3298,2711,2004,1909,2232,2195,2262,2180,2098,1856,2090,2115,2198,2413,2545,3317,3375,3052,2943,2413,1763,1779,1950,2088,1718,2003,2470,2347,2944,2962,2937,2708,2330,2399,2247,2464,2513,2489,2375,1992,1936,1890,2359,3033,2151,2658,3023,2631,2099,2208,2273,1817,2555,3597,3176,2402,2533,3517,3270,2524,2097,1839,2063,2381,2466,2509,2171,2454,2996,3227,3543,3205,2236,1714,1905,2157,2005,2124,2276,2003,1829,1983,1997,2007,1753,1763,1836,1745,1594,2186,2520,2353,1997,1846,2050,1817,1726,2244,2708,3119,3183,3304,3088,2759,1947,1816,2219,2262,2441,3160,3519,3139,2197,1979,2416,2335,2272,2025,1926,1919,2050,1894,1791,1942,2090,2400,2365,2377,2104,1834,1992,1973,2469,2245,1735,1452,1627,1963,1779,1774,2005,1910,1775,1777,1775,1884,2155,2146,2255,1914,1801,1917,1951,2060,2319,2235,1946,2053,1868,2074,2278,2286,2362,2789,2643,2473,2923,3274,2648,2028,1969,1971,2251,1893,2232,2152,2365,2722,2843,2887,2579,2128,2175,1819,1637,1677,1694,1722,1834,2024,1831,2122,2106,1924,2017,2001,2113,2226,1882,1810,1933,2124,2192,1759,1518,1542,1559,1658,1821,2168,2211,2044,2355,1921,1792,1912,1577,1233,2106,2171,1799,2117,2835,3182,2740,2447,2217,1917,1827,1812,2354,2414,2311,2380,2571,2393,1964,1625,1806,2522,2957,2462,2284,1942,1818,1912,1936,1906,2028,2366,2247,1801,1968,2217,2153,1886,2170,2280,1919,1523,1403,1331,1779,2070,1786,1865,2128,2325,2092,1976,2007,1825,1739,1713,1785,1752,1638,1617,1668,2040,2127,1872,1976,2177,2289,2504,2134,2076,2054,1528,1560,1471,1234,1577,2291,2478,2449,1869,1845,2135,1985,2340,2049,2122,1852,1729,1934,1835,2128,2051,1480,1960,2790,3106,2965,3550,3740,2910,1962,1857,1974,2112,2520,2618,2048,1842,1757,1888,1705,1795,2463,2510,2267,2294,2144,1580,1533,1973,2238,2568,3356,3631,2980,2499,2115,2468,2203,2198,2821,2728,2346,2309,2099,1854,2565,2810,2425,2945,3018,2780,2482,2350,2180,2401,2334,2611,3597,3466,2710,2423,3067,3201,2380,2110,2237,2470,2676,2598,2464,2505,2403,1733,1787,2589,2065,2347,2292,1843,2007,2856,2588,2005,2291,2014,1824,3102,3620,3704,3610,3356,3177,3227,3498,4012,4026,3436,3007,2432,2366,2381,2486,2475,2569,2784,3428,3921,4071,4070,3698,3676,3952,4038,4117,4200,3709,2523,1991,1904,1770,1884,1993,2037,2018,1938,2086,2620,2765,2622,2532,2493,2292,2154,1878,2589,2909,2280,2020,2003,2213,2496,2769,2577,2625,2986,3312,3374,3370,3373,3476,3317,2706,2147,2065,2310,1947,2217,2084,2169,2223,2270,2334,2472,2455,2555,2552,2608,2701,2286,2535,2896,2625,2066,2161,3062,3515,3005,2432,2818,3233,3093,2965,3371,3461,2932,2540,2502,3003,3180,3037,2848,3248,3114,2477,2451,3003,3044,2901,3095,3017,3266,3565,3630,3855,3797,3296,2864,2984,3208,3397,3442,2680,2540,2589,2998,2942,3109,3045,2510,1926,1614,1852,2036,1956,1903,1924,2084,2630,3820,4019,3367,2006,2148,2976,2734,2128,2737,3078,3236,3557,3898,3897,2923,2294,2190,2178,2151,2010,1744,1675,1574,1610,2059,2764,3403,2876,2210,2086,2054,2015,2968,3376,3649,3587,2619,2289,3162,3521,3510,3834,4049,3859,3573,3715,3786,3604,3489,3492,3539,3640,3463,3237,3493,3496,3152,3362,3559,3343,2843,2368,2451,3055,3331,2823,2355,2080,1903,2279,2105,1909,2448,2811,2491,2530,2181,1950,2236,2350,2074,2372,2904,2508,2108,2058,2344,2298,2048,1893,1848,2189,2212,1964,2264,2693,2894,3140,2161,1453,1290,1501,1734,1894,1926,1535,1277,1593,1573,1364,1344,1605,1530,1694,1816,1497,1658,1930,1938,1484,1536,1630,1741,2107,1983,2126,2267,1973,1267,1470,1860,1594,1400,1767,2095,1993,1766,1831,1606,1324,1180,1426,1637,1459,1416,1400,1640,1760,1586,1654,1872,2273,2813,3488,3343,2810,2433,1959,1672,2095,2360,2271,2093,1975,1887,1823,1856,1840,1867,1674,1711,1834,1836,1946,1995,1990,2027,1828,2027,1918,1880,2127,1780,1633,1800,1392,1672,1959,1910,2042,2196,2056,2008,1998,2025,2062,2094,1989,2086,2562,2569,2276,2389,2465,2373,2163,1728,1583,1423,1197,1404,1668,1750,1660,1984,1837,2027,2333,1670,1543,1770,1465,1750,1866,1827,1690,1541,1533,1585,1741,1704,1506,1598,1570,1535,1966,2024,1696,1860,2285,1908,1411,1556,1772,1783,1634,1580,1489,1405,1576,1733,1838,2092,1875,1753,1814,1766,1555,1431,1582,1797,1547,1517,1726,1918,2164,2924,3074,2691,1902,1449,1521,1606,2116,2668,3100,2868,1981,1324,1681,1777,1786,1828,1863,1770,1457,1395,1443,1619,1683,2161,3322,3351,2741,2444,2398,2430,2958,3063,2359,1938,2366,2287,2128,2194,1626,1663,2699,2912,2145,1895,1701,1523,1880,1896,1834,2054,2210,2408,2810,3040,2714,2194,1752,1969,2308,2562,2676,2933,2934,2449,2875,3025,2306,1882,1682,2004,2387,2757,2605,2311,2717,2910,3179,2756,2640,2512,1661,2310,2258,1922,1764,1684,1998,1693,1909,2862,3095,2524,2653,2764,2173,1872,1897,2248,2351,2365,2735,3464,2997,2767,3786,3645,2400,2149,2191,1696,1865,2834,2756,1851,1546,2170,2719,2574,1911,1130,1460,2262,3312,3022,3086,3299,2993,3146,3330,2433,1705,2364,3240,3024,2657,3361,3204,3353,3628,3243,3486,3549,2683,3053,3665,3301,3083,2859,2696,2250,1986,2113,2236,1829,1619,1876,1848,2385,2790,2514,2024,1802,2484,2916,2267,1837,2064,2712,3091,2443,2050,2295,2943,2666,1672,1438,1528,2057,2173,1770,1942,2083,1904,1893,2367,2734,2177,1982,2066,1760,1999,1919,1843,2067,2388,2488,1961,1838,2308,2377,2070,1920,1830,2176,2443,2546,2321,1938,2040,1824,1902,2698,3493,3373,3537,4042,3655,3881,4059,3359,2318,2943,2663,1620,1349,1978,2360,2708,2490,2074,1789,1347,1852,2370,2082,1642,2059,3353,3245,2501,3272,3393,2931,3222,3694,3409,2131,2031,1874,1621,1538,1616,1888,2020,1858,1848,2092,2255,2176,2199,1907,1619,2200,2000,2597,2106,1395,1936,1942,2136,2437,2118,1986,1570,1310,1691,1398,1468,1852,1815,1909,2266,2446,2493,2646,2975,3021,2135,1892,2676,3902,4024,4368,4547,4579,4697,4486,3905,3648,4011,4100,3533,2977,2784,2786,2818,3176,2828,2583,2689,3099,3298,3711,3781,3506,3168,3372,3308,2873,2943,3186,3168,3275,2930,2920,2868,2714,3088,2943,2312,1988,1547,1596,1808,1992,1991,2699,2923,2454,2295,2379,2139,2081,2229,2043,2041,2004,1600,1500,1910,1860,1836,2037,2250,2229,2078,1766,2010,2456,2056,1655,1670,2272,2515,2233,1961,1756,2002,2185,1872,1596,1561,1662,1788,1650,2078,2426,2264,2309,2250,2062,1960,2209,1973,1908,1840,1760,2138,2036,1758,1878,2136,2142,2219,2532,2591,2261,2163,1997,1903,1770,2054,2393,2458,2371,2415,2666,2565,2021,2083,2249,1798,1947,2182,2244,2171,2189,1954,2281,2974,2976,2792,2544,2090,2131,2069,2152,2197,2023,2470,2368,2245,2209,2116,2101,2297,2120,2156,2459,2685,2185,1946,2185,2411,2095,2583,2374,1627,1640,2225,2664,2718,2664,2950,2587,2823,2667,2524,2412,2441,2939,2778,3120,3401,2890,2367,2039,2010,2005,2008,2048,2366,2574,2617,2777,2420,2014,1917,1940,2286,2446,1483,1745,2162,2609,2609,2419,2917,2933,2566,2521,2543,2350,2510,2836,2486,2486,2449,2502,2476,2633,2445,2788,3051,2731,2367,2467,2405,2166,2060,2012,2427,2239,2009,1917,1726,1826,2016,2071,2369,2693,2693,2235,2168,2554,2798,3108,2452,2093,1965,2038,2487,2622,2667,2632,2995,3174,1680,1513,1918,1876,2893,3927,4237,4223,4264,3783,3439,4152,4248,3114,2646,2935,2752,3028,2769,2831,2670,2617,3327,3846,3760,3610,3564,3797,3946,3665,3340,3295,3639,3418,3184,2908,3129,3552,3646,2950,2013,2222,2659,2461,2201,1757,2231,2775,2554],[1991,2855,3296,3713,3824,4230,4315,4108,3748,2810,2225,2849,3639,3583,4272,4185,3912,3615,3259,2904,2883,2914,3406,4196,3684,2958,2729,3046,3182,3086,3040,3097,3178,3225,3353,3419,3419,3298,3278,3354,3378,3404,3404,3572,3586,3391,3482,3703,3572,2807,2824,2929,2907,3276,3096,3764,3493,3211,2997,2808,2957,3285,3156,3199,3630,3694,3753,3802,3596,3080,2698,2912,2828,2662,2408,2302,2397,2413,2449,2535,2477,2530,2610,2690,2423,2091,2130,2622,2512,1756,1541,1974,2199,2143,2222,2162,2301,2437,2298,2180,2129,1886,2136,2191,2088,1897,1386,1403,2245,2808,3053,3225,3540,3785,2667,1914,1882,2282,2386,2439,2416,2383,2461,2482,2576,2055,2930,2512,2137,1901,1778,1653,1877,2231,2099,1992,2185,2154,2337,2386,2042,2050,2004,2434,2393,2170,2242,2152,1974,2257,2399,2452,2886,3065,2815,2513,2600,2304,2563,1865,1311,1958,2101,2253,2596,2649,2733,2813,2341,2091,1582,2463,3315,3018,2596,2601,2498,2336,2546,2447,2249,2461,2885,2947,2487,2257,2596,2666,2866,3143,3041,3082,3373,3335,3067,3000,3006,2951,2754,2919,2497,2240,2050,2048,2325,2507,2784,3060,2869,1905,2476,3341,2853,2297,1914,2470,2490,2587,3400,3705,3592,3326,2961,3580,3936,3492,3239,3089,3112,2752,2844,2535,2399,3256,3539,3242,3084,3250,3183,3253,2954,3028,3101,3263,3476,3300,3195,3316,3495,3459,3375,3041,2872,2619,2164,2242,2674,3352,3252,3332,3620,2964,2282,3050,4092,4413,3618,2974,2746,2677,3297,4208,4175,3564,3595,4163,3890,2937,2541,2269,2544,2574,2126,2068,2290,2749,3017,2382,1938,1778,1821,1958,2060,2216,2177,1968,1941,1947,1896,1977,2143,2423,2460,2203,2309,2251,1651,1375,1440,1576,2364,2752,2644,2541,2188,1775,2047,2796,2698,2557,2775,2222,2314,2319,2737,2947,2591,2257,2238,2136,1786,1853,2004,2077,3098,3672,3964,3185,2348,2216,2043,1941,1759,1482,1610,1655,1878,2158,2510,2935,2798,2903,2316,2903,2966,2323,2059,1907,2263,2460,2327,2095,2088,2372,2436,2216,2485,2120,1613,2193,2676,2269,1898,2524,3360,2814,2436,2322,3332,2901,2397,2159,1904,1957,2013,2469,2964,2438,2845,3797,3747,3543,2769,1745,1755,2142,2388,2465,2284,2174,1965,1815,1798,1814,1923,1786,1681,1748,1732,1954,2240,1865,2301,2832,2856,2626,2106,2025,2217,2144,2477,3029,3061,2437,1968,1705,1750,1996,2166,2521,2576,3010,3554,2797,2083,2087,2321,2366,2122,2204,2211,2304,2140,2022,2338,2657,3130,3131,3040,2385,1959,2195,2611,2585,1961,1607,1529,1742,1710,1678,1750,1814,1915,1769,1689,1717,1946,2243,2038,1861,2027,2001,1970,2438,2237,2281,2061,1960,2267,2458,2697,2443,2077,2053,2353,2443,2478,2492,2008,1578,2015,2302,2206,2111,1854,2162,1987,2255,2353,2154,2963,3330,2186,1698,1644,1937,2342,2730,2244,1859,1814,1923,2558,2729,2408,1957,1739,2128,2596,2259,1722,1739,2063,2402,2352,1968,1552,1560,1782,1891,2151,2453,2361,2547,2060,2452,2442,1626,1707,2472,2276,1840,1742,2312,3406,2961,2100,2054,2055,2095,2087,2703,2742,2366,2630,2565,2283,2316,1680,2082,2508,2542,2218,2451,1956,1608,1807,1965,2285,2288,2113,1726,1629,1674,1768,2178,1917,2313,2490,1849,1571,1776,1820,1742,1660,1639,1837,2280,2369,2056,2070,1880,1757,1706,1779,2192,1943,1356,1432,1570,1983,1998,1804,1949,1834,1778,2021,1914,1788,1781,1601,1560,1610,1385,1889,3056,3072,2988,1930,2402,2744,2104,1852,2020,2054,1809,2148,2267,2264,2286,2085,1824,2547,2869,2676,2954,3243,3194,2744,2350,2297,2269,2373,2240,1817,1931,1916,1844,1759,1847,2159,2575,2413,1980,2197,2581,2375,2003,1933,2058,2666,3354,3618,3260,2670,2410,2154,2209,2853,2808,2710,2540,2555,2456,2424,2458,2534,2728,3140,2844,2237,2480,2532,2661,3162,2436,2933,4064,3912,2702,2690,2697,2309,1662,1416,1972,2186,2668,2676,2438,2562,2688,2190,2418,2404,2109,2058,1745,2117,2766,2482,1780,1786,1936,2164,1755,2764,3516,3360,3273,3329,3174,3312,3541,3925,4167,3618,2985,2576,2542,2394,2348,2454,2541,2605,3216,3899,4212,4311,3874,3805,4152,4049,4173,4216,4084,3472,3226,2685,2041,1938,1903,1898,1871,2011,1943,2285,2300,2070,1857,1629,1593,1669,1791,2269,2664,2504,2282,2032,2073,2039,2211,2621,2574,2510,2547,2673,2840,2757,2553,2366,2319,2076,2344,2468,2314,2530,2472,2374,2162,2236,2655,2852,2861,2489,2655,2751,2665,2918,3146,2850,2323,2008,1931,2214,2636,2757,2795,3161,3190,3005,2909,3328,3632,3448,3704,3232,2908,3256,2932,2593,2934,2597,2701,2863,3017,3178,3109,3174,3229,3479,3430,3575,3473,3059,3156,2791,3249,3672,3426,2825,1803,2264,2911,3174,3129,3355,3018,2186,1738,1766,2043,2126,1977,1842,1718,2103,2321,2922,3498,3105,2392,2590,3134,2923,2699,2999,3033,3522,3865,3870,3265,2350,2052,2047,1914,1765,1688,1682,1661,1544,1823,2709,3528,3420,2653,2213,2103,1904,1664,2427,3150,3180,3574,3696,3438,3661,3601,3454,3730,3934,3701,3497,3122,2669,2867,3466,3561,3586,3686,3593,3280,3050,3002,3056,3176,3309,3252,3253,3373,3011,2829,3420,3383,2728,2397,2270,2236,2220,1945,2138,2487,2396,2453,2266,1973,1970,1664,1808,2408,2562,2720,2192,1907,1997,1979,2067,2118,1878,1913,2066,2142,2248,2625,2776,3034,2344,1570,1330,1548,1882,1855,1710,1512,1608,2360,1968,1688,1552,1666,1632,1706,1659,1499,1788,2272,2195,1636,1125,1351,1794,2219,2103,2176,2338,1940,1556,1576,1553,1438,1430,1568,1867,1882,1535,1592,1623,1450,1198,1378,1689,1797,1769,1707,1802,1854,1699,2110,2518,2634,2562,2765,2518,2213,2004,1853,1811,1772,1726,1769,1918,2042,2038,1851,1947,1913,1830,1248,1496,2255,2208,2149,2030,2079,2718,2458,2665,2231,1946,1965,1803,1717,1413,1703,2018,1926,2007,2147,2154,2121,2024,2017,2000,2002,1920,1874,2348,2518,2096,2042,2308,2442,2584,2400,2098,1727,1566,1442,1350,1628,1766,1772,1946,1788,1964,2531,1891,2433,2047,1352,1357,1982,2074,1891,1785,1679,1732,2007,1891,1342,1412,1440,1858,1933,1592,1583,1887,1990,1635,1574,1678,1700,1713,1517,1629,1543,1507,1798,1643,1665,1735,1822,1809,1815,1870,1732,1600,1515,1545,1425,1526,1883,2173,1953,2286,2741,3313,2818,1826,1628,1570,1743,2050,2398,2010,1511,1831,2161,1968,1831,1811,2152,2018,1442,1529,1718,1742,1757,1909,2395,3124,2996,2269,2316,2086,2159,2489,1974,2014,2071,2224,2036,2227,1767,1840,1835,1816,1983,2107,1824,1772,2009,2105,2141,2303,2215,2350,2706,2747,2187,2199,2351,2631,2648,2752,2962,2789,3050,3020,3167,2605,2185,1549,1064,1206,1863,2558,2045,2293,2773,2215,2126,1729,2415,2468,2133,2799,2172,1478,1300,1941,2239,1757,2214,2676,2567,2128,1932,2335,2248,2030,1868,2201,2235,2344,2426,2769,2840,3154,3992,4476,3439,2494,2264,1830,1670,2764,2974,2437,1957,1815,2314,2244,1983,1440,2304,2743,2880,2823,3025,3173,3221,3428,3238,2107,1591,1806,2901,3239,2999,3302,3326,3204,3364,3348,3535,3507,3044,3445,3885,3278,2835,2821,2740,2398,1985,2091,2654,2324,1853,2188,2512,2931,3088,2753,2440,2095,2366,2657,2297,2004,2001,2676,3031,2420,1527,1764,2763,2642,1533,1333,1279,2078,2019,1808,2088,2038,1458,1554,2562,3200,2604,2259,1773,1932,2387,2607,2930,3234,3076,2449,2281,2302,2360,2309,1837,1881,2177,2835,3243,3079,2190,1911,2237,2270,2046,2097,2412,2668,3404,3836,3247,3718,3674,3436,2996,2770,2138,1784,1746,2096,2391,2403,2113,1813,1722,1598,1794,2324,2142,2061,2312,3010,2618,2224,2659,2647,2349,2342,3226,3380,2040,1996,1879,1856,1683,1581,1560,1639,1550,1570,1790,1986,2271,2082,1575,1880,2392,2328,2623,1790,1591,2105,2029,2056,2100,2016,1631,1374,1633,1696,1139,1404,1601,1598,1950,2335,2192,2214,2644,3095,3122,2398,1865,3020,3967,4140,4397,4588,4394,4220,4441,4428,4123,3759,3458,3008,2732,2520,2502,2655,3034,3065,2841,3031,3636,3784,3461,3806,3522,2282,2766,3594,3163,3078,3186,3119,2707,2282,2662,2547,2646,3014,2789,2285,1891,1572,1607,1838,1830,1849,2326,2424,2050,1861,1866,1781,1820,2193,2229,2032,1821,1675,1542,1816,1960,1883,2054,2193,2113,1870,2205,2398,2409,2193,2048,2218,2148,1853,2285,2315,1743,1743,1916,1989,1943,1701,1616,1707,1670,2354,2329,1825,1644,1655,1688,1746,1823,1970,2064,2022,2119,2164,1759,1658,1794,1848,1960,2138,2447,2204,2233,2434,2047,2001,1730,1865,2084,2231,2253,2163,2230,2054,1618,1916,2305,2249,2664,2596,2580,2940,2766,2634,2880,2812,2610,2548,2544,2428,2320,2095,2101,2604,2436,2220,2333,2105,2004,2085,2067,2490,2181,1956,2081,2710,2546,2328,2336,2430,2164,2402,2742,2331,1906,2213,1997,1930,2473,2980,2611,2833,2513,2597,2643,2707,2868,3071,3400,2916,2686,2474,2039,1721,1972,2302,2611,2784,2730,2714,2591,2190,1920,1771,2229,2535,2897,2174,1757,2250,2896,2911,2604,2923,2830,2282,2728,2908,2326,2354,2103,2293,2460,2448,2274,2570,3003,2830,2810,3277,3255,2733,2450,2306,2211,1947,1834,2220,2202,2137,1856,1270,1273,1922,2209,2138,2635,2520,2236,2036,1950,2598,3234,3326,2614,1912,1752,2121,2534,2732,2653,2653,2204,1920,1818,2120,2543,3610,4420,4305,3974,3896,3529,3470,4123,4063,2963,2574,2676,3006,3064,3142,2998,2742,2800,2969,3297,3306,3557,3714,3419,3620,3693,3676,3437,3526,3596,3235,2683,2786,2984,2968,2475,2338,2703,2706,1998,1964,2379,2964,3067,2563],[1981,2503,3022,3637,4168,4360,4233,3927,3628,2622,3125,3754,3084,2978,3948,3951,3176,2945,3103,3015,3163,3316,3550,4108,3467,2905,2765,2879,3200,3021,2933,3283,3333,3239,3406,3364,3441,3272,3222,3295,3327,3422,3391,3421,3449,3339,3315,3458,3371,3037,3353,3000,3435,3687,3544,3348,2990,2670,2744,3000,3348,3518,3625,3750,3485,3560,3835,3647,3388,3259,3498,3563,3370,3510,3473,3204,3211,3239,3477,3130,2311,2282,2248,2755,2490,1989,2194,2819,2678,1783,1653,1894,2214,2062,1881,1958,2007,2123,2205,2062,1742,1880,2337,2625,2570,2288,1492,1095,1113,1593,2812,3354,3608,3340,2636,2102,2267,2931,3122,2873,2460,2112,2220,2335,2062,1699,2322,2612,2580,2002,1344,1128,1453,2036,1992,2026,2234,2114,2430,2343,1982,1836,2266,2314,1957,2185,2510,2978,2700,2338,2424,3100,3374,3501,3330,2889,2765,2480,2126,1234,1132,1768,1974,2430,2688,2776,2547,2250,2031,2060,2020,2416,3056,2897,2556,2919,3284,3287,2940,2873,3009,3342,3395,3087,2719,2708,3022,2999,3071,3151,3047,2731,2752,2979,3091,3553,3577,3373,3200,3210,2540,1897,1668,1621,1982,2239,2027,1731,1725,1545,1821,2357,2761,2783,2698,2990,2829,2530,3265,3306,3116,3030,2914,3591,3847,3953,3786,3539,3162,2839,2836,2547,2602,3650,3763,3429,2885,2833,2995,3098,2981,3186,3085,3242,3499,3400,3553,3550,3390,3265,3222,3315,3432,3018,3221,2906,2923,3365,2917,2656,2797,2829,2605,3259,4112,4356,3831,3611,3155,3127,3773,4403,4860,4464,3580,3055,2847,2065,2357,2430,2503,2158,1986,2163,1985,2007,1972,1772,1749,1543,1620,2083,2040,2060,2003,1986,2217,2214,2189,2289,2478,2635,2409,1962,2167,2409,2003,1478,1313,1790,2800,3319,3161,3184,3364,3169,2875,2978,2621,2607,2342,1806,1987,2093,2323,2178,2024,1763,1692,1903,1762,1788,2012,2476,3216,3117,2911,2147,1963,2083,2070,2241,1991,1686,1637,1823,1980,2054,2295,2440,2486,2554,2365,2710,2710,2454,2292,2099,2359,2352,2321,2082,2303,2305,2209,2353,3107,2608,1634,2415,2778,2014,2001,2101,2447,2634,2414,2059,2687,2763,2697,2619,2370,2416,2350,3082,3189,2530,3312,3979,3544,3116,2360,1505,1639,2142,2354,2357,2208,1954,1734,1713,1638,1794,2068,2016,2142,2170,2179,2503,2110,1680,2208,2789,2897,2405,2513,2722,2167,1968,2094,2363,2140,1605,1762,2099,2055,1980,1939,2325,2085,2363,2905,2442,2120,2238,2301,2302,2217,2097,2226,2862,2963,3065,3444,3741,3723,3994,3961,3651,2674,2235,2577,2236,1682,1496,1687,1757,1591,1698,1453,1858,1864,1792,1799,1928,2020,1911,1814,1969,2101,1936,2016,2436,2327,2221,1918,2406,2694,2279,1993,1895,1878,2242,2077,2274,2943,2634,1956,2501,2945,2854,2720,2331,2020,1904,1998,2576,2700,2709,3096,3489,2468,1995,2098,2343,2834,3051,2260,1787,2129,2578,3038,3248,3293,2997,2393,2365,2185,2250,2033,1834,1974,2535,2973,2586,2069,1983,2061,1827,2239,2596,2685,2504,2079,2382,2150,1469,1587,2109,2230,1832,1628,1816,2221,2223,1907,1925,2064,2099,2037,2040,1968,2254,2701,2691,2413,2224,2230,1882,1842,1951,1835,2120,2234,2057,1751,1919,2406,2196,2122,1877,1671,1587,1759,1828,2019,2277,2152,1969,1755,1875,1693,1530,1547,1655,1669,1962,1920,1982,1914,1781,1786,1659,1721,2179,1911,1459,1414,2083,2330,1803,2091,2221,1936,2023,2334,2134,2010,1933,1626,1670,1818,1697,2017,2438,2877,2275,1888,2711,2867,2422,2248,2247,2196,1508,1798,2357,2203,1674,1750,2339,2664,2670,2733,2767,2972,2692,2228,2427,2709,2265,1906,1805,1863,2271,2532,2005,1613,1866,2008,2061,2273,2420,2209,2351,2601,2065,1860,2069,2066,2604,3485,3564,2967,2798,2966,2620,2963,3301,2715,2684,3050,2868,2515,2379,2451,2434,2905,3104,2508,2642,2394,2787,3210,2889,3351,3737,3676,3072,2494,2054,1765,1320,1635,2490,2768,2862,2631,2458,2443,2458,2590,2535,2090,1946,1810,2132,2792,2278,1696,2055,2536,2415,2004,1878,2921,3501,3297,3310,3328,3460,3587,3543,3563,3726,3208,2712,2613,2731,2524,2403,2363,2228,2327,2966,3676,3890,3992,3962,3962,4086,4006,3754,3565,3296,2890,2698,2370,2103,1977,1964,1955,2145,2011,1742,1943,1986,1760,1649,1730,1895,2056,2092,2089,2018,1771,1705,1941,2033,2049,2603,3043,3129,3284,3537,3642,3539,3364,3429,2529,2396,2303,2632,2302,2163,2553,2607,2385,2003,2049,2609,2486,2238,2447,3151,3051,2989,2946,2965,2362,1819,1712,1756,1812,2019,2579,3321,3486,2928,2833,2622,3211,3734,4014,4204,3806,3145,2779,2901,2805,2484,2931,3317,3395,3136,2887,3146,3326,3260,3306,3516,3753,3388,2663,3056,3222,3206,3452,2944,2039,1548,2432,3088,2979,3232,3360,2751,1920,1950,1855,1957,1813,1777,1689,1648,2092,2331,2219,2344,2536,2382,2692,2974,2997,3080,2996,3387,3823,3906,3369,2864,2543,1995,1729,1642,1668,1745,1630,1567,1658,2364,3437,3751,3472,2807,2322,1989,1677,1768,2808,3587,3563,3328,4108,4319,4363,3908,3586,4014,4038,3770,3918,3406,2978,3284,3758,3771,4069,3861,3372,2874,2287,2535,2873,2996,3355,3364,3431,3676,3243,2699,2727,3152,3205,2494,2315,2376,2259,1806,1897,2234,1936,1852,2018,1974,1842,1676,2215,2778,2633,2698,2355,2110,2425,2243,1941,2243,2025,1850,1850,2187,2147,2408,2725,2952,2454,1741,1433,1470,1547,1771,1862,1760,1828,2341,2126,1940,1754,1815,1816,1636,1580,1550,2104,2697,2300,1725,1517,1734,1808,2310,2261,2190,2207,1979,1978,1971,1822,1620,1418,1429,1715,1787,1784,1812,1709,1541,1317,1297,1498,1531,1652,2098,2147,2193,2160,2471,2623,2314,2109,2024,1974,1819,1573,1555,1700,1679,1758,2071,2286,2304,2148,1982,2089,2086,2036,1361,1400,2119,1971,1982,1846,1856,2075,2335,2306,1846,1753,1809,1836,1722,1818,1928,1820,2034,2248,2262,2166,2181,2081,2030,2020,2040,2000,2005,2232,2248,1831,1681,2210,2533,2407,2398,2117,1749,1701,1661,1615,1643,1766,1813,1919,1880,1874,2373,2408,2731,1996,1498,1581,2427,2207,1614,1637,1792,1928,2046,1891,1399,1534,1819,2027,1754,1692,1700,1622,1525,1311,1413,1637,1751,1678,1392,1531,1641,1592,1638,1557,1517,1506,1715,1592,1496,1794,1758,1787,1720,1627,1628,1611,1872,2201,2395,2134,2237,3020,2990,1888,1626,1685,1933,1832,1829,1887,2017,2338,1932,1497,1559,1576,1691,1531,1408,1916,2212,1921,2126,2170,2314,2689,2091,1779,2050,1957,2232,2007,1950,2448,2285,2348,2193,2287,2350,2146,2015,2165,2283,2303,2195,1924,1661,1810,1973,2298,2012,2055,2282,2102,2127,2676,2826,2997,2958,2817,2632,2586,2315,2320,2503,2663,2457,1372,1277,1402,1681,2347,2383,2755,2763,1954,1565,1557,2154,2225,2192,2763,2467,1692,1444,1828,2199,2316,2989,2637,2541,2088,2008,2498,2452,2197,1769,1452,2178,2687,2407,2210,2541,3605,4627,4920,4328,2621,1857,1927,2376,2788,2315,2689,2566,2092,2137,2142,2126,2434,3081,3135,2962,2566,2641,3604,3890,3231,2988,2829,2144,2209,3191,3461,2951,2915,3167,3270,3276,3451,3333,2920,2857,3465,3743,3231,2711,2692,2557,2404,2269,2436,3351,3229,2579,2708,2440,2902,3016,2487,2424,2230,2431,2352,2264,2122,1843,2238,2829,2647,2247,2593,3118,3043,2024,1902,2004,2129,2046,2193,2240,1844,1383,1678,2988,3761,3063,2124,1339,2491,3433,3310,3219,3571,3088,2189,2277,2026,1933,2036,1995,2092,2287,2686,3276,3519,2639,2091,2539,2722,2503,2413,2048,2571,3300,3008,2576,2919,3188,2664,1764,1376,1533,2192,2687,2548,2244,2247,2344,2167,2059,2358,2290,2235,2215,2246,2102,2379,2344,1757,1595,1701,2055,2234,2587,2636,2100,1825,1754,1777,1749,1613,1766,1977,1716,1790,1762,1815,2092,2076,2018,2192,2300,2248,2304,2128,2074,2184,2144,1919,1630,1732,1527,1759,1668,1308,1178,1430,1601,1769,1893,2242,2117,2070,2522,3009,2857,2496,1831,2950,3882,3967,4126,4400,4647,4456,4420,4397,4264,4038,3575,3230,2808,2712,2950,3400,3365,3332,3418,3672,3671,3363,2908,3614,3287,2561,3185,3684,3387,3242,2930,3100,3311,2942,2554,2380,2919,2720,2370,2597,2236,1838,1817,1731,1555,1538,1827,1893,1692,1684,1517,1632,1738,2276,2319,2004,1832,1759,1707,1875,1885,1933,1851,2185,2968,2504,2622,2358,2156,2343,2429,2259,1802,2068,2500,2243,1984,1931,2074,2366,2365,1954,1876,2148,2322,2534,2413,2019,1635,1731,1799,1571,1529,1915,2148,2182,2104,1851,1634,1760,1865,1816,2107,2208,2261,2254,2471,2792,2560,2299,2460,2140,1790,2461,2964,2576,2111,1990,1981,2334,2500,1875,2417,2520,2751,3135,2784,2630,2897,2548,2473,2442,2327,2316,2026,2129,2026,2465,2513,1989,1783,1827,2025,2372,2214,1985,2001,1863,1857,2235,2679,2669,2940,3007,2435,2314,2814,2868,2532,2481,2187,2078,2808,3001,2891,2935,2654,2499,2534,2650,2911,3318,3271,3117,2858,2580,1958,1838,2093,2454,2851,2900,2723,2886,2966,2757,2182,1935,1967,2164,2609,2454,2319,2407,2567,2662,2437,2384,2060,2151,2713,2293,2012,2075,2387,2979,2482,1869,2219,3024,3056,2938,3123,3664,3317,2686,2387,2459,2428,2090,2070,2056,1982,2118,2129,1714,1266,1456,2304,1953,2110,2889,3366,2710,2645,2767,2735,2680,2192,2027,1813,2348,2401,2407,2225,2329,1980,2500,3095,3094,3129,3695,4001,3781,3396,3105,2943,3317,4131,4364,3377,2851,2722,2717,2872,2931,2701,2741,2758,2808,2670,2352,3087,3671,3504,3581,3764,3859,3930,3905,3620,2890,2551,2670,2551,2621,2467,2549,2502,2259,1652,1921,2686,3134,3111,2624],[2295,2242,2688,3477,4078,4340,3807,3606,3022,2777,3974,4420,3374,2679,3124,3397,2998,2946,3156,2976,2952,3286,3442,3514,3138,2657,2656,3033,3161,3059,3076,3176,3143,3027,2937,3016,3263,3232,3260,3220,3286,3473,3557,3598,3610,3653,3666,3550,3626,3391,3542,3400,3638,3762,3758,3545,3062,2633,2734,3104,3643,3649,3702,3692,3645,3475,3843,3936,3914,4024,3676,3457,3608,3628,3718,3165,3145,3440,3625,3131,2106,1909,1966,2185,1980,1976,2250,2311,2276,1759,1802,1922,2307,2175,2131,2596,2578,2424,2720,2338,1832,2119,2354,2473,2337,1947,1876,1872,1706,1749,2334,3144,3657,3548,3053,2043,2104,2510,2586,2217,2343,2187,1891,1812,1727,1789,2428,3017,2724,2308,1838,1129,1394,2232,2432,1984,1906,2344,2381,2097,1910,2012,2485,2325,2012,1936,2210,2798,2762,2445,2442,2873,3378,3654,3408,2739,2343,2324,1703,1002,1390,1856,2496,2632,2264,2182,2005,1605,1676,2116,2150,2309,2733,2997,2659,2945,3257,3771,3007,3054,3442,3528,3116,2683,2383,2603,3156,3198,3286,3107,2824,2732,2928,2809,2996,3693,3676,3364,3296,3129,2624,2048,1500,1244,1618,2357,2138,1609,1732,1715,1672,2274,2731,3145,3608,3453,3130,2910,3039,2863,3254,3138,3282,3451,3748,3854,3754,3873,4042,3946,3649,3248,3160,3641,3677,3371,2976,2976,2777,2636,2765,2964,2964,3111,2874,2875,3178,3031,2907,3128,3286,3466,3220,2734,3078,3040,2763,2961,2737,2751,2846,2623,2631,2752,3413,3789,3650,3597,3549,3584,3698,4223,4763,3929,2625,2607,2633,2233,2390,2755,2762,2091,1934,2006,1992,2098,1828,1843,1656,1675,1821,2010,2131,2072,1786,1599,2136,2687,2656,2704,2895,3072,2698,2336,2430,2641,2341,2126,2263,2854,3219,3247,3234,3472,3499,3281,3288,3564,3427,2617,2156,2157,1932,2026,2208,2116,2158,1918,1730,2029,1932,1781,1816,2020,1870,1675,1588,1556,1874,2042,2195,2199,1955,2021,1823,1937,2025,1759,1638,1615,1798,2211,2869,3462,3274,2657,2436,1989,2094,2157,2160,2943,3362,3233,3075,2632,2869,2619,1795,1973,1863,1904,2349,2398,2526,2786,2249,1832,2187,2320,2527,2643,2574,2706,2497,3391,3112,2746,3482,3741,3066,2780,2317,1447,1339,1829,2071,2077,1968,1808,1731,1618,1643,2195,2533,2500,2530,2350,2776,2921,2210,2379,2569,2288,2377,2139,2329,2459,2082,1948,1746,1906,1940,1663,2077,2170,2068,1877,1592,1299,1778,2365,2404,2119,2180,2176,2042,2064,2168,2199,2302,2736,2880,3012,3115,3585,3762,3881,3903,3869,3025,2462,2499,1830,1608,1670,2010,1747,1758,1794,1640,2014,2204,2304,2272,2140,1960,1940,2059,2121,2446,2540,2122,2087,2497,2587,2356,2649,2666,2337,1964,1753,1880,2720,3010,3451,3256,2683,2521,3030,2951,2908,3172,2784,2276,2094,2365,2695,3132,3195,3329,3451,3284,2811,2309,2282,2416,2281,1870,1787,1940,2328,3118,3430,3609,3210,2146,1913,1883,1770,1654,1708,1804,2286,2358,2562,2689,2729,2441,2382,2687,2470,2486,2265,2230,2220,1677,1457,1514,1564,1653,1941,1902,1935,1851,1848,1728,1603,1569,1826,1893,1766,2042,2354,2530,2485,2339,2183,2147,1582,1791,2088,1692,1867,2242,2104,1630,1666,1960,1976,2272,2232,1792,1816,1896,1687,1937,1929,2038,1982,1749,1664,1433,1483,1553,1681,1826,1783,1813,1681,1386,1453,1417,1535,1384,1454,1606,1468,1665,2346,2157,1864,2120,1995,1883,2101,2028,1782,2290,2202,1434,1278,1568,1634,1813,2035,2253,1970,2151,2536,2188,2271,2385,2276,2177,1752,1924,2416,2488,2466,2348,2902,2878,2149,2009,2206,2709,2391,2500,2508,2954,2755,2105,1915,2149,2165,2116,2042,2071,2053,1792,1748,2106,2534,2366,2313,2383,2196,2076,2085,2118,2203,2897,3164,2291,2555,3476,2910,2567,2831,1826,2003,2745,2478,2308,2468,2454,2380,3300,2919,2031,2122,2654,3024,3038,3334,3640,3631,3318,2518,1808,1510,1593,1495,2146,2900,3426,2996,2590,2500,2191,1898,2153,2272,2105,1863,2478,2820,2503,1597,1838,2009,2470,2497,2030,1940,2514,3134,3299,3154,3175,3748,3635,3417,3194,3219,2876,2437,2448,2474,2438,2518,2419,2295,2411,2754,3471,3646,3574,3389,3132,2985,2812,2524,2406,2396,2496,2536,2485,2707,2818,2730,2369,2561,2024,1823,2210,2491,2344,2015,1889,2160,1980,1874,2038,1808,1672,1712,2012,2067,2224,2754,3146,3150,3250,3676,3694,3168,2485,2184,2053,2474,2763,2622,2114,1953,2135,2386,2532,2424,2590,2291,2278,2565,2330,2975,3241,2960,2768,2284,1726,1646,1624,1621,1770,2019,2128,2742,3064,2855,3183,3296,3496,3704,3758,3648,3560,3284,3075,2533,2620,2906,3317,3538,3686,2952,2608,3133,3387,3291,3360,3474,3517,3464,2897,2789,3077,2917,3227,2787,2091,2089,2752,3365,3796,3464,2632,2166,1918,1964,1738,1855,1650,1445,1496,1758,1895,2098,2182,2101,2027,2076,2518,2264,2300,2868,3430,3741,3741,3430,2767,2491,2052,1603,1450,1604,1654,1638,1607,1569,1573,2454,3355,3678,3700,3326,2498,1976,1702,1772,2953,3708,3574,3019,3860,4444,4364,3558,3270,3817,3510,2769,3818,3886,3882,4219,4143,4018,4160,3835,3072,2713,2718,3030,3431,3532,3626,3914,3984,3942,3492,3399,2784,2695,2962,2683,2442,2504,2589,2261,2172,2520,2037,1768,1727,1749,1638,2103,3024,3478,3007,2564,2370,2130,2686,2669,2149,2136,2257,1916,1842,2357,2218,1924,2307,2690,2348,1791,1528,1459,1591,2360,2133,1889,1894,1906,1809,1873,1958,2020,1873,1692,1893,1772,2102,2800,2242,1565,1296,1221,1636,2104,2039,2156,2260,2051,1916,1729,1768,1700,1466,1366,1602,2263,2354,1936,1675,1724,1792,1674,1852,2051,2180,2259,2142,2015,1917,1921,1870,1810,1654,1650,1854,1721,1576,1873,2119,1923,1826,1716,1483,1343,1273,1609,1916,2198,2301,1635,1266,2136,1968,1701,1619,1606,1654,2026,1946,1764,1826,1908,2036,2265,2152,2002,2355,2584,2484,2275,2176,2176,2132,2115,2048,2064,2193,2040,2069,2366,2039,2002,2366,2423,2446,2537,2084,1952,2126,2369,2210,1797,1843,1877,2174,1900,1769,1771,1721,1720,1742,1824,2234,2258,1688,1396,1296,1456,1583,1881,1897,1792,2061,2478,2144,1910,1853,1499,1626,1842,1581,1279,1395,1584,1498,1421,1440,1437,1420,1505,1846,1814,1467,1543,1412,1435,1577,1461,1767,1938,1890,1591,1553,1395,1516,1945,2049,1730,2226,2166,1536,1500,1887,2027,1793,1931,2183,1923,1652,1644,1358,1451,1507,1439,1505,1632,1976,1837,1763,2031,2178,2437,2671,2019,1837,1973,2342,1951,1316,1855,2336,2330,2330,2075,2053,2263,2071,1934,2175,2294,2480,2199,1861,1736,1811,1924,1959,2199,2532,2272,1810,2426,3432,4116,3779,2384,1968,1934,1852,2223,2291,1880,2214,2082,1568,1926,1781,2075,2763,2740,2298,2078,1998,2056,1760,1856,1754,1990,2958,2808,1953,1575,1822,2552,2805,2382,1929,2397,2226,2457,2675,2159,2255,2130,1792,2532,3037,2561,2489,3785,4836,5004,4740,3959,2362,1897,2732,2908,2885,2918,3194,2945,3107,2965,2339,2380,2700,2917,3222,3250,2828,2800,3430,3871,3152,2652,2945,3165,3183,3116,2820,3042,3249,3080,2975,2882,3016,2499,2057,2303,2949,3505,3197,2648,2641,2648,2555,2685,2823,3104,2446,2397,2797,2466,3175,2610,2436,2674,3212,3077,2413,2964,3098,2483,2636,3129,2972,2586,2756,2642,2370,2242,2315,2630,2556,2187,1995,2061,2092,1911,1826,2899,3630,3311,1831,1747,3040,3607,3232,2877,3028,2753,2302,2470,2206,2225,2196,2447,2364,2421,2703,2807,3176,2906,2485,2769,2633,1958,1869,1327,1866,2899,2964,2325,2409,2541,2411,1827,1130,1460,2334,2807,2732,2336,2728,2404,1864,1929,2139,1923,1954,2078,2044,1970,1861,1701,1492,1892,2088,2280,2163,1958,1941,1823,1798,1724,1626,1816,1794,2070,2116,2174,2267,1620,1993,2057,1923,1927,2170,2134,1932,2104,2088,2199,2187,1893,1680,1821,1944,1855,2002,1910,1381,1310,1496,1647,1626,1929,2484,2525,2472,2534,2664,2302,2244,1970,2642,3884,4280,4292,4456,4859,4769,4620,4252,4243,4263,3903,3388,2927,3025,3474,3388,3054,3333,3275,2463,2677,3305,3460,3096,2542,2868,3653,3196,2684,3061,2544,2652,3710,3986,2895,2338,2081,2148,2360,2222,2172,2142,1991,1637,1540,1698,1944,1871,1514,1633,1584,1617,1664,1883,1982,1530,1297,1830,1887,2021,1959,1774,1504,1958,2668,2553,2330,2024,1734,1948,2323,2620,2502,2968,2648,1922,1913,2139,2797,3110,2737,2198,2476,2986,3055,2626,2463,2340,2227,2014,1815,1643,1766,2021,2063,2091,1881,1631,1703,1919,1819,1936,2643,2674,2499,2014,1735,1977,2218,2288,2264,2123,2112,2833,3120,2658,2106,1962,1578,1556,1655,1277,1449,1662,1923,2410,2588,1862,2227,2388,2679,2408,2029,1855,2059,2520,2239,1942,2244,2031,1695,1707,1914,2319,2157,1879,1915,1843,1758,1964,2327,2463,2319,2387,2737,2757,2419,2626,3041,2791,2734,2852,3060,2814,2938,3135,2740,2667,2690,3082,3352,3282,3195,2502,2090,2230,2127,2306,2548,2583,2712,2739,2697,3164,3222,2976,2805,2934,2769,2416,2225,2492,2648,2404,2496,2803,2459,2404,2221,3108,2639,2387,2218,2115,2802,2894,2249,2004,2402,2520,2863,2922,3237,3269,2705,2452,2700,2850,2343,1968,2121,2167,1889,1969,2160,1903,1222,1576,2311,1822,1923,2868,3216,3151,3374,3213,3091,2774,2878,2499,1878,2054,2288,2004,2235,2676,2149,2935,3885,3500,3237,4123,4484,3764,3034,2786,2988,3204,4121,4385,3773,3622,3372,3140,3186,3031,2873,2756,2608,2657,2405,2148,2919,3658,3529,3450,3962,4078,4068,4023,3592,2922,2922,2941,2919,2393,2046,2243,2446,2200,1842,2102,2600,2769,3298,3432],[2778,2344,2524,3185,3959,4025,3596,3167,2850,3588,4214,4393,3387,2337,2618,3406,3507,2917,3285,2817,2824,3033,3199,3227,3041,2749,2752,2968,2973,2935,3066,2996,2939,2809,2969,3067,3172,3303,3295,3184,3259,3493,3655,3597,3427,3378,3620,3666,3667,3780,3686,3653,3491,3375,3495,3687,3110,2617,3032,2890,3041,3493,3879,3896,3617,3029,3550,3769,3693,3906,3671,3717,3849,3877,3672,2841,2926,3204,3044,3252,2950,2579,2480,2491,2328,1856,1769,1664,1657,1640,1953,2028,2407,2304,2095,2546,2595,2424,2842,2305,2253,2230,2367,2785,2713,1721,1592,1837,1773,1828,2003,2766,3748,3925,3238,2039,2218,2290,2484,2509,2748,2398,1918,1854,1887,1673,1762,2623,2597,2389,2187,1665,1969,2676,2723,2087,2625,2872,2282,1871,1932,2420,2610,2346,2152,1841,2169,2337,2147,2237,2309,2336,2601,3090,3152,2336,2271,2598,2514,1809,1737,1755,2073,2030,1925,1851,1793,2000,2522,2601,2139,2362,2576,2512,2392,2784,2884,2843,2210,2363,3083,2736,2133,2136,2308,2553,3106,3270,3317,2933,2842,2651,3066,3090,3178,3611,3599,3184,3197,3132,2648,2411,1964,1745,1587,2009,2096,1958,2082,2099,2251,2752,2765,2821,3276,3357,2874,3099,2934,2706,3053,3146,3184,3087,3598,3921,3394,3206,3360,3403,3343,3345,3279,3807,3586,3238,3053,2513,2066,2075,2633,3200,2727,2828,2511,2919,2887,2791,2947,3000,2943,3085,2854,2262,2381,2224,2273,2915,2944,2985,3594,3664,3031,2761,2856,2808,2963,3349,3631,3585,3899,4472,4832,4237,3276,3276,3012,2402,2409,2495,2339,1980,1720,1733,1484,1332,1559,1824,1838,1852,1711,1742,1867,1703,1266,1031,1367,2152,3201,3290,2925,2759,2341,2687,2993,3052,2315,2144,3205,3555,3176,3423,3734,3582,3473,3438,3485,3638,3604,2978,3187,3243,2633,2564,2597,2271,2117,2335,2114,1758,1698,1638,1744,1887,1662,1384,1331,1439,1676,1920,1853,1737,1940,1996,1612,2206,2129,1720,1578,1295,1510,1767,2319,3304,3252,2518,2173,1803,2003,2248,2459,3399,4107,4346,3323,2258,2105,2062,1881,2051,1962,1600,2221,2808,2382,2087,2199,2250,2221,2376,2751,2834,2716,2864,2941,3796,4066,3583,3135,2802,2658,2757,2586,1581,1248,1637,2104,2151,1843,1685,1703,1924,1992,2482,2874,2980,2851,2258,2449,2155,1952,2267,2241,1558,2212,2677,2741,2687,2426,1942,1476,1923,2398,2128,2008,1952,2589,2160,1732,1262,1619,2226,2700,2836,2553,2361,2125,1985,2023,2312,2433,2404,2460,2513,2629,3230,3698,3679,3499,2979,2523,2539,2128,1698,1602,2124,1971,1512,1427,1568,2134,2126,1834,2220,2361,1952,1477,1893,1979,1836,2235,2333,2049,2130,2531,2447,2348,2178,2041,2245,1879,1627,2024,2201,2733,2839,2812,2617,2747,2737,2214,2104,2429,2091,2019,2281,2473,2560,2718,2808,3039,3054,2992,2281,1726,1973,2032,1873,1755,1694,1664,2730,3719,3919,3480,2695,2077,1908,1919,1869,1651,1892,1876,2134,2319,2623,3089,3201,3017,2786,2469,2418,2377,2319,2379,2089,2217,1846,1564,1365,1915,2481,2185,1893,1968,1917,1703,1533,1609,2001,1860,1707,1826,2209,2226,2344,2602,2239,1875,1653,1996,2099,1708,2010,2040,1803,1491,1558,1476,1392,2112,2140,1597,1560,1669,1814,1844,1781,2088,2043,1519,1663,1567,1620,1606,1807,1926,1839,1814,1347,1282,1597,1577,1708,1359,1273,1877,2036,2222,2182,1665,1992,2237,1972,1778,1828,1866,1650,1844,1938,1422,1271,1454,1663,2061,2144,1916,1946,2056,2342,2137,2326,2101,1964,2119,2066,1989,2130,2430,2524,2336,2643,2957,2252,2190,2602,2613,2108,2257,2091,2262,2154,1736,2035,2428,1927,1388,1777,1925,1953,2028,1910,2175,2054,2218,2225,2169,2171,1742,2169,3044,2767,2619,2244,1641,2116,2553,2673,2826,2669,2078,2288,2649,2702,2667,2586,2842,2953,2744,2194,1876,2348,3316,2852,2212,2695,2802,2412,1967,1730,2047,1863,1850,1652,2107,3029,3208,2334,2344,2734,2260,2031,1985,2020,1828,2518,2906,2377,2313,2222,2132,1695,1534,1891,2377,2200,2304,2695,3343,3402,3278,3605,3520,3204,3019,3017,2735,2632,2811,2533,2536,2545,2414,2338,2590,2419,2651,2477,2108,2027,2216,2245,2122,2175,2486,2631,3105,2847,2455,2812,3099,2968,2565,2365,2351,2402,2636,2534,2068,1785,1919,2153,1889,1877,2010,2095,1960,1865,2044,2011,2226,2730,2466,2242,2791,3032,2667,2172,1700,2086,2675,2842,2807,2510,2294,2587,2430,2461,2684,2677,2697,2387,2422,2508,2365,3206,3523,2748,2298,1806,1565,1546,1584,1709,1743,2296,2181,2126,2486,2818,3296,3259,3104,3498,3158,3196,3685,3260,3034,2570,2619,2500,2798,3503,3695,3144,3101,3189,3283,3197,3283,3414,3470,3562,3297,2569,2735,3002,3238,3097,2799,2944,2692,2604,3291,2838,2100,1775,1814,1903,1953,1847,1561,1316,1396,1689,1829,1848,1937,2241,2160,2217,2354,2291,2225,2394,2986,3649,3430,2564,2278,2084,1713,1652,1645,1717,1735,1596,1584,1618,1608,1952,2674,3339,3639,3462,2509,2104,1798,2039,3206,3663,3584,3473,3893,4277,3892,3327,3139,3369,3402,3138,3863,3918,3964,4203,4420,4183,3913,3627,3291,3440,3581,3685,3825,3680,3385,3542,3586,3823,3711,3963,3655,3087,2849,2929,2859,2873,2803,2589,2666,2780,2492,2283,2050,1793,1887,2546,3318,3574,2982,2497,1930,1548,1725,2392,2689,2253,2199,1860,1719,1803,1804,2106,2723,3103,2873,2006,1669,1592,1718,1823,1712,1893,2067,2094,1930,1767,1849,1851,1668,1686,1839,2003,1935,2662,2259,1536,1300,1212,1505,1945,2215,2180,2090,1967,1631,1508,1580,1748,1694,1488,1821,2541,2508,2090,1966,1976,2245,2229,2063,1824,1803,1816,1818,1794,1843,1758,1821,1906,1780,1871,1697,1488,1865,2448,2023,1447,1367,1086,940,1019,979,1168,1601,1937,2129,1877,1010,1485,1960,1698,1699,1817,2007,2181,2007,1853,1887,2080,2088,2368,2408,2734,2858,2874,2943,2534,2209,2201,2213,2177,2014,2149,2198,1924,2149,2483,2342,2071,2044,2374,2585,2612,2808,2629,2273,2126,1736,1747,2229,2314,2082,2054,1888,1707,1758,1781,1510,1857,2289,1950,1608,1257,1092,1172,1476,1725,1769,1809,1864,1929,2068,2119,1871,1514,1388,1530,1506,1424,1460,1453,1345,1403,1466,1421,1349,1495,2013,1981,1634,1640,1527,1533,1440,1404,1621,1797,1896,1995,1911,1679,1700,1858,1904,1815,1780,1742,1973,1876,1864,2145,1964,1866,1942,1709,2203,2193,1516,1494,1548,1456,1496,1793,1728,1976,2259,2214,2174,1960,2359,2063,1946,2210,2816,2006,1588,1857,2292,2403,2202,1968,2081,1933,1858,2090,2425,2614,2157,1907,1629,1704,1807,1878,2169,2429,2625,2415,2061,2843,3536,3683,3319,2083,1640,1609,1568,2065,2105,1989,2171,2026,1817,1908,1709,2077,2171,2590,1997,1765,1784,1294,1490,2084,2146,2817,3016,2247,1894,1572,2231,2946,2720,2143,1992,2338,2205,2190,2710,2604,2900,2850,2811,2481,3186,2729,3360,4273,4356,4164,3536,2740,1514,1802,2508,2025,2061,2958,2703,2584,2959,2778,2450,2529,2765,3031,3421,3636,3360,3121,3272,3664,3488,3100,2985,3112,3055,2655,2097,2610,3307,2830,2028,1729,2083,2061,1967,1984,2342,3134,3296,2883,2868,2862,2805,3252,3395,3407,2116,2220,2722,2730,2918,2731,2692,2911,3517,3046,2377,3264,3216,2779,2776,3363,2859,2196,2453,1996,1967,2242,2180,2592,2924,2535,2172,2130,2412,2432,2397,2869,3061,2490,1734,2275,2956,2867,2547,2802,2645,2454,2518,3134,2988,2045,1730,1918,2180,2434,2474,2465,2308,2069,2386,2766,2436,2265,2503,1390,1497,2161,2104,2038,1794,1311,1498,1768,1780,1838,2396,2546,2838,2849,3095,2301,1868,2096,1892,1724,2069,2275,2204,2382,2362,1842,1547,2040,2037,1939,1929,1797,1598,1781,2281,2239,1852,1719,1746,1764,1790,2392,2680,2297,2008,2026,2063,1875,1972,2055,2027,1997,2214,2303,2172,1830,1868,2081,2436,2286,1948,1782,1816,1785,1729,1794,1623,2175,2518,2644,2679,2755,2497,1931,1946,1898,2841,4167,4488,4543,4621,4550,4394,4255,4237,4279,4284,4388,3982,3220,2869,2983,3150,3272,2887,3078,2979,3615,3964,3218,2603,2882,3368,3860,3647,3465,3095,2367,2209,3177,3300,2776,2386,2104,2389,2230,1683,1905,2097,2186,1700,1767,2820,2666,2157,1908,1714,1620,1655,1710,1750,1810,1530,1321,1827,1861,1830,1686,2023,1874,1733,1794,1758,1971,1996,1526,1861,2493,2611,2576,2822,3020,2432,2196,2586,3233,3515,3102,2693,2787,3144,3201,2524,2461,2338,2239,2251,2001,2050,2252,2047,1792,2115,2006,1914,1816,1736,1716,2026,2462,2388,2101,2153,1824,1347,1826,2696,2662,2874,2623,3030,3552,3069,2387,2388,1781,1415,2186,2318,1848,1649,1542,1919,2219,2208,2543,2841,3306,2934,2155,1673,1907,1966,1732,1902,2094,1953,1957,1732,1755,2102,2128,2140,2102,2123,2540,2924,2786,2875,2399,2387,2858,3162,2839,2796,3494,3576,2925,2727,2827,2373,2774,2797,2124,2380,2621,2945,3164,3081,3299,2971,2570,2464,2257,2242,2530,2442,2474,2617,3205,3574,3038,2829,3066,3186,3494,3139,2533,2407,2519,2261,2176,2445,2400,2250,2187,3012,2813,2806,2730,2520,2639,2914,2707,2469,2285,1856,2757,3419,3354,3054,2819,2891,3230,3164,2730,2145,1998,2196,1833,1805,2182,1765,1020,1464,1940,1854,2113,2285,2310,2891,3062,2720,2979,2894,3248,2652,2213,2447,2407,2045,2706,2813,2561,3030,3222,3441,3368,4371,4377,3128,2198,2114,2810,3053,3559,3995,3662,3282,3283,3718,3654,3308,3188,3003,3094,2741,2488,2545,2490,2984,3433,3338,3828,3588,3588,3732,3842,3554,3072,2766,2875,2035,1711,1937,1764,2002,2312,2132,1977,1910,2658,3420],[2923,2591,2746,3373,3848,4017,3577,2905,3694,4164,4026,4091,3231,2791,2810,3217,3666,2674,2946,2643,2840,3029,3110,3234,3031,2829,2769,2938,3009,3093,3205,2895,2793,2776,3212,3497,3356,3321,3310,3093,3250,3392,3603,3467,2837,2721,3378,3607,3619,3561,3497,3521,3404,3166,3363,3421,2670,2779,2953,2499,2793,3471,3733,3859,3315,2836,3352,3660,3726,3876,3838,3838,3725,3726,3714,2929,2608,2600,2653,3038,3124,3052,2978,3205,3326,2259,1894,1879,1847,1933,2120,2306,2721,2755,2734,3305,2774,1973,2420,2584,2810,2312,2710,3217,3274,2248,1688,1773,1691,1771,2090,2482,3507,3685,3238,2843,2552,2013,2237,2954,3039,2412,2069,1901,1824,1650,1259,2316,2571,2392,2316,2489,2231,2328,2666,2833,3045,2766,2305,2100,2058,2128,2250,2142,2037,2113,2279,2473,2227,2014,2326,2364,1897,2235,2562,2751,3068,2974,2878,1960,1774,1639,1708,1763,1874,2183,2447,2547,2426,2071,1816,2610,2843,2666,2287,2459,3216,2968,1995,2473,3243,2264,2170,2761,3479,3582,3340,3330,3234,3041,3090,3086,3290,3344,3455,3417,3286,2929,3125,3197,2931,2912,2706,2127,2185,2417,2313,2473,2619,2679,2470,2654,2754,2574,2562,2722,2559,2809,2885,2755,2779,2945,2950,2946,3392,3659,3597,3624,3514,3442,3040,2962,3264,3735,3316,2994,2553,1787,1602,1775,2490,3213,3186,3053,3046,3276,2902,2830,2907,2887,2770,3012,3303,2993,2916,2938,3240,3275,3162,3198,3565,3726,3261,2909,2852,2654,2778,2784,3037,3162,3930,4320,4584,3916,3119,3133,2513,2285,2505,2223,2425,2393,2160,2057,1718,1698,1740,2007,2049,1462,1345,1544,1865,2116,1754,1498,1382,2117,3247,3296,2395,2161,2371,2612,2808,2814,3072,3762,3761,3481,3306,3571,3819,3882,4036,4117,3718,3691,3752,3640,3748,3544,3044,2658,3038,3230,2924,2317,1949,1681,1779,1906,1847,1968,1887,1646,1812,2074,2533,2452,2270,1860,1832,1716,2036,2806,2293,1733,1405,987,1387,1774,2763,2544,2242,2014,1649,1661,2210,2363,2985,3393,3271,3307,2213,1836,2160,2332,2044,2059,2358,1788,2030,2460,2036,2152,2752,2792,2497,2644,2546,2683,2903,2877,2974,3917,4232,3560,2633,2155,2368,2709,2642,1931,1750,1806,2086,2180,1976,1922,1990,2016,2081,2512,2774,2731,2476,2085,2508,2558,2566,2578,2530,1869,2184,2579,2395,2298,2097,1919,1882,2259,2287,2267,2197,2478,3064,2966,2527,1929,1912,2763,3625,3820,3607,3353,2863,2511,2203,2147,2416,2776,2613,2542,2956,3471,3577,3540,3082,2598,2486,2309,1793,1487,2047,2260,1645,1166,1172,1932,2687,2383,2137,2524,2305,2168,1566,1428,1553,1920,2072,2127,2302,2167,1881,2292,2788,2051,1874,1918,1708,1663,1893,2048,2497,2758,2632,2689,2675,2244,2090,1775,1683,1654,1831,1719,2084,2526,2444,2305,2490,2288,1694,1798,2031,2351,2113,1730,1617,1678,1830,2612,3240,3062,2821,2765,2370,1981,1935,1964,1987,2139,1869,1905,2433,2880,3194,3224,3255,2965,2612,2402,2485,2703,2867,2520,3022,2249,1846,1978,2151,2215,2137,2056,1858,1741,1756,1680,1628,1676,1782,1628,1382,1712,1852,2497,2923,2481,2258,2206,2099,1662,1499,1798,1712,1548,1554,1504,1432,1556,1750,1711,1608,1466,1561,1808,1693,1788,1732,1686,1570,1570,1419,1511,1679,1858,1831,1907,1722,1209,1665,1498,1505,1797,1984,2316,2467,2408,2524,1977,1672,2115,1934,1814,1990,2120,1789,1547,1809,2072,1916,1572,1472,1706,2133,1980,1967,1804,1808,1960,1900,2547,2296,2157,2358,2154,1937,2089,2234,1928,1960,2104,2668,2519,2128,2059,2214,1936,1954,1973,1448,1092,1369,2024,2471,1666,1350,1628,1948,1770,2212,2295,2072,1749,1833,1981,2370,2444,1998,2468,3244,3184,2670,2436,2115,1993,1830,1964,2630,3215,3061,2422,2467,2797,2771,2358,2443,2480,2470,2510,2255,2712,2886,2019,2177,2875,2110,1780,1711,1901,2215,2049,2366,2078,1958,2705,2571,2098,2340,2597,2206,1821,1769,2082,1939,2769,2894,2894,3068,2831,2338,2008,1537,1757,2243,1979,2069,2383,3211,3492,3346,3301,3338,3406,3392,3522,3431,3125,2666,2304,2206,2197,2156,2128,2233,2187,2229,1990,1756,2155,2531,2273,2059,2592,2964,2836,2544,2049,1726,1874,2015,1953,1864,2209,2709,2708,2664,2276,1985,1841,2139,2241,1986,1902,1920,2218,2410,2352,2323,2102,1997,2401,2037,2146,2687,2097,1960,1979,2049,2611,2663,2448,2799,3149,3107,3476,2817,2471,2397,2224,2476,2809,2688,2415,2866,3649,3260,2419,1858,1554,1497,1749,1695,1762,1788,2100,2151,2141,2172,2654,3282,2880,2802,3248,2757,3310,3662,2933,2533,2657,2722,2739,2657,3050,3487,3228,2993,3146,3222,2978,2986,3136,3310,3442,3372,3183,3082,3081,3210,3317,3098,3010,2429,2531,2883,2564,2196,1802,1780,2114,2232,1710,1396,1282,1423,1597,1821,2189,1866,1884,2123,2319,2340,2207,2326,2311,2193,2458,2286,1774,1631,1520,1527,1605,1678,1737,1542,1325,1656,1820,1573,1688,2084,2507,3306,3309,2510,2274,2008,2321,3094,3030,3273,3799,3661,3885,4119,3870,3528,3427,4059,4420,4492,4092,3979,4651,4975,4351,3724,3654,4052,3986,3630,3663,3964,3720,3476,3441,3343,2718,2787,3803,3993,3569,3196,2946,2721,3006,3306,2878,2876,2823,3008,3174,2530,1851,2016,2448,2748,3055,2603,2120,1630,1591,1602,1772,2094,2049,2037,2137,1843,2053,2832,3074,2743,2393,2271,2137,2195,2286,2455,2184,1705,1704,1924,1717,1310,1481,1970,1675,1676,2026,2048,2374,2271,2491,2413,1781,1526,1422,1478,1777,2072,2145,2060,1848,1944,2125,2126,2160,2000,1732,1824,2009,1965,1979,1907,1751,1777,1729,1305,1088,1406,1897,1947,1668,1788,1765,2010,1818,1575,1527,1406,1525,2192,2609,1826,1063,1071,1062,1122,1248,1154,1344,1631,1714,1548,1609,1256,1096,987,1003,1338,1553,1977,2389,2545,2074,1764,1924,1772,2354,2842,3040,2966,2895,3022,2875,2460,2269,2236,2195,1960,2059,1965,2387,2787,2630,2437,2200,2062,2259,2524,3086,3531,3316,2618,1710,1648,1698,1899,2195,2483,2273,1776,1668,1712,1591,1598,1952,1838,1748,1872,1339,1092,1426,1852,2124,1996,1467,1388,1640,2045,1872,1789,1745,1556,1516,1328,1302,1386,1593,1659,1460,1375,1434,1576,1946,2681,2490,2419,2100,1825,1635,1492,1613,1637,1755,1870,2039,2006,1951,1782,1826,1655,1927,2047,2287,2165,1715,1686,1892,1886,1920,1575,1504,2187,1858,1553,1486,1461,1553,1812,1999,1899,1976,1757,1644,1607,1855,2276,2329,1968,2060,2534,1979,1521,1870,2220,2519,2304,2020,2257,1839,2451,2916,2697,2763,2369,2172,1926,2093,2087,1758,1895,2120,2058,1761,2101,3552,3582,3056,2652,1885,1632,1553,1715,2024,2140,2126,1887,2460,2923,2536,2084,1737,1971,2369,2214,2737,2633,1404,1776,2272,2065,2323,2564,2263,2129,2484,2818,2635,2722,2952,2452,2368,2032,1881,2409,2554,3085,3034,3189,2421,2120,2290,3395,4296,4252,3247,2447,2147,1838,2438,2234,1853,2415,2810,2622,2801,2875,2784,2646,2437,2977,3496,3306,3226,3344,3450,3472,3530,3662,3565,3608,3067,2170,1995,1864,2548,3124,2654,1616,1537,2010,2137,2072,2316,2840,3331,3542,3054,2742,3021,3060,3228,3222,3538,2558,2489,2476,2569,3056,2894,2499,2896,2802,2487,2086,3116,2896,2890,2963,3086,2501,2479,2857,2400,2232,2396,2160,2336,2730,2159,1946,2358,2584,2641,2413,2402,2281,1911,1926,1911,2690,3006,2613,3076,3244,2893,2191,2398,3006,2415,1803,1815,1912,2039,1853,1938,1881,1809,2542,2698,2330,2634,2789,1996,1573,1652,2098,2446,1766,1351,1364,1589,2264,2127,2250,2272,2889,3372,3500,2586,2004,2018,1698,1981,2676,2354,2164,2236,2352,1841,1633,1648,1559,1619,1857,2019,2052,2186,2721,2238,2116,1986,2199,2043,2144,2620,2959,2641,2071,1907,1636,1654,1924,2002,2120,2092,2236,2185,1918,1542,1680,2354,2581,2092,1729,1539,1573,1689,2116,2381,2084,2346,2459,2561,2689,3200,3188,2596,2040,1996,3620,4531,4551,4624,4520,4311,4299,3983,3683,3938,4300,4332,4120,3310,3109,3359,3382,2684,2600,3065,3165,3131,3062,2757,2756,2767,2971,3586,3876,3817,3627,3225,3040,3575,3562,2624,2097,2180,2524,2298,1698,1547,2057,2348,2118,1965,2436,2423,2084,1805,1722,1555,1588,1624,1626,1771,2057,1903,2120,2320,2050,2215,2355,1870,1722,1638,1531,1631,1620,1505,1849,2005,1926,1641,1919,2920,2950,2664,2998,3120,3107,2887,2987,3212,2940,2473,2102,2342,1721,1416,1899,2061,1917,1793,1987,1994,2376,2306,2064,2006,2085,1915,1847,1901,1728,1815,2188,1983,1614,1806,2256,3010,3240,2413,2757,3453,3050,2275,2187,1903,1964,3441,3255,2194,1875,1856,2183,1910,1993,2227,2872,3162,2526,1801,1717,2521,2602,2001,2237,2092,1925,1467,1598,2447,2446,2096,1852,1840,2287,3094,3316,2828,3006,3066,3310,3100,2777,2440,2667,3515,3658,2792,2626,2889,2476,2785,2717,2291,2017,2129,2368,2490,2760,3000,3054,3090,2783,2481,2916,2485,2185,2365,2589,3130,2902,2510,2575,2635,3364,4087,3546,2938,2833,2686,2308,2272,2078,1706,1997,2035,2128,2539,2787,2874,2981,2858,3021,3011,2742,2504,2240,2496,3054,2963,3009,3130,2980,2720,2884,3265,2964,2352,1972,1901,2078,2408,2082,1510,1674,1886,1745,1894,1914,2077,2586,2435,2692,3073,2828,3315,2934,2207,2337,2175,2140,2447,2329,2266,2661,3060,3508,3360,4007,4006,2667,2253,2844,3197,3056,3110,3403,3222,2562,2844,3427,3401,3288,3295,3332,3355,2985,2846,3031,3002,3392,3472,3627,3364,2416,2454,2954,3868,3500,2813,3142,2832,1721,1542,1500,1394,2298,2699,2976,2633,2288,2522,2879],[2514,2635,2874,3151,3570,3982,3165,3050,4072,3772,3305,3265,3343,3131,3096,2974,2833,2510,2621,2820,3149,3438,3371,3330,2886,2802,2758,2831,3037,3211,3053,2810,2864,2957,3098,2972,2861,3124,3241,3191,3342,3115,3326,3189,2721,2833,3425,3683,3682,3780,3975,3840,3758,3303,3309,3009,2729,3283,3349,3374,3569,3716,3764,3729,3198,2896,3344,3470,3750,3835,3773,3436,3395,3593,3510,2851,2684,2897,2913,2879,3019,3524,3311,3115,3372,3339,2968,2398,2117,2100,2350,2513,2637,2766,2888,3212,2881,2409,2545,2789,3002,2652,2658,2801,3087,2862,2276,2010,1908,2038,2101,2207,3087,2989,2999,3193,2712,2180,2711,3549,3293,2523,2206,1604,1571,1918,1764,2198,2540,2391,2241,2445,2242,2254,2778,2955,2876,2633,2108,2056,1939,2505,2819,2529,2257,2164,2145,2602,3006,2927,2202,1935,1930,2503,2411,2693,2835,2985,2618,1924,1693,1757,2170,2193,1895,2435,3182,2889,2348,2049,2314,3204,3320,2767,2425,2782,3378,3758,3786,3504,3278,2319,2382,3267,4124,4501,3695,2934,2967,3205,3241,3406,3626,3030,3164,3044,2924,2727,2868,2398,2203,2437,2273,1813,2041,2397,2382,2624,3025,2853,2924,2953,2918,3006,3166,2829,2647,2741,2579,2565,2647,2751,2858,2941,2965,3075,3542,3821,3828,3441,3120,3020,3204,3262,3021,2736,2334,2090,2119,2236,2602,3125,3674,3575,3420,3384,3195,2843,2626,2736,2813,3083,3140,2901,2938,2885,3133,2783,2883,3199,3111,3119,2850,2892,3231,2810,2719,2402,2154,2518,3728,4373,4120,3051,2592,2409,1880,1675,1845,2211,2157,2379,2245,2238,2048,2132,2048,2337,2195,1542,1499,1615,2193,2519,2041,1863,1976,2502,2451,2134,1676,1592,2054,2803,3062,3087,3918,4132,3757,3522,3219,3442,3774,3914,3906,3938,3781,3783,3876,3746,3737,3540,3045,2515,2668,3162,3114,2578,2001,1793,2252,2364,1918,2151,1942,1781,2408,2443,2435,1980,2388,2600,2185,1698,2136,2625,1903,1615,1405,1330,1358,1618,2814,2162,1747,1805,1606,1682,1765,2098,2842,2881,2776,2276,1791,2454,2612,2963,2575,2228,2590,2461,2280,2320,1803,1725,2476,2789,2483,2320,2263,2568,2785,2561,2901,3917,4087,3376,2766,2357,2654,3117,2618,1930,1929,1738,1669,2194,2444,2339,2290,1803,1835,2476,2538,2403,2780,2353,2419,3100,3093,2479,2165,2358,2754,2650,2301,2106,1827,1994,2408,2287,2003,2243,2599,3077,3349,3434,3339,2567,2408,3403,3819,3600,3582,3602,3560,3411,3140,2810,3211,3466,3090,2739,2983,3226,3374,3197,2448,2214,2343,2001,1816,2073,2370,1891,1480,1331,1637,2347,2776,2397,2045,2108,1981,2092,1855,1582,1864,2066,1901,2253,2497,1788,1675,2316,2195,1791,1781,1817,1798,1723,1771,1914,2199,2492,2135,2181,2024,2047,2052,1812,1597,2067,2235,2049,2267,2687,2653,1945,1986,1975,1999,2181,1648,2396,2043,1498,1687,1735,1674,1899,2025,2333,2809,2849,2570,2412,2236,2136,2164,2396,2229,2149,2631,3299,3464,3262,3156,3148,2844,2555,2608,2865,2434,2554,2834,2552,2350,2070,1788,1654,1873,2173,1763,1738,1793,1921,1744,1662,1792,1452,1528,2415,2714,2758,2974,3248,2509,2169,1914,1551,1626,1569,1562,1544,1520,1438,1511,1942,2139,2182,1811,1555,1440,1482,1735,1760,1661,1480,1078,734,1201,1932,2200,1763,1722,1809,1472,1575,1876,1641,1528,1859,2468,2693,2490,2265,2009,1611,2093,2353,2272,2013,2200,2197,1958,2017,2006,2611,2712,2128,1992,1930,1731,1905,2416,1977,1892,2339,2440,2719,2354,2019,2159,2340,2558,2302,2298,2035,2282,2510,2476,2247,2329,2130,2086,2010,2066,1983,1047,1123,1437,1846,2049,1273,1445,1799,2000,1972,2049,2221,1880,1569,1902,2248,2137,2012,2212,2665,3140,2662,2361,2544,2631,2736,2280,1784,2425,2965,3583,3263,2640,2754,3145,2907,2610,2512,2806,2733,2728,2388,2173,2041,2225,2331,1760,1537,1288,1591,1931,2321,2676,2178,2241,2570,2306,2344,2189,2268,2151,1671,2202,1908,2183,2696,2943,2945,2773,2463,2478,2200,1671,1570,1462,1411,1549,1733,2764,3410,3317,3163,3341,3711,3682,3698,3624,3075,2351,2126,1935,1884,1871,1895,1887,2154,2514,2065,1734,1820,1760,1634,1248,1755,2132,2323,1936,1578,1571,1552,1560,1608,1795,1968,2632,3235,2770,2159,2025,1954,2044,2009,1782,1602,1594,1673,1712,2176,2302,2092,1942,2431,2372,2204,2351,2171,1953,1922,2333,2674,2327,2279,2842,2987,3090,2857,2295,2247,2242,2031,2070,2797,3063,2285,2316,3018,2344,1946,1694,1528,1579,1919,1747,1592,1712,1760,2198,2696,2396,2272,3190,3611,3516,3548,3405,3459,2971,2668,2784,2412,2289,2521,2444,2946,3215,3198,3103,3074,3135,2943,2988,3158,3353,3383,3103,2896,3032,3311,3016,3054,2958,3000,2790,2999,2864,2420,2019,1935,2300,2615,2256,1419,1265,1296,1501,1726,1629,1970,1924,1769,1872,2225,2316,2315,2442,2241,1729,1406,1479,1512,1499,1689,1768,1735,1678,1503,1367,1919,2828,2662,2208,2110,1908,1920,2773,2965,2402,2027,1906,2050,2023,1972,2963,3809,3522,3606,3777,3686,3384,3342,4071,4575,4680,4560,4644,5052,5269,4937,4429,4132,4097,3637,3460,3664,3834,3779,3536,3361,3458,2967,2773,3506,3558,3759,3713,3281,2791,2658,2855,2940,2979,3022,3148,2925,2178,1819,1891,1769,2018,2734,2385,1763,1628,1579,1648,1786,2151,2145,2104,2489,2014,1772,1798,1954,1795,1817,2288,2543,2591,2563,2536,2322,1745,1588,1756,1477,1694,1986,2285,2029,1995,2049,2152,2452,2280,2432,2666,1873,1575,1502,1648,1813,1968,2226,2290,2150,2131,1980,1786,1787,1730,1607,1767,1917,1928,1989,1930,1884,2063,2053,1731,1888,2164,2282,2173,1934,2308,1731,1745,1811,1893,1913,2003,2050,2254,2452,1735,1156,1274,1229,1178,1295,1170,1274,1586,1712,1534,1273,1183,1302,1467,1296,1092,1231,1194,1453,2176,2014,1811,1803,2220,2853,3105,3105,2961,2886,2984,3100,2910,2340,2166,2246,1994,2088,2742,3084,3090,2956,2648,2263,2063,2008,2400,3219,3416,3239,2570,1866,1618,1551,1533,1569,2139,2313,1573,1507,1541,1603,2059,2177,1905,1990,1875,1465,1212,1710,2480,2730,2249,1454,1432,1968,2211,1629,1392,1622,1762,1694,1631,1533,1509,1812,2065,1627,1517,1522,1801,2087,2420,2535,2587,2326,2250,1756,1404,1552,1499,1611,1592,1672,1811,1755,1774,1830,1634,1841,2264,2038,1591,1543,1609,1710,1820,1398,1416,1437,1600,1701,1841,1497,1328,1908,2304,2082,1939,1918,1882,2001,1724,2290,2351,2342,2147,2013,1970,1593,1664,1885,2038,2505,2182,2123,2501,2667,3586,3309,2692,2439,2134,1668,1961,2451,2460,2170,2132,2492,1993,1848,2603,3439,3183,3153,2770,2336,2531,2419,2234,2708,3053,1889,1399,2097,2364,2596,2177,1799,2215,2588,2708,3144,2858,2176,2302,2201,1798,1641,1838,2359,2468,2706,2810,2587,3063,3583,2822,2244,1954,2007,2013,1789,2552,3010,3130,2770,2242,1957,2662,3950,4075,2916,2519,2116,1923,2286,2399,2313,2622,2901,2871,2962,2775,2771,2945,2411,2525,3327,3116,2551,2796,3196,3244,3168,3239,3592,3613,2644,1515,1518,1894,2546,2611,2611,2044,1753,2242,2671,2393,2398,2664,3012,3277,2877,2608,2810,2828,3066,3124,3182,2445,2513,2815,3193,3978,3571,2864,3307,3024,2695,2357,2976,2814,2755,2613,2319,2390,3068,3341,2640,2229,2422,2345,2235,2343,1983,2209,2426,2476,2844,2543,2471,2526,2183,2339,2242,3105,2824,2665,3304,3476,3055,2903,2642,2703,2337,1945,2034,2166,2038,2039,1968,1860,1843,2380,2678,2553,2878,3267,2577,1769,1782,2094,2225,2085,2128,1908,1776,1852,2081,2196,2240,2352,2858,3227,2587,2074,1843,1499,1985,2836,2629,2559,2381,2126,1700,1567,1563,1404,1604,1868,2250,2471,2225,2835,2074,1881,1844,1990,2321,2416,2578,2758,2267,1853,1675,1426,1368,1703,1972,2010,1948,2008,2199,2283,1758,1485,1903,2053,1500,1516,1515,1489,1572,1970,1878,1988,2237,2394,2872,3145,3606,3711,3415,2125,2545,4132,4653,4669,4485,4313,4327,4256,3553,2534,2790,3849,4272,3620,3005,3536,3352,2874,2675,2807,3221,3200,2727,2746,2873,2879,2898,3129,3470,3897,3426,3679,4103,3956,4078,3699,2555,2008,1824,2307,2266,2157,1543,1892,2646,2503,1829,1622,1622,1533,1688,1729,1554,1605,1842,1807,1917,2058,2106,2368,2720,2653,2031,1691,1643,1786,1613,1582,1533,1493,1639,1748,1770,2029,1627,1594,2213,2269,2142,2533,2807,2928,2672,3151,3442,2786,1951,1700,1765,1366,1020,1332,2082,2238,1755,1751,2165,2396,2369,2319,2226,1977,1769,1767,1494,1614,1845,2038,2079,1959,2009,2342,2714,2839,2206,1992,2690,2850,2193,2105,1979,1856,2398,2521,1869,1372,1845,2374,2105,2425,2759,2764,2682,2143,2167,2387,2757,2524,2047,1945,2206,2111,1749,2318,2531,2217,1912,1871,1984,2339,3331,3208,3184,3140,3260,3353,3251,2973,2354,2613,3560,3661,2419,2357,2352,2316,2825,3124,3006,2835,2805,2212,2018,2323,2447,2507,3220,2856,2555,2957,2724,2622,2487,2463,2238,2126,2697,2842,1937,2356,3418,3353,2262,2071,2153,2032,2186,2062,2149,2322,2061,1660,2300,2729,2678,2857,3063,3076,3107,2965,2313,2040,2568,2689,2623,2678,2828,2620,2195,2766,3282,3295,2644,1939,2196,2656,2822,2479,2009,2078,1946,1895,1872,1941,2219,2469,2452,2710,3028,3138,3256,2710,2235,2330,2015,2262,2216,2358,2366,2816,3064,3461,3156,2896,2818,2556,2733,3019,3007,2844,2683,2753,3068,2900,3295,3298,3377,3417,3340,2989,2786,2980,2909,2922,3466,3985,4064,3890,3128,1953,1684,2665,3781,3278,2822,2917,1958,1581,1544,1174,1764,2730,2778,3149,3088,2902,2894,2788],[2785,2616,2943,3374,3661,3321,2407,2696,3088,2735,2946,3393,3758,3608,3418,3064,2958,3238,3460,3356,3033,3105,3008,2774,2449,2447,2570,2646,2678,2916,2824,2770,3031,2997,2852,2396,2334,2951,3120,3161,3145,3029,3182,3279,3408,3529,3658,3704,3626,3830,4196,4014,3960,3549,3437,3088,3256,3680,3684,3663,3772,4013,3947,3922,3914,3798,4006,4055,4416,4244,3982,3805,3803,3692,3146,2596,3002,3011,2968,3063,3251,3642,3532,3227,2768,2423,1982,2066,2468,2213,1889,1903,2029,2285,2600,2674,2806,2722,2729,2646,2471,2362,2522,2639,2405,2186,1908,1828,2216,2872,2476,2207,2675,2780,2820,2872,2710,2387,2630,3081,2963,2316,2220,1957,1888,2344,2312,2515,2540,2316,2398,2375,2411,2584,2368,2255,2438,2171,2405,2292,2625,3204,3527,3101,2447,2210,1962,2168,2429,3129,2488,2035,2432,2609,2108,2091,2293,2651,2387,2006,2100,2169,2037,2054,1797,2569,3130,2654,2250,2280,3021,3680,3436,3143,3525,3929,4100,3870,3426,3118,2888,2938,3286,3426,3811,3830,3094,2753,2995,3020,3028,3032,3211,3065,3400,2955,2737,2307,2230,1806,1806,2241,2239,1825,1884,1834,2004,2452,2946,2800,3066,2906,2770,3228,3234,2876,2976,2994,2708,2579,2564,2532,2484,2578,2601,2625,3032,3362,3449,3559,3648,3462,3418,3112,3244,2823,2899,2984,2974,2364,2279,2489,2978,3021,2756,2899,3061,2604,2712,2736,2698,2573,2576,2898,2943,2957,3255,3354,3441,2934,2654,2568,2274,2830,3097,3037,2592,2624,2460,2069,2253,3142,3326,2481,2342,2530,2113,1477,1639,1919,2200,2291,2066,2263,2234,1964,2042,2154,1809,1676,1896,1900,2156,2632,2502,2073,2566,2868,2174,1835,1677,1567,1758,2691,3476,3431,3708,3886,3898,3715,3472,3519,3946,4124,3761,3541,3537,3475,3660,3594,3503,3469,3716,3361,2887,2592,2633,2648,2184,1869,1762,1794,1738,2118,1892,1597,2138,2454,2307,1702,2159,2927,2684,2159,2352,2448,1670,1559,1830,2405,2275,2392,2686,2082,1916,1876,1550,1666,1990,2331,2779,3094,3207,2665,2454,3108,2919,2608,2297,2162,2555,2205,1885,2348,1905,2090,2691,3196,2887,2668,2621,2624,2646,2526,3520,4241,4150,3162,3040,3187,3741,3388,2723,2249,2285,2101,1935,2482,2657,2201,2161,1952,2032,2310,1905,2193,2482,2151,2128,2619,2789,2471,2048,2422,2754,2729,2378,2184,1970,2069,2204,2026,2048,2098,2240,2854,3308,3306,3243,2639,2474,3042,3154,2817,3133,3616,3573,3548,3445,3330,3315,3270,3120,2728,3131,3150,3088,2687,2326,2424,2070,1979,2232,2620,2220,1489,1790,1915,2363,2577,2917,2228,2050,1891,1683,1750,1512,1528,1968,1858,1726,2106,1952,1538,1777,1925,1804,1986,1993,1931,1832,1765,1992,1970,1972,1853,2129,1854,2048,2144,2122,1842,1695,2141,2598,2674,2758,2491,2050,1730,1842,1763,1853,1876,1872,2107,1858,1923,2239,1848,1679,2049,1776,1950,2822,3320,2950,3144,3318,2839,2452,2589,2336,1777,1923,2899,3759,3597,3027,2883,2876,2577,2789,2939,2352,2486,2532,2451,2359,1814,1665,1720,2163,1931,1555,1933,2170,2229,1979,2038,1975,1571,1890,2547,3025,2718,2088,2290,2140,1813,1814,1718,1560,1437,1599,1576,1410,1575,2013,2230,1756,1819,1477,1445,1560,1665,1649,1724,1630,1028,651,975,1590,2179,2316,1769,1826,1660,1155,1730,1966,1733,1722,2029,2222,2088,1961,2018,1734,1716,2310,2260,2172,2070,2316,2257,2403,2502,2363,3020,2888,2658,2784,2464,1861,2184,2296,2408,2303,3076,3312,2983,2241,1570,1945,2152,2100,2017,1958,1994,2256,2463,2519,2600,2784,2570,2270,2185,2093,2075,1141,1389,1428,1228,1572,1693,2185,2548,2468,2137,2085,2425,2160,2518,2530,2419,1989,1986,1881,2227,2714,2376,1847,1819,2316,2828,2644,2407,2785,2858,2990,3265,2851,2161,2568,3231,2950,2665,2121,2512,3363,2588,2100,2142,2157,1723,1377,1325,1926,2524,2922,3221,2792,2072,1899,1858,1956,2172,2626,2581,2076,1838,1882,1757,1946,2485,3138,3076,2238,1648,2236,2292,1750,1629,1710,1921,1782,1731,2444,2995,2906,2979,3316,3747,3584,3171,2988,2695,2407,2122,1694,1582,1644,1747,1880,1987,2120,2156,1813,1375,1114,1206,1283,1580,1799,2069,1934,1593,1694,1672,1824,1721,1909,1959,2685,3517,2756,2088,2024,1925,1957,2039,1866,1631,2034,2102,2376,2624,2442,2026,1832,1908,1777,1693,2036,1913,1782,2162,2696,2589,2326,2315,2631,2794,3144,3031,2863,2657,2432,2463,2707,3266,3476,2498,1669,2085,1759,1461,1470,1605,1773,1961,1853,1638,1588,1519,2099,2764,2762,1967,2364,3142,2762,2959,3204,2787,2632,2787,2338,2242,2789,2933,2356,2960,3187,3122,3174,3327,3264,3060,3087,3175,3167,3466,3529,3194,3238,3427,3178,3238,3106,3142,3190,3045,2610,2135,1737,1826,2301,2170,1553,1632,1577,1530,1682,1842,1844,1736,1774,2050,2084,1925,1954,2147,2158,2050,2039,1920,1824,1749,1767,1716,1746,1911,1755,1521,1994,3051,3560,3384,3021,2722,2085,1843,2080,2365,2284,1974,2146,2250,2006,2335,3249,3558,3440,3241,3339,3124,2907,3272,3928,4384,4188,3661,4074,4947,5172,5296,4812,4287,3956,3298,3299,3640,3912,4025,3548,3174,3307,3461,3572,3406,3051,3658,3491,3607,3708,3029,2369,2281,2576,2820,2776,2712,2038,1857,1857,1773,2278,3073,2210,1455,1572,1821,1844,1898,1838,2034,1776,1992,1884,1672,1606,1490,1423,1661,2201,2498,2480,2422,2402,2355,1838,1854,1919,1710,1826,1970,1986,1851,1508,1237,1680,2100,1865,1687,2126,2017,1764,1821,2085,1956,1885,1802,1740,1748,1588,1624,1877,1839,1633,1907,2260,2484,2588,2410,1976,1665,1959,2334,2280,2221,1957,2016,2226,2401,3023,2401,2214,2179,1968,1719,1615,1688,2136,2292,1474,1146,1268,1247,1197,1280,1182,1207,1562,1378,944,985,1078,1301,1554,1516,1776,2175,2002,1532,1177,1237,1448,1754,1968,2176,2502,2890,2986,2873,2815,2836,2979,2264,2066,2056,1788,2208,3009,3220,3138,3087,2832,2301,2082,1990,2261,2475,2973,2563,2023,1877,1730,2012,2156,1797,2046,1874,1358,1370,1456,1510,1939,2043,2094,2434,2309,1824,1610,2109,3039,3007,2121,1620,1505,1460,1725,1553,1454,2024,2076,1554,1625,1752,1751,1991,2132,1750,1568,1374,1939,2140,2369,2181,1964,2234,2150,1582,1430,1539,1450,1522,1762,1543,1462,1649,2020,2038,1874,2039,2120,1790,1431,1402,1544,1643,1454,1356,1376,1548,1597,1565,1604,1316,1698,2846,2910,1870,1757,1861,1938,2209,2129,2314,2184,1901,1991,2214,1696,1560,2020,1754,1786,2473,2777,3020,3186,3444,3459,3077,2519,2075,2184,2152,2458,2433,2732,2548,2100,2142,2210,2167,2796,3118,2986,3198,3287,3542,3927,3682,3518,3426,3296,2149,2036,2496,2151,1887,2187,2366,2644,2514,2360,2464,1698,1716,2105,2071,2116,1907,2100,2492,2722,3281,3510,3272,3124,3015,2579,2375,2274,2031,1865,1803,2577,3260,2696,2666,2895,2079,1896,2811,3666,3174,3086,2419,2241,2091,1889,2039,2768,3040,2344,2315,2551,2607,3029,2383,2160,3321,3608,3311,3217,3004,2808,2573,2601,3348,3400,2635,1982,1802,2166,2442,2150,2228,2236,1968,2184,2702,2455,2341,2608,3051,3250,2809,2450,2670,2684,3021,3360,3222,2788,2562,2990,3409,4120,4212,3812,3407,2918,2698,2763,2987,2780,3030,3204,2510,2305,3122,3362,2563,1923,2194,2153,2214,2345,2029,2107,2219,2280,2543,2562,2521,2319,2269,2481,2686,2724,2184,2088,3024,3034,2946,3062,2610,2327,2093,1905,2085,2414,2284,2279,2163,2205,2170,2172,2639,2986,2603,2389,2474,2453,2178,2273,2194,2050,1970,1698,1826,2116,2058,1938,2191,2279,2302,2192,1835,1696,1908,1733,2157,2574,2511,2391,2045,2005,2137,1780,1679,1439,1548,1780,2069,2505,2620,2659,2347,2055,2131,2631,2690,2567,2833,2997,2468,1620,1340,1499,1448,1468,1887,2228,2189,2002,2208,2610,2161,1827,1758,1717,2098,1908,1603,1802,1982,1852,1727,1995,2177,2048,2279,2972,3276,3356,2951,2220,3529,4368,4469,4500,4427,4401,4164,3473,2744,2172,2639,3561,4120,3510,3619,3662,2731,2514,2856,2918,3041,2942,2736,2763,2767,2842,2949,3316,3708,4176,4159,3956,3947,3886,4116,3958,3293,2542,1960,2559,2655,2866,2172,1624,1743,1886,1981,2010,1864,2180,2071,1820,1385,1511,2192,2128,1929,1902,2082,2162,2494,2420,1599,1580,1772,1779,2279,2243,1815,1759,1621,1488,1870,2035,1763,1876,2229,2015,2164,2435,2876,2932,2860,3099,3189,2564,1940,1678,1259,1346,1397,1428,1707,1908,2045,1713,2142,2593,2845,2706,2206,2012,1955,1708,1668,2084,2138,2273,2310,2030,2211,2396,2125,2359,2389,2168,2295,2386,1984,2076,2045,1964,1902,2194,2131,1766,2151,2474,2001,2128,2432,2526,2449,2313,3087,3474,3081,2400,2216,2834,3143,2332,1860,2230,2195,2359,2125,1939,1901,2125,3270,3374,3095,3041,3055,2866,2977,2412,1992,2576,3227,3768,2632,2398,2354,2542,2343,2451,2768,3027,2842,2286,2198,2336,2420,2830,3043,2601,2569,2770,2736,2701,2719,2588,2602,2980,3164,3122,1973,1904,2252,2644,2756,3010,2425,2107,2048,2531,3147,2389,2005,1778,1853,2334,2814,3001,3130,3325,3504,3238,2741,2836,2856,2536,2632,2389,2081,2107,2109,2396,2381,2242,2021,2200,2540,2824,3356,2766,2085,2298,1845,1935,1926,1780,2250,2690,2599,2212,2540,3011,2901,2944,2689,2234,1876,1904,2142,2569,2777,2846,3018,3088,2676,2432,2578,2736,2796,2734,2741,2788,2827,2908,3130,3347,3327,3164,3123,2990,2937,2775,2841,2944,3274,3277,3396,3295,3458,3460,2673,1941,2170,3145,3265,3357,3284,2657,1908,2391,2390,1798,2279,2730,2672,2721,2840,2631,2417,2698],[2880,2928,3504,3326,2707,2513,2908,2979,2712,2774,3033,3199,3283,3295,3377,3482,3567,3422,3477,3119,3144,2998,2631,1907,1668,1554,1754,2089,2478,2938,2727,2808,3012,3012,2968,2621,2175,2464,3035,3061,2896,2867,2988,3251,3425,3496,3761,3747,3719,3784,3818,3706,3820,3527,3505,3812,3968,3923,4128,4497,4082,3651,3968,3901,4049,4047,3581,3128,4014,4698,4688,4631,4397,4060,3349,2209,2191,2305,2436,2536,2689,2941,3087,2854,2807,2723,1906,2280,2837,2515,2265,2462,2252,2313,2534,2437,2063,1860,1780,1725,2147,2406,2740,2621,2249,2207,1914,1860,2345,2916,2429,2444,2902,2552,2430,2465,2396,2213,2614,2789,2448,2227,2437,2300,2336,2733,2612,2349,2483,2431,2532,2309,2390,2343,2385,2502,2777,2350,2420,2750,3076,3137,3215,2846,2433,2244,1879,2121,2182,2530,2769,2488,2458,2188,2128,2465,2357,2230,2222,2280,2100,2136,2008,2045,2256,2570,2839,2714,2547,2568,3060,3440,3116,3362,3845,4337,4244,3526,2937,2758,2995,3122,2542,2675,3283,2952,2680,2862,2861,2930,2779,3239,3377,3916,4040,3527,2667,1995,1871,1702,2103,2314,2172,1993,1637,1208,1509,2258,2273,2305,2886,2849,2944,3488,3254,2817,2680,2665,2736,2916,2761,2399,2362,2564,3113,2908,2588,2798,2619,2808,3404,3555,3275,2918,3160,2986,2987,2859,2382,1997,2028,2118,2461,2640,2655,2820,3283,2846,2626,2693,2523,2291,2157,2631,3284,3393,2941,3067,3346,2869,2677,2369,2338,2760,3275,3640,3151,3265,2875,1739,1989,2589,2579,2137,2464,2474,2580,2514,2060,1917,2186,2163,1757,1593,1770,1819,1989,1844,1520,1599,1695,1657,1577,1872,2233,2041,2515,3167,3024,2726,1805,1919,2254,3221,3608,3518,3457,3913,4277,4289,4082,3774,3951,4155,3993,3604,3494,3592,3753,3641,3557,3585,3758,3688,2973,2266,2590,2750,2290,1878,2657,2619,2167,2060,1863,1720,1725,2098,2193,1832,1902,2640,2667,2019,1617,2050,1842,1693,2331,3038,2658,2353,2413,2331,2249,1826,1753,2226,2230,2413,2744,2721,2935,3084,2845,2723,2668,2527,2238,1978,2237,1893,1976,2088,1960,1896,2680,3438,2956,2523,2417,2878,3132,3001,3574,4148,3958,2979,3276,3642,3558,3187,2599,1986,2121,2488,2481,2597,2737,2419,2132,2084,2114,2027,2019,2457,2413,2308,2688,2786,2617,2744,2410,2485,2554,2711,2458,2091,2040,2004,2139,2410,2383,2076,1954,2480,3129,3241,2802,2367,2221,2416,2586,2924,3167,3122,3386,3372,3297,3377,3426,3242,2919,2791,2971,2861,2555,2263,2447,2258,1813,2102,2501,2743,2232,1964,2602,2918,2764,2625,2575,2043,2037,1970,1811,1711,1438,1459,1749,1731,2028,2275,2285,2256,2053,1739,1804,2025,1753,1388,1459,1843,2146,1921,1977,2035,2624,2575,2168,2042,2180,2580,2911,2246,2361,2363,2676,2339,1580,1573,1722,1586,1774,2055,2096,2030,1862,1780,1685,1501,1652,1958,1808,1761,3023,3960,3738,3442,3519,3406,2989,2383,2084,1642,1948,2565,3128,3459,3300,2972,2761,2521,2671,2396,2128,2369,2115,1968,1747,1696,1951,1960,1748,1511,1995,2509,2668,2864,2770,2075,1861,2005,1978,1761,2331,2025,1594,1577,1611,1970,2020,1668,1475,1558,1831,1703,1464,2012,2548,2192,2039,2276,1844,1831,2091,2242,1942,1840,1702,1119,1244,1665,1761,2017,2029,1794,1932,1571,1543,1943,1633,1551,1942,1878,1769,1576,1682,1901,1733,1730,1990,2170,2317,2311,2433,2394,2449,2541,2496,3105,3073,2552,2221,2070,1892,2231,2365,2347,2328,2611,3030,2655,1785,1747,2307,2171,1982,1642,1561,1443,1728,2154,2252,2450,2547,2512,2183,2429,2469,2247,1951,1743,1510,1521,2196,2308,2229,2503,2719,2086,2096,2707,3152,3460,2809,2485,2282,2073,1851,1881,1821,1732,1556,1613,2248,2279,2578,2987,2946,3209,2751,2867,2719,1992,1784,2013,2731,2622,2170,2820,3023,2563,2264,1957,1995,2030,2340,2966,3250,3024,3050,2764,2277,1593,1350,1355,1498,1976,2496,2294,2082,1989,1698,1949,2220,2540,2520,2415,2320,2162,1852,1813,1819,1754,2212,2293,1910,1887,2295,2854,2765,2687,3142,3185,2792,2209,2208,2364,2100,1754,1495,1534,1432,1274,1567,1571,1465,1771,1813,1425,1407,1626,1726,1794,2080,2471,2899,2282,1973,1888,2187,1781,2126,2505,2600,2496,2263,2241,2147,2085,1989,2046,2100,2061,2138,1874,1815,1795,1746,1634,1645,2113,2216,1916,2041,1836,2108,2531,2778,2797,3542,3648,3063,2430,2777,3428,3023,2500,2714,3155,3428,3406,3277,2542,1957,1827,1628,1669,1727,1718,1880,1742,1757,1708,1670,1750,2039,2442,2262,2039,2141,2342,2668,2802,2297,2233,2117,1956,1958,2853,3581,3507,3009,3097,3306,3386,3480,3306,3115,3202,3196,3236,3270,3400,3542,3032,2855,3143,3031,3082,3189,3302,3705,3507,2624,2088,1669,1848,2452,1946,1736,2085,1757,1540,1517,1543,1923,1837,1813,2099,2003,1732,1585,1596,1850,2122,2231,2164,1864,1659,1678,1655,1851,1744,1554,1997,3138,3562,3353,3172,2874,2262,1780,1670,1747,2225,2408,2127,2295,2729,2443,2633,3239,3509,3529,2962,3101,3362,3627,4081,4132,4252,3956,2632,3206,4745,5113,5268,4795,4310,3661,2942,3349,3956,3772,3594,3800,3782,3403,3438,3704,3307,3247,3868,3594,3753,4215,4036,3088,1971,2026,2264,2480,2586,2706,2132,1898,2099,2935,3151,2285,1551,1640,1999,2072,2020,1626,1939,1730,1909,2109,1866,1687,1430,1344,1571,2065,2311,2292,2064,1881,1911,1554,1798,2095,1958,1553,1624,1788,1522,1188,1522,2220,2242,2152,1911,1907,1950,1678,1604,1625,1670,1959,1959,2117,1967,1622,2121,1974,1932,1822,2145,2251,2759,2747,2326,1692,1187,1920,2414,2257,1881,1836,2144,2304,2360,2864,2329,1869,1873,1910,1918,1871,2143,2808,2546,1562,1127,1277,1286,1264,1345,1333,1350,1544,1337,1092,1686,1716,1858,2031,1681,1939,2729,2545,2427,2435,1787,1221,1103,1460,1863,2015,2174,2344,2524,2462,2274,2317,2127,2054,2059,2331,2762,3064,3297,3321,3153,2667,2276,2138,2161,2540,2525,2629,2113,1488,1390,1623,2274,2361,1570,1881,1837,1551,1399,1427,1549,1626,1632,1716,1968,2142,2061,1980,2221,2734,2165,1655,1529,1527,1716,1731,1526,1552,1822,1744,1305,1392,1958,1842,1803,1683,1699,1835,1826,1737,1967,2039,1650,1644,1853,1685,1299,1447,1385,1471,1566,1505,1386,1473,1762,1896,1788,1750,1827,1876,1715,1209,1554,1634,1406,1306,1361,1485,1876,1836,1511,1307,1497,2633,3239,2820,1866,1790,1857,1791,1985,2183,2056,1899,1841,2260,2195,1722,1961,1935,1653,1742,2740,3599,3110,2526,2837,2790,2264,1913,2092,2830,2700,2014,1937,2119,2144,1746,1663,2126,2307,2661,2944,3104,3176,3304,3327,3216,3249,3306,3292,3286,2623,2676,2796,2244,2243,2823,2601,3007,2684,2072,1775,1779,2442,2259,2287,2309,1984,2392,2113,2226,2695,2833,2661,2524,2714,2734,2316,2195,1619,1152,1661,2877,3382,2820,3022,2518,1972,1664,1786,2617,3564,3821,3181,2665,2194,1459,1332,1837,2310,2159,2168,2335,2374,2975,2516,2403,3591,3981,3924,3837,3367,3239,3183,2483,2301,2968,2888,2609,2659,3043,2876,2310,2063,2486,2425,2203,2578,2513,2618,2928,3450,3332,3047,2834,2987,3083,3063,3450,3957,3241,1993,2915,2705,3585,3990,3354,3226,3050,2453,2626,3386,3804,3871,3043,2432,2244,2569,2878,2351,1832,1974,2007,2419,2502,2062,1930,2117,2033,2446,2846,2781,2530,2540,2309,2604,2588,2079,2101,2375,2236,2078,1916,2219,2155,2221,2185,1986,2531,2548,2036,1940,1930,1694,1661,2406,3232,2796,1947,2017,2398,1870,2178,2028,1954,1945,1836,1989,2217,2002,2018,2240,2480,2253,1814,1585,1758,1849,1716,1952,2302,2366,2104,1676,1641,2133,1992,1625,1288,1462,1868,1925,2040,2245,2602,2851,2675,2777,3061,2845,2968,3192,3030,2981,2033,1590,1549,1440,1426,1808,2568,2967,2499,1973,2048,2172,2737,2128,1995,3760,3508,2458,2540,2253,1869,1855,2160,2279,2177,2235,2419,2334,2607,2039,2602,3917,4048,4144,4071,4144,4135,3187,2093,2134,2545,3500,4003,3993,3640,3726,3053,2381,2745,2808,2922,2712,2756,2978,2743,2798,3250,3684,3819,3448,3684,3663,3176,3139,2998,2740,2643,3123,2840,2492,2907,2967,2950,2348,1602,1981,2932,2667,2056,2014,2769,2202,1995,1801,1914,2032,2054,2024,1808,1825,2169,2303,2042,2222,1868,1650,1749,2552,2492,1884,1582,1448,1721,2096,1998,2112,2140,1969,2194,2733,2331,2231,2542,2930,3132,2801,2288,2150,1830,1051,1241,1754,1657,1352,1804,1959,1837,2289,2501,2714,2617,2137,2154,1861,1286,1441,1836,1544,1970,2149,2013,2472,2732,2564,2160,2181,1978,2218,2580,2402,2139,1955,1932,1987,2310,2563,2276,2320,2339,2006,2035,1815,1801,2209,2621,3161,3362,3362,2957,2930,3244,3076,2303,1882,1945,2046,2352,2263,2430,2632,2541,2912,3430,3007,2520,2489,2524,2605,2333,2168,2156,2706,2958,2713,2668,2662,3109,3085,2856,2880,2777,2977,2878,2543,2751,2962,2988,2688,2548,2523,2487,2595,2808,2689,2380,2531,2858,2984,3260,3241,3085,3232,2994,2748,2603,2137,1945,1691,1901,2354,2059,2039,1884,1759,2329,2983,3312,3339,3388,3382,3248,3110,2755,2319,2586,3239,2898,2267,2152,2164,2302,2243,2287,2452,2444,2598,2994,3907,3008,2204,2545,2575,2752,1959,1873,2504,2535,2399,2068,2380,3423,3633,3629,3002,2023,1439,1345,2084,2699,2704,2802,2958,2939,2861,2876,3074,3088,3167,3124,3288,3295,3028,2928,3031,3303,3408,3248,3261,3450,3304,3012,3114,3179,3367,3391,3459,2835,2469,2500,2267,2218,2624,3317,2830,3643,3638,2796,2536,2908,2644,2084,1987,2458,2653,2780,2832,2589,2448,2585],[3388,3217,3130,2795,2475,2855,3196,3235,3300,3016,2956,3218,3296,3521,3706,3869,3484,3150,3052,2796,3199,3077,2566,1853,1403,1343,1551,1762,2376,2872,2750,2990,3194,3038,2580,2063,1834,1929,2505,2859,2803,2836,3033,3172,3453,3587,3594,3542,3615,3207,2866,2975,3469,3507,3624,4055,3941,3862,3940,4295,3819,3421,3726,3728,3658,3517,3022,2426,2678,3293,3638,4175,4480,4381,3636,2343,1909,1676,1618,1899,2667,2800,2380,2408,2708,2568,1484,1579,2091,2295,2052,2215,2414,2441,2509,2509,1980,1470,1623,2005,2547,2950,3086,2588,2288,2509,2323,2248,2567,2891,2642,2884,3212,2563,2449,2211,2070,2019,2309,2188,2343,2423,2304,2059,1888,2472,2958,2351,2454,2177,2221,1890,2209,2302,2885,3222,2607,2003,2207,2326,2553,2899,2865,2678,2044,1808,2147,2548,2894,2842,2754,2351,2160,2081,1815,2036,2632,2962,3163,2727,2049,1829,1949,1789,1719,1992,2197,2325,2796,2937,3294,2760,2191,3063,3680,3814,3446,3254,3544,3545,3047,2455,2122,2724,2881,2561,2588,2868,2875,2980,3124,3343,3204,3532,3673,3620,2855,1708,1798,1984,2211,1855,2040,2158,1628,1858,1874,1992,1968,2263,2853,2839,3012,3420,3065,2965,2764,2690,2968,2990,2718,2372,2532,2977,3375,3239,2596,2398,2220,2664,3138,3408,3229,2940,2939,3028,2851,2482,2063,2059,2374,2375,2444,2987,3395,3280,3212,2853,2700,2645,2491,2130,2296,3185,3440,2765,2462,2698,2854,2789,2374,2180,2549,2722,3347,3934,3316,2522,2360,2314,3300,3006,2197,1900,2206,2307,3043,2767,1624,1434,1806,1977,1410,1294,1695,2059,2024,1745,1960,2106,1960,2045,1964,1935,1992,1715,2093,2630,2800,2679,2013,2423,3210,3720,3852,3883,3852,3989,4287,4327,4104,3938,3836,3671,3505,3253,3362,3817,3289,2736,2525,2579,3166,3414,2829,2530,2565,2363,2363,2143,2371,2775,2665,2177,1910,1831,1712,1788,1937,1878,1795,2299,2092,1698,1473,1939,2016,1748,2435,2941,2286,2014,2440,2567,1914,1591,2064,2766,2563,2362,2618,2721,2941,3295,3073,2290,1982,2317,2496,2051,1836,1802,1739,1885,2046,1622,1971,2609,2698,2856,2888,3141,3259,3253,3074,3716,3846,3547,3369,3073,3025,2997,2327,1679,1932,2570,2893,2894,2447,1960,1825,2103,2292,2346,2658,2714,2729,2946,3177,2886,3026,2985,2699,2624,2653,2674,2547,2185,1896,1891,2291,2468,2547,2740,2292,2343,2514,2581,2504,2236,1982,2081,2132,2344,2644,2639,2877,2963,3359,3211,3239,3494,3162,3088,3096,2819,2596,2252,1870,1874,1996,2399,2810,2886,2476,2920,2866,2303,1953,2219,2130,1750,1971,2156,1802,1796,1976,2423,1937,1885,2136,2140,2453,2490,2036,1679,1704,1852,1865,2163,2485,2854,2625,1819,1969,2302,2944,2980,2260,2064,2286,2820,2940,1829,1633,1990,2553,2164,1366,1237,1416,1840,2154,2079,2053,2254,2132,1750,1548,1547,1523,1859,2017,2247,3639,4331,4092,3703,3156,3283,2830,2226,2120,2298,2602,2765,3054,3453,3639,3559,3213,2486,2195,1791,1583,1962,2132,2205,1766,1749,1810,1796,1708,2203,2499,2655,2696,2731,3542,2864,1964,2210,2454,1919,1671,1384,1401,1388,1356,1660,1696,1480,1440,1529,1800,1694,1802,1763,1883,1816,2374,2520,1980,1816,2074,2147,1991,1987,1673,1496,1863,1840,1876,2008,1953,1883,1914,1744,1833,2003,1868,1957,2166,2220,1982,1496,2040,2289,1918,1734,2061,2535,2569,2277,2155,2078,2266,2614,2642,2999,3285,2846,2103,1987,1867,1861,2349,2436,1929,1980,2352,2242,1931,1989,2653,2530,1958,1487,1626,1717,2043,1972,1678,2061,2226,2596,2408,2158,2105,2149,1994,1854,1687,1659,1972,2100,1959,2033,2149,1957,2173,2299,2552,2481,2119,1820,1859,1849,2085,2139,1614,1688,1500,1707,2191,2452,2581,2939,3035,3123,3186,3131,2408,2038,2077,2279,2364,2580,2733,3302,3231,2645,2264,2167,2245,2531,2834,2921,2765,2626,2332,2178,2696,1846,1373,1353,1315,1659,1974,2193,2558,2155,1967,2293,2534,2558,2286,2343,2750,3144,2636,2307,1939,1557,2174,2553,2013,1817,2010,2432,3106,3548,3585,3177,2975,2597,2227,1791,1409,1281,1136,1440,1440,1142,1316,1416,1537,1692,1816,1628,1441,1620,1522,1676,1909,2687,3476,2785,2438,2471,3046,2897,3194,3458,2954,2478,2261,2476,2620,2542,2196,2039,1948,1925,1610,1394,1478,1531,1485,1668,1900,2216,2255,2184,2144,2120,2231,2574,2739,2868,3811,4364,3341,2392,2599,2938,2365,2325,2791,3377,3166,2997,2554,1848,1574,1680,1645,1502,1526,1791,2019,1554,1952,1868,1600,2060,2024,1813,1876,2567,2643,1753,1878,1690,1687,2619,2233,2048,2510,2713,3354,3980,3528,3246,3351,3429,3458,3188,2849,2732,3084,3235,3254,3330,3304,2851,2740,2969,3082,3141,2967,3256,3818,3608,2404,1972,1862,2178,2676,2204,1970,1967,1612,1530,1439,1698,2032,2101,1949,1727,1582,1729,1671,1735,1880,2032,2022,2048,2025,1887,1792,1774,1734,1621,1910,2918,3537,3209,2952,2561,2259,2098,2094,1791,1820,2063,2118,2065,2290,2698,2789,2822,3224,3559,3428,3509,3816,4014,4468,4336,3934,4082,4164,3750,4419,5128,5048,4884,4884,4761,3974,3429,3931,4313,4095,3798,3631,3611,3444,3432,3593,3403,3536,3979,4201,4260,4127,3992,3375,2645,2497,1984,2166,2064,2332,2318,2358,2152,2374,3278,3094,2394,2260,2322,2065,1863,1855,2127,1774,1874,2142,1786,1233,1502,1747,1593,1873,1809,1764,1500,1416,1610,1918,2136,2159,2042,1662,1583,1805,1778,1898,2204,2265,2027,1855,1720,1747,1771,1622,1774,1713,1809,2314,2065,1898,1548,1689,2171,1766,1516,1580,1808,2092,2462,2403,2231,1578,1308,1810,2105,2219,1854,1909,2205,2307,2460,2898,2663,2128,2126,2032,1949,1788,1980,3154,2514,1702,1492,1658,1800,1921,2071,2066,1715,1533,1472,1286,2165,2131,2220,2280,1857,2020,2735,2775,2718,2908,2954,2842,2163,1360,1156,1358,1507,1770,2077,2251,1977,2013,2237,2203,2501,3146,3117,3043,3219,3128,2646,2366,2352,2308,2393,2639,2670,2569,2125,1410,1671,1797,1658,1734,1575,2142,2376,2024,1688,1610,1725,2002,1798,1767,1718,1758,1814,1834,1898,1863,1736,1472,1350,1351,1499,1538,1410,1467,1782,1634,1332,1350,1606,1756,1656,1359,1375,1747,1892,1780,2008,1672,1367,1434,1855,1806,1569,1820,1685,1616,1606,1433,1394,1584,1875,1819,1606,1512,1593,1776,1760,1788,2143,1814,1309,1366,1418,1661,1832,1665,1436,1581,2109,3142,3176,2551,2094,2199,2340,1846,1608,1932,1870,1626,1640,2332,1949,1904,2259,1897,1562,1831,2462,2648,2092,1691,1907,1967,1627,1749,1982,2408,2081,2098,2148,1952,2132,2299,2182,2078,2266,2754,2906,2786,2769,3025,2877,2431,2784,3059,3050,2754,2475,2548,2306,2187,2341,2510,2569,2735,2358,2142,1848,2074,2426,2214,2391,2241,2529,2916,1959,1888,2374,2640,2022,2314,2125,1798,1915,1903,1533,1290,1844,3352,3295,2856,2899,2317,1867,2041,2130,2036,2623,3413,3681,3312,2877,1529,1260,1745,2158,2302,2438,2406,2277,2646,2736,2764,3165,3326,3739,3957,3470,2965,2835,2199,1825,2152,2604,2643,2429,2798,3018,2707,2440,3308,2952,2358,2629,3156,3498,3417,3217,2922,2861,3153,3195,3274,3238,3240,3476,2923,2069,2856,2877,3253,3106,2498,3047,3162,2554,3084,3111,3617,4204,3008,2522,2492,2811,3031,2510,2226,2268,2740,3090,2690,2191,2069,2192,2084,2289,2353,2431,2824,2878,2244,2148,2392,2274,2559,2588,2327,2499,2231,1925,1982,2866,2519,1813,1956,1972,1895,1928,2002,1579,1703,2527,2865,2703,2051,1897,2184,1862,2053,2143,2125,2614,2369,1973,2486,2519,2142,2056,2455,2111,1553,1505,1672,1698,1724,1748,1772,1786,1880,1808,1288,1754,1959,1935,2018,1900,1857,1856,1636,1748,2292,2774,2635,2781,3173,3350,3156,3019,2872,2634,1976,1675,1710,1688,1637,1832,2488,2490,1997,1931,2009,2111,2470,2178,2286,3450,3834,3016,2418,1850,1865,2069,2432,2562,2426,2342,2293,2277,2220,1823,2598,3750,3647,3770,3730,3804,3985,3005,2358,2912,3863,4015,4014,4016,4016,3491,2517,2574,2679,2735,2989,2827,2973,2815,2729,3115,3825,4264,3190,2324,2708,3385,3087,2522,2173,2028,2474,2919,2980,2776,2534,2495,2438,2230,2088,2065,2958,2468,1781,2877,3146,2392,2216,2141,2116,2077,2020,1776,1576,2181,2391,2875,3034,2768,2202,1776,1780,2129,1976,1630,1576,1857,1750,1922,1967,1944,2194,2474,2902,3156,2648,2008,1827,2235,2819,2798,2492,2026,2012,1780,1221,1432,2094,2281,2254,2207,2469,2783,2534,1959,1905,1931,2199,2037,1703,1403,1282,1203,1466,1723,2164,2464,2380,2410,2092,2226,1895,2098,2655,2645,2941,2939,2278,2102,2481,2483,2432,2567,2083,2063,2329,2171,2256,2645,2635,2718,3039,2884,2785,3518,3587,3006,2072,1819,1991,2362,3105,3168,2697,2384,2288,2408,2642,2349,2323,2237,2364,2421,2216,2352,2310,2524,2302,2333,2168,1854,2791,3330,3026,2842,2798,2868,3178,2906,2896,3006,2686,2477,2254,2238,2448,2463,2339,2433,2750,3542,3485,3299,3420,3559,3387,3704,3586,2585,2349,2203,1920,2103,2434,2706,2066,2188,1908,1848,2486,3144,3152,2978,3195,3116,3256,3328,2473,2243,2863,3752,2900,2024,2176,2075,2280,2416,2490,2054,2249,2295,2469,3306,3006,2402,2797,3311,2963,2017,2145,2704,2319,2138,1991,2250,3160,3187,3182,2799,2179,1721,1404,2063,3128,3157,3256,3351,3409,3176,3103,3084,3359,3493,3573,3692,3329,2938,2879,3084,3340,3450,3209,3080,3447,3536,3477,3418,3186,3128,3344,3426,3260,3063,2504,2092,2172,2430,3292,3453,3741,2899,2170,2451,2520,2345,2199,2463,2578,2003,2349,2645,2634,2859,2358],[3827,3037,2577,2470,3124,3728,3162,2722,2633,2608,3124,3617,3497,3481,3670,3749,3297,2997,3006,3068,3196,3101,2741,2319,2371,2364,2398,2247,2438,2956,2953,3066,2975,2448,1939,1715,1671,1721,2304,2916,2899,2905,3144,3347,3704,3834,3614,3598,3665,3081,2576,2545,3117,3684,3831,3940,3925,3768,3261,3554,3255,3593,3659,3587,3556,3210,3208,3220,2397,1962,2190,2925,3306,2939,2514,1990,1837,1486,1176,1543,2680,2985,2725,2856,2928,2651,1868,1752,2187,2317,2002,2137,2210,2126,2186,2304,2191,1924,1633,2182,3350,3564,2779,2351,2845,2955,2512,2337,2557,2841,2796,2829,2919,2780,2564,2327,2066,1853,1874,1992,2040,1970,2274,2197,1728,2020,2172,1963,2055,1963,1818,1509,1788,2316,2667,2814,2262,1990,2142,1857,2012,2487,2643,2166,1543,1968,2623,2719,3019,2989,2663,2615,2374,1911,1963,2163,2374,3151,3452,3040,2245,1777,1795,1958,2357,2740,2358,2532,3270,3680,3496,2334,1663,1972,2589,2995,3375,3732,3749,3166,2603,2556,2800,3078,2923,2474,2723,2730,2842,2852,2861,2616,2731,3291,3483,3422,2894,2126,2267,2308,2197,2001,2406,2020,2078,2405,2286,2410,2208,2397,2842,2601,2974,3338,3220,3022,3241,3331,3120,2942,2946,2395,2053,2239,2583,2701,2445,2234,2185,2824,3132,3394,3179,2795,2929,2996,2874,2728,2641,2259,2330,2272,2331,3003,3408,3517,3651,3417,2957,2575,2158,1946,2611,3176,2532,2163,2117,2401,2603,2586,2502,2528,2657,2800,3167,3363,2854,1892,2200,2391,3120,2795,2357,2219,1990,1781,2328,2304,1500,1541,1992,2216,1719,1671,2081,2149,1886,1655,1864,2194,2383,2470,2355,2277,2010,1791,2257,2689,2855,2206,2096,2747,3518,3586,3625,3813,3393,3251,3715,3970,3746,3516,3629,3849,3858,3549,3448,3088,2081,1753,1695,1749,2094,2467,2511,2909,3011,2602,2751,3003,2899,2852,2593,2139,2287,2209,1581,1669,1897,2167,2041,1736,1574,1700,1783,1865,1603,1343,1751,2042,2127,2056,2198,2528,1892,1953,2762,3217,2780,2476,2656,2685,2974,3840,3750,2621,1851,1829,2087,2163,1847,1677,1618,1682,1732,1831,2295,2501,2736,2949,2662,2733,3219,3335,3552,3971,4042,4057,3334,2136,2078,2596,2186,1728,1957,2456,3118,3255,2819,2162,1801,2153,2331,2746,3000,2573,2731,2822,2911,3027,3033,3006,3064,2941,2510,2397,2163,1743,1692,1787,2579,2558,2478,2945,2676,2453,2232,2259,2357,2285,2356,2423,2068,1370,1377,1939,2430,2790,3178,2386,2485,3163,3103,3163,3489,3408,3184,2433,1708,1933,2190,2562,2751,2740,2879,2746,2308,1988,1905,2253,2322,1842,1991,2208,1781,1692,2074,2622,2375,2326,2558,2791,2634,2241,1863,1925,1996,2277,2138,2274,2423,2750,2448,2084,2247,2622,3295,2954,2454,1979,1915,2223,2441,1843,1697,2126,2330,1665,1304,1302,1613,1920,1841,1939,2624,3173,2710,2060,1782,1684,1648,1975,1825,1931,2898,3747,3894,3122,2357,2374,1583,1621,2031,2317,2419,2590,2799,3228,3780,4015,3723,2476,2169,1801,1880,2449,2425,2536,2131,1785,1724,1673,1824,2048,2223,2731,2416,2258,3035,3070,2205,2011,2055,1733,1560,1624,1666,1418,1376,1416,1281,1309,1435,1421,1560,2017,2533,1854,1572,1678,1918,2074,1686,1462,1786,2108,2056,1749,1561,1563,1741,1871,2014,2150,2167,1932,1738,1816,1824,1826,1820,2122,1984,2655,2515,2238,2402,2177,1934,1857,2108,2535,2236,1583,1798,1646,2085,2447,2437,2723,2859,2447,2464,2621,2220,1960,2203,2319,1811,2164,2288,2109,2230,2189,2574,2654,2234,2413,2569,1736,1532,1530,1392,1723,2059,3119,2756,2315,2222,1893,1612,1593,1605,1698,1774,1766,1820,1880,2124,2053,2071,1960,1983,2060,1750,1433,1379,1603,2047,2167,1674,1452,1280,1800,2157,2575,2644,2897,2922,2436,2311,2375,2134,2201,1924,2300,2436,2518,2355,2475,2422,2180,2081,1949,2026,2159,2094,2038,2145,2485,3023,2591,3285,2831,2040,1753,1722,2145,2475,2684,2750,1923,1885,2277,2335,2153,2264,2625,2788,3409,3054,2055,1584,1454,1695,2009,1817,1917,1800,2396,3244,3790,3647,2978,2925,3040,2036,1265,1435,1489,1653,1903,1760,1472,1522,1568,1484,1701,1759,1543,1305,1615,1818,1864,2192,2499,2978,3487,3595,3172,3069,3124,3316,3316,3283,3404,2504,2209,2718,2700,2283,2020,1976,1952,1653,1411,1490,1528,1824,1989,1896,2186,2223,2152,2204,2566,2215,2332,2917,3145,3726,3639,2481,2579,2388,2583,2822,2770,2618,2989,3116,2647,1851,1461,1633,1948,1596,1369,1469,1469,1516,1619,1837,1652,1705,1762,1931,2254,2201,2396,2176,1412,1799,1754,2654,3184,2336,2330,3023,2580,2701,3549,3750,3492,3254,3446,3675,3517,3284,2984,3203,3241,3275,3270,3312,3539,3252,2923,3119,3007,2647,2917,3404,2945,2188,1925,2277,2498,2215,2047,2161,2029,1710,1523,1610,2002,2100,2284,1899,1542,1449,1767,1976,1745,1525,1648,1675,1757,1952,1987,1804,1714,1583,1976,2757,3345,3377,3065,2237,1860,1937,1837,1638,1835,1750,1796,2058,2109,2513,2780,3310,3358,3607,3743,3437,3748,3601,3762,4227,4094,3974,4273,4336,4731,4835,4575,4568,4318,4183,4384,4083,3598,4176,4432,3963,3429,3227,3133,3161,3295,3220,3341,3650,3662,3914,4149,4078,4156,4004,4052,3812,2896,2257,1879,1970,2487,2665,1968,1938,2778,3065,2885,3053,2485,2064,1970,2222,2351,2163,1960,1934,2018,1665,2493,3055,2175,1726,1848,2111,2310,2678,2940,2899,2442,1974,1863,1895,2100,2077,2014,1864,1796,1777,1747,1948,2185,2217,1987,2041,2546,2099,2132,2088,1706,1593,1657,1761,1889,1560,1309,1582,1947,2249,2078,1854,1727,1313,1720,2220,2309,2085,2018,2129,2441,2309,2365,2943,2728,1995,1949,1956,2037,1992,2163,3085,2525,1884,2083,2511,2668,2746,2765,2382,1712,1688,1775,1681,1939,1870,1864,1811,1604,1705,2459,3299,3362,3342,3435,3869,3676,3220,2275,1597,1207,1101,1486,1743,1792,2029,2622,2929,2937,2950,3054,3156,3049,2465,2314,2424,2222,2321,2508,2481,2476,2567,2442,1749,1653,1613,1775,1660,1980,2300,2597,2432,2030,1849,2046,2541,2034,1834,1860,1810,1734,1583,1581,1575,1650,1619,1383,1329,1547,1360,1360,1299,1333,1275,1275,1436,1698,1974,1591,1235,1470,1559,1732,1765,1921,1781,1642,1859,1771,1727,1582,1526,1761,1918,1684,1642,1794,1547,1587,1785,1741,1729,1689,1723,1687,1736,1967,1783,1476,1396,1309,1574,1602,1553,1707,1686,2374,2867,2542,2192,2155,2409,2397,1752,1737,2070,2352,1641,1283,1782,1889,2070,2154,1836,1643,1916,2314,2090,1913,1942,2410,2562,2143,2125,2194,2311,2676,3283,3163,2688,2374,2390,2177,2066,2546,2854,3218,2953,2565,2913,2902,2664,2911,3182,3455,3168,2975,2663,2675,2678,2379,2242,2808,2752,2017,1937,1810,1903,2410,2091,2321,2102,2266,2198,1941,1764,2454,2469,2194,2470,2131,2037,1988,1709,1732,1994,2039,3130,3123,2775,2538,2310,2082,2177,2264,1964,1892,2359,2741,2238,2558,2164,1911,2169,2668,2796,2621,2507,2485,2486,2668,2735,3128,3494,3284,3679,3406,2591,2980,2809,2048,1957,2310,2288,1614,1926,2686,2987,3298,3642,3041,2557,3071,3751,3558,3032,2899,2850,2963,3474,3162,3112,3087,2958,3333,3010,2401,2745,3182,3165,2743,2491,3248,3000,2884,3466,2529,2665,3739,3029,2569,2612,2852,2779,2732,2543,2597,3188,3232,2972,2208,2192,2084,1936,1738,1837,2136,2420,2583,2202,1829,2136,2244,2665,3063,2707,2920,2920,2384,2273,2587,2321,1876,1622,1949,2419,2434,2368,1641,1802,2272,2517,2491,2068,2209,2577,2474,2596,2445,2072,2847,2579,2294,2922,3264,2288,1957,2480,2261,1741,1505,1508,1853,2160,2186,1998,1668,1522,1693,1080,1081,1588,2187,2869,2638,1831,1663,1604,1966,2481,2579,2321,2458,3013,3334,3138,2879,2745,2589,2429,2278,2001,1743,1729,1815,2088,1651,1766,2076,2094,2188,2300,2197,2055,2110,2442,2541,2388,2065,2081,2254,2548,2596,2333,2302,2584,2584,2098,1908,2669,3479,3571,3479,3351,3750,3686,3088,2928,3889,4665,4332,4091,4163,4008,2830,2587,2925,2871,2643,2791,2697,2707,2736,2812,3105,3428,3276,2522,2419,2399,2978,2883,2310,1916,2408,3172,2980,2568,2313,2275,2768,2556,2252,2438,2145,2403,2104,1732,2569,2609,2062,2116,2164,2142,1993,2021,2013,2382,2595,2776,3374,3449,2817,2257,1935,1721,1746,2160,2214,2050,1890,1585,1974,1877,1955,2024,2098,2732,3262,3031,2208,1925,1965,2545,2906,2533,2160,1982,1889,1555,1954,2998,3023,2540,3029,3196,2856,2644,2359,1886,1746,1873,2126,2165,1790,1419,1384,1777,1878,1951,2324,2545,2253,1900,2568,2769,2623,2326,2276,2886,3167,2758,2688,3041,3481,3265,2291,2186,2119,2313,2318,2318,2408,2520,2171,1935,2577,3028,3394,3558,2729,2055,2137,2414,3162,3608,3071,2486,2243,2236,2575,2296,1923,2212,2003,2579,3045,2674,2275,2278,2306,2171,2547,2496,1702,2036,2436,2090,2293,2747,2852,3075,2624,2475,2743,2545,2421,2093,2478,2758,2719,2614,3145,3846,4149,3853,3685,3409,2845,2352,2689,2878,2238,2087,2268,2298,2845,3375,2856,2486,2541,2132,1952,2365,3151,3028,2888,2941,2950,3082,3152,2564,2647,3073,3417,2611,2191,2219,1879,2139,1967,1996,2244,2798,2556,2266,2633,2843,2417,2599,3029,2640,2068,1897,2199,2052,1957,1892,2328,2952,2945,2647,2391,2336,2364,2509,2942,3963,4030,3419,3356,3087,3007,3320,3468,3611,3499,3624,3701,3538,3138,3029,3332,3307,3160,3059,3337,3507,3412,3239,3305,3274,3177,3109,3272,3421,3545,3322,2422,2102,2610,2445,2545,3060,2297,2011,2249,2448,2531,2407,2136,2258,1672,1729,2290,2461,2864,2645],[2824,2809,3311,3320,3688,3881,3218,2578,2407,2767,3243,3138,3218,3393,3514,3616,3404,3104,3100,3175,3081,2873,2799,2653,3339,3377,3342,3033,2784,2994,3045,3040,2634,1893,1518,1607,1852,1941,2802,3152,2984,2938,3066,3319,3252,3355,3376,3415,3665,3694,3321,2809,2656,2485,2768,3422,4121,3985,3614,3404,3199,3549,3682,3564,3683,3608,3708,3567,2404,2103,1974,2693,2994,2517,2286,2746,3156,2511,1894,1917,3052,3231,2973,2937,3023,3251,2934,2674,2805,2471,2240,2279,2193,2025,2078,2395,2492,2392,2002,2363,2771,3020,2630,2707,3265,3213,2823,2293,2209,2472,2828,2462,2206,2377,2359,2298,2048,1943,1946,1858,1780,1893,2319,2191,2144,2009,1691,1800,2250,2110,1640,1499,1936,2320,2182,1891,1650,1833,1980,1888,1947,1923,2090,1499,1378,2204,2697,2873,3252,3012,2684,2488,2488,2112,2205,2369,2254,2702,3309,2990,2430,2482,2554,2598,2332,2105,2344,3063,3203,3264,3230,2854,2368,2212,2003,2025,2734,3384,3562,3064,3060,3199,3287,3514,2954,2133,2431,3033,3112,2869,2604,2618,3248,3266,2676,2521,2585,2037,1968,2143,1986,1945,2343,2295,2051,1835,1946,2500,2797,2402,2414,2503,2909,3112,3142,3049,3006,3090,3117,2955,3056,2697,2237,2313,2395,2302,2124,2169,2642,3078,3327,3641,3204,2972,3130,2928,2879,2819,2528,2265,2214,2061,2181,2734,3211,3522,3789,3586,3208,2622,2146,2057,2500,3123,2267,2733,2380,2091,2219,2584,3150,3406,3330,3269,3465,3401,2717,2312,2451,2225,2424,2400,2522,2643,2230,1992,2372,2289,1751,1715,2100,2124,2044,2178,1996,1748,1792,1708,1742,2065,2448,2239,1900,1720,1599,1917,2729,3205,2311,1637,2075,3040,3869,3790,3354,3840,3542,3162,2452,3153,3728,3596,3430,3659,4068,3906,3628,3041,2184,1650,1566,1701,1918,1868,1844,2247,2718,2903,2964,2994,3117,3104,2632,2307,2856,2509,1897,1930,2248,2354,2159,1943,1973,1746,1427,1353,1250,1316,1126,1119,1355,1435,1475,2057,2092,2218,2577,2734,2696,2788,2842,2492,2796,3884,3758,3116,2089,1857,2186,2323,2265,2001,1654,1590,1832,2048,1775,2301,2734,3009,2876,2867,2954,2843,3150,3723,3731,3392,2845,1897,1720,2393,2294,1848,1836,2185,2929,3215,3109,2643,2142,2479,2665,2500,2396,2322,2620,2734,2770,2954,2763,2789,2938,2353,1978,2026,1732,1650,1802,2071,2637,2328,2098,2428,2618,2390,2282,2618,2505,2547,2749,2779,2569,1852,1788,2435,2658,2874,2673,1684,2029,3117,3520,3698,3329,2927,2897,2104,1958,2034,2349,2548,2352,2458,2401,1924,2185,2165,1682,1758,2010,1857,2082,2173,2030,2316,2511,2133,2270,2857,3082,2686,2460,2220,2160,2813,3225,2867,2103,2074,2522,2513,2294,2759,2586,2768,2994,2733,2464,1819,1674,2331,2712,2099,2046,2187,2074,1930,1638,1806,2326,1807,1751,1722,2590,3423,3078,2679,2391,2159,2016,1860,1592,1540,1610,2282,2554,1972,1230,1296,1214,1086,1484,2112,2558,2851,3006,3309,3839,3464,3459,2698,2014,1817,1955,2254,2160,2442,2500,2235,1957,1764,1640,1555,1802,2570,2293,2191,2404,2314,2110,1869,1809,1767,1760,1761,1582,1470,1508,1670,1405,1355,1413,1484,1654,2098,2306,1907,1652,1541,1594,1658,1905,1705,1580,1650,1672,1870,1709,1622,1976,2054,2086,2381,2086,1780,1860,1933,1678,1666,1806,1824,1746,2631,2801,2589,2300,1789,1965,1900,1923,2402,2228,2239,2337,1947,1855,1752,1936,2441,2566,2610,2525,1729,1926,2093,2297,2225,2212,2269,2337,1752,1527,1849,2602,3061,2641,3097,2806,1896,2190,2355,2430,2277,2068,2277,2557,2588,2119,1820,1488,1410,1483,1624,1744,1630,1616,1838,2284,2392,2206,2104,1972,1788,1804,1731,1455,1465,1650,1924,1794,1383,1824,2024,2144,2688,2971,3043,2886,2575,2293,1802,2082,1922,1783,2574,2702,2321,2413,2211,1631,2060,2502,2217,2554,2038,2009,2315,2874,3533,3828,3188,3306,3041,2264,1772,1510,1923,2535,2338,1998,1863,2070,2261,2192,2015,2032,1929,2410,3193,2986,2702,2172,1631,1725,2101,2253,2110,2050,2423,2690,2845,2620,2054,2150,2792,2060,1624,1786,1836,1712,1908,1888,1388,1345,1497,1500,1785,2131,1907,1889,1933,2155,2104,2261,2185,2365,2711,2680,2376,1772,1812,2569,3209,2930,2858,2392,2419,3243,2976,2326,2109,2019,1965,1872,1630,1380,1475,2054,2066,1748,1843,2036,2301,2791,3106,2524,2512,3156,3285,2784,2601,2370,2863,2701,2623,2895,2810,2713,3081,2886,1997,1484,1437,1625,1732,1516,1740,1499,1353,1616,1701,1719,1843,1754,1883,2754,2725,2046,1983,1690,1964,2541,2595,2986,3036,2216,1975,2922,3517,3160,3321,3542,3504,3480,3928,4009,3601,3552,3432,3104,3075,3304,3169,3077,2997,2674,2974,3340,2919,3028,3176,3284,2325,1644,1807,2227,2173,1913,1776,1876,2156,2005,1359,1760,1907,2153,1979,1662,1495,1612,2022,2203,1828,1543,1564,1642,1997,1993,1823,1744,1675,1918,2841,3377,3439,3156,1866,954,1478,1932,1888,1720,1802,1874,1746,2054,2644,2773,2810,3170,3728,4304,3846,3618,3893,3786,3881,4064,3824,3786,3952,4012,4532,4860,4828,4860,4476,3904,3581,3609,2967,3758,4465,4052,3036,3039,3265,3421,3196,2400,2897,3666,3528,3233,3572,3584,4016,4224,4156,4268,3942,3086,2093,1862,2453,2810,2415,2327,2341,2898,3060,2973,2639,2383,2254,2204,2187,2965,2889,2016,2403,1938,2473,3401,3009,2679,2657,2533,2342,2126,1940,1914,2018,1945,1865,1936,2144,2102,1925,1829,1777,1807,1975,2006,1687,1861,1859,1986,2208,1920,1804,1638,1532,1762,1991,1980,2018,1928,1938,2014,2141,2265,1765,1919,1989,1919,2231,2520,2557,2695,2371,2249,2417,1798,1923,2852,2806,2146,2098,2072,2030,1848,2429,2988,2331,1844,2057,2632,2679,2607,2541,2248,1776,1777,1888,1702,1485,1609,1671,1666,1557,1616,2269,3406,3666,3661,3741,3864,3989,3929,3664,3393,2977,2284,1375,1210,1286,1426,2018,2546,2808,2526,2446,2571,2267,1966,2546,2615,2112,2329,2688,2502,2309,2402,2436,2209,2286,2262,1791,1970,2204,2259,2602,2180,2040,2399,2587,1974,1865,1697,1899,1801,1713,1544,1511,1607,1644,1649,1530,1450,1466,1376,1426,1260,1158,1274,1342,1332,1560,2164,2052,1512,1561,1589,1640,1362,1309,1583,1687,1888,1776,1578,1430,1374,1505,1576,1506,1485,1776,1633,1410,1621,2143,2239,1950,1717,1606,1560,1806,1772,1654,1468,1431,1449,1465,1578,1630,1926,2602,2499,1900,1834,2036,2164,1950,1381,1359,1682,2680,1786,1431,2073,2016,1988,2093,2013,1946,2273,2220,1852,1988,2266,2798,2864,2391,2402,3372,3696,3533,3353,2939,2432,1948,1844,1995,2085,2734,2670,2896,3000,2805,2695,2541,2855,3001,2987,3242,2861,3093,2952,2962,2778,2397,2138,3043,3297,2207,1750,1604,1926,2370,2225,2376,2016,2155,2278,2045,2040,2886,2906,2506,2541,2144,1882,1903,1766,2247,2120,1866,2488,2712,2854,3130,2842,2199,2338,2364,2186,2190,2040,2116,3044,3870,3144,2520,2830,3160,2746,2402,2287,2498,2409,2475,2543,3138,3153,3030,3580,3464,2902,3353,3322,2392,2080,2396,2242,1605,1576,2386,3018,3695,3602,3094,2962,3316,3638,3429,3250,3278,3212,3216,3509,3151,2862,2641,2458,2918,2945,2256,2353,2742,2401,2215,2529,3138,2652,2556,2475,2425,2724,3496,3294,2399,2286,2798,2802,2774,2685,2884,2714,2836,2832,2299,2800,2836,1978,1583,1788,1970,2050,2283,2391,1704,1863,2386,2566,2622,2296,2679,3309,3443,2788,1840,1704,1798,1892,2204,2402,2280,2062,1801,1877,2182,2350,2222,2049,2165,2264,2249,2100,1997,1642,2404,2176,1759,1892,2427,2210,2259,2391,2166,2115,2036,2102,2249,2115,2181,2048,1582,1449,1836,1660,1347,1694,2358,2756,2405,1766,1632,1714,2049,2475,2452,2205,2381,2808,2918,2966,2875,2949,3615,3897,3688,3216,2886,2612,2032,1998,1695,1810,2366,2453,2664,2916,2509,2064,1987,2140,2411,2802,2460,1961,2082,2392,2146,2056,2298,2438,2380,1986,1729,2957,3560,3602,3415,3293,3487,3097,2718,3238,4532,4964,4588,4147,4120,2932,2588,2974,2916,2836,2724,2666,2688,2846,2830,2687,2916,2942,2659,2658,2664,2706,2674,2768,2691,2495,3210,3801,3096,2243,2141,2537,3549,3484,2738,2335,2137,2216,2320,2036,2369,2776,2094,1869,1596,1288,1938,2178,2344,2383,2437,3113,3384,3215,2967,2686,2364,2081,1731,1902,2135,2013,1924,1630,1556,1809,2039,1803,1753,2208,2707,2632,2042,2143,2418,2394,2453,2031,2126,2401,2227,1742,2079,2818,2955,2879,3211,3068,2688,2842,2482,2127,2198,2132,2238,2148,2012,1804,1852,2074,1823,1896,2184,2099,1989,2194,2470,2769,2651,2110,2139,2234,2484,2066,2801,3549,3930,3322,2483,3098,3031,2265,2586,2800,2290,2389,1913,2228,2842,2835,2784,2430,2487,2602,2286,2376,3207,3227,2723,2941,2141,1690,2181,1606,1229,1504,1271,2366,3794,3459,2207,1861,1914,2093,2673,2398,2253,2182,1808,1813,2003,2037,2098,2469,2336,2110,2574,2524,2484,2389,2469,2556,2690,2802,3576,4208,4228,4183,4071,3559,2946,2203,2234,2096,2076,1833,2495,2801,2911,3249,2928,2753,2759,2361,1858,2126,2996,3210,3470,3241,3190,3129,2775,2548,2546,2750,2916,2297,2322,2186,2160,2208,2664,2426,3167,3269,2323,1933,2393,2437,2062,2781,2632,2083,1868,1984,2129,1848,1763,1885,2609,2925,2602,2337,2296,2081,2462,3556,3719,4472,4668,4458,4047,3146,3378,3836,3707,3272,3137,3652,3703,3430,3105,2968,3255,3161,2999,3068,3426,3892,3806,3460,3294,3421,3206,3200,3486,3538,3631,3704,2808,2664,2908,2188,2191,2445,2366,1970,2119,2842,2899,2459,2228,2549,2206,1965,2112,2480,2995,2946],[2713,3672,4285,3881,3553,3521,3107,2411,2517,2829,3141,3181,3333,3325,3660,3802,3233,3226,3513,3184,2841,2550,2599,2764,3350,3465,3518,3283,2927,2743,2803,3146,3054,2204,1830,1866,2063,2437,3166,3053,2987,3133,3203,3356,3233,2964,2841,3177,3576,3493,3616,3542,3223,2697,2325,2568,3444,3689,3498,3137,3054,3208,3460,3813,4169,3929,3633,3364,2423,2081,1843,2384,3104,3459,3559,3700,3585,3134,2964,2894,3254,3198,3040,2798,2936,3329,3315,3420,3208,2564,2546,2470,2206,2010,1875,2605,2767,2686,2406,2379,2739,2867,2798,3093,2883,2811,2599,1990,2107,2302,2757,2470,2100,2381,2536,2322,2027,1807,1969,2192,2272,2599,2351,2110,2387,2187,2117,1992,2019,2008,1669,1619,2000,2087,2092,2008,1776,1956,1807,1826,1883,2087,2060,1687,1781,2032,2127,2635,2625,2417,2610,2834,2990,2626,2221,2430,2736,3000,2954,2647,3063,3626,3582,3074,2403,2065,2298,2811,2705,2162,2490,2954,2883,2972,2562,2318,2515,2584,2740,3353,3562,3595,3201,3307,2937,2403,2459,3007,3526,3485,2976,2774,2808,2677,2073,2284,2414,2041,1869,2150,2234,2286,2555,2720,2360,2313,2588,3051,2922,2678,2398,2599,2790,2841,2814,2866,2565,2177,2542,2065,2339,2463,2566,2473,2353,2019,2120,2691,2885,2875,3198,3522,3112,2998,3109,2977,2846,2602,2276,2305,2295,2233,2075,2315,2910,3222,3559,3266,3200,2953,2736,2490,2886,3012,2708,2590,2422,2350,2321,2867,2721,2779,3064,3488,3768,3458,2696,2330,1908,1942,2098,1982,2412,2470,2349,2433,2262,2060,1742,1474,1679,2262,2360,1995,1706,1598,1586,1724,1863,2511,3008,2640,2007,1951,1744,1779,2495,2536,1826,1835,2237,3062,3658,3362,2865,3691,3588,3019,2334,3116,3806,3666,3521,3480,3739,3881,3918,3863,3587,3072,2442,1932,1832,1780,1784,2079,2093,2169,2454,2587,3105,3643,3029,2751,3062,2918,2536,2546,2570,2463,2508,2751,3079,2853,1969,1791,1826,1838,1184,1791,1903,1253,1573,2105,2140,2405,2354,2481,2378,2786,2668,2693,2932,2996,3177,3342,2577,2019,1997,2126,2229,2047,1752,1936,2108,2023,1833,2380,3234,3698,3443,3073,2913,2775,2954,3212,2683,2218,2397,1956,1922,2347,2036,1580,1575,1951,2727,3238,3240,2972,2459,2296,2869,2892,2346,2460,2822,2620,2531,2858,2931,3211,2979,2114,2048,1864,1673,1935,2186,2375,2119,1580,1803,2047,2134,2147,2570,3164,2837,2792,2899,2999,2845,2530,2380,2554,3120,3292,2489,1843,2839,3574,3913,3829,2920,3038,2437,1929,2093,2256,2347,2264,1951,2044,1970,2153,2765,2211,1543,1521,1893,1949,1691,2042,2148,2524,2900,2173,2055,3188,3438,2343,2536,2164,2427,3173,3583,2741,2100,2354,2508,2508,2996,3493,3134,3169,2306,2387,2439,1955,1837,2784,2654,1883,1886,1998,2285,2711,2070,2467,2645,2118,2017,1802,2110,2564,2879,3332,3155,2686,2546,2139,2033,1740,1448,2050,1969,1345,957,1597,2388,2420,2215,2664,2997,3019,3406,4117,3876,2683,2036,2115,2091,2001,1908,1836,2135,2448,2248,1825,1848,1879,1521,1528,1794,2383,2955,2470,1857,2117,2207,1893,1811,1811,1885,1636,1599,1580,1418,1512,1500,1381,1217,1457,1673,1831,1900,1683,1544,1525,2215,2401,2152,1856,1588,1305,1765,2330,2200,1995,1950,2013,1961,2136,1854,1477,1666,1781,1763,1997,2270,2439,2381,2339,2248,2191,2055,1886,1849,1929,2060,1968,1820,2121,2412,2128,1669,1697,2262,2554,1692,1762,1787,1589,1962,2118,2412,3309,3245,2751,2182,1420,1134,1222,1902,2658,2624,3127,2416,2413,2540,2646,3305,3228,2441,2393,2832,2515,1774,1556,1239,1336,1251,1874,1857,1532,1691,1843,2269,2576,2342,2387,2483,2439,2370,2168,2352,1910,2014,2029,1937,1799,2059,2217,2153,2236,2623,2957,2811,2791,2003,2089,2108,1614,1460,2351,2548,2099,2554,2379,1753,2377,2575,2403,2473,2017,2058,2329,2402,2505,2670,2482,2351,2197,2141,1804,2098,1844,1748,1719,1587,2007,2237,2336,2148,2308,2333,1859,1984,2185,2112,2272,2162,1919,2099,2510,2966,2788,2417,2237,2349,2403,2412,1908,1870,2674,2211,1599,1583,1576,1520,1753,1954,1834,1712,1908,2132,1991,2088,1967,1977,1966,1960,1903,1957,2146,2157,1768,1307,1369,1007,1142,2268,3073,2393,2055,2085,2147,2903,3335,2928,2365,2110,1938,1936,1827,1857,1943,1876,1984,1974,1932,2124,2613,3149,2918,2302,2596,3124,3210,2765,2421,2675,2586,2236,2409,3091,3051,2822,2658,2011,1613,1539,1546,1723,1646,1590,1721,1462,1847,2054,1667,1631,1726,1874,2559,2758,2042,1785,1954,1811,1820,1878,2104,2373,2184,1900,1701,2199,3318,3223,3527,3550,3651,3671,3994,3964,3637,3540,3413,3182,3042,3225,3265,2876,2673,2736,3000,3248,3083,3123,3046,2657,1791,1581,1892,1773,1656,1746,1688,1544,1682,1944,1909,1838,2045,2010,1553,1443,1643,1993,2021,1720,1525,1919,1803,1946,2289,1977,1509,1507,1862,2652,3528,3626,3356,2371,1106,726,1431,1984,1983,1827,1932,1937,1799,2071,2519,2637,2987,3666,4234,4169,3428,3108,3705,3686,3622,4074,3906,3714,3882,3949,4436,4843,4807,4415,4344,4357,4099,3869,3361,3321,3704,3977,3657,3499,3301,3432,3270,2757,3441,3725,3738,3621,3662,3540,3768,3994,4141,4222,4085,3876,3056,2075,2345,2813,2690,2653,2481,2679,2733,2736,2770,2487,2149,1955,2115,3466,3592,2319,2227,1980,1762,2099,2099,1764,1609,1656,1593,1863,2229,2098,2388,2235,1743,1684,2010,2082,1854,1748,1686,1511,1886,2138,1723,2108,2231,2104,1961,1734,1696,1722,1730,2060,2260,2309,2460,2612,2597,2239,1795,1951,2294,2657,2917,3075,3199,3312,3374,3261,2539,1891,2062,1887,1735,2792,2930,2275,2084,2051,2150,2205,2635,2587,1991,1909,1912,2513,2647,2707,2787,2386,1802,1691,1944,1745,1849,2055,1579,1500,1417,1535,2369,3652,4052,3973,3827,3761,3813,3887,3916,3826,3896,3814,3188,2696,2056,1299,1094,1388,1786,2033,2089,1943,1629,1902,2273,2152,2127,2465,2675,2460,2391,2697,2758,2788,3082,2402,1729,2184,2259,3013,2490,2143,2270,2886,2457,1777,1759,1801,1761,1782,1695,1812,2442,1686,1547,1384,1404,1448,1545,1517,1422,1236,1129,1093,1198,1249,1274,1383,1417,1281,1602,2009,1813,1278,1173,1406,1527,1655,1678,1678,1558,1504,1500,1394,1467,1575,1697,1625,1586,1802,1973,2078,1836,1482,1448,1329,1550,1699,1694,1672,1757,1637,1466,1683,2041,2297,2267,1696,1466,1527,1729,2099,1786,1569,1416,1810,2370,1671,1499,1749,1828,1998,1989,2145,2095,2319,2253,2194,2233,2545,2641,1903,1571,2686,3931,4328,3946,3075,2561,1926,1869,1687,1611,2331,3133,3013,2744,2508,2364,2036,2568,3014,3350,3255,3144,3522,3209,3032,3532,3219,2206,2141,2572,2778,2810,2220,1892,1990,2166,2271,2206,1966,1989,2293,2156,2099,2947,2909,2434,2527,2342,2307,1933,2003,2266,1887,1663,2341,2915,2780,2541,2178,1739,2585,2577,2248,2480,2520,2060,2836,3717,3274,2471,2676,2876,2405,2380,2786,2724,2376,2365,2459,2818,2822,2941,3201,2897,2530,2946,3363,2645,2354,2522,2484,2132,1898,2744,3215,3496,3473,2767,2787,3084,3454,3559,3604,3362,3057,2626,3253,3212,2486,2177,2344,2890,2787,2409,2614,2614,2051,2019,2050,2366,2365,2268,2474,2604,2758,3109,3033,2596,2288,2614,2766,2490,2347,2513,2093,2474,2305,2119,2299,2045,1938,1955,2456,2455,2768,3064,2640,1997,2050,2434,2341,2077,2346,2734,3327,4005,3356,2049,1685,1778,2572,2526,2258,1884,1732,1555,1446,1612,1962,2635,2820,2675,2771,2702,2542,2208,2158,2685,3164,2720,1941,1777,1758,1561,1596,2291,2935,2772,1981,2298,1685,1692,1813,1685,1523,1780,1824,1766,2158,2320,2119,1967,1469,1650,1693,1966,2254,2298,2248,2147,2040,2111,2454,2621,2994,3768,3979,4052,3782,2370,1772,1979,2030,2110,2778,3323,3254,3152,2998,2653,2370,2113,2117,2257,2407,2232,1824,2276,2793,2398,2135,2163,2025,1860,1970,1895,3316,3750,3539,3564,3720,3558,2893,2915,3590,4738,4912,4103,4112,3896,2856,2876,2921,2819,2844,2807,2698,2644,2980,2909,2945,2957,2809,2570,2666,2869,2865,2521,2799,3333,3531,3484,3407,3018,2856,2749,2537,3094,4245,4101,3185,2179,1984,2640,2428,2411,2421,1868,1754,1650,1458,1936,2224,2251,1859,2176,3164,3551,3525,3500,3385,2846,2211,1740,1962,2302,2030,1992,2157,2255,2195,2105,2141,1965,1881,1880,2016,2149,2610,2847,2649,2400,2315,2331,2458,2813,2160,1765,2244,2980,3430,3520,2918,2657,2805,2404,2464,2586,2547,2203,1897,2092,2042,1999,1957,1907,2124,2158,2056,2208,2279,2065,2006,2000,2181,2580,2143,1708,1596,2421,3645,3698,2952,2667,3704,4153,3242,2466,2698,2345,2256,2409,2952,2488,2356,2291,2303,2790,2763,2209,2053,2097,2321,2268,2619,2044,1644,1435,1316,1324,1118,1026,1625,2431,2714,2718,2461,2417,2430,2545,2200,2317,2230,1966,1925,1979,2184,2281,2446,2269,1852,2214,2216,2565,2608,2556,2641,2257,2160,2907,3583,3785,3639,3899,3749,2476,1489,1922,1825,1936,2635,3256,3032,2809,2708,2608,2475,2484,2259,2199,2147,2603,2844,2978,3116,3173,2908,2425,2273,2547,2950,3149,2688,2625,2473,2667,2741,2795,2876,3448,3197,2269,2209,2875,2820,2341,2843,2209,2234,2015,2050,2136,1991,1877,2051,2376,2683,2618,2393,2410,2477,3514,3896,3696,4264,4445,4245,3566,3401,3925,4072,3669,3199,2611,3284,3340,3542,3384,3099,3237,3187,3066,2883,2951,3426,3628,3684,3417,3645,3526,3491,3541,3484,3376,3673,3285,2878,2396,1554,1215,1772,2913,2785,2723,2944,3083,2587,2775,2797,2789,2505,2187,2530,2974,3066],[3733,4237,4209,4057,4048,3948,3759,3177,3142,3376,3442,3497,3650,3604,3828,4059,3830,3896,4000,3538,2894,2812,2798,2764,2863,3149,3421,3626,3561,3117,2939,2994,3182,2959,2646,2388,2441,2942,3199,3151,3341,3393,3458,3537,3492,3269,3241,3137,3286,3123,3432,3671,3743,3417,2854,2915,3334,3407,3166,2740,2646,2956,3410,3794,3773,3525,3473,3517,3212,3085,3173,3107,3116,3263,3544,3748,3517,3317,3051,3008,3206,3010,2906,3023,3103,3220,3190,3400,3476,2972,2463,2147,2177,2215,2166,2544,2811,2822,2712,2986,3212,2764,2508,2959,3218,3330,2721,2278,2404,2388,2380,2225,2123,2297,2517,2567,2295,1743,1820,2044,2565,3010,2770,2386,2346,2137,2064,2087,1991,1921,2154,2374,2143,1729,2109,2231,1857,1779,1704,1713,1883,2141,2083,2041,2337,2543,2319,2129,1952,1989,2548,2942,2768,2052,1764,2314,2661,2905,2862,2570,2744,3271,2958,2691,2617,2073,2064,2890,2828,2266,2854,2544,2012,2451,2669,2687,2919,2735,2293,2666,3278,3386,2975,2780,3431,3742,3334,3519,3458,3146,3019,2964,2824,2564,2742,2834,2636,2235,2176,2451,2371,2291,2546,2600,2232,2022,2238,2553,2544,2653,2024,1808,2122,2249,2238,2564,2183,2138,2587,1689,1489,2013,2408,2706,2713,2087,2388,3106,3387,3713,3342,3362,2927,3106,3113,2931,2880,2250,2188,2519,2113,2224,2348,2530,3060,3286,3472,3218,2965,2932,2700,2580,2790,2865,2757,2397,2392,2382,2740,3203,2911,2533,1926,2708,3597,3316,2475,1769,1426,2142,2411,2252,2284,2018,2115,2050,1882,2196,2056,1754,1956,2452,2253,2193,2397,1926,1510,1850,2426,3110,3138,3488,3288,2791,2304,2210,2394,2238,2150,2078,2297,2940,3046,3219,3309,3565,4020,3421,2955,3917,4337,4000,3976,3782,3956,3587,3684,3890,3781,3540,3254,2832,2368,2023,2121,2669,2406,2141,2125,2197,2428,2785,2556,2742,2920,2622,2533,2730,2923,3080,3280,3233,3182,3316,2654,2798,2608,2125,1728,2041,1652,1094,1816,2576,2460,2580,2344,2671,2896,2610,2264,2784,2498,2270,2853,2912,2374,2235,2645,2677,2362,2314,2309,2448,2486,2177,1660,2199,3343,3594,3344,3309,3161,3022,2989,2579,1508,1807,2316,2336,2281,2398,2562,2511,2601,2533,2561,2666,2524,2329,2249,2029,2251,2256,2192,2419,2686,2695,2867,3094,2920,2879,3040,2875,2644,2369,2303,2202,2520,2876,2367,2173,2229,1876,1975,2215,2551,2957,2788,2584,2744,2972,3064,2853,2490,2880,3248,2911,2997,2945,3543,3859,3641,3217,3020,2654,2014,2059,2343,2576,2552,2344,2108,2044,2123,2076,2317,1891,1375,1805,1930,1779,1920,2232,1960,2379,3365,3270,2898,3592,3884,2939,2268,1751,2453,3313,3321,2437,1964,2097,2303,2467,2950,2934,2695,2485,2456,2269,1969,1887,2176,2454,2366,1736,1536,1974,2387,2481,1920,1888,2131,2200,1952,1949,2339,2226,2414,2784,2546,2178,2870,2884,2244,2116,1852,2227,1834,1389,1472,1972,2688,3428,3179,3363,3311,2315,2818,4116,3295,2143,1512,1631,1952,2302,2413,1917,2257,2474,2247,1702,2149,2074,1576,1571,1565,2034,2479,2043,1686,1876,2009,1566,1240,1736,1747,1485,1420,1272,1318,1306,1422,1420,1466,1524,1555,1606,1479,1279,1371,1472,2194,2196,1616,1610,1288,1421,2213,2400,2667,2492,2059,1902,1789,1908,1980,1622,1600,1631,1699,1636,2000,2681,2880,2358,1821,1633,1708,1787,1914,2157,2259,2185,2294,2579,2478,1950,2125,2330,2513,2997,2521,2330,1896,1992,2223,2139,2622,3414,3496,2923,1908,1599,1410,1599,2325,2733,3041,3090,2330,2109,1928,2068,3089,3334,3086,3023,2460,2040,1712,1644,2091,2279,1738,1970,1859,1650,2136,2238,2165,2066,1964,1914,2156,2374,2408,2267,2225,1950,2198,2543,2431,2058,2080,2242,2421,2078,2194,2110,2581,2454,1904,2265,2469,2001,1476,1836,2357,2140,2472,2446,2498,2907,2911,2489,2308,2376,2265,2100,1865,1396,1324,1537,2084,2299,1928,2275,2952,2222,1951,1607,1788,2266,2490,2414,1842,2366,2244,2032,2364,2107,2191,2165,2321,2547,2635,3240,3250,2059,1952,2088,2173,2348,2968,2533,2282,2645,2403,1739,1778,1980,2179,2086,2043,1969,1871,1954,1848,1873,1948,1960,1798,1487,1456,1340,1234,1755,2068,1731,1174,1324,1432,1415,2098,2736,2375,1874,1937,1909,2187,3032,3375,2676,2542,2090,2094,2033,2268,2259,1957,1934,2120,2288,2530,2966,3212,2654,2678,3106,3498,3420,2851,2569,2322,2409,2365,2420,3244,3176,2347,1805,1620,1484,1451,1527,1621,1403,1301,1595,1693,1570,1729,1776,1749,1638,2109,2784,2138,1679,2152,2242,1850,1730,1682,1960,2281,2030,1986,1915,1752,2692,2850,3099,3291,3619,3632,3654,3710,3684,3670,3344,2817,2963,3263,3576,3074,2750,2987,2978,2784,3152,3118,2702,2143,1730,1767,1866,1738,1722,1660,1526,1471,1488,1714,2338,2570,2278,1698,1453,1602,1946,1947,1631,1483,1855,1912,1804,1924,1908,1682,1351,1709,2609,3384,3892,3400,2180,1416,1099,1203,1606,1928,1861,1645,1687,1899,2024,1838,2018,2854,2862,3085,2959,3441,3282,3374,3881,3448,3318,3933,4013,3768,4079,3886,4176,4660,4327,3719,3670,3949,4138,4267,4112,3537,3823,3939,3841,3494,3354,3497,3565,3529,3725,3470,3200,3528,4014,3936,3796,3848,3920,4043,4011,4015,3873,2833,2754,3027,2950,2821,2779,2562,2399,2536,2327,2054,2040,1919,1891,3277,3794,2578,2068,2054,1665,1741,1690,1292,1410,2004,2000,2608,2712,1881,2083,2564,2235,1759,1730,1669,1505,1595,1761,1422,1841,2163,1715,2154,2313,2151,1909,1523,1850,2383,2441,2545,2315,2122,2174,2238,2069,2133,1886,2133,2813,3210,3415,3487,3492,3428,3290,3225,2700,1782,1692,1670,1613,2397,2496,2192,2058,1998,2144,2352,2420,2053,2154,2142,1984,2568,2746,2634,2492,2354,2085,2060,2187,1830,1637,1592,1302,1467,1522,1523,2371,3596,4164,4208,3882,3598,3649,3798,3893,3724,3798,3865,3882,4035,3942,3249,2345,1561,1197,1158,1478,1777,2028,2435,2160,2322,2276,2444,2359,2146,2246,2741,3043,3124,2812,1864,2047,2150,2401,2814,2329,2269,2587,2419,1737,1628,1775,2000,2044,1785,1564,1531,2041,1520,1246,1248,1291,1355,1444,1487,1435,1372,1333,1306,1235,1331,1259,1325,1390,1172,1481,1858,1665,1263,1313,1414,1334,1556,1838,1739,1711,1686,1486,1690,1833,1768,1572,1521,1774,2008,2317,2645,1851,1387,1180,1158,1429,1590,1576,1759,1932,1803,1636,1698,1760,1696,1799,1467,1875,1744,2075,2491,1806,1697,2149,2442,2360,1933,1878,1625,1931,2390,2318,2379,2254,2408,2236,2076,1880,2096,2574,2212,2293,3075,3948,4183,3414,2792,2480,1998,2289,2033,1887,2742,3132,2972,2857,2373,2441,2100,2431,2532,2776,2769,3472,3903,3064,2618,2944,2494,1818,2231,2644,3277,3175,2744,3105,2391,1862,2110,2321,2128,1923,2104,1983,1775,2084,2508,2334,2105,2165,2242,2015,2109,2139,2170,2291,2553,3020,2784,2096,1760,2414,2808,2592,2237,2558,2749,2053,2254,3116,2998,1988,1937,2112,2225,2678,3326,3122,2688,2256,2265,2589,2818,2780,2584,2564,2979,2955,3472,3107,2988,2766,2662,2053,1925,2908,3287,3498,4012,3383,2617,2853,2901,3019,3128,2898,2670,2302,2526,2406,2010,1981,2454,3083,3016,3045,2833,2241,2343,2236,2164,2465,2686,2986,3278,3211,3112,3155,2824,2700,2454,3052,2740,2590,2136,1747,1567,2314,2388,1899,1959,1992,1910,1914,2906,3182,3120,3248,2897,2386,2368,2932,2464,2231,2864,2380,2494,3782,3454,2189,1785,2137,2470,1768,1612,1919,1880,1753,1660,1660,1848,2701,2428,2645,3188,3264,3069,2757,2422,2601,2916,2763,2511,2148,1781,1311,1340,2715,3504,3007,2008,2137,1595,1377,2199,2182,1570,1632,1664,1908,1930,1747,2097,2109,1561,1803,1918,1796,1745,2136,2230,1802,1773,1991,2012,2366,2938,3514,3895,3962,3617,2544,2168,2407,2166,2550,3753,3945,3496,2901,2397,2338,2605,2199,1933,2041,2244,2232,2059,2328,2469,2443,2402,2371,2096,2020,2014,2276,3586,3969,3640,3753,3817,3753,3406,3614,3969,4356,4284,3945,3761,2832,2564,2766,2850,2843,2802,3072,3003,2868,3189,2748,2812,2822,2504,2724,2943,2862,2875,2867,2933,3094,3587,2985,2666,2252,3218,2822,2518,3518,4026,3891,4009,2849,2500,3183,2808,2186,1683,1531,1492,1715,1969,2195,2166,1810,1586,1954,2674,3473,3680,3626,3486,2803,2116,1902,1938,2064,1949,1837,2059,2232,1870,1924,2355,2281,1888,1690,1692,1731,2139,2654,2721,2261,1997,1603,1693,2105,1935,1763,1956,2322,2991,3135,2576,2597,2633,2501,2457,2290,2493,2229,1833,2083,2238,2100,1969,2054,2117,1948,1654,1882,2557,2535,2625,2667,2676,2872,2239,1623,1513,1764,2387,2677,2570,2580,3838,4300,3499,2307,2081,2070,2272,2385,2668,2652,2278,1761,1801,2112,2405,2156,2110,2293,2018,2007,2300,2387,2101,1549,1632,1879,1779,1749,1880,2411,2732,2952,3057,2851,2609,2564,2402,1822,1533,1884,2103,2254,2465,2354,2392,1967,1935,2166,2298,2371,2611,2893,2766,2557,2416,2624,2664,3040,3076,3454,3528,2202,2311,2666,2270,2414,2865,2888,3018,2841,2380,2348,2490,2646,2524,2086,1691,2194,2286,2156,2559,2846,2728,2577,2468,2730,3150,3517,3312,2956,2867,3095,2798,2258,2779,3658,3614,2416,2464,2798,2908,3249,2834,2282,2624,2410,1922,2049,2151,1862,2530,2632,3023,2856,2523,2381,3283,4214,4365,4071,3782,3843,3581,3225,3414,3393,3533,3574,3555,2784,2855,2521,3136,3419,3078,3193,3271,3083,2713,2902,3207,3471,3417,3376,3465,3626,3840,3662,3475,3497,3464,3163,2666,2745,2311,1702,2053,3122,3317,3099,2969,2720,2670,3040,3040,3036,2733,2163,2201,2749,2864],[3962,4064,4003,4090,4455,4648,4308,3543,3394,3497,3464,3631,3716,3659,3702,3915,3676,3572,3775,3842,3417,3543,3088,2222,1860,2131,2800,3559,4087,4046,3813,3484,3664,3305,2916,2810,2904,3172,3419,3564,3582,3387,3020,3164,3410,3300,3289,3073,3034,3062,3308,3410,3484,3416,3096,2853,3056,3022,2812,2578,2526,2957,3476,3584,3539,3623,3594,3799,4129,4219,4332,4241,3728,2994,3015,3350,3566,3398,3176,3085,3122,2731,2664,3031,3017,3043,2973,3112,3617,3394,2743,2429,2711,2929,3106,3234,3188,2924,3085,3315,2492,2020,2095,2953,3620,3560,2924,2343,1987,2174,2312,2036,2040,2567,2881,3124,2941,2268,2518,2897,2890,3063,2898,2313,2094,2027,2081,2064,1909,1591,1914,2120,1784,1711,1968,1935,2121,2275,2186,2004,2207,2220,1957,2455,2841,3004,2543,1882,2031,1956,1826,1788,2042,2271,2545,2553,2080,1762,2419,2797,2680,2795,2340,2453,2537,2176,2272,3030,3836,3762,3595,2345,1944,1988,1813,2358,2968,2885,2420,2840,3162,3015,2770,3121,3812,3982,3352,3518,3440,2900,2947,3299,2877,2610,3078,3042,2590,2086,2366,2447,2213,2074,2481,2698,2676,2551,2702,2491,2504,2427,1983,2015,1795,1948,2527,2767,2014,2375,2910,1950,1409,1992,2545,2822,2644,2743,2968,3205,3460,3897,3730,3294,2755,3005,3138,2954,2834,2133,2355,3068,2447,2773,2880,2670,3164,3604,3731,3605,3244,2872,2473,2612,2899,2939,2959,2586,2497,2480,2898,3157,2843,1764,1850,2833,3308,3151,2986,2780,2407,2593,2260,1947,2037,2314,2044,1658,2116,2032,1837,2057,2121,1864,2020,2072,1963,2170,1838,2307,2845,3054,3227,3777,3914,3167,2339,2549,2655,2229,2212,2201,2765,3377,3304,3100,3047,2953,3107,3337,3386,3887,4401,4228,4234,3990,4072,3775,3727,3724,3405,3303,3509,3342,3174,2908,2618,2938,2697,2199,2093,2164,2065,2395,2183,2053,2208,2309,2333,2332,3146,3577,3536,3217,2961,3278,3165,3409,3227,2973,2702,2043,1663,1508,1724,2257,2410,2381,2940,3727,3430,2811,2528,2308,2132,2229,2261,2293,2004,2473,3011,2982,2414,1997,2084,2209,2185,2099,1640,1928,2845,3051,2663,2909,2938,2621,2530,2953,2701,2757,2496,2254,2392,2793,3198,2777,2464,2214,1955,1812,2184,2746,2779,2379,2354,2438,2236,2309,2364,2306,2563,2881,2398,2469,3165,3168,2922,2702,2466,2056,2668,3331,2758,2535,2482,2302,1968,1980,2016,2351,2351,2429,2791,2988,2954,2580,2098,2567,2479,2677,3396,3685,3686,3732,3322,3112,2854,2190,2055,2280,2483,2502,2150,2066,2154,2220,2377,1959,1807,1858,2286,2466,1945,1737,1884,1784,1916,2786,3305,3444,3444,3901,3771,2740,2055,1801,1951,2440,2754,2275,2299,2431,3010,2812,2930,2727,2276,2533,2641,2185,1833,2074,2166,2163,2188,1766,1955,2589,2549,1898,1918,2141,2387,2425,2456,2701,2476,2014,2304,2563,2155,1844,2587,2599,1924,1852,1939,2079,1850,1473,1683,1870,1960,2709,3104,2920,2575,1528,1649,2430,2224,1700,1732,2106,2391,3039,2539,1738,2220,2451,2171,1663,1770,1880,1653,1541,1550,1663,1618,1680,1735,1843,2025,1282,1301,1709,1782,1594,1419,1466,1423,1344,1507,1828,2098,1605,1571,1498,1379,1280,1310,1354,1627,1649,1761,1750,1395,2143,2311,2207,2474,2400,2056,1761,2050,2161,1870,1786,1764,1597,1715,1849,1842,1989,2419,2217,1514,1558,1815,1879,1776,1813,1981,2068,2227,2600,2585,2366,2246,2877,2776,2859,3128,2793,2264,2361,2419,2445,3167,3498,3594,3141,1639,1222,1520,2305,2664,2417,2423,2399,2241,2243,2243,2697,3514,3298,3291,2998,1740,1548,1925,2408,2995,2800,2043,2036,1974,1902,2008,2579,2791,2631,2049,1645,2160,2378,2183,2103,2332,2500,2653,2917,2332,1667,2207,2130,2173,1995,2265,2536,2644,2158,2122,2295,2312,2413,2273,1710,2210,2103,2294,2126,1865,2568,2907,2512,2098,2171,2356,2061,1640,1395,1432,1483,1655,1921,2103,2142,2355,2539,2096,1593,2046,2299,2544,2064,2069,2193,2156,2350,2252,2309,2403,2070,2364,3009,3305,3351,2770,1658,2133,1891,2090,2098,2828,2688,2334,2754,2806,2375,2186,2273,2601,2128,1975,1965,2043,1765,1578,1420,1643,1943,1730,1212,1032,1109,1134,1472,1915,1901,1282,1855,1673,1267,1764,2744,2684,2127,2030,1909,1960,2442,3330,2901,2827,2433,2184,1837,1932,2245,2184,2110,2608,2941,2398,2463,2541,2498,2981,3639,3782,3243,2750,2741,2657,2564,2489,2575,3221,3096,2008,1728,1599,1593,1632,1774,1707,1382,1282,1625,1585,1425,1703,1786,1746,1914,2472,2376,1992,1931,2102,1976,1811,1840,1758,1931,2430,2264,2113,2177,2443,3413,3376,3037,2933,3173,3300,3142,2967,2944,3386,3488,3186,3375,3354,3348,2834,2519,3160,3050,2724,2857,2651,2501,1984,1975,1944,1769,1722,1657,1550,1444,1396,1442,1565,1813,2149,2187,1607,1612,1909,1894,1547,1447,1682,1864,1901,1893,1766,1790,1713,1789,2901,3346,3835,3508,2225,963,939,1009,968,1411,1865,1803,1772,2070,1802,1999,1779,1876,3263,3084,3166,3742,4064,3980,4030,4168,4013,3837,3728,3661,3603,3791,3655,3818,4537,4297,3651,3514,3519,3708,4264,4009,3500,3854,3752,3351,3002,3078,3248,3241,3144,3256,3486,3370,3526,4027,3725,3339,3299,3387,3962,4196,4043,4027,3799,3448,3146,2998,3052,2957,2421,1882,2312,2422,2149,1931,1941,2190,3343,4156,3071,2363,2383,1651,1659,2056,1833,1988,2443,2754,2744,2612,2239,2256,2983,2647,1748,1899,1794,1703,1991,2110,1594,1766,2301,1888,1821,1910,1828,1824,1531,1593,2060,1862,1920,2268,2569,3059,3450,3585,3339,2438,1941,2407,3205,3403,3488,3518,3404,3230,3119,2821,1918,1444,1645,1802,1895,1807,1677,1570,1595,1996,2558,1981,1497,2043,2062,1864,2162,2355,2318,2368,2313,2017,1847,1906,1908,1666,1388,1223,1439,1581,1578,2149,3309,4082,4026,3673,3473,3528,3618,3881,3842,3793,3730,3826,3978,4244,4341,4038,3572,2891,2064,1272,1091,1818,2316,2292,2378,2176,2081,2171,2182,2203,2545,2890,3009,2767,2070,2333,2151,2608,2330,2154,2161,2172,1726,1923,2186,1921,2099,1994,1876,1583,1244,1305,1333,1272,1248,1214,1273,1373,1448,1547,1481,1366,1235,1238,1489,1389,1563,1520,1347,1466,1715,1604,1451,1689,2167,1839,1958,2177,1810,1752,1845,1736,1811,1899,1740,1878,2201,2244,2265,3533,2788,1698,1344,1294,1192,1377,1513,1409,1755,2072,1816,1838,1780,1752,1961,2421,2326,1802,1445,1886,2401,2112,2414,2934,2540,2438,1798,1448,1545,2062,2306,2478,2602,2485,2414,1838,1493,1578,1735,2316,2781,2919,3006,3498,3587,2704,2610,2203,2208,2322,1688,1926,2699,2805,2520,2770,2380,2728,2624,2836,2621,1982,2100,2928,3177,2734,2509,2955,2320,1572,2145,3078,3540,3525,3319,3113,2056,1347,1904,2355,1896,1921,1416,1619,1971,2038,2308,1874,1550,1855,2000,2279,2595,2413,2424,2198,1936,2366,2219,1577,1534,2026,2494,2951,3194,3080,2474,2153,2062,2082,2374,1836,1571,1761,1954,2148,2657,3345,3121,2430,2558,2695,3127,3208,3120,3045,3414,3075,3238,3321,2641,2346,2303,1377,1369,2110,3116,3208,4064,3442,2345,2471,2364,2669,2853,2561,2397,2282,2343,2490,2143,2017,2390,2728,2842,2872,2126,1844,2273,2442,2724,2884,2822,2871,3218,3330,3228,2961,2742,2576,2525,3121,2649,2410,1966,1337,1776,3025,2752,1810,1838,1838,1849,1829,2553,3272,2340,1819,2276,2410,2358,2663,2322,2128,2536,2273,2183,2973,2906,2495,2308,2592,2803,2471,2439,2179,1678,1653,1680,1586,1975,2423,2310,2548,2577,2840,2658,2303,2313,2330,2380,2150,1995,2257,2150,1653,1638,2499,2979,2865,2010,1870,1566,1200,2124,2270,1929,1869,2040,2266,2120,2147,2534,2252,1330,1311,1859,2001,2080,2217,1900,1693,1880,1937,2051,1938,1974,2575,3318,3318,2849,2568,2446,2621,2496,2565,3772,4117,3564,3108,2673,2697,2597,2210,2019,2156,2280,2265,2171,2287,2044,2085,2505,2523,2154,2096,1861,2290,3783,4075,3951,3898,3698,3333,3729,4121,4313,4353,4003,3809,3123,2706,2934,2844,2928,2788,2765,3056,3035,3285,3101,2596,2574,2590,2363,2321,2197,2342,2524,3118,3128,3075,3240,2334,1861,1834,2404,2149,2436,3239,2769,2494,3176,2018,2288,2917,2448,1838,1816,1568,1571,2086,2153,2139,1810,1544,1737,1968,1765,2564,3400,3686,3672,2924,2436,2531,2595,2446,2085,1853,1731,2375,2338,2300,2031,2190,2012,1831,1691,1603,1935,2415,2678,2934,2491,1800,1745,1836,2052,1565,1544,1655,1864,2312,2732,3033,2977,2840,2508,2542,2692,2169,1579,1757,2045,2233,2022,1806,1979,1835,1685,2446,2741,2470,2366,2445,2439,2631,2479,2232,1967,1879,1920,2009,2001,2223,3243,3585,2772,2207,2098,2388,2425,2742,3613,3392,2197,1767,1777,2024,2368,2176,2122,2441,2029,1887,2264,2940,3112,2471,2275,2617,2468,2431,2299,2409,2496,3034,3553,3805,3864,3844,3206,2255,1876,2200,2091,2592,2724,2165,2238,2124,2454,2480,2221,2169,2439,2249,1725,2383,2534,2842,2856,2864,3287,3626,3702,3229,2956,3046,2916,2907,3182,2905,2569,2619,2724,2921,3010,3094,2632,1907,1911,2276,2470,2531,2441,2640,3028,2943,2545,2529,3130,3588,3538,3338,3110,2983,2733,2749,3088,3161,3052,2249,2471,2818,2530,2646,2558,2587,2814,2900,2217,2194,2379,2483,3141,2657,2136,2539,2873,2458,2868,3395,3497,3245,2955,2517,2612,2943,3371,3220,3243,4152,4080,3261,2985,2501,2661,3232,3225,3118,3151,3144,2755,2569,2370,3119,3055,2917,3318,3614,3752,3581,3409,3109,2859,2900,2825,3206,2361,2689,3002,3269,3315,3373,3100,2400,2499,3038,2934,2795,2481,2369,2912,3008,2766],[4195,4248,4156,4138,4315,4591,4387,3727,3444,3510,3692,3913,3906,3842,3464,3569,3363,3044,3381,3828,3694,3849,3286,1823,1344,1492,1839,2401,3404,3986,4195,4062,3706,3454,3232,3295,3674,3639,3382,3144,3350,3141,2115,2392,2928,2872,3020,3164,2988,3104,3182,3265,3265,2977,2697,2768,2752,2831,2762,2536,2730,3226,3486,3261,3297,3471,3354,3536,3928,4019,4200,4279,3781,3413,3263,3354,3566,3176,2858,3162,3188,2849,2615,3012,3000,3062,2940,2773,2924,2817,2374,2642,3024,2738,2741,2857,2900,2929,3005,3173,2422,1989,2364,3293,3824,3495,2578,1905,1914,2277,2224,2044,2150,2874,2665,2908,2938,2554,2950,3207,2830,2661,2576,2273,2187,2122,2292,2216,1954,1437,1460,1717,1608,2013,2232,2054,2365,2754,2857,2617,2413,2139,2032,2600,2880,2378,1791,1808,1877,1860,2021,2348,3055,3286,3420,2899,1854,1310,2197,2695,2852,2928,2634,2526,2224,2038,1922,2465,3365,3536,3403,2817,2543,2182,2117,2433,3052,3163,2988,3121,2944,3084,3150,3113,3072,3425,3076,3295,3084,2580,2621,2829,2242,2107,2765,3066,2531,2233,2476,2563,2393,1804,1888,2552,2937,2929,2610,2144,2404,2702,2100,1857,1848,1869,2077,1986,1948,2463,2908,2193,1642,1988,2744,2932,2734,3388,3427,3045,3277,3522,3388,3054,2757,2923,3107,3087,2805,1971,2183,3241,3251,2805,3270,3311,3264,3430,3050,2756,3146,3244,2977,3073,3204,3018,2924,2679,2458,2618,2530,2668,2522,1942,2116,3030,3250,3077,3154,3405,3154,2353,1949,2092,2540,2454,1864,1837,2143,2199,2426,2468,2241,1945,2372,1933,1662,1899,2029,2454,2630,2409,2663,3196,3566,3032,1854,2007,2509,2228,2244,2313,3122,3738,3883,3263,2752,2608,2221,2199,2387,3520,3967,4375,4263,4175,3918,3795,3426,3175,3173,3396,3635,3500,3222,3281,3036,2723,2286,1876,1980,2047,2130,2434,2003,1752,2048,2063,1918,2001,3022,3283,3376,3306,3046,2964,3068,3331,3408,3101,2842,2280,2316,2002,1961,2568,2510,2330,2988,3591,3309,3010,2790,2310,2248,2105,1977,2302,2143,2546,2644,2559,2115,1686,1801,1776,1774,1994,1790,1804,2128,2562,2896,3197,2996,2517,2298,2858,2987,2592,2178,2281,2776,2851,2493,1872,1820,2205,2158,1752,1899,2844,3098,2387,2064,1995,2148,2497,2286,2188,2280,2128,1969,2322,2300,2445,2806,2708,2172,1865,2180,2542,2086,2102,2277,1970,1819,1879,2032,1942,2128,2654,2754,2653,2517,2398,1929,1938,2754,3393,3751,3757,3605,3499,3306,3052,2359,2116,2199,2269,2293,2565,1802,1637,1657,1863,2486,2355,1886,1697,1897,1928,1775,1737,1848,1875,2617,2963,2641,2002,2307,2954,2646,2258,2109,1888,1925,1679,2072,2955,2780,2768,2812,3153,3068,2634,2563,2557,2588,2784,2177,2532,2653,2492,2411,2297,2344,3191,2352,1391,1583,2184,2798,2645,2533,2942,2814,2690,2614,2387,2051,2185,2946,2377,1737,1670,1500,1766,2037,1861,1938,1823,2088,3052,3329,2813,1927,1664,1896,2018,1970,1778,2104,2359,3152,3872,2351,1754,2366,2281,1688,1832,2458,2276,1852,1754,1792,1829,2111,2044,1858,1761,2023,1782,1694,1761,1920,1860,1764,1792,1679,1442,1560,1778,1965,1726,1527,1523,1390,1085,1184,1504,1673,1776,2042,2122,1758,2165,2203,2110,2060,2011,1814,1771,2093,2132,1886,1930,1865,1858,2071,1898,1536,1981,2214,2303,1890,1709,1762,1986,2235,2229,2074,2022,2067,2099,2243,2409,2317,2864,2714,2371,2663,2655,2192,2698,2676,2563,3780,3983,3726,2771,1876,1867,2085,2640,2453,1935,1949,2094,2133,2336,2456,2868,3322,3420,3460,2723,1842,2140,2611,3120,3601,2748,1882,2237,2714,2552,2150,1969,2518,2664,2668,2555,2588,2536,2226,2140,2359,2798,2910,2792,2098,2157,2617,2352,2003,2208,2302,2372,2164,1867,1962,1976,1880,2380,3001,2653,2754,2253,2242,2003,1975,2169,2084,2272,2201,2474,2476,2235,2054,1865,1696,1672,1782,2124,2000,1531,1997,2471,1817,1677,2248,2062,1838,2235,2652,2475,2511,2379,2353,2624,2446,2131,2592,3238,3350,3210,2750,2081,2375,1897,1857,1785,2243,2329,2023,2321,2541,2402,2354,2778,2744,1997,1684,1799,1853,1400,1194,1175,1388,1855,1976,1320,1231,2137,1525,1529,1722,1617,1146,1144,1236,1177,1682,2633,3029,2453,2292,2283,2020,2044,2681,2153,1900,2144,1905,1657,1712,1786,2026,2058,2798,2819,2175,2431,2702,2964,2920,3205,3220,2867,3099,2962,2663,2676,2751,3146,3388,2612,1828,1698,1856,1905,1659,1680,1671,1544,1438,1677,1655,1712,1698,1707,2061,2129,1874,1993,2048,1809,1782,2143,1936,1853,2073,2112,2207,2023,2164,2301,2732,3257,3098,2935,3048,3143,3223,3216,2988,2862,3052,3505,3584,3351,3191,3136,2647,2461,3281,3355,3144,2663,2441,2219,1684,1649,1671,1516,1549,1543,1426,1450,1470,1453,1482,1464,1589,1834,1842,1870,1791,1487,1528,1895,2080,2105,2192,1991,1728,1699,1733,2539,3584,3846,3786,2630,1979,1327,1359,1373,1215,1643,1829,1862,1935,1984,1649,1900,1625,2177,3747,3617,3496,4497,4772,4240,3738,3794,3824,3906,3753,3303,3552,3746,3663,3860,3906,3052,2712,3232,3264,3499,3664,3521,3583,3672,4016,3657,3463,3188,3032,3077,3097,3149,3284,3355,3598,3721,3466,3387,3234,3397,3790,4082,3989,3989,4012,3528,2910,2744,3022,2765,2754,2720,2476,2197,1952,2332,3128,2767,3090,4191,3443,2326,2219,1731,1624,2481,2010,1567,2275,3175,2808,2553,2674,2744,3153,2898,2081,2407,2223,1947,2242,2211,1736,1749,2466,2162,1461,1497,1545,1816,1726,1433,1450,1375,2530,3558,3408,3058,2939,2684,2339,1968,1683,2207,3074,3094,2918,2677,2438,2388,2362,2434,2028,1647,1814,1849,1542,1354,1369,1409,1561,1886,1913,1578,1409,1729,1888,1620,1525,1620,1358,1212,1213,1232,1270,1644,1958,1720,1464,1541,1935,2094,2014,2366,3251,3587,3461,3363,3506,3492,3538,3834,3960,3840,3761,3729,3774,3926,4100,4085,4155,4168,3842,2856,1852,1164,1113,1555,1882,1938,2034,2212,2162,1982,2170,2464,2690,2332,2188,1931,2170,2453,2216,2025,1936,1736,1742,2448,2358,2473,2717,2270,1935,1354,1216,1345,1312,1360,1432,1355,1254,1229,1346,1471,1274,1273,1334,1342,1380,1454,1428,1521,1738,1790,1815,1433,1411,1889,2544,2266,2086,1941,1777,1808,1883,1786,1816,1713,1396,1475,2102,2199,1965,2768,2711,1978,1544,1501,1404,1441,1370,1439,2030,1926,1573,2020,1908,1942,2186,2952,2893,1928,1509,1589,1584,1401,1648,1995,2365,2304,1899,1632,2107,2304,2133,2199,2424,2219,1927,1506,1344,1510,1602,2250,2580,2910,2880,2574,2391,2477,2534,2370,2605,2259,1759,2123,2319,2396,2106,2001,2367,2821,2601,2632,2327,2039,2214,2312,2263,2874,2612,2767,1722,1221,2515,3175,3018,3176,2684,1837,1646,1764,2033,2086,1909,2404,1633,1807,2048,1836,1718,1704,2162,2321,2082,2482,2734,2597,2438,2432,2242,2349,2080,1684,1600,1494,1612,2418,3132,2807,2105,2402,2225,1911,2598,2668,2222,1750,1627,1798,2127,2696,3194,3258,3361,3110,3650,3631,3450,3492,3327,2827,2972,3340,2722,2179,2304,1509,1355,1837,2952,2901,3646,3625,3001,2669,2404,2465,2792,2574,2277,2354,2483,2730,2331,1837,2247,2751,3051,2922,2448,2599,2887,2788,2404,2436,2787,2687,3097,3056,2903,2663,2648,2181,2204,2343,2251,2229,1680,1503,2443,3025,2719,2418,2479,2236,2155,2026,2111,2436,2166,1642,1893,1963,1996,2898,2662,2547,2260,2126,2135,2243,2365,2375,2063,2432,2691,2450,2307,1800,1710,1977,2110,2071,2269,2216,2163,2268,2366,2496,2360,2093,1935,2151,2258,1917,2187,2610,2326,1753,1936,2105,2618,2929,2156,2026,1659,1765,2390,2010,2420,2578,2463,2342,2182,2079,2294,1966,962,786,1609,2168,2365,2229,2061,2057,1582,1466,1752,1810,2100,2407,2652,2668,2281,2402,2387,2499,2568,2577,3334,3957,3974,3469,3094,2997,2579,2591,2474,2608,2583,2418,2105,2143,2186,2164,2414,2424,2242,2068,1865,2395,3640,3115,3619,3243,3272,3021,3426,3984,4246,4303,3748,2846,2698,2855,3018,2713,2684,2798,2812,2987,2906,2943,2626,2369,2454,2409,2232,2392,2163,2103,1944,2586,2964,3165,3371,3063,2604,2697,2958,2958,3386,3387,2822,2518,2669,2073,1847,1923,2000,2059,2172,1812,2122,2720,2083,1990,1844,1880,1928,1544,1598,1986,2587,3339,3165,2400,2580,3008,3020,2821,2220,2121,2121,2234,2740,2721,2666,2820,2244,1801,1793,1834,1693,1955,2273,2622,2452,2194,2032,2047,1926,1434,1384,1512,1736,2482,2856,3340,3200,3184,2723,2688,2440,1985,1840,1552,1623,2079,2115,2285,2514,2155,2008,2411,2240,2343,2084,2154,2330,2397,2691,2487,2479,2858,2844,2587,2342,2639,2952,3042,2968,2312,1927,2308,2460,3479,4103,3825,2800,2097,1947,2457,2525,2432,2411,2164,1644,1671,2545,2987,3254,2702,2206,2366,1902,1675,1867,2042,2366,3139,3768,3898,3768,3651,2821,2553,1750,1571,1946,2830,3223,2203,1984,2192,2514,2836,2337,2019,2160,1534,1068,2225,2637,2632,2732,2529,2923,3642,4604,4528,3572,2971,3039,3204,3242,2667,2431,2994,3168,3335,3490,3250,2399,2072,2396,2592,2698,2307,2307,3152,3272,3078,2928,2776,2949,3199,3217,3260,3296,3074,2596,2766,2946,2436,2194,2497,2662,2598,2427,2502,2735,2485,2684,3296,2509,1984,2295,2812,2773,2373,2085,2366,2461,2293,2646,3153,3161,3230,3219,2492,2590,3166,3698,3972,4196,4733,4082,2921,2902,3129,3155,3352,3460,3363,3244,3127,2929,2574,3374,3861,3000,2695,2994,3515,3559,3366,3168,2836,2465,2599,2843,3033,3057,3310,3327,3297,3269,3156,2894,2899,3163,3088,2754,2648,2588,2963,3416,3112,2784],[3974,4227,4175,3994,4155,4616,4545,4050,3719,3637,3731,3802,3604,3372,3085,3383,3422,2956,3034,3272,2851,2900,3046,1733,1471,1406,1562,2052,2339,3255,4002,3779,3544,3735,3531,3441,3608,3553,3222,2696,2409,3184,3272,3110,3109,2713,2913,3166,3108,3152,3083,3319,3132,2507,2320,2459,2735,3179,3124,2877,2785,2847,2831,2795,3127,3409,3275,3321,3569,3722,4052,4201,3506,3110,3074,3226,3473,3167,3033,3206,3366,3421,2971,3063,3022,2923,2926,2842,2856,2643,1834,2114,2813,2309,2313,2917,3104,2868,2774,2875,2358,2150,2944,3574,3676,3306,2524,2129,1975,2047,2293,2321,2299,2842,2863,2885,2472,2137,2553,3033,3039,2602,2086,2053,2246,1869,2202,2389,2120,1606,1472,1844,1964,2165,2378,1935,2177,3011,2988,3078,2713,1942,1886,2500,2684,2267,2148,2126,2026,2238,2519,3112,3531,3296,3000,3062,2308,1932,2337,2609,2730,2524,2421,2280,1677,1586,1343,2388,3084,3220,3308,3034,2326,2187,2622,2734,2851,2930,2867,2789,2815,3365,3422,3252,2709,3241,3311,3321,3141,2171,2010,2196,2031,1952,2230,2963,2751,2430,2220,2386,2219,1565,1851,2580,2705,2776,2429,2200,2589,2946,2601,2088,2292,1989,1798,1980,2094,2334,2521,2093,1593,1880,2969,3371,3594,3764,3611,2949,3105,3318,3359,3243,2962,2939,3222,3076,2886,2119,3154,3617,3209,2285,2888,2798,2547,3021,2856,2520,3089,3309,3311,3253,3204,2431,2584,2906,3148,2486,2159,2422,2744,3219,2852,3011,2790,3226,3486,2697,2519,2181,2444,2842,2611,1959,1662,1659,1830,2247,2614,2414,1934,2009,2088,1936,2242,2759,2743,2394,2079,2266,2667,2735,3060,2880,2389,2249,2236,2071,2183,2488,3288,3673,3418,3247,3488,3003,2392,2622,2208,2745,3205,3936,4139,4167,3746,2988,2846,2901,2884,3297,3333,3163,2858,3270,3405,3000,2214,1809,1795,1769,2217,2451,2099,2179,1887,1691,1710,1850,2546,3156,3499,3482,3366,3244,3369,3193,3271,2918,2397,2269,2492,2513,2436,2406,2217,2208,2492,3001,2964,2644,2976,2963,2439,1999,1956,2144,2126,2314,2520,2412,1994,1791,1793,1850,1736,1637,1704,1828,1798,2382,2968,3100,2868,2399,1946,1737,1745,1713,1859,2236,2626,2227,1698,1417,1611,2221,2570,2387,2187,2354,2303,1890,1700,1776,2044,1917,2090,2265,2210,2139,2035,1851,1742,1828,2299,2360,2105,2193,2358,2634,2140,2040,2078,1806,1758,1851,1730,1801,2724,3356,3050,2456,1857,1989,2172,1998,2800,3548,3975,3917,3808,3469,3131,2582,2508,2243,2171,1797,2265,2320,1836,1712,1676,1752,1799,1848,1688,1604,1583,1447,1440,1593,1858,1935,2425,2818,2770,2454,2427,2186,1786,1710,1515,1890,2226,1785,2042,2473,1938,2833,2732,2208,2182,2008,2080,2109,2089,2339,2093,3235,3485,2653,2653,2543,2810,3234,2635,1883,1612,2590,2921,2651,2408,2984,2919,2866,2281,1775,1561,2391,3206,2435,1722,1539,1600,1764,2194,2183,2073,2077,2053,2421,2801,2296,1705,1798,1892,1861,2112,2098,2643,2924,3919,3975,2911,2392,2221,1853,1777,2295,2501,2194,1884,2073,2200,1856,2135,1875,1860,1610,1943,2196,1751,1732,1762,1665,1839,1798,1947,1545,2006,1855,1871,1972,1672,1574,1498,1354,1530,1763,1529,1535,2027,2081,1388,1785,2018,2008,2055,1886,1992,1883,1518,1542,1648,1852,1753,2086,2063,1674,1489,2030,2383,2466,2395,1956,1702,2164,2306,2066,1879,2371,3484,3580,2968,2361,2026,2019,2240,2176,2409,2347,1840,2793,2742,2900,3654,3759,3331,2526,2231,2366,2580,2500,2187,2053,2545,2357,2086,1883,1901,2380,2530,2551,2837,2972,2852,2734,2735,3604,3859,2832,1859,1599,2367,2219,2663,2592,2661,2639,3118,3416,3025,2366,2094,2510,2652,2035,2349,2551,2656,2798,2832,2604,2268,2505,2641,2216,1775,2188,2003,1742,1756,2133,2592,2858,2604,2095,2130,1993,1894,2160,2228,2331,1957,2799,2821,2371,2668,2545,2252,1806,1563,2038,2090,1831,2237,2122,1494,1352,2332,2150,1865,2396,2706,2928,3076,2639,2427,2886,2731,2436,2808,3698,3554,3097,2635,2120,1759,2056,2435,2136,2470,2843,2605,2505,2197,2323,1975,1489,1621,1265,1059,1628,1813,1273,1496,1933,1566,1940,2098,1429,1154,1369,1185,1282,1741,1787,1448,1411,1813,1785,2143,3023,3501,3040,2800,2420,2055,1887,2035,2039,2404,2565,2046,2187,2334,2248,2000,1752,2697,2878,2500,2720,3034,3143,2844,2707,2808,2733,2510,2267,1916,2351,2846,2627,2275,1813,1526,1543,1832,1845,1700,1707,1671,1471,1380,1533,1551,1440,1829,2175,2483,2115,1716,2102,1920,1765,1870,2131,1836,1697,2033,1996,1931,2010,2354,2347,2080,2169,2534,2777,2907,3007,3378,3280,3010,2842,2857,3384,3650,3330,2985,2855,2619,2912,3501,3375,3372,3311,2842,1989,1501,1300,1353,1466,1567,1599,1453,1455,1484,1457,1486,1447,1361,1484,1919,1869,1578,1473,1578,2017,2301,1953,1841,1713,1686,2106,2766,3588,3862,3778,2758,1926,1625,1348,1448,1746,1936,2259,1882,1860,1635,1588,2139,2097,1350,2268,4042,3802,3365,4330,4444,3731,3308,3268,3369,4002,3383,3027,3349,3470,3496,3430,3426,3243,3062,3252,3037,3500,3638,3697,3709,3896,3852,3441,3262,3167,3087,3074,2865,3111,3281,3375,3653,3372,3296,3352,3231,3163,3384,3752,3871,3862,3797,3517,2877,2696,3319,2937,2792,3312,2746,2714,2556,2763,3520,2329,2642,3782,3429,2310,2173,1798,1908,2443,1918,1855,2681,3013,2411,1788,1940,2389,2888,3002,2109,2144,2079,1974,2212,2228,2192,2509,2800,2254,1432,1501,1501,1822,1797,1458,1579,1487,1586,1807,1739,1785,2016,2008,1853,1822,1815,1732,2081,2126,2048,1967,2017,2121,2061,2123,1973,1617,1759,1795,1551,1654,1824,1801,1760,1657,1501,1359,1469,1716,1772,1553,1288,1064,875,1001,1321,1539,1604,1732,1829,1687,1406,1456,1784,2005,2098,2285,2811,2778,2705,3071,3429,3385,3320,3550,3681,3582,3584,3530,3492,3614,3834,3861,3858,3915,4080,3907,3401,2608,1838,1272,1114,1448,2033,2414,2330,2009,1997,2125,2303,2162,1926,1894,2531,2281,2176,1889,1759,1666,2233,2520,2343,2582,2800,2667,2075,1372,1296,1293,1347,1611,1848,1738,1351,1300,1255,1312,1263,1237,1297,1492,1483,1559,1696,1870,1847,1954,1785,1598,1790,2087,2064,1893,1966,1932,1890,2013,1991,1907,1896,1715,1655,1586,1814,1598,1567,1804,1878,1726,1688,1784,1703,1519,1294,1387,1566,1525,1632,1720,1814,1998,2042,2478,2646,2236,1618,1268,1390,1747,2254,2223,2596,2307,2114,2163,2223,2280,2295,2075,2236,1803,1691,1403,1465,1588,1542,2275,2291,2304,2462,1900,1550,1927,2154,2308,2381,2025,2292,2852,2286,1970,2436,2417,2701,3084,2991,2766,2505,2472,2553,2250,2186,2941,2873,3201,2062,1276,2500,2996,2588,2771,2420,2080,2144,2479,2136,2136,2265,2258,1985,2162,2474,2374,1864,2258,3316,2626,2015,2518,2829,2610,2182,1886,2001,2366,2064,1806,1897,1879,1886,2614,3111,3090,2803,2781,2585,1953,2040,2725,2848,2115,1759,1885,1888,2253,2784,3228,3227,2817,3295,3348,3105,3392,3181,2573,2719,3260,3140,2923,3102,2192,1508,2377,3153,2929,3226,3404,3072,3133,2832,2590,2990,2497,2535,2669,2351,2489,2509,2003,2241,2761,3118,3053,2879,2851,2840,2802,2424,2565,3055,2652,2610,2735,2792,2780,2407,2040,2287,2545,2414,2447,1809,1991,2710,2813,2880,2596,2204,2142,1946,2159,2563,2574,2244,2126,2532,1948,1340,2193,2525,2143,1691,1649,2211,2342,2373,2537,2377,2389,2280,2179,2388,2221,2086,2532,2677,2613,2177,1920,2366,2768,2779,2795,2688,2410,2027,2236,2086,1783,2732,3117,2332,1794,2128,2236,2302,2134,1732,2027,1688,2081,2555,2402,2863,2909,2468,2422,2415,2557,2608,2080,1257,1004,1947,2109,2063,2425,2559,2087,1493,1954,2110,2013,2383,2205,2383,2634,2382,2633,2635,2328,2121,1980,2511,3614,3899,2851,2293,2519,2488,2619,2756,2629,2481,2711,2720,2338,1938,2087,2311,2355,2342,2060,2005,2584,3265,2661,2916,2617,2675,3205,3594,3738,3990,3935,2823,2351,2769,2657,2783,2698,2699,2773,2766,2813,2817,2821,2702,2338,2083,2242,2264,2458,2351,2084,1866,2522,2714,2574,2986,3267,3220,3275,3450,3683,3869,3765,3167,2486,2422,2249,1848,1825,2089,2207,1947,1920,2387,2335,1751,2054,2040,2002,1776,1721,2201,2024,1787,2263,2186,1925,2297,2452,2777,2090,1830,1793,2114,2512,2742,3032,3122,2323,1745,1587,1759,1715,1731,1677,2395,2676,2286,2107,2047,2059,1792,1405,1390,1419,1507,1868,2148,2501,2483,2438,2522,2493,1876,1670,1778,1655,1570,1767,1935,2175,2751,2836,2356,2227,1975,2113,2005,2125,2442,1937,2182,2067,2321,3074,3032,2584,2092,2636,2858,2705,3006,2906,2626,2535,2743,3913,3921,3944,3183,2431,2592,3023,2678,2352,2092,2143,2236,2155,2419,2662,2707,2423,2191,2452,1772,1326,1719,2026,2362,3044,3517,3506,3340,3020,2131,1927,1624,1792,2113,2476,2467,1708,1771,2164,2521,2953,3032,2688,2576,1984,2037,3460,3015,2215,2215,2363,2944,3950,5025,4517,3604,2732,2491,2862,2760,2228,2807,3383,3165,2953,3203,3044,2191,2254,2435,2562,2583,2557,2707,2950,2912,3226,3415,3045,2640,2589,2691,2797,2707,2503,2351,3022,3439,2633,2520,2689,2314,2577,2923,2861,3161,3177,3296,3309,2807,3150,3396,3396,3233,3088,2884,2478,2262,2276,2280,2135,2632,3026,3418,2467,2388,3229,4030,4343,4589,4469,3315,2774,3710,4189,4288,3750,3685,3548,3270,3326,3444,3403,3436,3345,3628,3640,3520,3767,3781,3430,2910,2956,3086,3199,2909,2915,3118,3104,3051,3182,2979,2437,2745,3209,3151,2891,3005,2978,2902,2788,2852,2797,2778],[4084,4368,4341,4175,4144,4472,4332,4025,3706,3534,3483,3515,3151,2978,3084,3621,4024,3541,2908,2980,2340,2431,2938,1800,1484,1446,1686,1793,1903,2956,3824,3813,3837,3617,3506,3599,3506,3052,3198,3020,2686,3469,4115,3863,2678,2009,2714,3023,3166,3223,3212,3042,2993,2792,2391,2393,2814,3213,3099,2962,2811,2678,2646,2855,3230,3313,3252,2254,1996,2545,2839,3081,2887,2609,2358,2591,2729,2987,3184,3092,3311,3136,3071,2987,2850,2718,2810,2809,2811,2615,2079,2420,2648,2291,2352,2930,3021,2901,2885,2668,1937,1748,2536,2880,3240,3251,2901,2452,2107,2006,2472,2967,2712,2630,2897,2775,2127,1647,2148,2603,2946,2589,2113,2098,2308,1643,1927,2395,2188,1739,1578,1855,1951,2059,2046,2020,2366,2808,3110,3370,2750,1772,1714,2070,1968,1901,2288,2415,2587,2653,2689,2772,3065,3187,2880,2662,2292,2191,2344,2313,2226,2482,2701,2241,1887,1952,2037,2960,3311,3156,3277,3136,2699,2679,3033,2717,2551,2585,2744,2841,3101,3442,3296,3143,2835,2777,2564,2465,2436,1831,1925,1998,2088,1935,2274,3012,2546,2141,2077,2115,1971,1877,2604,2781,2320,2303,2654,2842,2679,2865,2494,1849,1892,2039,2197,2358,2288,2186,2418,2576,2319,2339,3340,3399,3312,3383,3208,2914,3087,3308,3448,3563,2987,3001,3419,3386,2858,2273,3128,3466,2846,2245,2676,2613,2039,2386,2786,3306,3354,3212,3124,2835,2836,2918,3253,3461,3008,2238,2476,2313,2321,2639,2865,3155,2534,2728,2668,2153,2109,2143,2264,2678,2332,1694,1543,1426,1616,1788,1911,1837,2172,2086,1819,2087,2396,2564,2702,2411,2232,2586,2352,2654,2730,2699,3291,2901,2204,1956,2233,2899,3328,3432,3308,3023,3418,3097,2908,2944,2684,2368,2352,2921,3524,3905,3649,3295,3352,2963,3064,3309,3082,2728,2498,2813,3120,2822,2216,2132,2037,1852,2026,2271,2524,2227,1628,1485,1606,1894,2207,2862,3362,3414,3740,3451,3695,3552,3354,2770,2220,2411,2626,2851,2258,1764,2066,2226,2278,2480,2319,2235,3125,2990,2208,1627,1922,1695,1383,1791,2370,2275,1920,2104,1941,1772,1752,1884,1830,1910,1871,2103,2404,2386,2058,1773,1584,1552,1716,1961,2209,2367,2522,2143,1534,1498,2062,2671,2654,2456,2243,2329,1788,1645,1418,1361,1478,1542,2043,2133,2040,2342,2098,1841,2137,1935,1930,1982,2322,2410,2481,2937,2812,2236,1895,1840,1970,2079,1760,2140,3016,3262,3094,2275,1938,1886,2119,2353,2562,3371,4012,3819,3413,3405,2888,2063,2173,2281,2137,1874,2490,2330,2240,2229,2020,1694,1649,1647,1525,1554,1780,1781,1512,1548,1902,1875,1834,2076,2049,1990,2103,1856,2016,2198,2584,2557,2059,1805,2130,1661,1683,2855,2568,2155,2079,2247,2358,2493,2086,1758,1958,3061,3385,3228,2922,2708,2963,2946,3148,3155,2614,2886,2743,2740,2759,3062,3093,2630,2386,2219,1958,2584,2740,2318,1887,1662,1738,1844,2261,2166,1964,2073,2025,1858,1820,1657,1715,1800,1864,1721,1696,2061,2710,3583,4104,3475,3001,3121,2785,1822,1767,1940,2263,2039,1879,1974,1863,2214,2277,2084,1865,1475,1889,2044,1636,1782,1698,1526,1714,1757,1899,1741,2082,1892,1866,1823,1726,1673,1434,1603,1871,1823,1736,1566,1942,1952,1575,1808,1916,2031,2032,1847,1662,1311,1244,1210,1377,1990,2093,2083,2110,2160,2254,2479,2469,2525,2512,1962,1923,2163,2019,1935,1920,2264,3376,3887,3660,2792,2318,2505,2076,1770,2054,2077,2088,2691,2463,3335,3691,3714,2978,2509,2479,2681,2707,2335,2325,2661,2779,1965,2088,1873,2238,2474,2095,2049,2211,2382,2864,2366,2148,3019,3418,2830,2179,2220,2088,1734,2040,2490,2591,2573,2933,3276,2584,1722,1628,2095,2505,2387,2038,2050,2708,2723,2780,2879,2979,3013,2598,1995,2059,2993,2798,2499,2197,2365,2326,2234,2344,2107,1895,1724,1351,1558,2451,2426,1988,2587,2988,3046,2796,2254,2122,1676,1399,2047,2172,2204,2251,1759,1466,2111,2620,2454,2267,2218,2363,2453,2457,2964,3178,3508,3017,2299,2956,2873,3012,2638,2376,2571,2180,2233,2305,1863,2391,2844,2380,2229,2073,2392,1835,1095,1035,1090,1125,1761,2102,1650,1952,2309,1830,1886,2053,1559,1276,1546,1689,1694,2094,2612,2510,2114,2662,3164,3404,3507,3076,3286,3398,2850,2386,2377,2433,2316,2543,2485,2292,2426,2200,1701,1522,1487,1954,2526,2922,2863,2472,2572,2968,3141,3012,2648,2693,2741,2357,2573,2757,2420,2056,1592,1554,1665,1478,1446,1625,1622,1573,1476,1456,1780,1495,1482,2132,2286,2604,2543,2285,2223,2042,2586,2324,2088,1970,1965,2294,2478,2156,1874,2203,2387,1988,2098,2618,2927,2901,3135,3341,3061,2811,2713,2736,2953,2946,2882,3117,3100,3088,3311,3431,3374,3408,3300,2476,1803,1602,1389,1317,1184,1406,1526,1459,1614,1498,1506,1476,1367,1380,1723,1927,1638,1476,1576,1521,1602,1944,1834,1645,1758,2109,2969,3581,3638,3792,2735,1081,964,1762,1764,1296,1699,1985,2542,2315,2127,2188,2073,2122,1866,1644,2714,3876,4073,3729,3959,4035,3387,3217,3634,3837,3672,3022,3283,3582,3562,3438,2993,3266,3656,3659,3286,3208,3318,3602,3969,3752,3713,3750,3306,3261,3519,3316,3076,2865,3199,3871,3939,3704,3207,2978,3112,3175,3128,3480,3816,4056,3935,3260,3321,3046,2894,3454,3320,2871,2804,2620,3704,3594,2510,3299,2109,2318,3418,3681,2886,2384,1857,1763,1920,1577,1664,2203,2103,1782,1602,1527,1703,1869,2509,2012,1735,1701,1691,1917,1994,2318,3091,3041,2424,1471,1464,1405,1698,1648,1411,1979,2023,1444,1575,1621,1456,1328,1268,1207,1634,1900,1840,2008,2100,2054,1975,1997,2066,2003,1945,1794,1453,1693,1845,1688,1694,1545,1481,1576,1496,1419,1393,1550,1606,1683,1439,1333,1435,1605,1745,1892,2041,2076,1982,1830,1678,1500,1439,1845,2082,2060,2049,2427,2724,2751,3181,3392,3338,3350,3528,3560,3399,3353,3270,3242,3260,3334,3359,3517,3640,3836,3994,3834,3730,3551,2833,1873,1177,1218,1680,2160,2395,2032,1940,2250,2304,1836,2952,3808,2244,1986,1762,1808,1810,2514,2463,2427,2690,2769,2551,1695,1182,1324,1405,1581,1441,1457,1559,1398,1354,1288,1371,1473,1381,1450,1848,2164,1763,1648,1672,1955,2053,2048,2119,2585,2906,2421,1929,1960,1847,1943,2005,1797,1739,2013,1937,1824,1814,1765,1592,1507,1465,1494,1468,1504,1654,1707,1426,1486,1395,1351,1673,1687,1415,1550,1623,1691,1907,2137,1878,1587,1585,2186,2596,2376,2693,2200,2383,2208,1871,2056,2397,2281,1907,2027,1739,1550,1481,1784,1898,1990,2387,2485,2030,1786,1879,1846,2294,2259,2525,2368,1896,2018,2527,2293,1870,1830,1885,1997,2286,2284,2235,2397,2405,2742,2418,2282,2150,2638,3252,2340,1732,2688,3124,2597,2376,2005,2100,2133,2610,2705,2967,2976,2629,2452,2766,3077,2740,2132,2221,3042,2382,1848,2121,2512,2281,1630,1150,1815,2352,2062,2204,2244,2586,2626,3066,3491,3249,2657,2428,2386,1876,1533,2020,2303,1999,2397,1891,1533,1747,2232,2460,2626,2616,3037,3162,2955,3190,3217,2544,2569,3054,3142,2832,3010,2022,1193,1867,2621,2477,2414,2832,3396,3520,2667,2133,2910,2879,3055,2802,2814,2878,2612,2344,2455,2847,3005,3046,2857,2832,2603,2932,2867,3056,3090,2248,2082,2416,2480,2472,2375,2458,2339,2566,2631,2375,1865,2136,2710,2697,2854,2583,2530,2349,1807,1769,1924,1932,1823,2575,3013,2027,1505,1909,2316,2246,1994,2010,2432,2382,2515,2243,2186,2465,2172,1650,1733,2292,2109,2103,2207,2148,1882,1834,2474,3053,2677,2667,2448,2166,2119,2167,1959,1840,2481,2916,2604,2691,2819,2689,2200,1609,1654,2330,1946,1891,2200,2193,2699,2631,2295,2359,2648,2757,2744,1868,1367,1652,2312,2332,2101,2148,2221,1933,2044,2460,2186,1980,2014,1894,2287,2646,2669,2526,2333,2289,2107,2259,3051,3862,3642,2760,2931,2433,2343,2629,2894,2824,2603,2741,2868,2437,1857,2149,2215,2374,2404,2462,2244,2699,2775,3153,3592,2986,2652,2977,3614,3865,3904,3558,2873,2802,2786,2665,2795,2778,2692,2628,2711,2865,2823,2891,2884,2691,2135,2191,2250,2361,2230,1881,1729,2105,2515,2517,2518,2597,2889,3083,3448,3308,3352,3124,2350,2093,2187,2154,1810,1721,2033,2310,1630,1870,2391,2018,2140,1957,1882,1972,2013,2104,2179,2094,1655,1505,1713,2350,2424,2492,2910,2511,2136,1807,2066,2421,2690,3322,3016,1924,1860,1713,1843,1964,1856,2020,2676,2461,1864,1622,1677,2002,1881,1588,1785,1956,2054,1721,1446,1626,2160,2260,2417,2411,1710,1735,1627,1498,1490,1729,1851,1931,2564,3104,2662,1852,2004,2500,2644,2765,2921,2153,1893,1834,1880,2262,2576,2308,1984,2056,2128,2543,2810,3075,3152,2843,3156,3522,3204,3417,3261,2720,2663,2843,2438,2176,1698,2121,3001,2910,2481,2522,2403,2415,2432,2521,1928,1535,1915,1917,2136,2986,3882,3625,2944,2125,2099,2028,1928,2055,2199,2335,1821,1667,2457,3116,3200,3071,2954,2583,2525,2417,2287,2376,2014,2194,2809,3283,3686,3825,3670,3119,2432,2169,2116,2428,2668,2479,2487,3006,3068,3072,2977,2877,2381,2844,2824,2702,2702,2664,2479,2630,3076,3418,2858,2058,1779,2451,2534,2356,2516,2695,2886,3146,3282,2689,2593,2834,2842,3208,2985,2998,3340,3431,3720,3185,2932,3648,4000,4231,4191,3837,3526,3186,2376,2315,2125,2060,2294,2382,2757,1838,1683,2824,3662,4113,4253,3551,2803,3238,3749,3846,3755,3461,3595,3639,3474,3539,3685,3739,3782,4015,3860,3731,3594,3619,3472,3234,2961,2823,3095,3237,2975,2920,3185,3478,3123,3020,2828,2454,3132,2978,2820,3230,3517,3162,2625,2524,2513,2291,2474],[4070,4163,4212,4005,3988,4295,3929,3603,3225,3172,3284,3033,2912,3174,3235,3824,4429,4145,2996,2920,2575,2914,3014,2069,1549,1450,1642,1728,2031,3083,3880,3719,3652,3427,3622,3592,4132,3834,3593,3538,3245,3104,3452,3319,2546,2374,2306,2319,2587,3052,3256,3042,2694,2821,3183,3245,3213,3078,2973,2927,2798,2792,2842,3142,3499,3295,3307,2181,1982,2279,2084,2136,2215,2698,2449,2493,2207,2721,2916,2660,2669,2658,2812,2887,2762,2877,2789,2542,2390,2336,2312,2824,3518,3547,3129,3114,3439,3839,3916,3138,2129,1777,2224,2126,2697,2750,2609,2280,2200,2335,2735,2793,2558,2866,3318,2976,2377,1808,1948,1832,2113,2357,2122,1930,1732,1431,1675,2111,2180,1898,1800,1988,1907,1967,2010,2228,2331,3092,3687,3473,2374,1592,1625,1742,1836,1709,2309,2608,2748,2458,2598,2954,3453,3409,2747,2399,2494,2429,2464,2424,2131,2415,2463,1806,1388,1713,2429,3258,3429,3343,3370,3319,3256,3095,2232,1885,2456,2788,3196,3296,2947,3131,3689,3629,3075,2450,2420,2519,2650,1884,1669,1996,2404,2618,2954,3057,2352,1936,2113,2181,2118,2452,2947,2765,2585,2357,2929,3508,3052,3047,2250,1486,1877,2001,2408,3672,3356,2992,3076,2902,2378,2519,3311,3514,3318,3398,3354,2955,3164,3271,3390,3609,2790,3052,3481,3785,2717,1864,2087,2525,2459,2128,2330,2276,2029,2238,1924,2483,3166,3409,3279,2932,2750,3020,3379,3275,2562,2424,2671,2181,2227,2566,2908,2920,2476,2275,2314,2331,2402,2187,2274,2447,1754,1672,1646,1594,1808,1794,1420,1490,2140,2060,1764,2034,2328,2280,2198,2043,2352,2410,2277,2334,2366,3229,4124,3659,2800,2243,2566,3120,3093,3529,3226,2940,3140,3029,3084,2852,2375,2052,2185,2740,3071,3374,3453,3522,3145,2877,3322,3185,3034,2643,2334,2906,3271,2831,2379,2221,2203,2103,2019,2111,2032,2011,1943,1694,1683,1788,1860,2373,3205,3182,3449,3463,3958,3790,3371,2719,2402,2421,2779,2636,2040,1856,1886,1878,2137,1928,1615,1803,2598,2487,1673,1648,2151,1932,1462,1877,2711,2523,2480,2559,2024,1900,1883,2199,2325,2451,2308,1853,1624,1822,1915,1590,1552,1600,1670,1922,2183,2253,2502,2104,1467,1443,2001,2791,2500,2333,1995,2569,2445,2420,1898,1565,1680,1880,2108,1902,1754,2045,2125,2249,2245,2128,2485,2778,2802,2585,2640,2867,2737,2343,1950,2052,2130,2088,1815,2519,3006,2531,2411,2171,2324,2229,2482,2921,2911,3363,3716,3480,3172,3014,2155,1955,2122,2178,2000,2041,2014,2143,2515,2657,2516,1599,1631,1521,1549,1765,1947,1692,1519,1612,1896,1841,1612,1592,1738,1710,1710,1684,2362,2469,2850,2692,2014,1883,2242,2152,2256,2530,2182,2061,2491,2336,2375,2337,1837,2037,2403,2724,3210,3584,2950,2956,3125,3052,3189,3584,3161,2730,2544,2613,2840,3301,3130,2297,2271,2603,2520,2220,2005,2099,2344,2239,2126,2030,1959,2193,2268,2137,2189,2127,1929,1860,1845,1969,2024,1835,1663,1820,1974,2940,3325,3007,3273,3141,2468,1667,1626,1485,1657,1725,1637,1700,1714,2342,2592,2345,2175,2125,2424,2344,2012,1887,1963,1975,1805,1736,1788,1875,1898,1864,1762,1496,1376,1472,1529,1567,1557,1604,1610,1540,1625,1716,1838,1926,2042,2046,1966,1936,1652,1810,1783,1471,2503,3415,2658,1905,1890,1812,1935,2397,2328,2153,2211,2430,2389,2353,2627,2925,2575,2247,2805,3273,2924,2456,2414,2716,2158,2053,2011,1860,1909,2007,2180,2572,2941,3054,2568,2360,2294,2293,2320,2280,2311,2878,2720,2016,2153,2305,2132,2016,2029,1923,1888,2191,2315,1959,1998,2452,2609,2280,1670,2008,2292,2097,1991,1724,1784,2474,2784,2344,1719,1780,1957,1982,2047,2192,1870,2430,2863,2551,3095,3338,3510,3642,3470,2414,2593,2879,3304,3327,2461,2525,2450,2174,2306,2447,2002,1870,1707,1641,2126,2373,2369,2103,2360,2786,2567,2156,2185,1951,1774,2085,2022,2298,1941,1608,2062,2575,2461,2447,2803,2825,2567,1931,1761,2231,2641,3051,2662,2232,2139,1655,1818,2087,2665,2796,2231,2067,1955,2214,2139,2266,1995,1799,2403,2987,2454,1504,1146,1259,1084,1461,1906,1596,2088,2112,2070,2056,2104,2010,1751,2076,2553,2710,2932,3413,3515,3534,3896,4221,4256,3940,3040,2978,3440,3263,3086,2917,2481,2573,2494,2377,2286,2180,1752,1197,1216,1440,1609,1972,2748,2963,2168,1638,2427,3483,3112,2545,2870,2728,2388,2479,2279,2137,2018,1622,1538,1451,1418,1549,1531,1628,1561,1624,1666,1747,1895,2503,2380,1954,2180,2497,2296,1774,1743,2361,2407,2228,2438,2564,2662,2757,2484,2163,2056,2559,2745,2652,2380,2711,2968,3248,3342,2970,2655,2718,2875,2887,2978,3284,3638,3774,3883,2964,2703,3174,3417,2955,1938,1703,1647,1695,1687,1187,1116,1362,1482,1712,1644,1645,1495,1406,1732,1849,1686,1483,1432,1671,1662,1546,1723,1704,1792,2269,2898,3333,3396,3581,3193,1946,785,1188,2160,2227,1394,1572,1947,2889,3187,3414,3010,2084,1961,1777,1758,3074,4075,3928,3311,3749,4064,3802,3728,3585,3808,3722,3276,3558,3584,3383,3370,3228,3670,3940,3570,2831,3145,3488,3531,3760,3596,3552,3222,3041,3246,3912,3676,3364,2898,3044,3674,3625,3197,3031,3041,3348,3392,3282,3558,3849,4047,4112,3796,3384,3166,2937,3244,3196,3028,2832,2363,3475,3812,2320,2724,2252,2085,3174,4100,3307,2337,1974,1731,1700,1478,1454,1746,1783,1866,1676,1539,1475,2154,2833,1976,1526,1542,1475,1591,1831,2114,3100,3153,2666,1656,1447,1413,1630,1605,1306,1979,2326,1484,1087,1072,1059,1206,1372,1342,1567,1832,1952,1990,2045,1990,1836,1704,1633,1496,1351,1324,1493,1619,1796,1752,1682,1690,2004,2127,1580,1255,1371,1531,1519,1682,1372,1316,1677,2016,2106,2103,2101,2111,2090,1944,1887,1702,1402,1735,1953,2088,2193,2574,3008,2865,2920,3316,3431,3518,3627,3385,3314,3491,3359,3140,2964,2994,3108,3205,3260,3446,3581,3651,3691,3814,3838,3493,2710,1807,1338,1249,1368,1521,1786,2276,2422,2025,2301,2641,2103,1842,1931,1620,2115,2603,2423,2536,2753,2859,2512,1623,1412,1457,1426,1779,1531,1300,1285,1301,1310,1264,1349,1398,1300,1400,2310,2890,2309,1533,1444,1475,1736,1995,2133,2401,2732,2809,2241,1734,1648,1736,1726,1830,1486,1648,1643,1604,1697,1799,1815,1605,1420,1472,1678,1667,1748,1499,1457,1653,1352,1330,1627,1531,1348,1238,1389,1802,1737,1765,1890,2254,2100,2029,1922,2163,2248,2254,2681,1926,1614,1646,1931,2041,2392,2114,1816,1572,1652,2169,2707,2279,1908,1705,1756,2452,2612,2066,1963,2275,2881,2376,1836,1868,2187,2217,1754,1544,1794,1409,1653,2157,2452,2678,2679,2710,2558,2273,2075,2268,2244,2071,2167,2765,2724,2024,1832,1606,1824,2618,2492,2750,3471,3365,2977,2886,3322,3253,2645,2263,2082,2460,2127,1732,1918,2192,2178,1655,1446,2581,3046,2403,2786,2824,2995,2394,2718,3073,2541,2236,2312,2335,1886,1597,1781,2063,2050,2568,2403,1895,2212,2932,2877,2457,2392,3167,3332,2909,3076,3104,2303,2575,2864,2912,2888,2722,1746,1076,1509,1911,1952,2480,3055,3493,3291,2568,1888,2684,2888,2598,2676,2810,2792,2600,2280,2388,2837,2735,2888,2893,3090,3063,3182,3106,3061,2985,2392,2249,2366,2503,2429,2610,2391,2259,2862,2690,2188,1845,2042,2665,2845,2521,2425,2577,2096,1770,1722,1737,1936,2003,2850,2874,2101,1986,2199,2289,2389,2273,2581,2776,2103,2316,2262,2366,2939,2336,1820,1957,2163,2066,1883,2096,2267,1999,1908,2391,2473,2319,2438,2802,2612,2457,2344,2017,1952,2075,2415,3125,3621,3561,3555,2643,1851,1947,2509,2294,2206,2287,2038,2642,2455,2136,2140,2395,2193,2341,1646,1597,2270,2857,2679,1809,1235,1427,1984,2110,2048,2081,2260,2037,1839,2066,2286,2241,2450,3028,2903,2618,3052,3550,3908,3426,3331,2980,2563,2734,2946,2964,2949,2894,2274,2199,2688,2807,2570,2286,2329,2615,2623,2131,2210,2837,3650,3372,2789,2701,2980,3704,3820,3418,3460,3140,2717,2722,2749,2699,2552,2517,2705,2934,2898,2942,2891,2830,2365,2446,2408,2214,2362,2294,1896,1643,1848,2505,2636,2639,2998,3179,3189,3485,3477,3294,2798,2470,2164,2070,1911,1473,1670,2270,2196,1982,2344,2424,2584,2634,2174,1972,2365,3029,2352,2220,2205,2002,2007,2109,2148,2210,2280,2154,2129,2050,1745,1757,1861,2285,2902,2840,2024,2082,1973,1847,1890,2163,2424,2275,1853,1592,1588,1950,2031,1841,2111,2251,2626,2946,2307,1487,1858,2397,2169,2602,2389,1749,1666,1701,1685,1632,1727,1822,2011,2259,2475,2198,1907,2933,3176,3603,3118,3025,2975,2226,2175,2544,2766,2592,2035,1831,1898,2050,2382,2128,2261,2699,3116,3083,3108,3074,3212,3490,3360,3262,2867,2271,2424,1894,2007,3138,2966,2637,2362,2120,2189,2342,2494,2266,2172,2484,2460,2564,2954,3552,3154,2287,1903,2181,2126,2066,2188,2423,2244,2167,2564,2600,3275,3296,2988,2965,2739,2462,2253,2009,1850,2101,2879,3343,3309,2993,3357,2622,2642,2536,2156,2244,2509,2611,2000,2164,2714,2647,2248,2192,2697,3009,3437,3389,3018,2930,2736,2459,2512,3050,3158,2563,1986,1534,2569,2511,2269,2488,3054,3501,3548,3125,2473,2424,2570,2654,2736,3067,3182,3031,3187,3383,3563,3846,4112,4148,3992,4157,3821,3171,3076,2275,2522,2458,2314,2264,2520,2217,1686,2592,3378,3416,3354,2834,2099,2957,3540,3399,3761,3853,3344,3371,3654,3545,3746,3774,3850,3638,3818,3461,3351,2961,2691,2790,2958,2866,2735,3175,3329,3022,3131,3192,3672,3683,3018,2376,2154,2523,2833,3156,3518,3463,3263,2733,2539,2477,2624,2664],[4224,4006,4000,3952,4018,3715,3425,3218,3156,3182,3194,2878,2636,2867,3002,3503,4116,3930,3247,2972,2855,3649,3672,2507,1651,1417,1610,1903,2446,3427,3950,3837,3592,3270,3372,3486,3961,4239,3849,2979,2599,2601,2786,2714,2771,2175,1850,1730,2399,3002,3167,3329,3188,3097,3151,2940,3270,3244,2906,2525,2490,2814,2987,3312,3572,3453,3072,2077,1820,1947,2028,2105,2065,2332,2511,2252,2113,2426,2076,2276,2403,1885,2398,2906,2358,2684,2996,2796,2521,2276,2145,3107,4231,4383,3936,3834,3897,3594,3040,2335,2284,2437,2735,2177,1792,2062,2205,2318,2564,2678,2502,2125,2370,3111,3316,2574,2149,1960,1867,1935,2045,2073,1983,1843,1749,1765,1974,2395,2358,1938,2122,2403,2491,2334,2106,2041,1894,2024,2564,2739,2001,1590,1538,1633,1982,1730,1993,2359,2412,2208,2018,2213,2942,2910,2307,2363,2675,2574,2446,2365,2548,1988,1798,1827,1606,1549,2150,2884,3110,3330,3340,3413,2787,1818,1394,1793,2434,2834,2546,2049,1966,2381,2820,2780,2967,2510,2535,2274,2076,1520,1768,2911,3067,2682,2894,2836,2179,2186,2610,2820,2718,2918,2767,2806,2649,2285,2908,3454,3370,3110,2292,1985,2382,2481,2266,3618,3311,3159,3540,3330,2543,2533,3262,3609,3347,3183,3062,2952,3221,3181,3138,3295,2920,3012,3332,3439,3037,3029,3097,2768,2706,2466,2740,2410,1919,2210,2155,2972,3681,3741,3548,3260,3333,3274,3407,3338,2761,2615,2498,2472,2617,2931,2896,2744,2591,2065,1693,2363,2858,2502,2162,2025,1719,1823,1948,2046,2109,1721,1426,1910,2269,2054,1722,1904,2458,2363,2025,2348,2897,2519,1867,1928,2222,3087,4196,3952,3137,2880,2445,2717,2860,3239,3009,2955,2950,2897,2888,2537,2040,2001,1984,2690,3493,2855,2601,2935,2939,3131,3396,3137,3103,2708,2916,3395,2908,2419,2088,1932,1998,2099,1863,2010,2135,2170,1893,1619,1864,1997,2065,2071,2696,2647,2965,3328,3483,2900,2592,2981,2912,2688,2784,2148,2048,1925,1893,1983,2134,1789,1987,2198,2314,1756,1579,2269,2608,2583,2446,3088,3248,2483,2308,2555,2430,1941,1806,2053,2654,3320,3009,2035,1754,1961,2308,2028,1844,1855,1908,2071,2194,2346,2543,2106,1560,1467,1567,1773,1740,1927,2087,2786,2776,2597,1980,1550,1471,1612,2074,2120,1628,1792,1946,2230,2172,2377,2770,3286,3112,2599,2570,2361,2380,2531,2236,2365,2155,2017,2079,2851,2743,2237,2482,2640,2417,2308,2398,2714,2713,3371,3720,3341,2877,2166,1955,2089,2145,1968,1924,1692,1651,2153,2696,2895,2551,1730,1592,1598,1602,2166,2180,1715,1777,1819,2085,1974,1653,1624,2082,2353,1758,1886,2410,2174,2116,2116,1880,1975,1917,2009,2265,2351,1914,1628,2268,2152,1799,2107,2460,2513,2692,3034,3184,3334,2766,3072,2950,2732,2641,2594,2471,2272,2166,2426,2969,3506,3583,2797,2000,1959,2094,2137,2365,2373,2632,2815,2852,2562,2288,2795,3242,2734,2370,3344,2854,2350,2110,2385,2388,1807,1562,1532,1506,1838,2103,2324,2671,2441,1893,1899,1726,1691,1897,1862,1601,1572,1816,2480,2475,2312,2223,2621,2821,2105,1855,1800,1805,1935,1924,1984,1937,1954,1833,1812,1644,1442,1115,1254,1444,1405,1275,1488,1631,1749,1734,1994,2404,2040,2155,1935,1942,2100,1886,2210,2236,1831,2513,3019,2272,1768,1913,1760,1794,2072,2154,2114,2168,2541,2501,2223,2524,2953,2824,2701,2916,2997,2634,2263,2438,2496,2113,2358,2138,2056,1945,1909,1900,1864,2047,2000,1874,2044,1747,1754,1760,1880,2425,2929,2365,2190,2352,2065,2075,2046,1856,2056,1972,2212,2159,2053,2192,2684,2532,2130,2018,1712,1562,1782,1968,1903,1938,2223,2230,1760,1566,2104,2989,2817,2500,2643,2876,3452,3083,3049,3504,3303,3248,3573,3648,3209,2896,2700,3130,2819,2392,2366,1952,2077,2618,2624,2118,1996,2432,2426,2342,3143,3051,2381,2542,2248,2078,1957,2199,1761,1824,2044,2188,2126,1672,1615,2288,2575,2137,1923,2890,3001,2810,2163,1674,1611,1526,1921,1990,2493,2392,1635,1817,2544,2996,2357,2061,1874,2119,2361,1937,2160,2270,2258,2943,3276,2677,1425,1058,1050,1123,1548,2066,1894,2136,2137,1980,2172,2717,2895,3053,3912,4488,4116,4034,4058,4291,4375,4428,4463,4198,3938,3518,3240,3521,3428,3294,2927,2309,2749,2832,2504,2432,2210,1554,1422,1610,1669,1447,1560,2248,2736,2665,2239,2721,2778,2609,2538,2410,2188,2171,1985,1670,1675,1487,1537,1360,1306,1504,1512,1576,1690,1643,1661,1758,1570,1794,2539,2270,2163,2404,2504,1997,1666,1660,1726,2020,2680,3012,2671,2284,2429,2736,2580,2376,2800,2796,2755,2225,1918,2382,2970,3140,3050,3275,3204,2952,3096,3418,3695,3730,3739,3984,3477,3198,3172,3264,2566,1639,1371,1604,1681,1610,1406,1103,1360,1512,1531,1728,1815,1548,1640,1500,1302,1442,1482,1485,1768,1798,1747,1644,1722,2245,2789,3295,3682,3708,2647,1580,1438,1082,1422,1942,2439,1758,1487,1799,2137,2668,2692,2220,1938,2158,1789,1688,2673,3709,3481,3376,3854,3541,3561,3776,3615,3670,3748,3630,3542,3259,3044,3095,3544,3517,3596,3339,2904,3460,3721,3836,3886,3680,3892,3626,3724,3969,3986,3834,3471,3000,2915,3113,3221,3326,3368,3443,3740,3608,3657,3548,3862,4082,4112,3933,3736,3385,2907,2778,2519,2691,2620,2314,3319,3464,2150,2032,2042,1832,2518,3124,2539,2077,1979,1670,1678,1422,1708,1914,1808,1626,1468,1427,1508,2598,2890,2043,1825,1820,1778,1682,1763,1958,2906,3300,2843,1860,1433,1416,1535,1636,1509,2076,2458,1631,1259,1452,1393,1476,1478,1492,1787,1990,1982,1785,1735,1616,1572,1357,1283,1283,1407,1647,1880,1713,1764,1869,1686,1745,2130,2072,1427,1252,1477,1660,1742,1732,1425,1300,1567,1863,1930,1869,1850,1947,1926,1980,1803,1480,1158,1820,2346,2449,2453,2583,2895,3060,3138,3454,3516,3218,3432,3298,3418,3571,3312,3228,3188,3060,3130,3124,3048,3211,3350,3309,3537,3880,3935,3982,3903,3570,2985,2474,1914,1328,1160,1336,1885,2432,2169,2153,1984,1938,1959,1768,2299,2523,2451,2768,2862,2776,2140,1431,1472,1526,1332,1384,1346,1435,1467,1532,1433,1392,1369,1210,1211,1307,1426,1658,1808,1458,1224,1240,1578,1677,1812,1841,1897,2104,2139,1671,1447,1493,1424,1711,1466,1312,1744,2053,1735,1820,1735,1603,1475,1400,1607,1721,1770,1494,1668,1638,1397,1453,1556,1400,1327,1123,1654,1743,1368,1750,2132,2234,1876,1572,1468,1901,2300,2472,2402,1826,1809,2018,1790,2144,2424,2714,2213,1647,2057,2956,2856,1746,2114,1826,2476,2720,2174,2112,2051,2281,2117,2230,2224,1549,1914,1879,1591,2012,2379,1693,1799,1976,2139,2509,2519,2639,2800,2724,2521,2312,2367,1922,1561,2178,2113,2056,1885,1679,2175,2714,2736,3200,3510,3086,2554,2551,3261,3054,2371,2064,1847,1825,1786,2342,2900,2385,2274,1982,1969,2854,3284,2496,2705,2225,2092,2016,2160,2670,3279,3061,2602,2611,2340,2236,2009,2041,2135,2632,2977,3000,3352,3242,2893,2437,1896,2450,2691,2675,2718,2987,2544,2589,2736,2984,2965,2754,2369,1643,1738,2371,2370,2896,3220,3068,3008,2645,2139,3276,3256,2684,3195,2788,3011,2733,2465,2294,2744,2689,2804,3039,2866,2598,2729,2674,2696,2686,2326,2082,2155,2806,2857,2868,2082,2481,3152,2646,2152,1985,2031,2087,2400,2209,1930,2278,2415,2129,2070,1802,1983,2367,2721,2778,2812,2846,2422,2287,2131,1586,2459,2942,2418,2152,2156,2355,2250,1897,2047,2243,2147,2244,2070,2596,2543,2310,2275,2342,2602,2548,2420,2988,2868,2410,2752,2415,2157,1984,2721,3334,3415,3562,3292,2567,2009,2041,2823,2791,2361,1964,1901,2555,2398,1824,1977,2496,2575,2320,1779,1800,2298,2565,2060,1178,886,1584,2408,2878,2486,2512,2908,2857,2810,2535,2083,2230,3183,3740,3842,3558,3375,3797,4172,3269,2922,2574,2483,2986,3531,3226,3243,3255,2401,2146,2533,2719,3150,3132,2691,2397,2154,1765,1860,2921,3518,2955,2610,2703,2735,3354,3515,2824,3152,2939,2687,2736,2563,2514,2671,2566,2684,2898,3024,3173,2825,2303,1881,2166,2461,2477,2266,2148,2091,2010,2115,2157,2391,2502,2854,2451,2454,2943,2949,2623,2525,2784,2126,1898,1397,906,1125,2249,2185,1986,2309,2640,3073,3068,2623,2126,3068,3034,2244,2001,2259,2482,2260,2026,2159,2192,2100,2140,2067,1952,2012,2151,1852,2137,2778,2577,2126,2394,2542,2244,1758,1663,1508,1662,1654,1607,2011,2160,2082,2278,2457,2307,2492,2731,2556,1978,2207,2199,2221,3008,2093,1854,1474,1587,2079,1858,1916,2399,2364,2375,2296,2032,2320,3121,3253,3316,2657,2640,2685,2338,2241,2362,2308,2015,1729,1656,1797,2095,1982,1952,2034,2570,3089,2954,2789,2718,3172,3241,3056,2965,2639,2355,2722,2774,2988,3066,2943,2733,2297,2232,2221,2491,2912,2700,2709,2907,2868,2727,2754,2626,2145,1817,1648,1695,1947,2261,2483,2630,2204,2258,2445,2184,2014,2218,2788,3006,2522,2122,2183,1926,1579,1954,2733,3159,3264,3160,2903,2518,2929,2996,2236,1942,2414,2825,2613,2542,2796,2290,1883,2160,2454,2840,3190,3274,2907,2736,2919,2591,2222,2526,2906,2614,1903,1589,2574,2692,2576,3012,3438,3742,3860,2901,2212,2420,2396,2686,3216,2940,2186,2289,2303,2161,2852,3515,3950,4043,3687,3886,3852,3608,2929,2881,3355,2987,2333,2222,2532,1832,1957,3371,3208,3089,2789,2863,3017,3420,3486,3328,3432,3330,2951,3098,3473,3404,3498,3718,3834,3964,3975,3398,3029,2888,2612,2513,2735,2635,2602,3094,3230,2915,3075,3062,3299,3711,3097,2676,2759,3206,3432,3362,3204,2840,3386,3002,2834,3082,3298,3016],[3927,3337,3076,3437,3475,3205,3356,3504,3226,2846,2603,2700,2743,2866,2884,3159,3508,3376,3365,3169,2832,3656,3969,2661,1745,1650,1885,1962,2565,3595,3757,3802,3557,3363,3298,3174,3307,3836,3706,2930,2125,1873,1942,2241,2427,2069,1936,2007,2455,2557,2756,3318,3318,2787,2315,2191,3022,3526,3095,2609,2604,2857,2704,2896,3379,3454,2950,2011,1937,2160,2003,2025,1897,1914,1858,1582,2250,2493,1928,2192,2110,1361,2431,2890,1994,1673,1578,2015,2229,1980,1835,2312,2785,3139,3259,3281,2842,2014,1625,1852,2153,2645,2496,2072,2176,2254,2134,2336,2480,2177,1697,2124,2735,2476,2220,1753,1729,1572,1471,1874,2008,1754,1854,2067,2352,2702,3133,3609,3000,2006,2115,2439,2708,2370,1856,1811,1740,1730,2019,2119,1729,1713,1598,1616,1776,1932,2048,2034,1936,1927,1760,1809,2722,2517,1952,2025,2334,2343,1992,2080,2156,2139,2294,2081,1729,1875,2247,2569,2829,3229,3103,3066,2815,2053,1876,1907,2215,2702,2595,2250,2159,2428,2910,3176,3073,2503,2537,2712,2725,2315,2522,3188,2872,2362,2435,2771,2533,2578,3047,3317,3364,3814,3439,2565,2108,2370,2918,2900,2921,2995,2206,2024,2404,2924,3067,3580,2796,2332,2887,3199,2755,2655,3132,3249,3022,3061,2997,2977,3089,2942,3207,3414,3223,3061,3184,3341,3543,3687,3686,3624,3643,3153,3321,2821,2613,3065,3291,3728,3884,3680,3753,3769,3840,3293,3340,2917,2787,2599,2448,2530,2751,3069,2862,2851,2956,2632,2155,2727,2944,2846,2027,1816,1948,2030,2130,2069,2193,2292,2020,2320,2469,2296,1830,1613,1998,2166,2067,2259,2562,2531,2237,2344,2642,2930,3128,3641,3483,3278,2532,2541,2798,2810,2733,2718,2553,2359,2258,2301,2041,2299,2427,2464,2376,1938,2077,2375,2642,3233,3168,2948,2833,2577,2706,2622,1984,1962,2071,2387,2632,2334,1952,2165,2511,2001,1738,1764,2121,2267,2332,2343,2165,2098,2809,3149,2937,2541,2490,2978,3116,2641,2322,1856,1856,1695,1506,1620,1951,2072,2069,2336,2119,1447,2157,2464,2465,2789,2556,2910,2596,2024,1885,2257,2352,2001,1983,2033,2421,3383,3599,2965,2645,2609,2894,2337,1974,2089,2103,2120,2203,2152,2213,2069,1615,1551,2095,2298,1778,1605,2013,2236,2182,2017,1729,1491,1449,1553,2154,2411,1737,1855,1697,1930,2161,2376,2697,3015,2820,2322,2148,2041,2102,2386,2743,3099,2342,1989,2270,2617,2590,2435,2563,2964,2954,2622,2053,2215,2900,3567,3602,3260,2470,1986,2089,2177,1936,1828,2047,1817,2066,1736,2198,2600,2358,2784,2920,2365,2251,2846,2441,1744,1761,1826,1859,1844,1531,1562,2150,2461,1895,1954,2251,1899,1760,2032,2200,2155,1718,1721,2121,2329,2048,1906,2886,2625,2021,2655,3067,3109,3024,3263,3243,3005,2835,3007,2866,2562,1975,1866,2363,2471,2321,2543,2878,3329,3441,3108,2234,1933,2348,2501,2769,2985,3156,3237,3063,2566,2503,2741,3686,2853,2857,4059,3761,2790,2104,2201,2182,1656,1502,1634,1586,1869,1763,1998,2291,2207,1846,2054,1788,1853,2427,2141,1690,1829,2329,2691,2409,1994,2243,2780,2417,1850,2017,2199,2066,1611,1725,1964,1576,1794,1845,1948,1582,1120,1332,1594,1538,1447,1407,1479,1689,1892,1638,1966,2366,2188,2042,1760,1942,2194,1935,2231,2268,1901,2231,2382,2054,2151,2089,1669,1888,2187,2117,1826,1960,2155,2210,1858,1786,2008,2287,2346,2513,2459,2260,2147,1967,1677,1854,1955,2083,2299,2253,2014,2079,3139,3638,2812,1989,1646,1732,2601,2207,1780,2207,2300,1990,2542,2745,2017,1542,1158,1550,1913,2403,2420,2156,1971,2165,2343,2168,2621,2764,2203,2336,2203,1897,2053,2088,1754,1706,1821,1789,2111,2942,3285,3110,2821,3183,2997,2774,3304,3475,2967,2769,2886,3096,3122,2978,2710,2675,2719,2498,2057,1785,1899,1791,2186,2241,2059,2326,2596,3240,3992,3980,3472,2700,2022,1720,1754,1762,1523,1724,1941,1862,1931,1844,1956,2454,2371,2451,2193,2532,2244,2565,2919,2250,1842,1952,1607,1805,2696,2843,2098,2625,3044,2635,1974,1688,1949,2254,2120,1800,2263,2897,3376,3728,3543,3519,2407,1557,1938,2055,2290,2536,2576,2511,2723,3098,3374,3580,3585,4145,4697,4765,4256,4166,4101,4208,4332,4164,3915,4026,4228,3684,3371,3664,3682,3746,3692,3472,3572,3580,3128,2862,2610,1897,1797,1711,1722,1438,1471,1609,2506,3151,3288,3233,2937,2864,2706,2288,2511,2295,1731,1465,1427,1394,1295,1288,1418,1571,1467,1460,1737,1735,1636,1816,1635,1520,1588,2144,2391,2441,2187,1765,1662,1847,1631,1627,2556,3441,3039,2202,2433,2665,2199,2135,2491,2482,2685,2519,1894,2020,2278,2867,3261,3594,3321,3220,3494,3724,3726,3573,3535,3676,3462,2899,2885,2735,1864,1264,1307,1649,1643,1663,1408,1354,1494,1562,1560,1497,1390,1437,1494,1139,1130,1346,1419,1495,1581,1801,1797,1685,1912,2343,2908,3507,3778,3156,1267,758,1348,1203,1269,1638,2364,2213,1662,1952,2235,2264,1850,1765,1976,2179,1662,1805,2623,3668,3859,3485,3505,4107,4119,3693,3893,4083,3859,4004,3846,3865,3499,3188,3864,3919,3685,3926,4026,4045,3999,4200,4197,3914,4036,4109,4047,3838,3811,3708,3442,2966,2877,3178,3242,3340,3211,3484,3704,3472,3505,3653,3953,4153,3987,3863,3885,3576,2971,2641,2139,2893,3065,2584,3134,3172,2733,2597,2459,2208,1987,1957,1936,1771,1826,1722,1788,1482,1854,2015,1550,1495,1816,1838,2010,2342,2499,1908,1774,1619,1795,1843,1763,1898,2797,3407,3111,2276,1422,1405,1451,1652,1660,2214,2461,1696,1532,1774,1582,1787,1971,1886,2199,2151,1982,1444,1415,1500,1693,1722,1830,1944,1983,2036,2058,1818,1781,1909,1515,1555,1619,1345,1163,1313,1582,1942,1884,1713,1580,1419,1545,1738,1807,1848,1784,1764,1763,1922,1628,1755,1964,2380,2686,2846,2846,2886,3284,3484,3584,3550,3218,2918,3204,3343,3605,3750,3517,3507,3448,3260,3173,3103,3249,3376,3480,3348,3336,3517,3671,3774,4029,4232,4188,4062,3803,3341,2504,1926,1437,1310,1749,2091,1999,2047,2078,2148,2385,2484,2568,2846,2885,2623,1686,1447,1375,1320,1312,1265,1545,1704,1576,1643,1442,1428,1427,1378,1367,1305,1266,1253,1216,1286,1244,1354,1393,1450,1628,1830,1866,1602,1810,1709,1738,1579,1611,1744,1469,1449,2084,2363,1493,1593,1786,1771,1708,1571,1619,1757,1520,1582,1744,1476,1379,1557,1472,1524,1478,1549,2179,1773,1381,1944,2238,2089,1918,1998,1842,1923,2115,2249,2082,2256,2988,2470,2023,2450,3125,3796,2934,2064,2309,3406,3536,2753,2649,1738,2049,2073,1857,1930,2179,2590,2258,2321,2454,1865,2254,2375,1895,1859,2417,2135,2404,2360,2193,2355,2342,2523,2329,2068,2195,2129,2238,1972,2204,2419,1805,1670,1758,1740,1949,2198,2619,3206,3607,2715,2416,2523,2680,2358,2004,1797,1470,1654,1840,2194,2481,2189,2396,1931,1750,2029,2511,2423,2132,1803,2044,2038,2112,2919,3226,2375,2451,2513,2069,2055,1942,2038,2243,2669,3130,3068,2480,2150,2347,2091,1723,2166,2173,2357,2285,2490,1934,1509,1907,2332,2214,2174,2508,2446,2342,2398,2312,2091,2687,2868,2803,2329,2342,3538,3389,3194,3643,2556,2855,2813,2656,2292,2558,2630,2889,2929,2409,2243,2229,2225,2353,2521,2462,2242,2138,2326,2721,2461,2009,2431,2529,2308,1945,1892,1997,2192,2976,2535,1911,2473,3171,2488,2139,2103,2109,2402,2778,2699,2436,2275,2495,2803,2272,1950,2203,2266,2527,2433,2116,1761,1548,1780,2260,2779,2244,2515,2314,2069,2059,2397,2438,2300,2755,2703,2429,2930,2674,2629,3312,2673,2402,2247,2766,3034,2666,2395,2273,2327,2339,2403,2728,2550,2755,2508,2279,1801,1666,1343,1433,1740,2159,2324,1850,1708,1649,1652,1559,1097,1077,1853,2017,1992,1970,2668,3262,3463,3763,3486,2926,3205,3782,3776,3833,3979,3953,3850,3933,3219,2403,2285,2646,3808,4498,3974,3334,3290,2648,2265,2478,2594,3311,3904,3503,2718,1870,1675,2077,2889,3536,3448,3409,3115,2667,3382,3266,2988,3189,3078,2967,2604,2598,2647,2688,2611,2829,2956,2854,2774,2424,1880,1864,2050,2144,2217,2334,2320,2312,2351,2410,2647,2510,2180,2136,1952,2656,2930,2134,2276,2806,2792,2070,2046,1777,1497,2044,2958,2807,2377,2380,2634,3088,3021,2481,2718,3297,2127,1800,2024,2729,2592,1769,1799,2050,2093,2176,2394,2246,2192,2155,2380,2286,2486,2663,1937,1476,1774,2384,2432,2320,1911,1527,1728,1685,1786,1895,2047,2032,1980,2207,2523,2564,2035,1730,1667,1691,2049,2622,2900,2239,2048,1885,1938,2070,1774,2000,2769,2367,2085,2237,2286,2179,2856,3200,2286,1619,2280,2895,2424,1977,2620,2316,2016,1914,2013,2358,2306,2270,2566,2260,2324,2690,2884,2913,2684,2592,2503,2317,2351,2387,2405,2568,2759,2775,2540,2598,2808,2920,2670,2614,2864,2988,2806,3096,3321,3232,3162,2763,1838,1482,1568,1576,1666,1881,2420,2908,2494,2024,2008,1995,1847,1857,2303,2386,2228,1703,1625,1521,1240,926,1521,2862,3600,4037,3580,2603,2436,2575,2365,1930,1963,2623,2529,2334,2489,3563,3119,2736,2647,2281,2576,3354,3108,2302,2595,3049,2631,2349,2255,2490,2424,2288,2246,2469,2293,2618,3249,3768,4192,4053,2711,2379,2998,2638,2604,2796,2280,2083,2395,2164,2215,2850,3454,3537,3827,3740,3897,3881,3516,2687,3034,3505,2961,1843,1452,2035,2229,2909,3111,2931,3071,2661,2890,3488,3810,3607,3078,2811,2919,3007,3475,3685,3541,3304,3574,3542,3594,3739,3554,3307,3065,2610,2613,2829,2745,2669,2520,2933,3115,3204,3065,2989,2868,2621,2784,3706,4084,3503,3222,3440,3485,3517,3164,2830,2805,3095,2994],[3567,2940,2559,2215,2490,3141,3264,3188,3110,2939,1898,2116,3042,3500,3167,2937,3187,3203,3160,3029,2820,3228,3852,3006,2807,2888,2792,2706,3145,3687,3724,3838,3859,3435,3160,3205,3294,3454,3284,2867,2241,1565,1926,2377,2002,1908,2242,2724,2965,2792,3035,3334,2929,2619,2436,2623,3207,3482,3319,2927,2775,2972,2648,2237,2836,3379,3052,2278,2224,2275,2008,1981,1992,2105,1720,1358,2161,2563,2265,1759,1431,1117,2333,2558,1714,1363,1266,1660,2077,1606,1162,1570,1738,2672,3007,2546,2135,2070,1847,1727,1993,2425,2232,2254,2437,1869,1716,1931,1981,2068,2374,2793,3162,2238,1800,1871,1736,1600,1581,1786,2398,2790,3284,3758,3749,3780,3780,3953,3318,2185,1918,2223,2383,2151,1866,1793,1739,1616,2099,2139,1965,1918,1723,1685,1761,1763,1903,2094,2220,2171,1988,2114,2525,2364,1730,1406,2020,2151,1889,2301,2388,2249,2336,2473,2039,2102,2476,2438,2394,2474,2443,2274,2491,2455,1720,1388,2066,2666,2859,2761,2562,2857,3011,2945,3091,2731,2349,2177,2038,2060,2496,2424,1874,1670,1966,2337,2043,2272,2545,2688,3129,3556,3094,2289,2306,2808,2789,2246,2534,2947,2611,2611,2745,3150,3598,3090,2211,2008,2224,2765,2857,2712,2808,2708,2708,2828,2871,2832,2700,2484,2570,2878,2877,2674,2901,3364,3772,3691,3990,3814,3720,3324,3557,3722,3789,4000,3926,3702,3259,3284,3751,3626,3542,3548,3105,2371,2566,2476,2490,2409,2581,2977,2700,2652,2992,2955,2715,2955,3062,3212,2570,2216,2094,2038,1997,1708,2315,2619,2356,2413,2903,2939,2310,1817,2032,2062,1798,1935,2109,2308,2304,2083,2439,2483,2172,2917,3317,3319,3436,3029,2698,2740,2527,2426,2363,2245,2248,2584,2396,2690,3000,2668,2032,1793,2007,1886,1827,2477,3089,3430,3597,3422,3002,2570,2030,1855,1963,2828,3010,2271,1770,1940,2568,1845,1680,1806,2751,2806,2470,2120,2254,2397,2709,3241,3071,2766,2920,2954,2622,2315,1828,1625,1623,1683,1642,1619,1924,2062,2364,2449,1811,1726,2157,2341,2523,2523,2273,2598,2248,1963,2002,2109,2114,1859,1975,1958,2313,3007,3550,3594,2889,2488,2359,2199,2248,2201,1873,1772,2160,2221,2442,2310,2135,1880,2045,2167,1835,1533,1584,1704,1780,1880,1975,1717,1712,2004,2219,2316,2138,2161,1895,1816,2150,2556,2733,2453,2208,2258,2618,2231,1915,2431,2844,2937,2387,2002,2207,2438,2596,2721,2640,2437,2508,2193,1830,1862,2435,3216,3278,2670,2134,2055,2187,2248,2204,2530,2746,2490,2203,1585,1971,2037,1986,2974,3727,2976,2501,3033,2294,1625,1500,1816,1720,1565,1469,1748,2122,1946,1748,1802,1723,1619,1723,1928,2643,2211,1537,1577,1792,1866,1816,2010,2646,2264,2084,2170,2604,2639,2863,3008,3371,2979,3020,3172,2719,1993,1640,2070,2600,2705,2957,2923,2586,2753,2944,2855,2113,1875,2281,2229,2208,2418,2786,2872,2442,1889,1731,2456,2467,1880,2286,3083,3489,2991,2117,1947,1664,1591,1582,1738,1857,2766,2330,2051,2649,2618,2100,1930,1609,1617,1975,1883,1979,2113,2128,2473,2176,1731,2002,2350,1952,1797,2205,2186,1515,1496,2170,1960,1506,1606,1626,1749,1681,1514,1533,1482,1440,1413,1522,1940,1926,1729,1863,1751,1738,1899,1927,1937,1794,2088,2923,2969,2209,2219,2333,2244,2346,2282,2280,2225,2469,2519,1983,1903,2282,2060,1898,1764,2002,2098,2374,2042,2125,2087,1986,2213,2404,2356,2218,2143,2160,2480,2585,2063,2210,4005,4835,4427,3024,2168,2098,2343,2247,1928,2102,1924,1822,2554,2384,1721,1481,1405,2124,1963,2155,2088,1952,1937,2010,2176,2430,2751,2776,2749,3037,3357,3037,2806,2185,1587,1684,1748,1700,2066,2721,3141,3243,3120,2771,2590,2804,3312,3319,3145,2631,2199,2132,1977,1977,2304,2706,2514,2149,2393,2443,2457,2166,2612,2791,2389,2257,2512,2701,3112,3907,3957,3284,2449,2118,2239,1959,1748,1848,1735,1932,2255,2062,1732,1920,2177,2537,2218,2017,2100,2280,2431,1970,2000,2220,1622,1983,2494,2349,2249,2703,2796,2584,2250,2036,2319,2501,2243,1819,2528,3149,3280,3598,3518,3637,2973,2320,2242,2718,2841,3054,3585,3542,3772,4120,4027,3428,3501,3650,3858,3880,3427,3243,3585,4075,3889,3707,3698,3929,4013,3520,3528,3840,3804,3666,3796,3899,3819,3869,3624,2994,2599,1981,1504,1481,1544,1510,1497,1511,2192,2713,2599,2320,2357,2622,2696,2493,2472,1886,1788,1670,1557,1526,1377,1438,1700,1827,1616,1627,2003,1573,1825,1777,1729,1712,2129,2463,2364,1946,1745,1759,1759,1875,1672,1592,2150,2893,2946,2307,2342,2557,2666,2387,1826,1576,2072,2292,1816,1965,2240,2833,3249,3444,3197,3146,3271,3074,3156,3208,3096,3432,3422,2698,2925,2227,1680,1447,1446,1675,1572,1681,1935,1768,1636,1952,1748,1698,1541,1654,1356,1288,1235,1236,1434,1378,1287,1469,1759,1989,1888,1967,3109,3435,3131,2577,1447,1266,1742,1177,943,1477,2005,2251,2150,2945,2575,1848,1739,1908,2139,2053,1649,1791,2745,3708,3647,2964,3933,4595,4395,4107,4181,4092,3884,3846,3673,3484,3040,3256,4285,4365,3781,4006,4011,3939,4082,4003,4240,4240,4475,4555,4238,4242,4093,3847,3811,3243,3156,3297,3118,3173,3029,3403,3506,3203,3295,3497,3627,3934,3862,3608,3666,3440,2582,2137,1883,2842,3407,2840,3283,4132,4034,3948,3816,2895,2046,2062,2112,1907,1863,1772,1729,1369,1675,1936,1580,1682,2009,2087,2268,2285,2514,2054,1732,1572,1585,1576,1541,1729,2767,3670,3631,2714,1478,1418,1429,1675,1654,2092,2283,2104,2022,2072,1842,1851,2062,1845,2175,2094,2005,1770,1843,1946,1993,1984,1932,1862,1784,1844,2007,1824,1638,1786,1281,1556,1499,1382,1257,1544,1961,2029,1695,1621,1751,1438,1801,2079,1815,1561,1333,1201,1261,1641,1848,1924,2041,2148,2713,3103,3051,3085,3528,3661,3565,3559,3388,3156,3039,3097,3514,3858,3790,3684,3385,3278,3208,3296,3527,3554,3525,3352,3153,3115,3233,3377,3687,4125,4264,4319,4155,4046,4009,3820,3039,2101,1402,1168,1286,1615,2042,2071,2203,2282,2536,2698,2780,2297,1512,1377,1325,1311,1259,1300,1480,1615,1687,1495,1495,1779,1666,1429,1436,1346,1286,1226,1402,1487,1220,1249,1472,1558,1530,1563,1545,1558,1567,1638,1733,1713,1865,1954,1672,1500,1752,1781,1609,1569,1748,1681,1722,1734,1820,1734,1422,1604,1626,1509,1496,1540,1337,1455,1466,1403,1731,2010,1926,1749,1894,1980,1997,2319,2016,1774,1831,2116,2121,2578,3294,2502,2594,3185,3280,3608,3520,2588,2395,3605,4100,3292,2585,1962,1850,1858,2008,2063,2864,3688,2938,2526,2939,2644,3152,3104,2096,2070,2396,2290,2523,2309,1631,1541,1664,1749,1829,2261,2535,2104,1960,2142,2045,1851,1777,2111,2201,1830,1914,2630,3044,2806,3166,2212,1866,1959,1752,1626,2026,2033,1739,2073,2000,2264,2359,2307,2271,1764,1891,2101,2258,2288,1963,1958,2266,2082,2145,2301,2554,2474,2272,2160,1932,1833,1912,2216,2249,2268,2688,2465,2000,2166,2640,2054,1883,2328,2378,2153,2145,2281,1875,1534,1534,1976,1923,2284,2576,2221,2669,3173,2666,1844,2330,3000,2887,2342,2363,3076,2917,3422,3420,2916,3419,2968,2678,2750,2741,2541,2572,2565,2183,2183,2303,2559,2486,2658,2451,1926,1869,1991,2499,2545,2281,2256,2076,2308,2023,2010,1881,2364,3100,2348,2404,3112,3350,2667,2433,2558,2777,2953,2920,2188,2082,2120,2246,3040,3161,2941,2707,2613,2550,2425,1877,1159,1410,2074,2432,2577,1982,2370,2317,1921,2048,2477,2388,2121,2669,2824,2727,3013,2718,2935,3372,2776,2205,2091,2461,2736,2465,2443,2458,2236,2255,2656,2718,2586,2758,2964,2740,1881,1553,1424,1398,1603,2066,2356,1791,1675,1703,1905,2678,3037,2900,2634,1892,1230,1207,1794,2873,3447,3836,3355,3130,3146,3860,3973,3665,3706,3934,3894,3476,2856,2411,2600,3309,4421,4420,3989,3359,2946,2310,2274,2446,2450,2953,3628,3913,3231,1832,1944,2153,2460,2829,3344,3839,3626,3602,3982,3978,4057,3637,2963,2521,2398,2656,2631,2611,2757,2890,2562,2321,2394,2173,2084,2318,2295,2075,1805,2093,2366,2351,2198,2480,2818,2427,2414,2249,2052,2953,2480,2007,2874,2917,2184,2520,2306,1983,2326,3194,3759,3422,2776,2683,2204,2345,2682,2054,2763,2656,1947,1686,1693,2011,1822,1632,1672,1738,2076,2238,2307,2439,2645,2161,2141,2446,2488,2217,1879,1745,1646,2165,2195,2464,2069,1538,1832,1834,1952,1987,2229,2285,2001,2353,2504,2424,2208,1751,1602,1509,2094,2343,2200,2044,2068,2220,2138,2009,2189,2130,3141,2653,2235,2034,2056,1925,2678,2921,2113,1344,1544,2219,2460,2758,2933,2216,2110,2108,2666,2729,2402,2533,2618,2230,1893,2275,2994,3091,3134,2355,2299,2874,2544,2159,2114,1972,2079,2160,1942,1788,2025,2558,2866,2761,2697,2625,2938,3683,3742,3333,2850,2017,1339,1427,1434,1651,1693,2011,2735,3410,3032,2495,2100,1948,2391,3089,3042,2084,1974,1672,1084,778,895,1182,2341,3881,4081,3980,3706,2587,2283,2322,2314,2559,2533,2909,2724,2538,2885,3598,3398,2621,2142,1981,2533,3100,2921,2571,2490,2696,2872,2643,1819,1586,1855,1917,2261,2547,2120,2768,3001,3470,4056,3718,2524,2614,3110,2899,2908,2751,2683,2611,2366,2436,2637,3302,3887,3824,4047,3897,3934,3757,3166,2419,2422,2792,2697,1399,1317,1627,2729,2811,2412,2849,3260,3023,3344,4002,4071,3394,3428,3365,3074,3231,3609,3730,3784,3829,3692,3305,3317,3610,3674,3570,3152,2928,2911,2950,2955,2590,2307,2758,3008,3352,3515,2695,2100,2479,2800,3614,3738,3421,3250,3431,3441,3285,3285,3015,2814,2901,2986],[3384,3213,2802,2158,2552,2751,2472,2739,3242,3118,1983,1908,2995,3289,2635,2446,2689,2633,2684,2832,2890,3294,3457,3250,3530,3501,3040,3105,3254,3643,3851,3939,4593,3854,3194,3260,3162,3417,3479,3207,3241,2535,2399,2263,1703,1831,2510,3208,3198,2702,2707,3124,2996,2584,2326,3172,3739,3519,3353,3081,2742,2810,2424,1832,2500,2928,2835,2424,2088,2097,2084,2047,2110,2405,2071,1800,2230,2285,2397,2198,1699,1402,2120,2007,1580,1686,1472,1372,1730,1417,914,1625,1872,2944,3310,2529,2175,2047,1870,1803,2152,2588,2671,2298,2044,1646,1699,2214,2546,2587,2472,2436,2823,2471,1771,1739,1786,2096,2919,3042,3341,3741,3887,3741,3995,4046,3569,3502,3222,2246,1731,1728,1755,1858,1672,1619,1721,1781,1995,1865,1966,2248,2011,1707,1720,1645,1980,2429,3025,2984,2808,2349,1986,2002,1790,1835,2336,2220,1986,2464,2534,2320,2350,2204,2257,2622,2765,2214,1977,2263,2349,2126,2221,2227,1876,1853,2207,2213,2524,2481,2718,3273,2745,2108,2480,2455,2131,2497,2455,1991,2098,1789,1725,1789,2152,1999,1879,2493,2220,1930,2277,2623,2705,2634,2728,3142,3029,2632,2777,2803,2965,2941,2942,2931,2835,2532,2517,2648,2647,2525,2655,2809,2884,2975,3254,3417,3332,3274,3401,3334,2977,2961,2901,2645,2647,3341,3756,3606,3862,3936,3727,3383,3530,3846,3982,4120,3902,2987,2687,3381,3863,3686,3460,3606,3155,2600,2485,2467,2677,2075,1731,2035,2348,2808,3052,3054,2551,2340,2834,3362,3243,2662,2109,2441,2498,2254,2656,2202,2151,2165,2897,3173,2428,1939,2332,2116,1687,1748,1677,2243,2329,1744,1771,2039,2481,2857,2686,2992,3457,3359,3129,2617,2407,2634,2951,2603,2403,2131,2215,2525,2676,2348,1971,1828,1770,1923,2558,3044,2712,3288,3616,3122,3220,2815,1974,1989,2494,2770,2351,2090,1964,1875,2167,1691,1585,2193,2891,2980,2554,2353,2565,2660,2944,3462,3514,3582,3442,3354,2630,2011,1704,1637,1551,1620,1804,2082,2420,2070,2339,2325,1964,2388,2502,2435,2610,2266,2302,2828,2994,2885,2796,2567,2111,1987,1871,1784,2458,2980,3440,3277,2611,2336,2474,2494,2273,2194,1813,1685,2166,2473,2556,2355,2272,1907,1928,2136,1976,1591,1427,1374,1686,2314,2375,2193,1872,1836,2117,2152,1919,2007,1670,1571,1786,2047,2179,2279,2662,2684,2833,2385,2420,3039,2754,2512,2485,1826,1990,2451,2337,2301,2107,2047,2519,2231,1946,2031,2492,3062,2932,2130,2133,2097,2260,2239,2586,2822,2273,2244,1828,1615,2033,2063,2070,2912,3623,3383,2879,2519,1716,1489,1647,1816,1668,1651,1773,1825,1747,1571,1509,1520,1769,1742,1903,2463,2406,1825,1701,1810,1767,1867,1725,1724,1884,1641,1948,1788,1645,1694,2281,2428,2727,2943,3212,3230,2333,1135,1089,2085,2410,2425,2912,2365,1637,1844,2341,2380,2061,2161,2576,2297,2030,2335,2482,2653,2093,1971,1470,1415,1604,1717,1730,2168,2644,2381,1862,2045,2183,1596,1483,1737,2094,2770,2452,2431,2811,2397,2287,2117,1620,1456,1562,1513,1909,1943,1907,2303,2029,1748,2039,2370,2040,1750,1751,1575,1436,2066,2424,1805,1694,1525,1405,1558,1669,1728,1538,1318,1357,1555,1925,2299,2322,1687,1447,1389,1615,1866,1888,1837,1658,1843,2725,2747,2048,2356,2369,2411,2497,2290,2206,2326,2192,2157,2089,2330,2482,1863,1660,2045,2742,2476,2300,1977,2247,2056,1824,1985,2019,2142,2203,2055,1895,2202,2201,2029,1888,2969,3884,3764,2664,2508,3054,2691,2034,2035,2177,2097,2244,2157,1930,1569,1528,1816,2180,2070,2025,2167,2240,2063,1945,1415,2083,2330,2342,2740,3270,3364,3298,3019,2450,2202,2134,1930,1907,1870,2314,3021,3071,2656,2600,3139,3039,2876,2932,3100,2830,2518,2226,2038,1172,1721,2103,2438,2500,2534,2537,2349,2213,2620,2618,2268,2322,2469,1650,1796,2379,3138,3563,2916,2492,2442,2146,2006,1726,1598,1957,2098,2111,1689,1628,2331,2355,2280,2195,2065,2065,1907,1836,2298,2307,2049,2410,2508,2169,2281,2084,2552,3528,3196,2270,2572,2727,2463,2278,2582,3260,3255,3090,3060,3124,2768,2396,2481,2888,3124,3733,4197,4124,4489,4708,4576,3741,3151,2741,2998,3254,2927,2652,3505,4005,3436,3751,4303,4121,4046,3725,3580,3723,3852,4109,4229,3896,3725,3925,3613,3287,2575,2123,1625,1481,1566,1617,1609,1626,1784,1985,2047,2122,2276,2431,2499,2024,1785,1661,1751,1666,1501,1469,1545,1556,1601,1751,1852,1562,1652,1807,2000,1865,1578,1511,1789,1918,1817,1610,1747,2016,2005,1779,1783,1882,1964,2006,2320,2336,2868,3606,3208,2030,1526,1540,2303,2705,2311,1995,2127,2367,2819,3204,2917,2997,2975,2719,3104,3206,3293,3665,3701,2972,2216,1938,1643,1383,1610,1731,1374,1627,2056,2168,2006,2175,1790,1708,1701,1612,1394,1429,1350,1489,1795,1687,1608,1467,1776,1952,1678,1742,2642,2778,2353,2155,1532,1257,1628,1585,1578,1835,1863,2081,2063,1882,1153,998,1102,1514,1757,1765,1643,1616,2434,3132,2616,2357,3664,4025,3844,3894,3535,3442,3671,3642,3724,3443,3188,3978,4784,4239,3691,3834,3947,3958,3588,3466,3562,3840,4589,4704,4283,3681,3508,3797,3912,3291,3099,3276,3315,3310,3417,3578,3469,3206,3376,3569,3436,3659,3844,3782,3887,3484,2433,2035,2224,2807,3464,2872,2490,3131,3072,2972,2753,1958,1725,2399,2965,2923,2256,1772,1763,1978,2164,2104,1908,1824,1965,2077,2169,2496,2315,2057,2114,1911,1594,1626,1598,1454,2543,3580,3874,2868,1627,1356,1386,1639,1610,1653,1944,2040,1908,2011,1870,1728,2095,1850,2171,2169,2127,2009,1895,1824,1718,1634,1479,1428,1416,1416,1587,1673,1505,1512,1529,1786,1640,1381,1383,1703,1923,1956,1807,1720,1847,1765,2283,2215,1794,1603,1385,1153,1097,1655,1874,1365,1714,2200,2618,2808,2712,2713,3273,3508,3366,3335,3494,3400,3038,3149,3582,3745,3559,3237,3251,3097,2993,3259,3417,3508,3418,3310,3225,3105,3154,3308,3594,3964,4001,4172,4244,4143,3945,3982,3828,3514,3153,2391,1726,1184,1143,1593,1917,1982,2050,2170,2362,1911,1522,1445,1339,1345,1570,1289,1327,1388,1601,1559,1411,1614,1499,1365,1492,1514,1454,1260,1395,1374,1226,1269,1839,2042,1841,1532,1525,1597,1430,1425,1613,1809,1858,1827,2127,1805,1976,1814,1667,1827,2097,1749,1524,1637,1671,1596,1466,1444,1520,1600,1643,1421,1208,1333,1422,1220,1327,1764,1894,1549,1607,1670,1856,1783,1753,1762,2095,2186,2040,2366,2432,2633,3598,3929,3774,3746,3813,3232,2775,3421,3613,2746,2240,2081,2123,2387,2490,2072,2567,2989,2787,2475,2615,3061,3339,2497,1807,1817,2344,2658,2391,1698,1405,1447,1610,1609,2337,2792,2163,1780,2350,2510,1975,1650,1729,2337,2190,2020,2394,2928,2876,2379,2216,2416,2773,2679,2041,2222,2750,2574,2255,2307,2144,2302,2103,1908,1802,1895,2301,2178,2243,2375,2222,2252,2419,2366,2298,1907,2008,2338,2247,2019,1681,1787,2104,2264,2244,2019,2438,2358,2327,2810,2671,2338,2222,2365,2569,2243,2057,1932,2208,2696,2322,2370,2570,2781,2611,2061,2445,3029,2767,2302,2469,2546,1910,1967,2221,2544,2215,3481,3167,3300,3460,2740,3443,3593,3064,2809,2734,2031,1857,2230,2768,3094,3072,2945,2555,1947,1814,2033,2353,2361,2058,2612,2902,2876,2894,3141,2514,2559,2519,2448,3023,3262,3088,3016,2686,2401,2749,3122,2801,2155,2408,2137,2396,2873,3195,2835,2482,2499,2440,2233,1882,1230,1332,1932,2281,2211,1898,2331,2492,2250,2242,2199,2311,2210,2762,2800,2740,2909,2831,2530,2844,2570,2446,2233,2076,2569,2795,2391,2119,1921,2288,2714,1936,2074,2625,2902,2375,1909,2036,1904,1819,1545,1678,2229,1791,1582,1602,2408,3508,3806,3665,3584,3197,2947,3230,3234,3596,3814,3111,2343,2453,2656,3522,3288,3228,3246,3124,3890,4172,3529,2731,2562,3506,3936,3417,3119,2844,2644,2605,2554,2524,2410,2375,2586,2955,2633,2776,2542,2130,2039,2221,2423,2917,3571,4075,4308,4399,4688,4458,3852,3093,3104,3009,2768,2842,3096,2897,2308,2213,2376,2124,2153,2337,2410,2270,1929,1807,1820,1866,1747,1940,2142,2094,2500,2070,2297,2878,2186,2217,3218,2866,2852,3537,3284,2349,2301,3066,3332,3028,2851,2910,2422,1846,1967,2115,2445,2453,2090,1922,2145,2029,1817,1751,1731,2338,2685,2410,2250,2406,2501,2277,2417,2460,2364,2368,2165,1931,2072,2326,2251,2303,2176,1903,2171,2150,2008,1880,2060,2261,2150,2271,1797,1813,2301,2022,1533,1930,2424,2626,2804,2475,2619,2493,1802,2137,2673,2717,2880,2524,2166,1823,1732,1770,2010,2285,2194,1605,1843,2434,2798,3063,2313,1938,1852,2144,2686,2849,2822,2622,2671,2444,2097,2308,2689,2967,2805,2231,2614,3124,2957,2635,2232,1525,1383,1803,2002,1984,2296,2680,2524,2402,2801,2955,3157,3521,3342,2639,2052,1698,1465,1426,1856,2281,2049,2352,2777,3086,3073,2691,2245,2018,2399,3268,3145,2150,1732,1653,1281,1162,1306,1666,2772,3869,3771,3161,2833,2739,2391,1967,2286,2777,2736,2656,2601,2717,2752,2616,2451,2227,2190,2091,2459,2392,2475,2148,1926,2011,2532,2501,1950,2361,2390,2173,2509,2746,2671,2846,2798,2795,2995,2957,2317,1902,1938,2746,3362,3246,2749,2746,2446,2477,2433,2954,3419,3631,4047,4187,3914,3588,2879,2134,2689,2902,2353,1593,1450,1802,3052,3062,2996,3355,3112,3252,3893,3985,3746,3435,3850,3650,3492,3579,3403,3460,3685,3817,3602,3115,3342,3350,3260,3153,3105,2985,3042,3023,2822,2519,2353,2302,2650,3205,3151,2252,2375,2634,2568,3154,3312,3164,3164,2951,2937,3442,3213,2874,2850,2555,2365],[2777,2842,2656,2536,2678,2491,2248,2820,2990,2842,2590,2166,2889,3242,2535,2416,2380,2247,2901,2890,2476,2928,3156,3269,3377,3437,3350,3356,3264,3672,4059,4263,4792,4376,3732,3491,3219,3247,3628,3683,3610,3321,2762,2343,1954,2194,2740,2824,2729,2221,2323,2499,2724,2980,3286,3749,3764,3494,3350,3017,2854,2727,2521,2049,2396,2724,2688,2470,2252,2351,2608,2685,2320,2386,2159,2012,2040,2157,2138,2237,2355,2198,2238,2143,1935,1801,1519,1505,1411,1058,1029,1405,1874,2886,3153,2474,2130,2166,1910,1941,2284,2519,2284,1975,1962,2131,2476,2807,2947,2652,2536,2575,3014,3442,3242,2433,2271,2270,2966,3208,3432,3487,3777,3949,3952,3870,3486,3199,3190,2420,1882,2229,1763,1595,1536,1700,1782,1803,1899,1762,1837,1824,1636,1594,1594,1625,1862,2280,2874,3109,2784,2478,2293,1810,1862,2137,2036,1621,1631,2163,2495,2681,2430,1897,1992,2584,2792,2298,1705,1225,1748,2462,2701,2503,2278,2258,2433,1841,1902,2357,2798,2763,2003,1532,1947,1863,1909,2509,2584,2240,1698,1624,1912,2077,2293,2186,2412,2688,2341,2054,1953,2238,2946,2598,2206,2351,2479,2568,2850,3108,3038,2812,2711,2498,2732,2885,3108,3163,3204,2905,2788,2998,3186,3326,3448,3447,3393,3298,3614,3670,3400,3584,3514,3427,2910,2994,3296,3353,3557,3716,3510,3242,3537,4062,4208,3945,3050,2374,2183,2994,3520,3607,3725,3784,3476,3008,2504,2575,2731,2149,1700,1638,2172,2677,2788,3032,2822,2265,2358,2996,3493,2813,2498,2568,2357,2320,2778,2718,2297,2153,2410,2961,2896,2124,2091,1781,1876,1848,1836,1940,1957,1876,1709,2379,3372,3016,2443,2488,2699,2907,3017,2673,2737,3156,3296,2917,2676,2447,2536,2742,2430,1738,1500,1322,1542,2155,2656,2709,2471,2851,3122,2895,3221,3299,2722,3096,2922,2464,2527,1934,1686,1560,1628,1599,1539,1954,2591,2812,2475,2553,2943,3295,3154,3528,3603,3693,3632,3629,2899,1962,1720,1748,1714,2044,2146,2107,2144,1635,1867,2031,2222,2346,2384,2285,2178,2227,1882,2288,3310,3429,3034,2263,1917,2194,1961,1715,2452,3039,2752,2425,2450,2553,2612,2103,1793,1753,2130,2219,2248,2393,2342,2228,1879,1582,1800,1971,2030,2016,1908,1726,1886,2469,2462,2544,2123,1570,1964,2081,2109,2496,2198,1691,1650,2030,2046,2558,2972,2733,2375,2333,2932,3308,3063,2921,2591,2291,2687,3168,3000,2330,2043,2354,2769,2831,2556,2445,2996,3010,2317,2022,2171,2268,2308,2385,2189,2079,1998,2054,2051,2009,2106,1949,2155,2662,3090,3628,3276,2061,1569,1572,1811,1686,1372,1806,2389,1935,1628,1637,1573,1768,2786,2756,2138,2193,1864,1600,1750,1770,1732,1802,1836,1955,1634,1748,2260,2207,1776,1823,2107,2316,2791,3242,3442,2958,1682,881,1376,2121,2178,2400,2536,2197,1416,1275,1463,1867,2422,2678,2296,1912,1471,1859,2416,2320,2079,2241,2122,1613,1322,1499,1996,2377,2418,1842,1824,1745,1710,1428,1334,1585,1780,2002,2181,2547,2542,2039,2766,2347,1720,1521,1522,1526,1631,1609,1578,1633,1684,1773,1947,2546,2415,1656,1579,1819,2056,2309,2086,1638,1465,1361,1360,1178,1351,1638,1664,1562,1639,1837,2698,2284,1908,1795,1509,1402,1630,1779,1643,1487,1571,1701,1860,1721,2168,2375,2133,2447,3017,2814,2306,2133,2104,2237,2031,2255,2360,1850,1816,2151,2200,2262,2092,1832,2093,2004,1965,1920,1789,1748,1535,1699,1898,1897,1905,1967,1796,1879,2124,2186,1898,2153,2889,2343,1703,2654,3176,2750,2003,1858,1847,1881,2203,2216,1931,1721,1805,1593,1560,1781,2372,1892,2142,2407,2261,2530,2698,2732,3008,2913,3118,2853,2722,2630,2375,2186,2426,2957,3029,2807,2876,2988,2758,2234,2648,3284,3220,2700,2162,1299,1498,2037,1866,1812,2164,2472,2376,2116,2438,2801,2561,2576,2493,1683,1209,1238,1800,2215,2186,2234,2296,2574,2196,1924,1538,1823,2197,2201,1957,1639,1678,1885,2178,2623,2428,1976,2133,2181,2482,2706,2509,3055,3332,2676,2186,2074,2054,2453,2905,2966,2244,2750,2906,2780,2314,2603,3475,3405,3032,3188,3000,2758,3084,3083,3216,3265,3669,3977,3948,4021,4080,3604,2935,2467,2480,2945,2954,2775,2876,3563,3461,3060,3747,4313,4312,4188,3971,3509,3586,4035,3854,3532,3541,3799,3871,3475,3231,2813,2304,1701,1498,1595,1670,1645,1442,1386,1573,1868,1960,1891,1953,1936,1565,1443,1465,1386,1480,1653,1902,1747,1610,1616,1876,1692,1727,1837,2170,2289,1947,1587,1636,1649,1708,1663,1508,1675,1881,2258,1917,1737,1824,2052,2026,1997,2264,2902,3349,2656,1952,2481,2574,3156,3489,3134,2751,2624,2292,2461,2692,2762,2977,3118,3200,3001,2929,3354,3490,3167,2353,1962,1782,1619,1698,1825,1468,1345,1660,1991,2004,1990,1588,1459,1517,1639,1686,1453,1439,1648,1781,1910,1794,1864,1610,1688,1726,1758,1638,1884,2577,2426,1736,1482,1432,1421,1791,2044,2401,1910,1912,2424,1350,785,1220,1447,1858,1936,1757,1738,1737,2798,3538,2863,2850,3649,3638,3508,3758,3638,3807,3871,3752,3978,3783,4192,4705,4753,4284,3763,3570,3854,3758,3398,3361,3122,3287,3814,3840,3757,3162,3066,3555,3659,3250,3054,3649,3958,3620,3365,3431,3244,2989,3362,3752,3658,3760,4108,4168,4149,3594,2594,2507,2832,3234,3665,3188,2633,2494,2137,2088,2123,1766,1787,2519,3287,2921,2192,1789,1952,2677,2372,2402,2317,1888,1915,2070,2093,2424,2600,2906,2923,2468,2243,2010,1669,1701,2786,3706,4112,3399,2007,1406,1666,1835,1526,1546,2021,2094,1715,1963,1940,1696,2050,1844,2109,2276,2225,1819,1425,1410,1365,1401,1359,1356,1390,1362,1477,1786,1786,1604,1887,1816,1443,1416,1540,1898,2009,1993,1829,1692,1787,1860,2205,2154,2176,2091,1521,1133,1277,1756,1763,1506,2338,2144,1899,1760,1715,1986,2866,3238,2976,3081,3419,3497,3493,3453,3464,3347,3317,3481,3356,3020,3029,3209,3392,3583,3495,3533,3421,3393,3377,3410,3499,3665,3584,3682,4020,4184,4113,3970,3647,3630,3882,3790,3365,2698,1882,1238,1102,1247,1509,1682,1701,1706,1671,1494,1403,1412,1937,1466,1248,1309,1421,1409,1372,1474,1434,1520,1627,1454,1314,1276,1328,1340,1197,1188,1642,1740,1522,1391,1360,1409,1280,1327,1425,1780,1833,1680,1844,1952,2394,2524,2168,2497,3149,2398,1418,1354,1606,1686,1525,1448,1512,1511,1531,1390,1261,1397,1338,1334,1630,1687,1508,1516,1758,1918,1896,1868,1815,2133,2309,2114,2442,2570,2239,3174,3820,3873,3613,3521,3873,4167,3408,2527,2064,1955,2193,2330,2585,2304,2214,2235,2165,2799,2896,1992,1600,1763,1736,1742,1667,2029,2968,2580,2657,2284,2014,1987,2176,2192,2847,3028,2109,1966,2395,2283,1909,1706,2143,2822,2618,1993,2179,2168,2080,2045,2334,2713,3087,3265,2645,2601,2391,2081,2340,2370,2235,2230,2105,2501,2783,2872,2473,2304,2183,2157,1830,2200,2298,2172,2194,2040,1789,1772,2246,2430,2338,2176,2135,1622,1954,1909,2266,2510,2951,2920,2110,2142,2288,2153,2276,2508,2303,2111,2608,3476,2714,2500,2802,2922,2624,2298,2511,2735,2491,2614,2608,2890,2411,2424,2520,2350,2358,3574,3184,3366,3180,3015,3839,3341,3041,2941,2454,1561,1914,1924,1943,2374,2557,2448,2511,2620,2415,2533,2692,2134,1953,2640,2881,2664,2980,3420,2642,2193,1997,2100,2613,2654,2797,3404,2591,2398,2149,2411,2327,2291,2723,2576,2186,2208,2408,2247,2208,2166,1944,1859,2184,1615,1557,1991,2070,1927,1972,2569,2722,2304,2270,2338,2718,2458,3459,3006,2322,2275,2260,2272,2430,2282,2038,2049,2261,2536,3124,3375,2385,1962,2226,2373,2125,2434,2917,2508,1718,1848,1964,1397,1587,1482,1665,2157,1803,1691,1785,2498,3486,4001,3789,3717,4060,4085,4083,4252,4353,3620,2255,1920,2398,3088,3350,3216,3038,2374,2626,3892,4039,3818,3320,2440,2542,2810,2886,2843,2410,2359,2513,2648,2678,2351,2185,1990,2145,2710,3298,3094,2548,2324,2287,2099,2620,3205,3522,3782,4119,4540,4664,4487,4083,4058,3570,2589,2401,2641,2719,2562,2490,2512,2281,2456,2587,2356,2240,2214,2070,1590,1414,1609,2074,2558,2545,2320,1735,2408,2574,2226,2573,3115,2978,2897,3319,4052,3783,3081,3440,3060,2684,3266,3538,2977,2165,2274,2497,2439,2641,2335,2260,2862,2766,1990,1649,1726,2685,2976,2655,1922,1746,2544,2985,2204,2075,2116,2115,1937,1699,1788,2295,2018,1827,1855,2000,2475,2418,2294,2780,2646,2493,1802,1690,1775,1877,2015,1832,1771,2090,2333,2430,2265,2035,2821,2613,2534,2889,2356,2499,2220,2048,1886,1685,1578,1663,1615,2071,1908,2373,1991,2343,2700,2149,1876,1896,1870,2364,2858,3220,2994,2729,2952,2801,2307,2156,2214,2324,2427,2886,2820,2315,2610,2249,2227,1903,1767,2292,2293,2253,2382,2906,3106,3143,3489,3549,3355,3105,2657,2116,1891,1682,1657,1672,2238,2697,2499,2238,2219,2248,2330,2251,2048,1485,1306,2351,2825,2045,1588,1972,1867,1487,1190,1439,2542,3060,2888,2666,2954,3489,2664,2535,2750,2677,2566,2359,2391,2438,2281,2028,2226,2508,2524,2492,2219,1956,1821,1299,1431,1934,2832,3327,3340,3629,3297,2760,2641,3189,3094,2613,2719,2580,2484,2475,1977,1781,2323,2789,3607,4092,3096,2588,2535,2297,2396,2825,3088,3555,3802,4004,3858,3304,2608,2998,3616,2719,1638,1492,1220,1945,3222,3407,3268,3233,2855,3094,3573,3397,3024,3296,3672,3240,3162,3341,3408,3655,3860,3919,3699,3085,3249,3298,3216,2720,2522,2921,3326,3210,2736,2287,2128,2519,2718,2850,2645,2567,2384,2585,2357,2624,2688,2476,2520,2539,2818,3006,2351,2415,2314,2357,2063],[2699,2734,2575,2624,2688,2822,2737,2802,2777,2735,2435,2334,2842,3031,2624,2462,2289,2275,2583,2366,2215,2569,2945,3097,3273,3184,2805,2932,2952,3491,3834,3936,4521,4521,3968,3498,3148,3172,3425,3548,3475,2937,3183,3519,3202,3279,3536,2939,2848,2589,2802,2628,2707,3230,3254,3420,3514,3263,3328,3167,2925,2801,2806,2327,2474,2811,3142,3583,3175,2744,2579,2545,2293,2403,2266,1983,1886,1900,1794,2055,2610,2663,2446,2377,2280,2138,2018,2064,1931,1633,1565,1604,2058,2764,2871,2408,2189,2316,2202,2636,2868,3019,2468,2136,2287,2535,2252,2106,2285,2792,3072,2977,3483,3607,3655,3046,2772,2244,2620,3216,3454,3532,3458,3296,3512,3651,3708,3430,3205,2226,1995,2458,1969,1780,1739,1808,1918,2018,1889,1638,1699,1519,1532,1618,1882,2048,2070,2769,3393,3130,2373,2281,1989,1596,1646,1991,2541,2319,2535,2562,2630,2349,2115,1983,2030,2678,3054,2678,2155,1440,1881,2658,2705,2607,2260,2381,2522,2082,2221,2777,2478,1793,1607,1583,1865,1908,1579,1568,1722,1706,1909,2405,2555,2687,2836,2689,2484,2423,2669,2422,2620,3184,3522,2780,1863,1662,1994,2505,3094,3625,3543,3481,3366,2984,3099,3117,3184,3245,3240,3135,2713,2707,3112,3259,3428,3616,3666,3393,3497,3393,3426,3617,3955,3724,3111,3017,2894,2842,3338,3588,3366,3154,3420,2984,3318,3229,2411,2058,2204,2922,3078,3183,3335,3299,3416,3132,2643,2709,2674,2197,1905,1710,2128,2320,2243,2616,2878,2509,2269,2577,3262,2669,2411,2131,1916,1966,2178,2109,2103,2079,1941,2911,2931,2003,1672,1744,2272,2627,2340,1956,1869,2096,2163,2447,3261,3094,2832,2579,2532,2106,2213,2513,2818,3204,3337,3421,3169,2636,2480,2407,1859,1459,1311,1394,2205,2537,2563,2714,2473,2305,2791,3175,3084,3318,3266,2876,2311,2719,3218,2769,2355,2018,1802,1694,1784,1928,2052,2680,2631,2769,3350,3212,2966,3259,3107,2497,2775,3199,2491,2036,2126,2136,2122,2345,2002,2020,1539,1300,1671,1959,1997,1814,1772,1875,1982,2215,1881,2203,2745,2756,2490,1923,1826,2003,2116,2086,2193,2034,1982,2176,2171,1918,1707,1798,1986,2194,2252,2223,2407,2397,2191,2166,1865,1549,1419,1488,1758,2039,2165,1911,1716,2004,2288,2322,1844,1672,1781,1792,1865,2202,2795,2281,2001,2229,2192,2242,2292,2455,2402,2504,3052,3189,3106,2922,2723,2623,3382,3549,3306,2858,2600,2976,3321,2987,2900,2729,2544,2383,2004,2093,2250,2297,2546,2621,2313,2144,2252,2649,2279,1798,1400,1712,2518,3001,3037,2823,2297,1874,1786,1847,1900,1682,1367,1411,1658,1704,1658,1902,1747,1614,2786,3160,2551,2171,1760,1703,1668,1851,1854,1792,1854,1899,1612,2001,2232,2125,2083,2061,2301,2836,3283,3532,3052,2401,1299,1043,1772,2035,2107,2314,2737,2937,2679,1982,1638,2438,2757,2635,1954,1795,1431,1560,1932,1884,2139,2228,2188,2165,2245,2467,3328,2865,2418,2204,2121,1680,1615,1658,1526,1651,1791,1908,1891,2062,2073,2064,2264,1780,1599,1557,1457,1550,1619,1653,2029,2234,1980,2163,2247,2890,2513,1827,2178,2082,1960,2053,1841,1581,1550,1442,1139,1031,2037,2039,1794,1813,2004,1816,2314,1972,1548,1609,1525,1498,1694,1713,1575,1364,1412,1740,2083,2161,2703,2905,2727,2697,2897,2416,2173,1998,2150,2738,2377,2054,1967,1998,1962,2000,2042,2201,1963,1707,2250,2285,1546,1555,1684,1904,1804,2214,2377,2247,2187,1978,1609,1267,1335,1725,1814,1974,2097,1788,2197,2966,3239,2607,2299,2231,2042,2291,2347,2064,2009,1830,2174,2026,1764,1915,1997,2081,2607,2587,2253,2352,2429,2520,2655,2418,2656,2153,2562,2756,2789,2631,2822,3256,3362,3501,3210,2900,2748,2321,2872,3261,3160,2432,1928,1651,1826,1996,1866,1759,1865,2266,2215,2287,2627,3008,2754,2438,2323,1915,1562,1511,2034,2250,2107,2283,1949,1736,1881,1903,2113,2459,2443,2348,2105,1909,1972,1729,1882,2216,1989,2580,2907,2748,2504,2379,2798,3499,3579,2564,1909,1942,1823,2008,2088,2265,2378,3042,3175,2955,2798,2805,3370,3370,3005,3278,3123,2880,3496,3149,2873,2942,3132,3117,2949,2893,2895,2608,2618,2882,3374,3342,2804,2785,3098,3557,3594,3552,3549,3886,4255,4046,3444,3241,3736,4054,3653,3198,3416,3490,3569,3671,3417,3047,2545,2049,1925,1781,1584,1628,1504,1409,1475,1648,1676,1602,1592,1581,1341,1538,1794,1530,1550,1615,1732,1722,1715,1988,1911,1916,2210,2008,2234,2581,2088,1814,1651,1355,1709,1640,1686,2253,1903,1744,1732,1575,1678,1820,1781,1828,2049,2332,2480,2039,2122,2658,2751,3166,3445,3418,3451,2941,2371,2412,2123,1935,2380,3151,3567,2731,2761,3056,2886,2258,1854,2007,2020,1850,1793,1510,1507,1745,1843,2055,2354,2165,1680,1575,1792,1918,1834,1566,1783,2263,1769,1666,1715,1726,1627,1666,1677,1555,1321,1997,3251,3461,2800,2147,1727,1287,1726,2198,2802,2554,2897,2669,1312,1356,1848,2188,2549,2062,1748,1756,1649,2488,3638,3833,3661,3753,3415,3380,3639,3917,4112,3860,3925,3487,3640,4051,3948,4057,4165,3948,3848,3839,3916,3992,3660,3723,3596,3355,3444,3372,3028,3172,3512,3288,2883,3127,3577,3751,3768,3558,3770,3557,3197,3425,3836,4256,4433,4346,4189,4050,3519,3038,3178,3065,3413,3286,3072,2374,2060,1871,1706,1745,2161,2408,2592,2953,2786,2497,1811,2214,2814,2333,2461,2512,1958,1824,2015,2113,2306,2645,2907,3211,3207,3090,3065,3119,2890,3001,3227,3465,3254,2269,1574,1522,1397,1287,1812,2145,1870,1532,1908,1924,1682,1936,1870,1975,2242,1986,1625,1417,1345,1367,1412,1380,1387,1442,1436,1475,1897,2136,1855,1704,1776,1617,1614,1654,1763,1695,1668,1448,1538,1842,2137,2324,2534,2931,2443,1549,1338,1535,2048,1930,1802,2022,1536,1425,1368,1251,1425,2032,2380,2461,2180,2335,2611,3239,3209,3184,3320,3526,3719,3693,3378,3275,3520,3628,3537,3532,3621,3527,3640,3636,3582,3529,3530,3457,3281,3508,3858,3947,3812,3591,3527,3601,3983,4010,3874,3627,2946,2036,1312,1036,1067,1298,1632,1797,1613,1507,1610,1592,1446,1390,1370,1346,1544,1885,1583,1472,1412,1494,1492,1428,1282,1298,1383,1317,1301,1408,1412,1475,1442,1378,1424,1377,1385,1492,1901,1927,1959,1949,1861,2118,2305,1916,2110,2729,2130,1685,1605,1614,1652,1531,1515,1549,1591,1606,1323,1280,1388,1409,1571,1707,1517,1484,1399,1700,2214,2083,1826,1820,2107,2666,3109,2984,2566,2341,3361,3782,3601,3040,3156,3487,3450,2839,2131,1926,2396,2152,1858,2070,2118,2421,2426,2339,3162,2922,1908,1578,1983,2192,1962,1696,2269,2667,2700,2765,2632,2634,2608,2366,2078,2583,3217,2334,2215,2271,2123,2182,1858,2075,1961,1496,1739,2294,2428,2631,2464,1971,2036,2861,3186,2115,2317,2653,3182,3555,2862,2494,2470,2357,2730,3519,3145,2069,1598,1507,1860,2169,2578,2577,2305,1852,1575,1585,1538,2062,2474,2111,2254,2417,2074,2610,2332,2149,2390,2965,2817,2062,2094,2364,2176,2645,2767,2194,2238,2241,2599,2342,2497,2950,3193,2841,2308,2510,2765,2543,2314,2666,3405,2964,2579,2210,2036,2947,3568,3062,3580,2854,3725,3015,2120,2490,2662,2245,1775,2336,2271,2085,2424,2588,2464,2573,2866,2510,2630,2379,2354,2353,2597,2688,2423,2373,2498,2221,2355,2427,2291,2551,3362,3528,3516,2601,2388,2330,2656,2462,2339,2497,2152,1748,1897,2067,2142,2308,2537,2636,2597,2535,2161,2024,2282,2568,2492,2232,2377,2193,2069,2444,2940,2990,2369,2714,2658,2244,2039,1730,1902,2373,2123,1715,1787,1849,2030,2524,3124,2632,2255,2412,2637,2719,2843,2714,1923,1559,1787,1561,1270,1525,1782,1796,1847,1690,1562,1720,2232,3067,3925,3732,3666,3843,3790,3593,4030,4117,3186,2708,2624,2535,2769,2746,3076,2909,2190,1894,2491,3582,3729,3338,2442,1902,2054,2592,3188,2874,2437,2226,2653,2750,2513,2217,2053,2290,3040,3466,3471,3198,2819,2818,2591,2461,2354,2799,2664,3451,4153,4420,4264,4132,4324,3763,2797,2589,2678,2732,3051,2896,2711,2555,2785,2710,2285,2277,2765,2688,1929,1882,1862,2057,2974,3509,2124,1775,2293,2663,2846,3001,2950,2801,2701,2711,3007,3849,3941,3559,2697,2916,3551,3729,3431,3023,3033,3061,2849,2636,2407,2966,3209,2529,1536,1496,1554,1677,2185,2467,2032,1974,2647,3241,1868,1726,1876,2060,1991,1880,2013,2271,2241,2013,1914,1969,2536,2410,2249,2917,3207,2578,2166,1942,1780,1918,1744,1757,1819,1759,1943,1945,1895,1706,2115,2358,2597,2534,2331,2262,2241,2230,1874,1507,1316,1976,1925,2147,2217,2648,2035,2256,2351,1834,1973,1888,1738,2039,2347,2309,2116,2745,3351,3458,2676,2123,2193,2070,2394,3089,2898,1884,1909,1907,2047,2495,2697,2808,2190,2099,2361,2589,3008,3137,3352,3785,3325,2808,2113,1946,1999,1868,2123,2003,1821,2089,1781,1548,1848,2257,2386,1918,2051,1356,1131,2302,2921,2146,2156,2239,1648,1904,2095,1647,2402,2720,2520,3019,3265,2783,2144,2544,2727,2498,2535,2665,2608,2151,2276,2395,2700,2877,2658,2287,1794,1881,2193,1776,1701,2633,3077,2779,3267,3611,3631,3131,2906,3175,3106,2540,2603,2821,2820,2342,1819,1981,2740,2618,3740,3692,2743,2322,2490,2243,2254,2385,2495,2768,3062,3963,3916,3167,2458,2631,2758,2109,1533,1351,1438,2195,2938,3253,3352,3658,3218,3050,3593,3307,2270,2477,2958,3006,2599,2581,3277,3321,3236,3242,3551,3338,3307,3168,2898,2683,2780,3059,3374,3323,2776,2317,2598,3038,2597,2686,2708,2852,2553,2506,2498,2835,2972,2562,2141,2245,2693,2895,2360,2400,2034,2093,2363],[2930,2832,2617,2623,2565,2810,2762,2463,2719,2905,2633,2814,2947,2720,2420,2460,2980,3338,3030,2525,2288,2508,2950,3034,2953,2754,2584,2877,2791,3027,3282,2938,3190,3510,3587,3341,3194,3280,3298,3089,3157,3417,4152,4096,3665,3394,3349,3540,3520,3161,3108,3118,2907,2741,2962,3088,3146,3260,3147,2818,2590,2445,2369,2374,2602,2829,3156,3707,3784,2577,2242,2485,2664,2632,2184,2281,2378,1994,1860,2185,2530,2512,2395,2493,2459,2603,2743,2562,2639,2854,2967,3015,2906,2977,2967,2813,2473,2171,2487,2988,3039,3024,2815,2213,1852,1662,1795,1982,1926,2729,3343,3191,3707,3635,3660,3507,2868,2044,2240,3043,3422,3322,3304,3061,2989,3452,3769,3422,2874,2348,2344,2697,2235,1773,1871,1715,1870,2022,1859,1659,1572,1488,1512,2153,2966,3153,2928,2766,2910,2540,2104,1976,1732,1826,1936,1945,2303,3055,3334,2931,2980,2766,2311,1928,1854,2491,3370,3025,2208,1639,2432,2363,2010,2425,2964,3110,2810,2705,2930,2974,2346,2142,1681,1621,2194,2598,1901,1369,1487,1891,2404,2587,2800,3348,2898,2645,2293,1984,2172,2414,2864,2978,3276,3054,2431,1842,1667,2081,2696,3582,3803,3673,3394,2972,3069,3130,3067,3091,3087,2981,2701,2680,2983,3233,3316,3605,3908,3837,3670,3529,3461,3539,3935,3550,2900,3066,3116,2842,2712,2809,2771,2565,2822,2733,3151,2823,2326,2173,2799,3011,2819,2941,2631,2742,3320,3208,3011,2966,2812,2422,2257,2602,2844,2343,2349,2996,3604,3058,2617,2752,2897,2558,2215,2359,2276,2329,2718,2397,2142,1865,1741,2304,2201,1863,1750,1903,2294,2629,2445,2094,1828,2191,2410,2146,2648,3142,3282,3069,2168,1296,1494,2083,2668,2898,3230,3335,3146,2629,2079,1799,1769,1657,1568,2458,2984,2547,2478,2258,1886,1821,2081,2876,2987,2895,2692,2583,3026,2620,2988,3699,3409,2734,2150,1975,2510,2178,2315,2413,2587,2510,2146,2442,2786,3008,2562,1714,1983,2535,1922,1780,2132,2177,2079,2449,2352,1662,1412,1578,1772,2074,1878,1478,1510,1606,1776,1784,2029,2697,2376,2244,2160,2176,2574,2733,2524,2236,2105,1706,1692,1939,1660,1709,2122,2408,2365,2321,2236,2362,2366,2396,2050,1898,1568,1523,1418,1447,1631,1886,2040,1969,1748,1786,1986,1918,1566,1458,1559,1620,1587,1623,2012,1985,1771,1745,1833,1803,1881,2046,2069,2124,2924,3122,3179,3266,2928,2346,2708,3508,3646,3060,2930,3152,3066,2854,2796,2765,2414,1944,2108,2203,2355,2447,2636,3006,2685,1958,2478,3069,2338,2008,1780,1710,2540,3286,3085,2292,1911,1831,1902,1959,1854,1840,1718,1741,1785,1716,1617,1706,1704,1977,2641,2268,2176,2159,1680,1870,1756,2165,2010,2195,2259,2001,1714,1805,1898,2092,2490,2171,2200,2686,3341,2801,2272,2678,2424,1801,1692,1768,2006,2201,1908,2238,2689,2180,2163,2626,2436,2082,2306,2469,1978,1851,2019,1982,1884,1865,2115,2366,2787,3278,3486,2646,2456,2432,2149,1895,1862,1733,1648,1782,1641,1685,1945,1968,1748,1709,1712,1483,1432,1454,1488,1560,1557,1584,2392,2807,2586,2670,2796,2946,2834,2807,2865,2420,1807,1690,1813,1737,1961,1521,882,1866,3002,2636,1900,1922,2055,1758,1617,1589,1463,1108,1169,1368,1653,1497,1560,1558,1982,2345,2172,2590,2734,2197,2223,2525,2623,2098,2139,1743,1910,2890,2382,1807,2056,2437,2195,2219,2208,2070,2000,1797,2165,1952,1539,1527,1512,1822,1815,2157,2714,2835,2247,1871,1512,1103,1214,1678,2006,1822,1875,1996,2632,2837,2599,2401,2846,3017,2754,2458,2740,2691,2093,2199,2149,2020,2132,2249,1991,1923,2047,1875,2008,2763,2541,2534,2408,2145,2077,2255,2590,2475,2275,2162,2449,2864,3263,3628,3687,3550,3209,2810,2602,2246,2238,2244,2183,2056,1909,1842,1824,1970,2282,2173,2110,2009,1880,2070,2301,2268,2471,2823,2734,2530,2618,2633,2633,2773,1954,1523,1604,1811,2054,2556,2600,2448,2380,2282,2131,1745,2148,2131,1506,2042,2764,2868,2286,2018,2383,2820,3111,2642,1796,1584,1316,1588,1977,2128,2458,3051,3494,3424,3055,2960,3450,3738,3723,3601,3604,3344,3410,2828,2463,2598,2397,2709,3334,3249,3082,2952,3317,3363,3740,3994,3641,3219,3487,3930,3921,3359,3172,3791,4132,4059,3623,3595,3422,3606,3896,3770,3830,3725,3736,3752,3349,2799,2632,2378,2466,2288,1682,1549,1425,1345,1528,1690,1627,1521,1596,1539,1270,1532,1727,1764,1643,1477,1714,1815,2022,2024,2054,2469,2336,1985,1955,2019,1832,1680,1509,1829,2050,1802,1851,1939,1890,1831,1604,1681,1747,1643,1742,1904,2156,2178,2174,1820,1990,2487,2941,3124,2734,2658,2690,2742,2824,2642,2146,1892,2303,2867,3348,2938,2670,2630,2260,1990,2220,2375,2112,1966,1664,1776,1962,1981,2072,2317,2291,2652,2626,1779,1527,1572,1537,1553,1638,1606,1454,1612,1671,1638,1651,1671,1687,1704,1992,2625,3063,3256,3277,2563,1894,1339,1592,2025,2832,3174,3045,2441,2002,1907,1842,1865,2008,1737,1852,1799,1790,2700,3662,3917,3917,3961,4172,4095,3514,3823,4228,4660,4524,3222,3550,4014,3463,3541,3986,3869,3621,3574,3409,3634,3428,3296,3382,3507,3318,3189,3216,3392,3376,2822,2655,3406,3454,3531,3607,3378,3654,3949,4251,3957,3653,4071,4408,4213,4018,3846,3396,3341,3250,2773,3140,2458,1968,2112,2236,1801,1582,1515,2020,2754,2117,1797,1976,2165,1765,2004,2524,2728,2832,2483,1966,1918,2115,2189,2132,2480,2784,3052,2692,2720,2678,2482,2287,2249,2320,2471,2382,2195,1768,1308,1269,1415,1865,2238,2274,1674,1862,1983,1686,1858,1889,1874,2077,1520,1527,1547,1352,1361,1425,1411,1488,1480,1541,1758,2070,2167,2018,1703,1654,1649,1726,1555,1339,1214,1148,1152,1514,1971,2250,2292,2505,3159,2424,1714,2223,2724,2614,2025,1786,1311,1054,1198,1020,895,1182,1751,2041,1992,1152,982,1108,1272,1552,1880,2164,2706,3263,3543,3476,3375,3378,3362,3359,3517,3587,3464,3591,3680,3609,3408,3315,3410,3282,3398,3537,3671,3585,3407,3560,3795,3952,3974,3963,3869,3796,3585,2980,2357,1471,1073,1103,1309,1511,1714,1653,1375,1353,1297,1264,1189,1500,1949,1561,1543,1967,2078,1744,1531,1318,1255,1324,1367,1388,1302,1192,1304,1454,1512,1482,1454,1488,1681,1944,2151,2236,2108,1931,1821,1821,1551,1541,1621,1482,1604,1694,1576,1595,1723,1657,1589,1680,1773,1666,1387,1701,1919,1887,1604,1394,1498,1355,1502,1750,1677,1722,1770,1898,2229,2793,2162,2291,2313,2400,2978,3244,3018,2811,2396,2121,2120,2137,2054,2647,2588,2272,1791,1938,2283,2198,2518,3182,3030,2425,1643,1642,1556,1538,1666,2679,2802,2821,2788,2630,3066,2944,2264,2031,2117,2951,2453,2408,2115,1536,1634,1838,1569,1404,1853,2574,2842,2243,2176,1930,1545,1918,2756,2896,2207,2402,3034,3019,2533,2502,2714,2559,1842,2245,3440,2376,1843,1898,1919,2098,2928,3130,2624,2115,1426,1732,2147,1873,1970,2049,1891,2452,2810,2535,2707,2569,2034,2184,2851,2811,2436,2066,2220,2617,3152,2903,2492,2288,2230,2178,2281,2433,2487,2819,2723,2800,2858,2724,2543,2511,3120,2896,2342,1979,1813,2066,2881,3398,3031,3696,2885,3792,1973,1202,1734,2345,2489,2406,2774,2780,2920,3210,3329,2824,2585,2248,2165,2436,2758,3046,3151,2912,2409,2441,2326,2223,2119,2095,2082,2630,2856,3360,3476,3737,3017,2388,2517,2547,2299,2059,2139,2212,1981,2102,2425,2089,2126,2654,3205,3044,2462,1995,1925,2185,2863,3105,2389,2190,2364,2265,2037,2432,2626,2390,2382,2299,2050,1952,1760,1994,1961,1786,1716,1876,1681,2280,3131,3038,2397,2292,2438,2584,2755,2561,2353,1741,1443,1958,1985,2032,2155,2110,2124,1938,1562,1755,1654,1656,1997,2741,3032,3079,3068,3127,2827,2918,2887,2288,2207,2518,2578,2490,2275,2381,2302,2338,2030,2304,3411,3937,3361,2200,1658,1753,1887,2427,2536,2130,2236,2696,2607,2435,2523,2380,2345,3016,3254,3508,3804,3649,3483,3422,2479,1976,2447,2941,3194,3553,3998,4211,4355,4228,3695,3288,3118,3244,3064,3349,3281,2967,2763,3064,3106,2534,2404,2564,3285,3295,2295,2171,2217,3174,3222,2118,1834,2322,2929,3460,3161,2370,2721,2594,2035,2471,3196,3274,2797,2761,3394,3696,3806,3858,3680,3484,3261,2850,2246,1891,2432,2510,1851,1640,1717,1488,1513,1808,2027,2282,2442,2293,2324,1787,1739,1883,2411,2684,2721,2244,1879,2436,2692,2358,2228,2867,2483,2586,2230,2364,2091,2208,2219,1906,1829,1857,2021,1946,2093,2049,1965,2097,1963,2053,2382,2419,2112,2160,2387,2774,2835,2260,1446,1879,2460,2260,2235,2480,2610,2471,2427,2338,2295,2024,1760,1836,1788,1675,1606,1615,2254,2895,2799,2166,2115,2176,2308,2313,2070,2200,2017,1800,1743,1930,2505,2746,2276,2122,2584,2666,2545,2349,1936,2189,2909,2562,2567,2434,2333,2326,2379,2584,2082,1654,1751,1726,1650,1864,1995,1813,1850,2240,1708,1369,1979,2326,2256,2706,2337,1810,2032,2469,2497,2808,2836,2536,2742,2692,2223,2137,2482,2699,2764,2706,2688,2458,2290,1989,2510,2876,2987,2679,2101,1619,2148,2618,2578,2452,3093,2895,2518,2567,2836,3387,3199,3216,3829,3428,2854,2675,2929,2968,2207,1857,1777,2346,2743,3216,3142,2636,2469,2626,2332,2511,2269,2400,2477,3107,4048,4220,3271,2107,1738,2358,2409,1696,1553,2012,2631,2785,3155,3213,3241,3539,3530,3627,2897,2482,2790,3009,2942,2485,2752,3129,2848,3362,3626,3552,3322,3144,3150,2978,2950,3156,3052,3154,3196,3105,2817,2593,2415,2542,2818,2909,2795,2832,3123,3269,3280,3298,2976,2504,2137,2545,3053,2774,2290,1980,2210,2499],[2915,2653,2591,2624,2470,2634,2873,2705,2879,3085,2977,3028,3119,2807,2538,3012,4090,4189,3366,2886,2816,2819,2843,2751,2770,2667,2764,2761,3065,2920,2477,1949,1732,2412,3413,3325,3098,3214,3583,3582,3477,3536,3859,3894,3707,3540,3335,3270,3295,3286,3394,3571,2844,2413,2865,3229,3183,3189,2852,2411,2555,2635,2477,2679,2382,2462,2779,2797,2958,2221,2873,2973,3372,3869,3019,2437,2469,2285,2101,2306,2263,2405,2632,2284,2377,2613,2658,2597,3045,3576,3467,3487,3453,3370,3372,3187,2799,2413,2750,3222,3277,3230,2971,2309,1762,2068,2770,3031,2447,2938,3627,3820,3851,3507,3465,3536,2813,2038,2178,2928,3323,2975,2669,2274,2304,2944,3187,3439,3637,2956,2080,2012,1860,1628,1722,1677,1914,2172,1803,1791,1651,1514,1660,2558,3136,3401,3432,2653,1998,1591,1845,1806,1828,1904,1948,1951,2048,2574,2849,2542,2476,2373,2438,2158,1805,2279,2754,2325,2040,1777,2297,2473,2415,2786,3364,3548,3230,3009,2556,1793,1764,2387,1942,1987,2061,2174,2165,2043,1876,1924,2210,2083,2087,2695,2604,3091,3410,2447,2179,2457,2590,3026,3253,2934,2856,2360,2234,2698,3146,3560,3698,3626,3405,3089,3078,3204,3203,3160,3100,3018,3007,3146,3245,3372,3311,3490,3694,3615,3663,3663,3575,3609,3593,3539,3393,3195,2898,2901,2886,2432,2116,2137,1868,2071,2883,3137,3076,2707,3110,3218,3293,3899,3461,2562,3133,3504,3352,3160,2698,2381,2600,3096,2823,2426,3250,3232,3483,2962,2409,2504,2483,2292,2248,2468,2608,2903,3121,2673,2636,2147,1786,2094,2316,2084,2230,2201,2097,2164,2088,1814,2090,2532,2677,2393,2502,3039,3167,3162,2540,1759,1427,2197,2664,2754,3365,3032,3086,2724,2138,2081,2201,2235,2743,3322,2696,2044,2189,2092,1897,1815,1809,2430,2646,2578,2672,3122,3310,2951,3354,3781,3248,2705,2869,2338,2935,2890,2489,2123,2347,2155,2040,2085,2156,2520,2714,2391,2176,2157,1967,1947,1651,1425,1659,2470,2479,1779,1795,1668,1981,2332,1723,1020,1353,2050,2596,2554,2555,2573,2226,2078,2233,2432,2851,3137,2543,2026,1853,1801,1652,1599,1748,2367,2896,2747,2558,2246,2215,2407,2158,2028,1936,1635,1473,1496,1499,1527,1730,1810,2190,2581,1727,1560,1709,1695,1707,1654,1728,1629,1702,1878,1781,1642,1551,1506,1633,2078,2559,2488,2423,2637,2783,2828,3197,3527,3056,2319,2666,3619,3343,2791,2908,3413,3151,3255,3200,2822,2082,1932,2060,2131,2071,1931,2180,2725,2420,1900,2331,2448,2441,2490,2348,1903,1875,2317,2128,1504,1781,1745,1882,1655,1670,1788,1744,1798,1783,1817,1739,1520,1468,2452,3475,2515,2023,1969,2014,2078,2290,2208,1810,2289,2404,1932,1748,1655,1741,1813,2105,1724,2272,2977,3466,2589,2223,2792,2832,2120,1864,2082,1823,1821,1691,2220,2333,1659,1950,2178,2162,2134,2038,2267,2314,2003,2067,1886,1699,1781,2182,2255,2414,2663,2587,2429,2770,2992,2877,2234,2001,1919,1577,1733,1629,1712,1804,1683,1989,2027,1709,1571,1309,1349,1744,1681,1544,1786,2494,2668,2641,2644,2840,2863,2898,2870,2521,2104,1970,1783,1899,1857,2081,1310,1323,2503,2069,1570,1613,1670,1706,1896,1687,1761,1821,1230,1232,1575,1856,1628,1677,2073,2361,2810,3191,3079,2601,1769,1960,2432,2385,2046,1855,1687,1741,1965,1834,1885,2788,2958,2198,2336,2312,2339,2216,2077,2008,1877,1820,1865,1874,1943,1946,2222,3038,3561,2465,1958,1801,1623,1663,1820,2018,1946,1972,1955,1888,2007,2328,2428,3268,3709,3017,2636,2976,3083,2280,2147,2040,1952,2059,2558,2425,1926,1818,1785,1902,2276,1987,2039,1997,2048,1900,1758,2492,2767,2160,1978,2249,2077,2313,2675,3176,3553,3365,3193,2966,2097,1693,1796,2125,2243,2359,2090,1761,2024,2175,1946,1985,1890,2191,2333,2426,2422,2698,3122,3073,2460,2786,2348,2730,3423,2779,2260,2125,1832,1905,2040,2064,2322,2227,2419,2522,2309,2356,1879,1387,1847,2088,2082,2165,2443,2352,2213,2379,2496,2110,2266,2009,2116,2404,2107,2007,2603,3190,3427,3228,3381,3470,3770,3931,3655,3449,3033,2778,2762,2935,2842,2555,3073,3626,3652,3583,3250,3355,3375,3416,3647,3120,2887,3570,4101,3979,3745,3767,3720,3281,3553,3940,3798,3426,3624,3735,3581,3374,3354,3312,2967,2610,2104,2595,2523,2473,2422,1695,1348,1398,1455,1717,1866,1586,1496,1552,1429,1494,2339,2434,2079,1675,1367,1503,1720,2168,2435,2257,2081,2113,1948,1707,1889,1780,1659,1755,1791,1806,2008,2082,1743,1603,1564,1753,2049,1847,1522,1682,1913,2005,1891,1976,1946,2244,2916,3642,3205,2077,2281,2524,2799,3283,2542,2104,2225,2351,2445,2618,2579,2423,2050,1883,1958,2306,2329,1952,2025,1785,1804,1863,1938,2116,1992,1918,2518,2770,2360,1674,1685,1471,1466,1585,1620,1583,1596,1459,1360,1526,1705,1671,2325,2958,2933,2325,2453,2425,2284,2457,2010,1691,1888,2222,2493,2212,1793,1881,1791,2025,2140,2615,2787,2417,1896,1824,2387,3253,3537,3770,4419,4929,4706,3587,3498,3782,4084,3625,2839,3075,3753,4062,4135,4021,3606,3353,3659,3063,3126,3183,3318,3531,3382,3100,3023,3066,3168,2909,2808,3184,3595,3190,2560,2872,3632,3627,4033,4556,4020,3435,3764,4393,4233,3941,3750,3320,3472,2875,2400,2524,2375,2333,2476,2176,1648,1696,1748,1986,2667,1598,1164,1820,2355,1886,1801,2382,2732,2776,2504,2173,1890,1914,1980,1885,2097,2178,2274,2269,2457,2447,2188,1806,1673,2264,3597,3294,2250,1732,1682,1947,1912,1913,1985,1985,1651,1768,1908,1686,1628,1745,1693,1752,1602,1937,1615,1411,1488,1501,1496,1467,1408,1438,1662,1944,1875,1969,1760,1688,1864,1713,1388,1264,1265,1354,1412,1650,2067,2204,2130,2093,2525,1978,1677,2388,2479,2042,1851,1680,1256,1099,1117,1119,1094,1128,1592,1998,2035,1639,1376,1271,1224,1205,1049,1258,2084,2579,2510,2408,2371,2507,2778,2880,3041,3334,3562,3640,3686,3636,3348,3054,3037,3087,3074,3609,3811,3790,3616,3449,3430,3625,3736,3794,3935,3854,3747,3630,3370,3216,2592,1764,1178,934,1351,1616,1498,1444,1364,1287,1456,1650,1752,1685,1808,2192,2604,2599,1825,1239,1277,1358,1471,1574,1395,1212,1292,1427,1462,1367,1376,1636,1786,1902,2123,2282,2118,2166,1992,1875,1852,1931,1840,1669,1461,1761,1859,1489,1670,1886,1603,1467,1827,2143,1505,1931,2292,2033,1468,1267,1501,1614,1662,1693,1874,2126,2084,2084,2056,2129,1807,2201,2219,2020,2167,2211,2075,2116,2219,2259,1947,2177,1978,2173,2809,2746,2410,1925,1913,2214,2651,3244,3176,2690,1620,1616,2075,2329,2137,2304,2303,2545,2787,2799,2967,2823,2496,2245,2135,2612,2566,2371,1582,1712,2729,2953,2359,2592,3255,3235,2642,1813,1865,1955,1737,1881,2428,2265,1862,2331,2806,2275,2092,2307,2610,2832,2013,2394,2898,1887,1652,1926,1828,2030,2482,2082,1621,1614,1699,2163,2082,2084,2675,2587,2424,2702,2798,2419,2243,2194,2153,2106,2662,2426,2415,2307,2620,3476,3134,3154,3059,2717,2758,2060,1787,1868,2109,2490,2651,2533,2103,2364,2631,2758,2652,2235,2069,1916,2089,2167,2271,2662,3182,3276,3046,3387,2193,1556,1626,2208,2227,2334,2611,2226,2056,2468,2885,2586,2343,1983,2303,2457,2505,1705,1856,2835,2928,2989,2685,2377,2382,2236,1973,2522,2525,2683,3166,3460,3006,2549,2462,2170,1942,1794,1981,1984,2196,2207,2308,2337,2285,2545,2902,2462,2451,2645,2386,2244,2885,2979,2625,2652,2527,2173,2024,2143,2459,2374,2091,1885,1841,2161,2238,2249,2097,2219,2197,1917,1547,2119,2720,2454,2520,2671,2290,2431,2833,2653,2424,1865,1741,2052,2242,2242,1831,1951,2543,2226,1830,1611,970,1143,1518,2308,2691,2277,2355,2845,2964,2730,2003,1669,1633,2064,2850,2751,2093,2253,2563,2268,2373,2687,3047,3817,3688,2624,1807,1655,1628,1731,1750,1822,2316,2732,2585,2220,2521,2555,2579,3289,3379,3333,3639,3880,3750,3690,3065,2779,2754,2345,2468,3056,3230,3471,4240,4162,3398,3516,3731,3405,3042,3429,3959,3581,3138,3277,3182,2822,2902,2486,3493,3812,3021,2950,3239,3597,3505,2746,2085,1846,1941,3012,2768,1830,1899,1870,1830,2408,2454,2271,2402,3060,3596,3198,3561,3970,3768,3815,3626,2689,1989,1732,1925,1996,1866,1809,1705,1762,1959,1817,1766,1965,2057,2148,2410,2518,2379,2258,2324,2280,2208,1760,1540,2093,2375,2544,2706,2743,2656,2687,2146,2073,2629,2553,2313,2031,1780,1722,1796,2157,2137,2013,2229,2468,2471,2326,1990,2012,2138,2330,2520,3010,2546,2124,1813,2254,2285,2122,2225,2291,2607,2705,2360,2290,2351,1855,1954,2262,1987,1644,1528,1569,1543,1770,2346,2426,2048,2393,3183,2524,1745,1742,1973,2044,2125,1747,1897,2513,2479,2469,2683,2194,1884,1842,1757,2115,2419,2093,2635,2775,2361,2446,2935,2669,1775,1592,1437,1418,1386,1889,2082,1921,2393,2352,1775,1606,1759,1918,2103,2119,1907,1924,1945,2343,2801,3117,2975,2713,2658,2396,2228,2380,2631,3094,3572,2902,2407,2663,2225,1909,2598,2798,2705,2711,2398,1891,2265,2212,2321,2263,2523,2674,2872,2415,2453,3417,3596,3467,3484,3077,3145,2962,3173,2814,2114,1801,1720,2122,2387,2422,2546,2460,2499,2478,2397,2711,2534,2792,2938,3554,4245,3837,2968,2199,2320,2976,2588,2342,2837,2645,2965,2877,3138,3099,3550,3599,3359,3230,3034,3182,3303,2954,2953,2787,2706,2492,2619,3267,3541,3421,3344,3299,3088,3013,2994,3041,3009,2880,3220,3558,3307,2539,2334,3073,3459,3273,3210,3637,3909,3782,3415,3471,3230,2966,2520,2701,3188,2886,2332,2322,2622,2623],[2920,2811,2654,2590,2473,2437,2720,2742,2753,2857,2988,2794,2699,2661,2370,2435,2839,2908,2635,2841,3010,2896,2675,2453,2485,2622,3006,3141,3200,3012,2462,1916,1836,2574,3248,2923,2000,2380,3166,3386,3207,3119,3384,3561,3264,3046,2832,2779,2416,2996,3370,3837,3163,2610,3056,3532,3386,3121,2656,2310,3033,3089,2684,3105,3122,2683,2779,2979,2803,2300,2602,2674,3099,3980,3698,2749,2566,2464,2260,2457,2308,2291,2755,2269,2126,2449,2370,2285,2576,3200,3458,3571,3560,3568,3541,3183,2750,2823,3031,2846,2958,3239,3150,2829,2554,2668,2999,3779,3500,3576,3825,3769,3820,3740,3661,3613,3028,2392,2313,2529,3155,2995,2688,2492,2314,2625,2921,3228,3520,2880,1810,1451,1670,1713,1578,1761,2105,2176,1958,1749,1614,1660,1860,1875,2066,2619,2662,2191,1795,1696,2010,1991,2044,2094,1923,1903,1815,2242,2954,2696,2310,2279,2279,2336,2172,1866,1704,1757,2222,2258,2276,2755,2964,2937,3001,2946,3032,2812,2250,1852,1910,2298,2237,2259,2156,1914,2020,2106,2164,2128,2105,1963,1824,2138,2894,3813,3972,2783,2338,2351,2501,3437,3396,2519,2457,2873,2865,3372,3708,3481,3348,3459,3454,3272,3200,3174,3109,3203,3110,3087,3244,3292,3461,3393,3320,3417,3494,3427,3543,3707,3962,3529,3130,3514,3980,3816,3157,3156,3474,3120,2231,2149,2006,1991,2686,3438,3475,3382,3177,3420,3772,4228,3209,2487,3097,3189,2796,2625,2450,2401,2932,3087,2392,1966,2855,2565,2623,2492,1958,1893,2150,2127,1980,2131,2769,2818,2836,2445,2452,2571,2412,1898,1889,2210,2018,1915,2233,2027,1984,1788,1940,2139,2408,2420,2933,2641,2511,2746,2603,2416,2177,2389,1801,1865,2824,2898,2585,2532,2654,2632,2308,2202,2731,2995,2510,2216,2166,2414,2127,2092,2320,2376,2460,2833,3077,3190,3030,3238,3465,3203,3698,4177,3244,2269,2810,3251,2691,2413,2370,2137,1874,2025,2288,2065,2542,2571,2336,2234,2478,2055,1574,1578,1794,2178,1868,1710,1747,1682,2327,2316,1272,977,1620,2295,2978,3609,3189,2262,2109,2063,2624,2823,2954,3019,2190,1866,1855,1995,2198,2106,1917,2439,2958,2570,2267,1920,2234,2251,2014,1671,1654,1813,1700,1532,1533,1474,1507,1519,1860,2156,1722,1596,1881,1851,1672,1855,1854,1701,1940,1887,1562,1637,1614,1515,1451,2090,2786,2459,2145,2585,2811,2749,2618,2578,2451,2458,3110,3151,2399,2662,3295,3594,3485,3480,3188,2323,1915,2020,2068,2225,2061,2146,2491,2448,1953,1871,2200,2314,2514,2753,2524,1861,1605,1627,1344,1377,1803,1746,1773,1578,1961,1959,1722,1561,1653,2094,2135,2088,1771,1933,2728,2330,1702,1881,2496,2492,2300,1948,1924,2457,2531,2041,1930,2037,2199,2002,1803,1795,2251,2589,2779,2666,2366,2402,2531,2079,2109,2227,1967,2213,2336,2146,2150,1863,1886,2069,2406,2554,2136,2131,1947,2075,1899,1936,1995,1851,1809,1741,1970,2290,2121,1957,2177,2966,3442,2525,2998,2910,2104,2094,2118,1749,1491,1722,2369,2169,1736,1592,1364,1534,2056,1888,1817,2013,2511,2730,2595,2575,2474,2280,2370,2434,2577,2470,2367,1826,1705,1664,1816,1329,2008,2250,1744,1858,1704,1444,1470,1971,1762,1862,2057,1610,1635,1776,1890,1607,1671,2047,1947,2207,2297,2031,2305,2250,2323,2393,2211,1859,1966,2182,2065,2055,2126,2489,3003,2519,2261,2260,1676,1852,2260,2295,2114,2154,2340,2282,2210,2134,2316,2863,3243,3363,2176,1850,1959,2071,2217,2437,2354,2140,1973,1659,1748,1554,1942,2331,2540,3012,2600,2331,2692,2618,2160,2197,2428,2568,2734,3552,3427,2692,2039,1973,1980,1851,2182,2226,1895,1734,1720,2385,3016,2946,2304,2091,2520,2373,1957,1941,2456,2984,3172,3111,2318,1871,2222,2120,2470,3020,3108,2705,2144,1999,1987,2239,1986,1960,2270,2470,2476,2457,3094,2801,2559,2211,2508,2465,3195,4107,4076,3209,2482,2472,2243,2187,2233,2097,2004,2596,2536,2458,2770,2322,1823,1898,2165,2053,2256,2191,2309,1938,1908,2254,2509,2919,2458,2121,2175,1802,1982,2492,2791,3195,3447,3559,3681,4090,3829,3573,3544,3144,2598,2661,2968,2986,2986,3263,3570,3782,3680,2944,2851,3088,3318,3482,3190,2905,3103,3127,3531,3804,4035,4145,3530,3471,3392,3019,2878,2796,2730,2646,2520,2744,2675,2415,2755,2542,2574,2875,2618,2310,1755,1450,1552,1638,1556,1836,1616,1460,1567,1780,1678,2072,2080,2018,1831,1432,1461,1699,2012,2294,2192,2001,1932,1764,1898,1876,1624,1587,1592,1493,1539,1936,2156,1791,1726,1923,2177,2264,1967,1616,1944,1998,1801,2177,2374,1961,2104,2722,3802,3166,2655,2881,2490,2788,2919,2410,2316,2362,2254,2194,2396,2627,2374,2010,2461,2433,2362,2193,1984,1729,1536,1702,1818,1882,1814,1727,2085,2338,2449,2767,2187,1635,1328,1501,1556,1493,1556,1448,1324,1482,1795,1849,2160,3340,3479,2907,2250,2200,1984,1924,2583,2576,2247,1984,2011,1757,1757,1928,2025,1986,2620,2640,2693,2958,2512,1907,1810,2248,3087,2923,3318,4071,4641,4688,4208,3629,3803,3936,3234,2927,2974,3753,4637,4456,3935,3936,4062,3795,3500,3391,3355,3410,3448,3278,3284,3238,3006,3109,3108,3230,3200,3212,2956,2319,2612,3451,3883,4092,4001,3463,3344,3565,4024,3857,3837,3541,3360,3112,2474,2388,2504,2425,2275,2386,2264,1571,1731,1847,2032,2385,1757,1571,2359,2548,1938,1921,2350,2518,2232,2120,1980,1696,1814,1843,1739,1649,1710,1743,2115,2679,2880,2416,1666,1807,2396,3872,4352,3161,2088,2590,2447,1962,1952,1973,2089,1938,1534,1448,1437,1453,1700,1599,1920,2120,2225,1727,1350,1370,1299,1261,1281,1381,1434,1511,1701,1847,1824,1760,1786,2018,1866,1568,1561,1553,1548,1583,1632,1910,2050,1939,1901,2518,2514,1795,1454,1498,1630,1746,1634,1332,995,1110,998,907,922,1480,1910,1894,1800,1688,1527,1636,1584,1600,1521,1869,2072,2030,1846,1852,1949,2160,2311,2525,3022,3574,3610,3603,3488,3483,3515,3419,3460,3426,3807,3933,3841,3811,3548,3318,3406,3580,3659,3940,3802,3706,3659,3663,3707,3728,3356,2513,1560,999,1216,1660,1570,1466,1461,1614,1578,1744,1914,1559,1381,1726,1717,1370,1780,1469,1483,1468,1403,1321,1275,1335,1446,1467,1360,1469,1884,1781,1846,1738,1872,2113,2192,2205,2022,1944,1975,1726,1564,1609,1761,1510,1190,1408,1914,1741,1648,1693,1751,1531,1476,1543,1664,1546,1446,1589,1700,1616,1657,2009,2012,2115,1952,1737,1831,2020,2316,2222,1927,1952,1628,1701,2056,2299,1876,1769,2084,1584,1622,2047,2518,2722,2034,1861,2178,2237,2402,2856,2475,1433,2203,2944,2912,2381,2302,2791,2790,2752,2775,2623,2823,2456,2198,2226,2034,2344,2080,1223,2012,3312,3378,2734,2537,2223,2991,2411,1792,1642,1784,1675,1990,2622,2510,2147,2455,2669,1867,1705,2314,2522,2946,2458,2684,2392,2077,2386,2118,1931,2148,1883,1512,1792,2266,2455,2475,2463,2268,2917,3226,2684,2316,2333,1963,1620,2106,2429,1986,2481,2703,2906,3138,3436,3378,2577,2577,2714,2607,2411,2078,1732,1738,1676,1834,1955,1685,1823,2106,2030,1931,1745,1644,1660,2017,2143,2047,2103,2496,2623,2564,3052,3124,2857,2241,1266,1351,1371,1796,1921,2041,2384,2231,2281,2320,2049,1923,2168,2321,1990,1586,1903,2398,2391,2204,2402,2545,2490,2534,2551,2627,2634,2844,2946,2880,2709,2619,2742,2885,2190,1961,2094,2168,2249,2186,2089,2385,3094,3084,2889,2540,2666,2786,2307,2269,2784,2961,2864,2568,2234,1996,1930,1933,2057,1745,1786,1858,1930,2174,2205,2091,2167,2696,2733,2024,1374,1579,2035,2182,2572,2310,2144,3032,3198,2968,2941,2260,1997,2027,1946,1909,1716,1875,2401,2144,1819,1424,1049,1413,1868,2319,2351,2044,2199,2064,1888,1739,1619,1624,1632,2064,2220,2044,1680,1859,2357,2397,2774,2950,2829,3515,3206,2741,2186,1759,1679,1826,1660,1628,2023,2680,2988,2658,2824,2744,3232,3365,3386,3411,3560,3663,3572,3663,3209,2828,3140,2624,2194,2468,2402,2744,3770,4152,3664,3753,3356,2805,3187,3761,3999,3848,3751,3735,3519,3598,3352,3068,3130,3221,3226,3406,3342,2978,2692,2354,2287,1784,1991,3069,2264,1703,1796,1792,1971,2228,2331,2242,2103,2604,3230,3244,3649,3719,3757,3889,3439,2579,2026,1673,1775,2220,2387,2094,2019,1973,2086,1958,1952,2068,2206,2358,2590,2741,2232,1577,1588,1791,1904,1910,1871,2089,2211,2260,2398,2182,2261,2997,3093,3294,4143,3437,2307,1932,1722,1522,1536,1940,2074,1964,2099,2104,2213,2415,2250,2367,2019,2046,2344,2710,2527,2171,1912,2099,2147,2175,2356,2169,2368,2645,2134,2038,2104,2038,2289,2226,1889,1679,1730,1858,1848,1704,1976,2039,1815,2478,3260,2440,1957,2160,2095,1963,2130,2066,2287,2944,2601,2288,2241,2416,2286,2018,2200,2426,2352,2586,2368,1872,2108,2561,2384,2329,1828,2046,1656,1438,1511,1956,2210,2080,2066,2003,2212,1751,2095,2077,1748,1770,1837,2008,2246,3011,3952,3793,3184,3066,2885,2596,2197,2266,2917,3739,3749,3255,2761,3296,2879,2258,2379,2182,2443,2554,2104,2422,2465,1940,1945,2160,2519,3038,3082,2697,2823,3506,3549,3310,3311,3041,3154,3221,3198,2344,1811,1628,1637,1908,2231,2294,2337,2476,2504,2491,2702,2632,2768,2900,2773,3262,3439,2902,2702,2338,2792,3050,2460,2168,2646,2836,2557,2571,3068,3552,3370,2348,2400,2317,2877,3277,3507,2652,3390,3308,2716,2301,2546,3144,3328,3256,3551,3244,2858,2991,3156,3119,3151,3057,3082,3504,3650,2940,2653,3266,3338,3542,3781,3751,3616,3437,3393,3462,3438,3249,3019,3040,2837,2556,2745,3155,3451,3404],[2834,2817,2741,2717,2578,2507,2930,3104,3065,2895,2727,2478,2431,2576,2019,1294,1143,1696,2590,2773,2695,2293,2091,2223,2197,2228,2563,2956,3106,3376,2908,2288,2267,2511,2429,2143,1581,2340,2979,2849,2939,3183,3464,3260,2517,2271,2746,2972,2756,3217,3765,4109,3422,2796,3183,3634,3342,2843,2434,2718,3485,2974,1844,1731,2293,2495,2524,2361,2115,1547,1487,2044,2108,2476,2801,2589,2376,2474,2645,3029,2562,2139,2270,1714,1559,1834,1927,1835,2030,2196,2755,3342,3614,3637,3673,3510,3119,3071,2810,2380,3077,3141,3194,3030,2894,2976,3522,3789,3824,3965,3794,3494,3553,3877,3585,3197,2750,2203,2043,2197,2885,2895,2670,2435,2248,2654,3050,3200,3209,2954,2502,2194,2364,1776,1570,1781,2115,2117,1716,1643,1738,1821,1620,1612,1991,1970,1759,1868,1782,1985,1958,1893,2177,2201,2062,2163,2138,2188,2549,2473,2417,2464,2525,2492,2404,2302,2294,2141,2268,2250,2167,2208,2236,2128,2306,2321,2431,2341,2320,2194,2077,2117,2099,2153,2271,2349,2249,1658,2046,2330,2248,2186,2150,2335,2496,2802,2651,2120,2141,2100,2767,3724,2940,2053,2799,3399,3252,3504,3432,3127,3205,3297,3306,3180,3143,3120,3012,3046,3046,3141,3330,3425,3475,3377,3255,3251,3317,3271,3543,3986,3826,2478,2375,3230,3773,3851,3762,3727,3781,3167,2399,2633,2689,2302,2343,3279,3310,3271,2806,3215,3697,3528,2769,2503,2577,2665,2414,2310,2353,2232,2670,2334,2059,1751,1853,1946,2212,2421,2264,1858,2166,2549,2708,2026,2177,2341,2467,2477,2315,2636,2575,1809,1864,2223,1725,1538,2187,2235,2542,3086,2455,2076,2055,2256,2503,2020,2093,1944,2137,2077,2414,2332,1566,1734,2701,2677,2236,2668,3061,2746,2379,2260,2846,2709,2436,2296,2446,2846,2381,2257,2564,2614,2891,3317,3250,3167,2854,3496,3551,2722,3141,3149,2345,2162,2939,3350,3517,3422,2952,2706,2644,2765,2447,1928,2413,2880,2041,2433,2787,1868,1614,1852,2198,2534,2292,2205,2036,2565,2712,2001,1155,1227,1980,2271,2519,3012,2708,1933,1968,2142,2784,3238,3511,3079,2069,1884,2017,2225,2587,2269,1797,2182,2534,2113,1921,2334,2701,2164,1649,1619,1795,2025,1996,1819,1717,1685,1730,1772,1816,1825,1694,1677,1982,1831,1600,1605,1593,1651,1552,1479,1641,1669,1549,1458,1543,1964,2822,2979,2600,2642,2989,2855,2376,1792,1759,2173,2561,2310,2424,2924,3339,3451,3472,3196,2449,1853,1976,2017,2181,2071,2176,2478,2471,2492,2283,2313,2266,2319,2574,2800,2533,1913,1591,1381,1256,1508,1723,1733,1533,1673,2041,1816,1530,1472,1724,2279,2432,2396,2058,1853,2050,2016,1997,2251,2347,2495,2489,2472,2584,3164,3035,2740,2377,2312,2497,2228,2148,2479,2578,2701,3344,3155,2626,2321,2576,2320,2252,1967,1951,2714,2630,1908,1930,1937,1717,1835,2076,2367,2486,2338,2132,2458,2501,2309,2050,1707,1677,2002,1888,1881,1983,1964,1619,1688,2321,1684,2354,3256,2622,2348,2404,1870,1529,1908,2246,1906,1803,1697,1505,1440,1610,1792,2224,2250,2348,2436,2373,2435,2342,2503,2343,2416,2644,2186,1665,1414,1399,1654,1977,1743,1870,1889,1632,1687,1649,1308,1577,1713,1700,1787,1841,1534,1531,1790,1678,1158,1293,2108,2348,2437,2076,2393,3445,2965,2752,2254,1741,1891,2122,2402,2396,2264,2308,2692,2920,2689,2576,2129,1844,1756,1865,1946,1967,2255,2769,2533,2390,2143,2190,2323,2553,2531,1953,1733,1854,1880,2034,2547,2631,2190,1725,1398,1741,1848,1621,1802,2267,2251,2349,2453,2586,2440,2500,2477,2230,2312,3041,3720,3939,3381,2731,2578,2172,1986,2299,2249,2132,2072,2252,3195,2844,2711,2255,1640,1460,1834,1998,2482,2751,2645,2579,2332,2029,2081,2376,2357,2397,2402,2754,2618,2270,1983,2329,2429,1961,2102,2466,2257,2067,2332,2912,2864,2511,2414,2478,2684,2958,3615,3852,3231,2679,3387,2423,2435,2123,1842,1846,2097,1863,1824,2084,2544,2859,2381,1842,2129,2442,2859,2317,1619,2083,2407,2527,2814,2457,2107,2035,1867,2409,2633,2676,3076,3142,3627,4084,3980,3727,3613,3681,3655,3306,3044,2863,3029,3011,2843,2911,3082,3096,3170,3483,3461,3221,3198,3592,3597,3444,3382,3510,3332,3595,3784,3082,2584,2400,2202,2048,2105,2176,2259,2097,2326,2096,1898,2253,2503,2326,2171,2209,2431,2108,1809,1936,2085,1769,1934,1735,1570,1600,1748,1827,1827,1510,1696,1930,1543,1480,1699,1955,2363,2023,1762,1865,1998,1833,1571,1566,1567,1560,1624,1591,1774,1811,1607,1581,2005,1993,1852,1720,1734,1937,1799,1553,1890,2498,2205,2037,2338,2924,2767,3421,3420,2788,2431,2175,2260,2323,2425,2229,1947,2228,2272,2115,2320,2999,2501,2201,2170,1975,1792,1694,1861,2131,2223,1710,1953,2302,2474,2664,2996,2670,1842,1451,1471,1500,1607,1578,1470,1478,1631,1665,2151,2608,3000,3049,2662,2138,1753,1590,2339,3196,2732,2568,2238,1796,1780,2339,3000,2980,2494,2494,2387,2354,2678,2597,2061,1622,2229,3305,3248,2630,3071,3796,4309,4104,3184,3153,2967,2820,3575,3768,4107,4820,4319,3713,3713,3618,3305,3421,3829,3731,3437,3530,3530,3490,3615,3370,3340,3795,3654,3059,3221,3518,3454,3375,3786,3840,3913,4017,3817,3762,3464,3320,3554,3713,3414,3209,2610,2291,2487,2295,1913,2054,2225,2081,1570,1650,1586,1959,2307,1885,1862,2338,2160,1846,1801,1697,1466,1620,1665,1719,1833,1949,1932,1703,1640,1815,1921,2188,2458,2610,2392,2378,2701,3173,3882,4460,3892,2834,2490,2367,2370,2396,2415,2450,2121,1350,1236,1392,1820,2302,2243,2429,2380,1934,1520,1389,1509,1621,1746,1880,1970,2072,2181,2248,2002,1774,1842,1767,1745,1790,1836,2009,2107,1749,1626,1423,2039,2186,2040,2053,2676,2657,1680,1440,1438,1475,1840,1711,1501,996,1085,1201,1282,1244,1519,1816,1694,1883,2042,1616,1351,1562,2022,2237,2213,2223,2173,2007,1996,1981,2032,2065,2337,2873,3821,3733,3563,3388,3392,3621,3873,3970,3854,3772,3659,3628,3710,3662,3420,3173,3341,3538,3566,3584,3654,3776,3762,3747,3745,3665,3614,3166,2044,1302,1404,1600,1700,1672,1610,1487,1699,1739,1561,1455,1417,1219,1528,2533,1668,1436,1322,1300,1296,1245,1262,1321,1437,1453,1618,1884,1611,1399,1484,1869,2262,2147,2111,2095,2093,1845,1632,1479,1393,1332,1346,1288,1356,1462,1517,1625,1421,1293,1359,1308,1262,1527,1760,1783,1535,1581,1603,1703,1703,1453,1532,1501,2046,2530,1855,1533,1527,1610,1912,1805,2003,2357,1932,1619,2247,2453,1654,1877,2446,2359,2325,2094,1957,2133,1793,1940,2211,1969,1611,2355,3239,2866,2235,2397,1945,1729,2465,2744,2776,2476,2198,2314,2423,2627,3088,2322,1621,2796,3855,3532,2511,1658,1769,2197,1928,1568,1519,1851,2070,2227,2595,2842,2375,2503,2757,2491,2139,2414,2766,3131,2532,2320,2333,2445,2494,2082,1987,2053,2028,2095,2156,2387,2325,2299,2380,2367,2555,2933,2788,2220,2590,2338,1923,1879,2338,1992,2554,2788,3024,3641,3722,3143,2197,2267,2620,2685,2245,2215,2092,2182,2438,2501,2003,1770,1821,2040,2047,1717,1753,1787,2270,2393,2292,1996,2246,2536,2241,2485,3394,3764,3429,2509,1732,1800,1917,2078,1788,1968,2333,2298,2458,2196,1975,2161,2174,2348,2273,2100,2263,2083,2070,2093,2386,2331,1968,2228,2320,2183,2258,2541,2598,2723,2670,2442,2697,3099,2324,2243,2331,2226,2125,2179,2398,2364,2460,2576,2363,2435,2147,2049,1874,1941,2341,2843,2620,1992,1997,1913,2111,1842,1956,2088,2500,2236,2065,2235,2278,2104,2378,2450,2341,2019,1516,1753,2111,2720,2533,2045,2199,2800,2669,2719,2842,2480,2132,2190,2138,2134,2461,2474,2182,1948,1899,2096,2122,2150,2066,2183,1913,1596,1779,1527,1534,1544,1624,1523,1465,1714,1686,1507,1479,2114,2655,2198,2744,3313,3432,3353,2332,1991,1887,1607,1545,1704,1657,1638,1921,2504,2922,3070,2497,3010,3528,3254,3131,3298,3418,3248,3259,3356,2755,2479,2574,2745,2732,2377,1887,2386,3185,3583,3682,3673,2998,2470,3639,3942,3795,3317,3385,3721,3584,3431,3474,3654,3450,2767,2641,3203,2841,2523,2480,2246,2301,2670,3273,3107,2211,2057,2224,1953,1908,2263,2297,2114,2036,2280,2754,3029,3341,3365,3438,3171,2841,2777,2275,1644,1721,1971,2113,2470,2150,1922,2237,2164,1985,2598,3467,3118,2875,2654,2193,1747,1565,1794,1828,2192,2337,2554,2627,2250,2241,2055,1944,2238,2938,3869,4095,3034,1959,1994,1891,1854,1700,1739,1877,1953,2062,1814,1468,2056,2491,2698,2435,2172,2543,2858,2836,2471,2236,2534,2443,2013,2205,1842,1934,2227,1870,1760,1911,1942,1905,1942,1972,1954,2031,2391,2365,1998,1845,1781,1812,2172,2334,1807,1977,2584,2363,1669,1776,2193,2508,2856,2155,1996,2492,2916,2749,2467,2328,2174,2774,3154,1759,1700,2322,3179,2722,2624,2328,2198,1775,1403,1436,1766,2173,1854,1724,1929,2501,1875,2135,2013,1718,2008,2087,2026,2176,2773,3487,3065,2810,3110,2741,2050,2296,2472,2879,3177,3356,3005,2685,3325,3482,2821,2541,2163,2567,2639,2709,2856,2796,2337,2274,2519,2787,2984,2864,2910,2919,3564,3852,3469,3299,3232,3077,2923,2741,2152,1856,1847,2085,2148,2777,2341,2357,2370,2378,2477,2571,2365,2431,2635,2529,2740,2764,2215,2353,2366,3706,4320,2914,2335,2951,2845,2011,2067,2785,3010,2553,1804,1723,2256,3042,3067,2916,2854,3254,3205,2978,2775,3227,3318,2962,3045,3343,2985,2734,3098,3350,3350,3411,3196,3043,3262,3417,3171,2564,2864,3429,4049,3867,3597,3677,3558,3457,3399,3393,3272,2976,2586,2415,2531,2890,3039,3200,3329],[3207,3052,2798,2593,2711,2929,2918,2858,3051,2978,2814,2691,2668,2677,2172,1341,1284,2185,2718,2730,2485,2035,1970,1971,1942,1885,2217,2748,3365,4229,3406,2206,2220,2508,2690,2811,2324,2624,3139,2736,2592,2753,3076,3103,2857,2696,2775,3472,3582,3562,4050,4272,3920,3451,3427,3608,2912,2705,2474,3067,3440,2768,1384,1304,2165,2689,2357,2180,2015,1551,1703,2551,2344,2423,2533,2387,2753,3130,3284,3465,2876,2539,2635,1718,1381,1460,1789,2134,2101,2042,2258,2944,3565,3672,3746,3624,3212,3055,2674,2625,2679,2221,2239,2256,2566,2962,3153,3041,3111,3528,3375,3243,3163,3430,2923,2343,2023,1886,1936,2144,2684,2873,2381,2291,2866,3164,3022,3057,3068,2806,2639,2920,2646,1971,1930,1959,2172,2322,2060,2098,1890,2030,1748,1686,2073,1752,1621,1779,1922,2129,1781,1696,2405,2569,2053,2309,2081,1780,1929,2061,1859,1904,1974,2034,2062,2141,2501,2592,2393,2273,1778,1757,1799,2053,2024,1908,1917,1814,1832,1852,1618,1892,2534,2706,2873,3131,2535,2095,2332,2477,2330,2294,2176,2131,2121,2252,2319,2316,2316,2164,2927,3543,2984,2626,3274,3593,3437,3142,2327,1765,2019,2555,3267,3540,3340,2944,2691,2617,2531,2699,2983,3492,3881,3617,3386,3405,3362,3595,3765,3648,2908,1782,2434,3350,3628,3838,3667,3604,3530,2718,2267,2751,2984,2521,1975,2482,2895,3054,2908,3332,3939,3266,2502,2929,2923,2679,2269,2051,2190,2141,2040,1879,1812,1804,1856,1876,1976,2311,2571,2274,2584,2492,2342,1923,1684,2013,2492,2696,2603,2723,2386,1731,1760,1743,1656,1643,2215,2556,2766,3394,3182,2799,2570,2221,2245,2558,2320,1903,2247,2327,3045,3419,2829,2909,3606,3113,2262,2343,3119,2513,2566,2465,2724,2470,2386,2380,2418,2382,2258,2143,2471,3196,3076,2919,3130,3466,3803,4168,3848,3185,3179,2778,2088,2111,2476,2919,3718,3363,3009,2675,2886,2724,2148,2072,2435,2329,2101,2918,3019,2542,1990,1962,2199,2771,2758,2452,2743,3209,2563,1849,1470,1607,2416,3067,2865,2033,2083,1801,1872,1789,2240,2938,2865,2323,1978,1735,1858,2480,2929,2282,1836,2105,2193,2198,2148,2482,2875,2421,1974,1946,1934,1879,2285,1925,1723,1713,1680,1794,1964,2009,1916,1819,1879,1934,1783,1663,1672,1671,1630,1717,1668,1592,1603,1561,1904,2720,3437,3666,3376,3227,3040,2462,2144,2209,2187,2152,2039,1968,2480,2897,3177,3682,3695,3026,2063,1904,1946,2261,2112,2093,2724,2404,2185,2257,2542,2575,1924,1931,2186,2330,2294,2096,1891,1732,1577,1718,1667,1476,1482,1910,1858,1662,1679,2012,1766,2134,2446,2504,2376,2268,2423,2292,2375,2439,2178,2467,2984,3327,3474,3325,2906,2451,2374,2422,2278,1986,1891,2331,2840,2719,2804,2864,2579,2089,2533,2646,2306,2074,2143,2187,1821,1871,2099,1797,1819,1926,1909,1820,2092,2494,2707,2885,2799,2323,1932,1807,2117,2485,1942,1935,2051,1841,1530,1735,1901,1230,1565,2402,2443,2444,1895,1509,1660,1998,1824,1712,1658,1690,1528,1383,1650,1960,2232,2214,1852,2024,2191,2254,2415,2451,2686,2558,2010,1598,1350,1506,1832,2367,2548,1803,1530,1810,1527,1361,1474,1425,1804,1980,1805,1581,1682,1636,1620,1786,1546,1001,1248,1481,1687,1953,1994,2579,3010,2506,2463,2245,1935,2200,2304,2268,1858,1909,2398,2622,2984,2974,2373,1805,1688,2320,2462,1702,1510,1810,2326,2298,2060,2060,2284,2197,2110,2160,2060,2086,2062,1873,1905,2099,2050,1975,1524,2019,2723,2324,1803,1651,1936,2231,2284,2501,2536,2779,2818,2170,1785,2052,3031,3204,3378,3580,3348,2776,2185,2489,2812,2462,2186,2254,2077,2576,2494,2316,2048,1635,1492,1468,1971,2487,2604,2821,2437,2099,1898,1883,2127,2479,2092,1970,2199,1972,1842,1655,1869,1737,1809,2234,2338,1917,2224,2889,2880,2500,2398,2315,2383,2390,2532,2781,2728,2104,2120,2837,2355,2163,1890,1987,1935,1880,1780,1602,1248,1731,2386,2223,1987,2492,2155,2210,1774,1712,2172,2486,2536,2224,2442,2669,2074,2022,2888,2930,2217,2268,2613,3323,3619,3395,3682,3762,3671,3381,2857,2600,2670,3008,3439,3463,3173,2746,2458,2938,3686,3736,3272,3329,3463,3393,3305,3239,2817,2565,2486,2395,2097,1866,1981,1961,1929,1781,1585,1801,1756,2044,2125,1909,1882,1866,2025,2017,1866,2559,2570,2418,2222,2037,2310,2242,1794,1685,1676,1456,1594,1723,1483,2015,2281,1638,1606,1594,1762,2101,1991,2046,2201,1949,1559,1463,1588,1532,1472,1677,1663,1701,1599,1521,1650,1785,1576,1472,1631,1774,1669,1773,1936,1918,1954,2129,2066,2108,2425,2943,3267,2837,2793,2648,2287,2359,2571,2580,2028,1653,1925,2011,1975,2273,2567,2193,2521,2879,2300,1876,1854,1741,1904,2152,1825,1871,1822,1986,2670,3063,2438,1779,1660,1584,1616,1482,1503,1602,1555,1706,2144,2996,2770,2159,2246,2271,2118,1986,1848,2635,3009,2541,2026,2313,2462,2412,2176,2614,2937,2290,1997,2401,2863,2945,2824,2498,1959,2837,3492,3716,3387,3274,2832,3012,3266,3053,3296,3564,3232,3913,4673,4732,4751,4452,4046,3665,3411,3163,3244,3520,3451,3413,3472,3487,3411,3611,3198,3118,3594,3487,3154,3199,3648,3850,3588,3828,3803,4019,4301,4532,4596,3916,3260,3413,3560,3588,3268,2799,2554,2374,1834,1832,2092,1878,2132,1997,1768,1831,2094,2054,1618,1461,1864,2303,1992,1821,1681,1666,1782,1871,1904,1897,1896,1860,1731,1672,1784,1794,2030,2557,2560,2557,2829,3448,3861,4144,4195,3925,3210,2468,2121,2282,2448,2417,2359,2321,1570,1309,1476,1908,2340,2227,2238,2320,1793,1806,2027,2131,2194,2242,2172,2042,2115,2423,2292,1818,1649,1700,1769,1787,1501,1684,1727,1780,1474,1342,1399,2599,2944,2235,2167,2586,2548,1537,1152,1187,1973,2178,1650,1214,1058,1302,1711,2105,2166,2119,1710,1543,2132,2051,1587,1469,1636,2260,2829,2603,2633,2282,1931,1976,1903,2001,1942,1982,2648,3872,3894,3557,3375,3416,3592,3759,3834,3741,3547,3669,3706,3717,3641,3484,3272,3152,3349,3507,3526,3481,3664,3973,3786,3492,3665,3928,3875,3516,2630,1548,1336,1645,2060,2013,1693,1587,1695,1833,1600,1734,1448,1465,1424,1421,1352,1301,1400,1404,1334,1288,1352,1532,1641,1858,1782,1599,1366,1717,2239,2168,2128,2110,2147,2193,1996,1807,1582,1541,1830,1622,1446,1477,1402,1536,1658,1633,1481,1446,1344,1519,1785,1791,1732,1637,1575,1570,1890,1890,1528,1439,1568,1975,2544,1942,1116,1374,1708,1734,1671,1736,1849,1713,1743,2308,2379,1944,2707,2757,2243,2394,2020,2402,2776,2146,2041,2078,1813,1654,1787,2732,2386,2126,2297,1821,1685,2484,2752,2503,2113,2281,2604,2353,2392,2855,2113,2131,2515,3595,3611,2987,2769,2607,2623,2342,1722,2062,2328,2232,2070,2161,2491,2488,2382,2399,2570,2289,1998,2410,2504,2204,1917,2178,2342,2142,2046,2340,2016,2250,2434,2618,2598,2087,2294,2736,2681,2497,2806,2899,2590,3509,2881,2229,1708,2101,2197,2358,2964,3106,3223,2931,2792,2269,2476,2608,2661,2439,2465,2302,2118,2494,2272,1583,1288,1148,1522,1764,1596,1924,1942,2522,2894,2815,2586,2561,2466,2196,2385,3436,3771,3583,2657,2749,2984,2840,2423,1932,1933,2106,2401,2524,2242,2614,2267,2039,2026,1880,1624,1908,2211,2508,2203,2437,2364,1571,2048,2307,2092,2178,2522,2407,2503,2563,2305,2344,2394,2148,2276,2092,1798,1961,2043,2150,2265,1985,2333,2330,2404,2668,2488,1974,1869,1971,2452,2511,1931,1943,2164,2139,2024,2263,2410,2584,2244,1887,2360,2513,2346,2525,2059,2019,2035,1529,1749,2025,2562,2556,2065,1935,2168,2244,2368,2216,2228,1608,1990,1781,1770,1976,2156,1946,1488,1244,1606,2421,2744,2105,1899,1745,1504,1523,1516,1521,1627,1547,1416,1338,1388,1454,1328,1258,1527,1659,1560,1998,2652,3388,2911,2072,1690,1503,1479,1471,1650,1849,1942,1909,1952,1945,2505,2844,3483,3375,3172,3339,3453,3350,3230,3345,3007,2533,2464,2364,2558,2825,2700,2301,2024,2196,2522,2783,3134,3034,3233,3541,3415,3384,3137,3002,3309,3339,2598,2604,3274,3549,3118,2895,3334,2990,2191,2365,2402,2283,3046,3870,3686,2500,1902,2277,1996,1868,2403,2226,1945,1998,2010,2054,2355,2673,2706,2707,2706,3154,2965,2431,2018,2155,2425,2326,2414,2019,1879,2176,2470,2578,3240,3924,3562,3333,2674,2387,1844,1650,1689,1740,2084,2465,2732,2320,1996,2150,1947,1979,2070,2103,2873,2905,2207,1982,1801,1907,2106,1991,2002,2075,2281,2189,1945,1621,2275,2786,2836,2608,2808,3278,3339,3239,2846,2352,2281,2207,2414,2339,2164,2048,1913,1732,1736,1742,1691,1636,1824,1875,1979,2110,2796,2265,1883,1599,1864,2272,2223,2066,2198,2426,2466,2242,1917,1779,1704,2450,2837,2622,2642,2962,3094,2744,2271,2197,2491,2667,2467,1592,1806,2309,2901,2496,2328,2220,2099,1803,1631,1607,1702,2553,2334,2115,2491,2578,2254,2065,1759,2102,2980,2900,1809,2146,2405,2352,2185,2455,2553,2287,2249,2555,2624,2757,3041,2811,2476,2739,3370,3655,3166,3063,3108,3218,3120,3506,3631,3112,2595,2694,2953,2895,2906,2640,3330,3703,3741,3928,3818,3521,3249,3049,3068,2674,2125,2155,2313,2586,2607,2790,2665,2268,1985,2324,2248,2321,2481,2536,2612,2288,2399,2469,2092,2152,2176,3564,3978,3061,2679,2634,2406,1887,2220,3331,3566,2863,2355,1964,2909,2836,2802,2864,3038,3312,3119,2973,2918,3255,3384,3562,3436,3350,2902,2829,3197,3359,3184,3243,3238,3017,3077,3209,3510,3189,3264,3853,4007,3758,3576,3575,3388,3263,3339,3285,3040,2834,2608,2513,2449,2750,2638,2641,3030],[2670,3010,3042,3023,2907,2562,2023,2168,2664,2947,2576,2520,2508,2342,2040,1489,1665,2485,2643,2511,2037,1902,2057,1904,1693,1837,2720,3364,4132,4305,3213,2070,1770,2300,3429,3750,3039,2830,2981,2753,2454,2540,2757,3206,3437,3387,3501,4170,4277,4201,4334,4445,4210,3830,3274,3129,2876,2887,2746,2978,3312,3025,2145,1751,2378,2984,2583,2619,2059,1539,1917,2734,2504,2952,3030,2871,3117,3320,3642,3596,3131,2360,1912,1647,1666,1738,1893,2193,1867,1611,1818,2709,3497,3473,3223,3420,3229,3177,2820,2720,2164,1731,1667,1806,2220,2252,2213,2423,2548,3503,3593,3372,3291,3405,3073,2461,2253,2174,2065,2054,2501,2660,2385,2435,3024,3159,2806,2731,2604,3001,3123,2810,2066,1793,2084,2254,2068,1992,2239,2242,1765,1736,1792,1719,1439,1291,1411,1791,2558,2762,2511,2315,2856,3298,2406,2331,2059,1664,1836,1936,1766,1799,1570,1487,1614,2116,2954,2896,2368,2317,1832,1666,1718,2097,2065,1823,1933,1763,1720,1620,1124,1819,2404,2643,2729,2972,2906,2610,2474,2258,2073,2247,2152,2380,2156,2036,2177,2352,1968,2199,2919,3222,3174,2856,2928,3053,2807,2388,1299,1001,1482,2453,3396,3698,3429,2786,2335,2144,2003,2057,2713,4091,4441,3886,3555,3866,3849,4153,4176,3883,2525,1837,2956,3575,3707,3887,3552,3631,3329,2525,2264,2636,3112,2386,2139,2198,1987,2236,2336,2733,3486,3362,2955,3138,3012,2384,1598,1825,2481,2411,2203,2091,1839,1745,1715,1675,1699,1794,2047,2162,2681,2368,2172,1998,1725,1874,2549,3068,2807,2700,2252,1982,1820,1440,1554,1797,2541,2730,2586,3132,3186,3112,2751,2088,2061,2380,2174,2330,2640,2776,3432,4091,3804,3487,3500,2844,2129,2052,2646,2275,2237,2366,2788,2646,2566,2497,2353,2337,2422,2343,2231,2668,2889,2772,2722,3398,4052,4156,3883,3054,2453,2220,2308,2181,1967,2435,2994,2590,2486,2229,2778,2565,2251,2629,2814,2413,2441,2834,2676,2071,2066,2256,2226,2767,3014,2745,3000,2944,2436,2235,1819,1627,1679,2369,2460,1772,2065,1968,1735,1869,2040,2100,2092,2306,2144,1800,1771,2376,2700,2143,2042,2436,2394,2357,2288,2222,2161,2028,1684,1262,1576,1848,2232,1973,1771,1665,1614,1712,2170,2387,2236,1987,1974,2378,1824,1790,1870,1765,1807,1758,1687,1816,2153,2105,2266,2822,3157,3437,3116,3081,2759,2047,2070,2712,2827,2336,1842,1647,1712,1944,2257,2921,3068,2255,2008,2027,2188,2397,1985,2176,2292,2161,2232,1999,2197,2143,1955,2204,2002,1779,2356,2410,1986,1825,1824,1823,1699,1459,1495,2157,2161,1842,1649,1637,1859,2403,2452,2342,2103,2386,2836,2755,2677,2793,2741,2602,2834,2668,2581,2347,2172,2069,2247,2203,1939,2111,2399,2607,2934,2811,2629,3187,2317,2132,2698,2389,1907,1707,1769,1841,1908,1970,2086,1869,1842,1871,1982,1992,1808,2222,3130,3382,2813,2184,1828,1870,2221,2432,2177,1794,1825,1946,1813,2082,2002,1615,1724,2052,2600,3061,2040,1489,1754,1791,1743,1924,1783,1758,1617,1439,1687,1978,2265,2315,1991,2408,2004,1957,2329,2457,2077,1931,1897,2047,1968,1770,1941,2404,2289,1756,1648,2108,1997,1528,1565,1655,2063,2202,1574,1307,1449,1577,1690,1656,1598,1297,1082,1202,1422,1432,2079,2178,1522,1670,2490,2708,2266,2470,2545,2218,1713,1776,2134,2740,3440,3053,2587,2207,1904,2300,2294,2126,1978,2402,2473,1969,1823,2320,2116,1884,2178,1959,1704,1979,2005,1866,2037,2369,2216,1958,1753,2056,2365,2064,1786,1729,1780,2014,2204,2356,2232,1919,1760,1644,1737,1916,2366,2459,2987,3392,2670,2074,2226,2430,2198,2224,2691,2184,1946,1869,1844,1986,1987,2174,2079,1830,2129,2197,2577,2722,2465,2735,2532,2171,2434,2895,2226,1595,2014,1704,1618,1706,2115,2091,1786,1891,1931,1908,2955,3919,3086,2240,2252,2149,2218,2667,2635,2168,2151,1944,2362,2133,2116,2136,2186,2321,2009,2153,2110,1413,903,938,1493,2025,2368,2400,2222,1786,1481,1755,1759,2107,2375,1785,2472,2570,2534,2988,3585,3072,2164,2237,2548,2856,2584,2630,3734,3801,3771,3672,3195,2796,2603,2635,3220,3627,3335,3047,3353,3445,3359,3226,2707,2665,2702,2567,2319,2054,1852,1927,2165,2072,1946,1798,1644,1650,1820,1634,1588,1852,2039,2165,1979,1663,1792,1935,2000,1946,1758,2509,2666,2729,2865,2792,2382,2376,2168,1668,1594,1481,1690,1941,1673,2208,2076,1629,1583,1523,1729,1832,1929,2185,2030,1758,1650,1610,1613,1392,1420,1603,1515,1535,1591,1611,1701,1741,1678,1741,2019,1926,1847,2014,2050,1883,1759,1919,2066,1905,2201,2945,2775,2353,2722,2802,2340,2319,2341,2529,2635,2341,2125,2065,1810,1776,1853,2079,2667,2735,2248,1874,1828,1644,1650,1672,1760,1915,2082,2255,2720,2723,1848,1603,1666,1647,1501,1351,1377,1444,1669,2260,2563,2781,2438,1967,1960,2145,2244,2244,2078,2460,2100,1672,1902,2532,2789,2349,1925,2545,2353,1933,2022,2687,3232,2917,2778,2784,2075,2276,3233,3831,3639,2655,2512,3297,3881,3794,3440,3496,3572,3920,4496,4777,4836,4572,4164,3906,3465,3195,3108,3212,3284,3475,3397,3223,3352,3340,3333,3638,3861,3923,3394,3361,3453,3797,3624,3634,3347,2987,3385,4152,4421,4021,3631,3319,3848,4204,3676,3009,2438,1992,1824,2208,2099,2080,2459,2157,1815,1741,1515,1545,1703,1801,2003,2312,1964,1803,1768,1962,1915,1757,1721,1643,1622,1665,1635,1812,1889,1926,2164,2928,2405,2312,3188,3445,3672,4444,4047,2949,2698,3032,2259,2028,2304,2404,2468,2458,1638,1229,1410,1710,2200,2170,2024,2221,1806,1800,1932,1865,1675,1669,1580,1564,1822,1990,1867,1713,1521,1713,1756,1542,1367,1137,971,1078,1137,1051,1395,2702,3067,2021,2017,1986,1937,1643,1069,1069,1863,2074,1416,893,1274,1518,1940,2784,2795,2396,1859,1649,1643,1615,1647,1673,1767,2381,2640,2386,2071,1635,1657,1790,1723,1903,1954,1902,2564,3698,3819,3424,3316,3376,3544,3773,3692,3476,3476,3760,3656,3657,3666,3508,3232,3115,3118,3072,3211,3265,3460,3755,3687,3794,3693,3840,3876,3753,3432,2667,1642,1199,1599,1677,1764,1758,1497,1491,1708,1821,1502,1338,1345,1427,1483,1401,1432,1365,1433,1455,1355,1306,1706,1881,1775,1626,1571,1918,2121,2150,2352,2273,2368,2214,2372,2150,1968,2023,2083,1635,1510,1552,1512,1312,1555,1859,1594,1492,1538,1636,1773,1522,1383,1336,1244,1426,1806,1921,1916,1697,1723,1938,2276,1996,1803,1823,1836,1775,1677,1592,1602,1608,1690,2278,2435,2426,2690,2587,2520,2499,2499,2923,2834,2110,1812,1841,1614,1533,1717,2137,2031,2056,2209,2270,2363,2643,2370,2019,2029,2306,2556,2268,2182,2885,2526,2341,2199,3063,3543,4378,4839,3347,2375,2150,1775,2198,2150,2019,1799,1554,1701,2092,2029,2257,2752,2285,2019,2178,1894,2035,1613,2073,2049,1893,2898,3330,2608,2589,2285,2210,2678,2387,2823,2871,2752,2598,2778,2647,2843,3444,2905,2375,1987,2464,2498,2035,2763,3106,2850,2578,2988,2812,2714,2514,2243,2007,2145,2214,2042,1857,1698,1571,1102,1011,1800,2684,2194,2092,2221,2620,2987,2844,2438,2248,2484,2322,2294,3524,3894,3631,2851,3315,3462,2466,2001,2121,2210,2808,3142,2836,2304,2419,1926,2018,2020,1789,1885,2255,2379,2577,2260,2149,2310,2033,2706,2526,2012,2574,2836,2575,2482,2437,2048,1988,2249,2138,1947,1929,2126,2367,2085,2034,2153,2352,2953,2809,2474,2595,2481,2209,2039,1998,2256,2373,1958,2324,2210,1803,2084,2229,2337,2719,2405,2147,2687,2930,2422,2083,2008,2186,2007,1678,1664,1943,1991,1996,1991,2177,2480,2063,2164,2183,2164,1463,1207,1279,1403,1622,1771,1720,1464,1319,1304,1682,2008,1859,1491,1451,1484,1648,1589,1581,1716,1579,1400,1396,1473,1440,1277,1171,1295,1458,1556,1567,1694,2010,2151,2210,1907,1446,1444,1453,1759,1883,1749,1508,1384,1678,2575,3294,3357,3273,3361,3630,3697,3416,3318,3096,2605,2469,2264,2294,2414,2357,2614,2587,2408,2502,2172,2125,2674,2752,3551,3196,2599,2498,3184,3120,2803,2715,2480,2558,2559,2621,2721,3195,3580,3637,2641,2124,1991,2516,3220,3325,3281,2538,1933,2841,3165,2932,2525,2078,1819,1766,1901,1875,1802,1827,1884,2110,2372,2896,3003,3132,2658,2213,2092,2299,1932,1702,1732,1797,2000,2311,2824,3210,3216,3420,2821,2283,2141,1935,1626,1873,2298,2601,2242,1924,1747,1848,2026,1926,2052,2039,2234,2182,2092,2214,2251,2207,2295,2148,2347,2696,2520,2220,2475,2047,2302,2499,2253,2576,3011,3271,3277,3112,2796,2358,2082,2339,2778,2789,2510,2049,1833,1813,1974,1774,1938,2005,1566,1787,2010,2127,2471,2286,1731,1226,1530,1721,1866,2132,2195,2510,2198,1821,1923,1685,1765,2890,3040,2244,2378,2734,2935,2743,2741,2894,2821,2440,2281,1645,2029,2424,2439,2423,2124,1842,2495,2231,1990,1894,1995,3099,2960,2526,2591,2286,1990,1897,2053,2545,2907,2837,2556,3047,2854,2490,2602,2511,2119,2279,2615,2760,2665,3168,3534,3221,2749,3264,3663,3569,3282,2444,2514,3082,3254,3543,3831,3332,3130,3325,3331,2641,2287,2274,3074,3465,3449,3500,3651,3540,3109,3030,3177,2385,2339,2486,2661,2970,3592,3305,2952,2279,2129,2209,1862,2065,2718,2889,2460,2222,2503,2612,2619,2170,1521,1801,2288,2289,2174,2539,2463,2213,3284,3893,3386,3120,2428,2277,2705,2518,2843,2899,2865,3307,2798,2796,2786,3379,3604,3676,3611,3526,3142,2805,2980,3042,2777,2847,3071,3209,3116,3209,3618,3782,3666,3852,3834,3526,3363,3123,3028,3296,3288,3051,2896,3030,2943,2557,2437,2648,2599,2285,2619],[2480,2588,2800,2742,2586,2250,1720,2087,2179,2156,1961,2205,2306,2395,2185,1749,2025,2282,2186,2156,2040,2205,2059,2284,2100,2442,3060,3525,4092,3941,2798,1833,1678,2221,3287,3498,3016,2766,2920,3200,2850,2674,2662,3226,3640,3541,3582,3853,4088,4176,4112,3871,3730,3517,3607,2955,3008,3134,3072,3029,2901,2986,2928,3015,3134,3407,2852,2518,2214,1826,2388,2611,2230,2302,2481,2810,3184,3093,3369,3319,3306,2574,2225,2285,2320,2209,2047,1979,2215,2521,2935,3242,3081,2920,2393,2309,2342,2583,2617,2390,2097,1967,2324,2959,2934,2460,2452,2455,2156,2986,3216,3330,3155,2843,2593,2270,2116,2274,2116,2094,2258,2218,2437,2710,3333,3526,2642,1962,2030,2753,3120,2394,1507,1718,2123,2310,1804,1780,2273,2004,1849,1780,1905,2007,1529,1300,1515,2097,2767,2657,2651,2360,2568,3078,2602,2362,2208,1939,1971,1987,1873,1951,1886,1808,1882,2243,2768,2031,1622,2013,1924,1686,1841,1902,2002,2074,2467,1927,1881,2068,1464,1697,2496,2667,2509,2988,3266,2922,2451,1713,1786,2602,2763,2911,2420,1976,2104,2310,2319,2520,2697,2884,2668,2235,2787,2825,2645,2211,1497,1549,1759,2619,3282,3282,3240,2762,2208,2024,2028,2108,2953,4328,4353,3804,3444,2751,2226,2689,3497,3864,2446,2088,3334,3736,3725,3773,3543,3675,2939,2363,2356,2711,2952,2556,2546,2217,1614,2432,2692,2366,2583,2541,2809,3028,2680,2172,1862,2468,2656,2018,2208,2330,2176,1505,1825,1955,1960,1772,1637,2163,2592,2355,2365,2106,1838,1815,2491,2764,2418,2584,2145,1743,1526,1570,2236,2470,2578,2645,2125,2119,2229,2766,2480,2580,2655,2609,2610,2921,3031,2699,2580,2897,3299,3040,2502,2200,2003,2107,2131,2106,1561,1764,2641,2903,2689,1973,1842,2320,2731,2557,2315,2301,2754,2959,2762,3202,3873,4040,3493,2952,2509,2285,2714,2565,1958,2230,2339,2438,2571,2662,2823,2545,2791,3078,2887,2271,2091,2050,2058,1648,2061,2380,2221,2565,2863,2862,3388,2907,2150,1980,1759,1563,1554,2117,2065,1689,1889,1994,1974,2037,2234,2200,1942,2020,1978,1967,2261,2622,2118,1666,1875,2145,2127,2074,1938,1758,1954,1947,1128,727,1354,1724,1671,1809,2002,2250,2344,2360,2220,2198,2159,2030,2147,2362,1893,2040,2034,1830,1747,1628,1811,2193,2390,2392,2207,2256,2372,2907,3482,3245,2042,1763,2200,2854,2864,2353,2146,1864,1876,2150,2447,2984,2548,1954,2029,2179,2537,2384,2232,2316,2392,2406,2046,1839,1843,1958,2068,2094,1909,1746,1789,1653,1604,1692,2066,2032,1618,1418,1595,2045,2534,2189,1830,1731,2229,2509,2833,2842,2918,3594,3408,2785,2540,2977,2777,2563,2360,2375,2272,2380,2620,2351,2290,2015,1942,2539,3271,3618,3375,2885,2535,2669,1961,2292,2959,2487,1884,1337,1545,2048,2098,1949,2172,2008,2094,2063,1931,1930,1880,2010,2664,3040,3270,3034,2574,2023,1775,1845,1709,1318,1609,2432,2584,1995,1792,1816,1659,2361,2946,2718,1858,1536,1647,1586,1536,1472,1737,2115,1886,1578,1558,1681,2336,1984,1909,2213,2085,1814,1890,2295,2149,2034,2330,2832,2622,2418,1858,1916,1948,1948,1741,1764,1757,2188,2258,1823,2117,2071,1490,1544,1296,1207,1513,1645,1760,1663,1354,1533,1565,1406,1698,2042,1852,2008,2656,2405,1991,2333,2344,2212,1976,1941,2209,2906,3116,2822,2710,2475,2493,2311,2109,2115,2289,2451,2399,2201,2250,2421,2172,2156,2158,1817,1802,2327,1929,2000,1999,2077,2218,2071,1930,1872,1851,1756,1724,1772,1959,1992,2153,2256,2396,2548,2690,2102,2204,2462,2283,2391,2832,2713,1962,2002,2231,2037,1941,2209,2510,2157,1981,1917,2317,2433,2486,2463,2233,2109,2064,2208,2282,2117,2089,2502,2394,2257,2051,2200,2138,2137,1994,1600,1457,1595,1952,2164,1739,2021,2239,2049,2881,3604,3009,2641,2569,2303,2076,2754,2625,2250,2223,2313,2382,2226,2232,2121,2276,2884,2364,2169,2136,1972,1527,1348,1506,1869,2224,2376,2216,1898,2142,2065,1736,1850,1864,2032,3106,2470,2056,2756,3122,2224,2060,2798,2674,2376,2160,2830,3486,3661,3623,3805,3894,3439,2976,2993,3016,3088,3020,3131,3352,3133,2796,2351,1925,1870,1908,1816,1692,1631,1581,1726,1850,1719,1780,1715,1648,1538,1588,1528,1462,1880,2270,2188,1861,1736,1803,1758,1730,1785,1849,2249,2554,2554,2924,2973,2166,2015,2039,1528,1521,1580,1645,1956,1654,1439,1730,1730,1561,1621,1834,1917,1900,1764,1510,1670,1599,1501,1514,1621,1643,1515,1597,1675,1683,1736,1764,1759,1832,1703,2003,2056,1864,1786,1713,1730,1738,1830,2026,1939,1713,2100,2317,2746,3015,2868,2294,2112,2056,3038,3803,3507,2967,2219,1975,2025,1778,1835,2067,1844,1679,1840,1926,1778,1788,1790,2044,2935,3376,3200,2985,2352,1644,1585,1737,1549,1452,1330,1332,1631,2368,2610,2302,2477,2276,2141,2020,2833,2621,1908,2285,2312,1662,1345,1937,2984,3494,3144,3068,3124,2080,2126,2041,2218,2921,2517,2469,2904,2049,1692,2823,3574,3286,2820,3138,3544,3768,3540,3318,3233,3266,3440,3772,4092,4093,3823,3807,3837,3698,3742,3530,3212,3076,3349,3309,2945,3033,3188,3641,4232,4628,4661,3708,3435,3216,3416,3350,3615,2984,2356,2989,3873,4005,3742,3598,3552,4091,4074,3704,2789,2420,2295,2058,2032,2024,2088,1981,2002,2296,2162,1718,2327,2504,2283,2050,2361,2068,1790,2026,2216,2012,1673,1652,1520,1186,1230,1473,1632,1673,1890,2518,2673,2500,3046,3234,2584,2700,4086,4561,3231,3124,3859,2732,2079,2239,2366,2398,2312,1780,1253,1394,1578,2192,2238,1980,2201,1845,1492,1643,1672,1386,1385,1722,1924,1861,1900,1793,1691,1955,2062,1766,1505,1499,1225,1069,1195,1324,1075,1365,2482,3055,1946,1675,1550,2019,1886,1186,1056,1824,2268,1509,1183,1726,1808,1926,2631,2687,2466,2022,1271,1142,1268,1271,1426,1604,1671,1998,2181,2138,1385,1086,1124,1125,1403,1534,1676,2454,3421,3685,3528,3400,3413,3584,3811,3555,3171,3230,3685,3726,3768,3798,3613,3299,3284,3429,2941,2812,3105,3356,3443,3445,3493,3549,3670,3680,3535,3503,3480,2654,1524,1158,1499,1636,1850,1670,1420,1733,1663,1394,1401,1498,1995,1847,1424,1344,1473,1562,1448,1417,1556,1883,2110,2066,1769,1513,1598,1827,2270,2207,2350,2198,2198,2564,2554,2159,1958,1814,1586,1494,1926,2374,1555,1930,2232,1869,1753,1686,1554,1651,1423,1274,1254,1232,1561,1655,1488,1903,1837,1702,1838,1938,1823,1781,1743,1856,1825,1931,1901,1902,1677,1866,2557,2843,2625,2284,2041,2221,2591,3011,2710,2440,2292,1539,1488,1622,1467,1502,2370,2656,2142,2602,3046,2883,2476,1697,1541,1746,1989,2129,2135,2052,2520,2251,1864,2072,3002,4288,5831,6047,3543,2257,2244,1906,1606,1414,1955,1891,1518,2072,2810,2602,2462,2382,1815,2471,2261,2043,1930,1976,2584,2276,2068,2902,3392,3066,2516,2233,2503,2656,2491,2862,2765,3064,2208,2084,2946,3536,3226,3108,3216,2514,2780,2666,1959,2152,2260,2492,2844,3298,2819,2459,2662,2148,1885,2239,2386,2420,2310,2957,2909,2298,1796,2336,2745,2546,2496,2604,2776,2918,2706,2446,2484,2520,2106,2338,2850,2930,3007,2852,3473,3729,2723,2046,2148,2281,3124,3103,3021,2840,2433,1454,1578,2112,1992,2238,2585,2618,2643,2344,2100,2222,2024,1980,2031,1898,1948,2054,1914,1958,2043,1856,2151,2591,2128,1904,2082,2352,2008,1996,2088,1874,2202,2916,2841,2382,1933,2074,1968,1943,2093,2079,2578,2407,2757,2359,1750,1972,2031,1927,2186,1914,1819,1807,2458,2090,1663,1844,2037,1956,1781,1630,1715,1921,2040,2035,2629,2696,2013,2273,2792,2337,1687,1719,1959,1726,1477,1621,1797,2102,2394,1846,1616,1642,1632,1434,1422,1660,2244,2648,2245,1588,1383,1422,1426,1537,1406,1369,1269,1160,1376,1416,1337,1436,1655,2004,2247,1936,1580,1493,1526,1696,1683,1449,1396,1584,1835,2598,3326,3196,3362,3523,3645,3531,3588,3447,2875,2564,2445,2378,2518,2515,2496,2699,2491,2598,2554,2502,2399,2314,2583,2821,2846,2344,1840,2240,2338,2105,2715,2171,2134,2431,2272,2130,2631,3110,3087,2678,1976,2134,2585,3096,2936,2791,2574,2386,2647,2856,2967,2471,1979,2033,2199,1889,1757,1820,1713,1966,2447,2294,2328,2655,3205,3206,2594,2573,2775,2142,2162,1741,1850,2228,1922,1949,1969,2400,3382,3830,3528,3084,2214,1861,2039,2508,2763,2578,2774,2100,2106,2113,2162,2663,2393,1887,1921,2053,2420,2206,2042,2566,2667,3075,3146,2613,2459,2346,2030,2062,1793,2293,2757,2547,2812,2886,2857,2662,2329,2414,2652,2682,2691,2232,1745,1736,1805,2212,1764,1563,1837,1812,1925,2010,2114,2078,1964,1420,1405,1765,1426,1616,1917,1879,2038,1742,1845,2152,2026,2015,2547,2635,2200,2611,2489,2496,2490,2552,2688,2174,1957,2034,1957,2589,3220,2695,2612,2578,1985,2349,2092,2310,2632,2430,2623,2514,2172,2002,1947,2101,2181,2358,2379,2395,2467,2396,3063,3196,2898,2604,2438,2418,2473,2758,2517,2142,2928,3388,2814,2500,2855,3244,3259,3287,2618,1870,2078,2369,2852,3260,3250,3009,3052,2528,2400,2519,2813,2954,2950,3046,3203,3383,3309,3205,3462,3198,2752,2919,2967,3084,3475,3649,3238,2479,1811,2099,2099,2088,2389,2899,2940,2667,2658,2575,3007,3029,2209,1654,1874,2458,2152,1762,2243,2022,2500,3499,3461,2911,2343,1654,1893,2488,2425,2777,2758,2940,3561,3300,3119,3117,3675,3326,3262,3452,3373,3467,3306,3012,2521,2700,2805,3252,3462,3292,3369,3586,3964,4005,3816,3692,3598,3554,3598,3398,3107,3061,2994,2941,3231,3229,2719,2522,2777,2658,2291,2461],[2548,2111,2053,2348,2402,2436,2094,2466,2133,1606,1632,1909,2079,2422,2366,2074,2194,2094,1788,1715,1969,2194,2174,2930,3049,3174,3062,3049,3636,3752,2551,1713,1602,2231,3109,3331,3275,3110,3200,3270,2935,2817,2976,3319,3682,3683,3499,3626,3659,3782,3825,3584,3449,3427,3838,3460,3191,3190,3155,2820,2088,2347,2803,2639,2533,2711,2231,1982,2198,2363,2653,2503,2142,1895,2076,2497,2767,2762,2887,3099,3053,2716,2598,2735,2690,2797,2776,2876,3695,3930,3732,3645,3273,2957,2064,1636,1977,2461,2623,2708,2452,2348,2692,3720,3608,2721,2710,2742,2403,2315,2328,2800,3022,2799,2430,2382,2230,2150,2213,2191,2337,2245,2337,2426,2614,2832,2533,2226,2580,2666,2735,2336,1657,1986,2204,2021,1742,1782,1837,2079,2228,2008,2310,2346,2168,2024,2161,2447,2524,2967,2951,2321,2443,2491,2339,2584,2508,2134,2048,2044,2025,2426,2314,1432,1074,1416,2256,1938,1416,1707,1572,1796,2403,2121,1946,2020,2132,2078,1909,2005,1904,1400,1602,1785,2115,2697,2943,3079,2729,1786,1703,2469,2920,3154,2698,2482,2747,3030,3242,3108,2845,2840,2792,2569,2928,2774,2574,2609,2386,2537,2495,2867,3202,3078,3069,2642,2176,2253,2057,2210,3291,4116,4265,3863,3328,2171,1461,1532,2867,3423,1978,2448,3543,3609,3689,3618,3612,3385,3101,2871,2569,2523,2397,2314,2813,2107,1668,2317,1998,2182,2277,2205,2629,2727,2314,2195,2742,2890,2256,2065,2437,2537,2221,1911,2256,2375,2181,1666,1554,2256,2975,3475,3415,2670,2289,2124,2201,2394,2362,2376,2161,1954,1681,1715,1850,1559,2307,2849,2168,2104,2233,2534,2644,2941,3109,2833,2937,3666,2975,2366,2333,2347,2870,2939,2809,2455,2055,2245,2376,2383,1877,1695,2124,2343,2134,2084,2393,2508,2507,2402,2264,2206,2944,3177,2391,2493,3332,3583,3037,2839,3095,2474,2126,1748,1712,2135,2394,2549,2462,2386,2249,2299,3141,3422,2557,2247,2231,2100,1695,1930,2197,2081,1990,2144,2335,2324,2998,2479,1974,1760,1722,1629,1870,2532,2483,1992,1730,1768,2051,1744,2201,2500,2124,2162,2088,1884,2081,2046,1727,1722,1849,1946,1899,1844,1721,1821,2045,1671,1133,966,1549,1975,2017,1909,2007,2235,2266,2224,1911,2448,2849,2256,2196,1955,1653,1564,1587,1806,1982,2008,2321,2618,3002,3089,2356,1782,1864,2562,2976,2234,1635,2015,2719,3053,2740,2562,2583,2154,2091,2298,2863,2792,2050,1992,2046,2425,2664,2592,2433,2014,2050,1989,1598,1771,1989,2096,1880,1748,1658,1901,1957,1918,1935,1853,2067,1975,1851,1569,1833,2473,2933,3050,3104,3064,2766,2209,2635,2723,2790,3263,2756,1792,1668,1688,1914,2326,2392,2351,2117,2401,2942,2508,2114,1855,1966,2625,3139,3189,3211,2841,2722,2497,1615,1879,2644,2283,2000,1473,1761,2212,2041,2006,2570,2518,2192,2115,2085,1772,1685,2375,2950,2339,2408,2987,2753,2296,2034,1730,1368,1111,1257,1890,2126,1703,1657,1733,1664,2272,2334,1894,1452,1649,1732,1544,1357,1389,1825,2345,2094,1628,1421,1453,1919,1612,1430,1606,2117,1946,1920,2150,1776,1738,1964,2241,2049,2378,1754,1562,1682,1813,1477,1268,1411,1672,1877,1662,1625,1527,1435,1482,1181,1463,1844,1772,1831,1760,1554,1405,1223,1269,1694,2098,1840,2039,2194,2092,2139,1924,2512,2912,2492,2590,2587,2780,2658,2121,1984,2219,1986,1676,1769,1718,2134,2479,2610,2658,2403,2458,2387,2210,2087,2382,2067,2160,2128,2243,1892,2005,2559,2397,1901,1956,2165,2049,2070,2026,2334,2050,1972,2179,2699,3364,3020,2113,2091,2358,2352,2293,2461,2184,1880,1828,1910,2070,1763,2036,2149,2127,2314,2231,2175,2554,2921,2387,2025,2036,1964,1869,1806,1608,1782,2122,2188,2117,2021,2049,2039,2375,2353,1801,1376,1435,2049,2035,1784,1963,1937,2244,2493,2453,2335,3108,3091,2740,2470,2434,2040,1949,2148,2319,2562,2396,2176,2207,2192,2193,2243,2094,2192,2100,2070,1948,1960,2069,1981,2204,2012,2243,2774,2482,2062,1996,1820,1469,2021,2013,1975,2564,2436,2025,2575,3473,2984,2763,2547,2954,3240,3527,3554,3681,3644,3322,3282,3452,3208,3155,2903,2814,2680,2599,2406,1953,1642,1651,1694,1614,1497,1521,1597,1772,1695,1757,1669,1502,1548,1497,1511,1464,1526,1768,1866,1825,1788,1682,1656,1543,1766,2170,2410,2187,2411,2285,2152,2578,2424,2024,2248,1823,2059,2261,2345,2158,1692,1571,1744,1605,1632,1825,1719,1657,2049,1911,1627,2013,1728,1449,1575,1773,1573,1470,1666,1799,1673,1583,1444,1735,1874,1749,1926,1820,1664,1552,1524,1699,1850,1825,1749,1982,2027,1791,1765,2193,2451,2110,2296,2620,2878,3658,3904,3771,2955,1911,1957,2009,1859,1795,1924,1824,1681,1692,1759,1934,2044,1744,2143,3112,3383,3330,2806,1946,1522,1702,1726,1476,1411,1402,1410,1533,1855,1886,1889,2344,2646,2989,2868,3118,2652,2032,2588,2820,2077,1426,1757,2966,3828,3870,3598,2460,2184,2519,2104,1452,1953,2406,2598,3062,2240,1520,2272,3097,3120,3627,3969,3876,3400,3403,3485,3194,3210,3711,3906,3826,3562,3674,4073,3709,3760,4309,4353,3641,3193,3405,3387,3132,3167,3454,3659,4007,4552,4766,4365,3537,3190,3227,3206,3703,3397,2949,3651,4190,4452,4108,3504,3893,4187,3864,2985,2483,2566,2375,2016,2205,2233,1650,1519,2369,2541,2048,2208,2622,2631,2193,2272,2855,2382,1902,2240,2078,1922,1798,1767,1534,1052,1490,1835,1444,942,1132,1965,2545,3278,3936,3454,2645,2304,3640,4784,4200,3767,3554,2522,2044,1964,2214,2489,2457,1954,1218,1387,1537,2215,2385,2133,2231,1943,1774,1984,1796,1665,1931,2311,2082,1794,1716,1738,1595,2309,2780,2173,1709,1563,1231,1251,1153,1286,1207,1366,2442,3022,1770,1177,1823,2404,1952,1340,1106,1632,2133,1605,1155,1725,1825,1773,2479,2774,2608,2309,1685,1201,1143,1212,1265,1117,1246,1963,2142,1903,1198,911,880,889,904,988,1364,2220,3164,3429,3270,3234,3474,3555,3513,3153,2944,2904,3351,3855,3858,3786,3880,3790,3465,3107,2973,2924,2738,2923,3264,3409,3437,3566,3615,3528,3535,3514,3637,3417,2558,1333,1267,1545,1914,1644,1545,1759,1600,1491,1475,1700,2566,1890,1371,1471,1745,1723,1571,1406,1517,1902,2213,2208,1991,1599,1467,1468,1763,2281,2289,2258,2395,2649,2706,2094,1680,1710,1509,1404,1804,2126,1862,1664,2011,1731,1618,1771,1784,1671,1403,1352,1309,1530,1706,1864,1773,2064,2224,2137,1909,1606,1580,1548,1596,1929,2074,1987,1741,1666,1775,1979,2297,2487,2427,1991,1862,1925,2375,2618,2404,2179,2792,1998,1740,1930,1719,1657,2547,2751,2284,2679,2932,2751,2653,2451,2234,1996,2331,2414,2426,2054,1772,1829,2515,2970,3077,4133,5249,4973,2931,2535,2404,2243,1950,1857,2307,2258,2077,2311,2369,2104,1961,2167,2078,2526,1969,2019,1946,2477,3290,2635,2289,2697,2720,2656,2310,2167,2232,2418,2346,2275,2141,3104,2254,1383,2636,3922,3806,3440,3754,3292,3127,2851,2138,2263,2261,2396,2576,2622,2064,2308,2859,1998,2174,2397,2361,2381,2587,3106,2990,2657,2497,2684,3064,3492,2900,2524,2622,2720,2844,2632,2513,2052,1935,2545,2609,2587,2684,2666,3264,3652,2740,2091,1834,1790,2178,2768,2800,2743,2587,1852,1421,2035,2292,2718,3360,3550,2854,2285,2343,2592,2011,1960,2589,2066,1596,1807,1772,2092,2272,2339,2777,2388,1901,1974,2258,2477,1995,2045,2260,2199,2817,3043,2651,2437,2120,2414,2154,1918,2016,2099,2515,2851,2732,2218,2320,2329,2304,2575,3011,2237,1493,938,1555,1869,1852,1941,1988,2186,2026,1659,1672,1947,1734,1947,2463,2113,1946,1993,1977,1943,1914,1888,1802,1473,1685,2567,2221,2304,2620,2395,2018,1971,1763,1520,1487,1531,1964,2126,1931,1662,1388,1362,1387,1478,1399,1472,1368,1407,1687,1521,1331,1331,1565,2008,2070,1695,1391,1469,1624,1526,1455,1364,1399,1819,2143,2736,3323,3136,3205,3763,3846,3925,3853,3526,3209,2688,2380,2537,2680,2554,2502,2584,2710,3054,2733,2917,2673,2121,2163,2084,2132,2209,1851,1681,1850,2277,2885,2251,2028,2245,2271,2236,2500,1923,1619,1859,1648,2208,2386,2236,2684,3567,2925,2687,2540,2407,2363,2358,2154,2031,2036,1794,1945,2036,1763,2301,2885,2514,1961,2123,2852,3241,2680,2254,2371,2336,2091,1773,2140,2233,1794,1803,2113,2378,2924,3194,3682,3583,2165,2119,2308,2384,2523,2944,2698,2206,1982,1631,2291,2858,2476,2082,1823,2061,2280,1844,2020,2365,2578,2744,2947,2876,2476,2103,2171,1817,1831,2954,3475,2514,3036,3148,2989,2618,2237,2604,2618,2399,2202,2192,2054,2194,1971,2222,2072,1964,1851,1851,2093,2250,1986,2088,2001,1587,1892,1750,1768,1728,1575,1854,1970,1636,2056,2371,2553,2722,2433,2249,3006,3219,2640,2314,2470,2432,2455,2149,1896,1852,1772,2272,3061,3040,2841,2527,1736,1462,1719,2364,2925,2620,2083,1879,1855,1819,2313,2461,2178,2168,2400,2578,2500,2350,2743,2987,2631,2429,2800,2697,2135,1917,1781,2126,2409,2530,2263,2317,2459,2613,2290,2555,2869,2223,1935,2002,2098,2413,2938,2824,2879,2456,2654,2802,2413,2455,2600,2645,2755,3255,3343,3240,3406,2675,2603,2920,2770,2736,2955,2919,2614,1746,1560,2383,2439,2419,2540,2869,2652,2752,2564,2120,2380,2394,2166,2094,2292,2436,2253,1741,1925,2183,2888,3422,3188,2588,2233,2327,2154,2447,2280,2814,2990,3342,3956,4344,3870,3390,3249,3077,3271,3405,3527,3616,3519,3076,2258,2643,3337,3626,3466,3310,3362,3513,3639,3918,3994,3759,3604,3773,4029,3585,3186,3388,3212,3032,3344,3453,3009,2719,2540,2185,2170,2514],[2076,1931,2184,2331,2430,2565,2562,2862,2436,1582,1582,1864,2277,3043,2319,1691,1954,1937,1760,2007,2069,2405,2692,2973,3024,3056,2836,2574,3206,3450,2404,1854,1638,2176,3138,3383,3322,2937,2636,2896,3099,3030,3199,3355,3713,3782,3688,3609,3463,3415,3394,3284,3203,3308,3292,2797,2555,3130,3811,3645,2956,3017,2979,2539,2913,2508,1874,2166,2567,3033,3122,2170,2248,2452,2296,2470,2748,2744,2942,3167,3164,2794,2552,2689,2757,3155,3072,2909,3376,3500,3300,3184,3272,3222,2232,1789,2627,3042,2665,2743,2535,2388,2488,2967,2950,2547,2603,2678,2508,2487,2687,2452,2684,3189,2862,2585,2711,2383,2282,2234,2242,2187,2532,3031,2956,2830,2894,2778,2901,2646,2402,2574,2094,2180,2178,1768,1744,2019,2160,2160,2014,2072,2470,2343,2581,2486,2680,2344,2310,3099,3060,2455,2484,2574,2557,2937,3030,2778,2430,2041,1731,2088,1998,1039,580,1133,2082,2248,2018,1904,1348,1687,2289,2646,1790,1393,1475,1808,1713,2010,1938,1396,1272,1271,1950,2757,2922,2719,2315,2121,1665,1972,2666,2997,2272,2048,2744,3201,3522,3572,3573,3482,3759,3610,3459,3409,3464,3482,3308,3273,3240,3370,3193,2699,2646,2516,2579,2989,2089,2260,2576,2995,3902,4074,3353,2096,1543,1782,3442,3514,2092,2735,3393,3558,3536,3435,3463,3060,3181,3463,3163,3031,2514,2091,1968,1909,1964,2028,2198,2210,2128,2655,3074,2887,2630,2565,2575,2482,2095,2320,2630,2536,2464,2677,2316,1935,1793,1528,1441,2197,3406,3952,3720,2921,2401,2547,2427,2468,2488,2187,1924,1737,1613,1630,1596,1477,2140,2523,2129,2446,2587,2966,3117,2885,3207,3276,3349,3771,2670,2710,2710,2941,2908,2727,2853,2543,2082,2086,2077,2199,1960,1947,2018,2270,2264,2334,2276,3039,2698,2126,1886,2246,3614,3626,2000,2124,2669,2754,3200,2611,2684,1707,1360,1816,2298,2549,2670,2703,2589,2545,2495,2075,2663,2818,2444,2501,2456,2009,1658,2085,2110,1849,2004,1917,2431,2432,2166,1716,1773,1757,1637,1666,1740,2120,2574,2396,1902,1698,2089,1906,2064,1995,1857,1930,1888,1842,2007,1943,1908,1880,1941,1785,1656,1810,1845,1781,2194,2044,1365,1053,1457,1894,1901,1845,2296,2511,1998,1658,1662,2149,2505,2160,1955,1802,1612,1720,1882,1858,1940,2016,2566,2614,2952,2676,2425,2134,2029,2789,3024,2457,2096,2451,3085,3191,2873,2649,2255,2148,2058,2554,3019,2343,1885,2032,2283,2790,3075,2789,2449,2344,2024,1607,1443,1718,2276,2130,1761,1592,1556,1655,1590,2008,2047,2012,2142,2163,2329,2091,1990,2289,2490,2802,2979,3022,2670,2009,2232,2476,2302,2150,1992,2072,2057,1753,1744,1726,1849,2103,1969,2219,2084,1683,1590,1509,1803,2080,2214,2231,2250,2289,2269,2078,1594,2117,2525,2282,2283,1734,1976,2425,2168,2111,2289,2418,2319,1940,1848,1814,2182,2165,2666,2287,2168,2957,2851,2577,2268,1658,1546,1470,1250,1533,1618,1604,1546,1842,2133,2231,2132,1837,1681,1726,1597,1481,1459,1440,1686,2145,2154,1968,1665,1407,1472,1400,1405,1879,2422,2101,1697,1969,1706,1416,1635,1597,1692,1600,1276,1488,1542,1454,1301,1155,1160,1478,1861,1801,1538,1471,1479,1389,1441,2073,2276,1896,1691,1784,1840,1844,1583,1533,1684,1702,1770,1892,1970,2171,2072,1674,2341,2830,3263,3292,2565,2176,2260,2281,2272,2220,1851,1698,1768,1975,2520,2724,2384,2518,2542,2690,2613,2624,2413,2713,2372,2397,2591,2357,2072,2414,2845,2535,1958,2460,2440,2434,2390,2049,2011,2042,2012,2028,2144,2345,2398,1968,2047,1955,2338,2028,2134,1774,1548,1681,2391,2407,1775,2023,2226,2248,2264,1940,1849,2806,2599,2295,2404,2369,2100,1647,1579,1739,1765,1741,1983,1918,2067,2187,2518,2805,3266,2670,2327,2192,2102,2141,1953,2022,2042,2427,2436,2391,2598,2838,2740,2587,2743,2969,2810,2707,2673,2887,3152,2782,2475,2355,2320,2216,2227,2149,2252,2414,2529,2487,2189,1995,2208,1937,2079,2435,2344,2596,2584,2214,1583,1218,1418,1737,2425,2860,2435,2224,2298,2566,2955,2851,2422,2220,2471,3172,3554,3555,3270,3413,3429,3256,2934,2643,2144,2052,2024,1756,1610,1592,1523,1471,1525,1528,1476,1500,1477,1521,1597,1675,1575,1535,1499,1457,1482,1515,1589,1575,1738,1540,1582,1361,1470,1463,1676,2100,2008,1930,2115,1818,1846,2438,2556,2138,2497,2485,2783,3154,2956,2300,1963,1651,1542,1548,1678,1686,1573,1875,2136,1872,1969,2165,1834,1638,1828,1909,1768,1649,1636,1769,1667,1530,1438,1640,1770,1700,1686,1640,1556,1487,1556,1634,1714,1790,1715,2198,2470,1788,1672,1440,1532,1800,2261,2677,3420,4140,3858,3205,2188,2243,2255,2433,2095,1917,1924,1835,1721,1600,1689,1758,1738,1764,2190,2501,2465,2572,2088,1659,1657,1655,1475,1420,1378,1669,2020,1685,1620,1968,1923,1763,2144,2651,2590,2645,2623,1988,2031,2414,2316,2006,2233,2311,3024,3698,3572,2586,2462,2590,2447,2046,2343,2423,2126,2340,2272,1736,1958,2733,3094,3680,4229,4368,4135,3824,3365,3071,3184,4157,4164,3946,3253,3603,4026,3457,3562,3895,3995,3897,3699,3601,3569,3363,3311,3465,3599,3631,3638,3906,4020,3396,3208,3210,3118,3286,3121,3208,3708,4459,4472,3709,3808,4097,4244,3584,2762,2202,1898,2065,2434,2720,2005,1524,1890,2452,2382,2562,2744,2311,2020,2084,2708,3206,2569,1895,2210,2086,2010,1930,1814,1554,1360,1729,1930,1223,727,1103,1606,2719,3996,4492,4469,3635,3150,3742,4057,3269,2500,2107,2562,3087,2359,2292,2171,2242,1892,1224,1315,1499,2089,2408,2207,2260,2118,1808,1738,1619,1926,2393,2451,2042,1584,1247,1444,1910,2396,2790,2101,1477,1455,1098,1281,1417,1654,1613,1322,2140,2835,1964,1143,1920,2438,1887,1621,1726,1818,2042,1684,1240,1740,1948,2018,2511,2817,2726,2852,2863,2358,1929,1817,1699,1613,1725,2014,1823,1593,1239,952,926,991,1032,1152,1483,2116,2932,2888,2614,2734,3234,3365,3111,2924,2669,2561,3187,3806,3609,3370,3459,3536,3530,3075,2973,3211,2884,2663,2961,3276,3430,3563,3646,3654,3769,3785,3764,3829,3416,2360,1288,1224,1716,1684,1500,1462,1477,1564,1438,1912,2115,1557,1465,1647,1552,1484,1381,1301,1305,1594,2055,2041,2017,1717,1505,1490,1650,1938,2094,2431,2120,2047,2620,2122,1525,1643,1414,1277,1303,1730,1959,1489,1303,1323,1531,1626,1694,1654,1343,1309,1513,1793,1682,1806,1794,1759,1948,1858,1484,1318,1450,1548,1456,1688,2084,1901,1797,1815,2137,2187,1984,2024,1947,1878,2267,2310,2510,2342,2519,2198,3044,2547,2175,2072,1873,1953,2338,2586,2717,3056,3366,2867,3242,3208,2698,2141,2368,2680,2373,1881,1780,2336,2463,2311,2428,3520,3890,3366,2354,2355,2322,2591,2634,2548,2425,2113,2306,2854,2887,2102,1625,1893,2016,1904,1768,2078,2210,2500,2863,2258,2303,2545,2147,1975,1573,1831,2011,2122,2449,2155,1915,2676,2404,1489,1871,3639,4081,3497,3665,3608,3365,2952,2258,2072,2082,2164,2272,1900,1714,2120,2684,2466,2635,2618,2698,2520,2552,2646,2414,2354,2719,2874,2824,3234,2520,2212,2833,3145,2953,2364,2566,2691,2746,2698,2399,2565,2662,2484,2690,3220,2746,2263,2082,1995,2150,2578,2928,2776,2449,2331,1904,2318,2639,3484,3683,3310,2790,2296,2219,2472,2149,2054,2269,2022,1895,2098,2243,2283,2295,2396,2498,2259,2511,2554,2464,2194,1979,2268,2485,2548,3010,2657,2776,2510,2175,2105,2183,2154,2240,2308,2490,2841,2953,3000,3161,2492,2258,2271,2107,1538,1397,1403,1642,1752,1777,1954,1890,2050,2120,1810,1839,1605,1557,2218,2465,2014,1938,1641,1353,2002,2229,1966,1543,1900,2154,2407,2230,1800,2624,3329,2934,2635,2205,1726,1522,1551,1245,924,1088,1338,1435,1357,1442,1566,1481,1531,1618,1609,1695,1389,1374,1562,1741,1746,1811,1526,1375,1795,2009,1600,1394,1333,1355,1710,2308,3030,3267,3115,3404,3671,3521,3682,3484,3039,2880,2778,2397,2375,2299,2544,2626,2613,2793,2353,2112,2482,2314,2298,2404,2079,2005,2141,2146,2066,2054,2758,2611,2091,2042,2237,1935,1785,2069,1399,1526,1723,1499,2272,3261,2674,3051,3342,2661,2301,2470,2499,2243,2308,1892,1821,1625,1771,2338,2490,2127,2322,2508,2220,1751,1654,2098,2454,1973,1766,1787,1952,1690,1599,1801,2104,2186,1980,1924,2384,2881,2715,3138,2754,2142,2040,2311,2309,1921,2030,1842,1740,1686,1994,2539,2807,2554,2541,2265,2248,2167,2030,1926,2058,2298,2834,3471,3016,2270,2034,2078,1964,2414,2780,2696,2766,3632,3520,2899,2462,2433,2668,1982,2006,1993,2014,2331,2424,2065,2208,2176,1881,1677,1625,1945,2172,1725,1977,2023,1925,1998,1844,2122,1854,1661,1972,1588,1594,2376,2330,3232,3266,2245,2238,2751,2646,2419,2492,2586,2477,2307,2139,2078,1982,1884,2338,2624,2963,2563,2261,1696,1500,2409,3216,2812,2330,2255,2252,2019,2112,2608,2534,2170,2042,2707,3242,3168,3041,2958,2705,2503,2938,2812,2674,2243,1641,2302,2700,2579,2222,2483,2462,1947,2056,2053,2354,2642,2503,2373,2226,2098,2511,2991,3186,3107,2834,2880,2512,2120,2177,2240,2207,2415,2984,2956,3059,2889,2994,3621,3343,2799,2743,2597,2698,2411,1722,2306,3035,2709,2334,2209,2657,2967,2956,2424,1737,1670,1950,2163,2387,2803,3008,2292,1827,1941,2235,2983,3415,3033,2876,3321,3636,3110,3110,2792,2878,3248,3452,3616,4292,4312,3466,3187,3565,3120,3152,3188,3123,3174,2957,2526,2895,3485,3452,3363,3347,3395,3510,3274,3317,3680,3679,3680,3298,3171,3188,3395,3418,3156,3244,3385,3485,3642,3198,2272,1988,2302,2382],[2156,2303,2590,2364,2481,2583,2562,2460,2237,2049,2143,2116,2223,2831,2691,1928,2030,1938,2023,2768,2767,2995,2963,2689,2829,2875,2670,2372,2669,2743,2524,2464,2194,2405,2958,3331,3463,3166,2855,3211,3471,3445,3310,3232,3374,3513,3824,3602,3256,3269,3211,3040,2999,2954,2863,2600,2409,3054,3659,3505,3278,3097,2850,2738,2933,2370,1843,2277,2763,3087,3186,2213,2169,2188,2025,2244,2440,2481,2634,3166,3610,3099,2679,2837,2837,2850,2939,3199,3277,3359,3422,3240,3311,3298,2890,2634,2952,2986,2734,2750,2381,2137,2315,2479,2472,2122,1689,1677,2010,2634,2916,2778,2721,2539,2408,2363,2270,2276,2322,2483,2490,2472,2670,2921,2874,2962,3033,3082,3042,2451,2331,2630,2261,2072,2104,1703,1527,2439,2867,1613,1312,2149,2784,2817,2793,2793,2777,2558,2424,2458,2247,2069,2334,2593,2566,2721,2824,2811,2739,2266,1884,1912,1790,1494,1734,1946,1811,1986,2225,1947,1169,1154,2004,2758,2314,2329,2626,2412,2028,2254,2244,1976,2160,1696,1903,2461,2524,2208,2342,2721,2304,2213,2489,2381,1930,1886,2292,2820,3108,3309,3659,3610,3370,3443,3619,3548,3333,3083,3095,3256,3189,3124,2896,2644,2663,2569,2990,2977,1906,2331,2369,2754,4034,4153,3828,2962,2232,2558,3676,2890,1889,2872,3573,3681,3458,3208,2977,2704,3106,3408,3372,3182,2474,3030,2343,2397,2413,2275,2294,2170,2347,3209,3651,2974,2755,3063,2835,2934,2431,2390,2520,2620,2856,2553,2006,1598,1648,1996,1993,2385,3511,3744,3331,2607,2218,2539,2648,2467,2413,2006,1769,1940,1854,1782,1988,1978,1987,1871,1923,2294,2400,2801,3091,3056,2947,2887,3173,3055,2932,3330,3009,2878,2598,2419,2341,2170,2407,2343,2008,2214,1821,2020,2344,2652,2689,2242,2367,2918,2764,2646,2613,2443,2954,3045,2143,2575,2642,2621,3156,2797,2230,2125,2564,2787,2664,2508,2757,2939,2798,2363,2405,2708,2726,2380,2512,2476,2456,2319,2056,2160,2145,1932,2182,2313,2391,2245,2061,1785,1661,1662,1792,2142,2296,1727,2060,2197,1959,1604,1747,1758,1709,1650,1600,1491,1421,1691,2106,1995,1969,2122,2048,1649,1482,1748,1881,1726,2121,2090,1436,1197,1792,1983,1511,1739,2191,2170,1736,1825,1994,2318,2452,2382,2332,2136,1649,1950,1867,1666,1813,1904,2578,2229,2125,2511,2730,2563,2886,3142,2886,2811,2730,3356,3312,2778,2330,2362,2320,2281,2288,2905,2835,1978,1914,2082,2639,2954,3079,2512,2610,2877,2331,1945,1816,1986,1989,1613,1548,1438,1481,1555,1533,1804,1758,1971,2128,2320,2534,2337,2106,2225,2382,2314,2964,3450,2818,2381,2657,2865,2531,2248,2229,2260,1944,1544,1646,1903,2088,2192,2274,2663,2155,2206,2121,1739,1990,2089,1931,1705,1485,1907,1921,2071,2512,3118,2610,2149,2066,1659,1769,2008,2021,2287,2305,2432,2338,1928,1654,1753,2334,2845,2928,2474,2541,2408,2062,2027,2078,1792,1605,1586,1451,1540,1531,1480,1539,1862,1854,1491,1485,1590,1726,2238,1769,1524,1680,1560,1717,1761,1976,2116,1650,1270,1259,1528,2050,2305,2447,1990,1753,2013,1710,1482,1570,1727,2105,1709,1388,1687,1518,1390,1172,1181,1326,1598,1608,1942,1632,1366,1117,950,1372,1892,1868,1696,1729,1842,1814,1845,1886,1979,2008,2117,2116,2149,1896,1621,1762,1644,2135,2474,2839,3059,2490,2012,2088,1634,1260,1328,1553,1832,1947,2121,2410,2163,2140,1869,2293,2154,2121,2230,2179,2359,2144,2040,2494,2554,2342,2324,2334,2233,2115,2354,2220,2471,2136,2011,2309,2001,1868,1992,1980,2218,2179,1952,1823,1857,2219,2082,1845,1926,1834,1939,2623,2541,2072,2178,2371,2156,1836,1857,2204,2587,2361,2501,2337,2172,2063,1630,1886,2302,1815,1771,1643,1698,1854,2097,2158,2308,2765,3449,4018,3564,2855,2344,1959,1992,1982,2189,2230,2417,2858,3085,2866,2399,2475,2909,3292,3452,3196,2673,2851,2919,2604,2187,2644,2476,2334,2547,2277,2335,2429,2570,2227,2302,2133,1963,2279,2565,2444,2680,2573,1954,1824,1892,2051,2151,2068,2603,2415,2126,2116,2330,2630,2167,1890,1590,1953,2730,3394,3355,2907,2742,2649,2465,2014,1729,1640,1584,1462,1465,1563,1631,1686,1658,1716,1719,1605,1520,1527,1566,1561,1459,1465,1521,1543,1561,1476,1513,1472,1449,1636,1501,1549,1586,1662,1795,2128,2236,2121,2153,1886,1783,1951,2097,2479,2885,2898,3363,3273,3256,3244,2276,2270,1748,1638,1804,1537,1636,1764,2307,2065,1801,1685,1669,1787,1762,1789,2014,2167,1635,1512,1692,1634,1387,1542,1772,1735,1660,1737,1709,1681,1543,1678,1944,1757,1745,1655,1780,1921,1840,1741,1535,1586,1854,1896,1893,2449,3373,2952,1957,2033,2773,3150,2964,2175,1875,1831,1729,1881,1948,1632,1555,1615,1974,2011,1901,1799,1620,1575,1693,1650,1448,1451,1519,1577,2093,2520,1774,1731,2022,2057,1893,1754,2148,2504,3031,3210,1860,1240,2083,2643,2868,3168,2205,2417,3463,3685,3533,3088,2433,2158,1663,1707,1536,1296,1722,2276,1534,1327,2245,2983,3342,3852,4404,4475,3838,2931,2709,2728,3864,4125,4120,3776,3491,3277,3420,3710,3601,3406,3736,3787,3698,3682,3416,3195,3289,3395,3507,3329,3241,3067,2923,3236,3287,3305,3305,3725,4013,3886,4004,3726,3673,4061,4149,3928,3516,2979,1878,1931,2706,3129,2664,2342,2583,2673,2852,2331,2778,2956,1810,1729,2320,2916,3398,2630,1957,2159,2094,2050,2013,1875,1520,1415,1772,1578,766,893,1342,1788,2906,3971,4156,3592,3467,3066,2163,1671,1376,1094,1257,2031,3299,2962,2625,2373,2587,2215,1448,1340,1546,1883,2045,1913,1990,1940,1721,1799,2038,2416,2489,2116,1999,1539,1484,1981,2133,2377,2670,1870,1834,2005,1737,1668,1682,1929,1690,1175,1718,2662,2118,1106,1459,2033,1943,1869,2183,2456,2423,1859,1516,1705,1790,1803,2432,3371,3288,3277,3954,3566,2712,2613,2958,2913,2791,2766,2456,2198,2004,1779,1602,1470,1452,1460,1649,1985,2695,2591,2454,2636,2918,3105,3389,3256,2609,2403,3187,3443,3159,2928,2963,3039,3438,3544,3369,3288,3042,2711,2630,2887,3155,3397,3674,3835,3791,3644,3775,3895,3837,3417,2175,1141,1242,1663,1437,1489,1548,1677,1531,2136,1989,1416,1490,1510,1413,1421,1314,1354,1329,1475,2036,2183,2167,1890,1592,1530,1571,1615,1746,1686,1286,1552,2310,2031,1542,1500,1459,1325,1265,1450,1326,1179,1268,1491,1599,1568,1756,1775,1554,1485,1747,1783,1548,1545,1648,1707,1761,1838,1740,1615,1506,1536,1642,1721,2018,1837,1920,1802,1889,2124,2003,2102,2072,2345,2364,2451,2676,2785,2574,2188,2330,2409,2214,1809,1616,1745,1871,2287,2519,2890,3433,3437,3431,3165,2533,1959,2249,2467,2063,1764,1686,2193,1865,2115,2481,2883,2928,2548,2169,2389,2652,2677,2192,1854,1753,1964,2429,2359,2153,1968,1747,2126,2158,2201,2376,2541,2618,2295,2170,2071,2421,2092,1956,1859,1665,2165,2286,2345,2683,2378,2264,2599,1986,1692,1830,3161,3681,3340,3071,3129,3208,2707,2082,1664,1524,2141,2867,2675,2484,2050,2411,2573,2187,2476,3062,3070,2960,2626,2357,2913,3164,3020,2338,2232,1893,1787,2139,2498,2437,2415,2879,2884,2614,2230,2309,2813,2308,2244,2427,2939,2638,1888,1791,2134,2437,2423,2663,2880,2724,3010,2959,2772,2472,2978,3011,2741,2532,2026,1899,2103,1896,1895,2307,1920,1830,2284,2597,2514,2855,2575,2352,2550,2233,2202,2290,1661,1937,2383,2416,2460,2123,1944,2604,2609,2353,2399,2406,2304,2542,2799,2706,2885,2704,2872,3200,2680,1822,1383,1605,1669,1727,1600,1620,1937,2143,1830,1613,1677,1776,1886,2286,2249,2165,2207,2121,2128,2098,1934,1865,2359,2301,2242,1913,1996,2144,2802,2734,1913,2614,2986,2359,2355,2541,1968,1676,1581,1373,1204,1410,1754,1762,1499,1323,1428,1576,1653,1641,1357,1345,1286,1509,1801,1765,1642,1644,1609,1592,1866,2025,1640,1533,1466,1712,2186,2387,2902,3274,3385,3316,3239,3265,3146,3325,3141,2531,2731,2591,2497,2524,2587,2636,2711,2624,2227,2619,2784,2523,2603,2621,2062,1936,1991,2016,2150,2853,2754,2303,2177,1930,1898,1612,1779,2022,1573,1496,1393,1351,2037,2520,2129,2185,2333,2109,2281,2851,3185,2556,2093,1712,1720,1766,1614,1918,2320,2387,2159,2054,2138,1945,1433,1273,1591,1724,1684,1749,1913,1990,1833,1808,2547,3229,3030,2489,2578,2642,2696,2678,2346,2388,2344,1911,1686,1975,1987,1691,1626,1878,2814,2925,2742,2684,2633,2398,2153,2337,2316,2170,2267,2127,2059,2348,2455,2047,1831,1912,2670,2766,2739,2806,3073,3696,3391,3082,2853,2723,2494,1779,1720,1785,1726,1855,2084,2337,2255,2016,2017,1856,1912,1776,1791,1846,1757,1795,1874,2002,1878,1670,1594,1643,1372,1274,2175,2566,2182,3109,2424,1854,2377,2367,2088,2222,2586,2432,2031,1904,1772,1986,1822,1712,2618,3107,2508,1988,2508,2630,2166,2237,2481,2176,2453,2912,2627,2454,2459,2210,2177,2258,2451,2815,2995,3322,3335,2887,2534,2675,3229,3222,3096,2239,1968,2384,2540,2495,2281,2470,2309,1975,2558,1824,1681,2233,2439,2504,2475,2685,2889,2779,3232,3680,3560,3341,2463,2004,1880,2342,2168,2513,2349,1819,2376,2568,2536,2893,2587,2357,2685,2572,2804,2546,2260,2683,2460,2358,2114,1815,2832,3686,3138,2152,1691,2237,2645,2333,2197,2747,3017,2238,1741,1851,2150,2855,3305,2933,3189,3810,3554,3208,3199,2986,2966,3425,3705,3410,3341,3439,3585,3570,3526,2767,2966,2740,2622,2925,2994,3043,3425,3518,3278,3319,3221,3229,3218,3111,3265,3464,3484,3461,2728,2426,2831,3019,3147,3559,3716,3168,3242,3427,3518,2679,2258,2658,2435],[2209,2092,2134,2263,2577,2668,2484,2187,2144,2166,1896,1983,2164,2354,2814,2575,2451,2174,2556,2680,2414,2824,2919,2595,2716,2940,2778,2436,2144,2273,2268,2335,2629,2692,2610,3162,3885,3916,3454,3627,3703,3612,3521,3381,3266,3422,3752,3533,3218,3410,3330,2547,2414,2725,3038,2842,2548,2882,3459,3551,3294,3025,2864,2785,2853,2784,2366,2365,2813,3086,3018,2486,2302,2055,1998,2153,2264,2176,2146,2910,3483,2997,2718,2695,2830,2788,2976,3008,2962,3255,3355,3153,3056,3011,3022,2904,2931,2820,2684,2392,2072,1731,1959,2147,2081,1879,1560,1281,1804,2636,2865,3472,3128,2147,1879,1771,1786,1904,2078,2304,2553,2343,2298,2108,2276,2545,2624,2557,2499,2313,2374,2409,2219,2196,2194,1685,1281,1848,2496,1938,1482,2306,2685,2437,2786,2895,2721,2801,3054,2832,2084,2442,2868,2778,2250,2294,2598,3061,3304,2559,1736,1615,1535,1543,1766,1578,1510,1800,2280,2156,1660,1286,2126,2577,2522,2764,3032,3062,2856,2923,2692,2104,2166,2045,2188,2070,2148,2258,2409,2652,2546,2217,2157,2257,1839,1638,2013,2496,2990,3308,3454,3386,3227,3356,3383,3131,3059,3180,3308,3414,3248,3008,2585,2519,2620,2676,3133,2438,1829,2846,3196,3356,4082,4188,3929,3962,4048,3999,3580,2196,2238,3406,3846,3642,3318,3095,2712,2540,2954,2745,2687,2120,1969,2476,2182,2084,2135,2258,2535,2348,2129,2950,3065,2452,2406,3042,2822,2949,3162,2969,2492,2467,2750,2436,2299,2095,2843,3198,2817,2452,2852,2469,2126,2371,2691,2921,2811,2306,2318,2321,1924,1691,1709,1729,2002,2029,2144,2007,1987,2238,2305,2571,2652,2632,2651,2755,2565,2319,2262,2060,1990,2044,2155,2377,2441,2676,3074,2343,2399,2223,1958,2023,2252,3353,3458,2706,2757,2517,2563,3322,3466,2599,2120,2056,2412,2658,2453,2407,2451,2276,2186,2518,2654,2500,3086,2824,2888,2966,2436,2153,2448,2640,2398,2422,2617,2525,2401,2485,2210,2208,1908,1837,2655,3122,2380,2172,2254,1848,1578,1458,1510,2165,2260,2105,2114,2065,1880,1575,1597,1714,1630,1519,1584,1808,1898,1819,1847,1873,2037,2545,2232,1694,1628,1937,1949,1744,1952,2128,1438,1109,1825,1972,1594,1999,2004,1718,1737,1924,2292,2332,2201,2398,2100,1901,1582,1801,1771,1650,1707,1813,2244,2077,1728,2054,2480,2906,3328,2762,2702,2883,3184,3544,3338,2808,2076,2062,2200,2117,2482,2899,2384,1913,1932,2386,2810,2421,2558,2525,2335,2495,2445,2331,2170,2214,2002,1750,1803,1486,1711,1639,1416,1337,1455,2118,2371,2351,2676,2330,2081,2770,3044,3200,3963,3557,2884,2695,2978,2632,2206,2589,2436,1966,1893,2080,2260,2460,2218,1981,2275,2208,2096,2592,2401,2147,2466,2246,1930,1955,1681,2020,1816,2497,3038,3190,2408,1919,2288,2079,2132,2388,1877,2066,2719,2840,2766,2647,2382,2139,2300,2654,2150,2250,2596,2094,2014,1976,2249,1785,1569,1455,1437,1553,1672,1622,1618,1652,1563,1671,1783,1780,1699,2038,1857,1694,1621,1509,1438,1548,1895,1952,1737,1648,1660,1841,1978,1809,1750,1792,1919,1835,1536,1559,1617,1987,2321,1754,1544,1639,1219,1150,1229,1338,1288,1372,1738,1866,1525,1243,846,812,1341,1781,1921,1897,1986,1879,1820,1973,2053,2072,1977,1862,1851,1858,1648,1841,2054,1909,2132,2918,3212,2830,2207,2128,2021,1363,999,1324,1087,936,1219,1402,1835,1961,2079,2014,1871,1524,1912,2026,1810,2016,2096,1964,2436,3007,2676,2275,2298,2165,2031,2277,2736,2600,2090,2223,2521,2046,1908,1820,1926,1946,2045,2144,1906,2035,2946,2770,1953,2003,1947,2019,2399,2415,1924,1923,2048,1854,1649,2196,2344,2002,2313,2479,1588,1573,1852,1673,2473,3006,1998,1653,1566,1830,1842,1919,2009,2178,2542,3222,3054,3151,3353,2521,2340,2272,2344,2310,1828,2017,3001,3507,3062,2389,2214,2221,2625,2606,2690,2501,2521,2938,2250,1663,1983,2211,2676,2800,2322,2776,2305,2050,1856,2266,2801,2841,2515,2335,2415,2624,2486,2740,2474,2120,2232,2092,2178,2159,1964,2304,2423,2388,2208,2230,2171,1636,1946,2789,2918,2436,1943,1643,1554,1542,1548,1531,1556,1585,1574,1693,1778,1804,1698,1682,1750,1671,1559,1560,1541,1515,1531,1495,1495,1475,1554,1592,1481,1565,1616,1627,1741,1838,1855,1863,1886,2069,2082,2268,2135,1871,1622,1593,1565,1800,2350,3144,3199,2958,2757,2864,3238,3119,3127,2501,1863,1707,1749,1834,1945,2147,2122,1738,1568,2322,2150,1995,2095,1730,1658,1423,1473,1719,1910,1750,1606,1559,1582,1443,1622,1800,1782,1573,1667,2306,2010,1783,1606,1605,1807,1778,1650,1607,1775,2036,2188,2040,1778,2056,1755,1618,2024,2571,2986,2411,1792,1824,1937,1870,2248,2222,1642,1572,1760,1952,1923,1935,1824,1678,1553,1476,1391,1607,1554,1635,2093,1824,1466,1520,1786,2149,2383,2164,1859,2157,2329,2695,3106,2306,1240,1719,2889,3483,3617,2930,3166,3859,3870,3882,3474,2301,1527,1051,1362,1629,1372,1745,2167,1879,2022,2662,3077,3220,3614,3962,4220,3805,3022,3015,2946,3572,4152,4241,4048,3244,2888,3491,3579,3413,3199,3671,3623,3417,3363,3473,3296,3292,3640,3861,3594,3093,2801,2554,2784,3238,3248,3730,4012,3870,3790,3554,3107,3388,3685,3564,3319,3349,3068,2089,2388,2734,2440,2090,2302,2667,3038,3071,2509,2713,3250,2189,2238,2541,3008,3411,2542,1788,1813,1918,1867,2048,2040,1534,1482,1751,1008,650,1065,1321,2280,2744,3346,3487,2986,2689,2160,1449,1230,1323,1250,1317,1456,2691,3429,3023,2802,2440,1789,1479,1338,1407,1455,1529,1650,1949,1824,1718,2113,2458,2393,2148,1967,2326,2300,1824,2147,2234,2408,2568,1837,2384,2554,1938,1708,1552,1546,1334,1030,1652,2786,2251,1316,1540,1843,1800,1926,2076,2977,2912,1991,1623,1612,1689,1739,2557,3825,3508,3538,4185,3780,2839,2900,3022,3000,3440,3460,2886,2786,3100,3024,2895,2950,2763,2618,2536,2526,2734,2673,2576,2827,2855,2786,3400,3420,3193,3183,3585,3328,2890,2626,2693,2920,3220,3473,3487,3152,2751,2780,2618,2521,2607,2972,3532,3835,3790,3802,3830,3704,3801,3902,3344,1964,1036,1340,1692,1720,1547,1484,1636,2003,1839,1499,1409,1395,1394,1466,1499,1476,1447,1460,1869,2145,2284,2098,1791,1564,1502,1352,1262,1354,1653,1898,2082,1840,1512,1350,1358,1410,1406,1284,1200,1324,1455,1524,1478,1510,1711,1764,1741,1549,1681,1784,1612,1633,1813,1732,1773,2326,1881,1665,1477,1484,1876,1954,1570,1596,1737,1658,2446,2646,2129,2709,2949,2334,2205,2632,2708,2380,2126,1790,1816,2143,1979,2154,1921,1650,1769,2585,2452,2807,3226,3155,3055,2768,2337,1984,2084,2214,1656,1632,1555,2250,2497,2520,2428,2886,3088,2600,2525,2494,2193,2164,1869,2088,1875,1753,2340,2330,2354,2008,1996,2477,2521,3072,2890,2756,2406,2654,2317,1676,2447,2675,2120,1954,2226,2876,3035,2512,2467,2662,2821,2912,2243,1674,2114,3075,3520,3150,2542,2328,2205,2111,2184,1772,1751,2710,3171,2336,2522,2566,2609,2511,2136,2218,2642,2811,2624,2330,2343,3219,3216,2195,1591,1678,2061,2105,1648,1883,2445,2964,3513,2743,2393,2514,2647,2486,1975,2166,2509,2554,2548,2337,2425,2854,2796,2608,2691,2551,2544,2807,2664,2828,2567,2589,2447,2554,2876,2317,1884,2127,1960,1998,2143,1954,2248,2705,2623,2059,2224,2140,2279,2579,2247,2148,2094,2162,2305,2273,2377,2723,2344,2334,2625,2570,2655,2978,2810,2142,2200,2676,2941,2818,2325,2413,2477,2350,1850,1711,1920,1877,1981,1521,1919,2393,2492,1954,1763,2009,2459,2561,2473,2138,1762,1781,2132,2762,2137,1871,2072,2194,2336,2198,1890,1189,1181,2046,2159,2053,2809,2566,1954,2398,2809,2490,2718,2396,1935,1747,2073,2258,2051,1720,1429,1449,1547,1468,1423,1422,1556,1349,1450,1671,1650,1541,1613,1698,1679,1971,1948,1703,1725,1664,2458,3002,2525,2843,3565,3270,2697,2957,3232,3421,3531,3516,2867,2689,2943,2701,2547,2558,2387,2392,2523,2410,2790,2724,2768,2814,2850,2559,2449,2284,2106,2195,2610,2613,2179,2067,1988,1770,1438,1703,2035,1804,1501,1326,1491,1368,1163,1437,1830,2208,2600,2778,2735,2749,2407,2193,2186,1920,1721,1660,1918,2744,3284,2414,2786,3075,2373,1662,1370,1510,1726,1707,1870,2160,2409,2625,2664,2807,3387,3575,3563,3410,2804,2567,2114,2102,2503,2490,1978,1593,1489,1842,1901,2168,2331,2807,3016,2614,2181,2685,2840,2522,2789,2649,2431,2263,2050,1697,2060,2355,1997,1683,2113,2754,2354,2217,2119,2535,3075,2958,3064,2228,2170,2148,1992,1745,1619,1686,1884,2407,2508,1758,1793,2232,1789,1844,2073,2060,1825,1600,1620,1796,2174,2080,1731,1899,1947,1886,2378,2736,2084,1991,2414,2086,2181,2306,2056,1744,1990,2318,2237,1660,1694,1758,1970,1954,2194,2894,2981,2164,1738,2202,2377,2494,2974,2897,2444,2283,2430,2779,2676,2464,2346,2344,2573,2955,3076,2988,3128,3256,2946,2143,2441,3113,3232,2823,2011,2156,2605,2570,2423,2263,2228,1953,2092,2490,1626,1584,2476,2469,2056,2077,2449,2640,1918,2475,3659,3607,3299,2623,2266,2060,2159,2006,2152,2353,2272,2427,2269,2015,1721,1874,2366,2721,3226,2953,2647,2468,2187,2128,2635,2520,1785,2408,2974,2326,1747,1870,2505,2464,2078,1942,2471,2686,2185,2098,2282,2353,2837,3095,3044,3555,3791,3508,3389,3441,3064,2743,3160,4017,3724,3166,2988,3128,3137,3369,3043,2872,2676,2531,2756,3392,3709,3431,3307,3166,2949,3032,3197,3044,3122,3294,3465,3491,3182,2512,2483,2916,3104,3296,3980,4029,3397,3496,3650,3717,3006,2406,2342,2020],[2186,2236,2170,2297,2618,2623,2476,2601,2671,2384,2139,2248,2468,2864,2483,2324,2647,2601,2642,2629,2641,2731,2890,2897,2768,3190,3086,2483,2324,2453,2376,2498,2788,2697,2548,2785,3449,3741,3806,3771,3637,3500,3673,3814,3627,3385,3491,3465,3564,3858,3805,2867,2764,3089,3024,2786,2622,2945,3119,2751,2643,2687,2687,2765,2918,3003,2512,2281,2385,2670,2708,2588,2708,2300,1627,1896,2295,2221,2492,3016,3189,3011,2851,2626,2694,2788,2910,2986,3063,3306,3274,2851,2823,2751,2588,2684,2813,2542,1967,1788,1841,1978,2122,1922,1765,1817,1713,1349,1737,2713,2940,3710,3238,2331,2071,1930,1853,1879,2381,2249,2496,2043,1892,1820,2296,2975,2766,2165,1810,1942,2222,2107,1993,2182,2361,1643,1406,1980,3133,2899,2299,2604,2568,2403,2653,2910,2792,2511,2526,2279,2267,2829,3215,3432,2552,1973,2323,3282,3575,2833,2106,2055,1891,2000,1783,1804,2309,2744,2436,2023,1933,2114,2497,2396,2154,2073,2286,2843,3045,2700,2267,1934,2070,2411,2437,2406,2590,2613,2432,2534,2405,2105,2714,2899,2077,1926,2649,3135,3249,3252,3276,3174,2893,2666,2873,2964,3215,3204,2877,2570,2841,2890,2942,3068,2767,2918,3121,2315,2029,3373,3871,3929,3988,4232,3915,4067,4184,4252,3191,2092,2825,3485,3615,3373,3251,3190,2669,2579,2603,2030,2108,1880,1830,1926,1637,1808,2282,2520,2237,1987,1966,2621,2787,2529,2713,2878,2442,2941,3752,3154,2456,2602,2601,2136,2466,2261,3111,3567,2940,2466,2545,2335,2080,2225,2620,2458,1730,1383,1616,2330,2111,1766,1412,1347,1553,1716,1913,1984,2009,1958,2040,2366,2502,2366,3077,3360,3002,2492,1758,1568,1961,2103,2336,2617,2913,3111,2799,1602,1771,2014,2024,1850,2118,3459,3210,2423,2590,2555,2792,3328,2803,2598,2250,2430,2513,2080,2376,2836,2707,2507,2504,2473,2195,2295,3273,2632,2612,2784,2400,2551,2647,2199,2224,2253,2352,2534,2232,2200,2067,2021,1715,1903,2864,3481,2908,2818,3032,2052,1542,1560,1650,1949,1894,2452,2286,2147,1860,1631,1620,1594,1587,1549,1729,1942,1917,2007,1888,1782,2212,2558,2330,2008,1786,1932,2054,1792,1764,2139,1294,977,1823,1950,1986,2576,2432,1797,1904,2243,2529,2247,2136,2526,1768,1523,1567,1691,1846,1505,1047,1388,1900,1782,1842,2220,2652,3103,3421,2728,2818,2867,3269,3168,2765,2343,2156,2033,1765,2284,2886,2552,2041,1906,2166,2636,2740,2321,2261,2091,2444,2954,2619,2184,1991,2236,2159,2073,2163,1941,2048,2250,2325,1939,1637,2084,2458,2410,2966,2768,2808,3928,4122,3805,3361,3020,2831,2688,2874,2370,1893,2213,2437,2379,2100,2076,2213,2352,1947,1668,2294,2558,2735,2921,2697,2873,3134,2581,2366,2851,2264,2053,1976,2724,2998,2845,2236,2153,2889,2929,3119,3109,2273,2147,3046,3340,3507,3726,3506,2937,2757,2414,2068,2455,2557,2168,2164,2300,2267,1754,1654,1425,1459,1678,1628,1555,1588,1504,1554,1945,2033,1989,2132,2133,2143,2145,1845,1537,1492,1808,1966,1773,1560,1572,1961,2029,1796,1692,1642,1824,1717,1514,1448,1429,1491,1732,1821,1709,1800,1570,1422,1370,1407,1338,1327,1428,1592,1592,1469,1497,1311,1439,1754,1893,1765,1631,1650,1722,1845,1968,1929,2177,2014,1878,1807,1604,1440,2103,2032,2195,2611,3307,3282,2528,2236,1997,1633,1102,1313,1876,1319,1260,1061,836,998,1756,2049,2097,2080,2106,2136,1645,1780,1876,2269,2237,2874,3185,2408,1914,2182,2221,1861,2081,2498,2502,2238,1991,1873,1995,1573,1494,2397,2260,1896,1906,2008,2028,2326,2175,2128,2170,2053,1882,2215,2004,1372,1202,1454,1663,1831,2326,2586,2268,2873,2898,1849,1808,1805,1964,2333,2262,2032,2187,2659,2352,2254,2331,2040,2034,2128,2061,1741,2640,3121,2404,2143,2293,2520,2420,1840,2323,3474,3265,2226,2049,2174,2064,2255,2169,2277,2243,2235,2416,2426,2370,1974,2279,2826,2610,2211,2319,2231,2634,2398,2372,2972,3180,2849,2203,1959,1702,1798,2448,2471,2424,2120,1967,2215,1982,1788,2050,2368,2345,2322,2300,1909,1934,2299,2134,1630,1479,1507,1520,1509,1688,1736,1811,1810,1722,1587,1562,1522,1542,1453,1484,1551,1580,1650,1658,1533,1437,1535,1454,1465,1503,1501,1410,1441,1807,2208,2272,2383,2432,2194,1833,1722,2170,2095,2454,2241,1903,1552,1464,1528,2057,2513,2700,3040,2451,2656,2899,2809,3321,3492,3406,2502,2040,1849,1852,2063,1968,2010,1848,2201,2641,2475,2348,2246,1689,1526,1744,1624,1808,2083,1831,1578,1583,1729,1468,1713,1826,1775,1611,1618,1884,1917,1881,1649,1550,1674,1714,1571,1746,1643,1687,2204,2111,1753,1645,1571,1828,1868,2093,2403,1903,1702,1703,1900,1924,2078,1802,1632,1728,1758,1922,2137,1887,1687,1736,1394,1315,1408,1515,1599,2175,2653,1920,1960,2286,2052,2046,2320,2257,1926,1968,2420,3049,3364,2832,1579,1422,2745,3804,3942,3850,3825,3705,3583,3616,3500,2294,1529,1808,2182,1992,1821,1807,1793,1762,1873,2448,3390,3541,3928,3704,4074,4034,3360,3213,3165,3254,3827,4081,3498,3100,3245,3527,3874,3947,3803,3414,3297,3330,3416,3407,3360,3161,2876,3121,3432,3163,2657,2753,2851,3190,3171,3544,3536,3443,3551,3033,2741,2951,2644,2901,2899,2474,3099,2841,2813,2713,2120,2056,2180,2391,2621,2729,2510,2799,3287,2621,2510,2524,2523,2927,2498,1813,1879,2040,2037,1954,1740,1398,1505,1244,659,973,1252,1489,2646,2792,2745,2678,2194,1839,2041,1544,1271,1308,1256,1281,1320,1895,3344,3318,2950,2636,1626,1431,1610,1924,2076,2148,2274,2347,1934,1814,2068,2487,2205,1724,2086,2964,2555,2157,2529,2319,2615,2309,1630,1706,1710,1611,1505,1512,1494,1408,1516,1862,2622,2316,1509,1544,1909,2076,2048,2079,2889,2894,2057,1743,1708,2049,2583,3142,3506,3118,3432,3891,3597,2816,2736,2908,2981,3228,3125,2522,2499,2629,2879,2989,3031,2923,3096,3122,2968,2813,2589,2586,3019,3207,3141,3453,3492,3594,3704,3607,3241,2856,2598,2565,2809,3175,3410,3480,3216,2914,3113,2930,2574,2521,2547,2893,3393,3802,4036,3861,3857,4212,4167,3974,2962,1519,974,1363,1503,1438,1543,1443,1380,1711,1652,1498,1620,1440,1401,1428,1484,1459,1788,1933,1901,2115,2122,1964,1444,1124,1131,1533,1826,2041,1941,1899,1628,1415,1386,1370,1469,1356,1195,1333,1480,1510,1537,1582,1605,1655,1728,1759,1624,1600,1647,1628,1589,1621,1699,1721,2193,1975,2049,1609,1462,2109,2271,1672,1538,1779,2361,2111,2097,1852,2878,3716,2481,1972,2543,2664,2528,2664,1847,1908,1907,2046,2533,2353,1804,1537,2647,2984,2758,2434,2322,2496,2290,2352,2239,2221,2389,2094,2129,1791,2696,3229,3013,3041,3243,2920,2255,1959,2067,2043,1850,1696,1911,1771,1733,2204,2402,2346,1838,1885,2667,2600,2811,2277,2856,2353,2662,2077,1252,1785,2580,2483,2085,2460,3228,2852,2228,2168,2417,2191,2416,2500,2260,2674,2952,2776,2367,2085,2196,2004,2104,2283,1939,1808,2680,2965,2046,2315,2877,2696,2518,2425,2074,2268,2505,2458,2197,2565,3001,3306,2564,2090,2083,2284,2354,2154,2387,2957,3379,3231,2536,2994,3054,2984,2437,2240,2698,2969,2759,2555,2456,3028,3579,3353,2901,2854,2710,2528,2586,2855,2939,2554,2331,2600,3082,3403,2821,1885,1955,2034,2143,2055,2137,2586,2971,2722,2427,2201,1741,2163,2085,2502,2242,2281,2591,2512,2300,2604,2900,2614,2417,2221,2314,2522,2569,2811,2294,2055,2202,2356,2198,2372,2519,2093,1896,1968,1936,2016,1907,2405,1822,2022,2493,2130,1804,1848,2266,2752,2692,2326,2078,1933,2292,2599,2958,2599,2388,2633,3089,3052,2734,1996,1202,1426,1832,1807,1941,2155,2213,2387,2387,2400,2811,2806,2233,1852,2008,2917,2895,1932,1668,1696,2045,1815,1647,1566,1439,1415,1411,1411,1467,1730,1574,1383,1461,1859,1918,1607,1547,1792,1631,1603,1994,2130,2250,2359,2405,2634,2928,2983,3394,3549,3366,2944,2862,3072,2898,2602,2574,2247,2170,2668,2833,2975,2876,2799,2887,2846,2831,2943,2480,1927,1965,1989,2252,2133,1924,2050,2011,1859,1811,2032,1981,1671,1415,1527,1541,1450,1629,1676,1703,1753,2114,2260,2282,2306,2775,2803,2030,1830,2210,2717,3347,4050,3459,3697,3639,2814,2012,1553,1605,1770,2067,2416,2531,2555,2790,2544,2627,3051,3498,4064,3770,3364,3208,2130,1609,1930,2311,2253,1977,1888,1935,2092,2734,2590,2286,2476,2472,2507,3518,3651,3231,2604,2799,2900,2890,2610,2081,2210,2021,1831,1677,2109,2349,1918,2003,1976,2266,2106,2732,3173,2663,2125,2359,2896,2742,1963,1664,1911,2205,1924,1470,1861,2211,1903,1913,2098,2065,1587,1538,1819,2001,2271,2470,2402,2398,2344,2348,2689,2499,1758,1962,2092,1861,1813,1850,1707,1667,2194,2559,2436,2059,2127,2293,2124,2083,2339,2570,2369,1946,1427,1598,1863,2411,3008,3090,2724,2338,2303,2653,2764,2953,2912,2492,2709,3144,3451,3204,2922,3112,2557,1974,1990,2453,2765,2202,1824,2414,2824,2403,2089,1987,2171,2280,2178,1858,1509,2035,2733,2208,1561,1814,2451,2907,2645,2910,3758,3256,2435,2039,1905,2048,2294,2061,2003,2656,2931,2574,2204,2592,2250,2500,2778,2907,3538,3466,2994,2525,2255,2417,2723,2624,1953,2584,2934,2222,1870,2050,2255,1890,1740,2141,2437,2663,2645,2666,2587,2410,2647,3080,3558,3577,3418,3541,3588,3383,2939,2705,3269,4000,3650,3213,3701,3331,2796,2749,2807,2675,2599,2514,2231,2796,3521,3251,2889,2599,2602,3012,3270,3177,3241,3397,3516,3432,2962,2676,3212,3327,3517,3111,3365,3875,3938,3879,3704,3352,2916,2596,2190,1890],[2323,2330,2206,2429,2772,2601,2447,2800,2718,2348,2206,2126,2496,2567,1654,1747,2580,2625,2611,2754,2987,2832,2636,2588,2514,3109,3361,2971,2758,2762,2676,2700,2908,2670,2376,2429,3190,3299,3410,3541,3364,3460,3786,3962,3775,3571,3316,3107,3687,4033,3752,3594,3776,3687,3356,2949,2679,2880,2680,2351,2744,2934,2612,2587,3143,3279,2562,2141,2270,2483,2875,3177,3173,2645,1455,1299,2092,2573,2711,2972,3174,3111,2554,2257,2293,2567,2966,3048,2900,2880,2776,2723,2831,2699,2524,2611,2734,2310,1867,1978,1945,2165,2249,2289,2104,1848,1850,1550,1605,2672,3190,3642,3340,2408,1963,1936,2213,2087,2509,2065,2280,1948,1578,1848,1962,2386,2396,1945,1780,1984,2312,1968,1743,2094,2346,1748,1843,1958,2178,2264,2048,1921,1662,1604,1776,2619,1982,1478,1157,1159,2047,3010,3707,3812,2988,2089,2471,3044,3062,2665,2552,2737,2810,2520,2232,3046,3703,3323,2555,2316,2090,2241,2880,2737,2226,2316,2572,2316,2114,2046,2384,2337,2402,2131,1697,2005,2646,2974,2745,2633,2036,1925,2231,2135,2186,2592,2877,2845,2984,3208,3334,3266,2767,2607,2950,3040,2872,2679,2388,1702,2102,2712,3082,2962,2864,3565,3332,1976,2336,3758,3913,3704,3812,3815,3815,4108,4095,3783,2464,1853,2754,3194,3362,3304,3322,2723,2559,3019,3067,2695,2494,2357,2315,1937,1641,2354,2718,2911,2302,2051,1805,2842,3479,3099,2648,2191,2004,2336,2584,2364,2201,2637,2225,2126,2586,2377,2639,2796,2411,2324,2430,2511,2422,2044,2110,2178,1769,1889,1903,2212,2122,2029,2308,2077,1632,1613,1674,1916,1930,1865,2093,2350,2633,2431,2917,3473,3507,2833,2061,2465,2737,2632,2182,2262,2380,2102,1797,1729,1961,1846,2163,2282,2238,2658,2282,2097,2205,2528,2855,2630,2259,2711,2756,2803,2596,2192,2434,2742,2503,2380,2376,2731,2679,3040,2996,2618,2830,2836,2717,2862,2626,1799,2186,2293,2558,2918,2674,2435,2187,1995,1848,1882,2489,2744,2511,3112,3419,2166,1584,1626,1773,1597,1596,1888,1981,2074,1851,1426,1497,1629,1641,1708,1887,1800,1720,1941,1697,1798,2156,2221,2365,2462,2299,2280,2148,2014,1708,2273,1509,1020,1702,2071,2592,3477,3010,1897,1769,2049,2366,2229,2536,2565,1975,1589,1479,1512,1689,1320,780,1234,1666,1813,2110,1945,2366,2734,2744,2912,3486,3583,3429,2843,2095,1707,1887,2142,2094,2780,2985,2270,2024,1995,2298,2813,2367,1919,2194,2316,2938,3448,2672,2391,2574,2424,2050,1887,2032,2255,2186,2262,2590,2324,1907,1877,2402,2376,3040,3296,3479,3840,3425,2788,2059,2208,2910,2498,2314,1917,1777,2029,2525,2677,2346,2255,2358,2330,1868,1621,1974,2490,2656,2422,2500,2597,3007,2806,2630,2467,2024,2171,2647,2858,2713,2849,2596,2460,2819,3295,3436,3705,3351,3220,3494,3454,3382,3474,3186,2897,2800,2697,2568,2662,2687,2309,2064,2255,1915,1597,1574,1600,1660,1700,1317,1621,1474,1359,1500,1782,1828,2009,1990,1814,2356,2557,1848,1499,1736,2064,1768,1591,1573,1554,2035,2066,1770,1786,1904,1750,1484,1519,1523,1299,1288,1670,1438,1530,1582,1478,1357,1232,1269,1218,1260,1307,1474,1631,1936,2183,1438,1427,1666,1883,1713,1401,1354,1567,2542,2929,1857,1957,1866,2030,1953,1766,1753,1876,1896,1860,2465,3184,3055,2695,2563,2064,1699,1053,1395,1699,1484,1791,1679,1004,809,1655,2145,2120,2303,2197,1965,1711,1863,2098,2099,2232,2943,3069,2455,2422,2567,1829,1806,2355,2306,2409,1975,1609,1663,1844,1360,1781,2731,2354,1786,1698,1804,2172,2163,1903,2165,2044,2067,2113,2132,1764,1353,1389,1362,1516,2089,2728,2147,2587,3807,3168,2490,2366,1939,1938,2216,2508,2257,2358,2940,2724,2659,2402,2481,2474,1886,1772,2056,2543,2565,1981,2032,2128,1849,2009,1907,2608,3087,2577,1988,2180,2235,2173,2119,2234,2325,2083,2288,2889,3272,3143,2214,2315,2538,2139,1936,1885,2571,3216,2684,2207,2612,2797,2545,1711,1631,1617,1306,1327,2321,2586,2330,2075,1997,2069,1987,1885,2441,2466,2384,2520,2203,2143,2338,1981,1750,1742,1680,1721,1626,1666,1587,1575,1510,1455,1483,1504,1556,1620,1569,1583,1678,1678,1634,1569,1525,1563,1494,1463,1534,1578,1488,1471,1747,2646,3252,2754,2442,2282,2063,2268,2073,2692,2493,2557,2777,2163,1520,1485,1505,1989,2580,2623,2518,2556,3076,3044,2452,2308,2994,3561,3376,2851,2084,1805,1970,2104,2025,2035,2609,1956,1842,1789,1731,1690,1754,1730,1571,1498,1493,1519,1612,1556,1462,1746,1852,1599,1622,1745,1722,1650,1892,1897,1629,1486,1687,1687,1698,2234,2138,1878,1975,1738,1538,1732,1733,1811,1848,1973,2279,2191,2142,1669,1866,2097,1992,1811,1812,1905,2096,2429,2163,1700,1611,1577,1402,1447,1501,1495,1895,3164,3020,1873,1887,2142,1842,1785,2234,2216,1660,1368,2254,3219,3247,3124,2230,1503,2556,3792,3699,3277,3145,2967,3394,3764,3460,2550,2305,2548,2074,1691,2004,2025,1638,1861,1627,1894,3272,3270,3864,4072,4094,3646,2993,3068,3040,2840,3683,4351,3660,3237,3463,3639,3926,4239,4119,3265,3000,3420,3572,3294,3295,3175,3071,3099,2984,3017,2666,3394,3439,3084,3163,3666,3650,3304,3173,2853,2953,3122,2644,3174,2678,1792,2296,2348,2184,1991,1839,1908,1996,2563,2668,2429,2285,3082,3371,3486,3353,2726,2441,3075,2691,1985,2132,2144,2107,1734,1530,1354,1470,1544,1424,1316,1431,2039,2725,2557,1932,1685,1856,2346,2665,1881,1257,1270,1282,1216,1286,1423,2634,3508,3085,3007,2264,1578,2026,2355,2312,2203,2064,1864,1721,1637,2053,2454,1953,2172,3222,2623,2076,2561,2657,2271,2656,2119,1465,1596,1764,1627,1443,1615,1734,1558,1531,1605,2101,2140,1450,1301,1803,2148,2002,1912,2568,2744,2057,1535,1497,2103,2547,2840,2928,2521,2977,3746,3575,2898,2701,2754,2602,2736,2722,2553,2608,2736,2691,2728,2722,2643,2663,2798,2880,2783,2733,2784,2939,3009,3296,3394,3447,3495,3514,3396,3089,2805,2666,2730,3135,3394,3543,3564,3365,3305,3385,3156,2670,2530,2438,2316,2602,3338,4021,3946,4080,4319,4287,4271,3791,2719,1416,915,1179,1566,1785,1382,1415,1664,1535,1472,1567,1443,1394,1394,1452,1723,1993,1746,1786,2232,2209,2056,1493,1545,1860,2050,2016,1982,1807,1599,1410,1390,1454,1518,1642,1521,1243,1164,1258,1382,1483,1693,1856,1682,1700,1742,1688,1544,1455,1523,1529,1311,1418,1660,1660,1719,2106,1798,1642,2133,2209,1710,1507,1486,2063,1803,1726,1835,3041,3479,2341,1627,2329,2945,2845,2591,1860,1853,2098,2523,2439,2547,2382,1749,1929,2521,2590,2380,2464,2542,2388,2208,1747,1869,2305,2504,2496,2287,2577,2674,2490,2884,1998,2070,2207,2053,2084,2395,1947,1910,1969,1643,1761,2267,2282,1815,1459,1657,2388,2340,2691,2563,2501,1895,2030,2009,1456,1433,1480,1678,1960,2260,2128,2010,2250,2300,2282,1920,2242,2577,2358,1938,1760,1875,1894,3039,3225,2708,2062,1936,2019,1909,2244,2455,2172,2583,2933,2283,2272,2467,2140,2577,2908,3043,2877,3084,2951,2998,2780,2254,2223,2355,2710,3089,3339,3372,3614,3286,2938,2759,2830,2846,2835,2984,3328,3422,2901,2607,2452,2519,3165,2596,2110,2413,2668,2567,2503,2636,2869,2789,2809,3566,3784,3620,3197,2211,2101,2058,2025,1810,1839,2430,2712,2922,2676,1975,2242,2692,2499,2574,2488,2968,3028,2784,2668,2835,2442,2073,2387,2147,2114,2455,2711,2591,2430,2842,2699,2240,2131,2139,2091,1810,1763,2062,2003,1926,1950,2304,1942,2045,2527,2205,1707,2077,2803,2746,2700,2526,2296,1740,1963,2408,2708,3090,3420,3749,3647,2995,2647,2035,1494,2003,2447,2345,1911,1533,2062,2370,2534,2647,3123,2934,2410,2054,2135,3120,2746,1865,1820,1892,2602,2558,2194,1718,1461,1587,1825,1739,1410,1365,1212,1284,1484,2298,2527,1796,1384,1844,1836,1296,1317,1755,2060,2921,3028,3168,2943,2753,3094,3363,3229,2901,2908,3407,3398,3017,2547,2442,2520,2845,2964,2853,2556,2777,3039,2943,2944,3110,2872,1780,1601,1777,1910,1987,2005,2078,2065,1836,1736,1874,1764,1480,1229,1802,1814,1480,1515,1616,1768,2066,2027,1860,2032,2275,2665,2473,2020,1996,2502,3230,3300,3227,2909,3684,3772,3003,2202,1947,1754,2109,2264,1858,2222,2351,1969,1937,2966,2491,2046,3043,3144,3061,3522,2432,1920,1891,1929,1849,1892,2034,1930,1968,2464,2488,2131,2407,2862,3366,3928,3334,3508,3130,3558,3662,3646,2842,2224,2007,1832,1868,1896,2155,2342,2500,2359,2251,1792,2087,2721,2906,2686,2561,2725,2859,2664,1702,1783,1856,2003,2015,1925,1769,1698,1554,1649,1842,1763,1461,1776,2351,2365,2259,2942,2739,2553,2470,2344,2368,1986,1642,1718,1816,1785,1865,1872,1655,1652,2060,2490,2736,2702,2413,2204,1966,1958,2415,2588,2102,1814,1448,1544,1808,2544,2698,2967,3217,3076,2975,2851,3152,3531,3481,2591,2694,3030,3371,3138,2851,2269,1959,1938,2032,2711,2419,1954,1961,2391,3370,3054,2065,1484,1458,2027,2320,1836,1625,2063,2136,2080,1919,2033,2469,3085,3687,3681,2890,2221,2015,1893,2082,2485,2461,2571,2644,2711,2619,2103,2603,3360,3189,3079,2968,2500,2206,2436,2482,2267,2166,2456,2334,2272,2380,3211,3001,2310,1840,1711,1795,1708,1954,2437,3372,4188,3502,2795,2785,2200,2916,3894,3946,3558,2842,2788,2847,2707,2862,3279,4057,4035,2797,2518,2977,2846,2641,2658,2853,2645,2476,2631,2242,2463,3129,3065,2585,2422,2449,2831,3108,3106,3218,3281,3259,3372,3323,3198,3516,3458,3703,3276,3157,3581,3713,3458,3044,2614,2600,2942,2647,2194],[2078,2388,2483,2518,2542,2395,2144,2012,2193,2734,2696,1985,1928,2103,1981,1973,2322,2461,2714,2911,3116,3018,2744,2368,2205,2630,3248,3349,2807,2556,2844,2844,2621,2175,1928,2274,2994,3226,3444,3438,3177,3166,3379,3371,3586,3567,2822,2599,3321,4078,3876,3890,3990,3516,3072,3046,2866,2653,2387,2279,2931,3253,2981,3143,3812,3965,3173,2566,2587,2675,2996,2910,2568,2791,2239,2035,2610,2850,2696,2898,3227,2946,2281,2120,1959,2320,2611,2651,2374,2300,2229,2395,2434,2326,2480,2356,2176,2391,2558,2889,2824,2717,2247,2320,2172,1835,1882,1972,2095,2548,2836,3315,3671,2898,2254,1794,2267,2369,2061,1917,1974,1671,1853,1947,1941,2116,1720,1620,1666,1697,2221,1990,1864,2034,2234,2252,2264,2103,2033,1567,1437,1675,1301,1389,1368,2117,1489,1291,1195,1059,1406,2728,3849,3919,3374,2564,2534,2474,2537,2332,2500,3014,3076,2316,1601,1609,2196,2445,2490,2855,2454,2336,2878,2647,2272,2099,2134,1865,1661,2192,2788,2744,2790,2261,1753,2073,2634,3161,3062,2811,1883,1763,2087,2614,2636,2302,2520,2761,3065,3309,3344,3149,2884,2784,2917,2887,2798,3160,2515,1498,1911,2495,2767,2761,3023,3654,3289,2003,2744,4000,4132,3883,3719,3426,3608,3929,3992,3348,1848,2167,2821,2606,2936,3485,3310,2479,2832,3543,3592,3497,3505,3242,3379,3414,3521,3351,3239,2876,2494,2230,2024,2774,3159,2732,2411,2003,1889,2317,2526,2759,2348,2584,2432,2656,2901,2977,3366,3067,2427,2567,2458,2082,2135,1774,2144,2300,2134,2186,1891,1761,1758,2497,3898,3785,3121,2187,1902,1863,1747,1891,2099,2487,2795,2709,3163,3945,4077,2964,2193,2933,3166,2724,2052,1807,1981,1969,1843,2054,2090,2154,2446,2592,2959,3196,2787,2619,2370,2788,2867,2396,2593,3134,3221,3217,3198,2919,2641,2647,2303,2039,2498,3118,3174,2985,2476,2796,3292,2771,2741,2810,2038,2066,2367,2405,2323,2956,3266,3010,2678,2382,2094,2180,2875,2993,3142,3162,2696,2002,1614,1544,1580,1487,1467,1569,1775,1948,1757,1512,1708,1910,1707,1416,1958,1917,2036,2011,1698,1899,1704,1737,2015,2247,2094,2042,2342,2238,1732,2031,1467,982,1545,1997,2552,3175,2504,1829,1658,1872,2215,2331,2035,2029,1836,1435,1332,1460,1880,1926,1789,1931,1928,1798,1886,1901,2362,2311,1909,2502,3405,3440,2897,2214,1704,1235,1341,1937,2543,3075,2526,1913,1915,2070,2698,2722,1600,1609,1958,2314,2994,3110,2551,2182,2358,2315,2151,2030,2304,2668,2465,2177,2359,2031,2301,2521,2842,2330,3110,3897,3670,3046,2622,2395,1826,1680,2294,2144,2344,2207,2310,2526,2627,2545,2376,2154,2289,2477,2330,1773,2055,1975,2058,2222,2187,2220,2210,2237,2397,2052,1965,2566,2954,2879,2610,2579,2085,2271,3046,3272,3118,3120,3333,3418,3240,3222,3090,3185,2939,2652,2522,2521,2677,2603,2499,2221,2056,1703,1494,1687,1790,1777,2121,2091,1569,1736,1716,1570,1456,1758,2201,2468,2072,1482,1844,1904,1495,1571,1873,1793,1694,1622,1644,1761,1901,1685,1593,1732,1854,1597,1489,1499,1428,1514,1407,1930,1710,1578,1458,1428,1377,1378,1383,1256,1294,1632,2070,1676,1888,2127,1525,1342,1639,1854,1608,1155,1152,1291,1490,1598,1615,1607,1672,2015,1926,1899,1958,1802,1648,1655,2044,2806,2955,2259,2396,2624,2566,1234,1205,1465,1751,2005,1457,908,954,1488,1873,2096,2190,2308,2191,2097,2178,2434,2390,2505,2631,2757,2412,2343,2383,1771,1649,2387,2128,2713,2367,1979,2082,1727,1448,2494,2908,1949,2026,1461,1355,1884,1767,1841,1916,1831,1819,1904,1986,1998,2046,1775,1405,1459,1668,2495,2496,3352,3930,3024,2656,2419,2082,2017,2016,2317,2127,2061,2522,2548,1845,2032,2427,2407,2003,2050,2304,2309,1895,1907,2349,2298,1741,1968,1894,2286,2294,2084,1985,2148,2122,2242,2178,1946,1881,1866,1785,2167,2588,2454,2040,2380,2224,2233,2480,2460,2715,2583,2306,2142,2220,2409,2337,1772,1669,1260,1171,1711,2231,2073,2003,1747,1894,2180,1612,1366,1946,2364,2168,1957,2148,1964,1832,1749,1589,1678,1826,1664,1509,1625,1628,1563,1491,1552,1571,1454,1522,1621,1637,1721,1688,1707,1775,1791,1734,1556,1522,1724,1686,1613,1475,1553,2049,2361,2461,1952,2072,2164,1858,2653,2410,2778,2970,3146,2851,1967,1628,1663,1655,1700,1998,2902,2446,2867,3624,3328,2307,2254,3071,3539,3696,3005,2501,2423,1963,2124,2564,2205,1772,1671,1460,1419,1588,1670,1617,1567,1599,1593,1505,1528,1570,1554,1665,1913,1811,1600,1716,1889,1741,1702,2067,1719,1690,1563,1672,1777,1859,2125,2202,1932,1784,1784,1840,2194,1917,1799,2195,2564,2642,2474,2084,1673,1788,2234,2368,1869,1698,2105,2410,2442,1785,1498,1605,1467,1525,1586,1618,1924,2864,3400,2661,1966,1824,1795,1770,1789,2387,2338,1709,1702,2534,3245,3284,3285,3432,2736,3021,3864,3693,3280,3485,3259,3492,3713,3316,2386,2095,2159,1798,2049,2295,2076,1927,2303,1819,1836,2909,3169,3383,3602,3717,3273,2776,2830,2842,3097,4016,4187,3557,3465,3698,3708,4012,4371,4071,3517,3355,3572,3595,3259,3090,3045,2931,3129,3076,3206,3361,3721,3448,3040,3325,3467,3286,2913,3031,3225,3066,3099,3165,2932,1902,1503,1853,2017,2233,2269,2188,2003,2244,2709,2789,2106,2351,2986,3319,3459,3606,2987,2757,3481,3019,1963,2111,2291,2244,2062,2278,2005,2017,2654,2196,1515,1872,2643,2565,2042,1956,2432,2839,3063,3038,2491,1651,1239,1232,1219,1247,1249,1864,3194,3495,2967,2980,1784,1701,1671,1469,1447,1529,1740,1890,1747,2024,2312,2540,3222,2665,2059,2509,2609,2332,2063,2207,2183,2235,2134,1929,1930,1899,1914,1557,1392,1536,1609,1919,1998,1459,1205,1579,2003,1967,1820,2191,2578,2075,1103,1354,1847,1864,1986,1843,1738,2576,3680,3584,2893,2714,2822,2830,2669,2734,2775,2720,2608,2510,2552,2621,2470,2415,2862,2900,2618,2675,2727,2831,3021,3228,3317,3369,3276,3090,3042,2881,2685,2753,3087,3405,3608,3752,3642,3444,3431,3519,3391,3146,2999,2668,2264,2423,3035,3540,3664,4140,4092,4194,4327,4240,3775,2291,1111,997,1419,1676,1309,1471,1551,1404,1284,1366,1368,1309,1368,1463,1478,1447,1466,1536,2023,2202,2226,1748,1770,1959,1993,1919,1763,1521,1442,1323,1288,1331,1617,1577,1737,1513,1260,1254,1236,1250,1756,2040,1457,1572,1665,1594,1299,1383,1597,1700,1510,1317,1508,1679,2024,2085,1592,1539,2291,2536,2076,1720,1521,2296,2842,2261,1899,2577,3483,3652,3054,3176,2946,2674,2072,2306,1920,2235,2441,2232,2264,2396,2200,1663,2222,2377,2182,2045,2214,2049,2076,2106,2023,2301,2601,2586,2491,2299,2293,2223,2944,2088,2523,2482,2103,1881,2271,2182,2475,2639,1916,1855,2537,2703,2004,1822,1908,2105,2159,2175,2153,2082,2005,2623,2399,1723,1677,1265,1352,1741,2098,1942,2580,2797,2535,2213,1821,1895,2119,1951,1542,2080,2411,1970,3361,3155,2530,1844,1842,2125,1880,1766,2050,1920,2121,2348,2098,2460,2699,2599,2796,3077,3120,3306,3288,2817,2752,2565,2332,2545,2543,2752,3046,3378,3269,3344,3466,2501,2030,2757,3094,3349,2951,3172,3338,2489,2224,2410,2821,2820,2381,2491,2686,2420,2531,2536,2635,2889,2851,2851,3388,3695,3597,2940,2757,2708,2075,1826,2050,2468,2754,2684,2980,2611,2279,2514,2456,2784,2564,2758,3323,2979,2542,2911,2908,2008,1649,2167,2045,1942,2307,2487,1846,2435,3670,3486,2651,2291,1926,1793,1824,1958,2254,2160,2025,1989,2125,2009,1895,2263,2325,2154,2605,3165,2322,2309,2400,2241,2307,2220,2203,2620,2798,2829,2985,2942,3076,2536,1949,1829,2109,2527,2336,1778,1496,1594,2042,2526,2792,3379,3270,3253,2910,2276,2896,2213,1709,1888,1946,2175,2521,2613,2307,1903,1745,1959,1610,1288,1074,1083,1376,1730,1893,1740,1384,1454,1958,1959,1809,1731,1876,2337,3594,3432,3182,2920,2603,2750,2976,2993,2806,3023,3496,3559,3528,2854,2503,2777,2670,2554,2500,2410,2830,3216,3065,3106,3118,3120,1649,1434,1648,1625,1726,1832,1885,2092,2012,1823,1613,1597,1627,1645,2093,2207,1960,2213,2476,2281,2042,1750,1697,1974,2029,2410,2348,2050,1838,2399,2953,3398,3261,3133,3360,3593,3089,2124,2077,2200,2172,1896,1743,1701,1864,1658,2549,3360,1998,998,1866,2934,2496,2390,2430,2414,2217,1835,1732,2243,2352,1925,1841,2237,2622,2575,2673,2588,3257,3732,3642,3650,3481,3455,3256,2978,2542,2169,2043,2085,1900,1762,2038,2676,2911,2556,2310,2308,2457,2443,2229,2027,2353,2426,2419,1863,1567,1703,1779,1881,1914,1957,1652,1559,1971,2136,1874,2108,1722,1853,2446,2345,2168,2231,2395,2953,3065,2667,2250,2122,1834,1713,1975,1842,1851,1761,1785,2030,2192,1975,2126,2440,2346,1922,1918,1731,1039,1549,2019,1989,1705,1999,2327,2415,2500,2817,2705,2667,2652,2409,2547,2688,3051,2387,2137,2400,2776,2903,2438,2041,2398,2796,3243,3356,2188,2336,2664,2449,2767,2674,2393,1870,1516,1861,1874,1617,1626,1841,1665,2017,2162,2226,2611,3299,3493,3018,2618,2458,2243,2046,1932,2286,2701,2878,3176,2787,2216,1835,2409,2751,2573,3036,3335,2321,2445,2291,1520,1995,2334,2901,3229,2900,2644,3066,2832,2218,2037,2621,2379,2433,2590,2605,3152,3938,3405,3221,3356,2431,2607,3236,3314,3384,2860,2621,2854,3174,3227,3326,3859,3985,2565,1881,2259,2255,2061,1684,1859,1968,2482,2802,2545,3110,3803,3303,2656,2579,2569,2829,2932,2820,3054,3119,2933,3094,3364,3147,3027,3055,3238,3186,3006,3163,3283,3166,2830,2474,2206,2280,2469,2273],[1852,2677,2886,2652,2463,2405,1870,1521,1962,2604,2500,1858,1646,2056,2411,2168,2244,2454,2723,2843,2692,2876,2851,2485,2414,2706,3256,3216,2322,1972,2302,2214,1944,1952,1937,2359,2906,3140,3530,3511,3274,2994,2831,2853,3318,3551,3061,2645,3190,3960,4034,3828,3699,3451,3222,3228,3096,2807,2600,2311,2743,3151,3310,3605,3960,4093,3687,3149,3104,3285,2972,2393,2266,2626,2762,2951,3054,2805,2834,3095,3032,2779,2608,2552,2337,2651,2866,2745,2132,1891,2046,2288,1918,1798,2442,2189,1846,2400,2576,2722,2839,2710,2575,2692,2547,2015,1725,2095,2363,2316,2802,3220,3907,3619,3000,2482,2534,2293,1721,1625,1626,2040,2495,2209,2532,2586,2266,2160,1871,1929,2402,2378,2128,2294,2431,2209,2104,2019,2221,1931,2651,2544,1446,1645,1870,2018,1725,1570,1385,940,928,2200,3880,3962,3352,2729,2071,1614,1600,1967,2404,2887,2822,2125,1567,1757,2120,2140,2494,2636,2372,2200,2177,2194,2317,2110,2036,2027,2286,3132,3254,2616,2872,2408,2415,2536,2463,3226,3308,2712,1960,1972,2346,2452,2476,2385,2762,3245,3166,3189,3029,2743,2767,2819,2908,3156,3418,3425,2534,1696,2362,2334,2551,3382,3580,3460,3356,2931,3254,3981,4171,4008,3781,3524,3728,3810,3829,2916,1710,2205,2916,2836,2632,2999,3061,3166,3562,3427,3112,3232,3463,3295,3739,4260,4400,4348,4148,3669,3684,3309,2768,3394,3602,3548,3476,3252,3166,2626,2654,2562,2313,2523,2575,2874,2985,2851,3132,3165,3054,2745,2578,2314,2505,2115,2192,2458,2499,2332,2250,2294,2258,2677,3923,4168,3695,2534,1994,2096,1915,1975,2233,2261,2843,3188,3466,3858,3602,2697,2800,3753,2954,2379,2404,2339,2388,2001,1930,2122,2160,2003,2441,2490,2916,3086,2692,2774,2965,2845,2438,2675,3052,3276,3187,3446,3561,3517,3086,2249,2120,2038,2508,3112,2671,2150,2424,3089,2718,2182,2596,2518,2197,2317,2346,2386,2086,2236,2688,2519,1989,1580,2074,2514,3274,3416,3527,2888,2021,1634,1544,1550,1541,1459,1559,1589,1645,1659,1592,1693,1869,1958,1750,1907,2627,2437,2364,2409,1731,1643,1542,1791,2077,2093,1943,2393,2874,2743,2030,1788,1638,1039,1472,2200,2952,2966,2451,2097,1756,1554,2160,2425,1921,2093,2114,1556,1489,1837,2414,2565,2644,2621,2236,1729,1726,2348,2566,2142,1816,2380,3458,3097,2421,2211,1862,1924,2105,2271,2862,3066,2192,1795,1952,2262,2780,2476,1476,1851,1651,2221,2950,2878,2767,2215,1891,2150,2170,2311,2647,2687,2494,2457,2568,2555,2869,2687,2746,2489,2850,3338,2740,2054,1866,1956,1880,1681,1909,2341,2674,2584,2377,2170,2106,2172,2140,1858,1906,2371,2546,1757,1745,1737,2208,2908,2979,2437,2194,2208,2203,2098,2193,2419,2861,2500,2629,2396,2292,2803,3032,3044,3082,2775,2811,3055,2435,2316,2403,2561,2802,2943,2696,2416,2454,2642,2724,2691,2114,1704,1848,1905,1833,2071,2452,2068,1596,1499,1919,2032,1656,1582,1662,2078,2191,1811,2082,1911,1798,1710,1702,1802,1677,1791,1935,2008,1983,1615,1766,2164,1998,1569,1684,1798,1741,1838,1613,1878,1806,1670,1671,1711,1460,1255,1208,1190,1257,1745,1986,1478,1704,1865,1549,1565,1660,1629,1484,1147,1231,1533,1505,1687,1617,1613,1794,1899,1932,1841,1770,1872,2094,2118,2226,2801,2586,1906,1982,2320,2169,1073,1104,1486,1902,2146,1468,1367,1452,1816,1778,1682,1766,2147,2348,2458,2790,2924,2620,2157,2056,2158,1951,2308,2342,2137,1742,1895,1904,2565,2436,2403,2521,1941,1738,2567,2477,1769,1939,1509,2098,2286,2097,1746,1298,1159,1378,1707,1789,2037,2126,2107,1952,1704,1749,2098,2241,2463,2864,2501,2250,2141,2332,2496,2057,2094,1902,2106,2175,1822,1968,2367,2354,2275,2239,2316,2475,2083,1825,2105,2237,2210,1982,2206,2698,2583,2100,1936,2072,2153,2237,2470,2148,1942,1742,1739,1706,2320,2310,1985,1856,2120,2088,2564,2978,2548,2149,1988,1779,1860,2065,2353,2470,2265,1698,1365,1238,1494,1820,1447,1560,2153,2408,2684,2034,1431,1491,1643,1678,2121,2234,1864,1746,1946,1548,1500,1648,1626,1676,1809,1622,1449,1454,1547,1527,1551,1652,1679,1794,1864,2500,2693,2678,2557,2646,2481,2380,2122,1708,1776,1706,1516,2145,1959,2197,2106,2632,2767,2164,2232,2124,1967,2398,2828,2241,2105,1985,1707,1854,1883,1964,2790,2508,2843,3663,3189,2199,2524,3429,3835,3930,3481,2822,2556,2034,1921,1944,1678,1667,1651,1460,1579,1954,1710,1592,1625,1566,1462,1532,1582,1577,1813,1913,1822,1791,1671,1823,1722,1657,1731,1874,1751,1667,1734,2002,1774,1752,1881,1790,1759,1942,1836,1783,1930,2263,2192,2128,2622,3095,2453,1642,1604,1555,1836,2220,1899,1802,2209,2179,1813,1539,1405,1438,1517,1560,1617,1804,2265,2956,2886,2551,2116,1793,1690,1808,1751,1791,2126,2374,2539,3067,3802,3947,3243,4041,4108,3995,3925,3836,3782,3753,3254,2578,2282,2310,2003,1850,1902,1620,1887,2028,1905,2129,2510,2133,1709,2040,2580,3062,3684,3826,3565,3185,3118,3128,3726,4356,4200,4002,4153,3826,3457,3840,4014,3824,3808,3382,3714,3425,3123,2989,2821,3060,3416,3480,3627,3730,3741,3460,3190,3226,3264,3210,2964,3310,3506,3344,2951,2689,2115,1623,1770,2105,2117,2878,2626,2644,2242,2612,2801,2757,2002,2148,2509,2713,3352,3030,2106,2164,3012,2767,1979,2117,2488,2258,2111,2611,2600,2357,2002,1548,1699,2090,2054,1812,2194,2812,3096,3232,3130,2920,2619,1949,1309,1212,1285,1232,1209,1419,2248,3693,3036,2986,2299,1627,1370,1639,1882,1837,1753,1820,1741,1860,2355,2740,2374,1910,2280,2610,2176,1861,1808,1859,2249,2559,1931,2894,4177,4176,3153,2019,1986,2129,1887,2060,2259,1685,1189,1583,1921,1747,1875,1961,2244,2008,1235,1544,1988,2052,2222,1878,1609,2362,3580,3388,2735,2934,3012,2858,2719,2864,2805,2644,2635,2566,2121,2279,2424,2476,3077,3004,2742,2609,2707,3008,3311,3428,3422,3342,3134,2714,2577,2637,2565,2823,3285,3500,3686,3747,3658,3658,3739,3610,3501,3354,3289,3125,2669,2774,3056,3234,3426,3605,3674,4240,4255,4049,4042,3197,1890,961,994,1370,1531,1548,1592,1480,1344,1346,1390,1424,1389,1421,1476,1467,1466,1347,1775,2022,2099,1913,1743,1822,1808,1604,1790,1700,1454,1248,1214,1287,1371,1458,1722,1682,1352,1208,1214,1262,1688,1625,1309,1384,1333,1468,1624,1598,1406,1422,1452,1225,1192,1636,1835,1655,1434,1362,1959,2015,1788,1709,1652,2435,2700,1841,1616,2035,3095,3860,3906,3597,2733,2280,2109,2123,1671,1836,2117,1910,1863,2046,1877,1953,2193,2055,2109,2286,2201,1826,2070,2324,2340,2654,2728,2118,2156,2198,2178,2242,2913,2030,2247,2420,1984,1888,2244,2399,2529,2762,2041,2237,2252,2282,2196,2315,2620,2264,1911,2296,2614,2209,2179,2608,2105,1978,1733,1427,2119,2166,1826,1902,2431,2536,2308,1944,1765,1934,2605,2912,2105,2512,2824,2461,3094,3040,2358,2014,1830,1722,1597,1396,1938,2199,2438,2036,1996,2243,2674,2293,2279,2621,2619,2864,2876,2835,2887,2718,2733,2734,2533,2414,2879,3523,3262,2907,2938,2730,2610,2918,2996,3685,3071,2912,3089,2357,2249,2219,2362,2345,1916,2386,2981,2591,2445,2112,2369,2646,2858,2800,2652,3123,3516,3453,3238,2980,3021,2856,2548,2690,2922,2668,2728,2642,2876,2350,2386,3208,2722,2302,2611,2116,1929,2566,2801,1858,1717,2024,2093,1837,1543,1416,1593,2492,3650,3671,2467,2320,2497,2212,2015,1966,2316,2031,1957,2182,2421,2418,2079,2178,2484,2396,2446,2584,2383,2275,2358,2266,2225,2022,2054,2265,1903,1934,1944,2447,3521,2554,1853,1744,1647,1823,1895,1734,1862,2073,1990,2055,2358,2664,2918,3318,3275,2814,2862,2040,1626,1919,1891,1671,1730,1748,1981,1798,1775,1861,1566,1402,1605,1509,1857,2031,1409,1384,1431,1519,1842,2756,3083,2852,2051,2604,3717,3428,2954,2729,2448,2512,2861,3159,3205,3248,3495,3648,3587,3298,2961,2708,2380,2392,2527,2474,2817,3440,3294,3088,3216,2562,1553,1714,1937,1682,1826,2219,2071,2081,2143,2156,1870,1726,1896,2039,2120,2322,2107,2070,2080,2000,1892,1737,1770,2058,1658,2342,2755,2323,2018,2387,2617,3002,2984,2286,2212,2745,2548,1815,2025,2588,2362,2012,1807,1761,1870,1732,2207,2250,1402,1493,2031,2462,1620,1518,1692,1716,1869,1636,1841,2501,2338,2328,2373,2220,2492,2758,3023,3104,3266,2875,3318,3593,3273,3067,2950,2454,2247,1979,2187,2142,1622,1316,1624,2178,2397,2490,2636,2666,2251,1933,1824,1971,1773,1920,2006,1564,1851,1812,2087,2377,1975,1780,1946,1737,1865,2496,2564,2802,2663,2447,2324,2404,2193,1935,2616,3074,2928,2338,2413,2242,2109,2045,1848,1594,1711,1656,1784,2084,2164,2178,2307,2642,2375,1845,2365,1635,817,1354,2084,2164,2155,2795,2746,2029,2597,2862,2812,2608,2591,2546,2408,1897,2049,2108,2016,1792,1958,2544,2175,2130,2920,3625,3576,2736,2092,2777,3033,2397,2091,2166,2395,2257,2210,2393,1882,1749,1781,1699,1462,1759,2120,2144,2573,3396,3404,2853,2847,2187,2087,2254,2274,2426,2966,2853,3134,2834,1992,1726,1874,1896,2325,2896,2971,2084,3481,2266,1290,1606,2507,3460,3719,3254,2789,2257,2203,2137,2230,2963,2600,2619,2552,2530,2846,3320,3037,2901,3124,2824,3055,2621,2193,2431,3096,3342,3791,4088,3903,3583,3604,3509,2587,2178,2300,2308,1987,1473,1558,1792,2637,2676,2374,3071,3651,3177,2656,2659,2680,2939,2987,2884,2999,3084,3023,2957,3088,3097,3064,3172,3540,3526,2895,3182,3518,3024,2552,2491,2178,1934,1835,2093],[2255,2763,2830,2755,2662,2654,2357,2175,2304,2381,2675,2552,2100,2278,2708,2799,2617,2162,2366,2518,2333,2736,2784,2668,2828,2981,3056,2830,2269,1803,1638,1623,1735,1919,2060,2548,3062,3400,3620,3450,3165,2863,2962,3075,3051,3109,3334,3423,3565,3865,3821,3525,3596,3517,3530,3627,3521,3265,3143,2985,2996,3040,3252,3639,3904,4125,4039,3796,3500,3069,2390,2241,2546,2802,2879,2894,2874,2850,3261,3201,2697,2330,2176,2255,2697,3060,2604,2265,2155,1825,1996,2213,2188,2256,2410,2203,2620,2909,1977,2266,2447,2656,2789,2636,2477,1961,1586,1927,1989,1843,2491,3190,3876,3693,2833,2302,2397,2601,2679,2671,2811,2947,2535,2398,2707,2496,2526,3019,2252,2081,2420,2679,2895,2943,2770,2089,1890,1926,2261,2414,3195,2777,1704,1689,1995,2171,1958,1673,1737,1506,1539,2458,3671,3876,3423,2337,1663,1488,1602,2139,2450,2191,1957,2078,2178,2465,2598,2382,2810,2489,2353,1980,1499,1735,1802,1649,1752,1949,2470,3189,2916,2612,3097,3160,3122,2687,2522,2930,3177,2917,2540,2438,2183,2190,2728,3232,2972,3249,3484,3310,3017,2874,2759,2966,3616,3820,3694,3532,2890,2265,3067,2499,2667,3594,3717,3342,3299,3233,3297,3874,4228,4132,3979,3882,3896,3833,3753,2361,1854,2518,3174,3230,2878,3068,3382,3283,3242,3062,3190,3869,3782,3331,3642,4481,4633,4484,4255,3679,3337,3283,3046,3815,3963,4208,4090,4281,4142,2601,1591,1589,1771,1933,2016,2179,2117,2222,2592,3074,3164,2643,2580,2795,2755,2271,2195,2700,2987,2744,2694,2213,2074,2688,3938,4288,3483,2701,2446,2485,2351,2184,2452,2490,3062,3316,3367,3488,2744,2162,2514,3024,2683,2516,2685,2568,2260,1910,2002,2083,2456,2943,3230,2990,2583,2191,2303,2828,3338,3307,3130,3234,3179,3317,3297,3480,3489,3835,3802,2480,1959,2149,2207,2596,2178,2165,2424,2081,1537,1703,2323,2176,2213,2154,2402,2632,2112,1859,2192,1859,1578,1608,2475,2534,2950,3331,3349,3222,2466,1768,1801,1487,1459,1541,1638,1698,1592,1547,1706,1716,1855,1729,1698,2216,2744,3138,3050,2854,2168,1685,1750,1952,2214,2128,2264,2875,3191,3008,2292,1792,1814,1488,1666,1865,2411,2602,2627,2299,1848,1661,1990,2046,1952,2134,2136,1611,1604,1719,2810,3043,2972,2445,2026,1705,1616,2044,1977,1613,1586,1888,2730,2912,2801,2578,2721,2756,2802,2951,3000,2503,1922,1856,2017,2303,2763,2920,2634,2269,1993,2384,3156,3208,2836,2484,2274,2217,2176,2179,2119,2175,2379,2204,2710,2692,2392,2037,2207,2462,2330,2052,1873,2018,2114,2018,1844,2040,2525,3080,2697,2332,2175,2082,2176,1879,2139,1801,1805,2196,2635,2025,1622,1599,2172,3173,3194,2861,2780,2228,2463,2732,2088,1962,2305,2387,2297,2178,2296,2156,2380,2956,3254,3244,2918,2382,1599,1735,2030,2440,3123,3477,3189,2433,2381,2701,2648,3023,2600,1967,2000,2186,2003,2149,2053,1647,1438,1477,2044,2171,1642,1693,1669,1733,2072,2366,2330,1886,1874,1766,1554,1799,1644,1663,2104,1908,2075,2125,2232,2216,1995,1923,1965,1935,2012,1666,1497,1661,1592,1930,1701,1788,1239,970,1360,1363,1261,1560,1574,1834,3371,4004,2473,1733,1704,2016,1720,1405,1500,1800,1588,1568,1597,1743,1813,2094,2324,2199,2183,2048,2060,1980,2097,2199,1980,1904,1797,1920,1624,963,1364,1486,1770,2355,2097,2176,1955,1975,1887,1747,1849,1912,2198,2484,2949,3046,2658,1904,1839,2014,1914,2343,2194,2198,2163,1833,1638,1889,2287,2265,2167,1827,2017,2503,2401,2175,1565,1895,2796,2743,2511,1895,1180,1164,1535,1584,1537,1831,1964,2100,2127,1895,2242,2436,2074,2124,2028,1720,1686,2424,2544,2398,1986,1885,1943,2082,1889,1668,2094,2427,2321,2108,2127,2266,2623,1987,1583,2070,2410,2221,2171,2436,2730,2242,1882,1859,1912,1973,2122,2105,1967,1899,1849,1655,2016,2465,2255,2491,2770,2183,1948,2426,2742,3319,3000,2234,2032,2179,2471,2621,2592,2358,2012,1982,1312,1310,1906,1741,2085,2453,2544,2548,2440,2193,1922,1715,1990,2612,2541,2283,2366,2344,1682,1479,1430,1591,1532,1549,1715,1627,1633,1667,1664,1789,2180,2231,2319,2391,2779,2504,2447,2577,2767,2901,2885,2275,2086,2419,2283,1869,2486,2409,2085,2145,3056,3254,2634,2230,1621,1369,2279,3087,2614,2674,2420,2402,2299,2127,2190,2676,2471,2519,3378,3324,2246,2265,3063,3366,3009,3089,2923,2348,2389,2164,1575,1550,1405,1553,1622,1637,1684,1654,1672,1618,1567,1548,1598,1771,2004,2143,1780,1513,1739,1732,1359,1597,1775,1746,1811,1510,1521,2069,2094,1874,1962,1779,1780,1817,1801,1496,1534,1990,2818,2456,1953,2411,2379,1535,1311,1439,1458,1807,1671,1783,1859,1976,1765,1511,1406,1518,1860,1794,1510,1995,2738,2527,3071,3044,2910,2584,2136,1995,2255,2475,2594,2862,2879,2495,2462,3105,3841,2896,3795,4061,3697,3644,3530,3239,2742,2029,1848,2336,3309,3131,2785,2495,1686,1385,1964,2269,2220,2415,2128,1515,1758,2353,2523,2986,3144,3005,2764,2968,3085,3266,3603,4117,4305,4121,3719,3406,3868,3971,3663,3738,3321,3444,3008,3070,2955,2538,3019,3422,3258,3384,3780,3808,3433,3239,2938,2884,2950,3273,3614,3618,3216,2621,2003,1769,1857,2498,2741,2236,3427,2792,2029,2133,2383,2211,2190,1889,2061,2479,2315,2713,2032,1557,1936,2357,2343,1983,2091,2478,2236,1836,2091,2417,2291,1579,1412,1698,1944,2026,2512,3032,3261,3264,3062,2779,2713,2731,2380,1588,1210,1242,1272,1188,1318,1590,3261,3603,2763,2355,2021,1296,1394,1287,1315,1418,1688,1765,2554,2658,1937,1388,1355,1869,2005,1784,1985,1981,1987,2184,2626,1992,3259,4220,3685,2696,2055,1925,2046,2062,2243,2370,2094,1422,1588,1891,2014,1902,1820,1934,1941,1355,1362,2058,2099,2228,1848,1621,2198,3093,2719,2524,2659,2750,2811,2685,2749,2690,2587,2558,2532,2117,2287,2327,2493,2986,2886,2676,2735,2791,2974,3312,3533,3533,3378,2967,2591,2554,2544,2656,2955,3181,3418,3581,3701,3725,3696,3770,3665,3710,3595,3508,3421,3164,3123,3345,3383,3253,3194,3648,4328,4297,4090,4132,4028,3327,1824,955,1009,1373,1554,1513,1473,1343,1274,1461,1570,1402,1385,1649,1434,1359,1377,1605,2005,2221,2025,1603,1456,1434,1239,1408,1427,1258,1209,1267,1292,1360,1416,1526,1550,1181,1043,1197,1234,1400,1316,1311,1356,1422,1728,1771,1567,1301,1148,1429,1432,1233,1489,1743,2280,1830,1512,1663,1729,1881,1916,1823,2320,2711,2164,1999,2510,3513,3123,2862,2574,2127,1996,1908,1601,1446,2025,2621,2208,1869,1821,1529,1732,1595,2039,2543,2645,2031,1970,2599,2382,2316,2675,2609,2082,1972,1977,2092,2071,2011,1846,2282,2465,2326,2208,2541,2265,2083,2195,2058,2213,2181,2404,3163,3321,2934,2255,1531,2082,2496,2094,1947,1745,1543,1634,1884,1576,1538,1863,1784,1626,1834,2147,2282,2604,2614,2125,2989,3122,2093,2432,3361,3151,2865,2875,2728,2602,1789,1628,1732,1654,1908,2128,2421,2040,1734,2014,2342,2411,2561,2807,3141,2943,2896,3169,2937,2794,2833,2690,2553,2567,2905,3540,3643,3332,3107,3338,3269,3045,2876,3098,3138,3111,2854,2390,2305,2098,2003,2130,2031,2412,3042,2934,2712,2693,2734,2376,2447,2565,3038,3250,2763,2958,2856,2885,2910,2776,2175,2020,2078,2359,2922,3051,2747,2081,2396,2856,2385,2133,1948,1824,2555,2955,2851,2267,2454,2316,1923,1816,1792,1802,2153,2460,3205,3410,2643,2733,2811,2333,1828,1633,1837,1757,1643,1892,2076,2226,2187,2012,2306,2292,2147,2533,2706,2503,2692,2566,2421,2294,1978,2034,1636,1813,2087,2618,3266,2330,1512,1208,1434,2105,2193,1960,2192,2275,1971,2235,2164,1962,2808,3327,3341,3332,2955,2037,1993,2128,1826,1490,1385,1345,1420,1636,1733,1693,1501,1503,1523,1550,2177,2098,1344,1327,1403,1570,1440,2008,2599,2556,2024,2481,3364,3348,3062,2596,2380,2484,2944,3325,3527,3206,3104,2785,2675,3119,3095,2673,2496,2713,2242,2702,3208,3374,3378,3299,3099,1975,1481,2101,2328,1928,1957,2518,2292,1954,1931,2100,2201,2141,2059,1919,1874,1932,1845,1774,1856,2364,2341,1792,1787,2075,1284,2138,2472,2557,2701,2618,2524,2455,2664,2198,1634,2055,2043,1766,2056,2182,1869,1622,1455,1694,2093,1892,1701,1487,1386,1562,1566,1734,1655,1990,2015,1548,1268,1232,1936,2564,2414,2967,3105,2624,2438,2632,3177,3125,2764,2812,2964,3177,3019,2647,2546,2156,2038,2247,2583,2498,1888,1639,1854,1786,2019,2632,2676,2389,1944,1832,1602,1635,1599,1783,1754,2244,2726,2339,2151,2260,2328,2647,2979,2429,2066,2093,2218,2576,2891,2482,2003,2310,2288,2314,2699,2449,2259,2032,2196,2255,2322,2202,1786,1746,1860,1635,1981,2545,2014,2307,2751,2677,2242,2049,2443,1690,830,1510,2182,1937,1945,2227,1950,1698,2278,2632,2310,1924,2398,2467,2105,1833,2087,2187,2056,2075,1743,2066,2105,2317,2532,3096,2935,2387,2221,3012,3342,2652,2111,2319,2698,2690,2519,2276,1931,2038,2157,2230,2146,2158,2327,2066,1897,2894,3383,2551,2074,1844,1774,1971,2143,2615,2778,2347,2412,2336,1717,1942,2511,2480,2134,2085,2710,2285,2843,2263,2011,2091,2943,3908,3666,2962,2335,1835,2399,2340,2409,2677,2509,2567,2040,2193,3023,3347,2748,2241,2655,2751,3188,2631,1724,1880,2641,3209,4081,4430,4140,3681,3327,2875,2335,2320,2621,2383,1855,1683,1740,1719,2333,2275,2144,3083,3256,3083,2885,2753,2855,3098,3023,2854,2894,3013,3009,2951,3052,3122,3323,3824,4133,3880,3576,3661,3674,3347,2751,2208,2230,2167,1954,2377],[2226,2451,2676,2547,2380,2750,2559,2392,2667,2886,3416,3353,3011,2965,2946,2971,2741,1972,1849,2096,2438,2798,2836,2895,3072,3285,3200,3022,2349,1663,1589,1875,2136,2198,2648,3045,3268,3287,3287,3421,3161,2685,3001,3272,2963,3006,3350,3562,3521,3297,3716,3618,3498,3405,3442,3498,3392,3288,3284,3215,3039,2907,2924,3436,3929,4360,4168,3763,2952,2474,2412,2532,2713,2850,2893,2875,2819,2751,2965,2449,2244,2327,2291,2841,2991,2811,2350,2322,2476,2084,1964,1799,1932,1980,2153,2418,2706,2819,2316,2452,2517,2739,2770,2410,2270,2248,1981,1881,1736,1794,2127,2778,3536,3087,2170,1819,2048,2624,3189,3691,3668,3244,2686,2795,2673,2382,2517,2555,2126,2112,1900,2357,3107,2764,2706,2199,2047,2340,3051,3045,2802,2381,2124,2077,2070,2105,1863,1732,1963,1991,1958,2601,3211,3450,3172,2292,2252,2809,2990,2963,2825,2310,2100,2481,2757,3197,3088,2366,2552,2260,2010,1626,1386,1823,1712,1220,1654,2113,2420,2847,2602,3285,3494,3570,3503,3104,2692,2865,3095,2739,2788,2473,2011,2941,3671,3210,2485,2688,3204,3341,2978,2721,2918,3430,3577,2799,2655,2973,2882,2641,3073,2619,2557,3074,3219,3133,3147,2788,2994,3695,4139,4180,4037,3859,4006,4006,3374,1900,1882,2681,3130,3516,3209,3088,3829,3731,3088,2663,2765,3163,3338,2853,3132,4229,4321,4343,4531,4142,3827,3960,4295,3941,3805,3947,4030,4200,3935,2625,1537,1524,1423,1431,1471,1512,1483,1714,1704,1705,1876,2247,2579,2613,2467,2032,1983,2349,2492,2265,2286,1801,1738,2447,3602,3958,2900,2629,2818,2074,2333,3158,3706,3219,2795,2808,2987,2898,2504,2350,2331,2536,2586,2344,2648,2669,2173,2138,2233,2172,2980,3206,3368,3076,2412,2279,2193,2402,2818,2923,2858,2901,3062,3388,3330,3220,3277,3884,4065,3202,2452,2402,1995,2036,2055,2096,1947,1443,1359,1703,1802,1855,1946,1897,2181,2374,2217,2290,2427,2135,1975,2271,2500,2153,2313,2765,3078,3166,2643,2059,1948,1576,1546,1789,1691,1758,1677,1662,1766,1825,1854,1763,1890,2557,2831,3110,3282,2887,2471,2201,2100,2214,2190,2152,2377,2853,2950,2522,1802,1495,1536,2047,2179,2081,2278,2739,2747,2447,2172,1999,1694,1657,1717,1917,2121,1592,1523,1470,2503,2767,2321,1823,1860,1609,1272,1624,1751,1611,1816,1922,2454,2723,2364,2295,2436,2251,2556,3107,2852,2144,1861,1924,2208,2360,2750,3174,3066,2308,1954,2240,2765,3315,3388,2922,2444,2016,1713,1701,1716,2552,2627,1971,2282,2501,2107,2086,2604,2933,2313,2014,2023,2116,1806,1583,1612,1669,2128,2657,2574,2262,2120,2500,2642,1926,2305,1901,1646,1972,2191,1682,1700,1913,2259,2592,2856,2830,2366,1941,2135,2191,1622,1801,1905,1716,1634,2026,2036,1909,2637,3033,2746,2888,2781,2094,1627,1992,2342,2627,3266,3630,3046,2337,2633,2646,2483,2667,2708,2135,1804,2400,2523,2371,1938,1426,1481,1706,1919,1912,1698,1851,1802,1469,2077,2807,2764,1928,1648,1669,1648,1811,1600,1751,2389,2315,2416,2542,2286,2251,2006,2054,2048,1881,1865,1698,1732,1916,2075,2040,1605,1729,1375,1267,1619,1465,1247,1423,1428,1798,3515,4816,2948,2027,1863,2170,1878,1780,1674,1621,1555,1516,1610,1785,1921,2296,2102,2834,2601,2478,2344,2002,1833,1794,2182,2389,1896,1951,1920,1335,1691,1509,2153,2238,1837,1811,1710,1870,1903,1930,1948,1983,1912,1994,2505,2265,2364,2163,1766,2423,2838,2811,2231,2198,2411,2414,2100,2087,2396,1948,1638,1795,2003,2280,2470,2146,1622,2279,3243,3159,2171,1842,1465,1395,1668,1553,1654,2148,1747,1793,1893,1867,2317,2229,2288,2276,1847,1539,1622,2701,2217,2391,2264,2034,2098,1920,1520,1519,2116,2407,2344,2244,2208,2309,2054,1822,1795,2090,2329,2375,2237,2344,2092,1610,1962,1649,1518,2127,2208,2077,2286,2245,1941,1622,2083,2370,2125,2702,3097,1863,1969,2286,2800,3527,4028,2957,2242,2260,2440,2480,2367,2423,2181,2232,1850,2276,2065,1903,2610,2214,1893,2127,2370,2427,2577,2409,2630,2837,2967,2630,2132,1743,1468,1525,1520,1579,1699,1945,2204,2084,1858,1905,1970,2335,3134,3326,3019,2711,2218,1852,1980,2166,2297,2901,3458,2396,2071,2162,1973,1828,2618,2442,1830,1878,2421,2855,2492,2269,1884,1923,2375,2547,2498,2567,2618,2703,2663,2533,2282,2150,1508,1609,2756,2579,1661,1450,2013,2546,2430,3032,2769,2044,2447,2178,1630,1713,1422,1567,1738,1611,1572,1905,1831,1642,1509,1477,1576,1673,1697,1701,1435,1458,1708,1619,1510,2308,2270,1747,1686,1664,1789,2126,2088,2170,1983,1861,1853,1790,1685,1517,1667,2138,2518,2080,1776,1954,1645,1273,1197,1255,1610,1723,1712,1844,1720,1680,1684,1512,1360,1479,1629,1549,1846,2762,3385,3090,2944,3052,3552,3552,2978,2643,2799,3085,2901,2427,2359,2222,2400,2789,3366,2939,3395,3772,3542,3211,2977,3020,3051,2551,2756,2878,3764,3740,3459,3198,1981,1322,1869,2377,2576,2564,2384,1931,2109,2340,2199,2198,1896,1609,1789,1817,1649,1621,2299,3683,4284,4221,3997,3575,3950,4219,3767,3271,2899,3086,3234,3275,3301,3266,3224,2945,2888,3431,3419,3241,3349,3275,3067,2885,3008,3579,3870,3356,2536,2155,1687,1789,2367,2651,3154,2922,3033,2724,2492,2407,2518,2393,2212,1991,1857,2192,2030,1843,1636,1792,1764,1926,2082,2008,2052,2414,2442,1983,2102,2595,2684,1994,1785,2164,2668,3147,3420,3260,3060,3096,3046,2941,2908,2921,2751,1942,1301,1179,1247,1205,1289,1292,2270,3097,2629,2187,2243,1571,1507,1452,1622,1754,1864,1808,2084,1653,1234,1244,1445,1933,1867,1773,2264,2057,1816,1993,2526,2265,2048,2158,2380,2386,2052,1873,1910,1847,1999,2484,2402,1807,1999,2314,2266,2160,2144,1954,1783,1358,1302,2064,2033,1997,1802,1620,2084,3104,2941,2530,2364,2513,2790,2519,2802,2762,2762,2599,2520,2297,2290,2249,2476,2903,2787,2597,2713,2712,2813,3228,3564,3523,3376,3088,2890,2696,2608,2847,3021,2980,3057,3243,3488,3623,3695,3519,3653,3747,3747,3826,3760,3496,3299,3365,3562,3436,3322,3492,3676,4117,4193,4165,3829,3521,2756,1695,979,1051,1478,1544,1378,1383,1478,1505,1452,1362,1350,1506,1425,1412,1312,1321,1693,1974,1658,1385,1343,1443,1412,1408,1409,1265,1291,1357,1278,1332,1348,1268,1276,1223,1161,1239,1236,1241,1288,1262,1302,1395,1426,1591,1711,1562,1130,1145,1298,1147,1289,1890,1942,1387,1406,1483,1454,1810,1906,2020,2263,2328,2580,2221,2415,3056,2640,1881,1649,2088,2512,2071,1289,1295,2283,2987,2305,1999,1959,1903,2018,1855,1976,2604,3094,2193,2216,2463,2114,2051,2158,2386,2554,2416,2322,2117,2081,2313,2370,2195,2030,2085,1898,2001,2040,2160,2018,2199,2443,2353,2170,2896,3360,2776,2451,2644,3018,2448,1852,1824,1572,1333,1650,2243,2408,2833,3360,2835,1953,1931,2226,2353,2574,2478,1749,1946,2013,1929,2321,2786,2812,2730,3218,3614,3403,1984,1966,2460,1999,1896,1954,2133,2416,2431,2446,2744,2969,2609,2840,3104,2420,2436,2972,2908,3030,3220,2896,2705,2646,2765,3708,3848,3528,3564,3587,3492,2811,2265,2380,2764,2537,2228,2056,2165,1826,1910,2128,1923,2591,3682,3079,2557,2480,2342,2323,2375,2714,3494,3318,2202,2645,2293,2464,2336,2282,2187,2122,1896,2163,2254,2172,2376,2107,2371,2243,1742,2055,1896,2520,3167,2840,2742,2698,2316,1879,1699,2027,2376,2294,2417,2421,2428,2818,3248,2608,2253,1972,1447,1518,1872,1713,1548,1693,1826,1967,2191,2067,2041,2307,2314,2600,2429,2625,3221,3076,2647,2292,1957,1959,1775,2176,2792,2631,2509,2121,1831,1976,2076,2397,2310,2282,2773,3037,2927,2895,2297,2124,2817,3593,3371,2753,2468,1970,1982,1870,1578,1438,1369,1376,1431,1497,1566,1493,1496,1626,1361,1407,1849,1856,1394,1338,1550,1642,1771,2396,2398,1957,2047,2417,3206,3042,2987,2529,2327,2584,2731,3111,3396,3319,2942,2348,2622,3012,3095,2941,2691,2110,1776,2391,3177,3176,3308,3270,2798,1998,1813,2088,1930,1708,1770,2091,1961,1740,1901,2068,2166,2185,2120,1954,2101,2470,2647,2171,2350,2812,2458,1896,1868,2295,2014,2221,2408,2481,2646,2620,2163,1971,2541,1946,1602,2286,2123,1721,1937,2044,1855,1885,1743,1996,1969,1857,1616,1562,1527,1588,1757,2342,2298,1952,1852,1403,1193,1158,1776,2145,2687,3158,3405,2916,2624,2806,2864,2385,2585,3142,3185,3638,3567,2374,2172,2094,2113,2520,2516,2557,2452,2281,2272,2317,2523,2754,2734,2498,2001,1835,1757,1712,1763,2227,2248,2187,2533,2765,2609,3052,3471,3196,3207,2945,2450,1925,1740,1982,2171,1899,1435,1786,2244,2435,2246,2204,2029,1920,2308,2414,2441,2717,2568,2207,2080,1754,2017,2995,2641,2603,2792,2830,3008,2315,1989,1558,965,1405,1608,1581,1900,2052,1844,2051,1698,1833,1812,1891,2243,2064,1925,2127,2387,2357,2342,2868,2268,2024,2102,2290,2501,2922,2894,2631,2580,2910,3316,2986,2434,2651,3364,3386,2269,1765,1765,1864,1890,1973,2064,2304,2318,1836,1806,2941,3306,2669,2181,1923,1745,1636,1554,2190,2473,2064,2172,2271,2309,2456,2800,3232,2346,2337,2908,2626,2379,2480,2789,2658,2800,3133,2624,2045,1967,2084,2141,2055,2561,2898,3000,2497,1813,2666,3391,3661,2378,2335,2480,2662,3334,3152,2332,2334,2503,3162,4208,4256,3924,3521,3166,2526,2478,3073,2744,2438,2456,2502,2056,1852,2379,2131,1815,2742,2983,3262,3227,2922,2861,3110,3166,3007,2946,3097,3050,3049,3172,3149,3405,3835,3835,3794,3381,3285,3500,3133,2120,1893,2324,2623,2531,2486],[2013,2381,2597,2474,2409,2182,1949,2280,3050,3165,3071,3177,3274,2897,2692,3219,2886,1981,2049,2256,2496,2499,2385,2819,3204,3498,3310,2747,2416,2049,1924,1852,2277,2697,3272,3238,3197,3267,3119,3273,2976,2571,3085,3307,3176,3817,3972,4172,3571,3000,3364,3347,3331,3340,3489,3562,3393,3349,3383,3275,3362,3279,2963,3177,3761,4211,3742,2878,2243,2411,2818,3038,2999,2824,2635,2824,2676,2635,2338,2455,2702,2566,2789,3647,3829,3205,2676,2112,2046,2014,1832,1896,2143,2359,2436,2481,2544,2386,2294,2625,3075,3165,2951,2558,2169,1571,1410,1614,1713,1442,1872,3085,3519,2711,2071,2171,2315,2214,2566,3081,3281,3385,3317,2952,2395,2639,2706,1764,1973,2563,2165,2493,3024,2490,2420,2270,2125,2304,2693,2810,2548,2354,2355,2490,2439,2127,1647,1742,1947,1675,1819,2588,2806,2287,1982,2376,3061,3339,3307,3205,3021,2340,2024,2371,2626,3063,3062,2499,2172,2152,2072,1425,1251,1858,2054,1947,2365,2148,1974,2046,2517,3503,3904,3798,3749,3380,2802,2899,2937,2937,2639,1664,1509,2195,2121,1963,2201,2517,3198,3304,2900,2675,2418,2407,2135,1783,2143,2712,3085,3028,2823,2701,2768,2822,3009,2940,2597,2092,2888,3827,4122,4099,3885,3672,3791,3958,3034,1640,2133,2934,3832,4052,3239,2591,3509,3688,3443,2897,2858,3042,2807,2356,2184,2733,3053,3871,4472,4539,4276,4344,4132,3897,3593,3518,3923,4231,3884,2407,1570,1416,1395,1364,1340,1337,1385,1422,1383,1458,1586,2076,2806,2754,2419,2116,1593,1986,2091,2227,2752,2769,2502,2652,3294,3520,3018,3464,2733,1555,1921,3176,3559,2802,1815,1710,2456,2759,2358,2617,2635,2659,2675,2667,2582,2431,2242,2302,2186,2047,2463,2958,3171,2640,2655,2841,2732,2470,2934,2715,2392,2545,2858,3255,3418,3189,3301,3480,3162,3164,2678,2342,1958,1851,2244,2348,2033,1779,1650,1679,1851,2060,2243,2006,2031,2009,2199,2359,2241,2044,2196,2272,1995,1851,1969,2478,2757,2609,2200,1763,1863,1826,1984,1813,1725,1894,1897,1805,1888,1938,1628,1533,2052,3045,3270,3356,3079,2879,2798,2535,2884,2777,2293,2588,2754,2384,2333,2028,1786,1977,2513,2403,2307,2077,2168,2368,2134,1922,2055,2291,2116,2039,1779,1611,1922,1722,1564,1590,1774,1857,1709,1653,1589,1578,1369,1699,2084,2302,2297,2223,2712,2721,2400,2529,2493,2130,2241,2624,2565,1954,1831,2039,2116,2439,3239,3382,3056,2552,2125,2332,2100,2512,3001,2662,1992,1530,1694,2013,2618,3154,2614,2214,2503,2557,2145,2269,2105,2167,2250,2221,1865,1635,1507,1562,1655,1593,1954,2476,2633,2327,2442,2700,2428,2426,2470,2035,1983,2456,2332,1815,1902,1992,2222,2058,2427,2685,1987,1749,2001,1935,1736,1922,1845,1604,1937,1941,1691,1818,2449,2625,2309,2446,2604,2172,1656,2176,2712,2873,3057,3106,2733,2501,2659,2613,2508,3077,2988,2208,1921,1925,1931,2055,2034,1893,1802,1866,1963,2399,2258,2282,1862,1343,2019,2500,1999,1409,1553,1892,2132,2154,1658,2037,2215,2074,1932,2155,1892,1716,1587,1823,2656,3398,3218,2664,2073,1865,2103,2065,1757,2221,1943,1585,1704,1478,1354,1394,1312,1456,2069,2769,2293,1894,1815,1825,1659,1591,1608,1654,1676,1731,1647,1748,1637,1888,2033,3061,2512,2222,2554,2294,2010,1934,2114,1976,1807,1837,1986,1931,2087,2045,2627,2155,1814,1780,1878,1947,1840,1935,1742,1773,1908,1988,1424,1878,2449,2148,2027,2428,2540,2483,2492,2277,2164,2297,2051,1941,1925,1978,1891,1867,1569,1840,2013,1714,1759,2116,2719,2727,2133,2089,2020,2178,1917,1438,2008,2388,1755,1487,1344,1920,2269,2193,2174,2064,2007,1944,1910,1980,1844,2196,2123,2115,2244,1952,1670,1737,2086,1950,1966,1837,2218,2517,1951,1714,1907,1780,1810,2177,2350,2647,2343,2065,2056,1543,1542,2260,2189,2080,2149,2128,2038,2027,2227,2216,2291,2380,2480,1664,2077,2175,2053,2497,2911,2347,2165,2254,2406,2393,1800,1991,2516,2490,2429,2878,2402,1930,1893,1861,2200,2480,1970,1901,2392,2148,2236,2331,2592,2306,1963,1987,1957,2020,2190,2370,2512,2702,2697,2403,1983,1946,2228,2776,3319,3537,3295,2500,1709,1791,2084,2289,2409,2932,3098,2402,1971,1765,1738,2114,2696,2466,2128,2183,2017,1921,1701,1462,1508,1641,1498,1362,1438,1648,2068,2323,2588,2440,1631,1427,1262,1294,1622,1348,1267,1323,1577,2009,2542,3257,3092,2691,2381,1842,1555,1527,1371,1545,1785,1612,1614,1687,1584,1454,1449,1623,1628,1469,1454,1448,1519,1655,1678,1645,1986,2186,1862,1732,1870,2139,1862,1980,2142,2523,1714,2092,2152,1824,1617,1407,1438,1852,1867,1367,1367,1585,1520,1529,1339,1403,1566,1715,2150,2035,1607,1501,1628,1392,1367,1412,1495,1630,2680,3451,3078,2500,2636,3379,4153,4243,3654,3016,2679,2831,2643,2148,2198,2211,2342,2619,3549,3639,2977,2775,2929,3088,3519,4058,4212,3982,3893,2895,3253,3543,3540,3612,2978,2490,2644,2855,2636,2459,2598,2009,1785,1848,1641,1364,1102,843,1277,1648,1331,1408,2202,3573,4208,3708,3799,3483,3787,3860,3742,3604,3277,3344,3301,3163,3682,3637,3146,2905,3150,3612,3363,3372,3524,3351,3075,2863,2965,3483,3674,2753,2170,2045,1717,2097,2696,2700,2802,3017,2936,3120,2741,2116,2679,2802,2136,2195,1960,2163,2002,1869,2184,1872,1495,1782,2209,2093,1947,2564,2874,2303,2714,2685,2138,1729,2425,3128,3411,3438,3283,3097,3003,3034,3068,3044,3001,2996,2911,2114,1557,1247,1191,1289,1296,1265,1591,2501,3239,2372,2686,2563,1847,1638,1721,1781,1745,1598,1442,1272,1284,1324,1356,1788,2228,1946,2336,2166,1793,1960,2416,2689,2736,2733,2746,2460,2159,1796,1903,1885,2041,2527,2404,2398,2770,2617,2331,2429,2514,2391,2181,1693,1455,1942,2031,2010,1695,1448,1895,2894,3114,2768,2806,2756,2699,2685,2803,2690,2954,2924,2763,2614,2533,2310,2400,2709,2695,2574,2612,2774,2808,2953,3188,3377,3374,3062,2736,2600,2678,2954,3058,2932,2968,2967,3044,3216,3294,3310,3399,3473,3662,3884,3996,3729,3356,3297,3496,3492,3403,3365,3305,3506,4059,4385,3927,3450,3277,2820,1813,977,1156,1616,1462,1445,1461,1422,1377,1402,1427,1410,1449,1461,1405,1465,1413,1431,1281,1268,1332,1367,1554,1521,1475,1301,1249,1305,1370,1447,1381,1302,1341,1785,1369,1268,1250,1176,1095,1143,1348,1330,1390,1746,1712,1563,1155,1103,1151,1186,1388,1714,1674,1501,1483,1552,2119,2307,1959,1909,1975,1796,2298,2127,1961,2591,2636,1935,1830,2408,2671,1500,1036,1123,2112,2496,2094,2236,2479,2483,2344,2568,2898,2588,2608,2097,2421,2590,2471,2176,2383,2419,2474,2211,1656,1387,1737,2157,1836,1752,2602,2956,2370,2402,2770,2426,2466,2603,2476,2335,2009,2520,3417,3318,2830,2603,2642,1832,1790,2182,2303,2392,2072,2127,2869,3942,4352,3424,2673,2567,2568,2318,2151,2243,1661,1427,1865,2164,2165,2599,3186,3741,3591,3530,3260,2191,2202,2898,2702,2086,2143,2809,3262,2555,2598,3146,2942,2303,1969,2359,2399,2361,2695,2993,3149,2856,2455,2514,2869,2977,2980,3122,2972,3175,3032,2419,2347,2385,2566,2458,2015,1958,2007,2136,2104,2317,2407,2135,2626,3498,2818,2307,2711,2831,2388,2532,3714,4344,4038,3023,2851,2753,2623,2498,3017,2864,1974,1913,2226,1981,1427,1870,2339,2017,2009,1935,1893,1831,2676,2735,2168,2552,2698,2288,2355,2382,2308,1964,1990,2302,2269,1915,1616,1681,1941,1906,1587,1880,2133,1939,1759,1731,1714,1995,2356,2081,1955,2134,2299,2664,2619,2491,3688,3843,3211,2819,2626,2293,2215,2033,2267,2724,2721,2817,2536,2644,2930,2501,2474,2133,2081,2989,2993,3150,2750,2250,2485,2698,3566,3520,2776,2751,2376,1923,1925,1670,1484,1367,1322,1268,1331,1581,1660,1661,1562,1344,1476,1812,2249,2055,1694,1563,1449,1765,2637,2482,1785,1935,2069,3016,2817,2700,2700,2584,2524,2633,3089,3343,3312,2855,2532,2787,2769,2974,2977,2751,1936,2034,2311,2405,2628,2842,2524,2317,2242,2537,1636,1377,1418,1665,1913,1841,1726,1968,2107,1963,1991,2049,2194,2388,2242,2945,2214,2392,2613,2383,1938,2084,2547,2284,2544,2665,2514,2463,2059,1721,2057,2592,2149,2178,2510,2143,2037,2132,2094,2199,2374,1874,2250,1829,1728,1650,1694,1686,1900,1901,2113,1974,1896,2079,1635,1329,1561,2039,2179,2595,2896,3298,3372,2966,2598,2362,2542,3331,3557,3528,3515,3083,2046,2272,2171,2581,2734,2446,2774,2737,2433,2493,3035,2741,2439,2866,2867,2513,2083,1798,1648,2032,2552,2251,1820,2173,3120,3520,3791,3327,2789,2876,3146,2795,1919,1603,1924,2366,2122,1679,1917,2094,2211,2259,2318,2106,2256,2354,2358,2951,3253,2894,2339,2254,2048,1991,2557,2377,2231,2403,2490,2866,2793,2127,1336,906,1383,1703,1957,2095,2292,2524,2246,1603,1717,2113,2429,2468,2097,2069,2118,2058,2059,2406,2778,2323,2187,2358,2310,2406,2770,2713,2559,2413,2270,2405,2563,2404,2573,3443,3440,2476,1858,1597,1770,1913,2022,2177,2342,2319,1720,2131,3267,3487,2887,2292,2198,2295,1813,1609,1721,1830,2036,2378,2338,2152,2169,2308,2872,2518,2791,3075,3058,3147,2800,2652,2316,2195,2271,2491,2507,2389,2064,2002,2147,2655,3451,3619,2568,2191,2921,2907,2534,1922,2488,2569,2612,3451,3760,3522,3648,3818,4286,4188,3790,3606,3294,2898,2447,2615,2934,2664,2658,2798,2414,1765,1889,2474,2192,2033,2568,2854,3146,3234,2844,2938,3264,3084,2933,2833,3160,3185,3146,3132,3120,3399,3483,3139,2923,2689,2896,3465,3059,2257,1995,2300,2646,2509,2424],[2076,2082,2172,2652,2728,2066,2148,2676,2923,3118,3124,3132,3074,2794,2757,3040,2512,2074,1976,2149,2425,2482,2468,2712,3029,3334,2954,2314,2398,2517,2561,2294,2800,3156,3059,2979,3022,3034,2971,3076,2820,2488,2907,3233,3276,4046,3994,4059,3672,3264,3157,2984,2958,3048,3443,3850,3819,3700,3636,3452,3503,3319,2876,3056,3696,3836,2996,2062,1922,2158,2498,3000,2876,2381,2483,2755,2498,2346,2509,2845,2598,2658,3222,3761,4134,3547,2874,1896,1793,2360,2150,2514,2922,2945,2536,2365,2236,2186,2208,2630,3027,3185,2689,2297,1794,1277,1323,1831,1946,1438,1650,2765,3283,2807,2369,3312,3294,2543,2558,2810,3073,3012,2663,2307,2388,2988,2874,1481,1730,2044,1953,2197,2406,2265,2427,2104,1824,1853,2094,2387,2416,2505,2404,2238,2302,2082,1830,1909,1538,1495,1860,2370,2404,1621,1581,2511,3306,3281,3470,3286,2812,2069,1771,2064,2524,3157,3146,2404,2149,1989,1973,1664,1654,2100,2320,2265,2230,2066,1884,2132,2412,3097,3974,4003,3674,3472,3162,3095,3321,3098,2581,1444,1202,2001,2251,2193,2331,2654,2806,2635,2789,2828,2442,2040,1754,1906,2050,2416,3044,3370,3069,2762,2780,2419,2514,2647,2534,2208,2689,3861,4277,4077,3784,3663,3686,3894,3130,1684,2655,2993,2924,3121,2388,2403,3445,3495,3352,3168,2938,2894,2934,2899,2586,2590,2600,3098,3860,4289,3820,3496,3509,3446,3444,3635,3817,4013,3616,2049,1519,1425,1381,1388,1388,1376,1336,1346,1419,1425,1473,1946,2839,2723,2917,2934,2152,2245,2204,2200,3105,3320,2366,2564,3078,2783,2896,3038,2270,1586,1727,2441,2308,1589,1561,1761,2273,2846,2562,2938,3570,3046,2662,2887,2532,2756,2578,2178,2108,2149,2562,2853,2304,2469,2933,2596,2567,2334,2767,2754,2643,2656,2769,3250,3084,2425,2605,2858,3032,3046,2470,1966,1745,2078,2109,2048,2014,1748,1753,1841,2023,2262,2333,2254,2201,2154,2227,2216,2212,2203,2136,1910,1640,1547,1666,2063,2270,2162,1770,1683,1622,1778,2055,1733,1593,1654,1720,1719,1798,1820,1613,1609,2137,3110,3585,3365,2784,2921,2783,2496,2644,2222,2138,2542,2165,1570,1692,1662,1738,2345,2462,2113,1937,1869,1942,1798,1788,1959,1940,2159,2315,2559,2142,1525,1697,1866,1791,1667,1568,1644,1530,1688,1682,1831,1611,1543,1604,1639,2148,2684,2899,2976,2906,3215,3384,2712,2191,2259,2355,1908,1898,2224,2165,2567,3160,3196,3340,3334,2441,2158,2169,1799,1952,1896,1999,2309,2501,2467,2814,2765,2290,2234,2056,1925,2126,2484,2213,2025,2056,1886,1637,1561,1496,1523,1491,1675,2903,3013,2430,2097,2500,2721,2546,2622,2388,2210,2258,2766,3142,2137,1976,2002,2476,2503,2786,2570,1876,1645,1629,1675,1922,2269,1857,1823,1913,1640,1830,1819,2309,2566,2344,2399,2786,2333,1912,2458,2702,2591,2471,2373,2758,2796,2551,2987,2930,3298,2810,2093,2014,2015,2420,2369,2253,2241,1801,1763,2432,3260,2764,2692,2373,2040,2476,2473,2055,1791,1934,2311,2730,3040,2326,1990,2050,1966,1744,1680,1610,1658,1630,1910,3394,3983,3416,2442,1776,1897,2286,2427,2501,2833,2294,1495,1322,1299,1328,1354,1296,1579,2116,2053,1998,1849,1670,1522,1548,1527,1594,1778,1824,2195,2064,1780,1343,1500,2360,2649,2228,2429,2614,2354,2376,2519,2747,2092,1970,2099,1743,1798,2171,2175,2353,2114,1731,1795,1886,1749,1844,2043,1764,1574,1755,1466,1134,1425,1824,2065,1910,1741,2024,2558,2731,2929,2565,2387,1854,1477,1564,1750,1749,1671,1594,1830,2060,2056,1924,1609,1456,1720,2298,2297,2442,2831,2463,2160,2484,2361,2140,2080,1850,2257,2103,1955,2057,1955,1843,1748,1874,2290,2172,1809,1869,2258,2045,1847,1864,1881,1933,1697,1780,2125,2637,3118,2938,2160,1793,1963,2322,2093,2327,2461,2907,2651,2110,1994,1876,1852,1866,1873,1973,2090,2085,2144,2240,2467,2514,2202,1809,1900,1983,1810,1731,1939,1859,1923,2176,2493,2614,2613,1984,1887,2223,1885,1778,2188,2317,2110,2050,1925,1982,2245,1978,1968,2094,1972,1865,1889,1727,1937,2452,2355,2254,2182,2363,2722,2995,2920,3027,2919,2230,2283,2900,2902,2735,3139,3398,2535,1604,1630,2178,2504,2399,2483,2520,2433,2116,1981,2100,2167,2138,2028,1692,1848,1902,1667,1296,1322,1483,1483,1473,1472,1496,1771,1920,1979,2160,2304,1751,1758,1654,1594,1838,2058,2037,1917,1875,1842,2076,2458,2433,2865,2756,2055,1664,1591,1610,1865,1992,1789,1615,1498,1448,1524,1686,1772,1699,1615,1694,1531,1573,1595,1474,1567,1842,1389,1452,1798,2065,2434,1910,2046,2204,1848,1180,1986,2386,1945,1571,1249,1208,1467,1426,1223,1462,1583,1422,1463,1583,1665,1894,2343,2167,1708,1557,1736,2085,1444,1401,1474,1506,1541,2906,4047,3970,4021,4320,4339,4561,4524,3947,3203,2529,2569,2343,2127,2122,2136,2160,2298,3062,3508,3160,3204,3792,4172,4399,4556,4344,4314,4507,3306,2862,3421,3578,3499,3387,3172,2562,2230,2010,2216,2332,1978,1793,1694,1212,741,766,966,1530,1777,1829,2662,2728,3407,3651,2841,2993,3239,3300,3473,4050,4229,3828,3465,3116,3250,3732,3671,3144,3016,3296,3199,3039,3261,3406,3174,2958,2811,2521,2567,2896,2578,2388,2251,1548,1655,2005,2011,2096,2572,2997,3239,2866,2391,2597,2657,2438,2401,2156,2242,2262,2601,2618,1896,1796,2180,2431,2096,1979,2690,3201,2380,2830,2512,2036,2144,2784,3218,2890,2998,3111,3178,3111,2979,3068,3053,2995,2724,2167,1801,1781,1460,1123,1295,1346,1437,1701,2420,3903,3177,3310,3603,2744,1901,1758,1697,1564,1549,1538,1630,1294,1304,1273,1698,2402,2180,2288,2289,1927,2026,2540,3007,3143,2997,2912,2820,2239,1931,2054,2033,1941,2263,2417,2304,2222,2258,2723,2883,3098,3212,2705,1971,1854,2017,2006,1970,1654,1731,2168,2485,2868,3300,3387,2709,2644,2387,2364,2590,2813,2656,2620,2797,2618,2373,2537,2665,2659,2446,2533,2817,2876,2909,2919,2900,2952,2762,2602,2656,2876,3034,3077,2971,2762,2780,2930,2972,3086,3239,3142,3164,3506,3909,4248,4073,3521,3433,3464,3539,3491,3417,3506,3595,3868,4204,4204,4005,3797,3632,3162,1780,948,1109,1405,1429,1349,1371,1401,1436,1445,1447,1482,1598,1454,1244,1314,1478,1420,1378,1294,1588,1754,1507,1566,1246,1212,1483,1305,1299,1368,1333,1283,1315,1159,1179,1152,1034,1092,1361,1448,1377,1558,1804,1527,1529,1443,1439,1605,1666,1539,1461,1542,1589,1583,1578,2120,2144,2017,1870,2047,2073,2646,2591,2093,2564,2403,2159,2023,2257,2310,1866,1636,1753,2272,2179,1945,2375,2887,2994,2957,3208,3943,2886,2831,2602,2410,2370,2144,1820,2165,2878,3161,2658,2228,1851,1969,1976,1728,2083,3140,2840,1888,2365,2670,2184,2133,2249,2532,2531,2080,2256,2670,2548,2254,2012,2006,1895,2486,2542,2520,2801,2103,1655,2585,3745,3592,3253,3301,2810,2508,2363,2179,1826,1578,2065,2724,3201,3658,3675,3254,4376,4152,3195,2399,2266,2314,2753,2888,2175,2130,2717,2833,2362,2524,2324,1792,1572,1734,2844,3718,3533,3240,3161,2783,2471,2710,2913,2844,2534,2159,2598,2940,2641,2188,2127,2321,2409,2285,1815,2210,2374,2344,2502,2500,2325,2554,2294,1978,2597,3043,2920,2586,2580,1755,2054,3516,4016,3395,2929,2743,2523,2168,2328,2896,2544,2211,2541,2930,2852,2356,2500,2398,1913,1874,1889,1726,1871,2642,2664,2492,2946,2483,2310,2405,2203,1844,1963,2186,2119,1891,1557,1418,1721,2071,1955,1744,2044,2064,1945,1796,1844,1772,2053,2337,2068,1894,2163,2828,2644,2180,2472,3482,3839,3742,3107,2588,2473,2678,2654,2552,2569,2657,3089,2810,2925,2543,2329,2503,2010,1662,2331,2169,2603,3128,2454,2692,2673,3307,3458,2934,2547,2287,1796,1837,1876,1719,1613,1420,1463,1540,1604,1670,1910,1594,1471,1893,2447,3008,2673,2126,2105,1742,1579,1781,1755,2276,2295,2000,2878,2940,2646,2702,2692,2452,2610,3063,3217,3396,3212,2708,2542,2498,2774,3414,3124,2524,2242,2220,2247,2193,2310,2297,2462,2712,3068,2392,1844,1637,1763,2028,2051,1666,1718,1920,1976,2050,1960,2156,2576,2338,2499,2136,1940,1886,1941,1633,1904,2412,2452,2754,2542,2166,2476,2176,2156,2729,2979,2644,2290,2074,2172,2289,1649,1456,1694,1720,1703,1758,1818,2150,2176,1816,1923,2093,2294,2141,1710,2015,1867,1695,1972,2444,2723,2533,2225,2160,2680,3084,2480,2240,2010,2386,2852,2951,2321,2534,2579,2144,2266,2763,3090,2780,2817,2901,2463,2504,2761,3316,2897,2570,2546,2432,2441,2164,1800,1818,1915,1986,1828,1758,2153,2743,3436,3497,3107,2812,3018,3411,3190,2566,1835,2297,2640,2220,2253,2300,1960,1994,1996,1786,1932,2333,2203,2610,3499,3518,2901,2781,2413,2156,1998,2076,1840,1670,2128,2227,2115,2329,2117,1812,1160,1451,2068,2428,2156,1698,1732,2222,2215,2005,2373,2414,2397,2143,2371,2224,2088,2205,2446,2166,1887,1988,2317,2315,2159,2389,2511,2645,2269,2367,2233,2601,2258,2230,2764,2820,2899,2406,2084,2823,3097,2843,2522,2236,2844,2142,2296,3064,3599,3882,3232,2763,2558,1810,1671,1347,1497,1701,2270,2544,2596,2555,2608,2714,2302,2237,3032,2951,3016,3016,3035,2368,2191,2314,2776,3049,2603,2246,2286,2156,2403,3094,3509,2862,2395,2872,3860,3684,2823,2745,2839,3074,4092,4467,4402,4552,4531,4372,3789,3573,3492,2918,2497,2348,2257,2381,2555,2464,2596,2287,1571,1888,2648,2530,2752,2667,2504,2886,3164,2942,3031,3228,3000,3016,2946,3118,3322,3107,2960,3190,3471,3365,3105,2955,2602,2785,3362,3171,2896,2144,2001,2416,2566,2425],[2193,2270,2416,2498,2693,2822,3288,3031,2855,2939,2916,3002,3015,2980,3145,3134,3017,2830,2507,2721,2830,3021,3380,3306,2935,2675,2392,2148,2367,2815,3046,3176,3500,3548,3175,3023,3237,3239,3005,2941,2844,2673,2920,3019,3183,3810,3858,3980,3890,3507,3287,3228,3283,3076,3316,3829,3752,3747,3849,3513,3454,3398,2939,3212,3753,3252,2514,2049,1818,1928,2314,2556,2420,2013,2094,2521,2636,2691,2869,2705,2314,2546,3238,3421,3581,3341,2945,2129,2036,2475,2515,2425,2406,2258,2149,2322,1922,2033,2402,3044,3128,2602,2306,2105,1551,1259,1444,1956,2134,1562,1219,1604,2257,2666,2868,3510,3444,2614,2421,2463,2439,2359,2002,2033,2643,2766,2945,2040,1645,1693,1565,1620,2059,2489,2499,2037,1893,1914,2371,2540,2386,2122,1998,1883,2346,2129,1836,1796,1881,2150,2251,2266,2403,2181,2438,2586,3435,3597,3396,2946,2246,2148,2525,2429,2340,2579,2622,2358,2303,1903,1844,1930,2380,2545,2580,2624,2820,2563,2329,2813,3199,3138,3124,2723,2037,2209,2732,3074,3311,3184,2842,1891,1400,1744,1970,2006,2118,2223,2423,2779,2680,2765,2656,2137,2015,2061,2342,2974,3293,3370,3198,2780,2310,1943,2065,2736,3002,2950,3183,3275,3503,3950,3557,3658,3873,3851,2836,2070,3239,3054,2591,3039,2514,2619,3232,2929,3072,2957,3154,3298,3467,3793,4128,3958,3352,2960,3211,3298,2482,2137,2546,2762,3475,3851,3902,3757,3261,2023,1598,1480,1393,1432,1430,1407,1376,1348,1354,1421,1430,1558,2322,2577,2813,3050,2720,2287,2342,2424,2981,3065,2309,2604,2526,1992,2018,1896,1708,1721,1716,1835,2121,2040,1978,2017,2221,2499,2841,3585,3803,2585,2522,2812,2495,2856,2906,2585,2604,2424,2924,2585,1831,2174,2481,2131,2140,2194,2564,2535,2188,2279,2184,2680,2126,1539,1954,2543,2876,2401,2197,1969,2011,2288,2062,2081,1863,1542,1709,2135,2036,2039,1825,2025,2060,1981,1982,2161,2334,2137,1649,1543,1457,1486,1545,1740,2032,1653,1766,2065,1649,1643,1835,1652,1714,1847,1836,1604,1699,1692,1458,1720,2292,2796,2974,2966,3055,3055,2756,2412,1852,1943,2039,2113,1693,1607,1816,1737,1972,2160,1820,1908,1948,1864,2056,1997,1971,2057,2283,2209,1779,1898,1781,1709,2078,2175,2235,2137,1950,1749,1500,1724,1666,1497,1476,1635,1928,1970,2769,3476,2842,2914,3133,3472,3037,2784,2764,2745,2193,1829,2099,2170,2169,2566,2678,2995,2951,2958,2569,2050,1971,1750,1699,1766,2162,2598,2633,2442,2583,2507,2176,1991,2135,2248,2344,2731,2373,1900,1907,1826,1781,1748,1519,1638,1520,1555,1841,1807,1986,1842,2169,2478,2647,2500,1776,1764,1924,2263,2771,2044,2460,2880,2897,2404,2178,1672,1584,1627,1543,1745,1820,1996,1637,2100,2115,2360,2402,1942,1889,2137,2510,2729,2588,2544,2524,2410,2382,2365,2645,2855,2856,2439,2552,3066,3357,3521,2866,2104,2086,2135,2410,2166,2053,2300,2370,2303,2777,3352,3090,2739,2686,2800,2997,2587,2344,2181,2298,2150,1979,1991,2222,2036,2008,2205,2002,1571,1575,1796,2044,1983,2950,3271,2986,2811,3011,3360,3641,3371,3334,3249,2286,1524,1437,1519,1393,1321,1522,1839,2131,2020,1817,1705,1550,1592,1757,1483,1550,1996,2264,2409,2303,1981,1568,1355,1716,1952,2135,2481,2520,2323,2307,2384,2450,2203,2597,2480,2174,2362,2449,2195,1998,2097,2135,2124,1779,2053,2219,2239,1809,1929,2281,1949,1295,843,1009,1692,2106,1978,2218,2469,2778,3438,3042,2419,1869,1640,1505,1624,1935,1554,1045,1634,2118,2452,2117,1825,1497,1867,2619,2063,2025,2114,1946,2437,2555,2178,2093,1841,2047,1949,2099,1895,1610,1608,1807,1721,1516,1693,1854,1799,2128,2170,1718,1631,1833,2090,2191,2063,2161,2201,2451,3254,3172,2153,1976,2300,2562,2052,2166,2272,2436,2518,2610,2451,2069,2077,2062,2312,2172,1936,2272,2360,2230,2380,2144,1907,1746,2024,1922,1648,1780,2055,1875,1892,1882,2231,2118,2279,2342,2512,2410,1687,1257,1531,1913,2208,2416,2248,1901,2163,2294,2030,1995,1778,1427,1378,1418,1997,2609,2538,2325,2395,2425,2422,2485,2939,3090,2702,2308,2430,2587,2217,1945,2307,3120,2477,2063,2263,2335,2218,1954,1880,1936,1931,1767,1708,1725,1724,1685,1849,1995,2366,2330,2027,1725,1808,2056,2197,2176,1988,1969,2321,2366,2017,1795,1751,1637,1921,2179,2096,2214,2431,2105,1919,1873,1937,1934,1890,2144,2562,2894,2459,1896,1626,1473,1625,1870,1620,1355,1322,1594,1667,1642,1813,1664,1682,1641,1502,1481,1557,1610,2054,2318,1669,2341,2458,1905,1873,1925,2279,2083,1435,1570,2094,2331,1933,1527,1542,1885,2261,2114,1565,1822,1915,1607,1457,1589,1893,2577,2480,1881,1666,1549,1521,1469,1510,1479,1395,1499,1400,2399,4122,4605,4616,4697,4668,4698,4633,3949,3016,2343,2175,2103,2063,2110,2246,2335,2482,3071,3529,3918,4168,4277,4347,4427,4476,4408,4221,3968,3290,2913,3135,3216,2705,2442,2258,1755,1605,1969,2133,2071,1987,1814,1727,1298,980,1289,1432,1614,1849,2448,3119,2680,2971,3128,3008,3496,3606,2796,2602,3452,3587,3141,3135,3294,3461,3306,3247,3134,3382,3388,3121,3034,3283,3112,2949,2917,2792,2753,2344,2511,2566,1731,1280,1628,1838,1670,1677,1776,2202,2635,2321,2131,1889,2070,2270,2635,2669,2622,2735,2270,1845,2265,2182,2497,2703,2711,2141,1997,2548,3152,2941,2746,2465,2305,2058,2476,2965,2905,3292,3238,3165,3054,2915,2912,2769,2359,1797,1354,1283,1557,1656,1137,1243,1472,1980,2438,2835,3455,3294,3050,3630,3641,2359,1678,1329,1235,1317,1470,1813,1395,1272,1250,1863,2596,2380,2156,2230,1954,1953,2540,3068,2890,3072,3045,3053,2314,1893,1919,1901,1835,2181,2586,2025,1792,2180,2906,3193,3386,3308,2294,1885,1754,1472,1606,1660,1834,2171,2344,2171,2013,2701,3418,3272,2821,2254,2189,2416,2520,2356,2486,2755,2592,2514,2822,2955,2792,2589,2511,2828,3038,3064,2958,2944,2924,2668,2579,2855,3050,3065,2973,2867,2893,3009,2929,2901,3075,3106,3033,3086,3277,3685,4308,4144,3580,3642,3608,3618,3613,3570,3651,3694,3694,3827,4084,4372,4237,3906,4100,3248,1685,953,1113,1355,1461,1510,1477,1468,1421,1489,1467,1524,1375,1336,1386,1399,1420,1382,1239,1401,1570,1402,1453,1323,1320,1475,1411,1289,1262,1331,1310,1245,1125,1093,1355,1060,1144,1410,1482,1447,1578,1572,1457,1587,1641,1589,1551,1515,1601,1440,1664,1585,1798,1812,1639,1634,2019,1974,1734,1886,2422,2193,1989,2324,2331,2248,1920,2283,2094,1850,1844,1809,2233,2403,2286,2500,2443,2559,2825,2685,3771,3154,2599,2331,2052,1907,2099,2247,2410,2709,2726,2096,1955,1853,2262,2292,1998,1803,2676,2436,1563,2188,2496,2061,2183,2274,2173,2029,1950,1807,1482,1638,1790,2494,2705,2214,2441,2447,2313,2320,2353,1454,2016,2640,2921,3298,3500,3220,2719,2193,1867,1822,2154,3003,3881,3470,3351,3548,2425,3207,3906,3175,2795,2629,2420,2785,2018,1962,1902,2442,2608,2698,2375,1771,1946,2150,2187,3116,4176,3924,3356,3123,2599,2482,2771,2526,2325,2230,2226,2763,2918,2360,2060,2249,2061,1909,1843,2113,2835,2820,2402,2160,2453,2835,3187,3451,3813,4184,4348,3924,2498,1873,1559,2284,2778,2405,1915,1954,1982,1659,1504,2259,2473,2259,2106,2598,3465,3507,2864,2240,2054,2290,1958,1744,2150,2065,2223,2742,2884,3213,2350,2009,1954,1818,1881,2181,2012,1920,1836,1765,1859,2062,1956,1692,2100,2232,2360,1896,1655,1847,2044,2114,1802,2071,3035,2957,3194,2509,2394,3157,3848,4344,4260,3043,2491,2831,3056,2813,2294,2667,2721,2784,2825,2601,2285,2175,2318,2040,1789,2184,2462,2750,2896,2428,3055,3175,3415,3564,2457,1882,1984,1701,1787,1845,1705,1770,1646,1670,1630,1729,1628,1865,1992,1996,1936,2186,2676,2347,1852,1832,1710,1564,1843,1805,2737,2687,2215,3017,3074,2510,2574,2557,2349,2507,2774,2955,3257,2665,2553,2751,2824,3382,3754,3554,3283,2788,2480,2270,1932,2059,2519,2475,2575,2177,1754,1532,1834,2014,2014,2072,1803,1781,1759,1743,1960,1913,1910,2160,2200,2067,1906,1840,2164,2055,1655,1866,1827,1865,1866,1812,2418,2464,1907,2241,2140,2054,2422,2141,2530,3267,2346,1806,1583,1489,2051,2154,1764,1697,2017,2094,1916,2201,2373,2495,1732,1726,1860,1605,1925,2366,2733,3055,2701,2096,2107,2753,3056,2077,1898,2126,2438,2249,2057,1563,1763,1896,1562,2247,3197,3078,2919,2835,1896,1741,2157,2754,3316,2977,2501,2199,2017,2129,2112,1717,1527,1586,2099,2100,2165,2481,2819,3074,3431,3458,3261,3270,3297,3349,2979,2067,2605,2503,1997,2034,2340,2094,1808,1741,1690,2014,2576,2158,2041,2556,2567,2271,2768,2435,2284,2167,2099,1808,1774,2336,2327,1884,2061,2013,2131,1645,2030,2379,2487,2288,1465,1403,2465,2500,2234,2730,2308,2209,2180,1781,1830,2566,2575,2342,2348,2110,2098,2491,2402,2483,2469,2370,2339,2470,2619,2757,2779,2363,2057,1737,1870,2389,2467,2642,3137,3611,3018,2299,2496,3208,2508,2008,2408,3407,3963,3142,2501,2219,2044,1886,1576,1559,1731,2032,2267,2523,2734,2574,2394,2127,2231,3031,3114,3658,3707,3696,2702,1930,1801,2417,3020,3090,2940,2367,2328,2272,2284,2863,2851,2285,3229,4468,4804,3867,2813,2802,2973,3776,4352,4540,4592,4388,3748,3437,3458,3138,2264,1973,2168,2191,2447,2535,2655,2866,2321,1792,2171,3041,3335,3073,2362,2187,2753,2897,2776,2879,2940,2893,3032,2777,3153,3436,3430,3362,3492,3617,3407,3284,3260,3211,3261,3298,3085,3079,2498,2437,2662,2533,2513],[2699,2643,2322,2073,2182,2967,3459,2999,2954,2905,2922,2928,3039,2689,2700,2647,3228,3516,3484,3606,3506,3772,3970,3342,2497,2107,1958,1825,2110,2636,2951,3145,3496,3719,3562,3525,3430,3383,3190,2871,2785,2944,3088,2817,3185,3742,3724,3826,3871,3539,3428,3033,3099,2895,2618,3316,3611,3658,3864,3938,4108,3836,3309,3453,3187,2180,2096,2408,2230,1878,2033,2314,2244,2208,2442,2363,2395,2729,2644,2330,1988,2196,2265,2344,2584,2823,2710,2121,1947,2209,2358,2057,1721,1851,2205,2654,2334,2250,2686,3361,3366,2697,2611,2613,2149,1981,1957,2222,2504,2071,1914,1870,2651,2703,2519,3254,3169,2342,2199,2418,2764,2676,2122,1988,2122,2106,2329,2200,1774,2080,1996,1712,1971,2444,2298,1945,2185,1945,2266,2364,2497,2454,1948,1734,2049,2135,2154,2197,1932,1908,2406,2610,2467,2578,3298,2906,2727,2698,2612,2623,2338,2267,2657,2429,2340,2676,2754,2258,1888,1772,1866,2032,2446,2436,2461,2779,2857,2811,3584,3442,3011,2570,2841,2316,1515,1938,2405,2607,2909,3195,2851,2450,2574,2586,2554,2096,1919,1805,2398,2555,2793,3204,3016,2761,2571,2165,2791,3353,3516,3103,2967,2710,2237,2011,2304,3453,3342,2499,3055,3119,3399,3873,3669,3757,4013,3840,2534,2478,3430,2944,2667,3205,2857,2723,3173,3208,3573,2902,3392,3374,3117,3679,4441,4056,3046,2963,3422,3291,2895,2699,2454,2328,3017,3588,3834,3971,3362,2027,1442,1452,1421,1404,1372,1409,1421,1342,1415,1547,1629,1771,2552,3073,3150,3423,2636,2001,2121,2027,2377,2146,1903,1899,1676,1968,1896,1811,1772,1842,1750,1976,1936,1917,2079,2345,2421,2250,3204,3466,2873,2176,2316,2548,2835,2820,2844,2856,2687,2843,3104,2279,1875,1835,2141,2464,2679,2706,2698,2511,2423,1862,1959,2433,1996,1956,2140,2410,2922,2677,2252,2171,2032,2116,2403,2377,1813,1681,1996,2079,1827,1945,2133,2299,2165,1784,1661,1667,1538,1748,1339,1427,1497,1491,1567,1979,2386,2229,2096,1953,1652,1603,1697,1592,1764,1607,1816,1754,1717,1534,1465,1841,2475,2351,2072,2555,2778,2390,2474,2331,1717,1824,2150,2061,1890,2182,2526,2230,1924,2000,1881,2247,2396,2500,2500,1885,1803,1919,2333,2158,1610,1477,1466,1642,2154,2045,2021,2321,2310,1871,1763,1677,1489,1545,1520,1622,1690,1808,2847,3617,2971,3118,3259,3339,3120,3228,3054,2661,2039,1883,2115,2310,2359,2621,2574,2923,3050,2925,2490,1897,1724,1816,1922,1887,2232,2456,2285,2439,2503,2282,1996,1908,2203,2286,2165,2200,1946,2041,1987,1896,1751,1701,1814,1760,1636,1615,1509,1559,2081,2104,2053,2405,2620,2596,1954,1945,1987,2254,2176,2029,2911,3739,2898,2041,1958,1739,1542,1674,2018,2137,2003,1735,1992,2474,2387,2653,2644,2262,1947,2365,2993,3060,2328,2536,2733,2143,1981,2812,3370,3411,2801,2194,2238,2500,3101,3218,2313,1736,2176,2359,2325,1973,2354,2605,2329,2328,2806,3233,3218,2917,2652,2502,2764,2735,2630,2174,2022,1844,1920,1994,2079,1948,1936,2071,2049,1469,1692,1896,1852,2072,1888,2238,2796,3646,3952,3515,3307,2552,2943,2808,2149,1826,1543,1748,1525,1536,1813,1921,1988,1967,1969,1933,1686,1637,1569,1425,1464,2165,2658,2534,2302,2190,1750,1608,1886,2376,2596,2705,2349,2577,2411,2169,2276,2490,2708,2447,2461,2460,2535,2410,2407,2226,1800,1815,1801,1996,2006,2014,1990,2224,2272,1747,1526,1540,1426,1931,2908,2284,2257,2117,2286,2149,2196,2388,2240,1875,1960,2247,2250,1608,1180,1870,1865,1824,1860,1754,1727,1942,2118,1988,2019,1856,1510,1599,1797,1975,2022,2240,2234,1693,1636,1725,1714,1786,1927,2001,1780,2041,1992,1978,2104,2174,2150,1894,2090,2462,2250,1954,2188,2395,2517,2094,2149,1896,1585,1927,2474,2569,2333,2125,1892,1737,2100,2604,2355,2714,3295,2963,2331,2292,3028,3426,3291,2745,2338,1997,1974,2098,1778,1591,1924,1739,1556,1388,1938,2326,2215,2538,2602,2711,2800,1884,1070,1685,2216,1981,2258,2514,2678,2991,3212,2629,1825,1426,1636,1971,1911,2103,2226,2241,2307,2648,2494,2156,2423,3074,2851,2493,2787,2567,2262,2319,2272,2456,2410,1933,1806,1853,1902,1797,1584,1470,1665,2003,1982,2084,2105,2148,2173,2017,1981,2001,1870,1873,1974,1996,2225,2464,2448,2142,2048,2101,1972,1651,1675,1803,1728,1751,1937,1895,1907,1941,1570,1412,1638,1562,1732,1698,1844,2180,2479,2446,1998,1677,1630,1625,1604,1507,1468,1399,1958,1831,1844,1616,1508,1754,1693,1705,1726,1573,1570,1734,1716,2215,2588,2137,1809,1883,1937,2286,1984,1634,2143,2367,2557,1941,1651,2125,2359,2566,2337,2017,2044,1818,1558,1656,1688,1904,2420,1976,1768,1451,1380,1416,1354,1394,1354,1328,1456,1479,1942,3465,4548,4696,4631,4575,4152,3996,3452,2642,2160,2003,2103,2153,2283,2518,2751,2921,3614,4248,4392,4327,4483,4532,4588,4560,4432,3771,2941,2923,2614,2343,2580,2009,1832,2129,1998,1953,2112,2142,2410,2331,1847,1708,1501,1521,1345,1377,1399,2184,3563,3738,3000,3349,3812,3950,4361,3911,2778,2573,2945,2732,2731,3073,3019,3204,3105,3059,3238,3274,3596,3217,2859,2783,2822,2823,3016,3047,2980,2529,2599,2179,1190,1317,2281,2579,1977,1820,1605,1669,2010,1807,1705,1298,1577,1584,1571,2497,3207,2448,1843,1735,1960,2343,2513,2698,2817,2172,1894,2382,2938,3231,3098,2684,2598,2534,3028,2965,3128,3118,3087,3055,3044,2791,2432,1970,1437,1174,1101,1111,1236,1514,1136,1124,1450,1937,2266,2776,3042,2699,2302,2596,3131,2666,1698,1187,1293,1438,1564,1725,1416,1189,1193,1513,2055,2073,1852,1926,2013,1671,1854,2725,2878,2985,2872,2763,2348,2001,2025,2043,1743,1712,2578,2040,1682,1881,2557,2540,2195,2094,1971,1876,1734,1856,2260,2272,2350,2393,2232,2013,1664,1763,2802,3704,3210,2215,1978,2028,2181,2292,2420,2520,2459,2192,2310,2809,2868,2765,2775,2899,2964,3011,3341,3704,3476,2916,2740,3019,3211,3197,3096,3030,3208,3254,2949,2904,3042,2921,2958,3140,3161,3439,3894,3661,3521,3537,3568,3730,3740,3704,3694,3731,3716,3742,3884,4264,4528,4167,3989,3774,2765,1455,944,1248,1627,1465,1493,1547,1425,1430,1450,1500,1399,1331,1297,1342,1373,1328,1395,1284,1181,1236,1433,1801,1563,1289,1467,1295,1296,1422,1275,1278,1346,1429,2167,1699,1528,1543,1523,1534,1412,1398,1613,1683,1645,1531,1318,1513,1799,1536,1503,1478,1621,1688,1388,1606,2232,2203,1756,1904,2132,1913,1974,1969,2023,1888,1852,2427,2468,2210,1889,1887,2330,2431,2916,3130,2472,2348,2648,2309,2532,2259,1792,1808,2191,2842,2922,2728,2352,1962,2115,2338,2259,2237,2281,2080,1817,1707,2554,2786,2230,2132,2236,1849,1798,1600,1566,1646,1739,1605,1856,2157,2344,2674,2385,2238,2654,3050,2736,2500,2141,1793,2536,2972,3086,3230,3143,3038,2888,1787,1624,2070,2137,2662,3651,3042,3248,3941,2802,2990,4008,3431,2981,2929,2822,2634,2050,2089,1623,1824,2370,2294,1985,2612,3395,2989,2707,2997,3513,2952,2877,2675,1898,1648,1983,2009,2270,2679,3090,3062,2628,2730,2330,2104,1791,2216,1942,1872,2757,3344,3418,3393,3969,4332,4388,4395,4673,4592,4528,4235,2643,1607,1631,2356,2522,1886,1668,1727,1526,1874,2281,2546,2204,2207,2164,2942,3894,3761,2828,2429,2571,2739,2375,2029,2074,2009,2173,2245,2111,2479,2184,1913,1637,1574,2012,1942,1742,1940,2024,2671,2366,1960,1757,1832,2103,2055,1924,1747,1935,1894,1592,1430,1256,1636,2538,2566,3150,2720,2930,3350,3641,4309,3794,2502,2963,2755,2823,3276,3060,3169,3380,2736,2580,2493,2116,2175,2369,1945,1975,2523,3062,2897,2546,2949,3583,3629,3564,3464,2434,1886,1846,1466,1446,1803,2050,1830,1394,1394,1538,1670,1549,2001,2712,2932,2530,1824,1708,1605,1656,1744,1686,1615,1838,1648,2136,2097,2131,2988,2974,2457,2555,2543,2643,2609,2821,3206,2841,2024,2339,2980,3633,3762,2990,2965,3326,3292,2492,2078,1676,1869,2245,1967,1865,1687,1638,1938,2092,1853,1576,1553,1636,1936,1680,1570,1918,2062,1962,2107,2110,2000,1921,1687,1453,1501,1614,1725,1566,1562,1639,1721,2258,2073,1886,2111,1986,1684,1833,2039,2940,3133,2357,2516,2288,1901,2385,2336,1694,1442,1543,1471,1548,1808,2126,2020,1642,1969,1852,1790,2097,2007,2441,2924,2657,2091,2368,3480,3775,3012,2385,2690,2423,1775,1988,1924,1473,1450,1693,2717,3219,3133,3016,2049,1670,1733,1692,2113,2480,2248,2075,1863,2042,2252,2003,1648,1580,1627,1907,1840,1944,2603,2586,2511,3283,3360,3497,3500,3260,3273,2689,2441,2576,2131,1759,2194,2458,1950,1582,1548,1945,2262,2589,2648,2269,1900,1683,1697,1915,2247,2414,2115,2230,2151,2322,2306,1958,2197,2353,1913,1621,1420,2003,2222,2121,2344,2452,2412,2833,2542,2031,2148,2024,2136,1646,1359,2227,2511,2338,2623,2743,2330,2287,2270,2186,2588,2600,2598,2181,2140,2466,2622,2471,2159,2060,1772,1901,2150,1923,2294,2322,2510,2238,2177,2878,3208,2324,1905,2428,3212,3107,2538,2178,2046,2162,1896,1541,1499,1736,2031,2143,2177,2240,2052,2168,1980,2206,3086,3618,3924,3685,3109,2597,2182,1675,2069,2667,2868,3066,2762,2500,2072,2060,2435,2652,2939,3440,3529,4401,4452,3616,3250,3184,3382,3834,3483,3138,3094,3129,3297,2955,2331,2232,2297,1848,2104,2341,2790,3117,2950,2260,2142,2540,3498,3808,3322,2863,2644,2550,2714,2920,3056,3147,3028,2985,3083,3572,3748,3857,3784,3552,3447,3406,3507,3177,2834,2898,2920,2551,2583,2618,2664,2722,2619,2514],[2491,2214,2104,2007,2332,2975,3095,3000,2998,3182,3228,3102,2955,2457,2487,2688,3145,3544,3598,3874,3896,3938,3858,3382,2844,2414,2037,1983,2196,2269,2464,2757,3018,3091,3440,3695,3334,3266,3089,2921,2776,2942,3113,3075,3355,3785,3794,3813,3836,3393,2819,2667,2874,2411,1966,2821,3484,3587,3604,3776,4037,3842,3307,3518,3937,2819,2087,2113,2625,2533,2008,1994,2210,2376,2190,1948,2414,2746,2667,2449,1983,2078,2125,1906,1829,2114,2134,1937,1669,1733,1733,1517,1654,2067,2303,2824,2911,2733,3108,3510,3619,3627,3518,3396,3155,2624,1749,2199,2885,2695,2796,2393,2807,2767,2453,2796,2529,2670,2585,2569,2657,2750,2035,1916,1983,2177,2265,2054,2014,2377,2314,1857,1778,2378,2522,2240,2408,2114,2096,2389,2592,2330,1908,1901,2284,2534,2758,2887,2362,1905,2246,2510,2434,2500,3226,3098,2562,2578,2674,2579,2370,2343,2707,2740,2814,2967,2888,2344,1876,1876,1985,2302,2743,2731,2365,1959,2013,2839,3905,3398,2839,2735,2944,2648,2388,2315,2442,2745,2856,2700,2384,2709,3473,3325,2446,1914,1844,2158,2533,2411,2578,2979,2932,2994,2803,2331,2878,3230,3310,3077,2852,2836,2792,2554,2524,3022,2888,2292,2499,2745,3463,3980,4072,4058,4154,3464,2231,2429,2907,2820,3442,4177,3364,3168,3416,3459,3378,2956,3364,3407,3377,4089,4387,3164,2237,2801,3271,3520,3745,3304,3305,3007,2942,3365,3607,3462,2882,1907,1421,1451,1420,1349,1303,1208,1314,1537,1781,1816,2250,2587,3050,3220,3261,3205,2385,2128,2049,1687,1674,1863,2207,2117,2203,2241,2272,2031,1697,1607,1754,2342,2175,1970,2053,2448,2513,2308,2314,2656,2984,2708,2218,2298,2972,2778,3515,3694,2688,2866,2662,2013,1620,2008,2612,2692,2864,2842,2410,2354,2535,1840,2492,2480,2200,2212,2164,2566,3217,3086,2584,2071,1845,1965,2357,2764,2148,2115,2683,2354,1798,1812,2361,3091,2768,1807,1518,1497,1559,1780,1578,1544,1548,1654,1653,1941,2186,1845,1669,1796,1654,1427,1693,1824,1851,1947,2349,2091,1654,1668,1650,1991,2483,1996,1791,2143,2462,2389,2028,1698,1501,1901,2478,2415,2113,2783,3253,2909,2264,2019,2245,2805,2583,2485,2379,2057,1821,1981,2261,1945,1555,1545,1657,1632,1724,2063,2184,2286,2016,1879,1783,1585,1749,1860,1721,1920,2123,2081,2287,3001,3022,3363,3520,3317,3448,3566,3241,2611,1985,1968,2176,2359,2380,2281,2460,2235,2736,2880,1960,1512,1432,1661,2297,2086,2273,2292,1824,2104,2511,2468,2237,1937,2025,2109,1963,1933,2122,2402,1970,1667,1759,2030,2258,1910,1533,1489,1683,2041,2508,2621,2770,3084,2547,2432,2029,1691,1808,2317,2285,2486,2884,2813,2532,2268,2156,2104,1717,1839,2200,2540,2187,1812,2222,2718,2824,2708,2828,3065,2865,2987,3270,3409,2570,2784,2881,2420,2333,2706,3146,3123,2476,2403,2325,2552,2910,2750,2109,1743,2222,2569,2542,2339,2452,2624,2496,2307,2829,2749,2491,2500,2098,1917,2127,2767,2714,2207,1897,1671,1858,1960,2086,2178,2382,2200,2137,1608,1459,1591,1664,1723,1418,1510,2110,3288,3670,3068,2303,1770,2040,2202,1858,1859,1757,1730,1796,1882,1802,1920,1987,1754,1974,2311,2221,1787,1665,1487,1452,2117,2415,2012,2025,2055,1804,1746,2184,2513,2192,2457,2095,2036,2105,2260,2604,2887,2610,2525,2659,2277,2326,2212,2455,2309,2581,2133,2115,2322,2035,1843,1888,1883,1937,1878,2334,2422,1914,2252,2480,1955,2153,2084,1926,1727,1570,1925,2350,2332,2665,2841,2602,1799,1447,1691,1841,1930,1796,1619,1654,1586,1571,1742,1777,1963,1741,1691,1692,1824,2287,2664,2224,1476,1623,1943,1815,1841,2239,2508,1981,1756,1816,1896,2177,2287,2061,1779,2024,2332,2098,2089,2284,2908,2820,2137,1797,2056,1960,2636,3164,2884,2436,2126,1792,1375,1223,2047,2153,3053,3372,3065,2855,2865,3331,3786,3962,3842,3212,2500,2180,2195,1943,1778,2028,1726,1450,1675,2237,2022,1597,1764,2271,2841,3306,2228,1620,2006,1778,1578,2030,2248,2733,3122,3016,2732,2176,1960,2243,2497,2084,1892,1728,2017,1708,2021,2244,1897,1974,2186,2467,2641,2542,2230,2097,2037,1739,1675,1592,1753,1814,1823,2041,2064,2076,2076,2448,2351,2304,2288,2081,2080,2054,2065,2177,2210,2067,1946,1858,1916,1766,2094,2160,2044,1778,1601,1713,1804,1832,1838,1726,1560,1619,1571,1484,1555,1616,1554,1504,1451,1588,1655,1738,1743,2000,2178,2024,1876,1740,1630,1508,1450,1462,1838,2059,1760,1709,1621,1690,1860,1823,1665,1777,1642,1632,1685,2040,2564,2508,2153,1902,1786,2290,2841,2731,2026,2275,2776,3039,2040,1588,2109,2270,1892,1784,1930,1801,1750,1924,1995,1923,2116,1996,1675,1710,1454,1968,2108,1567,1311,1310,1360,1430,1490,1520,2591,4428,4749,4550,4016,3047,2530,2673,2855,2541,2418,2474,2647,3082,3629,4095,4313,4405,4535,4203,4211,4517,4536,4561,4539,4159,2682,2278,3072,2477,2759,2778,2019,1880,2257,2049,1834,1893,2182,2585,2330,1955,1788,1716,1306,1211,1323,1381,2368,3809,3605,2894,3618,3818,3638,3903,4240,3617,3277,3109,3000,3213,3431,3146,3149,3185,2813,2868,3183,3694,3209,3045,2657,2731,3030,3345,3207,2855,2518,2256,1698,1220,1625,2229,2598,1959,1936,1521,1501,1572,1650,1392,1336,1661,1626,1676,2002,2553,1584,1234,1291,1940,2349,2383,2723,2625,1963,1876,2180,1849,2025,2665,2761,3470,3451,3372,2967,2975,3021,3007,2845,2468,1914,1400,1169,1172,1141,1113,1158,1085,1265,1280,1147,1266,1728,2302,2920,3029,2750,2409,2452,2867,2883,2378,1646,1336,1380,1318,1584,1580,1237,1226,1320,1669,1901,1753,1813,1846,1460,1547,2014,2277,2427,2415,2449,2218,2116,2206,2270,1798,1536,2360,2071,1886,2149,1998,1587,1385,1646,1937,1719,1795,1879,1998,1881,2011,2396,2075,1868,1852,1819,2236,3186,3597,2828,2243,2073,2177,2156,2049,2146,2241,2003,2264,2930,3142,2897,2829,2792,2823,3060,3589,3831,3661,3048,2862,3017,3219,3287,3194,3103,3152,3295,3144,3109,3057,2905,3059,3261,3425,3581,3582,3481,3403,3375,3553,3703,3731,3815,3868,3726,3739,3799,3775,3976,4532,4400,4059,4076,3716,2645,1523,950,1458,1653,1785,1721,1468,1371,1583,1829,1657,1424,1400,1511,1458,1393,1402,1226,1195,1231,1489,1838,1538,1331,1308,1106,1143,1167,1181,1222,1475,1787,2041,1793,1628,1483,1811,1810,1627,2097,1969,1754,1598,1562,1511,1471,1549,1501,1594,1508,1540,1639,1611,2058,2204,2383,2084,1896,2034,1966,1777,1763,1666,1515,1810,2168,2274,2331,2026,1988,1987,1762,2306,3105,2540,2273,2648,2167,1812,1677,1333,1634,2320,3038,2774,2526,2060,2031,1857,2047,2248,2120,2232,2587,2270,1930,2066,2175,2082,1938,1836,1864,1748,1769,1895,1661,1322,1587,2185,2205,2518,2907,2634,2447,3364,3272,2618,2105,2110,2657,2994,2576,2429,2645,2482,2475,2997,2211,1865,2191,2361,2325,2610,3181,3728,3330,3376,3692,3738,3659,3366,2653,3144,2632,1582,1628,1613,1881,2448,2257,2240,2902,3282,3010,2973,3057,3633,3153,2743,2507,1838,1512,1598,1885,2766,3511,3505,2709,2696,2846,2050,1722,1922,2058,1791,1848,2272,3285,4357,4408,4576,4079,3813,4059,4512,4387,4396,4440,3165,2075,1915,2165,2492,2216,2301,2137,1835,2438,2666,2260,1991,2101,2072,2405,3369,3643,3145,2874,2921,3118,2715,2148,1961,1995,2321,1979,1964,2458,2631,2244,1533,1450,1705,1653,1976,1982,1878,2423,2278,2025,1743,1947,2553,2698,1986,2098,2770,2142,1740,1399,1355,1675,2100,2295,2739,2818,2975,2996,3033,3736,3566,2932,2944,2111,2643,3027,3131,3536,3628,2678,2147,2250,2417,2402,2500,2491,2511,2807,3432,3353,3216,3544,3628,3550,3580,3221,2671,2472,2271,1831,1837,2034,2182,1743,1273,1475,1824,1730,1653,2298,3172,3461,2933,1648,1555,1393,1350,1346,1648,1794,1662,1625,1889,1851,2053,2773,2839,2564,2556,2692,2796,2841,3200,3452,2568,2054,2470,3051,4020,3487,2436,2657,3133,3477,2945,2469,1933,1783,1991,2237,2033,1804,1963,2047,1750,1605,1637,1578,1610,1815,1654,1786,2173,2048,1723,1900,1972,1952,1882,1842,1682,1804,1842,1754,1470,1495,1809,2211,2569,2285,2128,2503,2591,1927,1579,1933,2063,1864,2297,3110,2945,2450,2144,1936,1747,1489,1337,1454,1546,1511,1831,1910,1949,2101,2009,2687,3128,2347,2372,2375,2503,2066,2490,3476,3781,3624,3386,2978,2164,1902,2169,2068,1600,1592,2386,3403,3642,3321,2431,1748,1941,1983,1547,1351,1604,1837,2104,1889,1672,1803,1606,1735,1987,1703,1565,1704,1803,1879,1800,2114,2836,2892,3171,3459,3462,2951,2161,2226,2220,1777,2077,2615,2427,1603,1478,1815,2320,2480,2995,3149,2568,2099,1679,1852,2180,1887,2089,1986,1788,1869,2214,2241,2400,2962,2775,2045,1581,1920,2583,2359,2193,2745,3328,2955,2989,2835,2129,1680,1726,2275,2041,2113,2624,2162,2402,2740,2465,2229,2271,2265,2100,2196,2364,2382,2123,2450,2404,2318,2429,3176,3444,2629,2682,2465,2410,2544,1970,1672,1515,1517,2274,2654,1877,1589,2273,2980,2707,2400,1963,1815,1779,1604,1633,1688,1916,2571,2909,2799,2181,2031,2093,1907,2624,3235,3128,3388,3401,2373,2336,2425,1810,1791,2291,2215,2105,2208,2456,2380,2508,2634,2319,2641,3156,2939,3382,3682,3564,3168,3382,3939,3121,2269,2274,2717,3540,3507,2473,2038,2479,2056,1929,2454,2520,2708,2750,2912,2962,2314,2426,3164,3312,3353,3290,2749,2439,2671,2791,2973,3209,3222,3068,3531,4133,3967,3674,3751,3558,3393,3428,3610,3164,2657,2568,2638,3017,3707,3438,2668,2514,2531,2719],[2242,2144,2280,2239,2441,2483,2623,2761,2921,3142,3343,3254,2972,2769,2841,2795,2742,2598,2341,3012,3296,3640,3458,3387,3462,3235,2699,2429,2363,2144,2304,2785,3001,2894,3075,3166,2966,2917,3020,2862,2497,2459,2690,2863,2990,3049,3154,3058,3265,3265,3208,3732,3796,2774,2137,2690,3282,3564,3489,3421,3694,4145,3758,3971,4756,4273,3242,2403,2287,2541,2575,2166,1908,2131,2280,2306,2891,2840,3068,2730,2193,2038,2137,2360,2392,2172,2361,2366,2128,2490,2320,1952,1992,2084,2209,2558,2836,2801,3282,3916,3852,3697,3760,3827,3562,3000,2465,2699,3042,2921,3021,2908,2957,2884,2095,2397,2734,2897,2744,2348,2109,2323,2504,2564,2644,2833,2673,2185,1939,2266,2414,2452,2132,2337,2374,2216,2130,2124,2098,2204,2021,1725,1967,2241,2476,2602,2546,2252,2098,2146,2280,3001,3569,3071,2808,2777,2219,2322,2623,2566,2059,2092,2304,2360,2505,2513,2535,2351,2061,2192,2330,2840,3408,3262,2489,1968,2339,2880,3342,3161,2746,2381,2122,2112,2069,1907,2392,2956,3016,2446,2446,2732,3516,3654,3320,2713,2497,2526,2292,2328,2456,2709,3054,3027,2832,2908,3086,3011,2948,3165,2949,2810,2635,2305,1941,2093,2139,2497,2824,2722,3278,4001,4275,4217,4109,2988,2085,2655,2718,3193,3927,3834,2767,3417,3464,3247,3071,3130,3460,3386,3774,4508,4440,3490,2898,3754,3643,3354,3784,3671,3431,3165,3016,3099,2698,2255,2611,2259,1802,1464,1310,995,859,904,1274,2085,2333,2038,2226,2384,2422,2502,2171,1947,2530,2277,2037,2041,2062,2337,2568,2775,2693,2221,2221,1828,1862,1735,1919,2118,2130,1930,1970,2590,3000,2759,2512,2855,3238,2403,1965,1957,2488,3086,3670,3366,2653,2329,2260,1853,1676,2477,3033,2852,2880,2603,2680,2807,2670,2405,2490,2470,2710,2662,2482,2652,2976,2872,2751,2241,2101,2028,2668,3097,2556,2919,3553,2919,2200,1730,1846,2430,2504,2190,1772,1655,1672,1664,1664,1875,1959,1819,1799,1889,1957,1749,1913,1945,1694,1743,2020,2148,2058,1907,2133,2339,2238,2236,2068,2656,2473,2021,1948,2621,3064,2701,1879,1554,1584,1963,2630,2707,2669,3067,2977,2546,2243,2231,2670,3142,3296,3340,2690,1809,1731,1844,2005,1909,1659,1550,1533,1861,2239,2326,2536,2310,1774,1723,1977,2202,1930,2185,1930,2117,1974,1684,1838,2719,3078,3118,3233,3210,3311,3011,2598,2150,1926,1945,2164,2334,2098,1785,1749,1673,2201,2237,1692,1971,1842,1921,2697,2502,2175,2199,2446,2314,2215,2212,2133,2028,2095,2060,2133,2299,2257,2120,1312,989,1614,2326,2919,2387,1541,1481,1556,1938,2426,2364,2466,2629,2526,2702,2466,2081,2333,2598,2929,3198,2931,2271,2434,2821,2934,3038,2300,2036,2071,2051,1837,1849,2243,2474,2713,3122,3475,3688,3131,3127,3326,3461,2773,2646,2722,2215,2238,3072,3621,3266,2399,2536,2768,2805,2920,2518,2336,2560,2823,2865,2352,1891,1736,1999,2038,2181,2296,2231,2500,2640,2200,2032,1808,2222,2228,2013,2006,1476,1781,2183,2567,2750,2422,1903,1848,1673,1654,1684,1786,1793,1658,1445,1664,2556,3369,3034,2040,1902,2374,2510,2156,2008,1861,1848,1847,1724,1620,1810,1896,1755,1575,1973,2117,1667,1871,2137,2049,2097,2135,1815,1673,2040,2100,1966,1898,1923,1918,2121,1877,1968,2157,2186,2122,2030,2116,2511,2357,2213,2363,2126,2070,2136,2237,2045,2336,2578,2522,2299,2332,1885,1925,1892,1824,2018,2003,2520,2191,1956,2210,2030,1832,1671,1545,1693,2119,2423,2218,2231,2502,1922,1490,1694,2236,2250,1813,1872,2220,2089,1772,1511,1658,2172,2015,1826,1713,1754,1910,1880,1626,1366,1942,1878,2117,1951,2041,2938,2765,1911,1908,1973,2071,2436,2316,1976,1992,1983,2100,2460,2334,2889,2532,1847,1603,1950,2272,2461,2602,2679,2466,2390,2176,1718,1280,1705,2101,2435,2228,2372,2644,3066,3444,3789,3815,3782,3522,3200,2746,2253,2111,2093,1922,1554,1470,2074,2140,1685,1506,1786,2208,2566,3320,2749,2050,1787,1296,1798,2264,2033,2269,2862,2791,2341,2035,1934,2210,2152,2214,1931,2107,2788,2458,2293,2527,2300,2170,1898,1910,1954,1809,1667,1644,1895,2067,2109,2071,2047,1989,1935,2090,2247,2132,2049,2166,1833,1958,2006,1925,1917,1976,1994,1848,1712,1749,1968,2086,2110,1970,2081,1814,1672,1605,1800,2244,2275,1891,1793,1832,1795,1716,1778,1584,1576,1832,1960,1942,1720,1561,1657,1771,1750,2008,1953,1865,1576,1541,1590,1494,1522,1416,1316,1516,1672,1552,1576,1654,1597,1729,1489,1629,1766,1721,1869,2155,2312,2403,2369,2094,1939,2956,3143,2744,2323,2337,3071,3260,2381,1636,1964,2189,1827,1664,1466,1544,1883,1960,1936,2338,2332,1820,1725,1826,1934,2046,1821,1424,1244,1356,1393,1450,1496,1450,1874,3718,4723,4334,3392,2400,1979,2520,3343,3108,2695,3365,3714,4050,4349,4412,4247,4197,3990,3723,4147,4396,4533,4555,4516,4300,3480,2646,2916,2707,2530,2349,1944,2169,2602,2459,2332,2221,2493,2507,2164,2076,1770,1503,1424,1698,1827,1736,2498,3838,3536,2808,3446,3127,3431,3834,4846,4747,3836,3178,3221,3266,3181,3206,3334,3373,3300,3385,3206,3066,3174,3040,2938,3057,3171,3320,3074,2591,2003,1405,1443,1983,1884,2078,2464,1867,1809,1918,1781,1663,1790,1597,1522,1701,1782,1920,1754,2070,1504,1086,835,1297,1865,2218,2113,1954,1730,1653,1934,1896,2609,2544,3130,3896,2945,2409,2522,2797,2818,2739,2220,1645,1303,1197,1179,1159,1121,1092,1065,1036,1157,1334,1271,1491,2346,2849,3076,3586,4121,3582,3291,3450,3764,3782,2473,1469,1660,1704,1832,1924,1479,1287,1281,1562,1824,1882,1635,1501,1533,1948,2056,1750,1939,2189,2460,2244,2164,2189,1918,1471,1480,2289,2689,2479,1847,1491,1512,1639,1776,1789,1765,1772,2556,2248,2332,2900,2566,1892,1843,2069,2054,1913,2243,3171,3200,2692,2272,2236,2052,2147,2243,2332,2468,2532,3074,3238,3001,2912,2900,2878,3216,3330,3343,3384,3153,3065,3139,3262,3338,3151,3197,3186,3199,3204,3160,3100,3099,3237,3475,3714,3695,3583,3476,3332,3566,3704,3792,3750,3776,3738,3686,3716,3760,3707,3986,4475,4506,4466,4367,4212,3902,2901,1461,1063,1706,2490,2187,1557,1343,1368,1600,1585,1520,1474,1497,1576,1526,1266,1191,1278,1326,1336,1233,1256,1517,1488,1239,1250,1191,1207,1212,1310,1477,1583,2078,1902,1725,2653,2361,1763,2902,2092,1769,1592,1620,1465,1353,1342,1384,1462,1370,1727,1841,1742,2330,2020,2365,2502,2144,2026,1678,1379,1538,1708,1724,2178,2379,2188,2199,1858,2035,2277,1890,2076,2863,2533,2371,2522,2074,2145,1998,1867,1968,2138,2525,2379,2127,2440,2504,1880,2232,2501,2087,2156,2463,2437,1983,1815,2413,3031,2600,1981,2020,2104,2161,1819,1139,1134,1921,2624,2553,2840,3234,2584,2409,2922,2257,1717,1839,2332,2810,2933,2191,2002,2120,1920,2013,2780,2966,2465,2138,2186,2078,2052,2811,3799,3187,3393,3499,2608,3155,2944,1819,2323,2436,1664,1643,1887,1846,2691,3220,2942,2672,2589,2899,2851,2967,3758,3395,2856,2906,2620,2262,2060,2063,2854,3085,3134,2745,2554,2420,1642,1618,2238,2170,1805,1930,2196,2916,3484,3278,2474,2156,2401,3152,4089,4451,4396,4472,3682,2634,2484,2386,2714,2950,2861,2552,2197,2625,2496,2215,2354,2322,1946,2168,2742,3063,3171,3160,2680,2562,2298,2299,2347,2143,2058,1950,2344,3165,3408,2665,1300,1346,1755,1682,1692,1533,1902,2018,1966,1925,1833,1877,2507,2408,1775,1963,2908,2061,2020,1794,1678,2143,2192,1949,2418,2828,2430,2296,2199,2920,2632,2335,2647,2708,3249,3094,2763,2940,2950,2491,2481,2031,2284,2690,2430,2658,2348,2128,2475,2319,2198,2771,3310,3397,3270,3017,3065,3173,2724,1887,1985,2203,2308,1747,1374,1645,1802,1968,2110,2531,3322,3880,2988,1760,1602,1489,1340,1293,1648,1742,1397,1401,1596,1783,2165,2667,2719,2690,2744,3016,3138,3275,3463,3284,2922,2854,2876,3299,3986,3291,2721,2878,3223,3670,3391,2507,2055,1911,2050,2349,1966,1716,2115,1939,1445,1482,1826,1789,1886,1897,1792,1729,1672,1714,1725,1911,1832,1874,1868,2010,2172,2153,2265,2056,1601,1549,1803,2108,2900,2786,2521,2489,2268,1797,1873,2100,2203,2328,2698,2986,2767,2410,1730,1703,1924,1872,1708,1582,1442,1460,1876,2042,1931,1785,2008,2831,3494,2260,1892,1859,1883,1700,2214,3043,3594,3545,3374,3094,2464,2247,2373,2230,1816,2250,3226,3819,3820,2971,2160,2087,2182,2195,1649,2037,2196,1914,1942,1761,1222,1036,1368,1793,1914,1900,1820,1682,1603,1437,1590,1926,2508,3010,3434,3442,3164,2182,1488,1802,1795,1961,2664,2803,1984,1462,1872,2014,1960,2497,2727,2129,2076,2301,2259,1950,2005,1858,1940,1655,1520,1612,1952,2120,2448,2822,2631,2133,1824,2130,2481,3000,2880,2936,3387,3171,2830,2097,1973,2262,1808,1829,2215,2574,2769,2660,2800,2668,2214,2127,2781,2941,2292,1887,1956,2122,2344,2553,2435,2306,2370,3083,3124,2889,2744,2631,3144,2811,1953,1543,1308,1500,1675,1848,1795,1796,2500,2968,2930,2684,2172,1730,1620,1809,1987,1803,1976,2486,2971,2987,2490,2467,2142,2003,3200,3441,2774,2995,2911,2262,2732,2959,2314,1898,2351,2424,2434,2702,2611,2563,2791,2767,2468,2706,2956,3226,2854,2995,3318,3431,3603,3431,2871,2938,3132,2957,2899,2499,1935,2239,2614,1974,2618,2800,2900,2788,2308,2579,2482,2133,2497,2376,2933,2664,2148,2618,2930,2802,2546,2853,3198,3095,3183,3614,4270,4273,3914,3680,3252,3249,3410,3095,2584,2092,1881,2181,3228,4086,3714,2824,2566,2632,2683],[2350,2332,2952,2822,2503,2732,2602,2669,2834,2802,2866,2846,2893,2774,2844,2686,2131,2007,2216,2862,3168,3294,3194,3298,3450,3287,2925,2535,2167,2187,2574,2980,2949,3275,3393,2652,2358,2775,2880,2733,2617,2820,2570,2477,2615,2431,2545,2678,2917,2742,3025,3791,3959,3394,2946,2905,3024,3477,3424,2888,2977,3702,3558,3583,4183,4476,4200,3325,2561,2184,2390,2663,2372,1983,2055,2145,2405,2592,3036,2778,2295,2139,2279,2398,2226,2078,2200,2265,2834,3098,2900,2603,2556,2520,2591,2845,2886,2979,3703,3985,3705,3594,3667,3880,3769,3348,2977,2868,2954,2778,2679,2818,2951,3204,2514,2570,2623,2545,2403,2273,2520,2873,2953,2348,2114,2394,2692,2701,2259,2601,3006,2935,2300,1862,2115,2143,1829,1800,1724,1842,1754,1673,1729,2011,2322,2529,2359,2163,2179,2264,2252,2786,3349,2820,2463,2779,2192,2266,2512,2806,2729,2711,2881,2862,2778,2618,2832,2782,2583,2599,2666,2727,3104,3205,2543,2222,2353,2823,3340,3320,3067,2766,2446,2333,2160,2206,2462,2826,3330,3009,3002,2806,2907,3074,2790,2547,2549,2398,2365,2902,3094,2812,2951,3044,2998,3024,3045,2947,3076,3099,2951,2898,2441,2179,1885,2702,2952,3049,3253,3283,3128,3272,4028,4433,4100,2940,2699,3165,2810,2799,3205,3152,2925,3538,3525,3256,2984,3157,3276,2738,3233,3632,4037,4183,3725,4062,3216,2765,3230,3546,3168,2491,2387,2712,3098,2888,3396,3120,2387,1931,1559,1311,1506,1856,1971,2281,2470,2199,1895,1897,1767,2128,2059,2178,2679,2199,1847,1919,2217,2397,2670,2834,2487,2368,2253,2036,1848,1618,1725,2104,2703,2421,1766,2495,3279,3463,3077,2964,2762,2068,1823,1941,2675,3510,3573,2893,2280,2198,2121,1961,2492,2944,3188,2986,3136,2711,2803,2550,2163,2127,1978,2104,2237,2385,2740,2392,2574,2582,3151,2860,2359,2395,2973,2917,2632,3293,3397,3133,3101,2526,1664,2035,2549,2286,1847,1843,1863,1748,1727,1965,2035,1934,1862,1799,1709,1605,1775,1941,1870,1902,1962,2132,2093,1888,2001,2386,2447,2199,2162,2820,2477,2214,2225,2390,2340,1891,1690,1707,1666,2042,2323,2517,2626,2799,2488,2148,1960,1730,2095,2776,2955,3136,2651,1792,1935,1665,1710,2077,1895,1605,1545,1621,1824,2160,2314,2140,1840,1651,2139,2110,1967,2346,1925,2032,2021,1979,1926,2237,2447,2601,2801,2967,2950,2101,2199,1860,1843,2095,2123,2281,2154,1918,2080,2386,2403,2392,2375,2314,1875,2250,2750,2696,2290,2409,3140,2844,2371,2646,2387,1979,2317,2381,2232,2355,2132,1810,1098,1012,1808,2254,1979,1692,1526,1566,1702,1877,2090,2103,2031,2853,3450,3278,2381,2220,2408,2250,3089,3870,3409,2607,2524,2595,2454,3399,2981,2283,2164,2136,2285,2274,2412,2438,2720,3227,3104,2884,2873,2905,2978,3212,3068,2953,2759,1969,1859,2846,3281,3552,3304,2795,2414,2180,2447,2569,2832,2868,2787,2844,2507,2531,2600,2239,1980,2389,2265,2415,2695,2481,1997,1692,1538,1346,1829,2288,1934,2017,2836,2922,2845,2510,2110,1783,1607,1813,2011,1912,2022,2220,2688,2000,1892,2543,2525,2175,1866,1714,1958,2029,2185,2266,1907,1605,1122,970,1526,1682,1781,1686,1429,1606,1248,1071,1545,2081,2154,1791,1926,1865,2090,2230,2142,2077,1886,2075,2295,2097,2004,2029,2183,2081,1543,1620,2093,1959,1399,1690,2784,3174,2781,2339,1967,2033,2162,1934,2362,2600,2706,2420,2292,2242,2039,2084,1991,2033,2175,2275,2188,1762,1715,1991,1938,1844,1978,1896,1958,2256,2606,2263,1499,1615,2218,2297,2169,1953,2174,2242,2355,2098,2470,2199,1591,1572,1660,1852,1971,1757,1535,1814,1813,1544,1948,1509,1203,2279,2480,2203,2437,2219,2156,2169,2376,2061,2022,2149,1923,2039,2207,2199,2159,2063,2092,2419,2352,1907,2272,2502,2057,2231,2508,2373,2126,1932,1701,1749,2113,2343,2462,2829,3128,3449,3645,3623,3452,3401,2747,2332,2315,2142,2072,1842,1964,2272,1847,1591,1861,2112,2465,2874,2729,2262,2088,1458,1521,2115,1717,1590,1866,2200,2266,1902,1635,1700,2279,2264,2094,2081,2334,2471,2293,2137,2158,1889,1648,1505,1655,1906,2009,1943,1986,2015,1942,1857,1655,1347,1354,1290,1472,1768,1787,1798,1746,1837,1675,1677,2102,2275,2336,2201,1788,1294,1737,2226,2308,2009,1789,1779,1620,1490,1634,2008,2101,2033,1733,1485,1498,1816,1753,1579,2413,2940,2024,2051,2067,1748,1610,1555,1650,1860,1864,1851,1815,1811,1940,1862,1831,1678,1358,1535,1937,1960,1609,1622,1512,1435,1681,1722,1702,1840,2181,2769,2934,2588,2376,2292,2481,2972,3667,3465,2790,2292,2581,3222,3551,2741,1791,2101,2216,1862,1685,1611,1730,1678,1581,2155,2720,2103,1675,1772,1901,1867,1493,1399,1316,1277,1360,1414,1434,1446,1399,1382,2777,4516,4665,4088,3484,3027,3376,3841,3654,3494,3817,3774,3683,3862,3963,3985,4195,3960,3646,4161,4476,4561,4488,4280,4380,3974,2809,2791,2764,2430,2214,1953,2092,2385,2587,2519,2518,2464,2197,2315,2152,1777,1858,2284,2587,2421,1864,2397,3300,3761,3488,3833,3436,3664,4213,5025,5585,5397,4408,3248,3029,3117,3078,3316,3626,3704,3489,3182,3138,2988,2739,2987,3218,3211,3009,2630,2260,1902,1466,2010,2259,2281,2225,2185,1870,1679,1744,1751,1886,1980,2004,1803,1946,1765,1781,1742,2155,2391,1754,1152,1262,1534,1810,1582,1612,1746,1626,2367,2754,2654,2120,2750,2484,1802,2121,2964,3089,2269,1735,1302,1191,1141,1166,1129,1119,1156,1142,1116,1087,1104,1243,1436,1726,2458,2769,3276,3913,4195,3924,4017,4388,4640,4617,3342,1908,1976,1933,1881,1920,1581,1315,1308,1632,2023,2100,1753,1682,1674,1603,1730,1822,1986,2154,2271,2201,2055,1837,1570,1722,2048,2344,2502,1919,1370,1302,1662,2011,2018,1782,1800,1772,2454,2060,1964,2376,2044,1663,1856,2054,2019,1942,1833,2241,3194,3465,3077,2743,2601,2687,2517,2533,2624,2489,2726,2973,3133,3064,3106,2928,3153,3228,3154,3228,3181,3083,3064,3073,3281,3431,3492,3259,3197,3172,3031,3078,3270,3427,3650,3987,3979,3768,3605,3450,3624,3695,3825,3844,3754,3694,3659,3637,3617,3615,3767,4228,4628,4740,4567,4371,4284,3784,2678,1404,1259,2399,2829,1859,1362,1318,1429,1576,1586,1394,1504,1516,1428,1382,1338,1291,1285,1240,1220,1390,1443,1435,1330,1473,1307,1268,1447,1540,1463,1600,2169,2036,1591,2391,2785,1842,1635,1677,1687,1456,1563,1540,1380,1450,1515,1457,1418,1551,1616,1641,1833,2477,2999,2985,2210,1613,1627,1571,1805,2189,1975,2181,2259,1974,2271,2252,2152,2184,1809,1906,2588,2757,2470,2010,1763,2024,2044,2409,2395,2304,2470,2276,1978,2423,2319,2160,2731,2763,2554,2339,2509,3113,2257,2184,2142,2519,2588,2062,1925,2014,2186,1802,1274,2060,2740,2493,2556,2733,3398,2658,2217,2163,1793,2571,2858,2657,2213,2455,2578,2486,1958,1676,1691,2218,3012,2879,2231,1884,1928,2121,2428,3510,3343,2601,2592,1698,1902,2186,1793,1637,1737,1671,2216,2380,1842,2357,2810,2488,2315,2762,3555,3300,3116,3525,3492,2871,3030,2917,2216,1606,1819,2281,2363,2938,2469,2026,2029,1249,1088,2115,2575,2103,2058,2084,2789,2433,2108,2159,2379,2392,2568,3387,3818,3486,3200,2633,2317,2498,2192,2343,2162,2952,3515,3024,2984,2661,2247,2753,2652,2396,2700,2795,2679,2338,2242,2143,2123,2298,2417,2301,2106,1994,2500,3016,3294,3408,3073,2014,2305,2590,2236,1866,1998,2155,2231,2493,2526,2339,2149,2579,2067,1967,2401,2731,2106,1824,1817,2030,2178,2025,1618,2314,2811,2553,2525,2265,2369,2120,1886,2462,3262,3433,3499,3190,2984,3172,2833,2950,2811,3075,3271,2416,1847,1636,1461,1726,2267,2462,2729,3430,3498,3251,3179,3311,3241,3077,2990,2724,2500,2164,1543,1435,1632,1698,1956,1811,2242,3284,3506,2435,1988,1645,1488,1387,1370,1797,1669,1386,1428,1922,1916,2274,2601,2667,2698,2878,3151,3370,3547,3525,3049,2647,2492,3431,3998,3830,3330,3201,3275,3565,3507,2986,2610,2414,2858,3060,2600,1980,2092,2288,1910,1456,1492,1730,1935,2071,1936,1829,1768,1652,1650,1628,1702,1837,1781,1732,1882,2009,2096,2232,2562,2643,1814,1707,1830,2266,2402,2061,1635,1814,2002,2315,2450,2240,2425,2792,3041,2470,1954,1617,1436,1647,1802,1813,1651,1527,1824,2215,1892,1505,1708,2423,2271,2147,1770,1873,2064,2435,2308,1921,2392,2841,3183,3387,3256,3042,2595,2939,3674,2922,3064,3581,3573,3122,2240,2099,2450,2340,2358,1866,2484,2469,1791,1660,1299,983,920,1225,1567,1792,1935,1679,1430,1516,1525,1449,1456,2138,3146,3763,3492,2544,1509,1253,1642,1699,2053,2597,2666,1888,1412,1801,2223,2114,2467,2445,1662,1813,2285,2802,2204,1954,2033,1620,1360,1505,1490,1618,1729,1919,2271,2636,2518,2140,2426,2530,3341,2677,2007,2683,3054,2554,1822,2176,2979,2202,2138,2036,2071,2569,2893,2858,2790,2287,2034,2824,2636,2082,2535,2447,2339,2292,2600,2636,2340,2298,2503,2429,2425,2370,2756,3080,2825,2280,1648,1670,2315,2385,1919,1807,1949,2298,2746,2784,2117,1680,1727,1796,1979,2283,1897,1938,2254,2355,2556,2452,2830,3020,2966,3288,2612,2491,2944,2975,2366,2609,2421,1964,1718,2141,2605,2674,2499,2630,2788,2750,2382,2325,2878,2972,2717,2371,3105,3931,4227,4008,3300,2884,3021,3096,3112,2931,2472,2210,3143,3267,2829,2884,2787,2686,2597,2368,2090,1761,2285,2431,2384,2916,2686,2705,2997,3155,3158,3024,3339,3123,2880,3056,3127,3852,4229,4212,3862,3648,3541,3373,2994,2662,2353,2135,2181,2857,3305,3054,2333,2468,2285,2333],[2517,2943,3304,2830,2448,2352,2208,2666,2663,1835,2222,2202,2095,2358,2687,2584,2264,2402,2728,2676,2054,2121,2730,3238,3605,3356,2676,2316,2256,2677,3008,3153,3076,3483,3815,2756,2141,2690,2731,2729,2894,3032,2630,2583,2636,2806,2952,2873,2779,2624,2757,2855,2813,3153,3138,3285,2956,2906,3125,2658,2951,3686,2969,2374,2846,3917,4544,3828,3284,2801,2240,2330,2635,2418,2222,2072,2026,2082,2255,2248,1954,2366,3023,2046,1905,2250,2252,2376,2812,3003,2980,2896,2731,2631,2851,3089,2885,3091,3637,3420,2846,2950,3542,4006,3948,3272,2482,2243,2417,2459,2374,3259,3580,3373,2734,2376,2148,2014,2223,2668,2552,2664,2939,1885,1642,2272,2708,2657,2745,2613,2221,2098,1930,1742,1969,2112,2063,1741,1588,1694,1593,1550,1636,2272,2377,2501,2470,2242,2164,2331,2266,2354,2503,2337,2627,2878,2349,2298,2734,3040,3343,3211,3098,3351,3382,3365,3476,3572,3348,3228,3045,3141,3270,3357,2602,2500,2599,2721,3411,3580,3414,3108,2714,2396,2147,2190,2386,2707,3145,3140,3115,2818,2530,2549,2354,2307,2416,2845,3498,3851,3681,2827,2733,3021,2928,2849,2949,3208,3341,3210,3118,3220,2691,2399,2522,3304,3405,3122,3056,3407,3370,3151,3529,4207,4296,2876,2702,2912,2671,2552,2633,2416,2933,3587,3451,3158,2884,2833,2825,2636,2939,3188,3640,3602,4235,3819,2478,2406,3042,3317,2574,1677,1987,2718,2905,2919,2872,2857,2611,2622,2523,1996,2052,2284,2083,2000,2130,2016,1964,2008,1719,2512,2830,2448,2060,1831,1641,2264,2864,2880,2736,2332,2364,2536,2320,1996,1688,1476,1845,2386,2822,2249,1717,2286,2720,3386,3400,3298,3067,2491,2298,2688,3238,3431,3218,2898,2578,2565,2261,2698,3154,3170,2698,2805,3541,2776,2030,2140,2258,2320,2111,2554,2458,2450,2567,2188,1976,2242,2739,2631,2570,2529,2559,2619,3000,3483,3350,3173,3340,2807,1771,2833,3675,2749,2426,2504,2042,1941,2208,2407,2921,2331,1905,1832,1666,1792,1915,1864,1914,1763,1643,1807,1790,1653,1682,2355,2491,1985,2556,2874,2276,2303,2574,2366,1895,1670,1852,1703,1486,1435,1530,2031,2231,2244,2203,2155,1823,2043,2950,2908,2262,2504,2657,2201,2357,1929,1862,2257,2053,1986,2234,2109,2031,2232,2263,2584,2136,1803,2298,1976,1769,1531,1384,1763,2254,2169,1660,1666,1923,2143,2808,2800,2425,2492,2496,1852,1808,2099,2184,2206,1995,1840,2392,3130,2447,2491,2988,2272,1780,2490,2410,2008,1790,2233,3065,3101,2657,2885,2405,2190,2604,2471,2156,2241,2244,1882,1455,1489,2079,2106,2029,1887,1654,1646,1997,2009,1972,2104,1824,2547,3598,3238,2241,2093,2114,1701,2178,3391,3396,2620,2436,2357,2500,3124,2832,2342,2248,2668,2951,2632,2589,2333,1866,2142,2416,2620,2644,2629,2849,2866,3019,3000,2544,2247,2720,3500,3672,3271,3227,2854,2455,2191,2022,2147,2374,2402,2306,2564,2600,2574,2689,2285,2059,2749,2773,2996,3089,2235,1766,1625,1446,1077,1545,1769,1395,1903,2272,2213,2155,2147,2285,2043,1774,2095,1835,1784,1958,2821,3350,2846,2436,2365,2067,2077,2083,1888,1876,1744,1908,1824,1555,1093,1094,1498,1948,1947,1798,1614,1569,1349,943,1343,1932,2077,1494,1577,2178,2175,2044,1903,1828,1714,1658,2159,2388,2098,2328,2490,2400,2051,1749,1876,2178,1519,1174,1560,2593,3693,3438,2644,2266,2377,2217,1986,2284,2288,2133,2210,2187,2261,2424,2625,2513,2371,2147,1976,1891,1863,2393,2518,2198,1874,1769,1746,2223,2411,2308,2191,1665,1612,2072,3094,3585,2381,1800,1777,1874,2236,2428,1836,1775,1947,1720,1534,1754,1744,1787,2182,1729,2144,2398,1431,1165,2102,2602,2769,2647,1857,1961,2058,2359,1876,1847,2091,2047,2179,2208,2032,1962,2009,2381,2525,2232,1725,2570,2250,1654,1991,2753,2487,2366,2137,1688,1838,2159,2420,2454,1917,2018,2453,3320,3510,3185,3003,2291,1965,2023,2025,2099,2049,1998,1892,1666,1675,2055,2263,2497,3317,3182,2689,2024,1541,1706,1500,821,1126,1828,2002,2332,2357,1947,1969,2309,2277,2073,2024,1805,1470,1543,1549,1578,1525,1628,2132,2388,2241,2128,2063,1930,1830,1809,1775,1316,979,1260,1395,1490,1699,1861,1740,2053,2342,2084,2092,2317,2554,2810,2563,2086,2170,2447,2322,2118,1862,1731,1683,1909,2452,2143,1861,1603,1674,1399,1578,1637,1552,1618,2205,4431,4188,2208,2198,1868,1699,1578,1538,1549,1741,1636,1559,1634,1718,1850,2002,1886,1694,1644,1810,1957,1880,1593,1628,1594,1874,2202,2061,1998,2244,2299,2306,2550,2627,2326,2275,3112,3671,3762,3652,2740,2064,2501,3248,3028,2457,2646,3121,3106,2048,1824,1832,1650,1576,1872,2338,2126,1605,1604,1817,1968,1702,1417,1456,1599,1472,1322,1337,1432,1416,1396,1362,2052,3883,5006,4840,4531,4004,3782,3789,3894,3958,3625,3259,3234,3480,3604,3760,4152,4185,3949,4132,4307,4371,3825,3870,4619,3753,2844,2869,2416,2041,1881,2140,1858,1700,2484,2679,2852,3087,2984,2672,2157,1882,1897,2120,2133,2077,1751,2444,3068,3531,3789,4283,4229,3736,3596,4014,4348,5072,5200,3874,3285,3099,3192,3400,3551,3319,3128,3121,3306,3132,2707,2591,2943,3128,2618,2288,2081,1958,1932,2292,2547,2434,2083,1978,1732,1329,1109,1310,1570,1727,1939,1892,1969,1832,1561,2077,2844,3110,2173,879,1341,1804,1533,1596,1752,1904,1782,2580,3739,3186,2627,2831,2011,2336,3505,4243,3748,2180,1400,1232,1192,1168,1181,1152,1109,1083,1139,1146,1110,1108,1418,2220,2552,2857,3410,3948,4163,4312,4408,4416,4286,4347,4340,3129,2034,1743,1634,1927,1830,1563,1630,1561,1679,1785,1615,1570,1767,1653,1609,1856,1695,1667,1783,1469,1405,1346,1316,1642,2032,2279,2319,2062,1336,1453,1512,1610,1701,1505,1419,1708,1735,1659,1701,1584,1603,1399,1480,1837,2156,2026,2047,1980,1776,2441,3317,3670,3471,3253,3055,2936,2986,2872,2567,2499,2791,2987,3155,3113,2966,3051,3239,3464,3482,3372,3306,3186,2956,3277,3654,3696,3586,3552,3384,3238,3320,3474,3565,3713,3996,3926,3811,3714,3532,3399,3462,3647,3737,3679,3628,3648,3662,3697,3639,3662,3960,4496,4877,4784,4512,4352,4013,3475,2402,1230,1433,2652,2274,1577,1678,1572,1549,1483,1413,1438,1432,1432,1416,1367,1359,1353,1388,1292,1390,1411,1376,1427,1551,1365,1344,1485,1542,1471,1366,1633,1650,1362,1798,2057,1653,1500,1717,1770,1484,1441,1718,1667,1965,1330,1294,1594,1194,1321,1705,1857,2480,2796,2378,1829,1704,1815,1982,2006,2052,1912,2048,2624,2364,2367,2215,1815,2019,2010,1752,2241,2945,2369,2146,2095,2186,2702,2668,2339,2350,2501,2620,2668,2248,1806,1894,1805,2098,2176,2109,2820,3039,2510,2422,1950,1875,2343,2241,2198,2510,2829,2599,2003,2843,2584,2365,2453,2486,3343,3194,2428,2037,2207,2969,2211,2175,2018,2352,2327,2186,2163,2003,1780,2261,2792,2728,2148,2020,2454,2426,2253,2573,2603,1794,1649,1732,1715,1698,1795,1516,1798,1998,2574,2502,2022,1803,2106,2142,2254,3113,3742,3902,3431,3096,3443,2824,2828,2459,1809,1340,1486,2001,2900,3448,2952,2610,2240,1359,1773,2924,2998,2780,2762,2620,2510,2336,2051,1935,2035,1960,2364,3020,3141,2690,2619,2406,2025,2085,2345,2447,2308,3230,4006,3602,3294,3228,2425,2967,3441,3263,2933,2569,2159,1969,2430,2563,2284,2366,2539,2485,2192,1884,2557,2807,2904,3072,3213,2852,2673,2796,2513,2016,1672,1628,2087,2481,2275,2028,2306,2800,2381,2437,2799,2498,1896,1592,2321,2847,2163,2272,2346,2955,2684,2521,2724,2749,2614,2330,1970,2720,3371,3084,3686,3492,3217,3190,2479,2435,2777,3537,3362,2535,2198,1837,1754,2299,2576,2322,2844,3352,3344,3256,3176,3264,3194,3250,3686,3536,3095,3045,2962,2215,2015,1860,1621,1491,1815,2426,2212,1937,1838,1538,1653,1665,2150,2574,1811,1604,1919,1969,1769,2082,2385,2489,2547,2430,2805,3323,3548,3526,3347,2879,2673,3727,3973,3606,3324,3349,3614,3934,3781,2910,2312,2597,3210,2979,2880,2481,2132,1761,1480,1728,1991,1924,1946,1944,1836,1569,1554,1495,1361,1424,1650,1688,1625,1747,1798,1824,1932,2057,2338,2264,1847,1691,1700,1705,1766,1697,1625,1626,1851,1989,1547,1742,2857,2993,2842,2276,1739,1596,1472,1449,1531,1778,1997,2111,2267,2368,1656,1520,1824,3178,2847,2214,1896,2115,2637,3356,3271,2447,2248,2654,2952,2844,3251,3269,3218,3681,3996,2956,2613,3135,3041,2280,1785,1774,2183,2183,2121,2404,3132,2625,1825,1666,1593,1129,961,1480,1513,1720,1869,1496,1476,1524,1445,1296,1552,2056,2940,3696,2990,2064,1558,1796,1799,1728,1837,2394,2211,2020,1843,1962,1992,1654,1928,2424,2402,2324,2384,2508,1949,1758,1789,1572,1638,1694,1673,1699,1770,1896,1850,2143,2269,2186,2237,2635,3034,2116,1595,2185,2502,2254,2430,2076,2462,2645,2548,2326,2019,2189,2624,2846,2596,1760,1880,2700,2947,3028,3175,2751,2333,2174,2067,2251,2302,2072,2093,2348,2364,2351,2865,2536,2406,2112,1479,1616,2834,2945,2059,1638,1904,2141,2360,2500,1783,1645,1755,1651,1916,2019,2166,2310,2358,2436,2634,2392,2728,3144,2577,2572,2284,2558,2577,2284,1955,2105,2009,2066,1849,1472,1784,2122,1924,2382,2432,2634,1994,2286,2986,3173,2566,2317,2808,3425,3952,3353,2588,2783,2979,2809,2721,2636,2280,2536,3012,2505,2242,2436,2761,2557,2677,2640,2134,1743,2143,2470,2395,2568,3085,3372,3077,3036,3386,3399,3208,2886,2886,3022,2767,3198,3971,3914,3804,3683,3392,3386,3329,3205,2454,1919,2278,2866,3210,2658,2319,2544,1985,1785],[2846,3190,2797,2357,2283,2475,2496,2325,2510,2552,2867,2309,1716,2132,2498,2511,2644,2750,2777,2499,2184,2287,2566,3851,3770,3334,2519,2375,2322,2661,2819,2843,3245,3799,3894,2793,2402,2518,2473,2206,2330,2177,2137,2219,2182,2498,2676,2779,2918,3131,2854,2483,2500,2597,2602,3171,3295,3444,3499,3241,3488,3606,2854,2322,2186,3182,4261,4200,3948,3470,2968,2373,2554,2684,2508,2388,2260,2131,1959,1781,2231,2994,3423,2007,1942,2132,2375,2913,3109,3085,2903,2688,2786,2767,2869,2864,2739,2931,3277,3156,2724,2896,3514,3906,3911,3110,1897,1272,1970,2688,2423,3313,3423,2890,2275,2039,1591,1392,2137,2777,2783,3109,2973,1671,1255,2115,2537,2464,2895,2533,2164,2198,2117,1817,1801,2059,2061,1808,2121,2107,2173,1895,1720,2043,2317,2346,2316,1949,1950,2226,2303,2480,2361,2063,2307,2204,2086,2696,3326,3441,3459,3209,2651,2667,2972,3875,3916,3988,3608,3382,3156,3289,3280,2950,2341,2165,2261,2796,3289,3460,3391,2770,2243,2198,2326,2602,2703,2556,2775,2853,2571,2365,2398,2427,2318,2466,2812,2843,2734,3066,3031,2451,2502,2872,2574,2220,2601,3298,3229,3064,3215,3860,3921,2911,2357,2657,2952,3211,3248,3211,3602,3493,3304,3558,3916,2641,2707,2918,2604,2797,2683,2309,2830,3493,3551,3364,2746,2961,2807,2550,3075,3555,3595,3686,3764,3040,2714,2985,3112,2875,2181,2073,2602,3191,3232,3481,2863,2841,3107,3321,3509,3168,3164,2521,1945,1757,1853,2031,1866,1591,1674,2613,3089,2569,1957,1913,2179,2988,3034,3006,2374,2189,2364,2412,2239,2194,2080,1822,2005,2654,2917,2361,2409,2676,3389,3708,3448,3577,3229,2631,2603,2583,3022,3161,3172,3130,2950,2626,2536,2679,3034,2872,1953,2146,2907,2370,1790,1895,2402,2687,2332,2951,3282,2835,2585,2183,1999,2588,2737,2546,2714,2513,2355,2292,3178,3279,3209,2981,2798,2143,2157,3646,4048,3111,2753,2900,2562,2266,2194,2389,3065,2856,2153,1809,1793,1826,1847,2091,2382,1864,1605,2011,1752,1821,1792,2287,2287,2377,2849,2652,2420,2536,2644,2297,2326,2265,2072,1528,1323,1508,1651,1729,1761,1804,2052,2128,2092,2962,3520,3146,2681,2338,2619,2585,2328,2171,2269,2297,2246,2469,2632,2125,1840,1965,2202,2592,2272,2492,2934,2633,2172,1593,1322,1613,2158,2658,1910,1750,2231,2619,2862,2551,2277,2636,2409,1884,1893,2040,2219,2359,2027,1931,2855,2964,2622,2736,2902,2039,2166,2647,2198,1771,1994,2254,2555,2733,2488,2856,2750,2477,2380,1923,1874,2250,2205,2002,1443,1329,1837,1916,2141,2023,1938,2062,2688,2278,1820,2079,2093,2221,2805,2563,2265,2288,2191,1753,1758,2633,2617,2203,2219,2067,1948,1841,1900,2269,3068,3650,3328,2931,2662,2223,2113,2653,2872,2620,2375,2629,2893,2729,2995,3320,2712,2476,2812,3044,2846,2617,3250,3142,2259,2007,1839,2040,2486,2383,2312,2874,2670,2193,2289,2329,2247,2552,2720,2947,2935,2254,1862,1797,1504,1235,1522,1598,1477,1797,1988,1970,2039,2114,2275,2135,2300,2327,1835,1756,1987,2929,3269,3393,2803,1990,1890,2368,2429,2038,1881,1849,1428,1034,961,1011,1582,1887,2120,2202,1817,1650,1536,1400,1152,1694,1893,1927,1570,1810,1883,1605,1737,1848,1892,1857,1548,1875,2025,1961,2389,2500,2038,2321,2515,2574,2777,2192,1700,1865,2442,3295,3025,2632,2045,2221,2448,2253,2277,2211,2149,2148,2345,2420,2300,2488,2521,2571,2702,2502,2367,2300,2164,1941,1954,1947,1899,1897,1962,1997,2108,2146,1789,1678,1858,2338,2569,2203,1782,1774,2048,2203,2024,1917,2053,1670,1977,1634,1575,1168,1112,1546,1890,2249,2108,1533,1455,1720,1884,2348,2366,1895,2414,2395,2163,1841,2032,2188,1599,1380,1695,1726,1794,1931,2280,2115,2101,2244,2692,2437,1993,2403,2577,2009,2358,2273,2236,2331,2262,2469,2723,2319,1748,1653,2054,2894,3331,2588,1853,1683,1757,1877,2023,1978,1921,1758,1672,1814,2132,2164,2588,3255,3387,2920,2370,2034,1748,1303,1208,1122,1748,2097,2218,2446,2187,1881,2239,2136,1632,1636,1632,1644,1988,1738,1646,1679,1843,2367,2725,2422,2324,2131,2062,1891,1549,1679,1889,1789,2430,3011,3055,2853,2281,2227,2585,2618,2963,2725,2563,2630,2712,2701,2004,2269,2295,1856,2010,1771,1257,1544,2454,3233,2258,1724,1603,1461,1370,1781,1882,1687,1626,2359,3238,2076,2010,1883,1562,1457,1613,1744,1773,1528,1245,1238,1334,1500,1708,1849,1803,1634,1595,1655,1673,1605,1724,1710,1566,1914,2161,1929,1957,2733,2509,1873,1694,1512,1671,2757,3375,3355,3709,3365,2646,2542,2820,3631,3517,3630,3493,3831,3660,2418,2022,1952,1775,2177,2620,2144,1742,1835,1868,1905,1918,1720,1508,1424,1528,1386,1359,1555,1434,1422,1466,1502,1583,2857,4296,4100,3731,3492,3521,3688,3584,3520,3736,3442,3254,3266,3360,3506,3553,3248,3210,3545,3420,3312,2786,2892,3894,4046,3008,2262,1696,1746,1622,2141,1850,1690,2281,2690,2750,2856,2869,2388,2009,2190,2122,2034,2069,2205,2140,2455,2864,2983,3403,3565,3156,2838,3237,3550,3474,4243,5229,4645,3896,3456,3113,3019,2990,3043,3139,3097,3362,3219,2798,2530,2630,2711,2247,1879,1693,1554,1719,1846,2066,2029,1849,1878,1752,1368,1211,1490,1382,1582,1757,1731,1632,1524,1887,2951,3025,2510,1737,805,1426,2117,1720,1691,1836,1891,1693,2512,3865,3395,3174,3945,3490,3969,4172,3981,4037,2943,1551,1176,1162,1095,1086,1147,1141,1123,1215,1164,1284,1531,2106,3105,3733,3824,3837,3807,4034,4253,4078,3923,3816,3770,3639,2742,2375,1783,1494,1852,1671,1492,1536,1497,1794,1767,1772,1817,2095,1969,1696,1893,2091,2067,1762,1353,1550,1741,1718,1890,2032,2238,2280,2280,1986,2047,1913,1763,1908,2024,2105,2172,1881,1611,1902,1916,1782,1789,1824,1953,2065,2060,2062,2089,1980,1890,2196,2633,3120,3492,3627,3615,3540,3491,3141,2883,2879,2930,3178,3350,3277,3206,3332,3491,3522,3593,3491,3491,3442,3607,3709,3684,3710,3791,3677,3517,3584,3588,3561,3619,3574,3552,3627,3683,3641,3661,3742,3745,3797,3830,3768,3657,3790,3830,3798,3817,3853,4207,4602,4725,4709,4536,4240,3967,3406,2336,1110,1424,1805,1780,2033,1646,1378,1446,1458,1495,1589,1654,1819,1856,1492,1375,1385,1289,1372,1547,1434,1436,1431,1377,1431,1459,1372,1406,1285,1420,1479,1315,1152,1128,1270,1459,1727,2016,2015,1910,1787,1717,2238,1694,1462,1694,1347,1268,1487,1569,1625,1735,1608,1476,1474,1941,2301,2052,1886,2359,2580,2698,2398,2455,2506,1962,1858,1753,1746,2196,3349,2619,2469,2293,2468,3076,3018,2595,2411,2761,3619,3444,2099,2149,2442,1643,2058,2151,2192,2653,2729,2843,2819,2569,2371,2724,2599,2353,2674,2728,2621,2678,3474,2909,2401,2220,2094,2565,2507,2233,2139,2334,2396,2244,2378,2186,1799,2011,2324,2435,2431,1981,1995,2491,2587,1748,2076,2503,2376,1787,1952,2496,2495,2177,1857,1657,1410,1562,1943,2322,2105,2198,2193,1997,1774,1959,1989,2081,2817,3413,3875,3419,2800,2798,2566,2633,2582,2333,2040,1953,2339,2655,2315,2209,2301,2225,2054,2778,3129,3130,2941,2242,2391,2448,2176,2184,2227,2269,2415,3043,3153,3016,3039,2696,2742,2314,2543,3405,3106,2531,2910,3495,3618,3394,3554,2491,2495,2790,2070,1725,2212,2282,2510,2922,2426,2050,2220,2227,1984,2041,2037,2658,2347,2588,2932,3365,3112,2387,2016,1781,1744,1793,1990,2069,2031,2099,2093,2457,2709,2379,2472,2407,2042,2199,2352,3022,3429,2609,2360,2910,2830,2092,1959,2653,2791,2655,2440,2082,2828,3283,2740,2984,3342,2563,2331,2206,2600,3029,3438,3118,2908,3147,2557,2200,2419,2821,2659,3631,3561,3017,2836,2674,2712,2712,2831,3099,3086,3265,3435,3365,2476,1869,1622,1508,1531,1538,1547,1422,1374,1460,1633,1744,1622,2083,2632,1869,1301,1362,1603,1620,1857,2387,2787,2886,2487,2831,3206,3552,3316,3381,3097,3382,3732,3669,3624,3739,3754,3892,3978,3383,2592,1996,2055,2632,2919,2791,2521,2125,1863,1967,2249,1858,1627,1385,1542,1807,1699,1630,1649,1443,1494,1597,1591,1835,2260,1630,1681,2008,1909,1646,1868,1787,1493,1588,1667,1564,1635,1792,1669,1868,1941,1676,2144,2561,2392,2545,2185,1912,1736,1655,1665,1945,2477,2166,2085,2034,2242,1695,1629,2292,3538,3502,2581,2237,2556,2880,3395,3288,2089,2051,2601,2744,3030,3564,3650,3045,2733,2846,2154,2164,2216,2089,1970,1725,1638,1901,1990,2156,2858,3460,2811,1819,1628,1679,1363,1144,1681,1759,1613,1631,1688,1635,1462,1338,1627,2075,2337,2714,2910,2367,2261,2241,2510,2459,2129,2307,2476,1991,1917,2038,2112,1812,1677,1888,2383,2522,1895,2042,1859,1615,2105,2310,2075,1759,1435,1676,1764,2003,2248,1913,1990,2579,2968,2442,2448,2536,2168,1862,1852,1869,1806,2254,2090,3120,3241,2607,2536,1956,1844,2254,2326,1880,1780,2633,3202,2996,2930,2736,2581,1946,1786,1880,2156,2440,2744,2673,2395,2399,2538,2698,2335,2081,2020,1719,2056,2992,2720,1720,1697,1904,2314,2793,2784,2009,1765,1668,1665,2057,2364,2571,2250,2040,2277,2557,2522,2711,2942,2313,2419,2416,2579,2270,1947,1781,2004,2166,2027,2022,1632,1439,2106,2370,2501,2440,2288,1584,2169,3012,3202,2981,2701,2929,3354,3872,3234,2786,3175,3510,3029,2467,2373,2029,2358,2635,2018,1726,1873,2502,2502,2830,2852,2699,2468,2564,2803,2416,2261,2766,2765,2796,2880,3318,3353,3056,2943,2854,3206,3003,2913,3433,3619,3549,3562,3714,3623,3580,3329,2447,1779,2384,3406,3621,3045,2907,2834,2275,2231],[2706,3120,2879,2546,2505,2467,2776,2542,2445,3182,3398,3051,2147,1957,2043,2092,2409,2371,2622,2709,2534,2668,2840,4009,3736,3197,2806,2657,2446,2645,2916,3274,3901,4091,3584,2279,2642,2568,2042,1935,2244,2547,2632,2109,1763,1848,2332,2968,2735,3012,3095,2852,2657,2485,2418,2855,3382,3670,3896,3813,3884,3763,3332,3022,2864,3316,3916,3730,4016,4108,3505,2988,2854,2799,2450,2177,2172,2362,2150,2190,2537,2844,3084,2359,2127,1701,1760,2677,3105,3024,2502,1958,2315,2496,2818,2602,2630,2975,3098,3119,3373,3517,3645,3946,4126,3816,3006,1734,1936,2418,2158,1957,1898,2071,2194,2376,2056,1450,1594,2584,3288,3031,2324,1680,1224,1748,2096,2341,2619,2610,2431,2098,1903,1659,1763,1930,1702,1832,1954,1910,2046,1975,1913,2004,1948,1975,2330,2038,2015,2270,2290,2366,2209,2066,2057,1850,1740,2591,3575,3317,3326,3024,2402,2652,2742,3305,3331,3662,3798,3005,2384,2540,2545,2386,2288,2341,2589,2852,3130,3453,3459,2517,2000,2149,2432,2736,2483,2296,2480,2647,2524,2291,2243,2296,2740,3262,3499,3171,2814,2629,2277,2309,2590,2547,2097,2353,3086,3152,3006,3417,3706,4013,4069,3026,2198,2811,3384,4061,3864,3163,3615,3362,2996,3243,3316,2573,2988,3199,2878,3240,3262,2722,3030,3683,3542,3204,2621,3105,3252,3385,3688,3916,4248,4188,3266,3343,3698,3096,2420,2496,2388,2629,3043,3199,3325,3582,3248,2839,3113,3627,4003,4036,3892,3385,2182,1594,1636,1639,1519,1509,1808,2044,2031,2099,2072,1713,1693,2500,3016,2770,2296,2359,2382,2264,2222,2364,2768,2526,2242,2928,2518,2619,2387,2487,3378,3783,3394,3118,2436,2131,2402,2226,2360,2602,2535,2661,2809,2355,2432,2483,3072,3086,2396,2502,2734,2632,2597,2278,1957,1952,1896,2354,2891,2761,2471,2248,2417,2932,2501,2454,2721,2633,2122,2249,2355,2300,2586,2648,2475,1975,2280,3824,4176,3165,2718,3416,2863,2016,1804,2229,2734,3125,2688,2046,1918,1765,1851,2120,2194,1597,1721,2204,1966,2137,2060,1926,2004,2758,3005,2890,2541,2758,2462,2034,2122,2097,2069,1564,1448,1674,2066,2399,2128,1809,1747,1976,2068,2680,3146,2942,2736,2009,2161,2344,2192,2141,1984,2157,2343,2436,2338,2179,2245,2433,2380,2588,3262,3418,3296,3204,2408,1825,1986,1743,1895,2512,2076,1786,2138,2431,2665,2677,2574,2558,2260,1788,1970,2187,2156,2156,1897,1714,2187,2701,2872,2786,2389,1997,2414,2702,2380,2072,2036,2271,2338,2664,2600,2489,2310,2331,2553,2289,2186,2016,1919,2120,2399,1582,1728,2055,2430,2657,2260,1847,2260,2186,1685,1969,2416,3043,3145,2410,2245,2272,2112,1884,1693,1865,2009,2242,2195,1934,1998,1954,1939,1869,3250,3339,2858,3330,2922,2608,2999,2875,2696,2746,2448,2467,2653,2499,2730,2743,2833,2972,2552,2264,2393,2722,3197,2867,2447,2362,1954,2182,2430,2265,2343,2729,2278,1719,2012,2261,2271,2427,2501,2047,2257,2437,2290,2255,2002,1892,1970,2034,2178,2215,2189,2205,2162,1951,2252,2249,1992,1983,1764,1808,1998,2670,3614,3356,2432,1859,1858,2269,2096,1814,1715,1717,1274,1263,1508,1497,1896,2243,2215,2095,1916,1660,1650,1586,1746,1879,1960,1789,1730,1688,1406,1418,1664,1892,1929,1869,1820,2252,1982,1868,1632,2056,2297,2362,2530,2855,3188,3117,2778,2788,3321,3098,2918,2603,2116,2345,2427,2108,2153,2157,2049,2130,2298,2807,2714,2648,2512,2510,2500,2583,2557,2553,2612,2500,2352,2292,2050,1775,1828,2102,2141,1905,1663,1530,1504,1975,2551,2539,2522,2755,2798,1869,1715,1864,1752,1939,2264,2019,2036,1730,1500,1754,2072,2172,1927,1883,1872,1767,1803,1678,1315,1813,2583,2403,2009,1761,1951,2124,1834,1675,1597,1499,1594,2144,2540,2453,2419,2283,2240,2292,2290,2520,2456,2047,2441,2382,2531,2658,2588,2923,3437,3409,2953,2397,2244,2740,2829,1979,1704,1661,1831,1927,1942,1963,2062,2146,2082,2175,2423,2350,2423,2798,3293,3008,2819,2301,1799,1511,1274,1143,1772,2182,2152,2074,1540,1294,1556,1578,1610,1988,1698,1736,1699,1605,1641,1636,1707,2103,2618,2602,2459,2264,2116,2011,1815,2156,2903,2555,2912,4453,4456,3485,2683,2735,2468,2543,2994,2705,2740,2767,2840,2637,2153,2492,2428,2087,1996,1848,1652,1919,3154,3724,2786,2210,1781,1438,1678,2055,1973,1725,1810,1648,1413,1719,1787,1542,1589,1654,1688,1720,1601,1212,1101,1203,1270,1426,1817,1791,1824,1755,1779,1614,1472,1563,1682,1715,1644,1935,2047,1849,2598,3425,3172,2312,1590,1238,1920,3385,3674,3632,3854,3130,3185,3309,2675,2970,3700,4050,4091,3842,3200,2721,2482,2061,2262,2689,2371,1625,1584,1944,1753,1670,1848,1756,1584,1612,1438,1315,1914,2149,1578,1398,1389,1392,1454,2461,3281,3209,2957,3119,3136,2973,2592,2243,2458,2463,2058,2147,2304,2503,2338,2199,2388,2853,2814,2424,2568,2894,3418,3309,1814,1686,2178,2658,2502,2546,2545,2567,2788,2817,2169,2032,1989,1812,1602,1802,1989,1862,2245,2644,2547,2798,3187,3515,3718,3041,2884,2800,3256,3529,3366,3584,4539,4848,4244,3431,3254,3146,2907,2964,3187,3006,2937,2815,2730,2467,2596,2663,2224,1758,1561,1543,1554,1702,1918,1622,1673,1790,1660,1473,1113,1426,1629,1597,1543,1578,1687,1583,1444,1693,1635,1703,1488,1048,1496,2008,1872,1618,1974,2133,1670,2484,3626,3005,3251,4234,4225,4246,3817,3772,3992,2769,1366,1188,1157,1121,1114,1141,1136,1105,1231,1526,2065,2622,3151,3840,3963,3475,2969,3064,3439,3416,3245,3100,3072,3039,2880,2894,2712,2058,1824,1946,1878,1996,2002,1936,1960,1835,1750,1788,1986,2334,2088,2099,2056,1872,1654,1383,1638,1781,1622,1792,1970,2256,2514,2499,2530,2676,2642,2517,2303,2220,2110,2046,1986,1756,2074,2364,2282,2125,2062,1975,2037,2116,2067,2057,2036,2036,1996,1710,1566,2050,2979,3344,3640,3824,3710,3686,3414,3082,3340,3586,3506,3377,3447,3561,3607,3641,3519,3644,3862,3870,3834,3795,3762,3796,3774,3789,3751,3701,3710,3764,3719,3789,3860,3955,3950,3931,3894,3928,3919,3914,3819,3808,3917,3858,3906,3907,3854,3838,3909,4135,4465,4427,4284,4136,3848,3396,2013,1035,1255,2155,2450,1836,1410,1342,1392,1526,1440,1516,2348,2020,1419,1287,1356,1296,1288,1307,1289,1249,1198,1477,1483,1276,1428,1478,1286,1394,1501,1438,1318,1284,1571,1717,1764,1796,1729,1534,1458,1599,1865,2393,2662,2326,1724,1196,1372,1724,1542,1672,1598,1605,2074,2800,2633,2337,2060,2236,2156,1775,1708,1897,2025,1932,1878,2053,2294,2187,2856,2355,2274,2386,2130,2453,2918,2562,2304,2896,3658,3439,2425,2561,2822,1981,1775,1987,2206,2248,2108,2645,2644,2592,2396,2364,2116,2282,2286,2276,2200,2724,3531,3350,2908,2447,1763,1794,1669,2142,2171,2412,2868,2979,2535,2057,1772,2159,2490,2415,2417,1932,1970,2106,2531,2085,2089,2100,2134,2023,2298,2758,3514,3532,2578,1792,1866,1938,1852,1843,1800,2082,2354,2212,1855,1892,2287,2120,2675,3912,3890,3133,2132,2232,2547,2569,2668,2501,2270,2143,2100,2092,1880,2139,2074,2008,1864,2069,2216,2386,2256,1896,2312,2461,2203,2647,2428,2518,3322,3430,3206,2894,2980,2374,2258,2121,2453,3140,3008,2736,2482,2711,3151,2955,2871,2330,2126,1666,1101,1411,2104,2418,2216,2129,1700,1864,2234,2282,2253,2264,2330,2436,2274,2499,2868,3204,2699,1905,1450,1466,1711,2161,2065,2119,2246,2476,2476,2950,3042,2286,2368,2568,2036,2315,2469,2731,2887,2932,2800,2687,2110,1610,1606,2008,2294,2420,2242,1945,2669,2872,2589,2045,2154,1956,2014,2308,2734,3410,3528,2784,2586,2907,2778,2428,2207,2554,2635,3229,3180,2773,2486,2321,2209,2278,2438,2530,2758,2997,3438,2903,2004,1580,1613,1661,1533,1568,1525,1439,1452,1535,1578,1449,1545,1923,1960,1674,1697,1780,1710,1747,1836,2503,3089,3250,3188,3330,3250,2973,2895,2911,3104,3583,3740,3627,3639,3841,3870,3492,3615,3044,2348,2039,2055,2647,2788,2797,3010,2887,2530,1973,1758,1682,1946,1647,1986,2147,1739,1654,1634,1417,1647,1758,2098,2392,2651,1885,2292,2314,1744,1761,2090,1962,1844,1784,1651,1439,1500,1440,1510,1720,1570,1426,1722,1723,2064,2248,2144,2134,1822,1671,1466,1888,2390,2053,1709,1821,2238,2475,2557,2766,3166,3430,2931,2761,2591,2663,3194,2597,1758,2053,2300,2435,3022,3884,4035,3038,2642,2524,2512,1956,1832,2003,1838,1769,1790,1742,2022,2272,2357,2376,1780,1574,1706,1699,1560,1311,1741,1941,1507,1465,1738,1579,1210,1455,2134,2032,2330,2498,2185,2502,2402,2689,2634,2220,2324,2835,2578,2081,2368,2076,1844,1829,2048,2320,2229,2358,2431,2070,1635,1505,1807,2164,2254,1760,1064,1270,1366,1506,1982,2124,1882,2668,2988,2191,1860,2090,2178,2045,1942,2204,2203,1881,1963,2113,2316,2903,2718,2447,2366,2276,2281,1918,2350,3028,3153,2877,2258,2007,2296,2063,2066,2627,2648,2215,2596,3229,2633,1936,2387,2500,2262,2223,2438,2312,2382,3098,2590,1860,2004,2141,2412,2937,2634,1956,2099,1907,1815,2077,2542,2634,2188,2259,2333,2536,2511,2387,2192,1630,2329,2602,2456,2530,2034,1687,2218,2308,1805,2354,1966,1807,2481,2814,2843,2890,2404,2026,2111,2234,2552,2786,2899,3046,3037,3234,3266,3141,3298,3545,3376,3259,2913,2143,2078,2345,2333,1862,1958,2262,2241,2490,2744,2653,2273,2390,2645,2374,2082,2469,2655,2866,2436,2662,3151,3220,2994,2799,3062,2967,2478,2764,3294,3319,3397,3605,3605,3374,3261,2867,2855,3309,3764,3548,3024,3082,2979,2717,2592],[2107,2490,2446,2329,2364,2147,2276,2351,2683,3385,3590,3395,2222,1558,1840,2262,2611,2340,2608,2032,1928,2444,3298,3628,3329,3310,3348,3191,3008,2799,3284,3825,3782,3813,3374,2397,3129,3397,2898,2741,2874,3083,3134,2732,2395,2218,2798,3308,2875,2874,2976,2718,2422,2565,2567,2687,2974,3254,3928,4104,4109,4120,4141,3825,3406,3188,3539,3124,3147,3209,3271,3210,2812,2976,2911,2357,2083,2330,2351,2231,2229,2260,2178,2273,2370,1994,1923,2692,2887,2890,2236,1922,2061,2261,2297,2051,2132,2429,2667,2843,3442,3769,3974,4197,4108,3918,2831,1615,1843,1980,2155,1895,1363,1655,1939,2532,3047,2125,1746,2774,3297,3007,2435,1953,1322,1160,1470,1500,1729,2103,2138,1719,1507,1565,1778,1904,1887,2146,1909,1484,1609,1791,1954,2206,1936,2274,2880,3022,2844,2740,2164,1792,1864,1946,2317,2512,1692,1633,2873,2943,3030,2769,2723,2494,2199,2837,3003,2635,3162,3341,2809,2941,2683,2481,2733,2776,2218,2436,3101,3401,3229,2711,2658,2765,2827,2752,2558,2264,2077,2722,3516,3111,2731,2985,3480,3493,3525,3450,3414,3680,3264,3005,2999,2545,2368,3296,3436,3408,3529,3603,3902,4078,3962,3330,2722,3462,3814,4071,3970,3052,2943,3084,3366,3705,3162,2732,2890,2822,2836,3256,2978,2654,3010,3628,3373,3022,2958,3005,3243,3331,3264,4065,4640,4168,3077,3646,3392,2399,2813,3027,2610,2614,2829,3219,3655,3308,2713,2584,3307,4079,3674,3608,3593,3165,2589,2024,1611,1487,1602,1624,1685,1559,1571,1928,1955,1716,1770,2253,2515,2500,2473,2401,2147,2179,2248,2177,2526,2667,2687,2912,3106,3388,2634,2306,2592,2578,2445,2651,2136,2423,2141,2258,2113,2423,2508,2569,2337,2388,2598,2636,3075,2998,2735,2909,3121,3486,3379,2980,2448,2563,2150,1950,2223,2190,2170,2454,2413,2633,2023,2159,2570,2386,1914,2047,2137,2194,2083,1916,2041,1872,2272,3626,3681,3347,2558,2349,1859,1769,2031,2073,2114,2753,3347,2797,1946,2144,2513,2017,1762,1960,1930,1989,2193,2214,1871,1559,2243,3351,3466,3370,2952,2711,2183,2135,1989,2064,2180,1910,1682,1677,2474,2602,1787,1942,1868,1818,1884,1957,2138,2236,2225,2067,2491,3095,3093,2617,1976,1864,1970,2166,2362,2780,2730,2905,3024,2942,3115,3103,2634,2493,2316,2512,2292,1620,1547,1839,2034,1776,2055,2450,2905,3182,2819,2486,2060,1825,1930,2040,2052,2135,1671,1808,2041,2106,2309,2411,2210,1880,2286,2750,2619,2149,2243,2509,2343,2402,2569,2454,2083,2510,2681,1777,1644,1699,1844,1941,2099,1844,1920,2230,2867,3063,2424,2018,2155,2056,1977,2226,2474,2556,2709,2409,2104,1978,1946,1701,1554,1757,1923,2559,2555,2054,2187,2243,2292,1858,1824,1926,2939,3979,3688,3009,2898,2499,2367,2619,2700,2214,2500,2610,2565,2244,2429,2767,2413,2561,3213,2937,2783,2731,2452,2438,2463,2570,2416,2835,3198,2584,1699,1865,2270,2032,2008,2018,2301,1941,2157,2562,2260,2226,2854,2947,2377,2451,2601,2339,2232,2309,2388,2104,2330,2245,1943,2025,1749,1665,1599,2357,3502,2956,2232,1950,2051,2454,1948,1577,1545,1755,1774,1620,1820,1726,1572,1763,2007,2048,2299,1745,1598,1671,2126,2140,1999,2199,2421,1977,1509,1677,1431,1660,1613,1671,2056,2202,1860,1689,1269,1773,2508,2382,2521,2711,2982,3142,3284,3371,3364,2688,2908,2497,2018,2244,2349,2222,2343,2179,2126,2152,2344,2655,2354,2625,2730,2575,2510,2459,2238,2089,2326,2924,2678,2835,2789,2071,1678,1937,2021,1929,1893,1823,1725,2118,2454,2636,2587,2540,2222,1794,1557,1640,1836,1860,1808,1996,1723,1628,2425,2066,1799,1953,1622,1852,1712,1831,1908,1964,1918,2114,2110,1872,1953,2113,1748,1820,2182,2117,1638,1654,1559,1596,1866,2149,2245,2574,2657,2084,2159,2241,2467,2350,2282,2059,1766,2317,2729,3110,3660,3818,3536,3229,3120,2694,2259,1764,1909,2217,2518,2260,1930,1749,2094,2399,2128,2141,2093,1806,2030,2533,3155,3197,2957,2867,2184,1763,1661,1605,2055,2141,2110,1650,1314,1873,2372,2336,2430,2497,1674,1169,1289,1589,1749,1892,2051,1887,1769,2265,2743,2665,2411,2446,2176,2570,3402,2453,2643,4249,3996,2830,2122,2084,1992,2477,2956,3098,3047,2776,2666,2374,1952,2741,2373,1973,1747,1632,1781,2008,3401,3839,2482,1637,1494,1394,1656,1992,1749,1540,1620,1272,1757,1704,1335,1422,1562,1738,1782,1444,1002,872,889,1080,1123,1353,1924,1880,1888,2165,2523,2090,1485,1502,1803,2197,1788,1857,1836,2298,3159,3333,2938,2413,2013,2276,3177,3971,4101,4118,4015,3531,3828,3405,2916,2633,3375,3860,3618,3378,3514,3693,3118,2286,2741,2411,1788,1509,1576,1744,1672,1603,1841,1788,1528,1567,1437,1555,2051,1931,1516,1539,1482,1519,1464,2231,3387,3078,2388,2020,1518,2076,2143,2087,2839,2237,1099,1392,1815,2579,2853,2551,2388,2233,2153,2352,2513,2842,3465,2947,2106,2471,2996,3121,2690,2567,3173,3261,2612,2632,1811,1706,1820,1783,1293,1691,1992,1880,2340,2685,2609,2943,3139,3435,3759,2932,2752,2974,3274,3287,3223,3259,3539,4472,4365,3638,3994,3650,3460,3570,3887,3302,2591,2300,2302,2311,2595,2830,2386,1747,1512,1542,1564,1820,1754,1622,1841,1975,1771,1643,1435,1459,1558,1435,1325,1428,1620,1685,1469,1377,1316,1407,1488,1483,1581,1747,1896,1659,1771,2080,1719,2386,3476,2657,3585,4097,4112,4175,3753,3042,2408,1471,1108,1129,1123,1115,1140,1206,1260,1508,1978,2358,2943,3371,3675,4113,4073,3277,2613,2662,2813,2802,2931,2910,3146,3219,3055,2978,2667,2161,2010,2448,2653,2680,2712,2276,1831,1624,1469,1388,1630,2255,2284,2148,2094,1815,1593,1264,1522,1831,1732,1871,1999,2178,2490,2558,2580,2768,2758,2486,1714,1618,1525,1756,1941,1679,1810,2060,2013,1976,1922,1828,2015,2141,2136,2121,2030,2088,1973,1851,1704,2235,2258,2185,2443,2713,3050,3163,2843,3019,3211,3387,3506,3504,3613,3605,3539,3530,3562,3594,3764,3884,3859,3767,3774,3929,3830,3819,3829,3808,3831,3791,3855,3927,3851,3891,4025,4006,3964,3853,3974,3975,3849,3895,3941,3951,4016,4037,3980,3868,3724,3783,3863,3993,4060,4183,4133,3818,2967,1826,993,1601,2443,2117,1556,1424,1571,1578,1578,1752,1881,1497,1317,1372,1497,1333,1224,1204,1183,1216,1428,1902,1591,1167,1360,1293,1262,1429,1476,1605,1727,1478,1464,1445,1314,1541,1414,1409,1514,1637,1741,1830,1643,1556,1596,1295,1521,1802,1524,1434,1268,1888,2302,1997,2229,2669,2482,2247,1925,1288,1293,1700,1941,2176,2122,2023,1907,1762,2211,2631,2393,2061,1878,2397,3077,2376,2808,3517,3250,2480,2134,1998,2282,2480,2227,2034,1623,1404,1588,2254,2311,2479,2624,2971,2529,2265,2015,1906,1920,1967,2792,3368,2910,2602,2127,2009,2268,2833,3047,2809,3020,2955,2139,1907,1887,2011,2267,2327,2337,2237,2430,2545,2552,2610,2427,2191,2199,2169,2940,4090,4220,3718,2799,2182,1803,2061,1937,1898,1982,2177,2654,2653,2151,1836,2404,2692,3011,3510,3234,2777,2272,2248,2257,2276,2364,2313,2171,1903,1705,2099,2082,2186,1698,2061,2352,2398,2025,1830,2017,2009,2545,3011,2856,2980,2611,2523,2971,2770,2265,1938,2186,2272,2458,2348,2073,2212,2546,1807,1778,2413,2487,2679,2548,2287,2492,2112,1854,2188,1831,1997,2184,2093,1771,1547,1678,1928,2040,2170,2200,2144,2370,2320,2174,2196,2007,1823,1724,1548,1574,2040,2255,2276,2207,2337,2900,3735,3453,2293,2077,2141,1932,1943,2391,2766,2573,2358,2800,2812,2053,1465,1077,1474,1924,1989,2396,2709,2844,2390,2406,2264,2384,2385,2001,2222,2047,2320,2873,2291,2004,2107,2233,2413,2338,2416,2229,2076,2419,2589,2399,2325,2288,2338,2354,2303,2348,2802,3450,2639,1907,1954,2199,2247,1979,1624,1384,1498,1531,1543,1382,1480,1979,2522,2447,1823,1798,1870,1838,1691,2058,2779,3121,3266,3393,3476,3090,2496,2389,2955,3572,3649,3641,3501,3608,3487,3492,2595,3108,2852,1980,1976,2204,2504,2680,2843,2875,2815,2197,1380,1480,1604,1709,2109,2612,2430,1936,1913,1867,1948,2545,2544,1957,2486,2524,2092,2115,1929,2008,2405,2286,1876,1941,1851,1873,1864,1716,1591,1431,1825,1697,1569,1804,1753,1620,1895,2101,2043,1625,1405,1531,1840,1990,1832,1579,1700,2129,2708,3355,3297,2749,2719,2611,2749,3010,2645,3032,2824,2632,2385,2314,2153,2373,3307,3693,3139,3265,2504,2430,1742,1702,1702,1620,2003,2199,2009,2190,2195,2069,2076,1781,1851,1664,1478,1045,1169,1832,1672,1637,1821,1698,1599,1610,1936,1918,2028,2352,2267,2249,2395,2553,3162,2793,1668,2056,3160,2865,2731,2608,2203,2002,1765,1667,2151,1982,1712,1399,1553,1992,2059,1757,1819,2122,1925,1926,1826,1660,1680,2008,1996,1694,1820,1836,1716,1751,1994,2214,2176,1973,2293,2635,2798,2712,2247,2646,2685,2231,2496,2120,1909,2636,2374,2559,3030,2766,2497,2020,1928,1882,2084,2465,2886,2401,1702,1903,2706,2076,1843,2207,2105,2199,2598,2682,2254,2270,3177,2972,3078,2535,2420,2302,2501,2316,1891,2032,2042,1845,2007,2292,2609,2547,2730,2964,3188,2623,2027,1771,2170,2806,2497,2177,2430,1983,2366,2431,1995,1673,2603,2403,2308,2957,3146,2897,2763,2535,2482,2700,2517,2458,2546,2917,3018,2658,2674,3177,3038,2750,2653,2236,2147,2208,1910,1958,2662,2464,1863,2039,2239,2396,2443,2393,2287,1959,2321,2376,2219,2203,2432,2968,2872,1945,2198,3212,3649,3450,3001,2801,2800,2204,2525,2920,3122,3427,3695,3598,3331,3238,2961,3158,3681,3658,3450,3000,2916,2941,2973,2520],[2246,2308,2127,1944,1906,2181,2092,2076,3033,3676,3687,3481,2375,1562,1639,2124,2141,2622,2336,1783,1809,2281,2897,2832,2663,3089,3329,3550,3682,2942,3121,3630,3617,3627,3343,3042,3493,3405,2595,2440,2979,3194,3065,2918,3078,3130,3261,3204,2732,2586,2489,2314,2409,2787,2819,2541,2373,2422,3310,3798,3903,4195,4228,4107,3726,3037,2626,2648,2596,2680,3489,3452,2857,3045,3366,3075,2608,2384,2200,2274,2611,2378,2403,2720,2648,2621,2657,2910,2916,3013,2502,2139,2102,2430,2332,2263,2500,2647,2925,2810,3141,3488,3723,3974,3750,3101,2304,1993,2243,2324,2564,2758,1597,1043,1319,2200,2480,2526,2510,3051,3143,3141,2956,2468,1758,1134,1138,1529,1760,1865,2056,1642,1488,1546,1792,1931,1916,2105,1905,1396,1588,2027,2172,2671,2158,2370,2898,3313,3526,3310,2470,1780,1752,2002,2664,2913,2244,1929,2523,2237,1897,2107,2123,1911,2122,2846,2968,2873,3646,3819,3664,3574,2962,2858,2653,2800,2978,2894,2828,2902,2906,2662,2820,3307,3453,2839,2338,2189,2052,2396,3256,3443,3282,3440,3396,3362,3407,3652,3559,3635,3384,3067,2985,2810,3120,3167,3102,3347,3521,3592,3797,3995,3881,2979,2932,3345,3906,4272,3753,2791,2778,3023,3298,3333,3037,2946,2564,2464,2998,2929,2712,3010,2943,3183,3472,3204,3110,3318,3481,3549,3587,4212,4732,3726,2857,3515,2732,2325,3361,3386,2536,2518,3199,3958,4561,4204,2964,2723,3523,3784,2984,2996,3131,2673,2353,2194,1879,1536,1973,2005,1569,1771,1718,1734,1398,1842,2457,2343,2407,2556,2288,2066,2172,2533,2799,2653,2663,2691,2722,2872,2922,2661,2536,2185,1932,2286,2062,2375,2533,2697,2038,1899,2009,2425,2421,2144,2164,2443,2662,3012,3003,2790,2753,2858,3099,2890,3388,3076,2165,2280,2459,2214,2101,2663,2339,2474,2482,2372,1800,1984,2246,2227,2277,2282,2666,2741,2336,1950,1709,1797,2171,3127,3111,2950,2085,1758,1740,1774,2082,1896,1726,2225,3057,2710,2409,2593,2354,2142,2234,2083,1681,1720,1989,2100,1749,1646,2286,3276,3125,2634,2160,2006,1969,2140,2148,2138,2126,2141,1998,1642,2222,2308,1555,1707,1994,1700,1716,1862,2389,2626,2512,2743,3145,3586,3500,2964,1932,1805,2344,2527,2667,2964,2609,2442,3000,2797,2320,2532,2279,2321,2376,1856,1506,1469,1462,1662,1730,1654,2042,2818,3368,3174,2602,2487,1990,1815,2020,2045,2142,2115,1902,2213,2201,1904,2079,2242,2082,2144,2267,2440,2746,2319,2297,2244,2105,2296,2400,2194,2380,2663,2157,2220,2146,1949,1905,2018,1890,1635,1696,2287,2590,2335,2074,2106,1831,1864,2122,2345,2310,2342,2100,1946,1965,1597,1680,1642,1831,1789,1831,2674,2728,2260,1851,1924,2357,2019,1476,1510,2282,3605,3445,2754,2641,2689,2679,2617,2953,1955,1954,2292,2155,2081,1771,2032,2223,2972,3141,2987,2931,2548,2050,2486,2957,2667,2598,3201,3264,2213,1689,2092,2159,1923,2409,2226,2182,1713,1915,2204,1878,2411,3100,2665,2160,2001,2018,2042,2236,2374,2343,2169,2256,2279,1984,1871,1994,1948,1721,1979,2344,2114,1881,1660,1701,2093,1848,1736,1484,1910,2534,2555,2779,2343,2055,2042,2101,2047,2111,1777,1632,1648,1987,2068,2007,2392,2396,2211,1872,1477,1242,1277,1376,1631,1913,1669,1605,1539,1455,2568,3597,2809,2568,2580,2414,2500,2872,2944,2890,2824,2867,2664,2520,2413,2360,2142,2054,1769,2015,2014,2441,2952,2735,2821,2844,2667,2558,2388,2202,2002,2168,2518,2345,2799,2905,2384,2045,1885,1760,1629,1750,1901,1848,2062,2192,2285,1993,2031,1804,1224,1184,1682,1794,1475,1399,1614,1720,1653,2154,1740,1899,1841,1554,1606,1537,1660,1722,1869,2063,2218,2328,2295,2141,2307,1426,1802,2176,1985,1697,1842,1902,1742,1707,1636,1732,1998,2260,2226,2563,2264,1997,2107,2162,2443,2376,2376,2691,3013,3216,3387,3342,3295,3240,2502,1835,1872,1908,2085,1942,1830,1901,1873,2040,2198,2005,1986,1708,1606,1868,2562,3370,3726,3658,3484,2702,1920,1854,1974,2053,1992,1914,1581,1629,1770,2342,2419,2037,2012,1967,1818,2061,2151,1956,1778,1975,1760,2297,2094,2369,2773,2720,2479,2354,3238,3331,1958,2873,3614,2834,1810,1361,1525,2114,3011,3556,3379,2940,2675,2685,2412,2028,2733,2296,1839,1725,1569,1728,2082,3458,3726,2211,1661,1476,1339,1400,1570,1561,1453,1547,1574,1938,1513,1279,1316,1043,1348,1750,1348,736,709,833,882,1287,1902,1834,1805,1940,1841,1880,1669,1548,1666,2220,2354,1902,1825,1594,1882,2827,3104,2705,2522,2696,3444,4008,4193,4072,3957,4016,3946,3834,3718,3419,3029,3571,4091,3728,3584,4195,4220,3448,3035,2674,1957,1567,1527,1610,1534,1491,1558,1775,1784,1513,1460,1390,1340,1334,1313,1371,1398,1391,1562,1593,2171,2585,1866,1740,1687,1951,2920,2732,2460,2656,1753,1202,1567,1778,2161,2352,2273,2212,2029,2459,2011,2048,2797,3254,2119,1922,2798,2676,2350,2403,2690,3287,3467,2523,1996,1797,2288,2376,1553,1544,2339,2657,2494,2269,2517,2695,2921,3300,3328,3373,3106,2733,2997,3168,3186,3206,2987,3181,4100,4497,3839,4154,4163,4208,4140,3898,3382,2984,2329,1952,2239,2895,2844,1909,1436,1419,1441,1759,1870,1528,1460,1829,2225,1926,1534,1696,1629,1438,1355,1362,1278,1418,1590,1709,1468,1311,1328,1275,1031,1179,1735,1931,1658,1588,1865,1748,2369,3231,2865,3538,3952,4038,4192,3378,1767,1225,1130,1229,1189,1191,1183,1174,1316,1484,2139,2821,3287,3584,3579,3764,3815,3608,3284,3164,2939,2656,2320,2344,2779,2743,2590,2833,2742,2310,1964,2046,2732,2993,2865,2710,2974,2459,1825,1593,1350,1665,2229,2232,2138,2144,1894,1816,1757,1813,1934,1825,1810,1799,1667,2029,2557,2493,2728,2662,2351,1974,2092,1974,2127,2029,1775,1962,2087,2000,2017,1802,1779,2036,2094,2050,1958,1938,1917,2182,2418,2460,2633,2654,2545,2554,2562,2396,2132,1876,2018,1783,2165,2474,2439,2390,2593,2656,2422,2517,2778,2985,3133,3251,3485,3640,3586,3461,3557,3790,3770,3617,3679,3812,3697,3664,3887,4018,3898,3720,3728,3849,3795,3884,3952,3934,3893,3912,3974,3970,3869,3695,3728,3696,3701,3936,4132,4034,3200,2574,2425,1642,1057,1676,2236,1797,1528,1533,1384,1554,1691,1470,1361,1395,1375,1483,1362,1317,1225,1186,1318,1844,2133,1606,1231,1222,1252,1368,1426,1505,1447,1337,1343,1262,1223,1473,1716,1537,1515,1631,1737,1732,1496,1460,1549,1350,1410,1588,1866,1754,1356,1516,2249,2215,1867,2048,2319,2049,1887,1992,2000,2599,2669,2192,2173,2083,2200,2394,1873,2000,2095,1914,1742,2182,2455,2614,2283,2194,2648,2360,2258,2316,1948,2164,2657,2222,2011,1449,1131,1764,2364,2517,2523,2494,3067,3238,2256,1794,2391,2172,1815,2422,2887,2518,2388,2612,2263,2066,2388,2732,2736,2370,2010,2305,2371,2431,2212,1998,2213,2192,2129,2565,2888,2574,2586,2549,2159,1845,2319,3507,4272,3538,2636,2267,2344,2599,2991,2765,2345,2112,2078,2468,2569,2405,1858,2154,2802,2352,2030,2476,2502,2249,2255,2111,2153,2364,2258,2133,2064,2166,2436,2266,1879,1780,2135,2268,2122,1389,1492,2366,2587,2733,3238,3238,3388,2931,2834,2764,2155,2026,2764,3110,2915,2824,2046,1745,1753,2046,1969,2067,2019,2399,2432,1941,2013,2211,2017,1983,2256,1813,1597,1661,1356,1699,1735,1868,1978,1879,2258,2857,2799,2535,2144,1932,1802,2031,2016,2025,1814,2111,2435,2181,1894,1919,2381,3764,4533,3186,2047,1897,1715,1689,1804,2473,2985,2566,1925,2592,2939,2360,1302,991,1244,1705,1864,2637,3000,2942,2732,2895,3244,3718,3377,2220,2443,1986,2142,2460,1974,1852,1946,2264,2225,2213,2491,2395,2321,2438,2413,2337,2249,2239,2212,2197,2079,2044,2752,3354,2979,2463,2259,2384,2474,2016,1277,985,1324,1515,1532,1414,1563,2002,2542,2664,1844,1868,1879,2063,1769,2174,2766,3149,3507,3463,3042,2714,2368,2281,3218,3538,3679,3797,3697,3952,3639,2932,2625,3249,2636,1456,1599,1797,2119,2287,2195,2102,2115,1737,1541,1767,1816,1936,2260,2354,2117,2021,1903,2156,2731,3310,3237,2160,2285,2419,2197,2057,1810,1814,1874,1898,2249,2093,1977,2003,2088,1904,1554,1799,2337,2009,1690,1764,1786,1746,2258,1802,1886,1683,1619,1922,1967,1952,1730,1624,1697,2005,2786,3287,3422,3077,2523,2390,2661,3373,2932,2614,3105,3040,2700,2396,2183,1920,2234,2576,2243,2370,2265,1782,1676,1676,1675,1921,2324,2920,2531,2294,2099,2218,2316,2366,2164,1688,1742,1430,1528,1851,1754,1750,1549,1436,1809,2160,2331,2160,2337,2209,2303,2381,2109,2475,2680,2204,1741,2196,3804,3889,3164,2407,2806,2476,1537,1444,1755,2093,2236,1704,1979,2115,2469,2014,2058,2020,2113,2385,2282,2295,2228,2164,1906,1687,1818,1887,2110,1779,1937,2287,2287,2114,2036,2398,2872,2797,2518,2965,2807,2381,2144,1846,2082,2830,2544,2329,2436,2444,2308,2390,2305,2046,2348,2366,2629,2761,2447,2050,2421,2269,2150,2200,2088,2491,2415,2352,2074,2162,2624,3002,3121,2093,1603,1744,2168,2271,2052,2100,2213,1958,1979,2149,2547,2078,2308,2952,2879,2115,1478,1716,2176,2075,1897,1870,2470,1834,1976,2001,1504,1954,2389,2587,2802,2493,2307,2578,2710,2287,2481,2494,2451,2424,2713,3130,3006,2350,2424,2641,2040,1757,1873,1765,2210,2451,2287,3106,2987,2530,2419,2305,2492,2473,2451,2320,2720,2464,3096,2842,2582,2730,2806,3139,2812,1948,2291,3184,3374,3264,2908,2648,2890,2289,2154,2581,2927,3182,3564,3602,3417,3312,3200,3216,3609,3506,3408,2889,2639,2874,2752,2423],[2416,2558,2347,1904,1787,1969,1512,1276,2503,3728,3882,3582,2712,1648,1582,1918,1857,2668,2676,2318,2326,2472,2689,2691,2411,2612,2952,3498,3334,2664,3005,3652,3861,3898,3568,3045,3133,3341,2639,2380,2911,3161,3197,3301,3343,3364,3327,3266,2873,2617,2851,2655,2532,2555,2818,2876,2466,2488,3176,3540,3838,4240,4287,4211,3627,2860,3073,2928,2554,3376,4242,3842,3134,2633,2691,3120,3100,2821,2395,2431,2720,2509,2945,2583,2466,2686,3129,3186,3016,3029,3112,2897,2665,2568,2834,3028,2879,2381,2880,3049,3421,3658,3902,4019,3531,2706,2425,2556,2888,2871,3270,3308,1978,1137,1112,1806,2641,3090,2968,3008,3023,3183,3184,2812,2228,1563,1227,1716,1967,1635,1815,1642,1532,1755,1982,1996,2060,2303,1973,1664,1658,1924,2313,2494,2204,2451,3143,3229,3216,3720,3254,2344,1852,1903,2216,2450,2655,2750,2359,1739,1742,2194,1994,1777,2498,2918,2551,3582,4449,3848,3752,3812,3028,3117,2692,2280,2481,2692,2587,2485,2489,2483,2457,2915,2872,2322,2065,2556,2485,2384,3308,3853,3543,3574,3514,3515,3321,3414,3256,3001,2669,2677,2874,2906,2985,3208,3261,3261,3436,3740,4095,4303,4120,3021,2943,2975,3333,3479,2863,2842,3221,3162,3340,3281,3542,3777,3032,2634,2762,2590,2657,2733,2343,2704,3522,3210,2722,3249,3500,3532,3699,3989,4488,3669,3427,3553,3108,2946,3200,3499,3349,3399,3883,4189,4036,3863,2924,2802,3644,3907,3517,3041,2613,2196,1861,2067,2128,1810,2052,2095,1856,1928,2084,2414,2233,2154,2126,1757,1987,2349,1955,1909,1883,2092,2555,2820,3090,3062,2985,3063,2623,2053,1957,1878,2401,3217,2696,2540,3021,2710,2173,1914,1772,2061,2127,1979,2032,2193,2423,3034,2875,2762,3030,3050,3320,3527,3407,2620,2008,1875,1769,2090,2868,3545,2941,2735,2740,2687,2328,2294,2369,2786,2784,2575,2928,2613,2476,2754,2278,1883,2330,3362,3228,2827,2709,2564,2026,1743,1887,1968,1897,2388,2592,2268,2185,2140,2388,2386,2282,2155,1900,1576,1642,1848,1983,2004,2116,2786,2898,2377,2076,2149,2214,2277,2174,2309,2279,2155,1835,1863,1588,1766,1824,1800,1837,1663,1704,2008,2240,2253,2646,2978,2897,2683,2490,2127,1945,2213,2310,2402,2437,2490,2208,2019,2815,2662,2026,2053,1903,2037,1838,1484,1525,1572,1409,1627,2100,2252,2561,2901,3084,2828,2442,2520,2005,1806,2067,2214,2461,2575,2438,2226,2132,1976,2115,2007,1516,1553,1804,2513,2665,2220,2031,1937,2024,2433,2412,1923,2283,2156,1620,1748,2132,1924,1830,1939,2017,1865,1930,2454,2480,2154,1704,1720,1819,1832,2077,2202,2164,2698,2600,2178,2024,1592,1555,1596,2041,1995,2048,2864,2845,2235,1864,2080,2027,1763,1898,2191,3007,3674,2774,3133,2723,2476,2688,2864,2643,2067,2323,2146,2082,2122,1975,2359,2463,2885,2475,2498,2774,2539,2313,2699,2699,2431,2494,2843,2591,1807,1765,2072,1866,1918,2956,2714,1883,1892,2584,2506,1997,2557,2732,1702,1389,1681,1946,1816,1830,2004,2077,1869,1612,1631,1912,2236,2138,2044,2015,1934,1706,1647,1788,1660,1580,1857,2543,2570,2035,2460,3007,3033,2939,2701,2502,2390,2211,1910,1639,1540,1459,1534,1909,1932,1882,2263,2715,2324,2333,2098,1576,1403,1563,1845,1932,1772,1874,1989,1700,1851,2799,2567,2263,2214,2315,2459,2599,2750,2626,2648,2443,2468,2614,2444,2465,2276,2026,1879,2167,2174,2280,2416,2654,2871,2851,2779,2623,2579,2157,1844,1909,2159,2422,2799,2821,2570,2111,1744,1720,1572,1421,1651,1754,1768,1728,1882,2033,2008,1815,1314,1377,1797,1626,1682,1800,1762,1890,1659,1875,1927,1922,1689,1954,2287,2209,1871,1628,1992,1998,2142,2349,2213,2009,2027,1515,1499,2009,2022,1668,2216,2352,2040,2054,1621,1622,1537,1599,2027,2099,2255,2069,1925,2031,2061,2381,2700,2714,3104,3356,3212,2966,2918,2727,1802,1503,1680,1704,1757,1693,1714,1715,2090,2084,1815,2011,2036,1956,1795,1959,2519,3222,4002,4041,3506,2744,2071,1765,2082,2362,2423,2145,1638,1327,917,1228,1604,1531,1642,2041,2124,2268,2364,2161,2688,2821,2988,3593,2852,2288,2274,3035,2730,2778,3032,2862,2360,3063,3498,2308,1436,1448,1734,1943,2152,2732,2945,2363,2629,2764,2146,2480,2899,2551,2174,1874,1764,1729,2126,3637,3782,2163,1495,1385,1569,1509,1392,1479,1410,1429,1382,1259,1292,1340,1098,1318,1359,1339,1388,1237,812,793,1208,1889,2024,1652,1739,1747,1737,1958,1800,1848,1843,1851,1924,1875,1979,2081,2365,2771,2902,2712,2521,2318,2701,3892,4263,4073,3927,3939,3896,3773,3624,3432,3442,3950,3984,3334,3319,4082,3918,3486,2887,1967,1636,1525,1743,1899,1577,1390,1432,1582,1733,1576,1429,1405,1421,1400,1300,1313,1413,1483,1383,1493,2073,2453,1468,1619,1950,2544,3173,2829,1860,1351,1027,1148,1774,1850,2050,2094,2167,2176,1606,2326,2116,2236,2923,3332,2897,2897,3106,2397,2597,2666,2737,3219,3075,2792,2074,1917,2822,3079,2176,2019,2577,2956,3099,2266,2049,2742,2873,2989,2767,3138,3313,3232,3319,3271,3189,2998,2976,3274,3596,4025,3684,3542,4013,4112,3605,2980,3139,3045,2168,2070,2814,3176,2488,1597,1737,1654,1701,1902,1778,1516,1553,1928,2000,1789,1549,1570,1512,1427,1450,1416,1414,1500,1633,1678,1542,1397,1485,1388,1090,1490,2157,1875,1762,1471,1614,1666,2470,2819,2830,3619,3950,3753,4255,3513,1626,1216,1245,1216,1389,1451,1356,1528,1895,2379,3028,3488,3673,3672,3387,3383,3198,3078,3162,3294,3149,2915,2421,2302,2454,2046,1816,2415,2613,2209,2032,2053,2603,2933,2900,2389,2263,1814,1669,1770,1413,1617,2315,2191,1930,1937,1924,1936,1721,1451,1492,1484,1537,1532,1307,1753,2410,1943,1994,1885,1835,2013,2057,2224,2470,2210,1849,1848,1936,1946,1921,1859,1853,1970,2052,1852,1784,1923,1892,2271,2562,2445,2570,2579,2636,2854,3227,3662,3388,2515,2288,2302,2210,2026,1979,2236,2298,1986,1952,1908,1802,1835,1928,2144,2320,2338,2271,2236,2280,2386,2463,2523,2620,2589,2682,2887,2949,3078,3352,3430,3470,3366,3517,3863,3781,3823,3750,3739,3753,3798,3794,3739,3741,3711,3708,3894,3819,3222,2675,2309,2080,2254,1459,1097,2059,2371,1953,1528,1415,1392,1392,1348,1464,1625,1433,1404,1406,1312,1208,1302,1368,1437,1498,1373,1277,1334,1347,1501,1420,1498,1505,1453,1367,1446,1376,1334,1489,1416,1340,1627,2054,1882,1595,1382,1229,1249,1318,1494,1639,1679,1676,1984,2027,1770,1836,1980,2091,1981,1747,1914,2201,2576,2343,2066,2123,2132,2612,2771,1730,2039,2431,2336,2114,2421,2139,1857,1703,1832,1796,1744,2078,1963,1835,2106,2666,2876,2775,2167,1554,1539,1833,2209,2298,2151,2898,3353,2143,1861,2386,2437,2364,2310,2122,2040,2525,2886,2766,2613,2418,2035,2352,2402,2390,2655,2442,2519,2255,1933,2124,2067,1652,1917,2465,2463,2724,2072,1819,1653,1921,2677,3354,2998,2230,2259,2626,2706,2680,2645,2313,1858,1829,2140,2505,2580,2007,1916,2407,1869,1325,2043,2310,2352,2252,2029,2322,2296,2201,2088,2147,2303,2046,2191,2480,2367,1914,1851,1971,1570,1501,2069,1665,1594,2130,2755,3097,2952,3024,2608,2142,2093,2327,2721,2834,2597,2058,2153,2056,2279,3340,3116,2643,2817,2301,1757,1917,1912,1575,1807,2028,1408,1338,1560,1704,2198,2281,1886,1767,1819,2408,3528,2961,2743,2386,2217,2418,2896,3084,2676,2387,2786,2410,2073,1846,2038,2234,3227,4908,4037,2403,1678,1522,1187,1705,2780,3251,3239,2320,2292,2500,2142,1537,1383,1384,1565,1859,2216,2577,2796,2757,3156,3239,3052,2960,2146,2375,2321,2164,2249,2459,2416,2090,1888,1669,1957,2384,2209,1917,1992,2028,2138,2264,2304,2316,2316,2283,2348,2966,3277,3283,3206,2602,2212,2097,1617,1519,1708,1721,1576,1764,1755,1539,1725,2543,3070,2324,2108,1757,1804,1716,1932,2166,2552,3152,3219,2714,2423,2300,2821,3476,3431,3604,3762,3870,3953,3584,3200,3027,2713,2316,1787,1824,2010,2197,2197,2256,2313,2103,1780,1841,2155,2263,2048,2166,1733,1986,2205,1875,2511,3074,3183,3197,2635,2161,2061,1982,1735,1741,1806,1617,1933,2621,2187,2250,2224,1977,1997,1899,2032,2025,1787,1870,1623,1558,1700,2097,1605,1704,1961,2032,1758,1929,2360,2152,2093,1498,1610,2701,2735,2955,2855,2414,2176,2623,3566,3201,2155,2402,2920,2633,2057,2464,2334,2084,2444,2216,1970,1986,1948,1832,1617,1405,1638,1824,2570,2324,2190,2261,2124,2441,3124,2314,1542,1733,1418,1428,1791,1769,1576,1660,1286,1876,2512,2511,2560,2498,2176,2634,2398,1699,1704,1923,2167,2184,2370,3670,4377,3426,2446,2710,2250,1543,1622,2074,2345,2711,2877,2345,2053,2182,2229,2988,2722,2186,2020,2363,2840,2654,2410,2360,1936,2182,2093,1975,1739,1807,1974,2072,1975,1917,2278,2229,2301,2551,2608,3064,2983,2457,1957,2075,2360,2179,1906,1905,2337,2670,2596,2335,2354,2515,2422,2501,3401,3161,2201,2348,2494,2436,2386,2667,2758,2230,2525,2592,2340,2092,2551,2776,2307,2043,2132,2266,2143,1904,1964,2026,1903,1934,2065,2210,1806,2385,3197,3095,2167,1543,2046,2204,1621,1599,2070,2620,2345,2527,2218,2007,2744,2966,3172,2890,1987,2144,2604,2460,2008,2540,2543,2357,2452,2510,2636,2497,2082,2192,2050,1913,2416,2552,2652,2357,2440,2971,4169,3857,2856,2580,2366,2690,2712,2584,2283,2766,2343,2608,3146,3043,2523,2637,3206,2984,2175,2321,2440,2786,3197,3153,2945,3295,2849,2417,2776,3175,3391,3510,3312,3011,2845,2882,2798,3220,3333,3298,2999,2555,2447,2661,2736],[2508,2613,2603,2402,1857,1787,1709,1324,2111,3042,3399,2709,2255,1802,1865,1994,2013,2437,2792,2480,2174,2335,3054,2408,1848,1852,2624,3917,3429,2864,3318,3628,3850,3682,2635,2457,2702,2717,2132,2558,2978,2923,3108,3407,3366,3287,3499,3802,3614,3517,3626,3194,2680,2718,2577,2390,2336,3082,3532,3671,4177,4464,4584,4407,3894,3760,3767,3133,2427,2558,3695,3952,3513,2678,2598,2877,2812,3085,3131,2453,2476,2536,2690,2355,2596,3186,3216,3140,2940,2983,3320,3329,3292,2976,3028,3054,2755,2582,3404,3515,3748,4035,4120,4288,3740,3204,3219,3439,3663,3474,3817,3990,2761,1669,1504,1941,2632,2908,3040,3276,3216,2983,2625,2466,2341,2147,1744,1864,1944,1708,1708,1716,1679,1776,1962,2039,2079,2588,2662,2254,2018,1957,2774,2670,2148,2830,3382,3234,3052,3356,3132,2802,2400,2241,2236,2232,2386,2419,2294,2522,2644,2303,2110,2279,2640,2898,2976,3816,4431,4032,3750,3570,2818,2410,2376,2341,2511,2657,2662,2676,2769,2520,2343,2480,2743,2314,2358,2892,2551,2175,2774,3689,3564,3606,3439,2949,2778,2778,2854,2856,2723,2551,2821,3166,3353,3488,3393,3344,3413,3759,4340,4608,3886,2987,2918,2932,3215,3494,3241,3397,3183,2694,2906,2936,3397,3095,2208,2482,2779,2784,3218,3768,3562,3194,3500,3394,3020,2966,3393,3514,4026,4152,4050,3908,3760,3728,3574,3260,3228,3372,3519,3798,3857,3972,2910,2482,2145,2622,3848,4153,3438,2612,2388,2272,2056,2205,2094,1809,1946,2188,1945,1737,1629,2213,2856,2442,1809,1232,1532,2083,2057,1891,1729,2044,2286,2569,2778,2985,3231,3022,2770,2423,2050,2226,3110,3534,3175,3099,2872,2151,2047,1994,1682,1847,2074,2276,2131,1995,2100,2394,2590,2727,3204,3455,3544,3515,3096,2359,2182,1865,1826,1865,2910,3855,3452,2995,3362,3338,2646,2281,2656,3183,2855,2542,2873,2404,2365,2558,2232,1994,2524,3394,3220,2962,3016,3022,2001,1788,2078,2624,2790,2543,1990,2049,2010,2216,2307,2076,2070,1818,2060,1797,1583,1942,2182,1853,2060,2455,2758,2405,1870,2116,2474,2246,2182,2510,2520,2109,2237,2864,2303,1651,1771,2011,1927,1715,1994,2348,2486,2260,2750,2930,2996,2181,1504,1719,1984,1863,1886,1870,1960,2239,1774,1174,2127,2486,2171,1855,1820,1997,1866,1808,1858,1627,1556,2045,2867,3150,3252,3409,3526,2983,2536,2415,1954,1895,1964,2053,2745,3256,2987,2047,1917,1881,2094,1766,1541,1637,2016,2496,2498,2358,2154,1854,2020,2534,2664,2049,1695,1666,1714,1779,2114,2141,1952,1974,1971,1839,1977,2286,2250,2142,1957,1724,1775,1887,2170,2206,2170,2428,2533,2358,1925,2014,1717,1595,1729,1848,1764,2004,2167,1853,1746,2076,2356,2141,2092,2150,3492,3472,3106,3025,2084,2455,2900,2718,2281,2482,2745,2331,2446,2235,2231,2630,2486,2474,2461,2499,2754,2917,3064,2951,2485,2567,2398,2623,2097,1798,2064,2198,1904,1912,2568,2676,2370,2643,2339,2426,2928,3128,2840,2132,2020,2410,2382,1865,1633,1562,1467,1395,1353,1402,1628,2082,2039,1865,1978,1780,1570,1678,1941,2103,1962,1811,2226,2085,2409,2942,3097,3190,2770,2480,2478,2438,2166,1780,1406,1534,1612,1560,1616,1726,1804,2187,2666,2498,2252,1984,1660,1554,1833,2019,1786,1741,1825,1861,1643,2055,2454,2377,2033,1939,2745,3313,3212,2899,2566,2608,2399,2546,2276,2130,2412,2284,1990,2009,2197,2268,2066,2103,2487,2691,2810,2864,2818,2615,2048,1832,1932,2312,2639,2647,2747,2630,1700,1465,1665,1642,1432,1562,1854,1951,1905,1815,1776,1803,1862,1756,1767,1937,1732,1671,1792,2142,2008,1631,1644,1820,1703,1875,2332,2574,2453,2082,1861,1970,1970,2166,2223,2193,1776,1857,1976,1870,2222,1785,1298,2211,2108,1831,2262,1930,1569,1599,1680,1676,1472,1531,1677,1892,2020,2302,2436,2209,2098,2528,2957,3124,2818,2602,2159,1528,1465,1427,1471,1603,1790,1889,1896,2000,1892,1863,1966,1790,1746,1786,2050,2421,2963,3198,2847,2497,2221,2254,2412,2815,2924,2651,1968,1631,1516,1127,967,1032,1212,1542,1864,2064,2171,2287,2276,2590,2890,3713,3702,3740,3262,2379,2624,2847,2740,2562,2667,2800,3241,2724,1602,1412,1658,1819,1555,1499,2060,2527,2098,2480,2968,2170,2695,2938,2397,2341,1945,1725,1848,2399,3761,3532,1820,1227,1366,1589,1453,1427,1454,1278,1212,1322,1462,1331,1061,1251,2090,2227,1766,1509,1564,1321,1347,2130,2520,2055,1664,1639,1699,1854,1971,2071,2326,2251,1852,2320,2690,2112,2186,2859,3097,2850,2371,1632,1240,1531,2687,3806,3970,3813,3853,3740,3278,3074,3596,3594,3710,3971,2955,2783,3709,3673,2978,2096,1724,1638,1562,1568,1735,1695,1628,1512,1439,1632,1609,1470,1441,1382,1338,1363,1412,1579,1454,1266,1580,2254,2653,2010,1918,1857,2188,2396,1695,1107,1218,1253,1497,2186,2272,2508,2278,2499,2341,1710,2176,2302,2036,2609,3516,3433,3017,3094,2163,2433,2228,2820,3066,2608,2072,1594,2156,2962,2964,2454,2117,2030,2486,2576,2048,1952,2539,2740,2877,2989,3032,3256,3276,2840,2756,3017,2979,3379,3492,3397,3486,3520,3487,3356,3305,2740,2075,2379,2651,2234,2652,2823,2754,2079,1692,2005,2250,2213,1952,1944,1812,2096,2422,1578,1296,1224,1249,1324,1512,1453,1272,1405,1500,1549,1569,1439,1248,1174,1219,1364,1254,2008,2136,2082,2016,1904,1670,2248,2732,3127,3964,3561,3249,4344,3697,1843,1382,1376,1678,2444,2434,2253,2504,2845,3308,3544,3561,3615,3574,3197,2962,2769,3012,3301,3254,3260,3250,2842,2490,2515,2519,2286,2260,2312,2275,2248,1991,2384,2935,2979,2730,2155,1652,2071,2199,1550,1484,1970,1810,1694,1891,1989,2102,1712,1437,1770,1715,1648,1786,1681,1952,2197,1604,1556,1695,1893,1991,2021,2270,2448,2230,1760,1734,2003,2042,1879,2082,2081,2118,2084,1807,1857,2084,2106,2131,2507,2802,2591,1864,2033,2558,3263,3804,3566,3042,2930,2920,2933,2790,2447,2648,2852,2835,3229,3031,2481,2399,2415,2246,2337,2731,2814,2467,2352,2452,2386,2124,2208,2234,2241,2035,2049,2204,2152,2009,2068,2202,2384,2495,2545,2916,2763,2661,2852,3094,3028,2823,2955,3308,3438,3492,3571,3265,2786,2510,2193,2556,2542,1529,1286,2028,2009,1448,1426,1500,1522,1354,1487,1489,1365,1424,1507,1406,1272,1317,1320,1482,1742,1433,1361,1344,1372,1470,1378,1560,1443,1652,1560,1366,1380,1335,1356,1435,1495,1625,1851,1754,1675,1452,1519,1687,1475,1391,1534,1692,1794,1931,1443,1408,1554,2172,2986,2358,1813,1894,1924,2110,2109,2084,2542,2347,2543,2717,1915,2264,3000,2702,2330,2236,2061,1482,1280,2004,2559,2732,2363,1827,1664,1693,2247,2714,3112,3273,2481,1675,1504,1909,2453,2358,2480,1926,2010,2339,2323,2482,2274,2199,2079,2000,2435,2664,2908,2361,1797,1607,2260,2509,2481,2370,2095,1936,1598,1432,1867,1798,1631,1656,1905,1912,2169,1682,1421,1338,1344,2009,2562,2335,2036,2352,2520,2394,1977,2264,2590,1957,1970,1955,2001,2138,2051,1882,2136,2056,1754,2508,2476,2420,2261,2456,2365,2142,2122,1929,2034,1846,1750,2180,2179,2162,1916,2149,2077,2258,1951,2085,1643,1642,2161,2829,3090,2931,2510,1964,2223,2190,1909,2046,2354,1991,1987,2209,2129,2729,3220,3378,3488,3027,3052,2430,2460,2244,1822,2068,2228,1632,1466,1766,1807,1937,2170,1833,2060,1976,2229,2692,2271,2410,2696,2823,2938,3531,3764,2946,1938,2217,2014,2027,1836,2092,2431,2534,3789,3995,2526,1634,1555,1507,1848,1998,1997,3122,2987,2359,2030,2042,1937,1877,1862,1956,1845,1766,2405,2570,2514,2844,2546,2181,1929,2070,2241,2425,2362,2426,3108,3082,2218,2270,2288,2016,1691,1316,1590,1674,1592,1760,1990,2253,2344,2492,2549,2658,3404,3133,2789,2718,2386,2228,2106,1716,1929,2766,3143,2707,2355,2090,1546,1577,2276,2995,3086,3350,3250,2433,1817,1932,2136,2250,2159,2302,2525,2192,2181,2979,3538,3688,3642,3576,3474,2906,2158,2465,2185,2134,2361,2209,2147,2305,2295,2473,2857,2674,2293,2175,2094,1820,1736,1721,2269,2091,2444,2409,1934,2050,2179,2248,2183,2253,2514,2640,2193,2197,2268,1983,1971,2470,2319,1954,2114,1952,1685,1776,1921,2024,1953,2136,2214,1908,1591,1942,2048,1536,1608,2103,2187,1786,2220,2484,2008,2034,1499,1866,2622,2633,3112,2980,2097,1723,1860,2680,3023,2100,1919,2453,1757,1679,1833,1691,2061,2963,2954,2499,2747,2667,2100,1630,1668,1536,1454,1688,1990,2670,2619,2130,2253,2398,1875,1703,1962,1836,1962,1925,1784,2171,1763,1490,2087,2387,2508,2508,2398,2566,2630,1964,2014,1668,1424,1736,2412,2270,2351,2810,2401,2207,2353,1671,1367,1720,1947,2277,2451,2729,2513,2297,2252,2514,2727,2588,2352,1970,2579,2958,2664,2262,2251,2298,2371,2037,1775,1809,2042,1875,1621,1881,2295,2468,2224,1996,2004,2124,2491,2404,2308,2546,2415,2301,2129,1704,1803,2053,2478,2655,2531,2154,2244,2138,2557,3367,2799,2215,2336,2412,3046,3098,3071,2570,2419,2889,2511,2084,2304,2608,2853,2990,2509,2219,1981,1952,1677,1966,2132,1706,1748,2230,2072,2246,3276,3582,3032,1966,2092,2287,2008,1603,1543,2176,2664,2517,2647,2307,2050,2876,2912,2670,2178,1714,2137,2657,2257,2266,2547,2267,2237,2385,1885,1766,2053,2292,2815,2272,1754,1960,2230,2257,2005,2243,2503,3039,3087,2591,2844,2622,3086,2733,2369,2436,2365,2612,2578,2530,2565,2182,2263,2478,2957,2699,2439,2431,2545,2620,2979,3221,3617,3388,3055,3206,3508,3498,3370,3008,2584,2600,2775,2956,3444,3538,3379,3222,2665,2460,2803,2318],[2463,2663,3012,2859,2178,2122,2298,2289,2315,2530,2791,2461,2271,2024,2109,2459,2314,2202,2291,2297,2675,3110,3138,2040,1635,1500,2212,3826,3807,3229,3387,3518,3625,3305,2498,2852,2924,3007,3101,3076,3176,3182,3342,3364,3252,3254,3513,3890,3928,4095,3808,3152,2823,3151,2803,2509,2778,3658,4027,3814,3847,3883,4365,4259,4017,4084,3585,2732,2475,2468,2447,2896,3552,3475,3190,3486,3631,3548,3547,2756,2175,1915,1951,1848,2233,2769,2801,2896,2734,2833,3251,3280,3107,2856,3207,3185,2836,2810,2784,2887,3640,4049,4121,4240,3806,3142,2712,3411,3782,3872,3946,3880,3065,2079,1733,2073,2309,1969,2653,3276,2789,2271,2262,2105,2264,2520,2217,2191,2111,1774,1450,1830,1867,2276,2229,2078,2106,2724,2687,2025,1750,2104,2955,2459,1760,2365,2318,2286,2315,2307,2262,2165,2366,2598,2504,2410,2320,2214,2327,2686,2688,2494,2345,2841,3108,3223,2967,3418,4034,3939,3821,3731,3186,2332,2158,2540,2656,2357,2275,2348,2702,2553,2411,2544,2610,2646,3014,3082,2337,2073,2415,3399,3734,3935,3488,2864,2399,2378,2744,2919,2762,2674,3086,3030,3244,3316,3354,3510,3672,4143,4587,4499,3284,2612,3040,3052,3085,3525,3106,3093,2853,2735,2602,2812,3562,3218,2409,2520,3256,3463,3601,3996,4094,3460,3441,3596,3711,3240,3572,3228,3285,3450,3189,2951,2798,3477,3554,3219,3116,3032,3828,4233,4040,4233,3289,2530,2595,2865,3515,2823,1877,2359,3047,3104,2962,2128,1832,1704,1858,1995,1872,1969,2246,2590,2186,2128,2127,1759,1697,2620,2872,2162,1902,2034,2222,2520,2294,2284,3015,2640,2305,2265,2156,2450,2412,2469,3140,3558,2799,2018,2030,1824,1896,2261,2136,2126,2173,1901,2102,2670,2598,2584,2845,2985,3432,3285,2454,1799,1864,2019,2557,2730,2643,2917,3227,3686,3994,3772,2762,2364,2669,2846,2846,3128,3024,2589,2477,2344,2375,2302,2471,2824,2710,2661,2321,2565,2082,1951,2100,2392,2265,1846,1804,1713,1880,2481,2331,1980,2049,1963,2271,2387,2248,2142,1929,1754,1953,2267,2578,2416,1757,1978,2443,2357,2216,2162,2166,2257,2758,3383,3160,2344,2039,1950,1979,1982,1928,2297,2355,2362,2358,2019,2596,2545,1886,2061,2371,2125,2176,2018,1918,2567,2832,1834,1690,2061,1815,1410,1866,2370,2403,2404,2052,2004,2112,2513,3144,3384,3350,3382,3339,2643,2452,2391,1780,1970,1997,2077,2707,2576,2297,2047,1967,1876,1942,1894,1798,1726,1948,2252,2296,2319,2406,1872,1732,2737,3284,2513,1900,2101,1975,1747,2580,2621,2150,1941,1881,1621,1701,2015,2061,2054,2017,1881,1810,1962,2133,2330,2431,2083,2243,2610,2296,2083,1879,1876,1745,1691,1795,1857,1823,1643,1599,1971,2600,2100,1702,1582,2249,2661,3010,2509,2244,2566,2683,3331,3046,2433,2600,2690,2902,2584,2540,2408,2401,2424,2151,2399,2883,3057,2667,2750,2784,3100,2498,2212,1694,1609,2074,2150,1927,1688,2066,2335,2066,1998,1382,2041,2624,2465,2232,2641,2798,2798,2514,1815,1506,1473,1460,1384,1498,1700,1940,1992,1837,1790,1931,1804,1582,1561,1618,1954,2229,1661,1732,1548,2479,2972,3063,2809,2217,2367,2812,2459,2077,1808,1450,1612,1683,1526,1563,2114,2254,2186,2258,2730,2759,2394,2091,1825,1924,1980,1528,1798,1851,1822,2013,2219,2298,2298,1917,1953,3168,4369,3951,3444,2944,2855,2519,2207,1944,1946,2159,2251,2367,2458,2331,2192,1883,2112,2618,2737,2859,2977,2906,2358,1880,1953,2171,2425,2553,2266,2571,2070,1749,1759,1633,1576,1370,1578,1943,2134,2117,1992,1925,1703,1744,1780,1903,2002,1971,1802,1609,1844,1729,1497,1711,1754,1689,1903,1636,2139,2378,2310,2492,2187,2009,2038,2114,2549,2197,1918,2246,2085,2285,1992,1789,2110,1829,1709,2060,1870,1808,2173,1952,1607,1505,1660,1814,1782,1535,2203,2624,1966,1975,2078,2106,2360,2465,2238,1731,1586,1614,1489,1554,1767,1742,1856,1958,1758,1641,1659,1576,1376,1616,1930,1907,2119,2405,1881,1632,1881,1975,2540,2344,2115,2614,2569,1898,1577,1786,1712,1353,1078,1381,1645,1795,1928,2029,2091,2199,2264,2557,3193,3562,3869,3557,3684,2379,2249,2187,2273,1947,2187,2454,1741,1482,1622,1832,1654,1426,1671,1899,1993,2026,2425,2568,2097,2601,2720,2193,2412,2105,1622,1851,2343,3753,3378,1973,1332,1381,1356,1223,1446,1366,1187,1166,1345,1698,1390,1039,1627,2057,1625,1609,1467,1347,1526,2105,2650,2385,1691,1684,1636,1591,1833,2067,2080,2268,2405,2520,3205,3277,2573,2421,2924,2901,2666,1776,1048,1504,1719,1873,2896,3688,3474,3567,3643,3311,3224,3648,3675,3570,3857,3971,3883,3675,3127,2177,1682,1650,1621,1575,1700,2169,2083,1706,1406,1496,1686,1732,1713,1665,1589,1459,1599,1421,1556,1429,1338,1447,2268,3261,2963,2282,1941,2349,2296,1549,1188,1694,2038,2231,2432,2630,2799,2654,2871,2502,1881,1856,1998,1889,2112,2687,2598,2475,2460,1698,1922,2198,2684,3062,2908,2103,1825,2629,3177,2829,2451,1790,1730,2437,2067,2221,2207,2203,2510,2753,2921,2916,3362,3389,3176,3055,3219,3492,3509,3407,3229,3220,3476,3674,3461,3168,2897,2405,1781,2045,2215,2272,1910,1871,1741,1696,1857,2013,1859,1847,1983,1996,1767,1575,1323,1277,1376,1426,1413,1755,1676,1395,1469,1566,1600,1647,1612,1536,1257,1372,1290,1272,1939,2228,2272,2328,1985,1720,2033,2591,3404,4120,3695,3373,2929,2383,2059,2122,2497,2972,3247,3250,3173,3366,3419,3464,3381,3499,3528,3255,2964,2830,2828,3260,3182,2922,3050,3117,2875,2824,2930,2792,2942,3275,2950,2475,2123,1952,2342,3000,3155,2878,2344,1854,1835,1583,1289,1324,1688,1874,2199,2438,2363,2303,2064,1473,1905,1900,1870,1948,1745,1823,2287,2042,1733,1863,2056,2079,1960,1999,1986,1944,1706,1762,2120,2137,1866,2034,2047,2099,2122,2000,2047,2237,2257,2018,2722,3233,2996,2053,2247,2763,3050,3306,3362,3405,3432,2961,2751,2811,2757,2811,3194,3353,3720,3796,3598,3565,3516,3472,3500,3602,3780,3705,3731,3676,3839,3802,3708,3631,3583,3497,3441,3444,3386,3221,3000,2755,2620,2719,2504,2226,2163,2131,2018,1969,1875,1826,2001,1985,2008,2279,2363,2268,2167,1929,2105,2575,3077,2484,1464,1113,1335,1390,1438,1426,1481,1336,1360,1399,1411,1449,1397,1281,1290,1499,1493,1294,1442,1307,1417,1470,1339,1335,1515,1650,1569,1576,1291,1132,1452,1588,1521,1526,1560,1674,1543,1375,1608,1558,1742,2035,1708,1168,1244,1615,1798,2037,1425,1447,1565,2258,2661,1969,1843,2125,2238,2317,2133,2224,2656,2075,2115,2409,2369,2718,3009,2801,2074,1990,2376,1721,1917,2634,3276,3577,2609,1877,1964,1965,2750,3519,4063,3825,2674,2644,2220,2258,3190,2889,2395,2048,2211,2284,1979,1782,1642,1867,2206,2372,2881,2952,2990,2754,2092,2347,2818,2313,2068,2157,1888,1981,1890,1504,2094,1959,2276,2136,2188,2336,1996,1560,1444,1405,1635,2337,2498,2426,2210,2509,2261,2160,2376,2592,2213,1836,2279,2319,2137,2115,2072,1970,2020,2324,1991,2275,2243,2115,2295,2574,2166,2223,2256,2260,2244,1688,1671,2216,1997,2037,2210,2024,2063,2593,2488,2348,2152,2091,2476,2844,2829,2919,2365,2293,2568,2314,2126,2291,2494,2238,2161,2117,2145,2347,1711,2027,2729,2534,2839,3243,3591,2950,2268,2164,2379,2280,2188,2201,1781,1808,2015,1807,2019,1897,1878,2460,2658,2420,3104,3436,3333,3611,3288,2637,1697,1964,2173,2160,1929,1926,2178,2355,2467,2240,1782,1594,1994,2196,2387,1838,1412,2150,2592,2197,2108,1841,1839,2073,2154,2394,2326,1985,2135,2225,2238,2308,1992,1902,1659,1874,2507,3103,3073,2666,3262,3134,2490,2449,2637,2363,1784,1766,1967,1521,1172,1441,2111,2321,2118,2303,2536,2763,2985,2676,2499,2586,2646,2862,2486,1778,2085,2423,3361,3759,2676,1821,1829,1581,1728,2192,2511,2908,3021,2612,2330,2382,2234,2376,1972,1681,2158,2557,2248,2438,2942,3365,3339,2908,2552,2261,2038,3102,2223,2344,2231,2547,2454,2392,2322,2841,3124,2610,2294,2027,1641,1600,1964,1998,2273,2151,2372,2262,1759,1716,2162,2074,2008,2388,2697,2611,2134,2474,2107,1850,2348,2612,2376,1955,1702,1604,1526,2138,1976,1512,1724,2393,2245,2189,1798,1717,1599,1453,1528,1963,1913,1806,2437,2453,2235,2035,2037,2364,2175,2536,3343,2771,1471,1306,1749,2160,2732,2212,2696,2731,2035,2215,2354,1856,1894,2767,3361,2690,2405,2684,2686,1993,1634,1560,1631,2100,2689,2802,2570,2482,1976,1911,1932,2455,2266,1767,1731,1740,2303,2728,2099,2116,2404,2181,2333,2329,2079,2157,2037,1947,1877,1918,2076,2153,2397,2163,1803,2031,2501,2857,2517,2004,2338,2160,1939,2270,2283,2724,2908,2564,2451,2191,2086,2252,2176,1952,2330,2385,2229,2053,1952,2032,2087,2191,2226,2315,2339,1902,1791,1951,2259,2219,2032,1779,1675,1769,2042,2070,2054,2339,2522,3000,2634,1839,2277,2035,2221,2417,2522,2399,2080,2009,2430,2626,2396,2139,2118,2621,3370,3306,2818,2329,2502,2818,2369,2310,2754,2622,2734,2924,2692,2518,2026,1809,1975,2290,1966,1267,1769,2441,2121,2432,3589,3292,2075,1479,2169,2093,2069,2106,2006,2458,2889,2640,2987,2752,2120,2907,2899,2330,2058,1953,2159,2631,2763,2862,2943,2670,2776,2801,2009,2127,2416,2835,3394,3127,2019,1571,1635,1649,2260,2621,2331,2360,2632,2232,1951,2369,2931,2766,2630,2750,3049,3531,2984,2027,2469,2800,2546,2469,2680,2641,2683,3144,3072,3022,3222,3350,3372,3487,3465,3104,3283,3322,3076,2976,2909,3157,3166,3228,3405,3493,3334,2980,3021,2824,2840,2555],[2741,2670,2806,2231,1741,2077,2624,2835,2515,2743,2624,2083,1948,1892,1971,2113,2144,2166,2142,2985,3808,3714,2857,2077,1887,1713,2362,3490,3519,3347,3287,3502,3538,2944,2410,2796,2999,3068,3008,3097,3108,3138,3406,3419,3458,3340,3470,3730,4053,4047,3675,2834,2225,2383,2542,2385,2687,3629,4000,3970,3397,3201,3755,3989,3850,3926,3708,2607,2175,2645,2956,2629,2718,2623,2866,3582,4380,4268,3551,2843,2563,2250,1935,1834,2351,2736,2894,3074,2954,2510,2724,2896,2801,2723,3372,3340,2919,2872,2916,3065,3357,3353,3446,3901,3729,2997,2505,2765,3330,3645,3769,3723,3205,2155,1719,2061,2504,2014,2377,2590,2314,2373,2697,2446,2173,2068,2176,1926,2204,2502,1352,1579,1961,2110,2031,2087,2093,2855,3040,2406,2057,2011,2498,2352,1987,2208,2491,2712,2676,2196,1812,1705,2013,2578,2676,2192,1810,2107,2192,2193,2499,2792,3051,3212,3419,3231,2683,2987,3474,3701,3838,3645,3453,3049,2779,2697,2811,2408,2160,2422,2632,2577,2792,2836,2567,2370,2632,2964,2002,1605,2194,3496,3941,3674,3220,3334,3298,2993,3123,3117,3195,3199,2661,2499,3046,3199,3638,4265,4276,4459,5044,4808,3469,3219,3310,2963,3311,3703,3382,3064,3001,3074,2809,2974,3688,3652,2345,2354,3472,3717,3606,3476,3540,3365,3186,3575,4091,4332,4243,3745,3429,3444,3245,2736,2646,2862,2832,2841,3130,3350,3885,4057,3874,4199,4092,3457,3096,3341,3305,2402,2341,3275,3166,2885,2564,2040,1960,1732,1690,1926,2004,2218,2263,2324,2490,2224,2094,2076,2364,3032,2675,1788,1744,2223,2475,2142,2126,1967,2015,1970,2070,2307,2307,1992,1635,1749,2344,3196,3055,2845,2382,2087,2133,2341,2048,1957,2178,1856,1888,2186,2393,2358,2373,2567,2932,2774,1843,1571,1648,2003,2895,2978,2458,2138,2667,3538,3750,3182,2430,2263,2298,2402,2259,2177,2228,2069,1854,1988,2236,2445,2684,2533,2148,2184,2262,2103,1870,1803,1775,1954,2091,2072,2113,2104,2048,2336,2022,1989,1881,1847,2272,2667,2720,2258,1832,1863,2205,2185,1964,1879,1745,1762,1854,2323,2424,2177,1937,2331,2908,3282,3608,3318,2822,2242,2032,2022,1954,2430,2263,2335,2007,1566,2249,2696,2215,2534,3041,2563,2345,2261,1999,2546,3001,2841,2503,2400,1931,1180,1714,2098,2321,2621,2142,2598,3216,3096,2620,3018,3332,3221,2889,2312,2233,2307,1767,1927,1931,2076,2404,2249,2087,1959,1803,1696,1753,1919,1979,2003,2129,2084,2473,2885,2845,2214,2037,2588,2812,2414,2290,2675,2326,1365,1771,2147,1894,2205,2425,1915,2233,2138,1615,1854,1874,1710,1968,2281,1953,2171,2160,2365,2959,2698,2168,2024,2143,2099,2097,2137,2100,2402,1873,1597,1688,1794,2082,1892,1738,1825,1749,1850,2110,2297,2411,2378,2501,3147,3498,2785,2831,2975,3016,2740,2483,2201,2259,2279,2578,2741,3228,3606,3197,2965,2751,2884,2388,1880,1636,1764,1842,2238,2343,1834,1886,2055,2067,2355,1859,2198,2042,1389,1580,2238,2299,2323,2028,1646,1670,1920,1920,1614,1714,1916,1769,1713,1859,1780,1816,1556,1412,1449,1414,1825,2185,2211,1913,1829,2430,2752,3038,2885,2353,2509,2965,2539,2099,1729,1655,1696,1589,1575,1863,2222,2054,1831,2360,3184,3142,2895,2578,2293,1975,1686,1610,1672,1914,2104,2578,2745,2564,2193,1910,2482,3718,4151,3767,3611,3221,3105,2095,1703,2007,2398,2563,2595,2530,2513,2236,2190,2564,2401,2514,2622,2844,2975,2640,2077,1816,1938,2343,2135,2042,2258,2358,1564,1647,1831,1748,1801,1653,1778,2066,2327,2293,2279,2147,1665,1651,1797,1752,1829,1807,1814,1896,1935,1802,1517,1570,1569,1539,1469,1771,2008,2110,2061,2109,2314,2166,2084,2332,2610,2473,2295,2176,2045,2259,2147,2148,2091,1880,1687,2171,2148,2055,2111,1731,1577,1616,1766,1709,1880,1822,2041,1883,1851,2133,2086,1981,1918,1938,1990,1923,1723,1575,1574,1577,1720,1735,1803,1664,1662,1847,1969,1958,1853,1948,1964,1859,1863,1938,1664,2359,2654,2125,2040,1910,2309,2884,2820,2198,1691,1744,1869,1892,1635,1503,1598,1742,1790,2000,2188,2006,2132,2308,2801,3676,3629,4029,3605,3410,2510,2055,2328,2241,2442,2342,1572,1600,1818,1673,1423,1592,1875,1991,2050,2197,2357,2101,1997,2634,2406,2361,2232,2058,1675,1408,2297,3710,3292,1919,1414,1434,1265,1313,1494,1248,1244,1597,1560,1479,1310,1249,1422,1392,1449,1680,1569,1661,1885,2343,2541,1922,1524,1758,1686,1492,1774,2132,2073,2024,2191,2468,3361,3437,2833,2511,2430,2219,2551,2210,1923,2610,2635,1728,2350,3166,3058,3263,3563,3660,3660,3736,3438,2956,3292,3655,3519,3254,2374,1709,1484,1457,1559,1717,1897,1859,1784,1496,1460,1640,1703,1815,1952,1782,1343,1444,1601,1456,1466,1332,1325,1366,1729,2353,2700,2474,2429,2585,2560,2081,1721,2084,2483,2425,2181,2652,3370,3215,2540,2343,2278,2110,2384,2546,2364,2563,2514,2420,2291,1858,2099,2510,2686,2854,2793,2554,1847,2095,3252,2517,2327,1918,2108,2542,2561,2940,2474,2043,2222,2424,2414,2427,3119,2954,2938,2997,3303,3760,3620,3130,2909,2957,3310,3530,3417,3277,3372,2909,2003,2324,2225,1892,1638,1552,1556,1698,1981,2002,1840,2052,1607,1738,1858,1556,1684,1643,1538,1434,1320,1605,1664,1390,1486,1652,1743,1754,1730,1736,1664,1801,1863,1783,1856,2004,2098,2008,1825,1706,2124,2769,3327,3763,3476,2922,2899,3282,3320,3174,3276,3594,3331,2918,2440,2731,3536,3710,3518,3638,3598,2895,2872,3248,3378,3552,3355,2887,2695,2718,2518,2509,2586,2527,2491,2952,3297,2746,2199,2044,2112,2282,2233,1898,1605,1429,1316,1359,1645,2080,2243,2163,2675,3002,2856,2351,2198,1453,1806,1778,1625,1622,1622,1746,2118,2135,1964,1760,1756,1602,1404,1394,1400,1778,1772,1698,2163,2105,1740,1856,1951,1912,1909,2007,2130,2084,2185,1873,2676,3239,3190,2432,2292,2706,2577,2313,2470,2920,3427,3262,2931,3101,2943,2675,2754,3241,3737,3854,4026,3860,3848,4097,3949,3908,3904,3938,3964,3982,4176,4147,4152,4108,3911,3911,4061,4288,4300,4272,4300,4207,4025,3882,3649,3373,3283,2957,2643,2740,2956,2909,2806,2696,2562,2436,2258,2471,2644,2376,2199,2412,2308,2167,2032,1068,1081,1487,1555,1348,1361,1456,1461,1460,1662,1746,1333,1477,1346,1410,1381,1281,1320,1404,1501,1622,1395,1338,1731,1833,1628,1571,1325,1308,1677,1831,1754,1447,1393,1810,1553,1140,1335,1623,1640,1584,1505,1224,1342,1620,1863,2403,1917,1522,1431,1923,2269,2187,2315,2379,2340,3178,3049,2617,2033,1727,2206,2609,2664,2734,3063,3367,2852,2225,2590,1744,2099,2754,3184,3154,2338,2269,2205,2123,3071,4333,4613,3906,2712,2808,2155,2095,2678,2476,1762,1658,1820,1930,2322,2729,2237,2384,2453,2984,3182,3081,2849,2801,2538,3120,3086,2259,2252,2122,1819,2062,2225,1700,2357,2253,2358,2478,2702,2979,2809,1882,1568,1713,1869,2074,2087,2255,2244,2067,2265,2587,2687,2855,2323,2269,2742,3208,3443,3241,2728,2251,1895,2160,2358,2297,2125,2355,2523,2175,2341,2396,2076,2122,2100,2270,2128,2203,1792,2126,2309,2200,2226,2318,2233,2150,2568,2906,2707,2511,2404,3016,3521,3312,3248,3165,3306,2776,2221,2093,1890,1986,2149,2150,1505,1604,2190,2260,2442,3120,3558,3736,3078,1945,2217,2485,2294,2258,1737,1673,1801,1848,1946,1955,1953,2728,3038,2647,2566,2978,3168,2963,2513,2087,1886,2360,2375,2044,2021,2114,2305,2222,1907,1997,1789,1772,1865,2415,2884,2468,2147,2558,2274,2282,2721,2562,1969,2302,2287,2123,2432,2004,1349,1690,2314,2557,2079,1828,1984,2074,2708,3176,2915,2976,3675,3292,3064,2984,2836,2394,1902,2024,2040,1555,1299,1752,2580,2508,2013,1930,2809,3219,2789,2405,2451,2363,2557,2844,2330,1865,2689,2754,3483,3437,2031,1823,2276,1934,1622,1548,1645,1851,2458,2501,2492,2272,2064,1947,1974,1657,1989,2469,2340,2145,2302,2557,3062,2828,2475,2352,2060,2106,1982,2425,2419,2395,2766,3230,3229,3620,3079,2568,2290,2195,2246,2527,2669,2008,1583,2117,2534,2198,2351,2781,2788,2261,2447,2457,2567,2592,2180,2113,1768,2161,2617,2396,2230,1847,1641,1718,1924,3082,2022,1492,1946,2332,2352,2054,1937,2031,1764,1574,1597,1939,1783,2032,2843,3300,3093,3046,3480,3065,2198,2308,2687,2344,1132,1620,2668,2743,2421,1720,2053,2359,2406,2696,2590,2163,2425,2835,3022,2120,1750,2520,2886,2614,1995,1734,2041,2942,3751,3466,2857,2712,1925,2198,2652,2987,2220,1981,2536,2459,2243,2282,2065,1859,2268,2194,2209,2150,1770,1563,1877,2271,2381,2527,2400,2091,2253,2376,2023,2265,2891,2757,2284,1968,1924,1331,1343,1993,2279,2577,2338,2470,2588,1772,1644,1437,1310,1798,2283,2336,2292,2152,1942,2014,1939,2083,1923,1731,2081,2222,2295,2942,3167,2670,2077,1771,1757,1735,1799,1981,2072,2017,2473,2842,2414,2182,2655,2430,2296,2010,1893,2264,2069,2035,2684,2909,2315,1821,1693,2071,2635,2933,2623,2452,3229,3793,3318,2868,2725,2646,2517,2406,2492,2475,2083,1793,2003,2099,1725,1594,2392,2847,2438,1865,2498,2048,1559,2045,2598,2425,1918,2035,2680,2894,2719,1862,2743,3044,2521,2491,2252,2129,2080,1914,1981,2742,3419,3448,3165,2677,2996,2752,2470,2534,2436,2178,2686,3124,2243,1826,2062,2046,2247,2055,1986,2191,2524,2332,1982,2524,2800,2851,2663,3128,3617,3500,2729,2525,3321,2931,2003,1865,2187,2263,2843,3322,2983,3051,3494,3209,3176,3403,3270,3129,3295,3353,3511,3229,3116,3210,3088,3028,3205,3575,3671,3584,3334,2907,3016,2801],[2890,2481,2127,1196,1096,1809,2328,2722,2984,2859,2334,2032,2012,1632,1604,1970,2157,2450,2546,3440,4108,3880,3122,2838,2857,2472,2965,3649,3585,3367,2965,3141,3238,2535,2662,3207,3226,2985,2861,3200,3116,3146,3239,3450,3592,3409,3537,3573,3797,3652,3422,2823,2187,2382,2371,1809,2265,3204,3775,4009,3733,3326,3486,3915,3990,3770,2880,2222,2153,2689,3633,3506,3132,2650,2999,3853,4477,4229,3329,2876,2950,2705,2138,2147,2499,2639,3172,3234,2754,2072,2083,2386,2397,2696,3242,3167,2494,2240,2219,2433,2415,2528,3115,3422,3197,3154,2746,2796,3379,3435,3630,3769,3450,2373,2003,2050,2059,1976,2120,2510,2660,2932,3183,2940,2225,1828,1890,1917,2685,2751,1500,1686,1768,1809,1888,1929,1919,2266,2398,2244,2339,2029,1974,2180,2343,2534,3234,3594,3321,2363,1864,2030,2099,2335,2408,1720,1436,2021,2198,2451,2931,2715,2477,2899,3414,2937,2283,2400,2599,2870,3315,3500,3439,3386,3431,3582,3426,2880,2722,2943,2957,2787,2846,2801,2719,2822,3287,3451,2221,1438,2450,3841,3723,2907,3115,3751,4188,3988,4079,3919,3694,3339,2555,2665,3351,3397,3957,4554,4462,4262,4791,4505,3237,3230,3100,3256,3498,3239,3161,3114,3292,3161,2845,2753,3409,2961,1900,2634,3475,3703,3580,3368,3305,3347,3145,3059,3691,4413,4247,4183,3929,3768,3872,4025,4232,3358,2823,3183,3286,3353,3850,3715,3536,3980,3149,2562,2630,3455,2918,2802,3606,3795,2673,2049,2018,1740,1718,1669,2063,2040,1982,2062,1971,2456,2613,2248,2177,2232,2487,2688,2299,2026,2095,2786,2950,2285,2644,2543,2112,1836,2271,2801,2784,2302,2195,1975,1655,2221,2343,2626,2636,2207,1974,2188,2601,2954,2465,1587,1828,2129,2242,1976,2254,2640,2658,2357,2100,2350,2667,2910,2924,2577,2213,2183,2541,2836,2753,2591,2309,2252,2349,2357,2252,2154,2022,1513,1392,1676,2014,2614,2847,2398,2139,2540,2654,2489,2524,2321,2003,2053,2160,2100,2383,2519,2231,2327,1892,1739,1825,1667,2060,2697,2612,2149,2041,2120,2118,1835,1775,1871,2027,1948,1692,1897,2127,2215,2034,2133,2497,2651,3140,3227,3389,2930,2288,1806,2355,2528,1613,1676,2150,2161,2211,2385,2216,2830,3042,2642,2570,2490,2188,2054,2156,2802,3199,2658,2208,1999,2125,1984,2306,2475,2081,2674,3386,2401,1891,2756,3242,2858,2687,2570,2591,2286,1804,1865,1836,1961,1929,1737,1710,1468,1417,1853,2148,2087,2042,2119,1901,1973,2557,2982,2891,2566,2201,2237,2722,2372,2762,3063,2701,2287,2081,2018,1844,2008,2036,2111,2496,2307,1893,1989,1555,1657,1901,1954,1846,2031,2473,2801,2850,2624,2132,2119,2187,2092,2185,2312,2068,2592,1943,1613,1593,1539,1732,1834,1874,1789,1829,2111,2173,2238,2086,2187,2274,2492,3034,2698,2830,3238,2805,2352,2499,2245,2060,2386,3080,3432,3639,3537,3228,2709,2376,2313,1982,1475,1681,2191,2035,2256,2067,1930,2063,2425,2486,2253,1974,2116,1816,1591,2119,2535,1457,1164,1433,1472,1720,1834,1919,1937,1877,1721,1500,1879,2148,1632,1582,1622,1860,1765,1523,2036,2979,3143,2443,2172,2074,2083,2408,2517,2532,2714,2784,2339,2057,1936,1790,2042,1696,1324,1781,2171,1848,1587,2080,2939,2490,2059,2643,2533,2075,1867,1856,1816,1688,1718,2176,2493,2285,1908,2012,2621,3964,4034,3884,3762,3523,2796,1838,1895,2419,2562,2491,2808,2463,1882,2061,2435,3065,2881,2539,2454,2690,2806,2424,2221,2083,2047,2426,2012,2110,2707,2048,1188,1324,1470,1738,1701,1598,1874,2030,2126,2150,2014,1874,1350,1248,1676,1780,1714,1608,1613,1683,1830,1996,2050,1973,1582,1567,1394,2320,2285,2203,1871,1768,2170,2278,2320,2558,2165,2251,2055,2102,1901,2351,2147,1817,1875,2076,2106,2183,2216,1963,1408,1076,1534,1321,1720,1909,1847,2154,1995,1463,1404,1726,2014,1938,1765,1813,2087,2326,1963,1758,1687,1700,1704,1651,1673,1671,1779,1819,1950,1998,1986,1705,1816,1753,1579,1838,2024,2542,2578,2023,1714,1449,1991,2481,2683,2873,2297,1837,1784,2146,2315,1956,1675,1648,1674,1774,2137,2144,1982,2191,2468,2728,3424,3607,3753,4018,3442,2970,2011,2390,2586,2137,1719,1882,1743,1430,1569,1875,1969,2386,2565,2474,2484,2171,1871,2770,2319,2232,2016,1815,1635,1660,2712,3817,3190,1859,1490,1275,1224,1299,1296,1262,1547,1822,1562,1477,1516,1431,1570,1366,1213,1512,1674,1974,2234,2395,2056,1614,1555,1688,1713,1777,2181,2360,2250,2053,2020,1908,2513,2542,2051,2099,2055,1835,2329,3042,3081,3002,2548,1936,2691,3010,2965,2983,3245,3482,3582,3608,2873,2246,2788,2939,2919,2406,1771,1619,1435,1782,1850,1666,1930,1886,1564,1819,2080,1842,1884,1885,1853,1593,1402,1892,1940,1684,1422,1355,1343,1392,1782,2330,2224,2097,2015,2051,2567,2750,2363,2259,2463,2364,1973,2230,2758,2761,2206,2128,2277,2584,2563,2833,3333,3515,2665,2277,2509,2352,2476,2728,2697,2543,2349,1927,2096,2411,2774,2165,2149,2090,2410,2476,2043,2381,2087,1969,1924,2180,2742,2564,3121,3208,3022,2929,3361,3912,3465,2795,2666,2906,3307,2807,2852,3186,3241,2497,2224,3025,2824,1940,1602,1688,1532,1659,2030,2074,1737,1720,1392,1744,1897,1737,2026,1774,1405,1304,1343,1814,2392,1763,1791,1776,1777,1711,1632,1567,1655,1792,1778,1777,1914,1997,1996,2111,1911,1780,2371,3299,3028,2782,2936,3662,4303,4311,4300,3975,3420,3173,2113,1746,1941,1995,2940,3617,3640,3688,3712,3341,3150,3466,3477,3476,3307,2678,2436,2524,2485,2371,2275,2164,2129,2666,3221,2921,2508,2242,1807,1727,1981,1893,1819,1850,1691,1996,2374,2600,2679,2068,2638,2986,2766,2115,1614,1338,1485,1392,1350,1409,1624,1920,1812,1653,1737,1353,1300,1416,1625,1879,2049,2248,1973,1809,2069,1999,1768,1916,1942,1810,1818,1804,2103,1955,2285,2231,2585,2869,2555,2036,2320,2654,2590,2429,2351,2556,2783,2873,3199,3470,3109,2750,2516,2968,3730,3750,3946,3809,3785,3797,3736,3972,3864,3846,3837,3992,4100,3973,4078,4036,3600,3660,4149,4421,4562,4633,4529,4501,4388,4389,4285,4086,4186,4139,4132,3774,3815,4070,3833,3831,3893,3702,3749,4137,4209,3544,2708,2359,2063,2018,1866,1262,1087,1388,1506,1427,1565,1558,1469,1450,1624,1869,1735,2044,1434,1279,1232,1365,1498,1449,1458,1471,1262,1295,1482,1600,1572,1886,1824,1572,2015,2269,1898,1472,1472,1666,1514,1244,1339,1701,1528,1229,1306,1317,1421,1602,1759,2075,1851,1539,1581,1866,1760,1632,1912,1993,1853,2369,2086,2310,2297,2221,2580,2439,2457,2913,3054,3072,2698,1994,2111,1836,2039,2321,2757,2363,2186,2395,2056,1855,2668,4256,4734,3976,2725,2609,2311,2173,2117,2424,2213,1730,1856,1913,2062,2802,2425,2463,2325,2621,2855,2711,2771,2643,1988,2200,2665,2441,2225,1989,2048,1932,2359,2445,2365,2276,2093,2143,2313,2570,2446,2086,1951,1871,1882,1706,1704,1829,1866,2112,2454,2335,2413,2214,2310,2538,2798,3740,3372,3007,2796,2212,1837,2159,2471,2557,2650,3376,3872,2917,2491,1858,1855,1844,2281,2349,1868,1757,2002,2271,2260,2126,1901,1761,1929,1925,2320,2405,2124,2222,2772,3347,3562,3355,3319,4050,3974,2696,2107,2147,2101,1924,1770,2041,1965,1584,1330,1949,2867,3873,4356,4228,3190,2036,2483,2302,1791,1971,1800,1686,2188,2534,2078,1558,1785,1979,2131,2031,2031,2141,1995,2137,2214,2208,2253,2601,2388,2028,2006,1781,1565,1755,2370,2558,1899,1594,1613,2290,2516,2485,2599,2438,2372,2446,2884,3179,2337,2376,2262,2239,2264,2105,1777,2110,2819,2843,2312,2224,2138,2107,2361,2554,2468,2994,3236,3028,2993,3176,3277,2907,2545,1987,1721,1572,1668,2115,2845,2842,1977,1902,3109,3802,2858,2174,2237,1961,2410,2395,2243,2851,3442,3639,3267,2363,1626,1889,2293,1737,1543,1636,1946,1817,2049,2148,1887,1983,1878,1821,1895,1691,2123,2455,2109,1869,2405,2791,3120,2683,3365,3445,2610,1895,2234,2543,2223,2116,3217,4229,4205,4183,3023,2465,2207,2106,2202,2325,2247,1688,1374,2037,1989,1825,2293,2307,2317,2553,2385,2087,2520,2474,2277,2149,1720,1986,2096,2020,2163,2289,1998,1759,2204,2585,1869,1914,2418,2510,2265,1898,1925,1936,1577,1633,1938,2177,2253,2138,2700,3255,3212,3619,3821,3553,2601,2219,2349,2279,1404,2060,3354,3334,2451,2008,1771,1847,2509,2912,3040,2778,2822,3144,2669,2007,1831,2192,2580,2633,2159,1797,2332,3060,3399,3309,2917,2609,2397,3001,3514,3009,2435,2755,3162,2930,2308,2502,2450,1999,2147,2229,2198,2001,1664,1768,1822,1968,2620,2641,2127,1795,1872,2495,2042,1802,2170,2229,2472,2442,2046,1476,1360,1831,2059,2014,1969,2514,2255,1546,1477,1521,1535,1745,2232,2146,1824,1865,1681,1982,1688,1860,1636,1893,2098,2297,2586,3206,3859,3396,2099,1817,2003,1725,1737,1764,1891,1802,1880,2212,2205,2685,3051,2632,2436,2192,2243,2624,2324,1859,2081,2299,2118,2113,2110,2107,2459,2437,2334,2902,3731,4091,4165,3663,3213,2999,2404,2044,2183,2403,2105,1793,1681,1599,2271,2592,2752,2733,2741,3017,2175,1676,2138,2551,2640,2409,2421,2456,2558,2664,2908,2011,2170,2519,2403,2273,2401,2286,2225,2332,1918,1993,2639,3122,3216,2927,2858,2546,2768,2520,2289,2082,2271,2824,2513,2621,2804,2635,2121,1833,2093,2177,1930,2153,2325,2157,2238,1885,1831,2878,3264,2860,2863,3108,3299,2514,1954,1645,1969,2431,2692,2669,2395,2705,3140,2890,3420,3711,3153,3154,3104,2920,3087,3153,3049,2942,2988,2986,3139,3549,3292,3023,2831,3089,3198,3134],[2924,2869,2342,1666,1904,2149,2057,2381,2447,2104,1826,1945,2243,1593,1302,1546,1835,2478,2832,2867,3168,3451,3226,2977,3217,3195,3206,3352,3395,3028,2633,2888,3262,2684,2758,3238,3085,2794,2963,3151,3149,3216,3286,3566,3629,3584,3611,3566,3648,3664,3566,2963,2790,2723,2326,1749,2154,2856,3406,3773,3826,3362,3491,3872,3898,3454,2520,2955,3094,3150,3641,3695,3858,3663,3475,3908,4228,3956,3366,3239,3322,2966,2179,2316,2619,2579,3084,3335,2750,2259,2592,2496,2422,2897,3045,2762,2011,1813,1674,1983,1946,2408,2934,2920,3034,3139,2604,2391,3142,3343,3784,3894,3588,2865,2105,1959,2041,1958,1958,2233,2490,2986,3203,3072,2469,1956,2062,2176,2884,3143,2442,1943,1813,1925,1962,1907,1627,1866,1688,1970,2436,2169,2144,2004,1976,2342,3123,3609,3561,3137,2840,2944,3010,2830,2242,1807,1696,1969,2232,2928,3120,2520,2448,3301,3784,3406,2644,2485,2230,2303,2475,2769,3200,3551,3752,3836,3632,3308,2995,3139,3395,3022,2752,2807,2889,3081,3680,3780,2758,1880,2336,3615,3638,2887,3128,3729,4034,4279,4409,4106,3784,3453,3161,3387,3707,3785,3841,4018,3892,3999,4564,4177,3294,3065,3003,3267,3163,2931,3098,3308,3492,3270,2872,2836,3182,2661,2483,3025,3635,3717,3504,3473,3410,3329,3287,3244,3761,4275,4411,4299,4300,4197,3904,3862,4219,3624,3074,3653,3982,3806,3603,3892,3557,3737,2546,1866,2800,3307,2911,3298,3928,3814,2762,1725,2044,1987,1754,2446,2383,2455,2634,2553,2470,2186,1994,2130,2515,2756,2381,2187,2195,2369,2334,2388,2425,2397,2474,2641,2474,2446,2505,2780,2919,2579,2464,2065,2086,1932,1974,2431,3110,3151,2423,1913,2242,2397,1897,1616,2182,2244,1936,1872,2298,2621,2280,2292,2706,2871,3015,3307,3422,3175,2802,2834,3575,3264,2469,2421,2376,2276,2198,2224,2136,1970,2025,1722,1917,1982,1964,2584,2656,2343,2047,2125,2756,2802,2668,2547,2262,2188,2168,2155,2232,2280,2396,1959,1681,1777,1622,1775,2558,3145,2603,2093,2098,2165,2064,1852,2120,2049,1952,2076,1965,1584,1814,2194,2001,2012,2206,2439,2774,2895,3533,3487,3075,2697,2799,2254,1382,1847,2369,2405,2646,2579,2236,2599,2646,2513,2691,2982,3008,2908,2622,2642,2798,2445,2216,2844,2637,2045,1936,1832,1518,2025,2330,1859,1688,2657,2994,2488,2414,2629,2995,2247,1802,1938,1981,2133,2061,1957,2023,1935,2169,2384,2419,2286,2670,2753,2048,1859,2258,2653,2553,2073,1822,2110,2755,2112,2448,2636,2426,2284,2242,2252,2231,2271,2486,2436,2318,2734,2472,1843,1746,1908,1991,2060,1932,2137,3119,3278,2957,2674,2406,2480,2366,2249,2004,2101,2030,2187,1936,1667,1542,1487,1632,1732,1756,1830,1942,2208,2184,2273,2402,2359,2398,2398,2481,2433,2750,2980,2651,2630,2769,2357,2136,2532,2932,3239,3221,2848,2820,2689,2060,2257,2032,1549,1978,2482,2609,2731,2652,2038,2051,2029,1951,1963,1986,2181,2123,2489,3185,3006,1758,1857,2046,1605,1583,1695,1860,2022,2077,2246,2048,1685,1770,1593,1984,1851,2039,1749,1804,2077,2453,2403,1900,1835,1663,1813,2126,2580,2752,2617,2221,1956,1796,1910,2034,2060,1732,1708,2276,2436,1864,1499,1691,2618,2554,2017,2224,2331,2055,2044,2211,2177,1828,2066,2212,2322,2232,1871,1846,2630,3875,3994,3796,3617,3381,2589,1756,1981,1921,2433,2608,2591,2269,1840,2093,2469,2818,2829,2545,2460,2621,2803,2573,2351,1994,2045,2104,2053,2310,2443,1786,1531,1457,1297,1545,1572,1694,2066,2091,2046,2098,2133,1692,1093,1165,1406,1488,1478,1560,1615,1670,1642,1664,1838,1988,1804,1926,1840,2036,2397,2458,2126,1974,1964,2106,1982,1938,2228,2526,2380,2103,1865,2249,2105,1791,1621,1718,1836,1924,1978,1918,1657,1440,1582,1711,2183,2096,2088,2320,2095,1776,1552,1841,1997,1704,1628,1960,2166,2287,2206,2002,1783,1875,1996,1932,1854,1749,1780,1733,1704,1686,1599,1744,2157,1844,1655,2041,2374,2518,2237,1982,1924,1826,1590,2055,2313,2787,2863,2358,2292,3094,3121,2003,1572,1566,1609,1697,1763,2227,2179,1986,2126,2404,2832,3518,4060,3701,4015,3416,2843,2175,2168,1661,1947,2125,1718,1540,1858,1902,2444,3264,2941,2395,2344,2026,2230,2637,2212,2087,2043,1907,1771,1876,2920,3804,2796,1532,1470,1236,1474,1213,1179,1522,1803,1635,1530,1712,1593,1526,1850,1523,1515,1796,1858,2226,2468,2348,1770,1843,2057,1677,1461,2092,3237,2820,2056,1897,1505,1460,1622,1808,2055,2206,2200,1866,2076,3117,3376,3343,3106,2965,3100,2975,2894,2777,2884,3181,3505,3708,3263,2618,2551,2643,2469,1765,1650,1478,1651,2452,2245,1644,1635,1618,1659,1953,2024,2053,2150,1946,1784,1720,1807,1968,2030,1809,1395,1378,1495,1578,1783,2163,1958,1761,1719,2567,3306,3358,2724,2020,2127,2474,2411,2584,2451,2498,2480,2303,2504,2668,2636,2920,2833,2858,2822,2501,2349,2063,1971,2214,2409,2436,2500,2132,2691,2629,1872,1344,1671,1947,2261,2389,2209,2642,2025,1925,1948,1917,2706,2939,2954,3195,3420,3277,3128,3550,3707,3355,2511,2962,3566,3150,3110,2734,2169,2204,2518,2788,2855,2014,1961,1616,1640,1692,1874,1907,1729,1749,1530,1826,2142,2192,2136,1762,1676,1778,1838,1976,2236,1904,1800,1678,1581,1439,1259,1263,1599,1626,1308,1447,1871,1939,2001,2097,1898,1704,2518,3708,3955,3911,4183,4589,4316,3908,3898,3632,3178,2752,1750,1454,2059,2336,2922,3602,3761,3618,3539,3409,3198,3403,3293,3487,3016,2532,2494,2602,2495,2200,2009,1982,2014,2298,3005,2924,2706,2473,1811,2029,2321,2051,1899,1946,1689,2015,2618,2574,2811,2141,2668,3107,2724,2130,1494,1327,1480,1554,1672,1757,1814,1757,1618,1488,1757,1743,1863,2114,2383,2533,2497,2276,1973,1729,1749,1845,1642,1656,1514,1521,2237,2518,2709,2546,2329,2416,2585,2451,2041,2188,2647,2632,2313,2273,2472,2689,2723,2667,2967,3308,3230,2884,3037,3396,3811,3839,3812,3649,3597,3593,3623,3783,3784,3748,3805,4001,4078,3847,3739,3782,3703,3926,4180,4375,4388,4329,4343,4412,4332,4332,4251,4083,4383,4308,4464,4068,3982,4200,4299,4388,4808,4963,4675,4529,4460,4048,3672,3450,2898,2424,2250,1676,1219,1375,1490,1656,1683,1700,1877,1652,1532,1560,1434,1303,1318,1435,1437,1466,1508,1449,1559,1560,1391,1421,1243,1443,1450,2093,2220,1645,1764,1771,1475,1411,1415,1500,1515,1348,1549,1691,1628,1542,1538,1369,1616,1802,1771,1579,1684,2048,1935,1849,1522,1968,2209,1988,2062,2185,2657,3536,3067,2258,2238,2352,3021,3781,3904,3472,2660,2177,1858,2155,2203,2126,2169,2143,2408,2302,1888,2050,2208,3234,4057,2903,1833,1967,2226,2232,2308,2714,2676,1960,1951,2040,1487,2384,2337,2147,2369,2104,1914,2128,2208,2029,1958,2084,2690,2841,2359,2243,1838,1620,2803,3472,2584,2306,2228,1850,2368,2728,2207,2254,1837,1961,1922,1734,1748,1824,1824,1896,1635,2083,2677,1850,2129,1967,2163,3103,2754,2354,2029,1908,2150,2305,2457,2934,3116,3898,4620,3895,2379,1748,2251,2120,1951,1742,1626,2100,2598,2613,2405,1957,1815,2082,2450,2074,2137,2695,2864,2886,3593,3816,3066,2380,2093,2912,3039,2438,2622,2471,2255,1969,1786,2632,3420,2758,1991,2119,2562,3463,3415,2853,2509,1845,2199,2303,2248,2461,2502,2436,2476,2546,2111,2266,2168,1293,1489,1310,1673,2025,1976,1960,2000,2067,2134,2005,1713,1538,1465,1543,1823,2098,2546,2411,1808,1421,1878,2328,2291,2602,2872,2557,2481,2403,2464,2767,3075,3142,2861,2850,2632,2204,2215,2424,2346,2208,1795,1946,1809,2136,2169,2382,2568,2570,2330,2453,2643,2829,2968,3174,2976,1846,1847,2040,2048,2011,2346,2397,2145,2480,3565,3854,2418,2059,2186,1986,2468,2341,2691,2987,2849,3342,3094,2633,2304,2388,2699,1667,1324,1454,2114,1836,1741,1616,2077,2690,2076,1886,2033,1802,2119,2666,3198,2908,2280,2608,2984,2940,3627,3460,2810,3112,3198,2996,2575,2567,3516,3539,3729,3624,2579,2288,2468,2367,2185,2404,2633,2466,1620,1980,1527,1713,2201,2918,3205,3043,2224,2046,1851,1394,1902,2190,1422,1234,1525,1844,1936,2039,1882,1568,1627,1706,1665,1776,2005,2154,2424,1925,1828,1964,1895,2182,2220,2490,2305,1686,2158,2546,2922,3672,3792,3585,2641,2008,2469,2774,2045,2104,2424,2087,2090,2381,2363,2481,2567,3198,3975,3752,2591,2521,2524,2213,2061,2164,2304,2359,2093,1694,2005,2431,2824,2662,2630,2608,2374,2428,2858,2735,2567,3127,2965,2662,2348,2480,2123,1689,2048,2371,2309,1999,1909,2041,1757,2198,2735,2558,2230,2282,2353,2222,2128,1939,1858,1802,2305,2626,2089,1639,1834,1967,2178,2226,2315,2618,2052,1813,1824,2128,2338,2138,1857,1817,1994,1660,1607,1909,1848,1888,1776,1738,1897,2344,2391,2799,3754,2986,1963,1980,1853,1914,2150,1875,1617,1516,1700,2197,2124,2029,2301,2416,2568,2474,2649,2542,2300,1793,1820,2076,2107,2224,2062,1941,2196,2022,2374,3706,3720,3333,3748,3637,3630,3386,2560,2131,2818,3013,2461,2167,2107,2186,3692,3527,2773,2742,3123,3416,2603,2144,2563,2529,2169,2385,2873,2536,2623,2563,3230,2497,1951,2418,2321,2245,2514,2568,2840,3251,2570,2253,2479,2724,2657,2721,2850,2779,2591,1976,2114,2424,2437,2603,2558,2551,2762,2222,1620,1610,2329,2347,2023,2368,2362,1803,1869,1831,2500,3073,3188,2844,3152,3543,3043,2612,2437,1878,2193,2330,1937,2243,2525,2276,2562,2624,3384,3607,2901,2850,2999,2631,2889,3105,2997,2808,3074,2698,3021,3500,3382,3188,3144,3133,3184,3510],[3437,3260,2630,2502,2457,1859,1781,2157,1990,1791,1948,2194,2180,1605,1272,1612,2098,2713,2631,2451,2473,2957,2866,2965,3335,3289,2613,2480,2674,2799,2746,3108,2818,2101,2763,3143,3067,2907,3030,3243,3260,3374,3441,3528,3617,3645,3641,3627,3553,3663,3541,3007,2758,2639,2454,2221,2365,2500,2698,3098,3407,3395,3342,3318,3626,3264,2567,3322,3415,3629,3696,3526,3632,3510,3244,3370,3685,3841,3476,3138,3494,3329,2847,2731,2532,2680,2964,3011,2601,2534,2662,2361,2366,2203,2197,2141,1812,1781,1829,1883,1936,2428,2898,2964,3109,3207,2751,2224,2770,3056,3419,3497,3164,2695,2198,2033,1842,1591,1880,2110,2434,3328,3212,2840,2520,2135,1879,2250,2618,2674,2334,1966,1972,1968,1677,1580,1535,1869,1749,1671,1968,1859,2084,2264,2395,2618,3022,3420,3702,3764,3648,3706,3522,3012,2237,2109,2525,2479,2557,3297,3238,2765,3035,3894,3854,3871,3453,3250,2820,2360,2190,2294,2732,3396,3840,3835,3619,3419,3033,3027,3374,3056,2777,2972,3179,3252,3369,3260,2833,2204,2358,3128,3186,3133,3208,3963,4018,4119,4067,3601,3333,2951,2845,3335,3564,3385,3112,3371,3650,4064,4212,3785,3278,3062,2665,2919,3088,3037,3520,3142,3051,3021,2377,2644,2314,2327,2713,3462,3926,3695,3494,3369,3159,3143,3330,3403,3995,4207,4178,3871,4319,4854,4173,3409,3702,3399,2681,3249,4176,4565,4428,3738,3009,3849,3113,2354,2730,2785,2913,3450,3625,3166,2282,1879,2352,2213,1995,2592,2548,2890,3110,3473,3453,2491,2249,2067,2408,2878,2520,2090,1944,1945,2248,2115,2145,2285,2191,2153,2600,3097,2435,2306,2460,2454,2525,2463,2640,2710,2438,2491,3021,3121,2554,1733,2098,1919,1788,1669,1898,2054,2387,2313,2216,2440,2420,2747,3056,3117,2831,2952,3118,3437,3364,3218,3330,2944,2624,2546,2408,2292,2358,2395,2207,1896,2083,1901,1878,1867,1882,2695,2989,2641,2184,2217,2866,2730,2530,2863,2214,1958,1941,2162,2240,2370,2162,2215,2391,1900,1664,1997,2274,2575,2170,1722,1849,2036,1972,1925,2215,2159,1848,2105,2002,1751,1653,2164,2378,2451,2207,2367,2846,2639,2524,3034,3266,3056,2712,1838,1650,2127,2146,2113,2446,2712,2575,2427,2432,2585,2792,2811,2773,3484,3570,2740,2239,2191,2156,2688,2988,2384,1802,1909,2086,2085,2004,1781,1755,2688,2945,2868,2762,2806,2874,2215,1776,1919,2088,2265,2387,2651,2959,2832,2435,2160,2127,2270,2613,2701,2524,2094,2207,2605,2803,2337,2047,2620,2590,2455,2603,2526,2253,2006,2222,2504,2226,2083,1997,1940,2134,2342,2493,2232,2017,2176,2392,2044,1649,2263,3055,3586,3096,2568,2625,2684,2366,2533,2353,2097,1839,1911,2026,2004,2079,1668,1711,1732,1791,1882,1875,1875,1889,2288,2342,2623,2679,2244,2109,1656,1708,2140,2521,2491,1825,1388,1511,1698,1992,2216,2674,2850,2654,2435,2054,2208,2094,2079,2388,2763,2570,2292,2134,1644,1780,2010,2105,2069,2120,2334,2322,2315,2431,2149,1517,1480,1802,1742,1742,1832,1836,1920,2087,2078,1744,1526,1691,2122,2626,2365,2208,2122,2114,1990,1831,1806,2180,2312,1790,1889,1929,2002,1990,2029,1978,1748,1635,2163,2233,1908,1917,1914,2142,2237,2050,1947,2110,2581,2611,2337,2722,2653,2162,2329,2371,2037,1823,2365,2446,2325,2093,1677,1804,2930,4010,3906,3403,3470,2910,2278,1885,2311,2334,2833,2574,2491,2189,1907,2046,2179,2477,2644,2402,2443,2378,2366,2255,1998,1887,1930,1926,2119,2317,2002,1727,1994,2012,1731,1351,1917,2326,2037,2089,2176,2186,2236,1523,1121,1344,1249,1226,1208,1315,1715,1805,1541,1572,1688,1728,1823,2022,2075,2287,2295,1866,1721,1804,2239,2244,2046,1592,2295,2613,2338,1933,2321,2251,1735,1744,1622,1872,1937,1909,1893,1855,1871,2014,1941,2115,2232,2031,1979,1982,1537,1205,1396,1892,2029,2066,1815,2418,2745,2274,2188,2079,2090,2104,2059,1831,1517,1147,1286,1606,1609,1388,1624,1789,1646,1779,2046,2219,2304,1984,1777,1820,2007,2284,1898,2210,2432,2482,2534,2868,3485,3885,3818,2887,1792,1968,1909,1722,1598,1886,2207,2128,1942,2094,2285,2698,3273,4025,4034,3719,3643,2493,1902,1811,1989,2358,2297,2115,2029,2207,2707,3159,3019,2697,2666,2129,2619,2553,2038,1949,1934,2049,2011,1869,2522,3094,2157,1356,1315,1545,1701,1449,1543,1797,1668,1475,1722,1747,1513,1876,1954,1665,1781,1743,2057,2378,2282,1886,1864,1946,1770,1428,1518,2494,2965,2165,1614,1648,1241,1410,1618,1705,2042,2389,2317,2106,2407,3173,3261,3423,3362,3145,3022,2906,2779,2767,2835,2956,3357,3569,3269,2577,2221,2178,1731,1534,1647,1685,2321,2698,2049,1873,2064,1864,1655,1383,1270,1683,1808,1635,1628,1808,1804,1520,1484,1793,1589,1430,1424,1544,1718,1896,1833,2015,2007,2302,2643,2790,2366,2145,2547,2849,2840,2734,2698,3050,2608,2317,2322,2183,2518,2802,2320,2920,3563,2834,2208,2086,2185,2098,2731,2558,1857,1963,2132,2085,1886,1587,2131,2030,1944,1879,2265,2400,2097,1797,1714,2143,2868,3035,3129,3688,4004,4074,3290,3138,3492,3644,3130,3641,3732,3542,3701,2823,1935,2644,3003,2500,2231,1691,2091,1445,1726,1846,1781,1799,1798,1748,1636,1754,1829,1771,1811,1790,1738,1798,1771,1672,1616,1677,1572,1484,1406,1354,1387,1487,1779,1529,1254,1808,1886,1833,1930,1863,1874,1637,2134,3574,4286,4353,4188,3982,3612,3337,3241,2743,2516,3378,3140,2381,2577,3009,3520,3916,4153,3926,3475,3184,2988,3251,3356,3608,3298,2820,2718,2875,2855,2350,2075,2131,2163,2609,3009,2821,2856,2769,2161,1816,1820,1625,1662,2014,1478,1728,2469,2484,2888,2345,2598,2998,2647,2216,1907,1903,2019,1805,1835,1771,1719,1774,1839,1840,2040,2131,2071,2070,2124,2030,1851,1896,1957,1703,1532,1793,1919,2044,2234,2306,2861,3183,3111,2955,2773,2472,2475,2183,1841,2591,2574,2173,2155,2398,2235,2226,2183,2488,2573,2757,2773,2702,3034,3399,3923,4132,3874,3853,3990,3924,3753,3871,3937,3816,3818,3808,3874,3935,3706,3703,3916,4137,4390,4323,4129,4266,4322,4411,4412,4385,4240,3936,4187,4227,4332,4321,4166,4198,4275,4465,5229,5307,4870,4191,4103,4445,4417,4101,3921,3407,3322,2824,1718,1252,1525,1803,1676,2013,2011,1901,1543,1437,1376,1397,1410,1494,1573,1509,1572,1511,1754,1669,1444,1400,1255,1447,1455,1947,2038,1566,1674,1859,1559,1554,1484,1498,1523,1456,1671,1967,1823,1615,1257,1156,1494,1706,1966,1747,2415,2940,2238,1791,1769,2475,2912,2770,2591,2436,2511,2557,2161,1977,1918,1566,2880,3795,3221,2164,2250,2244,1933,2350,2209,1620,1988,2309,2152,1813,2113,2580,2245,2592,2843,1916,1305,1430,1931,2484,2714,2409,1837,1495,1641,1879,1680,1881,1980,2441,2895,2209,1918,2210,2062,2074,2429,1853,1910,2293,2780,2283,1756,2134,3586,3986,2675,2297,2287,2050,2485,2476,2065,1913,1803,1819,1863,1936,1835,1625,1727,2052,1926,2321,2872,2386,2093,2026,2062,2302,2088,1538,1393,1939,2493,2482,2219,3076,3654,4336,4953,5080,3901,2729,2590,2149,1871,2287,2276,2632,2633,2332,2461,1735,1904,2245,2487,2192,2233,3339,3846,3686,4285,4133,3049,2658,2061,2362,2266,2375,2940,2842,2785,2289,2490,3549,3586,2788,2369,2191,2229,2379,2165,2253,2435,1795,1901,2223,2513,2534,2733,2899,2274,2112,2175,2342,2044,1328,1483,1489,1750,2193,2076,1704,1588,1645,1690,1572,1626,1761,1506,1643,1852,1846,2308,2609,2431,2414,2597,2654,2595,2787,2452,2296,2365,2644,2806,2955,3305,3398,3303,3764,2967,2063,2315,2393,2317,2317,1487,1680,2024,2425,2159,2185,2337,1970,1948,2405,2528,2849,3052,3371,2733,1835,1824,1921,1836,1768,1879,2083,2410,2564,3077,3479,2579,2388,2092,2098,2097,2206,2975,3131,2882,3129,3178,2764,2696,2832,3105,2668,2503,2465,2475,2053,1844,1559,2169,2610,1984,1875,1992,1961,2054,2607,3239,2535,1987,2259,2670,2613,2755,2958,3094,3855,3745,3518,2710,2798,3107,2428,2908,2984,2369,2261,2604,2585,2288,2392,2822,2986,2267,2003,2122,1866,1880,2585,3243,2955,2557,2678,2115,2093,2147,2176,1659,1534,1496,1771,1638,1494,1598,1769,1693,1660,1786,1794,1590,1959,2131,1742,2005,2051,2045,2298,2369,2768,2523,1827,1879,2136,2639,3617,3755,3082,2407,2247,2758,2671,1907,1907,2017,1462,1435,2120,2397,2227,2034,3002,4156,4131,3227,2396,2585,2322,2163,1847,1766,1823,1613,1833,1647,2269,3133,3196,3000,2596,2413,2232,2362,2351,2603,2873,2501,2621,2385,2031,1918,1786,2037,2253,2108,2214,2614,2747,2374,2377,2641,2327,2205,2053,1966,2156,2503,2539,2230,1897,2276,2614,2467,2446,2484,2004,2090,2128,2445,2358,2062,1846,1957,2470,2481,2302,2200,2274,2166,1604,1532,1703,1725,1600,1678,1717,1960,2105,2103,2230,2766,2322,2072,1997,1657,1565,1960,1897,1532,1597,2008,2204,1851,1732,1680,1699,2199,2266,2142,2763,2337,1765,1636,1560,1777,1905,1980,1698,1864,2307,2989,4252,4229,3754,3713,3730,3618,3375,2454,2009,2939,2775,2097,2335,2274,2815,3343,3118,2554,2508,2453,2629,2393,1998,2595,2557,2353,2797,2863,2532,2480,2407,2958,2643,2492,2668,2349,2211,2311,2570,2834,3153,2963,2557,2438,2415,2242,2401,2241,2398,2397,2144,2620,2648,3051,3470,3128,3097,2858,1819,1616,2323,2493,2080,2405,2601,2671,1633,1921,2329,2673,2720,2551,2866,3086,3476,3529,3219,2958,2651,2517,2378,2038,2457,2433,2254,2376,2513,3042,3393,3109,2838,2767,2636,2869,2895,2835,2584,2900,2928,3384,3868,3620,3609,3816,3333,3000,3392],[3583,3563,2886,2455,2182,2125,2483,2431,2138,1961,1957,2514,2312,1504,1344,1455,1952,2696,2688,2584,2677,2958,2501,2920,3081,3062,2753,2521,2735,2669,2446,2645,2082,2081,2900,2979,3087,3033,3216,3498,3383,3479,3554,3497,3513,3601,3902,3750,3539,3607,3312,2985,2497,2641,2931,2740,2561,2678,2852,2925,2866,3009,3206,3124,3611,2921,2454,2891,3310,3681,3598,3592,3529,3217,2957,3133,3500,3680,3587,3652,3506,3415,3338,3413,3239,2830,2913,2911,2383,2446,2397,2425,2541,2718,2708,2288,1913,2070,2326,2286,2127,2379,2997,3038,3254,3595,2959,2419,2518,2451,2916,3084,2567,2481,2244,1807,1660,1952,2270,1839,1928,2790,2762,2546,2332,2306,2344,2343,2287,1866,1551,1400,1455,1650,1676,1730,1924,1981,1728,1239,1284,1901,2411,2441,2415,2300,2382,3452,3666,3426,3485,3469,3226,2764,2357,2499,2897,2617,2566,3131,3332,3203,3505,3696,3371,3418,3382,3598,3187,2160,1467,1895,2587,3263,3571,3851,3896,3473,2896,2547,2523,2667,2859,3167,3451,3329,3189,3022,2800,2312,2329,2756,3306,3541,3276,3083,3222,3750,3938,3689,3029,2158,2340,3084,3423,2930,2524,2566,3338,3728,3372,2755,2670,2642,2542,3279,2950,2995,3163,2616,2494,2813,2898,2839,2087,2257,3096,3751,4000,3686,3501,3517,3348,3244,3204,3107,3377,3561,3554,3538,3939,4376,4239,3402,3625,4235,3803,3679,3997,4002,4019,3282,2972,3274,2945,2951,3350,2941,2591,2806,3355,2396,1645,2006,2286,2164,2340,2598,2740,2685,2730,3415,3953,3349,2512,2285,2464,2602,2254,2285,2197,1906,1960,1815,1871,2049,1921,2259,3110,3320,2791,2342,2228,2254,2076,1929,2251,2604,2354,2279,2608,2388,2103,1837,2260,2022,2132,1824,1819,2287,3042,2844,1848,2254,2862,3028,2984,3050,3196,3142,3004,3001,3095,3277,2856,2352,2354,2369,2384,2231,2630,2658,2280,2292,2482,2162,1961,2127,2128,2588,2990,2454,2255,2050,2679,2963,2584,2549,2116,1873,1862,1843,1915,2024,2074,2232,2265,2150,1878,1798,2077,2139,1787,1664,2010,2414,2156,1917,2144,1957,1863,2114,1766,1724,2164,2391,2817,3074,3117,3140,2707,2488,2558,2952,2806,3269,2645,2087,2232,2242,1978,2363,2520,2533,2386,2179,2282,2477,2449,2085,2026,2688,3096,2403,1937,1941,2151,2707,3006,2718,2372,1930,1563,1814,1967,1779,1616,2481,3239,3264,2962,2840,2723,2232,1834,1981,2172,2762,3106,3333,3218,2912,2139,1681,1732,2099,2112,2158,2366,1963,2171,2393,2283,2177,2024,2302,2181,2298,2478,2452,2236,2061,2240,2310,2374,2545,2265,1904,2111,2218,2420,2011,1781,2002,2019,1565,1634,2166,2345,2651,2342,2471,2964,3256,3400,2750,2129,2120,2005,1843,2298,2503,2656,2552,1961,1870,2048,1577,1746,2219,2350,2366,2222,2230,2132,2098,2131,1749,1744,2036,2540,2622,1914,1465,1477,1776,2205,2256,2106,2086,1727,1972,2243,1916,1630,1811,2217,2527,2167,2041,1740,1141,1544,1939,2254,2213,2020,1958,1978,1909,1408,1171,1233,1746,2190,2091,1926,1779,1782,1778,1860,1855,1847,1792,1643,2164,2556,3016,3242,2608,2226,2068,1736,1686,2476,2476,2082,2049,1916,1524,1136,1155,1759,1876,2015,2841,2571,2087,2056,2181,2149,2322,2542,2278,1885,2126,2209,2357,2846,2367,2189,2445,2230,2096,1886,2226,2223,2108,1831,1553,2286,3759,4337,3951,3492,3293,2431,2252,2326,2549,2263,2092,2286,2665,2405,2055,2160,2371,2401,2508,2323,2289,2107,1951,1805,1706,1785,2090,2588,2962,2436,1748,1728,2182,2235,1925,1607,2235,2428,1978,1812,1965,1936,1841,1550,1443,1521,1433,1368,1261,1311,1461,1369,1374,1882,1853,1604,1833,1832,1741,1977,2151,1911,1733,1666,1992,2557,2004,1686,1859,1696,1635,1880,1982,1797,2116,1975,2179,2161,2194,2048,2225,1979,1670,2035,2101,1851,1942,1745,1771,1666,1139,877,1354,1802,1667,1649,1886,3097,3361,2238,1833,1779,2091,2013,1759,1541,1198,1517,2041,2126,1565,1495,2026,1698,1659,1956,2047,2132,2390,2039,1675,1605,2091,2498,2435,2294,2425,2359,2333,2929,4047,4162,4049,3694,2585,2330,2277,1870,1572,1534,1833,2211,2076,1986,2277,2423,2797,3574,3604,3833,2929,1800,1660,1862,1918,2168,2395,2874,2845,3039,3104,3350,3307,3182,2556,2231,2631,2176,1814,1815,1812,2140,2226,2125,2332,2161,1785,1534,1293,1569,1636,1553,1697,1697,1481,1530,1793,1716,1909,2144,2066,2056,1676,1669,2094,2214,1822,1729,2271,2138,1525,1422,1976,2521,2177,2012,1936,1712,1511,1498,1564,1657,1836,2361,2219,2147,2723,3262,3188,3098,3437,3422,3081,2891,2809,2920,2895,2773,3040,3072,2510,2075,2029,1770,1712,1684,1450,1578,2131,2105,1809,2041,1813,1554,1443,1312,1438,1738,1782,1668,1783,1861,1896,1754,1636,1715,1458,1301,1338,1382,1819,2032,2643,3087,2654,2261,2293,2624,1970,1926,2529,2732,2584,2333,2532,2758,2497,2510,2953,2643,2352,2864,2481,3294,3198,2667,2416,2292,2275,2199,2769,2320,1866,2375,2254,2635,2486,1836,2276,2189,2271,2204,2253,2025,1794,1604,1801,2266,2406,2775,2967,3106,3287,3802,3308,2862,3110,3429,3265,3498,3226,2934,3355,2952,2237,2135,2376,2357,2136,1771,1674,1275,1697,1768,1353,1262,1478,1520,1484,1502,1597,1590,1764,1662,1422,1414,1561,1682,1777,1595,1490,1550,1386,1373,1576,1652,1927,2039,1706,1842,1697,1695,1836,1826,1843,1733,2094,3151,3221,3344,3010,2966,2831,2929,3243,3316,3451,3904,3897,3481,3300,3394,3950,4271,4332,4145,3177,2648,2678,2876,2985,3207,3473,3444,3321,3196,3208,2807,2623,2658,2754,2966,2898,2806,2920,2897,2320,1630,1447,1263,1533,1998,1375,1537,2204,2366,2664,2395,2274,2368,2359,2159,1950,1958,2280,1763,1771,1734,1705,1791,2346,2345,1778,1527,1422,1467,1715,1749,1891,2397,2194,1743,1843,2277,2476,2490,2494,2439,2459,2617,2585,2464,2486,2342,2346,2000,1738,2348,2614,2375,2714,2753,2669,2392,1857,2238,2180,2562,2532,2381,2697,3363,4085,4152,4147,4305,4252,4132,3888,3935,3990,3974,4043,3912,4025,4149,4042,4000,4080,4228,4444,4444,4178,4271,4046,4180,4227,4221,4112,4071,4284,4396,4243,4143,4130,4355,4258,4520,5048,4664,4203,3937,4251,4572,4048,3318,3682,4081,3953,3639,2677,1410,1252,1422,1622,2524,2701,2364,1956,1700,1469,1482,1422,1401,1489,1378,1354,1315,1584,1581,1400,1199,1171,1426,1632,1852,1939,1531,1631,1768,1506,1779,1525,1371,1409,1543,1701,1881,1832,1561,1170,1342,1527,1572,1819,1889,2590,2691,2060,1820,2082,2238,2398,2784,2768,2572,2112,1965,1740,2025,2262,2190,2995,3105,2248,1805,2222,2346,2046,1893,1785,1750,2281,2030,1777,2126,2647,2558,2163,2265,2474,2116,1696,1837,2552,2955,2620,2352,1429,1382,1431,1528,1934,2431,2062,1876,2437,2011,1935,2407,2221,1914,2110,1817,1425,1826,2143,1881,1987,2504,3787,4252,3021,2247,2253,2035,2164,2127,2096,1969,1729,1854,2327,2529,2325,2290,2548,2924,2776,2500,2533,2547,2124,1822,1619,1970,2417,2142,1724,2047,2029,2451,2070,2778,3705,4419,5052,5292,4684,3686,2908,2116,1999,2521,2370,2707,2941,2626,2799,2312,2438,2104,2134,2492,2570,2598,2480,2858,3471,3138,2630,3093,3042,2388,2091,2348,2755,2764,2276,2244,2634,2994,2876,2850,2654,2249,1897,2282,2552,2943,2893,2090,1903,2225,2420,2322,2891,3499,2399,2173,2210,2062,2104,1660,1411,1627,1976,1841,1583,1473,1478,1573,1711,1849,1836,1878,1752,2120,2511,2728,2984,2992,2961,2964,2337,2062,2237,2537,2597,2707,2952,2797,2587,2421,2874,3096,3123,3059,2075,2178,2437,2171,2221,2295,1968,2261,2274,2137,2077,2127,2208,2238,2324,2375,2426,2601,2807,3232,2383,1686,1632,1669,1682,1673,1628,1583,1741,2016,2699,3303,2940,2863,3053,2875,2162,2314,3387,3681,3616,3606,3159,2563,2342,2713,3144,3311,3315,3287,2750,2171,1923,1811,1684,1812,1581,1744,1822,2104,2567,2788,2740,2381,2153,2155,2308,2349,2439,3139,3337,3754,3912,3694,2404,2474,3225,2994,2489,2260,2104,2304,2493,2388,2687,2652,2481,2256,1669,2037,2463,2078,2198,2480,2886,3020,3495,3457,2657,2323,1886,2148,2261,1758,1685,1795,1541,1681,2148,2302,1554,1570,2017,1808,1709,2005,1730,1658,1866,1896,1899,1920,2082,2448,2655,2730,2137,1992,1873,2309,2580,2119,2016,2186,2001,1812,1792,1973,1565,925,1304,2230,2135,1892,1803,2668,3515,5511,5436,2697,2852,2613,1785,1727,1655,1798,1835,1805,1898,3105,3398,2773,2443,2338,2222,2122,2342,2291,2395,2507,2342,2466,2337,1883,1654,1747,2160,2107,1865,2024,2517,2792,2769,2745,2505,1747,1743,2023,2136,2352,2498,2246,1752,1957,2906,3078,2702,2214,1707,1293,1192,1826,2233,1852,1965,1708,1487,2060,2431,2245,2233,2127,1924,1672,1692,1950,2034,1956,1817,1735,2087,2517,2640,2175,2386,2262,1870,1820,1908,1498,1560,1550,1113,1656,2105,1918,1755,2014,1658,1707,2134,2293,2135,2408,2301,1932,1513,1396,1504,1767,2224,2032,2238,2766,3472,4400,4433,3662,3475,3790,3501,2990,1956,2345,2800,2354,1793,2288,2393,2734,2129,1299,1522,2245,2522,2584,2261,2322,2808,2623,2451,2492,2719,2837,2388,2319,2893,2778,2518,2503,2626,2182,2210,2454,2688,2846,2658,2372,2481,2382,2464,2612,2297,2968,2808,2776,2752,2545,3011,2953,2350,2844,2919,2358,2210,2503,2271,2070,2689,2263,1807,1358,1688,2190,2540,2129,2208,3077,3318,3646,3506,3820,3769,3893,3454,3209,2851,2842,2598,2499,2591,2340,2160,2430,2985,2931,2626,2720,2558,2651,2577,2603,2950,3295,3578,3621,3576,3499,3811,3569,2853,3137],[3250,3467,2502,1980,1781,2131,2369,2155,2092,2325,2755,3188,2586,1716,1660,1694,1725,2014,2686,2612,3020,2709,2460,2907,3259,3394,3360,3419,3343,2657,2114,2067,1884,2429,2590,2721,2752,2824,3254,3492,3418,3492,3611,3472,3423,3538,3916,3893,3771,3518,3288,2907,2407,2942,3523,3075,2624,2723,3194,3442,3001,3292,3125,2918,3512,3131,2965,3353,3493,3260,3271,3462,3483,3188,2929,3020,3091,3287,3326,3472,3453,3460,3382,3305,2970,2704,2543,2310,1926,2415,2600,2619,2712,3210,3542,2895,2109,2382,2567,2315,2080,2687,3221,2962,3047,3131,2708,2181,2317,2362,2588,2806,2524,2391,2048,1789,1972,2266,2442,1742,1623,1785,1822,1918,1926,2364,2619,2230,2030,1950,1999,1492,1347,1864,2253,2068,1999,2149,1785,1521,1760,2505,2738,2275,2288,2529,2441,3562,3381,3084,3220,2956,2763,2724,2719,2679,2667,2205,1959,2676,3096,3060,3025,2996,2862,2684,2641,2744,2779,2390,1486,2353,3331,3661,3544,3747,3795,3572,2887,2376,2524,3212,3386,2971,3048,3107,2641,2728,2556,2299,2121,2662,3233,2664,1954,1982,2942,3689,3430,3375,3133,2245,2329,3013,3515,2950,2337,1937,2517,3231,3118,2723,2645,2639,3243,3564,2876,3036,2899,2502,2598,2962,3147,2438,1745,2385,3002,3536,3652,3458,3382,3604,3518,3344,3167,3241,3230,3206,3241,3319,3812,4195,4609,3984,4208,4881,4784,3978,3191,3402,3674,3738,3341,2743,3176,3139,3373,3528,2690,1721,2148,1874,1478,1761,1796,2155,2564,2568,2386,2164,2320,2752,3332,2898,2480,2557,2513,2136,1923,2533,3029,2496,1986,1743,1827,1891,2222,2906,3122,2987,2976,2363,2076,2084,1812,1721,2186,2301,2403,2607,2509,2147,1865,1945,2257,2204,2131,2100,2050,2133,2560,2797,2152,2034,2459,2897,3110,3265,3418,3625,3554,2789,2489,2499,2087,1812,2079,2104,2138,2027,2331,2480,1905,2228,2667,2456,2504,2361,2154,2589,2924,2800,2520,2045,2649,2579,2253,2285,2439,2015,1636,1633,1649,2020,2653,1997,1693,2138,1987,1826,1842,1801,1695,1800,2112,2183,1663,2031,2495,2482,2578,2702,2169,1980,2347,2317,2693,2790,2924,2869,2485,2704,2830,3350,3354,3654,3263,3073,2912,2221,2298,2801,2413,2281,2228,2189,2511,2895,2495,1992,2165,2221,2374,2187,1873,1989,2128,1764,1978,2637,2710,1941,1687,1697,1904,1938,1801,2563,3453,3384,3053,2996,2742,2037,1875,2072,2196,2907,2975,2636,2229,2383,2392,2020,1889,2053,2104,2160,1952,1854,1924,2265,2100,1827,2257,2538,2611,2294,2010,2048,2244,2427,2426,2111,2298,2710,2255,2023,2148,2283,2104,1697,1494,1570,1703,1698,1882,2062,1957,2393,2259,2330,2869,3010,2700,2316,1914,2153,2509,1987,2144,2636,2686,2410,2011,1980,1620,1469,1944,2114,2402,2110,2307,2765,2648,2575,2856,2608,2303,2475,3039,3049,2629,2578,2825,3243,3155,2596,1670,1274,1259,1680,2142,2025,1726,1763,2038,1983,1929,2094,1979,1786,2485,2379,2298,2265,1953,2045,2138,1956,1465,1308,1660,2125,2258,2067,1891,1934,1739,1718,1721,1736,1719,1864,1967,2175,2439,2822,2943,2484,2226,1882,1609,1695,2019,1891,1742,1965,1948,1851,1794,1900,2123,1883,1975,1820,1741,1952,1832,2056,1885,1813,2326,2134,1966,2204,2100,2149,2294,1875,2171,2154,2018,2138,2016,2302,2224,1782,1559,1855,2847,4187,4548,4445,4099,3094,2242,2103,2614,2801,2347,2379,2800,2592,2203,2217,2014,2160,2263,2459,2140,2119,2175,2121,2061,1964,1960,2158,2610,2835,2150,1618,1574,1926,2013,1644,1954,2406,2357,1742,1412,1730,1393,1208,1578,1690,1640,1487,1235,1411,1526,1207,1001,1209,1601,1598,1688,2090,2455,2375,1838,1874,1932,1892,2044,2266,2059,1497,1811,2010,1744,1810,2027,2044,2212,2009,1641,1782,1802,2416,2556,2445,1824,1672,2109,2383,1847,2012,1888,1991,1988,1810,1373,1396,1494,1174,1244,1770,2664,3272,2980,2047,2057,1899,1721,1641,1820,1759,2104,2184,1932,1750,2289,2803,2304,2473,2182,1998,1836,2049,2101,1674,1417,1899,2468,2134,1749,1876,1825,2166,2264,3308,4062,4123,3950,3357,2635,2342,2257,1904,1547,1754,2143,2345,2363,2104,1991,2296,2634,3198,2766,1838,1686,2014,1902,1816,1952,2350,2886,3111,3075,3032,3319,3494,3183,2295,2398,2526,1902,1881,1813,1428,1767,2134,2219,1945,1838,2273,2013,1391,1217,1217,1438,1554,1653,1715,1777,1709,1856,2180,2090,2195,2102,1747,1846,1959,1957,1933,1715,1742,1862,1512,1832,2422,1990,1973,2384,2301,1927,1757,1674,1696,1707,1780,2047,2091,2102,2385,2961,3130,3076,3228,3356,3328,2951,3002,3020,2879,2878,2696,2295,2113,2062,1731,1575,1867,1730,1380,1229,1785,2176,2369,2281,1843,1697,1521,1465,1548,1710,1759,1677,1816,1913,1960,1794,1691,1534,1404,1339,1419,1427,1892,2491,3067,3296,2534,2123,2184,2721,1981,1769,1876,2092,2153,2198,2568,2752,2563,2823,3164,2619,2780,2809,1990,2331,2041,1841,2273,2426,2277,2200,2089,1746,2220,3001,3069,3775,3038,2091,2427,2358,2460,2665,2599,2101,1937,1932,2091,2139,2053,2372,2685,2564,3163,3299,2876,3031,3164,3250,3378,2963,2563,2729,3130,2583,2052,1702,2003,2537,2564,1926,1529,1826,2036,1485,1067,1367,1512,1361,1345,1450,1422,1378,1772,1550,1303,1364,1371,1610,1724,1456,1434,1566,1590,1386,1495,1568,1910,2409,2200,1874,1610,1552,1827,2008,1912,1842,2097,2624,2855,2552,2604,3100,3414,3912,4243,4304,4264,4201,4194,3541,3106,3027,3308,3452,3657,3798,3498,3272,3021,2799,2524,2626,3144,3302,3196,3230,3418,3322,3153,3123,3167,3183,3032,2979,3217,3053,2332,1545,1394,1340,1833,1804,1383,1439,1808,2142,2454,2458,2279,2363,2271,2047,1947,1712,2148,1848,1711,1711,1647,2043,2864,2465,1647,1891,1999,1977,2195,2272,2218,2271,2219,1782,1837,2249,2307,2196,2210,2206,2140,2344,2155,2099,2094,2249,1836,1489,1948,2482,2237,2149,2590,3024,3277,2957,2480,1801,2098,2612,2765,2557,2535,3032,3549,3691,3924,4389,4528,4331,4077,4027,4062,4035,4018,4131,4361,4490,4541,4480,4323,4160,4229,4252,4046,4251,4307,4253,4085,4001,4023,4090,4304,4276,4035,4112,3951,4117,4140,4492,4424,3951,3657,3751,4050,4152,3601,3189,3383,3959,4140,3962,3622,2402,1408,1229,1483,1880,2309,2679,2743,2621,1954,1471,1282,1253,1434,1390,1310,1334,1380,1402,1337,1310,1193,1316,1652,1602,1595,1490,1507,1787,1867,2327,2140,1579,1581,1752,1744,1665,1772,1782,1460,1693,1506,1091,1434,1753,2049,2108,2148,2148,2032,1771,2009,2503,2497,2295,2118,2492,2142,1932,1888,2218,2777,2741,2446,1960,1731,2098,2014,1676,1738,1830,1823,1735,2059,2588,2378,1875,1855,1990,2190,1951,1952,2020,2277,2550,2037,1833,1533,1554,1604,1821,2218,2389,2061,1523,2222,2385,2187,2304,2219,2262,2264,1900,1516,1362,1255,1328,1729,2285,2851,2993,2285,1957,2448,2337,2040,2077,2105,2077,2270,2801,2878,2872,2451,2304,2608,2840,2819,2294,2103,2237,1985,1819,2356,3154,3493,2958,2219,2010,1793,2397,2122,2427,3242,3947,4533,4752,4463,4019,2564,1683,1966,2336,2635,2959,3178,3172,3393,3133,2728,2637,3047,3150,2486,2124,1846,2259,2658,2255,1902,2889,3612,2951,2471,2522,2919,2928,2451,2344,1886,2091,2172,2089,1932,2057,1833,1941,2301,2946,2884,1958,1876,1926,1825,2126,2946,3745,2882,2318,2297,2441,2326,2020,1412,1396,1693,1737,1633,1525,1672,1897,2069,1964,1748,1863,2279,2768,3113,3248,3210,3248,3240,3067,2541,2253,2114,2301,3012,3559,2893,2113,1830,1996,2591,3274,3068,2264,2222,2394,2301,2176,2160,2380,2490,2501,2274,1917,1720,1990,1849,1842,2546,2276,2420,2420,2482,2800,2249,1547,1578,1671,1836,1828,1719,1843,1870,2027,2057,2198,2016,2300,3353,3720,2705,2370,3167,3577,3636,3533,2912,2218,1873,2596,3101,2965,2761,2932,2907,2249,1831,1991,1910,1562,1454,2237,2796,2608,2956,2931,2777,2668,2131,2141,2513,2535,2503,3223,3830,4057,4401,4057,3053,2824,3394,3309,2459,2271,2561,2710,2458,2083,2277,2446,2298,2264,2187,2444,2356,2467,2573,2529,3184,3831,3830,3400,2691,2253,2376,2454,2094,1935,2049,1824,1443,2492,3177,2498,1603,2106,2197,1948,2082,1808,1472,1953,2512,1855,1982,2118,2048,2091,2599,2254,2143,2214,1971,1703,1682,1710,1959,1869,1622,1864,2055,2059,1811,1334,1974,2264,1958,2063,2543,2975,3031,3021,2164,1934,2037,2113,2091,1983,1869,1841,1887,1759,2214,2963,2841,2195,1878,2185,2332,1893,1942,1810,1810,1974,1911,2080,2172,2023,2195,2430,2382,1675,1327,1968,2359,2554,2631,2359,1973,1712,1470,1483,1993,2076,1972,1897,1808,1792,2375,3090,2578,1723,1310,1159,991,1399,1632,1725,2253,2542,2175,2456,2829,2070,1686,2110,2143,1794,1863,2366,3139,2770,2385,2520,2354,2764,2950,2234,1887,2270,2237,2230,2872,2530,1912,1737,1439,1378,1697,1866,1909,1973,1850,1923,2269,2160,1898,1854,1932,1875,1567,1717,1683,2182,3160,2375,1783,2385,2987,3549,3492,2387,2957,3458,2454,2750,2852,3086,2513,2161,2278,2223,2322,2584,2074,1520,1416,1979,1995,2294,2362,2854,2740,2581,2502,2522,2756,3051,2895,2603,2678,2597,2901,3078,3047,2820,2502,2412,2736,2587,2321,2485,2309,2321,2636,2590,2253,2986,2956,2841,2889,2515,3003,2729,2023,2430,2641,2768,2654,2280,2165,2281,2581,2451,2166,1704,1625,2105,2425,2523,3001,3742,3432,3322,3064,3409,3772,3928,3196,2864,2646,2387,2293,2251,2226,1923,1872,2518,2723,2905,2876,2670,2591,3134,3165,2941,3122,3183,2880,2521,2990,3138,3441,3227,3117,3100],[3018,2898,2093,1940,2028,2235,2377,2265,2260,2518,2558,2501,2457,2325,2122,1942,1835,1979,2139,2389,2425,2255,2461,3051,3591,3597,3508,3662,3692,3491,3262,2531,2207,2266,2132,2219,2200,2438,3064,3188,2866,2910,3084,3130,2800,2880,3322,3396,3383,3338,3178,2740,2458,3134,3574,3264,2833,2907,3618,3472,3019,2939,2075,2091,2997,2984,2766,3310,3157,2836,2956,2884,3124,3169,3086,2691,2615,2552,2626,2951,3247,3515,3698,3547,3399,3370,2822,2085,2046,2115,1978,2306,2602,3107,3504,2965,2376,2664,2648,2508,2122,2213,2241,2265,2367,2464,2454,2047,2326,2567,2126,1863,1753,1713,1682,1704,2004,2176,2354,1884,1873,2421,2268,1431,1404,2048,2382,2213,2105,2692,2785,2193,1868,2140,2275,2043,2226,2360,2002,2240,2048,2490,2652,2362,2386,2517,2802,3442,3442,3317,3000,2840,3027,2844,2928,2985,2406,1853,1802,2292,2666,2955,2954,2767,2745,2751,2744,2639,2543,2895,2862,3304,3498,3256,3049,3020,3384,3768,3275,2788,3223,3464,3240,2566,2415,2844,2634,2384,2162,2715,3162,3108,2314,1598,1644,1769,2574,3016,2333,2566,3286,2643,2366,2868,3350,2888,2304,2184,2298,2422,3112,3383,2958,2525,3186,3371,3023,2938,3356,3051,2940,3074,2229,1669,2062,2626,2958,3527,3582,3299,3201,3455,3475,3400,3254,3318,3464,3191,3126,3093,3563,3929,4284,4063,4185,4228,4353,3270,2295,2996,3961,3852,3078,3334,3605,2506,2240,2918,2376,2229,2599,2378,2420,2337,1986,2477,2636,2336,2241,2559,2480,2749,3043,3066,2696,2724,2618,1794,1763,2423,2994,2493,1942,1931,1855,2111,2770,2919,2320,2119,2685,2822,2576,2402,2267,2279,2443,2287,2664,2708,2235,2421,2270,2113,2584,2820,2577,2579,2524,2436,2056,2518,2778,2191,1713,2130,2868,3229,3172,3432,3158,2436,2765,2938,1946,2207,2481,2287,1743,1685,2313,2374,2220,2744,2788,2840,2788,2829,3104,2873,3015,2994,2474,2220,2228,2165,2252,2884,3009,2170,1958,2262,2236,2338,2580,1873,1814,1888,1899,2045,2390,2372,1870,1644,1798,2062,1736,2022,2492,2521,3095,3399,2824,2230,1926,2226,2088,1772,1904,2392,2783,2607,2886,3355,3441,3204,2836,2844,3232,2811,2605,2940,2611,2807,3060,2690,2836,3299,2615,1822,1874,1755,1964,2552,2308,2114,1962,1777,2514,3135,3286,3122,2396,2081,2171,2031,1768,2241,3466,3492,3006,3042,2835,1962,1854,2032,2070,2596,2338,1842,1938,2134,2532,2591,2090,2115,2140,2323,2124,2055,1851,2078,2166,2403,2798,3020,2740,2070,1919,1809,1911,2192,2313,2151,2235,2412,1867,1740,2064,2101,1947,1735,1606,1789,2373,2740,2893,2544,2220,2689,2622,2238,2366,2546,2294,2154,2266,2262,2566,2822,2780,2583,2556,2105,1858,1852,1553,1858,2131,2147,2281,2412,2996,2802,3084,3232,3250,3074,2906,3010,3370,3801,3839,3582,3583,3542,3068,2675,2134,1914,1964,2192,2326,2181,2090,2167,2182,1829,1928,1929,2081,2697,3494,3499,3319,2664,2186,2322,2286,1891,1506,1925,2044,2122,1982,1955,2046,1884,1582,1705,1910,1628,1566,1988,2026,2009,2259,2338,3141,2792,2262,1899,1713,1667,1809,1628,1598,2029,2067,2271,2192,2238,2114,1416,1462,1781,2029,2075,2038,2280,1847,1806,2400,2111,1976,2101,2093,2252,2030,1782,2076,2070,1998,1953,2018,2130,2024,1813,1857,1950,3090,4127,4139,4275,3750,2644,2240,2490,2946,3210,2658,2219,2614,2597,2448,2750,2792,2732,2468,2126,2076,2181,2225,2179,1957,1933,1904,2053,2460,2394,2022,1675,1914,1970,1615,1593,2126,2176,1571,1699,1686,1681,1307,1169,1462,1821,2048,1772,1459,1697,1666,1435,1290,1110,982,1360,1666,1858,2359,2534,2384,2331,2148,1775,1544,1773,1698,1744,2697,2561,1913,2026,1847,1780,1641,1781,1661,1570,1838,2010,2281,2373,1954,1894,1740,1982,1620,2020,1836,1989,2115,2037,1818,1940,1908,1498,1571,1891,2330,2811,2836,2138,1888,1763,1718,1782,1600,1417,1522,1415,1905,2252,2818,2877,2684,2974,2474,1749,1439,1760,2098,1852,1577,1539,1742,1912,1796,1747,1688,2030,2257,2535,3392,3912,3986,3952,3489,2564,2332,2187,1794,2024,2320,2470,2812,2408,2069,2370,2408,1925,1753,1833,2080,2119,2091,1788,1633,1952,2296,2619,3185,3357,3366,3507,2756,2402,2885,2208,1848,1797,1530,1185,1555,2222,2198,1772,2130,2709,3120,2521,1544,1249,1278,1459,1692,1872,1860,1841,2117,2092,2100,2123,1802,1636,1564,1649,1656,1886,1855,1772,1996,2084,2465,2216,1541,1941,2276,2331,2007,1902,2190,1859,1853,1795,1963,2374,2333,2105,2410,2941,3096,3032,3088,3289,3304,3060,2900,2929,2865,2358,2053,2014,1875,1781,1903,1886,1882,1739,1716,3176,3498,2994,3119,2683,1781,1686,1634,1497,1686,1780,1665,1751,1780,1729,1770,1736,1837,1541,1329,1621,1594,1536,2232,2844,2855,2292,2172,2213,2546,2004,1738,1618,1802,2204,2653,3396,3030,2427,3143,3619,2430,3282,2642,2421,2405,1982,2150,2437,2574,2458,2330,2161,1882,2396,2646,3030,4100,3364,2495,2496,2477,2338,2193,2146,2080,2036,2036,2224,2008,1908,2121,2284,2324,3232,3275,2831,3577,3703,3475,3605,2808,2933,3189,2928,2767,2250,1782,1815,2118,2114,2012,1995,1808,1596,1150,1265,1726,1744,1507,1494,1367,1284,1401,1699,1590,1299,1333,1337,1346,1415,1490,1547,1551,1686,1506,1436,1514,1982,2072,1890,1977,1778,1692,1872,1882,1879,1819,1885,2338,3375,3440,3242,3421,3813,4151,3932,3770,4049,4092,3899,3300,2985,2990,2996,3006,3154,3250,3178,3218,3500,3530,3345,3106,2832,2850,2879,2752,2661,2773,2880,2866,2791,2789,2876,2834,2965,2968,2552,1715,1514,1408,1315,1276,1288,1296,1360,1804,2137,2241,2018,1653,1505,2082,2015,1614,1486,1803,2133,2087,1862,2141,2710,2272,1714,2310,2442,2407,2570,2442,2138,1830,1824,1721,1577,1719,1930,2072,2154,2134,1892,2160,2069,2374,1968,1277,1202,1317,1727,2121,2127,2387,2181,2421,2804,3252,2723,2197,2734,2897,2688,2504,2438,2438,2652,3356,3957,4368,4503,4431,4275,4327,4352,4034,3875,4196,4325,4428,4726,4859,4796,4344,4004,3887,3973,4092,4130,4355,4411,4276,4145,3879,3885,4040,3829,3964,3939,3890,3804,3893,3537,3413,3774,3898,3926,3914,3825,4037,3837,3802,4048,3994,3806,3233,2060,1253,1262,1504,2142,3010,3084,2620,1832,1418,1277,1390,1652,1490,1410,1366,1285,1448,1506,1408,1318,1366,1657,1724,1628,1491,1384,1753,1929,2342,2150,1746,1873,1772,1635,1648,1882,1736,1535,1517,1435,1546,1643,1688,2125,2873,2675,1995,1762,1620,1865,2046,2301,2436,2575,2834,2387,1795,1642,2101,2477,2330,1863,1688,1948,2098,1836,1538,1785,1673,1682,2138,2502,2548,2154,1723,2000,1980,2264,1953,1782,1795,2353,2306,2080,1960,1619,1607,1657,2130,2642,2512,2515,1991,2036,2298,2337,2322,2250,1999,1993,2190,1763,1208,1126,1588,2236,2171,2047,2498,2300,1993,2210,1948,1845,1843,1865,1986,2108,2195,2319,2742,1704,1410,2116,2388,2533,2104,1723,2286,2730,2596,3161,3121,3325,3012,2450,1891,1620,2162,2438,2180,2766,3806,3987,3980,4003,3514,2191,2137,2463,2822,3281,3127,2850,3123,3464,3248,2878,2854,3328,3364,2621,2446,2392,2480,2745,2244,1957,2319,2734,3251,3363,2570,2416,2342,2469,2386,2482,2758,2249,2100,1957,2152,2060,1826,2114,2381,1597,1242,1615,1636,1734,2382,3488,4453,3971,2742,2513,2473,2256,2282,1734,1566,1845,2070,2147,2215,2097,2207,2259,2397,2465,2231,2470,2690,2979,3050,3010,3182,3140,2960,2916,2190,1867,2268,2735,2852,2346,1975,2083,2798,3153,2951,2422,2274,2597,2600,2344,2274,2223,2016,2065,2322,2307,1810,1579,1884,2050,2098,2396,2256,1987,2198,2600,2532,2094,1626,1535,1410,1716,1667,1824,1967,1899,1892,1735,1969,1949,1986,2924,3653,2568,2470,2519,3151,3440,3337,2608,2043,2096,2567,2862,2403,2135,1996,2075,1899,1870,2031,2049,1801,1714,2705,2778,1971,2403,2486,2032,1958,1800,2052,2607,2467,2487,3093,4143,4739,4740,4048,3575,3290,3211,3271,3071,2473,2452,2724,2238,2034,1918,2366,2859,2558,2580,2303,2308,3051,2999,3218,3749,4012,3614,3161,2773,2814,2932,2399,1954,1975,2026,1690,1372,2258,3436,2765,2497,2522,2279,2296,2350,1821,1648,3054,4609,2640,1945,2381,1995,1952,2180,2170,2238,2210,1800,1499,1502,1624,1981,1812,2024,2411,2047,1950,1709,1578,2071,2002,1835,2144,2420,2201,2205,2309,1714,1992,1883,1786,2472,2467,2003,2382,2659,2476,2587,2230,1734,1422,1797,2070,3038,2244,1788,1698,1711,2064,1927,1688,1687,1684,2375,2641,2143,1380,1423,1510,1779,2095,2114,2094,2080,1842,2063,2113,2332,1981,1707,1844,2008,1742,1898,2331,2063,1478,1178,1310,1308,1560,1814,2164,2424,2427,2366,2546,2483,1902,1889,2276,2041,1801,2132,2369,3252,2799,2806,2727,2025,2186,2770,2317,1729,2635,3033,2232,2198,1904,1515,2118,2115,1886,1986,2136,2431,2469,2170,2271,2330,2229,2308,1710,1736,1731,1707,1795,1833,2640,3432,2260,1593,2458,2756,2733,2691,2818,3106,2829,2707,3108,3133,2987,2401,2032,2164,2066,2402,2700,2469,1988,1969,2000,1362,1738,2004,2361,2265,1873,2046,2431,2503,2336,2490,2364,2492,3122,3341,3305,2949,2788,2368,2264,2504,2404,2730,2920,2534,2510,2565,2136,2054,2514,2670,2720,2510,1980,2807,3719,3115,2404,2711,3160,2839,2618,2226,1952,2246,2329,2295,2046,2047,2701,3376,3475,3197,3640,3118,2953,3094,3243,3532,3572,2924,2533,2364,2112,2171,1952,2054,2267,2668,2806,2718,3325,3388,3398,3718,3782,3751,3448,3217,2552,2090,1977,2375,2475,2711,3101,3515,3331],[2602,2422,2362,2208,1997,2007,2476,2614,2196,2105,2030,2252,2555,2832,2707,2549,2404,2132,2319,2398,2050,2041,2374,2997,3562,3746,3602,3391,3304,3340,3275,2766,2420,2161,2061,2052,2013,2329,3008,3004,2574,2668,2764,2698,2217,2343,2955,3203,3440,3587,3090,2265,2454,2919,3181,3067,2916,2832,2855,2687,2709,2240,1825,2242,2639,2631,2717,2790,2613,2525,2680,2788,2994,3123,2902,2849,2736,2413,2644,3109,3382,3753,3830,3947,3908,3783,3633,2640,2230,1997,2101,2458,2469,2867,3341,3549,3508,3724,3846,3624,2862,2381,2463,2613,2532,2453,2302,2462,3008,2553,1867,1680,1800,1942,1614,1553,1691,1829,2092,2343,2781,3039,2222,1275,1691,2216,2404,2340,2348,2601,2446,1989,2124,2409,2228,2298,2604,2634,2084,2237,2051,2144,2247,2033,1975,2077,2497,2922,2976,2778,2720,3044,3188,2854,3105,3123,2346,1703,1959,2172,2279,2866,3175,2820,2865,3145,2943,2642,2814,3287,3591,3464,3266,3205,2899,2891,3585,4050,3720,3467,3456,3318,2923,2461,2463,3141,2798,1896,1892,2689,3621,3899,2750,1840,2338,2078,2171,2536,2244,2287,2520,2265,2320,2440,2562,2762,2601,2331,1731,1590,2916,3401,3150,3074,2773,2864,3265,3654,3389,2545,2729,3242,2485,2598,2791,2836,3038,3754,4048,3617,3372,3304,3332,3473,3226,3102,3355,2823,2687,2944,3475,3702,3539,3364,3408,3631,3996,3662,3329,3852,3927,2739,2142,3454,3311,1776,1608,2027,2165,2611,3015,3104,2976,2092,1536,1756,2343,1981,2262,2536,3022,3004,2909,3156,2812,2951,2829,2264,2297,2407,2132,2090,1707,1802,2260,2902,3086,2761,2207,2007,2263,2236,2411,2432,2290,2392,2445,2391,2514,2109,2090,2507,2461,2310,2764,3842,3894,3293,2954,2950,2284,2125,2264,1890,1752,1807,2040,2532,3275,3394,2522,2396,3176,2803,1908,2677,2763,2256,1787,1981,2546,2342,2244,2565,2556,2751,2351,2441,3122,2950,3043,3001,2323,1872,2383,3005,3658,4039,3176,2439,2161,2678,2549,2260,2100,1741,1740,1736,1838,2556,3393,2952,2215,1635,1763,1918,2005,2166,2212,2419,2899,3143,2964,2126,2305,2490,1642,1339,1835,2438,2408,2814,3172,3155,3063,2758,2109,2472,3028,2906,2502,2811,2290,2823,3427,3154,2884,2523,1969,1672,1759,2032,2557,2749,2309,2774,3107,3231,3604,3296,3109,2835,2567,2956,3094,3000,2656,2540,3383,3314,3210,3129,2799,2033,1822,1989,2083,2506,2224,1763,1937,2167,2203,2614,2360,2222,2220,2248,1970,1937,1924,1831,1906,2193,2487,2620,2064,2274,2386,1954,1861,1878,2272,2432,2483,2406,2126,1965,1959,2139,2310,2062,1757,1912,2621,2544,2503,2292,2198,2502,2424,2150,2176,2308,2719,2619,2713,2752,3239,2756,2143,2395,2707,2301,1751,1759,1837,2059,2647,2715,1941,2077,2500,2736,3356,3403,3125,2861,2692,2957,3343,3936,3933,3736,3759,3626,3110,2410,2089,2394,2514,2375,2126,2044,2041,1801,1513,1518,1840,2047,2069,2426,3543,4189,3986,3009,2246,2257,2083,2013,1783,2149,2242,2086,1851,2044,2115,1694,1385,1547,1770,1722,1586,2037,1879,1892,2359,2031,2363,2282,2110,1973,1731,1612,1734,1795,1976,2333,2057,2157,2633,2752,2087,1609,1971,2644,2468,1840,2075,2012,1716,2303,2740,2477,2093,2125,2333,2298,2001,1751,1805,1885,1969,2208,2054,2008,2151,2110,1993,1526,2050,2680,3376,3613,3232,2646,2327,2252,2888,3463,2464,2219,2534,2692,2513,2784,3198,3284,2619,2106,2101,1983,2159,2149,1776,1841,1804,1875,2081,1955,1997,2260,2398,1991,1907,1923,2062,1981,1421,1537,1582,1391,1268,1229,1396,1764,2026,1862,1669,1438,1229,1384,1700,1594,1248,1398,1848,1488,1482,1824,2250,2832,2824,1957,1574,1969,1992,2061,2718,2558,2043,1890,1761,1440,1415,2050,2005,1694,2101,2010,2048,2141,2342,1998,1642,1507,1503,2076,1952,1991,2236,2105,2031,2121,2095,2063,2137,2224,2581,2449,2123,1943,1908,1958,1894,1594,1162,989,1131,1311,1772,2139,3144,2702,2197,1996,2106,2228,1927,1807,1970,1996,1887,1469,1503,2095,1859,1491,1452,1986,2282,2165,2658,3429,3715,3788,4006,3207,2345,2134,1874,1781,1865,2116,2675,2829,2598,2176,2018,1718,1927,2172,1889,1909,2121,1961,1854,2206,1978,1858,2469,2519,2801,3414,2344,2785,2333,1893,1840,1337,1133,1585,2081,2401,2338,2422,2812,2481,2493,3097,2303,1764,1260,1205,1921,1987,1671,1885,2042,2033,2239,1814,1764,1890,1700,1515,1615,1773,1867,1817,1865,1941,2254,2035,1825,2377,2648,2468,2099,2101,2463,2143,1865,1794,1958,2493,2624,1986,2023,2614,2932,2984,2983,3044,3304,3173,3052,2925,2455,1982,1939,1895,1728,1892,1905,2021,1904,2212,2235,3054,3053,3118,3985,3310,2082,2305,1920,1513,1563,1754,1774,1779,1837,1692,1643,1786,1767,1346,1455,1854,1440,1027,1537,3088,3064,2402,2127,2124,2172,2167,1866,1474,1676,2385,2758,3354,2536,2231,3274,3347,2315,2807,2566,3043,2918,2447,3178,2859,2438,2226,2076,2576,2929,3330,3086,2716,3413,3490,3386,3593,3283,2621,1896,1884,1990,1792,2276,2316,2104,2359,1869,1790,2546,3572,3707,2937,3555,3755,3372,2807,2450,3404,3292,2738,2861,2639,2030,1620,1625,1619,1909,2145,1813,1624,1249,1719,2051,2045,1840,1640,1518,1373,1406,1494,1228,1027,1311,1609,1414,1287,1621,1621,1519,1530,1610,1551,1906,2360,2117,2136,1804,1920,2049,1968,2279,2161,1982,1959,2116,2424,2461,2452,2710,3175,3154,2708,2713,3129,2916,2675,2570,2531,2597,2632,2592,2573,2595,2650,3294,4058,4093,4210,4040,3959,3995,3898,3802,3702,3626,3492,3332,3609,3505,3058,2995,2931,2384,2317,1930,1579,1326,1226,1278,1296,1290,1136,1252,1420,1543,1470,1316,1889,2592,2213,1453,1461,2201,2425,2362,2476,2592,2643,2393,1908,2261,2295,2273,2207,2080,2076,1897,1771,1734,1599,1690,2050,2170,2218,2273,2182,2296,2139,2610,2647,2273,2007,1533,1832,2237,2075,2377,2206,2781,3084,3217,2886,2788,2841,2744,2669,2513,2248,2534,2644,2577,3001,3447,4013,4301,4480,4444,4256,4032,4056,4440,4356,4421,4683,4948,5097,4676,4114,3870,3932,3970,4055,4471,4847,4576,4152,4305,4151,4099,3946,3959,4056,3961,3849,3777,3424,3282,3505,3876,3600,3381,4103,3826,3233,3274,3799,3852,3775,3628,2935,1931,1219,1231,1750,2575,3150,2535,1777,1968,1914,1708,1799,1542,1334,1300,1204,1369,1566,1432,1353,1405,1587,1716,1587,1546,1443,1390,1796,2038,2225,2635,2294,1681,1672,1588,1356,1481,1551,1462,1622,1628,1577,1685,1811,1915,1519,1525,1579,1652,1594,1790,2502,2621,2319,2398,2226,1889,1721,1747,1994,2108,1842,2391,2473,2156,1737,1382,1523,1665,1882,2432,2835,3002,2604,2178,2212,1962,2146,1975,1817,2157,2994,3242,3001,2354,1627,1895,1904,2503,3307,2303,2094,1946,1820,2376,2353,2029,2082,2119,2857,2744,1958,1400,1650,2137,2366,1891,1893,2115,2117,2292,2163,2024,2032,1692,2034,1974,1966,2127,2432,2821,1829,1403,1953,2419,2501,2063,2350,2972,2798,2898,2944,2331,2808,2237,1427,1610,1569,2043,2599,2170,2338,3300,3083,2953,3018,2596,2350,2785,2986,2850,3217,3550,3006,3238,3628,3457,3288,2940,2849,3017,2858,2288,2055,2090,2762,2896,2296,2029,2205,2784,3128,3100,2255,2181,2785,2471,2793,3016,2634,2110,1815,1960,1786,1640,1989,3054,1684,1627,1707,2000,2632,3240,3694,4227,4169,2943,2592,2665,2370,2022,1826,1885,2688,2676,2525,2282,1985,2216,2535,2554,2349,1945,2381,2515,2913,2852,2905,3157,3249,2902,2557,2112,2077,2088,1967,2076,2006,2136,2316,2468,2689,2334,1858,2213,2612,2423,2226,2309,2234,1949,2074,2458,2450,2201,1903,1994,2105,2051,2173,2174,1802,1855,2018,1910,1656,1761,1999,1782,1823,1795,1802,1756,1744,1682,1576,1668,1777,2101,2932,3722,2275,2287,2405,2993,3498,3344,2785,2708,2700,2326,2604,2453,2052,1913,1697,1605,1653,1718,1809,2032,2118,2454,2199,1546,1992,1948,1758,1847,1687,2247,2623,2146,2007,2669,3641,4476,4341,3739,3746,3663,4136,4509,3711,2622,2376,2308,2208,2256,2194,3134,3819,2766,2486,2425,2723,3438,3350,3571,4018,3925,3356,2690,2448,2553,2172,1825,1755,1922,1703,1623,1703,1673,2358,2774,2486,2310,2363,2767,3388,2456,1886,2856,3531,2481,1852,1853,1887,2425,2710,2300,2202,2069,1623,1820,2051,1752,2012,1903,1660,1897,1947,2058,1757,1547,1837,1814,2079,2151,1891,1526,1951,2036,2027,1896,2011,1858,1828,1890,1863,2368,3090,3486,2942,2502,1620,1649,2172,2339,2666,2072,1597,1725,2257,2895,2472,1775,1500,1497,2242,2282,1948,1490,1564,1552,1511,1815,2154,2383,2271,2003,2350,2240,2289,2115,1555,1620,1855,1886,1911,2045,2135,1765,1645,1359,1547,2283,2257,2437,2490,2239,2422,2324,1829,2057,2237,1828,1623,1876,2473,2309,2498,2501,2875,2732,2084,1928,2468,2240,1765,1980,2732,2104,1694,1288,1139,1701,1770,1880,1916,1721,2013,2536,2502,2260,2281,2577,2039,1580,1638,1686,1784,1864,1923,2479,2724,2000,1949,2589,2421,2223,2190,3317,3261,2675,2832,2724,2689,2855,2551,2377,2165,1636,2621,2640,2293,2247,2341,2086,1658,1937,1973,1959,2501,2655,2447,2234,2468,2460,2320,1880,2395,3465,4272,3927,2968,2442,2373,2713,2581,2387,3039,3134,2785,2810,2495,2096,2245,2230,2332,2910,2609,1945,2247,2941,2789,2474,2630,3304,3405,3606,2978,2140,2071,2133,2381,2480,3093,3515,3934,3470,2770,2552,2657,3062,2919,2773,2786,2557,2386,2231,2091,2159,2066,1951,2484,2925,2911,2950,3159,3752,3950,3916,4300,4168,3438,2993,2514,2121,2142,2228,2338,2629,3053,3291,3283,3228],[2370,2497,2592,2535,2852,3476,2943,2764,2220,2215,2217,2330,2204,2895,2899,2477,2483,2463,2428,2438,2243,2494,2786,3316,3534,3657,3624,3395,3117,2863,2942,2869,2607,2720,2780,2612,2708,2897,3330,3323,3186,3178,3238,2944,2566,2808,3406,3444,3605,3755,2952,2299,2296,2535,2894,2913,2686,2432,2263,2305,2304,2023,2260,2265,2631,2981,2943,2864,2906,2678,2531,2474,2775,3088,3209,3452,2828,2217,2374,2434,3097,3265,2920,3049,3684,4034,3206,2222,2219,2274,2497,2819,3187,3355,3978,4508,4185,4296,4559,4215,3274,2664,2612,2393,2482,2347,2026,2566,2962,2430,2201,2118,2387,2392,2206,2075,2272,2962,3401,3476,3675,3737,3391,2711,2979,3111,3200,2822,2467,2198,2156,2477,2943,2812,2257,2240,2534,3062,2422,2020,2002,1935,1868,1708,1942,2448,2358,1957,1887,2264,2507,2957,3065,2929,2963,2964,2557,1641,1582,2028,2046,2545,2733,2055,2456,3146,3088,2395,2754,3230,3340,3365,3128,3050,2713,2664,3626,3761,3768,4046,3155,2255,2164,2341,2319,2644,2945,2687,2465,2789,3364,3943,3378,3006,3021,2331,2077,2408,2097,1647,1597,2171,2370,1766,2127,3031,3210,2373,1671,1931,2855,3142,2984,3135,2950,2996,3647,3584,2665,2951,3287,4048,3190,2997,2857,2736,3065,3787,3935,3898,3692,3331,3449,3628,3409,3498,3053,2604,2437,2735,3340,3582,3419,3303,3349,3716,4024,3871,4095,4411,4196,3326,2938,3697,2884,2013,1948,1825,1865,1811,2121,2670,2598,2046,1668,1652,1977,1626,1806,2541,3030,2621,2586,2657,2724,2968,2266,2323,2404,2104,2436,2224,1735,1870,2415,3007,3132,2600,2046,2020,1945,1445,2154,2483,2298,2111,2052,2214,2287,2208,2472,2595,2340,2315,2793,4022,4233,4185,3572,2962,2605,2430,1874,1288,1150,1511,1799,1915,2921,2532,1680,2424,3007,2499,2134,2139,2263,2360,2021,1881,2176,2130,2685,2814,1902,1906,1715,1837,2166,2282,2654,2843,2504,2121,2635,3195,3851,3812,3333,2701,1963,2397,2586,2166,1928,2019,2268,2098,2041,2548,3592,3992,2912,2013,1698,2024,2031,1958,1888,1849,2292,2863,2653,2259,2625,2216,1803,1641,2117,2588,3125,3161,2994,2807,2568,2775,2526,3161,3581,3018,2370,2990,3073,3256,3405,3034,2657,2307,2080,1951,1933,1831,2030,1903,2317,3168,3414,3487,3593,3423,3030,2652,3109,3648,3146,2716,2763,2998,3288,3196,3418,3428,2808,2045,1894,1952,2188,2588,2274,1943,1946,2623,2449,2808,2720,2196,2012,1738,1660,1750,1826,1719,1691,1887,2004,2155,2039,2293,2214,2004,1863,1941,2342,2157,2199,2249,2679,2395,1940,2152,2534,2189,1848,2250,2683,2458,2139,1791,2157,2449,2124,2307,2655,2510,2662,2797,2702,2841,2556,1682,1840,2559,3182,3172,2368,2265,2142,2023,2017,2174,1750,1708,2060,2841,3270,2954,2823,2744,2552,2665,3085,3396,3458,3485,3242,3226,3288,2625,2270,2380,2026,1467,1464,1975,2192,1986,1643,1605,1748,2023,2009,2269,2950,3051,2653,2162,2154,2393,2022,1639,1526,2011,2127,1794,1911,2465,2471,1617,1454,1765,2026,2178,2053,2082,1843,2122,2281,2291,2408,2237,2328,2295,1802,1823,1726,1821,2078,1730,1604,1849,2352,2592,2080,1826,1845,1918,1666,1443,1978,1665,1455,1804,2282,2287,2014,2240,2432,2266,2093,2001,2047,1876,2042,2245,2309,2247,2322,2299,1927,1494,1460,1854,2118,2242,2200,2133,2257,2090,2696,3235,2715,2899,2464,2376,2329,2702,3356,3197,2337,1682,1631,1919,2226,2144,2030,2151,1922,1952,1921,1840,2170,2696,2712,2198,2237,2242,2394,2099,2020,2019,1512,1330,1470,1589,1441,1506,1610,1546,1372,1041,1177,1754,1679,1318,1363,1467,1607,1605,1797,1972,1876,2020,2215,1929,2120,2379,2402,1709,1731,1820,1824,2036,2118,1881,1992,2440,1799,1691,2240,2131,1888,2481,3189,2081,1469,1686,2044,2198,1464,1703,2048,2154,2374,2423,2302,2204,2137,1799,1613,1831,2144,2228,2093,1832,1857,1755,1720,1388,1462,1585,1572,1999,2647,2454,1998,1791,2302,2658,2403,1855,1854,2037,1764,1445,1368,1767,1654,1338,1316,1659,2031,2154,2346,2666,3287,3532,3642,3053,2368,2209,1834,1829,2138,2647,2734,2643,2833,2536,2171,1992,1963,2043,1938,2182,2177,2068,2128,2332,2098,1821,2119,2232,2545,2670,2546,2741,2155,1977,1841,1516,1671,2087,2343,2286,2166,2437,2788,2525,1935,1985,1782,1598,1246,1245,1619,1816,1737,1800,1990,2232,1917,1516,1559,1516,1700,1728,1754,1788,1821,1815,1801,2023,2402,2344,2398,2953,3178,2669,2342,2350,2452,2331,2024,1699,1626,1972,2098,1752,1718,2090,2473,2828,2953,2937,2998,3232,3200,2564,2158,1989,1749,1825,1871,1868,1770,1908,2311,3436,3156,2375,2922,3929,4078,3060,2511,2353,1760,1512,1632,1842,1895,1789,1821,1915,1909,1970,2094,1654,1605,1659,1134,1087,1416,3172,3251,2469,2231,1838,2174,2257,1784,1827,1770,1931,2518,2900,2722,2220,2561,2313,2486,2574,2068,2471,2401,2469,3733,3297,2687,2476,2281,2773,3776,3768,2916,2552,2987,3326,3105,2994,2642,2345,2188,2508,2595,2558,2935,2762,2127,1844,1664,2186,2697,3165,3624,3083,3085,3177,2643,2360,2487,2917,2927,3031,3128,2787,1976,1631,1552,1494,1699,2153,2092,1958,1728,2900,3957,4251,3252,1823,1533,1512,1425,1260,1246,1620,1690,1687,1632,1864,2007,2030,1738,1633,2120,1910,2040,2460,2352,2104,2414,2548,2190,2072,2518,2344,2044,2238,2345,1992,1965,2097,2134,2100,2072,2087,2020,2153,2099,2014,1874,1929,2132,2192,2227,2234,2071,2170,3064,3343,3201,3283,3304,3332,3495,3763,3934,3749,3750,3774,3566,3792,3594,3465,3452,3378,2666,2177,1865,1588,1471,1511,1590,1542,1628,1629,1689,1669,1678,1725,1785,1989,2355,2247,1418,1450,1570,1560,1736,1715,1701,2237,2630,2273,1970,1894,1837,1717,1738,1882,1866,1987,1785,1591,1680,2132,2314,2382,2464,2337,2031,1864,1976,2419,3129,3062,1871,2010,1838,1505,1408,1561,2395,2275,2018,2203,1964,1935,2438,2802,2877,2613,2852,2187,2191,2661,2984,3437,4024,4244,3972,4144,4118,4540,4812,4515,4415,4471,4756,5157,4981,4427,4090,4073,4163,4294,4647,4831,4620,4572,5024,4645,4213,4140,4152,4200,4172,4112,3851,3602,3231,3229,3294,3177,3310,4003,3481,3339,3570,3654,3610,3503,3620,3365,2765,1843,1052,1311,2436,3351,3229,2621,2769,2553,1744,1416,1357,1415,1317,1444,1515,1432,1485,1501,1532,1479,1665,1735,1660,1505,1731,2428,2302,1898,2168,2071,1692,1666,1524,1391,1610,1636,1493,1604,1779,1908,1833,1627,1518,1695,1890,1870,1744,1660,1831,2390,2467,2326,2358,1904,2003,1908,1848,2336,3018,2723,2367,2341,2252,1759,1658,2016,2040,1931,2181,2222,2575,2609,2163,2304,2540,2169,1981,2039,2185,3164,3740,3276,2456,2259,2279,2448,2596,2683,2001,1648,1594,1636,1958,2182,1924,2153,2270,2604,2755,2450,2094,2232,2325,2004,2137,2345,2229,2595,2666,2454,2402,2097,1809,1897,1918,2302,2366,2315,2409,2055,1862,2154,2490,2952,2863,3064,3105,2366,2733,2944,2941,2822,1919,1377,1598,1725,2536,2720,2036,2129,2568,2406,2112,2090,2009,2065,2304,2509,2408,2540,3062,2968,2489,3086,3432,2979,2496,2430,2610,2432,2075,1998,2086,2632,2934,2540,2183,2279,2369,3255,3819,2642,2408,2631,1880,1636,2169,2334,1986,2036,2009,1599,1957,2330,3024,2534,2084,1995,2189,2659,3615,3790,3138,3011,2188,1986,2016,1769,1734,1743,1812,2704,2684,2082,2237,2490,2526,2862,2547,2242,2354,2513,2178,2104,2162,2319,2790,2938,2565,2586,2574,2654,2177,2093,2438,2071,2093,1905,1546,1742,1986,2121,2349,2285,2026,2141,2771,2917,2001,2237,2665,2227,1934,2023,2067,1957,1742,1822,1867,1570,1758,2084,1842,1587,1770,2041,2164,1850,1850,1981,2229,2452,2192,1815,1737,1703,2030,2378,2622,2209,2427,2591,3076,3344,3054,3062,3296,3365,2630,2285,2134,1891,1902,1838,1792,1682,1752,1880,2044,1942,1850,2005,2169,2108,1956,1880,1654,1796,2333,2369,1837,1890,3256,3351,2418,2548,2609,3269,4094,4621,4621,3337,2374,2275,2125,2306,2352,2272,2778,3338,2637,2389,2906,3065,3584,3636,3644,3629,3175,2566,1886,1602,1848,1744,1844,1920,1807,1564,1804,1973,1603,1886,2530,2103,1980,2248,3321,3886,2819,1797,2097,2171,1929,1726,1826,2107,2499,2764,2584,2522,2056,1870,2257,2546,2238,2098,1885,1709,1707,1858,1809,1655,1736,1954,1989,1807,1844,1854,1670,2050,2004,1971,2050,2107,1858,1839,2076,2094,2185,2919,3210,2769,2352,1618,1828,2162,2146,2132,2054,1819,2090,2916,3067,2447,1815,1692,1768,2210,2151,1874,1817,1887,1721,1750,2289,2548,2456,2745,2564,1724,1599,1626,1452,1463,1428,1621,2024,2324,2473,2518,2150,2231,2008,2166,2266,2147,2259,2079,1816,2119,2053,1848,2217,2198,1817,1774,2001,2502,2490,2341,2504,2633,2494,1938,1717,1901,1846,2101,2343,3118,2514,2234,1626,1421,1559,1697,1823,1710,1430,1562,1990,2073,2377,2496,2112,1657,1599,1564,1673,1878,2122,2066,1877,2019,2107,2414,2467,2158,2284,2302,2802,3096,3165,2862,2363,2746,2818,2553,2417,1659,1596,2322,2357,2312,2418,2086,1752,1633,1675,2104,2201,2707,2887,2920,2420,2148,1955,1709,2033,2511,3109,3587,3132,2702,3017,3262,2505,2153,2110,2691,2855,2962,3057,2840,2901,2776,2002,2025,2452,2766,2634,2435,2316,2640,2709,2359,2643,3347,3740,3199,2425,2285,2029,2467,3000,3539,3694,3959,3715,2662,2161,2966,3410,3024,2504,2496,2642,2543,2390,2593,2730,2238,2271,2660,2776,2756,2556,2523,3161,3215,3662,3792,3893,3208,2744,2683,2591,2461,2577,2836,2830,2762,3061,3076,3107],[2584,2504,2677,3234,3155,2956,2564,2596,2348,2614,2640,1814,1601,2523,2661,2227,1976,2197,2556,2868,3111,3189,3264,3407,3570,3659,3352,3252,3229,2870,2918,2734,2817,2994,3128,3232,3419,3309,3264,3437,3711,3894,3812,3560,3285,3210,3219,2930,3130,3663,2706,2434,2608,2655,2828,2791,2567,2378,2324,2445,2276,2267,2769,2171,2542,2894,3406,3626,3289,2486,2280,2451,2459,2680,2809,3202,2819,2220,2143,1813,1832,2044,1869,1793,2524,3016,2174,1796,2310,2645,2735,3089,3383,3307,3916,4218,3749,4100,4576,4081,3243,2451,2443,2271,2482,2490,2269,2562,2944,2614,2424,2558,2872,3077,3207,2785,2798,3885,4003,3559,3718,3770,3625,3552,3436,3249,3095,2792,2359,2295,2814,3025,3028,2641,2598,2555,2954,2987,2395,1929,1814,1895,2042,1900,1929,2492,2004,1460,1709,3162,2955,2729,2900,3168,3027,3181,3112,2190,1664,2150,2220,1735,1791,2330,2695,2934,2885,2520,3162,3497,3254,3271,2912,2643,2428,2016,2933,3321,3253,3377,3150,2208,1696,2232,2589,2852,3179,3057,2804,2708,2801,3007,3349,4014,3364,2489,2381,1994,1391,1343,1846,2767,2589,2303,2964,2830,3610,2779,2633,2502,2916,2920,2171,2253,2756,3398,4025,3418,3082,3730,3814,4200,3685,3078,2829,2646,3252,3817,3616,3682,3554,3370,3526,3876,3762,3599,3082,2798,2422,2296,2733,3275,3355,3307,3452,3831,3419,3331,3750,4204,4520,4288,4176,3806,2527,2072,1893,1635,1605,1729,2085,2424,2604,2645,2453,2114,1870,1801,1868,2046,2216,2287,2772,2524,2524,2233,1934,2243,2295,1963,2382,2055,1667,2214,2820,2685,3109,2602,2048,2020,1648,1367,1841,2293,2256,2152,2281,2701,2820,2599,2650,2670,2361,2436,2994,3988,4109,4066,3349,2167,1956,2127,1749,1281,1274,1210,1519,1921,2472,2741,2156,2200,2380,2499,2070,1590,2484,2693,2205,2219,2308,2105,2439,2248,2184,2246,1894,2097,2006,1827,2325,2477,2276,2252,2332,2893,3674,3940,3981,3226,2082,2244,2656,2155,2148,2320,2339,2135,2032,2120,3150,3993,3306,2128,1603,2046,2354,2143,1873,1910,2136,1848,1832,2229,2134,2088,2273,2293,2243,2810,3124,2402,2156,2052,2392,3293,3438,3377,3631,3575,2986,3000,3338,3696,3495,2723,2409,2415,2636,2445,2081,1934,1659,1446,2497,3225,3241,3271,3303,3314,3576,3508,3577,3667,2907,2625,2766,3060,3322,3131,3198,3322,2693,1931,1993,2091,2322,2964,2326,1839,1893,2416,1992,2246,2392,2300,2245,2115,2079,1643,1912,1747,1837,1713,1796,1809,1899,2068,1872,1902,2120,2145,2009,1800,2150,2263,2811,2283,2117,2121,2229,2119,2138,2653,3130,2920,2025,1229,1700,1919,1814,2209,2565,2334,2257,2286,2182,2471,1926,1469,2088,2611,2871,2585,2336,2476,2234,1912,1770,1773,1997,2205,2169,2345,2389,2335,2337,2614,2502,2531,2713,2829,2862,2874,2829,2998,3021,2872,2874,2441,1948,1914,1904,2104,2147,1784,1794,1962,2142,2217,1917,1904,2243,2311,2264,2268,2459,2460,2104,1594,1730,2037,1920,2171,2444,2399,2512,2507,2281,2310,2502,2193,2213,2087,1972,2180,2216,2106,2190,2379,2515,2365,2701,2338,1925,1630,1643,1605,1851,2322,2642,2331,1900,2071,2095,1729,1736,2117,2188,1804,1652,1607,2337,2157,1790,2325,2476,2202,2333,2184,1862,1934,2129,1963,2220,2170,2119,2253,2138,1941,2227,2672,2541,2000,1409,1333,1513,1655,2223,2192,2498,2564,2278,2358,2120,2305,3065,3099,2328,1637,2004,2630,2416,2094,2348,2113,1842,1871,1512,1594,2012,2223,2461,2307,2083,2425,2501,2201,2220,1998,1699,1558,1556,1502,1228,1489,1656,1730,1470,1260,1405,1506,1610,1459,1694,2150,2282,2215,1945,2257,2516,2315,2480,2050,1762,1891,2176,1858,1784,1906,1881,1909,1865,1995,2140,2181,1876,2054,2231,2110,2004,2538,2942,2149,1972,2194,2093,1960,1924,2602,2351,2332,2493,2648,2327,1880,1637,1307,1212,2046,3206,3334,2445,1826,1610,1700,2021,2093,2107,2012,2110,2642,2740,2508,2256,1881,2270,2407,2432,2010,1692,2121,1894,1592,1500,1630,1716,1523,1528,1644,1888,2380,2503,2337,2261,2197,1998,1663,1941,1959,1799,2342,2832,2846,2574,2635,2577,2868,2363,1985,1895,1905,1823,1880,2151,2215,2242,2142,2305,2162,1948,1930,2332,2331,2851,2518,1929,1859,1800,1825,1569,1765,2162,2023,2099,2214,1865,1703,1707,1778,1508,1251,1501,1253,1555,2586,2431,1883,2008,1914,1483,2070,2308,2356,2493,1935,1691,1825,2063,2074,2535,3198,2645,2192,2499,3021,3144,2595,2433,2675,2676,2567,2260,1658,1574,2038,2138,1744,1574,1765,1955,2416,2819,2872,2823,2902,2730,2171,2145,1823,1737,1840,1896,1858,1942,2333,3298,4418,4188,3373,3189,3488,3848,3262,2305,1766,1748,1714,1714,1792,1852,1865,1820,2336,2832,2177,2051,1847,1540,1790,1925,1717,2226,3647,3351,2433,2706,2588,2928,2485,2261,2024,1844,2244,3168,3399,2691,1914,1993,2366,2491,2348,2215,2453,2287,2254,2961,3018,2840,2575,2276,2392,2986,3492,3541,3109,2909,2858,2358,2152,2187,2244,2261,2268,2143,2276,2868,2958,2321,1742,1812,2564,2432,2879,3162,3119,3343,3050,2352,2320,2332,2621,3162,3240,3018,2093,1472,1463,1576,1507,1577,1543,1705,1748,2140,3580,4492,4508,3864,2289,1511,1588,1394,1190,1362,1609,1906,1778,2020,2646,2845,2754,1886,1578,2213,2145,2156,2434,2223,2223,2438,1970,1721,1814,2265,2333,2078,2698,2938,1897,1798,2244,2190,1699,1901,2051,2083,2014,1844,1872,2010,2014,1771,1765,2097,1982,1803,1779,1830,2025,2215,2159,2183,2247,2331,2461,2546,2496,2526,2744,2589,2770,2591,2546,2781,3037,2862,2296,1861,1655,1615,1760,1970,1970,1982,1926,1880,1930,1924,1974,2061,1968,2091,2286,1666,1955,1873,1597,1595,1632,1815,2736,3284,3141,2921,2349,1980,1996,1886,1729,1757,1909,1721,1737,1917,2184,2254,2294,2405,2135,1920,2147,2191,2402,2313,2557,1974,2313,2341,2288,1871,1664,2288,2355,1781,1476,1490,1798,1794,2534,2577,2255,1964,2012,2412,2634,2774,3071,3809,4165,4015,4229,4345,4620,4652,4458,4342,4178,4508,5005,5049,4993,4549,4133,4545,4875,4784,4663,4329,4541,4781,4395,4188,4393,4448,4228,4188,4292,3891,3636,3683,3355,2584,2740,3463,4092,3880,3672,3851,3981,3882,3826,3482,3330,3141,2648,1572,1095,1623,2847,3401,2763,2387,2160,1483,1294,1434,1406,1305,1513,1447,1382,1542,1770,1679,1498,1521,1712,1674,1700,1675,1831,2094,1317,1797,2090,1678,1562,1603,1506,1611,1744,1701,2217,2753,1960,1652,1528,1550,1727,1856,2048,1922,1545,1686,2382,2384,2237,1879,1528,1947,2187,2686,3528,4083,3018,2161,2755,2740,1809,1936,2319,2087,2239,2029,2025,2725,2554,2100,2370,2203,2050,2482,2382,2188,2621,2752,2386,2126,2193,2680,2548,2068,1684,1491,1766,1930,1698,1689,2071,2070,2408,2828,3206,3209,2868,2581,2665,2534,2341,2549,2298,2560,3405,2864,2697,2318,1991,1877,1996,2166,2280,2265,2292,2680,2414,2354,2684,2552,3559,4070,3388,3067,2764,2617,2885,2994,2710,2758,2193,1834,2032,2239,2107,1775,1787,2192,2420,2452,2355,1964,1765,2262,1923,2308,2728,3076,2755,1941,2669,3470,3019,2626,2917,3164,2938,2666,2147,2019,2512,2696,2469,2258,2237,2032,3002,3868,3177,2415,2122,2160,2097,2103,2138,1880,1898,1852,1591,2035,2398,2744,2845,3029,3209,2552,2219,2659,2615,2069,2341,2458,2173,1798,1841,1794,1729,2172,2679,2291,2154,2874,3125,2810,2644,2522,2097,1884,2148,2017,1837,2186,2380,2342,2320,2477,3128,2973,2458,2780,2751,2381,2222,2287,1994,1742,1726,1909,2402,2299,2250,2411,2267,3287,3145,2183,2195,2610,2286,2114,2110,1702,1758,1729,1872,1910,1839,2026,1861,1624,1528,1703,2190,2017,1759,1811,1903,2473,2815,2231,1771,1696,1834,2089,1812,2112,2792,3046,2918,2928,2861,2720,2850,2907,3035,2685,2255,2223,2870,2366,1923,2185,2121,2363,2330,2204,1677,2103,2323,2232,2073,2051,2113,1965,2185,2355,2462,2649,2419,3604,2989,1948,1695,1426,2077,3408,4161,4099,3123,2402,2495,2220,2046,2192,2024,2290,2302,1639,1686,2407,2912,3277,3282,3365,2410,1960,2056,1406,1096,1589,1966,2383,2455,1897,1617,1750,1891,1767,1682,1914,1637,2103,2117,3388,3616,2397,1541,2249,2625,1942,1516,1780,2299,2652,2928,2836,2510,2229,1937,1968,2325,2460,2207,1955,1869,1689,1808,1682,1926,2353,2201,2151,1635,1615,1760,2266,2322,1920,2134,2307,2276,1974,2050,2446,2445,2256,2496,2312,2289,2242,2215,2082,1557,1694,1840,1991,2183,2157,2838,2999,2514,2013,1700,1789,1969,1942,2032,2004,1761,1769,1909,2338,2298,2687,3519,2377,1224,1413,1582,1852,1898,1591,1780,2124,2881,2900,2467,2433,2407,2313,2294,2481,2793,2516,1915,1735,1917,2055,1815,2264,2441,2145,1979,1918,2160,2376,2224,2064,2082,2298,2097,1763,1548,1763,2271,2912,2947,2081,1400,1189,1310,1471,1733,1625,1505,1758,1919,2002,2030,2901,2911,1898,1534,1610,1632,1743,1987,2265,1952,1744,1886,1974,2082,2210,2243,2593,2938,2717,2696,3118,2701,2451,2821,2618,2418,2589,2006,2504,2850,2765,2536,2419,2005,1998,2430,2188,2576,2742,2761,2941,3066,2454,1905,1992,2285,2477,2576,2593,2531,2301,2751,3365,2851,2163,2002,2469,3514,3715,3351,3172,3008,2516,2088,1750,1910,2102,2848,2632,2265,2530,2951,2956,2634,2553,2626,2842,3292,2909,2460,2098,2574,3370,3675,3444,3508,3603,2745,2462,3440,3736,3144,2680,3136,3110,2469,2567,2982,2724,2171,2259,2422,2786,2519,1535,1753,2673,2607,2964,3097,3030,2790,2634,2598,2195,2018,2387,2599,2600,2824,3240,3095,2994],[2666,2502,3132,3772,2699,2108,2786,2911,2566,2533,2634,2390,2214,2598,2835,2646,2348,2877,3183,2850,2908,3046,3122,3221,3258,3089,2720,2601,3070,2788,2868,3153,3499,3382,3529,3716,3592,3320,3168,3395,3740,3881,3811,3649,3350,3230,2508,2162,3272,3454,2574,2348,2304,2544,2702,2749,3045,3140,2637,2624,2599,2756,2763,2159,2654,3145,3186,3127,2973,2695,2933,2566,2435,2452,2104,2227,2679,2613,2017,1711,1790,1952,1758,1688,1896,2519,2751,2512,2288,2204,2078,2548,2358,2457,3329,3764,3522,3558,3671,3429,3212,2448,2490,2471,2489,2898,3045,3068,3165,2751,2614,2854,2930,3081,3364,2789,2652,3509,3248,3099,3793,3632,3317,3220,2996,3172,3372,3255,2844,2722,2823,3067,2897,2416,2523,2581,2535,2630,2380,2022,1927,1912,2144,2148,2148,2483,2042,1664,1902,2857,2990,2359,2330,2515,2186,2432,2104,1661,1797,2408,2578,2108,2346,2909,3233,2809,2658,2883,3095,3422,3332,3344,3061,2642,2556,2520,2749,3134,2996,2585,2723,2372,1678,2069,2815,3220,3270,3096,3082,2972,2686,2812,3165,3849,3782,3377,3121,2417,1416,1258,1395,2375,2776,3306,2840,2244,3110,3260,2871,2425,2542,2470,1988,2248,2745,3569,3680,3362,3650,3554,3517,3743,3596,3163,2854,3063,3840,3968,3436,3474,3392,3365,3416,3812,3745,3329,3262,3266,3063,2743,2876,3407,3366,3303,3355,3420,3420,3506,3497,3636,4083,4156,3968,3372,2404,1843,1511,1708,1796,1990,2263,2374,2574,2856,3051,2648,2001,1970,2476,2198,1738,2022,2490,2380,2188,1788,1818,1854,1923,2148,2070,1707,2092,2863,2758,2849,3270,3367,3248,3217,2424,1697,1987,2278,2188,2234,2434,3242,3212,2791,2647,2267,2568,2679,3032,3798,4014,3692,2937,2162,1926,2322,2508,1731,1287,1426,1777,1976,2663,3440,3632,3175,2380,2454,2132,1825,2831,2986,2376,2069,2183,2093,2215,2209,2470,2580,2367,2337,2286,2524,2492,2123,1794,2118,2334,3150,3841,3968,3928,3257,2139,2019,2696,2332,2249,2173,2074,2045,2115,1922,2624,3194,2546,1850,1564,1803,2430,2474,2518,2862,2702,1966,1992,2060,2076,2287,2566,2598,2768,3107,2396,1768,2188,2543,3106,3551,3360,3085,3464,3676,3198,2679,2758,3551,3406,2314,2076,2718,2885,3045,2622,1992,1466,1033,1310,2359,3272,3406,3227,3019,3234,3506,3818,3588,3056,3086,2872,3105,3432,3064,2989,3257,2785,1836,1959,2227,2354,2665,2268,1708,1936,2049,2122,2988,3160,3049,2617,2643,2463,2093,2020,2104,1884,1760,1789,1664,1865,2149,1942,1963,2214,2067,2204,2475,2232,1934,2448,2565,2525,2465,2119,1850,1932,2363,3044,2458,1572,1110,1180,1481,1947,2230,2297,1959,1956,2115,1985,2176,2024,1790,2526,2832,2564,2147,2257,2491,2024,1796,2258,2442,2452,2168,1902,1543,1611,1852,1770,1872,2014,2306,2270,2430,2596,2585,2762,2901,2874,2996,2819,2475,2048,1853,1921,2070,2018,2073,2282,2237,2204,2174,2282,2081,2235,2308,2095,2337,2558,2389,1944,1741,1990,1981,2029,2125,2064,1958,2244,2426,2041,1939,2105,2120,2245,2195,2106,1968,1837,1913,2270,2106,2170,2342,3074,2424,2008,1597,1504,1638,1758,2148,2463,2136,1722,1765,1856,2203,2443,2466,2512,2502,2125,2399,2853,2142,2011,2767,2789,2167,1954,2025,1728,2093,1989,1925,2100,2032,1974,1963,1936,2043,2164,2217,2056,1775,1792,1488,1432,1399,1457,1499,1953,2160,2499,2645,2186,2017,2260,2745,2073,1802,2443,2857,2171,1981,2373,2084,1871,1824,1647,1780,1544,1665,1989,2175,2446,2680,2259,2251,2287,2108,2144,1990,1719,1749,1710,1665,1658,1662,1547,1622,1721,1663,1507,1502,2100,2865,2918,2309,1748,1964,2443,2566,3062,2533,1879,1753,1794,1878,2220,2468,2678,2532,2200,1898,1438,1665,1957,2125,2062,1936,2094,2367,2359,1929,1718,1777,1884,1853,2121,2543,2484,2338,2096,1988,1894,1886,2194,2294,1938,2677,3528,3006,2176,1868,1474,1408,1836,2043,1970,2059,2264,2447,2579,2663,2248,2023,2277,2308,2124,1803,1748,1987,1982,1719,1566,2009,2313,2013,1964,2088,1867,1869,1868,1994,2108,1586,1285,1578,1834,1853,2264,2856,2828,2545,2820,2776,2552,2624,2464,2264,1924,1654,1463,1653,2124,2099,2073,2160,1844,1617,1541,1696,2104,2898,3265,2359,1893,1808,1975,1944,1727,1852,1918,1949,2156,1937,1592,1383,1591,1767,1164,1368,1688,1339,2474,3467,3428,2822,2352,1774,1678,2750,2764,2460,2787,2125,1555,1894,2225,2151,2641,3572,2466,2172,2604,2868,3068,2643,2431,2828,2976,3006,2416,1958,1875,2233,2250,1979,1946,1945,2003,2232,2535,2710,2836,2764,2492,2033,1873,1621,1634,1807,2081,2224,2458,3105,3365,3960,4356,4219,2709,2424,3604,4034,3084,2327,2175,1789,1526,1789,1910,1898,2200,3550,3992,2778,1878,1742,1878,2580,3300,3283,3032,3615,3550,2675,3213,3021,3167,2653,2481,1837,1859,2355,2778,2952,2614,2073,2232,2251,2032,2143,2588,3086,2889,2945,2798,2508,2648,2426,2512,3012,2558,2917,3451,3341,3033,2709,2454,2236,2058,2063,2271,2170,1951,2253,2777,3003,2403,1857,1707,2234,2087,2652,2630,3088,3365,2484,2054,2244,2338,2419,2964,2863,2316,1042,1217,1342,1642,1710,1644,1701,1814,1907,2445,3353,4292,4311,3979,2653,1482,3039,2610,1560,1452,1664,1900,1952,2278,2705,2729,2924,1826,1412,1780,2191,2159,2209,2258,2504,2145,1845,1797,1920,2758,2720,2158,2445,2702,1704,1693,2055,2166,1938,1939,2032,2024,1473,1390,1467,2096,2051,1852,1666,2072,1982,1688,1681,1840,2274,2128,2281,2474,2381,2158,1720,1692,1436,1773,2015,2047,2114,2026,1983,1995,2091,2075,1871,1750,1713,1738,1864,2100,2157,2020,1809,1722,1762,1849,1919,1829,1932,1990,2098,1739,1771,1878,1760,1737,1399,1543,2843,3837,3848,3539,2810,2952,2952,2818,2755,2342,1806,1685,1746,1794,1863,1690,1782,2059,1728,1746,1932,1756,1731,2236,1919,2074,2589,2666,3054,3306,2861,2392,2239,1558,1475,1878,1948,1984,2180,2256,1959,1551,1884,2320,2746,2878,3076,3438,3870,4131,3960,4028,4147,4284,4449,4296,3957,4493,5216,5110,5004,4652,4307,4813,5048,4947,4735,4144,4029,4112,4123,4420,4589,4608,4784,4576,4388,3776,4061,4348,3232,2420,2762,3494,4248,4128,3183,3193,3882,4050,4436,3899,3824,3342,2866,2110,1281,1237,2250,2820,2462,2045,1565,1384,1333,1458,1443,1504,1506,1333,1707,2174,1864,1510,1588,1521,1800,1650,1787,1685,1499,1984,1974,2020,1963,1787,1827,1929,1824,1760,1831,1802,2155,2088,1367,1351,1544,1720,1896,1779,1782,1842,1684,1792,1908,1970,1864,1647,1496,1833,2227,2865,3487,3340,2622,2338,2618,2850,2181,1904,2040,1968,2421,2412,2256,2449,2268,2313,2351,1952,2214,2608,2250,2098,2301,2242,2131,2223,2465,2295,1774,1639,1668,2018,2338,1812,1546,1646,2276,2512,2685,3184,3348,3050,2789,2789,2876,2731,2511,2791,2652,2719,3329,2922,2735,2279,2216,2203,2071,1800,1540,1655,2297,3216,2819,2462,2905,2510,2986,3218,3011,3256,3677,3482,3527,3084,2854,2781,2176,1759,1954,1667,1214,1185,1626,2173,2413,1844,1860,2048,1779,2586,2023,2194,2286,2792,2970,2268,2907,3480,3232,3733,4021,3914,3417,2956,3023,3023,2934,3217,3021,2424,1912,1688,2275,2756,2635,2647,2413,2608,2923,2384,2163,2056,1942,1876,1908,2344,2419,2293,2541,2654,2315,2038,1874,1843,1981,2283,2818,3116,2869,2420,2153,2034,1903,2298,3044,2635,2566,2984,2298,2534,2664,2928,2424,1516,1628,1989,1922,2085,2311,2258,2104,2408,2940,2824,2192,2338,2135,1953,2097,2120,1961,2184,2040,2281,2728,2223,2329,2824,3081,3285,2560,2014,2022,2069,1785,1906,1890,1642,2413,2394,2039,1913,2044,1978,1582,1660,1761,1887,1976,1736,1794,1664,1730,2784,2989,2326,1594,1264,1605,1935,1751,1908,2875,3396,2841,2199,2257,2482,2564,2394,2741,2986,2622,2520,2696,2140,2396,2567,2467,2953,2656,2134,1645,2236,2520,2646,2359,2326,2293,1898,2121,2068,2443,2701,2739,3082,2511,2144,1547,1510,2023,2833,3386,3647,3140,2488,2443,2316,2100,2182,2266,2396,1694,946,1344,2018,2724,2946,2419,2646,2315,2170,2501,1871,1846,2114,2336,2359,2397,2226,1694,1836,2214,2204,1853,1907,1818,2097,2070,3074,3098,2126,1614,1776,2272,1937,1835,2029,1872,2276,2644,2238,2106,2268,1803,1902,2112,2272,2426,2217,1885,1643,1647,1516,2012,2536,2884,2375,1885,1716,1757,2517,2497,1782,2123,2230,2156,2046,2050,2371,2204,1871,1950,2084,2428,2720,2768,2136,1653,1742,1636,1982,1888,1815,2388,2290,2004,1948,1658,1674,1828,1990,2397,2447,1983,2100,2003,1970,1861,2090,2578,2070,1540,1705,1635,1868,2142,2062,2051,2079,2302,2646,2319,1917,2081,2184,2233,2554,2615,2172,1907,2144,2733,3001,2355,2106,2024,2248,2262,2034,2048,2176,2007,2048,2306,2295,2240,1874,1782,1939,2418,2785,2388,1820,1545,1412,1242,1373,2370,2330,1718,1815,2176,2546,2451,2535,2410,1802,1510,1730,2004,1864,1818,2127,2039,1879,1956,1862,1685,1860,2045,2318,2518,2610,2919,2878,2512,2630,2654,2540,2641,2517,2177,2587,3162,3103,2670,2715,2496,2469,2649,2533,2769,3137,2907,2784,2474,2171,2343,2417,2296,2294,2729,2644,3024,3100,3598,3906,3251,2732,2857,3661,4195,4198,3626,3078,2777,2090,2230,2116,2067,2408,2288,2094,2279,2674,3468,3512,2879,2990,2428,2472,3096,3153,2918,2622,3133,3496,3710,3585,3139,3410,3152,2612,3108,3484,2876,2453,2675,3045,2684,2303,2612,2266,2072,2382,2415,2933,2973,2864,2489,3051,2964,2956,3279,3091,2577,2510,2722,2299,2029,2289,2441,2903,2972,3087,3044,2957],[3165,2196,1952,2284,2530,2489,2913,3356,2933,2467,2621,2952,2953,3169,3285,2783,2894,3423,3038,2461,2531,2600,2545,3131,3377,2917,2667,2293,2567,2668,2964,3095,3395,3549,3615,3709,3775,3789,3660,3398,3198,3197,3452,3386,2922,2802,2330,2026,3141,3243,2616,2476,2380,2419,2017,2277,3011,3539,2725,2730,3135,3898,3867,3123,3038,3017,2844,3027,3208,3110,2734,2774,2474,2485,2037,1902,2501,2286,2018,1995,2055,2650,2293,2062,2110,3038,3792,3273,2393,2136,2353,2348,2132,2476,2834,3004,3365,3447,3441,3189,3265,2962,2987,3072,2713,3395,3608,3385,3540,3208,2842,2754,3124,3307,2957,2415,3044,3877,3362,3137,3339,3137,2956,2896,3259,3743,3625,3172,3264,3420,3172,3064,2862,2539,2633,2710,2972,3105,2856,2264,2190,2073,2333,2160,2068,2393,2170,1985,2344,2601,2545,2166,1791,1712,1771,1981,1344,1038,1365,2123,2669,2990,2756,2841,2843,2349,2448,3051,2918,2965,2999,3205,3032,2818,2934,3152,3013,3116,3175,2873,2966,2866,2015,1971,2933,3274,3251,3085,3209,3335,3184,3040,3021,3465,3740,3510,3292,2789,1715,1462,1954,2574,2868,2557,1410,1333,2607,3238,2971,2629,2504,2482,2273,2412,2802,3583,3392,3385,3082,3086,3707,3805,3517,3121,2885,3625,4353,3926,3485,3488,3525,3564,3478,3694,3641,3542,3561,3604,3740,3454,3104,3183,3173,3334,3406,3198,3144,3148,3215,3617,4118,3918,3252,2821,2324,1879,1725,2127,2078,1876,1835,2097,2186,2403,2779,2495,2058,2047,2257,2142,1953,1763,2208,2658,2267,1906,1892,1908,1927,1975,2108,2426,3223,3385,2863,3268,3442,3648,3726,3783,2744,1448,1549,1542,1743,2457,2675,3232,3597,3444,3019,2801,2900,2679,2624,3007,3526,3484,3085,2836,2753,3130,3798,3436,2230,1574,1963,1984,2187,2743,3227,2911,2128,1622,1787,2134,3177,3266,2411,2248,2262,2092,2513,2851,2700,2814,2755,2253,2656,3614,3077,2348,2215,2181,2293,2987,3370,3422,3448,3028,2453,1973,2388,2512,2146,2216,1918,1496,1834,1930,1880,1854,1742,1806,1877,2179,2873,2779,2619,2956,2814,2188,2151,2187,2370,2489,2379,2429,2690,2293,1959,2215,2980,3408,3536,3361,3010,3009,3374,3384,3063,2690,2436,2813,3008,2352,1903,2037,2667,3253,2781,2013,1944,1687,1311,2232,3042,3308,3451,3172,2501,2582,3226,3150,2943,3032,2975,3231,3443,3239,3011,3305,2684,1870,1827,2238,2644,2551,2643,2357,2103,2480,2777,2643,2662,2832,2298,2574,2608,2349,2192,2382,1924,1753,1944,2093,2039,1838,1891,1917,1802,1891,2417,2349,1901,1648,1936,2041,2269,2501,1860,1433,1814,2047,2364,2476,2685,2028,1696,1635,1597,2030,2603,2199,1566,1863,2213,2002,2155,2259,2264,2352,2020,2015,2049,2119,2089,2018,2330,2417,2421,2056,2303,1869,1770,1800,1797,1825,2260,2298,1937,1946,1970,2224,3054,3261,3062,2801,2674,2333,1824,1495,1531,1846,1759,1787,1668,1705,1814,2018,2202,1808,1817,1895,1738,2268,2731,2566,2170,1855,1872,1979,2077,1903,1581,1692,2174,1897,1876,2000,1972,1882,1946,2411,2363,2105,2246,2640,2850,2110,1903,1925,1948,1846,1863,1877,1914,1845,1889,2155,2137,1864,1592,1725,1760,2007,2397,2531,2879,2862,2404,2792,2756,2028,1967,2568,2612,2032,1656,1756,2441,2408,2098,2120,1942,2060,2362,2192,1600,1421,1544,1669,1767,1737,1855,1832,1362,1595,2002,1865,1972,1710,1586,1946,1999,2193,2241,2406,2213,2232,2454,2247,1849,2024,2126,2018,1922,1758,1445,1593,1358,1502,1620,1770,2069,2078,2419,2728,2374,2587,2643,2567,1854,2172,2190,1949,1838,1614,1603,1634,1951,1982,1514,1908,2277,2233,1873,1865,1897,1918,1942,2253,2503,2344,2128,1967,1904,2007,2203,2092,2393,2512,2910,2149,1443,1749,2073,2098,2048,2054,2238,2400,2478,2253,1879,1888,2052,1930,2116,2254,2229,2244,2452,2456,2322,2549,3111,3222,2150,2734,2730,2003,2134,2233,1921,1780,1851,1909,1744,2024,2263,2444,2454,2557,2159,1686,1790,1956,1709,1530,1504,1669,1940,1950,1688,2007,2120,2020,2058,1832,1442,1420,1679,1968,2060,1901,1919,1960,1961,2202,2813,2791,2685,2926,2869,2242,1924,2105,2471,2591,2220,1813,1765,1743,2264,2287,2296,1979,1584,1348,1472,1471,1681,2500,3082,2698,2159,1973,2004,2424,2646,2087,1796,1937,1742,1531,1580,1492,1461,1085,1106,1740,1498,2056,3300,3575,3576,3600,2951,1971,2276,3069,2599,2492,2570,2065,1496,1891,1970,1901,2965,3682,2354,2097,2448,2623,2876,2435,2600,2910,3110,3134,2733,2264,2003,2301,2632,2556,2126,1984,2049,2131,2435,2681,2736,2478,2295,2080,1861,1820,1852,1915,2364,2590,3308,3862,3728,3812,3638,4302,3661,2944,3626,4417,3973,3257,2620,2011,1798,2144,2079,2258,3354,4040,3761,3353,2409,1725,1782,2335,3365,4180,4301,4441,3559,2877,2899,3339,3116,2287,2539,2554,2203,2094,2041,2188,2318,2332,2296,2138,2200,2186,2563,3045,2653,2549,2419,2262,2568,2382,2430,3290,2632,2697,2731,2782,2919,2752,2633,2480,2122,2178,2468,2157,2112,2552,2981,2912,2309,1986,2003,2220,2131,2038,1967,2833,3097,2756,2868,2823,2491,2188,2137,2382,1809,1415,1456,1272,1450,1781,1879,1855,1775,2189,2512,3020,3562,3904,3496,2457,1939,2911,2818,2454,2175,2078,2150,1942,2089,2601,2591,2925,1771,1248,1549,1843,1898,2028,2220,2081,1898,1847,1561,1928,2400,2310,1988,1790,2076,1604,1475,1656,1792,2110,1808,1261,1478,1183,1475,1732,2253,2094,1892,1709,2280,2214,1598,1614,2794,3603,2496,2561,2624,2364,1977,1763,1885,1729,2002,2047,1857,1939,1970,1801,1521,1444,1301,1685,1894,1572,1426,1671,1836,1828,1556,1559,1555,1732,1807,1689,1689,1904,1868,1758,1730,1859,2006,2105,2031,1894,2031,2696,3270,3371,3383,2999,3200,3232,3277,3339,2839,2164,1967,1852,1744,1881,1877,2043,1996,1753,1720,1836,1563,1659,2111,1992,2180,2300,2847,3426,3861,2875,1886,1784,1822,2344,2753,2234,2062,2197,2275,2203,2278,2626,2819,3111,3072,2978,2965,3261,3698,3871,3894,3915,3925,4228,4120,4033,4412,4800,4848,4727,4591,4728,4938,5068,5045,4763,4191,3757,3865,4081,4416,4635,4932,5185,5089,4720,4289,4360,4163,3066,2583,2904,3662,4232,4113,3586,3347,3785,4036,4233,4063,3836,3563,3148,2621,1746,1052,1408,2134,2120,2310,2287,2137,1606,1644,1676,1537,1494,1449,1643,2187,1985,1510,1946,1840,1975,1632,1719,1874,1744,2121,2617,2548,2235,2076,1871,1794,1994,1820,1730,1606,1461,1201,956,1241,1607,1658,1588,1219,1658,2022,2440,2348,1919,1785,1608,1600,1814,2048,2258,2578,2720,2282,2001,2047,2408,2734,2315,1720,2280,2172,2030,2306,2012,1512,1782,2066,1856,1793,2150,2207,1900,1749,1933,2491,2412,1915,1638,1384,1492,1974,2354,2491,2293,1787,2051,2244,2447,2408,2667,3128,2881,2553,2967,3069,2557,2633,2597,3282,3198,2652,2587,2635,2511,2258,2592,2768,2468,2127,1696,1814,1964,2673,3283,3262,2988,2750,2943,3348,3341,3729,4233,3747,4058,3420,3054,2336,2277,1887,1291,1179,932,1374,1899,1961,1899,1685,2531,2590,1836,2292,2360,2192,1982,2768,3230,2698,3255,3399,3230,3672,3837,3586,3029,2535,3010,3299,3128,3213,3038,2674,1991,1743,2514,2759,2088,2502,2597,2432,2229,1957,2486,2670,2241,2135,2287,2242,2165,1975,1790,1795,2215,2050,2079,1838,2116,2513,2777,2863,2543,1963,1997,2226,2145,2947,3692,2654,2865,2896,2502,2831,3125,3254,2709,1870,1510,1845,1807,2222,2539,2687,2387,2941,3253,2916,2655,2225,2024,2207,2301,2050,2002,2088,2339,2371,2639,2552,2546,2929,3400,2894,2207,1692,1587,1791,1961,2208,1937,1914,2470,1961,1715,1669,1866,2668,2751,1950,1913,1930,1641,1712,1663,1529,1424,1920,2877,3270,2680,1604,1477,1704,1693,1759,2120,2474,2115,1820,2372,2586,2224,1922,2187,2711,2724,2323,2373,2522,3219,2965,2765,3495,2804,1818,1879,2151,2120,2409,2287,2586,2347,1986,2117,1806,2093,2146,2511,2757,2800,2692,2191,2045,2396,2810,3123,3714,2983,2405,2732,2800,2377,2148,2690,2777,1957,1504,1684,2498,2664,2534,2646,2349,1752,2003,2422,2117,1948,2143,2218,2194,2232,2158,1833,1985,2034,2203,2016,2105,2179,2098,1927,2216,2117,1765,1528,1601,2350,2211,2388,2167,1811,1817,2087,2025,2279,2309,2160,2362,2221,2094,2250,2304,1746,1647,1678,1570,1982,2345,2452,2159,1919,1668,1757,2601,2620,1742,1747,1933,2107,2491,2174,2035,1943,1817,1788,1981,2151,2132,2552,1844,1749,1904,1794,1794,1221,1155,1926,1996,1641,1599,1732,1762,1859,1727,1983,2014,1984,2069,1771,1941,2188,2184,2163,2018,1864,1723,1687,1852,2030,1979,1918,1718,1821,2243,2003,2019,2603,2512,2480,2430,2089,1761,2357,2907,3090,2780,2548,2215,1645,1556,1942,2292,1862,1971,1881,1876,2114,2033,1774,1953,2321,2098,1881,1876,1915,1865,1569,1334,1908,2098,2496,2437,2158,2069,2383,2894,2757,2413,1912,1830,1864,1547,1851,2562,3017,2874,2264,1853,1963,1787,1594,1768,1866,2367,2322,2384,2519,2461,2263,2486,2645,2577,2624,2271,1913,2023,2580,3135,3268,2786,2438,2491,2309,2414,2531,2981,3062,2669,2229,2286,2432,2044,1901,1791,2374,2385,2651,3382,3952,3828,3549,3417,3496,3808,4105,4284,4144,3127,2551,2309,2908,2802,2340,2195,2024,2177,2342,2535,3492,3794,3592,3596,2976,2775,2919,3239,3518,3483,3637,3365,3385,3727,3137,2998,2731,2585,2719,2957,2563,1955,2013,3096,3129,2423,2474,1961,2244,2680,2755,2744,3024,2973,2900,3345,3185,3167,3189,2799,2616,2897,2973,2851,2592,2742,2821,2904,2640,2946,3393,3198],[2890,1819,1196,1614,2360,2260,2454,3197,2946,2564,2691,3156,2952,2911,3116,2966,3074,3151,2690,2270,2589,2596,2203,3083,3627,3100,2988,2544,2301,2223,2125,2136,2524,2580,2641,3167,3666,3407,3184,3061,2677,2888,3257,2933,2692,2853,2652,2482,3096,3109,2431,2364,2230,2220,2219,2374,2546,2500,2323,2687,3188,3838,3692,3143,3055,2741,2737,3166,3459,3491,3053,2378,2719,3252,2866,2431,2420,2040,2236,2701,2414,2563,2518,2227,2214,2362,2646,2683,2387,2075,2286,2521,2341,2578,2924,3001,3261,3240,3124,2965,3272,3361,3174,3150,3308,3610,3638,3592,3865,3748,3164,2976,3319,3076,2643,2683,3190,3627,3858,3873,3719,3155,2685,3051,3719,3674,2502,2269,3013,3748,3552,3176,3006,3084,2946,2861,3042,2860,2799,2347,2337,2203,2131,1828,2420,3360,2873,2413,2981,2828,2424,2038,1460,1444,1646,2308,2699,1998,1523,1857,2524,2336,1796,2229,2034,2072,2458,2766,2612,2457,2568,2887,2808,2734,2912,3133,3033,2835,2891,3033,3241,3331,2832,2577,3238,3416,3450,3415,3451,3495,3307,2884,2741,3175,3330,2691,2956,2786,2108,1975,2886,3454,3161,1958,1153,2095,2808,2939,2707,2386,2561,2610,2577,2730,2792,2916,2676,2898,3596,3996,4079,3488,3517,3481,2980,3329,3979,3884,3808,3616,3840,3912,3704,3716,3760,4036,3595,3286,3307,3271,3065,3299,3097,2990,2922,2666,2666,2955,3284,3707,3886,3400,2775,3020,2867,2308,2176,2462,2253,1893,1946,2521,2689,2843,2635,2050,1829,2055,2301,2077,1842,1705,1935,2031,1810,1900,1977,2036,1863,1713,2328,3483,3616,3295,3262,3022,2921,3394,3472,3140,2455,1866,2191,1903,1976,2758,3116,3104,3639,3929,3874,3465,2562,2169,2374,2629,3133,3233,2862,2610,2877,3406,3704,3765,2626,2025,2441,2315,2302,2381,2552,2401,1806,1807,2293,2587,3494,3381,2333,1980,2147,1953,1689,1493,1903,2254,2247,2107,2353,3196,3023,2517,2311,1913,1950,2604,3100,3210,2873,2635,2481,2134,2160,2046,1981,2196,1839,1492,1587,1681,1930,1820,1678,1868,2215,2601,2987,2846,2239,2249,2463,2298,2408,3156,3147,2854,2275,2646,3119,2974,2878,3200,3350,3400,3510,3350,3038,2993,2957,3072,3271,2821,2301,1983,2084,2155,2076,2221,3189,3471,2351,2038,1926,1720,2086,2863,2499,2657,3221,3056,2361,2347,2980,3117,2894,2917,3233,3462,3488,3432,2790,2800,2330,1841,1857,2310,2952,3182,3140,2833,2502,2689,2976,3060,3139,2540,1898,2017,2207,2110,2422,2494,1904,1719,1975,2271,2268,2134,1925,1704,1741,2187,2455,2284,1920,1792,2097,2149,2085,2089,1876,1842,2005,1901,1870,2799,3567,2774,2022,1865,2112,2324,2596,2273,2080,1971,1644,1996,2182,2275,2778,2263,1869,2126,1792,1812,2282,2346,2190,2470,2128,1938,2046,2068,1799,1643,1882,2131,2268,2083,1639,1567,1849,2235,3277,3475,2885,2828,2966,2317,1788,1756,1824,2158,1716,1705,1682,1926,1798,1687,1948,1821,1592,1457,1592,2481,3231,2533,1959,1706,1896,1849,1876,1888,1545,1573,1795,1584,1966,2281,1824,1412,1828,2788,2302,2399,2670,2917,3068,2258,2437,2690,2215,1932,1787,1803,1711,1593,1977,2532,2508,1980,2186,2509,2308,2313,2460,2611,3016,3047,2314,2348,2259,1952,1478,2220,2701,2115,1761,2071,2598,2342,2182,2049,1765,1965,2179,1924,1520,1449,1622,1361,1217,1250,1370,1715,1867,2085,2073,2087,2138,2608,2060,1879,1937,2066,2187,2331,2076,1836,1960,1767,1930,2227,1880,1848,1724,1721,1604,1566,1601,1617,1355,1411,1461,1812,2386,2095,1529,1720,2091,2122,1899,2130,2045,1995,2061,2308,2322,2063,2489,2269,1787,2454,2160,1667,1488,2027,2368,2187,2064,2155,1946,1819,1731,1731,1598,1560,1637,1737,1855,2095,2415,2163,2230,2654,2812,2146,1813,1991,2421,2462,2486,2130,2116,2280,2107,1933,2017,2273,2415,2363,2364,2025,2262,2981,3384,3260,2004,2492,2334,1908,2807,3040,2244,1575,1207,1603,1658,1552,2082,2083,1923,2189,2084,1615,1791,1958,1653,1746,1679,1620,1867,2246,1656,1408,1555,1695,1777,1573,1342,1603,2049,2128,2330,2496,2316,1886,2122,2412,2492,2584,2917,2755,2330,1797,1793,2099,2208,2327,2429,2285,2320,2185,2201,2185,2242,2152,1705,1556,1707,1729,1940,2255,2398,2492,2190,2452,2530,3281,3762,3198,2416,2056,1780,1562,1617,1472,1155,1072,1710,1587,1892,3109,3628,3657,3665,3469,2662,1997,2499,3209,2391,2404,2243,1973,1778,1797,1679,1710,3451,3940,2016,2024,2210,2689,2931,2602,2962,3020,3226,3193,3032,2588,2114,1972,2165,2285,2220,2130,2098,2318,2500,2818,2634,2445,2259,1990,1951,1920,1711,1916,2353,2247,3090,3332,3905,3975,3255,3550,4040,3532,3306,4168,4283,4027,3122,1943,1552,2130,2131,2414,3325,3682,3421,3164,2745,1963,1950,2203,2597,3616,4161,4233,3827,3354,2548,2690,2390,2082,2832,2952,2368,1989,2330,2878,2468,2644,2332,2412,2232,2320,2876,2674,2085,2034,2415,2383,2404,2158,2496,2919,2724,2708,2332,2563,2964,2687,2492,2398,2130,2297,2562,2107,2132,2388,2964,2536,2243,2180,2051,2296,2541,2144,1950,2673,2952,2818,2821,2688,2686,2586,2160,2303,2100,1782,1480,1206,1566,2122,2043,1655,1712,2048,2055,2216,2300,2699,2768,2170,2500,3352,3486,3418,2235,1595,1622,1705,2058,2420,2498,2798,2076,1649,1980,2070,1943,1767,1935,1771,1959,2026,1700,2310,2008,2033,1907,1898,1891,1531,1529,1473,1700,1462,1462,1541,1815,2223,2026,1945,2028,1888,1578,1566,2105,2244,1809,1890,2457,2859,2515,2514,2688,2194,1736,2290,2469,2156,2262,2096,1680,1911,1815,1836,1456,1450,1987,2345,2104,1707,1765,1544,1696,2013,1465,1953,1897,2017,1730,1806,1617,1640,1554,1487,1497,1342,1768,2075,2072,1968,1854,1907,2068,2225,2230,2305,2313,2249,2371,2508,2195,2023,2094,1883,1886,2403,2544,2552,2544,2476,2371,2249,1969,2056,1976,2165,2235,1581,2492,2776,2993,2611,2553,2842,3040,3177,2756,2249,2295,2316,2327,2164,2314,2619,2977,3220,2890,2557,2678,2873,2706,2509,3441,3903,3680,4123,4295,4195,4420,4300,4284,4753,4968,4871,4799,5001,5089,5049,4620,4095,4125,4464,4707,4931,5384,5399,5167,5148,4640,4255,3895,2960,2850,3046,3638,3778,3999,3990,3750,3909,3626,3707,4021,3908,3876,4027,3740,2455,1470,1083,1909,2474,3182,3354,3065,2512,2091,1780,1508,1465,1510,1504,2501,2307,1643,1631,1438,1475,1444,1613,1769,1767,2182,2610,2422,2329,2331,2152,2105,1869,1512,1591,1666,1448,1406,1360,1219,1233,1542,1507,986,1562,1931,2138,1886,1798,1691,1658,2044,2146,2083,2359,2829,2213,2002,1718,1910,2138,1794,1850,1868,1793,2154,2306,2071,2092,1500,1421,1525,1696,1960,1890,1989,2022,1869,1941,2188,1865,1251,1212,1743,2016,2652,3238,2995,2104,1950,2153,2146,2596,3000,2996,3243,2998,2430,2844,3120,2720,2562,2770,3363,2881,2498,2801,2814,2555,2436,2439,3168,2729,2884,2366,2438,2072,2544,3319,2984,2813,2644,2364,2948,3613,4163,3724,3068,3387,3579,3005,2304,2500,2176,1650,1490,1681,2277,2433,2327,1884,2230,3024,3530,2740,2120,1873,1912,1833,2512,3467,2612,2891,3178,3042,2428,2470,2944,2904,2981,2658,2252,2837,2828,2270,2600,2583,2276,2692,2925,2492,2666,2437,2032,1805,1735,2182,2467,2436,2524,2609,2042,1768,1728,1736,2438,3330,2567,2225,2142,2229,2470,2514,2613,2501,1913,1778,1960,1812,2273,2522,2665,3291,3017,2894,3176,3283,3176,2984,2556,1982,2401,1945,2056,2570,2922,2971,3466,3898,3882,3337,2551,2415,2221,2192,2221,1848,1739,1794,1835,2479,2685,2418,2688,2636,2164,1742,1209,1531,1908,1779,1802,1696,1793,1953,1719,1906,1780,1735,2845,3103,1868,2039,1904,1925,2048,1964,1796,1606,1494,1763,2440,2435,2180,2237,1730,1730,1737,1512,1544,1574,1655,2247,2424,1867,1542,1628,2111,2896,2675,2307,3318,3642,3329,3309,3416,2922,1968,2065,2264,1897,2237,2302,3019,2832,2246,2161,2313,2385,2334,2512,2732,2830,2592,2550,2434,2746,2843,3128,3906,3061,2093,2085,2244,2058,2086,3310,4035,3278,2542,2389,2390,2071,2113,2884,2582,2018,1886,1835,1820,1878,2166,1941,2055,2170,2372,2566,2480,2433,2178,1942,2121,2114,1838,1924,1999,1793,1784,1522,2016,2394,2369,2526,2668,2491,1904,1933,2004,1678,2148,2335,2118,2182,2143,2116,2126,2026,1908,1693,1762,2143,2094,1655,1749,1665,1576,1869,2635,2264,1835,1604,1618,2116,2179,1885,1843,1640,1786,1577,1897,2166,1879,2243,1905,1696,1657,1700,1436,727,735,1447,1397,1692,1898,1718,1708,1704,1700,1743,1648,1859,1859,1947,2278,2524,2275,1947,2172,2265,1812,1666,1748,1791,1837,1934,1763,1855,1866,1553,1912,2532,2665,2421,2042,1791,1711,2390,3056,3307,2753,2314,2272,1780,1883,2192,2145,1744,2230,2331,2034,1826,2076,2037,2358,2729,2337,1901,1885,1748,1559,1268,1304,1765,2329,1885,1613,2035,2278,2521,2742,2373,2621,2481,1967,1948,1692,2138,3292,3319,2774,2203,1910,2131,2019,1828,2254,2148,2330,2195,2574,2566,2308,2272,2522,2608,2627,2481,1980,1635,1583,2187,2632,3123,2941,2201,2223,2316,2199,2236,2610,2691,2032,1835,1924,2251,2218,1938,1703,1847,2098,2575,3143,3736,3959,3694,3156,3149,3027,4072,4240,4155,3397,2695,2466,2942,3022,2336,2143,2684,2344,2003,2512,2955,3607,3868,3616,3493,3195,2633,3010,3965,3996,3286,2388,2369,3673,3266,2525,2536,2537,2589,2507,2105,2014,2111,2633,3458,3354,2950,2903,2425,2166,2725,3120,3320,3307,3083,2959,2706,2734,2884,2879,2595,2764,2854,2938,2655,3199,3549,3474,3139,3063,3274,3265],[2112,1751,1328,1672,1964,1727,1756,2025,2495,2818,2909,2828,2578,2730,2827,2893,3007,2862,2811,2602,2111,2031,2395,2780,2813,2749,2812,2478,2198,2138,2015,2083,2384,2122,1890,2451,3564,3113,2696,2873,2465,3102,3407,2842,2499,2486,2545,2565,3134,2845,2348,2515,2482,2228,2332,2176,2266,2630,2670,2540,2906,3597,3264,3145,3180,2921,2602,3109,3495,3846,3433,2396,2468,3370,3554,2753,2611,2281,2447,2639,2460,2553,2765,2336,2125,2545,2916,2835,2445,1957,1895,2307,2134,2081,2697,2911,3142,3135,2922,2994,3266,3335,3242,3271,3344,3449,3649,3529,3287,3261,2999,2908,3198,2928,2855,3210,3279,3375,4228,4397,3963,3584,3376,3675,3836,3638,3084,3003,2956,3352,3651,3095,2899,3352,2894,2988,2741,2496,2652,2461,2213,1906,1790,1708,2071,2910,3088,2676,2557,2027,2023,1833,1982,2225,1704,2497,3603,2908,1744,1572,1841,1440,1216,1953,2169,2270,2713,2807,2850,2521,2630,2995,2885,2683,2811,2978,2972,2806,2798,3038,3283,2767,2764,3019,3222,3661,4086,3824,3571,3362,2498,2308,2411,2488,2857,3089,3454,3116,2646,2604,3096,3405,2554,1450,1432,2640,2410,2510,2328,2447,2600,2611,2622,2621,2621,2468,2176,2663,2953,3194,3265,2818,3415,3658,3574,3386,3483,3681,3739,3615,3731,3515,3449,3295,3518,3394,3005,2997,3145,3172,3123,3263,3295,3082,2939,2929,2994,3597,3928,3995,3631,3320,2945,3449,3908,3251,2886,2697,2213,2050,2371,3477,3477,3270,2783,2063,1971,2184,2148,1842,1847,1786,1602,1572,1866,2141,2026,1846,1690,1762,2900,3815,3321,2523,2501,2574,2470,2648,2630,2164,2101,2247,2561,2451,2681,2991,3038,2911,2999,3553,4160,3570,2321,2166,2580,2516,2649,2409,2203,2436,2930,3203,3435,3582,2988,2645,2621,2380,2482,2479,2394,2934,2761,1995,1716,2425,3253,3176,2434,2217,2402,2170,1368,1193,1597,1771,1898,1959,1802,2285,2635,2763,3027,2289,1957,2369,3047,2951,1985,1924,2309,2333,2089,1838,1951,1951,1452,1661,1953,1795,1930,1866,1521,2055,2558,2856,3073,2988,2429,2503,3031,2718,2617,3786,3981,3506,2670,2625,3538,3917,3577,3521,3365,3287,3552,3451,2958,2734,2712,2781,2810,2109,2425,2846,2514,2190,2356,2939,3616,3334,2255,2416,2030,2075,2627,2839,2625,2777,3221,3171,2062,1711,2657,3414,3104,3162,3460,3567,3704,3609,2784,2668,2285,1787,1926,2364,3127,3467,3185,3272,3886,3434,3340,3559,3614,2951,2183,1911,1997,2206,2534,2445,2112,2231,2565,2393,2078,2366,2099,1949,1964,2380,2846,2294,1878,1937,2299,2335,1879,1767,1780,1612,1358,1827,2039,2381,2544,2041,2095,2062,2072,1675,2003,2070,2025,1787,1716,2354,2282,1930,2187,2069,2234,2355,1718,1386,1549,1878,1834,2175,1830,1764,1762,1496,1295,1546,1506,1779,2121,2235,2012,1923,2056,2587,3195,3316,2929,2892,3206,2746,1880,2002,1907,2125,2197,2048,2242,2345,1677,1696,2087,2020,1696,1513,1736,2050,2520,2158,2083,1902,1822,1746,2056,2168,1854,1772,1727,1979,2690,2755,2154,1717,2502,2794,2358,2424,2570,2296,2046,1907,2108,2439,2366,2330,1921,1913,2042,1802,2182,2736,2416,1849,2601,2536,1960,2166,2465,2542,2542,2763,2279,1926,2184,2145,1537,2493,2956,2692,2512,2142,2071,2169,2048,1982,2221,2239,1973,1758,1837,1951,1897,1742,1650,1332,1195,1244,1449,1803,1877,2035,2021,2360,2080,1837,2075,2498,2639,2213,1697,1930,1941,1647,1727,1856,1781,1937,1806,1867,1859,1823,2057,1870,1681,1780,1606,1909,2221,1643,1738,1810,1798,1718,1753,1678,1873,2053,2387,2791,2700,2415,2380,1974,1908,2677,2187,1726,1660,1914,2221,2351,2389,2264,1834,2011,2131,2308,1961,1573,1733,2248,2335,2159,1766,1962,2249,2342,2854,2345,2088,1978,1875,1909,1996,1945,1991,1971,2105,2272,2484,2935,2668,2148,1955,2013,2003,3161,3400,3207,2342,2257,2344,2159,2797,3274,2287,1615,2128,2385,1902,1635,2142,1838,1789,2062,1879,1585,1762,2208,2197,2132,1783,1599,2076,2363,2041,1704,1623,1767,1705,1657,1661,1681,1904,2207,2668,3152,2889,2288,2129,2119,2252,2536,2591,2280,1750,1621,2071,2165,2296,2036,2051,2377,2389,2089,2020,2179,2214,1888,1834,1738,1995,2428,2277,2218,2122,2001,2291,2789,3492,3846,3927,3833,3286,2289,1898,1866,1725,1137,1164,1537,1523,1589,2744,3583,3686,3753,3652,3042,2282,1686,2597,3235,2468,2411,2190,1892,1810,1613,1236,1558,3536,3780,1869,1942,1996,2823,2842,2607,2791,3043,3273,2974,2609,2509,2232,1941,1913,1824,2234,2472,2421,2282,2284,2513,2367,2019,1764,1668,1677,1566,1436,1892,1909,2202,3132,3292,3233,3459,3466,3265,3627,3694,2995,3405,4195,4026,2730,1611,1863,2611,2675,2887,2834,3164,3588,3039,2955,2865,2957,2711,2213,2615,3231,3729,4403,4049,2972,2919,2597,2364,3140,2372,2249,1991,2470,3403,2578,2292,2241,2242,1925,2159,2401,2042,1771,1944,2656,2525,2278,1888,2374,2603,2725,2453,2168,2642,3024,2607,2390,2226,2037,2059,2137,1978,1988,2344,2856,2382,2170,2058,1925,2460,2743,2310,1737,2131,2792,3154,3018,2943,3006,2718,2228,1858,1954,1826,1700,1672,1998,2186,1942,1901,1678,1502,1526,1678,2076,2580,2728,2234,2417,3287,3286,3032,1472,1108,1425,1771,1808,1796,1626,1812,1876,1970,2157,2226,2064,1984,2325,2288,2091,2021,1754,1972,1967,2359,2255,2050,2238,2188,1854,1779,1642,1134,1597,1713,2024,2813,2290,1704,1827,1861,1994,2294,2368,2535,2078,1942,2128,2091,2162,2222,2123,1847,1922,2664,2597,1981,2024,2157,1611,1840,2107,2177,1928,1732,2388,2621,2041,2071,2131,1808,2135,2009,2048,2092,2018,2520,2107,2125,2102,2291,2024,1721,2110,2159,2774,2630,2053,1420,1666,1931,2197,2392,2363,2243,2231,1874,1351,1765,1685,1642,1832,1835,1908,1997,2037,2250,2619,2345,1979,1863,1702,1935,2007,2272,2156,1375,1994,1998,2373,2728,3138,3067,2950,2731,2212,2673,2850,1983,1917,1583,1471,1960,2889,3042,2490,2473,2459,2580,2576,2617,3296,4047,3990,4132,4481,4517,4545,4364,4277,4560,4828,4804,4852,4985,5001,4841,4396,4395,4922,5329,5471,5338,5392,5323,5279,5288,4772,4144,3387,3066,3331,3536,3460,3404,3697,3552,3203,2870,2705,3158,3664,3755,3821,4298,4329,3458,2280,1206,1509,2705,3569,3589,3561,3306,2667,2125,1655,1605,1503,1344,1662,1578,1484,1517,1587,1590,1509,1625,1970,2622,2474,2228,2059,2445,2396,2373,2250,1840,1693,1835,1926,1599,1400,1305,1287,1246,1565,1576,1119,1272,1848,1990,1792,1581,1393,1665,1935,1692,1713,2176,2955,2530,2191,1970,2371,2610,1949,1971,2021,1572,2072,2474,1908,1841,1702,1872,1836,2197,2386,2155,2131,1913,2211,2468,1772,1310,1347,1951,2259,2410,2709,3073,3146,2500,2084,2125,2274,2474,2966,3082,3159,2906,2745,2612,2842,2760,2324,2604,3134,2513,2070,2243,2403,2612,2397,2248,3214,2855,2865,2577,2731,2615,2828,2753,2045,2031,2083,2243,3097,3625,4100,3406,2976,3266,3386,2492,1882,2083,2300,1947,2073,2542,2397,2418,2698,2137,2307,3050,3350,2712,1804,1380,1703,1624,1681,2500,2194,2544,2998,2795,2433,2639,2924,2669,2256,1979,1890,2122,2017,1928,2590,2681,2266,2439,2242,1943,2376,2326,2386,2369,2188,2574,2692,2900,2801,2823,2251,1461,1728,1985,2502,2933,2449,2255,2401,2198,2271,2648,2591,2617,2685,2513,2545,2181,1988,2397,3040,3221,2811,3050,3206,3254,3132,2491,2337,2503,3030,2382,2358,3078,3405,3569,3648,3882,3996,3554,2807,2131,1772,1990,2277,1644,1397,1694,1970,2106,2092,2055,2254,2174,1925,1511,1635,2077,2101,1709,1704,1781,1805,1756,1804,1729,2003,2154,2158,1869,1693,1997,1814,2220,2292,2077,2110,2161,1730,1696,1546,1573,2230,2508,1924,2009,1745,1390,1499,1627,1721,2191,2618,1968,1576,1542,2424,2873,2716,2285,3571,3708,3213,3089,3210,3045,2150,2351,2369,2126,2410,2433,2953,2481,2322,2360,2777,2679,2416,2884,3073,2821,3308,3152,2629,3083,2822,3266,3641,2988,2452,2263,2147,2269,2854,3660,3111,2242,2518,2334,1958,1818,1927,2415,2415,2547,2292,1739,1694,1684,1924,1690,1776,2676,3119,3231,2752,2386,2035,1714,1868,2070,2424,2358,1962,1975,2375,2215,1923,2231,2766,2913,2888,2684,2108,2275,1906,1809,2588,1875,1395,1749,2129,2105,2010,2025,2037,1975,2045,1959,2121,1903,1900,1654,1507,1764,2416,2176,1741,1787,1941,2156,2109,2126,2238,1957,2138,2125,2375,2125,2108,2208,1931,1675,1598,1683,1466,630,1023,1551,827,1277,1908,1765,1725,1697,1821,1896,1986,2026,1817,1884,2124,2149,2062,2095,2173,2084,1733,1534,1694,1850,1877,1715,1454,1548,1562,2042,2128,1998,2292,2267,1916,1751,1683,1914,2712,3357,3250,2666,2459,2034,1977,2097,2127,2519,2542,2035,1165,1444,2474,2362,2197,2452,2139,1975,1894,1898,1907,1787,1708,2211,2316,1971,1870,2219,2355,2374,2664,2359,2422,2620,2013,1837,1901,2585,2905,2464,2252,2276,2054,2207,2243,2497,2303,2042,2026,2118,2526,2566,2530,2652,2555,2534,2542,2409,2195,1899,1736,1950,2454,3112,2786,2070,1804,2001,2305,2206,2266,2285,1814,1762,1869,2154,2442,2004,1646,1888,2646,3292,3620,3924,4188,4005,3741,3639,3509,3784,3935,4300,4017,3068,2535,2661,2634,2744,2568,2510,2428,2462,2270,2072,2602,3551,3984,3876,3514,3083,3423,4360,3808,2639,2137,2175,3266,3434,2844,2542,2521,2523,2307,2205,2211,2268,2110,2721,3348,3496,3814,3321,3098,3211,3242,3087,2864,2818,2631,2311,2744,2898,3019,2608,2410,2679,2591,2917,3667,3853,3440,2899,3010,3152,3469],[2225,2017,2024,2640,2890,2018,1706,1684,2115,2525,2536,2613,2918,3045,2856,2749,2850,2636,2814,2553,2298,2155,2431,2614,2600,2822,2766,2359,2192,2275,1951,2216,2358,1942,1792,2595,3348,2862,2522,2931,3144,3375,3284,3206,2709,2252,2522,2866,2564,2924,3284,3038,2542,1978,1479,1461,1746,1831,1947,1826,2230,2800,2480,3152,3506,3334,3177,3394,3620,3751,3074,2473,2522,3117,3768,3487,2974,2673,2806,2561,2479,3286,3360,2663,2375,2965,3618,3206,2640,2215,2010,2357,2286,2148,2592,2844,3044,3097,2972,2930,3211,3480,3231,2955,3164,3664,3836,3355,2797,3312,3482,3351,3292,3123,2685,2502,2580,2912,3908,4217,3892,4096,4132,3994,3650,3268,3497,3343,2574,2800,3062,2821,2912,3374,3057,2479,2305,2120,2049,2064,2014,1810,1856,1852,1908,2741,3352,2952,2680,2188,2364,2332,2332,2055,1556,2111,2887,2503,1860,1403,1481,1533,1540,2014,2299,2467,2614,2593,2700,2805,2996,3319,3013,2829,2984,3004,3163,3028,2966,3072,3165,3019,2724,2669,3460,4131,4089,3590,3256,3286,2137,2502,2376,2546,2945,2767,2730,3046,2931,2509,2018,2207,1300,1430,1170,2050,2864,2481,2364,2497,2484,2641,2805,2842,2797,2507,2530,2994,2934,2834,2602,2739,3588,3897,3714,3625,3527,3825,3891,3683,3904,3663,3127,2876,3574,3000,2612,3089,3342,3362,3266,3350,3496,3317,3212,3282,3760,4432,4355,4114,4039,3682,2814,3234,3978,3691,3549,3254,2540,2125,2780,3762,3848,3602,2962,2210,2128,2317,2142,2105,2280,2097,1985,1902,2267,2456,2178,1781,1820,2298,3029,3228,3145,2882,2640,2961,2806,2342,2126,2069,2415,2967,3194,3151,3209,3165,3172,3183,2945,3153,3231,2996,2186,2126,2342,2768,2836,2494,2343,2435,2830,3042,3286,3349,2514,2374,2634,2400,2316,2276,2559,3352,3085,1736,1439,2624,3579,3351,2610,2092,2116,2273,1970,1837,1835,1932,1951,1845,1872,2484,2950,2983,3440,3121,2407,1988,1918,1791,2007,2435,2994,2559,1620,1887,2172,2082,1720,1936,2205,2517,2238,1993,1829,2407,2856,2895,3166,3156,2676,3024,3112,2626,3166,3648,3430,2957,2531,2601,3288,3155,2768,3531,3780,3584,3384,3041,2702,2586,2781,2335,1841,1860,2847,3116,2728,2586,2546,2841,2955,2698,2297,2182,2029,2075,2269,2221,2418,3159,3579,3259,2240,2441,2655,3344,3308,3204,3349,3566,3761,3620,2786,2177,2101,1771,2061,2687,3376,3714,3805,3957,3596,3669,3898,3725,3426,3005,2658,2385,2218,2047,2341,1850,1578,1915,2125,2172,1963,1963,2019,2138,2314,2791,3052,2325,2237,2091,2186,2277,2000,1576,1676,1622,1453,1979,2026,1996,2037,2222,2580,2364,2049,1818,2137,1986,1804,1931,2188,2403,2112,2100,2073,2052,2774,2855,1614,1209,1234,1306,1918,2292,1998,1824,1938,1948,1645,1654,1719,1819,2155,2245,2554,2348,2061,2745,3474,3672,3604,3457,3573,2874,2135,2120,1878,1703,2158,2103,1745,1493,1771,2314,2403,2464,2152,1750,2170,2061,1963,2159,2444,2210,1980,2304,2692,2632,2146,1874,1566,1952,2462,2612,2706,2611,2298,1931,1914,2157,2298,2143,2235,2040,1882,2284,2149,1993,1869,1969,2136,2031,2497,2815,2323,1880,2049,1854,1872,2151,2401,2315,2194,3038,2473,1514,2100,2354,2220,2862,2778,2447,2348,1831,1847,1996,1986,2165,2568,2366,2023,2060,1836,1603,1789,1870,2109,2324,2020,1490,1888,2263,1932,2002,2258,2462,2164,1944,2039,2056,2276,2168,1983,2435,1960,1593,1705,1948,2259,1915,1622,1832,1960,1873,1957,1733,1770,2207,1900,2164,2452,1794,1708,2032,1919,1982,1912,1526,1634,2091,2220,2688,2598,2358,1911,1652,1763,2604,2419,1797,1726,1834,2017,2519,2552,2486,2398,2488,2778,2943,2316,1587,1652,2257,2832,2451,1718,1804,1924,1958,2136,1953,2050,2410,2197,1805,1915,1897,1853,2092,2284,2139,2163,2226,2058,2009,2522,2214,2230,2873,2835,3183,2866,2131,2055,2277,1797,2161,2264,2174,2125,1936,1836,1994,1826,1489,1786,2169,2121,1980,1788,2216,2098,1838,1607,1359,1793,2133,2186,1941,1715,1729,1824,1861,1738,1963,2802,3090,2927,2843,3100,2800,2128,1962,2260,2173,2253,2143,2133,2158,2191,2204,2284,1977,1815,2084,2159,2269,2380,2172,1910,1876,1876,1940,2407,2278,2092,1897,1771,2209,2620,3133,3874,3934,3894,3745,3140,2192,1807,1654,1356,1345,1881,1814,1470,2291,3378,3649,3665,3709,3590,2619,1937,1780,2790,3141,2600,2732,2812,2235,1878,1926,1678,1903,3816,3441,1911,1837,1953,2708,2893,2731,3075,3234,2969,2740,2610,2351,2159,2177,2041,1862,1721,2002,2390,2493,2330,2115,1914,1713,1716,1815,1738,1600,1848,1964,2192,2967,3483,3551,3385,3327,3482,3386,3172,3366,3272,2701,3022,3023,1969,1689,2170,2075,2782,3855,3840,3823,3693,2965,3286,3209,2728,2617,2351,2126,2698,3451,4080,3813,2950,2677,2648,2121,2641,2053,2231,2130,2518,3131,2490,2070,2535,2536,2279,2591,2505,1926,1486,1880,2238,2522,2211,1847,2180,2338,2266,2503,2951,3084,3000,2278,2104,2076,2019,1902,1901,1891,2018,2490,2658,2362,2238,2081,2004,1991,2116,2364,2268,2357,3043,3219,2652,2980,3064,3131,2930,2216,1872,1701,1954,1731,1689,1820,1678,1444,1108,897,1237,1832,2112,2245,2382,1869,1551,2426,2783,2489,1310,1306,1726,1843,2002,1920,1490,1705,1900,2166,2119,2345,2858,2820,2722,2320,2218,2027,1790,1649,1871,2519,2131,2050,2233,1897,1671,1978,1210,1504,1953,1755,1964,2731,2746,2492,2734,2791,2906,3016,2576,2408,1714,1616,1687,1762,2210,1848,1756,2230,1906,2226,1760,1770,1906,2066,1519,2207,2888,2475,2226,1982,2078,2449,2482,2486,2114,2250,2453,1763,2054,1932,1954,2288,2106,1825,1648,2013,2125,1950,2406,2378,2648,2750,2066,1506,2138,2390,2491,2680,2330,2154,2249,1754,1793,2382,1758,1908,2379,2174,2081,1782,1851,1930,1822,1900,1908,1863,1871,2317,2387,1869,1646,1588,1824,1989,2116,2481,2618,2565,2597,2487,3012,4087,3996,2483,2231,1836,1393,1840,2431,2057,1592,1730,2142,2866,2752,2878,2906,3581,4024,4296,4544,4471,4415,4616,4472,4255,4375,4576,4659,4488,4709,4445,4284,4744,5269,5360,5428,5411,5437,5441,5327,5135,4616,4112,3543,3393,3507,3892,3727,3698,3575,3172,3196,2967,2784,3045,3342,3598,3748,3815,3950,3927,2986,1714,1257,2040,3204,3545,3320,3001,3064,2414,1856,1598,1622,1640,1427,1262,1383,1586,1663,1635,1544,1665,1866,2779,1968,1959,1992,2211,1916,1613,1525,1591,1977,1836,1957,1842,1826,1360,1642,1914,1664,1612,1448,1520,1673,1646,1675,1439,1454,2070,2067,1717,1874,2859,3414,2604,2222,2244,2526,2642,2316,2171,2173,1715,1776,1952,1864,1979,1704,1715,1742,2174,2780,3055,2850,1930,2199,2196,1714,1647,1943,2119,2098,2579,3063,3463,3328,2794,2581,2151,1967,2420,2618,2827,3333,3116,2698,2662,2636,2404,2314,2724,2788,2153,1827,1857,2170,2674,2394,2499,2950,3342,2889,2297,2665,2619,2522,2895,2752,2249,2336,2382,2612,3232,3494,3161,3163,3252,2622,1706,1560,1809,2132,1967,2189,2912,2718,2228,2286,2292,1959,1903,2105,2136,2054,1708,2220,2212,2216,2237,2634,2746,2679,2656,2426,2510,2584,2257,1733,1683,1696,1368,1426,1502,2329,2326,1852,1860,1965,2044,2104,2148,2014,1857,2141,3144,3096,3077,2566,2382,1848,1859,2040,1884,2303,2480,2364,2177,2241,2315,2287,2566,2710,2533,2865,3320,3360,2610,2106,2287,2644,3064,2619,2828,3012,3112,2832,2541,3199,3197,2951,2610,2579,2569,3055,4092,4132,3869,3969,3362,2757,1969,1747,2692,2670,2135,2120,2087,1874,1499,1488,2026,2040,2120,1986,2037,2056,2510,2591,2019,1672,1730,1992,2130,2187,2228,2474,1902,2019,1883,1694,1805,1752,1932,2194,2204,2326,2219,1545,1517,1531,2084,2343,1836,1781,1898,1559,1237,1328,1838,2553,2563,2705,2237,2463,2192,2751,2521,2250,2353,3066,3275,2735,2597,2743,2579,1810,2532,2522,2731,2858,2700,2607,1904,1660,2387,3404,3046,2419,2521,2898,2822,3408,3826,3582,2863,2362,2480,2585,2610,2561,2375,2297,2701,3308,3387,2337,1967,2645,2287,1778,1659,1886,2201,2392,2566,2358,2625,2746,1819,1556,1810,1992,2403,2574,2807,2643,2276,2294,1733,1494,1593,2388,2333,2122,1966,2078,1918,1990,2389,3144,3470,3488,2966,2041,2082,1740,1903,2203,1501,1456,2105,1914,1726,2136,2209,1982,2074,2245,2344,2188,1948,1744,1609,1614,1968,2546,2222,1641,1752,1560,2157,2327,2040,1780,2338,2522,2800,2911,2375,2165,2064,1953,1665,1638,1780,1711,1079,1672,1544,982,1621,2203,2155,1992,1688,1708,1980,2135,1954,1575,1773,2285,2120,1854,1814,2024,1925,1717,1672,1774,1820,1808,1651,1422,1379,1438,1987,1896,1746,2071,2244,2096,1709,1786,2211,2688,2750,2724,2893,2501,2226,2218,2415,2806,2950,3008,2519,1310,1245,2195,2536,2829,2233,2310,2354,1920,1781,2275,2588,2596,2657,2248,2020,1614,2202,2240,2044,2140,2322,2514,2222,1798,1730,1848,2067,2078,2018,1670,1685,1654,1932,2264,2518,2406,1923,1762,2300,2630,2339,2580,2630,2630,2592,2336,2292,2396,2170,1695,1779,2696,3178,2897,2380,2067,2013,2114,2077,2160,2077,1806,1847,1882,1909,2120,2035,1694,1738,2288,3237,3153,3419,3907,3823,3949,4164,4377,4196,4152,4220,3894,3219,2701,2710,2596,3108,2822,2471,2573,2233,1986,2171,2304,2664,3508,3943,3632,3311,3825,4227,3096,2182,2598,2910,3470,3505,2811,2414,2533,2402,2099,2160,2128,2453,2317,2032,2976,3520,3292,3609,3820,3361,3098,2796,2912,2472,2084,2248,2233,2437,2708,2558,2416,2503,2722,2975,3116,3385,3284,3148,3199,3251,3284],[2586,2611,3074,3450,3566,2576,1702,1948,2545,2608,2813,3183,3174,3197,2989,2482,2315,2197,2679,2280,2215,2063,2305,2557,2486,2712,2837,2486,2459,2633,2161,2515,2302,1860,1863,2483,2557,1957,2575,3300,3008,2828,2953,3238,2955,2876,3228,3508,2942,3629,4074,3507,2951,2449,2048,2153,2137,2027,2008,1511,1672,1780,2375,3250,3273,3167,2868,2805,3438,3226,2952,2840,2530,2957,3557,3756,3603,3826,3242,2279,2548,3344,3101,2631,2802,3144,3034,2619,2447,2352,2604,2973,2800,2700,2844,2960,2989,2807,2661,2718,3068,3370,3396,2879,2612,2843,2733,2273,2870,3840,3911,3605,2812,1990,1583,1643,1717,1989,3429,3884,3884,4034,3991,3774,3429,3155,3576,3174,2365,3034,3719,3378,3120,2763,2662,2282,1976,2004,1996,2176,2198,1923,2027,2316,2322,2653,2959,2661,2513,2425,2565,2607,2312,1903,2020,2586,2684,2254,2039,1670,1549,1854,1717,1691,2026,2418,2686,2748,3005,3095,3218,3110,2666,2938,3016,3005,2970,2922,2908,2944,2966,2933,2390,2096,2898,3814,3635,3413,3342,3187,2908,3032,2923,2853,2714,2517,2835,3552,3366,2786,1542,1355,1741,1994,1278,2002,3150,2976,2685,2723,2687,2724,2924,2543,2339,2576,2934,2964,2941,2772,2666,3262,3851,3557,3226,3195,3130,3174,3209,3396,3638,3428,3589,3929,4260,3531,3096,3558,3637,3506,3420,3407,3567,3531,3812,4026,4388,4582,4348,4163,4372,4272,3727,3742,4142,3969,3658,3514,3140,3112,3378,3662,3651,3476,3039,2497,2446,2676,2715,3340,3208,2303,2205,2427,2819,3209,2468,2147,2906,3261,3182,3204,3068,2883,3256,3532,3440,2989,2402,2621,2894,3379,3770,3687,3768,3697,3655,3498,3432,3567,3213,2447,1676,1808,2219,2719,2786,2685,2246,2162,2541,2665,2962,2636,2071,2107,2407,2360,2285,2333,2623,2709,2252,1257,1675,2797,3658,3649,3213,2372,2193,2234,2382,2375,2353,2349,2210,2093,2009,2431,2677,2731,3313,3184,2492,2195,2294,2674,3021,3167,3428,2933,1678,2038,2190,2137,2214,2545,2770,3041,2664,2208,2066,2452,3087,3144,3213,3543,2646,2453,2711,3241,3495,2900,2581,2555,2542,2554,2742,2727,2665,3225,3862,3537,2918,2818,2819,2597,2114,1524,1773,2624,2879,2504,2668,2546,2617,2685,2580,2164,1887,1782,2002,1927,2109,2251,2615,3263,3318,3361,2973,2568,2916,3507,3629,3415,3451,3726,3506,3318,2953,2159,1950,1722,1958,2657,3439,3626,3656,3504,3016,3340,3598,3361,3138,3021,2905,2984,2345,2142,2398,1819,1311,1395,1753,2098,2106,2118,2220,2031,2371,2544,2645,2354,2381,2196,2104,1973,1829,1729,1930,1671,1481,1574,1632,1925,2061,2344,2344,2260,1999,1954,2007,1955,1920,2050,2206,2206,2173,2391,2396,2218,2491,2562,1942,1615,1628,1628,1766,1763,1898,2047,2319,2076,2178,2017,2113,2164,2272,2067,2138,2008,1836,2301,2877,3273,3771,3706,3450,2629,2136,1947,1863,1808,2025,2005,1880,1963,2398,2558,3043,3540,2907,2018,2034,1962,2062,2328,2160,1816,2362,2928,3210,3126,2436,2367,2073,1852,2350,2798,2671,2351,1829,1696,1963,2290,2444,2605,2644,2117,1964,2130,2066,1751,1781,1886,2144,2193,1973,2049,2178,2265,2316,1885,1887,2116,1966,1721,1938,2470,2273,1725,1872,1934,2371,2995,2514,2445,2422,1872,2013,1765,1624,1806,2351,2337,2123,2208,2029,1714,1727,1764,2254,2587,2211,1908,1884,2019,2085,2163,2205,2031,2040,2121,2041,1848,1715,2087,2256,2286,1953,2645,2504,2171,2179,1668,1566,1783,1896,1721,1610,1390,1566,2160,1925,2307,2201,1872,1801,1838,2285,2500,2189,1745,1820,2283,2350,2752,2495,1997,1779,1599,2002,2565,2010,1755,1786,1887,2177,2261,2131,2134,2406,2392,2498,2507,2066,1500,1489,1925,2626,2503,1701,1794,1841,1741,1691,1780,1765,1907,1797,1930,2352,1919,2059,2155,2272,2376,2570,2375,2357,2515,2635,2309,2559,2531,2601,3059,2867,2054,1880,2195,1647,1774,2256,2425,2107,1775,1560,1437,1676,1989,2263,2424,2465,2421,1987,1453,1784,2383,2184,1778,1898,2297,2254,2020,1733,1468,1442,1791,2623,3238,3934,3793,2611,2502,3156,3089,2745,1970,2104,2420,2966,2739,2444,2051,1962,2110,2234,2078,1714,1667,2026,2200,2158,2265,1909,1604,1795,2356,2293,2110,1987,1670,1985,2356,2235,2677,3332,3848,3889,3333,2357,1907,1694,1397,1384,1817,1914,1532,1917,3322,3683,3667,3640,3750,3307,2532,1694,1808,2940,3139,2656,3094,3178,2256,1898,2015,2065,2136,4018,3310,1762,2037,2105,2354,2686,2470,2986,3105,2499,2286,2460,2313,2422,2427,1986,1719,1582,1645,2121,2657,2639,2050,1803,1664,1802,1967,1859,1554,1586,1542,2188,3022,3247,3322,3401,3538,3183,3104,3015,3156,3142,2797,2552,2618,2172,1898,2167,2575,3531,4240,4124,4134,3628,2880,3116,2763,2438,2812,2747,2155,2309,3185,3676,3417,3185,2802,2381,1989,1829,1946,2218,2666,3305,3085,2316,2320,2669,2452,2293,2521,2474,2099,1747,2215,2459,2526,2282,2023,2132,2455,2415,2513,2844,2765,2463,1961,1971,2050,1954,1933,2030,2056,2017,2013,2222,2323,2239,2132,2053,1675,2156,2979,3460,2861,2697,2569,2489,2575,2741,3107,3237,2989,2243,1796,1883,1775,1679,1744,1542,1394,1417,1272,1428,2267,2867,2329,1967,1699,1001,1262,1693,1714,1227,1422,1973,1955,2218,2085,1281,1517,1798,2169,1835,2066,2700,3146,2948,2641,2492,2436,2615,2387,2375,2645,2091,2050,1731,1683,1919,1246,1437,2185,2200,1880,2083,2906,3099,3068,3208,3106,2847,2479,2127,2124,1797,1844,1929,1977,2316,2077,2086,2243,2013,1967,1881,2402,2237,1801,1248,1929,2513,2058,1987,2144,2257,2681,2774,2269,2186,2614,2742,2008,1749,2076,2518,2556,2177,1966,1684,1806,2137,2162,2004,1802,2158,2693,2389,1929,1949,1953,2150,2128,1772,2029,1768,1375,2118,2244,1923,2724,2820,2445,2172,1812,2374,2185,1943,1812,1837,2047,2090,2163,2236,1730,1932,2206,2168,2017,1728,2069,2148,1962,2244,2464,2667,3755,4045,2920,2442,1994,1715,1735,1946,1954,2338,2675,2981,3397,3047,2799,2886,3083,3463,3969,4384,4504,4520,4696,4519,4208,4143,4372,4292,4015,4192,4465,4464,4587,4817,4889,5261,5307,5356,5449,5361,5171,4514,4304,3870,3564,3628,3863,3854,3886,3737,3494,3531,3464,3309,3420,3692,3760,3797,3696,3984,4385,3639,2473,1443,1224,2048,3183,3057,2589,3047,2926,2223,1627,1636,1703,1443,1251,1312,1429,1605,1741,1556,1669,1608,2145,1829,1950,1998,1749,1419,1301,1344,1455,1886,1885,2021,1917,1597,1060,1538,1760,1663,1772,1677,1645,1544,1786,1695,1508,1773,2119,1899,1803,2400,3042,2402,2027,2287,2008,2089,2271,2307,2026,2371,1878,1875,1878,1865,2084,2158,2019,1895,1997,2641,2895,2770,2351,2042,1932,1949,1958,2193,2455,3090,3609,3316,3182,2920,2683,2231,2496,2575,3013,2676,2319,3025,2986,2604,2709,2379,2547,2451,2302,2277,2555,2164,1786,1570,2084,2246,2310,2812,3465,3146,2762,3008,2391,2298,2803,3246,2810,2747,2668,2680,3175,3491,3399,2911,2362,2029,1719,2293,2548,2393,1949,1919,2148,2054,2104,2474,2557,2137,1586,1825,2248,2489,2376,2448,2797,2676,2649,2909,2126,2091,2569,2777,3010,2396,1815,1787,1956,1322,1599,1782,1916,2767,2571,1981,1950,2127,1901,1940,1931,1697,1551,1956,2936,2584,2711,2565,1898,1930,2757,2430,2106,2650,2807,2876,2438,2195,2254,1919,2205,2617,2326,2383,2502,2491,2357,2490,3148,2745,2723,2573,2619,2930,3186,2909,3325,3860,3010,2431,3144,3486,2985,3262,4080,3963,3203,3112,2675,2428,2109,2239,2991,3023,2633,2297,1938,1780,1511,1783,2207,2193,2015,1822,1862,2071,2637,2496,1859,1786,2049,2071,2223,2478,2846,2059,1384,2078,1911,1891,2128,1948,1912,1846,1822,2089,1838,1537,1582,1760,2216,2292,1741,1327,1425,1352,1395,1527,1686,2135,2490,2569,2735,2499,1830,2066,2091,2216,2522,2819,2577,1871,2298,2680,2231,1912,2611,2775,3607,3743,3400,3012,2292,1934,2809,3978,3687,2293,1846,2325,2945,3306,3864,3584,2590,2380,2405,2620,2632,2584,2371,2223,2430,2502,2509,2134,2315,2736,2540,2337,2143,2007,2327,2430,2481,2996,3752,3528,2171,1652,2148,2567,2512,2939,3552,3407,2552,2158,1481,1547,2116,2513,2220,1895,1685,1936,2250,1945,1942,3179,3454,3386,2710,1876,1838,1599,1157,1520,2080,2026,1824,1628,1797,2288,2237,2005,2013,1976,2164,2050,2048,1847,1578,1746,1860,1785,1490,1236,1621,1771,2341,2149,2161,1882,2150,2186,2076,2031,2266,2245,1972,1822,1804,1619,1696,1528,1453,1770,1312,1305,1931,2241,2370,2251,1901,1798,2300,2888,2414,1195,1300,1605,1738,1709,1793,2073,2207,1991,1801,1575,1663,1542,1521,1688,1558,1592,1666,1497,1421,1480,1820,2213,1986,2779,2481,2479,2379,2780,2734,2376,2633,2998,3050,3025,2743,2784,2286,1988,1512,1818,2446,2711,2354,2544,2344,2194,1930,1959,2158,2345,2452,2164,1923,1738,2195,1812,1830,1471,1416,2247,2352,1811,1619,1806,1923,2361,1744,1544,1593,1587,1811,2386,2643,2236,1776,1711,1928,1988,2203,2548,2521,2260,2239,2058,1885,2013,2233,2057,2127,2395,2363,2609,2386,2328,1937,2071,2292,2244,2367,2166,1861,1799,1731,1856,1909,1886,1865,2064,2732,2824,3436,3642,3558,3762,3830,3906,4124,4297,3952,3481,3240,2701,2413,2501,2790,2410,2600,2447,2137,2461,2550,2151,1899,2453,3261,3762,3495,4041,4227,3033,2836,2648,2794,3511,3206,3066,3084,2786,2364,2271,2172,2111,2521,2177,1913,2513,2757,3138,3720,3663,3529,3564,3226,2926,2344,2193,2707,2926,2607,2369,2740,3043,3248,3304,2879,2685,3168,3133,2750,2428,2688,2652],[3108,3377,3542,3328,3331,2716,2648,3456,3227,2432,2565,2736,3313,3280,2847,2222,2025,2049,2612,2742,2323,2060,2460,2466,2395,2642,2600,2254,2374,2328,2000,2319,2108,1643,1653,2293,2104,1546,2227,2796,2842,2497,3023,3386,3187,3200,3541,3508,3353,3686,3914,3206,2324,2185,2962,2499,2228,2277,1918,1863,2084,1997,2758,3121,2799,2942,2944,3471,3898,3554,3938,3178,2488,2878,3248,3483,3448,3447,2840,2129,2348,2721,2454,2149,2375,2090,2132,2263,2260,2443,2900,3043,2843,2921,3068,3129,3204,2866,1806,1875,2872,3074,3413,2807,2163,2264,2196,2208,3285,3761,3443,3337,2700,2252,1898,1705,1748,2291,3462,3827,3535,3664,3896,3629,3507,2897,3596,3316,2273,2797,3168,3156,2596,2249,2790,2503,2213,2634,2400,2146,2303,2103,2116,2675,2744,2316,1958,2087,2303,2397,2611,2756,2397,2436,2409,2343,2220,2001,2051,1832,1353,1384,1421,1413,1670,2714,3430,2932,2552,2878,3217,3098,3110,2871,2989,3061,2880,2769,2786,2836,2717,2535,2373,2190,2507,3166,3272,3459,3450,2942,2800,2742,2585,2532,2722,3315,3575,3746,3520,2583,1815,2012,2846,2339,2150,3276,3792,3241,2609,2829,2732,2562,2834,2495,2889,3133,3083,3007,2917,2448,2519,3482,3687,3261,2950,2887,2954,2856,3015,3051,3218,3328,3285,3127,3286,3056,2999,3438,3768,3355,3423,3168,3319,3439,3914,4283,4359,4215,4154,4294,4644,4639,4432,4067,3918,3710,3710,3331,3154,3469,3960,3896,3245,3226,3105,2814,2468,2916,3299,3283,3317,2539,2226,2320,2447,2574,2188,2330,3505,3833,3501,3278,3200,3011,3226,2761,2888,2800,2404,2617,2813,3399,3703,3475,3318,3161,3044,2889,3105,3273,2907,2076,1892,2105,2259,2249,2380,2374,1501,1886,2360,2258,2241,2108,1878,2187,2500,2383,2126,2296,2902,2923,2712,2040,2743,3096,3224,3528,3407,2673,2230,2407,2746,2701,2691,2831,2723,2298,2105,1880,1566,1714,1954,1713,1905,2207,2179,2464,2976,3353,3472,3117,1746,1908,1711,1817,2060,2589,2978,2939,2624,2163,1911,2073,2665,2757,2612,2880,2292,2489,3312,3333,2564,2140,2196,2196,2227,2319,2493,2488,2742,2441,3217,3395,3121,3122,2706,1920,1718,2142,2709,2972,2797,2290,2175,2280,2573,2609,2371,2047,1852,1937,1862,1606,1918,2002,2048,2557,3211,3594,3666,3061,3110,3516,3830,3979,4046,4095,3649,3427,3042,2786,2009,1753,1929,2430,3262,3573,3268,3198,3238,3294,3306,3377,3406,3192,3243,3153,2564,2574,2225,1940,1748,1307,1291,1887,2244,2474,2777,2309,2004,2008,2270,2382,2255,2083,2051,2132,2196,2125,2175,1865,1692,1415,1700,2402,2442,2130,1995,2057,2588,3038,2712,2350,2119,2047,2212,2328,2327,2210,2060,2132,2276,2274,1990,2031,2302,2332,2293,1891,2134,2546,2590,2606,2876,2849,2384,2092,2302,2670,2601,2285,2068,2007,2229,2911,3361,3570,3183,2412,1908,1794,1758,1924,1910,1781,1991,2104,2829,3271,3111,3061,2556,1982,1858,1765,1805,2106,2020,2019,2602,3067,3738,3472,2570,2418,2193,1773,2562,2896,2223,1915,2134,2346,2456,2150,2166,2436,2366,2199,2480,2627,2346,1832,1678,1947,1934,1636,1771,2030,1980,2325,2425,2413,1908,1914,2254,2010,1918,2245,1744,1422,2008,2135,2286,2361,2380,2614,2298,2098,2064,1813,1893,2024,1798,2024,2446,2544,2640,2414,2128,1733,2250,2774,2342,1854,1322,1726,2368,2430,2498,1968,1945,1746,1700,1509,1754,1677,1853,1964,1771,2308,2370,1988,1666,1479,1584,1939,2030,1839,1486,1518,1977,1953,1964,2120,1763,1854,2122,2243,2718,2508,2090,2069,1990,2399,2913,2766,2106,1807,2058,2121,2522,2832,1782,1635,1723,2054,2082,2149,1998,1907,2040,2205,2286,2397,2004,1647,2104,2366,3135,3075,2138,2342,2249,2072,1957,2011,2276,2340,2196,2195,2039,2013,2456,2427,2266,2389,2360,2130,2263,2611,2319,1949,2540,2975,3082,2952,2439,1801,1882,2076,1841,2003,2228,2408,2048,1480,1412,1533,1986,2163,2453,2517,2681,2899,2360,1379,1930,2637,2282,2132,2259,2307,2249,1744,1267,1126,1367,1964,3154,3692,3884,3875,2797,1981,2624,3169,2916,2600,2751,3079,3248,3451,2892,1937,1704,2024,2113,1910,1671,1524,1793,2026,1992,2243,2279,1947,2152,2287,1992,1745,1494,1942,2311,2146,2276,2384,2492,3142,3222,2325,1814,1671,1522,1525,1734,1620,1333,1627,2949,3743,3728,3742,3677,3433,2589,2043,1631,1764,2742,3182,2677,3207,3122,2156,1738,1744,1772,2319,3829,3152,1893,2176,2244,2068,2394,2286,2168,2358,2217,2093,2314,2382,2633,2593,1903,1551,1766,1880,1998,2305,2387,1959,1808,1703,1779,2192,1856,2007,2356,2031,2341,2820,3161,3548,3386,3804,3880,3495,3194,2699,2428,2551,2420,2450,2744,2069,2414,3001,3892,4240,4064,4209,3396,2361,1852,1705,2442,3105,2893,2542,2239,2626,3588,3505,2991,2963,2797,2462,2610,3063,3096,3252,3450,2698,2013,2020,2014,2000,1982,2031,2095,1954,1950,2044,1942,1978,2056,2031,2023,2057,2001,2012,2046,1960,1924,1959,2029,2002,1995,1996,2030,2063,2076,2078,2159,2136,2024,2295,2011,2234,2840,2988,3079,2922,2279,2330,2807,2662,2524,2500,2436,3197,3306,2466,1785,1793,2088,1985,1760,2244,2237,2205,1860,1732,1794,1785,1616,1461,985,779,1148,1717,1758,1697,2040,1977,2234,2160,1711,1663,1958,2105,1684,1912,2630,2916,2763,2617,2651,2724,2652,2719,2699,2224,1918,1731,1865,2154,1385,1342,2316,2250,1692,1787,2242,2728,2704,2696,2825,2581,2047,1700,1889,2558,2476,2029,2063,1656,1926,2426,2251,2106,1993,1995,2137,2200,1594,1200,1371,2176,2549,1748,1995,2426,2010,2720,2245,1892,2212,2294,2249,1902,2072,2621,2721,2614,2472,2280,2211,2059,1862,1887,1838,1831,2189,2509,2289,1842,1525,1296,1782,1769,1408,1833,2116,2053,2005,1636,1997,2664,2178,2272,2245,1788,2244,2096,2046,1895,2275,2415,2155,1814,1731,1847,2135,2159,2620,2834,2079,1843,1978,2339,2099,2124,2403,2953,2693,2672,2527,2209,2461,2329,2453,2706,3032,2764,3066,3198,3199,2780,2433,2543,2846,3008,3516,4528,4848,4636,4384,4192,3984,4100,4132,4096,4101,4192,4165,4252,4417,4260,4777,4952,5340,5429,5396,5241,4960,4663,4077,3592,3523,4021,3816,3518,3370,3404,3385,3403,3609,3707,3814,3879,3925,3518,3469,4308,4308,3274,1839,1084,1502,2332,2809,2780,2938,2754,2230,1699,1512,1776,1642,1451,1642,2282,1656,1314,1386,1569,1505,1771,1841,1643,1625,1651,1671,1620,1639,1715,1875,1887,1960,1947,1704,1318,1248,1316,1438,1534,1490,1317,1263,1400,1344,1457,1812,1743,1367,1572,2267,2097,1868,2379,2222,2052,1931,2306,2426,2114,2022,2096,2026,1796,1680,2024,2430,1940,2232,2288,2128,2442,2641,2983,2264,1922,2221,2470,2766,2922,3086,2839,2361,2512,2364,2449,1995,2548,2662,2708,2222,1897,2629,2736,2223,2235,1826,1923,1891,2670,2414,2447,2164,1450,1101,1531,2108,2470,2654,3146,3518,3432,3472,2706,2403,2255,2581,2799,3053,3206,3061,3486,3818,3373,2599,2339,2081,1937,3025,3230,2218,1825,2109,2112,2364,3183,3370,2884,2492,1766,1908,2319,2619,2605,2409,2669,2932,3119,2530,1783,1989,2433,3084,3107,2990,2408,2476,2264,1576,2182,2155,1847,2049,2245,2431,2112,1859,2001,1983,1634,1672,1866,2546,2675,2204,2169,2001,1875,2474,2990,2441,2403,2713,2828,3273,2787,2505,2490,2535,2773,2753,2586,2313,2163,2341,2298,2376,2569,2600,2469,2536,2555,2733,3178,3515,4063,4488,3729,3252,3802,4300,3697,2911,3007,2832,2520,2154,2154,2224,1877,2200,2875,2688,2316,2072,1854,1579,1542,2039,2282,2193,1856,1834,1894,2053,1975,1707,1573,1817,1993,1997,2119,2259,2243,1547,1754,2206,1780,1833,2053,1774,1635,1717,1760,1593,1509,1786,1907,1892,1862,2209,2308,1902,1689,1384,1622,1675,1517,1769,2612,2272,2198,2319,2178,2019,2426,2464,2466,2770,2159,1812,2442,2812,1951,2224,2795,3108,3753,3604,3404,3340,2967,2432,3001,3288,3436,2123,2012,1996,2077,2413,2984,2930,2410,2346,2156,2532,2439,2271,2175,2048,2066,1925,2035,2314,2812,3040,3074,2937,2193,2093,2286,2234,2229,2696,3256,2764,2310,2326,2431,2678,2893,3491,3782,3559,2630,1530,1348,1836,3229,3344,2476,2248,2178,2436,2360,1678,1577,2250,2912,3598,2662,2112,2155,1460,1265,2322,2552,1820,1694,1728,1962,2517,2465,1874,1729,1722,1824,1932,2071,2099,1929,1798,1482,1534,1361,1504,1928,2244,2159,2380,2303,1677,1801,1920,1528,1700,1946,1815,1833,1700,1840,1706,1677,1685,1835,1715,1463,1643,2043,2272,2231,2068,2142,2317,2520,3255,2842,1779,1481,1568,1696,1548,1576,2076,2058,1735,1866,2047,1930,1663,1520,1588,1755,1905,1743,1431,1436,1295,1218,1565,2041,2666,2126,2435,2282,2035,2137,2486,2960,3132,2830,2661,2430,2310,1933,2143,1721,1614,1709,1862,2608,2770,2455,2514,2035,1752,1813,2246,2093,1863,2209,2082,2329,2409,2071,1674,1731,2472,2588,2309,1795,2024,2287,2568,2176,1931,1652,2181,2653,2695,2390,1984,1719,1573,1867,2354,3176,3146,2725,1786,1684,1883,1715,1633,2044,2254,2175,2150,2279,2285,2009,1902,2259,3002,3034,2464,2479,2476,1808,1730,1523,1863,2522,2265,2065,2507,2394,2215,2731,3138,3340,2934,2628,2935,3365,3747,3320,3701,3565,3025,2874,2889,2438,2257,2790,2995,3005,2577,2239,1934,1923,2171,2978,2975,2865,3560,3842,3398,2944,2572,2858,3238,2888,3527,3464,2577,2291,1979,1838,2094,2358,1973,2008,2161,2456,3064,3608,3375,3714,3915,3493,3029,2450,2452,3317,3455,2884,2770,3281,3715,3935,3661,2900,2979,3334,3228,2503,2466,2494,2201],[3497,3432,3088,3680,3975,3405,3524,3624,2595,2224,2413,2456,2877,2966,2750,2758,2483,2046,2451,3206,3150,2932,2558,2459,2351,2320,2358,2458,2522,2344,2264,2413,2341,2094,2374,2670,2283,1970,2110,2934,2885,2087,2533,3206,3005,3049,3084,2910,3083,2962,3329,3010,1961,2265,2741,2038,2054,2142,2027,2382,2244,1993,2529,2790,3077,3118,2889,3362,3359,3480,3527,2512,2420,3107,2806,2585,3172,3276,2540,2477,2133,2044,2084,2176,2354,1902,1770,1930,1729,1605,1885,2263,2520,2588,2669,2839,3101,2793,1794,1875,2736,3140,3391,2999,2547,2792,2662,2551,3167,3655,3438,3232,2903,2868,2522,2442,2984,3630,3992,3927,3477,3450,3584,3613,3197,2621,2863,2111,2251,2734,2829,3066,2706,2811,2897,1621,1616,2779,2487,1943,2197,2148,1919,2294,2317,1875,1842,2497,2744,2683,2597,2545,2178,2084,1887,1796,1832,2056,2367,2184,1528,1143,1225,1476,1743,2300,2587,2079,2271,2814,3029,2997,2864,2852,2997,2827,2358,2112,2275,2790,2744,2179,2469,2833,3041,3294,3474,3483,3407,3483,3423,2887,2348,2620,2964,3652,3916,3596,3532,3188,2871,2791,2737,2763,3209,3660,3404,2766,2548,2623,2565,2472,2901,3014,3226,3084,2854,2727,2723,2475,2484,3167,3160,3130,2877,2720,2959,3023,3162,3226,3164,2986,2662,2606,2620,2604,2475,2612,3256,3401,3467,3302,3264,3160,3074,3207,3492,3673,3635,3957,4576,4607,4049,3750,3660,3061,3439,3775,3617,3904,4452,3840,2799,3153,3240,3373,3000,3184,3011,2456,3198,3253,2885,2959,2809,2453,2369,2436,3226,3278,3194,3288,3591,3452,2915,2003,2004,2531,2828,2561,2414,2555,2530,2451,2337,2434,2473,2513,2511,2540,2336,2344,2696,2415,2068,1904,1840,1910,1487,1952,2483,2504,2283,2065,1947,2204,2348,2181,1907,1940,2017,2521,2743,2575,2764,2492,2419,2693,2662,2320,2152,2351,2759,2654,2462,2632,2392,2055,2299,1758,1455,1675,1660,1730,1955,1977,2251,2867,3462,3481,2873,2363,1630,1649,1744,1854,1860,1946,2334,2691,2517,2134,2192,2135,2185,2161,1870,1992,2301,2654,2779,2439,2292,3096,3024,2249,2272,2491,2346,2545,3013,2702,2933,3516,3650,3139,2472,2061,2405,3115,3056,2725,2432,1816,1810,2005,2336,2549,2328,2280,2367,2208,1945,1815,2047,1945,2118,2196,2623,3158,3475,3543,3705,3615,3875,4165,4164,4146,3871,3281,2901,2913,2009,1710,2201,2525,3308,4000,3572,3498,3084,3099,3521,3554,3344,3124,2931,2352,2520,2997,2349,1903,1776,1608,1492,2341,3208,3157,2754,2183,1941,2078,2166,2168,2127,2224,2381,2053,2216,2124,2216,2036,2033,2046,2205,2222,1992,1943,2150,2262,2621,3481,4000,3604,2902,2089,2287,2701,2596,2345,2106,2384,2800,2618,2297,2297,2549,2397,2159,2116,3035,3320,2832,2398,2517,2721,2792,2853,2513,3122,2866,2340,2265,2037,2077,2429,2181,2162,2306,2105,1838,1604,1611,1858,1776,2001,2021,1997,2836,3795,3604,2703,2020,1971,2001,1381,1136,1574,1945,2278,2259,2832,2778,2345,2431,2247,1990,2019,2170,2076,2042,2001,2276,2044,1831,1708,1900,2102,2333,2487,2713,2563,2663,2244,1692,2129,1758,1174,1836,2462,1929,1841,2009,2409,2149,2165,2357,1956,1995,2523,1906,1847,2722,2675,2381,2104,2513,2597,2074,2731,3112,2350,2217,2018,1634,1886,2267,2619,2842,2745,2408,2431,3209,2907,2342,2295,2220,2464,2728,2410,2461,1915,1601,1756,1697,1625,1922,1751,2060,2218,1711,1882,1893,1823,1431,1616,1431,2169,2578,2145,1644,1672,2009,2005,1941,1805,1626,1780,2040,2267,2431,2070,1947,1942,1686,1855,1990,2121,2109,1919,2246,2376,2396,2471,1764,1696,1841,2289,2301,2025,1306,965,1436,2047,2050,2198,2228,2207,2523,2432,2633,2811,2832,3190,3051,2422,2198,2242,2195,2209,2474,2256,1959,2474,3054,2765,2232,2376,2123,1586,1814,2332,2233,2002,2553,2840,2270,1968,1754,1523,1642,1903,1981,1809,2008,2591,2023,1687,2233,2390,2377,2200,2365,2458,2492,2640,2336,1738,1672,2027,2200,2026,1766,1715,2067,1991,1801,1729,1832,1980,2746,3505,3701,3936,3210,1964,2460,3118,3387,3287,3214,3043,3235,3549,3108,2408,1989,1914,1863,1762,1681,1615,1636,1675,1825,2087,2440,2399,2094,1710,1726,1776,1924,2282,2149,2349,2380,2193,2077,2287,2175,1691,1440,1385,1414,1374,1483,1609,1445,2567,3626,3790,3791,3827,3654,2777,2055,1841,1656,1543,2224,2777,2678,3185,2976,2110,1701,1787,1983,2710,3141,2533,2005,1925,2197,2173,2555,2587,2498,2599,2274,2240,2468,2651,2832,2556,2058,1752,1853,1991,1828,1819,1796,1691,1516,1534,2167,2398,2203,2733,2756,2230,2329,2987,3216,3365,3397,3790,3508,2932,2666,2684,3124,3033,2165,2697,3438,2985,3105,3530,4053,4018,4212,4488,3444,2079,1578,1690,2246,2626,2692,2730,2681,2254,2797,2811,2529,2577,2709,2741,2563,2792,2779,2557,2375,1949,2099,2051,1879,2129,1732,1675,1931,1790,1888,1716,1505,1754,1870,1803,1842,2053,2403,2581,2235,2027,1974,2188,2146,1735,1741,1676,1683,1731,1919,2070,2263,2235,2320,2448,1996,2640,3363,2945,2728,2820,2343,2159,2359,2454,2621,3001,2895,3173,3462,3297,3043,2607,2320,2298,1970,2586,2813,2985,2456,1687,1660,1722,1366,1389,1418,1108,1180,1732,2087,2004,2157,1989,2186,2148,1977,1748,1758,1878,1746,1900,2437,2519,2426,2197,2241,2408,2274,2210,2041,1878,1839,1771,1905,1413,1054,1902,2604,2483,2248,2166,2311,2234,2045,2206,1954,1540,1251,1283,1766,2418,2343,1947,1748,1448,1600,2468,2414,2127,2054,1863,1562,1357,1618,2081,2156,2701,2815,1957,2648,2568,2018,2995,2899,2592,2756,3141,3121,2695,3133,3464,3173,3273,3096,2700,2073,1768,1725,1909,2186,1837,1282,1754,2138,1862,1939,1069,1355,1916,2121,2163,2221,2178,2331,2308,2327,2266,1862,2385,2052,1872,1994,1701,1472,1636,1848,2327,2551,2510,2514,2253,2012,2028,2109,2242,2237,2203,2610,2544,2039,1731,2120,2599,2149,2093,2253,2851,3348,3283,2632,2378,2427,2202,2571,2978,2731,2205,2191,2277,2534,2694,3205,3983,4464,4488,4352,4281,4260,4193,3996,3933,3943,3895,4311,4527,4267,4230,4687,4912,4896,4896,4932,4973,4749,4374,4196,3651,3204,3654,3417,3225,3221,3264,3452,3549,3726,3772,3790,3724,3305,2993,2879,3410,3383,3242,2345,1292,1218,1840,2342,2447,2226,1865,1762,1456,1484,1655,1487,1546,1726,1976,1555,1381,1484,1604,1552,1685,1939,1813,1640,1646,1963,1986,1709,1806,1938,1514,1445,1803,1805,1537,1444,1670,1290,1252,1477,1389,1278,1442,1476,1714,1802,1553,1656,2161,2084,1709,2211,1981,2136,2906,2968,2733,2367,2215,2103,2520,2719,1932,1555,1603,1757,2010,2459,2041,1946,2580,3183,3289,2370,1904,2323,2996,3161,2731,2360,2149,2016,1680,1914,2664,2402,2134,2450,2744,2468,2653,2791,2789,2274,2107,1978,1969,2337,3452,2911,2007,1825,1733,1587,1977,2192,2264,2685,3373,4124,3520,3201,2931,2354,1972,2415,2473,2310,2690,2987,3219,2865,2690,2857,2225,2188,2237,2434,2396,2103,2144,2269,2292,2489,3318,3298,3141,3054,2067,2027,2563,3316,3296,2401,2285,3176,2872,2022,1949,2088,2432,2558,2321,2696,2647,2249,1849,2042,2267,1911,1571,1626,1811,2320,2232,2145,2805,2235,1958,1978,2227,2480,2125,1951,1989,1743,1789,2005,1801,2013,2175,2402,2574,2875,3031,2820,2626,2762,2872,2964,2874,2459,2697,2996,2653,2259,2438,2691,2765,3087,2842,2350,3085,3826,4251,4771,4728,4265,4187,4272,3783,3417,3127,2867,2765,2470,2393,2126,2089,2078,2175,2204,2171,2196,1829,1707,1925,1979,2348,2758,2230,2036,2049,2114,1809,1632,1462,1813,1996,2240,2443,2470,2535,2387,2346,1971,1684,1665,1879,1660,1483,1624,1679,1440,1466,1569,1596,1626,1740,2200,2518,2593,2050,1452,1438,1460,1397,2148,2751,2323,1881,1930,2237,2220,2344,2337,2313,3162,2810,2292,2620,2602,2044,2363,2594,2858,3216,3165,3059,3211,3335,2888,2859,2740,2878,1867,1372,1843,2715,2929,2403,2105,2143,1948,1792,2416,2310,2088,2264,2332,2063,2128,2484,2526,2726,2632,2987,3228,2731,2387,1818,1854,2188,2308,2309,2285,2527,2567,2645,3019,3421,3698,3495,3331,2681,1813,1680,2153,3433,3264,2152,1971,1952,2025,1900,1798,1691,2691,2833,2363,2102,2388,2449,1547,1467,1930,1779,1599,1841,1974,1929,2226,2276,1641,1327,1448,1505,1684,2006,2199,2044,1715,1916,1766,1179,1301,2002,2297,2164,2547,2619,2066,1746,1620,1353,1773,1967,1613,1526,2119,2317,2073,1981,2044,1805,1646,1610,1974,2286,2111,2231,2526,2630,2623,2484,2613,2467,2004,1782,1816,2156,2409,2280,2824,1837,1234,1634,2113,2023,1995,1882,1703,1889,1898,1598,1587,1832,1615,1344,1512,1986,2453,2180,2123,2128,1676,1659,2268,2722,2911,3089,2320,2114,1863,1811,2057,1945,1854,1836,2401,2954,2842,2347,2279,1642,1792,2026,1968,1766,1968,2374,2446,3118,3379,2866,2697,2697,2787,2619,2923,2339,2103,2482,2418,2806,2669,2182,2542,3006,2830,2084,1750,1903,1913,2252,2522,3300,3598,2613,1695,1863,2066,1870,1713,1860,2055,1841,1955,2120,2282,2080,1942,2261,2835,3202,2677,2480,2763,1970,1599,1534,2202,2406,2426,2391,2197,1854,1738,1713,2286,2885,2773,2603,2591,2924,2751,2502,3298,3639,3690,3353,2430,1875,1958,2408,2958,3137,2253,2285,2437,2424,3120,3842,3476,3233,3204,3347,3349,3130,2425,2545,3592,3574,3470,2529,2291,2362,2148,1959,2061,2272,2417,2574,2142,2368,2605,3180,3361,3674,3768,3242,2955,2810,3183,3561,3139,3074,3565,3675,3885,3842,3400,2868,3066,3275,2976,2567,2723,2691,2533],[3270,2820,3071,4257,4492,4072,3726,3395,2668,2132,1788,2149,2512,2930,2819,2893,2766,2375,2942,3177,2774,2632,2216,2301,2297,2352,2588,3045,3064,3109,3186,3011,2757,2274,2644,2497,2358,2512,2254,2956,2822,2172,2712,3074,2733,2798,2912,2933,2461,1959,2765,2647,2263,2641,2730,2277,2055,2137,2686,2750,2370,2313,2630,2702,2930,3064,2800,3229,3122,3101,2614,1970,2902,3407,3273,3519,3870,3316,2858,2907,2539,2483,2238,2097,1898,1568,1796,2067,1712,1486,1830,2363,2654,2438,2406,2496,2513,2160,1628,1847,2652,3059,3082,2974,2610,2680,2364,2336,2931,3818,3938,2848,2695,3277,2832,2438,3051,3801,3837,3748,3156,2731,2584,2754,2475,2796,2514,2373,3209,3414,3618,3662,3293,3484,3029,1786,1571,2431,2381,1938,2214,2208,2098,2040,1978,1914,2086,2740,2664,2260,2262,2183,1946,1780,1748,1735,1891,2396,2698,2442,1892,1510,1656,2096,1779,1773,2213,2231,2511,2788,2954,3014,3199,3303,2933,2383,2060,1992,2366,2989,2940,2663,2750,2730,3076,3405,3464,3717,3796,3425,3482,3310,2625,2761,2978,3328,3736,3543,3536,3720,3560,2852,2701,3185,3305,3377,2728,2116,2678,2868,2775,2932,3016,2842,2775,2735,2812,3019,3272,3123,2382,2462,2706,2695,2453,2526,2879,2829,2962,3147,2906,2502,2274,2237,2124,2137,1928,2566,3338,3588,3570,3693,3432,2710,2635,2895,2428,2686,2888,3496,3970,3882,3588,3632,3760,3791,3890,3896,3970,3983,3497,3153,3060,3499,3595,3735,3673,3521,2916,2952,3686,3431,2955,3175,2976,2869,2696,2297,2089,2322,3099,3651,3704,3429,2686,1864,1948,2938,2907,2120,2234,2132,2264,2301,2279,2474,2621,2691,2614,2602,2426,2344,2500,2326,1932,1839,1896,1997,2061,2337,2588,2923,3150,2586,2042,1969,1996,1918,1737,2011,2350,2854,2925,2600,2383,2027,1810,1871,1799,1476,1725,1828,1820,1820,1895,2292,1896,1842,2200,2255,2374,2470,2397,1907,1744,1787,2156,2493,3453,3156,2119,1841,2111,2428,2387,2264,1786,1684,2410,3063,3372,2420,2140,1960,2046,1885,1860,2295,2522,2464,2368,2530,2236,3629,3539,2563,2365,2267,2612,3050,3152,3458,3630,3285,2910,3122,3339,2876,3110,3344,2987,2217,1997,2012,2154,2221,2352,2335,2279,2538,2693,2208,2118,2251,2319,1886,1881,1669,1580,2282,3216,3606,3596,3397,3714,4168,4292,4304,4148,3703,3334,2815,2004,1661,2188,2792,3338,4051,3769,3580,3323,3325,3474,3311,3312,2832,2104,2182,3382,3583,2719,2492,1979,1789,2178,3166,3648,3212,2828,2522,2322,2188,1979,2113,2076,2174,2542,2287,2107,1957,2244,2457,2120,2069,2094,1708,1725,1923,2294,2183,2316,2888,3594,3647,2944,2222,2345,2790,2710,2244,2094,2798,3133,2820,2146,2595,2467,2163,1975,2602,3407,3451,3008,2435,2204,2332,2586,2742,2307,2645,2420,2464,2377,2061,2020,2174,2171,2348,2408,2220,1932,1697,1708,1830,1770,1753,1858,1974,1976,2721,2801,2077,2140,2559,2194,1256,1020,1381,2083,2530,2353,2334,2286,2732,2634,2073,2053,2200,2270,2460,2362,1903,1700,1627,1763,1985,2072,2035,2256,2802,2683,2547,3282,2802,2100,2182,1769,1498,1920,2188,1829,1559,1736,1874,1723,1873,2608,2364,2136,2578,2220,2174,2712,2721,2442,2372,2762,2654,2350,2844,2788,2357,2828,2362,1648,1745,1914,2049,2364,2711,2470,2675,3037,2708,2176,2163,2114,2586,2707,2531,2630,2174,2004,2541,2200,1847,1930,1783,2127,2040,1510,1799,1869,1920,1674,1580,1548,1932,2070,1838,1720,2049,2288,2213,2024,1906,1887,2198,2330,2332,2116,1968,2160,1884,1314,1096,1496,2189,1963,1751,2076,2302,2398,2223,1944,2178,2223,1913,1880,1697,912,825,983,1357,1627,1779,2474,2369,2452,2154,2433,3265,3109,2976,3054,2578,2347,2356,2296,2515,2388,2293,2429,2709,2661,2263,2282,2491,2228,1846,2107,2432,2462,2357,2227,2026,1618,1849,2116,1721,1582,1879,1728,1670,2230,2822,2468,2152,2336,2328,1986,1814,2224,2341,2432,2619,2072,1860,1936,1838,1777,1737,1451,1486,1802,1919,1897,1774,1468,1568,2310,3317,3586,3956,3860,2490,2196,2715,3062,3074,3194,2998,3121,3387,3772,3444,2414,1854,2027,2169,1774,1647,1582,1600,1700,1968,2269,2449,2319,1916,2258,2069,1852,2002,2213,2160,2388,2674,2416,2314,2100,1802,1600,1445,1565,1491,1664,1885,2257,3371,3805,3840,3836,3743,2997,2019,2069,1916,1902,2051,2024,2067,2126,2379,2305,1945,1814,1914,2154,2309,2102,1946,1947,1859,2218,2304,2804,3361,3530,3176,2676,2431,2485,2622,2902,2590,2332,1938,1733,1904,1844,1672,1658,1670,1384,1691,2493,2148,2398,3106,2433,2524,2611,2718,2430,2370,3318,3639,2735,2907,3318,3037,3362,3963,3110,2706,2814,2796,3310,4139,3973,3543,4069,4548,4023,2739,1960,1776,2083,2108,2259,2522,2391,2105,2282,2463,2460,2242,2819,2980,2263,2354,2230,2534,3010,2554,3144,2807,2082,2054,1831,2125,2188,1924,2136,2180,2109,2081,2278,2244,2254,2019,2956,3498,2755,2290,2474,2954,2591,2039,1841,1575,1974,1931,2148,2897,3210,2661,2258,2010,2272,3372,3457,2989,2886,2553,2450,2287,2015,1981,2609,3637,4033,3827,3298,3306,3674,3342,2408,2033,1853,2352,2575,2588,2514,2222,2034,2119,2082,1729,1458,1264,1128,1538,1938,1928,2068,2564,2398,2244,2232,2038,2022,1903,1846,2036,2464,2394,2312,2130,2194,2254,2131,1955,1828,1853,1833,1916,1559,1196,1679,1908,2082,2132,2025,1792,2070,2071,1938,1559,1218,1358,1431,1289,1339,1860,1927,1576,2021,2043,1713,2159,2249,2046,1858,1399,1160,1383,2027,2960,2475,2731,2751,2384,2574,2323,2255,2758,2742,2548,2666,2487,2149,2253,2675,2560,3166,3121,2918,2504,2156,2468,2592,2759,2770,2414,2060,2296,2708,2534,2475,1856,1565,2057,2285,1964,1676,1688,2298,1948,2034,1960,1930,2431,2128,2209,2051,1792,1664,1575,1694,2149,2320,2410,2351,2192,2032,2007,2245,2186,2104,2010,2270,2269,2450,2525,2237,2364,2012,1438,1784,2414,2971,3607,2674,2185,1824,1306,1904,2648,2492,2531,2596,2445,2535,2756,2944,3194,3630,4052,4268,4307,4499,4499,4232,4348,4197,4188,4684,4973,4740,4752,5185,5289,4781,4307,4319,4368,4168,4041,4078,3400,3090,3433,3498,3473,3564,3486,3353,3155,3227,3470,3132,2619,2252,2927,3029,2810,2944,3195,2698,1750,1166,1632,2392,2243,1965,1831,1676,1602,2129,2150,1574,1413,1450,1404,1443,1459,1471,1576,1550,1653,1843,2010,1698,1680,2026,2054,1929,1960,2003,1726,1390,1523,1578,1576,1498,1736,1201,1172,1412,1482,1324,1434,1843,1912,1499,1651,2241,1988,1685,1871,2344,2213,2411,2944,2720,2233,2156,2110,2087,2240,2786,1922,1687,1523,1729,2366,2450,2304,2685,2924,3090,2850,2126,1910,2248,2661,2720,1962,1772,2329,1918,1736,2692,3256,2746,2143,2175,2640,2867,2897,2362,1982,1822,2136,2646,2419,2270,3099,3232,2689,2302,2221,2281,2431,2144,2095,2890,3930,4112,3522,2674,2337,2382,2298,2534,2559,1882,2027,2658,2471,2378,2701,2592,2120,2287,2065,2310,2675,2503,2199,2312,2597,2762,3122,3274,3373,3264,2452,1850,2495,3264,2483,1735,2348,2830,2263,2168,2306,2336,2280,2419,2912,2653,2213,1969,2051,2190,2011,1811,1624,1760,1851,2323,2358,2634,2851,2285,2166,1754,1542,1720,1839,1792,1854,1836,1599,1559,2049,3120,2667,2364,2731,2836,2778,2390,2156,2710,2750,2624,2611,2504,2917,3439,3288,3116,3190,2675,2708,3156,3262,2820,3167,3486,3527,4164,4301,4392,4543,4403,3881,3630,3587,3726,3840,3271,2429,2493,2851,2346,1947,2015,2106,2235,2211,2497,3037,2863,2286,2909,2291,1821,1731,1884,1806,1792,1487,1814,2077,2261,2131,1993,2641,3000,2691,1779,1682,1642,1738,1750,1458,1331,1388,1392,1571,1658,1598,1656,1807,1917,1867,1999,1858,1534,1643,1756,1675,2040,2448,2813,2636,2226,2165,2591,2260,2134,2428,3454,3049,2196,2360,2280,1914,2147,2242,2405,2696,3085,3118,3054,3084,2304,1970,2630,2512,1807,1749,2486,2943,3266,3430,3006,2301,1826,2232,2428,2159,2064,2680,3076,2684,2531,2542,2322,2362,2392,2733,2820,2805,2293,1833,2696,2895,2236,2134,2306,2215,2335,3166,3505,3688,3472,2836,2440,2272,2466,2217,2523,3914,3783,2841,2098,1748,1947,2150,2455,2085,2764,2470,1595,1947,2664,2221,1494,1453,1665,1945,2740,3322,2881,2055,2028,2215,1549,1341,1324,1037,1455,1850,1948,2008,1886,1901,1712,1301,1249,1521,1772,1981,2176,2386,1666,1388,1644,2203,2775,2031,1604,1911,2541,2647,2258,2002,2005,1744,1766,1810,1984,2144,2169,2768,3090,3278,3225,2746,2354,2270,1930,1878,1990,2397,3059,2686,2612,1875,1414,1882,2282,2187,2216,2048,1709,1776,1710,1546,1630,1732,1699,1714,1682,1809,2184,2298,2462,2210,1964,1751,1722,2631,2762,2294,2114,2175,1941,1846,1747,1909,2151,2231,2732,2746,2425,1872,2033,1666,1872,1919,1892,2205,2294,1916,2066,2954,3573,3254,2544,2477,2550,2676,3096,2543,2122,2280,2320,2475,2586,2294,2059,2664,2749,2184,2060,2050,2165,2198,1926,2344,2699,2197,2062,1987,2116,1892,2054,1818,1858,1664,1643,1772,2037,2079,2082,2152,2114,2357,2413,2468,2416,1894,1558,1818,2097,2274,2396,2483,2365,2112,2188,1870,2054,3294,3739,2827,2343,2880,2578,2304,2746,3231,3497,2815,2400,1975,1809,1919,2530,2576,2382,2355,2453,3066,4041,4404,3659,2726,2908,3574,2956,2836,2400,2720,3448,3464,2842,2274,2250,2354,2306,2173,2387,2799,2910,2742,2446,2437,2619,2836,2359,2125,2344,2209,2188,2525,2818,3152,3129,3149,3692,3727,3836,3387,2245,1972,2476,2656,2878,2757,2423,2743,2906],[3063,3033,3897,3817,4365,3870,3659,2962,2487,1958,2404,2750,2800,2977,2503,2168,2132,2456,2851,2570,2911,3130,2343,2222,2668,2557,2686,3272,3266,3144,3261,3005,2717,1980,2279,2244,2349,2447,2404,2717,2631,2769,3278,3143,2998,2883,2918,3055,2556,2346,2662,2358,2434,2556,2242,2382,2462,2076,2233,2254,2337,2237,2347,2108,2432,2717,2933,3516,3129,2751,2219,2013,3147,3474,3807,3980,3386,2952,3138,3056,2680,2207,1910,1945,1897,1612,1787,2024,2129,2138,2158,2592,2639,2498,2180,2056,1999,1651,1425,1897,2707,2874,2734,2578,2070,2521,3097,3320,3215,3631,3783,3218,3539,3804,2937,2282,2919,3682,3537,3429,3061,2019,1821,2453,2720,2786,2424,2657,3183,3441,3541,3444,3494,3400,2920,2078,1790,2480,2343,2386,2850,2612,2298,2111,1995,2083,2269,2582,2690,2245,2509,2460,2059,1815,1799,1712,1721,2234,2654,2624,2531,1859,1718,1946,1723,1977,2314,2282,2176,2387,2978,3037,3344,3465,2714,2293,2272,2443,2483,3023,3008,2901,2591,2291,3247,3694,3518,3176,3331,2681,3095,3270,2769,2753,3156,3617,3846,3638,3447,3506,2778,2409,3201,3471,3295,3197,3056,2967,3343,2962,2630,3097,3012,2780,2662,2529,2229,2142,2665,2270,1843,1841,2007,2198,1975,2060,2438,2570,2808,3060,2686,2163,2217,2006,1708,1677,1626,2053,2586,2957,3371,3602,3145,2271,2381,2485,1989,2168,2542,3216,3603,3632,3865,3974,3911,3784,3695,3481,3225,2883,2813,3150,3507,4026,4273,4313,3907,3801,3754,3663,3740,3422,2822,2861,2267,2940,2786,2157,2023,2430,3235,3814,3941,3772,3184,2382,2198,3240,2750,2178,2099,2086,2189,2048,2075,2271,2384,2365,2314,2543,2579,2542,2224,2133,1978,1742,2160,2596,2454,2447,2412,2622,3260,3132,2210,1876,1860,1723,1900,2259,2590,3012,2686,2306,2362,2145,2172,2004,1294,1102,1547,1591,1137,967,1713,2154,1905,2142,2680,2729,2235,1789,2229,2471,2423,2366,2569,2974,3414,3063,2675,2633,3152,3507,3322,2912,1782,1709,2662,2778,2545,2024,2238,2150,2096,1922,1775,2120,2231,1769,1604,1581,1782,3282,3826,3257,2452,2440,3219,3460,3396,3639,3963,3852,3638,4184,4352,2886,2461,2197,2144,2127,2265,2471,2343,2329,2416,2455,2430,2387,2608,2525,2333,2186,2018,1627,1538,1541,1466,1624,2301,2871,3124,2602,3138,4042,4292,4320,4484,4113,3250,2640,2018,1857,2194,3145,3505,4047,3984,3992,3820,3510,3175,3076,3384,3064,2844,3284,3633,3694,3648,3227,2822,2325,3072,2920,3125,3428,2975,2517,2523,2401,2322,2474,1940,1882,2509,2378,2289,1939,2116,2421,2116,2095,2118,1693,1738,2100,2164,1891,2346,2964,3064,2532,1931,1655,2056,2497,2457,2307,2321,2608,3198,3106,2244,1891,2137,2310,2523,2996,3169,3227,3006,2791,2276,2129,2240,1939,1730,1819,2018,2168,1983,1700,1919,2218,2036,2329,2401,2135,1859,2135,2065,1890,1693,1753,2019,1807,1684,2030,1949,1959,2370,2260,1819,1592,1450,1457,1925,2319,2548,2455,2640,3020,2648,2150,1911,2248,2238,1881,1810,1857,1770,2067,2257,2062,1877,1824,2109,2573,2451,2549,2764,3042,2464,2167,2096,2316,2148,1853,1627,1568,1636,1614,1611,1945,2249,2374,2177,2358,2094,2139,2329,2523,2243,2081,2454,2771,2432,2659,2388,1954,2656,2285,1847,2055,2336,2090,2143,2244,2187,2507,2698,2559,2036,2014,2293,2394,2058,2129,2360,2023,2100,2486,2410,2648,2397,1964,1770,1436,1526,1592,1718,2116,2403,2140,1760,1678,2070,2243,2332,2478,2420,2391,2458,2350,2461,2803,2833,2371,2075,2236,2186,1719,1273,1119,2050,2211,1689,1364,1743,2175,2359,1999,2006,2493,2569,1784,1525,1740,1345,1345,1228,1367,1654,1557,1705,2200,2490,2363,2879,3313,2554,2494,2341,2233,2193,2142,2353,2614,2693,2418,2316,2264,2148,2096,2032,1928,2078,1846,1981,2326,2538,2059,1984,1949,1648,1931,2356,1931,1758,2010,2030,2447,2750,2532,2243,2062,1858,1778,1697,1752,2056,2436,2546,2570,2098,1976,1775,1547,1568,1897,1761,1483,1475,1754,2065,2133,1444,1265,1860,3086,3567,3834,4090,2945,1995,2183,2777,3264,2979,2932,3071,3085,3518,3383,2271,2031,2118,2275,2115,1846,1781,1809,1841,1797,2010,2339,2480,2569,2422,1776,1772,2193,2327,2331,2451,2324,2332,2264,2126,2036,2061,1583,1728,1614,1554,1918,3044,3631,3762,3808,3735,3300,2686,2090,2000,1947,1937,1968,2104,1965,2001,1989,1883,1938,1981,2012,2107,2249,2181,1959,1986,1834,2060,2176,2445,3169,3454,3106,2783,2430,2303,2320,2704,2570,2614,2128,1793,1769,1720,1767,1827,1709,1556,1960,2555,2014,2097,2497,2112,2553,2898,2319,2059,2654,3271,3525,3210,3430,4025,3461,2817,3203,2786,2690,2674,2602,3560,4416,3970,3674,3753,3747,4155,3750,2712,1878,1727,1554,1691,2192,2255,2334,2060,1857,2045,2789,3204,2763,2255,2390,2250,2810,3728,2865,2643,2701,2045,1992,2280,2676,2785,2342,2607,2791,2326,2283,2505,2707,2668,2083,2710,3582,3191,3088,3242,3251,2858,2771,2648,2483,2622,2319,2367,3006,3367,2715,2007,2017,3265,3673,3299,3327,3019,2624,2512,2522,2244,2233,3185,4090,4383,4250,3747,3560,3389,2865,2200,1837,1925,2332,2007,1889,2136,1875,1665,1799,1978,1692,1512,1490,1079,1705,2060,1859,2042,2910,2929,2420,2098,1696,1671,1689,1803,2200,3454,3288,2766,2945,3088,2713,2487,2306,2058,1957,1920,1925,1406,1721,1924,1857,1875,1797,1667,1833,1820,1574,1486,1197,1334,1712,1790,1628,1767,1907,1841,1847,2229,2192,1834,1658,1815,1874,1614,1375,1369,1925,2614,3140,2471,2657,2859,2227,2234,2786,2692,2443,2326,2159,2370,2230,1924,1919,1977,1982,2183,1872,1868,1521,1547,2148,2622,2792,2695,2544,2562,2895,2967,2569,2410,2364,2127,2532,3359,3304,2736,2427,2610,2275,2438,2332,2192,2009,2024,1856,1797,2127,1826,1829,1953,1966,1946,1992,2122,1831,1797,2075,2273,2130,1941,1729,1782,2103,2844,3182,2575,2053,1801,1659,2004,2364,2641,3028,2778,2554,2470,1822,1575,1823,2448,2791,2509,2380,2524,2512,2605,2778,2845,3019,3320,3601,4313,4469,4145,4280,4131,4307,4487,4571,4828,4868,5017,5249,5062,4515,4198,4119,4052,3797,3699,3254,3285,3345,3473,3850,3808,3386,3171,3103,3002,2573,2103,2030,1885,2596,3075,2713,2832,3191,2954,2409,1497,1198,2141,2558,3043,2764,2066,2044,2789,2447,1584,1289,1404,1573,1504,1440,1505,1638,1412,1519,1589,1858,1734,1653,1720,1703,1784,1682,1529,1471,1585,1412,1511,1680,1560,1408,1129,1172,1465,1638,1739,1914,2104,1782,1647,2044,1920,1619,1759,1840,2242,2342,2152,1898,1470,1732,1898,1853,2062,1867,2242,2066,1846,1570,1715,1951,2308,2504,2469,2678,3100,2941,2200,1599,1687,2199,2254,1599,1876,2399,2160,2063,2614,2792,2265,2082,1932,2222,2736,2296,2232,2343,2192,2558,3132,2917,2282,2146,2539,3276,2775,2362,2314,2434,2392,2568,2596,2978,2792,2543,2932,2985,2691,2238,2085,2397,1941,1845,2060,1731,1900,2379,2105,2164,2243,2089,2513,2177,1992,2474,2975,3461,3683,4204,3850,2953,2723,2552,2059,1986,2100,1682,2188,2575,2503,2056,1974,2188,2690,2570,2177,1869,1757,1604,1785,2217,2223,2089,1872,1934,2313,2534,2363,2016,2722,2883,2396,2121,1380,1430,1593,1653,1684,1815,1785,1675,1628,2153,2910,2932,2808,2700,2417,2667,2522,2174,2734,3029,2899,2624,2315,2433,2884,2877,3230,3046,1625,2099,2843,3520,3242,2879,2701,2701,4067,4435,4344,4543,4344,3739,3377,3373,3377,3304,2569,2093,2662,2951,2427,1894,1883,2130,2197,2786,3605,3863,3508,2448,2292,1832,1644,1823,2174,2147,1981,1673,1561,1694,1753,1598,1534,1892,2165,2248,1707,1635,1616,1599,1604,1627,1464,1606,1491,1637,1665,1576,2600,3021,2078,1757,1631,1543,1482,1615,1791,2015,2351,2528,2836,3034,3262,3355,3653,3072,2278,2177,2874,2713,1941,1946,2012,2053,2453,2521,2733,2762,3086,3313,2778,2264,2045,2337,2519,2140,2490,2747,2637,2126,2137,2535,2686,2061,1590,2088,2633,2291,2223,2600,2613,2730,2793,2613,2580,2568,2601,2369,2014,2404,2123,2222,2980,2458,2001,2618,2426,2431,3222,3683,3510,3216,2721,2277,2184,2685,2965,2433,2291,3063,3609,3606,2653,2523,2565,2499,2676,2346,1953,1738,1506,1872,2735,2001,1642,1495,2219,2590,3441,4006,3583,2830,2459,2370,1495,1375,1195,930,1854,1961,1929,1945,1973,1885,1817,1816,1684,1641,1639,1844,1720,1571,1250,1533,2229,2686,2526,1740,1669,2130,1936,1924,2009,1859,1667,2098,2115,2062,2018,2088,2457,2697,2841,3195,3309,2745,2015,2018,2060,1901,2191,2368,2554,2359,2562,2780,2383,1916,1861,1918,2232,2177,1745,1548,1564,1658,1644,1665,1901,2044,1793,1643,1776,2185,2482,2156,2256,2325,2126,2668,2453,1639,1781,2106,1949,1705,1635,1659,1697,1751,2274,2190,1937,1660,1687,1726,1865,1848,2074,2348,1906,1568,1651,1955,2486,2592,1910,1879,2613,2586,2512,2468,2141,2077,1936,2063,2956,2860,2586,2708,2619,2187,1820,1667,1796,1551,1684,2291,2073,2141,2008,1840,1844,1907,2143,2020,1849,1857,1773,1951,2171,1918,1818,2002,1990,2236,2265,2243,2059,1829,1730,1826,1771,1774,1919,2510,2297,1945,2402,1873,1802,3561,3693,2364,2236,2941,2851,2568,2591,2923,3116,2685,2116,1704,2174,2599,3165,3332,3152,2836,3042,3466,3969,3829,2662,2544,2920,3199,2763,2575,2573,2524,2617,2462,2288,2366,2155,2338,2552,3233,3579,3311,2610,2402,2660,2546,2559,2299,2220,2698,2730,2601,2278,1583,2042,2900,2942,3061,3601,3782,3451,2895,2407,2062,1958,1634,2158,2800,2758,2994,3043],[2993,3039,3194,2858,3765,3641,3190,2962,3008,2514,2322,2264,2241,2315,2403,2301,2706,2609,1976,2105,2912,2956,2322,2448,2952,2620,2558,2978,3054,2902,2950,2800,2589,2501,2307,2051,2166,2003,2029,2448,2721,2821,2988,2824,2930,2908,2814,2686,2286,2266,2346,1959,2242,2743,2336,2601,2366,1754,1643,1781,1996,2409,2440,2619,3106,3229,3254,3099,2993,2766,2501,2797,3097,3053,3055,2822,2672,3071,3296,2952,2416,1758,1438,1918,2620,2522,2084,2168,2458,2710,2208,2165,2279,2451,2320,2135,2302,2520,2302,2303,2685,2570,2265,2013,2387,3205,3725,3836,3383,3241,3493,3625,3595,3486,3352,2958,3056,3419,3252,3157,2802,2235,2978,3633,3256,2742,2315,2169,2281,2244,2447,2600,2392,2422,2681,2523,2536,2547,2280,2734,3074,2478,2077,2178,2025,2195,2682,2909,2730,2809,2957,2733,2463,1900,1703,1609,1568,1936,2636,2828,2598,2095,1895,1949,1611,1806,2209,2193,2619,2729,3010,2971,2925,2814,2269,2562,2464,2510,2758,3152,3158,2944,2843,2817,3565,3839,4252,3543,3229,3230,3686,3869,3496,3253,3370,3482,3610,3433,3144,3133,2956,3165,3500,3259,3260,3449,3923,4155,4209,3586,2755,3125,2821,2343,2808,2460,1998,1478,1734,1711,1699,1869,1976,1914,1923,2055,2183,2563,2959,3349,2507,2331,2343,1919,1845,1713,1637,1834,2002,2319,2823,3296,2950,2253,2521,2509,2500,2603,2730,3168,3393,3453,3796,3968,4133,4016,3934,3485,3462,3286,3255,3438,3686,3776,3652,3228,3108,3312,3082,2883,2911,2908,2454,2670,2730,3340,3476,3033,2769,2874,3473,4168,4344,4429,4131,3536,3338,3538,3292,3076,2468,1997,2038,1900,1865,2017,2180,2172,2172,2249,2313,2390,2204,1980,1813,1765,2272,2624,2470,2492,2224,1443,1940,2571,2164,2004,1798,1633,1787,1963,2615,3110,2706,2706,2673,2685,2828,2432,1504,1136,1439,1659,1880,2019,2289,2402,2141,2339,2769,2481,2228,2061,2286,2312,2226,2313,2613,2744,2387,2673,3369,3204,3128,3404,3312,2774,1818,1793,2788,2766,1952,1771,2045,2196,2327,2460,2346,2280,2124,1559,1212,1863,2695,3332,3889,3514,2542,2731,3318,3548,3704,3383,3623,3907,3624,3548,3458,3067,3022,2843,2920,2840,2537,2474,2309,2464,2599,2665,2643,2539,2806,2754,2124,2122,1979,1510,1475,1544,1627,1662,1546,1902,1904,1709,2757,3593,3557,3704,4232,3935,3284,2785,1903,2031,2336,3305,3854,4272,4142,4208,4065,3495,3108,3373,3521,3561,4004,3990,3306,3444,3371,2839,2486,2529,3069,2891,2503,2303,2056,1655,2369,2453,2195,1830,1819,1848,2195,2278,2231,2177,2149,2020,2039,2203,2392,2266,2498,2490,1956,1963,2176,2502,2703,2197,1720,1625,1898,2084,2266,2652,2836,2470,2818,2972,2784,1864,1745,1903,2142,2718,3199,3231,3283,3288,2602,2364,2366,2109,1927,1692,1846,1902,1623,1886,2188,1932,1338,1804,1986,1735,1729,2297,2370,1925,1599,1806,2166,2007,2082,1984,1976,2380,2359,1885,1650,1571,1639,1760,1846,2026,2105,2009,2316,2706,2544,2324,2121,2374,2241,2148,2203,2029,1642,1816,2119,1841,1919,2008,2203,2161,2166,2536,2677,2803,2373,1975,1766,1989,2097,1693,1612,2280,2041,1920,1811,2194,2822,2553,2254,2089,2014,2030,2365,2406,2019,2295,2498,2868,2658,2485,2115,2124,2374,2006,2285,3005,2652,2250,2736,2539,2287,2226,2174,2502,2658,2579,2664,2409,1926,1896,2176,2098,1914,1845,1929,2566,2499,2308,1839,1449,1622,1477,1423,1744,1890,2100,2226,2053,2472,2327,2162,2106,2077,2031,1835,1726,2027,2625,2722,2174,1849,2193,2132,2240,2144,1933,2032,2109,1810,1475,1460,1822,1998,1960,2288,2545,2837,2481,2103,1802,1832,2092,2011,2025,2121,1790,1736,2002,2185,2434,2356,2490,2626,2990,3031,2435,1823,1916,2237,2497,2567,2302,2163,2125,2316,1929,1722,2046,2072,1901,1926,1997,2122,2115,2160,2050,1891,2236,2409,2151,2129,2198,2126,2416,2656,2036,2061,2037,1533,1362,1565,1924,2183,2166,2071,2248,1858,2048,1979,1849,1990,1851,1708,1535,1721,2312,2647,2689,1946,1455,1712,2785,3507,3768,4018,3486,2429,1855,2011,2413,2888,3339,3033,3168,3248,2569,2167,2098,2079,2258,2302,2275,2286,2259,2114,1938,2486,2548,2522,2836,2587,2167,2333,2485,2299,2380,2303,2428,2207,1989,1913,1961,1946,1763,1769,1671,1560,2577,3514,3628,3658,3781,3535,2596,2134,1897,1827,1856,1904,1621,1442,1798,2094,2094,1858,1815,1958,2006,1793,2079,2364,2058,1925,1969,2059,2131,2244,2763,3373,3061,2598,2851,2880,2874,2554,2503,2842,2556,1943,1693,1742,1781,1628,1810,1777,2059,2684,2405,2308,2414,2754,3172,3266,2456,2398,2842,2666,3204,3564,3083,2831,3210,2928,2492,2308,3168,3674,3184,3221,3920,3692,3371,2625,2379,2788,3072,2489,1742,1603,1554,1832,2239,2459,2380,1716,1453,1616,2316,2640,1990,2059,2207,1962,2154,2902,2986,2606,2275,1872,2108,2459,2522,2584,2474,3120,3066,2203,2282,2369,2401,2618,2533,2620,3229,2844,2698,2519,2530,2604,2739,2775,2675,2656,2964,3000,2906,3212,2690,2204,2726,3650,3676,3413,3107,2640,2823,2832,2777,2604,2168,2812,3664,3924,4236,4145,3396,2401,2261,2177,1797,2136,2530,2026,1717,1778,1406,1586,2156,2020,1637,1827,1837,1677,1894,1901,1543,1775,2936,3006,2235,1843,1603,1595,1643,1528,2181,3601,3478,3122,3535,3385,2602,2192,2045,1678,1519,1721,1522,1384,1558,1424,1832,2338,2254,1812,1675,1528,1100,1150,1390,1246,1251,1110,910,984,1669,2209,2357,1999,2127,2526,2281,2122,2060,2164,2438,2264,2119,2949,3044,2521,2545,2530,1985,2060,2459,2354,1853,1826,2160,2461,2427,2160,1903,1888,2213,2430,2522,2050,1779,2237,2922,3094,2522,2126,2459,2978,3286,3450,3479,3360,3316,3045,2994,3197,3039,2905,2945,2885,2475,2347,2735,2454,1820,2149,2197,2226,2509,2410,2769,2301,2074,1700,1862,2162,1954,2160,2610,2481,1969,1903,1719,1730,1688,1780,2259,2430,2178,2100,2576,2877,2468,2375,2849,2692,2652,2479,2469,1915,1792,2486,2300,2433,2491,2330,2170,2128,2341,2609,2576,2733,3312,4057,4209,4121,4344,4265,4258,4375,4716,4776,4556,4776,4820,4920,4672,4363,4340,4147,3841,3662,3498,3400,3372,3777,3882,3474,3166,3162,3090,2885,2059,1855,1886,1719,1923,2753,2912,2674,2961,2969,2664,2014,1078,1598,2301,2585,2283,1861,1986,2271,1916,1558,1387,1467,1648,1695,1615,1462,1527,1432,1532,1648,1801,1647,1540,1672,1699,1553,1509,1488,1600,1806,1494,1494,1676,1542,1425,1332,1294,1475,1627,1642,1459,1378,1533,1960,1914,1694,1955,1982,2284,2760,2367,1926,1570,1845,2554,2272,1752,1843,1675,1929,2353,2079,1628,1809,2165,2639,2607,2966,2734,3276,3399,2724,1910,1776,2082,2036,2126,2389,2362,2320,1886,1908,2183,1546,1738,2004,2164,2190,1745,2093,2619,2843,2762,2961,3334,2658,2478,2900,3647,2902,2661,2283,2308,2289,2336,2439,2327,2070,1946,2809,3376,3251,2667,2909,3040,2260,2033,1904,1644,2000,2007,1884,1874,1814,2573,3034,2579,1924,2513,3086,3554,3970,3852,3033,2618,2785,2799,2249,1694,1944,2532,2636,2329,2646,2425,2039,2308,2498,2167,2243,1785,1593,1404,1201,1577,2080,2032,1584,1777,2515,2699,2394,2586,3485,3553,2722,1675,960,1141,1665,1697,2094,2072,2034,1919,1647,1880,2561,2896,2639,2327,2017,2290,2769,2508,2293,2281,2475,2064,2092,3086,3409,3181,3452,3195,2110,1749,2893,3383,3408,3167,2908,3387,4164,4472,4684,4479,4292,3860,3374,3284,3168,2829,2012,2468,2620,2391,2395,2075,1882,1791,1600,2256,2945,3204,3377,3099,3074,2299,2131,2697,2681,2165,1859,1639,1479,1593,1826,1903,1972,1904,1751,1611,1496,1510,1881,1753,1614,2040,1462,1629,1683,1619,1632,1614,2592,2801,1831,1439,1632,1649,1537,1793,1982,2130,2733,2823,2964,2884,3407,3754,3067,2509,2324,2295,2829,2735,2461,2625,2404,2508,2751,2711,2990,2995,3164,3377,2990,2701,2583,2507,2118,2101,2932,2751,2244,2061,1995,1925,1960,1763,1569,2491,3160,2742,2493,2167,2343,2876,2851,2662,3153,2802,2338,2111,2077,2365,1825,1957,2240,2155,2300,2690,2294,2445,2618,2665,2852,2719,2266,2446,2896,3144,3782,3142,1884,2075,3042,3374,3098,2765,2536,2603,2702,2173,1953,1999,1628,1842,2656,2022,1558,1427,1772,2243,3483,4427,3854,3408,2835,2253,1572,1566,1206,1218,2057,2351,2140,1963,1973,2006,1909,1970,1819,1632,1720,1871,1690,1705,1500,2030,2799,2947,2500,1785,2019,2111,1587,1616,1913,1873,1973,2159,2206,2077,1782,1964,2450,2480,2376,2578,2299,1844,1687,1822,2307,2272,2469,2296,2306,2474,2846,3486,3006,2176,1746,1714,1881,2226,1986,1797,1537,1527,1729,1763,1822,1925,1796,1584,1610,1701,2002,2149,2409,2646,2478,2436,2354,2003,1776,2064,2040,2013,2175,1970,1533,1421,1459,1578,1584,1514,1740,2172,2149,1867,1987,2114,1677,1782,2097,1955,2116,2337,1984,2145,2587,2197,2238,2476,2523,2236,1948,2542,3604,3304,2282,2263,2374,2184,1860,1779,1719,1705,2342,2450,2223,2199,1815,1798,1750,1858,2446,2321,2083,2154,1826,1798,2066,1611,2033,2080,2375,2238,2146,2242,2135,1957,1794,1870,1980,1960,1869,2544,2270,2077,2192,1497,1114,2138,2425,1958,2428,3120,3016,2437,2876,3149,2644,2435,2446,2191,2774,3359,3479,3615,3396,3158,3197,3757,3916,2765,1924,2015,2216,2238,2570,2735,2768,2553,2554,2500,2070,2217,2323,2343,2195,2695,3606,3386,2522,2402,2411,2167,2270,2163,2259,3027,3398,3472,2895,2128,2685,2570,2201,2663,3190,3317,3031,2652,2306,2235,1985,1805,2290,2994,3027,2769,2746],[2770,3233,3396,3485,3618,3400,3076,3083,2689,2511,2358,2364,2172,2621,2824,2601,2688,2065,1615,2049,2756,3144,2725,2598,3008,2642,2366,2374,2654,2589,2039,2216,2277,2343,2486,2379,2029,1894,1945,2229,2912,3252,2718,2386,2695,2938,3021,2833,2523,2485,2129,1813,2113,2669,2481,2461,2136,2416,2239,2086,2029,2220,1944,2041,2706,3013,3130,2767,2998,3270,3144,3056,2563,2375,2695,3083,3198,3249,3056,2222,2037,2059,1894,2578,2935,2668,2010,1980,2060,2307,2182,1997,2271,2292,1943,2192,2444,2447,2170,1984,2249,2334,2153,2217,2878,3371,3826,3660,2911,3385,3461,3351,3321,3403,3831,3742,3339,3288,3152,3057,2465,2163,2878,3303,3231,3090,2482,1945,2130,1608,1569,1560,1834,2285,2447,2396,2429,2293,2321,3059,3356,2777,2472,2347,2293,2155,2480,2945,2780,2464,2455,2775,2644,1790,1535,1693,1785,1843,2294,2492,2627,2493,2527,2394,1838,2094,2552,2458,2772,2677,2934,2696,2620,2562,2329,2293,2412,2753,2803,3010,3155,3428,3251,3007,3099,3621,4080,3876,3688,3897,3908,4017,3993,3884,3220,3123,3007,3111,2972,2966,3067,3162,3396,3235,3405,3852,4265,4268,3538,2424,2001,2752,2362,1883,2452,2778,2623,1869,1370,1515,1806,1766,2033,2233,2437,2567,2412,2989,3471,3630,2416,2139,2069,1699,1759,2040,2247,1838,1982,2155,2728,3096,2912,2742,2912,3195,3333,3116,2802,3054,3061,2451,3029,3315,3592,3861,4063,4015,3935,3628,3624,3961,3895,3912,3559,2817,2779,3131,3022,2682,2653,2744,2608,2867,2457,2255,2678,2789,3226,3553,4051,4316,4320,4184,4095,4023,3930,3717,3439,3644,3251,2503,2292,2060,1874,1982,1986,1989,2036,2059,2114,2139,2127,2003,1804,1768,2089,2401,2568,2692,1950,1517,1861,2186,2181,2008,1856,1969,2048,2210,2738,3138,3198,3220,2646,2654,2995,2678,2722,2894,2370,2180,2491,2483,2509,2425,2326,2452,2710,2646,2963,2916,2836,3162,3228,2761,2877,2880,2467,2455,3382,3106,2204,2033,1898,1982,1836,2286,3228,3205,2620,2308,2277,2192,2366,2834,2414,1915,2029,2177,2365,2593,2973,3366,3542,3119,2668,2749,3006,3172,3100,2767,3001,2940,2206,1663,2223,3437,4100,4100,3720,3288,3063,2888,2689,2793,2592,2279,2369,2456,2640,2406,2015,2182,1986,1789,1738,1437,1474,1527,1439,1539,1561,1929,2574,2500,1914,2453,3536,3310,2823,2786,1937,1935,2496,3179,3935,4441,4315,4176,3905,3302,3394,3907,3918,3981,3761,3411,3119,3030,2927,2541,2462,2486,2504,2863,2310,2135,2130,2137,2476,2105,1865,1918,2026,1910,1813,1895,2004,2184,2048,1936,1776,2208,2338,2070,2105,2317,2040,1984,1868,1935,2073,1999,1838,1618,1654,1877,2098,2140,2561,2679,3007,3584,2912,1928,1837,1583,1531,2276,2925,3098,3484,3165,2576,2290,2302,2266,2133,1986,2016,2032,1767,2082,2119,1902,1953,2230,2182,1778,1846,2145,2139,1956,1595,1654,2153,1924,2018,2467,2663,2415,2387,2084,1666,1555,1899,2144,2066,2196,2260,2146,2304,2984,2567,2051,2340,2375,2229,2379,2332,2146,1643,1538,2153,2381,2375,2493,2265,2053,2238,2128,2001,1948,1912,1875,1859,2335,2376,1596,1931,2946,2989,2403,2066,2589,2469,2077,2033,1908,1915,1812,2155,1972,2099,2442,2113,2427,2565,2031,2089,2267,2187,2385,2964,3017,2196,1875,1586,1692,2462,2572,2445,2386,2646,2814,2796,2339,1743,2188,3017,2460,2067,2130,1973,2129,2099,1947,1723,1567,1678,1361,1161,1621,1947,2090,2008,2251,2162,2208,2334,2047,2219,2024,1364,1177,1570,2055,2175,2150,1907,2061,2221,2202,2276,2382,2153,2169,2155,1956,1943,2471,2214,1812,2077,2237,2464,2118,1783,1641,1816,2302,2242,2119,2387,2157,2321,1970,2036,2407,2520,3293,3219,2754,2586,1996,1599,2007,2120,2007,1998,2038,1951,2049,2085,1752,1935,2133,1784,1878,1942,1891,2049,2123,2125,2509,2293,2213,2207,2397,2558,2213,1668,2154,2251,2039,2579,2416,1918,1613,1799,1970,1866,1714,1743,2219,2020,2015,2162,2494,2922,2442,2002,1483,1754,2246,2550,2213,1752,1603,1926,2564,3054,3252,3463,3607,2881,1763,1909,2677,3541,3384,3232,3491,3263,2971,2544,2206,2139,2171,2303,2523,2443,2139,1788,2201,2557,2578,2497,2616,2806,2647,2364,2409,2164,2194,2360,2125,2025,1968,1840,1801,1758,1798,1992,1757,2197,3451,3606,3632,3687,3494,2792,1855,1603,1768,1893,1836,1769,1525,1374,1636,1779,1848,1449,1715,1769,1575,1738,2328,2522,1874,1521,1816,2003,2300,2093,2083,3042,3362,3021,3123,2921,2913,2825,2701,2867,2698,2037,1708,1750,1759,1615,1896,1820,1622,2426,3012,2444,2633,2941,2783,2533,1995,2355,2692,2536,3131,3499,3479,2987,2697,2723,2464,2522,3451,3990,3460,2802,2499,2445,2221,1873,1759,1778,1546,1413,1839,1855,1554,1769,2142,2231,2054,1769,1508,1355,1891,2065,2109,2592,2453,2100,2176,2396,2781,2620,2646,2354,2214,2285,2193,2142,2563,2902,2518,2352,2585,2489,2375,2161,2449,2757,3001,2622,2455,2429,2422,2504,2603,2490,2401,2702,3205,3307,2919,2845,2902,2821,2938,3411,3808,3450,3093,3294,3245,2803,2419,2320,2069,2397,3520,3817,4014,3499,2298,1607,1821,1947,1604,1434,1633,1872,1836,1844,1488,1723,2221,1986,1559,1969,1936,1896,2293,1802,1381,1784,2734,2440,2004,1710,1618,1626,1663,1837,2770,3455,3243,3217,3603,3473,2655,2092,1836,1340,1559,1824,1417,1688,1724,1599,2053,2336,2166,1805,1629,1325,983,1023,1010,922,1759,2087,1588,1825,2406,2745,2522,2158,2702,3311,3040,2665,2720,2909,2867,2350,2070,2344,2375,2248,2143,1991,2066,2069,1849,2082,1998,1890,2209,2626,2360,2175,2058,2035,2328,2522,2734,2157,2237,2416,2933,2579,2265,2186,2470,2625,2698,3251,3625,3353,3310,3327,3320,3104,2862,2420,2346,2231,2222,3128,3341,2408,2631,3148,2539,2677,3175,3034,2698,2647,2306,1692,1880,1884,1960,2273,2587,2549,1912,1928,1730,1638,1501,1527,1814,2190,2596,2663,2953,3399,2465,1808,2066,1971,2363,2588,3052,2349,2280,2541,2559,2895,2842,2337,2041,2098,2232,2261,2511,2719,2789,3610,4204,4457,4532,4308,4006,4124,4484,4351,4257,4444,4351,4452,4711,4615,4636,4380,3937,3715,3535,3247,3055,3429,3269,3177,3162,3073,2852,2259,1892,1998,1926,1656,1728,2430,3053,2854,2585,2707,2538,2336,1585,1311,1825,2285,2399,2322,2083,2183,2219,1975,2089,1591,1602,1693,1529,1310,1337,1309,1344,1613,1812,1750,1638,1654,2009,1675,1482,1661,1706,1726,1559,1524,1704,1645,1524,1414,1209,1391,1537,1473,1480,1631,1694,2026,2008,1832,1693,1869,2921,3364,2453,1687,1940,2361,2232,1829,1684,1593,1844,2186,2599,2278,1772,2084,2210,2420,2520,3101,2524,2368,2956,2674,2360,2166,1822,1919,2320,2481,2060,2212,2348,2554,2150,1395,1807,2145,2027,1895,1924,2534,2828,2626,2364,2874,3320,3310,3233,2859,3095,2818,2401,2063,2033,1897,1846,2511,2687,2151,1864,2866,3593,3752,3543,3582,3215,2369,2229,2084,1941,2400,2394,2245,1845,2222,2698,2993,3219,2248,2089,2632,3048,3872,3715,2862,2567,2554,2889,2653,1888,1992,2130,2191,2661,2891,2553,2288,2413,2171,2243,2867,2136,2023,1695,1620,2048,2149,1978,1415,1431,2028,2242,2357,2258,2868,2757,2591,2041,1677,1686,1907,2426,2822,2477,2169,1957,1685,1881,2614,2888,2249,2142,2294,2403,2549,2473,2083,2280,2822,2194,2392,2954,2756,3654,4083,3527,3476,3498,3662,3535,3379,3458,3582,3701,3981,4185,3913,3587,4056,3560,3182,3182,3362,2765,2115,2512,2511,2243,2193,2436,2432,1746,1359,1790,2047,2134,2663,3395,2980,1971,2067,2603,2473,2055,1699,1716,2087,2109,2780,2992,2710,2622,2076,1553,1615,1560,1529,1545,1938,2336,1578,1594,1660,1444,1679,1629,1598,1679,1637,1693,1905,1638,1323,1649,2100,2629,3195,3188,2761,2386,2700,3115,2654,2573,2610,2516,3267,3342,3100,3217,3007,2861,2670,2807,2823,2664,3085,3454,3455,3599,3118,2783,2510,2679,2998,2097,1823,2067,2163,2120,2198,2275,2384,3139,3531,3160,2265,2238,2278,2703,2662,2567,2757,2462,2076,2236,2250,1885,1459,1809,2626,2668,2481,2338,2589,2741,2518,2574,2646,2612,2619,3089,3054,2917,3304,2900,1963,2305,2894,2978,2767,2058,1900,2091,2483,1881,1797,2046,1630,1705,2081,2110,1903,1424,1460,1943,3293,4508,3728,3458,3001,2513,1946,1754,1578,1886,1955,1872,2237,2318,1952,1868,1680,1895,1945,1573,1908,1775,1720,1813,1766,2622,3393,3493,2713,2075,2132,1910,1636,1529,1979,2095,2115,2005,2115,2111,1856,1654,1766,1710,1731,2069,1833,1586,1810,1666,1636,1706,2025,2299,2161,2195,2708,3562,3068,2330,1843,1589,1615,2005,2013,1857,1800,1662,1603,1672,1715,1525,1417,1371,1274,1521,1989,2160,2454,2419,1908,1835,2015,2244,2113,1934,1933,2171,2570,2077,1433,1631,2005,1844,1474,1418,1693,1792,1814,1885,2260,2384,1863,1878,1945,1768,1964,2235,2138,2079,1900,2035,2093,2295,2318,2193,2349,2884,3686,2908,1882,2272,2319,1923,1851,2069,2051,2154,2294,2332,2358,2075,1763,1690,1631,1977,2447,2448,2214,2122,1854,1646,1627,1512,2176,2056,2004,1945,2090,2129,2159,2257,1977,2215,2397,2143,2135,2289,2217,1966,1658,1544,1328,1784,2286,2542,2723,2755,2670,2564,2867,2689,2481,2684,2635,2532,3230,3603,3492,3233,3481,3544,3073,3584,3739,2321,2129,2419,2424,2600,2835,2657,2624,2590,2908,3000,2891,2310,2068,2383,2524,2449,2672,3163,3084,2836,2802,2168,1952,2230,2301,2373,2562,2888,2866,2802,2755,2411,2276,2585,2829,2708,2744,2468,2398,1982,1685,2259,2979,3299,3012,2596,2364],[2555,2919,3116,3603,3956,3384,3210,2954,2623,2854,2555,2487,2441,3075,2893,2724,2640,1750,1528,2048,2543,3186,2752,2477,2674,2536,2294,1925,2055,2080,2114,2380,2224,2100,2270,2459,2354,2532,2555,2663,3123,3409,2515,2198,2789,3075,3038,3020,3017,2868,2243,2354,2416,2565,2626,2461,2602,2590,2502,2568,2321,2087,1760,2060,2288,2359,2727,2359,2527,3030,3067,3283,2872,2413,2720,3220,2990,2885,2919,2330,2553,2586,2420,2692,2835,2517,1926,1809,1919,2175,2188,1986,2244,1954,1646,2093,2370,1867,1882,2667,2758,2458,2243,2192,2399,2635,3378,4057,3686,3349,3320,3472,3759,3933,4156,3912,3351,3120,3339,3134,2326,2046,2901,3472,3457,3150,2410,2491,2555,2025,1703,1908,2339,2600,2570,2668,2545,2415,2648,3200,2866,2426,2246,2259,2415,2178,2111,2502,2658,2391,2238,2408,2498,1907,1614,1775,1931,1824,2052,2508,2590,2492,2712,2309,1828,2225,2439,2610,2551,2767,3162,3115,3251,3247,2842,2280,2302,2309,2412,2798,2964,3306,3240,2520,2366,2547,2714,2865,3265,3752,3863,4095,4156,3871,2837,2968,3152,3133,3124,3238,2919,2720,2857,3185,3472,3882,4144,3454,2324,1896,1860,1898,1891,2247,2423,2762,2830,2011,1358,1659,1853,1612,1682,2036,2589,2919,2779,2735,2791,2763,2046,1796,1709,1590,1754,2251,2653,2344,2116,1838,1818,1838,2403,2500,2621,3108,3176,2938,2690,2867,3371,3240,3455,3018,2987,3225,3618,3794,3051,2497,3093,3193,3370,4120,4124,3732,3806,3916,3891,3409,2924,2971,3138,3061,2266,1883,1848,1631,2923,4021,4041,3893,4025,4093,4025,3800,3819,3806,3790,3752,3178,2532,2387,2321,2272,2135,2065,2126,2157,2141,2176,2225,2288,2316,2122,1916,1766,1896,2291,2584,1981,2024,2340,2609,2548,2167,2346,2929,2888,2697,2845,3123,3408,3063,2291,2163,2461,2500,2523,2711,2495,2844,2846,2682,2635,2644,2495,2397,2262,2271,2481,2684,2829,3374,4001,3709,3686,3086,2601,2184,2934,2603,1968,1502,1320,1630,2126,2924,3322,3544,3372,2653,2563,2176,2472,2640,2514,2687,2618,2653,2922,2889,2622,2577,2450,2251,2708,2789,2757,2552,2403,2590,2417,2257,2200,2175,2981,4175,4436,4267,4132,3759,3466,3301,2978,2580,2266,2044,2060,2030,1979,2008,2094,2553,2238,2255,2254,1816,1676,1498,1552,1624,1754,1867,1967,1834,1609,2414,3299,3136,3118,2688,1972,1863,2571,3416,3838,4037,4092,4015,3416,3030,3813,4167,4272,4101,3634,3279,2680,2223,2249,2346,2719,2103,1982,2625,2698,2590,2392,2260,1921,1505,1680,1947,2043,2162,2300,2001,1961,1719,1727,1656,1655,2183,2438,2008,2004,2371,2265,1847,1780,2018,2181,2022,1678,1526,1506,1592,1834,2055,2671,3208,3870,3965,2890,2310,2261,1732,1715,2137,2372,2680,3122,2976,2546,2244,2166,2411,2214,1964,1761,1746,1563,2009,2128,1885,1942,2443,2314,1836,1806,1612,1891,2444,1935,1793,1956,1935,2445,3349,2992,2357,2452,2378,2129,2246,2508,2297,2200,2116,2360,2474,2147,2188,2241,2364,2325,1832,1738,1997,1928,2248,1865,1773,2746,3121,2422,2206,2208,2482,2692,2177,1833,1582,1512,1748,1876,2194,2148,1661,1918,2098,2544,2054,1992,2657,2614,2322,1996,1864,2010,2002,2081,1981,2362,2410,2381,2503,2907,2692,2233,2015,2122,2330,2786,2543,1459,1316,1396,2164,2195,2359,2623,2353,2004,2009,2316,2247,1943,2532,3060,2319,2244,2177,2070,1902,1659,1572,1529,1656,1969,1559,1377,1546,1661,1800,1977,2147,1997,2646,2684,1951,2020,1976,1479,1306,1748,2288,2143,1834,1708,1780,2102,1930,2091,2376,2213,1958,1802,1784,2032,2178,2046,1814,1959,2108,2447,2055,1500,1521,1694,1867,1918,1968,2199,2149,2221,1797,1939,2035,2193,2831,2789,2030,1832,1952,2107,2124,2054,1917,1925,2046,2374,2380,1926,2040,2104,1860,2062,2243,2013,2130,2229,2203,1784,2384,2421,2263,2500,2351,2316,2028,1854,2459,2522,2420,2676,2343,2236,1837,1743,1764,1767,1503,1594,2071,2110,2001,2083,2288,2243,1879,1793,1544,1930,2239,2351,2124,1688,1681,2066,2235,2511,3155,3438,3740,3231,1786,1805,2294,2916,3229,3449,3269,3564,3840,3228,2618,2140,1963,2005,2001,1787,1721,1913,2088,2028,2210,2462,2527,2498,2558,2378,2121,1921,1875,1911,2014,1958,1823,1894,2245,2280,2557,3078,2821,3130,3575,3649,3670,3411,2691,1970,1671,1614,1570,1576,1643,1792,1749,1664,1666,1670,1732,1868,1966,1846,2124,2598,2559,2219,1538,1328,1813,2074,2192,1797,1728,2217,2982,3320,3151,2863,2883,3068,2858,2748,2431,1850,1559,1622,1727,1562,1924,1986,1722,1960,2170,2569,3084,2280,1928,1738,1709,2219,2689,2687,2980,3611,4046,3187,2730,2950,2799,3212,3341,3356,3117,2487,2013,2586,2513,2064,1854,1854,1482,1734,2460,2165,1778,2074,2511,1968,1801,2026,1490,1470,2331,2228,2129,2596,2589,2220,2009,2337,2680,2242,2289,2514,2463,2773,2539,2619,3306,3176,3015,2635,2366,2188,2047,2104,2137,2719,2880,2571,2420,2446,2504,2493,2481,2344,2360,2602,2958,3444,3150,2707,2996,2986,2746,2964,3375,2944,3006,3084,2972,2587,2664,2973,2529,2126,3041,3706,3255,2397,2039,1774,1870,2003,1416,1075,1282,1760,2072,1931,1298,1552,2309,2220,1643,1827,1910,1824,2258,1666,1136,1106,1538,2010,1998,2256,2222,1990,2380,2554,2711,3113,3370,3318,3626,3653,2275,1854,1939,1847,2066,2028,1705,1987,2128,2040,1984,1698,1599,1663,2196,1935,1659,1670,1661,1974,2909,2733,2010,2266,2519,2614,2325,1717,2160,2695,3087,2643,2425,2186,1786,1685,1697,1383,1205,1678,1956,1764,2092,2402,2729,2858,2453,2314,2864,2776,2004,1772,2023,1879,2030,2069,2547,2078,2109,2364,2504,2595,2592,2563,2610,2392,2236,2706,2974,2996,3480,3386,2953,2851,2092,1303,1664,1580,1882,3206,2994,2477,3285,3019,2182,2093,2828,2542,2269,2531,2076,1824,1987,2272,2424,2181,2162,2120,1876,1806,1706,1434,1176,1655,2554,2444,2136,2523,2945,3034,2286,1722,1659,1531,1802,2722,3400,2840,2391,2468,2903,3082,2604,2452,2241,2187,2320,2592,3033,2957,2777,3094,3798,4292,4340,4373,4200,4161,4499,4704,4395,4176,4189,4128,4420,4704,4721,4340,3981,3829,3716,3132,2787,3074,3155,3304,3151,2878,2349,1710,1636,1814,1838,1850,1908,2308,2897,3045,2337,2438,2520,2443,2160,1546,1533,2364,2958,3204,2437,2678,2951,2656,2725,1908,1560,1484,1326,1334,1421,1422,1377,1733,2041,2055,1921,1711,1887,1758,1333,1707,2026,1954,1807,1801,1840,1759,1589,1762,1388,1156,1445,1857,2164,2286,1926,1840,1934,1826,1670,2252,2850,2906,2236,1880,1983,2044,1823,2155,2247,1967,2216,2099,1863,2011,2017,2112,2136,1959,2165,2735,2541,2201,2348,2523,2539,1944,1108,1658,2083,2099,2067,2696,2540,2166,2249,2222,2424,2078,1819,2038,2273,2801,3007,3166,2612,2541,2675,3231,3032,2621,2361,2399,2743,2602,2172,1776,1694,2310,3061,2081,1569,2546,3706,4232,3525,3028,3097,2664,2269,1896,1979,2373,2740,2120,1589,1887,2163,2466,3205,2825,2551,2923,2894,3488,2868,2274,2373,2664,3076,2856,2031,2166,2836,2951,2651,2306,1926,1722,1607,1864,2481,2806,2632,2408,1800,1648,1897,2111,2031,1642,1201,1690,2535,2322,1965,2344,2074,2037,2483,2205,1625,2348,3344,3570,2946,2165,1743,1818,1926,1884,1952,2027,2203,2216,1951,1997,2659,2409,1957,2944,2719,2334,2007,1874,3074,3615,3407,3254,3373,3563,3364,3182,3190,3108,2821,2950,3348,2950,3098,3364,2644,2698,3041,2983,2477,2209,2019,2358,2273,1948,2709,2692,2091,2020,2405,2342,2119,2404,2678,2281,1706,1594,1740,1682,1727,1672,1837,1949,1892,2591,2823,2607,2513,1954,1468,1528,1611,1372,1300,1692,1837,1447,1655,1560,1365,1493,1438,1410,1620,2156,2940,2222,1577,1171,1573,2264,3200,3753,3618,3093,2373,2438,2725,1906,2613,2892,2338,2659,2501,2580,2968,3187,3013,2813,3084,3012,2598,3006,3494,3768,3981,3638,2772,2139,2138,2319,2241,2089,2160,2128,2269,2415,3196,3595,3817,3801,2824,2123,2359,2454,2509,2587,2645,2996,2696,1866,2099,2027,1732,1528,1979,2542,2500,2300,2763,3212,2910,2822,3096,2640,2683,2778,3318,3082,2690,2710,2637,2157,2268,2562,2577,2508,1829,1758,2006,2403,1806,1781,1918,1561,1755,1928,1614,1613,1554,1924,2376,2908,3146,2714,2866,2742,2576,2314,1860,1994,2384,2111,2011,2164,2270,1890,1239,1682,2171,1982,2024,2222,2041,2135,2239,2742,3385,3447,3460,2144,1597,1564,1519,1431,1639,2104,2260,2161,1911,1788,2019,2122,1821,2286,2192,2188,1872,1892,2054,2236,1945,1544,1569,1916,2544,2995,3470,3491,3970,3716,2949,2213,1899,1741,2008,2196,1870,1878,2024,1990,2176,1817,1807,1726,1533,1419,1504,1837,1859,1898,2030,1938,1654,1645,2017,2126,1721,2147,2076,1964,1771,1759,2216,2205,1803,1387,1250,1567,1485,1761,2070,2388,2220,2031,2023,2066,2366,2558,2313,2092,1943,2132,1759,1869,2432,2262,2359,2567,2940,3276,2297,1780,2307,2258,1971,1869,1882,1968,2575,2535,2432,2069,1888,1731,1601,1686,2272,2086,1947,2215,2243,1866,1791,1334,1577,2230,2136,1863,2034,2124,1973,2577,2876,2208,2175,2335,2313,2289,2136,1932,1530,1956,2536,2258,2120,2208,2358,1982,1899,2020,1954,2024,2029,2242,2815,2964,2877,2874,2607,3010,2523,3439,3218,2623,2735,3205,2965,2989,2820,2632,3276,3361,2723,2660,2829,3089,3028,2736,2414,2326,2721,2754,2450,2657,3328,3082,2893,2696,2172,2070,2193,2613,2536,2302,2257,2427,2574,2465,2331,2294,2512,2739,2624,3000,2764,2569,2015,1968,2706,2957,2757,2562,2286,2194],[2636,2743,2540,3183,3706,2907,2813,2521,2603,2590,2250,2785,3118,2880,2814,3024,2624,2115,2333,2213,2484,2429,2210,2414,2681,2431,2320,1656,1165,1504,2312,2527,2092,1705,1858,2288,2361,2992,3084,2897,2987,2823,2267,2371,2907,2958,2858,2872,2809,2837,2524,2381,2323,2225,2198,2443,2734,2808,2930,2708,2284,2015,1650,2383,2046,2310,2464,1927,1843,2462,3232,3684,3079,2102,2452,2942,2742,3054,3212,2503,2917,2990,2526,2714,2818,2336,2272,2258,2369,2333,2224,1918,2056,2192,2192,2462,2403,1725,1725,2455,2619,2250,2011,1889,2069,2435,2430,2879,3459,3396,3650,3936,3916,3894,3911,3873,3854,3703,3584,2841,2455,2009,2718,3850,3726,2578,1698,1936,2375,2530,2513,2543,2655,2382,2254,2503,2856,2639,2786,3238,3033,2365,1921,2098,2478,2259,2019,2474,2920,2665,2293,2490,2519,2032,1582,1634,1879,1981,2063,2082,2169,2238,2355,2119,2057,2320,2249,2366,2299,2470,2559,2629,3038,2994,2687,2397,2455,2596,2833,2889,3016,3310,3029,2220,2215,2243,2148,2903,3241,3375,3437,3873,4116,3572,2754,2963,3344,3198,3206,3297,3026,2517,2380,2857,3518,3686,3445,2533,2142,2180,1888,1738,1986,2290,2448,2539,2687,2604,2277,1670,1858,1858,1874,2554,3055,2908,2887,2653,2700,2588,1898,1886,1659,1842,2202,2575,2809,2435,2246,1748,1168,1329,1647,1460,1616,2286,2599,2817,3239,3087,3528,3006,3067,3059,3142,3228,3452,3593,2911,2098,1890,1656,2370,3276,3492,3318,3430,3322,3207,3204,2899,2582,2757,2501,1526,1803,2235,2152,3353,4012,3617,3484,3813,4086,3985,3719,3685,3660,3617,3443,2877,2302,2125,2138,2197,2059,2010,2043,2075,2136,2198,2220,2280,2340,2191,2060,2111,2696,2647,2428,2437,2569,2679,3123,2996,2529,2722,3129,3045,2295,2026,2239,2701,2360,1435,949,1678,2102,1770,2518,2463,2868,2923,2910,3295,3334,2780,2316,2030,2258,2476,2361,2474,2916,3696,3892,3794,3179,2316,1879,2207,1650,1365,1486,1507,2074,2503,3262,3693,3985,3727,3098,2863,2730,2839,2611,2861,3211,3033,2498,2095,2774,2741,2199,2048,2069,2310,2303,2846,3313,3417,3288,2942,2805,3152,3275,3501,4251,4532,4461,3909,3362,2866,2613,2284,2040,2027,1814,1860,1794,1726,1800,1859,2000,1896,1880,1815,2031,1860,1478,1426,1558,1938,1754,1605,1553,1885,2907,2981,2808,2664,2168,1967,1977,2342,3110,3617,3862,4099,3981,3081,3037,3636,4148,3696,2856,2912,3184,2620,2024,2464,2476,2442,2556,2265,2299,2681,2613,2384,2148,1843,1554,1705,1777,1864,2004,2202,2057,2022,1750,1671,1790,1692,1842,2085,1701,1473,1899,2042,1803,2543,2555,2279,1995,1796,1692,1677,1663,1664,2266,3108,3804,4072,3564,3165,3175,2815,2020,1858,1942,2175,2258,2440,2433,2353,2277,2485,2499,2267,2343,2119,2333,2434,2171,1854,1859,1823,1762,1804,1839,1981,1619,1689,2392,2178,1971,1888,2473,3515,3843,3022,2541,2576,2345,2133,2393,2336,2126,2290,2427,2429,2174,2459,2523,2182,2008,1755,1741,2350,2353,2052,2058,2070,2473,2630,2406,1742,1756,2121,2443,2684,2346,2125,1857,1606,1416,1576,2232,1996,1917,1939,1857,2056,2099,2212,2559,2370,2317,2244,2518,2222,2135,1882,1931,2399,2423,1961,1772,2164,2303,2281,2091,1753,1786,2333,2022,1832,2265,2393,2241,1870,2145,2446,2351,1928,2053,2060,1959,2053,2243,2133,2177,2333,2210,2102,2261,2331,2088,2067,2006,2026,2066,1931,1526,1375,1536,1676,1828,2017,2026,1827,1542,1614,1616,1510,1688,2106,2718,2441,2093,1893,1744,1744,1632,1855,2147,2020,1853,1849,1586,1691,1809,2070,1766,1700,2088,2156,1658,1343,1297,1508,1622,1688,1919,1997,2522,2389,1803,2026,2174,2059,2029,2007,1879,1682,1916,2223,1838,1919,2007,2032,2104,2476,2761,2598,2282,1906,2113,2395,2264,2067,2241,2482,2057,1945,2304,2276,2122,2470,2466,2053,1976,2065,2443,2546,2382,2305,2156,2067,1691,1837,2180,2140,1728,1510,1833,2190,2376,2220,2184,2029,1854,1774,1672,2001,2291,2365,2307,1867,1640,2083,2413,2433,3344,3543,3729,3588,2248,1776,2054,2708,3422,3220,3308,3764,3906,3486,3056,2402,2093,1748,1388,1213,1623,1899,1580,1676,2053,2335,2380,2482,2363,2112,1879,1760,1190,1253,1775,1894,2003,2356,2386,2588,3507,3898,3736,3154,3342,3627,3571,2619,2026,2016,2017,1884,1497,1238,1296,1700,1764,1820,1742,1636,1619,1675,1888,2162,2567,2423,1983,1643,1341,1477,1948,2019,1859,1891,1946,1888,2486,2977,2911,2647,2622,2845,2820,2493,2105,1817,1778,1799,1542,1446,1866,2079,1898,1781,2104,2919,3074,2101,1801,1725,2039,2237,2496,2759,2602,2953,3249,2929,3658,3642,2733,3056,2643,2390,3012,2976,2868,2976,2859,2400,2074,2003,1612,2272,2652,2408,2104,2597,2929,1885,1499,1859,1688,2388,2968,2353,1808,2266,3190,3389,2469,2545,2523,2000,2077,2455,2553,2382,2208,2711,3356,3163,2230,1936,2144,1937,1934,2083,2134,2798,2959,2621,2426,2370,2386,2386,2403,2354,2441,2762,3167,3474,3238,3576,3501,3173,2717,2475,2739,2739,2968,2743,2622,2539,3206,3894,3104,2288,2362,2780,2658,2326,1823,1357,1714,2104,1742,1636,1945,2173,1775,1314,950,1460,2322,2297,1859,1741,2387,2348,2223,1617,1041,1068,1337,1924,2049,3042,3345,2856,3666,3245,2617,2827,3283,3551,3715,3714,2721,2208,2081,1946,1980,1926,1771,1967,2284,2482,1926,1390,1684,2164,2684,2755,2224,2084,2181,2163,2175,1933,1526,1719,1872,2352,2358,1786,2023,2150,2674,2461,1689,1460,2108,2477,1977,1243,1192,1726,2049,2062,2442,2874,3067,2655,2406,2878,3104,2836,2284,1786,2053,1749,2055,1975,2097,2207,2503,2370,1922,2030,2307,2206,2102,2197,2607,3088,2938,2742,2810,2601,2353,2530,2041,1546,1960,2009,2200,2536,1985,2251,2608,2502,2391,2129,2193,2165,2144,2024,1975,2362,2200,2409,2408,1974,1690,2216,2146,1832,1642,1307,1092,1597,2648,3151,2508,2395,2608,2398,1932,1841,2380,2043,2015,2885,3430,3473,3088,2211,2311,2359,2144,2713,2430,2105,2639,3736,4087,3555,2884,2701,3143,3387,3747,4046,4208,4552,4747,5125,5005,4612,4496,4353,4286,4454,4428,4232,3752,3597,3575,2966,3100,3374,3418,3386,2842,2229,1890,1870,1973,2093,2193,2079,2108,2404,2609,2932,2655,2404,2451,2548,2626,2208,1437,1927,2580,3140,3001,3256,3626,3476,2986,2446,2279,1798,1452,1288,1323,1509,1778,2170,2205,2050,1968,1951,1863,1584,1319,1553,1880,1914,1631,1474,1681,1911,1691,2165,1909,1540,1546,1818,1905,1624,1382,1466,1609,2110,2718,3065,2955,2823,2142,2094,2037,1893,1822,2701,3262,2326,2250,2292,1800,2267,1934,1967,1992,2167,2750,2761,2490,2525,2259,2811,3397,3002,1391,1520,1739,2076,2597,3234,2852,2469,2685,2777,2352,1587,1498,2000,2502,2399,2606,3276,2415,1559,1492,1943,2343,2301,2200,2259,2442,2496,2290,2210,1825,1738,2555,2155,1798,2557,3835,3939,2882,2512,2351,2243,1989,1742,1809,2458,2455,2229,2861,2940,2583,2745,2707,2626,3053,2708,1885,2033,2138,1899,2080,2632,2797,2377,1875,1968,2609,2486,1909,1980,2051,1851,1596,2021,2820,2727,2362,2220,1850,1584,1829,2321,1962,1714,1817,2533,2373,2125,2352,3028,2497,1575,1874,1981,2038,3053,3508,3817,3373,2069,1664,1755,1577,1461,1983,2457,2597,2263,1820,1803,2729,3256,2587,2720,2463,2240,2519,2668,2765,3246,3204,2843,3134,3105,2823,2839,2944,2890,2620,3063,3165,3260,3611,3354,3005,3104,3135,3032,3199,2758,1957,2633,2272,1673,2035,1826,1887,2325,2801,2592,2243,2253,2009,1779,1757,1852,1726,1761,1778,1849,1987,1996,1991,2061,1998,1875,2075,1835,1506,1389,1560,1529,1489,1405,1437,1536,1757,1682,1431,1426,1615,1534,1636,1632,2119,2024,1726,1647,1928,2600,3265,3649,3386,3052,2286,2322,2354,1878,2442,2416,2347,3133,3461,3462,3464,3327,3052,2920,3501,3482,2850,3188,3642,3817,3844,3838,2748,1803,1835,1959,2063,1971,2115,1923,2180,2822,3552,3628,3748,3985,3160,2376,2442,2376,2540,2590,2634,3488,3073,2076,1898,1749,1691,2053,2408,2428,2187,2179,2806,2966,3057,3538,2921,2160,2996,3010,2684,2674,2776,2912,2352,1887,2109,2939,3205,2994,2424,2258,2480,2392,1996,2137,2183,1938,2183,2370,1582,1882,2002,2312,2335,2307,2305,2160,2382,2444,2419,2369,2281,2599,2881,2222,1899,1847,2125,2272,1849,2302,2656,2331,2079,2052,2123,2171,2182,3196,3386,3355,2752,1721,1488,1428,1389,1586,1953,2122,2115,1993,1826,1751,2032,1670,1453,1649,2161,2461,2028,1782,1794,1962,2085,1943,1881,1861,3073,4434,4215,3247,3316,3828,3864,3132,2040,1727,1976,1853,1686,1951,2799,2574,2301,1954,2095,2099,1710,1557,1645,1721,1564,1699,2216,2276,1591,1597,1730,1869,1888,2092,1818,1679,2071,2126,2370,1854,1821,1664,1168,1027,1078,1668,1953,1961,2453,2791,2490,3047,2946,2444,2343,2475,2331,2111,2041,2246,2260,2148,2304,2351,2213,2148,1856,1974,1996,2209,2387,2094,1667,1838,2836,2898,2010,2175,2671,2091,1530,1925,2294,2153,2359,2437,2165,1703,1524,1710,2186,2578,2303,1931,2446,2516,2263,2797,2502,2253,2099,2090,2184,2280,2407,2234,2335,2820,2872,2399,2323,3072,2541,1924,1944,2072,1678,1447,1750,2309,2923,3032,2874,2564,2227,2408,2720,3111,2590,2156,2302,2644,2864,2788,2489,2724,3287,3543,3144,2244,2609,2929,2862,2619,2954,3220,3021,2691,2744,3378,4039,3544,3074,2557,1901,2203,2336,2759,3069,2969,2827,3018,2990,2439,2198,2346,2540,2662,2203,2943,3186,2701,2260,2575,3020,2843,2743,2495,2213,2364],[2835,3008,3229,3341,3320,2973,2742,1992,1710,1988,2192,2740,2954,2708,2626,2646,2525,2567,2973,2741,2557,1901,1744,1981,2065,2277,2544,2209,2075,2203,2734,2662,2116,2048,2498,2415,2619,2977,3087,2929,2807,2635,2431,2646,2965,3066,3152,2858,2557,2360,2183,2149,2113,2051,1675,1380,1980,2352,2690,2818,2602,2579,2566,2830,2221,2367,2872,2751,2232,2545,3101,3210,2836,2008,2084,2850,2552,3144,3500,2989,3186,3260,2757,2908,2810,2306,2445,2508,2723,2521,2330,2119,2037,2258,1926,1931,1898,1576,1928,2261,2430,2199,1627,1470,1958,2354,2166,2429,3231,3316,3584,4042,3836,3906,3847,3917,4018,3426,2668,2385,2654,3097,3974,4728,4401,3074,2385,2214,2543,2836,2597,2449,2353,1839,2387,2996,3061,2974,3042,3208,3060,2692,2066,2281,2744,2602,2419,2876,2818,2325,2676,3043,2607,2059,1808,2036,2378,2498,1943,1766,2223,2097,2200,2728,2525,2231,2425,2209,1810,2157,2160,2364,2728,2113,2006,2016,1781,1818,2105,2209,2429,2722,2964,2786,2590,2458,2344,2930,3204,3281,3472,3852,3938,3747,3507,3572,3550,3260,3104,3212,3203,2563,2510,2651,3438,3500,3558,3285,2912,2626,1858,1526,1782,1843,2117,2250,2459,2950,2574,2116,2188,2001,1924,2464,2665,2437,2310,1896,1971,2082,1955,1936,1638,1713,2046,2752,2831,2448,2331,2093,1782,1918,2003,1635,1436,2086,2578,2426,2543,2746,3196,3145,2972,3029,3207,3374,3395,3199,3264,2958,2209,1529,1290,2381,2920,2843,2954,2590,2221,2599,2852,2915,2741,2119,1865,1425,1909,2611,3319,3731,3387,3233,3575,3790,3853,3398,3480,3537,3597,3567,2934,2322,2104,2059,2006,1980,2002,2059,2090,2135,2149,2131,2281,2338,2265,2164,2133,2490,2680,2460,2828,3233,3335,3445,3193,2628,2938,3310,3284,2785,2272,1986,1952,1992,1983,1965,2192,2225,1903,1995,2598,2973,2855,2987,3372,3469,3005,2419,2126,2189,2250,2020,2188,2701,3562,3580,3242,2507,1980,1899,1831,1400,1237,1663,2194,2944,3124,3702,3957,3978,3576,3311,3112,3029,3303,3631,3717,3864,3218,2610,2611,3128,3377,2535,2144,1924,1995,2314,2922,3588,3825,3762,3802,3537,3540,3687,3539,3804,4148,4169,3570,2878,2483,2016,1631,1694,1824,1641,2260,2489,2220,2153,2272,2442,2051,1524,1493,1542,1455,1493,1379,1429,1512,1379,1475,1680,2414,2587,2419,2886,2990,2297,1906,2092,2444,3001,3438,3837,4184,3563,2590,2429,2979,3393,2635,2277,2795,3060,2779,2227,2420,2460,2230,2292,2338,2499,2456,2209,2003,2079,2628,2178,2055,1700,1638,1603,2006,2254,1868,1509,1207,1502,1870,1886,1811,1702,1716,2037,1738,1912,2280,1760,1958,1949,1858,1790,2010,2126,1877,1770,1895,3042,3628,3529,3115,2724,2121,2313,2379,2400,2371,2220,2589,2522,2330,2347,2495,2370,2391,2570,2235,2228,2269,1926,1774,2045,1968,1763,1821,1792,1756,1631,1743,1954,1971,2015,2252,2847,3416,3190,2365,2750,2644,2197,2160,2295,1898,2026,2220,2179,2248,2783,3632,3629,2344,1686,1757,1876,1952,2043,2069,1885,1976,2464,2397,2066,1599,1367,1977,2432,2076,2083,1856,2600,2307,1609,1440,1940,1954,1857,2199,2337,2423,2554,2245,2317,2079,2402,2424,2419,2779,2542,1768,1879,2226,2534,2611,1970,2343,2491,2215,1878,2066,2337,2212,1898,2384,2610,2554,2337,2104,2238,2077,1979,2143,3130,2547,2177,2246,2377,2360,2097,1864,1822,1887,1969,2116,2254,2193,1904,1789,2054,1988,1759,1507,1553,1622,2092,2609,2130,1822,1435,1524,2089,2533,2537,2352,2423,2174,1830,1880,1938,1699,1627,2121,2490,2266,1703,1421,1300,1751,2174,2066,2022,2160,2286,2376,2117,1669,1347,1572,1909,2242,2339,2152,2364,1964,1608,1873,1931,1810,1631,1783,2203,2128,2121,1844,1736,1765,2183,2566,2096,1934,2284,2096,2145,2190,2138,2208,2248,2229,2089,2325,2180,1927,2086,2219,1908,2100,2396,2424,2388,2223,2251,2306,2297,2242,2076,2086,1982,2092,2289,2122,1780,1778,2046,2143,2514,2382,1952,1793,1652,1770,1997,2327,2541,2436,2420,2110,1827,1959,2144,2087,3020,3376,3591,3917,2958,2009,1977,2210,2934,3386,3880,3846,3270,3028,3162,3312,2907,1998,1635,1838,1922,1555,1550,1892,1869,1837,1989,2431,2414,2170,1893,1344,1018,1605,1938,2211,2530,2405,2594,3536,4000,4105,4052,3868,3439,3344,2802,2079,2139,2077,2054,1977,1599,1258,1292,1494,1625,1836,1915,1848,1998,2176,2093,2181,2412,1820,1492,1402,1407,1539,1852,1981,1856,2028,1975,1782,2027,2485,2724,2791,2653,2886,2618,2293,2030,2270,2162,1940,1951,2031,2145,2142,1951,1937,1813,2222,2718,2396,1929,2010,2204,2387,2677,2702,2389,2328,2359,2762,3111,2789,2386,3266,2536,2088,2771,3786,3984,2983,3022,3162,2177,1819,1811,2358,2113,2450,2736,2964,2509,1536,1492,1836,2223,3027,3028,2936,2588,2084,2866,3271,3124,2664,2243,2041,2110,2367,2701,1870,1667,2046,2165,2955,2170,2472,2469,2512,2832,2897,2955,3183,2955,2603,2429,2378,2381,2447,2511,2592,2615,2968,3195,3039,3481,3803,3431,3339,3262,2933,2556,2657,2647,2668,2653,2576,3185,3677,3396,2852,2169,2050,2056,1957,1433,1494,2066,2596,2264,1801,1803,1725,1571,1331,944,1376,2025,2021,1896,1805,2469,2376,2240,1616,1037,934,1349,1901,2242,3453,3587,3010,3559,3414,2779,3492,3776,3751,3630,3261,2459,2104,2047,1738,1932,1971,1850,2077,2597,2510,2091,2082,2311,2336,2476,2194,1767,2116,2374,2392,2742,2378,1641,1594,1804,2611,2611,2042,1554,1653,2248,2344,2059,2106,2806,2771,1990,1527,1459,2008,2127,2156,2472,2387,1959,1863,1873,2324,2222,2374,2388,1870,2160,2112,2295,2236,2414,2880,3147,2668,2117,2411,2490,1988,2238,2745,2813,2893,2727,2678,2451,2272,2340,2202,1842,1447,1947,2363,2260,1852,1535,1735,1968,2272,2322,2261,2297,2141,2037,2122,2216,2049,1730,1743,1959,1980,2454,2784,2271,1971,1444,1351,1263,1625,2263,3028,2573,2854,2591,2049,2064,2576,2676,2221,2058,2007,2884,3496,3247,2148,1477,1450,2260,2692,2247,2605,3740,4232,4220,3907,2907,2078,2762,2863,2962,3709,4324,4819,4866,5023,5216,4928,4615,4532,4306,4208,3989,3897,3570,3439,3257,3054,3255,3604,3730,3294,2542,2054,2122,2370,2271,2250,2327,2384,2294,2332,2471,2698,2710,2363,2271,2563,2732,2780,1845,1494,2467,2763,2930,3360,3938,3943,3269,3200,3442,2979,2299,1356,1430,1799,1770,1742,1766,1842,2154,2610,2584,2125,1809,1736,1826,1652,1555,1486,1828,1883,1777,1954,1655,1367,1511,1683,1628,1388,1376,1504,1654,2069,3178,3884,3714,2924,2303,2354,2298,1943,1837,2337,2887,1936,1869,2263,2049,2442,2235,2059,2266,2354,2702,2874,2724,2486,2188,2318,2966,3283,2370,2371,2755,2710,2250,2581,3044,2940,2477,2096,1466,1394,1493,2433,2958,2519,2489,3210,2614,1517,1556,2404,2935,2452,2289,2368,2624,2854,2343,2511,2313,2553,2928,2899,2751,3110,3494,3462,3140,2982,2175,2163,2118,1859,1844,2215,2274,2973,3783,3854,3594,3666,3063,2526,2184,1928,1603,1681,1852,1616,1853,2592,2357,1873,1914,1841,1822,1793,1605,2530,3115,2329,1546,1626,2678,2819,2261,2195,2026,1740,1718,2187,2359,2786,3334,3220,2631,2440,2457,2524,2233,1715,1403,1508,2028,2743,3166,2999,2565,1870,1626,1489,1181,1280,1832,2281,2204,1801,2050,1851,2622,3310,2668,2261,1987,2170,2918,2872,2875,3436,3276,3201,3248,2917,2676,2841,3172,2886,2741,3288,3166,3195,3480,3306,3160,2994,3067,3390,3040,2063,2111,2643,2206,1759,1726,1730,1991,1998,1547,1753,2111,2192,1551,1799,2142,2020,1909,1750,1710,1776,1754,1642,1699,1934,1874,2264,3018,2603,1816,1688,1755,1913,1748,1340,1410,1454,1452,1524,1400,1426,1510,1415,1380,1378,2068,2396,2197,2217,2428,2824,2835,3037,2328,2862,2746,2486,2352,2718,3161,3000,2738,3403,4312,4124,3650,3479,3065,3108,3611,3366,3163,3283,3658,3891,3829,3908,3109,2266,2170,2009,2125,1869,2181,2338,2244,2806,3333,3472,3581,3725,3045,2483,2855,3062,2692,2764,2955,3693,3000,2382,2085,1744,1490,1798,2209,1969,2002,2051,2284,2823,2702,3015,2822,2723,2801,2402,2241,2348,2439,2598,2105,1851,2031,2897,3552,3674,2774,2438,2586,2512,2492,2527,2369,2267,2281,2222,1919,2188,2024,1889,1743,2120,2081,2027,2454,2041,1897,2001,2335,2482,2853,2041,1657,2150,2307,2209,2031,2010,2144,2239,2014,2107,1990,1986,1809,2426,2979,2913,2426,2121,1855,1687,1563,1757,1860,2010,2140,1688,1582,2497,2522,1832,2081,2296,2001,2101,2380,2220,1713,1807,2050,2145,1917,1671,2806,4508,4374,3653,3851,4048,3863,3325,2412,1936,1792,1794,1781,2710,3655,3220,2133,1392,1714,1954,1825,1861,1770,1564,1474,1669,2125,1966,1952,1992,1965,2193,2023,1731,1597,2008,2410,1974,1825,1714,2477,1937,1139,1456,2018,1948,1831,1875,2652,3331,3249,3387,2902,2819,2522,2421,2206,2039,2136,2086,2066,2227,2337,2338,1668,1825,2344,2343,2254,2180,2221,2355,2244,2411,2824,2512,2353,2744,2763,2104,1600,1991,2303,2316,2635,2446,1976,1664,1642,1750,2222,2952,2453,2686,3021,2287,2002,2060,2199,2288,1997,1958,1872,2005,2238,2319,2436,2602,2744,2135,2711,3287,2658,2299,2534,2602,2180,2070,2312,2644,2910,2784,2931,2676,2531,3021,3818,3326,2255,2230,2553,2338,2249,2323,2601,2497,2467,2858,2683,2116,2301,2603,2697,2852,2977,2891,2592,2698,2908,2988,3636,3790,3128,1967,2220,2809,2555,2292,2555,3095,3156,2886,2906,2586,2719,2809,2801,2499,2288,2777,2575,2375,2602,2934,2793,2626,2553,2287,2449,2517],[2810,3262,3610,3176,3695,3327,2172,1464,1813,2216,2271,2428,2455,2568,2556,2117,2775,2985,2956,3266,2799,2108,1825,1655,1542,1721,1787,2229,3416,3326,3387,3320,2907,3012,3185,2961,2744,2602,2743,2876,2824,2495,2557,2663,3051,3052,3155,2718,2233,2126,1801,1558,1609,1770,1363,1163,1879,2587,2338,2503,2652,2509,2540,2615,2590,2840,3373,3254,2633,2845,3089,2696,2183,2091,1994,2361,1914,2277,2905,2936,3007,3165,2720,2692,2543,2634,2563,2797,2916,2467,2081,2053,1919,1807,1700,2189,2160,1506,1612,1893,2288,2571,1737,1396,1641,1875,2308,2386,2250,2338,2951,3261,3627,3860,3798,3818,3885,3165,2597,2329,2634,3813,4596,4872,4373,3296,2797,2687,2930,3312,3008,2502,2192,2071,2510,2523,2124,2126,2476,2906,2978,2554,2338,2730,3410,3283,2632,2623,2532,2335,2619,2989,2620,2075,2062,2877,3223,3194,2083,2200,2632,1929,1794,2339,2188,2147,2543,2361,2002,2380,2128,2013,2231,1938,2027,1736,1372,1333,1513,1883,1788,2079,2889,3184,2935,2242,1919,2840,3361,3345,3710,3767,3770,3923,4129,3899,3216,2874,3054,3249,3521,3637,3350,3194,3749,3427,3282,3271,2855,2241,2088,1979,1768,2123,2532,2217,2046,2724,3064,2998,2479,2423,2371,2272,2295,2284,2096,1997,2049,1846,2081,1869,1736,1979,2304,2205,1946,1734,2105,2643,2449,2593,2575,2099,1609,1837,2232,1580,1393,1977,2611,2974,2971,3099,2950,3264,3218,2905,3234,3155,2440,1850,1807,2276,2524,2510,2531,2157,1985,2940,3644,3984,3561,2336,2375,2358,2147,2692,3374,3447,3562,3752,3920,3764,3863,3285,2931,3022,3187,3333,3025,2408,2102,2050,2034,2079,2089,2191,2274,2265,2233,2275,2405,2416,2338,2216,1959,1888,2040,2497,2921,3295,3307,3502,2909,2727,3382,3573,3617,3496,3051,2661,2407,2665,2902,3155,3045,2592,2569,2712,3272,3109,2932,2965,2635,2567,2426,2475,2401,2479,2645,2397,2275,2432,2344,2145,1997,1610,1752,2089,1954,1946,2410,2958,3194,3011,2797,3384,3535,3514,3284,2725,2041,1921,2924,3797,3836,3564,2994,2853,3041,3516,3339,2808,2707,2653,2356,2457,2851,3764,3980,4074,4020,3684,3538,3697,3716,3581,3273,3072,2744,2291,2356,2273,1776,1682,1913,2248,2286,2277,2809,3135,2807,2292,2063,1684,1628,1387,1374,1503,1525,1384,1413,1470,1539,1514,2110,2174,1747,2538,2999,2440,1838,2074,2742,3500,3216,3446,4009,3696,3204,2827,2792,3342,3717,3846,4059,3946,3301,2793,2600,2375,2366,2358,2193,2629,2940,2388,2183,2261,2737,2427,2336,1926,1521,1394,1997,2315,2165,1787,1410,1499,1954,2098,1844,1713,1855,2100,1876,1974,1620,1899,2183,1909,1783,1826,2033,2134,1970,1717,1515,2262,3045,3500,3270,2543,2322,2885,3196,2692,1888,2066,2524,2286,2301,2519,2644,2222,2144,2652,2463,2316,2257,2136,1983,1926,1875,1724,1740,1473,1462,1691,1887,1998,2093,2172,2132,2303,2359,2824,2740,2874,2939,2677,2443,2213,2174,2336,2267,2329,3174,3518,3239,3107,2388,2110,2270,1867,1889,2418,2526,2328,2110,2121,2034,2029,2105,2250,2355,2752,2441,2687,2347,3031,2771,1963,1582,1860,1966,1742,1860,2049,1946,2166,1685,1871,2188,2409,2208,2123,2431,2074,1882,2158,1829,1727,1986,1776,2165,2718,2147,1830,2586,2987,2344,1870,2064,2147,2375,2455,2353,2301,2213,2083,2546,2732,2083,2026,2349,2668,2598,2194,2036,2140,2351,1918,1837,2001,2098,1880,1917,1907,1881,1778,1664,1781,1926,2100,2284,2187,2619,2138,1981,2443,2771,2419,2208,2297,1997,1945,1923,1794,1787,1654,2077,2325,2350,1814,1536,1992,2377,2145,1979,2244,2451,2546,2261,2232,1933,1726,2130,2811,2752,2666,2609,2278,1982,1715,1601,1552,1765,1793,1757,2024,2156,2117,1882,1626,1705,2603,3330,2762,2235,2141,1794,1985,2046,2186,2843,2707,2356,2111,2179,2258,2038,2123,2073,1943,2296,2386,2192,1974,2003,2155,2365,2411,2221,2218,2436,2298,2137,1755,1870,1822,1704,1492,1582,1964,2108,1850,1671,1610,1828,1972,2282,2210,1812,1969,2041,2093,1635,1456,1701,2692,3373,3535,3903,3460,2297,1962,1931,2850,3500,3562,3285,2498,2701,3044,3348,3222,2674,2224,2089,1593,1600,1969,2024,2331,2090,1956,2098,2358,2483,2188,1686,1599,1835,1981,2520,2504,2176,3078,3725,3927,4105,4201,4164,3828,2898,1787,1970,2119,2092,2001,1929,1931,1742,1411,1305,1493,1861,1991,1967,2387,2301,2116,2247,1920,1519,1260,1471,1664,1621,1814,1843,1742,1986,1980,1949,2046,2233,2557,2757,2737,2671,2022,1785,2356,2718,2400,2557,2198,2050,2189,2402,2533,2401,1987,2177,2857,2785,2194,1967,2103,2381,2542,2347,2281,2414,2568,2388,2363,2501,2375,2445,2491,2537,2786,3561,3696,3031,2613,2662,2056,1762,1859,1991,2473,2942,2624,2631,2286,1735,2198,2380,2785,2871,2961,2751,2688,2092,2835,3519,3270,3242,3328,3141,3182,3344,3147,2042,1640,2432,2534,3326,2932,2856,2976,2778,2715,2889,2496,3028,2879,2639,2518,2444,2511,2574,2536,2554,2716,3162,3221,3373,4018,3331,3084,3194,3343,2669,2712,2474,2521,2492,2412,2420,2643,2731,2778,2692,2213,1790,2052,2239,2135,2293,2359,2520,2314,1906,1742,1501,1336,1259,1369,1590,1917,1887,1680,1874,2162,2046,1924,1478,977,939,1141,1717,2769,4086,3150,3032,3571,3419,2818,3360,3586,3283,2958,2511,2058,1805,1678,1587,1900,1814,2122,2584,2269,1880,2035,2160,2179,2120,1954,2010,1875,2033,2522,2577,2911,2687,2126,2084,1933,2086,2172,2168,2398,2586,2652,2830,2257,2118,2766,2928,2424,2080,1797,2100,2319,2227,2438,2145,1716,2011,1736,1936,1721,2195,2457,1837,1293,1255,1540,1528,1107,1371,2504,2385,2199,3254,2973,2430,2689,3352,3529,2800,2353,2491,2211,2284,2107,1460,1266,1113,1759,2288,2329,1923,1497,1504,1918,2288,2257,2276,2276,2073,2208,2273,1730,1804,2267,2377,2765,2734,2730,2752,3013,3072,2069,2057,2026,2133,2701,2958,2294,2302,2821,2542,2409,2812,2656,1893,1696,1691,2494,2307,2522,2399,1923,2019,2697,2751,2489,3074,3935,4080,3587,2845,2194,2165,2501,2763,2934,3529,4164,4540,4575,4924,5038,4784,4586,4600,4339,4080,3692,3603,3391,3042,2976,3094,3494,3935,3783,3121,2623,2543,2446,2248,2063,2215,2569,2708,2481,2423,2550,2662,2636,2303,2243,2578,2754,2916,2512,1422,1850,3095,3233,3222,3773,3819,3681,3921,3307,2546,1708,1399,1482,1669,1755,1631,1577,1685,1939,2298,2663,2740,2078,1860,1895,1849,1587,1330,1377,1631,1847,1818,1654,1293,1576,1794,1708,1484,1535,1486,1739,1754,2711,3915,3677,2649,2303,2242,2087,1790,1722,1967,2100,1937,2066,2292,2075,2373,2096,2097,2485,2027,1750,2096,1753,1696,2053,2151,2220,2095,2549,3441,3574,2884,2238,2116,2590,2757,2069,1553,1533,2097,2199,2641,2643,2695,3027,3300,2732,2005,2357,2877,2087,1940,2149,2496,2335,2641,2283,2441,2532,2111,2640,2718,2468,2763,2757,3263,3054,2534,2335,3028,2630,1869,1565,1447,2177,3117,2887,2561,2813,2744,2358,2174,2173,2192,2108,1933,1895,2090,2471,2503,2039,2039,2404,2181,1981,2030,1740,2766,3667,3130,2286,1880,2381,2766,2393,2289,2564,1964,1829,2752,3152,3586,3653,3730,3627,3090,2701,2759,2546,1933,1171,1322,1478,2042,2492,1965,1902,2182,2039,1753,1798,2543,2649,2304,2069,2336,2843,2373,2346,2322,1965,2364,2278,2099,2312,2568,3164,3208,2883,3024,3008,2906,2695,2720,2907,2798,2821,2845,2597,2814,3210,3159,3184,3051,3203,3607,2727,2023,2332,2548,2095,1479,1208,1521,1966,1650,1342,2206,2541,2323,2052,2531,2381,2388,2604,2443,2115,2027,2108,2067,2598,2226,2104,2627,2471,2171,1782,1599,1572,1669,1459,1270,1410,1431,1482,1523,1464,1686,1675,1387,1321,1420,1581,1672,1996,2304,2555,2987,3173,2847,2200,2215,2564,2919,2883,3118,3586,3374,2719,2680,3296,3464,3439,3610,3167,2952,3165,3073,3036,2774,2727,3129,3799,3587,2430,2170,2264,1891,1878,1912,2256,2230,2454,2458,2540,3030,3269,3394,3137,2909,2855,2736,2546,3455,3935,3520,2577,2541,2901,2187,1609,2191,2128,2225,2458,2048,2138,2838,2541,1937,2105,2515,2144,2051,2440,2182,1814,2271,2091,2331,2416,2136,2357,2842,2706,2350,2380,2422,2349,2592,2064,1997,1810,1780,2148,2457,1869,1595,1858,2069,1829,2088,2458,2370,2598,2224,2409,2458,2352,1948,1986,2270,2241,1937,1836,1832,1937,2283,2396,2171,1802,1840,1985,2220,2542,2450,2263,2283,2513,2307,1831,1918,1829,1614,1704,1882,2339,2621,2558,2194,2134,2239,1833,1896,1949,1875,1675,1664,2069,2042,1742,1873,2605,4000,4853,4429,3815,2841,2328,2950,2980,2556,2019,1873,2090,3488,4172,3422,2282,1704,1602,1687,1807,1928,1887,1703,1532,1742,2024,1904,1954,1850,1737,1726,1733,1713,1575,1923,1785,1668,1593,1638,2176,2082,1909,2318,2236,2038,2280,2323,3132,3486,3068,2402,2088,2319,2266,2129,1909,2172,2490,2249,1827,1788,1871,2003,2272,1846,2329,2459,2336,2353,2713,2857,2513,2407,2446,2612,3042,3153,2579,1848,1926,2415,2541,2596,2703,2414,1913,1767,1903,1879,2169,2916,2707,3562,3549,2170,1559,1686,1917,1986,1870,1821,2048,2258,2231,2467,2316,2389,2480,2357,2879,2962,2391,1991,2219,2635,2815,2496,2456,2298,2075,2600,2608,2282,2321,2930,3772,3274,2251,2496,2669,2204,2094,2639,2660,2879,2241,2275,2429,2420,2327,2125,2308,2455,2460,2302,2247,2591,2546,2555,2683,2743,2442,2199,2717,2953,2888,2684,2522,2464,2446,2513,2786,2438,2128,2093,2373,2090,2149,2460,2124,2460,2708,2884,2541,2408,2392,2288,2479,2556],[2633,3291,3466,3541,3592,3056,2048,1534,2002,2347,2241,2132,1804,2033,2475,2010,2236,2796,3076,3100,2643,2007,1556,1855,1904,1738,1316,1715,2863,3005,3274,3265,3210,3320,3277,3063,2564,2244,2588,2941,2544,2254,2420,2464,2540,2866,3135,2604,2189,1924,1535,1262,1216,1100,981,1445,1898,2940,2558,2634,2802,2736,2674,2475,2328,2758,2990,2768,2407,2896,2929,2077,2391,2388,2103,1882,1805,1839,2303,2831,2919,2908,2694,2504,2757,2975,2856,2966,2863,2306,2268,2249,2141,2128,1952,2032,2061,1537,1694,1851,2076,2558,2198,2226,2267,2109,2215,1971,1756,2060,2569,2705,3574,3604,3550,3530,3449,3128,3178,2807,2745,3552,3904,4052,3559,2786,2886,3001,2700,3196,3094,2470,2207,2125,2346,2438,2407,2336,2604,3091,2930,2321,2630,3019,3381,3073,2611,2436,2720,2655,2445,2657,2972,2810,2676,3011,3208,2916,2346,2337,2356,2032,2012,1999,1976,2198,2551,2224,1786,1822,1794,1770,1981,1975,2014,1634,1450,1450,1576,2185,1517,1858,2420,2642,2854,1968,1734,3047,3501,3383,3482,3526,3608,3690,3400,2578,2100,2511,3195,3437,3703,3993,3956,4155,4469,3264,2009,2541,3028,2062,2212,2368,2022,2207,2394,2527,2747,3025,2954,2541,2429,2819,2366,2271,2588,2531,2164,2164,2210,2046,2086,2213,2250,3047,3433,1834,1345,1395,2100,2690,2406,2523,2517,2279,1672,1811,2138,1732,1566,1639,2370,3295,3421,3408,3123,2974,2830,2985,3256,2893,2315,2316,2477,2531,2521,2441,2523,2131,2150,3129,3118,3581,3438,2473,2622,2448,2159,2708,2911,2817,3528,3708,3864,3726,3732,3460,2537,2174,2136,2288,2530,2643,2520,2221,2188,2216,2326,2358,2482,2436,2275,2339,2410,2374,2372,2284,2123,2004,1942,2492,2644,2975,2976,2973,2425,2849,3476,3552,3503,3394,3096,2987,3044,3239,3196,3391,3131,2567,2629,2744,2743,2709,2858,2822,2752,2653,2501,3040,3249,3241,3032,2854,2741,2260,1736,1601,1687,1718,1912,2351,2446,2710,3343,3392,3198,3037,2850,2973,2984,2986,2819,2414,1880,1938,2569,3277,3057,2761,2963,3101,3554,3266,2889,3273,3488,3506,2711,2415,2739,3606,3508,3458,3022,2501,2160,2748,3292,2655,1884,1851,2201,2456,3152,3654,2531,1929,2303,2731,2388,2378,2404,2438,2613,2136,1708,1580,1581,1605,1449,1450,1462,1294,1334,1438,1453,1630,2188,2014,1856,2629,2951,2356,1942,2021,2811,3752,3596,3681,4132,4083,3702,3461,2846,3084,3074,2939,3292,3458,3085,2742,2376,2137,2298,2088,1894,2380,2919,2558,2331,2032,1918,2194,2288,2245,1800,1499,1881,2321,2288,2338,2038,1969,2434,2480,1864,1751,2366,2526,2267,1654,1706,2481,2447,2372,1765,1771,1910,1946,1917,2142,2233,2197,2342,2833,2864,2243,2369,2647,2902,2512,1911,2222,2122,1935,2055,2397,2889,2507,2784,3353,2932,2332,2600,2965,2337,1635,1519,1533,1476,1432,1782,2136,2124,1849,1980,2348,1989,1870,1666,2137,2930,3119,3124,2923,2806,2470,2238,2278,2194,2392,3012,2822,2278,2066,1998,1797,2087,1997,1974,2237,2464,2578,2467,2093,1672,1791,1942,2042,2171,2389,2476,2643,2712,2710,2424,2128,2156,2185,1837,1919,1902,1911,1908,2230,1658,1780,1998,1875,1891,2288,2456,2305,2402,2588,2230,2239,1817,1468,1838,2498,2365,2185,2338,2403,1935,1830,2043,2504,2630,2103,1973,2368,2420,2195,2403,2061,1592,1869,2170,2079,2100,2246,2222,2618,2662,2359,2319,2575,2421,2110,2060,1847,1638,1835,1927,1789,1755,1814,1808,2116,2309,2331,2580,2625,2626,2531,2545,2584,2164,2027,1980,2032,2011,1357,1400,1886,2077,1761,1610,2070,2302,1899,1723,2046,2235,2098,2018,2039,1848,2034,2410,2572,2581,2944,2978,2355,2134,1636,1355,1514,2110,2382,2169,2113,2052,2000,1845,1590,2054,3087,2783,2403,2749,2364,2102,1972,1885,2425,2752,2534,2164,1970,2186,2282,2313,2258,2151,2070,1975,1994,1884,2054,2779,2824,2402,2254,2141,2373,2687,2448,1885,1209,1229,1367,1332,1359,1630,2033,2101,1993,1950,1533,1385,1591,2278,1986,1613,1678,1797,2074,1767,1577,1705,2389,3187,3490,3938,3992,2720,1864,1683,2546,2809,2755,2514,2150,2468,3296,3705,3377,3378,3094,2341,1791,2030,2018,1899,1919,1938,1985,2016,2292,2512,2537,2294,2084,1760,1892,2040,2193,2843,3030,3190,3690,4016,4059,4171,3541,2120,1791,2098,2134,2109,2079,2162,2487,2254,1820,1667,1573,1654,1821,1754,1926,1976,1962,2000,1585,1390,1570,1754,1736,1750,1930,2038,1823,1879,1886,1796,1946,2424,2602,2425,2613,2235,1655,2494,3974,3819,3375,3521,2375,1830,1870,2360,2680,2719,2247,1930,2357,2683,2570,2163,2191,2186,2447,2526,2836,2800,2790,2754,2729,2859,2479,2338,2755,2849,2972,2765,2325,2436,2271,1938,2214,1998,1702,2033,3076,3532,3333,3720,3260,2035,1948,1891,2365,2765,3097,2802,2166,2353,2896,3177,3793,4084,3956,3646,3938,3889,3529,3230,3074,3194,3216,3219,3206,3184,2631,2188,2189,2365,1991,2774,2900,2765,2711,2795,2916,2880,2761,2763,2839,3032,3671,4086,3470,3118,2832,2923,2709,2615,2592,2289,2228,2237,2334,2239,2061,2100,2438,2568,2669,1995,2097,2395,2414,2575,2575,2536,2476,2109,1697,1182,1066,1423,2298,2098,2041,2180,2101,2112,1957,1810,1730,1438,940,1094,1346,2135,3024,3333,2500,2900,3226,3123,2849,3322,3371,2522,2024,1965,1696,1248,1372,1694,2058,1932,2062,2354,2036,1918,2026,1773,1937,2287,2092,2432,2194,2320,2543,1990,2497,3044,2209,1666,1889,2125,2133,2326,2818,2436,2171,2376,2098,2017,2829,3488,2940,2182,1920,2032,2529,2209,2148,2132,2166,1984,1871,1638,1205,1803,2410,2244,1808,1159,1054,1326,1001,1150,2060,2535,2695,3608,3106,2866,3189,3323,3298,2780,2259,2576,1948,1954,1642,1182,1147,1103,1411,2114,2348,1908,1488,1403,2270,2928,2563,2156,2116,2038,2354,2040,1450,1933,2243,1868,2084,2413,2489,2676,3189,4019,3415,2513,2500,2596,2659,2592,2562,2688,2437,2338,2558,1892,1659,1602,1610,2198,2821,2861,2773,2544,2415,2396,2587,2814,3084,2967,3391,3256,2552,2069,2442,2852,2707,2674,2699,3007,3588,4188,4112,4588,4733,4660,4648,4584,3917,3320,2964,2658,2360,2512,2962,3526,3955,3705,3233,3020,2643,2408,2223,2065,2044,2307,2619,2770,2844,2784,2539,2448,2591,2762,2616,2503,2761,2862,3013,2082,1387,2548,3702,3897,3664,3574,3795,4169,3545,3349,2717,1983,1698,1609,1443,1412,1404,1481,1710,1983,2637,3025,2282,1692,1648,1850,1548,1412,1393,1604,1922,1644,1353,1332,1900,1903,1764,1396,1405,1478,1717,1554,1887,3040,3168,2212,1865,2314,2693,2170,1847,1930,2403,2558,2447,2158,1991,2072,1761,2074,1878,1834,1335,1773,1889,2243,2668,2596,2189,2059,2585,3101,2822,2330,1745,1663,1864,2067,2448,2200,2072,2276,2460,2289,2139,2850,3168,2579,1744,1527,2050,3297,2711,2105,2336,2659,2149,1858,2040,2267,2329,1699,1910,1968,2406,2918,2462,3338,3409,2712,2917,3019,2727,2822,2301,1809,2345,2640,2382,2634,2686,2094,2169,2226,1857,1596,1638,1912,2186,2358,2703,2113,2084,2302,2500,2265,1991,2083,2318,2974,3676,3671,3075,2448,2522,2766,3043,2584,2884,2088,1601,2382,3007,3106,3085,3028,2980,2844,2657,2493,2602,1904,1390,1710,1716,1900,2117,2099,2307,2247,2113,2260,2076,2210,2225,2445,2836,3488,3051,2228,2195,2207,1825,2077,2123,2082,2025,2344,2307,2083,2385,2730,2954,3043,2831,2920,3019,2890,2865,2608,2397,2720,3184,3305,3194,3063,3085,3182,2965,2844,2766,2437,1883,1703,2046,2388,2333,1483,1950,2662,2795,1783,1686,2668,2896,2624,2679,2774,2460,2548,3153,2806,2430,2216,2100,2274,1980,1684,1700,1521,1453,1466,1403,1524,1349,1490,1575,1617,1493,1608,1585,1455,1423,1444,1699,1810,1809,2201,2723,2202,2630,2718,2145,2088,2433,2376,2444,3018,2744,2221,2367,2472,3083,3427,3539,3610,3482,3021,2731,2958,3160,2392,1610,1844,2630,2388,2065,2286,2092,1695,1608,1956,1857,2025,2388,1932,1974,2430,2709,2712,3009,2894,2785,2746,2827,3747,4196,3631,2813,3151,3783,3308,2413,2471,2689,2674,1783,1550,2020,2200,2531,2968,2262,1839,2144,2032,1916,1967,1646,1892,1975,2633,2376,1559,2130,3327,3309,2740,2988,2678,2333,2625,2067,1722,1559,1667,2567,3017,2375,2200,2194,2220,2383,2330,2159,2491,2625,2136,2350,2708,2481,2207,2048,2182,1680,1470,1691,2432,2520,2652,2508,2165,1835,2040,2356,2198,2228,2236,2185,2270,2364,2269,2045,2014,1429,1412,2000,2374,2265,2235,2316,2105,1878,1713,1825,2019,1972,2154,2069,1844,2322,2231,1941,2460,2764,3084,3992,3441,2469,1886,2037,2124,2493,2754,2906,2937,3022,3762,3993,2612,1935,1761,1640,1712,1838,1781,1830,1853,1942,2071,1729,1652,1936,2134,2382,2207,2065,1935,1930,2093,1838,1345,1539,2178,2512,2887,3307,2524,2091,2301,2544,2631,3818,3484,2501,1903,1919,2281,2471,2109,1692,2170,2646,2250,1744,1594,1781,2072,2497,2042,1990,2250,2316,2429,2608,2490,2337,2353,2002,2065,3051,3540,3495,3144,2546,2317,2266,2237,2196,2524,2053,2287,2756,2124,2013,2966,3710,3999,3474,2188,1782,2050,1830,1954,1763,1825,2075,2395,2595,2956,2429,2051,2182,2249,2417,2533,2466,2136,2029,2372,2662,2171,1885,1700,2115,3052,2695,2242,2279,2192,2393,2334,1998,2132,2304,2020,2277,2524,2667,2728,2290,2378,2767,2710,2561,2552,2536,2678,2647,2224,2602,2598,2325,2420,2557,2470,2093,1896,2163,2599,2900,2743,2453,2444,2388,2730,2681,2338,2343,2432,2378,1940,2232,2066,2245,2778,3466,3318,2964,2762,2727,2728,2795,3299],[3054,3253,3238,3253,3022,2791,2155,1847,1871,2367,2742,2338,2020,2405,2585,2324,1875,2078,2768,2985,2646,2492,2116,2183,1888,1449,1054,1395,1556,1946,2974,3278,3229,3440,3222,2757,2484,2299,2835,3489,2468,2279,2464,2440,2292,2699,3061,3134,2686,1965,1472,1401,1813,1924,1617,1884,2170,2764,3066,3162,2954,2735,2688,2797,2499,3156,2907,2945,3019,2944,2756,2212,2449,2697,2435,2482,2420,2138,2458,2874,2732,2500,2676,2447,2588,2369,2515,3134,2797,2026,1867,1997,2247,2462,1827,1937,2610,2083,2060,2059,1987,2109,2228,2812,2911,2289,1649,1726,1926,2030,2436,2565,2587,2368,2611,2797,2817,2953,3372,3124,3173,3631,3431,3293,3118,2751,2476,2139,2253,2686,2599,2352,2174,2089,2317,2583,2972,3185,3166,3218,3240,2830,2679,2798,2498,2824,3176,2645,2473,2484,2790,2621,3100,3029,2753,2465,2595,2275,2221,2259,2166,2378,2419,2234,2088,2676,3008,2521,2110,1971,1823,2003,2052,1997,2036,1570,1363,1334,1606,2248,1542,1663,1977,2667,3128,2166,1863,2597,2956,3068,3438,3580,3473,3399,2220,2127,2466,2864,3344,3739,3951,3925,4100,4572,4673,3231,2401,2964,2767,2016,1998,2156,2512,2404,2603,2854,2894,3118,2740,1989,2280,2610,2276,1892,1931,2276,2095,2054,2018,1687,1697,1930,2065,3251,4042,2201,1508,1404,1731,2420,2482,2574,2715,2557,2089,2041,2371,2154,1845,1691,2413,3481,3725,3584,3299,3160,2965,2613,2698,2787,2631,2974,3134,2514,2280,2392,2509,2203,2299,2212,2113,2886,2861,2539,2714,2292,2330,3124,2996,3107,2920,3001,3211,3454,3740,3253,2302,2018,1952,1750,1881,2310,2327,2595,2577,2734,2775,2556,2556,2491,2365,2332,2352,2332,2306,2304,2402,2392,2026,2073,2325,2376,2270,2122,2167,2723,3517,3769,3261,3054,2992,3430,3937,3807,3561,3635,3347,2742,2836,2991,2770,2707,3067,2791,2932,2694,2625,2790,2855,3045,3107,3241,3187,2793,2540,2409,2442,2444,2446,2802,3185,3728,3824,3227,3040,2878,2368,2243,2139,2442,2155,1809,1510,2102,2070,2111,1996,2165,2495,2253,2377,2431,2555,2697,2985,2950,2856,2458,2776,2786,1841,1979,2425,1951,1631,1959,2424,2488,2361,2578,2710,3480,4027,4047,3272,3199,3365,2858,2201,2051,1632,1535,1764,1727,1641,1591,1562,1562,1471,1526,1683,1523,1373,1407,1471,1827,1790,1625,2371,3074,3079,2265,1904,2036,2687,3461,3610,3728,3827,3979,3610,3144,2739,2490,2108,2136,2138,2303,2423,2269,1958,2144,2066,1814,2103,2350,2478,2235,2149,2242,2292,2376,2419,2544,2469,2245,1903,1886,1808,2012,1981,2404,2626,2207,1874,2323,2859,2680,2166,1723,2391,2525,2545,2165,1757,1615,1986,2108,2033,2271,2411,2247,2031,2062,2245,2597,2469,2304,2235,2038,1869,2187,2195,2148,2178,2292,2332,2140,2074,2362,2264,1754,2154,2967,2512,1824,1473,1296,1325,1645,1924,1998,1678,1481,1426,1715,1840,1809,1737,1616,2121,3031,2955,2591,3017,3114,2872,2388,2471,2699,3032,3175,2552,2257,2774,2446,2188,2120,1844,2088,2239,2789,2862,2207,2303,2171,1866,1652,1644,1661,1621,2008,2214,1750,2071,2691,3238,2761,1961,2156,2051,2165,2438,2430,2172,2150,2096,1649,1963,2488,2544,2502,2758,2709,2735,2819,2636,2236,2274,2513,2208,2022,2497,2432,1815,1950,2208,2379,2225,1847,1832,2272,2479,2117,2210,2372,2240,2254,2278,2227,1889,2243,2347,2730,2496,2497,2383,1970,1783,1947,2027,1991,2025,2671,2687,2185,1928,2163,2431,2467,2126,2053,2115,2165,2367,2489,2445,2534,2105,1991,1960,2255,2342,1415,1204,1726,1866,1647,1233,1477,1665,1519,1489,2083,2280,1785,1802,1767,1644,1965,2303,2992,3758,3274,2784,2369,1916,1496,1454,1758,2287,2316,2244,2207,1989,2007,2008,1913,2396,2833,2245,2784,2880,2546,2554,2340,2486,2541,2413,2206,1994,2356,2473,2404,2413,2295,2311,2309,1972,2339,2408,2309,2496,2267,2175,2273,2392,2275,2707,2701,1888,1527,1926,2136,1725,1422,1611,1961,2294,2210,2230,1815,1498,1675,2030,1721,1438,1478,1912,2196,1776,1480,1620,2085,2857,3304,3554,3348,2385,1921,1877,2067,2148,1986,1893,2218,2887,3217,3687,3663,3416,3626,2881,2104,1942,1961,2172,2360,2147,1911,1924,2146,2323,2448,2348,2190,1912,1617,1852,2810,3501,3485,3347,3481,3652,4031,3543,2396,1747,2107,2176,2181,2134,2301,2609,2323,1838,2106,2302,1801,1596,1786,1893,2215,2339,1838,1606,1443,1444,1731,1881,2076,2234,2080,2177,2192,2074,2120,1999,2156,2709,2597,2085,2107,1920,2018,3631,4464,3995,3761,3050,2313,2006,1714,1957,2121,2524,2719,2116,1991,2304,2975,2913,2629,2226,2261,2245,2674,2885,2501,2396,2814,2688,2480,3150,3603,3529,3218,2735,2568,3580,3287,2415,2520,2443,2696,3307,3088,3017,3404,3752,3008,1924,1771,1775,2082,2666,2809,2249,2132,2780,2471,2431,3537,4400,4157,3486,3758,4163,4045,3814,3240,2373,2258,2360,2502,2439,2324,1935,2657,2366,2014,2260,2339,2322,2472,2809,3089,3171,3183,3230,3156,2779,3933,3740,3078,3638,3207,2648,2301,2474,2501,2269,2286,2244,2302,2147,2019,2052,2118,2281,2524,2466,2157,2131,2431,2392,2331,2623,2943,2454,1924,1423,1544,1721,2474,2369,2177,1766,1610,1562,1190,1454,1502,1028,1041,1449,1587,2077,2406,2198,2248,2072,2338,2836,2525,2441,2077,1572,1655,1991,2218,1665,1500,1476,1668,1812,1829,2049,2156,1976,2034,2013,2293,2185,1948,2077,1873,2072,2093,1751,2542,3019,2178,1998,2313,2873,2765,1907,1960,2160,1690,1541,1781,1855,2230,2741,2209,1662,1772,1825,2645,1999,2172,2391,2298,1970,1834,1651,1323,1922,2712,2489,2533,1807,1630,1609,1320,1349,1733,2341,2789,3286,3239,3072,3086,2558,2290,2331,2087,2418,1882,1501,1451,1341,1318,1334,1775,2715,2919,2482,1980,1623,2415,2407,1934,2375,2442,2119,2375,2545,2258,2351,2217,1777,1982,2146,2302,2719,3378,3935,3627,2742,2131,2271,2387,2008,2143,1907,1852,2199,2818,2428,2143,2056,1976,2179,2283,2657,2687,2337,2307,2467,2384,2286,2523,2262,2542,2034,1798,1941,2366,2452,2686,2533,2513,2791,3288,3891,4026,4219,4264,4183,4247,3782,2974,2590,2357,2216,2232,2335,2665,3585,3808,3326,3222,3123,2657,2246,2015,1960,2134,2293,2262,2451,2963,2975,2774,2489,2545,2976,3155,2548,2380,2696,2895,2504,1675,1724,3173,4071,3764,3522,3508,3810,3783,3759,3348,2615,2075,1541,1537,1752,1496,1542,1771,1727,2261,2613,2511,1895,1742,1929,1750,1697,1309,1305,1635,1630,1228,1199,1623,1846,1847,1562,1424,1453,1649,1564,1608,2178,2609,2039,2083,2781,3402,2686,2269,2221,2835,2797,2181,2088,1947,2154,2270,2115,1678,1845,1360,1633,2099,2711,3229,2913,2387,2364,2443,2218,1908,2070,2047,1804,1614,1935,3120,3210,2359,2320,2874,2890,2482,2453,2470,1877,1381,1486,2179,3542,3274,2649,2261,1757,1464,1799,2453,2174,1869,1387,2095,2390,2669,2755,2112,2976,3324,2900,3089,2634,2379,2941,2975,2030,1938,2426,2885,2574,2140,2336,2536,2019,1452,1554,1749,2358,2339,2317,2415,2402,2605,2411,2260,2532,2269,1981,2529,3230,3416,2987,2145,2490,2573,2805,3227,2633,2332,1713,1480,2288,2623,2414,2271,2104,2387,1881,2064,2233,2040,1784,1903,2250,2225,1909,2025,2336,2596,2313,1908,2613,2347,1897,1713,2150,2636,2435,2169,1946,2343,3087,2362,1991,2227,2335,2258,2233,1784,1711,2152,2603,3060,3056,2884,3008,2884,2689,2678,2605,2465,2785,3351,3671,3348,3120,2940,2954,3260,3262,3054,2547,1873,1882,2467,2819,2644,2323,2552,2407,1995,1358,1595,2472,2472,2216,2586,2749,3160,3052,3584,3053,2759,2605,2025,1785,1672,1671,1557,1442,1393,1474,1361,1450,1450,1483,1576,1594,1463,1522,1573,1722,1602,1679,2231,1989,1746,1894,2329,2073,2447,2605,1978,1920,2244,2110,2050,2090,1809,2603,2728,2747,3333,3565,3410,3408,3323,2824,2569,2907,3344,2621,2475,2219,2215,2385,2168,1990,2398,3024,3223,2658,2112,2268,2255,2044,2034,2524,2129,2036,2513,2490,2381,2364,2906,3978,3837,3361,2916,3610,3886,4004,3135,2086,2790,2580,1472,2020,2567,2147,3221,4217,3762,2878,2896,2317,1940,1898,1665,1869,2195,2094,1678,1704,2544,3142,3089,2710,3125,3060,3099,3066,2720,2254,2354,2624,2913,3118,2356,2145,2349,2281,2425,2545,2331,2321,2126,2200,2655,2480,2372,2489,2502,2437,1199,1571,1937,2280,2101,2075,2007,1834,1975,2784,2896,2353,2182,2025,2101,2580,2344,2235,2081,1930,1907,2378,2852,2566,2128,2304,2164,1989,2113,2342,2170,2038,2323,2254,2126,2395,2858,2374,1741,2314,2294,2674,3559,3375,2615,2503,2585,2243,2348,3024,3819,4040,3762,3424,3037,2082,2186,1315,1553,1814,1726,1585,1682,1709,1813,1816,1499,1817,1936,1990,2401,2479,2376,2138,2139,2298,2014,1551,2031,2387,2059,2608,3414,2492,2381,2224,2061,1801,2513,2858,2361,1838,1894,2027,2188,1911,1685,1934,1935,1658,1680,1732,2066,2179,1965,1774,1968,2169,2373,2351,2066,2519,2766,2501,2141,2456,2702,2608,3304,3470,2359,1800,1962,2150,2153,2124,1923,2588,2768,2473,2694,3444,3821,4140,3602,2362,2303,2165,1492,1739,2128,2395,2277,2564,3013,3033,2181,1650,1773,2048,2121,2243,2380,2452,2196,2116,2270,2038,1726,1803,2144,2657,3298,2981,2483,1815,1743,1616,1717,1802,1967,2126,2106,1917,2089,2410,2314,2321,2865,2812,2899,2990,2916,2674,2430,2565,2646,2820,2825,2405,2469,2310,1892,1676,1542,2249,2471,2283,2631,3130,2896,2759,2702,2800,3052,2926,2439,2217,2112,1831,2385,3182,3205,3045,3256,2978,2791,3272,3700,3931],[3129,3322,3262,3188,3472,3069,2179,2106,2341,2905,3064,2744,2995,2932,2679,2408,2193,2263,2492,2803,2856,2648,2624,2276,2088,1533,1268,1457,1573,2312,3174,3300,3287,3470,3039,2569,2587,2694,2876,3166,2666,2391,2547,2244,1562,1780,2551,3462,2993,2887,2524,1992,2369,2770,2967,2743,2953,3228,3195,3429,2879,2646,2751,2619,2952,3173,3038,3713,3501,3021,2739,2430,2488,2489,2323,2195,2316,2480,2494,2990,3142,2991,2615,2671,2619,1922,2102,3088,3035,2257,1868,2053,2434,2435,1214,1841,2903,2735,2275,1956,2046,1964,2430,3019,2636,2237,2260,2681,2433,2070,2464,2504,2287,2570,2754,2569,2646,2963,3375,2879,3352,3793,3410,2976,2513,2907,3096,2291,2156,2809,2575,2456,2302,2255,2381,2462,2763,2546,2908,3405,3375,2780,2844,3082,2464,3245,3636,2918,2351,2719,2570,2293,2486,3146,3256,3094,2733,1999,1909,1705,2076,2342,2133,2139,2380,3251,3410,3370,3229,2586,2070,1886,1887,1981,2217,1897,1389,1218,1805,2068,1675,1871,2177,2987,3207,2322,1770,1643,2109,2640,2602,3008,2921,2194,1789,2589,3017,3154,3449,3537,2878,2893,3897,4272,4375,3284,3007,3099,2386,1843,2098,2501,2796,2661,2291,1881,1982,2623,2852,2396,2663,2603,2328,2012,1772,2020,2203,1880,1953,2066,2011,2034,2179,2630,3184,2197,1527,1359,1513,2062,2154,2129,2471,2714,2360,2019,2232,1874,1807,1730,2486,3835,4180,3786,3306,2873,2241,1737,1953,2329,3074,3305,2845,1930,1852,2226,2059,2239,2584,2201,1979,2087,2568,3085,2732,2474,2360,3050,2822,2767,2668,2912,3152,3528,3894,3084,1970,1736,1963,1939,2060,2227,2530,2645,2621,2987,3153,3165,2917,2864,2664,2347,2388,2429,2363,2338,2504,2359,2106,2051,2150,2094,1863,1902,2268,2644,3177,3087,2984,3127,3233,3783,4380,4396,4148,4042,3680,3251,3156,3279,3506,3299,3429,3440,3297,2962,2875,2751,2768,3097,3359,3273,2894,2810,3095,3249,2898,2800,3064,2843,3438,4169,3951,3351,3146,2775,2009,2005,1916,2172,1815,1644,1636,2028,1771,1488,1554,2537,2880,1744,1838,1926,1712,1858,2620,2762,3474,2997,2864,3083,2414,2458,2981,2285,1823,2298,2974,3111,2696,2147,2558,3726,4099,3857,3500,3546,3631,2945,2149,1759,1635,1574,1612,1865,1950,1837,1862,2121,1780,1539,1793,1509,1305,1461,1588,1918,1868,1753,2445,2796,2824,2185,1832,2177,2771,3311,3308,3497,3653,3828,3142,2626,2791,2587,2286,2023,2273,2605,2070,1933,2067,2405,1995,1755,2342,2323,2112,2175,2220,2391,2575,2524,3141,3743,2949,2626,1853,1679,1642,1584,2038,2597,2596,2215,1953,2069,2327,2345,2097,1951,2724,2862,2752,2117,2329,2234,2340,2227,2029,2216,2272,2177,1875,1432,1549,2215,2474,2417,2197,2019,1938,2210,2293,1935,1612,1544,1789,1945,1964,2536,2208,1997,2294,2702,2525,2256,2102,1900,1787,2024,1908,1714,1223,1564,1337,1519,1770,2024,2005,1834,1902,2027,2009,2508,2764,2859,2742,2521,3033,3045,3333,3270,2577,3023,3418,2491,2017,1797,1666,1641,1956,2863,3050,2398,2563,2363,1740,1639,1812,1851,1797,2155,2105,1704,2062,2254,2665,2242,2321,2410,1977,1919,1975,2312,2456,2476,2925,2621,2568,2664,2759,2502,2421,2099,2282,2497,2666,2575,2231,2103,2020,1786,2278,2192,2132,2197,2343,2497,2003,1907,2119,2210,2086,1844,2264,2220,2177,2027,1902,1901,1992,2181,2770,2843,2477,2642,2406,2107,2048,1956,1966,2183,2653,2830,2626,2477,2909,2934,3089,3212,2426,2014,1686,1658,1977,2200,2361,2186,1958,2156,2159,2342,2388,1990,1772,1719,2129,2123,1525,1545,1470,1400,1721,1585,1743,1943,1923,1898,1937,1801,2310,3654,4011,3155,2618,2342,2238,1912,1864,2252,2383,2185,2288,2164,1683,1780,1836,2135,2461,2530,2784,3186,2705,2663,2675,2665,2746,2437,1842,1873,2696,3345,2832,2500,2275,2053,2129,2207,2224,2238,2030,2115,2149,2294,2304,2058,2125,1977,2534,2734,2262,2182,2512,2632,2109,2103,2265,2104,2646,2297,2120,2151,1920,1649,1592,1719,1951,1907,1896,1931,1739,1524,1897,2120,2454,2648,2464,2192,1948,1845,1854,1948,1971,2301,2910,3451,3648,3331,3348,3494,3714,3582,3372,2728,2025,1956,2351,2156,2027,1955,1912,1955,2175,2326,2592,2496,2207,2308,3008,3522,3654,3793,4030,3544,2795,3156,2380,1673,2060,2308,2035,1855,2358,2736,2183,1868,1787,1885,1954,1698,1838,1919,2388,2545,1897,1550,1593,1473,1488,1767,1929,2222,2522,2115,2164,2478,2178,1878,1945,2091,2321,2231,1891,1857,2261,3204,4104,4011,3864,3317,3076,3064,2181,1675,1766,1677,2084,2645,2164,1962,1902,2470,3010,2976,2618,2321,2186,2387,2342,1852,2042,2636,2512,2424,3050,3647,3859,3813,3558,3629,4070,3319,2722,2937,3203,3928,3505,2099,1476,1844,2343,1823,1387,1662,1902,1989,2266,2047,1989,2518,2981,2564,2758,2920,3300,3195,3341,3766,4263,4176,3716,3185,2954,2997,2446,2454,2422,2821,2692,3064,2292,2135,2396,2309,2142,2206,2373,2695,2840,2808,2752,2764,3273,3821,3019,2476,3011,3068,2664,2359,1914,2146,2309,2358,2148,2251,2241,2287,2145,2072,2170,2364,2493,2067,2030,2536,2590,2275,2946,3564,3072,2552,1979,1718,1860,2013,1825,1721,1335,1236,1388,1433,1738,1520,851,1093,1401,1619,2159,2118,1857,2059,2190,2446,2721,2194,1914,1676,1463,1930,1738,1571,1573,1517,1532,1761,2002,1828,1978,2379,2048,1878,1992,1854,1756,1954,1979,1888,1825,2117,2644,2735,2337,2028,1973,2218,2797,2712,1964,2296,2238,1598,1532,1694,1813,2115,2312,1623,1837,1874,1954,2585,1963,2773,2732,2363,2221,1494,1307,1797,2433,2801,2382,2328,2384,2242,1896,2173,1864,1488,2446,3221,3121,2796,2790,3209,2601,2147,2230,1809,1646,1799,1677,1580,1509,1632,1742,2148,2416,2265,2221,1748,2360,2802,2152,2136,2984,2945,2297,2142,2072,2129,2372,2201,1644,1631,1803,2267,2898,3052,2979,2750,2154,1319,1864,2088,1852,2132,2235,2199,2441,2831,2938,2480,2028,2193,2114,1880,2391,2647,2402,2436,2576,2271,1898,1910,1582,1881,2222,2181,2399,2331,2366,2796,2774,2500,2423,2588,3199,3590,4006,3952,3763,3703,3117,2475,2343,2309,2286,2276,2280,2210,2840,3020,2806,3032,3061,2689,2294,2082,2062,2070,2086,2529,2873,2830,2899,2877,2600,2582,3143,3528,2791,2199,2656,2622,2382,2067,1351,2212,3022,3267,3110,3166,3329,3537,3603,3154,2453,2204,1462,1704,2101,1892,1855,1716,1660,1852,1870,2204,2315,1916,1676,1870,1930,1582,1377,1558,1754,1459,1187,1456,1938,2055,1864,1542,1442,1676,1655,1531,1722,2351,2198,1859,2354,2402,2392,2451,2474,3228,3647,2561,2438,2398,2314,2246,1812,2073,2409,1838,1700,1870,2378,3076,3039,3044,2779,2246,1983,1960,2467,2297,1766,1837,1946,2430,2754,2557,2879,2995,2722,2286,1958,2340,1846,1847,2720,3009,2894,2541,2288,1979,1588,1375,1437,1879,1523,1375,1629,2323,2633,2816,3076,2753,2176,2119,2586,2830,2316,1891,2132,2468,2324,2279,2921,3024,2328,2270,2479,2789,2708,2426,2166,2425,3018,1896,1512,2081,2565,2304,1861,1938,2304,2230,2069,2580,3058,2692,2047,1743,2199,2266,2128,1885,1653,1884,2140,1840,2338,2502,2091,2183,1876,1853,1765,1984,1908,1815,1844,1893,2614,2567,1971,2352,2553,2469,2024,1937,2587,2415,1882,1924,2196,2173,2166,2854,2430,2103,2810,2686,2310,2338,2226,2287,2137,2039,2150,2296,3086,3798,3431,3150,3133,2707,2535,2409,2514,2294,2288,3006,3683,3727,3464,3303,3146,3343,3672,3438,2637,1911,1738,1680,2262,2918,3393,2712,2042,1886,1898,2337,2663,2656,2865,3188,3274,3414,3204,2719,2247,2345,2262,2045,1742,2187,2237,1447,1414,1472,1419,1362,1351,1520,1457,1424,1461,1418,1495,1417,1734,1680,1611,2013,1855,1664,1672,1726,1804,2498,2807,2015,1797,1971,2275,2094,1740,2237,3343,2707,2985,3504,3108,3052,3341,3588,3352,3078,3356,3869,3357,2983,3159,2895,2403,2134,2312,2820,3307,3454,3011,3052,2674,2320,1929,1949,2917,2325,1706,2267,2316,1908,2024,2601,3283,3442,2938,3494,3647,3707,3316,2677,2339,2770,2489,2180,2976,3073,2630,4003,4175,4152,3661,2677,2264,1989,1669,1489,1852,2334,1957,1559,1754,2106,2486,2526,2276,2575,3244,3372,3282,2906,2577,2899,3176,3509,3521,2148,1979,2001,1921,2416,2874,2757,2670,2475,2172,2358,2529,2613,2597,2741,2160,1252,1762,2019,1806,1696,1979,2100,1940,2447,2984,2551,2036,2126,2132,1984,2164,2367,2424,2115,1791,1935,2279,2690,2576,2657,2850,2643,1948,2364,2898,2202,2020,2265,2210,2295,2308,2317,2068,2359,2930,2074,2399,2497,2253,2514,2590,2469,2664,2982,3641,4042,4069,4021,3249,2298,1897,1816,1470,1688,1771,1589,1669,1699,1521,1439,1499,1508,1734,1627,1549,1719,1994,1955,1956,1840,1691,1682,1835,2163,2115,2047,2071,2435,2166,1884,1873,2059,1680,1423,1923,2014,1898,2120,2193,2004,2272,2245,2165,1654,1655,1743,1620,1808,2012,1757,1669,1952,2186,2514,2277,2020,2182,2500,2237,2447,2612,2012,2040,2689,3028,2315,1903,2375,2585,2292,1954,1849,2118,2396,2325,2674,3482,3593,4271,4120,3164,2690,2099,1636,2055,2540,2390,2721,3176,3068,2601,1827,1526,1760,2446,2020,2048,2175,2167,2176,2073,1978,1866,1966,2267,2188,2142,3069,2746,2133,2077,2400,2044,2045,1925,2035,2321,2602,2718,2322,2457,1985,2260,2439,2470,2633,2524,2552,2784,2481,1920,2416,2992,2654,1610,1719,2167,2320,2598,2499,2701,2927,2619,2635,3012,3033,2979,2395,2665,3073,2908,2343,2669,2258,2142,2842,3378,3128,3143,3312,3266,3536,3564,3906,3562],[3457,3440,3372,2587,3083,2923,2509,2608,2763,3128,2783,2535,3031,3078,2765,2711,2701,2518,2618,2797,2864,2411,2014,1908,1859,1984,2194,1952,2092,2858,3405,3251,3222,3196,2805,2158,2191,2497,2522,2374,2322,2466,2408,1933,1582,1769,2547,3628,3174,2828,2866,2566,2733,3025,3017,2968,3257,3108,3643,3675,2673,2648,2588,2829,3485,2943,3042,3704,3463,2912,2685,2766,2578,2435,2208,1728,1993,2122,2475,3008,2876,2567,2495,2810,3018,2497,1779,2424,2797,2407,2161,2507,2879,2891,1908,1613,2148,2329,2443,2724,3031,2576,2625,2953,2858,2509,2977,3135,2649,1941,1882,2171,2253,2435,2946,3332,3346,3410,3725,3132,2864,3320,3097,2303,2035,2258,2364,2198,2720,3053,2664,2361,2311,2183,1915,2070,2575,2690,3473,3942,3466,3186,3349,3116,2261,2999,3159,2901,2344,2499,2454,2082,2329,3151,3350,3116,2396,1815,1995,1975,1923,1799,1846,2096,2722,3220,3145,3389,3301,2377,2061,1753,1922,2109,2187,2615,2104,1368,1925,1872,1564,2276,2919,3176,3055,2392,2325,2408,2198,2852,2921,3017,2387,1549,2203,2808,2974,3248,3145,2665,2473,3143,3549,3870,4019,3408,3809,3561,2521,2109,2376,2376,2359,2643,2821,2141,1983,2422,2335,2003,2254,2490,2169,1762,1558,1804,2208,2031,2105,2953,2830,2415,2297,2185,2453,2431,2001,1711,1779,2057,2046,2337,2575,2797,2540,1945,1675,1645,1695,1515,2026,3333,3796,2905,2509,2341,1675,1480,2160,2141,3084,3408,2547,2150,2190,2428,2123,2008,2441,2392,2192,2054,2333,2712,2837,2450,2230,2585,2986,3012,2713,2811,2987,3528,3891,2920,2176,2061,2190,2441,2520,2693,2802,2445,2401,2738,3172,3528,3484,3529,3350,2924,2558,2381,2419,2415,2380,2272,2246,2146,2147,2264,1952,1920,2214,2212,2647,2256,2890,3580,3740,3901,4183,4443,4444,4132,3758,3637,3570,3642,3892,3594,3619,3894,3474,3038,3279,3444,3605,3859,3864,3480,3130,3335,3559,3488,3413,3538,3837,3572,3436,3662,3592,3510,3450,3062,1885,1515,1487,1597,1576,1705,1768,1733,1676,1622,1600,2304,2215,1531,1786,2147,2373,2824,3345,3387,3378,2928,2533,2320,1890,1842,1994,2182,2194,2331,2528,2040,1768,1453,1998,3263,3861,3631,3030,2783,3164,2646,1726,1411,1450,1416,1434,1505,1548,1604,1970,1924,1466,1484,1545,1342,1384,1623,1687,1771,1840,1792,1992,2402,2654,2177,1792,2144,2965,3682,4096,3863,3776,3389,2922,2788,2940,2979,2655,2618,2838,2332,1926,1943,2300,1892,1830,2281,2833,2435,2096,2127,2272,2485,2611,2555,3146,3059,2619,2509,2268,1985,1748,1814,2197,2648,2791,2317,2236,2095,1917,2258,2133,1709,2348,2507,2835,3064,2588,2239,2305,2220,2252,2105,2113,2120,1761,1116,1132,1849,2685,2637,2171,1892,1872,2047,1954,1699,1722,1883,1948,1766,1605,2077,2446,2565,2498,2447,2512,2389,2159,1984,2008,2116,1818,1352,1261,1511,1590,1571,1509,1763,1941,1783,1573,1629,1865,2541,2502,2315,2244,2320,2909,3154,3384,3140,2770,3156,2921,2020,1594,1574,1781,1642,1959,2379,2332,2598,2998,2286,1625,1737,1531,1626,1986,2403,2020,1733,1940,1675,2193,2178,2308,2396,2020,1801,2213,2359,2142,1824,1900,2494,2709,2369,2178,2170,1650,1438,1832,2064,2452,2342,2244,1915,2010,1593,1809,1752,1908,2237,2465,2363,1955,2032,2348,2297,1730,1921,3031,2508,2241,1940,1945,2008,2079,2104,2280,2212,2458,2835,2835,2210,2233,1916,1980,2518,3083,2740,2304,2406,2432,2225,2814,2895,2052,2212,1767,1657,2177,3274,2928,2355,2190,1754,1836,2088,1865,1731,1698,1810,2540,2327,1565,1549,1947,1970,2081,1974,1821,2092,2685,2210,2073,1712,2259,3621,3491,2740,2499,2272,2225,2353,2567,2395,2307,2311,2456,1994,1643,2037,2333,1952,2221,2316,2263,2274,2576,2923,2995,2722,2556,2383,1940,2257,2731,3208,2910,2555,2392,2129,2061,2198,2149,1931,2142,2158,2369,2596,2132,1505,1486,1599,2089,2309,2178,2106,2048,2046,1799,2156,2211,1972,2254,2078,1962,2406,2458,2003,1887,1969,1826,1449,1583,2265,2050,1854,2133,1926,2142,2298,2166,1966,1622,1791,2201,2298,2282,2834,3218,3494,3670,3588,3493,3392,3295,3354,3506,3407,2742,2196,2173,2077,1957,1857,1905,1995,2071,2118,2406,2669,2612,2595,3165,3566,3661,3759,3848,2932,2551,2202,1837,2014,2256,2238,1688,1489,2292,2522,1834,1665,1625,1957,1897,2046,2293,2567,2823,2276,1643,1360,1415,1206,1330,1690,1730,2366,2533,2126,1989,2298,2309,2167,2344,2084,1919,1804,1658,1907,3107,4091,4199,4002,3308,2934,3240,2210,1549,1725,2009,1775,1780,2146,1880,1843,1743,1962,2355,2731,2894,2729,2307,2196,1884,1961,2318,2232,2248,2330,2562,3255,3748,3938,3828,3694,3303,2710,3059,3355,3425,3319,1878,917,613,578,858,1013,1237,1902,2091,2137,2414,2199,2523,3258,3279,2787,2631,2268,1917,2007,2366,2999,3632,3834,3790,3479,2910,2869,2214,2702,2626,3150,3790,3242,2570,2618,2566,2753,2807,2630,2554,2630,2656,2574,2428,2919,3686,3585,2827,2164,2535,2727,3062,3041,2514,2597,2236,2274,2378,2444,2552,2613,2376,2350,2485,2410,2416,2294,2226,2501,2746,2269,2564,3127,3175,2683,2030,1926,2076,1872,1607,1400,1243,1813,2088,2014,2154,1853,1177,1143,1541,1777,1848,2019,2101,2261,2317,2126,2273,1961,2139,2225,1945,1763,1454,1695,1930,1714,1731,1813,1982,1811,1796,2274,2047,1692,1755,1894,2228,2362,2515,2433,1883,2517,3178,3129,2341,1503,1221,1375,2103,2468,2315,2046,1674,1918,2322,2377,2501,2538,2452,2292,2420,2241,2389,2611,2028,2082,2420,2459,2163,1304,1531,2657,2955,2472,2061,2184,2242,2313,2046,2004,1751,1621,2198,2790,3089,2249,2757,3219,3107,2708,2630,2231,2386,2729,2519,2207,1811,1293,1538,1927,1648,1621,2491,2003,2343,2484,2119,2374,2706,2885,2655,2595,2470,2528,2152,2059,1532,1461,1710,2083,2359,2184,1681,1539,1599,1057,1987,2041,2198,2592,2404,2288,2378,2619,2584,2060,2009,2146,2206,1875,2242,2574,2341,2334,2355,2172,1977,1923,1866,2421,2648,2331,2534,2633,2864,2988,2855,2690,2414,2209,2874,3479,3693,3657,3514,3243,3212,2958,2434,2270,2185,2121,2156,2066,2438,2802,2851,2843,2831,2635,2393,2276,2188,2308,2580,2870,2633,2520,2754,2732,2443,2452,2834,3227,3267,2361,2537,2845,2515,2408,1720,1624,2104,2479,2709,2972,3000,3174,3150,2253,2270,2365,2197,2639,2292,1914,1874,1958,2012,1727,1565,1791,2159,2383,1895,1896,1635,1697,1601,1518,1860,1686,1187,1537,2397,2431,1698,1435,1656,1983,1819,1638,1829,2225,2020,1656,1731,1865,2204,2438,2291,3122,4260,3087,2525,2578,2764,2864,2526,2822,2833,2502,2405,1965,1940,2363,2327,2455,2409,2129,2266,2337,2270,1913,1887,2150,2045,2198,2544,3166,3528,3137,3416,3105,2842,2798,2200,2445,3372,3442,2733,2285,2662,2532,1782,1311,1508,1847,1599,1931,2338,2520,2663,2880,3716,3389,2044,1672,1955,2331,1987,1951,2237,2785,3184,3220,3051,2481,2448,2382,1974,2467,2635,2148,1945,2348,3169,2709,1862,2048,2220,1917,1934,2009,1948,2206,1970,2110,2035,1826,1559,1927,2230,2075,1822,2003,1855,1982,2592,2146,2178,2581,2195,2029,1874,2186,2462,2765,2696,2288,1722,1405,2696,3393,2356,2371,2845,2973,2329,2199,2613,2371,1898,1885,2100,2134,1852,2511,2818,2998,3339,3391,2834,2674,2574,2314,2042,2072,2589,2985,3549,3541,3301,3343,3394,3071,2785,2500,2373,2209,1951,2057,3067,3959,3684,3371,3227,3768,3964,3813,2640,1781,1698,1707,1694,2177,2449,1781,1963,2001,2105,2431,2545,2917,3285,3212,2932,2808,2578,2243,2242,2018,1822,2159,1865,1678,1481,1430,1534,1567,1530,1432,1382,1379,1311,1350,1626,1461,1395,1456,1656,1557,1550,1804,1789,1799,1815,1635,1692,2670,3318,2891,2866,2406,2486,2010,1733,2634,2953,2585,3294,2808,2269,2774,3190,3399,3444,3528,3467,3501,3221,3315,3530,3271,2829,2440,3334,3745,3061,2390,2651,2731,2415,2259,1875,1790,2521,2635,2286,2367,2536,2157,2184,2182,2212,2287,2619,3595,3860,3629,3023,3102,3184,3097,2906,3075,3024,3029,3329,3000,2597,3203,3002,2785,2658,2169,1831,1528,1819,1929,1720,1838,1958,2076,2345,2231,2010,2891,3566,2977,3001,2396,2150,2423,2700,3306,2955,2064,1968,1761,2013,2460,2321,2046,2033,2263,2626,2410,3030,3410,2994,2686,1746,1109,1440,2149,2140,1786,2209,2488,1865,1770,1977,2225,2105,2257,2316,1960,1803,2098,2422,2183,1572,1949,2355,2875,2808,2640,2496,2410,2030,2139,2323,2353,2230,2123,1841,1571,1596,1705,2026,3120,3353,2518,2037,2013,2548,2902,2762,2830,2801,2584,3250,3610,3947,4056,3051,2480,2041,2087,2107,1778,1734,1858,1580,1449,1555,1533,1651,1555,1526,1454,1511,1782,1739,1558,1706,1912,1676,1634,1732,1983,2256,2435,2182,2279,2149,1967,1804,1814,1654,1506,1704,1986,2054,2230,2027,2082,2725,2620,2120,1622,1849,1901,1611,1663,1885,1748,1814,1807,1531,1952,2071,2136,2307,2429,2336,2563,2334,1965,2324,2614,2883,3061,2268,2541,3217,2691,1890,1730,2186,2658,2231,2152,2851,3360,4108,3893,2672,2348,2268,2499,2863,2695,2662,3337,3282,2762,2174,1809,1753,2262,2239,1801,2053,2171,2105,2188,2256,2245,2451,2573,2462,2399,2493,2600,2334,2030,1890,1725,2062,2082,1758,1948,2295,3286,3032,2277,2350,2470,2571,2302,2260,2447,2222,2040,2488,2249,2045,2799,3047,2732,2116,1940,2177,2334,2584,2586,2698,2951,3029,3051,3299,3332,2905,2313,2719,3048,2699,2445,2764,2919,2701,2915,3220,3078,3405,3364,2978,3793,4034,4050,3381],[3648,3348,3472,2730,2305,2634,3226,3441,3094,2827,2470,2225,2780,3032,2796,2718,2450,2352,2720,2899,2932,2473,2033,2019,2074,2556,2584,2840,2544,2884,3115,3320,3462,3078,2574,2242,2209,2257,2270,2290,2375,2570,2560,1692,1631,1827,2271,2941,2762,2413,2255,2247,2459,2668,2765,2862,2781,2584,3275,2975,2473,2680,2735,2984,3584,3270,2634,3061,3419,2658,2567,3020,3130,3034,1990,1077,1057,1533,2476,3031,2947,2768,2571,2895,3075,2925,1922,2051,2097,2610,2940,3052,2806,2928,2917,2631,2358,2263,2566,3052,3304,2918,2332,2298,2447,2962,2874,2622,2380,1749,1796,1947,2398,2405,2684,3435,3983,4232,4276,3436,2496,2698,2630,2278,2452,2490,2558,2534,2698,2643,2645,2337,2259,2273,2280,2468,2789,3363,3627,3588,3662,3760,3241,2510,2369,2636,2829,2866,2454,2497,2878,2767,2930,3329,3520,3086,2035,1583,1740,2030,2372,2074,1924,2362,2754,2694,2723,3088,3278,2555,2292,1933,1922,2211,2237,2734,2512,1717,1952,1680,1348,2512,2932,2386,2679,2283,2230,1974,2238,3022,3392,3697,2929,2290,2758,2833,3075,3116,2958,3155,3286,3250,3116,3153,3242,3539,3707,3134,2521,2271,1798,1600,1844,2361,2995,2396,2197,2007,1486,1636,1903,2207,2094,1637,1614,1621,1910,2233,2136,2525,2820,2722,2728,2603,2812,2969,2750,2609,2490,2695,2365,2397,2318,2470,2511,2023,1794,1908,1774,1854,2182,2733,2700,1979,2110,1966,1437,1837,2389,2358,3181,3748,3254,2842,2765,2715,2250,2237,2344,2202,1896,1848,2065,1961,2352,2166,1946,2297,2908,3401,2873,2794,3166,3629,3662,2977,2643,2772,2750,2740,2646,2779,3124,2567,1696,2579,3466,3532,3487,3541,3642,3406,3119,2791,2554,2468,2299,2131,2222,2265,2198,2095,1983,2374,2310,2319,2599,2697,3052,3509,4003,4240,4179,4174,4572,4501,3733,3637,3805,3606,3952,4144,3953,3975,3748,3404,3608,3777,4219,4480,4263,3824,3438,3570,3726,3540,3504,3430,3385,3381,3460,3553,3680,3724,3470,3186,2187,1579,1560,1501,1428,1545,1517,1455,1428,1518,1510,1749,1605,1501,1352,1904,2882,3341,2920,2657,2890,2958,2790,2653,2562,2585,1964,1756,2062,2031,2077,1840,1655,1575,1650,2167,2699,2976,2589,2379,3064,2388,1564,1315,1336,1365,1388,1559,1420,1336,1696,1494,1416,1471,1416,1384,1594,1601,1649,1565,1528,1889,2102,2287,2515,2093,1870,2039,3043,3874,4109,3983,3803,2688,2414,2884,2426,2946,2934,2551,2244,1732,1786,1872,1986,1567,1710,2402,2310,2161,2260,2146,2179,2302,2696,2898,3096,2597,2566,3133,3288,2474,1906,2369,2419,1991,2392,2474,2330,2630,2197,2241,2112,1614,2031,2412,2901,3078,2666,2534,2416,2314,2564,2496,2118,1895,2328,1925,1956,2600,2988,2835,2086,1726,1740,1674,1499,1306,1695,2245,2046,1429,1448,1698,1980,2422,2570,2807,2746,2427,2028,1987,1986,1918,2028,1677,1343,1524,1686,1528,1400,1550,1875,2005,1837,1935,1902,2159,2473,2454,2260,2488,3066,3212,3141,2769,2674,2946,2540,1826,1618,1870,1928,1939,2045,1749,1559,1709,1932,1922,1721,1651,1609,1866,2099,2061,1908,2026,1634,1521,1926,2075,2285,2502,2035,1887,2481,1865,1656,1449,1511,2593,2902,2141,1576,1653,1516,1423,1722,2149,3034,2263,2335,2023,1869,1874,2124,1902,1705,1887,2116,1916,1771,2120,2119,2135,1698,1851,2318,2376,2310,2114,2164,2083,1826,2064,2382,2313,2405,2342,2345,2231,2330,2398,2624,2563,2675,2612,2356,2624,2453,2175,2586,2402,2221,2331,1916,1787,1873,2401,2668,2762,2562,1948,2114,2000,1859,1712,1584,1869,2180,2122,1831,2006,2406,2664,2623,2177,2011,2302,2293,2212,1924,1597,1645,2518,2862,2939,2728,2431,2070,1930,2256,2128,2332,2391,1947,1855,2056,2504,2106,1757,2231,2197,1654,1907,2714,3239,2994,2580,2362,2211,1930,2102,2396,2552,2600,2666,2446,2023,2054,2419,2358,2377,2134,2173,2735,2636,1884,1345,1379,1646,1961,2203,2185,2077,1768,1866,1791,2099,2342,2165,2017,1984,2208,2648,2746,2309,2018,1738,1490,1361,1392,2086,2095,1755,1849,1728,1898,2146,2118,1817,1466,1611,2183,2632,2490,2714,2976,3416,3532,3165,3209,3366,3309,3216,3107,3415,3295,3033,2268,1936,1927,2005,1980,1939,1969,2070,2163,2366,2565,2442,2626,3312,3661,3751,3494,2845,2323,2225,2371,2245,2293,2144,1770,1725,2140,1938,1940,1570,2192,2438,2228,2159,2239,2751,2755,1903,1217,1208,1288,865,1158,1605,2135,2924,2588,2049,1853,2127,2775,2403,2202,1947,1710,1599,1789,2496,3190,3576,3656,2986,2146,2523,2540,1692,1798,1835,2352,1913,1594,1720,1644,1857,1954,1797,1869,2115,2515,2644,2396,2264,2160,2311,2384,2049,2049,2490,2840,3070,3385,3450,3032,3392,3981,3475,3159,2976,3415,2342,1029,550,405,377,401,468,862,1369,2061,2690,2674,2278,2768,3051,2806,2302,2110,1775,1920,2355,2118,2001,2199,2997,3474,3505,2690,2485,2427,2666,2238,2539,3421,3342,2946,2727,2214,2239,2872,3306,3384,3054,3028,2623,2766,3663,3669,3683,3272,2547,2689,2720,2781,2640,2445,2421,2231,2460,2708,2716,2735,2868,2990,2500,2636,2301,2141,2523,2331,1819,2272,2251,2598,2986,2728,2464,2388,2260,1946,1897,1565,1476,1252,2006,2170,2099,2257,2239,1716,1332,1932,2345,1788,1909,2194,2243,2513,2695,2490,1940,2122,2670,2424,2019,1893,1818,1847,1920,1784,1726,1927,1957,1930,2420,2386,1810,1804,2469,2719,2458,2684,2942,2496,3301,3768,3144,2340,1591,1545,1650,2131,2370,2088,1933,2260,2280,2312,3229,3912,2937,2214,2603,2774,2661,2778,2668,2109,1641,2156,2360,2295,1693,2768,3939,4112,3001,2585,2209,2042,2718,2622,2326,2300,2472,2557,2376,1886,1711,2324,3017,3186,2739,2729,2519,2346,2687,2696,2696,2634,1967,2770,2891,2258,2648,3272,2293,1858,2049,2320,2380,2074,2224,2352,2408,2762,3397,2798,2042,1521,1418,1719,2034,2456,2272,1982,1321,1716,1774,2008,1793,1974,2753,3198,2967,2403,2209,1837,1743,2408,2193,2556,2408,2666,2625,1871,1771,1490,1221,1688,2160,2288,2546,2420,1899,2042,2244,2932,3011,2983,3045,2170,1970,2802,3559,3792,3797,3508,3240,3485,3465,2856,2428,2238,2162,2231,2135,2313,2785,2896,2761,2691,2510,2351,2336,2460,2771,2708,2476,2316,2359,2467,2479,2309,2197,2160,2719,3176,2603,2332,2732,2522,2193,1946,1676,1790,2202,2440,2930,2566,2181,2474,2492,2640,2956,3128,2910,2002,1549,1738,1754,1526,1548,1641,1744,1632,2408,2254,1909,1747,1657,1399,1533,1896,1863,1472,1729,2278,2032,1713,1797,1968,2052,1995,1965,2144,2132,1836,1844,1818,1552,1989,2791,3206,3758,3566,2952,2248,1992,3054,3838,3372,2893,2706,2746,2568,2482,2377,1918,1781,1769,1844,1996,2216,2589,2686,2222,1913,1836,1867,2014,2203,2497,2846,3472,3985,3381,3242,3219,2480,2218,2930,3232,2764,2435,2897,3034,2215,2060,2323,2200,1856,2223,2490,2498,2237,2143,3542,3802,2580,1793,1754,2244,2126,1972,2400,3123,3645,3559,3154,2894,3076,3007,2273,2308,2768,2450,2179,2161,2394,2164,1695,1811,1939,2093,2106,1878,1644,1856,2066,2027,1880,1779,1700,1693,1812,2085,2348,2209,1626,1980,2372,2176,1798,2075,2304,2105,2345,2768,2683,2836,2991,2614,2353,2221,2307,2908,2492,2293,2978,3010,2318,2225,2416,2037,1894,1904,2008,2321,1910,2030,2547,3146,3219,3384,3199,3156,2808,1859,1693,2266,2871,3307,3510,3178,3130,3215,3319,3220,2736,2334,2244,2182,1952,1894,2809,4384,4528,3675,3278,4023,4331,3882,2448,1757,1812,1653,1639,1543,1816,1685,1687,1624,1767,1696,1909,2522,2857,2636,2272,2248,2391,2662,2569,1856,2345,2302,2325,1939,1566,1472,1438,1519,1592,1531,1530,1357,1400,1530,1946,1778,1490,1471,1499,1507,1832,1745,1256,1250,1436,1666,2210,2891,3044,2573,2464,2459,2825,2359,2228,3156,2709,2247,2602,2326,2998,3230,3109,3125,3677,3795,3001,2635,2666,3053,3092,3142,3160,3129,3915,4123,3076,2206,2376,2348,2040,2031,1870,1717,2307,2643,2620,2472,2374,2208,2277,2490,2561,2261,2773,3038,3312,3176,2680,2019,1848,2419,3320,3320,3077,3004,3254,2977,3055,2785,2753,3276,3140,3119,2294,2055,2129,2013,2199,2359,2342,2411,2548,2491,2408,2531,2210,2118,2327,2047,2024,2030,1919,2240,2561,2460,2284,2159,2160,1983,1924,1810,1936,2176,2918,2866,3128,3322,2788,2306,1843,1328,1717,2395,2232,2024,2276,2160,1844,1591,1588,2102,2348,2455,2380,2109,2061,1988,2191,2107,2154,3110,3732,3422,2576,2301,2109,1970,2224,1855,2143,2338,1890,1837,1688,1672,2314,2436,2203,2710,2641,2300,1675,1856,2771,3064,2845,3296,3112,2607,3075,3282,3764,3829,3249,2790,2191,1892,1890,1697,1636,1655,1498,1461,1818,1752,1685,1574,1480,1563,1772,1812,1810,1560,1554,1759,1647,1599,1511,1932,2186,2448,2557,2522,2390,2049,1781,1932,1970,2076,1875,1912,1934,1986,2016,2621,2797,2591,2067,1702,2156,2229,2368,1905,1730,1783,1860,1836,1775,1783,1908,2402,2662,2180,2061,2120,2196,1870,2016,2392,3294,3684,3115,3115,3120,2336,1777,1959,2524,2858,2626,2199,1883,2258,3466,3096,2194,1867,2061,2360,2333,2574,2370,2911,3222,2578,1897,1813,1813,2191,1946,2079,2286,1856,1604,2025,2392,2598,2322,2488,2372,2395,2734,2631,2288,2129,2003,1979,2180,1838,1798,2665,2824,3110,2082,1995,2120,2103,2272,2314,2240,2370,2096,1956,2636,2593,2512,2488,2496,2503,2663,2691,2536,2154,1853,1900,2167,2171,2330,2376,2348,2592,2452,2271,2437,2815,2807,2916,2937,2828,2409,2302,2744,3128,3572,2937,2780,3408,3415,3557,3432],[3410,2923,2952,2362,2124,2845,3616,3697,3086,2890,2812,2299,2440,2789,2684,2770,2643,2555,2699,2649,2545,2287,2025,2103,2079,2345,2950,3295,2403,2382,2901,3255,3389,2799,1913,1927,2498,2597,2261,2413,2457,2580,2882,2979,2632,2011,1713,1649,1863,2395,2533,2359,2618,2894,3039,3006,2576,2758,3061,2741,2542,2626,2562,2778,3625,3480,2608,3311,3830,3258,3063,3073,2998,2969,2063,1311,1119,1302,2208,2568,2475,2668,2824,2843,2531,2864,2543,2357,2214,2407,2818,2977,2879,2960,2945,2698,2531,2452,2259,2709,3215,2990,2338,2274,2573,2545,2350,2438,2478,2111,2286,2185,2664,2459,2546,3151,3542,3661,3907,3644,2689,2366,2334,2236,2504,2514,2223,1801,2064,2340,2456,2240,2263,2670,2810,2791,2675,2742,2838,3426,4018,3797,2899,2608,2858,3062,3028,2892,2692,2414,2820,3204,3329,3355,3207,2677,2029,1742,1906,1959,2144,2156,2182,2494,2674,2580,2514,2264,2495,2519,2311,2096,1910,2166,2263,2578,2470,1744,1990,1611,1322,2549,2852,2012,1996,1942,1781,1516,2272,3318,3750,3884,3260,2884,3109,3079,2809,2337,2799,2887,2367,2057,2736,3036,2618,2742,3210,2971,2805,2438,1681,1580,2142,2557,2586,2684,3230,2614,2051,2164,1901,2203,2212,1415,1621,1879,2208,2007,1841,2354,2730,3030,3292,2957,2479,2320,2548,2759,2770,2958,2473,2076,2303,2471,2308,1960,1664,1515,1712,1794,1796,2607,2727,2261,1924,1816,1890,2444,2681,2445,2624,3098,3150,2892,2225,2170,2248,2712,2761,2707,2297,2210,2777,2702,2272,1980,1983,2208,2401,2544,2487,2543,2997,3265,3369,3017,2636,2557,2542,2641,2676,2609,2901,2476,1877,2553,3415,3366,3480,3598,3472,3378,3472,3333,3208,3226,2790,2475,2580,2459,2387,2086,1910,2193,2254,2253,2573,2887,2910,2996,3582,4329,4244,4055,4420,4352,3960,4015,3898,3698,4072,4220,4083,4084,4313,4140,3772,3789,3927,3793,3731,3537,3221,3229,3189,3032,3124,3079,3250,3304,3399,3095,3143,3355,3351,3272,2670,1824,1628,1636,1424,1531,1542,1648,1420,1393,1616,1611,1722,1549,1443,2014,2874,3072,2474,2676,2296,2320,2144,2514,3288,3716,2778,2271,2403,2075,1997,2365,2026,2073,1860,1289,1442,1731,1852,1948,2522,2151,1554,1337,1342,1356,1579,1655,1672,1362,1471,1479,1574,1648,1499,1477,1291,1222,1564,1504,1594,2306,2457,2160,2426,1892,1931,2220,3122,3995,4078,4049,3933,3063,3489,4245,3185,2632,2436,1953,1747,1928,1937,1865,1612,1586,2063,2128,1932,2307,2342,2165,1861,2447,2899,2958,2910,2737,2876,3239,3143,2318,2023,2770,3028,2448,2888,3046,2371,2585,2371,2089,1758,1723,1892,1901,2129,2493,2847,3574,3182,2097,2446,3053,2706,2390,2449,2481,2580,2408,2699,2692,1893,1748,1691,1582,1362,1275,1474,1674,1631,1543,2255,2345,2053,1980,2191,2578,2830,2868,2308,1998,1719,1636,2047,1894,1434,1416,1255,1144,898,1044,1853,2225,1815,1726,1703,2049,2482,2389,2322,2777,3296,3399,2978,2607,2465,2632,2524,2226,2065,2273,2165,2033,2083,1955,1802,2042,2344,2332,1937,1614,1892,2032,1971,2065,2428,2272,1848,1926,1979,1777,2166,2551,1971,2243,2408,1694,1962,1914,1776,2533,2939,2344,1662,2310,2097,1474,2058,2193,2383,2486,2383,1833,1358,1538,1827,1772,1810,1882,1889,1770,1671,1676,1698,2111,1880,1902,2166,2257,2702,3128,2779,2445,1908,1895,2131,2316,1992,1622,1649,1783,2082,2464,2688,2496,2307,2200,2286,2419,2201,2540,2298,2077,2518,2574,2131,1859,1863,2294,2386,2335,2131,2001,2123,1910,1749,1846,1926,1997,2331,2525,2098,1925,2119,2207,2291,2205,1940,2301,1919,2132,1594,1432,1824,2289,2530,2613,2358,2043,1745,1817,2311,2172,2134,1987,2006,2124,2312,2429,2164,2060,2590,2492,1731,2321,2862,3182,2661,2280,2180,2222,1880,1759,1871,1798,2354,2610,2587,2270,2242,2127,2093,2297,2094,2365,2395,1854,1941,2223,2250,1876,1698,1710,1988,2206,1706,2041,2056,2066,2093,2144,1957,1829,1896,1969,2293,2114,1635,1378,1264,1554,1578,1815,1962,1952,1854,1738,1820,1750,2152,1915,1678,1813,2153,2911,2526,2386,2753,3131,3270,3010,2708,2731,3198,2921,2858,3299,3492,3244,2654,2156,1904,1896,2003,2048,2004,1938,2166,2188,2314,2526,2454,2707,3218,3213,2714,2208,2084,2412,2399,2431,2532,2320,2048,2142,2222,2181,2141,2531,3378,2974,2106,2161,2608,2489,2196,1499,1300,1449,1138,1193,1656,1969,2412,2631,2197,1684,1701,2005,2668,2424,2186,1996,1683,1700,2336,2755,2961,3423,3305,2468,1840,1590,1273,1752,2579,2707,2720,2350,2780,2354,1689,2210,2399,1930,1650,1771,2106,2617,3106,2872,2590,2491,2537,2349,2233,2448,2831,2656,2617,2699,2568,3039,4094,3516,3143,2820,2887,2478,1510,563,372,308,381,676,814,1092,1781,2288,2375,4596,4584,2447,2204,1958,1700,1770,2501,2584,2484,2197,2024,2043,2520,3150,3492,3851,3865,3392,2689,2548,3293,3912,3956,3500,2741,2739,2954,2692,2618,3216,3460,2999,3498,3539,3568,3852,3431,2651,2997,3034,2763,2474,2240,2373,2853,3278,3173,2863,2744,2640,2843,2532,2376,2164,2264,3110,3292,2386,2420,2658,2530,2481,2390,2002,1594,1850,2056,1788,1521,2066,1985,2229,2167,2087,2018,2082,2028,1952,2530,2614,2275,2008,2115,2009,2091,2467,2321,1696,1603,2146,2467,2588,2357,1928,1890,1930,1811,1909,2584,2343,1904,2283,2546,2286,2095,2160,2146,2304,2489,3564,3736,3948,3881,2843,1716,1549,1687,1695,1779,1977,1859,1659,2149,2028,2079,3607,3707,2396,2066,2758,2674,2262,2291,2100,2109,2007,2633,2738,2839,2222,3025,4006,4015,3196,2644,2460,2392,2567,2046,2203,2173,2426,2554,1719,1022,895,1586,2897,2859,2307,2692,2706,2447,2911,3181,3062,2903,2234,2404,2636,2618,2561,2213,2255,2436,2474,2199,1962,2202,2423,2522,2689,2887,3422,2900,2160,1899,1801,2275,2397,3122,2810,2424,1503,1803,2127,1990,1613,1808,2408,3117,3571,2454,1930,2165,2441,2674,2595,2325,1965,3012,2564,1642,1825,1504,1132,1443,2227,2540,2624,2724,2190,2233,2531,2624,2547,2799,2279,1642,2268,3063,3648,3920,3746,3694,3313,3361,3765,3530,2765,2374,2379,2295,2253,2397,2633,2816,2591,2485,2381,2211,2190,2653,2807,2386,2152,2285,2375,2358,2360,2275,2082,2193,2828,3138,2607,1991,2074,2245,2175,2117,1837,1510,1980,2467,3045,2466,2156,2581,2906,3088,3385,3473,3117,2239,1656,1737,1659,1506,1592,1745,1826,1632,1792,2168,2067,1722,1515,1654,1738,1915,2081,1881,1997,1919,1666,1741,1719,1753,1753,1996,1948,1708,1862,1796,1693,1799,1548,1602,1711,1914,2233,2257,2076,1812,1820,2432,3676,3618,2987,2577,1923,1919,2802,2842,2211,1892,1629,1466,1625,1980,2448,2564,2412,2101,1559,1573,1671,1873,1896,2423,3265,3078,2683,2542,2813,2644,2623,2825,2711,2029,1570,2510,2888,2453,1960,2024,2099,1748,1779,1917,2123,2087,2189,2784,2829,2387,1965,2023,2100,1795,1862,2477,3087,3995,3934,3508,3441,3620,3608,2761,2136,2466,2845,2758,2475,2270,2071,1829,2266,2406,2135,2040,1636,1381,1723,2211,2241,2033,1919,1960,1836,1741,2314,2709,1926,1957,2363,2684,2341,1769,2014,2527,2266,1885,2226,2269,2579,2684,2598,2415,3012,2339,2438,2422,2580,3018,2764,2140,1917,1940,2327,2611,2125,2113,2730,2644,2809,2497,2377,2748,3241,3217,2519,2107,2004,2017,2404,2731,3054,2950,2908,2902,2973,3184,3000,2526,2194,2163,2107,1940,1929,2540,4214,4772,3928,3359,3529,3908,3608,2220,1709,1694,1600,1727,1747,2128,2127,2074,2041,2013,1895,2201,2632,2806,2942,2463,2110,2282,2742,2648,2386,3023,2679,2353,1775,1726,1955,2112,1612,1476,1575,1674,1564,1895,2146,2258,1724,1603,1655,1475,1662,1985,1896,1604,1849,2021,2259,2962,2953,2365,1902,1788,2087,2796,2631,2424,2668,2315,2030,1851,2389,3662,3507,2973,2497,3078,3408,3070,3118,2989,3563,3248,3298,3650,3257,2688,2841,2463,2141,2338,2514,2268,2214,1858,2321,2589,3008,2690,2414,2115,2050,2282,2767,2503,2998,3726,3042,2424,2558,2799,2078,1812,2082,2708,2734,2709,3043,3299,3344,3255,3196,3309,2985,3254,3301,2635,2724,2720,2317,1901,1566,1591,2468,3204,3081,2769,2436,2476,2736,2192,1765,1601,1476,1518,1978,2269,2432,2510,2324,2646,2889,3106,2640,2399,2576,3053,2951,2955,2896,2053,1358,1512,1479,1995,2270,1957,1981,2215,1917,1968,1922,1755,1901,2194,2459,2316,2212,2563,2731,2409,2093,2154,2895,3409,3016,2112,2081,1982,2247,2360,1518,1745,1744,1875,2453,2402,2115,2555,2181,1837,2148,2264,2220,2002,2659,2756,2745,2768,2917,2985,2901,2884,2767,3175,3311,2730,2340,2110,1731,1516,1775,1659,1446,1526,1564,1786,1638,1463,1427,1497,1589,1749,2092,2400,1854,1732,1455,1422,1387,1603,2037,2455,2566,2458,2484,2392,2027,2151,2122,2107,2323,2358,2414,2752,2436,2075,2225,2380,2410,2013,1931,2113,2242,2322,1991,1824,2024,1901,1755,1983,1887,1981,2547,2642,1843,1707,1756,1716,1700,1686,1957,3235,4147,3973,3472,2864,2245,2514,2580,2286,2370,2262,2454,2127,2120,2651,2357,1973,1792,1957,2082,2180,2371,1962,2369,2533,2099,1681,1737,1966,1980,2282,2876,2468,1985,2110,1969,1941,2257,2258,2224,2216,2140,2422,2564,2265,2518,3017,2608,1892,1525,1816,2461,2679,2941,2512,2529,2486,1940,2097,2610,2260,2047,2056,2230,2668,3072,2868,2524,2496,2698,2467,2775,3009,2441,2145,2398,2589,2151,2030,1787,1293,1364,1731,1979,2448,2854,3022,3011,2744,2461,2306,2509,3029,3380,3229,2388,2411,2496,2907,3299,2900],[2821,2200,1726,1835,2279,2784,2961,3829,3855,3311,3065,2468,2630,2897,2651,2355,2329,2408,2065,2179,2501,2666,2423,2216,2116,1996,1922,1898,1792,2155,2377,2388,2747,2199,1224,1159,2446,2611,2207,2868,2934,2606,2907,3636,3705,2807,1701,1667,2194,3066,2386,2521,2734,2841,3008,2930,2580,2502,2316,2227,2544,2641,2222,2519,3472,3426,2953,3551,4144,4184,3892,2972,2531,2749,2387,2219,2027,1917,2523,2111,2209,3089,3274,3019,2742,2934,2796,2950,2868,2238,2552,2819,2810,2608,2728,2522,2499,2410,2243,2785,3389,3292,2728,2502,2621,2344,2659,2858,2353,1986,2366,2554,2742,2467,2586,2701,2604,2577,2842,3155,2419,1922,1847,2048,2330,2403,2164,1948,2283,2353,2244,2070,2186,2613,2525,2314,2225,2298,2612,3262,3723,3061,2535,2856,3030,3107,2922,2498,2544,2497,2781,3161,3198,3106,2646,2272,1805,2146,2287,1861,1772,1931,2334,2761,2861,2636,2056,1711,1705,1780,2176,2467,2359,2198,2111,2292,2188,1340,1688,1410,1560,2770,3161,2494,2136,1899,1579,1498,2333,3518,4051,4047,3366,3366,3064,2651,2475,2361,2047,1943,2165,2358,2758,2699,1973,1855,2670,3076,3028,2308,1698,2303,3131,3245,2844,2940,3392,3074,2453,2213,2308,2779,2562,2159,2408,2442,2401,2381,2684,2644,2362,2685,2827,2535,2352,1930,1818,1901,2287,2692,2479,2436,2510,2353,2177,1833,1554,1822,2355,2198,2558,2521,1945,2022,2052,2119,2237,2715,2969,2301,1988,2415,2537,2929,2370,2193,2226,2455,2657,2965,2663,2339,2784,2710,2032,1809,2290,2535,2602,2688,2623,2548,2326,2728,3562,3381,2619,2262,2603,2752,2300,2080,2247,2197,2188,2181,2465,2775,3043,3140,3241,3497,3425,3254,3688,3759,3392,3522,3253,2499,2321,1868,1605,1872,1882,2197,2837,3064,3182,3004,3121,3618,4007,4280,4439,4259,4156,4204,3894,3604,4018,4167,4219,4264,4219,4090,3815,3696,3653,3575,3556,3407,3063,3212,3443,3255,3344,3257,2963,2780,2774,2356,2386,2663,2787,2877,2685,2022,1627,1697,1760,1469,1550,1536,1455,1447,1585,1571,1521,1396,1876,2778,2787,2394,1998,2497,2261,2977,2102,2243,3326,3827,3938,3807,3531,2446,1478,1662,1516,1694,1793,1455,1353,1315,1522,1727,1831,1856,1645,1403,1403,1591,1638,1754,3087,1872,1573,1643,1971,1969,1520,1459,1310,1355,1502,1513,1558,1776,1927,1925,2287,1870,1833,2292,3055,3764,4030,3980,3676,2907,3053,4543,4612,3159,2259,1996,1862,1831,2020,1957,1987,2014,1917,2099,2266,2522,2236,1958,1952,2690,2773,2638,2486,2236,2443,2610,2239,1967,1928,2458,2920,2552,2425,2125,1978,2349,2345,2003,1780,2171,2084,1773,1890,2199,2136,3161,3376,2255,2436,2570,2460,2642,2190,2353,2698,2181,2225,2376,2176,2024,1719,1594,1237,1374,1570,1664,1718,1801,2490,2434,2088,2256,2336,2378,2474,2670,2376,1897,1338,1343,1994,1962,1222,922,734,736,758,1427,1904,1838,1740,1689,1432,1623,2133,2359,2513,2437,2392,2521,2272,2523,2748,2753,2871,3018,2854,2631,2388,2318,2251,2215,1985,2240,2264,2374,2150,1763,1623,1594,1709,2140,2442,2266,1908,2000,1996,1815,2071,2308,1931,1887,2122,1909,2411,2768,2114,2266,2437,2220,1867,2263,2104,1775,2188,2553,3075,3168,2530,1454,907,946,1167,1593,2056,1350,1310,1291,1550,1927,1880,1982,1869,1944,2122,2070,2342,2702,3162,2614,2172,2420,2409,2717,2002,1627,1837,1730,1789,2144,1980,1805,1584,1877,2006,2314,2137,2088,1903,1915,2619,2902,2712,2400,2262,2397,2334,2307,1855,2215,2320,1687,1758,1961,1664,2088,2990,2632,2229,2086,1792,1801,1956,1816,2040,2178,2018,2010,1702,1749,2332,2001,1877,2222,2157,1650,1668,2277,2467,2098,2058,2465,2438,2179,2291,2291,2392,2297,2647,2145,2196,2661,2571,2547,2413,2287,2232,2243,2004,1847,1996,1831,2504,2690,2580,2385,2419,2539,2495,2493,2563,2900,3139,3167,3316,3066,2743,1793,1576,1905,2213,2198,1848,1782,1798,1659,1766,1898,1656,1948,1886,1771,2308,2003,1389,1147,1538,2014,1970,1861,2013,2168,1597,1460,1586,1777,2633,2209,1823,1620,1521,2286,2670,2534,2711,2908,3081,2975,2018,1932,2032,2386,3123,3310,3465,3321,2809,2495,2268,1945,1918,1939,2040,2083,2047,2170,2205,2319,2426,2401,2410,2793,3035,2408,2205,2713,2680,2499,2523,2562,2326,2382,2347,2317,2432,3344,3859,3152,2232,2380,2152,1795,1498,1436,1576,1189,1092,1588,1883,2002,2078,2228,2017,1708,2008,2245,2115,2266,2414,1942,1569,2104,2762,2879,3163,3218,2648,2017,1712,1578,1912,2736,3018,2877,2717,2607,2596,2008,1754,2053,2198,2182,1924,1801,1907,2236,2847,3188,2911,2433,2270,2361,2168,1735,1615,1835,2213,2263,2534,2620,3088,2997,3063,2973,2676,2541,2106,862,438,378,861,1981,1927,1915,1614,1947,3995,7964,5992,2187,2135,1671,1716,2452,2471,2337,2541,2580,2241,1945,1964,2229,2854,3639,3972,4042,3564,2702,2900,4120,4428,3592,2909,3238,3658,3183,2178,2729,3361,3562,3561,3535,3867,3619,2964,2921,3131,3057,2990,2477,2194,2701,3500,4058,3750,3271,3277,3016,2928,2973,2736,2214,2251,3428,3758,2766,2447,2375,2166,2027,1924,1520,1589,2205,1910,1331,2055,2946,2987,2456,1810,1793,1813,1813,1870,2059,2111,2009,2048,2034,1849,1654,1692,1706,1860,2015,1752,1782,1999,2129,1906,1809,1726,1826,1901,2033,2215,1889,1742,1936,2091,2379,2397,1928,2293,2260,2414,3541,4078,4050,3603,2418,1780,2029,1820,1981,1793,1980,2236,2272,2137,1962,2081,2619,2665,2350,2587,2842,2325,2082,1780,2054,2238,2354,2732,2872,2935,2442,2796,3155,2435,2553,2354,2349,2570,2009,1686,2192,2072,2242,2164,1641,1299,1114,2101,2624,2352,2247,2140,2330,2340,3123,3708,3244,2876,2220,1669,1680,2142,2036,2138,2611,3020,2566,2256,2091,2321,2706,2868,2652,2281,2398,2422,2534,2898,2755,2843,3090,3072,2642,2836,1824,1288,1244,1368,1758,2378,2593,2888,3045,2196,2149,2350,2249,2315,2567,2380,2097,2192,2087,2272,2307,2160,2691,1980,2033,2554,2768,3002,2608,2195,2186,2361,2171,2166,2130,1905,2547,3313,3658,4006,4005,3979,3657,3386,3462,3541,3083,2625,2459,2436,2620,2656,2573,2483,2424,2451,2305,2193,2189,2316,2436,2413,2257,2222,2377,2360,2258,2212,2195,2388,2813,2980,2597,2128,1954,2072,2382,2365,2186,1692,1505,2121,3011,2938,2652,2664,3029,3516,3663,3786,3658,2548,1889,1703,1549,1499,1557,1601,1660,1825,1806,1728,1764,1709,1622,1918,2226,2141,2023,2175,2052,1844,1745,1765,1706,1501,1421,1732,1882,1644,2016,2131,1685,1532,1388,1171,1302,2099,2204,1954,2113,1701,1454,1781,3287,3849,2952,2272,2166,1932,2584,2797,2187,1946,2106,2368,2497,2563,2696,2813,2402,1936,1761,1945,1838,2043,2257,2331,2336,2238,2179,2024,2824,2902,2598,2359,2342,2268,2292,2670,2688,2101,1683,1732,1882,2205,1826,1617,1903,2260,2387,2232,2042,2120,2531,2853,2548,1795,2305,2854,2814,3176,2822,2762,3266,3488,2950,2330,2119,2364,3055,3074,2436,2204,2613,2290,2679,2551,2332,2706,2034,1165,1301,1631,2199,2115,2087,2390,2011,2070,2714,2681,1837,2238,2814,2958,2578,2067,1883,2526,2498,1740,1675,1974,2586,2298,2310,2293,2384,1785,1705,2461,2710,2855,2357,1614,1575,1882,2648,3061,2688,2427,2962,3223,3242,3113,2489,2277,2299,1997,1916,1964,2183,1958,2082,2544,2833,2865,2942,2897,2684,2938,3327,2831,2124,1974,1930,1859,1895,2159,3293,4167,3875,3504,3427,3337,3156,1932,1625,1777,1644,1763,1685,1875,1959,1963,2362,2150,1846,2165,2580,2583,2856,2718,2396,2024,2398,2129,2185,2096,2048,1911,1779,2301,2680,2673,1796,1610,1587,1667,1775,2416,2943,2346,1737,1837,1824,1738,1717,1926,2108,2408,3152,3217,2720,2769,2697,1907,1364,1432,2437,3000,2780,2600,1823,1925,2578,2613,2624,2967,3097,2928,2584,2940,3323,3366,3066,2667,3579,3237,3181,3725,3282,2124,1869,2050,2186,2563,2584,2052,2075,2160,2192,1957,2482,2872,2803,2503,1936,2004,2287,2136,3353,3867,2985,2622,3151,3104,2457,2135,2028,1986,2288,2919,3496,3630,3447,3309,3966,3780,2876,3034,2338,2342,2479,2422,1809,1158,1309,1787,2695,3374,3360,2450,2275,2666,2746,2137,1781,1735,1791,2468,2483,2241,2511,2423,2369,2808,3240,3500,3125,2490,3000,3540,3500,3194,2857,2202,1594,1620,1946,2637,2137,1748,2098,2188,1667,1590,1772,1750,1951,2309,2483,2346,2256,2503,2425,2176,2185,2107,2146,2658,2740,2488,2264,1770,1710,1940,2005,1969,2001,2610,3464,3204,2525,2218,2002,2132,2176,1886,2332,2502,2608,2504,2200,2264,2199,2299,2665,2939,2905,2866,2762,1831,1598,1942,1882,1656,2574,2164,1427,1437,1639,1609,1456,1517,1600,1793,1720,2261,3011,2527,1803,1583,1559,1650,1887,2163,2490,2821,2402,2587,2503,2014,1758,1947,1807,2115,2413,2076,2442,3134,2554,1980,1605,2038,2143,1709,1810,1929,2224,2221,2230,2202,2358,2164,2118,2270,2138,2248,2864,2308,1779,1777,1824,1446,1462,1628,1762,2352,3206,3948,3288,2389,1995,2590,3076,2711,2303,2249,2197,2165,2502,2360,1996,1898,1749,1862,2066,2600,2525,2429,2641,2863,2552,1860,1506,1704,2019,2139,2810,2286,2317,2269,2320,2348,2317,2325,2262,2394,2463,2232,2221,2162,2436,2703,2208,1998,1622,2129,2478,2795,3328,3442,3177,2302,1877,2200,2336,1902,1949,2510,2752,2498,2264,2680,2430,2271,2525,2299,2471,2556,2253,2282,2522,2508,2408,2204,2426,2702,2407,2154,2366,2852,3179,2850,2577,2874,2652,2996,3155,3211,3242,2388,2200,2464,2433,2678,2830,2159],[2518,2244,2011,2151,2055,2577,2431,2833,3075,3159,3212,2576,2102,2235,2436,2290,2298,1898,1065,1520,2352,2592,2237,2263,2352,2402,2588,2447,2091,2136,1672,1579,2243,2340,2032,1700,2798,2820,2379,3128,3526,3167,2758,2367,3060,2711,1715,2441,2814,3272,2362,2424,2601,2634,2807,2737,2453,2435,2285,2162,2493,2521,2107,2701,3378,3204,3051,3350,3587,3870,3677,2905,2755,2846,2122,2127,2130,2244,3108,2976,2932,3344,3370,2984,2752,2587,2199,2750,2646,2104,2669,2899,2636,1998,1741,1684,2016,2405,2775,3068,3130,3151,2910,2395,2411,2453,2762,3052,2580,2281,2543,2547,2324,2192,2239,2060,1939,2013,2348,2480,2110,1952,1839,2251,2214,2258,2223,2407,2531,2124,1832,1486,1710,2177,2403,2253,2227,2584,2675,2911,3086,2805,2820,2768,2507,2596,2609,2031,2282,2487,2383,2296,2647,2950,2874,2199,1918,2339,2100,2072,1767,1615,1948,2817,3051,2416,1869,1695,1681,2036,2611,3001,3255,3085,2541,2497,2314,1498,1291,1248,1610,2509,2841,2658,2475,2144,1788,1737,2555,3475,3662,3306,3000,3142,2475,1975,1925,1998,2002,2326,2545,2069,1868,1943,1653,1960,2511,2530,2689,2403,3018,3961,3612,2749,2497,2773,3140,3030,2636,2390,2375,2487,1907,2212,2521,2541,2908,3226,3537,3168,2305,2500,2630,2454,2320,2150,1813,1601,2051,2216,2330,2633,2258,1974,2121,1878,1738,2988,3384,3134,3022,2496,2656,3012,2776,2371,2563,3054,2857,1922,1854,1877,2017,2500,2192,2375,2455,2288,2392,2697,2393,1872,2275,2419,1813,1872,2496,2932,2831,2475,2734,2792,2413,2784,3098,3188,3089,2227,1799,1797,1788,2010,1977,1897,2192,2152,2188,2595,2553,2573,2889,3121,3413,3395,3836,3649,3303,3383,3219,2658,2153,1866,2001,2002,2032,2589,3371,3317,3038,2756,2688,2800,3229,3849,4161,4341,4347,3989,3790,3773,3970,4042,3972,3871,3801,3741,3682,3632,3543,3301,3154,3216,3227,3385,3637,3437,3443,3346,2870,2503,2405,2124,2070,2470,2701,2629,2917,2938,2275,2083,2216,1708,1564,1483,1439,1573,1777,1815,1604,1447,1881,2956,2529,1853,1817,2396,2541,3562,2862,1988,2136,2843,4096,4209,3956,2607,1377,994,1112,1282,1879,2055,1658,1490,1594,1568,1468,1553,1606,1547,1858,2261,1794,1749,3074,2061,1485,1396,1709,1738,1411,1339,1262,1279,1549,1687,1571,1602,1672,1870,2114,1881,1792,2232,3043,3500,3979,3872,3396,3138,2642,1881,2908,2942,2064,1822,1833,1926,1885,2109,2265,2065,2094,2300,2072,2062,1758,1570,1917,2521,2677,2535,2401,2045,2403,2585,2187,2325,2585,2438,2395,2223,2172,1855,1949,2474,2439,2170,2086,2219,1924,1612,1869,1865,1859,2692,2800,2520,2788,2687,2959,3233,2589,2233,2197,2086,2127,1934,2099,2004,2001,1859,1475,1649,1681,1803,1746,1850,2065,1881,1921,2262,2269,2241,2139,2156,1981,1563,1264,1456,1830,1661,1309,1100,1232,1482,1049,931,1130,1282,1607,1535,1176,1367,1653,1745,1822,2088,1918,1889,1973,2431,2858,2844,2759,2540,2455,2680,2389,2301,2137,2006,1921,2368,2996,2836,2141,1798,1570,1488,1849,1818,1730,1712,1704,1912,1988,1823,2119,2214,1897,1755,2084,2099,2227,2421,1985,1916,2013,2029,2215,2235,2132,2133,2104,2853,3849,4005,3254,2081,1810,1861,1444,1733,2151,1636,1404,1261,1454,1572,1701,1866,1955,2565,2609,2211,2529,2574,2700,2352,2314,2599,2512,2663,2375,2358,2787,2259,1771,2320,2142,1902,1533,1576,1804,2054,2303,2656,2216,1872,2187,2995,3216,3029,2901,2023,1797,1985,2053,2166,2089,2030,2183,2168,1779,1977,2683,2402,2185,1923,2112,2354,1878,1776,2023,1989,1943,2210,2291,2496,3077,2291,1743,2052,2447,2136,2360,2591,2112,1952,1887,1725,1584,1672,1993,2421,2943,2589,2517,2522,2618,2513,2425,2368,2315,2249,2220,2148,2018,1892,2170,2192,2446,2668,2973,3027,2588,2518,2416,2248,2508,2909,3009,3122,2847,2342,1960,1609,1702,1979,2194,2279,2174,1748,1615,1385,1680,2232,1980,2172,1970,2083,2262,1902,1701,1702,1812,1928,2058,1976,2039,2260,1851,1780,2299,2134,2181,2264,1875,1409,1272,1836,2779,2634,2457,2714,2589,2460,1881,1953,2060,2402,3229,3415,3528,3653,3139,2632,2518,2025,1940,2301,2402,2059,2094,1918,1820,1990,2216,2410,2291,2523,2309,2062,2474,3061,3226,2852,2573,2510,2397,2270,2419,2357,2579,3327,3571,2797,2293,2251,2103,1645,1338,1529,1198,1043,1492,1698,1999,2215,2066,2110,2096,2107,2261,2062,2109,2459,2219,1692,2069,2962,3154,2865,2837,2438,2019,1725,1601,2114,2812,3335,3368,3105,2918,2494,1818,1570,1506,1517,1958,2515,2362,1779,1719,1966,2392,3033,3243,2485,2179,2112,1775,1371,1703,2501,2341,2100,2369,2532,2662,2929,3271,3385,3063,2047,1856,1431,827,791,2153,3528,3253,2902,2679,2203,3405,4339,2919,2123,1877,1757,2411,2481,2363,2382,2683,2935,2685,2243,2025,1956,1983,2341,3319,3869,3894,3208,3381,4190,3971,2911,2617,2633,2828,2823,2301,2741,3415,3672,3538,4000,3820,3148,2907,3106,2641,2535,2570,2192,2431,3035,3398,3980,3926,3927,3771,3457,3376,3044,2707,2265,2256,3317,3862,3396,2425,1968,1995,1923,1355,1739,2359,2273,1629,1451,2250,2446,2533,2091,1675,1746,1903,1634,1697,1830,1755,2015,2200,1989,1643,1571,1769,1744,1930,2076,1865,1813,1902,1649,1509,1789,2043,2413,2586,2308,1786,1429,1676,1918,2114,2267,2230,1994,2050,1979,2296,2975,3283,2989,2523,1925,2004,2787,2779,2315,1997,2099,2461,2384,2271,2375,1913,1460,1574,2083,2407,2538,2229,2036,2144,2316,2237,2275,2334,2221,2275,2033,2385,3128,2061,1737,2128,2448,2576,1947,2160,2391,1957,2170,1957,1482,1475,1638,2190,1766,1744,1875,1933,2188,2355,3751,4133,3342,2555,2008,1843,1804,2223,2311,2875,2838,2943,2143,2154,2493,2584,2607,2711,2586,2552,2854,2745,2623,3607,2930,2568,3224,2836,2366,2612,1992,1110,1206,1617,2071,2598,2618,2543,2494,2338,2225,2249,2182,2176,2674,2850,2254,2095,2770,3008,2973,2729,2979,2707,1897,2056,2566,2361,2200,2109,2173,2446,1948,2157,2554,2685,3496,3363,3431,3735,3905,4136,4113,3706,3342,3222,3002,2737,2419,2360,2679,2919,2745,2652,2690,2421,2118,2223,2474,2319,2300,2378,2365,2203,2210,2210,2225,2226,2398,2784,3100,3010,2597,2292,2188,2093,2312,2373,2300,2145,1486,1814,2986,3472,3030,2665,2860,3650,3956,3846,3176,2404,1931,1894,1646,1570,1748,1730,1778,1744,1531,1631,1614,1558,1509,1805,2554,1976,1815,2086,2186,2220,2045,2178,2047,1660,1644,1941,2501,2198,2228,2294,2022,1787,1632,1814,2355,2735,2149,1819,2332,1638,1366,1849,2509,2560,2547,3240,3023,2292,2338,2356,2047,1948,2119,2499,2648,2980,3338,2945,2695,2153,2067,2490,2119,2080,2643,2254,2097,2111,2092,2199,2496,2466,2199,2219,2642,2719,2576,2655,2456,1835,1780,2074,1913,1969,2177,2245,2448,2292,2133,2104,2387,3009,3344,3420,2908,1972,2832,3096,3243,2696,2012,2439,3065,3122,2538,2175,2105,2091,2600,2899,2470,2515,2311,2373,2413,2071,1942,2759,2702,2057,2009,2262,2427,1987,2031,2235,1945,2255,2900,2799,2018,1792,2256,2569,2119,2012,1973,2210,2140,2088,2077,2792,3105,2622,2667,2469,2159,2002,1906,2493,2663,2789,2256,1468,1637,2302,2647,2863,2920,2628,2929,3242,3686,3409,2280,2139,2161,2273,2462,2142,2170,2142,2113,2078,2624,3194,3061,3152,2943,2940,3205,3033,2380,2160,2131,2013,1800,2013,3074,3919,3903,3682,3716,3326,2967,1853,1588,1642,1586,1917,1700,2449,2867,2621,3394,3062,2369,2436,2443,2358,2480,2288,2249,2266,2279,2243,2200,1752,1475,1466,1678,2105,2280,2019,1829,1805,1853,2201,2330,2642,2390,1728,1828,1964,2129,1924,1692,1979,1799,2269,2950,3062,2426,2424,2285,1733,1491,1874,2740,3129,2388,2289,2312,2291,2880,3262,2742,2300,2763,3262,2973,2952,3242,3369,3032,3224,4008,3980,3816,3776,3215,2313,2051,2294,2231,2088,2028,2141,2383,2789,2287,2014,2322,2631,2710,2115,1643,1920,1926,2297,3077,3297,2734,2995,3219,2819,2584,2609,2542,2019,1900,2239,2983,2790,2911,3055,3411,3239,2837,2356,1869,1557,1653,1971,1806,1704,2452,2257,2498,2130,2261,2348,2492,2513,2727,2481,2577,2647,2309,2578,2810,2898,2675,2312,2547,2747,2922,3244,2685,2582,3532,3798,3484,3461,3388,2757,2631,2027,2375,2875,2958,3051,2770,2246,2174,2647,2485,1973,1966,2417,2282,2335,2485,2482,2050,1826,2075,2251,2076,2114,2317,2758,2668,2017,1752,2053,2275,2375,2077,2504,3221,3121,2612,2206,2441,2991,2999,2821,2950,2477,2171,2221,2123,2214,2493,2473,2756,3099,2950,2520,2752,2219,1749,1883,2009,2324,3084,2322,1447,1481,1624,1626,1525,1585,1620,1970,2170,2267,2701,2722,1854,1870,2276,2015,1997,2432,2787,2725,2258,2898,2836,1725,1091,1588,2130,2485,2504,2106,2215,2836,2798,2446,1789,1937,1839,1899,2166,2274,2233,1954,1939,1961,2250,2225,2241,2332,2396,2526,2600,2148,2046,2166,1993,1613,1531,1567,1581,1886,2758,3571,2947,2341,2039,2302,2248,2447,2215,2132,2336,2458,2792,2768,2051,2047,1896,1754,2014,2492,2488,2832,2913,2477,2176,2132,1813,2072,1839,1885,2357,1975,2176,2320,2829,2646,2025,1697,1663,1974,2270,2371,2178,1810,1874,2198,2256,2321,1764,1745,1985,2509,3242,3500,3104,2337,1978,2046,1613,1654,2458,3078,2856,2652,2597,2533,2397,2287,2520,2273,2625,2653,2923,2759,2910,2789,2786,2476,2498,2940,2805,2509,2707,3151,3366,3022,3051,3283,3221,3381,3316,3408,2941,2285,2835,3423,2967,2256,2131,1834],[2740,2871,2499,2750,2341,2135,1700,1844,2938,3431,3077,2669,2407,2388,2397,2101,2160,1973,1625,1760,2115,2262,2526,2577,2296,2434,3392,3404,2661,2187,1751,1741,2020,2930,3235,3142,3159,3187,2739,2835,3340,3466,2836,2330,2896,2458,1743,2007,2472,2742,2383,2509,2734,2626,2636,2703,2722,3110,2746,2430,2746,2316,2194,2896,3206,2980,2907,3206,3311,3228,3207,2866,2430,2567,2073,2109,2175,2690,3394,3790,3641,3474,3436,3250,3055,3370,2225,2454,2380,2319,2578,2778,2516,2113,1672,1483,1621,1863,2580,2968,2730,2491,2046,1689,1970,2441,2375,2668,2456,2269,2364,2109,1817,1675,1756,1796,1686,1659,2064,2448,2099,1972,1780,1823,2138,2130,2125,2360,1848,1528,1978,2122,2486,2460,2303,2035,2176,2808,2871,2685,2769,2736,2779,2632,2601,2664,2690,2109,2277,2441,2315,2714,3121,3137,2836,2008,1858,2123,1766,1764,1648,1814,2186,3222,3341,2554,2150,2071,2224,2752,3154,3254,3471,3111,2691,3142,3044,2647,2514,2248,2053,2141,1860,1802,2014,2098,2163,2255,2857,3270,2688,2708,2974,2934,2604,2075,2078,2189,2267,2385,2599,2368,2171,2720,2626,2908,2965,2677,2758,2662,2818,3357,3342,2967,3068,3044,2842,2585,2524,2762,2808,2324,1516,1827,2544,2874,3152,3582,3703,3494,2438,2875,2790,2370,2234,2166,1967,1843,2114,2105,2159,2226,1951,2164,2558,2369,1987,2680,2788,2666,2260,2152,2713,3075,2978,2463,2598,2939,2699,2357,2366,2077,2200,2265,2238,2177,2167,2502,2626,2829,2600,2303,2730,2386,1869,2329,2378,2781,2843,2843,2996,2467,2454,2719,2665,2940,3196,2438,1997,1963,2294,2447,2362,2353,2408,2226,2302,2813,2965,2899,3146,3098,3406,3494,3497,3530,3516,3707,3687,3040,2238,2192,2093,2131,2429,2928,3347,3263,2777,2635,2711,2675,2734,2993,3529,4049,4163,3892,3682,3646,3602,3565,3658,3732,3696,3497,3184,2896,2681,2452,2556,2868,2956,2821,3067,2744,2834,2855,2376,2201,2308,2358,2287,2312,2354,2422,2862,3128,2018,1890,2108,1808,1676,1667,1592,1536,1540,1898,1748,1626,1370,1864,2122,2284,2684,2808,2842,3284,2612,1960,2004,3119,4201,3955,3584,2361,1478,1338,1541,1368,1994,2664,2000,1476,1449,1546,1625,1437,1401,1608,2011,2161,1558,1293,1434,1434,1360,1659,2293,1665,1431,1536,1656,1510,1728,1667,1442,1436,1603,1914,2038,1778,1845,2109,3134,3449,3817,3719,3106,3243,3176,2307,1918,1710,1531,1801,2425,2391,2248,2842,2386,2428,3108,2567,2097,1926,1634,1393,1545,2215,2554,2185,2127,2001,2564,2649,2586,2918,3016,2722,2436,2159,2062,2025,2130,2208,2122,1913,1836,1986,1921,1885,2023,2031,2242,2950,3260,3099,2889,2642,2066,1887,2316,2209,1820,1958,1764,1634,1825,1968,2436,2153,1998,2270,1813,1932,1952,1597,1563,1614,1704,1779,2548,3174,2345,2145,1735,1437,1659,1380,1262,1371,1583,1728,1854,1575,968,1290,1808,1866,1944,1948,1794,1760,1552,1714,1687,1882,2266,2643,2522,2333,2526,2552,2639,2147,2006,2447,2143,1915,1960,1952,1787,2534,3278,2549,1662,1884,1668,1647,1913,1574,1579,2084,2457,2709,2230,2056,2810,2585,1931,1703,1765,1769,1927,1736,1780,1594,1575,1563,1605,1875,2178,2033,1938,2378,2879,3098,2750,2231,2326,2314,1770,1945,2225,2018,1762,1715,1802,1836,1973,1935,1959,2619,2530,2210,2872,2857,2902,2752,2486,2425,2221,2458,2243,2224,2540,2429,2308,2330,2492,2453,2138,2001,2062,1879,2303,2596,2161,1753,1581,2629,3011,3208,2966,2595,2441,2110,1857,1886,1980,1732,1992,2072,2066,1989,2214,2186,2358,2193,2596,2502,1910,1996,2123,2019,2216,2232,2061,2576,3326,3240,2236,2185,2822,2573,2521,2249,1884,1838,1652,1574,1790,1842,1814,2062,2586,2547,2446,2566,2525,2529,2454,2448,2354,2242,2294,2169,2046,2057,2220,2465,2596,2416,2541,2774,2531,2430,2512,2521,2564,2740,2780,2568,2326,2208,1972,2370,2480,2082,2003,2098,2249,1771,1663,1522,1771,2206,1937,2154,2380,2105,2048,2117,1896,1861,1684,1547,1579,1666,1714,2012,1986,1880,2177,1960,1881,2222,2160,1678,1382,1698,2626,2654,2404,2587,2490,2012,1784,1902,1923,2377,3118,3430,3543,3930,3991,2960,2360,2236,2204,2233,2208,2269,2251,2062,1656,1565,1853,2434,2780,2328,1808,2138,3141,3441,3364,3226,2906,2557,2451,2493,2597,2290,2385,2569,2843,2435,2127,1961,1611,1343,1613,1494,1068,1524,1716,1930,2059,2047,1968,1934,2095,1945,1874,2024,2222,2170,1730,1949,2641,2876,2940,2482,2238,1965,1592,1873,2610,3081,3121,3285,3392,3355,2941,2153,1591,1566,1476,1670,2154,2779,2966,2369,1815,1998,2106,2493,2956,2653,2158,1960,1614,1621,2304,2666,2612,2437,2115,2025,2393,2845,3269,3348,2310,1530,1525,1500,1628,1892,2702,3355,3118,2685,2250,2141,2207,1918,2100,1963,1729,2298,2504,2412,2395,2591,2977,2910,2542,2467,2320,1874,2040,2149,2640,2943,3602,3970,3894,3718,2619,2391,3060,2765,2907,3464,3104,3401,3770,3460,3724,3853,3297,2918,3299,3145,2615,2555,2462,2679,3124,3459,3654,3883,3935,4171,3828,3326,3255,2820,2170,2131,2545,2916,3306,3082,2490,2232,1892,1667,1841,2163,2113,1919,1565,1572,2229,1945,1856,1767,1626,1830,1910,1504,1668,2056,1859,1599,1675,1811,1755,1724,1934,1716,1733,1590,1537,1638,1645,1441,1433,1678,1877,2186,2519,2532,1881,1966,2206,2087,1881,1868,1860,2095,1906,1809,2128,2204,2178,1996,1966,1609,2180,2591,2718,2186,1844,1946,2359,2131,1967,2128,1602,1264,1770,2350,2178,2780,2470,2270,2325,2525,2484,2290,2526,2396,1921,1787,1853,3050,2869,1644,1554,2009,2419,2519,2812,2857,2391,2038,1981,2004,2115,2002,2042,1738,2214,2300,2354,2154,1762,2614,3184,2837,2078,1714,1516,1786,2262,1924,2364,2352,2245,2436,2689,2853,3041,2862,2824,2478,3000,3400,3298,3015,3473,3175,2752,2939,2442,1700,2067,2110,1597,2156,2500,2507,2718,2884,2364,2379,2338,1930,2103,2261,2417,2529,2436,1924,2079,2697,3055,3365,2664,2442,2901,2664,2521,2484,2336,2671,2632,2406,2649,2219,2236,2236,3043,3862,3338,3188,3494,3694,4050,4160,3992,3552,2962,2751,2747,2624,2687,2880,3062,2944,2749,2655,2520,2265,2405,2646,2510,2293,2272,2246,2124,2132,2493,2874,2933,3010,3304,3437,3228,2796,2566,2622,2676,2665,2429,2359,2286,1792,1542,2244,3108,2801,2512,2590,3129,3696,3116,2165,1811,1582,1683,1642,1842,2136,2015,1697,1506,1804,2046,1653,1445,1377,1571,1997,2014,2031,1670,1953,2393,2012,2067,2239,1930,1825,1860,2012,2133,2033,2002,2192,1943,1782,2348,2723,2689,2238,1826,2219,1941,1830,2250,2314,2275,2809,3166,2556,2002,2068,2458,2035,2443,2222,2350,2707,2894,2820,2684,2907,2646,2577,2561,2159,2107,2576,2197,2149,2220,2175,2120,2347,2717,2962,3166,3223,3064,2678,2075,1712,1777,2118,2332,1874,1816,2362,2662,2512,2081,2231,2374,2265,2847,3118,2994,2334,1998,2821,3043,3065,2654,2888,2954,2522,2611,2625,2486,2491,2586,2495,2844,2654,2091,1681,1836,1795,1352,1688,2665,3093,3140,2941,2470,1932,1828,1882,1912,1807,1763,2271,2481,2293,2204,2260,2105,1906,2096,2344,2139,1957,2082,2236,3195,3616,3069,2702,2321,2189,2382,2089,2736,3077,2996,2536,1686,1808,2586,2675,2351,2147,2493,3264,2895,2907,3083,3088,3068,2676,2310,2430,2220,2159,2624,2472,2151,3044,3752,3382,3299,3181,3179,2855,2624,2869,2946,2596,2041,1571,2034,3406,4073,3963,3292,3360,3340,2523,1713,2080,2214,2069,1990,1740,2326,2502,2690,3918,4092,3454,2502,1967,2007,2145,2008,1983,2156,2828,3127,1826,1455,1419,1515,1833,1865,1527,1514,1560,1731,2325,2579,2448,2105,1572,1874,2355,2386,1704,1392,1519,1726,1687,2088,2962,3180,2768,2280,2346,2768,2261,2010,2607,3061,2051,2191,3138,2604,2229,2644,2302,1605,2285,3460,3203,3481,3276,2790,3011,3617,3992,4007,3847,3890,3307,2510,2139,2113,2021,2253,2024,1816,1869,2110,1793,2141,2465,2218,2171,1892,1938,2371,2041,2813,2628,2622,2546,2938,2669,2412,2395,2648,2613,2030,2010,1924,1888,2280,2609,2372,2551,2736,2530,2393,1953,1613,1870,2137,2359,2706,2797,1628,1560,1946,2126,2358,2522,2485,2579,2781,3639,2908,2485,2554,2647,2784,2780,2664,2984,3022,3096,3398,3387,3430,3565,3426,2842,3354,3530,3088,2698,1922,2243,2211,2207,2757,2372,1921,2526,3146,2556,2344,2332,2307,2091,2254,2485,2242,1764,1606,1693,1898,1904,2011,2168,2274,2553,2476,2339,2208,1991,1891,1876,2176,2416,2275,2003,2182,2421,2648,3028,3245,2592,2134,2396,2895,2920,2757,2939,2807,3038,2813,2579,2376,3034,2776,1971,1688,1573,1834,1993,1561,1346,1414,1469,1554,1739,1752,1621,1805,2257,2050,2082,1964,1772,2376,2542,2142,2027,2310,2453,2950,2082,2424,2710,1923,1327,1509,1916,2200,1908,1594,1995,2315,2938,2138,1637,1604,1682,1867,1748,2007,2030,1463,1366,1421,2061,2185,2094,2189,2440,2377,1923,1743,1931,2145,1985,1702,1433,1492,1662,1936,2478,2984,3184,2663,1908,1746,1815,2036,2036,2118,2376,2534,3136,3403,2811,2460,2263,1920,1991,2453,2845,2957,2601,1953,1791,2079,2132,2055,1871,2092,2222,1925,1936,2457,2858,2502,2041,1875,1994,1788,1580,2019,2148,1864,1895,2329,2216,1780,1544,1825,2267,2688,3492,3551,2578,1952,2658,2352,1575,1782,2584,2988,2778,2710,2809,2896,2929,2558,2352,2380,2330,2812,3222,2868,2644,2612,2796,2584,2407,2372,2285,2315,2593,2709,3135,3098,2937,2916,3099,3226,3164,2922,2698,2671,2829,3510,3090,2854,2763,2346],[2275,2878,2421,2231,1930,1660,1593,1836,2496,2921,2680,2574,2293,2402,2239,1999,2093,2389,2349,2301,2074,2641,3032,2347,2088,2263,2799,3128,2640,2164,2032,2136,2448,2940,3244,3376,3454,3448,3075,2645,2620,2595,2122,2432,2685,2203,2359,2521,2392,2586,3051,2929,2791,2588,2512,3019,3404,3935,3213,2545,2568,2159,2384,2831,3085,3242,3204,3420,3306,3055,2830,2565,2876,2686,2236,2610,3174,3310,3415,3748,3616,3265,3203,3415,3043,3218,2931,2793,2480,2385,2386,2457,2473,2588,2173,1941,2080,2018,2556,2476,2387,1771,1290,1535,2092,2623,2403,2307,2356,2165,2017,1674,1449,1322,1464,1644,1656,1608,1681,1927,2112,2294,2185,1975,2079,1835,2036,2150,2105,2501,3006,2867,2501,2463,2392,2200,2496,3169,3061,2796,2688,2809,2552,2504,2389,2396,2632,2220,2070,2251,2287,2626,3317,3087,2674,2341,2292,2242,1952,1885,1991,2306,2505,2995,3366,3199,2830,2665,2793,3069,2651,2687,3152,3349,3036,3233,3155,3080,3139,3059,2751,2555,2260,2260,2033,2210,2309,2165,2558,2452,2044,2712,2639,2181,2450,2109,1963,2092,2547,2322,2073,2021,2052,2756,3488,3835,3589,2880,2317,1854,1167,1414,2699,3017,2634,2320,2313,2401,2942,3351,3219,3012,2666,2367,2187,2678,2844,3663,3783,3538,2756,3028,2706,2341,2213,2306,2469,2141,2349,2454,2142,2284,2647,2700,2402,2097,1753,1797,2214,1997,1797,2178,2823,3023,3308,2938,2701,3121,2910,2597,2599,2590,2505,2611,2536,2345,2308,2854,3190,3172,2644,2813,2867,2698,2685,2558,2534,2755,2930,2913,2820,2608,2526,2796,3062,3083,2764,2542,2396,2460,2602,2473,2393,2315,2361,2142,2453,2823,3060,3096,3270,3233,3068,3076,3275,3415,3540,3511,3168,2785,2867,3686,3416,3032,2824,2995,3104,3025,3077,3190,2957,2812,2953,2886,3095,3442,3619,3492,3386,3633,3493,3253,3200,2981,2558,2138,1956,1945,2136,2202,2410,2590,2360,2112,2558,2498,2424,2408,2044,2203,2461,2427,2286,2262,2315,2388,2755,3190,2436,1879,1772,1623,1725,1795,1577,1438,1437,1826,1836,1846,1615,1469,1687,2578,3374,3009,2499,2565,2261,1883,1859,2597,3322,3816,3702,2757,2404,2001,1620,1477,1930,2765,2050,1764,1460,1410,1614,1774,1593,1473,1591,1558,1473,1469,1344,1429,1269,1415,1876,1614,1456,1531,1571,1709,1597,1509,1494,1514,1664,1955,2185,1707,1839,2135,3103,3102,3584,3861,3422,3291,3276,2776,2077,1747,1889,2299,2779,2610,2913,2922,2096,2665,3166,2812,2197,1913,2040,1721,1405,1812,2105,2163,2036,2299,2548,2413,2479,2721,2851,2808,2615,2571,2303,1850,1966,2036,2062,1597,1456,2050,2256,2368,2436,1569,1621,2788,3283,2400,2392,2309,1815,1973,2473,2277,2077,2008,1895,2023,2063,2289,2452,2144,2058,2340,1884,1735,1855,1606,1593,1700,1793,1671,2060,2800,2276,2101,1664,1472,1305,1335,1624,1789,1753,1777,1605,978,796,1366,2131,2391,2438,2720,2077,1745,2003,2294,1932,2031,2620,2835,2521,2282,2325,2009,2172,1637,1710,2058,1935,2021,2417,2051,1739,2605,3069,2294,1723,2447,1970,1779,1947,1617,1711,2505,2887,2955,2251,2156,2728,2125,2156,1928,1648,1826,1739,1875,2073,1598,1344,1734,1942,2053,1997,1858,2114,2113,1979,2001,2260,2141,2061,2090,1897,2149,2416,2266,2040,1995,2073,2123,2144,1820,1833,1649,1913,2004,2014,2013,2407,2653,2505,2658,2264,2452,2361,1973,2442,2536,2154,2200,2388,2220,2092,2193,2047,2078,2280,2130,1857,1898,1752,2365,2735,3199,2732,2205,2089,1968,1789,2052,2247,1992,2229,2086,2035,2013,2068,2208,2149,1801,1865,1911,1757,1926,1924,1731,2012,2493,2574,2262,2366,2834,2807,2669,2612,2536,2386,1997,2094,1837,1570,1517,1876,1900,1635,2065,2570,2674,2670,2508,2706,2520,2625,2557,2415,2298,2267,2257,2177,2192,2397,2535,2364,1950,1912,2371,2541,2223,2431,2662,2359,2447,2861,3066,2677,2125,2236,2678,2507,2177,1937,1733,1925,2157,1911,1937,2324,2092,1698,2080,2380,2024,1873,1762,1754,2116,1854,1647,1506,2217,2055,1947,2148,1837,1575,1641,1838,2297,2522,1897,1677,2077,2473,2195,2281,2423,2082,1674,1731,1802,1935,2253,2349,2905,3256,3714,4205,3497,2496,2132,2483,2426,2232,2130,2130,2019,1650,1572,1636,2404,3088,2469,2129,2744,3253,3305,3207,3159,3194,2913,2394,2285,2280,2200,2246,2604,2588,2292,2048,1554,1353,1484,1656,1656,1591,1681,1824,2219,2006,1697,1732,2437,2587,2117,2149,2433,2060,1721,1718,2579,2997,2378,2236,2001,1882,1880,1787,2422,3092,2949,2929,3330,3018,3330,2657,1809,1578,1554,1500,1679,2085,2677,3282,3136,2171,1968,2022,2252,2526,3024,2994,2636,1872,2072,2491,2430,2458,2712,2325,1770,2039,2501,2880,2519,1782,1627,1694,1777,1836,2142,2590,2692,2442,2055,2106,2148,2177,2206,2048,1624,2267,2629,2422,2376,2570,2940,2889,2524,2299,2406,2707,2351,2314,2724,3261,2732,2823,2930,3293,4005,3337,3435,3547,2358,2292,3064,3238,3604,3225,3512,3904,3359,2897,3119,3538,3530,2690,2243,2526,2815,3101,3498,3987,3933,3756,3738,3418,3063,3408,3278,3090,3035,2917,2336,2398,2244,2690,2644,2038,2048,2104,1870,1986,1542,1301,1377,1482,1839,1949,1981,1770,1654,1671,1608,1962,2205,1780,1428,1784,1954,1862,1951,1648,1730,1802,1593,1930,2097,1676,1437,1397,1496,1530,1711,2232,2646,2312,2374,2146,2040,2007,1799,1772,1977,2307,2944,2458,1707,1783,1802,2333,2204,2669,2610,2040,1843,1923,1953,2301,2077,2120,2347,2302,2167,2372,2000,1937,2788,2843,2552,2515,2784,2780,2619,3309,3460,2575,2186,2456,2750,2831,1979,2108,2636,2468,2730,2808,2724,2303,2341,2094,2144,2300,2425,3013,2882,2790,2626,2438,2097,2098,3118,3184,2573,2083,1933,1532,1998,2058,1949,2526,2544,2393,2448,2618,2768,3320,3458,3588,3122,3253,3427,3531,3160,2514,2366,2373,2452,2392,2271,1803,2309,2242,2424,2446,2358,2595,3441,3037,2180,1926,1956,2109,1853,1722,1929,2015,1863,2041,2015,2973,3640,3049,2618,2837,2903,2669,2651,2954,2923,2140,1940,2113,2017,2060,2004,2263,3096,3316,3055,3226,3483,3565,3536,3794,3366,2953,2730,2802,2810,2780,2894,3226,3394,2953,2501,2393,2427,2618,2603,2588,2333,2227,2106,2067,2458,3139,3480,3498,3462,3418,3359,3308,3044,2912,2830,2857,3010,2999,2792,2447,2019,1761,1577,2473,2411,2602,2723,3088,3350,2658,2325,1977,1715,1864,2038,2236,2037,1741,1466,1894,2928,2193,1593,1440,1491,1656,1744,1897,1464,1126,1434,1702,1830,2202,2121,2004,1548,1477,1916,2291,2121,1862,2027,1985,1901,2057,2607,3134,3100,2095,2046,2003,1884,2160,2723,2945,3011,3034,2330,1609,1976,2675,2442,3181,2888,2351,2444,2330,2128,2827,2818,2857,2799,2232,2090,2138,1959,1981,2152,2026,1950,2553,3188,3393,3454,3574,3442,3488,2968,2176,2101,2032,2183,2200,1878,2091,2315,2165,2143,2293,2237,2104,2392,2820,3017,3166,2599,1941,2436,3297,2871,2639,3298,3273,3037,3088,2915,2847,3106,2670,2428,2433,1818,1249,1180,1500,1791,2187,2899,3138,3480,3060,2721,2010,1798,1936,1961,2001,1955,1779,2116,2287,2154,2194,2542,1927,1725,2127,2241,1935,2237,2586,2652,3216,3394,2809,2300,2439,2485,2646,2071,2710,3235,3100,2706,2281,2188,2189,2031,1808,1836,2104,2703,2718,2840,3621,4229,3803,3018,2360,2485,2713,2698,3375,3459,3342,3629,3798,3479,3138,2796,2568,2418,2721,3310,3624,3467,2836,2163,2480,3539,3892,3573,2980,2967,3138,2171,1577,2581,2925,2540,2336,1846,1599,1675,2393,3772,3875,3841,2589,1661,1739,1630,1755,1954,1865,2498,3099,1960,1402,1592,1899,2267,1951,1656,1635,1599,2459,3266,2708,2496,1994,2192,2343,2477,2291,1686,1491,1559,1466,1455,2007,2767,3037,3354,2899,2743,3222,2599,2132,2792,2967,1922,1673,1919,1774,1579,1913,2711,2005,2371,3527,3370,3299,2553,1821,1996,2048,2264,2237,2400,3295,3002,2390,2493,2399,2182,2081,2134,2133,2461,2668,2248,2032,2192,2505,2276,2418,2654,2317,2451,2513,2490,2800,2689,2240,1873,2094,2077,2995,2664,2346,2432,2133,2298,2678,2249,1957,2330,2417,2468,2680,1984,2005,2020,2191,2139,2482,2472,1509,1064,1770,2164,1976,2229,2062,2045,2641,3770,3205,2730,2132,1666,1998,2118,2198,2711,2867,3033,2887,3318,3443,3429,3286,2933,2828,2552,2731,2553,2116,2359,2063,2098,2396,1921,2188,3121,2757,2261,2110,1928,1772,1780,1920,1965,1811,1780,1870,1597,1664,1713,2164,2474,2331,2232,2195,2272,2267,2322,2505,1985,2033,2507,2375,2189,2547,2652,2401,2595,2670,2185,2035,2526,3239,3673,3112,3156,3141,2757,2484,2499,2406,2809,2778,2292,1666,1377,1405,1353,1439,1448,1475,1474,1469,1471,1415,1204,1353,1829,1948,1939,1765,2096,2193,2050,1765,1878,2128,2472,3371,2932,2533,2467,1940,1896,1914,1815,1954,1742,1982,1986,1858,2266,2354,1860,1604,1883,1899,2074,2216,1647,1412,1197,1359,2133,2128,2002,2194,2140,1932,1886,1687,1609,1667,1789,1680,1401,1576,1682,1741,1678,2366,2920,2276,1870,1869,1869,1998,2231,2399,2446,2427,3145,3528,3250,2777,2199,1868,1895,2346,2624,2556,2170,1814,1737,1700,1834,1563,1740,2323,2367,2018,1907,2254,2596,2382,2135,2236,1935,1701,1542,1749,2044,1973,1917,1952,1869,2260,2032,2111,2346,2592,3061,2942,2156,2262,3134,2885,2211,2193,2659,2589,2574,2826,3072,2719,2751,2918,2286,2280,2499,2706,2813,3112,3116,2667,2343,2117,2442,2141,2369,2540,2644,2570,3060,3118,2729,2796,2898,2907,2944,2453,2745,2644,2496,2744,2769,3378,2944,2302],[2106,2525,2261,2136,2081,2150,2095,1930,2010,2542,2664,2608,2586,2564,2532,2313,2083,2301,2422,2475,2351,2252,1975,1609,2054,2788,2866,2642,2181,2522,2523,2440,2770,3073,2929,2753,3179,3449,3239,2833,2351,1626,1852,2464,2381,2351,2998,3208,2966,3272,3328,2686,2692,2481,2792,3563,3788,3940,2938,2520,2437,1976,2062,2310,2894,3410,3234,3441,3824,3046,2846,2802,2800,2148,2028,2357,2856,3145,2963,3292,3278,2841,2439,2723,2661,2817,2818,2027,1872,2265,2531,2762,2987,3263,2543,2474,2342,2258,2806,3051,3096,2139,1538,1624,1964,2250,2166,2298,2516,2167,1800,1486,1337,1286,1322,1366,1540,1541,1609,2139,2610,2758,2696,2416,2144,2062,2366,2272,2689,2990,2590,2313,2316,2320,2632,2200,2482,3522,3229,2675,2534,2473,2070,2296,2242,2620,3118,2609,2071,2285,2470,2415,3098,3099,2485,2181,2123,2150,2100,2033,2181,2475,2688,3098,3486,3253,3140,2508,2408,2802,2810,2887,3307,3182,3270,3399,3409,3359,3181,3552,3288,2455,2708,2802,2454,2631,2740,2709,2258,1869,1933,2391,2675,2314,1921,2106,2064,2497,2429,2092,1736,1821,1799,2543,3742,3991,3625,2496,1246,1023,1096,1635,1976,1638,1334,1444,1994,2515,2906,2931,2684,2859,3010,2766,2539,3011,2942,3117,2972,2496,2355,2468,2317,2121,2230,3090,3304,2368,2344,2468,2498,2519,2317,1938,1574,1634,1498,1839,2408,1681,1777,2032,2535,2971,3375,3138,3254,3543,2920,2652,2920,2351,1902,2235,2020,2148,2346,2807,2952,2673,2241,2610,2746,2840,3046,3042,2800,2378,2122,2242,2558,2796,2599,2995,3075,2941,2630,2623,2734,2801,2830,2770,2511,2321,2429,2383,2231,2308,2560,2879,3029,3020,2889,3077,3440,3514,3616,3359,2699,2525,3583,4299,4388,4448,4180,3826,3350,3234,3448,3449,3449,3471,3399,3155,3287,3375,3317,3187,3082,3011,2849,2486,2199,1991,1866,1763,1839,1845,1962,2207,2344,2652,2558,2236,2462,2579,2413,2419,2186,2175,2531,2843,2858,2766,2646,2861,3321,3441,2687,1797,1610,1836,1663,1758,1578,1475,1688,1856,1770,1701,1916,1853,1687,2210,2729,2814,2332,2321,2520,2421,2618,2539,2508,3003,2866,3027,3437,2471,1588,1502,1810,2556,1803,1540,1358,1593,1582,1469,1355,1563,1631,1676,1584,1543,1454,1390,1344,1365,1531,1460,1621,1529,1539,1779,1656,1516,1512,1402,1520,2032,2245,1678,1769,2202,3008,3070,3145,3397,3376,2999,2740,2518,2676,2486,2735,2359,2142,2388,2604,2126,2262,2645,2610,2545,2105,2779,2934,2236,2200,2441,2828,2844,2725,2901,2211,2039,2340,2242,2238,2776,2520,2800,2513,2199,2050,2194,2009,1498,1530,2209,2213,2285,2434,1897,1583,2028,2658,2169,1976,1957,2310,2562,1983,1901,2121,1972,1989,2181,2056,2139,2311,2600,2063,1923,1905,1906,1892,1746,1698,1528,1607,1733,2221,2250,1900,1911,1764,1809,1795,1974,2145,2009,1987,2039,1612,1247,1175,1511,2011,2307,2135,1945,1832,1815,2172,2306,2084,2292,2238,1924,1794,1793,2027,1632,1897,1884,2157,2318,2332,2531,2344,1883,1971,2489,2339,1917,1826,2084,1788,1671,1636,1512,1761,2028,2239,2620,2160,1834,1964,2115,2552,2014,1382,1620,1958,2188,2072,1941,2032,2177,1780,1918,1948,1779,2008,1999,1442,1769,2605,2413,2248,2540,2154,1916,1919,1882,1812,2087,2693,2855,2843,2068,1771,1748,2336,2193,1890,2303,2433,2264,2001,2054,1726,2129,2301,1899,2109,2382,2116,2249,2641,2621,2458,2190,1687,2169,2317,2149,2000,1986,2212,2242,2254,2605,2662,2359,1998,2057,2030,1984,2420,2385,2247,2059,2002,1824,2178,2520,2376,1989,1908,1925,1779,2142,2302,2171,2060,2353,2679,2562,2119,2084,2067,2211,2240,2096,1932,2322,2668,2563,1990,1555,1724,1817,1879,2424,2636,2726,2713,2590,2399,2446,3028,2754,2502,2249,2232,2521,2639,2574,2430,2266,2199,2094,2098,2380,2784,2187,2374,2799,2508,2162,2663,3305,2711,1881,2066,1968,1935,1834,1782,2287,2388,2246,1861,1965,2169,1832,1582,1735,2047,1732,1698,1807,2046,2173,2198,2014,1614,2526,2382,1678,2060,1882,1427,1511,1874,2508,2601,2154,2438,2785,2308,1760,1702,1711,1570,1559,1726,1776,1996,2008,1685,2257,2740,3283,3588,3593,2943,2115,1980,1957,1644,1571,1659,1516,1536,1589,1672,2676,2942,2262,2049,2377,2753,2994,2910,2677,3011,2654,2078,1855,1910,1968,2206,3003,2869,2264,1777,1330,1591,1597,1571,1534,1579,1787,2056,2055,1718,1759,2456,2978,2844,2380,2431,2505,1819,1692,2044,2831,2996,2337,1975,1959,1901,1909,1926,2066,2638,3057,3019,3037,2231,2004,1681,1726,1587,1475,1525,1475,1759,2398,2983,3416,2866,2032,1940,2065,2397,2933,3746,3517,2588,2338,2541,2562,2491,2577,2322,2159,2244,2498,2742,2082,1657,1572,1911,1764,1603,2113,2502,2624,2081,1799,2046,2120,2106,1883,1609,2205,2724,2501,2408,2584,2922,2935,2622,2410,2414,2632,2850,2818,2614,3155,3370,2757,2280,2014,2724,4401,4678,4058,4191,3769,2919,3153,3672,3419,3140,3506,3270,2676,3032,3162,3183,2841,2325,2302,2695,2519,2384,2883,3493,3758,3780,3652,3521,3393,3541,3305,3692,3820,2981,2366,2355,2387,2558,2563,2518,1850,1657,1743,2042,1148,1268,1478,1545,1890,1885,1768,1828,1743,1618,1888,2103,2167,2237,1777,2072,2117,2195,2272,1890,1757,1757,1627,1823,1980,1723,1552,1528,1454,1434,1831,2208,2388,2164,2207,2038,1940,2119,1981,2114,2148,2306,2836,2425,1806,2400,2833,2348,2065,2375,2402,2237,2161,2026,2266,2684,2301,2685,2488,2631,2478,2438,2197,2273,2875,2911,2557,2252,2170,2313,2497,3132,3515,2920,2745,2851,2373,2471,2018,1938,2426,2315,2391,2056,2135,2183,2544,2265,2381,1992,2139,2964,2855,2526,2183,1811,1773,2621,3531,3698,3060,2542,2544,2590,2822,2542,2964,3335,2735,2670,2751,2714,2261,2864,3473,3538,3105,2512,2395,2640,2819,2589,2689,2433,2533,2359,2523,2383,3109,2654,2234,1953,1941,2441,3187,2841,2122,2204,2153,1963,2249,1779,1714,1609,1599,2202,2235,2634,3619,3686,2730,2302,2100,2030,2189,2408,2293,2114,2426,2377,2035,1950,1947,1866,2499,2658,2889,2874,3293,3270,2878,3365,3296,2633,2654,3068,3008,2874,3049,3748,4156,3473,2655,2475,2498,2537,2535,2540,2338,2190,2165,2314,2810,3376,3539,3602,3476,3393,3354,3396,3392,3261,3045,2921,2840,3022,3283,3092,2707,2580,1646,1848,2110,2471,2799,3542,3149,2473,2012,1750,2009,2089,1917,1758,1467,1567,1619,2009,1968,1621,1542,1470,1584,1634,1650,1782,1620,1877,1584,1220,1551,2000,2009,1766,1567,1585,1679,2169,2268,2001,2094,2317,2131,2032,2075,2188,2058,1756,1662,1726,1730,2194,3007,3085,2997,2578,2049,1856,2176,2552,2957,3367,2897,2169,2544,2267,1721,2242,1622,2120,2417,1910,1872,2149,2125,2282,2458,2212,2445,3279,3780,3652,3506,3728,3016,3166,3128,2622,2368,2127,2379,2568,2315,1925,2035,1696,1907,2301,2155,2263,2301,2286,2868,3080,2468,1854,2345,3340,3082,2864,3172,3427,3353,3304,3144,3022,2851,2066,1461,1313,1304,1172,1108,1802,2535,3395,3288,2972,2749,2709,2063,1597,1819,2237,2153,1861,1840,1798,2150,2048,2286,2429,2352,1810,1601,1782,1554,1790,2611,2719,2621,2984,2684,2491,2520,2864,3168,3131,2811,2997,2942,2384,2563,3128,2939,2054,1758,1802,1981,1999,2469,3500,2999,3295,4153,3750,2810,2411,2786,3379,3399,3400,3426,3485,3509,3391,3103,2639,2408,2454,2595,2712,3186,3383,3426,3475,3164,3312,3771,3950,3662,2998,2818,2841,1999,1546,2513,2956,2901,2432,1902,1991,2302,2920,3595,3559,3572,2449,1463,1525,1713,2424,2510,2010,1871,2191,2412,1771,1706,1865,2155,1967,1772,2059,2190,2743,3442,2719,2524,1885,2270,2408,2407,2217,1774,1698,1760,1583,2194,2774,2835,2752,2697,2811,3430,3316,2814,2251,2524,2499,1909,1781,1916,1697,2177,2656,2807,2070,2449,3685,3859,3452,2391,1484,1822,2018,2059,1143,1344,2922,2769,2296,2498,2363,2053,1992,2093,1894,2229,2216,1937,1926,1929,1930,1904,2580,2631,2265,2662,2545,2455,2917,3140,1927,1660,2041,2313,2634,2353,2225,2178,2142,2530,2664,2205,1771,1930,2273,2338,2530,2165,1790,1743,1762,2148,2536,2381,1782,1292,1620,2082,1708,1798,1782,2265,2866,2922,2366,2388,2258,1709,1820,1985,2545,2718,2875,3154,2928,3157,3284,3040,2764,2886,2554,1858,1986,1880,1965,2050,1764,2079,2095,1810,2070,2841,2430,1862,1584,1300,1148,1364,1860,2226,2172,2215,1821,1539,1598,1874,2619,2686,2379,2101,1948,2144,2356,2480,2403,2184,2566,3242,2851,2599,2621,2743,2632,2605,2513,2156,2452,2912,2799,2658,2651,2557,2174,1929,2146,2211,2242,2141,1837,2129,1854,1506,1433,1453,1456,1760,1966,1824,1592,1365,1614,1832,1826,2040,2106,2150,1792,2186,2241,2057,2198,2281,2120,2309,2918,3394,3328,2412,1827,2128,2257,2050,2046,1673,1439,1433,1898,2556,2659,2241,2019,1937,1937,2062,2402,1632,1637,1604,1653,1938,2029,1879,1456,1497,2154,2263,1754,1553,1482,1862,1689,1660,1920,1831,1984,2181,2260,2077,1856,1950,1910,1925,2230,2354,2212,2310,2274,2654,2805,2741,2304,1678,1940,2452,2336,2129,2235,2159,1792,1757,1660,1654,1720,1935,2282,2231,2321,2142,1748,2066,2192,2268,2351,2046,1450,1361,2018,2754,2768,1913,2073,1852,2201,1948,2059,2475,2841,2762,2464,2236,2662,3002,2888,2635,2448,2131,2024,2243,2567,2730,2237,2085,2338,2024,2525,2706,2270,2541,2954,2881,2544,2322,2241,2620,1930,2026,2733,3039,3083,3274,3053,2385,2291,2445,2672,2466,2698,2689,2755,2958,2620,2574,2236,1707,2178],[2636,2795,2093,1527,1522,2163,2082,2147,2342,2543,2484,2368,2445,2214,2370,2198,2028,2170,2210,2347,2818,3188,2598,1988,2415,2424,2083,2280,2778,3117,2808,2402,2619,3393,3709,3641,2881,3169,3166,3011,2320,2177,2973,3152,2461,2585,3112,3191,3218,3024,2698,2724,2984,2732,3209,3663,3657,3407,2452,2247,2244,2130,2489,2364,2630,2822,2764,2602,2898,2917,3428,3295,2863,2673,2695,2767,2951,2953,2450,2686,2539,2417,2470,2663,2346,2548,2952,2373,2205,2399,2533,2724,3446,3799,2901,2866,2678,2552,2866,3125,3185,2602,1715,1452,1654,1902,2014,2004,1816,1646,1540,1561,1440,1376,1310,1404,1678,2145,2552,2723,2685,2912,2436,2230,2120,2501,2531,2681,3032,2730,2227,2480,2867,2945,3098,2469,2602,2917,2895,2532,2489,2598,2530,2504,2482,2878,3616,3032,2223,2144,2239,2184,2778,2658,2325,2126,2063,2221,2386,2439,2103,2311,2545,2522,3152,3081,2633,1984,2197,3024,3230,3270,3341,3102,3218,3328,3532,3404,3531,3875,3850,3152,3144,3253,3385,3111,2844,2623,1982,1880,1816,2362,3176,2885,2245,2238,2208,1871,2006,1939,1750,1689,1622,2176,3466,3857,3661,3046,2072,2173,3019,3561,2431,1533,1367,1415,2048,2952,2996,2369,2050,2092,3062,3254,2774,2391,2177,2175,2175,2223,2244,2670,2935,2905,2968,3201,3116,2435,2083,2599,3061,2846,2477,1854,1477,1569,1512,1540,1625,1723,2008,2100,2498,3040,3588,3686,3555,2952,2557,2526,2896,2435,2037,2116,2358,2064,2072,2092,1854,1826,2126,2929,3301,2912,2654,2524,2626,2139,1629,1992,2491,2834,2626,2651,2327,1980,2240,2159,2449,3112,3389,3304,3204,2934,2307,2542,2393,2163,2139,2247,2513,2763,2776,2995,3631,3576,3513,2976,2783,2927,3881,4268,4309,4255,4388,4389,4184,4065,4025,3851,3689,3366,3395,3259,3358,3376,3104,3075,2937,2555,2442,2201,2114,1845,1759,1703,1788,1824,2087,2526,2676,2872,2912,2548,2494,2551,2485,2607,2761,2673,3002,3428,3271,2953,2830,2919,2744,2519,2172,1979,2073,2175,1663,1652,1771,2045,2099,1820,1887,2138,2333,2280,2046,1878,2248,2191,1716,1864,1874,2155,2469,2503,2608,2562,2433,2902,3319,2048,1574,1528,1778,2242,1996,1560,1408,1542,1583,1233,1441,1982,1640,1625,1539,1657,1345,1312,1325,1311,1441,1600,1743,1328,1213,1888,1920,1638,1429,1375,1515,2199,2173,1742,1760,2209,2700,2719,2951,3153,3292,2939,2473,3011,3959,3556,2833,2202,2070,2111,2059,1997,2095,1851,1987,2108,2342,3110,2972,2599,2481,2450,3123,2912,2645,2479,2199,2584,2659,2719,2345,1987,1822,2102,2312,2671,2641,2298,2134,1862,1755,1891,1775,2121,2265,2290,2107,2106,2113,2212,2340,2110,2505,2530,1770,1987,2084,1922,2114,2127,2000,2096,2259,2860,2523,2171,2420,2275,2196,2099,2168,2219,1917,1653,2119,1850,1851,1809,1789,1742,1619,1843,2083,2221,2133,2020,1787,1998,1905,1975,1875,2357,2158,1685,1914,1993,1995,1859,1777,2258,2034,1802,2001,2100,2186,1925,1911,2085,2100,2071,1949,1890,1708,1831,1855,2059,1952,1817,1809,1682,1651,1699,1638,1730,1822,1644,1959,2416,2055,2035,2160,2727,2917,2652,1958,1832,2443,2387,2435,2529,2090,1985,2397,2299,2193,1923,2499,2336,1506,1452,2252,2604,2549,2662,1829,1748,1978,2136,1802,1838,2268,2431,2430,1914,1873,2570,3055,2625,2301,2620,2945,2287,1863,1885,1745,1890,2033,1920,1990,2194,1980,2108,2713,3271,2884,2710,2171,2309,2425,2070,1907,2002,2226,2407,2430,2562,2724,2363,2197,2163,2052,2131,2131,2112,2065,2062,2177,2023,2154,2493,2369,2020,1965,2454,2400,2173,2034,2194,2324,2502,2487,2146,2115,2083,2264,2251,1827,1706,2229,3213,3094,2765,2121,1933,2165,2110,2230,2349,2416,2846,2557,2265,1974,2342,2714,2545,2417,2263,2376,2834,2903,2388,1944,2141,2175,1794,1724,2113,2505,2087,2056,2602,2690,2160,2424,2997,2743,2158,2116,2236,2068,1637,1929,2435,2201,2037,1936,1970,1931,1503,1469,1715,1951,1859,1786,1814,1798,1653,2075,2080,1502,1756,1919,1552,1896,1894,1495,1687,2197,2841,2633,2079,1991,1857,1727,1527,1606,1690,1736,1770,1892,1891,1952,1792,1549,1685,2170,2832,3133,3417,3331,2481,2019,2269,1923,1649,1573,1492,1468,1567,1857,2482,2365,1916,1854,2168,2315,2600,2691,2102,2418,2471,2068,1894,2212,2149,2166,2446,2469,2064,1439,1561,1830,1743,1541,1420,1841,1939,1776,1712,1787,2335,2579,2616,2565,2208,2063,1828,1578,1823,1866,2381,2688,2187,1898,1820,1626,2060,2244,1867,2370,3029,2618,2103,1811,1791,1804,1721,1585,1577,1619,1709,1841,2222,2479,3016,3410,2454,1789,1919,2164,2061,2579,3563,3416,2034,2291,2564,2491,2221,2271,2686,2417,2288,2163,1964,1966,2148,2284,1652,1842,1764,1736,2088,1773,1743,1960,2122,1954,1631,2174,2735,2530,2454,2612,2921,3030,2680,2501,2475,2698,2954,2873,2713,2598,2564,2483,2944,2989,2646,2746,3608,4196,4388,4416,4212,3815,3585,3619,3691,3470,3047,2721,3105,3193,2865,2495,2209,2670,2609,2304,1934,1880,2480,3393,3566,3683,4083,3807,3449,3540,3509,3669,3590,2844,2554,2989,3467,3108,2321,2145,1955,1691,1497,1828,1904,2152,2263,2281,2282,2120,1725,1763,1898,2249,2526,2199,2468,2898,2178,1787,1801,2130,2004,1669,1718,1664,1456,1511,1618,1796,1838,1678,1509,2018,2387,2217,2422,2602,2709,2417,2189,2295,2159,2622,2467,2100,2160,1882,1814,2404,2374,1733,1986,2424,2410,2387,2198,1778,1907,2258,2031,2147,2334,2657,2251,2085,2236,2750,3222,2689,1775,1387,1521,2081,2322,2579,3227,2443,2432,2881,2336,2432,2085,1505,1675,2058,2060,1796,2260,2416,2326,2468,2621,1994,1936,2247,1890,1991,1676,1557,1625,2768,3267,3206,2753,2751,3040,3207,3128,2461,3061,3423,2865,3244,3051,3024,2784,2912,2798,2928,2814,2919,2802,2185,2613,2449,2918,2842,2808,2396,2662,2688,2682,2257,2126,2106,2244,2764,3143,2442,2291,2825,2191,2364,2234,1791,1910,1819,1681,2247,2591,2328,2488,2844,2271,2007,1752,1735,2338,2649,2281,2229,2578,2777,2480,2168,2500,2578,2837,2502,2900,2916,2768,3086,3274,3466,3476,2761,2678,3409,3717,3511,3575,4288,4473,3991,3103,2732,2668,2640,2588,2472,2270,2118,2302,2897,3250,3329,3540,3610,3566,3359,3339,3454,3519,3521,3481,3305,2900,2899,3260,3300,3310,3439,2453,1622,1805,2195,2281,2164,1985,2358,2208,2218,2331,1868,1735,1712,1600,1616,1697,1798,1698,1572,1426,1655,1605,1551,1698,1908,1966,1674,984,1263,1984,2072,1893,1544,1543,1647,1548,1916,2258,2214,1958,2147,2382,2113,1758,1801,2194,2211,1935,1918,1794,2180,2779,3138,2688,2038,1853,2108,2016,2312,2951,3156,2577,1827,2357,2718,1607,1918,1631,1463,1778,2072,1829,1511,1808,2255,2076,1816,2148,2780,3651,3019,2984,2885,2392,2928,2911,2484,2092,2058,2197,2472,2720,2076,2084,1557,1571,1743,1962,2384,2269,2061,2639,3011,2477,2201,2378,2939,3186,3621,3859,3463,3246,3242,2891,2460,2121,1798,1603,2216,2406,1722,1517,2297,2568,2906,2614,2292,2399,1954,1693,1985,2168,2480,2255,2114,2024,2493,2424,2222,2591,2392,2351,2067,1840,2006,2121,2472,2571,2342,2424,3006,2811,2360,2337,2872,2890,2699,2635,2666,2519,2448,3062,3415,2984,2342,1895,1692,2176,2334,2883,3808,3869,4156,4513,4078,2831,2498,3234,3575,3531,3307,3227,3165,3259,3486,3138,2468,2472,2723,2868,2533,2748,2878,2954,3274,3144,3123,3480,3740,3531,3197,2955,2514,1713,1520,1951,2113,2557,2047,1662,2335,2565,3204,3636,3571,3464,2034,1469,1629,2079,3440,3641,2732,2070,1852,2093,2302,2087,1617,1722,1965,1860,2358,2756,2233,2553,2388,2558,2097,1683,2329,3120,3020,2415,2301,1907,2163,3155,3222,3181,2801,2414,2457,2879,3304,2881,2500,2618,2609,2665,2312,1932,1770,2881,3287,2591,2352,3157,4157,4332,3939,2801,1433,1825,1396,1758,1195,1207,2427,2640,2061,2099,2517,2248,2408,2426,2014,2361,2095,2297,2332,2003,1927,1893,2023,1946,2381,3185,2938,2304,2556,2823,1933,2230,2177,2093,2186,2232,2144,2007,2083,2603,2680,2787,2318,2059,2394,1661,1671,1897,1845,1657,1755,2037,2019,1969,2160,2071,1587,1771,1818,2064,2316,2557,2861,2723,2253,2259,2251,2031,2029,2398,2976,3072,3096,3382,3406,3190,2974,2311,2341,2887,2224,1838,2477,2571,2552,2385,2185,2342,2101,1870,2103,2134,1883,1904,1897,1475,1300,1484,2212,2118,2077,2315,1991,1547,1557,1802,2199,2578,2853,2090,1981,1945,2032,2177,2234,2449,3072,3411,2778,2111,2291,2840,2601,2531,2181,2013,2648,3028,2927,2540,2317,2100,1813,1670,1852,1981,2198,2178,1874,1784,1772,1620,1460,1616,1804,2339,2654,2283,1847,1690,1845,1845,1940,2004,1862,1991,2203,2217,2091,2225,2660,2586,2240,1948,2040,2470,2515,1801,1744,2170,2048,1935,2133,1772,1582,1898,2282,2276,2337,2750,2334,2075,2098,2297,2035,1742,1626,1447,1761,1983,1985,1764,1127,1546,2416,2391,1783,1925,1792,1684,1771,1930,1959,2240,2361,2176,1975,2222,2215,2078,2143,2100,2366,2454,2049,1789,1986,2486,2792,2684,2045,1586,1650,2051,1952,1979,2321,2834,2415,2000,1684,1469,1730,2061,1847,2071,2399,2171,2019,2082,2610,2482,2188,2399,2094,1886,2167,3351,3654,2313,2320,2024,1855,1841,1887,2286,2130,1870,2021,2135,2576,2858,2793,2580,2646,2387,2280,2197,2821,2697,2064,2277,2197,2109,2774,2680,2165,2499,2633,2629,2399,2553,2374,2955,2910,2643,2849,2557,2685,2722,3129,3017,2599,2733,2781,2568,3015,3118,3188,2917,2536,2266,1857,1522,2305],[2830,3034,2426,1806,1481,1850,1824,2208,2130,2216,2274,2392,2352,2280,2161,2162,2199,2114,1733,1821,2575,3215,2644,2314,2586,2180,1879,2426,3030,2742,2502,2608,2918,3376,3186,2813,2288,2656,2962,2896,2284,2404,3350,3253,2659,2811,2960,3155,3030,2708,2888,3199,3046,2630,3200,3697,3527,3051,2250,2246,2052,2488,2998,2441,2234,2043,2176,2234,2141,2683,3204,3197,3560,3583,3477,3607,3610,3243,2380,2507,2396,2374,2623,2792,2906,3013,2684,2378,2699,2592,2823,2387,3116,3840,3261,2591,2487,2641,2768,2958,2993,2786,2225,2006,1714,1816,1677,1475,1402,1467,1530,1600,1528,1405,1546,1904,2238,2699,3067,2932,2512,2761,2265,2096,2057,2502,2797,2666,2788,2775,2855,3296,3417,3030,2415,2236,2454,2468,2297,2163,2155,2629,3108,3130,2965,2807,3601,2985,2968,2474,2098,2156,2526,2495,2718,2513,2386,2522,2287,2656,2369,2504,2002,1445,2304,2569,2242,2441,2732,3240,3383,3155,3009,3042,3238,3183,3144,3040,3240,3375,3682,3968,3886,3990,4096,3253,2564,2293,1886,1775,1853,2297,2943,3115,2934,2430,1814,1744,2291,2277,1795,1588,1752,1842,3217,3072,3084,3719,3510,3406,3506,3229,2729,2006,1172,950,1756,2776,2752,2138,2054,2166,2834,2612,2745,2739,2424,2215,2119,2188,2255,2753,3276,2943,2220,1918,2276,2232,2214,2986,2930,2524,2471,1747,1338,1498,1525,1642,1768,1763,1816,1782,2154,3061,3536,3732,3278,2225,2265,2031,2072,1812,1824,2464,2666,2098,1962,2100,2184,2392,2518,3141,3208,2656,2640,2220,2266,2062,1815,2029,2475,2791,2761,2732,2196,1794,2321,1836,1935,2294,2732,2945,3074,2995,2394,2093,2156,2199,2386,2332,2414,2557,2492,2740,3362,3718,3650,3016,2676,3220,3786,4116,4144,4013,4145,4176,4273,4196,4428,4652,4281,3870,3733,3384,3065,2833,2786,2890,3034,2996,2820,2452,2302,1961,1779,1812,1880,1912,2242,2754,2766,2797,2946,2891,2766,2864,3272,3350,3239,3374,3227,2839,2618,2508,2578,2664,2381,2481,2335,2248,2201,2025,1738,1825,2186,2558,2306,2081,2583,2734,2414,2211,1807,1599,2723,2109,1598,1688,1392,1364,2021,2541,2230,1948,1997,2737,2962,1859,1564,1490,1614,1952,2084,1751,1310,1418,1651,1469,1666,1556,1463,1469,1447,1463,1288,1453,1440,1450,1512,1582,1687,1271,1485,2297,2502,2015,1562,1435,1559,2196,2156,1745,1870,2242,2451,2218,3056,3383,3588,3474,3075,3615,4176,3538,2395,1908,1694,1846,2020,2122,2542,2311,1876,1887,2286,2986,3062,2863,2250,2108,2446,2337,2574,2975,2690,2587,2819,2756,2182,1923,1661,1962,2287,2642,2953,2713,2346,2120,2410,1863,1811,2052,2152,2266,2225,2243,2091,2366,2436,1916,1674,1901,1985,2096,2046,2158,2504,2197,1877,1810,1839,2440,2619,2590,2834,2507,2329,2391,2226,2207,1699,1443,1482,1787,2008,1637,1467,1576,1676,1925,2304,2599,2372,2322,2146,2167,2122,2082,2060,2462,2508,1686,1901,2054,2081,2097,1924,2107,2096,2115,2140,1848,2232,2124,1650,1735,1666,1605,1434,1610,1695,1995,2013,2266,2248,2012,1997,2146,1941,1469,1612,1986,1745,2094,2320,2250,1862,1860,2316,2740,2726,2597,2642,2937,2807,2165,2185,1990,1678,2227,3089,2663,2534,2376,3234,3563,2242,1558,2111,2265,1742,1923,1646,2290,2652,2526,1980,1743,2024,2694,2446,1745,1990,2679,2856,2438,2509,2419,2243,2046,2176,2272,1974,1884,2057,2024,1979,2200,2088,1880,2088,2178,2210,2386,2222,2245,2146,1877,2082,2168,2271,2766,2646,2732,2359,2113,2356,2049,1980,2175,2188,2455,2652,2642,2420,2115,2330,2445,2024,1863,2019,2430,2511,2303,2088,2007,2195,2382,2450,2155,2353,2297,2648,2958,2314,2001,2390,2984,3018,2620,2365,2448,1908,1929,2031,1848,2194,2622,2470,2316,1755,1811,2385,2323,2196,2499,2653,2784,2574,2205,2114,2276,2128,1653,1271,1677,2120,2123,2244,2652,2670,2253,2316,2001,2054,2377,2334,2326,1843,1427,1723,2195,2451,2324,2136,2040,1461,1159,1428,1947,1954,1896,1798,1589,1423,1695,2291,2361,2017,1983,1896,1889,1939,1948,1916,2083,1930,2432,2183,1688,1757,1901,2130,2249,2398,1933,1666,1698,1715,1727,1800,1652,1602,1707,2051,2509,2845,3223,3543,3082,2750,2608,2302,2081,1755,1425,1378,1786,2410,2387,1870,1713,1944,2339,2320,2292,2598,2657,2481,2535,2238,2091,2389,2625,2238,1992,1725,1465,1516,1693,1713,1737,1524,2010,2493,2062,1689,1741,2263,2620,2558,2466,2400,2181,1873,1717,1830,1732,1613,2035,2116,2045,1787,1541,1766,2688,3019,2288,2136,2210,1852,1741,1622,1692,1900,1788,1508,1676,2098,2346,2298,2423,2540,3249,3648,2829,2012,1878,2050,1936,1974,2620,3475,2287,2192,2428,2509,2450,2481,2916,3034,2460,2021,1934,1816,1703,1799,1880,1927,1571,1839,2071,1998,1987,1950,1908,1672,2075,2641,2583,2513,2640,3019,3111,2950,2592,2504,2686,3046,3009,2667,2423,2460,2494,2593,2778,2821,2828,2744,2638,3309,4386,4436,3792,3582,3930,3750,3262,2649,2623,3009,3645,3464,3034,2138,1860,2060,2030,1930,1966,2236,2478,3116,3440,3636,3937,3173,2746,3295,3622,3758,3839,3410,2577,2586,2975,3067,2775,2637,2762,2124,1532,1404,1669,1738,1830,2017,2082,1892,1693,1544,1624,1754,1944,1816,1942,2235,1665,1129,1356,1790,1468,1502,2129,1722,1352,1494,1668,1694,1870,1676,1470,2168,2526,2285,2379,2340,2178,1968,2047,2259,2116,2464,2423,2133,2669,2890,2512,2282,1969,1978,2459,2487,2445,2329,2061,1600,1735,2189,2223,2545,3272,2944,2241,2279,2297,2384,2520,2078,1484,899,1274,2456,2435,1976,2289,2078,2100,2388,2150,2397,2132,1686,1970,2003,1735,1783,2347,2722,2469,2370,2632,2661,2525,2316,1814,1843,1543,1764,2137,2735,2696,2468,2358,2614,2741,2798,3188,2381,2469,2753,2784,3021,2289,2250,2581,2490,2209,2468,2498,2985,3406,3134,2916,2705,2300,2251,2107,1861,1893,1896,1721,1677,2266,2404,2277,2221,2216,1804,2045,2496,2291,2688,2281,1894,2128,2384,2301,2177,2489,2878,2257,2356,2483,2388,2251,2340,2422,2496,2261,1797,1917,2407,2400,2203,2252,2500,3187,2490,2502,3030,2958,2912,3210,3378,3435,3276,3243,3585,3753,3729,3578,3852,4277,4006,3409,3074,2750,2502,2380,2264,2098,2014,2400,3251,3417,3248,3431,3498,3449,3329,3443,3614,3564,3556,3404,3211,3110,3189,3274,3234,3385,3727,3459,2176,1591,2189,2120,1954,1942,2282,2335,2472,2177,1904,2470,2280,1848,1743,1541,1460,1464,1327,1389,1605,1598,1522,1538,1646,1617,1418,1130,1548,1996,2109,1912,1400,1406,1417,1600,2132,2497,2213,1929,1976,1953,1840,1788,1881,2223,2580,2407,1861,2246,2681,2749,2667,2123,1970,2047,1969,1968,2604,3029,2545,1884,1766,2013,2503,2310,2641,2058,1685,2352,2983,2564,1802,1872,2315,2259,2232,2640,2770,2922,2683,3231,2416,1952,2446,2381,2464,2529,2557,2457,2600,2903,2770,2834,2159,1505,1972,2723,2930,2603,2299,2384,2645,2230,2333,2536,2663,2876,3260,3088,2562,2246,1980,1888,1816,2138,2622,1952,1980,1950,1530,1625,2372,2202,2424,2222,2103,2354,1553,1547,1918,2037,2043,1902,2510,2452,2712,2242,2090,2417,2533,2543,2070,1911,2350,2426,2435,2258,2190,2462,2988,3106,2866,2762,2561,2382,2690,3084,3085,2806,3122,3445,3364,2841,2314,1811,1820,2259,2362,2695,3184,3632,4100,4216,3422,2752,2908,3307,3429,3405,3326,3253,3172,3292,3588,3330,2713,2762,3064,3046,2520,2475,2610,2809,3279,3226,3134,3493,3773,3596,3428,3670,2762,1520,1693,1903,1772,2252,1968,1948,2223,2199,3129,3650,3498,2996,1888,1676,1812,2633,3845,3996,3340,2495,1898,1818,2058,2326,2166,1745,1784,1888,2222,2180,1819,1976,1962,2063,2010,2010,2519,3292,3682,3761,3218,2314,3018,3536,3150,3150,2928,2783,2663,2775,2957,2740,2495,2460,2310,2620,2492,1817,1760,2829,2972,2708,3510,4289,4356,4171,3842,2938,1350,1774,1322,1723,1347,1088,1730,2317,2411,2919,2801,2387,2922,2990,2964,2640,2712,3090,2674,2131,2168,1959,1482,1848,2403,2799,2311,2247,2223,2405,1949,1577,1947,2973,3204,2392,1779,1838,2291,2376,2302,2457,2262,2478,2564,1724,1567,2489,2662,1881,1578,1739,2119,2096,2641,2417,2178,2159,2169,2331,2558,2624,3053,3275,2591,2081,2011,2065,2122,2577,2843,2390,2836,3194,3249,3426,2916,2721,3232,2842,1962,2306,2798,2832,2565,2900,3357,3711,3110,2418,2352,2361,2129,2302,2268,2168,2247,2394,2586,2189,2399,2510,1898,1672,1610,1741,2270,2835,2784,2017,1804,2106,2079,1873,2063,2482,2833,2604,2072,1870,2417,2852,2780,2686,2598,2436,2647,2857,2520,2081,1942,1837,1855,1612,1599,1757,2232,2119,2198,2177,1628,1439,1549,1741,1875,2098,2312,1959,1902,1903,1929,2276,2135,1916,1661,1799,2556,2523,1889,2075,2476,2485,2157,2051,2505,2566,2154,2163,1909,1679,1680,1991,2125,1925,2011,2322,2159,1984,2542,3039,2492,2447,2329,2276,2048,1789,1592,1612,1800,1886,1992,1410,1152,1914,2098,2415,2601,2326,1772,1635,2035,2153,1966,2397,2397,2077,2238,2370,2252,1980,2146,2074,1981,2033,1918,1831,1856,2292,2710,2975,2728,2331,1854,1702,1573,1765,2486,3450,3342,2611,1981,1587,1292,1533,1728,2179,2791,2708,2382,2358,2411,1964,1895,2110,2213,2246,2010,2365,2144,2200,2212,2051,1816,1842,2076,2267,1927,1971,1705,1784,2313,2294,2435,2633,2518,2515,2136,2099,2669,2743,2800,2654,2526,2721,2947,2896,2742,2368,2798,3384,2986,2604,2706,3330,3481,3382,3254,3143,3720,3461,3550,3184,2972,2990,2857,2955,2897,2770,2656,2418,2354,2697,2776,2336,2408],[2886,3032,2552,2110,1811,1937,2023,2432,2305,1909,1982,2147,2365,2503,2341,2555,2332,2204,1787,1687,2223,2508,2148,2226,2509,2483,2247,2468,2803,2181,1997,2581,3327,3709,3071,2525,2507,2783,2938,2824,2432,2623,3139,2908,2498,2429,2802,2902,2690,2774,2920,3085,2833,2561,3329,3514,3173,2561,1975,1765,1896,2822,3174,2965,2424,1847,1893,2034,2208,2540,2819,2984,3124,3211,3360,3384,3200,3120,2812,2798,2286,1868,2238,2916,3543,2778,2644,2813,3044,2393,2097,1926,2427,3234,2943,2234,2460,2553,2482,2692,2750,2874,3162,2696,1827,1982,1776,1368,1317,1394,1441,1393,1297,1253,1239,1528,2425,2963,3115,2811,2297,2400,2685,2698,2259,2357,2737,2694,2705,2934,3138,3301,3155,2402,2250,2609,2722,2342,2071,2436,2962,3178,3477,3262,3076,2669,2723,2671,2803,2431,2502,2409,2197,2561,2423,1928,2065,2384,2345,2729,2668,2756,2271,1816,2014,1978,2558,3108,3210,3376,3385,3151,3059,3062,2785,3030,3139,2897,2521,2319,2828,3576,3957,3935,3611,3058,2908,2432,1966,1891,1846,2052,2413,2731,2657,2185,2033,2070,2601,2416,1718,1659,1514,1786,2712,2425,3349,3897,3243,2668,2307,2710,2968,2052,1199,921,1431,2003,2013,2065,1996,2316,2530,2302,2417,2155,2405,2095,1730,1703,1759,1900,2322,1804,1654,1721,2019,2198,2275,2348,1968,1957,2097,1603,1637,2144,2427,2646,2612,2634,2573,2469,2850,3233,3267,3120,2670,2400,2093,1716,1592,1433,1934,2558,2534,2039,2404,3176,2968,2373,2194,1948,2081,2295,2643,2878,2864,2522,2464,2473,2666,3051,3006,2575,2356,2136,2383,2030,2040,2047,1980,2157,2722,2793,2260,2103,1965,2082,2841,2391,2338,2701,2662,2683,3145,3773,3928,3238,3025,3638,3481,3617,3824,4015,4004,3955,4101,4465,4633,4904,4961,4497,3920,3487,3130,2919,3120,3052,3249,3365,3165,2684,2525,2258,1956,1858,1874,1998,2263,2486,2333,2666,2671,2460,2568,3437,4069,3808,3489,3125,2461,2242,2200,2259,2317,2579,2734,2783,2938,2952,2964,2947,2199,1832,2144,2120,2024,2046,2597,2348,2381,2590,1888,1978,2599,1985,1628,1746,1683,1538,1917,2158,1969,1555,1499,2126,2479,1986,1573,1669,1682,1580,1731,1663,1404,1508,1810,1738,1749,1476,1475,1485,1561,1448,1463,1625,1510,1566,1617,1534,1554,1504,1682,1887,2287,2098,1952,1605,1632,2300,2245,1687,2018,2303,2266,1756,2777,3288,3529,3496,3300,3261,3291,2469,1841,1872,2145,1939,1997,2106,2231,2356,2052,2363,2373,2632,2975,2736,2298,2401,2901,2863,2913,3056,2089,2249,2725,2492,1974,1788,1825,2337,2558,2232,2281,2744,2700,2662,2697,2100,1740,1860,2072,2197,2189,2034,2082,2210,1936,1887,1549,1895,2500,2305,2377,2218,1881,1749,1636,1603,1644,1715,1992,2079,2277,2165,2364,2396,2107,1845,1789,1600,1414,1750,1896,1411,1203,1614,1741,1654,2105,2702,2646,2596,2176,1798,1854,2134,1987,2025,2489,1794,1662,1607,1823,1947,1835,1886,1952,1885,1880,2081,2210,2204,1989,1969,1719,1626,1624,1840,1664,1912,2462,2807,2592,2144,2266,2363,1927,1596,1621,1977,1823,1814,1803,1744,1923,1909,2014,2728,3045,3253,3082,3232,2893,2341,2078,2435,2043,2313,2790,2941,2999,2422,2267,2632,2104,2016,2187,2013,2187,2480,2057,2207,2113,2355,2850,2292,2064,2103,1668,1589,1952,2166,2245,2233,2652,2603,2529,2443,2518,2729,2642,2109,1787,2011,1810,1965,2147,1767,1865,2018,1766,1557,1668,1874,1825,1820,2247,2254,2471,2491,2379,2446,2110,2247,2303,2502,2448,1988,1941,2419,2834,2736,2354,2353,2720,2505,2262,2078,2235,2282,2395,2341,2086,2194,2562,2110,1946,2250,2538,2632,2364,2325,2339,2343,2345,2560,3034,2814,2199,2505,2098,2291,2005,2111,3068,3065,3011,3106,2556,2769,3386,2835,2323,2564,2799,2684,2783,2313,1918,1964,2138,1735,1486,2096,2453,2201,2194,2382,2271,2139,2171,1913,2090,2524,2664,2556,2150,1918,2241,2632,2598,2315,2181,1794,1481,1659,1896,1992,2057,2015,1668,1582,1707,1693,2034,2204,2114,2047,1775,1847,1628,1909,1948,2098,2371,2201,1769,1692,2289,2465,2615,2604,2567,1788,1776,1865,1809,1765,1575,1715,2026,1867,2008,2372,2482,2855,3215,3131,2568,1891,1975,2038,1700,1454,1322,1309,1783,2048,1914,2186,2209,2005,2025,2206,2641,2754,2696,2519,2145,2321,2755,2846,2202,1661,1251,1462,1621,1349,1297,1336,1883,2873,2747,1863,1560,2082,2587,2566,2300,2280,2177,1939,1707,1792,1947,1788,1760,1987,1869,2218,1874,1771,2588,2998,2998,2256,1864,1683,1667,1744,1637,1455,1475,1565,1705,2195,2565,2770,2946,3285,3757,4199,3804,2755,2044,1842,1858,1768,1464,1739,2366,2329,2177,2301,2380,2467,2339,2206,2347,2366,2047,1977,1952,1857,1880,2077,1838,1672,1903,2006,2101,2116,1996,1657,1870,2467,2510,2413,2554,2965,3139,2896,2631,2535,2676,2998,3178,2977,2500,2353,2377,2453,2482,2246,2081,2166,2241,2149,2911,3842,3786,3610,3633,3819,3737,2975,2471,3017,3454,3392,3173,2578,1861,1485,1796,1910,1751,2264,2599,2711,3098,3348,3239,3398,2898,2841,3564,3767,3559,3802,3544,2600,2399,2651,3386,3569,3329,2953,2351,1707,1619,1534,1059,1330,1708,1778,1522,1496,1505,1553,1435,1553,1212,1531,1794,1493,1627,1887,2083,1553,1659,1886,1521,1321,1531,1804,1632,1632,1535,1085,1313,1952,1961,2294,2010,1846,1810,1793,1818,1890,2243,2361,2254,2156,2045,2003,2397,2178,2113,2270,2321,2099,2103,2088,1949,2198,2566,2400,2166,2133,1955,1973,1958,2022,2161,2294,2183,1594,1205,1875,2885,2619,1902,1959,1975,1760,1860,1773,2018,2128,1981,1698,1609,1799,2123,2544,2583,2297,2220,2691,2663,2434,2323,2598,2237,1953,2322,2532,2846,2725,2394,2397,2355,2189,2434,3044,2730,2685,2841,3047,2697,1957,1716,2002,2244,2214,2877,3066,3240,3072,2875,2370,2045,1957,1581,1229,1576,2265,3067,2707,2290,3340,2813,2281,2082,2069,2048,2265,2252,2208,2564,2577,2204,1779,2052,2075,2371,2783,3354,2665,2486,2808,2598,2436,2520,2263,2171,2635,2071,1836,2339,2137,2046,1966,2324,2288,2133,2578,2941,3001,2687,2851,3223,3539,3705,2965,3130,3130,3267,3252,3520,3897,3729,3692,3565,3073,2592,2385,2243,2289,2460,2730,2972,2871,2917,3064,3252,3304,3110,3370,3715,3611,3423,3226,3066,3088,3200,3200,3186,3350,3531,3674,3020,1751,1867,2244,2066,2292,2558,2510,2278,1982,1990,2419,2351,1919,1775,1575,1489,1569,1372,1509,1435,1484,1520,1511,1514,1464,1421,1355,1299,1509,2146,1863,1532,1507,1398,1654,1947,2151,2162,2040,1980,1975,1897,2053,2290,2099,2744,2398,2202,2436,2474,2498,1997,1729,2110,2127,2019,2106,2549,2667,2263,1713,1626,2046,2370,2489,2565,2743,3113,3428,3317,2746,2211,2428,2433,2268,2394,2745,2778,2532,2790,3133,2233,1577,2237,2723,2875,2757,2779,2629,2358,2744,3326,3399,2586,2109,2671,3081,3036,2706,2698,2375,2689,2288,2066,2009,1841,1923,1911,1470,1536,1875,1955,1767,1591,1864,2121,1823,1670,1327,1296,1863,2325,2603,2901,2368,2600,2744,2111,2010,1864,1550,1356,1269,2059,2277,1894,1712,1691,1539,1891,2408,1799,1853,2371,2211,2199,2243,2218,2679,3069,2955,2670,2309,2663,2967,3363,3398,3266,2973,2668,2895,2699,2602,2361,2015,2330,2579,2271,2409,2712,3175,3140,3378,2687,2422,2467,2899,3473,3520,3334,3247,3498,3563,3234,2927,2876,3138,3291,2987,2454,2689,2921,2930,3270,3658,4058,4318,4487,3837,3328,3724,2835,1969,2287,2579,2647,2828,2707,2763,2211,2093,3274,3452,3233,3043,2512,1796,1660,2675,3743,3636,2957,2797,2119,1840,2057,2347,2508,2300,2097,2310,2496,1952,1729,1716,1455,1466,1791,1791,1850,2555,3286,3797,3418,2728,3000,3118,3200,3205,2791,2977,3681,3386,2802,2779,2556,2586,2028,1995,2440,1985,1704,2620,2951,3015,3436,3969,4112,4003,3717,2943,1548,1949,2430,2344,1818,1372,1920,2570,2597,3202,2575,2381,3182,3773,3244,2766,3023,3002,2844,2574,2847,2200,1589,2524,2614,2336,2157,2357,1754,1798,1768,1241,1963,3286,3208,2020,1110,1336,2009,2451,2918,2441,1753,2055,2495,2314,2314,2526,2334,1989,1424,2044,2457,2322,2600,2477,2369,2528,2764,3140,3452,3182,3800,3748,2940,2402,1898,1973,2306,2707,2697,2481,3318,3531,3176,3487,3221,3698,3949,3218,2640,2636,2734,2643,2342,2751,3822,4178,3286,2093,2490,3066,2665,3067,3120,2828,2669,2974,3060,2898,2920,2515,1720,1742,1710,1881,2524,2842,2331,2742,2474,2341,2155,2191,2328,2140,2234,2294,2148,2221,2898,2720,2978,2939,2974,3120,2962,2536,1976,1947,1958,1769,2221,2086,1785,1984,2492,2097,2104,2316,2121,2221,2243,1892,1747,1625,1847,1842,1881,1989,2020,2401,2490,2252,1804,1600,1830,1924,1687,1694,1798,2036,1668,1581,2330,2083,1922,2722,2427,1729,2150,2320,2118,1897,1985,2059,1996,2002,2002,2446,2275,2608,2840,2266,1766,1676,1588,1880,1576,1810,1887,1222,1659,2165,1918,2118,2457,2182,1811,1676,1871,2012,2121,2009,2078,2005,2182,2252,2170,1908,1936,1843,1860,2134,2274,2049,1632,1908,2100,2469,2928,2780,2093,1797,1765,1693,2288,2977,2906,2137,1882,1768,1941,1898,2305,2171,2581,2566,2246,2294,2033,1837,1774,1889,1790,1816,1886,2256,2053,2041,1946,1977,2001,1969,2592,3075,2393,2110,1500,2215,2340,1930,1991,2580,2531,2429,2175,2080,2431,2619,3200,2734,2675,2590,2390,2786,3189,2928,3363,3090,2442,2543,2660,2831,3090,3318,3233,3516,3152,2965,3055,2717,2660,2828,2729,2742,2791,2770,2540,2077,2304,3009,3073,2881,2348],[2414,2424,2412,2372,2247,2099,2182,2363,2346,2214,2210,2179,2268,2286,2276,2237,2178,2658,2474,2083,2181,2448,2375,2003,2351,3064,3306,2629,2558,2244,2136,2632,3436,3636,2920,2400,2645,2952,2873,2857,3012,3394,3498,2821,2373,2519,2646,2395,2387,2562,2667,2966,2770,2357,2624,2433,2582,2189,2114,1833,1723,2613,2990,2603,2343,2552,2245,1999,2035,2541,2901,3024,3017,3117,3322,3094,2807,2795,2954,2702,2263,2204,2688,2611,2938,2588,2418,2754,3064,2553,2073,2050,2220,2644,2810,2315,2238,2160,1944,1975,2502,3217,3650,2886,1942,1846,1638,1300,1302,1396,1413,1403,1195,1176,1284,1405,2011,2236,2044,2247,2494,2721,2676,2533,2262,2061,2370,2844,2952,2954,3190,3269,3309,3239,3010,2372,1970,1840,2316,3210,3366,3376,3636,3371,3139,2950,2646,2392,2135,2585,3283,2717,2265,2542,2294,1911,1759,2237,2720,2530,2677,3000,2778,2558,2110,2127,2828,3108,3485,3004,3104,3278,3250,2447,2213,2997,3066,2640,2342,2011,2242,3234,3828,3554,2836,2915,3567,3362,2469,1996,1672,1666,2145,2483,2193,2095,2384,2077,2210,1907,1688,1722,1731,2154,2381,2729,3673,3919,3185,2193,1660,2101,2276,1882,1481,1460,1405,1599,1598,1915,1964,2171,2374,1958,1786,1852,2286,1902,1898,2209,1938,2014,2036,1749,1918,2008,1837,1708,1858,1837,1701,2124,2356,2645,2654,2673,2886,2861,3172,3680,3743,3766,3851,3427,2938,2346,1984,1753,1756,1748,1823,1749,2014,2591,2562,2302,2573,3116,3067,2961,2579,2013,1827,2277,2527,2601,2546,2577,2646,2579,3044,3249,3024,2244,2144,2007,2084,2276,2851,3375,3077,2887,2929,2676,2174,2220,1911,2271,2664,2224,1804,1957,2340,2626,3020,3443,3504,2967,3181,3723,3386,3328,3338,3671,3895,4058,4507,4903,4929,5103,5280,5016,4327,3904,3472,3183,3274,3118,3079,3133,3319,3306,2930,2473,2101,2038,2387,2678,2867,3048,3182,3428,2766,2207,2421,3186,3681,3607,3514,3272,2652,2519,2552,2530,2374,2519,3143,3687,4060,3903,3674,3283,2369,1575,1572,1488,1856,1840,2119,2096,2360,2357,1849,1910,2102,1738,1477,1682,1706,1681,2239,2289,2258,1775,1738,2105,2165,2001,2032,2255,1636,1427,1627,1647,1804,1638,1715,1737,1830,1832,1652,1649,1482,1521,1755,1754,1780,1648,1432,1534,1666,1740,1640,1464,1470,1860,1761,1551,1716,2192,2157,1703,1941,2544,2334,1697,1869,2727,3140,3141,3230,3264,2977,2221,1938,1860,1992,2001,2104,2417,2472,2275,2296,2456,2452,2391,2181,2426,2303,2243,2481,2919,2640,2525,2200,2083,2243,2071,1945,1989,2003,2413,2308,1754,1874,2152,2872,3316,2440,1723,1747,1828,1824,1979,1938,1959,2134,1994,2236,2306,2363,2485,2808,2617,2476,1999,1656,1856,1734,1585,1610,2062,1974,1725,1787,1773,1963,1969,1674,1670,1778,1389,1482,1946,1855,1090,1465,1865,1773,1778,2188,2942,2994,2736,2476,2122,2250,2425,2224,2069,2789,2363,1692,1616,1858,1782,1786,2054,2067,1968,1987,1628,1318,2114,2277,2071,1897,1695,1784,1840,1862,2058,2031,2279,2258,2398,2462,2006,1736,1836,1686,1677,1621,1319,1637,1870,1941,2156,2223,2604,2656,3022,3211,3388,2664,2120,1733,1785,1801,1948,2504,2965,3002,2386,1977,2049,2300,2409,2248,2023,2873,3059,2308,2318,2557,2494,2640,1925,1986,1975,1578,1623,2049,1876,1882,1969,2319,2492,2406,2243,2310,2626,2801,1997,2300,2384,2102,2066,2026,1840,2092,2098,1707,1779,1793,2105,2431,1738,2021,2201,1996,1626,2131,2439,2170,2013,2193,2620,2432,1976,1704,2058,2335,2265,2042,2385,2731,2684,2192,1994,2396,2570,2617,2492,2238,2292,2779,2110,1821,1997,2427,2625,2240,2317,2535,2331,2498,2788,2654,2442,1717,1910,2101,2253,2257,2367,2918,3238,3380,3099,2576,3034,3370,2898,2659,2531,2921,3215,3084,2213,1848,2146,1990,1402,1337,2186,2189,2051,2054,2164,1901,1826,2001,2399,2260,2187,2734,2986,2673,2420,2390,2467,2023,2170,1976,1475,1595,1870,1750,1524,1710,1984,1880,1812,2021,2000,2613,2425,2064,1731,1707,2074,2115,2169,2223,2151,2398,2234,1868,2508,2847,2496,2510,2403,2154,1735,1748,1838,1936,1870,1864,2239,2115,1750,1903,1941,2276,2381,2742,2458,1624,1367,1460,1765,1798,1651,1532,1698,1873,1797,1930,2262,2428,2294,1984,2342,2790,2562,2599,2469,2196,3049,2899,2276,1711,1379,1820,2013,1596,1260,1422,1891,2657,2732,2173,1623,1908,2471,2562,2372,2108,1931,1811,1541,1562,1775,1718,1725,1665,1787,2004,2131,1701,1716,2335,2780,2865,2499,1881,1550,1631,1643,2129,1978,1591,1344,1720,1902,1808,2336,3537,4432,4531,4399,3767,2568,1782,1880,1816,1592,1448,1776,1835,1919,2300,2446,2317,2271,2202,2225,2357,2251,1947,1797,1852,1950,1976,2126,1946,1775,1864,1901,1985,2178,1855,1736,2504,2494,2344,2381,2846,3131,2884,2545,2515,2668,3002,3189,3007,2622,2251,2259,2700,2676,2470,2252,2054,2588,2917,2609,3325,3876,3499,3395,3425,3241,3093,2668,3056,2909,2430,2824,2357,1675,1764,1676,2167,2031,1693,2041,2468,2678,2949,3022,2835,2951,3162,3311,3639,3673,3381,3481,3316,2764,2313,2239,2928,3602,3492,3096,2615,1882,1481,1606,1862,2003,1987,1959,1945,1755,1644,1426,1301,1343,1420,1901,1891,1650,1622,1831,2215,2077,2514,2026,1631,1649,1611,1670,1606,1551,1450,1122,1368,1596,1646,2325,1995,1793,1691,1685,1868,2170,2138,2099,1997,1842,1996,2113,2510,2175,2149,2267,2208,2136,2289,2294,1961,1707,2078,2052,2239,2010,1854,1997,1871,2389,2670,2630,2476,2132,2225,2755,2777,2690,2467,2770,2508,1891,2200,2086,2122,2383,2251,2097,2236,2199,1941,1793,1883,2071,2350,2200,1713,1643,1784,1998,2229,2580,2160,1831,2570,2801,2412,2551,2475,2463,2866,2933,2808,2946,2835,2647,2170,2082,2190,2336,2779,2419,2410,2396,2139,1946,2256,2176,2215,2619,1742,1002,1347,2121,3002,3088,2621,3703,3654,2564,2304,2768,2818,2610,2337,2243,2559,2476,2294,2230,2039,2115,2558,3257,3031,2503,2304,2147,2544,2666,2370,2176,2232,2558,2559,2281,2024,2308,2421,2209,2200,1891,2513,3349,2859,2879,3088,2596,2734,2800,2979,2919,2679,2524,2691,2813,3149,3520,3185,2749,2802,2801,2770,2775,2850,3109,3243,3097,2684,2502,2767,2957,2996,3084,3133,3260,3349,3293,3261,3217,3019,2989,3140,3149,3189,3248,3226,3476,3574,2517,2104,2349,2710,2906,2657,2710,2554,2012,2077,2159,2043,2115,2353,2012,1911,1660,1485,1544,1454,1484,1481,1528,1598,1478,1454,1593,1539,1598,1672,2020,2126,1646,1982,2669,2292,2094,2339,2132,2306,2359,2852,2919,2702,2542,2411,2341,3035,3013,2600,2452,2022,1808,2135,2001,1968,2124,2486,2717,2785,2257,1665,1892,2167,2196,2655,3289,3067,3020,2714,2850,3006,2692,2049,1890,2198,2194,2164,2308,2359,1976,1599,1801,2409,2301,2358,2622,2887,2663,1789,1959,2938,2786,2564,2721,2821,2539,3454,3382,3169,2613,2589,2514,2122,1807,1789,1904,2105,1713,1986,2110,1938,1421,1505,1565,1939,1902,1979,2059,1747,1832,2191,2968,3044,2508,2975,3062,2383,2285,2372,1897,1404,1349,1717,1973,2070,2114,1922,1550,2002,2127,1920,2232,2407,2140,2129,2286,2150,2234,2676,2938,2634,2207,2759,2898,2905,2807,2842,2878,2698,2604,2397,2285,2301,2071,2294,2314,2077,2453,2476,2854,2820,3029,2684,2600,2857,3007,3233,3225,3625,3519,3318,2976,2194,2567,2974,3184,3031,3074,2914,2950,3370,3619,3724,3803,4133,4292,4038,3696,3374,3381,2610,2513,3292,3083,2603,2865,2857,2690,2079,1913,2303,2840,3194,3472,3493,2524,2019,2902,4174,3687,2818,2912,2303,1975,2257,2422,2552,2397,2153,2488,2699,2214,1646,1639,1526,1344,1493,1706,2028,2396,2868,3124,3008,2513,2731,3254,3254,3305,3117,2977,3251,2993,2266,2399,2245,2229,1964,1886,2294,2079,1895,2755,3038,3322,3593,3946,4163,3936,3573,3037,1985,1973,2480,2464,2487,2215,2313,2420,2498,2654,2209,2208,2764,3266,2968,3222,3094,2757,3444,3044,2480,1694,2139,3029,2442,1788,2280,2555,1953,1472,1395,1406,2285,3020,2701,1919,1609,1698,2201,3068,3266,2526,2154,1975,2525,2674,2568,2516,2440,2058,2449,2973,2387,2115,2333,2486,2544,2943,3397,3116,3415,3303,3408,3194,2651,1767,1713,2584,2621,2411,2313,2663,3759,4090,3698,3811,3493,3937,3443,2908,2619,2911,3327,3041,2512,3129,3806,3110,2855,2246,3106,3694,3322,3871,4189,3103,2410,2453,2407,2234,2178,2771,2400,1858,1936,2362,2088,2059,2327,2523,2295,2063,1809,2138,2811,2205,2041,2285,2632,2690,2764,2958,3168,3155,3256,3139,2510,1706,1507,1562,1552,1474,2070,2196,2059,2038,2162,1806,1746,2245,2531,3006,3198,2124,1754,1576,1682,1861,1833,1834,1970,1845,1803,1873,1540,1315,1632,1817,1737,1856,1716,1996,1655,1560,1798,1677,1766,2207,2163,2046,2492,2276,2050,1901,2055,1957,1972,1582,1693,2127,2314,2574,2522,2174,2065,1947,1958,1874,1618,1867,1527,1300,2083,2492,2184,1800,1741,2260,2128,1874,2034,2285,2365,1911,1868,1910,1937,2425,2669,2397,2486,2305,2105,1941,2031,2069,1760,2047,2100,2155,2315,2298,2165,2132,1953,1697,2010,2203,2105,1786,2375,2433,2296,2262,2123,1775,1952,2036,2242,2387,2320,2217,1797,2046,1814,1926,2056,1908,2136,2303,2262,2352,2191,2126,2597,2938,2137,1832,1919,2656,2482,2060,1796,2476,3119,2697,1902,2234,2553,2695,2874,2546,2792,2361,2287,2578,2587,2755,3002,2548,2360,2367,2183,2057,2287,3030,3292,3100,2814,2769,3074,2953,2410,2135,2008,2397,2393,2014,2406,2078,2486,2988,2922,2687,2348],[2191,2690,3086,2844,2404,2410,2520,2400,2154,2224,2217,2081,2105,2271,2178,2065,2226,2543,2458,2150,2270,2487,2042,1740,2410,2871,3493,2727,2052,1892,2043,2571,3318,3596,3179,2654,2687,2818,2790,2777,2858,3502,3550,2777,2687,2600,2170,2173,2323,2517,2972,2735,2139,1809,2097,2400,2383,2047,1976,1677,1637,2680,3102,2355,2500,3083,2248,2147,2416,2836,2873,2897,3086,3083,3002,2985,2729,2748,2976,2611,2658,2138,1896,1473,1678,1759,1843,2341,2865,3269,3318,3187,2718,2508,2430,2137,1762,1981,2176,2316,2674,3020,3262,2624,1832,1662,1506,1442,1590,1503,1613,1776,1330,1117,1254,1299,1657,1905,2115,2522,2733,2884,2976,2454,1790,1902,2382,3010,3121,2904,2973,3089,3161,3064,2520,1901,1923,2279,2917,3383,3131,3153,3361,3286,3084,2567,1944,1968,2323,2929,3430,2607,2337,2147,2255,1986,2019,2254,2446,2415,2875,3260,3075,2460,2078,2609,2674,3265,3586,2837,3018,3449,2790,1752,2343,3310,2688,2221,2696,2246,2076,3176,3166,2712,2278,2518,3104,3205,2750,2251,1794,1675,1921,1774,1682,1882,1979,1847,1826,1745,2184,2622,2345,1984,2236,2880,3383,3775,3563,2425,1741,1927,2286,2055,1743,1881,1913,1802,2003,2358,2153,2351,2695,2398,1775,2011,2431,1960,1760,1896,1917,2206,2293,1896,1909,2014,1867,1733,1841,1627,1676,2453,2490,2555,2527,2312,2351,2766,2591,2265,2447,2846,2598,2652,2442,2679,2357,1886,1730,1550,1578,1557,1929,2109,1979,2123,2836,3271,2884,3147,2545,2000,2121,2285,2170,1891,1968,2147,2272,2901,3454,3406,2790,2302,2418,2215,2309,2441,3302,4537,4785,4685,4345,3251,2624,2219,1967,2432,2696,2245,1434,1485,1968,2432,3032,3161,2912,2724,3396,3414,3022,2524,2385,3168,3813,3993,4233,4658,4756,4498,4981,5029,4635,4332,3730,3350,3183,3179,3034,2939,3124,3119,2654,2524,2833,2933,2963,3046,3329,3228,3352,3551,2924,2484,2810,3111,3172,3017,2705,2545,2300,2678,3261,2813,2246,2149,3021,3797,3486,2875,2325,2095,1845,1345,1589,2138,2566,2193,1867,1986,2251,2849,2607,1923,2172,2031,1738,1861,1892,1760,1904,2073,2995,2574,2254,2378,2164,2049,2008,2223,1625,1496,1883,1894,2199,1802,1927,1896,1863,1782,1791,2001,1718,1949,2188,1913,1851,1625,1435,1411,1592,1629,1582,1475,1667,1787,1577,1818,1760,2025,1951,1775,1981,2609,2316,1803,1843,2122,2396,2635,3073,3312,2920,2421,2230,2177,1885,2187,2404,2320,2268,2444,2451,2268,2352,2413,2132,2371,2478,2873,2909,2694,2323,2249,2341,2249,1973,2075,2352,2338,2170,2337,2110,1957,1889,1781,2256,2742,2247,1727,1835,1770,1888,2220,2081,1804,2014,2483,2625,2575,2707,2640,2764,2744,2447,1639,1461,1846,1732,1621,1747,2035,1756,1697,1922,2020,1835,1709,1510,1628,1572,1379,1556,1959,1860,1270,1688,2089,2204,2123,2473,3085,3533,3392,2881,2143,2137,2078,2114,2019,2579,2215,1580,1831,2244,2204,2092,2233,2003,1946,2149,1735,1698,2314,2648,2163,1704,1552,1627,1610,1808,1927,1720,2058,2056,2063,1824,1956,1866,2186,1961,1619,1411,1366,2028,2075,1779,2034,1633,1628,1747,2412,2942,2969,2442,2264,1805,1425,1636,1930,2207,2603,2810,2110,1868,1649,2235,2635,2309,1960,2200,2626,2597,2359,2652,2159,1941,1584,1932,1880,1533,1643,1998,1919,1760,2019,2481,2449,2369,2252,2347,2242,2114,1848,2485,2370,2219,2027,2069,2408,2693,2708,2469,2669,2337,2541,2597,1845,2089,2315,2313,2319,2696,2554,2085,2331,2296,2105,2047,1960,1955,1983,2175,2051,2049,2382,2607,2630,2344,2622,3154,2783,2786,2315,1963,2219,2477,1826,1613,1792,2167,2380,2047,2088,2376,2165,2008,1979,2003,2159,1891,1826,1999,2155,2443,2489,2403,2540,3029,2858,2680,2690,2802,2915,2811,2332,2661,3144,2313,1511,1759,2120,1644,1583,1555,1540,1615,2149,2341,2308,2062,2036,2178,2326,2481,2575,2750,2937,2868,2365,2090,2053,1873,1907,1936,2218,1975,1230,972,1257,1553,1837,1748,1446,1781,2065,2771,2733,2179,1897,1913,2046,1885,1937,2399,2067,2056,1880,1826,2991,3418,3365,3061,2824,2250,2023,1952,1855,1765,1854,1977,2440,1760,1734,1767,1817,2194,2269,2473,2244,1768,1461,1627,1871,1958,1959,2042,2461,2280,2004,2198,2242,2598,2752,2306,2181,2356,2345,2470,2423,2708,2977,2379,1976,1526,1869,2357,2132,2065,2406,2705,3383,2884,1936,1851,1797,1854,2189,2356,2592,2533,1998,1616,1711,2271,2118,1654,1974,1897,1803,2099,1897,1596,1628,1930,2290,2879,2967,2366,1736,1722,2909,4345,3107,1839,1388,1284,1444,1686,2319,3538,4252,4572,4492,3732,2470,1688,1782,1910,1742,1534,1560,1579,1686,2167,3054,3510,2713,2493,1991,1382,1190,1551,1591,1662,1841,1851,1897,2046,2284,2052,2055,2197,1681,1690,2397,2505,2406,2445,2786,3050,2853,2502,2408,2576,2907,3122,3105,2689,2351,2465,2464,2482,2113,1991,2061,2313,3128,3294,3402,3875,3863,3219,3280,3484,2993,2666,2917,2775,1799,1663,2473,2098,1895,1891,1602,1591,1621,1774,1776,2013,2420,2553,2632,2834,3189,3793,3553,3376,3551,3407,2784,3016,3176,2708,2111,2250,2972,3375,2984,2678,2328,1846,2088,1845,1292,1762,2069,2109,2070,1661,1442,1656,1680,1628,2057,2289,2073,1549,1924,2234,1884,2421,2483,2136,2096,1790,1685,1497,1341,1151,1173,1433,1449,1525,1830,1775,2039,2244,1738,1773,1920,1592,1672,1913,2556,2214,2173,2429,2154,2138,2192,1891,1723,1824,2019,1828,1753,2515,2252,2395,2037,1924,2413,2348,2889,3240,2923,2458,1856,2407,3320,2821,2441,2276,2545,1988,1390,1779,2278,2499,2397,1979,1681,2204,2184,1562,2218,2511,2204,2670,2280,1704,1715,1553,1699,2195,2006,1785,1741,2065,2100,2087,2193,2196,2055,2408,2668,2598,2754,2973,2446,1526,2076,1910,1586,2023,1819,2025,2224,2186,2117,2323,2229,2499,2907,2245,1464,1750,2190,2369,2799,3119,3829,3088,2342,2471,2678,2445,2322,2287,2402,2565,2686,2525,2864,2294,2050,2041,2383,2552,2698,2680,2414,2492,2662,2643,2393,2463,2281,2747,2790,2852,3112,2543,2077,1736,1514,1813,2622,2507,2506,2830,2609,2358,2277,2673,2730,2485,2536,2678,3095,3509,3742,3360,2117,2373,2169,2428,2903,3011,3108,3305,3138,2909,2943,3198,3350,3156,3110,3065,3210,3232,3213,3288,3298,3164,3037,2897,2950,3145,3164,3104,3225,3156,2799,2132,2104,2811,3120,2702,2579,2746,2585,2713,2625,2709,3191,3041,2315,1860,1828,1777,1439,1472,1500,1386,1551,1578,1483,1564,1631,1557,1673,1728,2165,2172,1942,2421,2396,1769,2243,2259,1931,2210,3300,4210,4116,3974,3906,2719,2347,2974,2987,2406,2470,2232,2161,2429,1933,2026,2322,2454,2819,3251,2941,2121,1614,1729,2103,2202,2622,2764,2369,2517,3095,3062,2591,2118,1865,1712,1861,1928,2084,2143,2015,1471,1899,2288,2180,2213,2768,3233,3123,2139,2041,2498,2464,2227,2171,2224,1924,3099,3877,3605,2553,2120,2385,2223,2143,2172,2070,2476,1831,2077,2239,2515,1801,1476,1841,1989,1558,1866,2312,2090,1843,2202,2768,2841,3010,3528,3418,2497,2295,2840,2781,2142,1757,1959,2438,2239,2035,1897,1840,2077,2194,2280,2181,2352,2298,2033,1909,2019,2077,2231,3063,2883,2697,3142,2896,2414,2457,2617,2632,2486,1931,1462,1525,1907,2034,2184,2141,2216,2900,2643,2418,2784,3052,2422,2336,2767,2956,3088,3212,3750,3284,3639,3307,2612,2776,3155,3425,3250,3428,3305,2774,2477,2801,3194,3231,3746,4081,3862,3536,3331,3311,2841,2645,2835,2901,2709,2510,2272,1994,2146,2182,2281,3472,3360,2778,3448,3275,2958,3054,3357,3059,2665,2652,2112,1895,2336,2582,2245,1994,1916,1857,2266,2343,1559,1719,1895,1527,1520,1645,2316,2636,2587,2522,2053,2292,2951,2943,2883,3495,3519,2955,3129,2597,2261,2361,2389,2430,2176,2064,2100,1889,2131,2723,2667,3089,3694,3820,4013,4002,3787,3280,2143,1399,1362,1430,2163,2216,2925,3096,3182,2953,2783,2724,2295,2027,2477,2579,2524,2696,3173,2724,2062,1920,2302,2765,2094,1473,2142,2787,2361,2054,2248,2548,3220,3243,2676,2077,1849,1853,1816,2073,2235,2295,2380,2169,3326,3017,2209,2402,2304,2440,3036,2408,2094,2526,3046,3141,2939,2984,3566,2583,2368,2786,2625,2536,2556,1980,2058,2622,2599,2624,2579,2687,3376,3818,3987,4185,3794,4004,3586,2721,2763,3543,4217,3971,3438,3732,3739,2987,2941,3072,2995,2997,2910,3451,3851,3185,2223,1832,2147,2057,1703,2967,3067,2351,2558,3319,3002,2546,2463,2423,2152,2210,2014,1969,2868,2451,2127,1968,2207,2611,3045,3336,3387,3219,2994,2932,2591,1763,1687,1592,1487,1526,1728,2014,1982,1723,1902,1844,2120,2806,2514,2962,3230,2241,1859,2237,1986,1637,1709,1781,1930,1963,2122,1923,1767,1698,1904,1734,1659,1736,1882,2028,1793,1890,2048,1953,2188,2309,1865,2070,2566,2279,1853,2094,1933,2193,2361,2187,2386,2540,2597,2633,2026,1844,2008,2031,2013,1685,1593,1505,1220,1635,2271,2553,2589,2033,2033,2725,2406,2070,2056,1978,1610,1933,2220,2230,2348,2763,3000,2753,2599,2800,2410,2251,2185,1939,2062,2384,2323,2214,2194,2099,2227,2411,1852,1620,2076,2260,1891,2040,2568,2823,2399,2225,2171,2032,1765,1956,2452,2281,2321,2426,2171,1896,1851,2257,2504,2314,2191,1973,2000,2084,2184,2053,2223,2392,2699,2354,2236,2285,2191,2034,1816,2014,2756,2605,2050,2460,2570,2476,2346,2481,2740,2664,2569,2384,2330,2285,2087,1921,1918,1953,2080,2024,2409,3028,3171,2702,2353,2439,2642,2640,2632,2204,2215,2358,2389,2460,2820,2232,2176,2580,2811,2657,2405],[2340,2708,2844,2617,2274,2248,2314,1967,1691,2379,2129,1824,2356,3045,2727,2412,2486,2340,2250,2274,2284,2054,2044,2127,2404,2501,2907,2739,2052,1744,1918,2508,3692,4081,3342,2686,2832,3003,2964,2735,2984,3594,3191,2611,2708,2484,1962,2117,2276,2396,2989,2662,1892,2141,2125,2229,2558,2344,2294,2089,1864,2592,2515,2244,2170,2062,2132,2598,2518,2321,2586,3100,3226,2990,2841,2689,2409,2575,2494,2453,2164,1691,1122,939,1482,2024,2410,2656,2978,3387,3457,3436,3032,2297,2273,1754,1048,1573,2216,2315,2397,2974,3206,2426,1675,1537,1494,1507,1470,1497,1660,1872,1560,1304,1288,1214,1381,1800,2270,3023,2942,2661,3344,3010,1914,2019,2232,2930,3328,2943,2836,2832,2625,2135,1808,2127,2116,2186,2770,3024,3119,3023,3150,3216,2807,2144,1771,2421,2499,2539,2708,2304,2156,1747,1726,2115,2354,2106,2363,3034,3506,3251,2781,2259,2458,2584,3104,3840,3863,3580,3515,2851,1955,1820,2609,3244,2756,2774,3150,3042,2167,2526,3099,2756,2557,2946,3284,3711,3542,2516,1838,1676,1832,1763,1744,1760,1858,1963,1954,1977,2200,2091,1946,2127,2749,3244,3006,2807,3256,2677,2376,2430,2555,2176,2212,2707,2260,1910,2097,2041,2338,2454,2470,2128,1749,1883,2198,2194,2178,2216,2200,2283,2149,1621,2454,2145,1879,1950,1976,1442,1663,2244,2270,2127,1982,1989,2080,2766,2276,1636,1710,2054,2394,2658,2446,2529,2354,1998,1689,1470,1692,1682,1250,1232,1517,1769,2230,2416,2041,2136,1972,1786,2178,2596,2304,2204,1981,1812,2062,3233,3460,3552,3196,2611,2502,2845,2906,2668,3218,3777,4152,4528,4444,3104,2693,2544,2449,2353,2330,2101,1719,1698,1834,2458,2696,2751,2462,2829,3466,3482,2697,2019,2250,2910,3807,3948,4207,4521,4273,3774,4532,5021,4784,4504,4111,3473,3121,3054,2975,2975,2880,2958,2803,2489,2636,2711,2735,2668,3186,3571,3392,3089,2788,2341,2154,2354,2402,1996,2002,2034,1754,2487,3193,2620,1631,1333,2032,2200,1328,1199,1178,1723,1842,1611,1560,2083,2811,2500,1789,1738,2111,3159,2484,1891,2331,2531,1889,1702,1942,1775,1550,1569,2032,2748,3253,3032,2599,2411,1685,1841,1879,2102,2144,1892,1793,1764,1851,2014,1746,1819,2410,2364,1858,1863,1940,1672,1621,1535,1408,1482,1585,1469,1652,1765,1822,1599,1523,1764,1754,2147,1902,1741,1951,2435,2372,1804,1759,1698,1836,2166,2391,2468,2254,2009,2343,2280,2098,2289,2264,1995,1914,2258,2248,1991,1995,1880,1948,2391,2438,3141,3407,2745,2358,2138,2182,2240,2138,2392,2254,2286,2381,2344,2238,2182,2470,2413,2059,2229,2136,1951,1910,1973,2216,2618,2626,2242,2705,3540,3252,2751,2423,2499,2656,2552,1996,1757,1494,1530,1610,1762,2016,2041,1833,1795,2100,2060,1595,1642,1407,1368,1545,1560,1734,1918,1763,1417,1325,1348,1526,1985,2358,2260,2986,3462,2868,1979,1882,1810,2130,1957,2164,2378,2138,2013,2072,1958,1888,1995,1650,1675,1776,1588,2213,2623,2812,2593,2124,1809,1563,1599,1854,1696,1753,1670,2028,2398,1914,1638,1584,1855,1760,1690,2075,2137,1932,1756,1746,1834,1714,1621,1910,2469,2978,2979,2920,3496,2570,1498,1676,1895,2168,2553,2264,1959,1473,1144,2050,2440,1826,1536,1673,2199,2706,1984,1762,1682,1610,1649,2370,2309,1716,1901,2308,2253,1760,1917,2380,2342,2392,2633,3374,3073,2390,1907,1814,1832,1668,1296,1824,2598,2599,2153,2128,2430,2336,2567,2307,1741,1874,2144,1851,1481,1948,2035,1848,2048,2225,2313,2045,1916,2027,1944,2000,1895,2070,2459,2713,2759,2457,2253,2474,2328,2775,2190,2056,2564,2286,1858,2099,2209,2341,2669,2374,2074,2153,2230,1697,1584,1748,1996,2034,1965,1825,1696,2216,2567,2057,1735,2394,2901,2885,2257,2453,2570,2254,1809,1979,2348,1894,1509,1667,1837,1700,2084,1886,1403,1477,1990,2177,2070,2258,2423,2300,2207,2674,2786,2504,2209,1931,1968,2187,1798,1550,1814,2658,3164,2153,1335,1543,1785,1808,2131,1920,1830,1922,1985,2191,2198,2141,1934,1874,2264,1949,1542,1847,1946,1876,1641,2273,3275,3506,3407,3429,3007,2302,2396,2391,2314,2124,1863,2205,2295,1674,1827,1934,1785,1957,2411,2326,2063,1816,1481,1694,1914,2052,1951,2236,2365,1784,2020,2448,2162,2222,2562,2352,2210,2276,2257,2245,2306,2675,2467,2169,1836,1968,2533,2096,1771,2790,3855,4212,3929,2543,1497,1749,2006,1875,1881,2514,2866,2191,1652,1693,2139,2044,1693,1511,2242,2287,1952,1883,1877,1714,1688,1664,1697,2397,2951,2798,2051,1784,2946,3487,2336,1517,1359,1492,1766,2170,2915,3538,4227,4375,4311,3845,3020,2018,1744,1990,1941,1815,1609,1430,1367,1614,2471,3000,2771,2209,1309,1265,1653,1636,1598,1732,1882,1806,1904,1893,2020,1830,1954,1872,1703,2294,2465,2368,2485,2852,3046,2850,2579,2409,2577,2940,3000,2996,2704,2433,2713,2630,2258,1957,1794,1835,2037,2499,3085,3587,3951,4005,4050,3714,3430,3253,2943,2802,1980,1448,1565,2059,2326,2094,1518,1290,1415,1569,1872,1991,1714,1926,2121,1878,2000,2279,2630,2964,3027,3342,3710,3449,2658,2292,2292,2275,2235,2502,2995,3292,3278,3138,2425,1993,1866,1577,1154,1696,1897,1704,1772,1441,1453,1735,2042,1741,1680,1816,1897,1979,2024,2021,1699,1626,1632,1641,1738,1739,1885,1278,1312,1639,1676,1675,1526,1472,1603,1603,2259,2809,1653,1642,1854,1403,1690,1918,2203,2186,2174,2511,2255,1761,1628,1723,1502,1525,1660,1510,1982,2778,2525,2498,2569,2603,2871,3064,3129,3072,2920,2565,2265,2589,2592,2523,2374,2208,1792,1420,1776,2220,2456,2388,2775,2440,2185,3408,3584,2692,2894,2623,2589,2670,1945,1773,2403,2149,2328,2346,1957,2600,2208,2208,2260,2182,1916,1910,1587,1737,2092,2104,2573,2397,1405,1382,2420,2137,2007,2225,2337,2571,2678,2478,1948,1907,1710,1583,2274,2286,2012,2380,2098,2286,2586,3040,3283,2589,2234,2425,2700,2250,2250,1985,2058,2373,2588,2486,2976,2745,2045,1697,2341,2999,2862,2727,2674,1933,2335,2946,2813,2451,2293,2351,2179,2322,2501,2331,2447,2243,2102,1897,2617,2971,2641,2656,2499,2078,2185,2497,2426,2246,2017,1841,2873,3608,3174,2392,2278,2850,2241,1982,2215,2335,2556,3012,3255,3366,3480,3438,3448,3304,3295,3403,3414,3226,3109,3155,3260,3209,3211,3320,3447,3481,3608,3547,3625,3320,3065,2078,1123,1714,2802,2498,2103,2567,2945,2920,2599,2647,3074,3242,2610,2120,2322,2218,1695,1921,1527,1471,1434,1455,1479,1530,1460,1440,1619,2024,2205,1932,2176,2624,2584,2273,2030,1624,1415,1779,3395,4007,3815,3477,2719,2265,2099,2193,2824,2584,2742,2662,2392,2277,1971,2114,2191,2688,3176,3100,2534,1912,1558,1924,2203,2246,2385,2557,2485,2642,3037,2944,2453,2524,2320,1988,2131,2083,1959,1657,1824,1620,1709,2314,3001,2862,2399,3112,3276,2754,2437,2257,2414,2062,2083,1918,2297,2977,3205,2847,2367,2427,2603,2261,2279,2452,2381,2634,2266,2378,2380,2639,2264,1924,2249,2148,1597,1722,2028,1970,1866,2007,2766,2689,2699,2805,2822,2712,2452,2376,2326,2048,1766,2333,2630,2272,1950,1663,1580,1762,2238,2330,2457,2768,2239,2041,1637,2416,2602,2699,3096,3159,3399,3348,2921,2414,2482,2686,1992,1849,1867,1861,2109,2364,2208,2369,2448,2520,2700,2482,2289,2866,2974,2147,1881,2414,3117,3286,2567,2808,3807,5952,4938,3184,2728,2981,3498,3225,2895,2434,1709,1334,2450,3331,3583,3871,3964,3566,3227,3217,3109,3059,3439,2679,2350,2779,2101,1881,2326,2853,2965,2810,3406,3606,2855,2774,2690,3304,3376,3099,3067,2876,2903,2652,2553,3059,2834,1786,1728,2059,2144,2044,2188,1750,2555,2822,1990,1704,1765,2284,2699,2776,2420,2072,3003,3360,3109,3106,3211,3030,2502,2503,2688,2788,2529,2569,2289,2061,2445,2610,2336,2541,2717,2756,3146,3604,3652,3530,3395,3152,2825,1821,1108,1069,1204,1689,1857,2908,3365,3458,3639,3486,2940,2103,2285,2666,2295,2224,2479,2563,2249,1930,1851,2002,2150,2024,2098,2608,2580,2203,2334,3416,3643,3908,3893,3940,3310,2263,1678,1470,1301,1549,1735,2067,2391,2877,2467,2542,2990,2432,2824,2734,1689,2089,2978,3381,3466,2944,2706,2627,1986,2057,2683,2602,2514,2985,3122,2204,2031,2055,2131,1832,2481,2885,3247,3627,3239,2786,3247,3131,2188,2527,3173,4127,4283,4056,3706,2938,2856,2700,2446,2367,2683,3168,3642,4003,3500,2066,2277,3105,2989,2015,2336,2559,2700,3374,3375,3204,3212,2751,2345,2470,2575,2598,2422,2467,2298,2092,2167,2245,2241,2612,3152,3194,3044,3044,3289,3194,2317,1705,1717,1834,2061,1964,1936,2074,1803,1979,2189,2464,2834,2368,2569,2464,2055,2062,2442,2338,2138,1908,1739,1680,1784,2156,2147,2213,1990,1642,1343,1348,1359,1848,2105,1681,1749,1985,1956,2331,2497,1789,2100,2944,2501,1927,2375,2569,2783,2930,2407,2300,2680,2708,2620,2224,2240,1984,2126,2100,1729,1654,1663,1509,1859,1924,2422,2574,2066,1838,1924,2099,1894,1683,1571,1757,2083,2114,2056,2138,2554,2668,2435,2684,2388,2612,2892,2490,2358,2314,2243,2352,2442,2304,2313,2558,2498,1898,1988,2432,2090,1942,2077,2161,2517,2511,2587,1981,1925,1700,1816,1828,1777,2011,2134,2243,2215,2134,2558,2944,2382,2178,2022,1981,2124,2236,2324,2535,2901,2679,1932,1863,2066,2183,2065,2148,1970,2250,2182,1699,1659,2099,2391,2290,2309,2469,2662,2591,2158,2182,2049,1772,1799,1815,1953,2126,2161,2443,2796,2620,2228,2287,1958,1578,2110,2272,2002,2460,2586,2500,3019,3060,2365,2184,2292,2496,2512,2824],[2203,2045,2485,2425,2018,1787,1905,1851,2267,2815,2343,2087,2824,3515,2925,2553,2669,2439,2323,2273,2055,1683,2095,2375,2350,2320,2259,2203,2116,2117,2137,2435,3427,3626,3013,2663,2664,2935,3052,3094,3441,3458,3051,2632,2440,2452,2328,2012,2318,2624,3343,3343,2938,2757,2326,2699,2780,2228,2245,2130,1880,2549,2284,2445,2608,2324,2663,2654,1951,1703,1949,2262,2570,2608,2533,2494,2214,2297,2210,2510,2485,2258,1762,1414,1735,2114,2304,2442,2570,2526,2237,2352,2108,1542,2302,2162,1318,1436,2181,2729,2901,3176,3161,2561,1759,1585,1508,1401,1355,1496,1616,1692,1550,1381,1363,1334,1549,2480,3023,3213,3034,3142,3130,2544,1915,1887,2054,2832,3522,2895,2573,2215,2024,2226,2243,2115,2217,2662,2360,2399,2856,2854,2728,2938,2620,2028,2045,2690,2122,2092,2229,2009,2014,2042,2210,2835,2758,2379,2584,2788,3145,3006,2342,2564,2598,2931,3771,4125,3892,3666,3123,1870,1848,2688,3351,3133,3000,3118,3254,3284,2415,2340,3254,2937,2603,3275,3615,3883,3330,2278,2193,2093,2524,2129,1677,1603,1952,2208,1792,1786,2180,2018,1891,2421,3029,3531,3060,3098,3550,3153,2589,2014,1762,1969,2393,2844,2234,1524,1654,1714,2065,2010,1664,1482,1397,1736,2181,2632,2929,3096,2566,2220,2043,1631,2014,2036,2193,2564,2476,2238,2334,2005,1702,1881,1646,1669,1830,2113,2240,1974,1856,2396,3146,3037,2798,3317,3297,2306,1877,1672,1562,1682,1375,1197,1393,1779,1890,1753,1825,2017,1720,1845,1991,2281,1935,1869,1961,2076,2382,3117,3254,3276,3422,3306,2940,2312,2382,2464,3151,3423,3587,3823,3716,2731,2163,2309,2568,2588,2430,1858,1709,1708,2072,2213,2114,2188,2468,3219,3589,3595,2972,2420,2564,2957,3794,3955,3957,4029,4128,4356,4796,4936,4748,4676,4357,3776,3577,3175,3124,3175,2893,2727,2648,2510,2591,2974,3275,3238,3417,3807,3517,2677,2483,2114,2502,2700,2265,1654,1982,1853,1403,1988,2391,2040,1479,1518,2049,1958,1351,2000,2324,2089,1778,1721,1613,1719,2609,2752,1763,1599,1965,2372,1922,1681,1764,2109,1907,1702,1762,1718,1732,1825,2071,2922,3405,3198,3136,2743,2333,2282,2356,2068,2004,2050,2144,2147,2105,1939,1872,2473,2836,2864,2254,2132,1945,1990,2129,1904,1715,1716,1704,1540,1587,1543,1603,1662,1686,1669,1577,2055,1975,1647,1965,2323,2314,1664,1657,1807,1720,1932,2135,2480,2158,2026,2092,2127,2311,1993,1721,1726,1850,1765,1869,2109,2314,2071,1898,1957,2253,3386,3675,2880,2596,2259,2179,2518,2659,2640,2415,2437,2690,2498,2222,2210,2487,2642,2556,2589,2481,2387,2110,1929,2026,2210,2344,2884,3398,3303,3183,2864,2330,2291,2375,2266,1923,2319,2006,1781,1781,1748,1933,2009,1929,1852,2096,1779,1506,1491,1412,1424,1511,1442,1610,1825,1569,1203,1137,969,1276,1541,1902,2019,2438,2558,2035,1817,2032,2243,2348,2199,2158,2225,2226,2143,2042,1697,1617,1892,1616,1675,1872,1542,1265,1729,2451,2734,2463,1910,1642,2172,2536,1859,1335,1251,1911,2311,1781,1394,1543,1832,1847,1845,2257,2523,1938,1695,1888,1804,1864,1842,2388,2787,2769,2751,2968,3527,2829,2236,2217,1778,2048,2129,1873,1834,1488,1255,1512,1923,1779,1312,1520,2178,2809,2009,1732,2124,2171,2034,2626,2477,1849,1990,2155,2490,1635,1886,2339,2253,2294,2924,3666,3596,3117,2640,2159,1825,1592,1549,2746,2768,2161,1540,1782,2175,2286,2328,2140,1757,1906,1925,1852,1979,2670,2405,2059,1845,2056,2157,1930,2059,1906,1825,2009,1887,2066,2128,2153,2379,2231,2273,2231,2251,2427,2355,2593,2691,2165,1774,2031,2293,2514,2956,2424,1974,2132,2237,1902,1683,1742,2048,2093,2004,1748,1388,1907,2588,1866,1603,2470,2954,3178,2650,2143,2007,1740,1615,1791,2256,2330,2025,1804,1613,1745,2128,1955,1966,1780,1944,2487,3038,3135,2545,2014,1928,2687,2270,2233,2058,1679,2065,2678,2190,1809,2198,2641,2663,2179,1942,2123,2180,1800,1790,1951,2145,1875,1708,2012,2078,2017,1914,1971,1848,1262,1125,1252,1728,2009,1778,2568,3395,3479,3480,3329,2523,2178,2332,2448,2430,2388,2331,2696,2419,2108,2093,1891,1859,2145,2437,2150,1893,1897,1672,1561,1727,1858,1765,2008,1965,1768,2045,2315,2004,1847,2010,2062,2284,2347,2196,2090,2249,2281,2039,1765,1830,2252,2047,1572,2603,3544,3956,4000,2874,1641,1377,1763,2125,1998,2099,2641,2265,1800,1697,2184,2355,1912,1437,1459,1776,1902,1945,1948,2110,1943,1783,1679,1624,1820,2578,2973,2497,1924,2004,1944,1626,1418,1538,1882,2414,3078,3385,3686,4132,3775,3561,3918,3633,2541,2276,2299,2040,1881,1627,1367,1283,1222,1095,1444,1716,1364,1683,2262,1886,1423,1724,1825,1877,1860,1932,1986,2046,1914,1700,1618,2259,2514,2479,2534,2808,3089,3041,2776,2565,2575,2930,3067,2873,2639,2167,2205,2365,2060,1994,2193,1947,1971,2529,3105,3608,3974,3551,3465,4082,3946,3410,3094,3294,2654,1643,1970,2304,2503,2098,1760,1287,1241,1642,1857,2171,2136,1907,1746,1627,1471,1799,1587,1821,2053,2085,2615,3251,3164,2636,2391,2039,2640,2406,2526,2651,3167,3373,3088,2540,2440,2096,1631,1559,1798,1682,1094,1054,1638,2229,2396,2026,1296,1389,1642,1982,1925,1655,1789,1601,1217,1318,1281,1556,1623,1786,1598,1990,2195,2126,1969,1764,1641,1858,1867,2136,2563,2001,2489,2701,1797,1926,1910,2148,2673,2661,2336,2076,1631,1823,2132,1619,1496,1734,1439,1561,2779,2674,2054,2380,2366,2293,2371,2367,2556,2536,2318,2344,2313,2180,2823,2646,2424,2240,2127,2998,2756,2717,2981,4014,3001,2142,2509,2951,2802,3002,3536,3431,2277,1514,1638,2659,2481,2648,3039,2506,2458,2421,2657,2707,2344,2403,2477,2114,2729,2995,2897,3334,3142,1913,1939,2677,2485,2197,2324,2420,2239,2199,2756,2185,2188,1713,1380,2175,2576,2854,3329,2979,3150,3405,3050,2568,1988,1795,2611,3019,2555,2003,1623,2038,2650,2361,2220,2786,2945,2740,2557,2896,2636,2046,2379,3173,2667,2525,2994,2912,2533,2404,2025,2019,2215,2250,2595,2655,2770,2545,2364,2720,2458,2130,2297,2025,1955,2055,1666,1669,1677,1666,1685,2559,3163,2513,2147,2531,2775,2524,1957,1816,2546,2695,2623,2857,3414,3725,3595,3358,3317,3328,3474,3493,3332,3259,3251,3133,2994,3077,3372,3646,3654,3619,3653,3974,4016,3773,2641,1323,1313,2502,2586,2131,2626,2968,2902,2735,2811,3366,3120,2268,2508,3234,3109,2778,2507,1725,1553,1409,1490,1581,1631,1502,1471,1571,1705,1729,1862,1960,2170,2236,2292,2148,2165,1988,2180,2884,3300,3466,3049,2102,2098,1774,1707,2156,2217,2979,3168,2359,1756,2174,2441,1975,1907,1847,2163,1815,1518,1930,2273,1956,1803,1803,1912,2324,2890,2652,2124,2182,2797,2588,2429,2125,1969,1732,1442,1706,1994,2019,2488,3105,2868,2110,2872,2742,2802,2384,2185,2078,2115,1990,2504,3043,2630,2121,2374,2768,2996,2629,2589,3024,3298,2964,2885,2664,2375,2212,2437,2852,2618,2222,1846,1728,2091,2188,1641,1724,2336,2720,2395,2262,2562,2759,2822,2422,2108,1981,2197,1805,1911,1936,2075,2015,1749,1727,1827,1826,1759,2164,3129,2854,2696,2092,2500,2213,2797,2797,2797,3007,2557,2453,2457,2843,2422,1971,2455,2546,2315,2142,2344,2658,3142,3584,3486,2558,2180,2140,2609,2829,2167,2142,2743,3612,3581,2554,3685,6288,6064,3700,2713,2601,2874,2668,2393,2080,1597,1096,922,2370,3670,4019,4051,3796,3762,3495,3229,3009,2980,3174,2868,2067,2175,1808,1610,2856,3970,3885,3702,3925,4118,3802,3010,2717,3561,3820,3765,4145,4029,3687,3444,3375,3198,2375,1599,1973,2664,2453,1917,2184,2484,3061,3211,2862,2667,2432,2498,2367,2438,2429,2670,2743,3231,3216,2731,2967,2814,2264,2225,2608,2810,2630,2570,2423,2620,3086,3010,3385,3784,3605,3272,2690,2471,2705,2944,3050,2972,2799,1881,1175,1040,1372,1623,2113,2829,2427,2413,3265,3287,2647,2319,3195,2973,2321,2779,3316,3215,2652,2009,2206,2430,2260,2384,2436,3072,2501,2141,2467,3326,3258,3010,3326,3729,3659,2824,1928,1827,1441,1661,1081,1327,1820,1830,2177,2850,3174,2847,2273,2013,1317,1635,2511,2853,2956,3195,3244,2596,2143,2333,2655,2633,2356,2675,3185,2530,2840,3094,2377,2028,2663,2393,2623,2813,2013,1857,2566,2829,2486,2410,3004,3993,4134,3353,2680,1938,1752,1877,1751,1426,1662,2330,3340,3995,3639,2481,3112,3810,3120,2269,2558,2753,3003,3269,2901,2691,3422,3540,2692,2712,2691,2380,2109,2261,2100,2115,2512,2403,2207,2039,2504,2429,2940,3516,3628,2972,2050,1932,2246,2194,2161,2135,1946,2138,2288,2481,2481,2104,2237,2387,2453,2314,2225,2220,2097,2043,2125,1814,1474,1526,1589,1997,2374,2470,2331,2003,1684,1274,1044,1355,1803,1682,1701,1730,1644,1686,1661,1764,1905,2148,2058,2072,2497,2452,2657,2822,2445,3016,3206,2683,2039,2002,2072,2198,2425,2106,1800,2141,2231,1841,2033,2204,2285,1967,1750,1697,1641,1696,1816,1841,1811,1886,1999,2421,2419,2430,2705,2603,2326,2534,2585,2808,2629,2473,2443,1942,1964,2164,2316,2238,3118,3029,2731,2786,2530,2319,1881,2158,2405,2170,2174,2109,2754,2236,2055,2028,1984,1883,1815,1756,2010,2418,2398,2286,2400,2592,2648,2537,2345,2603,2530,2714,2554,2334,2907,2850,2214,2370,2747,2730,2303,3018,3353,2677,2155,1741,1518,2018,2117,2057,2551,2773,2799,2626,2498,2188,2232,2393,2198,2010,1853,1813,1789,2114,2739,2679,2370,2454,2332,2360,2304,1908,1789,2367,2519,2391,2366,1762,1908,2111,1694,1801,2354,2788],[2263,2304,2799,2491,2215,1992,1817,1924,2608,2556,2173,2281,2430,2495,2207,2202,2051,1959,2234,1857,1946,2273,2856,2950,2432,1979,1999,2022,2090,2168,2181,2227,2365,2548,2453,2497,2689,2678,2686,3025,3250,3190,3394,3285,3075,3201,2939,2663,2790,2904,3494,3703,3580,3007,2634,2911,2689,2535,2380,2006,1880,2244,2295,2472,2717,2511,2181,1875,1699,1750,1716,1645,1880,1653,2298,2820,2646,2820,2729,3138,3226,2393,2006,2148,2128,2041,2236,2209,2288,2248,2434,2419,1751,1326,1662,1600,1475,1913,2754,3646,3240,2531,2937,2975,2047,1636,1590,1543,1509,1402,1488,1589,1518,1766,1908,1738,2172,3234,3275,3076,3110,2979,2511,2321,2289,1919,1929,2170,2587,2344,2355,2510,2534,2788,2632,1860,2386,2779,2230,2432,2779,2530,2094,2322,2524,2679,2115,1748,1538,1721,1944,1984,2165,2301,2534,3060,3264,3139,2832,2721,2559,2248,2647,3068,2918,3410,3978,3859,3579,3356,2499,1647,2131,3431,3654,2994,2614,2459,3059,3586,3020,2746,3124,2554,2854,3220,3131,2994,2221,2213,2553,2276,2208,1864,1397,1420,1786,1506,1455,2020,2443,2012,1984,2204,2335,2790,3252,4018,4352,3760,2438,2031,1936,2010,2075,2397,1875,1239,1406,1853,2204,1931,1801,1937,2114,2586,2788,3276,2857,2620,2598,2340,2463,1981,2026,2502,2600,2655,2718,3030,2973,2489,2690,2520,1961,1698,1831,1957,1983,1884,1890,2383,2664,2677,2676,3253,3164,2363,2027,1938,2041,2103,1789,1893,2214,2338,2298,2049,1869,1975,1718,2195,2114,1703,1804,1878,1826,1873,2015,2285,2420,2907,3327,3639,3354,2135,1718,1616,2162,2500,2778,3134,3112,2415,1825,1899,2490,2962,3018,2382,1740,1550,1777,1981,2056,1949,2425,3305,3553,3715,3510,3168,3483,3355,3428,3920,3746,3597,3978,4472,4680,4647,4720,4849,4537,4192,3560,3171,3050,3104,2991,2934,2832,2727,2841,3388,3945,3796,2810,2341,2305,2093,2487,2440,2522,2740,2820,1970,1405,1438,1726,2138,2297,2211,1987,2050,2282,2400,2656,3555,3538,2540,1732,1727,1810,1976,2238,2188,1734,1731,1832,2083,2001,2291,1946,1606,1504,1238,1406,1534,1672,1983,2382,2889,3162,3203,3149,2720,2667,2175,1755,1897,1938,1826,1780,1832,2342,1783,2119,2541,2540,2556,2430,2731,2776,2233,2209,2154,2024,2029,1726,1597,1520,1536,1501,1658,1794,1596,1582,2013,2016,1709,2024,2475,2294,1759,1781,1800,1790,1804,1837,2003,2081,1930,1639,1728,1996,1810,1793,1682,1992,2046,1946,2725,3334,2963,2280,2238,2994,4048,3816,2974,2811,2932,2889,2695,2950,3006,2373,2075,2377,2483,2734,2846,2280,2496,2745,2319,2115,2354,2302,2504,2718,2272,2308,3034,2954,2868,2768,2437,2360,2437,2280,1967,2106,2475,2220,2188,2292,2391,2276,2038,2149,1839,2056,1803,1810,1670,1449,1454,1563,1505,1628,1683,1135,1151,1356,1105,1404,1575,1915,2086,1759,1412,1372,1727,2004,2046,2144,2341,1898,1825,1871,1872,1833,1663,1595,1599,1603,2025,2308,1714,1278,1553,2273,2978,2798,1817,1538,1848,1818,1423,1264,1233,1788,2402,2222,1801,1600,1853,2047,1679,1609,1656,1528,1682,1785,1889,1835,1676,2332,2895,2714,2301,2444,2464,2056,2372,2036,1744,2083,2060,1848,1741,1858,2012,2355,2590,2455,2119,1446,1488,2225,2009,2078,2887,2798,2163,2057,1870,1659,1855,2143,2821,2457,2439,2452,2340,2484,3138,3574,3437,3074,2780,2580,2151,2132,2297,2735,2680,2140,1709,1840,2542,2512,2163,2042,1864,1878,1964,2648,3184,3216,2669,2204,2492,2822,2434,2260,2333,1924,2222,2346,2132,1946,1865,1926,2244,2160,2368,2122,1935,1910,2052,2432,2373,1824,1997,2355,2149,2231,2513,2305,2010,2067,2082,2040,2154,1886,2074,2648,1971,1457,1463,1899,2589,2409,2088,2513,3022,3404,2857,2225,2053,1936,2222,2170,2120,2080,1745,1824,2094,2254,2300,2258,1944,1769,2162,2496,2945,2826,2318,2081,2257,2436,2208,2385,2310,1862,2292,3107,2613,2289,2264,2235,2107,2392,2476,2092,2049,1832,1835,2138,1869,1582,1869,2118,2070,2043,1697,1626,1482,1272,1295,1377,1628,1668,1932,2845,3283,3479,3499,3244,2115,2050,2197,2298,2405,2373,2412,2666,2574,2418,2565,2304,2001,2289,2414,2370,1943,2030,1852,1501,1555,1653,1837,2216,1880,1765,1824,1909,1923,1917,2146,2121,2123,2257,2075,1975,2244,2145,1671,1627,2013,2098,1800,2543,3452,3352,3580,2982,1780,1623,1675,2171,2365,2228,2518,2240,1725,1684,1982,2363,2212,1556,1315,1607,1532,1652,1874,2033,2439,2244,1943,1517,1548,1593,2099,2814,2630,1894,1421,1317,1506,1723,2159,2752,3194,2950,2783,3273,3243,2822,2994,3729,3421,2614,2649,2590,2154,1913,1929,1741,1334,983,822,1345,1390,1710,2603,3020,2229,1639,1711,1904,1932,1993,1860,1931,2102,1932,1628,2135,2641,2619,2580,2777,3095,2956,2812,2777,2754,2955,3159,3002,2732,2458,2398,2191,2033,1991,2078,2313,2086,2293,2928,3373,3579,3652,3220,3492,4072,3370,2646,2557,3010,2618,2225,2452,2319,1974,1573,1439,1294,1513,1949,2014,2156,2035,1774,1739,1698,1365,1665,1278,1540,1650,1314,1620,2258,2290,2665,2919,2400,2774,2360,2366,2235,2882,3271,3143,3245,3061,2394,1848,1617,1454,1732,1113,1279,2336,2699,2788,2199,1804,2047,2168,2066,1627,1601,1732,1538,1156,1267,1393,1606,1606,1547,2014,2200,1920,1791,1976,2140,2160,2348,2239,2378,2558,2423,2623,1954,1375,1678,1704,1941,2280,2404,2067,1823,1592,1795,1951,1456,1699,2036,1692,1724,2442,2317,1562,1394,1869,2368,2421,2279,2710,2721,3017,3495,2989,2588,3269,3574,3385,2554,2424,3009,2850,2769,3232,3106,2175,1826,1799,1819,2262,2526,2569,2631,2098,1255,1602,2590,2529,2720,3813,3726,2875,2633,2761,2705,2444,2668,2481,2717,3018,2973,3164,3348,3043,2205,2063,2391,2288,2216,2227,2021,1964,2372,2770,2326,2522,2263,2343,2321,2532,3351,3581,3018,3012,3185,3052,2483,1818,1875,2964,2840,2430,2081,2043,2288,2182,2022,2193,2596,2958,2635,2750,2085,1858,2324,2554,2636,2666,2314,2584,3010,2601,2209,2039,2083,1972,2087,2382,2750,2861,2889,2457,2053,1832,1891,2085,2294,2375,2387,1956,1594,1418,1643,1889,2664,2568,2317,2754,3191,3360,3176,2230,1587,2387,3450,3085,2533,3273,3882,3726,3550,3404,3375,3431,3391,3452,3360,3324,3303,3292,3410,3552,3574,3432,3282,3610,3803,3504,3674,3041,2022,1262,2025,2973,2934,2779,2888,3069,2765,2566,3273,2792,2218,2849,3794,4136,3962,3307,2770,1855,1416,1426,1449,1583,1710,1708,1650,1700,1712,1910,1767,2022,2201,1978,2069,2198,1897,1835,2214,2850,3199,2592,1924,1657,1631,1627,1661,2075,3081,3278,2469,2315,2656,2696,2364,2267,1682,1816,1885,1706,2003,1989,1858,1813,1985,1760,2043,2986,2313,1854,2137,2565,2274,1983,1664,1355,1471,1667,2054,2282,2134,2163,2048,2015,2176,2446,2409,2097,1991,1814,2135,2432,2275,2696,2639,2133,2265,2840,3099,3041,3112,2854,2805,3377,3377,3115,2525,1963,1843,1854,2225,1874,1908,1789,1760,2196,2415,1977,2120,2855,3150,2978,2512,2490,2715,2491,2033,2000,2428,2699,1965,1648,1863,2015,2178,2057,1883,2101,2313,1646,1828,3188,3352,2854,2310,2539,2554,2810,2832,2384,1923,1854,2268,2404,2526,1988,2634,3128,2776,2665,2295,2295,3255,3683,3717,3476,2343,1960,2227,2399,3133,2962,2529,2857,3702,3422,2706,3023,3423,2567,1978,2148,2410,2743,2382,2097,2118,1869,1504,1483,2280,3124,3834,4036,3427,3585,3679,3799,3351,3134,2564,2088,1889,1775,1682,1872,3149,4307,4408,4042,2977,3532,4176,3936,3859,4255,4231,4172,4220,4056,3870,3794,3550,3080,1985,1640,2205,3105,2601,2099,2523,3237,3532,3354,2988,2834,2386,2348,2500,2662,3019,3184,2583,2965,3087,2712,3089,3118,2588,2456,2658,2633,2651,2518,2590,2909,3205,3471,3905,3857,3748,3562,2700,2209,2368,3101,3476,3124,2908,2258,1883,2034,2326,2331,2437,2268,1881,2454,2614,2147,1868,1804,2260,2743,2281,2784,3613,3685,3276,2515,2050,2178,2084,2102,1865,2341,2226,1923,2650,3543,3095,3142,3579,3938,3686,2589,1925,1540,1334,2160,1829,1407,1846,2287,2524,2347,2158,2020,1738,1650,1566,2502,2708,3103,3296,3141,2985,3022,2670,2276,2176,2364,2276,2298,2530,2448,2906,2850,2364,2480,2361,2232,2599,1903,1747,2323,2798,2994,2291,2561,3698,4399,3894,2670,2097,2093,2222,2223,1592,943,980,1733,2631,3367,3438,2768,2929,3242,3210,3466,3234,2754,2702,2498,2587,2880,3415,3594,2863,2990,3250,2183,1789,2134,2141,2374,2232,1736,2033,1935,2040,2174,3320,3414,2746,1948,1603,1847,2231,2431,2288,2107,2202,2542,2809,2996,2945,2294,1937,2101,2262,2129,2087,2258,2353,2151,1876,1672,1389,1710,1634,1703,2187,2563,2541,2709,2376,1555,1491,1809,1701,1708,1873,1877,1616,1513,1612,1748,1775,1895,1939,1973,2211,2255,2755,3022,2670,3000,3022,2674,2408,2554,2554,2357,2179,2074,1696,1716,1713,1629,2020,2330,2103,1707,1884,2082,1416,1191,1708,1890,1924,1895,2237,3213,3289,2940,2655,2928,2820,2529,2602,2294,2152,2099,2274,1846,2002,1946,2046,2580,3472,3486,3427,3209,2916,2671,2049,2218,2286,2030,2026,1951,2114,2066,2101,1968,2149,2371,1962,1672,1828,2079,2334,2112,2285,2159,2078,1842,2100,2564,2808,2967,2357,1947,2154,2334,2141,2547,2640,2291,2125,2743,3232,2698,2179,1639,1677,2258,2015,2160,2810,2922,2984,2657,2574,2604,2969,2907,2445,2060,1832,1717,1717,2114,3118,3018,2569,2242,2205,2340,2372,2651,2814,2764,2623,2497,2346,2013,2570,2343,1708,1587,1844,2152],[2380,2105,2279,2677,2607,2039,1648,1697,2409,2844,2568,2508,2050,2071,2080,1896,1790,2061,2148,1918,2288,2539,2344,2515,2272,1975,2278,2328,2532,2159,1902,1625,1864,2126,2355,2549,2343,2149,2291,2534,2633,2588,2899,3055,2853,2988,3044,3053,3029,3103,3272,3385,3151,2501,2706,2728,2579,2245,2477,1935,1666,1685,1869,1965,1892,1820,1604,1499,1632,1575,1609,1561,1655,1174,2241,2950,2801,2744,2811,3234,3145,2523,2458,2519,2449,2337,2214,2114,2111,2303,2696,2939,2496,1625,1529,1676,1546,2166,2514,3127,3187,2635,2695,2525,1991,1781,1721,1750,1588,1420,1538,1577,1882,2989,2668,1856,1853,2561,2558,2336,2510,2698,2552,2710,2931,1848,1730,2054,2551,2746,2625,2920,2763,2768,2522,2098,2846,3488,3319,3056,3074,2454,2097,2198,2787,3261,2577,1960,1766,1858,2052,2007,2253,1941,2039,2445,2845,3040,2678,2222,2686,2821,2924,3021,2800,3241,4209,3904,3484,3109,2269,1916,2630,3339,3487,3188,2592,2535,3196,3410,2991,2675,3179,2814,3111,3200,2830,2150,2058,2287,2283,2140,2266,2495,1793,1435,1317,1444,1569,2417,2592,2061,1945,1808,1932,2608,3371,3984,4307,4006,2997,2107,1874,2177,2485,2455,2026,1623,1742,1804,1775,2031,2134,2086,2069,2032,2136,2801,2411,2023,2518,2401,2293,2283,2074,2114,2352,2324,2397,3110,2986,2554,2716,2532,1977,1648,1916,2215,2426,2332,1976,2442,2569,2408,2068,2005,1922,2204,2119,1998,2025,2113,2996,3948,3454,2551,2227,1789,1441,1492,1635,1786,1711,1694,1936,1709,1814,1995,2114,2620,2570,2968,3276,3576,2756,1687,1494,1769,2385,2276,2301,2901,2865,2192,1896,2191,2429,2842,2542,2335,1998,1921,2011,1936,2010,1946,2220,2570,3072,3677,3772,3425,3698,3503,3532,3898,3748,3650,3903,4024,4124,4412,4580,4656,4396,4291,3767,3326,3188,3098,3050,3110,3196,3193,3463,3778,3941,3536,2213,1764,2139,2330,2808,2818,2465,2734,2754,2054,1714,2047,2313,2390,2389,2167,2077,2222,2061,2450,3561,3895,3294,2600,1988,2117,2079,1910,1699,1822,1638,1955,1959,1765,2122,2635,2080,1431,1356,1365,1744,1758,1738,1941,2415,2595,2773,2911,2956,2597,1886,1494,1695,1654,1794,1731,1592,1730,1869,1872,2454,2583,2633,2618,2117,2176,2244,1778,1825,1954,2061,2049,1720,1624,1953,1888,1605,1776,1880,1765,1794,2185,1924,1816,2063,2557,2024,1681,1555,1551,1754,1606,1403,1415,1762,1727,1814,1659,1726,1858,1920,1642,1712,1862,2323,3411,4344,3829,2912,3447,4061,4224,3745,3353,3211,3248,3100,2919,3240,3542,3147,2558,2526,2710,2756,2689,2560,2792,2618,1869,2059,2401,2369,2720,2917,2921,2820,2488,2697,2722,2327,2148,2171,2266,2436,2503,2513,2134,2152,2500,2539,3233,2445,2169,2164,1725,1770,2025,2108,1969,1655,1735,1907,1655,1747,1760,1000,1422,1908,2404,2150,1843,2196,2488,2129,1973,2320,2359,1962,2237,2578,2586,2026,2243,2441,2288,1863,1573,1837,2055,1787,2006,2075,1793,1682,2003,2613,3043,2482,1817,1738,1999,1808,1671,1875,1970,2320,1789,1489,1810,1848,2023,2107,1664,1331,1388,1659,1712,1743,1772,1587,1882,2679,2954,2578,1920,1781,1704,1359,1615,1657,1496,1815,2251,2320,2056,2145,2434,2908,2579,2850,2624,2176,2387,2367,1914,2096,2669,2432,1989,2004,1988,1857,2615,2605,2345,1886,2115,2741,2753,2769,3344,3507,3443,3120,2787,2532,2007,2137,2768,2929,2623,2374,2260,2167,2167,2164,2231,2225,2292,2103,2626,2998,3309,3188,2228,1886,2216,2223,2165,2232,2175,1832,2332,2548,2321,1783,1931,2425,2436,2158,2130,2131,2066,1986,2149,2976,2998,2044,2055,2271,2157,2397,2447,2169,2189,2797,2566,2118,2084,1914,2200,2800,2044,1603,1767,2068,2641,2536,2025,2385,3089,3021,2283,1796,2023,2204,2072,2120,2126,1934,1911,2520,2712,2216,2394,2514,2227,2119,2343,2902,3212,3349,2473,1765,2098,2263,2361,2474,2107,2127,2688,2403,2172,2009,2093,2461,2264,2359,2814,2639,2154,1888,1770,1880,1714,1748,2100,2171,2310,2324,1794,1461,1493,1481,1353,1418,1481,1672,2335,3023,3132,3004,3276,2776,2154,2082,1955,2064,2109,2173,2247,2341,2165,2217,2358,2310,2316,2566,3060,2897,2075,2029,2132,1709,1527,1753,2211,2351,2055,1851,1602,1892,1891,2010,2374,2166,2075,2136,2036,2204,2367,1712,1516,1872,2063,1975,1847,2381,2897,3055,2888,1825,1502,1831,1892,2249,2313,2646,2236,1642,1636,1721,1891,2040,1927,1550,1433,1642,1645,1733,1819,2222,2452,2047,1891,1528,1566,1848,2018,2024,1818,1387,1322,1497,1819,2287,2920,3306,3124,2710,2662,2472,2313,2602,3094,3474,2743,1988,2026,2109,2045,1999,1953,1719,1488,1200,1479,1716,1764,2625,2519,2360,2120,1772,1629,1731,1894,2192,2111,1968,1832,1635,2146,2654,2683,2707,2877,3155,3127,2810,2741,2764,3026,3397,3313,2863,2526,2315,2301,2084,1962,2077,2358,2935,3191,3277,3348,3276,3153,3203,3352,3658,3193,3068,3216,2698,2475,2237,1831,1942,1953,1616,1627,1663,1462,1554,1865,2016,2478,2098,2016,1888,1639,1724,1698,1337,1575,1688,1219,1569,2087,1696,1896,2110,2244,2591,2634,2735,2844,3124,2999,3032,3298,2996,2261,1837,1330,1187,1434,1039,1146,1600,1899,1970,1771,1499,1526,1531,1296,1089,1497,1681,1553,1454,1352,1478,1564,1557,1433,1457,1663,1654,1501,1545,1723,2245,2447,2397,2415,2493,2512,2247,1766,1798,1854,1741,1900,2035,2763,2502,1634,1427,1520,1739,1687,1679,1653,1572,1499,1617,2009,2007,2087,2805,3088,2820,2411,3104,3270,3087,3494,3086,2576,3008,3839,3761,2596,2562,2880,2934,3051,2239,1512,1566,1757,1945,2108,2565,2159,2199,2258,2505,1461,1715,2350,1939,2092,3188,2897,1819,1981,2399,2374,2652,2757,2438,3174,3020,2915,3383,3394,2667,1850,2094,2041,1959,2058,2350,2463,2453,2564,2422,2477,2941,2964,3118,3053,2335,2297,2929,3040,2912,2697,2440,2287,2028,2355,3019,2653,2707,2921,2669,2209,2338,2696,2403,2390,2539,2008,2317,1949,2308,2736,2328,2301,2618,2441,2309,2608,2424,2176,1913,2333,2077,2258,2644,2775,3056,3108,2192,1864,1977,2379,2790,3131,2708,2514,1776,1614,1584,1777,2253,2235,2114,2347,2998,3748,3461,2983,2546,2207,2488,3508,3509,2907,3154,3482,3674,3554,3273,3199,3200,3303,3466,3500,3584,3631,3610,3601,3473,3382,3355,3775,4376,4496,3776,3274,3202,2891,2037,1625,2468,3145,3038,3020,2984,2645,2238,2733,2919,3110,3532,4060,4288,3973,3950,3439,2132,1561,1474,1440,1482,1739,1825,1704,1612,1413,1629,1691,2120,2490,2359,1913,1520,1703,2047,1985,2034,2214,2096,2018,1821,1842,1590,1433,1696,2380,2589,1824,1754,2710,2679,2891,2611,2384,3078,2723,2199,2063,1921,2052,2013,1872,1592,1834,2705,2366,2212,2093,2277,2031,1726,1923,1925,1959,1994,2054,2476,2417,2223,2060,2215,1997,1947,2086,1881,2122,2463,2594,2199,1765,2001,2156,2219,2677,2768,3203,3182,3083,2620,2346,2483,2779,2675,1677,1755,1915,1995,2096,2179,2382,2903,2642,2286,2553,2307,2171,2713,2766,2433,2048,2271,2452,2272,2330,2778,2780,2708,2521,2105,1547,1598,1888,2142,2116,2468,2186,1780,2037,2620,2522,2123,2164,2500,2382,2226,2470,2113,1772,2282,2342,2258,2002,2248,2829,2533,2097,2352,2509,2644,2661,2511,2538,2337,1967,2059,2327,2239,2665,2934,2380,2789,3308,2693,2189,2234,2680,2146,2110,2249,2279,2591,2652,2522,2444,2485,2625,2575,2590,2577,3230,3594,3457,3749,3851,4362,4013,3527,2623,2104,2088,1846,1896,2647,3842,4284,4100,4024,2804,2862,3747,4161,4323,4551,4652,4372,4199,4012,4112,4344,3701,3038,2047,1660,2775,3281,2729,2542,2574,2616,2895,3017,2109,2238,2191,2241,2799,2846,2856,2509,1937,2372,2763,2500,3043,3200,2856,2784,2911,2786,2618,2483,2622,2890,3248,3692,3720,3598,3662,3602,3065,2516,2585,3299,3421,2942,2896,2556,1943,1774,1996,2764,2709,1955,2236,3083,2768,2105,1787,1233,1741,2645,2788,3022,3596,3696,3406,2344,1684,2153,2145,1785,1736,1803,2077,2246,2938,3458,3131,3488,3017,3440,3223,2622,2204,2153,2035,2173,1917,1946,2523,2477,2365,1872,2153,2295,2045,1757,1831,2421,2469,2740,2943,2834,3000,3226,2888,1953,1797,2393,2457,2266,2512,2720,2419,1958,2231,2463,2139,2333,2814,2126,2423,2762,3016,3108,2646,2942,3316,3815,3682,2593,2364,2523,2504,2536,1372,1110,1212,1509,1567,2296,3250,3326,3109,3572,3968,4224,4028,3544,2808,2463,2563,2862,3184,2957,2221,2394,2576,2172,2286,2114,1557,1655,1669,1520,2146,2245,1888,2066,2702,2858,2218,1603,1907,1933,2377,2321,2204,2515,3129,3044,2757,2946,2908,2325,1814,1789,2228,2260,2265,2233,2657,2518,1926,1675,1649,1926,1884,1759,2335,3200,3165,3571,2756,1545,1842,2196,1663,1844,1782,1617,1695,1812,1806,1748,1813,1855,1663,1771,2083,2407,2968,2720,2197,2126,2353,2679,2385,2415,2967,2503,1712,2477,3018,2383,1836,1775,2084,2208,1974,1579,1782,2071,1831,1488,1899,2200,2410,2333,2746,3267,3191,2591,2402,2878,2787,2475,2337,2209,2511,2415,2144,1888,2165,2337,2144,2119,2796,3603,3847,3138,2898,2335,2205,2164,2062,2076,1948,2063,2006,1770,1747,1913,2024,1669,2098,2442,1864,1561,1981,1753,1734,1720,1778,1887,2135,2685,3401,3141,2751,2121,1748,1759,1940,2381,2132,2304,2636,2645,2633,2764,2709,1804,1699,2046,2116,1981,2234,2355,2729,2569,2600,2911,2811,2609,2635,2597,2410,2207,1917,1886,2803,2916,2097,1699,2000,2037,2300,2864,2955,2583,2419,2322,2177,2186,2701,2598,2382,2655,2499,2056],[2248,1939,2309,3023,2963,2423,2186,1814,2459,3389,3429,2941,2220,2373,2258,2026,1987,1942,1765,1789,2071,1920,1784,2115,2328,1973,2286,3659,3516,2315,1665,1477,1594,1909,2397,2429,1854,1781,1980,1941,2034,2176,2290,2256,2405,2531,2535,2570,2612,2667,2956,3033,2693,2517,2718,2800,2386,1951,2207,2109,1918,1909,2050,1959,1918,1828,1770,1736,1899,1694,1814,2204,1736,1638,2488,2757,2872,2831,2797,2442,2635,2584,2113,1867,2228,2137,1738,1829,2378,2732,3007,3388,3231,1961,1580,1938,2072,2271,2608,3045,3205,2884,2438,2163,2106,1994,1877,1909,1836,1793,1958,1974,2330,2558,2047,1245,1339,2126,2100,2198,2570,2873,2768,3095,3160,2124,2297,2817,3396,3306,2622,2390,2286,2182,1859,1739,2094,2669,3020,2962,2810,2242,2214,2265,2627,3205,3079,2437,1958,2548,2331,1824,1946,1751,1922,2315,2790,3034,2770,2980,3310,3029,2593,2713,3187,3354,3741,3662,3491,3343,3211,2909,3104,3293,3160,2964,2470,2062,2243,2776,2676,2303,2888,3492,3586,3548,3451,2753,2120,2085,2644,3030,3426,3626,2304,1615,1549,1473,1575,2158,2243,1935,2039,1940,1646,1978,2856,3567,3638,2830,2052,1322,1677,2332,2519,2485,2420,2087,1846,1891,2341,2710,2193,2082,1804,1571,1666,1942,1738,1680,2217,2191,1989,2226,1900,1869,1896,2084,2196,2767,2861,2521,2522,2422,1852,1823,2200,2385,2505,2286,1916,2299,2473,2441,2062,1453,1346,1628,1682,1794,1902,2013,2725,3470,3166,2392,2549,2534,2106,1913,2152,2249,1929,1929,2026,1671,2149,2372,2500,2584,2766,2531,2604,2723,1842,1507,1583,2106,2769,2186,2486,2844,2609,2261,2281,2541,2956,2664,2188,2524,2321,2341,2545,2512,1947,1760,2032,1820,2028,2877,3255,3415,3714,3461,3178,3363,3698,3904,4069,3837,3484,3903,4252,4371,4259,4242,4124,3814,3714,3573,3286,3419,3421,3192,3484,3319,3165,3365,2708,2032,2152,2478,2742,2621,2526,2390,2150,1956,2296,2488,2428,2269,2147,2148,2100,1982,1936,2159,3005,3521,3156,2762,2584,1908,1892,1918,1697,1837,1763,1898,1842,1615,1936,2159,1788,1520,1534,1609,1808,1853,1911,2375,2632,2551,2465,2375,2125,1941,1802,2312,2384,2030,1974,1854,2343,2145,1718,2097,2532,2614,2844,2405,1890,2098,2390,2036,1760,1711,1864,1743,1714,2179,2459,2098,1589,1591,1732,1547,1742,2359,1864,1843,2070,2450,1962,1501,1584,1720,1708,1360,1356,1404,1770,1701,1730,1605,1695,1955,1871,1512,1354,1714,2603,3464,4107,4108,3515,3851,4475,4616,4116,3919,3738,3233,2939,3076,3454,3872,3642,2823,2608,2723,2951,3084,2789,2832,2396,1879,2317,2144,2144,2590,2647,2874,2956,2057,2313,2531,2326,2631,2474,2159,2303,2976,3165,2619,2310,2480,2336,2828,2398,2349,2136,1814,1738,1683,1866,2243,1938,1957,1772,1482,1808,1751,1411,1529,1912,2563,2262,1728,2181,2756,2858,2652,2396,2220,1782,2394,3038,2900,2238,1991,2101,2116,1903,1653,1798,1886,2054,2231,2249,2103,1909,2038,2280,2570,2164,1623,1692,1939,1907,1838,2232,2372,2276,1707,1468,1803,1768,1644,1601,1330,1113,1376,1663,1721,1942,2010,1946,2453,3240,3009,2255,1809,1574,1458,1388,1891,2213,1521,1498,1982,2165,2247,1654,1574,1684,1910,2388,2065,1967,2329,2338,2034,2028,2418,2087,1789,2418,2352,1905,2839,2916,2522,1998,2148,2775,2614,2096,2326,2368,2432,2372,2394,1954,1730,2272,3145,3322,2957,2424,2472,2640,3011,2630,2427,2013,2382,2578,3052,3140,3113,2706,1978,2006,2142,1992,1937,1847,1948,1858,2078,2492,2222,2014,2521,2887,2533,2220,2369,2430,1982,2143,2264,3184,3119,2411,2219,2327,2129,2130,2430,2206,2485,2768,2488,2257,2078,1708,1655,1944,2416,2404,2088,2504,3087,2578,2206,2648,3200,2453,2363,2152,2436,1914,1469,1654,1759,1998,2319,2823,2996,2386,2359,2517,2433,2170,2143,2844,2863,2985,2394,1583,1895,2000,2358,2430,2040,1904,1876,1913,1984,2022,2667,2854,2243,2230,2627,2364,1907,1822,1768,1849,2053,2032,2062,2081,1823,2080,2226,2038,2428,2377,1510,1198,1301,1643,2751,3151,3259,3194,2967,2332,2318,2392,2312,2147,1973,1900,2040,2216,1844,1724,2022,2348,2253,2389,2831,2818,2409,2249,2272,2099,1597,2008,2629,2351,2114,1813,1581,2602,2903,2330,2146,2130,2067,2068,2054,2520,2067,1438,1787,2021,1952,2014,1929,1781,2428,2499,2013,1606,1822,1764,1876,2083,2189,2142,1680,1511,1742,1818,1794,1808,1868,1588,1495,1799,1862,1744,1754,2288,2049,1838,1842,1600,1574,1899,2395,1887,1352,1282,1515,1943,2813,3376,3425,3635,3615,3132,2800,2684,2675,2942,2900,2627,2025,1678,1776,2036,2025,2186,2181,1798,1697,1587,1569,1801,2622,2644,2234,2250,1713,1636,1842,1763,2061,2470,2201,2056,1950,2147,2710,2618,2577,2920,3348,3248,2906,2692,2700,2996,3398,3474,2967,2455,2423,2297,2215,2397,2458,2656,3054,3354,3500,3500,3291,3140,3037,3310,2987,2749,2319,3046,3095,2631,2235,1831,1461,1522,1521,1406,1722,1606,1608,2074,2347,2363,2353,2128,2085,1655,1624,2035,1981,2330,2365,1966,1479,2046,2058,1603,1491,1565,1648,1817,2018,2287,2918,3241,2985,3160,3355,3528,3001,2777,1795,1460,1397,1201,1459,1977,1870,1666,1798,1462,1423,1673,2014,2066,2337,2208,1660,1454,1655,1782,1713,1528,1494,1704,1736,1524,1555,1596,1808,2014,2189,2066,1887,2241,2524,2300,2046,1929,1763,2092,2212,2048,2452,2294,1529,1332,1492,1660,1822,1736,1838,2152,1834,1748,1908,1754,1948,2762,2752,2318,2335,2994,3022,2853,3242,2915,2698,2471,2854,2353,1961,2406,2819,3011,3032,2395,1899,1782,1873,2471,3071,3199,2403,2742,2343,2016,1448,1698,2086,1594,1744,2513,2001,1648,2047,2359,2308,2504,2111,2271,2482,2243,2644,3348,3542,2776,1979,2251,1679,1738,2030,2924,2907,2441,2276,2633,2821,2798,2893,3322,3716,3039,2443,2380,3234,3400,2857,2427,2372,2374,2713,2857,2762,3156,3305,2854,2331,2699,3096,2687,2056,1835,1951,2209,2135,2438,2547,2150,2589,3034,3028,2781,2344,2420,2135,1735,1980,1770,1744,2302,2783,3417,3152,2006,1525,1779,2286,2918,2922,2554,2360,1980,1896,1783,1875,2098,2302,2620,2474,3128,3720,3442,3229,2895,2545,2972,3633,3476,3320,3452,3049,3175,2955,2728,3063,3505,3610,3777,3940,3847,3550,3488,3585,3621,3465,3404,3925,4421,4932,4228,3415,3132,3125,3054,2146,1798,2820,3274,3195,3178,2998,2509,2653,3322,3624,3554,3851,4074,3912,3837,3198,2380,1782,1468,1504,1488,1804,1982,2083,1945,1585,1520,1676,2136,2631,2014,1275,1750,2097,1866,1884,2276,2354,2188,1694,1756,1872,1604,2175,2963,2397,2036,1638,1859,2964,2895,2873,2406,2332,2921,2803,2499,1815,1308,1636,1887,1906,2111,1774,1876,2210,2037,1679,2001,1977,2358,3285,2676,2249,1962,1674,1936,2141,2293,2104,1888,1725,1857,2064,2160,2166,3049,3349,2680,2635,2626,2171,2235,2578,2186,2645,3160,3161,2952,2574,2080,2320,2042,2032,2684,2758,2440,2498,2526,2347,2491,2193,2091,2244,2232,2404,2774,2461,1734,1520,2345,2498,2294,2459,2623,2725,2906,3222,2432,1869,2109,1907,2143,2280,2191,1869,1824,2176,2324,2075,2183,2267,2441,2199,2061,1946,1997,2265,2308,2124,1930,2476,2963,2519,2369,2639,2918,2420,2646,2513,2988,3431,2746,2580,3040,3190,2846,2597,2438,2232,1960,1891,2099,2279,2647,2910,2530,2317,2251,2280,2181,2023,2048,2208,2797,3173,2917,2648,2351,2683,3019,3684,3827,4096,4536,4201,3418,2598,2169,2234,2326,2778,3870,4231,4233,4067,4078,3565,3352,3681,4056,4406,4827,4725,4201,3950,3815,4056,3694,3127,3006,2459,2079,2611,3354,3222,2707,2402,2470,2674,2774,2587,2504,2433,2476,2557,2519,2559,2485,1795,1786,2064,2534,2809,2977,2850,2696,2656,2526,2501,2768,2828,2964,3271,3553,3632,3400,3653,3610,3673,3171,2652,3059,3212,2958,3072,2612,1532,1394,1582,2395,2098,1911,2113,2612,2908,2196,1555,1569,1870,2461,3157,3263,3363,3555,3274,2294,2386,2323,2090,2155,2409,2275,2093,1985,2319,2594,2595,2696,2831,3389,2692,2219,2645,3112,2384,1906,1695,2380,2199,2252,2201,2187,2597,2642,2737,2356,1802,1766,2438,3050,2875,2635,2655,2942,3169,2598,2623,2714,2298,2201,2382,2278,2088,2286,2469,2530,2099,2468,2637,2404,2710,3100,3298,3112,2997,2836,2458,2985,2916,2180,2221,2280,2412,2326,1310,1072,1300,1804,2242,2587,3344,3465,3131,3544,3826,3990,3609,2809,2611,2462,2441,2622,2730,2408,2141,2531,2535,2348,2544,2177,2050,2552,2662,2555,3046,2552,1908,2146,2202,2720,2478,1946,2297,1925,1926,2011,2237,2697,3212,3311,3052,2854,2836,2723,2443,2276,2644,2710,2411,2276,2797,2346,1805,1751,1741,1814,1849,1791,1831,2480,2853,3366,2398,1337,1748,2076,2175,2174,1649,1467,1532,1549,1663,1815,1769,1684,1638,1580,1731,2344,2827,2399,2093,2155,2468,2280,2293,2088,2323,2166,2134,2275,2126,1542,1874,2222,2077,2020,1796,1159,1487,1978,2044,1872,1779,2446,2886,2633,2724,2833,2647,2305,2329,2431,2408,2458,2362,2576,2555,2230,1937,2056,2316,2491,2463,2365,2508,2865,3172,3024,2261,1678,2032,2111,2090,2077,1996,2041,2084,2064,1881,1974,2474,2150,2677,3125,2468,2044,1998,1696,1444,1656,2312,2371,2284,2718,3585,3405,3044,2248,1863,1604,1752,2154,2282,2303,2419,2828,3104,3084,2630,1940,1803,1870,2164,2031,2108,2398,2543,2324,2414,2475,2292,1999,2370,2557,2368,2415,2344,2454,2710,2768,1912,1377,1680,2110,2599,2887,2867,2743,2107,2240,2442,2152,2150,2314,2347,2413,2135,1828],[2116,2010,2725,3307,3046,2910,2978,2393,2460,3427,3780,3442,2734,2244,2096,2130,2059,1847,1585,1774,1938,1642,2376,2319,2668,2697,2269,1982,2116,2144,1738,1727,1687,1632,2013,2249,1848,1923,1938,1875,1885,2236,2255,2296,2742,2718,2632,2586,2541,2512,2501,2419,2382,2486,2423,2401,2377,2288,2232,2259,2036,2069,2272,2159,1937,1885,1870,1820,1980,1963,2371,3222,3229,2585,2241,2423,2714,2832,2469,1593,2226,2910,2107,1558,1700,1587,1356,1860,2575,2791,2929,3062,2943,2394,2387,2669,2825,2938,3091,3266,3248,2736,2222,2029,1766,2030,2291,2416,2403,2357,2250,2057,2168,2109,1863,1417,1837,1957,2001,2777,2617,2454,2347,2749,3377,2526,2013,2260,3514,3917,2886,2218,2039,2070,1634,1572,1644,2148,2573,2374,2211,2140,2270,2075,1888,2688,2877,2758,2495,2801,2030,1692,1747,1714,2134,2153,2411,2653,2662,3033,3099,3010,2529,2852,3143,2875,3221,3492,3705,3488,3341,3309,3296,3311,3030,2458,1847,1780,1810,2413,2299,2405,2968,3498,3717,3730,3629,3315,3323,3243,3894,3956,3665,3374,2393,2028,1966,1607,1658,2101,2151,1785,1921,1948,1732,1713,2384,3322,2769,1896,1652,1491,1565,2114,2475,2599,2990,2430,1912,2031,2320,2706,2125,2334,2099,1765,1788,1721,1783,1917,1993,2193,2349,2144,2102,1970,1796,2076,1769,1721,2466,2543,2184,2161,2009,2136,2110,2156,2067,2216,2283,2966,3640,3558,2592,1625,1454,1528,1642,1848,2013,1876,2489,3381,3054,2576,3158,3523,2954,2335,2387,2548,2332,1995,1902,1730,2045,2359,2680,2933,2579,2015,1982,1907,1791,2100,2093,2144,2581,2137,1858,2110,2280,2042,2144,2557,3179,2496,2456,2897,2258,2200,2149,2423,1871,2009,2142,1670,1560,1850,2593,3258,3253,3140,2872,2642,3005,3980,4192,3631,2862,3186,3475,3959,4273,4360,4261,3930,3960,3614,2603,2459,2366,2234,2389,2199,2484,2768,2510,2215,2317,2466,2466,2363,2515,2210,2485,2378,2684,3065,2479,2019,2174,2305,1691,1478,1759,1840,2646,3449,2996,2495,2447,2474,2807,2524,2103,2190,1980,1707,1551,1744,1901,1741,1657,1664,2009,2178,1647,1553,2040,2498,2618,2429,1997,2119,2411,2137,2397,2728,3084,2476,2066,1886,1969,1982,1836,2141,3121,3430,3378,2617,2317,2460,2557,2172,1826,1639,1669,1785,2311,2824,2291,1908,2035,2304,1770,1814,1986,2380,1888,1717,2139,2509,2114,1619,1691,1853,1896,1618,1585,1488,1836,1817,1703,1844,1701,1961,2381,2053,1558,1456,1872,2276,2877,3426,3154,3501,4239,4543,4451,4295,4074,3659,3616,3250,3383,3721,3520,2760,2501,2713,2993,2846,2653,3094,2636,2393,2315,1577,1676,1940,1879,2121,2585,2540,2711,2852,3109,3154,2884,2690,2675,3173,3298,2840,2010,2009,2124,2312,2392,2128,2088,2176,1967,1706,2117,2517,2005,2333,2163,1912,1930,1375,1277,1677,1851,2140,1984,1744,1833,2176,2200,1972,1808,1647,1581,1979,2233,2188,1826,1801,1903,1828,1954,2126,1761,2092,2803,3010,2820,2571,2260,1916,2180,2279,2105,1997,2049,2029,2106,1696,1920,2050,1898,1872,1919,1814,1494,1299,1535,1554,1719,1938,1935,1907,1917,2396,2258,2569,3316,2635,2432,2303,1537,1837,2383,2918,2866,2036,1929,2200,2263,2148,1533,1287,1447,1743,2011,2096,2157,2371,2234,2015,1962,1776,1924,2059,2274,2095,1967,2636,3035,2876,2774,2989,2570,2422,2387,2271,1981,2061,2031,1897,1781,1916,2811,3647,3278,2879,2351,2562,2473,2489,2566,2394,1901,1992,2213,2468,2491,2290,2127,2171,2461,2616,2437,2054,1760,1818,1692,1806,1854,1567,1622,2320,2840,2690,2324,2481,2316,2065,2084,2049,2325,2380,2209,2136,2211,2163,2245,2757,2427,2332,2035,2329,2294,1791,1531,1420,1869,2923,2828,2338,3254,3155,2431,1968,2554,3016,2526,2303,2453,2462,2109,2137,2034,2123,2689,2718,2669,3288,2825,2562,2774,3214,2690,2477,2563,2121,2740,2965,2083,2039,2040,2244,2196,1976,1919,2064,2210,2018,2037,2160,1970,2104,2853,2598,2188,1849,1990,2137,2224,2350,1973,1951,2184,1959,2015,2115,1959,2532,2070,1236,1058,1364,1968,2618,2908,3108,3260,2975,2393,2370,2358,2437,2272,2271,2233,2571,2238,1330,1182,2026,2363,2101,2149,2105,1900,2048,2310,2200,2488,2119,2762,2761,2104,1603,1538,1963,3094,3537,3288,2706,2563,2387,1739,1803,2170,1593,1511,1765,1923,1792,1827,1847,2208,3376,2365,1722,1818,1729,1665,1863,2183,2106,1806,1686,1824,1848,1562,1663,1729,2311,2322,1915,1689,1924,1914,1656,1533,1494,1601,1714,1703,1630,1516,2122,2087,1576,1593,1832,2959,3930,3738,3583,3627,3227,2857,3249,3345,3032,2542,1972,1676,1608,1619,1798,2003,1941,2110,2482,2086,1824,1700,1875,1997,2160,2027,2017,2193,2022,1985,2119,1987,1996,2066,1961,1960,2022,2115,2275,2590,2893,3295,3481,3120,2720,2607,2858,3287,3415,3132,2499,2399,2483,2388,2415,2588,2609,2912,3376,3418,3574,3408,3077,2950,2901,3162,2587,2208,2236,2562,2802,2380,1735,1846,1717,1465,1401,1632,1606,1519,1809,2405,2349,2486,2537,2188,1862,1681,1641,2156,2092,2787,2176,1650,1669,2066,1764,1393,1571,1800,1866,1805,1708,1852,2590,2905,3077,2973,3229,3253,2852,2751,2040,1639,1749,1674,1946,2335,1742,1613,1840,1458,1592,2312,2877,2736,2403,2164,1623,1311,1636,1842,1928,1606,1553,1639,1596,1592,1552,1654,1535,1721,1945,1614,1745,2087,2113,2271,2525,2068,1983,2043,2039,2014,2011,2032,1675,1368,1438,1714,2359,2095,1795,1684,2054,1844,1710,1605,1937,2564,1883,1371,2071,2518,2489,2743,3071,3094,2805,2561,2689,2423,2054,1959,2026,2154,2343,2678,1942,1662,1829,3113,3286,2734,2069,2428,2632,2354,2007,2025,2411,2066,1851,2339,1853,1852,2348,2244,2079,1958,2223,2253,1622,1436,2165,3176,3687,3374,2463,1837,1697,1980,2167,2534,2100,1614,1824,2452,3078,2812,2416,2834,3488,3906,4160,3019,2755,2965,2867,2569,2460,2940,3299,3481,3109,2602,2865,2843,2829,2621,2541,2167,1725,1488,1600,2026,2389,2442,2474,2156,3022,3695,2954,2622,2427,2077,1828,1793,1611,1283,1392,1937,2776,2873,2357,2113,1633,1798,2025,2492,2580,2264,2176,2076,1784,2056,2138,2138,2656,2758,2557,2543,2845,3171,3186,3060,3299,3626,3671,3663,3902,4185,3552,2897,2535,2119,3162,4037,3884,3936,3991,3823,3503,3495,3433,3494,3505,3536,3617,3913,4685,4549,3439,2656,2867,3372,2942,1869,2040,2943,2789,3110,3372,3386,3012,2988,3162,2908,3099,3672,3994,3706,3550,3439,2042,1505,1535,1802,1804,1860,2189,2242,2027,1897,1880,2282,2562,2047,1677,2373,2417,2010,2459,3106,2956,2234,1576,1485,1599,1629,2308,3399,2405,1890,1974,2009,2218,2564,2867,2285,1798,2065,2291,2396,1616,1266,1441,2120,2217,2596,2065,1560,2018,2243,2070,2045,2221,2260,2047,1791,1737,1647,1562,1616,1779,2406,2216,1863,2438,2723,2346,2326,2678,3605,3611,2937,3271,3034,2380,2607,2950,2626,2565,2820,2799,2382,2274,2656,2522,1897,1754,2496,2730,2285,2104,1996,1958,1979,2257,2735,2489,2318,2905,3308,2843,2082,1694,2281,2543,2522,2831,2980,3307,3087,3146,2483,2007,2197,2294,2374,2403,2155,1847,1617,1990,2378,2001,2091,1863,2158,2047,2146,2160,2328,2619,2911,2723,2212,2712,2881,2700,2740,3212,3708,2653,2186,2644,3323,3667,3642,3650,3869,3741,2972,2587,2821,2792,1945,2153,2137,2512,3075,3140,3527,3406,2692,2152,1805,1869,1975,2263,2740,2879,2585,2360,1890,2244,3212,3685,3880,4289,4620,4216,2972,1883,1870,2154,2479,3205,3588,3760,3925,3806,3795,4011,4086,4038,3836,4070,4593,4396,4080,3962,3544,3204,2540,2592,2668,2510,2695,2494,3059,2831,2797,2509,2542,2695,3139,2931,2340,2524,2710,2733,2552,2463,2477,1889,1493,1757,2746,2928,3086,2755,2371,2619,2476,2377,2866,2745,2863,3062,3492,3698,3360,3366,3520,3799,3698,3352,3072,2942,2853,2821,2420,2003,2058,2040,2416,2128,2374,2413,2452,2303,1545,1429,1642,1780,2250,2723,3123,3132,3361,2842,2305,2486,2188,1985,2386,2688,2421,2433,2009,2368,2673,2820,2329,2453,2678,2744,2378,2579,2836,2007,1871,1957,2575,2657,2739,2290,2105,2083,2510,2877,2417,1783,2441,4031,4161,2753,2700,3196,3089,3033,2858,2573,2320,2045,2069,2381,2277,2309,2431,2363,2258,2114,2147,2291,2351,2642,3018,3260,3045,2704,2614,2561,3021,2788,2814,2265,2177,2553,2293,1581,1126,1506,2758,3184,2885,3566,2623,2531,3029,3702,3523,2557,2286,2723,2711,2389,2290,2051,2043,2416,2459,2091,2578,2668,2455,2805,3119,3514,3918,3540,2240,2220,2546,2015,2346,2523,2042,2035,1637,1737,2222,2481,2561,3090,3581,3262,2788,2644,2459,2522,2470,2634,2559,1847,1782,2303,2248,2043,1999,1904,1748,1743,1986,1686,1639,1990,2202,1923,1613,1710,1704,2019,2186,1843,1687,1664,1656,1701,1644,1507,1599,1713,1593,1892,2389,2321,2470,2714,2746,2655,1924,2437,2690,2729,2308,2250,2154,1560,1488,2226,2267,1863,2069,1804,1160,1556,2035,1885,1841,1801,2316,2673,2685,2620,2265,2126,2090,2296,2144,2119,2386,2340,2663,2719,2213,2024,2346,2610,2362,2320,2545,2884,2774,2676,2573,2165,1908,1744,1847,2114,2200,2122,2077,2168,2250,2099,2338,2315,2214,2720,2786,2509,2456,2431,2182,1889,1891,2293,2322,2381,2087,2230,2333,2471,2402,2204,2070,2188,2443,2512,2245,2395,3022,3244,3142,2455,2109,2072,2040,2031,2267,2557,2344,2300,2515,3224,2870,2059,2121,2166,2198,2114,2198,2525,2438,2497,2557,2257,2136,2237,2828,2887,2835,2994,3025,2384,2414,2634,2239,2037,2382,2388,2434,2170,2162],[1422,1412,2288,2457,2307,2665,2846,2773,2833,3276,3560,3618,3431,2777,2110,2042,1750,1663,1876,2106,1980,1875,2362,2210,2632,3109,3220,2864,2564,2280,1895,1952,2041,1745,2322,2795,2618,2508,2457,2575,2470,2199,1902,1651,2246,3062,2902,2966,2995,2955,2928,2752,2620,2559,2455,2292,2255,2104,2249,2264,2094,2138,2288,2379,2138,2484,2427,1907,1765,1897,2597,3536,3392,2353,1834,1915,1937,2360,2360,1615,1935,2600,2033,1405,1385,1644,2025,2266,2160,2227,1998,1810,2524,2973,2989,2982,3103,3207,3090,2679,2464,2224,1950,2357,2864,3098,3012,2905,2784,2957,2507,1873,1856,2064,2110,2093,2723,2797,3234,3659,2852,2306,2532,3250,3493,2624,1449,1827,2890,3596,3230,2662,2080,1919,2036,2238,2134,2598,2962,2431,2276,2431,2241,2154,2401,2932,2636,2587,2603,2288,1838,1712,1920,1968,1972,1738,1644,2094,2483,2475,2554,2957,2822,3138,3408,3309,3415,3586,3663,3491,3391,3407,2832,2442,1890,1559,1595,1910,1778,1650,2036,2922,3396,3586,3497,2920,2713,2879,3500,3747,4248,3972,3702,3331,2456,2165,2077,1697,1858,2060,2001,1813,1766,1754,1780,1882,2108,3240,3007,2013,1842,1768,1648,2352,2777,2622,2994,2743,2382,2199,1797,1870,1994,2432,2762,2501,2122,1786,1854,1995,2116,2223,2300,1900,1848,1921,1991,2226,1891,1801,2680,2596,1952,1716,1805,1933,1896,2040,2053,2479,2490,2555,2574,2366,1876,1746,1863,1980,1960,1879,1842,1575,2209,3629,3253,2387,2484,2969,2836,1908,2363,2563,1893,1769,1704,1983,2084,2478,2808,2864,2441,2092,2220,2221,1615,1516,1930,2288,2824,2512,2072,2475,2262,1916,2006,2471,2857,2379,2622,2530,2014,2091,1864,1674,1849,2010,2160,1943,1795,1869,2386,2637,2422,2614,2894,2798,3211,3654,3807,3365,3050,2739,2468,3161,3854,4336,4217,3851,3760,3384,2475,2135,1824,1909,1896,1243,1428,2031,1914,1594,2184,2075,2132,2109,2197,2315,2483,2340,2834,3311,2586,1806,2070,2390,1368,1067,1638,1834,2261,2532,2208,2022,2319,2678,2807,2525,2458,2620,2245,2220,1768,1758,1771,1650,1848,1770,1874,1942,1728,1823,2213,2374,2200,2261,1970,1755,1867,1944,2735,2647,2154,1842,2070,2049,2050,2333,1946,1991,3154,2447,2246,2271,2039,1794,2280,2676,2280,1926,1972,1736,1855,2633,2771,2084,2024,2494,1694,1538,1726,2087,1847,1650,2080,2526,2345,2240,1870,2085,2483,1984,1746,2137,2222,1678,2047,2788,2149,1967,2398,2342,1930,1869,1801,1535,1923,2740,3152,3182,3419,3790,4111,4306,4492,4096,3709,3637,3396,3439,3415,3160,3377,3437,3420,2957,2507,3001,2596,2220,1588,1514,1680,1821,1952,2382,2397,2392,2549,2901,3161,2985,2577,3010,3159,3074,2968,2127,1790,1843,1837,2485,2812,2284,2228,2138,1851,1818,2390,2323,2230,2354,2233,2273,1918,1419,1665,1986,1953,2180,1989,1790,1770,2411,2267,2087,1960,1653,1617,1843,2120,1937,1676,1739,1445,1777,2214,2649,1744,2105,3285,3395,2722,2566,2224,2017,2374,2295,2486,2484,2565,2308,2599,1869,1574,1831,1866,1881,1867,1771,1344,1365,2290,2430,2380,2119,1914,2088,2147,2678,2645,2988,3133,2569,2818,2635,2129,2391,2624,2618,2663,2494,2386,2291,2188,2121,2039,2067,2160,2377,2491,2350,1878,1925,1776,1607,1731,1874,2219,2438,2662,2465,1866,2190,2156,2115,2193,2436,2508,2391,2762,2751,2526,2334,2298,2346,2232,2363,2546,2649,2710,2509,2410,2753,2931,2724,2607,2620,2307,1848,1804,1906,2055,2164,2150,2286,2115,2193,2092,1929,2086,2082,1824,1717,1592,1223,1494,2329,2546,2325,2186,2439,2164,2068,2294,2358,2558,2610,2360,2066,2338,2552,2687,2752,2699,2689,2372,2564,2299,1825,1760,1864,2583,3168,2635,2714,3323,2547,2735,2389,2665,2727,2524,2275,2447,2551,2692,2683,1935,2002,3018,2987,2743,2713,2242,2619,2789,2734,2648,2788,2390,2049,2906,3106,2209,1986,1902,1523,1794,2287,2167,1938,1921,2020,1929,1322,1606,3000,3946,2864,2172,2294,2774,2707,2204,1865,1613,1818,2225,2254,2203,1953,1523,1295,1265,1135,1110,1464,1914,2074,2178,2229,2640,2448,1825,1947,2000,2135,2240,2147,2443,2614,1943,1062,1212,2182,2480,2322,2501,1971,1591,1692,1938,1942,2237,2189,2426,2338,1570,1476,1969,2118,2718,2990,3146,3149,3030,3074,2713,2562,2203,1832,1899,2205,2373,2040,1866,1661,2684,3146,2205,1865,1656,1540,1701,1924,2091,1820,1570,1689,2170,1924,1600,1705,1761,2369,3434,3464,2454,1925,1939,1780,1609,1501,1381,1642,1656,1499,1374,1542,2128,1938,1633,1874,2931,4195,4340,3860,3363,3045,3023,3219,2769,2260,1828,1805,1892,1783,1764,1806,1887,1830,1937,2620,2339,1845,1792,1897,1710,1678,1642,1715,1802,1683,1623,1759,1853,1746,2051,2292,2044,1918,1976,2054,2309,2775,3231,3088,2700,2617,2830,3186,3286,3108,2452,2091,2243,2356,2360,2423,2829,3021,3195,3509,3354,3329,3067,3308,3157,2634,2149,2054,2733,2988,2471,2669,2580,1600,1528,1918,1770,1689,1970,1600,1438,1871,2216,2028,1855,2150,1946,1688,1796,2178,2302,2027,2287,2257,2233,2415,2229,1868,1903,1889,1815,1605,1423,1683,1894,2193,2501,2915,2998,3031,2529,2343,2514,2104,1830,1997,1737,2013,2832,2081,1656,1632,1315,1331,1644,2025,1959,1544,1687,1537,1336,1622,1665,1858,1498,1418,1478,1560,1772,2023,1942,1433,1831,2028,1303,1750,2064,2182,2365,2652,2247,2319,2069,1797,1881,1951,1730,1645,1528,1628,1703,2380,2016,1856,1809,2045,1901,2135,2128,2045,2046,1681,1761,2444,2700,2802,2998,3030,3155,3166,2831,2676,2884,2427,1772,2132,2054,2491,2578,1924,1804,2352,2764,2242,2216,2565,2774,2828,2657,2402,2227,2335,2726,2402,2770,2466,2152,2482,2934,2797,2456,2575,2168,1416,1525,2670,3208,3374,3153,2207,1766,1840,1890,2254,2396,1886,2254,2498,3370,3309,2720,2351,2737,2889,3286,4156,3680,2756,2198,2330,2777,2898,3077,3007,3396,2691,1973,2735,3049,3016,2723,2134,1854,1951,1747,1429,2408,3211,2478,2678,2390,2867,2811,2323,2498,2624,2312,2104,1890,1554,1352,1376,1474,2187,2315,2268,2178,1994,1910,1468,1786,2477,2199,2078,1947,1871,2483,2389,1733,1940,2155,2283,1923,2143,2980,3267,3099,2834,2635,3430,3730,3949,4069,3786,2941,2455,2296,3399,4136,3939,3843,3539,3416,3377,3477,3393,3667,3653,3326,3596,3836,3853,3531,2831,2809,3123,3108,3089,2552,1637,2071,2197,2614,3185,3508,3354,3106,3047,2850,3522,3796,4123,3507,2894,2802,2061,1719,1584,1561,1506,1707,1947,2008,2030,2107,1895,2380,2583,2575,2359,2287,2328,2319,2655,3104,2962,2379,1708,1578,1804,2130,2798,3437,2358,1700,1785,1843,1940,2239,2676,1998,1609,2262,2443,2424,1905,1530,1604,2350,2556,2302,1853,1804,2427,2388,1997,2128,2118,1967,1529,1344,1315,1468,1794,1793,2118,2990,2889,2379,2996,3022,2387,2636,3051,3396,3084,2834,2863,3188,3388,3064,3123,2787,2939,2967,2446,1986,2787,3150,2388,1805,1937,2387,2276,2103,2342,2480,2233,2142,2632,3064,2822,2467,3123,3448,2678,2095,2135,2426,2482,2594,3063,3275,3415,2928,2722,3143,2551,2316,2356,2588,2721,2183,1865,1567,1559,1692,1990,2612,2410,2724,2476,2300,2527,2156,2029,3043,3392,2657,2155,2373,3016,2762,3079,3198,2532,2083,2292,2729,3381,3682,3662,3262,2762,2396,2369,3021,3105,2238,2352,2256,2435,2749,3065,3663,3910,3643,3018,2061,2007,1881,2276,1997,1821,2156,2436,2288,2467,3040,3291,3545,3614,4098,4014,2812,1918,2462,2368,2907,3671,3566,3653,3703,3673,3632,3835,3904,4038,3869,3869,4188,4128,3686,3328,3001,2694,2756,3307,3519,3410,3310,2943,3127,3337,3140,2862,2608,2520,2430,2100,2607,2968,2918,2649,2302,2041,1908,1558,1341,1966,2603,2879,3097,2598,2358,2825,2720,2607,2798,2722,2729,3005,3571,3642,3316,3165,3386,3625,3969,4035,3472,2966,2310,2107,1966,2184,2208,1927,1933,2253,2454,1991,1796,1929,1815,2577,2729,2542,2627,2392,2587,2833,3055,2539,2019,2080,2019,2214,2554,2393,2202,2463,2182,2490,2664,2485,2294,2511,2565,2380,1776,2048,2138,2192,2126,2373,2600,2773,2180,2050,2199,1913,2093,2374,2166,1714,2530,3771,3723,2302,2292,2913,2894,3242,3406,2911,2657,2281,2386,2953,2561,2346,2317,2727,2427,2096,2120,2211,2355,2596,2812,3053,2541,2242,2334,2664,3292,2836,2151,1894,2334,2827,2735,2082,1655,1810,2587,2608,2186,2987,2498,2239,2840,3361,2602,2407,3030,3284,3074,2439,1936,1805,1961,2272,2191,2666,3029,2285,2166,2673,3579,4453,4133,2790,2098,2174,2336,2119,2177,2587,2151,1975,2509,3043,3023,2502,2293,2811,3001,3000,2976,2373,2202,2286,2348,2367,2148,1721,1698,2320,2364,1917,2092,2234,1726,1670,1857,1888,1814,1502,1621,1619,1596,1700,1509,1590,1813,1858,1666,2068,1916,1718,1506,1513,1595,1836,1938,1855,1902,1894,2128,2664,2907,2187,1725,1686,2172,2249,1968,2178,2518,2025,1886,2054,2142,2069,2404,2509,1911,2266,2161,1726,1866,2013,2361,2379,2292,2322,2022,2180,2341,2441,2013,2260,2381,2632,3175,3254,3188,2789,2392,2901,2522,2547,2186,2414,2412,2409,2276,2182,2052,1919,2430,2463,2424,2231,1986,1978,2512,2353,2558,2150,1895,2010,2081,2164,2562,2466,2079,2060,1961,1768,2078,1968,1539,1791,2592,2772,2448,2488,2806,2235,2086,2458,3195,3075,2442,2485,2612,2585,2455,2167,2078,2010,2183,2308,1760,1786,2135,2778,2663,1763,2378,2604,2566,2172,2112,2447,2402,2322,2229,2358,2416,2644,2953,2707,2795,3073,2986,2696,2821,2983,2431,2238,2607,2382,2136,2065,1994],[1575,1287,1895,2074,2552,2837,2884,3001,2755,2744,3166,3471,3516,2776,2416,2216,2132,2199,2490,2609,2177,2219,2243,2490,2763,2580,3045,3174,3027,2375,2331,2280,2245,2053,2674,3289,3124,2745,2789,2921,2821,2391,1983,1496,2237,2777,2793,2843,2847,2908,3003,3105,2961,2920,2730,2204,1903,1797,2038,2267,2569,2490,2313,2385,2433,2750,2648,2235,1965,1801,2639,3461,3088,2619,2089,1498,1406,1938,1980,1686,1939,2119,2045,1946,1870,2024,2033,2216,2369,2160,1844,1708,2709,3384,3154,2988,2861,2944,2752,2465,2188,2046,2144,2732,3374,3415,3178,3020,2984,3090,2772,1989,1805,1824,1934,2344,3276,3582,3529,3523,2966,2128,2089,2213,2578,2589,1438,2079,2437,3187,3392,2577,2009,1764,1856,2573,3039,3060,3041,2849,2532,2479,2210,2191,2867,3494,3493,2999,2592,2122,1868,1961,2138,2038,1814,1668,1904,2317,2245,2239,2388,2689,3040,3376,3551,3436,3319,3269,3494,3375,3231,3293,2119,1712,1650,1637,2047,2286,2114,2077,2599,3399,3226,3584,3463,2940,2812,3112,3550,3775,4135,3852,3739,3517,2612,2294,2570,1873,1761,1681,1757,1859,1742,1493,1513,1742,2077,3047,3189,2217,1836,2377,2534,2574,2183,1967,2732,2814,2590,2464,2073,2145,2283,2267,2264,2022,2075,2136,2259,1961,1945,2041,2054,1866,1946,2186,2166,2260,2542,2723,3008,2749,2014,1681,1779,1638,1381,1835,2163,2333,2681,2309,1903,1674,1584,1848,2210,2226,1846,1800,1817,1615,2230,3522,3215,2451,2724,2640,2302,1734,2137,2254,2232,2080,2178,2277,2147,2330,2713,2790,2347,2329,2602,2565,1756,2046,2367,2398,1960,1563,1882,2298,2138,2270,2344,1788,1894,1945,2512,2361,2020,2046,1713,1650,1844,1846,1843,1895,1958,2106,2343,2250,2263,2463,3252,3449,3320,3082,3211,3133,3189,2718,2385,2709,3156,3997,4097,3451,2757,2654,2441,2105,1790,2275,1998,1091,1394,1917,1874,2129,2836,2249,1879,2159,2303,2216,2189,2170,2226,2186,1952,1765,2061,2206,1455,1447,1664,1905,2235,2311,2170,2266,2354,2138,2083,2231,2116,2338,2249,2408,1966,1709,1813,2253,2116,1582,1607,1596,1658,2125,2141,2105,2187,2844,2930,2338,2184,2144,2518,2166,1458,1802,2359,2112,2252,2116,1619,1687,2509,2129,2402,2036,1477,1605,2011,2258,2243,2470,2543,1844,1803,2221,2591,2040,1807,1779,1538,1334,1584,1972,1681,1717,1954,2514,2766,2775,2196,1975,2255,2013,1879,1966,1855,1585,1704,1975,1528,1499,1663,1919,1950,1890,1820,1545,1818,2441,2617,2589,2840,3065,3607,4081,4401,4829,4388,3934,3480,3359,3185,3068,3496,3780,3753,3561,3231,2810,2404,1816,1526,1731,2329,2569,2465,2503,2373,2349,1995,2541,2742,2701,2356,2928,3130,2758,2614,2449,2509,2308,2104,2623,2916,2642,2443,2170,2145,2220,2235,1886,1848,1775,2042,2146,1795,1537,1738,1726,1818,2142,2188,2105,2189,2394,2280,2232,1987,1755,1778,1866,2230,2126,1739,1559,1607,2565,2587,2678,2069,2083,3056,3418,2919,2313,1911,2236,2139,1802,2155,2286,2725,2788,3052,2150,1512,1653,1649,1814,1821,1734,1348,1807,2181,2135,2142,2047,1861,2309,2710,2541,2455,2600,2462,2144,2279,2475,2500,2374,2243,2376,2741,2640,2527,2902,3108,2845,2778,2736,3312,3770,3142,2093,1918,2356,2166,2122,2110,1941,2218,2820,2923,2746,2099,2411,2072,2073,1913,2120,2395,2222,2089,2136,2138,1795,1926,2068,2049,2046,2129,2122,2692,2219,2123,2546,2520,2423,2622,2758,2703,2078,1989,2207,2566,2999,3238,2755,2535,2533,1965,1997,2353,2214,2373,2350,1836,1573,1936,2340,2121,1929,1973,2092,2027,2146,2403,2614,2879,3128,2896,2136,2224,2536,2470,2404,2502,2580,2320,2136,2035,1986,2277,2579,2799,2805,2482,2931,2471,2304,2710,2885,2653,2361,2495,2517,2389,2246,2611,2715,2211,2137,2989,2692,2269,2308,2542,2517,2363,2449,2734,2562,2172,1960,1882,2286,1837,1896,2035,1968,1954,2220,2518,2536,2446,2425,2118,1544,2118,3471,3874,2795,2342,2680,2837,2370,1962,2082,1781,1631,1920,2803,2610,1890,1384,1013,1137,1091,1048,1475,1745,1669,1668,1486,1870,1858,1716,1741,1761,1823,1982,2045,2391,2481,1601,903,1409,2585,3298,3055,2788,1793,1610,1803,1883,1848,2111,2420,2331,1964,1554,2226,2597,2556,2392,2523,2460,2552,2987,2895,2696,2524,1913,1740,2030,2025,2196,2490,2380,2242,3097,2720,1630,1520,1606,1830,1920,1898,1785,1653,1605,1766,2282,2115,1928,1996,2113,2499,3210,3666,3256,2266,1798,1882,1711,1590,1428,1434,1542,1424,1472,1643,2031,2259,2069,1796,2285,3629,4168,3584,3156,3212,3056,2740,2169,1907,1855,1948,1910,1810,1776,1938,1816,1657,1585,2203,2656,2122,1770,1591,1415,1427,1521,1483,1463,1431,1413,1599,1937,2159,2585,2496,2121,1905,2067,2054,1983,2191,2605,2707,2612,2689,3090,3332,3157,2540,2147,2148,2437,2837,2854,3005,3156,2931,3052,3686,3687,3648,3306,3141,3188,2690,1732,1962,3226,3302,2542,2066,2309,1682,1842,2571,2109,1908,2294,1919,1558,1758,1676,1508,1500,1969,1765,1932,1716,1979,2348,2227,1932,1885,2004,2316,2574,2513,2433,2353,1765,1183,1642,1635,1731,1615,1760,2308,2600,2591,2505,2536,1948,1707,1725,1837,1712,2040,3125,3106,2763,1891,1255,1306,1354,1572,1578,1429,1699,1544,1323,1414,1367,1349,1259,1399,1511,1699,2029,2386,2724,2100,1968,1729,1607,2069,2071,2077,2075,2210,2345,2295,1871,1553,1810,2202,1743,1764,1739,1698,1693,1741,1687,1999,2147,1863,1860,2179,2318,2040,1865,2060,1919,2287,2343,2656,2830,2357,2285,2585,2208,2253,2952,2512,2154,2369,2665,3464,3028,2774,2798,3221,3542,3087,2991,2852,2509,2874,2790,2312,2089,2035,2121,2153,2347,2801,2912,3060,3506,2512,2193,2596,2674,2075,2189,3110,3232,3292,3012,2547,2580,2396,2238,2557,2447,2179,3278,3060,3482,3349,2644,2587,2797,2236,2396,3101,3046,2436,2085,1945,2281,2935,3263,2909,3132,2734,2355,2680,2563,2395,2436,2287,2238,2546,2470,1871,2171,3086,2758,2757,2389,2323,2178,2242,2669,2713,2361,1984,1919,1809,1529,1515,1497,1971,2476,2375,2115,2250,1983,1452,1664,2174,1942,1719,1738,1731,2206,2542,1950,1721,2150,2318,1810,1762,2573,2824,2776,2132,1720,2432,3276,3551,3732,3905,3630,2821,2153,2851,3754,3665,3551,3529,3194,3143,3372,3310,3347,3145,2908,3260,3155,2436,2479,2994,3277,3107,2877,2933,3018,2164,1879,1865,2198,2644,2995,3050,2761,3245,3051,2977,3105,3320,3351,3087,2851,2221,1770,1643,1548,1674,1789,1711,1847,2071,2541,1834,1887,2501,2887,3042,2777,2369,2451,2741,2951,3017,3076,2890,2192,2182,2318,2436,2215,1874,1870,1789,1962,2090,1888,2368,1892,1979,2716,2402,2165,1720,1631,1855,2338,2830,2443,1881,1599,1713,1945,2186,2103,1902,2026,1957,1525,1209,1189,1385,1462,1714,3029,3143,2173,2225,2174,2414,3108,3052,2535,2301,2251,2268,3414,4124,3221,2669,2343,2832,2434,2172,2030,2688,2778,2230,1851,1940,2265,1945,1868,2110,2082,2224,2200,2916,3088,2390,2103,2425,2460,2502,2448,2454,2690,2412,2284,2431,2460,2484,2523,2756,3213,2691,1956,1937,2277,2573,2302,1970,1660,1448,1575,2302,2750,2662,2919,2762,2390,2389,2032,1904,2489,3107,2944,2584,2525,2791,2866,2924,3116,2917,2441,2545,2865,3176,2971,2776,2319,2513,2542,2266,2525,2366,2040,2280,2404,2465,2999,3388,2901,3240,3595,3054,2446,1718,1813,2393,2000,1963,2241,2583,2652,2615,2767,3063,2684,2410,2587,3029,2502,2178,2780,2640,3321,4101,3849,3880,3823,3971,3924,3952,3962,4187,4058,3993,3907,3530,3175,3160,3296,3355,3548,3625,3305,2728,3311,3786,3398,3530,3602,3145,2532,2532,2669,2510,3450,3399,2806,2436,2212,1859,1953,1731,1432,2021,2391,2480,2898,2951,2959,3044,2841,2955,2856,2777,2895,3198,3610,3704,3254,3104,3476,3735,4005,3985,3638,3226,2268,1803,1635,1766,1649,1495,1968,2534,2808,2266,1744,1896,2120,2771,3191,2885,2732,2490,2124,2207,2599,2196,1696,2008,1883,1957,2173,2109,2416,2323,2083,1798,1579,1598,2041,2646,2188,2105,1427,1899,2117,2746,3104,3259,3105,2712,2171,2286,2566,1981,2153,2803,2443,1961,2941,3099,2897,2952,2858,3116,3396,3432,3261,3005,2798,2540,2417,2502,2532,2414,2828,2998,2404,2215,2358,2352,2642,2930,3360,3048,2308,2497,2513,3034,3239,2370,1758,1857,2353,2837,2699,1795,1699,1798,2141,2176,2198,2530,2271,2137,3223,3320,2529,3093,3372,3420,3418,2625,2046,1852,1712,1754,2254,2688,1908,1719,2476,2995,4030,4461,3098,2085,2036,1952,2111,2283,2246,2288,2138,2488,3364,3897,3605,2599,2666,2675,2155,2823,2986,2518,2279,2631,3204,3153,2706,2365,2277,2397,2064,2049,2751,2877,1998,1724,1807,2195,2015,1542,1679,1575,1897,2269,2048,1825,1881,1920,1871,1791,1793,1688,1645,1762,1975,2577,2575,1865,1870,1878,1709,1927,2344,2232,1839,1664,1642,1876,2344,2614,2640,2250,1948,1824,1938,1968,2078,2290,2316,2266,1539,1130,1687,2046,2156,1962,1997,2367,2242,2247,2488,2454,2380,2648,2741,3089,3418,3739,3673,3272,2844,2758,2474,2709,2409,2071,2024,2026,1773,1909,2112,2097,2873,2312,2087,2543,2135,1687,1707,2114,2289,1945,1783,1906,1859,1878,2191,2039,2066,2267,2286,1990,2031,1850,1791,2336,3143,3043,2863,2669,2714,2135,2139,2668,3338,2722,2242,2145,2258,2756,2807,2146,1920,2222,2313,2144,2103,1963,2517,2810,2176,1923,2565,2656,2211,1877,2007,2149,2171,2075,2233,3024,3233,2767,2523,2546,2601,2718,2869,2686,2692,2757,2455,2153,2531,2471,2217,2162,2081],[1585,1592,1780,1973,2750,3017,3108,3207,2802,2299,2392,2632,3096,2799,2409,2245,2555,2835,2691,2477,2439,2387,2439,2864,2768,1857,1860,1836,2008,1904,1890,1806,2324,2697,2897,3271,3059,2569,2596,2680,2702,2513,2380,2025,2482,2721,2522,2352,2491,2607,2510,2887,2882,2535,2071,1985,1976,1998,1821,2427,3144,2983,2850,2736,2308,2123,2144,2324,2343,2305,2812,3312,3220,2846,2384,1585,1604,2122,1777,1860,2328,2092,1814,1436,1667,1779,2162,2824,2722,2371,2465,2272,2540,2983,2637,2717,3075,3173,2426,2491,2400,2034,2402,2868,3274,3374,3120,2856,2438,2507,2755,2022,1728,1806,1940,2413,3376,3597,3482,3618,2885,1977,2032,1732,1926,2388,1658,2104,2198,2736,3123,2874,2486,1994,2010,2635,3098,3077,2416,2494,2610,2570,2542,2341,2149,2561,3124,3448,3082,2015,1505,1848,2198,2251,2081,2340,2746,2657,2518,3018,3006,3016,3219,3263,3458,3311,3328,3291,3421,3364,3348,3119,2109,1612,1602,1949,2330,2124,2178,2238,2598,3708,3238,3486,3737,3828,3732,3528,3484,3886,4200,4073,3484,2212,2040,1785,2072,2131,1998,1748,1786,1804,1836,1940,2139,2230,2139,2840,2999,2457,2190,2568,2674,1751,1272,1520,2140,2452,2490,2367,2062,2118,2533,2546,2182,1990,2324,2585,2616,2054,2168,2137,2298,2935,2940,2358,2374,2373,2267,2259,2557,2710,2469,2137,1914,1432,1007,1759,2483,2397,2536,2579,2613,2590,2624,2526,2285,2044,1842,1914,2014,1755,2280,3271,2884,2499,2996,3044,2302,2082,2478,2837,2300,1940,2154,2426,2370,1703,2223,2916,2829,3065,2641,1885,1853,2254,2511,2415,2252,2577,2475,2307,2342,2844,2463,1271,1136,1582,2073,1742,1930,2142,1766,1869,2052,2049,1848,1886,1960,2203,2664,2732,2114,2731,3854,3484,2303,2474,2910,3111,3344,2765,2386,2843,3355,3658,3724,3263,2211,1919,1922,1864,1934,2113,1772,1136,1287,1413,1563,2047,2376,2091,2010,2561,2613,2276,2166,2322,2169,2083,2095,2125,2360,2397,1906,2079,1953,2017,2200,2254,2432,2282,1742,1784,1980,2270,2046,1893,1865,2059,1984,1771,2189,2608,2230,1599,1731,1579,1816,2093,2046,2069,2314,2821,2770,2290,2010,1932,1917,1449,1247,1505,1730,1750,1826,1860,1644,1763,1933,1764,1739,1519,1396,1390,1350,1677,1724,2303,2072,1683,1659,1975,2191,1869,1648,1553,1505,1468,1448,1953,1639,1836,2042,2189,2640,2696,2116,1632,1592,1562,1698,1702,1659,1616,1722,1569,1589,1832,2004,1998,1698,1428,1446,1660,2078,2286,2568,2519,2617,2398,2081,2509,3097,3819,4227,4225,4156,3902,3218,2791,3081,3939,3958,3806,3642,3400,2776,2266,1892,2109,3112,3221,3009,2780,2404,2764,2344,2361,2020,2081,2570,2990,2540,2136,2182,1991,2091,2343,2626,3257,2920,2431,2245,2214,2320,2387,2270,2055,1944,2165,2348,2020,1763,1485,1592,1565,1704,2126,2150,1978,1898,1649,1645,2012,2030,1771,1928,1958,2398,2398,1646,1453,1516,2284,2633,2689,2562,2542,3183,3612,3264,2398,2041,2218,1952,1904,2170,2396,2520,2596,2774,2007,1419,1556,1730,1973,2052,1616,1611,2064,2358,2676,2915,2879,2312,2554,2730,2369,2458,2811,2174,1930,2172,2515,2584,2235,2244,2410,2298,2309,2481,2539,2708,2714,2692,2496,3082,3532,3220,2096,2126,2123,2030,2519,2432,2049,2032,2491,2364,2489,2161,2270,2269,2158,2010,2491,2773,2510,1970,1854,2041,1810,1806,1960,1868,1813,2242,2448,2428,2219,2294,2684,2903,2547,2610,2655,2407,1961,2255,2442,2706,3222,3453,2945,2584,2346,2022,1643,2002,2034,2120,1991,2018,1944,1999,2196,2232,2143,2006,2005,2112,1956,1968,1923,2254,2626,2626,2376,2396,2446,2544,2391,2121,2350,2182,1740,2116,2446,2491,2393,2120,2371,2595,2125,1995,2496,2773,3063,3022,2700,2866,2295,2512,2303,2487,2552,2320,2352,2778,2422,2054,2388,2730,2296,2381,2807,2912,2388,2170,1553,1528,1971,1857,1864,1984,2024,1888,1804,2122,2447,2308,2220,2258,2165,2890,3326,2786,2298,2300,2088,1796,1705,1722,1853,1648,1725,2311,2526,1735,1477,1205,945,1080,1116,1041,1331,1644,1848,2244,2211,1938,1698,1858,1935,1883,1667,1587,1815,2309,2215,1283,1016,1745,2980,3529,3407,2360,1544,1607,1608,1599,1757,2222,2938,2778,1860,1682,2084,2381,2573,2631,2412,1988,2005,2215,2172,2196,2122,1586,1783,2071,1944,1656,1743,2050,2658,3163,2249,1531,1633,1786,1912,1867,1785,1666,1650,1834,2063,2360,2190,1863,1972,2584,3374,3488,3065,3000,3212,2299,1900,1670,1599,1586,1523,1397,1331,1554,1787,1967,2610,2554,2380,3084,4068,3893,3188,3345,3417,3206,2687,2104,1997,1887,1793,1920,1936,1830,1880,1710,1479,1522,1987,2518,2376,1688,1491,1624,1802,2215,1653,1460,1432,1584,1857,1751,1715,1694,1772,1925,1861,1885,1848,1938,2066,2205,2497,2665,2990,3278,3168,2562,2053,2130,2310,2552,3185,3250,3072,2933,2807,2715,3475,4017,3961,3306,2987,3438,2978,1506,1724,2990,2875,2344,1774,1770,1759,2302,2603,2062,1687,1591,1412,1545,1858,1491,1268,1779,2428,2031,1926,2266,2208,2352,2447,2144,2122,2085,2125,2508,2797,2437,1940,1428,1516,1986,1820,1721,1359,1578,2122,1976,2068,2287,2379,2069,2244,1876,1841,2027,2189,2524,2796,2602,1919,1671,1766,1801,1862,1631,1691,1866,1599,1366,1393,1406,1382,1397,1461,1582,1860,2025,1947,2462,1952,1578,1389,2196,2879,2436,1819,1966,2394,2308,1963,1490,1527,1926,2358,1933,1759,1768,1600,1828,1870,1674,1986,2142,1636,1769,2024,2325,1893,2209,2382,1987,2107,2091,2222,2030,1827,2424,2928,2320,2809,3040,1992,1949,1481,2871,3317,2558,3172,3676,3637,3669,3507,3762,3480,2580,2852,2812,2566,2488,2078,1846,2288,2590,3072,3086,3134,3308,1803,1357,1792,2871,2907,2806,3017,3217,3493,3376,3146,3125,2843,2889,2916,2918,2543,2722,2425,2857,2850,2352,2514,2416,2157,2241,2332,2382,2498,2945,2397,1914,2370,3392,3252,2954,2928,2964,2786,2239,2121,2402,2712,2380,2854,2745,2513,1816,2081,2452,2587,2588,2262,2026,2335,2558,2632,2188,2058,1912,1842,1709,1677,2024,2280,2024,1681,1905,2322,2015,1656,1721,1797,1946,2437,3298,2910,2353,2321,2056,1808,1830,2099,2026,2148,2461,1947,2302,2135,2072,2699,3256,3421,3573,3805,4042,3731,2656,2870,3461,3386,3482,3598,3476,3388,3132,2874,2840,2833,2776,2612,2484,2743,3108,3135,3150,3016,2878,2915,3184,2977,2226,1663,2378,2379,2536,2665,2779,3108,2984,2830,2946,3215,3550,3553,2952,2357,2042,1830,1612,1656,1615,1483,1651,1995,2596,2144,1694,1980,2498,3052,3024,2839,2832,2901,2964,3151,3454,3619,2687,2226,2056,1865,1948,2120,2155,2186,1838,1754,1730,1929,2065,2521,2742,2321,2120,2154,2343,2366,2275,2785,2454,1727,1538,1893,2663,2500,2050,1721,1672,1714,1506,1340,1154,1354,1542,1571,2366,2295,1887,1830,1888,2778,3391,2732,2062,2231,2542,2670,3418,3682,3244,2663,2743,2441,1841,1919,2404,2604,2262,2212,2338,2087,1978,1641,1836,2248,2104,2325,2308,2429,2635,2401,2120,2078,2338,3074,2906,2589,2846,2530,2364,2333,2324,2472,2288,2130,2814,2690,1906,1818,2552,2075,2185,2098,1840,1953,2447,2833,2796,2451,2376,2258,1831,1547,1824,2006,2402,2619,2430,3032,3190,3444,3774,3464,3345,3168,2463,2345,2876,2602,2170,2272,2186,2339,2316,2288,2148,2105,2264,2160,2022,2071,2909,3422,3024,3132,3119,2749,2348,1802,2126,2426,2160,2084,2266,2654,2350,2366,2544,2676,2530,2269,2322,2302,2040,2302,2567,2567,3548,3942,4024,4133,4003,4086,4050,4030,4160,4395,4183,3801,3653,3571,3648,3594,3415,3786,3691,3094,2414,1825,2696,3775,3725,3803,4019,3924,3359,3483,3854,3487,3514,3195,2742,2618,2354,1914,2025,1926,1447,1698,1893,2399,2901,3085,3050,2955,2908,3096,3107,2955,2972,3221,3519,3674,3559,3719,3753,3654,3570,3774,3108,2930,2542,2024,1774,1642,1533,1719,2521,2829,3179,2460,1956,2036,2014,1943,2278,2249,2272,2370,2112,2366,2207,1936,1989,2347,2123,2192,2084,1969,2059,2155,2029,1617,1490,1501,1911,2116,2226,2414,2163,2764,2546,2668,3752,4096,3020,1822,2266,2387,2226,2667,2901,2866,2433,2241,2819,2562,2966,3774,3492,3020,2986,3066,3406,3342,3059,3138,2562,2325,2492,2612,2951,2996,2714,2227,1972,1989,3134,4213,3980,3234,2447,2375,2519,2895,2767,2207,1951,2143,2258,2676,2574,1697,1590,1635,1708,1843,2126,2315,2247,2541,3011,3073,3140,3405,3131,3430,3530,2773,2114,1764,1550,1458,2045,2068,1505,1978,2393,2315,2668,2614,2002,2026,2100,2098,2314,2431,2520,2309,2218,2800,2974,2725,3127,2756,2548,2238,2031,2692,2770,2253,2634,3975,4365,3496,2166,2243,2200,2198,2388,2695,3054,2939,2344,1798,1772,2135,2048,1700,1443,1670,2501,2863,2543,1864,1642,1716,2054,2019,1688,1603,1613,1632,1966,2609,2813,2213,1692,1836,1866,1839,1872,1999,2091,1797,1615,2150,2372,2171,2253,2045,1909,1892,1874,1675,1640,1845,2081,1992,1451,1159,1678,2224,2227,2404,2347,2721,2542,2476,2557,2368,2527,2589,2766,3328,3736,4140,3676,2539,2227,2642,2450,2788,2778,2037,2079,2014,1497,1794,1909,2061,2304,2113,2535,2796,2015,1649,1784,2073,2290,2081,2127,2286,2271,1931,2235,2298,1973,2153,2230,2214,2093,2071,2322,2472,3056,3011,3051,2942,2554,2150,2020,2245,2412,2146,2078,2310,2481,2567,2376,2248,1944,2250,2223,2377,2433,2988,3499,2971,2053,1959,2511,2236,1971,1845,1884,1956,2026,2047,2288,3233,3362,2937,2831,2677,2559,2700,2655,2458,2508,2359,2375,2309,2478,2438,2195,2238,2762],[1981,2110,1972,2075,2596,2935,3254,3054,2896,2477,2060,1984,2797,2852,2610,2812,3423,3292,2457,2104,2187,2248,2758,3312,2996,1623,1675,1710,1786,1786,1755,1853,2396,2882,3093,3374,3121,2361,2575,2588,2049,2235,2505,2602,2991,2859,2485,2378,2490,3047,2788,2370,2567,2401,2400,2526,2031,1762,1628,2322,3255,3128,3117,3201,3219,2430,1830,1829,2025,2093,2363,2834,2972,2686,2099,1482,1677,1910,1646,2394,2576,2045,1893,1641,1507,1474,1938,2735,2752,2838,3163,2786,2235,2364,2481,2911,3432,3367,2220,2059,2531,2342,2333,2830,3054,3195,3167,2495,1955,1952,2103,2021,1879,2198,2408,2712,3384,3696,3726,3598,2920,2269,2306,1835,1959,2013,1613,1632,2012,2430,2720,2807,2331,2125,2780,3249,3041,2999,2433,2320,2459,2482,2396,2329,1980,1894,2500,3271,2999,1653,1639,2294,2294,2353,2147,2817,3539,3374,3178,3531,3442,3319,3173,3395,3652,3542,3509,3646,3244,2406,2176,2640,2259,1758,1754,1871,1921,1774,1863,2038,2525,2850,2943,3740,3989,3811,3514,3493,3658,3729,3850,3946,3225,1997,1889,1511,1877,2438,2177,1819,1893,1882,1974,2303,2588,2800,2100,2134,2531,2250,2566,2659,2480,1530,1359,1802,2061,2265,2271,2497,2047,2372,2904,2978,2465,2380,2612,2685,2335,2178,2396,2266,2282,2272,1935,1906,2008,2178,1854,1705,1743,1953,1942,1976,2052,1602,1456,1883,2189,2100,2205,2811,2894,3272,2996,2776,2256,1832,1760,1881,1903,1823,2262,2626,2307,2275,2710,2821,2201,2101,2327,2372,2279,2420,2562,2740,2486,1751,2431,2906,3200,3002,2182,2138,2585,2452,2622,2655,3164,3602,2879,2237,2284,2959,2668,1553,1170,1833,1924,1453,1969,2176,1880,2065,1896,2190,2075,2036,2095,2181,2768,2802,1869,1890,2742,2631,1861,1879,2567,3272,3078,2604,2284,2762,3450,3325,3115,2801,2451,1975,2002,1913,1556,1514,1570,1545,1649,1478,1550,1850,2248,2020,2174,2588,2339,2233,2344,2356,2149,2045,1901,2147,2242,1993,1962,2201,2436,2608,2344,2141,2088,1740,1531,1908,1597,1831,1824,1621,1551,1931,2116,2358,2945,2775,2444,1793,1686,1478,1460,1765,1960,1758,1921,2288,2071,1734,1511,1561,1630,1670,1770,1544,2061,2166,1758,1702,1501,1627,1738,1552,1627,1650,1675,1713,1550,1878,1921,1960,2050,1917,1545,1731,1860,1678,1550,1407,1483,1694,1576,1920,1655,1853,2101,2040,2096,2285,2075,1813,1710,1417,1594,2076,2045,1840,2194,1976,1580,2299,2800,2406,1880,1974,2065,2073,2196,2106,2493,2481,2358,1987,1528,1761,1860,1923,2200,2584,3291,3555,3045,2763,3492,4445,4408,4163,3896,3893,3664,3193,2539,2949,3400,3141,2787,2685,2109,2597,2846,2200,1742,1734,2194,2408,2053,2103,2220,1937,2233,2105,2202,3083,3230,2898,2171,1996,2421,2620,2507,2470,1945,2005,1922,1857,1421,1030,1189,1515,1407,1711,1772,1762,1941,1813,1723,2187,2287,2104,2043,1801,2330,2167,1556,1619,1783,2224,2696,2620,2229,2464,3133,3154,2633,2094,2106,1578,1576,1941,1847,1996,2076,2087,2115,1807,1537,1675,1814,2031,2175,1856,2535,3318,3745,3444,2967,2830,2241,2368,1786,2123,2675,3310,2191,1974,2105,1955,2069,2540,2963,2462,2018,2214,2545,2226,2247,2176,2104,2288,2682,2743,2568,2201,2260,2184,2312,3178,3506,3223,2322,2111,2320,2124,1879,2196,2262,1954,1770,2013,2404,2511,2153,1980,2129,1693,1355,1561,2155,2188,2204,2303,2198,2330,2408,2434,2685,2604,2725,2692,2622,2421,2276,2265,2518,2833,2585,2179,2165,2317,2366,2060,2302,2372,2376,2426,2412,2348,2431,2501,2421,2232,2396,2737,2331,1864,2020,1860,2060,2049,2591,2783,2666,2537,2510,2397,2103,2203,2205,2066,2546,2471,2221,2035,1870,2072,2331,2087,2342,3001,3618,4251,4049,3008,2448,2052,2353,2479,2376,2423,2376,2486,2495,2412,2152,1996,2433,2132,2184,2132,2084,2264,2341,1888,2055,2509,2285,1875,1699,1709,1876,1961,1976,2621,2390,2350,2553,2146,2438,2489,2146,2031,1633,1647,1747,1720,1508,1874,1911,2083,2179,1785,1400,1295,1194,997,1141,1098,1079,1310,1622,2443,3030,3029,2310,1917,2076,2081,2042,1606,1546,1894,2549,1891,1025,1066,1738,2752,3108,3068,2076,1462,1977,2036,1440,2113,2407,2607,2245,1593,1847,1775,1754,1876,2104,1936,1830,2002,1910,1905,2181,1721,1387,1638,1873,1804,1317,1407,1887,2852,3163,2139,1764,1834,1816,1845,1808,1677,1654,1919,2212,2163,2219,2345,2225,1822,2188,3207,3640,3596,3680,4097,3146,2250,1746,1515,1482,1499,1592,1575,1654,1846,2430,2711,2530,2718,3184,3161,3111,3305,3528,3574,3492,3326,2352,1949,1908,1899,1949,1954,1902,1784,1644,1469,1764,1931,1977,2410,1914,1582,1769,1975,2227,1887,1464,1252,1260,1368,1360,1566,1366,1196,1425,1811,1817,1723,1943,2026,2073,2016,2442,3012,3113,2647,2147,2013,2479,2775,2601,3038,2861,2774,2988,3072,3126,3328,3120,2682,2741,3214,4002,3396,1908,1838,2354,2169,1899,1710,1622,1599,1631,1734,1837,1637,1415,1732,1942,2018,1651,1399,2605,3253,2263,1622,2152,2414,2081,2086,2109,1850,1838,2116,2138,2069,2023,1865,1694,2044,2273,1896,1539,1391,1685,1735,1610,1640,1901,2158,2172,2431,1996,1895,2031,1919,1857,2071,2071,1764,1407,1576,1682,1852,1852,1898,1833,1721,1588,1664,1746,1760,1821,1763,1834,2057,1886,1692,2046,2100,1635,1334,2152,2879,2604,2223,2307,2407,2018,1727,1711,2324,2290,2531,2328,1830,1725,1737,1726,1725,1598,1594,1568,1650,2075,2369,2612,2086,2737,3240,2918,2654,2389,1940,1544,2330,2940,3386,3410,2888,1803,1525,1750,2018,3554,3618,2766,3350,3826,3720,3748,3023,3292,3374,2584,2200,2360,2512,2771,2613,2459,2644,2417,2066,2480,3017,2757,1553,1498,2580,3342,3552,3204,3046,3351,3366,3273,3156,3156,3143,3023,2895,2624,2688,2416,1680,1608,1741,2265,2399,1887,2008,2783,2522,2252,2810,2899,2316,2291,2351,2531,2525,2625,2669,2565,2155,2129,2719,2644,2599,2358,2590,2814,3220,2362,1912,2843,3247,2978,2731,2266,2242,2575,2481,1829,2309,2548,2175,2272,2713,2485,1722,1311,1538,2210,2230,1839,1681,1802,1786,1763,2350,3206,3133,2395,2153,2059,1926,1602,1761,1804,2052,2581,2407,2200,2206,2908,3443,3098,3085,3555,3442,3688,3937,3426,3351,3428,3414,3740,3823,3675,3459,2924,2402,2436,2480,2447,2671,3020,3222,3118,2940,2964,2988,2916,2972,3109,3168,2658,1839,3038,2877,3076,3050,2720,2956,3052,3185,3328,3280,3479,3703,3247,2895,2643,2425,2283,1843,1470,1569,1567,1810,2293,2205,1743,1596,1886,2536,3084,3426,2973,2942,2848,2947,3278,3240,2627,1993,1637,1844,1718,1451,2032,2064,1753,1609,1483,1492,2027,1920,1549,1648,1967,2462,2406,2472,2274,1928,1559,1907,1880,2491,2780,2399,2029,1837,2295,2186,1805,1852,1682,1758,1911,2159,2007,1881,1716,1437,1669,2509,2832,2199,2156,2315,2523,2294,2470,2895,2743,2686,2519,1883,1603,1687,1776,1996,1926,2008,2484,2166,1733,2056,2666,3023,2863,2470,2288,2312,2387,2589,2519,1900,1923,2552,2581,2310,2535,2483,2232,2248,2122,2125,1927,1840,2602,3264,2438,1921,2969,2277,2128,2099,1956,2392,2684,2467,2178,2136,2457,2133,1729,1636,1930,2086,2344,2208,2362,3438,3724,3860,3981,3110,2574,2653,2473,2301,2623,2296,2462,2896,2801,2629,2448,2427,2199,2245,2237,2165,1775,2167,2718,2842,2767,2753,2281,2075,2121,1907,1930,1851,2136,2534,2952,3193,2699,2485,2286,2128,2340,2199,2258,2425,2497,2234,2092,2706,3724,4028,4205,4261,4067,4077,4159,4158,4055,4012,4028,3593,3704,3916,3820,3532,3450,3586,3491,3277,3312,2430,2075,2669,3351,4275,4351,4365,4071,3701,3970,4020,3560,3105,2957,2564,2131,1768,1744,2032,1592,1628,1718,2285,2663,2855,3019,2875,2894,3242,3256,2722,2480,2950,3519,3458,3502,3898,3995,3952,3618,3161,2563,2621,2900,2769,2527,2191,2041,2076,2321,2869,3222,2370,1764,1819,2039,2104,1942,1820,2207,2322,2241,1917,1472,1543,1916,2233,2232,2271,2009,1836,1730,2172,2588,2346,1730,1590,1810,2079,2250,2141,2369,2749,2478,2565,3165,3436,2755,1627,1820,2126,2432,3422,3582,2823,2590,2839,2785,2667,3162,3585,3242,2683,2810,3452,3792,3520,3249,3145,2846,2352,2266,2451,2589,3120,3105,2381,1928,2482,3506,3912,3755,3372,2759,2719,2957,2734,2528,2453,2374,2233,2553,2642,2461,1964,2071,2612,2639,2263,2120,2204,2222,2431,2381,2490,2987,2624,2551,3015,3438,3110,2184,1813,1657,1534,1943,1846,1654,2123,1881,1898,1843,1616,1608,2104,2208,2198,2380,2367,2484,2275,2310,2580,2995,2822,3626,3500,2623,2083,2186,2722,2928,2993,3484,4666,4557,3534,2321,2099,2310,2523,2632,2658,2496,2499,2370,2035,1787,1996,1793,1583,1494,1807,2482,2699,2354,1797,1553,1643,1907,1774,1659,1726,1886,2230,2566,2799,2731,2319,2144,1858,1735,1896,1682,2035,2010,1632,1742,2021,2022,1877,2151,1920,1931,2193,1922,1664,1738,1780,2042,2379,2278,1840,1867,1989,2261,2706,2974,2814,2302,2138,2222,2308,2540,2458,2989,3326,4153,4035,2779,2401,2633,2481,2178,2403,2376,2045,2072,1963,1750,2008,2147,2262,2235,2056,2525,2573,2103,2199,2342,2213,2087,1924,2060,2374,2552,2164,2540,2201,1795,2259,2312,2312,2354,2419,2575,2278,2049,2177,2580,2742,1922,1144,1296,1743,1985,1798,1666,2032,2247,2036,1940,2335,2507,2283,1737,1786,2664,4037,4268,3606,2436,2302,2545,2132,1943,1888,1831,1807,1906,2143,2481,3001,3342,3364,3011,2588,2404,2409,2445,2348,2371,2347,2499,2475,2342,2432,2415,2661,2732],[1904,2033,1793,2033,2906,2949,2669,1913,2110,2469,2359,2391,2490,2311,2360,3005,3747,3342,2501,2189,2266,2599,2878,2876,2611,1885,1881,2198,2148,1748,1519,1544,1956,2653,2927,3034,2806,2332,2646,2493,2046,2158,2624,3175,3414,3125,2442,2507,2823,3278,2797,2072,2450,2677,2313,1963,1736,1866,1986,2290,3138,2878,2880,3034,3198,2889,2579,2170,1767,1716,1890,2040,2207,2252,1808,1448,1619,1408,1678,2612,2416,2260,2162,2105,2182,1849,1770,2325,2854,3710,3864,3283,2274,1979,2526,2674,3120,3017,1878,1825,2836,2724,2236,2692,3190,3272,3098,2437,2374,2376,2710,2525,2266,2623,2844,2898,2978,3037,3023,2888,2432,1896,1730,1766,1772,1889,2374,2712,3006,3219,2988,2709,2677,2839,3122,3181,2809,2683,2408,2319,2339,2230,2254,2414,2166,2053,2592,3278,2690,1791,2133,2334,2221,2250,2541,3297,3773,3630,3473,3249,2951,3443,3737,3629,3708,3821,3942,3487,2574,2166,2232,2399,2242,1754,1870,1845,1649,1709,1618,1544,1756,2285,2797,3673,4237,3731,3439,3611,3576,3503,3631,3787,3372,2789,2420,2041,1867,2120,2358,2051,1716,1538,1433,1505,1920,2081,1699,1959,2353,2227,2624,2666,2313,1888,1970,1910,1922,2092,1913,2310,2172,2401,2921,3311,2923,2722,2806,2622,2238,2172,2484,2499,2129,1806,1877,2201,2186,2173,1968,1646,1594,1543,1606,2104,2092,1663,1764,1969,1968,2382,2522,2560,2691,2654,2599,2796,2388,1997,1829,2156,2193,2657,2626,2489,2175,2309,2521,2397,1924,1748,1843,2013,2862,3364,3416,3254,2456,2025,2536,2600,2388,2147,2126,2758,2995,2917,2967,2867,3253,3416,2590,2136,1891,2092,2256,1603,1424,1965,1594,1478,1946,1868,2004,2193,2404,2447,2150,2156,2180,1711,2106,2334,1866,1592,1515,1711,1859,1937,2230,3034,3187,2656,2126,2806,3521,3693,3087,2660,2797,2015,1666,1671,1711,1614,1566,1583,1699,1643,1650,1590,1631,1643,2060,2074,2375,2347,2298,2421,2426,2191,1981,1990,1726,1590,1900,2432,3333,3476,2674,2224,1714,1731,2104,2496,2232,1920,1882,1941,1774,1862,1919,2275,2845,2446,2315,1788,1439,1391,1546,1695,1760,1879,2084,2391,2002,1575,1443,1578,1601,1537,1484,1655,2741,2473,1734,1627,1449,1465,1764,1942,1852,1543,1786,1909,1544,1753,2035,2048,2165,1932,1682,1748,1680,1574,1847,1691,1656,1521,1650,1842,1743,1881,2110,2295,2355,2187,2321,2209,1835,1693,1698,1982,1954,1757,2092,2060,2024,2452,2719,2414,2295,2271,1916,2148,2431,2119,2242,2243,2015,1764,1407,1684,1954,1642,1586,1482,1925,2046,2131,2401,3307,4000,4462,4379,4036,3673,3620,3543,3469,3441,3134,2953,2801,2952,2098,2427,2548,1850,1569,1455,1798,2048,2310,2670,2506,1978,1798,1624,1689,2097,2218,2318,2320,2309,2676,2261,1800,2026,1591,1680,1705,1846,1191,1006,1406,1314,1312,1584,1698,1987,2122,1991,2473,3437,3596,2886,2193,1944,2438,2126,1618,1852,2179,2497,2969,2636,2049,2299,2368,2169,1874,1508,1602,1620,1794,2004,1935,1933,2042,2138,2163,1993,1886,1680,1666,2093,2610,3086,3530,3742,3782,3022,2496,2663,2092,2166,1642,2039,3042,3106,2385,2112,1933,1613,1283,1846,2503,2144,1842,2104,2438,2253,2697,2378,2150,2452,2258,2073,2176,2227,2187,2331,2663,3231,3213,2916,2518,2081,2299,1967,1864,1912,1786,1914,1954,1925,2114,2578,2414,1804,1579,1518,1606,2126,2374,2285,2345,1838,1728,2077,2022,2177,2468,2343,2056,2087,2596,2655,2298,2293,2681,2774,2395,2077,2143,2379,2104,2044,2115,2368,2389,2394,2376,2612,2873,2530,2341,2232,2712,2980,1935,1995,2164,2039,2092,2154,2670,2889,2525,2218,2576,2689,2321,2302,2351,2597,2545,2372,2105,2032,2251,2622,2482,2270,2724,2907,3640,4024,3638,3157,2608,2090,2658,2656,2140,2546,2939,2674,2408,2591,2225,1914,2037,2046,2046,2099,2367,2482,2293,2142,2988,3628,2968,1901,1817,1974,1910,2042,2026,2170,2574,3198,3150,2454,2178,2025,1918,1850,1672,2087,2215,1889,1510,1934,2062,1987,1903,2001,1923,1692,1592,1200,1264,1104,1092,1353,1731,2514,2762,2762,2114,1892,2089,2178,2039,1396,1788,2282,2422,1547,1243,1182,1675,2615,3087,2675,1824,1559,1666,1660,1778,2749,3296,2728,1947,1754,1958,1886,1862,1956,2110,2041,2203,2254,2148,2179,2251,1508,1355,1629,1663,1255,1135,1573,2360,3097,2472,1707,1836,1910,1745,1823,1770,1857,2067,2513,2588,2142,1992,2185,2104,1945,1888,2303,2976,3819,3949,3609,3215,2692,2027,1590,1448,1526,1575,1623,1794,1900,2200,2157,2239,2352,2771,3264,3498,3443,3514,3993,3982,3882,2634,1996,1969,1984,1955,1918,1788,1574,1387,1443,1792,1745,1537,2146,2092,1704,1699,1671,1839,2011,1667,1206,1161,1075,1163,1200,989,944,977,1450,1758,1681,2094,2148,2010,2046,2060,2424,2656,2178,2053,2394,2976,2884,2435,2695,2979,3318,3549,3451,3072,2721,2658,2865,2914,2712,3147,2896,1864,1923,2262,1932,1760,1978,1793,1506,1288,1421,1641,2019,2214,1998,2121,2014,1726,1536,2101,2535,2215,1751,2028,2463,2370,2041,1783,1658,1782,1911,1806,1682,2014,2476,2378,2028,1953,1727,1462,1655,1971,2005,1499,1715,2030,2119,2103,2289,2209,2116,2144,1869,1909,2806,2874,2600,1349,851,1306,1670,1613,1696,1924,1583,1584,1511,1629,1754,1952,1781,1766,1804,1810,1933,2085,2110,1873,1835,2632,3263,3195,2713,2647,2114,1896,2002,2204,2566,2080,2258,2424,1918,1760,1725,1569,1600,1533,1767,1931,2242,2129,2403,2730,2415,3028,3994,3630,2419,1958,1803,1782,2635,2322,2351,3301,2490,1395,1572,2049,2817,3604,2951,2251,2878,3489,2827,3086,2379,2520,2764,2157,1688,1976,2416,2856,2434,2077,2402,2501,2414,2902,3003,2432,1757,2547,3500,3716,3737,3031,2435,3059,3361,3366,3161,3144,3153,3109,2998,2653,3007,3042,2149,1379,1795,2696,2373,2510,3022,3689,2980,2674,2613,2574,2708,2786,2798,2414,2131,2678,2484,1985,1974,2321,3147,2613,2379,2831,2556,2661,3295,2790,2432,3508,3796,3194,2877,2413,2769,3007,2861,2946,3493,3144,2244,2104,2286,1761,1310,1678,1984,2302,1926,1543,1739,2248,2064,1666,1525,1730,2160,2057,2230,2128,1853,1632,2025,2130,2230,2424,2201,1996,2073,2426,2547,2470,2717,3411,3344,3561,3640,3631,3444,3139,3295,3596,3575,3555,3443,2888,2499,2491,2843,3118,3522,3710,3491,3159,2945,2896,2877,2923,2934,2908,2898,3086,2115,2417,3120,3727,3593,3448,3443,3327,3347,3416,3370,3416,3731,3540,3005,2905,2830,2814,2280,1791,1627,1570,1710,2111,2260,2127,1960,1651,2196,3130,3596,3305,3042,2453,2191,2313,1885,1766,1716,1671,1804,1638,1726,1914,2008,1956,1669,1562,1813,2047,1959,1766,1746,1999,2158,2109,2342,1886,1559,1598,1820,2165,2722,2736,2301,2072,1911,2015,2214,2403,2171,2152,2226,2188,2518,2436,2121,1789,1345,1746,2232,2035,1835,1877,2215,2374,2577,2461,2480,2463,2199,1964,1743,1647,2154,1810,1500,1283,1437,2191,2082,1898,2304,2290,2409,2402,1968,2284,2456,2495,2678,2720,1942,1812,2220,2222,1695,1886,2004,1911,2098,2160,2141,2148,1938,1946,2972,3197,2327,2247,2391,2685,2456,2024,2257,2275,2033,2042,2345,3416,2701,2069,2417,2339,2103,2142,2256,3025,3736,3739,4006,3945,2557,2498,2669,2995,3233,2997,2597,2304,2253,2927,2877,2196,2184,2128,1982,2352,2463,2198,2767,3050,3065,2804,2269,1982,2216,2327,2327,2668,2597,2561,3264,3601,3464,2912,2480,2180,2282,2350,2257,2381,2689,2948,2135,1813,3090,3718,4028,4060,4193,4148,4184,4328,4191,3487,3293,3661,3864,4040,3845,3561,3472,3453,3471,3343,3337,3299,2607,2430,3217,4025,4380,4423,4312,4115,3815,3670,3010,2404,2575,2654,2253,1980,1814,1720,2088,1648,1812,2016,2432,2906,2859,2469,2453,2796,3131,3179,2590,2853,2937,3342,3294,3465,3595,3781,3685,3305,3136,3118,3199,3260,2714,2720,2558,2253,2475,2896,3295,3543,2976,2330,2679,2598,2143,1997,2323,2416,2467,2365,2202,1628,1943,2669,2406,2238,2217,2404,2790,2202,2487,3184,2908,2045,1902,2116,2008,1836,1843,1901,2502,2360,2634,3023,3330,2924,2184,2190,2449,2779,3532,3740,3102,3317,3728,3422,2241,2788,2810,2377,2365,3105,3975,4071,3724,3050,2949,3027,2777,2814,2500,2308,3067,2874,2337,2254,2649,2922,3010,3190,3152,2476,2085,2462,2807,2989,3040,2589,2076,2508,2422,2159,2124,2987,3986,4069,3679,3089,2916,2626,2722,2508,2358,2718,2293,2207,2785,3252,3144,2386,2200,2061,1982,2813,2969,2236,1996,1704,2060,2364,2086,1829,2176,2501,2499,2106,1988,2048,2053,2365,2258,2811,3208,3728,3685,3100,2561,2558,2526,2852,4268,4697,4640,3836,2750,2446,2201,2047,2288,2701,2875,2809,2849,2580,2714,2113,1985,1832,1564,1658,1706,1874,2187,2316,2214,1963,1875,1650,1487,1557,1968,3210,3958,3508,2953,2647,2437,2272,1703,1662,1759,1519,1790,1682,1428,1659,1824,2304,2403,2212,2008,2355,2631,1756,1603,2065,1622,1759,2366,2432,2001,1938,2036,2030,2436,2994,2802,1998,1728,1875,2466,2757,2756,2940,3385,4145,3654,2640,2449,2032,1813,2020,2188,2066,2143,2239,1963,1664,2325,2956,2719,2249,2196,2647,2479,2377,2210,2272,2369,1865,1960,1800,1731,2230,2498,2454,2111,1982,2068,2132,2285,2321,2408,2638,2252,2163,1981,1923,2244,1917,1243,1566,2073,2022,1654,1710,1573,1685,1796,1801,2763,3514,3270,2575,1967,2980,4451,4575,3748,2355,2412,2450,2055,1940,2013,1907,1939,2132,2193,2517,2860,2848,2824,2596,2400,2246,2304,2325,2059,2398,2745,2658,2283,1946,2099,2277,2314,2474],[1886,1760,1566,1738,2144,2219,1850,1094,979,1883,2899,3163,2595,1962,2036,2597,2946,2755,2194,2402,2106,2249,2288,1743,1980,2812,3152,3134,2544,1683,1684,1791,2101,3009,3043,2878,2435,2379,2220,1605,1817,2341,2725,3177,3345,2864,2522,3074,3427,3827,3084,2678,2945,2686,1901,1365,1457,1853,2053,2099,2541,2757,2927,3122,3257,3086,3386,3166,2387,1991,2009,2115,2285,2403,2226,2003,2032,1769,2194,2725,2227,2176,2231,2055,2352,2175,1383,2132,2865,3244,2999,3235,2766,2309,2546,2429,2729,2927,2223,1757,2178,2090,2126,2570,3254,3376,3135,2751,2354,2301,2403,2162,2219,2374,2416,2233,2128,2193,2096,1746,1694,1757,1339,1340,1664,2254,3099,3350,3350,3476,2907,2534,2479,2503,2789,2978,3042,3181,3152,2994,2732,2131,1891,2049,1920,2375,2956,2817,2408,2422,2590,2443,2486,2561,2678,3118,3441,3696,3813,3199,3030,3608,3915,3653,3715,3839,3771,3220,2758,2603,2686,2965,2898,2209,1946,1710,1622,1687,1526,1354,1685,2467,3000,3807,4729,4160,3451,2884,2784,2816,3083,3408,3464,3327,2875,2145,2161,2720,2175,1649,1737,1879,1702,1609,1648,1584,1588,1905,2045,2142,2453,2943,2795,2343,2343,1774,1747,2263,2048,1898,2274,2348,2665,3209,3299,3212,3057,2769,2402,2176,2512,2248,1957,1931,2093,3029,2889,2182,1840,1636,1578,1582,1805,1965,2045,1692,1687,1882,1969,2508,2743,2471,2792,3050,2797,2571,2235,1947,1724,2156,1880,2379,2330,2260,2202,2057,1985,2191,2055,1837,1616,1848,3106,3542,3739,3054,2369,1879,1529,1739,1831,1730,2243,2939,3173,3393,3088,3103,3168,3104,2336,1990,1763,2070,2642,2359,2245,2001,1439,1742,2008,1865,2111,2290,2241,2160,2036,2258,2073,1754,1868,1733,1577,2053,1744,1522,1670,1876,2562,3448,3585,3083,2689,2762,3431,4008,3726,3385,2853,2061,1643,1768,2069,2004,1991,2008,1930,2177,2126,1681,1718,1855,2764,2479,2136,1889,2100,2099,2030,1961,2174,2224,1595,1527,1864,2507,3771,3695,1811,1464,1774,1812,2010,2189,2179,2121,2094,1753,1582,1536,1619,1982,2364,2568,2291,1710,1503,1575,1891,1813,1727,1726,1931,2248,1918,1567,1477,1519,1484,1345,1271,1861,2315,2115,2302,1960,1557,1621,1718,1976,1946,1697,1749,1710,1522,1862,2084,1920,1932,1896,1788,2187,1679,1644,2011,1793,1635,1485,1916,2055,1726,1901,2115,2523,2620,2050,2344,2145,2151,2379,1983,1742,1696,1695,1822,1840,1978,2319,2544,2338,2015,1968,2036,2295,2158,1924,1898,1589,1507,1486,1180,1622,2106,1952,1719,1654,1881,1641,1652,1808,2161,2988,3576,3782,3483,3294,3231,3210,3399,3082,2617,2331,1972,1946,1932,2382,2359,1684,1478,1587,2091,2088,2251,2685,2319,1718,1852,2177,2196,2138,2121,2316,2737,2797,2609,1534,1087,1429,1528,1653,1799,1883,1213,1103,1887,2315,1903,1941,2314,2467,2031,1909,2144,2786,3270,2867,2185,1880,2058,2105,2004,2062,2304,2449,2533,2118,1898,2428,2207,2002,1953,1861,1880,1761,1892,1823,1660,1715,1865,1967,2108,1953,2023,1959,2016,2735,3472,3682,3797,3806,3985,3123,2600,2428,2211,2171,1952,2277,2673,2557,2907,2857,2185,1891,1555,1669,1969,1681,1943,1860,2233,2518,2403,1977,2636,3397,3030,2130,2147,2165,2070,2222,2134,2389,2530,2730,2655,2254,1951,1924,2094,1862,2011,1949,1747,1841,2091,2445,2542,2223,1896,1950,2327,2434,2160,2345,2559,2423,2286,2156,1924,2153,2298,2131,1836,1864,2014,2012,2041,2185,2293,2312,2316,2207,1941,1979,1806,1885,1837,1965,1851,1597,1905,2204,2534,2309,2100,2406,2697,2898,2630,2241,2122,2484,2755,2441,2382,2819,2511,2579,2497,2325,2349,2822,2325,2333,2517,2444,2111,2030,2317,2436,2463,2554,2446,2664,2822,2748,2849,3552,3646,2997,2899,2970,2710,3256,3025,2659,2329,2341,2012,1840,1889,2125,2427,2337,2211,2481,2148,1901,2861,3750,3705,2114,1677,1637,1653,2110,2228,2310,3038,3630,3242,2264,1776,1973,1951,1924,2144,2472,2542,1954,1575,1737,1958,2281,2654,2752,2386,2300,2200,1949,1748,1218,1077,1439,1849,1882,1962,2097,1906,1961,2066,2151,1675,1587,1884,2426,2050,1859,2122,2031,2166,2343,2285,2060,1557,1672,1583,1260,1639,2260,3205,2607,1742,1648,1776,2066,2054,1905,2458,2786,3044,3028,2522,2403,1818,1250,1313,1583,1565,1146,1388,1723,2653,2940,1946,1687,1954,1803,1719,1693,1655,1860,2152,2352,2199,1919,1948,2137,2058,2026,2097,2145,2489,2920,2938,2785,2675,2518,2292,1605,1346,1545,1732,1841,1993,2261,2122,2010,2141,2068,2171,2429,3021,3479,3906,4311,4288,4084,2823,2038,1914,1819,1789,1701,1476,1326,1333,1598,1782,1716,1442,1913,2179,1832,1621,1800,2015,2074,1802,1441,1572,1236,1770,1396,972,1134,1304,1459,1409,1306,1996,2352,2063,2166,2062,2060,2203,2076,2077,2542,2669,2578,2826,3166,3472,3537,3184,2779,2665,2657,2768,2874,2025,1848,1972,2155,1647,1509,2093,1877,1497,1539,1518,1575,1318,1363,1632,1892,2342,2113,1832,1865,1948,1761,1724,1864,2038,2305,2764,2742,2744,2374,1788,1707,1879,1843,1764,2001,2336,3012,2988,2242,1865,1966,1522,1882,2142,2031,1858,1949,1964,1937,2112,2243,2623,2658,2475,2238,2556,3206,3365,3207,2137,1376,1341,1491,1682,2611,2859,1583,1520,1503,1475,1689,1801,1554,1556,1628,1818,2246,2576,2520,2453,2569,3029,3416,3587,3096,2939,2303,1962,2282,2498,2110,1516,1608,2015,1927,1775,1791,2067,2019,1741,1992,1909,1834,1968,2220,2194,2055,2225,2821,2534,2018,1738,1589,1861,2364,2036,2165,2616,1888,1310,1457,1520,2126,2317,1876,1970,2464,2651,2467,2718,2824,2604,2322,2010,1914,2101,2625,3553,2639,2169,2620,2437,2743,2873,2667,2113,2372,3303,3238,3044,2820,2458,2677,3359,3557,3414,3274,3220,3140,3294,3564,3388,3048,3031,2844,2489,2588,2655,2252,2314,2332,2574,2559,2393,2162,1929,1953,2596,2565,2493,2225,2396,2133,1596,1826,2343,2664,2219,2386,3039,2625,2802,2906,2702,3176,4301,4197,3124,2790,2659,2762,2865,2665,2712,2945,2568,2533,2261,2039,1976,1861,1983,1865,1748,1607,1584,1828,1913,1845,1976,1422,1432,1948,2139,2542,2446,2153,2032,2213,2315,2066,1987,2388,2503,2409,2192,1967,2380,2238,2888,3519,3585,3616,3758,3544,3374,3493,3513,3427,3574,3341,2638,2601,2967,3311,3593,3757,3748,3639,3351,3005,2918,2950,3007,2917,2999,2852,3206,2902,2247,2956,4076,3894,3653,3333,3475,3579,3673,3594,3439,3288,3444,3647,3431,3074,3087,3239,2897,2179,1695,1501,1733,2060,2377,2391,1788,1818,2791,3543,3642,3326,2548,2111,2047,1320,1256,1644,2207,1815,1510,1559,1575,1765,1826,1655,1553,1731,1986,2503,2288,2219,1916,1980,2141,2281,1393,1085,1637,1903,1990,2622,3100,2286,1787,1759,2001,2438,2759,2159,2125,2371,2406,2613,2640,2259,1970,1735,2016,1745,1773,1964,1851,2640,3007,3293,2799,2006,1847,1788,2198,2110,2013,2325,1807,1568,1391,1716,2150,1904,2282,2545,2231,2304,2116,2351,2632,2534,2807,2674,2791,2510,2075,2264,2356,1666,1379,2050,2521,2599,2364,2149,2339,2003,2019,2461,2753,2290,2291,2736,2582,2258,2020,2082,1932,1702,1835,2600,3278,2320,2109,2523,2301,2243,2735,3116,3286,3469,3605,3898,3929,2895,2742,3159,3732,3797,3384,2776,1995,2105,2431,2208,2173,2137,1892,1841,2382,2279,2412,2744,2668,2905,3075,2399,2198,2321,2272,2784,3485,3462,3024,3376,3673,3451,2511,1692,2084,2703,2879,2787,2343,2309,2423,1917,1844,2733,3449,3757,3933,4111,4232,4369,4204,3475,2723,3311,3761,3930,3793,3683,3572,3638,3764,3631,3391,3381,3519,3607,3619,3911,4140,4344,4427,4352,3851,3628,3299,1850,1108,1863,2657,2324,1993,1789,1758,2174,1996,2204,2493,2732,2980,2770,2602,3086,2932,2883,2969,2569,2833,3370,3252,3065,3052,3369,3872,3860,3606,3431,4052,3996,3537,2441,2024,2025,2041,2553,3156,3196,3365,2730,2203,3053,2415,1693,1872,2403,2455,2750,2069,1703,1959,2608,2761,2351,2415,2243,2592,2873,2614,2805,2475,1803,1656,2439,2953,1917,1622,1923,1895,2825,2424,2656,2778,3088,2831,2555,2503,2426,2283,2966,4113,3944,3773,3819,3609,2788,2955,2642,2333,2262,2787,3488,3768,3488,2974,3017,2732,3006,2917,2249,2160,2666,2624,2491,2342,2220,2138,2120,2427,2774,2121,2052,2308,2422,2279,2097,2040,2182,2007,2231,2954,3383,3683,3952,4025,3295,3298,3371,2938,2685,2446,2675,2916,2647,2710,3033,3099,3065,2886,2191,1929,2076,2588,2862,2681,2187,1868,2005,2592,2687,2291,2055,2227,2231,2343,2233,1977,2047,2208,2095,2401,2861,3032,2955,2728,2349,2328,2429,2644,3897,4453,3619,2642,2107,2255,2293,2219,2210,2458,2174,2569,2967,2698,2310,2082,1937,1927,1722,1630,1958,2105,2097,1931,2227,1878,1825,1638,1484,1562,2624,3834,4341,3672,2769,2520,2423,1929,1679,1829,1718,1552,1871,1637,1469,1722,2345,2745,2155,1642,2171,2962,2736,1863,1938,2349,1938,2344,2652,2424,2288,2282,1956,1578,1533,2262,2884,2354,1930,2061,2841,2922,2768,2594,2801,3270,3106,2909,2416,2177,2064,2243,1796,1844,2155,2309,2099,1536,1853,2595,2644,2194,2527,2814,2298,2143,1699,1704,2090,1972,2073,1996,1766,2076,2463,2214,2212,2033,1791,1784,2199,2221,2297,2452,2084,1883,2088,1632,1306,1731,2034,1949,2243,2050,1860,2080,1709,1817,2106,2379,2963,3353,3587,3252,3067,3847,4451,4487,3575,2298,2306,2375,2062,2145,2225,1991,2147,2237,2176,2554,2664,3000,2380,2137,2269,2283,2447,2312,2218,2454,2358,2255,1839,1077,1318,2172,2350,2522],[1954,1714,1734,1698,1956,2178,2150,1879,1427,2196,3309,3210,2665,1933,1788,2110,2557,2820,2368,1913,1914,2556,2703,1749,1676,3184,3549,3243,2780,2218,2246,1852,1855,2810,3140,2908,2420,2520,2348,1654,1957,2358,2585,2725,3028,2974,2968,3252,3434,3705,3650,3501,2918,2069,1139,920,1360,1998,2186,2100,2578,2952,3128,3138,3084,3119,3372,3419,3072,2645,2432,2263,2195,2454,2128,2193,2178,1973,2059,2049,1832,1987,2075,2096,2355,2281,1540,2502,3165,2417,1720,2759,3242,2932,2676,2396,2436,2414,2442,1912,2166,1986,2162,2100,2519,2984,2975,2499,2202,2349,2186,2432,2414,2490,3172,2207,1967,2336,2546,2297,2481,2756,1796,1051,1320,2064,2654,2686,3318,3816,3145,2744,2575,2531,2679,2888,3199,3632,3322,3188,2878,2190,2286,2268,1990,2419,3333,3088,2653,2699,2407,2347,2647,2787,2808,3192,3543,3848,3784,3525,3641,3623,3696,3847,3839,3499,2923,2788,3204,3067,3278,4078,3897,2470,1720,1575,1535,1566,1636,1716,1718,1852,2283,3507,4372,3864,2874,2280,2558,3002,3231,3442,3576,3501,3054,2197,2262,2453,2192,1824,1948,2707,2204,1931,1881,1582,1454,1671,1954,1931,2299,3133,3195,2546,2130,2068,1926,2238,1983,1777,1857,1960,2148,2464,3110,3327,2928,2776,2354,2041,2158,2293,2281,2356,2592,2819,2334,1709,1615,1394,1501,1780,2176,1981,2075,1730,1569,1636,1903,2542,2996,2980,3066,3018,2558,1901,1842,2069,1870,1682,1444,1410,1508,1909,2155,1969,2230,2570,2500,2125,2133,1965,2720,3401,3670,2863,2385,1820,1094,1792,1990,1847,2266,2878,3340,2877,2916,3173,3438,3286,2512,2007,1959,2595,3288,3159,2977,2314,1913,2101,1906,2187,2201,2052,2011,1930,2186,2253,1946,2031,1920,1674,1346,1344,1627,1747,1986,2083,2689,3381,3396,3187,2988,2446,2874,3240,3282,3064,2733,2181,1620,1583,1893,1897,2056,2226,2340,2602,2242,2002,2029,2097,2571,2531,2211,1793,1733,1747,1827,1840,1660,1820,1768,1736,1870,2612,3486,3201,1736,1519,1740,1646,1902,2106,1981,1790,2067,1639,1595,1749,1692,2506,3140,2912,2088,1505,1440,1667,1865,2015,1979,1720,1788,2023,1916,1517,1554,1598,1464,1538,1854,2000,1660,1769,2038,1811,1438,1835,1587,1464,1653,1708,1792,1716,1638,1996,2073,1753,2020,2497,2460,2585,1814,1693,1656,1623,1643,1481,1954,2139,1644,1914,2199,2743,2322,1824,2051,1868,1911,2188,1978,1805,1670,1557,1779,1864,1942,2412,2696,2465,1976,1730,1894,2058,1886,2081,2348,1777,2187,2744,1864,1826,2012,1861,1698,1947,1911,1723,1698,1816,2148,2585,2713,2844,2618,2855,3100,3207,3222,2893,2548,2326,2035,1813,1794,2361,2744,2326,1959,1885,2692,2763,2404,1996,2108,1897,1578,2100,2625,2733,3388,3309,2750,2965,2380,1384,1319,1543,1450,1526,1812,1767,1134,1205,1757,2708,2294,1959,2094,1880,2132,2362,2054,2472,2878,2770,2458,2135,2324,2656,2156,1967,2170,2521,2046,1856,1953,1967,1936,1969,2023,1643,1707,1939,2335,2238,1701,1571,1298,1294,1712,2105,2398,2558,2544,3041,3217,2923,2898,3406,3924,3292,2776,2602,2574,2556,2394,2646,2762,2483,2668,2770,2248,1882,1892,2261,2128,1917,2203,2075,2320,2385,2026,1976,2942,3682,3504,2734,2534,2155,2115,1957,1902,2346,2305,2064,2242,2192,1872,1890,1947,2208,2758,2463,1976,1784,1896,2000,2042,1954,1983,2314,2209,2125,2378,2415,2411,2598,2299,1995,2007,2284,2524,2396,2032,1995,2072,1925,1826,2070,2150,2236,2148,2048,1988,1910,1714,1700,1784,1877,1866,1760,2132,2088,2044,2240,2535,2946,2790,2337,1903,1947,2128,2235,2455,2325,2340,2793,2228,2318,2009,2099,2372,2365,2129,2272,2212,1830,1939,1975,2260,2285,2464,1969,1802,2237,2167,2027,2584,3429,4094,3838,3103,3061,2850,2890,2334,2776,2441,2234,2154,2116,1800,2000,2667,2387,2122,2285,2083,2237,2834,3174,3068,2030,1648,1568,1592,1992,2278,2497,2887,3178,2456,1848,1685,1978,2076,1966,2236,2540,2402,2061,1986,1970,2280,2610,2677,2679,2661,2583,2398,2265,1813,1146,1069,1479,1712,1618,1596,1906,1966,2115,2068,1957,1738,1779,1996,2274,1923,2316,2890,2952,2866,2731,2499,2291,2107,2081,2160,1957,1908,2482,2764,1994,1688,1632,1666,1838,2002,1973,2245,2977,3339,3208,2610,2227,1562,1274,1427,1401,1484,1388,1536,2114,2799,2214,1406,1562,1792,1789,1770,1671,1706,1654,1967,2352,2326,2097,2336,2244,2079,2000,2121,2175,2350,2480,2652,2688,2584,2519,2469,1976,1610,1726,1924,2136,2370,2181,1712,1526,1785,2062,2197,2061,2504,3529,4160,4248,4164,3934,2884,2173,2127,1763,1614,1498,1268,1470,1872,2324,2162,1908,1629,1771,1936,1755,1658,1745,1896,2065,2051,1929,2099,1334,1620,1550,1534,1852,1889,1735,1577,1364,1671,2156,2135,2288,2129,2227,2396,2155,2230,2533,2755,3208,3658,3562,3154,2686,2717,2960,3582,3799,3528,2802,1974,1692,1891,2183,1932,1694,1928,1744,1660,1459,1456,1521,1372,1411,1726,1393,1716,1904,1676,2020,2418,2332,2386,2060,1942,2171,2352,2015,2034,2332,2036,2050,2563,2120,2162,3217,3177,3099,2865,2688,2448,2189,1642,1712,1855,1745,1663,1718,1590,1427,2171,2499,3127,2746,1885,1811,2048,2680,3352,3501,2896,1897,1474,1326,1412,2110,2624,1591,1378,1543,1545,1780,1896,1709,1504,1599,1742,2016,2428,2815,2930,2830,2923,3093,3398,3540,3371,2985,2510,2467,2362,1285,838,1231,1773,1999,1793,1692,2222,2584,2147,1803,2032,2072,1860,1888,1878,1958,1650,2219,2048,2524,2060,2089,2532,2215,1826,2236,2148,1753,1520,1463,1198,1766,1792,2389,2994,2613,2252,2319,2713,3037,2634,2325,2196,2035,2215,2611,3859,3479,2934,2639,2304,2397,2342,2169,2464,3563,3528,3039,2761,2688,2800,3244,3410,3232,2944,2871,2985,2915,2932,3347,3395,3060,3078,3042,3022,2498,2260,2174,2230,2689,2942,2244,1644,1809,2088,1904,2310,2376,2541,1972,2004,2367,2276,2150,2275,2477,2277,2324,2956,2824,2824,2452,2974,3802,4332,3521,2360,2380,2482,2468,2486,2216,2018,2288,2678,2836,2656,2124,2066,2059,1908,1819,1744,1605,1752,2155,2114,2026,1998,1961,1886,2191,1973,2312,2163,2046,1894,1893,2009,1815,2207,2902,2652,2402,1761,1979,2554,2234,2648,3638,3838,3581,3675,3742,3451,3278,3549,3418,3305,2861,2643,3207,3759,3661,3706,3873,3615,3436,3366,3052,2966,2991,2924,2895,2956,2933,3010,3270,2510,2247,3791,3859,3605,3429,3972,4154,4080,3732,3350,2977,3181,3503,3442,3370,3630,4024,4108,3407,2032,1672,1594,1801,2113,2392,2230,1786,2000,3138,4120,4020,3396,3108,2521,1249,1019,1555,2037,1894,1908,1980,1745,1633,1882,1769,1519,1561,2255,2888,3247,2621,2106,2357,2316,2320,1841,984,1355,1896,1631,1990,2180,1264,1413,2020,2363,2234,2336,2244,2004,1896,1736,1805,2545,2928,2862,1975,1224,1384,2084,2003,1852,2427,3382,3458,2337,1881,1558,1291,1550,2046,1915,1871,2030,1959,2026,2352,1970,2097,2937,2568,2092,2140,2553,2776,2633,2713,2856,2874,3018,2884,2492,2509,2771,2740,2272,2634,2572,2919,2230,2031,1904,2158,2508,2390,1995,1795,2161,2231,1940,1741,1889,2032,2236,1973,1796,2246,2540,2178,1909,1886,2156,2805,2621,2507,3087,3378,3451,3462,3288,3053,2797,2606,2808,3159,3321,3364,2709,2439,1992,2037,2189,2145,1960,1871,2109,2182,2244,2386,2249,2653,3161,2722,2585,2147,2419,2902,3199,3093,2868,3211,3628,3344,2453,1488,1824,2685,3473,3327,2776,2327,2189,1875,2156,2596,2909,3584,3836,4071,4091,3930,3254,2852,3220,3825,3978,3886,3860,3918,3880,3830,3817,3605,3567,3342,3496,3688,3698,3735,3892,4133,4236,4056,3432,3219,3131,1914,1572,2190,2741,2434,1912,1555,1914,2178,2323,2836,3281,3274,2564,2272,2612,3085,3143,2876,2711,2861,3348,3733,3440,3130,2984,3558,4091,4029,3242,3037,3807,3598,2933,2502,1975,1615,1709,2058,2303,2467,2484,1862,2325,2856,2206,1876,2426,3157,3006,2476,1726,1547,2244,2707,2331,1931,2292,2188,2032,2008,2137,3106,2326,1392,1787,2509,2945,2246,1943,2300,1919,2474,2377,2293,2264,2229,2215,2431,2722,2605,1952,2285,3494,3549,3200,3099,2729,2310,2623,2897,2501,2129,2769,3581,3296,2998,3307,2719,2493,2924,2584,2076,2796,3670,3516,2604,2272,2072,1909,1959,2063,2414,2254,2285,2609,2500,1788,1789,2176,1956,1982,2563,3609,4321,3861,2998,2469,2434,3018,3000,2554,2081,2005,2446,2619,2974,3241,3370,3779,3217,3265,2685,2198,2284,2360,2494,2545,2620,2531,2478,2636,2746,2512,2127,2049,2347,2578,2408,2060,1835,1832,2045,2222,2460,2814,2612,2542,2279,2217,2265,2450,2739,2585,2408,2101,1983,2226,2450,2291,2261,2424,2326,2874,2646,2363,2531,2622,2079,1761,1723,1816,1993,2018,2314,1946,2165,2167,1909,1732,1718,2139,2725,3085,3184,2931,2660,2308,1970,1723,1791,1920,1930,2074,2268,1760,1382,1628,2073,2382,1684,1345,2122,2531,2340,2096,2145,1966,2341,2741,2658,2351,2025,1643,1930,1804,1625,2221,2823,2777,2405,2416,2859,2836,2720,2766,2546,2557,2710,2385,2069,2338,2338,2114,1631,1726,2135,2119,1814,1644,1866,1938,2223,2298,2722,2674,2417,2393,1969,1679,1850,2002,1942,1914,2111,2166,2030,1722,1797,2193,2080,2134,2175,2741,2917,2519,2156,2106,2376,1802,1107,1475,2154,2273,2472,2258,2237,2200,2214,2386,2110,1782,1795,2325,2694,3259,3628,4156,4228,4269,3129,2468,2963,2800,2067,1986,2237,2041,2195,2118,2040,2292,2114,2442,2351,2323,2330,2326,2320,2034,1930,2052,2090,2076,1863,1066,1250,2157,2030,1964],[2023,1578,1604,1581,1730,1845,2378,2404,1342,1831,2899,2790,2747,1937,1660,1848,2556,3028,2592,2017,2286,2757,2599,1698,1532,3208,3637,3293,2867,2923,2631,1848,2054,2846,3097,2783,2197,2096,2135,2319,1704,1723,2286,2572,2605,2563,2849,3182,3322,3337,3417,3029,2075,1620,1528,1901,2322,2349,1932,1830,2330,2810,3213,3340,2943,2833,2447,2454,2774,2719,2291,1791,1894,1982,1611,1828,2247,2312,2310,2242,1726,1704,1864,2177,2380,2478,2374,2641,3251,2579,1645,2596,3536,3001,2344,2195,2289,2081,2283,2059,1980,2049,2408,2472,2573,2636,2691,2306,2071,2579,2101,2464,2302,2331,2658,1967,1994,2345,2724,2370,2665,3563,2562,1588,1710,1970,2061,1997,2897,3784,3404,2533,2522,2574,2598,2868,2966,3528,3460,3317,2727,2130,3072,3384,2994,3143,3519,2879,2529,2828,2812,2877,2458,2791,3189,3261,3811,4152,3961,3983,3758,3669,3764,3419,2612,2133,2210,2648,3184,3344,3764,4166,3342,2130,1671,1600,1490,1572,1838,1917,1711,1681,2081,3476,3496,2994,2353,2459,2872,3228,3555,3675,3740,3440,3209,2409,2442,1952,2288,2130,1979,2275,1973,2175,2013,1511,1517,1725,1902,2120,2301,3318,3172,2242,1976,2112,2316,2385,2078,1945,2022,2385,2264,2356,2934,3438,3255,2498,1844,2047,2426,2592,2423,2036,2080,2462,2084,1747,1682,1474,1714,1855,1886,2121,2152,1841,1717,1914,2110,2388,2924,3105,2867,2613,2590,2068,1863,1904,1573,1621,1712,1664,1842,1976,2178,2396,2506,2167,2138,1956,2277,1915,2206,2861,3097,2687,2774,2854,2158,2463,2071,1599,2150,2490,2651,2556,2718,3103,3567,3112,2488,2107,2286,2828,3453,2919,2554,2508,2757,2545,2502,2687,2269,2375,2363,2219,2380,2322,2492,2071,1901,1755,1688,1907,2071,2072,2099,2119,2309,2516,2661,2813,2701,2456,2993,3166,3022,3096,2943,2415,2010,2186,2320,1725,2087,2574,2832,2399,1886,2018,2055,2035,1906,1725,1853,1763,1630,1615,1740,1841,1733,1798,1841,1586,1519,1556,1958,2056,1885,1721,1577,1880,2578,2502,2337,2020,2156,1863,2165,2214,1801,2521,2689,1843,1581,1487,1572,1719,1525,2030,1937,1588,1617,1611,1783,2127,2212,1721,1677,1844,1960,1810,1928,2024,1687,1731,1521,1596,1485,1332,1440,1765,2070,1755,1852,1995,1840,1607,1631,1614,1816,2115,2018,1721,1497,1738,1686,1595,2101,2299,1743,2009,2388,2146,1648,1979,2226,1810,1702,1667,1750,1768,1836,1646,2025,2067,1949,2332,2699,2276,1914,1871,1845,1917,1871,1754,1618,1628,2680,3143,2888,2546,2018,1503,1473,1887,1990,1721,1704,2042,1955,2185,2744,2945,2763,2697,2604,2540,2542,2219,2122,2449,2383,2071,2512,3078,3238,3593,3523,2949,3392,3361,2802,2436,2373,2220,1999,2483,2709,3462,4441,3326,2552,2974,2377,1938,1833,1666,1692,1763,1703,1692,1320,1805,2343,3742,3539,2304,1887,1782,2221,2209,1800,1882,2399,2521,2425,2242,2857,3327,2229,1948,2248,2549,2124,1990,2024,1863,2226,2055,2385,2086,2645,2770,2800,2486,2334,1899,1419,1365,1710,2032,2302,2419,2368,3389,3538,2440,2142,2923,3142,3021,2834,2493,2486,2821,2796,2467,2370,2369,1941,1800,2113,2387,2361,2274,2054,2183,2431,2823,2712,2069,1929,2013,2490,3585,3596,2971,2685,2196,1910,1839,2198,2287,1697,1410,1509,1433,1459,1598,1833,2380,2526,2346,2242,2149,2174,1964,1503,1522,1946,2363,1864,1875,2024,2052,2287,2081,2128,2132,2020,2216,2260,1830,1457,1657,1839,1969,1923,2154,2097,2378,2500,2317,2258,2070,1718,1770,1967,1984,1942,1990,2305,2376,2207,2302,2272,2341,2182,1903,1974,2289,2116,2088,2208,2348,2337,2746,2537,2320,2157,2305,2493,2433,2421,2402,1795,1647,2712,2609,2517,2519,1944,2019,2317,2240,2922,3216,2712,3063,4397,4681,3716,2496,2391,2473,2658,3065,3000,2972,3145,2614,2058,2858,3357,2241,1835,2199,2890,2736,2127,2007,2171,2005,1599,1674,1975,2153,2500,2645,2489,2566,2249,2203,2354,2185,2125,2179,2156,2197,2480,3131,3299,2570,2001,1874,1871,1887,2166,2337,2278,2261,1892,1393,1243,1460,1711,1938,1892,2049,2223,2226,2031,2235,2307,2027,2175,2016,1839,2514,2702,2934,3072,3129,3008,2673,2777,2600,2585,2420,2110,2708,2765,1896,1500,1595,1638,1663,1827,1647,2305,3108,3413,3079,2319,1949,1568,1629,1640,1432,1411,1398,1511,2321,2584,1604,1399,1786,1753,1916,1786,1640,1717,1757,1889,1912,2012,2129,2305,2331,2205,2109,2054,1989,2058,1860,2215,2700,2597,2634,2767,2679,2263,2038,2085,2494,2481,1864,1594,1620,1969,2474,2891,2168,1944,3168,3941,3823,3717,3872,3173,2318,1971,1467,1620,1873,2198,2853,3427,3816,3067,2026,1656,1678,1908,1906,1843,1731,1813,2032,2098,1923,1578,1284,1499,1728,1925,1949,1747,1671,1615,1434,1513,2055,2562,2603,2494,2547,2411,2406,2966,3415,3454,3228,3178,2975,2966,3296,3949,3875,3817,3375,2604,1984,1882,1966,2072,2138,2020,1696,1757,1645,1867,1547,1406,1341,1340,1498,1577,1368,1340,1490,1816,2334,2800,2969,1972,1426,1306,1432,1503,1453,1357,1626,1713,1958,2669,2349,2204,3164,2994,2525,1995,2428,2574,2537,2104,1625,1636,1716,1616,1595,1537,1719,2040,2303,2619,1926,1499,2180,2383,2437,3044,3235,2408,1747,1538,1443,1481,2325,2578,1569,1360,1928,1794,1490,1694,1703,1724,1687,1602,1924,2220,3053,3459,2967,2686,2865,3243,3681,3763,3250,2472,2518,2430,1488,1441,1655,1910,1960,1794,2086,2008,1925,1909,1790,1974,1712,1346,1693,2322,2380,2068,2221,2621,2918,2544,2441,2446,2159,1919,2058,2071,1892,1945,1898,1845,2098,2102,2751,2964,2374,2205,2192,2277,2526,2553,2163,2084,2107,2408,2583,3898,3682,2845,2240,1985,2365,2622,2629,3165,3698,3377,3186,2939,2965,3048,3444,3422,2884,2534,2668,2766,2685,2673,2916,3259,3296,3277,3163,2905,2554,2392,2178,2221,2601,2232,1604,1621,1763,2196,2120,2244,2383,2543,2354,2067,2230,2480,2282,2482,2715,2499,2448,2407,2216,2709,2501,2680,3454,4132,3128,1945,2257,2626,2614,2797,2522,2481,2495,2966,2727,2900,2424,1925,1859,1781,2023,1777,1668,2090,2634,3238,2749,1730,2366,2173,1653,1958,2068,2141,2500,1814,1675,2019,1993,2042,2429,2778,2766,2529,2634,2730,2623,2866,3674,3815,3725,3433,3476,3666,3515,3533,3031,2579,2794,3530,3985,3825,3514,3574,3807,3709,3626,3678,3320,3164,3188,3155,3029,2887,2897,2849,3073,2863,1894,3007,3685,3969,4039,4356,4301,4046,3813,3521,2968,2997,3369,3204,3442,4165,4364,4004,3404,2502,1976,1605,1603,1808,2179,2427,2092,1600,2186,3840,4577,4272,3540,2477,1407,1487,1706,1682,1949,2350,2173,1845,1590,1543,1379,1550,1612,2221,3226,3583,2768,2347,2197,1975,2040,2112,1382,947,1578,1272,1501,1768,1872,2267,2361,2093,1825,1887,1946,1798,1847,1753,1969,2463,3191,2885,1890,1495,1986,2359,2266,1888,2255,2821,2563,2123,2145,1499,1312,1744,1968,1640,1641,2143,2161,2168,2262,1982,2522,2801,2301,1867,1995,2872,2620,2441,2519,2647,2955,3038,2866,2457,2263,2646,3158,3062,3052,3013,2875,2618,2275,2001,2360,2812,2676,1946,1586,1843,2070,2057,1880,1947,2060,2193,2049,2047,2552,3079,2490,1808,1952,2124,2868,2436,2592,3172,3584,3526,2743,2475,2664,2722,3007,2701,2994,3084,3145,3575,3216,2514,2213,2267,2475,2472,2086,2113,2330,2403,2656,2213,1987,2288,2556,2667,2387,2129,2182,2530,2755,2436,2466,2789,2754,2312,1570,1829,2215,3463,3249,2741,2809,2554,2166,2170,2510,3114,3847,3940,4004,3730,3388,2856,3095,3689,3805,3661,3439,3345,3772,4142,3962,3831,3935,3808,3333,3498,3685,3540,3543,3703,3773,3786,3675,3396,3367,3103,1962,1654,2266,2088,1754,1759,1722,1773,1969,2593,3434,3841,3893,2291,2233,2379,2585,2590,2534,2764,3033,3291,3195,3065,3124,3016,3583,3896,3784,2943,3404,3442,2721,2425,2387,2205,2063,1801,1874,1944,1909,1787,1977,2499,2853,2337,2092,2652,3306,3118,2341,2185,2160,2518,2566,2324,2299,2420,2237,2017,1891,2358,3038,2531,1728,1640,2427,3068,2868,2261,2046,2042,2165,2130,2293,2287,2008,2190,2365,3207,2963,1908,1918,2902,3255,2800,2343,2423,2088,2106,2978,3094,2762,3423,4049,3573,3105,2762,2409,2461,2690,2526,2699,3520,4564,4063,2630,2128,2045,2145,2105,1995,2147,2012,2209,2575,2110,1308,1330,1614,1590,1932,2446,3235,3564,3173,2567,2664,3210,3310,2889,2308,1829,1805,1896,2116,3185,3667,3725,3770,3330,3529,3079,2543,2414,2075,2383,2497,2470,2159,2479,2128,2001,2135,2237,2144,2119,2208,2383,2396,2024,2130,2186,2134,2309,2276,2185,2663,2413,2176,2054,2322,2188,1834,2226,1982,2221,2421,2743,2544,2592,2480,2440,2545,1938,1917,2720,2925,2113,1549,1659,2014,1857,1603,2110,2480,2512,2286,2111,1827,2189,2728,2587,2542,2940,2475,2218,1958,1751,1992,2021,1785,1667,2256,2840,2222,1876,1812,1802,2035,1812,1928,2186,2465,2337,2194,2071,2066,2619,2696,2329,1901,1554,1709,2245,2347,2298,2473,2364,2387,2465,2286,2608,3294,3331,3277,2775,2712,3056,2420,2235,1907,2122,2145,1771,2009,2272,2084,1915,2140,2209,2136,1919,1943,2130,2600,3326,3184,2496,2019,1769,1698,1888,2114,2020,2180,1879,1605,2265,2338,2204,2383,2125,2522,2868,2378,1990,2002,1942,1880,1459,1870,2450,2575,2715,2532,2287,2297,2681,2433,2172,2071,2063,2473,2475,2697,2937,3504,3736,3736,2638,2207,2715,2508,1919,1808,2041,1981,2117,1995,2122,2260,2117,2382,2361,2092,2383,2684,2797,2467,2194,2458,2534,2130,2010,1180,1352,2096,1821,1631],[2132,1836,1688,1636,1620,1744,2124,2218,1433,2047,2844,2913,2851,2175,1963,2182,2657,3151,2653,1817,2065,2708,2613,1678,1653,2473,2696,2436,2508,2830,2508,2113,2389,2727,2932,2732,2424,2512,2220,2284,1804,1918,2408,2800,2733,3081,3514,3227,3066,2954,3418,2903,2078,1704,2066,2278,2210,2018,1897,1790,1863,2300,3160,3470,2871,2654,1720,1865,2191,2331,1993,1568,1858,1858,1167,1366,2181,2520,2292,2219,1893,1768,2054,2273,2437,2272,2334,2755,3252,2940,2161,2810,3220,2373,1838,1949,1869,1772,2354,2734,2902,3154,3267,3349,2994,2325,2684,2886,2406,2441,2154,2243,2194,2371,2277,1996,1909,2258,2932,2652,2862,3453,2965,2152,1887,2055,2009,1943,2666,3666,3481,2505,2611,2962,3188,3438,3095,3077,3300,3309,3144,3022,3242,3152,3370,3628,3041,2119,2083,2528,3233,2857,2270,2873,3416,3331,3448,3870,4344,4424,4124,3881,3607,3375,2622,2804,2874,2977,2768,2985,3387,2974,2336,2186,2186,2039,1695,1625,1770,2335,2008,1895,2310,3199,3660,2943,2287,2305,2025,2475,3219,3559,3645,3287,3319,2668,2130,1647,1993,1978,1910,1807,2158,2670,2154,1704,1616,1715,2014,2566,2653,3231,3082,2303,2161,2208,2452,2407,2277,2122,1792,1726,1909,2339,2887,3391,3435,2289,1573,1981,2172,2261,2631,2485,2746,2696,2354,2577,2466,2141,2210,2198,2188,2083,1862,1897,1885,1676,1932,2106,2416,2580,2589,2656,2981,2467,2119,1829,1450,1709,1914,2275,2745,2469,2303,2549,2352,1990,1925,1993,1797,1657,2192,2524,2152,2168,3140,3593,2890,2031,1791,1661,1880,1866,1710,1841,2051,2539,2636,2441,2346,1847,2041,2512,2366,1884,1861,1994,2138,2077,2723,3043,2492,2466,2197,2440,2686,2501,2492,2173,2057,1963,2094,2281,2237,1975,1865,2236,2657,2429,2574,2939,2802,2899,3257,3615,3370,3348,3293,3186,3016,2797,2377,1926,2270,2056,1753,1396,1649,2479,2453,2078,1864,1814,2296,1610,1464,1553,1698,1797,1691,2071,1949,1550,1492,1593,1661,1821,1719,1530,1715,1963,2348,2448,2495,2589,2259,1751,1953,2042,2054,2274,2004,1477,1581,1810,1760,1673,1433,1684,1872,1999,1984,1851,1925,2127,2127,1833,1901,2078,1908,1556,1935,2337,2002,1609,1450,1487,1482,1351,1617,2039,1982,1604,1921,1972,1553,1399,1398,1337,1397,1754,1892,1695,1680,1937,1582,1717,2381,2206,1798,2047,2182,2084,1980,2048,2028,2137,1990,1478,1622,1689,2156,1790,1893,1896,1909,2193,2265,1912,1571,1575,1603,1713,1808,1605,1654,2061,2928,3305,3208,2793,2266,2035,2002,2034,1922,1803,1949,1743,1801,2121,2626,2641,2362,2271,1958,1904,2180,2015,1978,2173,2214,2304,3084,3286,3270,3861,4075,3820,3927,3920,3675,3430,3152,2788,2543,2760,2533,3572,3794,3066,2644,2272,2255,2031,1820,1938,1867,1954,2001,1995,1960,2309,2724,3504,2971,2008,1760,1823,1785,1620,1577,1568,1898,2020,1995,1979,2962,3106,2237,1748,1855,2237,2157,2028,2073,1784,2040,2011,2110,2386,2744,2734,2522,2193,2110,1810,1637,1797,1702,1549,2011,1998,2041,3083,3441,2235,2075,2354,2224,2213,2382,2395,2365,2765,2977,2349,2579,2452,2047,2222,2774,2571,2138,1995,1842,1772,2166,2781,2524,1975,1984,2137,2334,3192,3396,2831,2438,2209,1979,2286,2484,1849,1505,1489,1854,1741,1179,1211,1864,1976,1904,2111,2259,2411,2484,2272,1877,1765,2100,2163,2194,2161,1959,1791,1986,2107,1893,1841,1933,2061,2062,1990,1839,1857,2042,2226,2100,2113,2062,2130,2207,2394,2505,2079,1872,2295,2126,2146,2331,2189,2353,2689,2523,2291,2383,2325,2088,2229,2025,1933,2012,2204,2303,2306,2231,2609,2580,2128,1852,1980,2315,2509,2458,2109,1654,1542,2696,2786,2339,2044,2211,3143,3257,2757,2956,3632,3530,3347,3480,3497,2699,2376,2574,2564,2447,2501,2689,2941,2856,2436,2036,3186,3167,2334,2254,2641,2963,2635,2588,2703,2587,2354,2276,2265,2327,2420,2608,2401,2118,2379,2390,2734,2773,2330,2398,2405,2079,2264,3107,3608,3400,2661,2128,2243,2321,2332,2611,2643,2544,2666,2248,2344,2388,2361,1990,2175,2302,2439,2559,2419,2481,2929,2922,2498,2127,1712,2182,2754,2780,2809,2849,2905,2915,2792,2843,2546,2335,2456,2744,3088,2548,1790,1512,1638,1519,1813,2244,2053,2539,3228,3350,2756,2140,1797,1650,2184,2254,1933,1704,1477,1934,2675,2242,1538,1704,2003,1920,1792,1751,1801,1868,1779,1682,1572,1884,2044,1998,2172,2177,2102,2040,1896,1959,1829,1870,2258,2629,2822,2981,3229,2961,2375,2486,2701,2397,1947,1880,2336,2789,3128,3068,2241,2460,3287,3737,3891,3923,4049,3250,2282,1628,1745,2332,2886,3404,3934,4384,4844,3925,2251,1675,1619,2121,1888,1810,1730,1795,1960,2046,1948,1572,1384,1710,2212,2432,1933,1380,1164,1173,1147,1318,1898,2564,2836,2925,2915,3028,3518,3646,3421,3190,2833,2763,2545,2678,3684,4080,3560,2977,2341,1880,1803,2012,2022,2121,2386,2136,1696,1525,1664,1766,1382,1454,1453,1428,1554,1528,1249,1230,1936,2493,2644,2800,2647,1682,1352,1356,1244,1216,1278,1222,1301,1405,1597,1881,2339,2329,2456,2623,1996,1813,1985,2207,2678,2338,1903,1709,1787,1434,1827,1730,1889,1565,1804,1748,1581,1917,2675,2810,2276,2307,1968,1726,1783,1396,1537,1681,1788,1657,1584,1550,1512,1470,1498,1658,1692,2253,1603,1643,1816,1947,3105,3530,2968,2431,2657,3115,3168,2922,2337,1920,2477,2543,1891,1554,1251,1668,1852,1654,1957,1980,1851,2075,2113,2139,1743,1636,1613,1930,2006,1910,2018,2547,2513,2303,1940,1758,2133,2061,2622,3000,2439,2534,1922,1607,1881,2176,2719,2608,1670,1941,2160,1742,2249,2820,1891,1700,1785,1946,2285,3375,3750,2697,2075,2411,2832,2635,2921,3150,3300,3399,3241,3284,3044,3078,3666,3547,2960,2744,2724,2458,2579,2707,2722,2957,3098,3074,3222,3374,3142,2642,2190,1569,1738,2161,2048,1969,2253,2448,2662,2674,2277,1898,2051,1859,1359,1888,1953,1985,2490,2756,2398,2016,2497,2840,2289,2229,2635,3111,2945,2446,2846,2902,2589,2756,2587,2699,2423,2543,2291,2131,2176,2024,1791,2098,2846,2255,2235,2490,3030,3450,2555,2062,2981,3098,2018,2027,3046,3168,3082,2495,1863,1907,1893,2244,2788,2919,2652,2402,2086,2111,2332,2338,3104,3399,3840,3228,2557,3124,3429,3069,2769,3146,3803,4125,3852,3675,3542,3211,3491,3497,3726,3957,3580,3319,3207,3153,2997,2876,2908,2918,2980,3212,2194,2320,3427,3929,4083,4264,4021,3486,3260,3561,3086,3075,3471,3505,3262,3753,4126,3638,2918,2407,1844,1480,1466,1636,1870,2252,2320,1794,1666,2874,4175,4073,2949,2032,1969,2238,2071,1864,1787,1633,1733,1920,1703,1592,1895,1783,1529,1760,2179,2347,2640,2432,2144,2136,2195,2232,2046,1040,1093,1510,1981,2077,2136,2161,1896,1598,2070,2510,1866,1678,1994,1830,1727,1810,2072,2127,2041,2031,2342,2663,2401,2392,3106,2776,2242,2104,1946,1764,1873,2105,2092,1717,1420,1678,2302,2080,1919,2024,2424,2561,2354,1840,1869,2402,2427,2342,2123,2392,2496,2467,2378,2098,2087,2482,2873,3002,2855,2428,2313,2647,2674,2169,2010,2214,2001,1595,1713,2166,2211,2014,1839,1864,2262,2293,2034,2007,2678,3088,2357,2286,2493,2173,1954,2030,2310,2509,3065,2888,2224,2248,2166,2111,2490,2601,2822,2565,2462,3206,3411,2604,1809,2060,3090,3243,2397,2259,2630,3023,3436,2366,1820,2114,2386,2404,2197,2215,2214,2141,2230,2308,2667,2402,2466,2276,1943,1642,1670,3060,3659,3454,3062,2538,2167,2085,2965,3985,4104,3906,3293,2959,2568,2603,3032,3273,3413,3466,3267,3044,3295,3744,3941,4027,3839,3698,3573,3651,3608,3495,3447,3329,3547,3701,3591,3536,3378,2138,1447,1413,2049,1993,1577,1768,1881,1954,2174,2316,2986,3636,3402,2425,2521,2270,2697,2818,2911,3318,3653,3583,3087,2685,2643,2849,3383,3582,3538,3381,3775,3221,2511,2532,2452,2062,2153,1832,1860,2108,2048,1959,2315,2590,2821,2664,2862,2840,2286,2324,2248,2290,2105,2532,2155,2091,2271,2220,2388,2278,2168,2431,2236,2274,1931,1978,2897,3348,2773,2109,2509,2719,2100,1331,1780,2496,2155,2502,2607,3310,2634,2049,1805,2148,2980,2707,2242,2796,2166,1865,2952,3648,3188,3264,3154,2862,2833,2720,2191,2025,2028,2014,2161,2387,3287,2765,1952,1813,1851,2204,2119,2116,2120,2061,2507,2688,1922,929,1006,1415,1389,1110,1907,2809,2592,2232,2435,2542,2802,3299,3242,3097,3196,2123,2147,2747,3704,3488,3275,2852,2751,3289,2919,2705,2688,2217,2221,2277,1886,1830,2398,2174,1813,2025,2382,2180,1877,1754,1972,1913,2031,2494,2379,2344,2459,2148,2083,2249,2353,2342,2125,2586,2754,1979,2092,1804,2064,2144,2249,2568,2880,2612,2476,2408,1983,1789,2250,2717,2211,1612,1561,1912,2630,2795,3103,3124,2422,2059,1871,1763,1991,1996,2143,2784,2902,2105,1841,1789,1957,2799,3393,2856,1726,1798,2505,2336,2288,2366,2252,2209,2229,2354,2258,2446,2466,2342,2230,2170,2555,2329,1965,2138,2085,2248,2406,2360,2196,2349,2495,2621,2562,2319,2472,2990,3147,3018,2609,2498,2867,3028,2858,2130,2282,2886,2723,2272,2119,1994,2187,2469,2248,2375,1826,1530,1987,2733,2958,2610,2060,2105,2308,2066,1776,1754,1822,2448,2106,1558,2022,2225,2199,2314,2179,2279,2631,2439,2445,2798,2423,1907,1699,1952,2225,2317,2217,2301,2394,2159,2546,2283,2084,2491,2344,2448,2352,1846,1773,2341,2829,2729,2187,2453,2500,1985,1713,1708,1699,1755,1848,1861,1886,2036,2221,2335,2429,2337,2742,3109,3043,2254,2706,3030,2595,2185,2314,1788,1837,2104,1365,1411],[2192,2112,2055,1909,1781,2034,2127,1967,1700,2387,2985,3282,3395,2822,2348,2329,2483,3040,2662,1844,2155,2598,2286,2051,2019,1566,1629,2096,2070,1994,2142,2576,2623,2808,2874,2471,2661,3090,2532,1995,1795,1901,2840,3437,3234,3545,3249,2583,2702,2883,3270,3023,2435,2221,2264,1959,1696,1688,2057,2237,2167,2126,2369,2066,1687,1776,1455,1845,2087,2192,2083,1635,1881,2006,1462,1941,2693,2720,2543,2404,2327,2191,2349,2367,2221,1878,1992,2668,3168,2990,2282,2658,2485,2432,1919,1968,2009,2149,2896,3279,3287,3450,3472,3355,3043,2391,2475,2500,2533,2247,2237,2225,2106,2106,2085,1895,2014,2474,2968,2534,2770,2547,2570,2320,2116,2414,2488,2526,2774,3348,3958,3494,2894,2806,2916,3213,3046,3136,3183,3388,3521,3442,3183,2766,2957,3096,2996,2154,2473,2439,3518,3272,2418,2848,3675,3574,3462,3980,4177,4189,4094,3669,3423,3471,2893,3130,3261,2786,2394,2450,2571,2661,2590,2732,2389,1874,1690,1597,1566,1704,1636,1868,2591,3559,3687,3051,2813,2369,2225,3168,3032,3065,3084,2846,2950,2598,1744,1522,1598,1653,1761,1843,2240,2438,1938,1735,1743,1932,1968,2401,2743,3220,2941,2385,2072,1953,2210,1963,2258,1930,1699,1981,2282,2183,2281,3016,3285,2244,1557,2181,2278,2351,3476,3632,3805,2972,2210,2817,3447,3272,2632,2288,2265,1852,1810,1946,2045,1696,1658,1912,1929,2349,2451,2175,2452,2342,2025,1909,1608,1731,1780,2054,2532,2438,2379,2597,2600,2457,2422,2298,1865,1714,2130,2467,2006,2533,2731,2864,2539,1872,1882,1544,1150,1227,1635,2029,1896,2099,1832,2426,2360,1670,1661,1584,1489,2062,2072,1837,1763,1482,1848,2544,2814,2878,2690,2604,2484,2165,1822,2102,2270,2109,2268,2934,2878,2319,2207,2678,2609,2572,2964,3031,2995,2568,2697,3150,2980,2993,3303,3852,3555,2166,1671,2240,2578,1865,1098,1182,1712,2131,2078,1804,1961,2294,2658,1739,1631,1617,1684,1586,1578,1808,1878,1732,1506,1866,2080,1944,1662,1578,2172,2191,2342,2976,3338,3222,2492,1997,1919,2075,2352,2328,2140,1858,1860,2143,1862,1679,1557,1649,2326,3229,3201,2483,2299,2467,2708,2565,2329,2055,1988,1760,1883,2233,1922,1637,1648,1459,1600,1471,1838,1890,1526,1598,1955,1941,1831,1662,1544,1479,1439,1761,2199,2195,1863,1603,1632,1722,2492,2155,1745,2032,1947,2229,2687,2396,1975,1981,1733,1488,1572,1629,1606,1445,1543,1618,1832,2140,1923,1685,1629,1698,1608,1587,1926,2007,1889,1753,2980,3843,3596,2812,1931,2041,2069,2143,2091,1755,1724,1704,1685,1850,2074,1887,1706,1707,1483,1593,1842,1759,2092,2315,2719,2757,3143,3150,2819,2519,2778,3609,3838,3592,3596,4112,4353,3935,3443,2978,2573,2824,2801,2899,2470,2167,2471,1950,1954,1748,1752,1910,1954,1815,1848,2148,2029,2031,2016,1708,1979,1882,1457,1539,2173,1745,1714,2033,2046,2264,2452,2264,1859,1732,2191,2438,2147,1842,1861,1861,1857,1972,2236,2585,2525,2635,2259,1814,2151,2245,1987,1911,1701,1747,1833,1658,2045,2872,2644,2024,1785,1786,2073,2430,2612,2252,2419,3177,3521,2876,2888,2690,2467,2879,3218,2547,1955,2183,2147,2064,2117,2351,2619,2304,2385,2235,2328,2475,2246,1962,2010,2491,2732,2635,2087,2034,2042,1957,2244,1955,1404,1230,1797,1998,2056,2120,2106,2185,2284,2304,2255,2630,3146,2593,2548,2112,1360,1455,1970,1734,1581,1838,1924,2105,2183,2017,1806,1938,2035,1881,1946,2079,2068,2102,2261,2228,2405,1947,2092,2107,2101,2435,2449,2309,2589,2627,2254,1998,2442,2756,2523,2756,2547,2373,2390,2553,2830,2567,2069,2231,2558,2523,2338,2448,2810,2548,2281,1966,2071,2083,2706,2691,2108,1987,2100,2824,3268,2933,3299,3685,3498,3107,3056,2783,2309,2173,2364,2693,2475,2338,2344,2357,1997,2327,1846,2309,2540,2447,2304,2180,1915,1802,2204,2509,2632,2265,2271,2115,2471,2526,2330,2020,2142,2411,2438,2553,2401,2653,2745,2585,2912,3283,3200,3034,2994,2841,2842,2878,2614,2531,2729,2565,2270,2575,2284,2498,2647,2524,2191,2395,2588,2512,2355,2373,2561,2587,2470,2257,1957,1471,1971,2567,2906,2954,3022,2945,2824,2904,2933,2275,1943,2381,3062,3022,2353,1594,1566,1713,1537,2244,2879,2434,2356,2600,2827,2323,1847,1512,1771,2425,2691,2721,2030,1543,2255,2540,1747,1661,1719,1973,2070,1753,1577,1824,1998,1761,1554,1609,1751,1805,2030,2176,2124,1926,1730,1772,1933,1907,1946,1780,2056,2327,2540,3185,3155,2588,2562,2523,2221,1646,1729,2618,3261,2886,2064,1985,2605,3184,3449,3763,3731,3743,2945,2114,1810,2943,3831,4260,4732,5037,4676,3913,2910,2040,1584,1548,2369,2376,1973,1757,1807,1982,1964,1787,1591,1404,1682,1824,1694,1353,1236,1250,1481,1679,1811,1874,2399,2975,3198,3317,3408,3392,2818,2618,2483,2231,2175,2112,1918,2666,2776,2010,1797,1890,1959,2023,2050,2035,2144,2128,1886,1678,1742,2043,1658,1519,1882,1699,1772,1814,1716,1612,1957,2617,2487,2284,2215,1856,1388,1219,1302,1332,1294,1132,1150,1160,1333,1461,1522,2039,2390,2339,2230,1909,1858,1786,2001,2442,2385,2098,2112,2118,1853,2106,1978,1568,1430,1665,1907,2258,2221,2314,2086,1950,2061,1630,1687,1383,1326,1466,1548,1643,1695,1823,1696,1664,2022,1939,1571,1139,1476,1523,1577,1464,1576,2092,2865,3140,2698,2799,3009,2279,1717,1599,1935,2106,1911,1138,661,1173,2073,2018,1675,1778,1805,1961,2581,2322,1963,2025,1964,2105,2298,2120,1795,1721,2177,1990,1829,1831,1819,2590,2592,3416,3107,2680,2456,1535,1394,1932,2291,2497,2753,1489,1826,2220,1694,2273,2798,1901,1575,1817,1962,2163,2901,3130,2520,2422,3063,2868,2464,3300,3370,3461,3422,3185,3495,3274,3275,3851,3834,3098,2685,2851,2699,2706,2764,2800,2721,2467,2239,2380,2886,3088,2599,2443,1672,1506,1897,1996,2098,2664,2679,2278,2164,2186,2049,2218,1739,1438,2304,2180,2498,2552,2528,1915,1643,2417,2455,2094,2562,2174,1754,1969,1857,1651,1806,2414,2862,2800,2566,2351,2347,2293,2493,2840,2696,2060,2261,2369,2148,2243,2205,2557,2673,2563,2668,3034,2856,1994,1915,2928,2477,1869,1848,1863,1930,2382,2730,2534,2232,2126,2053,2207,2215,2452,2418,2941,3428,3704,3317,3000,3157,3128,3015,3250,3799,3959,3978,3812,3779,3869,3616,3615,3372,3484,3760,3770,3472,3226,3289,3134,2916,2884,2901,2857,3098,2647,2099,3065,3806,3751,3897,3609,3198,2966,3065,2848,2652,3198,3908,3193,3171,3593,3813,3372,2355,1648,1552,1527,1601,1570,1824,2088,1965,1693,1760,3094,3545,2481,1897,2150,2136,1825,1546,1903,1887,1888,2344,3022,2764,2460,2189,1780,2009,2040,2282,3011,2830,2679,2372,2457,2498,2287,1680,1895,2337,1919,1678,1946,1894,2167,1858,2204,1918,1793,1946,2355,2256,1828,1641,1644,1810,1945,1969,2789,2742,2335,2752,3113,2547,2106,1945,1932,2074,2624,3123,2545,2117,1948,1459,1898,2019,1738,1992,2647,2586,2486,2137,1963,2168,2003,1816,2191,2500,2210,2275,2248,1964,1974,2413,2623,2382,2043,2099,2267,2353,2248,2291,1803,1494,1787,1826,2012,2094,1907,2037,1984,1901,2045,1993,1640,1651,2013,2200,2242,2310,2063,1873,1942,2468,2499,2266,2396,2235,2364,2622,2338,2210,2200,1821,2150,2800,3296,3882,3736,2775,2239,2509,2419,3021,2410,2168,2509,2918,3250,2842,2548,2310,2353,2385,2261,2178,2186,2462,2273,2241,2547,2349,2555,2566,2152,1709,1861,2271,2469,2932,2764,2501,1988,2016,2976,3830,4197,3501,2557,2335,2156,2053,2877,3410,3606,3602,3299,3327,3224,3187,3311,3300,3305,3300,3386,3651,3504,3378,2927,2699,3130,3414,3484,3319,3408,2512,1556,1361,1888,2272,1886,1759,1887,2027,1961,1941,2163,2674,2541,2421,2150,2192,2676,2958,3255,3034,3374,3259,2823,2587,2617,2912,3519,3656,3547,3574,3338,2911,3273,3552,3199,2125,1959,1778,2427,2786,2543,2271,2308,2531,2599,2618,2385,2389,2532,2330,2264,2310,2216,2154,1764,1773,2049,2308,2500,2264,2100,2642,2052,2499,1972,2339,2896,3197,2648,2081,2265,2624,2536,1744,1964,2721,2225,2797,3221,3144,2357,1785,1539,1682,2343,2633,2430,2094,1766,2364,2896,3157,2770,3031,3171,2338,1812,2213,2379,1982,2011,2139,1737,1956,2281,2086,2050,2283,2033,1931,1945,2112,1937,2113,3240,3846,2971,1781,1187,1110,926,1130,1982,2522,2447,2679,2988,2734,2857,3146,2979,3041,3087,2241,2243,3245,3938,3754,3397,2758,2820,3053,3121,3111,2931,2805,3111,2989,2414,2604,2490,1913,1618,1843,2238,2185,2064,1836,2034,2056,2116,2153,2303,2344,2333,2254,2177,2018,2069,2172,2200,2563,3438,2492,1919,1625,1835,2021,2166,2511,2373,2081,2532,2592,2000,1629,1885,2554,2523,1774,1514,1740,2836,3570,3658,2886,1899,1310,1559,1844,2135,2373,2372,2457,1951,1582,1512,1582,1932,2640,3320,3345,1838,1666,2631,2288,1885,2058,2212,2404,2426,2407,2389,2447,2318,2317,2261,2228,2256,2036,2158,2393,2277,2125,2229,2147,2321,2755,3045,3008,2546,2340,2437,2642,2833,2731,2318,2203,2481,2777,2761,2505,2285,2718,3047,2459,2122,2145,2328,2518,2453,2009,1704,2022,2436,2127,1777,2136,2456,3101,3286,2574,1924,1697,2089,2430,2081,1924,2243,2252,2077,2214,2532,2584,2423,2424,2984,3263,2579,2131,1967,1763,1947,2245,2327,2496,2709,2330,2633,2352,2177,2019,2003,2175,2293,2099,2199,2665,2642,2219,2124,2384,2343,1999,1890,2028,1999,1977,1928,1921,2062,2423,2300,2036,2125,2127,2381,2507,2607,2639,3087,3055,2921,2700,2452,2098,2202,2014,1255,1921],[2151,2177,2200,2220,1843,2113,2394,2256,1874,2234,2978,3454,3448,2895,2509,2307,2164,2743,2597,1788,2152,2745,2408,1768,1672,1475,1673,2248,1628,1653,1982,2796,2561,2727,2744,2475,2623,2923,2511,1997,1846,2006,3072,3435,3095,2672,2674,2320,2325,2975,3376,3145,2697,2740,2578,1819,1602,1496,1780,1596,1969,2391,1938,1504,1521,1428,1180,1340,1490,1662,1905,1797,1917,2199,1909,2393,2904,2736,2876,3045,2644,2203,2185,2348,2491,2235,2054,2674,2885,2707,2868,2974,3006,3003,2602,2409,2285,2691,3203,3276,3427,3395,3405,3508,3493,2595,1993,2137,2623,2316,1928,2051,2075,2135,2180,1841,2145,2654,2647,2555,2750,2206,1925,1813,2138,2358,2370,2604,2962,3240,3627,4050,3129,2343,3012,3221,3266,3181,3083,3444,3150,2841,2969,2814,2836,2746,2648,2608,2797,2560,3354,3127,2067,2235,2876,2986,3178,3858,3940,4048,3805,3200,2721,2852,2768,2710,2994,3115,2915,2648,2425,2849,2882,2564,1896,1643,1610,1901,2242,2247,2024,1887,3012,3893,3495,3353,3494,2743,2254,2382,2629,2670,2452,2364,2622,2332,2040,2139,2200,2032,1915,2040,1854,1641,1462,1686,1899,1913,2248,2551,2877,2949,2313,2262,2016,1992,2046,2540,2697,2345,1981,2355,2706,2550,2519,2533,2525,2334,1978,2522,3134,2540,3142,3141,3251,3158,2901,3349,3875,3093,2310,2175,1987,1943,1959,2129,1778,1590,1888,2481,2176,2376,2626,2418,2668,2872,2513,2287,2184,2054,1920,1882,1754,1941,2128,2304,2408,2268,2149,2123,1930,1795,1760,2023,2094,2507,2589,2951,2364,1609,1670,1454,1254,1505,2041,2347,2402,2157,2070,2435,2214,1931,1783,1335,1776,2580,2211,2151,2676,2428,2353,2063,2021,2374,2573,2296,2056,2165,2166,2084,1996,2029,2345,2855,3094,2462,2230,2438,2609,2740,2910,2471,2226,2459,2547,2503,2891,3299,3607,3958,3750,2498,1822,2149,2436,2020,1743,1824,1944,2103,2642,2768,3046,2864,2486,2310,2171,1749,1539,1552,1580,1593,1721,1849,1864,2701,2684,1857,1867,1762,2084,2166,2554,3350,3698,3480,2951,2182,1905,1886,2149,2187,2232,1752,1511,1954,1937,1617,1648,1963,2697,2652,2064,2035,2200,2567,2746,2389,2447,2555,2321,1588,1619,2071,1828,1503,1802,1596,1545,1487,1780,1696,1592,1545,1631,1725,1740,1690,1718,1675,1722,1992,2151,1539,2014,1811,1694,1861,2414,2125,1615,1917,2031,2448,2844,2866,2526,1991,1566,1844,2077,1769,1472,1359,1576,1679,1530,1710,1781,1529,1714,1788,1538,1539,1856,1949,1800,1884,2836,3861,3584,2225,1659,2102,2610,2366,1896,1532,1411,1509,1586,1793,1823,1695,2132,2502,1606,1502,1653,1528,1846,2592,2967,3049,3197,3186,3073,2707,2984,3745,3825,3396,3539,4062,4238,4106,4167,4188,3426,2591,2590,2814,2552,2598,2770,2166,2176,2047,1754,1705,1750,1677,1543,1577,1758,1929,1926,1909,1730,1571,1445,1653,1982,1536,1690,1792,1904,2084,2048,1937,1552,1946,2326,2584,2214,1712,1712,1947,1992,1883,2001,2084,2676,3116,2301,1846,1874,2161,2270,2003,1881,1837,1726,1692,2267,2475,2067,1984,1930,2114,2388,2751,2776,2137,2333,2692,2968,2965,2835,2824,2602,2591,2906,2521,1967,2604,2680,2433,2277,2415,3255,2908,2447,2517,2568,1898,1742,1833,1946,2473,2645,2612,2046,2472,2842,3139,2724,2387,2164,1985,2046,1708,1871,2029,2287,2171,2074,1865,1935,2184,2447,2492,2356,1985,1794,1961,2113,1984,1901,1685,1842,2100,2368,2211,1836,1782,1837,1717,1771,1770,1950,1975,1963,2229,2233,2044,2124,2080,2060,2254,2241,2203,2414,2255,1954,2014,2513,2375,2555,2670,2316,2283,2465,2380,2406,2264,2093,2259,2533,2912,2897,2774,2736,2481,2488,2138,2466,2830,2688,2521,2352,2557,2780,2934,3086,2573,3054,3050,2984,2912,2968,2666,2258,1914,1864,2142,2290,2383,1902,1831,2242,2856,2517,2394,2622,2449,2027,1947,2126,2442,2388,2520,2909,2292,2540,2552,2559,2265,1984,2100,2592,2574,2542,2685,2296,2513,2398,2286,2277,2244,2191,2178,2187,1940,1903,2177,2267,2152,2013,1948,1738,1827,1885,1935,2036,2120,1996,1794,1702,1719,1785,1952,2068,1744,1615,1942,2107,1766,1822,2294,2183,2426,3127,3051,2840,3014,2721,1763,1750,2495,3162,2545,2386,2598,2266,1607,1654,2509,2576,1908,1778,1929,2216,2144,1600,1288,1596,2269,3050,2711,1728,1702,2279,2091,1718,1771,1748,2176,1906,1763,1882,2005,1825,1642,1746,1808,1566,1777,2090,2083,2396,1989,1683,1672,1942,1858,1656,1782,1886,1928,2346,2799,2827,2873,2668,2360,1712,1557,1901,2490,2874,2376,1626,1951,2316,3008,3286,3440,3491,3318,2669,2281,2851,4047,4708,4859,4415,3531,2470,1737,1381,1568,1586,1410,2696,3301,2376,1777,1848,1958,1883,1816,1758,1605,1567,1318,1187,1195,1518,1784,2028,2075,1871,2309,3292,3506,3408,3262,3071,2864,2458,2161,2096,2601,3121,2880,2373,2095,2196,2121,1953,1933,1974,2071,1984,1837,1759,1567,1666,1902,2066,1876,1210,1150,1698,1793,2221,2255,2244,2634,2856,2655,2610,2431,1880,1456,1196,1171,1166,1308,1288,1146,1118,1066,1180,1266,1311,1545,1592,1360,1545,1763,1810,1821,1724,1896,2359,1940,1700,1871,1990,1785,1710,1471,1679,2153,2411,2050,1816,1754,1714,1847,2129,2099,1671,1477,1592,1500,1628,1877,1920,1981,1774,2125,2326,2067,1540,1115,1246,1398,1277,1257,1450,1730,2243,3077,3686,3141,2241,2040,1560,1277,1361,1679,1568,1329,1764,2623,2790,2097,1806,1698,1656,1680,2172,2165,1909,2169,1952,1843,2349,2777,1979,1808,2690,2402,2121,2011,1970,2691,2746,2906,2642,2436,1766,1456,2132,2698,2302,2666,2940,1999,2092,2004,1660,2256,2403,1817,1686,1880,2206,1929,2802,3129,2511,2216,2922,2546,2404,2870,2761,2860,3139,2906,3761,3716,3421,3715,3528,2789,2432,2600,2774,2823,2784,2945,3200,2895,2242,2396,2885,3190,2840,2662,2466,2003,1992,2545,2966,2569,2090,2087,2263,2526,2336,2179,1803,2404,3208,2595,2425,2529,2121,1502,1478,1730,2106,2393,2177,2360,2027,1930,2404,2415,1789,2273,2994,2669,2397,2283,2307,2448,2391,2578,3022,2724,2288,2432,2842,2331,1930,2406,3039,3350,3089,2871,3042,2711,1650,1307,1392,1891,2338,1973,1953,2243,2387,2359,2242,2303,2120,2603,2225,2387,2610,3458,3940,3539,3315,3447,3398,3409,3410,3674,3974,3996,3952,4018,4041,4108,4024,3871,3506,3461,3834,3916,3693,3442,3367,3111,2911,2863,2889,2912,2888,2940,2304,2376,3670,3500,3570,3414,3176,3029,2756,2699,2548,3095,3806,3471,3270,3515,3628,3400,2864,2036,1795,1579,1516,1483,1610,1964,2235,1962,1650,2092,2596,2642,2573,2403,1946,1572,1466,2093,1975,1975,3033,3807,3320,2987,2440,2139,2976,2622,1958,2697,3138,2728,2187,2065,2039,2053,2218,2478,2231,1538,1594,1549,1908,2316,1956,1818,2002,2208,2222,2090,1770,1756,1726,1805,1946,2315,2138,2963,2373,2321,2916,2775,2291,2108,2222,2302,2140,2093,2534,2907,2547,2602,1610,1541,2013,1981,2402,2975,2888,2596,2325,1913,2037,2075,1920,3128,2799,2524,2360,1967,1942,2282,2476,2245,1910,1876,2067,2340,2323,1882,1569,1430,1609,2105,2116,1620,1490,2213,3134,2468,2001,1667,1920,1568,1459,1820,2039,2080,2020,1914,1754,1967,2193,2049,1592,1781,1780,1925,2104,2388,2531,2276,1976,2442,2908,3108,3294,3570,2807,2566,2437,2062,2648,2465,2112,2530,2939,2851,2768,2845,2726,2436,2356,2285,1609,1606,2869,3284,2529,2125,2222,2408,2299,1933,2126,2357,1955,2097,1869,2030,2174,1802,1656,2244,3331,3797,2928,2386,2710,2473,2117,2919,2978,3518,3588,3513,3574,3371,3072,2920,3010,3239,3413,3601,4132,4029,3400,2817,2935,3260,3388,3462,3093,3033,2525,1630,1515,1635,2060,2555,1858,1748,1858,1584,1762,2012,2535,2954,2610,2314,2459,2484,3007,2876,2541,2995,3050,2788,2667,2852,3218,3617,3840,3694,3627,3536,3308,3825,3598,3206,2842,2490,2122,2342,2806,2972,2344,2141,2500,2494,2491,1414,1385,2117,1815,2113,2442,2079,1962,1939,1779,2029,1957,2402,2391,1848,2222,1932,2444,2174,2083,2780,3260,2956,3174,3423,3086,2614,2041,1775,2614,2415,2933,3121,2366,1845,1563,1713,2015,1951,2326,2417,2019,2411,2740,2273,2531,2750,3253,3550,2691,1706,2260,2593,1830,1708,1892,2481,3130,2811,2292,2314,2322,1881,1618,2015,2357,1874,1944,2602,2908,3562,3431,2692,1695,1483,2008,2213,2263,2441,2492,2996,3702,3680,3173,2783,2604,2276,2195,2313,2881,3364,3470,3382,2862,2795,3216,3354,3062,2999,2518,2597,2476,2542,2679,2310,1816,1581,1728,1891,1873,2018,2090,2250,2139,2030,2478,2410,1983,2007,2268,2276,2079,2142,2500,2519,2354,2662,2418,1955,1924,2225,2159,2276,2590,2323,2053,2096,1835,1880,1658,1758,2350,2263,1772,1636,1888,2622,3469,3385,2007,1307,2084,2436,2376,2946,2858,2520,1872,1478,1530,1454,1474,2041,2711,2686,2459,1751,1657,2764,2662,2186,1939,2121,2338,2322,2275,2216,2230,2384,2700,2510,2923,2759,2226,2286,2405,2216,1958,1912,2356,3133,3388,3893,3559,2664,2373,2286,2544,2824,2604,2479,2702,2829,2634,2634,2621,2495,2425,2590,2755,2775,3018,2878,2531,2285,1838,1684,2199,2183,1795,1905,2674,2844,2919,2705,2314,2052,2059,2170,1927,1760,1801,2128,2197,2367,2425,2720,2598,2510,2492,3173,3469,2940,2747,2222,1922,2035,2536,2719,2124,2035,2335,2773,2336,2410,2313,2040,2209,2186,2113,2381,2698,2980,2071,1392,1626,2036,1931,1968,2258,2305,2200,2214,2132,2078,2584,2429,2298,2351,2457,2331,2344,2552,2225,1463,2039,3116,2756,1934,1449,1932,1968,1663,1931],[2068,2112,2193,2185,1976,2328,2584,2389,2042,2111,2603,3088,2974,2340,2079,1842,2029,2602,2551,1993,1918,2298,2374,1995,1670,1490,1815,1850,1377,1703,1996,2902,2764,2788,2536,2197,2597,3008,2623,2207,2240,2551,3638,3436,3060,2734,2818,2249,2060,2743,3176,3124,2570,2226,2588,2598,2133,1681,1758,1582,2050,2486,1905,1477,1658,1882,1522,1328,1567,1486,1578,2075,2219,2414,2152,2305,2457,2573,2898,3041,2702,2147,1962,2095,2522,2600,2481,2654,2774,2567,2886,2921,3040,2778,2459,2459,2641,3173,3459,3581,3663,2799,3017,3640,3710,2552,1843,2423,2896,2535,2153,2083,2150,2482,2217,2102,2578,2671,2109,1774,1967,2408,2226,2311,2576,2154,2203,2942,2774,2829,3131,3703,3123,2620,3347,3284,3199,3265,3240,3242,2892,2584,2565,2602,2624,2825,2264,2336,2122,1958,2888,2973,1813,2113,2385,2656,2873,3277,3444,3666,2842,2003,1885,2003,2492,2931,3032,3154,3216,2751,2233,2651,2852,2091,1707,1800,1604,1989,2413,2676,2601,2309,3419,3319,3469,3559,3751,2896,2193,2097,2441,2480,2320,2574,2446,1964,2102,2630,2824,1960,2128,2283,2084,1699,1471,1665,2303,3173,3485,2916,2612,2401,2216,2103,2139,1885,2009,2553,2722,2868,2615,2075,1965,2361,2746,2364,2116,2539,2313,2299,2509,2520,2374,2244,2445,3305,4050,4054,3785,2755,2265,2302,2458,2561,2501,2395,1707,1567,2482,2907,2444,2251,1976,1859,2261,2708,2428,2208,2519,2251,2087,2046,1801,1608,1756,1875,1819,2160,2427,1884,1623,1361,1350,1531,2072,2825,3001,2720,1961,1565,1600,1496,1883,2048,2090,2147,2345,1960,2012,2071,1944,2002,2186,2132,2232,2354,2245,2546,3446,3595,2928,1897,1404,1447,1694,1939,1960,1979,1755,1539,2281,2072,2304,2359,2403,2137,2035,2133,2409,2731,2676,1876,1155,1672,2232,2394,2674,3156,3550,3984,3758,2937,2463,2573,2525,2105,1742,1836,1827,2024,1891,1951,2250,2237,2081,2258,2121,1735,1601,1487,1458,1505,1809,1892,2141,2618,2815,2284,1942,1741,1795,2007,2591,3500,3601,3540,3243,1926,1613,1614,1967,2256,2309,1774,1431,1670,1663,1466,1726,2242,2819,2530,2324,2097,2080,2496,2843,2780,2621,2579,2179,1520,1532,1802,1632,1482,1631,1653,1596,1702,1748,1761,1664,1326,1379,1444,1470,1399,1419,1894,1919,2436,2652,1708,1346,1417,1580,2196,2765,2126,1624,1935,2196,2272,2670,2716,2898,2507,1857,2166,2237,1835,1888,1779,1702,1651,1648,1976,2047,1587,1648,1544,1412,1617,1811,1714,1627,1744,2529,3550,3164,2026,1719,2039,2227,2087,2196,2029,1650,1528,1574,1848,1785,1674,3260,3029,1909,1749,1542,1586,2225,3091,3716,3928,3534,3614,3296,2561,3019,3661,3914,3734,3242,3382,3907,4162,4058,4034,3758,3271,2770,2837,2396,1912,2357,2180,2238,1809,1448,1555,1814,2223,2104,1713,1985,1814,1710,1778,1473,1920,2064,1895,1714,1746,1635,1643,2026,2177,2401,2154,1882,2397,2475,2569,2557,2379,2125,1973,1777,1727,1769,1743,2667,2655,2633,2518,1665,2001,2555,2499,2518,2104,1772,1938,1882,1720,1644,1829,2319,2623,2806,2711,2481,2122,2394,2566,2400,2289,2365,2232,1895,2400,2686,2422,2455,2543,2626,2908,2960,3149,3522,3445,3056,3066,2694,1685,1753,1801,1968,2292,2776,2966,2575,2475,3146,3610,3024,2312,2097,2116,1899,1695,1761,2128,2127,2134,2283,1937,1826,2216,2479,2201,2291,2100,1764,1718,2071,2287,2251,2237,2039,1925,1995,1943,1858,1989,1946,1674,1781,1660,1707,1903,2136,1918,1936,1993,1810,1952,1983,2092,2062,2159,2262,2362,2093,2218,2412,2268,2553,2434,2185,2468,2738,2056,2142,2306,2344,2526,2681,2524,2433,2406,2313,2203,2382,2234,2272,2702,2545,2625,2557,2152,2638,2311,2081,2253,2719,3222,3184,2635,2699,2417,1906,1665,1762,2263,3013,2645,2167,2162,2580,2569,2012,2077,2364,2301,2265,2199,2350,2609,2452,2476,2501,2313,2484,2257,1907,1992,2124,2292,2710,2290,2216,2314,2149,2195,1861,2123,2364,2150,1995,2065,2044,1865,2005,2124,2069,1955,2036,2182,1880,2147,2932,3253,3248,2968,2258,1575,1473,1530,1613,1572,1515,1521,1442,1715,1672,1586,1771,1807,1651,2097,2693,2758,2840,3008,2468,1710,2071,2547,2784,2253,2414,3236,2735,1657,1975,2803,2106,1620,1606,1648,1764,1901,1509,1403,1511,1574,1631,1552,1348,1742,2359,2303,2012,2026,2164,1974,1696,1730,1823,1786,1837,1552,1705,2027,1845,1920,1898,1889,1930,1767,1686,1953,2356,1953,1799,2001,1956,1818,2024,2392,2732,2845,2412,1477,1395,2118,2764,2814,2466,2562,2202,2655,2564,2862,3165,3211,3123,2708,2503,2287,2713,3581,3873,3364,2413,1692,1471,1584,1895,2290,1998,1436,2491,3608,3030,1943,1787,1791,1766,1700,1637,1496,1449,1383,1531,1798,2053,2223,2258,1993,1769,2415,3049,3049,2976,2613,2397,2127,2200,2414,2375,2869,3116,3020,2933,2088,2201,2126,1967,1901,1956,2094,2032,1837,1830,2024,2207,2099,1915,1847,1620,1750,2292,2138,2755,2930,2867,3117,2678,2207,2562,2414,1874,1397,1193,1156,1154,1135,1208,1240,1108,898,981,1125,1161,1376,1448,1410,2237,2011,1827,1720,1626,1599,2479,2364,2004,2291,2008,2052,1790,1703,2018,2402,2320,1831,2121,1770,1415,1751,2222,2251,1866,1574,1590,1557,1721,1672,1743,1903,2015,1968,1975,2007,2060,1744,1382,1350,1416,1430,1595,1721,1811,2329,3066,1953,1139,1867,2020,1595,1443,1597,1864,2401,2132,2416,2931,2403,1978,1821,1644,1821,1986,1844,1917,2161,2051,1956,2400,2802,2047,2339,3146,2690,2468,2015,1946,2525,2843,2644,2337,1872,1622,2105,2453,2895,2299,2643,2895,2430,2218,2025,2257,2541,2272,1953,1958,1654,2334,1851,2148,2233,2344,2382,2385,2283,2321,2646,2683,2824,3239,3081,3306,3254,3186,3110,2887,2707,2800,2854,2745,2849,2922,2765,2839,2784,2326,2449,2874,3388,3055,2762,2836,2557,2945,3875,3551,2489,2459,2887,2730,2620,2237,2039,2347,2769,2908,2288,2041,2375,2290,1909,1732,1277,1577,2336,2231,2360,2172,2419,3266,2874,1882,2465,2510,2155,2518,2486,2653,2468,2157,2544,3414,3216,2293,2507,2724,2022,1726,1936,2062,2881,3168,2817,2469,1753,1323,1508,1906,2596,2486,1901,1917,1967,2237,2355,2278,2266,2146,2700,2498,2409,2824,3748,3851,3226,3326,3769,3698,3532,3111,3195,3726,3913,3874,3938,3939,3917,3950,3726,3458,3697,4087,3978,3983,3881,3566,3233,2928,2871,2889,2929,2851,2998,2700,1924,3229,3641,3820,3670,3103,2638,2555,2798,2613,3043,3819,3570,3545,3211,3222,3362,2771,2402,2644,2231,1676,1565,1544,1792,2089,1972,1739,1743,2124,2458,2374,1975,1974,1669,1793,2413,2562,2170,2405,3197,2768,1829,1391,1911,3250,3194,2160,2520,2730,2484,2414,2382,2258,1998,2317,2385,1956,1736,1813,1697,2122,2176,2008,1903,2200,2156,2048,2555,2817,2107,1794,1936,2171,2565,2144,2185,2356,2622,2403,2253,2425,2164,2446,2868,2374,1814,2545,2939,2903,2541,1852,1770,1840,1964,2230,2581,2836,2363,2155,2208,2123,1681,2722,3835,3157,2676,2116,2053,2715,2779,2668,2237,2073,2287,2153,1834,1767,1585,1238,1457,1737,2162,2117,1450,1453,2173,2290,2206,2236,1898,2068,2071,1644,1395,1524,1681,1912,1866,1872,1786,1852,1839,1709,2095,1889,1771,2012,2292,2292,1825,1686,1896,2099,2010,1731,2719,2755,2729,2577,2209,2591,2591,2106,2364,2732,2720,2369,1726,2082,1746,2036,2458,1862,1690,2596,2886,2414,2203,2070,2016,1824,1688,2329,2642,2449,2219,2070,2016,1936,1924,1852,2145,2785,2831,2399,2941,3105,2601,2732,2980,3312,3819,3797,3570,3558,3602,3487,3497,3305,3268,3548,3884,4171,3740,3482,3460,3199,3085,3298,3428,3367,3507,2966,2030,2047,1977,1720,2159,1907,1677,1758,1781,1897,2022,2539,3086,2878,2733,2536,2639,3113,3307,3219,2841,2537,2680,2771,2933,3114,3536,3969,3659,3531,3558,3765,3784,3388,3154,2680,2286,2204,2161,2832,3327,2555,2480,2574,2318,2233,1339,1649,2416,2024,2105,2544,2036,1824,1902,2050,2153,1870,2524,2341,1906,2210,2094,2442,2480,2032,2704,3367,3254,3742,3979,3550,2384,1892,2207,2567,2380,2764,3002,2653,2241,1688,1725,1748,2072,2429,2165,2194,2243,1973,1978,2438,3144,3617,3129,2846,1891,1636,1820,1469,1525,2441,3277,3355,2768,2430,2567,2367,1674,1577,2093,2183,2099,2057,1999,2836,3834,4848,4809,3098,1984,1963,2249,2739,3436,2974,3318,4082,3679,2683,2457,2517,2060,2247,2513,2483,2777,2880,2410,1943,1868,2685,2674,2887,2858,2299,2193,2348,2545,2460,2558,2150,1672,2060,2040,2291,2076,2074,2209,2153,2371,2680,2121,1631,1758,2094,2232,2095,2413,2593,2293,2102,2057,2030,2165,2444,2338,2546,3329,3454,2922,2199,1852,1665,1965,1888,1851,2182,2255,2288,2198,1991,2390,3311,2657,1769,2453,3890,3660,3350,3262,2752,2533,1979,1552,1410,1454,1502,1863,2038,1876,2104,2024,1708,1869,2097,2359,2278,2235,2225,2381,2342,2236,2070,2792,3107,2721,2735,2326,1946,2076,2497,2596,2091,2163,2230,2990,2908,3416,3460,2710,2813,2712,2632,2801,2569,2607,2742,2718,2541,2599,2433,2608,2788,2315,2297,2495,2856,3051,2625,2209,1795,1597,1942,1959,2217,2248,2863,2978,2833,2526,2238,2199,2214,1857,1610,1649,1742,2148,2264,2427,2641,2834,2731,2664,2746,3488,3428,2732,2978,2510,2349,2416,2994,2840,2116,2085,2601,2788,2216,1912,1968,2195,2344,2487,2766,3022,2832,2188,1246,969,1020,1409,1865,1964,2171,2217,2137,2271,2345,2288,2248,2115,2271,2411,2576,2847,2835,2578,1995,1222,1695,2432,2312,1715,1005,1911,2148,2171,2228],[2062,2070,2286,2268,2415,2603,2482,2060,1853,2127,2600,2745,2894,2258,1819,2017,2610,2696,2510,2030,1616,1659,1732,1840,1722,1342,1980,2179,1675,1807,2020,2634,2645,2511,2236,2035,2689,3034,2742,2369,2549,3125,3574,3352,3130,3166,3298,2805,2421,3054,3128,2577,2109,1887,2590,3161,2728,1986,1808,1466,1333,1381,1370,1719,2308,2830,2280,2004,1460,1610,1815,2175,2314,2420,2250,2145,2325,2501,2486,2547,2515,2075,1763,1875,2221,2392,2513,2700,3032,2966,2578,2475,2425,1812,1702,1835,2452,3617,3804,3440,3056,3082,2896,3167,3349,2520,1904,2396,2740,2364,2053,2017,2163,2392,2051,2008,2083,2160,1974,1842,2403,2834,2263,2318,2148,2276,2700,3113,2902,2297,2529,3096,2898,3300,3680,2849,2686,2916,3130,2990,2694,2569,2644,2635,2654,2513,2037,2078,2212,2396,2420,2614,2120,2583,2531,2296,2554,3200,2962,3007,2732,2397,2157,1982,2680,3176,3139,2869,2501,2202,2330,2593,2286,1905,2173,2304,1933,1981,2460,2131,2397,3055,3770,3386,3482,3701,3773,2922,2203,2362,2664,2452,1926,1780,2032,2121,2177,2768,2819,2081,2017,1995,1724,1717,1614,1766,3060,4020,3754,2882,2097,1857,1804,2013,2286,2009,2053,2424,2697,2768,2893,2686,2734,2255,2359,2127,2275,2374,2029,2163,2362,2439,2408,2031,2416,3520,3919,3850,2997,2347,2415,2221,2841,3198,3042,2437,1808,2092,2858,2798,2617,2230,1738,2027,2643,2329,1880,2287,2387,2176,2196,1959,1888,1870,2183,2070,1704,1890,2137,1840,1774,1451,1573,1880,2245,3006,3369,2708,1715,1663,1745,1893,2346,2146,1946,2223,2442,2143,1810,1828,1886,2000,2445,2346,2325,2441,2440,2823,3430,3619,3392,2589,1784,1541,2072,2481,2114,2023,2026,1602,2294,2199,2065,2282,2295,2200,2166,1983,1742,1835,1960,1958,1504,1250,1614,2469,3053,3594,3670,3842,4017,3969,3858,3585,3008,2167,1809,1984,1637,1538,1451,1579,1628,1680,1788,1732,1584,1644,1639,1665,1482,1470,1725,1742,2170,2332,2425,2269,1919,1962,2004,2101,2296,3325,3757,3581,3047,2110,1757,1646,1799,2351,2285,1544,1440,1377,1447,1566,1625,2005,2217,2388,2063,1837,2114,2475,2784,2656,2326,2309,2088,1498,1343,1624,1388,1298,1561,1801,1980,2067,1824,1767,1771,1467,1592,1464,1516,1454,1520,2684,2428,2463,2611,1974,1665,1808,1646,2032,2730,2031,1838,1973,2047,2327,2491,2395,2888,2476,1828,1965,2154,2296,2980,2554,1761,1690,1729,2358,2192,1727,1631,1488,1514,1650,1849,1702,1590,1578,2032,2399,2270,1833,1562,1614,2004,2492,2626,2370,1738,1413,913,1647,2174,1738,2534,2106,1742,1626,1389,1459,2109,2899,3541,4204,4056,3903,3466,2521,2018,2984,3920,3733,3074,2776,3055,3615,4003,4245,3563,3378,2375,2126,1807,1749,2289,2417,2172,1625,1527,1637,1826,2361,2497,2332,2291,1881,2036,1891,1245,1777,2631,2236,1860,1844,1760,2265,2807,2481,2934,3196,2763,2386,2302,2609,2873,3032,2862,2214,2094,2207,2186,2178,3055,2601,2722,2663,2185,2525,2635,2278,2191,2022,1986,2027,1898,2113,1937,2171,2643,2964,3076,2765,2259,2194,2655,2426,2408,2452,2406,2183,2342,2917,2857,2389,2557,2296,2427,3031,2889,2678,2967,3000,2742,3128,2372,2551,2733,2457,2415,2645,2635,2442,2317,2654,3486,3711,3054,2650,2519,2375,2115,1656,1736,2193,2105,2382,2417,1918,2070,2634,2330,2001,2432,2052,1620,1704,1946,1769,1718,1708,1736,1817,1772,1917,1993,2259,2024,2193,2333,1819,1522,1669,1946,1872,1711,1748,2023,2325,2206,2280,2044,2004,2210,2391,1987,2098,2183,2181,2176,2154,2105,2499,2731,2135,2048,2454,2266,2428,2836,2414,2210,2432,2315,2310,2806,2625,2245,2717,2722,2769,2622,2139,2149,1631,1501,2239,2878,2845,2667,2570,2829,2579,2459,2431,2164,2320,2584,2032,2108,2375,2400,2177,1860,2220,2164,2343,2562,2250,2148,2392,2546,2558,2350,2249,2149,1897,1911,2452,2507,2320,2389,2067,2072,2236,2231,2253,1940,1903,2251,2340,2336,2300,2125,1827,1807,2058,2220,2258,2200,2147,1901,2579,3840,3977,3889,3638,2563,1691,1762,1751,1818,1849,1782,1721,1715,1787,1770,1580,1467,1613,1692,1835,2055,2194,2663,2524,2047,2046,2204,2521,2696,2104,2105,2818,2064,1543,2288,2643,1832,1665,1611,1483,1652,1918,2054,1995,1773,1628,1527,1439,1347,1779,2319,2321,2354,2588,2391,1815,1686,1709,1902,2219,2050,1812,1686,1630,1899,2034,1804,1683,1795,1888,1824,2050,2119,1693,1669,1892,1893,1907,2014,2414,2546,2145,1556,1637,2285,2860,2983,2115,1621,2377,2597,2930,2762,2657,2975,3199,3054,3019,2714,2039,2070,1849,1713,1444,1385,1513,1872,2252,2673,3012,2620,1637,1754,3052,3554,2293,1800,1786,1703,1441,1385,1505,1670,1896,2204,2296,2302,2305,2278,2254,2623,2931,3098,2848,2469,2246,2421,2858,3383,3035,2309,2464,2393,2701,2944,2102,1937,1953,2123,1979,1971,2073,1960,1824,1872,1854,1711,1761,1928,2030,1980,2632,2712,1940,2338,2596,1732,1417,1607,1770,2304,2315,2013,1347,1312,1219,1172,1142,1175,1429,1437,1097,988,964,1016,1271,1542,1764,2452,2147,1701,1503,1438,1429,1857,2280,3110,3242,2104,1986,1353,1786,2036,2088,2090,2009,2042,2141,1878,1924,2454,2294,2042,1701,1705,1632,1368,1384,1722,1815,1994,1925,1759,1793,1971,1941,1788,1392,1510,1541,1659,1779,1727,1779,1986,1410,1046,1350,1704,1699,1381,1448,2187,2658,2048,2121,2605,2062,1747,1751,1507,1848,2004,1663,1900,2235,1958,1843,1849,2208,2032,2017,2470,2722,2215,1593,1689,1769,2009,2490,2424,2060,2270,2723,2707,2780,2670,2834,2653,2434,2512,2640,2484,2522,2426,2223,2194,2332,2439,1997,1993,2332,2978,3151,2648,2661,2909,2583,2645,3203,2766,2574,2701,2863,2917,2475,2543,2990,3203,3238,3085,3109,3156,2845,2791,2542,2309,2385,2925,3451,3100,2758,2976,3084,3212,2923,2895,2789,2447,2368,2653,2698,2316,2235,2311,2448,2338,1955,2254,2391,2354,2279,1676,1229,1649,2466,2336,1839,2162,2756,2734,2177,2180,2635,1870,1979,2675,2542,2766,2112,1630,2098,2980,2753,2160,2204,2173,1691,2020,2032,2981,3020,2986,3086,2492,1742,1698,1963,2020,2266,2032,1876,1866,2075,2433,2129,1998,1992,1970,2274,2475,2421,2517,3240,4057,3661,3526,3720,3688,3381,3231,2917,3230,3733,3860,3920,4027,4133,3952,3706,3659,3749,3982,4120,4172,4096,3834,3542,3141,2938,2972,3009,2991,2975,3077,2006,2611,3896,4428,3871,3164,2708,2689,3074,2996,3203,3773,3484,3664,3258,3124,2974,2576,2555,2861,2396,1722,1591,1564,1613,1791,2010,1873,1636,1718,1858,1808,1891,2007,1923,2086,2230,2380,2095,1672,2088,2014,1785,1917,1856,2578,3334,2614,2032,2052,2066,2144,2114,2256,2088,2131,2009,1748,1873,2150,1979,1905,2009,1991,1843,1859,1815,1942,2935,3186,2120,2042,2238,2542,2471,2126,2219,2255,1995,1922,1900,1998,2025,2780,2907,2200,2107,2061,2299,2622,2209,1855,1818,2030,1775,1779,2394,2599,2144,1999,1925,1692,1985,2968,3241,2822,2209,1995,2473,3002,2563,2355,2017,2046,1940,1863,1699,1803,1553,1072,1165,1239,1504,1455,1655,2136,2072,1910,2223,2521,2224,2026,1998,1655,1531,1708,1515,1472,1851,2342,2532,2195,1936,2135,2162,1919,1998,2100,2144,2124,1650,1472,1782,1992,1715,2171,2753,2554,2259,2731,2500,2356,2392,2172,2592,2812,2637,2437,2002,1828,1296,1720,2396,2228,2335,2537,2551,2542,2424,2213,2056,2156,2031,2185,2094,2365,2331,2382,2159,2304,2077,1676,1725,2164,2331,2667,3564,2812,2609,2678,2531,2980,3506,3365,2887,3161,3557,3669,3940,3671,3657,3558,4056,4276,3994,3896,3397,2498,2623,3427,3486,3183,3315,3117,2109,1940,1802,1410,1886,1932,1594,1644,1683,1819,2072,2600,2968,3007,2795,2644,3098,3101,3515,3836,3234,2737,2695,3068,3049,3186,3484,3630,3641,3470,3272,3462,3422,3241,2978,2491,2415,2272,2446,2934,3116,2416,2161,1700,1738,1908,1527,1814,2380,2231,2121,2389,1965,1666,1814,1932,1913,1759,2359,2366,2149,2375,2510,2496,2363,2325,2685,3222,3129,3182,3416,3132,2452,2635,2787,2567,2986,3937,4544,4017,3039,1990,1722,2020,2160,1913,1985,2168,2012,2050,2511,2927,3616,3748,3285,3173,1973,1278,1594,1483,1247,2011,2878,2644,2153,1896,2262,2547,2320,1759,1699,2128,2337,2176,2221,2456,3287,4635,3992,2300,2092,2159,2363,3023,3720,3467,3658,3785,3172,2309,2453,2900,2318,2678,2717,2293,2701,2706,1882,1802,2160,2778,2786,2699,2478,2306,2563,2913,2582,2573,2576,2314,1926,1852,2009,2050,2071,2385,2284,2050,2239,2686,2029,1583,1662,1796,2004,1996,2066,2097,2030,2031,2171,2208,2311,2130,1952,2199,2423,2996,2727,2077,2265,2290,2289,2186,2120,2919,3414,3339,3009,1995,1947,2330,1960,1788,3086,3689,3204,3550,3313,2502,1986,1598,1433,1354,1405,1547,1614,1723,1869,2119,1826,1644,1724,1909,2252,2266,2400,2377,1961,2030,1961,2062,2409,2548,2658,2674,2408,2061,1734,2420,2173,2006,3044,2689,2721,2978,2933,2468,2130,2329,2459,2513,2623,2578,2862,2601,2459,2662,2335,2203,2548,2728,2578,2540,2686,2722,2631,2740,2667,2339,1994,1795,1863,2065,2467,2687,2944,3316,2475,1917,2166,2193,2051,1942,1941,2172,2358,2377,2626,2963,2938,2798,2347,2471,2912,2819,2190,2624,2641,2610,2986,3350,2622,2083,1977,2177,2189,2114,2053,2264,1716,1852,2836,3714,3536,3428,1942,833,1162,1319,1813,2085,1952,1921,1940,1880,2066,2343,2071,2156,2128,2390,2610,2543,2776,2652,2211,1984,1555,1732,2477,2227,1658,1058,1804,2268,2118,2172],[2196,2059,2208,2340,2436,2523,2444,2267,2277,2127,2557,2801,2985,2508,2096,2755,3094,2689,2636,1980,1814,1951,2314,2376,2029,1816,1970,2115,2085,2118,2434,2626,2248,1991,1837,1659,2452,2877,2714,2254,2503,3105,3322,3175,3041,2690,2956,2852,2690,2933,3027,2578,2605,2178,2278,2852,2677,1851,1697,1546,1300,1484,1361,1729,2981,3912,2768,2090,1969,2360,2182,2127,2306,2321,1991,1862,1908,1930,1887,1892,2300,2155,2048,1870,1891,2241,2266,2120,2258,2460,2602,2371,2395,2001,1813,1654,2364,3138,3406,2938,2811,2753,2255,2226,2177,2099,2171,2274,2258,2121,2210,2180,2360,2166,2303,2260,1902,2071,1967,1880,2245,2431,2191,2038,2208,2346,2631,2933,2934,2830,3116,2767,2836,3012,2850,2567,2488,2662,2683,2920,2650,2597,2465,2176,2350,2165,2072,2189,2588,3643,3090,2525,2668,2940,2727,2496,3044,3171,2402,2225,2701,2656,1862,2033,3002,3452,2927,2535,2354,2453,2219,1900,1730,1933,3185,4002,3166,1931,1858,1954,2162,2746,2759,3034,3354,3604,3639,2873,2285,2439,2523,2355,1899,2100,2387,2297,2080,2518,2583,2042,2081,1978,1918,1862,1863,1880,2701,3685,3265,2521,2004,1788,1949,2125,1986,1905,2017,2149,2637,2601,2784,2994,2980,2188,2412,2484,2451,2002,1936,2095,2133,2399,2835,2519,2624,2996,3098,3134,2409,2381,2459,2335,2469,2821,2911,2218,2036,2303,2463,2788,2915,2321,2057,2028,2249,2066,2050,2703,2332,2030,2141,2249,2084,2142,2603,2397,2174,2155,2046,2008,2010,1848,1853,2027,2247,2996,3454,2470,1954,1850,1737,2162,2599,2326,2427,2943,2854,2598,2330,2209,1982,2023,2314,2492,2438,2331,2446,3198,3682,3544,3611,3375,2261,1768,2000,2054,1931,2284,2313,1731,1837,2115,2225,2140,1858,2071,2208,1743,1368,1271,1448,1818,2033,1936,1948,2668,3146,3303,3651,4028,4411,4605,4251,3769,3342,2600,2765,2326,1771,1692,1716,1767,1737,1698,1764,1630,1427,1558,1605,1870,1605,1755,1648,1733,1818,1800,2319,2091,1776,1865,1871,1808,2030,2939,3558,3559,3215,2662,2335,1986,1582,1898,2003,1873,1701,1455,1372,1433,1594,1858,2148,2459,1875,1394,1792,2159,2380,2158,1919,2366,2244,1649,1471,1722,1796,1537,1722,2161,2056,1841,1901,1972,1822,2046,2149,1887,1832,1726,1865,2061,1953,1907,1709,1657,1560,1537,1567,2243,2969,2021,1931,2063,2126,2520,2353,2400,2644,1968,1655,1789,1937,1873,2113,1842,1883,1786,1666,1916,1808,1551,1505,1474,1588,1742,2387,1847,1585,1566,1587,1837,1842,1519,1649,1883,1824,1692,1997,2259,1854,1556,1172,1814,2064,1781,1649,1689,1757,1630,1876,2239,2275,2996,3776,3784,3596,3869,3546,2524,2342,2953,3264,3376,3113,2103,2128,2379,2506,2567,2157,2532,2219,1829,1745,1867,2159,2424,1766,1108,1635,1709,1488,1519,1786,2119,2503,2243,2082,1838,1603,2233,2358,2221,2005,2096,2058,2584,2728,2039,2153,3066,3010,2644,2689,2412,2179,2674,3072,2751,2364,2379,2465,2962,3374,2912,2272,2420,2399,1916,1898,2059,1981,1887,2061,2095,2649,2745,2544,2898,3029,2827,2298,2057,2157,2389,3000,2634,3200,3210,2468,2308,2733,2916,2653,2008,1959,2309,2797,3140,2723,2338,2648,2578,1984,2553,2715,2973,3071,2829,2800,2697,2353,2234,2337,2889,3422,3425,2907,2413,2697,2385,2003,1736,1800,1969,2392,2756,2348,2028,2010,1882,1641,1822,2182,1745,1486,1611,1508,1394,1598,1940,2137,1994,1737,2273,2059,1794,1894,1938,1905,1967,1881,1946,2531,2574,1814,1838,2259,2725,2713,2098,1852,2192,2338,1932,1701,1835,1901,1876,2228,2113,1993,2590,2612,2322,2208,2326,2222,2082,2341,2177,1922,2055,1957,2058,2535,2814,2268,2149,2166,2247,2094,2129,2127,2032,2106,2347,2409,2065,2509,2909,3013,3492,2928,2322,1952,2164,2031,1821,2254,2267,2320,2469,2155,2679,2470,2619,2273,1746,2018,2542,2747,2646,2246,2128,1979,1652,2057,2550,2277,1988,1815,1806,1656,1603,1869,2204,2062,2093,2523,2448,2273,2368,2294,1854,1558,1814,1981,1800,1705,1827,1878,2341,3664,3749,3417,3250,2573,1801,1719,1700,1758,1666,1504,1609,1579,1739,1986,1584,1526,1655,1827,1829,1885,1951,2140,2072,1896,2074,2552,2808,2213,2015,2160,2552,1837,1613,2452,2326,1738,1646,1527,1477,1660,1931,2360,2288,2006,1998,1872,1650,1587,1737,2050,2532,2798,2710,2094,1738,1820,1857,1847,2014,2080,1940,1731,1597,1509,1505,1583,1597,1671,1910,1720,1827,1858,1771,1676,1538,1658,2171,2437,2438,2065,1608,1817,2315,2818,2862,2314,1490,1532,2432,2821,3187,3029,2555,2714,2820,2786,2731,2339,2172,2037,1778,1561,1711,2183,2635,2964,3167,3408,3740,3588,2390,1566,2452,3676,2790,1919,1859,1499,1409,1699,1950,2198,2429,2509,2239,2130,2266,2604,3064,3151,2771,2232,1928,2235,2827,3296,3405,3085,2435,1954,1845,2008,2253,2836,2213,1680,2037,1987,1714,1935,1879,1475,1282,1421,1687,1946,2037,1920,1851,1764,1618,1523,1609,2000,1992,1276,1158,1230,1606,1947,2069,1935,1510,1365,1331,1249,1187,1156,1306,1601,1435,1092,968,871,997,1306,1522,1679,1689,1966,1604,1396,1647,1397,1807,2662,2442,1958,1460,1332,1743,1921,1957,1949,1803,2270,2624,1954,1963,2286,2398,2303,1814,1882,1905,1322,1600,1762,1641,1760,1556,1120,1317,1764,2315,1976,1539,1450,1488,1522,1845,1590,1360,1697,1627,1440,1685,1621,1414,2041,1682,2011,2043,1529,1481,1299,1300,1760,1654,1595,1556,1384,1258,1707,1931,1913,1690,1759,1981,1939,1737,2036,2494,1886,1412,1802,1467,2120,2426,2176,2211,2498,2749,2605,2480,2394,2444,2677,2409,2149,2398,2293,2485,2320,2298,2213,2297,2114,1785,1864,2090,2831,3659,3124,2511,2392,1707,2241,3086,2521,2534,2897,3082,2744,2332,2588,3236,3262,3450,3632,3570,3462,3172,2954,2862,2846,2817,3041,3354,3332,3059,3049,2907,2674,2451,3499,3430,2774,3119,3354,3096,2699,2313,2201,2317,2177,2333,2317,2481,2474,1971,1945,2273,2456,2561,2416,2367,2496,2974,2497,2339,2576,2186,1726,2108,2310,2493,2872,2691,2569,2418,2479,2396,2502,2308,1855,1707,2438,2577,2943,2861,3032,3043,2545,2213,1938,2065,1996,2086,1851,2017,2553,2289,2121,1860,1887,1950,2113,2374,2393,2444,2544,3274,3918,3274,2720,3006,3470,3304,3338,3365,3304,3334,3642,4095,4308,4556,4377,4057,3985,3835,4100,4284,4261,4155,4070,3915,3472,3016,2975,3039,3068,2954,3182,2817,2318,3398,4517,4083,3577,3074,3009,3218,3178,3448,3691,3341,3153,2921,2722,2713,2767,2684,2947,3018,2490,1868,1469,1527,1577,1959,1832,1515,1477,1505,1556,1992,2149,1736,1949,1767,1583,1592,1797,1661,1914,1827,1968,1957,2203,3059,2894,2113,1724,1678,1891,1992,2142,2084,1732,1623,1655,2058,2136,2010,2039,1853,1698,1689,2106,2205,2267,2336,2129,1983,2218,2476,2792,2637,2348,2239,2132,2233,2148,1747,1503,2198,2323,2104,1915,1990,1928,1919,1837,1959,1981,1817,2269,1810,2080,2333,2098,2042,2010,1703,1264,1648,2354,2608,2407,1924,1666,1920,2113,1951,1821,1942,1797,2278,2832,2507,2521,2266,1445,1226,1216,1826,2233,2763,3054,2243,2124,2254,2338,2196,2140,2194,2084,1807,2151,2032,1759,1949,2608,3321,3056,2517,2287,2156,2215,2242,2041,1891,1844,1641,1597,1905,1886,1636,1931,2671,2535,2180,2562,2690,2109,1885,1964,2590,3096,3050,2229,2028,2398,2036,1893,1851,2173,2990,2754,2784,2611,2523,2128,2048,2657,2715,2319,2139,2053,2218,2349,2398,2787,2168,1620,1615,1726,2197,2519,2843,2478,2595,2627,2289,2149,2497,2514,2293,3082,3606,3104,3167,3537,3908,3970,4152,4241,3812,3165,2631,2411,2828,3305,3443,3063,3159,3461,2443,1756,1605,1437,1633,1775,1570,1725,1659,1898,2149,2865,2944,2933,2977,2929,3254,3266,3417,3824,3758,3494,3116,3612,3306,3374,3576,3474,3774,3187,2266,2516,2887,2677,2480,2381,2574,2209,2197,2279,2457,2225,2365,2334,2149,2169,2007,1946,2114,2718,2125,2003,2787,2860,2020,1367,1694,2129,2355,2210,2041,2141,2246,2077,1872,2054,2117,2891,3454,3482,3960,3471,2984,3427,2652,2302,3026,4573,4993,4329,2931,2119,1637,1810,1937,1864,1820,1810,1593,2106,2821,2705,2435,3231,3425,3562,2544,1232,1151,1525,1814,2426,2466,2179,1952,2041,2778,2620,2341,1808,1936,2730,2658,2091,2023,2008,2521,2886,2492,2261,2584,2544,2499,3001,3608,3804,4042,3684,2894,2645,2512,2818,2285,2126,2249,2363,2907,2863,2107,2092,2333,2415,2264,1981,2380,2858,3052,3386,2663,2191,2149,2421,2148,1693,2059,2448,2500,2630,2406,1958,2029,2082,1734,1482,1570,1874,1888,1915,2020,2080,2385,2371,2250,2097,1692,1805,2116,2331,2324,2323,2562,2426,2423,2424,2344,2249,2308,3718,3899,3651,3641,2579,1946,2054,2062,1616,2037,2469,2270,2513,2303,1682,1482,1526,1462,1299,1559,1610,1419,1525,1890,1841,1655,1986,2343,2214,2387,2302,2743,3066,2375,2078,1859,2042,1914,1773,2354,2525,1893,1776,1884,2661,2050,2407,3854,3848,3269,2599,1756,1761,1794,2056,2092,2226,2536,2518,2878,2639,2567,2574,2298,2619,2851,2899,2759,2452,2767,3104,2839,2768,2464,2478,2203,1901,1989,1941,2366,2667,3072,3264,2384,1941,2130,2159,1972,2078,2282,2380,2369,2265,2623,3047,3143,2663,2041,2787,2667,2293,2383,2461,1947,1748,2502,2689,2402,2238,1992,2340,2312,2564,2379,2294,2126,2178,2548,3024,3320,3109,1532,918,1311,1728,2257,2072,1930,1926,2019,1912,2013,2279,2259,2552,2358,1733,2158,2640,2692,2532,2654,2393,2048,2287,2602,2148,1687,1463,1871,1793,1198,1213],[1962,2028,2204,2402,2712,2859,2444,2447,2363,2196,2858,3174,3227,2862,2602,3152,3159,2440,2678,2020,1832,2141,2524,2585,2319,2424,2095,1989,2302,2403,2830,2919,1988,1785,1690,1830,2514,2541,2458,2141,2205,2779,2944,3034,3169,2533,2604,2857,3154,3148,3247,2813,2662,2503,2148,2190,2156,1587,1688,1767,1752,1739,1589,2245,2751,3250,2952,2436,2600,2565,2194,2172,2156,1959,1958,1928,1749,1982,2038,2422,2573,2212,1930,1439,1539,2012,2031,2116,2276,2234,2532,2379,2725,2387,2060,1740,1979,2750,3060,2867,2955,2543,1793,1547,1628,1917,2115,2231,2107,2050,1952,2324,2386,1905,1976,2146,2275,2220,1963,2336,2364,2185,2544,2583,2777,2510,2201,2508,2872,3818,3918,2408,2518,2722,2917,2764,2652,2659,2488,2687,2855,3105,3046,2858,2475,1995,2120,2065,1791,2796,3166,2744,2734,2928,2767,2884,3131,2608,2259,2170,2483,2188,1837,2140,3100,3480,3134,2843,2699,2278,1942,1847,1599,1707,2762,3195,2306,1740,1702,2392,2114,2036,2354,2670,2916,3015,3011,3220,2577,1923,2053,2009,1865,2331,2310,2094,2196,2700,2408,2126,2710,2366,2072,1723,1904,1960,1813,2862,2950,2382,1952,1927,2176,2006,1897,1975,1970,1834,2449,2382,2621,2921,2530,1960,2109,2843,2619,1934,1998,2154,2302,2089,2215,2254,2437,2910,3151,3040,2768,2810,2796,2825,2894,3033,2519,1923,2024,2181,2452,2854,3050,2894,2778,2677,2514,2093,2288,2630,1908,1998,2268,2500,1884,1990,2340,2308,2369,2377,2278,2161,2097,1843,1738,2108,2522,2701,2713,2317,2080,1875,1894,2303,2810,2784,2476,2466,2499,2836,2873,2853,2122,1857,2244,2424,2360,2503,3034,3594,3694,3482,3610,3262,2490,2812,2602,1801,1854,2321,2315,1980,2141,2429,2527,2308,1819,2017,1918,1666,1720,1475,1247,1410,1780,1578,1706,2496,2358,2488,3563,3835,4280,4696,4532,3938,3406,3088,3072,2629,2561,2503,2018,1935,1866,2104,2227,1675,1606,1601,1626,1702,1796,1846,1788,1852,1668,1956,2591,1997,1920,2257,2126,2090,2193,2669,3326,3686,3588,2898,2094,1895,1738,1723,1520,1650,1415,1399,1555,1691,1794,2190,2563,2595,1686,1548,1707,1802,1838,1497,1932,2274,2068,1814,1616,1681,1729,1465,1491,1676,1760,1601,1668,1691,1532,2001,2600,2105,1517,1604,1847,1807,1550,1451,1757,2207,1929,1859,1610,2391,2842,2001,1750,2048,2120,2252,2420,2669,2494,1831,1621,1652,1694,2095,2079,1755,1643,1456,1316,1537,1688,1672,1990,2471,2284,2183,2620,1836,1737,1778,1814,2388,2250,1678,2024,2042,2128,2086,1968,2133,2207,2302,2078,2174,2114,1544,1462,1844,2036,1927,2455,3128,2777,3422,3838,3774,2975,3249,3746,3305,2842,2830,2525,2269,2626,1932,2124,2165,2141,2080,1707,1798,1830,1857,1905,1953,2201,2119,1238,1376,1860,1812,1184,926,1216,1314,1328,1555,1746,1669,1578,1464,1476,1820,1757,1891,1725,2265,2807,2525,2416,2685,2507,2955,3197,2533,2190,2490,3017,3331,2958,3028,3144,3196,2906,2495,2415,2834,2856,2291,2446,2563,2325,2420,2546,2707,3320,3360,3359,3526,2962,2379,2464,2350,2106,2674,3341,3022,2999,2908,2535,2808,3087,3035,2545,1626,1745,2541,2625,2441,2127,1480,2110,2421,2020,2190,2336,2269,2579,2964,2776,2564,2966,2858,2658,2995,3090,2929,2896,2770,2684,2189,1946,2210,2096,2039,2967,3410,2322,2125,1926,1585,1686,2095,2272,2163,2144,1697,1257,1048,1505,2153,2131,1989,1743,2061,1994,1742,1836,1931,1968,2193,2397,2140,2347,2120,2223,2065,1976,2083,2236,1882,1842,2000,1806,1843,1992,2261,2392,1980,2432,2488,2558,2820,2670,2316,2472,2373,1989,2086,2186,1832,1760,1808,1713,1778,2233,2500,2141,2051,2162,2282,2339,2325,2290,2239,2627,2430,2122,2249,2317,2500,3316,3904,3125,2125,1836,1983,1980,2239,2436,2776,2945,2777,2266,2444,2309,2061,1599,1454,2114,2596,2410,2232,1908,1682,1538,1448,1664,1917,2103,2256,2163,2073,2009,2127,2288,2200,1952,1918,2066,1969,2026,2151,2046,1861,1698,1902,1964,1719,1499,1675,2143,2332,3685,3724,3278,3287,2830,1785,1541,1686,1731,1526,1329,1686,1671,1619,2154,1820,1660,1764,1792,1825,2076,2187,2016,1857,1838,2005,2298,2496,2144,2476,2900,2387,1850,2028,2405,2019,1632,1648,1541,1486,1708,1868,2068,1970,1916,2172,2223,2082,1872,1705,2199,2997,2943,2476,1733,1787,2028,1815,1525,1597,1882,1792,1620,1648,1542,1385,1339,1576,1799,1892,1655,1827,2025,1922,1547,1076,1274,1960,2517,2347,1645,1770,2396,2977,2845,2078,1469,1151,1346,1769,2226,2872,2953,2517,2477,2210,2428,2864,2842,2631,2188,1904,1704,2076,2734,3229,3515,3770,3986,3981,3625,2598,1480,1628,3050,2833,1927,1771,1823,2015,2157,2386,2479,2456,2426,2400,2680,2966,2977,2730,2186,1969,2235,2994,3699,3730,3494,3248,2931,2630,2647,2353,2065,2119,2550,2221,1721,1879,1790,1541,1554,1435,1273,1456,1650,1986,1979,1562,1418,1480,1621,1874,2123,2831,3163,2250,1280,1215,1270,1582,1839,1952,1950,1603,1412,1523,1425,1205,1193,1217,1260,1203,1124,1072,889,888,999,1223,1410,1955,2226,1766,1788,1806,1283,1371,2041,2189,1979,1389,1364,1663,1722,2025,2125,2125,3038,2546,1786,1919,1560,1462,1834,1991,2215,2337,2100,1782,1353,1355,1633,1521,1112,1191,1422,1794,1730,1621,1555,1515,1664,1538,944,1316,1884,1661,1712,1890,1649,1597,1995,1802,1948,1944,1591,1579,1500,1626,2276,1831,1296,867,1383,1593,1794,2500,2059,1722,1848,1850,1952,1813,1978,2689,2142,1728,2303,2277,2464,2281,2211,2104,2116,2269,2263,2213,2178,2409,2731,1733,1716,2121,1928,1936,2076,2189,2141,2190,1956,1463,1792,1938,2379,2721,2542,2253,2010,2122,2756,2886,2434,2285,2674,2980,2558,2399,2830,3352,3100,3292,3360,3083,3206,3046,2801,2875,2912,3033,3109,3087,3270,3219,3239,2790,2558,2749,3360,2866,2802,3482,3476,2841,2254,2346,2793,2198,2271,2918,2440,2203,2048,1471,1769,2414,2697,2708,2683,2658,2332,2622,2260,2022,1766,1852,1951,2148,2388,2901,3326,3135,2642,1960,2468,2476,2780,2610,1879,2218,2531,2415,2546,3121,3693,3163,2485,2452,1782,1713,1998,2330,2166,2454,3020,2728,2348,2598,2304,2027,2536,2621,2754,2864,2921,3369,3106,2786,2670,2568,2835,3320,3334,3458,3670,3741,3589,4145,4516,4604,4424,4132,4052,4052,4221,4393,4309,4276,4199,4046,3781,3207,2973,3001,3143,3195,3167,3471,2746,2726,4116,4040,3551,3208,3198,3398,3308,3486,3665,3425,2966,3245,3496,3081,2778,2523,2972,3785,3250,2106,1490,1412,1474,1646,1645,1550,1455,1478,1491,1744,1888,1533,1755,1638,1626,2514,2718,2065,2050,2042,1974,2057,1834,1862,2116,2067,1626,2038,2667,2303,2027,1937,2286,2122,2132,2687,2490,2341,2223,1775,1626,1917,2547,2271,2337,2153,2203,2429,2320,2617,2879,2809,2446,2166,2105,2188,1981,1559,2019,2791,2508,2132,2076,2041,1926,1547,1732,1893,1872,1981,2180,2013,2071,1778,1947,1875,1567,1209,870,1539,2484,3144,3365,3072,2056,1656,1820,2151,2264,2207,1809,2216,2437,2623,2564,2692,2116,1771,1793,2438,2369,2625,2884,2464,2154,2020,1764,2075,2943,3116,2082,1815,2260,2547,2244,2423,3254,3375,2288,1851,2311,2194,2324,2141,2386,2085,1928,1678,1965,2070,1815,1669,1820,2411,2586,2388,2589,2623,1858,1966,1825,2279,2807,3007,2395,2273,2570,2234,1636,1503,1881,2876,2969,2849,2574,2626,2286,2176,2837,2935,2618,2600,2429,2354,2172,2244,2558,2197,1843,1772,1954,2398,2373,2619,2843,2528,2292,1706,1693,1953,2085,2532,2874,2810,2390,2412,2886,3282,3428,3753,4034,3738,2744,2531,2806,2467,2725,3086,3226,3108,2719,2216,1842,1781,1796,1598,1756,1892,1844,1708,2057,2297,2884,2976,2950,2780,2602,3149,3682,3866,3933,4081,4156,3816,3604,3393,3233,3522,3839,3760,3028,2199,2230,2148,1791,1843,2399,2750,2994,3155,2707,2588,2496,2868,3010,2489,2166,1971,2430,3188,3754,2451,2041,2387,2918,1961,1384,1919,2056,2047,1956,1704,1599,1497,1914,2702,2530,2121,3088,4090,4140,4167,3893,3409,3288,2370,2364,2294,3204,3683,3549,2917,2070,1802,1937,2177,2424,2215,1830,1825,2754,3340,3039,2447,2963,2813,2706,2600,2214,1610,2032,2776,2761,2466,2422,1907,2410,3221,2735,2313,2287,2141,2556,2614,2270,2292,2217,2068,1776,2263,2311,2159,2335,2944,3311,3303,3929,4085,3190,3087,2645,2215,2409,2225,2298,2238,2050,2417,2286,2076,2430,2380,1778,1781,2060,2962,2902,2520,2640,2392,1870,2053,2437,2302,2068,2408,2544,2181,2318,2258,1895,2090,2273,1850,1588,1726,1940,1787,1916,2291,2155,2266,2304,2426,2263,1838,1833,2158,2541,2793,2809,2489,2348,2779,2745,2424,2618,2805,3231,3348,3300,2930,2200,1954,1976,1963,1912,1758,2027,1643,1684,1558,1474,1552,1610,1586,1537,1594,1504,1312,1443,1622,1626,1717,1911,2350,2707,2587,2548,3286,3749,3452,2814,2429,2464,1829,1802,2260,2282,2084,2024,2212,2758,2706,2977,3818,3931,3625,2658,1843,2076,1887,1780,1775,2396,2509,2366,2648,2886,2974,2774,2619,2706,2864,3031,2498,2746,2534,2718,3274,3310,2910,2404,2121,2343,2338,2185,2435,2214,2656,3000,2536,2424,2729,2956,2508,2303,2271,2408,2667,2596,2798,2736,2519,2367,2340,2621,2467,2326,2321,2248,1791,1503,1997,2666,2986,2818,2492,2292,2554,2731,2401,2178,2142,2353,2570,2446,2461,2137,906,969,1287,1909,2066,2003,1951,1964,2198,2113,1999,2135,2434,2701,2535,1635,1590,1884,2238,2264,2373,2249,2458,2714,2274,1820,2182,2395,2238,2025,1666,1310],[2056,2045,2148,2267,2608,3083,2688,2454,2664,2823,2768,2802,2891,2743,2585,3250,3372,2424,2388,1816,1659,2210,2439,2365,2322,2476,2188,1637,1983,2734,2951,3057,2001,1809,1789,2094,2440,2403,2238,1898,1812,2680,3216,3195,2667,2300,2710,3169,2967,2912,2825,2404,2362,2514,2146,1919,1968,1677,1752,1900,2237,2014,1885,2554,2652,2768,2703,2380,2395,2218,2216,2509,2362,1710,1760,1769,2240,2417,2332,2317,2069,1797,1593,1491,1723,2205,3031,2228,2035,2257,2407,2354,2575,2687,2498,2098,1930,2231,2204,2137,2443,2420,1976,1614,1631,1874,1932,2156,2390,2137,1835,2297,2198,1713,1170,1868,2591,2066,2068,2825,2950,2639,2549,2657,2731,2532,2418,2117,2387,2616,2444,2354,2304,2087,2257,2386,2519,2570,2695,2855,3073,3305,3443,2820,2039,1890,2004,2035,1721,1829,2430,2517,2755,3218,3096,2964,2828,2416,2081,1968,2004,2179,2604,2908,3428,3453,3094,2949,2554,2347,2585,2410,1929,1623,1975,2018,1779,1565,1613,1924,1862,2170,2835,3059,3142,2302,1921,2566,2314,1741,1647,2162,2309,2517,2798,2647,2615,2665,2352,2109,2510,2131,1953,1733,1861,2243,2175,2780,3174,2881,2510,2293,2228,2178,2106,2451,2425,2147,2597,2507,2485,2373,2347,2026,1939,2797,2548,2567,2280,2351,2420,2198,2135,2082,2245,2755,3205,3273,3320,3273,3083,3141,2944,2740,1934,1798,1925,2293,2863,2950,3007,3087,3088,2835,2032,1918,2667,2427,1880,2428,2487,2168,1584,1776,2126,2360,2889,3064,2699,2325,1954,1722,1517,2313,2656,2520,2827,2856,2605,2212,1779,1990,2382,2579,2534,2465,2669,3035,3113,2836,2216,2071,1909,2067,2361,2599,3142,3219,2917,3218,3043,2511,2361,2511,2093,1775,1764,1947,2084,2056,2132,2493,2654,2428,2026,2126,1759,1714,1814,1672,1350,1516,1882,1231,1515,2432,2282,2868,3418,2788,3487,4343,4500,3934,3168,3046,3074,2998,3108,2775,2458,2169,2080,2404,2248,1759,1981,1854,1555,1550,1526,1669,1791,1873,1947,2354,2402,1848,1967,2215,2194,2193,2199,2397,2900,3360,3414,2841,2381,2554,2245,1819,1528,1533,1570,1717,1777,1669,2208,2530,2161,2113,1771,1601,1717,2074,2076,1698,2047,2155,2121,2004,1783,1609,1507,1350,1339,1537,1716,1826,1726,1595,1508,1751,1955,1600,1332,1345,1576,1555,1603,1660,1998,2024,2115,2195,1898,2296,2518,1901,1653,1911,1968,1703,1863,2143,2172,1864,1581,1517,1767,2321,2316,1707,1291,1376,1561,1593,1648,1770,1938,1964,1729,1969,2277,1960,1765,1603,1750,2485,2542,1835,2339,2160,2830,2083,2055,2201,2217,2713,2533,2416,2587,2165,2049,1794,1989,1643,1977,2019,2053,3079,3447,3459,3046,2843,3239,2686,2314,2398,2291,1806,1982,2186,2536,2380,2393,2445,2016,1564,1721,2093,2123,1962,2013,1878,1295,1582,1918,1875,1185,1369,2002,1394,1301,2193,2197,2156,1587,1258,1497,1758,1869,2045,1790,1851,2733,2770,2569,2565,2508,2912,2991,2683,2707,2978,3351,3530,3241,3238,3398,3161,2679,2562,2703,2897,2736,2135,2482,2561,2627,2758,3012,3484,3640,3623,3693,3625,3196,2668,2308,2382,1950,2756,3100,2783,2757,2768,2684,2817,3137,3374,2786,1576,2187,2789,2323,2309,2055,1588,2334,2575,2046,1519,1535,1917,2231,2128,2159,2751,3604,3698,3472,3108,3258,3106,2842,3021,3221,3042,2796,2966,2885,2875,3097,3370,2820,2647,2379,2198,2322,2772,2772,2467,2840,2627,1996,1597,1624,2108,2335,2452,2287,2198,2015,1857,2232,2199,1972,2413,2978,2491,3084,2965,2884,2758,2410,2142,2268,2221,1849,1803,1943,2188,2074,2349,2332,2012,2299,2464,2741,3073,2658,2208,2490,2612,2204,2317,2556,2212,1907,1783,1971,1605,1863,2084,1990,2132,2120,2222,2476,2556,2513,2427,2614,2210,2314,2104,1843,2661,3808,3956,3226,2665,2370,2427,2698,2564,2701,3078,2951,2668,2523,2164,2201,2270,2133,2428,2454,2295,2177,1889,1782,2217,1967,1837,2145,2120,2453,2854,2810,2744,2811,2820,2697,2402,2017,1724,1720,1736,1725,1787,1867,1882,1856,1784,1959,2048,1883,1891,2355,2453,3722,3773,3093,3084,2540,1669,1693,1907,1797,1584,1410,1699,1723,1671,2355,2215,2022,2003,1893,1966,2275,2307,1785,1622,1868,1875,1703,1758,2088,2766,2851,2222,1880,2224,2431,1787,1731,1862,1572,1602,1711,1568,1569,1799,1915,1868,1945,2041,1945,1945,2586,2995,2852,2131,1725,1861,1701,1372,1305,1681,1918,1624,1583,1574,1588,1538,1307,1184,1423,1656,1813,2034,2110,1670,1099,1085,1126,1279,1638,1534,1777,2448,3034,3146,2245,1575,1349,1227,1278,1591,1997,2376,2884,2517,2153,1931,1865,2536,2885,2415,2084,1990,1799,1999,3035,3848,3985,3893,3483,2850,2223,1747,1708,2126,3131,3030,2026,1743,1931,1977,1910,2018,2147,2288,2648,2986,3019,2656,2229,1976,2129,2680,3173,3361,3452,3385,3038,3205,2678,2441,2544,2107,1893,2150,2366,2252,1758,1744,1742,1662,1878,2181,2031,1848,1596,1492,1447,1564,1827,1876,2189,2518,2741,3274,3009,1881,1324,1230,1384,1445,1364,1547,1687,1544,1583,1751,1622,1305,1180,1164,1177,1160,1318,1399,1182,950,1061,1301,1541,2020,1612,2298,2421,1455,1408,2044,2510,2481,1895,1521,1488,1371,1853,2468,2099,2181,2219,1929,2090,2007,1569,1442,1841,1865,1847,1964,1784,1465,1050,1166,1517,1561,1426,1251,1737,2275,2142,1807,1744,1659,1443,1033,913,1525,1649,1381,1831,1735,1492,1859,2019,2014,2042,1917,1721,1547,1644,1808,2104,1838,1106,1378,1872,1814,2020,2135,1765,1690,1881,2007,1766,1670,1794,2185,1989,1979,2718,3110,2589,2163,2221,1933,1638,2030,2452,2481,2148,2184,2837,2111,2294,2613,1962,1478,1988,2433,1804,1789,2277,1722,2177,1960,1993,2012,1984,2732,2828,2719,3001,2931,2512,2298,2464,3141,2934,2765,3190,3298,3073,2922,2644,2491,2710,2809,2648,2705,2918,3108,3141,3160,3097,3073,3243,2818,2330,2283,2404,2419,2777,3322,3341,2876,2800,2617,2687,2338,2689,3099,2740,2162,1631,1803,2438,2864,3040,3398,2741,2317,2401,1989,2006,2105,1904,2114,2245,2326,2314,2619,3121,2520,1998,1915,1764,1466,2095,2454,2423,2833,3062,2540,1906,2881,3591,2829,2443,2532,1904,1547,1872,2052,2287,2185,2392,2835,2723,2855,2145,1915,2373,2324,2800,2810,2659,2866,2609,2249,2176,2312,2592,2964,3104,3177,3628,4313,3842,3635,4101,4418,4219,3957,4121,4405,4508,4601,4473,4396,4288,4244,4124,3557,3212,3192,3387,3633,3576,3588,3356,2492,3030,3908,3745,3369,3285,3548,3616,3571,3454,3347,3270,3854,4332,3686,3141,2805,2751,3704,3517,2687,1980,1587,1600,1561,1599,1776,1686,1549,1416,1394,1500,1663,2294,2251,2047,2226,2404,2176,1965,2049,1726,1938,1572,1449,1795,1709,1649,2057,2381,2223,2034,2343,2587,2402,2931,3319,3146,2718,2114,1663,1950,1887,1841,1977,2319,2460,2420,2034,1700,2045,2401,2523,2846,3061,2708,2170,1832,1686,2084,2683,2799,2425,2199,1842,1469,964,1655,1842,1771,1703,1944,2320,1937,1662,1876,1661,1501,1709,1766,2552,3056,3670,3846,3318,2308,1730,1584,1832,2808,3009,2226,2275,2116,2154,2450,2356,2049,2588,2492,2341,2276,2691,3146,2688,1886,1780,2104,2558,3842,3841,2367,1795,2165,2311,2432,3019,3220,1943,845,447,439,681,1449,2345,2331,2183,1761,1529,2272,2246,1625,1533,1972,2153,2119,2308,2396,2187,2308,2255,1842,2096,2389,2426,2332,2198,2336,2442,1741,2104,2677,2785,2834,2778,2609,2786,2599,2221,2649,3019,2653,2674,2742,2269,2120,2618,2541,2121,2098,2095,2332,2416,2389,2753,2472,2171,2219,2159,2154,1988,2007,2526,2905,2948,2705,2717,2792,2673,3038,3571,3618,3537,3121,2784,2142,1938,2129,2598,3275,2917,2293,2388,1997,1742,1852,1736,1602,2000,1833,1667,1644,2189,2848,2944,3042,2798,2610,2804,3418,3870,3884,4040,4380,4176,3648,3370,3458,3957,4165,4012,3422,2381,2415,1859,1444,1548,2618,3223,3930,3896,2859,2467,2480,2842,3168,2623,2409,2462,2831,2799,2910,2241,1908,2113,1807,1198,1584,2488,2077,1967,2162,1873,2098,1856,2390,3371,2766,2111,2675,3646,4285,4278,3841,2957,2459,2055,2076,2176,2358,3067,3538,2995,2189,1982,2281,2346,2858,2786,2543,2367,2262,2823,3208,2387,2089,2425,2262,2532,2548,2360,2909,3214,2792,2771,2389,2126,2444,2755,2635,2592,2133,1773,2061,2248,2410,2237,1970,1880,1937,2396,2359,2231,2409,2902,2986,3181,3448,3503,2763,3078,2578,2107,2167,2122,2369,2320,2059,2355,2344,1866,1778,2054,2028,1912,2478,2888,1982,1603,2072,2286,2170,2082,2095,2608,2373,2203,2210,2285,2161,1813,1751,1670,1836,1852,1943,2138,1871,1559,1857,2013,2150,2010,2157,2443,1980,1664,1539,1722,2238,2370,2123,1864,2204,2808,3070,2856,2809,3101,3078,2937,2807,2453,2180,2147,2043,2404,2724,2510,2487,1921,1717,1598,1892,1853,1658,1631,1589,1570,1389,1331,1410,1380,1415,1530,1489,1747,2285,2306,2670,3584,3845,3565,3264,2778,2511,2031,2213,2331,2144,1762,1958,2553,3404,3189,2696,3653,3859,3649,3489,2930,2867,2347,1812,2105,2908,2458,2207,2845,3401,3075,2855,3099,3461,3423,3119,2473,2817,2940,3497,3795,3579,3404,3212,2908,3002,3056,2647,2439,2152,2246,2325,2385,2687,3143,3384,3116,2683,2288,2678,2597,2484,2725,2294,2429,2631,2619,2569,2257,2345,2520,2370,2322,2440,2416,2529,2400,2453,2459,2184,2685,2743,2445,2449,2492,2657,2669,2512,2129,1218,741,1081,1455,2128,1769,1757,1847,1874,2238,2207,2210,2362,2615,2476,2752,2469,1941,1699,1733,1869,2140,2216,2097,2255,1880,1788,2475,2400,2354,2324,2216,2279],[2150,2201,2172,2275,2664,2338,2068,2557,2896,2852,2725,2711,2511,2481,2578,2777,2851,2227,2178,2142,2036,2245,1988,1385,1583,2077,2459,2219,2220,2635,2666,2641,2093,2276,2402,2529,2898,2747,2492,2193,2137,2424,2820,2950,2343,1987,2394,3068,2955,2521,2114,2097,2623,2690,2182,2314,2444,1792,1684,2131,2156,2151,2083,2365,2873,2863,2313,2222,2171,2153,2446,2692,2534,2485,2336,2313,3063,3022,2573,2335,1971,1681,1854,2098,1951,2422,2920,2365,1983,2435,2525,2375,2352,2387,2691,2658,2359,2636,2371,1653,1643,2456,2400,2316,2376,1967,1986,2327,2474,2253,2056,2392,2047,1636,1175,1960,2288,1925,1954,2286,2695,2740,2548,2556,2577,2723,2922,2806,3403,2484,2362,2776,2703,2497,2518,2742,2297,1509,1602,2326,2928,3108,2998,2313,1838,1859,2019,2379,2365,2259,2673,2789,2774,3419,3540,2899,2499,2153,1885,1837,1776,2402,3210,3388,3650,3650,3076,2578,1996,2081,2150,2174,2239,2219,1908,1792,1740,1537,1742,2021,1885,2176,2890,3670,3526,2562,1717,1976,2125,1721,1835,2319,2241,2590,3262,2818,2519,2522,1974,2147,2392,2332,2586,2251,2260,2654,2459,2610,3086,2792,2368,2356,2410,2200,2105,2643,2939,2687,2849,2834,2534,2481,2232,2016,1985,2252,2929,3431,3049,2668,1975,1952,2071,2010,2280,2842,3183,3216,3140,2858,2900,2796,2223,2009,2210,2317,2097,2075,2353,2719,2963,2994,3078,3064,2665,2377,2521,2349,2405,2445,2200,1691,1671,2123,2058,2249,2850,2890,2410,2362,2332,2589,2314,2907,2808,2256,2393,2555,2780,2421,2195,2165,2177,2732,2863,2419,2647,2751,2894,2534,2288,2166,1649,1875,2140,2613,3103,3107,2741,2996,2556,1998,2104,2053,2000,2059,1632,1686,2004,1940,1840,2170,2086,1981,2246,2176,2121,2295,2062,1686,1440,1728,2430,1928,2390,2510,2282,2422,2262,2155,2808,3529,4051,3706,3109,3307,3306,2657,2297,2273,2546,2542,2566,2219,1953,2323,2492,2091,1505,1114,1430,1851,1931,1928,1880,2221,2093,2269,2662,2271,2084,2225,2371,2181,1976,2342,2764,2316,2026,2316,2011,1713,1714,1843,1788,1752,1660,1402,1632,1758,1639,1601,1712,1561,1593,1771,1677,1581,1531,1620,1730,1622,1566,1611,1517,1371,1374,1630,1566,1605,1577,1605,1738,1870,1850,1520,1164,1230,1506,1417,1614,1881,1884,1879,2436,2281,1864,2200,2814,1892,1734,1838,1912,2017,2193,2031,2024,1731,1527,1534,1761,1968,1854,1568,1452,1553,1860,1914,1742,1600,1637,1790,1859,2051,2284,2121,1840,1597,1499,1937,2264,2065,1933,1990,2238,1860,2071,1998,1919,2787,2924,2279,2210,2108,2284,1622,1620,1541,1845,1935,1902,2508,3096,3044,2832,2692,3056,2567,2687,2685,2188,2017,1860,1959,2668,2624,2136,2500,2232,1572,2118,2250,2322,1782,1844,1819,1510,1713,2020,2004,1604,1727,2241,1518,1781,2459,2424,1877,1196,1027,1902,2472,2584,2486,2045,1973,2311,2170,2114,2059,2490,3095,3216,3341,3510,3262,3413,3499,3188,3273,3414,3399,3028,2707,2686,2901,2802,2599,2735,2665,2664,2951,3654,4068,3851,3722,3772,3596,3353,3326,3116,2636,2108,2675,2959,2914,3212,3157,2410,2491,3133,3196,2706,1863,2522,2851,2359,2509,2200,1809,2345,2434,1980,1816,1996,2135,1716,1770,1860,2696,3592,3839,3861,3812,3973,3726,3393,3739,3991,3974,3886,3752,3510,3564,3588,3419,3153,3184,2917,2624,2555,3118,3113,2822,2919,3475,3138,2878,2254,2303,2484,3097,3452,2978,2608,2684,2728,1851,1632,1862,2253,2408,3216,3452,3630,3529,3289,3388,3522,3068,2210,2058,2160,2180,2419,2343,2106,1992,2196,2048,2016,2329,2276,1982,2132,2424,2208,2164,2343,2136,1997,2301,2239,1788,2014,2261,2282,2205,2454,2588,2404,2517,2678,2708,2566,2439,2348,2033,2476,3348,3790,4042,3390,2888,2757,3322,3685,2832,2648,2371,2150,2286,2365,2328,2720,2884,2767,2710,2354,2210,1976,1713,1903,2533,2513,2617,3160,3054,2512,2469,2478,2547,2539,2430,2588,2833,2220,1797,1741,1753,1734,1734,1931,2267,1996,1226,1484,2028,1748,1877,2199,2514,3705,3648,2481,2187,2004,1569,1573,1883,1768,1454,1267,1517,1370,1493,2107,2148,2016,2042,1938,1795,2230,2105,1670,1768,2147,1921,1814,2383,2518,2475,2418,2215,2250,2375,2166,1632,1678,1665,1510,1764,1607,1490,1679,1854,1793,1597,1588,1704,1951,2271,2912,3153,2584,1855,1824,1855,1545,1422,1738,2349,2192,1607,1589,1567,1646,1853,1742,1313,1232,1435,1660,1827,1622,1156,1038,1189,985,779,1294,1961,2665,3031,3183,2797,2110,1736,1583,1536,1322,1536,2166,1828,2132,2066,1706,1506,1642,2151,2591,2720,2194,2056,1753,1743,2778,3746,3366,2813,2099,1729,1910,2363,2950,3467,3780,3238,1941,1769,1822,1831,1649,2046,2656,2996,3030,2673,2203,1886,2056,2673,3330,3260,3236,3140,3435,3420,3068,2944,2468,2480,2730,2479,2366,2308,2586,2251,1692,1593,1880,2269,2480,2429,1916,1496,1418,1628,1935,2104,2082,2283,3034,2751,2601,2341,1680,1447,1376,1373,1476,1305,1207,1236,1314,1407,1614,1785,1732,1508,1289,1188,1153,1296,1494,1531,1442,1174,1178,1318,1396,2326,1966,2587,2697,1904,2078,2466,2593,2664,1884,1723,1930,1598,1675,2041,1904,1785,1807,2489,2093,1641,1878,2049,2100,1819,1673,1968,2536,1589,1316,1666,1692,1567,1529,1462,2176,2639,2143,1928,2068,1819,1394,1499,1505,1205,1167,1492,1926,1844,2090,2327,1972,2115,2476,2050,1712,1494,1510,1811,1838,1832,1154,1811,2076,2026,2133,1819,1654,1503,1993,2198,1994,1751,1824,2492,2287,1869,2244,2609,2800,2766,2288,2037,1977,2540,2504,2820,2480,1939,2103,1901,2115,2161,1868,1740,2128,2251,1526,1350,1864,2349,2141,1954,2303,1786,1499,2469,3398,3252,3190,3252,2975,2695,2890,3354,3023,3106,3189,3101,2875,2529,2592,2470,2289,2444,2608,2800,2832,2911,2956,3050,3018,3168,3270,2809,2142,1907,2046,2524,3122,3021,2623,2595,2803,2431,2525,2885,2900,2730,2756,2436,2320,2713,2894,2762,2944,3389,2688,2643,2497,2067,2164,1917,1772,2034,2207,2434,2170,2626,2574,2018,1876,2162,2020,1957,1886,2096,2420,2421,2961,3542,3113,3562,2918,2208,2227,2287,2064,1784,2029,2297,2955,3282,3167,3143,2618,2933,2423,2092,2352,2442,2408,2327,2290,2468,2657,2271,1506,2115,2479,2842,3050,3221,3464,4100,4266,3616,3482,3759,3915,3891,4117,4508,4571,4571,4507,4436,4308,4216,4055,3785,3566,3521,3617,3848,3764,3458,3507,2906,2088,3287,3803,3587,3291,3374,3567,3108,2742,3041,3551,4184,4372,4006,3293,3000,3162,3710,3849,3230,2249,1678,1542,1503,1520,1656,1755,1645,1371,1379,1772,1916,2248,2090,1650,1577,2196,2768,2976,2471,1660,1571,1461,1453,1485,1610,1966,2005,1937,1902,1944,2432,2232,2158,2997,3112,2722,2401,1876,1828,2008,1936,1929,2047,2373,2540,2216,1817,1151,1109,1686,1774,2345,3070,2893,2775,2728,2197,1908,2035,2278,1979,1858,1606,1301,1115,1498,1887,1770,1343,2270,3135,2508,1945,1690,1521,1642,2081,2392,2727,3056,3198,2756,2106,1780,1739,1714,2125,2951,3299,2711,2647,2323,2217,2587,2145,1920,2184,1900,1798,2306,2695,2741,2525,2242,2468,2743,3382,4240,4136,3377,2532,2071,2055,1907,1522,1332,538,336,336,350,301,854,2191,2301,1834,1541,1952,2562,2150,1486,1584,1651,1723,2070,2569,2774,2591,2496,2164,1796,1838,1982,2099,2281,2168,2154,2549,2571,2663,2663,2608,3020,3027,2845,3138,2946,2569,2702,2289,2145,2438,2534,2535,2656,2735,2286,1927,2052,2102,2430,2611,2234,1989,2036,2433,2348,2467,2351,2136,2046,2287,3022,3517,3262,2690,2762,3275,3528,3517,3492,3382,3205,2540,1778,2081,2397,2685,3183,2945,2569,2853,2257,1633,1623,1626,1400,1676,1750,1663,1642,2239,2866,3100,3492,3364,3160,3395,3736,3458,3329,3461,4016,4288,3940,3397,3461,3927,4048,3990,3505,2476,2337,1897,1567,1514,2275,2945,3356,3482,2621,2056,2181,2676,2996,2879,3010,2786,2601,2367,2412,1848,1613,2142,1532,1238,1564,2157,2089,2098,2306,2160,2037,1722,2326,2815,2318,2089,2252,2874,3116,3322,3253,2712,2376,2190,2105,2040,2204,2424,2481,3087,2808,2153,2342,2126,2583,2622,2319,2082,2248,3010,3168,2363,2442,2459,2452,2950,2455,2752,3154,3095,3017,2725,2453,2519,2396,2411,2511,2518,2043,2184,2200,2208,2496,2766,2446,2192,2578,2928,2531,2176,2445,2071,2220,3182,3626,3124,2878,2810,2430,2077,1986,2265,2525,2299,2204,2365,2219,1951,1632,1760,2393,2096,2428,2314,1525,1574,2438,2974,2585,2297,1907,2150,2127,2077,2036,2294,2207,1931,1864,1904,2178,1884,1892,2049,1968,1857,1809,1636,1955,1981,2049,2354,2240,1666,1321,1678,2054,1727,1657,1951,2259,2634,2715,2331,2209,2359,2370,2227,2522,3177,2954,2344,2300,2944,2891,2069,1688,1713,1768,1811,1695,1622,1804,2108,2137,1863,1704,1695,1446,1425,1440,1416,1415,1561,1833,2231,2750,3100,3550,3581,3457,3149,2855,2534,2420,2319,2205,2228,2567,2811,3107,2852,2964,3489,3576,3319,3533,3589,3418,3174,2620,2956,3291,2531,2250,2385,2596,2797,3007,2757,3225,3640,3189,2771,2877,3209,3687,3693,3684,3702,3939,3747,3276,2917,2239,2228,2428,2474,2428,2218,2257,2756,3170,2743,2745,2501,2902,2449,2729,2734,2101,2280,2361,2411,2464,2156,2055,2020,1860,2082,2160,2639,2706,2483,2260,2251,2149,2357,2430,2611,2852,2709,2574,2343,2222,1576,691,912,1274,1761,2014,1455,1604,1936,2137,2475,2319,2248,2179,2009,1980,2421,2474,2149,1949,2096,2316,2611,2663,2411,2251,1486,1760,1421,1255,2194,2759,3172,3176],[2055,2024,2132,2255,2750,2671,2392,2686,2554,2475,2778,3000,2688,2627,2657,1961,1894,2060,2122,2331,2541,2364,2122,1538,1032,1582,2390,2046,2139,2340,2687,3067,2917,2947,3018,2903,3161,2841,2602,2865,3116,3133,3140,2649,2644,2602,2769,3119,3016,2625,2399,2333,2920,3135,2578,2639,2815,2387,2546,2862,2464,2024,2115,2578,2611,2379,2568,2639,2304,2494,2732,2762,2624,2808,2755,2596,2504,2342,2585,2630,2478,2106,2136,1841,2019,3082,3250,2538,2569,2979,2574,2428,2436,2359,2525,2610,2355,2887,2618,2172,2490,3146,3239,3509,3323,2635,2668,2884,2419,2336,2620,2669,2195,1398,1342,1905,2483,2272,1746,1889,2135,2322,2562,2641,2644,2910,3028,3274,3375,2497,2547,2864,3064,3151,2789,2586,1854,1130,1110,1156,2003,2575,2279,2098,2029,2159,2490,2911,2811,2332,2276,2613,2952,2976,2734,2264,2093,1834,1690,1806,1894,2348,2894,2796,2652,2391,2220,2408,2046,1668,1670,2096,2243,2241,1986,1688,1653,1659,1850,1692,1678,1943,2544,3432,3145,2387,1830,1826,1700,1635,1795,1873,1989,2437,2727,2415,1882,1905,1695,1727,2069,2345,2298,2190,2511,2556,2155,2046,1964,1874,2005,2040,1859,1932,2042,2309,2608,2519,2409,2544,2328,1827,989,1615,1960,2194,2200,2388,2900,2496,1722,1883,1820,1903,2358,2990,2945,2878,3111,2732,2531,2422,1947,2079,2177,2131,2408,2149,2378,2812,2736,2509,2415,2622,2890,2972,2695,2780,2694,2505,2612,2302,2112,1968,1775,1826,1945,2013,2236,2270,2311,2382,2352,2952,3084,2542,2351,2317,2623,2391,2641,2913,3148,3011,2511,2110,1743,1697,2159,2229,2344,2263,1973,2011,2360,2922,3288,3225,3113,2890,2291,1817,1657,1862,2116,1938,1576,1500,1597,1825,2051,1960,1673,1989,2348,2409,2642,2642,2281,1773,1476,1709,1982,1862,2259,2178,1952,2429,2774,2687,2810,3109,3673,3830,3519,3394,3263,2429,1928,1966,2450,2799,2977,2424,1935,2054,1839,1759,1465,1008,1777,1909,2129,1923,1603,2503,2733,2864,3231,2589,2454,2525,2341,2307,1849,1880,2302,2239,2066,1934,1979,2087,2119,1986,1532,1323,1443,1412,1864,1721,1600,1847,1825,1558,1555,1512,1517,1379,1368,1411,1341,1361,1496,1656,1650,1780,2112,2069,1700,1537,1632,1669,1636,1597,1515,1529,1490,1443,1527,1447,1651,2042,1655,1613,1993,1938,1756,1918,2764,1774,1664,1899,2096,2592,2149,2148,2040,1558,1547,1619,1737,1811,1877,1828,1550,1521,1717,1789,1824,1723,1760,1938,1984,2290,2332,1705,1778,1756,1496,1746,1840,1299,1072,1275,1563,1960,2143,2020,1860,2530,2404,1986,2125,1907,1825,1575,1530,1493,1634,1902,2024,2430,2995,3250,2973,2335,2466,2477,2379,2513,2310,2046,1925,1977,2255,2515,2536,2532,2258,1431,1938,2396,2005,1720,1888,1635,1433,1691,1892,1890,1967,1930,2122,1579,2074,2308,1983,1491,1215,1192,1731,2382,2593,2330,2024,2187,2314,2040,2358,2676,2714,3189,3414,3561,3470,3319,3886,3826,3252,3325,3338,3464,3197,2763,2810,3065,2999,2655,2667,2736,2745,3210,3638,4253,4302,4057,3946,3698,3328,3436,3298,2471,1942,2293,2859,3161,3051,2996,2586,1928,2349,2457,2642,2408,2328,2661,2463,2460,2349,2060,2419,2260,2109,2530,2584,2547,2061,2420,2429,2724,3139,3581,3820,3848,3987,3842,3516,3862,3985,3963,3952,3833,4002,4078,3971,3386,3166,3009,2618,2600,2602,2816,2865,2910,2966,3284,3299,3341,2976,2688,2657,3263,3846,3264,3013,3169,2746,2313,2244,2071,1908,2407,3349,3707,3579,2943,2677,3194,3363,3248,3167,3039,3022,2835,3173,2755,2749,3163,3086,2702,2483,2297,2223,1787,1958,2047,2106,2086,2095,2008,2260,2615,2248,1930,2036,2156,2207,2081,2189,2064,2026,2632,2756,2551,2408,2219,2061,1967,2052,2303,2895,3675,3418,2828,3116,3768,3957,3101,2435,2012,1887,2247,2417,2271,2954,2900,2292,2124,2003,1713,1719,2011,2012,2331,2906,3356,3562,3159,2442,2422,2386,2402,2317,2290,2380,2318,2041,1895,1824,1814,1740,1638,1845,2358,2004,1314,1444,1780,1615,1886,2183,2569,3627,3746,2766,2386,2139,1621,1593,1947,1830,1457,1501,1714,1285,1211,1754,1793,2010,1893,1561,1570,2113,1826,1738,1786,1822,1638,1875,2383,2785,3110,3060,3002,2910,2642,1883,1634,1733,1529,1551,1744,1489,1619,2049,2030,1616,1408,1631,2039,2000,2155,2576,2796,2266,1787,1948,2054,1886,1685,1805,2107,1772,1621,1554,1602,1920,1953,2015,1882,1584,1270,1443,1532,1157,1008,875,885,1081,1376,1982,2680,2940,2397,2091,2091,1935,1779,1540,1608,1642,1455,1985,1735,1999,2128,1703,1852,2331,2288,2701,3428,2580,2204,1920,1675,1933,2195,2002,1988,2119,2601,3200,3632,3874,3703,3211,2249,1681,1715,1732,1900,2115,2789,2862,2354,2068,1898,1810,1876,2232,2467,2847,2762,2780,2856,3005,3039,2836,2801,2743,2519,2533,2405,2358,2283,2522,2095,1703,1819,2377,2296,1860,1502,1416,1653,1950,2105,2022,1866,2143,2477,2918,2172,1528,1407,1499,1757,1760,1571,1456,1229,1176,1156,1196,1223,1477,1738,1769,1706,1550,1303,1171,1361,1818,1991,1562,1185,1146,1193,1178,2003,1957,1679,2231,2362,2112,1596,1811,2318,1905,1644,2136,1932,2018,1882,1744,1787,2160,2048,1673,1857,2060,1939,1833,1753,1699,1854,2221,1680,1861,1912,2183,2499,2097,1854,2176,2121,1705,1766,2033,1666,1747,1690,1732,1388,1441,1966,1871,1583,2202,2398,1938,2141,2418,1901,1498,1179,1502,1738,1834,1818,1367,1239,1614,1855,1854,1578,1408,1408,1923,1970,2161,1847,2244,2909,2676,2303,2066,2233,2451,3050,2396,2364,2100,2649,2708,2976,2402,1987,2042,1860,1763,2038,2593,2352,2597,2264,1435,1810,1808,2412,1995,1603,1830,1631,1256,1822,2952,3339,3291,3171,2491,2620,3550,3743,3464,2972,2663,3025,2621,2410,2807,2466,2060,2187,2498,2800,2769,2788,2856,2754,2744,3175,3487,3249,2751,2230,2028,2006,2644,2993,2809,2638,2316,2070,2372,2909,2833,2353,2232,2377,2458,1904,2116,1904,2561,2863,2313,2155,2309,2674,2702,1820,1901,2198,2268,2518,2076,2088,1984,2093,2388,2297,2424,2642,2330,2635,2736,2634,2544,3153,3123,2596,2227,2472,2806,2509,2069,2162,2348,2520,2631,2955,3540,2993,2070,2619,2777,2287,2016,2217,2630,2766,2751,2833,2620,2532,2165,2522,3063,3040,3034,3145,3207,3907,4176,3804,3415,3306,3383,3484,3752,3991,4383,4396,4319,4340,4124,3818,3837,3863,3640,3328,3310,3541,3296,2795,2824,2945,1895,2148,3175,3705,3594,3517,3105,2214,2051,2761,3886,4217,3897,3520,3176,3021,3639,4253,4047,3167,2113,1631,1623,1601,1656,1490,1662,1759,1542,1715,2264,2527,2566,2388,2176,2035,2172,2520,3010,2129,1511,1586,1477,1438,1484,1889,2428,2409,1953,1956,2132,2566,1559,1740,2821,2618,2388,2644,2124,1714,1760,1962,2227,2242,2066,2035,1921,2028,1729,1842,2427,2402,2259,2285,2213,2461,2473,2082,2164,2431,2161,1957,1822,1765,1238,1069,1217,1957,2518,2668,3544,3417,2323,1798,1599,1671,1992,1926,1952,2156,2155,1975,1923,1958,2030,2265,2508,3161,3211,3086,2737,2779,2296,2203,2464,2107,1835,1764,1882,2359,2401,2019,2400,2833,2845,3152,3146,3733,4228,4241,3785,2711,2200,2214,1006,429,322,326,318,293,287,270,706,1931,2549,2168,2022,2189,2470,2605,2116,1979,2199,2459,2387,2824,2891,2691,2724,2586,2130,1745,1866,2101,2367,2592,2281,2207,2811,3111,3093,3212,3221,3094,3145,3330,3207,3361,3428,2769,2697,2635,2345,2579,2634,2189,1799,1989,2432,2268,2512,2824,2157,1772,1901,2361,3056,3155,2796,2459,2255,2642,3256,3453,3439,2531,2556,2966,3071,3086,2971,3045,2826,2140,2017,2380,2666,2792,2887,2834,2684,2533,2293,1602,1441,1485,1485,1675,1805,1912,2353,2969,3052,3294,3652,3618,3378,3713,3661,3420,3495,3715,3874,3768,3562,3272,3190,3319,3312,3499,3452,2715,2262,1886,1895,1651,1786,2699,2880,2799,2504,2597,2641,2651,2785,2821,2791,2553,2445,2676,2515,1918,1770,1973,2079,2067,1798,1883,2115,2073,2483,2460,2074,2252,2579,2849,2409,2317,2529,2677,2361,2699,2812,2588,2483,2648,2735,2253,2080,1947,2137,3179,3011,2427,1968,1865,2146,2292,1997,1860,2564,3606,3379,2556,2066,2416,2712,2954,2184,2003,2607,2976,3086,2685,2334,2629,2796,2800,2617,2123,2375,2075,1813,2055,2215,2199,1959,2246,3122,3175,2632,2600,2793,1826,2299,2830,3240,2898,2597,2569,2446,2451,2143,2355,2534,2520,2309,2383,2787,2578,2062,2184,2461,2553,2619,2499,2324,2170,2431,2632,2357,2019,1685,2298,1906,1809,2012,2348,2430,2369,2271,1974,2017,2020,1931,2061,2059,2392,1898,1425,1886,2111,1992,2155,1865,1372,1316,1420,1287,1083,1615,1872,2154,2669,2472,1895,1933,2577,2844,2164,2207,3189,3064,2420,2631,3139,3204,2249,1746,1760,1748,1645,1409,1393,1622,1758,1607,1424,1798,1704,1469,1415,1404,1377,1547,1757,1842,2034,2517,2965,3472,3686,3641,3419,3404,2979,2403,2165,2299,2543,1982,1778,2247,2329,2751,2633,2657,2915,3194,3399,3385,3385,3152,3345,3378,2688,1985,1857,1814,2223,2781,1958,2239,3141,2998,2898,3248,3506,3207,3229,4079,4027,3284,3343,3259,3133,2696,2257,2165,2362,2147,1965,2366,2643,2897,2463,2203,2498,2634,2109,3124,3652,2911,2360,2210,2741,2566,1939,1788,1975,1739,1581,1611,2193,2604,2392,2354,2199,2055,2034,2097,2582,2908,2720,2447,2141,2207,1237,692,1092,1326,1751,1824,1552,2022,2398,2899,3023,2911,2451,2624,2159,2192,2748,2518,1955,1931,2338,2801,2691,2202,2640,2910,2040,2484,1647,1238,2036,2908,3599,3733],[2342,2135,2104,2070,2409,2543,2346,2556,2388,2721,3065,3095,2574,2233,2302,2153,1908,2194,2310,1978,2209,2181,2201,1644,1383,1617,1956,2210,2541,2791,3649,4143,3528,3165,3233,3333,3452,3250,2805,3212,3363,3371,2646,2192,2453,2390,2354,2601,2579,2545,3184,2735,3075,3077,2753,2921,3044,2894,3062,3242,2626,2301,2790,3093,2842,2665,2936,2543,2093,2248,2335,2465,2732,2577,2113,1731,1594,2196,2770,3000,2981,2531,2018,1753,1965,2973,3725,3022,2507,2604,2291,2118,2106,2235,2471,2356,2469,2732,2601,2609,2879,3288,3387,3473,3218,2922,3160,3706,2950,2854,2822,2976,2209,1136,1357,2165,2685,2426,1826,2124,3067,2943,2531,2579,2523,2629,2813,2548,2331,2474,3096,3486,3436,3343,2799,2352,1831,1258,1112,1131,1757,2110,2198,2536,2620,2679,2868,2854,2766,2266,2090,2508,2008,1819,1880,1855,1852,1793,1806,2224,2755,2981,2995,2333,1995,1710,1686,2082,2545,2210,1816,2189,2308,1929,1745,1498,1711,1687,1740,1637,1600,1585,1808,2072,2169,2137,2072,1703,1483,2189,2566,2285,2239,2120,2471,2657,1948,1680,1747,1751,1834,1978,2124,2215,2014,1884,1825,1688,2019,2076,2284,2016,1886,1599,1562,1741,1996,2228,2198,2170,1448,964,819,1496,1932,1804,1150,1183,1840,1825,1609,1688,1454,2160,2532,3444,3065,3171,3384,2463,1992,2209,2239,2134,2024,2087,2622,2302,2397,2456,2613,2301,2692,2973,3194,3212,2707,2429,2317,2203,2636,2665,1928,1870,1699,1615,1629,1811,2418,2549,2447,2508,2219,2097,2150,1871,2104,2323,2436,2466,2426,2302,2344,2167,1977,1685,1136,1498,2107,2358,2900,2714,2261,2141,2624,3054,3255,3262,2901,2178,1930,1668,1871,2636,2216,1535,1624,1782,1703,2126,2281,1768,1642,1968,1900,2117,2684,2526,1913,1471,1418,1921,2180,1735,1778,1906,2078,3142,3628,2878,2503,2875,3204,3715,3627,3417,3216,2642,2072,1850,2076,2233,2158,2116,1879,1814,1654,1708,1835,1631,2080,1945,1898,2179,2176,2766,3106,2432,2762,2863,2766,2385,2131,1847,1511,1648,2048,2142,1877,1825,2155,2076,2206,2364,2072,1656,1836,2017,2108,1983,2055,2353,2151,1777,1672,1402,1392,1381,1498,1376,1297,1466,1671,1632,1611,1717,1971,2078,1922,1991,2264,1951,1700,1746,1420,1209,1433,1590,1511,1476,2046,2191,1574,1544,1632,1604,1651,2009,2644,1807,1650,1918,2046,2025,1744,1897,1692,1508,1499,1714,1694,1769,1866,1715,1571,1483,1482,1607,1702,1562,1802,2219,2508,2468,2352,2305,2714,2138,1554,1629,1853,1533,1162,1059,1305,1672,2018,2004,2164,2495,2601,2337,2132,2061,1756,1553,1631,1572,1666,1894,2047,2223,2530,2972,2691,2353,1986,2260,2477,2215,2025,1801,1708,1970,1724,2161,2461,2405,2214,1449,1607,1572,1181,1531,1899,1581,1465,1780,1917,2293,2348,2364,2147,1989,2046,2093,2041,1735,1632,1709,1581,1701,2436,2488,1880,2410,2884,2211,2530,2612,2802,3161,3194,3677,4172,3857,3926,3603,3173,2977,2968,3151,3112,2954,2965,3011,2978,2973,3088,3128,3094,3108,3138,4033,4247,4128,3871,3686,3576,2932,2360,2151,1860,2119,2262,2542,2165,2408,2713,1926,1819,2008,2977,3518,3220,3054,3057,3109,2855,2561,2698,2431,2584,2552,2603,2709,3051,3486,3069,2404,2355,2942,3527,3748,3783,3923,3702,3950,3807,3762,3894,4039,3862,3751,3738,3308,3429,2817,2365,2496,2878,2854,2844,2799,2734,2999,3178,3020,2709,2686,2813,3060,3210,2964,2964,3139,3012,3162,2864,2478,2172,2786,3500,3264,3453,3335,3221,3060,3028,3500,3630,3361,3173,3228,3406,3543,3774,3844,3791,3734,3773,3567,3065,2128,2580,2965,2928,2430,2009,2150,2184,2070,2163,2308,2371,2339,2348,2354,2402,2390,2585,3123,3371,3021,2427,2070,2101,1788,1485,1556,2388,2891,2786,2333,2846,3583,3444,3000,2624,2295,2060,2359,2684,2296,2548,2448,2053,2046,1756,1565,1860,2026,2375,2944,3509,3696,3440,3213,2549,2331,2264,2297,2319,2316,2307,2185,2131,2236,1894,1813,1758,1815,2088,2567,2434,1913,1615,1610,1606,1707,1912,2459,3628,3804,2927,2569,2280,1680,1584,1858,1843,1459,1338,1572,1283,1447,1974,2003,2487,2409,1978,2313,2293,1823,1830,1565,1367,1803,2035,1679,1797,2853,3205,3260,3364,2712,1877,1837,2045,1796,1655,1727,1453,1829,2054,1983,1489,1602,1954,2245,2312,2083,2188,2515,2123,1806,2106,2198,1958,1745,1800,1952,1951,1725,1626,1799,1953,2130,2206,2128,1871,1584,1402,1521,1302,996,850,744,1083,1780,2598,3042,2338,1622,1612,1850,1794,1603,1570,1892,1622,1079,1299,1489,1852,2079,2120,2315,2342,2297,2215,2574,2184,2079,2046,1731,1501,1645,2226,2910,3480,3839,4074,3886,3427,2878,2350,1990,1640,1545,1641,1818,2049,2370,2181,1796,1757,1685,1597,1565,1767,2266,2071,1995,2320,2756,3308,3341,2792,2677,2614,2407,2200,2098,2212,2498,2166,1898,1693,1743,1782,1576,1526,1769,2061,2156,2008,1788,1849,2151,2609,2777,2729,2015,1424,1472,1391,1775,1935,1719,1460,1325,1246,1188,1126,1172,1294,1482,1660,1741,1659,1382,1173,1245,1664,1758,1483,1412,1413,1295,1343,1608,1454,1426,1716,1996,1766,1437,1811,1838,1754,1834,2292,2249,2164,1914,1904,2206,1894,1662,1824,1712,1742,1736,1667,1653,1498,2023,2079,1918,2026,2109,3190,3261,1908,1642,2024,2012,1592,1545,1344,1393,1669,1491,1518,1669,1650,1591,1533,1497,1948,2091,2119,1582,1532,1459,1328,1414,1704,2007,2122,2096,1451,1069,1383,1491,1570,1733,1836,1845,1941,2031,1942,1789,2056,2236,2504,2447,2304,2192,1988,2937,2658,2416,1923,2497,2920,2667,2374,1943,1904,2020,1964,2285,2806,2629,2825,2618,1654,1982,1994,2209,2220,1433,1956,2449,1980,1974,2909,3298,3264,2931,2055,2133,3172,3652,3533,3109,2884,3044,2814,2750,2713,2557,2459,2590,2742,2700,2641,2839,2899,2797,2913,3206,3488,3540,3066,2643,2534,2070,2441,2830,2787,2501,2302,2230,2334,2496,2210,2350,2116,1991,1992,1481,1508,1755,2293,2503,2231,2097,2565,2976,2910,2264,2596,2666,2670,2652,2171,1726,1593,2084,2184,2064,2331,2521,2120,2484,2474,2823,2260,2389,2404,2275,2711,3057,2998,2682,2598,2567,2153,2382,2309,2306,2508,1917,1766,2341,2920,2750,2108,2262,2654,3144,3720,3340,2832,2201,2026,2239,2396,2654,3118,3166,3199,3816,4204,4117,3666,3819,3630,3382,3348,3493,3978,4309,4184,3986,3726,3543,3787,3814,3494,3132,3084,3008,2932,2541,2715,3439,2657,1642,2014,3094,3727,3956,3413,2295,2122,2868,3940,4145,3686,3327,3318,3466,3780,4070,4164,3702,2874,2093,2030,1676,1532,1552,1648,1753,1655,1597,1645,1851,2602,3163,2253,1917,1759,1778,1930,1616,1486,1512,1604,1777,1760,2254,3028,3406,2298,1880,2703,2659,1248,1401,2156,2196,2531,2774,2456,2193,2320,2503,2326,2189,2198,2303,2319,2432,2565,2863,3396,3039,2486,2049,2147,2368,2753,2354,2140,2326,2172,2074,2010,2095,1744,1238,1112,1560,2198,2857,3107,2187,1769,1581,2013,2297,2094,1623,1532,1697,1764,1807,2182,2233,2032,2564,2460,2587,3023,2758,2369,2127,1959,2392,2557,2440,2056,1946,2410,2376,2254,2705,3244,3146,2797,2862,3168,3776,4195,4121,3751,3051,2381,2411,971,452,371,309,297,257,297,283,640,1863,2564,2570,2577,2712,2618,2447,2348,2129,2858,3339,3132,2915,2905,2927,2599,2485,2053,1898,2002,2069,2151,2291,2370,2498,2952,3297,3247,2835,2556,2857,3107,3166,3212,3292,3595,3237,2474,2745,2808,2384,2253,2045,2099,2305,2559,2238,2169,2566,2163,1853,1972,2796,3807,3679,3196,2731,2658,3175,3174,2573,2542,2315,2384,2581,2734,2928,2920,3064,3053,2334,2592,3105,3381,3233,2752,2462,2173,1944,1987,1625,1391,1622,1853,1898,1982,2455,3221,3652,3572,3503,3472,3562,3590,3753,3686,3783,4232,4070,3758,3551,3334,3517,3226,2939,2929,3207,3082,2867,2438,1907,2084,1504,1284,2365,3111,2822,3010,3289,3244,2709,2906,3599,3842,3499,2708,2540,2010,1887,1928,1804,2220,2432,2223,1985,1951,2235,2341,1851,2006,2411,2374,3062,3174,3204,2886,3096,3538,3846,3511,2800,2531,2397,2636,2623,2417,2632,2785,3132,2958,2232,2120,2318,2222,2342,2148,2473,3393,3516,2922,2603,1634,1931,2634,2931,2384,2250,2944,3007,2711,2425,2520,2740,3120,3054,2082,1687,2415,2432,2549,2558,2360,2563,2862,2556,2918,3109,2844,2562,2666,2742,2852,2732,2786,2486,2188,2334,2212,2503,2131,2047,2103,1695,1933,2531,3364,3321,2678,2383,2598,2620,2404,2899,3554,2791,2004,2041,2392,2040,1763,2154,2004,1615,1638,2070,2519,2462,1805,1761,1920,1980,2166,2166,3166,3241,1898,1454,1860,2075,2227,2056,1633,1469,1242,1163,1240,1013,1557,2111,2166,2288,2220,1729,2110,2680,2142,1609,1829,2324,2235,2529,2913,3183,3204,2337,1715,1960,1742,1440,1466,1421,1444,1377,1445,1538,1466,1342,1411,1565,1444,1462,1580,1723,1972,2056,2453,3374,3545,3418,3417,3464,3177,2509,2246,1951,2241,2497,2014,1869,2133,2064,2474,2686,2441,2445,2632,2699,2764,2908,2634,2971,3576,3095,2015,1801,1842,2125,2147,1941,2502,2563,2424,2699,3017,3160,2931,3579,4133,4284,3870,3132,2997,3370,3340,2548,2114,2508,2244,2208,2500,2217,2177,1843,1978,2248,2253,2437,2758,2521,2563,2401,2588,2917,2562,1963,1657,1660,1527,1582,1648,1841,1912,1969,2200,2134,2474,2122,1932,2071,2208,2581,2448,2320,2269,1583,1173,1138,1193,1644,1956,1998,2931,3000,2668,2597,2665,2329,2402,2366,2590,3079,2940,2203,2021,2194,2940,2739,2283,2764,3147,2856,2952,1909,1551,2312,2381,2155,2354],[2632,2411,2220,1990,2275,2667,2304,2577,2910,3352,3166,3089,2546,1739,1908,2078,1985,2229,2167,1817,1945,1566,1682,2067,2271,2024,2064,2529,2721,3254,4409,4548,3055,2282,2458,3087,3527,3289,2977,3153,3332,3296,2750,2315,2365,2602,2735,3100,2787,2625,3223,2842,2854,2944,2888,3075,3450,3171,2963,3155,2725,2556,3188,3256,2935,2979,2988,2658,2111,1997,2067,2091,2667,2674,2494,2307,2074,2516,2829,2955,3033,2743,2276,2226,1903,2047,2824,2776,2900,2839,2675,2220,2308,2632,2685,2434,2460,2452,2715,2868,2986,3009,2996,3171,3045,2448,2462,3452,3713,3508,2739,2663,2345,1508,1672,2437,2785,2836,2541,2463,2834,2551,2398,2399,2512,2800,2461,1972,1926,2148,2767,3240,3270,2513,2441,2762,2577,1871,1362,1455,1986,2171,2289,2373,2411,2345,3099,3142,2442,2126,2358,2212,1576,1671,1754,1649,1688,1903,2147,2918,3120,3001,3131,2628,2160,1760,1484,2135,3055,2470,1528,2188,2554,1957,1595,1448,1644,1759,1659,1515,1474,1655,1808,1781,1759,2147,2114,1926,2039,2546,2649,2324,2061,1837,2635,3155,2593,2480,2369,1852,1919,2080,1665,1744,1859,1819,2187,1881,1799,2263,2331,2411,2231,1524,1644,1580,2019,2218,2061,2056,1895,1376,1144,1452,2102,2145,1540,1204,1273,1514,1993,1963,2017,2524,2862,3410,3617,3959,3625,2750,2862,3142,2652,2127,2404,2854,2866,2275,2068,2214,2519,2525,3173,3803,3814,3182,2464,2270,2106,1957,2081,1815,1444,1632,1795,1772,1725,1799,2128,2336,2502,2656,2262,1498,1489,1379,2076,2517,2355,2403,2265,2035,2011,1958,2051,1699,1347,1880,2063,2125,2846,3145,2766,2362,2325,2695,2943,2835,2199,1956,2328,1702,2186,2341,1894,1519,1920,2170,2113,2113,1782,1559,1762,2010,1913,1979,2320,2435,1889,1663,1759,1973,2301,2100,1690,1894,2008,2639,3326,3061,2385,2055,2135,3141,3725,3638,3330,2720,2072,1862,1837,2016,2037,2168,2414,2317,2047,2066,2204,2130,2085,1896,2085,2690,2821,3250,2689,2080,2801,3219,3168,2618,2104,1636,1424,1522,1705,1757,1760,1537,1568,1667,2306,3286,2994,2261,2260,2568,1906,1380,1952,2188,2134,1675,1158,1101,1224,1256,1328,1283,1251,1280,1405,1762,1829,1743,1653,1979,1771,1736,1779,1737,1872,1893,1784,1637,1542,1598,1505,1735,2161,1826,1613,1645,1719,1650,1766,2233,2373,1733,1718,1701,1831,2023,1634,1626,1548,1640,1548,1739,1584,1627,1961,2011,1766,1745,1842,2054,1839,1599,1853,2052,1886,1864,2187,2363,2272,2054,1652,1791,2107,1855,1866,1517,1478,1529,2067,2309,2330,2190,2126,2208,2192,1990,1803,1712,1574,1654,1692,2157,2392,2522,2774,2956,2891,2296,1656,1859,2160,2099,2116,1769,1597,1417,1456,2037,2052,1868,1932,1717,1578,1891,1941,2004,2031,1549,1583,1931,1880,2416,2614,2089,1911,2272,2493,2844,2809,2468,2010,2056,2040,2013,2466,2199,1311,1651,2774,2254,2066,2678,2847,2607,2684,3516,3805,3253,3007,2616,2707,2883,3043,3257,3133,2855,2856,3006,3163,3146,3432,3586,3465,3188,3273,3604,3906,3945,3859,3888,3717,3132,2561,2019,1989,2283,2279,2422,2331,2636,2316,1719,1934,2484,3134,3189,3178,3270,3234,3732,3456,3126,3175,2763,3245,3783,3806,3651,3527,3236,2888,2356,2191,2854,3322,3620,3876,3961,3751,3895,3739,3660,3741,3749,3701,3595,3259,2818,2384,2287,2265,2812,3260,3038,2955,2780,2492,2645,2655,2637,2504,2673,2896,3018,2718,2573,2721,2845,3128,3105,3020,2784,2468,2768,2472,2044,2320,2492,2557,2907,3366,3595,3426,3317,3106,3010,3335,3577,3654,3806,3774,3728,3709,3874,3220,2570,3038,3493,3232,2195,1603,1696,1636,1708,1900,1960,2045,2296,2276,2340,2677,2799,2714,2757,2492,2410,2807,2216,1947,1738,1648,1673,1991,2325,3040,3043,2827,3121,2957,2792,2668,2654,2581,2642,2414,2358,2520,2300,1719,1511,1466,1542,2029,2578,3177,3610,3842,3777,3598,3459,2981,2787,2862,2972,3023,2955,2663,2256,2192,2411,1969,1977,2334,2524,2402,2615,2548,1880,1437,1566,1521,1471,1594,2007,2428,2562,2049,2067,2146,1779,1574,1671,1749,1548,1564,1727,1215,1677,1894,2232,2404,2569,2393,2526,2274,1824,1759,1409,1439,1793,1944,1471,1917,3023,3227,3283,2918,1992,1757,1911,2116,1943,1858,1731,1588,1959,2111,1873,1409,1697,2054,2496,2921,2900,2545,2167,1676,1743,2026,2491,2355,2122,1961,1930,1979,1881,1732,1807,2150,2439,2231,2055,1971,1836,1609,1593,1701,1391,831,889,1659,2153,2385,2177,1702,1725,1714,1904,1769,1504,1761,1859,1305,1061,1470,1775,1837,1995,2366,2427,2386,2102,1833,2157,2229,1775,1853,1907,1753,2481,3481,3874,4004,3710,3112,2585,2052,1959,1766,1505,1394,1459,1530,1646,1918,2244,2071,1741,1584,1432,1503,1780,2109,2154,1603,1741,2602,3428,3519,2972,2326,2145,2978,2358,2201,2212,1895,1700,1893,1941,1735,1509,1570,1996,2093,2106,1958,1984,2010,2208,2635,2564,2344,2592,2910,2451,1961,2224,2191,2576,2136,1796,1588,1403,1273,1221,1149,1122,1161,1450,1720,1700,1584,1533,1305,1183,1262,1291,1275,1449,1454,1247,1294,1415,1563,2270,2577,2445,1985,1830,1848,1795,1839,1981,2005,2093,2045,1814,1986,2356,1643,1889,2061,1990,1820,1673,1621,1620,1533,1762,1598,1714,1874,2170,2736,2045,1188,1245,1648,1722,1489,1791,1695,1626,1848,1555,1464,1589,1582,1726,1986,1810,1817,1816,2079,1875,1621,1396,1353,1476,1785,2020,1847,1936,1621,1073,1343,1530,1656,2050,2602,2226,2024,2500,2454,2198,1832,1759,2281,2142,2088,1994,2339,2972,2649,2176,2003,2710,2573,2140,2018,1524,2128,2326,2368,2780,2541,2289,2430,2401,2475,2712,2130,2094,2410,1697,2683,3098,2464,2234,2758,2855,3032,2885,2280,2283,2812,3176,3407,3065,2864,2769,2916,2789,2654,2777,2868,3113,3201,2613,2583,3153,3142,2777,3221,3206,3237,3461,3190,2695,2789,3046,3418,3438,2770,2022,1961,1828,2116,1901,2182,2739,2249,2037,2394,2081,1665,2025,2173,2378,2636,2629,3075,2822,2546,2526,2299,1985,2214,2185,2165,1781,1763,2204,2366,2684,2115,2316,2053,2732,2846,2853,2406,2228,2187,2183,2414,2622,2798,2569,2930,2728,2258,2375,1915,1603,1562,1991,2605,2470,2526,2531,2063,2054,2206,2562,3428,3221,2722,1858,1942,2348,2154,2203,2750,3045,3087,3407,3452,3454,3787,4173,4145,3585,3193,3243,3702,4107,4123,4037,3867,3609,3659,3533,3263,3103,3316,2850,2469,2407,2791,3327,2880,2017,1408,1793,3197,3765,3746,2961,3083,3697,3987,3849,3537,3629,3880,4372,4308,3961,4026,3783,3377,2653,1885,1530,1381,1376,1533,1664,1651,1643,1600,1694,2053,2461,1731,1570,1501,1556,1510,1511,1553,1527,1717,1909,2060,3043,3733,3963,2976,2000,2171,2063,2033,2334,2138,2196,2552,2510,2696,2439,2684,2277,1957,2457,3282,3172,2692,2896,2697,2697,3028,2683,1915,1249,1735,2468,2934,2707,2590,2398,2432,2768,2621,2337,2277,1927,1623,1654,1799,2102,2248,2270,2524,2070,2278,2670,2115,1794,2084,2318,1870,1880,2513,2316,1999,2530,2422,2786,2906,2171,1980,2043,2149,2258,2564,2799,2146,1980,2081,2357,2962,3253,3123,2896,2450,2329,3053,3444,3674,3703,3564,3065,2558,2826,2013,856,358,308,275,252,309,304,485,1636,2479,2757,2408,2375,2689,2692,2331,2320,2576,2555,2465,2471,2661,2328,1605,1449,1108,1492,2204,2315,2168,2213,2127,2244,2643,3296,3487,2996,3046,3085,3316,3187,2878,2872,3426,3593,3220,2955,2599,2287,2250,2307,2709,2309,2139,2589,2379,2353,1994,1726,1870,2698,3374,3103,2374,2248,2232,2519,2579,2067,1787,1936,2144,2266,2299,2612,2858,2884,2811,2241,2384,2442,3244,3717,3130,2463,1749,1729,2123,1688,1596,1820,1972,2073,2062,2215,2886,3372,3806,3908,3770,3753,3913,3909,3609,3880,4237,4002,3715,3478,3498,3899,3516,2967,3040,3307,3018,2690,2213,2092,2224,1625,1361,2210,3114,3124,2900,2831,3005,3007,3156,3373,3603,3885,3260,3128,2423,2401,2193,2392,2677,2766,2387,2079,2231,2164,1816,2011,2401,2602,2623,3286,3668,3674,3488,3171,2873,3055,3155,2619,2689,2326,3097,3754,2920,2338,2282,2257,2241,2350,2400,2194,2385,2445,1986,2542,3175,2792,2624,1890,1337,2452,3083,2921,2430,2270,2597,2447,2924,3045,2823,2625,2614,2306,1879,2171,2514,2668,2604,2332,2512,2412,2603,2872,2828,2986,3038,2548,2908,3076,2657,2165,2139,2349,2323,2172,1681,1460,1689,2086,2199,1882,2143,2568,3063,3152,2662,2661,3032,2732,2521,2585,3763,3638,2959,2810,2294,1645,1644,1974,2018,1516,1447,2146,2522,2446,2139,2503,2047,1981,2443,2406,2319,1961,1720,1663,2115,2096,2194,2041,1926,1420,1115,1445,1749,1613,1778,2056,2144,2378,2587,2049,2312,2514,2083,2139,2253,2110,1694,1785,2159,2415,2728,2575,2040,1798,1621,1664,1802,1718,1653,1483,1465,1427,1422,1463,1709,1877,1548,1559,1588,1799,2498,2830,2913,3367,3472,3272,3286,3359,2643,2181,2106,1947,2558,2202,2080,1824,1779,1890,2323,2662,2626,2834,3000,2623,2281,2446,2530,2843,3313,3300,2434,1900,1801,2163,2348,2578,2780,1982,2292,2508,2620,2567,3008,3782,4084,4077,4164,3826,3462,3746,3862,2845,2645,2799,2623,2709,2576,2216,2437,2282,2247,2342,2206,2233,2554,2575,2653,2535,2176,2021,2078,2137,1896,1741,1743,1703,1578,1584,1736,1887,2096,2474,2386,2153,2066,2082,2178,2201,2355,2729,2852,2470,2002,1615,1397,1603,1886,2027,2953,2972,2662,2954,3121,2687,2408,2531,2442,2552,2976,2124,1761,2182,2459,2570,2617,2497,2500,2755,2885,2721,2681,2615,2272,2387,2565],[2684,2504,2236,2079,2380,2578,2440,2741,3054,2944,2722,3045,2758,1732,1733,1953,1856,1842,1628,1917,1620,1232,1540,2272,2381,2186,2485,2852,2965,3337,4300,4312,2677,2055,2416,2785,2983,3020,3037,3005,3174,3130,2722,2361,2801,2841,2556,2997,2843,2499,2453,2633,2788,2808,2862,2861,3101,2817,2750,2676,2204,2187,2945,3340,2944,2765,2812,2486,1841,1670,2057,2204,2497,2727,2599,2269,2333,2591,2564,2598,2732,2340,1938,1898,1998,1965,2190,2607,3222,2893,2545,2161,2578,2907,2566,2434,2670,2574,2415,2383,2789,3001,2981,2907,2872,3196,3562,3350,3430,3870,3875,3353,2665,1992,2229,2550,3077,3260,3017,2599,2532,2441,2486,2333,2593,2737,2326,2154,2100,2251,2553,2508,2307,2144,2398,2862,3350,3264,2443,2071,2156,2152,2145,2359,2387,2262,2906,2799,2345,2448,2670,2613,2136,1736,1728,1741,1935,2662,2912,3211,3110,3154,3430,3151,2450,1846,1640,2357,3349,2744,1598,1679,1652,1710,1630,1488,1518,1975,2326,2271,2158,2049,2258,2130,1949,2505,2399,1899,2031,2368,2646,2259,1783,1673,2091,2598,2599,2459,2242,1951,1931,1801,1376,1628,1718,1841,2369,2184,1832,1858,1650,1838,1946,2183,2443,1963,2174,2103,1954,2175,2375,2126,1835,1807,2259,2379,1956,2144,1702,1616,2556,2766,2510,2287,2261,2757,3135,3421,3333,2345,2641,3010,2823,2797,2393,3283,3300,2375,2608,2719,2205,2303,2778,3157,3032,2326,2001,1989,1923,1885,1911,1613,1417,1568,1736,1666,1804,1982,2278,2298,2366,2553,2150,1509,1845,1659,1791,2035,2060,2346,2330,2055,2054,2364,2393,1951,1955,1957,1927,2235,2379,2504,2879,2585,2338,2463,2291,2257,1996,1890,1869,2004,2388,2235,1994,2021,2363,2324,2479,2372,1921,1635,1795,2253,2842,2462,2091,2075,2011,1989,2129,2392,2570,2075,2116,2323,1886,2055,2652,2667,2391,1938,1466,2600,3805,3572,3394,2810,2087,1882,1825,2007,2518,2377,2376,2366,2291,2224,2203,2092,1845,1644,1852,2309,2025,1994,1981,2127,2836,3132,3104,2720,1990,1686,1588,1450,1700,2098,1824,1436,1512,1729,1814,2358,2581,2295,2177,2364,1960,1418,1759,2136,2389,2222,1372,1127,1329,1358,1421,1310,1298,1262,1592,2066,2106,1983,1756,2166,1710,1451,1468,1455,1606,1706,1729,1659,1885,1897,1536,1597,1776,1703,1712,1981,1996,1719,1564,2259,2424,1718,1814,1772,2294,2296,1948,1713,1780,1945,1821,1836,1520,1248,1777,2334,1882,1706,1741,1913,1974,1852,1774,1820,1704,1736,2238,2164,2045,2331,1755,1820,2134,2120,2766,2195,1789,1778,2148,2210,1827,1549,1709,2108,2252,1977,1807,1631,1585,1594,1481,1566,2376,3032,2950,2534,2214,1874,1472,1517,1715,1737,1856,1691,1915,1764,1727,2127,1920,1583,2185,2199,1719,1703,1616,1838,1636,1549,1792,1882,1786,1828,2183,1946,1784,2079,2082,2696,3042,2922,2272,2520,2015,1758,1827,1866,1638,1791,2150,2056,1951,1964,2297,2510,2635,3127,3122,2557,2336,2519,2969,3016,2888,2812,2732,2727,2851,3020,3134,2579,3089,3558,3562,3428,3383,3441,3685,3704,3607,3607,3618,3220,2852,2060,2266,2577,2764,2501,2520,2746,2109,1562,1763,2403,3044,2828,3205,3368,3471,3968,4212,3879,3685,3165,3457,4366,4467,4452,4167,3917,3695,3176,2920,3326,3664,3806,3924,3548,3304,3737,3855,3763,3705,3796,3684,3516,2890,2435,2004,1801,2030,2564,2779,2823,2797,2624,2159,2105,2379,2691,2944,3306,3079,2928,2818,2894,2998,3211,3501,3667,3343,3231,3123,3196,3406,1929,806,774,1023,1044,1942,2703,1934,1686,1759,2177,2316,2579,3437,3464,3321,3537,3583,3526,3255,3141,3238,3556,3181,2068,1530,1595,1648,1642,1560,1552,1532,1567,1588,1648,1756,1653,1659,1678,1510,1784,2589,2259,1963,2471,2370,1697,1587,2164,2536,1862,1643,2192,2344,2288,2417,2579,2972,2878,2564,2523,2424,2121,2051,2083,1909,2076,2676,3245,3760,3951,3378,2620,2432,2642,3036,3555,3712,3639,3459,3041,2407,2062,1904,2198,1924,2077,2799,2679,2316,2369,2221,1891,1597,1793,1758,1648,1703,2025,1903,1797,1958,2296,2496,2291,2116,2025,2116,1939,2015,1869,1436,1921,2285,2268,1982,2140,2394,2265,2186,1901,1735,1323,1552,2106,2372,1669,2451,3130,3226,3308,2382,1547,1665,1760,1839,1759,2015,1607,1758,2110,2153,1606,1460,1925,2364,2587,2979,3233,2298,1916,1676,1806,2077,2298,2427,2293,2007,1994,2186,2213,1764,1802,2223,2163,2188,1996,1930,1811,1585,1479,1899,1720,1381,1867,2767,2963,2782,2003,1702,1729,1954,2156,1826,1499,1607,1392,1078,1625,2006,1876,2072,1793,2032,2142,1850,1866,2457,2632,2578,2329,1924,1857,2199,3008,3873,3692,3043,2550,2247,1959,1830,1784,1643,1487,1520,1551,1295,1378,1748,1862,1792,1459,1497,1802,2099,2235,2228,1949,2008,2742,3106,3197,2912,2226,2110,2534,2664,2217,2232,2599,2521,2327,2259,2005,1943,1717,2111,2249,2120,2080,2470,2975,3025,2663,2399,2397,2472,2806,2868,2448,2046,2258,2485,2154,1973,1621,1357,1399,1440,1343,1244,1168,1326,1698,1771,1726,1569,1376,1316,1198,1224,1266,1414,1560,1537,1507,1366,1771,2013,2669,2995,2329,1959,1964,1992,1982,1993,1669,1616,1877,2081,2167,2133,2174,1882,1960,2155,2463,2242,1848,1704,1488,1484,1491,1695,2140,2047,1854,1733,1549,1350,1542,1911,1823,1795,2335,2084,1743,2153,1799,1847,1512,1519,2045,2261,1839,1673,1622,1849,2054,1878,1826,1814,1651,1643,1920,1886,2105,1803,1197,1414,1629,1544,1812,2205,1888,2157,2289,2282,2430,1895,1631,1816,1775,1839,1957,2048,2280,2566,2383,2664,3252,2147,2022,1808,1923,2644,2718,2430,2512,2310,2081,2420,2788,2552,2200,1904,1951,2701,2879,3378,3042,2130,2150,2404,2348,2744,3041,2355,2221,2615,2940,3008,2897,3150,3089,3019,2923,2883,2940,2830,3098,3352,2697,2618,3083,3132,2954,2984,3119,3409,3530,3140,2643,2795,3642,4013,3370,2706,2143,1844,1917,1611,1698,2195,2481,2671,2196,2016,2048,2120,2103,1736,2109,2480,2668,2824,2709,2333,2085,2077,2261,1974,1615,1931,1731,2122,2039,2313,2319,2038,2425,2376,2495,2533,2446,1936,1743,1867,2055,2071,2240,2443,2489,2551,2334,2401,2410,2025,1754,1944,2686,3022,2330,2001,1989,2338,2203,1874,2057,2579,2688,2386,2039,2312,2734,2792,2842,2852,3249,3293,3263,2994,3143,3441,3768,4276,4184,3560,3218,3532,4056,4228,4392,4156,3738,3442,3472,4006,3714,2888,2475,2409,2451,2841,3376,3053,2356,1945,1233,1976,3323,4047,4320,4455,4166,4052,3752,3746,3995,4006,4111,3990,4235,3967,3736,3572,2684,1610,1410,1488,1616,1522,1395,1571,1909,1977,1848,1843,1713,1702,1756,1843,1720,1440,1512,1620,1638,1602,2078,2520,2762,3123,3162,2576,2236,2047,2002,2597,2854,2436,2411,2522,2281,2359,2296,2332,2099,2282,2534,2922,2821,2474,2468,2621,2399,2302,2503,2279,1649,1770,2470,2952,2721,2666,2200,2003,2471,2596,2140,1875,1747,1919,2339,2426,2366,2322,2393,2757,2618,1860,1747,1726,1962,2027,1703,1588,1611,1788,1848,2188,2358,2311,2591,2550,2241,2267,2190,2207,2426,2502,2238,1911,1734,2021,2755,3075,2943,2740,2408,1957,1986,2850,2922,3256,3285,3142,2964,2574,2627,2166,989,412,301,295,286,304,512,1070,2088,2777,2775,2231,2247,2646,2545,2182,1965,1814,1688,1994,2436,2101,1393,1204,954,1007,1165,1571,2110,2130,2176,2214,2211,2056,2635,3288,3355,3309,3282,3525,3260,2854,2827,3101,3378,3322,2327,2055,2765,2237,2092,2521,2404,2392,2414,2242,1959,1700,2033,2343,2659,2799,3037,2494,2874,2398,2253,2446,2143,1704,1626,1980,2288,2287,2540,2909,2774,2312,1887,2202,2355,3012,3500,2799,1852,1852,2359,2555,2188,2446,2171,2122,2204,2228,2088,2368,3100,3754,4152,4314,4256,4200,3651,3463,4116,4096,4016,3834,3729,3868,3908,3385,3042,3504,3688,3062,2752,2375,2329,2394,1955,1539,2097,2752,2887,2939,3083,3264,3364,3139,2783,3352,3740,3444,3416,2822,2949,3208,3017,2998,2746,1967,2085,2651,2090,1994,2365,2602,2638,2799,3127,3133,3370,3317,2582,2352,2822,3062,2689,2602,2038,2727,3499,2790,2080,2166,2128,2448,2996,2774,2317,2502,2148,2111,2213,2742,2933,2691,2125,2316,3041,2885,2540,2293,2563,2404,2032,2604,2771,2386,2175,2218,2105,2071,2209,2336,2656,2524,2580,2880,2379,2476,2867,2956,2963,2987,2755,2568,2416,2514,1936,2238,2451,2515,2181,1902,1871,2032,2535,2220,2015,2484,2486,2395,1855,2502,3211,3350,3146,2592,2220,3016,3615,3471,2691,1832,1601,1858,1871,1802,1738,2226,2491,2368,2686,3248,3088,2195,2334,2790,2532,2018,2182,2376,2005,1781,1857,1962,1968,2072,1724,1402,1628,1770,1728,2047,2014,2042,2395,2931,2331,2150,2483,1970,1766,2056,2173,1905,1893,2285,2712,2945,3362,3352,2244,1666,1796,1846,1751,1804,2042,1981,1397,1365,1460,1678,1581,1479,1687,1820,2053,2568,2840,2942,3094,3130,3289,3250,2946,2246,1944,1975,2410,2924,2466,2357,2473,2374,2097,2007,1836,1775,2653,3422,3178,2280,2293,2493,2311,2464,2893,2729,2549,2273,2304,2493,2946,2620,2066,2306,3041,3440,2917,3284,4028,4084,3906,3926,3875,3934,3783,3934,3996,3504,3018,2678,2787,2731,2985,3120,2479,2039,2339,2405,2743,3000,2661,2631,2836,2739,2369,2166,2442,2358,2027,1626,1425,1510,1816,1957,2237,2286,2336,2130,2170,2064,2297,2719,2520,2323,2539,2746,2543,2553,2145,2020,1898,1456,1830,2534,2533,2252,2313,3013,2786,2880,2862,2315,2023,2608,2281,2156,2451,2168,2376,2460,2120,2359,2425,2249,1982,2132,2155,2133,2445,2326],[2561,2259,2077,2126,2400,2546,2633,2548,2769,3194,3448,3309,2959,1842,1537,1612,1792,1754,1801,2205,2234,1671,1499,2040,1880,1868,2446,2808,2905,3099,3895,3541,2267,2010,2131,2653,3409,3129,2777,2807,2835,3079,2858,2449,2889,2635,2120,2269,2469,2157,2126,2609,2568,2551,2663,2183,2223,2153,2209,2165,1821,2059,2901,3364,3191,2823,2577,2356,1903,1854,2085,2652,2510,2739,2715,2053,2006,2353,2615,2750,2458,1767,1530,1636,1920,2181,2265,2431,2415,2683,2225,1764,2530,3286,2867,2784,2930,2884,2640,2566,2432,2492,2806,2634,2844,3505,3519,3232,3153,3538,3817,3001,2435,2087,2377,2678,2877,3204,3252,3094,2784,2474,2334,2265,2815,2312,2422,2199,1996,2310,2292,2022,1852,2196,2385,2453,2932,3253,2823,2307,2686,2502,2653,2620,2700,2920,2933,2545,2667,2942,2858,2496,1936,1857,2008,1998,2570,3874,3877,3286,2829,3082,3544,3492,3007,2998,3002,3367,3501,2855,1973,1785,1663,1908,1876,1686,1502,1772,2157,1914,2083,2229,2852,3155,2789,2785,2477,2076,2511,2286,2475,2624,2121,2057,2629,2652,2509,2459,2596,2127,1768,1592,1466,1572,1628,1824,2309,2129,2216,2086,1730,1770,2212,2413,2576,2084,2262,2127,1872,2378,2551,2231,1936,1886,2158,2165,2352,2501,2078,2093,2446,2564,2293,1989,2115,2305,2203,2496,2561,2310,2900,2934,3189,3405,3295,3402,2765,2381,3105,3283,2500,2376,2378,2232,2154,1791,1719,1721,1913,1892,1738,1682,1534,1689,1436,1393,1618,1999,2490,2343,2213,2843,2729,2310,2371,1862,1744,1929,1749,2013,2465,2035,1686,2311,2280,1901,2019,2192,2204,2358,2005,1751,2246,2334,2647,2356,1940,2080,1948,1704,1765,2417,2336,2072,2078,2159,2222,2237,2693,2055,2189,2007,1906,3187,3924,3066,2191,1920,1886,1785,1930,2526,2236,2016,2428,2219,1806,1745,2090,1998,1889,1969,2050,2905,3480,3329,3562,2945,2186,1929,1983,2064,2574,2334,1791,1936,2299,2402,2442,2243,1956,1650,1452,1745,2270,2092,1926,2436,3266,3214,3053,2788,2094,2459,2375,1520,1999,2275,1800,1621,1636,1735,1595,1991,2424,2169,1898,2100,2162,1992,2004,2191,2497,2553,1792,1542,1823,2046,1962,1802,1915,1614,1690,1968,2059,1885,1784,2024,1780,1532,1498,1493,1630,1700,1637,1321,1611,1831,1739,1802,1714,1790,1765,2119,2170,1757,1873,2701,2807,1676,1910,1918,2175,2171,1734,1730,1872,1745,2154,2286,1652,1368,1599,1970,1613,1403,1780,2342,2187,1648,1526,1705,1771,1670,1754,1664,1825,2221,1805,1781,2032,2165,2225,2008,1776,1681,1723,1733,1587,1386,1490,1636,1955,2172,1978,2137,1947,1715,1638,1670,1915,2224,2508,2236,1819,1754,1636,1943,1980,2058,2433,2125,1938,2068,2095,2086,1642,1447,1887,1852,1653,1682,1741,1677,1382,1471,1826,1870,1695,1750,2071,1788,1578,1771,2044,3032,3161,2369,1903,2004,1842,1487,1339,1728,2104,2086,1669,1797,1586,1709,2137,2372,2667,3197,2963,2500,2394,2466,2386,2194,2023,2281,2588,2901,2979,3053,2917,1425,1484,2940,3480,3492,3556,3416,3481,3405,3267,3072,3282,3030,2673,2136,2521,3156,3200,2956,2906,2732,2145,2061,2534,2708,2908,2741,3305,3596,3868,4176,4477,4312,4050,3658,3661,3935,3795,4156,4184,4128,3430,3315,3664,3638,3316,3441,3776,3315,3336,3835,3696,3776,3726,3638,3330,3485,3100,2419,2326,2194,2262,2626,2601,2768,2646,2479,2055,1808,2801,2957,3090,3437,2824,2136,2309,2834,3085,3166,3460,3517,2824,3162,3383,3678,4464,2485,829,712,728,798,1543,1720,698,697,616,595,667,1287,2315,1799,1611,1916,1956,2253,2533,2732,3177,3640,3131,2397,2234,2284,2097,1996,1839,1685,1596,1578,1671,1794,1957,1786,1798,1825,1991,2072,2208,2137,2360,2636,2041,1408,1885,2537,2294,2029,1820,1975,2263,2449,2244,2286,2556,2445,2141,1989,2041,2074,2298,2482,2744,3031,3348,3596,3671,3243,2500,2028,2043,2185,2424,2662,2454,2342,2347,2053,1767,1878,1798,2352,2934,2921,2621,2421,2368,2138,2125,1905,1858,1910,1988,1943,1999,2282,2205,2049,2098,2377,2462,2352,2418,2137,2220,1799,1882,1768,1678,1809,1939,1667,1350,1708,2122,2005,2214,2249,1693,1429,1708,2708,2570,2233,2963,3102,3313,2975,1837,1571,1760,1597,1541,1848,1913,1683,1908,2126,1916,1493,1626,1975,2223,2552,3239,3355,2476,1835,1621,2052,2540,2423,2558,2546,2183,2034,2233,2471,1844,2094,2088,2158,1954,1958,1854,1691,1389,1355,1646,2036,2453,2338,2790,3107,3128,2670,2201,1856,1903,1929,1692,1474,1377,1354,1549,1762,1601,1417,1481,1524,1815,2093,2251,2744,2959,2388,2410,2736,2022,2096,2200,2145,2325,1919,1629,1620,1779,1930,1992,1783,1521,1621,1760,1795,1724,1978,2046,1811,1598,1444,1719,2100,2283,2260,2341,2365,2434,2939,3250,2836,2662,2253,2685,3205,3271,3124,3030,3370,3050,2370,1891,1791,2037,1767,1863,2030,2080,2286,3071,3686,3538,2780,2364,2847,2978,3268,2976,2069,1438,1738,2135,2270,2470,2009,1644,1851,1832,1687,1438,1180,1187,1684,1741,1652,1645,1396,1239,1258,1373,1384,1266,1338,1912,2601,2598,2609,1824,2035,2103,2026,2274,2347,2305,1928,1617,1557,2120,2386,2249,1759,1792,1964,1975,1931,1998,2140,1751,1675,1666,1244,1481,1581,1820,2183,2535,2143,1694,1631,1728,1838,2058,1987,1712,1995,1947,1823,2947,2823,1948,1649,1809,1931,1864,1582,1483,1675,2042,2044,2056,2268,1842,1592,1637,1851,1898,2023,1809,1527,1594,1586,1379,1643,1799,1209,1589,1860,1925,2293,1972,1713,1737,1613,1677,2038,2281,2193,1844,1852,2920,3484,2319,2125,1975,2302,2439,2527,2403,2357,2285,2103,2750,2925,2189,2081,1842,2111,2777,2973,3231,2853,2428,2489,2514,2055,2374,2951,2413,2267,2950,3255,3012,2730,2967,3184,3178,3156,3204,3278,2897,2933,2997,2909,2825,2840,3018,3028,2678,2887,3481,3654,3419,3159,2918,3552,3609,3010,2468,2144,1993,1860,1957,2319,2028,2275,2478,2039,1897,1898,2011,1765,1662,2041,2242,2312,2494,2664,2329,2232,2173,1690,1490,1386,2005,1781,2301,1917,1778,1886,2368,2577,2428,2412,2136,1584,1686,1831,1864,2208,2536,2383,2125,2143,2130,2302,2419,2307,2365,2361,2433,2369,2352,2149,2055,2133,3264,2834,2196,2341,2460,2574,2677,2259,2158,2684,2885,2952,2923,3647,3964,3746,2795,2840,3327,3386,3835,4232,4055,3751,3825,4205,4497,4561,4361,3666,3194,3639,4629,4285,2999,2562,2511,2491,2811,3443,3745,2877,2499,1707,1459,2894,4421,4716,4588,4348,4100,3713,4129,4026,3482,3673,3974,4039,4034,3905,3698,3018,1785,1565,1507,1766,1699,1540,1608,1897,2098,1692,1384,1500,1707,1729,1602,1610,1484,1569,1882,1850,2276,3263,3232,2292,2108,2119,2053,1873,1881,2070,2455,3159,2996,2268,2129,2455,2483,2138,1814,2046,2294,1976,1789,1903,2230,2706,2568,2105,2194,2420,2566,2334,2188,2416,2828,2908,2537,2083,2228,2318,2100,2038,1601,1807,2067,2265,2492,2823,2844,2046,2002,2056,1686,1687,1738,2138,2198,2204,2149,1870,1625,2042,2647,2440,2119,2029,2408,2323,2674,2514,2054,2121,2093,1832,2077,2293,2388,2707,3038,2830,2181,1948,2264,2776,3411,3321,3274,3257,3386,3206,2562,2275,1857,601,359,283,302,269,300,568,1660,2541,2730,2268,1772,2127,2260,2094,1878,1590,1714,1820,2295,2399,2008,1587,1255,1032,1249,1321,1322,2018,2281,2091,2088,1914,1928,2103,2758,3455,3174,2795,2818,2819,2865,2740,2829,3211,3144,1891,2068,2622,1964,2032,2312,2356,2332,2010,2120,2322,2234,2470,2253,2222,1897,2135,2460,2666,2475,2385,2448,2312,1970,1998,1887,1520,1864,2380,2518,2126,1821,2014,2474,2383,2529,2990,2464,1982,2602,2771,2831,2975,3082,2482,2096,2142,2140,1855,1936,2519,3292,4141,4274,4259,4113,3160,2737,2791,3227,3660,3827,3763,3836,3750,2953,2795,3497,3696,3252,3377,2733,2282,2586,2599,2213,2220,2018,2054,2604,3428,3888,3757,3666,3804,3759,3206,2669,2603,2888,3604,3902,3053,2504,2475,2145,1916,2385,2192,2530,2108,2136,2782,3117,3083,2917,3246,3636,3028,2973,3072,3056,2196,2074,1877,2008,2219,2093,2020,2044,2154,2930,2852,2249,2056,2074,2420,2547,2364,2865,3090,2841,2632,2766,3205,2867,2696,2834,3348,2722,1762,1828,1510,1344,1983,2075,2009,1624,1742,2097,2450,2108,2521,2797,2433,2310,2784,3252,3172,3008,2785,2114,2039,2670,2515,2525,2166,2138,2254,2306,2447,2822,2877,2256,2576,2458,2207,2144,2272,2854,3243,3041,2828,2273,1993,2427,2826,2411,2007,2281,2020,1757,1813,1898,2139,2509,2404,2834,3573,3881,3227,2247,2755,2945,2603,2160,2256,2127,2099,1654,1523,1648,1797,2005,1910,1651,2045,2243,1981,1818,1929,2284,2349,2208,1812,2165,2346,1969,2103,2246,2261,2074,2180,2243,2949,3326,3660,3191,2282,1712,1567,1555,1515,1586,1983,1919,1401,1485,1438,1529,1511,1679,2030,2084,2245,2564,2784,3111,3250,3148,3322,3062,2445,2279,1969,1957,2526,3236,3494,3107,3159,3270,2897,2528,2325,2051,2723,3308,2590,2065,2127,2436,2503,2400,2406,2111,2198,2148,2223,2697,3442,2930,2215,2246,2441,2434,2968,3587,3826,3813,3753,3529,3528,3630,3834,4145,4069,2973,2553,2380,2335,2498,2825,2776,2579,2344,2549,2228,2449,2689,2652,2272,2196,2438,2381,2448,2264,2110,2253,1880,1715,1911,2227,2391,2388,2072,1819,1678,1765,1882,2261,3283,3227,2191,2223,2271,1629,1744,1855,1952,1769,1898,2940,3305,2762,2092,2464,2743,2457,2940,2437,2334,2380,2584,2451,2184,2335,2470,2685,2430,2212,2308,1950,1933,1959,2057,2183,2216,2389,2549],[2359,2311,2060,1921,1990,2500,2676,2109,2472,3061,3143,3064,3143,2235,2121,2382,2565,2138,1745,2235,2699,2121,1781,1812,1491,1809,2463,2896,2509,3050,3858,3262,2356,2092,1759,2231,3132,2714,2721,2705,2400,2668,2522,2405,2419,2291,2247,2337,2352,1848,1792,2080,2070,2298,2262,2300,2244,1957,2156,2171,1794,2070,2697,3165,3020,2675,2457,2578,2094,2055,2183,2540,2376,2558,2296,1732,1748,2260,2554,2776,2742,2148,1828,1634,1691,2233,2622,2589,2454,2443,2194,1893,2480,2758,2973,3128,2856,2726,2883,2910,2621,2429,2438,2310,2608,2977,2875,2792,2614,2513,2887,2750,2082,2105,2345,2790,2958,2931,3068,3034,2302,2048,2264,2596,2810,2188,2476,2044,1931,2098,1989,1770,1720,2105,2317,2387,2368,2472,2364,2976,3564,3132,2752,2598,2562,2752,2896,2687,2754,3146,3152,2391,1962,1893,1968,2126,3041,4140,4277,3325,2774,3022,3304,3497,3462,3650,3500,3150,3057,3046,2540,2143,1796,1863,1924,1583,1246,1191,1483,1404,1794,2150,3230,3730,3483,2883,2246,2172,2366,2344,2092,2329,2579,2584,3168,2600,2331,2512,2474,2246,2043,1931,2105,2315,2016,2304,3055,2617,2684,2651,2708,2792,2547,1954,2065,2097,1888,1538,1734,2346,2868,2390,1887,2007,2173,2291,2333,2548,2677,2707,2576,2348,1946,1994,2220,1817,1790,2303,2186,2361,2630,2817,2989,2980,3011,2706,2208,2279,2917,3741,2862,2595,2287,2300,2220,1851,1726,1870,1906,1593,1655,1973,2199,1866,1432,1797,1727,1710,2015,2298,2553,2999,2805,2733,2634,2090,1947,1740,1882,2254,2754,1984,1510,1847,1998,1755,1773,2049,2188,2304,1932,2323,2234,2004,2123,1934,2140,2316,2116,1763,2130,2442,2010,1942,2072,2055,2339,2543,2564,1994,2539,2353,2156,2271,2626,2921,2409,2308,1882,1734,2265,2625,2166,2117,2230,2060,2040,2122,2344,2133,1788,1947,2600,3374,3297,3138,3658,3400,2433,2092,2387,2396,2696,2644,2008,1947,1902,1939,2517,3083,3284,2500,1729,1608,2248,2552,2683,3537,4056,3913,3780,3452,2447,2502,2246,1924,2037,1909,1887,1786,1733,1599,1649,1818,1953,1996,2098,2355,2222,2097,1986,1860,2082,2092,1881,1820,1826,1902,1844,2024,1925,1825,1866,1999,2209,1936,1842,2051,1736,1541,1372,1549,2177,2342,2272,1554,1835,1683,1620,1948,1992,2071,2052,1865,1766,1747,2216,2994,2764,1760,1870,1874,1854,1849,1602,1673,1747,1630,1687,1656,1654,1576,1715,1709,1638,1423,2046,2636,2121,1583,1476,1563,1620,1607,1617,1920,1686,1657,1908,1818,1615,1722,1720,1659,1710,1823,1750,1748,1996,1851,1777,1687,1832,1881,1621,1664,2066,2206,1948,1924,1818,1840,2398,2086,1500,1670,1756,1828,1770,2294,2990,2411,1710,1637,1783,1995,1796,1789,2157,1877,1712,1880,1959,1772,1403,1510,1901,1846,1644,1543,1609,1691,1509,2034,2088,2420,2631,1964,1794,2083,1923,1341,1337,2171,2458,1929,1540,1468,962,805,1010,1272,1618,2047,2250,2500,2658,2397,1882,1860,1643,2304,2822,2897,2775,2958,2740,1371,1345,2792,3310,3387,3979,4038,3947,3807,3486,2939,3219,3172,2488,2068,2729,3210,3051,2789,2632,2656,2215,2284,2513,2922,2938,2843,3066,3285,3649,4171,4390,4287,4100,3940,3968,3706,3602,4064,4404,4344,3758,3532,3654,3618,2967,2689,3082,3094,3454,3771,3924,3993,4058,3924,3812,3933,3165,2092,1871,2016,2236,2584,2547,2774,2686,2265,2415,2071,2275,2532,2702,3298,3142,2291,2243,2524,2767,3327,3278,2651,2467,2866,3075,3697,3558,1599,679,688,708,872,1400,1201,694,602,626,631,576,1272,1810,953,559,550,678,711,714,1489,3044,4024,3782,3133,2988,2862,2866,2898,2507,2180,2173,2305,2220,2382,2490,2194,2100,1852,1622,1555,1628,2308,2834,2226,2176,2175,2700,2872,2454,2364,2046,2055,2272,2255,2130,2316,2468,2342,1835,1885,2116,2128,2243,2431,2831,2847,3006,3074,2658,2127,1874,1997,2580,2764,2577,2385,2244,2030,2104,2210,2047,2058,2088,2473,2932,2962,2691,2614,2653,2671,2607,2207,2318,2650,2686,2459,2614,2763,2415,2419,2248,2288,2170,2133,2076,1946,2197,1916,1708,1776,1784,1888,1849,1733,1816,1893,1892,2058,2382,2234,1530,1581,2038,2777,2322,2361,3123,3218,3054,2293,1575,1591,1550,1404,1562,2039,1850,1735,2006,2053,1692,1414,1820,2254,2425,2763,3419,3188,2301,1682,1673,2343,2700,2400,2317,2243,2100,2165,2036,1806,1914,2165,2076,1951,1958,1915,1820,1854,1742,1342,1412,2321,2692,2595,2498,2856,3138,3194,2944,2264,1831,1650,1500,1625,1649,1562,1469,1300,1319,1416,1550,1694,1706,2067,2659,2785,2322,1757,2089,2521,2063,2033,1844,1706,1758,1691,1615,1755,1803,1816,1871,1744,1753,1931,1889,1746,1897,1809,1611,1661,1775,1794,1573,1626,2128,2184,2228,2146,2291,2741,3174,3046,2923,2812,3165,3548,3626,3261,3276,3418,2832,2338,1499,1552,2125,1951,2188,2568,2094,2014,2902,3531,3228,2391,1990,2556,2874,3083,2564,1869,1376,1486,1874,1930,1985,2041,2118,2324,2452,2315,1806,1561,1294,1283,1425,1459,1548,1416,1244,1456,1542,1372,1288,1441,2076,2678,2723,2794,2056,1976,1918,2402,2546,2140,2346,2122,1670,1741,2446,2935,2436,1902,1593,1621,1869,1948,1966,1603,1333,1862,1763,1583,1639,1531,1641,2301,2776,2278,1771,1636,1576,1638,1757,1671,1562,1669,1740,1663,2424,2799,1982,1809,1935,1848,1838,1709,1516,1637,1903,2024,2046,1946,1365,1542,1612,1630,1802,1864,1812,1682,1694,1400,1354,1766,2225,1598,1833,2360,2732,2711,2181,2007,1948,1601,1266,1141,1300,1680,1052,1101,2120,3262,3010,2285,2358,2338,1942,2291,2598,2602,2393,2237,2446,2255,1976,2100,1626,2190,3078,3273,2898,2765,2941,2599,2436,2348,2193,2691,2823,2524,3118,3704,3616,3446,3385,3250,3050,3065,3327,3330,2777,2934,2828,2862,2957,2966,2989,2737,2527,2652,3105,3395,3370,3496,2972,3300,3408,2760,2081,2419,2488,2233,2405,2024,1935,2192,1894,1990,1876,1810,1915,1609,1629,1809,1957,2237,2474,2544,2644,2396,1805,1967,1920,1904,1791,2029,2098,1504,1525,2032,2636,2822,2322,2143,1936,1248,2384,2685,2370,2537,2744,2531,2180,1674,1780,2518,2438,2083,2323,2199,2012,1588,1448,1571,2297,2500,3204,3494,2775,2272,2318,2504,2634,2468,1957,2086,2441,2708,2636,2922,3757,4119,3254,2809,3440,3504,3381,3564,3864,3877,3858,4135,4441,4432,3962,3398,3312,3841,4455,4220,3398,2626,2450,2543,2987,3758,4067,3510,2769,2166,1639,2129,4045,4327,4136,3889,4025,3761,3769,3386,3129,3321,3602,3938,4099,3885,3764,3522,2379,1613,1490,1731,1530,1550,1490,1566,1794,1728,1480,1449,1605,1655,1479,1598,1907,2197,2238,2147,2966,3279,2490,1777,1654,2001,2238,1935,2110,2003,1876,2317,2734,2333,2288,2492,2161,1801,1866,2011,1830,1801,2172,1904,2372,3041,2201,1770,1891,1919,2081,2338,2390,2585,2722,2328,1904,1832,2548,2579,2292,2132,2194,2775,2424,1869,2013,2470,2790,1962,1801,1369,1504,1631,1842,2246,1921,1868,2168,2139,2066,2181,2939,2712,2176,1568,2126,2191,2389,2032,1759,2094,2264,2154,2515,2652,2508,2499,2354,1979,2147,2509,2850,2815,2664,2714,3143,3559,3683,3152,2588,2296,2041,695,333,307,290,305,304,377,1430,2567,2364,1472,1425,2043,2088,1936,1820,1670,1889,2049,2324,2320,2330,2077,1365,951,1301,1846,1999,2148,2455,2276,1978,1509,2061,2460,2566,2962,2608,2065,2402,2908,2984,2898,2808,2832,3253,2496,2218,2298,2228,2328,2195,2282,2579,2436,2698,2885,2366,2135,1958,2011,1958,2237,2241,1965,2095,2123,2415,2296,2105,2361,2334,2454,2868,2819,2438,1809,1690,2149,2476,2679,2775,2670,2142,2045,2867,2906,3057,2883,3038,2696,2056,1991,1810,1717,1787,1919,2368,3671,4172,4288,4125,3174,2656,2380,2392,3164,3679,3421,3513,3514,2842,2687,3370,3660,3435,3614,3460,2685,2767,2812,2317,2414,2200,2249,2366,3029,4131,3990,3748,4293,3740,2633,2206,2548,3574,3783,3773,2834,2238,2464,2312,2029,2337,2367,2668,2002,1799,2751,3152,3007,2706,2876,3250,2968,2627,2336,2135,1887,1866,1839,1708,1640,1807,1994,2286,2182,2968,2548,2514,2674,2702,2910,3284,3486,2921,2687,2487,2495,2785,3039,2864,2736,2688,3000,2569,1875,1747,1581,2116,2924,2232,1782,1448,1453,1941,1940,2210,2729,2642,2932,3138,3152,3196,2658,2114,2376,2023,2402,2602,2390,2150,1714,1725,2188,2434,2635,2900,2791,2446,2669,2515,2615,2508,2808,2426,2744,2994,2651,2955,2909,2599,2668,2895,2642,2766,2542,1870,1908,2006,2234,2722,2573,2597,3440,3851,3624,2786,2956,2769,2433,2207,1908,1723,1716,1802,1813,1816,1881,1937,1929,2121,2821,3450,2780,2198,2606,3383,3504,2635,2299,2827,3018,2310,1886,2059,2015,2308,2872,2765,2380,2302,1791,1638,1982,2044,2130,1908,1511,1300,1445,1472,1435,1484,1381,1419,1449,1747,2116,2279,2495,2686,2808,3312,3571,3282,2973,2431,2062,2410,2460,2441,2684,3620,4039,3238,2543,3119,3508,3538,3397,3103,3046,2510,2148,2106,1962,2030,2043,2304,2253,1763,1725,1744,1837,2146,2584,2432,2053,2135,2103,2328,2820,2603,3120,3322,3376,3098,3052,3129,3812,4233,3581,2630,2362,2322,2180,2016,2292,2125,2350,2645,2410,1935,2379,2119,1825,1762,1563,1611,1885,2222,1732,1561,1917,2082,2070,2142,2050,1784,1841,1808,1663,1633,1521,1666,1716,2298,2784,2576,2770,2555,1771,1324,1302,1444,1821,2480,2449,2486,2549,2249,2872,3138,3112,2544,2050,2473,2600,2722,2524,2130,2184,2404,3074,2843,2533,2667,2442,2229,1964,1701,1715,1638,1829,2346],[2631,2649,2398,1979,2034,2635,2951,2314,2306,2901,3309,3109,2980,2409,2381,2456,2410,2113,1677,2288,2844,2343,2118,2198,2044,1958,2281,2490,2350,2805,3349,3208,2977,2969,3011,2663,2244,2150,2154,2194,1655,1245,1948,2839,2541,2286,2248,2079,2201,1913,1890,1707,1929,2154,2144,2203,2155,2082,1978,1493,1329,1805,2336,2934,2805,2525,2493,2715,2719,2969,2588,2040,2255,2491,2147,2075,1996,2182,2486,2931,3042,2736,2077,1634,2112,2503,2216,2053,2058,2570,2888,2595,2675,2473,2878,2920,2811,2980,3185,3097,2873,2770,2712,2362,2286,2548,2737,2670,2329,1987,2239,2230,1969,2081,2545,3113,2522,1965,2367,2933,2475,2313,2274,2412,2188,2456,2997,2291,2161,2222,2136,1974,1876,2036,2044,2571,2482,2149,2442,3418,3782,3331,2485,2414,2742,2874,2631,2699,3131,3221,3182,2530,2005,1815,2107,2955,3663,4083,4131,3302,2886,2845,3168,3483,3685,3571,3475,3050,3107,3423,2716,1940,1834,1795,1871,1683,1579,1574,1619,1768,1888,2125,2999,2911,2810,2736,2360,2126,2026,2397,2249,2108,2568,3312,3094,2530,2327,2139,1981,2066,2094,2062,1943,1992,1864,2611,3028,2586,2031,2576,3142,2800,1990,1723,1926,1967,1879,1880,1661,1649,2320,1924,1794,2107,1992,2341,2293,2242,2622,2900,3057,2650,1923,2024,1864,1660,1846,2127,2461,2374,1934,2344,3042,3098,2464,2426,2032,2110,2696,3430,2656,3052,3018,2310,1766,1779,1874,1893,1827,1675,1881,2403,2465,1952,1773,1914,1662,1399,1797,2107,2379,2943,2942,2669,2537,2442,2790,2963,2540,2055,1667,1507,1929,2236,1756,1315,1629,1869,2142,2352,2275,2149,1955,1953,1948,2122,2220,2271,1977,1824,2087,2325,2353,2417,1952,1778,2477,2522,2494,2701,2568,2103,2138,2019,2148,2128,2138,2989,2487,1918,2538,2128,2041,2212,2226,2347,2469,2199,2227,2282,2288,2496,3009,3505,2955,2756,3142,3474,2883,2289,2351,2225,2413,2561,1909,1578,1923,2472,2776,3167,3663,3166,2178,1698,2493,3763,4151,4324,4248,4200,4050,3759,2866,1959,1807,1875,1631,1525,1707,2056,2119,1664,1779,1680,1974,2358,2266,2357,2116,1729,1553,1620,1945,2278,2504,2417,2575,1966,1839,1763,1975,2316,2165,1819,1931,1786,1844,1938,1682,1720,1648,2241,2455,2956,2730,1757,1728,1630,1571,1929,2144,2089,2017,2014,2173,1750,1752,2836,2386,1731,1880,1940,1902,1663,1636,1843,1750,1754,1615,1749,1697,1583,1598,1562,1695,1533,1753,1900,1851,1727,1591,1694,1651,1509,1617,2021,1763,1824,2066,1953,1804,1814,1910,1741,1582,1614,1473,1460,2053,2287,1992,1859,1816,1701,1641,1750,2225,2365,1974,2223,2333,1996,2445,2353,1889,2040,2530,2392,2121,2649,2736,1969,1362,1532,1853,2258,1832,1912,2317,2051,1670,1585,1858,1913,1532,1575,1932,1824,1932,1740,1644,2136,2143,2344,1917,1953,2105,1621,1588,1655,1783,1489,1334,2036,2477,1964,1701,1496,1229,1357,1311,1019,1104,1344,1810,2053,2110,2480,2106,1808,1744,2353,3015,3095,2752,2857,2672,1482,1561,2980,3349,3384,4086,4465,4289,4078,3550,3178,3258,3121,2441,2154,2634,3133,3521,3372,3060,2830,2375,2477,2510,2946,3277,3613,3780,3752,3848,4091,4212,4085,4040,4059,3978,3537,3542,3884,4245,4280,3528,2628,3255,3877,3213,2614,2609,2907,3650,3784,3886,3617,3676,3682,3740,3917,3287,2680,2083,2067,2407,2554,2337,2648,2503,2431,2453,2050,2205,2335,2651,3359,3389,2679,2261,2319,3050,3666,3643,3177,3200,3464,3013,2819,2275,1171,924,855,758,801,1501,1331,718,627,679,636,517,1379,1943,743,597,580,589,542,651,1820,2888,3069,2546,2296,2503,2552,2698,3112,3277,2739,2210,1921,1936,2483,2674,1901,1460,1310,1413,1774,1675,2280,3013,2458,2879,2918,3238,2731,2168,2120,2096,2063,2424,2840,2783,2293,2009,1999,1779,2260,2356,2338,2458,2282,2125,2288,2352,2364,2346,2308,2343,2375,2527,2710,2667,2475,2302,2214,2270,2323,2266,2133,2112,2253,2222,2147,2131,2167,2188,2294,2231,2136,2301,2468,2544,2690,2942,2797,2377,2308,2259,2241,2208,2198,2260,2223,2231,1981,1805,1913,2025,2150,2248,2357,2250,2260,2261,2186,2337,1935,1627,1753,2287,2807,2561,2735,3187,3133,2651,1714,1529,1677,1563,1493,1794,2003,1739,1818,2066,1989,1510,1551,1883,2382,2622,2863,3113,2707,1949,1721,1937,2304,2402,2372,2416,2313,2025,2178,2077,1965,2015,1953,1941,1929,1981,1853,1748,1827,1747,1705,1980,2118,2156,2448,2284,2548,2944,3112,2863,2067,1586,1203,1351,1700,1841,1717,1422,1565,1706,1759,1843,1913,1938,2023,2567,2710,1914,1918,2432,2148,1847,1620,1550,1590,1655,1638,1667,1831,1635,1615,1638,1739,1841,1904,1631,1672,2085,1853,1588,1779,1952,2037,1820,1651,2170,2230,2330,2432,2333,2678,2900,2728,2862,2916,2995,3131,2994,2600,2555,2293,1860,1605,1090,1599,2288,2433,2858,2672,2067,2419,3000,2879,2499,2024,2008,2747,2956,2896,2298,1600,1194,1361,1522,1487,1774,1730,1899,1975,2223,1958,1758,2036,1783,1481,1509,1486,1621,1632,1442,1514,1447,1276,1234,1292,1482,1560,1434,1999,2575,2479,2237,2786,2837,2228,2565,2540,1954,1743,2170,2451,2204,2220,2026,1841,2011,2116,1793,1708,1798,1959,1911,2094,1870,2100,2735,3109,2686,1897,1874,1801,1918,1904,1657,1582,1641,1605,1954,1866,1738,1941,2085,2018,1647,1395,1478,1681,1670,1835,1972,1719,1802,1817,1712,2011,1793,1681,1592,1537,1813,1647,1666,1521,1588,2044,2579,1816,1714,1987,2597,2833,2343,1883,1834,1841,1655,1364,1711,2746,2089,1742,2198,3619,4228,3664,3500,2918,1815,2338,2886,2207,2013,2151,2035,2016,2072,2150,1807,2230,3216,3254,3134,3515,3150,2440,2484,2745,2249,2469,2928,2701,3024,3626,3529,3548,3523,3288,3048,3062,3416,3565,3153,3054,2696,2562,2837,3169,3219,3157,3095,2856,3064,3382,3385,3275,2940,2776,2593,2065,2140,2825,2982,2418,2091,1982,2186,1806,1830,2042,1754,1830,1964,1749,1785,1835,2097,2417,2336,2392,3100,2675,2420,2696,2621,2416,1964,2145,1932,1212,1236,2096,2544,2612,2420,1626,1382,1187,2017,2857,2398,2166,2506,2774,2523,2024,1945,2501,2216,2300,2766,2179,1383,969,1072,1508,2553,2751,2523,3015,2696,2172,2184,2707,2504,2632,2599,2120,1956,2153,2158,2386,3133,3986,3921,2716,2877,3587,3714,2829,3327,3858,3554,3500,3941,3943,3404,3075,3433,4304,4463,4232,4296,3484,3283,3444,3764,4069,3908,3464,2907,2352,1849,1536,3522,3898,3255,2862,3228,3134,2889,2918,3077,3031,3137,3475,3791,3897,3842,3675,2909,1893,1518,1476,1441,1433,1510,1423,1569,1816,1711,1548,1384,1532,1465,2017,2556,2736,2379,2011,2285,2247,1952,1631,2027,2258,2362,2455,2310,1798,2010,1893,2641,3210,2800,2080,1860,2229,2564,2398,1904,1693,2160,2071,2340,2423,1927,1804,1934,1884,2143,2371,2227,2353,2141,2092,2133,1691,1848,2031,2203,2126,2215,2642,2524,2287,2169,1741,1771,1463,1609,1393,1464,1538,1681,1909,1710,1845,2163,2108,2031,2002,2925,2896,2264,2030,2464,2252,1655,1999,2747,2533,2233,1888,2653,2667,2756,2514,2359,2692,3119,2841,2643,2556,2098,2265,2968,3442,3463,3081,2846,2465,2499,1202,411,346,299,299,300,410,1268,2391,2036,1437,2111,2152,1859,1899,2080,2106,2151,2408,2422,2144,2399,2069,1097,1090,1567,1993,2060,1982,2208,2392,1971,1896,2641,2690,2469,1892,1669,1923,2298,2639,2763,2421,2120,3008,3896,2769,2185,3117,3286,2601,1919,2264,2741,2542,2044,2022,1956,2276,2341,2316,2340,2131,1952,2205,2625,2023,2278,2560,2503,2932,3293,3650,3791,3410,2802,2237,1958,2107,2479,2564,2316,2160,1528,1680,2071,1971,2366,2658,2944,2620,1817,1775,1721,1698,1730,1749,1855,3190,4006,4230,4312,3461,2750,2519,2286,2829,3467,3206,3093,3030,2856,2971,3233,3175,3347,3863,3686,3128,3085,3047,2569,2501,2586,2236,2107,2730,3639,3596,3727,3864,2915,2255,2174,2298,3508,3739,3706,3001,2540,2578,2182,2088,2164,2050,2138,2078,2137,2553,2491,2691,2734,2389,2514,2502,1883,1848,2284,2283,1902,1531,1532,1660,1766,1910,2065,2221,2668,2596,2685,2339,2000,2652,3549,3253,2353,1788,1466,1960,2868,2762,2354,2529,2793,3012,2886,2449,2018,1831,2144,3186,2729,2078,1603,1946,2077,1973,2327,2467,2567,2654,2433,2601,2673,2226,2271,2712,2531,2367,2143,1869,1893,1892,2060,2533,2678,2543,2291,2619,2587,2432,2689,2811,2460,2179,1475,2211,3043,2836,3285,3177,3020,3163,3273,3271,2659,2304,2040,1659,1759,2167,2247,1929,1903,2665,3625,3728,3759,3482,2876,2357,1909,1840,1865,1856,2141,2219,2295,1666,1495,1917,2181,2550,3886,3520,2703,3893,7383,7316,4046,2895,3451,3563,3079,2500,2002,1939,2467,3271,3283,2284,1287,1284,2039,2401,2612,2699,2073,1470,1335,1466,1511,1374,1354,1376,1381,1493,1672,2122,2758,2947,2852,2763,3422,3958,3526,2840,2063,2259,3112,2590,2076,2407,3419,3897,3195,2198,2520,2815,3092,3416,3717,2977,2072,2084,2165,2176,1987,2068,2085,1929,1878,2120,2258,2031,1737,1802,1892,1953,2264,2340,2578,2846,3106,3006,2508,2404,2733,3361,3389,3682,4004,3060,2272,2802,2611,1977,1947,2341,2544,2368,2468,2327,2269,2649,2689,2204,1739,1490,1640,1852,1910,1952,2007,1813,1791,1925,2076,1928,1753,1786,1910,1830,1782,1378,1781,1860,1931,2481,3111,3285,2856,2331,1851,1577,1797,2512,2721,2222,2217,2125,2386,2940,3143,3085,2325,1977,2143,2171,2258,2173,2043,2405,2468,2904,2953,3033,3373,3471,3061,1995,1145,913,1262,2036,2384],[2294,2306,2305,2144,2381,2369,1761,1935,2326,2798,3244,3050,2633,2297,1989,1714,1804,1729,1671,2103,2717,2738,2886,2554,1948,1903,2212,2263,2319,2431,2921,3085,3038,2929,3122,2599,2330,2486,2392,2333,1766,1044,1866,3117,2710,2342,2172,2596,2609,2267,2114,1821,1815,2048,2188,2248,2268,2154,1742,1154,1120,1722,2509,2883,2794,2562,2366,2374,3069,3388,2655,2271,2722,2540,2429,2375,2503,2754,2888,2742,2554,2458,2055,1768,2266,2207,1510,1707,2137,3000,3157,2956,2813,2495,2712,2944,3055,3043,3118,3106,2973,3001,2994,2716,2467,2325,2325,2369,2478,2288,2303,1967,1901,2237,2609,2382,1798,1732,2077,2626,2540,2492,2100,2258,2292,3054,3295,2442,2347,2135,2372,2229,2083,1767,1939,2475,2263,2263,3179,3689,3915,3718,2954,2708,2849,3098,2814,2734,2996,2988,2741,2371,2013,1896,2762,4026,4144,3852,4181,3987,3028,2921,3422,3372,3311,3377,3516,3453,3111,2829,2752,2242,1930,1634,1736,1679,1597,1605,1674,1825,1780,1643,1882,2037,2131,2127,1842,1840,1987,2544,2831,2665,3106,3527,3339,2764,2390,2324,1743,1707,2199,2411,1587,1672,2227,2390,2546,2297,2393,3075,2950,2263,1852,1722,1775,1581,1837,1663,1289,1400,1889,1836,2194,2375,2378,2455,2289,2105,2144,2116,2352,1777,1932,2111,2006,1961,1836,2155,2499,1973,1960,2787,3442,3073,2416,2404,1604,1606,1615,1692,1934,2697,2591,1959,1938,2236,1979,1897,2457,1989,1817,2226,2258,2280,2147,2022,1677,1302,1858,2204,2233,2416,2592,2543,2500,2326,2416,2433,2296,1625,1476,2013,2439,2548,1735,1163,985,1354,2402,2115,2062,2075,2219,2215,2170,2130,1987,1964,1438,1695,1946,2380,2620,2433,1736,1981,2555,2513,2877,3101,2207,1729,1993,2159,1936,1693,1874,2568,2483,2477,2251,1715,1598,1807,2157,2203,2278,2105,2352,2350,2570,2755,2609,2353,2588,2773,2994,3729,3528,2711,2453,2222,2310,2379,2044,2173,2563,2799,2872,2842,3166,3264,3041,3151,3587,4323,4376,4311,4223,4084,3894,3682,2876,1918,1742,1939,1986,1639,1774,2487,2567,2187,2024,1957,2366,2410,2041,2001,2036,1839,1570,1438,1660,2188,2492,2463,3266,2306,2174,2249,2344,2468,2046,1623,1621,1476,1496,1689,1941,2169,2274,2258,2106,2820,2588,1954,1799,1575,1655,1877,2060,1849,1535,1686,1998,1851,1780,2667,2296,1707,1945,1986,1854,1587,1709,1591,1596,2122,1836,1695,1567,1591,1579,1541,1622,1869,1879,1863,1892,1832,1738,1852,1704,1628,1810,1778,1554,1755,1895,1793,1655,1755,2046,1681,1756,1687,1556,1570,1758,2127,1713,1371,1844,2266,2061,2073,1973,2128,2245,2433,2422,2087,2473,2428,1990,2237,3001,2567,1968,2210,2177,1715,1763,2119,2103,2406,1803,1729,2038,1847,1578,1604,1655,1742,1375,1417,1888,1824,1792,1866,1723,1741,1494,1720,1997,2334,2486,1775,1496,2106,2546,1793,1300,1367,1709,1896,1982,1917,1956,2408,2297,1900,1821,1694,2047,1978,2423,3372,3345,2369,1995,2315,2472,2683,2663,2852,2964,2419,2313,3226,3548,3664,3938,4064,4167,4200,3981,3602,3370,3178,2580,2039,2201,2889,3454,3501,3296,3196,3066,2999,3259,3373,3186,3432,3599,3812,3924,4008,3613,3552,4006,3698,2894,2864,3386,3526,3517,3896,3262,2069,3038,3598,3389,3440,3387,3574,3743,3726,3702,3448,3504,3605,3654,3497,3034,3088,2875,2851,3134,3275,3158,3135,3038,2834,1987,1258,1332,1923,2835,3740,3892,2841,1870,2020,3130,3862,3665,2886,2564,2740,2486,2316,2565,2753,2665,2374,2238,1884,2761,2458,1443,1080,810,951,1000,1300,1438,681,581,587,562,605,619,1915,2767,2553,2381,2073,2017,2106,2486,3044,3514,2785,1996,1686,1598,2336,2821,1983,1530,1763,1476,1577,1796,2120,2784,2716,2695,2706,3426,3283,2492,1960,1733,2097,2700,2986,2732,1943,1858,1874,1702,2218,2304,2160,2256,2238,2144,2098,1986,2013,2019,2018,2021,2077,2060,1999,2156,2255,2111,2081,2181,2252,2168,2136,2106,2072,2103,2061,2098,2178,2163,2146,2100,2114,2127,2276,2389,2535,2602,2667,2634,2333,2195,2232,2301,2245,2254,2179,1895,1555,1565,2021,2316,2109,2002,1859,1995,2394,2496,2301,2138,2069,2139,2291,2602,2980,3020,3040,3009,2893,2280,1684,1755,1861,1697,1678,2001,1896,1608,1844,2082,1836,1446,1659,1997,2091,2667,3027,2729,2353,1731,1814,2266,2471,2448,2153,2409,2599,2385,1860,1538,1747,1752,1816,1802,1936,1893,1795,1699,1805,1643,1609,1894,1509,1602,1859,1918,2334,2671,2969,2821,1929,1406,1318,1401,1826,1998,1654,1566,1737,1793,1896,1915,1885,2010,2007,2230,2695,2217,2590,2809,2309,1873,1632,1561,1534,1585,1637,1732,1864,1684,1645,1738,1804,1657,1690,1522,1670,2135,2055,1756,1875,1745,1750,1619,1338,1860,2185,2140,2012,1825,2224,2198,1561,2135,2401,2326,1745,1703,1605,1673,1960,2179,2210,1687,1745,2238,2183,2458,2651,2101,2064,2079,2127,1853,1678,1666,2109,2305,2154,1794,1404,1534,2074,1928,2056,2331,1972,1765,1581,1736,1707,1710,1826,1759,1694,1573,1486,1690,1656,1487,1428,1281,1188,1219,1279,1454,1522,1503,1558,2166,2830,2680,2612,2434,2087,2255,1996,1676,1905,2250,2095,1931,1958,1975,1895,1938,1433,1259,1377,1394,1626,1751,1744,1879,2487,2962,2975,2301,1712,2132,1811,1950,1886,1654,1701,1700,1492,1908,2102,1895,1830,1776,1592,1377,1414,1232,1502,1653,1772,1600,1382,1492,1765,1981,1863,1718,1861,1738,1831,1909,1795,1767,1761,1726,1903,2115,1788,1355,1410,1904,2295,2219,1947,1937,2066,2221,2234,2403,2633,2404,2172,2352,3253,3872,3339,2955,2271,2138,3043,2856,1804,1728,1935,2002,2151,2245,2250,2254,2813,3118,3016,3213,2984,2488,2611,2908,2515,2148,2144,2152,2030,2304,2938,3162,3285,3110,3111,2976,3163,3785,4060,3714,3018,2244,2095,2824,3488,3243,3184,3357,2972,3065,3300,3144,2955,2798,2598,2454,2459,2663,2858,3285,2818,2489,2301,2138,2155,2541,2469,2330,2282,1870,1876,2226,2336,2464,2176,2114,2276,2700,2185,2774,3279,2807,2047,2004,2370,2067,1496,1340,2483,2790,2688,2411,1767,1816,1738,2214,2452,2143,2032,2276,2588,2241,2155,2411,2372,2622,2933,2880,1897,1096,1246,1570,1833,2377,2320,2066,2379,2858,2587,2171,2397,2167,2473,2774,2339,2069,1962,2072,2770,3015,3427,3986,3089,2522,2972,3598,3350,3680,4124,3357,2735,3357,3576,3346,2964,3255,3894,4619,4588,4152,3833,3951,3999,3896,3694,3010,3107,3124,2355,1944,1266,2689,3624,3139,2750,2755,3064,3330,3137,3077,3344,3486,3462,3806,3915,4026,4107,3735,3127,2306,1740,1512,1567,1730,1438,1479,1618,1861,1728,1559,2259,2006,2149,2471,2393,2086,1938,2088,2013,2192,2203,2388,2269,2614,2788,2717,2466,2088,1754,1862,2177,2242,1848,1880,2361,2744,2436,1667,1602,1912,2100,2374,2633,2524,2214,2037,1970,2411,2468,2215,2148,2162,2291,2568,2533,1908,1826,2336,2478,2271,2096,2228,2342,1910,1691,2083,1887,1735,2024,1930,1464,1588,1775,1993,2237,2552,2373,2453,2384,2414,2568,2475,2619,2666,2208,1866,2354,2890,2540,1973,1911,2602,3086,3082,2902,2850,2477,2977,3182,2692,2639,2777,2786,2902,3532,3544,3265,3045,2656,2744,1666,460,370,307,310,318,507,1479,2365,1647,1947,2470,1866,1644,2065,2453,2426,2367,2551,2248,1708,2150,2158,1304,1631,1758,2064,2245,1832,2002,2392,2046,2464,3082,2817,2621,1698,2070,2261,2398,2547,2191,1729,2010,3238,3824,2748,2075,3128,3749,3210,2089,2086,2347,2178,1991,2054,2218,2424,2459,2431,2482,2161,2484,2456,2420,1962,2691,3571,3806,3762,3807,3841,3650,3580,2701,2163,2050,2234,2287,2071,2148,2281,1786,1735,1799,1996,2329,2356,2592,2712,1862,1713,1836,1903,1838,1704,1582,2237,2898,3599,4296,3951,3057,2239,2094,2611,3083,3006,2874,2889,2997,3242,3208,2961,3252,3768,3880,3726,3492,3536,3292,2782,2501,2315,2240,2419,2615,2839,3310,3257,2254,1956,1794,2007,2790,2915,2800,2256,1743,1703,1850,2056,2011,1928,2136,2645,2116,2238,2121,2588,2699,2213,2482,2587,1947,1613,1835,1945,1809,1509,1902,1798,1669,1749,1982,2164,2342,2465,2783,3415,2857,3355,3467,2348,1768,1399,2085,2642,2397,2225,2460,2677,2867,2868,2589,2332,2411,2261,1837,2220,2153,1855,2284,2575,2155,2142,2076,2178,2211,2010,2120,2010,2483,2728,2856,2614,2107,1866,1794,1518,1892,2469,2722,2411,2369,2200,2216,2495,2291,2346,2872,2490,2378,2469,1829,2368,2795,2857,3300,2956,2667,3186,3513,3522,2491,2083,2170,1820,2038,2088,1802,1525,1481,1801,2762,3481,3807,4070,3492,2384,2172,2414,2510,2584,2445,2199,1722,1232,1462,1924,2056,2193,2930,3292,2801,4571,7768,5531,3168,2554,3139,3303,3457,2821,2063,1914,2301,2828,2662,1633,1322,1801,2155,2522,2846,2734,2512,1918,1478,1495,1558,1492,1487,1465,1445,1549,1887,2244,2957,3050,2814,2307,2662,3628,3553,2448,1694,2667,3553,3253,2410,2311,2618,3145,3470,3404,2995,2408,2054,2503,3044,2446,1903,2022,2490,2215,2109,2347,1997,1964,2117,2192,2126,2155,2077,1953,2078,2151,2420,1895,2304,2661,2989,2400,2070,2276,2562,3125,3480,3801,3459,2375,2193,2442,2429,2229,2382,2907,2967,2691,2668,2711,2648,2624,2714,2342,1790,1561,1612,1630,1834,2623,2449,1901,2051,2236,2214,1904,1932,2056,2316,2230,2073,1820,1989,1998,1816,2426,3414,3269,2641,2531,2385,2309,2246,2088,1806,1856,2237,2162,2589,2955,2955,2689,2156,2162,1995,1926,1998,2160,2063,2266,2330,2630,3163,3422,3527,3685,3220,2511,2300,2118,2183,2490,1976],[2046,1932,2019,2053,2609,2679,1461,1886,2713,2874,2880,2513,2067,2040,1969,1729,1575,1531,1759,2104,2754,2966,3238,2720,2023,2410,2490,2397,2542,2367,2759,3213,2697,2031,2049,2297,2733,2392,2149,2546,2176,1202,1456,2343,2417,2402,2305,2258,2211,2289,2166,1873,1959,2282,2338,2512,2701,2410,1899,1334,1140,1550,2312,2743,2718,2730,2347,2164,2768,2727,2491,2292,2918,2326,2546,2497,2685,3002,2627,2611,2494,2150,2118,1806,1549,1437,1318,1828,2258,2659,2452,2629,2613,2679,2863,2812,3012,3139,3123,3000,3007,3219,3321,2751,2245,2024,2263,2376,2244,2230,2230,2116,2045,2107,2709,2552,2364,2219,2164,2291,2025,1983,2486,2614,2316,3009,3107,2317,2458,2340,2577,2843,2455,2137,2057,1885,1834,2565,3367,3344,3620,3975,3592,3470,2917,2931,2834,2612,2722,2874,2619,2257,2191,2720,3658,4351,4392,3753,4100,4465,3724,3503,3745,3795,3543,3583,3768,3445,2657,2082,2353,1826,1555,1577,1940,1949,1775,1718,1766,1849,1731,1436,1457,1573,2059,2382,2355,2077,2063,2349,2428,2767,3852,4004,3285,2365,2229,2301,2083,1782,1964,2226,1825,2203,2429,2249,2369,2310,2852,3183,2424,1665,1596,1548,1654,1866,2392,2258,1672,1892,1942,1801,2002,2404,2778,2587,2331,2545,2520,2126,2133,1941,2062,1959,1981,2063,1910,2332,2677,2711,3172,3002,3326,2634,2833,2171,1399,1419,1309,1289,1753,2113,1735,1708,1646,1825,1832,1926,2458,2120,2059,1991,2035,2448,2388,2272,2192,1885,1977,2205,2290,2399,2756,2589,2779,2631,2530,2750,2512,1699,1126,1254,2275,2426,1929,1288,887,1212,2146,2306,2352,2136,2033,2070,2213,2488,2327,2005,1599,2071,1831,1916,2276,2213,2222,2386,2514,2644,2554,2171,1864,1829,1822,1796,2136,2350,2070,2410,2612,2563,2207,1520,1218,1144,1657,2019,2009,1806,1992,2037,2321,2648,2270,2059,2585,2313,2275,3450,3912,3385,3333,2945,3229,2855,2708,2842,2863,2894,2829,2831,2898,2695,3009,3804,4440,4488,4394,4440,4428,4328,4203,4018,2951,1784,2030,2517,2325,1887,1878,1970,2289,2254,2249,2430,2260,2169,1971,1918,2415,2208,1693,1453,1614,2000,1960,1961,2958,2524,2543,2787,2622,2375,1964,1876,1992,1818,1664,1831,2356,2752,2657,2122,2008,2486,2364,1834,1783,1641,1724,1719,1869,1820,1438,1643,1711,2004,2217,2581,2233,1648,1893,1896,1771,1685,1793,1404,1575,1976,1923,1782,1560,1461,1511,1552,1636,1797,1697,2151,1859,1734,1595,1696,1768,1762,1914,1746,1746,2339,2014,1619,1813,2256,2054,1829,2087,2062,1783,1707,1960,2092,1738,1350,1791,2182,2533,2619,1945,1721,1902,1926,2197,2433,2401,2275,2037,2279,2644,2202,2110,2222,1947,1688,2219,2317,2208,2193,1774,1568,1673,1759,1759,1733,1716,1621,1460,1720,2070,1763,1417,1612,1592,1393,1472,1982,1977,2390,2476,2053,1826,2493,2796,2319,1975,1527,1605,1965,2178,2344,2408,2990,3109,2757,2425,1921,2343,2676,3357,3848,3770,2821,2336,2547,2532,2638,2259,2388,2348,2323,2354,2897,3239,3273,3105,3262,3673,4075,4121,3897,3596,3360,2555,2041,2742,3355,3847,3597,2866,2900,3709,3883,3448,3335,3227,3369,3208,3565,3341,3615,3282,3255,3484,3430,3253,3432,3825,3695,2731,2689,2812,2621,3164,3338,3627,3718,3952,4079,3772,3801,3830,3780,3840,3568,3670,3295,2900,3185,3209,3111,3338,3300,3022,3470,3671,2857,1471,818,999,2172,3081,3994,4189,2907,1709,1917,3245,3508,2852,2705,2995,2717,2237,2309,3123,3704,4050,4125,4128,3826,3603,3075,2664,2525,2318,2350,2562,2719,1667,966,923,765,643,675,757,1838,2778,2475,2498,2203,2123,2049,2360,2929,3341,2526,1724,1699,1759,2350,2875,2322,2019,2601,2216,2174,2551,2872,2776,2835,3013,2995,3417,3457,2862,2373,2339,2525,2780,2874,2153,1939,2198,2022,2169,2610,2490,2119,2096,2141,1902,1560,1532,1475,1370,1403,1462,1560,1643,1693,1854,2089,2222,2206,2467,2700,2676,2515,2344,2185,2126,1804,1850,2255,2485,2526,2460,2517,2447,2784,2774,3002,2836,3183,2978,2309,2018,2087,2113,2021,1912,1836,1552,1747,2117,2546,2397,2071,1987,1626,1624,1825,1893,1947,1858,1958,2188,2483,2567,2712,2891,2615,2707,2622,2148,1943,1997,1959,1625,1747,2117,1647,1655,1960,2077,1570,1471,1788,2149,2375,2944,2916,2294,2049,1742,2185,2393,2704,2653,1681,1405,2209,2345,1575,1595,1831,1737,1801,1472,1648,1854,1676,1474,1548,1633,2024,1833,1030,1367,1553,1761,1957,2261,2777,3022,2559,1783,1465,1620,2158,2094,1720,1831,2010,1889,1867,1851,1865,2109,2180,1963,2390,2557,2347,2006,1792,1787,1765,1649,1629,1572,1531,1702,1869,1831,1641,1831,1918,1634,1521,1584,1510,1640,1936,1982,1691,1694,1743,1644,1550,1762,1834,1670,1552,1516,1687,1877,1721,2203,1829,1813,1107,1114,1905,2260,2366,2346,2206,1832,1707,2002,1774,1903,1871,1700,1920,1904,1780,1619,1496,1603,1755,1678,1635,1622,1737,2121,2358,2190,2536,3107,2611,1750,1521,1776,1886,1866,1684,1619,1486,1550,1455,1576,1492,1549,1561,1286,1246,1260,1366,1893,2172,2232,1696,2007,2125,2208,2035,1859,2137,2301,2258,2472,2868,3296,2968,2589,2166,1992,2035,1947,1554,1784,1768,1442,1476,1547,1676,1969,2078,2117,2467,2285,2077,2133,2177,2149,1978,1883,2079,2057,1722,1776,2060,2136,1958,1840,1569,1433,1653,1645,1591,1879,1782,1561,1676,1571,1562,1679,1807,2172,2192,2225,2093,1836,1794,1601,1437,1404,1694,2171,1894,1289,1564,1776,1812,1895,1742,1611,1524,1771,2107,2223,2250,2113,2018,2294,2688,2054,1515,1529,1452,1760,2199,1820,1686,2074,2144,1775,1753,2116,2243,2308,3002,3042,3138,2743,2291,2012,2542,3173,2979,2348,2158,2027,1718,1691,1974,2181,2414,2708,2746,2677,2883,3532,4080,3762,2740,1947,2047,2988,3443,3082,2887,2889,2625,2457,2868,3177,2950,2809,2600,2664,2747,2648,2763,3106,3363,3001,2561,2322,2363,2418,2575,2829,2468,2161,1851,2028,2161,2137,2034,2483,2381,2166,1761,1802,2139,2166,1679,1973,1984,1884,2091,2448,2956,3378,2668,2188,1987,2042,2709,2880,2244,2484,2309,2023,2380,2126,2536,2448,2372,2854,2552,2375,2003,1499,1709,1848,2022,2688,2253,1927,2168,3262,3049,2135,1982,2049,2176,2239,2220,2238,1904,2016,2965,3352,3343,3987,3574,2710,2558,2977,3142,3609,4030,3462,2743,3334,3382,3023,2867,3173,3962,4576,4108,3586,3608,3906,3865,3471,3532,2977,3076,3282,2384,1982,1181,1297,2490,3301,3177,2974,3264,3396,3409,3696,3761,3773,3704,3659,3783,4052,3748,3659,3909,3406,2326,1635,1684,1575,1421,1396,1447,2012,2076,1831,1985,1810,1720,2048,2103,2203,2220,2027,2117,2198,2310,2321,1817,2371,3255,3763,3352,2605,2362,1901,1877,1812,2121,2163,2238,2265,2048,2322,2558,2211,1910,1848,2275,2555,2173,2013,1822,2036,2268,2807,2565,2276,2176,2548,2633,2083,2427,2850,2820,2330,1957,1768,1865,1895,1817,2126,2144,1810,2085,2288,1686,1634,1956,2620,2319,2287,2161,2735,2664,2014,2408,2797,2331,2022,2102,2113,2001,2067,2071,1860,2322,2481,2645,2384,2728,3264,2984,2984,3130,2575,2418,2896,2873,2920,3545,3736,3197,2820,2520,2522,2059,930,403,325,305,317,464,1448,2343,1961,1934,1849,1769,1858,2244,2532,2358,2348,2125,1518,1236,1396,1830,1651,1687,1406,1660,2022,1658,1923,2535,2461,2526,2983,3088,2788,2207,2367,2312,2460,2459,2109,2286,2817,2915,2999,2662,2047,2164,2836,2498,2000,1746,1936,2241,2493,2611,2238,2222,2480,2445,2544,2362,1921,1620,1860,2041,2801,3839,4201,3761,3674,3381,2617,2736,2176,1955,1856,2237,1891,1785,2128,2056,1820,1865,1764,1708,1958,2321,2592,3075,2476,1762,1736,1837,1829,1731,1732,2147,2634,3343,3992,3637,2964,2343,2853,3729,3660,3311,3034,2943,2902,3007,3195,3194,3323,3760,3858,3783,3680,3583,3813,3492,2686,2027,1847,2103,2613,2590,1751,1617,2177,2272,1722,1896,2553,2351,1901,1774,1873,1931,2111,2120,1815,2018,2508,3228,2353,2023,2155,2613,2886,2478,2084,2754,2541,1649,1675,1786,1760,1546,1889,1875,1771,1488,1282,1489,2129,2538,2651,2575,2127,2801,2194,1488,1673,2351,3066,2806,2476,2652,2438,2633,2801,2864,2397,2309,2168,2109,1672,1439,1857,2098,2469,2382,2107,1720,1744,2099,2099,2122,1871,2111,2894,3165,2757,2149,1864,1721,1908,1998,2574,3018,2658,2185,2562,2656,2525,2396,2036,2016,2379,2267,2481,2448,2135,2116,2291,2498,2360,1927,1956,2538,3005,2879,2286,2201,2174,2217,1863,1721,1646,1513,1540,1758,1842,2609,3342,3366,2622,1849,2136,2280,2888,2985,2511,2568,1903,1572,1682,1738,1830,2027,2116,2174,2146,2588,2625,2178,2497,2297,2623,3008,3162,2518,1709,1700,2017,2396,2029,1357,1962,2179,2063,2202,2735,2832,2958,2737,1959,1400,1351,1389,1378,1444,1515,1607,1995,2281,2365,2301,2039,1656,2179,3176,3008,1785,2105,3293,3251,3118,2824,2519,2635,2447,2720,3111,2884,2706,2456,2591,2776,2576,2519,2542,2612,2600,2731,2663,2154,2022,2321,2075,2078,2315,2100,2043,2269,2547,2579,2153,2404,2457,2789,2330,1842,2147,2593,2438,2695,2906,2428,2172,1930,1392,2000,2176,2098,2857,3153,2842,2328,2573,2376,2652,1947,1932,1565,1745,1920,1605,1756,2664,2654,1976,1583,1898,1965,1793,2045,2096,2278,2430,2150,2035,1933,1685,1519,2384,3441,3089,2785,2435,2237,2329,2368,2531,1995,1669,1982,2115,2459,2920,2941,2482,2370,2398,2037,2116,2223,2164,2172,2107,2147,2785,3238,3172,3090,2961,2602,2539,2415,2337,2438,2361,2530],[1585,1591,1712,1799,2903,2924,1872,2194,2972,2835,2209,1889,1588,1863,2000,1637,1742,2057,2136,2264,2710,3054,3090,2652,1994,2327,2543,2820,2390,1998,2205,2837,2706,2862,3153,3304,3387,2767,2451,2535,2076,1269,1490,2085,2521,2787,2549,1554,1445,1836,1824,1779,1959,2184,2290,2403,2796,2555,2081,1417,1125,1468,2232,2701,2742,2690,2502,2433,2790,2885,2828,2304,2388,2315,2687,2910,3018,2740,2472,2706,2532,2150,2102,2234,1902,1442,1615,1974,1865,2154,2288,2555,2555,2535,2598,2787,3201,3041,2976,3011,3040,2965,2775,2477,2092,2005,2522,2584,2198,2017,2048,2177,2220,2220,2666,2954,3090,3042,2719,2274,1959,2248,2909,2498,1682,3030,2447,1824,1955,2314,2729,3282,3151,3066,2398,1815,2193,2905,3365,3272,3120,3409,3642,4277,3528,2839,2481,2568,2859,2966,2708,2300,2811,3799,4384,4063,4042,3949,3948,4061,3915,3994,4360,3833,3150,3452,3252,2376,1875,1846,2326,2134,1682,1737,1941,1942,1780,1713,1654,1605,1543,1429,1597,1929,2138,2314,1940,1881,2061,1991,1907,2494,3610,3639,2689,2158,2200,1860,2012,2396,2275,2399,2530,2477,2357,2457,2258,2001,2308,2714,2161,1622,1470,1784,1595,2033,2436,2118,1978,2223,2208,2350,2266,2156,2364,2229,1522,1714,2303,2156,1764,1633,1886,1880,2002,2175,2070,2426,2718,2908,3186,2676,2755,2960,2990,1988,1542,1606,1561,1594,2084,2300,1792,1700,1602,1597,1656,1772,2309,2547,2588,2353,2266,2626,2397,2187,2177,2382,2031,2040,2123,2187,2312,2288,2687,2857,2731,3020,2279,1638,813,860,1784,1945,1960,1225,821,856,1266,1802,2030,1742,1376,1719,2353,2932,2404,2339,2292,2042,1792,2280,2579,2307,2252,1975,2037,2321,2338,1906,2036,2178,1894,1759,2103,2566,2174,2185,2486,2137,1877,1496,1675,1501,1850,2462,2289,1915,2036,2479,2692,2535,2110,2231,2339,1727,2072,3441,3970,3837,3696,3373,3353,3022,2981,3188,3007,2769,2801,2776,2767,2614,2555,2884,3410,3815,3982,4142,4429,4489,4400,4276,3521,2352,2147,2355,2547,2337,2103,1952,2449,2364,2206,2066,1998,2020,2116,2856,3786,2730,1847,1467,1368,1429,1619,2047,2432,2726,3083,2623,2646,2391,2342,2157,1981,1774,1605,1829,2601,3042,2699,2259,2373,2554,2293,2075,1972,1658,1659,1889,1936,1464,1689,1954,1617,1743,2308,2696,2048,1648,1868,1906,1282,1354,1388,1387,1786,1781,1555,1537,1524,1692,1506,1521,1521,1480,1670,1702,1576,1572,1537,1666,1768,1798,1754,1732,1624,1897,1745,1618,1698,1612,1662,2453,3211,3165,2509,2238,2332,2352,2458,2036,1749,1746,2512,2426,1808,1700,1618,1743,2547,2723,2552,2768,2277,1802,1980,1907,2110,2524,2347,1895,1765,1869,1950,1963,1878,1823,1770,1752,1747,1750,1803,1820,1851,2099,2119,1682,1369,1382,1490,1387,1471,2133,1926,2006,2156,2155,2260,2769,3292,3239,2674,1957,1830,1780,1836,2428,2732,3376,3426,3182,2392,2147,2780,3272,3566,3814,3836,3095,2570,2802,2652,2622,2182,2124,2056,2025,1848,2061,2337,2525,2714,2762,2824,3482,3802,3853,3603,3295,2496,2188,3194,4067,4374,4028,2900,2474,3830,4512,3946,3651,3636,4091,3646,3232,3231,3482,3392,2968,2712,3319,3840,3780,3720,3267,2684,2701,2999,3537,3730,3362,3146,3319,3780,3890,3698,3540,3696,3735,3990,3749,3713,3243,2802,2937,3260,3249,3326,3194,2946,3613,3549,2617,1867,1575,1489,2154,3152,3913,3818,3166,2468,2730,3356,3100,2930,2776,3025,2930,2176,2079,3034,3829,3952,4006,4212,4276,3711,3347,3276,3342,3328,3153,3184,3501,2844,2662,2479,2008,1733,1444,1526,2621,3344,3168,2918,2787,2706,2395,2463,3045,3234,2543,2018,2194,2302,2648,2862,2679,2510,3042,3339,3195,3710,2879,2261,2910,3297,3389,3471,3204,3166,2976,2888,2618,2424,1985,1635,2004,2649,2989,3012,2890,2597,2149,2008,2217,2168,1674,1853,2143,1803,1580,1698,1747,1779,1946,2072,2095,2016,2123,2486,2512,2332,2330,2351,2300,2132,1713,1810,2221,2437,2647,2540,2842,2708,3020,2995,3165,3149,3195,2752,2044,1950,2366,2674,2593,2358,2517,2160,2417,2323,2352,2375,2338,1920,1357,1445,1393,1408,1573,1470,1561,1792,2392,2409,2464,2544,2192,2104,1979,1849,1952,1931,1830,1780,1980,2002,1664,1830,2067,1938,1462,1606,2032,2273,2451,3019,2198,1993,1878,1954,2355,2416,2509,2508,2049,1644,1796,1741,1477,1908,1793,2195,2613,1998,1902,1705,1710,1395,1207,1832,2624,1843,1179,1847,2018,1970,1738,1716,2201,2792,2644,1902,2063,2568,2380,1983,1836,1876,1971,1843,1807,1887,2041,2127,2024,1985,2232,2178,1910,1704,1912,2116,2037,1892,1784,1710,1741,1758,1648,1672,2035,2630,2315,1640,1478,1482,1384,1236,1482,1522,1555,1708,1565,1651,1838,1670,1510,1452,1532,1527,1554,1879,1975,2075,1847,1730,1153,1066,1734,2217,2196,2044,1921,1838,1730,1838,1933,2004,1898,2324,2200,1738,1983,2054,1825,2048,2005,1971,1992,2070,1801,1839,1758,1841,2114,2228,2109,1719,1461,1812,1996,1955,1826,1676,1533,1778,1830,1642,1471,1431,1327,1193,1176,1362,2045,2480,2249,2044,1990,2088,1876,2226,2799,2540,3211,3222,2267,2361,2355,2644,2702,3044,3020,2920,2622,2166,1879,1958,2156,2025,1841,1848,2020,2236,2036,2226,2392,1952,1788,1914,1964,2005,2084,2038,2200,2192,1784,1554,1767,1803,1541,1831,1891,1743,1719,1831,2047,2232,1979,2007,1765,1502,1686,1862,2307,2337,2147,1860,1714,1807,1823,1460,1331,1503,1612,1776,1741,1526,1932,2119,1795,1787,1591,1581,1570,1612,1694,1710,1952,1770,1548,1913,2088,1468,1455,1585,1659,2003,2110,1846,1882,2230,1905,917,1041,1592,1973,2523,2765,3284,2964,2366,2336,2000,1979,2499,2808,2340,2271,2126,1892,1814,1937,1907,1817,1893,2171,2533,2672,2816,3194,3120,2404,1842,2498,3088,2975,2952,3076,3122,2976,2596,2707,3185,3037,3018,2872,2776,2709,2442,2373,2698,2907,3175,3175,2649,2686,2658,1944,1868,1826,2026,2035,2452,2586,2247,2091,2231,2296,2425,2294,2116,1829,1992,1867,2374,2177,2062,2536,2906,3464,3266,2484,2567,2373,2284,2587,2610,2230,2315,2035,1917,2494,2214,2036,2002,2217,2465,2232,2008,2106,2234,1760,1914,2176,2362,2443,1870,1768,2607,2832,2394,2137,2037,2128,2022,2087,2087,1880,1946,2681,3198,3501,3791,3761,3205,2523,2850,3395,3731,4244,4018,3376,3288,3152,2916,3230,3641,4212,4467,4028,3731,3607,3636,3682,3753,4029,3726,3232,3242,2578,1886,1337,1533,2585,3232,3005,3020,3219,3398,3605,3886,4141,4018,3874,3471,3418,3605,3614,3534,4044,3889,2375,1926,1687,1530,1475,1469,1553,1910,2289,2224,1848,1674,1849,2309,2303,2148,1850,1958,2228,2194,2168,1791,1703,2447,3189,3996,3529,3168,2741,2318,1881,1582,1741,2133,2059,2040,2255,2603,2573,2374,2167,2563,2928,2554,2142,2191,2027,2046,2155,2821,2753,2041,2040,2328,2248,2129,2584,2864,2653,1810,1483,1871,2114,1946,1816,1970,2147,2043,1929,1817,1530,1653,1962,2537,1998,1576,1948,2656,2217,1554,2099,2466,2043,2139,2031,2070,2161,2187,2093,2251,2241,2012,2637,3156,2821,3033,2862,2311,2597,2100,2265,3096,3001,2792,3056,3264,3006,2608,2442,2481,2761,1943,583,353,343,318,423,1460,2157,1928,1344,1129,1875,2155,2358,2353,2330,2352,2203,2018,1772,1654,1874,1957,1812,1481,1426,1796,1747,2080,2591,2894,2823,2972,3121,2890,2303,2154,2370,2416,2108,2065,2245,2626,2071,2214,2137,1978,1881,1847,1938,1982,1780,2030,2197,2015,2270,2451,3010,2789,2565,2486,2376,1960,2085,2309,2206,2611,3297,3466,2798,2396,2319,2199,2658,2770,1906,1433,1784,2005,2266,2320,2015,1735,1935,2084,2433,2503,2736,2165,3030,3168,2110,1726,1908,1892,1711,1796,2359,2680,3037,3522,3219,3161,2622,3139,4089,4028,3506,3354,3068,2864,3056,3120,3119,3338,3021,3230,3459,3173,2984,3084,3002,2786,1835,2055,2359,2869,2625,1786,1931,2274,2481,2118,2107,2414,2082,1848,1919,2432,2908,3052,3165,3265,3540,3204,3248,2910,2529,2770,3143,3264,2712,1990,2840,2792,2023,1720,1773,1726,1643,1758,2236,2458,1567,1311,1748,2282,2695,3023,2391,1705,2061,1706,1643,2248,2618,2360,1947,2479,2392,1874,2458,2578,2640,2132,2106,2160,2297,1788,1830,2347,2354,2330,2001,2172,1809,1963,1964,2078,2034,1758,2447,2856,2484,2200,2114,1862,1905,2308,2712,2419,2270,1920,1859,2531,2711,2172,2128,1869,2231,2338,2652,2624,2255,1740,1497,1918,2030,1816,1847,2334,2676,2316,2065,2265,2342,2293,2020,1692,1714,1670,1505,1486,1534,1645,2042,2344,2396,1876,1964,2136,2160,2486,2441,2591,3082,2859,2147,1744,1719,1780,2036,2000,2260,3063,2963,2115,2229,2636,2410,2298,2509,2398,2068,1941,2104,1866,1260,1642,2005,2310,2076,2286,2447,2900,3211,3156,2956,2299,1567,1380,1504,1432,1439,1520,1952,2395,2482,2334,2136,1914,2239,2766,2893,2118,1799,3008,3526,3299,3007,2906,2845,2996,3032,3144,2806,2426,2639,2737,2813,2862,2978,3033,2767,2401,3492,4096,3205,2110,2590,3362,3032,2664,2142,1932,2363,2291,2237,2220,2420,2608,2666,2659,2415,2319,2420,2565,2272,2200,1958,2252,2253,1694,1322,1763,1900,2038,2535,2997,2840,2108,2337,2038,2061,2123,2595,2186,2210,2227,1797,1899,2114,1974,1541,1583,1786,1648,1655,1887,1792,1917,2415,2179,1577,1476,1385,1277,1677,2111,2576,2863,2306,2526,2714,2490,2993,2784,1773,1433,1734,2382,2756,2596,2477,2834,2337,1990,1916,2483,2767,2447,2097,2185,2762,3084,2854,2111,2066,2684,2938,2878,2766,2457,2521,2680],[1415,1267,1471,2127,2832,2666,2085,2044,2731,3140,3297,2955,2431,3067,2922,2155,2250,2366,2265,2136,2354,3063,2943,2596,2097,2281,2751,3078,2631,2149,2181,2499,2474,2687,3173,3418,3595,2151,2044,2354,1968,1364,1394,1888,2532,3274,2943,1570,1081,1137,1735,2354,2198,1967,2021,2060,2123,2556,2988,2563,2003,1973,2281,2493,2342,2397,2474,2385,2421,2558,2425,2158,2203,2230,2518,3062,3042,2809,2543,2312,1911,2007,2110,2733,3028,2415,2328,2084,1856,2330,2547,2435,2167,2295,2175,2552,3161,2982,2886,2934,2854,2565,2454,2646,2515,2350,2700,2350,2187,2068,2242,2484,2219,2112,2219,2480,2850,3207,2978,2278,2037,2191,2600,2159,1433,2743,2268,1979,1675,1895,2792,3296,3208,2941,2121,2106,2354,2641,3155,3749,3284,2712,2890,3888,3751,2616,2374,2954,3153,2790,2447,2511,3626,4082,4388,4062,3904,3882,3849,3902,4058,4111,3327,2512,2924,3679,2749,1921,1893,1882,2097,2178,1952,1652,1799,1888,1617,1570,1496,1532,1674,1491,1496,2190,2143,1810,1425,1520,1694,1900,2049,2076,2444,2695,2214,2320,2058,1939,1903,2201,2310,2580,2958,2831,2545,2433,2232,2202,2204,2098,1874,1703,1644,1738,1715,2141,2440,2209,2075,2203,2358,2468,2150,2055,2397,2451,1620,1800,2485,2177,1504,1527,1724,1936,2149,2381,2404,2296,2611,2863,3260,2927,2375,2490,2480,2148,2041,2260,1940,2054,2807,2459,1980,1740,1687,1635,1589,1952,2485,2432,2423,2447,2344,2514,2596,2605,2264,2438,2162,2121,2325,1769,1337,1835,2426,2753,2624,2280,1832,2059,1063,740,1086,1621,1981,1400,917,1055,1135,1351,1823,1613,1431,1642,1972,2470,2708,2415,2193,2053,2269,3035,3121,2570,2055,1884,1813,1967,1946,1664,2201,2522,2151,2077,2272,2440,2177,1813,1951,1894,1932,1823,1998,1716,1755,2232,2216,2187,2602,3022,2853,2119,1694,1918,1826,1741,2604,3450,3742,3318,2655,2653,3078,2988,2797,3319,3265,2778,2778,2738,2788,2916,2800,2613,2861,2957,2674,3295,3637,3659,3813,3837,3264,2326,3047,3693,3201,2665,2354,2160,2285,2387,2199,2045,2187,1736,1965,2998,3411,2288,1707,1553,1776,1902,2235,2636,2055,1941,2729,2431,2259,2425,2412,2235,1965,1909,2134,2199,2419,2787,2865,2579,2702,2637,2312,2231,1849,1581,1484,1703,1937,1729,1870,1914,1555,1651,2173,2756,1966,1792,1932,2047,1542,1472,1566,1796,2068,1882,1669,1628,1577,1915,1576,1588,1458,1607,1825,1716,1901,1772,1625,1768,1986,2040,1711,1851,1870,1736,1797,1853,1654,1527,1748,2535,3084,2876,2439,2216,2129,1925,2275,2442,1810,2017,2257,2105,2122,2031,1780,2001,2125,2324,2386,2470,2103,1611,1677,1671,1713,1775,1837,1756,1934,1982,1704,2026,1787,1832,1918,1560,1587,2008,1954,1851,1954,1987,1795,1449,1221,1282,1664,1605,1893,2340,2156,1936,2239,2514,2464,2822,3056,3062,2683,2234,1959,1837,1980,2431,2633,3128,3467,3345,2470,2590,3409,3408,3130,2678,3038,2675,2598,2642,1879,1665,1960,1936,1953,2018,1946,1686,1727,2645,2733,2428,2132,2553,2782,2916,2742,2533,2119,2114,2841,3652,4285,4202,3442,2779,3389,3961,3915,3774,3881,4521,3707,2977,3646,3739,3489,2761,2254,3009,3910,3672,3230,3063,2988,3334,3633,3828,3918,3444,2808,2786,3160,3159,3194,3284,3472,3609,3865,4070,3654,2890,2568,2539,2688,3186,3433,3003,2933,3689,3399,2519,2167,2065,1809,1997,2999,3560,3764,3708,3465,3353,2944,3104,3532,3398,3119,3033,2463,2203,2832,3486,3957,3993,4041,4168,3544,3113,3053,3215,3316,2897,2975,3544,3524,3194,3138,3177,3161,2965,3097,3558,3650,3687,3752,3518,3230,3052,3285,3266,2849,2587,1993,2546,3139,3152,2852,2171,1741,2718,3692,3601,3563,3114,2625,2777,3082,3407,3520,3276,3165,2787,2580,2528,2337,1804,1691,2154,2649,2712,2447,2313,2078,1904,1968,2149,2157,1822,1851,2005,1725,1464,1565,1585,1657,1778,1792,1768,1858,1979,2433,2504,2193,2248,2286,2271,2204,1793,1677,1938,1872,2071,2335,2698,2657,2932,3047,3099,3154,3022,2562,2223,2296,2789,3619,3869,3899,3714,2956,2566,2186,2288,2472,2308,1693,1322,1283,1298,1291,1526,1646,1954,2146,2156,2120,2324,2159,1840,1794,1353,1307,1707,1668,1785,2067,2155,1745,1615,1906,2079,1738,1344,1692,2131,2506,2568,2564,1683,1760,1775,2005,2318,2329,2243,2297,2237,1991,1867,1670,1735,1798,2026,2567,3077,2990,2475,1776,1719,1325,1477,2322,2490,1544,1192,1682,2250,1992,1664,1710,1827,2071,2182,2652,3112,2552,2100,1974,1942,1648,1844,1844,1697,1596,1628,1707,1872,2029,1863,1971,2250,2088,1986,2167,1854,1914,1924,1755,1667,1573,1520,1858,2990,3574,2302,1592,1505,1596,1452,1148,1153,1626,1687,1429,1419,1657,1682,1733,1541,1434,1461,1476,1604,1939,2097,2126,1948,1740,1487,1491,2016,2426,2088,1706,1826,1782,1700,2038,1851,2156,2849,2821,2262,2199,2766,3058,2639,2641,2188,1908,1802,1987,1793,1631,1622,1768,1848,1653,1713,1722,1360,1421,1615,1992,1887,1732,1621,1857,2033,1792,1553,1421,1366,1456,1569,1794,2198,1999,1936,2020,2186,2237,2420,2904,2882,2822,3362,2501,1898,2185,2080,2169,2231,2533,2523,2661,2859,2929,2683,2318,1996,1887,1853,1937,2343,2375,2115,2183,2033,1574,1683,2102,1967,1985,2259,2008,1895,1812,1521,1489,1789,1690,1831,2322,2269,1848,1775,1925,2228,2256,2302,2458,1694,1764,1985,2149,3183,3344,2596,2047,1809,1747,1733,1672,1799,2007,1912,1809,1872,1840,1924,1886,1744,1641,1612,1516,1266,1253,1084,1059,1629,1218,857,1356,1877,1913,1885,2199,2179,1840,2022,2142,1874,2202,1741,965,1114,1585,1836,2307,2996,3330,2801,2581,2257,1686,2083,2318,2110,2249,2301,2056,2525,2204,2233,2339,1975,1885,2126,2656,2968,3007,2878,2757,2712,2475,2966,2908,2906,3007,2945,3145,3399,3398,2873,3007,3053,3318,3270,2966,2239,2096,2439,2671,3038,3492,3128,2286,2509,2972,2473,2054,1789,1873,2190,2525,2921,2844,2565,2043,2041,2377,2069,1896,1896,1704,2195,2232,2151,2310,2774,2507,2884,3492,2879,2934,2887,2934,3006,2663,2218,2130,2112,1986,2409,2386,2262,2321,2014,2220,1961,1990,2311,2504,1742,2050,2042,2341,2489,2119,2091,2330,2655,2432,1764,1502,1657,1648,1857,1935,2074,2206,2520,2810,3217,3838,3994,3566,2854,3429,4082,4068,4445,4620,4145,3592,3294,3272,3637,3703,3665,4090,4276,3939,3681,3826,4029,4297,4217,3609,3111,3164,2889,1874,1560,2493,3076,3005,2623,3075,3544,3694,3693,4038,4517,4517,4152,3865,3807,3726,3764,3739,4188,4101,2654,1876,1636,1630,1536,1748,1930,1954,2399,2424,1934,1965,2435,2445,2108,1961,2124,2392,2226,2149,2247,2182,2302,2501,2609,3335,3109,2649,2131,2103,2005,1987,1908,1803,1817,2136,2404,2499,2275,2304,2507,3269,3363,2889,2436,2426,2270,2277,2385,2455,2347,1907,2302,2517,2543,2530,2341,2193,1904,1777,1929,2342,2317,1907,2086,2324,2367,2416,1771,1511,1565,1765,1956,1989,1700,1861,2259,2474,2193,1803,1741,2460,2063,2094,2270,2325,2040,1925,2180,2311,2168,2260,2588,3012,2479,2371,2047,2035,2592,2412,2691,3389,3224,2833,2464,2226,2962,3288,2699,2700,2978,2315,1061,461,363,357,430,920,1135,1351,1611,1472,1807,1933,2141,2077,2118,2242,2310,2146,1932,1645,1418,1499,1939,1819,1559,1665,1515,1992,2366,2447,2696,2941,3001,2803,2343,2166,2310,1893,1708,1668,1537,2129,1824,2157,2567,2688,2267,1790,2085,1960,1812,1988,1939,2117,2360,2377,2344,2431,3105,3697,3420,2602,2317,2371,2502,2600,2219,2126,1816,2100,2858,3028,3505,3230,1928,1594,2030,1969,2260,2281,2065,1939,2165,2182,2420,2471,2609,2221,3053,3656,2684,1891,1971,1800,1487,2392,2916,2862,2557,2728,3251,3559,2866,2555,3263,3706,2943,3186,3196,2809,3197,3443,3639,4005,3484,3348,3507,2819,2680,3030,2534,2560,1920,2193,2502,2809,2744,2864,3036,2750,2634,2286,2311,2459,2195,2153,2443,3161,3593,3708,3773,3529,3665,3333,2756,2653,2633,3050,3098,3051,2609,2165,2600,2678,2356,2038,1844,2015,2104,2050,2398,3087,2008,1593,2232,2083,2337,2732,2203,2120,2307,1843,2066,2501,2592,2552,2483,3149,3062,2525,2325,2308,2374,2141,1964,2114,1951,1981,2666,2719,2438,2370,2164,1862,1910,2072,1919,1586,1465,1798,2130,2251,2060,1672,1921,2063,2326,2401,2276,1815,1678,1887,1841,2225,2819,2583,2436,2602,3188,3103,2898,2910,2774,2090,1863,1963,2010,2237,2155,2513,2692,2400,2486,2611,2270,2153,1885,1587,1693,1606,1419,1537,1588,1672,1724,2588,3508,2790,2529,2452,2541,2557,2402,2720,2909,2701,2031,1551,1187,1431,2029,1970,2227,2776,2480,2127,2119,2164,2141,2298,2375,2189,2646,3002,2213,1419,1019,1667,2255,2129,1943,2744,3232,2988,2784,3065,3030,2871,2331,1676,1498,1489,1513,1958,2438,2364,2296,1983,1903,2523,3009,2880,2342,1611,2740,3517,3452,3339,3134,2978,3009,3116,3145,3204,3201,2829,2098,2593,2889,2822,2457,2318,2462,3166,4485,4471,3436,2557,3134,3802,3909,3698,2647,2122,2616,2205,1830,2027,2330,2571,2709,2412,2454,2631,2701,2381,2239,2251,2128,2599,2535,1896,1659,1904,2243,2474,2669,2847,2510,2463,2517,2008,1715,2202,2819,2620,2404,2194,1585,1530,1755,1786,1824,2165,2017,1673,1755,2128,1946,1985,2481,2204,1706,1571,1366,1714,1712,2152,2686,2364,2283,2472,2405,2410,2402,2529,2305,1948,2051,2318,2414,2318,2273,2477,2424,2499,2443,2666,2693,2383,2312,2351,2610,2576,2450,2151,2315,2669,2752,2898,2813,2291,2091,2005],[1378,1360,1977,2730,2423,1994,1692,1950,2746,3342,3585,3421,3142,3464,2956,2123,2188,2177,2225,2217,2268,2697,2818,2351,2421,2409,2740,2985,2976,2716,2368,2088,1857,1951,2009,2583,3542,2132,2156,2463,2093,1545,1384,1956,2615,2906,2923,2058,1592,1548,1882,2135,2249,2132,2225,2365,2260,2987,3741,3260,3172,2940,2534,2231,2199,2579,2359,2710,2501,2443,2466,2456,2802,2822,2785,2909,3008,2737,2457,2265,2040,2116,2434,3309,3731,3309,2981,2502,2128,2233,2308,2131,1961,2296,2210,2595,2897,2855,2856,2800,2337,1751,1874,2314,2524,2538,2493,2502,2341,2081,2099,2225,2122,2029,2034,2096,2056,2476,2597,2547,2382,2209,2438,1916,1864,2548,2925,2319,1844,2209,2872,3260,2855,2442,2533,2287,2290,2751,2985,3384,3440,2774,2700,3486,3396,2619,2602,3101,2978,2723,2085,2691,3971,4183,3950,3673,3779,3994,3928,3674,3119,2667,2743,3499,3940,3650,2957,2061,1682,1794,1948,2195,1968,1635,1832,1764,1872,1708,1539,1576,1674,1616,1719,2123,2044,1831,1877,1930,1714,1574,1454,1650,2136,2485,1825,1888,1959,2060,2085,2048,1886,2017,2442,2559,2052,2364,2985,2841,2343,1990,1773,1663,1914,2026,2048,2249,2352,2056,2138,2597,2796,2584,2338,2512,2754,2668,2200,2213,2584,2160,1615,1882,2011,2042,2195,2561,2380,2353,2580,2608,2489,2225,2119,2294,2502,2776,2587,2279,1838,2161,2636,2729,2476,1813,1836,1955,1953,2586,2896,2547,2448,2626,2642,2385,2306,2317,2208,2027,2154,2485,2600,2156,1134,1389,2192,2109,2286,2062,2320,2343,1761,2095,2453,2265,2316,2047,1871,1948,1979,1748,1843,1643,1836,1813,1826,2094,2155,1988,1900,1889,2209,2791,2709,2370,2052,2348,2022,1758,1839,2081,2250,2191,2217,2263,2368,2261,2110,2089,1832,1813,2186,2134,1926,1763,1641,1603,1783,2160,2567,2600,2255,1811,2158,2691,2032,1713,2275,3374,3887,3045,2198,2446,2846,2587,2869,2923,3239,2956,2753,2795,2877,2802,2764,2589,3184,3685,3076,3052,2881,2701,2819,2773,2536,2448,2956,3064,2795,2523,2293,2115,2498,2686,2636,2630,2765,2370,2447,2634,2249,2078,1951,1885,2376,3075,3572,3084,1632,1922,2165,1662,1813,2166,2118,2496,2313,2081,2656,2496,2338,2552,2750,2662,2553,2400,2603,2365,2020,2025,1949,2188,1938,1618,1813,1852,1554,1745,2378,2839,2015,1851,2010,2085,1808,1494,1646,1938,2236,2157,1729,1931,2041,1713,1419,1647,1539,1527,1632,2089,2542,2128,1763,1699,1928,1714,1472,1681,1793,1571,1896,2022,1697,1499,1817,2108,2065,2120,2352,2216,2089,1767,1928,1913,1864,2050,2214,2312,2258,2004,1776,2046,2159,2519,2273,2321,2096,1831,1656,1909,2041,1644,1683,1725,1901,1484,1418,1792,1582,1909,2102,1602,1924,2202,1706,1842,2132,1947,1685,1710,1460,1643,1904,1804,2036,2353,2184,2031,2431,2590,2259,1949,1988,2339,2280,2196,1834,2050,2634,2739,2813,2801,2820,2999,2389,2403,3041,3389,2536,1963,2491,2007,2348,2331,1802,1427,1179,1192,1617,2167,1926,1450,1436,2399,2329,2276,2124,2344,2417,2142,2029,2058,1842,2104,2761,3372,3869,3919,3877,3343,3295,3580,3714,3850,3980,4312,3752,3205,3518,3592,3339,2544,2343,3165,3599,3371,3226,3406,3408,3527,3602,3662,3917,3871,3538,3197,3306,3072,2951,2851,2989,3275,3032,2900,3138,2928,2674,2473,2836,3144,3256,2573,2827,3422,3366,2639,2252,2166,1872,2294,3262,3622,4311,4588,4089,3371,2553,2517,3272,3488,3204,3089,2980,2764,2885,3243,3979,4100,4391,4247,3938,3484,3273,3286,3116,2954,3270,3695,3332,2489,2407,2684,2855,2986,2902,2895,2642,2284,2923,3245,2755,2686,2766,2796,2620,2575,2127,2663,3398,3398,3010,2439,2135,2787,3616,3526,3356,3610,3416,3265,3131,2994,3063,2797,2745,2851,2982,2964,2608,2059,1866,1876,2004,2070,2336,2236,1939,1819,2104,2326,2149,1813,1784,1886,1635,1367,1584,1743,1788,1809,1434,1569,1940,1979,2476,2565,1997,1985,1960,2048,2115,1739,1592,1789,1672,1857,2171,2254,2352,2615,2818,2884,2968,2964,2471,2141,2186,3009,3168,2808,2687,2564,2252,2170,2409,2618,2296,2053,1531,1356,1399,1364,1343,1554,1734,2160,2073,1789,2144,2353,2248,2254,2280,1989,2024,2185,2082,1957,2050,1894,1531,1734,2054,1941,1498,1435,1881,2270,2482,2798,2269,1764,1802,1750,1987,2204,2089,2147,2304,2322,2053,2111,1930,1718,1715,2170,2986,3130,3020,2170,1681,1493,1288,1879,1926,1671,1678,1321,1374,1676,1628,1660,1738,1768,1669,2035,2890,2362,1846,1830,1736,1814,1704,1832,1899,1756,1519,1379,1556,1809,2307,2675,2730,2569,2531,2298,2046,1881,1786,1666,1533,1510,1429,1470,1504,1656,1554,1322,1354,1372,1478,1572,1312,1331,1487,1574,1504,1316,1176,1551,1875,1690,1463,1423,1488,1678,1944,1936,1899,1892,1925,1968,1950,2187,2164,1987,2195,2447,1968,1781,2102,2096,2655,3110,2487,2004,1887,1927,2679,2865,3108,3142,2341,1919,1961,1815,1669,1622,1700,1818,1691,1553,1913,1988,2005,2198,2306,2408,2418,1855,1726,1759,1647,1654,1708,1573,1744,1788,1600,1776,2044,2443,2823,2949,3088,3067,2656,2257,2658,2898,1948,1907,1947,2197,2160,2310,2037,1784,1946,2265,2578,2677,2677,2235,1878,1809,1709,1864,1862,2018,1978,1791,1657,1897,2205,1976,1848,2098,1987,1904,1886,1672,1633,1706,1472,1617,1866,1969,2355,2341,2270,2238,2153,2139,2284,1328,1562,1995,2483,3430,3810,3366,2962,2786,2086,1731,1855,1968,1977,1842,1858,1784,1749,1677,1600,1586,1528,1595,1441,1214,1201,864,894,1690,1829,1724,1782,1934,1969,2077,2513,2380,1860,1880,2110,1960,2332,1950,1091,1340,2161,2309,2422,2709,2291,2429,2674,1794,1888,2165,2231,1989,2315,2113,2028,2243,2030,2302,2490,2210,2330,2445,2929,3124,2836,2711,2667,3024,2903,2750,2750,3000,3033,2874,2529,2727,3076,2768,3028,3194,3145,3160,2888,2406,2521,2646,2963,3586,3135,2906,2570,2580,2405,2503,2478,2082,2198,2452,2370,2420,2712,2377,1886,1969,2021,2258,2310,2103,1730,2303,2138,2185,2769,3190,2725,2184,2623,2191,2554,2808,3607,3472,2558,2161,2097,2057,2049,2383,2976,2767,2262,1725,1767,1903,2076,2155,2070,2025,2400,2082,2193,2533,2824,2908,2548,2448,2257,2015,2096,2151,1888,1945,2151,2724,2820,2519,2791,2800,3326,3912,3747,3307,3764,4275,4439,4439,4572,4549,4309,3838,3384,3574,3527,3482,3609,3717,3615,3898,4100,4188,4328,4016,3351,2783,2607,2734,2083,1556,2829,3529,3708,3459,3351,3517,3530,3482,3623,4072,4552,4541,3996,3899,3726,3307,3439,3915,4052,2979,1916,2019,2321,2189,1841,2048,2110,2145,2069,2079,2113,2476,2302,2331,2494,2388,2174,2115,2260,2368,2646,2434,2215,2221,2354,2029,2005,1953,2200,2776,2851,2802,2468,1749,1875,1949,2154,2276,2242,2267,2523,2584,2332,2209,2272,2083,1928,2125,2092,1804,1522,2227,2351,2385,2479,2118,1448,1354,2002,2588,2646,2387,2052,2232,1998,2399,2168,1489,1397,1366,1564,1803,2038,2558,2907,2375,2024,1630,1459,1691,2496,2366,2138,2426,2198,1855,2066,2618,2753,2402,2629,2372,1992,2080,2651,2357,2056,2358,2562,3056,3517,2983,2570,1975,2053,2971,3619,2967,2871,3023,3138,2287,1058,532,650,616,550,1129,2116,2480,1622,1365,1828,2012,1951,1815,1930,2020,1799,1477,1394,1310,1431,1876,1455,1447,1584,1480,1704,2058,2322,2720,2889,3146,3095,2652,2170,1883,1686,1871,1692,1530,2030,1969,1955,2687,3485,2931,2203,2454,2163,1954,2319,2043,2054,2097,2126,2408,3459,4452,4747,4292,3095,2294,2449,2602,2229,2244,2331,2091,2536,3484,3561,3092,2880,2469,2286,2078,1752,2312,2464,2248,2152,2082,2031,2356,2837,2779,2228,2762,3655,3243,2556,2691,2149,2309,3723,3917,3256,2557,2159,2508,2858,2793,2558,3108,3182,2525,2984,3292,2868,3452,3890,4352,4577,4193,4007,3553,2243,2001,2447,2222,2098,1875,2175,2445,2621,2576,2731,2645,2370,2192,2213,2391,2410,2408,2549,2931,3548,3671,3604,3625,3348,3255,2979,2433,2595,3002,2942,2375,2086,1875,1883,2565,2690,2666,2418,2115,2340,2034,1934,2219,3484,3021,2032,2166,2016,1987,2325,2872,3322,2702,2406,2546,2294,2839,3496,3116,2568,3216,3006,2419,2406,2322,2242,2219,2259,2343,2435,2678,2418,2152,2297,2355,2214,2420,2420,1950,1547,1797,1902,2532,2652,2487,2210,2409,2377,2287,2119,1596,1248,1734,2191,2258,2786,3226,3232,2419,2665,2904,3185,3513,3860,3523,2712,2561,2530,2511,2940,2428,2215,2419,2298,2387,2386,2416,2158,1852,1816,1716,1561,1554,1588,1636,1762,2132,2385,2921,2524,2343,2280,2299,2248,2503,2758,2244,1780,1693,1186,1280,1635,1783,1933,2107,2592,2687,2376,2397,2386,2361,2384,2432,2622,3061,3282,2388,1496,1625,2049,2150,1844,2275,3383,3528,2442,1967,2396,2809,3506,3183,2390,1830,1718,1824,2564,2710,1374,1116,788,873,1840,2911,2752,1865,2281,3383,3504,3317,3200,3122,2979,3021,3208,3306,3387,3400,2847,2375,2844,3023,2864,2145,1840,2274,3052,3995,3498,3472,3436,3253,3539,3474,3176,2335,2234,2259,1804,1715,1609,1931,2098,2286,2375,2382,2250,2295,2294,2340,2278,2437,2589,1867,1694,1937,1912,1939,2339,2520,2479,2142,2286,2416,2159,2088,2414,2586,2709,2380,1985,1671,1522,1727,1718,1605,1555,1622,1554,1749,2047,1872,1991,2170,1948,1978,1819,1677,2123,2114,2094,2270,1827,1613,1727,1757,1972,2096,2389,2513,2390,2617,2526,2530,2351,2083,2142,2475,2413,2078,1903,2029,1935,1752,1764,2305,2524,2533,2728,2723,1958,1669,2079,2392,2294,2151,1666],[1794,1558,1908,2411,2437,2399,2790,2612,2762,2856,2940,3055,2930,3123,3021,2381,2479,2035,2104,2464,1968,1843,2129,2249,2192,2319,2767,2854,2740,2784,2758,2079,1942,1882,1758,2542,3480,2447,2193,2382,2208,2343,2500,2696,2714,2619,3034,2939,2674,2917,2689,2477,2383,2614,2913,2863,2568,2691,3271,3133,3186,3032,2792,2228,2107,2389,2877,3069,2758,2543,2553,2728,2652,2297,2090,2411,2861,2726,3032,3061,2840,2554,2442,2797,3310,3161,2709,2161,1810,2283,2253,2096,2174,2500,2311,2658,3210,3243,2940,2296,1644,1329,1726,2373,2530,2499,2532,2567,2155,2085,2127,1854,1975,2284,2360,2352,2122,2257,2352,2462,2280,2208,2253,2413,2613,2950,2752,1938,2381,2652,2722,2985,2565,2495,2640,2552,2722,3376,3195,3078,3444,3339,3230,3441,3776,3347,3030,3316,3231,2712,2213,2904,3963,4324,3891,3434,3704,4119,4159,4048,2812,3009,3797,3863,2979,2429,2820,2519,1831,1742,1656,1906,1742,1544,1682,1512,1811,1592,1625,1709,1824,1887,1801,1827,1817,1898,1824,1893,1675,1504,1150,1053,1781,2008,1842,1904,1958,2008,2069,1807,1801,1865,2016,1830,1929,2132,2613,2458,2065,2021,1710,1681,2016,2211,2072,1823,1974,1882,2222,3238,3362,3152,2918,2978,2950,2950,2765,2112,2019,1972,2105,2777,2930,2680,2380,2058,2197,2556,2812,2284,1657,2220,2786,2805,2523,2565,2316,1934,1803,2086,2218,2734,2646,1913,1947,1975,1925,2681,2458,2633,2415,2460,2546,2265,2007,1917,1899,1884,2632,2833,2404,2306,1440,1069,1618,2122,2030,2169,2423,2342,2417,3019,2877,2087,2375,2387,2677,2452,2434,2120,1400,1234,2057,2372,2265,2159,2095,2273,2430,2275,2198,2077,2244,2069,2242,2207,1940,1825,1873,1941,1725,1494,1963,1962,1888,1731,1749,1888,1520,1647,2194,2079,1672,1671,1573,1477,1648,2219,2875,2755,2249,2050,2107,2542,2292,1973,2488,3196,3500,3560,2688,2580,2798,2556,2908,3041,3626,3729,3197,2811,2812,2788,2814,2754,3030,3726,3432,2808,2608,2632,2598,2664,2464,2308,2030,2035,2469,2822,2709,2564,2858,2763,2953,2655,2642,2349,2370,2213,1967,1954,2225,2763,3527,3876,3694,2824,1368,1792,1977,1786,2003,2071,2154,2514,2166,1740,2337,2069,2022,2286,2330,2322,2342,2368,2552,2331,1880,1584,1768,2037,1730,1629,1838,2096,1983,2123,2473,2608,1903,1664,1869,1939,1686,1732,2019,2363,2684,2720,2442,3275,3288,2197,1662,1793,1779,1639,1832,2868,3464,3067,2279,1693,1742,1555,1556,1904,2030,1879,1765,1721,1663,1553,1667,1797,2005,2274,2006,1783,1784,1660,1717,1980,1893,1594,2346,2684,2243,2199,1858,1900,2259,2733,2797,2636,2255,2025,2073,2369,2313,1666,1744,1948,2135,1941,1714,1878,1632,1935,2222,1768,2042,2350,1789,1689,1852,1938,1798,1881,1931,1875,1897,2203,2355,2208,2012,1839,2132,2252,2338,2066,1984,2641,2744,2618,2549,2423,2712,2803,2734,2724,3208,2917,2335,2525,2883,2782,1926,2124,2182,1586,1477,1869,2361,2027,1852,1707,1978,2534,2434,2074,1986,2405,2360,2182,2353,2541,2408,2293,2800,2586,1881,2213,3240,3780,3823,3815,3642,3203,2950,3097,3562,3971,4061,3776,3241,3426,3550,3574,3451,2974,2811,3144,3294,3394,3629,3663,3618,3618,3040,2939,3562,3568,3673,3637,3552,3432,3249,3153,3417,3554,2729,2062,2923,3404,3377,3364,3183,2937,2865,2563,2481,3030,3227,2642,2204,2167,2216,2750,3571,3979,4364,4501,4168,3233,2910,3198,3205,3198,3172,3183,3406,3152,3052,3261,3657,3782,3648,3518,3746,3735,3427,2979,2696,2655,3102,3415,2647,2003,1903,2044,2144,2236,2230,2310,1889,1994,3085,3099,2509,2530,2511,2699,2701,2398,2237,2788,3270,3168,3261,3464,3002,2609,2922,3071,3433,3731,3638,3671,3406,3131,2804,2537,2517,2863,3175,2775,2329,1880,1800,1786,1928,1908,2236,2192,1945,1925,2326,2574,2172,1691,1687,1727,1541,1416,1565,1579,1723,2157,1657,1630,2112,1981,2159,2437,2010,2039,2079,2097,2199,1797,1581,1680,1671,1748,1786,1746,1879,2020,2054,2174,2278,2314,2303,2174,2191,2790,2395,1985,1951,1713,1643,1904,2139,2152,2109,1823,1566,1483,1441,1401,1405,1482,1643,1700,1543,1698,1771,1787,1979,2085,2220,2409,2195,2275,2546,2470,2177,1705,1521,1856,1892,1706,1318,1672,1883,2180,2288,2378,2087,1801,1669,1655,1915,2100,2234,2286,2380,2464,2426,2376,2178,1901,1583,2032,2873,3143,2814,1841,1741,1246,1432,1788,1248,1065,1124,1004,1115,1161,1439,2103,1832,1736,1709,2063,2337,2077,1587,1581,1826,2054,1947,1763,1832,1904,1731,1772,1722,1930,2642,2881,2564,2309,2311,2088,1894,1749,1533,1522,1572,1432,1462,1496,1305,1392,1602,1470,1352,1407,1825,1780,1452,1547,1791,1872,1677,1571,1339,1694,1782,1717,1496,1467,1544,1610,1623,1579,1714,2032,2206,2473,2791,3575,2763,1859,1699,1571,1543,1756,1742,1689,2097,2313,2071,1846,1864,1790,2387,2676,2674,2631,2444,2341,2285,1897,1777,1677,1672,1787,1592,1300,1972,2487,2674,2820,2258,2250,2542,1974,1797,1548,1759,1835,1902,1696,2059,2160,2106,2774,3072,3184,3217,2696,2636,2447,2226,2313,2287,1959,1700,1799,1921,2104,2232,2211,1793,1733,1692,1674,1739,1857,2250,2046,1832,1765,1858,2013,2022,2065,1937,1880,1956,2280,2281,1879,1775,1712,2012,2052,1883,1781,1788,1536,1489,1997,2166,2312,2645,2191,2228,2834,2396,2109,2442,2149,2403,2890,3168,3488,3166,2372,2579,3020,2410,1794,1849,1838,1607,1583,1553,1343,1387,1517,1550,1765,1983,1805,1531,1417,1614,1911,2303,2906,3187,3157,2771,2124,2041,2211,2310,2064,1942,1911,2039,2259,2386,1860,1350,1394,1900,2226,2324,2412,1809,2064,2405,1885,2286,2352,1990,2136,2405,2068,2239,2342,2128,2069,2240,1983,1948,2276,2943,3025,3033,2700,2581,2778,2649,2677,2750,2775,3159,2852,2276,2370,2753,3044,3233,3243,2836,2575,2432,2304,2336,2432,2615,2978,2296,1989,2865,3340,2440,2003,2294,2432,2746,2733,2105,2033,2647,2327,2376,2242,2177,2337,2233,1824,2006,2264,2027,2047,2553,3159,2924,2214,2103,2187,2276,2467,2808,2684,2227,1855,1696,1868,2296,2375,2732,2353,1979,1638,1398,2624,2659,2033,1770,2044,2374,2110,2322,2498,2756,3195,2868,2534,2494,2548,2083,1895,1839,1887,2256,3038,3164,2741,2640,2561,2767,3592,3848,3154,3509,4371,4676,4600,4560,4406,4367,4275,3542,3029,3406,3627,3603,3457,3656,3809,3796,3886,3630,3366,3204,2718,2017,2259,2199,1476,2919,3898,3875,3470,3223,3275,3254,3232,3240,3784,4673,4709,4056,3712,3444,3232,2798,2733,3317,3636,3112,2877,2565,2465,2033,2010,1773,1568,1684,2121,2225,2203,2200,2299,2194,2143,2110,2317,2540,2488,2332,2163,2197,2427,1887,1696,2310,2254,2362,2906,2564,2299,2114,1840,1843,1847,1852,1700,1722,1957,1923,1843,1907,1922,1862,1847,1887,1646,1615,1612,1633,2031,1967,1776,1739,1531,1248,1313,1948,2544,2429,2027,2302,2382,2020,2241,1809,1613,1515,1476,1740,2096,2073,3056,3707,2499,1952,1608,1765,2068,2161,2069,1969,1822,1751,1753,1514,2143,2931,2666,2621,2451,2127,2510,3056,2325,1657,2117,2517,2711,2488,2684,2323,1675,1572,2179,3060,3060,2769,2888,3078,2744,2014,1504,1516,1141,1061,1996,2587,2621,1557,1156,1714,2048,2018,2135,2214,1950,1572,1288,1401,1621,1644,1695,1390,1440,1546,1395,1473,1698,2172,2858,3003,3332,2995,2781,2417,1737,2011,2423,2126,1749,1895,1969,1909,2384,3167,2690,2443,2494,2442,2375,2486,1912,1594,1870,2568,3177,3584,3618,4222,4145,3256,2468,2140,2231,1961,2093,2254,2101,2394,2801,2632,2553,2645,2566,2312,1954,2035,2204,2210,1904,2030,2365,2558,2942,3495,3097,2365,2837,3603,3756,3011,2636,2663,3581,4341,4137,3567,2984,2308,2326,2740,2656,2542,3056,3105,2639,3006,3243,3256,3657,4172,4539,4628,4312,3271,2463,1737,1771,2146,2348,2202,1875,1880,2131,2292,2049,1921,2299,2337,2079,2614,2763,2447,2328,2354,2556,3147,3150,2733,2568,2176,2164,2403,2107,2640,3299,2733,1911,1696,1962,2036,2172,2326,2276,2046,2083,2392,2442,2542,2574,3159,2920,2270,2027,1767,1756,2198,3163,3650,2978,3083,3178,2803,2999,3278,2732,2420,2789,2523,2275,2105,1984,2230,2264,2232,2448,2116,2100,2102,2292,2632,2517,2533,2741,2532,2136,2451,2107,2032,3208,2890,2525,2384,2204,2037,2136,2266,1700,1538,2266,2288,2187,2193,2407,3126,2798,2694,3058,3761,4284,4680,4030,2858,2275,2626,2659,2390,2038,2302,2735,2923,2722,2484,2583,2275,1737,1677,1694,1577,1532,1466,1493,1737,2043,1858,1748,1883,1978,1911,1834,1754,2067,2510,2877,2194,1610,1198,1406,1562,1677,2105,2270,2247,2656,2714,2609,2343,2006,1937,2222,2649,2777,2573,2211,1955,1911,2032,2084,2586,3369,4049,4124,2930,2258,2610,2823,3220,3329,2999,2787,2436,1832,2230,2909,2477,1501,987,639,1695,2712,2110,1898,3304,3970,3646,3361,3204,3199,3081,3044,3259,3452,3372,3326,3076,2930,2999,2985,2962,2730,2580,2558,2412,2479,2097,2675,3355,3750,3986,3232,2258,2103,2264,1823,1793,1683,1530,1621,1841,1797,2213,2399,2158,2116,2268,2415,2386,2354,2419,2123,2178,2337,1960,1814,2385,2480,1943,1383,1726,2120,1962,2130,2428,2918,3658,2885,2574,2036,1700,1688,1581,1531,1813,1762,1464,1818,1989,1894,1870,1929,2001,1759,1708,1650,1568,1650,1907,2152,1865,1786,1659,1275,1520,2169,2257,1984,2201,2651,2662,2250,1918,1916,2232,2862,2546,2300,1975,2065,1897,1927,2219,2371,2944,2801,2408,2224,1838,1948,2236,2426,2486,2339,1894],[1885,2075,1918,1908,2278,2808,3032,2450,2255,2424,2266,2020,2204,2835,3549,2752,2335,1793,1798,1982,1631,1509,1927,2354,2427,2441,2621,2692,2698,2623,2922,2238,2155,2127,2116,2541,3062,2781,2424,2189,2235,2916,3226,3351,2702,2447,2720,2774,3052,3240,2820,2312,2408,2884,3121,3130,2831,2380,2851,2801,2639,2575,2302,1984,1988,2110,2080,2231,2386,2425,2221,1991,1888,2031,2146,2589,2998,3032,2888,2973,2786,2380,2381,2312,2530,2537,2348,1965,2026,2344,2249,2247,2430,2365,2078,2378,2679,2837,2334,1401,1641,1989,1992,2074,2410,2533,2449,2272,2188,2243,2169,2090,2328,2375,2250,2382,2822,2518,2422,2199,2063,2187,2344,2697,2855,2966,2269,2190,2896,2546,2034,2342,2262,2602,2708,2412,2699,3601,3262,2929,3090,3561,3795,3768,3843,3763,3877,3739,3257,2753,2699,3396,3925,4047,3928,3830,3772,3785,3706,3830,3399,3812,3481,2558,2407,3175,3808,3225,2163,2002,1704,1694,1822,1675,1688,1596,1578,1513,1856,1885,1710,1804,1632,1647,1620,1625,1824,2040,2040,1958,1468,1148,1340,1493,1561,1664,1884,2301,2898,2596,2318,2028,2042,2161,2250,1863,1992,2258,2564,2322,1651,1762,2203,2622,2498,2020,1860,1663,2421,3327,3416,3225,3319,3492,3337,3137,2790,2318,2308,2375,2263,2343,2419,2648,2337,2014,2042,2180,2596,2356,2619,3480,3022,3121,3508,3122,2156,2455,2328,2265,2654,2416,2023,1843,1808,1764,1658,2259,2146,2336,2226,2310,2646,2479,1870,1567,1621,2143,2700,2468,2085,2379,1902,1185,1746,2853,2928,2864,2918,3046,2902,3086,2586,1599,2077,2191,2645,2496,1986,1648,1137,1420,2107,2618,3166,2786,2166,2262,2504,2410,2522,2417,2100,1786,2088,2293,1980,1993,1987,1911,1895,1443,1790,2198,2237,1909,1802,1733,2007,2094,2031,1910,1787,1671,1625,1709,1655,1884,2381,2287,2147,2155,2103,2114,2310,2758,2942,3216,3414,3741,2853,2591,2568,2636,2908,3141,3428,3897,3355,2629,2935,2975,2857,2875,3037,3229,3074,2739,2581,2624,2585,2292,2070,2127,1986,1858,2222,2946,2730,2690,2634,2436,2521,2335,2269,2535,2696,2208,2348,2676,3098,3637,3930,3784,3773,2553,1488,1932,2045,2128,2186,2054,2242,2510,2246,2364,2602,1953,2067,2000,2161,2214,2110,2370,2512,2244,1788,1865,1845,1820,1697,1575,1772,2082,2118,1715,2151,2542,1782,1769,1997,1978,1603,1899,2043,2382,2813,2856,2977,3384,3382,2617,1823,1872,2073,1945,2320,3059,3132,2898,2395,1743,1584,1554,1757,2047,1898,1742,1538,1596,1728,1575,1412,1669,1925,2014,1792,1872,2116,2250,2578,2668,2078,1430,2060,2880,2334,1974,1451,1791,3165,3980,3272,2277,1887,2023,2990,3570,3566,2143,1680,2009,2379,2259,2214,2432,2112,2106,2157,1449,1460,1733,1386,1396,1562,1693,1654,1763,2002,2037,2170,2497,2819,2553,1990,1666,2220,2308,2286,2317,2094,2442,2752,2939,3422,3598,2927,2286,1959,2293,2492,2335,2525,2932,3144,2754,1864,2117,2064,1483,1230,1802,2752,2142,2350,2173,2229,2668,2846,2731,2356,2211,2304,2641,2891,2845,2796,2675,3473,2836,1976,2331,3498,3970,4003,4082,3868,3241,2736,2624,2872,3439,3968,3869,3631,3630,3898,3720,3337,2948,2998,3274,3422,3510,3418,3215,3330,3304,2800,3074,3391,3055,2861,3262,3635,3645,3586,3525,3525,3640,3286,2691,3017,3418,3602,3808,3791,4016,3724,3158,2963,3015,2700,2663,2645,2438,2832,3331,3869,3923,4036,4455,4339,3740,3517,3263,3075,3146,3039,2857,3352,3575,3461,3898,3614,2866,2729,2899,3145,3586,3607,3122,2696,2667,2986,3095,2449,2014,2126,2172,2163,2254,2535,2438,2220,2885,3633,3341,3031,3216,2968,2723,2405,2126,2091,2210,2321,2749,3373,3266,2742,2480,2465,2336,2953,3128,3196,3646,3431,2707,2422,2432,2308,2404,2435,1903,1715,1713,1758,1719,1668,1682,1796,1758,1705,1729,2024,2351,2125,1591,1804,1897,1593,1412,1563,1638,1803,2003,1671,1635,2160,1959,1822,2119,1859,2001,2158,2095,1712,1418,1543,1581,1655,1679,1564,1498,1405,1543,1674,1688,1921,1881,1949,2159,2124,2235,2315,2275,1968,1864,1770,1771,1939,1793,1888,1801,1716,1676,1644,1568,1498,1389,1299,1488,1608,1901,1884,2066,1885,1973,1918,1808,1766,1919,2198,2171,1862,1456,1396,1770,1623,1328,1388,1730,1712,1773,2091,2077,1828,1860,1710,1641,1859,2000,2293,2397,2532,2560,2573,2498,2259,2010,1495,1680,2083,2664,2255,1698,1656,1438,1641,1588,1066,801,793,955,1042,999,1324,2027,1806,1555,1614,1692,1860,2034,2034,2103,2083,2078,1976,1740,1792,1709,1840,2000,1678,2027,2566,2535,2230,2072,1940,1657,1448,1520,1534,1515,1528,1519,1617,1563,1443,2015,2034,1533,1542,1596,1433,1370,1592,1896,2132,1837,1751,1695,1694,1689,1570,1533,1461,1514,1615,1650,1672,1837,2016,2257,2455,2897,2528,2314,2170,1784,1755,2149,2342,2588,1898,1615,1698,1704,1732,1728,2165,2064,2145,2607,2714,2832,2469,2109,2022,1798,1809,1665,1583,1681,1473,1619,2344,2873,2993,2677,2147,2025,2206,2022,2045,1657,2334,2703,2752,2409,2490,2691,2561,2729,2908,2887,2410,2440,3023,2453,2406,2608,2577,2208,1690,1958,2536,2267,2210,2090,1722,1838,1819,1742,1797,1845,2464,2419,2184,2061,1964,1863,2113,2414,2146,1904,1917,2072,2170,1957,1858,1665,2123,2191,1764,1678,1757,1775,1880,2374,2336,2065,1993,1940,2103,2554,2424,2473,2521,2373,2851,3521,3585,3440,2846,2425,2696,3138,2580,1828,1741,1621,1487,1517,1356,1384,1446,1683,1605,1730,2010,2166,1708,1480,1765,2359,2818,2939,2798,2662,2424,2035,1888,1997,1862,1933,2099,2116,1955,2197,2566,2547,2065,1684,1883,2106,2232,2106,1816,2134,2122,2019,2608,2868,2448,2449,2328,2313,2800,2338,1807,1670,1738,1868,2132,2404,2828,2918,3028,2679,2379,2220,2460,2547,2447,2417,3299,3120,2830,2924,2920,2889,3184,3056,2360,2252,2311,2186,2181,2126,2208,2592,2400,1604,2266,3011,2488,2363,2678,2845,3088,2306,1918,2200,2510,2185,2365,2100,2045,2186,2003,2003,2577,2568,2260,2459,2618,2907,2242,2097,2250,2201,2216,2614,2389,1942,1810,1472,1796,2103,2653,2144,1954,2205,2258,1805,1640,2353,2242,2256,2208,1648,2038,2180,2025,1932,2360,2930,2463,2313,2357,2286,2049,1831,1936,2125,2536,3230,2629,2843,2710,2484,2626,3156,3710,3704,3588,3922,4675,4692,4648,4587,4544,4488,4232,3204,2828,2930,3539,3820,3860,3974,4083,4127,3646,2995,3162,3062,2292,2387,2194,1642,3066,4100,3806,3310,3072,3240,3352,3252,3301,3783,4472,4440,4084,3602,3473,3301,3212,3011,2890,3683,3924,4006,2889,1915,1930,1732,1537,1499,1527,1807,1991,1946,1936,2239,2386,2485,2706,2866,2536,2540,2298,2054,2138,1896,1641,2156,2661,2732,2678,2626,2522,2304,1983,1665,1794,1978,1836,1649,1779,1829,1610,1627,2288,2343,1968,1613,1753,1980,1741,2144,2521,2302,1954,1848,2066,2425,1875,1304,1662,1993,2216,2180,2375,2377,2434,2006,1744,1946,1768,1868,2010,2286,1912,2422,2893,2335,2232,2030,2216,2375,2049,1923,1962,1868,2061,2239,1774,1896,2562,2923,2644,2721,2664,2416,2598,2450,2247,2427,2980,3016,2286,2698,2478,2075,1802,2130,2824,2862,2546,2774,2966,2951,2269,1949,1946,1284,1692,2671,2956,2715,1998,1675,1888,2184,2376,2555,2298,1598,1329,1361,1678,2024,1916,1748,1498,1277,1363,1324,1290,1556,2276,2902,3190,2975,2810,2785,2265,1802,1911,1968,1949,1912,1965,2326,2008,2137,2437,2314,2476,2208,2239,2380,1979,1837,2172,2428,3138,3210,2880,2513,3122,3150,2900,2396,1772,2067,2104,2104,2443,2342,2598,2554,2656,2486,2723,2653,2432,2070,2211,2168,2328,2348,2163,2437,2502,2632,3243,3021,2509,2866,3194,3628,3762,3683,2536,2240,3626,3831,3274,3056,2569,2753,3155,2894,2580,2603,3101,3016,2833,3263,3742,3804,3867,3759,4264,4236,2792,2126,1938,1813,2172,2370,1969,1837,2556,3278,2957,2163,2202,2634,2677,2369,2234,2065,1865,1832,1894,1864,1973,2053,2061,2352,2207,2661,2556,2083,2522,2754,2908,2455,2068,2281,2057,1958,2584,2276,1901,1659,2452,2898,2281,2068,2654,2865,2778,2622,2359,2127,2267,2425,3410,3278,2897,3075,2740,2447,2568,2758,2653,2283,2206,2313,2342,2116,2532,2421,2199,2707,2635,2276,2325,2599,2806,2405,2051,2244,2324,2049,2586,1802,2176,2918,2499,2343,2613,2713,2498,2403,2522,2251,2746,2532,2274,2042,1749,1883,2429,2820,3051,3516,3538,3663,4748,4552,3364,2692,2586,2380,1940,1771,2341,2954,3003,2623,2294,2427,2706,2371,1733,1507,1647,1714,1878,1635,1756,1988,1644,1700,2142,1608,1876,2212,1910,1663,2118,2416,2257,1758,1561,1946,2209,2071,2160,2343,1980,2241,2601,2051,1539,1421,1460,1812,2014,2047,2078,2091,2094,1919,1887,2259,3470,3758,3573,3697,3284,2575,2932,2822,2630,3061,3029,2927,2644,1863,2040,2613,2481,2347,1986,1719,2596,2655,1772,2768,4111,4030,3617,3516,3372,3310,3249,3229,3372,3438,3385,3294,2774,2423,2938,3053,3242,3186,3067,2867,2829,2385,2294,2465,2990,3929,4251,3696,3076,2954,2766,2229,2242,2063,1683,2014,2231,1973,2132,2220,2180,2286,2333,2376,2217,1971,1802,2158,2214,2220,1985,2031,2556,2702,2144,1628,1744,1877,1824,2392,2908,3152,3118,2467,2467,2271,1711,1745,2038,1949,2019,1644,1584,2007,2339,1958,1858,2008,2036,1768,1811,1695,1644,1484,1822,2764,2896,2832,2085,1537,1512,2199,2604,2377,2534,2867,2930,2939,2542,2388,2490,3406,3117,2979,2965,2801,2215,2260,2437,2533,2746,2509,2366,1952,2122,2268,2282,2178,2092,2180,2226],[3717,4669,2719,2034,2102,2386,2643,2178,2059,2123,1975,2083,2446,3060,3407,2958,2624,1917,1879,2149,1977,1762,1527,1500,1715,2047,2624,2674,3032,3422,3522,2876,2366,2477,2718,2916,2921,2426,2291,2155,2114,2156,2384,2410,2476,2279,2002,2223,2533,2431,2237,2298,2875,2830,2821,2776,2677,2297,2479,2869,3016,2643,2113,1942,2376,2438,1945,2017,2169,2473,2588,2008,1742,2080,2388,2796,3332,3207,2728,2495,2130,1905,2436,2501,2396,2699,2858,2596,2707,2623,2778,3007,2464,1863,2173,2315,2292,2536,1451,1103,1974,2404,2214,2148,2330,2603,2628,2375,2206,2459,2262,2108,2194,2339,2115,2275,2584,2415,2422,2353,2416,2279,2331,2449,2500,2679,2401,2618,2630,2106,2025,2155,2149,2402,2943,2756,2635,3393,3326,3627,3410,3667,3818,3889,3876,3920,4076,3433,2757,2461,2814,3451,3508,3478,3494,3162,2714,2763,2479,2635,3337,3254,2347,2666,3796,4231,4437,4145,2859,2119,1756,1658,1769,1837,1713,1454,1435,1569,1708,1405,1447,1983,1975,1990,1939,1712,1855,2037,2119,2000,1810,1853,1748,1595,1516,1858,2093,2939,3613,3574,2991,2467,2306,2436,2145,2013,2211,2359,2471,2088,1814,2232,2352,2773,2857,2460,2258,2002,2489,3288,3407,3309,3539,3868,3840,3602,3396,3011,2296,2286,2135,1934,1807,1841,1853,1767,1787,2238,2771,3518,3270,3160,2496,2942,3741,3072,2326,2697,2881,2890,2463,1876,1630,1666,1788,1671,2100,2230,2216,2549,2576,2558,2468,2271,1812,1535,1509,1915,1960,1950,1972,1963,1927,1671,2116,2788,3065,3096,2956,3142,2869,2912,2452,1888,2172,2430,2856,2596,1907,1334,1170,1654,2099,2510,2978,2480,1887,1989,2021,2076,2351,2531,2446,2169,2195,2430,2541,2438,1993,2099,2026,1775,1929,1942,1832,1893,1834,2095,2627,2213,1826,1806,1992,1792,1561,1718,1636,1626,1859,1771,1901,2308,2496,2236,2480,2872,3082,3262,3303,3495,3016,2696,2354,2539,3320,3154,2791,3105,2751,2280,2762,2812,2897,3067,3166,2573,2463,2741,2520,2203,2021,1707,1812,2343,1882,1681,2110,2531,2327,2530,2444,2265,2208,2320,2933,3539,3305,2364,2771,3443,3700,3909,3763,3351,3052,2006,1511,2153,2610,2963,2496,2142,2070,2303,2341,2976,2678,2336,2498,2412,2479,1918,1849,2398,2790,2240,2097,2472,2013,1947,1953,1811,1821,1881,1793,1575,2041,2458,1799,1954,2100,2047,1620,1885,2059,2405,2734,2696,2930,3329,3074,2260,1883,2316,2106,1967,2051,2424,2113,2466,2438,1773,1785,1715,1705,1886,1698,1454,1503,1495,1660,1613,1634,1633,1573,1718,1812,2007,2355,2367,2415,2159,1753,1503,1509,1844,1975,1595,1298,1780,2757,3265,2686,2038,1779,2183,3520,4063,4015,2334,1637,2024,2634,2681,2498,2491,2090,1856,1720,1284,1219,1270,1386,1598,1687,1623,1635,1710,1774,2111,2200,2256,2304,2420,2178,1938,1992,1964,2040,2003,1825,1635,2050,2662,2688,2707,2824,2189,1939,2180,1749,1767,2432,2923,3131,2799,2295,2517,2967,3150,2383,2465,2939,2394,2561,2214,1792,2167,2680,2567,2123,1906,2142,2869,3470,3240,3153,2772,3174,2556,1859,2583,3510,3959,4140,3891,3853,3956,3680,3665,3709,3967,3892,3789,3769,3595,3520,3574,3322,3131,3395,3794,3736,3528,3430,3420,3560,3540,3187,3020,3286,3300,3293,3530,3565,3519,3768,3786,3635,3650,3759,3561,3605,3330,3471,3640,3786,4277,4301,3619,3508,3275,2663,2509,2810,2925,3268,3680,4015,4034,4197,4596,4597,4301,3927,3719,3140,2784,2874,3165,3571,3881,3752,3701,3285,2922,2929,2948,3261,4009,4297,4057,3799,3593,3414,3212,2796,2829,2889,2757,2598,2584,3037,2802,2438,2934,3398,3115,2757,3039,2985,2872,2711,2303,2143,2053,2279,2700,3298,3333,3297,3437,3399,2557,2395,2613,2921,3098,2686,2449,2420,2343,2130,2062,1832,1533,1736,1724,1594,1640,1691,1724,1677,1559,1604,1733,1848,2153,2121,1598,1694,1718,1412,1362,1610,1597,1722,2049,1937,1856,2266,1920,1902,2393,2251,2273,2241,2083,1511,1278,1562,1419,1521,1339,1230,1157,1130,1690,1955,2054,2755,2473,2413,3283,3428,3507,3206,2456,1991,1909,1809,1816,2035,2058,1786,1693,1921,1950,1842,1833,1878,1537,1337,1748,1808,1951,1803,1991,2006,2036,1968,2061,2035,2007,1947,2121,1686,1407,1703,1949,1803,1556,1625,1738,1534,1650,2169,1968,1658,1657,1781,2187,2119,2025,1923,2181,2524,2565,2788,3169,2880,1858,1089,1266,1565,1917,1720,1571,1509,1419,1603,1424,985,773,1062,1325,1306,1299,1526,1652,1487,1620,1572,1274,1486,2065,2339,2205,2044,1786,1750,1795,2103,2413,3024,3001,2214,1872,2019,1882,1705,1821,1808,1448,1499,1733,1603,1500,1360,1521,1562,1472,1587,1754,1542,1474,1494,1411,1437,1443,1375,1792,1708,1630,1771,1699,1692,1569,1453,1570,1402,1461,1575,1870,1989,2099,2372,2729,2917,2907,2081,1560,1874,2121,2934,3821,3843,3785,2489,1851,1687,1759,2191,2274,2216,1913,2121,2332,2034,2072,2068,1846,2009,2188,2278,1893,1550,1468,1407,1832,2715,3002,3081,3043,2813,2251,2066,2215,2038,2105,3009,3716,3663,2553,1825,1846,2052,2578,2480,2484,2542,3090,3069,2456,2222,2653,2956,2366,1851,2140,2692,2242,2240,2284,2431,2205,1934,1811,1849,1890,2211,2483,2457,2266,2193,2221,2221,2328,2084,2006,1856,1730,1925,1910,1969,1932,2049,2042,1790,1857,2143,2413,2345,2343,2426,2138,2136,2199,2420,2429,2239,2392,2563,3077,3305,3430,3608,3732,3445,3029,3064,3051,2355,1869,1726,1503,1605,1434,1366,1656,1368,1218,895,786,1609,1999,1688,1796,1859,2088,2178,2185,2060,1591,1543,1631,1490,1737,1735,1662,1600,1772,1894,1873,1995,1815,1638,1533,1621,1778,2078,2184,1879,2191,2158,2084,2744,3101,2503,1888,1782,2403,3028,2047,2272,2242,1955,1903,1967,2621,2994,2987,2946,3024,2401,2141,2451,2677,2644,2836,3208,3022,2564,2332,2329,2794,3188,3028,2521,2453,2457,2298,2111,2060,2257,2216,2305,1893,1637,2345,2590,2456,2637,2790,2997,2256,1944,2386,2574,2250,2181,2311,2395,2495,2213,2387,2354,2242,2270,2544,2384,2050,1614,1895,2111,1983,2076,2167,1779,1433,1703,1582,1877,1938,2711,2060,1750,2117,2043,1454,1354,1371,1423,2104,1982,1382,1702,2115,2092,2238,2366,2399,2105,1954,1914,2018,1839,1510,2164,2608,3200,2838,2159,2446,2524,2424,2530,2889,3597,4440,4377,3753,4465,4656,4572,4517,4344,4355,4529,4029,3293,2883,3473,4005,3916,4015,4050,4029,3788,3464,3576,3786,3198,2809,2054,1853,3493,4208,3845,3226,3174,3487,3696,3448,3221,3351,3321,3634,3784,3553,3497,3349,3331,3444,3195,3400,3786,4188,4101,3042,2780,2508,2002,1841,2126,1992,1725,1910,1853,2115,2420,2221,2725,3372,3495,3533,2837,2198,2037,1749,2056,2742,3098,2791,2093,2894,3256,2339,1826,2098,2231,2122,1810,2060,2396,1997,1699,1945,2447,2193,1707,1458,1685,2161,2173,2196,2078,1561,1766,2631,2620,2800,2654,1680,1573,2049,2445,2235,1826,2112,2223,1518,1578,2206,1945,2020,1813,1649,1589,1794,2181,2411,2233,1814,1830,2091,1948,2262,2500,2243,1917,2208,2147,1872,2254,2532,2302,2678,2802,2286,2440,2631,1894,2257,3200,3119,2520,2136,2030,2002,1853,1934,2206,2729,2874,2735,3582,3658,2844,2512,2001,1748,2378,2902,3002,2596,2113,1990,1884,2047,2464,2600,2012,1611,1719,1926,2276,2522,2257,1792,1403,1005,1243,1422,1268,1361,2100,2887,2846,2654,2911,2570,1882,1922,2077,1870,2250,1957,1885,2399,2311,2301,2121,2152,2053,1938,2213,2338,1754,1604,2221,2464,2832,2552,2286,2120,2066,2022,2182,2272,1743,1819,2325,2542,3016,2820,2865,2823,2821,2117,2463,2382,1578,1278,1973,2597,2654,2336,2205,2443,2508,2670,2777,2534,2309,2639,3217,3593,4145,4601,3384,1831,2892,3438,3150,2829,2655,3064,3259,2945,2710,2632,3006,3094,2735,3119,3877,3885,3704,3581,3769,3674,3059,2745,2474,1666,1720,2767,2489,1757,2475,3615,3376,2534,2658,2495,2389,2270,1880,1855,2123,2093,2386,2257,2471,2601,2482,2432,2102,2104,2038,1942,2254,2656,2522,2390,2663,2483,2344,2153,2890,2642,2013,1588,1996,2471,2845,3278,3544,3699,3618,2814,2548,2046,2082,1762,2330,2255,2754,3138,2503,2408,2788,2642,2097,2123,2428,2308,1877,1929,2460,2511,2426,3052,3063,2636,2692,2772,2995,2961,2164,2512,2250,2019,2174,2079,2230,2170,2097,2410,2801,3057,2997,2697,2688,2644,2666,2590,2797,2501,2079,1810,1655,2286,3409,4134,3881,3232,3515,3863,3488,3134,2840,2314,1853,1707,2056,2906,3017,2588,2507,2491,2897,2667,1904,1663,1805,1730,1717,1577,1678,1837,1487,1770,2315,1949,2398,2588,2069,1941,1980,1635,1647,1660,1602,1785,1932,1970,1816,1786,1787,1916,2151,1692,1500,1427,1444,1663,1771,1999,2299,2118,2030,2202,2303,2557,3000,3494,3539,3316,2745,2690,3161,2951,2789,2814,3010,2995,2192,1873,2521,3115,3205,2876,2502,2564,2930,2348,2280,3830,4200,3794,3602,3486,3471,3382,3326,3303,3364,3462,3438,3076,2714,2528,2977,2930,3071,3169,2939,2848,3023,2994,3030,2946,3132,3750,4167,3548,3467,3220,3662,3474,2784,2268,2482,3351,2984,2370,2489,2341,2340,2326,2503,2264,2218,1933,1564,1687,2114,2409,2338,2256,2559,2428,2160,1977,1864,2034,1953,2210,2429,2510,2261,1780,1730,1675,1472,1799,2108,1992,2026,1760,1689,1701,2366,2260,2034,2245,2052,2092,1964,1598,1738,1567,2146,3024,3538,3455,2546,2156,1774,1903,2413,2885,2948,2938,2761,3128,2750,2570,2628,3311,3081,2863,3155,2677,2006,2102,2451,2728,2696,2778,2688,2128,2134,2048,1992,1907,1980,2238,2082],[3087,3826,3018,2721,2553,2499,2666,2311,2338,2104,1930,2134,2579,3240,3312,2862,2464,1895,1729,1780,1630,1320,803,1201,1898,2685,2966,2778,3027,3485,4063,3630,2553,2254,2490,2829,2871,2136,2017,1983,2053,1972,1910,2041,2519,2276,2093,2503,2428,2172,1864,1898,2202,2554,2918,2796,2468,2295,2278,2249,2375,2548,2249,2104,2562,2578,2172,1937,2308,2238,2427,2105,1647,2095,3028,3731,3784,3338,2822,2720,2380,2321,2459,2152,2174,2609,2556,2807,3049,3084,3702,4019,3275,2425,2429,2254,2766,2206,1060,947,1942,2271,2028,2072,2273,2291,2231,2055,2206,2564,2090,2058,2395,2432,2258,1997,1783,2337,2768,2277,2097,2123,2241,2240,2344,2415,2686,2511,2201,2128,2210,2315,2203,2184,3132,3532,3423,3730,3543,3601,3484,3554,3606,4086,4260,4119,4006,3531,2927,2687,2938,3359,3479,3541,3323,2308,2023,2130,2152,2523,3480,3539,2851,3571,4623,4716,4415,3520,2520,2157,1846,1892,1938,1876,1835,1662,1586,1675,1737,1429,1433,1590,1816,2003,1753,1762,1969,1969,1998,2258,3035,2671,1943,2277,2183,2658,2739,2874,2855,3140,3284,2880,2418,1981,1949,2127,2292,2408,2513,2635,1902,2046,2219,3119,3443,3210,2987,2727,3098,3391,3387,3420,3637,3725,3933,3706,2797,2268,2027,1877,1756,1796,1702,1901,2311,1809,1837,2758,3367,3450,3065,3019,3085,3371,3572,2965,2192,2041,3001,3339,2037,1769,1773,1867,1864,1857,2447,2911,3037,3066,2828,2639,2818,2470,2213,2172,2101,2309,2266,2438,1974,1403,1726,1909,1936,2316,2916,2944,2872,2978,2798,2809,2101,2081,2409,2554,2708,2329,1590,1112,1229,1781,1915,2332,3163,2713,2092,1979,2233,2360,2492,2821,2818,2825,2255,2719,3522,2640,1938,1879,1659,1685,1694,1530,1516,1684,1666,2017,3139,2644,1698,1859,2028,1974,1733,1632,1672,1633,1620,1746,2062,2380,2841,2324,2314,2539,3020,2858,2648,2584,2786,2984,2863,3140,3456,3283,2855,2700,2561,2561,2670,2867,2989,2984,2909,2785,3144,3156,2402,1599,1444,1566,1810,3352,2809,2564,2172,2050,2420,2706,2428,2360,2161,2005,2798,3238,2589,1978,2445,2606,2518,2448,2492,2105,1613,1725,1836,2364,2385,2326,2432,2161,1800,2186,2213,2122,1621,1730,2295,2541,2418,1941,2299,2381,2493,2203,2540,2329,1841,1775,1930,1836,1549,1742,1900,1761,2213,2542,1844,1947,2154,1987,1785,1965,2123,2198,2270,2328,2390,2767,2547,2154,1914,1869,2042,2065,1785,1863,2105,2619,2292,1783,2016,1553,1775,1681,1673,1500,1547,1621,1802,1994,2110,2067,2005,2407,2286,2040,1898,1938,1857,1873,2072,2044,2444,2522,2194,1791,1295,1550,2049,2404,2215,2115,2072,2258,2944,3786,4007,2578,1583,2007,2534,2521,2498,2365,2209,1533,1273,1240,1263,1362,1620,1788,1749,1516,1722,2137,1896,1765,1917,2578,2272,2524,2200,1903,1735,1739,2008,2084,1645,1842,2322,2580,2270,2319,2584,1963,1921,1655,1343,1538,2410,2941,2888,3173,3019,2953,3206,3491,2623,2927,3327,3283,2864,2652,2571,2442,2646,2779,2031,1640,1589,2030,2910,3137,3009,2565,2865,2443,2121,3055,3642,3845,4036,3937,3515,3372,3574,4063,4296,4312,4085,3916,3703,3452,3486,3416,3264,3241,3250,3694,3803,3597,3586,3528,3472,3397,3038,2765,2788,2930,3185,3436,3441,3294,3697,3892,3763,3875,3847,3776,3665,3118,3335,3627,3233,3396,3818,3350,3385,3428,3340,3127,3319,3478,3353,3541,3705,3308,3017,3666,4025,3958,3705,3752,3329,2840,2778,3127,3830,4284,4208,3984,3859,3658,3310,3138,3361,3940,3894,3635,3637,3521,3978,4129,3874,3665,3212,3064,3233,3044,3193,2751,2072,2315,2625,2459,2570,3297,3797,3919,3790,3495,3230,2637,2486,2519,2632,3088,3245,3570,3762,3005,2714,2917,2866,2612,2270,2214,2282,2061,1794,1874,1666,1671,2029,2142,2135,2153,2155,2031,2084,2049,1975,2055,1905,2175,2350,1836,1614,1788,1550,1326,1522,1567,1787,1902,2338,2721,2481,1991,2127,2720,2602,2391,2454,2270,1654,1246,1590,1636,1560,1340,1377,1349,1334,1787,2004,2269,2996,2780,2814,3792,3857,3735,3586,2721,1985,1833,1958,2066,1949,1808,1694,1854,2303,2231,1957,2149,2443,1587,1332,1599,1676,1828,1876,1912,2015,2068,1946,2160,1959,2109,2000,1960,1848,1648,1884,2578,2614,2011,1953,1798,1459,1718,1919,1713,1728,1626,2022,2792,2612,2107,1718,1805,2105,2348,2630,3138,2945,1509,1032,1258,1419,1412,1170,1202,1462,1512,1477,1388,1036,1049,1587,1912,1857,1902,1988,1937,1790,1775,1490,1098,1473,2200,2157,1789,1771,1835,1923,2254,2600,2934,2872,2452,1980,1754,1853,1959,1885,1823,1742,1605,1507,1477,1419,1438,1425,1613,1682,1614,1600,1432,1438,1509,1426,1501,1710,1614,1435,1553,1588,1565,1564,1738,1820,1672,1436,1471,1518,1952,2137,2285,2402,2263,2614,3113,3238,3122,2687,2238,2399,2292,3461,4168,4061,3693,2531,1710,1772,2352,2451,2138,1874,1741,1994,1942,1791,2127,2058,1972,2328,2201,2056,2100,1723,1561,1676,2270,3022,3083,3365,3020,2254,1883,1960,1967,1439,1663,2987,3942,2972,1843,1914,1832,2708,3583,2964,2918,3344,3298,2501,2451,2655,2570,2267,1896,2092,2318,2690,2327,1979,1975,2476,2568,2371,2031,1794,1848,1766,1746,2363,2841,2476,2646,2116,1672,1802,2289,2012,1761,1795,1782,1896,1885,1766,1798,1924,2146,2146,2463,2348,2330,2455,2014,2192,2753,2865,2719,2487,2755,3537,3706,3426,3219,3565,3721,3459,3116,3138,2818,2004,1774,1614,1469,1461,1292,1146,1377,1332,1260,1134,1150,1903,2182,2242,2624,2750,2921,3265,3529,3362,2832,2472,2357,2769,3108,3138,2912,2567,2980,3074,2885,2304,1576,1399,1392,1480,2175,2054,1788,1898,1724,1800,2118,2464,2468,2317,2255,2232,2851,2754,2125,2302,2200,2014,1954,2476,2652,2284,2278,2250,2768,2310,2391,2481,2422,2740,3210,3196,3062,2909,2671,2286,2604,2656,2732,3116,3100,2963,2670,2236,2430,2301,1804,2227,2105,1840,2496,2713,2592,2374,2257,1953,2061,2491,2733,2852,2561,2415,2876,2824,2520,1957,2522,1846,1362,1743,2667,2733,2152,1902,1947,1860,1720,1823,1607,1345,1626,1854,1737,1666,2296,2231,1868,1912,2297,2646,1784,1343,1325,1386,2054,2122,2379,2097,2117,2574,2351,2009,2070,2077,2008,2055,2386,2333,1994,2724,3033,3325,2453,1844,1978,2381,2655,2482,2705,3396,4287,3630,3089,3996,4516,4508,4188,3747,3844,4276,4461,4039,3457,3603,4038,3962,3770,3341,3208,3326,3605,3861,4204,3970,3018,1963,2425,4172,4128,4004,3587,3310,3482,3570,3324,3311,3227,3381,3724,3522,3567,3532,3491,3545,3570,3299,3285,3747,4056,4324,4264,4027,3554,2679,2024,2240,1929,1691,1811,1889,2071,2016,1592,2052,3086,3772,3602,3223,2553,2153,2083,2098,2601,3001,2381,2122,2798,3034,2428,2267,2351,2144,2400,2152,2282,2182,1853,1485,1649,1843,1705,1519,1473,1786,2313,2148,1814,1610,1712,2136,2534,2397,2721,2954,2299,1955,2033,2272,2035,1818,2301,2005,1547,1600,1999,1832,1719,1844,1952,2067,2185,2136,2003,1859,1864,1976,2126,1924,2257,2294,1900,1524,2270,2608,2422,2599,2435,2378,2340,2286,2752,2611,2497,1708,2253,2942,3049,2819,2255,2292,2448,2611,2343,2088,2187,2656,2765,3310,3181,3039,3409,3457,3151,3151,3061,2667,2007,1855,1960,1916,2066,2433,2589,2176,1991,2075,2233,2508,2823,2452,1774,1500,1179,1282,1351,1144,1280,1865,2580,2614,3113,3470,2696,2191,2591,2362,2028,2360,1866,2070,2477,2388,2253,2397,2279,2107,2437,2868,2240,2106,2521,2348,2265,2309,2021,1934,1911,1748,1764,2077,2329,2074,1953,2786,2901,2442,2172,2596,2997,3086,2473,2878,2947,1852,1199,1781,2699,2850,2640,2731,2884,2669,2610,2476,2365,2366,2765,3309,3558,3992,4155,3738,2577,3054,3560,2988,2492,2499,2953,3100,2819,2785,2762,2996,3152,2570,2930,3761,3941,3647,3564,3619,3715,3549,3299,2906,2266,2478,3106,2846,1826,2244,3330,3095,2493,2419,2074,1908,2343,2385,2488,2729,2616,2688,2081,2095,1987,1878,1776,1936,1857,1852,2008,2366,2577,1932,2124,2574,2479,2602,2308,2548,2398,1845,1611,1779,2313,2536,3198,3584,3565,4143,3558,2641,2186,2126,1820,1476,1422,2514,3020,2602,2718,2940,2236,2065,2091,2352,2092,1480,1622,2155,2268,2279,3205,3129,2640,2663,3086,3482,2951,2057,2380,2608,2556,2404,2054,1744,1843,2391,2740,3008,2742,2580,2533,2512,2393,2458,2708,2818,2410,2008,1817,1526,1838,2976,3811,4185,3050,2591,3209,3168,2570,2216,2126,2144,2119,2115,2220,2614,2790,2736,2476,2518,2101,1765,1840,1756,1789,1932,2133,2135,1963,2149,2210,2324,2236,2424,2578,2417,2292,1864,1482,1400,1391,1428,1601,1924,1997,1633,1522,1739,1865,2051,1906,1657,1576,1611,1544,1631,1857,2329,2255,2202,2411,2610,2275,2322,2921,3282,2996,2514,2664,2364,2331,2312,2590,3101,2843,1730,1543,2614,3498,3779,3851,3400,3009,2423,1991,2462,3619,3882,3481,3349,3408,3468,3482,3388,3363,3404,3469,3295,2657,3068,3128,3033,2673,2754,2949,2861,3015,3133,3002,3066,3277,3054,2908,3724,3579,3627,3383,3762,4161,3968,3320,3275,3654,2934,2443,2525,2358,2390,2153,2127,2076,2400,2121,1664,2045,2587,2568,2285,1905,2355,2254,1778,1703,2156,2201,1876,1753,1722,1773,1719,1515,1789,2052,1682,1728,2066,2482,2741,1987,1784,1880,2294,2381,2468,2492,2152,2596,2718,1959,1750,1766,2156,2722,3414,3165,2640,2545,2388,2630,2765,3282,2814,2755,2842,2686,2449,2339,2540,2842,2742,2757,2656,2005,2017,2368,2502,2554,2482,2762,2657,2401,2352,2523,2744,2539,2445,2667,2307],[2436,2225,2553,2750,2341,2532,2723,2476,2371,2054,1973,2278,2299,2517,2717,2692,2405,1591,1340,1620,1694,1535,982,1336,1931,2768,2884,2801,3082,3408,3674,3263,2360,2165,2131,2389,2734,2930,2901,2911,2432,1997,1795,2297,2820,2596,2411,2304,2562,2622,2401,2495,2603,2897,3261,3124,2562,2011,1960,1911,2302,2819,2330,2244,2485,2306,1901,1625,1917,2065,2335,2063,1591,1846,2674,3597,3781,3484,2740,2697,2708,2642,2204,2302,2437,2004,2072,2580,3028,3527,3831,3608,2975,2358,1920,2776,3276,2678,1815,1643,2120,2085,2051,1997,2107,2156,2120,2019,2227,2244,1774,1740,2185,2366,2082,1902,2236,3508,3233,2475,2273,2179,1913,2227,2757,2724,2431,2191,2226,2182,2170,2405,2280,2207,3395,3814,3795,3672,3673,4020,3801,3624,3683,3988,4545,4396,4051,3303,2813,2854,2957,3505,3471,3453,2580,1936,2183,2494,2505,2441,2776,3340,3356,3912,4247,3759,2706,2168,2430,2376,1850,1873,2009,2089,1823,1674,1698,1887,1798,1532,1272,1376,1615,1773,1625,1782,2353,2675,2586,2678,3513,2483,2078,2627,2907,3000,3218,2902,2037,1728,2180,2435,2637,2698,2286,2120,2274,2564,2785,2453,1890,1771,2330,3316,3914,3957,3199,2378,2901,3096,2819,3183,3487,3316,3583,3149,2497,2591,2601,2287,2015,1898,1598,2065,2399,1788,2003,2778,3247,3022,2556,2490,2900,3327,3941,3519,1699,1200,1545,1778,1648,1909,1915,1743,1787,1964,2523,3104,3163,3089,2901,2583,2884,2886,2793,2299,1912,1969,2462,2821,2218,1586,1782,2094,1975,2080,2866,2544,2489,2688,2514,2078,1865,2092,2128,2246,2349,2018,1534,1093,1478,1824,1999,2779,4124,4325,2916,1952,2491,2514,2396,3001,2912,2654,2197,3053,3233,2054,1765,1933,1854,1706,1553,1500,1409,1578,1591,1784,2512,2028,1756,1778,1914,2194,1959,1938,1866,1556,1779,1828,2041,1947,2155,2569,2799,2512,2930,2142,1301,1791,2623,3554,3196,2951,3100,3213,2900,2736,3132,3405,2976,2823,2726,2850,3223,3137,3374,3399,2886,1762,1680,1863,1660,3372,4140,3311,2138,1897,2610,3415,2901,2278,1712,1951,2451,2786,2564,2030,2258,1858,1439,1925,2259,1900,1886,1985,1835,2121,2554,2361,2514,2498,2380,2509,2490,2083,1340,1378,2175,2110,2071,2423,2654,2365,2078,1887,2433,2360,1864,1877,1906,1815,1607,1881,2099,2213,2933,2733,1921,1910,2081,2019,1772,1648,2083,2258,2004,2152,2124,2189,2040,2287,1919,1689,2270,2438,2120,1730,1892,2395,2379,1783,1942,1795,1906,1716,1779,1634,2017,2521,2584,2534,2382,2513,2265,2570,2136,1951,1820,1785,2110,2402,2083,2020,2293,2300,2222,1854,1320,1776,1946,2048,1891,1830,1949,2376,2979,3739,4048,3101,1788,2050,2609,2899,3165,2747,2328,1680,1501,1586,1523,1671,2014,2014,1854,1596,1765,1866,1627,1298,1695,1958,2404,2270,1786,1752,1833,1798,1949,1948,1547,1917,2097,2417,2258,2514,2433,1699,1310,1238,1526,1817,2133,2516,2512,2513,2352,2524,3374,3613,2465,2560,3388,3655,2996,2850,3316,3086,2790,2837,1859,1477,1564,1715,2547,2749,2304,1885,2046,2065,2357,3487,3516,3382,3526,3496,3080,3217,3295,3691,3824,3908,4101,4069,3636,3185,3046,3218,3460,3339,3162,3557,3791,3715,3685,3642,3480,3096,2663,2509,2421,2627,2957,3310,3610,3808,3848,3271,3073,3577,3795,4082,3657,2791,2823,2980,2586,2905,2972,2914,2657,2863,3297,3526,3175,2345,2464,2646,3038,3248,2656,3281,3609,3274,3195,3508,3392,3051,2873,3065,3850,4357,4408,4319,4196,3816,3499,3485,3510,3861,3508,3167,3041,3184,3752,4263,4529,3842,2279,2235,3320,3640,3099,2364,1834,2395,3204,3404,3695,4112,4294,4382,4439,4588,4085,3753,3687,3378,3064,2854,2499,2829,3437,3084,2703,2504,2301,2283,2056,2257,2216,1814,1952,2039,1783,1917,2143,2263,2272,2138,2236,2147,2173,2154,2025,2041,1995,2226,2335,1945,1692,1764,1463,1289,1648,1679,1802,2239,2903,2970,2391,1958,2115,2677,2680,2467,2522,2390,1757,1557,1690,1770,1789,1759,1685,1758,1781,1855,1924,2264,3067,2547,2233,2349,2308,2485,2517,2176,2018,1951,1890,2023,1958,1841,1871,2154,2513,2579,2187,2555,2768,2088,1884,1833,1824,1708,1675,1868,2024,1919,1926,2122,2007,2084,2129,2019,1924,1687,1721,2557,2889,2321,2228,2045,1713,1806,1774,1831,1922,1732,2243,2757,2421,1509,1612,1975,1885,2047,2285,2042,1672,1144,1180,1391,1388,1235,916,1207,1909,1729,1700,1701,1114,1710,2179,2240,2040,2028,2157,2210,2220,2001,1475,1403,2360,2722,2376,1814,1685,1973,2577,2986,2703,2568,2375,1843,1580,1643,1598,1653,1744,1718,1588,1562,1454,1437,1499,1461,1385,1451,1488,1428,1495,1448,1449,1498,1584,2004,2307,1965,1442,1394,1748,1720,1496,1688,1823,1844,1584,1586,2075,2654,2704,2696,2462,2164,2526,3047,3112,3066,2840,2712,2490,1866,2588,3037,2988,2764,2203,1811,1792,1891,1765,1643,1554,1982,2307,2464,2085,1997,1731,1899,2232,1790,1974,2485,2395,2238,1774,2433,3060,3186,2703,2218,1835,1687,1701,1525,1423,1254,1998,3362,2934,2584,3110,2357,2977,3758,2971,2667,2731,2263,2156,2588,2600,2017,1707,1693,2086,1909,2198,1825,1623,1571,1715,2142,2487,2402,2186,2653,2378,1893,2229,3113,2520,2302,1813,1748,1861,1995,1792,1505,1564,1785,2006,2020,1838,1907,2047,2523,2192,2159,2349,2556,2375,1990,2504,2776,2557,2439,2767,3262,4121,3707,3319,3296,3575,3626,3496,3343,3183,2463,1850,1779,1616,1704,1427,1333,1362,1378,1471,1544,1456,1374,1489,1628,2114,3276,4094,4143,4356,4235,4072,4132,3915,3720,3828,3881,4232,3813,2602,3676,4591,4573,3797,2614,1838,2486,2885,3061,3098,3270,3414,3020,2757,2632,2351,1876,1971,2175,2356,2840,2484,2139,1758,1733,2083,2244,2602,2450,1945,1930,2416,2228,2185,2386,2590,2188,2090,2768,3130,3184,2959,2880,2425,2343,2276,2399,3010,3597,3769,3053,2348,2481,2587,2332,2233,2286,2434,2274,1903,2103,2131,1964,2071,2624,2746,2774,2318,2592,2916,3187,2611,2018,1825,2483,2768,2312,2243,2507,2439,2326,2142,1921,2466,1952,2117,1654,1371,1995,1925,1766,1798,1764,1481,1744,1845,2160,2541,1975,1624,1405,1826,2172,2126,2498,2279,2208,2165,1793,1749,1921,2022,2273,2558,2330,2464,2744,2864,3241,3019,2098,1807,1889,2604,3311,3199,2597,3244,4025,2954,2430,3481,4290,4374,4375,4083,3924,4253,4345,3732,3281,3173,3522,3635,3087,2607,2569,2625,2622,2811,3265,3385,2338,1716,3305,4453,4101,3965,3553,3304,3292,3269,3576,3841,3769,3672,3562,3517,3588,3542,3513,3704,3762,3724,3291,3210,3896,4326,4217,4233,3771,2801,1708,1601,1553,1598,1592,1824,1987,1858,1770,1735,2167,3099,3264,3222,2526,2145,1887,1985,2096,2358,2252,2451,2489,2316,2249,1991,2094,2179,2671,2440,2455,1985,1623,1375,1726,2083,1978,1870,1698,2110,2180,1649,1532,1304,1789,1910,1810,2205,2468,2173,1947,1773,1714,1816,2119,2282,2396,1843,1904,1713,1502,1858,2192,2390,2380,2028,1862,1927,1916,2163,2329,2240,2064,1758,1983,2084,1739,1751,2494,2629,2825,2919,2621,2332,2118,2576,3821,3140,2666,1965,2068,2399,2595,3067,3172,3157,3222,2894,2590,2273,2172,2828,2735,2599,2819,2841,3112,3278,3039,3394,3226,2766,2092,1626,1777,1999,1970,2187,2176,2003,2076,2397,2290,2363,2721,2681,1887,1740,1554,1221,1019,1046,1323,1813,2303,2542,3098,3221,2557,2515,2553,2367,2186,1981,2025,2453,2513,2514,2767,2707,2535,2632,2741,2690,2090,2564,2443,2054,1763,1863,1872,2007,2164,1983,1839,2173,3012,2618,1890,2338,2484,1542,1721,2507,2623,2612,3008,3304,2911,2086,1383,1862,2698,3172,2977,2796,2867,2703,2607,2754,2878,2653,2902,3527,3552,3637,3671,3898,4039,3750,3726,3127,2672,2740,3051,2954,2699,2842,2800,2849,2675,2137,2844,3673,4000,3896,3560,3333,3509,3484,3286,2662,2758,2851,2661,2054,1687,1939,2187,2232,2152,2031,2035,1989,2363,2206,2083,2154,2235,2029,1630,1684,1694,1696,2405,2684,1874,1923,2257,2645,2880,2619,2401,2149,2396,2598,2700,2931,2567,1984,1707,2114,2577,2390,3321,4036,3493,4268,3686,3084,2695,2276,2293,1543,1182,1981,2771,3023,2547,2115,2029,2186,2077,2240,1989,1515,1691,2501,2757,2220,2763,3121,2292,2382,2687,3089,3235,2736,2545,2570,2539,2369,2047,2185,2899,3349,2947,2707,2388,2515,2589,2480,2469,2365,2403,2071,1870,1983,1591,1265,1891,2698,2996,3053,2738,2601,2403,2272,2272,1958,1765,1708,2052,2440,1859,2286,2674,2598,2507,2117,1776,1786,1728,1625,1632,1738,2261,2329,2154,2392,2481,2242,2230,3053,2995,2261,2106,1650,1447,1395,1373,1429,1527,1646,1672,1538,1538,1586,1904,2203,2079,2022,1963,1589,1353,1460,1590,2008,2720,2811,2588,2138,1618,1935,2466,3038,2692,2922,3197,2927,2524,2614,3053,3209,2465,1657,1851,2899,3662,4084,4057,3859,3399,2350,2965,3127,3217,3288,3288,3278,3365,3457,3515,3426,3456,3447,3310,3253,2932,3045,3092,3105,3016,2872,2671,2755,2952,3040,2989,3166,3323,2397,1830,2444,3116,3924,4026,3951,4100,4258,3909,3223,2761,2539,2095,2261,2409,2141,2029,1985,2253,2348,1908,2024,2700,2760,2226,2098,1652,1905,1839,1638,1483,1678,1929,1865,1619,1533,1649,1570,1556,2194,2533,1824,1768,2247,2354,2081,1976,2139,2097,2232,2564,2600,2370,2249,2755,2645,2094,1881,1534,1754,2476,2964,2459,1655,1836,2562,2785,2292,2447,2463,2503,2763,2226,1932,2027,2268,2568,1902,1398,2142,2390,2415,2471,2245,2185,2171,2411,2720,2543,2349,2426,2562,2329,2579,2997,2598],[2255,2232,2853,2451,2199,2522,2540,2284,2230,2114,2174,2210,1930,2209,2780,2885,2866,1939,1762,1986,1780,1858,1312,1414,1820,2469,2944,2648,2446,2564,2182,1918,1829,2146,2468,3044,3196,3141,2878,2859,2632,2120,2128,2363,2544,2668,2458,2608,2966,2610,2201,2186,2566,3285,3288,2933,2400,1518,1858,2314,2068,2667,2491,2480,2610,2089,1310,1418,2114,2456,2386,1858,1684,2169,2420,3338,3564,3618,3249,2786,2753,2460,2280,2643,2480,2116,2276,2308,2602,2843,3152,2654,2520,2372,2488,3076,2973,2721,2807,2622,2117,1936,2394,2042,2059,2536,2474,2143,2192,2005,1622,2013,2484,2193,2154,2428,2566,3601,2898,2293,2135,2256,2264,2516,2963,2866,2294,2059,2167,1960,2201,2244,2182,2238,3020,3465,3542,3463,3664,3890,3770,3453,3575,4009,4353,4264,3774,3143,3043,3028,3122,3326,2998,2366,1952,2019,2004,2194,2297,2166,1928,2989,3713,4002,3271,2450,2493,2753,2708,2312,1770,1689,2123,2251,1622,1503,1562,1663,1519,1421,1362,1447,1591,1556,1471,1839,2442,2728,2669,2390,2900,2326,2198,2425,2480,2590,2923,3046,2388,1116,1239,1729,2285,2762,2474,2459,2388,2653,2675,2223,2015,2113,2342,2940,3892,3940,3552,3107,3053,2810,2181,2705,3416,3174,2906,2999,2975,2770,2498,2410,2254,1669,1550,2354,2188,1785,2476,3343,3312,3109,3119,2320,2340,2993,3740,3571,2288,1608,1439,1449,1608,1889,2031,2141,2288,2187,2784,2877,2964,2858,2573,2877,2907,3098,2762,2060,1933,2212,2411,2283,2245,2039,1925,2332,2188,2022,2424,2131,2249,2655,2458,2173,2537,2688,1998,2228,2156,1885,1318,1568,2240,2336,3077,3934,4555,4474,3022,2315,2664,2651,2304,2230,2342,2243,1796,2161,2433,1916,1682,1736,1645,1895,1786,1603,1548,1593,1674,1995,2098,1925,2198,2390,2836,2588,1906,2319,1914,1730,2227,1926,2080,2099,2440,3209,2708,2223,2604,1895,1267,1807,2458,3815,3603,3276,3198,2664,2344,2503,3154,3300,2651,2604,2429,2942,3375,3427,3642,3871,3312,2139,1756,1821,1660,2229,3263,3580,2752,2249,2398,2691,2432,2059,1654,2128,2314,2543,2380,2073,2078,1737,1977,2575,2615,2122,2138,1637,1864,1990,2303,3037,3038,2765,2798,2678,2361,2193,1558,1469,2148,1962,1747,2225,2629,2469,2055,1842,2071,1995,1913,2042,2019,2244,1893,1883,1954,2272,3144,2767,1908,1985,2094,2036,1677,1547,2150,1848,1670,1980,2081,1843,1860,2066,1965,1800,1784,2076,2055,2037,3124,3838,3293,2157,1896,1876,1803,1823,1672,1556,2287,2878,2737,2758,2461,2271,1800,2010,2131,2489,2774,2457,2753,2508,1620,1824,2083,2070,2119,1772,1661,1979,2006,1884,1756,1599,1964,2537,3028,3790,4033,3675,2152,1997,2143,2547,2381,2037,1813,1615,1643,1892,1736,1711,1993,1990,1656,1296,1584,1776,1627,1319,1399,1515,1822,1656,1666,1798,1939,2034,1986,2087,2332,1990,2164,2450,2229,2154,1959,1531,1239,1343,1626,1984,2319,2595,2266,2264,2150,2229,3175,3194,2394,2512,3130,3283,2285,2067,2426,2501,2994,2602,1698,1443,1709,2070,2558,2241,1645,1480,1775,1985,2417,3249,2974,3268,3647,3548,3000,3007,3163,3171,3278,3581,3836,3747,3284,3226,2998,3384,3564,3327,3333,3549,3940,4101,3980,3802,3680,3223,2632,2503,2454,2637,2766,3060,3582,3876,3379,2602,2259,2489,3451,3816,3089,2583,2664,2752,2571,2835,2900,2911,2470,2835,3447,3574,3019,1405,910,902,2356,4468,4672,4356,3913,3397,3416,3738,3579,3449,3286,3001,3692,4148,4296,4372,4389,3963,3452,3478,3740,3760,3627,3696,3881,3725,3792,4227,4498,3608,2126,1842,3199,3650,2715,2131,2004,2609,3913,4263,4279,4400,4399,4214,4483,4567,4296,4156,4014,4059,4070,3836,3359,3131,3636,3042,2449,2361,2122,2492,2468,2148,1953,1997,2242,2320,2256,2316,2172,2166,2379,2248,2298,2224,2166,2272,2233,2029,1864,1730,1778,1776,1647,1688,1556,1453,1660,1680,1946,2896,2996,2354,2198,2034,2098,2777,2706,2504,2478,2578,2015,1815,1596,1598,1848,1932,1971,1999,1807,1594,1616,2409,3285,2401,1860,1946,2018,1825,1739,1780,1716,1674,1765,1802,1736,2172,2622,2884,2375,2028,2058,2690,2582,1995,1914,2044,2197,2105,2126,2077,2144,1896,1924,1864,1910,1942,2116,2056,1746,1606,1980,2730,2654,2148,2200,2208,2112,2176,1787,1829,1841,1790,2094,2390,2068,1311,2254,2348,1669,1790,1822,1686,1454,1410,1628,1711,1450,1168,952,1922,2319,1832,1781,1331,1412,2062,2513,2329,2061,2064,2117,2102,2194,2156,1527,1731,2459,1728,1516,1890,2524,3135,3438,3166,2546,2087,1832,1511,1439,1504,1472,1581,1682,1626,1506,1436,1512,1620,1698,1693,1417,1578,1642,1410,1476,1579,1544,1635,1805,1902,1824,1575,1410,1638,1854,1897,1729,1594,1766,1880,1802,2228,3160,3687,3160,2312,2094,2226,2398,2839,2587,2535,2845,2876,2360,1830,2232,2466,2410,2466,2492,1994,1530,1920,2104,2313,2764,2890,2865,2867,2499,1964,1411,1699,1915,1606,2025,2367,2778,2824,2246,1962,2138,2230,2013,2127,1870,1883,1977,1636,1896,1550,1293,2285,2430,2812,3373,2984,3384,3676,3192,2728,2341,1890,2081,1752,1622,1460,1742,1894,2080,1920,2092,1873,2039,2092,1678,1802,1960,1836,1838,2322,2775,2655,2120,2526,2526,1854,1766,2113,2076,2254,2002,1910,1716,1768,2082,2114,1952,2316,2880,3183,2703,2243,2048,2083,2226,2579,3218,2580,2396,2997,3626,3941,3960,3389,3106,3313,3486,3331,3361,3475,3028,2083,1806,1752,1808,1699,1542,1640,1658,1565,1673,1801,1702,1482,1489,1758,3079,3492,3709,4111,4143,3606,2900,3123,3518,3288,3186,2562,3017,3062,2534,3425,4496,4775,4556,3152,2278,3261,4100,4156,4488,4652,4483,3651,2689,3296,3488,2664,2834,3120,2620,2164,2101,2083,1871,2317,2487,2308,2543,2373,2268,2188,2188,2265,2241,1843,1900,2051,2020,2610,2998,3349,3301,2592,2212,2223,2283,2588,2852,3177,3140,2907,2801,2248,2248,2179,2096,2418,2466,2357,1898,1753,2414,2455,2277,2455,2283,2764,1998,2370,2662,2944,2448,1832,1782,2101,2366,2480,2514,2541,2463,2556,2176,2137,2999,2254,2395,2306,1619,1445,1611,1632,1986,2146,1736,1853,1700,1886,1786,1778,1998,1367,1620,2435,2420,1970,1872,1798,1589,1692,2277,2238,1874,1994,2268,2093,2349,3292,3914,3518,2382,1903,1889,1968,2656,3138,3216,2766,3019,3163,2411,2429,3616,4265,4352,4472,4376,4309,3880,3747,2910,2517,2562,2972,3320,3030,2686,2696,2512,2235,2171,2442,2554,2036,1504,3046,3881,4012,3852,3344,3374,3350,3270,3629,3946,4143,3541,3463,3448,3542,3498,3565,3646,3620,3711,3682,3398,3199,3452,3664,4217,3764,2462,2118,2033,1721,1574,1617,1765,1833,1934,1976,1811,1601,2510,2999,2556,2136,2260,2216,2268,2167,2155,2438,2531,2364,2161,2159,1868,2001,2195,2711,2813,2994,2830,2382,1823,1825,1989,2382,2588,2193,1810,1501,1434,1481,1552,1835,1991,2187,2344,2233,1900,1540,1402,1504,1656,2535,2500,2049,1526,1556,1577,1625,2110,2424,2206,2132,2123,2310,2049,2207,2671,2743,2271,1955,1702,1670,1971,2011,2294,2693,2352,2388,2293,2138,1880,2277,3437,4188,3420,2790,2614,2257,2000,1963,2618,3217,2939,3208,2872,2393,2013,2546,3032,2613,2714,2886,2398,2309,2933,3265,3618,3330,2980,2260,1748,1891,2223,2126,1724,1653,1632,2033,2955,2770,2376,2490,2730,2383,2287,1682,1007,876,1159,1499,1826,2509,2380,2288,2545,2645,2814,2347,2272,2398,2156,1993,2257,2216,2050,2313,3154,2651,2460,2542,2376,2339,2295,1824,1560,1830,2132,2031,2122,2314,2077,1794,2255,3150,2705,1831,2192,2446,1717,1853,2640,2818,2729,3062,3262,3150,2774,2155,2303,2700,2938,3093,3293,3154,2642,2551,2967,3049,2698,2995,3329,3005,3348,3951,4208,4376,3824,3600,3665,3462,3411,3839,3593,3063,3112,2983,2831,2507,2390,2851,3531,3939,4112,3769,3340,3865,3730,3316,2653,2623,2745,3002,2641,2651,2814,2510,2372,2204,2043,2406,2591,2564,2462,2085,1665,1625,1811,1602,1418,1439,1880,3068,3536,2435,2260,2109,2332,2401,2177,2353,3008,3432,3332,3023,2513,1948,1776,1621,1764,2129,2399,3461,3745,3141,3619,3748,3459,2820,2385,1865,834,864,1327,2122,2274,1781,1880,2216,2147,2109,2114,1946,1916,2282,2226,2396,2226,2526,2458,1720,2004,2105,2397,3092,3326,2927,2986,3023,2467,2555,3128,3921,3990,3266,2624,2265,2313,2299,2542,2512,2256,2503,2051,1981,2455,2460,2085,2731,2778,2414,2664,2916,2666,2158,2333,2295,2822,2314,1599,1751,2501,2363,2051,1798,2073,2125,1694,1649,1579,1660,1830,1627,1616,1503,1769,2248,2668,2900,2388,2062,2669,2531,2177,2161,1913,1654,1351,1383,1513,1508,1539,1471,1406,1432,1540,1686,1799,1908,2009,2031,1614,1245,1648,2022,2459,2995,2389,2106,2149,1960,2048,2187,2711,2720,3328,3658,3646,3272,2879,3010,3271,2230,1584,2254,3081,3738,3926,3934,3702,2824,2876,4320,4412,3642,3417,3193,2965,3727,4083,3982,3911,3650,3528,3195,3002,2912,2740,2719,2910,2977,2968,2696,2727,2916,2988,3087,3275,3272,2377,2015,2206,2944,3760,3883,3903,3949,3902,3088,2369,2470,2612,2242,2468,2600,2266,2049,2307,2556,2103,1695,1990,2068,1964,2034,2327,2414,2045,1561,1553,1538,1396,1503,1808,1764,2095,2033,1791,1664,1838,2076,1641,1388,1940,2007,1867,2302,2238,1847,2044,2500,2441,2544,2181,2292,2194,2103,1852,1621,1998,2214,2366,2480,2160,2176,2864,2417,2058,2414,2392,2407,2592,2207,1896,1815,1944,2176,1425,1099,2108,2774,2468,2102,2009,2257,2564,2822,2652,2335,2298,2320,2579,2425,2736,3165,2744],[1954,2110,2897,2350,2246,2357,2235,2088,2026,2101,2378,2367,1772,1992,2320,2199,2880,2343,1764,1827,2304,2464,1838,1482,1629,2402,3022,2574,1950,1505,857,809,1700,2194,2632,2969,2957,2335,1486,1875,2255,1904,1716,1715,1916,2493,2942,3010,2677,2148,1826,2101,2906,3167,2631,2735,2291,1392,1895,3143,2732,2159,2110,2563,2732,2271,1772,1963,2282,2159,2056,2284,2322,2667,2254,2988,3537,3804,3638,3056,2644,2365,2654,2587,2121,2078,2087,2579,2587,2314,2209,2382,2878,3118,2906,2588,2734,2833,2973,2979,2187,2153,2603,2274,2446,2912,2743,2212,2186,2061,1818,2232,2450,2640,2766,2542,2735,2791,2610,2187,2162,2734,2832,2733,2658,2151,1803,1868,2362,2258,2358,2214,2046,2074,2281,2584,2799,2894,3041,3398,3666,3421,3913,4121,3828,4020,4120,3936,3450,3265,3288,3087,2698,2069,2113,2315,2431,1967,2168,1767,2156,2997,3089,2749,2497,2740,2847,2427,2221,2623,2291,1965,1892,1802,1609,1589,1672,1699,1606,1669,1757,1744,1735,1643,1861,1885,2567,2505,2119,1853,2012,2050,2193,2387,2375,2297,2390,2740,2081,1571,1885,2168,2721,2384,1930,2045,2113,2546,2815,2221,2024,2541,2631,2690,3317,3483,3497,3551,3145,2585,1986,2478,3312,2937,2857,3306,3178,2622,2358,2676,2192,1476,2142,2348,1991,1991,2454,3618,3602,3084,3293,2420,2181,2182,2437,2664,2491,2257,1893,1636,1905,1840,1793,2437,2559,2045,2575,2384,2238,2489,2950,3142,2958,3288,3420,2624,2170,2134,1975,1981,2362,2160,2333,2599,2227,2225,2246,2149,2311,2443,1967,1896,2809,2992,2101,2289,2094,1573,1210,2174,2298,2473,3828,4464,4546,3473,2113,2280,2780,3306,2976,2139,1760,1991,2019,2105,2124,1923,1683,1723,1688,1727,1738,1615,1700,1898,1982,2043,1895,2033,2501,3265,3415,2583,1981,2192,2106,2490,2644,2101,2222,2322,2231,2264,2243,2287,2591,2414,1713,1988,2047,3042,3008,2899,2663,2193,2309,2461,2872,2816,2265,3154,2957,3005,3144,3360,3464,3439,3138,2346,1802,1762,1728,1923,2705,3552,3171,2596,2237,2386,2300,2024,1783,1698,1674,1837,2083,2259,1981,1938,1947,2123,2180,1956,1644,1465,1975,1939,2578,3487,3351,3030,2730,2547,2289,2164,1707,2050,2227,1791,1520,2332,2894,2284,1820,1806,2142,1749,2227,2519,2476,2082,1877,1728,1871,2398,3060,2655,1793,2024,2010,1893,1481,1493,2089,1544,1720,2461,2392,2011,2077,1973,1929,1532,1759,2487,2486,2191,2634,2740,2429,2170,1964,1831,1957,2018,1681,1488,1804,1947,2157,2104,1976,1910,1559,1568,1882,2842,3079,2390,2486,2597,2337,2393,2188,1869,1973,1761,1755,2070,2125,2362,2438,1757,1715,1939,2601,3382,3490,3221,2006,1624,1889,2232,2249,2065,1820,1645,1602,1686,1663,2004,2010,1703,1517,1426,1652,1635,1467,1495,1559,2119,2166,1627,1770,1769,1909,2259,1873,2077,2442,2095,2226,2425,2177,1962,1947,1604,1384,1472,1877,2382,3177,2834,1724,2009,2264,1904,2088,2307,2835,3290,3217,3327,2468,1815,1722,2147,2677,2217,1756,1744,2122,2599,2293,1699,1588,1629,1981,1985,2512,2658,2811,3016,3199,3263,2928,3060,3295,3196,3022,3058,3400,3363,2980,3291,3542,3721,2985,2519,2871,3337,3925,4398,4331,3746,3655,3593,3330,3085,2809,2855,2732,2668,3073,3277,3162,3028,2685,2638,3366,3352,3043,2933,3137,2873,2209,2532,2957,2968,2636,2658,3096,3298,3356,2575,1731,1600,2855,4875,5671,5241,3558,2204,2368,3141,3616,3652,3542,3454,3219,3225,3474,3889,3996,3892,3704,3452,3389,3343,3484,3639,3660,3521,3482,4027,4344,3187,1983,2122,3165,3152,2398,2004,2211,2562,3719,3493,3647,4211,4444,4400,4301,4163,4152,4193,4209,4239,4400,4217,3858,3604,3279,2497,2314,2700,2357,2524,3155,3340,3173,3158,3228,3107,2884,2599,2644,2943,3041,2918,3051,3223,3007,2702,2511,2298,1871,1723,1724,1501,1726,1975,1712,1452,1572,1695,1852,2348,2337,2057,2103,1935,1994,2770,2696,2616,2503,2619,2097,1532,1383,1508,1684,1726,1660,1598,1513,1660,2222,2918,3044,2557,2066,1836,1856,1621,1388,1532,1510,1656,1865,1742,1898,2059,2921,3498,3045,2376,2298,2749,2400,1815,1719,1603,1946,2133,2012,2148,2139,2200,2388,2382,2100,2076,2312,2009,1511,1614,2214,2734,2364,1907,1797,1775,1991,2072,1897,1859,1722,1721,2028,2410,1822,1853,2379,2021,1623,1992,2023,1783,1742,1818,1819,1685,1383,1043,1393,2418,1929,1707,1417,1165,1754,2372,2429,2249,2269,2214,2209,2172,2043,2136,1542,1631,1730,1431,1937,2630,3143,3157,2912,2810,2646,1721,1414,1378,1465,1545,1558,1750,1738,1616,1500,1411,1576,1620,1599,1597,1518,1602,1610,1638,1654,1697,1654,1659,1700,1569,1572,1424,1484,1772,2110,2349,1722,1691,2004,2144,2114,2230,3062,3819,3436,2646,2866,2963,2898,2538,2153,2501,2780,2618,2120,1882,2338,2766,2472,2264,2286,1668,2020,1982,1960,2036,2355,2563,2718,2685,2367,1219,837,1208,1568,1513,1871,2088,2406,2619,2553,2302,2046,1756,1615,1813,2072,2547,2036,1583,1632,1417,1554,2341,2749,3153,3438,3398,2780,2848,3373,3371,2884,2588,2272,1972,1650,1882,2331,2019,1890,2156,2312,1936,2030,2120,1851,2248,1936,1447,1356,1585,1686,1713,1652,2106,2318,1690,1804,2091,2492,2645,2003,2151,1804,1918,2207,2065,2266,2814,3292,3815,4028,3217,2094,2016,2512,2813,2740,2436,2921,3817,4074,4018,3738,3360,3151,3180,3285,3136,3362,3530,2532,1806,1769,1820,1996,1631,1538,1949,1806,1613,1802,1758,1504,1615,1709,2452,2867,2222,2926,3749,3645,2766,1788,2326,3210,3416,3980,2922,2126,2271,2829,3422,3664,3702,3428,2557,2243,2824,3122,3264,4004,3747,3334,3186,2778,3386,4109,3892,3986,4309,3656,2350,2458,2542,2118,2312,2611,2300,2767,2570,2112,2003,2067,2846,2941,1918,1490,1926,1887,2419,2539,2574,2889,2766,2517,2442,3024,3438,3266,3093,2511,2495,2282,2001,1906,1634,2360,2757,2319,2236,2011,2077,2967,2623,2035,2186,2455,2859,2200,2049,2438,2776,2119,1696,1788,1617,1940,2261,2588,2472,1897,2019,1702,1924,2294,2230,2419,2675,2750,2437,1996,1902,2001,2033,1889,2004,1683,1967,1875,2208,2448,1730,1474,1663,1833,1922,1911,1271,1421,1944,2524,2283,1676,1775,1780,2028,2419,2902,3361,2934,1925,1953,1905,2008,2206,2207,2689,2911,2864,2613,2159,2408,3658,4285,4185,3993,3911,3794,3595,3891,3806,3392,2688,2545,3174,3384,3112,2963,2519,2202,2243,2417,2425,2307,1896,2375,3119,3836,3619,3264,3467,3564,3698,3657,3618,3763,3498,3554,3499,3561,3709,3737,3828,3716,3573,3680,3541,3065,2858,3104,3941,3704,3132,3041,2311,1678,1575,1517,1567,1829,2222,2130,1924,1600,1865,2282,1725,1638,2100,2156,2122,2031,2114,2420,2626,2579,2398,2303,2336,2422,2710,2617,2420,2221,2247,2304,2151,2374,2679,3013,3229,2858,2501,2091,1852,1840,1898,1952,2360,2364,1914,1726,1649,1456,1413,1519,1438,2011,1898,1689,1943,2078,2016,2060,2274,2374,2192,2087,2050,2226,2090,2269,2622,2541,2022,1775,1642,1687,2097,2396,2835,2398,2026,1968,1828,1820,2138,3100,3791,3848,3421,2465,2077,1881,1831,1711,2053,2701,2813,2941,3052,2963,2696,2736,2941,2832,3191,2552,2547,2668,2781,3289,3345,3017,2864,2710,2367,2426,2801,2078,988,1233,1407,1483,1718,1907,1960,2370,2508,2448,2531,1823,1128,1165,1291,1362,2008,2121,2026,1859,1910,2327,2410,2175,2296,2558,2294,2073,2210,2339,2069,2304,3444,2554,2235,2153,2224,2009,1846,1953,1863,2279,2386,2008,2111,2419,2069,2018,2464,2903,2514,1898,1927,2281,2033,2154,2822,3146,2710,2623,2541,2127,2255,2318,2572,2829,2871,3073,3272,2801,1993,1913,2575,2765,2508,2661,2799,2708,3493,4065,4352,4385,3698,3425,3728,4125,3939,4058,3935,3221,3244,3164,2681,2457,2676,2901,3265,3838,4157,4013,4005,4238,3653,3052,2438,1980,2145,2987,3570,3299,2741,2233,1761,1859,2388,2419,2519,2492,2644,2024,1476,1684,1894,1683,1956,2439,2586,2723,3212,2932,2386,2014,2209,2581,2593,2844,3426,3641,3254,2352,1701,1535,1802,1823,1842,2183,2203,2910,3289,2877,3113,3396,3488,2949,2765,1839,1229,1275,1569,2111,2391,2443,2658,2513,2205,2512,2185,1778,1997,2022,2134,2305,2278,2352,2016,1555,1562,2060,2291,2125,2580,2545,2989,2458,2213,2457,2976,3781,3617,3113,2575,1827,1985,2468,2785,2417,2862,3109,2296,2282,2600,2654,2745,2880,2523,2171,2246,2450,2490,2086,2157,2026,2878,2922,2222,2452,2948,2571,2095,2019,1851,1591,1488,1661,1508,1338,1522,1614,1887,1923,2104,2336,2467,2755,2647,2834,2789,2625,2418,2404,2281,1810,1709,1882,1764,1545,1583,1533,1488,1426,1627,1459,1500,1850,2041,1829,1531,1316,1799,1802,2046,2587,2151,2232,2741,2653,2421,2557,3095,3332,3164,3332,3492,3153,2407,2544,3013,2120,1657,2565,3227,3903,4003,3762,3345,2349,2608,3466,3448,3449,3683,3806,3152,3599,3848,3638,4344,4225,3982,3802,3298,2535,1860,1962,2459,2622,2807,2705,2674,2748,2763,2979,3087,3081,2486,2225,2922,3516,3565,3621,3659,3474,2986,2499,2337,2339,2405,2345,2256,2498,2495,2236,2468,2496,1910,1790,2099,1969,1762,1843,2134,2258,1801,1492,1511,1497,1362,1665,1853,1650,2026,2198,1864,1670,1503,1497,1666,1810,1929,1807,2026,2161,1731,1582,2125,2089,2092,2576,2083,1834,2093,2280,2128,2108,2146,2231,2321,2941,2836,2504,2357,2114,2021,2490,2569,2422,2271,1699,1689,1881,1833,1787,1831,1439,1902,2376,2358,2280,2175,2430,2964,3438,3077,2314,2252,2398,2578,2802,2846,3177,2802],[1836,1959,1910,1771,1867,1889,1929,1972,2121,2247,1892,1712,1676,2022,2185,1997,2622,2386,1856,1979,2420,2613,2205,1754,2175,2817,2817,2901,2311,2004,1738,1677,2122,2139,2314,2329,2304,2127,1880,2197,2130,1953,1967,1794,1882,2605,3050,2712,2444,2579,2366,2483,2812,2730,2436,2737,2644,2051,2332,2988,2903,2178,2010,2669,2895,2587,2272,2027,2175,2391,2181,2231,2781,3145,2541,2893,3658,3848,3870,3398,2657,2228,2292,1977,2070,2326,2116,2436,2467,2577,2918,3191,3276,3054,2602,2370,2811,2788,2735,3050,2579,2796,2956,2586,2314,2608,2887,2429,2291,2019,1927,2544,2918,3178,2956,2655,2469,2254,2345,2253,2323,2663,2774,2635,2931,2441,2036,2013,2364,2175,2278,2285,2083,2199,2326,2336,2269,2220,2407,3039,3544,3838,4256,3532,3338,4164,4804,4400,3616,3119,2693,2424,2795,2459,2451,2272,2399,2270,2018,2040,2353,2498,2334,2189,2629,2554,2242,2535,2820,2733,2193,1767,1520,1572,1635,1657,1899,1743,1468,1524,1537,1705,1730,1698,1731,2237,2940,2319,1720,1655,1716,2010,2526,2526,2330,2228,2401,2691,2306,2342,2346,2733,3254,2475,1820,1981,1995,2226,2250,2384,2204,2789,2937,2833,2945,2909,2801,2565,2208,2168,2143,2181,2511,2613,3301,3501,3059,2134,2223,2241,1504,1640,2222,1715,1308,1436,2028,2817,3090,3160,2907,2346,1991,1703,2154,2368,2301,2489,2166,1760,1652,1741,2392,3008,2308,2134,2555,2119,2030,2346,2600,2728,2644,2964,3186,2658,2004,1912,2063,2101,2690,2586,2286,2157,2378,2467,2578,2491,1961,1918,1826,1850,2126,2040,2131,2098,1827,1210,1442,2564,2316,2401,2836,3806,3650,2521,1926,1857,1966,3038,3470,2363,1631,1795,2143,2126,1709,1894,1679,1570,1300,1591,1948,1775,1700,2011,2295,2091,1969,1895,2294,3249,3095,2212,1810,1771,2452,3145,3126,2777,2667,2331,1708,2059,2359,2500,2707,2632,2673,2480,1957,2329,2375,2524,2612,2271,2453,2427,2598,2734,2286,2802,3231,3081,3242,3523,3543,3602,3428,2644,1914,1910,2276,2764,3195,3186,2400,2028,1990,2054,1835,1731,1628,1880,2214,2391,2601,2363,1846,1850,1876,2122,2218,2065,1681,2056,2252,1958,2564,3507,3481,3196,2866,2774,2821,2627,2097,1625,1536,1831,2094,2392,2573,1986,1598,1820,2640,2032,2254,2712,2342,1936,1908,1915,1988,2337,3133,2608,1766,1981,1978,1918,1467,1507,2050,1731,1796,2320,2148,2341,2638,2058,1804,1670,2231,3057,2979,2520,2213,2115,2270,2319,2258,1869,1519,1538,1528,1660,1909,1526,1499,1514,1723,1845,1570,1521,1903,1958,1828,1819,2200,2173,2088,2547,2606,1911,1776,1932,1829,2150,2365,2362,2222,1787,1533,1690,2442,3084,3333,3129,2076,1722,2204,2106,1779,1859,1962,1732,1672,1694,1820,2025,1775,1547,1832,2039,1840,1914,2172,2392,2323,2246,1866,1860,1916,1880,2056,2276,1939,2084,2216,2141,2492,2564,2372,2110,1996,1337,1406,1773,2156,2536,2859,2169,1538,1958,1962,1762,2141,2413,3230,3418,3247,2857,2419,1868,1847,2346,2446,2136,2332,2449,2623,2822,2153,1616,1671,1828,2143,1963,2527,3193,3384,2818,2552,2174,2091,2548,2906,2983,3005,2895,3065,2854,3047,3217,3040,3229,3052,2646,2438,2973,3606,4108,4121,3829,3802,3730,3608,3582,3431,3500,3462,3150,2957,2998,3090,3372,3571,3199,3032,2919,2710,2602,2852,3007,3020,2808,2570,2902,3067,2717,2902,2774,2892,3326,3828,3676,3655,4163,4781,4420,2628,1047,1002,2251,3638,3384,3499,3857,3739,3312,3266,3311,3242,3571,3695,3616,3677,3309,3352,3576,3506,3542,3439,3895,3831,2648,1916,2524,2942,2347,2109,1831,2078,2390,3378,2885,3464,4240,4286,4154,4013,4004,4117,4103,4164,4212,4164,4013,3919,3128,2162,1737,2537,3316,2744,2104,2269,2526,2807,2933,2744,2596,2508,2554,2419,2380,2580,2897,3031,2827,2546,2301,2289,2362,1968,1830,1786,1628,1968,1909,1570,1617,1924,2077,2072,1973,1953,2031,2263,2093,2133,2732,2744,2753,2619,2641,2470,1975,1854,1865,1970,1864,1766,1948,2106,2015,1993,2022,2042,2130,1911,1825,2089,1845,1406,1595,1576,1597,1900,1831,2010,1906,2121,2849,3166,2843,2622,3034,2540,1853,1255,1228,1418,1474,1647,2243,2370,2335,2255,2228,2241,2425,2134,1764,1566,1769,2604,2677,2368,2008,1752,1781,1907,2039,2046,1758,1622,1531,1896,2282,1782,2140,2070,1619,2027,2315,2309,2166,1888,1790,1794,1663,1248,919,1730,2210,2385,2036,1230,1448,2171,2479,2323,2212,2253,2311,2246,2155,1888,1671,1561,1835,1681,1939,2820,3471,3098,2887,2722,1998,1708,1435,1422,1566,1677,1584,1553,1642,1600,1734,1698,1594,1880,1765,1560,1387,1501,1493,1556,1585,1448,1509,1595,1710,1648,1487,1484,1376,1722,1864,1883,1836,1511,1932,2244,2156,1908,1791,2252,3475,3804,3497,2953,3042,3540,3116,2712,2734,2416,2269,2265,1800,1937,2235,1765,1692,1650,1528,1765,1739,1673,1786,2160,2666,2685,2564,2214,1053,933,1166,1537,1541,1974,2254,2239,2360,2611,2443,2350,2049,1759,2321,2019,1549,1165,1355,1471,1589,2455,2911,2819,2765,3018,3069,2820,2754,2749,3366,3131,3087,2348,2527,1930,2209,2833,2590,2343,2117,2382,2307,2767,2328,1978,1906,1784,1744,1393,1314,1720,1845,1564,1717,1748,1452,1546,1621,2511,2675,2088,1859,1654,1693,1804,1844,2276,3024,3482,3945,4287,4060,2900,2405,2504,2543,2310,2785,3680,4036,4009,3889,3757,3685,3183,3076,3111,2999,3264,3096,2194,1776,1727,1837,2201,2078,1838,1796,1769,1858,1786,1595,1465,1525,1382,2583,3063,2175,2520,3374,3552,3028,2604,2285,2819,3482,3698,3097,2312,2159,2511,2634,2469,2510,2557,2397,2448,2955,3138,3366,2965,2281,2128,2859,3395,3635,4123,4451,4544,4475,3995,2839,3476,3970,3535,3143,2790,2394,2696,2531,2068,1855,2213,3187,3075,2525,2178,2722,2581,2591,2254,1688,2021,2945,3388,3238,3227,3171,3238,3100,2979,3039,2965,2384,2250,2257,3100,3432,2298,1955,2040,2145,2417,2128,2288,2291,2203,2142,2094,1748,1772,2196,1995,2488,2591,1993,2218,2493,2409,1950,2154,2072,2061,2393,2293,2059,2055,2287,2094,1492,1289,1797,1927,1899,1981,1759,1457,1903,1881,1918,2318,2392,2101,1801,1877,1995,2020,1334,1678,2074,2264,2087,2188,2248,1888,2005,2386,2846,2535,1980,2043,2133,1898,2008,2031,1957,2476,3262,3227,2634,2270,2688,3972,4313,3418,3181,3552,3408,3632,3925,3880,3880,3392,2541,2851,3718,3389,2596,2018,2101,2197,2269,3020,3295,2705,2242,2498,3554,3438,3421,3465,3636,3770,3906,3474,3426,3467,3482,3463,3849,4036,3846,3938,3830,3704,3588,3792,3349,3033,3162,3080,3391,4050,3150,1802,1495,1528,1554,1568,1732,1944,2248,2326,2094,1698,1687,1553,1584,1833,1870,1788,1840,1995,2176,2589,2498,2844,3435,3065,2426,2279,2103,2104,1996,2127,2110,2470,2386,2850,3110,3142,2986,3072,2831,2348,2043,2035,2518,2346,1898,1544,1459,1450,1450,1450,1489,1467,1504,1431,1492,1850,2110,2164,2141,2331,2141,2148,2202,2197,2409,2064,1995,2434,2416,2067,1962,1921,2071,2438,2388,2404,1910,1838,1971,1908,1792,1909,2751,3452,3300,3073,2524,2421,2260,2479,2766,2824,2817,2685,2675,2976,3457,3305,2575,2721,2789,2620,2205,3017,2750,2767,2998,2891,3042,3343,3278,2598,2477,2460,1373,722,1384,1591,1484,1305,1375,1644,2023,1977,1922,2314,2522,2132,1811,1241,1541,3142,2587,2438,2185,2038,2258,2273,2297,2214,2333,2354,2236,2141,2454,2402,2337,2819,2424,2308,2934,3027,1964,1911,2349,1893,2050,1902,1908,2236,2575,2167,2384,2483,2081,2198,1973,1965,1996,1681,2344,2924,3333,2830,2285,1919,1536,1760,2217,2619,2651,2728,3012,3073,2462,2385,2547,2898,2796,2867,3205,3384,3483,3830,3994,4185,4096,3340,3175,3647,4320,4014,3724,3683,3221,3210,3223,2886,2814,2992,3054,3274,3748,3939,3972,3982,3458,2523,2139,2086,2007,1990,2510,2858,2407,2359,2342,1892,2261,2600,2204,2270,2492,2364,1874,1510,1622,1836,1764,2230,2567,2607,2477,3150,3217,2348,2006,2266,2364,2248,2332,2584,3134,2967,2472,2050,2106,2316,2415,2648,2864,2521,2513,2542,2242,2687,2929,3559,2740,2636,2734,2492,2132,2270,2652,3116,3128,2820,2700,2406,2648,2384,2147,2459,2419,2441,2741,2620,2338,2287,1891,1862,2208,2336,2362,2366,2723,2940,2796,2343,2253,2758,3307,3107,2576,2121,1815,1951,2171,2503,2423,2766,2819,2424,2041,2476,3118,2622,2563,2739,2784,2400,2204,2264,2126,2298,1991,2166,2965,3384,3429,3251,2640,2046,1800,1676,1704,1770,1928,1591,1483,1566,1689,2200,2653,2493,1997,2281,3087,2641,3165,2962,2537,1940,2090,2222,2002,2104,2260,2027,1637,1653,1582,1567,1495,1742,1588,1361,1694,1838,1832,1770,1634,1637,1610,2196,2676,2603,2291,2466,2691,2353,2375,2766,2976,2778,3055,3095,2514,2611,2919,2349,1705,1658,2902,3702,4034,4200,3868,2995,2345,2598,2955,3228,3665,3738,3249,3115,3063,3106,3650,3792,3640,3969,4164,3167,1826,1571,1904,1863,2345,3063,2918,2766,2755,2740,2928,2998,2872,2292,1941,2598,3370,3454,3545,3261,2623,2300,2240,2154,2020,2154,2237,2236,2514,2392,2393,2376,2585,2374,2192,2079,1959,1998,1792,1764,2004,2157,1577,1526,1614,1740,1614,1548,1606,1616,1789,1804,1612,1489,1468,1448,1585,1749,1709,2199,1903,1787,1854,2400,2167,2136,2342,1836,1848,2160,2375,2362,2105,2031,2051,1905,2336,2104,2092,2043,1782,2002,2540,2664,2418,1983,1663,1700,1826,1728,1980,2255,1913,2316,2811,2872,2535,2250,2451,2722,2940,2783,2391,2219,2448,2768,2855,2963,2855,2198],[2343,1880,1500,1649,1827,2017,2265,2288,2173,2249,1853,1863,2113,2541,2386,1900,2305,2619,2320,2310,2662,3134,3097,2757,3288,3145,2930,3243,2857,2498,2424,2897,2881,2419,3064,2867,2574,2344,2591,2866,2540,1959,1362,1350,2004,2741,3031,2697,2336,2792,2481,2799,2586,2397,2565,2625,2712,2646,2634,2733,2841,2457,2074,2309,3051,2915,2853,2619,2392,2270,2141,2347,3211,3886,3279,2880,3352,3914,4060,3695,3122,2636,2208,2118,2592,2749,2173,2147,2797,3176,3316,3442,2975,2322,2032,2264,2913,2887,2801,2386,2351,2975,3255,2569,1918,2425,2976,2385,2170,2046,2103,2317,2276,2353,2613,2590,2451,2250,2092,2033,1981,2374,2490,2221,2725,2702,2411,2356,2296,2263,2531,2476,2426,2631,2607,2664,2393,2192,2183,2942,3529,4140,3950,3398,3537,4111,4503,3875,3187,2887,2154,2403,2955,2777,2439,2134,2396,2298,1797,2191,2363,2169,1806,2095,2377,2376,2959,3074,2532,2181,1879,1643,1563,1599,1751,2029,2175,1554,1226,1324,1364,1524,1664,1723,1611,2072,2175,1789,1748,1700,1875,2449,2835,2236,1850,1857,2086,2227,2476,2465,1789,1953,2785,2743,2348,2072,1837,1925,1953,2626,2526,2755,2542,2038,2134,2354,2372,2148,1909,2190,2630,2358,2275,2416,2781,3057,3043,2624,1997,1393,1280,1302,1707,1689,1556,1561,2213,2333,2577,2943,2570,2498,2178,2045,2513,2609,2224,2250,1997,1863,1898,2204,3182,3227,2271,2199,2206,2001,2037,1948,1868,2058,1951,2375,2436,2093,1903,1833,1870,2382,2956,2966,2535,2534,2479,2441,2634,2580,2533,2665,2815,2005,2001,2277,2157,2035,1801,1480,2218,3332,3130,2861,2676,2672,2363,2822,2544,1975,1828,2711,2758,2044,2105,2442,2837,2316,2003,2149,1899,1478,1250,1935,2272,1909,1770,1847,1953,1813,1817,1457,1668,2468,2590,2160,1823,1766,2308,2534,2466,2856,2731,2071,1629,1860,2017,2665,2791,2630,2745,2580,2110,2225,2654,2835,2986,2408,2480,2280,2311,2686,2511,2648,2980,3031,3096,3115,3320,3264,3370,3306,2647,2801,3140,3047,2700,2282,1923,1881,2146,2008,1650,1664,1526,1720,1824,2304,2547,2027,1782,1679,1930,2256,2235,1992,2149,2495,2162,1958,2592,3378,3338,3063,2978,2927,2712,2546,2136,1682,1895,2397,2647,2358,2193,1830,1532,2343,3020,2201,1822,2598,3009,2387,1865,1928,2093,2068,3178,2354,1755,1873,2009,2084,1606,1682,2154,1750,1461,1487,1655,1991,1832,1631,1534,1817,2416,2734,2823,2777,2304,2252,2430,2149,2033,1702,1508,1568,1572,1790,2020,1643,1549,1749,1785,1783,1863,2078,2458,2028,2060,2050,1842,1696,2041,2351,2436,2159,2239,2271,1845,1814,1881,1420,1409,1661,1634,1650,2258,2806,3045,2786,1942,1925,2376,2126,1914,2049,2031,1822,1870,1842,1794,1787,1727,1566,1827,1932,1693,1785,2320,3131,2680,1946,2421,2382,2328,2048,1756,1899,1969,2234,2264,2511,2653,2531,2441,2187,2165,1684,1776,2041,1707,1470,1638,1564,1497,1691,1937,2129,2424,2547,3501,3479,3350,3374,2746,2042,1786,1808,2082,1996,2393,2383,2742,2483,2053,1698,1731,2091,2431,2374,3028,4108,4164,3649,3231,1997,1742,1811,1980,1917,1837,1752,2044,2095,2304,2251,2416,2796,3012,3200,3111,3315,3610,3731,3642,3661,3637,3486,3481,3366,3219,3588,3780,3861,3473,3174,2865,2619,3109,3135,2546,2312,2069,1996,2085,2271,2938,3263,2962,3073,2968,2284,2597,2407,2407,3089,3686,3872,3804,3606,3760,3757,3193,2553,2241,3105,3397,3151,3329,3978,4197,3893,3918,3968,3814,3601,3259,3040,3097,3374,3565,3638,3948,4193,3951,3970,3449,2160,2019,2808,2971,2192,2081,1896,2077,2366,3388,3912,4123,4248,4140,3937,3903,4157,4214,4004,3974,3995,3874,3555,2994,2172,1688,1686,2397,3311,3009,2201,2312,2089,1918,2186,2554,2348,2062,2313,2404,2458,2632,2536,2501,2502,2657,2536,2255,2163,2409,2549,2500,2104,2128,2250,2153,2215,2304,2115,2122,2052,2111,2161,2180,2170,2160,2323,2278,2233,2228,2312,2248,1985,2003,1986,1902,1867,2041,2305,2512,2363,1946,1842,1970,1960,1808,1795,2118,1760,1583,1629,1682,1759,2177,2100,1955,1723,1696,2221,2591,2785,2875,2932,1967,1526,1103,1133,1228,1199,1577,2155,2448,2475,1996,1945,2167,2282,1838,1498,1606,2228,2828,2541,2171,2083,2352,2224,1891,1906,1787,1436,1776,1723,1842,1796,1757,1969,1599,1756,2338,2430,2382,2270,2188,2001,1819,1605,1069,1233,1901,1905,1986,1659,1322,1901,2411,2393,2330,2387,2381,2303,2321,2033,1575,1429,1826,1851,1722,2390,3351,3155,2744,2661,2035,1569,1371,1336,1417,1520,1577,1544,1544,1600,1394,1602,1688,1580,1865,1718,1599,1545,1673,1717,1595,1416,1354,1495,1476,1709,1643,1664,1621,1471,2158,2182,1643,1454,1736,2239,2107,2134,1952,1725,1843,2581,2737,2366,2020,2496,3499,3666,3189,2634,2237,2280,1965,1629,1870,2238,1722,1660,1754,1947,2264,2346,2420,2309,1981,2290,2489,2364,2095,1759,1479,1498,1661,1650,1987,2232,1953,1957,1943,1276,1663,2032,1973,2332,1627,1236,1125,1187,1717,2425,2676,2341,2187,2252,2267,2462,3066,3126,2950,3316,2931,2819,3053,2544,1823,2433,2199,2078,1987,2201,2442,2917,3111,2360,1956,1729,1606,1733,1637,1525,2049,1925,1646,1838,1624,1758,1508,1347,2076,2706,2266,1564,1497,1776,2311,2103,2216,3050,3375,3606,4078,4416,3482,2446,2083,2343,2740,3404,3935,3945,4050,3917,3862,3907,3310,3265,3133,3137,3132,2508,1871,1797,1881,2106,2481,2456,2319,2555,2630,2326,1801,1506,1475,1629,1648,2608,3163,2292,2171,2522,3462,3005,3012,2500,2144,2823,2745,2309,2210,2079,2282,3013,2898,2790,2773,2678,3082,3501,3739,3973,3053,2376,2291,2502,3154,3381,3067,3287,4057,3960,3640,3825,4091,3924,4265,4428,3484,3050,2873,2476,2199,1994,2264,2479,2579,2435,2540,2966,3112,2945,2069,1596,1629,2165,2965,2932,2855,2329,2432,2909,3571,3939,3511,2575,2416,2743,3004,2928,2056,2264,2532,2471,2514,2442,2547,2458,2253,2312,2247,1967,2198,2338,2116,3047,3301,2244,2098,2480,1928,1700,1938,2236,2820,2701,1968,2189,2177,2503,2011,1330,1125,1175,1597,2050,2100,1695,1926,2866,2538,1772,2047,2378,2021,1904,2063,2216,2230,1732,1882,2496,2753,2548,2591,2206,2269,2437,2308,2750,2351,1925,1743,1675,1938,2233,2217,1997,2475,3407,3441,3300,3109,3796,4300,4185,3256,2894,3496,3375,3230,3592,3620,3782,3992,3591,2783,2642,2524,2099,1919,2146,2444,2843,3681,3952,3156,2233,1874,3149,3540,3826,3784,3710,3654,3681,3676,3552,3428,3427,3620,3820,3853,4018,4100,3961,3757,3723,3905,3753,3863,3906,3307,3248,3817,2981,1647,1502,1529,1429,1465,1663,1641,1863,2310,2334,1914,1657,1880,1953,1616,1678,1814,1875,2010,2303,2422,2630,3606,4330,3526,2279,1633,2056,2367,2034,2055,2194,2159,1584,2010,2629,2457,2455,2608,2593,2468,2523,2877,2349,1810,1616,1587,1571,1685,1602,1520,1473,1405,1414,1531,1729,1816,1993,2043,2262,2328,2249,2201,2257,2288,2225,2043,2096,2431,2518,1782,1932,2372,2847,2768,2891,2412,1735,1940,2261,2200,2104,1967,2589,3086,2867,2138,2277,2380,2353,2925,3304,3284,3423,3118,2875,3245,3594,3476,2482,2200,2310,2143,2523,3020,2919,2793,2402,2665,3146,3357,3244,2803,2719,1934,1060,1428,2102,1820,1624,1626,1597,1679,1717,2021,2428,2541,2435,2049,2010,1551,2136,2636,2117,2490,2593,2580,2482,2040,1968,1998,2072,2009,2280,2120,2210,2254,2172,2176,2008,2146,3227,3694,2556,1933,1885,1678,1676,1205,1415,1775,2186,2386,2682,2620,2547,2703,2054,2191,1965,1669,2633,2917,3244,2920,2509,2024,1436,1632,2262,2596,2544,2488,2597,2931,2629,2825,3156,2760,2547,2829,3205,3615,3782,3918,4016,3860,3703,3397,3655,3555,3731,3563,3472,3586,3340,3152,3163,3010,2863,2966,3027,3264,3486,3760,3814,3640,3028,2457,2266,2232,2463,2596,2581,2070,2042,2125,2495,2787,3045,2652,2523,2898,2705,2463,2327,1993,1927,2166,2132,2479,2191,2121,2182,2907,3417,2910,2231,2024,2169,2300,2210,2097,2675,3433,3254,2608,2359,2411,2561,2945,3120,2752,2641,2668,2221,2540,2990,3510,2823,2845,3282,3040,2865,2840,3095,3373,2791,2476,3011,2390,2554,2346,2587,2867,2656,2858,3129,2664,2618,2391,2315,2576,2082,2298,2160,2235,2956,3022,2771,2470,2692,2877,2647,2374,2103,2026,2156,2228,2222,2161,2281,2241,2272,2338,2170,2280,2908,2712,2729,2933,3321,2911,2014,1963,2127,1766,1609,2004,2499,3164,3123,2852,2520,1958,2226,2002,2032,1852,1666,1735,1871,1764,1590,1808,2059,2069,1766,2059,2510,2209,2407,2263,1749,1449,1802,2144,1998,1776,1761,1694,1519,1501,1338,1419,1479,1429,1175,1206,1462,1465,1608,1896,1805,1464,1558,2084,2591,2380,2389,2708,2513,2159,1558,1756,2456,2474,2779,2703,2696,2929,2644,2231,1755,1632,2407,3344,3938,3838,3075,2392,2248,2448,2708,3373,3895,3639,3416,3993,3504,3175,3636,3807,3517,3587,3527,2213,1951,2636,2445,2059,2415,2913,3041,3041,2953,2897,3111,3137,2698,1419,1575,2457,3251,3508,3151,2486,2034,2091,2154,2091,2004,1992,1906,1836,2015,2138,2280,2157,2919,3184,2705,2052,1671,1710,1795,1771,1795,2181,1565,1568,1532,1595,1505,1606,1692,1558,1731,1935,1749,1913,1749,1968,1958,1836,1979,1927,1958,1994,1892,2483,2420,2160,2384,2016,1813,2307,2338,2987,2609,2027,1507,1872,2157,2124,2472,2250,1623,1754,2144,2168,1636,1427,1583,1366,1304,1381,2042,2592,2447,2430,2303,2041,2209,2412,2541,2598,2769,2875,2331,2189,2556,2834,2802,2856,2846,2501],[2566,1926,1562,1702,1834,2009,2350,2145,1930,2359,2106,1845,2149,2631,2446,1723,2036,2603,2680,2778,2998,3330,3399,3075,3527,3392,3238,3071,2758,2546,2674,2775,2680,2369,2810,2902,2708,2498,2810,3145,2856,2279,1668,1082,1418,2480,2510,2290,2450,2828,2814,2899,2526,2231,2367,2768,2858,2536,2530,3025,3234,2644,2006,1977,2732,2562,2422,2359,2254,2048,2095,2469,3263,4327,3752,2928,2900,3760,3886,3726,3631,3122,2490,2561,2906,2699,2460,2539,2968,3176,3156,3273,2586,2265,2526,2712,2806,2715,2056,1637,2240,2768,2798,1703,1678,2160,2204,2474,2314,2385,2232,2046,2076,2463,2643,2320,2111,2149,2151,2355,2244,2532,2306,1929,2041,2469,2418,2208,2230,2659,2943,2606,2564,2945,3212,3647,3189,2894,2533,2479,3254,4009,3894,3609,3816,4276,4344,3729,3338,3196,2289,3003,2918,2363,2474,2532,2564,2366,2016,2424,2438,2032,1726,2133,2792,2766,2342,2071,2358,2283,1914,1744,1094,1094,1534,1714,1798,1583,1562,1522,1566,1787,1740,1643,1662,2290,2930,2395,1584,1942,1974,2591,3012,2292,1836,2040,2128,2009,2320,2204,1438,1515,2164,2975,2988,2110,1704,1638,1888,2625,2851,2609,2067,1591,1711,1939,1983,1793,1905,1957,2242,2546,2344,2053,2004,2305,2464,2232,1798,1476,1543,1302,1590,1622,1614,1784,2320,2404,2535,2356,2281,2901,2584,2223,2153,2143,2072,1785,1966,2237,2476,2241,2273,2568,2203,1474,1382,1477,1743,2037,1971,2003,2392,2442,2562,2326,1893,1613,1715,2170,2937,3360,2746,2109,2138,2571,2286,2274,2763,3376,3479,2451,2169,2322,1893,1668,1325,1913,2836,3538,3684,3187,2496,2099,2234,2671,2796,2575,2758,3819,3189,2203,2353,2532,2318,1899,2116,2154,1595,932,1219,2056,2079,1756,1906,1937,1854,1692,1539,1627,1810,2382,2775,2442,1911,1793,2338,3032,2798,2205,1992,2017,2362,1804,1858,2712,2965,2570,2471,2623,2120,2181,2990,2952,2664,2243,2580,2385,2392,2619,2318,2222,2894,3559,3248,3109,3343,2824,3428,3679,3199,3172,2786,2552,2279,1909,1955,2113,2282,2029,1873,1686,1528,1573,1870,2165,2004,1788,1668,1969,2358,2314,2254,2451,2317,1775,1472,1667,2555,3104,2869,2687,2608,2261,2116,2114,1922,1720,1841,2024,2011,1704,1680,1649,1824,2128,2187,2088,1643,1884,2536,2584,1938,1915,1786,2121,3088,2247,1761,1964,2047,1973,1555,1499,1666,1490,1594,1305,1448,1767,1792,1854,1761,1944,2244,2282,2207,2000,1781,1889,1680,1713,1843,1857,1998,2118,2032,1649,1522,1649,1738,1742,1605,1691,2096,1979,1892,1952,1903,1733,1500,1559,2002,2571,2540,2186,2245,2248,1942,1627,1614,1641,1918,1854,1828,1890,2098,2205,2227,2070,1865,1895,1932,2005,2043,1935,1926,1901,1885,1865,1952,1797,1698,1761,1753,1798,1718,1478,2054,2844,2354,1996,2082,2442,2873,2125,1504,1865,2185,2065,2092,2590,2460,2403,2342,2357,2626,2332,2264,2116,1738,1554,1512,1614,1825,1870,2240,2148,2148,1797,2182,3208,3060,2645,2610,2291,2126,2588,2589,2114,2251,2431,2872,2866,2946,2509,2372,2548,2136,2363,3063,2989,3692,4157,3908,2346,1794,1998,1770,1801,1992,1845,1660,1921,2152,2350,2839,3004,3162,3454,3421,3198,3212,3316,3308,3267,3261,2979,2586,2490,2658,3152,3328,3808,4288,3394,2720,2467,2597,2294,1952,1830,1782,1771,1784,1824,2418,2613,2609,3006,2832,2647,2818,2540,2734,3238,3216,3319,3740,3661,3418,3536,3764,3697,3307,3108,2902,2765,2623,3073,3792,3580,3334,3222,3066,3182,3039,3211,3464,3260,3132,3322,3504,3564,3487,3470,3071,2135,2120,2920,3205,2557,2156,1934,2092,2474,3384,4094,4069,4004,4003,4103,4016,4251,4285,3952,3684,3605,3484,2787,1873,1550,1868,1952,2120,2803,3008,2487,2594,2185,2300,2864,2996,2299,2138,2827,3133,2832,2887,3076,3205,3041,2964,2923,2741,2629,2778,2671,2238,2048,2267,2274,2133,2294,2260,2054,1794,1759,2170,2366,2188,2088,2006,1884,1738,1739,1936,2003,1995,2150,1975,1803,1827,2112,2191,2142,2342,2348,1843,1727,1802,2131,2520,2316,2180,1709,1676,1791,1738,1775,2044,1967,1870,1808,1814,2048,2155,1994,2063,2248,1651,1696,1478,1201,1305,1330,1632,2167,2523,2575,2186,2116,2376,2220,1737,1421,1519,2330,2667,2153,1952,2274,2536,2278,1844,1787,1744,1636,1935,2090,2048,1530,1498,1599,1593,1998,2126,2320,2529,2497,2312,1967,1829,1469,1208,1955,2278,1635,1318,1159,1539,2210,2544,2383,2303,2372,2349,2431,2272,1826,1532,1641,1890,1982,2164,2389,2756,2985,2778,2196,1716,1498,1329,1411,1548,1582,1491,1504,1520,1484,1531,1577,1378,1369,1559,1666,1620,1474,1608,1648,1512,1310,1638,1805,1704,1467,1460,1496,1584,1656,1991,1962,1653,1639,2136,2137,1626,1676,2036,1782,2306,2394,1816,1896,1987,2193,2702,2811,2889,2434,2133,1445,998,1338,1888,2089,1647,1706,1828,2141,2570,2590,2634,2412,2282,3164,2902,2267,2275,2046,1444,1521,1776,1641,1713,1866,1776,1973,1990,1909,2379,2273,2175,1967,1481,1378,1207,1367,1980,2044,1825,1470,1868,1980,1914,2455,2828,2750,2758,3065,3053,2683,2727,2171,2099,3039,2558,2919,2500,2614,2709,3052,2691,1968,1908,1920,1683,1760,2208,2243,2462,2475,2107,2155,1838,2020,1832,1709,2243,2683,2130,1586,1825,2100,2554,1701,2170,2896,3062,2950,3242,3749,3801,3253,2425,2172,2388,3074,3715,3738,3840,3854,3902,4008,3831,3649,3386,3240,2764,2056,1755,2152,2747,2667,2387,2408,2382,2330,2168,2222,2175,2095,2504,2942,2723,3055,2717,1925,2077,2178,2949,3360,2657,2143,2022,2424,3000,2900,2045,2175,2154,2641,2512,2953,2922,2823,2824,2697,2990,3975,3772,2664,2182,2250,2500,3240,2612,2233,3227,3081,2855,3925,4373,3908,4080,4404,3908,3544,2854,2406,2172,1902,2078,2072,2226,2401,2539,2579,2974,3146,2394,2028,1546,1986,1919,2039,2608,2424,2401,2930,3831,4004,3603,3138,2693,2523,2571,2586,1968,2457,2825,2745,3245,2795,2318,2222,2444,2924,2514,1925,2007,1776,2099,2382,2293,2257,2182,2314,2236,1828,1934,2154,2558,2584,2585,2393,2043,2209,2138,1679,1474,1398,1398,1625,1610,1604,1768,2317,2514,1507,1716,1856,1959,1993,1959,2576,2611,1952,1986,2586,2862,2445,2163,1990,2640,2490,2746,2954,2181,1952,1564,1187,1368,1731,1976,2247,2734,3525,4168,4024,3373,3771,4041,4030,3398,3217,3775,3326,3010,3075,3276,3607,3710,3704,3230,2544,2045,2106,2374,2379,2666,3514,4122,4143,3441,2524,1755,3011,3601,3739,3716,3672,3702,3710,3626,3608,3563,3517,3663,3516,3556,3885,4041,3984,3927,3891,3714,3905,4160,3840,3450,3292,3724,3161,1998,1636,1490,1430,1603,1692,1584,1881,2384,2327,2164,2246,1887,1851,1845,1828,2668,2912,2806,2611,2430,2712,3664,3843,2596,1958,1737,2521,2563,1907,2046,2139,2048,1678,1970,2259,1738,1491,1849,2280,2233,2761,3328,3471,2842,2293,1979,2019,1944,1729,1702,1782,1610,1683,1892,1710,1692,2141,2361,2495,2424,2272,2277,2269,2098,2216,2350,2182,2443,2557,2005,2248,2505,3373,3807,3288,2104,1730,2302,2190,1979,2254,2241,2575,2946,2691,2321,2382,2503,2524,2540,2764,3295,3491,3273,3210,3481,3381,3608,2724,1838,2047,2614,2977,3132,3068,2598,2077,2735,3074,3303,3187,2978,3016,2718,2619,2746,2799,2502,2146,1783,1565,1844,1962,2465,2366,2230,1967,2176,2192,1748,2031,2158,2173,2395,2379,2286,2140,1907,1786,1540,1714,2144,2381,2120,2259,2554,2333,1845,1378,1626,2845,3654,2854,2219,2542,3217,2322,1109,1164,1791,2512,2823,2700,2622,2374,2315,2353,3021,2792,2852,3062,3006,3396,3094,2280,1864,1430,1730,2238,2822,2922,2604,2348,2598,2441,2702,3078,2646,2240,2503,3304,3737,3605,3630,3820,3793,3614,3758,3823,3253,3365,3630,3509,3654,3605,3178,3059,2932,3008,3024,3051,3107,3310,3570,3619,3593,3447,3052,2620,2567,2831,3641,3517,2574,2477,2538,2588,2935,3493,3420,3405,3362,3240,2930,2769,2466,2271,2353,2659,2559,2097,1854,1870,2446,2648,2202,1639,1444,2069,2370,2311,2280,2564,3130,3242,2862,2458,2327,2487,2855,2895,2396,2648,3462,2957,2586,2535,2497,2555,3096,3119,2719,3016,3159,2900,2604,2204,2492,2652,2294,2386,2138,2531,3022,2964,2880,2706,2893,3111,2171,2146,2134,1901,2565,2677,2624,2834,2909,2453,2436,3306,3031,2275,2472,2150,2110,2815,3405,2702,1963,2008,2290,2613,2657,2809,2182,2219,2335,2415,2422,2579,2334,1697,1786,2139,1940,1616,1734,1981,2503,2513,2610,2653,2416,2398,2100,2024,1892,1681,1614,1644,1671,1663,1781,1882,1836,2031,1955,1981,1821,1815,1994,1942,1582,1827,1860,1936,1807,1781,1590,1280,1287,1349,1519,1545,1307,1203,1328,1391,1356,1382,1764,1938,1757,2128,2667,2772,2376,2464,2410,2253,2000,1106,1730,2280,2230,2354,2035,2402,2493,2504,3013,2584,2369,3101,3476,3699,3495,2545,2054,1934,2179,2252,2620,3124,2640,2826,3845,3927,3694,4036,3909,3465,3498,2763,2282,2511,2551,2455,2386,2319,2710,2924,3006,3142,3230,3318,3174,2366,1353,2110,2308,2602,2648,2690,2630,2168,2116,2103,1995,2042,1645,1765,1916,1996,2079,2084,2003,2459,3301,3619,2781,2275,1864,1867,1770,1583,1603,1555,1628,1642,1650,1875,1934,1675,1571,1697,1844,1720,1862,2029,2131,2008,2000,2001,1725,1869,1964,1803,2440,2482,2280,2320,2426,2103,2308,2351,2814,2663,2014,1834,2542,2766,2476,2336,2395,1975,2081,2252,2246,1503,1093,1266,1170,1123,1378,1959,2248,2233,1974,1583,1708,2189,2416,2587,2706,2478,2024,2063,2345,2403,2369,2437,2492,2659,2498],[2695,2072,1704,2041,2237,2272,2343,2423,2380,2404,2056,1497,1479,2209,2408,1646,1899,2690,3022,2919,2862,2768,2887,3084,3241,3162,2993,2768,2449,2484,2715,2402,2436,2323,2784,2770,2409,2182,2358,2719,2575,2043,1242,988,1437,2462,2381,2800,2988,3220,3352,2822,2295,2520,3098,3187,2884,2668,2562,2945,3177,2379,1676,2034,2226,2053,2349,2350,1925,1682,2180,2355,2669,3398,2839,2226,2305,3416,3918,3604,3439,3462,2854,2207,2141,2415,3024,3007,2459,2687,3219,3053,2768,3089,3398,3382,2896,2045,1677,2224,2706,2423,1796,1375,1877,2324,2430,2943,2575,2409,2522,2333,2596,3090,2525,2154,1881,1815,2036,2198,2392,2345,2006,1976,2183,2545,2429,2334,2465,2709,2566,2499,2712,3061,3220,3730,3946,3654,3006,2509,2452,2856,3274,3673,3997,4132,4222,3808,3848,2840,2684,3182,2524,2340,2953,2882,2335,1907,2215,2451,2066,2136,2288,2502,3379,3044,2494,2863,2743,2119,2302,2771,1733,1237,1433,1475,1618,1705,1792,1716,1694,1762,1854,1852,1996,2720,2852,2362,2075,2668,2485,2707,2679,2154,2049,2051,1941,2161,2487,1900,1894,2475,2710,2624,2558,1901,1716,1993,2156,2468,2632,2434,2076,2070,2169,1979,1856,2087,2208,1657,1763,1804,1447,1843,2334,2642,2648,2359,2061,1836,1797,1537,1784,1653,1455,1658,1852,1874,2224,2090,2095,2512,2512,2177,2167,2242,2239,2098,2519,2444,2322,2135,1990,2469,2167,1762,2118,1702,1940,2080,1750,1961,2330,2039,2146,1989,1727,1968,1993,1780,2702,2879,2304,1798,2411,2768,2614,2472,2567,3052,3082,2240,1966,2325,1888,1544,1146,1973,2620,2920,3130,2907,2358,2117,2326,2093,1820,2279,3243,4085,3145,2243,2075,1787,1583,1721,2052,1959,1382,1473,2260,2645,2399,1723,1830,2347,2253,1891,1781,1637,1711,2241,2383,2204,1855,1854,2432,3066,2944,1954,2271,2480,2020,1703,2408,2797,2729,2462,2552,2530,1980,1986,2864,3072,2810,2479,2567,2625,2888,2923,2411,2307,2463,3467,3585,3397,3610,3772,3869,3886,3261,2450,2236,2553,2504,2355,2109,1813,1813,1664,1947,1664,1663,1864,2151,2012,1726,1654,1890,2646,2836,2503,2347,2273,1666,1834,1903,1814,2354,2676,2386,2304,2247,2096,2044,1925,1838,1840,1832,1752,1741,1671,1786,1744,1710,1526,1779,2113,1655,1448,1704,1762,1543,1794,1468,2111,2920,2204,1744,2053,2048,1938,1614,1932,1827,1770,1879,1588,1772,1882,1920,2115,1889,1859,2159,1979,1541,1499,1725,2164,1703,1649,1852,1736,1617,1747,1812,1760,1670,1714,1737,1707,2088,2003,2195,1715,1575,1681,1610,1549,1754,2024,2237,2623,2520,2119,1930,1883,2011,1735,1678,1781,1924,2095,2078,1936,1907,1816,1620,1511,1581,1667,2041,2437,2502,1990,1737,1763,1608,1830,2144,1660,1582,1876,1688,1771,1635,1499,1552,2026,2399,2587,2426,2668,2558,2009,1972,2320,2820,2552,2182,2123,2121,2016,1696,1643,1931,2216,2250,2151,1808,1477,1962,1879,1632,1651,1981,1627,1715,1744,1957,2710,2621,2303,2597,2574,2612,2459,2051,2341,2326,2643,2677,2524,2896,2764,2902,3039,2219,2455,2707,1840,1896,2392,2688,2059,2185,2411,2380,2541,2519,2060,1920,2422,2394,2850,3042,2889,3056,3334,3189,2678,2862,3175,3110,3293,3260,3152,2955,2220,1997,2224,2544,3494,4100,3475,3191,3156,2818,2396,2146,1756,1849,1734,1806,1748,1901,1926,1870,2356,2648,2631,2576,2613,2909,3383,3341,3140,3277,3392,3448,3760,3806,3669,3400,2763,2343,2205,2259,2546,3469,3415,3286,3153,3007,2752,2930,3442,3550,3015,2609,3060,3459,3852,3564,3508,3321,2921,2626,2789,2836,2397,2022,1988,2110,2564,3349,3834,3864,4080,4137,4437,4297,3961,3911,3743,3293,3064,2523,1842,1815,1989,2018,1954,1919,2237,2780,2675,2498,2126,2218,2758,2768,2109,2243,2709,3008,2602,2558,2959,3024,2996,3119,2974,2691,2548,2459,2248,1995,2376,2609,2699,2662,2347,2121,1844,1832,2262,2354,2136,2075,2112,2090,1930,1695,1944,2744,2956,2755,2566,2233,1994,2536,2883,2551,2329,2082,2002,2388,2528,2404,2502,2671,2532,1866,1665,2076,2138,2057,2099,2062,1832,2049,2166,2056,1981,1946,2069,2146,2015,1879,1832,1651,1497,1368,1350,1667,2362,2788,2503,2350,2319,2487,2264,1682,1424,1669,2304,2374,1793,1843,2307,2435,2349,2124,1926,1632,1714,1970,2136,1874,1188,1423,1825,2135,2290,2351,2249,2301,2486,2313,1963,1623,1024,1280,2149,2068,1246,1252,1153,1851,2365,2247,2058,2166,2216,2210,2156,1986,1910,1648,1683,2010,2820,2887,2722,3032,2969,2462,1940,1732,1521,1474,1517,1437,1388,1464,1428,1578,1449,1379,1411,1383,1425,1443,1638,1532,1387,1578,1561,1559,1451,2059,2060,1677,1471,1431,1745,1767,1519,1526,1618,1833,1970,2230,1780,1555,1543,1729,2011,2733,2531,2107,2115,1737,1684,2276,2501,2287,2029,2044,1383,985,1320,2364,2651,2395,2385,2276,2387,2228,2189,2277,2092,2428,2943,2344,1945,2200,1787,925,1148,1680,1840,2146,1926,1682,1776,2130,2429,2845,2978,2489,1885,1467,1267,1672,1902,2119,2170,1973,2088,2454,2321,2307,2894,2867,2608,2823,3415,3675,2630,2384,2148,2530,3631,3685,3399,2657,2422,2671,3050,2618,2193,2497,2239,1704,1649,2148,2177,2182,2129,2104,1763,1856,2426,2086,1864,2303,2442,1866,1781,2230,1937,2114,1696,2496,2966,2763,2211,2386,3363,4020,3837,2919,2496,2072,2489,3205,3457,3679,3802,3842,3873,3875,3776,3725,3460,2309,1797,1904,2544,2866,2818,2633,2586,2623,2706,2854,2824,2678,2667,3208,3796,3565,2978,3106,2617,2326,2326,2302,3174,3345,2429,1996,2190,2467,2951,2019,2055,2133,2302,2958,3091,2890,2499,2202,2255,2598,3803,4341,3439,2198,2351,2154,2728,3122,3010,3197,3329,3795,4237,4384,4404,4377,3973,3613,3015,3274,3345,2743,2148,2081,2070,2288,2471,2399,2301,2445,2013,2287,2446,1986,1749,1617,1903,2374,2641,2330,2401,3378,4167,3835,2777,3021,2575,2029,2209,2089,2176,2285,2375,2496,2413,2510,2253,2346,2962,2832,2282,2000,1914,1838,1647,1443,1617,1809,2268,2058,1562,1820,2364,2451,2153,2303,2055,2170,2187,1910,1526,1760,1698,1409,1805,1753,1740,1548,1808,1699,1568,1957,2049,1655,1610,2367,3007,2643,1827,1820,2204,2365,2166,1581,1338,1993,2170,2701,2574,2112,1948,1776,1724,1440,1214,1359,1979,2502,3517,4341,4365,3559,3635,4271,4311,3874,3948,4124,3701,3664,3008,3089,3275,3295,3244,2705,2004,1784,1880,2196,2365,2652,3481,4284,4420,3613,2463,1799,2930,3850,3747,3724,3758,3716,3782,3719,3653,3663,3558,3399,3465,3575,3747,3719,3903,4153,3790,3694,3905,3783,3461,3388,3203,3184,3242,2800,2433,2235,2017,1996,1827,1643,1816,2322,2326,2417,3155,2611,1938,1996,2459,3088,3554,3587,3230,2476,1923,2303,2465,2081,1835,1825,2602,3110,2465,1933,2117,2045,2079,2266,2496,2061,1224,1422,2251,2720,3187,3560,3730,3628,3432,3034,2329,1772,1898,1942,1806,1692,2180,2297,1947,2236,2544,2459,2387,2425,2141,2306,2490,2225,2620,2907,2689,2880,2574,2191,2075,2474,3481,3607,2473,1779,1756,2456,2267,2156,2872,3649,3536,3393,3098,2386,1668,2186,3301,2852,2253,2377,2699,3006,3317,3528,3277,3687,3270,2311,2129,2452,2972,3320,3467,3308,2664,2979,2956,3120,2877,2798,2731,3019,3112,2945,3075,3116,2492,1753,1406,1829,2014,1986,1861,2010,2391,2482,2019,1705,1902,2245,2553,2540,1915,1654,2119,2001,1731,1723,2306,2522,2371,2286,2283,2469,2193,1646,1037,1321,2100,3097,2689,2094,2219,2851,2397,1710,1910,2211,2557,2520,2602,2855,2363,2170,2644,3341,3205,2961,2697,2441,2437,2309,2061,2015,1745,1512,2076,2773,2578,2012,1830,2236,2494,2548,2907,3065,2566,2595,3581,4108,3896,3649,3569,3606,3665,3747,3779,3561,3783,4046,3467,3293,3667,3549,3111,2924,2927,3029,3344,3632,3684,3684,3869,3963,3938,3696,3782,3854,3314,3838,3820,2645,2288,2098,2202,3585,4131,3875,3736,3640,3565,3052,2550,2457,2580,2580,2619,2349,2021,1547,1488,1691,1575,1416,1228,1605,2166,2181,2688,3255,3082,2805,2961,3046,2802,2326,2186,2714,2910,2314,2400,3308,3017,2254,2186,2733,2893,2562,2337,2332,3007,3098,2661,2647,2552,2479,2273,2025,1731,1957,2337,2449,2852,2770,2264,2941,3559,2757,2112,1738,2113,2991,3160,2509,2462,3047,2965,2901,3469,3012,2800,2646,2039,2580,2998,2964,3001,2099,1995,2392,2552,2909,2871,2248,1984,2106,2468,2325,2304,2115,1636,1758,2262,2190,1542,1339,1752,1862,2228,2536,2684,2822,2577,1989,1733,1760,1737,1653,1497,1657,1596,1968,2242,2270,2110,1734,1991,2128,1788,1876,2004,1537,1749,1521,1800,2344,2240,1805,1428,1205,1325,1717,1495,1327,1452,1486,1350,1355,1498,1713,1947,2040,2388,3190,3139,2172,2058,2119,1924,1532,1050,1903,2165,1720,1743,1618,2014,2209,2504,2999,2677,2434,3042,3074,3206,3020,2313,1511,1493,1788,1766,1714,1836,1899,2087,2746,3059,3627,4373,4541,4388,3397,2271,2241,2337,2031,2360,2645,2518,2744,2477,2566,3056,3142,3152,3099,2084,1867,2328,2174,2359,2489,2854,2846,2291,2056,1988,2149,2194,1584,1781,2009,2056,1944,1997,2068,2288,3166,3651,2751,2676,2335,2276,1932,1814,1725,1481,1574,1788,1832,2071,1839,1591,1839,2049,2302,2167,1790,2206,2383,2130,2156,2279,1824,1651,2022,2065,2618,2500,2401,2652,3031,2807,2347,2059,2048,2103,2244,2442,2721,2784,2734,2452,2571,2477,2570,2447,2271,1778,1542,1529,1262,1441,1882,1961,2040,2277,1850,1471,2023,2368,2570,2701,2695,2472,2211,2218,2343,2522,2390,2387,2460,2520,2436],[2810,2255,2072,2414,2380,2213,2266,2588,2396,2038,1892,1741,1895,2480,2688,2050,1934,2674,3012,2858,2533,2727,3140,3488,3464,3038,2888,2799,2465,2644,2503,2215,2403,2165,2133,2075,1764,1641,2196,2436,2237,1869,1312,1302,2050,2893,2879,2854,2796,2909,3002,2710,2435,2958,3605,3140,2590,2259,2429,2610,2730,2228,1918,2234,2292,2097,2098,2057,1312,1152,2382,2281,2214,1810,1258,1119,1628,2844,3640,3557,3319,3234,2630,1913,2133,2612,2954,2480,2228,2703,2906,2495,2523,3217,3830,3745,3142,2237,2450,2579,2460,2054,2021,1975,2171,2439,2384,2373,2142,2362,2558,2248,2596,3573,3161,2352,1803,1913,2235,2157,2413,2228,2192,2670,2713,3032,2455,2545,2978,2854,2774,2625,2755,3009,3209,3542,3665,3457,3189,3049,2563,2540,2618,2741,3160,3204,3256,3304,3318,2796,3228,3254,2125,2353,2991,2462,2073,2018,2424,2023,1798,2142,2176,2887,3608,3341,3205,2755,2025,2051,2900,3445,2563,1280,1313,1571,1648,1756,1722,1794,1815,1736,2298,2261,2042,2340,2733,2379,2693,2618,2186,2415,2457,2679,3017,2846,2644,2214,2248,1708,1814,2498,2683,2353,2314,1736,1723,2217,2211,2006,2110,2043,1886,2299,2408,1970,1812,2018,1835,1355,1709,1636,902,1458,2764,3094,2814,2307,2098,2191,1894,1567,1753,1776,1681,1911,2120,2031,1989,2199,2447,2273,2780,2500,2293,2588,2617,2502,2477,2036,1863,1851,2036,2724,1918,1803,2753,2172,1982,2070,2055,2426,2610,2512,2153,1859,1796,2222,2343,1722,2013,1928,2036,2217,2610,2523,2605,3010,2942,2712,2610,1850,1964,2248,1573,1271,1325,1894,2509,2655,2580,2488,2166,2125,2281,2177,2253,2345,2358,2587,2485,2676,2322,1770,1838,1949,1996,1734,1776,2029,2311,2631,2393,1764,1854,2277,2321,2144,1844,1864,1998,1883,1599,1757,1896,2104,2393,2165,1547,1677,2436,2396,1660,1763,2502,2408,2674,2654,2878,2510,1992,1918,2515,2845,3111,3204,3196,3095,3187,2805,2523,2279,1928,3087,3615,3106,3395,3840,3780,3790,3637,3050,2820,3271,3243,3237,3103,2223,1714,1877,2218,1938,2158,1990,1499,1719,1901,1997,1911,2102,2677,2533,2369,1803,1874,2549,2485,2111,2168,2326,2248,2121,2192,2260,2191,1936,1842,1877,1966,1952,1904,1796,1730,1871,1792,1681,1738,1915,1570,1579,1616,1437,1360,1443,1544,2361,2954,2148,1743,2048,2071,2175,1647,1801,1656,2216,2302,2015,2224,2080,1795,1780,1568,1627,1832,1707,1865,1772,1566,1648,1693,1746,1738,1524,1594,1670,1656,1654,1660,2150,2004,1653,1882,1781,2053,1765,1484,1520,1466,1736,1951,2142,2299,2181,2149,2114,1871,2007,2062,1874,1536,1199,1574,2010,2213,2209,2024,1764,1527,1287,1245,1570,2101,2067,2114,1886,1520,1642,1635,1584,1805,1602,1622,1224,1441,1641,1748,1639,1717,1957,2491,2930,2654,2272,2137,2088,2662,2522,2372,2512,2425,2313,2202,1864,1759,1481,1201,1581,2089,2268,1776,1663,2194,1866,1528,1449,1582,1604,2188,2707,2574,2383,2574,2531,2248,2281,2803,2540,2206,2297,2591,3118,3276,2801,1995,1713,2020,2287,1940,2680,2584,1809,1691,1575,1578,1566,1670,2099,2416,2360,2002,1857,2086,2702,2770,2933,2923,2775,2533,2428,2493,2696,3016,3129,3043,3392,3006,3182,2767,2103,2387,2345,2297,2636,2745,2899,2980,3296,3178,2506,2077,1850,1877,1840,1812,1748,1747,1767,1985,2569,2918,2807,2802,2366,2632,3120,3130,2993,2890,3120,3420,3702,3571,3112,2614,2710,2592,2376,2706,2929,3230,3186,3332,3200,3030,2965,2988,3130,4036,3940,2642,2821,3052,3852,4197,4014,3896,3762,3560,3249,2979,2544,2070,1919,2183,2459,2464,2740,3106,3443,4216,4605,4176,3649,3539,3398,2984,2423,1858,1780,1966,2032,1994,2010,2185,2483,2846,2930,2525,2184,2259,2397,2544,2241,2182,2420,2479,2298,2432,2856,2624,2136,2089,1937,1871,1843,1788,1860,2184,2720,2813,2867,2713,2454,2082,1614,1588,1661,1687,1751,2082,2003,1934,1930,1819,2502,3107,3099,2711,2340,2135,2172,2745,3076,2536,2147,1902,1881,2586,2925,2991,2923,2873,2785,1993,1805,2126,2352,2437,2278,1995,1795,2055,1950,1902,1763,1717,1781,1808,1762,1843,1931,1987,1859,1746,1744,2049,2359,2655,2349,2119,2348,2486,2029,1577,1560,2024,2566,2302,1908,1866,2552,2598,2385,2135,1856,1526,1748,2211,2403,1605,1296,1506,2547,3116,2633,2445,2320,2331,2257,2191,1971,1457,1117,1830,2218,1653,1234,1284,1424,2094,2398,2364,2188,2063,2073,2049,1944,2014,2092,1635,1950,3079,3635,3152,2933,2436,1950,1958,1781,1711,1661,2088,1830,1570,1518,1460,1434,1527,1468,1469,1426,1487,1584,1621,1700,1493,1395,1534,1613,1644,1494,1571,1638,1818,1656,1774,2153,1882,1753,1697,2038,2378,2110,1698,1519,1470,1397,1604,2402,3075,2354,1609,1730,1986,2012,2461,2017,1415,1259,1159,902,868,1635,2882,3191,3122,2896,2562,2576,2490,2513,2294,2031,2225,2282,2172,2280,2122,1289,1199,1655,1904,2162,2244,1980,2251,2580,2699,2807,3343,3386,2342,1599,1596,1910,2326,2072,2221,2270,2343,2767,2438,2217,2846,3316,2897,2576,3711,4046,3296,2020,1648,2264,2930,3387,3703,3081,2185,2065,2528,2799,2912,2675,2811,2425,1824,1518,1760,1806,1752,1664,1584,1538,2531,2817,1728,1800,2188,2288,1738,2116,2462,1835,1813,2186,2908,2849,2325,2243,2454,2708,3068,2843,2437,2663,2286,2071,2496,3206,3566,3695,3754,3687,3406,3522,3740,3107,2045,1800,2302,2630,2576,2658,2476,2494,2844,3233,3407,3323,3207,3189,3432,3448,3230,2604,2696,2261,2272,2799,2668,2641,3400,2758,1836,2166,2169,2746,2844,2373,2271,2248,2592,2939,3109,2652,2397,2789,2800,3342,2717,3500,2846,2283,2080,2182,2863,3462,3416,3437,3521,3637,4212,4384,4275,3795,3122,2307,2325,3269,3774,3416,3055,2561,2144,1999,2065,2551,2481,1799,1967,1976,1583,1941,2338,2129,2010,1792,1974,2205,2688,3859,4100,3320,3399,2944,2188,2665,2691,2191,2142,2286,2211,2150,2098,2278,2082,1992,2430,2323,1894,1870,1906,1898,1678,1805,2133,2263,1753,1955,2042,2333,2430,2181,1952,1958,2370,2374,1601,1377,2020,1957,1903,2309,2154,2146,2149,2074,1958,2290,2352,2147,1924,2273,2625,2566,2235,1886,1663,1942,1886,1616,1165,1494,2330,3003,3020,2332,2598,2733,2600,2416,2046,1835,1647,1745,1836,2898,4185,4696,4211,3539,3888,4423,4180,4271,4312,3826,3664,2931,2978,3231,3206,3129,2643,2297,1857,1837,1920,2328,2820,3376,4083,4239,3274,2487,1863,2447,3691,3846,3789,4120,3973,3828,3902,3830,3861,3820,3563,3484,3621,3704,3507,3589,3791,3429,3383,3516,3615,3487,3528,3544,3194,3419,3665,3189,2219,1835,1838,1744,1610,1651,1682,2064,2448,2942,2924,2131,1755,2487,3340,3645,3763,3451,2300,1638,1598,1646,2095,1982,2031,2790,3993,3738,3035,2969,2204,2072,2368,2852,2866,2102,2117,2874,3370,3603,3927,3835,3400,3452,3757,2848,1986,2015,1959,1866,2897,3461,2547,2250,2558,2678,2322,1997,2070,2282,2798,3269,2839,2396,2764,3061,2878,2387,2232,2278,2655,3272,3356,2374,1789,1723,2413,2847,3725,4232,4496,4099,3539,2955,2141,1693,2131,3255,3316,2347,2014,2197,2349,3059,3550,3660,3784,3391,2905,2788,2668,3107,2990,2795,2718,2611,2708,2584,2898,3283,3044,2798,3241,3072,2951,2955,3230,3018,2394,1901,1952,1917,1851,2340,2771,2934,2802,2263,2034,2625,3322,2474,1852,1375,1659,2479,2320,1851,2082,2529,2493,2470,2336,2337,2458,2178,1622,1394,1726,2322,2512,2451,2421,2359,2544,2531,2596,2799,2776,2689,2432,2590,2599,2284,2526,2729,2404,2153,2066,1792,1781,1914,1847,1875,1697,1656,1459,1922,2319,2260,2552,2500,2160,2578,2622,2919,3086,2670,2642,3559,4335,4507,4120,3615,3650,3776,3829,3969,3792,3926,4046,3628,3349,3604,3809,3628,3520,3565,3574,3808,4168,4081,3980,4412,4460,4085,3839,3740,3917,3771,3764,3141,2385,2182,1357,1373,2811,3448,3574,3539,3330,3006,2958,2562,2454,2847,2920,2398,1707,1638,1575,1838,2036,2016,2048,1876,1875,1914,1923,2565,3519,3675,2946,2887,3316,3152,2558,2178,2480,2863,2677,2478,2556,2502,2374,2900,3084,2366,1898,2054,2132,2065,2308,2294,2167,2387,2744,2656,1989,1969,2326,2144,2091,2408,2278,2097,2107,2385,2242,1777,1797,2185,2916,3222,3040,2573,2862,3074,2910,2853,2876,2890,2360,2231,2950,3005,2773,3037,2334,2404,2459,2390,2358,1912,1829,1967,1732,1933,2688,2908,2366,1771,1999,2526,2609,1765,1324,1684,2172,2139,1925,2337,2476,1884,1825,1671,1550,1774,1860,1716,1677,1713,2235,2564,2362,1727,1593,2052,2099,1764,1527,1560,1440,1529,1897,2009,1745,1730,1659,1612,1472,1477,1545,1434,1627,1541,1438,1296,1273,1449,1730,1879,2088,2286,2556,2505,1728,1669,1632,1623,1190,1273,1885,1810,1499,1407,1321,1584,2060,2059,2331,2519,3084,3480,3150,3247,2739,1935,1486,1608,1650,1738,1740,1639,1706,1820,2373,2630,3465,4572,4644,4185,3754,3317,2692,2265,2380,2302,2187,2341,2512,2100,2336,2912,3211,3230,3011,2196,2218,2328,2114,2491,2454,3022,2932,2348,1932,2038,2476,1651,1280,2031,2734,2500,2036,2025,2020,2169,2370,2871,2961,3016,2777,2440,1922,1691,1617,1457,1588,1729,1595,1682,1627,1594,1970,2230,2543,2363,1572,1364,1688,1714,1810,1981,1868,1857,1867,2219,2517,3101,3053,2853,2879,2666,2087,1949,2001,2226,2198,2436,2398,2492,2675,2723,2458,2420,2575,2642,2541,2060,1953,2049,1638,1591,2177,1904,1973,2273,1869,1499,1907,2147,2300,2755,2901,2797,2566,2396,2359,2485,2234,2589,2627,2364,2458],[1868,1448,1603,1969,2141,2073,2106,2258,2092,2143,2012,1970,2525,3151,3150,2357,2151,2499,2867,2964,3074,3320,3339,3682,3521,3175,3042,2755,2569,2648,2310,2226,2417,2285,2025,1755,1512,1415,2292,2411,2201,1778,1730,1737,3038,3488,2885,2339,1923,2148,2689,2181,2325,3023,3411,2723,2740,2490,2457,2395,2980,3133,2377,2554,3008,2460,2393,2418,1296,1057,1787,2216,2332,1832,1550,1268,1267,2156,2946,2893,2355,2315,2077,2104,2540,2424,2256,2291,2450,2666,2579,2539,2936,3083,3378,3916,3522,2555,2268,2487,2455,2177,2056,1990,2083,2083,2354,2548,2353,2503,2410,1991,2224,3017,3482,2934,2302,2216,2500,2743,2787,2184,2879,3265,2762,2512,1993,2357,2766,2663,2392,2346,2668,3021,3464,3850,3699,3450,3646,3894,3449,2943,2793,2732,2700,2408,2153,2531,3066,3364,3693,2935,1751,1840,2402,2222,1998,2444,2206,1687,1916,2129,2185,2350,3038,3366,2903,2003,1929,2509,3296,3505,3058,2061,1920,1914,1836,1790,1665,2020,2010,2043,2688,2479,2065,2439,2668,2266,2308,2408,2424,2764,2526,2701,3129,3501,2995,2521,2427,1901,2151,2800,2687,2658,2513,2020,1886,1908,1770,1910,2020,1796,1909,2309,2392,2036,1815,2061,2197,1807,1779,1666,1140,1083,2698,2919,2636,2228,1958,2100,2148,2142,2330,2189,1887,2268,2353,2054,1928,2387,2564,2504,2513,2343,2312,2741,2890,2631,2392,2216,2815,2759,2388,2356,1921,2115,2692,2584,2474,2139,2104,2336,2817,2619,2106,2355,1951,1958,2345,2026,2054,2171,1910,1685,2012,1793,1942,2565,2787,2464,2136,1743,1819,1938,1364,1148,1544,2190,2813,2668,2272,2626,2169,2281,2041,2161,2330,1793,1480,1830,2453,2521,2126,1791,1875,2448,2604,2009,2097,2013,2003,1725,1646,1960,2245,2057,2047,1933,1737,1854,1653,1301,1338,1528,1516,1849,2120,1713,1284,1884,2303,2009,1814,2259,2502,2723,2830,2583,2741,2303,1992,2152,2186,2501,3226,3287,3340,3458,3294,2442,2813,2300,2099,2988,3685,3504,3291,3488,3761,3583,3397,3514,3382,3531,3462,3188,3185,2245,2168,2608,2205,2011,2341,2004,1965,2153,2331,2403,1850,1763,2318,2398,2207,1842,1870,2026,2109,2025,1999,2019,1859,1819,2202,2451,2141,1728,1688,1737,1738,1613,1630,1820,1922,2021,2046,2058,1974,1807,1666,1643,1560,1336,1249,1481,1699,2346,2896,2061,1833,2103,2196,2326,1734,1426,1657,2299,2283,1816,1851,2062,1759,1481,1651,1799,1863,1905,1960,1618,1534,1688,1765,1643,1425,1533,1853,1651,1492,1738,2120,2266,1907,1632,1753,1407,1524,1823,1607,1817,1793,1959,2014,2114,2096,1953,1936,1961,1922,2297,2168,1791,1629,1354,1665,1647,1997,1959,1707,1686,1544,1287,1737,2104,2034,1913,2081,1929,1580,1593,1397,1346,1792,1672,1610,1693,2313,2449,2056,1324,1435,1706,2307,2696,2253,2249,2163,2158,2724,2523,2156,2543,2655,2281,2141,1871,1911,1615,1575,1937,2160,1941,1507,1398,1730,2180,2148,1816,1710,1918,2565,2928,3008,3060,3334,3275,2444,2155,2272,2427,2040,1838,2555,2912,2940,2331,1675,1620,1694,1989,2246,3253,3495,2858,2167,1877,1701,1510,1589,1539,1530,1708,1578,1573,2260,2690,2618,2686,3021,2897,2353,2276,2389,2524,2614,2681,2314,2764,2875,2988,2494,2212,2919,3111,3194,3411,3082,2673,2621,3009,3066,2463,1991,1908,1746,1717,1761,1798,1898,1871,2332,3268,3812,3341,3432,2785,3053,3652,3684,3426,3377,3356,3312,3271,3042,2930,2603,2619,2675,3054,3387,3453,3101,2845,2781,2652,2675,2943,2714,2633,3522,3686,2699,2885,3203,4048,4043,3692,3838,3630,3504,3527,3560,3419,2784,2053,2062,1745,1866,2338,2309,2655,3466,3580,3645,3736,3561,3241,2380,1714,1809,1987,1961,2082,2206,2237,2275,2389,2692,2778,2316,2162,2409,2402,2474,2407,2525,2551,2497,2496,2425,2857,2565,1814,2073,2073,2106,2106,2058,1864,2106,2630,2807,2849,2518,2232,1943,1760,1939,1919,1747,1708,1880,1674,1578,1731,1833,2190,2424,2330,2282,2332,2086,2194,2652,3032,2999,2441,1933,1867,1934,2100,2350,2274,2358,2280,2188,2231,2126,2018,1892,1981,1735,1759,1746,1403,1580,2075,1996,1753,1942,1782,1798,1693,1582,1903,2082,1965,2126,2645,2835,2414,2284,2419,2062,1489,1617,1735,1902,2045,1979,1839,2189,2671,2463,2131,1881,1649,1542,2045,2293,2116,1331,1351,1665,2977,3146,2949,2833,2576,2275,2304,2390,1865,1148,1561,2656,2324,1566,1532,1272,1398,1761,1998,2303,2264,2177,2103,2044,1909,2023,1830,1790,2888,3637,3184,2739,2152,1807,1797,1895,1801,1804,2163,2642,2588,1953,1544,1637,1638,1711,1947,1689,1385,1412,1607,1610,1596,1404,1385,1638,1900,1605,1245,1320,1648,1771,1598,1977,2170,1865,1637,1725,2000,2257,2050,1735,1765,1761,1778,1659,2197,2797,2175,1613,1776,2288,2730,2075,1012,741,795,849,911,1098,1505,2587,3134,3186,2688,2132,1930,2396,2660,2332,2378,2440,2300,2132,2407,2243,1575,1868,1948,2012,2154,1990,2319,3240,3585,3382,2688,2463,2375,2027,1763,2009,2494,2118,1636,1749,1813,2361,2821,2499,2532,2999,2924,2625,2705,2897,3036,2489,1780,2186,3183,3166,2895,3078,2822,2346,2059,2482,2389,2730,2390,2996,2842,2182,1681,1609,1710,1706,1793,1770,1690,2922,3006,2113,2342,2403,2310,1726,2450,2344,1770,1896,2216,2499,2299,1959,2172,2195,1970,2765,2834,2783,2887,2684,2209,2007,2380,3224,3903,3870,3464,3052,3231,3386,2508,1855,1922,2578,2454,2422,2574,2496,2567,2889,3329,3619,3750,3567,3427,3344,3430,3238,2800,2406,2712,3296,3774,3846,3285,2802,2124,1630,1831,1981,2221,3141,3482,2777,2041,2111,2655,3388,2924,3389,3962,3398,3018,1965,2775,3375,2607,1996,2194,2320,2976,3423,3396,3441,3437,3974,4051,3525,3111,3477,3112,2285,2634,3504,3893,3728,3263,2906,2547,2349,2784,2674,2615,2536,2234,2172,2473,2352,2445,2299,1686,2121,2330,2233,2859,3737,3487,2939,2706,2377,2750,3167,2800,2074,1982,2274,2118,2091,3078,2631,1902,2388,2482,2457,2285,2008,2383,2103,1850,1749,1875,1556,2004,1792,1718,1929,1714,1284,1203,1808,2108,1465,1124,1493,2135,2447,2722,2426,2142,2123,1807,2244,2468,2121,2226,2514,2896,3260,2929,2140,1920,1944,1749,1771,1708,1647,2285,3010,3308,3069,2264,2653,3364,3421,3226,2668,2526,2311,2051,2562,3181,3672,4312,4580,4160,3685,4123,4200,4271,4320,3971,3325,3221,3409,3146,3240,3496,2917,2328,1928,1890,1917,2481,3396,3915,4013,4111,4187,3493,2281,2054,2994,3747,3747,4266,4210,3894,3905,3991,4005,3895,3647,3547,3692,3798,3465,3273,3439,3465,3426,3409,3486,3450,3586,3717,3163,2856,3235,2932,1873,1899,1746,1602,1551,1814,1970,2499,3252,3196,2564,2087,1718,2044,2900,3250,3338,2790,2402,2230,2081,1951,1887,1963,2132,2764,3797,3043,2331,2562,2400,1937,2061,2285,2610,2805,3145,3180,3216,3629,4148,3969,3405,3129,2894,2465,2313,2536,2574,2207,2520,3053,3062,2708,2624,2222,1777,1853,2460,2855,2815,3193,3122,2653,2535,2285,1966,2085,2263,1908,2447,2879,2467,1649,1502,1919,2325,2938,3908,4464,4520,4341,3750,3044,2520,2322,1875,2503,3212,2457,2153,2288,2378,3215,3991,3803,3385,3504,3498,3363,2573,2834,2800,2222,1902,2102,2392,2555,2812,3538,3648,3290,3296,2856,2424,2478,2978,3155,3133,2808,2416,2278,2585,2726,2625,2994,2976,2832,2665,2902,2768,1825,1477,1625,2207,2599,2276,1944,2155,2340,2171,3038,2380,2431,2693,1959,1504,1901,2441,2554,2171,2531,2912,2710,2587,2601,2535,2304,2304,2309,2261,2209,2311,2229,2359,2162,1702,1845,2143,1894,1975,1932,1630,1454,1366,1378,1202,1378,1883,2343,2862,2834,2209,3274,3279,3530,3488,3019,2988,3481,4123,4553,4329,3853,3808,3862,4086,4058,3965,3949,4047,4085,3797,3570,3682,3949,3876,3916,4062,4196,4265,4183,4062,4556,4422,3786,3899,4349,4184,4151,4256,3167,2120,2155,1810,1575,2136,3094,3655,3714,3482,3429,3349,2814,2793,3784,3703,2966,2094,2113,2145,2266,2041,1951,1860,1854,2038,2165,2219,2285,2674,3410,3085,2946,3021,3344,3146,2486,2393,2532,2393,2310,2639,3106,2733,2753,2510,1769,1914,2192,1713,1681,2272,2192,1976,2351,2397,2428,2026,2456,2746,2501,2423,2272,2054,2048,1790,1571,1546,1682,1892,2112,3229,3245,2566,2467,2666,2788,2475,2203,2587,2567,2162,2213,2622,2677,2598,2607,2381,2320,2149,1981,1938,1717,2083,1958,1168,1733,2792,3196,2487,2167,2902,3454,3099,2049,1399,1665,2261,2086,1715,2332,2819,2047,1784,1802,1763,2259,2338,2019,1642,1593,1871,2048,1886,1299,1295,1504,1533,1593,1481,1539,1484,1487,2017,2111,1747,1514,1392,1500,1438,1323,1368,1463,1764,1764,1501,1385,1331,1337,1508,1677,1903,2049,2046,1852,1576,1461,1296,1310,1226,1526,1878,1745,1499,1418,1319,1561,1736,1827,2231,2339,3034,3515,3521,3298,2380,1722,1746,1804,1885,2317,1812,1411,1476,1879,2241,2851,3266,3862,3804,3116,3308,4054,3229,2054,2504,2225,2194,2238,2293,2058,2009,2263,2663,2942,2976,3085,3079,2261,1737,1964,1832,2102,2543,2068,1610,1774,1638,1098,1303,2277,3007,2576,2156,2114,2182,2429,2818,3482,3765,3316,2656,2197,1823,1617,1636,1543,1619,1551,1579,1678,1628,1757,1911,1990,1947,1782,1435,1333,1547,1568,1521,1529,1561,1863,2072,2423,2674,3098,3125,2987,2823,2060,1870,2286,2203,2544,2198,2320,2144,2044,2325,2314,1964,1973,2091,2305,2358,2213,2468,2320,1764,2071,2360,2042,2393,2143,1583,1773,2091,2120,2231,2390,2790,2798,2695,2380,2622,2619,2459,2470,2437,2245,2158],[1284,1461,1682,2050,2448,2229,2136,2238,1975,2320,2203,2103,3046,3306,2924,2341,2195,2553,2940,3153,3430,3262,2944,3317,3450,3338,2978,2732,2718,2642,2620,2642,2331,2085,2108,2228,2209,1909,1772,1828,1949,1943,2208,2373,3316,3747,3308,2853,2486,2968,3298,2784,2803,2939,3072,2634,2494,2439,2438,2311,2678,2600,1904,2205,2809,2520,2464,2568,1691,1673,1939,2042,2293,2058,1793,1875,1847,2172,2154,1951,1977,2229,2194,2346,2502,2205,2033,2200,2443,2642,2699,3191,3505,3429,3112,3341,2810,2159,2033,2792,2810,1952,1855,2212,1896,2149,2460,2387,2254,2050,2200,2310,2318,2501,3172,2950,2137,2185,2526,2609,2731,2775,3461,2955,2310,2110,2158,2299,2469,2447,2399,2634,2834,3097,3631,3681,3636,3253,3278,3570,3366,3029,2866,3060,3296,3062,2648,2485,2424,2923,3404,2955,1766,2082,2841,2482,2220,2347,1913,1787,2223,2408,2119,1906,2666,2751,2358,2075,2224,3155,3352,3209,3112,2824,2982,2019,1882,1864,1743,2060,1909,1957,2623,2468,2048,2491,2657,2046,2124,2159,2092,2463,2437,2498,2813,3220,2865,2530,2719,2260,1909,2393,2640,2547,2343,1753,1712,1556,1454,1598,1737,1884,2212,2348,2108,2138,2304,2137,2382,2322,1947,2004,1748,1127,1742,2291,2070,1845,1856,1869,2129,2108,2072,2061,2175,2564,2403,2333,2452,2436,2359,2857,2973,2217,2179,2952,3050,2430,2389,2185,2207,2831,2768,2280,2002,1812,1822,2505,2732,2343,2294,2436,2106,2023,2173,2431,2564,2490,2069,1998,1997,1946,1456,1209,1626,1590,1951,2260,2292,2159,1722,1598,1978,2266,1601,1235,1630,2218,2730,2498,2036,1951,1843,2110,2178,2718,2723,2210,1613,1729,2157,1860,1704,1673,1678,2217,2066,2270,2235,2155,1984,1502,1600,1869,1923,1975,1917,1715,2107,2002,1750,1642,1499,1259,1133,1502,1679,1294,1506,2211,2256,1856,1304,1867,2226,2972,2908,2670,2543,2300,2421,2743,2236,2413,3372,3263,3253,3281,2988,2334,2309,2042,1863,2470,3295,3470,3433,3287,3529,3536,3576,3657,2845,3088,3404,3327,2896,2213,2158,1766,1438,2106,2191,1759,1953,2172,2019,2291,1936,1656,2000,2204,2151,2063,1944,2000,2314,2237,2136,2073,2112,1935,2593,2807,2194,1677,1685,1966,1987,1588,1447,1486,1758,1953,1912,2104,2194,2158,2068,1828,1652,1551,1390,1484,1710,2363,3072,2069,1877,2156,2413,2278,1728,1523,1865,2303,2200,1792,2016,1885,1926,1696,1675,2094,2298,2464,1969,1459,1662,1837,1752,1669,1483,1627,1882,1525,1434,1671,1744,1562,1478,1437,1748,1753,1824,2399,2253,2154,2002,1925,1869,1801,1797,1679,1772,1748,1944,2418,2282,1937,1772,1570,1750,1816,1838,1897,1810,1726,1476,1339,1595,1846,1985,1967,2265,2293,1842,1571,1366,1544,1740,1794,1721,1957,2358,2389,1962,1559,1761,1802,1739,1892,2404,2614,2187,2383,3045,3012,2491,2512,2803,2410,1858,1837,1776,1714,1946,1736,1898,1844,1465,1443,1973,2463,1978,1638,1727,1931,2060,2119,2521,3259,3349,3066,2186,1603,1882,2183,1788,1644,1888,2242,2254,2014,2062,2115,1920,1824,2604,3686,4091,4104,3806,3258,2846,2730,2345,1974,1807,1566,1512,1716,2654,2744,2486,3039,3294,3057,2452,2188,2330,2495,2697,2353,1991,2580,2924,2674,2236,2580,3106,3063,3251,3233,2598,2110,2610,2746,2601,2629,2391,1995,1854,1939,1875,1932,2072,1899,2530,2880,3183,3319,3606,3930,3977,3980,3967,3968,3929,3625,3398,3183,2931,3370,3108,2897,2831,3259,3150,3077,2884,2415,2174,1987,1968,2246,2397,2663,2950,3027,2893,3382,3720,4060,3608,3271,3577,3598,3448,2675,3198,3797,3361,2469,2470,1999,1592,1914,2176,2391,2869,3272,4036,3892,3010,2185,1690,1788,1918,1895,1794,1930,2224,2262,2062,2054,2145,2372,2534,2634,2736,2872,3111,3345,3435,3144,2756,2595,2696,3078,2824,2235,2492,2462,2468,2409,2398,1985,2059,2380,2302,2187,2216,2248,2135,2112,2221,2237,1998,2400,2024,1576,1598,2226,2856,3188,3272,3088,2916,2545,2309,2403,2801,3087,3140,2513,1948,1909,1901,1993,1978,1750,2356,2441,2532,2624,2613,2395,2453,2230,1967,2056,1886,1453,1719,2062,1960,2104,2057,1735,1764,1587,1593,1781,1963,2002,1984,2133,2279,2153,2248,2486,1868,1565,2078,1929,1801,1725,1726,1974,2623,2570,2229,2062,1835,1685,1536,1820,2090,1526,1228,1482,2376,3110,2400,2284,2695,2901,2662,2146,2139,1797,1538,2142,2284,1536,1156,1128,865,862,964,1270,1676,2134,2291,2236,2093,1996,1800,1642,2280,3221,3173,2977,2250,1613,1700,1721,1668,1710,1960,1958,2045,2409,2176,1834,1754,1630,1591,1889,1629,1401,1350,1567,1542,1427,1455,1449,1529,1552,1342,1321,1466,1605,1550,1563,1684,1888,1716,1484,1810,1904,1913,1897,2043,2114,2454,2577,2097,2386,2698,2169,1466,1654,2128,2198,1335,873,1172,1223,1335,1677,2129,2219,2790,3195,3205,2830,2553,2568,2829,2501,2137,2372,2532,2518,2347,2056,2179,2220,2289,1761,1837,2018,2061,2634,2622,2648,3294,2809,2442,2375,2281,2245,2371,2417,1903,1781,1936,1789,2175,2711,2482,2399,2698,2778,2608,2884,2556,2802,2532,1990,2702,3426,2868,2790,3124,2768,2219,2382,2596,2655,2590,2413,3318,3194,2285,1747,1554,1569,1604,1712,1930,1829,2580,2850,2320,2449,2730,2460,1802,2026,2098,1697,1782,2128,2534,2394,1978,2301,2564,2790,3272,2921,2676,2765,2604,2416,1983,1952,2688,3719,3864,3032,2607,2974,2780,2000,1660,2286,2624,2433,2476,2370,2454,2566,2768,3115,3389,3588,3396,3363,3488,3297,3250,3052,2476,2971,3691,4295,4132,3594,2886,2066,1793,1590,1912,2350,3145,4059,3515,2357,2288,2740,3172,2746,3850,4308,4148,3438,2529,2247,2890,3284,2370,2070,1978,2325,3276,3411,3288,3377,3660,3863,3265,3271,3852,3172,2341,2187,2558,3558,3786,3821,3518,3050,2776,1958,1806,2427,2490,2405,2692,2625,1902,2142,2432,2402,2206,2352,2828,3074,3174,2850,2818,3111,2780,2558,2768,2193,1628,1535,2235,2613,2666,2664,1892,1779,2323,2636,3116,2690,2082,2192,2223,2233,2303,1734,1396,2227,2361,1963,2178,1983,1602,1369,2035,1766,1317,1234,1556,2080,2203,2614,1925,1041,1279,2210,3276,3068,2813,2533,2712,2915,3205,3296,2586,2302,2206,2074,2480,2499,1691,1915,3009,3002,2483,1867,2354,2885,3274,3165,2375,2422,2198,2225,3332,3837,3544,3793,4441,4496,4240,4263,4167,4239,4272,3780,3300,3408,3370,3329,3392,3518,2792,2453,2194,1972,2229,2849,3458,3946,3882,3863,4324,3820,2778,2464,1946,2972,3818,3961,3906,3833,3798,3838,3834,3883,3763,3610,3460,3528,3472,3486,3484,3563,3375,3397,3510,3463,3554,3432,2981,2612,2645,2897,2648,2153,2059,2492,2536,2157,2576,3665,4060,3716,2993,2285,2115,1943,2780,3030,2852,2110,1826,1951,2007,2075,2070,1857,2126,2563,2711,2247,2390,2161,1969,1772,1828,1958,2442,3105,3226,3304,3334,3439,4061,4074,3438,2695,2089,2118,1762,2046,2671,2359,2005,2497,2854,2448,2492,1798,1288,1338,2492,3015,2655,2844,3198,2981,2314,1677,1550,2095,2420,2404,2217,2419,2526,2180,2404,2604,2571,2723,3451,4379,4220,3980,3548,2451,2543,2470,1766,1808,2365,2501,2392,2419,2964,3440,3679,3646,3672,3961,3896,3414,2706,2591,2714,2793,2976,2797,2592,2312,2657,3480,3849,3530,2822,2945,2855,2479,2615,2722,2756,2484,1913,1747,2336,2316,2315,2789,2802,2746,2513,2171,1734,1454,1820,2348,2620,2308,1994,1898,2173,2154,1931,2519,2386,2445,2880,2429,2119,2260,2354,2954,3219,2905,2756,2416,2070,2096,2040,2018,2310,2547,2200,2439,2842,2240,2390,2102,2265,2435,2352,1837,1773,1874,1804,1919,1946,1831,1868,1780,1985,2296,2423,2324,2063,3427,3162,3123,3284,3062,3187,3855,4508,4492,4364,3885,3739,3874,4052,3936,3947,3914,3991,4008,4016,3673,3403,3848,3890,4028,4139,4198,4426,4242,4123,4594,4316,3664,3984,4467,4535,4594,4595,3833,2534,2165,2100,1815,1886,2708,3441,3547,3494,3472,3320,3062,2692,3309,3352,2900,2301,2093,1857,1753,1809,1958,2062,2036,2062,1987,2132,1975,1875,2587,3250,3189,2719,2961,2890,2425,2471,2352,2020,2036,2525,3361,3019,2329,2017,1565,1872,2776,2886,2441,2591,2381,2306,2492,2183,2290,2274,2557,2530,2249,2182,1965,1888,2083,1787,1358,1216,1172,1491,2286,3077,2746,2138,2291,2646,2633,2166,1954,2121,1935,1555,1671,2068,2157,2036,2138,2060,2013,1980,2061,2004,2096,2424,2365,1928,2378,2176,2266,2358,2824,3266,3205,2647,1719,1416,1915,2045,2030,2138,2235,2294,2385,2380,2255,2066,2000,2127,2105,1705,1485,1737,2200,2141,1446,1372,1497,1758,1883,1904,1783,1550,1508,1666,1912,1814,1550,1348,1418,1390,1382,1394,1354,1859,2030,1638,1447,1449,1495,1426,1475,1925,1984,2092,1936,1770,1579,1510,1495,1552,1713,1853,1995,1734,1539,1489,1564,1568,2046,1976,2132,3198,3619,3547,3151,2139,1747,1714,1747,2059,2132,1772,1643,1578,1813,2338,2865,2880,3045,3173,2629,2222,2656,2402,2032,2339,1991,2030,1787,1945,1831,1614,1821,1859,1871,2575,3030,2749,1919,1820,1810,1690,1743,1839,1780,1694,1698,1646,1518,1899,2498,2388,2353,2180,2161,2407,2906,3210,3499,3742,3019,1953,1810,1854,1617,1499,1720,1693,1985,1990,1791,1621,1922,2204,1779,1660,1703,1830,1978,1805,1710,1516,1593,1870,1945,1950,2107,2608,3299,3355,3366,3128,2276,2514,1963,2331,2347,2486,2467,2141,2073,2314,2254,1974,1775,1748,1929,2303,2308,2278,2138,2060,2296,2333,2476,2945,2619,2076,2106,2235,1898,2231,1876,2396,2810,2709,2497,2622,2596,2404,2147,2307,2406,2400],[1490,1481,1871,2204,2482,2066,1962,2176,2245,2655,2874,2648,2720,2844,2546,2202,2519,2839,3199,3608,3886,3243,2968,2973,3234,3449,3197,3088,3307,3264,2676,2243,2137,2046,2379,2777,2866,2420,1830,2189,2178,2166,2337,2414,3277,3877,3583,3243,3129,3498,3465,3142,2876,2710,2489,1803,1562,2168,2459,2284,1770,1299,1004,1301,1858,2005,2613,2872,2127,2371,2758,2539,2720,2390,2779,3739,3539,2750,2018,2020,2512,2590,2362,2228,2206,2186,2315,2271,2282,2229,2463,2975,3399,3176,3018,2590,2046,2110,2172,2401,2526,1842,1771,2321,2187,2570,2513,2392,2260,2128,2387,2185,2042,2978,3301,2523,2485,2601,1863,2006,2640,2835,2921,2348,1998,2300,2712,2867,2728,2575,2585,2741,2973,3496,4100,3748,2941,2777,2828,3160,3264,2988,2800,2938,3116,3370,3662,3293,2505,2263,2567,2930,2501,2854,3034,2390,2381,2231,1807,1872,2280,2315,2248,2029,2226,2149,2171,2181,2610,3304,3174,3055,3130,2595,2637,2049,1939,1865,1829,1802,1575,1698,2458,2388,1961,2686,2893,2166,2343,2030,2363,2570,2640,3271,3602,3686,2957,2335,2587,2107,1946,2426,2416,2431,2335,1705,1685,1641,1636,1677,1817,2031,2194,2234,2081,2480,2576,2016,2025,1378,1562,2687,2332,1575,1943,2466,2070,2154,2333,1759,1832,1987,2121,2792,3013,2763,2553,2260,2141,2171,2417,2767,2574,1974,1972,2281,2522,2191,2227,2670,1878,1347,1964,2140,1750,1570,1842,2431,2481,2491,2499,3069,2156,2287,2359,2261,2807,2589,2144,2123,1666,1860,1769,1875,2499,2272,1989,2271,2556,2237,1794,1620,1850,1690,1081,1337,2264,2400,1655,1658,2073,2114,1897,1891,2238,2321,2475,2371,1991,1685,2025,2024,1916,1784,1760,1681,1869,2000,1979,2378,2006,1514,1593,1929,1994,2309,1783,1824,1866,1663,1582,1787,1652,1276,1766,2604,2282,1355,1889,2200,2094,1707,930,1134,2119,2653,2640,2534,2381,2247,2308,2381,1823,2241,3575,3740,3333,2977,2678,2246,2420,2411,1680,1818,2866,3288,3140,3124,3550,3650,3693,3271,2702,2810,3250,3091,2432,2252,2331,1949,1947,2247,2042,1793,2014,2383,2114,2168,2107,2029,2034,1905,1792,1642,1642,2000,2234,2272,2180,2722,2815,2202,2791,3516,2806,1736,1945,2037,1982,1408,1435,1529,1543,1431,1439,1701,1893,1884,1937,2050,1983,1793,1671,1578,1720,2641,3177,2074,1915,2289,2447,2192,1587,1565,1677,2432,2522,2059,2482,2272,2084,1663,1705,2782,3051,2341,1826,1567,1771,1738,1541,1874,1969,1887,1765,1552,1518,1660,1637,1581,1703,1973,2535,2291,2271,2330,2198,2007,1930,2109,1952,1976,2032,1765,1675,1707,1816,1808,1893,2158,2273,1920,1685,2062,2509,2241,1717,1649,1464,1375,1373,1797,2012,1950,2191,2231,1988,1514,1391,1622,1680,1689,1816,2004,2242,2093,2039,2449,2433,2372,1983,1629,2432,2447,1965,1991,2632,3227,2944,2211,2080,1762,1945,2055,1706,1902,2157,1696,1861,1750,1368,1503,2069,2345,1678,1815,2008,1875,1785,2175,2354,2595,2911,2788,2080,1790,2135,2202,2386,1925,1951,2645,2103,1934,2279,2278,2105,1997,2614,3544,4141,4140,4121,4036,3915,3940,3794,3616,3144,2786,2459,2677,3432,3135,2944,2975,2890,2888,2521,2268,2762,3117,3284,2918,2701,2946,3178,2766,2248,2707,3003,3140,3263,3005,2410,2167,2643,2796,2753,3021,2898,2468,2413,2404,2308,2281,2272,2514,3174,2977,2857,3462,4057,4181,4007,3933,4018,4257,4096,3875,3732,3485,3487,3632,3300,3260,2981,2938,3089,2758,2213,2260,1876,1723,1758,1814,1888,2026,2028,2076,2252,2966,3664,3661,3082,3043,3252,3487,3235,2779,2933,2955,3002,2602,2458,2017,1425,1760,1973,1792,2524,3654,3834,2829,1771,1421,1565,1692,1770,1592,1394,1576,2083,2254,2029,2053,1937,2522,2753,2742,2796,2880,3003,3163,3337,3288,3045,2889,2901,2588,2697,2520,2684,2469,2097,1932,2045,2179,2264,2308,2277,2513,2724,2566,2438,2578,2795,2923,2599,2564,2116,1879,2227,2878,3304,3654,3673,3602,3475,3431,2582,2248,2516,2636,2906,2614,2040,1997,2084,1811,1927,2039,2790,2807,2735,2736,2620,2692,2676,2808,2910,2657,2057,1506,1718,1687,1565,1835,2074,2052,1938,1886,1719,1697,1876,2126,2319,2226,2182,2225,2019,1977,1626,1997,2303,2319,2132,1841,1801,2270,3010,2179,1970,2078,1866,1598,1858,1903,1597,1292,1373,1788,2879,2735,2016,2338,2504,2602,2618,2270,2198,1986,2013,2266,1865,1108,958,1071,1030,883,827,993,1239,1608,2027,2230,2200,1876,1681,2136,2869,3056,3309,3083,1746,1798,1806,1943,1660,1653,1881,1990,2104,2000,1981,1808,1531,1684,1528,1569,1467,1574,1515,1639,1670,1529,1486,1468,1479,1448,1331,1385,1469,1525,1481,1554,1544,1602,1496,1585,1855,1866,1864,1997,1953,1708,2208,2184,2140,2233,2337,1968,1735,2076,2084,1807,1655,1801,2403,3072,3085,3468,3750,3238,2894,2752,2551,2438,2449,2406,1946,1967,2370,2400,2229,1903,2146,2485,2625,2325,2058,1758,1991,2119,2112,1861,1533,2268,3226,3176,2988,3144,2768,2674,2457,2008,1864,2065,2039,1866,2206,2664,2577,2114,2341,2749,3078,3266,3106,3040,2566,2219,3107,3144,2756,3472,3710,3400,2476,2160,2139,2489,2622,2717,3001,2833,2279,1830,1820,1605,1560,1587,1552,1598,1671,1936,2453,2635,2906,2568,2104,2262,2341,1676,2110,1946,2372,2766,2362,2069,2644,3054,3269,2902,2402,2608,2251,1885,1858,1862,2099,2809,3164,2707,2401,2495,2236,1736,1820,2389,2589,2555,2545,2509,2496,2620,2842,2967,3256,3405,3437,3655,3639,2931,2933,3292,2907,3088,3408,3989,3217,2601,3221,2792,2162,2521,3146,3417,3958,4500,4312,3742,3107,2931,2502,2863,3925,4163,4239,3574,2525,2154,2168,3130,3078,1764,1920,2458,3452,3496,3299,3448,3376,3135,3194,3413,3370,2780,2088,2135,2123,2996,3582,3920,3563,3376,2757,1851,2231,2828,2739,2166,2073,2357,2287,2074,2202,2194,2122,2437,2901,2769,2340,2686,3197,2740,1858,1525,1942,1845,2005,2123,2563,2717,2614,2342,2104,2355,2178,2246,2502,2129,2082,2104,2069,2253,2589,2331,2051,2360,2336,1959,2312,2080,1934,1991,2603,1876,1610,2137,2299,1966,1622,2098,2159,1593,1628,2525,2831,2446,2998,2699,2259,2177,2547,2923,2685,2198,2415,2752,2526,2429,1663,1826,2552,2534,2157,2251,2724,2770,2700,2223,2030,2265,2039,2271,3101,3649,3805,3768,4079,4387,4429,4264,4135,4264,4283,3903,3142,3020,3010,3090,3000,3085,2710,2676,2547,2438,2792,3187,3529,3907,3860,3982,4187,3737,3177,3231,2247,2519,3438,3562,3474,3693,3646,3456,3483,3424,3554,3877,3548,3364,3501,3509,3407,3366,3397,3510,3470,3437,3561,3655,3575,3041,2767,3034,3359,2995,2239,2836,3308,2586,2687,3953,4233,3741,3499,2722,2580,1968,2068,2736,2367,1426,1637,2132,2041,1946,1593,1328,1922,2287,2024,1736,1927,2274,2177,1713,1526,1491,2313,2999,2706,2842,3020,3569,3883,3399,2675,1997,1977,2272,1918,1779,2220,2158,1856,2128,1805,1797,2695,2398,1622,1641,2502,3127,3061,2975,3128,2788,2511,2154,2003,2249,2295,2180,1725,2272,2988,2950,2885,2962,3178,3078,3124,3774,3825,4119,4014,3207,3603,3358,2563,2131,2375,3283,3227,2499,2924,3142,3484,3768,3957,4012,3906,3255,2427,2359,2558,3043,3061,2598,2351,1571,2577,3205,3438,3327,3163,3411,2902,2451,2454,2366,2235,2099,1708,1642,1997,1858,2017,2203,2298,2374,2010,1848,1913,1866,2401,2320,2421,2108,2000,1787,2086,2375,2492,2387,2245,2174,2608,2608,2102,2001,1845,2111,2079,2068,2229,2023,2216,2371,2353,2359,2483,2791,2645,2621,2973,2177,2419,2011,2163,2128,1862,1760,1750,1867,1839,1798,2122,2131,2014,1822,1911,1957,2383,2601,2034,2291,2383,2296,2170,2094,2544,3694,4640,4496,4320,3828,3835,4036,3906,3746,3737,3751,3915,4112,4143,3993,3716,3797,3963,4149,4308,4439,4551,4450,4316,4471,4271,3945,4080,4358,4872,4928,4560,4235,3117,2364,2160,1989,1784,2141,3075,3627,3674,3581,3344,3173,2745,2800,2613,2092,1843,1792,1652,1725,1779,1882,2030,1856,1995,2102,2210,2047,1934,2100,2499,2809,2690,2507,2654,2952,2877,2590,2244,2247,2806,3374,2878,1940,1563,1639,1785,2480,3120,2706,2315,2500,2493,2453,2175,2670,2609,2507,2450,2129,2027,2166,2286,2502,2058,1566,1530,1462,1816,2585,2756,2416,2150,2097,2449,2420,2150,2084,1954,1490,898,1324,2077,2094,1805,1781,1883,1843,1813,1743,1403,1850,2230,2174,2120,1949,1984,2089,2886,3384,2476,2086,2271,1908,2080,2352,2080,2405,2288,1931,1839,2404,2280,2020,1903,1852,2180,1816,1774,2347,2563,2672,2199,1797,1700,1732,1888,1920,2067,1902,1549,1343,1516,2178,1971,1411,1289,1366,1464,1610,1416,1436,1737,1663,1469,1587,1573,1491,1030,997,1821,2050,2049,2133,2093,1806,1665,1581,1608,1734,1832,1884,1399,1448,1644,1518,1554,1704,1616,1994,2882,3260,3220,2618,1792,1750,1805,1727,1834,1736,1666,1774,1623,1819,2482,2529,2230,2291,2735,2569,1974,1744,1695,1833,2072,2218,1923,1448,1543,1621,1531,1725,2144,2014,2229,2261,1945,1959,2460,2537,1976,1621,1759,1973,1848,1744,1750,1783,1870,2461,2172,2034,2023,2025,2193,2740,3131,3288,3530,3168,2520,1895,1756,1530,1503,1827,1996,2139,1851,1908,1802,1952,2249,1833,2115,2054,1965,1809,1563,1625,1568,1759,1761,1606,1631,1634,2353,3518,3273,3130,2995,2467,2148,2023,2445,2454,2356,2079,2260,2809,2814,2304,2228,1926,1604,1934,2638,2060,1588,1805,2132,2108,1935,2337,2692,2878,2786,2479,2317,1990,2291,2220,2322,2280,2347,2520,2361,2555,2544,2467,2831,2557,2431],[2172,2049,2264,2249,2366,1874,1924,2420,2809,3100,3055,2810,3010,3006,2691,2424,2526,3117,3410,3260,3499,3694,3250,2449,3002,3873,3786,3631,3705,3271,2173,2016,2378,2087,2588,2814,2756,2400,1893,1898,2103,2113,1798,2110,3523,3673,2869,2479,2417,3084,3566,3309,2946,2758,2114,1014,1212,1936,2448,2438,1848,1738,1257,1399,2036,2436,2886,2952,2362,2359,3016,2987,3060,2846,3270,3519,3435,2944,2303,2279,2675,2862,2698,2350,2169,2034,2500,2092,1742,1788,2216,2192,2367,2353,2424,2362,2345,2432,2322,2065,1928,1979,2610,2846,2463,2454,2335,2296,2281,2471,2490,2113,2789,3686,3024,2845,2639,1697,1502,1957,2486,2440,2504,2490,2536,2778,2990,2887,2636,2666,3010,3165,3497,3864,4052,3318,2546,2379,2306,2518,2807,2791,2502,2409,2614,3174,3760,3198,2699,2692,2438,2392,2329,2579,2642,2289,2703,2224,2243,2073,1916,2144,2270,2370,2110,2039,2236,2603,3410,3623,3175,2706,2486,1984,1903,2249,1895,1742,1828,1715,1570,1714,2277,2190,1903,2872,2846,2218,2162,1845,1959,2039,2684,3776,4012,3554,2673,2601,2452,1988,2216,2375,2276,2398,2171,1644,1631,1679,1736,1763,1842,1786,1873,2128,2166,2544,2428,1919,2026,1686,1550,2432,2663,2400,2792,3310,2834,2489,1629,1139,1483,1792,2332,3583,3676,3161,2864,2586,2175,2409,3044,2599,2276,2119,2051,2009,2062,2166,2211,2235,1436,956,1568,1954,1730,1537,1947,2840,2632,2321,2358,2783,2644,3263,2900,1863,2139,1763,1553,1892,1950,2197,2333,2146,2765,2608,2217,2634,2674,2102,1860,1904,1720,1184,1347,1855,2386,2822,2359,2185,2366,2109,1788,2057,1995,1903,2017,1286,1289,1531,1987,1868,1989,2343,2305,2093,2348,1877,1305,1982,1970,1656,1552,1936,1892,1969,1733,1607,1658,1747,1990,2277,1920,1851,2450,2593,2298,1507,1940,1972,1982,1611,1063,1333,2097,2281,2389,2680,2311,2329,2414,2294,2089,2125,3503,4006,3375,2964,2680,2544,2645,2554,2271,2377,2666,3168,3219,2787,3062,3043,2743,2385,2110,2226,2498,2264,2140,2080,2486,2409,2064,2173,2066,1900,2075,2218,2083,1932,1739,1506,1799,2155,1852,1958,2135,2117,2148,2238,2200,2408,2466,2135,2376,3186,2731,1670,1910,2251,1873,1081,1313,1704,1588,1223,1368,1693,1526,1660,1825,1951,2023,1997,2050,1776,1609,2311,2709,1979,1881,2170,2253,2132,1564,1835,1953,2405,2400,2011,1918,1814,1658,1619,1852,2591,3318,2247,1471,1550,1582,1631,1705,1925,1952,1924,1830,1586,1461,1638,1708,1850,2022,2215,2578,2200,2049,1838,1799,1770,1849,2062,2074,1822,1599,1721,1651,1786,1854,1898,2059,2515,2543,1897,1596,2031,2237,1744,1704,1683,1493,1448,1442,1891,2290,2652,2464,2152,1860,1463,1591,1875,1693,1467,1672,1785,2047,2145,2220,2210,2036,2082,2284,2190,2199,2525,2679,2026,2091,2063,2100,2182,1888,2389,2775,2393,1736,2062,2173,1951,2062,1686,1496,1604,2192,2189,1726,1631,1583,1638,1928,2035,2034,2331,2325,2126,1859,1997,2120,2277,2198,2025,2416,2744,2554,2433,2119,2165,2166,1910,2286,2926,4002,4184,4260,4183,4070,3977,4046,4340,4220,3986,3703,3583,3563,3171,3312,2874,2667,2836,2718,2730,3182,3504,3369,3045,2984,3095,3275,3119,2574,3182,3349,3475,3466,3124,2830,2744,2684,2150,1836,2480,3041,3320,3394,3119,3068,2508,2528,3019,3040,3255,3345,3552,4034,3948,3820,3896,3797,4228,4232,4143,3697,3226,3227,3219,3096,3135,3088,2835,2800,2431,1990,1830,1636,1598,1914,1865,1704,1772,1719,1757,1994,2553,3388,3164,2689,2812,3128,3625,3792,3570,2962,2298,2291,1995,1563,1636,1793,2133,2132,2289,2786,3144,3078,2645,2431,2561,2840,2934,2896,2807,2854,2809,2785,3265,3378,3308,3193,3237,3116,2960,2799,2608,2626,3051,3506,3928,3815,3348,3069,3082,3089,3000,2478,2322,2281,1935,2150,2518,2719,2543,2130,2380,2406,2299,2226,2446,2393,2145,2005,1805,2071,2218,2193,2256,2724,2985,2434,2430,2776,3106,3286,3275,2592,2192,2315,2220,2088,2004,2353,1914,2185,2462,2767,2929,2931,2866,2815,2768,2784,2972,3024,2732,1969,1804,1822,1739,1498,1616,2032,1997,1974,2007,1812,1832,1805,1988,2036,1834,1937,2266,1951,1588,1697,2059,2059,2157,2231,2199,2236,2312,2677,2088,1892,1857,1708,1782,2045,1816,1654,1970,1940,2230,2834,2500,2062,2447,2351,2201,2391,2359,2813,2765,2258,1941,1671,1152,1160,1289,1062,799,905,1055,1300,1415,1672,2042,1874,1598,2081,2875,3169,3194,2977,2427,1651,1559,1764,1914,1670,1632,1578,1834,2183,1958,1991,1756,1536,1808,1547,1531,1836,1897,1910,1776,1509,1489,1429,1489,1603,1560,1534,1475,1587,1571,1498,1483,1474,1612,1617,1590,1816,1800,1669,1823,1598,1605,1645,1609,1822,2337,2823,2654,2416,2259,2216,2837,2828,2818,3091,3803,3330,3671,3637,3042,2801,2510,2289,2090,2254,2780,2477,2490,3114,2422,1967,1753,1788,2675,3088,2996,2622,2065,2476,2522,2157,1783,1794,2696,3305,3385,3516,3288,2499,2667,2988,2286,1820,2041,2215,2789,2932,2519,2174,2246,2632,3025,3401,3009,2682,2697,2720,2896,3673,2720,2840,3349,3175,2317,1789,1764,2073,2061,1931,2347,2358,2458,2166,1783,2257,2185,2030,1979,1899,1897,1385,1773,2387,2462,2853,2556,2613,2607,2510,2170,2750,2467,2475,2665,2483,2425,2734,2754,2688,2294,1992,2293,1751,1541,2111,2305,2074,1809,1977,2316,2280,1958,1806,1750,2106,2831,3035,2995,3156,2861,2673,3067,3409,3505,3352,3175,3153,3027,3374,3264,2729,2990,3351,3550,3309,3364,2809,2242,2824,3264,2398,2522,3969,4164,4017,4500,4576,4353,3242,2578,2357,2569,3437,4165,4229,3753,2680,2152,2185,2335,3137,2321,2231,3218,3862,3542,3273,3442,2983,2712,3719,3055,2656,2853,2146,2065,1919,2367,2910,3647,4031,3538,2504,2183,2556,3441,3685,2341,2165,2182,2085,2157,2040,1839,2089,2523,2584,2513,2420,2877,2718,1578,1247,1550,2172,2204,2263,2623,2502,2250,2082,2029,2265,1810,1381,1823,2199,2366,2338,2427,2082,2209,2568,2326,2188,2329,1950,1888,1975,1771,1431,1805,2519,1969,1858,2104,2137,2114,1591,2166,2478,2862,2176,2505,2406,2214,2490,2789,2165,2231,2605,2233,1808,1442,1933,3121,2573,2194,2172,2256,2471,2473,2496,2618,2724,2675,2501,2282,2102,2261,2269,2330,3077,3562,3889,4224,4356,4475,4649,4452,4049,3748,4021,4079,3085,2455,2173,2653,2790,2767,2887,2955,2900,2952,3189,3242,3620,4079,3938,3835,3730,3663,3599,3499,2964,2288,2304,2921,3445,3884,3948,3688,3484,3263,3246,3664,3684,3460,3468,3397,3293,3349,3486,3419,3300,3272,3453,3575,3698,3153,2547,2796,3723,3316,2033,2536,3406,2824,2723,3492,3804,3382,3589,2757,2268,1848,1785,2041,1654,1781,2244,2023,1657,1597,1699,2290,2557,2533,2283,2019,2219,2996,2740,2100,2266,2198,2452,2684,2605,2313,2470,3093,3331,2905,2324,2029,1782,1679,1842,2316,2444,2040,1592,1739,1633,1698,3056,3375,2800,2563,2532,2579,2361,2573,2724,2481,2153,2246,2414,2199,2046,2159,2007,2102,2600,2852,2657,2741,2810,2770,2635,3378,4070,4340,4244,3886,3876,3544,3220,3104,3437,3896,3846,2544,1960,2706,3407,3566,3872,3971,3873,3133,2386,2566,2370,2730,2894,2956,2576,2072,3134,3343,3152,3128,3581,3661,2777,2216,2237,2117,2001,2262,2204,2198,2018,2136,2220,2023,1851,1910,1662,1697,2012,2216,2476,2457,2349,2246,2085,1811,2202,2891,3234,2939,2373,2175,2645,2246,1906,1874,2069,2326,2150,2059,2032,1895,1892,2042,2273,2264,2286,2602,2452,2431,2568,2086,2156,1985,1862,2122,1952,1851,2230,2165,1838,1781,2095,1898,1837,1601,1748,2229,3130,3175,2173,1983,2166,1874,1873,1970,2202,3128,4120,4132,4212,4019,3951,4167,4080,3792,3731,3829,4079,4166,4176,4129,4038,3927,3865,3954,4211,4339,4576,4721,4360,4171,4207,4195,4184,4359,4945,4644,4187,3941,2792,2160,2180,1776,1704,1961,2808,3122,3115,3115,3128,3535,3285,3134,2587,1751,1730,1852,1823,1856,1899,1903,2020,2283,2490,2598,2697,2306,2156,2261,2165,2417,2789,2765,3352,3466,2900,2723,2669,2540,3208,3248,2126,1523,1768,1670,1654,1988,2328,2177,2480,2654,2714,2648,2511,2944,3169,2811,2534,2399,2274,2350,2691,2544,2469,2149,2170,2053,2167,2796,2803,2563,2079,1802,2312,2633,2047,2089,1995,1708,1316,1604,2092,2096,2143,2212,2382,2074,2214,1830,1319,2055,2366,2003,1977,2004,2337,2357,2354,2394,1675,1779,2165,2243,2552,2392,2287,2337,1882,1703,1831,1797,1458,1478,1844,1885,1989,1580,1795,2304,2284,2535,2156,1863,1841,2025,1923,1810,2029,1813,1504,1743,1678,2305,1860,1396,1726,1888,2064,1919,1518,1616,1876,1701,1566,2017,1649,1840,1454,945,1599,2104,2016,2092,2173,2101,1850,1393,1633,1731,1775,1553,1557,1689,1699,1925,2182,1870,1674,1824,2609,3034,2809,2082,1846,1689,1698,1815,1664,1572,1534,1587,1578,2114,2958,2811,2326,2039,2671,2736,2802,2608,2363,2162,2250,2380,1893,1550,1984,2033,1982,2103,2423,2003,1544,1775,1721,2077,2846,2596,1809,1657,1706,1866,1793,1801,1639,1488,1630,2286,1958,1737,1904,1885,2147,2790,2930,2845,3139,2778,2791,2127,1829,1729,1720,1803,1993,1859,1633,1770,1507,1683,1877,1694,1579,1932,1813,1649,1695,1739,1613,1449,1782,2144,2083,1923,2663,3332,3332,3051,2743,2258,1998,2431,2784,2643,2321,1732,2148,2849,2655,1974,1962,1859,1755,1877,2056,1851,1632,1801,2075,1948,1645,1953,2500,3141,3320,2413,2026,2238,2423,2425,2678,2512,2258,2019,2103,2106,2305,2171,2391,2266,2011],[2509,2411,2367,2522,2524,2197,2668,3478,3370,3052,3218,3006,3040,2297,1971,1916,1967,3093,3421,3155,3462,3580,2579,2037,2907,3533,3423,3045,2476,2720,2302,2054,2209,2056,2364,2514,2360,2504,2535,2436,2240,1991,1150,1647,3318,3021,2205,2037,2619,3400,3373,3081,2794,2709,2240,1476,1481,2233,2443,2116,1933,1730,1692,2066,2562,2798,2985,3119,2771,2119,2419,3032,3175,2574,2732,3225,3564,3335,2689,2492,3139,3191,2873,2298,2329,2209,2401,1744,1556,1958,2132,1949,1814,1935,2292,2729,2905,2723,2537,2444,1937,2209,2658,2902,2732,2374,2362,2477,2460,2554,2654,2863,2714,2811,2647,2854,1957,1604,2314,2649,2708,2631,2801,3357,3355,2900,2888,2722,2851,3251,3627,3638,3653,3833,3554,2732,2364,2171,2010,2201,2450,2575,2286,2313,2488,3304,3711,3009,2732,2640,2880,3199,2853,2324,2286,2496,2768,2906,3119,2399,2094,2757,2722,2083,1594,1683,2257,3249,3755,3566,2719,2373,2061,1840,2069,2387,1900,1653,1776,1654,1601,1389,1710,1797,1803,2662,2510,2085,1973,1739,1714,2031,2793,3496,3586,3204,2401,2598,2234,2033,2098,2091,2105,1998,2012,1874,1499,1300,1489,1437,1518,1591,1906,2155,2138,2187,2247,2166,1976,1504,1389,1989,2828,3110,2696,2868,2641,1935,1187,1272,2019,2190,2309,2696,2720,2535,2446,2570,2801,2828,3077,2448,2033,1871,1806,1850,1968,2067,1886,1545,1243,1272,1701,1701,1677,1726,2294,3526,3421,2454,2498,2997,2644,2563,2285,1899,2113,1999,1968,1908,2213,2302,2416,2116,2209,2325,2264,2694,2406,1964,1878,1979,1919,1681,1961,2544,2554,3322,3763,3385,2959,2610,2292,2019,2199,2239,2120,1502,1603,1879,1833,2054,2488,2647,2263,1971,2519,2634,1736,2332,2342,1901,1843,2220,2585,2660,2195,1668,1891,2046,2126,2339,1996,1890,1896,1763,1426,1065,1450,1785,1764,1379,1200,1759,2282,2531,2857,3189,2821,2613,2668,2452,2173,2179,3161,3648,2897,2464,2701,2896,2670,2533,2207,2018,2138,2823,3054,2705,2407,2274,2046,1823,1886,2248,2186,1697,1731,1807,2157,2227,2101,2218,2084,1902,1881,1760,1799,2047,1499,1663,2273,2572,1888,1731,1828,1940,2065,1992,1841,1929,2008,1353,1378,1813,1749,1788,1966,1998,1958,1410,1137,1419,1432,1351,1845,2328,2286,2148,1717,1693,1907,1981,1960,1904,1710,2260,2610,1830,1866,2037,2143,1883,1644,1864,1878,1895,2211,2018,1565,1445,1454,1691,1717,1812,2740,2386,1844,1719,1487,1493,1750,1858,1843,1832,1797,1692,1634,1845,1904,1977,1980,1907,1960,1855,1951,1844,1719,1805,1851,1653,1646,1676,1715,1926,2079,2162,2366,2557,2953,3330,2786,1982,1693,1759,1645,1689,1782,1557,1458,1450,1339,1643,2359,2919,2409,1764,1828,1921,2148,2045,1675,1581,1455,1427,1963,2554,2623,2264,1780,1912,2104,1869,1902,2927,3514,2984,2719,2384,2127,1959,1730,1945,2579,2444,1885,2177,1979,2569,2497,1911,1842,1860,2054,1858,1643,1569,1511,1579,1727,1588,1767,1853,1644,1720,2091,1859,1899,2165,2056,2054,2399,2467,2197,2068,1970,2083,2008,2152,2396,2601,2743,2888,3174,3105,3017,2898,3139,3462,3609,3946,3792,3840,3411,2927,2928,2437,2706,3089,3169,3211,3199,3351,3519,3127,3082,3475,3466,2800,2401,3152,3419,3432,3364,3120,3006,2902,2686,2154,2098,2661,3072,3387,3354,3234,2990,2519,2387,2206,2344,3274,3579,3300,3292,3443,3531,3354,3292,3889,3957,3660,2954,2938,3421,3465,3153,3273,3575,3400,2939,2308,1843,1830,1735,1906,2089,1788,1688,1788,1751,1665,1726,2042,2817,3312,3204,2899,3400,3674,3939,3799,2785,2181,2330,1931,1449,1554,1782,2016,1729,2199,2729,3543,3805,3997,4420,4331,4212,4121,3962,4125,4202,3170,2873,3692,3750,3657,3375,3084,2781,2469,2288,2511,2962,3124,3218,3383,3007,2711,2734,2915,3443,3262,2423,2292,2259,2127,2343,2249,2305,2049,1395,1496,2564,2978,2239,2001,1835,1681,1632,1668,2009,2136,2199,2326,2609,2898,3022,2911,2890,2855,2486,2216,2310,2258,2238,2364,2269,2247,2569,2491,2474,2479,2633,2652,2717,2880,2844,2901,2953,2862,2756,2617,1831,1610,1943,1876,1470,1461,1732,1821,1772,1682,1553,1569,1584,1592,1566,1530,1693,2280,2199,1732,1862,2156,1960,1857,1959,2114,2067,2060,1864,1668,1717,1605,1516,1737,1824,1533,1742,2324,2681,2392,2332,2590,2490,2038,1900,2096,2131,2617,3501,3072,3090,2437,1929,1700,1514,1379,1097,959,966,1087,1371,1495,1610,1729,1529,1812,2625,3113,3110,2884,2144,1639,1401,1448,1620,1626,1529,1605,1366,1588,1723,1659,1754,1591,1605,1746,1491,1864,1891,1470,2010,1933,1530,1475,1416,1637,1931,1658,1504,1441,1605,1659,1581,1518,1479,1678,1593,1750,1785,1583,1460,1529,1543,1641,1687,1643,1921,2859,3252,2900,2884,3716,3230,2759,2784,2748,2987,3007,2916,2809,2529,2732,2502,2149,2128,2038,2909,3095,2910,2452,2729,2106,1857,1745,1678,2520,3025,2968,2910,2925,2876,2964,2570,1993,2077,2825,3238,2698,2217,2362,2315,2597,2864,2186,1909,2029,2061,2370,2343,2276,2153,2378,2783,3339,3445,2677,2307,2638,2657,2526,3109,2574,2867,2721,2257,2124,2458,2497,2466,1796,1904,2273,2371,2478,2042,1719,2159,2178,2170,2176,2490,2631,1764,2030,2210,2587,2631,2048,2338,2137,2402,2916,2789,2149,2060,1684,1569,2468,3138,1924,1614,1903,2342,2251,1532,1864,2304,2422,2297,1785,1627,1911,1972,1787,1765,2054,1787,2554,3269,3386,3470,3305,3481,3993,3912,3237,2653,2695,2401,2565,3018,2834,2590,2556,3153,3297,3142,3087,3077,2724,2394,2983,3163,2239,3253,4063,3973,4199,4267,3492,2408,2474,3106,3043,2747,3372,2963,3168,3362,2441,2352,1979,2600,3003,3133,3521,3638,2889,2549,2950,2674,2687,3746,3151,2106,2353,2542,2292,2128,2135,2443,3502,3717,2944,2877,3671,3672,4444,4430,3439,2895,2589,2336,1948,1818,2065,2179,2330,2536,2540,2562,2370,2011,1612,1619,1901,2469,2306,1960,2338,2163,1985,1757,1844,1905,1589,1603,2459,2598,2154,2387,2597,2016,1799,2192,2190,2412,2687,1860,1994,2002,1405,1156,1836,2398,2043,1809,1759,1783,1722,1932,2172,1382,1537,1321,2320,2552,2163,2576,2874,2610,2176,2302,1774,1671,1951,2180,2756,3141,2695,2257,2268,1990,1872,2085,2198,2333,2333,2405,2034,2243,2271,1911,2274,2898,3662,4107,4212,4765,4627,4560,4400,3943,3439,3480,3711,3139,2542,2102,2275,2547,2829,2940,2750,2748,2996,3228,3270,3632,3836,3739,3510,3619,3665,3485,3413,3394,3209,2554,2074,3293,3993,4037,3838,3499,3415,3297,3427,3466,3362,3366,3426,3395,3346,3404,3249,3160,3298,3352,3553,3796,3325,2829,2866,3614,4005,2865,2979,3784,3566,3270,3806,2855,2830,3151,2284,1964,2129,2214,1948,1730,2070,2383,2525,2037,1582,1886,1926,1930,2185,2161,2006,2226,2740,2556,2533,3204,3231,3101,2806,2612,2498,2507,2547,3106,3082,2310,2055,1642,1697,2168,2637,2237,1664,1520,1638,1526,1720,2570,2973,3091,2928,2778,2655,2329,2374,2667,2832,2176,2176,2546,2088,2118,2614,2304,1684,1950,2855,2758,2526,2172,2066,2129,3379,4241,3884,3530,3393,3340,3073,2706,2647,3548,3798,3532,1789,1576,2655,3241,3576,3703,3784,3639,2889,2764,2525,2492,2854,2897,2786,2657,3100,3880,3740,2801,2821,3467,3292,2623,2720,2889,2328,1985,2064,2177,1998,1962,2220,2148,2082,2308,2377,1417,1576,2267,2461,3167,3640,3299,2996,2393,2015,2108,2665,3057,2989,2408,2300,2787,3189,2512,2097,2322,2243,1996,1954,2147,2007,1676,1810,1887,1875,2259,2490,2439,2684,2421,2127,2110,1997,2031,2217,2099,2137,2385,2046,1615,2104,2249,1880,1681,1677,1764,2155,2391,1971,1967,2017,1904,1741,2169,2215,2719,3484,4019,4313,4273,4085,4023,3941,3862,3790,3747,3979,4217,4050,4252,4200,4042,4003,3889,3983,4108,4183,4628,4764,4242,4122,4071,4029,4156,4645,5004,4283,4008,4027,2889,2290,2349,1899,1937,2246,2830,3173,3280,3350,3397,3530,3274,3161,2470,1664,1657,1639,1621,2271,2591,2373,2598,2757,2579,2554,2348,1873,2083,2261,1810,2113,2558,2944,3385,3146,2699,2545,2890,2872,2719,2328,1798,1840,1948,1367,1617,1878,2911,2799,2542,2233,2508,2629,2451,2763,3407,3249,2965,2824,2645,2582,3218,3240,2729,2502,2593,2475,2946,3220,2453,2687,2225,1993,2675,3108,2104,2166,2328,2255,2040,1825,1802,2166,2832,3046,3342,2951,2991,2621,2796,3119,2762,2105,2229,2324,2096,2125,1960,2392,2128,1945,2123,1821,2500,2203,1976,2576,2303,1791,1946,1867,1592,1354,1715,1666,1729,1591,1578,1734,1746,1959,2208,2024,1960,1886,1702,1615,1680,1788,1788,2267,2014,2404,2071,1852,2121,1954,2165,2096,1980,1828,1670,1577,1552,1773,1597,1742,1532,1272,1492,1955,2043,2096,1941,2050,2105,1744,2088,2096,1791,2023,2397,2215,1887,2402,2770,2344,2098,2023,2907,3020,2447,1909,1925,1915,1979,1829,1751,1816,1805,2010,2037,2575,3120,3044,2863,2539,2945,3003,2988,3002,2724,2225,1796,1770,1564,1528,2122,1944,1953,2242,2000,1709,1801,1906,1881,2207,2484,2081,1831,1757,1735,1753,1965,1712,1343,1547,2078,2109,1581,1570,1823,1870,1978,2519,2920,2895,2924,2083,1873,1714,1548,1614,1907,2054,1842,1782,1644,1715,1456,1584,1765,1529,1439,1607,1794,1656,1528,1806,1773,1651,2576,2895,2604,2246,2401,2783,2978,2770,2454,1891,1930,2745,2544,1956,1779,1531,1811,2394,2425,2220,2025,1727,1689,1713,1775,1772,1873,2175,2220,1976,1950,1952,2397,2900,3044,2328,2082,2546,2745,2479,2569,2889,2986,2501,2490,2477,2325,1772,1460,1492,1664],[2023,1835,1891,1952,2202,2287,2548,3598,3717,2638,3090,3310,3244,2144,2078,2382,2166,2541,3052,3050,3127,3094,2322,2160,2536,2819,3081,2370,1316,1674,2118,2079,1800,1771,2443,2459,1834,2173,2599,2491,2238,2156,1380,1851,2765,2569,2217,2115,2470,2785,2858,3480,3053,2325,2249,2176,2370,2417,2244,1849,1604,1813,2183,2663,3096,2900,2902,2761,2690,2325,2390,2602,2566,2344,2578,3074,3032,2877,2662,2286,2813,2762,2398,2192,2148,2078,2380,1936,1501,1736,2042,2037,1660,1642,2022,2780,3276,2879,2276,2180,2322,2596,2724,3009,2994,2432,1906,2028,2361,2584,2867,3213,2921,3008,2829,2618,2429,2538,2940,2807,2046,1879,3041,3804,3828,3497,3156,3199,3454,3225,3204,3510,3827,3916,3181,2689,2354,2201,2028,2082,2220,2219,2162,2161,2088,2986,3482,3098,2817,2731,3385,3818,3517,3111,2292,2031,2068,2497,2891,2344,2505,3096,2732,1803,1474,1536,1950,2679,3448,3216,2294,2210,1925,1680,1984,2106,2056,2214,2388,1686,1554,1393,1537,1613,1871,1813,1579,1825,1917,1895,2376,2699,2791,3066,3174,3033,2165,2091,2069,1837,1874,2155,2058,2120,1919,1397,1224,1250,1398,1825,1980,1787,1882,1819,1797,1948,2169,2094,1844,1759,1592,1875,2578,2810,2686,2587,2087,1534,1639,1749,2210,2198,1870,1904,2050,2217,1897,1699,2164,2669,2645,2334,2421,2114,1929,2039,2126,2089,1932,1804,1924,2203,2075,1989,2150,2122,2747,3280,2747,1708,1721,2165,2138,2272,1947,2080,2306,2485,2482,2450,2439,2084,1909,1989,2499,2522,2234,2596,2231,2106,1928,1984,2100,1835,2055,2179,2160,2787,3294,3234,3032,3532,2526,1936,2480,2633,2791,2465,2500,2364,2004,1967,2100,2260,2046,2473,2438,2313,2177,2569,2836,2319,1897,2102,2121,2315,2370,2219,2564,2119,1669,1752,1738,1794,1666,1607,1388,1144,1229,1481,1560,1277,1539,2160,2484,2865,2654,2358,2774,2990,2754,2351,2223,2435,3060,3482,2966,2888,2722,2535,2744,2566,2147,1793,1947,2231,1856,1568,1868,2039,1815,1626,1769,2053,2106,1904,1878,1821,1936,2033,1992,1874,1646,1480,1568,1617,2077,2556,1856,1938,2165,1865,1660,1605,1535,1674,1818,1771,1789,1911,1568,943,862,1279,1462,1650,1712,1851,2266,2014,1434,1599,1609,1572,2095,2185,2208,2054,1583,1543,1628,1593,1754,1920,1898,2027,2030,1648,1765,1811,2144,1814,1576,1542,1407,1349,1565,1732,1494,1415,1454,1584,1438,1549,2316,2336,1986,1635,1544,1742,1820,1736,1706,1653,1654,1691,1761,1461,1648,1798,1908,1863,1926,2156,2045,1796,1678,1687,1816,1998,2364,2101,1782,1826,1876,2169,2460,2460,2698,3035,2974,2479,1774,1598,1567,1523,1725,1624,1526,1496,1496,1933,2345,2695,2348,1586,1800,2236,2210,1873,2140,2319,2159,1801,2121,2700,2432,1581,1374,2232,2235,1904,1996,3042,3179,2463,2648,2820,2113,1612,1501,1968,2469,2099,1847,2059,2166,3173,2921,1934,1772,1858,1843,1788,1708,1612,1448,1407,1497,1516,1604,1649,1682,1911,2240,1815,1675,1797,1967,2040,2276,2354,1878,1994,2232,2234,1919,2909,3774,3011,2862,3338,2436,1651,1849,1700,1776,1989,2452,3111,3368,3615,3088,2652,2273,2066,2623,3187,3529,3618,3338,3329,3494,3283,3330,3551,3416,2709,2481,3032,3086,2929,3274,3167,2884,2756,2852,3079,2858,2741,2872,2873,3018,2945,2866,2981,2954,2501,2373,3422,3532,2611,3112,3632,3270,3230,3342,3249,3167,2872,3087,3770,4245,4188,3945,3651,3425,3436,3140,2577,2484,2366,2434,2843,2709,1979,1760,1680,1624,1642,1604,1629,2336,2984,3024,2836,3286,3595,3640,3137,2282,1925,2186,1802,1412,1566,1754,1748,1643,2076,2918,3230,2544,2625,3415,3030,2312,2481,2666,2864,2990,2285,2998,3481,3363,3252,2884,2442,1914,1934,2055,2519,3138,3176,3340,3447,2939,2369,2265,2547,2930,2846,2588,2599,2800,2470,2432,2232,2225,2215,1482,1556,2798,2986,2570,2476,2285,1941,1980,2090,2043,2168,2133,2224,2396,2314,2227,2372,2630,2736,2896,2687,2160,2204,2337,2473,2247,2475,2513,2351,2306,2279,2267,2375,2492,2494,2444,2474,2648,2620,2757,2778,2059,1872,2072,1862,1735,2007,2049,1970,1926,1787,1840,1772,1736,1721,1772,1881,2215,2567,2381,1892,2123,2215,2148,2049,2088,2204,1901,1877,1875,1807,1607,1532,1531,1855,1872,1620,1858,1997,1914,1997,2450,3176,2988,2253,2144,2381,2380,2780,2788,2617,3608,3476,2662,2097,1790,1581,1404,1179,1173,1450,1530,1482,1651,1503,1594,2403,2917,3165,2845,2346,2426,2062,1458,1587,1526,1715,1580,1520,1552,1806,1882,1811,1592,1507,1810,1715,1471,1938,1995,1364,1649,1962,1561,1470,1477,1635,1830,1704,1472,1408,1598,1671,1548,1466,1390,1634,1783,1800,1644,1489,1376,1426,1485,1531,1781,1851,1808,1965,2393,2728,2655,4060,3238,2284,2620,2678,2764,2832,2619,2205,2150,2491,2260,1898,1724,1794,2464,2597,3109,2728,2138,2120,2192,1994,2078,2590,2552,2670,2900,3200,2702,2602,2688,2285,2236,2234,1939,1439,1608,2490,2304,2307,2403,2261,2542,2118,2139,2306,2150,2189,1954,2243,2750,3166,2895,2670,2611,2706,2614,2463,3310,3640,2900,2584,2630,2374,2819,2681,2362,1979,2040,2250,2692,2845,2658,2248,1964,1778,2104,2609,2980,3248,2894,2880,2680,2467,2330,1925,2498,2619,2288,2880,2678,1903,1798,1303,1310,2100,2908,2491,2026,2187,2446,2184,1738,1797,1856,2211,2458,2242,1800,1824,1765,1651,2110,2804,2491,2907,3775,3847,3720,3752,3816,3771,3138,2396,2502,2864,2274,2461,3100,2868,3194,3241,2987,3193,3299,3254,3053,2243,2342,2351,3320,2797,2454,3497,4212,3749,2902,2232,1899,2039,2768,3489,2720,2483,1943,2280,3339,3128,2457,1993,2116,2795,3781,3820,3494,2325,2044,2707,3095,3388,3747,3097,2270,2124,2504,2573,2229,1929,2034,2788,3140,2585,3564,4563,4715,4898,4898,4611,4187,3610,2789,2231,2231,2316,1997,2171,2238,2477,2664,2212,2092,2270,2416,2434,2460,2459,2443,2380,2141,2221,2072,2198,1812,1840,2266,2702,2684,2295,1939,2251,2449,2231,2187,2243,3046,2584,1986,1958,1599,1149,1462,1957,2015,1860,2038,2327,2532,1918,2501,2680,2178,1876,1726,2405,2890,2669,2493,2770,3201,2231,2363,2103,2020,1979,1607,1499,2634,2876,2436,2322,1774,1813,2080,2321,2522,2289,2419,2264,2522,2075,2120,2781,3054,3321,4004,3759,4384,4633,4588,4329,3818,3262,3039,3274,3139,2651,2323,2260,2268,2755,3270,2998,2709,2958,3172,3359,3449,3486,3441,3395,3672,3603,3356,3340,3459,3460,3297,2005,2784,3915,4152,3905,3620,3499,3484,3440,3372,3348,3249,3549,3552,3264,3262,3175,3221,3279,3292,3482,3680,3780,3740,3461,3441,3921,3673,3919,4056,3382,3499,3738,2719,2401,2189,1888,1918,2214,2285,1997,1875,1841,2676,2385,1711,1686,1737,1715,1982,2000,1967,1926,2219,2127,2254,2467,2713,2828,2828,2324,2134,2549,2740,2490,2450,2358,2474,2337,1864,2007,2198,2216,1909,2226,2453,2076,1738,1920,2429,2482,2821,2920,2634,2633,2724,2795,2770,2913,2286,2276,3006,2793,2378,2476,1976,1494,2027,2689,2880,2658,2324,2303,2149,2841,3725,3387,3165,3046,2862,2513,2096,2819,3466,3565,3090,1783,1926,2779,3182,3816,4037,3621,3203,2954,2854,2466,2740,2751,2546,2430,2853,3383,3598,3313,2406,2787,3349,2879,3083,3552,2916,2402,2442,2252,2031,1791,2008,1936,1715,1991,2480,2821,2020,2239,2751,2842,3447,3514,3480,3088,2269,2216,2500,2647,2236,2602,2281,2555,2968,3310,2358,1707,1946,2271,2002,1581,2072,2009,2063,2316,2169,1931,2346,2393,2282,2331,2360,2501,2631,2511,2400,2346,2140,2465,2503,2171,1770,1942,2162,1958,1808,1904,1650,1600,1924,2257,2448,2111,2294,2790,3186,3229,3472,4036,4348,4257,4096,4060,4060,3874,3729,3761,3785,3779,4132,4444,4460,4126,4053,4053,4031,4094,4212,4495,4812,4819,4348,4320,4256,3979,4058,4633,4940,4290,3843,3980,3173,2832,3239,3385,2986,3076,3006,3316,3703,3414,3094,3041,3270,3161,2566,1997,1956,2313,2040,2487,2564,2236,2396,2480,2172,2008,2070,2197,2462,2048,1548,1729,2084,2741,3165,3297,2674,2447,2808,2641,2024,1864,2191,2215,1750,1714,1820,1960,2520,2385,1908,1996,2280,2299,2571,2589,3252,3099,2722,2629,2686,2692,2856,2850,2357,2124,2383,2840,3374,3178,2541,2973,3356,3071,3318,2795,2157,2720,2775,2331,2455,2421,2437,2359,2933,3065,3377,3705,3343,2875,3001,3211,2731,2136,2602,2481,2354,2046,1736,2284,2037,1859,1876,1744,2529,2556,2601,2919,2392,2209,2536,2724,2134,1488,1502,1729,2010,1685,1460,1522,1542,2088,2490,1829,1623,1431,1475,1678,1514,1635,1644,1957,2105,2118,2176,2266,2044,1930,2041,1884,2124,2117,2076,1749,1497,1368,1420,1557,1707,1590,1228,1360,1666,2006,1926,1942,2009,1980,2251,2283,2106,2234,2257,1995,1886,2297,2617,2618,2611,2502,2791,2558,2133,2081,2089,2215,2375,1780,1672,1836,2100,2439,2665,3041,3182,3028,2986,2968,3087,3025,2884,2784,2363,1825,1638,1855,2092,1821,1783,1606,1466,1571,1626,1896,2022,1899,1800,1628,1716,2013,2034,1527,1481,1536,1976,2115,1805,1858,2492,2614,1874,1675,1858,1937,2077,2265,2818,3359,3019,1963,1596,1498,1789,2272,2113,2060,1927,1792,1659,1644,1453,1729,1831,1461,1390,1903,2281,1856,1742,1847,1845,2303,2689,2238,2044,2492,2532,2561,2491,2238,2106,1884,2012,2450,1939,1897,1988,1381,1636,2001,2283,2403,2112,1724,1452,1644,1924,1943,2051,2037,2103,2103,2552,2737,2778,2876,2872,2677,2578,2854,2796,2214,2330,2916,3594,3018,2888,2966,2780,2756,2383,2115,2403],[1843,1853,2082,2126,2436,2215,1791,2661,3450,2274,2713,3198,3140,2451,2419,2422,2058,2203,2580,3132,3815,3783,2659,2264,2456,2599,2952,2434,1781,1875,2190,2271,1656,1642,2135,2007,1534,1887,2405,2464,2336,2415,2072,2158,2661,2824,3021,3064,3072,2746,2814,3342,2773,2273,2101,1895,1874,2008,2269,2453,2938,2756,2173,2512,2868,2302,2329,2280,2530,2810,2692,2526,2670,2784,2685,2314,1875,1882,2021,2022,2409,2586,2501,2548,2359,2534,2658,2034,1755,1867,2138,2346,1974,1829,1536,2424,3223,3119,2339,2072,2355,2481,2698,3064,3062,2761,1967,2085,2286,2644,2954,2972,2943,3004,2435,2105,2289,2768,2885,2209,1545,2623,3279,3133,3372,3636,3694,3914,3651,3109,3601,4059,4216,3771,2619,2397,2314,2142,2015,1999,2106,2235,2080,1895,2022,2535,2884,2554,2186,2626,3150,3522,2898,2964,2400,2020,2198,2347,2348,2238,2716,2939,1987,1208,1359,1257,1448,1754,2596,2674,2352,2078,1515,1597,2117,2673,2137,2071,2637,2177,1923,1886,2003,1871,1889,1688,1642,2187,2121,1908,2166,2547,2591,2644,2504,2191,2093,2201,2095,1925,1989,2001,2247,2455,2129,1897,2117,2286,2279,2577,2110,1653,2051,2410,2106,1792,1879,1703,1640,1735,1639,1989,2698,3103,3132,3200,2624,2389,2679,2492,2208,2215,1903,1962,2056,2184,1747,1783,1777,2294,2424,2423,2502,2415,2298,2213,2431,2429,2215,1968,2049,2476,2058,2368,2208,1864,2388,2504,2037,1454,2011,2144,1906,2016,1828,2093,2222,1996,2503,2918,2172,1634,2124,2868,2548,1935,2143,2137,1908,2136,2024,2022,2239,2132,1887,2219,2834,2867,2832,3082,2997,3200,2078,1780,2155,2763,3088,2625,2525,2483,2083,1748,2370,2468,2155,2434,2384,2158,2106,2366,2691,2483,2382,2618,2324,2180,2119,2339,2750,2006,2093,2104,1746,1553,1712,1825,1847,1767,1355,1205,1670,1654,1854,2169,2344,2684,2390,2553,2762,2563,2561,2572,2880,2655,2531,3152,3108,2610,2119,2220,2752,2686,2251,1991,2040,1805,1397,1619,1830,1979,1833,1887,1954,1864,1885,1986,2067,1991,1899,1737,1561,1505,1513,1462,1497,1483,1860,2091,1710,1583,1753,1646,1405,1497,1581,1663,2293,2527,1863,1746,1708,1475,1395,1606,1638,1642,1643,1896,2198,2330,1728,1559,1368,1481,2037,1822,1789,1840,1653,1531,1575,1566,1641,1974,2032,2344,2243,1980,1814,1682,1957,1865,1685,1659,1609,1561,1755,2075,1811,1809,1720,1753,1776,1766,1848,1757,1645,1641,1767,1898,1781,1785,1749,1778,1792,1775,1977,1757,2043,2155,1956,2107,2204,2073,1881,1867,1663,1549,1830,2797,2953,2264,1989,2105,2386,2482,2243,2334,2264,2546,2403,2304,1991,1648,1548,1699,2330,2177,1587,1764,2479,2344,2175,2601,2503,2439,2273,2741,2541,1886,2277,2554,2585,2310,2096,2462,1982,1484,2113,2510,2404,2454,2276,2930,2991,2222,2336,2254,1721,1546,1472,1671,1661,2202,2088,1888,2201,2996,2490,1847,1751,1666,1742,1569,1544,1644,1405,1437,1488,1611,1475,1889,2049,2102,2097,1720,1434,1817,2294,2286,2211,2214,2315,2605,2807,2292,2295,3545,3880,3204,3792,4052,2587,1983,2618,1738,1907,2242,2743,2842,3264,3498,2791,2252,2149,2565,3052,3160,3179,3074,3331,3019,3067,3299,3530,3716,3652,3432,3215,3318,3203,3018,3556,3727,3506,2885,2755,3088,2930,2943,2799,2652,2937,3168,3231,2949,2907,3117,3185,3352,3260,2414,2575,3449,3320,3078,3167,3510,3250,2821,3752,4212,4385,4094,4189,4085,3962,3808,3557,3198,3043,3085,3504,3376,3198,2166,1978,1786,1836,1947,1725,1622,1926,2494,2433,2466,3300,3561,3606,3204,2512,2041,2245,1837,1575,1887,2051,2103,2104,2298,2474,2129,1568,1825,2504,2404,1985,1931,2001,2138,2013,1946,2845,3266,3027,2943,2780,2344,2318,3117,3815,3186,2777,2639,3498,3824,3315,3322,3210,3267,3366,3374,3816,3561,3182,2810,2709,2357,2281,2166,1522,1581,2579,3261,3438,3407,3174,2711,2149,1985,1956,1961,2004,2169,2477,2863,2711,2234,2121,2253,2347,2357,2216,2053,2114,2460,2272,2340,2400,2170,2161,2081,2017,2104,2216,2329,2504,2348,2072,1997,2549,2536,1847,1661,1854,1705,1491,1703,1829,1930,1858,1600,1587,1645,1679,1653,1591,1535,1726,2015,1953,1958,2671,2775,2402,2242,2204,2113,2173,2048,1805,1547,1648,1786,1678,2042,1611,1731,2200,2141,2035,2471,3094,3403,2702,2270,2450,2666,3165,2504,1627,1989,2423,2980,3207,2631,2119,1728,1517,1430,1475,1795,1539,1568,1875,1696,2201,2665,3041,3340,2711,2576,3429,2715,1687,1661,1541,1600,1577,1399,1618,1670,1635,1745,1644,1890,2306,1726,1522,1758,2028,1814,1788,1975,1576,1459,1443,1503,1592,1425,1485,1588,1520,1401,1390,1505,1514,1744,1819,1627,1636,1550,1580,1921,1830,1729,1721,1741,1813,1886,2404,2609,2211,3000,2579,1938,2273,2707,2545,2322,2283,1940,2338,2462,2037,1880,1759,1918,2058,2222,2485,2181,2231,2169,2164,1729,2024,1975,1767,1960,2403,2928,2526,2220,2242,2186,2350,2174,1989,2199,2361,2924,2557,2161,1989,2103,2570,2316,2012,2162,2534,2366,1905,1952,1573,2380,3243,3346,2220,1863,2111,2336,2857,2919,2742,2880,3046,2489,2621,2326,1920,1977,2647,3117,3191,2851,2747,2488,1794,2066,2448,2575,3376,3342,3180,2395,2595,2719,2081,1980,3021,2850,1984,2159,2223,1963,1791,1412,1451,1598,1824,2170,2289,2391,2451,2045,1757,1937,1792,2229,2161,2358,1918,1808,1811,1719,2593,3312,3444,3776,3996,3903,3882,3982,3494,2664,2397,2101,2302,2238,2480,2676,2927,2694,3073,3692,3110,2790,3469,3438,3241,2727,3052,2501,2636,3347,3038,3081,3594,2988,2886,3195,2719,2480,2253,3124,3266,2512,2362,2210,2668,3410,3033,2187,2070,2159,3375,3992,3688,3195,3040,3255,3540,3967,4048,3093,2176,2076,2225,2522,2662,1981,2010,2348,2675,2529,3443,4144,4419,4714,4814,4726,4565,4320,4050,3447,3211,2492,2182,2598,1983,1674,2082,2166,2325,2555,2404,2238,2378,2575,2596,2170,2092,2259,2381,2652,2358,2321,2431,2086,2171,2481,2254,2381,2364,1957,2106,2388,2407,1905,1758,1997,1759,1326,1734,1622,1133,1203,1767,2170,2709,2164,1857,1797,2098,2907,3144,2608,2370,2825,2625,2678,2438,1976,2343,2743,2486,1834,1283,1335,2261,2938,2371,2056,1882,2186,2477,2589,2253,2297,2659,2728,2282,2409,2735,2754,3274,3107,4020,4340,4694,4828,4766,4463,3905,3337,3160,3159,3159,3255,2987,2510,2155,2222,3066,3581,3278,3094,3352,3592,3516,3400,3145,3102,3654,3646,3470,3530,3518,3375,3440,2625,2531,3621,4525,4334,3831,3691,3693,3683,3548,3465,3307,3497,3501,3343,3321,3329,3256,3155,3182,3273,3519,3760,3905,3828,3585,3653,3739,4082,4277,3740,3624,3669,3219,2646,1889,1765,1708,1901,2330,2686,2523,2774,3051,2236,1694,1562,1643,2315,2678,1859,1758,1602,2116,2132,2320,2197,2177,2442,2130,1938,2121,2321,2743,2037,1709,1748,2045,2083,2041,1958,1797,1766,1921,2405,2675,2425,1828,1780,2309,2523,2292,2567,2674,2046,1962,2488,2495,2083,1633,1847,2448,2814,2267,1895,1333,1248,1809,2458,3019,2957,2501,2126,2043,2341,3204,3177,3087,3007,2668,2322,2546,3144,3395,3436,2855,1873,1926,2666,3421,3807,3562,3011,2791,2922,2646,2325,2403,2269,2422,2489,2547,3012,3603,3302,2690,3237,3345,3087,3540,3117,2444,2683,2714,2744,2315,1831,1726,1535,1920,2092,2596,2910,2999,3065,2934,3094,3195,3000,3181,2683,2109,2257,2830,2278,2133,2662,2404,2828,2748,2705,2330,1531,2088,2729,2231,1566,2144,2026,2037,1885,1716,1751,1971,2402,2444,2178,2024,2087,2451,2735,2793,2267,2353,2427,2508,2159,1873,2051,2215,2191,2209,1976,1416,1308,1587,1955,2701,2580,2798,3588,3707,3510,3702,4035,4182,4183,4207,4108,3879,3620,3541,3770,3869,3790,3983,4560,4688,4176,4007,4043,4018,4079,4337,4688,4835,4895,4720,4428,4113,3652,3541,3907,4488,4356,4276,4472,4084,4038,4277,4460,3683,3150,2901,2907,2823,2374,2329,2729,3168,3128,2880,2547,2261,2525,2072,2136,2491,2287,2147,2406,2026,2037,1919,1819,2522,2027,1597,1610,1892,2276,2776,3146,3068,2942,2513,2084,1844,2132,2577,2170,1809,1896,1914,2273,2252,1872,1991,2767,2950,2722,2634,2451,2846,2669,2706,2541,2451,2517,2756,2878,2770,2610,2126,1953,2194,2185,2249,2676,3138,3165,3138,2602,2227,2590,2510,2165,2244,2386,2287,2003,2543,2651,2896,3169,2910,2711,2620,2648,2394,2068,2097,2376,2708,2203,1989,1948,1852,1887,2028,2329,2458,2399,2780,2580,2348,2437,2459,2497,2171,1763,1724,1762,1849,1950,1849,1711,1532,1647,1949,1547,1448,1731,1903,1853,1511,1476,1589,1914,1903,1695,2098,2134,1985,2192,2285,2286,2076,2263,2201,1595,1596,1588,1462,1376,1156,1243,1390,1572,1873,2022,1933,1965,2102,2060,1967,1997,2083,2044,1945,2010,1997,2076,2229,2185,2264,2369,2395,2259,2224,2277,2147,2454,2796,2348,2015,1864,2725,2975,2989,2788,2753,2875,2902,2865,2918,2884,2713,2833,1995,1530,2103,1979,2185,1917,1547,1564,1598,1632,1654,1923,1737,1649,1533,1363,1556,2033,1918,1659,1785,1797,2216,2541,2091,2135,2447,2469,2329,2230,2068,2001,2303,2773,2956,3282,2813,1797,1582,1638,2208,2580,2383,1906,1800,1677,1587,1607,1550,1824,1981,1727,1771,2361,2715,2098,1878,1772,1693,2349,2392,1945,2046,2530,2454,1834,1909,2181,2053,1780,1893,1850,1843,2003,1924,1467,1715,2057,2360,2522,2103,1895,1456,1592,1798,1865,1923,2326,2563,2314,2596,3047,3321,3320,3164,3282,3019,2508,2160,2289,2503,2621,3171,3040,3042,2701,2480,2953,3382,3159,3065],[2167,2188,2420,2587,2796,2202,2101,2868,3304,2831,2637,2561,2144,1748,1857,1591,1842,2718,2822,3410,4152,4006,2820,2382,2540,2610,2692,2399,2087,2056,2317,2468,2030,1938,2074,1970,2130,2383,2578,2585,2229,2269,2404,2653,2841,2828,3050,3072,3001,2713,2931,2952,2734,2611,2217,1758,1556,2002,2507,2880,2849,2614,2194,2162,2781,2404,2466,2259,2710,3361,2636,1885,2076,2610,2657,2155,1625,1967,2150,2141,2335,2766,3256,3230,3061,2946,2502,1891,2034,2425,2474,2324,2310,2258,2163,2761,2910,2811,2656,2610,2525,2271,2604,3222,2991,2907,2674,2513,2700,2797,2933,3216,3188,2857,2670,2040,1653,2395,2100,1636,2155,3252,2877,3023,3607,3904,3915,4079,3722,3381,4368,4465,4120,3256,2338,2148,2305,2146,2004,1989,2008,2072,1938,1721,1893,2481,2658,2287,2124,2243,2352,2744,2417,2145,1704,2335,3099,2707,2643,2521,2376,2374,1548,1138,1576,1277,1159,1116,1430,1962,2093,1976,1814,1949,2254,3763,2688,1989,1916,2015,1904,1793,1913,1768,1648,1624,1624,2145,2088,1732,1874,2019,2060,1997,2189,2530,2558,2252,2197,2062,2036,2426,2608,2313,1955,1711,2268,2220,1916,2126,1960,1602,1989,2260,1645,1591,1526,1133,1072,1697,1840,2059,2912,3580,3673,3719,3212,2498,2576,2542,1934,1808,1825,2151,1956,2053,2069,1949,1784,2292,3156,2810,2703,2818,2667,2345,2391,2297,2134,1996,1908,2117,1964,1931,1474,1373,2022,2068,1976,1808,2375,2299,2100,1762,1803,2019,1996,1780,2271,2708,2310,1793,2338,2576,1972,1904,2169,2316,2452,2226,2025,2415,2874,2518,1942,2590,2677,2431,2699,2868,2768,2353,2155,2634,2711,2667,2678,2867,2689,2095,1798,2009,2524,2432,2167,1903,2030,2047,1899,1923,2293,2336,2443,3263,2581,2149,1978,1819,2132,1945,2068,1941,1593,1790,2303,2107,2092,1952,1673,1463,1523,1685,2137,2248,2292,2723,2632,2938,2842,1957,2135,2420,2634,2166,1784,2282,2236,1934,2217,2587,2729,2577,2290,2113,2070,1951,2044,1915,1914,2134,2144,2004,1974,1995,2024,2009,1845,1813,1756,1742,1592,1686,1709,1840,1742,1510,1772,1846,1702,1902,1914,1922,1476,1500,1377,1886,2698,3046,2955,2349,2024,1991,2137,1914,1866,2002,1739,1814,2082,1953,1855,1837,1614,1649,1621,1601,1663,1654,1626,1445,1532,1509,1551,1936,2192,2865,2480,1868,1704,1772,2144,1969,1840,1925,1844,1749,1909,2137,1957,1881,1883,1923,1935,1943,1873,1766,1837,1902,1905,1936,1659,1414,1302,1658,1693,1754,1911,1917,2139,2110,2212,3042,2643,2167,1909,1876,1695,1786,2027,2873,2601,2029,2266,2452,2452,2544,2459,2407,2292,2281,2069,2203,1913,1279,1204,1826,2302,2060,1894,2406,2303,1736,2210,2743,2600,3051,2878,2823,2480,1978,2135,2339,2281,2052,1755,2026,1872,2092,2459,2320,2346,2248,2437,2940,2784,2532,2323,2020,1753,1531,1354,1605,2126,3284,2862,2219,2143,2216,1805,1750,1639,1464,1548,1443,1625,1425,1154,1544,1628,1617,1709,1912,2088,2249,2192,1873,1509,1816,2262,1976,1602,1836,2182,2674,2639,1947,2460,3672,3895,3627,3198,3220,2579,2447,3293,2488,2176,2533,3585,3500,3440,3283,2565,2129,1943,2023,2170,2307,2283,2247,2286,2260,2544,2751,3339,3898,3974,4188,4018,4240,4070,3934,4232,3995,3579,2977,2863,3089,3205,3169,3174,2979,2972,2647,3083,2809,2623,2356,2654,2881,2836,2592,2774,3385,3339,2723,2684,3232,2933,3242,4237,4452,4493,3665,3672,3540,3472,4212,4308,4188,3864,3414,3660,3440,3437,2469,2321,2024,1831,1735,1663,1644,1839,2116,2176,2673,3207,3149,3414,3387,3054,2700,2596,2092,1699,1751,1885,1902,1902,1870,1710,1551,1441,1779,2442,2570,2392,2475,2457,2524,2622,2834,3683,3458,3008,3025,2735,2380,2767,3549,3941,3356,2757,2475,3032,3558,3297,3506,3659,3662,3685,3581,3396,3339,3248,2911,2715,2343,1973,1711,1387,1934,2752,3197,3141,3086,2818,2674,2078,2009,2115,2081,2048,2041,2425,2834,2785,2388,1923,2086,2306,2520,2408,2069,2220,2450,2176,2123,2134,2217,2155,1992,2089,2138,2358,2331,2451,2082,1534,1793,2264,2115,1924,2059,1952,1599,1221,1667,1864,1740,1708,1821,1913,1891,1816,1828,1961,1540,1583,1654,1559,2392,3046,2997,2499,2381,2342,2165,2126,2056,1955,1838,1971,1661,1757,2056,1644,2277,2665,2369,2244,2486,3206,3786,2952,2271,2343,2427,3299,2803,1919,1538,1600,2394,2492,2344,3183,2883,1826,1519,1758,1688,1372,1488,1516,2024,2352,2350,2953,3008,2611,3327,3278,1997,1693,1667,1781,1449,1250,1162,1394,1597,1668,1710,1656,1800,2018,1499,1509,1610,2095,2041,1866,1780,1945,2003,1606,1447,1590,1519,1619,1812,1658,1686,1707,1637,1737,1825,1629,1547,1553,1481,1852,2770,2410,1854,1616,2226,2857,2402,2480,2502,2246,2307,1987,2013,2042,2208,2207,2648,3086,2364,2486,2394,2129,2450,2656,2835,2666,2528,2397,2389,3047,2552,2170,1872,2076,2076,2014,1742,1588,2047,2611,2497,2168,2478,2807,3151,3077,2955,2625,2588,2148,1605,1574,1815,2062,1992,2062,2125,2415,2435,2288,2061,1585,2299,3376,2928,1881,2188,2271,2119,2443,2673,2842,2754,2459,2222,2314,2021,1873,2669,3249,3369,3318,2976,2522,1925,1639,2354,2916,2449,2389,2322,2143,2101,2658,2783,2431,2283,2374,2534,1957,1703,2037,2212,1959,1561,1532,1461,1604,2053,2192,1985,2112,2339,2165,2116,1946,1955,1974,1923,1896,1993,1970,1793,2468,3342,3573,3648,3499,3539,3605,2542,1715,1876,2375,2054,2144,2232,2775,3020,2878,3229,3251,3184,3331,2865,3099,3131,3205,3406,3369,2985,2609,3050,3361,2535,2555,2291,2405,3414,2968,2600,2199,2351,3272,3010,2249,2157,2157,2791,3473,2705,2844,3209,3453,4038,3435,3216,2709,2576,3119,3064,2773,3097,2614,2212,2032,2446,3027,2271,2478,2803,2511,2243,2307,2597,3416,4112,4563,4595,4315,4150,4300,3950,3505,3153,3010,2763,1770,1482,2225,2431,2454,2536,2536,2280,2880,2907,2520,2619,2890,2535,2585,2640,2126,2271,2248,2091,2202,2124,2341,2652,2457,2005,1959,1815,1687,1665,1265,1502,2278,2416,2381,1937,1444,1423,1767,2167,2136,1597,1285,1394,1820,2314,2365,2101,2032,2752,2425,2264,2188,2454,2470,2482,2574,1926,1316,1539,2432,2768,2695,2003,2477,2584,2662,2400,2228,2553,2707,2271,2036,2497,2465,2434,3004,2937,3475,4439,4820,4715,4723,4459,4002,3703,3343,2968,2895,2878,2711,3150,2752,2273,2337,2998,3163,3033,3395,3645,3388,3162,2647,2516,3088,3349,3366,3428,3230,3165,3339,3144,2642,3076,4460,4244,3782,3790,3819,3776,3630,3466,3460,3626,3545,3431,3492,3510,3418,3264,3208,3264,3582,3858,3852,3873,3906,3826,3731,3938,4145,3671,3347,3282,3150,3124,2381,1931,1597,1743,2064,2735,3122,3060,2506,1906,1702,1589,1732,2159,2075,1541,1578,1693,1705,1759,2381,2198,1814,1964,2036,2463,2815,2985,3083,2196,2138,1929,1895,1963,1929,2191,2587,2476,2252,2615,2906,2753,1975,2035,2678,3220,2684,2474,2710,2248,1499,1866,2235,1882,1947,2175,1438,1509,1260,1137,1123,1338,1580,2128,2888,3274,2938,2473,2457,2335,2922,3147,3229,3151,3040,2678,2943,3211,3016,3118,2402,1227,1872,2791,3752,3588,2968,2602,3029,3216,2593,2332,2353,2295,2460,2258,2092,3127,4071,3706,3141,3143,3272,3333,3311,2893,3067,3438,2771,2203,2078,1824,1826,2062,2261,2244,2490,2895,3339,3349,3146,3020,2966,3040,2812,2498,2448,2122,2318,2003,2188,2252,2521,3206,3149,3122,2791,1758,1902,2287,1958,1736,2298,2121,1622,1448,1730,1763,1500,1671,1977,2198,2100,1825,1964,2543,2842,2073,1804,2204,2339,2016,2100,2408,2437,2260,1942,1996,1796,1514,1409,1719,2601,2725,2727,2529,2084,2410,3452,4019,4239,4360,4376,4041,3646,3558,3851,4245,4231,3895,3875,4533,4677,4058,3955,4139,4287,4315,4420,4647,4731,4664,4327,3956,3625,3282,3215,3359,3652,4016,4735,4853,4488,4500,4617,4440,3276,2813,3331,3068,2744,2110,2265,2846,3002,3527,3782,2974,2373,2441,2514,2555,2470,2288,2293,2464,2517,3185,2587,2072,2731,2244,1766,1515,1583,1983,2325,2578,2885,2635,2000,1750,1833,2046,2249,2027,1767,1561,1958,2385,1963,1754,2150,2935,2732,2229,2814,3067,2699,2535,2603,2564,2605,2546,2293,2691,2888,2757,1969,1827,1874,1954,1761,1615,1757,1951,2413,2299,1936,1768,1783,1756,1691,1990,1855,1833,1804,1925,2127,1877,1970,2116,2120,1904,1731,2030,2309,2434,2322,2097,1923,2063,2097,1891,2106,2159,2029,2215,2338,1869,1936,2092,2301,2251,1951,1921,2266,2370,2305,2443,2127,1769,1715,1771,1764,1702,1714,2105,2390,1930,1538,1693,1908,1914,1752,1930,2110,2001,2082,2293,2545,2231,1869,2297,2149,1766,1771,1532,1440,1803,1714,1506,1450,1628,1951,2050,1727,1629,1901,2020,2060,2230,2124,1931,2016,2061,2064,2204,2268,2183,2194,2329,2276,2126,2236,2157,2276,2439,2574,2988,3034,2376,2580,2813,2955,3095,2821,2596,2637,2797,2973,2679,2514,2710,1738,1691,1998,1800,1853,1687,1730,1936,1621,1731,1935,2084,1565,1483,1460,1420,1655,1782,1581,1579,1761,1737,2032,2347,2261,1901,1668,1659,1918,1978,1765,1885,2189,2209,2404,2750,2541,1869,1584,1674,2023,2353,2454,1959,1872,1688,1505,1555,1644,1921,1980,1694,1844,2355,2702,2258,1954,1893,1618,2065,2201,2125,2430,2553,2249,1574,2002,2601,2170,1764,1887,1969,1907,2320,2325,1853,2322,2415,2141,2101,1880,2275,1925,1967,2200,1835,2023,2792,2911,2405,2107,2242,2706,2925,2808,3142,2860,2458,2445,2482,2295,2369,2802,3128,2940,2556,2792,3350,4196,3628,3076],[2574,2410,2833,2712,2477,2151,2290,3034,3446,3010,2409,2305,1990,1504,1725,1813,2272,3223,3924,4012,4049,3753,2973,2552,2580,2525,2394,2215,2239,2003,1895,1947,2417,2258,2208,2193,2523,2645,2645,2565,2384,2552,3179,3232,2850,2834,2205,2145,2391,2821,3100,2957,3006,2546,1960,1841,1879,2172,2678,3067,2446,2518,2728,2834,3074,2670,2470,2365,2696,3130,2345,1997,2099,2248,2035,2233,2301,2653,2866,2708,2584,3340,4074,3893,3374,2710,2321,2429,2401,2610,2424,2095,2255,2736,3065,2895,2752,3113,3122,2865,2437,1683,2042,2919,2341,2288,2680,2745,2772,2835,3017,3287,3211,2992,2972,2556,2225,2385,1926,2144,2688,2822,2979,3425,3570,3701,3801,3829,4014,4086,4136,3798,3664,3061,2447,2176,2290,2211,2071,1987,1946,1985,1817,1861,1824,2077,2509,2998,3025,2573,2436,2330,2113,1836,1995,3197,3676,3086,3024,3481,2840,2067,1610,1483,1493,1395,1354,1065,1269,1985,1938,1788,2128,1919,1927,2562,2210,1855,1465,1576,1629,1454,1647,1663,1743,1710,1710,1894,1919,1575,1801,2040,1859,1737,1814,2199,2288,1885,1868,2181,2297,2559,2514,2320,1849,1709,1678,1646,1843,1839,1599,1705,1931,2080,1706,2287,2066,1607,1759,1968,2201,2554,2757,2886,3319,3653,3258,2687,1811,1789,2132,2246,2142,2046,2190,2097,2018,2097,1976,2788,3910,3378,3031,3161,3150,2598,2401,2326,2118,1882,2076,2327,2019,1601,1234,1502,2132,1903,1959,2126,2294,2275,2204,2438,2853,2326,1977,2046,1954,2033,1933,2162,2011,1680,1928,2097,2093,2286,2380,2231,2062,2301,2723,2654,2140,2791,2082,1771,2236,2321,2460,2240,2497,3075,3044,3146,3146,2997,2114,1723,1513,2076,2437,2554,2001,1484,1686,2057,2215,1973,2463,2270,1848,2799,2459,2285,2365,1942,1809,1936,1968,1973,2059,2698,3140,2540,2258,2156,1962,1731,1690,1879,2415,2135,2121,2468,2422,2742,2751,1792,1809,2076,2064,1658,1757,1744,1542,1581,1897,2374,2503,2354,2224,2172,2056,1930,2154,2215,2061,1938,1769,1564,1752,2011,2025,1884,2010,2138,1932,1974,1739,1764,1633,1815,2135,2565,2699,2071,1841,1996,1869,1847,1714,1641,1528,2512,2720,2751,3006,3117,2987,2818,2831,1902,2080,2215,1908,1916,2029,2042,2025,1993,1591,1427,1804,2334,2216,1792,1526,1391,1555,1526,1265,1440,2179,2924,2454,1708,1493,1735,2304,2330,1840,1867,2002,1914,1831,1809,1903,1857,1777,1743,1822,2009,1914,1678,1708,1648,1932,2089,1677,1077,1070,1507,1476,1375,1636,1949,1862,1956,2226,2964,2655,2123,1531,1688,2010,1895,1669,2003,2269,2234,2230,1796,1845,2202,2962,2692,2229,1955,1716,1710,1800,1533,1494,2059,2288,1756,1848,2113,1953,2081,2434,3019,2885,2588,2707,2898,2462,1809,2053,2095,1872,1560,1519,1945,2121,2325,2220,2227,2094,1946,2483,2534,2053,2116,2224,1919,1639,1493,1302,1791,2403,2830,2887,2459,2407,2788,2137,2088,1918,1667,1453,1537,1587,1206,1606,1918,1722,1712,1781,1728,1838,2003,1941,1696,1534,1749,1827,1592,1555,1731,1675,1744,1858,1970,2767,3315,4107,3697,2343,2004,2529,3352,3907,3698,3542,3615,3549,3354,3229,2503,2443,1785,1137,969,1329,1677,1523,1423,1468,1845,2103,2340,3024,3311,3275,3851,3720,4244,4472,4520,4280,4232,3591,3275,3516,3344,3084,3043,3508,3285,2839,2866,3358,3550,3210,2495,2626,2777,2894,3082,3287,3836,3237,2406,2280,2910,2921,3510,3351,3458,3540,2976,2908,2533,3238,4453,3909,3288,4070,3904,3103,3098,2919,2635,2517,2390,2764,3118,2867,2669,2430,2326,2756,2708,2867,3041,3595,3714,3198,3000,2951,2265,1895,1924,1988,1965,1932,1791,1679,1427,1705,1925,1819,1723,1588,1726,1757,1891,2143,2653,3795,3440,3064,2988,2789,2557,2798,3708,3764,3050,2935,2722,2845,3592,2634,2251,2274,2410,3052,3109,2540,2933,3151,2769,2497,2024,2297,2200,1615,2338,2454,2395,2620,2509,2563,2662,2551,2330,2333,2280,2292,2352,2306,1803,1967,1908,1213,1361,1987,2037,1867,2048,2314,2496,2122,1931,1949,1911,1934,1707,1753,2070,2359,2401,2164,1669,1932,2036,1867,1681,2078,2397,2263,1965,1464,1758,2106,2031,2019,2145,2254,2181,2244,2205,2461,2205,1920,1713,1808,2843,3322,2878,2329,2300,2204,1909,1920,1827,1937,1985,1838,1484,1790,1931,2218,2913,3174,2654,2176,2219,2756,2950,2116,2155,2274,2118,2640,2845,2369,2035,1780,2011,2201,2707,3444,3185,3243,2562,2441,1971,1699,1649,1860,2640,2754,2517,2574,2237,2248,2807,2321,1647,1550,1692,1627,1366,1102,1079,1286,1425,1722,1825,1743,1740,1868,1569,1477,1370,1676,2010,1802,1641,1890,1714,1487,1424,1572,1636,1532,1727,1755,1682,1546,1682,1814,1613,1619,1543,1434,1482,1457,1925,2098,1910,2012,2959,3497,2644,2216,2208,2099,2076,2325,2829,2800,3031,2972,3371,3315,2623,2775,3006,2979,3024,3131,3270,2846,2745,3046,2666,2635,2887,2537,2370,2288,2269,2097,1835,1910,1976,2415,2535,2167,2448,2242,2610,2524,2354,2792,2484,2258,2558,2619,2065,1979,2096,2382,1703,1946,2194,1899,1537,2150,3209,3440,2545,2133,2568,2831,3035,2815,2835,2987,2513,2426,2265,2134,2036,2051,2233,2990,3659,3097,3024,2784,2291,2419,2525,2697,2544,2901,3184,2536,2279,3028,3123,3216,2856,2486,2728,2036,2280,2599,2374,2177,1725,1411,1404,1389,1657,1832,1729,1856,2128,2123,1902,1841,2056,1871,1834,2278,2298,1985,1934,2323,3221,3581,3610,3081,3459,3736,2141,1401,2148,2442,2211,2108,2518,3407,3439,2797,2668,2877,2497,2898,2962,2838,2490,2602,3164,3625,3876,3637,3261,3182,2319,2909,2784,2017,2996,3167,2614,2331,2307,2620,2869,2356,2379,2431,2265,3245,3493,3751,3647,3795,4284,3785,3108,2298,2059,2698,2632,1980,2708,2968,2403,2059,2089,2629,2701,2504,2243,2385,2844,2587,2100,2008,2585,3478,4073,4318,4286,4287,3839,3284,3475,3751,3263,2491,2162,3076,3537,2462,2128,2145,2288,2927,2962,2674,2608,2404,2257,2703,2382,2398,2651,2619,2645,2348,1837,2222,2632,2472,2013,1832,1882,2053,1853,1264,1524,2763,3001,2400,1856,1715,1828,2175,2332,1988,1605,1368,1837,1935,2388,1985,2137,2288,2177,1916,2562,2467,2386,2657,2112,2458,2073,1524,2432,3110,2687,2194,2263,2605,2370,2182,2161,2641,2975,2585,2289,2509,2286,2264,2421,2281,2372,2714,3906,4515,4436,4537,4488,4112,4172,3916,3573,3430,2603,2113,2344,2688,2598,2428,2899,3350,3055,2884,3087,3250,3261,2612,2487,3196,3195,3159,3299,3219,3155,3253,3154,2643,2396,3386,3384,3745,3873,3800,3753,3684,3504,3647,3827,3539,3464,3630,3632,3612,3481,3312,3460,3669,4006,3743,3745,4082,3950,3672,3663,3778,3613,3441,3129,3111,3277,2934,2061,1580,1711,1835,2313,2670,2454,2474,1804,1741,1614,1900,2100,1564,1393,1674,1775,1621,1832,2192,2107,2264,2520,2388,2644,2753,2685,2734,2613,2180,1777,2042,2027,1844,2308,3053,2706,2263,2713,2602,2227,2069,2242,2359,2432,2301,1978,2121,2375,2017,2013,2359,2247,2197,2147,1454,1512,1631,1598,1626,1611,1657,1938,2481,3200,3275,3016,3104,3183,3206,3103,3233,3433,3262,2835,2868,3042,2855,2841,2133,1255,2031,3216,4220,3846,3321,3255,3351,3006,2423,2306,2166,2425,3168,2286,2293,3387,4177,3625,2714,2251,2275,2480,2502,2639,2958,2863,2449,1906,2060,1751,1659,1408,1656,2150,2254,2783,2995,3039,3321,3016,2264,2458,2315,2503,2585,2547,2590,2597,2506,2092,2144,2736,2854,2931,2412,1768,1804,2076,2321,2210,2025,1579,1358,1862,2370,1946,1519,1498,1854,1909,1569,1732,2190,2919,2674,1900,1904,2407,2185,1745,1812,1995,2029,1976,2162,2229,2138,1731,1422,1416,1574,2116,2409,1686,1388,2437,3816,4471,4823,4652,4124,3853,3829,3758,4036,4492,4517,4058,3905,4417,4419,4055,3980,4211,4589,4526,4632,4732,4587,4394,3939,3351,3330,3326,3200,3422,3557,4007,4740,4619,4145,4445,5018,4536,3543,3858,3885,3317,2456,1826,2222,2779,2743,3159,3763,3299,2408,2291,2522,2286,2131,2041,2120,2306,2803,3538,3432,3055,2398,2042,1982,1596,1717,2192,2061,2159,2357,2105,1830,1561,1891,2066,1779,1759,1698,1861,2164,1919,1495,1969,1972,2181,1957,2338,3142,3142,2610,2270,2304,2329,2565,2788,2712,3028,3091,2509,2027,2148,2197,2116,1588,1540,2122,1968,2049,1827,1780,1961,2031,1786,1935,2104,2272,2343,2365,2863,2605,1575,1643,2267,2332,2061,1936,2312,2402,2068,2081,2091,1703,1701,1712,1718,1954,2171,2153,2199,2101,1685,1597,2019,2336,1969,1494,1644,2260,2340,2026,2119,1889,1535,1493,1507,1504,1572,1656,1764,1704,1527,1523,1525,1710,1650,1828,1968,1765,1426,1417,1649,1841,1569,1634,2059,2119,2097,1567,1274,1694,2418,1885,1360,1379,1635,1963,1903,1604,1664,1930,1961,1808,2066,1836,1927,2007,1831,1942,2018,1976,2114,2280,2599,2467,2194,2344,2388,2282,2083,2268,2481,2796,2995,3084,2666,2566,2755,2360,1877,1692,2255,2675,2413,2560,2486,2106,2240,2267,2084,2046,1658,1768,1791,1504,1458,1541,1800,1766,2040,2028,1676,1665,1669,1634,1548,1506,1480,1597,2017,2611,2125,1671,1507,1537,1629,1676,1896,2150,2026,1885,1884,2464,2889,2034,1673,1722,2155,2154,2229,2518,1977,1398,1625,2054,1965,1715,1594,1730,1534,1650,1800,1816,1615,1812,2544,2600,2636,3066,3098,2699,2597,2808,2831,1749,1318,1758,2095,2040,2277,2293,1907,2597,2355,1903,1641,1848,1955,1760,1764,1618,1752,2361,2533,2647,2274,2031,2169,2770,2443,2132,2407,2327,2373,2541,2430,2292,2116,2136,2213,2592,3065,3220,2997,3730,3271,2780],[2645,2750,2837,3043,2536,2150,2037,2241,2494,2303,2401,2486,2148,1767,2009,2756,3161,3281,3827,3926,3692,3485,3273,2743,2244,2265,2437,2033,1543,1597,1946,2296,2410,2335,2219,2179,2159,2091,2096,2185,2348,2740,3453,3248,2843,2775,2098,2147,2201,2504,2801,2872,2644,2120,1802,1947,1999,1838,2669,3288,3022,2795,2722,2633,2390,2130,2442,2634,2554,2492,2160,2265,2242,1954,1715,2203,2965,3269,3184,2850,2496,2857,3169,2698,2084,1882,2315,2743,2579,2319,2132,2065,2242,2736,3030,2729,2620,2737,2504,2511,2330,1607,1845,2098,1526,1797,2414,2479,2668,3141,3414,3573,2932,3108,3042,2394,2372,2769,2622,2535,2611,2773,3342,3580,3333,3569,3488,3229,3872,4219,3860,3828,3482,3493,3218,2447,2245,2177,2070,2009,1999,2556,2259,1980,2047,2173,2664,3249,3090,2533,2425,2389,2198,2731,3183,3780,3265,2797,2828,3130,2303,2210,2690,2553,2109,1808,1851,1794,2160,2063,1803,1639,2096,1807,1511,1488,1763,1919,1766,1940,1868,1471,1448,1547,1912,1790,1833,1877,1720,1833,2366,2388,1860,1802,1824,1939,2252,1924,1282,1795,2064,1963,2099,2142,1951,1857,1870,1967,2442,2147,1879,2241,2272,2264,2018,2239,2224,1813,1606,1763,2308,2890,2646,2281,2551,3296,3500,3420,2059,2175,2651,2383,2147,2490,2454,2071,2418,2265,2432,3739,4339,4207,3496,3253,2917,2368,2554,2713,2118,1406,1954,2141,1927,1836,1488,1877,2052,2176,1985,2120,2229,1978,1648,1894,2910,2281,2042,2619,2073,2130,2124,2258,1855,1619,1626,1624,2025,2430,2508,2332,1958,1995,2301,2390,2203,2624,1860,1916,2470,2441,2432,2376,2533,2443,2875,3442,3210,3201,2512,2077,1631,1880,1978,1890,1824,1706,2039,2488,2398,2123,2131,1935,1826,1959,1734,1865,2200,2005,1919,1924,1694,1889,2652,3245,3256,2308,2524,2384,2200,2044,1754,2003,2208,2022,2078,2039,2048,1817,1742,2053,1592,1869,1924,1700,1744,1660,1582,1691,1996,2243,2186,2072,1964,1952,2032,1888,1803,1800,1560,1629,1722,1625,1996,2300,2210,1898,1814,1914,1824,1642,1620,1733,1632,1559,2429,3366,2901,2344,2422,2056,2446,1768,1914,1865,1918,2365,2314,2444,2819,3011,3116,3057,2916,2240,2373,1964,1787,2004,1970,1835,1901,1851,1648,1909,2119,2846,2958,2306,1729,1758,2030,1665,1263,1459,2070,2736,2470,1590,1477,1824,2172,2609,1932,1659,1786,1691,1522,1616,1882,1942,1803,1746,1794,1830,1809,1720,1590,1620,1909,1942,1858,1493,1382,1555,1631,1644,1585,1914,1902,1870,1758,2156,2285,1813,1551,2017,2443,2279,2032,2138,2340,2074,1983,1787,1994,2093,2425,2284,1902,2042,2033,1707,1930,2032,1845,1931,2664,1895,1703,2104,2184,2127,1938,2608,2846,2119,2306,2950,2429,2008,2077,1910,1827,1779,1728,2048,2600,2472,2140,2123,1936,1776,2324,2498,2175,2286,1911,2134,1805,1407,1444,2053,2254,2147,2490,2379,2337,2512,1927,2008,2466,2260,1774,1926,2078,1779,1852,1733,1620,2285,2462,2004,1852,1781,1498,1528,1572,1655,1550,1385,1477,1609,1458,1520,1760,2173,3386,3918,4443,4323,3591,2932,3326,3905,4125,4172,3938,3688,3642,3347,3012,1964,2135,1183,1108,1372,1284,1424,1270,976,1085,1249,1506,2204,2562,2668,2391,2874,3105,3177,3708,4046,3681,3904,4212,4247,4255,4244,3857,3570,4082,4212,4084,4256,4152,4095,3426,2732,2736,2793,3154,3711,3872,4186,3641,2673,2676,2935,2862,2994,3108,2886,2453,2567,2482,2214,3086,3920,3288,3109,3983,3438,3370,3483,3522,3604,3185,2948,3051,3407,3604,3661,3105,2937,3588,3337,3272,3679,3806,3705,3417,3233,3104,2144,2047,1922,1946,1938,1962,1751,1678,1842,2140,1809,1601,1882,1848,1782,1798,1869,1901,2366,3733,3337,2784,2661,2955,2857,2742,3552,3672,2965,2711,2216,2415,2893,2542,2128,1976,2135,3075,3274,2721,3099,3418,3094,2613,2525,3194,2542,1948,2028,2040,2195,2192,1957,1853,2429,3370,2669,2710,2554,2163,2208,1902,1704,2132,1782,960,1506,2554,2198,1803,2264,2424,2595,2187,2058,2470,2164,1920,1768,1727,1797,1765,2007,2019,1869,2708,1952,1192,1553,2133,2399,2315,2051,1697,1794,2107,1969,2075,2093,2315,2175,2230,2218,2429,2197,1860,1721,2260,2940,3003,2595,2132,2227,2065,1733,1806,1731,1879,2254,1838,1735,1788,1735,2643,3750,4038,3591,3204,2866,2714,2530,2194,2332,2242,2252,2624,2429,2868,2933,2173,2285,2035,2709,2923,2797,3602,3752,3264,2690,2298,2153,2388,2857,2920,2414,2343,1675,2030,1776,1592,1660,1611,1586,1418,1143,932,1229,1327,1359,1691,1952,1798,1889,1776,1574,1610,1499,1614,1957,1902,1812,1958,1844,1591,1411,1375,1618,1606,1626,1678,1523,1676,1953,1686,1532,1676,1393,1390,1667,1710,1831,1626,1667,1780,2766,3660,2987,2176,1771,2197,2433,2790,3163,3509,3569,3333,3372,3586,3563,3322,3365,3542,3586,3242,2953,2752,2349,2004,1907,2795,3078,2513,2256,2237,2335,2438,2687,2380,1912,1888,2374,2535,2674,2110,2314,2656,2796,2186,1806,2380,2523,2588,1871,1912,2352,2503,2363,2326,2159,1996,1996,2567,3108,3020,2367,2064,2523,2834,2888,2445,2359,2754,2552,2222,2166,1951,2060,2430,2195,2592,2731,2590,2469,2326,2902,2834,2825,2864,2501,2858,3476,3312,2394,2685,3082,3395,3101,3255,3088,2546,2648,2714,2447,2218,1757,1505,1405,1472,1781,1721,1775,1953,1895,1832,2253,2326,2252,2085,2303,2566,2163,1998,1823,2038,2878,3352,3350,2626,2788,2677,1758,1420,1656,2296,2485,2442,3019,3188,2212,1998,2854,2447,1660,1887,2441,2692,2350,2050,2708,3348,3847,3648,3690,3635,2599,2472,2927,2445,2273,2968,3027,2414,2338,2208,2521,2975,2779,2382,2279,2662,3603,4060,3434,3413,4255,4320,3257,1912,2081,2470,2493,2062,2051,2850,2998,2409,1983,2280,2483,2260,1940,1949,2712,2897,2798,2828,2431,2172,2363,3113,3946,4268,3860,3264,3466,3526,3761,3410,3021,3768,3294,2447,2409,2555,2386,2404,2796,2831,2824,2276,1958,2521,2677,2999,3209,2706,2576,2750,2556,2198,1962,2065,2036,1794,1967,2232,2226,2004,2151,2545,2645,2233,2107,2024,1943,2232,2029,1736,2104,1462,1697,2187,2426,2344,2280,2260,2112,2291,3188,2818,2365,2479,2185,2450,2520,2099,2364,2542,2490,2464,2851,2322,1458,1255,1818,2813,2691,2290,2223,2352,2470,2886,2631,2328,2373,2542,3187,3714,3706,4197,4452,4175,4243,4112,3993,3912,3006,2214,2248,2468,2652,2731,2831,3079,3008,2872,2727,2990,3065,2768,2622,3021,3250,3237,3437,3739,3282,3116,3189,2693,1853,2652,3320,3808,3815,3625,3639,3731,3492,3311,3539,3587,3507,3570,3585,3509,3405,3483,4024,4108,4014,3741,3736,3982,3788,3537,3446,3616,3643,3562,3297,3323,3320,3001,2205,1767,1702,1611,1962,2236,2005,1951,1692,1773,1621,1762,1640,1362,1466,1850,1811,1686,1792,1989,2015,2396,2403,2341,2416,2170,2103,2263,2203,2014,2092,1918,1955,2129,1468,1813,2408,2706,3104,2806,2315,2221,2198,2107,2003,1692,1866,2354,2062,2037,2260,2746,2630,2593,2541,2265,2200,1948,1602,1670,1630,1684,1965,2202,2574,2998,2855,2888,3203,3263,3098,3106,3351,3330,2828,2590,2764,2753,2767,1782,1343,2348,3495,4120,3909,3364,3261,3269,2445,2431,2779,2161,2453,3320,2313,2305,3619,4070,3399,2700,1965,2127,2022,1828,2149,2261,2432,2580,2456,2132,1707,1517,1318,1787,2170,2497,2863,2374,2690,2858,2475,2248,2202,1976,2199,2422,2754,2935,2768,2653,2172,1814,2034,2307,1959,1504,1676,1858,1871,2114,2204,1910,1543,1501,2342,2785,1687,1473,1566,1831,1720,1292,1676,2164,2241,2110,1924,2116,2264,2196,1888,1966,1903,2094,2220,2553,2119,1913,1774,1412,1402,1390,1548,1661,1648,1816,2821,3804,4340,4755,4653,3941,3634,3908,3981,3838,4112,4284,4108,4112,4143,3993,3995,3814,4235,4676,4674,4719,4548,4215,3808,3294,3103,3040,2954,3264,3437,3755,4416,4828,4731,4391,4707,5260,4828,3635,3299,2601,2610,2338,1861,2172,2659,2596,2775,3300,3003,2152,1931,1668,1882,2074,2081,2138,2384,2556,2642,2192,1708,1566,2160,2495,2039,1991,2099,1735,1892,1901,2071,2206,1924,2022,1901,1687,2055,2870,2595,2291,1835,1538,1778,1793,1620,1567,2070,2596,2845,2631,2397,2409,2041,1978,2495,2920,3543,3542,2634,2611,3068,3061,2358,1700,2053,2454,2192,2388,2267,2084,2452,2426,2138,2151,2210,2431,2545,2691,2902,2565,2372,2381,2557,2181,2097,2186,2093,1732,1648,1843,2113,1836,2126,2014,2041,2126,2525,2505,2039,1703,1444,1502,2009,2551,2270,1868,1610,1826,2209,2305,2029,1794,1533,1546,1670,1649,1547,1512,1425,1417,1456,1592,1860,2114,1939,1924,1911,1644,1423,1346,1441,1573,1314,1562,1821,1976,1816,1462,1375,1673,1798,1488,1337,1508,2007,2301,1865,1638,1782,1852,1876,1720,1665,1555,1836,1814,1549,1598,1561,1592,1792,1996,2425,2636,2750,2820,3078,2776,2490,2468,2371,2297,2298,2214,1899,2117,2321,2007,1510,1466,2118,2565,2242,2073,2183,2307,2260,2110,2103,2427,2270,2391,2169,2268,2474,2700,2820,2286,2296,2271,1714,1584,1787,1664,1676,1660,1687,1690,1907,2007,1980,1805,1393,1417,1837,2076,2026,2176,1948,1698,1764,1902,2655,2706,2287,2195,2447,2464,2881,3064,2282,1405,1579,2001,1773,1875,1799,1579,1389,1445,1698,1665,1687,2058,2728,2674,3020,3216,2814,2181,2415,2789,2483,1735,1625,1994,2089,1818,1776,1671,1621,2137,2348,2221,1918,1842,1961,1896,1735,1521,1705,2113,2182,2563,2279,2275,2468,3301,3073,2514,2464,2304,2264,2260,2207,2287,2187,2309,2283,2899,3549,3676,3149,2889,2468,2372],[2559,2780,2977,3350,3133,2598,2259,2432,2803,2724,2735,2269,1583,1207,2099,3110,3249,3282,3419,3693,3601,3294,3432,2713,1859,2195,2524,2024,1223,949,1435,1948,2337,2414,2122,1952,1577,1658,2382,2654,2822,3093,3145,3283,3395,2998,2427,2159,2088,2065,2168,2655,2373,1989,1986,2116,1947,1548,2348,3089,2634,2263,2612,2677,2002,1935,2643,2894,2244,1969,1924,2281,2443,2024,1640,2074,2828,2800,2454,2141,2259,2239,2131,1873,2004,2304,2371,2240,2024,1992,2148,2249,2261,2513,2780,2673,2456,2412,2603,2610,2471,2172,2314,2376,2106,2030,2056,1990,2646,3621,3970,4083,3732,3247,2279,1489,1857,2489,2376,2229,2597,3175,3449,3602,3421,3812,3792,3964,4369,4352,4096,3688,3450,3765,3680,3340,3189,2982,3020,2532,2293,2879,3090,2596,2074,2157,2440,2392,2299,1959,2330,2179,2123,3717,4090,3469,2797,2866,2958,2707,2357,2699,2841,2415,2427,1896,1618,1694,2546,2288,1829,1693,1918,1726,1578,1620,1624,1897,1734,1828,1917,1655,1709,1640,1830,1809,1744,1693,1926,2384,2589,2098,1662,1722,1880,1615,1872,1400,976,1520,1391,1324,1665,1948,2055,2132,2119,1989,2246,2051,1825,2095,1928,1618,1416,1502,1903,2214,2004,1836,2232,2785,2455,1843,1863,2558,2741,2809,2147,2350,2944,2578,2355,2609,2373,2248,2237,2141,2503,3298,4083,4119,3029,3012,2899,2280,2599,2737,1936,1201,1876,2068,1869,1918,1737,1930,2101,2216,1842,1847,2081,1879,1553,1584,2533,2248,2199,2563,2044,2017,2125,1959,1819,1859,1980,1724,1935,2156,2128,2081,1863,2017,2193,2264,2444,2214,1855,2286,2584,2423,2351,2172,2517,2474,3024,3392,3108,3312,2580,1797,1626,1831,1898,1814,1870,1674,1981,3039,2587,2567,2116,1780,1767,1561,1511,1791,2058,1911,1936,2264,1694,1536,2344,2828,2303,2099,2569,2288,2137,1935,1695,1725,1998,1863,1748,1620,1898,2031,2777,2540,1864,2100,2220,2128,2083,1880,1744,1770,1805,1864,1969,1762,1729,1836,1725,1486,1505,1637,1473,1615,1756,2047,2193,2092,2143,1880,1688,1854,1831,1569,1537,1681,1614,1409,2124,2743,2373,2324,2141,1687,1603,1620,1893,1753,2163,2432,2231,2618,3075,2450,2486,2679,2230,1814,1930,1737,1554,1786,1983,1789,2008,2238,1914,2066,1684,2247,2917,2884,2182,2269,2490,1867,1340,1454,1792,2497,2315,1629,1334,1939,2193,2411,1951,1557,1528,1498,1572,1926,1935,1935,1841,1703,1663,1672,1705,1792,1648,1857,1932,1905,1970,1745,1572,1913,2179,1949,1571,1762,1981,1881,2080,2643,2518,2150,2372,2579,2779,2351,2049,2371,2501,2350,2270,2102,2171,2103,1882,1629,1646,2258,2279,2010,1700,1814,1873,1530,1516,1292,1473,1864,1985,1809,1506,2020,2431,1960,2152,2587,2058,1816,1956,2135,2121,2019,2211,2799,3123,2777,2248,2304,2130,1748,1857,2212,2584,2610,1691,1875,1975,1494,1383,1712,2082,2260,2283,2191,2298,2138,1802,2020,2320,1980,1710,1865,1875,1831,1655,1489,2313,3097,2415,1757,1650,1660,2053,2331,2227,1967,1656,1599,1744,1843,1820,1799,1886,2555,3395,3894,4383,4212,3504,3154,3708,4157,4232,4244,3792,3437,3168,2979,3271,2620,2094,1378,1160,1375,1710,1616,1277,1166,1396,1579,1368,1882,2612,3151,2313,2674,3019,2576,2774,3049,2855,3239,3951,3957,4083,4271,4182,4094,4264,4560,4856,4980,4793,4444,3750,3022,2742,2675,2753,3429,3790,3557,3370,3095,3017,3025,2895,3051,3728,3547,3197,2753,2520,2330,2330,2557,2729,3312,4112,3987,3737,3408,3020,2812,3316,2880,3310,3727,3717,3675,3519,3094,3185,3310,3439,3653,3659,3796,3557,3377,2820,2157,2386,2361,2102,1831,1658,1713,1893,1937,1929,1907,2014,2009,1775,1984,2136,1830,1815,3117,3376,2613,2707,2954,3028,2867,2282,2341,2546,2403,1987,1957,2337,2568,2803,2405,2057,2303,2778,3031,3296,3372,3454,3040,2621,2597,2973,2425,1807,1976,2226,2108,1908,1872,1931,2511,3724,3221,3000,2200,1561,1767,1991,1979,2215,1838,904,1503,2225,1957,2323,2988,2978,2699,2195,2267,2781,2559,2285,2299,2306,2226,2219,2321,2388,2638,3000,1868,1392,1903,2207,2380,2293,2031,1771,1947,2258,2120,2265,2107,2261,2279,2167,2200,2384,2148,1953,2049,2321,2640,2686,2152,1936,2057,1925,1846,1849,1925,2132,2042,1627,1823,1936,2383,3662,4240,4252,4196,4108,4176,3541,3132,2496,2060,1968,2533,2770,2761,3321,3582,2915,2412,2357,2484,2464,2590,2850,3254,3410,2678,2073,2179,2613,2598,2679,2629,2106,1531,1639,1531,1583,1650,1636,1453,1181,892,1157,1296,1340,1395,1807,1778,1633,1803,1686,1567,1688,1771,1782,1635,1588,1635,1685,1560,1627,1632,1888,2133,1976,1775,1575,1535,1866,1704,1656,1683,1607,1431,1471,1749,1839,1719,1695,1608,1413,1706,2129,2378,1948,1495,1831,2344,2963,3550,4005,3901,3688,3793,3972,3885,3577,3675,3684,3638,3486,3655,3113,2446,2078,2499,3209,2905,2534,2995,3081,3022,2691,2451,1816,1727,1904,2359,2742,2452,2041,2236,2300,1999,1593,2135,2112,2365,2302,2346,2414,2797,2786,2435,2374,2521,2242,2315,2501,2376,2298,2053,1878,2170,2331,2069,2155,2656,2891,2477,2185,2374,2403,2520,2468,2431,3089,2646,2603,2326,2419,2613,2292,2771,2564,2343,2666,2796,3187,3255,2778,3182,3244,2757,2287,2103,2210,2122,1976,2182,2298,2013,2027,1701,1628,1562,1902,2109,2255,1961,1796,2056,2327,2188,1823,2247,2769,2297,2041,1941,1920,2217,2316,2252,2097,2193,2109,1996,1985,1921,2488,2382,1861,2442,2288,1641,2042,2398,1699,1403,1665,1967,2722,2746,2402,2851,3287,3664,2651,2738,3499,2996,2147,2410,2790,2228,2278,3068,2889,2263,2487,2134,2604,3188,3282,3264,2654,2821,3787,3943,3791,4121,3986,2923,2065,2503,2931,2687,2330,1922,2351,3065,3024,2342,2172,2236,2358,2198,2485,2588,2165,2067,2366,3151,3153,2481,2171,2334,3436,3681,3306,3649,3784,3647,3274,3022,3570,3667,3450,3111,2823,2691,2445,2408,2214,2512,2628,2601,2859,2925,3009,3377,2881,2717,3098,2684,1856,1597,1892,2201,1926,2451,2591,2334,2082,1910,2138,2354,2302,2203,2333,2463,2426,2008,2082,2332,2140,2172,2464,2545,2492,1818,1914,2709,2791,3458,2570,2077,2312,2241,2218,2923,2933,2354,2149,2340,2511,2335,2186,1686,1921,2595,2600,2504,2205,2158,2389,2599,3145,3156,2610,2144,2259,2744,3257,2960,3907,4580,4276,4086,4028,3978,3870,3109,2418,2380,2268,2407,2642,2512,2107,2141,2762,2733,2667,2631,2558,2626,2894,3121,3009,3217,3550,3386,3215,3508,2766,1774,2103,3067,3780,3688,3451,3347,3404,3233,3098,3539,3715,3522,3396,3453,3582,3433,3539,3972,3940,3688,3559,3737,3816,3728,3630,3676,3782,3670,3529,3360,3188,3075,3044,2666,2460,2041,1881,2065,2084,1954,1571,1580,1722,1876,1749,1543,1556,1695,1774,1604,1494,1793,2300,2368,2387,2187,1995,1951,1891,2048,2182,2156,2112,2010,1908,2238,2635,1719,1556,1582,2242,2753,2615,2232,2073,2048,2186,2419,2048,2346,2324,1838,1915,2537,2978,3000,2864,2625,2281,2256,2075,1655,1576,1763,2076,2410,2445,2453,2646,2656,2750,2867,3213,3378,3019,3073,3281,2942,2796,2749,2745,2383,1115,1363,2362,2692,3174,3253,2814,3098,3173,2436,2669,2813,2401,2420,2824,2896,3182,3739,3561,3185,2702,1892,2247,2030,1862,2220,2054,1996,2150,2309,2002,1597,1637,1845,2214,2541,2895,2499,2198,2360,2321,2135,2556,2420,1930,2138,2417,2782,2780,2646,2758,2109,2013,2129,2495,1930,1534,1580,1579,1793,2166,2209,1869,1747,1770,2075,2036,1759,1697,1511,1504,1765,1919,2035,2334,2565,2204,1796,1821,1874,1849,1697,2003,2554,2687,2521,2332,1652,1567,1790,1544,1531,1620,1552,1378,1279,1972,3000,3527,3928,4535,4645,4079,3684,3890,4081,4100,4060,3978,4184,4187,3827,3736,3953,4038,4416,4708,4615,4486,4416,4019,3499,3065,3061,2770,2849,3327,3419,3916,4688,4875,4908,4957,5092,5064,4800,3884,3312,2386,2250,2221,2173,2396,2397,2382,2384,2236,2040,1822,1995,2120,2500,2315,2397,2410,2265,2363,2000,1375,1171,1502,2285,2448,1949,1917,1879,1803,1811,1912,2402,2454,1951,1743,2146,2309,2755,2814,2373,2135,1938,1613,1460,1716,1827,1704,2298,2768,2802,2713,2658,2088,1596,1577,2386,2723,2996,3001,2818,3048,3333,3294,2496,1746,1973,1955,2287,2700,2688,2630,2467,2281,2227,2342,2351,2442,2638,2587,2698,2356,2634,2053,2091,2446,2388,2649,2388,2149,2136,1901,2217,2420,2219,2350,2497,2597,2577,2214,1804,1515,1690,1644,2155,2648,2630,2328,1742,1686,1953,1855,1902,1998,1995,2309,2367,2316,1782,1570,1688,1488,1464,1592,1712,1798,1865,1889,1888,1722,1548,1447,1520,1462,1469,1665,2077,2072,1972,1685,1424,1411,1337,1441,1520,1462,1892,2146,1881,1565,2114,2775,2318,1746,1521,1516,1773,1690,1603,1659,1706,1880,2281,2386,2336,2080,1978,2246,2969,3395,2899,2512,2610,2835,2872,2248,2275,2302,2237,2175,1883,2030,2671,2689,2248,1985,2030,2025,1675,1758,2272,2129,2137,2239,2438,2958,3157,2799,2215,1841,2001,2064,1950,1792,1626,1538,1850,2041,1981,1870,2190,2303,2103,1958,1576,1588,1661,1633,1859,2031,1940,1870,1755,1952,2823,3266,3233,3316,3162,2701,2487,2496,1980,1742,1695,1588,1768,2274,2115,1781,1620,1786,1844,1761,1687,1743,2154,2740,3129,3034,2350,1667,1878,2326,2112,1926,1994,1969,1753,1733,1717,1649,1758,2612,2416,2284,2346,2309,2653,2140,1685,1792,1687,1856,2013,2167,2056,2071,2309,2721,2487,2144,2084,2095,2274,2345,2360,2456,2695,2966,3084,3279,3548,3617,3340,3063,2551,2534],[2692,2742,2588,2810,3521,3206,2584,2741,2968,3043,2980,2346,1572,1185,1938,2843,2942,2973,3206,3538,3733,3659,3586,2624,1939,2370,2599,2288,1926,1400,1568,2189,2641,2674,2380,2452,1735,1852,2874,3178,3436,3400,3209,3337,3304,2933,2507,2546,2401,2424,2795,2722,2340,1838,1726,1780,2042,2536,3204,3345,2814,2710,2881,2819,2217,2616,3178,3062,2427,2199,2314,2678,2741,2116,1602,2136,2614,1957,2018,2339,2471,2188,2037,2204,2397,2643,2702,2252,2209,2402,2232,2334,2112,2379,2375,2442,2678,3034,3138,3094,2972,2765,2691,2426,2367,2325,2024,1791,2314,3745,4241,3930,3031,2532,2304,1881,2033,2188,2062,2296,2585,2709,3430,3840,3639,3137,3398,4265,4627,4496,3851,3204,3349,3403,3570,3209,3123,3795,3975,3085,2037,1925,2488,2545,2200,2016,1416,1203,1717,2052,2282,1878,2580,4128,4301,3266,2938,3152,3035,2577,2571,2678,2170,1435,1817,1789,1555,1825,2107,2104,1833,1773,2041,1752,1963,1942,1918,1805,1532,1367,1576,1556,1598,1529,1538,1744,1844,1937,2171,2398,2534,1881,1755,1754,1722,1567,1783,1268,912,1187,1417,1659,1724,1886,1724,1844,1851,1771,1866,1643,1782,1901,1991,2023,1455,1529,1695,1927,2082,2186,2251,2525,2221,1792,1708,2150,2547,2884,2406,2002,1908,1694,2062,2565,2358,1961,1809,2129,2087,2213,2894,3087,3059,3237,2618,1822,2020,2041,2028,1970,2645,2325,1649,1671,2045,2186,2044,1992,1918,1855,1980,2557,1888,1651,1949,1887,2496,2975,2654,2397,1996,1830,1859,2081,2370,2083,2259,2446,2426,2378,2603,3593,4108,3284,2370,2172,2023,2261,2498,2203,2522,2701,2624,2452,2786,3056,3088,2942,2190,1416,1418,1692,1718,1729,1803,1812,1939,2690,2819,2822,2346,1970,1757,1736,1789,1780,1974,1928,1626,1996,1730,1485,1593,1904,1798,2103,2219,1883,1926,1976,1976,1942,2127,1765,1555,1575,2305,2851,2723,2164,2014,2018,1991,1981,1942,1888,1796,1587,1714,1731,1773,1587,1682,1760,1603,1908,2202,2030,1660,1518,1585,2331,2144,1962,2177,2035,1626,1802,2105,1820,1680,1759,1560,1551,1965,1881,1782,1866,1805,1780,1640,2017,2007,1671,2007,1984,2530,2884,2888,2432,2780,2467,2170,2094,1686,1473,1556,1954,2072,1901,1909,1872,1836,1425,1528,1780,2103,2489,2194,2134,2665,2648,2175,2166,2075,2720,2404,1771,1346,1850,2206,2201,1918,1737,1777,1879,2082,2524,2267,1983,2035,1801,1560,1210,1202,1566,1872,1983,1836,2212,2390,2102,1786,2020,2707,2295,1894,1807,1947,1946,2010,2516,2249,1866,2353,2477,2324,2183,2005,2619,2788,2490,2321,2291,2088,1775,1782,1616,1853,2088,1996,1766,1556,1642,1895,1974,1914,1653,1692,2033,2335,1985,1700,2247,2092,1826,2022,2107,1872,2028,2167,2543,2553,2058,2038,2636,2941,2574,2190,2508,2069,1806,1913,2334,2736,1984,1630,2330,2162,1705,1654,2137,2310,1919,1890,2055,2287,2198,2162,2066,2042,1954,1723,1601,1606,1555,1694,1914,2456,2437,2248,1603,1693,1891,2278,2824,2715,2113,1886,2179,2248,2178,2351,2331,2073,2661,2895,3682,4003,3154,3005,3397,4036,4120,4107,3984,3674,3609,2754,2683,3169,2789,1986,1267,1208,1389,1758,1476,1175,1200,1402,1610,1455,1685,2364,2979,2674,3113,3771,3224,2606,2809,2777,2579,3413,3343,3121,3607,4227,3886,3467,3670,4231,4540,4544,4540,4443,3881,2793,2980,2811,2973,3496,2764,2275,2962,3025,3386,3952,4188,4333,4127,3363,2790,2626,2653,2787,2831,2817,3230,3362,3091,2824,2479,2620,2312,2653,2492,3776,4298,3758,4132,3896,2834,2508,2819,3428,3572,3385,2830,2833,3144,2602,2314,2856,2758,2401,2409,2498,2492,2257,2263,2324,2293,2472,2520,2786,2740,2458,2256,2223,2742,2554,1887,1924,2414,2568,2334,1641,1687,1767,1808,2060,2356,2236,2233,2521,2711,2254,2112,2187,3075,3792,3480,3186,2889,2613,2608,2945,2466,1769,1944,2246,2097,1984,2446,2577,2937,3425,3038,2891,2204,1742,2358,2670,2198,2248,2042,1019,1398,2041,1957,2994,3374,3354,2887,2110,2291,2644,2316,2210,2280,2323,2363,2355,2335,2286,2392,2355,1595,1346,1835,2199,2320,2299,2153,1585,1748,1885,2041,2063,1956,1959,2029,1906,1936,2030,2170,2494,2382,2410,2235,2351,2304,1945,1818,1766,1968,2071,2022,2160,1971,1669,1940,1858,2651,4049,3520,3370,3085,2674,3220,3702,3313,2360,2025,2249,2642,2350,2467,2978,3813,2940,2172,2416,2351,2388,2526,2455,3241,2972,2105,1920,2438,2764,2715,2389,1969,1689,1653,1667,1612,1492,1481,1453,1208,873,1117,1354,1328,1344,1723,2004,1791,1692,1802,1623,1671,1597,1653,1639,1564,1484,1476,1486,1470,1559,1993,2473,2626,2177,1753,1707,2008,1946,1644,1780,1560,1516,1516,1534,1657,1664,1861,2274,1890,1548,1501,1672,1726,1866,2352,2434,2561,3022,3626,3980,3514,3273,3384,3529,3340,3506,3439,3317,3246,3132,3450,3285,2689,2540,2850,2730,2048,1945,2828,2846,2526,2254,2153,2546,2348,1930,2192,2360,1961,1704,1923,2030,1862,1748,2472,2633,2920,3017,2987,2633,2358,2220,2122,2451,3012,2032,2208,2738,2758,2656,2442,2198,2080,1945,2147,2962,2934,2489,2269,2359,2301,2824,2642,2199,2234,2931,3463,3432,2688,2375,2360,2586,2746,2474,2864,2539,2080,2712,3388,2614,2911,3107,2481,1865,1665,1897,1924,1964,2478,2186,2305,2039,1618,1641,1627,1871,1856,1996,2151,1844,1607,1997,2433,2395,2796,3362,3088,2221,2104,2027,1996,2187,2522,2486,2409,2547,2355,2567,2744,2876,2609,2377,2409,2174,2053,2469,2668,2063,1835,1848,2386,3174,3274,3230,3194,3105,3610,2885,2180,2835,3380,2560,1971,2626,2731,2222,2644,3304,2553,2351,2135,2177,3041,4156,4372,3458,2519,3008,4019,4006,3829,3742,3404,3159,3376,3675,3100,2450,2214,2061,2225,2922,2551,2452,2577,2422,2013,1964,2361,2399,2233,2008,2077,2386,2754,2596,1934,2583,3219,2877,3340,3883,3904,3865,3658,3797,4159,4344,3924,3481,3477,3197,2533,1810,1985,2173,2569,2881,2825,2562,2766,2809,2302,2070,2113,1953,1922,2104,2668,2667,3211,2973,2016,1621,1698,1837,1982,2138,2006,2139,2523,2627,2291,2570,2264,2192,2334,2602,3082,2539,1542,1844,2663,2876,3400,2717,2907,3253,2899,2488,2648,3041,2686,2172,2333,2150,1933,2248,2395,2475,1774,1897,2554,2286,2115,2050,2198,2634,2609,1911,1815,2952,3605,3706,3525,4144,4632,4284,3841,3602,3662,3851,3315,2778,2578,2441,2358,2392,2498,2444,2408,2653,2596,2346,2160,2232,2343,2585,2872,2719,2864,3286,3548,3298,3031,2785,2249,1735,2437,3618,3751,3489,3234,3257,3127,3174,3448,3519,3329,3189,3273,3509,3561,3487,3542,3751,3768,3582,3691,3585,3583,3677,3689,3596,3540,3361,3186,3134,3066,3144,3143,3522,3112,2246,2141,2272,2206,1867,1639,1882,2004,1840,1688,1597,1634,1532,1541,1561,1781,2273,2315,2385,2146,1814,1838,2061,2044,1958,2151,2392,2282,2437,2855,2530,2062,1918,1570,1751,2243,2261,1960,1746,1663,2215,3207,2675,2160,1663,1422,1699,2104,2598,2769,2388,2044,2045,2535,2256,1839,1826,1901,1784,1982,2341,2385,2579,2917,2819,2354,3134,3393,3098,3149,3200,3140,3084,2858,2696,1706,628,764,1102,1598,2517,2913,2963,3382,3170,2665,2812,2997,2809,2500,2686,3318,3664,3299,3256,3602,2645,2152,2216,2334,2402,2248,1804,1895,2070,1893,1659,1237,1559,2135,2424,2991,2812,2249,2150,2054,2266,2272,2504,2486,2110,1942,2351,2857,2864,2823,2640,1914,1844,1884,2190,2243,2031,1772,1764,2360,3022,2819,2427,1977,1846,1910,1817,1991,2178,2041,1741,1883,1907,1873,2855,3152,2053,1785,1688,1529,1618,1669,1949,2632,2612,1951,1918,1729,1550,1788,1760,1758,1807,1621,1634,1431,2018,3331,3946,4030,4444,4560,4035,3619,3708,3893,4112,4054,3969,4099,4220,3915,3770,4038,4159,3993,4304,4532,4439,4400,4160,3482,3175,3174,3089,3128,3234,3521,4275,4948,4992,4872,4928,5060,4806,4688,3848,3378,3095,2570,2064,2032,2236,1942,1666,1644,1565,1615,2018,2934,3240,2711,2564,2966,2887,2428,2027,2128,2556,1865,1488,2135,2365,2822,2847,2163,1709,1510,1758,2097,2455,2376,2141,2809,2973,3098,2916,2624,2178,1658,1726,1942,2226,2249,1833,2385,2566,2732,2981,2575,2240,2169,2109,2334,2422,3053,2912,2611,2647,2409,2518,2492,1898,1577,1560,2518,3431,3277,2625,2347,2267,2584,2580,2151,2334,2664,2452,2367,2430,2410,2112,2085,2604,2857,2929,2707,2498,2257,2384,2611,2288,2114,2440,2248,1946,2039,2069,1774,1704,2366,1983,2360,2360,2545,2302,2083,2343,2174,1715,1994,2228,2104,2372,2618,2610,1815,1554,1692,1567,1584,1556,1490,1485,1392,1606,1778,1781,1671,1574,1472,1250,1413,2099,2482,2132,1901,1586,1335,1207,1256,1315,1474,1455,1926,1944,1650,1559,2198,2548,1845,1342,1438,1650,1553,1699,1814,1677,2078,2059,2222,2400,2237,2116,2192,2086,2172,2714,2529,2930,3209,3624,3460,3174,3206,2846,2663,2374,2156,2382,2670,2649,2386,2120,2182,2246,1823,1979,2105,1702,2063,2362,2331,2568,2415,1888,1807,1677,1937,1969,2012,1930,1672,1915,2280,2058,1788,1946,2254,2365,2176,2046,1550,1353,1402,1760,1991,1837,1785,1886,2041,2830,3397,3287,3180,3110,2630,2142,1798,1735,1729,1899,1493,1107,1929,2820,2780,2184,1756,1976,1562,1409,1429,1653,1709,2047,2864,3227,2499,1901,2416,2844,2231,2117,1968,1909,2058,1848,1836,1923,2070,2366,1980,1921,1997,2220,2548,1652,1592,2136,2175,2460,2299,2215,1963,2039,2353,2476,2484,2486,1963,2076,2181,2087,2195,2511,2795,3086,3386,3408,3516,3672,3306,2710,2332,2260],[2243,2096,2302,2669,3143,3065,3055,3187,3084,3041,3252,2717,2238,2187,2341,2931,3226,3215,3165,3149,3610,3187,3244,2884,1825,1162,1320,2111,2126,1495,1829,2112,2325,2341,2074,2467,2398,2148,2558,2734,2802,2835,2859,2807,2743,2597,2776,3091,2629,2878,3430,2765,2745,2686,2059,1801,2251,2611,2801,2961,3083,3029,2911,2979,2768,3201,3438,3082,2920,2979,2583,2671,2611,2324,2080,2373,2696,2277,2497,3140,2559,1995,2202,2645,2677,2754,2909,2495,2397,2395,2320,2428,2565,3086,2964,2944,3460,3712,3348,3155,3234,3152,3178,2909,2421,2278,2088,1918,1978,2705,3019,2585,2285,2830,3022,2259,2018,2466,2569,2796,3041,3010,3371,3347,3532,3364,3289,4097,4404,4292,3760,3084,3376,3261,3151,2821,2375,3006,3485,3167,2519,2047,2046,2188,2127,1920,1157,989,1828,2433,2232,2656,3868,4341,4166,3770,3543,3670,3464,2622,2522,2747,2338,1485,1385,1888,2155,2465,2200,1731,1839,2118,2310,1954,2207,1989,1918,1816,1463,1274,1349,1456,1641,1611,1665,1914,2143,2503,2385,2261,2116,1630,1736,2002,1863,1611,1626,1333,1474,2320,2609,2178,2034,2041,1759,1620,1490,1694,1960,1906,2200,2034,1973,1919,1499,1771,1621,1603,1838,1965,2304,2386,2122,2013,2068,2237,2336,2566,2077,1593,1641,2439,2598,2332,1924,1427,1435,1963,1930,1815,1930,2337,3208,3063,2343,1938,1805,2069,2356,2437,2746,2192,1730,1648,1821,1956,1841,1658,1759,1858,2214,2644,1842,1968,2344,2120,2757,3549,3295,2511,1566,1540,1575,2056,1785,1952,2320,2155,1888,1923,2875,4388,4672,3259,2433,2850,3069,2034,2318,2107,2439,2670,2375,2113,2136,2250,2071,2071,2035,1638,1801,2127,1743,1758,1781,1642,1779,2221,2392,2578,2911,2685,1820,1754,1737,1672,1623,1529,1443,1677,1795,1622,1467,1511,1890,2730,2512,1816,1644,2220,2163,2081,2075,1994,1971,2066,2619,2662,2099,2014,1974,1853,1907,1996,1891,2089,1936,1671,1752,1570,1633,1643,1720,1807,1750,2071,2139,1687,1570,1876,1880,2171,2089,2137,2243,1946,1703,2069,2399,2663,2449,2687,1750,1349,1440,1632,1750,1707,1894,1815,1950,2858,2762,2203,1864,1532,2332,2608,2728,2476,2379,2373,2459,1960,1375,1382,1603,1786,2042,1913,1810,1742,1557,1331,1580,1584,1698,1932,1894,2002,2557,2610,1929,2061,2236,2955,2309,1510,1511,1757,2180,2411,1914,1873,1819,1925,2316,2297,2363,2885,2790,2318,1750,1503,1747,1777,1760,1931,1826,2296,2724,2347,2047,2199,2667,2268,1816,1782,1956,1694,1730,2044,1936,1981,2543,2472,2223,2100,2552,2854,2636,2606,2696,2386,1810,1733,2054,2172,2096,1966,1969,1926,1742,1676,2009,2174,2066,1964,2040,2212,2180,1791,1979,2336,1902,1521,1646,1866,1843,1968,2416,2942,2802,2240,2127,2285,2374,2065,1763,1923,2160,2030,1900,2284,2436,2136,2189,2428,1969,2041,2417,2295,1787,1670,2116,2596,2806,2583,2459,2110,1873,1825,1724,1709,1924,1991,1839,2058,2091,2401,2322,1920,2177,2002,1902,2446,2642,2141,2309,2974,2633,2491,3191,2429,2130,2702,2742,3573,3863,2973,2864,3636,4028,3860,3634,3625,3470,3139,2607,2764,2768,2472,2193,1601,1603,1638,2113,2345,1908,1469,1611,1666,1519,1690,2231,3061,3509,3935,4424,4245,3174,2949,3305,2629,2679,2379,2115,2893,3729,3167,2520,3414,4079,3871,4084,4256,4037,4312,4152,4240,3650,3022,3252,2963,2956,3196,3219,3732,4229,4481,3987,3837,3560,3182,2908,2750,2839,2932,2952,3008,3024,3279,3429,2695,2654,2369,2376,3123,4113,3919,3532,3522,3075,2622,2821,2867,3053,2832,3470,2645,2864,3173,3008,2954,2896,2502,1946,1999,2501,2645,2847,3143,2987,2786,3054,3204,3060,2820,2845,2685,2366,2383,2105,1469,1121,1576,1569,1334,1005,1046,1214,1844,2202,1669,1533,2052,2101,2518,2518,2544,1996,2522,3025,3417,3329,3152,3023,3159,3500,3080,2130,2368,2804,2806,2432,2774,2899,3453,2886,2070,2487,2769,2575,2469,2330,1996,2366,2056,1226,1525,2096,1974,2584,3211,3307,2934,2165,2272,2719,2453,2430,2419,2357,2353,2281,2226,1950,1875,1831,1472,1391,1897,2228,2332,2215,2148,1811,2125,2142,1957,2017,2021,1805,1827,1717,1792,1727,1765,1693,1958,2266,2493,3161,3108,2678,2272,1906,2011,2149,2076,2156,1777,1661,1881,2079,3384,3982,3625,3163,2761,2632,2597,2658,2259,2107,2134,2439,2523,2722,2945,3309,3299,2236,2019,2332,2310,2509,2204,2142,3017,3105,2393,2399,2691,2956,2806,2063,1559,1509,1574,1621,1560,1580,1707,1362,946,1018,1285,1394,1412,1707,2157,2037,1710,1575,1735,1530,1558,2208,1949,1554,1377,1372,1529,1573,1460,1715,2355,2553,2833,2732,2086,1886,1858,1764,1791,1550,1323,1496,1456,1584,1678,1716,1809,2199,1904,1539,1286,1166,1982,2684,3078,3107,2805,2692,3306,3635,3419,3352,2976,3193,3127,3177,3197,3230,3117,3077,3261,3053,2557,2708,3124,2078,2000,2399,2940,3138,2867,2567,2714,3047,2691,2484,2663,2437,1978,2082,2179,2018,2088,2232,2242,2244,2451,2821,2894,2581,2103,2601,2672,2216,2543,1985,2124,2403,2602,2436,2479,2195,1452,1593,2398,3041,2142,1505,1430,1848,2545,2416,2419,2257,2033,2514,3090,3389,2935,2139,2593,3013,2643,2181,2695,2652,2215,2741,3373,3309,3207,2990,2519,1636,1707,2329,2291,1941,2629,2522,2563,2364,2181,2088,2199,2217,2134,2398,2353,2027,1823,2029,2285,2539,3072,3206,2689,2238,1901,1724,1855,2116,2545,2603,2519,2587,2095,2288,2649,2480,2399,2649,2584,2114,1769,2321,2330,1526,1965,2175,2824,3671,3742,3406,3426,3152,3514,3573,2642,2265,3055,2733,2000,2177,3038,2676,2138,2907,3008,2468,2557,2930,3444,4465,4552,4332,3724,3281,3534,4175,4268,4101,4033,4196,4321,3959,3359,2461,2054,2087,1909,2439,2657,2491,2365,2079,2343,2347,1967,2020,2184,2425,2353,2019,1989,2883,3031,3001,3275,3033,2741,2625,2987,3658,4068,4157,4333,4257,3839,3521,3785,3119,2121,1876,2051,2162,2090,2193,2390,2624,2710,2134,1657,1894,2293,1858,1901,2400,2995,2835,2973,2806,2246,2422,2494,2071,2240,2125,2454,2137,2354,2499,2510,2502,2170,2347,2566,3216,3287,1739,1617,2051,2060,2476,2292,2416,3203,3676,3415,2357,1902,2332,2427,2386,2193,1973,2415,2850,2844,2495,1935,2024,2196,2186,2197,2039,2036,1757,1618,1642,1967,2994,3884,3854,3741,4277,4472,4004,3442,3220,3241,3499,3171,2855,2796,2612,2548,2316,2526,3003,3201,2997,2662,2254,2040,1986,1937,2104,2371,2223,2368,2976,3115,2433,2288,2697,2455,1766,1900,2915,3487,3374,3311,3320,3174,3120,3261,3296,3178,3188,3351,3398,3580,3682,3728,3750,3629,3547,3617,3597,3618,3639,3538,3437,3418,3349,3261,3210,3010,3107,3495,3838,3460,2864,3097,2728,2281,2126,1734,1695,1977,1932,1740,1757,1572,1520,1545,1632,1639,1662,2045,2380,2601,2368,2569,2339,1730,2031,2571,2626,3037,3249,2850,2178,1887,1948,2154,2536,2578,1995,1634,1621,2110,2458,2643,2285,2011,1571,1386,1432,1767,2093,2342,2535,2337,2225,2454,2214,1963,2020,2353,2518,2620,2608,2489,2768,3073,3185,2120,2673,2817,2951,2937,2902,3173,3117,2707,1846,870,511,665,1147,1758,2557,2721,3049,3588,3071,2583,2958,3050,3024,3095,3288,3675,3667,3046,3461,3939,3428,2901,2874,2821,2576,2258,2077,2411,2458,2176,1617,1016,1623,1946,2271,2913,2908,2972,2531,2137,2303,2250,2186,2033,1964,1665,1658,2001,2684,2922,2275,1844,1874,1860,1943,1742,1833,1651,1645,2308,3161,3431,3020,2209,1889,1902,2084,2296,2233,1793,1796,1917,1933,2314,2813,2481,1766,1750,1631,1608,1676,1657,1855,2374,2299,1669,1645,1571,1478,1582,1816,2584,3029,2525,2100,2183,2696,3151,3882,4237,4284,4331,4062,3741,3778,3905,3791,3790,3980,4161,4236,4029,4028,4124,4249,3916,3929,4335,4620,4427,3879,3520,3298,3150,3043,3176,3815,4599,5048,5269,5156,5080,5138,5237,4792,4513,3724,3087,3097,3127,2758,3594,3592,2168,1451,1435,1504,2143,2599,3001,3216,2915,2728,2648,2253,2434,2338,2549,2880,2270,1520,2132,3046,3328,2755,2222,1989,1870,2225,2163,2358,2612,2754,3436,3261,2933,2536,2211,1958,1704,2917,3274,2559,1861,1963,2524,2249,2332,2757,2345,2925,3439,2526,2429,2545,2441,2712,2853,3061,2184,2165,2287,2122,2510,2777,3067,3707,2932,2302,1966,1808,2668,2831,2517,2488,2409,2135,2618,2950,2720,3124,2985,3334,3261,2632,2504,2286,2142,2258,2577,2545,2426,2216,1901,1810,2268,2503,2173,1982,2473,2394,2276,2270,2557,2414,2545,3212,2965,2063,2425,2559,2081,2152,2593,2655,1971,1698,2122,2077,1751,1772,1709,1527,1396,1874,1896,1647,1533,1695,1766,1891,1896,1845,2011,1945,1732,1693,1718,1049,1287,1460,1519,1703,1807,1796,1570,1427,1931,2317,1546,1413,1736,1783,1400,1667,1645,1670,1969,1961,2314,2438,2629,2878,2600,2371,1859,2211,2429,3418,4196,4352,4124,3936,3676,3562,3374,3178,2896,2460,2298,2176,2154,2036,2303,2659,2436,2669,2371,1872,2258,2282,1947,2139,1876,1636,1896,1612,1587,1743,2088,1855,1535,1719,2106,2166,1881,2019,1809,1732,2072,1927,1523,1657,1909,1952,1951,1732,1712,1869,2416,3476,3938,3503,2816,2351,1989,1549,1468,1555,1661,1677,1451,1577,2360,2833,2546,1954,1734,1924,1603,1296,1537,1611,1355,1671,2878,3663,2895,1950,2209,2368,2305,2282,2067,1746,1815,1808,2184,2082,1788,1925,1755,1786,1793,1855,1769,1782,2274,2314,2307,2830,2668,2023,1744,2176,2025,2246,2566,2439,1991,2398,2265,2036,2132,2353,2826,3018,2858,3013,3256,3550,2861,2436,2648,2592],[2132,2317,2284,2205,2255,2666,3125,3227,3311,3362,3501,3284,3106,3263,3218,3616,3879,3641,3110,2851,2812,2513,2899,3054,2498,1775,1555,2238,2434,2136,2356,2092,1876,1958,1732,1499,1830,2238,2322,2164,2174,2265,2343,2310,2395,2502,2845,3138,3118,2912,2660,1963,2020,2696,2680,2300,2972,3593,3382,3220,3313,2979,2896,2812,2758,2938,3024,2910,2869,3275,3008,2603,2398,2478,2558,2656,2832,2532,2552,2872,2600,2352,2404,2818,2784,2730,2654,2817,2513,2743,2743,2412,2688,3232,3237,3167,3716,3780,3405,3162,3160,3194,3244,3260,2643,2032,2253,2291,1750,1475,1808,2522,3160,3307,3200,2326,2076,2465,2608,2797,3332,3475,3320,2854,3084,3186,2843,4169,4327,3945,3498,3584,3538,3431,2993,2766,2420,2469,2996,2924,2698,2461,1878,1909,1642,1972,2107,1813,1994,1971,2126,3481,4311,3768,2931,2975,3782,4090,3561,2933,2893,2877,2406,1770,1732,1921,1815,1988,2090,1621,1654,2073,2032,2013,2056,1897,1934,1842,1434,1293,1444,1773,1936,1787,1867,1958,1864,2151,2208,2187,2066,2041,2196,2261,2020,1819,1801,1660,1960,2229,2440,2422,2430,2242,1976,1922,1787,1911,2075,2228,2286,1917,1933,1792,1843,1810,1877,1805,1848,1842,2128,2426,2308,2332,2280,2105,1718,1887,1763,1869,2549,3100,3216,2719,2301,1948,1402,1681,1737,1850,1842,2026,1964,1869,1896,2012,1792,2122,2037,2023,2024,1969,2057,1687,1638,1980,2223,1853,1622,1582,1788,1801,1704,2050,2158,1893,2056,2639,2805,1992,1458,1470,1580,1977,1734,1577,1675,1803,1892,2022,2540,3420,3128,2342,2174,3082,3544,2237,2251,2467,2468,2338,2200,1785,1738,1804,1754,1721,1824,1713,1998,2198,1807,1758,1915,1577,1683,2166,2082,2072,2214,1997,1468,1437,1446,1426,1438,1547,1628,1720,1852,1754,1750,2091,2011,2097,1939,1871,1916,2358,2386,2182,1987,1926,2098,2284,2335,1926,1760,1760,1669,1699,1786,1870,1990,1974,1638,1761,1860,1749,1752,1584,1655,1709,1724,1818,1859,2066,2214,2235,1960,2143,2234,2002,2214,2063,1812,2210,2380,2563,2512,2624,2129,1650,1440,1637,1890,1992,2422,2453,2313,2657,2656,2447,1440,1222,1385,1653,1972,2161,2249,2293,2444,1681,1161,1299,1804,1840,1745,1825,1967,2097,1748,1565,1980,2039,1748,1830,2271,1995,2186,1997,1742,1737,2004,2818,2456,1500,1499,1873,2232,2841,2300,1913,2075,2232,2158,1895,2086,2729,2643,2199,2198,2711,2402,2197,1847,2254,2314,2257,2492,2142,1758,2004,2288,1847,1522,2038,2243,1698,1888,1798,1714,1788,1932,2198,2294,2055,2244,2620,2677,2879,2940,2325,1756,1852,1893,2304,2136,2268,2132,1880,1552,1613,2090,2122,1965,2146,1498,1093,1301,1462,1963,1824,1439,1420,1634,1814,1871,2207,2281,2768,2237,1961,2222,2979,2751,2292,1932,2031,2218,2099,2302,2412,2291,2578,2294,1860,1814,1841,2248,1954,1483,1951,2274,2467,2755,2931,2950,2288,1860,1802,1809,1652,2008,2414,2066,2037,2092,2122,2208,2187,2446,2363,2370,2508,2626,2412,2709,3007,2311,2531,2901,2200,2169,2438,2391,2733,2899,2378,2234,3587,3761,3457,3388,3426,3332,3031,2806,2851,2674,2149,2564,2451,2174,2045,2706,3197,2747,1880,1594,1616,1611,1828,2222,2986,3517,3990,4332,4109,3106,2919,2931,3283,3387,2730,2446,2485,2951,2669,2432,3530,4181,3861,3650,3395,2999,3317,3717,4084,3894,2918,2494,2728,3630,3207,3543,3840,4336,4275,3177,3158,3603,3881,3868,3561,3638,3836,3402,3141,2708,2499,3215,3557,3009,2441,2364,3027,3293,2503,2173,2228,2588,2830,3260,3496,2556,2156,2633,3168,3470,3275,3147,3203,3312,2841,2287,2437,1965,2319,3008,2754,2978,3243,3198,3667,3924,3783,3522,3207,2521,2131,1796,1462,1594,2133,1824,1540,1749,1849,1964,2214,1898,1450,1732,1903,1614,1716,1776,1592,1310,1446,2220,2288,1621,1766,2214,2232,1975,1814,1494,1685,2173,2366,2006,2317,2800,2815,2204,1941,2498,3001,2988,2285,2230,2324,2490,2150,1697,2052,2331,2017,2473,3150,3095,2868,2145,2013,2354,2591,2797,2705,2579,2599,2477,1734,1339,1689,1736,1359,1513,2121,2179,2227,2130,2131,1792,2016,2123,1793,2055,2014,1914,1905,1789,1804,1759,1903,1789,2441,2743,3062,3295,3270,3275,2829,2282,2110,2193,2013,2017,1757,1810,1941,2666,3930,4240,3804,3229,2911,2209,2266,2720,2274,2744,2387,2313,2673,3413,3816,3629,2603,1926,2182,2136,2049,2129,1911,2696,3132,3354,2718,2662,2829,2775,2125,1655,1535,1532,1417,1380,1455,1593,1478,1143,951,1269,1344,1372,1546,2098,2126,1738,1421,1571,1784,1565,1242,2063,1771,1360,1459,1543,1531,1556,1597,1747,2523,2934,2639,2387,2030,2117,2129,1863,2094,1905,1668,1642,1513,1474,1477,1600,1764,1787,1688,1513,1425,1963,2679,2918,3153,3200,2964,2292,3103,3309,3185,3097,2807,2863,3344,3443,3221,3219,3162,3162,2850,2603,2534,2276,2192,2449,2880,3361,3736,3748,3190,2383,2512,2969,2776,3191,2748,2568,2942,2692,2265,1990,2135,2401,2293,2015,2308,2398,2192,2468,2486,3084,2897,2905,2498,2471,2500,2098,2219,2149,1965,1742,2035,2212,2668,3166,1918,1174,1192,1710,2688,2620,2613,2389,1831,1717,2070,2996,2921,2062,2592,2872,2670,2097,2037,2220,2732,3043,3097,3021,2595,2748,2735,2221,2857,2966,2416,2264,2468,2763,3143,3584,3384,2956,3138,2875,2533,2796,2758,2373,2324,2337,2209,2690,3223,3266,2700,2264,2106,1776,1791,1878,2045,2573,2749,2483,2192,2356,2510,2102,2243,2909,2680,2015,1493,1632,1906,2278,2877,3090,3506,3806,3544,3452,3377,2971,2997,3400,3360,2327,2343,2863,2711,2115,2414,3097,2721,2316,2777,3130,3701,4411,4458,4431,4387,4572,4508,4012,4099,4492,4421,4256,4223,4339,4256,3816,3603,2666,2350,2139,1963,1980,2565,2753,2125,1742,2229,2527,2544,2526,2082,1951,2100,2367,2360,3562,3885,3427,3428,3396,3586,2778,2065,2302,2852,3616,3889,3761,2706,2149,2851,2412,1897,1967,1916,1994,2087,2166,2292,2404,2048,2069,1975,2031,2051,2011,2249,2574,2858,2823,2728,2165,2051,2018,2128,2058,2240,1936,2173,2288,2435,2235,2245,2380,2762,3394,3665,3521,2121,1604,2043,2003,1836,1899,1706,1781,2221,2624,2566,1719,1624,1693,1904,2150,2085,2055,2123,2702,2527,2144,2084,1794,2017,2253,2349,2564,2284,2024,1807,2095,2468,3143,3333,2495,2686,4056,4189,3504,2975,3164,2923,3134,3009,2610,2574,2683,2511,2204,2239,2600,2818,2762,2474,2233,1940,1776,1741,1796,1777,1664,1790,2288,2479,2045,2287,2323,2662,2447,2009,2337,3160,3538,3418,3374,3444,3438,3256,3254,3372,3341,3473,3538,3494,3508,3629,3785,3618,3448,3575,3736,3688,3684,3710,3518,3361,3350,3404,3460,3378,3266,3195,3231,3148,3392,3322,2198,1925,2219,1977,1710,1969,2119,1934,1788,1484,1426,1873,2204,1981,1810,1738,1832,2415,2522,3443,2938,1772,2090,2570,2818,3156,2828,2511,2433,2121,2154,2552,2728,2471,2166,1879,2133,2187,1934,1929,2282,2314,1975,1720,1257,1380,1645,2039,2428,2103,2115,2376,2304,1913,2208,3054,3054,3023,3664,3684,3331,3270,3116,2245,2563,2818,2844,2474,2551,3141,3034,2339,982,493,488,885,1610,2159,2521,2654,3201,3410,2637,2473,2842,2864,2956,3426,3603,3772,3342,2971,3507,3890,3352,2839,3045,3105,2867,2852,2851,2743,2547,2501,2304,1827,2434,2508,2598,3072,3049,2544,2302,2372,2257,2331,2302,2265,1972,1647,1604,2315,3106,2903,2034,1814,1966,2052,1980,1655,1825,1728,1793,2105,2656,2889,2702,2064,1637,1739,1980,2225,1990,1938,1570,1691,1704,1761,1737,1836,1870,1822,1743,1713,1795,1548,1627,1563,1788,1837,1986,2026,1780,1837,2184,3178,3598,2922,2567,2830,3229,3094,3693,4108,4196,4020,3852,3973,3926,3860,3872,3819,3880,3997,4028,3830,4065,4155,4268,4100,4104,4549,4916,4619,4351,4232,3530,3228,3021,3294,4588,5220,5324,5272,5183,5219,5296,5027,4666,4030,3242,4006,4408,4123,3297,3869,3925,3020,2282,1686,1873,2689,2894,2997,3370,3352,2542,2500,2376,3063,2834,2468,2532,2112,1766,2398,2966,2955,2242,2607,2923,2531,2428,2076,2054,2464,3024,3378,3285,3262,2946,2190,1865,2049,3198,3460,2272,1784,2395,2640,2525,2347,2294,2254,2770,3056,2632,3072,3094,2313,3256,3930,3539,2411,1985,2017,1998,2226,2484,2876,3243,2341,1958,1281,1548,2380,2389,2275,2511,2444,1961,2270,2978,2918,2663,2159,2490,2587,2749,2322,2267,2178,1892,2116,2509,2730,2200,2575,2398,2335,2307,2003,2026,2727,2651,2176,2154,2121,1932,2282,2940,2929,1931,2409,2800,2324,2365,2774,2888,2376,2088,2153,1842,1782,2288,2208,1688,1816,2290,2150,1791,1657,1907,2053,2135,1767,1743,2007,1896,1603,1554,1635,1216,1339,1556,1776,1995,1925,1712,1460,1391,1517,1667,1416,1462,1686,1534,1494,1541,1721,1967,1897,1924,2139,2675,3475,3272,2564,2482,2246,2292,2422,2806,3693,4323,4079,4008,4477,4185,3693,3719,2965,2662,2262,2377,2374,2209,2293,2444,2555,2810,2917,2578,2175,1946,1886,1750,1749,1938,1779,1641,1444,1662,2216,2216,1895,1876,2385,2446,2326,1928,1493,1644,1867,1824,1976,2117,1958,2028,2225,2065,2170,2046,2396,3243,3892,3404,2885,2521,2056,1565,1583,1772,1723,1490,1562,1488,1739,1985,1899,1664,1605,1578,1526,1223,1270,1451,1376,1535,2119,3190,2597,1714,1823,2237,2158,2041,1999,1851,1739,1750,1900,1880,2216,2004,1990,1892,2248,2242,2363,2610,2781,2192,2069,2707,2590,1938,1957,2342,2059,2338,2148,1854,1606,1994,2151,1854,1744,2053,1999,2009,2025,2184,2564,2728,2428,2392,2855,2670],[2532,2681,1986,1739,1916,2531,3122,3588,3915,4113,4039,3525,3029,3152,3451,3796,3531,2921,2702,2790,2697,2532,2622,2696,2696,2571,2216,2279,2790,3295,2178,1168,1483,1980,1854,1553,1803,2610,2917,2823,2839,2499,2150,2190,2475,2643,2932,3155,3097,2876,2336,1741,1669,1823,2162,2448,2916,3589,3786,3329,3417,3326,3145,2985,2823,2786,2821,2738,2579,2856,2916,2203,2514,2661,2711,2864,3054,2722,2448,2916,3147,2806,2562,2647,2702,2520,2407,3024,2746,2178,2070,2481,2789,3189,3142,3045,3040,2934,2943,2784,3095,3306,3221,3418,2728,2303,2736,2558,1996,1691,2392,3387,3431,2700,3011,2508,2265,2580,2796,2899,3140,3541,3439,3049,2817,3454,3605,4099,4132,3557,3350,2910,2797,3387,3156,2554,2314,2536,2741,2600,2244,2062,1698,1675,1679,2771,3019,2341,1994,1802,2651,3973,3956,3090,2313,2899,3753,3352,2745,2930,3391,3105,2765,2436,1773,1725,2103,2701,2120,1510,1115,1393,1761,1983,1969,1784,1630,1473,1397,1456,1565,1891,1951,1753,1707,1725,1703,2542,2885,2599,2262,1936,1844,1837,1844,1937,1982,2141,2302,2122,2254,2308,2307,2180,2042,2179,2201,2114,2153,2200,2167,2026,2088,1883,1785,1827,2255,2176,1991,1827,1837,2195,2201,2117,1792,1617,1577,1611,1809,2207,2691,3275,4071,3543,2318,1959,1492,1582,1627,2025,2293,2076,1669,1550,1455,1612,1726,1998,2133,2096,2076,2382,1875,1547,1179,1811,2333,2475,2293,1934,1733,1570,1831,2180,2280,1967,1731,1990,2032,1665,1501,1505,1600,1611,1542,1473,1789,2156,1776,1717,2072,2429,2143,2159,1916,2492,2612,2070,2288,2929,2619,2013,1959,1835,1674,1552,1736,1768,1777,1428,1186,1088,1102,1692,2054,1615,1799,2105,1783,1653,1540,1470,1447,1543,1594,1687,1852,2003,2071,2189,2208,1962,1866,2102,2049,2058,1959,1873,1815,2049,2459,2428,2077,2116,2346,2231,2232,1724,1665,1529,1847,1901,1745,1912,1941,1505,1543,1556,1351,1539,1554,1462,1548,1722,1936,2176,2452,2720,2658,2176,1861,2172,2486,2202,2542,2338,1817,2075,2248,2305,2473,2685,2541,2116,1812,1886,1827,2051,2415,2370,2513,2189,2165,2098,1766,1591,1281,1228,1324,1939,2249,2052,2021,1706,1459,1533,1755,2109,2678,2884,2513,2303,2116,1875,2435,2757,2105,1909,2068,2019,2062,1649,1958,2138,2248,2711,2341,1584,1397,1964,2303,3155,3090,2108,1754,1819,1825,1612,1989,2454,1662,1813,2394,3122,1967,1988,1895,2316,2481,2121,2039,1830,1591,1608,1420,1472,2002,2186,2405,1858,2083,2346,2284,1952,1940,1981,2153,2387,2131,2385,2614,2730,2117,1778,2161,2429,2352,2154,2243,2373,2136,1898,1716,1700,1908,2126,2763,2466,1319,809,1091,1362,1647,1654,1629,1770,1810,1907,1869,2244,1914,2507,2376,2484,2966,3195,3177,2998,2276,2058,2115,1940,1902,1910,1547,1740,2364,2186,2099,1993,2035,2062,1760,1861,2023,2176,2425,3025,2934,2072,1928,1881,1522,1496,2088,2508,2330,2142,2386,2319,2173,1984,2281,2096,2108,2128,2230,2341,2636,2204,1973,2475,2178,1884,2295,2263,2098,2611,2896,2733,2371,2791,3156,3219,3124,3273,3203,2748,2710,2837,2693,2232,2436,2247,2303,2223,2363,2495,2445,2092,1821,1919,1905,2037,2246,2998,3571,3586,3739,3270,3051,2987,2631,2942,2852,2619,2750,2880,3470,2994,2542,2501,3020,3718,3765,3354,3193,3372,3193,3413,3880,2897,2729,3324,3262,3394,3141,2962,3826,3437,2454,2269,2451,3232,4137,4278,4172,3837,3522,3312,2598,2257,2636,3319,3139,2601,2292,2309,2525,2965,2989,2551,2548,3285,2669,3159,2763,2439,2874,3249,3173,2672,1970,2315,2968,2385,2281,2257,2326,2656,3204,2753,2538,2679,2828,3819,4220,3958,3813,3398,2731,3252,2938,2535,2736,2750,2306,2414,2732,2244,2237,2586,2371,2366,2329,2354,2071,1919,2013,2193,2085,2348,2680,2185,1640,1763,1842,1718,1421,1252,1323,1554,1639,1382,1162,1527,2202,2026,1837,1819,1722,1703,2255,2357,2217,2027,2006,2021,1961,2151,2285,2113,2107,2155,2378,2493,2113,2065,2203,2293,2061,2067,2208,2242,2056,1636,1477,1576,1794,1985,2224,2281,2313,2233,2068,1933,1429,1560,2035,2081,1906,1397,1360,1367,1769,1912,1796,2244,2326,2735,3276,3452,3427,3351,3154,2548,2064,1969,2152,2221,2060,1659,1760,2013,2529,2923,2539,2938,3249,3090,2654,2541,2436,2624,2941,2556,2523,2689,3150,3906,3153,2074,2281,2159,2370,2180,2253,2669,3221,3498,2942,2612,2785,2741,2275,1552,1547,1469,1510,1530,1433,1573,1582,1289,936,1188,1393,1400,1462,1895,2231,1825,1703,1392,1658,1649,1643,1481,1401,1358,1428,1667,1565,1524,1478,1614,1762,2281,2588,2489,2367,2083,2301,2404,2208,2177,1532,1519,1505,1816,1622,1969,2004,1999,1605,1544,1647,2152,2995,2791,2490,2544,2636,2678,2532,3312,3481,3377,3174,2752,2914,3604,3637,3251,3253,3517,3454,3057,2674,2468,2514,2632,2775,2801,3123,3617,3361,2764,2008,2569,2371,2529,2853,2443,2489,2918,2227,2178,2742,2533,2658,2801,2195,2231,2298,2292,2412,2718,3483,3257,2947,2337,1912,2162,2432,2569,1959,1442,1680,3041,2948,2980,2583,1659,1795,2087,2680,3123,3211,3152,2750,2196,2042,2453,2721,2902,2833,2676,2387,2453,2356,2185,2429,2944,3055,2723,2850,2731,2985,2375,2362,2491,2648,2258,2688,3258,2713,2760,3808,3687,2765,2653,2520,2202,3075,3473,2520,2564,2653,2365,2429,2789,3292,2554,2076,1843,1541,1703,1842,1838,2327,2566,2358,2344,2299,2197,1922,1655,1820,2055,2040,2222,2706,2883,3062,3317,3522,3551,3287,3097,3128,2923,2757,2384,2902,3638,3157,2183,2500,3284,2902,2055,2596,2972,2018,2049,3187,4070,4125,3876,3831,4227,4483,4372,4214,4417,4548,4195,3911,4476,4572,4051,3282,3571,3293,2666,2117,2042,2012,2121,2507,2465,2286,2201,2107,2303,2603,2754,2576,2165,1979,2141,3550,4007,3576,3062,2594,3409,3165,2943,2522,2205,2010,2513,2777,2125,1932,2162,1854,1749,1738,1802,1951,1894,1740,1654,2005,2352,2445,2110,2259,2489,2301,2126,2021,3017,3256,2728,1792,1929,2103,2747,2155,1919,2055,2660,2997,2347,2226,2952,3872,3905,3890,3887,2480,1589,1965,2071,1872,1682,1661,1680,1588,1979,2285,1949,1775,1909,1893,2128,2100,1957,1893,2218,2589,2217,2195,2205,2035,2320,2465,2414,2669,2603,2470,2166,2167,2407,2321,1760,1387,2211,3653,4057,3504,2866,2849,2555,2686,2565,2348,2371,2488,2462,2165,2135,2239,2347,2329,2029,1868,1899,1816,1627,1521,1505,1567,1627,2039,2205,1958,1959,1948,2344,2489,2214,1860,2507,3265,3624,4067,4155,3916,3665,3641,3775,3564,3508,3561,3464,3183,3285,3518,3515,3460,3513,3820,4004,3705,3825,3456,3173,3194,3273,3385,3652,3760,3487,3166,3187,3450,3352,2266,1806,1988,1881,2070,2008,2074,1894,1473,1291,1675,2204,2100,2092,1910,1797,2361,2152,2085,2884,2476,2002,1879,2048,2890,3480,3348,2975,2342,2018,2098,2204,2479,2717,2814,2618,2332,1914,1792,1497,1615,1904,2112,1551,1416,1662,1716,1815,2115,2121,2266,2347,2069,1903,2370,2673,3124,3408,3763,3894,3432,3250,2962,2786,3088,3098,2887,2448,2641,3251,3142,2512,941,499,1049,1601,1994,2407,2639,3231,3802,3120,2165,2746,2943,2669,2875,3151,3247,3227,2966,2789,3247,3781,3473,2934,2891,2902,2833,2883,2730,2282,2416,2862,2974,2821,2894,3050,3341,3405,3132,2598,2757,2291,2093,2514,2464,2323,1920,1570,1744,2309,2644,2482,1801,1768,2295,2231,1931,1714,1597,2043,2192,2243,2209,2426,2509,1969,1754,2160,1797,2200,1788,1916,1568,1734,1929,1726,1932,2126,1908,2008,1987,2164,2350,1836,1716,1677,2236,2739,3566,2821,1504,1601,2325,3270,3393,2971,2724,2631,3047,3272,3785,4062,3941,3751,3808,3973,4108,4320,4396,4377,4038,3903,3930,3851,3980,3730,3763,4104,4488,4650,4528,4765,4941,4735,4004,3890,3471,3528,4736,5295,5261,5020,4756,4868,5006,4780,4719,4337,3963,4442,4441,3898,3027,3217,3684,3620,3141,2725,2835,2856,2733,3068,3307,3254,2250,2706,2943,3238,2745,2168,2290,2296,2260,2711,2731,2977,1776,2146,3224,3073,2196,1871,2104,2312,2685,3142,3118,2508,2281,2055,1766,2000,2564,3156,2337,2331,2779,2903,2951,2566,2386,2340,2383,2628,3155,3642,2890,2565,3466,3687,2792,2221,2580,2258,1750,1702,1821,2049,2646,2656,2640,2064,2249,2589,2279,2054,2766,2602,2010,2165,2093,2386,2220,2009,2311,2118,2132,2036,1607,1550,1996,2236,2332,2322,2167,2909,2581,2042,1908,1897,2078,2485,2424,2205,2381,2231,1649,1958,2246,2447,2127,1939,2317,2480,2397,2475,2613,2455,1919,1726,1892,1952,2231,2238,1718,1586,1879,1935,2061,2195,1987,1804,1788,2071,2620,2305,1960,1676,1595,1547,1408,1371,1402,1628,1973,1948,1505,1298,1359,1515,1316,1437,1750,1613,1650,1906,1892,1991,2041,1982,2341,2749,3508,3660,2718,2473,2599,2671,2465,2396,2517,3100,3860,3833,4285,4420,4005,3730,4152,4080,2697,2166,2233,2454,2797,2470,2227,2225,2271,2519,2693,2364,2072,1819,1803,2116,2078,1716,1600,1411,1861,2640,3100,2762,2703,2818,2749,2633,2064,1980,2051,2105,2183,1944,1816,1801,2011,2204,2723,2333,2003,2247,3195,3660,3028,2989,2898,2065,1533,1527,1804,1924,1782,1699,1643,1739,1823,2051,1959,1618,1500,1592,1719,1638,1589,1539,1566,1469,1713,1627,1538,1739,1999,1898,1813,1880,1627,1505,1554,1753,2051,2035,2071,2116,2023,1988,1942,2350,2386,2187,2082,2149,2457,2646,2838,2341,2622,2389,2040,1641,1751,1686,1543,1791,2079,2194,2251,1574,1968,2002,2135,2499,2661,2603,2613,2452,2127],[2357,2091,1830,1995,2325,2744,3608,4172,4556,4689,4496,3872,3000,3205,3648,3746,3028,2678,2996,2979,2879,2645,2456,2248,2288,2378,2366,2534,2768,3566,2750,1531,1717,2200,2114,2223,2247,2608,2912,2828,2632,2404,2156,2220,2512,3121,3411,3118,3051,2756,2008,1976,2055,1834,1907,2149,2388,2659,2620,2328,3010,3787,3960,3593,3132,2731,2869,2598,2692,3038,3096,2539,2714,2867,2709,2470,2484,2419,2264,2830,3205,3091,2802,2380,2054,2036,2412,2615,2576,2494,2684,2972,3008,3055,3021,3042,2303,2135,2110,2066,3212,3730,3596,3444,2867,2570,2496,2481,3050,2446,2850,3158,3227,2792,2810,2496,2312,2711,3088,3115,3250,3326,3270,3494,2878,3370,3970,4039,3629,3255,3415,3259,3154,3089,3109,2762,2494,2621,2199,2182,2081,1571,1968,2035,2009,2812,2752,2181,1967,2364,3684,4101,3705,2467,1750,2231,3177,3595,3300,3031,3144,2380,2071,2127,1663,2361,2226,2281,1749,1594,1513,1931,2577,2388,1958,1803,1747,1564,1708,1820,1832,2043,1819,1577,1599,1622,1803,2768,3253,2764,2114,1621,1781,1472,1310,1370,1794,2575,2691,2585,2723,2618,2523,2611,2414,2130,2066,2409,2118,1942,2048,1968,2054,2046,1967,1974,2178,2110,1982,2075,2154,2050,2159,2128,2212,2082,2076,2204,2389,2429,2565,3044,3354,2714,1707,1929,1772,1694,1760,2065,2316,1976,1714,1640,1616,1473,1509,2046,2200,2369,2230,2354,1929,1776,1546,1976,2152,2536,2776,2801,2580,1775,1837,1804,1906,1710,1994,2255,2070,1867,1651,1580,1569,1542,1462,1556,2070,2324,1694,1902,2001,1824,1845,2074,1936,2300,2384,1931,2433,2968,2355,1781,1964,2260,1692,1632,2006,1953,1737,1380,1084,1018,1164,1655,1863,1625,1808,1909,1726,1670,1648,1713,1803,1880,1939,2025,2153,2150,2084,2081,1952,1958,2036,1992,1912,1828,1822,1945,1582,2017,3428,3184,2520,2215,2212,2059,1990,1669,1604,1711,2062,2113,2181,2843,2652,1930,1886,1753,1532,1465,1373,1504,1427,1665,1858,2002,2172,2351,2765,2707,2159,2587,2980,2393,2476,2395,1975,2199,2170,2143,2375,2185,2128,1995,1660,2003,1595,1888,2223,2245,3153,2968,2286,1977,2072,2089,1977,1825,1650,2033,2372,2365,2125,2214,2178,1886,1950,2587,3365,3248,2451,2169,2062,1702,2018,2385,1935,1874,1686,2094,2057,1714,1771,1710,2258,2925,2233,1593,1413,1936,2390,2918,2852,2150,1726,1874,1920,1654,2045,2435,1924,2537,2354,2431,1910,1785,1974,1957,1835,1916,2088,2002,2060,1728,1461,1737,2338,2244,2366,2319,2708,2767,2349,2119,2064,1888,2458,2714,2263,2291,2030,2041,1939,2242,2601,2940,3062,2700,2591,2237,1865,1708,1623,1612,1733,1919,1784,1604,1302,983,1054,1278,1664,1888,2107,1974,1986,1936,2348,2248,1818,1910,2103,2428,3090,3072,3020,2944,2286,1831,2032,1953,1541,1616,1623,1682,2007,1725,2224,2422,1980,2046,2016,2016,1871,1801,1794,2531,2590,1729,1665,1950,1654,1550,1741,2042,2248,2431,2533,2463,2132,1965,2031,2231,2241,2211,2071,1951,1876,1547,1808,2078,1882,2189,2765,2457,2223,2575,3690,3462,2159,1831,2109,2146,2116,2540,2635,2556,2564,2709,2272,2312,2527,2402,2411,2520,2683,2843,2842,2743,2552,2498,2442,2346,2645,3018,3333,3530,3476,2834,2556,2570,2548,2652,2778,2874,3251,3213,3121,2796,2702,2369,2192,2368,2975,3452,3415,3328,3261,3651,4063,3664,3618,3593,3131,3896,4061,4336,4293,2833,2100,2245,2086,2147,3774,4324,3812,3140,3208,3208,3072,2802,2877,3554,3485,2791,1849,1877,2063,2412,2329,1990,2106,2755,2888,3248,3159,3007,3018,2893,3023,2239,1686,1996,3008,2541,2564,2840,3012,3211,3426,3055,2609,3082,3532,4058,3796,3820,3296,2587,2383,2922,2756,2945,3119,2831,2710,2935,2946,2438,2344,2710,3318,3719,3153,2486,2241,2319,2558,2722,2867,3115,3594,3404,2791,2496,2662,2392,1948,2029,2144,2144,2080,2053,1999,1941,2262,1841,1743,1879,1712,2280,2805,2460,2050,1999,2210,2250,2232,2196,1985,1931,1969,1790,2072,2096,2059,2098,2176,2160,2215,2312,2243,2087,2157,2259,2103,1939,2093,2116,1923,1923,2008,1689,1627,1689,1611,1771,2214,2514,2204,1897,1924,1955,2230,2170,2014,2041,2021,2569,2832,2626,2907,3065,2687,2149,1865,2017,2155,2088,1860,1483,1746,2122,2558,2768,2165,2415,2985,2906,2795,2305,2206,2542,2590,2851,3371,2773,2609,2844,2206,1947,2250,2208,2289,2375,2632,2924,3233,3104,2612,2863,2980,2391,1657,1403,1543,1418,1538,1551,1534,1770,1581,995,1058,1412,1461,1433,1700,2129,2018,1792,1672,1559,1711,1717,1810,1859,1706,1560,1427,1323,1531,1447,1368,1480,1759,1712,1772,2096,2221,2053,1944,2272,2328,2042,1200,1635,2133,2328,2415,2432,2182,1911,1679,2031,2152,2197,2384,2421,2289,2078,2766,3115,3337,3728,3616,3414,3211,3105,3370,3538,3440,3280,3255,3747,3771,3272,3062,2465,2607,3018,2931,3069,2921,2689,2387,2446,2126,3364,2669,2284,2178,2463,2699,2349,2154,2649,3029,2244,2209,2135,2149,2297,2122,1874,1801,2205,2430,2221,2375,2225,1970,2206,2420,2754,2116,1925,2796,3216,3017,2916,2022,1627,1755,2299,3219,3286,3204,3341,3219,2533,2424,2839,2830,2843,2814,2548,2591,2447,2080,2022,1680,2333,3120,2636,2680,2258,2286,2101,2031,2290,2354,2031,2491,2832,2600,2519,2862,3394,2786,1982,2065,2543,3338,3444,2895,2609,2577,2405,2555,2667,2979,2338,2361,2100,1819,2014,2155,1971,1976,2209,2575,2604,2455,1953,1405,1698,1990,2231,1765,2445,3714,4027,3763,3702,3633,3252,3083,3043,3230,2897,2174,1527,2415,3323,3624,2742,2164,2890,3341,2441,1791,2344,2286,2542,3538,3851,3110,2601,2354,2578,3265,3626,3830,4050,4416,4194,4030,4464,4708,3941,3105,3300,3551,3398,2877,2437,2314,2919,2958,2245,2088,2183,2195,2098,1946,2313,2552,2701,2607,2600,3322,3711,3781,3023,2754,2889,2458,2381,2621,2947,2412,1875,1846,2035,2559,2512,2182,2411,2270,2758,2640,2301,2120,2348,2856,3001,2969,2289,2213,2248,2192,2106,2326,3077,3331,3062,2392,2099,1939,2415,2362,2028,2030,2302,2228,2313,2918,3351,3858,3774,3684,2736,1576,1843,2125,1903,1786,1331,1104,1414,1578,1592,1580,1933,2036,2285,2841,2902,2187,1556,1772,2134,2297,2267,2557,2500,2523,2229,2237,2187,2922,3220,2709,2297,2049,1520,1145,1365,1880,2465,3182,3898,3993,3702,3105,2719,2436,2029,2093,2342,2120,2102,2007,2012,2132,2056,1957,1726,1762,1922,1792,1544,1260,1137,1314,1677,1889,1679,1590,1700,1866,1905,1878,1915,1628,1784,3027,4320,4771,4283,3666,3660,3648,3817,3641,3355,3374,3369,3167,3196,3208,3248,3297,3416,3596,3760,3685,3720,3406,3162,3153,3248,3321,3476,3943,4256,3596,3231,3610,3639,2614,1993,1988,1808,1963,2263,2212,2024,1532,1496,1924,2071,1684,1755,1980,2311,2703,1979,2098,2267,1968,2024,2156,2569,3208,3694,3917,3764,2610,2017,2291,2467,2662,2941,2674,2206,1958,1826,1639,1281,1522,2029,2098,1420,1357,1835,1656,1425,1691,2013,2006,1786,1601,1774,2143,2086,3096,3669,3776,3727,3307,2565,2253,3140,3741,3400,2843,2327,2674,3034,3288,3073,1478,990,2054,2611,2363,2310,2963,3834,3963,2757,2053,2743,2624,2321,2750,3030,2896,2774,2653,2358,2555,2922,3082,2919,2810,2808,3068,3150,2614,2069,2156,2215,2474,2755,2742,2639,2889,3203,2896,2640,2821,2343,1920,1972,1810,1569,1567,1549,1766,2119,2153,2071,2028,1933,2004,2057,1710,1361,1579,1816,2035,2258,2236,2525,2384,1928,1584,1867,1978,2631,2598,2751,2266,2276,2756,2424,2032,2109,2177,2253,2103,2316,2270,1895,1848,2187,2478,2888,3576,2975,1967,1663,2142,2912,3351,3239,2710,2392,2837,3350,3892,4164,4002,3896,3972,3888,4139,4615,4688,4445,4188,4083,4143,4175,4124,3826,3674,3864,4083,3994,3658,3753,4157,4352,3898,3945,3507,3454,4483,5224,5029,4443,4100,4416,4460,4371,4587,4439,4288,4509,4120,3230,2580,2441,2653,3082,3099,2677,2599,2569,2412,2831,2873,2579,2617,3485,3638,2765,2243,1976,2216,2664,2725,2610,2379,3135,2171,1597,2510,3072,2763,2320,2089,1982,2279,2713,2428,1808,2025,2127,1817,1910,2189,2285,2066,2298,2953,3173,2603,2822,2305,2239,2195,2061,2444,2922,2895,2958,3296,3098,2555,2197,2407,2100,1563,1464,1694,1834,2346,2907,2684,2553,2920,2832,2441,2277,3038,2465,2478,2917,2410,2368,2556,1813,1551,1693,1804,2246,2724,2953,2973,2740,2342,1912,1954,2415,2276,2128,2301,2366,2046,1807,1836,2243,2820,2920,2076,2288,2033,2115,2568,2163,2030,2377,2206,2302,2841,2625,1976,1968,1766,1771,2106,2129,1780,1788,1710,1788,2111,1892,1641,1780,1720,2102,2442,1967,1565,1555,2101,2079,1690,1569,1468,1722,2058,1869,1455,1535,1428,1507,1470,1603,2076,2018,1918,2254,2360,2099,2098,2424,3366,3317,3404,3372,2352,1776,2046,2298,2091,2305,2607,2894,3169,3451,4008,3745,4357,4892,4615,3371,2330,2091,1665,1775,2318,2482,2720,2709,2566,2163,2175,2222,2315,2397,2493,2540,2369,2347,2072,1706,1927,1839,1982,2471,2746,2551,2662,2577,2297,2297,2216,2114,1715,1467,1710,1864,1736,1908,2599,2071,2090,2427,3063,2995,2655,2774,2464,2086,1728,1894,2331,2263,1820,1555,1637,1733,1896,1990,1645,1399,1400,1616,1901,1568,1442,1804,1838,1905,1800,1490,1522,1661,1970,2037,1946,2107,1627,2184,2116,1827,1843,1796,1811,1641,1665,1608,1733,1785,1801,1459,1333,1526,2139,2460,2693,2225,2264,2144,1752,1878,2064,1794,1879,2280,2396,2269,2218,1832,2260,2441,2640,2703,2764,2753,2897,2832,2651],[1854,1889,2071,2071,2179,2553,3706,4196,4366,4277,4027,3410,2877,3148,3746,3761,2854,2831,3156,2848,2528,2383,2426,2153,1817,2167,2696,2529,2835,3350,3142,2801,2479,2359,2178,2294,2106,2169,2761,3751,3414,2779,2274,1921,2288,2908,3034,3088,2991,2407,1971,2169,1846,1430,929,1034,1942,2323,1972,2525,3508,3758,3606,3343,2734,2470,2648,2685,2585,2477,2600,2662,2887,2939,2692,2415,2514,2392,2309,2957,3253,3226,3317,2621,1743,2186,2519,1962,2135,2702,3197,3165,3398,3422,3490,3829,3138,3050,3235,3407,3787,3920,3706,3101,2578,2556,2551,2395,2796,2602,2717,2840,2987,2719,2533,2506,2710,3379,3680,3517,3571,3594,3705,3666,3690,3385,3601,3629,3268,3360,3573,3418,2838,2437,3022,3177,2985,2435,1809,1825,1355,1554,2348,2003,2283,2707,2314,2215,1806,3028,3995,3916,3518,2313,1737,2556,3237,3409,3032,2525,2149,1843,1642,1733,1704,2542,1952,2072,2264,2093,2147,2715,2538,1810,1701,1939,2054,1925,1881,1971,2215,2109,1820,1843,1736,1617,1852,2476,2479,2548,1923,1598,1963,1346,1420,1659,2049,2644,2832,2901,3190,3250,2997,2902,2782,2340,2044,2475,2177,1999,1993,2040,2120,2022,1862,1607,1616,1601,1833,1874,2038,2141,2121,2061,2099,2181,2153,2069,2151,2218,2374,2470,2404,2147,2088,2250,1954,1835,1745,1770,1913,1976,1994,1926,1980,2018,2001,2187,2045,2292,1999,1835,2082,2194,2178,2349,2732,3166,3007,3273,3020,1974,1918,2300,2482,2013,2079,2218,2254,2090,1678,1461,1537,1595,1529,1561,1860,2192,2142,2158,1947,1701,2123,2333,2208,2249,2028,2071,2656,2528,1917,1694,2261,2327,1708,1693,2251,2361,1965,1918,1871,1893,1918,1953,1910,1918,2018,2004,2005,2036,2031,1924,1830,1714,1736,1975,2058,1734,1611,1675,1604,1807,1929,1892,1749,1488,1743,2265,1793,1825,3249,3319,3010,2204,1759,1954,2019,2027,1776,1678,2033,2127,2212,2424,2251,2129,1969,1597,1408,1473,1392,1544,1647,1670,1896,2426,2603,2591,3251,3350,2597,2815,2501,1848,1910,2149,2026,2229,2315,2214,2349,1640,2104,2239,2127,2177,2037,1977,2129,2477,3386,3485,2380,2165,2653,2347,2235,2090,1801,2105,2243,2464,2524,2611,2303,1946,2416,3086,3392,3018,2199,1825,1730,2024,2070,1936,1742,1577,1775,2080,2036,1998,1813,2042,2578,2990,2079,1457,1622,1945,2082,2208,2231,1925,1674,1866,1695,1723,2352,2149,1819,2260,2233,2146,1909,2331,2744,2143,2195,1891,1549,1917,2254,1718,1730,1783,1875,1964,2193,2461,2389,1960,1642,1765,2046,2418,2939,3272,3242,2884,2479,2307,2314,2604,2721,2934,2872,2427,2382,2146,1891,2102,1932,1652,1813,2245,1982,1583,1478,1418,1480,1702,1908,1849,1913,2054,1947,1791,1963,1941,1889,1865,1827,2255,2947,2785,2531,2449,1914,1679,1817,1826,1742,1943,1804,1696,1659,1687,2105,2186,1900,2103,2148,2092,1771,1549,1701,2685,2352,1470,1588,1671,1652,1605,1607,2054,2122,3034,2724,2457,2173,2085,2174,2266,2231,2186,2024,1808,1843,1568,1497,1731,1730,2342,1893,1900,2259,2228,2844,2898,1915,1653,1748,1920,1859,1861,2543,2923,2579,2372,2131,2395,2681,2577,2513,2492,2727,3105,3085,2944,2813,2658,2470,2517,2656,2671,2970,3545,3827,3121,2855,2629,2742,2469,2644,2861,3647,3253,2743,2707,2525,2182,2312,2475,2503,2654,3052,2904,2975,3413,3628,3981,4000,3238,3338,3785,3385,3601,3648,2526,2456,3000,2597,2341,3708,4149,3212,2765,2692,2396,2656,3056,3714,4349,4058,3618,2570,2493,2619,2909,2314,1959,2480,2832,3378,3847,3823,3586,2629,1854,2365,1988,1960,2316,3118,3064,3238,3270,3406,3558,2617,1737,1530,1866,2994,3230,3515,3680,2779,2373,2234,2337,3152,3938,3498,3339,3345,3289,2910,2568,2789,2880,3260,3443,2857,2218,2342,2720,2758,2934,3608,3817,4188,3838,2918,2936,3056,2710,2521,2601,2449,2403,2440,2499,2349,2387,2680,2172,2303,2800,2192,2262,2809,2632,2312,2784,3373,3013,2911,2706,2522,2597,2834,2912,2709,2566,2614,2288,2047,1852,2335,2249,2148,2154,2093,1946,1874,1959,1843,1771,1733,1835,1998,1831,1915,2039,1886,1922,2186,2135,2209,2147,2181,2304,2382,2176,2136,2037,1970,2243,2397,2177,2429,2533,2247,1998,1751,1780,1779,1780,1686,1546,2021,2156,2653,2504,2633,2646,2745,2764,2520,2354,2440,2427,2279,2643,2536,2457,3018,2337,1965,1759,1965,2281,2105,2144,2492,2847,3064,2742,2690,2923,2426,1884,1421,1415,1588,1531,1526,1532,1593,1567,1135,987,1359,1419,1440,1555,1815,1714,1654,1842,1691,1493,1743,1677,1542,1532,1493,1548,1537,1543,1788,1471,1451,1511,1510,1538,1655,1863,2295,2562,2043,2496,2006,1627,1477,2304,2453,2615,2787,2276,2240,2462,3011,3265,2939,2724,2542,2143,1719,2198,3143,3448,3695,3658,3282,3466,3697,3476,3415,3226,3022,3181,3133,3240,3111,3032,3016,2274,2875,3559,3069,2656,2069,1783,1797,2034,2069,3001,2768,2200,1924,2719,3034,2258,2721,3442,2924,2338,2686,2479,2384,2186,2230,2112,1960,2026,2075,2163,2000,2664,3116,2881,2740,2534,2781,2532,2753,2957,2740,2289,1665,1066,1542,2585,3109,3095,2943,3382,3496,2933,3095,3123,2828,2686,2668,3125,3018,1934,2118,2209,1655,1981,2852,2633,2249,1691,1857,2177,2160,2510,2494,2449,2325,2503,2578,2175,2354,3145,3068,2459,2170,2865,3170,3073,3001,2241,1728,2055,2430,2481,3268,2575,2511,2341,2153,2352,1979,1791,1890,2007,2393,2400,2045,1401,1507,2283,2798,2855,1871,2131,3654,4113,3725,3649,3415,3174,3200,3100,3387,2966,1821,1709,2372,2413,2557,2761,2614,2578,2807,2076,1527,2163,2374,2724,3501,3639,3124,2584,1881,1632,1770,2211,2590,2601,3625,3947,4225,4301,4180,3384,3151,3255,3241,3610,3637,2792,2061,2533,2317,2377,1973,1818,1997,2260,2304,2275,2137,2112,2401,3347,3968,3747,3584,2821,2675,2756,2729,1931,1698,2199,2405,2635,2491,2481,2754,2430,2564,2403,1979,2128,2239,2237,2144,2029,2254,3496,3853,2679,2287,2159,1944,2081,2416,3056,3312,2888,2957,2920,2736,2262,1849,1677,2339,2931,2900,3485,3710,3298,3516,3731,3061,1771,1821,2292,1952,1816,1449,1150,1625,1941,1743,1916,1960,1435,1469,2198,2385,2029,1659,1597,2137,2114,2151,2094,2464,2758,2382,2061,2270,2571,2964,2772,2354,2230,2354,1839,1959,2178,2632,2883,3053,3554,3847,3624,2988,2395,2140,1970,1902,1968,1678,1991,1926,1834,2004,1849,1646,1488,1460,1554,1620,1505,1404,1361,1331,1556,1579,1435,1314,1480,1598,1498,1461,1632,1518,1311,2665,4284,4308,3760,3362,3596,3718,3794,3622,3233,3169,3187,3232,3389,3348,3327,3371,3302,3334,3538,3476,3435,3366,3348,3321,3305,3405,3436,3777,4513,4465,3763,3496,3784,3300,2603,2273,1888,2040,2493,1953,1684,1533,1604,1747,1659,1479,1687,2068,2282,2147,1935,2333,2348,2237,2600,3500,3895,4070,3713,3864,3963,3090,2729,3223,3311,2911,2418,2045,2101,2345,2121,1775,1626,1905,2057,2307,2088,1863,1664,1384,1509,1651,1826,1911,1687,1412,1696,2375,2613,3193,3725,3813,3730,3320,2576,2595,3351,3764,3331,2884,2580,2659,2802,3173,2662,1838,2228,2543,2777,2728,2644,3247,3582,3094,2259,2078,2470,2496,2018,2006,2552,2646,2553,2511,2369,2364,2409,2547,2553,2319,2586,3150,3011,2221,2098,2259,2229,2520,2631,2588,2618,2876,3011,2508,2183,2417,2708,2491,2045,1725,1709,1710,1628,1664,1958,2008,1825,1998,2020,1711,1841,1919,1619,1547,1686,1943,2055,1979,2296,2158,1773,1396,1269,1672,2471,2766,2544,2071,2665,3295,3260,2964,3182,3221,2741,2124,1694,1592,1829,2351,2718,2413,2372,2494,1878,2001,2202,2586,2252,2129,2546,3046,2764,2852,3283,3350,3914,4180,3846,3798,3752,3992,4330,4427,4352,4265,4263,4284,4108,3945,3813,3946,3848,3632,3520,3378,3273,3529,4042,3775,3439,3304,3351,3950,4757,4460,3963,4027,4324,4300,4287,4320,3939,4001,4132,3574,3028,2808,2454,2467,2832,2974,2953,2897,2708,2889,3185,2534,2475,3029,3614,4025,3248,2486,2051,1986,2446,2377,2304,2460,2916,2819,2277,2146,2908,3252,2373,1911,1950,2104,2021,2040,2004,2282,2490,2370,2156,1999,1825,1978,2255,3287,3107,2228,2573,2421,2596,2186,1872,1909,2055,2326,2768,3138,2978,2744,2134,1862,1919,1688,2039,2895,3010,2912,2849,2613,2365,2577,2585,2403,2416,2556,2603,2846,2852,2719,3072,3366,2846,2150,2573,3063,2867,3184,3145,2904,2350,2005,1710,2292,2928,2468,1653,1998,2811,2236,1871,2415,2475,2846,2722,2018,2106,2008,2045,2431,2209,1904,2083,1918,2372,2276,1990,2008,1866,1626,1886,2283,2232,2230,2168,1861,1647,1934,1911,1919,2286,1876,1574,1543,1618,1449,1445,1870,2083,1946,1969,1932,1921,2133,1838,1531,1392,1338,1680,1822,1692,1848,1863,1697,1733,2033,1980,2190,2525,3116,3321,3534,3463,2451,1554,1775,1964,1781,1946,2227,2764,2801,2766,3291,3834,5569,6828,5660,3338,2662,2481,1982,1962,2444,2187,2592,2459,2507,2529,2493,2431,2230,2223,2419,2429,2729,2578,2083,2211,2386,2242,2037,2430,2325,2199,2257,2139,2525,3105,2809,2138,1824,1718,1720,1691,1883,2180,2065,2088,2107,2102,2444,2546,2359,2354,2374,2633,2596,2555,2329,2119,1875,1955,2063,1739,1604,1556,1375,1314,1360,1532,1609,1635,1643,1952,1900,2269,2316,1885,1816,1829,2019,2086,2184,1991,2011,3145,3062,2269,1943,1724,1598,1621,1569,1619,1608,1527,1781,1377,1510,1611,2310,2392,2120,1916,1771,1833,1853,2053,1995,2002,2316,2833,2530,2088,2080,2011,2093,2184,2350,2737,2939,2863,2680,2388,2456],[1956,1737,1874,1971,1860,1923,2692,3460,3539,3351,2954,2644,2587,2921,3594,3544,3260,3672,3338,2840,2401,2287,2460,2476,2664,2833,2400,2322,2644,2463,2245,2685,2545,2169,2284,2549,2526,2575,2884,3379,3294,3218,2832,2266,2642,2811,2770,2556,2040,2409,2778,2683,2253,1854,1434,1488,2290,2470,2004,2835,3884,4136,3726,3627,3052,2679,2543,2514,2160,2287,2901,2980,2781,2665,2770,2513,2385,2587,2678,2931,3090,3117,3542,3132,2051,1963,1920,2088,2298,2718,3038,2955,3575,3991,3948,4057,3972,3896,3912,3994,4016,4018,3610,2877,2171,2386,2717,2299,2476,2780,2690,3038,3213,2618,2322,2709,3086,3559,3730,3638,3386,3503,3709,3861,3884,3714,3528,3519,3718,3802,3789,3104,2375,2798,3344,3824,3718,2912,2220,1576,1305,2437,2888,2071,1944,1860,2280,2308,2476,3784,3989,3862,3073,1561,1541,2430,2830,2751,2403,2085,2048,2115,1693,1645,1849,1952,1918,2164,2315,2006,2114,2581,2236,1671,2155,2405,2136,1959,1836,1765,2024,1858,1707,1820,1782,1743,1938,2408,2510,2899,2345,2345,2238,1770,1915,2107,2398,2841,2907,3232,3491,2740,2700,2985,2877,2468,2288,2301,2164,1925,1816,2193,2192,1605,1427,1593,1718,1892,1887,1555,1830,1845,1874,2319,2578,2652,2681,3000,2856,2389,2599,2294,2413,2534,2320,2074,1976,2038,1950,1968,1991,2009,1998,1966,2029,2069,2166,2446,2354,2217,1958,1756,1959,2238,2454,2378,2496,3120,3288,3414,2647,1996,2096,2670,2752,2282,2034,2155,2751,2633,2013,1588,1777,1549,1500,1610,1771,2121,2386,2447,1975,1692,2064,2350,2209,1626,1580,2486,2916,2706,2078,1675,1701,1872,1844,1843,2293,2436,2200,2258,2116,2135,2183,2064,1990,1947,1903,1923,1986,2072,1929,1349,1164,1147,1587,2055,1886,1592,1372,1493,1631,1734,1836,1840,1744,1672,1606,1870,1698,1744,3232,3776,3385,2567,2868,3442,3107,2393,1788,1744,1970,1903,2276,2020,1712,1806,1788,1584,1554,1618,1517,1490,1773,1909,2234,3200,3430,3044,3218,3039,2529,2264,1976,1657,1898,2186,1998,2070,2266,2142,2098,1457,2167,2417,2314,2337,2120,1914,2063,2160,2558,2901,2384,2425,2276,2468,2868,2433,1880,2000,2020,2343,2517,1950,1696,1920,2354,2956,3476,3498,2745,1969,1691,2279,2091,1696,1754,1656,1815,1903,1988,2338,2402,2501,2977,3011,2023,1296,1637,2107,1997,1730,1662,1712,1635,2124,2352,2424,2381,2277,2288,2596,2544,2204,1852,2019,2374,2219,2678,1928,1598,1820,1869,1644,1943,2012,2099,2117,1899,1980,2030,1587,1628,2067,2266,2713,3184,3787,4030,3673,3320,2898,2510,2348,2523,2666,2247,2022,2454,2315,1895,2025,1897,1614,1644,1824,1731,1539,1716,1598,1712,2078,2030,1729,1858,1987,1934,2166,1941,1743,2084,2381,1994,2448,2634,2796,2301,2426,2037,1903,1899,1823,1817,2081,1880,1593,1702,1813,1656,1570,1567,1857,1938,1736,1808,1932,2106,2589,2292,1487,1528,1453,1488,1570,1488,2109,2502,2987,2664,2201,2318,2711,2634,2532,2792,2621,3055,2291,2067,1758,1815,1800,2118,2378,1593,1911,2446,2380,2566,2351,1642,1722,1664,1812,1858,1826,2854,3189,2459,2294,2511,2312,2409,2447,2522,2585,2735,2919,2760,2740,2749,2027,1684,2093,2542,2684,2447,2804,3630,3173,2980,2861,3097,2866,2791,2753,3279,2934,2736,3143,2990,2306,2324,2356,2881,3295,3400,3337,3261,2865,2828,3111,2891,2941,3598,3182,2642,3154,2447,1981,2466,3167,2639,2453,3643,3674,2703,2682,2832,2459,2744,2801,3698,3492,3105,3310,2485,2609,3096,3142,2604,2619,2913,3023,3625,4152,4151,3806,2398,1581,1966,2574,2513,2108,2106,2722,3210,3009,3300,3483,2064,1647,1708,2009,2514,2661,3398,3392,3068,2809,2172,2426,3652,4132,3034,2821,2885,3366,3162,2789,2720,2564,2536,2637,2666,2680,2833,2792,3091,3420,3936,4235,4143,3840,3609,3297,2531,2207,2556,2666,2784,2957,2746,2765,2392,2407,2364,2241,2868,2717,1749,1865,2222,2068,1990,2325,2083,2318,2316,2252,2166,2429,3015,3229,3022,3460,3454,3208,2656,2451,3736,3708,2392,1863,1942,1858,1743,1669,1349,1322,1910,2343,2566,2490,2294,2258,2138,2555,2574,2411,2446,2452,2407,2312,2190,2373,2315,1923,2056,2258,2188,2114,2204,2164,2220,2113,1880,1774,1744,1914,1688,1450,1482,2119,2401,2189,2079,2005,2820,3349,2768,2504,2352,2252,2642,3074,2437,3161,3117,2612,2543,2290,2359,2186,2326,2889,3022,3065,2978,2588,2880,2863,1908,1533,1431,1489,1690,1601,1350,1446,1427,1075,918,1303,1451,1436,1444,1731,1318,1027,1144,1252,1224,1442,1865,1684,1913,1899,1368,1309,1526,1572,1362,1369,1608,1749,1598,1578,1591,1930,2337,2531,2586,2752,1968,1330,1914,2536,2286,2631,2605,2403,2980,2929,3713,3595,3223,2619,2707,2658,2508,3034,3406,3539,3526,3474,2786,2679,3445,3355,3050,2960,3139,3802,3405,2422,1936,2510,2762,1829,2117,2104,2398,2311,2020,2137,2016,1903,1865,2279,2532,1966,1748,2765,2924,2423,3111,4019,3062,2845,2676,2531,2493,2601,2810,2596,2729,2720,2426,2285,2145,2954,3304,3101,2408,2556,2824,2418,2301,2420,2326,1796,1573,1879,2653,3082,2819,2676,2956,3134,3076,2921,2953,2785,2604,2698,2958,3471,2751,1939,2305,2188,1786,1763,2401,2712,2630,2020,1763,2519,2879,2644,2531,2990,2383,2268,2458,3053,3200,3244,3145,2585,2472,2990,3183,3753,3088,2385,1714,2740,2798,2623,2986,2384,2009,1835,2089,1970,1749,1739,1918,2083,2110,2358,2414,1787,2068,2727,3186,3132,2032,1850,3296,3852,3604,3684,3538,2863,3151,3182,2587,1813,1576,2090,2156,1842,1670,1790,1915,2346,2554,2061,1996,2205,2090,2468,3307,3460,3034,2569,2151,1753,1998,2073,2098,2533,2842,2838,3109,3628,3992,3001,2208,2446,2740,3150,3286,2818,2242,1721,1587,2500,2692,2498,2197,1903,1987,2171,2263,2217,2381,3342,3870,3498,3127,3154,2415,1839,1881,2030,2267,2282,1658,1907,2656,3238,2879,2569,2062,1643,1798,1871,1605,1531,1765,1954,2225,3010,2934,2498,2314,2544,2790,2663,2596,2898,2711,2826,2778,2630,2337,1649,1534,1910,3116,3739,3902,4141,4232,3736,3332,3141,2475,1710,2122,2397,2087,1858,1193,1443,2135,2208,2388,2531,1914,1465,1880,2198,2169,2056,2048,2477,2346,2050,1670,1537,2243,3406,3328,2437,2338,2426,2110,2021,2068,2038,2294,2042,2051,1950,2963,3818,3573,3251,3298,3292,2975,2160,1849,1924,1951,1971,2219,2282,1742,1709,1937,1715,1504,1447,1314,1284,1316,1237,1240,1257,1209,1290,1258,1161,1214,1323,1322,1232,1222,1294,1290,1054,1880,3364,3773,3630,3359,3385,3523,3564,3292,2988,3014,3200,3432,3482,3422,3339,3322,3299,3259,3220,3251,3339,3437,3562,3492,3376,3422,3480,3706,4245,4376,4196,3558,3637,3958,2938,2022,1971,1782,1940,1578,1492,1476,1518,1421,1551,1466,1608,1918,1975,1706,1712,1940,1947,2236,2927,3898,4319,4559,4092,3892,3530,3230,3548,3687,2997,2364,2139,2361,2648,2456,2299,1966,1698,1964,2127,2094,1998,1777,1673,1651,2136,1688,1378,1804,1949,1920,2369,2996,3334,3684,3884,3619,3165,3184,3209,3484,3595,3707,3197,2640,2391,2608,2777,2734,1922,1841,3065,3059,2866,2897,3164,3204,3329,2888,2526,2060,1910,2586,2329,1733,1992,2269,2314,2457,2531,2556,2509,2562,2448,1916,1921,2410,2338,1960,2304,2380,2508,2886,3162,2668,2434,2796,2891,2608,2357,2613,3218,3132,3064,2730,2248,1844,1823,1824,2025,1911,1656,1654,1711,1773,2098,2106,1906,1816,1577,1620,1732,1740,2026,2056,2048,2181,1975,2011,2276,2486,3082,2759,2902,3234,3198,3222,3459,3846,3300,2164,1689,1823,2209,3040,3233,2196,1771,1845,1875,2298,2575,2644,1980,1534,2253,3252,3137,3107,2863,2867,3768,4239,4001,3934,3614,3776,4172,4173,4123,4156,4176,4038,3774,3764,3584,4012,3764,3406,3407,3296,3209,3442,3731,3664,3376,3138,3291,3886,4556,4460,4144,4220,4440,4580,4628,4300,4002,3972,3684,3310,3164,3112,2949,3139,3064,3019,2899,2840,2965,3384,3433,2800,2325,2690,3182,3156,2631,2498,2512,2578,2069,1698,2396,2775,2359,2125,1880,1582,1793,2395,2407,2276,2381,2442,2325,2288,2251,2553,2987,3011,2520,2285,2356,2288,2295,2710,2380,2556,2907,3040,2929,2309,2010,1953,2099,2018,1926,2380,2591,2565,2331,1944,1897,1732,2099,2645,2951,3046,2862,2852,2639,2476,2818,2918,2777,2887,3112,3097,3123,3297,3298,3647,3094,2545,2721,2743,2384,2520,2404,2251,2020,1822,1850,2355,3025,2722,1875,2281,2907,2354,1973,1984,2326,2728,2021,1404,1652,1830,2019,2353,2319,1783,1888,1994,1997,2220,2326,2437,2110,1657,1869,2067,1989,2015,1852,1967,1528,2008,1933,1949,2600,2665,2191,1760,1784,1538,1483,2075,2462,2002,2122,1969,1863,2052,1776,1360,1229,1432,1820,1894,1581,1606,1637,1692,1500,1478,1925,2472,2617,2725,3130,3644,3580,2944,2268,2304,2342,2050,1724,1882,2147,2530,2641,2850,3912,5648,6696,5464,3383,2940,3042,2676,2553,2213,2167,2685,2849,2995,2890,2611,2362,2119,2211,2522,2449,2464,2426,2413,2652,2920,2753,2356,2166,2172,2189,2009,2049,2490,2842,2414,2125,1819,1782,1625,1510,2002,2036,1885,1889,1840,1984,2324,2490,2656,2636,2658,3184,3430,2928,2090,1657,1671,1663,1601,1400,1385,1381,1312,1347,1544,1615,1492,1566,1656,1694,1629,1770,1786,1794,2154,2259,2355,2302,2501,2258,2284,2609,2448,2193,1899,1648,1620,1458,1522,1721,1673,1826,1789,1544,1816,1992,2124,2075,2426,2476,2180,2108,2122,2166,1716,1922,1940,2458,2249,1615,1938,2056,1737,1825,2390,2653,2613,2072,1995,2090,1961],[1965,1819,1953,2038,1915,2347,2769,2710,3208,3068,2402,2690,2637,2631,3094,3333,3495,3726,3926,3606,2917,2476,2277,2509,3231,2941,2143,2499,2145,1816,2077,2327,2094,2189,2735,3024,3264,3365,3116,2778,3086,3746,3630,3197,3362,3398,3175,2514,2256,2709,2917,3050,3362,3157,2504,2196,2722,2483,1920,2342,3032,3858,3749,3552,3286,2729,2458,2437,2415,2476,2634,2777,2610,2761,3045,3007,3276,3571,3094,2486,2293,2547,3414,3397,2353,1678,1826,2791,3308,3602,3240,2542,3211,4180,3980,3939,4231,4108,3919,4125,3934,3793,3448,2664,2112,2408,3023,2929,2900,2929,2558,3146,3271,2320,2592,3097,3155,3061,3002,3276,3134,3315,3835,3955,3876,3840,3618,3812,3726,3809,4090,3922,3507,3377,3666,3974,3912,3848,3189,2221,2320,3176,3121,2094,1810,1919,2133,1999,2889,3974,3784,3168,2231,1488,2169,2671,2733,2563,2323,1943,1782,1780,1674,1856,2204,2456,2444,2270,2787,2360,2225,2124,1995,2166,2537,2437,2171,2094,1831,1619,1721,1829,1967,1648,1647,1782,1903,1926,2196,2529,2225,2241,2374,2229,1814,1455,1998,3384,3600,3538,3672,3418,3297,3161,2875,2512,2323,2407,2336,1763,1719,2368,2553,1769,1910,2658,2331,1859,1494,1440,1510,1521,2190,2777,2706,2780,2977,3341,3564,3249,3385,2699,2623,2887,2663,2163,1984,2208,2075,2001,2001,2067,2284,2387,2267,1946,1939,2021,1985,1976,1842,1848,2015,2047,2155,2059,2247,2554,2668,2675,2216,1974,2098,2425,2520,2236,2088,2109,2606,2492,1939,1740,2008,1670,1594,1762,1933,2124,2180,2048,1971,1881,1809,2188,1900,1749,1855,2465,2706,2438,2145,2002,2017,2265,2167,2037,2068,2133,2099,2107,1987,2064,2237,2244,2189,1982,1769,1891,1878,1940,1691,1018,1150,1714,2301,2248,1807,1617,1499,1568,1721,1735,1771,1536,1503,1750,1576,1504,1580,1909,3189,3865,3619,2875,2802,3306,2823,2072,1954,1957,2194,2294,2148,1959,1787,1527,1554,1715,1620,1613,1661,1637,2068,2046,2271,2702,2833,2864,2967,2817,2222,1888,1945,1766,1810,1887,1732,1901,2169,2347,1880,1541,2327,2489,2247,2396,2344,2352,2088,2093,2438,2339,2372,2631,2479,3197,3729,3022,2352,2408,2394,2400,2491,1966,1919,2056,2105,2324,2943,3110,2342,1868,1614,1571,1544,1614,1959,2049,2230,1874,1794,1727,2017,2635,3021,2854,2050,1392,1512,2226,2178,1662,1551,1799,1839,1856,2092,2244,1970,2083,2424,2547,2482,2042,1806,1787,2116,2178,2036,1895,1806,1930,2024,2597,3024,2736,2454,2218,1953,1985,1869,1868,2378,2629,2507,2861,3582,3942,4026,3930,3529,3128,3069,2632,2533,2297,2094,2060,2157,2175,1958,1829,1696,1588,1570,1912,1991,1782,1617,1591,1873,1943,1927,1746,1679,1627,2124,2378,1930,1698,1839,2492,2177,2389,2310,2532,2890,2708,2181,2145,2149,1979,2026,2558,2343,1875,2048,2536,2032,1546,1721,2115,2136,1883,2328,2924,2741,2463,2257,1550,1570,1607,1473,1528,1455,2075,2525,2740,2489,2070,2048,3085,2986,2458,2619,2267,2513,2040,2077,1947,1931,1923,2406,2097,1517,2515,2853,2504,2351,1870,1705,1830,1802,1835,1821,2104,2874,2994,2497,2293,2887,2718,2333,2458,2543,2512,2772,2784,2641,2793,2639,1910,1992,2161,2320,2056,2692,3266,3459,3076,2609,2511,3068,3417,3105,3060,3133,2574,2536,2773,3306,3111,2959,2879,3099,3460,2785,2688,3103,2883,2866,2866,2266,2890,3786,3343,2880,3510,2754,2525,2832,3086,2460,2242,2873,3019,2894,2765,2596,2680,2556,2533,3483,2429,2404,2841,2114,2352,3179,3178,2698,2969,3096,3365,3742,3790,3779,3429,2620,2372,2956,3400,3113,3120,2898,2770,2711,2409,2957,3054,1872,1913,1897,1980,2292,2900,3746,3751,3571,2976,2242,2445,3777,3487,2230,2169,2475,3128,3370,3108,2931,2744,2617,2618,2724,2753,2829,2963,3340,3375,3269,3492,3525,3069,3096,3096,2375,2357,2622,2652,3247,3273,2756,2617,2668,2897,2642,2601,2917,2659,1870,2333,2310,2060,1861,1903,1949,2474,2108,1850,2292,2597,2415,2625,2852,3704,3440,3817,3224,3620,4208,3432,2324,1927,1965,2199,2149,1871,1353,1088,1552,2567,2534,2112,2549,2613,2569,3068,3081,3023,3085,2890,3025,3350,2776,3219,3208,2776,3001,2862,2335,2269,2197,2165,2381,2128,1758,1757,1855,2018,1793,1842,1588,1951,2205,2113,1960,2140,2644,3155,3304,3111,2490,2293,2910,2500,2887,3554,2683,3181,3782,3072,2618,2996,3072,3254,3010,3000,2642,2721,3066,2658,1869,1532,1412,1387,1548,1622,1466,1477,1578,1444,1380,1427,1450,1404,1677,1605,1047,1037,1084,1123,1262,1732,1656,1420,1814,1681,1339,1483,1789,1804,1627,1528,1635,1788,1811,1641,1706,1941,2216,2431,2445,2286,1997,1809,2523,3331,2932,2513,1817,2137,3022,3099,3637,3715,3311,2807,3090,3396,3270,3104,3329,3272,3175,3392,2968,2831,3366,3639,3917,4240,4710,4646,3456,2577,2455,2824,2973,2518,2502,2066,2216,2468,2322,2082,2004,2048,2154,2207,2575,2735,2458,2872,2580,2413,3131,3609,3179,2855,2615,2711,2878,2876,3017,2366,2877,2641,2515,2382,2305,2451,2819,2423,1533,1580,1842,2202,2194,2122,2337,2625,2302,2541,3061,2994,2625,2431,2439,2523,2168,1990,2068,2348,2166,2372,2965,3459,2846,2376,2138,1993,1967,2188,2405,2643,2625,2113,2063,2907,2966,2930,3339,3253,2698,2612,2696,3055,2909,2619,2580,2257,2379,2768,2829,3486,2923,2222,2011,3086,2987,2415,1967,1961,2537,2474,2084,1797,1937,1836,2295,2448,2056,2135,2193,1871,2251,3038,3422,3370,2369,2328,3151,3622,3842,3852,3199,2082,2766,2909,2195,1676,1844,2256,2400,2383,2329,2722,2575,2751,2785,2776,2767,2723,2798,2884,3009,3006,2544,2653,2403,2150,2165,2066,1918,2135,2420,2385,2287,2864,3348,2880,2009,1935,2029,2297,2886,3024,2803,2161,2202,2268,2128,2434,2740,2544,2045,1845,1919,2306,3294,3617,3704,3622,3271,2955,2437,1681,1592,1750,1964,2348,1992,1923,2050,2369,2182,2935,3095,2445,2251,2017,1870,2309,2200,2166,2422,2307,1975,2100,2401,2265,3002,3265,3208,3455,2880,2539,2207,2517,2551,2489,2840,3394,3859,3904,3886,4057,3903,3472,3518,3112,2680,2403,2340,2170,2122,1317,1174,2148,2265,2221,2439,2044,1826,2141,2098,1953,2150,2367,2559,2810,2255,2012,1943,1707,2117,3417,3761,2579,2373,1710,1095,2111,2646,2170,2040,1994,1901,2088,3077,4082,3851,3052,3033,3162,2969,2212,2106,2047,1916,1841,1866,1644,1537,1714,1788,1626,1475,1462,1328,1164,1081,956,865,892,982,1105,1093,1111,1335,1495,1434,1302,1156,1048,1062,1354,1890,3061,3624,3496,3372,3199,3154,3206,3018,2915,3096,3432,3675,3597,3283,3237,3359,3360,3304,3417,3410,3387,3578,3664,3525,3371,3449,3551,3586,3775,3837,3770,3528,3927,4244,2957,2204,2114,1879,1631,1497,1420,1449,1637,1602,1500,1493,1627,1622,1563,1547,1710,1736,1693,1715,2094,3193,4164,4392,3785,2853,2472,3342,3548,2843,2029,1942,2050,2128,2183,1895,1759,1726,1952,2162,1964,1838,1775,1677,2220,2062,2386,1803,1483,2127,2371,2232,2611,3313,3784,3339,2548,1969,2014,2814,3041,2931,3100,3382,3164,2614,2381,2653,2824,2524,1957,2271,3046,3385,3031,3019,3128,3054,3092,2821,2833,2326,1844,2713,2930,2439,2470,2535,2801,2495,2338,2420,2432,2557,2424,1946,1926,2135,2025,2409,3029,2527,2504,3057,3375,2979,2769,2869,2653,2303,2500,2715,2790,3040,3083,3122,3544,2583,2016,2067,2004,1808,1700,1759,1858,1962,2095,1906,1974,1839,1451,1534,1446,1591,2045,2095,2143,2225,2265,2273,2375,2610,3584,3112,2874,2998,3009,3060,2832,3225,3161,2207,1715,2046,2324,2915,2736,2063,1771,1847,2181,2202,2166,1936,1577,1395,1887,2800,2712,2950,3230,3671,4509,4900,4693,4284,4060,4255,4227,3953,3981,3936,3936,4038,3651,3621,3516,4125,4038,3478,3311,3222,3204,3317,3338,3316,3252,3083,3262,3904,3782,3783,3519,3613,3883,4304,4749,4628,4560,4557,4258,3637,3485,3542,3367,3205,3066,3249,3173,2932,2896,2617,2292,2424,2456,2449,2373,2330,2888,3076,3015,3291,2790,2385,2618,2354,1680,1149,1308,1623,1322,2112,2641,2812,2858,2911,2775,2369,2294,2420,2331,2901,2945,2354,2371,2396,2173,2117,2203,2801,3283,3288,2833,2464,2316,2213,2399,2046,1957,2271,1993,2146,2263,2182,2017,2023,2557,2711,2543,2511,2923,2554,2352,2403,3107,3152,2678,2819,3097,3142,3118,3007,2842,3663,2743,1672,1832,1907,1489,1877,2540,2548,2288,2010,1843,2002,2531,2083,1682,2029,2241,2236,1845,1353,1821,2279,2008,1588,1553,1550,1786,2099,1988,1415,1358,2006,2401,3194,3619,3288,2459,1635,1561,1626,1537,1566,1802,1730,1526,2122,2115,2115,2520,2834,2558,2068,1909,1745,1684,1815,1780,1772,1847,1919,2200,2109,1736,1548,1506,1570,1616,1509,1383,1455,1447,1478,1414,1976,2856,3002,2641,2570,3342,4042,3881,2784,1952,2391,2815,2543,2452,2431,2362,2232,2225,2513,2719,3319,4096,3162,2466,3349,3667,2955,2642,2548,2734,2868,2922,2959,2598,2353,2314,2456,2731,3416,3172,2787,2511,2220,2386,2491,2362,2176,2311,2481,2048,1779,1674,1861,2141,2288,2248,1989,1989,1613,1432,1672,1874,2133,2023,1947,2500,3064,3007,3158,2884,2585,3233,3670,3306,2475,1790,1565,1368,1396,1446,1354,1366,1708,1925,1989,1903,1843,1863,1776,1705,1473,1598,1709,1870,2259,2270,2252,2249,2584,2427,2199,2301,2054,1848,1848,1927,1734,1743,1822,1635,1860,2137,1849,1618,1699,2091,2106,1889,1816,1693,2011,2006,2057,1874,1731,1969,1767,2250,2093,1536,1983,2119,1743,1952,2508,2219,2116,2204,2428,2523,2026],[2457,2329,2129,1834,2111,2978,3194,2698,2633,2622,2302,2461,2792,2533,2786,3241,3458,3952,4396,4228,3416,2521,2090,2134,2735,2890,2433,2445,2023,1766,1907,2085,2054,2352,2631,2898,3452,3565,3130,2502,2590,3560,4005,3505,3304,3316,3285,2783,2000,1877,2272,2524,2662,2214,1984,1926,2353,2153,1980,2230,2402,2431,2151,2203,2036,1989,1976,2723,2805,2305,2313,2292,2461,2784,2690,2754,3328,3733,3375,2642,2273,2648,2990,2824,2269,2100,2568,2502,2990,3758,3748,2739,2907,3951,3463,3039,3285,3640,3928,3993,3422,3348,2991,2347,2216,2410,3150,3517,3061,3204,3256,3430,3398,3041,3184,3129,2945,2720,2958,3205,3023,3188,3752,4084,3884,3309,3526,3632,3716,3741,3702,3755,3728,3406,3443,3493,3680,3872,3035,2199,2576,3118,2736,1801,1632,1617,1807,2181,2585,3025,3197,2597,2233,2290,2642,2409,2364,2310,1983,2063,2103,1759,1579,1863,2198,2713,2522,1783,1948,2171,2206,2082,1948,2059,2188,2101,2101,1943,1722,1681,1692,1652,1702,1585,1540,1878,2012,2195,2240,1918,1562,1458,2001,2263,1456,1467,2755,4046,4107,3537,3709,3896,3720,3538,3207,2718,2393,2719,2743,1428,1441,1806,2153,1851,2418,3017,2389,1720,1831,1933,1640,1930,2438,2706,2751,2889,2880,3161,3611,3562,3692,3021,2988,3658,2755,1979,1753,2051,1652,1783,1909,1792,2210,2854,2702,1819,1230,1523,1842,1802,1676,1869,1671,1654,1592,1653,2051,2056,1965,2061,1889,1908,1888,1952,2144,2029,1945,1966,2091,2019,1910,1925,1974,1893,1938,2047,2042,2120,2176,2108,2324,2145,1984,2050,1954,1949,2043,2138,2165,2007,1908,2118,2050,2048,1967,2087,2114,2482,2473,2445,2380,2357,2478,2414,2336,2187,1976,1816,1576,1763,1736,1332,1481,2159,2438,2307,1962,1574,1482,1673,1642,1538,1754,1353,1429,2270,1962,1624,1605,1710,2692,3583,3400,2777,2282,2152,1872,1690,1795,1677,2560,2771,2126,2138,2030,1674,1780,2006,1757,1837,1764,1730,1985,2043,2298,2441,2828,3197,3488,3327,2307,2112,2277,1953,1755,2071,1995,2302,2429,2756,2177,1840,2742,2900,2408,2471,2734,2113,2029,2049,2171,2273,2453,2667,2762,2789,2718,2609,2894,2800,2524,2314,2423,2472,2266,2323,2214,2060,2472,2402,1934,1833,1653,1617,1687,1651,1746,1941,2022,1771,1863,1884,2322,2835,2952,2647,1842,1431,1569,2222,2157,1611,1663,2095,2019,1775,1760,1831,1747,1811,1876,1553,1707,1806,1657,1609,1912,1981,1504,1893,2483,2231,2209,3160,3689,3023,2658,2409,2013,1833,1976,2353,2558,2568,2809,3449,3753,3795,3905,3926,3495,3303,3133,2751,2618,2364,2314,1878,1809,1921,1717,1527,1672,1525,1818,2398,2302,1948,1726,1930,2016,1732,1620,1903,2157,2187,2395,2099,1957,1975,1707,2115,2545,2750,2827,2962,3117,3020,2996,2517,1967,1823,2172,2226,2382,2159,2142,2238,2020,2116,2468,2398,1937,2054,2945,3419,2981,3188,2321,1601,1642,1397,1310,1284,1560,2237,2820,2867,2272,2191,1975,2705,2828,2480,2396,1929,1787,1701,2276,2562,2003,2013,2722,2651,2430,2831,3266,2942,2187,1751,1678,1730,1886,1920,1789,2200,2967,3364,2835,2324,2869,2374,2108,2854,2767,2595,2512,2549,2526,2731,2492,2118,2756,2793,2630,2336,2618,3287,3527,3580,3406,3131,3261,3576,3558,2845,2655,2720,2587,2769,2833,2962,3326,3259,3327,3505,2883,2733,3153,2879,2807,3352,2630,3112,3774,2950,2143,2182,2231,2832,3176,2839,2313,2178,2326,2813,2514,2439,2036,2424,2670,3378,3640,2292,2155,2524,1877,2026,2522,2380,2210,2314,2198,2515,2534,2575,2933,2880,2893,3217,3352,3482,2904,3487,3373,2987,2876,2846,3338,3011,1946,1836,2135,2498,2806,3331,3834,3341,3316,2851,1982,1782,3270,3560,2855,2433,2654,3341,3404,3018,2852,2799,2828,2766,2851,2947,2903,3188,3507,3363,3255,3443,3408,3145,3250,3262,3078,3123,3143,3252,3891,3925,3404,3205,3476,3248,2896,2684,2374,2186,1997,2389,2437,2251,2443,2372,2377,2548,2359,1971,2282,2771,2404,2800,2566,2464,2298,2896,2294,2256,2917,2835,2605,2777,3147,2862,2557,2570,1834,1303,1408,2409,2334,2065,2442,2496,2646,3075,3053,2995,2872,2610,3078,3319,2839,3329,3277,2464,2620,2600,2022,1916,2125,2348,2576,2410,2234,1996,1866,1878,1696,1986,2066,1660,2011,2172,1928,2050,2094,2046,1964,2272,2745,2734,2552,2461,3426,3089,2318,2924,3268,2369,1920,2546,2957,3138,3196,2906,2645,2808,2810,2269,1705,1503,1602,1251,1237,1317,1472,1586,1903,2129,1945,1619,1462,1588,1794,1353,962,1122,1148,1244,1384,1810,1569,1355,1516,1676,1697,1671,1642,1762,1614,1519,1680,1592,1645,1384,1801,1899,2094,2106,1843,1858,1927,1807,2793,3311,2809,1886,2085,2621,2824,3342,3974,3649,2802,2376,2488,3167,3006,2520,3018,2821,3005,3018,2922,2953,3330,3869,4236,4336,4177,3642,3008,3072,3091,3496,3618,3244,2232,1288,1775,2556,2644,2686,2565,2512,2370,2425,2450,2285,1954,2308,2366,2228,2699,3201,2614,1787,1933,2544,2600,2521,2742,2733,2954,2267,3272,3489,2679,2355,2890,2834,2082,1869,1750,2376,2221,2172,2032,2478,2421,2565,2909,2618,2537,2656,2623,2641,2099,1974,2346,2348,2019,2235,3174,3567,2927,2399,2185,2025,2325,2669,2293,2292,2432,2156,2366,2468,2348,3275,3979,3253,2385,2176,2111,2144,2327,2165,2147,2299,2737,3083,3063,2842,2731,2131,2116,3250,3664,2873,2107,2353,3061,2397,1980,2746,2614,1879,2191,2426,2144,2099,2308,2152,1953,2490,3062,3334,2996,3187,3443,3453,3486,3485,2843,2317,2240,2240,2832,2406,2515,2646,2547,2751,2891,3053,2792,2853,2995,3429,3582,3440,3279,2528,2078,2489,3189,3624,2721,2379,2111,2076,1946,1806,1885,2127,2401,2532,2244,2143,1990,2121,2032,1976,1917,2262,2479,2446,2579,2584,2095,2179,2094,2340,2556,2543,2263,2006,3238,3748,3880,4111,3509,2414,2035,1942,2543,2888,2173,1749,1698,2007,2355,2054,1502,2082,2258,2184,2187,1984,2151,2498,2139,2304,2580,2322,2301,2430,2328,2181,2740,2613,2654,3232,3482,3567,2642,3099,3794,3780,3717,3892,3909,4052,4001,3354,2374,1978,2740,3256,2464,2094,2069,2398,1600,1331,1680,1836,1918,1697,1442,1554,1748,2047,2242,1990,2444,2614,2390,2358,1974,1714,1920,1924,2194,2801,2583,2530,2264,1428,816,1867,2565,2279,2113,1971,2084,2557,2893,3879,4058,3281,3164,3565,3118,2623,2488,2314,1927,1676,1512,1480,1986,2117,1902,1523,1383,1369,1238,1032,862,770,731,757,889,1011,995,1064,1359,1602,1460,1142,1023,1155,1577,2119,2609,3217,3506,3333,3164,3104,3187,3209,3196,3165,3318,3597,3838,3801,3615,3527,3474,3415,3341,3422,3427,3552,3643,3703,3613,3516,3526,3507,3499,3562,3476,3275,3632,4018,3904,2788,2240,2174,2374,1831,1513,1350,1411,1562,1624,1466,1396,1434,1506,1432,1556,1867,1708,1505,1494,1886,2568,3132,3154,3039,2538,1969,2632,2415,2039,2047,2151,2430,2221,2264,2430,1975,1873,1815,1580,1677,2220,2081,2102,2195,2133,2061,1821,1766,2266,2511,2454,3206,3322,2979,2522,2083,2065,2365,2857,2799,2363,2552,2770,2893,2706,2566,2724,2917,2743,1976,2665,3527,3496,2787,2502,2566,2780,2829,2706,2765,2618,2375,2546,2956,3007,2974,2922,2775,2286,2393,2502,2241,2308,2668,2382,2121,1972,2194,3003,3112,2354,2303,2598,2808,2858,2415,2409,2728,1919,2227,2555,2183,2584,2698,2907,2729,2229,2121,2045,1773,1778,1683,1782,1767,2023,2070,1858,1681,1758,1666,1499,1509,2130,2174,1828,2068,1822,1992,2196,2217,2712,3293,2993,2995,2961,3015,3309,3518,3222,2438,2116,2060,2211,2612,3262,3175,2622,2499,2440,2300,2511,2790,2430,1901,1997,1885,2331,2402,3366,4188,4308,4784,5087,4970,4916,4928,4920,4601,4156,4107,4145,3815,3652,3494,3316,3315,3816,4034,3704,3363,3245,3112,3179,3213,3199,3203,3069,3168,3362,3185,3277,3276,3388,3784,4437,4741,4820,4748,4749,4393,3820,3780,3835,3562,3188,3040,3052,2898,2851,2555,1855,1679,2316,2800,2326,1968,2395,2763,2452,2368,2813,2743,3156,3374,2480,1696,1377,2136,2520,1675,1624,2452,3127,3118,2753,2552,2261,2032,2203,1931,2965,3164,2574,2588,2536,2565,2377,2225,2851,3349,3095,2300,2112,2175,2143,2226,2100,2476,2209,2003,2811,3107,2710,2350,2253,2524,3053,3023,2770,2919,2517,2722,2698,2939,3088,2713,2998,3128,2994,3022,2619,2353,2921,2779,2182,2431,2433,1713,1993,2543,2397,2451,2511,2168,2013,1963,1528,1923,2613,2739,2796,2359,1659,1583,1640,1788,1844,1647,1677,1720,1769,1530,1463,1554,1992,2510,2655,2721,2442,1956,1720,1592,1590,1715,1704,1671,2004,2348,2600,2696,2518,2040,2215,2454,2083,1888,1970,2019,1713,1562,2266,2177,1879,2325,2154,1830,2050,1657,1483,1510,1468,1440,1554,1614,1736,1842,1986,2358,2621,2473,2490,2849,3449,3282,2177,2007,2563,3010,2653,2906,3418,3370,2282,1973,2318,2326,2034,2531,2240,2412,3210,3330,2663,2564,2745,2861,2720,2648,2363,1903,2126,2352,1886,2828,3584,3646,3762,3576,3146,2790,2542,2199,2262,2608,2788,2670,2632,2077,2037,2151,2349,2378,2331,2073,1577,1456,1718,1860,2040,2235,2437,3064,3440,2842,2143,1979,2285,2911,3166,2967,2508,2176,1826,1710,1786,1805,1630,1675,2235,2812,2920,2128,1641,1704,1866,1858,1736,1644,1716,2047,2237,2229,2066,2220,2552,2281,2179,2306,2197,2045,1972,2048,1768,2050,2050,1628,1594,1759,1802,1627,1716,1942,2228,2323,2006,1686,2194,1790,1384,1411,1663,1827,1951,2330,2304,1945,2107,2158,1826,1876,2122,2171,2226,2283,2086,2271,2084],[2963,2416,1721,1366,1677,2315,2641,2820,2344,2592,2958,3110,3175,2756,2677,2897,3373,4111,4412,4328,3859,2861,2061,2045,2041,1822,1607,1719,1773,1676,1871,2162,2199,2382,2844,3288,3653,3582,2930,2502,3285,3869,4229,3858,3391,3041,3074,2951,2090,2155,2585,2091,1347,1209,1391,1725,1900,1932,2020,2262,2554,2006,1403,1566,1196,1737,1773,2856,3160,2674,2285,2302,2710,2612,2138,2370,3196,3959,3777,2862,2380,2454,2351,2576,2850,2418,2004,1715,2209,3459,3883,3000,2691,3247,3206,2547,2335,2889,3569,3808,3272,3096,2845,2424,2255,2241,2734,3406,3484,3398,3616,3773,3351,3019,2888,3032,3073,3151,3520,3454,2903,3121,3584,3654,3197,3251,4004,4116,3926,3831,3614,3270,2810,2692,2879,2855,3270,3422,2978,2194,1932,2912,3044,2314,1891,1736,2010,2548,2192,2481,2547,2855,3466,2851,2448,2341,2099,1937,1859,1811,1687,1587,1714,1890,1857,2250,2039,1784,1851,1801,1803,2003,1972,1944,2088,1918,1831,1670,1608,1629,1595,1442,1644,1589,1553,2014,2126,2208,2453,2200,1912,2036,2493,2908,2216,1958,3340,4149,4148,3697,3447,3403,3610,3732,3396,3175,2725,3131,2909,1469,1527,1912,2032,1961,2126,2200,2066,1919,1833,2202,2209,2531,2806,3019,2974,2990,2655,2062,2158,2896,3307,2863,2853,3367,2544,1885,2184,2510,1910,1918,2023,1800,2194,2910,2736,1676,1436,1875,1923,1776,1706,1372,1129,1548,1661,1680,1955,1915,1921,2510,2599,2056,1588,1734,2404,2208,1948,1981,1890,2022,2137,1858,2021,2031,2001,2040,1975,2061,1972,2041,2160,1969,2031,2088,2114,2149,2292,2268,2250,2068,2009,2263,2025,1728,1673,2055,2250,2598,2719,2492,2468,2510,2303,1829,1975,2337,1758,1564,1491,1728,1886,1506,1438,1888,2088,2015,2173,1974,1628,1538,1572,1618,1621,1697,2118,2789,2432,2017,1845,1617,2136,2636,2391,2150,1880,1886,1969,1876,1751,1655,2041,2235,2306,2298,2169,2001,2025,2244,1783,1658,1675,1836,1986,2121,2559,2579,2657,3674,4305,3505,2250,1866,2079,2025,1918,1914,2105,2088,2049,2911,3322,2794,2369,2609,2624,2919,3586,2415,2288,2284,2089,2521,2766,2965,3054,2241,1896,2630,3320,2765,2868,2405,2324,2396,2388,2473,2474,2618,2642,2123,1998,2014,1748,1604,1824,1860,1371,1607,1837,1828,2239,2230,2405,2994,3009,2649,1865,1462,1714,2293,2200,1636,1822,2244,2304,2430,2479,2282,1981,2131,2211,1781,1627,1688,1448,1786,2165,1819,1526,1621,1609,1984,2604,3673,3910,2844,2577,2282,2125,2161,2424,2729,2751,2589,3119,3704,3723,3779,3926,3998,3185,2901,3030,2762,2233,2173,1879,1609,1625,1706,1503,1596,1824,1520,2042,2603,2548,1999,1874,1883,1581,1332,1777,2366,2568,1879,1907,1855,2009,2226,1900,1847,2530,2790,3053,3350,2894,2452,2524,2862,2448,1814,2007,2161,2170,2277,2315,2028,1801,2035,2248,2210,1785,1980,2955,3009,2330,2513,1947,1560,1687,1421,1190,1156,1606,2228,2447,2482,2235,2384,2499,2504,2386,2142,2034,2003,2019,1958,2199,2411,1866,2179,3046,3039,2707,2741,3155,2536,1832,1713,1666,1785,1909,1897,2093,2540,3057,3650,2957,2680,2828,2263,2171,2456,2835,3088,2938,2525,2431,2624,2209,2769,2718,2970,2470,2268,2613,3142,3371,3384,3567,3466,3617,3543,3589,2979,2860,2819,2709,2954,2944,3224,3747,4002,3960,4027,4108,3994,3266,2552,3037,3506,2712,2754,2969,2257,1899,1524,1424,2197,2630,2171,2141,2604,2085,2189,2708,2972,2837,2714,2906,3520,3571,2684,2919,3379,2300,2343,2517,2033,1744,1411,1852,2573,2309,1794,2229,2464,2244,2685,2820,2818,2802,3407,3498,3251,2980,2974,3270,2898,2192,1978,2534,3154,3544,3863,3276,3107,3271,2800,2229,2111,2932,3564,3241,2861,3132,3612,3317,3050,2919,2843,2968,3032,3064,3124,2975,3051,3377,3368,3306,3442,3713,3623,3716,3648,3574,3742,3872,3994,4252,4193,3904,3894,3648,2717,2720,2417,2071,2076,2225,2699,2734,2542,2844,3155,2830,2283,2383,2306,2701,3583,2778,2269,2282,2469,2710,2432,1355,920,1460,2340,2910,2832,3526,2893,2530,2523,2208,2379,2261,1987,2124,2400,2445,2284,2407,2962,3149,3416,2862,2317,2685,3285,3576,3548,3098,2536,2536,2523,2046,2013,2314,2166,2165,2543,2402,2160,1754,1744,2280,2790,2248,1541,1649,2037,2052,1979,1986,1985,1875,2075,2448,2482,2259,3030,3372,2621,2219,2020,2425,1993,1997,2269,2931,3242,3317,2827,2664,2920,2585,1811,1460,1450,1563,1322,1304,1402,1467,1783,2155,2306,2087,1797,1682,1949,1930,1198,1030,1170,1104,1206,1447,1799,1710,1689,2055,2093,1844,1745,1571,1527,1544,1471,1489,1380,1370,1484,1796,2110,2346,1940,1659,1872,1925,1801,2712,2855,2545,1819,2176,2912,2614,2619,3813,3541,2480,2137,3103,3453,2985,2467,2640,2831,3101,2877,2736,2877,3024,3142,3295,3553,3218,2807,2843,2906,3218,3929,4208,3758,2403,1369,1637,2556,2744,2556,2519,2523,2243,2613,2630,2237,1790,1919,2142,2083,2490,2785,2795,2169,2404,2521,2405,2483,2688,2774,2404,2094,2525,2771,2766,2496,3066,3121,3802,3461,2475,2900,2321,2248,1862,1649,2266,2802,2432,2030,2408,2923,2676,2346,2546,2202,2175,2202,2172,2855,3253,3065,3000,2492,2189,2213,2100,2462,2475,2591,2837,2451,2207,2012,2286,2875,3119,2766,2033,1896,2066,2383,2935,2776,2620,2969,3126,2904,2708,2802,2701,2225,2146,3011,3559,3307,2859,2685,2296,2269,2720,3187,2781,2235,2086,2204,2199,2188,2150,2131,1920,2284,2346,2268,3049,3465,3616,3666,3429,3171,2887,2255,1365,1774,2907,2521,2544,2561,2743,2667,2523,2446,2396,2619,3301,3759,3011,3028,2388,1778,1791,1885,2938,3667,3348,2846,2724,2563,1888,1811,2375,2692,2722,2439,1810,1746,1918,2059,1909,1883,2119,1981,1986,2127,2770,2612,2048,1995,1929,2163,2310,2488,2563,2768,3452,4027,4200,3989,3295,2539,2259,1862,1825,2697,2678,2237,2094,2015,2622,2461,1985,2424,2512,2427,2180,1835,1988,2282,2379,2953,2720,2006,1857,1945,2019,1991,2540,2561,2833,3116,4101,4320,3165,3016,3908,4377,4120,3914,3909,3487,2482,1562,1547,2086,2637,2587,1981,1936,2485,1892,1215,1981,1992,1569,1578,977,901,1187,1656,1803,2454,2233,2327,2454,2081,1995,1942,1748,1858,1783,1967,2653,2631,2737,1502,1198,1729,3116,3854,3146,2631,2501,2547,2732,3134,3150,3183,3081,3138,3813,3493,2672,2610,2731,2195,1531,1293,1842,2361,2349,2043,1611,1312,1180,1096,984,797,732,840,997,1085,1033,1033,1099,1272,1404,1405,1261,1191,1519,2112,2728,3261,3348,3495,3238,3156,3174,3209,3486,3449,3360,3167,3250,3683,3799,3735,3887,3575,3356,3418,3464,3343,3518,3453,3535,3606,3560,3505,3483,3387,3476,3342,3040,3311,3491,3341,2431,1959,2164,2055,1630,1534,1448,1458,1664,1776,1613,1327,1431,1517,1682,1587,1653,1695,1493,1425,1477,1685,1830,1875,2486,2410,1663,1902,2020,2042,1792,2374,3242,2720,2480,2697,2198,1916,1967,2123,2510,2679,2466,2509,2721,2290,1957,2104,1743,1952,2477,2409,2862,2600,2263,2171,2324,2765,2564,2810,2832,2478,2499,2301,2641,2046,2135,2433,2678,2707,2542,3305,3331,2429,1991,2539,2849,2919,2714,2691,2463,2222,2536,2586,3172,3517,3098,2790,2409,2440,2707,2328,2252,2486,2852,2405,2344,2165,2757,2926,2479,2087,2073,2366,2530,2354,2159,2825,2986,2264,2097,1758,1783,2163,2429,2407,1742,1446,1760,1700,1576,1719,1755,2205,2104,2098,2032,1876,2024,1885,1490,1664,2288,2709,2574,2282,2056,1850,1979,2119,2024,2220,2467,2689,2791,2830,3273,3532,3759,3350,2311,2074,2363,2535,2601,2987,3167,2774,2710,2685,2700,2874,3143,2801,2280,2298,1805,2014,2561,3847,4722,4457,4428,4683,4762,4840,4764,4805,4432,4111,4110,4190,4012,4152,3711,3252,3254,3547,3992,3792,3390,3299,3178,3112,3176,3233,3181,2978,3068,3010,3030,3240,3374,3582,3561,3886,4356,4908,4803,4732,4472,4051,3663,3664,3731,3297,3033,2836,2381,2019,2696,2482,2048,3226,3697,2404,2120,2823,3051,2639,2167,2519,2474,2485,3281,2976,2352,2664,2811,2423,1825,1710,2182,2631,2325,1759,2012,1925,1677,1955,2167,2815,3107,2779,2230,2142,2621,2317,2349,2590,2645,2525,2264,2484,1808,1464,1819,2741,3388,2468,2216,3300,3632,3426,2968,2785,2641,2653,2827,2800,2485,2402,2462,1742,1654,2056,2492,2289,2164,2032,2200,1869,2019,2673,2776,2631,2768,2554,2271,2689,2821,2802,2769,2696,2324,2139,1979,2488,3210,2871,2686,3001,2708,2041,1920,1987,1867,2163,1786,1616,1649,1788,1612,1533,2048,2548,2546,1905,1739,1525,1575,1781,1830,1757,1817,2273,2153,2041,2586,2652,2656,2614,2348,2152,2238,2250,1813,1996,2030,1592,1779,2377,2296,1925,2097,2114,1811,1927,1572,1261,1423,1619,1538,1676,1866,1871,1758,1835,2077,2098,1949,2307,2428,2500,1995,1558,1832,2835,3082,2729,2932,3131,3511,2491,2445,2549,2050,1954,2310,2023,2298,2673,2463,2663,2663,2402,2874,2692,2452,2307,2169,2364,2659,2509,3034,3293,3528,3830,4037,4112,4056,3833,3275,2729,2282,2385,2467,2755,2912,2854,2719,2477,2424,2339,1891,1645,1918,1949,1670,1861,2194,2387,2872,2724,1847,1707,1849,1905,2853,2293,1762,1969,2580,2521,2582,2027,1824,1990,2397,3020,3589,3526,2368,1794,1763,1659,1919,2048,1571,1535,1737,1775,1677,1723,2104,2315,2214,2153,1980,1979,2095,2024,1921,1576,1804,1870,1664,1863,1945,1817,1479,1703,1949,1875,1969,1990,2014,1962,1374,1062,1509,1894,1820,1844,1864,1748,1769,2085,2150,1946,2549,2326,1918,2216,2106,1834,2359,2435],[3084,2511,1782,1641,1712,1960,2169,2634,2753,3361,3245,3149,3085,2580,2439,2569,2901,3702,4504,4456,4172,3575,2432,2354,1941,1545,1532,1817,2014,2098,2228,2483,2354,2309,2828,3254,3359,2863,2537,2790,3895,4004,3987,3961,3520,2972,2778,2627,2404,2902,3174,2378,1800,1744,1880,2125,2337,2707,2711,2475,2588,2068,1356,1639,1477,1975,1941,2531,2799,2708,2568,2495,2601,2413,2085,2834,3529,3930,3703,3088,2455,2053,2470,3267,3417,2556,1745,1831,2324,2999,3442,3061,2614,2818,3312,3250,3053,3080,3448,3680,3647,3525,3098,2750,2455,2504,2894,3356,3440,3463,3693,3795,3345,2381,2264,2981,3208,3318,3572,3224,3168,3067,2956,2778,3144,3683,3748,3745,3627,3427,3482,3122,2502,2233,2250,2500,2605,2721,3285,2965,2786,3122,3112,2951,2663,2031,2176,2664,2249,2568,2493,2629,3559,3168,2270,1964,1881,1853,1901,1925,1815,1697,2000,2308,2236,2136,1809,1865,2018,2034,1913,1935,1980,1735,1786,1654,1600,1662,1629,1552,1508,1551,1942,1948,1562,1855,2182,2238,2343,2354,2219,2386,2453,3062,2847,2843,3549,3826,3902,3794,3562,3409,3604,3724,3705,3410,2583,2285,1964,1544,1628,2051,2164,1947,1920,1658,2298,2235,1938,2280,2504,2341,2906,3276,3094,3051,2742,1737,1574,2724,3076,2579,2556,2598,2341,1848,2469,2308,1668,1767,2364,2523,2246,2301,2271,1485,2057,2318,2006,1879,2200,1595,1332,1591,1888,1802,1713,2164,2120,2003,2060,2115,1682,1709,2275,2335,2489,2490,1943,2333,2409,1686,2120,1914,1817,1930,2111,2141,1582,1646,1867,1803,1932,2117,2100,1917,2144,2154,2439,2298,2225,2500,1976,1469,1697,2107,1749,1499,1885,1899,2071,2113,2348,2084,2053,2431,2318,2004,1789,1946,1976,1851,1832,1953,1808,1935,2612,2326,1938,1923,2295,2377,1974,2251,2392,1960,2003,1908,1647,1654,1871,1769,1733,1993,1909,2070,2248,1797,1438,1632,1888,2201,2420,2421,2164,1967,2128,1968,1454,1394,1686,2062,2097,2291,2721,2780,3281,4059,4220,3215,1928,1215,1250,1439,1597,1485,1478,1587,1970,3142,3879,3315,2648,2476,2472,2223,2458,2432,2242,2221,2621,3162,2939,3081,3360,2907,2579,3311,3667,3283,3073,2586,2382,2430,2370,2054,2370,2552,2266,2221,2151,2339,2101,1870,2031,2036,1614,2127,2297,2001,2256,2141,2253,2526,2601,2428,1839,1411,1764,2360,2230,2011,2194,2275,2214,1922,1986,1761,1942,2031,2239,1809,1548,1552,1588,1951,1967,1547,1748,2083,1782,2293,2617,2745,2417,2116,1915,1819,2221,2456,2610,2680,2820,2744,3594,3780,3780,3760,3696,3607,2659,2288,2604,2208,2045,2304,1909,1703,1571,2018,1641,2302,2326,2006,2085,2038,1768,1684,1792,1879,1951,1878,2520,3098,2844,2030,2003,1871,2127,2511,2136,1899,2499,2927,3122,3027,2769,2298,1673,1842,2245,2555,2853,2378,2042,2286,2021,1497,1692,1902,1841,1990,1814,2036,2656,2238,1722,1890,1739,1576,1627,1371,1333,1440,2169,2987,3030,2601,2223,2438,2699,2576,2271,1881,1976,2686,2737,2049,2067,2044,1700,2766,3422,2950,2653,2867,3034,2332,1703,1605,1828,2034,1979,2158,2668,2833,3177,3331,2884,3044,3030,2617,2547,2841,3175,3241,3016,2808,3244,3470,2713,2353,2392,2840,2589,2510,2767,3495,3825,3757,4004,3587,3570,3149,2987,2928,3460,3260,3178,3024,2744,3067,3452,3710,4075,4445,4181,3785,3234,3493,3861,3608,2809,2655,2686,2282,2143,1862,1826,2155,2504,2491,2832,2648,1716,2392,2974,2830,2976,2942,3131,3505,3840,2774,3322,3739,2585,2784,2629,2445,2056,2070,2968,3433,3228,2569,2856,2715,2534,2815,2742,2291,2479,2905,3022,3038,2846,3096,3249,3107,3157,3117,2964,2862,3630,3662,2700,2646,2943,2656,2512,2526,2810,2888,2822,2734,2858,3381,3053,2893,2854,2938,2990,3030,3110,3082,2875,2996,3489,3417,3500,3887,4184,4140,4090,3882,3775,3993,4132,4199,4268,4051,3982,4068,3415,2639,2313,2143,2035,1897,2155,2480,2089,1948,2469,2448,1732,1756,2508,2372,2502,2977,2798,2265,2368,3146,3436,2423,1509,1489,1802,2449,2994,2621,3166,2575,2194,2475,2564,2562,2426,2262,2196,1923,1758,2084,2221,2975,3170,3496,2696,2151,2552,3304,3841,3746,3154,2453,2448,2680,2299,1771,2215,1983,2040,2183,2093,1941,1638,2064,2845,3130,2925,2249,1553,1725,2024,1846,1804,1872,1812,1715,1835,2012,2466,2900,2327,2195,1982,2251,2163,2325,2458,2950,3392,3195,2844,2486,2740,2962,2518,1868,1434,1430,1494,1518,1494,1494,1451,1510,1828,2123,2125,1944,1849,1897,1874,1416,1256,1230,1233,1249,1614,2002,1810,1794,1882,1959,1909,1766,1701,1492,1369,1480,1422,1337,1502,1736,1852,1905,1981,1756,1691,1898,1854,1844,2584,2664,2282,2108,2370,2923,2832,3082,3870,2763,2514,2489,3794,3802,3041,2224,2303,3105,3053,2120,2200,2687,2839,2717,3016,3256,3115,3093,3076,2923,2765,2856,3538,3925,3454,2587,2098,2758,2588,1812,2142,2276,2233,2752,2765,2009,1948,2769,2894,2886,3020,2831,2917,2598,2471,2596,2612,2444,2601,2739,2460,2332,2354,2160,2334,2307,2347,2075,3217,3375,3055,3248,1964,1715,2302,2165,2403,2710,2674,2226,2396,2416,2429,2327,2431,2306,2480,2576,2642,3250,3239,2720,2604,2333,2185,2304,2403,3407,3154,2859,2376,2385,2524,2264,2452,2619,1912,1860,1968,2187,2102,2545,2652,2973,3438,3021,2432,2080,2086,2812,2735,2447,1820,2214,2712,3147,2864,2326,2608,2944,2752,2587,2462,2133,1880,2491,2446,2120,1887,2053,2018,1953,1724,2003,3010,3585,3574,3674,3514,3011,2828,2370,976,1755,2939,2843,2879,3068,2929,2334,2103,2249,2100,2445,3151,3062,2448,2815,1993,1612,2268,2532,2906,3231,2955,2690,3153,2997,2159,2199,2920,2625,2542,2778,2635,2142,1639,1698,1685,1856,2109,2021,1998,1957,2469,2265,2003,1881,2008,2580,2754,2368,2231,2487,3166,3716,3853,3498,2116,2175,2632,2487,2325,2308,2025,2048,2636,3086,2897,2381,2215,1622,1462,1548,1767,1823,1804,1786,1761,2302,2167,1688,1751,1808,1906,2011,2678,3209,3340,3864,4564,4704,3908,3008,3232,4168,4096,3388,2633,1815,1628,1946,2408,2409,1928,1629,1609,2492,2910,1598,1776,2408,2018,1683,1032,847,1034,1251,1649,1714,1773,1975,2288,2144,2014,1925,2041,1684,1809,1637,1616,2407,2818,2777,2119,2243,2311,3056,3827,3462,2787,2164,2465,2354,2799,2678,3416,3542,3232,3629,3372,2691,2552,2809,2552,1721,1373,1717,2226,2267,2220,1748,1232,1088,1002,889,784,747,877,839,925,1038,981,1009,1115,1141,1366,1372,1082,1306,1794,2812,3686,3432,3484,3399,3389,3104,3066,3489,3877,3775,3189,3150,3492,3623,3716,3748,3366,3311,3476,3316,3284,3418,3388,3553,3672,3591,3570,3517,3429,3361,3328,3284,3182,3462,3274,2386,1864,2197,2144,1553,1543,1481,1670,1858,1752,1596,1436,1607,1824,1763,1548,1780,1820,1695,1496,1269,1444,1759,1748,1992,1760,1763,2182,2281,2096,2024,2562,3213,2486,1916,2019,1884,1801,2666,2825,2487,2589,2446,2908,3429,2420,2115,2237,1695,2270,2439,2230,2637,2653,2314,2150,2536,2466,2059,2378,2865,2996,2853,2542,2403,1794,2156,2401,2473,2508,2824,2574,1671,1306,2007,2836,2619,2270,1807,1651,1462,1776,2635,2669,2663,2912,2699,2426,2321,2443,2183,2113,3164,2840,2395,2076,2363,2392,2586,2502,2125,2207,2429,2448,2327,1992,2078,2348,2319,2414,2082,1926,2250,2600,2746,1992,1631,1692,1675,1432,1317,1406,1785,2491,2414,2106,1716,1736,2430,2355,1897,2016,2342,1734,2270,2994,2219,1925,2087,2397,2151,1845,1960,2227,2384,2523,2711,2558,3022,2962,2482,2122,1944,1991,1945,2336,2920,3016,2768,2392,2496,2243,2206,2285,2403,2431,2273,2549,2932,3839,4404,4132,4224,4221,4239,4409,4488,4464,4307,4153,4064,3915,3614,3588,3573,3418,3396,3450,3476,3184,3361,3404,3300,3116,3100,3182,3165,3042,3009,3134,3616,4094,4230,4437,4090,4120,4483,4896,4941,4808,4580,4120,3398,3225,3321,3215,2942,2918,2556,1741,2444,2580,2325,3220,3618,2467,2267,2940,3583,2932,2566,2565,2519,2754,3031,2498,1964,2040,2088,2260,2447,2265,2235,2297,1846,1780,1996,1880,1648,1680,1971,2590,2832,2331,1995,2337,2503,2036,2204,2284,2142,2098,2428,2707,1995,1544,1899,2374,2658,2519,2397,3217,3424,3372,3298,3187,2909,3079,2880,2831,2764,1996,1870,1512,1105,1406,1744,1656,1369,1277,1415,1332,2049,3377,3906,3783,2786,2625,2488,2146,2046,2286,2336,2414,2042,1816,2082,2736,2598,1942,2523,2905,3695,3748,2852,2133,2017,2404,2084,1696,1541,1523,1500,1675,2055,2500,2732,2204,1729,1573,1747,2059,2174,1890,1599,1815,1791,2046,2258,2486,1904,1635,2384,2448,1974,1687,1732,1960,1744,1647,1763,1695,1736,1692,1742,1932,1794,1727,1558,1421,1688,1746,1443,1758,1835,1779,1631,1710,1697,1587,1566,2029,2551,2513,1618,1432,2097,2502,2663,2886,3404,3587,3238,2645,2661,2438,1838,1938,2081,1990,2535,2810,2720,3122,2834,2889,2621,2929,2586,2327,2666,2928,2586,2742,3396,3428,3617,3774,4161,4404,4344,4171,4076,3652,2973,2658,2433,2198,2180,2475,2744,2701,2346,1886,1835,1678,1710,1839,1846,2086,2103,1949,2204,2005,1653,2175,1803,1730,2434,1760,1538,2342,2893,2997,2664,1808,1637,2023,2806,3109,3174,3248,2491,1976,1807,1562,1643,1787,1641,1776,1980,1753,1547,1900,2321,2466,2700,2531,2442,2522,2144,1906,1667,1377,1582,1652,1731,2122,2110,1746,1543,1771,1781,1958,1828,1917,2160,2051,1688,1427,1698,2049,1839,1923,2167,2038,1914,1958,2052,1928,2374,2345,1851,2110,2181,2465,2510,2342],[2892,2592,2101,2004,1956,2129,2388,2877,3207,4015,3506,2918,2807,2620,2598,2336,2053,2550,3992,3999,3690,4051,3715,2924,2248,2030,2067,2172,2402,2360,1885,1858,2333,2269,1921,1829,1949,1897,2112,3147,4083,4075,3849,3760,3696,3684,2867,2542,2551,3274,3492,2608,2218,2869,3061,2792,2873,2562,2467,2418,2765,2214,1657,1939,2400,2483,1718,1371,2061,2906,2907,2727,2742,2709,2579,3079,3462,3351,3308,3252,2667,2394,2767,2965,2923,2467,2014,2070,2255,2285,2623,2539,2373,2683,3195,3285,3211,3495,3719,3615,3818,3854,3465,3146,2943,2840,3012,3288,3306,3842,3972,3663,3527,2630,2332,2664,2966,3152,3182,2951,3131,2923,3282,3441,3695,3574,3463,3809,3533,3080,3225,2629,2267,2120,2118,2174,2190,3018,3284,3394,3240,2570,2350,2588,2544,2325,2490,2337,2243,1814,1729,1994,2705,2611,1963,2215,2337,2612,2796,2531,2283,2459,2385,2319,2340,2110,1974,1772,1588,1750,1913,2069,2110,1905,1746,1560,1585,1585,1578,1437,1388,1399,1908,2200,1735,1924,2315,2155,2125,2307,2390,2571,2288,1913,1729,2245,3305,3661,3685,3506,3388,3315,3049,3449,3802,3387,2295,1736,1771,1632,1672,1908,1891,1885,2244,2267,2504,2344,2354,2855,2489,2431,3168,3234,2897,2425,2363,2048,2166,2880,2951,2364,2575,2702,2318,1918,1979,1825,1954,2347,2844,2824,2780,2217,2023,1577,2689,2510,1794,1788,1738,1391,1261,1392,1732,1934,2219,2643,2396,1924,1960,1930,1734,1892,2514,2775,2722,2447,1645,2060,2173,1649,2040,1749,1689,1913,2094,1940,1465,1699,1884,1750,1996,1998,1597,1374,1710,1970,2322,2080,2041,2137,1674,1652,1929,2144,1902,1931,1857,1879,2109,2376,2720,2047,1830,1614,1652,1775,1755,2046,2148,2136,1925,1737,1776,1754,2074,1917,2019,2163,2188,2454,2452,2416,2188,1875,2098,2125,1975,1905,1768,1636,2155,2393,2274,2843,2732,1577,1261,1802,2273,2284,1779,1518,2054,2449,2310,1850,1504,1476,1931,2334,2358,2589,2458,2492,3094,3305,3332,2885,1984,1477,1411,1536,1643,1371,1526,2128,2255,3167,3898,3595,2733,2301,2270,1969,2158,2313,2246,2522,3129,3074,2215,2392,2724,2825,2953,3357,3607,3384,2731,2397,2213,1969,1731,1618,2014,2458,2414,1953,1797,2194,2014,1711,1784,1967,1985,2098,1885,2025,1955,2164,2391,2385,2225,2094,1828,1455,1672,2213,2242,2042,2133,2450,2170,1737,1821,1835,2009,1985,1794,1643,1765,1954,2058,2088,1769,1612,1782,2094,1759,2338,2330,2076,2105,2211,1904,2239,2421,1933,2175,2531,2974,2680,3020,3737,3907,3587,3120,2804,2140,1748,1766,1702,1807,1930,1639,1738,1788,2246,2006,2188,2082,1918,1792,1534,1438,1613,1717,1930,1987,1842,2250,3064,2598,2124,2068,1911,2316,2573,1809,1977,2519,2253,2243,2512,2447,2288,1976,1798,2409,3321,3289,2358,2139,2287,1959,1717,2195,2014,1837,1982,1927,2250,2253,1758,1592,1591,1626,1655,1802,1932,1794,1876,2338,2666,2829,2793,2849,2932,2573,2169,2138,2011,2024,2524,2408,1978,2202,1901,2093,3308,3726,3383,3053,3200,3088,2156,1694,1675,2150,2196,2302,2557,2636,2709,3051,2943,2865,3238,3134,2674,2824,3031,3288,3253,2775,2736,3240,3684,2968,2442,2769,2935,3143,2993,2906,3328,3274,3337,3916,3951,3283,3199,3646,3654,3660,3624,3420,3012,2409,2589,2701,2458,3292,4036,3616,2827,2335,3144,4029,3619,2803,3187,3538,2836,2360,2154,2426,2541,2608,2561,2920,2217,2041,3085,2919,2603,2822,2622,3266,3594,3762,2667,1847,1899,2490,2679,2367,2795,2746,2808,3467,3696,3684,3144,3074,3249,3818,3909,3541,3184,2874,2957,3320,3118,2736,2410,2308,2713,2880,2954,3122,2601,3116,2911,2180,2397,2635,2396,2470,2666,2888,2792,2746,2430,2657,3255,3129,2956,2898,2945,2917,2915,3006,3076,2895,3075,3636,3616,3707,4029,4289,4420,4352,4025,3969,4113,4231,4336,4351,4195,4140,4229,3418,2942,2316,2329,2351,2212,2484,2593,1812,2124,2316,2061,2108,2847,2790,2240,1997,2009,2215,2178,2046,2943,3595,2252,1488,1825,1985,2276,2876,3001,3109,2787,2556,2480,2495,2387,2347,2533,2680,2143,2042,2337,2285,2987,3469,3495,2934,2321,2469,2906,3720,3576,3097,2701,2426,2584,2258,2055,2555,2321,2279,2229,2105,2025,1850,2424,3260,3001,2261,2085,1763,1660,1787,1574,1677,1791,1755,1655,1500,1788,2510,2203,2321,1897,2129,2642,2289,2116,2523,3377,3305,2366,2461,2613,2881,2409,1991,1626,1601,1882,1730,1582,1551,1466,1380,1266,1494,1779,1889,1585,1514,1691,1637,1416,1619,1742,1608,1466,1628,1834,1668,1503,1521,1588,1471,1635,1605,1486,1781,1996,1571,1605,1649,1797,1806,1750,1909,1854,1826,1791,1902,1931,2113,2029,2009,2088,2222,2517,2495,2763,3452,2665,2330,2168,3085,3451,2593,2099,2692,3751,3395,2234,2711,3038,2488,2603,2806,2989,3104,3006,2974,2860,2601,2399,2687,3108,3667,3706,2395,2405,2700,2298,2229,2175,1962,2074,2144,2003,2466,3091,2986,3491,3849,3511,3067,2795,2532,2540,2407,2441,2543,2401,2170,2088,2025,2097,2416,2380,2307,2951,3417,2213,2286,2621,1946,2424,2915,2448,2446,2867,2746,2464,2348,2269,2429,2561,2495,2655,2824,2707,2884,3196,3108,2384,2060,2224,2111,2028,2604,3450,3509,2800,2443,2632,2231,2162,2128,2172,1431,2116,1968,2182,2166,2492,3009,3485,3705,3103,2814,2855,2568,3017,2689,2387,1905,2329,2396,2200,2034,2105,2997,3123,2544,2246,2213,1945,2122,2798,2577,2456,2169,1977,1676,1487,1621,1930,2605,3293,3173,3244,3535,3145,2840,2484,1042,1553,2613,2867,2812,2558,2312,2359,2475,2543,2106,2458,2566,2305,2292,1942,1674,1869,2424,2878,3276,3413,3465,3400,3634,3404,2946,2702,2618,2466,2293,2570,2920,2531,1828,1754,1622,2040,2426,2498,2314,1933,2114,2446,2563,2348,2404,3168,3526,3238,2945,3387,3848,3479,3269,3973,3286,2446,2117,2008,2498,3261,3231,2768,2357,2257,2126,2060,2569,2449,2426,2286,2162,2181,2397,2545,2518,2691,2503,2325,2177,2368,2668,2136,2736,3275,3655,4258,4425,4320,4012,3123,2741,3732,3141,2007,1688,1881,2258,2310,2091,1721,1535,1870,2492,3230,3034,2307,2091,1813,1915,1410,859,1004,1226,1627,2002,1770,1574,2053,2095,2348,2668,2064,2231,1917,1993,1717,1861,2199,2521,2612,2689,2918,2306,2702,2756,2404,2553,2341,2299,1949,1875,2339,3384,3786,3802,3919,3598,3065,2687,2942,2910,2422,1744,1430,1749,1873,1728,1416,1108,990,914,951,854,842,1015,1124,1594,1580,1257,1390,1280,1018,1081,1041,921,1215,1519,2834,3921,3532,3538,3709,3689,3361,3282,3666,3982,3865,3454,3648,3707,3586,3705,3729,3702,3516,3633,3615,3563,3543,3454,3545,3624,3847,3960,3770,3921,3650,3530,3545,3292,3355,3523,2987,2180,2188,2282,1859,1569,1509,1642,1567,1583,1447,1449,1599,1757,1605,1624,1772,1637,1712,1507,1289,1340,1449,1476,1738,2119,2808,3385,2811,2227,2163,2067,2304,2041,2265,2738,2372,2220,3023,3296,2883,2435,1780,2542,3472,2815,2316,2108,1765,2294,2548,2622,2445,2296,2347,2679,3152,2685,2291,2125,2778,3131,3341,3131,2551,2094,2502,2771,2346,2321,2513,2380,1942,2026,2390,2710,2295,2001,2188,2479,2523,2621,2997,2770,2214,2244,2105,2414,2706,2108,1717,2165,3014,2784,2614,2620,2898,3021,2574,2223,2012,2260,2451,2247,2127,2192,2236,2335,2347,2484,2733,2656,2281,2473,2431,1802,1760,1859,1807,1568,1356,1423,1559,1750,1807,1830,1784,2049,2065,2078,2086,2160,2004,1837,2483,3208,2701,1969,1916,2233,2073,1881,2084,2288,2535,2459,2278,2392,2382,2266,2240,1936,1603,1839,1883,2089,2736,2788,2255,2405,2662,2102,2080,2549,2765,2915,3460,3763,3748,3838,4264,3990,4103,4153,4271,4590,4626,4444,4372,4248,3916,3657,3457,3271,3494,3496,3413,3374,3262,3122,3342,3396,3240,3122,3145,3204,3177,3060,3077,3230,3836,4917,5265,5237,4937,4673,4687,4879,5087,5038,4972,4641,3722,2988,2851,2842,2678,2601,1855,1255,1763,2567,3118,3645,3347,2766,3410,3334,3396,3508,2828,2435,2479,2546,2367,1852,1594,1857,2177,2923,3106,2199,2075,2422,2088,2073,1879,1838,2187,2167,2068,2310,2425,2286,2157,2276,2216,2001,1842,1846,1857,1992,2181,2558,2598,2081,2056,2121,2729,2822,3098,3538,3640,3809,4039,3607,3514,3466,3015,3263,3330,1903,1638,2085,1848,2429,2372,1836,1401,1487,1986,1658,1933,3628,4145,3986,2914,3075,2468,1468,1186,1059,1493,1787,1557,1876,1980,2019,1700,1585,2027,2837,3780,3806,2898,2177,2247,2457,2469,2021,1544,1370,1577,2030,1865,1878,2325,2065,1931,1898,1839,2151,2121,1786,1598,1947,1872,2254,2313,2318,2035,1630,1967,2336,2184,1844,1732,1876,1852,1619,1438,1617,1837,2106,1921,1786,1787,1643,1442,1498,1727,1927,2212,2227,2109,1946,1692,1792,2118,2399,2107,2070,2640,2272,1647,1820,2156,2209,2238,2401,2746,3096,2835,2865,3143,2458,1535,1708,1996,2371,2741,2883,3312,3501,3024,3243,2822,3073,2750,2643,3047,2767,2341,2857,3588,3482,3698,3773,3888,4159,4068,3958,4050,3714,3396,3364,3298,3295,2777,2296,2181,2239,2502,2537,2229,2003,1930,1918,1974,2031,1814,1761,1770,1914,2126,2600,1923,1603,1470,1427,1851,2409,2588,2702,2083,1571,1415,1865,3041,3455,3260,3019,2133,1831,1553,1243,1693,2297,2226,1871,2282,2101,1801,1690,1985,2813,3123,2746,2589,2722,2517,2081,2005,2070,1678,1582,1581,1359,1529,1606,1916,2229,2354,2421,2072,2070,2002,2184,2058,1921,2367,2295,1902,1993,2227,1929,1893,1932,1941,1916,1951,2215,1946,2128,2325,2621,2335,2235],[2488,2477,2081,1678,1851,2106,2313,2401,3000,3748,3282,2840,2954,3306,2824,2257,2503,3234,3761,3758,3642,3826,3956,3339,2330,2136,2456,2283,2249,2219,2174,2465,2765,2396,2010,1943,1912,1884,2253,3458,4319,4004,3638,3572,3559,3648,3536,3232,2712,3163,3552,2585,1968,2265,2398,2911,3577,3012,3082,2718,2697,2337,2497,2821,3031,2713,1842,1587,2194,2798,2352,2431,3252,3232,2710,2445,2562,2490,2688,3062,2758,2675,2855,2632,2316,2058,1957,1699,1469,1475,2051,2504,2536,2617,2920,2933,3060,3471,3737,3707,3925,3747,3642,3499,3162,2931,2974,3144,3187,3310,3348,3190,3724,3462,2818,2603,2620,3305,3264,2950,3072,3520,3769,3597,3552,3244,3451,3516,3377,3129,3089,2852,2372,1963,2064,1889,2686,3673,3252,3160,2429,1968,1931,1924,1819,1807,1960,2413,2249,1715,1827,2022,2270,2078,1864,2308,2537,2986,3428,2705,2551,2775,2436,2398,2380,2146,2124,1523,1346,1549,1735,2183,2078,1751,1448,1577,1722,1686,1549,1488,1525,1581,1729,1815,1854,1930,1869,1894,2143,2765,2664,2520,2313,1649,1426,2018,3313,3522,3786,3869,3704,3058,2841,3196,3783,3639,2529,2113,2208,1833,1848,2295,2746,1865,2015,2182,2032,2068,2402,3253,2752,2438,3132,3132,2352,1706,1759,1859,1823,2010,2782,2529,2569,2799,2182,1800,1821,1790,2744,2854,2591,2593,2297,2603,2342,2094,2825,2386,1904,1915,1539,1255,1352,1638,1819,1943,1759,1843,1972,1848,1810,1674,1810,2226,2797,2932,2603,2076,1531,1726,1755,1844,2055,1841,1742,1775,1719,1520,1678,2227,1996,2077,2298,2499,1843,1514,1623,1747,1930,1619,1678,1928,2030,2065,1911,2102,2254,2280,2065,1823,1891,2065,2211,2140,2120,1998,2071,2151,1712,2122,2602,2235,1836,1687,1836,1659,1666,1831,2083,1798,1771,1985,2250,2232,1712,1446,1956,2156,1881,1833,1427,1443,2360,2558,2171,2788,2800,2009,1604,1759,1994,2046,1434,1344,2139,2707,2501,1959,1682,2228,2237,2282,2384,2269,1957,2193,2328,2221,2192,2192,2138,2305,2129,1964,2077,1897,1588,2127,2284,2674,3356,3131,2287,2182,1945,1510,1743,2235,2060,2093,2491,2520,1677,1958,2061,1954,2371,2808,3149,3364,2995,2274,2048,2246,1902,1807,2333,2684,2258,1860,2124,2060,2036,2250,2138,2305,2244,2087,2178,2534,2379,2761,2894,2534,2244,2107,1749,1577,1803,2142,2091,1475,1695,2076,1870,1690,2062,2225,2224,2370,2280,1941,2055,2358,2270,2270,2139,1962,1892,2111,1811,1902,2233,2088,1997,2083,2027,2409,2382,1897,2228,2643,3098,2670,2332,3028,3129,2496,2294,2216,1720,1641,1844,1935,1901,1669,1817,2094,1914,1880,1766,1749,1660,1314,1291,1354,1426,1741,1813,2188,2268,2196,2436,3228,2840,2297,2072,1850,2153,2264,2206,3306,2929,2397,2142,2233,2033,2000,2058,1931,2270,2987,2911,2195,2063,2029,1964,2006,2094,2186,1929,1726,1547,2160,2314,1582,1198,1083,1260,1475,1658,1881,1899,1974,2263,2653,2401,2347,2839,2916,2819,2402,2228,1959,2048,2596,2087,2009,2018,1765,2364,3016,3228,3428,3477,3554,3116,1898,1688,1738,2148,2117,2439,2587,2711,2896,2786,2839,3239,3396,3207,3006,3191,3074,3076,2962,2654,2315,2573,2855,2533,2572,2719,2823,3500,3175,3216,3165,2980,2819,2858,3207,3153,3438,3936,3901,3901,3849,3219,2979,2549,2999,3111,2197,2812,3742,3695,3241,2514,2840,4055,3598,2605,3063,3647,3527,3167,3220,3237,2574,2007,2306,2697,2294,2461,2966,2747,3034,2686,1839,2100,2272,3254,3041,1877,1978,2714,2545,2625,3073,2872,3179,3639,3606,2684,2546,2685,3138,3294,3214,3204,2864,2846,3575,3480,2424,2459,2054,2215,2151,2079,2237,2268,2423,2911,2793,2357,2451,2814,2590,2747,2206,2548,2706,2576,2253,2589,2965,2971,2907,2994,3155,3046,3066,3178,3198,2995,3049,3406,3599,3751,3873,4084,4388,4204,3751,3638,3811,4409,4433,4296,4168,4184,4185,3474,2311,1994,2367,2475,2323,2596,2588,2161,2576,2285,2093,2372,2930,3099,2638,2304,2421,2376,2267,1998,2426,2685,2247,1854,2027,2051,2342,2563,3269,3087,2409,2338,2001,2311,2851,2512,2468,3304,2984,2536,2498,2229,2769,3306,3329,3002,2411,2951,3134,3335,3255,3389,2938,2170,2279,1959,2326,2711,2529,2463,2474,2472,2049,1980,2878,3397,2706,2144,1843,1635,1656,1344,1481,1972,1977,1671,1360,1395,1461,1796,1771,1877,1687,2248,2300,1900,2332,3188,3742,3506,2723,2302,2601,2314,1858,1821,1465,1626,1876,1651,1498,1435,1419,1352,1386,1744,1828,1881,1710,1617,1680,1547,1759,2275,2231,2078,1920,1816,1733,1578,1419,1538,1893,1741,1804,1716,1673,2630,2878,1725,1559,1446,1737,1853,1915,1522,1358,1491,1607,1576,1764,2133,2156,2470,2708,2686,2764,2468,2287,2409,2521,2233,1990,2706,2901,2318,2396,2881,3183,3190,2819,2858,2640,2590,2920,2522,2382,2612,2812,2888,2645,2441,2305,2690,2456,2518,2986,3187,2745,2664,2617,2477,2334,1932,1885,2150,1901,2320,2679,3183,3903,4131,3858,3528,3736,3475,2960,2978,2529,2552,2735,2526,2354,2342,2534,2447,2862,3020,3327,2964,1942,2177,2122,2161,2713,2953,2696,2444,2524,2092,2105,2309,2475,2799,2618,2408,2493,2123,1761,2293,2447,2754,2864,2511,2534,2644,2736,2880,2907,2669,2437,2485,2337,2201,2534,2635,2528,2224,2779,2180,2529,2989,2942,3375,3461,2453,2344,2924,3130,2479,2587,2484,2285,2341,2805,2734,2210,1858,2081,2417,2213,2664,2562,2255,2364,2287,2192,2474,2900,2379,2000,1776,1548,1626,2030,2155,2789,2756,2786,3320,3183,2979,2458,1746,1821,2222,2845,2966,3164,2940,2685,2798,2613,2338,2459,2088,2042,2079,1743,1886,2421,2940,3599,3720,3525,4074,3967,3573,3403,3013,2797,3090,2912,2529,2636,2624,2200,1880,2008,1744,1597,1813,2619,2662,2225,2202,2723,2928,2590,2924,3540,3673,3593,3777,4200,4018,3045,3165,4239,4073,3548,2735,1873,1908,1951,2676,3222,3487,3034,1842,1937,2547,2190,1924,1956,2109,2293,2156,2074,2269,3050,3355,3178,2507,3033,3395,3217,3759,3870,3687,3718,3665,3837,3742,3251,2484,2282,1710,1825,2349,2436,2056,1800,1933,1992,1991,2317,3270,3969,3454,3053,1875,1663,2086,1615,1164,1121,1540,1981,2010,1677,1699,2351,2078,2180,2130,2227,2344,2477,2464,2169,2176,1748,1441,2269,2978,2366,2306,2313,2039,1962,3056,3178,2599,2365,2218,2478,2829,3465,3930,3929,3566,3215,3106,3298,3160,2623,1923,1444,1470,1356,1250,1188,1071,925,1016,1002,939,944,1081,1499,2220,2178,1834,1882,1590,1182,954,889,1029,1239,1610,2571,3422,3428,3494,3875,3706,3462,3712,3827,3750,3795,3515,3706,3799,3698,3776,3839,3657,3650,3751,3663,3550,3535,3461,3505,3613,3939,4100,4112,4157,3911,3751,3659,3500,3308,3282,3261,2452,2282,2154,1718,1410,1440,1512,1553,1489,1537,1606,1449,1435,1435,1611,1517,1476,1457,1444,1831,1778,1581,1631,1822,2288,3161,3830,2797,2265,1879,1736,1963,1874,2359,3056,2810,2470,2603,2667,2763,2511,1459,1951,3255,2956,2166,1652,1922,2648,3272,3308,2776,2690,3008,2818,2467,2248,2282,2072,2522,2778,2631,2832,2843,2499,2906,3059,2547,3029,3023,2456,2078,2489,2519,2672,2388,2656,3140,2851,2463,2731,3052,2674,2091,2143,2348,2577,2696,2195,1851,1923,2114,2310,2610,2764,2950,2862,2518,2414,2366,2396,2284,2227,2323,2845,2894,2534,2263,2073,2367,2334,1902,1836,1860,1949,1850,1925,2114,1917,1638,1643,1423,1379,1742,1887,2263,2452,1781,1873,2163,2532,2646,2490,2531,2878,2659,2270,2336,2326,1933,1842,1957,1964,2104,2040,1728,1782,1937,2144,2427,2108,1869,1979,1835,2320,3330,3193,2567,2852,3242,2966,2620,2671,2746,3215,4252,4517,4240,3940,4392,4244,4175,4277,4399,4556,4560,4308,4240,4064,3732,4128,4168,3550,3549,3383,3388,3384,3447,3633,3760,3604,3350,3222,3327,3241,3108,3128,3201,3256,3706,4761,5296,5315,4670,4270,4728,4809,5072,5071,4859,4775,4136,3167,2946,2929,2807,2467,1631,1463,2476,3563,3282,3063,2829,3028,3073,2698,2705,3485,3217,2488,2121,2088,2454,2259,1453,1895,2412,2917,3173,2790,2511,2818,2756,2541,2105,2019,2470,2320,2072,2412,2300,2348,2503,2206,2018,2453,2240,1858,2297,2632,2231,2094,2010,2338,2326,2194,2501,2410,2921,3204,3000,3208,3416,3228,3541,3521,3303,3263,3059,1957,2119,2364,2224,2496,2352,1884,1345,1769,2386,1853,1917,2933,3060,3372,3498,3431,2742,2076,1850,1629,1667,1647,1714,2287,2035,1963,1873,1802,1923,2502,3296,3364,2578,2416,2492,2724,2574,1863,1675,1616,1615,1824,1725,1651,2293,2587,2531,2257,1925,1983,1681,1524,1426,1737,2016,2452,3046,3024,2226,1741,2078,2634,2556,2288,2030,2144,1922,1660,1444,1558,1566,1504,1568,1762,1856,1576,1335,1521,1518,1652,2324,2176,2720,2332,1918,2678,3108,3106,2598,1886,1820,1785,1798,2056,2122,2178,2280,2224,2347,2929,3293,3526,3185,2177,1591,1859,2458,2362,2275,2292,3403,4153,3775,3417,3216,3124,3061,3542,3204,2492,2228,3161,3376,3198,3530,3830,3904,4092,4013,3901,3834,3726,3812,3710,3713,3581,3109,3128,3027,2705,2354,2026,1927,2332,2285,1795,1814,2123,2060,1725,1583,1725,1864,1895,1720,1561,1465,1786,2707,2674,2500,2348,1857,1593,1719,2378,2929,3168,3437,2819,1939,1805,1875,1826,1901,2354,2304,1952,2486,2166,1914,1793,1972,2431,2602,2414,2260,2561,2836,2507,2452,2885,2298,1866,1766,1451,1657,1990,2244,2332,2810,2585,1615,2082,2520,2270,2040,2288,2996,2587,2072,2105,2094,2062,2169,2236,2065,1999,2041,2364,2059,1930,2225,2108,1676,2216],[2385,2422,2299,2288,2024,1894,1917,1887,2741,3252,3001,3038,3163,3440,2942,2531,2905,3423,3308,3401,3672,3925,4112,3765,3099,3030,3199,2712,2402,2636,2785,2611,2468,2281,2211,2144,2240,2369,2509,3366,3864,3626,3423,3356,3330,3275,3567,3362,2824,2950,2921,2270,1779,2252,2962,3030,3521,3213,3164,2897,2531,2393,2697,2935,2969,2612,1939,1824,1942,2680,2552,2651,3097,3007,2426,2123,2170,2324,2909,3322,2963,2687,2576,2427,2330,2446,2438,1820,1230,1300,1712,2462,2673,2477,2792,3164,3138,3547,4155,4424,3906,3404,3405,3497,3554,3178,2822,2894,3063,2791,2614,2856,3554,3637,2907,2545,2529,2872,2893,3220,3584,3360,3407,3684,3669,3290,3791,3850,3484,3089,2779,2713,2664,2358,2119,2153,3696,4472,3573,2421,2045,1945,1821,1732,1548,1715,2040,2400,2435,1942,1774,1749,2339,2353,2116,2185,2245,2653,2986,2919,2728,2375,2235,2491,2592,2103,1958,1559,1966,2085,2180,2250,2085,1848,1607,1614,1628,1484,1510,1530,1731,1674,1601,1834,2017,2027,2123,2150,2439,2773,2205,2090,2314,2024,2063,2321,3433,3640,3685,3995,3767,3324,3176,3252,3528,3327,2552,2067,1677,1501,1674,2378,3121,2673,3082,2735,2500,2632,3197,3593,2346,2050,2413,2365,2087,1829,1623,1719,1866,2559,3248,3067,2966,2492,2026,1822,1966,2070,3013,2509,2526,2885,2733,2895,2305,1968,2381,2159,1988,1879,1628,1266,1459,1961,2052,1960,1638,1691,1839,1935,1990,1877,1888,2100,2066,1822,2209,1826,1604,1663,1755,1996,2052,1877,1777,1802,1589,1628,2212,2513,2382,2717,2599,2198,2131,2006,1810,1726,1706,1628,1604,1909,2287,1988,1947,2061,2048,1650,1601,1731,2064,2529,3020,3305,3169,2880,2164,2093,1873,2369,2823,2339,1881,2097,2087,1770,1777,2172,2355,1735,1863,1931,2252,2118,1467,1472,2017,1770,1844,2250,1932,1493,1724,2283,2382,3040,3229,3254,2798,2143,2284,2319,2209,2327,2892,3258,2823,2094,1804,2468,2078,2183,2221,2419,2160,2195,2120,1997,2158,2000,2050,2879,2304,2462,2720,2636,1918,1860,1814,2029,2629,2325,1937,2250,1937,1553,1874,2464,1802,1719,1781,1832,1711,2025,1921,1792,1935,2219,2803,2986,2697,2128,2081,2071,1438,1615,2384,2699,2237,1914,2038,1994,2370,2909,2014,1961,2130,1886,2131,2600,2442,2233,2346,2083,2106,2375,1610,1470,2037,2311,2562,2017,1989,2190,2051,2163,2309,2094,2216,2780,3132,2338,2221,2202,2233,2280,1878,1681,1597,1592,1664,1943,2298,2216,2438,2159,2104,2107,1903,1700,2164,2912,3204,2821,2778,2807,2211,2000,2258,2150,1798,1513,1712,2050,2032,1797,1830,1836,1714,1610,1410,1387,1699,1434,1401,1219,1221,1643,1814,2023,2205,1984,2511,3393,3482,2990,1934,1912,2021,1749,2358,2460,2345,2569,2552,2309,2012,2123,2158,1760,1790,2022,2142,1897,1803,2088,2251,2067,1991,1959,1674,1500,1346,1559,1865,1570,1124,1042,926,1309,1737,1760,1755,1863,2100,2153,1939,1816,2041,2424,3007,2348,2089,1901,2305,2196,1805,2023,1837,1823,2474,2712,2754,3161,3593,3805,3530,2757,2103,1962,1915,1925,2159,2211,2674,3197,2893,2894,3021,3297,3228,3484,3893,3460,2464,2243,2370,2387,2634,2332,2471,3052,2855,2590,2986,2963,3087,3265,3254,2889,2902,2979,2807,2874,3011,2976,3370,3372,3057,3685,3455,3788,3273,2180,2887,3602,3480,3415,3152,3198,4241,3710,2742,3209,3285,3217,3646,3664,3542,3000,2554,3223,3066,2182,2258,2790,2907,2851,2636,2066,2587,3020,3018,2990,2592,2727,2924,2591,2545,2974,2708,2811,3228,3100,2765,2888,3221,3499,2731,1937,1771,1859,1956,2317,2596,2366,2308,2275,2335,2148,2386,2381,2437,2951,3417,3476,2777,2414,2526,2654,2869,2314,2712,2644,2269,2203,2507,2846,2811,2778,2629,2619,2751,2853,2976,3278,3273,3186,3536,3848,4101,4288,4321,4516,4404,3768,3344,3767,4432,4436,4257,4061,4135,3935,2818,2068,2238,2681,2427,2065,2300,2149,2576,2630,2282,2525,2604,2656,3444,3153,2217,2325,2429,2385,2061,2501,3186,2912,2180,2051,2388,2501,2697,2949,2190,2052,2008,1801,2375,2688,2810,2545,2986,2905,2601,2547,2329,2713,2744,2074,2411,2610,2510,1991,1949,2651,3575,2909,2234,2131,2163,2523,2348,2235,2117,2049,2145,1922,2136,3214,3234,2458,2049,1765,1866,1925,1435,1770,2061,1868,1619,1432,1628,1558,1495,1469,1706,1902,1959,1935,1909,2555,3383,3704,3861,2886,2454,2344,1909,1939,1683,1421,1453,1531,1599,1523,1321,1395,1424,1545,1908,2059,1694,1379,1499,1511,1526,1929,2376,2140,2129,2051,1880,1637,1710,1694,1507,1563,1653,1773,1715,1680,2031,2192,1527,1438,1935,2067,1908,1655,1406,1504,1764,1888,1539,1609,2033,2290,2552,2655,2668,3173,2894,2373,2590,2930,2824,2829,3017,2918,2681,2887,2667,2464,2902,2733,2523,2875,3124,2838,2661,3083,3387,3257,3110,3041,2953,3117,2994,2955,2554,2404,2442,2192,2493,3109,2623,2340,2355,2164,2170,1952,1851,2350,3309,4009,4108,3271,2866,3335,2996,3417,3882,3516,3186,2866,2753,2698,2414,2131,2820,3731,3598,3200,2796,2243,1993,1586,2222,2640,2414,2545,2341,1991,1568,1844,2414,2497,2775,2717,2888,2349,1593,1705,2049,2242,2669,2616,2478,2761,3220,2990,2733,2316,2187,2378,2350,2439,2793,3085,3023,2377,2554,3003,2374,2351,2828,2885,2832,2828,2448,2899,2911,2764,2236,1633,1803,2191,2442,2746,2490,2245,2290,2264,1946,2214,3323,3169,2310,2311,2125,1753,2690,3278,2643,2270,1877,1801,2129,2223,1879,2435,2836,2691,2866,2789,2747,2191,1945,2595,2578,3355,3862,4046,3577,2986,2943,2246,1963,2242,2099,2210,2346,2258,2602,3370,3869,4244,3706,3580,4163,3983,3836,3848,3438,3166,2977,2524,2585,2906,2777,2530,2304,1793,1914,1880,1625,1737,1976,2159,2086,2160,2362,2099,2173,3254,3791,3758,3854,3920,3968,3377,3243,3947,4283,3645,2732,2391,2708,2547,1973,2053,3251,3034,2418,2597,2715,2738,2725,2386,2131,2117,2457,3384,2790,2434,2348,2342,2541,3028,3143,3321,3471,3060,2641,2697,2766,3010,2934,3276,2886,2601,2592,2389,1961,1562,1633,1894,2038,1972,2218,2756,3108,3807,3626,2572,1948,2475,2342,1950,1627,1539,2051,2050,1730,1387,1575,2170,2095,2368,2272,2155,2016,2024,2291,2343,2115,1617,1233,2134,2762,2186,1891,1741,1865,2486,3344,3054,2545,2532,2547,2597,3209,4020,3874,3548,3098,2864,3094,3440,3170,2431,1875,1806,1800,1405,1261,1292,1144,1062,1208,1212,1257,1351,1593,1750,1874,2001,1817,1737,1537,1047,1057,1207,1319,1446,2089,2579,3030,3260,3198,3584,3815,3505,3910,3885,3898,3812,3813,3716,3661,3569,3606,3584,3516,3715,3701,3492,3606,3727,3708,3580,3751,3938,4015,4099,4160,4099,4046,4046,3771,3320,3116,3409,2748,2436,2020,1597,1470,1395,1474,1622,1688,1574,1600,1456,1466,1501,1512,1502,1548,1653,1825,2473,2099,1523,1810,2044,1996,2502,2665,2218,2084,2222,2060,2191,2171,2470,2754,2604,2507,2568,2365,2398,2237,1400,1802,2752,2664,1930,1937,2911,3581,3673,3443,2836,2557,2885,2852,2490,2326,2155,1943,2225,2082,2132,2649,2820,2583,2962,3043,2707,2756,2601,2233,2018,2016,2204,2502,2459,2791,3189,3013,3012,3151,3074,2841,2678,2784,2543,2199,2074,2032,1994,1951,1952,1816,1801,2143,2473,2546,2776,3079,2687,2514,2403,2110,2083,2847,2992,2297,1951,2034,1913,2003,1685,1619,2049,2035,1794,1836,2065,1934,1692,1847,1564,1471,2219,2592,2546,2097,1743,1750,2041,2292,2590,2634,2454,2116,1994,1993,2092,2160,1794,1746,2058,1891,2211,2003,1542,1708,2014,2351,2665,1804,1351,1935,2009,2599,3278,2728,2199,2380,2722,2810,2762,2890,3049,3317,4107,4183,3905,3912,4244,4321,4332,4402,4331,4489,4545,4133,3946,3913,4118,5108,4949,3692,3403,3366,3322,3362,3417,3685,3926,3585,3427,3400,3410,3234,3174,3428,3737,3873,4407,5109,5105,5009,4663,4576,4792,4603,4903,4683,4783,4804,4283,3569,3265,2876,2741,2662,1936,1252,1750,2924,2851,2807,2732,2438,2461,2575,2522,2726,2818,2413,1821,1881,2918,2494,1240,1439,2049,2292,2817,2811,2561,2651,2668,2809,2451,2238,2031,2200,1907,2070,2222,2374,2398,2082,2204,2967,3261,2846,2701,2541,2424,2614,2713,2647,2551,2531,2204,1939,2242,2513,2343,2019,2143,2331,2214,2891,3486,3636,3015,2316,2200,2010,2188,2306,2131,1841,1370,1637,1791,1907,2160,2407,2544,2842,3147,2958,2318,1921,1803,1680,2155,1930,2338,2160,1989,1774,1712,1632,1699,2093,2727,2888,2134,1948,1907,2048,2105,1945,1900,1780,1742,2004,2181,2178,2640,2833,2155,1696,1541,1672,1782,1672,1486,1476,1521,1890,2888,3287,2792,2305,2122,2431,2409,2204,2198,2143,1748,1537,1393,1426,1361,1137,1455,1641,1896,1705,1703,1720,1886,1843,2003,2052,2548,2565,2199,2678,3236,3054,2822,2791,2087,1865,2198,2191,2318,2501,2493,2323,2618,2888,2964,3481,2700,1788,1653,2062,2917,2476,2031,2045,2885,3250,2997,2665,2708,2815,3175,3274,2727,2732,2310,3030,3026,2842,3256,3597,3640,3920,3931,3760,3492,3519,3772,3637,3864,3864,3287,3378,3698,3580,3064,2095,1819,2105,2141,2311,2195,2260,2035,1939,1733,1733,1694,1756,1681,1794,1838,2027,2973,2947,2513,1842,1674,2025,2074,2592,2765,2764,3020,2878,2329,1928,1927,1767,1718,1897,2123,2367,2242,1998,2136,2100,2116,2121,1863,1807,1743,2041,1972,1884,1687,1884,1702,1669,1989,2254,2397,2272,2346,2773,3095,2406,1481,1899,2610,2182,1827,2258,2780,2305,2047,2294,1973,1900,2062,2654,2809,2180,1856,2193,2518,2154,2146,2313,2051,2232],[2417,2359,2329,2094,1689,1850,2030,2112,2776,2994,3288,3261,3099,3154,3094,2863,2790,2764,2758,2836,3228,3684,3514,3403,3305,3388,3270,2603,2690,2814,2665,2731,2667,2422,2208,2288,2610,2583,2382,3355,3610,3305,3060,2937,3135,3285,3334,3164,2265,1664,1688,1838,1354,1200,1967,2678,3302,3257,3064,2957,2729,2755,2683,2811,2818,2769,2029,1228,1370,2747,3174,2961,3284,3386,2800,2225,2234,2903,3366,3600,3557,3059,2608,2604,2666,2689,2759,2314,1942,2048,1992,2669,2842,2570,2890,3557,3708,4147,4749,4527,3766,3612,3466,3604,3883,3350,3124,2940,2463,2556,2750,3072,3250,3037,2663,2570,2755,3030,3143,3442,3827,3094,3432,4039,4050,4077,4147,3902,3724,3466,2797,2372,2698,2389,1992,2165,3553,4200,3228,2395,2166,1891,2043,2385,2132,1885,1857,1891,2237,2321,2268,2279,2878,2609,2366,2380,2274,2418,2535,2540,2453,2335,2154,2086,2203,2026,2095,1959,2416,2598,2552,2287,2021,1807,1636,1664,1516,1683,1600,1542,1830,1829,1925,1877,1966,1988,1835,1914,2385,2580,1737,1544,2046,2302,2371,2897,3274,3347,3518,3685,3565,3261,3250,3227,3382,3271,2574,2190,1576,1692,2046,2332,2654,3665,4440,4116,3784,3393,3522,3294,2158,2236,2232,2282,2518,2203,2154,2108,1636,2183,2612,2554,2879,2620,2147,2120,2016,2567,3367,3141,3131,3124,3196,3111,2311,1814,2169,2097,2326,2165,1966,1918,2152,2330,2488,2316,1906,1759,1960,2433,2338,1990,1927,1852,1976,2323,1940,1493,1621,1741,1894,2132,1838,1771,1838,1813,1454,1546,1742,1975,2376,2774,2944,2741,2525,2214,2028,1965,1759,1746,1490,1559,1756,1807,2039,2054,1854,1592,1656,1897,2372,2906,3386,3501,3404,3283,2178,1992,2078,2341,2308,2145,2247,2586,2404,2131,2215,2061,2216,1728,1936,1896,1946,1990,1718,1962,2376,2127,2100,2375,1946,1519,1359,1866,2187,3163,4015,4645,3682,3009,2714,2143,2228,2629,3505,3573,2822,2171,2040,2309,2181,2193,1895,1979,2149,2346,2165,2102,2149,1995,2154,3065,2610,2575,2521,2284,1968,2054,2140,2301,2541,2248,1771,2227,1918,1810,1958,1969,1852,1962,1792,1525,1692,2126,2090,1913,1815,1839,2282,2619,2351,1946,2091,2077,1602,1445,1880,2372,2216,1520,1536,1772,2050,2433,2014,1693,2161,2137,2236,2746,2419,1886,2276,2045,2289,2570,1784,1399,2160,2374,2725,2369,2036,2243,2194,2039,2243,2208,2078,2175,2361,2048,1999,2225,2732,2451,1861,1730,1442,1596,1811,2270,2486,2374,2426,2415,2495,2047,1732,1730,2048,2878,3279,3147,2831,2835,2036,1814,2150,2483,1948,1621,1992,2061,1866,1641,1537,1520,1534,1464,1470,1383,1865,1466,1717,1635,1470,1813,1821,1714,1834,2021,2612,3332,3398,3313,2464,2324,2085,1665,1964,2132,2162,2254,2260,2143,1854,1887,2002,2123,1844,1653,1716,1938,2038,2370,2286,2046,1939,1626,1464,1395,1577,1835,2172,1646,1078,914,979,1488,1538,1252,1432,1821,2048,1941,1991,1825,1878,2211,2578,2177,2219,2260,2459,2144,2253,2499,1944,2099,2775,2554,2696,3271,3968,3996,3913,3701,3354,3090,2786,2504,2266,2534,3123,3418,3172,3249,2842,3205,3384,3372,3571,3144,2234,2174,2208,2066,2768,2845,2979,3487,3096,2788,2776,2669,3061,3249,2996,2979,2864,2720,2973,2673,2929,2906,2854,3052,2930,2934,3222,3330,2820,2565,3091,3285,3058,3540,3480,3747,4187,3636,2710,3228,2896,2358,2430,2342,2900,2921,3474,3928,3739,2963,2587,2810,3023,2785,3068,2654,2524,2713,2910,3331,3246,2683,2684,2521,2342,2534,2194,2323,2683,2728,2684,2822,3794,3780,2326,2416,2088,1971,1968,1960,2432,2511,2032,2679,3051,2688,2594,2301,2562,3544,4565,4281,3025,2584,2604,3011,2844,2588,2884,2885,2722,2655,2809,2928,2858,2693,2455,2431,2557,2566,2712,2822,2937,3530,3970,4111,4081,4198,4452,4565,4168,3672,3529,3916,4364,4413,4266,4092,4165,3934,2792,2729,2894,2647,1930,2041,2258,2084,2432,2570,2533,3008,2608,2203,3328,2978,2127,2334,3476,2813,2048,2407,3037,3049,2353,2440,2878,2430,2364,2553,2217,2642,2174,2012,2001,1818,2432,2392,2280,2589,2814,2801,2359,2485,2584,2144,2574,2147,1890,2490,2754,3103,3574,2887,2197,2424,2978,2766,2354,2098,1991,2040,1985,1926,2267,2722,2805,2561,2101,1744,2004,1935,1736,1803,1854,1691,1435,1470,1694,1715,1650,1534,1553,1938,2226,2643,2846,3256,3482,3481,3667,2719,2586,2330,1893,1848,1607,1549,1462,1815,1954,1620,1483,1639,1544,1750,2070,1950,1610,1512,1534,1487,1842,2182,2236,1939,1890,1878,1826,1731,1751,1500,1429,1498,1554,1628,1447,1649,1508,1443,1645,1838,2082,2065,1820,1606,1572,1602,1814,1842,1643,1681,2330,2026,2338,2774,2590,2871,2841,2509,2708,3056,3338,3088,3033,2774,2534,2789,2303,2394,2866,2512,2653,2974,2753,2631,3400,3504,3325,3206,2923,2820,2729,2980,3043,3146,3178,2957,2374,2036,2083,2740,3044,2425,2443,1943,1864,2154,2474,2963,3359,3664,3924,2962,2388,2432,2487,3153,3068,3073,3250,3871,3762,3339,2386,1952,2424,2590,2632,1954,1754,1931,1771,1254,1252,2199,3054,2749,2106,2364,2284,1991,2420,2093,2344,2595,2976,2796,2047,2187,2702,2895,2641,2466,2458,2533,2796,2363,2320,2549,2576,2561,2764,2823,3145,3604,3710,3109,3019,3019,2486,2974,3018,2340,2365,2419,2258,2463,2431,2306,2176,1728,1991,2382,2630,2595,2562,2652,2544,2540,2554,2209,3231,3355,2317,2377,2443,1988,2272,2547,2244,2201,1984,1920,2144,2037,1658,2056,2909,2969,2480,2184,2211,2201,2384,2735,2460,3259,4143,3940,3608,3717,3646,2610,2081,2399,2346,2569,2889,3016,3254,4064,4099,4272,4072,4132,4308,4116,3871,3853,3950,3792,3485,2945,2754,2537,2222,2211,2164,1798,1844,1860,2002,1969,1876,2004,1842,1785,2121,1838,2112,3389,4209,4617,4308,4188,4376,4124,3823,3872,3917,3261,2786,2263,2172,2744,2641,2613,3027,2563,2156,2030,1999,1840,1571,1545,1642,1750,1722,2565,2389,1707,1589,1924,2430,2698,2220,2041,1952,1980,2178,2287,2164,2078,2136,3038,3093,2763,2397,1830,1647,1883,2337,2121,2068,2493,2607,2620,2382,2629,2878,2532,2555,2474,2026,1980,1877,1970,2205,1804,1882,2043,1832,1916,1941,1946,2221,2311,2035,2401,2522,2177,1925,1681,1302,1959,2326,2077,1942,2032,2354,2788,2752,2332,2186,2662,2752,2664,3404,3533,3200,2843,2445,2938,3858,3727,2832,2191,1960,2228,2025,1894,1458,1731,1664,1261,1258,1332,1404,1808,2330,1992,1665,1714,1316,1414,1454,1466,1452,1377,1344,1541,2084,2417,2542,3065,3443,3243,3950,3771,3603,3718,3912,3833,3697,3569,3444,3160,2902,2830,3276,3636,3616,3355,3521,3775,3808,3771,3949,4119,4016,3973,4100,4098,4108,4389,4164,3650,3194,3165,2764,2460,2038,1591,1498,1377,1445,1515,1593,1349,1576,1445,1405,1410,1396,1388,1979,2310,2172,2159,1537,1520,1807,2222,2482,2721,2630,2231,1954,2246,2372,2231,2100,2293,2030,2163,2539,2371,1934,2034,2258,1613,1511,2221,2496,2228,2481,2958,3031,3049,2800,2329,2190,2592,2758,2290,1952,1715,1816,1861,1698,1719,2342,2853,2890,3194,3238,2989,2357,2388,2476,2073,1933,2215,2447,2560,3082,3376,3066,2906,2868,2746,3408,3798,3094,2152,2142,2359,2243,2269,2334,2144,1533,1465,1762,1949,2177,2515,2712,2549,2316,2208,2052,1949,2835,2536,1844,1891,2286,1882,1860,1740,1795,1958,1860,2116,2342,2174,1746,1919,2365,2469,2014,2299,2558,2269,1988,1693,1830,2188,2590,2885,2801,2222,1514,1476,1724,2262,2336,1895,1824,2223,2597,2689,2222,1981,2156,2148,1880,2143,1563,1425,2077,2264,2258,2029,1938,1853,1800,1885,1988,2679,3107,3347,3709,4239,4196,3802,3916,4353,4192,4128,4340,4085,4046,4018,3914,3794,3660,3681,4160,4074,3525,3303,3249,3227,3316,3460,3375,3438,3287,3421,3494,3350,3686,4002,4391,4836,4940,5028,4572,3941,4047,3937,4069,4482,4850,5071,4905,4524,4524,4664,4407,3696,2740,2857,2644,2104,1808,1874,2148,2496,2498,2670,2852,2850,3002,3172,2975,2429,1888,1616,1958,2555,2098,1383,1358,1706,2077,2330,2436,2867,2907,2507,2784,2891,2410,2309,2350,1950,1873,2567,2872,2414,2130,2091,2730,3162,2309,2144,1933,2407,2994,2642,2239,2098,2095,2093,2360,2558,2740,2798,2445,2520,2596,2460,3352,3466,3443,2807,2132,2250,2495,2509,2395,2401,1976,1497,1766,1707,1445,1723,2264,2525,2780,2880,2622,2135,1720,2179,1858,2318,2368,2623,2634,2374,1896,2047,2381,2548,2522,2329,2269,1903,1723,1624,1937,2040,1945,1774,1574,1567,1961,2316,2244,2519,2556,1991,1507,1221,1520,1829,1725,1489,1522,1624,1583,1863,2292,2667,2463,2308,2138,2404,2310,2028,1845,1902,1786,1494,1594,1836,1310,1417,1623,1892,1550,1436,1998,2203,2233,2352,1998,2079,2503,2401,2496,3163,2906,2868,3319,2287,2121,2599,2686,2501,2099,2352,2154,1860,2306,2792,3054,2414,1838,1842,2034,2543,2368,1929,2403,2900,2571,2770,2458,2714,2225,2706,2858,2685,2456,2253,2668,2969,2900,2970,3263,3248,3537,3707,3624,3461,3692,3732,3492,3471,3479,3253,3419,3798,3824,3682,2967,2591,2094,1921,2166,2457,2383,1825,1782,1860,1623,1545,1676,1537,1489,1800,1595,1957,1611,1526,1403,1373,2046,2341,2658,2714,2714,3230,2978,2263,2046,2070,1875,2074,2242,2184,2491,2442,2266,2197,1862,1918,2009,1620,1720,2015,2216,1766,1578,1872,1902,1575,1995,2078,1859,1998,2054,2156,2420,2942,3221,2418,1937,2036,2195,1979,1901,2203,2368,2596,2585,1681,1483,1913,2381,3033,2351,1873,2335,2452,2026,1935,2207,2083,1843],[2366,2322,2326,2046,1881,2242,2315,2621,3300,3139,3416,3457,3221,3010,2949,2784,2463,2529,2889,2720,2724,3163,3309,3096,2776,2732,2919,2704,2669,2788,2663,2733,2750,2464,2325,2626,2745,2827,2445,3270,3537,2986,2822,2951,3135,3235,3279,3135,2134,1587,1338,1505,1333,1104,1866,2864,3390,3507,3501,3004,2353,2666,2644,2817,2968,2822,2026,1490,1690,2671,3345,3219,3089,3094,2818,2502,2365,3163,3660,4039,4211,3794,3030,2853,2957,2709,2566,2691,2257,2101,2109,2677,3069,2847,2935,3337,3814,4175,4546,4544,4237,4020,3501,3676,4010,3924,4027,3818,2860,3038,3579,3250,3011,3426,3455,3244,3128,3204,3235,3164,3993,3514,3488,4109,4240,3754,3419,3500,3621,3373,2841,2362,2540,2171,2035,2082,2176,2728,2709,2702,2708,2334,2179,2606,2487,1857,1966,1988,1951,2409,2381,2525,2711,3090,3301,2823,2636,2524,2310,2362,2411,2166,1890,2017,2534,2344,2286,2380,2403,2320,2331,2109,1978,1880,1871,1870,1512,1640,1642,1781,1694,1660,1696,1583,1791,1904,1531,1787,2407,2942,2401,2137,2411,2331,2370,2923,2874,3060,3547,3595,3614,3146,2796,2539,2453,2298,1875,2305,2160,2166,2032,1843,2529,3849,4256,4104,4196,3770,3617,2727,2034,2132,2142,2304,2637,2449,2490,2298,1918,2097,2191,2561,2682,2859,2658,2380,2009,2778,3375,3566,3345,2856,2996,2788,2012,1948,2073,1996,2737,2546,2308,2639,2542,2408,2218,2007,1935,1858,2116,2223,2222,2039,1815,1615,1792,2305,1886,1367,1914,1982,1844,2256,1928,1826,1938,1799,1602,1351,1267,1546,1952,2500,2885,3114,3552,2830,1998,1716,1662,1781,1598,1924,2036,1816,1959,2255,2195,1886,2037,2192,2405,2211,2928,3480,3471,3585,3118,2632,2306,1998,1806,1990,2125,2396,2079,1890,1989,2098,2380,1989,1974,1857,2242,2863,2561,2219,2680,2352,2101,2340,2137,1970,1426,1613,2003,2891,4326,4806,3460,2198,1724,1570,1664,2015,3450,3641,2944,2253,1761,1954,2250,2096,1685,1540,1914,2420,1852,1677,1673,1650,1927,2484,2496,2404,2120,1933,1986,1987,2241,2727,2883,2693,2259,2379,1766,1675,1655,1483,1716,1906,1612,1121,1565,1953,2092,1772,1952,1966,2339,2501,2169,1813,2108,2314,1807,1743,2216,2361,1923,1569,1631,1569,1775,1857,1889,1678,1890,2216,2243,2395,2400,1917,2474,2229,2442,2267,1767,1416,2074,2452,2445,1930,1533,1892,2075,2267,3363,2619,2200,1807,1803,1794,2151,2598,3252,3044,2378,2322,2095,2119,2093,2620,2343,2278,2303,2076,2009,1951,2001,1982,2290,3088,3560,3484,2846,2584,2026,1681,2293,2512,1900,2015,2110,1878,1769,1529,1411,1541,1565,1580,1768,1564,1992,1578,1448,1432,1731,2292,1992,1665,1926,2050,2519,3232,2840,2544,2480,2338,2009,1720,1785,2010,1970,2038,2253,2015,1761,1599,1997,2145,2049,2027,2154,2278,2333,2422,2283,2284,2107,2025,1903,1368,1878,2125,2041,1823,1352,1000,1172,1540,1554,1448,1277,1423,1627,1824,2037,1968,1913,1934,2035,1994,2124,2214,2182,2104,2461,2442,1911,2632,3000,2499,2708,3351,4113,4161,3804,3586,3489,3553,3548,2912,2826,3089,3443,3332,3409,3072,2312,2761,3223,3183,3175,2563,2229,2298,2110,2024,2915,3320,3184,3393,3087,3147,2894,2414,2957,3292,3133,2756,2568,2767,3416,3149,2829,2789,3243,3175,2710,2879,3026,2882,2661,2557,2777,3037,3090,4016,3589,3427,3708,3078,2348,2278,2164,2500,2341,2313,3063,2856,3619,3454,3286,2843,2676,2702,2304,2573,2939,2276,2447,2733,2535,2763,3561,3018,2814,2995,3006,3012,2402,2185,2452,2329,2287,2678,3703,3588,2328,2975,2417,1821,2146,1850,2129,2391,2123,2555,2762,2906,2884,2404,2796,3917,4225,4261,3815,2812,2369,2662,2588,2543,2556,2789,3208,3592,3448,2851,2662,2501,2401,2659,2790,2718,2664,2495,2732,3741,4321,4216,4077,4226,4444,4588,4094,3376,3176,3745,4320,4408,4409,4219,4133,3841,2936,2883,3165,2648,2192,2426,2483,2814,3314,2567,2514,2746,2159,2219,3450,3060,2576,2897,3725,2888,2342,2862,3141,2717,2105,2456,2964,2385,2278,2310,2725,2771,2148,2006,1947,1991,2164,2200,2343,2475,2770,3020,2681,2788,3242,2426,2487,2183,2608,3497,3443,3182,2890,2623,2654,3449,3797,2757,2241,2069,2029,1994,2008,2095,2184,2436,2269,1741,1940,1906,1924,1924,1854,1684,1955,1932,1395,1512,1891,1835,1896,1793,1625,2388,2464,2475,2468,2644,2974,3523,3204,2591,2838,2505,2216,1775,1632,1496,1516,1606,1688,1599,1591,1575,1503,1601,1842,1698,1598,1441,1384,1478,1842,1759,1824,1659,1563,1745,1836,1825,1693,1409,1446,1422,1559,1606,1599,1622,1665,1726,1982,2186,2147,1979,1739,1630,1644,1593,1621,1433,1512,2006,2563,2062,2577,3466,3254,2836,2746,2370,2102,2327,3023,3144,3311,2743,2404,2535,2356,2645,2753,2708,3010,2631,2433,3164,3550,2928,2905,3075,2995,2933,2941,2698,2465,2736,3000,2908,2872,2536,2079,1951,2624,2752,2634,2279,2454,2903,3189,3581,3458,3194,3601,2510,2061,2140,2172,2612,2439,2060,2110,2500,3353,3218,2041,2173,2451,2215,1842,1476,2238,2229,2128,1611,1330,2365,3440,3030,2180,2060,2545,2509,2665,2294,2269,2586,2665,2563,2100,2250,2799,2807,2337,2115,2346,2170,2080,2060,2453,2676,2364,2705,3423,3631,3255,3249,3212,2424,2777,3402,2467,2932,3077,2813,2579,2711,2901,2558,1865,1979,2140,2127,2444,2452,2771,2555,2963,2530,2299,2377,2367,2015,2925,3463,2659,2301,2192,2228,1814,2261,2559,2231,2206,1901,1729,1807,1620,1934,2629,2557,2182,2001,2204,2360,2299,2767,2602,2973,3926,4272,4245,4213,4365,3969,2929,2692,2614,3038,3365,3394,3733,4027,3847,3981,4100,4219,4396,4357,4075,3693,3803,3828,3931,3908,3485,2633,2149,2126,1829,1806,2142,2138,1968,1915,1871,1705,1750,2407,2305,1971,1950,2056,2736,3589,4074,4145,4082,4171,4124,4216,3803,3441,2501,1786,1714,1657,2024,2583,2433,2328,2430,1897,1992,2200,2166,2287,2129,2229,2406,2611,2185,1773,1669,1912,2602,3253,2807,2874,3133,2986,2759,2688,2930,2993,2874,2875,2642,2221,1785,1852,2084,2241,2402,2486,2880,2978,2349,1669,1520,2012,2330,2390,2569,2080,1971,2010,1988,1854,2189,2236,2816,2702,1892,1617,1662,2043,3000,2602,2132,2643,2678,2482,2184,1970,1776,2122,2178,2125,2460,2657,2577,2347,1947,1993,2076,2578,2565,2831,3414,3293,3067,2985,2968,3439,4245,3772,2867,2224,1762,1694,1642,1665,1686,2403,2259,1377,1310,1394,1597,2017,2460,2087,2019,1774,1498,1559,1321,1328,1562,1730,1599,1352,1661,1923,2435,2995,3240,3120,3852,4034,3934,3833,3820,4018,3706,3504,3523,3277,2809,2685,3182,3523,3452,3355,3740,3820,3626,3704,3858,3973,3761,3837,4021,3985,4092,4325,4104,3699,3220,3152,2894,2386,2076,1606,1443,1317,1463,1540,1425,1331,1383,1266,1299,1215,1234,1338,1515,1869,2266,1979,1631,1579,1747,2098,2359,2544,2397,1599,1179,1524,2155,2214,1842,2036,2206,2403,2773,2545,2531,2387,2201,2004,1969,2142,2253,2524,2714,2939,2958,2437,1931,1857,1927,2421,2431,2091,1759,1549,1653,1555,1751,1894,2732,2941,3100,3189,3314,3330,2831,2931,2807,2142,1928,1951,2360,2479,2822,2988,2731,2509,2438,2617,3532,4309,3898,3131,2955,2985,2864,2803,2340,1747,1341,1463,1717,1830,1832,1698,1726,2249,2555,2736,2922,2761,3045,2339,2289,3009,2623,2014,1858,1839,1820,1730,1794,2010,1867,2017,1924,2381,2678,3257,2554,2074,2143,2110,1715,1900,2422,2362,2767,2646,2388,1857,1440,1675,2049,1986,1812,1835,1852,2326,2747,2621,2375,2103,2120,1809,1460,1768,1810,2092,2149,2200,1912,1605,2064,1937,1946,1885,2033,3098,3093,3237,3662,3814,3934,3806,3962,4240,3649,3562,3836,3443,3226,3428,4239,4373,3850,3481,3417,3355,3104,3054,3185,3362,3487,3653,3344,3283,3234,3506,3529,3312,3839,4708,5224,5283,5396,5241,4308,3569,3479,3337,3409,4327,5028,4964,4823,4569,4697,4919,4552,3173,2269,2654,2289,1918,1980,1987,2243,2429,2459,2710,2781,2775,2681,2567,2159,2142,2700,2663,2479,2386,2370,2210,1937,1969,2144,2202,2341,3274,4043,3724,2930,2322,2160,2896,2822,2305,2404,2910,2698,2171,2148,2190,2453,2281,1882,1957,2159,2320,2239,2291,2332,2020,1872,1880,2713,3002,2995,3056,2496,2285,2400,2751,3318,3378,3157,2567,1792,2232,3000,2467,2151,2505,2165,1588,1897,1948,1613,1858,2186,2211,2305,2112,2041,2421,2621,2510,2278,2187,2666,2909,2302,1787,1652,1789,2148,2401,2543,2241,2260,2135,1882,1991,2125,2066,2036,1738,1437,1350,1720,1659,1597,1852,2323,2315,1580,1609,2300,2171,1702,1656,2032,2104,2053,1792,1798,2006,2427,2520,2097,1752,1765,1796,1946,2123,1747,1447,1696,1968,1670,1584,1734,2056,1710,2079,2239,1940,2515,2671,2128,2142,2289,2106,2078,2813,2844,2813,3305,2879,2612,2279,2613,2832,2480,2808,2421,2168,3090,2544,2303,2070,2066,1808,1575,1868,2085,2173,2499,2907,2099,2541,3055,3229,2474,2446,2356,2065,1860,2204,2449,2269,2491,2794,3271,3377,3471,3596,3743,3659,3681,3563,3343,3372,3631,3479,3205,3687,3901,3663,2842,2519,2645,2397,2142,2201,2261,2109,1922,1849,1682,1499,1522,1669,1595,1879,1568,1485,1474,1521,1346,1519,2173,2611,3183,2541,2778,2864,2132,1864,2043,2097,2088,2168,2341,2215,2375,2589,2358,2183,2133,2369,2125,1697,1585,1646,1779,1901,1703,1794,1772,2132,2613,2390,2364,2190,2098,2394,2570,2313,2251,2261,2160,2574,2959,2531,2268,2451,2996,2867,2246,1902,1710,1819,1793,2114,2147,2162,2366,2264,2099,1963,2352,2317,2040],[2193,1964,2110,2125,2295,2233,1974,2277,3064,3373,3374,3355,3190,2920,3022,2974,2755,3139,2989,2329,1854,2559,3051,2729,2725,2966,3354,3284,2750,2894,2834,2726,2757,2576,2556,3078,3508,3696,3399,3509,3495,3062,2968,2918,2850,3122,3195,2971,2286,2298,2244,2041,2098,2387,3010,3240,3209,3394,3393,2756,1898,2237,2613,3022,3104,2695,1891,1343,1418,2189,3075,3028,2695,2374,2677,3313,3083,3355,3801,3908,3951,3864,3342,2954,3094,3125,2954,3115,2663,2293,2338,2664,3163,3028,2884,3181,3561,3740,4052,4340,4015,3746,3550,4053,4046,4012,4395,4448,3451,2976,3441,3182,2884,3069,3119,3150,3039,2996,3234,3217,4014,4125,3864,4233,3636,2689,2917,3184,3484,3415,2584,1840,1822,2077,2319,2004,1964,1947,2152,2416,2135,1966,1929,2171,2304,2301,2337,2046,1941,2310,2178,2180,2339,2608,2808,3199,3244,2631,2276,3013,2708,2266,1962,2198,2304,2247,2364,2553,2418,2250,2132,1948,1838,1653,2124,2232,1948,1781,2233,2351,1898,1653,1432,1527,1824,1853,1649,2113,2774,3409,2812,2665,2486,2098,2648,3177,2839,2908,3762,3956,3942,2620,1852,1831,1894,1854,1780,2036,2071,1884,1949,2162,2562,3695,3806,3542,3784,3847,3320,2357,2066,2117,2006,2208,2438,2374,2246,2023,2541,2461,2363,3140,3437,3392,3074,2569,2126,2184,2942,3266,2987,2806,2776,2039,1692,1996,2555,2459,2941,2937,2950,2907,2648,2564,1759,2264,1928,1783,2144,2096,2066,2177,1844,1787,2105,2164,1803,1556,1821,1868,2346,2369,2097,1974,1846,1932,1863,1692,1818,2056,2268,2560,2906,2952,3494,2961,2153,1489,1451,2007,2125,2083,1919,1878,2113,2437,2349,2042,2238,2454,2372,2270,2950,3543,3613,3676,3625,2863,1951,1744,1635,1898,1946,2214,2006,1967,2369,2720,2710,1947,1349,1494,2468,3587,3416,2524,2493,2182,1819,1702,1856,1685,1401,1447,1512,1880,2747,2821,1816,1316,1512,1553,1765,1866,3000,3550,3012,2196,1651,1525,1555,1626,1311,1147,1440,2026,2223,2124,2209,2286,1888,2411,2867,2455,2083,2030,2411,2497,2601,3052,3248,3345,3236,2689,2227,2141,1792,1555,1545,1626,1488,1478,1864,2000,2398,1670,1865,2153,2365,2360,2048,2034,2031,1682,1681,2221,2491,2613,2100,1980,1992,1788,1994,2050,2116,2198,2172,2529,2441,2545,2378,2342,2250,2081,2406,2061,1591,1569,2019,2367,2372,1988,1727,2099,2291,2209,2443,2040,1953,1600,1571,1708,1972,2569,3519,3350,2873,2944,2745,2539,2504,2301,1760,2026,2382,2139,2048,2041,2018,2330,2697,2797,3016,2822,2244,2016,1836,1710,2245,2421,2070,1959,2016,2277,1770,1506,1643,1921,1705,1631,1814,1895,2349,1879,1266,1182,1526,2034,1876,1776,2437,2348,2380,2412,2144,2232,2615,2364,2136,2308,2626,2678,2555,1987,2498,2054,1672,1821,2005,2026,2371,2341,2542,2732,2315,2219,2272,2097,2092,2232,2120,1547,2087,2403,2084,2098,2024,1253,1274,1648,1571,1663,1538,1475,1702,1887,1847,2288,2311,2576,2699,1941,1932,1836,1804,1912,2131,2034,1973,2545,2596,2476,2512,3176,3804,3646,3606,3485,3441,3458,2964,2497,2962,3250,3096,2853,3020,2765,2199,2348,2803,2801,2928,2539,2467,2814,2929,2675,2596,2775,3027,3341,3472,3357,2746,2604,3436,3663,3660,3347,2975,2866,3161,3074,2597,2708,2866,2601,2414,2697,3032,3074,2966,2668,2907,2646,2785,3138,3082,3372,3467,2896,2578,2933,2701,3461,3176,3051,3584,3441,3252,2820,2796,2714,2714,2784,2322,2039,2391,1806,2088,2781,3086,2417,3023,3052,2316,2390,3006,3237,2757,2529,2475,2358,2598,2875,2631,2555,2176,2380,2473,2225,2591,2631,2568,3101,2872,2181,2556,2979,3108,2206,2754,3859,3886,4225,4104,2865,2386,2824,2663,2972,2138,1371,1880,2720,3273,2369,2177,2261,2447,2841,2841,2788,2909,2735,2187,3438,4484,4401,4200,4298,4552,4808,4572,4195,4120,4465,4652,4661,4556,4208,3808,2949,2720,2560,2811,2811,2958,3097,2625,3108,3935,2763,2832,2540,2239,2178,3348,3772,3747,3466,2924,2621,2883,3372,2790,2842,2407,2395,2811,2499,2402,2072,2260,2304,2211,2047,2115,2468,2669,2706,2719,2363,2770,2664,2420,2854,3474,2846,2352,2507,3094,3112,2799,2226,1925,2721,3536,4051,3843,2808,2519,2193,1946,1914,1903,1953,1930,2307,2301,1944,1874,1915,1872,2046,1823,1745,2182,1924,1560,1763,1938,1950,2002,1697,1954,2441,2380,1964,1738,1693,2278,3161,2869,2547,2686,2187,1976,1652,1556,1502,1467,1524,1832,1933,1624,1468,1585,1756,2166,1492,1321,1613,1476,1531,1646,1547,1705,1544,1500,1777,1754,1491,1930,2398,1672,1583,1616,1508,1521,1625,1891,1918,1965,1992,1812,1958,1865,2319,2746,2554,2336,1705,1686,2485,2994,3019,3248,2988,2532,2438,2724,2691,2344,2270,2668,2966,2652,2218,2698,2993,2727,2680,2779,3185,2576,2269,2637,3376,2767,2610,3050,3344,3432,3250,3398,3328,3406,3277,3585,3828,3949,3294,2480,1966,1962,2503,3072,3154,3096,2931,2636,3204,3351,2978,3473,2543,2255,2304,1785,1823,2245,2482,2710,2968,2765,1996,2451,3441,3629,2911,2076,2201,2965,2887,2447,1940,2099,3205,3128,2417,2297,2567,3196,2667,2500,2577,2644,2899,2769,2381,2236,2276,2597,2567,2354,2040,2197,1987,1622,1674,2364,2545,2642,3174,3261,2513,2282,2807,3394,2912,2482,2918,2188,2505,2822,2709,2749,2922,2935,2231,2093,2518,2916,3038,2450,2508,2605,2718,3039,2708,2430,2471,2459,2255,2574,3228,2821,2352,2082,2412,1802,2048,2414,2192,2215,1993,1966,2069,1924,2336,2400,2246,2142,2023,2025,2351,2677,2786,2586,2852,3504,4099,4207,4244,4401,3807,2622,2575,2834,3661,3824,3856,4131,4055,3850,3651,3701,3957,3815,3172,3873,3879,3848,3771,3701,3751,3962,3251,2457,2198,1760,1910,2270,2280,2084,2032,1804,1681,1560,1974,2231,2530,2710,2253,1933,2209,2854,3406,3784,3964,3692,4156,4200,3740,2402,1715,1555,1801,2462,2137,1928,1866,1930,2408,2196,1853,1621,1871,2027,1902,2245,2327,1800,2048,2174,2214,2717,3474,3513,2883,2536,2408,2282,2141,2083,2046,2303,2786,2910,2658,2263,2449,2365,2598,2786,2925,2596,2054,1603,1267,1600,1838,1874,2888,2813,2316,2360,1969,1802,2525,2876,2585,2587,2344,1942,1661,1956,1905,2602,2472,2190,2662,2662,2621,2489,2367,2674,2591,2524,2630,2769,2818,2401,1944,1710,1987,2241,2625,2774,3071,3392,3332,3444,3418,2652,2835,3486,2818,2268,2208,1959,1757,1558,1462,1470,1581,1609,1293,1400,1372,1582,1965,1932,1756,2079,2420,2508,2008,1217,1244,1816,1995,1542,1047,1544,1655,2181,2269,2580,3045,3886,4327,4212,4078,3837,3797,3950,3804,3403,3372,3082,2918,2888,3079,3262,3398,3739,3814,3496,3465,3615,3784,3496,3567,3592,3687,3978,3974,3683,3347,3074,3233,3069,2425,1996,1554,1479,1527,1734,1624,1734,1739,1544,1355,1421,1390,1417,1415,1818,2293,2343,1836,1513,1319,1679,2149,2664,2756,1974,1259,1396,1880,1754,1641,1641,2080,2187,2415,2669,2887,2976,2540,2058,1881,2128,2146,2104,2320,2447,2897,2886,2190,2074,2347,2242,2128,2151,1966,1630,1780,2104,2133,2106,1706,2167,2958,3264,3139,3212,3055,2604,2899,2814,2104,1948,2111,2499,2404,2592,2574,2452,2319,2398,2603,3082,3650,3603,3174,3020,3139,3178,2663,2022,1812,1726,1625,2082,2621,2621,1989,1545,1892,1948,2137,2467,2773,2583,2192,2533,2945,2514,1950,2006,1942,1755,1665,1635,1656,1661,1691,2072,2214,2976,3680,2832,1997,2150,1717,1284,2198,2210,2064,2198,2071,1882,1726,1714,2037,2313,1998,1904,1691,1828,2707,2644,2190,2251,2414,2061,1669,1426,1636,1992,2156,2298,2525,2468,2312,2345,2062,1991,1927,2426,2898,2811,2833,3082,3152,3256,3459,3399,3354,3234,3259,3252,3182,3141,3559,4297,3948,3235,3182,3371,3306,3056,3197,3244,3294,3295,3362,3328,3357,3298,3360,3460,3388,3608,4627,5311,5323,5371,5303,4796,3786,3419,3371,3695,4708,4941,4377,4016,4331,4816,4904,4164,2732,2419,2563,2132,1865,2038,2259,2476,2624,2762,2622,2700,2889,2831,2109,1858,2561,3661,3458,2510,1917,2396,2587,2368,2143,2222,1965,2237,2510,3209,3183,2326,1928,2527,3121,3099,3141,3330,2721,2247,2312,2414,2270,2340,1938,1987,2086,2304,2473,2521,2688,3070,2651,2546,2601,2449,2545,2899,3042,2406,1962,2254,2509,2626,2820,2768,2555,1935,1984,2165,2008,2015,2049,1881,1727,1824,1852,1963,2521,2746,2690,2754,2124,1722,2121,2652,2569,2579,2555,2699,2853,2684,2134,1709,2011,2043,2106,2334,2122,2103,2449,2388,2130,2153,2109,1897,1821,1676,1511,1895,1930,1575,1375,1730,1961,1819,2061,2166,1984,1963,2269,2546,2469,2237,2166,2308,2303,2184,1891,1721,1771,1998,1943,1798,1821,1681,1892,2314,2085,2305,2093,1858,2004,1972,2141,2106,2047,2421,2469,2428,2115,1921,1672,2017,2574,2603,2611,2785,2874,2639,2093,2138,2125,2125,2635,2713,2442,2477,2417,2226,2399,3087,2509,1491,1662,1898,2596,2990,3019,2501,2917,3335,2884,2435,2248,2200,2232,2177,2201,2228,2354,2651,2982,3474,3542,3253,3441,3618,3461,3518,3507,3377,3581,3661,3363,3306,3570,3926,3010,2167,2060,2847,3241,3174,2732,2452,2071,2258,2571,1871,1637,1660,1721,1570,1543,1661,1688,1490,1404,1498,1844,1909,1854,2647,2169,2290,2331,2058,1943,2033,2082,2153,2322,2376,2394,2225,2148,2096,2142,2090,2256,2073,1421,1110,1018,1814,2436,1750,1605,1395,1900,2278,2337,2237,1927,2099,3012,3205,2521,2136,2150,2151,2125,2160,2421,2676,2641,2215,2003,1763,2214,1873,1470,1520,1749,2133,2270,2272,2206,2007,1887,2210,2316,2186],[1805,1911,1928,2054,2033,1735,1892,2413,2735,2987,3311,3348,3093,2828,3033,3030,2874,2901,2665,2112,1764,2130,2658,2998,3008,2965,3206,3349,2561,2642,2730,2535,2648,2880,3173,3670,3991,4058,3574,3018,3352,3388,3053,2657,2874,3220,3247,2990,2496,2780,2257,1691,2199,2552,3176,3482,3480,3583,3521,2642,2271,2397,2751,3252,3204,2648,2004,1646,2016,2415,3162,2702,2396,2448,2996,3505,3264,2755,2923,3107,3093,3329,3473,2888,2645,2953,3352,3816,3565,3037,2792,2837,3076,3122,2855,2959,3282,3603,3721,4056,3969,3328,3839,3970,3678,4005,4529,4448,3696,3173,3355,3013,2464,2525,2880,2990,3177,3391,3362,3658,4047,4064,4168,4025,2911,2502,2887,2877,2876,2874,2179,1277,908,1496,1874,1662,1744,1762,2073,2178,2353,1954,1885,2313,2473,2587,2554,2063,1839,1880,2045,2181,2049,1950,2343,2815,2540,2150,1677,1885,2371,2542,2198,2092,2157,2136,2421,2910,2652,2352,2117,1783,1711,1669,1853,2053,1846,1728,2311,2579,2216,2219,2182,2136,2050,1849,1945,2330,2856,3299,2796,2513,2439,2191,2189,2135,2155,2387,2840,3005,2954,2277,1888,2065,2635,2899,2517,1846,1846,1875,2173,2242,2163,3123,3667,3515,3567,3531,2809,2152,2321,2534,2270,1997,2121,2852,2642,2459,2579,2297,2839,3420,3444,3312,3044,2701,2405,2666,3682,2971,2685,2811,3185,2012,1707,2212,3030,2910,2508,2651,2641,2279,2363,2478,2009,2549,1898,1687,1791,1813,1743,1675,1615,2146,2530,2087,1553,1605,1436,1966,2110,1737,1813,1781,1625,1883,2116,2278,2340,2458,2235,2834,3245,3031,3137,2744,2378,2035,2243,2489,2428,2478,2596,2598,2847,2778,2093,1791,2098,2173,1935,2320,3132,3563,3521,3397,3435,3044,2139,1933,1689,1893,1971,2049,2070,2282,2414,2270,2162,1848,1879,2453,3057,3750,3750,2591,1722,1675,1349,1432,1795,1887,1886,1672,1625,1647,1879,1565,1195,1584,1826,1828,2037,2141,2335,2227,2162,1979,1714,1736,1692,1842,1878,1918,2103,2095,2190,2062,2222,2271,1820,1952,2600,2896,2618,2736,3044,3203,2951,3067,3009,3037,3263,2692,1976,1860,1570,1586,1581,1612,1757,1977,1533,2005,2169,1661,1704,1790,2213,2330,2249,2926,2068,1560,2685,2852,2666,2750,2652,2703,2674,2145,1765,2041,2686,2425,2373,2900,2818,2758,2329,2239,1716,1945,2552,2226,1573,1582,2173,2305,2070,1867,1670,1919,2032,1925,1691,1562,1483,1352,1394,1528,1653,2276,3504,2879,2531,2513,2456,2040,1953,1894,1528,1580,1986,2430,2424,2465,2641,2395,2303,2075,2002,1838,1720,1945,2102,2079,2113,2511,2279,2031,2227,2273,1761,1530,1853,2616,2071,1532,1779,2309,2523,1926,1666,1719,1957,1888,1773,1745,1804,1758,1902,2100,2360,2609,2534,2411,2389,2490,2776,2621,2842,2435,2369,1877,1600,1865,1966,2027,2294,2386,2408,2613,2396,2284,2065,1739,1948,2014,1793,1610,2162,2865,2414,1565,1478,1156,1343,1584,1404,1404,1516,1611,1771,1894,2158,2204,2132,2787,2764,2279,2433,2253,2266,2224,2024,1771,2120,1894,2028,2567,2613,3176,3254,3258,3702,3727,3526,3500,3249,3288,3470,3341,2733,2423,2595,2918,2974,2709,2896,3164,3451,3366,3322,3533,3710,3343,2696,2512,2806,3474,3790,3399,2699,2631,3134,3786,3828,3252,2925,3012,2987,2641,2841,2933,2320,2508,2880,2697,2788,2673,2842,2752,2812,2621,2445,2602,2724,2565,2734,2592,2720,3151,2744,3174,3277,3445,3286,3225,3067,2965,2996,2607,2399,2373,2614,2684,2944,2586,2396,2109,2676,2416,2674,3138,2681,2576,2906,2941,2534,2379,2195,2818,3299,2919,1976,1936,2481,2690,2469,2312,2592,2580,2614,3322,3142,2296,2457,2729,2678,2114,2895,3851,4181,4485,4001,2646,2812,3611,2884,2571,1482,1384,2058,2809,2867,2177,2171,2344,2416,2393,2712,2747,2734,2601,2047,3256,4312,4649,4624,4583,4784,4912,4761,4727,4716,4760,4744,4555,4451,4297,3322,2884,2796,2542,2499,2358,2730,2638,2003,2563,3025,2304,2231,2225,2315,2559,2623,2877,3363,2932,2712,3030,3319,3644,2654,3040,2822,2778,2571,2631,2354,2002,2096,2170,2669,2295,2326,2635,2567,2499,2499,2185,2213,2396,2248,2608,3057,2642,2075,1923,2504,2592,2474,2072,1890,2721,3592,3886,3334,2742,2517,2225,1983,1912,1913,1848,1767,2213,2555,2402,1999,1898,1892,2108,1853,1622,2112,2159,1896,1690,1861,1918,1898,1775,2242,2292,1971,1779,1816,1830,2458,3184,2464,2664,2305,1780,1736,1877,1745,1501,1359,1403,1653,1738,1606,1721,1579,1884,2243,1583,2206,2279,1614,1593,1451,1513,1825,1731,1595,1659,1549,1453,1872,2110,1745,1594,1618,1518,1377,1439,1633,1745,1847,1908,1923,2237,2107,2813,3060,2718,2706,2142,1844,2798,3277,3088,3306,2794,2221,2441,2717,2878,2698,2784,3244,3663,2957,2163,2822,3052,2930,2858,2796,3201,2388,2308,3054,2901,2315,2819,3428,3492,3395,3679,3985,4040,4092,4042,4408,4336,3583,3837,3787,2941,2419,2621,2612,2924,2934,2742,3151,3070,3145,3648,3830,3086,2735,2442,2343,2502,2841,3051,3577,4008,3442,2960,3638,3925,3686,2590,2293,2552,2507,2439,2544,2554,2596,2374,2169,2467,2472,2208,2056,1994,2505,2409,2423,3139,3044,2800,2974,2901,2507,2489,2315,2542,2322,2037,1414,1869,2517,2134,2736,3040,2707,1802,2160,2746,3436,3035,2250,2003,1789,1719,1821,2148,2230,2308,2382,1999,2176,2364,2708,3434,2858,2468,2675,2896,2674,2330,1924,1913,2055,1839,1860,2478,2739,2567,2322,2093,1883,1765,1963,2182,2056,1979,2056,1742,1481,2092,2102,2062,1961,1960,1872,2003,1889,1905,2436,2822,3632,4196,3923,4108,3981,2828,2228,2402,3090,3786,3919,4296,4501,4288,3967,3805,3783,3617,3286,2666,3527,3603,3467,3773,3747,3438,3335,3307,3023,2388,2121,2520,2415,2354,2096,2007,1819,1868,1750,1742,1954,2352,2801,2927,2496,2579,2556,2723,2585,3054,3375,3292,3292,2916,1969,1787,1816,2563,3720,3352,3322,3348,2874,2954,3027,2763,2552,2798,2747,2495,2667,2980,2600,2733,2768,3015,3155,3153,3398,3226,2766,2315,1995,2193,2580,2589,2584,2806,2822,3317,2719,2258,2454,2878,2833,2336,1824,1818,1795,1611,1645,1427,1631,2309,1850,2223,2493,2024,2211,2913,2825,2359,2133,1945,1957,1841,1936,1925,2436,2662,2254,2426,2472,2402,2544,2747,3090,2610,2374,2455,2702,2788,2391,2265,2242,2534,2991,3275,3217,2993,3060,3350,3711,3257,2101,2483,2425,1775,1412,1908,2476,2392,1993,1560,1334,1379,1419,1267,1382,1406,1537,1743,1864,2137,2631,3153,3178,2465,1501,1321,2193,2194,1793,1127,1277,1628,1819,1581,1903,2741,3697,4416,4400,4029,3808,3654,3974,3994,3491,3248,3150,3040,2942,2961,3155,3775,4295,4548,4200,3703,3608,3874,3570,3399,3200,3087,3195,3198,2958,2653,2796,3076,2596,2419,1975,1586,1532,1631,1520,1599,1762,1718,1765,1664,1656,1490,1416,1841,3173,2779,1889,1571,1377,1434,1651,1957,2256,2090,1635,1345,1936,1862,1360,1589,1776,2536,2812,2530,2412,2657,3077,2824,2236,1937,1757,1612,2034,2100,2256,2762,2787,2508,2469,2361,1959,1884,2048,1960,2005,2145,2341,2284,1926,1620,2214,2670,2577,2426,2524,2264,2253,3065,3100,2163,2108,2355,2366,2279,2403,2435,2388,2306,2410,2579,2691,3088,3695,3344,2898,2709,2567,1926,1966,2235,1926,2167,2924,3155,3025,2389,2480,2091,1749,1872,2080,2319,2158,1815,1715,1878,1981,1934,2327,2162,1869,1904,1546,1708,1915,2109,2431,2423,3120,3748,2842,2071,1989,1665,1764,2565,2393,2486,2570,2650,2396,2159,2046,2214,2234,2230,2282,1807,1980,2623,2474,2268,2366,2501,2050,2008,2063,2194,2049,2121,2242,2084,1976,1858,2046,2030,1998,2074,2257,2417,2623,2599,2089,1966,2155,2697,2822,3256,3471,3129,2938,3117,3241,3504,4087,3917,3123,3077,3270,3215,3209,3247,3252,3272,3214,3241,3361,3371,3266,3272,3410,3378,3437,4452,5208,5328,4847,4251,4183,3819,3348,3385,4144,5025,4892,4384,3973,4716,4892,4815,4427,2993,2505,2777,2426,1618,1716,2084,2279,2557,3003,2873,2690,2447,2325,1980,2174,2840,3168,3674,3792,2757,2709,2863,3343,2877,2540,2233,2528,2536,2332,1981,1808,2002,2288,2602,2562,2497,2978,2621,2339,2314,2157,2047,2172,2141,2331,2750,2796,2583,2752,2779,2907,2601,2427,2977,2878,2831,2956,3063,2613,2229,2634,2405,2301,2501,2788,2330,1958,1860,2060,2027,2060,2155,2046,1851,1889,2284,2388,2562,2602,2553,2415,2131,2171,2186,2263,2304,2358,2459,2404,2271,2248,1979,1858,1946,1603,1831,1853,1858,1997,2077,2042,2041,2246,2128,2365,2151,2189,2348,2404,2525,2317,1945,2166,2286,2091,1863,1898,1997,2063,2532,2209,2039,2149,2294,2421,2082,1892,1793,1980,2515,2719,1862,1474,1497,1395,1960,2373,2155,2273,2175,1782,1802,1855,1794,2164,1969,2036,2123,2136,2077,1959,2126,2412,2356,2385,2564,2668,2960,2895,2491,1788,2185,1987,1904,2251,2098,2210,2693,2743,2985,3517,3263,2545,2313,2316,3043,3091,3208,3211,3135,2979,2785,2535,2188,2269,2050,2001,2164,2247,2776,3001,3064,3487,3670,3351,3239,3203,3098,3122,3271,3474,3707,3761,3594,3667,3659,3412,2366,1806,1887,2366,3021,2874,2319,2710,2241,2076,2533,2115,1753,1648,1502,1443,1490,1620,1617,1506,1707,1741,2003,2022,2338,2391,1974,1707,1768,1923,2079,2132,1973,2137,2304,2347,2271,2056,2128,2241,2189,1859,1735,2036,1687,1425,1245,1343,1713,1428,1832,1659,2157,2763,2512,1825,1643,2282,3271,3231,2622,2389,2445,2611,2542,2075,2220,2302,2459,2094,1955,2193,2316,2033,1959,1911,1990,2170,2111,1958,1942,1792,2040,2216,2053,2205],[2183,2136,2050,2345,2104,2043,2522,2771,2780,2954,2934,2506,2315,2589,2787,2566,2532,2961,2896,2325,1965,2067,2798,3186,2905,2772,2906,3250,2692,2598,2554,2530,2708,2849,3160,3462,3442,3706,3651,3219,3495,3394,2998,3078,3428,3439,3140,2868,2762,2791,2288,2138,2497,3291,3672,3631,3185,2871,2654,2186,2640,3030,3052,3286,3134,2874,2150,1378,1861,2332,3307,3175,3401,3786,3056,2665,2813,2670,2557,2684,2740,3306,3286,2368,2056,2274,2718,3421,3772,3161,2326,2351,2971,3306,2868,2838,2999,3327,3421,3970,3923,3783,3918,3723,3704,3918,4320,4303,3509,2871,2977,2834,2352,2090,2283,2698,3452,3964,3886,3758,3797,4108,4416,3497,2341,2180,2763,3010,2653,2342,2033,1461,1478,2332,2862,2286,1901,1870,1900,2052,2172,1934,2042,2271,2382,2545,2433,2041,2069,2250,2554,2713,2326,2015,2104,2260,2341,2201,1957,2126,2511,2512,2164,1975,2242,2199,2142,2479,2753,2265,2026,1848,1709,1549,1692,2080,2231,2135,2674,2710,2379,2513,2346,1981,1985,2609,3392,3060,2552,2512,2289,2073,2149,1865,1889,1751,1777,1623,1785,1944,1724,1638,1760,2389,3352,3474,2999,2339,2213,1939,2344,2116,1873,2580,3024,3236,3592,3418,2937,2285,2361,2467,2424,1942,2195,2601,2696,2507,2721,2862,3024,3155,3124,3178,3188,3354,3146,3351,3911,3650,3139,2995,3095,2241,1888,2296,2886,2780,2481,2265,1889,1936,1984,2022,2209,1972,1741,1836,1866,2060,2031,1660,2026,2710,3184,2700,1720,1558,1490,2029,1665,1616,1796,1800,1692,1498,1637,2429,2922,2785,2416,3310,3449,2973,2750,2481,2103,2108,2366,2259,2425,2884,2995,2808,2664,2731,2294,1811,1812,1723,1572,2039,2828,3430,3386,3145,3179,2852,2569,2155,1964,2142,2025,2467,2336,1907,2241,2167,1729,1767,2398,2832,2972,3275,3548,2783,2188,2041,1758,1958,1893,1869,2037,1880,1960,1843,1693,1244,1272,1642,1752,1919,2020,2056,2100,1928,1954,2098,1882,1758,1670,1800,1621,1475,1829,1962,1907,2086,2294,2165,1843,1860,2243,2235,2412,2994,3093,3045,3149,3134,2845,3117,3444,2445,1578,1584,1540,1954,1780,1719,1966,1981,1964,2156,1946,1769,1828,2162,2385,2340,2788,2919,2084,2022,3121,3150,3040,3027,2835,2712,2654,2357,2214,2377,2414,2117,2396,2862,2439,2511,2304,2057,1866,2134,2642,2203,1583,1424,2074,1919,1646,1497,1256,1367,1606,1902,1804,1494,1412,1508,1548,1570,1786,2231,2712,2391,2487,2241,1980,1731,1754,1683,1578,1655,2040,2479,2374,2351,2311,1985,1836,1814,2280,2143,1750,2142,2656,2392,2054,2517,2570,2122,2292,2059,1744,1861,1650,1930,1908,1479,1811,2102,2306,2070,1852,1894,2199,2096,1897,1707,1542,1885,2314,2299,2264,2294,2216,2405,2208,2069,2314,2257,2348,2354,2063,1943,1936,1742,1733,1675,1885,2154,2338,2360,2364,2441,2366,2239,1934,1659,1694,2200,2648,2836,2434,1673,1160,1146,1558,1614,1682,1842,1808,1854,1565,1395,1730,1710,1872,2721,2198,2071,2331,2509,2546,2384,2025,1944,1954,1603,2227,2708,3210,3276,3107,3308,3708,3838,3498,3374,3608,3596,3459,3198,2912,2930,2818,3002,3055,2661,2989,3867,4264,4112,3848,3674,3458,3184,2908,2619,2434,3050,3630,3423,2959,2668,2698,3135,3418,3131,3274,3647,3050,2417,2820,2792,2724,2728,2978,2666,2708,2743,2539,2665,3077,3096,2770,2486,2472,2399,2566,2357,2663,2856,2678,2475,3097,3252,2634,2758,3056,3185,2709,2153,2231,1881,2016,2756,2918,3175,3216,2512,2299,2098,2374,2915,2997,3010,2834,2444,2125,2039,2179,2828,2836,2074,1844,2126,2259,2973,3717,3330,3426,3043,2867,3196,3282,2774,3176,3364,2786,2485,2810,3585,4452,4531,3681,2214,2654,3239,2873,1991,1448,2119,2812,3076,2930,2768,2731,2689,2874,2842,2778,2524,2100,2203,2464,2518,3242,4345,4644,4486,4731,4700,4556,4578,4715,4610,4684,4664,4739,3984,2626,2691,2766,2676,2454,2556,2851,2669,1910,2498,2254,1821,2200,2242,2050,2318,2303,2315,2302,2569,2642,2600,3250,3098,2455,2382,2585,2608,2310,2565,2398,2287,2480,2764,3141,2240,2693,2623,2143,1954,2111,2090,2233,2772,2813,2729,2712,2464,2070,1840,2284,2483,2223,1881,1933,2617,3453,3923,3924,3542,2620,2177,2111,1926,1797,1620,1866,2209,2370,2475,2276,1954,1876,1948,1863,1800,2460,3006,2722,2004,1764,1704,1636,1698,1870,1854,1748,1723,1761,2062,2499,3164,2302,2214,1934,1811,1709,1588,1526,1479,1396,1408,1498,1460,1478,1721,1756,2088,2316,1663,1875,1839,1513,1572,1388,1530,1742,1793,1528,1663,1923,1742,1428,1381,1427,1485,1588,1368,1235,1479,1724,1918,1898,1899,2178,2219,2081,2496,2856,2749,2490,2158,2158,2854,2978,2668,2840,2666,2408,2497,2851,2822,2423,2479,3007,3220,2765,2696,3365,3288,3104,2820,3084,2946,2520,2946,3139,2377,2161,2945,3408,3425,3926,4336,4448,3530,3044,3356,4108,4741,4656,4476,4316,4243,3567,3390,2614,2314,2408,2695,3530,3468,3751,4104,3894,3498,3295,3261,2673,2076,2340,2852,4123,4152,3059,3310,3813,3629,2742,2029,2216,2832,2414,2249,2889,2846,2646,2467,1893,2242,2296,2006,1739,1997,2424,2113,2316,2765,2930,2878,3046,2934,2596,2635,2229,2426,2541,2362,1850,2297,2830,2551,2942,2727,2271,1601,1765,1974,2396,2377,2182,2423,2243,1668,1408,1472,1614,2433,2374,1996,2065,2003,2356,2887,3038,2687,3116,3558,3020,2427,1709,2032,2348,2387,2212,2563,3081,2957,2578,2289,1906,1793,2205,2239,1724,1892,2017,1747,1512,2086,2118,1930,1861,1806,1860,1808,1901,2662,2883,2544,3672,4112,3750,3564,2918,2225,2488,3040,3510,3688,3876,4244,4517,4287,4087,4120,4037,3758,3292,2977,3472,2942,2701,2940,3031,3410,3227,2944,1979,1465,1607,2017,2253,2433,2299,2066,2238,2303,1866,1659,1758,1976,2386,2556,2701,3025,2973,2800,2489,2228,2462,2874,3328,3167,2409,1827,1975,2540,2890,3218,3868,4157,4028,4039,4463,4508,4053,3638,3724,3228,2618,3056,3422,3602,3520,3362,3128,3078,3506,3354,2220,2104,2034,2017,1938,1807,1894,2149,2149,2522,2520,2226,2284,2127,1617,1507,1717,1811,1405,1107,1235,1643,1828,1740,1871,2464,2335,1912,2134,2321,2121,2082,2442,2389,2114,2034,2058,1967,2062,2398,2454,2618,2271,1677,2244,2742,2953,2642,2310,2458,2846,2751,2951,3039,2535,2655,2889,3062,3150,2951,3006,3272,3847,2943,2361,2481,2194,1758,1450,1985,2569,2391,2198,1807,1520,1526,1462,1361,1470,1469,1567,1719,2208,3010,3396,3531,3392,2879,2334,1953,2208,2554,1794,968,1146,1800,2258,1870,1896,2661,3617,4216,4272,3604,3181,3465,3782,4017,3753,3391,3308,3174,2999,2893,2908,3473,3908,4444,4686,4251,3762,3496,3286,3135,2960,2876,2958,3011,2724,2329,2522,2817,2377,2278,1887,1708,1617,1546,1414,1311,1457,1600,1797,1591,1488,1659,2088,3187,3376,2018,1393,1441,1419,1379,1454,1661,1682,1939,1940,1245,1925,2182,2357,2325,2117,2353,2318,2291,2536,2842,2908,2321,2087,2349,1985,1314,1606,2007,1953,2413,2952,2503,2197,2041,1871,1912,2042,2010,2220,2149,2099,2037,1911,1847,2045,2394,2308,2362,2461,1954,2097,2248,2396,2251,2143,2114,1928,1993,2302,2455,2301,2119,2237,2609,2652,2875,3320,3421,2964,2214,1654,1716,2188,2144,1888,2127,2818,2568,2192,2125,2588,2053,1843,2224,2589,2731,2590,2193,1702,1771,2432,2527,2446,1871,1823,1919,1778,2034,2342,2530,2330,1945,2686,2957,2362,1935,2139,2030,2370,2570,2568,2583,2469,2564,2664,2241,2110,2322,2139,2676,2461,2319,2222,2318,2152,2055,2422,2339,2283,2195,2449,2787,2237,1969,1880,1627,1377,1370,1824,1833,1672,1740,1999,2284,2586,2684,1786,1743,1637,2446,2734,3086,2980,3107,3186,3528,4012,3995,4380,4407,3419,3642,3774,3442,3299,3300,3315,3302,3362,3398,3378,3348,3250,3289,3260,3272,3265,3891,4793,4936,4003,3460,3849,3805,3267,3349,4004,4973,5000,4661,4313,4709,4739,4706,4650,3981,3137,2999,3105,2165,2186,2024,2107,2363,2658,2990,2728,2253,2166,2229,2420,2864,3001,3351,4020,3410,2718,2372,3348,3425,2779,2436,2565,2631,2282,2135,2268,2518,2328,2258,2212,2426,2812,2813,2665,2799,3190,2940,2268,2186,2208,2308,2451,2312,2358,2648,2766,2496,2205,2523,2609,2545,2626,2677,2392,2403,2474,2186,2110,1930,1787,1336,1301,1715,1948,1999,2327,2562,2060,1953,1990,2183,2394,2068,2365,2423,2050,2090,2233,2143,1937,2004,2143,2094,1970,1982,1926,1845,1685,1570,1904,2212,2108,2111,2552,2116,1764,1982,2144,2525,2712,2313,1973,2247,2344,2423,2395,2156,2344,2254,1980,1792,2182,2338,2324,2265,2055,2302,2214,2080,1983,1871,1678,1995,2316,2428,2071,1484,1430,1478,1506,1938,2474,2366,2126,2004,1756,1969,2325,2567,2646,2074,2038,1862,1816,2126,2281,2267,2331,2415,2736,2884,3094,2975,2060,2040,1738,2422,1900,1664,2282,2325,2545,2750,2520,2676,2988,2991,2884,2224,2188,2510,2610,2900,2624,2289,2564,2711,2834,2691,2246,2015,2222,2690,2561,2866,3165,3310,3730,3894,3624,3271,3204,3150,3244,3426,3599,3585,3587,3362,3286,3436,2818,2032,2006,1759,1784,1903,1794,1990,2352,2417,2084,1998,2218,2272,2120,1903,1817,1658,1473,1134,1266,2105,2302,2056,1975,2282,2249,2028,1815,1627,1695,2104,2170,1661,1866,2192,2255,2114,2131,2173,2226,2206,1986,2246,2540,2254,2195,1798,1576,1221,1504,2328,2442,2437,2467,2284,1865,1620,2425,3274,2849,2641,2355,2159,2786,3152,2400,1809,1964,2172,1900,1804,1908,1722,2017,2073,1716,1937,2095,1957,2433,2742,2626,2730,2492,2110,2116],[2130,2077,2363,2809,2900,2959,3086,3019,3020,3117,2686,2537,2983,2951,2573,2416,2722,2941,2527,2106,2004,2424,3195,3466,3000,2851,3008,3022,2680,2544,2680,2994,3097,3100,3096,3040,2742,3106,3558,3366,3338,3176,3275,3349,3396,3462,3269,3068,2759,2911,2835,2938,2829,3836,4284,3784,2756,2356,2297,2207,2728,3252,3410,3582,3152,2968,2179,1822,2226,2393,2894,3140,2929,2865,2876,2670,2593,2551,2436,2553,2815,3357,2761,2105,2033,2288,2990,3522,3521,3375,3240,3522,3688,3543,2840,2710,2862,3077,3251,3749,3742,3641,3266,2840,3262,3940,3851,4052,3604,2525,2320,2292,2324,2215,2425,2893,3440,3671,3506,3459,3691,4319,4403,3297,2252,2080,2315,2353,2185,2209,2066,1726,1845,2622,3543,2823,1909,2021,2105,2415,2138,1997,2298,2120,1939,2139,2245,2338,2599,2589,2690,2545,2413,2133,1891,2004,2283,2409,2502,2398,2322,2458,2468,2270,2641,2221,1511,1830,2231,1946,1738,1693,1548,1601,2041,2597,3051,3119,2812,2658,2734,3023,2725,2322,2071,2701,3166,2742,2388,2131,1992,1930,1648,1945,1877,1588,1559,1503,1557,1540,1553,1887,2008,2241,3363,3588,3271,2823,2384,2053,1984,2151,2334,2623,2618,2887,3220,2852,2800,2619,2344,2147,2195,2151,3026,3026,2578,2575,3164,3849,3886,3460,3369,3014,3363,3986,3821,3042,3183,3533,3439,3352,3128,2809,2191,1945,2039,2352,2534,2488,1992,1783,1807,1993,2107,2169,2284,2074,2092,2609,2600,2333,2787,3017,3340,2271,1660,1497,1704,1738,1521,1767,1973,2244,1903,1406,1184,1997,2791,2301,1846,2754,3088,3043,2657,1964,1831,1815,2106,2592,3018,3019,2810,2604,2350,2052,1837,1658,1656,1569,1839,2313,2645,3318,3380,3319,3445,2792,2686,2446,2512,2514,2084,2501,2896,2973,3064,2188,1752,1956,2512,2557,2347,2323,2424,2021,1698,1794,2236,2545,2152,1935,2097,1852,1835,1863,1727,1453,1577,1869,1919,1992,2011,1989,1928,1806,1924,2192,1886,1562,1487,1482,1403,1402,1604,1903,2248,2614,2381,2201,2146,2258,2452,2241,2391,2786,2997,3140,3250,2615,2534,3074,3157,2313,2084,1875,1902,2229,1893,2135,2219,2082,2518,2736,2626,2017,2042,2482,2486,2260,2954,2731,2503,2349,2851,3248,2997,2862,2647,2311,2337,3116,3295,2906,2708,2674,2580,2331,2024,2097,1980,1974,1875,1914,2263,1901,1592,1445,1840,1570,1822,1574,1027,1230,1705,2133,2160,1740,1487,1558,1756,1606,2022,2052,1870,2123,2285,2056,1766,1745,1710,1680,1638,1546,2006,1946,1924,2013,2109,2082,1965,2036,2359,2058,1509,1760,2327,2202,2296,2542,2490,2032,2370,2207,1903,1897,1584,1720,1730,1447,1859,2060,2501,2355,2142,2007,2069,2035,1890,1825,1960,2378,2634,2276,2426,2325,1796,2180,2131,1536,1366,1657,2167,2246,1996,2087,2405,2059,1905,2080,2284,2282,2251,2302,2402,2189,2199,2196,1887,1578,1917,3237,3672,3516,3196,2543,1528,1446,1787,1659,1596,1841,1948,1799,1393,1954,2711,2586,2453,2786,2031,2005,2209,2321,2370,2476,2178,2088,2107,2012,2498,2787,3764,3544,3198,3273,3445,3715,3874,3795,3563,3388,3409,3232,3204,2817,2469,2626,2522,2579,3254,4057,4313,4033,3898,3713,3105,3173,2855,2707,2555,2685,3459,3783,3580,2956,2493,2623,3073,3133,2971,3162,3004,2621,2886,2606,2709,2911,3030,3087,3030,2850,2444,2612,3401,3005,2592,2661,2768,2521,2540,2513,2406,2513,2431,2635,3537,3573,2920,2976,2876,2910,2394,2155,2036,2068,2311,3050,3062,3033,3247,3072,2089,2006,2712,3005,3008,3284,2438,2141,2178,1919,2349,2500,2018,1818,1964,2032,2309,3032,3917,4078,4034,3034,2415,2719,3074,3020,3282,3452,2894,2415,2188,2742,4029,4165,3222,3185,3418,3435,3185,2375,1993,2239,2491,2724,3091,3362,3529,3198,2747,2521,2310,1945,1710,2242,2339,1903,2436,3182,3206,3321,4071,4352,4364,4286,4401,4337,4219,4232,4145,2873,2274,2998,3001,2851,2387,2968,3023,3008,2221,2402,2206,2008,2613,2520,2159,2217,2104,2030,2046,2408,2788,2741,3333,3008,2920,2906,2791,2589,2319,2373,2396,2597,2852,3300,2664,2118,2724,2523,2442,2342,2179,2468,2763,3085,2984,2556,2498,1826,1837,2022,2187,2508,2332,1869,1971,2532,3524,3967,4244,3892,2254,1716,2011,1867,1858,1782,1969,2213,2320,2421,2163,1943,1818,1830,1793,1716,2535,2997,2831,2209,1923,1834,1702,1642,1528,1591,1690,1776,1878,1935,2689,2895,2438,2461,2365,2072,1592,1576,1700,1734,1582,1604,1461,1523,1490,1424,1946,2480,2234,1847,1912,1806,1857,1527,1320,1361,1666,1549,1521,1699,1583,1480,1455,1387,1542,1662,1592,1455,1418,2309,2494,2271,2142,2024,2151,2117,2019,2099,2157,2125,1986,1835,1750,2279,2715,2481,2555,2625,2230,2278,2931,2949,2430,2377,2626,2440,2341,2808,3505,3243,3033,3824,4016,2779,2477,3241,2876,3007,2836,3432,3527,3901,4609,4546,4273,2853,1938,2349,3650,4452,4516,3840,3784,4430,4140,3365,2527,2523,2512,2699,3091,3582,3754,3686,3791,3505,3176,2855,2599,2907,2315,1938,3181,3437,3076,2889,2767,2897,2536,2060,1829,2187,2221,2452,3050,2665,2566,2406,2025,2135,2082,1934,1859,2151,2103,2289,2691,2714,2879,3018,3492,2964,2487,2654,2216,2161,2557,2187,2087,2750,2821,2499,2750,2648,2424,2602,2004,1833,2092,1793,2186,2832,2099,1730,1411,1670,2266,2712,2136,1748,2036,2361,2442,2596,2676,2668,3629,3919,3209,2800,2337,2819,2942,2654,1874,2132,3096,3117,2530,2187,1980,2156,2282,2418,1963,2069,1923,2066,1739,1938,2077,1902,1601,1552,1938,1980,2105,2785,3021,2277,3376,3753,3270,2673,2276,2846,3552,3708,3588,3674,3946,4359,4565,4400,4133,3836,3919,4005,3381,3120,3340,3007,2639,2550,2820,3543,3772,3023,1677,1955,2338,2104,2110,2152,1872,1887,2413,2404,2452,2302,2008,1942,2202,2068,2060,2574,2776,2881,2898,2576,2334,2543,2453,3078,3421,3077,3041,2865,2191,2093,2536,3225,3895,4228,4340,4444,4508,3521,3754,3036,2543,3413,3799,3607,3406,3110,3015,3005,3285,3112,2371,2313,2310,2301,2429,2603,2623,2629,2610,2601,2350,2340,2314,1956,1957,2247,1680,1272,1231,1271,1605,1767,1375,1351,2119,2743,2513,2431,2296,2372,1974,1957,2177,2178,1916,1869,1945,1847,1841,2374,2499,2141,1829,2089,2932,2973,3096,3307,3276,2814,2618,2953,3568,3359,2619,2532,2632,2932,3152,2875,2485,2657,3030,2736,2504,2168,1967,1892,1653,2382,2659,2621,2447,2070,1950,1907,1732,1597,1643,1541,1672,1864,2040,2399,2822,3185,3395,3351,2974,2406,2641,2908,1966,1290,1302,1730,2464,2501,2147,2332,3105,3311,3181,3096,3198,3460,3793,4030,3753,3670,3979,3848,3217,2952,2911,3132,3446,3879,4120,4049,3674,3317,3238,3166,3010,2849,3118,3285,3109,2513,2471,2305,2212,2288,1956,1548,1579,1936,2156,2058,2058,1713,1540,1599,2138,2596,3508,3963,2803,1741,1721,2071,1838,1465,1390,1446,1410,1877,2414,1778,1777,2339,2850,3023,2802,2404,2218,2762,2984,3267,3032,2573,2287,2226,2409,2255,2282,2414,2005,2209,2491,2290,2486,2218,2137,1976,1899,1971,2064,1991,2041,2199,1998,1702,2019,2643,2545,2843,3105,2375,1863,1826,2062,1975,1993,1989,1813,1853,2396,3078,2986,2480,2138,2303,2275,2200,2243,2757,2800,2061,2164,2390,2124,1918,2249,2249,2383,2085,1892,2344,2360,1929,2008,2230,2466,3083,3245,2293,2103,2089,2367,2391,1975,1619,1696,1951,1974,2087,2632,2385,2013,1492,1794,2014,2508,2396,2502,2255,2354,2171,2143,2225,1917,1937,2235,2218,2154,1895,1869,2182,1986,2134,2256,2276,2406,2587,2277,2155,2302,1955,2238,2437,2033,1812,1653,1688,1546,1363,1825,2196,2329,2058,1892,2048,2316,2399,1510,1627,1688,2137,2520,2863,3252,3475,3521,3754,4397,4616,4644,4468,4035,4269,4177,3773,3426,3262,3188,3206,3373,3424,3327,3230,3161,3144,3233,3319,3188,3136,3862,3948,3341,3344,3443,3363,3319,3306,3550,4228,4684,4245,4003,4481,4849,4804,4694,4556,3983,3718,3871,2640,2331,2428,2177,2171,2279,2524,2523,2301,2083,2172,2372,2584,3133,3328,3225,2497,2358,2058,2257,2621,3096,2951,2868,2958,2631,2736,2487,2454,2478,2409,2311,2357,3038,3164,2931,2917,2819,2348,2242,2391,2291,2475,2215,2078,2057,1953,2302,2517,2070,1957,1998,2013,2301,2383,2147,1968,2003,2222,1927,1070,708,732,985,1564,1996,2466,2934,2879,2142,2242,2169,1979,2288,2361,2282,2003,1745,1785,1957,1829,1658,2088,2167,2114,1833,2077,2095,2322,2168,1729,2025,2713,3174,3039,3124,2248,1817,1887,1937,2156,2413,2126,1680,1887,1999,1998,1688,1917,2334,2436,2171,1824,2070,2604,2511,1805,1583,2019,2284,1977,1714,1759,1882,2252,2136,1818,1703,1372,1305,1440,1541,1874,2304,2220,2115,2135,2003,2176,2402,2279,1925,2016,2156,2114,2194,2383,2458,2157,2460,2266,2238,2435,2919,3068,2383,2209,2239,2231,1876,2208,2722,2301,2148,2113,2176,2307,2251,2167,2086,2059,2355,2293,2141,2103,1868,1929,1998,2580,2642,2588,1986,2166,2738,3087,2818,2867,3190,3588,3753,3708,3527,3106,3245,3208,3132,3210,3342,3440,3621,3522,3279,3124,2361,1920,2054,1701,1618,1798,1854,1696,1708,1810,2001,2156,2120,2394,2752,2383,1823,1576,1111,902,1065,1532,2437,2126,1728,1985,1942,1790,1703,1848,1871,1808,1688,1481,1843,2410,2248,1989,2058,2024,2066,2124,2171,2364,2337,1908,1676,1643,1527,1068,1864,2634,2568,2075,1750,2309,2423,1646,2356,2951,2604,2336,2279,2441,2830,2750,2555,2559,2525,2580,2371,1545,1478,1680,2190,2190,1788,2160,2454,2511,2958,3077,2884,2384,2133,2082,2242],[2153,2367,2630,2993,2862,2864,3330,3226,2868,2614,2678,2657,2734,2547,2308,2380,2667,2953,2668,2490,2686,2954,3241,3178,2600,2379,2523,2644,2519,2381,2990,3384,3355,3400,3365,3164,2915,3019,3238,3127,3233,3338,3296,3115,3130,3234,3692,3654,2573,2447,2320,2442,2579,3654,4284,3662,2728,2354,2464,2352,2719,3238,2950,2906,3032,2622,2389,2930,3179,2686,2512,2727,2663,2800,3046,2990,2718,2803,2448,2207,2392,2786,2676,2596,2618,2525,2710,3183,2800,3261,4065,4111,4038,3637,2979,2879,3092,3345,3400,3397,3548,3122,2892,2842,3227,3719,3772,4015,3444,2569,2277,2236,2308,2428,2700,3144,3736,3917,3746,4105,4056,4188,3750,3131,2386,1857,1880,2130,1984,1758,1716,1802,2099,2754,3304,2940,1898,1640,1732,2131,2079,2094,2219,1834,2050,2488,3290,3533,3056,2640,2140,2010,2140,1881,1772,2228,2737,2875,2678,1859,2181,2606,2622,2101,2248,1991,1708,2031,2057,1781,1573,990,995,1275,1604,2414,2902,3266,2894,2679,2656,2569,2690,2485,2082,2613,2776,2618,2499,2139,1828,1886,1577,1536,1564,1861,2222,2153,2040,2061,2015,1766,1862,1882,2619,2866,2831,2422,2140,2044,2132,2432,2646,2972,2730,2899,2655,2278,2470,2497,2219,2507,2750,3219,3785,3345,2867,2863,3486,3860,3842,3929,3859,3528,3902,3672,3636,3513,3270,3230,3452,3307,3045,2801,1988,1565,1532,2145,2402,2469,2536,2382,2366,2200,2208,2959,3050,1953,2207,2814,2686,2499,3077,2944,2618,2019,1876,1908,1948,1825,1817,2215,2123,2068,1842,1355,1542,2068,2120,1543,1644,2380,2513,2456,2329,2304,2025,1881,2230,2635,2917,2924,2262,2192,2090,1674,1424,1488,1750,2021,2303,2202,2291,2912,2853,3289,3305,2518,2383,2438,2360,2099,1960,2120,2357,2303,1870,1829,2052,2219,2316,2119,2178,2103,1813,1631,1625,1838,2233,2125,2132,2524,2938,2475,2231,2264,2437,2254,1970,2086,1964,1747,1860,2352,1960,1993,1926,2150,2196,2223,2264,2009,2054,2226,2121,2071,2256,2498,2436,2391,2352,2014,1597,1727,2180,2734,2952,3217,2986,1691,1799,1874,2253,1982,1827,1966,2192,2299,2148,2341,2473,2597,2340,2329,2602,1866,1500,2049,2387,1974,2311,2417,2193,2086,2423,2554,2294,2219,1984,2159,2420,3841,4112,3376,2869,2584,2455,2014,1847,2095,2255,2270,2339,2043,2482,1955,1487,1504,1664,1751,2043,1664,1469,1923,2068,2196,2046,1885,1719,1424,1623,1620,1927,1922,1742,1748,1836,1789,1652,1847,2056,1859,1682,1725,2143,1881,1932,2168,2214,2093,1859,1607,2080,1925,1605,1804,1843,2188,2109,2006,2343,2502,2968,2824,2008,1592,1994,2230,2038,1548,1840,2203,2298,2524,2401,2113,2133,2008,1919,1748,1646,2452,2563,2179,2332,2467,2017,2470,2811,2486,2117,2038,2434,2445,2315,2231,2202,1966,1812,1938,2776,2709,2409,2908,2845,2109,2021,2126,2135,1786,2226,3405,3761,3630,3660,2713,1821,1801,1667,1436,1510,1648,1789,1604,1652,2818,3564,3839,3241,2957,2520,2335,2514,2469,2640,2607,2017,2136,2018,2231,2377,2871,3827,3646,3203,3071,3050,3353,3418,3225,3152,3176,3218,3001,2775,2436,2601,2522,2264,2566,3001,3234,3400,3414,3489,3483,3121,3138,2956,2889,2769,2696,3216,3575,3330,2720,2698,2850,3304,3107,3120,3055,3281,3250,3140,3109,3054,2980,3006,3150,3173,2986,2686,2731,3175,3040,3153,3604,3226,2881,2494,2331,2515,2438,2445,2990,3110,3248,3583,3616,2990,2419,2004,1592,1925,2458,2723,3162,3709,3458,3023,2965,2022,2232,2643,3287,3422,3142,2602,2580,2934,3104,2930,2449,2209,2480,2452,2047,2163,2278,2931,3151,3049,2988,2509,2059,2604,3320,3466,3395,3108,2396,2237,2685,3476,3240,2643,3527,4120,4058,3687,2775,2144,2210,2471,2655,2727,3063,3391,2799,2194,2301,2535,2363,2321,2416,2091,2218,2448,2530,2407,2668,2982,3088,3356,3566,3632,3685,3857,4173,3455,2193,2706,3130,3054,2911,2908,3218,3198,2865,2232,2355,2478,2250,2458,2809,2431,2374,2566,2025,2311,2441,2230,2366,2744,3052,2910,2531,2636,3210,3438,2629,2437,2465,2758,3079,2430,2043,2691,3154,2918,2635,2899,3580,3936,4072,3212,2555,2336,2358,2055,2023,2106,2265,2380,1746,1707,2388,3724,4244,4432,3530,2318,2503,2186,1835,1868,1676,1844,2299,2496,2459,2264,2143,1810,1875,1824,1759,1849,1890,1660,1352,1441,1448,1354,1452,1679,1779,1604,1700,1802,1742,2743,2743,2514,2708,2625,2172,1640,1527,1432,1651,1467,1492,1632,1556,1387,1361,1547,1683,1824,2046,1944,2165,2070,1417,1401,1290,1354,1519,1764,1716,1591,1795,1668,1510,2219,2181,2161,1756,1853,2386,2574,2503,2332,2290,2316,2013,2076,2653,3060,3096,2543,2315,1874,2040,2354,1990,2131,2399,2078,2357,2896,2755,3062,2807,2912,2575,2473,2655,2972,3016,2763,3034,3322,2736,2764,3317,2798,3948,3688,3968,3616,4143,4832,4533,3572,2451,2164,2599,3352,3592,4052,3381,3564,3266,2745,2165,1958,2426,2482,2197,2464,2906,3022,2943,3320,3266,3368,2840,3316,3432,2451,1643,2103,2711,2826,2693,2657,2806,2472,2222,2314,1920,2300,3218,3460,2875,2353,2183,2472,2413,2054,2305,2736,2774,2807,2750,2551,2623,2772,2678,3068,3144,2812,2654,2076,2388,2422,2251,2348,2385,1804,1985,2740,2600,2382,2714,2622,2498,2576,2582,2873,2831,2030,1961,1738,1715,2618,2600,2189,1845,1780,2566,3103,2952,2676,3238,3904,3697,3009,3256,2883,2761,3076,3118,2459,1920,2511,2871,2612,2457,2288,2057,2191,2596,2490,2422,1994,1874,1726,1759,2025,1707,1367,1837,2096,1725,1680,2466,2674,1897,2679,3240,2334,1775,2630,3576,3848,3637,3662,3885,4072,4456,4452,4532,4190,3611,3721,3974,3902,3741,3444,3172,2865,2851,3096,3402,3703,2871,2066,2534,2564,2142,1896,1791,1992,2044,1850,2172,2366,2429,2308,2405,2238,1749,1686,1860,2196,2546,2815,2642,2492,2409,2471,2530,2531,3112,3567,3637,3234,2547,2076,2042,2212,3144,3688,4201,4288,3451,3366,2897,2737,3421,3475,3004,2776,2699,3078,3053,3382,3305,2781,2282,2282,2316,2294,2375,2415,2409,2377,2197,2424,3363,2979,2376,2165,1609,1259,1447,1526,1310,1171,1030,904,1073,1901,2524,2675,2640,2281,2038,1710,1761,2049,1756,1618,2001,2047,2183,2170,2663,2249,2191,2398,2240,2643,2810,2583,2674,2722,2445,2663,3270,3475,3331,2887,2656,2589,2661,2840,2864,2578,2378,2490,2791,2570,2359,2340,2224,2313,2758,2800,2868,2581,2158,2098,2194,2139,2064,2254,1920,1829,1907,1987,2128,2442,2689,2946,3233,3361,3250,3382,2950,2007,1967,2166,2154,2171,2029,2059,2168,2450,2778,2932,3281,3771,3651,3580,3799,3332,3538,4284,4431,3896,3358,3230,3286,3284,3437,3582,3491,3355,3388,3316,3175,3231,3273,3918,3937,3500,2797,2299,2057,2209,2252,1870,1507,1670,2150,2242,2614,2962,2230,2048,2550,3194,3939,4554,3665,2129,1946,2150,2447,2027,1790,1614,1545,1563,1616,2086,2222,2424,2526,2632,2850,2795,2410,2109,2634,3120,3072,3056,2972,2395,2073,2469,2740,2532,2044,1698,1952,2592,2865,3001,2720,2109,1507,1573,1831,1996,2055,2271,2522,1938,1670,1750,2236,2764,2637,2300,2041,1859,2116,2246,1999,1895,2204,2171,2072,2226,2811,2641,2136,1919,1684,1458,1373,1443,2152,2430,1863,2218,2329,2337,2381,2272,1985,2093,2089,2029,1775,1770,2333,2668,2245,2374,3078,3174,1908,2136,2653,2407,2062,1839,1721,1920,2297,1860,1991,3130,2697,2348,1804,2069,2172,2516,2654,2769,2932,2494,1959,1944,2083,1814,2278,2952,3248,2886,2123,2287,2518,2268,2208,2320,2518,2688,2675,1939,2279,2093,1710,1882,2067,1712,1558,1515,1771,1850,2156,2279,2645,3486,2656,1904,2359,2865,2431,1428,1570,1466,1513,2250,2810,3372,3667,3696,3767,4070,4184,4260,4508,4597,4292,3925,3859,3784,3331,3207,3311,3218,3294,3327,3204,3144,3110,3177,3164,2915,2775,3175,3283,3145,3306,3362,3298,3276,3305,3399,3419,3820,3915,3872,4299,4756,4776,4803,4847,4637,4308,3991,2533,2026,2335,2187,2032,2080,2254,2662,2941,2437,2234,2511,2741,2681,2580,2751,3018,2740,2274,2332,3272,3952,3409,3019,2758,2386,2834,2546,2159,2160,2443,2181,2460,3208,3287,3272,3241,3326,2630,2473,2467,2612,2799,2579,2167,1880,2354,3365,3449,2099,1912,2085,2096,2551,2810,2693,2145,2082,2261,1932,1401,1224,1467,1546,1834,2330,2864,3304,3017,2626,2179,1730,1459,1824,1919,1322,1637,2051,1961,2126,1952,1674,1984,2096,2050,1834,2017,2436,2908,2957,2106,1879,3060,3785,3807,3660,2380,1788,1994,1948,2241,2878,2668,1924,1792,2339,2696,2063,2374,2576,2648,2332,1763,1533,1798,1780,1414,1293,1995,2157,1988,1871,1998,2045,2030,2106,1727,1561,1793,1816,1647,1818,2085,2093,1970,1945,2242,2108,1887,2007,2247,2398,2372,2013,1937,2228,2465,2552,2453,2654,2213,2017,2220,2519,2766,2329,2213,2576,2042,2085,2374,2383,2285,2351,1995,2204,2316,2106,1993,1992,2280,2728,2529,2199,1818,1755,1909,2162,3201,2626,2207,1885,1992,2711,3238,2890,2767,3154,3587,3466,3504,3426,3132,3100,3039,3162,3177,3186,3500,3596,3275,3008,2990,2150,2100,1891,1408,1787,2235,1945,1647,1351,1241,2166,3002,2702,2207,2576,3299,2159,1657,1166,987,1221,1666,1952,1502,1644,1824,1612,1569,1474,1643,1786,1810,2481,2430,2324,2559,2408,2728,2525,1880,1859,2049,2230,2652,2667,2159,1868,1833,1642,1417,2058,2769,2712,2396,2176,2504,2388,1681,2202,2366,2299,2126,2046,2176,2435,2191,2006,2386,2603,2559,2374,2303,2375,2307,2306,2490,2070,2155,2358,2243,2259,2766,2942,2364,1964,1953,2368],[2113,2539,2808,3103,3063,2867,2958,2850,2258,2374,2670,2354,2080,2230,2348,2456,2427,2855,3023,3218,3356,3305,2619,2090,2221,2327,2466,2476,2565,2668,3221,3443,3452,3420,3417,3220,3088,3361,3318,2711,2746,3464,3341,3254,3538,3596,3720,3565,2684,2608,2491,2314,2405,2921,3082,2797,2688,2793,2868,2568,3150,3639,2972,2886,3442,3252,3131,3522,3642,3436,3016,2697,2756,2768,2883,2814,2736,2518,2288,2203,2278,2757,3083,2965,2976,2809,2645,3154,2558,3019,3994,3919,3514,3289,3232,3174,3062,3387,3520,3335,3397,3051,3327,3675,3934,4232,4355,4128,3112,2499,2490,2455,2362,2374,2742,3636,4229,4172,3498,3874,4102,3917,3090,2460,2166,1813,2211,2542,1960,1714,1960,2093,2402,2666,3306,3139,2082,1619,1693,1989,2445,2080,1651,1956,2341,2608,3300,3248,2881,2642,2358,2261,1785,1725,2024,2347,2832,3162,3056,2434,2745,2764,2630,2588,2409,2101,2056,2232,2007,1679,1608,1203,1770,1744,1906,2918,2749,2403,2684,2735,2261,1959,2543,2741,2300,2500,2045,2080,2271,2139,2027,2411,2645,2529,2476,2536,2614,2655,2898,2751,1866,1432,1605,1610,1834,1979,1816,1779,2090,2011,1861,2284,2910,3196,3253,3220,2413,2153,2600,3141,3286,3415,3461,3874,3776,3396,2997,2931,3033,3572,3981,4212,3776,3174,3045,3186,3456,3444,3464,3354,3105,3227,3444,2735,1814,1515,1659,2276,2518,2560,2703,2691,2521,2225,2235,2935,2620,1786,1848,2677,2946,2806,2866,2340,1944,2382,2626,2586,2465,2266,2241,2310,1794,1790,1849,1764,2292,2381,1846,1482,1815,2069,2524,2514,2251,2293,2099,2028,1721,1839,2530,2442,1814,1966,2067,1897,1784,2225,2319,2171,2062,1992,2151,2262,2286,2958,3130,2409,1782,1893,1808,1668,1843,1870,1787,1690,2038,1951,1782,1795,1704,1981,2559,2407,1924,1734,2221,2230,2624,2340,2142,2575,2950,2589,2465,2431,2325,2400,2089,1980,1819,1596,1738,2365,2136,2175,2191,2625,2930,2775,2575,2386,2487,2364,2390,2171,2244,2447,2462,2466,2635,2148,1237,1132,1828,2575,3104,3327,2843,2037,2094,2150,2150,1694,1623,1654,1473,1690,2210,2512,2497,2042,1651,1690,2194,1668,1442,2205,2431,2048,1886,1896,1884,2156,2237,2224,2045,1944,2083,2708,2808,3757,4300,3721,2828,2560,2711,2814,2630,2740,2908,2916,2943,2720,2888,2147,1360,1488,1738,1885,2105,1669,2293,2767,2578,2585,2212,2490,2504,2167,2083,1902,1832,1976,2017,1896,1697,1624,1790,1801,1998,2008,1941,2353,2472,2261,2409,2284,2384,2443,2098,1625,2331,2171,1880,1852,1830,2391,2369,2095,2529,2836,3110,2868,1901,1654,2171,1908,1691,1399,1673,2080,2013,2047,2202,2437,2643,2585,2588,2024,1919,2580,2587,2315,1837,2052,2224,2710,3615,3640,2751,1930,2499,2426,2295,2287,2142,1998,1994,2145,2237,2143,2523,2622,2214,2018,2348,2431,2451,1999,2476,3274,3523,3404,3220,2433,1924,1699,1316,1400,2091,2128,2086,1843,1880,2453,3384,3617,3052,2795,2877,3060,3032,2579,2772,2405,2263,2270,1713,2042,2282,3154,3859,3535,3320,3115,3089,3329,3186,3098,3212,2849,2523,2205,2655,3429,3372,2588,2412,2906,2975,2917,3111,2864,2588,2910,2932,2474,2852,2975,2692,2727,2850,3173,3149,2806,3300,3306,3509,2754,2987,3470,3698,3763,3765,3773,3548,3126,2631,2751,2734,2786,2753,2590,3005,2915,3000,3493,3050,2329,2185,2576,3061,3041,2628,2625,2709,2976,3536,3518,2971,2168,1722,1802,2275,2378,2342,3330,4432,4153,3342,2988,2944,2342,1861,2623,3008,3168,3138,2940,3389,3631,3263,3241,2790,2845,2823,2612,2199,2206,2724,2656,2697,3029,2872,3003,2811,3015,3617,3156,2568,2690,3228,3542,3647,2770,2237,3052,4253,4128,3728,2927,2426,2511,2585,2250,2102,2534,2200,1802,1945,2168,2736,2901,2812,2833,2510,2750,2770,2520,2532,3038,3112,3212,3226,2649,2368,2842,2698,2989,2989,2649,3310,3350,2937,3087,3155,3127,2974,2565,2289,2460,2608,2175,2260,2959,2596,2404,2576,2080,2924,3265,2575,2364,2475,3194,2422,2139,2365,3504,3499,2542,2577,2426,2207,2644,2446,1989,2767,3531,3040,3283,3964,4176,4283,3952,2994,2597,2522,2733,2149,1876,2355,1920,2131,1864,2261,3123,3949,4078,4220,3143,2243,2223,2080,2191,1991,1613,1767,2235,2340,2193,2142,2281,1811,1762,1566,1450,1959,2296,1741,1229,1285,1224,1377,1361,1449,1437,1509,1514,1329,1720,2221,2285,2484,2813,2791,2020,1583,1398,1319,1412,1360,1375,1498,1497,1373,1582,1586,1462,1635,1919,1574,1555,1810,1801,1502,1454,1903,2287,2177,1729,1525,1754,1618,1804,2456,2277,2113,1970,1929,2192,2343,2048,1727,1488,1636,1736,2189,3166,3724,3717,2988,2552,1897,1441,1404,1419,1923,2199,2077,2579,2995,2458,3095,3050,2911,2679,2779,2906,2778,2989,2775,2696,3295,2945,2956,2740,3147,3760,3629,3972,3963,4616,4828,3848,3296,3142,2936,3029,3076,2625,1999,1887,2365,2007,2009,2258,2422,2823,2968,2854,2480,2303,2727,3128,2954,3185,3252,2561,2929,3378,3012,2570,2671,2598,2631,3000,3018,3106,2654,2381,2739,2534,2931,3629,3441,2768,2251,2473,2347,1980,1877,2202,2750,2698,2887,2753,3129,3265,2792,2520,2814,3306,3045,2159,1615,2365,2603,2283,2008,1691,1741,2308,2607,2524,2265,2521,2842,2893,2907,2799,2687,2128,2554,2453,1786,1801,2555,2774,2790,2216,1937,2718,3309,2958,2569,3338,3830,3608,2997,3495,3184,2683,2986,3328,3093,2087,2215,2156,1955,2317,2211,2392,2805,2873,2786,2414,1938,1736,1612,1700,1769,1525,1283,2005,2122,1666,1498,2062,2532,1859,1846,2126,1252,1141,2386,3496,3526,3308,3438,3601,3833,4102,4084,4156,3792,3352,3581,3986,4629,4554,3793,3418,3387,2857,3096,3365,3083,2333,1906,2098,2237,1890,1411,1171,1520,1420,1692,2556,2892,2453,2120,2372,2288,2244,2080,1908,2076,2522,3219,2475,2241,2356,2787,2740,2435,2267,2077,2108,2687,2646,2863,3019,2405,2008,2333,3165,3664,3240,2856,2640,2768,3291,3155,2963,2580,2502,2986,3177,3293,3182,2049,1447,2245,2878,3037,3277,3277,3116,3054,3495,3795,3981,3606,2855,1926,1420,1782,1963,1584,1387,1437,1099,1193,2029,3142,2670,2842,2611,2122,1832,1657,1923,2016,1279,1769,2396,2360,2725,2608,1943,1562,1796,1718,1767,2255,2129,2110,2581,2577,2541,3106,3570,3513,3420,2973,2831,2740,2500,2766,2919,2727,2507,2668,3163,2658,2360,2156,2329,2624,2762,3035,3368,2989,2348,2188,2337,2419,2222,2329,2079,1906,2164,2286,2731,3294,2946,2148,2261,2957,2925,2796,2841,2474,2332,2686,2801,2269,1967,1904,1964,2039,2391,2982,3467,3696,3772,3742,3297,2689,2819,3869,4495,4272,3460,3318,3449,3294,3543,3659,3534,3536,3773,3501,3319,3583,3747,4002,4091,3638,2961,2621,2688,2577,2388,2092,1747,1754,2039,2010,2663,3639,3326,3208,3554,3559,4223,4429,2721,1851,1952,2020,1767,1500,1463,1567,1555,1500,1598,1598,1942,2542,2308,2417,2387,2577,2712,2335,2665,3060,2779,2750,2875,2335,2228,2292,2234,1979,1770,1858,2584,2805,2790,2708,2551,2075,1641,1796,1764,1949,2264,2727,2555,2015,2149,2097,2091,2469,2211,1779,1665,1851,2385,2656,2264,1808,2482,2356,2029,1979,2196,2083,1761,1616,1416,1255,1314,1290,1567,1904,1729,1932,1943,2034,2194,2053,2024,2037,2128,2108,1653,1968,2625,2440,1944,2727,3334,2899,2036,2322,2574,2227,2007,1905,2044,2293,2355,1503,1224,2125,2422,2600,2375,2744,2815,2394,1969,2040,2454,2387,2372,2069,2145,1958,2742,3333,2988,2680,2518,2648,2383,1909,1904,2248,2401,2295,2166,1649,2235,2138,1800,2392,2135,1608,1589,1814,1833,1878,2358,2056,2267,2781,2342,1748,1972,2668,2646,2059,2013,1969,1741,2119,2317,2486,3332,3474,3420,3537,3250,3459,4324,4254,3660,3470,3565,3551,3271,3342,3317,3328,3551,3596,3394,3220,3138,2966,2821,2930,2924,3086,3131,3107,3156,3171,3266,3262,3270,3327,3281,3504,3881,3949,4188,4464,4528,4596,4784,4757,4264,3153,1958,2025,2435,2255,2148,2322,3072,3234,3082,2879,2633,2398,2925,2798,2391,2854,3311,3051,2619,2592,2707,2954,2666,3022,2519,2416,2786,2495,1970,2088,2223,2359,3083,3096,2881,3186,3557,3286,2402,2836,2756,2402,2618,2937,2582,2424,2921,3330,3449,2387,2216,2027,1945,2270,2427,2513,2510,2552,2585,2250,1831,1738,1916,1894,1872,2601,2712,2866,3220,3020,2208,1569,1249,1647,2055,1575,1750,2299,2461,2358,2332,1959,2069,2093,1960,1979,1887,2469,2847,2669,2526,2447,3508,3948,3906,3887,2702,1979,2053,1911,2233,2931,2774,2311,2295,2420,1936,2014,2359,2558,2426,2210,1978,1760,2005,1929,1485,1435,2156,2059,1986,1888,2231,2326,2173,2424,2186,1568,1737,2328,2225,2055,2005,2102,2073,1894,1952,1900,1614,1726,2311,2548,2387,2004,2255,2206,2048,2241,2780,3164,2756,2302,2338,2498,2752,2880,2852,2687,1814,2002,1865,1764,1739,1890,1953,1932,2013,1921,1875,2072,2503,2813,2224,2558,2322,2095,1677,1914,2407,2910,2577,1841,2171,2780,3282,2996,3042,3486,3426,3161,3209,3129,3304,3442,3365,3453,3354,3408,3395,3281,3393,2974,2754,2556,2569,2128,1792,1942,1952,1807,1729,1276,1149,2099,3029,3318,2757,2143,2134,2070,1984,1476,1411,1930,2214,1719,963,1602,1869,2415,2127,1688,1619,1713,1904,2621,2511,2392,2317,2741,3485,2951,2053,1816,1961,1970,2474,2678,2642,2344,2044,2353,2541,2433,2730,2653,2259,2312,2680,2355,2097,2245,2258,2294,2273,1909,1793,2097,1901,1713,2264,2474,2331,2134,2544,2611,2154,2109,2308,1738,1552,1726,1941,1997,2491,2814,2867,2501,2387,2419],[2238,2691,3008,3073,3362,2852,2524,2764,2885,2911,2789,2412,2354,2521,2504,2675,2998,3186,2916,2890,2906,2835,2004,2048,2597,2375,2287,2348,2896,3298,3346,3603,3626,3450,3511,3594,3650,3684,3350,2687,2670,3377,3518,3574,3562,3510,3528,3204,2699,2746,2817,2503,2170,2396,2354,2294,2500,2643,2454,2351,2931,3466,3300,3343,3927,3942,3736,3772,3574,3542,3272,2910,2667,2672,2922,2957,2808,2398,2359,2364,2505,2946,2987,3049,3109,2855,3322,3739,3076,2917,2801,2439,2500,2966,3262,3404,3386,3570,3908,4192,4113,4017,4156,4256,4282,4176,3682,3196,2874,2601,2343,2509,2780,2758,2946,3687,3676,3579,3552,3992,4163,3830,3002,2381,2072,1934,2308,2130,1917,2045,2200,1977,1755,2396,3363,3275,2281,1758,1968,2043,2276,1957,1786,1970,2421,2545,2989,3172,2944,2799,2645,1861,1652,2193,2088,2380,2546,2736,2770,2822,3306,2964,2775,2636,2316,2125,2094,2210,2080,2252,2136,1698,2178,2344,2632,2983,2449,2500,2751,2320,2215,1831,2040,2062,2022,2019,1826,1970,1992,2116,2515,2989,3117,3032,3054,2677,2706,3008,3009,2529,1732,1493,1860,1835,2100,2294,1686,1803,2188,1955,1799,2352,2685,2791,3519,3552,2677,2253,2510,2965,3441,3359,3071,3484,3443,3066,2579,2813,2626,2975,3724,3738,3370,3233,3066,3475,3797,3571,3542,3136,3049,3526,3480,2084,1260,1737,2176,2099,2119,2342,2544,2379,2171,2205,2362,3039,3116,2153,1283,2061,2956,3018,2856,2369,2242,2814,3002,2901,2823,2664,2664,2131,1633,1697,2021,2152,2180,2243,2200,2188,2246,1850,2165,2737,2385,2368,2520,2271,1511,1629,2348,2178,2163,2287,1888,1571,1917,2118,1918,2158,2066,2142,2201,2083,2106,2327,2692,2215,1652,1783,1787,1773,1894,1898,1914,1968,1884,1653,1660,1660,1671,2194,2600,2455,2170,1852,2666,2945,3294,2918,2139,2113,2297,2221,2306,2014,1970,2248,2148,2288,2351,2202,2238,2384,2635,2743,2810,3426,3604,2965,2600,2987,2752,2534,2492,2099,2068,2248,2430,2359,2182,1772,1406,1493,1716,1882,2056,2584,2540,2062,2046,2179,2010,1913,2048,2093,2350,2420,2514,2160,2042,1714,1722,2111,2170,1923,2055,2010,2097,2016,1931,2328,2365,2257,2123,1989,2216,2212,2588,3072,3182,3458,3482,2952,2432,2546,2750,3519,3011,2465,2414,2928,3181,2905,2608,2081,1345,1391,1983,2495,2798,1930,1905,2552,2712,2702,2653,3184,3166,2698,2403,2163,2035,2009,2068,2210,1876,1715,2035,2083,2006,1881,2030,2452,2452,2589,3131,2741,2689,2725,2487,2414,2919,2757,2230,2072,1938,2246,2460,2023,2388,2884,3006,2758,1830,2224,2732,2072,1679,1475,1560,1959,2050,2100,2361,2523,2728,2908,2768,2154,2265,2598,2492,2208,1653,1645,1876,2402,3673,4156,3122,2410,3046,2420,2168,2410,2597,2566,2106,2002,2454,2134,2232,2133,1998,1985,2532,3205,3042,2533,2303,2486,2596,2460,2309,2216,1716,1439,1452,1828,2332,2487,2131,2169,2066,2216,2481,2507,2543,2263,2159,2474,2548,2376,2410,2499,2934,2876,2669,2461,2344,3250,3731,3710,3473,3144,3002,3326,3404,3356,3458,3228,2774,2534,3146,3736,3400,2753,2762,3318,3222,2905,2876,2504,2110,2708,2618,2263,2831,2693,2498,2900,3209,3416,3352,3061,3347,3518,3183,2777,3211,3626,3763,3595,3472,3540,3718,3373,2558,2580,2722,2800,2806,2677,3086,2916,2720,3211,3096,2578,2531,2937,3348,3422,2634,2701,2562,2066,2792,3474,2950,2029,1756,2144,2302,1897,2180,3242,3962,3970,3861,2986,2932,2464,2526,2775,2430,3047,3002,2532,3020,3160,3570,4204,3708,3496,3640,3716,3110,3194,4091,4046,3749,3894,3033,2590,2187,2166,3385,3007,2576,3327,4041,3829,3106,3208,3300,3207,4204,3674,3555,2994,2678,2389,2054,1868,2194,2556,2110,2081,2492,2602,2884,3022,2783,2962,2974,2598,2740,2591,2566,3052,3514,3716,3629,3388,3023,3161,2814,2789,2602,2918,3527,3504,3444,3153,2706,2828,2966,2498,2028,2288,2520,2323,2387,2612,2695,2585,2432,2302,3084,3728,2895,2422,2940,3489,2844,2375,2568,3603,3194,2400,2347,2017,1676,2322,2293,2254,2470,2757,2341,3514,3796,3851,4086,3426,2679,2399,2104,2218,2135,1660,2003,1792,2698,2378,2733,3427,3095,3103,3560,2771,2104,1931,2032,2317,1951,2030,2657,2729,2398,2302,2390,2152,1646,1628,1736,2229,3068,3547,2589,1879,2033,1864,1950,1856,1956,1902,1878,1846,1606,1749,1897,2169,2504,2508,2208,1681,1338,1302,1366,1302,1394,1546,1811,1888,1461,1644,1591,1486,1708,1766,1555,1397,1523,1440,1631,2287,2158,1986,1964,1562,1530,1514,1597,2015,2424,2134,1914,2237,2122,1942,2151,1901,1606,1487,1578,1806,2183,3044,3374,3454,3107,2492,1728,1711,1867,1789,1953,2121,2174,2766,2944,2439,2885,2768,2619,2577,2727,3111,2788,2778,2880,2277,2995,3023,2799,2540,3304,3830,3667,3507,3686,4465,4184,3081,2244,2710,3160,2709,2578,2289,2000,2394,2604,2509,2841,3134,3256,3382,3354,3144,2976,2752,2498,2455,2712,3232,2622,2388,3078,3356,3392,2885,2997,3022,3332,3081,2938,3373,3006,2965,3310,3151,2843,2597,2260,2482,2301,2219,2170,2054,2056,1984,2163,1981,2175,2675,3310,3431,2955,2475,2453,2854,2840,2411,2211,2766,2929,2150,1578,1604,1872,2305,2608,2571,2360,2507,2859,2541,2636,2501,2084,2257,2786,2664,2304,2403,2622,2603,2814,2386,2513,2545,2690,2377,2342,2917,3508,3497,2832,2997,3062,2625,2740,2909,2907,2229,2486,2373,2713,2563,1998,2215,2096,2202,2999,2676,2123,1832,1689,1610,1486,1501,1542,1772,2023,2180,2056,2094,2228,1776,1706,1670,1093,893,1948,3259,3545,3440,3160,3172,3662,4056,4056,4034,3582,3569,3854,4444,4759,4580,3647,3429,3436,2518,2547,2760,2152,1838,1722,1851,2163,1537,1313,1714,2189,1963,2425,3149,3670,3620,3056,2951,3075,2990,2690,2546,2188,2265,2457,2123,1984,1887,1888,2126,2342,2219,1932,1541,1772,2241,2788,3326,3394,3122,2429,2711,3050,2720,2722,2677,2664,2800,2800,2939,2744,2724,2896,3451,3526,3211,2366,2446,3584,4200,4232,4336,4285,3895,3595,3418,3436,3631,3724,2963,1824,1835,2411,2092,1368,1411,1937,1855,2396,2883,3004,2779,2748,2237,1666,1830,1856,2144,1917,1356,2344,2561,2351,2224,2071,1859,1776,1683,1786,2592,2783,2256,2442,2531,2298,2307,2465,2928,3385,3499,3487,3449,2592,2181,3256,3532,3191,2532,2779,2900,2755,2339,1812,2396,2791,3012,3118,3194,3365,3147,2763,2924,2721,2025,2212,2324,2078,2235,2643,3200,3495,3123,2012,1514,1967,2112,1808,2266,2807,3105,3392,3332,2942,2210,1506,1595,1792,2002,2586,3143,3491,4030,4121,3486,2812,2553,3309,4271,3964,3187,3375,3536,3484,3806,3672,3723,4034,3956,3697,3627,3664,3591,3603,3704,3494,2905,3074,3160,2722,2806,2863,2251,2044,2374,2589,3193,3814,3640,3459,3599,3723,3957,3143,2518,1917,1491,1735,1598,1473,1424,1456,1425,1447,1703,1685,1899,2065,2152,2802,2920,2732,2523,2152,2088,2701,2864,2462,2562,2178,1830,1850,1958,1842,2334,2656,2450,2040,2271,2365,2430,2133,1902,2109,1801,1814,2381,2876,2575,2115,1960,1713,1686,2093,2261,1936,1521,1674,2051,2495,2541,2410,2752,2336,1820,1808,1879,1923,1959,1872,1694,1722,1664,1175,1749,2189,1931,1942,2042,1954,1901,2003,2269,2404,2385,2024,2145,2784,2612,1596,1535,2625,3164,2703,2365,2474,2100,1860,1859,1903,2452,2332,2173,1906,1518,1588,1819,2179,2581,2821,2540,1870,1702,1905,2265,2299,2532,2439,2291,2082,2611,2880,2640,2534,2664,2453,2508,2414,2470,2668,2591,2641,2441,2218,2693,2266,1848,1844,1571,1694,2159,2198,2378,2697,2244,2008,1732,1829,1916,1611,1621,2136,2468,2522,2248,2100,2132,2184,2175,2362,2980,3082,3331,3570,3317,3506,3661,3506,3430,3466,3481,3505,3391,3405,3524,3846,3981,3784,3464,3284,3198,3083,3156,3319,3058,3020,3199,3064,3010,3124,3307,3357,3317,3320,3432,3576,4004,3936,3874,3962,4102,4175,4251,5169,5148,2579,1680,2576,2809,2277,2540,3139,3548,3183,3036,3211,3032,2459,2634,3249,3309,2831,2843,3032,2750,2485,2199,2048,2710,3630,3061,2918,2953,2354,2039,1896,2278,2699,3096,2622,2807,2971,2982,3076,2939,3143,2902,2614,3046,3230,3119,3527,3559,2787,3034,2284,1912,2003,1854,1853,1981,2489,2940,2895,2833,2137,1026,895,1399,1759,2143,2958,2894,2565,2364,2274,1942,1656,1659,1882,2091,1852,1695,1729,1942,2076,2072,1815,2077,2384,2273,2104,1885,2366,2711,2188,2282,2250,3232,3884,3832,3903,3103,2160,2350,2546,1847,1871,1870,2065,1946,1951,1805,1968,2743,3099,2304,2124,2408,2064,2447,2674,1743,2119,2357,1879,1777,1983,2214,2128,2300,2691,2328,1700,2098,2442,2276,2093,2596,2446,1949,1937,2074,2076,1978,2036,2625,2458,2205,2495,2420,1704,1663,2410,3017,3087,2610,2520,2708,2546,2431,2641,2852,2479,1714,1833,1725,1668,1598,1952,2631,2556,2401,1902,1737,2061,2734,2614,2714,3024,2467,2004,1823,2127,2663,2988,2455,1870,2056,2567,2895,2901,2850,3097,3090,2901,2995,3042,3278,3492,3306,3285,3397,3334,3087,3250,3629,3189,2626,2236,2334,2376,1825,1685,1678,1622,1488,1220,1564,1958,2858,3206,3223,2688,2058,1857,1785,1903,2307,2510,2259,2204,1696,1821,2100,2609,2038,1619,1590,1940,2274,2147,2188,2292,2458,3354,3571,3240,2418,1880,1980,2280,2456,2644,2777,2421,2119,2698,2938,2468,2568,2530,1929,2078,2354,1963,2189,2386,2185,2312,2542,2562,2561,2979,2874,2460,2927,3533,3371,3326,2834,2331,2157,2095,2172,1734,1540,1350,1852,1837,2173,2166,2120,2484,2952,2720],[2301,2679,2963,3043,3364,3152,2655,2708,2885,3032,3145,2758,2723,2578,2446,2557,2731,2695,2503,2267,2543,2878,2371,2370,2229,2104,2131,2663,3296,3431,3492,3614,3564,3558,3612,3685,3608,3493,3404,3405,3331,3583,3837,3541,3096,3235,3653,3452,3029,3229,3164,2907,2415,2308,2622,2613,2612,2668,3389,3198,2802,3526,3826,3829,3492,3086,3016,3018,3109,3149,2950,2858,2642,2680,2386,2238,2355,2567,2790,2423,2437,2503,2441,3027,3542,3552,3481,3178,3171,3042,2437,1949,2154,3183,3516,3927,4034,4172,4512,4800,4700,4500,4413,4232,4057,3617,2740,2556,2409,1768,1803,2432,3011,2982,3494,3406,2523,2754,3841,4280,3820,3094,2635,2434,2166,1727,1969,2190,2287,2103,2106,1992,1852,2403,3078,3151,2321,1918,2048,1927,2132,2286,1858,2035,2807,2708,2659,3146,3066,2978,2862,2341,2746,2956,3112,3111,2385,2459,2396,2573,2909,2823,2857,2807,2829,2526,2098,1969,2018,2253,2053,1671,2160,2403,2580,2670,2415,3056,3333,2808,2166,1814,1762,1680,2025,1945,1991,2229,2470,2796,2950,3099,3138,3053,3064,2775,2774,2841,2728,2190,1709,1764,2097,2221,2850,3061,1824,1871,2022,1979,2169,2218,2169,2416,3039,3505,3107,2496,2596,2402,2442,2533,3038,3222,2852,2587,2875,3054,3148,3401,3506,3260,3186,3441,3643,3784,3508,3175,3199,3194,3096,3440,3103,1970,1574,2146,2208,2099,2250,2115,2198,2055,1986,2382,2583,2683,2855,2089,1129,1972,3260,3234,3119,3042,3250,3037,2958,2941,2896,2980,2808,2578,2189,1647,1782,1916,1955,2049,2194,2329,1845,1980,1753,2046,2487,2342,2722,3208,2429,2336,2352,2060,2274,2088,1622,1578,1731,1764,2173,2410,2248,2157,1970,1883,1643,1817,2286,1907,1697,1882,1898,1714,1638,1619,1728,1829,1596,1407,1451,1692,1558,2046,2208,2348,2427,2008,2590,2806,2896,2954,2505,2585,2524,2242,2171,1985,1753,1902,1880,2226,2555,2461,2448,2439,2480,2883,3241,3341,3454,3204,2499,3231,2774,2253,1589,1761,2403,2805,3418,3082,2047,1895,2110,2054,1820,1938,1909,2061,1762,1505,2048,2469,2129,2086,2337,2447,2724,2254,2154,1936,1934,1846,1862,2216,2014,2109,2018,1675,1954,2098,2023,2508,2730,2149,1782,1866,1958,2036,2554,3187,3208,2786,2337,2271,2144,2329,2522,3211,2933,2579,2525,3021,3144,2509,2302,2095,1441,1361,2154,3036,3138,2292,2117,2460,2578,2445,2314,2173,1997,2128,2353,2366,2220,1909,1857,2246,2334,2010,2019,2244,2314,1987,2276,2524,2796,3388,3767,3240,2543,2163,2210,2852,3155,2797,2442,2407,2100,2402,3018,2819,2435,2923,3079,2898,2304,2862,3107,2324,1761,1502,1372,1965,2356,2109,2330,2243,2444,2517,2484,2137,2144,2220,2229,2593,2269,1693,1859,2258,3277,4041,3786,3543,3177,2774,2911,3294,3231,2563,1882,1885,2265,1791,1983,2012,1679,1452,2411,3520,3248,2595,2205,2186,2415,2412,2350,2052,1261,1433,1859,2071,2237,2141,2061,2179,2082,2307,2377,2373,2138,2147,1975,2178,2417,2469,2380,3068,3262,3145,3411,3226,3208,3859,3655,3581,3411,3540,3386,3454,3563,3519,3484,3227,2649,2244,2441,2900,3137,2846,2701,3019,2805,2509,2798,3240,2930,2817,2541,2355,2777,2341,2329,3044,3119,3251,3055,2779,3193,3165,2810,3174,3566,3708,3929,3351,2987,3396,3786,3110,3095,2931,3186,3476,3082,3063,3326,3019,2790,3086,3143,3430,3384,2872,2354,2714,3001,3086,2632,2358,2699,3040,2718,1875,1899,2128,1857,2029,2681,2974,3218,3161,3326,3274,3117,2899,3817,3777,2496,2645,2541,2324,2828,2804,3335,3717,3486,3341,3549,3603,3377,3610,3850,4132,3991,3670,2591,2214,2132,2094,3204,3064,2951,3992,4057,3159,2918,4133,4309,3562,3544,3754,3684,2679,2466,1941,1389,1999,2558,2713,2282,2564,2710,2608,2824,2983,2611,2677,2983,2556,2490,2380,2492,3165,3340,3682,3783,3758,3563,3519,3538,3334,3256,3458,3407,3259,3380,3242,3244,3262,2895,2270,2417,2674,2344,2183,2549,2724,2622,2437,2292,2351,2651,2769,2488,2547,3028,3115,3008,2557,3033,3799,3228,2256,2602,2219,1649,2468,2061,1817,2051,2019,2438,3450,3563,3817,4164,3940,3254,2707,1830,1927,1837,1316,1434,1924,2781,2405,2357,2922,3287,3723,3296,2310,2003,1798,2204,2301,1861,2346,3060,2872,2389,2224,2191,1929,1688,1809,2243,3544,3906,4101,2942,2076,1971,1774,1780,1858,1949,1921,1930,2085,1890,1852,2154,2285,2901,2419,1664,1386,1345,1438,1372,1295,1337,1381,1562,1627,1392,1709,1903,1738,1652,1825,1833,1698,1661,1593,1810,2281,2080,1852,1857,1507,1502,1444,1632,1786,1728,1638,1879,2282,2248,1932,2316,1669,1703,1744,1897,1960,2427,3543,3961,3640,3398,3122,2513,2556,2283,2071,2408,2373,2612,3112,2613,2596,3271,2995,2836,2710,2844,2846,2853,2702,2919,2585,3410,3530,3006,2801,3096,3177,3332,3816,3860,3161,2654,2093,1965,2504,2111,1830,2437,2806,2795,3024,3214,3158,3509,3381,3364,3321,3233,3249,3151,3176,3138,2697,2697,2569,2065,2496,2981,3234,3152,2498,2623,2392,2558,2352,2416,2796,2461,2266,2721,2883,2556,2644,2841,2583,2404,2513,2424,2275,2294,2370,2480,2454,2563,2958,3448,3277,2406,2251,2878,3018,3191,3116,3140,3349,2835,1878,1511,1635,1760,2361,2723,2557,2600,2489,2769,2238,2274,2537,2280,2468,2710,2556,2460,2500,2429,2618,2642,2570,2602,2658,2343,2464,2903,2525,2491,2645,2650,2734,2442,2567,2775,3060,3240,2183,2213,2392,2564,2691,2212,1990,2172,2213,2884,2843,2284,1781,1626,1492,1399,1409,1517,1662,1859,1902,1984,1832,2217,1853,1806,2438,2187,1792,2367,3140,3573,3428,3140,3039,3452,4026,4045,4280,4174,3977,4152,4673,4648,4683,4379,4144,3647,3000,3212,3395,2736,2131,1892,1790,2251,1690,1555,2210,2685,2608,2920,3526,4080,4229,4071,3792,4157,4411,4189,3764,2997,2548,2083,2196,2308,1678,1389,1361,2019,2224,2285,1731,2385,2902,2529,2239,2547,3085,3282,3353,3008,2805,2746,2630,2574,2477,2680,2895,2938,2908,3088,3520,3633,3168,3222,3843,4056,4155,4056,3864,3762,3495,3374,3320,3436,3580,3626,3213,2413,2146,2406,2084,1367,1525,1982,2622,2799,2548,3262,3422,2409,1991,2353,2774,1466,1550,1605,1404,2025,2889,2409,2082,2620,2499,2295,2244,2701,2777,2978,2797,2634,2241,2173,2020,2284,2868,3162,3501,3658,3449,2625,2431,3304,3503,3543,3194,3052,2522,2304,2092,1785,2379,3160,3294,3212,3023,3292,3473,3082,3187,3070,2623,2776,2784,2342,2151,2674,3224,3518,3499,2776,1863,2022,2835,2622,2391,2592,2890,3250,3510,3548,2993,1835,1457,1865,2071,2345,2841,3838,4283,4071,3870,3686,3328,3347,3823,3726,3479,3463,3397,3514,3686,3407,3446,3848,3889,3880,3726,3494,3460,3664,3594,3464,2967,2843,2357,2424,2785,2724,2437,2631,3133,3461,3277,3205,3272,3350,3650,3568,3161,2228,2939,2313,2003,2230,1674,1478,1396,1556,1384,1416,1499,1636,2005,2130,2661,3134,2979,2724,2418,2094,1922,2500,2876,2348,1783,1644,1367,1503,1864,2256,2652,2507,2176,2254,2116,2055,2242,2237,2062,1814,1729,1903,2179,2460,2461,2407,2575,2505,2179,2235,2222,2023,1636,1882,2195,2284,2902,2750,2186,1929,1687,1663,1680,1872,2200,2190,2083,2021,1846,1597,2140,2409,2214,2121,2041,2016,2031,2198,2291,2079,2245,2047,2128,2564,2348,1631,1569,2152,2449,2285,2352,2216,1848,1776,1715,1559,1719,1854,1970,2101,1785,1656,1824,2264,2646,2416,2113,1805,2293,1937,1807,1874,2508,2510,1827,2083,2641,2798,2978,3065,2862,1884,2445,2754,3620,3699,3428,3082,2691,2968,3029,2249,1869,1531,1635,1939,2835,2934,3476,3440,2356,2002,2156,2322,2336,1938,1714,2268,2735,3108,2767,2690,2850,2667,2356,2398,2602,2973,3618,3958,4080,4282,3661,3335,3273,3419,3462,3661,3517,3363,3648,3914,3925,3659,3392,3294,3232,3312,3567,3328,3085,3098,3106,3121,3138,3187,3217,3309,3360,3418,3438,3400,3696,3666,3387,3255,3717,4144,3375,5952,7630,2920,1903,2668,2314,2547,3156,3353,3389,3307,3493,3470,2937,2523,2529,2729,2728,2339,2633,2578,2312,2658,2797,2591,3021,2962,2512,3101,2894,2330,2523,2346,2553,2639,2644,2754,2835,2705,2409,2396,2541,2653,2564,2574,2683,2831,2609,2743,2553,2473,2902,2185,2009,2216,2120,2148,2237,2869,2949,2850,2691,2171,1293,1132,1557,1834,2032,2124,2548,2609,1897,1748,1668,1826,2255,2508,2584,2552,2246,1953,1987,2153,2092,1833,2121,2378,2584,2055,2137,2106,1857,1547,1395,1593,2565,2928,2534,2455,2243,2119,2444,2543,1965,1698,1842,2249,2230,2155,2138,1969,2401,2599,2105,2229,3029,2288,2160,2508,2167,2272,2293,2131,1985,1948,1937,1847,1968,2311,2302,1983,2125,2127,1970,1899,2374,2276,1798,2051,2231,2440,2372,2223,2365,2110,2510,2643,2029,1494,1577,2086,2732,2933,2528,2666,2709,2432,2757,2651,2540,2403,1823,2091,2194,2099,2245,2121,2531,2343,2380,1967,1941,2081,2584,2213,2233,2545,2224,1970,2055,1977,2158,2116,1884,1821,1807,2342,2509,2523,2644,2855,2887,2834,2855,2885,3012,3217,3220,3208,3439,3178,3029,3308,3740,3445,2707,2004,1676,1947,1924,2018,1638,1312,1349,1430,1912,2352,3132,2844,2711,2947,2588,1886,1911,2457,2375,2481,2390,2549,2344,2501,2853,2565,1974,1744,1549,1716,2188,2114,2168,2231,3168,3365,3470,3528,2889,1941,1757,2109,2293,2710,2897,2708,2340,2673,2667,2540,2403,2426,2425,2514,2146,2032,2836,2964,2511,2498,3144,3468,3051,3219,3566,3078,3686,4529,4476,4169,2835,1771,2073,1924,1896,1565,1245,1273,1681,1622,1775,1910,2125,3173,3749,2629],[2358,2596,2657,2676,2785,2670,2453,2315,2253,2609,2801,2734,2520,2336,2346,2369,2495,2522,2369,2503,2597,2659,2208,2404,2002,1847,2352,2784,3094,2915,2940,3494,3396,3546,3425,3383,3378,3329,3526,3752,3792,3629,3663,3171,2753,3158,3684,4124,3907,3797,3486,3693,3549,3140,2900,2467,2458,2568,3397,3271,2910,3836,4004,3083,2451,2451,2436,2607,3031,3006,2646,2276,2327,2172,1448,1903,2402,2419,2442,2428,2419,2192,2049,2889,3640,3752,3526,3142,3272,3584,3474,2866,2769,3662,4024,4305,4372,4383,4593,4483,4228,4321,4184,3483,3000,3648,3269,2890,2400,2242,2458,2927,3227,3547,4148,3618,2619,3071,4296,4192,3321,2409,2385,2361,1804,1765,2064,2286,2028,1828,2224,2128,2352,2606,3088,3193,2510,2068,1771,1880,2159,2164,2083,2395,2952,2685,2624,3065,3200,3122,2715,2684,2653,2712,2850,2521,2445,2788,2640,2651,3078,2869,2608,2646,2407,2268,2153,2115,2185,2058,2192,2513,2866,2798,2414,2414,2786,2974,2908,2757,2134,1926,2041,1963,1874,1902,1864,2017,2491,2776,3086,3111,2992,2997,2997,2523,2479,2663,2568,2150,2023,2690,2608,2541,2868,2906,2684,2166,1960,1908,2038,1853,1808,1895,2037,2483,2465,2292,2551,2580,2502,2931,2911,2938,2828,2667,2802,3208,3443,3221,3010,2890,2596,2542,3023,3056,2858,2745,2665,2772,3018,3275,2958,2270,2165,2436,2191,2399,2034,1947,1897,1864,1625,2048,2401,2257,2678,2370,1626,2437,3593,2622,2618,2830,3199,3106,3123,3154,2712,2642,2778,2756,2615,1877,1826,1955,1952,2374,2486,2017,1619,2092,2182,2104,2402,2137,2565,2880,2499,2567,1998,2164,2326,2019,1846,1983,1831,1882,2114,2017,2078,2050,1848,1991,1809,2166,2226,2066,2045,2019,1818,1710,1758,1637,1627,1831,1470,1313,1381,1783,1562,2003,2202,2507,2401,2019,2181,2151,2379,2832,2830,2897,2762,2502,2120,2302,1757,1571,1672,2185,2696,2534,2254,2211,2209,3227,3296,3232,3338,2901,2264,2522,2626,2566,1772,1830,2645,2802,3875,3693,3051,3104,2857,2631,2294,1898,1640,1676,1489,1484,2115,2154,2070,2223,2584,2551,2624,2148,1734,1847,2127,2065,2053,2101,1881,1902,1785,1617,1926,2199,2288,3061,3175,2154,1453,1651,1918,1897,2197,2853,2464,1960,1808,1858,1664,1804,1841,1907,1797,2077,2938,3441,3150,2917,2724,2126,1500,1431,2106,2844,2764,2577,2412,2091,2057,1977,1834,1720,1793,1959,2057,1650,1766,1882,1656,1821,1857,1876,2020,2426,2896,2215,2490,2575,2645,3309,3706,2762,1600,1577,2260,2889,3016,2885,2520,2730,2430,2922,3162,3354,2641,2718,3110,3008,2698,2762,2801,2451,2142,1944,1525,1963,2139,1954,2097,2004,2354,2346,2194,2119,1902,1871,1892,2543,2644,2119,2205,2448,2856,3186,3012,2775,2641,2821,3000,3023,2718,2161,1763,1960,2326,1910,2045,1994,1524,1378,2512,3428,3259,2776,2518,2384,2383,2242,2442,2031,1476,1370,1621,2059,2242,2045,2084,2309,2294,2485,2494,2556,2179,2349,2519,2337,2488,2335,2743,3708,3640,3498,3400,3168,3540,3811,3638,3483,3351,3487,3304,3310,3484,3718,3591,2695,2078,2305,2311,2230,2883,3015,3124,2966,2487,2408,2988,3510,3401,3017,2910,2755,2560,2249,2526,2937,2829,2989,3018,2922,2938,3074,3400,3592,3418,3086,3617,3350,3096,3437,3223,2701,3252,3016,3075,3218,2926,2777,3064,3054,2454,2430,2959,3505,3470,2810,2458,3044,3244,2651,2683,3206,2995,2302,2130,2527,2610,1661,1353,2089,2723,2733,2486,2438,2635,3334,3508,2744,3285,4015,3450,2849,2908,2767,2766,2753,2676,2781,2744,2057,1776,1748,2134,2852,2806,3633,3742,3443,3270,3395,2944,2173,2655,3216,3352,3907,3175,2634,3226,4308,4508,3854,2763,2742,3107,2652,2118,1884,1692,2347,2375,2454,2069,2684,2862,2457,2664,2899,2316,2400,3207,3317,2753,2091,2554,3165,3134,3651,3448,3551,3672,3547,3548,3515,3476,3352,2943,2685,2851,3417,3606,3482,2957,2774,2836,2831,2858,2612,2512,2566,2298,2141,2096,1941,2374,2325,2039,2281,2588,2626,2633,2411,2469,2906,2772,2512,3088,2247,1695,2221,2256,2025,2333,2286,2840,3549,3683,3552,3564,3566,2857,2539,1622,1710,1414,1657,2251,2541,2771,2778,3052,3515,3648,3698,3023,2169,2032,2048,2407,2127,1747,2103,2434,2242,2088,2164,2076,1831,2026,2243,2322,3142,3500,3526,2612,1967,1831,1787,1720,1684,1712,1794,1779,2047,2043,2120,2198,2497,3337,2564,1437,1377,1448,1336,1294,1461,1553,1465,1404,1374,1378,1598,1714,1613,1600,1715,1932,1986,1547,1595,1662,1776,1553,1623,1708,1555,1627,1567,1551,1661,1615,1719,1906,1865,2069,1758,1789,1793,1694,1622,1766,1859,2559,3489,3295,3507,3442,3026,2753,2401,2351,2540,2810,2425,2915,3415,2460,2669,3837,4312,3614,2887,2706,2520,2670,2746,2690,2644,3055,3421,3282,2849,2653,2679,3667,3885,3330,2450,2265,2228,2402,2563,2590,2884,3244,3518,3340,3253,3050,3225,3501,3470,3474,3440,3545,3413,2886,2862,2791,2757,2691,2104,2498,2791,3073,2736,2030,1980,2351,2422,2244,2118,2170,1906,2017,2457,2320,2336,2228,2762,2862,2343,2308,2124,2132,2319,2377,2419,2066,1941,2624,2722,2709,2459,1827,2207,2952,3207,3107,2658,2908,3078,2333,1993,1760,1490,1925,2459,2685,2436,2189,2389,2786,2565,2579,2491,2114,2229,2309,2300,2473,2612,2242,2150,1883,2016,2006,2402,2354,2518,2778,2596,2106,2023,2552,2746,2388,2681,2485,2245,2679,2217,2078,2512,3178,3432,2676,2288,2559,2529,2442,2488,2325,2246,1936,1669,1651,1830,1864,1464,1966,2326,2318,1648,1910,1834,1642,1401,1843,2532,2254,2585,3594,3430,3188,3109,3241,3681,4045,4147,4512,4356,4224,4377,4420,4627,4775,4394,3772,3436,3616,3349,3376,2874,2806,2828,2850,2457,2460,2842,2754,2448,2608,3012,3321,3463,3835,3814,4200,4476,4509,4048,3200,2198,1676,2173,2346,1865,1672,1588,2486,3076,2898,2518,3022,3400,3028,2234,2148,2194,2790,2975,2780,2880,2874,2547,2800,3166,2673,2699,3254,3385,3234,3078,2900,2921,3432,4100,4481,4227,3996,4000,4073,3808,3580,3704,3632,3488,3580,3481,2954,2259,2289,2072,1786,2004,2388,2346,2133,2535,3370,3484,2547,2673,2663,2526,1078,1061,1671,2123,2786,3162,2586,2663,2483,2155,2632,2634,2802,2729,3186,2911,2477,2225,2186,2155,2635,3248,3388,3313,3060,3029,2327,2497,2990,2723,2791,2961,3000,2265,2007,2054,1751,2337,3031,3465,3618,3158,3373,3330,3255,3353,3416,3330,3206,3010,2626,2264,2621,3175,3480,3718,3643,3095,2698,3039,3196,3210,3088,2857,3086,3553,3638,3575,2697,1786,1845,2169,2180,2701,3948,4259,4090,4033,3844,3748,3482,3317,3421,3407,3372,3288,3250,3509,3172,3112,3694,3962,3858,3519,3474,3658,3638,3664,3606,3093,3075,2656,2564,2418,2308,2984,3461,3655,3861,3576,3359,3475,3535,3718,3379,2978,3065,3704,3567,3216,2583,1974,1699,1644,1542,1381,1357,1347,1346,1764,2242,3152,3330,2632,2450,2165,2298,2331,2176,2358,2327,1786,1826,1694,1447,1743,2445,2850,2792,2820,2392,1961,2215,2086,2532,2193,1775,1955,1968,1922,1957,1916,2359,2889,3034,2985,2556,2402,2148,1779,1758,2097,2438,2854,2446,2009,1963,1687,1659,1796,2025,1866,1957,2204,2224,2218,2076,2188,2250,2291,2486,2461,2208,2191,2041,1659,1360,1650,2036,2109,2216,2269,2038,1840,2310,2359,2215,2045,1794,1714,1968,1738,1410,1549,1695,1859,2160,2265,2111,2306,2642,2598,2160,2226,2346,2352,2062,2320,2421,2667,2226,1522,2150,2802,2995,2853,2664,2640,1786,1950,2797,3432,3594,3325,2735,2372,2526,2574,2468,2160,1772,1857,2101,2763,2570,2676,2562,2020,2455,3098,2909,2820,2566,2466,2692,3244,3563,3121,3196,3497,3340,2911,2867,3033,3428,3726,4144,4632,4336,3736,3580,3291,3333,3540,3648,3506,3372,3610,4184,4121,3548,3399,3313,3318,3471,3549,3226,3141,3198,3254,3376,3418,3367,3339,3460,3438,3333,3334,3285,3186,3022,3150,3150,3259,3727,2808,2424,1859,1719,2007,2430,2631,3596,3587,3116,3442,3606,3464,3129,3063,3464,3543,2636,2128,2322,2532,2468,2409,2552,2802,2670,2365,2337,2419,2834,3049,2809,2710,2206,2555,2810,2787,2574,2379,2578,2784,2524,2665,2784,2769,2866,2925,2776,2272,2150,1852,2036,2261,2157,2173,1816,2044,2216,2530,2958,2519,2163,2425,2384,2294,2332,2184,2190,1951,1867,2409,2197,1907,2243,1848,1917,2376,2666,2853,2938,2741,2798,3505,3198,2357,1987,2053,2071,2514,2578,2390,2244,1918,1402,1516,1826,1752,1575,1660,1949,2013,2248,2174,2407,2305,2066,2170,2365,2377,2414,2393,2106,2308,2201,2124,2136,2961,2591,2218,2798,2411,1772,2074,2414,2162,1902,1839,1632,1455,1812,2190,2215,2160,1802,1578,1715,2287,2474,2382,2460,2667,2790,2556,2311,2499,2418,2490,2431,1937,1558,1819,2061,2365,2621,2546,2093,2131,2443,3162,2719,2482,2461,1981,2275,2654,2557,2753,2436,2402,2288,2128,2032,2300,2088,2016,1946,1859,1926,1885,1740,1500,1347,1756,1893,1772,1969,2170,2074,1990,2205,2325,2465,2767,2916,2922,2788,2972,3266,3174,3200,3275,3330,3160,3232,3752,3086,2019,1869,1852,1898,1952,2158,2177,1806,1850,2128,2057,2238,2943,2867,2482,2755,2872,2374,2031,2678,2745,2555,2519,2319,2153,2409,2867,2938,2251,1510,1377,1616,2069,2079,2083,2750,3220,3212,3515,3496,3040,2333,1728,1981,2255,2730,2831,2634,2285,2803,2830,2790,2473,2546,2584,2577,2599,2609,3011,3038,2749,2526,3252,3899,2962,2193,2284,2458,3404,4012,3904,3415,2808,2230,2191,2043,1892,1470,1259,1551,1895,2018,1991,2077,2489,3462,3714,2292],[2530,2668,2463,2282,2119,1951,2039,2281,2596,2592,2446,2495,2401,2412,2412,2345,2406,2331,2601,2951,2546,2116,2149,2977,2592,1893,2132,2545,3232,2945,2670,3452,3506,3548,3396,3435,3543,3291,3337,3692,3732,3507,3617,3437,3383,3398,3584,4132,4093,3925,3821,3651,3575,3127,2754,2534,2337,2402,2719,2863,3146,3770,3776,2721,2310,2545,2514,2912,3322,2976,2381,2204,2388,2397,2025,2323,2532,2890,3045,2641,2207,2153,2456,3270,3696,3585,3394,3532,3576,3829,3956,3912,3828,4038,4116,4112,4140,4073,4113,4107,4123,4272,4176,3450,2949,3732,3276,2927,2769,2671,2755,3140,3397,3647,3898,3470,2712,3109,4177,4105,3348,2568,2485,2533,2191,2386,2482,2308,1973,2097,2646,2236,2366,2561,2930,2663,2170,2071,1887,1977,2163,2402,2158,1931,2308,2280,2298,2575,2791,2901,2623,2628,2880,2653,2285,2364,2934,3361,3156,3277,3751,3413,2713,2575,2454,2244,2089,2079,2098,2520,2703,2574,2615,2509,2321,2508,2923,2668,2326,2425,2497,2353,2382,2033,1815,2391,2350,2143,2091,2203,3072,3141,2996,3009,3014,2697,2741,2717,2604,2320,2307,3039,3016,2755,2367,2536,2558,1973,2011,2240,2145,1725,1671,1745,2106,2058,1910,1899,2588,2633,2390,2865,2437,2313,2911,2769,2610,2924,3222,3212,2952,2478,2458,2281,2430,2578,2770,2886,2668,2371,2631,2789,2495,2239,2426,2463,2314,2559,2006,1959,1934,1670,1455,2009,2256,2141,2608,2712,2748,3082,3178,2427,2551,2302,2558,3007,3101,3056,2607,2464,2801,2697,2778,2132,1931,1923,1793,2118,2272,1900,1661,2268,2547,2243,2434,2481,2014,1896,2866,2513,2199,2578,2244,1900,2097,1992,1724,1777,1819,2018,2153,1991,1920,2137,2135,1991,1860,1823,1879,1899,1799,1891,2135,1920,1685,2097,1581,1576,1767,1947,1891,2090,2426,2662,2422,2001,2089,2141,2102,2253,2307,2253,2136,2225,2319,2448,2026,1793,1982,2444,2599,2407,2207,2153,2675,3285,3439,3443,2729,1721,1873,2679,3021,2766,1957,1869,2351,2616,3783,3767,3844,3941,3775,3676,2995,2127,2083,2045,1548,1862,2024,1818,2164,2277,2259,2398,2411,2159,2042,1995,1935,1845,1638,1878,2064,2039,1899,1787,2164,2120,1737,2008,2256,1808,1771,2485,2900,2128,1881,2284,2271,2038,2104,1895,1296,1331,1698,1829,1704,1791,2799,3275,3118,3484,3068,2147,1526,1476,2358,2956,2665,2374,2063,1963,2321,2574,2251,1878,1895,2095,2499,1984,2010,2178,1785,1839,1739,1836,2016,2223,1946,1740,2284,2435,2636,3132,3409,2626,1825,2066,2656,2553,2379,2352,2331,2561,2790,3039,2894,2655,2271,2157,2206,2101,1968,2309,2284,1960,1954,2036,2054,2012,2051,1998,2217,2629,2742,2210,1998,2023,1655,1912,1731,1654,1637,2078,2315,2272,2192,1961,1956,2051,2108,2413,2271,2293,2391,1939,1792,2470,2635,2133,1615,1152,949,1391,2459,3213,3459,3045,2643,2449,2365,2207,2266,2399,2451,2177,2076,2181,2081,1821,1786,2371,3030,2786,2304,2380,2545,2304,2094,2274,2334,2051,2637,3520,3184,3397,3488,3027,3527,3420,3563,3624,3395,3176,3061,3059,3059,3005,3146,2756,2216,2213,2437,2690,3075,3156,3135,2963,2568,2633,2930,3019,3121,2871,2856,3165,2544,2510,2831,2830,2649,2865,3163,3039,2602,2880,3210,3586,3330,2735,3131,3364,3194,3251,2737,2806,3370,3020,2677,2912,3296,2920,3038,3020,2568,2443,2654,3105,2915,2775,2881,3044,3176,2787,2975,3442,3203,2646,2098,2361,2360,1864,1854,2430,2778,2956,3116,2813,2523,2968,2983,2840,2617,3514,3401,2907,3426,3107,2591,2850,2657,2528,2446,1627,1349,1039,1568,2348,2713,3174,3352,3773,3710,3273,2980,2401,2689,3072,3053,3096,3239,3364,3554,3871,4016,3074,2022,1842,2357,2872,1836,1838,1920,1982,2227,2360,2286,2699,2406,1958,2361,2777,2666,2765,3210,3603,2853,2072,2712,3449,3553,3333,3030,3108,3284,3343,3413,3509,3575,3046,2570,2729,3235,3260,3104,3485,3008,2749,2663,2468,2621,2359,2148,2358,2404,2577,2708,2383,2619,2753,2381,2972,3271,2546,2670,2862,2878,2497,1865,2150,2754,2597,2872,2810,2434,2295,2344,2458,2801,3483,3507,3212,2996,2899,2577,2305,1895,2210,2303,2720,2883,2831,3229,3529,3471,3596,3378,3184,2665,2223,1982,2165,2481,1941,1530,1801,2122,2231,2009,1888,1796,1879,1873,2343,2165,1971,1924,1935,1925,1875,1951,2027,2026,1814,1680,1697,1531,1791,1825,1817,2059,2631,2946,2201,1489,1408,1473,1297,1261,1660,1712,1509,1435,1416,1403,1515,1570,1461,1554,1526,1942,2188,1632,1559,1487,1449,1436,1674,1651,1551,1873,1899,1606,1661,1684,1774,2047,1708,1807,1788,2191,2471,2312,1965,1628,1970,2402,3241,3041,3589,3449,2799,2858,2739,2537,2439,2531,2684,3320,3388,2363,2714,3818,4155,3121,2561,2308,2124,2535,2733,2609,2667,2788,3317,3291,2767,2764,3337,3846,3659,3828,3141,2619,2941,3183,3321,3288,3255,3333,3545,3339,3189,3075,3239,3309,3595,3529,3325,3527,3481,3288,3288,2645,2899,2498,2180,3035,3177,3019,2228,1588,1475,2084,2537,2396,2497,2430,2023,2605,2791,2098,1841,2111,2641,2598,2224,2213,2248,2452,2259,2438,2445,2203,1703,2390,2252,2421,2520,2267,2415,2930,3087,2576,2379,2630,2877,2346,1882,1592,1700,1992,2269,2079,1654,2103,2913,3033,2851,2801,2150,1804,1907,2091,2500,2603,2522,2276,2386,2245,2071,2340,2270,2242,2635,2551,2939,2509,2302,2248,2545,2481,2613,2834,3386,3550,3043,2605,2564,3083,3289,2829,2293,2098,1943,1909,2499,2513,2404,2105,1796,1864,2032,2333,1334,2208,2679,2302,1537,1489,1710,1635,992,1048,1781,1781,2216,3693,3457,3211,3227,3230,3250,3728,4061,4357,4369,4245,4085,4188,4556,4804,4659,4157,3397,2746,2365,2834,3042,3396,3079,2370,2567,3034,3007,2551,2253,2332,2776,2736,2845,2775,2953,3273,3366,3142,2933,2746,1972,1637,1806,2171,2209,2142,2285,2999,3348,2492,2186,2270,2643,2648,1803,2234,2232,2282,2457,2755,2556,2574,2556,3213,3653,3250,3233,3716,3695,3419,3185,3063,3185,3063,3317,3871,4132,4112,3939,3606,3240,3374,3631,3009,2752,3208,3067,2773,2334,2457,2203,2253,2687,2775,2380,2064,2614,2676,2634,2778,2517,2167,1483,844,1266,2119,2546,2764,2454,2382,2403,2275,2296,2651,2598,3595,4816,3963,3112,2525,2347,2832,3257,3262,3218,3267,2864,2959,2603,2141,2585,2778,2453,2524,2931,2667,2185,2317,2617,2644,2812,3233,3603,3897,3544,3481,3361,3362,3515,3167,2476,2203,2221,2597,2687,2854,3414,3597,3669,3693,3408,2670,2425,2802,3266,3438,3474,3629,3603,3489,3726,3488,2610,1842,1990,2095,2459,3374,3838,4016,4227,4139,3780,2994,2480,2811,3260,3419,3418,3306,3465,3413,3393,3755,3767,3457,3447,3739,4184,4092,3704,3986,3492,3017,3407,3310,2373,2423,3038,3359,3604,3815,3695,3515,3723,4074,3862,3274,3480,3821,4034,4198,3771,2945,2642,1853,1578,1357,1404,1324,1538,1653,1502,1831,2592,2865,2150,1872,2042,2575,2404,1787,1997,2337,2180,2358,2105,1532,1825,2938,3382,3562,3529,2194,1794,2190,2239,2668,2603,2278,2005,1908,2027,2163,2134,2543,2623,2768,3076,2388,1973,1853,1770,1863,2259,2341,2547,2532,2459,1840,1534,1643,1968,1936,1736,2056,2057,2033,2050,2136,2315,2150,2272,2288,2447,2398,2398,2469,2243,1987,2072,2272,2258,2085,2258,2366,2187,2334,2180,2100,1864,1950,2099,2423,2115,1660,1763,1737,1844,2489,2625,2078,2453,2577,3383,2908,2352,2303,1844,1756,2579,3272,2905,1973,1714,2352,2954,3257,2812,2172,2321,2301,2259,2637,2865,2792,2756,2633,2315,2110,2047,2007,1767,1804,1997,2066,2005,1701,1920,2198,2209,2887,3512,3045,3040,3217,2980,2764,3263,3843,3598,3127,3123,3167,2908,2599,3133,3665,3407,3759,4471,4007,3601,3776,3626,3566,3687,3706,3749,3484,3703,4397,4197,3527,3443,3286,3333,3831,3740,3167,3193,3244,3343,3476,3418,3452,3430,3418,3320,3233,3298,3177,2833,2651,2901,2946,3218,3374,2446,2323,2281,2042,2177,2654,3261,3594,3310,3186,3023,2909,3123,2882,3189,3940,4005,2999,2633,2774,2575,2705,3003,2769,2676,2575,2423,2357,2040,2246,2862,2819,2730,2810,2731,2983,2768,1941,1801,2270,2562,2137,2177,2387,2916,3406,3437,2843,2451,2308,1754,1656,1886,2203,2848,2214,2348,2265,2788,3011,2198,1873,2401,2275,2233,2522,2368,2142,1995,2130,2011,2115,2302,2531,2010,1923,2387,2699,2676,2677,2765,2790,2965,2412,1959,2134,2184,2569,2711,2618,2158,1835,1814,1755,1888,2078,1966,2168,1969,1997,2188,2610,2385,2355,2307,2234,2192,2349,2137,2181,2492,2450,2935,2564,2251,1751,2326,2567,2268,2579,2154,1795,1973,2233,2115,1935,2089,1926,1691,1865,2091,2393,2592,2115,1794,2303,2855,2474,2391,2395,2708,2820,2330,2228,2735,2552,2383,2724,2204,1753,2081,2554,2451,2549,2567,2358,2280,2592,2769,2121,2314,2718,2136,2245,2587,2476,2437,2443,2195,2041,2158,1844,1656,1612,1475,1372,1280,1383,1640,1576,1898,2442,2588,1861,1782,2015,1693,1635,2049,2269,2108,2487,2797,2867,2879,2768,2930,3194,3339,3422,3329,3499,3348,3156,3445,2702,1785,1574,1692,1596,1701,1996,2226,2032,2170,2419,2126,2060,2522,2599,2744,2743,2920,2846,2113,2283,2746,2585,1995,1791,2006,2108,2617,3135,2674,1737,2082,2132,2012,2014,2334,2730,2953,3355,3630,3560,3217,2938,2153,1803,2005,2644,2771,2432,2533,3009,3053,2657,2466,2925,2625,2577,2853,2887,2613,2235,2145,2119,2813,3254,2332,1615,1538,2112,2889,3053,3139,2861,2973,2536,1874,1653,1722,1731,1564,1846,2369,2467,2266,2203,2523,3078,3596,2883],[2599,2866,2675,2285,2419,2374,2164,2531,2920,2587,2522,2763,2676,2482,2435,2641,2901,2651,2680,2524,2219,2198,2116,2592,2768,2475,2432,2777,3492,3165,2614,2928,3464,3693,3210,2977,3222,3221,3229,3470,3572,3709,3771,3872,3803,3437,3574,3861,3737,3662,3776,3642,3410,3044,2813,2967,3255,3069,2768,2908,3442,3936,3540,2943,2844,2885,2758,2784,2745,2426,1921,2077,2394,2458,2812,2496,2535,3090,3028,2631,2517,2620,2715,2901,3238,3259,3316,3376,3378,3714,3959,4116,3840,3637,3720,3802,3767,3853,4067,4226,4396,4457,4500,4156,3588,3516,3117,2512,2209,2259,2488,2924,3204,3241,3251,3015,2408,2906,3863,3742,2774,2779,3605,3418,2612,2089,1888,2382,2026,2027,2515,2170,2093,2367,2212,1882,1970,2261,2142,1863,1960,2614,2620,2272,2170,2301,2042,2120,2625,3242,3210,2879,2852,2752,2620,2696,2761,2753,2968,2843,3155,3017,2588,2469,2305,2131,2067,1898,2218,2889,2463,2124,2032,2409,2820,2377,2622,2712,2333,2633,2857,2767,3022,2467,2316,2959,2610,1844,1812,2228,2799,2973,2977,2984,2943,2998,2954,2751,2690,2266,2774,3308,2978,2917,2648,2519,2158,1822,1773,1847,1998,2047,1587,1895,2499,1773,2026,1864,2122,2165,2312,2815,2514,2275,2908,3119,3281,3037,3330,3200,2771,2210,2214,1823,1704,2154,2286,2499,2376,1829,2178,2323,2343,2250,2071,2253,2470,2433,1952,1928,2156,1759,1124,1383,1898,2351,2599,2513,2945,3267,2758,2433,2702,2087,1934,2620,3208,3187,2908,3112,3056,2177,2239,1807,1660,1573,1112,1075,1583,1770,1595,2278,2676,2471,2714,2781,1842,1506,2127,2043,2060,2186,1636,1613,2011,1811,1688,1764,2230,2476,2160,2081,2224,2322,2077,1840,1792,1653,1560,1706,1726,1925,2051,2068,1844,1843,1581,1831,1942,2025,2166,2159,2366,2375,2214,1966,1731,1742,1873,2028,1952,1779,1738,1876,2194,2276,2066,2082,2010,2132,2125,2017,2285,2137,2783,3310,3432,3199,2669,2475,2966,3760,3553,3308,2789,2446,2387,2995,3846,3926,3918,4061,3947,3926,3802,2973,2568,2318,2008,2542,2355,2000,2525,2740,2422,2652,2663,2158,2224,2249,2002,1681,1597,1939,2452,2305,1986,2124,2380,2232,1990,2178,2046,1854,1574,1875,2640,2180,1868,1966,2114,2161,2078,1772,1620,2053,2305,1863,1698,1837,2449,2809,2810,3013,2910,2214,1526,1580,2542,3035,2536,2149,1977,2383,2967,3321,2480,2197,2192,2311,2941,2454,2082,2391,2083,2118,1915,2089,2210,2290,1893,1657,1978,2427,2842,2806,2723,2589,2170,2119,2381,2093,2432,2592,2192,2123,2684,2533,2410,2612,2193,1779,1627,1591,1616,2389,2093,1962,1989,2217,2376,2404,2248,2166,2872,3382,2910,1869,1879,1980,1742,1716,1572,1566,1545,1791,1808,2010,2376,2260,2487,2449,2454,2557,2664,2590,2432,2147,2170,2371,2316,1975,1537,1209,1055,1290,2133,2994,2887,2819,2673,2431,2210,2116,2070,2195,2328,2562,2618,2306,2018,1875,1853,2689,3388,3271,2766,2900,3116,2680,2293,1975,2040,1996,2154,2703,2603,2965,3083,3391,3827,3746,3646,3604,3443,3194,3022,3099,3344,3277,3068,2964,2380,2144,2512,2778,3144,3147,2900,2687,2574,2570,2622,2813,2854,2584,2534,2811,2350,2394,2627,2492,2370,2475,2567,2585,2251,2431,2498,3194,3234,2800,3176,3303,3021,3045,3019,3161,3431,3110,3120,3238,3460,2868,2814,3440,3440,3131,3128,3286,3073,3019,2674,2577,2996,3059,3087,3248,3023,2508,2331,2348,2513,2698,3153,3188,2792,2777,2972,2652,2282,2910,2886,3168,2822,2767,3063,3462,3484,2907,2910,3201,2759,2598,2450,2014,1543,1306,1647,1928,2441,2835,3254,3941,4104,3385,3261,2768,3176,3215,2697,2883,3616,3076,2424,2465,3001,2822,1810,1713,1934,2935,2020,2108,1942,1785,2391,2487,2556,2677,2253,2160,2599,3053,3007,2987,2563,3238,2695,2188,2314,2788,3321,3193,3134,3495,3276,3022,3266,3319,3227,2864,2567,2764,2976,2675,2968,3352,2770,2473,2822,2655,2394,2469,2396,2508,2640,3252,3343,3373,3539,3311,2967,3060,3363,2757,3059,3247,3472,2583,1854,2288,2181,2727,3683,2941,2484,2864,2604,2493,2584,2801,2784,2699,2487,2447,2230,2281,2301,2802,3487,3015,2743,3146,3295,3327,2604,2552,2841,3404,2814,2154,1868,2336,2435,1727,1924,2300,2349,2127,1766,1767,1896,2189,1939,2220,2236,1879,2038,2147,1996,1874,1908,1879,1939,1572,1395,1359,1409,1577,1681,1883,2246,2680,2341,1708,1440,1415,1380,1428,1418,1443,1437,1450,1343,1318,1490,1420,1470,1580,1825,1789,1887,1741,1655,1567,1441,1401,1527,1730,1557,1424,1627,1581,1598,1862,1719,1569,1594,1672,1552,1729,2532,2706,2469,2021,2142,2362,2008,2242,2114,2426,2332,2164,2544,2786,2474,2407,2530,2896,3138,3008,2087,2790,3770,3606,2947,2352,2106,2233,2742,2778,2778,2546,2177,3146,3330,2744,2454,3088,3915,4307,4101,2995,2709,2909,3384,3533,3418,3364,3411,3240,3194,3185,3216,3328,3506,3548,3472,3405,3448,3658,3341,3540,3005,3234,2780,2589,2886,3184,3256,2976,2177,1785,2309,2453,2416,2325,2291,2235,2456,2568,1997,2087,2875,3175,2630,2037,2503,2612,2355,1985,2388,2354,2115,1585,2031,2025,2273,2664,2855,3251,3299,2502,2338,2607,3006,3163,2427,1689,1677,1826,1857,2241,1736,1369,2438,2893,2807,2743,2354,1891,1561,2264,2656,3019,2784,2384,2614,2883,2453,2135,2231,1833,1823,2365,2876,3239,2558,2223,2104,2248,2486,2843,3452,3549,3431,3270,2645,2528,3055,3450,2840,2319,2719,2304,2104,2453,2247,2291,2304,1787,1657,1585,1976,1414,1883,2150,2020,1791,2018,2128,1726,1036,999,1880,1745,2071,3430,3526,3386,3132,3042,2977,3205,3893,4229,4223,4325,4208,4335,4627,4749,4759,3780,2533,1766,2011,2155,2235,3008,2879,1986,2428,3267,3020,2930,2556,2566,2865,2790,2671,2452,2382,2618,3045,2980,2875,2900,1866,1798,1844,1882,2220,2525,2683,2865,2342,1697,2016,1876,2337,2208,2552,2504,1991,2068,2281,2177,2294,2295,2216,2612,3240,3917,4072,3951,3680,3526,3507,3584,3365,3172,3177,3451,3754,3820,3418,2454,2200,2920,3278,2963,2741,3031,3278,3303,3112,2876,2249,2103,2883,3071,3191,3012,2780,2535,2644,2989,2051,2106,2223,1681,2092,2566,2273,2224,2023,2078,1853,2349,2677,2842,3021,5401,5149,3583,3287,2636,2585,3322,3961,3838,3427,3279,2974,3175,2754,2579,2633,2536,2432,2784,2902,2677,2952,2840,3126,3251,3418,3807,3829,3754,3690,3705,3715,3962,3917,2610,1798,1927,2570,3000,3169,3168,3294,3431,3381,3248,3235,2686,2895,3222,3328,3494,3570,3584,3482,3085,3105,3410,2744,1746,1869,2188,2400,2732,2943,3354,3739,3388,3115,2641,2511,3094,3441,3408,3421,3431,3579,3614,3626,3605,3470,3458,3436,3544,3926,3752,3450,3896,3650,2814,3393,3545,2474,2765,3208,3521,3506,3592,3564,3687,3849,4034,3688,3388,3672,3859,3990,3743,3852,3702,3063,1993,1477,1351,1385,1350,1605,1710,1526,1631,1976,2690,2947,2909,3040,3433,2720,1876,2194,2311,1792,1739,2230,2520,2219,2740,3097,2923,2443,1786,1914,2304,2387,2189,2360,2485,2370,2379,2309,2236,2280,2328,1702,1588,1772,1802,1692,1642,1775,2275,2814,2272,2818,2741,2219,2121,1849,1815,2164,1966,2569,2999,2100,1747,1572,1967,2510,2435,2300,2188,2324,2236,2024,2104,2199,2235,2286,2250,2148,2232,2362,2265,2016,1866,1813,1946,1787,2021,2279,2482,2400,1909,1858,2047,2046,2525,2323,2479,2432,2441,2998,2565,2261,2432,2510,2578,3000,3580,3037,1966,1994,2526,2947,3000,2588,2210,2380,2428,2237,2345,2632,2568,2828,2788,1983,1744,2003,1824,2022,2329,2273,2072,1747,1579,1923,2375,2445,2802,3311,3096,3137,3184,2831,2309,2401,2888,3275,3139,2798,2687,2611,1958,2609,3598,3315,3617,4256,4131,3786,3463,3398,3476,3608,3576,3443,3272,3572,3918,3636,3431,3375,3329,3360,3705,3773,3211,3225,3251,3340,3404,3327,3357,3323,3309,3185,3130,2985,2801,2680,2561,2739,3260,3798,3572,3287,3686,3504,2778,2707,3124,3573,3312,3196,3537,3135,2475,3076,3330,3605,3891,4002,3365,3286,3047,2482,2563,2727,2590,2417,2294,2687,2044,1870,2292,2522,2618,3012,3184,3106,3299,2307,1700,1475,1618,1817,1867,2005,2085,3069,4001,3903,2893,2340,2351,2220,2059,2721,2337,2887,2376,2500,2512,2799,2798,2261,2436,2752,2868,3003,3018,2525,2352,2700,2717,2212,2227,2381,2310,2170,2086,1836,1681,1790,1932,2196,2522,2743,2214,2115,2054,1844,2211,2293,2056,1935,1840,1881,1720,1834,2189,2541,2691,2087,1885,2353,2428,2116,2266,2424,2256,1941,2104,1986,2200,2105,1828,2379,2397,2399,2252,2581,2834,2676,2532,2269,2200,2022,2180,2088,2156,2343,2697,2510,2034,2123,2242,2924,3195,2675,2724,2619,2418,2393,2630,2675,2597,2147,2032,2393,2478,2397,2472,2020,2009,2469,2792,2321,2166,2161,2066,1822,2094,2585,2295,2691,3144,2016,1786,1782,1701,1846,1883,1587,1842,2081,1835,1727,1381,1047,1094,985,1258,1832,1948,2220,2486,2255,1913,2239,2258,1974,2489,2701,2382,2244,2680,2842,2874,2832,2774,2798,2974,3282,3215,3211,3419,3325,2971,2905,2476,1908,1601,1468,1617,2017,2480,2645,2258,2311,2395,2041,2121,2532,2459,2968,2642,2285,2378,2149,2049,2502,2898,2341,2211,2126,2212,2543,2865,3052,2320,2227,2212,1989,2280,2866,2940,3271,3696,3691,3703,3391,3078,2895,2205,2062,2474,2647,2276,2248,2553,2489,2474,2897,3840,3849,3403,3044,2802,2476,2336,2170,1972,2205,2204,2070,2027,1994,2279,2802,2902,3018,2921,2990,2630,2035,1610,1633,1578,1668,2116,2587,2895,3350,2806,2750,2916,2980,2931],[2531,2924,3074,2529,2910,3123,2588,2709,3295,3137,2666,2609,2419,2482,2727,3145,3466,2814,1844,1504,1857,2384,1866,1424,2201,2929,3140,3451,3112,3003,2436,2494,2824,3378,3249,2988,3122,3110,3117,3019,2830,3486,3836,3813,3681,3485,3674,3895,3677,3274,3400,3771,3719,3250,2869,2775,3033,3200,2989,3094,3450,3605,3462,3482,3628,3679,3060,2461,2385,2475,1995,2293,2540,2568,2649,2635,2824,3122,3332,3304,3046,3003,3108,3088,3406,3449,3732,3575,3566,3735,3955,3938,3372,2955,3351,3662,3684,3777,3854,3964,4073,4233,4148,3681,3315,2974,2578,2384,2331,2532,2584,2732,2918,3049,3195,3126,2888,3211,3907,3764,2851,2932,3875,3624,2629,1509,1188,2050,2196,2104,2288,2172,2061,2066,1955,1848,1962,2057,1708,1748,2498,3428,3874,2845,2498,2646,2231,2164,2880,3756,3749,3036,2664,2732,2644,2355,2464,2367,2705,2171,2435,2569,2207,2309,2501,2227,2004,2062,2655,3043,2795,2400,1862,1931,2378,2113,2176,2622,2813,2947,2906,2911,3041,2765,2900,2770,2391,2095,1893,2308,2944,2944,2529,2227,2373,2329,2357,2410,2448,2321,2287,2346,2353,2675,2445,2056,1957,1786,1683,1678,1644,1798,1620,1794,1726,2089,2280,1844,1976,2221,2348,2548,2646,2696,2950,3462,3474,3453,3475,2929,2522,2200,2107,1864,1793,1974,1834,2010,2170,1802,2014,2050,2620,2498,1871,1749,1954,1970,1742,1918,2172,1726,1560,1801,2322,2243,2242,2278,2342,2744,2520,2439,2457,1731,1737,2147,2578,2776,2879,3430,2758,1595,1439,1834,2455,2289,1570,1293,1736,2126,1990,2242,2482,2334,2385,2170,2021,2036,2420,2071,1673,1863,1739,1794,2028,1594,1787,2009,2438,2370,2071,1931,2151,2277,2055,1884,1750,1649,1583,1981,1991,2349,1939,1715,1782,1758,1777,1941,1920,1831,2106,2056,2037,2040,1911,2155,2067,1909,2124,2123,2123,1919,1747,2014,2332,2342,2184,2125,1896,2060,2059,2196,2258,2359,2925,3007,2732,2490,2732,3082,3240,3582,3278,3287,2897,2685,2735,3288,3970,4048,3904,3982,3852,3761,3370,2788,2339,2198,2267,2728,2600,2177,2668,3075,3011,3075,2567,2093,2334,2157,1954,1782,1391,1314,2098,2277,1954,1892,2178,2382,2227,2256,2241,2292,1815,1799,2654,2741,2204,1857,1848,1933,1794,1785,2142,2584,2325,1705,1747,2169,2409,2522,2384,2504,2792,2435,1549,1690,2468,2584,2256,2329,2813,3185,3106,3389,2492,1853,1865,2013,2911,3117,2778,2729,2395,2305,2026,2197,2736,2888,2555,2254,2130,2314,2610,2378,2477,2335,2149,2081,2028,2232,2416,2534,2337,2518,2905,2806,2922,2728,2012,1864,1585,1485,1252,1663,1781,1966,2200,2271,2204,1975,1818,1900,2630,2834,2403,1952,2186,1986,1942,2145,1974,1922,2147,2281,2214,2259,2539,2561,2585,2706,2912,2776,2884,2642,2090,2418,2739,2250,2036,1963,2249,2023,2130,2120,2837,3454,2700,2705,2855,2286,2122,2271,2232,2344,2041,2286,2284,2194,1934,2101,2175,2806,3304,3189,2864,2980,3068,2922,2664,2200,2580,2611,2504,2131,2129,2329,2557,3152,3777,3959,3551,3272,3528,3684,2772,3164,3613,3377,2839,2691,2448,2548,2613,2644,3044,3174,3248,2918,2735,2334,2365,2645,2866,2688,2474,2403,2272,2354,2496,2478,2521,2357,2301,2326,2380,2451,2542,2767,2880,3068,3294,3396,3251,2921,2813,3119,3110,2944,2902,3285,3312,2989,3350,3914,4078,3804,3720,3270,2865,3420,3374,3187,2899,2787,2931,3253,3260,2643,2194,2461,2433,2785,3593,3396,2501,2591,2405,1947,2559,2431,2309,3086,3252,2741,2513,3027,3200,2931,2558,2209,2624,2742,2608,2484,1763,1629,2236,2654,2757,2837,3142,3680,4464,4059,3488,2758,3116,3206,2863,3176,2798,2035,1852,1606,2215,3068,1897,1708,1532,2657,2532,2097,2051,2339,2448,2415,2614,2635,2897,2901,2862,2767,2438,2613,2400,2744,2652,2709,2471,2312,2986,3281,3165,3049,2831,2928,3187,3066,2899,2819,2677,2758,2981,3467,3807,3308,2542,2345,2749,2817,2398,2524,2293,2283,2700,3096,3199,3591,3654,3442,2835,1824,2862,2690,2707,2578,2482,2090,2315,2710,2372,2903,3572,2644,2768,3429,2885,2612,2467,2202,2348,2193,2147,2232,2144,2294,2214,2391,2962,2163,2951,3210,3328,3336,2977,2832,2570,2536,2383,1918,1926,2448,2128,1789,2491,2854,2500,1998,1808,2025,2309,2745,2500,2311,2264,1967,1980,2028,1896,1741,1758,1770,1757,1426,1477,1593,1563,1588,1801,2177,2394,2754,2361,1654,1299,1425,1483,1415,1368,1440,1482,1476,1478,1553,1598,1506,1636,1700,1911,1871,1771,1818,1730,1545,1562,1551,1549,1685,1392,1513,1710,2268,2032,1927,2292,2050,1648,1709,1581,1581,1686,2083,2233,1803,1933,2022,1764,1548,1545,1753,1776,1830,2587,2990,2756,2539,2674,3116,2885,2553,2313,3396,3902,4156,3556,2257,2074,2220,2403,2688,2939,2895,2638,3234,3409,2733,2071,2916,3919,4082,4011,2879,3000,3134,3536,3588,3567,3560,3249,3110,3145,3127,3255,3383,3349,3258,3462,3442,3683,3379,2677,3141,2906,2904,2691,2509,2943,3241,3198,2929,2500,2707,2700,2032,2184,2312,2260,2215,2243,2202,2198,2745,3231,3143,2513,2271,2895,2724,2117,2298,2568,2563,2033,1578,1698,1699,1783,2207,3050,3418,2873,2212,2444,2930,3152,2875,2259,1604,1753,2219,2442,2459,1516,1437,2379,2862,2900,2596,2263,1876,1521,2365,3016,3127,2785,2522,2692,2294,2080,1910,2311,2171,2128,2138,2312,2473,2143,2082,2526,2520,2392,2653,3398,3233,3271,3357,2975,2791,2820,2769,2335,2424,2687,2342,2160,1801,1763,2198,2424,1852,1693,1597,1738,1783,1722,1830,1903,1693,2005,2218,1937,1053,1092,2324,1894,1996,3204,3813,3539,3000,2642,2470,2887,3688,4034,4271,4393,4540,4628,4495,4275,4484,3131,1846,1861,2154,2193,2165,2745,3147,3058,3328,3537,3114,2930,2999,3078,3355,3694,3339,2653,2511,2622,3361,3294,2801,3006,1891,2199,2088,1615,1894,2067,2253,2391,2183,1940,2917,3273,2932,2974,3255,2417,2089,2305,2312,1888,1707,1983,1932,1739,2073,2558,3016,3347,3586,3485,3352,3044,3015,3342,3378,3354,3582,3592,3239,2740,2625,2887,2943,2999,3167,3417,3772,3738,2937,2317,2468,2382,2757,2633,3407,3687,3055,2237,2001,2370,2385,2485,2399,2357,2622,2613,2187,2116,2049,1964,1626,1770,2468,2675,2736,3000,2809,3066,2639,2204,2349,2677,3264,3481,3262,3050,2987,3043,2832,2631,2767,2364,2228,3139,3513,3662,3570,3189,3532,3740,3815,3961,3982,3962,3915,4064,4401,4365,4124,2890,2743,2964,3228,3467,3396,3373,3362,3308,2720,2413,3419,3454,3476,3649,3648,3718,3706,3640,3703,3527,3107,2801,2332,1632,1571,1644,1961,1999,2034,2543,2963,3154,3112,3030,3152,3274,3394,3515,3496,3340,3340,3459,3348,3439,3508,3409,3089,3133,3458,3711,3667,3601,3449,2588,3013,2989,2349,2271,2686,3011,3243,3509,3579,3732,3949,3785,3471,3509,3718,3919,4297,4353,4494,4243,3140,1954,1591,1455,1501,1499,1678,1509,1500,1636,1963,2793,3769,3972,3045,2918,2819,2419,2715,2450,1803,2254,3162,3488,2461,2391,2407,2135,1895,2022,2104,2157,2011,1763,2052,2532,2879,2562,2481,2614,2521,2033,1625,1794,1724,1582,1777,2002,1987,2297,2459,1954,2061,2452,2066,1951,1850,2074,2110,2054,2455,2476,1843,1511,1453,1729,2153,2504,2257,1940,2074,2109,1824,1845,1833,1870,2405,2766,2257,2240,2390,2047,1792,1709,1655,1843,1940,1817,1801,2210,2250,2027,1766,1695,2216,2445,2226,2719,2464,2234,2430,2315,2542,3149,3146,2520,2956,3059,2578,1971,1747,1991,2137,2191,2043,2071,2267,2086,1693,2035,2719,2705,2792,2699,1936,2298,2611,2121,2396,2662,2326,1835,1445,1543,1720,1918,2010,2754,3420,3205,2372,1645,1654,1800,1701,1841,1887,1864,2586,2492,2305,2058,1940,2647,3143,3410,3542,3823,3749,3277,3185,3165,3293,3322,2872,2993,3519,3608,3458,3407,3335,3375,3340,3371,3264,3193,3170,3230,3360,3356,3311,3275,3239,3206,3110,2930,2621,2654,2721,2598,2556,3266,3918,3959,3892,4196,3892,3401,3283,3250,3646,3720,3581,3686,3373,2708,3060,3084,3752,4230,3774,3651,3608,2712,2400,2937,2801,3188,2741,2269,2510,1712,1569,1764,2146,2898,3393,3608,3699,2976,1921,1770,1437,1463,1756,1725,1755,2049,2534,2924,2874,2390,2313,2230,1939,2021,2593,2335,2526,2621,2603,2470,2558,2195,2057,2607,3063,3842,3372,2975,2557,3203,3317,2739,2402,2426,2398,2007,2297,2423,1847,1999,2153,1973,1905,2320,2814,2479,2044,1786,1668,1931,2445,2420,2081,2015,2234,1893,2176,2448,2322,2170,1963,1929,1841,1636,1783,1941,2150,2032,1916,1929,2161,1995,1421,1447,1923,1947,1975,2339,2614,2609,2664,2024,2028,2000,1844,2534,2380,2095,2003,2178,2199,2035,2149,2309,2567,3055,3205,3294,3024,2801,2831,2674,2580,2548,2182,2087,2150,2634,2342,2577,2755,2708,3078,2788,2037,1953,2132,2163,2023,2137,2729,2780,3008,3067,1736,1131,1174,1271,1468,1306,1123,1178,1227,1118,1078,1190,1441,2013,2129,2273,2443,2397,2644,2758,2588,2569,2399,2165,2229,2656,2637,2265,2374,2715,2903,2942,2830,2810,2932,3106,2923,2596,2711,3326,3318,3282,2574,1948,1855,1945,2188,2232,1733,1976,2909,2522,2287,2716,2399,2402,2895,3044,2663,1967,1860,2091,2215,2204,2156,2793,2899,2474,2054,2077,2258,2388,2641,2236,2039,2057,2212,2721,2614,2663,3116,3632,3497,3394,3030,2880,3111,2641,2121,2257,2536,2347,2135,2047,1415,1483,2541,3641,3965,3817,3279,2645,2275,2237,2023,1861,1971,1979,2226,2144,2135,2427,2923,3472,3300,3238,3437,3349,2669,1781,1735,1529,1682,2225,2446,2762,3264,2952,3096,3016,2937,2827],[2866,2878,2766,2611,2771,2740,2477,2575,3206,3268,2373,2195,2271,3428,3286,3141,3487,3203,2498,2247,2430,2421,2136,2069,2956,3252,3130,3344,3618,3508,3142,2766,2386,2953,3277,2921,2773,2780,2841,2777,2473,2893,3502,3339,3378,3129,3087,3588,3552,3426,3675,3673,3717,3331,3077,2883,3023,3075,3036,3115,3161,2941,3002,3551,4184,3842,3138,2621,2729,2647,2077,2199,2462,2456,2549,2888,2943,2960,3528,3350,3194,3094,3215,3363,3450,3684,4028,4074,3925,4033,4416,4328,3483,2880,3106,3338,3567,3089,2895,3363,3795,3995,3542,2853,3022,2808,2631,2702,2618,2176,2252,2460,2846,2905,3127,2994,2800,3060,3491,3959,3705,3233,3483,3528,3275,1997,1126,1721,2411,2087,1848,1791,1814,2028,1930,2175,1910,1928,1647,1988,3471,3774,3018,2350,2259,2144,2078,1918,2588,3671,3838,3499,3482,3056,2408,1784,1955,2277,2250,1985,2171,2294,2026,1993,2244,2076,2254,2250,2591,2521,2409,2249,2288,2730,3074,2778,2278,2702,3150,3150,3117,3342,2964,2236,2446,2741,2692,2502,2289,2579,2952,2718,2211,1961,2449,1956,2046,1847,2255,2744,2066,1603,1687,1732,1542,1867,2128,1833,1735,1642,1704,1619,1705,1814,2170,3078,2621,1932,2260,2263,2193,2259,2578,2851,2865,3227,3281,3420,2880,1910,1886,2230,1901,1928,2070,1826,2020,2179,1943,1788,1982,2094,2587,2580,2163,1700,1700,1733,1543,2011,2028,2113,1998,2133,2320,1889,1953,2112,2421,2917,2699,2335,2336,1777,1990,1905,1330,1771,2769,3330,2732,1801,1507,2031,2656,2486,2315,2187,2456,2512,2210,1986,2194,2322,2344,2408,2438,2624,2475,1826,1925,2156,2120,2002,1454,1264,1764,2126,2001,2025,2096,1830,1608,1540,1684,1569,1580,1596,1662,2428,2244,1994,1679,1546,1654,1815,1870,1820,1758,1581,1773,1941,2288,2288,2548,2710,2150,1881,1776,1656,1789,1676,1708,2162,2235,2092,1868,1993,2173,2508,2532,2562,2156,2013,2574,2799,2573,2149,2578,2979,3204,3082,2635,2459,2450,2662,2934,3352,3785,3897,3496,3121,3119,3253,2757,2409,2129,2004,1954,2198,2242,2226,2787,3397,3559,3571,2910,2796,2784,2149,1732,2154,1862,1193,1807,2366,1952,1758,2067,2303,2076,1966,2708,2631,2116,1899,2480,2752,2408,2097,2094,2236,2166,2170,2220,2163,1982,2048,1956,2220,2354,2439,2174,1807,2156,2383,1656,2040,2368,2521,2492,2507,3012,3292,3228,3116,2444,2060,1990,1755,2123,2156,2193,2292,2392,2170,2082,2573,3176,3404,3212,2739,2154,1977,2428,1794,1624,1920,2050,2326,2227,2018,1858,2179,2832,3034,2893,2561,2591,2842,2298,1989,1469,1396,1224,1415,1930,2337,2438,2370,2292,1926,1930,2500,2543,2292,1915,1896,2432,2115,1839,2348,2279,1893,1976,2303,2532,2388,2481,2810,2800,2919,2840,2707,2679,2287,1969,2249,2290,1981,2417,2636,2697,2166,2047,2429,3444,3582,2899,2554,2195,1861,1816,1833,2503,2653,2110,2072,1934,1724,1913,2003,2051,2732,3128,2841,2756,2951,3053,2900,2686,2204,2840,3250,2929,2362,2101,2003,2176,2783,3596,3606,3332,2997,3415,3635,2784,3015,3480,3431,3163,2895,2536,2341,2312,2717,3384,3362,2808,2562,2998,2939,2644,2677,2903,2889,2851,2563,2321,2596,2646,2432,2544,2491,2518,2407,2452,2846,3133,2661,2297,2569,3088,3374,3251,2742,2633,3133,3030,2718,2510,2988,3166,3105,3204,3304,3992,4058,3747,2689,2544,3863,3603,3097,2809,2493,2625,3018,3473,3021,2193,2523,2396,2403,2720,2928,2742,2401,2268,2583,3637,3142,2513,2979,3339,3385,2728,2279,2680,2921,2194,2022,2498,2834,2787,2414,1829,1710,2440,2548,2586,2818,2699,2852,3306,3328,3139,3120,3451,3023,2586,2679,1836,1778,1602,1531,1717,3130,2220,1583,1881,3300,3260,2553,2769,2656,1969,2466,2523,2323,3480,2698,2661,2523,2211,2415,2666,2886,2896,2878,2928,2779,2934,3209,3029,2561,2570,2945,3174,3134,3233,3365,2990,2576,3100,3301,3499,3284,2352,2186,2624,2535,2352,2209,2084,2252,2304,2603,2863,2831,2888,3028,3182,2643,3241,2875,2620,2482,2358,2286,2376,2490,2368,2593,2776,2093,2728,3274,2890,2941,2856,2524,2344,2122,2134,2148,2365,2601,2387,2115,2569,2178,2916,2795,3121,3686,3580,3087,2799,2514,1995,1754,2471,2578,1853,2091,2556,2690,2398,1848,1866,2194,2441,2791,2508,2468,2204,1844,1926,1946,1695,1593,1627,1728,1708,1422,1448,1678,1653,1564,1968,2169,2596,2976,2587,1835,1424,1503,1549,1582,1598,1529,1466,1485,1418,1541,1555,1525,1598,1505,1486,1494,1610,1708,1693,1753,1818,1880,1949,1773,1467,1709,1716,2319,1988,1758,2336,2030,1808,2080,2007,1815,1874,2698,2576,2370,2406,2053,1813,1875,1767,1628,1752,2148,2891,2872,2950,2577,2400,2667,2986,2411,2497,3973,4075,3196,2699,2225,2048,2178,2208,2630,2913,3061,3364,3452,3375,2910,2318,3129,3626,3321,3493,3020,2930,2910,2986,3441,3697,3485,3234,3099,3111,3215,3343,3295,3300,3406,3726,3598,3442,2906,2586,3008,3240,3143,2750,2405,2824,3141,3212,2728,2398,2728,2564,2005,2025,2380,2564,2602,2656,2701,2888,2921,3216,3438,2714,2832,3213,3043,3001,2920,2965,2753,1956,1582,1432,1311,1944,2976,3008,2610,2424,2553,2484,2921,3217,2919,2191,1505,2042,2876,2735,2554,1507,1726,2295,2525,2513,2735,3065,2833,2801,2937,2777,2848,2950,2830,2834,2280,2052,2380,2311,2492,2881,2398,1526,1723,1968,2094,2622,2604,2868,2437,2957,2790,2783,3000,3189,2873,2686,2869,2886,2775,2297,2104,1874,1342,1505,2220,2576,2125,1738,1514,1944,2449,1948,1881,2326,1533,1093,1733,1979,1145,842,1873,1854,1983,3095,3764,3647,3053,2428,2275,2915,3339,3671,4304,4232,4218,4627,4612,4187,3994,3104,2558,2566,2686,2498,2387,2547,2656,3396,3802,3419,3035,3198,3110,2894,3318,3450,3042,2995,2699,2172,2148,1759,1910,2220,1720,1823,1749,1884,2249,2286,2090,2042,2330,2191,2300,2790,2349,2842,2520,1699,1851,2265,2307,2294,2483,2473,1968,1893,2057,2150,1824,2338,3055,3211,3263,3087,3018,3198,3327,3310,3597,3721,3686,3350,3305,3241,3288,3427,3532,3598,3829,3617,2896,2257,2768,2661,2063,1893,3232,3407,2495,1622,1340,1859,2575,3008,2651,2452,2354,2234,1957,2010,1837,1758,1966,2436,2592,2642,2788,2796,3264,3154,2864,2788,3024,3016,3017,3602,3773,3315,2963,3097,3229,2635,1801,1801,2309,3255,3585,3586,3527,3177,3409,3742,3905,4215,4140,4078,3948,4143,4652,4413,4308,4024,3683,3557,3683,3797,3807,3718,3610,3648,3143,2902,3519,3660,3826,3912,3847,3650,3563,3585,3673,3859,3674,3181,2289,1726,1452,1583,2198,2106,1801,2032,2282,2668,3134,3166,3284,3340,3360,3458,3317,3090,3145,3218,3399,3815,3808,3162,2916,3217,3337,3377,3500,3300,3536,2584,2124,2316,2206,2110,2244,2476,3186,3509,3165,3223,3517,3206,3271,3525,3575,3863,4294,4576,4644,4552,3739,2961,2502,1638,1712,1652,1702,1616,1610,2231,2385,2545,3195,2964,2282,2492,3249,3331,3107,2790,2798,2898,3427,3815,2737,2201,2069,1991,2576,2578,2062,1930,1868,1830,2155,1924,2483,3049,3070,3200,3460,2558,1627,1610,1692,1541,1837,1938,1829,2087,1942,1642,1602,1782,1963,2055,2099,1958,1901,2314,2470,2300,1745,1576,1646,1858,2216,2352,2198,1908,1926,2051,1783,1566,1766,1948,2930,3633,3010,2740,2604,2166,1859,1714,1828,2139,2124,1903,1962,2167,2290,2050,1705,1935,2632,2452,1775,1815,1787,1730,2419,3311,3133,3078,2820,2288,2452,2520,2144,1814,2110,2265,2029,2126,1685,1845,2110,1810,1620,2098,2526,2499,2609,2727,2029,2175,2390,1997,2327,2454,2248,1576,1569,1808,1924,1761,1705,2248,2962,2761,1849,1787,2291,2258,1963,2131,2043,2326,2548,2287,1705,1440,1636,2121,2902,3300,3430,3481,3266,3150,3200,3143,3186,3132,2799,3406,3959,3611,3360,3282,3262,3308,3243,3334,3364,3364,3167,3181,3321,3270,3207,3251,3234,3164,2809,2741,2562,2502,2546,2603,2822,3309,3710,3829,3873,4120,3774,3335,3382,3537,3835,3977,3874,3536,3458,3443,2921,2983,4068,4149,3449,3796,3933,2679,2635,3540,3458,3206,2782,2603,2718,2544,2199,2155,2644,3436,3460,3558,3451,2026,1280,1387,1665,1885,2003,1916,2139,2151,1689,1698,2074,2379,2363,2262,2275,2690,2645,2215,2404,2788,2440,2198,2201,2096,2531,2706,3098,3544,3030,2778,2391,2750,2745,2444,2376,2462,2194,1772,2186,2740,2728,2497,2620,2293,2059,2346,2250,2022,1826,1954,2155,2472,3199,2899,1862,1746,2144,2322,2407,2327,2320,2020,2075,2363,2171,1980,2169,1983,2209,2387,2135,2096,2317,2220,1784,1918,2241,1903,1897,2270,2511,2633,2652,2051,1839,1579,1762,2273,2175,2416,2056,1593,1625,2146,2496,2455,2458,2767,2943,2856,2795,2991,3088,2856,2573,2447,1895,1906,1891,2267,2289,2835,3474,3642,3607,2890,2121,2091,2364,2659,2529,2459,2552,2657,2719,2636,1774,1466,1401,1199,1443,1405,1386,1328,1620,1893,2304,2598,2751,3055,3074,2908,2790,2957,3055,2798,2241,2114,2054,2064,2497,2499,2467,2280,2352,2566,2724,2828,2686,2691,2975,3198,2982,2585,2666,3041,3301,3191,2220,1812,2167,2261,2029,2103,1872,1906,2546,2292,2045,2338,2157,2418,2811,2635,2032,1758,2149,2520,2258,2456,2083,2132,2764,2470,2267,2343,2292,2421,2730,2326,1934,2094,2765,2737,2268,2348,2736,2839,3045,3463,3519,3298,3565,3344,2567,2217,2630,2447,2101,1866,1458,1365,1827,2664,3580,3674,3250,2856,2786,2567,1985,1863,2048,2028,1942,1693,1943,2631,3521,3902,3424,3431,3552,3081,2443,1656,1681,1821,1979,2460,2339,2309,2999,3375,3276,3207,3311,3133],[3291,3276,2861,2769,2541,2483,2296,2298,2568,2830,2237,2317,2570,3345,3021,2766,3295,3203,2735,2836,2653,2259,2269,2690,3384,3062,2788,3027,3551,3739,3736,3195,2842,3453,3348,3121,3142,3123,3043,3109,2907,2816,3002,3049,3116,2820,2642,2888,3154,3539,3718,3721,3656,3230,2894,3088,3201,3118,3176,3034,2866,2844,3021,3113,3635,3449,3300,3193,3065,2791,2131,1908,2110,2359,2961,3538,3554,3065,2990,3020,3307,3513,3864,3540,3396,3629,3772,3905,4023,4094,4162,4002,3482,3270,3528,3344,3606,3302,3104,3394,3605,3753,3291,2760,2980,2538,2576,2823,2873,2576,2087,1964,2166,2352,2747,2607,2438,2655,3207,4039,4113,3930,3940,3899,3582,2564,1653,1771,2126,1813,1675,1873,2365,2824,2299,2503,1804,1464,1316,1810,2921,2746,2077,2285,2161,1814,2365,1942,2193,2761,3487,3696,3742,3078,2107,1685,1791,1952,2042,2326,2621,2235,2000,2027,2121,2135,2083,1978,2631,2774,2374,2165,2458,2746,2973,2807,2526,2980,3208,3078,3040,3011,2691,1524,1740,2919,2720,2302,2231,1971,1982,1814,2333,2509,2449,1970,1873,1697,2288,2614,2050,1662,1682,1937,1689,1763,2162,1852,1831,1836,1626,1496,1681,1963,2693,3090,2818,2278,2013,1884,1942,2335,1946,1934,2221,2842,3299,3284,2448,1836,2259,2647,1864,1727,1810,1831,1960,2026,2094,2646,2557,2236,2532,2730,2401,1734,1704,1776,1980,2370,2317,2136,1999,2300,2197,1523,1541,1986,2602,2938,2920,2555,2240,1957,2053,2082,1415,1738,2754,3165,2614,1859,1929,1900,2197,2360,2379,2458,2653,2486,2049,1665,1902,2229,2241,2221,2280,2510,2261,1786,1776,2076,1924,1640,1321,1416,1875,2066,1982,2246,2333,2287,1801,1660,1781,1861,1825,1604,1828,2054,1672,1727,1818,1696,1799,1807,1881,1870,1786,1685,1630,1967,2486,2460,2901,2821,2071,1528,1429,1496,1854,1824,1799,2399,2637,2388,2062,2288,2561,2786,3140,2901,2151,2000,2652,3000,3027,2530,2609,2806,3085,3182,2735,2482,2790,2890,3166,3486,3535,3516,2780,2673,3132,3123,2618,2242,1997,1854,1813,1944,2336,2715,3040,3107,3294,3584,3188,2886,2598,1931,1618,2578,3044,2355,2707,2476,2013,2146,2259,2449,2538,2450,2735,2526,2033,1842,2024,2337,2476,2282,2698,2835,2170,2040,2128,2071,2244,2164,2126,2230,1811,2279,2554,2152,2276,2047,1570,1936,2404,2834,2777,2609,2718,3105,3205,2791,2213,1520,1364,1668,2040,1733,1539,1953,2455,2709,2861,3016,2989,2553,2382,2482,2502,1987,2299,1830,1847,1781,1741,1867,1987,2003,1912,2364,3062,2673,2203,1928,2172,2328,1910,1759,1512,1505,1537,1812,2083,2509,2447,2252,2172,2194,2553,2709,2463,2280,2002,2297,2809,2265,1891,2706,2512,2187,2123,2326,2633,2651,2706,2819,2727,2744,2856,2958,2910,2571,2509,2337,2285,2315,2151,2281,2276,2620,3111,3420,3660,3237,2453,2441,2689,2490,2213,1788,2656,2641,2576,2381,2036,1806,1946,2098,2455,2999,3377,2985,2999,3384,3155,2542,2240,2028,2391,2541,2212,1927,2052,2288,1970,2054,2480,2832,3100,3176,3544,3570,3395,3289,3189,3354,3583,3194,2713,2207,2443,3220,3804,3448,3296,3209,3278,3416,3282,3172,3122,3019,3195,2827,2557,2531,2284,2317,2687,2688,2459,2300,2483,2751,2584,2197,2142,2567,3177,2977,2792,2655,2512,2787,3110,3088,2557,2521,2736,3245,3518,3281,3652,3864,3234,3165,3617,4161,3580,3281,3274,3106,2878,2937,3552,3124,2483,3132,2679,2374,2344,2167,2274,2584,2612,2921,3429,3259,2830,2949,2874,3209,2707,2260,2598,2895,2359,2002,2023,2377,2696,2477,2178,2108,2609,2867,3366,3448,2910,2439,2961,3816,3552,2630,2500,2747,2196,2500,2006,2203,1825,1663,1411,2953,2645,1433,2144,3618,3787,2613,2265,2302,2032,2576,2402,2241,3156,2287,2240,2667,2470,2723,3207,3393,3001,2406,2588,3293,3226,3488,3240,3128,3210,3322,3351,3292,3406,3645,3395,2849,3065,2736,3156,3018,2173,1843,2222,2316,2237,2010,2512,3022,2460,2411,2720,2971,2692,2564,2564,2019,2271,2602,2728,2909,2922,2503,1995,2295,2184,2241,2188,2232,2489,2653,2565,2596,2430,2156,2352,2263,2243,2194,2178,2241,2450,2322,2200,2080,2435,2739,2849,2968,3146,3054,2798,2171,2126,1966,2737,2586,1936,2420,2666,2648,2414,1764,1808,2371,2567,2792,2279,2573,2192,1883,2025,1936,1676,1519,1518,1678,1538,1293,1566,1682,1687,1575,2132,2099,2592,2970,2543,1956,1647,1474,1380,1387,1313,1434,1440,1832,1724,1796,1750,1517,1584,1666,1604,1827,2452,2441,1779,1808,1793,2179,2096,1710,1580,1747,1744,2139,2208,1869,2089,2056,2332,2976,2677,2280,2519,2788,2663,2465,2152,1881,1869,1997,1942,1736,1716,1907,2855,2900,2827,2509,1656,1787,2897,2676,2467,3917,3772,2858,2360,2170,1932,2046,2328,2644,2705,2950,3626,3427,3140,3174,2846,2752,3144,3314,3557,3653,3561,2967,2944,3610,3499,3250,3365,3292,3360,3459,3548,3390,3454,3716,4016,3419,2967,3000,2785,3064,3286,3282,2852,2246,2250,2784,2695,2475,2225,2330,2338,2157,2162,2556,2744,2713,2708,2840,2920,2930,2540,2412,2368,2867,2620,2809,3254,2685,2422,2110,1932,1731,1849,1729,2280,3154,2881,2231,2745,3362,3092,3292,3695,3133,2360,1774,2106,2913,2458,2632,2533,2584,2950,2869,2648,3011,3204,3123,3296,3338,2881,2732,3338,3160,2487,2119,1981,2301,2364,2599,2923,2146,1400,2115,2408,2496,2386,2124,2258,2416,2521,2375,2693,2962,2709,2343,2879,3231,3198,3203,2321,1885,1697,1575,2039,2675,2768,2296,1780,1413,1288,1510,1642,1570,1685,1354,1075,1796,1945,1087,785,1813,1953,1981,3119,3435,3285,2888,2403,2430,3177,3343,3488,3999,4341,4188,4291,4508,4580,3984,2988,2961,2966,2964,3065,3108,2939,2646,2629,3038,3083,2851,3072,3148,2932,3230,3342,3414,3544,3033,2777,2641,1999,1698,1758,1639,1540,1666,2057,2187,2352,2445,2699,2437,2375,2323,2186,2037,2213,2147,2181,2724,2552,2072,2154,2876,2194,2136,2555,2598,2231,1679,2196,2895,2965,2878,2526,2430,2754,2819,3510,3798,3859,3918,3780,3641,3683,3724,3876,3905,3619,3580,3010,2557,2379,2795,2741,1840,1746,2641,2514,1969,1535,1423,2000,2602,2774,2674,2206,2081,1949,1863,1823,1503,1348,1827,2814,3266,3408,3675,3389,3203,3055,3285,3328,3227,2888,2875,3516,3894,3549,3028,3063,3226,2485,2206,2943,3128,3495,3839,3993,3727,3183,3310,3618,3836,4230,4300,4049,3779,4170,4620,4392,4364,4488,4140,3946,4049,3881,3848,3936,3840,3883,3939,3872,3860,3962,4094,4183,4108,3829,3526,3276,3166,2977,2448,2913,2885,1858,1404,1528,2087,2535,2572,2932,3279,3522,3719,3404,3218,3514,3580,3340,3285,3294,3236,3275,3737,4063,3771,3310,3580,3884,3725,3550,3689,3319,3500,2754,2135,2262,2106,2132,2391,2855,3603,3772,3109,2798,3037,2851,3089,3509,3578,3830,4311,4551,4796,4504,3988,3917,2952,1924,2244,1907,1663,1855,2143,2733,2713,2568,2313,1955,2070,2714,3394,3482,3197,2686,2430,1903,2361,2784,2206,2447,2686,2243,2402,2253,2393,2767,2751,2396,2477,2093,2334,3357,3372,3239,3609,2831,1856,1749,1711,1903,2170,2208,2199,2133,2121,1853,1613,1784,1994,2280,2252,2010,2114,2680,2706,2248,1765,1793,1743,1798,2071,2152,2205,2267,1670,1704,1713,1876,2392,2113,2717,3338,2973,2701,2579,2259,1973,1843,2147,2493,2264,2492,2155,2072,2364,2076,1880,2133,2389,2163,1549,1604,1751,2055,2251,3122,3845,3180,2291,2131,2866,3097,2262,2023,2686,2863,2329,2206,1964,2157,2214,1788,2085,2362,2534,2387,2509,2707,2160,1942,2151,2342,2082,2210,2140,1417,1559,2171,2117,1709,1537,1878,2490,2257,1619,2002,2425,2398,2427,2530,2189,2213,2119,2304,2512,2584,2853,3007,3108,3247,3426,3142,3231,3362,3252,3196,3355,3388,3486,4168,4400,3958,3388,3296,3431,3347,3360,3296,3421,3675,3626,3418,3297,3264,3163,3286,3274,2797,2410,2624,2667,2438,2514,2710,3063,3347,3525,3442,3492,3594,3380,3387,3841,4255,4368,4206,4010,3637,3558,3638,3495,3261,3614,3827,3920,4016,3263,2353,2718,3316,3620,3453,2929,2618,3086,3401,2897,2746,3344,3609,2989,3441,2993,2002,1268,992,1232,2046,2702,2496,2540,2266,1504,1696,1810,2336,2864,3003,2880,2798,2630,2063,1950,2059,2041,1941,1823,1904,2042,2054,2372,2245,2041,2005,1953,2199,2489,2279,2098,2119,2046,2032,2508,2996,2735,2297,2854,2444,1998,2245,1771,2129,1991,2015,2244,2624,2837,2666,2020,2076,2186,2106,1936,1527,1495,1734,2272,2356,2858,2647,2587,2852,2890,2480,2357,2391,2268,1993,2035,2560,2825,2027,1906,2434,2777,2732,2626,2066,1624,1617,1809,1880,1986,2508,1901,1727,1838,1889,2071,2443,3046,2888,2406,2520,2907,2757,2785,2906,3061,2766,2395,2287,2004,2217,2237,2428,3001,3486,3475,2907,2216,2392,2698,3033,2491,2370,2746,2733,2498,2400,1809,1371,1693,2138,2720,3167,3295,3023,3008,2776,2839,3075,2873,2667,2399,1810,1923,3153,2998,2303,1984,1924,1933,2146,2524,2292,2276,2491,2541,2535,2625,2974,2954,2601,2705,3022,3045,2552,2510,2775,3006,2896,2667,2562,2362,2206,2182,2501,2257,2231,2094,1977,1551,1524,1818,2191,2575,2427,2090,2441,2852,2969,2670,2952,2734,2172,2363,2843,3012,2753,2213,2122,2642,2210,2013,2367,2645,2383,2046,1802,2034,2039,2313,2896,3174,3553,4289,4085,3396,2475,2750,2480,2156,1743,1569,1735,1761,2772,3929,4018,3723,4026,4345,3570,2339,2105,2372,3057,2334,1388,1593,2522,3277,3378,3206,3411,3578,2732,1975,1782,2044,2217,2415,2784,2661,2540,2982,3064,2920,3354,3559,3369],[3536,3432,3360,2986,2199,2314,2531,2840,2645,2469,2518,2754,2653,2579,2457,2735,3310,2971,2387,2250,1730,2014,2496,2420,2456,2373,2545,3227,3436,3372,3431,3339,3325,3010,2167,2171,2676,3008,2876,2599,2647,2654,2701,2890,2888,2723,2648,2809,2944,3375,3609,3723,3594,3250,3156,3319,3379,3316,3276,3286,3506,3188,3238,3314,3619,3651,3784,3716,3759,3317,2361,2225,2409,2755,3486,3883,3907,3715,3398,3316,3398,3559,3726,3686,3398,3265,3398,3497,3460,3767,3925,3782,3570,3549,3611,3750,3958,3812,3764,3772,3714,3828,3555,3288,3001,2544,2854,2966,2987,3001,2580,2252,2276,2230,2192,2228,2637,2790,3646,3985,4188,4260,4006,3507,3111,2673,1982,1864,1798,1729,2271,2265,2410,2753,2340,2041,2063,1858,1949,2358,2430,2901,2720,2312,1980,1854,2192,2170,2326,2408,3116,3510,3200,2440,2144,1923,1937,2137,2028,1743,1865,2186,2300,2342,2053,2376,2177,2194,2930,2791,2330,2005,1968,2389,2812,2907,2611,2924,2987,2874,2575,2813,2787,1656,1794,2561,2310,2055,2265,1916,1620,1676,2670,2565,1829,1695,1777,1742,1916,1952,1644,1511,1858,2118,1825,2140,2164,1830,2086,2010,1688,1744,1702,1910,2475,2790,2630,2600,2290,1977,2152,2209,1926,1785,1833,1781,2266,2586,2498,2687,2984,2658,1697,1749,2403,2244,2092,2054,2619,3231,2680,2181,2467,2752,2003,1859,1777,1348,1666,2198,2251,1543,1199,1822,2035,1831,2120,2383,2696,2697,2773,2979,3132,2563,2119,2164,1614,1755,2952,2950,2451,2731,3002,2298,2094,2359,2534,2568,2438,2511,2388,1690,1283,1583,2208,2276,1977,2203,1991,1739,2047,2115,1741,1513,1494,1470,1928,2359,2122,2276,2272,2533,2297,1928,1898,1853,1814,1908,1876,1484,1470,1610,1612,1771,1837,1856,2014,1910,1776,1761,1553,1388,1612,2060,1966,1553,1550,1755,1462,1491,1674,1609,1597,2307,2943,2565,2022,2280,2610,2843,3318,3223,2744,2800,3008,3124,3066,2897,2873,2967,3379,3757,3407,3088,3064,2890,3322,3628,3530,3548,2799,2909,3350,2881,2278,2133,1959,1848,1853,2225,2776,2493,2138,2379,3129,3366,3318,2787,2104,2017,2158,2874,2801,2677,3171,2674,2020,2343,2518,2511,2798,2575,2208,2167,2033,1866,2271,2513,2250,2096,3146,3270,2198,2301,2556,2155,2175,2191,2214,2348,1870,2119,2663,2254,2151,1843,1548,1556,2315,3016,2950,2714,2944,3099,3098,2827,2328,1521,1372,1795,2258,1912,1613,1849,2322,2903,3028,3144,2931,2247,2036,1918,2371,1886,1739,2149,2366,2134,1906,1785,1750,1808,1863,2016,2059,1791,1586,1696,2164,2208,2159,1914,1643,1791,2150,2458,2319,2561,2344,2194,2398,2099,2402,2535,2258,2182,2155,1860,1808,1886,2026,2866,2723,2521,2710,2807,2652,2393,2364,2557,2658,2850,2854,2850,2958,2975,3265,2922,2574,2313,2237,2272,2237,2777,3312,3345,3146,2830,2385,2550,3116,2999,2178,1678,2627,3011,2935,2889,2366,1869,1743,1586,1930,2588,2812,2961,3154,3262,2470,1809,1873,2205,2209,1910,1938,2051,1928,2494,2062,2347,2219,2140,2598,3321,4006,3670,3287,3187,3118,3489,3940,3671,3064,2322,2652,3684,3991,3791,3615,3473,3333,3277,3396,3362,2884,3010,3007,2908,3010,2929,2272,2324,2721,2647,2452,2317,2016,2099,2197,2138,2303,2543,2886,2583,2498,2500,2390,2415,2585,3270,3522,3371,2654,3382,3779,3982,3872,3477,2314,2546,3421,3862,3930,3460,3217,3337,2964,2801,2706,2445,2232,3104,3121,2529,2250,2260,2082,2203,2708,3103,2687,2596,2553,2707,3037,2938,2472,2975,3104,3128,2897,2067,1813,2075,2564,2928,2701,2668,3057,3187,2967,2749,2444,2588,3538,4131,3437,2247,1925,2602,2066,2679,2674,2546,1940,1701,1484,2150,2035,1663,2261,2857,3472,2755,1786,2303,2286,2406,2508,2189,2564,2331,2347,2589,2338,2849,3354,3842,3421,2500,2170,2840,3514,3720,3253,3184,3480,3586,3481,3583,3776,3949,3309,3436,2872,2389,2634,2391,1758,1870,2310,2257,2050,2060,2336,2824,2590,2204,2945,3938,3426,2845,2479,2029,2102,2303,2448,2975,3277,2613,2066,1913,2449,2396,2200,2458,2347,2553,2588,2776,2842,2288,2438,2291,2122,2398,2165,2001,2208,2544,2330,2445,2958,2802,2744,3197,3322,2886,2426,1937,1945,2269,2812,2159,1948,2503,2631,2775,2540,1754,1742,2394,2371,2770,2291,2713,2404,1995,2014,1761,1398,1345,1559,1477,1306,1293,1542,1644,1702,1626,1815,2079,2590,2455,1859,1689,1491,1345,1585,1454,1419,1520,1465,1642,1534,1556,1585,1599,1682,1632,1784,2696,3221,3001,2426,2291,1932,1965,1784,1666,1642,1620,1528,1698,1968,1917,1985,2245,2271,2521,2218,1913,2122,2100,2094,2139,2082,2289,2510,2275,2127,2183,2440,2645,3619,3935,4204,3141,1365,1649,3017,2872,2902,4133,3454,2880,2888,2729,2460,2137,2116,2448,2563,2967,3122,2557,2883,3255,3068,2531,2916,3565,4093,3826,3430,3212,3314,3697,3526,3355,3228,3292,3334,3360,3480,3602,3750,3870,3928,3530,3250,3235,2574,2398,2876,3475,3322,2047,1920,2699,2648,2343,2156,2211,2414,2275,2214,2467,2573,2803,2865,2952,3270,2973,2322,1979,2297,2706,2116,2155,2652,2396,2084,1482,1720,1910,2021,1973,2396,2765,2225,1843,2436,2832,3031,3260,3293,3098,2908,2325,2166,2311,2361,2866,3044,3074,3248,2877,2800,2917,2884,2965,3260,3326,2986,2496,3238,3038,2453,2447,2801,2655,2322,2437,2260,1703,2056,2513,2864,2770,2224,2321,3298,3718,2773,2225,2561,2575,2424,2264,2392,2303,2874,3574,2733,2099,1922,1936,2376,2764,2698,2335,1886,1820,1538,1465,1460,1591,1850,1783,1807,2288,2086,1261,933,1660,1927,1878,3104,3310,3037,3008,2653,2787,3476,3751,3428,3488,3828,3751,3894,4124,4612,4553,4037,3708,3804,3905,4083,4082,4112,4028,3485,3132,2724,2334,2803,3079,3152,3352,3274,3334,3672,3491,3149,3056,2745,2437,2104,1656,1528,1583,1842,1693,1360,1461,2019,2009,1910,2089,1968,1784,1991,1936,1975,2373,2210,2031,2418,2807,2120,2583,2669,2385,2006,1709,2249,2447,2384,2092,1922,1660,1770,2210,3348,3862,3830,3714,3714,3747,3933,3737,3912,3583,3296,3184,2342,2511,3333,3642,3450,2393,1730,1754,1508,1481,1454,1921,2577,2751,2361,2259,2169,1926,1603,1789,2126,1818,1547,1830,2680,2713,3146,3695,3532,3576,3532,3276,3256,2977,2580,2727,3211,3572,3837,3339,3288,3375,3097,2926,3366,3522,3544,3753,3963,3859,3768,3898,3964,4006,3928,4050,4078,4227,4640,4796,4732,4664,4452,4335,4532,4332,3882,3751,4012,3971,4006,4168,4183,4067,4121,4331,4386,4284,3750,2757,2004,1783,1461,937,1432,2147,1881,1650,1661,2381,3372,3482,3542,3457,3504,3671,3708,3530,3780,3846,3480,3054,3006,3279,3480,3843,3902,3776,3658,4006,4086,3635,3636,3711,3694,3597,2844,2379,2438,2413,2829,3141,3360,3784,4056,3378,2806,2865,3128,3232,3444,3762,4048,4140,4124,4528,4139,4047,4107,3526,2474,2464,2012,1663,1927,2551,3219,3054,2388,2068,2362,2929,3286,3353,3419,3371,2330,1571,1659,1843,1917,1894,2137,2530,2260,1702,1659,3100,3958,3414,2897,2317,1941,2577,3397,3704,3426,2713,2343,1944,1889,1687,1902,1902,1938,2064,1937,1973,1943,1691,1748,1987,2121,2759,2878,2415,2482,2576,2055,1575,1780,2067,2017,1837,1834,2151,2318,1921,2075,2104,2522,2875,2338,2629,3292,3216,2919,2599,2493,2265,2070,1844,2102,2220,2885,2764,2546,2379,2026,2023,2025,2057,2294,2236,1690,1600,1798,2088,2622,3019,2536,1806,2026,3155,3680,2800,2548,2706,2566,1979,1930,2309,2176,1970,1836,1924,1917,1966,2339,2788,2840,2304,2080,2196,2680,2469,2595,2241,1592,1748,2242,2060,1487,1308,1653,2158,2292,1862,2425,2685,3108,3200,2751,2458,2279,1883,2092,2316,2618,2231,3119,3283,3488,3416,3172,3283,3393,3343,3304,3388,3592,4184,4607,4431,4164,3519,3431,3740,3625,3564,3412,3598,3875,3715,3444,3290,3242,3312,3359,3022,2482,2285,2630,2944,2944,2855,2994,3198,3327,3448,3371,3314,3364,3487,4019,4641,5040,5048,4760,4164,3818,3737,3808,3771,3297,3305,3834,3949,3835,3119,2921,3212,3198,3023,3239,3340,3154,3142,3124,2631,2337,2900,3288,3537,4100,3930,3305,2484,1707,1505,2240,3180,2855,2999,2339,1913,2146,2225,3199,3930,3753,3648,3746,3204,1892,1834,2189,1881,1780,1929,1890,1903,2033,2072,1954,1647,1858,2050,2248,2895,2736,2305,2297,2557,2796,2800,3005,2523,2254,2739,2511,2316,2414,1117,1706,1688,1576,1656,2066,2420,2316,2120,2309,2212,1622,1417,1494,1878,2322,2478,2210,2824,3134,3121,3174,2853,2336,2289,2041,1798,1387,1471,2503,2796,2076,1792,1935,2216,2483,2535,1974,1487,1655,1904,1882,2186,2284,1769,1811,1890,1828,1713,2325,2810,2341,2048,2374,2965,2677,1991,2312,2742,2696,2798,2530,2001,1900,2038,2125,2576,3239,3204,2833,2336,2692,3010,2492,1875,2264,2841,2734,2953,3243,3064,3216,3675,3782,3781,3938,3851,3552,2916,2314,2164,2184,2226,2152,2032,1626,1835,2818,2358,2304,2093,1909,2088,2226,2453,2512,2429,2540,2551,2632,2871,3205,3196,2834,2590,2644,2653,2518,2647,2779,2642,2602,2562,2394,2342,1948,1930,2196,1984,1866,1690,1466,1416,1913,2231,2409,2934,2618,2165,2428,2798,2684,2941,3183,3130,2780,2259,2509,3029,2458,2045,2046,2005,2043,2226,1807,1919,2072,1716,1566,1561,1607,1860,2337,2946,3684,4328,4518,4240,3436,2757,2562,2455,1927,1510,1334,1714,3099,4107,4483,3729,3738,3791,3609,3132,2471,2385,2866,2455,1724,1857,2482,2750,2833,2920,3078,3266,2223,1621,1734,1625,1336,1970,2938,3015,2691,2942,3046,3074,3455,3703,3638],[3404,3242,3001,2880,2855,3244,3485,3597,3338,2790,2600,2609,2565,2591,2467,2971,3768,3308,2688,2502,1764,2167,2630,2495,2523,2311,2420,3188,3362,3552,3294,3530,3577,2941,1935,1954,1946,2429,2631,2161,2232,2551,2717,2819,2643,2876,2862,2964,2877,3309,3514,3573,3438,3094,3064,3049,3065,3107,3094,3016,3574,3684,3565,3677,3807,3975,3919,3715,3782,3574,2735,2856,3262,3343,3716,3747,3776,3762,3451,3192,3126,3332,3637,3694,3109,3108,3577,3350,3271,3747,4173,4128,4034,3937,3938,3956,3676,3541,3592,3666,3655,3502,3371,3331,2996,2944,2980,2972,2956,2854,2843,3021,3497,3352,2718,2885,3177,3296,3965,3913,3986,4002,3532,3229,2987,2300,2004,1837,1531,1837,2310,2098,1877,1735,1751,1936,2534,2814,2766,2679,2256,2537,2050,1604,1553,1956,2127,2136,2464,2562,3013,3508,2712,2193,2558,2747,2265,2253,1907,1609,1725,2024,2227,2193,1973,2447,2588,2550,2907,2897,2488,2264,1888,2656,2910,2972,2880,2843,2709,2946,3262,3278,2496,2135,2577,2494,2780,2762,2669,2424,1906,2283,2896,2500,2054,2167,2250,2275,2027,1966,1672,1974,2533,2535,2004,2176,2232,1977,1830,1731,1703,1621,2030,2578,2537,2508,2214,2600,2747,2307,2170,2621,2676,2034,1729,1742,2115,2056,2196,2642,2769,2220,1655,2344,2620,2191,1967,1870,2498,2844,2659,2498,2792,3083,2116,2100,1865,1711,2003,1991,1936,1847,1765,1679,1715,2030,1795,2322,2820,2525,3168,3847,3912,3270,2209,1980,1665,1971,3113,3020,2876,2809,2810,2529,2470,2688,2736,2728,2758,2590,2097,1750,1216,1534,2153,2151,2157,2294,2128,2233,2189,1860,1667,1751,1870,1809,1896,2062,2108,2026,2436,3150,3066,2314,1843,1727,1524,1735,1903,1592,1747,1596,1697,1899,1981,1778,1517,1712,1953,1820,1465,1186,1169,1252,1129,1214,1868,2157,1733,1711,1799,1855,1829,2243,2314,2003,2101,2214,2452,3074,3327,3160,2901,3063,3198,3261,3182,3018,2923,3000,3333,3740,3745,3812,3674,3190,3486,3920,3881,3597,2951,3145,3419,2755,2095,1984,1913,1819,1832,2388,2803,2604,2519,2740,3130,3031,2902,2878,2555,2480,2604,3041,2916,3116,3021,2619,2379,2524,2574,2421,2189,2099,2365,2420,2362,2114,3311,3459,2225,1706,2596,2381,2262,2932,2463,1911,1935,1988,2119,2492,2052,1880,2279,2183,2094,2114,1774,1431,2072,2922,2887,2657,3040,3121,2930,2715,2212,1938,1871,1882,2200,1886,1576,1596,1969,2922,3420,3372,2995,2307,1928,1959,1973,1612,1567,1691,1796,1880,1809,1814,1933,1926,1823,1992,1882,1707,1732,2172,2570,2555,2496,2109,2193,2120,2334,2616,2404,2114,1918,2158,2322,1988,2231,2676,2356,1815,1814,1815,1991,2011,2020,2298,2763,2831,2995,3109,3051,2661,2396,2497,2415,2697,2548,2600,3129,2895,2680,2627,2362,2128,2270,2296,2464,2901,2998,2774,2776,2701,2409,2158,2588,2964,2597,1895,2259,2608,2494,2658,2355,1814,1714,1772,2137,2282,2109,2259,2457,2380,1905,1757,2146,2153,1893,1958,2368,2398,2271,2455,1792,1986,2365,2364,2042,2414,3139,3312,3015,2708,2475,2958,3655,3782,3271,2719,3263,3890,4001,3719,3396,3492,3925,4002,4110,3627,2945,3255,3292,3331,3627,3433,2679,2382,2455,2610,2723,2595,2250,2395,2547,2700,2750,2812,2848,2388,2350,2498,2360,2194,2112,3134,3813,3938,3285,3221,3454,3532,3876,2940,1968,2783,3181,3161,3256,3272,3476,3606,3163,2560,2303,2121,1957,2438,3241,3114,2476,2673,2310,2217,2207,2824,2699,2809,3292,3292,3226,2694,2731,3747,3943,3451,3219,2901,1891,1865,1910,3339,3163,2302,2326,2429,2791,2608,2066,2958,3351,3703,3351,3171,2674,3138,2259,2551,2902,3007,2336,1590,1527,1621,1764,1913,2306,2508,2483,2617,2061,2552,2518,2285,2200,2075,2390,2476,2375,2465,2221,2750,3410,4086,4115,3721,3283,3523,3743,3553,3348,3261,3536,3548,3277,3668,3719,4108,3019,3320,3382,2710,2523,2352,2291,2431,2420,2569,2284,2250,2004,2039,2285,2051,2324,3183,3057,2385,2120,2454,2910,2679,2385,2819,2858,2588,2409,1963,2316,2335,2254,2366,2288,2618,2712,2567,2363,2091,2448,2388,2243,2135,1910,1762,1941,2099,1924,2403,3045,2876,2979,3334,3465,2844,2318,2244,2214,2547,2453,1790,2206,2587,2515,2585,2441,1848,1763,2313,2380,2790,2465,2814,2934,2156,1856,1529,1346,1917,1579,1311,1338,1437,1666,2052,1913,1520,1710,2181,2580,2397,1720,1537,1554,1527,1664,1498,1444,1558,1518,1494,1486,1442,1460,1571,1630,1670,2005,2715,2667,2976,2767,2239,1755,1669,1640,1526,1617,1535,1497,1626,1690,1847,1732,1736,1550,1588,1564,1660,1843,1722,2123,2435,2353,3235,3265,2766,2545,3005,3448,3688,4229,4473,4241,3106,1839,2015,3245,2927,3231,3935,3094,2545,2747,2964,2790,2364,2092,2253,2622,3561,3323,3208,3383,3408,3198,2334,2087,2619,3263,3230,2854,2914,3288,3683,3567,3375,3142,3298,3364,3436,3670,3815,3784,3603,3544,4100,4096,4097,2662,2206,2845,3635,3328,2280,2353,2903,2711,2249,2449,2967,2995,2664,2431,2561,2742,2978,3199,3037,3319,2798,2007,2100,2685,2835,2412,2471,2802,2718,2528,1712,1641,1825,1745,1938,2406,2606,2225,2230,2444,2950,3391,3195,2732,2609,2556,2361,2601,2149,1860,2355,2789,3002,2624,2170,2931,2850,2835,3008,3068,3198,3100,2743,3241,3254,2626,2763,3128,2519,2084,2169,1981,1986,2627,2658,3198,2832,2280,2922,3781,3610,2608,2061,2209,2504,2657,2452,2315,2245,2446,2939,2680,2458,2063,1602,1585,2359,2830,2677,1939,1947,1953,2106,2122,2467,3019,3451,3851,3373,2249,1273,902,1561,1904,1826,3152,3676,3433,3311,2980,3029,3547,3824,3452,3232,3398,3484,3731,3967,4488,4696,4504,4119,3740,3602,3819,3949,4072,4308,4402,4232,3639,3049,3082,3151,3369,3298,3082,3262,3587,3275,2989,3129,3116,3041,2686,2406,2112,1740,1945,1905,1297,1293,1937,1887,1376,1586,1786,1706,2097,2179,2427,2236,2128,2040,2425,2429,2226,2264,2481,2501,1630,1871,2344,2442,2338,2105,1813,1617,1757,1811,2149,2652,3205,3772,3710,3586,3837,3893,3783,3040,2988,2723,2095,2665,3393,3438,2859,2026,1954,1724,1196,1190,1489,1859,2384,2797,2676,2179,1841,1562,1120,1227,1813,2250,2352,2515,2780,2838,3359,3505,3674,4034,3753,3411,3386,2767,2565,3011,3589,3867,3963,3759,3614,3704,3961,4015,3938,3732,3460,3761,3908,4140,4473,4401,4197,4053,3583,3482,3937,4429,4605,4687,4808,4675,4098,4011,4605,4619,4264,4096,4082,3880,4046,4196,4212,4163,4079,4167,4275,4156,3317,2248,1716,1490,1126,697,664,870,1268,1576,1694,2453,3459,3600,3417,2813,2863,3284,3680,3596,3724,3859,3576,3067,2879,3176,3592,3658,3582,3375,3410,3659,3521,3563,3761,3717,3942,3865,2819,2107,2390,2800,3223,3532,3196,3712,3850,3220,2855,3096,3276,3123,3343,3918,4148,3841,4035,4385,4585,4684,4497,3440,2214,1866,1597,1531,1779,2532,3672,3537,3101,2403,2786,3449,3443,3397,3480,3349,2301,1494,1712,1975,2349,2178,1712,1795,1954,1901,1913,2756,3609,3357,2664,2181,2546,3077,3033,2663,3151,2316,1887,1722,1654,1463,1455,1479,1569,1705,1685,1715,1588,1769,1820,2018,1668,2022,2597,2496,2192,2633,2802,2339,2228,2504,2302,1729,1936,2166,2410,2504,2936,2504,1877,1840,2171,2896,3116,3023,2556,2111,2547,2946,2856,2063,1939,2071,2204,2141,2147,2020,2104,2139,2102,2104,2600,2663,1718,1530,1518,1630,2003,2390,1933,1570,2259,3240,3651,3316,3182,3121,2781,2092,2420,3531,3275,2333,1947,1992,2158,2178,2742,3188,3543,2485,2024,2505,3054,2763,2512,2162,1795,1738,1931,2218,2336,2565,3203,3342,3163,3062,3360,3430,4090,3792,2508,2087,2055,2060,2525,2843,3226,2704,3209,3476,3660,3596,3394,3193,3182,3335,3388,3346,3740,4316,4523,4299,4089,3575,3428,3688,3727,3526,3341,3506,3561,3442,3377,3331,3298,3387,3204,2978,2596,2480,2879,3052,3118,3248,3216,3236,3343,3429,3376,3319,3428,3848,4284,4778,5185,5244,4792,4091,3779,3808,3853,3897,3620,3609,3828,3304,3153,3338,2976,2766,2770,2451,2709,2958,3507,3277,2989,2909,3042,3088,3145,3942,4541,4441,4076,3361,2649,2354,2589,2945,2329,2375,2261,2350,2402,2522,3319,3585,3543,3824,3912,3217,1919,2155,1945,1650,1829,1699,1316,1788,2494,2355,2300,1968,2586,2565,2562,2730,2520,2496,2340,2291,2464,2823,2811,2274,2233,2508,2671,2701,2569,2168,2473,2129,1744,1563,1713,2103,2046,2084,1954,1864,1759,1791,2421,2327,2409,2302,2217,2471,2774,2752,2733,2682,2325,1903,1625,1915,1774,1663,2481,2309,1775,1776,1870,2155,2486,2657,2355,2003,1552,1490,1462,2060,2413,2045,1678,1836,1983,1817,2021,2300,2404,2735,2686,3162,2809,2003,2006,2175,2263,2235,1975,1779,1819,2060,2148,2510,3182,3009,2773,2791,3118,2830,2417,2424,2803,3397,3511,3663,3677,3154,3127,3073,3229,3605,3727,3482,3020,2325,2030,1897,2035,2272,2232,2014,1344,1434,2254,2175,2588,2728,2430,2196,1841,2117,2699,2431,2611,2641,2756,2897,2656,2814,3016,2702,2512,2594,2827,2996,2865,2521,2509,2327,2087,2446,1869,1489,1607,1713,1659,1771,2314,2046,2162,2133,2713,2981,2250,2593,2408,2296,2328,2790,3027,2665,2750,2641,2181,2395,2163,1938,2031,1984,2622,3042,2280,1608,1547,1504,1428,1439,1487,1561,2199,3213,3853,4384,4528,4428,4404,3645,2897,2502,2258,1693,1526,2153,3497,3794,3723,3234,3393,3552,3797,3838,3083,2645,2394,2299,1926,2213,2998,3184,2668,2684,2812,3185,3063,2144,1673,1691,1636,2438,3144,3212,2950,3073,2974,3116,3529,3628,3508],[3361,3034,2615,2564,2913,3472,3438,3369,3519,2998,2358,2672,3037,2923,2841,3383,4393,3673,2985,2822,2517,2648,2592,2800,3221,3073,2900,3275,3340,3441,3161,3662,3492,2897,2564,2729,2716,2779,2947,2634,2537,2571,2622,2647,2408,2641,2890,2849,3088,3333,3172,3191,2780,2235,2281,2371,2269,2487,2407,2329,3245,3849,3861,3820,3791,3828,3632,3374,3461,3619,3448,3893,4286,3812,3548,3294,3356,3440,3361,3251,3021,2827,3065,3579,3414,2862,2836,3031,3684,4140,4064,3692,4028,4416,4496,4283,4082,3819,3618,3776,3608,3241,3228,3243,3010,2631,2490,2836,2709,2474,2652,3115,3729,3885,3241,3248,3504,3738,3775,3595,3978,4144,3580,3317,2834,1903,2568,3286,2597,2003,2032,2114,1959,2085,2389,2203,2390,2850,2568,2381,1960,2115,1965,1616,1736,2401,2407,2363,2725,2806,2480,2263,2281,2480,2908,3025,2641,2919,2451,1943,2267,2286,2141,2113,2170,2164,2175,2121,1917,2154,2276,2482,2148,2390,2556,2844,3042,2731,2686,3209,3318,2900,2336,2736,3243,2893,2859,2720,2424,2043,2051,2065,1866,1948,2127,2265,2196,2034,1872,1888,1872,1789,1927,2155,2033,2078,2242,2061,1678,1779,2110,1812,2445,2979,2381,2172,2071,2012,2156,2286,2302,2640,2499,1896,1307,969,1513,1851,2286,2793,2483,1967,2084,2813,3011,2291,1938,2011,2245,2779,2865,2447,2997,2634,2096,2042,1650,1844,1916,1653,1834,2443,2375,1772,2004,2353,1426,1376,1923,2007,2321,2931,3683,3462,2535,2390,2176,2453,2973,3077,2825,2083,1771,1904,1880,1859,2126,2366,2314,2177,1995,1819,1494,1952,1874,1965,2205,2067,2236,2431,1938,1490,1520,1992,2072,1797,1917,1883,2320,1977,2596,3559,3595,2905,2217,2046,1617,1714,2012,1728,1610,1524,1355,1744,2023,1705,1394,1649,1916,1856,1716,1465,1282,1838,2063,2070,2406,2226,2049,1859,2154,2270,1895,2242,1996,2081,2527,2304,2558,3159,3254,3018,2880,3083,3106,2956,2930,2585,2436,2973,3074,3585,3673,3596,3439,3029,3383,3886,4023,3702,3342,3699,3730,2998,2181,2044,1916,1918,2132,2790,2789,2831,3082,3044,3022,2833,2738,3039,2879,2557,2478,2466,2402,2366,2322,2591,3040,3237,3391,3242,2474,1958,2414,2406,2669,2158,2967,3775,3090,2113,2046,2254,2964,3376,2593,2226,2251,2375,2339,2588,2199,2002,2126,2037,2281,2505,2063,1482,2004,2730,2473,2426,2723,2755,2398,2232,2024,2192,2014,1870,2414,2114,1747,1613,1767,2480,2798,2578,2416,2092,1826,2029,2084,1721,1854,1554,1626,1626,1656,1754,2046,2088,2136,2450,2230,2002,2092,2453,2552,2254,1980,1785,2023,2084,2215,2262,1988,1707,1807,1920,1787,1964,2544,2900,2648,1725,1701,1919,2136,2075,1965,2304,2747,2930,3143,3608,3688,2937,2345,2498,2787,3176,2859,2806,2933,2705,2675,2636,2342,2390,2633,2713,2944,3108,3433,3449,3370,3057,2688,2343,2330,2842,2806,2175,2208,2620,2375,2374,2064,1819,2014,2369,2382,2133,1780,1731,2082,2237,2170,2465,2464,1916,1917,2097,2499,2330,2334,2147,1587,1772,2382,2368,2144,2209,2139,2457,2768,2450,2117,2512,2899,3321,3528,3529,3631,3533,3166,2933,2811,2853,3607,4253,4620,3543,2511,2632,2786,3229,3619,3118,2829,3096,2940,2658,2754,2657,2599,2708,2956,3112,2865,2808,2874,2483,2419,2547,2378,2054,2285,2990,2996,3256,2640,2435,2965,3244,3388,2855,2708,3107,3422,2919,2423,2731,3617,3815,3476,2473,1744,1740,2207,2420,2673,2646,2885,3196,2290,2279,2276,2443,2639,3099,3572,3369,2767,2377,2478,3034,3798,3784,3094,3230,2297,1937,2215,2861,2499,1973,2203,2632,2962,2604,1941,2641,2602,3030,2292,3068,3262,3089,2181,2213,2710,2995,2608,1735,1808,1996,2042,1971,2263,2385,2740,3511,2511,2156,2504,2243,2236,2409,2610,2886,2847,2754,2386,2880,2868,3139,3915,4332,4220,4073,3806,3772,3456,2784,3156,3227,2922,3276,3480,3704,2764,2578,2774,2844,3077,2514,2275,2096,2256,3208,2962,2375,2294,2277,2119,2009,2019,2036,2230,2597,2685,3316,3248,2494,2750,3296,2833,2590,2319,2078,2372,2482,2475,2768,2776,3025,2784,1985,2072,1952,2156,2160,2027,2010,1744,1721,2024,1914,1779,1926,2116,2919,3642,3620,3352,2945,2354,1929,2172,2679,2146,1488,2115,2236,2377,2500,2379,1798,1951,2398,2484,2750,2608,2994,3454,2090,1712,1485,1460,2224,1833,1626,1644,1542,1856,2520,2226,1701,1969,2221,2629,2840,1952,1812,1688,1613,1980,1814,1516,1630,1643,1565,1456,1547,1665,1581,1504,1738,1882,1587,1703,2076,2005,1651,1366,1476,1458,1537,1541,1504,1749,1600,1509,1517,1498,1534,1538,1777,1898,1951,2067,2068,2828,2849,2475,3705,3790,3438,3392,3625,3408,3187,3882,3831,2696,2440,2262,2088,2879,3106,3430,3388,2833,2636,2711,2759,2807,2752,2036,2222,2854,3983,3312,3031,3332,3331,3100,2306,1449,1782,2720,3264,2750,2865,3220,3533,3652,3376,3094,3300,3439,3613,3942,3834,3542,3443,3124,3586,4244,4573,3408,2165,2290,3559,4002,3275,3018,3266,2656,2361,3028,3815,3222,2608,2651,3022,2886,2989,3227,3273,3492,2622,1810,1919,2437,3057,2755,2376,2448,2548,2336,1785,1679,1626,1793,2142,2364,2788,3232,3485,2998,3116,3488,2956,2550,2354,2496,3049,3609,2878,1612,1838,3112,3061,1789,1713,2727,2964,2885,2793,2535,2452,2745,3064,2958,2668,2530,2662,2668,2104,2289,2791,2409,2130,2135,2667,3595,3031,2309,2867,3283,2661,1954,1975,2167,2709,2624,2307,2376,2286,2488,2522,2278,2154,2148,1980,1716,2534,2987,3076,2100,1737,1549,1525,1506,2041,2569,3038,3995,3461,2297,1853,1572,1932,1899,1733,3129,3991,3727,3339,3030,2839,3211,3498,3366,3238,3220,3262,3351,3609,4196,4511,4255,3727,3413,3107,2894,3001,3128,3714,4038,4140,4084,4124,3881,3706,3659,3421,3326,3130,2995,3208,3384,3193,3274,3542,3407,3191,2590,2003,2364,2575,2204,2044,1968,2103,1671,1752,2037,1901,2120,1893,1892,2290,2145,2008,2116,1936,1890,1870,2556,2240,1704,1993,2065,2580,2734,2512,2068,1877,1804,2076,2277,2146,2776,3087,3000,3441,3379,3057,2238,2172,2902,2552,2398,3244,3519,2544,2049,2068,2274,1880,1605,1987,2524,2270,2221,2541,2263,1829,1927,1686,1290,1112,1406,2272,2699,2545,1962,2491,3476,3795,3795,3747,3665,3478,3227,2711,2996,3646,3948,3769,3277,3319,3427,3460,3860,3995,3908,3812,3384,3495,4029,4124,4396,4419,4135,3800,3425,3414,3909,4296,4439,4552,4620,4640,4424,4407,4608,4696,4200,4143,4189,4047,4049,4151,4168,4201,4197,4184,4108,3586,2994,2523,2200,2569,2416,1458,772,776,1404,2014,2253,2569,3213,3123,2656,2293,2479,2915,3344,3522,3595,3442,3343,3062,3008,3073,3282,3386,3443,3382,3466,3599,3732,4017,3990,3694,3885,3985,2859,2812,2696,2728,3282,3908,4117,4007,3682,3398,3371,3448,3273,3287,3316,3940,4141,4062,4584,4821,4821,4716,4186,2797,1856,1616,1481,1682,1918,2664,3694,4011,3981,3172,3073,3218,3331,3363,3361,3399,3320,2107,1732,2208,2680,2552,1976,1785,2596,3165,2342,2029,2522,2567,2275,1945,2063,2686,2999,2750,3031,2221,1718,1662,1818,1941,1665,1547,2032,2139,1824,1847,2120,2557,2348,2291,1622,1338,2083,2173,2263,2906,3154,3007,2771,2360,2046,1660,1852,1715,1920,2452,2979,2635,1842,1627,2099,2360,2282,2288,1874,1924,2499,2922,2431,1885,1738,1933,2208,1968,1837,2187,2459,2242,1913,1864,2443,2316,1807,1856,2003,1865,1829,2048,1846,2060,2576,3273,3748,3416,3253,3537,3345,2344,2361,3028,2812,2083,1838,1649,1551,1969,2780,2781,2566,1968,1797,2467,2741,2480,2392,2304,1871,1722,1988,2359,3146,3550,3649,3218,2997,3495,3586,3530,3928,3030,1688,1582,1516,1920,2219,2675,2983,2987,2989,3162,3307,3302,3461,3294,3474,3682,3754,3395,3526,4064,4419,4300,3991,3437,3134,3167,3391,3461,3476,3436,3411,3356,3333,3301,3375,3350,3207,3272,3106,3010,3187,3237,3325,3287,3196,3287,3372,3343,3340,3373,3682,3946,3911,4383,5084,5220,4951,4271,3738,3755,3640,3686,3474,3383,3637,3527,3508,3604,3153,2751,2743,2349,2823,3060,3188,3276,3299,3287,3439,3283,3270,4091,4517,4344,3762,3078,2828,2744,2301,2441,2260,2035,2179,2717,3196,3356,3552,3602,3661,3726,3915,3065,2164,2121,1801,1937,1953,1769,1868,2170,2731,2521,2522,2440,2775,2533,2894,3023,2780,2225,1868,1973,2219,2541,2347,2374,2464,2287,2405,2392,2064,2484,2722,2193,2342,2470,1716,1931,2070,2713,2559,1780,2234,2433,2437,2326,2047,2039,2334,2504,3052,2775,2553,2460,2305,1826,2159,2744,2437,2426,2903,2622,2266,2434,2395,2273,2414,2734,2426,2019,1554,1600,1925,2357,2502,2258,1973,2018,1993,1946,1924,2437,3605,3696,3340,3081,2397,2004,2232,2668,2658,2575,1930,1776,1748,1958,1819,2238,3099,2887,2823,3064,3282,3355,3425,2910,3120,3702,3652,3352,3183,2983,3175,3427,3717,4047,3458,2808,2707,2144,2311,2192,2441,2227,1960,1696,1251,1775,2742,2932,3166,3222,2180,1599,1450,2189,2712,2405,2924,3112,2746,2252,2230,2692,2945,2782,2814,2772,2835,2742,2580,2622,2634,2340,2070,2229,1998,1607,1364,1544,1610,2725,3398,2288,2060,1917,2678,3299,3174,3376,2851,2147,2042,2503,2452,2075,2266,2709,2434,2294,2093,2039,2052,2455,3318,3370,2224,1449,1450,1498,1461,1506,1354,1587,1952,2656,3168,3852,4287,4420,4508,4357,3674,2819,3040,2607,2221,2601,3501,3242,3108,3260,3580,3749,4136,3916,3219,3212,2710,2428,1987,2098,2667,2949,2520,2468,2599,2930,3081,2207,1718,1986,2208,3054,3218,3251,3335,3374,3162,3387,3907,4248,4236],[3520,3317,2729,2335,2601,3128,3383,3459,3694,3519,3182,3619,3821,3286,3112,3519,3991,3197,3023,3108,2643,2374,1812,2257,3350,3610,3497,3575,2944,2130,2008,2667,3216,2845,1983,2270,1695,1707,2430,2114,2001,2416,2310,2427,2429,2565,2808,3084,3458,3165,3083,3139,2521,2426,2621,2579,2536,2574,2698,2626,3034,3720,3721,3769,3952,3826,3827,3715,3694,3740,3812,4284,4629,4421,3732,3203,3544,3428,3440,3420,3195,3281,3282,3692,3772,3222,2764,3134,3450,3618,3969,3920,4046,4108,4119,3991,3520,3353,3646,3757,3862,3902,3684,3580,3241,2640,2423,2866,2680,2534,2753,3310,3725,3959,3697,3602,3875,3943,3685,3670,3950,4204,3813,3533,2762,2258,2523,3718,3249,2248,1982,1945,2167,2401,2545,2445,2545,2330,2241,2207,1803,1641,1546,2042,2484,2473,2824,3032,2680,2684,2284,2248,2685,2759,3024,2814,2781,3191,2574,1793,1870,2161,2270,2008,1896,1456,1901,1850,1904,2437,2513,2347,2182,2246,2637,3010,2856,2785,3096,3078,3112,2524,2402,2610,2331,2277,2643,2874,2831,2645,2822,2465,2198,2369,2057,2265,2196,2029,2233,1979,1984,1991,1976,2116,2092,2056,2448,2425,2097,1947,2200,2149,2194,2591,2322,2141,2215,1668,1897,2837,2369,2230,2293,1969,1858,1443,1404,1834,2156,2197,2104,2154,2314,2352,2235,1876,2148,2090,1969,2126,2139,2017,1952,1855,2149,1801,1592,2056,1847,1670,1929,2788,2532,1941,2344,2791,2369,1970,1828,1732,1741,2136,2154,2291,2583,2534,1929,2114,2622,2791,2670,2104,1677,1536,1505,1609,1781,1757,1737,1906,2104,1829,1732,1948,1947,2418,2435,2090,1961,1869,1771,1902,1824,2323,2270,2179,2005,1809,2264,2177,2280,3082,3559,2907,2062,1653,1599,1579,2026,1838,1668,1641,1589,2116,2787,2390,1702,1813,1974,1982,2375,2199,1869,2268,2405,2627,2676,2235,2109,2217,2701,2633,2164,2238,2369,2836,3039,2661,2861,3087,2963,2706,2745,2895,2669,2622,3184,2818,2910,3548,3926,3561,2929,2625,2376,2073,2819,3757,3693,3805,3692,3076,2863,2455,2477,2528,3000,3330,3098,3073,3196,3574,3776,3499,3454,3417,3422,3221,3111,2909,2388,2407,2666,2175,1895,2851,4052,4125,3997,3618,2514,2227,2219,2343,2708,1982,2194,3229,3550,2788,2459,3322,3617,2997,2576,2316,2693,2667,2348,2289,2133,2065,1928,1768,2313,2545,2365,1647,1768,2227,2069,2021,2361,2514,2064,1785,2120,2526,2085,2081,2158,1933,2100,1729,2106,2409,2270,2426,2496,2435,2127,2164,2468,1981,2101,2083,2041,1850,1696,1887,2130,2152,2440,3008,2969,2418,2049,1924,2211,2076,1694,1797,1975,2239,2188,2219,2147,1736,1838,2072,1829,2009,2146,2135,2688,2330,2427,2196,2546,2304,1887,2454,2633,2742,2797,3110,2668,2249,2262,2403,2723,3151,3020,2901,3082,3151,2980,2724,2603,2787,2564,2983,3162,3011,3511,3725,3518,3167,2709,2177,2156,2602,2600,2132,2360,2799,2357,2534,2039,1991,2279,2364,2235,2033,1854,1866,2126,2255,2210,2615,2537,2056,2371,2801,3221,2875,2422,2289,2294,2368,2237,1729,1908,2695,2419,2058,2210,2252,2491,2552,2330,2437,2927,3184,2831,2368,2264,2402,2479,2552,3209,3896,4354,3449,2547,2650,3105,3647,3166,2851,2902,3482,2806,2603,2840,2956,2679,2535,3037,3056,2655,3052,3271,2850,2807,2707,2852,2621,2605,2677,2517,2786,2619,2776,3376,3530,3161,3054,2888,2901,3097,2729,2290,2260,3131,3725,3271,2597,2171,1972,2034,2223,2302,2182,2258,3308,3285,2751,2436,2396,2526,2610,2833,2831,2313,2371,2835,3269,3269,3772,3549,3306,3233,3297,3470,2547,1719,2326,2681,2433,1830,2348,1992,1791,1792,2104,2225,2436,2395,2224,2148,2189,2294,2395,2345,2204,2453,2437,2224,2061,2225,1941,2299,3062,2785,2641,2557,2043,1927,2198,2566,2925,2490,2277,2320,2604,2799,3130,3500,4028,4332,4149,3862,3873,3648,2964,2510,2639,2854,3127,3277,3240,2830,2419,2359,2597,2819,1961,1874,1832,2274,3211,3039,2239,2432,2410,2099,2328,2576,2863,3544,3717,3086,2625,2497,2061,2867,3174,2713,2399,2312,2546,2845,2745,2715,2709,2788,2644,2658,2334,2170,2342,2447,1903,1901,2209,1999,1963,2366,1837,2056,2084,1916,2942,3448,3044,2787,2592,2235,1863,2239,2854,2121,1851,2355,2499,2473,2443,1953,1513,1926,2271,2341,2485,2321,2583,3113,2228,1736,1460,1544,2167,1980,1647,1764,1854,1922,2497,2436,2035,2016,2135,2644,2923,2063,1823,1528,1887,2424,1802,1413,1707,1732,1593,1529,1564,1598,1516,1439,1570,1785,1969,1853,1560,1538,1480,1525,1628,1686,1881,1515,1449,1631,1486,1381,1373,1373,1307,1482,1826,1929,2177,1977,2171,2734,2586,2344,2833,3198,3396,3188,3006,2810,2631,3543,3640,2304,2786,2630,2569,3171,3277,3473,3248,2633,2720,2741,2423,2598,2597,2268,2267,2587,3138,3197,3085,3109,3325,3248,2245,1548,2290,2831,3094,2372,3001,3414,3350,3614,3442,3081,3339,3658,3767,3864,3405,3562,3819,3506,3629,4305,4559,4260,3183,2480,3218,3931,3112,2845,3222,2007,1929,2367,2984,2957,2839,2884,3085,2787,2788,2921,3038,3331,2517,2497,2010,2311,2792,2636,2224,2340,2686,2505,2065,1668,1598,1641,2036,2314,2725,2946,3163,3116,3331,3287,2677,2272,2134,2627,3476,4248,3665,2577,2623,3006,2465,1625,1963,2531,2813,2865,2607,2269,2091,2386,2819,2712,2033,1820,2159,2182,2076,2218,2284,2154,2135,2301,3152,3717,2774,2526,2434,2193,2094,2045,2654,2463,2142,2268,2457,2497,2290,2336,2343,2241,2424,2322,2055,2106,2239,2472,2656,2194,1763,1604,1727,1760,1848,2216,3040,3634,2784,2083,2258,2286,1761,1289,1719,3187,3882,3541,3177,3090,2958,3250,3342,3232,3242,3001,2901,2788,3022,3706,4421,4545,3946,3517,3237,3186,3147,2918,3264,3687,3892,3713,3846,3761,3879,4164,3845,3308,2249,2458,2917,3133,2898,3019,3082,3164,3146,2745,2601,2863,2534,1980,2144,2241,2535,2272,1769,1611,1982,2112,1521,1410,1779,1871,1937,2145,2263,2072,2058,2192,1997,2084,2085,2029,2442,2574,2424,2754,3046,2442,1785,1706,2525,2604,2645,2669,2876,2579,2048,1926,2513,2831,2291,2718,3871,3786,2267,1950,2335,2249,2248,2321,2541,2836,2602,2592,2216,1879,1790,1995,2354,2131,1491,2513,3183,3072,2439,1976,2648,3564,4587,4559,4259,3802,3301,2964,2831,3349,3904,3928,3207,2259,2300,3016,3514,3874,4008,3924,3924,3835,4176,4617,4421,4305,4331,4283,4059,3663,3709,4095,4223,4375,4419,4380,4231,4345,4428,4144,3780,3438,3272,3580,4049,3951,3993,4142,4101,4168,4153,4024,3457,2844,2819,3194,3594,3451,2877,1729,1136,1947,2713,2842,2724,2753,2469,2328,2632,2813,2791,3081,3232,3432,3536,3467,3209,3100,3171,3161,3343,3623,3554,3551,3949,4192,4192,4121,4000,3925,3814,2853,3428,3104,2343,2776,3896,4252,3808,3448,3132,2957,3022,3283,4021,3975,4140,3946,4045,4641,4820,4672,4552,3852,2473,1928,1702,1557,2030,2366,2962,3507,4049,4265,3846,3272,3185,3199,2726,2874,3176,3119,2032,1453,1658,2022,2479,2483,2164,2564,2534,1655,1305,1736,1998,1998,2396,2004,2219,2843,2546,1862,1464,1573,2012,2611,2664,2196,2016,2481,2448,1926,1759,2022,2377,2513,2697,2417,1825,1729,1682,2222,3141,3462,2844,2989,2570,2164,1818,1612,1673,2084,2461,2513,2483,2221,1926,1999,2458,2564,2668,2149,1849,2299,2387,2265,2316,2185,2215,2123,1878,2272,2601,2752,2733,2419,2075,2165,2200,2214,1954,1888,1685,1583,1877,2208,2476,2590,2906,3806,3781,3460,3752,3255,2510,2471,2885,2703,2078,1903,1459,1189,1970,2881,2994,2866,2440,1684,1776,2152,2176,2442,2559,2176,2382,1806,2091,2856,3345,3530,3481,3558,3766,3811,3671,3354,2333,1858,2082,1980,1738,1941,2390,2910,3040,2645,2934,3219,3457,3675,3619,4093,4498,4141,3484,3375,3908,4333,4409,4080,3489,3272,3183,3233,3342,3453,3476,3463,3297,3312,3342,3343,3387,3361,3339,3310,3238,3256,3350,3311,3247,3254,3265,3177,3062,3230,3443,3794,3862,3553,4119,5073,5161,5015,4300,3957,3874,3730,3633,3244,3077,3568,3377,3264,3544,2861,2641,2492,2567,3364,3256,3027,3419,3535,3311,2908,2877,3666,4373,4428,4062,3401,3006,2975,2533,1945,2041,2106,2194,2347,2709,2555,2269,2546,2755,2833,3196,3639,2683,2083,2116,2090,2186,2184,2152,2436,2633,2800,2536,2521,2357,2401,2598,2784,2843,2514,1941,2078,2330,2889,3006,2831,3103,2622,2310,2310,2497,2505,2699,2687,2257,2136,1943,1433,1834,1983,2260,2251,1858,2486,2798,2622,2753,2574,2459,1999,1908,2370,2782,2584,2137,1996,2015,2465,2737,2709,3019,3470,3255,2928,3058,2866,2519,2303,2631,2579,2286,1983,2100,2402,2431,2408,2454,2354,2222,1951,2053,2331,2834,3376,3143,2503,2278,2465,2499,2835,3231,3161,2908,2283,2127,2556,2668,1982,2481,3472,3460,3020,3217,3648,3575,3480,2463,2480,3653,4048,3685,3112,2650,2998,3443,3655,3310,2827,2961,2932,2264,2244,2206,2500,1938,1694,2020,1784,1774,2777,2822,1902,1990,2019,1803,1698,2177,2785,2829,2850,3332,2801,2340,2809,3018,3392,3041,2742,2732,2858,2853,2686,2707,2635,2385,2177,2200,2396,2358,1794,1637,2055,2802,2068,1792,2150,2031,2678,3450,3509,3408,3169,2512,2089,2115,1657,1982,2082,2218,2509,2391,2034,1854,2242,3467,3886,2680,1672,1689,1471,1453,1521,1503,1628,1771,1837,2360,2569,3065,3886,4349,4201,4281,4243,3242,2820,3049,3063,2758,2789,2701,2974,3510,3741,3425,3431,3403,2942,2934,2354,2312,2294,2330,2668,2846,2598,2431,2525,2655,2381,1793,2077,2316,2459,2852,3095,3199,3320,3544,3671,3961,4341,4361,4189],[3982,3625,2784,2411,2435,2866,3608,3608,3564,3504,3476,3957,4087,3351,3002,3396,3572,2983,2965,3056,2655,1957,2008,2353,3226,3125,2768,3117,2809,1976,2040,2702,3498,3332,1722,1985,1312,1592,2096,1677,1937,2448,2670,2989,3118,3098,2877,3129,3499,3249,3204,3481,3052,2855,3012,3019,2690,2543,2612,2533,2969,3610,3530,3365,3429,3331,3459,3483,3594,3548,3529,3828,4112,4003,3629,3443,3724,3444,3444,3155,3379,3864,3444,3242,3736,3646,2752,2740,2964,2942,3539,3876,3863,3713,3820,3601,3452,3638,3773,3872,3792,3438,3304,3772,3610,2963,3075,3476,3342,2739,2408,2551,2888,3352,3506,3570,3853,3848,3496,3483,3795,3880,3352,3225,2801,2264,2230,2690,2954,2840,2414,2606,2691,2611,2607,2714,2670,2227,2374,1875,1466,1698,2366,2952,2517,2285,2545,2735,2625,2203,2032,1979,2280,2477,2318,1935,2024,2394,2032,1734,1980,2369,2203,1723,1959,1936,2837,2087,2452,3147,2692,2478,2480,2165,2246,2304,2457,2657,2824,2843,3168,2565,2324,2963,2642,2030,2552,2692,2676,2320,2502,3053,3232,2560,2261,2374,2216,2675,2911,2182,1947,1966,2283,2268,2200,2426,2754,3083,3142,2532,2714,2770,2482,2950,2830,2790,2963,2087,1870,2304,2280,2347,2444,2176,2075,2127,2564,2810,2157,1729,1974,2300,2202,2124,2206,2124,2076,2021,1795,1533,1761,1691,1506,2339,2282,1731,1792,2131,2080,1910,2314,2665,2232,2439,3043,2913,2458,2508,2167,1599,1739,2141,1792,1852,2378,2229,2008,2448,2510,2601,2648,1870,1742,1802,1853,1965,1839,2023,2118,2122,2161,2041,2030,1918,2188,2629,2225,2372,2031,2721,2580,2416,2100,2092,1960,2004,2088,1819,2041,2498,2384,2423,2868,2133,1733,1858,1808,1516,1454,1676,1709,1593,1729,2352,3242,2723,1898,1915,1976,1906,2296,2502,2214,2098,2009,2078,2172,2121,2052,2329,2973,3124,2800,2376,2540,2873,2944,2971,3107,2987,2702,2558,2688,2605,2512,2663,3263,3199,3500,3351,3211,2644,1583,1036,832,973,2522,3858,3846,3220,3115,2475,2696,3161,3326,3166,3272,2888,2746,2962,3162,3207,3535,3806,3679,3833,3918,3376,3064,2832,2307,2664,3213,2569,2310,2867,4231,4320,4155,3973,3002,2286,1886,2283,2414,2007,2273,2620,2934,2360,2728,3580,2718,2570,2665,2403,2449,2394,2555,2737,2243,2114,2186,2554,2842,2589,2581,1775,1684,2082,2376,2404,2458,2432,1744,1364,1714,1882,1982,2249,1815,1477,1644,1647,2246,2315,2202,2260,2332,2544,2669,2548,2278,2114,2124,2186,2576,2211,1795,1769,2271,2568,2163,2423,2333,1978,2265,2093,2634,2568,1982,1863,2065,2262,2144,2158,2128,1843,2135,2358,1993,1865,1681,2419,3040,2798,2152,1807,2370,1990,1808,2767,2570,2873,2610,2312,1620,1742,2133,2213,2651,3330,3271,3054,3227,3067,2809,2675,2693,2724,2844,3301,3074,2486,2537,3075,3181,2768,2406,1984,1988,2281,2327,1799,2185,2386,2533,2626,2143,2062,1881,1917,1990,1933,1844,2081,2554,2842,2072,1930,2056,2417,2915,3652,4055,3165,2508,2844,3249,2961,2850,2602,2922,2996,2513,2467,2329,2170,2280,2464,2420,2159,2097,2204,1996,1942,2071,2092,2289,2401,3188,4189,4356,3537,3082,3537,3845,3862,3591,3825,3256,3432,3508,3694,3818,3551,2781,2759,3335,2855,2631,2620,3133,2946,2946,2973,2757,2530,2756,2842,2942,2964,3146,3718,3946,3484,2938,2928,2880,2990,3094,2625,2243,2524,3238,3359,2693,2452,2557,2095,1871,2027,1923,1942,2236,2832,3103,3269,3196,2669,2337,2353,2373,1718,1817,2585,3813,4329,3229,3197,3818,3569,3327,3376,3200,3316,2768,2642,2938,2627,2140,3016,2652,1866,1482,1789,2451,2768,2711,2535,2776,2520,1859,1975,2296,2649,2743,2798,2209,1681,1845,1540,1628,2495,3264,3277,2990,2445,2111,2045,2370,2530,2335,2307,2408,2391,2632,2924,3030,3925,4179,3697,4148,3905,3684,3496,3103,3006,3270,3293,3196,3072,2934,2335,2138,1905,2323,2148,2338,2652,3006,3572,3207,2741,2836,2479,1871,2016,2680,3145,3625,3271,2641,2443,2374,2348,2768,2600,2310,2207,2491,2541,2622,2811,2423,2214,2311,2058,2312,2344,2005,2126,2376,2253,2339,2285,2410,2416,2609,1919,1826,1631,2007,3054,3168,2784,2710,2478,2004,1909,2444,2962,1804,1934,2259,2246,2276,2319,2209,2157,2230,2281,2304,2497,2439,2278,2735,2231,1698,1575,1710,2348,2724,2450,2646,3076,2824,2654,2500,1824,1781,2098,2764,2664,2002,1786,1636,1938,2061,1438,1582,1778,1762,1638,1480,1566,1576,1510,1579,1853,2564,2932,2350,1648,1581,1554,1626,1793,1654,1597,1495,1538,1629,1598,1449,1476,1375,1499,1395,1520,1764,2060,2083,2454,2624,2341,2111,1981,2328,3018,3010,2818,2323,2652,3496,3592,2475,2915,2852,3000,3488,3417,3610,3318,2730,3226,2504,2220,2348,2187,2189,2219,2206,2423,2524,2597,2931,3276,3252,2183,1464,2120,2922,2939,2503,2886,3127,3241,3480,3420,3308,3635,3842,3406,3698,3137,3483,4004,3882,3861,4025,4174,4480,4013,2977,2952,3583,2707,2251,2577,2372,2776,3007,2886,3085,3228,3249,3296,3046,2787,2916,3063,2739,1934,2534,2281,2134,2376,2554,2271,2165,2385,2503,2608,2020,1508,1491,1921,2197,2287,2326,2590,3029,3594,3261,2635,2486,2169,2656,3339,4200,3959,3372,3559,2830,1844,1564,1635,1608,1954,2286,2278,2286,2442,2459,2717,2614,2126,2236,2723,2250,1815,1667,1816,1790,1731,1776,2176,2603,2439,2423,2212,1888,2074,1848,2412,2490,2404,2722,2757,2325,1692,1964,2370,2574,2700,2452,1996,2059,1942,1802,2168,2415,2023,1806,1830,1915,2175,2504,2868,2358,1975,1866,1745,1810,1350,768,1785,3288,3500,3403,3550,3541,3361,3255,3181,3142,3177,3064,3112,3066,3077,3529,4220,4576,4035,3561,3285,3354,3389,3066,2831,3125,3512,3445,3484,3632,3490,3740,3879,3851,2877,2614,2518,2449,2714,3039,3020,3070,3128,2967,2889,2624,2220,2020,1653,2023,2631,2758,2436,1889,2077,2223,1746,1885,2015,2072,2003,2211,2306,2067,1863,1854,1947,1938,2046,2187,2512,2600,2235,2286,2765,2603,1405,1093,2193,2232,2854,3019,2568,2050,1794,1840,1805,1726,1542,2114,2584,2299,2435,2666,2376,2304,2619,2254,2089,2105,2435,2678,1976,2166,2335,2468,2813,2872,2833,3753,4304,3824,2742,2209,2584,3388,4632,4951,4831,3938,3131,2902,3117,3579,3723,3434,2933,2390,2246,2762,3348,3782,4058,4100,4305,4208,4160,4276,4373,4344,4359,4465,4517,3942,4016,4229,4284,4345,4209,4155,3993,3931,3806,3449,3553,3551,3175,3040,3461,3639,3829,4018,4034,4156,4020,3994,3864,3373,3209,3558,3864,3846,3885,3461,2539,2278,2590,2683,2715,2711,2599,2768,2897,2778,2743,3248,3307,3501,3483,3627,3374,3089,3129,3231,3398,3443,3515,3658,3807,3952,4002,4048,4296,4312,3840,3089,3266,3078,2818,3252,3665,3725,3680,3583,3219,2601,2773,3104,3662,4057,4304,4089,4243,4664,4712,4400,4227,4196,3737,2821,1938,1619,1990,1863,1812,2433,3158,3799,3610,3265,3239,3250,2290,2127,2570,2222,2042,1660,1345,2042,3225,3062,2636,2425,1949,1760,2165,2545,2388,1816,2232,2310,2002,2070,1909,1636,1613,1980,2115,2138,2221,2014,2208,2157,1813,1626,1599,1585,1858,2309,2189,2190,2023,1702,1958,1948,2071,2614,2933,3333,2676,1784,1789,2042,1931,1910,1951,1988,1746,1951,2014,2289,2780,2419,2023,1859,1759,1933,2159,2323,2159,2166,2585,2290,2318,2276,2214,2711,3421,2789,1783,1886,2344,2721,2294,1825,1563,2044,2110,2442,2402,2338,2801,3786,3762,3141,3268,2800,2386,2328,2554,2741,2249,2104,1743,1594,2569,3630,3442,3076,2784,2114,2018,2298,2258,2684,2824,2369,2343,2542,2897,2423,2132,2712,3196,3437,3911,3692,2911,2778,2600,2344,2233,2122,2049,2431,2933,3190,2948,2338,2901,3248,3557,3786,4197,4525,4220,3449,3303,3504,3934,4184,4037,3960,3675,3300,3200,3252,3348,3444,3536,3379,3239,3310,3393,3378,3445,3398,3231,3218,3205,3297,3232,3217,3171,3203,3274,3172,3093,3284,3415,3823,3792,3683,3869,4496,4881,5008,4857,4620,4248,3883,3554,2976,3073,3585,3264,2518,3000,2810,2338,2198,2846,3145,3086,3410,4113,4244,4052,3091,3205,4036,4395,4371,4024,3530,3376,3062,2262,2062,2277,2266,2220,2474,2734,1714,1519,1719,1793,1829,2328,2644,2120,1660,1688,1988,2298,2310,1942,1992,2353,2736,2829,2906,2566,2276,2501,2993,2883,2766,2718,2945,2623,3010,2738,3099,3550,2858,2431,2648,2416,2038,2126,2554,2404,2258,1844,2110,2388,2272,2267,2403,2331,2622,2901,2756,2713,2238,2084,1858,1997,2136,2697,2733,2184,2170,2405,2156,2156,2842,3354,3261,3083,3360,3250,3061,2836,2452,2535,2504,2598,2756,2350,2317,2352,2525,2360,2411,2286,2010,1942,2836,3486,3443,2717,1794,1971,2042,2554,2893,3082,2867,2330,2390,2711,2708,2470,2614,3000,3604,3907,3530,3485,2894,2583,3083,2214,2326,3510,3653,3297,2908,2721,2830,2967,3224,2311,2916,2341,2269,1949,1742,1669,1847,1892,1758,1816,1542,1571,2464,2525,1892,2537,2820,2501,2175,2732,3270,2717,2470,2450,2302,2879,2814,2695,3284,3277,3062,2772,2751,2755,2765,2744,2713,2713,2514,2439,2628,2820,2384,1857,2284,2220,1750,1887,1749,1852,2818,3372,3110,3195,3400,2946,2398,1964,1734,2247,2430,2633,3163,2897,2144,1705,2139,3248,2994,1790,1584,1875,1659,1616,1698,1860,2149,1722,1722,2106,2025,2364,2990,3595,3675,4159,4471,3748,3182,3356,3199,2635,2298,2408,2677,3031,3361,3316,3339,3254,3190,3465,2696,2037,2191,2465,2474,2687,3189,2907,2680,2692,1929,2048,2732,2534,2393,2880,3106,3211,3463,3543,3706,4042,4148,3841,3764],[3549,3442,3072,3005,3167,3421,3308,2976,2934,3098,3259,3884,3961,3422,3085,3194,3829,3802,3595,3851,3683,2557,2455,2686,2817,2851,3117,3438,3427,3380,3263,3286,3660,3394,2177,2276,1641,1925,2087,1744,2249,2989,3427,3545,3638,3431,3251,3537,3365,3021,3259,3594,2855,2177,2305,2571,2548,2377,2458,2600,2871,3247,3547,3597,3717,3593,3498,3564,3551,3654,3828,3804,4026,3930,3916,3716,3574,3615,3614,3337,3609,3831,3328,2999,3430,3543,2583,2693,3386,3373,3702,3935,4022,3717,3660,3591,3605,3520,3543,3659,3554,3572,3522,3793,3782,3339,3511,3869,3562,2322,1251,1172,1413,1629,1936,2522,2812,3146,3353,3630,3758,3496,3138,2646,1958,1972,2303,2745,3614,3585,3320,3584,3326,2745,2551,2585,2545,2272,2532,2367,1767,1897,2120,1939,1818,1941,1792,2463,2326,2114,1862,1757,2208,2221,1985,1946,1778,1869,1890,1818,2019,2452,2042,1742,1934,2613,2919,2262,2710,3038,2489,2218,2288,2139,1882,1937,2025,2182,2227,2531,2749,2469,2478,2709,2503,2171,2201,2244,2001,1967,2045,3098,3557,2983,2392,2093,1810,2126,2617,2210,1888,1960,2356,2349,2548,2897,2431,2723,3182,2655,2534,2495,2465,2978,2446,2103,2258,2032,1686,1677,1885,1958,2029,2050,2024,2142,2526,2576,2081,2017,2404,2286,2424,2498,2611,2137,2022,2095,1801,1814,1978,1615,1874,2611,1836,1671,1968,2183,2302,2243,2198,2070,2320,2824,2885,2841,2476,2444,2017,1687,2164,2995,2531,2369,2563,2176,1940,2194,2242,2251,2347,2020,1909,2251,2009,2019,1992,2437,2775,2815,2744,2589,2470,2312,2233,1979,1928,2186,2405,3405,2744,2207,1971,1903,1836,1960,2156,1829,1782,1887,2284,2086,2256,1841,1952,2070,1923,1675,1632,1852,1807,1695,1602,1924,2524,2613,2135,2001,2036,2078,2383,2359,2115,2069,2178,2310,2155,2339,2193,2366,3128,3539,3122,2724,2570,2410,2508,2945,3184,3063,2807,2614,2869,2732,2858,3155,3186,2171,1984,1959,1842,1904,1120,1013,1237,1552,2969,3781,3864,3492,3085,3223,3550,3536,3366,3396,3188,2539,2702,2648,2709,2662,3331,3890,3950,4121,4144,3602,3143,2906,2678,2946,3222,2586,2590,2588,3723,4417,4452,3791,2667,2045,1551,1960,2584,2259,2113,2184,2197,2352,2198,2177,1625,1857,2252,2236,1997,1887,2264,2741,2053,2499,2267,2737,2657,2433,2574,2019,1608,2016,2731,2763,2563,2580,1821,1309,1749,2049,2063,2226,1960,1763,1659,1850,2019,1862,1667,1729,1980,2012,2307,2945,2775,2486,2056,2370,2645,2190,2037,2294,2834,2417,2007,2304,2094,2195,2588,2503,2946,2723,1939,1999,2354,2423,2004,1749,1657,1661,1984,2386,2221,2114,1806,2069,2486,2176,1524,1688,2231,1616,2139,2864,2511,2728,3033,2289,1593,1756,1986,2347,2869,3580,3554,3499,3610,3418,2635,1936,1894,2131,2339,2702,3031,2683,2314,3135,3317,2797,2244,1983,1935,1991,1944,1609,1699,1903,2432,2384,2102,2027,1707,1803,1679,1922,2051,2241,2669,2621,2082,1866,1788,2173,3044,3899,4101,3363,3195,3527,3228,3293,3595,3435,3116,2740,2714,2922,2805,2777,2283,2070,2250,2627,2315,2043,1928,2004,2075,2126,2293,2421,3240,4545,4197,3027,2807,3447,3737,3504,2865,3359,3374,3550,3555,3123,3264,3275,2379,2588,2755,2398,2721,2684,2947,3003,2783,3132,3335,2934,2935,2975,2831,2137,2779,3532,3638,3111,3134,3075,3074,3044,2592,2071,2508,2890,2730,2776,2530,2741,2912,2641,2184,2062,2093,2208,2290,2219,2302,2852,3544,2886,2769,3031,2361,1381,2085,3001,3935,4039,3199,2983,3360,3605,3436,2447,2429,2850,2266,2359,3300,3168,2526,2256,2292,2071,1779,2585,3205,3370,2755,1669,2101,2532,1951,2486,2801,2586,2483,2793,2349,1665,1626,1514,1504,1741,2373,2329,2164,2360,2114,1956,2210,2179,1865,2040,2412,2410,2525,2619,2931,4368,4860,4387,4417,4095,3828,3868,3574,3484,3786,3454,2931,2249,2293,1993,1907,1846,2017,2229,2126,2045,2503,2959,2645,3018,3551,3208,2313,2086,2152,2428,2322,2496,2600,2968,2995,2631,2566,2391,2301,2199,2598,2950,3034,2368,2101,2115,2061,2156,2205,2082,1797,2392,2698,2693,2260,2379,2547,2547,2327,1992,1731,1675,2327,3019,2790,2626,2542,2309,1817,2034,2898,2657,1992,2347,2523,2516,2565,2645,2665,2602,2663,2720,2696,2851,2410,2379,2814,2228,1686,1731,1892,2468,3062,3298,3697,3216,2589,2470,2344,2039,1954,2120,2764,2739,2085,1596,1481,1701,1863,1537,2025,1936,1615,1661,1838,2104,1889,1723,1702,1807,2675,2703,2155,1698,1661,1578,1558,1713,1597,1539,1753,1774,1695,1736,1593,1542,1570,1698,1550,1634,1902,1883,1940,2261,2595,2644,2281,2033,2667,3461,3366,2959,2364,2449,3064,3567,3110,2518,2500,3034,3522,3295,3473,3352,2856,2481,2114,2634,2419,2136,2208,2121,2051,2446,2587,2519,3027,3161,3190,2370,1578,2006,2875,2707,2518,2822,2907,3269,3344,3129,3124,3413,3728,3709,3775,3398,3449,3856,3581,3219,3291,3271,3819,3738,2739,2469,2758,2458,2347,2680,3077,2902,2494,2535,2806,3208,3116,3127,3029,3025,3471,3651,2375,1777,2195,1995,2072,2474,2497,2526,2358,2131,2359,2351,1837,1586,1864,2544,2988,3062,2967,2777,2864,3288,3177,2385,2325,2157,2307,2983,3921,4017,3793,3851,3008,1794,1475,1446,1387,1498,1757,1914,2451,2876,3082,3178,2648,2105,2665,2746,2096,1843,1838,1814,1546,1565,1682,2117,2197,2526,2611,2526,2223,1997,1900,2515,2900,3078,2696,2587,2547,1945,2112,2420,2260,2430,2507,2098,2210,2500,2325,2468,2720,2388,2033,1892,1865,2128,2171,1906,1557,2100,2544,2021,1686,1542,1015,1934,3471,3421,3756,4042,3789,3428,3250,3127,3002,3074,3261,3459,3458,3365,3614,3930,4376,4164,3958,3726,3557,3483,3283,2864,2708,2809,2865,3076,3443,3383,3705,3949,4353,4293,3898,3202,2803,2780,2404,2243,2420,2698,2744,2548,2240,2226,2504,2348,2987,3348,2996,2165,1745,2313,2141,1409,1662,1932,2262,2452,2175,1965,1717,1526,1868,2243,2298,1979,1959,1946,1953,1858,1849,2010,1828,1210,1798,2240,2149,2821,2652,2119,1679,1674,1832,1579,1537,1452,1796,1937,1657,2270,2556,2025,1864,1845,1981,2362,2578,2765,2223,2045,1905,1754,2447,3074,3404,3397,3418,3752,3275,2551,2530,2856,3330,3571,4240,4112,3228,2951,2912,3325,3840,3548,3129,3460,3498,3256,3265,3216,3310,3377,3666,4084,4037,3738,3939,4345,4421,4528,4793,4644,4120,4119,4185,4169,4141,4016,3972,3907,3763,3519,3239,3632,3707,3475,3333,3486,3607,3795,3921,3928,3992,3657,3409,3547,3602,3444,3427,3565,3898,4080,4030,3343,2792,2675,2833,3082,2522,2298,2513,2403,2754,3161,3636,3413,3433,3550,3544,3187,2940,3142,3430,3671,3576,3748,3595,3473,3431,3619,3975,4018,3771,3264,3194,3417,2943,3305,3973,4001,3732,3748,3533,2596,2319,2711,2872,3284,4212,4635,4625,4729,4528,4332,4273,4047,3860,3907,3250,2278,1992,2264,1993,1758,1965,2062,3198,3974,3707,3428,3335,2203,2093,2048,2000,2154,2194,2013,2428,3249,3011,2843,2752,2181,1860,2636,3210,3022,2334,2354,2508,2210,2024,2078,1959,1766,2184,2354,2099,1969,1715,2185,2266,1881,1421,1620,2358,2230,2098,1626,1927,2066,2070,2577,2256,2090,2071,2120,2571,2187,1463,1618,1982,2080,1760,1788,1777,1530,1873,2007,2075,2329,1918,1317,1537,2081,2114,2052,2054,1725,1800,2441,2351,2385,2701,2728,2369,2572,2204,1400,1918,2821,2622,2547,2374,1962,1985,1916,1942,1934,2104,2497,2739,2808,2442,2096,1859,1841,2115,2309,2741,2425,2140,2397,2520,2772,2977,2875,2750,2614,2702,2493,2358,2483,2711,2669,2265,2289,2766,2646,2170,2048,2555,2990,3077,3494,3235,2776,3130,3175,2906,2592,2223,2280,2583,3355,3372,2849,2209,2710,3195,3230,3630,3875,3646,3208,3181,3232,3372,3809,3614,3398,3680,3740,3415,3320,3444,3489,3419,3436,3378,3248,3233,3427,3427,3355,3317,3170,3185,3287,3348,3276,3195,3170,3196,3152,3215,3283,3533,3593,3880,4002,4165,3962,4167,4515,4740,4997,4932,4432,3864,3503,2989,3285,3385,3364,2734,2458,2379,1992,2692,3110,2541,3198,3261,3685,4330,4015,3108,3691,4119,4167,4140,3636,3370,3474,2977,2166,2489,2383,2311,2203,2743,3074,2166,1807,1851,2061,2250,2490,2578,2216,1781,1576,1757,2004,1936,1994,1769,2030,2809,3488,3288,2045,1289,2177,3495,3461,3039,3120,3002,2600,2360,2353,2917,3122,2915,2682,2374,1974,2120,2630,2957,2591,2302,2147,2542,2584,2570,2790,2643,2715,3003,2910,2799,2401,2107,2163,2518,2395,2139,2611,3089,2770,2191,1981,2036,2273,2342,2400,2431,2685,3373,3363,2688,2104,2220,2216,2230,2595,2593,2267,2483,2317,2405,2473,2472,2002,1918,2257,2868,3023,2899,2463,2494,2085,2120,2708,2633,2925,2683,2243,2133,2320,2431,2665,2796,2720,3016,3868,3880,3050,2114,2441,2962,2568,2531,2841,2576,1973,2140,2283,2378,2563,2392,2166,3266,2736,2170,1926,2158,2492,2654,2729,2584,2619,2579,2668,2512,2457,2104,2105,2796,2732,2218,2280,2265,2554,2999,2462,2357,2586,2529,2509,2868,2824,3089,3007,3001,2938,2750,2814,2731,2656,2524,2520,2609,2717,2162,1551,1936,2001,1921,2179,2194,2017,2915,3195,2589,2830,2825,2743,2682,2389,2295,2568,2836,3310,3854,3398,2149,1851,1967,2071,2269,1913,1600,1681,1618,2095,2198,1659,1522,1416,1453,1627,2008,2241,2450,3470,4139,4454,4508,3915,3188,3099,3328,3127,2893,2773,3140,3259,3218,3274,3366,3189,3492,3969,3504,2937,2971,2900,3208,3835,3670,3420,3295,2897,2205,2590,3179,2785,2730,3164,3162,3167,3285,3461,3663,3591,3716,3597,3453],[3072,3451,3663,3543,3352,3317,3024,2735,2803,3050,3316,3539,3310,3373,3584,3253,3780,4136,3742,3230,3438,3238,2662,2456,2796,3409,3544,3216,3260,3598,3617,3598,3469,3225,2862,2626,2791,3139,2742,2384,2575,3270,3445,3350,3581,3639,3249,3301,3139,2884,3353,3697,2836,2400,2626,2542,2338,2271,2568,2911,2996,3524,3947,3644,3738,3763,3654,3896,3576,3397,3886,3863,3887,3554,3725,3068,2912,3406,3851,3554,3371,3765,3935,3442,3073,3735,3264,2752,3555,3741,3596,3758,3862,3578,3424,3274,3174,3371,3481,3456,3354,3042,3667,3365,3372,3294,3363,3718,3415,2220,1204,1128,996,898,1271,1259,1216,1649,2241,2946,3094,3093,2789,2158,2267,2480,2641,2767,3896,3949,3886,3547,3330,2810,2524,2217,2269,2569,2492,2625,2222,2077,1981,2027,2251,1807,1682,1926,2041,2112,1586,1367,1973,2320,2501,2415,2239,1992,1996,1737,1826,2102,1937,2315,2757,2889,2730,2433,2635,2307,1968,2013,1902,2052,1867,1853,1932,2067,1936,1803,1844,1946,2177,1950,1788,2016,1797,2314,2676,2769,2502,2609,2777,2636,2385,2384,2075,2086,2746,2534,2431,2491,2402,2115,2818,3021,2119,2168,2453,2219,2186,2172,2488,2758,2150,1943,1892,1776,1838,2106,2004,1749,1897,1958,1778,1905,2374,2177,2104,2250,2290,2244,2680,2770,2266,1986,2248,1837,1746,1718,1704,1759,1962,2074,1695,1755,1828,1869,2231,2191,1808,1723,2359,2835,2888,2523,2530,2349,2500,2436,2400,2280,2075,2437,2751,2503,2216,2634,2476,2168,2326,2061,2013,1908,1761,1771,1769,2329,2864,2802,2903,2842,2324,2007,1789,1882,1949,1706,2113,2626,2419,2193,2204,1923,1827,1959,2014,2085,1829,1676,2035,2258,2647,2410,2136,2132,1998,1825,1586,1558,1790,2088,1772,1843,2240,2634,2099,1977,2134,2360,2471,2190,2134,2189,2112,2138,1992,2419,2518,2441,2905,3238,2916,2658,2752,2978,2938,3041,3027,2756,2661,2810,2743,2667,2967,3278,3012,1725,1262,1872,2148,2258,2020,2438,2762,2686,3475,3839,3261,3021,3152,3507,3919,3785,3738,3751,3705,3270,3276,2997,2917,2941,3360,3917,4301,4120,3714,3507,3509,3328,2998,3296,3639,3100,2900,2514,3190,3895,3968,3173,2388,2652,2139,2031,2964,2728,2427,2058,2241,2641,2283,1805,1766,2077,2307,2011,1988,2089,2606,3121,2215,2197,2089,2452,2327,2282,2491,2276,1839,2087,2654,2927,2699,2321,1530,1269,1882,1952,1649,1833,2093,2087,1926,2025,2070,1826,1637,1645,1708,2120,2405,2543,2900,2943,2386,2120,2312,2565,2548,2774,2777,2600,2285,2149,2200,2437,2498,2215,2304,2172,2118,2423,2496,2159,1716,1627,1526,1662,1588,1962,2161,2077,1896,1986,1923,1844,1682,1913,2325,1805,2631,3079,2916,3205,3479,2643,1812,1878,2314,3110,3081,2754,2934,3479,3632,3519,2731,1675,1846,2621,2698,2597,2850,2617,2832,3106,3440,3492,2532,2087,1989,2174,2114,1997,1843,1957,2297,2271,2254,1670,2033,2280,2390,2743,2520,2465,2710,3111,3078,2407,1810,1747,2165,2920,3391,3465,3417,3320,3149,3820,3943,3321,2965,2765,2964,3090,2733,3141,3271,2545,2036,2200,2397,2421,2237,2047,2074,2221,2276,2503,3089,3938,3596,2856,2814,2960,3325,3210,3312,3241,2907,3009,2584,2407,2623,3146,2626,3089,2426,2321,2708,2864,2965,2975,2683,2940,3064,2841,3132,2652,2098,2275,2991,3470,3440,3148,3219,3122,3032,2881,2150,2106,2945,2975,2508,2297,2775,3003,2617,2309,1996,1870,2231,2500,2205,2149,2532,2952,3261,2845,3072,2762,2171,2029,2496,3210,3665,3104,2818,3212,2980,3203,3677,2811,3234,3110,2544,2111,2700,3328,3035,2245,2179,2498,2084,3265,3794,3849,3163,2405,2742,3052,2667,3006,2945,2221,2304,2451,1913,1676,1416,1362,1477,1580,2419,2208,1681,2286,2159,1569,1946,2317,2272,2484,2706,2412,2504,2900,3473,4408,4432,4359,4632,4343,3983,3968,4069,3688,3743,3590,3017,2387,2492,2508,2392,2288,2299,2073,1997,2221,2510,2375,2026,2479,2753,2126,2492,2717,2586,2459,2341,2620,2855,2953,2724,2458,2048,2174,2337,2631,2534,2812,2822,2582,3015,2972,2532,2567,2590,2810,2280,2743,2718,2768,2302,2199,2193,1825,1604,1896,1974,2045,2501,2916,2714,2646,2427,1993,1819,2332,3350,2558,1820,2167,2220,2297,2265,2189,2190,2291,2374,2310,2155,2496,2205,2238,2741,2264,1861,1971,1761,2248,3141,3629,3365,2932,2662,2608,2612,2592,2367,2198,2736,3002,2390,1775,1733,1767,1838,1576,1868,1994,1681,1561,1978,2030,1405,1638,1765,1797,2071,1587,1449,1448,1449,1476,1654,1726,1515,1531,1670,1601,1591,1726,1645,1603,1673,1582,1570,1615,1680,1828,1940,2237,2747,2985,2382,2256,2629,3121,3104,2862,2548,2721,2875,2932,2469,2233,2973,3373,3505,3187,3344,3266,2966,2156,2711,3148,2386,2041,2172,2304,2050,2315,2808,2911,3252,3278,3344,2765,1990,2090,2783,2991,2693,2624,2934,3242,3388,2696,2840,3512,3199,3192,3805,3470,2888,2850,2665,2377,2618,2720,3206,3476,2964,2406,2494,2418,2679,3329,3138,2293,1965,2136,2611,3100,3086,3120,2802,2753,3260,3467,2340,1750,1631,1397,2245,3069,2697,3574,3482,2332,2410,2398,2270,1893,2090,2937,2901,2811,3030,2779,2492,3009,3213,2442,2383,2197,2253,2785,3411,3189,2853,3073,2418,1663,1545,1426,1670,1714,2216,2304,2652,2989,3588,3143,2245,1780,2109,2430,2386,2231,1866,1827,2384,2505,1968,1652,2032,2261,2490,2749,2921,3011,3188,2798,2007,2381,2129,2238,2204,1993,2083,2161,1988,2291,2592,2431,2620,2470,2015,2482,2872,2677,2127,1784,1837,2050,2197,2172,2106,2579,3292,2612,1702,1751,1102,1980,3539,3618,4100,4233,3918,3519,3428,3528,3569,3914,3894,3518,3624,3746,3651,3652,4212,4420,4240,4085,4024,4024,3927,3518,3164,2805,2740,2763,2811,3044,3564,3887,4172,4312,4192,3507,3231,3807,3139,2352,2232,2662,2819,2467,2201,2287,2459,2561,3216,3579,3119,2014,2054,2464,2327,2022,1954,2404,3197,3124,2732,2734,2511,2180,1979,2230,2060,2037,2077,2054,1986,2023,2020,2032,1976,1597,2050,2227,2105,3057,3305,2219,1571,1862,2002,1838,1693,1682,1541,1303,1630,2038,1787,1873,2243,1993,2773,2830,2642,2548,2356,2606,2021,1554,2312,3318,3803,3552,3228,3090,2508,2578,3227,2688,2724,2853,2944,2634,2428,2740,3264,3916,3522,2933,3166,3626,3728,3697,3623,3602,3500,3309,3431,3666,3403,3263,3842,4050,4208,4244,4212,4227,4001,4029,4078,3974,4061,3991,3850,3592,3365,3553,3642,3710,3781,3759,3618,3582,3507,3570,3580,3674,3816,3587,3366,3260,3552,3606,3428,3337,3624,3912,4018,3638,3097,2876,2788,2363,1911,1957,2314,2715,3009,3007,3348,3458,3536,3587,3454,3112,2968,3377,3708,4046,3716,3348,3125,3364,3339,3613,3903,3263,2982,3167,3333,3204,2728,2888,3681,3936,3697,3520,2712,1845,2210,2958,3407,3902,4340,4519,4862,4712,4287,3957,4024,3762,3284,3218,3167,3165,2936,2194,1914,2288,2437,1735,1923,3150,3703,3674,3394,2557,2084,1924,1912,1747,1897,2163,2380,2636,2898,2680,2355,2177,2096,2321,2941,3570,3084,2319,2483,2344,1889,2197,1825,1569,1809,2548,2230,1526,1789,2258,2262,2193,1364,1460,2040,2154,2239,1835,2108,2075,2449,2778,2474,2530,2149,1184,1531,1787,1585,1914,2165,2197,1946,2098,1898,1806,2205,2209,2168,2568,2442,1715,1696,2284,2265,2070,2044,1604,1663,2286,2634,2328,2507,2990,2386,2359,2228,2053,2146,2410,2660,2569,2424,2251,2030,1747,1636,1717,1830,1874,2310,2806,2409,1979,1764,1880,2050,2231,2928,2815,2197,2106,1874,1672,1957,2519,2503,2519,2387,1791,1700,1889,1917,2259,2492,2558,2612,2313,2374,2275,2310,2527,2526,2369,2260,2943,3670,3421,2986,2358,1830,2028,2282,2825,2688,2449,2432,2689,2990,3209,3264,3207,3099,3074,3244,3199,3308,3626,3505,3939,4256,4057,3658,3377,3392,3393,3270,3411,3452,3283,3270,3422,3399,3398,3349,3243,3229,3321,3326,3252,3265,3294,3355,3269,3286,3324,3715,3715,3814,3834,3791,4175,4476,4460,4584,4700,4684,4208,3498,3666,3765,3557,3226,3370,3082,2607,2718,2684,2508,2587,2916,3051,3045,3457,3925,3560,3848,4416,4400,4264,3821,3354,3163,2887,2740,2523,2584,2375,2553,2498,2788,2968,2367,1857,1967,2346,2417,2437,2532,2556,2925,2372,2241,2335,2338,2562,2405,2424,3052,3903,3479,1822,1153,2209,3182,3223,3068,3054,3115,3076,2842,3300,3381,3294,3300,2906,2921,3023,3216,3193,2931,2301,2120,2603,3172,3244,2656,2626,2676,2925,2656,2214,2259,2257,2732,3386,3384,3039,3030,3572,3936,3563,2373,2367,2609,2400,1893,2222,2592,3001,3187,3574,3455,2480,2206,2235,2512,2589,2071,2359,2609,2339,2162,2307,2114,1870,2026,2770,3410,2909,2458,2410,2807,2488,3271,3000,2500,2567,2318,2436,2709,2937,3406,3406,3106,2810,2652,3542,3667,2832,2757,3121,3130,2812,2500,2864,2976,2113,2372,2218,2074,2635,2479,2535,3137,2540,1780,2237,3266,3086,2923,2948,3083,3006,3016,2615,2100,2132,1905,2084,2713,2553,2074,1974,2630,3311,3259,2610,2836,2781,2671,2358,2417,2511,2625,2853,3031,2940,2868,2813,2442,2296,2383,2536,2608,2514,2060,1856,1807,1677,1626,1963,2443,2226,2929,2777,2553,2810,2220,2171,2659,2842,2731,2760,2928,3260,3808,3741,3001,2343,2014,1960,2094,1659,1417,1478,1699,2234,1979,1442,1419,1532,1452,1451,1523,1913,2013,2919,3668,4047,3917,3314,2892,3007,3670,3717,3520,3462,3782,4090,3808,3528,3401,3426,3450,3437,3466,3598,3875,3303,3364,3786,3746,3724,3826,3714,3178,2999,2988,2711,2832,2907,3072,3330,3278,3454,3539,3265,3408,3493,3485],[2932,3334,3770,3797,3312,3465,3471,3063,3024,3006,3072,3220,3420,3850,3660,3395,3838,3972,3062,2404,2852,2857,2719,2727,2878,3176,3329,2716,2498,3168,3273,3349,2807,2988,3370,2999,3282,3686,3731,3550,2844,2883,2834,2930,2861,2634,2936,3090,2834,2759,3369,3791,3195,2977,2604,2447,2712,2689,2755,2592,2609,3396,3500,3041,3404,3288,3513,3863,3812,4006,3937,3723,3705,3225,3167,2981,3137,3854,4068,3590,3633,3832,2941,2783,2490,3443,3377,3271,3824,3796,3294,3285,3463,3383,3365,3026,2633,3349,3783,3574,3516,3213,3393,3173,3482,3317,2893,3182,3095,2487,2148,1870,1848,1542,1570,1240,886,843,1018,1289,1772,2365,2675,2857,3420,3190,3260,3010,3736,3948,3686,2884,2500,2401,1957,1544,1953,2525,2395,2560,2257,2121,2151,2586,2966,2480,1921,1740,1935,1924,1866,1910,2031,2042,2347,2703,2468,1936,2231,2542,2343,2210,2381,2679,2746,2842,2857,2322,2259,2082,2286,2336,2045,1942,2014,1931,1722,1761,1759,1714,1617,1675,1764,1708,1878,1926,1799,2324,3054,3140,2815,2570,2229,2380,2648,2710,2471,2478,3020,2941,2813,2682,2755,2548,2589,2345,2062,2175,2555,2689,2292,1945,2127,2697,2703,2625,2248,1699,1777,2302,2109,1743,2020,1910,1758,2273,2148,2570,2560,2180,2233,2552,2688,2559,1803,1797,2028,1666,1520,1573,2092,2089,1793,1855,2075,2292,2238,2184,2283,1886,1798,2274,2531,2216,2304,2358,2413,2565,3088,2942,2273,1924,2320,2890,2769,2389,2492,2623,2280,2227,2464,2413,1918,1503,1625,1771,1830,2496,3007,2779,2536,2253,1842,1962,1963,1892,1807,1774,1869,2055,2055,2077,2621,2076,1927,2234,2251,2027,1716,2261,2556,2677,2853,2301,1996,2219,1972,1716,1642,1625,1844,2139,2132,1858,1903,2115,1860,2024,2433,2308,1906,2193,1938,1986,2144,2176,2495,2612,2283,2116,2697,3135,2890,2895,3279,3409,3039,2932,2835,2419,2519,2386,2500,3040,3486,3627,3535,2811,2444,2733,2712,2413,2901,3353,3430,3146,3318,3303,2727,2660,2878,2866,3506,3927,3957,3970,3842,3764,3956,3946,3567,3492,3741,3850,3536,3276,3486,3179,3168,3027,2799,3494,3670,2588,2567,2692,2732,2820,3105,2795,3219,3799,3188,2302,2603,2474,2142,2476,2643,2487,2227,1917,2304,2486,2798,2443,2331,2263,2165,2663,2242,2215,2478,2296,2200,2341,2315,2370,1656,1883,2668,3201,2831,2255,1731,1866,2131,1640,1765,2307,2276,2023,1912,2244,2474,1911,1751,1844,1953,2528,2455,1966,2208,2750,3062,2647,2236,2397,2212,2257,2533,2421,2109,2127,2243,1930,1945,2198,2326,2275,2067,2069,2244,1690,1283,1318,1434,1612,1519,1483,1599,1952,2295,2642,2184,2107,1904,2200,2223,2006,2142,2464,2922,3185,3305,2824,2292,2566,2818,3510,3159,2350,2642,3515,3365,3231,2817,2132,2547,3254,2873,2741,3186,2463,2342,2491,3187,3132,2314,2101,2384,2261,2182,2566,2369,2177,2629,2040,1995,2234,2601,2495,2944,3212,3008,2733,2532,2722,2719,2506,2322,1991,1812,2378,2346,2879,3263,3261,3665,4291,4140,3594,3287,2940,2693,2523,2743,2818,3078,2640,2624,2742,2498,2298,2406,2476,2446,2431,2316,2425,2700,2976,3072,3302,3142,2983,3077,3041,3293,3284,2955,2308,2343,3259,3152,3063,2670,2705,2127,2415,2781,2711,2818,2939,2816,2938,2957,2830,3231,2710,2688,3085,3121,3351,3257,2862,2720,2624,2845,2915,2567,3386,3748,3144,3351,3235,2987,2618,2322,1772,1367,1534,1758,1904,1957,2014,2524,3045,2784,2818,2446,2407,2818,2759,2932,3322,3115,2906,3604,3658,3041,3122,3489,3027,3418,3919,3770,2422,2157,2963,3144,2339,2199,2140,2312,3727,4329,4195,3688,3331,3356,3416,3235,3227,2811,2448,2652,2800,2200,1816,1566,1646,1746,1760,2899,2709,1969,2345,2483,1868,2079,2508,2548,2415,2723,2632,2874,3327,3609,4294,4495,4249,4162,4363,4288,4098,4259,3813,3617,3465,3588,3533,3243,3263,2869,2714,2808,2579,2734,3120,3212,2337,1886,2266,2279,1870,2374,2595,2447,2542,2542,2665,2845,2851,2417,2168,2063,2745,2834,2631,2064,2436,2712,2561,3239,3172,2467,2481,2961,2752,2423,2390,2607,2617,2318,2186,2112,1511,1297,2208,2497,2341,2822,2882,2728,2764,2587,1980,1921,2767,3242,2082,1782,2022,1883,1869,1907,2050,2119,2016,1968,2109,2073,2417,2337,1973,2681,2372,1869,1947,1548,2206,3273,3469,3122,3208,3129,3107,3172,3012,2779,2264,2776,2774,2198,1702,1650,1623,1643,1590,1829,2085,1713,1419,1938,2282,1432,1525,1623,1698,1768,1533,1394,1309,1328,1448,1676,1627,1602,1450,1544,1602,1649,1776,2047,1984,1664,1520,1648,1742,1726,1916,2512,3122,2889,2848,2230,2718,2764,2294,2187,2091,2568,3477,3107,3482,3121,2499,3385,3500,3610,3119,3082,3156,2776,2812,3104,2729,2073,2040,2316,2477,2372,2352,2416,2910,3251,3184,3278,2898,2379,2485,3082,3076,2468,2152,2756,3356,3609,3229,3340,3864,3359,3118,3768,3544,2920,2789,3208,2976,2673,2473,2440,3162,3498,3062,2731,2394,2474,3405,3182,2883,2669,2528,2953,2907,2642,2896,2822,2543,2894,3348,2700,2019,1899,1955,2291,2817,2393,2977,2772,2373,2200,2374,2061,1773,2497,2878,2784,2974,2851,2791,2600,2907,2640,2233,2337,2301,2408,2730,2878,2271,2167,2495,1914,1824,1905,2061,2167,2526,2604,2652,2996,3487,3466,2792,2542,2563,2887,2316,2150,2286,2303,2589,3416,3284,2499,2367,2701,2264,2252,2833,3009,3229,3251,2209,2095,2700,2147,2142,2428,2546,2581,2445,2210,2660,2961,2693,2672,2332,2390,2909,3205,2654,2062,1786,2055,2499,2885,2914,2051,1307,2358,2570,1651,1167,890,2071,3407,3697,4004,4156,4101,4192,4308,4288,4296,4446,4280,3767,3860,4061,3486,3404,4108,4464,4272,4058,3948,4128,4280,4024,3510,3123,3097,2877,2800,2831,2977,3293,3448,3739,3572,2740,2922,4116,4381,3920,3266,3108,2732,2613,2493,2484,2580,2817,3431,3099,2831,2217,2399,2332,2998,3276,2866,3275,3865,3285,2863,2963,3204,2920,2160,2227,2156,2043,1865,1942,2492,3006,2751,2241,2086,2001,1899,1723,2222,2448,2495,1721,1493,1947,2198,1919,1608,1828,1680,1509,2178,2382,2191,2489,2931,2642,2786,2422,2263,2306,2415,2922,2845,2389,2534,3409,3938,3409,2776,2539,2742,3134,2408,1065,1308,2275,2728,2555,2530,3117,3770,3652,2636,2281,2890,3182,3579,3938,3842,3846,3736,3404,3452,3321,3203,3728,4464,4228,4094,4095,4094,4135,4121,4065,3641,3297,3665,3830,3762,3498,3338,3492,3710,3721,3774,3584,3475,3448,3333,3449,3504,3580,3743,3962,3763,3628,3990,4125,3913,3581,3556,3704,3853,3839,3305,2417,2303,1924,2060,2174,2623,2726,2483,2399,2751,3321,3605,3424,3472,3134,3126,3266,3650,3974,3709,3116,2952,3538,3790,3828,3638,3218,3326,3773,3431,2711,2464,2377,3263,3816,3593,2883,2016,2303,3523,3997,4207,4508,3996,4275,4592,4572,4344,3817,3693,3457,3096,3394,4024,4272,3961,3045,2410,2932,2925,1959,1748,2754,3433,3716,3086,2164,1982,1929,1702,1630,1937,2247,2292,2311,2703,2486,2055,2138,2060,1716,1998,2736,2308,1880,2238,2189,2086,2608,2078,1581,1691,2061,1838,1554,1938,2428,2425,1813,1480,1376,1420,1591,2019,2160,2338,2335,2361,2359,2441,2759,2524,1822,1804,1875,1959,2315,2227,2358,2668,2800,2331,2039,2335,2422,2441,2556,2405,2077,2008,2122,2151,1992,2078,2181,2171,2610,2868,2261,2184,2303,2438,2575,2480,2598,2234,2030,2065,1836,1933,2148,2250,1992,1816,1611,1594,1977,2590,2808,2316,2421,2476,2408,2286,2060,2298,2365,1751,1495,1511,1574,1955,2389,2619,2925,2396,1322,1249,1720,1813,2319,2438,2230,1797,1724,2204,2115,1848,2017,1947,1553,1949,2889,2944,2831,2609,2397,2146,1931,2125,2262,2066,1963,2218,2369,2618,3250,3373,3374,3186,3211,3282,3254,3392,3580,3820,4392,4504,4265,4301,4047,3332,3299,3275,3296,3410,3308,3229,3295,3326,3370,3307,3164,3176,3327,3273,3193,3303,3420,3620,3621,3387,3495,3559,3435,3538,3565,3771,4409,4533,4501,4385,4356,4553,4109,3347,3520,4048,3798,3398,3198,2687,2315,2644,3074,2755,2540,3265,3321,3298,3537,3725,3848,4079,4133,4093,3861,3221,3431,3157,2631,2367,2045,1864,1980,1879,2054,2610,2637,2138,1749,1779,2062,2204,2103,2289,2295,2810,2385,2105,2247,2373,2744,2808,3403,3716,3904,3624,2810,2558,2902,3124,3037,3341,3586,3773,3671,3138,3503,3797,4338,4320,4040,3588,3300,3592,3769,3470,2845,3160,3747,3574,3480,2584,2511,2754,2777,2512,2235,2586,2927,3492,4145,3696,2716,3152,3913,3884,3964,2912,2230,2379,2676,2700,2296,2665,3564,3507,3522,3351,2347,1621,2136,2834,3053,2974,3045,2978,2730,2358,1895,1841,1795,1810,2086,3050,3176,2343,1987,2053,2430,3066,2626,2344,2283,2447,3299,3448,2806,2792,2834,3154,3024,2518,3154,3599,3481,3694,3696,3718,3475,2778,2898,3097,2522,3019,3191,2853,3208,2964,2745,2905,2169,1625,2434,3388,2969,2663,2819,2931,2788,2735,2150,1890,2168,2284,2540,2753,2502,2003,2253,3089,3537,2878,2127,2665,3274,3016,2723,2410,1945,2200,2568,2602,2805,2952,3042,2565,2318,2382,2227,2002,2462,2688,2050,1548,1994,2219,2096,2366,2208,2890,2835,2648,2675,2399,2137,2378,2833,2676,2786,3060,3174,3604,3718,3719,3195,2366,1998,1931,1691,1451,1502,1737,1776,1577,1417,1412,1535,1497,1383,1489,1595,1709,2274,2962,3565,3598,3982,3830,3174,3858,4087,3847,3808,3960,4104,4208,3863,3321,3361,3520,3602,3710,3697,3617,2842,2902,3454,3825,3991,3928,3846,3769,3750,3283,2940,3144,3581,3708,3864,3733,3549,3444,3193,3210,3429,3349],[2729,2894,3362,3494,3166,3550,3749,3283,2999,3075,3648,3506,3482,3829,3983,3860,3737,3587,3072,2945,2896,2436,2797,3211,2885,2624,2495,2509,2821,3055,3378,3168,2626,3089,3428,2828,3339,3818,3349,3675,2878,2829,3054,2865,2565,2381,2786,3374,3105,3087,3454,3733,3488,2980,2822,3077,3204,3082,3030,2996,3168,3338,2944,2466,3208,3520,3538,3963,4165,3360,3316,3438,3558,3664,3338,3360,3659,3879,4353,4216,3895,3681,3060,2776,2684,3138,3203,3330,3544,3404,3178,3492,3351,3544,3573,3261,3186,3677,3902,3542,3651,3871,3676,3383,3570,3558,2851,2865,3244,3030,2800,2835,2856,2552,2401,1957,1525,1204,862,910,934,1178,1800,2574,2956,3081,3182,3002,3200,3626,3384,2651,2652,2884,2330,1840,1800,2198,2286,2359,2100,1783,2138,3017,3248,2755,2415,2175,2269,2459,2332,2165,1688,1472,1388,1797,2421,2389,2562,2752,2489,2126,2466,2709,2381,2346,2194,2186,2452,2954,3000,2379,2088,2296,2223,1833,1687,1973,1804,1789,1708,1730,1718,1681,1580,1650,1698,1832,2252,2567,2418,2398,2249,2351,2933,2753,2584,2942,3052,3029,2403,1992,2415,2836,2584,1786,1480,1989,3076,3361,2920,2634,2812,2977,2862,2786,2751,2107,1942,2022,1815,1787,1782,1788,1826,2009,2349,2831,2569,2278,2680,2800,2586,2279,1842,1843,1689,1600,1683,1867,2126,2088,1863,1912,2030,2323,2590,2424,2261,2045,2209,2634,2214,1899,1798,2387,2430,2384,2661,2611,2272,2378,2644,2686,2523,2331,2129,1924,1935,2090,2323,2505,2283,1802,1638,1869,1643,2619,3263,3179,2511,2059,1709,1891,1857,1760,2162,2266,2010,2026,1938,1751,2191,2352,2845,2694,2179,2004,2234,2861,3127,2764,2636,2380,2570,2380,1848,1922,1870,1704,1674,1910,2414,2236,1724,1777,1764,1829,2051,1933,1498,1771,1820,2567,2812,2483,1998,1577,1859,2254,2442,2900,3162,3504,3198,2795,2316,2318,2391,2395,2635,2799,2977,3394,3698,3529,2971,2621,2577,2525,2703,2846,3039,3378,3343,2965,2733,2797,2569,2563,2880,2662,3768,4347,4332,3784,3486,3413,3492,3675,3635,3572,3360,3247,2822,2812,3066,2204,2458,2776,2918,2845,2476,2246,2650,2948,2569,2337,2388,2379,3641,4021,3791,2779,2248,2512,2461,2321,2490,2470,2186,1876,2602,3062,2458,1958,1746,1747,1812,2498,2458,2397,2626,2028,2054,2224,2310,2493,1722,1615,2214,2469,2198,2082,2126,2251,1990,1635,1787,2468,2215,1808,1884,2411,2286,1799,1827,1954,1981,2170,2266,2266,2295,2605,2922,2601,2104,2013,1849,1850,2459,2833,2542,2541,2786,2474,2540,3164,2383,2267,2256,2396,2628,1902,1491,1575,1618,1522,1582,1534,1578,1942,2284,2708,2382,2001,1841,2047,1968,1791,1792,1900,1686,1844,2303,2002,2187,2514,2709,3374,3110,2235,2512,3172,2900,2921,3047,2692,2658,3043,2554,2652,3321,2888,2640,2772,3140,2710,1864,1683,2113,2230,2227,2403,2320,2667,2721,2106,1911,2389,2556,2607,2923,2895,3109,2569,2090,2260,2177,2177,2571,2591,2840,2800,2548,2572,2677,3441,3920,3917,4148,3850,3119,2513,2248,2493,2916,2451,2381,2335,2546,2916,2916,2506,2269,2457,2786,2915,2811,2613,2575,2607,2938,3285,3110,2923,2754,2743,2807,3182,3010,2546,2865,2423,2834,2887,2900,2626,2079,2628,3043,2988,2714,3229,3378,2711,3068,3163,3116,2673,2632,3051,3060,3160,3120,2623,2791,3032,2640,2394,2639,3583,3606,3452,3588,3294,2762,2432,2120,2056,2120,2081,2409,2523,2415,2220,2389,2329,2005,2109,2027,2721,3448,3204,3044,3273,3248,3547,4219,3800,3563,3009,2133,2721,3297,3406,3315,2303,2043,2141,2264,2271,2209,1798,2319,3335,4116,4263,3793,3359,3277,3072,2586,2460,2320,2197,2514,2597,2105,1995,2230,2261,1694,2023,2965,2750,2298,2286,2567,2267,2018,2496,2852,2800,3094,3189,3342,3723,4130,4899,4991,4310,4020,4135,4252,4287,4524,4419,4095,3672,3709,3994,4092,3494,2812,2801,2385,2675,2812,3110,3096,2657,2139,2255,2275,2134,2686,2769,2358,2171,2131,2437,2766,2957,2288,2096,2099,2600,2946,2420,2131,2623,2258,2517,3099,2911,2562,2339,2833,2319,2334,2471,2238,2163,2565,2642,2160,2011,1997,2233,2187,2518,3283,2896,2622,2664,2193,1790,2116,2897,2753,1786,2105,2218,2204,2314,2394,2380,2464,2423,2448,2626,2406,2730,2768,2094,2808,2379,1813,1774,1397,2123,3366,3708,3663,3554,3300,3054,3012,3123,3144,2461,2664,2554,1970,1556,1606,1571,1571,1714,1843,1779,1478,1388,1476,1748,1539,1490,1488,1561,1584,1500,1347,1311,1291,1420,1748,1611,1672,1505,1494,1633,1636,1817,2064,1860,1537,1506,1624,1747,1937,1819,2258,2599,2668,2471,2116,2264,2235,1935,2066,2035,2376,3416,3321,4033,3804,3008,3177,3080,3498,3531,3610,3345,2564,2784,2579,2395,2689,2873,2834,2883,3086,2972,2922,3229,3059,2841,3218,2834,2752,2643,2749,2641,2719,2595,2874,3007,3184,3458,3399,3835,3703,3312,3452,3771,3100,2542,2668,3463,3660,3259,3000,3044,3190,3218,2397,2179,2243,3723,3636,3808,3443,3115,3041,3043,3072,2806,2678,2640,2692,2880,2784,2553,2169,2256,2264,2327,2200,2447,2792,2566,2094,1963,1991,2282,2500,2766,2513,2419,2218,2332,2796,2967,2539,2310,2362,2242,2286,2568,2458,2046,2339,2072,1791,1884,2397,2758,2657,2899,2833,2738,3153,3328,2989,2617,3175,3417,3066,2148,2096,2705,2743,3128,3162,2888,2745,2836,2830,2244,2268,2595,2488,2978,2629,1853,2546,3416,2596,2328,2557,2271,2216,2171,1924,2336,2436,2434,2171,1888,2128,2570,2724,2566,2186,1822,1968,2547,2792,2631,1914,990,1744,2271,1688,1204,976,2034,3444,3691,3885,4042,4060,4191,4315,4415,4443,4289,4063,3714,3532,3493,3276,3360,3812,4196,4218,4384,4156,4352,4376,4110,3916,3497,3211,3131,3218,3182,3194,3378,3536,3869,3996,3773,3477,3838,4201,4096,3964,3666,2883,2751,3261,3161,2697,3111,3648,3293,3012,2861,2329,2551,3332,3378,2880,2953,3120,2799,2718,2956,3215,3123,2399,2437,2631,2332,1572,1434,1674,1840,2359,2369,2519,2784,2247,1920,1942,2156,1974,1533,1932,2452,2806,2566,2361,2316,1892,2144,2547,2267,2859,2481,2221,2778,2452,2063,2220,2075,2356,3188,3011,3007,2980,3089,3209,2464,1909,2188,3043,2454,1078,592,620,1184,2216,2803,2714,3134,3452,3376,3064,2779,2819,3054,3692,3999,3786,3882,4026,3746,3548,3009,3395,4199,4396,3990,3576,3620,3962,4108,4179,4016,3694,3485,3299,3571,3537,3404,3437,3543,3479,3458,3394,3282,3388,3465,3506,3607,3638,3615,3686,3912,4195,4271,4120,3902,3848,3751,3675,3670,3772,3790,3718,3082,3264,3286,3174,3052,2901,2678,2459,2139,2335,2847,3238,3090,3371,3255,3203,3039,3310,3753,3649,3116,2916,3269,4199,4151,3548,3146,3174,3749,3270,2928,2722,2633,3274,3858,3476,2560,2099,3296,4608,4620,4576,4993,4740,4431,4364,4468,4356,3989,3696,3305,3073,3416,4077,4287,4167,3458,3073,3733,2963,2001,2052,2514,3046,3606,3259,2485,1991,1848,1638,2054,2436,2519,2507,2381,3163,3364,2536,2135,1829,1497,1529,1454,1630,1511,1622,1959,2194,1944,1266,1360,1812,1661,1535,1504,1583,1999,1975,1425,1433,1425,1433,1359,1470,1844,2154,2213,2348,2226,2430,2576,2519,2168,2156,2016,1914,1878,1909,2242,2388,2647,2657,2640,2786,2742,2490,2340,2098,2171,2127,1842,1926,1866,1779,2364,2739,3095,3022,2429,2382,2153,2303,2281,2272,2510,2342,2066,1772,1819,1982,2150,2031,1897,1830,1583,1490,1641,1902,2140,2216,2490,2623,2419,2282,1882,2098,2399,1775,2142,2536,2286,2028,2129,2652,2890,2209,1425,1124,1542,1776,1750,1892,1986,1866,1759,2318,2307,1833,2025,2069,1686,1982,2777,2663,2680,2355,2088,1925,2105,2362,2847,2642,1873,2169,2407,2796,3475,3484,3522,3260,3301,3306,3162,3311,3549,3736,3794,3828,3774,3575,3443,3078,3410,3342,3343,3416,3405,3309,3221,3237,3231,3227,3175,3142,3282,3207,3348,3395,3605,3590,3575,3526,3394,3370,3502,3647,3740,3817,4025,4171,4312,4244,4271,4300,4151,4109,4332,4416,4108,4034,4073,3306,2199,2445,3040,3296,3231,2984,2874,3494,3940,3311,2647,3304,3722,3492,3185,3182,3423,3000,2457,2264,2096,2127,2046,1722,1697,1947,2173,1955,1845,1852,2007,2172,2003,1976,2282,2496,2201,2583,2770,2430,2829,2839,3547,3726,3738,3447,3093,3205,3387,3293,3218,3467,3706,3773,3514,3048,3237,3673,4563,4667,4260,3385,2938,3365,3859,3821,3229,3807,4036,3941,3938,2980,2750,2898,2842,2483,2134,2640,3453,3833,4344,3774,2341,2745,2792,3178,3496,2898,1969,2272,3206,3039,2270,2687,3186,3161,2787,2176,1783,1832,2693,2938,3086,3452,3149,2834,2969,2510,1923,1924,1847,1871,1748,2293,2733,2623,2366,2250,2431,2421,2302,2253,1982,1975,2590,2566,2043,2099,2170,2310,2512,2364,2943,3765,3709,3781,3770,3901,3889,3198,3096,3463,3107,3129,3042,2352,2010,1997,2436,2610,1865,1776,2308,2448,2008,2108,2612,2763,2482,2154,2172,2116,2203,2342,2712,2997,2624,1797,1845,2447,2872,2548,2254,2712,3207,3186,3124,2342,1810,2462,2902,3190,3283,2864,2933,2856,2403,2230,1944,1820,2712,2459,2267,1862,2692,3163,2453,2094,2226,2688,2739,2465,2399,2410,2018,2187,2767,2580,3108,3165,3053,3153,3496,3665,3459,2780,2103,2098,2027,1632,1581,1844,1986,1966,1695,1470,1476,1469,1627,1844,1640,1635,1980,2227,2820,3419,4252,4235,3731,3481,3647,3818,3875,3666,3698,4042,3984,3692,3529,3705,4017,4120,4061,3783,3026,3100,3677,4084,4136,4135,4215,3873,4127,4184,3837,3475,3792,4235,4221,3940,3594,3315,3158,3364,3591,3381],[2598,2567,2955,2838,2150,2814,3318,3084,3038,3560,4004,3709,3472,3817,3733,3396,3399,3457,3386,3473,3514,3596,3615,4144,3768,3056,2495,2669,2500,2842,3578,3426,3105,3216,3271,2753,3066,2899,2535,2832,2387,2372,2522,2417,2657,2601,2496,2812,2909,3119,3104,3262,3142,3197,3460,3096,2894,2996,2920,2813,2791,2985,2535,2294,2623,3181,3350,3770,3439,2739,3133,3174,3378,4057,3895,3792,3860,3769,4063,4151,3770,3362,3173,3176,3289,3093,3000,3293,2999,2768,3152,3695,3585,3737,3664,3647,3399,3315,3305,3240,3293,3385,3227,3180,3706,3847,3571,3626,3825,3704,3458,3160,3076,3161,2989,2820,2842,2424,1983,1415,1069,961,960,1284,2163,2928,3099,2607,2430,3212,3304,2811,2481,2610,2692,1726,1216,1739,2499,2978,2663,1864,1894,2633,2878,2386,2388,2450,2656,2730,2363,2599,2183,1731,1399,1697,2170,2519,2744,2528,2247,2112,2127,2619,2545,2301,2049,2147,2295,2390,2569,2310,2084,2008,1829,1618,2010,2500,2622,2198,1803,1683,1667,1619,1738,1806,1719,1695,1924,2303,2282,2211,2135,2175,2630,2366,2224,2187,2049,2265,2188,1826,1693,2318,2157,2145,1968,2676,3252,3247,3232,3016,2612,2473,2369,2782,3421,2900,2813,2227,2235,2108,1617,1543,2044,2578,2772,2686,2433,2388,2614,2688,2543,1642,1632,1871,1669,1679,1997,1982,2065,2027,2029,2181,2004,2221,2663,2617,2237,2035,2393,2531,2238,1978,2233,2564,2468,2654,2525,2437,2427,2534,2236,2146,2337,2282,1889,2110,2156,1743,1981,2121,1900,1704,1706,2041,1877,2928,3029,2829,2246,1796,1691,1747,1895,2311,2514,2324,1936,2591,2658,2208,2374,2946,2989,2501,2127,2106,2352,3044,3495,2917,2311,2069,2614,2380,1959,2234,2149,1927,1844,1697,2114,2165,1718,1765,1961,1727,1723,1840,1716,1710,1895,2043,2003,2067,2087,2465,3074,2697,2225,2731,2762,3183,2819,2431,2033,2038,2320,2600,2712,3038,3138,3416,3555,3378,3074,2313,2343,2591,2820,2604,2556,3077,3223,2719,2112,2404,2050,2163,2001,2382,3768,4200,3905,3247,2905,2939,3110,3476,3342,3054,2541,2679,2314,2826,2952,3030,3444,3797,3501,2306,1713,2131,2500,2517,2297,2242,1941,2134,2954,3427,3198,2415,2099,2414,2236,2297,2645,2534,2330,2446,2703,2569,2125,1869,1747,1836,1881,2131,2239,2359,2380,1950,2104,2387,2320,2526,1980,1552,1912,2039,1766,1873,2201,1887,1811,1670,1966,2689,2306,1903,2093,2222,2124,2025,1844,1749,1509,1875,2292,2084,1958,2497,2538,2120,2067,2407,2375,1962,1916,2144,2454,2793,2928,2139,2296,3262,2580,2484,2502,2356,2305,1981,1778,1974,2029,1910,1857,1735,1843,1758,1859,1652,1735,1737,1969,2443,2320,1803,1745,1638,1544,1574,1599,1530,2200,2605,2910,3500,3276,2079,2236,3009,3073,2937,2911,2723,2809,2905,2195,2451,3022,3037,3094,3344,3354,2851,2212,1719,2073,2288,2431,2293,2017,2050,1860,1686,1874,2194,2078,2256,2711,2977,3241,2407,2129,1991,1794,2100,2269,2142,2372,2783,3277,2749,2775,3510,3175,2896,3077,3294,3006,2749,2793,2764,2409,2231,2387,2662,2546,2415,2729,3207,2866,2303,2144,2326,2464,2688,2736,2850,2787,2187,2119,2136,2248,2443,2327,2191,2533,2996,3097,2745,2842,2664,2814,2396,1621,2425,3010,3011,2728,3335,3660,3090,3009,2763,2764,2712,2828,3234,3322,3245,3046,2733,2736,2707,2483,2146,2952,3043,2785,3096,3105,2832,2611,3018,2690,2700,2269,2482,2824,3061,3176,2799,2590,2095,1694,2001,2602,2855,2929,2717,2661,2961,3360,3630,3925,3525,3032,2354,1854,2551,3362,3133,2670,2469,2247,2167,2770,2792,2556,2259,2482,3157,3646,4007,4029,3370,2821,2428,2161,1947,1622,1737,2207,2133,2050,2070,2230,2360,1889,2423,3116,3130,2546,2132,2239,2315,2352,2927,3585,3651,4112,4147,3913,4576,4687,5159,5371,4982,4424,4251,4184,4199,4408,4559,4257,3821,3853,4264,4142,3722,3193,3120,2927,3030,2866,3037,2889,2937,2655,2433,2236,1917,2576,3239,3374,2321,1952,2276,2445,2645,2972,3019,2999,3360,3151,2531,2375,2158,2033,2700,2974,2570,2456,2015,2217,2419,2345,2500,2279,1891,2304,2641,2156,2665,2570,2061,2259,3145,3294,2675,2666,2662,2157,1907,2470,2968,2059,2003,2177,2197,2287,2277,2339,2394,2451,2482,2387,2646,2442,2790,2886,2130,2692,2366,1822,1706,1428,2115,3399,3666,3199,2531,2352,2175,2011,2593,2851,2509,2780,2625,1874,1544,1522,1675,1879,1995,1747,1575,1455,1414,1355,1339,1345,1393,1444,1568,1782,1588,1300,1328,1315,1600,1795,1639,1684,1760,1739,1577,1486,1579,1609,1442,1544,1498,1566,1612,1903,1779,1892,2193,2174,2083,1956,1669,1469,1621,1949,1887,2423,3299,3267,3063,2823,2776,2710,2865,3597,3691,3462,3544,2640,2754,2994,3395,3669,3629,3331,3297,3132,3040,3094,2986,2956,2677,2454,2220,2332,2278,2260,2418,2492,2444,2854,2932,3093,3278,3127,3731,3528,3001,3480,3639,2567,1945,2043,3096,4132,4279,4096,3463,3145,3741,2830,2604,2360,3953,4352,4144,3673,3576,3278,2563,2172,2327,2474,2171,2386,2661,3121,2880,1965,1849,2434,2757,2480,2389,2275,1944,2132,2212,2106,2036,2113,2607,2302,2184,2294,2855,2987,2613,2349,2483,2415,2238,2470,2855,2513,2386,2475,1869,1844,2144,2918,3322,2867,2805,2840,2805,3319,3364,3253,2355,2377,2656,2257,2201,2707,3022,3095,3051,2785,2406,2676,2601,2503,2302,2298,2677,2626,2987,2953,2196,2533,3290,3101,2655,2228,2318,2655,2468,2269,2457,2701,2461,2119,2711,3075,2845,3053,3088,2487,1923,1921,2508,2731,2997,1830,884,2101,2427,1786,1616,1135,1974,3489,3757,4132,3981,3858,4016,4355,4372,4224,4014,3850,3491,3097,2998,3327,3569,3580,4064,4360,4376,4328,4352,4196,3896,3758,3588,3436,3217,3470,3784,3357,3315,3716,4262,4408,4416,3937,3553,3476,3432,3593,3620,2669,2518,3160,3376,2798,3313,3436,3207,3271,3316,2491,2573,3095,2757,2369,2818,2284,2109,2482,2892,2853,2624,2183,2408,2435,1634,1130,1454,1581,1248,1660,2052,2190,2441,2339,1930,1693,1736,1631,1922,2339,2834,2877,2397,2298,2274,1766,1704,1800,2470,3319,2968,2850,2655,2223,2403,2609,2743,2938,2944,2482,2597,2802,2887,2917,2183,1851,2654,2771,1810,678,536,475,609,1693,2648,2658,2843,3162,3532,3242,2732,2692,2951,3331,3647,3758,3845,4020,4177,3882,3259,3575,4231,3813,3106,3094,3430,3805,3784,3718,3663,3885,3893,3665,3563,3249,3432,4065,4204,3952,3648,3505,3914,3771,3594,3582,3642,3731,3726,3713,3816,4019,4108,3885,3650,3615,3569,3648,3683,3826,3758,3892,3660,3228,2962,2990,3038,2515,2174,2144,1872,2085,2574,3136,2981,3304,3530,3417,3074,3187,3710,3650,3247,3083,3341,4276,3999,3594,3193,3293,3776,3442,2907,2802,2679,2865,3321,3039,2985,2792,3693,4633,4728,4680,4979,4896,4411,4269,4267,3889,3592,3378,3118,3074,3172,3820,4200,4287,3726,3457,3537,3017,2403,2447,2590,2326,3055,3571,3350,2187,1831,1987,2429,2507,2567,2446,2221,2834,3648,3071,2380,1723,1568,1440,1374,1588,1729,1797,1750,1968,1913,1823,2491,2776,1918,1638,1420,1393,1599,1458,1404,1439,1482,1481,1375,1366,1433,1588,1929,2311,2452,2586,2523,2520,2196,2148,1914,1820,2090,2077,2113,2302,2916,3129,2975,3334,2953,2442,2586,2493,2349,2245,1592,1934,2084,1982,2229,2639,2522,2119,2099,2213,2128,2109,1885,1852,2026,2282,2110,1689,1864,2114,2024,2242,2374,1793,1482,1515,1505,1732,2280,2544,2226,2171,1970,1848,1701,2209,1981,2097,2501,2440,2068,1930,2277,2834,3023,2330,1693,1192,1427,1642,1988,2142,1954,1834,1849,2098,1944,1677,1764,1764,1450,1515,1847,2212,2609,2171,1807,2109,2531,2843,3189,2792,2196,2421,2397,2644,3443,3634,3462,3230,3185,3089,3083,3277,3513,3851,3841,3901,3640,3359,3208,3120,3396,3373,3333,3270,3370,3398,3321,3264,3283,3275,3181,3129,3269,3242,3400,3487,3559,3479,3546,3707,3614,3511,3580,3762,3940,3769,3601,3769,3984,4107,4431,4396,4434,4716,4693,4484,4211,4289,4453,4240,3136,3037,3132,3792,4229,3960,3473,3373,3581,2653,1930,2864,3218,2813,2297,2380,2512,2243,1994,2057,1699,1885,2602,2164,1541,1689,2139,1902,1936,1996,2305,2399,2043,1808,2154,2611,2569,2410,2329,2326,2662,3034,3298,3482,3480,3084,2800,2935,3099,3175,3138,3485,3750,3917,3287,3242,3487,3929,4647,4812,4392,3382,2849,3184,3285,3371,3110,3682,3614,3673,3897,3222,2862,2771,2291,1974,1769,2003,2414,3348,3584,2915,2183,2530,2842,3384,3557,3465,3039,2785,2989,3043,3068,3074,2797,2427,1602,1882,2271,2450,2766,2539,2699,3043,2652,2503,3040,3059,2905,2570,2247,2159,2128,2144,2390,2132,2025,2533,2142,2038,2307,2396,2200,2620,2699,2074,1971,2131,2062,2210,2275,2114,2623,3517,3562,3724,3885,4037,4038,3575,2937,2919,3129,3051,2922,2165,2049,2130,2387,2602,2551,2184,2307,2262,1821,2162,2236,2221,2398,1971,1903,2083,2174,2250,3154,3371,2439,1521,1945,2765,2692,2352,2570,2990,3049,2900,3205,2757,2513,2501,3009,3362,3108,2590,2474,2568,2356,2385,2224,2256,2363,2283,3142,2757,2714,2529,2507,2769,2757,2666,2364,2262,2320,2312,2484,2629,2862,2671,3144,3169,2918,3042,3407,3560,3400,3028,2425,2110,2047,1732,1725,2309,2357,2171,1812,1563,1548,1646,1811,1634,1503,1415,1551,1641,2314,2928,3884,4327,4034,3660,3328,3320,3818,3761,3600,3704,3827,3859,3729,3864,4014,3836,3376,3221,3603,4006,4007,4061,3942,4094,4337,4030,4083,4265,3911,3620,3669,3893,3981,3889,3693,3506,3448,3480,3461,3527],[3176,3531,3416,3031,2348,2642,2727,2898,2843,3194,3543,3295,3256,3377,3261,3316,3687,3793,3953,4269,4385,3782,3396,3996,4007,3230,2400,2398,2581,2841,3171,3796,3761,3584,3430,2775,2459,2379,2389,2227,2045,2198,2337,2448,2755,2548,2703,2498,2441,2334,2372,2577,2514,3090,3296,2953,3208,2886,2262,2208,2392,3182,2170,2196,2784,3164,3262,3131,2707,2684,3292,3406,3481,3841,4153,4244,3801,3603,3852,3828,3460,3479,3505,3387,3205,2431,2055,2577,2578,2940,3541,3736,3681,3492,3282,3355,3427,3243,3038,3349,3440,3572,3304,3520,3884,3802,3649,3749,3935,3829,2906,2081,2534,3244,3401,3464,3337,2993,2986,2690,2216,1653,1230,851,1534,2299,2070,2301,2929,2889,2492,2008,1639,1946,2057,1910,2284,3177,3457,3378,3366,2568,1670,2341,2587,2661,2862,3032,2766,2121,1979,2330,2403,2272,2118,1862,1640,2127,2412,2447,2070,2380,2083,2014,2366,2511,2010,2017,2407,2260,2499,2383,1999,1567,1470,1577,1936,1920,2044,2001,1733,1564,1636,1987,2426,2072,1921,1929,1975,2412,2749,2708,2171,1907,2058,2039,2353,2325,2129,2546,2614,2091,2216,2391,1750,1928,2460,3017,2918,2554,2508,2387,1989,1981,2006,2418,3159,3450,3029,2377,2174,1862,1426,1196,1742,2578,2508,2178,2254,2472,2565,2682,2906,2020,1646,1829,1702,2040,2163,1723,1858,1903,1748,1992,2254,2463,2796,2717,2258,2141,2232,2121,2179,2345,2512,2573,2487,2217,2323,2067,2291,2239,1716,1809,2240,2279,2400,2613,2004,1651,2322,2349,1788,1443,1726,1872,1896,2284,2603,2722,2381,1840,2042,2272,2314,2561,2623,2415,2630,2988,2668,2544,2813,2545,2199,2501,2493,2354,3132,3719,3939,3488,2485,2280,1971,2071,2302,2360,2124,2105,2188,1736,1989,2014,1982,1897,1881,1758,1718,1858,1890,1679,1412,1399,2045,2441,2373,2541,2694,2612,2351,2337,2755,3086,2666,2209,2114,2153,2542,2706,2580,2807,3122,3356,3252,2930,2592,2184,2214,2542,2812,2541,2496,2890,2972,2591,2364,2401,1944,2514,2621,2457,3076,3598,3294,2796,2453,2809,3439,3696,3022,2067,1493,1974,2329,2615,2390,2216,2665,3245,2985,1676,1606,2280,2143,2479,2326,2251,2460,2526,2592,2603,2361,1962,1924,2329,2496,2644,2674,2388,2462,2364,1976,1607,1948,2059,2026,1848,1824,2181,2542,2418,1958,1850,2145,2344,2201,2470,2271,1558,1647,2090,1832,1886,1975,2373,3052,2579,2259,2330,2360,2249,2317,2240,2330,2468,2123,1587,1647,2381,2648,2788,2653,2294,1993,1852,2033,2454,2464,2014,1876,1888,2070,2502,2517,2088,2242,2497,2499,2200,2045,2189,1993,1957,1996,1801,1921,2069,2292,1851,1949,2056,2017,2065,2128,1729,1870,2556,2496,1633,1423,1347,1700,1952,1903,2019,2617,2928,3000,3386,3053,2163,2554,3329,3730,3436,3444,3335,3442,3046,2716,2968,3278,3278,3084,3227,3234,3023,2734,2540,2432,1890,2304,2522,2313,1989,1770,1769,2133,2377,1890,1866,2165,2588,3009,2237,2055,1932,2529,3220,2532,1652,1634,2415,3422,2866,2990,3205,3016,2293,2123,2321,2481,3106,3465,3100,2509,2363,2448,2735,2331,2801,3077,3679,3447,2735,1950,2127,2853,2785,2730,3020,2930,2657,2533,2283,2533,2469,2216,2275,2515,2489,2858,3382,3131,2846,3205,2430,1856,3000,3218,3030,2939,3109,3286,3298,3010,2853,3086,3522,3631,3482,2984,2708,3076,2635,2485,2458,2324,2305,2691,2496,2509,2690,2876,2507,2554,2973,2568,2463,2358,2873,3010,3204,3363,3134,2607,1943,2248,2562,2788,2368,2646,3051,2896,2817,3177,3476,3452,2842,2426,2430,2125,2565,3585,3814,3188,3357,3038,3260,3905,3852,3520,2806,2402,2845,2844,2906,3223,2745,2548,1762,2056,1902,1614,2071,2751,2546,1932,1731,2006,2551,2253,2752,3326,3165,2512,2324,2633,2923,2824,3207,3750,3687,4740,4532,4106,4724,5104,5351,5415,5395,4767,4407,4147,3923,4160,4333,3764,3255,3682,4295,4271,4311,4188,3907,3522,3271,3210,3262,3582,3680,3360,3100,2789,2611,2564,2885,3038,1828,1770,2681,2679,2168,2742,3111,3067,3593,3066,2650,2587,2621,2740,2814,2942,2688,2388,2103,2277,2013,2105,2591,2484,2214,2046,2894,2636,2995,2345,2050,2923,3481,2957,2686,3061,2890,2049,2007,2506,2337,1803,1971,2166,2176,2224,2288,2315,2408,2306,2487,2402,2596,2449,2770,2972,2176,2319,2357,1893,1609,1384,1552,1857,1763,1674,1795,2688,3296,2966,2585,2489,2499,2819,2540,1745,1552,1633,1625,1759,1814,1639,1584,1539,1561,1476,1347,1443,1577,1512,1631,2183,1763,1333,1299,1330,1641,1786,1505,1558,1841,1926,1813,1916,1720,2044,1763,1668,1427,1470,1599,1619,1655,1939,2330,2525,2348,1684,1512,1500,1950,2453,2335,2708,2908,2758,2126,1552,1584,2054,2797,3525,3447,3501,3736,2997,3505,4008,3582,3474,3596,3287,2885,2524,2776,2890,2967,3034,2963,2308,2108,2197,1979,1974,2386,2512,2391,2724,2893,3321,3624,3449,3575,3472,3498,3905,3395,2294,1887,1881,2445,3552,3687,3488,4341,4188,4097,3938,3500,2508,3271,4059,3968,3754,3452,2896,2333,2235,2397,2464,2302,2642,3040,3292,3062,2379,2113,2356,2589,2216,2217,2072,2369,2583,2306,1886,2021,2316,2779,2781,2735,2888,3020,2859,2092,1859,2422,2504,2509,2481,2994,2878,2752,2198,1755,2155,2408,2554,2545,2561,2613,2688,2888,3940,3786,2678,2016,2314,2958,2563,2399,2544,2226,2384,2668,2974,2783,2939,2419,2402,2568,2337,2509,2756,2988,2705,1948,2289,2897,3426,3123,2412,2385,2752,2917,2831,2617,2558,2260,1975,2424,2819,2687,2977,3429,2929,1925,1713,2208,2818,3410,2085,884,2099,2640,1744,1281,860,1969,3499,3653,4132,3951,3736,4073,4509,4329,3902,3849,3874,3701,3653,3620,3496,3230,3398,4047,4519,4424,4239,4155,4046,3967,3886,3729,3561,3188,3428,3710,3254,3234,3702,4240,4306,4420,4300,3853,3516,3140,2922,3015,2761,2894,2883,2788,2640,2886,2845,2611,3146,3319,2568,2834,2890,2709,2617,2874,2392,1873,1886,2027,2123,2170,2173,2420,2366,1996,1987,2160,2260,1767,1982,2310,2153,2290,2220,2003,2009,1992,1959,1811,1959,2185,1990,1953,2039,1841,1961,2282,2292,2664,2971,2753,2534,2044,2117,2383,2414,2728,2698,2507,2482,2620,2662,2739,2762,2688,2542,1877,1403,1843,1185,639,607,1200,2195,2330,2485,3110,3542,3598,3062,2584,2518,2873,3134,3378,3772,4000,4112,4139,4057,3725,3691,3859,3538,3350,3451,3562,3728,3717,3583,3505,3805,3967,4015,3896,3464,3365,3949,4392,4351,3847,3517,3868,3877,3720,3715,3673,3698,3750,3776,3928,3980,3877,3764,3720,3716,3570,3488,3385,3275,2979,2958,2552,2026,1874,2120,2363,2039,1827,1842,1897,2072,2329,2850,3082,3294,3517,3495,3274,3271,3584,3671,3463,3593,3869,3990,4050,3796,3241,3173,3519,3639,3514,2814,2249,2460,2784,3297,3275,3362,4110,4727,4772,4772,4907,4903,4668,4509,4013,3544,3143,3131,3182,3022,3155,3763,4080,4344,4399,4180,3950,3640,3275,3154,2956,2268,2831,3222,2533,1675,1651,2113,2544,2684,2436,2156,2120,2366,3067,2785,2159,1822,1756,1660,1588,1533,1788,1686,1569,1941,2029,2708,3673,3450,2364,2046,1822,1576,1566,1544,1503,1477,1467,1445,1421,1416,1384,1388,1482,1758,2470,2578,2252,2110,1995,1961,1969,2016,2518,2655,2179,2464,2967,2824,2796,3248,2853,2475,2754,2612,2298,2138,1625,1887,1753,1562,1953,2425,1747,1620,2217,2245,2137,2033,1620,1730,2209,2300,1929,1966,2200,2204,1952,2534,2480,1782,1621,1628,1535,1952,2401,2624,2249,2014,1879,1791,1632,1682,1896,2160,1820,1726,2059,2401,2589,2521,2499,2221,2337,2134,1831,1842,2247,2271,1988,1722,1627,1824,1361,835,974,1585,1432,1687,1780,2036,3120,2916,2257,2590,2586,2409,2200,2211,2537,2147,2060,2744,3873,3941,3444,3241,3226,3090,3083,3298,3525,4006,4087,4048,3775,3532,3297,3326,3175,3059,3228,3176,3185,3227,3284,3298,3270,3172,3208,3216,3287,3304,3392,3465,3515,3612,3845,4038,4019,3842,3627,3492,3638,3841,3842,3750,3825,4080,4276,4385,4374,4452,4587,4551,4227,4243,4206,4320,4115,3659,3434,4050,4597,4597,4584,4184,3515,2863,2710,3448,3411,2281,1794,1883,2355,2474,2354,2671,2061,2266,2630,1994,1722,1953,2011,2469,2486,2137,2408,2465,2059,2001,2580,3121,3216,2082,1721,2254,2841,3054,3160,3272,3083,2709,2497,2729,2836,2950,2832,2928,3110,3266,2784,3416,4005,4080,4448,4480,4124,3747,3453,3440,3175,3175,2895,3305,3292,3193,3585,3255,3237,3387,2452,1755,1774,2105,2460,2831,2378,1880,1876,2508,3250,3399,3208,3110,2779,2773,3104,3298,3228,2944,2887,2808,2532,2568,2233,1976,2130,1920,2081,2485,2633,2839,3354,3543,2942,2610,2469,2684,3032,3025,2851,2326,2718,3120,2143,2469,2496,2346,2321,2722,2521,1956,1996,2256,2168,2353,2167,2170,2482,2946,2946,3438,3864,3957,3919,3596,2798,2656,3304,2897,2451,2347,2348,2537,2676,2897,3182,2886,2888,2685,2031,2307,2441,2328,2387,2042,1520,1851,2186,2207,3095,3232,2115,1818,2824,3342,4093,3484,2495,2689,2573,2656,2720,3017,2938,2710,3154,2985,2536,2588,2341,2113,2184,2578,2243,2005,1856,2265,2732,2823,2189,2050,3554,4000,2930,2430,1800,2083,2244,2209,2546,2766,2877,2374,2646,3169,3028,3122,3296,3392,3217,3064,2798,2280,2155,2060,2197,2290,1893,1754,1782,1828,1621,1694,1708,1544,1476,1378,1309,1459,1887,2351,3176,3761,3571,3334,2988,2851,3538,3872,3829,3732,3509,3493,3525,3647,3641,3242,2793,2895,3663,3963,3986,4030,3775,3679,3982,3850,3714,3770,3747,3722,3798,3740,3725,3638,3399,3353,3454,3535,3725,3484],[3760,3774,3774,3692,2744,2531,2632,2656,2519,2720,2877,2876,2958,2983,3426,3564,3746,3851,4246,4197,3930,3121,3129,3623,3829,3328,2489,2655,2964,2812,3328,3964,3608,3614,3584,2826,2369,2389,2302,2497,2447,2585,3109,3226,3051,2769,2336,2486,2492,2239,2115,2054,2093,2469,2558,2270,2380,2293,1951,2181,2508,2900,2471,2569,3029,3473,3191,2876,3270,3410,3528,3826,3769,3753,3936,4156,3686,3239,3623,3726,3419,3632,3461,3045,2915,2757,2541,2658,2897,3752,4100,3864,3834,3484,3031,3209,3310,3139,3558,3614,3496,3217,3222,3577,3726,3750,3689,3736,3979,3940,3151,2015,2272,3242,3248,3553,3517,3122,3020,2967,2833,2662,2066,1584,1834,1689,896,1136,1494,2000,1962,1793,1560,1856,2731,3426,3395,3283,3428,3267,3128,2668,2250,2498,2351,2507,2928,3322,2684,1802,1655,1725,2104,2579,2715,2488,2037,2110,2015,2062,2116,2267,1460,1037,1719,2337,2144,2293,2567,2089,2353,2593,1949,1715,1530,1540,1577,1503,1663,1750,1663,1653,1677,1620,1687,2090,2330,2135,2141,2456,2376,2238,1992,1949,1732,1804,2201,2336,2674,2930,2686,2653,2907,2286,1706,1983,2938,3183,2426,1938,2233,2408,1945,1895,1895,2057,2485,2577,2352,2348,2322,2075,1665,1511,1648,2353,2457,2146,2039,2342,2266,2656,3034,2577,2331,2322,2232,2492,2315,1908,1964,1962,1697,1718,2552,2558,2756,2639,1823,1947,2214,2354,2322,2314,1917,2097,2106,2050,2198,2016,2280,2358,1961,2071,2487,2388,2579,2437,2133,2244,2380,2577,2274,1600,1655,1664,1592,2077,2431,2316,2221,1874,2098,2501,2580,2641,2347,2521,2590,1983,2143,2849,2780,2220,2339,2752,2646,2347,3208,3210,2842,2290,1813,1825,1908,1964,1954,2308,2667,2136,1895,1734,2018,1927,1625,1527,1421,1687,1759,1615,1794,1653,1556,2211,2878,2728,2501,2475,2564,2446,2080,2081,2625,2920,2698,2310,2310,2518,2884,2494,2695,3141,3206,2963,2530,2270,2331,2326,1953,2097,2351,2391,2276,2364,2466,2454,2397,2331,2097,2187,2389,2477,2624,2968,2774,2698,2534,2878,3411,3432,2526,1846,1507,1577,1909,2243,2147,1956,2401,2783,2494,1804,2049,2088,2208,2513,2281,2072,2293,2327,2104,2232,2474,2109,2124,2375,2319,2150,1815,1621,1896,1937,1578,1320,1504,1738,2246,1909,1905,2469,2783,2442,1948,1884,1993,2043,2095,2376,2449,1732,1656,2512,2259,2261,1920,2734,3410,2835,2043,2116,2223,1886,1980,2134,2314,2414,1852,1645,1809,2076,2473,3056,2887,2187,1812,1776,1714,2067,2127,2009,2009,1883,1982,2100,2060,1896,1716,2018,2475,2468,2420,2287,2015,2041,2469,2077,2279,1997,2219,1952,1856,2332,2363,2394,2264,1869,1879,2176,2164,1542,1690,2023,2314,2453,2631,2909,2690,2610,2670,2447,2487,2426,2790,3531,3606,3428,3351,3463,3530,3256,3248,2966,3064,3211,3292,3218,3174,3251,3161,2443,1756,1779,2482,3031,2497,2052,2214,2173,2194,2277,2181,2320,1970,2118,2454,1999,1549,1529,2388,3164,2891,2098,1616,2463,2679,2595,2624,2953,2696,2200,2357,2541,2748,3104,3432,3605,3310,3140,2762,2326,1628,2085,2957,3138,3241,2808,1968,2332,3040,2785,2800,3029,3041,2435,2359,2597,2543,2378,2323,2635,3011,2683,2455,2443,3054,3188,3472,3094,2699,3551,3475,2927,2950,3149,3121,3109,2955,2949,2934,3476,4006,3705,2680,2472,2791,3150,3109,2475,2377,2692,2448,1964,1914,2366,2775,2714,2742,2676,2507,2135,2423,2822,2432,2788,3145,3019,2214,2191,2902,2603,2119,2231,2778,2959,2811,3075,3378,2919,2181,1936,2315,2611,2844,3311,4031,4340,3649,3716,3684,2909,2618,3483,4068,3276,2243,2267,2210,2268,2291,2034,2338,1946,2036,2313,2135,2437,3252,3038,2115,2036,2685,3045,2810,2798,2601,2303,2357,2786,3094,3322,3183,2729,3241,4196,4548,4171,4123,4255,4876,5293,5441,5472,5240,4815,4407,4232,3912,4001,3564,3043,3752,4023,4034,4065,4167,4207,4068,3934,3884,3928,4124,3992,3605,3494,3357,3054,2863,2818,2795,2612,2770,3297,3064,2408,3388,3320,2822,2808,2631,2536,2754,2988,2934,2922,2843,2727,2420,2563,2886,1494,1675,2332,2425,2145,2268,3001,2735,2648,2379,2516,3372,3462,2629,2755,2955,2741,1961,2150,2471,1694,1581,2010,2014,1947,2001,2068,2007,1971,1992,2014,2286,2556,2470,2901,2942,2230,2218,2121,1505,1379,1372,1343,1333,1498,1666,1935,2780,3499,3223,2524,2352,2430,2888,2724,2051,1669,1581,1519,1580,1690,1803,1726,1700,1749,1600,1509,1555,1683,1710,2142,2470,1835,1345,1399,1434,1676,1747,1662,1721,1511,1668,1857,2662,1854,1824,1761,1545,1550,1574,1566,1497,1450,1694,2195,2921,2676,1794,2147,2453,2764,3426,3429,2770,2619,2923,2680,2248,2113,2237,2122,2729,2700,3176,3307,3146,3115,3041,3039,3418,3506,3311,3066,2790,2431,2367,2812,3019,3009,2243,1990,2164,1888,2059,2630,2626,2373,2658,3096,3337,3408,3572,3476,3512,3594,3928,3564,2537,2025,1939,2044,2808,3663,3344,4067,4139,3807,4074,3719,2546,2569,3297,3062,2792,2526,2166,1874,2554,2930,2434,2370,2664,2847,3195,3018,2604,2281,2564,2597,2081,2454,2389,2246,2543,2160,1783,1508,1941,2743,2771,2823,2743,2664,2622,2457,2385,2714,3013,3010,3083,3338,3317,2918,2358,2609,2797,2453,1962,1916,2576,2700,3024,3487,4120,3771,2708,2511,2980,3241,2691,2390,2469,2291,2395,2855,3226,3359,2935,2131,2430,2792,2279,2301,2670,2653,2467,2037,1875,2761,3912,3513,2631,2560,2730,2511,2599,2222,1668,2291,2321,2083,2401,2691,2172,3151,2970,2061,1740,1873,2397,2780,1798,918,1970,2599,1613,1217,920,1951,3461,3502,3938,4039,3930,4099,4163,4146,4056,4027,4125,3872,3857,4157,3623,3103,3307,3884,4437,4562,4397,4316,4252,4155,4015,3594,3300,3053,3072,3492,3509,3319,3738,4184,4174,4264,4429,4360,4197,3753,3403,3175,3414,3334,3031,2794,2742,2617,2294,2201,2841,2906,2392,3155,3297,3012,2873,2629,2376,2115,1739,1489,1663,2041,2353,2383,2156,1791,2477,2912,2942,2695,2417,2264,2303,2386,2314,2399,2446,2316,2124,2181,2222,2219,2495,1996,1652,1725,1662,1538,1630,2014,2175,2265,2524,1943,1743,1925,2768,2898,2746,2644,2562,2580,2505,2465,2735,2734,1583,727,761,1394,1849,1179,1228,2133,2465,2185,2501,3185,3350,3957,3714,2889,2604,3218,3494,3534,3811,4079,4116,3880,3837,3754,3742,3635,3529,3395,3483,3750,3782,3586,3288,3254,3594,3754,3820,3680,3704,3835,3977,4095,4094,3944,3535,3624,3705,3677,3543,3275,3414,3570,3765,3961,4079,4003,3839,3715,3661,3409,3231,3105,3028,2901,2343,1686,1540,1670,1770,1813,1965,1975,2000,1992,2006,2277,2739,3010,3176,3333,3531,3576,3208,3544,3743,3592,3546,3559,3672,3974,3807,3397,3229,3281,3455,3875,2752,2292,2565,2805,3480,3183,3060,3949,4692,4982,4977,4949,4865,4728,4589,3797,3297,3141,3584,3582,3358,3581,3959,4080,4297,4632,4476,4094,4018,3886,3519,3194,3075,3376,3005,1986,1411,1799,2386,2401,2604,2122,1852,1744,1722,1854,1817,1779,1964,2139,2057,1579,1612,1834,1635,1682,2315,3039,4161,4029,2766,1883,1772,1787,1682,1514,1503,1543,1431,1389,1450,1366,1316,1320,1418,1428,1594,1903,1955,2221,2733,2574,2314,2173,2058,2435,2222,2039,2568,2612,2471,2833,2507,1902,2262,2431,2399,1901,1551,1612,1575,1332,1465,2027,2206,1879,1975,2339,1981,1750,1801,2099,1951,2120,1942,1580,2080,2173,1710,1765,2090,2081,1803,1909,2071,1917,1809,1993,2126,1835,1645,1491,1611,1658,1569,1685,1792,1409,1647,2109,2232,2149,2142,2403,2131,2479,2520,2178,2255,2270,2178,2003,1663,1443,1719,1697,1686,1347,1363,1848,2170,1982,2280,2876,2500,1828,1716,1715,1346,1354,2371,3406,2775,2458,3320,4504,4769,3983,3312,3275,3360,3254,3276,3708,4049,3857,3663,3638,3530,3354,3238,3119,3344,3400,3051,3142,3193,3186,3210,3120,3095,3145,3265,3285,3282,3320,3362,3471,3762,3871,3857,4152,4209,3732,3463,3819,4120,4209,3981,3650,3914,4164,4255,4276,4243,4385,4449,4320,4107,4147,4505,4598,4353,4049,4140,4209,4294,4761,4780,4188,3838,3382,3207,2746,2126,1928,1932,2392,2611,2410,2973,3332,2803,2106,1863,1841,2095,2788,3559,2888,1983,2104,2260,2227,2396,2620,3017,3133,1704,1004,1625,2446,2690,2588,3046,3234,2575,2190,2364,2589,3138,3269,3105,2908,2676,2388,2706,3008,3292,3362,3488,3733,3560,3414,3592,3270,3112,2742,3024,3339,3360,3449,3255,3627,3802,2818,2084,2177,2894,3088,2759,2258,1802,1751,2128,2624,3087,3195,2974,2636,2967,3166,3060,3076,3428,3484,3147,2537,2417,2410,2617,3145,3193,3073,2930,2985,3118,3433,3152,2427,2611,3142,3575,3784,3694,3570,3143,3227,3262,2834,3098,2486,1824,2087,2561,2713,2472,2591,2615,2155,2104,2251,2942,2802,2613,2562,3184,3728,3715,3615,3380,2767,2862,3268,2578,1801,1755,1548,2250,3151,3598,3791,3588,3495,3090,2108,2603,2495,2318,2198,2204,1895,2275,2360,2242,3023,3318,2153,2131,4208,4660,5576,5595,4707,3210,2798,2525,2329,2374,2426,3351,3581,2739,2791,2554,1950,1792,2336,2750,2420,1824,2012,2648,2488,2230,2070,2082,3039,3185,2709,2341,2016,2199,2336,2520,2617,2643,2644,2306,2642,2979,2818,3064,3122,2954,2721,2279,2217,2374,2219,2151,2387,2066,1790,2161,2104,1952,1700,1786,2066,1754,1469,1444,1419,1390,1706,2019,2095,2207,2002,1897,2091,2895,3251,3627,3583,3208,3009,3320,3473,3447,3415,3238,3071,3234,3702,3807,4093,3896,3537,3551,3745,3606,3469,3736,3715,3494,3624,3576,3574,3471,3305,3476,3454,3584,3825,3704],[3618,3539,3618,3695,3156,2590,2258,1935,1991,2699,2894,3065,3251,3380,3698,3767,3860,3945,4096,4232,3848,3107,3138,3623,3917,3260,2967,3068,3105,2902,3186,3616,3391,3327,3532,3384,3062,2539,2416,3250,3351,3414,3715,3829,3646,3806,3265,2587,2454,2361,2087,1866,2100,2143,2127,2416,2330,2421,2426,2542,2488,2539,2856,2938,3081,3780,3448,3440,3962,4161,3864,3940,3850,3893,3632,3369,3433,3251,3159,3791,3990,3801,3320,2568,2687,3419,3480,3443,3431,3676,3648,3352,3618,3736,3304,3439,3705,3592,3475,3470,3499,3558,3318,3394,3666,3657,3784,3695,3813,3929,3782,3256,3206,3552,3398,3458,3570,3341,3195,3002,2628,2498,2178,2188,2069,1197,908,801,810,956,1161,1410,1525,2092,2950,3542,3333,3060,3165,3431,3440,3141,2623,2468,2534,2219,2238,2480,2232,1824,1690,1808,1816,2230,2233,2471,2416,2441,2199,1772,1742,1856,1448,1301,1849,2321,1889,1887,2220,1929,1749,1834,1815,1703,1571,1600,1608,1804,1852,1730,1762,1851,1755,1419,1437,2162,2314,2014,2152,2166,2036,1901,1840,1805,1732,2062,2336,2198,2091,1887,2132,2514,2608,2081,1798,2767,3620,3370,2806,2424,2356,2137,2301,2014,2152,2209,2081,2110,2116,2192,2245,1834,1814,1876,1865,2203,2949,2798,2171,1958,1786,1958,2228,2392,2333,2377,2948,2604,2053,1909,2295,1932,1814,1610,1974,2266,2414,2140,1712,1940,2121,2410,1847,1848,1735,1805,1714,1754,2166,2147,2031,2094,2047,2138,2379,2473,2734,2291,2214,2429,2326,2559,2217,1744,1693,1731,1908,2324,2220,2196,2282,2604,2272,2182,2619,2883,2775,2598,2126,1641,2010,2569,2587,2360,2658,2702,2242,2088,2564,2092,1405,1531,2026,2243,2154,1755,1634,1972,2249,1802,1636,1887,2014,2204,1929,1478,1595,1744,1572,1556,1863,1739,1667,1952,2126,2270,2182,1809,1819,2169,2318,2369,2314,2442,2480,2342,2237,2636,2621,2585,3021,2940,2684,2542,2240,2025,2364,2339,1878,2244,2508,2082,2099,2238,2280,1906,1769,2126,2157,1971,2076,2323,2115,2432,2558,2637,2574,2386,2300,2346,2216,2034,1868,2194,2334,2248,2040,2133,2440,2663,2266,2125,2352,2181,1979,2247,2486,2249,2048,1907,1908,1956,2098,1957,1748,1673,1576,1512,1646,1953,1984,2089,2072,1648,1569,1597,2032,2105,2020,2349,2360,2213,2170,2099,1940,1774,1895,2178,2403,2056,1959,2665,2367,2039,1865,2141,2512,2233,1848,1841,2019,2159,2057,1963,2230,2091,1698,1614,1702,2100,2942,3196,2233,1569,1577,1549,1599,1804,2132,1953,2005,2148,2364,2304,1974,1776,1759,2214,2204,1862,1640,1867,1892,2404,2888,2205,2087,1940,1794,1693,1797,2438,2362,2330,2122,2069,2024,1856,2057,1990,2175,2358,2633,2985,3406,3204,2087,1959,2177,2142,2842,2986,3748,3958,3414,3315,3207,3330,3485,3173,3441,2993,2836,3071,3163,3220,3190,3240,3308,2708,2332,2366,2728,2865,2264,1903,2172,2127,2214,2266,2390,2545,1810,1366,1846,1930,1787,1642,1384,1555,2106,2201,1833,2690,2645,2197,2328,2302,2016,2104,2348,2482,2924,3121,3253,3428,3497,4092,3021,2060,2053,2753,2911,2780,2625,2368,1916,2424,3100,3638,3451,3879,3758,3292,2916,2560,2363,2334,2518,2890,3199,2557,2243,2403,2756,2871,3383,3351,3190,3445,3190,2711,2878,3418,3188,3271,2924,2830,2792,3139,3482,3063,2844,2657,2747,3382,3043,2324,2254,2417,2458,2106,1962,2737,2729,2750,2623,2624,3166,3052,2614,2554,2329,2950,3499,3243,2152,2536,2784,2384,1865,1997,2200,2425,2642,2945,3376,3047,2044,2048,2478,2746,3183,3243,3565,4340,4086,3718,3530,2769,2252,2609,3811,3538,2585,2348,1786,2255,2520,2356,2498,2207,2002,1976,1801,2237,3157,2988,2614,2917,3571,3462,2994,2626,2430,2163,2383,2888,2625,2433,3242,2849,3056,4006,4333,4015,3776,3651,4039,4723,5280,5439,5411,5260,4803,4115,3631,3936,3399,2756,3474,3892,3894,3845,3848,3825,3854,3867,3884,4264,4483,4163,2946,2373,2746,3113,3288,3361,3201,3029,3108,3307,2864,2791,3604,3566,3036,2731,2666,2462,2788,2529,2101,2470,2851,2714,2323,2643,2622,1816,1963,2743,2809,2221,2233,2128,2387,2938,2548,2827,3363,3168,2692,2554,2787,2308,1866,2234,2338,1873,1867,2117,1877,1730,1783,1604,1545,1521,1560,1663,2350,2713,2486,2969,3154,2373,2459,1923,1462,1433,1600,1576,1489,1545,1516,1780,2435,3154,3128,2523,2684,2239,2934,3185,2392,1851,1722,1665,1760,1868,1781,1652,1681,1678,1837,1880,1637,2048,1882,1737,1588,1469,1532,1547,1502,1730,1686,1669,1691,1445,1580,1610,2498,1892,1518,1442,1555,1594,1484,1607,1673,1694,1668,1997,2750,2492,2386,3338,3085,2830,3450,3301,2524,2542,2548,2776,3017,2597,2114,2011,2949,3099,2896,2912,3218,3041,2665,3034,3679,3473,3063,2757,2702,2618,2814,3222,3165,2938,2315,2165,2526,2308,2326,2352,2556,2212,2452,3016,3258,3429,3443,3405,3455,3769,4108,3542,2651,2084,1949,1962,2130,3277,3854,4216,4212,4119,3999,3428,2578,2814,3636,3428,2938,2856,2363,2084,2719,2686,2138,2438,2818,2771,2642,2219,2378,2372,2994,2740,2346,2496,2680,2820,2710,2434,2254,1744,2036,2511,2902,3239,3316,2394,2203,2895,3033,3154,2878,2826,3165,3383,3460,2824,2326,2981,3060,1991,1986,2463,2899,3092,3210,3121,3322,3365,2768,2702,2972,2835,2532,2570,2640,2818,2710,2772,3250,3242,2646,2188,2690,2866,2186,2127,2344,2455,2899,2578,2306,2738,3414,3592,3167,2697,2494,2158,2106,1962,1633,2433,2669,2077,1784,1836,2018,2946,2581,1792,1661,1801,2164,2244,1523,1172,2281,2500,1688,1648,1062,2090,3418,3387,3609,4006,4086,4150,3981,4112,4185,4139,4094,3940,3852,3993,3666,3314,3349,3719,4152,4420,4328,4282,4295,4175,3958,3631,3388,3194,3251,3442,3561,3649,3965,4172,4023,3763,4079,4283,4200,4082,4015,3751,3628,3717,3730,3483,3438,3421,2906,2480,2474,2244,2534,3331,3360,2861,2553,2639,2680,2751,2708,2140,2132,2570,2732,2652,2544,2090,2258,2887,3574,3506,2597,2135,2154,2187,2559,2969,2846,2526,1974,1306,1609,2791,3540,3428,3360,3120,2620,2392,2502,2424,2049,2509,3200,2807,2000,1903,3270,3768,3226,2819,2635,2243,2108,2384,2584,1655,831,622,693,792,1252,1763,2481,2798,2625,2585,2752,2934,3432,3840,3840,3500,3024,3426,3978,4028,3834,4086,4144,3838,3726,3645,3635,3396,3394,3423,3420,3539,3497,3154,2590,2594,2877,3312,3542,3176,3606,4094,4187,4151,4212,3920,3273,3365,3604,3454,3160,2874,3073,3167,3592,3919,4059,4018,3736,3548,3472,3334,3228,3051,3023,2842,2285,1496,1140,1152,1471,2001,2207,2047,1971,1872,1981,2464,2666,2856,3506,3627,3724,3714,3388,3657,3415,3307,3320,3054,3226,3491,3575,3472,3228,3338,3296,3672,2788,2283,2702,2822,2800,2585,2486,2895,3468,4408,4996,4960,4756,4595,4508,4252,3724,3515,3918,4212,4167,4187,4317,4034,4200,4496,4476,4017,4095,4060,3570,2732,2689,2866,2564,2129,1556,1896,2111,1806,1708,1548,1560,1610,1651,1522,1760,2132,2072,2121,2033,1634,1642,1636,1788,2302,2792,3017,3394,3273,2206,1701,1864,1827,1544,1438,1394,1796,1587,1430,1406,1367,1399,1412,1438,1488,1576,1635,1992,2608,2272,2662,2786,2404,2432,2412,2335,2710,2600,1962,2256,2393,1644,1627,2414,2410,2554,1832,1902,1827,1560,1833,2294,2492,2846,2762,2526,2791,2248,2039,2402,2630,1534,1588,2136,1908,1790,1631,1322,1636,1939,1926,2067,2171,2464,2267,2334,2415,2204,2124,1866,1564,1713,1762,1766,1858,1962,1666,1663,1652,1748,1935,2500,2766,2280,2083,2088,2112,2102,1776,1946,1802,1768,1657,1675,1826,1849,1554,1513,1948,2065,2204,2268,2049,1979,2019,2110,1865,1151,1321,2306,3177,3220,3402,4012,4416,4708,4188,3444,3334,3506,3387,3562,3869,3836,3739,3664,3519,3492,3555,3356,3254,3504,3520,3260,3216,3222,3208,2996,3039,3194,3193,3298,3268,3326,3310,3392,3436,3768,3671,3730,4241,4300,3908,3648,3706,3889,4025,3997,3823,3710,4152,4319,4212,3985,3885,3884,4036,4075,4045,4143,4412,4316,4120,3973,3941,3980,4250,4615,4427,4077,3757,3527,3098,2351,2090,2115,2351,2285,2221,2100,2366,2167,2239,2078,1996,2238,2783,3433,2425,2064,2169,2743,3286,3064,2724,2946,2921,2372,2238,2254,2591,2684,2552,2867,3142,2464,2490,2480,2351,3204,3782,3716,3442,2700,2314,2596,2556,2078,2136,2662,3312,3480,3463,3256,3039,3074,2739,2756,2833,2482,2485,2868,3640,3908,2852,2116,2643,3503,3330,2666,2237,2019,2013,2757,3022,3496,3521,3132,2879,2658,2749,3178,4260,5112,4405,3110,1973,1820,2774,3754,3693,3416,3187,3078,3110,2971,2696,2365,2468,3034,3532,3528,3408,3311,3563,3396,3141,2988,2865,2917,2364,2107,2830,3128,2554,2471,2832,2866,2365,2154,2668,3349,3068,2955,3182,3343,3606,3641,3685,3395,2568,2687,3013,2662,2308,2106,1862,2050,2742,3430,3602,3582,3548,3252,2174,2570,2500,2398,2136,1844,1568,2020,2421,2282,3105,3374,2379,3413,5516,4284,2689,4036,5297,4086,2788,2802,3212,2770,2344,3294,2972,2788,2954,2109,1757,2153,2711,2745,2621,2295,2242,2634,2375,2322,2530,2358,2372,2294,2703,2810,2611,2430,2390,2729,3030,3062,2776,2444,2501,2307,2604,3131,2881,2396,2281,2128,2007,2363,2539,2228,2242,2164,1840,2394,2294,1818,1728,1868,2464,2186,1579,1430,1459,1658,1998,2176,1920,1764,1763,1644,1931,2912,3089,3359,3597,3747,3881,3801,3646,3398,3499,3929,3664,3936,3997,3930,4050,3858,3747,4113,4307,3935,3559,3465,3387,3492,3650,3740,3565,3605,3594,3476,3381,3461,3626,3774],[3365,3343,3400,3423,3384,3278,2742,2332,2149,2720,2949,3262,3517,3821,3909,3777,3863,3772,3486,3772,3980,3913,4016,4297,4345,3603,3099,2896,2770,2424,2567,3088,3139,3291,3671,3941,3550,2684,3045,3573,3585,3916,4051,3908,3752,3892,4056,3606,2684,2204,2057,2040,2541,2265,2195,3134,3466,3385,3091,3061,3151,3000,3103,3216,3241,3804,3693,3674,4168,4325,3971,3836,3903,3898,3287,2820,3017,3484,3606,3861,3918,3684,3002,2497,2890,3384,3440,3410,3529,3162,2838,3250,3706,4236,4039,4175,4100,3376,3045,3377,3500,3295,3042,3275,3513,3441,3545,3647,3750,3920,3908,3831,3711,3647,3507,3564,3510,3283,3187,2438,2125,2230,2126,2215,2347,1877,1515,1115,883,842,812,800,897,1017,1447,2091,2532,3046,3550,3670,3615,3787,3760,3385,2850,2515,2304,2324,2308,1841,1785,1870,1906,2484,2163,1923,2229,2509,2232,1794,2082,2432,2179,2020,2233,2374,1903,2259,2716,2202,1807,1921,1770,1607,1653,1656,1539,1953,1892,2087,2396,2259,1877,2008,2101,1663,1426,1792,2103,2085,2338,2271,2277,1991,1918,2135,2033,2279,2396,1965,1842,1991,2086,1895,2148,2754,2822,3052,2926,2329,2097,2127,2220,2176,2348,2176,1776,1709,1776,1585,1691,1858,2137,2021,2141,2688,3284,2878,2518,2223,1876,1945,2316,2416,2219,2231,2717,2320,2054,1911,1936,1922,1786,1666,2016,2280,2067,1781,1448,1671,2168,2107,1897,1898,1960,1936,1769,2107,2390,1829,1578,1601,1665,1909,2237,2708,2350,2142,2083,2075,2414,2627,2370,2105,1891,2099,2210,2240,2241,2232,2032,1836,1939,2198,2613,3133,2700,2318,1960,1792,2612,3241,2953,2745,2602,2628,2166,1735,1905,1894,1971,2636,2732,2204,1868,1622,1522,1837,1748,1521,1552,1858,2309,3198,3155,2155,1838,1793,1619,1739,2045,1956,2066,2033,2106,1967,1932,2144,2503,2929,2875,2597,2260,2436,2442,2336,2116,2610,2588,2846,3226,2669,2099,2087,2031,1952,2290,2237,2047,2322,2398,2035,2389,2558,2313,1653,1532,2109,2027,1893,2230,2190,2189,2395,2907,3166,2872,2209,1788,1987,2298,2197,2158,2752,2733,2154,2454,2481,2146,2356,2578,2600,2306,1990,2025,2564,2530,2122,1788,1727,1765,1707,1898,1583,1387,1741,1968,2116,2221,1838,1635,1983,1790,1808,1676,1807,1797,1841,2351,2316,1976,2276,2421,2488,2455,2225,1936,2157,2590,2398,1933,2432,2580,2141,2010,2069,2354,2164,2254,1824,2154,2210,1980,2276,2316,1737,1515,1587,2051,2456,2636,2556,1830,1638,1554,1432,1572,1748,1920,1385,1557,2141,2268,2071,1913,2481,2230,2462,2083,1816,1902,2508,2245,2256,2842,2840,2741,2588,1864,1721,1923,2353,2166,2481,2369,2195,1765,1670,1876,1755,1914,2403,2612,2879,3234,2928,2188,1788,1869,2249,2252,2538,3624,3706,3137,3372,3584,3649,4024,3747,3519,2929,2614,2856,3008,3054,3230,3402,3306,2993,2807,2850,2642,2629,2091,1868,2231,2325,2298,2238,1842,2512,2753,2013,2073,2113,2123,2142,1523,1213,1520,1626,1585,2130,2233,2428,2843,2746,2385,2380,2447,2518,2728,2851,3094,3138,3651,3891,2999,2199,1913,2086,2427,2790,2455,2212,2386,2940,2989,3119,3352,3877,3860,3658,3347,2770,2804,2665,2894,2592,2250,2063,2136,2089,2250,2314,2907,3658,3882,3607,3213,2797,2900,3051,2975,3373,3099,2645,2652,3172,3312,3272,3388,2963,2714,3439,3362,2774,2375,2532,2380,2242,2802,2974,2647,2469,2242,2420,3362,3535,2827,2661,3333,3821,3593,3043,2677,2556,2547,2407,2503,2738,3020,3305,2664,2615,3273,3274,2297,2288,2639,2972,3509,2843,2579,4008,4396,3986,3450,3404,3488,2639,3202,3920,3300,2800,2391,2686,3083,2739,2742,2676,2227,1857,2003,2172,3025,2987,2944,3436,3426,2975,2915,2734,2309,1994,2130,2630,2698,2421,2910,3018,3195,3662,3941,3680,3515,3416,3473,4016,4800,5373,5368,5422,5124,4420,4100,3995,3085,2875,3495,3940,4239,4153,4177,4001,3801,3634,3610,4121,4289,3812,2574,1908,2261,2428,2685,2907,3320,3263,3162,3127,2867,2532,2625,3050,3060,3104,2967,2811,2796,2495,2187,1831,2509,2679,2410,2645,2062,1939,1908,2341,2409,2198,2237,1832,2236,2213,2294,3039,3669,3136,2662,2590,2576,2048,2047,2308,2222,2004,1943,1980,1848,1739,1666,1590,1479,1493,1544,1947,2967,3430,3186,3705,3580,2419,2481,2188,1961,1721,1636,1693,1677,1719,1720,1784,2074,2503,2314,2143,2640,2226,2907,3321,2410,1766,1678,1681,1744,1836,1688,1515,1557,1731,1891,1781,1666,2535,2170,1487,1380,1566,1747,1568,1649,1877,1803,1778,1274,1233,1532,1655,1871,1648,1552,1562,1654,1626,1496,1483,1511,1494,1589,2011,2005,2017,2687,3046,2511,2787,3589,3467,2432,2291,1869,2106,2488,2185,2433,3307,4253,4030,3116,2843,3098,3140,2645,2799,3466,3460,3330,3061,2644,2897,2919,2876,3056,3034,2742,2730,2597,2353,2356,2599,2545,1902,2281,2870,3298,3329,3065,3359,3502,3083,3350,3662,2983,2106,1907,1943,1853,2523,3520,3861,3875,3768,3210,2630,2231,3090,3825,3803,3548,3484,3223,2901,2984,2883,2687,3012,3041,3043,3078,2553,2730,2774,2919,2874,2535,2397,2688,3143,2962,2735,2453,1982,2305,2522,3076,3526,3417,2579,2552,2582,2635,2580,2146,2578,3181,3410,3117,2539,2421,2669,2235,1620,2081,2872,3556,3271,2744,2469,2718,2897,2666,2818,3033,2739,1954,2104,2648,2582,2271,2429,2621,2462,2343,2349,2542,2302,2042,2007,1901,2102,2602,2454,2834,2872,3287,4009,3766,2908,2458,1974,1845,1689,1731,2310,2438,1788,1841,1972,2258,2810,2234,1720,1722,1843,2255,2425,1472,930,2236,2319,1773,1255,840,2133,3580,3521,3547,3947,4086,4220,4185,4109,3909,3761,3647,3746,3941,3731,3444,3649,3996,3983,3863,4223,4239,4330,4464,4348,4099,3847,3745,3660,3886,4265,3984,3737,3936,4055,4155,3552,3769,3858,3521,3583,3740,3739,3682,3585,3454,3486,3620,3728,3737,3837,3583,3193,2940,2818,2835,2678,2413,2413,2751,3296,3773,2855,2387,3074,3401,2763,2380,2814,2508,2225,2743,2965,2562,2541,2372,2548,2129,2486,2614,2751,2047,1299,2070,3294,3740,3835,3895,3642,2778,2181,1993,2447,2215,2624,3083,2992,2579,2499,3382,4173,3560,3021,2740,2134,1958,2599,1728,784,630,614,683,991,1880,2793,3008,2937,2523,2517,2599,2989,3953,4265,3929,3451,3430,3726,3964,3926,3918,4353,4220,3815,3227,3092,3165,2949,3089,3309,3308,3381,3410,3049,2438,2304,2380,2857,3029,2926,3661,3972,4057,4112,4078,3550,3100,3527,3662,3333,3151,3095,3334,3464,3583,3525,3560,3659,3607,3552,3417,3359,3272,3082,3028,2698,2156,1393,1006,1136,1369,1901,2301,2197,1957,1731,1887,2443,2631,3343,4272,4141,4032,3682,3422,3598,3377,3154,3199,3152,3418,3424,3443,3442,3453,3440,3342,3440,2823,2295,2405,2294,2263,2595,2609,2568,2574,3160,4520,4964,4936,4772,4640,4291,3775,3479,3560,4201,4433,4540,4301,4063,4379,4532,4436,4300,4007,4048,4061,3372,2768,2007,1650,2050,1730,1483,1422,1464,1593,1632,1697,1719,1566,1553,2015,2313,1964,1760,1835,1693,1540,1639,2544,3099,2896,2544,2545,2612,2530,2552,2132,1656,1510,1611,1553,1810,1603,1532,1520,1453,1414,1446,1439,1434,1434,1570,2284,2187,1923,2976,3138,2712,2755,2412,2357,2819,2495,2091,2548,2722,1756,1819,2622,2411,2305,1946,1902,2328,2802,2933,2540,2302,3189,3264,2976,3037,2523,2462,2830,2341,1902,2271,2731,2394,2025,1799,1534,1814,2379,2175,2056,2163,2310,2257,2580,2586,2171,2023,1726,1553,1694,1794,1847,1875,2030,2190,2051,1934,1892,1941,2366,2732,2687,1977,2022,2433,2138,1719,2109,2163,1934,1690,1735,1658,1552,1591,1696,1836,1711,2403,2215,2520,2634,2423,2419,2066,1684,1825,2226,2774,3393,3913,4289,4166,4098,3687,3438,3422,3563,3521,3537,3655,3857,3889,3890,3845,3808,3891,3592,3354,3299,3283,3203,3206,3257,3325,3288,3284,3239,3205,3354,3325,3344,3325,3355,3509,3902,3813,3871,4200,4304,4077,3775,3521,3753,4094,4141,4208,3818,3752,3865,3826,3731,3686,3641,3569,3570,3835,4080,4328,4208,3902,3579,3588,3573,3804,4384,4440,4181,4045,3753,3582,3129,2704,2708,2959,2613,2276,1926,2112,2337,2259,2067,1968,2166,2971,3619,2908,2981,2971,3293,3896,3566,2902,2916,2919,2897,3369,3374,3450,2732,2588,3018,3184,2746,2645,2554,2521,3023,3719,3838,3463,2518,2225,2569,2599,2658,2864,3141,3292,3372,3397,2722,2236,2713,2558,2831,2286,2039,2214,2835,3828,4105,2706,1731,2411,2988,2808,2428,2464,2678,2896,4201,4042,3642,3075,2642,2488,2336,2553,3429,5158,6173,4500,2455,1536,1513,2856,3878,3467,3120,3159,3229,3105,2728,2234,2015,2403,2526,2329,2431,2824,3242,3466,3059,2771,2590,2490,2438,1968,2301,3122,3176,2022,2072,2352,2522,2178,2103,2706,3229,3193,2946,3088,3228,3476,3428,3773,3588,2665,2503,2789,2508,2270,2266,1995,2100,2764,3485,3537,3239,3035,2886,1990,2455,2744,2689,2648,2043,1563,2108,2332,2108,3096,3350,2364,3482,5283,2870,1618,3329,4791,4356,2677,2656,3020,2435,2120,2729,2756,3286,3360,2677,2556,3064,3185,2718,2543,2429,2327,2702,2382,2360,2658,2407,1879,1865,2301,2475,2274,2120,2116,2361,2562,3209,3178,2521,2041,1983,2671,3045,2769,2521,2477,2061,1592,2078,2521,2387,2015,2218,2150,2119,2153,2005,2249,2416,2354,2015,1502,1339,1599,2364,2529,2451,2193,1903,1746,1902,2499,3162,3482,3802,4315,4790,4668,4244,3881,3655,3666,3890,3837,3930,3814,3781,4279,4475,4380,4621,4620,4484,4308,3764,3833,3841,3931,3899,3625,3592,3388,3134,3228,3320,3476,3239],[3720,3624,3578,3594,3578,3528,2732,2960,2713,2961,3298,3438,3541,3803,3864,3426,2997,2751,2563,3209,3974,4492,4470,4627,4664,4117,3565,3176,2856,2534,2547,3144,3254,3374,4254,4357,4059,3217,3503,3630,3458,3558,3544,3255,3040,3376,4112,3914,2856,2446,2366,2275,3000,3032,3108,3448,3558,3587,3374,3620,3559,3516,3472,3171,3204,3485,3317,3005,3685,4002,3628,3583,3664,3718,3181,2751,2942,3531,3750,3839,3795,3608,3174,2745,2652,2769,2597,2748,3384,2931,2999,3544,3522,4272,4502,4527,4291,3772,3531,3675,3545,3296,3184,3441,3666,3416,3184,3251,3564,3652,3650,3689,3496,3123,3293,3317,3037,3141,3106,2764,3128,2946,2584,2523,2662,2894,3020,2684,1786,1056,898,844,833,794,865,864,1172,1779,2736,3366,3593,3674,3772,3647,3177,2835,2408,2422,2251,1858,2152,2220,2367,2619,2534,2501,2731,2395,1966,1885,2230,2454,2731,2693,2347,2265,2218,2500,2626,2412,2375,2126,1924,1884,1717,1638,1543,1657,1708,1924,2155,2096,2182,2700,2526,1705,1701,2137,2482,2634,2896,2478,2239,1691,1488,1969,2092,2697,2846,1829,1520,1526,1324,1894,2304,2312,2228,2699,2686,2164,1899,1859,1869,2050,2116,2033,1811,1155,1346,1413,1899,2188,2155,2080,2426,2770,2559,2335,2329,2218,2165,2021,2626,2648,2470,2579,2504,2254,2325,2266,2249,2314,2093,2154,1976,2153,1931,1512,1180,1597,2012,2380,2272,1996,2150,2124,1960,2169,2210,1864,1527,1546,1576,1731,2346,2725,2602,2541,2287,2479,3084,3579,2635,2002,1866,2305,2421,2266,2078,2109,2216,1892,2076,2178,2132,2866,2692,2763,2406,2356,2928,3116,3220,3081,2733,2340,1775,1435,1539,2044,2791,2996,2488,1911,1805,1766,1650,2003,2036,1606,1497,1705,2169,3095,3204,2129,1533,1732,1742,1945,2304,2143,2272,2254,1946,2142,2469,2741,2622,2595,2462,1884,1656,2129,2467,1804,1460,2386,3064,3276,3272,2170,1700,1597,1658,1681,2083,2280,2039,2287,2170,2094,2532,2632,2340,1861,1682,2079,2222,2389,2322,2347,2411,2313,2496,2834,2840,2237,1795,2114,2132,2300,2653,3289,3304,2444,2488,2810,2884,2775,2728,2460,2258,2325,2505,2729,2520,2295,2066,1861,2043,2319,2327,1758,1615,2154,2072,1875,1650,1713,2063,1902,1758,1905,1821,2220,2277,2027,2126,2081,2186,2571,2504,2533,2366,2460,2368,2613,2648,2522,2105,2524,3095,2291,2121,2074,2147,2374,2744,2137,2063,2164,2283,2459,2255,1902,1726,1742,2477,2693,2121,2246,1902,1802,1555,1547,1652,1670,1610,1087,1052,1867,2328,2253,2086,1753,1660,2454,2332,2119,2404,2931,2460,2149,3075,3511,3405,3054,2050,1798,2153,2066,2167,2243,2579,2664,2055,2106,2034,1529,1910,2665,2533,2790,2775,2851,2546,1974,1989,1972,1894,2165,2613,2724,2457,3177,3414,3104,3410,3184,2557,2050,1892,2408,2778,2736,3053,3298,3282,3384,3150,3139,3123,3150,2076,2257,2489,2251,2143,1786,1673,2374,2878,3118,2852,2621,3073,2677,1532,1386,1649,1738,1709,1674,1862,2555,2864,2805,2842,2899,2691,2420,2257,2259,2514,2476,2740,3124,3090,2688,2587,2965,2713,2596,2272,1895,2613,2961,2630,2623,2964,3396,3560,3645,3942,3198,3222,2888,2393,2524,2444,2433,2360,1998,2008,2140,2454,2865,3064,3191,3262,2544,2389,2474,2988,3405,2908,2230,2349,3139,3367,3008,3294,3349,3301,3566,2565,2734,3146,3042,2595,2567,2913,2939,2711,2238,2208,2859,3238,3054,3185,3053,3374,2996,2695,3207,3206,2782,2819,2857,3433,3103,3333,3041,2203,2742,3384,2876,2320,2623,2943,3019,3580,3718,3216,3984,4508,3952,3207,3403,4156,3564,2807,3519,3926,3730,3066,2526,3204,2951,2752,2829,2705,2745,2180,2017,2934,2856,2510,2632,2340,2373,3373,3160,2897,2601,2300,2592,2286,2238,2534,3012,3062,3355,3675,3218,3054,2758,3040,3718,4078,4828,5279,5348,5192,4812,4216,3688,3530,3579,3818,4168,4287,4147,4212,4388,4465,4078,3768,3979,4052,3952,3572,3220,2977,2589,2928,2919,3576,3950,3703,3429,3539,2698,2070,2277,2387,2713,3032,2918,2645,2283,1992,1735,2155,2145,1609,1413,2046,2360,1838,2238,2193,1981,2138,2160,2542,2404,2757,3550,4108,3543,2789,2747,2472,1902,2238,2266,1930,1692,1614,1583,1531,1425,1564,1662,1396,1256,1296,1924,3418,4023,3637,4083,3877,2463,2320,2442,2193,1938,1795,1886,2064,2126,2112,2010,1990,2218,2161,2154,2306,2240,2832,2858,2088,1634,1660,1671,1804,1836,1730,1829,1930,2126,1903,1928,1880,1963,1776,1479,1559,1693,1811,1568,1779,1834,1858,1763,1483,1588,1628,1594,1585,1632,1526,1439,1557,1630,1547,1411,1615,2244,2708,2369,1874,1955,2434,2221,2181,2723,3152,2952,2429,2030,1849,2081,2177,2352,2856,3382,3544,3107,2643,2754,3146,3394,2697,2745,3018,3074,3426,3321,2858,2806,2942,3004,3011,2917,2449,2300,2023,2207,2404,2910,2556,2131,2634,3083,3261,3044,2955,3421,3299,3263,3274,3892,3393,2364,1976,1977,1958,2040,2507,3017,2945,2428,2024,1925,2094,2853,3508,3632,3188,3219,3300,3471,3555,3199,3076,3615,3398,3136,3321,2840,2824,2751,2854,3029,2543,1995,2233,2890,2810,3005,2395,1997,2157,2176,2532,3430,3375,3084,2998,2410,2367,2392,2322,3142,3378,3448,2922,2447,2397,2408,2460,2317,2304,2856,2990,2509,2304,2576,2728,2312,1823,2785,3580,3165,2302,2777,3186,3160,2781,2263,2258,2236,2438,2374,2188,2197,2626,2727,2437,1757,1545,1909,2131,2270,2553,2946,2808,2237,2291,2139,2232,2029,1668,1910,2143,2194,2163,1801,2291,2697,1969,1901,1836,1823,2093,2481,1345,789,2178,2406,1586,1195,943,1973,3679,3550,3686,3834,3994,4288,4328,4312,3908,3610,3551,3667,3897,3724,3753,4203,4500,4440,3946,4256,4528,4708,4716,4508,4396,4343,4255,4146,4131,4415,4295,4195,4057,4203,3990,3559,3786,3683,3298,3331,3448,3450,3362,3271,3062,3292,3232,3198,3370,3775,4392,4152,3436,3193,3220,3199,2846,2555,2845,3189,3721,2895,2499,3331,3754,2496,1979,2303,1985,1999,2375,2457,2708,2845,2569,2686,2750,2979,2463,2266,1876,1710,2524,3328,3591,3664,3620,3082,1838,1793,2374,2504,2333,2605,2790,2774,2813,2917,3046,3109,2976,2934,2605,2659,2080,2071,1437,755,607,766,912,1428,2172,3019,2907,2922,2574,2321,2553,3534,3909,4051,3868,3658,4188,4416,4157,4067,4280,4636,4116,3318,3024,2792,2679,2814,3245,3429,3501,3806,4100,3770,2916,2223,2042,2325,2645,3150,3850,4005,3916,3946,3790,3254,3099,3627,3693,3581,3571,3660,3674,3566,3253,3105,3253,3431,3559,3501,3400,3427,3389,3197,3157,2741,2096,1375,1144,1266,1227,1720,2333,2326,2208,1815,1892,2330,2639,3247,3893,4133,3973,3535,3356,3505,3645,3308,3310,3593,3659,3493,3503,3626,3480,3472,3305,3164,3109,3063,3044,2584,2220,2596,2895,2923,2762,2553,3521,4629,4877,4608,4397,3740,3447,3422,3323,3583,4024,4592,4616,4564,4528,4432,4283,4240,3989,4134,4332,3868,3652,2370,1852,1616,1560,1548,1525,1465,1414,1496,1716,1749,1597,1635,1721,1921,1789,1499,1555,1451,1418,1944,3119,3140,2576,2664,2468,2434,2713,2568,1916,1575,1529,1549,1535,1509,1466,1443,1528,1580,1468,1498,1457,1414,1370,1334,1487,1345,2486,3212,2785,2577,2497,2471,2764,2718,2566,2128,2184,2757,2146,1864,2164,1950,1808,1858,1901,2314,2954,2975,2418,2395,2922,2993,3130,3215,2711,2911,2597,1916,2576,3647,2919,2147,2203,1931,2046,2325,2557,2569,2349,2400,2209,2065,2276,2165,1960,2040,1816,1648,1669,1705,1575,1498,1969,2491,2292,2054,1900,2113,2376,2525,2300,1439,1544,2029,1876,1904,2414,2653,2258,1786,1870,2013,1771,1869,1946,2227,1937,2452,2176,2623,2668,2407,2414,2612,2671,2768,2965,3274,3482,4043,4284,4072,3746,3440,3309,3333,3430,3397,3334,3747,3974,3948,3862,3949,3874,3956,3715,3369,3288,3244,3166,3132,3145,3298,3377,3288,3231,3221,3370,3385,3396,3407,3563,4025,4399,4404,4261,4238,4356,4033,3868,3664,3670,3959,4188,4001,3602,3394,3324,3514,3813,3672,3571,3394,3263,3404,3582,3993,4100,3646,3312,3340,3366,3537,3952,4058,3776,3597,3842,3653,3287,2998,3066,3774,3790,3196,2884,3288,3550,2557,1972,2084,2842,3775,4020,3651,3416,3405,3801,4014,3296,2670,3032,2718,2831,3613,3786,3798,2988,2631,3162,3243,2962,2883,3137,3416,3408,3748,3714,3527,2489,2163,2420,2980,3342,3377,3559,3676,3694,3382,2920,2285,2565,2425,3634,2558,2188,2517,3275,4027,3893,2568,1952,2364,2118,2188,2529,2918,2730,2337,3498,3960,3228,2601,2468,2460,2396,2353,3212,5019,6199,4787,2544,1481,1972,3057,3306,3098,3222,3585,3363,3329,3042,2188,2004,2364,2270,1516,1456,1991,2604,3041,2908,2603,2420,2179,2112,2147,2581,2954,2475,1701,2015,2475,2494,2054,1942,2375,3054,3144,2812,2773,2974,3384,3594,3627,3506,2785,1962,1878,1869,1964,1851,1979,2392,3072,2696,2173,1937,2006,2258,1998,2436,2723,2503,2866,2461,1986,2602,2286,2290,3108,3217,2602,3420,4639,3521,3483,4768,5536,4937,2983,2446,2745,2600,2321,3300,3493,2851,2741,2809,2875,3397,3115,2577,2607,2523,2577,2376,2093,2460,2509,2080,1753,1830,2155,2484,2549,2060,2061,2432,2396,2540,2667,2232,2016,2170,2410,2394,2491,2658,2388,1998,1915,2371,2438,2033,1838,2109,2327,2304,2375,2286,2452,2330,2084,2014,1641,1412,1895,2779,3176,2714,2379,2109,2252,2691,3190,3825,4187,4070,4344,4720,4464,4364,4364,4141,3848,3781,3861,3851,3813,3949,4387,4471,4595,4560,4186,4271,4469,4357,4256,3995,4007,3854,3441,3393,3291,3257,3108,3089,3174,2917],[3700,3601,3702,3804,3895,3639,2645,2698,2791,3135,3411,3441,3428,3474,3626,3225,2547,2307,2313,2998,3747,3997,4133,4220,4473,4474,4213,3883,3341,3199,3319,3640,3650,3372,4073,4388,4240,3914,3838,3666,3420,3499,3112,2314,2083,2664,3653,3695,3322,3138,3436,3187,3272,3492,3099,2308,2388,3111,3167,3187,3086,3128,3127,3110,3373,3438,3328,3075,3293,3686,3702,3286,3315,3648,3266,2857,2799,3343,3631,3564,3232,3237,3350,3105,2850,2504,2291,2787,3486,3051,3217,3221,3369,4045,4326,4367,4448,4304,4061,3666,3278,3765,3421,3429,3718,3328,3255,3377,3472,3420,3194,3219,3123,2944,3132,3023,3103,3250,2956,3115,3352,3173,3065,2763,2415,2828,3399,3395,2852,2458,1942,1585,1169,935,846,826,774,923,1693,2656,3131,3514,3579,2873,2591,2442,2010,1887,1769,1852,2404,2675,2358,2445,2704,2688,2620,2219,2082,2502,2424,2013,2244,2791,2643,2443,2287,2225,2110,2246,2220,2088,2354,2215,1834,1621,1762,1876,1852,2144,2439,2548,2775,2833,2804,2438,2126,2103,2126,2327,2353,2271,2214,1846,1836,2171,2580,2986,2832,1757,1635,1555,1772,2741,2555,2383,2316,2441,2406,2199,1983,2075,2072,2323,2324,2917,2569,1451,1425,2375,2920,2828,2336,2011,2322,2126,2007,1923,2127,2497,2491,1665,1945,2369,2425,2634,2648,2467,2354,2186,2339,2366,2152,2100,1708,2078,2092,1409,1990,2437,2068,2206,2124,2092,2037,1972,1938,1908,1988,1758,1574,1569,1703,1698,1992,2110,2064,1956,2332,2547,2928,3385,2307,1884,1744,2196,2231,1821,1833,1992,1799,1832,1782,1622,1754,2763,2962,2986,3164,3052,3100,3233,3234,3064,2498,1549,1469,1617,1494,1941,2656,2455,1952,1657,1659,2043,2111,1982,1936,1982,1781,1868,2077,2621,2875,2045,1857,1978,1733,2098,2880,3064,3014,2619,2208,2555,2296,1974,1936,2068,2225,1796,1817,2349,2247,1694,1786,2568,3208,3414,3167,2413,2367,2294,2460,1876,2004,1969,1611,1623,1670,2176,2597,2875,2698,2238,1704,2072,2468,2841,2799,2655,2444,2413,2521,2669,2545,2185,1812,2036,2063,2200,1946,2408,2973,2375,2190,2522,2358,2253,2160,2134,2438,2358,2231,2396,2518,2750,2519,2186,2244,2076,2160,2079,1794,2082,1962,2078,1923,2171,2232,2135,2078,2051,1774,1909,2242,2005,1847,1977,1787,2060,2666,2623,2735,3171,3308,3077,2578,2290,2136,2148,3263,2712,2132,2048,1992,2351,2303,2099,1981,2395,2567,2387,2134,2019,2168,2268,2838,2737,2076,2206,2051,1895,1656,1622,1663,1627,1567,1408,1542,2097,2329,2307,1996,1753,2204,2808,2745,2254,2140,2523,2252,2384,3163,3522,3298,3177,2672,2317,2411,2190,2178,2257,2631,2687,1973,2077,1801,1535,2351,2902,3118,3572,3217,3132,2762,2332,2333,2107,2484,2465,2229,2277,2257,2829,2698,2204,2087,2073,1974,1818,1685,2022,2546,2670,3186,3230,3220,3528,3077,2850,3444,3190,2245,2286,2511,2344,2169,1849,1990,2215,2539,2611,3072,3152,3590,2991,1731,1315,1777,2351,2470,2297,1587,1848,2207,2470,2991,2732,2933,2611,2254,2325,2180,1812,2367,3156,3082,3063,2594,2028,2048,2185,1985,2031,2911,3208,2758,2576,2714,2996,3403,3897,4149,3272,2764,2470,2433,2601,2530,2425,2455,2496,2531,2661,2939,2673,2544,2608,2744,2310,2106,2414,3139,3320,2814,2397,2927,3605,3671,3160,3052,2896,3179,2770,2009,2740,3283,2964,2578,2442,2320,2414,2548,1990,1796,2837,2454,2423,3150,2950,3187,2946,2441,3075,3344,3083,2945,2799,3130,2556,3023,2730,2337,2584,3310,3005,2775,3122,2440,2313,2833,3759,3249,3275,3915,3099,2953,3142,3798,3905,2657,2797,3995,3897,3160,2425,2950,3298,3146,3105,2728,3155,2950,2710,2787,2081,1804,2688,3497,3672,3924,2817,2884,3134,2617,2773,2434,2168,2539,2755,2535,2805,3098,2800,2775,2944,3383,3802,3660,4078,4892,5240,5044,5108,4869,4167,4034,3752,3826,3868,3956,4055,4023,4346,4789,4668,4288,4124,4056,4067,4131,4144,4031,3901,4240,4002,4092,4273,4109,4145,3785,2546,2127,2382,2109,2145,2257,2609,2510,2143,2235,2399,2397,1909,1598,1801,2509,2866,2245,2729,2581,2524,2483,2677,2214,2250,2856,3348,3646,3538,2837,2668,2206,1981,2236,2023,1716,1612,1555,1519,1659,1670,1652,1652,1585,1741,1736,2233,3449,3944,3694,4082,3899,2598,2429,2698,2337,2086,1868,1777,1937,1960,1934,1832,1736,1832,2066,2351,2338,2403,2767,2652,1993,1576,1804,1660,1746,1772,1774,1860,1789,1915,1973,2008,1732,1626,1589,1595,1777,1647,1714,1624,1918,1780,1549,1475,1477,1544,1520,1437,1564,1452,1455,1577,1635,1808,1696,1537,1756,2498,2858,2210,1633,1801,2154,1753,1942,1997,2021,1984,1829,1824,1786,1757,2095,2522,2510,2283,2442,2837,2720,2734,2951,3198,2686,2623,2501,2773,3422,3204,2774,2943,2691,2927,3230,3156,2666,2438,2531,2700,2725,2874,2592,2348,2864,3024,3028,2961,3245,3769,3925,3958,3228,3508,3916,3338,2394,2052,2058,2005,1830,1784,1697,1651,1770,2728,3054,2977,3422,3410,3140,2756,2034,2470,3317,3119,3107,3507,3176,3121,2924,2302,2099,2745,3351,2945,2171,1644,1603,2274,2420,2955,2229,2079,2374,2248,2512,3082,3328,3465,3099,2224,1955,2155,2431,3132,3438,3109,2601,2490,2166,1805,1816,2011,2500,2846,2358,2258,2302,2739,2728,2072,1786,2534,3171,2802,2619,3249,3386,2845,2172,2004,2737,2494,2528,2542,2144,2433,2325,2756,3178,2353,2014,2320,2344,2384,2104,1910,1930,2045,2076,2194,2432,2349,1948,1818,2106,2620,2799,2585,2777,2246,1721,1691,1788,1830,1884,2023,1236,929,2182,2412,1630,1885,1857,2478,3717,3513,3687,3770,3907,4092,4228,4212,3858,3513,3222,3231,3587,3737,4068,4400,4560,4724,4371,4263,4460,4669,4605,4484,4548,4689,4741,4717,4610,4820,4936,4860,4738,4633,4308,4220,4264,3852,3372,3786,3908,3816,3454,3108,3161,3181,2873,2813,2890,3337,3991,4065,3821,3748,3702,3595,3521,3560,3452,3292,3081,2387,2334,3160,3063,1952,1902,2160,1733,1644,1825,2323,2332,2144,2169,2427,2851,2788,2210,2032,2163,2463,2781,2666,3007,3030,2946,2160,1745,2546,2907,2210,1967,2227,2588,2601,2717,2543,2590,2909,3143,2658,2309,2389,1953,1627,1721,1333,563,755,1136,1555,2175,2965,3159,3540,3243,2901,3163,3578,3715,3452,3202,3615,4553,4713,4253,3962,4115,4235,4164,3574,2899,2769,2663,2939,3585,3772,3711,3970,3663,2823,2377,2318,2295,2539,3221,3987,4233,3962,3828,3896,3896,3795,3737,3617,3548,3628,3602,3430,3272,3105,3109,3385,3383,3259,3220,3160,3449,3460,3400,3287,3303,2884,2170,1675,2055,2213,1851,1953,2213,2211,2277,2217,2144,2276,2779,3042,3458,4121,4082,3747,3659,3548,4046,3856,3507,3673,3580,3549,3672,3349,3123,3085,2819,2616,2830,3355,3946,3773,2930,2754,3250,3150,2809,2733,2858,3792,4818,4384,3732,3216,3274,3482,3609,3719,3890,4167,4065,4121,4399,4486,4440,4389,3915,3912,4140,3990,3470,2112,1730,1557,1515,1560,1611,1566,1649,1633,1595,1590,1451,1523,1581,1603,1540,1533,1744,1802,1709,1886,2351,2919,2809,2577,2049,2669,2463,2050,1670,1508,1408,1426,1410,1419,1439,1425,1538,1597,1491,1498,1456,1461,1384,1468,1285,1494,2176,2329,2245,2140,2221,2654,2836,2575,2516,2168,2802,2744,2300,2269,2195,1991,1766,1865,1908,2039,2499,2849,2818,2955,2980,2676,2930,3310,3039,2424,2051,2259,3050,3680,2544,1898,1671,1444,1818,2427,2839,2595,2290,3019,2977,2231,2489,2691,2083,2031,2044,2096,1921,1759,1749,1806,2066,2183,2287,2391,2393,2473,2462,2513,2424,1765,1997,2398,2398,2579,2808,2890,2596,1892,1930,2273,1891,2023,2326,2568,2548,2999,2642,2376,2669,2954,3416,3559,3541,3316,3355,3437,3429,3931,4185,4334,4124,3682,3371,3228,3222,3208,3376,3863,4034,3973,3890,3785,3703,3946,3754,3325,3239,3208,3193,3174,3182,3357,3394,3376,3271,3251,3344,3372,3352,3393,3758,4228,4440,4681,4593,4163,4026,3833,3828,3693,3613,3539,3775,3859,3544,3307,3321,3635,4160,3637,3553,3512,3444,3221,3132,3432,3514,3248,3160,3284,3405,3363,3606,3659,3248,3039,3315,3070,2896,2917,3129,3654,4051,3994,3758,3936,4048,3203,2055,2141,3020,3672,3838,3663,3138,2946,3416,3771,3362,3118,2464,2108,2741,2753,3178,3576,3205,2843,3215,3422,3296,3469,3714,3769,3624,3695,3307,3317,2561,2163,2311,2592,2666,2634,2842,3554,4002,3230,3537,3604,2764,2282,3060,2457,2396,2807,2930,3285,3475,2963,2603,2697,1975,1377,1548,2396,2007,1342,2498,3354,2930,2371,2040,2136,2401,2146,3076,4598,4955,4937,3349,1816,2359,2710,2448,2477,2839,3574,3564,3365,3044,2641,2327,2289,2114,1657,1744,1943,2208,2630,3156,3458,2823,2511,2336,2347,2666,2773,2335,2177,2660,2802,2350,2563,3077,2474,2568,2929,2971,2676,2945,3544,3674,3222,3323,3156,2511,2988,2945,2442,2261,2271,2588,3134,2623,2423,2482,2552,2941,3076,3171,2898,2141,2341,2065,2279,2612,2234,2499,3117,3043,2785,3550,4719,5131,4783,5292,4551,3521,2841,2544,3043,2843,2563,3245,3266,2745,2476,2568,2690,3123,2738,2734,2940,3106,2998,2322,1864,2022,2097,1951,1788,1817,2008,2566,2743,2147,2306,2459,2512,2420,2405,2353,2637,2652,2166,2038,2502,2557,2028,2096,2073,2079,2186,1810,1749,1969,2244,2530,2423,2101,2034,2028,2137,1847,1577,1920,2106,2646,3528,3162,2387,2376,2521,2859,3463,3848,4341,4189,4260,4572,4371,4388,4415,4283,3968,3729,3873,4280,4254,4155,4400,4295,4355,4436,3969,3963,4033,4024,4260,4272,3968,3518,3108,3062,3419,3278,3077,3032,3234,3189],[3707,4026,3842,3884,3934,3337,2421,2294,2798,3127,3371,3438,3332,3166,3306,3148,2613,2448,2554,3087,3458,3542,3542,3713,4219,4144,3980,4027,3648,3584,3896,3864,3818,3731,3867,4227,3978,3283,3474,3431,2342,2288,2050,2061,1908,2698,3747,3727,3538,4003,4232,3939,3790,3143,2371,1989,2100,2820,2666,2509,2762,2689,2647,2974,3116,3098,3204,2975,2754,3161,3492,3021,3237,3122,3012,2551,2468,3252,3768,3646,3138,3075,3422,3780,3459,2709,2844,3217,3441,3498,3630,3717,3934,4128,3967,4024,4484,4416,3995,3697,3792,3698,3488,3347,3555,3580,3736,3705,3270,3327,2978,2714,2920,3292,2947,2668,2793,2873,2502,2491,2853,2973,3016,2652,2367,2733,3443,3436,3457,3521,3347,2845,2170,1736,1405,1149,941,1071,2038,2351,2249,2871,3428,3257,2474,2081,2130,2406,2326,2231,2756,2824,2530,2331,2432,2708,2332,2123,2410,2523,2320,2079,2434,2636,2566,2637,2076,2222,2098,2330,2368,2597,2844,2526,2105,2133,2472,2241,1770,2023,2710,3007,3016,2513,2641,2306,1938,2285,2490,2611,2298,2412,2312,2011,2244,2610,3022,3256,2420,1469,1540,1654,1714,2088,2376,2193,2440,2511,2110,2241,2172,2247,2154,2503,2504,2915,1683,1068,2164,3351,3408,2901,2265,1957,2096,2065,2129,1837,2563,3031,2284,1566,1629,2140,2176,2353,2391,2534,2328,2287,2287,1898,2131,2190,1958,2339,2066,1499,2291,2444,1459,1570,2153,2009,1991,1784,1948,1910,1993,1773,1522,1503,1481,1614,1670,1573,1596,1731,2350,1838,1626,2093,2018,2025,1775,1760,1876,1765,1800,2101,2145,1881,1849,1659,1886,2784,3319,3067,3020,2689,2835,3460,3219,3063,2448,1713,1864,1836,1856,2138,1956,2017,2473,2398,2120,2229,2197,1770,1478,1895,1868,1816,2180,2538,2482,1897,2210,2233,2085,2897,3099,2943,2519,2215,2292,2122,1951,2251,2514,2345,2374,1949,1990,2589,2501,2371,2696,2890,3037,2804,2612,2548,2471,2614,2257,1673,2161,2210,1907,1901,2172,2500,2554,3459,3960,3309,2436,2241,2630,2735,2774,2768,2536,2174,2250,2552,2494,2114,1903,2021,2129,2059,2016,2667,3043,2575,2470,2663,2522,2512,2556,3105,3149,2168,2118,2746,2330,2333,2664,2700,2533,1901,2332,2329,1999,2414,2288,2775,2980,2542,2364,2501,2312,2042,1930,1928,2019,1937,2122,2620,2099,2090,2698,3082,3430,3636,3688,3130,2578,2437,2644,1910,2944,3000,2447,2169,2493,2496,2186,2348,2416,2236,2382,2354,1795,1757,2418,2408,2350,2116,1962,1895,2176,2099,1925,1925,2086,1527,1651,2151,3414,2954,2357,2112,2182,2489,2668,2744,2852,2521,2465,3054,2496,2774,3375,3378,3175,3130,3023,2975,3028,2653,2260,2318,2036,2406,2325,2432,2084,1980,2349,2967,3254,3205,3131,3314,3223,2767,2798,2364,2206,2402,2444,2524,2768,2888,2222,1575,1524,1620,1820,2008,2041,2476,3185,3355,3588,3462,3327,3437,3183,2883,2986,2915,2388,2191,2667,2776,2896,2378,2258,2373,2470,2291,2974,3229,3096,2734,1770,1530,1914,2511,2749,2285,2008,2126,2275,2459,2513,2600,2684,2371,2225,2231,2219,2239,2741,3459,3032,3040,2493,2056,1913,1921,1976,2429,3485,3425,3016,2757,2577,2874,3396,3174,3243,3087,2624,2468,2519,2633,2555,2667,3098,2798,2614,2721,3099,3561,3135,2867,2972,3010,2773,2880,3123,2790,2413,2994,3466,3787,3594,2769,2164,2334,2592,2254,2154,2736,2977,2336,1882,2049,2096,2229,2244,2031,1922,2354,2533,2810,2940,2905,3188,3128,2541,2597,3119,3177,3056,3433,3084,2543,3084,2824,2155,2451,3244,3240,3260,3353,2325,2300,2879,4188,3461,3149,3576,2899,2741,2979,3284,3596,2717,2875,3786,3466,2875,2647,2686,3400,3670,3566,2819,2743,2835,2734,2358,1551,1894,3417,4487,3680,3440,2976,2787,3132,3166,2736,1986,1903,2592,2488,2048,2045,2342,2975,3152,3062,3306,3637,3382,3310,4092,4788,4768,5072,5131,4748,3407,3145,3416,3458,3842,4228,4156,4119,4312,4385,4328,4487,4397,4048,3847,3955,3897,4120,4315,4196,4109,4108,4185,4253,3532,2258,2208,2360,2463,2434,2338,2045,1693,1426,1825,2470,2280,1765,1677,1824,2092,2272,1961,2114,2574,2644,2565,2471,2207,2469,2954,3141,3451,3406,2790,2593,1990,2233,2350,1803,1882,2127,2228,2320,2277,2282,2137,2393,2456,2538,2440,2818,3569,3933,3816,4070,3765,2513,2212,2697,2187,1740,1577,1454,1477,1523,1787,2082,2375,2754,3074,2879,2462,2849,3296,2980,2278,1729,1895,1527,1627,1773,1765,1725,1642,1631,1819,1828,1698,1621,1632,1427,1507,1527,1589,1619,1886,1725,1476,1522,1444,1555,1583,1563,1629,1475,1492,1664,1602,1809,1778,1676,1539,1633,2014,1787,1709,1859,2157,2024,2032,1832,1780,1850,2162,2357,1837,1560,2002,2588,2593,2101,2358,2912,2634,2577,2473,2784,2907,2717,2754,3327,3576,3143,2902,3011,2578,2677,3198,3510,3239,2489,2303,2602,2702,2959,2958,2749,2593,2822,2647,2796,3418,3502,3066,3171,3544,3739,4159,3969,2929,2318,2147,1923,1850,1892,1954,2207,2912,3963,3639,2752,3128,3479,3437,3063,2239,1978,3093,3220,3364,3163,2802,2830,2778,2445,2304,2790,2718,2166,1841,1567,1732,2376,2900,2767,1896,2039,2580,2626,2552,2830,3794,3726,3208,2334,1874,1841,2054,2409,3008,2718,2403,2401,2008,1606,1608,2007,2563,3240,2686,2612,2457,2639,2768,2464,2706,2898,2940,2564,2397,3306,3343,2241,2233,2545,2854,2239,2338,2014,1918,2104,1935,2403,2496,2065,2518,2600,2417,2512,2586,2154,2414,2477,2104,2190,2436,2732,2456,1793,1731,2202,2013,2238,2497,1880,1683,1986,2013,1887,1865,1839,1312,978,1671,1406,1122,2178,3195,3429,3602,3623,3770,3926,3934,3914,4123,4156,3951,3840,3522,3451,3896,4084,4216,4464,4628,4900,5036,4209,2968,2933,3046,2730,2370,2868,3640,3894,4161,4559,4759,4952,4917,4571,4518,4608,4708,4416,4048,4236,4328,3762,2958,2910,3517,3777,3482,3142,3240,3587,3792,3921,4062,3929,3772,3395,3099,3514,3874,3561,3264,3027,2812,2836,2410,2302,2514,2166,1668,1474,1550,2473,2508,2279,2292,2113,2321,2480,2083,2305,2747,2679,2415,2415,2553,2446,2341,2091,2644,3074,2297,2009,1831,1689,2062,2445,2245,2441,2929,3197,2828,2409,2211,2172,1810,1532,2061,2009,1278,1411,1608,1837,2755,3760,3936,4124,3628,2853,3031,3352,3175,3041,3483,3986,4280,4364,4188,4112,4040,3692,3934,3682,2884,2730,2790,3110,3623,3695,3730,4012,3273,2403,2394,2809,2972,3081,3784,4488,4443,4226,4272,4151,4050,4197,4036,3864,3824,3739,3696,3638,3750,3674,3605,3660,3628,3334,3047,3172,3505,3421,3286,3401,3504,3310,2454,2039,3182,3460,3207,2425,1954,1891,1848,2215,2446,2417,2671,3067,3565,4030,3973,3723,3614,3688,4488,4520,3962,3649,3503,3509,3395,3173,2954,2562,2471,2512,2813,3441,4076,4340,3827,2989,3463,3554,3044,2906,2762,2934,3984,4364,3414,2783,2834,3093,3442,3608,3734,3801,3536,3566,4356,4696,4464,4288,3773,3653,3824,4223,3989,2914,2062,1670,1448,1640,1802,1603,1454,1433,1480,1637,1356,1450,1664,1532,1493,1604,2304,2879,2258,2010,2055,2557,3173,3022,2480,2829,2328,2023,1869,1577,1462,1462,1656,1700,1600,1610,1614,1488,1605,1672,1537,1437,1369,1324,1327,1729,2206,2868,2658,1925,2128,2485,2785,2678,2667,2728,2750,2453,2618,2743,2480,2173,1978,1910,1854,2024,2451,2884,2663,2604,2576,2367,2658,3076,3182,2359,1658,1858,2429,2982,2888,2149,1167,936,1713,2243,2621,2522,2045,2673,2641,2075,2463,2368,1853,2075,2533,2734,2222,1830,1919,1790,1992,2491,2360,1706,2079,2264,2178,2122,2100,2203,2493,2576,2448,2552,2842,3077,2734,2076,2215,2286,1998,1734,2467,3184,3042,2924,2666,2367,2621,3218,3592,3475,3834,3343,3212,3182,3316,3684,3808,4140,4383,4159,3754,3327,3166,3238,3492,3808,4049,4130,3958,3762,3736,3799,3717,3429,3230,3134,3253,3277,3270,3396,3436,3396,3310,3282,3282,3275,3261,3491,4062,4187,4296,4421,4461,4140,4001,3813,3782,3627,3550,3628,3774,3925,4083,3658,3375,3431,3585,3669,3530,3505,3516,3196,3106,3168,3108,3073,3116,3340,3312,3230,3356,3154,2750,2706,2864,2966,3031,3055,3130,3120,3132,3219,3437,3782,4212,3481,2072,2129,3321,3978,3929,3526,2692,2212,2623,3109,3164,3182,2746,2614,2955,3075,3090,3226,3361,3243,3598,3573,3660,3925,3924,3853,3705,3667,3296,3272,2916,2536,2420,2409,2358,2074,2288,3416,4312,3940,3886,3679,2745,2661,3016,3024,3436,3687,3216,3033,3065,2830,2699,2512,2300,1743,1592,1902,1582,1255,1626,2034,2400,2026,1448,1968,2402,2041,2796,4323,4732,4348,3140,2139,2309,2185,2330,2478,3211,3912,3230,2775,3326,3261,2401,1885,1477,1639,1568,1450,1836,2242,2509,3124,2585,2720,2636,2686,2900,2647,2476,2620,2767,2388,2346,3264,3450,2603,2234,2709,3106,2730,2950,3552,3387,3384,3875,3843,3184,3163,3320,2810,3018,2768,2344,2722,3165,3316,2965,2800,3053,3505,3397,2888,2620,2109,1664,1944,2365,2397,2734,2798,2529,2566,2881,2566,3518,4960,4444,2794,2215,2718,2691,3017,2984,2572,2389,2849,3178,2272,2431,2986,2461,2046,2106,2693,3204,3084,2478,2071,2073,2020,1908,1850,1984,1869,2166,2496,2524,2198,2068,2426,2788,3156,3293,2952,2418,2188,1949,2179,2401,2294,2085,1583,1579,1651,1869,2166,2073,2333,2387,2391,2462,2276,2244,2335,1822,2041,2133,2070,2512,3031,2814,2070,2257,2343,2818,3898,4351,4276,4233,4203,4460,4460,4359,4431,4435,4360,4212,4248,4220,4098,4176,4328,4355,4584,4616,4330,4308,4222,4091,4323,4453,3971,3544,3309,3120,3319,3265,3067,2998,3188,3308],[3964,4086,4006,4049,3808,3228,2575,2664,3079,2855,3044,3163,3297,3123,3292,3107,2709,2830,3006,3111,3195,3305,3387,3387,3426,3318,3606,3731,3453,3417,3461,3405,3438,3331,3277,3913,4189,3828,3964,3351,1751,1659,1834,2108,1968,2583,3625,3205,3089,3979,3719,3841,4214,3081,2691,2239,2261,2534,2205,2016,2242,2509,2784,3077,3216,3203,3167,2672,2482,2836,3077,3150,3364,2734,2237,2168,2768,3652,3675,3374,3221,3159,3217,3642,3241,2908,3514,3740,3731,3885,3916,3703,3706,4058,3872,4018,3829,4184,4144,4167,4284,3641,3382,3221,3241,3606,3682,3342,2962,3417,3039,3316,3193,3247,2535,2362,2744,2922,2766,2552,2328,2491,2676,2126,2386,2968,3558,3652,3715,3670,3580,3225,2896,2874,2722,2291,2034,2229,2951,2766,2210,2312,3378,4071,3670,3073,2898,3096,3284,3172,3427,2820,2492,2315,2754,2952,2344,2349,2612,2634,2455,2069,2279,2130,2168,2293,2316,2115,1935,1967,2070,2461,2757,2362,2116,2536,2747,2222,1668,1956,2764,2434,2396,2568,2552,2013,1848,2233,2824,2747,2449,2546,2055,2212,2744,2934,2689,2438,1542,1083,1311,1545,1932,2724,2536,2026,2265,2133,1942,2203,2010,2129,2318,2700,2541,2499,2054,1922,2889,3583,3563,2651,2249,1927,1744,2118,2405,2380,2974,3087,2708,2171,2137,2387,1998,1994,1939,2065,2456,2687,2485,2125,2258,2217,2170,2501,2397,1975,2446,2791,2194,1846,2346,2049,2186,2027,2146,1990,1902,1748,1555,1663,1745,1807,1733,1742,2043,2257,2746,1761,1265,1520,1771,2061,1834,1772,2183,2014,2017,2370,2412,2383,2038,1579,2027,2798,2735,2249,2341,2460,2976,3387,2850,2707,2745,2143,1834,2127,2366,2287,2297,2512,2996,2844,2133,1788,1861,1391,1296,1710,1874,1674,1879,2406,2473,2122,2261,2176,2368,3360,2533,2541,2077,2492,2591,2321,2261,2399,2407,2483,2451,2042,1945,2253,2332,2502,2523,2907,2567,2126,2350,2765,2711,2545,2368,2340,2720,2614,2345,2296,2205,2269,2631,3792,3957,3063,2302,2206,2701,2852,2676,2375,2642,2522,2412,2592,2524,1750,1271,1636,1738,1768,2191,2416,2261,2326,2641,2765,2974,3288,3318,3956,4043,2791,2831,3441,2568,2302,2554,2832,2829,2813,3240,3096,2474,2267,2135,2380,2319,2010,2084,2181,1946,1774,2076,2143,2326,2407,2442,2417,2154,2461,2487,2268,2441,2820,3107,2293,1946,2203,2659,2129,2490,2872,2562,2086,2586,2719,2271,2556,2630,2249,2619,2023,1839,1825,2381,2214,1765,2316,2285,1928,1973,1908,2250,2505,2302,1447,1479,2216,3367,2850,2216,2225,2274,2258,2019,1843,2417,3020,3096,3107,2641,2891,3119,3090,3163,3027,2852,2774,2848,2466,1973,2226,2087,2620,3034,2562,1937,1699,1895,2820,3614,3521,3304,3216,3717,3301,2851,2450,2029,2525,2888,3117,3193,2985,2333,1747,1709,2448,3335,3471,3372,3804,3865,3495,3463,3615,3411,3311,3009,2625,2807,2633,2444,2541,2670,2893,2847,2226,2444,2398,2569,2652,3002,3056,2803,2615,1938,1511,1725,2186,2233,1940,2275,2495,2395,2129,2264,2734,2397,2337,2180,2708,2570,2183,2807,3027,2998,3023,2371,1866,1824,1918,1974,2710,3496,2724,2020,2308,3030,3186,3363,2929,2970,3140,2933,2344,2088,2468,2343,2632,2449,3131,3299,2940,2786,2949,2709,2653,2883,3118,3189,3197,2979,3032,3372,3797,3666,3840,3538,2758,2193,1988,2127,2304,2504,2842,3179,2473,2230,2466,2688,2374,2403,2398,2384,2746,3661,4063,3570,3205,3264,3012,3013,3068,3287,3427,2813,3298,3377,2693,2335,1863,1681,2393,2935,3151,2767,3071,3246,3144,3739,4356,4052,3930,3974,3295,3100,3294,3198,3592,3736,3537,3145,2294,2831,3083,3166,3584,3699,3610,2729,2475,2570,3154,2544,2307,3020,3664,4014,2885,3085,3205,2610,2961,3344,2700,1831,1616,2509,2000,1593,2500,2754,3293,3270,2750,2929,3250,3105,3145,3426,4032,4480,4985,4912,4477,2842,2953,3243,3137,3338,3688,3831,3763,3870,4082,4195,4243,4256,4134,3840,3758,3775,3979,3894,3631,3677,3993,4221,4138,3157,2685,2585,2249,2267,2417,2438,1855,1247,1097,1942,2674,2244,2010,2133,2320,2115,2539,2446,2455,2328,2226,2483,2460,2480,3144,3294,3339,3607,3116,2845,2292,2107,2365,2236,1746,1978,2288,2258,2372,2268,2417,2338,2427,2501,2533,2598,2851,3618,3911,3786,3952,3370,2154,1927,2626,1988,1558,1834,1827,1678,2165,2916,3327,3624,3812,3824,3163,2349,2774,3354,3390,2642,1936,1951,1793,1765,1742,1601,1505,1464,1678,1965,1531,1452,1450,1573,1786,1720,1598,1578,1616,1824,1663,1395,1481,1444,1725,1681,1482,1433,1527,1506,1576,1579,1649,1610,1750,1562,1490,1498,1771,2227,1993,2128,2635,2717,2514,2355,1935,1694,1810,1863,1986,2220,2435,2767,2301,2440,2636,2165,1806,2043,2458,2756,2938,3196,3699,3541,2937,3017,2865,2815,3140,3067,3225,3365,2777,2287,2511,2541,2524,2758,2534,2337,2803,2889,3195,3472,3240,2762,3097,3961,3659,3017,2689,2299,2846,3198,2950,2368,2374,2687,3015,3670,4283,3838,2801,3194,2915,3068,3251,2630,2419,3090,3321,3370,3015,2978,2971,2661,2702,2771,2584,2183,2010,2192,2157,2421,2510,2620,2292,1759,2264,2510,2254,2143,2606,3631,3465,3250,2546,1948,1791,1860,2354,2884,2353,1871,2202,2035,1936,2062,2393,2408,2599,2347,2975,2340,2390,2541,2677,3812,4149,3494,2778,2431,3185,2732,2007,2164,2241,2201,2391,2428,1941,2292,2837,3184,2773,2313,2420,2939,2096,2343,2736,2543,2062,2631,2437,1714,1770,2244,3000,2509,1427,1371,1713,1848,2417,2062,1659,1670,1838,1940,1906,1941,2024,1523,1167,1860,1293,1132,1574,2974,3659,3648,3686,3805,3914,4120,4196,4208,4220,4261,4418,4242,4151,4257,4320,4382,4416,4460,4703,4485,3253,2366,2276,1803,1456,1505,1516,1521,2004,2474,2718,3103,3418,3056,2435,2379,2993,3472,3536,3627,3467,2980,2339,2144,2438,2916,3484,3971,3846,3706,3679,3824,4030,4052,3759,3728,3513,3241,3408,3570,3470,3598,3898,3875,3312,2829,2988,3442,2562,2332,2420,2366,2592,2790,2867,2532,1769,1415,1533,2137,2166,2419,2217,2275,2562,2354,2335,2349,2438,2971,2641,2533,2910,2168,1806,1802,2166,2446,3064,3142,2543,2240,2231,2075,1922,1816,2146,2396,1901,1618,1855,2059,2664,3516,3975,3913,3892,3284,2613,2798,2892,2489,2495,2985,3141,3525,3920,3934,3838,3586,3369,3607,3532,2983,2831,2766,3061,3526,3708,3777,3696,3086,2656,2999,3299,3088,2888,3552,4141,3930,3541,3467,3360,3387,3714,3672,3559,3661,3814,3859,3812,3869,3812,3500,3567,3610,3395,3275,3238,3230,3051,2988,3334,3481,3421,2912,2372,3406,3430,2539,1591,1521,1825,1929,2149,2511,2426,2601,3097,3637,3840,3536,3598,3536,3725,4176,4376,4344,3946,3449,3551,3509,3326,3181,2926,2729,2706,2723,2989,3730,4252,3592,3275,3899,3957,3628,3226,2975,2688,2900,3559,3198,2842,2969,3254,3374,3432,3736,3913,3669,3812,4345,4531,4459,3715,3473,3786,3647,3715,4122,4139,3327,2113,1383,1539,1743,1626,1438,1602,1696,1581,1509,1856,1703,1461,1626,1513,1808,2767,2438,2242,2094,2268,2762,2692,2515,2302,1853,1743,1769,1739,1599,1870,2275,1983,1940,1741,1633,1540,1911,1870,1485,1535,1532,1371,1381,2015,2377,2451,2288,2046,2422,2856,2969,2770,2913,3250,3143,2755,2634,2489,2421,1929,1881,1679,1576,1643,1858,2622,2751,2587,2736,2453,2498,2943,3355,2381,1673,1666,2399,2919,2788,2276,1846,1773,2041,2255,2585,2474,2419,2584,2251,1994,2388,2461,2386,2424,2763,3197,2572,2045,2299,1360,1725,2521,2151,2004,2483,2338,2092,2036,2288,2631,2641,2492,2164,2220,2568,2903,2603,2046,2136,1997,1945,2025,2703,3205,2898,2810,2678,2376,2943,3473,3719,3518,3459,2927,2764,2551,2898,3580,3726,3942,4270,4400,3864,3238,3124,3208,3375,3823,4119,4183,3936,3855,3889,3685,3547,3370,3256,3205,3285,3184,3196,3343,3394,3340,3344,3396,3296,3234,3311,3448,3629,3784,4077,4252,4139,3974,3981,3924,3782,3582,3628,3914,4101,3754,3894,3640,3306,3343,3309,3343,3436,3815,3898,3606,3418,3183,3063,3104,3088,3219,3093,3008,3100,3102,2720,2540,2775,2957,3094,3117,3184,3142,2955,3020,3189,3353,3719,3248,2202,2330,3497,3973,3797,3292,2495,2028,2526,3061,3350,3150,2877,2945,3139,3414,3510,3500,3523,3419,3522,3102,3132,3377,3351,3305,3251,3100,2865,2686,2649,2496,2082,2040,1896,2248,2543,3049,3715,4037,3842,3542,3616,3843,3952,3702,3498,3404,3376,3439,2997,2690,2584,2584,2781,2329,1434,1313,1686,1558,1658,1869,2112,2017,1797,2429,2176,1573,2137,3338,3291,2660,2661,2313,2399,2197,2465,3140,3383,3488,2661,2577,2976,2909,2909,2206,1555,1834,1435,1389,1719,1750,1490,2057,2407,2989,2966,3111,3156,2435,2099,2632,2243,2160,2723,2238,1933,2319,2164,2133,2432,2473,2632,3288,3450,3459,3687,3791,3152,2538,2958,3108,2867,2341,2123,2420,3104,3294,2903,2551,2462,2939,3120,2951,2865,2044,1772,2533,2764,2720,2864,2642,2448,2622,2910,2125,2231,2714,1972,1990,2679,2841,2652,2712,2667,2684,2153,2441,2680,2108,2141,2600,2497,1939,1852,2381,2624,2732,2702,2312,1891,1858,2101,1689,1703,1823,2202,2425,2093,1609,1771,2388,2785,3496,3389,2763,2332,2503,2072,1940,2110,2175,1765,1784,2028,1821,2107,2477,2245,2353,2175,2237,2389,2092,2082,2090,2049,2275,2143,2499,2784,2453,2141,2121,1868,2368,3194,3889,3999,4045,4012,4011,4324,4542,4360,4408,4434,4449,4453,4200,3769,3793,4069,4234,4288,4289,4332,4507,4632,4541,4365,4347,4252,3728,3230,3173,3201,3244,3131,2923,2919,3077,3189],[4188,4096,4002,4038,3356,2335,2456,3128,2522,2146,2308,2504,3017,3124,3076,2963,2986,3120,3120,3143,3193,3268,3264,3365,2972,2963,3369,3396,3155,3061,3219,3244,3175,2910,2884,3661,3994,3964,3868,3305,2424,2030,2365,2579,2148,2578,3780,3593,3732,3928,3928,4165,4225,3420,2652,1925,2187,2450,2188,1969,2140,2533,3075,3266,3299,3427,3561,3299,2888,2437,2596,2746,2686,2368,2155,2922,3539,3731,3398,2438,2917,3500,3550,3731,3367,3343,3642,3791,3813,3588,3349,3513,3614,3864,4004,4034,3793,3725,3695,3785,3962,3625,2920,2798,3074,3327,3513,3502,3228,3916,4096,4082,3720,3592,2942,2604,2741,2840,2822,2314,2418,2403,2275,2265,2176,2503,3067,3450,3786,3804,3580,3354,3262,3391,3416,3304,3209,3304,3643,3585,2988,3068,3841,3783,3383,3248,3352,3431,3706,3580,2912,2583,2441,2358,2996,3112,2625,2785,3040,3008,2908,2366,2361,2102,2417,2094,2452,2130,1888,1904,2042,2262,2331,2031,2054,2075,2475,2123,1729,2057,2217,1815,1936,2779,2469,1599,1915,2833,2924,2573,2536,2211,2001,2337,2554,2346,1904,1727,1693,1501,1438,1825,2518,2973,2356,2170,2172,1912,1694,1912,2002,2328,2479,2457,2568,2478,2588,2953,3551,3751,2839,2330,2805,2489,1768,1843,2284,2668,2856,3116,3131,2739,2792,2692,2438,2030,2148,1930,2168,2201,2026,2179,2186,1987,2025,2602,2724,2263,1744,2017,2172,2051,2084,2104,2004,1992,2240,2265,1918,1731,1971,1815,1727,1806,1710,1776,2086,2454,2480,1909,1995,1827,1797,2367,2067,1942,2339,2086,2282,2499,2011,1891,1670,1462,1636,2176,2575,2209,2480,3042,3275,3063,2689,2429,2839,2521,2047,2506,2934,2935,2554,2237,2224,2121,1691,1718,1703,1549,1748,1962,2178,2110,2053,2303,2442,2332,2523,2321,2031,2275,1982,2113,2204,2430,2329,2632,2658,2222,2104,2290,2433,2596,2458,2053,2464,2331,2504,2371,1635,1853,2353,2656,2764,2445,2279,2740,2699,2290,2310,2178,2049,2185,2259,3051,3586,3061,2432,2509,2850,2623,2194,2249,2564,2643,2562,2570,2478,1907,1896,2220,2068,2171,2475,2083,1738,2092,2898,3218,3405,3431,3375,3955,4197,3428,3198,3548,2891,2574,2360,2876,3580,3699,3604,3185,2469,2068,2162,2071,1726,1776,2094,1870,2112,2531,3143,2567,2399,2425,2177,2072,2073,2280,2304,1853,1755,1996,2196,1738,1896,2292,2667,2318,2145,2744,2613,1863,2265,2523,2279,2309,2157,2481,2510,2408,2362,2029,2389,2210,2024,2523,2439,2398,2026,1863,2133,2569,2590,1773,1680,1969,2518,2467,2065,2396,2519,2086,1561,1830,2548,2799,2652,2510,2154,2302,2742,2980,2912,2955,2758,2411,2280,2198,2305,2685,2463,2585,2754,2282,1785,1828,2191,2667,3672,3564,3343,3261,3369,3343,3125,2496,2554,2710,2930,3437,3525,3441,3332,3138,2713,3567,4167,4187,4175,4300,4057,3623,3584,3531,3421,3540,3328,3128,3198,2366,2010,2669,2700,3000,2457,2131,2456,2898,3274,3127,3221,3288,3017,2187,1798,1581,1929,2322,2011,1759,1861,2134,2637,2712,2727,2950,2445,2796,2812,3374,2585,1855,2401,2562,2813,2986,2593,2006,1955,1843,1949,3076,3376,2612,2216,2852,3489,3331,2978,2920,3227,3328,3042,2427,2154,2604,2430,2662,2500,3097,3528,3444,3204,2949,2489,2415,2727,3158,3174,3160,3002,3260,3665,3665,3452,3514,3340,3016,2689,1976,1836,2211,2490,2439,2922,2964,3122,2911,2858,2597,2460,2215,2137,2902,3211,2863,2553,2849,3200,3253,2988,3016,3405,3221,2512,2785,3472,2879,2196,1792,1813,2110,2104,2613,2719,3165,3484,3827,3864,3275,3233,3645,3768,3317,3497,4029,3990,3197,2955,3186,2808,2562,3304,3584,3421,2909,2662,2653,1853,2046,2172,2824,2447,2797,3508,3105,3018,2833,2612,2885,2864,3089,3596,3442,2200,1447,2246,1810,1526,2410,2920,3140,3086,2832,2818,2809,3186,3262,3286,3527,3971,4619,4298,3567,3087,3291,3449,3338,2958,2909,3362,3765,3754,3969,4125,4175,4464,4308,3817,3659,3692,3537,3361,3232,3233,3394,3721,3707,2609,2742,2669,2249,2189,2222,2082,1740,1497,1568,2395,2282,2092,2248,2500,2706,2779,2930,2875,2644,2493,2598,2547,2561,2600,3436,3480,3480,3358,3061,2778,2062,2122,2344,2022,1701,2088,2353,2302,2382,2358,2333,2415,2450,2620,2529,2525,2893,3585,3873,3658,4033,3493,2425,1714,2084,2010,2230,2591,2218,1579,2302,3466,3649,3592,3481,3416,3017,2318,2634,3185,3459,2771,1892,1671,1766,1794,1792,1761,1745,1685,1725,1986,1698,1636,1714,1549,1690,1743,1547,1462,1628,1727,1568,1539,1403,1713,2159,2360,2010,1700,1641,1478,1429,1665,1886,2288,2735,1815,1662,1588,1581,1946,1873,1999,2169,2008,2330,2276,1757,1698,2228,2532,3090,3555,3355,2723,2017,1726,1952,1837,1711,2299,2183,2576,2714,2966,3448,3462,2880,2677,2543,2719,3061,3003,3241,3494,3287,2517,2670,2326,2097,2453,2453,2431,2590,2806,2877,3012,3238,3464,3574,3852,3109,2499,2683,2836,3531,4127,3650,2974,2987,2859,3595,4216,3984,3792,2886,3175,2820,2597,2340,1954,2452,3263,3248,3217,3216,3288,2966,2846,2676,2460,2584,2243,2171,2282,2295,2535,2552,2581,2185,2192,3022,2442,2050,2517,3182,3416,2985,2996,2590,2163,2153,2194,2562,2834,2510,2024,2674,2426,1997,2086,2077,1885,2023,2278,2204,2009,2410,2398,2434,3572,3571,2819,2369,2500,2711,2230,1793,1983,2476,2532,2667,2414,2093,2335,2997,3701,3027,2721,2851,2326,1533,1839,2269,1938,1516,1691,1645,1628,1808,2293,2931,2137,1403,1283,1196,1628,2145,1887,1734,1887,2285,2400,2089,1910,1949,1998,2048,2484,1984,2040,2533,3243,3671,3646,3483,3645,3782,4061,4175,4194,4087,4285,4532,4468,4120,3530,3017,2878,2897,3018,3360,2912,2143,1999,2157,1777,1525,1482,1505,1652,1641,1968,2452,2194,1629,1714,1836,1765,1713,1645,1804,1808,1734,1758,1605,2241,3549,3544,2358,2846,3750,4058,3989,3979,4236,4245,4038,3813,3625,3726,3764,3587,3341,3564,3939,3984,4120,3908,3374,3151,2471,2590,3050,2897,2678,2752,2476,2200,2375,2182,2295,2876,2305,2470,1990,1774,2191,1888,1948,2322,2432,2529,2394,2828,3120,2153,1992,2340,2540,3198,3666,3149,2264,1982,1999,2047,1963,1947,2454,2525,2072,2088,2338,2733,3210,3759,3892,3829,3794,2966,2373,2447,2558,2431,2529,2702,2705,2955,3260,3282,3141,2823,2968,3067,2986,2907,3187,2790,2631,2952,3327,3226,3124,3098,3306,3603,3364,2758,2677,3103,3261,3110,2888,2933,2842,2811,3000,3001,3086,3423,3602,3680,3716,3816,3830,3474,3366,3342,3232,3260,3244,3233,2956,2879,3204,3360,3217,3255,2595,2576,2095,1646,1575,1585,2125,2256,2090,2403,2261,2394,2828,3308,3606,3428,3427,3624,3830,3918,3958,4241,4179,3601,3584,3474,3154,3198,3386,2994,2928,2630,2591,3688,4283,3879,3897,4277,4208,4071,3964,3637,3105,3072,3360,3447,3414,3244,3276,3418,3406,3698,4023,3960,3886,3830,4287,4555,3559,3334,4061,4180,3779,3626,4278,3946,2950,2242,1706,1786,1668,1681,1619,1639,1475,1603,1766,1454,1523,1717,1825,2254,2534,2743,2676,2503,2427,2207,2008,1926,1852,1713,1542,1746,1769,1801,2100,2278,1711,1556,1554,1596,1554,1968,2069,1529,1689,1551,1554,1955,2190,2163,2225,2684,2794,2814,2647,2144,2005,2168,2214,2454,2513,2431,2300,2311,1886,1609,1427,1448,1660,1963,2403,2309,2181,2770,2321,2296,2584,3240,2646,2058,1785,1715,1851,2079,2073,2352,2351,2160,2081,2420,2119,2239,2450,2359,2411,2380,2288,2412,2589,2829,2955,2469,2046,2193,1179,1638,1946,1845,2217,2555,2259,1916,1958,2387,2954,3200,3034,2011,1988,2173,2371,2358,2402,2451,2040,1909,1930,2131,2350,2604,2891,2723,2580,3415,3673,3400,3161,3109,2872,2702,2764,3194,3249,3830,4481,4384,4200,3647,3315,3344,3515,3616,3798,3899,3926,4001,4002,4059,3980,3776,3415,3204,3217,3343,3230,3264,3339,3287,3241,3287,3399,3327,3319,3272,3425,3689,3975,4149,4188,4014,3941,3898,3858,3749,3569,3719,3935,4086,3773,4086,4074,3620,3529,3431,3309,3610,4229,4409,3949,3430,3164,3132,3153,3129,3067,3032,2997,2980,3016,2787,2629,3046,3301,3312,3187,3168,3076,3018,2933,3010,3238,3461,3386,3106,3226,3731,3837,3542,2928,2437,2271,2339,2610,3056,3088,2732,2849,2942,2958,2842,3023,3352,3614,3515,2520,2189,2685,2843,2714,2667,2540,2263,1951,2114,2141,2312,2540,2471,2761,3551,3831,3769,4023,3792,3540,3216,3109,3572,3292,3295,3166,3471,3471,2993,2499,2215,2501,2631,1991,1523,1505,1958,1869,1677,1763,1871,1926,1538,1794,1920,1288,1852,2670,2955,2855,2928,2401,2553,2458,2518,3043,3093,2912,2742,2625,2903,3256,2933,2047,1978,1992,1982,1936,1854,1506,1580,2095,2986,3305,2802,2822,2698,2118,1828,2446,2198,2529,2834,1948,2244,2330,1673,1945,2423,2332,2565,2991,3263,3250,3517,3636,2939,2938,3373,3349,3043,2525,2402,2533,3025,3099,2596,2661,3051,3313,3145,3067,3052,2213,1662,2238,2610,2721,2266,2388,2878,2824,2754,2259,2689,2715,2092,2454,3115,3177,2964,2673,2711,2996,2248,2249,2788,2567,2623,2957,2836,2356,2299,2512,2448,2412,2564,2121,1777,1651,1988,2106,2136,1819,2282,2721,2298,1845,1723,2291,3164,3595,3345,2898,2125,2142,2200,1787,1822,2182,2366,2693,2436,1973,1919,1957,2145,2446,2105,2152,2643,2450,2286,2578,2859,2466,2480,2680,2780,2730,2399,2264,1864,2630,3726,3735,3461,3207,3461,4301,4293,4437,4384,4319,4352,4608,4598,4159,3630,3626,4016,4300,4137,3923,4068,4518,4647,4604,4496,4433,4118,3466,3201,3174,3167,3220,3140,3046,2939,3049,3211],[4024,3907,4042,4029,3481,2817,2927,2929,1873,1835,2094,2445,3024,3443,3250,2979,3005,3204,3216,3195,3062,3371,3313,3090,2819,3054,3187,3333,3297,3160,3293,3110,3051,2888,2708,3508,3631,3397,3585,3292,2646,2401,2678,2801,2430,2689,4124,3768,3687,4105,4180,4163,3957,3420,2443,1828,1863,2303,2130,1828,1809,2325,3061,3283,3205,3322,3387,3449,3032,2456,2690,2561,2232,2460,2602,3366,3450,3066,2999,2964,3531,3919,3875,3747,3740,3943,3848,3701,3723,3608,3014,2975,2757,3074,3441,3512,3695,3530,3553,3739,3675,3197,2753,2552,2824,3133,3626,3875,3392,4026,4568,4468,4518,4261,3964,3786,2845,2618,2935,2698,2619,2754,2554,2641,2535,2545,2750,2960,3252,3580,3614,3569,3475,3522,3444,3510,3566,3620,3704,3438,3096,3416,3376,2894,2859,2821,3215,3569,3880,3999,3177,2803,2468,1923,2200,2514,2402,3038,3239,3182,3229,2984,2577,2746,3146,3088,2880,2303,1988,2131,2020,2075,2168,1869,1970,1744,2032,1814,1628,1869,1680,1697,2101,2564,2226,1779,2237,3351,3334,3071,2683,1973,2308,2711,2290,1785,1720,1875,1552,1098,1715,2540,2283,2165,2120,2100,2293,2029,1466,1702,2042,2450,2577,2508,3147,2817,3134,2862,3052,3272,2646,2669,2731,2419,1996,1896,2277,2751,2742,3218,2651,1975,2292,2803,2569,2369,2403,1846,1703,1775,1919,2154,1899,1914,2321,2669,2444,1936,1526,1543,1539,1806,1856,1926,1954,2049,1960,1889,1704,1902,2094,1822,1821,1828,1610,1609,1617,2078,2322,1955,2232,1979,1658,2183,1801,1800,1488,1430,1646,1832,1873,2155,2155,1700,1549,1745,2250,1924,2032,2409,3100,3064,2917,2817,2953,2845,2541,2808,2996,2253,1842,2023,1849,1910,1765,1802,2031,2226,1810,1660,2091,2109,2411,2463,2383,2237,2082,1817,1670,1771,2113,2409,2288,1885,2291,2820,2342,1804,1766,2085,2663,3217,2610,2402,2975,2362,2091,1989,1887,2341,2408,2146,2314,2126,1912,2169,2177,1981,2191,2380,2281,2189,2013,2170,2763,2859,2542,2630,3153,3059,2875,2828,3033,3034,2784,2881,2766,2285,2615,2547,2553,2778,2423,2025,2156,2354,2931,3436,3436,3365,3548,3798,3677,3204,2500,3008,2333,2186,2318,3087,3741,3696,3535,3190,2621,2718,2988,2695,2091,2257,2164,2461,3108,3516,3834,2849,2059,2109,2009,2249,2232,2491,2092,2140,2313,2339,1962,1731,1804,2111,2604,2486,2133,2337,2786,2075,2485,2636,2407,2170,1914,1951,2124,3160,3169,2534,3003,3167,2884,2663,2365,2249,1882,1768,1916,1889,2197,2293,2025,1781,1969,2261,2386,2933,3400,2698,2072,1928,2317,2354,2151,1872,1790,2258,3121,3378,2972,2863,2604,2077,2130,2348,2420,2456,2575,2749,2602,2350,2044,2106,2649,2625,3021,2910,2931,3011,3154,3285,2471,2132,2680,2432,2570,3357,3708,3348,3046,3653,3465,3371,3519,3775,3986,4040,3660,3359,3521,3495,3500,3582,3393,3523,3422,2439,2182,2421,2581,2896,2605,2401,2654,3388,3654,3561,3522,3410,3472,2941,2281,1808,1992,1988,1797,1918,1924,2071,2509,2669,2720,2901,2721,2671,2935,3352,2423,2008,2623,2759,2917,2978,3433,2629,2052,1727,2187,3185,3443,3422,3403,3758,3795,3010,2680,2802,2861,2888,2833,3127,2906,2452,2522,2909,3277,3727,3667,3348,3355,3001,2421,3101,3044,3177,2890,3034,2919,2726,2565,2995,3203,3075,3154,2973,2771,2366,2321,2862,2808,2328,2708,3277,2994,2465,2709,2812,2308,2211,2724,3339,3300,2414,1796,2450,2552,3006,3009,3401,3769,3285,2785,2612,3537,3222,3042,2238,2043,1707,1642,2209,2657,2929,3182,3610,3318,2401,2644,3320,3784,3221,3405,4264,4521,3397,2833,2957,3073,3459,3548,3378,2967,2678,2884,2620,2313,2347,2154,2600,2110,2106,2643,2734,3037,2601,2017,2567,2855,3901,4536,4275,2471,1459,1672,1880,2212,2484,2664,3063,3227,3426,3195,3109,3418,3586,2899,2937,3352,3819,3804,3578,3626,3683,3359,3353,3484,3375,3273,3620,3861,3852,3925,4387,4760,4397,3818,3769,3673,3271,3111,3150,3253,3251,3384,3231,2691,2840,2564,2243,2313,2201,1875,1823,1968,2172,1830,1552,1704,1819,1936,2109,2251,2209,2272,2354,2293,2356,2521,2553,2634,3488,3653,3438,3122,3183,2708,2049,2253,2222,1924,1940,2143,2361,2336,2347,2520,2489,2526,2487,2625,2761,2745,3040,3299,3307,3083,3111,3084,2864,2201,1931,1921,2125,2740,2623,1585,1864,3039,3346,3382,3478,3560,3416,2546,2563,3102,3122,2515,1860,1783,2144,1947,1808,1702,1742,1663,1562,1872,1997,1925,1683,1357,1484,1453,1475,1551,1654,1623,1433,1509,1681,2347,2851,3241,3006,2350,1758,1634,1581,1732,1738,1923,2432,1773,1611,1557,1517,1639,1587,1854,2009,1930,2249,1978,2156,2051,2220,2336,2612,2644,2575,2565,2049,1323,1487,1823,2220,2778,2435,2402,2462,2632,3151,3448,3006,2611,2436,2533,2729,2852,3209,3501,3591,3122,2669,2149,1885,2010,2358,2246,2180,2587,2704,2733,3061,3255,3089,3487,3637,3447,2872,2797,3570,3864,3693,3621,3377,2908,3891,4300,3169,3341,2855,2976,3185,2550,1886,1663,2399,3242,3129,3448,3617,3154,3039,3560,2975,2433,2270,2029,2142,2205,2058,2099,2243,2653,2371,2947,2979,2455,2624,3124,3352,2768,2395,2798,2973,2865,2637,2494,2890,3044,2995,2589,2976,2721,2167,2187,2035,1766,2405,3528,3375,2900,2512,2846,2212,1975,2103,1888,2069,2265,1953,2081,2348,2627,2877,2730,2636,2310,2334,2414,2706,3431,3680,2956,2194,1819,1691,1897,2253,1830,1425,1627,1971,1782,1895,2187,2648,2093,1735,1752,1807,2299,2104,1678,1648,1709,1771,1653,1764,1846,1903,2678,3417,3536,3426,3154,2862,3022,3208,3278,3076,3110,3354,3564,3693,3231,3095,3386,3376,3256,2666,1715,1420,1528,1742,1887,1823,1976,2011,1831,1561,1556,1506,1407,1640,1620,1526,1770,1838,1961,1829,1933,1736,1527,1637,1632,1605,1669,1959,2088,1486,1820,2503,2951,2000,1776,2321,3241,3650,3494,3933,4489,4389,4141,4123,4348,4185,4036,3969,3907,3849,3828,3938,3909,3539,3351,3145,2965,3019,2701,2409,2669,2384,2059,2968,3533,3254,3056,2734,2501,2100,2329,2573,2014,2534,2973,2164,2427,2347,2077,2189,2050,2165,1853,2179,3708,4173,3518,2639,2200,2040,2138,2063,1881,2338,2856,3124,3089,3220,3350,3396,3896,4169,3909,3576,3041,2614,2567,2962,3311,3296,3106,2988,2796,2998,3225,3233,3105,3222,3259,3189,3437,3572,2973,2600,2812,2753,2842,3216,3231,3776,4264,3960,3175,2436,2536,2654,2686,2802,2780,2664,2751,2958,2755,2838,3116,3359,3488,3560,3615,3659,3538,3465,3437,3394,3638,3669,3371,3194,3123,3080,3166,3051,3357,2696,2132,2409,2765,2518,1975,2557,2788,2480,2582,2290,2332,2622,3226,3493,3403,3337,3300,3475,3773,3543,3579,4058,3913,3636,3425,3219,3351,3462,3105,2869,2765,3125,4025,4283,4176,4427,4011,3365,3694,4157,4095,3604,3409,3484,3686,3637,3370,3398,3286,3417,3801,3978,3876,4094,4168,4416,4712,3859,3473,4185,4269,4140,4256,4603,4451,3796,2885,2172,2338,2358,1766,1437,1459,1511,1726,1816,1567,1678,1737,1743,2553,2830,2799,2683,2554,2328,2076,1992,1740,2027,1898,1494,1719,1748,1995,2084,2040,1701,1454,1394,1468,1483,1556,1545,1503,1569,1463,1745,2314,2048,1942,2091,2076,2228,2687,2634,1779,1769,1924,1902,2059,2598,2799,2666,2463,1878,1626,1730,1898,2261,2134,2112,2072,2468,3087,2635,2277,2275,2926,2741,2067,1813,1670,2048,2513,2239,2329,2348,2093,2135,2285,2405,2587,2031,2076,2487,2340,2331,2044,2413,2477,2770,2381,2354,2210,1710,1953,1991,2091,2186,1794,1657,1610,1696,2135,2698,3038,2953,1986,1751,1649,1815,2126,2242,2015,1765,1761,1812,1744,2157,2897,2891,3027,3109,3672,3979,3732,3500,3310,3365,3444,3697,3496,2510,3548,4244,4315,4147,3607,3436,3915,4117,3851,3797,3786,3771,3961,3869,4057,4153,4024,3616,3265,3104,3085,3238,3197,3131,3238,3250,3252,3507,3228,3183,3260,3525,4001,4150,4091,4056,3990,3849,3825,3770,3774,3781,4041,4111,4023,3924,4113,3879,3753,3958,3828,3737,4046,4253,4481,3871,3482,3232,3296,3243,3163,3033,2983,3132,3198,3188,3017,2801,2877,2996,3379,3256,3110,3088,3134,3077,3297,3709,3776,3642,3716,3583,3564,3587,3399,2727,2373,2291,2198,2220,2698,3082,3094,3042,2759,2588,2522,2526,2541,2508,2928,2739,2378,2656,2785,2769,2780,2510,2192,2204,2723,2903,2873,2797,2883,3280,4032,3889,3403,3326,3077,3259,3119,3033,3384,3199,3319,2487,2601,3251,3155,2578,2207,2298,2294,2609,2566,1881,1999,1916,1515,1597,1910,1931,1857,2664,2556,1632,2295,2631,3059,3017,2448,2025,2387,2585,2783,3060,2767,2444,2265,1804,2085,2355,2854,2576,2610,2362,2197,2088,1992,1975,1890,2542,3272,2695,2469,2521,2312,1944,1787,2135,2127,2691,2545,1940,2354,1839,1551,2141,2618,2796,2845,2906,3370,3331,3405,3187,2715,3099,3261,3459,3278,2586,2314,2355,2648,2808,2977,3007,3108,3358,3040,2711,2753,2322,1501,1865,2306,2621,2087,2327,2595,2302,2395,2303,2561,2346,2152,2662,2840,2579,2147,2330,3104,3140,2438,2687,3309,2769,2567,2752,2380,2345,2513,2244,2309,2547,2657,2358,2019,1969,2173,2392,2266,2035,2352,2555,2315,1918,1760,2221,3044,3211,2924,2644,2160,2154,2321,2060,1746,1862,2117,2390,2431,2322,2051,2322,2627,2575,2154,2072,2264,2578,2854,3436,3604,2795,2470,2313,2709,2549,2165,1950,2001,2468,3165,3466,3395,3240,3271,3926,4016,4110,4183,4275,4319,4499,4387,3934,3348,3225,3909,4333,4008,4009,4009,4236,4299,4251,4240,4108,3662,3251,3220,3283,3406,3480,3294,3259,3238,3097,3256],[3575,3863,4109,3869,3790,3292,3338,2589,1694,1730,1865,2202,3122,3636,3373,2863,2917,3075,3060,2987,2957,3140,2976,2957,3156,3162,3040,2998,2974,3054,3184,2921,2868,2744,2596,3086,3266,3177,3104,3101,2888,2244,2551,3067,2868,2986,4070,4035,3576,3864,4168,4332,4152,3418,2837,2411,2028,2640,2451,2456,2248,2675,2917,3024,2780,2862,3189,3232,2950,2933,3410,2975,2696,3053,2785,3058,2965,2772,2934,3330,3758,3782,3585,3481,3790,4328,4160,4052,3874,3784,3270,2673,2640,3323,3316,3273,3792,4041,4144,4005,3715,3465,3095,2541,2050,2630,3466,3814,3596,3969,4399,4439,4401,4420,4548,4248,3452,3613,3630,3752,3292,3137,3363,3282,3017,2711,2642,2874,2745,2874,3260,3450,3466,3448,3413,3493,3582,3558,3241,2897,3063,3438,3398,2963,2645,2901,3427,3543,3683,3941,3980,3728,3107,2105,1968,2300,2908,3243,2976,3177,3225,3022,2922,3000,3544,3716,3119,2543,2304,2189,1976,2110,2066,1976,1766,1610,1852,1780,1651,1648,1708,1917,1954,2388,2136,1766,2244,3000,3164,3243,3296,2364,2426,2240,1345,1453,1798,1687,1096,1215,2269,3017,2523,1655,1622,1992,2178,2017,1809,1923,2607,3164,3481,2699,2884,3099,3353,2544,2568,2599,2613,2277,2046,2172,2290,2336,2364,2576,2754,3012,2280,2038,2171,2575,2398,2286,1967,1483,1511,1809,2190,2261,2028,2371,2808,2496,2214,1886,1561,1201,1654,2024,1593,1615,2126,2264,2123,1887,1656,1692,1551,1699,2020,2042,1590,1459,1455,1881,2095,1963,2202,1772,1776,2336,2264,2062,1541,1534,1677,1764,2019,2568,2460,1692,1458,1534,1804,1642,1874,2293,2769,2912,3013,2877,2850,2916,2829,2868,2150,1728,2091,2125,1945,2115,2332,2404,2346,2365,2354,2169,2112,2522,3382,3086,2928,2374,2024,1807,1612,1859,2127,2407,2160,2042,2654,2732,1700,1940,2416,2839,2883,2931,2529,2419,2503,2164,1936,1822,2066,2355,2205,2284,2566,2325,2412,2746,2908,2663,2575,2496,2233,2381,2513,2576,2243,2007,2163,2236,2237,2244,2460,2566,2614,2691,2813,2980,2740,2313,2684,2932,2905,2958,2437,2363,2408,2169,2511,3062,3009,2978,3117,3034,2788,2316,1916,2474,2332,2216,2038,2359,3216,3618,3421,2841,2666,3144,3220,2751,2213,2465,2500,2567,2868,3039,3160,2556,1932,2368,2366,2348,2110,3176,2096,1541,1780,2153,1964,1715,2030,2377,2474,2447,2318,1902,2627,2279,2518,2369,1997,2151,2164,1892,2264,3068,3076,2495,2482,2434,2351,3017,3042,2421,2046,1988,1938,2023,2412,2720,2652,2623,2496,2395,2129,2858,3432,2437,1635,1818,2270,2361,2142,2031,2259,2568,3178,3344,2972,2968,2620,2297,2208,2308,2371,2529,2706,2677,2490,2417,2106,2085,2410,2437,2588,2712,2850,2842,3100,3242,2574,2161,2310,2185,2852,3301,3476,2863,2596,3128,3038,2553,2546,3138,3488,3198,3050,3493,3564,3448,3318,3419,3382,3465,3010,2421,2634,2524,2148,2361,2640,2501,3218,3686,3575,3622,3741,3440,3518,3340,2674,2238,2050,1870,2004,2204,1948,2131,2115,2020,2154,2403,2396,2602,2824,2996,2745,2343,2360,2185,2512,2855,3573,2786,1885,1772,2500,3073,3332,3723,3649,3452,3262,2840,2749,2789,2645,2577,3007,3471,3212,2857,3001,3081,3310,3669,3595,3175,3094,2402,3476,4081,3563,3230,2972,3172,3294,2810,2454,3074,3373,3200,3125,3163,3342,3201,2922,3299,3000,2547,2858,3342,3369,2795,2315,2732,2846,2695,2657,2758,2676,2405,1997,1880,1969,2346,2579,3188,3450,3337,3297,2769,3234,3102,3141,2800,2701,2186,2415,3095,2968,2719,2883,3216,3338,2785,3106,3582,3958,3704,3706,4006,4468,3708,2878,2949,2595,2696,3032,2885,2518,2194,2916,3032,2758,3330,2710,1827,1698,2105,2765,3431,3440,2648,2382,2937,2617,3097,3834,4285,3162,1941,1876,2120,2095,2254,2613,2849,3187,3376,3107,3431,3514,3411,2652,2664,3254,3597,3812,3497,3452,3511,3326,3448,3466,3817,3696,3461,3542,3724,3940,4220,4244,3844,3529,3760,3748,3210,3060,3209,3550,3349,3213,2917,2604,2610,2518,2348,2330,2169,1725,2179,2186,2410,1623,1030,1363,2216,2574,2499,2320,1830,2111,2360,2334,2271,2604,2500,2776,3244,3384,3210,2846,2724,2407,2124,2178,1839,1575,2085,2248,2382,2428,2613,2597,2500,2587,2535,2530,2586,2182,2111,2110,2103,2300,2285,2677,3200,3218,2466,1810,2249,2997,3164,1910,1678,2771,3373,3441,3451,3406,3323,2603,2452,2985,2956,2435,1922,1806,2014,1746,1651,1588,1598,1807,1733,1797,1888,1745,1499,1558,1920,2170,1933,1811,1855,1592,1582,1745,1883,2239,2973,3431,3233,2850,2117,1818,1572,1948,2060,2105,2177,1715,1431,1432,1652,1642,1581,1891,2144,2353,2246,1948,2207,2193,1953,1777,1755,1957,2367,2400,2062,1476,1359,1859,2019,2525,2496,2232,2557,2929,3296,3554,3303,2979,2646,2622,2855,2886,3111,2986,3096,3406,3077,2520,2095,1979,2200,2280,2150,2470,2792,2700,2754,3023,3332,3316,3294,3422,2880,2828,3773,3526,3109,3442,4124,4043,4372,4026,3186,3184,2655,2677,3108,2795,2153,1836,2469,3310,3028,3053,3397,2850,3052,3551,3000,2384,2347,2480,2502,2700,2404,1964,2474,2452,2359,2158,1683,2276,2643,2769,2716,2380,2822,3056,3000,3273,2763,2688,3173,3240,3452,3331,3019,2710,2515,2208,2206,2037,2427,3272,3008,2642,2431,2858,2453,1798,1780,2159,2938,2714,2186,2512,2513,2115,2190,2359,2404,2425,2396,2345,2705,2714,3262,2944,2110,2291,2189,2301,2648,1482,1291,2216,2344,1885,1889,2260,2430,2098,2002,1972,2271,2350,1842,1644,1252,1472,1449,1083,1346,1836,1947,2384,3470,4380,4445,3912,3658,3376,3438,3389,3175,2863,2191,2234,2598,2844,2839,2833,3306,3388,2688,1838,1834,1648,1547,1494,1537,1743,1756,1613,1433,1547,1624,1484,1491,1558,1842,1565,1445,1563,1431,1484,1461,1516,1487,1557,1891,1995,2078,2031,1455,1222,1514,1787,1655,1672,1581,1653,1772,1960,2377,2767,3329,3759,3739,3861,4121,4293,4143,4064,4277,4328,4081,3939,3775,3300,3084,3447,3425,3173,2743,2328,2193,2014,2281,2648,2749,2745,2507,2488,2735,2774,3084,2780,2930,2148,1688,2580,2821,2830,2686,2414,2280,1992,2113,3648,4384,3759,2864,2299,2104,2166,2057,1924,2034,2654,3514,3727,3527,3517,3736,3802,3457,2875,3195,3499,3363,3470,3983,4060,3316,2454,2348,2842,3581,3647,3719,3654,3840,3860,3864,3840,3344,2621,2474,2476,2630,3432,3506,3315,3836,4220,4412,3740,2853,2773,2778,2796,2986,3045,2901,2944,3087,2968,2997,2957,3132,3431,3539,3430,3385,3479,3881,4124,3717,3915,4196,3504,3208,3017,2834,2880,2993,3362,3108,2144,1678,2252,2352,2064,2878,3217,2801,2571,2216,2123,2344,3078,3536,3365,3231,3096,3283,3581,3621,3417,3617,3594,3761,3980,3645,3282,3263,3140,2938,2684,3296,4024,4251,4452,4772,3693,2910,3051,3657,4131,3937,3936,4177,4140,3938,3624,3674,3347,3736,4049,3749,3482,4025,4400,4432,4640,4511,4468,4505,4376,4331,4579,4627,4344,4247,3738,2937,3119,2792,1771,1470,1582,1748,1743,1564,1576,1663,2165,2294,2193,1986,2109,2269,2343,2245,2148,2398,2583,2820,2765,2093,1826,2010,2272,2127,1992,1832,1584,1473,1647,1722,1854,1537,1464,1461,1398,2017,2797,2702,2575,2369,2065,2185,2754,3121,2304,2430,2386,2196,2373,2845,2644,2579,2461,1825,1869,2378,2217,2134,1791,2328,2605,2688,2927,2851,2662,2469,2719,2958,2222,1929,1915,1977,2106,2084,2036,2217,2274,2319,2254,2543,2802,2358,2452,2654,2588,2554,1982,2385,2863,2442,2144,2389,2334,2290,2308,2320,2588,2301,2061,1944,1676,1587,2203,2547,2808,2500,1802,1621,1698,2043,2476,2053,2012,1577,1301,1616,1644,2099,2464,2652,3198,3093,3077,3354,3484,3720,3147,2808,3141,3296,3217,2617,3312,4046,4520,4564,4276,4465,4492,3713,3398,3815,3793,3935,3903,3908,4045,4140,4090,3666,3310,3241,3186,3186,3073,3040,3194,3196,3171,3370,3218,3256,3436,3682,4002,4208,4176,4045,3947,3827,3850,3647,3659,3875,4094,4144,4026,4013,4059,3926,4046,4265,4168,4377,4497,4432,4228,3761,3342,3341,3592,3453,3274,3142,3098,3231,3388,3300,3077,2789,2594,2842,3096,3176,3163,3189,3386,3265,3289,3682,3970,3826,3709,3509,3558,3730,3588,2796,2338,2358,2251,2366,2918,3109,2917,2525,2120,1884,1809,1730,1615,1875,2732,3476,3152,2951,2711,2526,2611,2396,2063,2037,2679,3044,2634,2394,2875,3241,3281,3548,3467,2867,2942,3461,3341,3055,3107,3264,3399,3320,3296,3352,3500,2965,2356,2382,2382,2911,2564,1897,1846,1832,1824,2104,2419,2404,2083,2511,2624,2134,2534,2565,2663,2503,1928,1809,2552,3075,3094,2920,2462,2055,1690,1566,1745,2055,2774,2851,2754,2424,2310,2216,1963,1828,1697,2750,2779,2447,2346,2298,2232,2214,2050,1959,2377,3020,2770,2234,2011,1710,1930,2314,2410,2485,2684,2596,3015,3400,3398,2854,2388,2630,3010,3476,3204,2732,2493,2463,2675,2817,2790,2735,2898,2916,2648,2197,2562,2398,1570,2043,2338,2642,2286,2346,1811,1693,2845,3188,2878,2847,2798,2856,2524,2307,2544,2433,2842,2684,2206,2767,3306,3295,3281,3270,2899,2810,2618,2139,2256,2684,2759,2599,2575,2677,2422,1891,1767,2087,2416,2425,2588,2198,2143,2557,3012,3401,3310,3084,2811,2297,2012,2088,1693,1650,2040,2158,2396,2612,2412,2314,2442,2039,1711,1988,2046,2468,2902,3398,3410,2636,2272,2073,2128,2081,1704,1786,2334,2810,3050,2985,2977,3081,3228,3385,3726,3959,4164,4352,4207,3944,3862,3775,3266,2965,3438,3943,3880,3916,3859,3813,3835,3789,3852,3836,3648,3595,3486,3503,3695,3871,3673,3602,3448,3107,3436],[3607,3858,3529,3557,3807,3371,3161,2490,1725,1617,1628,2341,3282,3583,3670,3607,3394,3054,3323,3474,3474,3139,2854,3015,3060,2816,2589,2290,2890,2985,3160,3096,2718,2743,3157,3259,3340,3382,3195,3430,3188,2163,3076,3802,3400,3241,3729,4136,3550,3513,4195,4427,4514,4060,2943,2139,1932,2498,2365,2165,2125,2364,2522,2404,2043,2053,2400,2495,2626,3410,3764,3404,3196,3561,2867,2752,2719,2764,3273,3549,3616,3387,3082,2996,3684,4071,3872,3801,3647,3642,3442,3024,3372,3649,3255,3106,3812,3986,3814,3628,3585,3483,3300,2923,2608,2894,3416,3646,3573,3232,3181,3330,3298,3354,3593,3739,3800,3517,3393,3475,3362,3415,3538,3461,3330,2603,2331,2990,2766,2965,2895,2937,2960,3184,3374,3417,3417,3300,3069,3059,3234,3132,3338,2721,2728,3016,3194,3541,3559,3329,3386,3498,3652,3029,2502,2373,3209,3670,3496,2996,2765,2762,2821,3016,3559,3730,3259,2607,2351,2344,2164,2622,2246,1983,1781,1649,1829,1696,1674,1725,1555,1788,2014,2248,2210,1954,2563,3047,3062,3232,3015,2617,2740,2252,1327,1476,1697,2039,2062,1968,2666,2998,2591,1923,1641,2013,2621,2924,2902,2517,3343,2997,3041,2215,2274,3188,3497,3086,2433,2368,2910,2581,1927,2188,2312,2188,2355,2413,2508,2331,2160,2198,2193,2347,2592,2268,2054,2175,2064,1799,2089,2035,2045,2745,2899,2293,2145,2101,1581,1200,1846,2447,2232,1903,2351,2422,2243,1759,1814,1830,1780,2005,2827,3022,1898,1613,1577,2007,2113,2182,2215,1742,2115,2747,2786,2137,1565,1510,1511,1628,1883,2250,1775,1145,1158,1433,1908,2349,2764,3056,2900,2763,3132,3166,3163,3278,3055,2451,1643,1755,1979,2119,2050,2387,2866,2643,2225,2372,2439,2261,2489,3484,4069,3775,3319,2873,2744,2239,1929,1988,1765,2056,2005,2083,2572,2729,1986,2214,2383,2479,2854,3276,3098,2754,2646,2165,2202,2304,2306,2379,2076,2902,2910,2668,2836,3334,3980,3652,3406,3261,2646,3229,3295,2846,2558,2755,2774,2289,2486,2620,1877,1741,1614,1927,2078,2269,2683,2727,2482,2223,2255,2448,2641,2520,2394,2292,2400,2470,2264,2600,2552,1822,1521,1616,1853,2173,2280,2080,1850,2049,2554,3168,3167,2569,2524,2900,2548,2075,2055,2308,2420,2319,2482,2705,2965,2431,2002,2472,2491,2287,2052,2858,2207,1587,1673,1931,2054,2006,2331,2324,2110,2442,2584,1944,2279,2349,2388,2664,2464,1856,1771,2061,2442,2903,2744,2044,2199,2036,2091,2645,2777,2078,2024,2462,2248,1601,1619,1791,2352,3099,2527,2182,2344,2858,2967,2449,2533,2722,2108,1481,1393,1918,2341,2119,2686,2646,2712,2834,2269,2108,2260,2428,2701,2759,2613,2348,2087,1997,1784,1995,2523,2503,2358,2576,2835,2865,3203,3605,3283,2666,2732,2791,3279,3369,3688,3090,2630,2884,3029,2569,2241,2692,2880,2519,3031,3322,2976,2857,3031,3293,3376,3138,2595,2536,2764,2265,1588,2475,3410,3370,3709,3863,3763,3731,3575,3302,3310,3189,2764,2833,2931,2630,2182,2166,2005,2292,2348,2359,2095,1887,2361,3022,3309,3042,3481,3533,2366,1650,1894,2376,3066,2654,1806,2001,2770,2915,3227,3715,3482,3248,3453,3249,2906,2813,2763,3023,3417,3518,2954,2501,2887,3183,3310,3469,3306,3083,2791,3005,4070,4239,4051,3798,3530,3264,3219,3041,2840,3082,3339,2866,2999,3388,3493,3195,2622,2817,3139,3145,3342,3451,3276,2965,2511,2232,2766,3101,2514,2137,2298,2288,1846,2008,2496,2875,2878,2940,2557,2964,2928,2184,2423,2667,3068,2831,2447,2458,2939,3409,3190,3065,2855,3118,4062,3791,3567,3105,3527,4157,4285,4385,4373,3470,2438,2589,2673,2740,3332,3219,2594,2143,2637,2094,2297,3312,2928,2082,2342,3161,3277,3460,2920,2334,2597,3163,3021,2652,3008,3650,3319,2229,2215,2380,2056,2596,2553,2787,3177,3053,2993,3288,3431,3361,2854,2651,3081,3320,3299,2738,3085,2955,2713,3167,3414,3475,3500,3486,3503,3508,3782,4233,3836,3150,3177,3392,3303,3199,3191,3251,3583,3538,3045,2644,2373,2283,2536,2171,2044,2094,2164,2802,2843,2567,2141,1794,2130,3002,3125,2909,2225,1688,1987,2237,2614,2603,2511,2470,2755,2884,2768,2908,2836,2736,2057,2159,1823,1677,1907,2017,2081,2180,2492,2505,2242,2080,1880,1841,2035,1847,1771,1835,1836,1777,1985,2179,2478,3083,3343,2502,1694,2024,2602,3328,2276,1600,2451,3295,3480,3481,3548,3297,2646,2462,2810,2981,2639,1935,1624,1703,1749,1671,1577,1426,1530,1683,1865,2416,2332,1593,1709,2202,2323,1869,2067,2167,1689,1653,1738,1702,2013,2600,2719,2912,2562,2221,2061,1934,2360,2481,2389,2193,1699,1498,1808,2203,1930,1665,1931,1993,2028,2017,2181,2157,2002,1985,1962,1776,1672,1721,2028,1963,1867,2253,2656,2495,2353,2446,2723,3165,3499,3549,3606,3617,3338,2922,2607,2447,2396,2778,3022,3421,3776,3389,2730,2348,2192,2116,2275,2328,2562,2900,2788,2707,3134,3609,3458,2989,3089,3339,3322,3720,3420,2752,2820,3821,4385,4124,3014,2318,2149,2192,2416,2293,2341,2148,1700,2385,3330,3341,3156,3193,2997,3052,3038,2410,2028,2691,2554,2656,2749,2386,2492,2922,2448,2536,2438,2283,2786,3000,3183,2899,2665,3164,3249,2976,3493,3183,3204,3394,3439,3418,3343,2764,2316,2376,2238,2237,2121,2476,2351,2499,2643,2617,2564,2558,2286,1973,2273,2671,2486,2178,2588,2343,2157,2530,2900,2466,2446,2277,2671,3220,2718,3031,3465,2946,2300,2095,1951,1927,1504,1709,2508,2337,1940,2448,3196,2761,2064,1979,2232,2233,1966,1777,1681,1389,1597,1633,1256,1550,1933,1846,2141,2980,3540,4056,4104,3750,3171,3421,3329,3274,2962,2029,1604,2191,3076,3627,3665,3786,4027,4053,2503,2009,1619,1353,1353,1575,1802,1740,1601,1611,1935,2215,1719,1597,1632,1760,1491,1465,1408,1371,1360,1447,1545,1471,1697,1731,1902,1737,1461,1383,1154,1628,1709,1518,1547,1470,1584,1654,1431,1523,1655,2067,1937,2009,2224,2201,2129,2397,2674,2622,2523,2647,3058,2935,2744,3154,3277,3582,3891,3174,3039,3475,3086,2428,2189,2394,2378,2357,2259,2273,2499,2994,2777,2055,1668,2023,2245,2257,2281,2424,2343,2424,2990,3105,3688,4041,3871,3406,2740,2279,2295,2342,2154,2212,2583,3136,3582,3725,3637,3534,3425,3153,3083,3349,3670,3715,3466,3777,3405,2888,2326,2431,3740,4328,4275,4285,4085,4112,4094,4140,4360,3945,3197,3193,3154,3123,3441,3182,2850,3084,3575,3805,3404,2963,2971,2929,3159,3877,3935,3454,2889,2770,2951,3040,2979,3111,3323,2987,2828,3009,3422,3979,4316,3752,3973,3991,3557,3425,3288,2894,2668,2877,3134,3416,3067,2407,2142,1787,1785,2674,3151,2983,2608,2198,2054,2247,3174,3684,3614,3376,3139,3299,3458,3584,3638,3515,3459,3873,4229,3823,3448,3274,3119,3007,3052,4086,4473,4444,4429,4385,3604,2895,2895,3431,4068,4309,4266,4280,4177,4184,4150,4316,4048,3964,3871,3595,3361,3526,3913,4119,4344,4440,4565,4686,4564,4459,4516,3962,3619,3571,3097,2994,2756,2085,1627,1490,1678,1819,1792,1625,1584,1749,2478,2813,2358,2045,2469,2776,2842,2347,2131,2290,3104,2964,3212,3110,2567,2343,2071,1687,1865,2232,1849,1722,1886,1880,1737,1445,1407,1527,1560,2486,3684,3861,3446,2725,2428,2520,3283,3460,2999,3013,2623,1859,1706,1688,1715,1994,2292,2166,1897,2426,1995,1813,1806,2435,2786,2729,2909,3187,3296,3098,3094,3317,2410,2364,2346,2485,2264,2006,1876,2010,2336,2355,2207,2569,2923,2398,2353,2458,2279,2099,2013,2331,2987,2697,2272,2383,2571,2454,2585,2808,3349,3211,3055,2858,2318,2267,2525,2676,2916,2461,1874,1920,1952,2584,2775,1885,2037,1661,1450,1808,1899,2031,1992,2168,2236,2031,1816,2130,2114,2965,2683,1984,1996,1986,2918,3451,3659,3946,4352,4705,4581,4176,3495,3406,3695,4061,4004,3936,3991,4037,3956,3973,4012,3658,3244,3192,3187,3106,3105,3104,3198,3255,3271,3302,3288,3309,3539,3829,3939,4071,4090,3885,3828,3722,3671,3619,3693,3875,4007,4085,4053,3996,3889,3873,4051,4217,4301,4284,4140,4432,4344,4012,3604,3592,3832,3571,3244,3154,3107,3017,3022,3038,2935,2623,2588,2863,2999,3125,3090,3251,3516,3312,3237,3296,3462,3825,3903,3861,3896,3903,3420,2611,2499,2707,2917,3254,3484,3262,2950,2168,2039,2510,2822,2410,2053,2425,2585,3465,3420,3237,2874,2894,3130,2791,1931,1715,2357,2934,2652,2103,2554,2939,2323,3069,3948,3853,3836,4011,3847,3475,3451,3669,3517,3375,3319,3310,3109,2996,2418,2618,2446,2206,2164,1831,1674,1868,2185,2380,2210,2350,2119,2177,2820,2343,2452,2403,2083,1901,1573,1615,2754,3159,3015,2602,2136,1989,2036,1848,1707,1714,2044,2427,2286,1814,1737,1631,1659,1739,1981,2473,2268,2337,2355,2209,2265,2322,2042,2131,2909,3288,3210,2880,2526,2541,2276,2187,2244,2271,2267,2337,2619,3020,3519,3538,3212,2955,3322,3308,3024,2701,2321,2208,2627,2967,2820,2789,2896,2778,2974,2925,2916,2299,1505,1811,2437,2585,2436,2557,2163,2148,3575,3604,2964,3393,3344,2566,2647,2741,2946,2968,2711,2345,2030,2626,3088,3584,3729,3120,3301,3069,2429,2412,2540,2632,2799,2687,2678,2746,2266,1902,1981,2544,2597,2805,2933,2584,2771,2989,2890,3196,3764,3747,3067,2172,2327,2496,1890,1627,2601,2780,2554,2702,2435,2289,2302,1817,1593,1938,2210,2277,2471,2765,2635,2223,2116,2017,1734,1463,1747,2324,2154,2908,2946,3040,3032,2950,3053,3144,3495,3660,3852,4095,4069,3862,3764,3698,3307,3250,3396,3672,3614,3726,3868,3893,3856,3600,3653,3944,3946,3873,3502,3796,3827,3906,3906,3973,3637,3284,3197],[3550,3744,3465,3495,3628,3375,3226,3037,2818,2568,2156,2513,2930,3284,3432,3774,3601,3182,3309,3420,3275,3117,3042,2768,2542,2689,2966,3130,3379,3515,3838,3637,3296,3409,3372,3263,3418,3451,3500,3848,2942,2180,3060,3824,3466,3007,3198,3630,3471,3748,4400,4443,4556,4448,3209,2117,1732,2279,2358,2006,1934,2046,2166,2099,2108,1984,1946,1852,2430,3583,3891,3115,2985,3606,3111,2475,2574,2818,3094,3450,3485,3184,2908,3042,3666,3947,3709,3509,3414,3540,3276,3084,3455,3732,3318,3340,3854,3970,3441,3394,3420,3037,2822,3281,3638,3532,3518,3684,3548,3221,3061,2993,2732,2802,2828,2821,2829,2803,2767,2702,2888,3555,3442,3361,3278,3184,3108,3196,3282,3165,3006,2894,2976,2862,3046,3277,3256,3130,2912,2577,2806,2937,3175,2905,2979,2988,2918,3094,2765,2409,2337,2430,2907,3354,2622,2739,3609,3706,3528,3271,3067,3124,3134,3145,3318,3593,3430,3405,3087,2686,2264,2696,2514,1824,1374,1670,1954,1703,1919,1873,1652,1935,2067,2710,2924,2285,2507,2966,3210,3069,2686,2886,3176,2730,2064,1744,2153,2907,2609,2435,3244,3444,3417,2954,1879,2048,3045,2922,3205,2910,2908,2299,2088,2448,2031,2075,2713,2513,1986,2113,2736,2336,1807,1938,1924,1858,1880,2055,2109,2030,2060,2352,2483,2344,2425,2156,2447,2739,2465,1733,1814,1759,1738,2342,2813,2568,2358,2153,1815,1637,2135,2751,2421,2072,2446,2576,2313,2072,2315,2654,2676,2491,3378,3318,1918,1677,1931,2490,2265,2049,2188,1996,2122,2382,2099,1828,1888,1842,1737,1721,2042,2221,1816,1370,1420,1814,2337,2774,2976,3008,3002,3130,3396,3693,3611,3418,3163,2656,2096,1873,1846,1986,2109,2193,2310,2722,2210,2233,2233,2197,2415,3047,3309,3167,3096,2988,2798,2340,1930,2103,2126,2188,1963,1613,1947,2781,2841,2786,2283,1719,2304,3428,3406,2905,2654,2645,2646,2678,2452,2655,2452,2598,2398,2431,2560,3127,3742,3319,3493,3483,2615,2676,2785,2535,2620,3125,2964,2335,2642,2598,2176,1854,1137,1112,1265,2256,3773,3745,2752,2343,2296,2797,3661,3187,3026,2422,2196,2156,2125,2728,2262,1505,1251,1309,1632,2014,2238,2104,1878,1988,1929,2795,3073,2734,2298,2038,2119,2280,2122,2468,3039,2850,2954,3026,3121,2741,2568,2491,2231,1866,1462,1675,1971,2055,2210,2028,2220,2170,2280,2350,2120,2649,2830,2161,2097,2434,2579,2624,2400,1636,1692,2247,2534,2544,2403,2271,2452,2328,2281,2366,2092,1837,2299,2845,2556,1506,1700,1768,1865,2375,2316,2367,2391,2829,3207,2805,2641,2546,1769,1781,2031,2182,2052,1636,1588,1991,2810,2858,2333,2006,2256,2556,2714,2535,2414,1867,1616,1740,1681,2108,2498,2400,2224,2219,2477,2927,3354,3611,3363,2883,3312,3175,3064,3726,4256,3730,3146,2853,2532,2358,2102,2663,3116,3349,3421,3207,2908,2855,2980,3160,3449,3477,3075,3018,2861,2473,2055,3293,3646,3507,3350,3604,4039,3949,3574,3528,3514,3296,2956,3707,3911,3328,2049,2171,2371,2237,2489,2692,1990,1959,2790,3188,3497,3413,4042,3978,2148,1630,1951,1835,1902,1738,1636,2162,3030,2980,3267,3746,3602,3307,3526,3208,2690,2679,2986,2994,2647,2509,2525,2932,2864,3234,3265,3299,3238,3072,2822,3472,3868,4174,4123,3935,4038,3664,3283,3196,2954,3155,3054,2666,3034,3459,3493,3361,2876,2930,3244,3720,3343,3553,3120,2409,2416,2110,2062,2396,2522,2410,2456,2499,2132,2293,2455,2537,1992,2220,2565,2989,2719,2271,1990,1996,2556,2717,2502,2366,3116,3446,2945,3525,3300,3027,3738,3770,3815,3803,4136,4433,4184,3732,3242,2855,2552,2584,3340,3195,2708,2646,2519,2399,2091,1699,2225,2655,2583,2373,2497,3689,3865,3491,2867,2638,2790,3228,2984,2578,2656,2432,2452,1980,2442,2404,2075,2470,2486,2675,3085,3309,2988,2734,2967,3132,2687,2684,2921,3104,3587,2845,2846,2611,2182,2584,3207,3430,3239,2971,3305,3307,3191,3714,3706,3166,3315,3510,3409,3247,3204,3282,3466,3614,3294,2677,2375,2275,2696,2344,2056,2144,2687,3155,3176,2931,2568,2567,2566,2639,2321,2283,1882,1969,2050,2520,2827,2785,2922,2941,2684,2739,2827,3261,3400,2765,1986,2000,1908,1964,2047,2055,2017,2136,2243,2088,1891,1609,1696,2320,2284,1808,1676,1625,1675,1830,2222,2305,2266,2547,3022,2484,1637,1715,2370,3341,2654,1655,2170,3210,3554,3529,3582,3469,2836,2481,2604,2862,2765,2251,1848,1918,1904,1858,1942,1768,1603,1696,1880,1861,1846,1644,1483,1809,1689,1559,1981,1886,1348,1492,1683,1720,1852,1981,2076,2414,2357,2348,2264,1887,2131,2419,2248,2298,1979,1915,1743,1782,1813,1767,1775,1814,1981,1959,1815,1666,1795,2248,2110,1787,1817,1771,1878,1690,2162,2661,2907,2718,2464,2852,3273,3411,3603,3626,3605,3736,3588,3215,2635,2363,2322,2680,3308,3405,3298,3471,2996,2382,2354,2129,2174,2300,2154,2636,2995,2756,2899,3243,3464,3459,3437,3670,3385,3150,3209,3270,3218,3525,3933,3472,2568,2093,2045,2338,2645,2554,2128,1860,1454,2593,3398,2761,2567,2939,3012,2990,2800,1943,2470,3397,3294,3188,3275,2753,2937,2738,2225,2386,2952,3728,3637,3373,3012,2580,2910,3247,3398,3482,3757,3492,3162,3032,3029,3210,3366,2724,2110,2214,2526,2344,2476,2440,2114,2934,3010,2291,2097,1932,1737,1810,1788,1880,2714,2552,2688,2679,2519,2154,2410,2397,2398,2350,2403,2644,2791,3315,3740,3241,2165,2212,2065,2126,1793,1954,2120,2002,2065,2722,3232,2967,2220,1998,2487,2038,1821,1774,1789,1676,1571,1564,1677,2002,2106,1909,1929,2578,3519,4133,3573,3263,3387,3460,3405,3319,2634,1843,1742,2505,2969,3451,3072,2856,2675,2713,2167,1976,1628,1456,1482,1798,2466,2521,2420,2572,2765,2953,2770,2215,1692,1579,1557,1456,1375,1478,1510,1423,1523,1485,1474,1355,1591,1753,1615,1323,1277,1711,1676,1402,1479,1448,1437,1473,1495,1425,1506,1851,1585,1509,1625,1692,1711,1695,1595,1489,1558,1609,2098,2081,1939,1840,2112,3038,3343,2839,3608,4284,3741,3031,2931,2910,2401,2176,2004,2155,2679,2742,2702,2454,2313,2332,2093,2078,1867,1905,2396,2880,3017,2996,3414,3591,3709,3683,3256,2924,3050,2886,2566,2898,3322,3582,3894,3840,3486,3697,3972,3958,3588,3163,3528,3474,2698,2906,2609,2551,2233,3092,4204,4395,4499,4419,4252,4268,4152,4112,4029,3605,3248,2971,2583,2611,3106,3044,2824,2894,2968,3155,3194,3232,3396,3396,3516,4112,3980,3250,2768,2875,2953,2931,3098,3233,3064,2503,2525,2940,3348,3980,3838,3791,4200,4011,3807,3961,3881,3520,2679,2573,3231,3354,3591,3418,3021,2583,2072,2072,2464,2732,2491,1967,1902,2137,3252,3957,4008,3908,3308,3372,3567,3672,3776,3835,3726,3788,4180,3838,3522,3235,2908,2777,2934,3499,3926,3710,3288,3256,3240,3183,3415,3514,3805,4216,4352,4188,3860,3575,3657,4211,4456,4208,3957,3625,3388,3552,3915,4300,4341,4440,4673,4685,4468,4255,4124,3862,3525,3283,3085,2859,2104,1649,1485,1583,1647,1628,1722,1803,1606,1695,2420,2742,2364,2243,2829,2964,2736,2391,2189,2098,2545,2829,3273,3362,2720,2099,2269,2127,1727,2104,2002,1964,2040,1880,1583,1581,1710,1883,1775,2185,3040,3454,2895,2498,2580,2622,3440,3548,3302,3514,2923,1756,1589,1578,1733,1932,2219,2331,1904,2069,2093,2254,2090,2219,2752,3059,3207,2994,2815,2573,2896,3059,2548,2765,2404,2253,2344,2283,2044,2056,2188,2220,2214,2515,2843,2692,2192,1994,2157,2158,2170,2351,2696,2641,2171,2337,2520,2485,2599,2655,2736,2779,3248,3205,2574,2519,2730,3028,2983,2707,2488,2155,1907,3012,2710,2050,2070,1741,1723,2119,2238,2123,1917,2157,2105,2323,1798,2169,2257,2592,2456,2289,1938,2327,2919,3093,3669,3739,3883,3848,3961,3557,3317,3761,4139,4227,4080,3861,3879,3879,3901,3974,3927,3506,3187,3170,3282,3289,3140,3051,3207,3398,3426,3431,3459,3396,3516,3849,4046,4121,4002,3885,3812,3669,3614,3680,3884,4046,4119,4195,4054,3979,4014,3984,4116,4060,4240,4107,3891,4196,4420,3912,3577,3746,3962,3787,3404,3254,3054,2822,2734,2775,2765,2698,2856,2928,3020,3046,2973,3256,3635,3397,3564,3520,3565,3956,4176,3883,3459,3142,2761,2519,2994,3620,3748,3599,3232,2666,2540,2331,2395,2914,3276,3006,2490,2776,2406,3031,3749,4011,3493,3302,3421,2610,1804,1807,2103,2822,2954,2145,2076,2928,2147,2690,3695,3857,3961,4143,4050,3783,3519,3687,3307,3133,3078,2998,2885,2731,2242,2553,2551,2490,2328,1844,1845,1824,2003,1948,1851,1948,2036,2054,2344,2138,2050,2069,2001,2017,1866,1946,2734,3384,2866,2523,2697,3086,3064,2518,1781,1471,1968,2568,2400,2045,1771,1709,1893,2195,2427,2475,1970,1890,2065,2046,2148,2106,1968,2553,3250,3256,3218,2835,2545,2255,2112,2163,2111,2186,2110,2248,2275,1902,2612,3138,3122,2509,2360,2437,2364,2288,2380,2631,2741,2736,2720,2812,2708,2401,2586,2290,1902,1598,1462,1516,1798,2292,2479,2674,2596,2446,2882,2510,2711,2622,2687,2868,3238,3154,3391,3506,2792,2692,2062,2406,2722,3422,3792,2657,3041,3498,3088,2899,2636,2229,2223,2424,2575,2473,1998,2159,2329,2878,2819,2776,2942,2765,2912,3260,2974,2940,3250,2935,2630,2236,2300,2709,2258,1745,2341,2686,2920,2542,2054,2201,2344,2068,1619,1801,2106,2209,2187,2277,2032,1733,1802,1918,1721,1628,1977,2486,1781,1784,2050,2924,2999,2948,3105,3058,3208,3492,3501,3619,3957,3491,3528,3320,3252,3552,3564,3666,3736,3692,3908,4224,4248,3714,3890,4165,3962,3838,3488,3704,3772,3742,3648,3653,3545,3329,3107],[2928,3240,3375,3423,3467,3544,3183,2692,3007,2965,2736,3105,3231,3152,3082,3273,3240,3021,2806,2789,3095,3085,2565,2356,2836,2953,3499,3728,3566,3629,3771,3716,3609,3348,3132,3212,3354,3588,3868,4035,3607,3242,3874,4144,3694,3379,3307,3442,3449,4002,4620,4640,4492,4676,3636,2552,2025,2276,2599,2334,1854,1810,2119,2560,2413,2011,2104,1908,2608,3848,3467,2291,2337,3310,3298,2419,2719,2989,2858,3011,3361,3311,3223,3472,3840,3688,3210,3180,3256,3311,3217,3370,3417,3505,3385,3293,3225,3661,3610,3255,3012,3076,3491,3774,3739,3194,3382,3617,3344,3373,3362,3262,3067,2994,2762,2930,3040,2780,2454,2490,2728,3318,3230,3185,2911,2664,2447,2828,3190,3206,2921,2737,2897,2465,3082,3045,3097,3008,2732,2641,2744,2956,3002,3063,3203,2879,2753,2733,2285,1877,1856,1990,2189,2668,2486,3205,3962,3931,3764,3539,3393,3619,3387,2827,3083,3769,3750,3812,3987,3785,3619,3264,2712,2532,2199,1953,2035,1932,2080,2107,1711,2083,1931,2964,3902,3370,2487,2640,3334,3278,2754,3009,3106,2995,2866,2829,3056,3500,3361,3187,3373,3658,3764,3569,2585,2366,3042,2473,2469,2585,2336,2146,2323,2280,1295,1503,1914,1868,2238,2028,2321,2446,2075,1595,1779,1781,1648,1634,1837,2059,2260,2204,2428,2398,2078,2504,2978,2979,2232,1854,1980,1938,1814,2139,2520,2540,2743,2373,1546,1622,1990,1989,1791,1982,2445,2348,1786,2109,2679,2919,3175,2483,3054,2939,1734,1557,2191,2806,2271,2046,2428,2132,1896,1972,1954,2025,2368,2545,2742,2764,2678,2281,1957,1913,2164,2684,3034,2946,2862,2821,2847,3103,3372,3560,3332,2961,2930,3221,2750,1675,1302,1774,2150,2208,2316,2700,2492,2546,2741,2284,1991,2537,2770,2496,2645,2761,3112,3084,2986,2810,2703,2288,1892,1807,2008,2499,2500,2139,1802,1280,1741,2503,2711,2353,2584,2586,2171,2544,2819,2651,2639,2297,1736,1886,2125,3074,3257,2909,2830,2438,2234,2252,2061,1975,2004,2186,1796,1949,2049,2247,2306,1754,1003,839,1014,2308,3987,3975,2747,2246,2425,3060,3647,3318,2663,2247,2213,2046,1801,1845,1896,1827,1311,1259,1865,2886,3179,2542,2156,2204,2039,2159,1847,1753,1852,1746,1710,1542,1729,2112,2853,3123,2869,2872,2965,2709,2866,2701,2053,1510,1254,1585,1980,2291,2351,2383,2476,1966,1937,2153,2089,2358,2655,2430,2078,2428,3020,2476,2355,1880,2089,2200,2077,2146,2294,2608,2847,2302,2018,2216,2173,2003,2202,2405,2093,2046,2475,2533,2179,1990,2059,2341,2675,2685,2706,2468,2898,3198,2286,2078,2138,2204,2115,1680,1776,2807,3351,3222,3061,2517,2305,2143,2191,2493,2635,2008,1652,1744,1782,1985,2349,2456,2313,2078,2492,3138,3255,3024,3232,2801,2861,2949,2802,3486,4349,4137,3356,2941,2523,2130,2040,3023,3637,3532,3318,3251,3019,2823,2908,3083,3284,3540,3473,3204,3062,3708,3187,3384,3453,3143,2945,3447,3955,3468,3194,3794,3730,3056,3210,3837,4062,3104,2019,2952,3601,3093,2729,2341,2193,2536,2835,3216,3398,3481,3739,3506,2018,2021,2323,1721,1689,1764,1739,2448,3146,3117,3414,3589,3411,2951,2999,2786,2332,2508,2861,2721,2502,2687,3087,3211,2955,3172,3263,3228,3310,2745,3240,3648,3212,4049,4154,4033,4058,3382,3293,3380,3416,2827,2613,2805,3096,3354,3373,3517,2808,3155,3517,4017,3552,3154,2619,2391,2404,2281,2327,2290,2358,2715,2253,2455,2383,2164,2169,1889,1904,2647,3317,3396,3628,3542,2580,2473,2934,2966,2885,2513,2522,2607,2002,3081,3300,2639,3098,4100,4739,4464,3870,3396,3016,2827,2865,2891,2933,2707,3094,3139,2676,2343,2495,2345,1611,1810,2502,2840,3020,2745,2318,3123,3372,2970,2811,2780,2968,3100,2800,2666,2103,2162,2818,2754,2587,2199,1974,1813,1970,2147,2590,3455,3327,2630,2709,2648,2519,2603,3098,3598,4078,3884,3264,2410,2029,2077,2358,2917,3316,3138,3020,2905,3057,3215,3232,3413,3655,3846,3804,3444,3078,2857,2941,3113,2842,2196,1995,1952,2269,2280,2232,2200,2575,3248,3715,3485,2802,2490,2207,1900,2137,2197,2082,1961,2093,2480,2492,2591,3001,3210,3082,3306,3372,3854,3769,2446,1931,2030,1892,1666,1803,2099,2233,2531,2501,2186,1833,2075,2398,2750,2666,2583,2577,2729,2984,2812,2913,2630,2470,2390,2812,2616,1618,1601,2161,3101,3052,1903,1894,3032,3603,3724,3783,3827,3161,2640,2373,2729,3061,2532,1851,1957,2122,1979,1914,1742,1640,1581,1605,1441,1529,1578,1693,1673,1599,1516,1498,1561,1606,1993,1612,1571,1345,1314,1837,2358,2454,2191,1893,1860,2064,2207,1977,1657,1560,2090,1852,1691,1766,1766,1597,1554,1869,2018,1764,1587,1924,2323,1875,1929,1937,1929,1995,1924,2166,2302,2394,2470,2635,2947,3178,3129,3501,3576,3409,3493,3527,3293,2820,2381,2420,2651,3292,3205,3072,3310,3283,2680,2562,2382,2415,2197,2119,2824,2993,2762,2844,2642,3287,3316,3423,3898,3852,3290,2919,2845,3046,3206,3354,3167,3057,2955,3208,2451,2454,2379,1941,2076,2072,3060,3559,3221,3133,3133,2919,3160,2756,2303,3586,3752,2917,2971,3536,3595,3233,2632,2105,1884,2464,3155,2861,3618,2721,2485,2986,3211,3002,3312,3584,3145,2633,2472,2586,3154,3240,2678,2445,2323,2396,2281,2779,2631,2766,3521,2972,2044,1977,1920,1692,1833,1853,2275,3122,2946,2664,2543,2273,2037,2160,2135,2299,2407,2856,2458,2271,2643,2823,2640,2177,2237,2322,2046,1721,1750,1915,2138,1884,2289,2406,2310,1855,1794,1814,1741,1855,1919,2025,1986,1857,1975,1984,1951,2050,1938,1876,2407,2986,3063,2566,2919,3439,3040,2844,2690,2151,1805,1781,2591,2941,3088,3146,2841,2460,2115,2040,2189,1796,1754,1948,2201,2731,2941,3105,2957,3044,3176,2965,2350,2053,2025,1855,1673,1619,1786,1857,1561,1512,1479,1387,1501,1522,1544,1641,1518,1644,1853,1555,1628,2226,1771,1444,1620,1866,1540,1442,1704,1578,1532,1794,1773,1564,1508,1394,1431,1441,1608,2131,1979,1571,1599,1584,1908,2316,3208,4320,4155,3684,3132,3263,3551,3378,2767,2283,2599,3326,3250,3172,3328,3153,2360,2302,2462,2120,2211,2978,3295,3342,3320,3075,2995,3369,3571,3393,3706,4220,3858,3617,3777,3741,3437,3378,3640,4096,4353,4236,3771,3411,3204,3417,3321,2750,2704,2630,2652,2362,2943,3890,4207,4175,4175,4163,4116,4005,4219,4270,3550,2735,2480,2228,2666,3344,3304,3394,3343,3175,3225,3292,3455,3298,3543,3746,3803,3497,2965,2818,2938,3132,3287,3475,3420,3134,2834,2746,3031,3379,3883,3732,3627,4078,4320,4200,4400,4434,4273,3172,2683,3264,3606,3629,3505,3059,3021,2913,2339,2047,2275,2124,1860,2125,2908,3798,4272,4207,4239,4149,3873,3422,3193,3566,3753,3739,3857,4247,3791,3441,3217,2711,2606,2957,3275,3307,3185,3104,3227,3431,4046,4172,3731,3934,4014,4059,3627,3415,3495,3584,3747,4064,4646,4464,3867,3504,3821,3974,4240,4080,4356,4689,4622,4303,3663,3467,3849,3545,3261,3518,3777,3400,2448,1964,1822,1576,1502,1660,1831,1873,1937,1912,1887,1775,1769,2357,2530,2200,1970,2095,2192,2193,2643,3233,2890,2118,2392,2080,1898,2320,2572,2113,2106,2163,1881,1932,2026,1782,2039,2337,2188,2337,2469,2267,2690,3286,3177,3190,3001,2609,2779,2944,2004,2226,2061,1918,2050,2198,2419,2316,2297,2443,2279,2059,2122,2555,2765,3230,2096,2395,2751,3527,3440,2659,2363,2196,2134,2342,2141,1980,2077,1807,2168,2254,2590,3453,3493,2485,1747,1941,2115,2001,1960,2299,2398,2230,2350,2523,2445,2673,2416,2023,2265,3274,3097,2388,2540,2808,2257,2136,2487,2380,2087,2080,2501,2402,2314,2010,1520,1483,1567,1655,1747,1851,2288,2220,2122,1985,2370,2592,2996,3197,2802,2392,2746,2666,3076,3684,3774,3974,3545,3673,3615,3374,3636,4078,4184,3986,3807,3673,3627,3891,4046,3990,3455,3209,3231,3194,3288,3266,3231,3348,3378,3363,3487,3399,3308,3440,3664,3970,4148,3938,3846,3752,3534,3587,3817,3877,4020,4136,4245,4014,3873,3868,3802,3846,3875,4025,3925,3748,3881,4034,3745,3710,3687,3839,3830,3482,3219,3006,2794,2769,2917,3009,2957,2932,2882,2987,2929,2993,3455,3683,3509,3561,3729,3817,3925,4128,3608,3133,2727,2523,2540,2751,2994,2902,2866,2868,2499,2329,2346,2345,2176,2247,2590,2331,2801,2730,3217,3997,4290,3521,2817,2845,2491,2517,2585,2341,2932,3061,2281,2047,3224,2717,2330,3295,3974,4040,4228,3918,3846,3570,3416,3119,3377,2951,2524,2677,2144,2075,2779,2972,2812,1996,1941,1800,1642,1594,1637,2145,2221,2230,2195,1868,1890,2148,2310,2275,2235,2148,2252,2066,2565,2713,2833,2757,2632,3089,2853,2237,2059,3040,2979,2194,1861,1860,1898,2180,2419,2164,1949,1772,1889,2451,2676,2464,2087,2169,2924,3249,3119,2903,2431,2309,2235,2349,2415,2133,2189,2207,2361,2203,2014,2110,2111,2232,1948,1808,1893,1867,1991,2178,2227,2535,2668,2734,2745,2618,2401,2291,2112,2264,2534,2547,2382,2505,2708,2464,2733,2537,2083,2037,2306,2784,2095,1774,2558,3091,2990,3139,3074,2385,2678,2136,2102,2955,3563,3761,2874,2523,3209,3306,2635,2650,2316,2350,2265,2350,2542,2869,2566,2303,2803,2797,2739,2834,2654,2822,3266,2885,2348,1973,2080,2409,2060,1886,2692,2553,1968,2084,2791,3266,2289,1760,2099,2430,2040,1726,2035,2233,2179,2135,2109,1996,1736,1705,1837,1862,1741,1635,1744,1967,1909,1825,2447,2865,2643,2586,2751,3008,3199,3067,3360,3683,2857,2615,2752,3452,3970,3752,3827,3872,3574,3748,4107,4287,4037,3955,4140,4003,3877,3485,3298,3505,3649,3593,3520,3360,3326,3331],[2784,2696,2873,3066,3266,3544,3260,2647,2542,2831,2821,3256,3483,3134,3169,3034,2889,2801,2852,2829,3182,3002,2307,2381,3066,3419,3596,3476,3325,3347,3350,3311,3713,3714,3459,3451,3387,3607,4058,4271,4414,4427,4379,4155,4343,4444,3630,3115,3165,3526,4300,4517,4364,4652,4052,2894,2298,2510,2739,2646,2035,2370,2044,2734,2990,2459,2241,2286,3064,3962,3640,2697,2371,3207,3238,2473,2765,2658,2686,2813,3264,3120,2798,3252,3736,3404,3199,3007,2864,3044,3404,3481,3533,3572,3580,3350,3441,3640,3375,3172,3308,3598,4504,4039,3738,3444,3574,3482,3415,3276,3272,3300,3044,2719,2946,3078,2962,2735,2630,2546,2906,3201,3220,3297,3057,2445,2302,2302,1980,1891,2588,2774,1923,2110,3098,3313,3328,3338,2908,2805,2955,3017,3021,2727,2880,2841,2746,2818,2640,2279,2025,1948,2148,2294,2554,3366,3648,3741,3682,3604,3120,3275,3125,2467,2932,3539,3544,3543,3750,4117,4157,3615,2760,2929,2274,1809,2039,1907,2324,2578,2098,1793,2098,3170,3834,3500,2852,2776,2919,2863,2662,2841,2912,2907,2962,3042,3077,3372,3626,3123,2666,2941,3110,3364,2759,2177,2231,1912,2136,2131,2035,2052,2381,1691,1050,1557,1492,2004,2734,2430,2767,3672,2863,1672,1702,1767,1667,1732,2193,1881,1965,1882,1892,2149,2154,2536,2785,2648,2122,1732,1831,2223,2078,1841,2301,2941,3313,2658,1544,1454,1690,1516,1528,1848,2001,1880,1713,2215,2520,2908,2888,2363,3030,2708,1686,1712,2420,2955,2754,2688,2684,2026,1660,1786,1911,2088,2321,2061,2258,2412,2409,2329,2454,2565,2578,2579,2963,2968,2821,2838,2899,2979,3220,3286,2944,2468,2617,3223,2785,1885,1678,1969,2272,2198,2370,2634,2664,2766,2688,2449,2454,2625,2630,2282,2454,2496,3714,4028,3782,3448,3115,2483,1834,1810,2398,2718,2404,2600,2625,2125,2556,2703,2762,2770,2636,2309,2587,2876,2824,2677,2724,2600,1810,1505,1850,2610,2736,2429,2608,2526,1883,1488,1675,2024,2266,2321,1871,2005,2348,2547,2112,1889,1923,1788,1820,2618,3431,3400,2577,2282,2420,2867,2683,3006,2698,2332,2122,1629,1598,1986,2340,2070,1301,1356,2746,3759,3517,2538,2612,2811,2322,1772,1581,1774,1806,1679,1788,1878,1999,2030,2149,2309,2460,2503,2604,2600,2586,2532,2249,1730,1524,1669,2289,2409,1981,2144,2088,1686,1766,1718,1772,2332,2764,2526,2248,2119,3277,3163,2774,2395,2432,2105,1964,2055,2009,2512,2980,2134,1921,2086,2162,1721,2089,2165,2023,2387,2214,2080,2160,1951,1969,2554,3081,2586,2169,2304,3022,3727,2839,2373,2424,2440,2286,1907,2177,3054,3239,2987,2752,2283,2265,2144,1854,2211,2210,1781,1670,1681,1659,1901,2335,2370,1810,1477,2302,3257,3404,3150,2994,2814,2924,2874,2971,3676,4207,3879,3706,3717,3350,2596,2076,2595,3215,3253,3231,3374,3218,3055,3274,3432,2954,3386,3477,3109,3394,3178,2762,3219,3262,3307,3924,4071,3798,2820,2835,3895,3685,3239,3959,4517,4512,2944,1979,3566,4775,4027,3362,2435,1992,2315,2379,3082,3270,3661,4188,3488,2134,2332,2288,1942,1924,2334,2007,2776,3263,3039,2718,2776,2723,2553,2824,2935,2646,2738,2971,3164,3110,3307,3484,3243,3008,3398,3454,3312,2855,2711,3872,4025,4051,4255,4300,4433,4012,3768,3420,3558,3582,2691,2543,2896,3028,2851,2852,3171,2642,3095,3544,3731,3149,2433,2625,2916,2596,2349,2825,2708,2132,2523,2624,2586,2375,2677,2533,2182,2025,2707,3272,3059,3639,3522,2897,3542,3454,3282,3453,2551,1853,2030,1830,2588,2997,2843,3294,3628,3720,3256,2900,2836,2847,2780,2720,2713,2928,2773,2721,3537,3740,2791,2574,2708,1883,2280,2673,3033,3264,2910,2368,2599,2865,2787,2702,2630,2746,2744,3045,3238,2106,2504,3118,2850,2866,2908,2426,2189,2693,2436,2231,2980,2908,2550,2573,2480,2577,2657,3096,3741,4002,3884,3038,2588,2368,2189,2275,2616,3286,3437,3143,2830,3020,3498,3555,2972,2810,2877,2526,2111,1784,1730,2060,2250,1856,1839,2038,2026,2001,2011,2177,2431,2336,2402,2884,2840,2546,2470,2133,1863,2286,1992,1632,1867,2039,2001,2009,2586,2864,2753,3053,3554,3782,4187,3381,2071,1942,2007,1897,1906,2842,3060,2875,3182,2938,2341,2195,2722,2910,2971,3009,3042,3174,2983,3124,2863,3234,3166,2620,2552,2784,2713,1785,1441,1974,2757,3254,2134,1734,2946,3835,3949,3874,3639,2900,2312,2222,2713,3157,2728,1871,1781,1824,1849,1982,1855,1760,1719,1706,1857,1929,1866,1666,1526,1600,1565,1655,1679,1681,1803,1604,1577,1592,1894,2127,2180,2115,1994,2183,2170,1790,1789,1777,1565,1604,2098,1926,1627,1643,1530,1521,1444,1829,2153,2121,1917,1963,2204,1929,1910,1843,2271,2675,2488,1963,2045,2855,2967,2685,2613,3220,3241,3540,3540,3215,3420,3554,3096,2795,2853,2952,2957,3340,3123,3141,3287,3472,3096,2657,2802,2728,2196,2498,3163,2946,3095,2880,2910,3286,3083,3250,3795,3915,3627,2692,2432,3188,3213,3174,2917,2979,3266,3398,2647,2684,2330,2092,2468,2792,3317,3639,3624,3487,3375,2972,3338,3120,3458,4017,3596,2702,2838,3525,3576,3017,2380,1999,1997,2916,3529,3106,3423,3326,3209,3261,3248,3067,3238,3652,3251,2482,2588,2832,3485,3482,2734,2984,3226,3162,3399,3294,2878,3119,2932,2500,2057,2524,2707,2036,2200,2037,2529,3372,3187,2382,1908,1808,2019,2088,2187,2714,3020,3582,2609,2465,2852,2954,2618,2087,1779,1867,1992,2144,2054,2442,2020,1482,2050,2171,1937,1724,1736,1931,1885,1950,2267,2514,2684,2644,2319,2504,2459,2166,2216,1936,1910,1669,1551,1686,1993,1915,1627,2171,2344,1765,2131,2056,2316,2951,3124,3038,2835,2433,2141,2546,2972,2284,2017,1693,1982,2580,2435,2268,2513,2949,2757,2414,2539,2919,2878,2076,1735,2056,2364,2445,1869,1700,1895,1810,1876,1957,2249,2474,2017,2100,2228,1629,2003,2910,2300,1882,1908,1852,1558,1494,1572,1672,1779,1955,1561,1660,1771,1540,1590,1719,1743,1772,1519,1404,1478,1577,1670,1813,2735,3990,4049,3670,2833,3162,3330,3129,3019,2407,2699,3746,3873,3432,3553,3562,3006,2706,2342,2654,3230,3340,3039,2967,3195,3278,3145,3439,3945,4080,3901,3739,3278,3065,3400,3544,3472,3808,4401,4244,3928,3594,2694,2433,2902,3160,3296,3116,3074,2988,2903,2680,2540,3228,4033,3934,4069,4024,3947,3926,4139,4313,3803,3413,3154,2504,2626,3397,3483,3584,3472,3365,3263,3322,3439,3586,3914,3915,3971,3960,3563,3195,3016,3196,3359,3209,3449,3653,3321,3042,3059,3259,3703,3942,3673,3871,4412,4400,4342,4548,4316,3536,2997,3598,3594,3415,3651,3231,3251,3146,3152,2820,2426,2418,2265,2418,3177,3936,4319,4327,4266,4328,4165,3204,2930,3440,3610,3724,4011,4324,3857,3371,3186,2922,2783,3006,3449,3398,3557,3868,4047,3493,4132,4353,3827,4128,4092,4080,3935,3284,3602,4156,4299,4457,4572,4200,3616,3448,3564,3652,3652,3706,4221,4644,4597,4440,3916,3752,3541,3540,3610,4048,4301,4016,3544,2817,1882,1608,1594,1606,1730,2021,1937,1448,1626,1650,1504,2266,2976,2508,1874,2026,2399,2647,3194,3408,2595,2192,2398,2044,1796,3042,3032,2441,2552,2280,1843,2209,2583,2060,1929,2443,2365,2362,2409,2292,2620,2801,2749,3066,3111,3168,3278,3392,2561,2696,2554,2212,2306,2164,2141,2198,2454,3088,2670,2021,2071,2374,2330,3309,2933,3296,3576,3486,3303,2715,2440,2489,1973,2192,1842,1944,2058,1966,2197,2580,3246,3861,3791,2809,1975,2320,2410,2054,1715,1913,2031,2287,2298,2361,2287,2562,2455,2038,2323,2599,2078,1939,1775,1829,1941,2117,2356,2252,2235,2382,2230,2482,2609,2082,1625,1751,1917,1974,1745,1996,2105,2283,2118,1980,1909,2220,3136,3431,2461,1760,2179,2348,2719,3160,3363,3748,4002,4038,3714,3407,3685,4296,4395,4151,3907,3648,3496,3698,3974,4108,3615,3328,3334,3334,3296,3305,3283,3406,3349,3295,3481,3360,3347,3623,3726,3941,4188,4024,3686,3535,3435,3710,3950,3710,3817,3937,3958,3967,3894,3769,3820,3806,3801,3924,3660,3639,3688,3638,3659,3557,3846,3904,3928,3802,3265,3041,2993,2976,3002,3117,2987,2928,2908,2908,3049,3186,3444,3508,3447,3444,3406,3395,3734,4140,3905,3526,3063,2766,2754,2769,3020,3075,2997,2800,2396,1982,2330,2469,2105,2150,2316,2166,2420,2536,3090,3658,3616,3251,2987,2951,3416,3554,3564,3071,3357,3095,1939,1531,3029,3646,2676,3071,3787,3673,3635,3920,3773,3253,2901,2678,2602,2252,2048,2008,2148,2980,3352,3627,3066,2179,2089,1923,2072,2317,2048,2303,2640,2542,2339,2220,2103,2281,2081,2114,2025,2092,2630,2795,2823,2686,2989,3266,2967,2863,2532,2267,3153,4303,3838,3146,2754,2196,1664,2131,2335,1882,2048,2023,1749,2000,2609,2688,2253,2531,3128,3131,2874,2587,2290,2131,2350,2658,1901,1732,2279,2040,2053,2004,2119,2212,2185,2326,2358,2203,2141,2056,1933,1808,1681,2278,2770,3190,2874,2520,2773,3012,3039,3436,3550,3232,2883,2751,2599,2502,2518,2119,2147,2376,2620,2742,2074,1848,2303,2262,1990,2054,2216,2188,2625,2700,2680,3134,3466,3408,2644,2135,2922,3304,2545,2578,2415,2952,3451,3177,3244,3781,3286,2863,2857,2353,2100,2193,2226,2417,2886,2635,2203,1842,2212,2773,2333,2042,2214,2454,2380,2042,2363,2736,2175,1918,2476,2578,2045,2042,2301,2064,1769,1976,2166,2049,1998,1770,1630,1654,1690,1596,1950,2285,2420,2629,2729,3007,2551,1931,2732,2963,2675,2988,3152,3470,2779,2183,2315,3002,3561,3594,3449,3631,3594,3661,3951,4129,3966,3695,3934,3906,3491,3182,3060,3229,3495,3621,3595,3312,3262,3322],[2754,2601,2526,2467,2687,2871,2908,2805,2753,2880,2709,2861,2950,2895,2942,2806,2877,2975,3188,3255,3287,3153,2731,2212,2421,3005,3274,2937,2889,3228,3405,3337,3761,3867,3787,3697,3608,3786,4229,4417,4376,4716,4679,4598,4756,4810,3386,2755,2705,3008,3905,4015,3780,3939,3637,2717,2202,2475,2397,2437,1990,2042,2163,2747,2688,2336,2487,2733,3725,4128,3660,2818,2461,3430,3378,2843,2865,2903,2511,2457,3288,3359,3273,3239,3286,3330,3504,2800,3219,3255,3252,3190,3328,3695,3815,3740,3737,3461,2833,3111,3809,3868,3913,3658,3454,3206,3113,2905,3097,3509,3386,3071,2831,2612,3024,3169,2867,2724,2899,2512,2819,3190,3208,3242,2931,2524,2644,2434,2480,1872,1542,2217,2322,2492,2914,3354,3473,3496,3129,2833,2931,3117,3264,3235,3282,3287,3110,3166,3008,2554,2218,2050,2126,2421,2952,3388,3321,3177,3275,3438,3068,2739,2675,2403,2499,2916,3406,3325,3381,3528,3725,3720,3188,2968,2403,2670,2577,2192,2680,3017,2729,2482,2608,3131,3372,3396,3342,3308,2978,2645,2414,2348,2620,2912,3051,3110,3171,3231,2907,2497,2616,2900,3354,3522,3120,2358,2086,1891,1809,1993,2193,2262,2512,1505,1250,1414,1704,2323,2455,2575,3209,3729,2829,1792,1591,1616,1585,1815,2030,1824,1743,1609,1881,2077,2180,2249,2127,2222,2165,2200,1904,2203,2321,2227,2798,3406,3605,2414,1359,1641,2084,1927,2053,2142,1589,1321,1544,1993,2273,2988,2712,2368,3135,2775,2025,2438,2849,3241,3357,3220,2688,2004,2010,1955,1756,2013,2320,2455,2120,1837,2249,2097,2390,2534,2763,2609,2364,2569,2986,3137,3223,3011,3019,3239,3306,3160,3237,3084,2669,2098,1883,2144,2329,2385,2402,2053,1884,2165,2237,2156,2169,2143,2544,2207,2155,2480,3758,3771,3291,3755,3807,2817,2463,2933,2880,2552,2887,3031,3021,2906,2941,2690,2528,2480,2027,2404,3002,2432,1948,2396,2386,2279,1713,1468,1558,1935,2271,2343,2701,2752,2041,1519,1716,2121,2210,2277,2026,1908,1877,1923,1999,2253,2547,2186,1924,1989,2136,2532,2209,1784,2117,2689,2657,2683,2199,2001,1951,2037,2457,2424,1761,1831,2068,2189,3270,3543,3459,3324,3124,2866,2155,1668,1674,2040,1928,1942,1968,2042,2014,2196,2076,2219,2413,2041,1935,2279,2375,2521,2568,2279,2171,2269,2808,2151,1790,2062,1894,1705,1754,1587,1871,2491,2641,2489,2404,1813,2753,3258,3127,2761,2375,2294,2050,2049,2585,2906,2712,2142,2100,2283,1843,1690,1976,2140,2459,2396,2308,2375,1908,1531,1642,1713,2198,2382,2370,2465,2750,3480,3331,2655,2347,2111,2058,2319,2297,2499,2543,2284,2056,2215,2535,2184,2204,2455,1976,1608,1729,1916,1786,2004,1947,1813,1693,1965,2796,3610,3658,3364,3307,3543,3550,3595,4145,4401,4360,4046,4021,4189,3892,2914,2123,2239,2788,3084,3554,3893,3428,3220,3637,3675,3460,3278,3061,2744,2764,2895,3086,3316,3354,3441,3978,3886,3265,2320,2278,2889,2850,3452,4516,4632,3953,2879,2360,3641,4412,3846,2938,2147,2166,2141,2154,2495,2727,3393,4224,3547,1963,2645,2626,2545,2447,2312,2166,2575,3016,2931,2442,2264,2225,2263,2548,2774,2852,2900,3142,3207,3052,3105,3310,3291,3386,3540,3294,3096,2684,3383,4245,4388,4360,4376,4445,4125,3841,3511,3330,3770,3319,2938,3916,4046,3726,2799,2518,2813,2720,2929,3189,2984,2521,2707,3095,3078,2898,2466,2766,3056,2331,2405,2601,2613,2644,2945,2886,2059,1783,2557,2888,3146,3138,2878,3093,3276,3366,3666,3742,2726,1993,2338,2851,2918,2784,2745,2823,2764,2803,2899,2856,2558,2482,2475,2429,2601,2832,2601,2428,3185,2706,1913,1864,2567,2279,2610,2964,3489,3444,2911,2563,2428,2530,2620,2437,2441,2387,2731,3276,2937,2707,2700,2986,3627,3731,3373,2696,2843,3188,3150,2454,2689,3025,2783,2713,2817,3050,2987,3321,3354,3433,3473,2801,2656,2730,2595,2407,2345,2861,3073,2989,3019,3022,3292,3460,2795,2113,1851,1569,1555,1588,1672,1922,2039,2054,2241,2324,2212,2227,2236,2258,2100,1783,2007,2066,1944,2301,2346,2183,2124,2219,2173,1961,2115,2074,1839,2079,2089,2177,2246,2410,2693,2700,2927,2562,1911,1891,2025,1994,2189,3310,3520,3440,3642,3269,2509,2165,2585,2980,2965,3128,2951,3179,2918,3106,2916,3328,3213,2563,2655,2928,2754,2013,1385,1936,2419,3178,2263,1689,2654,3310,3062,2626,2325,2159,2375,2603,2653,2998,2830,2222,2046,2114,2198,2245,2029,1821,1735,1683,1675,1617,1503,1466,1494,1676,1651,1765,1729,1770,1759,1712,1826,2044,1889,1633,1861,2115,1874,1838,1816,1613,1817,1710,1683,2034,2220,1755,1558,1828,1520,1499,1404,1861,2233,2054,1800,1761,1786,1875,1937,1871,1875,2123,2464,2160,2012,2402,2339,2687,3228,3641,3869,3748,3306,2978,2928,3082,2799,2939,3294,3029,2802,2577,2730,3186,3252,3316,3286,3122,2964,2601,2420,2832,3030,2886,3145,3117,3300,3165,3050,3085,3252,3968,3685,2326,3019,3562,3062,2480,2252,2334,2792,2568,2316,3009,3075,2511,3104,3470,2987,3116,3672,3793,3581,3334,3036,3263,3481,3525,3328,2463,2735,2888,2727,2192,2080,2337,1930,2326,2426,2434,3182,3806,3556,3171,3824,4030,3640,3514,2883,2260,2965,3443,3670,3614,2795,3062,3353,3154,3256,2435,2630,3627,2580,2049,1851,2358,2332,2088,2236,1900,1916,2287,2259,2066,1886,1331,1379,1668,2074,2448,2684,2448,2166,2929,3117,2645,2509,2183,1647,1475,1776,2056,2409,2486,1904,1699,2217,2131,2307,2348,2471,2658,2081,1755,2013,2841,2931,2427,1781,2696,2941,2745,2654,2100,1808,1663,1603,1737,2060,1850,1639,2292,2736,2494,2593,2449,2785,3220,2852,2701,2830,2833,2565,2702,3275,2569,1850,1629,1785,2261,2025,1824,2275,2612,2842,3275,3024,3128,3207,2192,1797,1932,2394,2903,2459,2078,2133,1998,1979,1925,1911,2066,1884,1888,1837,1684,2162,2942,2858,2454,2656,2513,1897,1733,1992,2004,1509,1584,1424,1960,1764,1704,1952,2078,2342,2242,1482,1391,1452,1570,1503,1675,1923,2519,2851,2883,2823,3443,3575,3371,3162,2457,2477,3128,3776,3312,3348,3426,3720,3200,2799,3010,3022,2977,2897,2916,2917,3157,3227,3361,3510,3395,3036,2957,3241,3707,4056,4171,4070,3918,3925,4045,3968,3585,2863,2587,2934,3426,3544,3471,3323,3182,3305,3460,3283,3426,3896,3719,3743,3649,3586,3742,3802,3838,3827,3885,3588,2748,2861,3274,3586,3680,3564,3437,3422,3352,3374,3814,4011,3841,4124,4243,4069,3421,3233,3352,3711,3736,3798,3883,3673,3559,3550,3645,3974,4080,3502,3441,4271,4644,4452,4276,4208,3772,3408,3531,3165,3040,3217,3530,3753,3283,3514,3586,3316,3284,3163,3133,3436,3936,4255,4141,4139,4324,4065,3388,3317,3535,3601,3857,4053,4039,3658,3297,3121,3065,3134,3151,3761,3843,4000,4384,3797,3261,4099,4644,4387,4363,4299,4317,4448,4120,4184,4230,4421,4284,4215,4196,4211,4216,4073,3852,3683,3901,4432,4595,4567,4536,4211,3909,3343,3555,3837,4029,4373,4256,3536,2544,1819,1577,1523,1612,1525,1576,1372,1368,1454,1620,2031,2861,3441,2973,2210,1969,2434,3310,3552,3662,2986,2662,2149,1770,2203,2843,2846,2509,2168,2311,1932,2004,1985,2090,2371,2381,2436,2555,2151,1936,2405,2935,2886,2757,2872,3716,3564,3254,2916,3285,2752,2280,2709,2311,1690,1741,2364,2867,2458,1846,2136,2603,2568,2764,2622,2880,2842,2403,2630,2468,2386,2648,2340,1849,1943,2188,2255,2130,2089,2433,3067,3436,3261,2678,2187,2581,2505,2171,2092,2974,3140,2957,2617,2137,1968,2408,2765,2369,2127,1823,1581,1496,1337,1538,2258,2144,2155,2257,2117,2037,2259,2445,2512,2202,1875,1882,2224,2014,1710,1973,2562,2756,2236,1809,1590,2143,3131,3138,1758,1753,2434,2444,2689,3137,3486,3474,3801,4195,3915,3741,3837,4303,4420,4276,4107,3891,3789,3861,3805,3927,3992,3711,3356,3266,3218,3290,3263,3186,3199,3227,3359,3318,3353,3651,3813,3848,3970,4038,3589,3634,3702,3767,4002,3749,3539,3817,4093,4074,3958,3839,3762,4037,4040,3971,3680,3627,3687,3696,3685,3701,4285,4389,4168,4108,3525,3166,3134,3008,2987,3151,3039,2995,3039,3040,3132,3239,3258,3359,3518,3454,3332,3409,3837,4080,4070,3673,3241,3124,3105,3062,3029,3023,3279,3185,2788,2554,3001,3383,2965,2659,2302,2216,2511,2569,3166,3828,3927,3740,3407,2734,3487,3736,3625,3625,4082,3720,2192,1413,2487,3707,3672,3759,3891,3514,3018,3443,3351,2833,2511,2446,2600,2575,2047,2135,2657,3178,3164,3090,2471,2183,2220,2062,2313,2698,2371,2190,2424,2629,2892,2685,2108,2118,2252,2239,2016,1902,2304,3065,3342,2840,3031,3195,3234,2826,2732,3383,4628,5088,4893,4244,3649,2872,2035,2250,1892,1537,2590,2396,1857,1719,2106,1972,2501,3213,2955,2813,2691,2468,2424,2314,2634,2806,1959,2907,2850,1975,2046,2196,2226,2265,2196,2445,2691,2590,2648,2402,2235,1804,1923,2548,2940,3187,2886,2462,2683,2829,2688,2808,3260,3209,2967,2897,2682,2552,2379,2118,2029,2225,2499,2558,1949,2309,2588,2054,1681,2160,2571,2270,2291,2674,2640,2873,3487,3774,3331,2517,3232,3168,2631,2641,2678,3240,3404,3200,3513,3905,3531,2766,2383,1598,1591,1794,1900,2259,2456,2105,2342,2453,2619,2967,2604,2082,1669,2088,2268,1858,1857,1837,1823,1809,1968,2082,2351,2328,2178,2099,1944,2178,2448,2104,2166,2053,1809,1565,1690,1665,2115,2584,2777,2756,2145,2568,3105,2369,2049,2117,1977,2448,2880,2728,2168,2175,2306,2482,2632,3259,3331,3567,3506,3540,3916,4328,4240,3817,3751,3789,3516,3381,3376,3369,3430,3438,3505,3195,3056,3130],[2722,2463,2310,2245,2292,2381,2445,2470,2625,2892,3017,2706,2502,2525,2821,2996,3061,3199,3229,3250,3298,3393,2910,2235,2610,2887,3398,3056,3230,3688,3676,3308,3990,4308,4209,4092,3698,3517,3951,3942,3932,4563,4815,4876,4819,4521,3291,2635,2651,3199,3520,2806,2396,2415,2360,2592,2624,2384,2189,2079,2084,2075,2203,2374,2277,2363,2362,2732,3875,3960,3373,2700,2766,3196,2776,2862,3031,3142,2558,2258,2877,3405,3862,3535,3525,3580,3540,2621,3167,3735,3550,3476,3776,3995,3792,3875,3698,3702,3159,3528,3594,3974,3537,3266,3399,3349,3466,3252,3210,3567,3328,2648,2370,2388,2430,2734,2424,2501,2558,2308,2692,3075,3084,3076,2770,2534,2622,2702,2962,2735,1848,1748,2690,2891,3108,3492,3566,3506,3370,3300,3452,3440,3316,2999,3068,3295,3382,3024,2577,2199,2008,1978,2024,2492,3374,3488,3420,3123,2927,2896,2610,2497,2584,2449,2432,2974,3372,3096,3275,3353,3465,3470,3270,2907,2651,2803,2667,2562,2862,3010,2920,3066,3082,3095,3166,2957,2865,3042,2880,2475,2188,1914,1825,2206,2772,3018,3163,2928,2757,3190,3074,3202,3657,3667,2923,2365,2493,2423,1900,2081,2171,2509,2136,2245,2090,1627,1675,1964,2025,2404,3209,3472,2442,1618,1287,1455,1830,2165,2049,1924,1754,1690,2098,2092,2252,2139,1958,2178,1885,2165,2163,2286,2191,2053,2394,2909,2872,1847,1304,1992,2504,2269,2514,2377,1770,1360,1808,2003,1968,2160,2148,2029,2127,2300,2644,3128,3363,3328,3121,3049,2534,1820,1367,1399,1622,2073,2388,2244,1858,1901,2421,1994,2238,2666,2906,2475,2576,3305,3486,3303,2981,2678,2907,3528,3606,3237,2971,2761,2785,2671,2371,2276,2196,1918,1806,1790,1820,2066,2220,2043,2031,2064,2350,2171,2085,2666,3617,3642,3084,3263,3300,3030,3230,2899,2689,2729,3139,2856,2799,2971,3006,2894,2731,2234,2135,2467,2736,2374,1874,2147,1864,2125,1903,1654,1809,2180,2656,2394,2335,2620,2225,1996,2114,2229,2280,2554,2372,1968,1660,1879,2044,2093,2136,1956,2035,1979,1981,2206,2171,1866,2008,2440,2805,2813,2276,1963,2001,2380,2520,1813,1594,2557,2597,2280,3001,3001,2385,2077,2277,2719,1913,1715,2049,2703,2406,2386,2109,2358,2441,2668,2871,3189,3171,2470,2087,2274,2210,2414,2498,2409,2331,2613,2458,2120,2100,2134,2096,2257,2089,2018,1827,2060,2765,3103,2713,1958,2164,2464,2563,2523,2397,2687,2513,2227,2122,2314,2337,2275,2303,1818,1580,2088,2019,2071,2276,1972,2077,2701,2224,1620,1946,2078,2154,2060,2451,2789,2983,3287,3244,2551,2314,1953,1979,2285,2044,2079,1999,2005,1954,2316,2688,2408,2810,2618,2040,1759,1802,2360,1814,1857,1879,1654,1882,2234,2733,3428,3530,3497,3681,3659,3626,3628,3905,4169,4029,4168,4036,4111,4085,3351,2343,2193,2818,3288,3738,3681,3304,3373,3542,3461,3494,3234,2888,2540,2686,3234,3408,3041,3138,3219,3462,3277,2878,2320,2427,2644,2548,3391,4476,4356,2890,2393,2100,3100,3316,3334,3141,2873,2640,2309,2148,2612,3262,2914,2817,2607,2198,2537,2701,2703,2431,2167,2347,2612,2980,3217,2797,2599,2545,2399,2733,2503,2732,2998,3195,3164,3039,3152,3576,3566,3222,2698,2480,2496,2636,3851,4008,3916,4132,4361,4296,3921,3440,3374,3760,3717,3022,3671,4385,4323,3522,2719,2635,2720,3018,2913,2474,2532,2878,3106,3232,3172,3105,2551,2501,2567,2655,2605,2125,2424,2714,2789,2705,2060,1996,2169,2575,2809,2579,2798,2854,2739,3262,3624,3441,3015,2569,2607,3212,3052,2362,2458,3098,3339,3260,2984,2092,1609,2146,2520,2388,2353,2609,2796,2401,2671,1686,1389,1549,2039,2365,2449,2785,3267,2821,2127,2354,2403,2150,2249,2781,2952,2600,2806,3161,3007,2766,2487,2899,4084,3937,3207,2806,3563,2885,3010,2396,2242,2674,2942,2979,3078,2975,3293,4007,3361,3154,3064,2155,1887,2531,2892,2677,2431,2698,2940,2799,2889,2920,3061,3353,3065,2811,2316,1740,1587,1650,1711,1789,1900,2017,2052,2028,1870,1836,1747,1641,1595,1423,1789,1897,1965,2666,3032,2950,2711,2691,2482,2169,2069,2164,2094,1968,1891,1962,1905,1966,2132,2135,2104,2039,1942,1913,2013,2025,2707,3791,4156,4155,4260,3679,2613,2245,2487,2900,2840,3082,2874,3042,2842,2856,2688,2880,2785,2300,2475,2881,2616,2011,1282,1931,2047,2257,1851,1620,1833,1902,1700,1592,1842,2231,2601,2730,2666,2813,2398,1905,1747,1967,2052,2039,1873,1678,1540,1531,1881,1820,1743,1772,1575,1687,1743,1831,1760,1678,1617,1543,1955,2283,1957,1810,1882,1874,1651,1756,1667,1621,1765,1639,1531,1665,1786,1787,1980,2383,1632,1628,1585,1536,1913,2126,1778,1632,1949,2245,2007,1791,1722,1947,2273,2324,2130,2115,2409,3142,3654,3926,3874,3220,2670,2712,2919,2749,2773,3172,3398,3135,2631,2114,2345,2856,3071,3220,3370,3804,3804,3171,2840,3348,3044,2897,3216,3521,3307,3064,3370,3180,3042,4003,3816,3156,3699,3671,3030,2504,2141,2456,3150,2995,2343,3166,3470,3221,3969,4145,3421,3220,3406,3475,3558,3626,3182,3004,2963,3207,3372,2750,2209,2105,2304,2160,2047,1513,1353,1946,1968,2495,3650,4125,3723,3726,4020,4196,3416,3438,2961,2775,3195,3521,3834,3360,2534,2604,2658,2457,2794,2683,3211,3707,2620,2560,2143,2212,2696,2410,1803,1798,1836,2021,1900,2053,2128,1384,1479,1697,2121,2546,2313,2460,2865,2981,2497,2030,1935,2172,1749,1422,1620,2049,2336,2148,1991,2360,2525,2700,2912,2491,2590,2406,1795,1730,1959,2106,2173,1816,1835,2898,3123,3229,3054,2236,1763,1729,1647,1775,1853,1782,1930,2266,2765,2823,2279,2302,3063,2929,2395,2196,2430,2670,2236,2165,3104,2432,1576,1593,1747,1979,1960,2147,2669,3328,3364,2785,2665,2998,2849,2580,2370,2187,2406,2946,2858,2282,1892,1668,1770,1868,1842,1816,1777,1709,1989,1998,2033,2439,1969,1616,2393,2762,2352,1916,2221,2301,1744,1384,1284,1368,1313,1604,1711,1564,1975,2160,1527,1528,1747,1962,1591,1489,1894,1996,1995,2261,2712,3329,3818,3970,3662,2862,2664,3143,3807,3531,3460,3870,3906,3349,3087,2698,2731,2710,2619,2315,2560,3096,3284,3267,3042,2810,2909,3205,3439,3730,3760,3871,3786,3647,4016,3851,3551,3453,3306,3047,3084,3119,3006,3301,3142,3090,3548,3714,3631,3602,3771,3558,3543,3498,3307,3162,3280,3570,3703,3926,3840,2871,3140,3542,3693,3636,3454,3398,3382,3312,3249,3482,3642,3621,3697,3854,3782,3529,3618,3462,3629,4038,4094,3961,3912,3934,4047,4229,4255,4148,3806,3443,4002,4481,4152,3716,3735,3843,4079,3973,3823,3829,3614,4289,4328,3797,3318,3237,3407,3480,3419,3461,3884,4111,4185,3882,3587,4144,4052,3782,3604,3676,3805,4111,4086,3738,3351,3266,3128,3160,3450,3141,3579,3804,3781,3461,3181,3642,4519,4847,4766,4936,4936,4849,4683,4660,4728,4272,4093,4225,4271,4389,4783,4800,4244,4124,4301,4377,4596,4471,4534,4600,4375,4260,3774,3532,3508,3395,3938,4236,2941,2082,1609,1450,1330,1592,1548,1554,1627,1551,1555,2100,3018,3508,3606,3444,2732,2123,2700,3707,3609,3519,3727,3273,2273,2185,2579,2400,2395,1889,1741,2142,1995,2070,1946,2059,2269,2040,2167,2287,1754,1726,2144,2280,2710,2358,2806,3068,2603,2556,2519,2580,2588,3104,3340,2598,2153,2214,2977,3076,2791,2407,2562,2749,2579,2322,1901,1971,2195,2171,2319,2321,2193,2823,2621,2026,2226,2253,2290,2265,1967,2018,2320,2586,2540,2282,2303,2461,2536,2553,2521,3150,3443,3045,2402,2014,2110,3045,3543,3110,2932,2667,2091,1631,1497,2053,2222,1910,2143,2097,1864,2238,2408,2402,2617,2452,2370,2225,2416,2224,1960,2510,3383,2966,2101,1837,1664,2224,2842,2352,1590,2143,2597,2514,2840,3422,3566,3409,3741,3937,4070,4025,3935,4392,4167,4093,4059,3918,4107,4271,4155,3990,4090,3718,3275,3241,3238,3177,3233,3137,3162,3288,3320,3348,3516,3748,3919,3831,3928,4175,3948,3940,3813,3793,4090,4124,3949,3914,3913,3946,3794,3852,3646,4264,4013,3739,3686,3684,3859,3975,3981,4060,4320,4564,4351,4151,3615,3159,3115,3019,3060,3244,3120,3007,3049,3038,3040,3016,3001,3289,3493,3341,3458,3663,3959,4081,4123,3750,3208,3072,2932,2934,2709,2611,2940,3082,3065,3342,3117,2769,2821,2969,2543,2499,2982,2799,3118,3552,3906,3971,3496,2698,3166,3632,3195,2769,3506,3701,2452,2342,2953,3594,3961,3870,3920,3243,2470,2584,2630,2732,2945,2733,2504,2773,2899,2708,2723,2242,2177,2078,2109,2302,2432,2221,2258,2314,2374,2337,2997,3016,3249,2817,2203,2108,2166,2008,1962,1870,1847,2409,2939,2708,3054,2898,2907,2696,2646,3862,4884,4936,4653,3759,2928,2232,1869,2207,1740,1996,2666,2829,2276,1859,1925,1994,2833,2992,2379,2525,2857,2668,2336,2449,2762,2941,2938,3163,2466,2378,2604,2266,1981,2520,2552,2591,2657,2689,2678,2552,2520,2461,2791,3030,2859,2872,2905,2842,2841,2808,2711,2697,3397,3565,3247,3140,2989,2565,2439,2453,2056,2359,2577,2928,2856,2969,2721,2626,2586,2678,2578,2264,2546,2964,2331,2974,3325,3654,3666,2579,3089,3168,2666,2780,3262,3544,3418,3078,2617,2900,3010,2500,1864,1686,2108,2094,2050,2330,2164,2009,2352,2754,2806,2370,2604,2093,1730,1711,1540,1440,1728,1936,1909,2164,2477,2326,2422,2055,1848,2186,2405,2415,2353,2144,2213,2372,2286,2488,2722,2468,2599,2300,2052,1641,1115,1915,2530,2468,2084,1554,1505,1663,1926,1887,1849,1789,1880,2661,3020,3485,3187,3037,3373,3582,3967,4373,4208,3891,3781,4005,4037,3762,3770,3673,3566,3376,3247,3073,3116,3318],[2714,2314,2176,2204,2318,2404,2401,2371,2239,2430,2700,2716,2693,2684,2939,2862,3086,3282,3275,3291,3095,3001,2790,2734,2657,2690,3002,2643,2790,3161,2773,2927,3892,3963,3934,3926,3515,2786,3165,3784,3687,4092,4331,4464,4543,4276,3451,2901,2996,3594,3942,3163,2543,2160,2136,3200,3619,3498,2836,2466,2641,2750,2314,2039,2172,2068,1946,2934,3313,3241,3147,2677,2973,2993,2482,2459,2698,2880,2490,2216,2218,3119,3557,3148,3242,3458,3487,2721,2866,3721,3640,3344,3496,3656,3487,4029,4027,3791,3365,3043,2863,3429,3235,2951,3219,3047,2657,2579,3220,3620,3307,2586,2079,2187,2363,2204,2018,2353,2198,2253,3208,3393,3239,3222,3000,3019,2566,2490,2644,2512,2223,2434,2989,3262,3643,3619,3655,3543,3406,3473,3618,3506,3264,3392,3492,3423,3330,3009,2530,1893,1888,1953,2101,2524,3055,3157,3035,2703,2395,2271,1946,1972,2518,2622,2687,3124,3229,2930,3130,3652,3652,3395,3295,2978,2742,2856,2709,2763,2991,3188,3142,3209,3311,3132,3142,2747,2362,2679,2699,2392,2100,1834,1660,2086,2596,2813,2924,2577,2850,3283,3044,3010,3441,3499,2790,1951,1869,2249,2170,2496,2540,2490,2266,2633,2684,2106,1931,2063,2046,2526,3201,3104,2818,1803,1554,1704,1908,2092,1858,1830,1767,2174,2769,2548,2292,2222,2198,2232,1753,1819,1900,1953,1936,2184,2620,2659,2460,2050,1781,1927,2255,2381,2367,2261,2337,2600,2645,2055,1917,1919,1885,1821,1707,2212,3051,3018,2583,2598,2669,2724,2729,2125,1396,1312,1451,1699,1890,1863,1802,1963,2391,1966,2158,2792,3130,2805,2632,2953,3282,3161,2802,2740,3091,3574,3067,2431,2555,2455,2619,2775,2344,1965,1797,1464,1605,1809,1782,1869,2239,2109,2072,2193,2183,2151,2217,2403,2821,3099,3018,3309,2852,3106,3175,2932,2754,3162,3260,3104,2890,3228,3306,2689,2854,2727,2546,2567,2951,2436,2182,2253,2366,2692,2301,2100,2190,2072,2465,2818,3112,3273,2188,1920,2172,2142,2454,2686,2487,2029,2198,2774,3192,2445,2081,2552,2786,2209,2109,2419,2438,2102,2217,2635,2909,2988,2343,1937,2127,2397,2370,2341,2604,3072,2720,2129,2472,2943,2756,2508,2584,2732,2148,1813,2033,2354,2385,2404,2708,2841,2755,3383,3557,3732,3528,2791,2914,2063,1683,1892,2008,2362,2455,1995,2139,2421,2009,2316,2381,2727,2468,2019,1684,1724,2966,3441,2846,2254,1985,2025,2170,2230,2265,2585,2813,2231,1716,1908,2126,2127,2262,1922,1881,2241,1860,1765,1998,1997,2302,2386,2000,1901,2205,2008,1802,2144,2608,2609,2300,2543,2404,2100,2125,2008,2222,2365,2165,1827,1702,2000,1820,2036,2404,1991,2047,1859,1541,1275,1759,2509,2009,1911,2069,1711,1845,2137,2668,3422,3531,3333,3307,3416,3646,3317,3296,3744,3948,3752,3635,4025,3983,3474,2344,1974,2756,3344,3444,3352,3414,3383,3418,3476,3254,2744,2749,2623,3031,3461,3327,2933,2934,3309,3627,3382,2831,2500,2574,2287,2122,3407,4273,3397,2448,2067,2193,2719,2643,2895,2992,2481,2352,2398,2386,3146,4124,3575,2856,2711,1932,1871,2446,2447,2248,2237,2803,3184,3275,3128,3069,3188,3355,3022,2631,2474,2951,3257,3251,3200,3241,3260,3364,3462,2730,1708,1483,1615,2840,3572,3321,2977,3374,3791,3925,3905,3586,3626,3747,3103,3304,4040,4284,3719,2592,2322,2161,2379,3263,3309,2991,3100,2650,2481,2807,3234,3337,2908,2438,2545,3000,2573,2221,2511,2953,2864,2045,2126,2707,2711,3098,3126,2951,3033,3143,3053,3471,3663,3410,2908,2757,2310,2401,2574,2165,2735,3130,2977,3040,2568,1530,1584,2024,2468,2584,2399,2268,2698,2357,2481,1867,1621,1508,1563,1996,1892,2060,2380,2012,1641,2297,2470,2288,2452,2626,2932,3001,2883,2993,2299,2029,2710,2307,2799,3298,2648,2053,2181,2048,2505,2869,2786,2496,2341,2429,2918,3245,3565,3829,3257,2167,2167,2060,1696,2166,2808,3011,2802,2867,3099,2995,2920,2934,2997,3451,3808,4029,3781,3190,2407,1868,1647,1583,1785,2017,1824,1699,1742,1576,1595,1643,1907,1887,2095,1991,2041,2818,2997,3116,3422,3408,3443,3117,2797,2664,2592,2383,2269,2354,2175,1852,2073,2311,2122,1916,1817,1830,1959,2016,2591,3356,3594,3418,3183,2724,2213,2250,2349,2541,2483,2542,2358,2268,2156,2206,2154,2096,2077,1931,2171,2439,2140,1762,1350,1762,1699,1525,1727,2104,2052,1907,1926,1744,1743,2174,2366,2509,2759,2894,2564,2014,1682,1843,2041,1946,1824,1832,1575,1588,1952,1839,2147,2110,1694,1590,1596,1736,1710,1550,1516,1378,1594,1924,1785,1715,1758,1648,1539,1477,1466,1490,1489,1526,1621,1672,1724,1949,2091,2034,1628,1629,1567,1540,1896,2095,1924,1942,2232,2310,1918,1820,1956,2405,2492,2231,2095,1991,2403,3164,3215,3205,2848,2517,2384,2554,3043,3131,3142,3112,2976,2857,2696,2433,2169,2237,2736,3176,3357,3956,4008,3408,3031,3017,2831,2986,3307,3381,3015,3331,3487,3476,3784,3850,3167,3484,3769,3409,3211,2991,2732,3270,3841,3249,2451,3547,3178,3226,3693,4143,3985,3498,3447,3418,3363,3249,2843,2955,3276,3486,3143,2585,2475,2880,2708,2452,2020,1405,1906,2307,1863,2392,3629,3696,2799,3100,3579,3991,3682,3675,3444,3139,2553,2610,3156,2643,2604,2225,2211,2999,3613,3536,3917,4287,4185,3216,2314,2314,2777,3043,2523,2081,2257,2204,1925,2171,2167,1595,1938,2192,2808,2809,2574,3155,3048,2514,2018,2072,1997,2188,2081,2171,2089,1960,1830,1881,2213,2240,2236,2632,2668,2644,2535,2056,1860,1888,2064,1895,1726,1643,2121,2986,3489,3740,3155,2312,1842,1810,1732,1664,1427,1453,1783,1880,2192,2283,1872,2097,2439,2115,2102,2010,2137,2409,1871,2009,2663,2030,1540,1626,1764,1943,2035,2171,2167,2834,2605,1955,2242,2807,3183,3140,2545,2486,2920,3139,2770,2237,1790,1656,1782,1788,1832,1856,1835,1848,2121,1991,1360,1306,1455,1285,1167,1636,2078,1833,1694,1603,1676,1562,1626,1783,1433,1493,1391,1337,1472,1502,1443,1380,1592,1963,1723,1437,1608,1606,1613,1882,2146,2578,3019,3405,3076,2902,2799,3143,3736,3858,4046,4153,3638,3196,2942,2187,1803,2233,2558,2181,2301,2966,3318,3388,3295,3232,3430,3752,3957,3349,2551,2922,2957,2738,3096,3117,3116,3257,3186,2935,2858,2907,2772,2602,2772,2983,3500,3646,3480,3482,3648,3500,3494,3778,3666,3408,3701,3647,3693,3537,3282,2683,3290,3682,3680,3448,3085,3175,3263,3367,3462,3692,3742,3603,3484,3349,3361,3973,4251,3858,3686,3774,3905,3982,3936,3458,3779,4120,4140,3768,3458,3520,3935,4304,4272,4016,3963,4214,4551,4328,4329,4301,4091,4433,4665,4147,3133,2819,3352,3352,3058,3203,3594,4086,4308,4110,3706,3759,3665,3748,4112,4113,4040,4188,3857,3566,3372,3322,3408,3452,3362,3244,3441,3554,3658,3604,3514,3927,4638,4519,4005,4704,5052,5105,4955,4964,4984,4705,4282,4078,4227,4349,4712,4651,4314,4389,4729,4697,4551,4274,4507,4690,4584,4688,4500,4083,3753,3241,3952,4180,2555,1796,1510,1499,1511,1942,2041,1871,1694,1454,1719,2556,3400,3507,3327,2846,2417,2676,3264,3687,3492,3338,3606,2973,2417,2633,2847,2668,2270,2066,2077,2379,2526,2191,2157,2340,2398,2188,2168,2427,2114,1849,1803,2451,2713,2222,2307,2532,2654,2565,2414,2511,2862,3119,3107,2674,3277,3428,3442,3388,2785,2415,2687,2606,2017,1707,1851,2808,3021,2402,1864,1865,1968,2808,2610,2297,2637,2697,2697,2499,2131,2189,2033,2103,2188,2188,2621,2643,2423,2398,2879,3442,3221,2822,2490,2305,2446,3474,3657,3220,2850,2720,2398,1909,2010,2520,2319,2235,2640,2264,2017,2283,2231,2427,2576,2394,2274,2232,2257,2243,2249,2510,2931,2663,2250,1885,1894,2260,2916,2533,1974,2283,2512,2440,2863,3490,3560,3649,4120,3680,3871,3914,4155,4340,4123,4182,4272,4102,4077,4182,4107,3848,3893,3475,3287,3150,3016,3110,3222,3167,3195,3373,3328,3397,3710,4004,4016,3924,4252,4353,4048,3993,3840,3713,4025,4165,4049,3817,3742,3911,3819,4038,3875,3794,3603,3692,3969,3762,3576,3862,3961,4095,4229,4435,4337,4320,3707,3154,3072,2995,3013,3094,3072,3054,3049,3002,3076,3031,2918,3107,3282,3254,3335,3671,4107,4204,4231,4119,3374,3020,2790,2977,2742,2526,2447,1995,1918,2281,1848,1443,2386,3355,2942,2843,3326,3225,3229,3114,3458,3431,2932,2888,3263,3611,3366,2886,3299,3498,2700,3209,3056,3444,3064,2273,3040,2979,2433,2942,2887,2796,2996,2391,2183,2564,2801,2065,2031,2279,2229,2265,2430,2396,2111,1967,2259,2218,2730,2823,3800,3703,2931,2236,2029,2075,2108,2026,2060,1955,1946,2082,2409,2709,2627,1988,1759,1997,2331,2656,2852,3430,3586,3140,2568,2033,1974,2119,2054,2439,2649,2801,2564,2239,1913,2298,2729,2248,2264,2209,2691,2809,2423,2629,3162,2969,2686,2584,2768,2867,2625,2497,2680,3088,2853,2204,2497,2806,2777,2744,2713,2670,2851,2920,2681,2880,2906,2874,2801,2821,2750,2705,3362,3681,3279,3227,2930,2396,2159,2599,2135,2353,2281,2512,2401,2627,2852,2381,2155,2409,2471,2242,2381,2457,2103,2734,2785,3256,3354,2932,3215,3086,3056,3419,3267,2924,3185,2692,2335,2499,2388,2383,2642,2919,3188,2602,1999,1949,1947,1941,2120,2388,2567,1847,2598,2371,1880,1902,1617,1396,1560,1807,1664,1874,2220,1948,1836,1813,1782,2084,2409,2697,2930,2564,2289,2252,2644,3386,3110,2677,2198,1697,1426,1825,2177,2303,2256,2154,1642,1620,1789,1636,1637,1494,1839,2103,2932,3174,3405,3352,3030,3143,3403,3654,3984,4641,4509,4093,4057,4126,4116,3820,3641,3477,3217,3054,3030,2950,2974,3270],[2460,2260,2198,2238,2302,2302,2334,2239,1998,2452,2633,2590,2677,2780,2886,3024,3218,3296,3350,3096,2997,3282,2920,2929,2600,2603,2547,2543,3109,3064,2315,2799,3560,3171,3172,3496,3774,3811,4164,3991,3408,3186,2990,3362,3637,3830,3837,3798,3354,3693,3620,3608,2930,2443,2687,3270,3403,3183,2806,2624,2962,3294,2777,2749,2874,2044,2150,2939,2980,2890,3112,2677,2297,2409,2173,2338,2558,2825,2350,2348,2344,3120,3363,3127,3182,3228,3271,2765,2555,3370,3486,3171,3206,3609,3593,3896,4143,4012,3638,2841,2227,2552,2977,2775,2654,2256,1893,2016,3160,3559,3354,2842,2481,2295,2466,2503,2605,2696,2280,2278,3332,3572,3532,3299,2900,2575,2368,2492,2466,2188,2254,2843,3374,3447,3742,3710,3618,3400,3085,3407,3528,3344,3243,3491,3896,3625,3167,3027,2444,2066,2071,2077,2420,2844,2884,2711,2520,2287,2104,2026,1786,1872,2197,2166,2519,2796,2912,2796,2956,3531,3580,3184,3090,3021,3028,3397,3122,2851,2981,2927,2983,3073,3048,3164,2807,2309,2730,3208,2780,2288,1937,1660,1775,1937,1995,2209,2338,2335,2093,2177,2899,3203,3492,3671,2867,2588,2309,2893,3011,2796,2500,1992,2079,2522,2507,2175,2194,2470,2394,2589,3123,2896,2758,2270,2543,2536,2311,2205,1946,1733,1838,2026,2542,3020,2421,2568,2707,2212,1514,1340,1562,1800,1866,2236,2240,2252,2122,2083,2122,1922,1612,1991,2258,2076,2335,2841,2669,2398,2454,2276,2026,1944,1948,2404,3320,2736,1984,1907,1879,2370,2777,2666,2624,2476,1976,1593,1803,1809,2018,2272,2152,2099,2298,2490,2642,2397,2502,2818,3015,2838,2840,3123,3333,3244,2761,2480,2630,2500,2404,2895,2625,1808,1600,1420,1811,1860,1620,1530,2021,2541,2590,2297,2291,2338,2236,2474,2672,3157,2942,2907,2906,3255,3452,3346,3308,3437,3492,3037,2707,3320,3306,2676,2578,2270,2172,2395,2458,2432,2427,2328,2480,2586,2430,2184,2062,2403,3054,3400,3242,3046,2330,2446,2290,2270,2928,3147,2787,2262,2609,3085,3144,2456,2270,2820,2951,2611,2543,2673,2353,2055,2326,2484,3050,2987,2459,2042,2126,2286,2391,2422,2352,2452,2391,1982,2077,2584,2955,2353,2133,2452,2477,1941,1833,2229,2593,2678,3017,3106,2844,3572,3628,3516,3016,2806,2779,2262,2238,2139,1686,1827,2109,1968,2003,2491,2502,2596,2569,2299,2454,2065,2022,2100,2426,2632,2431,2486,2149,1895,2216,2187,2228,2509,2619,2191,1694,1697,2015,2032,1981,2083,2052,2443,1988,2172,2417,2267,2405,2333,1948,1988,2032,1952,2152,2381,2607,2487,2030,1841,1687,1681,1808,1852,2575,3040,2639,1916,1602,1766,1922,2201,1984,1492,1377,1615,1551,1485,1951,2364,2058,1930,2274,2176,2886,3276,3392,3626,3692,3449,3306,3377,3617,3438,3355,3571,3704,3551,3406,3454,3144,3040,2976,2966,2938,3184,3301,3370,3472,3616,3762,3735,3140,2609,2675,2845,3361,3485,3164,3055,3225,3472,3565,3355,2768,3089,3230,2567,2136,2932,3146,2533,2371,2158,2110,2499,3286,3539,2863,2208,2350,2448,2414,3431,3782,3211,3748,3522,2017,1599,1818,1779,1875,2163,3020,3374,3408,3064,3204,3375,3526,3016,2224,2328,2974,3121,3348,3334,3401,3182,2922,2810,2304,1865,1396,1636,2556,3108,3018,2844,3230,3334,3520,3720,3549,3580,3377,2831,3580,4124,4062,3104,2246,2169,1954,2131,2784,3216,3241,3432,2409,2137,2519,3100,3404,3294,2872,3208,3676,2842,2876,2846,2932,2933,2396,2465,2806,2868,3146,3626,3470,3260,3426,3171,3483,3751,3396,2932,2785,2069,2673,3626,3557,3284,2558,2555,3011,2304,1317,1541,1586,1881,2479,2514,2292,2379,2187,2536,2387,1603,1317,1450,1660,1636,1902,2358,1744,1610,2322,2485,2264,2352,2223,2455,2844,2873,3263,2625,2254,2865,2567,2620,1917,1951,2042,1731,1904,2471,2946,3320,2800,2187,2333,2878,2864,3265,3593,3337,2796,2809,2286,1919,2288,2721,3292,3134,2894,2895,3010,3131,3060,2899,3075,3459,4155,4531,4240,3826,3104,2136,1562,1470,1508,1586,1888,2030,2231,2275,2275,2367,2236,2196,1938,2052,2670,3012,3372,3356,3500,3451,3339,3287,2945,2862,2761,2676,2740,2570,2165,2407,2170,1830,1861,1991,1888,1898,2078,2217,2250,1992,1866,1848,1886,1998,2032,1987,1880,1733,1558,1466,1533,1660,1854,1827,1648,1650,1732,1927,1992,1793,1680,1254,1325,1582,1784,2557,3351,2953,2119,1796,1238,1338,1645,1874,2206,2610,2835,2731,2143,1865,2106,2359,2033,1788,1808,1619,1512,1658,1698,1754,1836,1698,1578,1642,1820,1709,1703,1679,1566,1627,1688,1602,1672,1732,1732,1673,1704,1780,1520,1466,1734,1766,1571,1774,1841,1982,1919,1649,1518,1566,1726,1936,2004,2088,1874,1882,1864,1880,2100,2240,2509,2743,2500,2240,2033,2086,2501,2570,2684,2623,2454,2358,2347,2600,2802,3000,3053,3115,3162,3087,2941,2331,2177,2408,2994,3493,3750,3730,3287,3132,3269,3304,3152,3344,3334,3086,3038,3225,3560,3941,3547,3274,3387,3539,3748,3444,2980,2861,2929,3842,3493,3112,3836,3802,2953,2772,3824,4057,3661,3906,3807,3300,2621,1888,1977,2092,2710,2876,2850,2813,3210,3160,2888,2552,2009,2274,2173,1802,2619,3696,3387,2857,3259,3759,3884,3733,3348,2953,2651,2142,2504,2954,2570,2631,2336,2386,2571,2442,2853,3575,3990,4065,3519,2544,2387,2624,2846,2680,2000,2290,2731,2995,2691,2216,1572,1573,2379,2956,2497,2610,2337,1951,1649,2034,2307,2469,2580,2793,2584,1770,1512,1546,1682,2142,2338,2415,2381,2259,2312,2035,1834,2029,2065,2007,1766,1482,1478,2208,2775,3022,3218,2966,2453,1845,1703,1709,1728,1606,1778,2040,2080,2544,2569,2349,2221,2298,1872,1714,1898,1998,2182,1826,1630,1709,1572,1627,1678,1776,1809,1993,1997,2166,2383,2266,2212,2720,3278,3484,3111,2769,2692,2898,2980,2920,2463,1941,1730,1694,1696,1732,1755,1799,1992,2414,1990,1041,1342,2387,2352,1735,1287,1374,1642,1623,1529,1851,1660,1468,1584,1456,1588,1471,1371,1387,1484,1366,1288,1368,1580,1583,1365,1362,1448,1447,1652,2030,2244,2040,2063,2235,2833,2786,2669,2920,2779,2678,2874,2765,2838,2510,1805,1633,2260,2386,2132,2242,2290,2530,2896,3049,3270,3529,3852,4027,3104,2625,2678,2700,2769,3006,3129,3012,2438,2033,1878,2114,3006,2934,2169,2595,3264,3536,3601,3469,3470,3526,3378,3382,3902,3963,3665,3692,3127,2887,2580,2098,2518,3558,3647,3390,3262,3193,3195,3323,3404,3470,3894,3851,3628,3836,3759,3768,4196,4215,3861,3417,3421,3733,3914,4020,3573,3550,3688,3646,3445,3176,3110,3487,3609,3686,3914,4253,4404,4432,4271,4276,4196,4021,4311,4668,4419,3663,2976,3006,2925,3007,3250,3081,3308,3781,4084,4144,3802,3474,3841,4408,4464,4206,3999,3613,3451,3725,3806,3814,3770,3439,3479,3724,3635,3714,3628,3558,4339,4612,4443,3916,4536,4877,5052,5071,5093,5000,4897,4836,4688,4183,4137,4552,4684,4663,4865,5008,4935,4598,4432,4665,4672,4508,4632,4627,4297,3702,3676,4609,3974,2299,1682,1681,1742,1877,2055,1760,1470,1413,1557,1802,2311,3188,3326,2939,2396,2755,3254,2973,2636,2851,3343,3417,2432,2460,2085,2476,2618,2511,2537,2504,2962,2830,2211,2552,2437,2451,2078,2244,2499,2018,1845,2102,2626,2648,2260,2243,2625,2644,2386,2146,2269,2653,2319,2517,2662,3305,3444,3385,3370,2645,2262,2483,2623,2118,2302,2678,3624,3681,2437,1958,1929,2008,2661,2531,2296,2336,2802,3230,2920,2207,2272,2171,1874,1729,2069,2339,2142,1774,1928,2801,3462,3361,3296,2709,2586,3625,4344,4424,3422,2906,2979,2334,2056,2410,2468,2125,2651,2924,2182,1804,1704,2029,2286,2097,2076,1976,1842,1904,1760,1703,2329,2270,2070,2079,1980,2416,2626,2476,2287,2307,2496,2380,2280,2702,3550,3705,4001,3860,3652,3666,3710,3946,4239,4387,4412,4344,3965,4090,4257,4077,3992,3891,3458,3275,3173,3165,3188,3143,3188,3287,3388,3400,3328,3584,3890,3763,4108,4449,4432,4114,3989,4059,3939,3862,3841,3901,3854,3969,3984,4104,4176,3869,3660,3694,4046,4537,4288,3528,3586,3860,4024,4341,4376,4255,4368,3648,3041,2963,2919,2902,3002,3110,3142,3062,2990,3028,3005,2951,2998,3120,3212,3320,3758,4093,4203,4283,4488,3853,3233,2646,2499,2762,3024,2526,1637,1477,1751,2019,1756,2622,3819,3845,3853,3927,3729,3186,3111,3232,2459,2275,2945,3116,3480,3555,2836,3046,3264,2750,2580,2327,2667,2554,2625,3270,2930,2799,2984,2642,2930,2668,2122,2141,2061,1599,1499,1845,2298,2354,2352,2199,2082,1926,1967,1974,2310,2563,2608,3453,3646,2732,2309,2102,2113,1968,2213,2170,1965,2009,1988,1969,2375,2131,1937,2008,2021,2421,2172,1530,1683,1986,1964,2094,1926,2036,2144,2215,2365,2624,2679,2470,2135,1953,2536,2138,1961,2222,2159,2413,2744,2764,2912,3289,2728,1805,2170,3243,3012,2496,2287,2401,2701,2403,2172,2603,2814,2918,2837,2669,2822,3168,3098,2769,2800,2809,2720,2691,2753,2789,3053,3680,3784,2943,2861,2842,2330,1923,2292,2164,1960,2132,2253,1963,2493,2840,2127,2403,2901,2553,2062,2334,2784,2338,2596,2751,3237,3599,3657,3255,2809,2835,3265,2866,2334,2663,2644,3174,3341,2814,2537,2508,2699,2988,2742,2245,2563,2468,1990,2318,2376,2514,2142,2700,2834,2489,2322,2092,1828,1976,2050,1802,2501,3165,2654,2407,2259,2184,2361,2166,2718,3588,2962,2566,2446,2596,3458,3097,2406,1609,1867,1813,1818,2428,2753,2785,2282,1581,1760,1749,1587,1478,1546,1746,2950,3599,3050,2755,2831,3166,2777,2757,3162,3531,4414,4572,4357,4416,4416,4385,4133,3686,3371,3311,3241,3074,3118,2994,3052],[2405,2387,2282,2184,2112,2059,2032,1935,2454,2894,3118,3032,2722,2706,2768,2808,2916,3006,3244,3037,2985,3246,2930,2687,2541,2599,2574,2777,3170,3210,3129,3119,2345,2168,2500,2876,3808,4352,4329,3178,2862,2596,1590,1775,2234,2975,3938,3992,3481,4101,4173,3636,2931,2898,2981,2512,2456,2760,2974,2713,2437,2492,2435,2575,2702,2192,2647,3189,3086,2930,2982,2481,2042,2125,2361,2639,2620,2545,2215,2269,2558,3135,3174,3116,3353,3132,3059,3006,2874,3443,3669,3683,3398,3560,3447,3585,3963,3880,3754,3482,2914,2178,2087,1905,1864,1807,1655,2070,3042,3462,3716,3916,3379,2741,2856,2642,2710,2525,2249,2278,3155,3362,3185,2950,2822,2469,2209,2409,2640,2531,2907,3332,3526,3708,3553,3551,3692,3553,3256,3253,3107,3086,3285,3564,3995,3486,2896,2966,2669,2283,2291,2230,2975,3427,2864,2658,2492,2365,2676,2322,1919,1898,2076,2071,2178,2404,2679,2799,2991,3342,3506,3356,3017,3032,3640,3721,3278,2965,2951,2938,3024,2497,2580,3132,2647,2342,3016,3382,2690,2025,1786,1641,1623,1627,1705,1784,2018,2474,2876,2489,3030,3350,3441,3536,3342,3043,2683,2868,2972,2885,2188,1956,2270,2345,2184,2143,2447,2830,2379,2198,2524,2625,2578,2597,2777,2813,2868,2960,2908,1933,1756,1775,2505,2400,2496,2876,2734,2116,1664,1686,1448,1413,1758,2459,2147,1919,1787,1593,1641,1471,1794,2278,2119,2082,2283,2715,2964,2533,2466,2721,2458,2125,1952,2379,3314,3094,2753,2458,2019,2405,2369,2357,2564,2495,2432,1895,1437,1098,1530,2078,2020,2100,2232,2117,2071,2228,2364,2627,2735,2512,3069,3108,2678,2251,2344,2531,2226,2175,2000,2301,2397,1938,1627,1546,1908,1924,1534,1298,1720,2563,2976,2630,2699,2651,2841,3288,3373,2963,2720,2551,2625,3033,3288,3173,3335,3827,3521,2635,3297,3857,3420,2957,2585,1714,1907,2331,2542,2764,2623,2539,3142,3335,3086,2511,2350,2664,2678,2343,2148,2009,1990,2370,2381,2529,2652,1801,1709,2035,2396,2657,2583,2154,2188,2347,2575,2805,2640,2489,2209,2046,2413,2119,2513,2547,2315,2200,2355,2230,2236,2478,2191,2045,2120,1977,2354,2544,3376,2885,3065,3519,3331,2537,1771,2007,2411,2254,1952,2071,2611,3130,3528,3481,2784,2455,2453,2654,2424,1924,1609,1625,1947,2362,1999,2158,2379,2751,2269,1954,2434,2599,2580,2014,1722,1876,2248,2465,2369,1812,2020,2056,2134,2381,2575,2798,2114,1658,2281,2354,1769,1918,1968,2370,2172,2242,2195,2188,2137,2059,2069,2100,2028,2203,1794,2112,3001,2830,2083,1831,1771,1838,1871,1787,2393,3022,3067,2223,1974,2298,2443,2483,2157,1721,1870,2017,1920,2116,2232,2171,2084,2072,2820,3333,3681,3661,3487,3521,3651,3598,3448,3469,3481,3353,3212,3120,2907,3196,3174,2911,3016,3072,3076,2855,2846,3310,3439,3263,3284,3809,3888,3808,3140,2780,2367,2744,3372,3299,3013,3019,3229,3384,3553,3034,2100,2656,2718,2241,2737,3327,3270,2871,2571,2422,2497,3065,3500,3197,2486,1805,2318,1905,1953,2563,3011,2946,3401,3233,1983,2033,2238,1848,1855,2375,2728,2874,2893,3000,3319,3610,3693,3318,2658,2745,3131,2831,3283,3323,3115,3006,2758,1945,2786,3235,2658,2391,2575,2820,2567,2413,3245,3136,2962,3282,3536,3552,2963,3323,3787,3969,3885,3044,2139,1952,1848,1876,2343,2924,3265,3399,2757,2458,2543,2785,3295,3273,3110,3165,3364,2732,2800,2366,2537,3271,2912,2569,2416,2511,2996,3273,3207,3155,3450,3310,2817,2730,2490,2736,2756,2308,2742,3300,3717,3376,2519,2852,2698,2091,1696,1430,1262,1576,1985,2273,2393,2380,2249,2445,2602,1975,1657,1561,1708,1704,1722,2402,2182,2093,2231,2273,2198,2304,2591,2831,2611,2419,2764,2770,2136,2702,2442,1974,1681,2432,2852,2175,2032,2437,2258,2713,2831,2343,2216,2583,2741,2753,3059,3313,3227,2454,1974,2388,2526,2359,2980,3284,3051,3016,2990,2908,2857,2756,2710,3340,4320,4396,4152,4155,4200,2940,1890,1561,1772,2200,2343,2242,2197,2215,2365,2321,2219,2124,1992,1890,2425,3053,3146,3341,3440,3378,3509,3132,2865,2845,2830,2750,2067,2147,2282,2209,1973,1766,1846,1950,1754,1799,1982,1991,1846,1870,1799,1624,1580,1785,1572,1466,1475,1337,1303,1383,1460,1459,1453,1482,1603,1673,1713,1775,1944,1830,1615,1332,1251,1562,1954,2150,2029,1925,1636,1908,1713,1848,1903,1913,2430,2719,2684,2540,2049,1917,1982,2172,2083,1895,1731,1607,1568,1652,1691,1647,1554,1516,1594,1446,1711,1570,1505,1463,1512,1652,1647,1632,1935,2070,1715,1622,1537,1496,1572,1649,1828,1676,1750,1885,1970,2090,1787,1616,1702,1760,1876,1802,1741,2102,1961,1749,1553,1780,2201,2450,2510,2520,2874,2624,2244,2205,2058,2056,2380,2676,2696,2447,2213,2225,2752,3275,3118,3233,3570,3423,3075,2597,2497,2643,3219,3702,3915,3672,3225,3122,3361,3306,2879,3161,3262,3092,2953,3159,3117,3107,3242,3238,3237,3404,3756,3469,3087,3281,2861,3439,3747,3237,3583,4119,3115,2597,3207,3709,3486,3813,3731,3416,2857,2123,2059,1842,2509,2791,2426,2698,3141,2974,2893,2365,2122,2136,1749,1862,2002,2808,2999,3128,3705,3928,3692,3240,3116,2920,2679,2354,2916,3405,2751,2186,2453,2620,2166,2176,2408,2708,3051,3159,3174,2557,2257,2820,3429,2963,2019,2203,3299,3276,2451,2116,1682,1795,2788,3417,3242,2930,2630,2685,1989,2042,2150,2350,2723,3034,2493,1517,1683,1743,1938,2223,2270,2216,2260,2282,2241,1918,2072,2389,2222,2020,1840,1741,2159,2695,2783,3212,3074,2887,2569,2085,1796,1661,1572,1476,1737,2213,2759,2791,2188,1858,2005,2637,2490,1947,1787,2036,2075,2075,1959,1932,1844,2207,2206,2173,1945,1963,1852,1871,2309,2419,2000,2134,2858,3064,2466,2198,2040,2590,2890,3045,2509,2024,1793,1612,1608,1748,1882,1906,2044,2487,1839,1046,1570,2779,2965,2115,1219,1159,1603,1572,1589,1771,1619,1426,1324,1276,1499,1505,1482,1926,1973,1569,1430,1386,1306,1468,1401,1338,1400,1455,1320,1844,2099,1702,1586,1906,2269,2030,1546,1619,1607,1687,2131,2083,2468,2223,1546,1581,1875,1788,1946,1851,1843,2197,2570,2788,2805,2951,3310,3305,3134,3104,2912,2708,2699,2994,3161,3064,2435,2366,2408,2388,2755,2230,1809,2774,3349,3287,3557,3585,3547,3677,3398,3211,3608,3719,3215,3021,2932,2901,2345,1952,3097,3792,3406,3153,3049,2988,3340,3444,3442,3269,3421,3469,3399,3806,4231,4299,4001,3792,3795,3234,3018,3150,3378,3740,3837,3695,3421,3243,3521,3684,3371,3342,3654,4046,4228,4199,4271,4361,4240,4260,4229,3584,3343,4051,4208,4252,3775,2962,2845,3261,3687,3834,3327,3396,4143,4327,3996,3801,3596,3805,4176,4408,4157,3738,3553,3981,4228,4086,3993,3671,3484,3838,3636,3585,4207,4668,4479,4332,4315,4146,4239,4536,4789,4984,5158,5108,4999,4999,5117,4673,4140,4252,4208,4328,4673,4848,4893,4664,4526,4613,4760,4442,4355,4276,3691,3194,3874,4628,3642,2287,2033,2545,2923,2724,2015,1611,1461,2104,2581,2774,3217,3283,3034,2924,3086,3308,2939,2304,1817,1995,2958,2690,1618,1841,2353,2443,2376,2511,2581,2641,2664,2503,2599,2711,2574,2476,2399,2294,1794,1840,1924,2069,2209,2035,1955,2100,2340,2288,2150,2125,2112,1945,2314,2969,2866,3076,3398,3311,3385,3028,2946,2671,2459,2684,2925,2684,3270,3150,2209,2557,2593,2432,2702,2264,2096,2178,2829,3307,3326,2499,1994,2152,1813,1830,2287,1780,1663,1742,2017,2133,2568,3639,3598,2930,2587,3073,3804,3946,3349,3098,2597,1627,2142,2431,2076,2080,2699,2585,2511,2414,2106,2350,2405,2122,1947,1885,2195,1874,1641,1936,2828,2060,1719,2061,2394,3195,3293,2421,1662,1885,2158,2294,2336,2779,3572,3764,3847,3548,3443,3547,3763,4108,4400,4448,4396,4240,3991,4420,4521,4001,3729,3802,3487,3170,3188,3285,3170,3075,3188,3239,3356,3378,3254,3585,3746,3305,3061,3375,3891,4004,3969,4086,4047,3820,3723,3713,3946,3968,3894,4096,4328,4277,3892,3913,4064,4023,3881,3443,3334,3606,4108,4573,4496,4373,4056,3351,2999,2866,2896,2856,3179,3266,3172,3073,3045,2953,2871,2911,2920,2995,3156,3510,3905,3935,4210,4276,4086,4005,3386,2405,2091,2456,2475,1882,1465,1459,1569,2169,2071,3110,3964,4028,3881,3699,3495,3076,3040,3363,2987,2924,2791,2584,3133,3729,2493,2096,2437,2555,2469,2687,3020,2544,2386,3174,2364,2430,2662,2298,2562,2685,2604,2922,2758,2332,2178,2060,2345,2419,2434,2371,2326,2782,2765,2424,2801,3022,2749,2745,2907,2066,1825,1870,1905,2041,2276,2048,1945,1863,2189,2740,2633,2335,2292,2257,2138,2231,2283,1872,2106,2056,1826,2303,2290,2423,2568,2534,2829,2620,2325,2215,1941,2508,2380,1954,1899,1926,2422,2667,2610,3005,3218,3284,2809,2171,2309,2922,2877,2059,1820,2131,2335,2245,2414,2592,2525,2622,2925,2678,2700,3249,3303,3053,2718,2598,2630,2770,2687,2529,2999,3509,3446,3325,2992,2913,2498,2156,2098,2408,2807,3339,3414,2989,3091,2972,2362,2702,3166,2678,2287,2135,2230,2437,2849,3322,3435,3454,3396,2846,2885,2873,2754,2518,2432,2296,2729,3404,3344,3223,2981,2385,1946,1867,2042,2282,2688,1931,1547,1684,2314,2568,2641,3062,3060,2662,2451,2400,2264,2377,2244,2093,2605,2644,2397,2292,2185,2138,2398,2352,2280,2953,2847,3183,2833,2343,2743,2146,1675,1748,2225,2220,1750,2103,3211,3169,2325,1933,1710,1505,1469,1431,1368,1610,2414,2746,2543,2000,2180,2916,2706,2258,2240,2484,4001,4479,4329,4540,4664,4420,4060,3864,3463,3350,3444,3132,3369,3209,2879],[2405,2356,2210,2084,2038,2136,1891,2287,2874,2906,2871,2595,2408,2680,3071,3039,2859,2852,2802,2769,2791,2973,2778,2516,2627,2841,2799,3175,3347,3533,3271,2932,2696,3054,3000,2889,3675,4014,3362,2795,2967,2610,1814,1597,1942,3066,4121,4184,3996,4300,4172,3158,2565,2790,2767,2660,3176,3231,3210,3099,2609,2891,2715,2438,2673,2385,2278,2644,2548,2561,2745,2667,2685,2626,2653,2337,2397,2304,1868,1959,2659,3220,3300,3181,3210,3100,3054,3307,2669,3027,3442,3623,3121,3099,3581,3628,3680,3217,3176,3197,3616,2953,1986,1737,1866,1865,1760,2247,3013,3073,3055,3183,3153,3083,3126,2856,2600,2459,2365,2482,2586,2652,2570,2445,2493,2237,2378,2433,2798,3239,3259,3232,3718,3968,3647,3538,3638,3331,3181,3480,3188,2984,3385,3911,4160,3485,2680,2524,2884,2884,2480,2440,3219,3343,2884,2491,2717,2743,2692,2069,1802,1884,1925,2026,2264,2392,2482,2597,3019,3341,3420,3840,3472,3327,3963,4036,3394,3031,3033,2980,2843,2943,3106,2767,2705,2809,2806,2976,2423,1825,1595,1491,1478,1508,1476,1836,2437,2630,3361,3512,3928,3676,3066,2794,3015,2257,2280,2512,2334,2620,2240,2464,2729,2505,2003,2039,2324,2289,2192,2101,2213,2258,1932,1843,1899,2453,3062,3252,3172,2286,2204,1927,2204,2108,2697,3284,3018,2090,1435,1686,1971,2021,2370,2686,2788,2789,2251,1606,1344,1528,2428,2701,2447,2780,2470,2618,2554,2383,2557,2873,2916,2333,2018,2531,3074,3296,3261,3009,2191,2156,2051,2128,2072,1951,2172,2032,1509,1234,1565,1961,1873,2056,2247,2196,2413,2248,2030,2171,2082,1899,2255,2273,1459,979,1786,2306,1952,1748,1547,1736,2389,2014,1929,1959,2025,1941,1491,1339,1472,1923,2655,3002,3405,3461,3658,3445,3207,2450,2216,2285,2502,2896,3091,2679,2923,3146,3009,2569,3528,3903,3385,2683,2240,2127,2310,2684,2723,2296,2310,2653,3385,2906,2199,2220,2373,2086,1941,2068,2247,2152,2086,2198,2396,2598,2417,2084,2276,2098,2177,2257,2199,2269,2382,2351,2312,2531,2697,2683,2430,2120,2266,2502,2358,1854,1862,2137,2358,2350,2207,2166,1771,1723,2138,2589,2762,2977,3703,3613,3492,3576,3473,2635,1781,1928,2126,2024,1949,2512,2728,2543,2652,2954,2259,1359,1725,2253,2195,1859,1783,1911,1625,2149,2608,2579,2555,2504,2046,2139,2545,3181,2905,1707,1517,1651,1858,2218,2554,1951,1849,2066,2453,2667,2645,3138,2474,1966,2431,2499,1676,1870,2441,2633,2212,1942,1996,1980,2288,2425,2280,2304,2217,3032,2643,2522,3278,2729,1699,1753,1665,1643,1815,1933,1900,2854,2975,2346,2645,2825,2385,2619,2590,2229,2447,2546,2336,2123,2198,2203,2142,2129,3270,3765,3274,3406,3628,3417,3564,3437,3154,3231,3348,3349,3252,3330,2915,3089,3034,3355,3751,3284,2822,3087,3510,3819,3748,3524,3399,3713,3858,3376,2824,2362,2080,2500,3134,3130,2698,2611,2856,3165,3115,2856,2314,2555,2744,2322,2566,2753,2805,3131,3118,3067,3063,3182,3224,2906,2210,2226,2590,2348,2433,2480,2495,2425,2835,2670,2066,2071,2287,2166,1930,2654,2981,2954,2858,2578,2664,3271,3716,3852,3828,3458,2953,2720,3252,3378,3109,2998,2157,2010,3282,3740,3419,2923,3044,2833,2608,2533,3312,3228,3053,3145,3138,2728,2974,3460,3385,3730,3665,2630,1881,1682,1709,1759,2166,2907,3285,3382,3032,2726,2841,2821,2985,2902,3099,2970,2976,2415,2133,1797,2062,2835,2754,2411,2267,2120,2773,2929,2741,2263,2984,2979,1800,1552,1719,2445,2656,2259,2279,2744,3440,3156,2810,3084,2944,2567,2193,1684,1522,1636,1719,2054,2514,2611,2341,2291,2872,2709,2250,1527,1654,1676,1582,2096,2402,2395,2437,2396,2353,2403,2412,2549,2476,2100,2520,1929,1861,2521,2404,2148,1880,2988,3563,2843,2094,2732,2379,2359,2600,2558,2176,2468,3000,2994,2956,3125,3110,2457,2600,2755,2362,2213,2059,2906,3476,3658,3171,2509,2511,2591,2912,3694,4099,4040,3948,3890,4172,3117,2245,2159,2307,2475,2412,2336,2286,2264,2098,2037,2030,2254,2177,2071,2231,2298,2608,2978,3144,3378,3254,2950,2846,2781,2817,2474,1658,1862,2276,2093,1794,1730,1846,1865,1608,1579,1747,1801,1770,1945,1854,1662,1516,1575,1350,1305,1722,1726,1776,1792,1710,1709,1792,1892,1892,1826,1840,1887,1977,1975,1805,1767,1545,1389,1935,2119,1750,2123,2104,1995,2344,2525,2282,2382,2889,2787,2674,2648,2160,1906,1964,2041,1952,1802,1540,1519,1720,1735,1867,2162,1921,1837,1943,1613,1761,1515,1486,1582,1717,1704,1791,2299,2240,1998,1741,1614,1502,1484,1929,1901,1809,1770,2004,1996,1841,1791,1632,1740,1924,2576,1959,1768,1830,1963,2055,1741,1460,1700,2018,2301,2548,2395,3046,3009,2573,2512,1992,2136,2495,2603,2851,2896,2476,2573,3581,3886,3466,3120,3177,3108,2762,2574,3141,3527,3241,3610,3736,3271,3260,3162,3321,3483,3657,3606,3406,3121,3008,3161,3108,3015,3065,3016,3359,3553,3937,4101,3761,3572,2791,2869,3646,3323,3552,4332,3977,3317,3034,3687,3445,3602,3324,3436,3051,2358,2097,2033,2821,3100,2542,2812,2987,2754,2896,2103,2002,2165,2292,2172,2046,2942,3012,2974,3518,3907,3706,3183,3129,2667,2783,2701,2773,3349,3116,2392,2740,2698,2195,2748,2545,2310,2798,2678,2709,2667,2674,3123,3508,2724,2004,2114,2334,2231,2127,2411,2030,1824,2304,2654,3018,2290,2454,2915,2649,1846,1634,1957,2199,2598,2269,1626,1748,1779,1976,2018,1846,1288,1368,1900,1950,1898,2364,2609,2178,1965,2006,1907,2476,2714,2854,3208,3251,3040,2927,2812,2143,1653,1589,1882,1918,2353,2962,2656,2259,1836,1811,2187,2421,2053,1688,1621,1453,1754,1986,2093,2193,2650,3348,3292,2745,2268,1819,1792,1990,1682,1776,2010,2147,1953,2174,2277,2196,2316,2686,2850,2512,2098,1741,1555,1591,1815,2004,2122,2476,2534,1592,986,1348,2054,2514,1784,941,1630,2647,2130,1939,1854,1932,1678,1381,1383,1565,1461,1556,2209,2438,1919,1636,1453,1399,1460,1431,1329,1366,1441,1460,1905,1873,1571,1671,1511,1542,1428,1272,1334,1410,1427,1521,1708,2011,2085,1781,1325,1438,1560,1682,1604,1820,2344,2510,2829,3073,3177,3259,3230,3340,3284,3142,3095,3400,3793,3471,3469,3330,3350,3695,3422,2739,2024,2094,3044,3400,3308,3603,3682,3718,3872,3791,3783,3792,3588,3082,2784,2803,2942,2476,2455,3677,4102,3749,3528,3301,2950,2868,3094,3361,3149,3352,3733,3565,3715,4199,4364,3893,3392,3350,3037,2873,2785,2865,3327,3974,4140,3871,3581,3526,3747,3728,3801,4140,4357,4304,4152,4240,4261,4260,4361,4209,3207,2721,2922,3507,4459,4576,4086,3127,3121,3914,4111,3936,4176,4520,4416,3885,3749,3439,3420,3903,4445,4275,3875,3657,3760,3970,4160,4047,3740,3696,3805,3770,3416,4208,4953,4584,3962,3918,4123,4061,4147,4252,4520,4683,4984,5067,5136,4923,4640,3963,3739,3794,4062,4432,4503,4628,4495,4495,4483,4420,4041,4628,4412,3510,3230,3960,4560,3650,2415,2199,3248,3884,3530,2071,1838,2488,3068,3135,3263,3344,2852,2614,2887,2824,2916,2512,2257,2270,2314,2564,2289,1710,1920,2051,1831,2156,2810,2947,2432,2425,2245,2629,2951,2554,2680,2604,1952,1705,1994,2278,2411,2231,1875,2250,2708,2479,1991,1749,1645,1656,1557,2211,3031,2641,2635,3168,3063,2988,3063,3085,2564,2101,2957,2864,2460,2956,2459,2456,3264,2843,2445,2559,2351,2577,2994,2988,3014,3293,2801,2243,2426,2092,2046,2510,1570,1785,2298,2565,1963,2358,3957,3706,2845,2642,2491,2743,3046,2977,2791,2048,1690,2240,2457,2204,2431,2709,2443,2757,3013,2513,2391,2362,2326,2094,2381,2738,2737,2409,2470,2691,1975,2048,2499,2714,3455,3304,3006,2598,2336,2401,2457,2434,2979,3585,3737,3710,3674,3536,3646,3928,4124,4216,4432,4463,4484,4440,4388,4216,3962,3978,3960,3581,3150,3086,3153,3184,3129,3018,3130,3271,3287,3257,3552,3813,3487,3340,3570,3930,3986,3914,4049,4038,4108,3974,3848,3808,3574,3784,4086,4262,4276,3882,3936,3876,3758,3718,3422,3306,3495,3717,4094,4523,4476,3880,3253,3032,2788,2856,2980,3238,3342,3212,3030,2924,2825,2752,2842,2889,2962,3182,3573,3736,3763,4128,4161,3965,4357,4051,2778,2374,2546,2028,1587,1512,1372,1439,1623,1958,2662,3249,3347,3208,2842,2518,2854,3349,3916,3295,2651,2062,2366,2927,3312,2387,1793,2210,2466,2634,2933,3210,2538,1941,2749,2298,2470,2874,2513,2689,3033,2652,2504,2442,2257,2470,2564,2770,2566,2405,2044,2219,3042,2808,2056,1924,2148,2158,1861,2090,1822,1822,2022,1624,2002,2032,1932,2042,2103,2236,2100,2088,2261,2002,2265,2344,2162,2454,2242,2214,1886,2174,2329,2036,2551,2542,2154,2244,1980,2393,2087,2312,2654,2556,2084,1742,1898,2292,2500,2487,2862,3339,3266,2987,2278,2477,3079,2407,1658,1986,2287,2221,2264,2232,2065,1990,2157,2533,2359,2357,3067,3619,3475,3114,2978,3055,3120,2708,2112,2707,3116,2999,2929,2392,2352,2546,2425,2357,2695,3016,3754,3935,3308,3196,2857,2917,3541,3762,2923,2329,2106,2578,3125,2922,3287,3806,3550,2414,2647,2735,2497,2465,2489,2534,2207,2551,3300,3033,3071,2996,2743,2497,2042,2156,2322,2090,1879,1729,1874,2405,2387,2253,2567,3029,2600,2313,2304,2025,1872,2290,2306,2233,2260,2446,2414,2597,2437,2449,2496,2244,2647,2934,2669,2609,2467,2437,2343,2204,1944,1954,1839,1368,1586,2770,2389,2335,2306,1856,1704,1612,1517,1526,1647,1804,2271,1973,1657,1723,2394,2270,1991,1880,2268,3803,4463,4196,4375,4699,4423,4060,3982,3658,3438,3698,3626,3938,3340,3128],[2472,2334,2138,1973,1865,1824,2196,2820,2997,2871,2510,2324,2485,3283,3364,3233,2792,2586,2507,2503,2471,2420,2499,2428,2614,2733,3105,3173,3121,2790,2543,2129,2553,3409,3676,3254,3436,3630,2701,2322,2930,2836,2375,2030,1935,2886,3647,3803,3708,3651,3481,2706,2251,2213,2245,2839,3263,3462,2955,3204,3285,3252,2979,2960,2810,2187,2269,2669,2375,2196,1902,2089,2511,2363,2054,2199,2425,2269,2082,2209,2564,3088,3263,3176,3275,3350,3396,3486,2623,2800,3421,3576,3221,3077,3624,3585,3770,3537,3383,3276,3400,3471,2720,1988,1925,2128,2110,2570,3252,3123,3231,3320,3309,3220,2882,2469,2561,2766,2483,2508,2326,2045,2211,2458,2385,2344,2422,2644,3112,3297,3184,3603,3927,3742,3379,3393,3650,3507,3350,3567,3378,3297,3628,3728,4013,3553,2673,2533,2722,2510,2260,2801,3378,3076,3065,2376,2920,2663,2362,2312,2168,1840,1915,2149,2185,2146,2330,2555,2798,3135,3328,3570,3610,3572,3926,3442,2396,2620,2907,2977,2973,3311,2891,2177,2507,2369,2232,2460,2360,1864,1588,1522,1476,1476,1559,2150,2329,2523,3460,3796,4082,4157,3684,3432,3250,2687,2656,2588,2700,3352,2497,2380,2342,2110,2023,2189,1907,1817,2231,2104,2232,2232,2000,2131,2181,2396,2340,2785,2721,2101,2157,2337,2199,2182,2684,2904,2531,1653,1184,1117,1792,2193,2653,2221,2023,2399,2176,1773,1822,2124,2971,2790,2907,3011,2313,2207,2083,2029,2151,2780,3106,2669,2604,2872,2938,3306,3312,3270,2967,2872,2780,2864,2475,1629,1227,1425,1976,2315,2055,2042,1929,2145,2234,2222,2509,2162,2172,1971,1562,1470,2004,2618,1852,1167,1837,2083,1995,2093,2048,2579,2270,1782,2332,2461,2062,1750,1878,1875,2009,2126,2282,3046,3753,3969,4124,3426,2397,2095,2498,2553,2769,3198,3483,3160,2994,2507,2315,2497,2835,2621,2723,2765,2282,2261,2769,3211,2768,2194,2536,2958,2941,2279,2269,2702,2827,2801,2863,3010,2974,2495,2501,2762,3096,3060,2621,2858,3042,2850,2715,2864,2984,3276,3184,3249,3228,3155,3184,3497,3480,3344,3544,3873,3078,2163,2387,1686,1761,2064,1881,1496,1692,1881,1908,1682,1779,2003,2034,1863,1750,2075,2603,2579,1820,1625,1812,1891,2079,2075,2304,2195,1920,2067,1730,1327,1799,2532,2669,2394,2010,1904,1951,2829,3088,2617,2459,2185,2280,2427,2674,3361,2722,2271,2514,2382,2047,2432,2701,2154,1934,2231,2656,2998,3176,2837,1752,1982,2720,2573,1803,1827,2511,2503,1947,2316,2721,2278,2306,2331,2213,2398,2402,2924,3454,3047,2947,2588,2043,2023,2029,2160,1832,1881,1819,2712,2734,2384,2319,2369,2432,2920,3046,2967,3029,2841,2433,2019,2205,2332,2170,1928,2835,3629,3104,3329,3588,3202,3598,3407,3209,3204,3200,3143,3266,3550,3630,3759,3317,3210,3736,3873,3319,3320,3514,3813,3442,3077,3191,2997,3283,3340,2763,2246,2263,2048,2278,2164,1921,2423,3312,3520,3110,3104,2744,2462,2442,2451,2379,2169,2241,3028,3465,3623,3564,3331,3159,2931,2519,2626,2699,2802,2636,2337,2781,3046,3530,2776,2209,2016,2233,2028,1985,2379,3002,3562,3506,3392,3056,2997,3466,3450,3065,2655,2282,2755,3371,3322,3300,3226,2661,2843,3666,3836,3370,3010,2576,2722,3011,2522,2851,2587,2487,2932,2686,2304,3339,3486,3629,3770,3205,2707,2314,1803,1739,1877,1954,2464,3108,3345,3108,3062,3200,3209,3155,3089,3300,3204,3007,2477,2366,2100,1901,2364,2579,2544,2466,2598,3288,2753,2600,2184,2975,2612,1489,1686,2632,3484,3045,2381,1834,2204,3120,2995,2645,2586,2718,2740,2509,1875,1406,1462,1636,1875,2436,2690,2413,2259,2636,2709,2500,1770,1705,1771,1553,1891,2483,2418,2406,2523,2216,1983,2110,2353,2374,2185,2497,2159,2375,2555,2402,2438,1986,2592,3335,3007,2029,2332,2840,2662,2406,2686,2713,2745,2903,2765,2922,3123,2930,2547,3443,3112,2401,2007,1639,2470,3617,3841,3173,2450,2404,2475,3228,3630,3573,3872,4121,4042,3996,2903,2201,2769,3066,3190,2778,2517,2274,2165,2142,2331,2450,2730,2489,2407,2485,2276,2027,1931,2348,2631,2949,2767,2691,2784,2798,2351,1756,1705,1926,1959,1792,1765,2091,1921,1639,1675,2124,2253,2361,2428,2050,1604,1584,1616,1422,1336,1873,1893,1835,1771,1771,1801,1854,1925,1922,1858,1894,1932,1987,2228,2669,3198,2643,1472,1865,2104,1891,2903,2995,2592,3008,2813,2416,2547,3033,2899,2739,2932,2801,2262,2129,1987,1872,1953,1722,1707,1730,1884,2059,2129,1868,1932,1844,1764,1709,1537,1541,1450,1601,1703,1756,2383,2338,1813,1688,1510,1513,1594,1694,1566,1625,1896,2145,2054,1859,1619,1948,1976,1961,2931,2122,1945,2005,2302,2465,1907,1476,1533,1626,2014,2563,2466,2655,2495,2189,2569,2326,2199,2298,2319,2649,2941,2930,3585,4128,3837,3309,2907,2822,2856,2796,2698,3441,3638,2452,2973,3437,3558,3520,3223,3162,3464,3693,3816,3737,3279,2963,3142,3354,3182,2977,3044,3264,3535,4051,3401,3437,3597,2905,2897,3368,3172,3223,3695,3958,4000,4021,4014,3642,3039,2639,3077,2909,2392,2185,2254,3006,3297,2968,2858,3184,2980,2615,2309,2702,2564,2463,2390,2360,2632,2766,2751,2757,3256,3030,2919,3038,2995,3350,3351,3458,3586,2977,2472,2675,2263,1857,2122,2011,2112,2677,2442,2775,2684,2809,3165,3094,2504,2158,2156,2069,2375,2405,2511,1864,1938,2460,2041,1993,1933,1781,2332,2513,1841,2145,1942,2152,2755,2667,2115,1801,1708,1815,1754,1665,1561,1846,2076,1860,2014,2557,2557,2374,2403,2803,2530,2504,3032,3286,3259,3370,3292,2999,2705,2173,1859,1828,1974,2173,2522,2320,1968,1727,1691,1733,1562,1654,1781,1638,1203,1632,2011,2381,2335,2096,2575,3606,3560,2955,2653,2010,2193,2196,1332,2042,2029,1731,2023,2236,2113,2115,2138,2354,2661,2880,2688,2247,2099,2351,2174,2217,2166,2765,2856,1542,829,861,1145,1607,1141,1024,2417,3916,3540,2615,1775,1755,1756,1576,1473,1608,1456,1481,1842,2123,2024,1782,1390,1427,1519,1528,1402,1369,1264,1411,1698,1726,1666,1775,1353,1462,1490,1366,1374,1356,1349,1370,1513,1962,2327,2420,1460,1606,1660,1387,1511,2018,2759,3075,3373,3716,3844,3663,3616,3709,3899,4027,4026,4060,4136,3802,3784,3794,3617,3934,4061,3334,3127,3426,3704,3378,3349,3745,3956,3898,3942,4059,4085,3894,3550,3482,3233,2793,3282,3128,2898,3775,4096,4013,3726,3443,3257,3099,3220,3408,3364,3461,3917,3716,3758,4155,4215,4026,3482,3143,3166,3167,3095,3094,3674,4297,4360,4272,4160,4048,4109,4166,4276,4373,4479,4464,4409,4348,4276,4258,4181,4049,3317,2695,3121,4160,4664,4709,4481,3711,3539,4216,4295,4173,4341,4471,4432,4001,4064,3883,3675,3877,4340,4431,4070,3803,3814,4065,4384,4113,3509,3822,4179,4207,3797,4182,4728,4420,3766,3479,3729,3809,3802,3965,4285,4452,4729,4832,4819,4776,4366,3338,2997,3449,4047,4404,4408,4465,4305,4665,4716,4112,3645,4145,4042,3741,4037,4299,4495,3802,2894,2379,3227,3793,3659,2866,3075,3646,3327,2984,3177,3584,3491,3051,2954,2588,2656,2653,2625,2442,2258,2679,2767,2410,2275,2076,2050,2425,3094,2824,2754,2841,2713,2668,2202,1902,2184,1960,1692,1657,1854,1979,2051,1810,1674,2175,2762,2824,2569,1921,1470,1615,1841,2121,2440,2192,2091,2955,3067,2322,2053,2110,2054,1869,2333,2567,2533,2522,2385,2968,2691,2033,1880,2297,2376,2527,2985,2718,2686,3186,2972,2444,2438,2018,2208,2261,1604,2089,2508,2416,1971,2343,3536,3227,2412,2686,2621,2382,2302,2258,2308,1899,2006,2446,2463,2844,3537,3605,2897,2503,2945,2878,2331,2355,2664,2682,2959,2836,2801,2821,2700,2515,2318,2233,2309,2611,3196,2994,3177,3421,3175,3012,2623,2587,3060,3640,3701,3583,3580,3561,3555,3848,4388,4287,4406,4406,4375,4520,4387,3991,3829,3920,3770,3437,3195,3241,3349,3418,3261,3024,3041,3134,3172,3141,3431,3608,3565,3537,3434,3958,4225,4252,4253,4152,4155,4001,3934,3828,3580,3783,3970,4055,3994,3797,3859,3773,3629,3432,3373,3360,3405,3521,3977,4375,4505,3803,3422,3164,2848,2817,2964,3186,3325,3216,2950,2817,2784,2772,2988,3161,3241,3470,3530,3622,3653,3950,3958,3847,4284,4143,2854,2142,2094,1616,1640,1562,1376,1325,1419,1564,1564,2162,2944,2909,2437,1878,2677,3264,4185,3784,2967,2071,2464,3062,3238,2574,1989,2767,2796,2510,2311,2302,2302,2083,2472,2313,2179,2617,2587,2623,2800,2156,2171,2077,1997,2969,2829,2612,2249,1941,1868,2281,2916,2830,1635,1327,1531,1533,1646,1701,1577,1541,1583,1841,2078,1952,1951,2245,2342,2102,1994,1817,2087,2301,2621,2353,2263,2253,2083,1958,1835,2038,2122,2818,2662,2226,2056,2183,2175,2110,2019,2358,2310,2306,2271,2063,2222,2744,2670,2569,2676,3196,3217,2988,2239,2579,3291,2727,2212,2298,1963,1946,2314,1960,1918,1983,2618,2523,2406,2610,2953,3610,3807,3666,3517,3272,3076,2845,2655,2974,2808,2764,2604,2466,2502,2514,2468,2754,2673,2243,2804,3165,3122,3016,2716,2872,3518,4120,3516,2441,2275,2812,3233,2393,2821,3618,3083,2340,2926,2798,2397,2450,2526,2544,2330,2573,3342,3107,3065,3175,3086,2896,2918,2932,2843,2732,2284,1746,1656,1727,1718,1330,1947,2958,2687,2321,2147,2091,2548,2703,2281,2235,2708,3098,2416,2688,2451,2247,2229,2336,2542,2511,1958,1984,2318,2398,2211,2204,1787,1587,1644,1191,1158,1708,2016,2567,2399,2018,1918,1750,1776,1729,1694,1756,2129,1702,1473,1544,1998,1975,1711,1941,2842,3835,4184,4061,4375,4678,4603,4288,3747,3414,3444,3802,3840,3918,3876,3959],[2416,1967,1700,1845,2115,2553,2844,2937,3421,3686,3206,3163,3263,3196,3265,3025,2259,2197,2458,2411,2219,2192,2320,2439,2453,2662,2833,2796,2621,2307,2446,2375,2376,2900,3450,3020,2849,3262,2896,2468,2756,2864,2489,2655,2524,2543,2943,3432,3530,3432,3230,2608,2315,2137,2429,2941,3037,2676,2829,3248,3074,3056,3131,3144,2687,2051,2150,2679,2612,1924,1598,1947,2369,2088,1960,2204,1989,1946,1964,1897,1931,2392,2695,2880,3060,3133,3294,3379,2996,3044,3417,3574,3006,3022,3548,3580,3804,4011,3845,3602,3144,3052,3128,2885,2325,2206,2502,3186,3241,3494,3548,3447,3339,2956,2526,2727,3085,2872,2610,2757,2547,2564,2520,2806,2786,2643,2664,3160,3378,3121,3119,3562,3454,2613,2253,2708,3399,4007,4069,3663,3493,3480,2846,2918,3674,3231,2710,2722,2691,2278,2218,3226,2985,3137,3084,2850,2885,2618,2380,2720,2907,2475,2383,2312,2230,2121,2374,2429,2732,2651,2839,3217,3556,3561,3338,2384,1927,2325,2556,3001,3086,3175,2476,2220,2361,2185,2155,2494,2718,2609,2546,2009,1701,1603,2556,3074,2182,2296,3203,3825,4156,4332,4128,3581,3152,2920,2756,2619,2714,3522,3109,2509,2336,2325,2504,2786,2445,2480,2298,1989,2297,2448,2388,2699,2998,2678,2310,2388,2778,2629,2491,2755,2492,1750,1656,1870,2078,1891,1887,1611,1959,2551,2441,1612,2002,2776,2433,2031,2398,3146,3474,2714,2828,2609,2508,2601,2444,2347,2328,2676,2980,2876,2898,2863,3039,3182,3296,3514,3328,3419,3626,3663,3184,1992,1454,1642,2176,2269,2304,2242,2149,1812,1831,2044,2315,2295,1997,1955,1754,1913,2574,2931,2139,1084,1600,2066,2477,2687,2705,2504,1779,1524,1906,2175,2154,1501,1929,2184,2056,1822,1981,2432,3242,3987,3774,3000,2368,2094,2894,2851,3487,3689,3760,3191,2690,2103,1755,2101,2540,2535,2676,2691,2342,2446,2545,2502,2121,2300,2691,2720,2326,2175,2536,2831,2966,3028,2768,2987,2887,2547,2231,2441,2889,2963,2890,2994,3117,3137,3177,3321,3324,3680,3828,3681,3462,3426,3525,3552,3275,3275,3760,3945,3241,2259,2563,1698,2020,2428,2083,2033,2540,2800,2757,2499,2077,1968,2190,2040,2176,2121,2500,2544,1776,1427,1395,1441,1554,1458,1480,1657,2163,1997,1584,1480,1829,2061,2474,2462,2214,1863,1931,2897,3230,2662,2261,1937,2160,1952,2244,2667,2872,2789,2712,2269,2127,2344,2412,2328,1968,2004,2418,2558,3074,2432,1533,2099,2633,2247,1932,2148,2750,2530,1960,2248,2790,2758,3107,3072,2641,2470,2146,2070,2314,2343,2518,2036,1644,1798,2476,2476,2013,2025,1991,2315,2805,2342,2116,2649,2852,2787,3073,3260,2850,2388,2326,2324,2260,2231,2162,1918,2634,3688,3701,3848,3815,3559,4025,3575,3326,2964,2436,2269,2907,3658,4276,4419,4002,3375,3454,3929,3707,3651,3071,3065,2711,2897,3392,3110,3001,3188,2460,2209,2514,1925,2294,2158,2521,3067,3962,4120,3852,2873,2114,2345,2765,2922,2644,2360,2556,3538,3898,3835,3847,3779,3953,3784,3251,2883,2712,2880,2520,2409,2762,3186,3538,2712,2260,2505,2562,1997,2308,3151,3530,3362,3506,3418,2949,2979,3309,3176,2987,2632,2648,3106,3462,3520,3188,2993,3029,3338,3608,3707,2622,2271,2407,2634,2841,2638,2812,2864,2468,2332,2642,3063,3783,3453,3730,3935,3421,3096,2722,1995,1785,1823,1760,2111,3105,3370,3090,3118,3024,3294,3510,3462,3281,2995,2798,2890,2545,2046,1932,2495,2642,2688,2668,2942,2921,2653,2522,2292,2990,2800,1548,1808,2600,3448,2919,2591,2186,2307,2799,2922,2610,2520,2620,2786,2684,2041,1593,1380,1613,1818,2301,2701,2536,2387,2800,3121,2824,2035,1600,1758,1722,1902,2513,2490,2438,2600,2320,2371,2258,2279,2348,2305,2172,2032,2522,2567,2855,2931,2558,2017,2280,2502,2002,2331,3094,2929,2346,2639,2944,2563,2623,2675,2670,2481,2610,2438,2980,3275,2792,2143,1875,2338,3052,2907,3210,2828,2512,2922,3482,3908,3939,3670,3650,3709,3265,2419,2112,2251,2479,3370,3097,2908,2620,2238,2320,2762,2732,2518,2190,2111,2162,2233,2467,2039,2220,2119,2055,1967,2149,2298,2406,2122,1642,1626,1748,1850,1751,1795,2109,2402,2062,2121,2509,2674,2724,2614,2035,1599,1766,1688,1364,1442,1930,2007,2030,2024,2041,2075,2105,2147,2177,2191,2218,2171,2086,2209,3017,3427,2888,1669,1683,2128,1926,2586,3454,3296,3221,2993,2344,2335,3098,3153,2887,3046,2978,2416,2377,2193,1834,1802,1873,1858,1626,1772,1883,1846,1694,1594,1535,1753,1710,1588,1673,1406,1496,1782,1621,1841,1836,1561,1436,1362,1416,1576,1510,1533,1889,2210,2286,1717,1800,1748,1604,1611,1830,2062,1818,1576,1770,2326,2216,2070,1545,1582,1526,1810,2346,2581,2414,1988,2286,2880,2710,2414,2076,2281,2746,2880,3537,4100,3922,3269,2635,2479,2288,2214,2524,2731,3215,3294,2211,2564,3260,3432,2868,2385,2559,3104,3287,3400,3345,2883,2876,3188,3330,3173,3119,3021,3065,3458,3595,3073,3316,3687,3352,3190,3372,3327,2652,2889,3178,3860,3985,4073,3774,2634,2244,2941,3008,2678,2956,2886,3076,3195,2764,3043,2934,2381,1919,2130,2850,2695,2261,1972,2008,2363,2712,2513,2336,2511,2754,2923,2680,2666,3032,3275,3868,3796,2854,2438,2690,2364,2491,2559,2570,2447,2615,2669,2703,2156,2062,2681,2910,2436,2142,2092,2138,1812,2066,2341,1832,2369,2640,1820,1640,1923,1876,1612,1922,2461,3031,2391,2325,2381,2352,1945,1932,2138,1933,1615,1484,1492,1976,2098,1948,2326,2351,2280,2305,2209,2466,2513,2484,2752,3342,3565,3194,3017,2776,2332,2315,2069,1837,1769,2226,2227,1704,1605,1638,1651,1626,1631,1578,1860,1626,1610,2148,2258,2244,2011,1768,1949,2206,1930,1878,2588,2013,1996,1901,1794,2259,1919,1787,2272,2340,2176,1791,1734,2072,2230,2228,2172,2284,2238,2567,2621,2555,2198,2734,2963,1910,1582,1458,1290,1415,1097,1432,3131,4100,4104,2740,1725,1702,1538,1555,1471,1733,1788,1431,1438,1623,2045,1691,1461,1538,1649,1500,1341,1216,1241,1279,1250,1341,1412,1416,1264,2122,2030,1358,1317,1372,1421,1439,1957,3157,2954,2662,1641,1362,1352,1472,1578,1708,2482,3124,3498,4105,4221,3984,3875,3951,4160,4288,4262,4203,4307,3967,3695,3758,3822,3944,4026,3365,3808,4090,4019,3352,3353,3748,3968,3768,3691,3823,3868,3720,3482,3748,3394,2806,3851,4058,3119,3539,3892,4156,4084,3454,3248,3481,3284,3278,3629,3592,4005,4072,4003,4231,4272,4036,3709,3728,4109,4180,3826,3319,4033,4338,4392,4284,4300,4374,4420,4407,4390,4452,4432,4384,4377,4312,4179,4093,4048,4124,4048,3615,3969,4480,4559,4639,4560,4165,4045,4420,4335,4236,4086,3902,4188,4371,4371,4214,4111,4144,4371,4491,4219,3846,4013,4181,4037,3732,3215,3958,4671,4726,4651,4615,4419,3904,3666,3448,3266,3304,3287,3620,4094,4365,4407,4524,4552,4660,4401,3696,3274,3906,4344,4288,4321,3496,3891,4628,4656,4083,3904,4461,4344,3882,4391,4851,4792,4444,3854,2984,3184,3343,3513,3760,4017,3864,3624,3404,3215,3440,3520,3260,3051,2754,2647,2967,2868,2385,2475,3116,3262,2977,2753,2366,2346,2400,2374,2284,2464,2500,2491,2333,2083,1968,1957,1979,2118,1743,1715,1550,1765,1822,1780,1795,1955,2242,2231,2127,2434,2111,1707,1677,1983,2078,2212,2866,3226,2531,2254,2272,2070,1890,2140,2213,2125,2209,2193,2798,2539,2198,2084,2280,2308,2155,2200,2198,2356,2611,2652,2287,2362,2128,2268,1921,1693,2048,2444,2362,2113,2591,3076,2634,2677,2697,2323,2043,1979,1964,1590,1754,2480,2590,2512,3043,3846,3648,2736,2468,2657,2777,2343,2208,2402,2429,2676,2817,2742,2482,2416,2416,2346,2282,2403,2654,2820,2314,2556,3262,3496,2946,2307,2464,3199,3826,3268,3350,3496,3453,3425,4049,4804,4656,4434,4363,4495,4745,4532,4138,3932,3925,3605,3292,3273,3234,3260,3372,3328,3256,3208,3208,3149,3087,3421,3461,3503,3518,3845,4389,4579,4552,4455,4197,3845,3710,3782,4033,3823,3710,3877,4004,3920,3596,3639,3779,3689,3483,3421,3488,3609,3780,3848,3803,4183,3794,3420,3164,2900,2818,2972,3196,3263,3172,2995,2885,2817,2980,3208,3353,3422,3472,3586,3729,3631,3813,4264,4487,4580,4400,3150,1968,1665,1601,1664,1438,1339,1566,1799,1764,1544,2119,2805,3142,3182,2098,2481,3122,3925,3647,2889,2339,2252,2468,2374,2012,2297,3022,2796,3040,2877,2164,2127,2302,2536,2220,2171,2450,2228,2219,2307,1947,1788,1716,1807,2522,2420,2522,2683,2325,2299,2635,2504,2699,2344,2046,2105,2078,1947,1948,1897,1792,1991,2427,2397,2313,2255,2518,2453,2110,2154,2198,2599,2720,2715,2702,2662,2326,2046,1994,2043,1650,1382,2052,1825,2053,2196,2159,1973,1798,2225,2304,1536,1445,2305,2212,1899,2164,2358,2608,2648,2876,3082,3047,2713,3051,3529,3124,2568,2013,1721,1838,2055,2434,2648,2825,3244,2624,2394,2395,2597,3094,3119,2872,2751,2622,2620,2611,2586,2509,2411,2503,2518,2466,2574,2498,2430,2498,2518,2274,2614,2834,2850,2637,2769,2986,3353,3993,3732,2734,2850,3128,3306,2416,2831,3486,2538,2099,2856,3144,2706,2454,2445,2337,2163,2778,3210,3055,3016,3238,3523,3617,3530,3510,3814,3364,1739,1367,1610,2165,1875,1399,2107,2988,2745,2533,2346,2316,2918,2668,2015,2408,2981,3256,2811,2367,1959,2093,2032,1969,2462,2622,1883,1716,2181,2542,2143,2131,1785,1686,2067,1732,1937,2198,2221,2116,1774,1911,2004,1770,1631,1653,1625,1754,1633,1691,1605,1531,1670,1734,1581,2013,2994,3416,3563,4074,4588,4587,4331,3894,3372,3085,3376,3703,3662,3863,4133,4092],[2252,1699,1961,2532,2712,2756,2780,2901,3257,3574,3839,3854,3486,2674,2565,2540,2086,2062,2336,2209,1897,1979,2371,2832,2879,2796,2579,2631,2439,2344,2460,2241,2447,2409,2614,2643,2776,2930,2757,2555,2705,2943,3173,3244,3166,2916,2532,2454,2697,2872,2879,2432,2338,2518,2692,2850,3039,2743,2831,3079,2784,2749,2745,2824,2565,2161,2421,2643,2335,2002,1825,1954,2425,2532,3025,2901,2520,2167,2131,1974,1720,1974,2762,2979,2835,2887,2972,3063,3212,3370,3349,3591,2977,3108,3524,3527,3805,3984,3828,3277,2536,2513,3011,3361,2980,2450,3052,3329,3374,3353,3163,3104,3097,2611,2600,3191,3264,3306,2812,3062,3334,3378,3027,3055,2684,2939,3379,3334,3204,2954,2994,3242,3103,2405,2025,2045,2539,3623,4132,3915,4052,3629,2524,2730,3084,2434,2345,2521,2340,2019,2224,3340,3304,3205,3474,3686,3319,2712,2543,3034,3209,3023,3143,2769,2456,2348,2492,2395,2297,2314,2395,2732,3321,3352,2555,1748,1619,2158,2727,3139,3162,3159,2958,2503,2154,2080,2276,2951,3348,3198,3241,3007,3019,2927,3565,3447,2976,3051,3248,3691,4141,4008,3707,3372,2986,2894,2886,2796,3207,3493,3461,3217,2999,2956,3097,2953,2562,2462,2049,2235,2437,2270,2148,2531,2955,3189,3120,3438,3991,3450,3271,3597,3038,1965,1317,1360,2005,2250,2114,1919,1954,2447,2320,1880,2783,3054,2492,2030,2260,2548,2905,2857,2740,1784,1361,1893,2252,2368,2807,3168,2928,2696,2868,2752,2928,3190,3017,2379,2213,2910,3197,3408,3320,2286,2014,2499,3146,2661,2203,2685,2553,1917,1867,1950,2282,2371,1970,2173,1899,2106,2352,2756,2526,1864,2328,2825,2824,2907,3060,2307,1973,1947,1777,1965,2036,1545,1683,2106,1878,2108,2490,2370,3163,3952,3225,2655,2598,2298,3131,2974,3365,3539,3550,3333,2723,2169,2046,2170,2286,2095,2480,2256,2510,2552,1944,1627,1633,2204,2284,2093,2388,2647,2910,3179,2878,2590,2614,2922,2866,2512,2127,2360,2910,2999,2763,3085,2974,2978,3185,2851,2839,3436,3679,3330,2975,2930,3137,3112,2829,3058,3639,3692,3436,2562,2394,2684,3131,2872,2223,2237,2589,2699,2824,3244,2488,2275,2346,2243,2272,2317,2484,2178,1991,2077,1948,1807,1535,1694,1550,1572,2021,1658,1699,1455,1433,1792,1823,1563,1732,1740,1661,2067,2792,2621,2029,1947,2400,1891,2048,2205,2112,2154,2050,2040,2271,2128,2193,2500,2209,1874,2446,2487,2451,2125,1758,2232,2242,1900,1999,2623,3297,2784,2088,2270,2398,2629,3195,2999,2641,2495,2048,1946,2397,2590,2813,2142,2230,2357,2449,2302,2292,2384,2316,2497,2809,2530,2287,2340,2485,2597,3120,3012,2459,2526,2854,2292,2012,2145,2076,1846,2107,3097,3694,3972,3812,3768,3985,3650,2943,2094,1715,1741,2366,3527,4299,4275,4168,3794,3522,3303,3359,3951,3947,3238,2278,2208,2962,3237,3007,2911,2494,2715,2117,1977,2065,1911,2311,2846,3306,3561,3198,1943,1835,2236,2686,2923,2792,1969,2732,3670,4230,4381,4140,3930,3965,3769,3243,2709,2945,2967,2284,2286,2874,3223,2702,2374,2524,2678,2385,2060,3021,3444,3319,3304,3566,3459,2890,3017,3239,3117,2967,2932,3042,3008,3261,3188,2975,2779,2979,3500,2954,2972,2159,2509,3025,2697,2585,2319,2595,3516,3007,2488,2722,3116,3483,3474,3843,3997,3795,3419,2677,2220,1849,1772,1788,2012,2675,2701,2994,3499,3620,3426,3638,3436,3255,3442,2806,2347,2113,2121,2399,2956,2550,2445,2676,2222,2274,2750,2504,2522,2966,2620,1532,1735,2352,2886,2644,2688,2264,2386,2851,2829,2863,2908,2658,2831,3013,2514,2092,1506,1434,1641,2243,2577,2545,2475,2654,2997,3191,2626,1913,1954,2077,2196,2540,2711,2597,2591,2450,2624,2544,2223,2220,2214,2092,2031,2137,2271,2639,2520,2537,1843,1887,2188,1887,1900,2318,2651,2387,2338,2659,2287,2249,2280,2652,2575,2556,2325,2251,2831,3124,2779,2613,2300,2858,1953,2658,3059,2877,3339,2638,2641,3821,3908,3709,3349,2765,2297,2120,2215,2392,3008,2942,2958,2444,1873,2286,2678,2938,2781,2286,1980,1925,2066,2258,2477,3125,2825,2071,1936,2068,1807,1970,2045,1947,1754,1717,1811,1780,1848,1915,2132,1990,2020,2146,2084,2031,2040,1999,1948,2019,1864,1469,1720,2164,2282,2344,2344,2316,2332,2367,2395,2404,2403,2382,2336,2232,2193,2664,2735,2765,2074,1545,2179,2148,2330,3521,3814,3665,3270,2452,2350,2559,2646,2743,3151,3176,2647,2689,2436,1866,1858,1776,1647,1623,1605,1750,1671,1612,1651,1504,1710,1738,1578,1727,1561,1646,1644,1598,1628,1515,1482,1625,1882,1974,1765,1499,1658,1755,2012,2068,1693,1718,1555,1452,1629,1642,1555,1606,1618,1804,1799,1647,2083,1742,1724,1682,2065,2395,2416,2403,2205,2248,2808,2851,2654,2147,2045,2481,3084,3656,3446,3012,2722,2531,2225,2136,2135,2348,2603,2788,4009,3286,2706,2949,2758,2145,1917,2279,3045,3386,3118,2841,2578,2578,3031,3363,3266,3007,2791,2782,3064,3081,2896,3073,3310,2557,2852,3513,3218,2809,3437,3920,3836,3904,4276,3772,2711,2618,3248,3264,3086,3338,3099,3000,3020,2741,3084,2802,2240,1960,2214,3188,2909,2148,1809,2379,3028,3151,2262,2148,2494,2768,2939,2744,2863,2889,2937,3993,3811,3144,2518,2722,2493,2427,2643,2755,2494,2291,2303,2336,1802,1479,1684,1974,2035,2180,2333,2703,2620,2968,2554,2024,2802,3098,2245,2337,2666,2410,1934,2400,2685,2788,2654,1874,1664,1779,1512,1643,1838,1846,1679,1359,1750,2152,2018,1800,2319,2325,2203,2039,2016,2071,2102,2509,2735,3415,3626,2921,2542,2331,2468,2476,2182,1943,2117,2171,1695,1677,1943,1537,1661,1649,1584,1616,1703,1598,2072,2501,2551,2402,2153,1883,1746,2060,2082,2215,2800,2169,1925,2076,2227,2112,1722,1836,1925,1929,2244,2161,1709,1807,2061,2356,2330,2375,2034,2059,2376,2132,1831,2325,2833,2643,2765,2584,2392,2071,2188,2789,3854,4367,3726,2113,1725,2037,1749,1749,1593,1799,2091,1551,1498,1758,1857,1703,1851,1970,1654,1312,1352,1292,1271,1283,1343,1361,1454,1424,1375,2177,1999,1251,1337,1491,1591,1694,2077,2941,2996,3135,2164,1565,1373,1731,1846,1839,2532,3130,3536,4016,4028,4107,3963,3535,3217,3491,3886,4229,4208,3941,3648,3469,3878,4191,4072,3309,3465,3706,3791,3803,3758,3808,4108,4007,3484,3385,3598,3574,3306,3452,3211,3167,3916,3526,3183,3522,3493,4038,4528,3938,3426,3745,3553,3316,3573,4006,4277,4212,4096,4140,4144,4013,3976,4332,4729,4616,4184,3898,4363,4463,4410,4327,4375,4432,4408,4372,4452,4504,4416,4332,4324,4272,4001,4024,4092,4133,4255,4254,4357,4433,4432,4473,4453,4423,4429,4459,4045,3551,3382,3316,3570,4160,4296,4214,4116,4272,4343,4612,4440,3799,3945,4209,3754,3325,3155,3775,4432,4593,4853,4595,4527,4092,3775,3084,2647,2662,3031,3330,3775,4151,4339,4413,4436,4476,4376,4040,3853,4155,4760,4752,4441,3792,4171,4631,4443,3851,3561,3780,4070,3828,4556,5065,4922,4669,4339,4086,4096,3672,3682,4063,4344,3984,3643,3552,3428,3398,3276,3123,3033,2966,2770,2842,2778,2663,3008,3459,3595,3068,2303,1744,1682,1768,2013,2687,2837,2754,2431,1803,2031,2032,1896,1974,2509,2417,1877,1879,1886,1636,1815,1919,1795,2119,2244,2098,2589,2092,1895,1846,1927,1822,1913,2819,2887,2253,2143,1917,1698,2286,2541,2088,1898,2118,2159,2643,2453,2557,2460,2500,2605,2564,2434,2497,2400,2167,2287,2375,2535,2214,1887,1671,1762,1951,2273,2425,2532,3001,3343,2386,2215,2114,2144,1980,2344,2303,1582,2286,2823,2619,3076,3252,2990,2558,2368,2603,2474,2596,2462,2156,1945,2221,2302,2207,2317,2357,2564,2040,1931,2056,2175,2391,2461,2165,2159,2942,3677,3190,2235,2376,3242,3641,2849,2987,3552,3553,3504,4164,4804,4908,4804,4573,4270,4299,4195,4089,4036,3895,3429,3323,3374,3361,3291,3285,3373,3373,3399,3379,3255,3277,3617,3978,4200,4227,4386,4429,4321,4191,3980,3709,3659,3616,3603,4016,3983,3594,3696,3838,3726,3531,3381,3448,3552,3414,3351,3477,3538,3714,3729,3551,3660,3432,3154,2985,2930,2916,2893,3166,3302,3183,3034,3031,2971,3076,3334,3365,3173,3190,3676,4197,4197,4061,4032,4074,4608,4628,3725,2226,1506,1605,1540,1293,1340,1540,1984,2082,1864,2850,3205,3565,3680,2427,2005,2416,2693,2454,2071,1986,2030,2089,2399,2475,2540,2640,3430,3681,2471,1875,2054,2232,2243,2499,2449,1869,1742,2340,2355,1846,1606,1588,1884,2247,2266,2496,2832,2622,2259,2237,2526,2994,3116,2648,2429,2457,2504,2585,2594,2709,2958,2718,2368,2674,2745,2486,2518,2479,2464,2324,2402,2487,2495,2810,2755,2352,2498,2383,1984,1594,1151,1119,1732,2166,2228,1985,1337,1830,2935,2847,1898,1939,2426,2366,2215,2448,2546,2677,2712,2664,2917,3117,3086,3009,3193,2908,2813,2780,2182,1917,2155,2832,2765,3001,2692,1918,2065,2079,2420,2499,2633,2469,2420,2512,2667,2753,2731,2366,2087,2529,2619,2351,2439,2429,2151,2325,2821,2858,3056,3222,3156,3100,3062,3070,3624,3945,4143,3198,2502,2552,2533,2164,2785,3211,2369,2092,2485,2468,2153,2071,2071,2125,2313,3179,3244,3015,3062,3065,3145,3325,3283,3275,3450,3329,1897,1601,2099,2527,2218,2186,2637,2884,3085,3211,2800,2420,2480,2130,1985,2192,2236,2907,3322,2561,2035,2273,2265,1733,1871,1870,1771,1921,2471,2330,1903,1984,2088,2064,1972,1844,2044,2070,1916,1787,1999,2200,1745,1588,1513,1548,1609,1746,1654,1547,1605,1607,1543,1566,1561,2055,2708,2689,3170,3848,4123,4090,3979,3645,3561,3632,3791,4121,4156,4099,4052,3772],[1952,2408,3244,3451,3409,3046,2844,2878,3144,3628,3782,3476,3103,2508,2272,2358,1970,1925,2189,2382,2096,1974,2610,3150,3298,3225,2983,2773,2568,2522,2327,1879,2250,2315,1880,2010,2623,2617,2785,2840,2712,3316,3528,3193,3082,2943,2471,1934,1914,2239,2646,2572,2583,2663,2519,2460,2431,2228,2604,2764,2778,2701,2747,2490,2446,2584,2743,2665,2255,2032,2051,1901,2229,2808,3802,3886,3429,2773,2245,1937,1871,2702,3476,3139,2919,2998,2784,2789,2998,3156,3242,3431,3308,3379,3352,3475,3838,3956,3875,3164,2419,2129,2107,2718,2938,2585,3103,3449,3732,3496,3085,3418,3460,2740,2842,3164,3274,3561,2972,3276,3352,3497,3747,3335,2401,1978,2275,2626,2808,2840,2920,2625,2611,2647,2431,2141,2233,2749,3019,3247,3603,3400,2814,2857,2584,2254,2266,2284,2087,1972,2357,3162,3319,3264,3374,3384,3431,3159,3008,3239,3369,3197,3370,3318,2956,2689,2588,2542,2442,2407,2511,2399,2693,2706,1986,1693,1980,2632,3201,3219,3034,3207,3250,2928,2543,2209,2835,3283,3649,3617,3596,3750,3904,3750,3948,3924,3920,3824,3508,3628,3866,3258,3308,3083,3106,3056,2856,2819,3238,3329,3295,3352,3073,3051,2653,2119,2295,2292,2047,1969,2260,2245,2185,2364,2612,2900,3146,3563,4079,3970,3703,3891,3242,2684,2268,1915,2251,2439,2106,2148,2225,2154,1967,1856,2484,2844,2374,2000,1944,2237,2741,2916,2773,1992,1269,1406,2251,2685,3037,3268,2864,2464,2484,2442,2611,2929,2890,2238,1944,2077,2197,2717,3244,2521,2176,2589,3113,2846,2435,2605,2392,2073,2151,2081,2078,2111,2126,2154,1919,2213,2229,2684,2906,2861,3351,3508,2834,2450,2953,2376,1906,2034,2234,2098,1748,1577,1401,1609,1926,2087,2405,2677,3339,3647,2822,3121,3416,2927,3278,3133,3217,3339,3197,2990,2937,2680,2346,2192,1821,2133,2968,2285,2468,2589,2275,2031,1926,2078,2132,2597,3205,3129,2784,3133,2500,2236,2624,2608,2675,2521,2476,2604,2657,2305,2052,2387,2296,2592,2676,2535,2752,3389,3728,3303,2767,2767,3029,3099,3079,3165,3436,3395,3213,2819,3025,3052,2744,2275,2070,2466,2664,2269,2305,2698,1714,1567,1485,1544,1593,1562,2002,2194,1844,2126,2062,1919,1569,1728,1629,1499,1489,1552,1804,1758,1770,1919,1930,1830,1594,1584,1857,2120,2239,2011,1857,2082,2105,1915,2120,1967,1958,2026,2008,1879,2189,2454,2512,2576,2613,2015,2272,2391,2389,2371,2162,2489,2162,2000,1955,2580,3443,3191,2525,2810,2442,2365,2659,2452,2367,2448,2067,1691,1960,2198,2408,2100,2212,2405,2060,1975,2174,2193,2038,1982,1934,1841,2211,2112,2273,2666,3157,3442,3062,2777,2544,2316,2366,2592,2475,2128,1899,2648,3485,4030,4074,3780,3473,3212,2507,2011,2095,2083,2866,4105,4340,4108,3953,3589,2721,2060,2329,3238,3505,2752,2263,2273,2932,3284,3295,2776,3091,2527,1900,2040,1931,2326,2518,2286,2077,2187,2156,2211,2302,2205,2380,2690,2798,2651,3374,3603,4052,4591,3995,3287,3166,2973,2958,2695,3692,2853,2143,2864,3024,2330,2284,2562,2418,1969,1846,2167,3595,3264,2568,3021,3276,2871,2809,3200,3162,3049,2995,2851,2771,2774,2807,2491,3057,3044,3043,3627,3752,3142,2624,3351,3464,2640,2367,2277,2932,3621,2813,2576,2455,2374,3112,3926,3772,3419,3765,3624,2934,2654,2031,1797,1939,2259,2825,2746,3043,3739,3880,3628,3790,3569,3639,3692,3262,2785,2654,2923,3183,2668,2389,2611,2389,1832,2017,2169,1913,2199,2740,2265,1635,1711,1912,2049,2430,2468,2330,2722,2952,2623,2293,1823,2200,2747,3116,2669,2311,1548,1410,1765,1932,2235,2486,2460,2588,2957,3409,3187,2621,2476,2547,2624,2770,2846,2614,2307,2180,2202,2491,2339,2058,2314,2272,1787,1622,2180,2504,2654,2112,1493,2366,2997,2342,2070,2273,2597,2114,1585,2002,2271,2410,2548,3010,2999,2524,2394,2096,2717,3142,3187,3188,2200,2234,1432,1820,2895,3419,3707,3064,1815,2213,3444,3906,3696,2976,2512,1918,2080,2512,2571,2282,2117,1780,1886,2242,1966,2060,2533,2895,2620,2256,1995,1765,2539,3332,3038,2587,2747,2715,1957,1924,1808,1921,1961,1849,1781,1707,1569,1794,2149,2005,1854,2236,2343,2456,2490,2481,2537,2144,2054,1797,1842,2223,2358,2381,2354,2325,2359,2363,2401,2382,2385,2336,2311,2099,2039,2600,2814,2720,2444,1539,1826,2286,2238,3189,3827,3826,3542,2759,2378,2347,2330,2552,3065,3572,3115,2739,2232,1770,1745,1844,1831,1580,1437,1628,1735,1685,1742,1539,1794,1755,1748,1855,1893,1603,1433,1621,1593,1590,1747,1937,2185,1947,1805,1571,1578,1601,1622,1571,1788,1776,1724,1986,1914,1773,1576,1514,1456,1686,1692,2284,2483,2088,1790,1658,2011,2346,2230,2296,2288,2236,2893,2725,2474,2342,2386,2710,2966,3028,3055,3016,2934,2813,2315,2181,2421,2266,2445,2457,3728,3962,3120,2595,2293,2020,1860,1958,2546,3196,3006,3277,3268,3082,3164,3450,3233,2885,2951,3085,3132,3120,2875,3207,3463,2805,3039,3747,3474,3113,3602,3786,3439,3642,3865,3514,2584,2382,2918,3050,3244,3308,3129,2822,2563,2914,3357,3052,2553,2347,2315,2906,2622,1768,2159,2630,3096,3017,2209,2204,2774,3230,3262,2946,2925,2956,3381,4372,3714,2998,2599,2684,2415,2047,2539,2805,2098,1892,1892,2258,1971,1270,1153,1501,1884,1963,2411,2768,3023,2818,2221,2132,2307,2476,2327,2780,2449,2150,2578,2608,2044,1995,2236,1966,1902,1807,1779,1878,1672,1459,1469,1555,1977,2124,1945,2185,2684,2697,2325,1992,2511,2621,2098,2832,3322,3584,3864,2924,2293,2050,2403,2520,2039,1808,1908,1672,1627,2024,1958,1341,1377,1614,1947,2101,2002,2149,2172,1986,1925,2185,2408,2144,1791,2130,2383,2788,3045,2408,1855,1691,1697,1691,1728,1921,1839,1720,1770,1866,1642,1897,2215,2177,1986,2236,2294,2680,3319,2862,2261,2511,2548,2099,2435,2604,2314,2010,2502,3130,3509,3543,3172,2268,2067,1876,2038,1950,1625,1427,1650,1384,1352,1723,1643,1451,1556,1617,1429,1356,1349,1270,1250,1332,1319,1299,1402,1377,1700,2222,1614,1448,1416,1331,1559,1489,1672,1970,1991,2096,1997,1808,1454,1472,1520,1824,2532,3399,3167,3560,4060,4161,3717,3196,3040,2937,3227,3636,3786,3626,3703,3847,4070,4031,3891,3396,3160,3387,3860,4031,3758,3498,3727,3694,3282,3409,3425,3475,3570,3522,3453,3575,3304,2698,2972,3342,3317,4108,4864,4460,4287,4004,3509,3592,3941,4200,4155,3996,3991,4037,4040,3812,3891,4229,4524,4600,4524,4408,4340,4344,4372,4432,4438,4431,4444,4408,4444,4444,4388,4196,4047,4024,3907,3992,4050,4062,4091,4216,4112,4073,4220,4253,4120,4189,4124,4336,4264,3730,3636,3441,3175,3545,3887,4049,3926,4268,4391,4495,4458,4140,4180,3946,3319,3141,3216,3861,4348,4184,4360,4408,4645,4108,3360,2784,2713,2978,2923,2853,3480,4000,4433,4552,4223,4091,4332,4272,4436,4540,4777,4916,4709,4376,4258,4514,4275,3896,3342,3150,3298,3548,4572,5000,4527,4457,4488,4364,4080,3917,4614,4508,4541,4304,3547,3538,3747,3782,3643,3248,2932,2864,2889,2845,2671,2820,2989,3231,3488,2678,1970,1867,1538,1580,2085,2322,1996,2260,2347,2160,2127,2283,2476,2419,2717,2427,2213,2192,1765,1464,1514,1568,2077,2000,1984,1794,2280,2192,2266,2234,1963,1823,2172,2455,2031,1927,2321,2272,2387,3016,2471,1924,2035,2070,2382,2299,2142,2337,2587,3052,2773,2885,2808,2677,2438,2244,2322,2608,2994,2696,1962,1813,1941,2136,2136,2134,2280,2365,2463,2203,1953,1886,2036,2228,3174,3351,2765,2460,2353,2789,3137,3006,2678,2424,2587,2919,2834,2956,3217,2712,1726,2053,1962,1820,1891,1948,1952,1757,1732,1790,1851,1953,2250,2362,2407,3151,3645,3052,1975,2226,3244,3516,3426,3528,3770,3676,3496,3730,4320,4672,4684,4565,4050,3868,3867,4000,4179,3949,3706,3782,3698,3431,3198,3345,3549,3538,3649,3673,3520,3428,3568,3847,4119,4199,4272,4368,4221,3951,3825,3741,3807,3805,3834,4000,3893,3641,3615,3685,3705,3742,3478,3479,3527,3471,3408,3489,3603,3662,3891,3759,3364,3134,2989,2855,2897,2878,2889,3207,3469,3338,3109,3066,3145,3201,3275,3223,3195,3276,3658,4230,4264,4219,3838,3353,3619,3841,3887,2711,1569,1738,1892,1626,1679,1671,1819,1709,1703,2453,3377,3835,3647,2736,1954,1802,1714,1876,1771,2093,2447,2663,2734,2773,2586,2289,2524,2656,2448,1864,1951,2133,2460,2585,2285,1678,2347,2498,2050,1858,1971,2050,2287,2615,2386,2398,2802,2754,2022,1872,2581,2862,2728,2341,2377,2567,2343,2446,2514,2872,3120,2447,2281,2577,2778,2326,2060,2128,2337,2206,2373,2713,2676,2705,2445,2283,2654,2763,2447,2264,1649,1422,2145,2426,2193,1996,2147,3219,3676,3266,2795,2433,2127,2346,2485,2552,2512,2604,2739,3187,2800,2973,3189,3027,2827,2765,3184,3841,3461,2955,3348,3116,2732,3305,2463,2430,2525,2092,2364,2566,3028,2923,2545,2620,2700,2523,2232,2155,2159,2520,2602,2303,2486,2852,2674,2852,3099,3077,3211,3300,3239,3200,3172,3396,4008,3879,4156,3325,1953,2106,2730,2454,2798,3112,2229,2728,3061,2574,2476,2243,2100,2457,2684,3289,3465,3116,3094,3016,3109,3228,3088,3067,3139,3000,2297,2091,2608,2723,2528,2769,3000,3167,3516,3310,2988,2454,2135,1989,2072,2537,2679,2743,2666,2458,2511,3115,2923,1938,1662,1757,2037,1848,1942,1665,1527,1752,2145,2304,2065,1866,2099,2085,1741,1714,2083,2003,1553,1501,1678,2094,2071,1768,1723,1769,1713,1586,1422,1461,1569,1606,2141,3001,3725,3530,2910,3154,3662,3596,3802,3831,4079,4339,4434,4092,4244,3916],[2286,3051,3046,3330,3487,3418,3032,2442,2799,3639,3573,2691,2429,2210,2373,2338,2051,2270,2779,3218,2599,2365,3094,3326,3294,3486,3221,2733,2573,2532,2333,2333,2542,2327,2025,2233,2442,2477,2753,2618,2769,3367,3119,3320,3618,3146,2580,2275,2266,2487,2490,2399,2302,2397,2426,2468,2375,2322,2842,2869,2604,2437,2501,2355,2321,2590,2873,2733,2403,2683,2799,2203,2034,2918,3838,3870,3837,3608,2755,1779,1989,3341,3573,3330,3001,2905,2976,3223,3098,2856,2852,2986,3305,3674,3666,3609,3774,3886,4200,3759,3364,2513,2130,2482,2462,2455,3155,3659,3826,3726,3464,3830,3672,3072,3022,2898,2785,2965,2876,3343,3510,3584,3562,2933,2092,1792,1744,1959,2434,2491,2541,1832,2183,2666,2166,2017,2888,3459,3001,2407,2576,2509,2474,2790,2411,1978,2250,2366,2222,1976,2357,2941,3080,3084,3123,3073,3440,3566,3366,3483,3295,3136,3361,3385,3330,3359,3098,2897,2733,2381,2272,1932,1961,2086,2035,2225,2758,3217,3360,3189,2998,3131,3619,3610,3035,2437,2812,3043,3225,3140,3129,3895,3983,3479,3972,4080,3777,3032,2724,3065,3298,3349,3211,2481,2702,2857,2673,2531,2900,3273,3550,3629,3265,2652,2060,2029,2513,2503,2266,1951,1986,2271,2376,2520,2844,3161,3320,3709,4108,4205,4176,3981,3017,2975,3204,2697,2766,2899,2165,2107,2096,2214,2074,1691,1830,2115,2115,1842,1765,2028,2308,2554,2520,2360,2008,2029,2621,2956,2867,3408,3154,2687,2454,2194,1903,1889,2276,2555,2027,2165,2159,2677,3182,2641,2678,2801,2603,2162,1918,2034,2030,2115,2338,2451,2049,2061,1803,1586,1896,2526,2128,1986,2408,2623,3162,3188,2622,1931,1708,1746,2009,2500,2696,2039,1650,1538,1194,1538,2200,2152,2644,3019,3083,3294,3416,3326,3505,3415,3024,3052,3065,2940,3012,2806,2381,2287,2104,1869,2193,3228,3372,2480,2825,3508,2958,2207,1987,2182,2613,3399,3705,3207,3029,3018,2347,2657,2867,2766,2741,2487,2482,2447,2384,2007,2212,2482,2087,2520,2763,2985,3194,3345,3774,3508,3000,3052,3067,2992,2957,2768,2865,3342,3727,3746,3196,2148,1673,1914,2276,3038,3019,2743,2542,1681,1380,1521,1534,1436,1435,1513,2008,2491,1891,2219,1715,1709,1757,1880,1748,1493,1725,2279,2276,2102,2304,2835,3100,2290,1833,1668,1827,2027,1977,1978,1900,1805,1643,1901,2098,1963,1930,1606,1424,1263,2105,2750,2706,2665,2710,2224,2086,2249,2381,2663,2408,2601,2374,2441,2344,2468,3006,3030,2769,2668,2357,2269,1979,1950,1870,1883,1679,1815,1938,1613,1795,1869,2143,2258,2069,2403,2371,2140,1716,1582,1888,2134,2040,2078,2243,2666,3140,3367,3222,2402,1945,2199,2420,2996,2758,2375,1900,2231,3153,3716,3845,3598,3233,3084,2776,2526,2837,3076,3747,4236,4039,3884,3831,3240,2474,2309,2336,2839,3325,2930,2874,2719,3079,3708,3167,2343,2314,1437,1278,1662,1843,2199,2398,1919,1561,2129,2069,2422,2231,2229,2428,2363,2507,2924,3117,3171,3560,4562,4119,2791,3127,3072,2482,3050,3739,2885,2036,2492,2580,2224,2274,2362,2086,1857,1687,2534,3725,2986,2552,3118,3316,3188,3166,3162,3020,3073,3182,2855,2645,3218,3247,2977,3285,3266,3349,3425,3471,3484,3190,3155,3063,2818,2516,2640,2740,2465,2266,2175,2319,2832,3286,3636,3537,3369,3730,3533,3142,3162,2535,1974,2113,2783,3124,2813,2490,2653,3234,3616,3763,3697,3786,3123,3210,2897,2436,2520,2777,2328,2153,2584,2274,2177,2316,1706,1919,2529,3002,2635,1804,1575,1669,1976,2590,2979,3135,2961,3082,2780,2490,2133,2592,3005,3444,3238,2643,1976,1896,2159,2194,2382,2611,2679,2516,2381,2790,2613,2349,2437,2946,3362,3412,3695,3558,2724,2674,2411,2657,2592,2220,2524,2210,1968,2046,2068,2491,3007,2502,1621,2151,2736,2232,2212,2142,1895,1687,1743,2310,2633,2429,2448,2900,2829,2592,2677,2283,2565,2654,2661,3544,3173,1953,1258,1801,3212,3806,3771,3942,3087,1976,2939,3097,2999,2869,2598,2002,1821,2017,1978,1760,1795,1630,1764,1925,1734,1628,1724,1969,2347,2539,2548,2505,3012,3106,2853,2682,3101,2592,2159,2244,2079,1746,2049,2072,1882,1670,1653,2254,2758,2326,2352,3126,3262,3152,3094,3085,2945,2178,1950,1979,2045,2311,2301,2220,2192,2095,2126,2120,2221,2214,2222,2249,2145,1829,1759,2319,2783,2800,2567,1438,1533,2258,2162,2742,3645,3868,3550,2775,2461,2819,2533,2614,2661,3497,3445,2795,2104,1718,1831,1954,1643,1586,1789,1665,1743,1609,1657,1637,1796,1602,1848,1924,1748,1541,1545,1698,1742,1799,1883,1874,1826,1704,1920,1526,1548,1485,1451,1603,1583,1585,1769,1874,1666,1641,1645,1536,1494,1615,1648,1847,1855,1946,2013,1778,1493,1779,2110,1980,1471,1386,2365,2839,2447,2505,2841,2531,2379,2689,3021,2864,2774,2823,2621,2696,2835,2465,2318,2457,2863,3241,3249,2661,2649,2322,1854,1721,2119,2871,2899,3370,3450,3095,3057,3164,3064,2942,2965,3572,3375,3185,2909,3516,3839,3450,3216,3726,3662,3028,3128,3835,3937,3925,3811,2997,2161,2418,2853,3032,3305,2805,2757,3140,2768,2886,3114,2667,2078,2115,2627,2800,2263,1990,2430,3200,3726,3009,2258,2366,3166,3709,3582,2820,2951,2996,3624,4400,4177,3361,2541,2325,2243,2411,3351,3266,2186,2026,2213,2665,2243,1301,1116,1603,1985,1959,2105,2663,2733,1863,1934,2153,2497,2418,2341,2308,1812,2047,2626,2555,2132,2179,2328,2262,1951,1704,2166,2088,1936,1714,1762,1767,1874,1906,1928,2683,3378,3183,2968,2978,3205,2630,2237,2778,3285,3807,4058,3054,2286,2331,2232,1748,1564,1677,1810,1805,1659,1912,1703,1489,1520,1865,2577,2382,1990,2067,2040,2087,2119,2469,2278,2311,2019,1941,2554,2890,2796,2388,1728,1601,1684,1771,1959,2417,2020,1638,1665,2231,1990,1866,2091,2036,2228,2246,2237,3363,3715,2611,3186,3173,2459,2157,2337,2341,1938,2069,2252,2188,2535,2399,2545,2720,2425,1907,2131,2126,1592,1479,1910,1729,1469,1804,1552,1562,1633,1551,1331,1382,1331,1317,1432,1551,1424,1345,1477,1381,1577,1975,1680,1636,1567,1496,1411,1367,1351,1255,1290,1434,1688,1683,1345,1547,1700,1791,2526,3416,3403,3709,3976,4161,3384,2923,4012,3951,3874,3963,3573,2995,3266,3427,3377,3684,3638,3305,3252,3421,3473,3442,3333,3175,3264,3003,2887,3231,3426,3532,3633,3594,3250,3017,2979,2654,2674,3396,3982,4039,4278,4289,4187,3705,3375,3654,4144,4480,4395,4124,4041,3916,3850,3812,3789,3893,4062,4319,4496,4356,4258,4256,4300,4458,4420,4509,4484,4319,4311,4343,4327,4163,4046,3999,3857,3704,3824,4140,4023,3859,3439,3530,4025,4164,4099,4160,4044,4307,4472,3872,3282,3181,3066,3243,3825,3891,3725,3970,4103,4220,4007,3663,3925,4047,3146,2963,3033,3873,4021,3707,3644,4026,4289,3594,3385,3754,4133,4352,3342,2865,3780,3776,4357,4393,4073,4144,4418,4466,4541,4596,4776,4976,4986,4578,4231,4469,4401,4205,3652,3428,4079,4169,4512,4731,4198,4328,4675,4371,3704,4204,4965,4672,4376,4716,3923,3673,3771,3519,3645,3814,3273,2968,2872,2603,2752,2910,2889,2752,2809,2490,2095,1942,2056,2378,2147,1875,1831,1937,1918,2051,2093,2630,2601,2177,2266,2441,2363,1938,1272,1376,1741,1496,2268,1980,2070,2058,2242,2138,2348,2537,2145,1851,1871,1709,1875,2640,2821,2543,2492,2836,2065,1945,2097,2008,2061,1768,2314,2793,3096,3333,2989,2822,2512,2377,2462,2546,2500,2710,3167,2822,2353,2089,1955,1947,2092,2235,2165,2143,2267,2315,2214,2110,2137,2686,3681,3875,3522,3115,3121,2732,2371,2579,2874,2643,2707,3509,3926,3321,2542,2456,1896,1909,1971,2038,1842,1926,1982,1901,1885,1995,2016,1807,2104,2452,2592,2950,3284,2267,2097,2719,3042,3632,4014,4205,4112,3769,3449,3471,3919,4231,4288,4232,3920,3691,3759,3924,3978,3824,3854,3881,3693,3553,3419,3572,3551,3676,3686,3757,3860,3749,3648,3763,3859,4067,4155,4187,4220,3941,3717,3698,3763,3831,4013,4099,4145,3948,3792,3571,3475,3463,3498,3617,3565,3604,3480,3572,3812,3979,4212,4056,3239,2840,2762,2755,2773,2716,3005,3421,3563,3460,3240,3142,3293,3405,3310,3152,3377,3474,3585,3784,3967,4172,4221,3747,3610,3783,3642,2635,1708,1681,1773,1682,1489,1425,1497,1705,1659,2070,3090,3526,3318,2813,1988,1613,1664,1772,1804,1764,2219,2765,2901,3269,2999,2017,1703,2160,2470,2264,2491,2379,3118,2836,2880,2454,2286,2062,1938,2120,2237,2184,2259,2500,2444,2495,2885,2979,2037,1673,2205,2157,1941,2164,2211,2321,2393,2796,2590,2421,2326,2290,2122,2585,2878,2219,1708,2130,2735,2463,2609,2578,2295,2513,2541,2403,2634,3057,2764,2388,2519,2555,2302,2166,2182,2771,3142,3577,3509,3156,3227,2918,2400,2256,2256,2523,2601,2556,2358,2584,2254,3139,3195,3037,2997,3364,3552,3688,3583,3450,3843,3466,3015,2849,2905,3208,2459,2142,2611,2544,2753,2940,2833,2723,2541,2493,2824,2995,2782,2855,2501,2691,3292,3371,3085,3086,3104,3128,3119,3162,3196,3335,3570,3836,3816,3473,3553,3050,2359,2664,3044,2645,2955,2974,2221,3121,3322,2974,2762,2338,2259,2616,2544,3213,3603,3204,2989,2955,2979,2918,2822,2860,3138,2884,2657,2832,3061,2911,2546,2609,2866,2717,2629,2910,3015,2391,2247,2491,2415,2474,2290,2181,2403,2303,2363,2979,2474,1947,1608,1994,2290,1935,1560,1367,1506,1731,1937,2258,2322,1969,2155,2132,1693,1792,1977,1870,1746,1699,2069,2831,2808,2078,1872,1650,1509,1389,1305,1445,1504,1606,2077,2720,3001,2500,1959,2600,3571,3674,3780,3614,4066,4487,4703,4671,4669,4217],[2770,2831,2629,2909,2900,2928,2820,2635,2811,3243,3476,2648,2492,2473,2840,2678,2752,3297,3485,3093,2837,3407,3628,3231,2887,3066,2750,2796,3058,2750,2521,2535,2863,2675,2239,2377,2526,2346,2539,2483,2537,2867,3022,3579,3381,2734,2580,2919,2929,2642,2288,2114,1833,2152,2534,2713,2458,2270,2646,2802,2836,2687,2335,2352,2360,2271,2520,2729,2646,2822,2521,2004,1834,2442,2905,3059,3020,2868,2568,1899,2557,3617,3449,3419,3231,3107,3164,3242,3216,3018,2866,3095,3494,3334,3494,3585,3908,3739,3827,4159,3707,2753,2382,2254,2144,2423,3160,3409,3186,3086,3681,3959,3444,2919,2781,2858,2841,2585,2404,2687,3043,3304,3120,2604,2302,2090,2154,2392,2564,2600,2183,1919,2238,2332,1998,2346,2664,3212,2803,2152,2073,2115,2294,2469,2215,2050,1949,1998,2133,2284,2601,2832,3354,3506,3617,3373,3308,3146,3116,3420,3124,2764,2866,3103,3353,3583,3491,3327,2898,2277,1881,1643,1678,2030,2517,2908,3476,3841,3506,3221,3315,4077,4371,3969,3354,3010,3163,3614,3719,3419,3232,3752,4315,4152,4197,4030,3553,2416,1899,1865,2450,3235,2878,2271,2474,2851,2976,2849,2942,2933,2801,3240,3072,1973,2114,2607,2641,2321,2098,2120,2176,2332,2454,3101,3662,3914,3850,3653,3560,3587,4168,4307,3687,3517,3160,2553,3138,2912,2393,2394,2283,2319,2348,1975,1580,1594,1794,1765,2138,2226,2352,2909,2496,2457,2510,2998,2644,2432,2708,3072,2924,3045,3331,2686,1068,1073,1655,2158,2060,2004,2087,2513,2611,2436,2602,2779,2508,2077,1746,1971,2048,2276,2778,2783,2214,2129,1892,1734,2055,2153,1852,1830,1620,1836,2056,1794,1439,1408,1598,2134,2174,2350,2475,2127,1998,1849,1700,1945,2440,2626,2922,2775,3128,3419,3853,3347,3002,2791,1979,2548,2867,2902,2430,2118,1992,2624,2573,2041,2566,2932,2562,2310,3018,4112,3633,2417,2285,2521,2770,3575,3689,2978,2430,2007,2522,3150,3072,2422,2302,2402,2292,2373,1956,1901,2426,2867,2679,2552,2829,3354,3792,3271,3231,3154,2691,2714,2884,3207,2895,2379,3072,3869,3899,3411,2857,2332,2403,2487,2133,2404,2520,2566,2286,2255,2397,2216,2343,2309,2306,2480,2283,2395,1892,2420,1923,1759,1825,1792,1733,1603,1937,2677,2451,2020,2431,2404,2372,2197,1992,1964,2056,2009,1978,1986,2011,1873,1814,2291,2396,2326,2159,1516,1223,1449,2236,2353,2494,2834,2624,2360,2094,2069,2226,2505,2438,2669,2598,2551,2504,2448,2578,2779,2768,2568,2439,2227,2139,2598,2298,1972,1613,1698,1579,1517,1898,2230,2410,2260,2227,2670,2468,2564,2152,1803,1722,1726,1776,1923,2162,2828,3197,3452,3297,2409,1700,2051,2426,2843,2644,2120,1985,2062,2771,3655,3657,3263,3162,3031,2949,3067,3233,3376,3729,3825,3948,3825,3330,2634,2389,2500,2540,3308,3566,3086,3190,2866,3278,3726,2668,2466,2548,2023,1778,2054,2072,2468,2234,1960,1700,1974,2418,2222,1953,2226,2374,2370,2596,2642,2678,2840,3206,4399,3991,3055,3146,2347,1892,3189,3686,2468,1980,2336,2432,2008,1977,1894,1931,2040,1789,2897,3654,2958,2736,3038,3132,3207,3252,3340,3123,3097,3288,3217,3150,3649,3770,3443,3257,3173,3300,2918,3130,3129,2662,2640,2766,2717,2287,2250,2391,2425,2233,2093,2588,2565,2280,3053,3394,3177,3161,2998,2514,3001,3162,2475,2601,3362,3419,2878,2357,2143,2732,3496,3795,3585,2853,2385,2601,2116,1903,2590,3275,2633,2074,2448,2403,2266,2478,1956,2450,2589,2377,2266,1705,1505,1826,2149,2818,3187,2946,2989,3256,3109,2502,2173,2630,2888,3090,3062,3040,2808,2800,2877,2813,2686,2589,2206,2001,1700,2056,2055,1504,1891,3176,3907,3635,3968,3742,3023,2761,2721,3129,2828,2501,2322,2503,2740,2109,2368,3032,3054,2408,1784,1548,1765,2332,2493,1660,1602,2248,2387,2634,2916,2362,2078,2563,2400,2796,2809,2250,2293,2556,2522,3032,3422,2934,2248,2154,3193,4040,4034,4000,4030,3099,2619,2325,2430,2642,2445,1857,1829,2152,2114,1835,1932,1763,1786,1808,1650,1630,1527,1525,1634,1721,1979,2641,3087,3162,3415,3162,3341,2386,2128,2257,2250,2116,2170,1986,1700,1586,2000,2618,2856,2332,2423,2888,2847,2592,2603,2700,2547,2214,2089,2168,2279,2032,1852,1859,2013,2042,1991,1921,2099,2276,2342,2347,2262,2314,2468,2578,2499,2531,2822,2311,1635,1688,1919,2289,2937,3096,2592,2176,2278,3063,2724,2725,2325,3066,3634,3253,2488,1926,1700,1648,1444,1592,1879,1615,1669,1642,1604,1714,2018,1754,1583,1636,1588,1491,1441,1704,1696,1583,1596,1638,1594,1622,1605,1541,1576,1542,1744,1678,1451,1520,1651,1747,1642,1563,1593,1588,1616,1574,1518,1505,1713,2030,2167,1734,1612,2078,1990,1682,1269,1628,2026,2596,2800,2482,2186,2118,2047,2380,2943,2857,2600,2923,2692,2863,3122,2756,2430,2387,2317,2533,2832,2336,2308,2077,1859,1866,2304,2578,2590,3115,3419,3212,3077,3304,3130,2861,3153,4058,3716,3276,3073,3392,3276,2802,3289,3806,3400,2668,2539,3441,3774,3962,4020,2746,2424,3100,3061,3140,3430,2866,2749,3776,3826,3355,2678,2186,2055,2247,2505,2631,2088,2006,2524,3419,3848,2922,2294,2472,3066,3598,3527,2894,2798,3344,3828,4086,4241,3628,2443,2305,2174,2398,3341,2878,2207,2014,1949,2176,2063,1854,2007,2218,2123,2007,2190,2675,2453,2016,2156,2494,2900,2531,2705,2364,1941,2141,2521,2644,2497,2476,2349,2370,1978,1782,2029,2168,1851,1876,1883,1642,1609,1630,1991,2912,3492,3679,3617,3191,2849,2677,2648,2906,3142,3470,3374,2484,2247,2248,1614,1193,1405,1644,1860,1757,1516,1593,1529,1770,2117,2367,2514,1980,1655,1864,2077,2586,2373,2055,2191,2667,2827,2958,3018,2580,2156,2064,1793,1787,1929,1741,1566,1953,1759,1491,1576,1904,1977,1998,2097,2154,2214,2187,2073,2558,2553,2409,3212,2945,2275,1776,1887,2304,1916,1805,2021,2314,2823,2201,2427,2719,2358,1935,1894,1999,1618,1684,2391,2272,1785,1897,1823,2078,1772,1533,1444,1615,1550,1576,1592,1582,1393,1281,1330,1455,1495,1681,1811,1665,1675,1736,1479,1387,1332,1222,1248,1331,1424,1362,1426,1712,1575,1511,2091,2858,3154,2898,3020,3727,3319,2914,4246,4518,4560,4565,3918,3465,3525,3607,3727,3770,3466,3240,3414,3526,3233,3150,2996,3252,3631,3537,3396,3439,3355,3252,3410,3338,3038,2778,3265,2708,2713,3172,3573,3428,3112,3574,3930,3646,3298,3264,3571,4231,4483,4288,4036,3750,3687,3780,3709,3739,4035,4433,4545,4392,4391,4409,4329,4305,4339,4452,4372,4304,4321,4296,4300,4260,4163,4147,3956,3582,3493,3895,3614,3481,3483,3828,4047,4112,4312,4461,4371,4500,4653,4364,3591,3205,3088,3386,3480,3333,3278,3431,3704,3768,3562,3483,3530,3974,2841,2987,3016,3529,3903,3793,3394,3526,4048,4360,4475,4489,4412,4268,3504,3032,3320,3240,3553,3603,3694,4166,4610,4509,4281,4389,4551,4400,4484,4188,3968,4232,4296,4287,3826,3703,4418,4525,3952,3873,3900,4324,4577,4572,4140,4284,4472,4287,4093,4453,4596,4440,4078,3898,4184,4196,3572,3225,3059,2946,3166,3060,2862,2444,2642,2534,2118,2211,2317,2448,2251,2281,2039,2352,2239,2252,2199,2117,1825,1572,1797,1939,1878,1491,1031,1331,1914,2254,2514,2204,1891,1880,1998,1716,1769,2038,2140,1984,1998,2044,2186,2832,2784,2791,2753,2554,2252,2401,2566,2480,2139,1944,2457,2871,3067,2943,2742,2186,2020,2354,2381,2501,2534,2755,3034,2684,2749,2459,2157,2382,3025,2366,1809,2164,2018,2226,2750,2200,1782,2576,3339,3232,3205,3387,3677,3013,2569,2959,3017,2248,2447,3868,3994,2736,1549,1994,2218,2436,2730,2384,2026,2108,2181,2198,1840,1998,2085,2005,2010,2359,2632,2856,3052,2389,2475,2732,3269,3841,3841,4014,3977,3499,3381,3464,3919,4143,4255,4396,3991,3572,3671,3705,3731,3618,3459,3403,3528,3570,3539,3630,3474,3741,3927,3901,4081,4018,3705,3904,4025,4343,4424,4348,4123,4093,3703,3608,3813,3872,3854,3836,3601,3353,3515,3714,3738,3505,3816,3989,3740,3592,3596,3782,3961,3977,4152,4219,3325,2792,2695,2846,2919,2957,3511,3841,3673,3607,3460,3251,3261,3381,3396,3223,3344,3318,3316,3532,3938,4140,3849,3708,3851,3480,2690,2404,1925,1543,1380,1438,1409,1450,1401,1523,1647,1928,2569,2884,2585,2276,1741,1610,1602,1351,1540,1823,1987,2238,2161,2395,2805,2148,1759,1870,2093,2771,3378,2801,2844,2603,2820,2523,1716,1531,1725,1948,1932,1968,2150,2244,2307,2365,2597,2809,2202,1650,2138,2335,2187,2535,2899,3592,3550,3544,2679,2212,2484,2411,1833,2126,2465,2250,1914,2170,2379,2332,2160,2205,2103,2432,2380,2508,3186,3147,2404,2468,3205,3031,2814,2289,2177,2434,3153,2901,2829,2850,2708,2655,2161,2096,2278,2571,2578,2224,2207,2490,2273,2455,2701,3078,3264,3089,2719,2755,3129,3698,3982,3604,3182,2775,2821,2658,2082,2270,2373,2190,2652,2768,3045,3002,2865,2736,3585,3840,3293,3071,2963,3415,3465,3086,2858,3266,3360,3274,3200,3110,3404,3686,3881,3974,3378,2876,2901,2501,2469,2494,2873,2498,2648,2977,3016,3467,3198,2739,2564,2424,2755,2629,2453,3278,3440,3199,2911,2850,2905,2869,2850,2994,3171,3363,3521,3494,3381,2720,1901,1970,2768,2734,2751,3032,2980,2674,2510,2432,2186,2020,2239,2416,2314,1920,2052,1828,1535,1858,1717,1699,1885,1886,1663,1378,1545,1716,1905,2193,2167,2261,2000,1803,1757,2218,2534,2150,1886,1898,2139,2129,2356,2153,1775,1511,1464,1454,1424,1451,1478,1745,1990,2307,2527,2257,2071,2021,2504,3315,3710,3918,4242,4564,4716,4695,4571,4200],[2855,2570,2573,2696,2791,2733,2404,2600,3052,3194,3212,2809,2467,2689,3120,2943,3111,3567,3527,3311,3627,3693,3099,2656,2368,2729,2905,3140,3443,3272,2608,2207,2453,2357,2351,2492,2548,2382,2409,2374,2266,2752,3342,3427,3215,2611,2275,2442,2736,2725,2264,1766,1711,1829,2443,2833,2757,2579,2452,2557,2642,2453,2184,2229,2395,2140,2330,2687,2908,3087,2854,2208,1969,2597,2697,2008,1700,1778,1881,1667,3098,3782,3724,3613,3320,3227,3131,3133,3200,3073,2940,3018,3322,3360,3737,3719,3364,3094,3585,3965,3431,2791,2389,1966,2010,2379,3085,3065,2554,2909,3849,3680,3085,2987,2720,2566,2692,2346,1900,2575,2852,2761,2795,3118,2908,2491,2536,2402,2294,2243,2044,1853,1724,2096,1968,2211,2229,2576,2414,2092,2038,2212,2270,2138,1993,1969,1938,1936,2226,3082,3260,3007,3524,3842,3886,3254,3284,3425,3123,3044,2957,2657,2363,2562,3142,3444,3208,3340,3387,2729,1862,1616,1948,2744,3316,3190,3564,4036,3830,3959,4441,4729,4654,4196,3516,3064,3139,3662,3982,4026,4147,4428,4739,4652,4257,3950,3400,2376,1717,1619,1542,2040,2547,2473,2946,3156,3032,2994,2795,3020,2449,2520,2231,1840,2276,2628,2719,2652,2584,2654,2626,2735,2598,3118,3991,4158,3697,3451,3423,3394,3807,4059,3868,3824,2872,2381,2809,2896,2808,2485,2170,2324,2199,1927,1660,1578,1627,1795,2101,2141,2272,2971,2311,1843,2529,2539,2325,2865,2897,2502,2182,3005,3899,3078,1245,1687,2165,2238,2274,1982,2150,2470,2344,2176,2225,2444,2432,2304,2236,2449,2292,2645,3422,3591,2709,2093,2214,2213,1969,2043,2279,1867,912,1320,1497,1538,1615,1612,1857,1801,1652,2257,2687,2640,2662,2358,2493,2856,3274,3330,3323,3120,3257,3736,4155,3705,3184,3240,3072,3570,3103,3198,2510,2293,2665,3046,2743,2249,2060,2414,2563,2437,2965,3089,3495,2901,2726,2777,2984,3470,3333,2821,2469,2109,2652,2750,2924,2183,2477,2818,2415,1971,1754,2220,2928,3199,2370,1917,2565,3286,3788,3144,2590,2498,2788,2543,2733,3486,2963,2313,2690,2878,3348,3608,3629,3429,3146,2753,2135,1901,2007,1985,1979,2496,2293,1998,2163,2073,1967,2009,2129,1990,1968,2708,2706,2259,1876,1666,1790,1807,1903,2292,2135,2058,2536,2214,2453,2348,1976,1791,1698,1938,2332,2193,2428,2269,2137,2375,2501,2580,1991,2007,2187,2061,2009,1991,2311,2534,2339,2282,2205,1951,2130,2151,2330,2338,2645,2857,2753,2453,2148,2383,2736,2786,2468,1857,2279,2586,2316,2284,2034,1707,1522,1585,1653,1820,2133,2409,2423,2534,2396,2361,2431,1967,1594,1692,1822,1812,2354,2803,2563,3008,3372,3168,2409,2542,2230,2204,2020,1779,1980,1964,2375,3423,3560,3452,3391,3130,3084,3484,3295,3052,3134,3470,3808,3537,2906,2623,2380,2444,2908,3846,3997,3278,3244,2918,3178,3096,2501,2877,2399,1400,2096,2240,2314,2539,2043,2008,1767,2294,2313,1631,1653,1851,2257,2470,2264,2181,2357,2374,3173,4548,3845,3297,3106,2342,2229,3190,3772,2491,2498,2576,2688,2480,2191,1931,2242,2112,2161,3108,3243,2769,2521,2949,3398,3636,3715,3717,3134,2948,3671,4064,3898,3924,3806,3408,2824,2646,3328,3096,3056,2610,2358,2937,3373,2697,1803,2006,2668,2874,2801,2958,2808,2258,2397,3181,3606,3508,3230,2994,2522,2745,3157,3166,3121,3242,3299,2796,2496,2788,3089,3394,3343,2904,2398,2719,2968,2471,2474,2950,2884,2103,2458,2868,2296,2107,2379,2409,2653,2522,2170,2069,1875,2170,2548,2718,2952,3262,2909,3165,3063,2465,2109,2354,2558,2619,2889,2727,3030,2518,2530,2722,2753,2686,2326,2177,2482,2448,2745,2635,2045,2481,3501,3628,2796,2676,2585,2469,2554,2812,2568,2368,2458,2210,2225,2033,1996,3046,3275,3204,2712,2398,1760,1237,1750,2203,1704,1865,2767,3370,2589,2330,2382,2705,2645,2270,2770,2841,2620,2197,2625,3149,2850,3491,3617,2981,2344,3032,3389,3666,3870,3560,2631,2105,2568,3086,2968,2431,1747,1803,1953,1770,1804,1832,1748,1899,2076,1764,1711,1644,1461,1675,1501,1700,1792,2091,2482,3125,3250,2973,2272,2185,2381,2270,2163,2365,1872,1743,1817,1733,1920,2019,1933,1954,2054,2137,2019,1824,2087,2249,2076,2255,2269,2586,2642,2658,2568,2586,2793,2842,2906,3150,3208,3394,3322,3225,3354,3168,2980,2729,2798,3430,3783,2762,1640,1690,2089,2041,2036,1792,1743,1906,2634,2575,2436,1975,2509,3370,3216,2511,2100,1910,1814,1493,1440,1471,1599,1789,1577,1365,1672,1929,1699,1567,1741,1570,1461,1594,1715,1884,1826,1676,1658,1670,1530,1429,1579,1526,1378,1570,1655,1579,1460,1510,1569,1485,1515,1503,1497,1569,1573,1576,1588,1603,1940,2034,1863,1785,1848,1845,1782,1601,1657,1766,2170,2886,2584,1977,1896,1893,2169,2599,2832,2762,2732,2573,2785,2984,2586,2399,2570,2374,2224,2463,2297,1949,1828,2012,2133,2394,2536,2762,3079,3320,3238,3328,3664,3192,2887,3413,3826,3731,3257,2852,2894,2686,2399,3145,2470,2080,2137,2271,2912,3626,3962,3646,2564,2359,2945,3119,3263,3034,2429,2407,3633,4019,3376,2745,2354,2419,2261,2321,2589,2277,2172,2612,3533,3293,3030,2334,2018,3029,3672,3095,2783,2733,3189,3786,3852,3837,3492,2369,2477,2230,2032,2514,2463,2965,3006,2678,2731,2636,2323,2407,2952,2967,2504,2872,3194,2237,1913,2177,2945,3459,3331,2907,2195,2097,2230,2919,3333,3126,2575,2493,2501,2203,1907,1895,2008,1959,1909,1575,1574,1703,1732,2242,3085,3252,3464,2843,2363,2302,2415,2430,2417,2508,2717,2578,1908,1929,1721,1482,1367,1392,1512,1783,1725,1648,1570,1415,1872,2351,2206,1951,1892,1917,1759,1532,1970,2076,1887,2156,2462,2525,2526,2210,2101,1758,1880,1848,1903,1971,1666,1564,1576,1498,1454,1365,1673,2331,2226,2140,2522,2911,2504,2236,2215,2524,2504,2585,2810,2366,1773,1687,2019,1675,1697,1756,1505,2128,2009,2272,2775,2582,1851,1691,2056,1818,1869,2518,2452,2202,1965,1939,1940,1722,1552,1644,1645,1441,1553,1516,1614,1316,1340,1267,1319,1458,1845,2239,2155,2028,1722,1484,1399,1438,1469,1349,1267,1267,1375,1507,1608,1439,1228,1500,1883,1885,2254,3105,3265,2974,3499,4200,4341,4271,4418,3911,3538,4002,4353,4252,4119,3750,3266,3529,3809,3848,3773,3498,3881,4340,4348,4192,3847,3406,3353,3471,3252,3041,2689,3204,3292,3288,3361,3623,3539,3286,3447,3773,4026,3717,3427,3347,3541,3971,4192,4004,3748,3675,3790,3730,3503,3457,3792,4139,4315,4439,4392,4327,4269,4315,4332,4283,4311,4339,4303,4273,4152,4089,4180,4116,3761,3668,3752,3707,3814,3927,4034,4124,4120,4220,4528,4487,4488,4596,4480,3641,2917,2862,2945,2639,2801,3331,3536,3444,3118,3032,3422,3462,3879,2866,2824,2902,3252,3754,3703,3285,3474,4228,4480,4095,3942,3687,3408,3441,3041,2773,3308,3553,3431,3550,3928,4144,4026,3971,4094,4283,4155,4255,4083,3731,3646,3923,4269,3887,3500,3924,4421,3608,3284,3283,3798,4508,4396,4120,3996,4007,4002,4080,4244,4627,4780,4584,4164,3835,4167,3973,3563,3200,3413,3350,3019,2709,2599,2558,1962,1809,2115,2402,2763,2986,2932,2755,2677,2583,2947,2881,2161,1676,1812,1847,2029,1978,1642,1390,1491,2078,2688,2499,1961,1723,1968,2353,2100,1767,1917,2003,2011,2143,2103,2100,2094,2211,2495,2242,1975,2534,2619,2674,2484,2419,2365,2563,2812,3040,2673,2522,2243,2149,2447,2405,2588,2984,2928,2894,3252,3733,3349,2472,2275,2647,2099,1593,2024,1885,2199,2439,2410,2171,2608,2455,2219,2415,2445,2994,3151,2625,2917,3042,2547,2702,3504,3120,1913,1564,2114,2449,2459,2844,2636,1857,1686,1886,2032,1981,2501,2932,3110,2752,2499,2788,3251,3278,2862,2902,3307,3421,3764,3706,3672,3641,3341,3347,3451,3964,4353,4249,4025,3758,3551,3658,3646,3582,3469,3736,3706,3642,3520,3620,3620,3541,3785,3982,3952,3902,3795,3703,3912,4183,4611,4749,4552,4125,4095,3882,3715,4047,4026,3905,3847,3371,3299,3695,3818,3835,3770,4140,4372,4035,3776,3857,4259,4273,4172,4384,4005,3487,3234,2855,2830,3144,3091,3098,3240,3371,3438,3493,3367,3293,3217,3173,3075,3031,3000,3121,3420,3815,3753,3274,3315,3376,2303,1819,2305,2143,1604,1375,1375,1403,1470,1469,1507,1669,2622,3117,2677,1959,1709,1766,1776,1634,2028,2548,2280,2003,2589,2899,2968,2774,2232,1867,2226,1883,2456,3273,2869,2690,2846,2822,2406,1874,1409,1738,2007,2139,2020,2038,2041,2113,2292,2587,2879,2419,2032,2155,1923,1899,2375,3101,3085,2468,2921,2922,2163,2235,2254,1604,1861,2624,2730,2194,1724,1672,1858,1931,2335,2433,2410,2126,2592,2996,2387,2215,2788,3417,3293,2880,2248,2191,2564,3052,2586,2392,2401,2397,2608,2223,2566,2823,2591,2513,2236,2270,2040,1800,2156,2432,2814,2629,2337,1646,2262,2536,2774,3241,3115,2898,2336,1975,2082,2419,2575,2043,1863,2966,2910,2771,2958,2676,2602,3441,3683,3531,3206,2866,3168,3016,2678,2941,3408,3459,3265,2997,2772,3215,3604,4026,4316,3759,3173,3060,2350,2808,2813,2663,2364,2917,3442,3450,3363,3005,2985,3068,3168,3226,2406,2384,3098,3493,3277,3072,3011,3006,2988,3130,3338,3361,3463,3573,3466,3354,2197,1484,1737,2382,2371,2551,2732,2950,2874,2242,1898,1797,1837,2330,2599,2034,1815,2314,2325,2414,2470,1951,1829,1862,1741,1814,1831,1973,2020,2133,2301,2088,2581,2512,2082,1823,2126,2235,2019,2147,2485,2226,1785,1975,1887,1611,1418,1419,1460,1499,1453,1393,1384,1459,1710,1860,1735,1716,1730,1771,2851,3887,4233,4227,4167,4274,4495,4446,4288],[2757,2477,2486,2664,2774,2527,2116,2290,2964,3372,3383,3674,3320,2914,3037,3409,3523,3561,3306,3354,3820,3321,2407,2281,2495,2946,3189,2822,2188,2389,2625,2343,2796,2687,2435,2323,2369,2193,2458,2494,2237,2702,3395,3526,3108,2865,2549,2446,2882,2868,2666,1875,1657,1686,2183,2567,2511,2203,2121,2679,2708,2437,2094,2117,2466,2256,2710,2536,2289,2611,3064,2529,1976,2819,3293,3011,2519,2172,1898,2237,3132,3603,3836,3905,3628,3271,3410,3566,3341,3393,3311,3149,2848,3120,3584,3814,2674,2155,2304,2552,2862,2687,2321,1952,1997,2640,3059,2952,3104,3863,4221,3684,2996,2910,2846,2565,2685,2356,1875,2287,2299,2567,2835,3710,3795,2921,2155,1962,2164,2208,2084,1899,2063,1968,1468,1875,2267,2740,2933,2670,2315,2120,2204,2323,2227,2049,2104,2129,2612,3392,3648,3598,3782,3560,3160,2979,3216,3460,2946,2814,2955,2647,2328,2315,2688,3298,3178,3305,3469,2641,1688,1739,2458,3493,3875,3537,3584,3824,3798,4364,4752,4661,4540,3854,3072,2957,3293,3350,3674,4220,4494,4784,4716,4596,4108,3732,3504,2517,1615,1326,1491,2210,2784,2495,2081,2071,2630,3056,3169,3196,2722,2566,2400,2343,2562,2822,2721,2638,2704,2746,2436,2440,2632,3255,3474,3444,3171,3227,3255,3220,2579,2848,3350,3437,2497,2349,1782,2125,2705,2386,1932,1610,1670,1967,2236,2612,2014,1907,1987,2208,1907,1881,1823,1904,2752,3020,3129,3791,3182,2744,2818,3017,3637,3212,1766,1878,2240,2120,2051,2074,2497,2553,2314,2249,2536,2820,2498,2185,2343,2234,2377,2776,3288,3588,2944,2103,2083,2113,2203,2491,2492,1868,1068,1418,1608,1671,1958,2063,1832,1566,1811,2601,3262,3044,3341,2543,2161,3142,3960,3842,3330,3066,2784,3308,3926,3752,3532,4053,4205,4349,4143,3731,3536,3817,3925,3620,3354,3133,2498,3232,3493,3457,3462,3247,3295,3163,3012,3073,2982,2984,2953,2609,3097,2788,2509,2714,2724,2355,2703,2953,2552,2492,2746,2963,3072,2975,2504,2583,2844,3231,3165,2639,2265,2419,2862,2620,2769,3497,3704,3517,3393,2396,2830,3110,2963,2753,2423,2299,2150,1967,2224,2099,1982,2230,1695,1431,1384,1381,1415,1528,1701,1835,2004,2642,3234,2968,2042,1364,1567,1637,2180,2156,2115,2098,1903,2077,2379,2281,1898,1746,1916,2106,2385,2375,2380,2841,3318,2586,2310,2696,2502,2325,2403,2482,2241,2123,2148,1960,1945,1796,2213,1849,1907,2041,2288,2756,2852,2868,2648,1853,1456,1843,2106,2119,1960,1714,2106,2184,2285,2248,2060,1693,1553,1537,1610,1526,1970,2182,2884,2645,2620,2384,1987,2115,1904,1865,1711,1668,2295,2312,1962,2722,3421,3447,3252,2812,2282,2515,2325,1837,1843,1934,1975,3032,3429,3562,3635,3371,3282,3334,3330,3382,3500,3820,3785,3610,3051,2545,2394,2776,3659,3881,3544,3096,3076,2908,2955,2575,2366,2647,1701,1228,2434,2099,2655,2394,2060,2107,1899,2412,2558,1869,1771,1864,2079,2128,2192,2032,1976,2099,2552,3351,3287,3366,3504,3049,2833,3255,3001,2499,2192,2168,2570,2861,2249,1996,2352,2086,2307,3461,3676,3769,3820,3991,3764,3795,3907,3990,3635,3629,4116,4256,4085,3860,3777,3311,3184,3364,3362,3222,3244,2896,2548,3119,2787,1722,2198,2698,2764,3187,3295,3516,3001,2354,3043,3613,3894,3858,3627,3437,3166,2910,2790,3387,2930,2862,2855,2282,2552,3117,3156,3361,3210,2750,2888,3280,3351,2806,3105,3155,2247,1912,2644,2962,2787,2696,2702,2591,2711,2897,2180,2248,2413,2487,2728,2751,2568,2813,3128,3627,3204,2579,2589,2792,2640,2764,3141,2642,2861,2230,2187,2285,2430,2400,2292,2810,3189,2845,2646,2884,2845,3065,3373,2678,2079,1940,1974,2170,2834,2931,2885,3223,2972,2386,2502,2708,2695,3183,3217,3232,3012,2706,2281,1691,1996,2534,2421,3095,3749,3244,2300,2004,2574,3196,3029,2663,2956,3008,2867,2588,3105,3686,3942,4035,3251,2838,3106,3087,2351,2826,3738,3039,2009,2851,3357,3721,3519,2248,1941,2226,1866,1670,1726,1916,1918,1696,1682,1574,1590,1736,1578,1728,1376,1502,1852,1843,1825,1793,2346,2433,1888,2162,2243,2229,2051,2122,1892,1793,1924,1801,1640,1532,1576,1679,1638,1829,1931,1557,1938,2549,2022,1930,2144,2786,3009,2854,2713,2787,3149,3287,3294,3333,3476,3729,3284,2752,2653,2808,2862,2841,2842,3043,3703,3532,2291,1534,1808,1814,1745,1537,1462,1687,1932,1992,1944,1937,2530,3049,3053,2575,1948,1811,1824,1584,1425,1709,1768,1523,1395,1564,1907,1891,1636,1582,1797,1665,1636,1636,1772,2199,1994,1628,1683,1723,1539,1454,1459,1483,1522,1512,1515,1442,1425,1538,1664,1686,1485,1349,1555,2045,1934,1746,1876,1978,1838,1854,2122,2079,1928,1781,1820,1794,1666,1825,2599,3143,2836,2097,1901,2066,2757,3276,3370,3298,3151,2773,2518,2290,2186,2486,2843,2687,2552,2382,2236,1963,1744,1767,1926,2004,2125,2670,2906,2915,3131,3327,3340,3072,3016,3029,3153,3154,2821,2767,2850,2915,3218,3604,2933,2631,2562,2614,3166,3915,3902,3230,2494,2405,2776,3050,3165,3120,2742,2096,2878,3131,2611,2378,2598,2806,2934,2977,2788,2275,2198,2526,3362,3274,2729,2006,2210,3131,3286,3160,3240,3308,3550,3606,3420,3488,2962,2442,2556,2192,1974,2053,2689,3263,2584,2270,2853,2657,2147,2053,2832,3020,2166,2404,2821,2143,1971,1848,2466,3516,3140,2319,1834,2758,2946,2924,2509,2758,2326,2494,2386,2300,2099,1979,1931,2082,1922,1739,1673,1762,1728,2563,3074,3248,3292,2393,2020,2054,1981,1910,1660,1844,2376,2459,1954,1664,1472,1677,1440,1407,1596,1720,1802,1751,1510,1237,1718,2308,2336,2109,2249,2177,1870,1670,2001,2290,2408,2460,2143,1963,1987,1837,1874,1999,2476,2139,1786,1691,1526,1386,1426,1592,1582,1688,2204,2328,2069,2050,2174,1902,2098,2471,2477,2957,2977,2775,2912,2613,2089,1850,2056,1836,2123,1876,1513,1678,2016,2193,1997,1874,1750,1685,2031,1865,2184,2964,2614,2284,2136,1940,1878,1881,1638,1521,1418,1229,1217,1531,1870,1453,1287,1384,1544,1384,1658,1936,1970,2280,1832,1479,1460,1660,1760,1500,1448,1784,1742,1466,1548,1532,1405,1453,1498,1303,1426,2206,3087,3166,4101,4309,4132,3911,3765,3188,2672,3323,3919,3899,3817,3364,3134,3751,4016,3917,4070,3889,3738,3995,4075,4156,3725,2955,2769,3058,3216,2833,2896,3331,3463,3522,3652,3736,3580,3696,3784,3608,3950,4024,3654,3395,3641,4320,4399,3802,3513,3530,3562,3509,3342,3330,3714,4121,4332,4453,4456,4496,4493,4408,4332,4351,4315,4315,4311,4078,3798,3889,4148,4176,4064,4045,4051,4100,4197,4219,4308,4235,3685,3842,4295,4295,4252,4123,4030,3348,2654,2461,2421,2437,2763,3206,3464,3564,3120,2992,3197,3547,4089,3172,2592,2907,3327,3880,3908,3400,3666,3901,3808,3593,3803,4132,4030,3802,3472,3217,3650,4329,4252,4135,4300,4224,3901,3837,3940,3962,4200,4657,4531,4036,3554,3791,4216,4121,3791,3542,4016,4301,4081,3561,4080,4956,4864,4304,3740,3530,3530,3872,4405,4420,4598,4656,4616,3974,4224,4292,3606,3174,3366,3062,2632,2523,2518,2198,1883,1612,1895,2840,3650,3704,3379,3194,2862,2938,3415,3166,2172,1835,2057,1709,1900,1851,1847,1993,2270,2492,2382,2117,1678,1431,1833,2224,2176,1910,1771,1563,1588,1689,1987,2147,1950,2035,2115,1958,1945,2721,2558,2471,2186,2243,2144,2731,3401,3276,3027,2801,2485,2331,2921,3342,3801,3971,3300,2971,3090,3455,2798,2009,2322,2652,2239,1997,2318,2099,2057,2164,2658,2841,2838,2403,2256,2135,2013,2829,2980,1935,2112,2271,2493,2344,2468,2150,2220,2458,2809,2965,2725,2821,2734,2198,1976,2137,2465,2867,3328,3674,4090,4153,3292,2665,2952,3045,2618,3090,3749,3628,3542,3554,3702,3509,3262,3232,3571,4177,4425,3945,3495,3435,3417,3610,3681,3552,3858,4300,4254,3761,3392,3441,3453,3552,3732,3795,3827,3700,3632,3862,3913,4416,4824,4873,4753,4307,4082,3751,3640,4393,4351,4128,3781,3492,3535,3985,3924,3900,3898,4033,4260,4124,4020,4033,4288,4188,4140,4112,3480,3532,3694,3137,2934,3174,3120,2902,2878,3042,3286,3403,3464,3649,3326,3092,2977,3006,3262,3370,3321,3714,3930,3466,3051,3064,2468,2119,2239,2268,1691,1365,1345,1397,1638,1586,1544,1646,3052,3241,2244,1764,2079,2430,2161,1954,2160,2080,2545,2927,3674,3349,2830,2620,1813,1252,1485,1199,1756,2744,2894,2455,2862,2866,2417,2162,1809,2266,2245,2115,1950,1976,1985,1913,1905,2369,2676,2482,2481,2131,1960,1938,2202,2777,2796,2218,2390,2962,2791,2137,1791,1840,2150,2532,2545,2229,1733,1575,1868,2269,2227,2177,2244,2131,3062,3572,2790,2384,2544,2846,2836,2440,2228,2272,2858,3138,2764,2307,2087,2370,2629,2578,2984,2730,2454,2601,2554,2231,1716,2202,2964,2590,2470,2427,2383,2317,2910,2626,2496,2784,3116,2907,2282,1923,1931,2288,2610,2341,2376,3128,2797,2410,2678,2565,2720,2887,2632,2752,2874,2353,3024,2742,2545,3262,3850,3742,3343,2949,2889,3385,4189,4524,4436,4073,3686,3880,3538,3331,3100,2907,2940,3398,3466,3422,3209,3166,3256,3132,3193,3115,2088,2196,2795,3109,3119,3198,3205,3105,3096,3254,3529,3654,3652,3587,3405,3118,2348,2247,2321,2019,1752,2144,2643,2749,2731,2385,1830,1758,2090,2625,2678,1983,1844,2215,2418,2737,2510,1822,1803,1869,1756,1952,2124,2082,1825,2017,2287,2229,2218,2277,2086,1824,1726,1837,2129,2416,3393,3276,2642,1775,1482,1537,1628,1588,1419,1469,1582,1486,1558,1640,1700,1628,1721,1659,1871,2055,2576,3282,3809,4228,4232,4280,4676,4501,4352],[2887,2884,2561,2578,2534,2279,2106,2287,2868,3294,2928,2836,3248,2965,2798,3333,3142,3195,3082,3001,3448,3033,2469,2791,2972,2994,3274,2986,2438,2564,2817,2686,3253,2872,2501,2292,2327,2121,2353,2438,2363,2611,2796,2923,2576,2499,2454,2438,3156,3055,2595,2098,1928,1909,2332,2713,2472,2070,2087,2341,2523,3474,2986,2742,2678,2566,2832,2689,2306,2553,2867,2407,2192,2449,3128,3440,3287,3007,2464,1923,2288,3263,3547,3624,3729,3316,3522,3641,3459,3242,2822,2653,2307,2463,3159,3253,2568,2401,2548,2498,2474,2649,2590,2095,2490,3073,3363,3342,3603,4134,3975,3374,3122,3151,2796,2392,2397,2300,1975,2130,2219,2206,2341,3238,3798,2895,2054,2022,2276,2524,2757,2304,2503,1758,1996,2555,2282,2237,2712,2890,2002,1984,2343,2070,2052,2302,2282,2316,3052,3624,3873,3904,3936,3372,3140,3442,3484,3512,3065,3191,3333,2866,2440,2292,2428,2756,2963,3131,2654,1916,1528,1994,2545,3014,3465,3465,3253,3146,3259,4277,4948,4405,3377,2954,2956,3122,3373,3492,3763,4251,4364,4535,4595,4108,3153,2864,2699,1996,1472,1308,1700,2556,2408,2024,1881,1874,2127,2609,2868,2545,2541,2791,2540,2352,2386,2777,2749,2662,2919,2470,2111,2463,2908,2993,3067,3145,3033,3527,2926,2555,1763,2187,2539,2551,2204,2247,2197,2786,3142,2832,2207,1801,1716,2115,3002,3475,2145,1474,1627,1968,2022,2114,2351,2770,3545,3182,3357,3949,2754,2223,2241,2280,2965,3033,2465,2534,2298,1884,1886,2136,2504,2535,2432,2658,3482,3938,2907,2024,2294,2686,2866,2872,3122,3445,3067,2094,1994,2157,2392,2558,2567,2214,1745,1844,1974,2052,2471,2413,2139,2164,2234,2286,3162,3278,3746,2688,1870,2761,3791,3510,2993,3017,2367,2667,3296,2989,3250,3848,4180,4180,3981,3640,3826,4269,4075,4050,4095,3716,3082,4033,4285,4420,4532,4271,3995,3839,3564,3222,2819,2541,2699,2908,3498,2591,2400,2935,2802,2352,2884,2895,2476,2514,2648,2829,2687,2849,2975,2799,2916,2739,2073,1730,2213,3038,3458,3392,3640,3876,3827,3887,3751,2597,2004,1824,1695,1617,1548,1894,2326,2208,2364,2260,2110,2275,1714,1663,1773,1738,1739,1753,1926,2029,2089,2711,2858,2558,1932,1468,1754,1488,1732,2084,2722,2460,2345,2434,2064,1970,1859,2025,2025,2098,1925,2113,1945,2853,3705,2775,1962,2196,2415,2360,2811,3199,2903,2881,2627,2031,1777,1664,2158,2026,1839,1929,2166,2900,2775,2369,2212,1923,1773,1890,1977,1744,1584,1898,1847,1719,1793,1539,1644,1489,1835,1844,1808,1920,2464,2731,2802,2423,2532,2010,1963,2570,2259,1897,1672,1664,2281,2248,2244,2850,3365,3423,3560,3397,2940,3094,2648,2157,1806,1965,1856,2626,3410,3682,3770,3784,3751,3702,3574,3536,3731,3909,3553,3374,3632,3263,2708,3422,3991,3685,2740,2106,2059,2469,2733,2301,2481,2744,1684,1511,2324,2831,2899,2452,2456,2212,2124,2791,2796,1924,2314,2771,2908,2653,2727,2409,2292,2287,2123,2829,3060,2471,2286,1988,2402,3264,3234,2752,2344,1909,1898,2300,2207,2188,2091,2041,2743,3974,4096,4009,3987,3339,2828,3406,3945,4037,4128,4192,4221,4207,4103,3827,3486,2823,3252,3414,3278,3206,3119,2663,2351,2932,2736,2420,3417,3659,3394,3550,3430,3240,3399,3254,3594,4071,4008,4026,4108,3886,3138,2743,2858,3220,2890,2814,2712,2644,3062,3261,3054,3164,3424,3207,3366,3695,3846,3665,3448,2917,2097,2192,2644,2500,2228,2258,2629,2508,2225,2411,2743,2686,2725,2624,3048,2924,2291,2336,2974,3543,3653,3541,3051,2851,2363,2553,2941,2940,3096,2643,2854,3306,2604,1670,2556,3241,3260,2585,2344,3082,2831,2279,2009,2010,1887,1634,1378,1759,2666,2940,2899,3011,3046,2567,2976,3143,3046,3327,3484,3242,2898,2743,2380,2008,2019,2172,2187,3227,4301,3769,3014,2525,2346,2580,2689,2774,3206,3676,3736,3706,3205,2977,4039,4101,2944,2865,3788,3408,2753,3139,3675,3385,2733,3138,3106,3492,3321,2098,1642,1872,1771,1746,1887,2217,2028,1618,1474,1426,1576,1586,1627,1912,1666,1534,1459,1693,1790,1769,2233,1968,1602,2273,2469,2258,2618,1958,1765,1869,1824,1602,1570,1638,1909,2040,1816,1449,1502,1399,1710,2691,2335,1875,2039,2524,2778,2873,2811,2755,2832,2824,2964,3208,3322,3262,3007,2795,2622,2758,2964,3173,3050,2907,3137,3416,3227,2299,1732,1503,1711,1638,1623,1822,1800,2186,2806,2437,2410,2774,2855,2797,2176,1803,1689,1585,1822,2083,1755,1602,1716,1766,1914,1885,1495,1554,1602,1544,1388,1444,1666,2026,2200,1809,1686,1656,1458,1524,1506,1519,1766,1605,1636,1661,1692,1639,1640,1675,1420,1472,1645,1786,2079,2030,2112,1844,1572,1947,2093,1927,1919,1937,1952,2070,2107,2494,2755,2840,3090,3064,2517,2346,3156,3730,3804,3683,3377,2570,2389,2164,2371,2943,3374,3566,3301,2563,2084,2023,1866,1697,1816,1965,2168,2624,2900,2744,2844,3087,3208,3124,2967,3073,3161,2965,2771,2732,2795,2845,3401,3548,3926,3166,2746,3237,3749,3984,3540,2968,2531,2538,2786,3217,2909,2822,2391,1823,2544,2842,2490,2597,2523,2338,2797,3269,3449,2301,1921,2889,3996,4071,3035,2479,2958,3078,2706,2797,2873,2642,2790,2641,2598,2701,2358,2448,2409,2081,2042,2218,2553,2424,1416,1604,2386,2286,2347,2178,2315,2576,2078,2226,2940,2663,2316,2002,2241,3432,3495,2533,1939,3300,3572,3085,2397,2289,2474,2475,2397,2479,1996,2458,2763,2195,1824,2042,1879,1778,1709,2574,2967,3088,3011,2240,1898,1940,2121,2141,1617,1683,2207,2327,2172,1596,1369,1389,1279,1439,1647,1727,1842,1889,1817,1626,1776,2310,2309,2076,2032,1919,1919,2256,2507,2166,2273,2326,1969,1950,1991,1793,1975,2447,3003,2612,1732,1383,1525,1498,1632,1560,2009,2076,2237,2436,2357,2137,1727,1688,2350,2608,2494,2980,3006,2656,2713,2587,2420,2537,2171,2788,3345,2496,2012,2140,2326,2176,1787,1847,1844,1906,2135,2036,2300,2774,2221,2023,2099,1819,2045,2221,1886,2005,1588,1377,1360,1519,1526,1404,1378,1425,1606,1614,1472,1471,1499,1773,1497,1274,1302,1377,1430,1325,1574,2070,1745,1386,1463,1325,1339,1424,1629,1598,1706,2274,3335,3974,4396,4267,3941,3670,3342,3051,2524,3073,3926,3909,3746,3487,3686,4126,4108,3902,4092,3972,3414,3172,3513,3924,3658,2762,3007,3331,3488,2999,3232,3667,3549,3638,3465,3325,3281,3441,3636,3588,3562,3732,3300,3063,3205,3739,3917,3446,3362,3337,3394,3422,3104,3287,3930,4221,4332,4389,4402,4433,4458,4392,4229,4272,4385,4431,4404,4340,4176,4081,4014,4002,4064,4164,4149,4197,4329,4237,4180,3941,3173,3287,3658,3788,3729,3363,3112,3210,3352,3225,2589,2542,2832,2879,3229,3332,3443,3419,3239,3638,3703,2613,2290,2967,3646,3847,4010,3674,4078,3836,3830,3774,3986,4200,3819,3584,3640,3561,3658,4140,4296,4387,4509,4455,4284,3951,3906,4006,4283,4458,4398,4489,4461,4500,4329,4001,3789,3483,3513,4514,4722,4359,4797,5112,4989,4597,4018,3540,3362,3439,3837,4060,4213,4184,4292,4344,4335,3928,3321,3151,3487,3049,2727,2642,2374,2570,2464,2025,2592,3398,3694,3732,3397,2972,3018,3450,3055,1958,1713,1898,1877,1905,2478,2337,1988,2338,2544,1928,1378,1692,1794,1549,1332,1824,2309,2564,2288,1896,2169,2462,2378,2034,1644,1879,2067,1922,2368,2953,2637,2700,2447,1924,1953,3053,3636,3216,3046,2702,2857,2906,3681,4023,4148,4034,3198,2333,2297,2722,2229,1959,2508,2761,2801,2544,2430,2357,2157,2258,2395,2688,2709,2385,2352,2414,2692,3024,2591,2062,2200,2042,2053,2014,1992,2171,2381,2536,2888,2823,2573,2275,2299,2252,2299,2285,2513,2841,3243,3481,4057,4505,4049,3422,3287,2741,2949,3016,2980,3388,3122,3359,3725,3614,3231,3108,3602,4502,4590,4096,3828,3431,3373,3543,3449,3497,3992,4487,4559,4049,3423,3610,3680,3717,3642,3461,3540,3709,3752,4057,4272,4577,4752,4659,4732,4838,4708,3773,4007,4704,4784,4556,4187,3673,3476,3951,4156,4014,3869,3722,4069,4217,3905,4124,4339,4078,3672,3315,3103,3194,3235,3017,3000,2977,2924,2778,2935,3167,3366,3397,3474,3655,3582,3399,3261,3227,3224,3240,3217,3584,4061,3628,3138,3019,2783,2279,2260,2117,1554,1476,1520,1579,1615,1432,1643,1632,2219,2155,1713,1907,2270,2409,2359,1943,1598,1599,2679,3309,3660,2898,2651,2255,1811,1753,1455,1542,2375,2429,2751,2246,2413,2562,2540,2604,2326,2449,2337,1914,1870,2109,1913,1642,1987,2648,2495,2438,2767,2029,2052,2504,2680,2724,2493,2331,2547,2841,2652,2075,2011,2194,2542,2722,2632,2576,2338,2150,2360,2118,1820,1914,2204,2738,3448,3392,2387,2096,2596,2427,2211,2744,2910,2579,2999,2805,2685,2529,2382,2505,2506,2719,2787,2933,3090,2854,2635,2234,2510,3032,3123,2438,2285,2597,2597,3151,3207,2183,1798,2636,3340,2452,2264,2166,2047,2217,2590,2331,2192,2695,2320,2092,2521,2779,2958,2824,2163,2436,2683,2796,2958,2561,2385,2624,3361,3704,3426,3104,2899,2907,3829,4144,4317,4188,3826,4120,3948,3176,2875,2908,3124,3270,3188,3264,3159,3163,3238,3187,3255,2939,2125,2395,2891,2597,2629,2945,2966,2819,3142,3351,3583,3732,3625,3609,3483,3008,2565,2663,2769,2106,1671,2263,2428,2192,2454,2208,1560,1992,2640,3153,3051,2235,1952,2128,2153,2565,2259,2206,1983,1956,1853,1630,1397,1157,1363,1689,2057,2520,2363,2169,2206,2083,1809,2203,2236,2834,3615,4081,3226,1892,1487,1525,1519,1385,1488,1717,1733,1553,1717,1621,1642,1600,1782,2136,2324,2065,2395,3030,3367,3619,3378,3880,4309,4517,4377],[3320,3274,2740,2998,2876,2380,2271,2414,2676,2761,2518,2691,3009,2865,3156,3196,2909,3168,3264,3104,3353,3161,2857,2953,2774,2941,3371,3071,2977,2667,2522,2100,2319,2343,2470,2489,2434,2381,2664,2723,2656,2682,2876,2919,2622,2272,2294,2317,2792,2821,2608,2614,2582,2522,2329,2347,2213,1880,1776,2184,3132,3436,2750,2809,3296,3562,3307,2917,2534,2460,2328,2244,2374,1756,2418,3090,3427,3320,2466,2066,2735,3416,3506,3212,3196,2787,2729,3052,3124,2596,2191,2551,2842,2951,2880,2504,2580,2579,2119,2060,2281,2338,2697,2765,2908,3047,3232,2901,3096,3898,4045,3643,3139,3134,2645,2280,2151,2030,1938,2186,2378,2547,2697,2705,2688,2221,2061,2070,2355,2575,3199,3457,2503,1710,2192,2340,2239,1949,2154,2662,2226,2569,2546,1939,2081,2498,2199,2684,3548,3784,3550,3382,3516,3063,3316,3588,3715,3601,3542,3840,3841,3616,2995,2440,2684,2799,3151,2840,1721,1627,1998,2762,3130,2916,3232,3624,3472,3198,3300,3698,3760,3462,2886,2755,2663,2952,3287,3587,3629,3561,3212,3360,3792,3038,2426,2657,2386,1803,1466,1548,2633,3310,2406,1696,1870,2287,2617,2853,2755,2467,3149,3042,2187,1937,2360,2809,2851,2930,2805,2203,2270,2910,3522,3277,3307,3415,3060,2827,3012,2809,2216,2272,2374,2260,2540,2873,2917,2986,2965,2932,2522,1923,1764,2214,2492,2646,2078,1483,1428,1981,2758,3212,3210,3283,3980,3319,3310,3676,2482,2062,2484,2609,2785,2955,3032,2875,2666,2540,2583,2684,2690,2666,2451,2796,3771,4176,3237,2483,2910,3308,3410,3098,2668,2953,2741,2193,2069,2235,2552,2808,2753,2467,2123,2248,2294,2270,2552,2531,2626,2420,2027,2025,2381,2652,2966,2415,1929,2775,3682,3406,3073,2512,2287,2404,2655,2495,3002,3702,3964,3913,3729,3553,3530,3963,3850,3884,3967,3785,3725,4196,4247,4332,4355,4123,4000,3683,3543,2901,2945,2795,2570,2526,2998,2422,2154,2744,2524,2303,2910,2474,2592,2552,2408,2460,2321,2951,2872,2353,2409,2500,2292,2499,2875,2821,3053,3008,2988,2806,2810,3374,3784,3002,2185,2069,2052,2099,2126,2408,2613,2388,2236,2208,2221,2227,2472,2397,2165,2083,2266,2487,2318,2010,1937,2732,2176,2178,1769,1548,1831,1765,1994,2122,1867,2153,2577,2774,3024,2453,2288,2013,1910,2577,2908,2578,2046,2526,2961,2453,1844,2297,2398,2444,2963,3158,3022,2964,2840,2234,1761,1574,1940,2376,2051,1833,1934,2452,2641,2104,1559,1433,1667,1511,1686,1837,1898,2064,1936,2046,1957,2115,2232,2280,2618,2353,1945,1740,2154,2924,2960,2721,2750,1868,2013,2351,2414,2100,2026,2205,2501,2500,2830,3085,3100,3331,3480,3472,2965,2436,2342,2553,1944,2081,2159,2364,3173,3728,3716,3896,3976,3482,3230,3352,2963,3618,3459,3239,3806,3730,3666,3914,4037,3749,2656,2181,2301,2729,2519,2182,2470,2590,2069,2178,2570,2976,2976,2476,2433,2141,2348,2921,2750,2018,1865,2126,2323,2309,2395,2360,2217,2337,2676,3814,3315,2029,1794,1698,2446,2784,2618,2355,2280,2051,2144,2483,2416,2364,2030,2091,3334,3937,3904,3798,3968,3366,2916,3420,3918,4067,4095,3998,4107,4199,4257,4002,3707,3465,3121,2942,3200,3107,3152,3025,2604,2785,2669,2604,3227,3382,3413,3648,3505,3452,3812,3660,3519,3982,4036,4041,3918,3859,3392,2876,2768,2864,2880,2885,2764,2588,2458,2644,2692,2544,2590,2665,3090,3204,2958,3086,3118,2990,2637,2306,2289,2266,1835,2164,2729,2682,2598,2757,2698,2644,2632,2845,3065,2652,2366,2446,2236,2094,3076,3204,3019,2757,2543,2467,2802,2819,2697,2675,2678,2938,2687,2363,3384,3836,3458,2405,2176,3154,2833,2325,2353,2398,2120,1876,1710,1909,2537,2512,2457,2392,2932,2429,2098,2635,3243,3413,3209,3001,3187,3008,2425,2231,1925,1955,1829,2309,3776,4393,3476,2363,1975,2242,2619,2821,2910,3459,2880,3513,2977,2209,2382,3105,3174,3253,3675,3482,2762,3344,3688,3417,2886,2489,2924,3427,2976,2023,1488,1786,2066,1792,2066,2200,1885,1643,1616,1450,1600,1938,1755,1428,1528,1566,1720,1948,2027,1879,2032,2222,1820,1986,2110,2031,2165,1900,1914,2020,1633,1448,1534,1571,2078,2329,1943,1607,1710,1687,1965,2662,2496,1995,2104,2533,2802,2863,2877,2888,2776,2546,2556,2792,2874,2884,2861,2665,2523,2642,2824,2797,2840,2770,2770,3018,3400,3428,3027,2152,1513,1738,2066,2193,2424,3304,3551,2584,2092,2681,3050,2891,2512,1948,1455,1451,1880,2021,1694,1647,1961,1923,1908,1898,1666,1720,1587,1438,1512,1688,1603,1924,2193,1770,1710,1504,1464,1511,1562,1636,1642,1511,1489,1711,1783,1662,1625,1586,1630,1668,1562,1577,1819,1855,1775,1757,1974,2177,1946,2036,2367,2281,2138,2111,1852,1803,1902,1970,2728,3393,2624,2055,2862,3730,4095,3848,3474,2577,2225,2238,2534,3107,3570,3624,3404,2864,2087,2598,2470,2125,2098,2186,2828,3379,3182,2663,2584,2849,3284,3220,2834,3120,3332,2956,2780,2817,3040,2977,3041,3403,3724,3448,3370,3919,4142,4002,3544,2661,2279,2181,2591,3002,2410,1963,2071,2120,2767,3297,3018,2320,2032,2143,2840,3317,3309,2453,2132,3400,4400,4073,3320,3023,2984,3252,3130,2906,2111,1597,1509,1509,1710,2018,2078,2260,2351,1901,1795,2069,2250,2227,1478,1503,1944,1958,2088,1829,2265,2808,2269,2626,3171,2978,2728,2398,2546,2996,2818,2308,2198,2998,3190,3272,3380,2938,2636,2612,2475,2390,1869,2199,2567,2001,1824,1928,1826,1783,1908,2443,2634,2802,2930,2062,1600,1506,1743,1952,1618,1528,1712,1657,1482,1318,1179,1182,1235,1473,1739,1734,1827,2098,2219,2088,1824,1919,1811,1605,1670,1896,2059,2523,2808,2272,1638,1626,1902,1870,1692,1526,1560,2472,3588,3020,1931,1603,1560,1596,1678,1592,1996,1966,1919,1943,2222,2122,1854,2311,2286,2676,2484,2530,2414,2301,2553,2470,1926,1620,1816,2906,3020,2578,2862,2920,2509,2251,1812,1921,1882,1836,2108,2133,2080,1863,1723,2272,2453,1881,2285,2421,1992,1799,1653,1410,1366,1522,1466,1454,1412,1470,1520,1494,1576,1668,1439,1323,1244,1499,1370,1207,1320,1347,1630,1709,1367,1346,1385,1201,1372,1440,1540,1714,2003,2127,2684,3428,3956,4000,3676,3537,3538,3175,2589,3128,4208,4189,3728,3696,4082,4308,4007,3602,3987,4145,3751,2807,3295,3764,3632,3415,3746,4008,3758,3221,3541,3823,3586,3529,3211,3149,3172,3228,3432,3588,3554,3492,3265,3110,3074,3167,3375,3212,3301,3727,3548,3410,3330,3479,3882,4091,4068,4132,4236,4320,4255,4251,3960,4111,4373,4363,4356,4384,4214,4085,4038,3781,3663,4087,4137,4086,3984,3630,3458,3287,3064,3297,3228,3274,3539,3186,2931,3131,3740,3936,3005,2887,3198,2945,2932,3117,3393,3196,2693,2953,3164,2320,2148,2415,2353,2479,3492,3464,3562,4009,4317,4212,4373,4167,3670,3661,3488,3118,2976,3138,3670,3853,4050,4352,4388,4168,4082,4034,4143,4287,4372,4619,4915,4818,4180,3835,3858,3663,3702,4372,4812,4807,4992,4796,4511,4299,4094,3548,3292,3436,3609,3701,3701,3753,3860,4243,4391,3553,3328,3602,3723,3303,2997,2478,2395,2591,2248,2372,3253,3522,3565,3596,2928,3030,3513,3085,2307,1730,1784,2046,2135,2134,2390,2474,2263,2244,2092,1745,1664,1948,2056,1879,1872,2431,2474,2115,2018,2321,3021,2583,2230,1845,1248,1957,2604,2303,2498,2756,2635,2822,2746,2106,2090,2953,2869,2363,2579,3088,3143,3020,3792,4168,4068,3706,2928,2403,2370,2679,2160,2266,2662,3001,2939,2722,2552,2158,2065,2307,2381,2584,2463,2384,2343,2385,2889,2787,2392,2408,2534,2068,2072,2280,2308,2636,2503,2258,2450,2561,2325,2128,2091,1909,1732,1773,2070,2391,2788,3205,3783,4476,4663,4780,4796,4701,4380,2851,2578,2895,3072,3672,3924,3395,3154,3158,3540,4300,4413,4144,3966,3643,3364,3234,3222,3453,4160,4645,4660,4256,3450,3681,3868,3829,3738,3510,3510,3825,4049,4112,4201,4490,4777,4764,4940,4940,4799,3793,3856,4230,4539,4628,4435,3710,3438,3858,3968,3792,4200,4351,4511,4644,4247,4308,4208,3673,3331,3284,3162,2817,2861,2919,2902,2741,2631,2678,3133,3419,3196,3130,3396,3595,3561,3413,3387,3413,3184,3184,3429,3902,4140,3791,3332,3311,3256,2644,2075,1879,1462,1389,1660,1542,1469,1508,1612,1683,1814,1902,2026,2163,2472,2522,2339,2080,2214,2779,2532,2279,2486,1968,1913,2052,2219,2276,1466,1038,2117,2264,2559,2304,2236,2410,2431,2039,1820,1934,2055,2049,1594,1571,1438,1139,1217,1789,2370,2542,2789,2765,2779,2589,2384,2335,2458,2381,2574,2434,2284,2268,1982,1488,1758,2460,2791,3040,2776,1930,1869,1969,1831,1959,1842,2182,2953,3112,2562,2583,2764,2269,2320,2770,2857,2723,2981,2974,2846,2810,2486,2164,2770,3154,2987,3617,3606,3089,2729,2629,3189,2997,3022,2525,2379,2402,2111,2648,2590,1932,2201,3386,3541,2093,2186,2729,2546,2237,2434,2415,2254,2451,2155,2001,2756,2888,2675,2784,2752,2889,3096,3208,2733,2778,2365,2200,3348,3896,3670,3296,3086,3364,3964,4275,3883,3475,3650,3924,3606,3023,2862,3075,3141,3159,3164,3284,3284,3152,3161,3202,3282,2788,2189,2664,3010,2673,2759,2614,2409,2396,2814,3118,3400,3688,3652,3585,3416,2873,2274,2280,2324,2002,1715,1780,1749,1998,1980,1943,2162,2566,2553,2514,2242,1891,1938,2191,2383,2630,2392,2258,1553,1544,1284,893,871,1066,1476,1558,1866,2559,2752,2334,2526,2685,2074,2249,2780,3252,3520,4011,3924,2975,1865,1967,1900,1519,1591,1731,1504,1429,1479,1445,1478,1511,1519,1930,2244,2227,3253,4056,3952,2997,2746,3029,3619,4219,4308],[3596,2972,2984,3574,3123,2526,2425,2543,2685,2620,2315,2614,2686,2511,2957,3144,3249,3371,3242,3114,3312,3281,2967,2875,2809,3009,3332,2928,2941,2777,2308,1878,1930,2281,2415,2465,2484,2410,2465,2512,2583,3008,3157,2622,2737,2818,2881,2965,2912,2841,2955,2942,2887,2576,2331,2162,2321,2223,1953,2138,2909,3222,3108,3087,3456,3716,3454,3206,2798,2614,2414,2145,2380,2089,1946,2565,3510,3140,2545,2732,2977,3073,2913,2586,2369,2194,2100,2675,3009,2698,2922,3594,3428,3064,2945,2576,2631,2666,2329,2184,2267,2469,3108,3394,2847,2364,2305,2259,3055,3987,4133,3949,3085,2742,2482,2335,2206,2090,1981,1983,2066,2798,3356,2231,2078,2137,2250,2187,2333,2235,3107,3418,2249,1989,2054,2221,2403,1963,2366,3497,3306,2695,2614,2119,2199,2288,2155,3039,3593,3395,3138,3040,3052,2989,3317,3066,2993,3219,3065,3418,3763,3514,2678,2567,3245,3377,3062,2046,1577,1701,2834,3682,3517,3033,3111,3378,3641,3710,3724,3655,3572,3438,2688,2620,2663,2834,3075,3282,3305,3383,2872,2518,2545,2156,2096,2262,2644,2643,1936,2449,3511,3630,3121,3027,2963,2784,3197,3271,3173,2766,3012,3062,2442,2350,2774,2954,3082,3156,2437,2141,2640,3111,3752,3662,3453,3306,3396,2941,3355,3718,3448,2963,2414,2504,2978,3056,2863,2358,2666,2843,2592,2151,2088,2015,1667,1608,1579,1541,1522,2056,2470,2903,3294,3373,3294,3396,3097,2728,1810,1805,2713,2946,2920,3256,3036,2964,2996,2778,2608,2910,2876,2931,2783,2895,3648,3891,3500,3208,3500,3155,3298,3191,2584,2744,2599,2744,2984,2984,3327,3213,2568,2009,2208,2723,2680,2455,2724,3277,3210,2614,2287,2333,2234,2352,2850,2659,2363,2901,3541,3385,2732,2239,2220,2438,2510,2494,2977,3718,3758,3748,3637,3189,3378,3704,3836,3960,4030,3952,4233,4433,4100,3969,4201,4181,3185,2938,3033,2532,2699,2499,2377,2158,2446,2302,2055,2866,2740,3274,3305,2463,2561,2318,2243,2007,1675,1551,1476,1497,1907,2398,2176,2624,2998,2723,2931,2818,2238,1723,1790,2039,2281,2482,2818,2804,2889,3033,3186,3196,2636,1840,1680,1815,1955,2136,2294,1937,1725,1740,1718,1579,1589,1941,1556,1576,1421,2386,2913,2574,2002,1967,2302,2406,2298,2340,2077,1935,2159,2595,2360,1754,1982,2565,3028,2543,2056,2532,2941,2367,2363,2677,2195,2212,2475,2808,2753,2618,2520,2228,1982,1477,1799,2508,2354,1766,1900,2182,2408,2565,2180,2081,2193,2177,2051,1914,1986,1975,2061,2061,2211,2549,2479,2247,2535,2557,2116,2078,2248,2315,2518,2666,2377,1613,1829,2335,2369,2056,1996,2328,2295,2380,2831,2924,2482,2883,3259,3184,3052,1971,1762,2176,2175,2248,2245,2160,2732,3510,3649,3666,3831,3487,3217,3422,3372,3849,4014,3907,3595,3327,3264,3714,3587,3551,3309,2777,2953,3267,2708,2471,2863,2790,2231,1982,1899,2444,2580,2243,2123,2280,2052,2229,2221,1865,1662,1331,1494,1880,1758,2036,1671,1922,2792,3383,2832,2127,1869,1793,2386,2313,2110,2147,1815,1680,1771,1683,1953,2154,1957,2500,3620,3996,3972,3851,3845,3847,3859,3598,3549,3593,3999,4103,4117,4089,4161,3864,3243,3189,3161,2729,3018,3124,3274,2960,2621,2580,2236,2493,3152,3248,3420,3838,3964,3882,3849,3913,3632,3797,3932,3991,3932,3857,3952,3464,3166,2941,2940,3030,2980,2811,2299,2293,2460,2321,2554,2705,2949,2900,2763,2874,3060,3237,3406,3186,2851,2909,2562,2543,2404,2241,2874,3248,3007,2502,2280,2720,3220,2931,2788,2498,2548,1991,2932,2735,2519,2639,3068,3204,3129,3072,2863,2410,2089,2758,3209,3129,3385,3530,3552,2999,2877,3231,2952,2470,2372,2776,2687,2577,2446,2577,2580,2172,2243,2405,2818,2341,1846,2428,3161,3260,3067,3217,3415,3083,2563,2304,2054,2309,2581,2445,3030,3899,3215,2475,2590,2571,2088,2334,2214,2690,2238,2462,2800,2188,1923,2529,3364,3814,3318,3374,2691,3286,3544,3061,2958,3050,3655,4105,3237,1976,1677,1933,2088,2134,2282,1810,1732,1711,1673,1675,1752,2078,1853,1645,1569,1422,1504,1926,2143,1498,1560,2020,1974,1972,1986,2160,2170,1863,1940,2100,1706,1638,1672,1656,1930,1901,1581,1637,1661,1574,1907,2564,2566,2187,2187,2433,2533,2556,2723,3168,2982,2642,2402,2434,2603,2644,2632,2540,2511,2587,2678,2578,2732,2749,2689,2724,2885,2964,3150,3098,2790,2213,1749,1816,2252,2278,2205,2120,1978,2203,2979,3507,3105,2281,1619,1592,1852,1708,1613,1807,2045,2042,1935,1928,1836,1638,1586,1460,1560,1565,1533,1992,1852,1481,1373,1394,1475,1578,1815,1815,1627,1641,1574,1842,1810,1631,1860,1909,1863,1631,1555,1550,1635,1537,1562,1740,1890,2098,1608,1820,2046,1842,1746,1685,1475,1628,1777,1826,2165,2053,1740,1932,2349,3449,4056,3930,3387,2643,2122,2120,2411,3010,3591,3397,3023,3101,2512,2485,2428,2432,2240,2109,2548,3235,3125,2721,2585,2637,3034,3030,3104,3033,3096,2910,2831,3061,3160,2916,2920,3352,3658,3420,3384,3687,3764,3244,2940,2285,2148,2108,2652,2853,1780,1580,2334,2285,2623,3397,3018,2217,2026,2137,2981,3270,3152,2397,2059,2905,3193,2953,2706,3117,3349,3409,3537,3196,2135,1649,1691,2104,2354,2280,2273,2175,2018,1635,1736,2049,2178,2254,1876,1626,1968,1967,1703,1624,2492,2913,2402,3000,3286,2992,3529,2392,2013,2023,2117,2236,2171,2243,2048,1988,2610,2343,2082,2400,2032,2093,1868,2147,2317,2131,2094,2008,1770,1764,1725,2049,2539,3045,2938,2149,1927,1757,1696,1621,1608,1834,1930,1509,1340,1328,1257,1376,1529,1667,1726,1754,1946,1968,2139,1943,1553,1568,1627,1539,1570,2148,2567,2641,2145,1706,1413,2073,2525,1988,1716,1642,1456,2002,3376,3140,2100,1631,1642,1910,1588,1699,1709,1830,2110,1740,1760,1837,1798,2163,2375,2599,2466,2503,2300,2048,2546,2399,2075,1996,2091,2480,2055,2141,2111,2455,2035,1673,1580,1877,1752,1736,2035,1869,1682,1801,2420,2467,2099,1768,2469,2569,1911,1590,1637,1460,1936,2232,1567,1482,1514,1733,1494,1407,1573,1616,1413,1345,1537,1648,1374,1238,1354,1367,1462,1631,1414,1450,1418,1350,1311,1423,1448,2091,2956,2683,2157,2595,3584,3580,3269,3344,3580,3095,3316,3853,4294,4228,3750,3471,3563,4037,4140,3907,3968,3823,3812,3175,3399,3625,3452,3542,3562,3359,3007,3184,3541,3530,3209,3099,2953,2804,2879,2928,3178,3420,3473,3567,3646,3443,3101,3150,3463,3449,3589,3783,3415,3481,3753,3836,3957,3885,3694,3814,3873,4013,4160,4131,3783,4046,4268,4071,4070,4263,4299,4255,4101,3421,3483,4048,4011,3844,3818,3597,3369,3149,3138,3244,3362,3586,3698,3515,3540,3343,3701,3512,3204,3351,3261,2655,2289,2613,2922,2818,2162,2283,2795,3156,3419,2946,3395,3902,3717,3430,3550,4004,4147,4139,4272,4432,4185,4409,3874,3465,3389,3210,3585,3758,3962,4276,4318,4299,4212,4084,4356,4429,4354,4412,4961,4821,4049,3951,4140,4196,4072,4211,4556,4262,4353,4393,4183,4245,4029,3656,3646,3898,3897,3830,3636,3529,3702,4082,4140,3488,3606,4031,3830,3674,3177,2646,2701,2521,2222,2578,3326,3350,3471,3256,2596,2706,3265,2530,2285,2244,2195,2491,2532,2214,2131,2176,2207,2144,2111,1990,2038,2469,2220,2025,2482,2768,2890,2487,2161,2442,2658,2048,2145,2157,1545,1829,2237,2193,2369,2602,2217,2121,2320,2212,2411,2811,2690,2620,2882,3172,2854,2871,3457,3668,3548,3176,2925,3104,3295,3030,2447,2469,2531,2424,2530,2679,2584,2130,2498,2737,2730,2798,2831,2752,2601,2318,2174,2050,2097,2343,2510,2460,2696,2499,2405,2779,2829,2617,2657,2530,1898,1920,2203,2097,2060,2154,2272,2443,2504,2343,3075,3738,4139,4203,4272,4372,4341,3378,3099,3456,3327,3629,3648,3306,3249,3179,3207,3531,3685,3590,3588,3587,3552,3462,3377,3552,4172,4396,4676,4308,3616,3494,3646,3792,3864,3681,3592,3815,4124,4173,4084,4440,4917,5002,5016,4916,4531,3905,3961,4056,3919,4035,4175,3651,3539,3538,3773,4110,4780,4989,4824,4824,4741,4590,3969,3149,2980,3083,3101,2920,2929,3076,2958,2868,2901,3053,3184,3216,3039,2921,3263,3453,3384,3298,3430,3487,3503,3484,3516,3753,4042,4050,3554,2922,2823,2424,1821,1885,1523,1502,1744,1480,1354,1425,1510,1653,1685,2067,2355,2081,2151,1790,2105,2360,2558,3124,2919,2922,2975,2797,3062,2864,2409,2286,1582,780,1378,2240,2630,2521,2375,2707,2830,2440,2140,1720,2113,2157,1455,1290,1433,1481,1477,1722,2175,2326,2296,2433,2024,1575,1779,2185,2329,1918,2351,2180,2104,2532,2004,1000,1426,2575,2880,2661,2282,2128,2481,1995,1824,1838,1932,2420,2546,2652,2740,2607,2244,2242,2473,3069,2378,2416,2426,2220,2414,2686,2384,2207,2664,2745,3252,4100,3894,3312,3284,2977,2947,2978,3277,2866,2367,2031,1782,2059,2077,2003,2194,2846,3083,2186,1934,2370,2579,2178,2207,2458,2642,2834,2407,2542,2828,3010,3001,2643,2662,2874,2743,2180,2258,3038,2830,2757,3239,3395,3628,3791,3695,3758,3720,3895,3458,3238,3629,3683,3506,3318,3160,3262,3233,3141,3190,3346,3305,3197,3245,3266,3207,2753,2165,2842,3003,2513,2609,2500,2533,2420,2266,2075,2477,3094,3299,3445,3388,2750,2215,1971,1789,1707,1754,1869,2037,2185,2149,2372,2696,2271,2087,2249,1977,1948,1963,1857,1981,2081,2126,2002,1317,992,1055,907,945,1798,2355,1989,1987,2221,2741,2659,2409,2884,2720,2555,3134,3393,3466,3695,3852,3637,2662,1958,1613,1444,1569,1606,1392,1375,1409,1452,1426,1444,1527,1654,1863,2337,2894,3316,3235,2545,2633,2802,3361,4012,3751],[3437,2713,2907,3310,2821,2687,2515,2307,2423,2701,2679,2403,2251,2338,2938,3272,3143,3127,2973,2852,2921,3185,3227,3087,3008,2582,2887,2922,2740,2368,2111,2104,2031,2176,2579,2670,2141,2152,2358,2412,2732,3286,3245,2917,2800,2543,2648,3134,3095,2928,2789,2583,2664,2830,2753,2731,3200,3140,2702,2329,2473,2967,3239,2906,2983,2997,2876,2866,2662,2868,2512,2039,2300,2374,2116,2545,3109,3378,3532,3063,2967,2623,2170,1982,1922,2270,2527,2888,2965,2561,2642,3104,2741,2575,2745,2752,2422,2065,2010,2172,2483,2600,2706,2636,2396,1858,2060,2480,3445,3983,3577,3562,2724,2191,2429,2717,2968,2808,2059,2279,2662,3526,3329,2213,2077,1887,2224,2388,2375,2259,2531,2524,1960,2568,2524,2441,2132,2200,2776,3438,3494,3304,3204,3056,2757,2325,2348,3172,3206,3363,3316,3064,2962,3125,3306,2445,2383,2644,2642,3129,3378,3249,2749,2906,3289,3164,2713,2530,2400,2543,3332,3794,3592,3415,3248,3248,3598,3663,3616,3572,3475,3249,2942,2978,3074,2971,3112,3044,2971,3184,3356,3042,2522,2176,2142,2341,2729,3117,3053,3461,3556,3217,3340,3436,2988,2597,3116,2919,2687,2071,2148,2754,2985,3320,3462,3076,2811,2827,2380,2394,2822,2945,2931,3019,3082,2944,3255,3195,3149,3392,3548,3560,3420,3220,3209,2969,2420,2142,3056,3310,2807,2385,2110,1812,1559,1437,1559,1640,1930,2205,1974,2009,2249,2358,2557,2987,3010,2607,2225,2552,2769,2922,3251,3425,2937,2951,2942,2949,3031,3112,2979,3141,3162,2826,3001,3181,3119,3211,3062,3023,3317,3262,2912,2962,2796,2829,3165,3103,3084,2671,2220,1999,2652,3198,3024,2741,2799,3196,3120,2695,2614,2442,2360,2563,3016,3055,2711,2652,3188,2968,2327,2153,2314,2391,2374,2403,2861,3584,3706,3818,3743,2838,3296,3736,3898,4002,3914,3948,4290,4272,4075,3892,4177,3596,3310,3393,3188,2420,2474,2511,2143,1948,2030,2366,2326,3312,2867,3583,3475,3100,2677,2500,2215,1656,1213,794,977,1182,1864,2492,2836,3441,3445,2836,2629,2437,2024,1689,1991,2452,2397,2657,3222,2848,3087,3297,3492,3366,2710,1960,2204,2290,2090,2139,1688,1417,1428,1352,1324,1485,1438,2085,2072,1851,1611,2127,3216,3168,2014,1657,2054,2100,2159,2622,2530,2275,2384,2662,2089,1778,2310,2684,2663,2338,2063,2533,2787,2273,2525,2563,2173,2139,2231,2396,2657,2344,1596,1705,2075,1861,1799,2291,2812,2112,1909,2039,2352,2857,3195,3014,3088,3304,2789,2053,1833,1841,2114,1953,2273,2252,1948,1811,1682,1677,2173,2555,2571,2233,2263,2162,1842,1708,2134,2633,2435,1989,2186,2261,1802,2091,2425,2142,1886,2327,3064,2984,2732,2489,2656,2919,2566,2137,2157,2200,2338,3356,3298,2953,3481,3570,3250,3315,3759,3984,3850,3666,3297,3223,2979,3394,3038,2911,2781,2718,3210,3181,2623,2631,2946,2800,2145,1816,1893,2374,2165,2173,2072,2176,1748,1604,1832,2163,2136,1657,1441,2102,2233,2508,2048,2345,3198,3042,2530,2145,1911,2035,1951,1804,2585,2409,1813,1820,2088,1988,2047,2018,1976,2990,3939,4100,4068,3884,3816,3835,4063,3916,3275,2742,3738,4196,4071,4058,4082,3759,2951,3032,3288,2773,3088,2922,2502,2604,2823,2954,2988,3596,3898,3705,3786,3790,3791,3794,3868,3959,3416,3515,3839,3997,3907,3904,3782,3681,3652,3460,3296,3054,2917,2741,2514,2347,2481,2329,2548,3000,3211,3144,2922,2916,3141,3152,3104,2882,3100,3386,2966,2691,2206,2182,2880,2967,2365,2249,2380,2700,3019,3146,3067,2688,2401,1899,2543,2676,2766,2976,3015,2961,2788,2713,2405,2062,2393,2990,2749,3298,3130,2898,3396,2973,2532,2923,3110,2931,2684,3294,3331,3133,2776,2287,2111,1917,1793,2466,3069,2610,2123,2727,2788,2451,2797,3299,3836,3498,2510,2360,2076,1665,2406,3219,3673,4108,3596,2842,2522,2389,2021,2570,2423,2670,2575,2129,2405,2286,1947,2347,3292,3920,2943,3181,3078,3241,2768,2375,2405,2851,3830,4489,3414,1780,1704,1958,1893,1956,2208,2563,2440,2060,2688,2732,2187,1945,1803,1561,1698,1818,1648,1636,1559,1471,1539,1704,1773,1876,2010,2075,1940,1914,1854,1897,1803,1704,1550,1706,1815,1814,2024,2089,2049,1957,2056,2526,2584,2269,2078,2240,2304,2419,2593,2800,2710,2598,2523,2584,2667,2727,2732,2641,2496,2497,2186,1859,2270,2707,2655,2542,2666,2641,2641,2753,3229,3493,3118,2143,1694,1896,1947,1866,1954,2199,3117,3970,3815,2720,2013,1851,1949,1706,1937,2274,2409,2114,1771,1803,1717,1636,1788,1490,1604,1585,1600,1726,1575,1594,1528,1471,1822,2213,2266,2119,1945,1993,1730,1671,1712,1543,1617,1619,1770,1753,1478,1740,2221,1880,1939,1797,2029,2447,1976,2511,2392,1818,1669,1631,1708,1893,1849,1902,1822,1465,1792,2263,2132,2573,3304,2929,2204,2259,2366,2229,2338,2871,3791,3904,3428,3009,3117,2674,2546,2497,2498,2416,2304,2641,3067,3321,3072,2402,2624,2967,3554,3475,3312,3216,3283,3085,3054,2923,2945,3391,3684,3291,3255,3298,3239,3129,2976,2460,2169,2518,3022,2504,1901,1571,2190,2696,2740,3204,2668,2570,2724,2588,2445,2447,2947,2658,2208,2632,2475,2641,2710,3493,3926,3059,2786,2888,2268,1783,1829,2524,3111,2596,2522,3034,2824,2363,2328,2433,2533,2399,2142,2443,2530,1980,1924,1795,2132,2421,2308,2433,2494,2510,3295,2316,1770,2057,2049,1635,1527,1804,1620,1957,2338,1985,1963,2250,2179,2512,2402,2216,2272,2188,2248,2328,1795,1817,1759,2119,2855,3128,2736,2097,2036,1816,1462,1703,1976,1929,1855,1337,1253,1236,1333,1371,1293,1559,1706,1869,1923,1874,1881,1751,1588,1637,1519,1472,1772,1928,2432,2301,1620,1527,1418,2098,2564,1916,1650,1558,1557,1699,2215,2155,1685,1788,2346,2675,2086,1675,1646,1824,1909,1822,1769,1633,1766,1923,2254,2180,2137,2126,2160,2565,2854,2411,1748,1826,2523,3082,3064,2275,1764,2268,2094,2110,2366,2286,1994,1800,2054,1814,1826,1885,1814,1794,1770,2111,2648,2314,1675,1570,1504,1431,1836,2301,1778,1524,1504,1617,1435,1538,1529,1439,1439,1482,1548,1680,1562,1615,1875,1606,1375,1404,1424,1416,1385,1364,1287,1285,1686,2609,3248,3043,2644,2741,3892,3899,3550,3675,3431,3115,3144,3275,3957,4280,3912,3660,3548,3853,4040,4007,3608,3315,3398,3224,3348,3354,3199,3520,4052,3868,3251,3591,3550,3015,2617,2941,2985,2622,2633,2816,2958,2984,3200,3387,3816,3962,3747,3154,3097,3505,3750,3825,3938,3992,3946,3969,3977,3902,3741,3631,3714,4074,4065,3772,3771,4004,4093,3993,3968,4227,4315,4239,3786,3518,3998,4312,4038,3718,3660,3551,3414,3362,3350,3217,3220,3322,3347,3479,3949,4043,3839,3729,4053,4341,4113,3123,2680,2880,2744,2251,2252,3074,3242,3174,3539,3207,3547,3902,3973,4095,3980,4093,3908,3762,3688,3950,4188,4528,3981,3847,4008,3989,4144,4312,4392,4543,4435,4287,4232,4228,4345,4417,4177,4207,4628,4617,4417,4300,4119,4139,4305,4512,4404,4157,3986,3965,4058,4162,4220,4027,4072,4084,3924,4073,3918,3735,3925,3839,3404,3619,4038,3896,3603,3745,3523,3261,3322,2943,2963,3169,3376,3209,3185,2433,2061,1794,1904,1981,1999,2162,2636,2891,2997,2542,2214,2111,1992,2052,2172,2082,2098,2413,2379,2387,2214,1650,2357,2488,2072,2251,2322,2247,2600,2533,2115,2262,2562,2351,2416,2591,2010,2151,2148,2209,2645,2855,2740,3066,3296,2937,2492,2705,3221,3356,3250,3106,2806,3030,3388,3510,3082,2865,2683,2366,2079,2011,2139,2181,2649,2677,2624,2689,2658,2530,2664,2166,1510,1588,1848,2379,2922,3124,2879,2519,2427,2656,2925,2828,2273,2238,2014,1896,1830,1812,1961,1868,2121,2339,2442,2230,2790,3002,3129,3206,2915,2987,3664,3378,2942,2850,3033,3652,3405,3203,3212,3139,3072,3195,3150,3211,3377,3361,3420,3442,3438,3551,4031,4112,4393,4336,3654,3261,3352,3785,3918,3784,3877,3826,3770,4039,3816,4286,4928,5044,5028,4888,4215,3551,3350,3484,3740,4057,4345,4041,3653,3819,4184,4665,4944,4944,4707,4706,4740,4450,3645,2976,2797,2875,2912,3017,2976,2939,2996,3134,3298,3139,2886,3182,3128,2800,3083,3430,3435,3551,3830,3958,3914,3574,3547,3904,3969,3937,3624,2878,2644,2291,2166,1842,1553,1647,1784,1733,1554,1399,1518,1554,1617,2456,2453,2120,1720,1859,2489,2206,2144,2536,2557,2909,3579,3618,3173,3028,2633,2032,1157,874,1382,2471,2810,2163,2172,2901,2954,2849,2551,2016,2387,2198,1693,1655,1982,2298,2237,1962,2166,2086,1816,1887,1717,1707,2066,2545,2270,1998,2206,2064,2031,2356,2248,1869,2235,2931,2752,2201,2298,2554,2486,2018,1992,1886,1843,1991,2542,2600,2280,2077,2632,2571,2502,2348,1938,2190,2053,1830,2141,2203,2024,1952,2110,2326,3094,3697,3511,3218,3122,2754,2666,2661,2780,2787,2182,1803,1530,2236,2228,2120,2227,2446,2490,2315,2298,2543,2436,2332,2674,2678,2917,3118,2994,3093,2573,2844,2994,2484,2344,2702,2584,2106,2388,2847,2496,2386,2821,3184,3581,3828,3715,3363,3130,3407,3353,3272,3720,3650,3118,3123,3594,3329,3118,3215,3267,3223,3060,2876,2810,2529,2437,2330,2305,3027,2394,2090,2779,2590,2294,2195,1769,1566,2260,2406,2286,2801,3011,2546,2247,2327,2223,1685,1789,2573,2631,2513,2610,2875,2495,1857,2040,1919,1670,2057,1985,1846,1855,1935,2050,2152,1816,1310,1302,1290,1124,1791,2344,2039,1854,2127,2916,3110,2491,2445,2757,3061,3316,3337,3305,3286,3391,3610,3275,2234,1738,1486,1661,1592,1408,1443,1416,1393,1345,1412,1451,1591,1644,1887,1880,1882,1997,2242,2496,2432,2798,3664,3854],[3398,2716,2753,2951,2697,2644,2463,2224,2330,2758,2728,2283,2155,2397,3042,3240,3096,3151,2973,2829,2621,2980,3227,3140,2891,2535,2657,2669,2692,2421,2060,2155,2188,2587,3117,2723,1951,2220,2444,2527,2806,2990,3038,3054,2512,2003,2357,3216,3164,3331,3240,3011,3299,3235,2407,2274,2823,3454,3486,3022,2744,2775,2929,2646,2866,2844,3201,2887,2442,2491,1981,1856,2027,1976,2055,2103,2887,3928,4284,3494,2796,2384,2322,2028,2149,2353,2621,3206,3018,2568,2451,2742,2429,2707,2661,2597,2187,1950,1925,2279,2864,1963,1772,2315,2482,2128,2556,2884,3531,3765,3183,3096,2780,2023,2293,2825,3065,2947,1996,2184,2579,2810,2282,2090,1863,1577,1648,1726,2151,2236,2111,2061,2035,2269,2495,2514,1844,1827,2334,2277,2502,3041,3140,3056,2680,2380,2376,2692,3348,3929,3828,3461,3191,3146,2795,2341,2837,2946,2829,2884,2911,3340,3539,3318,3249,2667,2786,3182,3212,3481,3924,3692,3714,4017,3596,3105,3018,3174,3626,3322,3267,3317,3030,2931,2565,2454,3056,3175,3195,2977,2801,2955,2865,2321,2009,2266,2783,3183,3342,3374,3043,3072,3238,3252,3080,2910,2938,2780,2282,2040,2133,2247,2472,2833,3168,3306,2873,2712,2525,2383,3012,3024,2791,3015,3112,3044,3478,3627,2801,2504,2783,2879,4136,4185,3506,3216,3260,3051,3167,3160,2634,2075,1746,1941,1726,1619,1688,1672,1903,2104,1888,1802,1948,2313,2797,3029,3031,2894,3053,2769,2484,3141,3456,3437,3168,3287,3574,3518,3293,3450,3354,3032,2898,2929,3330,3186,3060,3181,3167,3133,3310,3455,2902,2399,2716,2666,3169,3098,2820,1968,1830,1836,2213,2388,2502,2792,3518,4286,3968,2918,2669,2440,2469,2363,2800,3344,3737,3466,3140,2530,2230,2171,2350,2323,2270,2182,2873,3448,3670,3743,3770,3299,3509,3802,3870,3963,3764,3774,4253,4232,4072,3227,3304,3106,3173,3397,3128,2656,2931,2512,2120,2023,1947,2621,2778,3805,3536,3791,4202,4040,3404,3746,3388,2447,2476,2330,2008,1581,2463,3423,3454,3401,2908,2258,2161,2221,2156,2144,2448,2586,2414,2865,3298,3320,3226,3120,3387,3409,2956,2354,2210,2235,2658,2707,2287,2143,2046,2317,2098,2078,1996,2482,2282,1961,2089,2293,3206,2917,1453,1452,1881,1869,2305,2171,1905,2219,2339,2713,3010,2717,2586,2730,3055,3021,2295,2206,2369,2305,2359,2700,2699,2308,1907,1514,1780,2072,1780,1901,2508,2641,2589,2907,2968,2510,2024,1851,2082,2335,2976,3186,3174,3063,2461,1677,1510,1789,2001,2081,2442,2535,2211,1984,1927,1886,2130,2173,2365,2389,2248,1923,1937,1801,1976,2491,2255,1643,1599,1577,1681,2007,2260,1977,1820,2191,2834,3022,3082,3098,2872,2821,2841,2145,2238,2404,2084,2963,3098,3030,3307,2923,3052,3651,4005,4108,3868,3845,3447,3539,3289,2840,2997,2970,3131,3469,3591,2937,2189,2351,2260,2112,2004,1805,2050,2309,1982,1982,1979,1977,1937,2093,2411,2377,2198,2198,1987,1979,2604,2712,2196,2202,2193,2135,2370,2285,2276,2610,1812,1343,2233,2289,1906,2118,2332,1886,1660,1719,2081,3105,3858,4047,3985,4004,3981,3946,4021,3992,3208,3375,4064,4049,3936,3861,3922,3974,3575,3509,3305,3121,3051,2740,2437,2898,3470,3505,3487,3701,3742,3731,3567,3032,3601,3626,3762,3969,3769,3452,3683,3934,3870,3842,3781,3916,3881,3660,3300,3128,2957,2955,2742,2123,2150,1985,2214,2797,2889,3093,2994,3089,3331,3274,2911,2867,3152,3444,3155,2710,2494,2585,2808,2498,1929,2339,2743,2787,3150,2950,2786,2807,2526,2630,2844,2786,3044,2740,2480,2651,2683,3112,2864,2364,2873,2768,2751,3078,2620,2347,2432,2619,2517,3019,3254,2787,2509,3134,3313,2509,1952,2208,2352,2072,1773,2230,2776,2510,2397,2401,2220,2039,2756,3128,3378,2896,2331,2037,1372,1416,2115,3626,4597,4565,3771,2722,3297,3227,2388,2918,2799,2609,2657,2292,2244,2635,2468,2207,2709,2993,2502,2932,3294,3297,2679,2415,2597,2848,3448,4216,2905,1791,2229,2417,1723,1740,2485,3157,2721,2640,3615,3667,3029,2488,1991,1553,1558,1792,1736,1794,1624,1486,1558,1636,1534,1727,2043,1989,1847,1887,1755,1685,1727,1694,1521,1987,2684,2942,2854,2648,2667,2734,2643,2438,2459,2886,2709,2652,2554,2521,2611,2630,2698,2863,3054,3208,3067,3063,3022,2756,2648,2604,2369,2197,2355,2603,2624,2519,2698,2684,2676,2610,2934,3099,3112,3151,2766,2139,1865,2061,2327,2867,3518,3913,3731,2762,2564,2314,1996,1891,2069,2237,2325,2120,2066,1741,1797,1685,1789,1795,1659,1768,1664,1657,1762,1781,1668,1854,2281,2564,2125,2054,2562,2729,2470,1883,1476,1423,1562,1730,1792,1781,1699,2520,2748,1909,1782,1866,1872,1963,2208,2599,2298,1901,1697,1696,1717,1628,1717,1591,1767,1838,1998,1803,1912,2042,2130,1889,1606,1805,2272,2402,2468,2953,4002,4014,3631,3226,3176,3111,2976,2728,2741,2566,2225,2507,3213,3611,3244,2468,2568,3058,3509,3529,3316,3626,3684,3096,2851,2823,3021,3215,3074,2757,2597,2944,2966,2872,2722,2340,2148,2767,2986,2619,2851,2388,2647,2832,2880,2751,2523,2432,2242,2450,2398,2776,2968,2442,2686,2998,2416,2597,2774,3066,2842,2299,2624,2917,2364,1712,1865,2635,3395,3183,2591,3406,3408,2584,2142,2334,2762,2599,2475,2930,2525,1712,2003,2034,2342,2437,2379,2569,2407,2291,2436,2088,2288,2637,2261,1716,1726,1918,1989,2563,2599,2720,2644,2749,3078,3301,3032,2379,1886,1966,1978,1865,1738,1785,1931,2614,3057,2941,2474,1886,1703,1776,1946,2089,1817,1550,1525,1276,1277,1277,1301,1382,1349,1438,1676,1765,1697,1710,1750,1836,1508,1299,1430,1365,1663,1775,2015,1811,1527,1562,1729,2171,2240,1829,1467,1482,1655,1873,2155,2207,2031,2357,2680,2361,1926,1969,1634,2054,1909,1826,1689,1553,1954,2147,1724,1630,1669,1693,1894,1951,2108,2244,1991,2258,2334,2666,3346,2491,2273,2713,2566,2443,2301,2184,2032,1724,1734,1621,1883,1714,1242,1745,2192,2348,2326,1968,1900,1748,1466,1449,1686,1825,1681,1483,1355,1297,1394,1514,1521,1521,1515,1455,1372,1642,1870,1768,1846,1628,1371,1353,1388,1448,1544,1587,1477,1570,1997,2531,3123,3420,2863,2733,3927,4495,4616,4565,4104,3759,3579,3534,3720,4007,3868,3586,3376,3812,4204,4082,3443,3118,3247,3131,2867,2955,3505,3793,4063,4018,3642,3610,3188,2634,2521,2953,3204,2945,2737,2839,2974,2918,3015,3018,3330,3765,3797,3199,2892,3104,3239,3507,4017,4078,4002,3914,3916,3647,3664,3847,4018,3868,3386,3306,3459,3583,3729,3741,3653,3831,3870,3747,3538,3925,4229,4360,3847,3491,3583,3463,3495,3539,3482,3219,3078,2986,3114,3264,3552,3865,3830,3874,4064,4315,4275,3665,3414,3711,3208,2409,2895,3326,3102,3296,3442,3196,3515,4073,4221,4301,3823,3673,3666,3718,3583,3708,4140,4011,3584,3961,4420,4448,4392,4559,4732,4705,4484,4334,4276,4353,4400,4375,4287,4392,4605,4570,4465,4528,4271,4029,4276,4769,4529,4323,4096,3824,3695,3764,3995,3963,3871,3676,3531,3881,3937,4233,4209,4007,3739,3883,4039,3853,3806,3865,3675,3592,3625,3273,3384,3568,3476,3389,2535,1734,1570,1668,1950,2150,2543,2876,2885,2587,3053,3106,2774,2298,2070,2711,2776,2081,2050,2097,1946,1706,1241,1413,2358,2357,2177,2328,2584,2865,2894,2487,2392,2755,2841,2608,2450,2225,1822,1910,2230,2449,2410,2191,2571,3050,3077,3072,2617,2922,3308,3229,2940,2888,2757,3145,2943,2920,2865,2785,2849,2443,1889,1587,2363,2647,2751,2541,2499,2231,2266,2728,2767,2241,2281,2388,1939,2283,2485,3088,3398,3357,3234,2977,2961,2702,1929,1678,1971,2006,1441,1783,2488,2330,2058,2088,2184,2141,2561,2656,2565,2534,2291,2650,2630,2602,3162,3129,3348,3603,3326,3305,3225,3036,2971,2939,2954,3164,3539,3652,3428,3283,3320,3450,3705,3674,3869,4050,3844,3481,3544,3831,3784,3762,3742,3602,3442,3705,3724,4379,4900,5013,4987,4640,4122,3522,3392,3725,3981,4578,4826,4289,3646,3869,4277,4516,4660,4732,4766,4752,4556,4345,3470,2904,2862,2942,2917,2938,2939,2860,2821,2952,3156,3228,3342,3572,3311,3106,3218,3536,3680,3834,3853,3852,3909,3718,3710,3869,3531,3458,3243,2769,2368,2248,2415,2194,2036,1960,1820,1853,1503,1381,1670,1772,1828,1963,2154,2456,2247,2855,3440,2939,2364,2017,1595,1878,2841,3124,2768,2872,2746,1745,1036,1459,2207,2643,2381,2068,2667,2951,2625,2578,2028,1862,2381,2519,2469,2612,2359,2128,2212,2024,1966,1815,2065,1606,1530,1677,1876,2290,2086,1796,1906,2191,2530,2776,2801,2836,2797,2875,2301,2149,2621,2895,2596,2297,2106,2059,2452,2388,3156,2701,2084,2143,2724,2387,2138,2247,2355,2353,2211,2188,2420,1925,1793,1705,1699,2041,2353,2900,2813,2709,2768,2612,2579,2604,2781,2526,2026,2366,1996,2422,2662,2823,2942,2876,2768,2365,2311,2685,2493,2481,2550,2465,2625,3248,3442,3021,2357,2254,2468,2365,2301,2613,2542,2423,2601,2543,2380,2018,2610,3305,3398,3272,3011,2719,2890,3395,3283,3128,3322,3426,3232,3030,3362,3407,3295,2900,2373,2298,2228,2181,2207,2249,2562,2565,2831,2646,2378,2322,2353,2436,2397,2337,1814,2096,2389,1984,2193,2291,2234,2275,2246,2136,1964,1655,2126,2508,2288,2482,2854,3367,2876,2157,2276,2082,2229,2720,2539,2190,1872,1671,1713,2034,2214,1849,1451,1542,1648,2170,2599,2197,1796,1969,2425,2545,2437,2308,2501,3106,2973,3164,3123,3066,3064,3206,2925,2360,1902,1659,1713,1503,1421,1322,1373,1309,1493,1631,1462,1439,1419,1559,2008,2380,2327,2288,2342,1945,1795,3077,3793],[3360,3094,3194,3063,2884,2650,2513,2215,2508,3153,2771,2190,2072,2475,3284,3503,3185,3215,3022,2921,2872,3038,3062,3131,3003,2889,2724,2484,2454,2164,2054,2504,2475,2773,3293,2769,2177,2217,2453,2568,2526,2700,2730,2568,2284,2298,2806,3166,2985,3317,3382,2731,2453,2477,2147,2098,2247,2370,2588,2854,2722,2423,2588,2577,2930,3133,3206,2445,1953,2002,1856,1877,1848,2016,1786,1537,2669,3748,3798,3387,3112,2898,2497,2295,2132,1851,2754,3436,2984,2486,2676,2699,2576,2879,2856,2543,2150,2360,1873,1262,1702,1090,1408,2198,2722,2754,2790,3330,3662,3344,3020,2872,3172,2722,2588,2824,2790,2571,1589,1582,2227,3011,2814,2741,2611,1709,1541,1684,1979,2376,2288,2737,2568,2499,2336,2009,1704,1651,1904,2024,2186,2600,2709,2456,2371,1992,2173,2287,2917,3292,3395,3504,3264,3204,2984,2623,3322,2880,2640,2646,2715,3211,3452,3410,2684,2278,2662,2728,2851,3554,3870,3391,3549,3811,3391,2996,3244,3459,3667,3360,3132,3244,3296,2779,2411,2645,2642,2639,2912,3066,3194,3019,2763,2511,2436,2496,2817,3485,3439,3082,2814,2951,3051,3452,3408,2808,2629,2569,2194,1876,1604,1793,2155,2375,2679,3052,3065,3209,2958,2436,2934,2937,2899,3297,3361,3255,3440,3432,2920,2806,2436,2486,3974,3947,3309,3627,4273,3804,2910,2689,2529,1924,1768,1917,1881,1708,1780,1663,1646,1981,2056,2116,2490,3029,3193,3169,2830,2951,3780,3405,2907,3137,3168,3299,3164,3295,3950,3880,3375,3382,3010,2707,2551,2711,3241,3298,3270,3264,3193,3115,3216,3520,2984,2341,2637,2425,3044,3408,2910,2087,2102,1969,1946,2315,2468,2603,3552,4284,3842,2950,2588,2912,2952,2860,2911,2951,3072,3566,3604,3121,2554,2296,2391,2287,2309,2262,2875,3360,3632,3784,3716,3625,3599,3852,3984,3784,3586,3970,4129,3980,3654,2726,2795,2811,2786,3120,3052,2706,2888,2241,2678,2485,2355,2862,3666,3852,3536,3308,3210,3354,3496,4155,4340,3709,2939,2142,1811,2146,3298,3871,3472,2941,2374,2315,2689,2967,2987,2502,2306,2326,2142,2498,3197,3469,3220,3072,3046,3064,2886,2309,2210,2398,3112,3287,2737,2381,2223,2246,2203,2273,2213,2336,2309,1765,1726,2178,2349,1918,1742,2014,2106,2007,1827,1902,1994,2187,2662,3022,3184,3140,3156,3119,3640,3183,2529,2284,2099,2144,2230,2164,2316,2118,1882,1498,1618,2198,2122,1940,2275,2447,2898,2927,2542,2664,2389,1795,2055,2303,2442,2975,3180,3064,2244,1350,1143,1443,1764,2010,2396,2509,2137,2084,2183,2150,2155,2144,2253,2262,1990,1935,2092,2016,1972,2291,2089,1490,1549,1743,2048,2171,2017,1969,2056,1932,2056,2922,3340,2952,2467,2409,2125,1960,2358,2564,2091,2669,3431,3619,3539,3394,3552,3679,3964,4189,3880,4208,3942,3939,3594,3084,3249,3298,3652,4356,4052,2800,2302,2078,1875,1888,1863,1749,2042,2346,2186,1792,1902,2231,2380,2670,2804,2490,1966,1895,1991,1874,2026,2350,3046,3042,2149,2121,2428,2468,2161,2722,1744,1405,2345,2545,2016,1876,2122,2026,1728,1669,1985,2775,3753,4024,3908,4029,3994,3933,4008,3950,3798,3973,4052,3980,3963,3913,3928,4018,4015,3663,2938,3205,3419,3596,3829,3973,3945,3723,3781,3894,3964,3870,3710,3518,3780,3046,3218,3854,4008,3641,3445,3904,3904,3361,3659,3894,3879,3735,3438,3099,3042,3121,2801,2259,1871,1933,2050,2191,2307,2865,3094,3154,3127,3117,2608,2413,2797,3232,3181,2961,2945,2807,2608,2599,2276,2653,2984,2509,2555,2731,2587,2497,2530,2825,2846,2546,2996,2919,3088,2922,3297,3903,2975,2575,2978,2722,2839,2950,2507,1901,1989,2385,3030,3583,3802,3057,2807,3042,3123,2165,1775,2592,2494,2150,1613,2195,2667,2299,2377,2117,1914,2250,2702,2625,2674,2843,2603,1906,1843,2437,2623,3227,3873,3329,3100,2831,3522,3436,2818,3052,3189,3609,3564,3270,2083,2514,2958,2456,2233,2200,2258,2387,2807,3064,2532,2387,2317,2613,3221,3938,2432,1720,2084,1952,1356,1886,3134,3466,2742,3030,3872,3431,2491,1815,1675,1831,1538,1412,1486,1500,1302,1156,1503,2022,1863,2193,2302,1908,1876,1795,1758,1537,1578,1707,1520,1698,1981,2212,2271,2320,2304,2320,2491,2270,2020,2641,3238,3256,2675,2311,2504,2669,2566,2674,2577,2769,2840,2698,2724,3045,2828,2376,2430,2579,2540,2539,2706,2620,2730,2725,2604,2613,2900,3044,2987,3186,3425,3507,3062,1966,1889,2793,3461,3492,2824,2539,2933,2852,2335,2055,1889,1910,1836,1691,1882,1641,1709,1323,1625,1775,1636,1540,1772,2109,1981,1677,1826,2398,2442,2164,2083,2171,2635,2728,2367,1761,1582,1583,1478,1558,1477,1570,1722,1738,1588,1561,1638,1843,2070,1836,1959,2683,2574,2118,1710,1727,1672,1776,1898,1825,2257,2363,1906,1721,2035,2302,2252,1963,1709,1807,2446,2485,2397,3093,4027,4036,3580,3281,3176,3281,3293,3023,2784,2719,2518,2533,2836,3263,3277,2861,2530,2467,2679,3064,3538,3501,2996,2664,2683,2962,3197,3165,3006,2590,2410,2685,2866,2727,2302,2296,2228,2908,3040,2938,2946,2664,2722,3160,3228,2598,2380,2092,1755,2178,2756,3341,2732,2310,2994,2630,2414,2835,2886,2601,1973,1972,2148,2343,2178,1831,1916,2661,3209,3383,2570,2915,2780,1878,1766,2668,3426,2951,2910,3375,2635,1966,2062,2266,2353,2858,3196,3096,2647,2497,2480,2251,2600,2364,1760,1905,1713,2059,2667,2958,2828,2955,2886,2563,2403,2511,2522,2361,2128,1854,1462,1547,2350,2017,1946,2473,2578,2494,2296,1949,1748,1941,1990,1737,1455,1489,1472,1376,1277,1247,1330,1364,1394,1551,1742,1822,1738,1797,1776,1743,1296,1310,1622,1952,2088,1864,1759,1704,1489,1468,1540,1815,1888,1609,1494,1642,1660,1800,2250,2304,2076,2143,2376,2166,1974,2098,2142,2360,1681,1525,1584,1677,2091,1946,1544,1469,1497,1857,1953,1476,1551,1876,1942,2114,1985,2053,2352,2400,2495,2574,2510,2622,2784,2525,1865,1553,1553,1776,1738,1675,1537,1600,1743,1765,1750,1554,1664,1315,1289,1470,1566,1792,1625,1391,1316,1349,1414,1600,1904,1987,1643,1615,1402,1395,1606,1547,1404,1367,1384,1428,1372,1415,1647,1502,1476,1937,2276,2839,3175,2916,2178,2786,4192,4644,4190,4000,4123,4023,3615,4183,4167,4030,3377,2945,2874,3316,3616,3360,3175,3442,3646,3543,3049,2930,3509,3751,3768,3583,3396,3157,2746,2595,2648,2871,3204,2968,2758,2799,2820,2918,3069,2877,2888,3286,3609,3365,2994,3007,2942,3162,3654,3955,3834,3758,3659,3437,3820,4169,3858,3195,3018,3073,3121,3370,3322,3141,2802,2844,3255,3169,3430,3742,3716,3771,3496,3405,3398,3206,3406,3371,3313,3095,3051,2924,3101,3150,3237,3540,3570,3576,3562,3871,4251,3876,3300,3089,2643,2674,3360,3536,3123,3193,3265,3208,3716,4432,4208,3973,3657,3503,3422,3519,3541,3638,4109,4078,3374,2972,2956,3758,4271,4392,4463,4476,4387,4398,4440,4589,4616,4508,4676,4643,4496,4417,4272,4524,4731,4552,4335,4407,4426,4408,4176,3782,3320,3255,3332,3385,3276,3322,3452,3882,4207,4564,4248,4208,4189,4006,3870,3815,3896,3772,3628,3812,3997,3649,3344,3396,3579,2928,1931,1675,1714,2088,2570,2985,3448,3376,3140,2679,2645,2799,2834,2467,1953,2511,3125,2743,2105,1908,1812,2070,1958,2197,2448,2247,2422,2313,2236,2518,2497,2312,2235,2428,2588,2556,2396,1982,2010,2524,2795,2946,2777,2460,2669,2613,3041,3193,2807,3064,2862,2441,2116,2334,2822,3011,2690,2449,2504,2687,2464,1962,1451,1879,3294,3209,3020,2788,2602,2254,2640,3361,3105,2481,2382,2432,2464,2483,2347,3006,3513,3573,3486,3387,3476,2837,1920,1630,1631,1638,1582,2213,3005,2752,2231,2015,2066,2246,2476,2497,2365,2309,2490,2787,1946,2253,2408,2163,2351,2452,2774,3211,3059,2967,2975,2942,2980,3124,3518,3894,3740,3500,3492,3405,3330,3523,3522,3662,3961,3472,3121,3465,3467,3361,3531,3404,3414,3695,3792,4207,4704,4852,4667,4122,4096,3808,3703,4030,4232,4620,4827,4441,3711,3598,4111,3996,3880,4344,4576,4352,3864,3748,3340,3008,3016,3019,3018,3011,2957,2913,2784,2888,3212,3399,3405,3708,3432,3302,3522,3820,3881,3768,3630,3840,3896,3904,3842,3759,3298,2976,2802,2659,2522,2600,2774,2746,2622,2386,1730,1695,1458,1344,1686,1756,1779,1714,2100,2463,2533,3293,4036,3564,2490,2051,1872,2379,2895,3241,2720,2384,2469,2109,1688,1637,2074,2161,1898,2700,3095,3305,2852,2553,2470,2558,2890,2656,1969,1854,1631,1518,1860,1883,1297,1275,2254,1842,1195,1386,1992,2219,1892,1810,2034,2563,2396,2270,2717,2786,2723,2839,2485,2280,2298,2404,2252,2423,2918,3017,2996,2438,2481,2137,1716,1947,2165,2092,2269,2648,2835,3020,2776,2805,2842,1788,1614,1579,1513,1843,2652,3299,3040,2586,2416,2091,2148,2577,2525,2263,2404,2663,2254,2373,3166,3872,3531,3239,3106,2221,2389,2575,2479,2718,2636,2302,2656,3641,3313,2571,2267,2110,2304,2423,2515,3020,2899,2543,2398,2232,2138,2083,2564,2808,2728,2722,2590,2468,2379,2550,2924,3122,3282,3400,3330,3053,2935,2972,3234,3183,2316,2524,2624,2592,2604,2954,2988,2909,2899,2546,2689,2837,2823,2473,2262,2175,2308,2358,2166,2072,2620,2688,2208,2356,2697,2435,1773,1738,2199,2233,2096,2643,3391,3880,3426,2665,2459,2030,2525,3428,3356,2725,2004,1860,1952,2178,2210,1976,1677,1551,1698,1970,1860,1864,2175,2231,1906,1752,1982,2220,2220,2561,2943,3050,3008,2806,2497,2465,2384,2219,2076,2082,1770,1470,1376,1389,1352,1498,1624,1530,1483,1437,1494,1599,1646,2077,2458,2081,1880,1853,2084,2889,3089],[3444,3592,3937,3668,3335,2977,2668,2354,2805,3320,2851,2287,2115,2423,3409,3510,3499,3595,3103,2950,3128,3272,3312,3088,2924,3073,3017,2562,2467,2390,2323,2457,2426,2443,2699,2731,2573,2519,2569,2368,2231,2408,2680,2750,2149,2184,2364,2484,2689,2942,2955,2532,2412,2544,1965,1797,1565,1934,2047,2147,2276,2258,2198,2494,3020,3119,2568,1689,1651,1673,1698,1791,2053,2307,2126,2032,2542,3244,3198,3181,3179,3008,2431,2621,2493,2502,2953,3273,3008,2183,2429,2841,3011,3160,3251,2938,2287,2721,2376,1168,1187,1151,1605,2339,2978,3135,2950,3118,3244,3010,2808,2235,2413,2539,2626,2740,2215,1955,1732,1711,2391,3442,3746,3892,3018,1770,1595,1811,1897,2324,2658,2786,2920,3027,2687,2416,1736,1767,2145,2424,2222,2339,2377,2222,2119,1992,2183,2308,2241,1996,2322,2848,3151,3012,2631,2620,3079,2186,2302,2547,2773,3096,3332,3095,2221,2420,2552,2317,2481,3498,3165,2683,2998,3378,3009,3071,3352,3376,3278,3118,3211,3284,3068,2674,2579,2620,2629,2587,2589,2781,2983,3089,2930,2407,2100,2031,2335,2974,2865,2592,2768,2878,2890,3094,3407,3193,2993,2954,2786,2339,2166,2419,2484,2419,3056,3055,3274,3730,3040,2787,3338,3283,3273,3134,3104,3306,3666,3463,3205,3474,2564,2403,3351,3464,3256,3728,4185,3685,2896,3074,3245,2784,2713,2744,2576,2318,2299,2132,2229,2483,2674,2362,2597,2909,2599,2554,2752,3394,4082,3652,3408,3392,3273,3472,3496,3642,4112,4019,3713,3352,2658,2596,2724,2765,3001,3086,3273,3403,3340,3251,3263,3353,3011,2657,2642,2379,3052,3473,2818,2456,2514,2069,2059,2700,3052,3067,3117,3456,3478,3354,3208,3776,3853,3647,3808,3792,3786,3939,4026,4156,3428,2684,2444,2308,2231,2962,3687,3652,3652,3595,3425,3032,2603,2809,2899,2690,3040,3254,2912,2752,2564,2565,2832,2656,2291,2644,3136,2610,2815,2576,2834,2734,2686,2551,3029,3237,3687,3606,2842,2716,3082,3356,3212,2732,2400,2358,2741,2954,3255,2896,2281,2347,2338,2232,2622,2361,2366,2091,2143,2064,2039,2436,2688,2709,2579,2661,2822,2720,2785,2663,2706,2799,3222,2758,1948,1671,1521,1484,1572,1539,1572,1975,2315,1547,1406,1597,1997,2410,2156,2075,2208,2316,2591,2501,2032,2294,3090,3592,3085,3281,3210,3144,3400,3261,2750,2215,2309,2500,2084,1734,1960,1931,1741,1740,2080,2090,2101,1853,1922,2187,2126,1928,1763,2041,2284,2141,1872,2384,2547,2796,3221,3045,2095,1388,1224,1610,1865,1955,2165,2242,2157,2452,2165,2114,2310,2284,2157,2055,2209,2254,1993,1912,2194,2448,2107,1934,1973,1975,2099,2030,1966,2312,2304,1870,2204,2844,3107,2438,2442,2134,1851,2285,2552,2380,2032,2332,3016,3406,3418,3449,3569,3509,3453,3775,4060,4248,4352,4171,3730,3474,3533,3685,4309,4489,3527,2200,1616,1390,1615,1799,1691,1710,2243,2776,2665,2059,2213,2893,3056,2924,2658,2004,1315,1591,1788,1976,2248,2595,3396,3002,2054,1787,1820,1960,2150,2978,2143,1624,2135,2220,1815,1547,1587,1488,1538,1941,2977,3636,4167,4123,3967,4034,4001,3995,4020,3972,3924,3871,3871,3892,4049,3997,3957,3802,3783,3782,3533,3463,3752,4145,3903,3737,3614,3768,3978,3818,3712,3925,3967,3862,3716,3261,3500,3956,4052,3765,3414,3779,3481,2706,2933,3143,3682,4058,3317,2861,3107,3007,3065,3011,2577,2419,2110,2347,2419,2629,2757,2621,2565,2810,2435,1922,2250,2758,2471,2636,3025,2579,2160,2661,2875,2774,2575,1943,1659,2091,2734,2680,2386,2373,2635,2144,2962,3084,2921,2862,3317,3032,2688,2964,3089,2779,2753,2471,2523,2586,3099,2771,3459,3917,4047,3602,3388,3312,3099,2199,2019,2519,2276,2033,2104,2254,2300,2845,2740,1950,1924,2534,2596,2207,2359,2823,2845,2097,2222,2852,3023,2531,3162,3540,3183,2733,3167,3179,2485,2592,2909,3629,3397,3585,2749,2332,2423,2262,1991,1980,2175,2069,2233,2452,2200,2059,1821,2710,3323,3564,2270,1554,1781,1780,1583,2114,2889,3100,2341,2714,3179,2554,1852,1448,1702,1936,1721,1656,1511,1244,1271,1294,1901,2654,2225,2574,2359,1859,1892,2047,1923,1425,1582,1727,1510,1690,1967,1935,1820,2050,2072,2158,2554,2395,2105,2546,3363,3318,2678,2449,2496,1950,1849,1956,2047,2412,2541,2496,2604,3050,3175,2545,2299,2488,2547,2644,2691,2684,2569,2501,2457,2488,2720,2939,3050,3133,3215,3638,3848,3374,2165,2198,3023,2714,2625,2885,2910,3167,3166,2565,2129,2011,1920,1669,1458,1866,1852,1562,1786,1753,1504,1707,2251,2253,1829,1526,1451,1903,2006,2344,2953,2602,2208,2100,1863,1605,1736,1721,1651,1790,1805,1881,1959,1591,1587,1730,1562,1798,2401,2404,2342,2668,1990,2124,1941,1837,1673,1698,1824,1963,2591,2589,1863,1833,1839,2314,2608,1996,1753,2342,2876,2568,2235,2602,3353,3646,3122,2807,2897,3141,3051,3328,3199,2874,2394,2484,2554,2777,3023,3073,2945,3001,3210,3270,3009,2550,2450,2746,3070,3369,3527,3374,2910,2995,3150,3077,2962,2829,2415,2628,2512,2781,2858,2408,2467,2616,2742,3197,3025,2133,2238,2136,2185,2531,3147,3416,2469,2468,2740,2666,3063,3218,3355,2885,2077,2279,2061,1997,2190,2276,1946,2154,2272,2589,2383,2382,2291,1590,1824,3089,3540,2864,2909,3702,3122,2448,2713,2460,2292,3029,3421,3464,2821,2060,2357,2040,1867,1780,2336,2429,2193,2303,2436,2475,2475,2623,2779,2598,2147,1796,2103,1857,1910,1910,1638,2050,2437,1846,1908,2153,2221,2427,2476,2031,1771,1992,1686,1511,1494,1697,1713,1574,1461,1397,1312,1191,1272,1592,1810,1875,1770,1756,1720,1735,1556,1481,1809,2499,2965,2476,2172,1932,1513,1438,1469,1542,1525,1405,1405,1801,2064,1862,2006,2245,2096,1578,1912,1859,1532,1918,2370,2283,2028,1972,1841,1905,1956,1879,1589,1215,1302,1498,1776,1636,1789,2181,2301,1932,1877,1873,1637,1825,1959,2285,2166,2467,2807,2268,1736,1411,1418,1593,1445,1494,1558,1486,1647,1884,1779,1462,1303,1108,1489,1788,1616,1551,1523,1473,1529,1754,1543,1758,2045,1861,1631,1862,1643,1402,1460,1583,1610,1611,1512,1433,1450,1559,1854,1569,1860,1704,1917,2444,2580,2149,2014,2964,3943,4285,4074,3737,3699,4172,3442,3908,4396,4240,3557,3328,3463,3749,3794,3429,3212,3728,3983,3814,3416,3217,3398,3442,3099,2932,2989,2801,2599,2557,2832,3081,3167,2954,2902,2845,2867,2922,3191,3379,3111,3087,3510,3460,3066,3079,2958,3130,3580,3937,3669,3585,3619,3614,3901,4169,3542,2875,2867,2895,2895,3095,2780,2761,2775,2567,2768,2985,3271,3532,3486,3571,3544,3435,3210,3050,3063,3074,3018,2932,2935,2944,3082,3240,3216,3155,3225,3372,3370,3516,4109,4071,3543,3174,3331,3477,3869,4167,4022,3889,3339,3085,3783,4434,4481,3972,3688,3480,3362,3510,3597,3540,3762,3959,3408,2170,1762,1908,3649,4431,4318,4242,4219,4352,4392,4435,4441,4468,4749,4599,4332,4276,4120,4227,4511,4515,4275,4199,4251,4275,4397,4188,3509,3062,3022,3229,3406,3662,4030,4392,4850,4917,4556,4419,4357,4513,4187,3878,3918,3884,3882,4113,3627,2994,2945,3365,3646,3204,2251,2041,1866,1971,2686,2918,2923,2687,3264,3146,2674,2275,2081,2051,2389,2827,3272,3166,2631,2367,2612,2771,2522,2304,2254,2405,2459,2148,2204,2242,2658,2743,2199,2178,2125,2086,2156,1758,2065,2754,2856,2990,2752,2753,3241,3074,3462,3186,2756,2333,2217,2153,2350,2756,2884,3151,3334,2609,2924,3053,2349,1850,1664,2643,3362,3051,2898,2724,2500,2458,2657,2883,3077,2788,2511,2520,2752,2467,2472,3039,3284,3535,3601,3449,3564,3038,2211,2043,2110,1857,1886,2631,3216,2943,2219,1734,1876,2275,2663,2709,2323,2333,2509,2756,2047,2181,2196,1797,1566,1652,2515,3304,3182,3177,3082,2913,2943,3100,3397,3918,4217,4042,3854,3981,4232,3852,3382,3404,3465,3173,3113,3420,3382,3231,3187,3183,3227,2974,3316,4252,4750,4793,4528,4125,4006,3915,4194,4392,4283,4392,4395,4379,4012,3694,4301,4324,3961,3762,4195,3812,3322,3182,3120,3145,3173,3112,3099,2944,2721,2488,2254,2524,3100,3550,3663,3568,3343,3437,3784,3993,3869,3668,3578,3653,3770,3774,3807,3488,2745,2426,2597,2853,2985,3067,3040,3051,2853,2433,1793,1599,1551,1546,1616,1656,1872,2169,2475,2430,2352,2692,3141,3056,2328,2146,2135,2464,2844,2925,2479,2178,2069,1932,1714,1685,1940,1948,1619,2320,2818,2949,2618,2460,2523,2495,2471,2126,1656,1436,1556,1542,1842,1901,1472,1422,2222,2164,1721,2292,2665,2176,2138,2434,2659,2401,1876,2153,2556,2508,2632,2880,2920,2398,1936,2000,2121,2166,2741,2540,2372,2308,2193,2181,2169,2337,2498,2233,2254,2553,3044,3384,3059,2895,2153,1682,1890,1704,1532,1909,2625,3057,2297,2003,2118,1768,1576,2430,2669,2783,3094,3008,2869,2556,2617,3142,3107,2413,2501,2251,3006,2857,2764,2879,2601,2279,2757,2929,2448,1881,1776,2440,2556,2207,2404,2778,2656,2556,2449,2266,2072,2372,2943,2958,2443,2334,2352,2304,2251,2289,2692,3585,4220,4328,3812,3039,2800,2766,3133,3972,2866,2874,2947,2855,2857,2807,2766,2785,2721,2951,3352,3852,3512,2452,2115,2345,2257,2070,2164,2393,2646,2548,2332,2371,2584,2552,1899,2021,2143,2132,1841,3047,3643,3420,2978,2580,2057,1489,1983,2466,2714,2524,2387,2182,2153,2238,1921,1638,1778,1664,1506,1697,1848,1951,2314,2378,1743,1613,1644,1973,2259,2377,2820,3125,2959,2389,2143,2263,2286,2181,2222,2807,2280,1577,1556,1460,1477,1810,1670,1458,1683,1709,1513,1494,1613,1597,1924,1966,1993,2357,3076,3046,2748],[3156,3371,3540,3431,3383,3225,3111,3075,3133,3387,3032,2369,2262,2428,3042,3160,3418,3484,3360,3289,3142,3036,3253,3168,2923,2899,2864,2619,2657,2766,3151,3174,2883,2821,3144,3279,3009,3029,3040,2708,2721,2366,2344,2751,2196,1823,2014,2357,2420,2678,2776,2717,3117,2872,1871,1492,1454,1932,2390,2602,2233,1930,2283,2718,3046,2675,1865,1548,1637,1766,1865,2375,2596,2501,2504,2320,2478,2470,2505,3039,2452,2281,2304,2646,2676,2890,2622,2791,2791,2490,2788,3247,3091,2964,3154,3054,2835,2814,2806,2470,2700,2601,2338,2470,2676,2744,2575,2673,2884,2985,2719,2356,2367,2069,2185,2166,1939,1838,1986,2167,2476,3052,3436,3263,1769,1070,1104,1776,2376,2698,2898,2745,2877,2944,2808,2358,1360,1301,2306,2866,2268,2185,2248,2231,1949,1948,2221,2344,2279,2584,2819,2667,2519,2361,2703,2763,2535,2364,2974,2984,3013,3318,3373,2986,2365,2574,2695,2950,2674,3051,2852,2755,3172,3326,3325,3369,3342,3526,3147,3082,3531,3522,3050,2780,2772,2890,2836,2647,2613,2611,2712,2846,2745,2107,1844,1932,1982,2027,2002,1955,1972,2500,2654,2538,2835,3359,3627,3542,3552,3417,3392,3194,2920,2766,2978,3295,3493,2896,2315,2814,3887,3957,3556,3008,3020,2977,3321,3565,3616,3869,3401,2873,2908,2829,2692,3365,3447,3206,3363,3605,3603,3476,3751,3912,3564,3321,3308,3034,2685,2863,2892,2111,2500,2711,2430,2341,2787,3495,3818,3544,3560,3396,2802,2745,3254,3664,3602,3349,2851,2512,2431,2632,2736,2995,3387,3251,3416,3395,3462,3579,3337,3264,3074,2668,2427,2279,2730,3178,2933,2436,2434,2260,2536,3354,3806,3427,3265,3426,3570,3437,3231,3398,3012,3064,3686,3548,3746,4352,4303,4127,4068,3428,2791,2373,2460,3133,3584,3793,3807,3870,3384,2204,1787,2055,2600,2569,2553,2574,2522,2504,2450,2437,2226,2145,1962,2515,2863,2803,2605,2335,2570,2555,2562,2481,2317,2807,3399,3234,2765,2808,3287,3376,3564,3453,2910,2435,2065,2387,2831,2501,2073,2622,2786,2203,2872,2964,3040,2641,2353,2175,2008,1998,1982,2476,2569,2458,2401,2451,2680,2833,2974,3135,3018,2180,1501,1512,1576,1656,1526,1476,1636,2196,2278,1980,1921,1888,1980,1994,2151,2062,1794,1954,2018,1970,2110,2785,3521,3706,3624,3872,3174,3311,3507,3275,3054,2176,2592,2322,1801,1930,2099,1776,1852,2175,2092,1987,2061,1854,1871,2091,1954,1578,1765,2209,2142,2244,1898,2029,2397,2758,2995,2824,2182,1819,1528,1775,2100,1891,1800,2225,2319,2144,2041,2239,2654,3012,2603,1923,2215,2158,1872,2073,2339,2114,2111,2248,2178,1782,1682,1931,2030,2323,2248,2031,2482,2916,2359,1787,1958,1723,2132,2618,2475,2185,1779,2126,2509,2801,3271,3597,3586,3787,3608,3517,3632,3887,4140,3982,3624,3403,3636,3906,4388,3382,2801,2619,1827,1570,1918,2141,2134,2081,2181,2382,2353,2167,2250,2971,2999,2912,2867,1844,1356,1871,1999,2133,2259,2498,3388,3250,2395,1522,1549,1702,2115,3053,2688,2054,2004,1911,1892,1583,1621,1714,1819,2530,3757,4039,4049,4093,4072,4073,4028,3994,3968,3980,4026,4049,3924,3904,3986,3984,3897,3564,3009,3164,3687,3362,3515,4013,3699,3599,3440,3706,4072,3774,3670,3616,3304,3727,4016,3888,3839,4022,4106,4062,3834,3820,3628,3310,2830,3120,3759,4031,3410,2668,2749,2901,3195,3681,3442,2642,2352,2518,2143,2259,2666,2585,2596,2692,2227,2257,2226,2436,2329,2763,3013,2199,2088,3124,3292,3007,3022,2841,2361,2430,2404,2430,2595,2731,2974,2836,3008,2643,2327,2943,2812,2698,3097,2966,2644,2027,2180,2094,2440,3002,3087,2890,3586,4159,4086,3782,3479,3107,3274,2499,2398,2385,2163,2113,1967,1768,2340,3197,3023,2265,2302,2469,2533,2465,2019,2216,2384,2019,2480,2968,2811,2023,2121,2874,2797,2113,2784,2900,2269,2207,2626,3038,2776,3061,2676,2184,2092,1904,1620,1649,1867,2040,2188,2192,2124,2013,2210,2640,2771,2565,2154,1922,1919,2182,2128,2055,1877,2105,2275,2474,2242,1997,1882,1763,1947,1977,1832,1691,1673,1673,1958,1862,2189,2232,1898,2235,2029,1706,1778,2063,1915,1448,1709,1588,1543,1781,2302,2120,1891,1879,1848,2083,2317,2320,2243,2616,3336,3212,2676,2541,2420,2286,2063,1867,2250,2722,2961,2957,2683,2543,3227,2845,2520,2696,2765,2590,2569,2662,2590,2449,2304,2448,2754,2952,2999,3111,3123,3274,3485,3504,3216,2217,1655,2017,2902,3218,2920,2964,3208,2780,2190,1924,1925,1816,1537,1650,1772,1729,1744,1643,1376,1595,2028,1890,1596,1627,1622,1591,1619,2554,3407,3109,2403,1711,1509,1899,2310,2193,1740,1586,1688,1960,1882,1553,1646,1556,1352,1611,2253,2764,2940,2521,1767,2103,2002,1974,1872,1541,1446,1726,2087,2002,1745,2145,1775,1797,2356,1822,1676,2537,2866,2471,2368,2352,2600,3204,3383,3395,3054,2889,2751,3064,3168,2862,2674,2609,2350,2495,2675,3179,3650,3957,3790,3265,2446,2490,2765,3210,3561,3449,3616,3638,3203,3095,3043,2971,2963,2897,2896,2843,2631,2410,2183,2042,2113,2648,2735,2243,2219,1630,2194,2699,3213,3293,2995,2717,2254,2001,2223,3019,3299,3123,2964,2471,2216,2312,2459,2014,2163,2507,2238,2055,2207,2438,2468,2369,2789,2142,2215,3104,3584,3422,3414,3785,3466,3085,3203,2547,2125,2552,3594,3827,2843,1834,1893,1193,1119,1099,1511,1868,2236,1967,1757,2098,2337,2554,2689,2834,3010,2358,2292,1846,2006,2117,1724,2161,2422,1895,1942,2050,2261,2160,1998,1902,1729,1572,1394,1311,1435,1656,1553,1577,1925,1750,1383,1451,1379,1609,1844,2136,2383,2157,1764,1809,1970,1882,1726,2549,3819,2791,2274,1808,1440,1482,1520,1495,1448,1550,1611,2155,2780,2160,1646,1779,1428,1356,1482,1592,2244,2124,1908,2077,2018,1714,1576,1668,1710,1466,1376,1340,1582,1873,1924,1580,1774,2621,2802,2068,1938,1730,1328,1339,1977,2730,2098,2396,2250,1587,1621,1823,2204,2059,1508,1495,1391,1405,1503,1655,1573,1541,1361,1153,1689,1927,1576,1407,1418,1381,1714,2487,1856,1462,1688,1583,1698,2269,2082,1480,1298,1336,1420,1526,1454,1349,1381,1548,1632,1580,1646,1831,1844,1960,2226,1955,1920,2636,3333,3506,3617,3442,3348,3470,2687,3066,4100,4245,4030,4228,4381,4617,4172,3336,3011,3261,3560,3704,3752,3658,3814,3750,3300,3044,2880,2824,2787,2485,2805,3060,2834,2773,2953,3038,3144,3145,3341,3332,2989,3034,3563,3574,3269,2961,2833,3120,3814,3894,3570,3403,3283,3371,3603,3739,3228,2967,3204,3105,2888,2540,2518,3016,3291,3202,3062,3117,3548,3698,3631,3495,3574,3370,3028,2796,2824,2930,2912,2893,2959,2934,2920,2981,3018,3027,3157,3155,3307,3463,3876,4389,4232,3948,4228,4540,4596,4552,4391,4008,3560,3038,3597,4480,4524,3961,3570,3494,3536,3515,3562,3406,3432,3839,3674,2126,1390,1294,2888,4199,4419,4250,4004,4123,4172,4211,4229,4301,4296,4319,4376,4301,4016,4216,4571,4418,4428,4488,4263,4138,4291,4539,4093,3503,3068,3270,3792,4243,4620,4899,5393,5561,5296,4848,4484,4397,4312,3984,3979,3881,4016,4169,3610,2864,2918,3793,3956,3333,2363,2314,2241,2458,2752,2640,2523,2655,2700,2712,2745,2345,2213,1641,2558,3160,2498,2399,2731,2639,2658,2387,2113,2257,2329,2455,2565,2470,2342,1885,2386,2201,1938,2128,2082,2366,2372,1974,2307,2614,2856,2963,2880,3103,2975,2787,2683,2724,2431,2066,2178,2358,2541,2924,2995,3249,3641,2852,2924,2979,2465,2438,2784,3169,2916,2275,1922,1706,2322,2891,2978,3298,3208,2954,2756,2479,2663,2640,2750,3172,3355,3637,3427,3260,3448,3062,2219,1976,2033,2115,2228,2764,3190,3074,2532,1854,1948,2293,2272,2265,2215,2307,2636,2894,2468,2158,1867,1698,1852,1777,2524,3253,3391,3345,3205,2953,2952,3122,3551,4013,4275,4307,3930,4148,4732,3907,3051,3060,3022,3029,3101,3212,3255,3350,3381,3427,3366,2999,3784,4353,4678,4840,4709,4288,4070,4187,4452,4528,4537,4527,4640,4708,4199,4232,4421,4372,4392,4004,3793,3470,3300,3204,3277,3204,3218,3173,3077,2683,2370,2147,1885,1965,2509,3028,3349,3464,3506,3660,3928,3992,3920,3842,3632,3480,3495,3691,3654,3009,2300,2051,2306,2978,3564,3605,3211,2647,2440,2180,1898,1732,1618,1527,1616,1759,1845,1903,1902,1748,1762,1932,2168,2189,2042,1998,1816,1707,1714,1739,1630,1633,1721,1630,1460,1846,2142,1870,1904,2177,2410,2610,2364,2364,2468,2414,1908,1638,1672,2128,2403,2220,2060,1897,1792,1681,1957,1960,1884,2310,2684,2259,2401,2453,3021,2433,1980,2154,2177,2253,2220,2203,2150,1744,1740,2027,2083,2076,2046,1893,2426,2886,2420,2065,2017,2120,2319,2463,2532,2635,3191,3132,3061,2860,1852,1936,2370,1541,1225,1407,1680,2100,2231,2651,2918,2849,2061,1969,2514,3010,3116,3094,2754,2498,2742,2682,2352,1912,1851,2177,2640,2407,2347,2675,2118,2155,3130,2564,1952,2006,2111,2194,2545,2368,2769,2493,2368,2636,2459,2469,2595,2533,2576,2966,2382,2281,2346,2437,2558,2644,3101,3909,4377,4640,4063,3295,3178,3266,3348,3718,2800,2724,2808,2695,2712,2756,2856,2953,3064,3247,3308,3920,3186,2563,2107,2468,2471,2234,2227,2312,2397,2316,2102,2250,2555,2374,1656,1852,2147,2115,1786,2602,3362,3313,2917,2524,1650,1161,1773,2000,2264,2413,2568,2282,1946,1874,1666,1400,1409,1406,1382,1591,2120,1993,2163,2518,2089,1926,1806,1832,2266,2382,2349,2750,2610,2246,2331,2371,2310,2341,2789,3343,2956,2075,1645,1565,1555,1699,1560,1664,1638,1753,1527,1559,2143,2035,2127,2629,2966,3152,3686,3111,2752],[3041,2914,3321,3451,3163,3194,3121,3126,3160,3462,3245,3113,3083,3130,3151,3306,3439,3417,3229,3139,3129,3016,3400,3123,2796,2735,2937,2787,2811,3130,3431,3420,3167,3183,3066,3021,2810,3063,3054,2823,2512,2347,2209,2187,2425,2311,2232,2485,2579,2561,2567,2666,3021,2838,1901,1381,1628,2104,2654,2801,2097,1625,1778,2291,2721,2545,1732,1376,1430,2157,2648,2529,2347,2680,2750,2241,2172,2228,2673,3150,2665,2246,2305,2545,2691,2702,2476,2341,2393,2290,2546,3222,3315,3429,3251,3260,3195,2954,2745,2791,2963,2681,2242,2119,2498,2479,2115,2222,2361,2352,2374,2332,2243,2225,2009,1826,1722,1734,2077,2097,2187,2256,3067,2990,1521,1530,2036,2346,2921,3200,3008,2785,2920,2538,2476,2515,2169,1752,2446,2866,2531,2244,2235,2212,2009,2151,2241,2477,2492,2782,2508,2360,2424,2400,2401,2573,2341,2391,2556,2586,3240,3626,3400,3272,2855,2764,2583,2872,2821,3064,3124,2913,2844,2910,3157,3138,2845,3084,3267,3636,4093,4292,3916,3158,2843,2907,2662,2552,2659,2722,2720,2823,3140,2785,2305,2171,2163,2187,2132,1916,1761,1970,2092,2138,2602,3295,3462,3648,3824,3450,3300,3126,3152,3123,3374,3928,3539,2021,1640,2054,3487,4308,4630,4339,3239,2389,2584,3127,3398,3672,3405,2896,3169,2846,2679,2898,2874,2939,3308,3671,3538,3438,3515,3564,3655,3526,3528,3016,2439,2879,3498,3421,3133,2681,2315,2631,3219,3467,3375,3104,3189,2934,2347,2330,3147,3415,3159,2899,2861,2930,2755,2705,2918,3305,3455,3172,3069,3335,3511,3487,3244,3442,3090,2635,2464,2460,2749,3190,3339,2895,2951,3477,3475,3352,3589,3256,3475,3659,3676,3415,3338,3509,3207,2691,3374,3859,4081,4445,4327,4187,4272,4205,3588,2813,2890,3270,3278,3427,3405,3560,3010,1956,1913,2009,2079,2337,2573,2436,2464,2359,2176,2215,1925,1690,1163,1831,2358,2497,2314,2580,2822,2440,2072,1527,1898,2611,2956,3267,3190,3262,3793,3472,3454,3077,2500,2361,2077,2455,2440,2234,2155,2567,2956,2482,2859,2813,2654,2470,2513,2281,2087,2120,2115,2554,2578,2063,2089,2482,2601,2831,3220,3148,2674,2327,2503,2788,2335,2471,2287,2375,2145,2198,1924,1924,2371,2416,2432,2347,1958,1909,1771,1737,1904,1910,2032,3109,3750,3579,3447,3431,2517,1799,2431,2957,3001,2881,2909,1775,1754,2076,2200,1968,2323,2318,1736,1671,1779,1400,1571,2176,2088,1854,2337,2648,2552,2250,2175,2131,2013,2701,2802,2668,2785,3039,2172,1837,2273,2128,2040,2327,2265,2007,1941,2149,2908,3352,2463,2070,2438,2263,2386,2475,2115,1799,2006,2251,2167,1702,1647,1976,2114,2266,2397,2425,2610,2482,2058,1935,1787,2065,2736,2540,2388,2221,1858,2569,2543,2442,3120,3664,3731,3842,3886,3794,3680,3786,3950,3710,3640,3714,3653,4171,3564,2888,2853,2958,2301,1834,1868,2203,2241,2386,2557,2427,2243,2427,2522,2742,2879,3034,2753,1688,1449,2016,1995,2051,2339,2511,3307,3309,2426,1486,1464,1685,2098,2978,3163,2966,2752,2503,2242,2031,2106,2233,2124,3123,3917,3918,4016,4059,3912,4056,4078,4004,3941,3979,3920,3994,4002,3962,3915,3916,3894,3582,3190,3396,4013,4109,3941,4078,4081,4164,3926,3889,3990,3925,3955,3207,2453,3126,3794,3941,3929,4109,4085,4152,4145,3774,2910,1931,2275,3418,3717,3308,3008,2294,2495,3037,3429,3716,3120,2599,2601,2586,2376,2460,2732,2978,2831,2511,2021,2578,2618,2541,2292,2654,2802,2338,2755,3595,3327,3115,3484,3385,2599,2504,1853,2111,2755,2640,3086,3071,2685,2480,2846,2800,2472,3008,3070,2966,2910,2596,2547,2540,3113,2910,2331,2601,3661,4219,4132,3700,2949,2603,2996,2986,2770,2270,2326,2377,1930,1784,2186,2620,2377,1974,1981,2049,2602,2621,1760,2056,1877,1811,2562,3051,2908,2254,1969,3005,3539,2943,3421,2992,3053,3156,3213,3081,2642,2530,2539,2301,2283,2299,1877,1626,1759,2430,2647,2512,2588,2724,2499,2001,1884,1963,1598,1656,1700,1796,1960,1645,1693,1770,2056,2248,2106,1932,1876,2072,2244,1832,1799,1886,1920,2178,2468,2220,2085,2265,2441,2244,1789,1683,1676,1872,1765,1561,1660,1638,1636,1814,2230,2226,2061,2041,2359,2598,2810,2586,2277,2657,3306,3138,2529,2402,2539,2831,2508,2337,2531,2605,2811,2827,2048,1644,2894,2866,2728,2800,2876,2695,2590,2653,2679,2736,2585,2669,2922,2961,2987,3249,3352,3465,3529,3393,3640,3220,2093,1905,2556,3040,3447,2943,2911,2687,2298,1909,1757,1882,1696,1666,1893,1740,1469,1427,1501,2021,2177,1750,1609,1775,1700,1643,1693,2008,2443,2468,2090,1564,1554,2136,2358,1947,1537,1408,1520,1931,2014,1909,1923,1635,1505,1560,2035,2073,2403,2514,2555,2435,2017,1860,1843,1592,1780,2227,2554,2269,2123,2519,2130,1728,1887,1938,2064,2644,2858,2633,2603,2512,2414,2842,3398,3780,3780,3284,2622,2143,2143,2296,2604,2899,2676,2662,2614,2824,3251,3606,3607,2895,2921,3399,3057,2639,2497,3211,3442,3761,3387,2826,2797,2718,2691,2420,2320,2205,2129,1888,1773,1721,1766,2610,2684,2611,2264,1988,2435,2917,2834,2561,2688,2648,2592,2463,2659,3125,2614,1808,2100,2076,2179,2279,2352,2220,2187,2496,2500,2103,2111,2229,2308,2413,2723,1936,2158,2423,2963,3486,3580,3300,2740,2592,2408,2203,2381,2245,2520,2810,2384,1890,1713,1610,1503,1266,1497,2129,2209,1683,2076,2422,2621,2568,2182,2267,2466,2293,2311,2198,2338,2347,2049,1957,2080,2073,2004,1975,1951,1649,1665,2020,1885,1635,1728,1666,1576,1694,1687,1490,2045,1968,1557,1367,1406,1443,1482,1735,1807,1698,1750,1850,1888,2046,2298,2861,3709,2723,2210,1643,1469,1542,1555,1528,1483,1707,2183,2875,3450,2524,1514,1358,1222,1459,1340,1264,1741,1770,1752,2007,2009,1726,2072,1931,1528,1469,1629,1593,1570,1790,1789,1640,1861,2505,2302,1923,2135,2537,2245,1666,2435,3030,2444,2378,1870,1478,1833,2032,2247,1735,1478,1486,1333,1528,1649,1520,1486,1543,1574,1605,1809,1694,1672,1898,1743,1470,1566,2310,2452,1838,1583,1552,1788,2257,2037,1513,1329,1316,1256,1359,1383,1415,1776,1481,1333,1454,1388,1673,2061,2209,2225,2027,1970,1948,2200,2301,2750,3020,3018,3103,2801,2872,3819,4490,4437,4400,4437,4593,4037,3202,2884,2573,2533,2613,2876,3482,4014,4163,3942,3502,3043,2876,2777,2691,2910,2893,2661,2582,2792,3205,3494,3508,3495,3155,3002,3052,3480,3748,3567,3015,2877,3330,3696,3607,3435,3370,3306,2982,2971,3295,3171,3448,3666,3251,2868,2308,2247,2592,2690,2946,3106,3095,3392,3711,3644,3469,3452,3234,2886,2786,2988,3033,2964,2883,2806,2878,2806,2779,2824,2903,2958,3083,3208,3207,3422,3647,3894,4238,4328,4464,4568,4431,4162,4023,3836,3142,3320,4274,4452,3969,3431,3371,3421,3376,3448,3322,3210,3885,3806,2253,1232,1809,3375,4229,4485,4332,4344,4416,4265,4017,3953,4051,4036,4149,4343,4321,4002,4195,4620,4318,4320,4384,4284,4273,4189,4407,4212,4037,3686,3512,3780,4159,4356,4378,4993,5485,5757,5235,4627,4235,4236,4071,3986,3929,3783,3760,3941,3978,3615,3732,3890,3327,2395,2228,2356,2607,2623,2709,3044,2862,2645,2722,2668,2777,3207,2156,2002,2365,2199,2808,2499,2169,2725,2475,2233,2438,2288,2669,2883,2666,2342,1802,1922,1945,2150,2145,1838,2011,1930,2091,2599,2917,3200,3211,3191,3043,3241,3008,2310,2112,2325,2331,2105,2426,2765,2908,2889,2759,2916,2981,2854,2555,2262,2446,2647,2584,2276,2111,2018,1913,2580,2944,3057,3309,3398,3325,3142,2735,2719,3085,3172,3331,3467,3328,2949,3174,3377,3254,2633,2435,2487,2233,2014,2412,2788,2902,2501,2513,2403,2685,2689,2483,2385,2366,2241,2430,2678,2435,2579,2891,2814,2199,2442,3326,3557,3418,3226,2999,3050,3192,3419,3661,4112,4500,4452,4440,4344,3635,3205,3029,3039,3040,3127,3292,3121,3082,3064,3330,3443,3197,3806,4127,4487,4576,4616,4556,4508,4501,4516,4687,4724,4895,5072,4827,4011,4094,3873,3907,3848,3398,3098,3122,3290,3243,3345,3292,3366,3365,3162,2687,2269,2026,1863,1887,2221,2534,2563,2934,3199,3407,3718,3894,3894,3887,3681,3635,3679,3729,3285,2458,2271,2481,2247,2545,3434,3358,2802,2042,2371,2211,1622,1656,1706,1725,1849,2028,2072,1824,1652,1483,1500,1724,2361,2124,1764,1919,1780,1706,1678,1558,1515,1566,1659,1885,1689,1933,2038,1739,1980,2167,2378,2778,2740,2919,2886,2755,2234,2024,1850,1981,2379,2563,2156,1952,1954,1778,1815,1890,1926,2117,2181,2147,2449,2330,2440,2197,1840,1783,2012,2122,2230,2469,2312,1838,1968,2265,2891,2894,2436,2044,2500,3210,2580,1940,2221,2153,2201,2478,2357,2321,2743,2906,3078,2833,2074,2180,2415,1779,1913,2100,2051,1831,1998,2353,3001,3375,2591,2207,2492,2880,2999,2854,2355,2554,2795,2756,2565,2266,2066,2208,2259,1913,1877,2430,2098,2532,3046,2570,2370,2642,2453,2518,2800,2458,2194,2158,2561,2806,2354,2562,2884,2622,2251,2562,2577,2648,2761,2783,2831,3131,3704,4270,4445,4595,4224,3619,3719,4094,3995,3316,2792,2852,2801,2608,2483,2257,2524,3078,3515,3311,2864,2886,2635,2316,2239,2617,2768,2436,2326,2591,2584,2268,2066,2153,2236,2135,1773,1966,2636,2703,2361,2454,3121,3455,3111,2747,1931,1784,2340,2713,2955,2780,2513,2272,1987,1825,1650,1483,1383,1536,1606,2082,2283,1861,1849,2359,2051,1634,1765,1702,1924,2326,2321,2290,2292,2325,2422,2258,2168,1955,2213,2495,2619,2488,1942,1618,1487,1848,1514,1458,1312,1447,1611,1696,2071,1988,1957,2841,3200,3435,3731,3041,2127],[3370,3072,3350,3527,3261,3384,3379,3085,2957,3107,3096,3150,3521,3551,3332,3695,3798,3223,2308,2459,3065,3071,3264,3034,2962,2920,3016,3076,3166,3338,3376,3100,2752,2776,2576,2590,2315,2019,2316,2440,1982,2159,2228,2084,2322,2322,2436,2454,2786,2696,2545,2846,2685,2508,1855,1484,1870,2214,2441,2150,1675,1756,1841,1996,2535,2403,1672,1349,1476,1976,2478,2608,2614,2667,2578,2143,2402,2909,3354,3594,3140,2508,2128,2319,2828,2754,2226,1981,2467,2599,3155,3362,3493,3618,3200,2989,3211,3293,2981,2558,2233,2247,2337,2480,2918,2390,2099,2077,2258,2527,2452,2083,2017,2035,1680,2050,2251,2077,2144,1857,2315,2339,2674,2798,2169,2297,2631,2778,2975,2807,3091,3018,3288,2944,2989,2889,2830,2501,2248,2270,2474,2423,2389,2075,1804,2068,2459,2530,2096,2325,2271,2113,2301,2633,2888,2661,2353,2356,2341,3372,4199,4107,3784,3484,2764,2881,3008,3206,3233,3639,3398,2508,2404,2518,2562,2272,2249,3025,3637,4328,4560,4340,4000,3457,3081,2979,2980,2897,2908,3152,3139,3240,3612,3340,2897,2654,2484,2409,2230,2072,1931,2083,2040,2126,2226,2152,2376,2724,3206,3605,3230,3094,3264,3292,3312,3509,2779,2070,2072,1908,2862,3905,4419,3795,2696,2326,2467,2977,3370,3472,2885,2660,2854,2844,3386,3134,3074,3357,3616,3665,3470,3559,3492,3489,3638,3554,3074,2630,2683,3095,3683,3720,3595,3023,2497,2965,3513,3340,3217,3007,2616,2952,2536,2143,2649,3017,3006,3015,3124,3234,3203,3239,3654,3732,3476,3010,2702,3133,3498,3342,3244,3226,2918,2906,3134,3142,3285,3385,3662,3065,2640,2780,2938,3054,3130,3005,3356,4082,3724,3400,3619,3625,3496,2895,2852,3837,4240,4163,4188,4263,4155,3908,3594,3286,3262,3360,3242,3242,3299,3169,2646,2116,2353,2556,2243,2561,2674,2061,1902,2201,1967,2311,2365,1843,1361,2082,2641,2184,1929,2279,2770,2624,2088,1672,2152,2048,2270,3286,3994,4082,4020,3144,2464,2500,2164,2171,1587,1836,1946,1967,2055,2449,2896,2504,1972,1465,1303,2014,2837,2640,2586,2391,2480,2453,2392,2012,2348,2668,2514,2772,3233,3228,2915,2752,3125,2902,2227,2068,1906,1864,1820,1894,1488,1722,2214,2132,2254,2180,2406,2614,2241,2330,1990,1721,2402,3343,3898,3685,3426,3123,2470,2135,1620,1564,1960,2796,2823,1872,1727,1863,2280,2474,2310,2087,1653,1833,1952,1520,1550,2024,2081,1855,2088,2509,2710,2473,2418,2519,2064,2053,2731,2847,2908,2919,2098,2295,2276,1976,1738,1648,1947,2017,2170,2425,2472,2493,2280,2592,2416,2304,2575,2480,2319,2425,2622,2426,2470,2131,1686,2055,2272,2322,2612,2524,2106,1847,2009,2056,2008,2541,2890,2636,2735,2238,1731,1855,2048,2291,2853,3364,3716,3991,3786,3359,3598,3931,3882,3484,3660,3926,4012,3950,3013,2653,2578,2733,2568,2421,2033,2370,2407,2163,2400,2685,2711,2880,2558,2231,2296,2515,2270,1769,1918,2175,2000,2144,2100,2105,2431,2318,1835,1461,1714,2087,2300,3195,3238,3384,3248,2553,1970,2060,2066,1906,2305,3480,3889,3934,4063,3783,3095,3706,4026,3925,3806,4049,4050,4094,4037,3897,3914,3958,3884,3766,3809,3861,4041,4045,3935,4002,4015,4002,4015,4003,4004,3940,3784,3391,2990,3403,3973,3999,4086,4113,4084,4136,4124,3790,2753,1897,2322,2875,2787,2312,2712,2673,3204,3726,3827,3328,2677,2517,2496,2582,2988,3083,3108,2920,2824,2457,2188,2880,2994,2517,2147,2287,2490,2746,3462,3370,2798,2918,3039,2954,3118,2843,2524,2878,3086,2765,2381,2337,2634,2503,2635,2670,2853,3303,2474,3072,3987,4134,3401,3260,3531,3086,3012,3020,3696,3729,3720,3475,2272,2226,2394,2368,2061,1929,2171,2192,2022,2062,2288,2412,2182,2070,2020,2198,2476,2384,2275,2332,2175,2349,2932,3463,3732,3339,2736,3760,4255,4063,3894,2823,2691,2850,2831,2375,1908,2690,3217,2317,2492,2725,2270,1811,1848,2111,2270,2552,2779,2698,1915,1632,1859,2166,1754,1907,1825,1745,1505,1354,1619,1663,1920,2264,1873,1581,1672,2548,3061,1934,1671,1881,1882,1965,2231,2078,1728,1844,2204,2165,1710,1542,1453,1912,1769,1908,2087,1784,1616,1696,1772,2254,2398,2057,2222,2305,2154,2021,2200,2541,2956,2990,2676,2419,2529,2631,2610,2710,2589,2279,2223,2923,2223,1936,2759,2798,2901,3040,2922,2843,2784,2778,2743,3007,3043,2843,2874,2889,2986,3230,3454,3492,3392,3249,3387,3673,3378,2273,1721,2520,3240,2563,2463,2576,2576,2065,1703,2012,1747,1629,1733,1700,1396,1475,1623,2020,2186,1782,1664,1646,1618,1765,1738,1550,1658,1606,1369,1712,1661,1778,1785,1450,1410,1409,1590,1984,1888,1512,1516,1643,1584,2105,3028,2823,2539,2763,2646,2185,1990,1664,1618,1841,2249,2288,2575,1935,1975,2033,1791,1765,2074,2271,2395,2845,3022,2597,2578,2679,2396,2353,2887,3371,3739,3256,2293,1780,1832,2203,2498,2736,2987,3017,2664,2448,2577,3353,3375,2453,2670,3095,2856,2890,2248,2237,2347,3062,3095,2558,2379,2338,2360,2532,2492,2389,2065,1749,2114,2403,2732,3139,2683,2828,2178,2279,2828,2719,2018,1853,2438,3073,3000,2792,2458,2418,2165,2524,2676,2213,2120,2793,2900,2469,2396,2521,2722,2338,2102,2698,2459,2414,2135,1464,2166,2374,2175,2807,3363,2616,1906,2192,2096,2098,2769,2447,2751,3474,3115,2313,2262,2646,2951,2987,2610,1869,1571,1474,2101,2088,1741,1586,1618,1686,1786,2049,2094,1862,2061,2102,2338,2501,2328,2093,1874,2100,2090,1807,1578,1671,1760,1549,1726,1808,1638,1558,1666,1550,2130,2177,1736,1468,1423,1180,1190,1351,1340,1478,2036,1886,1834,2564,2752,2536,2692,2398,1990,1676,1652,1584,1437,1649,1754,2120,2500,2905,3006,2575,1760,1237,1113,1246,1192,1114,1355,1450,1483,1814,1866,1770,1904,1742,1439,1323,1643,1837,1645,1646,1583,2015,1854,2178,2036,1895,2188,2698,2946,2589,2179,2307,2758,2624,2173,2031,1994,1965,1698,1446,1487,1528,1475,1670,1566,1458,1456,1581,1719,1572,1917,2347,2641,2901,2155,2015,1886,2235,2811,2190,1757,1971,2182,2138,1932,1609,1319,1188,984,1256,1310,1241,1345,1390,1454,1574,1890,2446,2471,2314,2603,2522,2177,1887,1865,1983,2423,2755,3188,3492,3203,2979,3248,3914,4288,4364,4396,4516,3946,3122,2686,2330,2334,2591,2608,2911,3493,4224,4372,3951,3129,2805,2866,2701,2645,2643,2608,2814,3062,3172,3464,3566,3558,3626,3395,3103,3197,3343,3341,3187,3220,3229,3005,3366,3519,3417,3418,3187,3312,3371,3416,3811,3536,2824,2226,1918,2020,2123,1926,2047,2600,2918,3152,3508,3442,2964,2854,3039,3042,3121,3437,3318,3153,2977,3104,3262,2964,2811,2774,2878,3010,3129,3128,3106,3168,2910,3056,3415,3786,3807,4120,4240,3961,3761,3560,3034,3120,4132,4444,4252,3818,3754,3619,3415,3376,3182,3604,4513,4368,3186,2275,2870,3972,3356,3400,4109,4100,4516,4372,4120,4060,4018,4036,4184,4332,4277,4096,4276,4688,4764,4472,4098,4055,4128,3906,3862,3951,3992,3978,3992,3948,3959,4141,4028,4256,4598,5401,5577,5036,4704,4748,4315,4074,3915,3851,4194,4620,4605,4352,3763,3897,3770,3024,2480,2417,2665,2906,3271,3759,3540,3012,2709,2742,3083,3143,2621,2328,2242,2188,2491,2372,2337,2465,2598,2513,2405,2380,2852,2839,2455,2518,2331,1862,2150,2802,2432,1693,1744,1920,2064,2812,2997,3100,3074,3097,2989,2784,2574,2063,2103,2955,2544,2187,2393,2829,3002,3104,2895,3002,3122,2674,2334,2546,2484,2060,2047,2006,2200,2165,2303,2316,2732,2874,2871,3339,3457,3071,2449,2352,2617,2939,2707,3006,3073,3019,3312,3195,2631,2555,2722,2588,2063,1820,1993,1794,1936,2442,3235,3072,3266,3010,2342,2176,2332,2458,2497,2771,2647,3191,3460,3647,3199,2872,3308,3574,3494,3266,3122,3103,3074,3206,3485,3806,4445,4408,4177,3886,3349,2885,3099,3514,3384,3511,3841,3450,3042,2758,3445,3918,3709,3898,4368,4416,4235,4416,4852,4895,4470,4620,4841,5092,5102,5171,4568,3775,3594,3312,3374,3349,3099,3029,3043,3168,3222,3187,3218,3277,3070,3159,3188,3128,2846,2420,2193,2288,2590,2480,2447,2026,2271,3031,3467,3686,3680,3671,3688,3663,3278,2530,2157,2415,2869,2531,2429,2735,2569,2141,2309,2608,2082,1894,1782,2042,2469,2453,2471,1994,1585,1570,1667,1654,1515,1886,1942,1988,2545,2931,3001,2653,2611,1933,1621,1750,2074,1816,1736,1955,1794,1870,2164,2442,2408,2542,3105,2954,2631,2466,2382,2137,1912,1912,1992,1912,1858,1924,1999,2040,1954,1878,1809,1910,1947,1792,1735,1786,1796,1660,1656,2320,2469,2829,2429,2210,2241,2381,2520,2500,2232,2222,1938,2062,2375,2209,1940,2263,2301,2512,2584,2091,1852,2378,2764,2815,2196,1904,2408,2262,2525,2379,2424,2198,2080,2210,2058,2464,2859,2454,2226,2093,2592,2939,2421,2316,2510,2419,2866,3188,2760,2497,2543,2269,1797,1880,2765,2512,2396,2426,2213,2387,2486,2437,2972,3124,2789,2477,2379,2297,2629,2009,2415,2631,2824,2631,2404,2730,3226,3650,3830,3923,4112,4144,4444,4688,4877,4776,4091,3721,3462,2791,2417,2626,2472,2208,2381,2404,2230,2346,2668,2774,2610,2579,2390,1961,2220,2554,2631,2678,2390,2463,2781,2670,2320,2513,2283,2227,2370,1898,1972,2423,2435,2370,2236,2844,3547,2989,2769,2532,2343,2380,2591,2824,2518,2370,2345,2045,1743,1431,1341,1403,1638,1700,1782,1626,1630,1610,1976,2070,2082,2137,1808,2155,2504,2584,2261,2260,2314,2275,2183,2136,2076,2687,2585,2295,2513,2758,2404,1760,1905,1626,1462,1434,1583,1567,1431,1526,1576,1846,2658,3427,3796,3892,3264,2575],[3257,3258,3589,3573,3244,3154,3140,2974,2809,2769,2957,3255,3504,3475,3509,3965,3884,2545,1517,2021,2708,2460,2942,3604,3665,3583,3388,3427,3897,3642,3488,2966,2823,2589,2379,2596,1896,1133,1763,2098,1946,2166,2004,1917,2173,2009,2380,2438,2665,2522,2710,2965,2824,2777,2089,1673,1950,2281,2020,1794,1784,1808,2010,2657,2746,2269,1983,1821,1620,1550,2064,2709,2742,2269,1930,2823,3529,3661,3574,3630,3402,2567,1461,1813,2856,2792,2489,2558,2990,3085,3374,3476,3651,3740,3333,3204,3285,3129,2721,2419,2786,2702,2506,2364,2565,2365,2127,1945,2009,2304,2270,2116,2331,2515,2002,2285,2828,2504,2026,1905,2279,2513,3065,3125,2415,1752,1632,2113,2599,2481,2468,2238,2686,2953,3007,2814,2502,2098,1981,2306,2518,2360,2390,2006,1927,2118,2948,2615,2371,2314,2302,2364,2282,2518,2507,2122,2263,2308,2709,3646,4100,4161,3962,2888,2328,2489,2692,2861,3265,3918,3563,3316,3161,2947,2810,2395,2888,3478,3894,4689,4773,3929,3510,3450,3881,3716,3252,2916,3292,3541,3558,3683,3496,3259,3229,3140,3046,2933,2679,2354,2084,1996,2012,2131,2193,2566,2811,2720,2676,2393,2591,3081,3162,3210,3262,3086,2305,2173,2061,1797,2474,3161,3317,2763,2244,2220,2405,2627,3067,2922,2551,2653,3056,3190,3361,3226,3086,2979,3411,3704,3664,3760,3802,3771,3913,3794,3163,2920,3051,3297,3553,3638,3547,3229,3124,3418,3592,3506,3505,3851,3479,3142,2479,2183,2443,2576,2765,3030,3609,3768,3617,3544,3738,3840,3694,3042,2642,2996,3299,3215,3167,2949,2745,2877,2810,2805,3541,3448,3288,2658,2470,2460,2366,2698,3296,3383,3137,3514,3531,3642,3537,3436,3839,3558,3133,3950,4465,4195,4017,3981,3882,3680,3543,3471,3343,3415,3484,3453,3200,2648,2689,2707,2863,3342,3132,3323,2865,2215,2165,2414,2193,2254,2353,2474,2186,2547,2924,2587,2108,2252,2815,2719,2332,1719,1541,1436,1725,3066,4109,3808,3197,2885,3223,3117,2210,2190,1810,2129,2302,2209,2103,2404,2700,2390,1599,1325,1681,2287,2902,2853,2564,2365,2515,2549,2470,2211,2488,2995,2991,2863,3255,3161,3266,3292,2427,1756,1496,1305,1336,1531,2056,2094,1370,1552,1903,2020,2029,2153,2280,2188,2216,2383,2430,2274,2475,3328,3839,3470,3809,3629,2985,2511,1945,1705,1780,2625,2619,1930,1491,1487,2276,2592,2494,2571,2265,2055,2142,1992,1864,1932,1982,1772,1834,2318,2664,2801,2811,2622,2601,1984,2084,2707,2676,2854,3106,2875,2458,2310,1660,1308,1510,1851,2056,1940,1804,1792,1892,2026,2227,2302,2469,2908,3198,3274,2683,1912,2807,3098,2451,2387,2406,2419,2572,2180,1678,1795,1842,2105,2136,2346,2509,2618,2928,2302,2071,2148,1926,1971,2578,3262,3876,3959,3481,3390,3960,4213,3586,2759,3175,3930,4307,3481,2734,2500,2053,2336,2277,2046,2123,3017,2991,2428,3044,3438,3096,2670,2192,2174,2153,2468,2209,2026,2455,2109,2032,1953,1955,2176,2185,1873,1797,1858,2192,2354,2141,2438,2397,3196,3462,2509,1987,1735,1831,1969,2578,3875,3968,3904,3979,3652,3066,3781,4070,3464,3672,4172,4172,4167,4000,3800,3980,3960,3907,3844,3728,3172,3566,4025,3984,3917,3890,3902,3950,3894,3847,3707,3884,3952,3851,3971,3970,3889,3950,3971,4041,4137,4156,3941,3227,2942,2593,2270,2397,2587,2732,2988,3267,3610,3662,3265,2904,2557,2231,2732,3422,3318,3082,2994,2831,2368,2334,2492,2193,2104,2313,2545,2651,2619,3022,2763,2383,2060,2482,2943,2996,2538,2831,3032,2469,1918,1962,2053,2071,1970,2490,3296,3096,2706,2395,3137,4252,3996,2542,2579,3387,3165,3470,3086,3408,3099,3474,3342,2187,2062,2448,2186,1860,1930,2443,2269,1642,1853,2222,2225,1977,2232,2446,2475,2297,2438,2779,2751,2515,2229,2424,3083,3438,3508,2984,3660,4300,4365,3688,3020,3122,2787,2376,2219,2065,2585,3147,2485,2851,3055,2680,2051,1949,2155,2601,2584,2643,2920,2046,2114,2264,2001,1639,1837,1830,1698,1562,1519,1707,1817,1857,2191,1834,1653,1576,2076,2710,2121,1744,1788,1749,1631,1811,1746,1661,1807,1984,1907,1694,1502,1931,2308,1790,1782,2337,2115,1562,1577,1660,2261,2249,2046,2106,2192,2205,2307,2272,2498,2903,3053,3060,2858,2612,2653,3022,3189,3039,2394,2382,3163,3079,2875,2987,2957,3050,3042,3017,3110,2933,2966,2842,2785,2838,2809,2779,2762,2930,3277,3408,2984,2811,2915,3201,3530,3675,3504,2148,2358,2875,2418,2263,2467,2447,2054,1825,1960,1671,1772,1876,1800,1492,1540,1418,1506,1773,1625,1609,1550,1579,1694,1699,1555,1517,1550,1703,1879,1770,1788,1702,1661,1616,1601,1594,1765,1755,1573,1643,1596,1434,1840,2779,3348,3153,2700,2551,2564,1981,1675,1547,1617,1748,1872,2090,2002,1764,1704,1785,1699,1686,1919,1991,2180,2548,2485,2610,2761,2658,2341,2155,2414,3082,3447,2878,1979,2117,2315,2179,2391,2640,2668,2474,2469,2757,3177,3033,2831,3483,3481,3177,3616,3117,3051,2867,2845,2460,2210,2631,2445,2546,2813,2735,2469,2057,2441,2667,2741,3154,3056,2813,2914,2490,2337,2507,2004,1480,1709,2590,3450,2890,2359,2265,1747,1898,2728,2874,2335,2126,2734,2847,2765,2445,2644,2635,2589,2432,2868,2534,2263,1989,1755,2314,2351,1992,2692,3239,2610,2212,2432,2331,2262,2989,3018,3147,3766,3389,2556,2597,3184,4087,4037,3120,2097,2110,2122,1860,1479,1509,1704,1844,1809,1697,1855,1992,2071,2474,2206,2085,2411,2603,2194,1990,2229,2072,2051,1880,1528,1570,1287,1426,1731,1591,1660,1776,2081,2675,2367,1611,1407,1349,1160,1324,1526,1415,1729,2338,2006,1835,2396,2597,2141,1897,1860,1548,1541,1545,1547,1407,1687,1679,2526,2371,2279,2375,2330,2015,1394,1177,1278,1293,1309,1330,1435,1727,1866,1678,1591,1570,1607,1607,1358,1626,2046,2087,2250,2362,2117,1604,1812,1740,1843,1991,2013,2592,3150,2652,2078,2261,2477,1780,1621,1833,1849,1426,1414,1489,1357,1455,1730,1659,1525,1454,1731,1796,1520,2071,2886,2485,2536,2381,2287,1905,1732,1775,1846,2105,1741,2141,2198,1764,1483,1310,1297,1215,1268,1418,1409,1415,1448,1391,1538,2292,3024,2898,2397,2403,2854,2501,1988,1875,2025,2040,2261,3199,3627,2999,2834,2367,2502,3662,4288,4171,3810,3366,3204,2827,2147,2240,2446,2185,2552,2900,3566,4153,4245,3431,3097,3128,2802,2619,2384,2354,2921,3118,3128,3254,3237,3365,3813,3617,3155,3211,3340,3455,3476,3466,3044,2818,3298,3438,3151,2965,2654,2788,2652,2654,2722,2351,1647,1720,1809,1816,1814,2001,2023,2534,2939,3209,3370,2988,2716,2887,3163,3369,3374,3747,3614,3413,3350,3598,3553,3219,2971,2825,2796,2952,2997,2830,2702,2830,2827,2822,2906,3185,3105,3307,3326,2946,2704,2743,2732,2802,3592,4296,4434,4049,3822,3773,3605,3452,3385,4034,4709,4716,4059,4009,4301,4026,2171,1750,2587,3219,4038,4392,4343,4417,4312,4108,4184,4356,4264,4232,4440,4688,4688,4628,4308,3879,3730,3764,3816,3737,3827,3951,4108,4292,4174,4113,4030,4068,4187,5004,5757,5629,5304,4988,4359,4196,4067,4021,4407,4792,4856,4469,4128,4046,3774,3248,2569,2445,3027,3415,3100,2905,3436,3176,2856,3019,3189,3094,2589,2501,2465,1923,2270,2654,2222,1786,1835,1949,1968,2382,2759,3230,3084,2770,2957,3021,3010,2690,2225,1784,1818,2147,1804,2058,2540,3025,3019,2809,2618,2667,2437,1734,2188,3047,2432,2266,2351,2441,2665,3061,3220,3261,3146,2877,2806,3145,2408,2031,2371,2060,2082,1891,1904,2275,2623,2753,2894,3354,3270,3053,2607,2471,2325,3084,2951,2351,2600,2977,3157,2855,1927,1857,2243,2622,2241,1616,2007,1676,1625,1803,2291,2845,3122,2850,2254,1969,2306,2685,2861,2999,2929,3341,3563,3968,3806,3295,3317,3660,3584,3392,3151,3138,3209,3524,3487,3625,4071,3521,3137,3166,3082,2984,3263,3608,3531,3542,3973,3870,3011,2427,3422,4217,3776,3481,3915,4304,4083,3929,4721,4915,4185,4320,4572,4840,5050,5176,4574,3747,3187,3098,3057,3021,2987,2952,3051,3039,3099,3061,3045,3017,2915,2855,2978,3430,3445,3276,3105,2912,2944,2667,2341,1836,2017,2242,2719,3473,3551,3494,3338,3038,2519,2308,2258,2270,2308,2647,2750,2337,2093,2239,2272,1985,2185,3073,2545,2514,2974,2670,2593,1921,1526,1711,2049,2047,1793,2025,2171,2417,2778,3118,3304,3199,3323,2358,1718,1957,2040,1608,1699,2518,2355,2176,2490,3010,2642,2376,2439,2104,1969,2169,2330,2120,1724,1389,1613,2030,1833,2193,2723,2902,2669,2356,2217,2307,2133,2035,1841,1824,1836,1807,2099,2180,2521,2869,2583,2482,2508,2593,2798,2276,2219,2313,1798,1801,1769,1986,2048,2131,2686,2920,2897,2834,2963,3249,3177,3167,2081,1768,2161,2037,2968,2555,1864,1809,1915,2061,1893,2049,2492,2171,1771,1930,2423,2593,2395,2380,2471,2438,2520,2854,2593,2235,2244,2072,1963,2876,3587,3078,2243,2066,1959,2452,2869,2957,2902,2588,2774,3229,3141,2878,3244,3076,3051,2908,2889,2664,2373,2335,2734,3398,4124,4244,4309,4252,4280,4416,4356,4286,3882,3144,2329,1920,2176,2590,2215,2065,2481,2570,2181,2336,2696,2364,2216,2648,2688,2427,2645,2654,2740,2839,2416,2447,2840,2932,3087,2979,2458,2300,2251,1911,1989,2413,2736,2156,2093,2377,2863,3071,3025,2565,2502,2320,2266,2422,2405,2680,2454,2222,1847,1747,2010,1768,1433,1571,1654,1950,2113,1819,1945,2187,3205,2618,2237,2594,2471,2658,2631,2302,2249,2364,2652,2489,2686,3526,3432,2645,2638,2891,2768,1969,1555,1489,1698,1756,1648,1626,1556,1527,1648,1675,1818,2472,3554,3515,2856,3294],[3110,3370,3784,3566,3143,2878,2872,3108,3031,2973,3232,3172,2931,3150,3484,3563,3652,2353,1586,1985,2225,2291,2929,3357,3083,2809,2620,2867,4108,4176,3846,3566,3317,2963,2686,2657,2085,1675,2014,1996,2013,2084,1846,1969,2148,1849,1957,2147,2483,2608,2889,2894,2918,2944,2222,1704,2009,2194,2163,2429,2196,1655,2135,2774,2542,2099,1958,1905,1734,2034,2031,1985,2156,1841,1698,2836,3860,3688,3285,3307,3155,2896,2324,2567,3228,3135,3188,3228,3226,3008,3356,3682,3694,3650,3425,3474,3156,2700,2067,2225,2696,2325,2200,2291,2321,2047,1970,2048,1874,1743,1764,2097,2661,2554,2198,2163,2549,2225,1917,1939,2194,2796,3223,2565,2398,2075,2106,2272,2334,2100,2088,2343,2579,2623,2451,2162,2050,1716,2111,2237,2376,2361,2120,1903,2084,2369,2755,2552,2480,2338,2350,2093,2106,2479,2410,2027,2210,2527,3324,3693,3689,3949,3802,2844,2524,2502,2530,2674,3306,3772,3484,3609,3781,3713,3428,3161,3475,3596,3845,4634,4244,2702,2695,2934,3611,3961,3472,3192,3691,3796,3751,3594,3384,3309,3344,3425,3303,3115,3060,2342,2189,2176,2016,1967,2100,2481,2908,3019,3099,2773,2636,2787,2907,2927,3018,2765,2652,2400,1967,1874,2310,2590,2713,2747,2404,2193,2313,2837,3299,3494,3230,2842,2803,3249,3528,3618,3400,2855,3530,3826,3851,3756,3829,3974,4095,3974,3538,3271,3297,3299,3522,3540,3440,3393,3476,3588,3485,3251,3431,3701,3482,3187,2979,3103,2971,2799,2266,2568,3739,3687,3119,3207,3588,3616,3431,3194,2939,2979,3186,3153,3152,2894,2806,2768,2461,2302,3051,2972,2591,2700,2773,2744,2796,3284,3469,3269,3184,3214,3492,3732,3505,3372,4099,4084,3651,4090,4384,3894,3808,3776,3396,3296,3393,3530,3716,3642,3538,3659,3348,2972,2832,2257,2612,3116,2951,3134,3076,2987,3134,2737,2242,1949,2066,2295,2330,3106,2646,2865,2272,2562,2670,2561,2431,2225,2156,1724,1903,3306,3921,3241,2999,2756,2843,2634,2470,2295,2101,2409,2770,2384,1963,2374,2662,2376,2052,2567,2722,2621,2754,2909,2718,2347,2145,1894,1693,2158,2949,3248,3119,2769,3083,2860,3098,3216,2330,1859,1881,1930,1781,1985,2542,2283,1801,2037,1970,2010,1961,1836,2074,2171,2031,2139,1978,2025,2780,3338,3882,3606,3804,3648,2790,1819,2048,2270,1888,1901,1888,1476,1041,1392,2210,2264,2460,2339,2283,1926,1955,2111,1974,1971,1922,1844,1743,2188,2563,2674,2797,2750,2536,2336,1986,2050,2258,2377,2575,2941,3149,2902,2218,1726,1750,1684,1802,1874,1717,1669,1561,1779,2030,1748,2096,2430,2942,3592,2875,2429,3304,3662,2975,2436,2329,2466,2261,1938,1626,1790,1860,2508,3118,3130,3178,3132,3090,2402,2307,2869,2568,1920,2426,3378,3962,3687,3275,3637,4208,4165,3594,3243,3740,4047,3791,3458,3002,2401,2154,2321,1920,1903,2186,2774,2754,2521,2857,3060,2733,2313,2468,2460,2895,3010,2101,2302,2642,2199,1873,1804,2120,2360,2363,1945,1998,2276,2298,2055,2025,2243,2736,3520,3403,2611,2050,1471,1579,2078,3185,3769,3730,3949,4083,4132,4050,4123,4119,3925,4084,4252,4152,4067,4058,4089,4070,4120,4023,3929,3793,3160,3520,4116,4015,3746,3310,3552,3898,3974,3848,3817,3907,3978,4008,4037,4151,4232,4084,3967,3951,3942,4107,4099,3727,3344,2476,2298,2520,2385,2569,2887,3114,3430,3266,3264,3249,2748,2258,2705,3557,3266,2938,2966,2840,2509,2196,2017,2192,2228,2644,2841,3271,2601,2464,2696,1951,2292,2854,2942,2929,3117,3061,2792,2618,2114,2378,2109,2141,2717,3244,3718,3322,2971,2770,2680,3604,3751,3068,3812,4441,4020,3638,3382,3618,3045,2886,2747,2211,2372,2518,2098,1786,2196,3486,2807,1838,2367,2998,2196,2000,2765,3052,3161,2909,3121,3987,3804,2486,2082,2283,2470,2556,2589,2441,2967,3338,3388,3056,2540,2639,2661,2250,2678,3101,3185,3147,2554,3060,3118,2330,2041,1895,2347,2708,2285,2401,2504,1912,1965,2149,2046,1748,1635,1567,1484,1444,1592,1691,1723,1677,1664,1421,1589,1882,1978,2316,2229,1746,1783,1800,1482,1559,1330,1455,1869,2208,1878,1663,1499,1732,1957,1891,1920,2148,1954,1614,1659,1895,2204,2026,1894,1734,1562,1808,2316,2519,2751,2731,2899,3138,3250,3278,3326,3204,3165,3107,2932,3011,3034,3095,3088,2920,2865,3018,3009,3010,3407,3299,3145,3018,2856,2684,2705,2724,2776,2961,3295,3218,2911,2867,3000,3354,3593,3639,3639,2547,2256,2985,2751,2313,2263,2110,2007,1738,1538,1504,1749,1863,1760,1647,1663,1647,2126,2529,1774,1692,2019,1642,1676,1677,1678,1665,1861,2137,1974,1511,1442,1572,1735,1698,1642,1492,1542,1582,1577,1720,1654,1710,2033,2018,2222,2504,2120,2389,3232,2192,1592,1540,1673,1604,1862,2531,2322,1718,1618,1736,1786,1798,1795,1852,1987,2633,2839,2768,2888,2906,2606,2110,1920,2318,2850,2642,2698,2607,2227,2080,2139,2155,2172,2487,2786,2789,2754,2866,3270,3563,3321,3194,3697,3662,3636,3405,2954,2082,2302,2968,2789,2775,2623,2589,2431,2204,2922,3066,2862,2834,2651,2436,2172,1993,2157,2464,1859,2071,2533,3306,3262,3040,2719,2505,1884,2288,3330,3089,2119,1594,1928,2294,2481,2509,2699,2743,2867,2598,2629,2287,1973,1840,1656,2160,2448,2154,2293,2386,2281,2291,2611,2376,2392,2886,2415,2144,2692,2620,2512,2854,2497,3142,2995,2530,2381,2744,2414,1584,1387,1523,1807,2038,1920,1890,2100,2104,2426,2523,1994,1799,2144,2519,2157,1807,1673,1715,2036,1749,1628,1472,1291,1611,2322,2110,1976,1708,1683,1844,1708,1504,1517,1389,1135,1289,1492,1394,1500,1569,1792,1930,1954,2083,1917,1557,1788,1650,1876,1714,1557,1616,1612,1656,2259,2176,2278,2096,1593,1848,1387,1196,1341,1456,1455,1418,1592,1756,1626,1461,1447,1449,1554,1458,1444,1565,1997,2056,2110,2383,2183,2165,2236,1865,1958,2060,1946,2370,2787,2629,2491,1818,1826,1633,1588,1632,1482,1415,1431,1355,1354,1534,1659,1565,1468,1354,1620,1548,1464,2008,2255,1729,1611,1948,2208,1685,1561,1838,2246,2252,1762,1857,1493,1214,1242,1283,1320,1320,1320,1382,1350,1250,1339,1545,2046,3199,3557,3142,2382,2248,3042,3231,2359,1789,2178,2410,2187,2421,2945,2481,2238,1776,1792,2824,3741,3849,3209,2872,3064,2966,2542,2322,2396,2193,2308,2517,3200,3816,3996,3930,3663,3392,2878,2752,2565,2511,2833,2944,2880,2798,2711,2754,3127,3146,3088,3244,3123,3174,3272,3154,2708,2498,2532,2385,2090,1936,1795,1711,2195,2532,2488,2405,1879,2121,2205,2231,2293,2425,2312,2602,3066,3266,3371,3220,3256,3364,3632,3874,3719,3837,3651,3508,3678,3905,3834,3523,3129,2822,2901,3042,2861,2828,2908,2810,2783,2919,3065,3053,2974,3010,2852,2714,2887,2984,2745,2699,3418,4220,4189,3853,3694,3703,3740,3694,3706,4064,4400,4528,4168,4465,4617,3860,2072,1384,1692,2620,4064,4629,4780,5217,5028,4288,4106,4287,4187,4232,4311,4416,4544,4588,4252,3754,3552,3596,3705,3892,4201,4444,4363,4428,4572,4348,4186,4144,4400,5196,5649,5700,5152,4376,4108,3974,3978,3695,4045,4609,4732,4320,3860,3550,3501,3231,2542,2942,3624,3041,2436,2448,3176,2858,2796,3263,3649,3636,3122,2758,2540,2554,2800,2846,1968,1549,1626,1958,2291,2316,2400,3035,3085,2773,3181,3404,3186,2707,2668,2825,2954,2494,1749,1476,1849,2480,2858,2518,2292,2302,2339,1902,2212,2457,2294,2448,2688,2788,3045,3122,2920,3067,3222,3265,3480,3591,2706,2922,2923,2500,2611,2382,2369,2593,2488,2785,3118,2460,2502,2921,3275,3176,2875,2890,2674,2252,2460,2720,2818,2463,1976,1760,2185,3138,3086,2586,2482,2103,1737,1586,1915,2382,2808,2709,2052,2004,2455,2655,2777,2600,2776,3308,3673,3846,3683,3254,3134,3594,3542,3426,3139,3185,3504,3714,3736,3834,3681,3270,3089,3067,3044,3294,3695,3846,4175,4037,3994,4096,2941,1975,2894,3575,3093,3132,3764,4305,3875,3752,4704,4719,4368,4459,4733,4873,5061,5080,4716,4128,3141,3045,3006,3040,3028,3015,3049,3061,3071,3032,3125,2965,2674,2753,2844,3194,3401,3454,3609,3261,3066,2944,2579,1960,2060,2332,2451,2851,3251,3262,3013,2504,2341,2590,2545,2352,2247,2468,2472,2162,2470,2788,2275,1880,2624,3356,2850,2490,2287,2222,2555,2521,2486,2329,2069,1968,1985,2137,2231,2269,2566,3015,3131,3154,2987,2341,2187,2251,1981,2163,2280,2364,2130,1826,1806,2268,2327,2286,2237,2353,2459,2457,2857,2636,1904,1602,2054,2273,1757,2417,3297,3099,2735,2736,2632,2213,1971,1904,1819,2210,2169,2231,2147,1907,2348,2550,2170,2146,2546,2609,2613,2066,2404,2103,1721,1749,1739,2558,2444,1798,2466,2811,3007,3299,3526,3200,3097,2872,2072,2252,2341,2503,2707,2003,1802,1771,1861,2540,2924,2713,2578,2016,1749,1725,1842,1892,2362,2603,2383,2390,2228,2019,2021,1642,1896,1708,1385,2083,2976,2939,2452,2299,2233,2392,2604,2932,2522,2403,2414,2453,2784,2854,3295,3673,3227,2906,2645,2451,2655,2392,2534,2512,2984,3798,4172,4048,3580,3074,2939,3060,2866,2677,1944,2141,2317,2526,2360,2092,2105,2431,2193,2684,2982,2563,2481,2808,2766,2285,2204,2545,3740,3985,3386,3107,3086,2743,2712,2797,2462,1889,1715,2050,2265,3150,2978,2289,2426,2334,2624,3287,3109,2541,2403,2187,2133,1961,2156,2587,2458,2326,2005,2319,2602,1993,1642,1731,2098,2962,3177,2097,2121,2108,3078,2382,2259,2435,2491,3074,3333,2844,2321,2510,2820,2459,2999,3676,2952,2336,2399,2440,2110,1920,2153,2614,2655,2083,1712,1818,1562,1400,1483,1593,1535,1648,2248,2128,2417,2523],[3247,3395,3579,3454,3287,3228,3354,3281,3085,3094,3167,3242,3094,2817,3012,3609,3659,2375,2080,2382,2150,2306,2519,2582,2832,2796,2579,2566,3659,4209,4207,3907,3407,2974,2611,2470,2156,1867,2182,2351,2179,2018,2122,2620,2429,1835,1804,2116,2152,2411,2778,2680,2622,2695,2126,2289,2612,2379,2543,2951,2417,2439,3122,2635,2254,1814,1564,1811,1708,2249,2056,1643,1659,1466,1381,2130,3183,3391,3156,3112,2964,2976,3149,3139,3173,3221,3237,3240,3247,3282,3623,3727,3298,3240,3505,3518,3396,2867,2081,1951,2055,2126,2233,2437,2462,2066,1838,1971,2002,1978,2051,2423,2566,2147,1909,1873,2114,2271,1976,1771,2172,3095,3829,2395,2210,2691,2481,2456,2306,2106,2354,2539,2758,2597,2325,1822,2062,1897,2253,2062,2036,2257,2040,1978,2304,2468,2244,2347,2548,2188,2116,2150,2257,2433,2188,2100,2268,2539,3137,3469,3392,3548,3189,2415,2984,2974,2292,2179,2695,3033,3105,2844,3172,3626,3379,3066,2852,2921,4090,4850,4272,2550,2135,2575,3319,4033,3785,3662,3739,3338,3146,3547,3585,3250,3042,3213,3393,3184,3046,2763,2563,2586,2592,2669,2654,2642,2706,2697,2472,2388,2408,2733,2626,2823,2968,3196,3265,2925,2842,2928,3139,2733,2155,2315,2524,2384,2319,3032,3494,3738,3786,3583,3392,3718,3649,3813,4220,4231,3738,3647,3825,3794,3826,3930,3758,3557,3432,3297,3211,3250,3499,3459,3375,3459,3658,3898,3845,3451,3470,3419,2993,3386,3824,3927,3972,3431,2835,2936,3769,4091,3572,2823,2918,3346,3210,3189,3002,2625,2785,3018,3227,2920,2730,2752,2751,2665,3262,3481,3021,2854,2569,2616,2742,3272,3439,3126,3194,3414,3342,3224,3163,3084,3662,3716,3313,3589,3883,3785,3808,3149,2369,2751,3252,3714,4029,3798,3674,3841,3493,2437,2687,2401,2644,2885,2770,2197,2445,3287,3161,2426,2109,1743,1810,2059,2612,3025,2396,2548,2552,2545,2171,2163,2311,2493,2725,2230,2015,1918,1832,2670,3188,2529,2425,2579,2392,2143,2009,2290,2500,2076,1775,2286,2447,2061,2208,2647,2541,2614,2752,2953,2829,2027,1343,1049,1401,2798,3129,2907,2739,2911,3129,3086,3142,3108,2958,2678,2332,2302,2050,2276,2440,1863,1713,1915,2160,2327,2188,2255,2174,1836,1859,1907,1923,2313,2394,2457,3278,3451,3591,2597,2018,2417,2544,2630,1973,1796,2568,2491,1666,1936,2520,2166,2136,2163,2013,1917,2191,2354,2261,2209,1899,1886,1792,2244,2575,2632,2773,2880,2565,2441,2358,2105,1811,1929,1990,2176,2959,3084,3234,3002,2592,1881,1939,1996,1874,1880,1615,1758,1798,2334,2909,2964,3078,3374,3755,3763,3618,3381,3212,2681,2198,2156,2027,2107,1721,2209,2300,3098,3902,3869,3633,3564,3220,2517,2398,2865,3064,2241,2344,3318,3850,3669,3668,4249,4356,4020,3984,4132,4050,3277,3541,3762,3017,2509,2454,2706,1881,1505,1945,2401,2861,2770,2504,3125,3169,2884,2784,2670,2576,2545,2083,2286,2416,2175,2189,2257,2576,2442,2812,2193,1992,2161,2126,1937,2115,2729,3459,3705,3083,2323,2271,1578,1779,2380,3760,3661,3031,3584,4097,4016,4038,4121,4038,4039,4070,4168,4125,4082,4121,4120,4072,4064,3973,3824,3550,3406,3761,3996,3821,3475,2545,3080,3714,3924,3886,3845,3885,3951,3990,4070,4151,3913,3928,4069,3251,3164,3928,4173,3974,3751,3458,2609,2164,2471,2911,3177,3542,3855,3782,3369,3463,3284,2619,2911,3737,3606,3356,3167,2850,2787,2487,2064,2510,2500,2938,2974,3118,2310,2338,2596,2360,2641,3052,3198,3071,3334,3486,3328,2876,2260,1945,2096,2840,2801,2962,3935,3886,3752,3087,2264,2298,3023,3728,4094,3615,3507,3286,3053,3199,2554,1962,2077,1780,2174,2220,1820,1675,2669,3426,2459,1863,2350,3133,2455,1935,2614,3056,3482,3216,3507,3682,3341,2050,1787,2297,2807,2798,2831,2689,2595,2662,2481,2344,2374,2630,2662,2250,2404,2956,2991,2520,2335,2736,2300,2052,2535,2750,2744,2942,2477,2331,1815,1702,1976,1996,1888,1666,1657,1816,1665,1438,1615,1609,1514,1760,1713,1511,1393,1812,2244,2430,2171,1827,1829,1642,1533,1888,1444,1394,1832,1932,1782,2014,2087,1771,1777,1940,1908,1978,1884,1879,1748,2020,1832,1545,1570,1565,1682,1876,1757,1976,2438,2084,2561,3006,3096,3009,2744,2722,2964,2855,2722,2691,2727,2906,2974,3067,3066,2899,2930,3196,3792,3784,3432,3344,3082,2740,2740,2806,2798,3011,3328,3277,3311,3303,3328,3354,3462,3685,3728,2799,2096,2436,2347,2314,2044,2484,2504,1979,1810,1674,1748,1824,1764,1825,1720,1707,1779,2167,1780,1874,2006,1774,1731,1636,1546,1615,1947,2010,1679,1504,1640,1686,1598,1752,1949,1789,1648,1462,1640,2017,1847,1770,1811,1719,1992,1895,1937,2700,2970,2016,1560,1451,1382,1527,2118,2745,2422,1923,1750,1615,1673,1883,1744,1825,2052,2536,3149,3438,3356,3073,2550,1946,1792,1985,2363,2971,3684,3320,2378,2438,2867,2442,2134,2357,2519,2826,2807,2701,2737,2514,2601,2812,3053,3147,3186,3147,2664,1980,2330,2778,2668,2526,2714,3174,2842,2644,2840,2855,2823,2686,2462,2369,2132,1655,2452,2731,2469,2642,3000,2906,2922,2769,2271,2286,2431,2470,3146,2612,1587,1267,1923,2353,2176,2409,2620,3218,2824,2250,2730,2603,1968,2040,1675,2214,2484,1809,1829,2161,2215,2080,2613,2577,2669,3196,2406,2199,2319,2281,2345,2689,1416,1568,1757,2051,2142,2103,1909,1556,1541,1757,1696,1832,2588,3213,2842,2105,2301,2380,1899,2008,2504,2591,2134,1564,1212,1533,1873,1601,1438,1670,1710,1572,1946,2217,1817,1361,1318,1465,1594,1497,1510,1413,1492,1382,1366,1369,1554,1572,1798,2114,1870,2133,2491,1819,1844,1694,1848,1905,1683,1442,1301,1423,1627,1663,1780,1842,1590,1603,1322,1427,1361,1405,1514,1396,1267,1390,1378,1309,1406,1677,1781,1542,1793,1722,1511,1534,1840,2200,2520,2836,2466,2135,2154,2057,2400,2526,2136,2199,2301,1935,1662,1590,1623,1573,1647,1837,1541,1378,1500,1551,1512,1416,1355,1486,1752,1570,1620,1994,1952,1568,1416,1697,2177,1869,1810,1688,1753,1625,1619,1550,1354,1301,1346,1372,1345,1211,1150,1377,1487,1463,1571,2014,2697,3504,3943,3481,2850,2916,2788,2303,1872,1609,2352,2702,2288,1918,1971,1857,1817,1772,1925,2350,3053,3812,3703,3131,2639,2557,2425,2410,2577,2249,2293,2580,2910,3303,3839,3754,3504,3428,3316,3240,3034,2906,2622,2665,2763,2711,2675,2674,2617,2671,2534,2325,2201,2120,2257,2182,2100,2029,2036,2275,2450,2623,2252,1919,2416,2437,2254,2356,2116,2198,2344,2388,2470,2496,2338,2578,2799,2790,3110,3172,3270,3421,3588,3710,3265,3249,3591,3764,3947,3929,3578,3444,3220,3109,3168,3240,3052,3035,3042,2767,2726,2872,2929,2971,2921,3045,3067,3216,3615,3292,2816,2688,3370,4165,4227,3753,3635,3784,3843,3765,3706,3911,4216,4139,4264,4497,4508,3950,2789,2092,2047,2952,4225,4689,4895,5236,4705,3806,3680,3994,4064,4160,4198,4099,4194,4368,4221,3847,3758,3685,3635,3979,4140,4478,4403,4400,4704,4832,4719,4400,4531,4945,5028,4768,4374,4079,3916,3898,3883,3695,3792,3988,3780,3152,3007,3425,3714,3198,3397,4053,3123,2546,2912,2923,2884,3148,3218,2568,3161,3445,2809,2299,2632,2899,2692,2371,2076,1933,1793,1880,2445,2396,2274,3255,3120,2701,2848,2986,3161,3312,3297,3239,3024,2394,1738,1684,2319,2665,2618,2253,2197,2193,1909,1875,2360,2214,2034,2452,2622,2066,1780,1622,1839,2604,3223,3189,3449,3563,3273,3692,3392,2589,2964,3397,2808,2754,2561,2503,2115,1668,2237,2734,2950,3393,3670,3175,2188,2309,2651,2608,2631,2242,2216,1980,2120,2319,2560,2922,2945,2574,2115,2049,2336,2387,2242,1987,1630,1626,2025,2432,2720,2486,2423,3037,3469,3487,3394,3377,3280,3576,3452,3343,3326,3504,3303,3254,3787,4292,4277,3807,3364,3406,3624,4114,4460,4408,4528,4537,4367,4292,2942,1225,1447,2116,2224,2874,3443,3906,3445,3564,4209,4178,4129,4210,4485,4764,4959,5080,4865,4156,3183,2943,3160,3168,3112,3188,3118,3094,3067,3122,3233,2765,2476,2396,3019,3480,3500,3348,3417,3480,3417,3099,2542,1907,2104,2740,2557,2510,2814,2821,2543,2409,2261,2209,2448,2474,2202,2111,2522,2236,2698,2876,2221,2064,2337,2278,2295,2216,2113,2545,3000,2869,2473,2159,1766,1605,1659,1764,1973,2015,2456,2900,2928,3059,2877,2629,2432,2527,1953,2125,1906,1944,1681,1619,2122,2693,2637,2453,2453,2732,2509,2610,2636,2455,2042,2171,2255,1937,1885,2612,2765,2345,2235,2563,2534,1852,2220,2369,1938,2275,2111,2290,2336,2217,2644,2600,2431,2155,2557,2510,2493,2532,2394,1955,2013,2148,2026,2584,2528,2135,2796,2974,3072,3219,3342,3017,2330,2642,2822,2382,2592,3106,2736,1908,2222,2299,2823,3210,3441,2879,2453,2028,1717,1840,1908,1743,2474,2792,2383,2227,2010,2101,2460,2076,2359,2031,1499,1603,2442,2875,2537,2821,2395,2106,2441,2611,2585,2980,2519,2299,2941,2855,3031,3530,3024,2737,2446,2185,2293,2535,2510,2534,2305,2599,3284,3304,2646,2069,2427,2709,2293,2626,2061,2346,2319,2342,2421,2542,2626,2514,2599,2858,2905,2633,2612,2744,2709,2453,2464,2375,3615,4172,3593,3043,2496,2334,2280,2252,1976,1530,1532,2136,2413,3561,3034,2123,1948,1936,1959,2210,2540,2505,2106,2005,1569,1387,1937,2066,1808,1869,1988,2245,2255,2044,1795,1951,2518,2886,2893,2470,2279,2157,2866,2315,1840,1992,2176,2871,3516,3384,2688,2380,2565,2537,2557,2888,2163,1786,1954,1892,1820,2398,3265,3751,3463,3121,2210,1582,1432,1476,1621,1787,1659,1503,1519,1739,1798,1628],[3554,3507,3562,3455,3232,3286,3597,3256,3257,2973,2977,3244,3032,2841,3130,3626,3332,2668,2354,2250,2346,2541,2574,2710,3218,2976,2713,2635,3410,4082,4049,3620,3012,2766,2443,2342,1986,1565,1840,2093,2030,1982,2192,2240,1945,1671,1920,2229,2186,1963,2146,2619,2391,2372,2510,2764,2736,2551,2785,2872,2228,2644,2707,1936,1758,1634,1935,2132,1973,1958,1840,1759,1747,1608,1699,2441,3238,3411,2698,2487,2604,2877,2972,3139,3331,3265,3384,3520,3404,3248,3238,3563,3466,3797,3884,3574,3340,2883,2411,2153,2344,2487,2220,2359,2397,2047,1888,2194,2232,2382,2570,2554,2309,2164,2104,2012,1856,1866,1816,1720,1959,2327,2878,2186,1897,2598,2235,2095,2227,2524,2603,2216,2326,2126,2164,2369,2546,2203,2020,1969,2179,2212,1794,1731,2436,2983,2565,2365,2110,2173,2074,2424,2544,2559,2546,2468,2488,2729,3340,3594,3553,3839,2997,2587,2949,2720,2338,2482,2507,2418,2637,2761,3014,2938,2658,2608,2868,3733,4197,4400,3884,2518,1948,2663,3602,4079,4039,3812,3086,2377,3107,4131,4026,3962,3585,3284,3305,3518,3505,3177,3241,3196,2807,2887,2928,3007,3134,2940,2322,2145,2042,2099,2258,2298,2395,2769,2756,2834,3566,3951,3921,3595,2836,2598,2985,2930,2875,3111,3522,3882,3902,3864,3895,4309,4058,3835,3885,3610,3498,3685,3808,3772,3746,3768,3462,3276,3197,3102,3108,3176,3339,3331,3184,3297,3754,4185,4284,4024,3814,3183,2735,3874,4283,4024,3868,4108,4328,3911,3726,3784,3293,2482,2398,2777,2614,2479,2353,2353,2503,2657,3261,3344,3020,3017,3086,3308,3733,4023,3650,3010,2349,2312,2442,2742,3156,3431,3466,3466,3044,2941,2919,3024,3207,3342,2902,2835,3544,3875,3830,2909,2374,2552,3140,3874,4050,3779,3465,3463,3665,3255,3344,2656,2520,2597,2436,2142,2655,3141,2553,2278,2534,1916,2082,2193,2501,2767,2380,2267,1954,1716,1886,1837,1823,1971,2149,2417,2736,1991,1963,2273,2382,2109,2489,2635,2455,2471,2252,2424,2338,2072,1810,2052,2210,2167,2342,2514,2413,2540,2932,3130,2939,1975,1873,1878,2175,3110,3109,3059,2796,3109,3519,3428,3453,3430,2750,2053,1593,1582,1930,1901,1881,1472,1461,1944,1932,1908,1989,1900,2150,2213,2246,2229,1975,2380,2414,2042,2298,3296,3738,2187,1834,3098,2932,3091,2491,2480,2619,2293,2363,2178,2094,2212,2568,2800,2542,2166,2188,2237,2487,2419,2142,2089,1883,2160,2468,2459,2642,2875,2770,2396,1985,2155,2150,1812,2077,2003,2019,2293,2841,3312,2932,2154,2138,2382,3012,2946,2311,2280,2158,2706,3239,3012,2686,2973,3662,4012,3746,3503,3332,2900,2609,2344,2337,2013,1926,2671,2812,3242,3836,3787,3554,3715,3124,2355,2508,3017,3352,2632,2198,3013,3642,3619,3706,4047,4140,3977,3752,3793,3720,3381,3827,3322,2566,2256,2802,3045,1951,1568,2186,2753,2762,2198,2166,3265,3118,2863,2758,2552,2210,2255,2337,2570,2303,2314,3328,3030,2444,2127,3212,2481,1904,1846,1816,1952,2492,3099,3139,2998,2740,2395,2409,2297,2217,2912,3829,3838,3460,3643,3820,3808,4000,4144,4092,4007,4000,4065,4077,4079,4075,3997,4006,3912,3873,3584,3086,3570,3892,3861,3679,3707,3394,3493,3855,3912,3776,3566,3654,3952,4007,4132,3960,3349,3692,4024,2980,3130,3803,4144,4068,4281,3882,2722,2478,2885,3042,3447,3912,4025,3912,3409,3422,3226,2890,3216,3705,3683,3237,2657,2074,2416,2643,3017,3210,3187,3061,3172,2600,2011,2382,2374,2566,3327,3514,3393,3039,3156,2817,3310,2893,2009,2192,2623,3356,3354,3063,3616,3200,3261,2808,2109,2161,2294,2562,3053,2685,2634,2633,2313,2395,2031,1778,1977,1729,2720,2620,2041,1728,3002,3522,2473,2050,2687,3226,2535,2334,3249,3433,3517,3117,3757,3586,2797,2183,1586,2238,2903,2896,2910,3174,3911,3320,2486,2150,2609,2853,2841,2635,2115,2161,2718,2581,2469,2786,2561,2768,3044,2988,2457,2734,2598,2283,1829,2007,2198,1844,1707,1855,1960,1984,1640,1499,1412,1347,1403,1590,2019,2043,1598,1904,3043,3420,2535,1908,1700,1590,2064,2315,1703,1642,2066,1950,1650,1740,1865,1594,1532,1575,1511,1666,1664,1645,1500,1627,1722,1716,1620,1616,1611,1608,1813,1915,1753,1743,2629,3199,3064,2835,2579,2933,3293,3003,2779,2652,2633,2736,2885,3023,2953,3068,3010,3135,3508,3569,3444,3123,2779,2678,2667,2974,3213,3318,3310,3210,3023,2929,3034,3149,3306,3525,3510,2746,2347,2666,3277,3332,2493,2865,2925,2274,1792,1694,1881,1843,1663,1734,1420,1345,1663,2151,2416,2480,2088,1872,1751,1679,1794,2263,2675,2089,1449,1363,1474,1582,1514,1850,2197,1946,1587,1443,1633,1870,1675,1500,1409,1331,1572,1739,2439,2831,2426,1832,1579,1492,1591,1814,1981,2136,2082,1663,1776,1817,1745,1671,1738,1826,1699,1884,2053,2546,3045,3184,3032,2424,1924,2144,2777,3305,3436,2976,2355,2664,3207,2751,2419,2618,3264,3638,3194,2741,2778,3040,3042,2674,2269,2048,2076,2258,2157,1906,1959,2010,2031,2152,2430,2532,2575,2787,2733,2432,2511,2508,2421,2380,2342,1990,2299,2216,2266,2405,2415,2693,2710,2009,1822,2509,3042,2805,2887,2732,1672,1500,2624,2556,2099,2281,2718,3459,3018,2336,2500,2857,2243,2431,1995,2732,2989,2541,2418,2447,2091,2124,2668,2289,2999,3326,2517,2276,2238,2194,2367,2749,1828,1524,1854,2216,2069,1857,2020,1990,1742,1842,1703,2204,3493,4200,3371,2076,1931,2050,2195,2140,2202,2369,2014,1805,1601,1489,1552,1490,1393,1931,2093,1628,1440,1404,1238,1251,1368,1490,1429,1394,1504,1452,1412,1340,1386,1388,1474,1560,2074,2512,2021,1809,2300,1864,1648,1502,1539,1676,1662,1466,1605,1750,1499,1480,1390,1773,1825,1467,1368,1359,1255,1382,1465,1309,1245,1297,1349,1510,1786,1876,2009,1891,1849,1682,1383,1440,1840,2128,2492,2471,2143,2384,2336,2634,3267,2924,2076,1753,1916,2132,1808,1472,1567,1522,1635,1740,1522,1545,1506,1522,1484,1584,1598,1754,1908,1844,1652,1698,1723,1552,1393,1526,1561,1657,1697,1638,1657,1436,1445,1633,1573,1462,1535,1711,2183,1586,1473,1551,1408,1262,1723,2370,2744,3244,3492,2961,2425,2396,2045,1603,1405,1363,2229,2733,2363,1804,1506,1824,2418,2262,2153,1953,2057,3143,3839,3613,2661,2126,1990,2260,2417,2198,2100,2325,2499,3022,3949,3152,2607,3195,3522,3209,3300,3059,2378,2420,2767,2746,2563,2521,2648,2648,2025,1985,1984,1948,2215,2447,2733,2725,2752,3101,3120,3054,2553,2116,2357,2502,2487,2578,2297,2249,2674,2813,2972,2950,2699,2911,2522,2635,2928,2886,3072,3356,3573,3470,2731,2492,3082,3564,3750,3464,3399,3360,3247,3149,3212,3218,3095,3016,2938,2813,2800,2801,2741,2850,2796,2875,2933,3067,3332,3193,2928,2729,3110,4078,4208,3583,3531,3704,3814,3824,3706,3918,4077,4060,4341,4408,4002,3659,3640,3638,3491,3836,4404,4652,4396,3916,3520,3142,3294,3664,3896,4144,4500,4501,4479,4492,4377,4220,3945,3731,3560,3647,3817,4137,4389,4473,4540,4812,4676,4499,4620,4471,4539,4540,4243,4030,3986,3930,3657,3504,3463,3168,2748,2674,3161,3715,3979,3720,4108,4124,3174,3124,3275,2790,2523,2932,2852,2070,2810,3330,2967,2391,2700,2698,2652,2639,2280,2132,2184,2396,2524,2272,2204,3240,3068,2742,2655,2441,2406,2718,2739,2895,3034,2312,1568,1721,1917,2030,2299,2452,2260,2091,1797,2081,2514,2255,2385,2552,2086,1158,973,1034,1260,2084,3024,3093,2865,3062,3157,2924,2220,1918,2935,3602,2873,3076,2680,2217,1775,2344,2819,2802,2697,2732,3207,3584,2602,2709,2440,2808,2565,2197,1882,1857,2160,2079,1881,2086,2617,2840,2740,2372,2409,2327,2030,1689,1515,1472,2066,2981,3458,3348,2941,3317,3694,3629,3469,3812,3798,3648,3453,3410,3386,3654,3711,3330,3604,4151,4228,3903,3429,3682,3707,3934,4115,4408,4580,4528,4460,4408,3239,1423,963,917,1797,2590,3226,3592,3715,3676,3594,3648,3681,3635,3985,4420,4854,5060,4783,3686,3137,2995,3068,3138,3267,3254,3194,3160,3044,3084,3095,2688,3061,2609,2897,3281,3436,3234,2929,3460,3868,3011,2363,2155,2327,3098,2618,2281,2324,2471,2802,2712,2172,2093,2186,1848,1908,2104,2521,2329,2843,2755,1992,1955,2229,2404,2163,1961,2285,2890,2805,2275,1981,2507,2326,1690,1501,1702,1769,1962,2562,2878,3084,3260,2881,2730,2272,2348,2142,1928,1672,1906,1856,1946,2466,2678,2769,3111,2576,2584,2514,2423,2052,2342,2442,2308,1989,1908,2448,3041,2403,2232,2402,2692,2753,2342,2692,2723,2299,1949,1587,1926,2322,2452,2941,2876,2314,2115,2380,2524,2657,2884,2797,2611,2517,2476,2568,2642,2437,2658,2973,2681,2654,2734,2800,3096,2479,2414,2512,2242,2604,2731,2185,1865,2035,2836,3601,3072,2732,2802,2563,2052,1785,1826,1909,1948,2879,3009,2834,2459,1714,2222,2685,2605,2806,2420,1988,2037,2720,2885,2253,2912,2287,1992,2067,2384,2817,2532,1848,1924,2811,3506,3404,2911,1823,2097,2593,2696,2791,3291,2862,2378,1939,1975,2259,2402,2281,2250,2534,2310,2269,2877,2318,2374,2612,2497,2714,3002,2558,2556,3124,3037,2767,2530,2613,2621,2687,3023,2855,2558,3288,3762,3640,2754,1976,2010,1997,2220,2183,1673,1829,2158,2462,3184,2787,1817,1561,1648,1833,1936,2444,2404,1770,1703,1533,1375,1796,1908,1830,1748,1843,1974,2289,2400,2157,2326,2463,2610,2507,2653,2728,2812,2837,2364,2022,1847,2172,3194,3518,3342,3266,2688,2325,2521,2610,2361,1887,1883,2109,2540,2923,3340,3650,3388,3451,3415,3022,2266,1846,1669,1548,1550,1770,1847,1990,2271,2110,1756],[3429,3588,3695,3627,3151,2622,3572,3743,3346,2914,3211,3277,2994,3074,3261,3199,3082,3464,2803,2131,2647,2807,2751,2741,2923,2854,2742,2714,2969,3188,3212,2763,2302,2177,2254,2238,2026,1758,1849,1899,1793,1862,1870,1871,2002,1938,1960,2358,1989,1654,1989,2480,2535,2774,3054,2961,2784,2636,2751,2424,1917,2266,1968,1588,1668,1675,2188,2404,2249,2037,2050,1942,1904,2018,2908,3440,3795,3306,2363,2386,2503,2787,3120,3232,3363,3423,3533,3120,2305,2376,2921,3441,3814,4161,4052,3952,3454,2907,2751,2461,2326,2242,2014,1952,1960,1879,1932,2154,2409,2580,2343,1970,2021,1939,1768,2031,2031,1976,2052,1951,1930,1981,2291,2154,2135,2080,1836,2270,2341,2392,2238,2255,2331,2160,1933,2099,2292,1918,1726,1859,2144,1903,1500,1924,2165,2382,2440,2702,2388,2189,2213,2464,2517,3650,4264,3016,2868,2873,3218,3519,3623,3831,2396,2080,2382,2248,2830,3584,3076,2142,2344,2558,2633,2496,2343,2568,3326,3321,3742,4014,3607,2987,2723,2940,3400,3824,3889,3788,3031,2649,3703,4497,4561,4576,4381,4132,4005,4113,4099,3968,3912,3251,2858,3024,3096,3484,3529,3227,2910,2601,2331,2297,2601,2806,2288,2048,1871,1998,2207,2482,2942,3585,3682,3526,3537,3630,3538,3384,3508,3977,3967,3825,3741,3898,4082,3943,3753,3487,3537,3728,3758,3721,3737,3586,3463,3384,3185,3251,3269,3146,3355,3607,3473,3285,3614,4131,4136,4015,4121,3625,3334,3940,4185,3812,3344,3651,4062,4004,3706,3676,3141,2712,2177,1910,1639,1641,1949,2540,2836,2518,2968,3333,3393,3572,3666,3719,3722,3653,3536,2869,2670,2899,2843,2771,3212,3352,2945,2768,2862,3345,3060,3046,2952,3353,3083,2422,3029,3843,3576,2776,2281,2359,3077,3707,4071,4123,3496,2890,3064,3007,2890,2358,2039,2219,2309,2285,2775,2921,2568,2249,2132,1953,2215,2424,2852,2685,2518,3021,2533,2099,2492,2070,1303,950,1085,2252,2919,2291,1896,2213,2166,1779,2109,2229,2382,2581,2186,2067,2404,2337,1952,2192,2573,2696,2565,2464,2605,2713,2827,3029,3160,2125,3074,3665,3464,3320,3022,3082,2900,3090,4201,4006,2976,2777,1875,1507,1494,1416,1666,1776,1956,1715,1659,1714,1962,2186,2022,2027,1977,1945,2186,2216,2243,2676,2357,1886,1904,2407,2784,2167,1645,2683,3133,3043,3044,3174,3104,2894,2933,2663,2397,2514,2835,3199,2734,2073,2340,2240,2041,2464,2798,2718,2098,1980,2050,1996,2346,2754,2779,2470,1622,1599,2222,2200,1890,1937,1981,1938,1864,2211,2400,2187,2046,2427,3517,3678,2763,2533,2323,2184,2485,2765,2872,3162,3530,3407,3097,3188,3265,3244,3117,2645,2123,1842,1897,2043,2769,3579,3745,3603,3550,3532,3108,2199,2452,3143,3588,3031,2304,2698,3608,3579,3537,3611,3167,3409,3338,3405,3266,3488,3626,2890,2657,2516,2650,2827,1654,1675,2411,2358,2018,1839,1791,2541,2597,2602,2565,2268,2333,2664,2426,2414,2217,2293,2898,2445,2075,1903,2621,2379,1929,1907,1985,2247,2666,2787,2481,2443,2276,2758,2562,2524,2431,3185,3741,3894,3759,3286,3564,3814,3894,4086,4120,4032,3945,4007,4040,4060,4079,4056,3979,3810,3859,3854,3646,4049,4072,3938,3854,3684,3308,3572,3912,3918,3881,3400,3511,3963,4021,4071,4041,3925,4108,4279,3786,3309,3539,4102,4169,4079,3566,3032,2523,2566,2843,3464,3868,3911,3894,3649,3475,3635,3820,3566,3308,3275,3140,2744,2700,3128,2659,2469,3312,3608,3130,2770,2454,2608,2603,2372,2909,3538,3282,3131,2744,2709,2543,2933,2549,2331,3357,3598,3367,3497,3261,3165,2639,3322,3251,1967,1792,2146,2061,2277,2601,2658,2427,2950,3191,2424,2275,2021,1880,2503,2108,1902,1991,3143,3773,2706,2480,3021,3387,2292,2928,2830,2682,3430,3497,3960,3460,3138,3090,2850,2858,2949,2889,2187,2707,3472,2479,1996,2030,2727,2857,2722,2766,2345,2198,2820,2658,2583,3492,3519,3020,2744,2283,2090,2539,2522,2280,1971,1702,1835,1764,1738,1718,1707,1786,1655,1551,1690,1742,1520,1493,2121,2608,2269,2164,2788,3196,2325,1759,1536,1927,2347,2042,1526,1663,1868,1742,1593,1461,1459,1412,1712,1565,1511,1673,1694,1517,1408,1500,1773,1938,1656,1647,1792,2059,3051,2868,1997,1780,2462,3019,2802,2663,2854,3117,3106,3189,3307,2740,2597,2791,2942,3083,2968,3188,3214,3086,3287,3401,3373,3081,2785,2706,2709,2841,3024,3205,3190,3173,3019,2807,3057,3275,3422,3533,3640,2604,2500,2890,3437,3453,2944,2665,2452,2097,1776,1751,1867,1803,1743,1678,1419,1374,1693,2312,2863,2691,1954,1886,1725,1697,1810,2338,2029,1779,1323,1146,1321,1644,1619,1655,1910,1813,1519,1581,1700,1624,1531,1503,1579,1543,1762,2228,2457,2049,1720,1734,1590,1873,1847,1968,2205,1974,1891,1744,1708,1698,1589,1491,1680,1898,1643,1499,1703,1694,2038,2451,2931,3105,2470,2546,3218,3195,2956,2386,2394,2998,3366,2730,2732,2911,3182,3480,3588,3311,2680,2409,2399,2105,2048,2050,1943,2392,2347,2185,2184,1968,1744,1924,2244,2408,2497,2572,2777,2460,2385,2385,2211,2111,2186,2070,2297,2494,2463,2310,2636,3047,2496,2051,1524,2071,2661,3363,3098,2863,1976,1646,2202,2201,2399,2627,2599,2878,2724,2649,2629,2684,2081,1996,1969,2244,2304,2182,2234,2270,1971,2000,2613,2218,2536,2689,2283,1988,2162,2172,2759,3082,2667,2548,2469,2261,1981,1820,1964,1927,1710,1672,1872,2545,3416,3926,3124,1964,1896,2163,2185,1640,1581,2015,1871,1643,1742,1610,1483,1398,1329,1594,1574,1368,1417,1426,1404,1904,1959,1764,1698,2126,1853,1361,1464,1350,1394,1366,1412,1532,1763,1797,1606,1809,1938,1904,1896,1606,1483,1679,1723,1631,1540,1701,1744,1687,1448,1717,1608,1406,1355,1499,1629,1477,1483,1456,1355,1436,1627,1500,1458,1565,1736,1973,2133,1836,1439,1558,1941,2014,2345,2515,2415,2433,2253,2400,2479,2337,1887,1476,1550,2063,1892,1509,1527,1622,1789,1760,1765,1600,1460,1449,1462,1543,1539,1487,1572,1827,1759,1836,1443,1526,1529,1732,1976,1929,1697,1609,1529,1338,1378,1440,1359,1444,1722,1642,1859,1612,1821,1640,1534,1426,1562,1905,1953,2072,1994,1669,1414,1593,1593,1418,1515,1510,1968,2105,1696,1620,1483,1736,2161,1924,1901,1455,1376,2125,3252,3650,2885,2025,1969,2281,2321,2243,2115,2222,2286,2874,3443,2819,2203,2385,2599,2734,3025,2781,2047,2059,2257,2280,2257,2093,2451,2856,2317,2213,2197,2460,3064,3173,3188,3132,2780,3010,3016,3042,2721,2496,2630,2791,2843,2852,2496,2482,3283,3351,3298,3129,2750,3011,2429,2557,2362,2213,2478,2654,3209,3525,3151,2884,3056,2995,3262,3153,3493,3482,3421,3260,3113,3156,3173,3055,2893,2963,3101,3043,2724,2585,2562,2722,2846,2993,3200,3285,3250,3096,3010,3893,4167,3548,3334,3511,3702,3846,3798,3963,4168,4184,4284,4256,3910,3758,3903,4229,4228,3996,4167,4479,3939,3342,3208,3278,3552,3789,4006,4297,4568,4923,4637,4584,4684,4343,3872,3718,3577,3550,3798,4081,4273,4264,4394,4487,4143,4224,4500,4465,4319,4228,4265,4232,3945,3597,3493,3466,3439,3322,3305,3517,3770,3864,3829,3829,3709,3375,3299,3377,2976,2941,3116,3281,3269,3384,3430,3535,2955,2579,2677,2506,2334,2309,2047,1978,2389,2714,2542,1938,2596,3263,2926,2724,2656,2232,1932,2198,2323,2575,2532,1939,1499,1793,1979,1930,2223,2481,2315,2295,2284,2522,2662,2371,2808,2666,2036,1281,1172,1418,1644,1969,2796,3319,3023,2946,2417,2166,2133,2160,2604,2995,3041,3281,3199,2357,2060,2603,2619,2689,2727,2668,2712,3222,2875,2819,2653,2714,2382,1998,2178,2670,2758,2327,2238,2169,1768,2013,2496,2525,2612,2213,2063,1782,1532,1556,1885,2562,3343,3773,3430,3516,3912,3698,3665,3847,3885,3760,3415,3299,3462,3521,3406,3306,3194,3326,3544,3364,3563,3604,3237,3272,3656,4147,4239,3917,3937,4164,4039,3292,2632,1829,1836,2458,3090,3883,4710,4561,3925,3967,4143,3719,3897,4329,4735,5036,4754,3710,3109,3086,3110,3161,3296,3206,3185,3204,3156,3294,2932,3035,2846,2601,2665,2599,2891,2895,2461,2618,3033,2796,2707,2637,2442,2468,2215,1938,1904,2224,2575,2344,2243,1709,1699,1488,2282,2568,2398,2433,2561,2218,2085,2556,2829,2469,2333,2403,2208,2001,2446,2276,2005,2610,2996,2623,2267,2069,2002,2333,2542,2756,2841,2680,2288,2145,2139,2307,2298,1929,1814,1949,1875,2407,2642,2365,2683,2998,2281,2109,2268,2037,2012,2148,2307,2331,2220,2226,2082,2566,2625,2433,2699,3068,2953,2878,2854,2671,2410,2363,2087,2191,2669,3107,2975,2413,2059,2296,2383,2489,2679,2836,3083,3194,2996,2941,2627,2699,2691,2486,2558,2491,2376,2273,2479,3151,3119,2313,2035,2246,2304,2238,2001,2279,2206,2990,3693,2862,2401,2820,2667,2373,2102,1951,1756,1764,2511,2688,3008,2785,2016,2454,2668,2736,2678,2010,2147,2364,2624,2621,2588,2407,2213,2167,2203,2785,2980,2294,2024,2518,3170,3685,3311,2835,2570,2706,2565,2725,3089,3018,2745,2393,1983,1695,1928,2260,2191,2332,2436,2356,2490,2678,2769,2823,2519,2541,3045,2866,2228,2845,3016,3007,2852,2800,2879,2840,2884,3034,2839,2891,3419,3747,3506,2470,2093,2054,2040,2865,2659,1899,1804,1897,2013,2133,1996,1698,1534,1742,2251,2186,2254,2166,1766,1805,1970,1754,1472,1544,1650,1721,1896,1890,2464,2624,2475,2331,2008,2064,2224,2195,2167,1993,1840,2165,2450,2702,3541,3961,3552,3081,3343,3415,2795,2356,2570,2641,2352,1960,2149,3339,3905,3414,3038,3196,3551,3416,3205,3123,2649,1767,1475,1633,1875,1907,1874,2133,1896,1739],[3093,3470,3651,3963,3916,3539,3960,3737,3160,2983,3186,3097,3145,3373,3440,2841,2699,3040,2793,2872,3233,3039,2787,2963,2907,2501,2687,2700,2326,1716,1678,1804,1808,1977,2190,2277,2182,1921,2092,2156,1930,1792,1661,1760,2027,2491,2097,2242,2024,1954,2301,2348,2276,2508,3068,3190,3205,3109,2073,1847,2187,2290,1784,1465,1716,1705,1694,2333,2466,2743,2519,2429,2799,3206,3842,3847,3566,3392,3041,2765,2856,3204,3484,3342,3535,3792,3674,2428,1802,2103,2595,3086,3554,3764,3869,3914,3762,3283,3186,2900,2293,2191,2221,2238,2101,2281,2126,1952,2144,2305,2129,1679,2030,1809,1694,1767,2037,1985,2050,1994,1734,1912,2189,2127,2189,1957,1780,1992,2199,2236,2481,2822,2966,2836,2523,2369,2238,2037,1824,2038,2208,1838,1733,2215,2464,2538,2672,2576,2417,2468,2556,2662,2640,3305,3461,3253,3553,3421,3495,3594,3874,3242,2282,2386,2354,2457,2779,2853,2548,2246,2299,2517,2928,3067,2699,2507,3619,4201,4091,4112,3438,3143,3187,3144,3160,3662,3939,3914,3662,3503,3969,4388,4228,4227,4255,4195,4368,4388,4271,4271,4115,4050,3930,3694,3540,3659,3624,3441,2890,2574,2618,2521,2734,2627,2241,2343,2165,1991,1878,1770,1863,2326,3082,3824,3690,3583,3383,3307,3539,3906,3693,3818,3808,3758,3728,3599,3566,3768,3966,3921,3863,3805,3752,3512,3409,3221,3110,3333,3207,3196,3602,3740,3367,3307,3541,4069,4136,4014,3948,3836,3922,4051,3948,3348,3297,3660,3823,3739,3604,3741,3108,2444,1918,1684,1644,1908,2181,2752,3082,2875,3022,3392,3784,4132,4047,3652,3615,3506,3513,3133,3041,3089,2906,2962,3378,3203,2719,2639,2686,3235,3226,2714,2424,3086,3073,2104,2404,3539,3560,2633,2178,2623,3500,3848,3827,4103,3140,2596,2836,2679,2492,2434,2341,2458,2348,2579,2701,2689,2642,2976,2435,2065,2211,2698,3078,2574,2496,2932,2402,2379,2485,2104,2088,1854,1954,2432,2614,2522,2574,2786,2578,2056,2414,2430,2392,2220,1938,2220,2700,2657,2072,2324,2689,2635,2412,2219,2644,2731,2841,3124,3130,2499,3377,4003,3709,3081,2597,2757,2745,2932,4050,3741,2271,2283,2523,2380,2210,2369,2340,2096,2026,2000,2323,2246,2339,1860,1809,1865,1876,2194,1994,2016,2415,2637,2036,1694,1849,2022,1912,1670,1263,2188,3169,2872,2894,3181,3115,3040,3131,2978,2833,2872,2742,2945,2431,2256,2408,2393,2501,2973,3495,3342,2329,1961,2054,1886,2088,2468,2654,2601,2222,2211,2383,2557,2571,2115,1798,1834,1903,1826,1960,2052,2082,2426,2997,3262,2789,2179,1984,2077,2093,2385,2730,2634,2519,2768,3116,3510,3802,3862,3654,3595,3012,2279,1899,2136,2933,3514,3784,3593,3220,3113,2869,2219,2520,3294,3611,3405,2720,2388,3509,3792,3935,3858,3285,3361,3284,3178,3338,3762,3495,2603,2484,2707,2896,2730,1644,1974,1895,2281,2598,2352,2381,2281,2658,3012,2286,2372,2488,2510,2678,2577,2119,1993,1910,2171,2246,2063,2359,2585,2254,2186,2278,2247,2504,2730,2302,2398,2434,2650,2867,2568,2464,3348,3602,3926,3768,3314,3771,4000,3761,4034,4101,4023,4062,4092,3992,3991,4029,4000,3923,3830,3969,4026,4209,4158,4057,3834,4003,3811,3530,3809,3956,3918,3791,3472,3834,4050,4021,3779,3663,3715,4084,4229,3816,3271,3492,4070,4127,4107,3566,3238,3277,3603,3564,3507,3287,3337,3423,3397,3680,4141,3992,3656,3299,3219,3010,2355,3018,3672,2987,2229,2618,3160,3076,2743,2265,2352,2217,2107,2393,2675,2596,2541,2445,2651,2868,3039,2831,3042,3565,3979,3014,3031,3400,3593,3725,3664,2413,1708,2129,2243,2315,2590,2666,2211,2253,3532,3738,2917,2603,1834,1774,1736,1598,1870,2053,3135,3603,2439,2604,2885,3146,2278,3463,3718,3265,3107,3561,3703,2884,2499,2693,2987,2811,2976,2575,2215,3116,3752,2698,2134,2451,2743,2175,1822,1981,2098,2529,2927,2629,2639,3617,2820,2454,2367,1964,2530,2510,1886,2272,2104,1810,1809,1748,1742,1634,1748,1920,1685,1510,1528,1488,1467,1501,2075,2200,1996,2081,2126,2393,1853,1593,1809,2088,2132,1936,1609,1854,1852,1552,1802,1889,1604,1657,1934,1688,1526,1453,1396,1461,1529,1527,1614,1741,1693,1660,1765,2164,2986,2684,2246,2463,2831,2778,2518,2647,2883,3106,2962,3259,3615,2945,2714,2955,3012,3042,2963,3012,3388,3541,3711,3640,3518,3422,3128,2696,2771,2758,2894,3248,3285,3160,2972,2729,2958,3297,3572,3495,3848,2814,2494,2818,3163,3440,3167,2681,2369,2222,1854,1766,1692,1652,1584,1660,1613,1573,1961,2162,2326,2371,1954,2130,2000,1886,1859,1642,1764,2192,2012,1955,2363,2392,1833,1798,2232,1895,1545,1620,1536,1565,1639,1716,1722,1596,1900,2249,1917,1538,1694,1996,1835,1920,1707,1990,1967,1924,1744,1699,1749,1578,1671,1554,1449,1723,1860,1738,1946,1648,1904,1993,2471,3104,2911,2753,2620,2792,2787,2492,2663,2814,2643,2574,2899,3044,3208,3289,3518,3122,2168,1732,1740,1735,2236,2389,2260,2600,2535,1913,1441,1283,1571,2063,2419,2421,2433,2466,2574,2454,2411,2217,1485,1458,1964,2330,2758,2833,2489,2265,2586,2580,2167,2150,1630,1621,2629,2906,2578,2630,2113,1688,2141,2370,2484,2583,2440,2458,2526,2557,2696,2529,2230,1952,1538,1505,1600,1650,1490,1604,1713,1572,1683,1752,1690,1765,1792,1756,1811,1875,2188,2410,2436,2272,2185,2082,1953,1794,1873,1864,1760,1843,1910,2100,2532,2722,2501,1906,1821,2041,2172,2043,1862,1909,1914,1728,1741,1776,1555,1363,1339,1719,1581,1413,1415,1604,1604,2601,2563,1745,1685,2376,2150,1433,1561,1634,1745,1511,1452,1569,1432,1460,1868,2133,1882,1913,2218,2156,1803,1551,1621,1803,1717,1700,1716,1455,1512,1468,1248,1261,1299,1504,1504,1400,1397,1426,1632,1433,1562,1310,1822,2020,1652,1920,2088,1836,1723,1528,1679,1623,1873,2245,2052,1810,1996,2084,2046,1854,1732,1548,1498,1764,1858,1593,1533,1944,2048,1813,1772,1668,1490,1636,1748,1396,1414,1423,1433,1429,1649,1980,1591,1616,1478,1572,1988,1906,1577,1542,1545,1351,1363,1371,1358,1381,1522,1359,1351,1442,1826,1875,1565,1579,1522,1376,1520,1617,1826,1604,1533,1604,1553,1484,1646,1628,1760,1782,1759,1697,1373,1511,1652,1790,1910,1668,1562,1998,2768,2877,2199,1838,2137,2353,2252,2094,2172,2368,2419,2807,3274,3041,2431,2025,2303,2624,2654,2316,1822,1748,2083,2175,2219,2060,2264,2637,2338,2144,2176,2381,3002,3142,3151,3057,2562,2754,2709,2664,2513,2199,2270,2685,2756,2812,2579,2362,2778,2879,2632,2466,2283,2625,2332,2129,1909,1880,2113,2214,2807,3155,2883,3245,3411,2758,3032,3308,3588,3846,3759,3382,3150,3272,3294,3253,3196,3062,3145,3232,3035,2712,2546,2590,2677,2832,3087,3282,3217,3219,2854,3460,4188,3727,3381,3748,3864,3867,3861,3993,4199,4243,4332,4271,4027,4097,3939,4058,4196,4078,4147,4404,4236,3595,3174,3601,4220,4043,4005,4421,4264,4603,4703,4796,4873,4560,4029,3577,3395,3506,3737,3898,4015,4068,4333,4144,3882,3881,3962,4197,4276,4286,4479,4539,4256,3751,3854,3730,3760,3708,3613,3704,3824,3914,3782,3837,3993,3785,3547,3407,2989,3135,3548,3646,3852,3904,3666,3814,3503,2713,2383,2494,2214,2557,2258,2050,2195,2722,2681,2040,2618,3047,2667,2368,2108,2141,2197,2259,2338,2425,2314,1626,1248,1892,2477,2382,2265,2274,2337,2569,2254,2308,2319,2361,2730,2753,2435,2105,2179,2093,1816,1892,2689,3560,3068,2304,1809,1992,1874,1919,2670,3497,3282,2823,2850,2686,2753,2895,2687,2737,2590,2278,3055,3505,3196,3046,2978,2584,1863,1806,2264,2612,2853,2770,3034,3309,2268,1765,1887,2374,2965,2546,2081,2144,1842,1656,1679,1659,2182,3175,3008,3245,3684,3684,3626,3688,3864,3651,2945,2972,3463,3452,3145,3316,3388,3313,3230,3107,3586,4036,3982,3951,4279,4472,4296,3929,4473,4201,3947,3948,3941,3245,2477,2318,2700,3725,4377,4383,4039,4057,4217,3842,3739,3875,4485,4829,4421,3606,3028,3017,3120,3190,3175,3160,3155,3099,3164,3195,2744,2576,2228,2088,2117,2181,2273,2122,1914,1690,1723,2239,2417,2405,2378,2298,2041,1793,1790,2031,2187,2088,1860,1494,1606,2105,3063,2882,2786,2756,2160,2014,2498,2751,2618,2091,2476,2316,2188,2164,2727,2654,2667,3060,3134,3081,2505,2006,2293,2490,2222,2076,1979,2101,2401,2818,3138,2912,2363,1909,2027,2308,2370,2697,3038,2766,2928,2519,1859,1946,1921,2040,2174,2072,2492,2707,2477,2488,2595,3097,3162,2840,2886,2910,3016,2977,2951,3028,3251,3466,2864,2856,2790,2836,2324,1992,2327,2479,2440,2599,2542,2476,2975,3005,2769,2691,2540,2629,2489,2321,2659,2823,2508,2065,2197,2779,3066,2345,2116,2217,1913,2346,2714,2590,2360,3078,3527,3260,3284,3159,2641,3274,3052,2220,2131,1951,2158,2351,2906,2938,2697,2555,2474,2762,2357,1778,1925,2331,2311,2206,2542,2223,2115,2575,2688,2757,2729,2596,2801,2907,3386,3818,3449,3134,3086,2896,2409,2568,3063,2751,2399,2596,2752,2419,2090,1855,2102,2331,2309,2477,2608,2540,2887,3021,2510,2520,2987,2771,2332,2873,2919,2874,2662,3001,3138,2933,3075,3041,2998,2980,2939,2727,2467,1831,2141,2182,2165,2622,2451,1880,1688,1698,1698,1389,1162,1467,1573,1998,2450,2248,2174,2234,2040,2255,2763,2547,1696,1730,1949,1985,2014,2151,2139,2094,2246,2055,1675,1731,1672,1510,1720,1738,1446,1892,2055,3085,4387,4340,4301,3802,3246,3409,3414,2479,2322,2587,2571,2081,2497,3274,3352,3077,3042,3404,3414,3218,3044,3316,3340,2455,1749,1959,1969,1859,1765,1719,1673,1706],[2982,3373,3872,4276,4500,4263,3605,3199,2974,2978,2855,2754,2853,3197,3582,3046,3188,2984,2503,2785,2873,2566,2642,2938,2583,2675,2996,2378,1993,1488,1514,1817,1923,2310,2338,2275,2167,1770,1989,2248,1928,1663,1743,1898,1917,1927,2123,2255,2098,2319,2368,1756,1886,1937,2473,2929,3087,2810,1986,2222,2579,2172,1780,1732,1692,1735,2259,2656,2310,2991,2200,2699,3584,3956,3963,3899,3431,3269,3223,3250,3618,3693,3659,3492,3586,3900,3926,2710,2243,2242,2430,3045,3343,3326,3894,3596,3452,3259,3211,2908,2314,2512,2424,2214,2200,2273,2031,1670,1854,2381,2526,2162,2698,1851,1952,2128,1773,1248,1728,2284,2306,2417,1967,1956,2136,2110,1858,1806,1871,2263,2813,3224,3297,3134,2987,2946,2984,2568,2104,1989,2009,2010,2269,2229,2372,2597,2493,2105,2249,2304,2321,2547,2565,3255,3378,3481,3643,3748,3764,3745,3858,3206,2875,2751,2464,2488,2626,2530,2820,2842,2576,2851,2978,2925,2810,2798,3613,3583,3089,3813,2970,2743,2911,3034,3371,3657,3922,3651,3704,3714,3818,3974,3686,3353,3391,3733,3846,3855,4109,4257,4007,4055,4208,3918,3721,3544,3281,2819,2588,2649,2776,2696,2779,2603,2691,2501,2312,2419,2265,2058,1885,1874,2232,3075,3901,3704,3215,2847,2791,2922,3185,3568,3541,3362,3274,3332,3626,3884,3957,3961,3981,4081,3949,3708,3472,3297,3322,3370,3318,3232,3454,3431,3145,3495,3830,3894,3706,3751,3759,3911,3987,3949,3585,3082,3373,3335,3799,3541,3386,3454,2976,2353,2023,1999,2076,2137,2101,2696,3605,3118,3292,3840,4049,4256,3948,3263,3447,3618,3446,3088,2798,3019,2928,2960,3041,2833,2924,3072,3307,3477,3404,2872,2159,2358,2569,1900,2081,3301,3486,2734,3287,3697,3958,4132,3943,3416,2136,2036,2646,2743,2499,2548,2500,2644,2678,2497,2614,2394,2901,3450,2741,2046,2294,2692,2607,2465,2438,2767,2255,2010,1953,1820,2374,2829,2884,2688,2546,2640,2931,2710,2522,2176,2511,2436,2384,2196,2045,2179,3017,3044,2233,2073,2302,2468,2244,2307,2568,2532,2536,2663,2544,2347,2463,2491,2314,2261,2138,2211,2028,2228,2564,2631,2374,2164,2516,2478,2138,2264,2217,2303,2359,2196,2164,2073,2441,2180,2441,2419,2007,1856,1886,1984,2730,2845,1743,1579,1510,1595,1765,2014,1612,1907,2824,2770,2598,2879,2624,2213,2425,2227,2503,2752,3123,3260,2535,2351,2471,2403,2805,3049,3306,3386,2591,1976,2027,1967,1896,2149,2509,2598,2590,2771,2618,2260,2226,2278,2029,1896,1797,1807,1818,1760,1738,1853,2029,2317,2730,2856,2531,2442,2547,2647,2259,2475,2337,2433,2623,3089,3705,3920,3987,4125,3758,3261,2617,3105,3542,3498,3660,3282,2976,3288,2821,2200,2601,3347,3762,3868,3461,2449,2617,3643,4137,3713,3275,3465,3461,2828,2513,3117,3130,2309,2376,2667,2898,2377,1229,1851,2199,3174,3406,2631,2307,1965,2474,2895,2364,2247,1997,1901,2282,2395,2168,2000,2046,2099,1802,2177,2346,2509,2330,2022,2194,1988,2123,2739,2930,3204,3186,3271,3770,3011,2689,3553,3697,3882,3958,3947,4025,4038,4014,4037,3999,4045,4157,4097,4042,4006,3981,3962,3824,3717,3583,3758,3863,3896,4082,3989,4034,3862,3755,3775,3950,3937,3662,3109,3325,3658,3440,2975,2426,2707,3725,4012,3891,4038,4100,4184,4161,4090,3464,3224,3611,3631,3382,2931,2599,3096,3948,4203,3977,4132,4104,4094,3934,3564,3460,3400,3542,3425,3003,2625,2752,2741,2719,2391,2141,1956,1936,1978,2423,2439,2300,2641,2790,2638,2459,2909,2944,3340,3015,3670,2842,2692,2890,2900,3504,3963,3230,2501,2371,2519,2639,2865,3056,2473,2531,3361,4038,3936,2767,1658,1590,1433,1776,2147,2158,3249,3362,2692,3330,3736,2811,2596,3672,4133,3978,3418,3661,3223,2675,2417,2345,2317,2589,3595,3428,3124,3884,4331,3583,2761,2630,3052,2807,2096,2293,2721,3212,3024,2305,2618,3042,2479,2725,2658,2453,2881,2490,2040,2085,2019,2296,2195,1771,1615,1566,1404,1478,1509,1567,1699,1721,1494,1372,1792,1669,1841,1946,2120,2278,2048,1828,1927,2175,2447,2191,2190,2166,1817,1793,1889,1604,1525,1498,1437,1490,1526,1434,1425,1512,1638,1553,1571,1744,1653,1729,1730,1705,1873,2066,2511,2540,2634,2711,2645,2698,2777,3053,2988,3185,3450,2930,2569,2673,2759,2773,2719,2679,2850,2957,3400,3503,3581,3601,3471,3072,2933,2832,2790,3097,3260,3000,2907,2697,2907,3085,3340,3448,3734,2993,2322,2520,2763,3097,2778,2544,2494,2853,2103,1748,1604,1484,1414,1569,1574,1349,1646,2022,2019,1759,1558,1849,2354,1955,1669,2048,2180,2487,2596,2410,2941,2677,2174,2369,2547,2029,1600,1613,1554,1592,1609,1649,1557,1537,1858,1979,1857,1590,1525,1681,2032,1793,1531,1578,1856,1832,1783,2138,2033,1931,2127,1939,1546,1692,1635,2365,2646,2193,2069,2389,3127,2913,2833,2634,2402,2753,2889,2963,2526,2150,2319,2828,3167,3444,3394,3089,3306,2958,2622,2035,2017,1697,2183,2313,2357,2740,2612,2207,2029,1758,1926,1953,2374,2114,2503,2577,2418,2503,2703,1971,976,1583,2731,2637,2943,2050,2130,2463,2744,2781,2497,1976,1735,2249,2623,2182,2236,2774,2498,1816,2367,2633,2400,2637,2701,2622,2270,2546,3366,3195,2185,1700,1499,1575,1521,1538,1494,1694,1552,1427,1455,1432,1454,1429,1421,1471,1506,1576,1573,1641,1956,2172,1840,1608,1403,1544,2116,2078,1693,2122,2470,2169,1997,1895,1975,1919,1903,1970,2025,2100,2039,1896,1868,1808,1747,1826,1473,1324,1600,1976,1780,1502,1427,1515,1475,2117,2057,1479,1486,1803,1980,1583,1457,1860,1778,1528,1421,1403,1583,1672,1607,1731,1743,1663,1965,2161,1949,1543,1625,1720,1648,1559,1334,1369,1508,1330,1314,1228,1216,1455,1683,1451,1299,1349,1538,1389,1349,1350,1611,1564,1608,1886,1968,2056,2061,1730,2036,1853,1655,2071,1982,1392,1647,2044,1810,1686,1735,1860,1647,1521,1657,1648,1648,1798,1859,1980,2360,2086,1546,1519,1566,1373,1403,1520,1446,1404,1452,1595,1535,1658,1616,1439,1449,1543,1480,1542,1645,1495,1448,1451,1288,1353,1333,1299,1327,1345,1873,2211,1771,1560,1506,1511,1463,1336,1323,1428,1519,1527,1476,1572,1815,2153,2229,1698,1675,1609,1232,1314,1425,1537,1861,2073,1970,1974,2252,2188,1941,1932,2250,2359,2365,2372,2421,2205,2307,2670,2374,2214,2433,1989,2288,2571,2288,2065,1896,1965,2270,2282,2196,2118,2223,2303,2207,2264,2363,2521,2866,2902,2787,2598,2356,2559,2499,2241,2231,1844,2118,3006,3098,3117,2790,2150,2263,2429,1979,1895,2315,2468,2213,2036,1873,2253,2270,2275,2820,3094,3247,3862,3553,2878,3107,3483,3780,4328,4332,3719,3053,3272,3496,3500,3482,3132,2956,3188,3124,2790,2731,2665,2533,2669,2969,3239,2887,3028,3002,3386,4133,3636,3159,3476,3685,3839,3759,3808,3824,3889,4412,4436,4388,4478,4277,4120,4100,4184,4212,4344,4440,4029,3679,4187,4641,4161,3760,3854,3915,4295,4607,4624,4713,4692,4092,3532,3391,3569,3575,3606,3801,3822,4071,4027,3851,3725,3587,3657,3975,4305,4327,4399,4203,3884,3911,3782,3769,3728,3674,3667,3641,3505,3513,3760,3941,4036,3697,3519,3462,3275,3475,3637,3725,3541,3447,3684,3198,2077,2033,2408,2115,2439,2626,2572,2587,2592,2194,1766,2142,2742,2677,2147,2092,2065,1766,2142,2045,2003,2154,1882,1753,2121,2624,2787,2512,2780,2779,2488,2308,2547,2052,2032,2868,2849,2220,1984,2130,1962,1587,1939,2943,3462,2790,2040,2642,2592,2033,2561,3533,3792,3541,3027,2548,2753,3228,3493,2948,2626,2585,2684,3200,3641,3538,3100,2874,2501,1758,1899,2136,2313,2307,2292,2441,2929,2490,1976,2089,3032,3559,2884,2204,2116,1902,1500,1614,1587,1978,2541,2850,3176,3484,3515,3381,3564,3787,3429,2871,3172,3369,3400,3416,3398,3898,4169,3679,2910,3024,3322,3857,4251,4811,4993,4517,4402,4841,4780,4265,3646,3203,3134,2956,2585,2598,3284,3745,3858,3750,3316,3387,3318,3182,3585,4246,4292,3529,3085,2906,3122,3172,3130,3234,3173,3134,3106,3160,2857,1995,1487,1668,1979,2060,1891,2004,1773,1465,1461,2160,2792,2670,2410,2338,2261,2365,2504,2170,2291,2177,1738,1605,1500,2061,2610,2334,2328,2835,2770,1951,2098,2371,2470,2181,2148,2564,2257,2315,2450,2093,1832,2320,2470,2218,2450,2045,1800,2040,2137,1916,1871,2240,2790,3021,3209,3221,2591,2026,1764,1877,1913,1955,2253,2671,2580,2917,2714,2438,2243,2044,2531,2406,2432,2756,2974,2592,2987,3393,3418,2985,2778,2899,2719,2328,2076,1869,1909,2442,2236,2091,2634,2601,2832,2375,2355,3187,2953,2509,2702,2087,2243,2605,2353,2372,2672,2876,2877,2660,2732,2796,2751,2631,2389,2564,2802,2490,2158,2145,1630,1732,2558,2683,2344,2345,2842,3066,3618,3786,2876,2371,3674,3891,3062,2742,2569,2396,2632,2741,2750,2636,2135,2447,1914,2163,2153,2163,2025,1843,1942,2132,1771,1824,2639,2594,2380,2552,2448,3104,3334,3488,3737,3451,2691,2420,2391,2332,2533,2851,2542,2395,3011,3263,3129,2157,1517,1915,2311,2203,2303,2463,2369,2763,2845,2542,2392,2104,2120,2730,2742,2856,2956,3032,3002,2664,2808,2974,2915,2892,3044,3009,2635,2602,2343,2380,2317,2215,2403,2316,1870,1722,1584,1650,1301,1117,1723,2098,2189,2250,2147,1941,1920,1947,1911,2552,2813,1935,1726,1948,2326,2085,2059,1958,1867,1934,1883,1760,1711,1447,1486,1628,1592,1384,1826,1685,2225,3287,4212,4817,4477,3628,3313,3293,2744,2371,2349,2281,2470,2886,3111,3212,2877,2987,3263,3000,2929,2898,3139,3443,3309,2200,1865,1757,1675,1544,1467,1635,1564],[3150,3645,4240,4183,4059,3762,3594,3221,2940,2842,2745,3029,3038,3083,3294,2827,2272,2208,2250,2152,1994,1831,2052,2540,2368,2529,2677,2447,2153,1667,1384,1620,2083,2166,2162,2190,2190,1760,1852,2089,1684,1603,1870,1989,1958,2171,2264,2214,2607,3061,2198,1401,1619,1749,1930,2352,2864,2497,1974,1987,1927,1653,1813,2219,2210,1868,2635,3293,2830,2053,1927,3246,4119,3920,3763,3851,3710,3494,3226,3469,3774,3934,3906,3701,3605,3513,3562,3122,2587,2172,2289,2864,3174,2641,3001,2863,2522,2625,2846,2463,2405,2908,2736,2240,2036,2212,2392,1814,1632,2138,2270,2280,2036,1496,1823,2230,1940,1511,2162,2813,2634,2547,1986,1836,1848,1970,1948,1758,1737,2123,2677,3172,3356,3135,2688,2690,2272,2383,2482,2187,2204,2281,2331,2443,2376,2398,2204,2216,2820,2499,2459,2409,2942,3496,3495,3596,3632,3650,3544,3543,3585,3507,3157,2431,2256,2469,2909,2965,3604,3591,3168,3108,2839,2807,2733,2506,2640,3491,2962,3470,2920,2423,2752,3099,3760,3858,3938,3850,3621,3741,3674,3410,3068,2422,2238,2437,2448,2846,3030,3248,3587,3737,3438,3201,3185,3142,2497,1721,1846,2284,2599,2843,2788,2939,3170,2479,2299,2827,2490,2493,2292,2212,2089,2696,3400,3438,3282,2685,2106,2249,2699,2952,3234,3322,2937,3039,3476,3852,3964,4023,3879,3806,3913,3889,3738,3703,3486,3366,3163,3251,3514,3622,3642,3849,3993,3695,3122,3165,3660,3765,3475,3465,3253,3200,3454,3240,3552,3509,3108,2702,2656,2614,2668,2956,2876,2595,2683,3152,3152,2820,3440,3754,3307,3685,3902,3381,3472,3769,3691,3282,2884,3242,2677,2806,2852,2909,2938,2918,3133,3071,3140,3116,2455,2249,2315,2039,2086,2679,2854,2730,3288,3670,3986,4196,3890,2585,1689,2124,2333,2217,2073,2119,2279,2198,2224,2058,1992,2014,2614,3220,2599,2065,3039,3365,3099,2942,2206,2223,2039,1969,1957,2083,2590,2893,2730,2260,2087,2031,2163,2539,2788,2545,2282,2248,2597,2734,2242,1954,2624,2557,2409,2185,2316,2220,2133,1975,1864,1933,1752,1551,1594,1592,1765,1535,1666,2175,1460,1723,1904,2533,2741,2743,2920,2667,2888,3034,2511,2463,2722,2836,2640,3392,3115,2727,2193,1805,2139,2335,2568,2818,2381,2106,2652,2480,2764,2500,2082,1734,2016,2433,2139,1980,2155,2354,2641,2744,2478,2275,2154,1735,1820,2073,2632,3160,2765,2374,1886,1527,1935,2309,2798,3049,2731,2115,2046,2103,1808,1856,2323,2658,2696,2718,2534,2300,2374,2366,2178,2121,1982,1772,1764,1737,1792,1779,1721,1798,2175,2669,2832,2976,2990,2787,2705,3264,2980,2789,2724,2978,3758,4104,4155,4264,4183,4184,3763,3570,3549,3020,2828,2897,3222,3132,2486,2172,2531,3412,3802,4008,4036,3365,2519,2827,3352,3341,3544,3820,3506,2454,2072,2504,2518,2409,2522,2613,2950,2405,1247,1568,2108,2667,3011,2814,2184,2071,2347,2603,3367,2931,2097,1900,2074,2292,2448,2468,2364,2148,2020,2558,2459,2215,2343,2067,2170,1967,2039,2240,2597,3121,3342,3540,3272,2391,3031,3447,3768,3929,3971,4062,4006,3936,4060,4096,3970,3841,3956,3820,3939,3916,3933,3977,3850,3354,2980,3666,3978,3939,4089,4057,4032,3819,3580,3349,3874,3992,3894,3505,3519,3427,3415,3566,3586,3595,4002,4157,4144,4145,4002,4090,4080,4141,3726,3329,3308,3345,3164,2951,3262,3783,4317,4407,4019,3992,3979,3925,3852,3650,3650,3608,3160,2836,2788,2501,2622,2740,2511,2255,2376,2041,2091,2341,2828,2664,2386,2496,2131,1908,2077,2784,2828,2544,2260,2701,2204,1998,2282,2458,3032,3713,3395,2479,2029,2557,3077,2786,2818,3001,3172,3119,3645,3924,2588,1569,1710,1575,1798,1987,2460,3110,2454,2827,3868,3849,2620,2788,3864,4030,3836,3355,3566,2867,2267,2131,2129,2456,3241,3753,3893,4039,4296,4672,4476,3496,2642,2985,3088,2337,2868,3887,4030,3108,2382,2690,2734,2408,2342,2718,2720,2912,3007,2647,2006,2360,2736,2357,1696,1417,1471,1355,1282,1627,2847,2449,1876,1469,1261,1464,1538,1759,2241,2313,2045,2337,2421,2343,2440,2554,2345,2525,2178,1890,2078,1720,1479,1675,1570,1364,1353,1465,1499,1568,1560,1642,1628,1785,1750,1620,1700,1748,1782,1772,1848,2469,2193,2270,2991,2899,2746,2777,3233,3356,3333,3226,2727,2519,2468,2640,2828,2713,2678,2524,2559,2734,2974,3308,3522,3436,3277,3352,3151,2861,3062,3124,3069,3265,3304,3007,2990,3250,3446,3848,3285,2367,2629,2713,3067,2634,2623,3073,3142,2075,1620,1582,1580,1533,1590,1617,1649,1879,2188,1848,1376,1648,2063,2343,1912,1596,1540,1858,2514,2355,2193,2530,2095,2119,2480,2545,1964,1861,1856,1682,1626,1605,1570,1379,1440,1634,1791,1924,1739,1702,1662,1822,1924,1636,1669,2012,2260,2162,1786,1893,2410,2596,2328,1886,1668,1769,2799,3103,2742,2329,2498,3520,3451,2711,2231,2668,2934,3166,3267,2977,2385,2193,2458,2951,3572,3541,3024,3451,3300,3560,2998,2334,1854,2069,2374,2427,2518,2489,2486,2557,2596,2184,2221,2391,2375,2624,2308,2316,2518,2785,2912,2700,2953,3237,2542,2581,1514,1731,2088,2605,2822,2089,1704,2398,2828,2144,1914,2442,2978,2336,2024,2251,2188,2086,2575,2819,2524,2370,2505,2924,2813,2215,1754,1661,1566,1632,1655,1418,1543,1472,1430,1404,1383,1444,1516,1623,1538,1412,1471,1427,1596,2447,2900,2203,1621,1562,1724,2375,2336,1767,2714,3511,2995,2018,1777,1693,1732,1746,1865,2160,2064,1850,2001,2084,1924,1932,1936,1781,1840,1876,1823,1676,1440,1399,1482,1574,1854,1640,1460,1334,1664,1999,1928,1369,1268,1336,1394,1499,1422,1525,1541,1337,1480,1613,1691,1818,2000,2254,2337,2073,1820,1665,1498,1486,1573,1752,1713,1498,1290,1315,1766,1933,1438,1209,1251,1383,1450,1332,1209,1316,1622,1904,2127,2311,2403,2192,1923,2191,1842,1636,2316,2463,2037,2314,2066,1628,1958,2556,2149,1759,1526,1902,2022,1487,1616,2031,2334,2588,2210,1811,1394,1361,1403,1449,1417,1342,1462,1533,1551,1614,1551,1331,1332,1452,1706,1794,1505,1490,1410,1684,1563,1225,1280,1264,1334,1427,1788,2546,2159,1754,1459,1391,1462,1383,1324,1303,1273,1260,1339,1355,1406,1842,2065,1850,1629,1503,1342,1073,1117,1311,1562,1792,2019,1944,1832,2076,2158,2074,1976,2203,2387,2354,2151,1929,1787,2109,2482,2218,2082,2355,2364,2303,2250,2180,2264,2093,2047,2165,2208,2169,2178,2354,2498,2304,2153,2263,2143,2524,2705,2629,2800,2853,3094,3209,2490,2087,1873,2221,2879,2922,2765,2635,2154,2334,2656,2269,2065,2521,2543,2118,1914,1889,2601,2585,2705,3215,3606,3943,4062,3713,3318,3278,2988,3216,3898,4195,3463,2621,2958,3595,3771,3824,3432,3014,3194,3150,2966,2840,2786,2620,2766,2921,3182,2822,3166,3166,3226,3840,3591,3185,3348,3660,3674,3343,3086,3064,3504,4457,4756,4635,4455,4507,4288,3925,3982,4352,4554,4499,4216,4069,4344,4323,4027,3838,3721,3696,4005,4271,4243,4432,4532,4019,3648,3551,3587,3493,3538,3830,3963,3967,3943,4030,4184,3886,3374,3395,3819,4039,4296,4172,4096,4173,3992,3626,3528,3560,3486,3292,3286,3462,3523,3749,3978,3958,3842,3507,3318,3450,3459,3547,3552,3271,3532,3078,2428,2851,2634,1886,2056,2780,3078,3083,2762,2078,1488,1637,2077,2566,2272,2542,2412,2232,2382,2080,2042,2088,2100,2269,2075,2159,2360,2325,2492,2160,2020,2852,3140,2267,2292,2676,2282,1886,1529,1804,2080,1890,1642,2038,2856,2811,2575,2962,3066,2951,3432,3682,3503,3458,3414,2785,2633,2906,3250,2719,2610,2951,2700,2618,2986,2988,2602,2217,2514,2275,2374,2270,2536,2562,2255,2247,2277,2145,2063,1941,2376,3143,3089,2813,2334,1681,1490,1991,1912,2317,3128,3015,2876,3471,3330,3017,3282,3406,3144,3226,3432,3348,3276,3443,3658,3915,3846,3006,2617,2819,2718,2717,3399,4371,4584,3364,3133,4100,4896,4836,4351,3486,3429,2820,1931,1322,2122,3181,3493,3571,3041,2976,3177,2778,2823,3514,3741,3038,2906,3041,3198,3229,3197,3277,3274,3273,3174,3300,2798,1732,1066,1117,1323,1720,1928,2042,1433,1427,1750,1976,2600,2612,2032,2251,2311,2823,3340,2962,2792,2163,2010,2336,2334,2896,2974,2486,2278,2287,2198,2098,2015,1950,2242,2355,2662,2811,2242,1957,2097,1950,1950,2308,2081,2474,2978,2674,2702,2895,2978,2469,2188,2608,2938,2904,3089,3055,2452,2335,2142,2166,2072,2065,2202,2502,2547,2791,2888,3129,3062,2569,2446,2322,2677,2409,2334,2701,2644,2490,2656,2514,2389,2695,2555,2131,1863,1528,2022,2114,1908,1933,2522,2854,2698,2344,2400,2644,2884,2744,2646,2022,1930,1874,1962,2290,2868,3174,3107,3022,3234,2886,2312,2375,2404,1980,1984,2227,2648,2284,1750,2290,2491,2380,2044,1984,2179,2564,3243,3476,2620,2398,3085,3184,2814,2955,3037,2720,2675,2563,2874,2708,2376,2463,2086,2386,2551,2407,2050,2023,2301,2154,1947,2375,2684,2423,2326,2040,1936,2917,3205,3066,3464,3112,2200,2470,2530,2405,2558,2438,2242,2423,2977,2796,2138,1819,1507,1759,2179,2221,2459,3029,2680,2219,2209,2271,2074,1939,2442,2791,2697,2783,2690,2802,2411,1671,2122,2755,2979,2980,2987,2416,2238,2625,2618,2319,2149,1935,1992,1959,1802,1598,1431,1560,1507,1628,2041,2340,2308,2284,2070,2187,1998,1771,1949,4013,2766,1678,1606,2177,2481,2243,2026,2003,1898,1424,1356,1512,1448,1411,1502,1376,1344,1407,1492,1544,1751,2408,3685,4629,4025,3161,2427,2412,3097,2509,2075,2269,2540,2551,2943,3027,2524,2758,2996,2858,2858,3010,3166,3265,3570,3275,2294,1538,1484,1461,1431,1470,1418],[3759,4151,3960,3912,3890,3370,3394,3399,3549,3071,3168,3342,3039,3019,3189,2779,2287,2308,2240,2015,1861,1754,2015,2773,2968,2691,2393,2389,2369,2029,1642,1759,2216,2109,1947,1612,2050,1842,1914,2051,1983,1913,1946,2041,2282,3013,2855,2423,2531,2478,1603,1505,1564,1730,1858,2160,2634,2216,1801,1715,1648,1603,2104,2423,2526,2170,2555,2967,2259,1972,3189,4042,3940,3607,3494,3798,3796,3718,3484,3745,3967,3919,3883,4096,3737,3230,3199,3076,2799,2142,2182,2464,2579,2199,2338,2507,2239,2418,3072,3139,3223,3541,3442,2779,2137,2225,2654,2215,1685,2501,2434,2046,1833,1768,1837,1907,1802,2016,2987,2755,2502,2554,2173,1780,1654,1648,1593,1634,1747,1990,2540,2389,2482,2468,2301,2149,2031,2444,2655,2315,2264,2114,2070,2700,2830,2631,2151,2131,2502,2308,2484,2255,3019,3573,3549,3540,3586,3636,3509,3679,4036,3970,3143,2734,2607,2731,2771,3060,3482,3516,3695,3587,3137,2619,2466,2495,2700,3275,2978,3553,3206,3333,3731,3698,4072,4265,3963,3829,3612,3775,3554,3339,3271,2657,2043,1986,2071,2082,2077,2119,2339,2768,2696,2690,2493,2438,1753,1369,1391,2075,3106,3421,3281,3365,3173,3062,2929,3045,2732,2732,2721,2851,2410,2691,3019,2929,3244,3036,2264,2235,2587,2819,2961,2980,2562,2894,3328,3589,3868,3925,3425,3214,3597,3632,3703,3410,2808,2731,2632,3016,3260,3476,3873,4135,4084,3775,3439,3438,3592,3604,3385,3142,3186,3598,3860,3739,3459,3114,2762,2475,2698,3360,3485,3660,3831,3496,3553,3509,2485,2827,3776,3747,3099,3293,3659,3770,3726,3805,3794,3269,2845,3188,2789,2906,3146,3082,2988,2986,2813,2638,3020,3355,3309,2901,2353,1749,1841,2322,2678,2519,2484,2957,3319,3674,3308,1979,1836,2211,2002,2258,2509,2636,2205,1840,1747,1940,2968,3338,2562,2192,2209,2428,3138,3747,3730,2708,1931,2058,2083,2172,2217,2426,3144,3271,2842,2112,2071,2306,2754,3264,3438,3359,3285,2996,2798,3206,2743,2473,3409,3204,2684,2524,2746,2401,2380,1875,1277,1544,1662,1887,1964,1841,2292,1614,1693,2199,1517,1656,1987,2729,3145,3450,3733,3263,3597,3795,3459,3219,3357,3538,3398,3838,3729,3377,3140,2674,2336,2347,2105,2160,2215,2594,3022,2518,2889,2969,2909,2747,3047,3360,2949,2524,2235,2340,2994,3187,3312,3100,2320,1919,1671,1361,1634,2029,2198,2160,1873,1615,1461,1714,2225,2207,2487,2244,2070,2078,1926,1770,2119,2590,2608,2678,2680,2522,2843,2504,2121,2172,2443,2293,1992,1908,1787,1727,1837,1906,2073,2175,2177,2407,2774,3063,3218,3240,3189,3124,3087,3362,3664,3881,3921,3830,3908,4048,3817,3118,2832,2886,2754,2840,3122,2767,2070,2069,2232,3029,3563,3895,3996,3698,2936,2427,2728,3452,3495,3215,2995,2531,2496,2445,2463,2431,2354,2393,2437,2120,1805,1980,2136,2320,2120,2050,1744,2554,2778,2652,3491,2973,2307,2287,2114,2220,2169,2480,2114,1782,2280,2259,2065,1843,1955,1850,1748,1936,2225,2282,2282,2020,2408,2895,2747,2482,2932,2675,3262,3914,4016,4091,4113,4075,4040,4058,4049,3814,3529,2930,3399,3824,3917,3951,3918,3342,2989,3582,4084,4137,4060,4089,4059,3928,3929,3930,3961,3811,3885,4030,3692,3631,3920,4058,4128,4086,4132,4086,4017,3942,3858,3749,3867,3963,3897,3629,3153,3041,3391,3739,4237,4309,4241,4324,4194,3820,3732,3913,3991,3936,3792,3255,2551,2539,2621,2652,2886,3074,2768,2563,2438,2356,2367,2677,2994,2532,2218,1923,2061,2497,2930,3110,2495,2371,3008,2703,1776,1754,2317,2333,2363,2980,3185,2701,2148,2580,3145,2643,2800,3440,3130,2681,2820,3117,2578,2013,2223,2426,2404,2175,2512,2668,2203,2862,3792,3482,2535,2966,4096,4051,3281,3459,3094,2541,2249,2296,2420,2688,3365,3480,3473,3451,3985,4339,4228,3143,2670,2481,2173,1894,2665,3884,4521,3996,3096,2852,2714,2692,2588,2931,2559,3130,3792,3097,2218,2613,2882,2374,2062,1675,1525,1538,1413,1458,2370,2354,2132,1439,1290,1476,1538,2113,2812,2333,2282,2561,2535,2648,2408,2348,2371,2339,1977,1957,2231,2084,2007,2104,1854,1409,1481,1718,2222,2017,1804,1922,2033,2119,2228,1936,1502,1703,1805,1753,1697,2357,2360,2900,3442,3220,2831,2895,3570,3856,3716,3498,3138,2811,2677,2836,3017,2740,2645,2640,2673,2753,2901,3252,3311,3054,3247,3351,3295,2938,2818,2844,2978,3162,3466,3339,3190,3399,3639,3906,3078,2353,2771,3003,3342,2874,2982,3355,2803,1919,1479,1522,1626,1612,1591,1688,2236,2097,2385,2097,1704,1721,1671,1582,1700,1601,949,1123,1939,2403,2589,2187,1914,1980,2003,2207,2363,2187,1863,1744,1512,1588,1519,1442,1478,1555,1664,1676,1670,1678,1693,1937,2125,1817,1516,1802,3055,3129,2237,2479,2636,2601,2175,1725,1425,1874,2693,3192,3065,2558,2159,2902,2990,2429,2308,2610,2636,2636,3167,3427,2961,2574,2562,2543,2860,2974,2909,3204,2982,3441,3428,2974,2472,2143,2411,2645,2401,2103,2248,2960,3047,2670,2688,2282,2229,2140,2075,2420,2498,2174,2678,3526,2842,2003,2071,2416,2173,2079,2163,2476,2320,1568,2107,3169,2971,2102,2193,2375,2851,2346,1771,1895,1809,1668,2485,2742,2000,1790,1785,2442,2741,2181,1758,1928,1672,1556,1541,1444,1453,1506,1453,1418,1330,1421,1398,1521,1451,1291,1283,1470,1826,2176,2380,2017,1431,1390,1548,2052,1986,1760,2997,3702,3140,2240,2031,1880,1714,1633,1651,1854,2067,1929,1716,1947,2065,2184,2067,1932,2004,2061,2030,1866,1571,1700,1947,2085,2121,1711,1471,1367,1692,1889,1738,1412,1361,1354,1366,1289,1497,1625,1354,1215,1488,1676,1797,1799,2106,2583,2923,2698,2069,1902,1736,1764,1669,1692,1696,1459,1353,1361,1679,1695,1505,1374,1245,1349,1368,1310,1197,1629,2128,1963,2151,2367,2280,1814,1742,1953,1745,1417,1666,1909,2024,2376,2271,1685,2004,2310,2309,2330,1974,2037,1754,1133,1528,2021,1998,1948,1770,1994,1680,1494,1488,1534,1415,1466,1597,1516,1473,1550,1332,1298,1405,1427,1768,2124,1728,1424,1499,1819,1786,1496,1394,1305,1436,1659,2137,2856,2320,1863,1453,1307,1300,1280,1286,1274,1236,1287,1329,1382,1460,1673,1459,1450,1522,1595,1735,1882,2120,2414,2665,2463,2602,2646,2158,2158,2222,2230,2326,2275,1984,1769,1692,1824,2156,2450,2502,2398,2244,2439,2575,2115,2277,2523,2432,2193,2084,2204,2254,2120,1989,2385,2593,2019,1606,1909,1941,2608,3292,3185,3443,3430,3175,3596,3044,2201,1993,1975,2326,2533,2510,2375,2017,1837,2151,2319,2150,2336,2515,2165,1759,2258,2706,2728,2699,3009,3664,3990,3919,3409,3143,2866,2320,2685,2883,3254,3057,2942,3164,3339,3297,3330,3374,3585,3851,3716,3657,3236,2921,2733,2632,2683,2964,3096,3386,3130,2962,3499,3635,3387,3288,3463,3566,3354,3176,2840,3299,4084,4460,4625,4448,4607,4311,3926,3986,4148,4533,4610,4345,4156,4144,4012,3965,4023,3837,3749,3980,4340,4041,4404,4404,3970,3720,3647,3481,3347,3564,3950,4058,3806,3823,3918,4153,3913,3371,3410,3607,3937,4236,4172,4157,4313,4018,3623,3630,3630,3464,3264,3464,3597,3445,3682,3980,4006,3587,3173,3255,2841,2339,3356,3805,3369,3676,3606,3281,3138,2851,2134,2124,2990,3133,2948,2942,2410,2052,2203,2441,2336,2160,2317,2215,2027,1983,2137,2377,2330,2277,2451,1912,2028,2027,2017,1776,1506,1787,2597,2712,2529,2860,2473,2229,2059,1586,1780,2060,1768,1499,2080,2811,2831,2512,2369,2746,3032,3548,3207,3540,3820,3515,2894,2749,2674,2496,2766,3364,3115,2613,2695,2382,2756,2641,2556,2147,2243,2591,2590,2753,2749,2520,2497,2003,1549,1751,1637,1483,2279,2884,3277,3599,3128,2592,2301,1774,2286,2867,2764,2823,3439,3286,2816,3077,3242,3205,3220,3277,3211,3369,3751,3661,3743,2951,2494,3018,2973,2783,2660,3312,3906,3664,2754,2051,2829,4660,4675,4677,4634,4117,2360,1004,568,1143,2822,3786,3761,3213,3123,3411,2806,2776,3494,3440,3023,2994,3098,3146,3220,3265,3305,3548,3732,3348,3105,2718,2494,2173,1679,1264,1619,2205,2297,1908,2082,2281,1954,2053,1893,1711,2286,2369,2706,2608,2441,2367,2473,2754,2919,2819,2641,2917,3051,2521,2304,2065,2250,2185,2230,2609,2710,2387,2186,2233,2728,2890,2862,3226,3185,3061,3519,3460,2696,2396,2867,3185,2558,1735,1840,2054,2443,2702,2395,2668,3121,2321,1811,2118,1831,1762,2216,2251,2742,2933,2834,2721,2763,2565,2566,3122,2852,2486,2669,2419,2338,2266,2262,2466,2403,2018,2097,1976,2281,2920,2443,2236,2714,2375,2187,2468,2098,2191,2502,2695,2524,2824,3000,2624,2231,2084,2491,2966,2639,2549,2767,3140,2766,2259,2170,2288,2238,2392,2554,2362,2070,1970,2493,2452,2647,2260,2087,2091,1842,2140,2420,2438,2470,2688,2629,2343,2452,2678,2780,3231,2594,2530,2336,2405,2645,2694,2640,2531,2638,2377,2600,3082,2398,1687,2199,2586,2653,2653,2075,2258,2845,2770,2695,2957,2698,2233,2578,2940,2940,2687,2474,2513,2351,2906,3056,2578,2066,1792,2033,1958,2467,3151,3619,3284,2697,2395,2152,2049,2201,3007,3099,2596,2938,2875,2611,2401,2303,2311,2522,2735,3293,3166,2407,2349,2445,2526,2380,2344,2570,2454,2429,1933,1561,1500,1526,1577,1604,2005,2309,2194,2072,1814,2173,1918,1857,2098,2541,1917,1579,1647,2041,2257,2348,2026,1785,1594,1394,1308,1315,1376,1417,1566,1512,1446,1416,1381,1524,1881,1848,2364,3719,3710,3115,2736,3176,3047,2203,2037,2486,2465,2309,2573,2603,2974,3321,3299,3315,3465,3267,3184,3257,3637,3946,3216,2065,1483,1422,1334,1388,1397],[3758,4002,3560,3736,3882,3735,3784,3872,3958,3394,3391,3370,3023,3005,3045,2930,2647,2438,2308,2344,2368,2310,2256,2887,3325,2958,2500,2548,2626,2618,2523,1988,2078,2188,1990,2165,2436,2060,1996,2305,2265,1970,2189,2424,2928,3329,3075,2818,2476,2393,1964,1650,1503,2014,2338,2479,2510,2169,1942,1671,1673,1513,1629,2019,2099,1861,2078,2031,1742,2883,3960,3762,3518,3536,3554,3667,3396,3391,3347,3687,3808,3596,3872,4096,3575,3349,3580,3570,2825,2185,2168,2373,2416,2420,2356,2635,2509,2479,3060,3351,3059,3211,3630,2827,2326,2103,2241,2396,2088,1992,1699,1685,1764,1843,2401,2398,2016,2163,2643,2459,2568,2352,1912,1709,1681,2135,2661,2392,2047,2073,2276,2258,1991,2059,2326,2193,2125,2372,2491,2120,2025,1960,1886,2551,2933,2822,2289,2132,2233,2168,2988,2893,3041,3572,3541,3459,3607,3642,3582,3793,4151,3884,3460,3591,3055,2878,2732,2810,3168,3385,3780,3621,2835,2196,2880,2366,2555,3023,2783,3396,3504,3375,3544,3638,3582,3920,3676,3985,3908,3738,3394,3232,3302,3098,2520,2029,1936,2039,2011,1856,1831,2367,2709,2637,2432,2257,1784,1425,1400,1704,2574,3413,3615,3665,3858,4140,3443,2938,3134,3274,3330,3151,2792,2962,2800,2388,2907,3255,2898,2618,2558,2592,2842,2968,2588,2820,3089,3050,3352,3650,3269,3220,3420,3233,2869,2280,1979,2087,2292,2743,3082,3210,3587,4046,4077,4023,3925,3735,3695,3941,3891,3680,3662,4027,4284,4030,3572,3010,2561,2487,2918,3559,3615,3604,3795,3859,3741,3299,2665,3325,4136,3573,2776,2753,2929,3276,3672,3752,3671,3118,2718,2531,2612,3057,3024,3050,3377,3393,3282,3393,3875,3394,2774,2745,2728,2562,2412,2547,2722,2533,2881,3041,3112,3045,2510,2085,2122,1969,2212,2922,3477,3677,2691,1966,1770,2305,3748,4009,3162,2798,2652,2406,2883,3527,3705,2497,1985,2540,1897,1785,2025,2250,3043,3366,3200,2371,2394,2720,2876,3028,3264,3383,3141,2823,3034,3680,3063,2705,3283,3461,2766,2491,2956,2749,2704,2519,1801,1271,1832,2343,1932,1764,2172,1572,1640,2057,1631,1504,1901,2731,3440,3624,3705,3315,3830,3641,3467,3595,3575,3552,3616,3436,3167,3256,3204,3041,3198,3486,3427,3331,2719,2709,2569,2570,2995,3133,3203,3036,3175,4070,4041,3680,2821,2789,3255,3484,3630,2768,1813,2026,1913,1499,1537,1559,1824,2178,2375,1934,1593,1948,2173,2176,2253,2174,2042,2111,2024,1810,2077,2511,2531,2568,2566,2351,2588,2274,1624,2064,2598,2236,2324,2670,2110,2115,1766,1762,1801,1950,2084,2216,2577,2900,2856,2696,2692,2741,2901,3162,3199,3470,3572,3499,3452,3353,3279,3137,3082,3240,3223,2955,2609,2149,2142,2291,2050,2568,3276,3972,3977,3666,3376,2662,2322,3078,3244,3055,3092,3256,3072,2687,2612,2469,2430,2402,2180,1963,1832,2162,2380,2154,1842,1883,1560,2322,2688,2956,3769,3077,2426,2359,1979,2053,1829,2135,1926,2190,2446,2184,2056,1747,1624,1715,1722,1867,1926,1958,1882,1878,2338,2493,2172,2798,3230,2966,3458,4035,4090,4144,4145,4019,3867,3860,3649,3386,3549,3108,3465,3680,3660,3921,3884,3682,3934,4060,4004,4093,4034,4090,3984,3882,3955,4008,3951,3780,3772,4013,4030,4079,4104,4057,4113,4062,4001,3941,3947,4085,3824,3485,3708,4061,4081,3964,3348,3375,4163,4573,4332,4007,3418,3543,3907,3543,3422,3780,3770,3758,3753,3144,2674,2830,3204,3276,3165,3158,3020,2779,3062,3256,2686,2361,2632,2633,2494,2546,3031,2730,2633,2697,2445,2813,3056,2634,2085,2602,3575,3509,2604,2272,2032,1958,2385,3023,2876,2561,3548,3416,2518,1775,1786,2614,2535,2387,2782,3073,3252,2927,2580,2269,2105,2663,3473,3386,2340,2851,3615,3521,3306,3297,2529,2224,2530,2885,2943,3130,3254,2801,3022,3121,3562,3472,3985,2801,2280,2060,1810,1906,2511,3689,4317,3752,2745,2246,2235,1966,2149,2576,2676,3239,3508,2791,2280,2602,2574,2260,2184,1951,1630,1453,1512,1588,1372,1782,1887,1283,1484,1721,1684,2318,2815,2011,2568,2533,2722,2754,2380,2252,2127,1975,1829,1780,1844,1833,1881,1924,1760,1904,2003,2149,2828,2543,2301,2806,3043,3300,3340,2540,1704,1682,1708,1762,1814,2756,3555,3982,3964,3606,3298,3365,3646,3660,3676,3598,3448,2971,2783,2944,3073,2809,2624,2656,2874,3167,3140,3356,3165,3027,3023,3100,3235,3147,3000,2889,2895,2833,2953,3204,3523,3696,3680,3286,2600,2215,2703,2828,2840,2702,3028,3035,2188,1632,1744,1699,1632,1635,1669,1429,1982,2577,2386,1885,1791,1569,1603,1749,1793,1593,1391,1440,1788,2392,2455,2218,2424,2222,1796,2016,2073,1818,1561,1532,1500,1550,1507,1594,1533,1563,1541,1597,1720,1722,1669,1665,1646,1648,1636,1708,2952,3633,3418,2880,2408,2196,1804,1353,1560,2640,3075,3292,3332,2579,1739,2009,2292,2322,2578,2812,3073,2776,2896,2775,2584,2617,3366,3119,2846,2798,2548,2528,2731,3033,3397,3309,2662,2085,2346,2468,2405,2307,2308,2889,2593,2224,2267,2369,2184,2056,2647,3006,2770,2078,2226,2470,1781,1533,1930,2494,2424,2210,2184,2474,2399,1732,2179,2850,2822,2777,2576,2365,2520,2049,1593,1837,1628,1727,2610,2623,1860,2266,2242,3083,3444,2263,1551,1726,1640,1476,1599,1917,1927,1566,1487,1434,1368,1550,1467,1446,1514,1378,1406,1763,2150,1911,1493,1654,1695,1789,1712,1704,1594,1796,3249,3511,2404,1993,2260,2303,1946,1591,1538,2004,2172,1865,1636,2241,2161,2216,2143,2044,2143,2144,2008,2071,1979,1801,2018,2353,2164,1738,1588,1670,1610,1509,1409,1378,1279,1212,1241,1393,1802,1709,1461,1485,1544,1436,1484,1667,1864,1933,2399,2422,1688,1698,2028,1785,1478,1396,1399,1453,1500,1399,1902,2620,2566,1824,1194,1305,1384,1374,1375,2151,2194,1615,1642,2062,1967,1581,1691,1851,1730,1438,1433,1795,2765,2924,2544,1950,1984,2023,1967,2109,2166,1854,1470,1106,1513,1652,1547,1590,1734,1905,1660,1431,1450,1404,1429,1456,1357,1359,1421,1391,1290,1376,1453,1388,1646,1730,1469,1632,1860,1854,1698,1594,1422,1372,1504,1801,2021,2317,2146,1710,1500,1448,1306,1187,1177,1160,1233,1334,1246,1476,1578,1698,1716,1503,1500,1904,2057,2076,2174,2193,2407,2227,2269,2792,2287,2100,2109,1971,1804,1634,1710,2024,2307,2477,2540,2472,2536,2476,2188,2343,2222,2089,2442,2535,2321,2120,2163,2017,1971,2044,1843,2511,2848,2198,1758,1896,1893,2609,3602,3366,3342,3297,2921,3373,2978,1972,1667,1571,1984,2377,2305,2361,2068,1511,1725,2252,2380,2396,2266,2176,1966,2230,2552,2727,2585,2695,3352,3602,3684,3193,2911,2331,2026,2027,2104,2440,2587,2678,3075,3218,2957,2607,2775,3596,4131,4207,3828,3314,3063,2880,2536,2529,2639,2682,3198,3318,2878,3238,3485,3385,3209,3321,3504,3418,3464,3095,3102,3494,3458,4055,4608,4400,4420,4357,4149,3960,4228,4496,4393,4160,4100,4003,4145,4311,3936,3911,3950,4231,4272,4725,4696,4175,3708,3598,3482,3430,3496,3572,3880,3745,3785,3791,3974,3780,3350,3581,3826,3919,4082,4145,4157,4208,3938,3767,3774,3830,3631,3463,3511,3420,3348,3509,3815,3937,3457,3049,3435,2904,2339,3051,3339,3230,3435,3483,2922,2666,3038,3174,3230,3573,3001,2695,3017,3052,2985,2741,2614,2088,1764,1932,2033,2270,2251,2209,2269,2329,2712,2596,2266,2194,1959,2148,2265,2238,2385,2780,2908,3096,3296,2598,3132,2569,1634,1464,1719,1751,1978,2434,2413,2266,2395,2346,2730,2810,3086,2985,3171,3574,3335,2887,3183,3254,2963,3537,4196,3672,2996,2564,2342,2317,2136,2278,2135,2714,3168,2745,2403,2557,2678,2342,1804,1514,1419,1592,1883,2474,2386,2732,3847,4112,3596,2864,1946,1970,2368,2996,3275,3267,3145,3001,3248,3204,2906,2765,3163,3767,4052,4006,4013,4070,3198,2691,3234,3330,2872,2722,3083,3348,3210,2479,2030,3062,4444,4467,4724,4472,3965,2407,1124,603,1755,3887,4477,4340,3660,3241,3430,2934,2941,3348,3212,2993,2941,2998,3473,3930,3742,3705,3540,3771,3451,3024,2896,2819,2954,3013,2680,2474,2412,2093,2181,2376,2476,2330,1975,1897,1896,2816,2841,2776,2929,2321,2001,2311,2277,2819,2445,2090,2446,2383,2289,2370,2257,2141,2029,1965,2302,2536,2120,2055,2699,2947,2925,2979,3072,2688,2921,3271,2978,2501,2260,2644,2805,2065,1418,1510,1469,1681,2111,2125,2260,2443,1881,1420,1517,1587,1750,2120,2056,2701,2996,2691,2626,2232,2165,2566,2885,2625,2436,2964,2880,2840,2119,2260,2264,1821,1621,2327,2309,2183,2209,1948,2309,2939,2082,2007,2547,1964,2239,3231,2928,2332,2634,2648,2378,2388,2305,2299,2489,2303,2293,2651,2602,2272,2935,2884,2492,2491,2817,2718,1815,2294,2420,2569,2228,2327,2580,3016,2698,2335,2535,2250,1901,2190,2778,2689,2690,2634,1890,1919,2496,2539,2363,2088,2466,2778,2932,2565,2144,2240,2595,3097,3133,2468,1849,2185,2576,3086,2973,2199,2200,2503,2242,2368,2602,2412,2222,2109,2425,2532,2250,2099,2363,2611,2843,2971,3053,2689,2231,2386,2330,2784,3176,3090,3064,2680,2474,2589,2526,2721,3301,2722,2686,3194,3354,3164,3052,3307,2852,2369,2680,3120,2592,2058,2576,2354,2611,3033,3398,3520,3516,3097,1999,1433,1517,1511,1556,1532,1584,1936,2040,1988,2304,2378,1910,1740,1860,1719,1661,1583,1615,1926,2120,2011,1626,1497,1383,1444,1275,1332,1400,1346,1462,1526,1307,1460,1605,1735,2373,2720,2307,2541,3710,3925,3348,2950,2522,1917,2221,2827,3083,2849,2632,2603,3310,3703,3716,3686,3564,3304,3344,3587,3838,4015,3858,3243,1953,1622,1743,1480,1331],[3032,3649,3737,3570,3602,3496,3329,3594,4123,3881,3639,3395,2886,2934,2925,3060,2977,2836,2706,2780,2669,2579,2681,3175,3366,3007,2834,2862,2888,2745,2764,2289,1977,2062,2097,2130,2303,2057,1989,2416,2057,2133,2668,2767,3210,3393,3146,3442,2598,2136,2475,2234,2463,3170,3295,2635,1903,1902,2003,1814,1721,1633,1937,2089,1711,1598,1869,2025,2591,3828,4160,3702,3317,3672,3653,3550,3587,3617,3564,3429,3123,3253,3795,3592,3245,3321,3582,3557,2965,2424,2431,2496,2680,2494,2610,3154,2649,2361,2768,3653,3702,3087,2722,2134,2172,2170,2378,2821,2758,2018,1257,1658,2286,2678,3117,2878,2373,2179,2326,2289,2209,2012,2008,1898,1808,2292,2535,2326,2540,2381,2073,1837,1456,1786,2012,1958,1843,1995,2145,1959,1928,1961,2114,2260,2214,2247,2378,2409,2283,2364,2731,2719,2967,3307,3428,3415,3627,3647,3508,3152,2864,2864,3226,3165,2843,3091,3145,3444,3292,3088,3230,3299,3156,2922,2966,2284,2653,3154,3251,3748,3718,3115,3045,3130,3015,2622,3016,3399,3582,3515,3261,3281,3492,3571,3089,2655,2420,2122,1843,1825,2013,2292,2485,2553,2532,2493,2283,1920,1580,1364,1703,2821,3555,3644,3982,3991,3163,3188,3419,3392,3449,2818,2176,2769,3052,2380,2375,2758,2751,2578,2686,2940,3276,3417,3251,3104,3087,3065,3177,3312,3161,3348,2691,2114,1788,1778,2187,2512,2736,2707,2708,2916,3241,3612,3748,3612,3929,3935,3718,3986,4197,4056,3964,4266,4172,3551,3189,2727,2142,2398,3142,3453,3417,3398,3521,3541,3572,3061,2868,3842,3919,3068,3090,3296,2733,2666,3420,3968,3796,2862,2441,2513,2978,3296,3203,3431,3154,3147,2834,2867,2853,2469,2517,2873,3194,3229,3020,2851,2590,2740,3476,3636,3687,3069,2257,2125,2297,2121,2714,2989,2610,2467,2155,1895,1632,2328,3164,3195,3177,3530,3278,3083,3216,3591,3654,2563,2542,2959,2232,2419,2199,2227,2985,3410,3108,2769,2871,3011,3108,2806,2700,2679,2483,2708,3017,2994,3366,3504,3561,3793,3225,2897,3217,3330,3096,2727,2741,2279,2351,2266,1807,1980,2179,1594,1682,2054,1794,1652,1895,2451,2987,2938,3361,3344,3683,3940,4061,4252,3967,3573,3475,3161,2929,2896,2997,3371,3450,3648,3670,3458,3190,3108,2585,2207,2950,3263,3404,3200,3002,3958,4288,4310,3140,2698,3151,3238,3139,2514,1901,2108,1926,2007,2065,1819,1669,2102,2336,2114,2182,2271,2235,2403,2509,2207,2093,1900,1885,1847,2064,2450,2619,2648,2524,2366,2356,2061,1883,1986,1826,1748,2237,2486,2137,2350,2426,2258,2182,2029,1804,1824,1910,1923,2016,2166,2149,2160,2198,2514,2739,2957,3185,3257,3025,2872,3077,3146,3006,2983,2944,2464,2209,2732,3184,3273,2977,2525,2654,3680,3949,3558,3536,3139,2406,2329,2463,3762,4220,3893,3002,2769,3131,2648,2490,2353,2280,2121,1804,2300,2263,2083,2011,2310,1729,1802,2702,2921,3582,3670,3243,2302,2407,2070,1841,2076,1908,1671,1831,2508,2375,2238,2120,2002,1953,1844,2145,1972,2072,2131,2196,2282,2216,3015,3567,3476,3751,4014,4057,4132,4141,4043,3907,3867,3485,2970,3366,3927,3708,3068,3104,3791,3795,3817,4075,4172,4108,4094,3990,3853,3802,3723,3729,3903,3981,3990,3984,4085,3985,4019,3941,3725,3875,3983,3916,3879,3864,3995,4010,3925,4034,4081,4072,4087,3404,3451,4384,4692,4316,4033,3671,3812,3993,3601,3452,3607,3312,3254,3220,3208,3142,3189,3676,3529,3022,2973,2778,2511,3144,3257,2932,2529,2288,2514,2688,2768,2622,2306,2679,3042,3163,2668,2055,2367,2498,2374,2614,3257,2946,2304,2244,2621,2955,3296,3318,3576,3762,2548,2464,2360,2192,2721,2745,2728,2720,2873,2768,2750,2951,2645,2288,2783,3592,3116,1977,2197,2957,3133,3476,3054,2187,2252,2930,3354,3230,3496,3465,3059,2632,3105,3327,3353,3965,2979,2360,2568,2423,2309,2640,2892,3527,3566,2491,1978,2491,2334,2752,3075,2964,3332,3015,2209,1857,2050,2032,1876,1998,1861,1663,1714,1780,1800,1772,2315,2122,1343,1510,1500,1573,2475,2477,2270,2663,2424,2632,2660,2279,2103,2179,1870,1730,1830,1760,1825,1822,1794,1961,2710,2557,2365,2602,2295,2376,3335,3373,3528,3592,2979,1963,1625,1605,1742,1932,2895,4059,4379,3981,3473,3453,3454,3536,3585,3775,3579,3385,3032,2721,2853,3252,3332,2859,2784,2907,3298,3625,3390,3044,2816,2769,3173,3286,3308,3347,3145,3124,3106,2995,3021,3672,3652,3558,2976,2371,2198,2550,2887,2767,2701,2724,2967,2863,1908,1947,1816,1665,1580,1626,1426,2092,3026,2564,1719,1789,1802,1708,1746,1896,1936,1765,1675,1964,2152,2195,2699,2764,1922,1431,1646,1627,2015,1863,1965,1762,1598,1568,1510,1616,1574,1446,1589,1764,1564,1428,1738,1913,2410,2025,1609,2532,3211,3066,2746,2588,2665,2502,2229,2320,3122,2635,2199,2483,2788,2475,2781,2715,2259,2710,3120,3698,3022,2625,2591,2714,2932,2757,2573,2933,3134,2878,2871,3067,3446,3387,2554,2463,2386,2468,2376,2561,2403,2406,2838,2952,2508,2643,3101,2801,2779,3158,3121,2669,2211,1997,1907,1822,1754,2186,2502,2066,2219,2344,2618,2399,2235,2422,2894,3132,3184,2576,2339,2396,2020,1856,1801,1970,2198,2514,2291,1571,2219,2533,2822,3198,2472,1809,1749,1499,1495,1537,1929,1845,1379,1523,1589,1497,1450,1557,1596,1484,1436,1654,2167,2765,2819,2052,1967,2142,1917,1635,1541,1650,1895,2777,2640,1756,1599,1666,1959,1876,1449,1548,2010,1893,1542,1806,2085,1989,2153,2197,2118,2080,1980,1756,1821,2042,1929,1915,2139,2020,1613,1514,1542,1405,1316,1407,1501,1445,1315,1598,1545,1374,1373,1489,1533,1411,1439,1447,1502,1662,1829,1824,1779,1710,2182,2044,1585,1357,1586,1638,1610,1659,1494,1921,2864,3157,2287,1361,1538,1438,1365,1490,1844,1973,1792,1676,1839,1648,1551,1480,1741,1676,1428,1489,1897,2864,2785,2070,1671,1706,1970,1988,1997,1827,1631,1593,1419,1527,1447,1395,1548,1699,1658,1528,1549,1704,1564,1461,1478,1410,1494,1448,1387,1401,1432,1366,1416,1648,1683,1489,1710,1838,2010,1378,1305,1409,1358,1455,1595,1606,1643,1565,1505,1405,1317,1241,1288,1331,1234,1213,1457,1375,1315,1334,1543,1763,1621,1168,1350,1599,1699,1515,1305,1389,1602,1776,1801,1958,2235,1957,1665,1869,2073,2317,2502,2540,2524,2542,2574,2597,2460,2322,2148,2077,2381,2584,2499,2221,2120,2003,1897,1911,1768,1569,2522,3011,2298,1882,1577,1555,2181,3404,3242,3067,2902,2314,2120,1646,1173,1211,1415,1773,2118,1997,2096,2088,1545,1361,1636,1992,2401,2232,1937,2002,2398,2554,2479,2545,3068,3681,3790,3663,3288,2868,2201,2094,2220,2099,2115,2063,2115,2711,3177,3152,2866,2673,2851,3323,3893,3736,3212,3331,3424,3217,2753,2197,2002,2852,3286,3060,3007,3494,3525,3265,3339,3285,3160,3250,3240,3583,3892,3562,3571,4180,4206,4441,4641,4512,4155,4337,4601,4462,4160,4013,3950,4004,4200,3945,3870,3923,3858,3891,4243,4444,4109,3620,3657,3544,3496,3381,3362,3830,3952,3975,3650,3622,3575,3618,3997,4177,4115,4039,3983,3737,3866,3912,3827,3679,3847,3738,3486,3385,3203,3160,3224,3608,3855,3787,3660,3212,2656,2788,3208,3282,3306,3522,3550,3498,3306,3128,3275,3242,3255,3210,3195,3152,3128,2973,2670,2433,1962,1914,2144,2070,2306,2454,2648,2150,2055,2843,2812,2577,2369,2382,2626,2808,2518,2374,2875,2746,2911,3065,2588,2707,2697,1955,1771,2145,2190,2136,2058,1880,2260,2614,2613,2733,2891,3029,3126,3120,3166,3099,3285,3573,3695,3662,3592,3835,3846,2972,2313,2446,2215,2081,2024,2633,3332,3239,2414,2387,2590,2554,2341,2321,2012,1571,1741,2036,2076,2046,3006,4356,4649,4071,3564,3025,2360,2458,3241,3639,3240,2882,3452,3795,3154,2501,2645,2871,3348,3682,3833,4205,4456,4376,3772,3453,3203,2763,2654,2740,2977,3320,2498,2984,4128,4561,4631,4748,4447,4121,3161,1755,734,2165,4289,4474,4288,3767,3648,3636,3254,3078,2946,2929,2884,2832,3049,3656,4221,4259,4024,3570,3629,3328,2923,2759,2797,2980,3251,3393,3322,2929,2265,2552,2220,2002,1956,1993,1796,1831,2405,2612,2732,2666,2215,2362,2835,3427,3232,2591,2562,2808,2391,2278,2412,2252,2034,1852,1810,2497,2809,2047,2348,2565,2253,2275,2642,2285,2060,2723,2836,2552,2126,1737,2066,2686,2325,1964,1870,1847,1810,1925,2009,2039,2008,1682,1266,1662,2107,2149,2601,2442,2321,2539,2732,2543,2383,2720,2804,2690,2427,2641,2786,2726,2451,1863,2154,2165,1946,2504,2864,2512,2262,1775,1822,1895,1878,2022,2608,2644,2342,2644,3245,2777,2264,2578,2428,2127,2588,2577,2266,2436,2258,2481,2854,2723,2801,3584,3528,2874,2669,2467,2602,2453,2842,2381,2224,2262,2689,2819,2872,2645,2612,2743,2452,2315,2624,2645,2751,3204,2824,2194,2145,2364,2686,2634,2702,3169,3151,3090,2621,2382,2140,2285,2742,2506,2147,2056,2301,2667,2871,2718,2084,1674,2056,2016,2300,2361,2342,2464,2665,2809,2487,2110,2269,2234,2286,2647,2723,2929,2534,2219,2807,2697,2877,3137,3222,2942,2242,2245,2730,2898,2778,2922,2587,2939,3050,3124,3241,3438,3487,2865,2597,3068,2710,2404,2008,1946,2119,2419,2921,2898,2677,2718,2751,2380,1712,1549,1478,1648,1615,1599,2048,1781,1834,2182,2105,1824,1797,1771,1636,1579,1487,1648,1576,1680,1522,1376,1492,1597,1539,1261,1341,1518,1492,1672,1690,1245,1734,1757,1662,2426,2566,1725,2035,2975,3443,3157,2484,2087,2190,2711,2696,3039,3367,3248,2930,3183,3476,3482,3431,3518,3384,3278,3444,3660,3572,3442,3869,2987,1995,2054,1874,1708],[3088,3614,3565,3375,3143,2709,2182,2894,4074,4056,3498,2883,2730,2780,2708,2832,2636,2731,2811,2732,2810,2723,2834,3398,3199,2631,2852,2663,2636,2626,2566,2451,2094,1957,2321,2586,2408,2081,2304,2752,2655,2698,2665,2901,3448,3275,3349,3398,2352,2404,2758,2484,2820,3354,3331,2104,1902,2177,2034,1969,1956,2122,2191,1684,1640,2034,2361,2875,3672,3849,4003,4091,3868,3750,3519,3466,3521,3536,3404,3119,2673,2213,2364,2828,3240,3418,3463,3387,3249,2962,2681,2464,2386,2272,2385,2475,2292,2181,2396,3218,3804,3232,2627,2843,3164,2913,2598,2228,2136,2029,1999,2796,3356,3135,3085,2814,2490,2451,2580,2513,2180,2339,2340,1973,1893,2683,2546,2417,2539,2365,2254,2039,1742,1439,1409,1780,1826,1875,2046,1983,2057,2017,2282,2242,2287,2643,3050,2921,2115,2077,2536,2676,2780,2866,3098,3514,3771,3672,3486,2632,2081,2420,2546,2304,2230,2674,3362,3464,3366,3539,3243,3034,2812,2734,2872,2791,2820,3410,3972,3983,3580,2565,2661,2521,2907,2496,2790,2653,3116,3461,3194,3278,3468,3626,2819,2664,2708,2349,2007,1856,1961,2468,2667,2567,2590,2746,2878,2416,1720,1425,1505,2231,3140,3521,3702,3260,2851,3403,3691,3686,3526,2706,1584,2382,3107,2687,2323,2352,2026,2066,2468,2885,3194,3122,3045,3375,3297,3295,3234,3555,3352,2988,2232,1763,1677,1859,2132,2680,2984,2476,2322,2691,2556,3034,3442,3528,3882,3850,3725,4057,4236,4006,3981,3996,3610,3093,2858,2654,2548,3044,3472,3566,3506,3360,3250,3344,3373,2886,2862,3747,3328,2685,3288,3753,3012,2717,3418,4041,3386,2157,2010,2457,3113,3043,3206,3034,2386,2677,1911,2023,2240,2425,2416,2513,3025,3421,2908,2320,2766,3320,3618,3751,3807,3357,2797,2430,2235,2159,2347,2388,2194,2319,2054,1502,1866,2386,2921,3028,2907,3085,3261,3071,2523,3259,3768,2763,3270,2940,2397,2922,2587,2720,2764,2607,2865,3234,3428,3400,3242,2648,2862,2756,1992,1904,1892,1794,3167,3934,3835,3870,3790,3802,3732,3538,3371,2951,2818,2600,2460,2587,2244,1973,2068,1854,1975,2276,2120,1875,2148,2359,2351,2565,3118,3294,3329,3385,3630,3949,3914,3602,3566,3616,3396,2974,3182,3387,3604,3394,3033,2719,2452,2857,2678,2452,2740,2998,3224,2861,2471,2896,3254,3670,3044,2517,2818,2873,2907,2711,2141,2114,2110,2800,2833,2332,2138,2476,2680,2657,2367,2100,2370,3172,3357,2473,2199,1944,2117,2192,2099,2351,2567,2710,2707,2599,2611,2639,2678,2438,2229,2109,2067,2171,2091,1997,1954,2225,2547,2784,2856,2364,2116,2252,2110,1931,1910,1938,1815,1797,1903,2070,2142,2150,2176,2238,2306,2299,2276,2393,2352,2060,2666,3418,3448,3552,3597,3172,2520,3262,3720,3140,3032,2813,2696,2378,2336,3553,4432,4156,3098,2830,3387,2497,2321,2303,2723,2304,1949,1980,2003,2048,1736,1721,1515,1799,3173,2953,3604,3918,3228,2316,2316,1829,1732,1776,1820,1546,1842,2507,2181,2238,2062,2480,2146,2015,2544,2229,2537,2518,2308,2097,2254,3327,3652,3736,4007,4082,4028,4078,4141,4045,3926,3926,3354,2629,3095,3788,3743,3584,3626,3464,3460,3792,4040,4002,4065,4124,4052,4090,3985,3805,3670,3615,3785,3807,3974,4016,4026,4092,3648,3365,3858,4133,4012,3990,3924,4008,4095,4124,4189,4074,4025,4083,3312,3053,4040,4684,4612,4407,4316,4446,4284,3901,3820,3728,3682,3276,2930,2909,2884,3210,3658,3552,2910,3006,3050,3229,2809,2583,2921,2714,2222,2592,2666,2410,2280,2108,2647,2829,2470,1877,2082,2901,2768,2130,2286,2636,2914,3207,2872,2779,3207,3746,3808,3951,3554,2901,2830,3018,2352,2098,2600,2485,2519,2986,2302,2340,2712,2698,2756,2988,3392,2543,2195,3074,3330,3350,3420,2566,2456,2799,2928,3123,3437,3254,3168,3364,3348,3556,2835,2705,3396,2778,2825,2663,3100,3418,3342,2720,3248,2990,2510,2510,2789,2585,2887,2979,3056,3153,2680,2431,1792,2060,2320,2074,1879,1719,1704,1809,1902,1789,1554,1755,1648,1444,1562,1424,1552,2148,2478,2959,2803,2402,2280,2404,2460,2311,2308,1838,1716,1814,1600,1716,1763,1642,1594,1781,1959,2165,2500,2355,2253,3242,3340,3384,3626,3041,1968,1640,1640,2046,2497,2447,3632,4117,3864,3258,2932,3118,3660,4007,3924,3659,3537,3011,2589,2698,3312,3520,3065,2905,2942,3422,3862,3355,3018,2938,2994,3263,3394,3503,3598,3370,3426,3419,3128,2968,3418,2854,2770,2453,2164,2269,2477,2858,2878,2901,2501,2697,2244,1923,1808,1744,1660,1510,1438,1603,2186,2763,2381,1645,1746,1831,1853,2134,2333,2334,2018,1995,2278,2062,2056,2191,1940,1361,1232,1554,1626,1877,1842,1966,1731,1538,1778,2416,2226,1543,1610,1912,1693,1707,2282,2375,2186,2210,2108,2004,2194,2336,2358,2344,2964,3052,2446,2125,2122,2126,2091,2575,2924,3160,3166,2877,2193,2379,2877,3570,3684,2697,2001,2225,2421,2646,2621,2469,3038,3629,3322,3119,3154,3223,2746,2463,2790,2756,3008,3565,3218,2769,2246,1980,2220,2007,2320,2465,2318,2319,2778,2684,2713,2864,2676,2486,2210,1910,2552,2696,2398,2608,2584,2443,2100,2618,3414,4039,3804,2481,1748,2129,2040,1610,1842,1482,1538,1643,1982,1547,1537,1982,1938,2078,2250,2008,1744,1621,1488,1577,1548,1685,1479,1416,1437,1416,1335,1319,1551,1656,1510,1422,1569,1948,1653,1589,1607,1727,1794,2198,2127,1810,1683,1565,1786,1744,1500,1381,1378,1508,1481,1521,1811,1761,1747,1555,1566,1655,1866,2199,2344,2131,1989,1549,1660,1696,1621,1514,1459,1723,1770,1688,1798,1424,1230,1372,1788,1417,1361,1307,1498,1541,1401,1362,1579,1590,1520,1456,1456,1698,1482,1759,1964,1903,2004,2614,1992,1440,1422,1456,1446,1449,1495,1462,1700,2310,2692,2253,1635,1566,1449,1661,1781,1672,1845,1921,1833,1838,1543,1701,1778,2056,1673,1387,1506,1938,2818,2626,1954,1832,1706,1840,1916,1967,1771,1563,1809,1688,1669,1870,1862,1907,1874,1600,1534,1554,1582,1839,1741,1639,1383,1414,1338,1298,1442,1494,1394,1561,1599,1695,1439,1422,1510,1882,1592,1406,1412,1362,1367,1347,1325,1455,1570,1539,1534,1442,1362,1425,1406,1339,1258,1444,1397,1328,1499,1342,1375,1859,1655,1981,2071,1936,1648,1783,2058,2089,2084,2191,2354,2223,2036,1898,2226,2298,2352,2402,2454,2548,2556,2689,2530,2453,2621,2250,2154,2442,2341,2099,1998,1943,1926,2009,1731,1355,1464,2313,2912,2316,1883,1727,1560,1707,2414,2169,1704,1225,1024,1042,1057,1088,1226,1623,1688,1840,1985,2208,2239,1848,1600,1742,1776,1966,2060,2033,2226,2790,2939,2778,2588,3144,3498,3740,3632,3409,2770,2192,2343,2474,2355,2196,2101,2011,1979,2849,3230,3018,2612,2291,2502,3439,3786,3306,3555,3821,3829,2722,2046,2332,2903,3288,3307,2888,3252,3535,3259,3220,3186,3138,3420,3494,3915,4464,4564,4416,4181,4195,4344,4472,4403,4275,4748,4741,4540,4325,4080,4125,3952,4049,4013,4055,4188,4026,3937,3937,3959,3782,3510,3404,3543,3685,3312,3393,3635,3899,3919,3541,3400,3548,3906,4220,4331,4219,4188,4072,3840,3833,3840,3742,3719,3835,3751,3580,3360,3189,3208,3176,3426,3616,3613,3749,2851,2215,2585,2987,3122,3103,3495,3658,3698,3510,3316,3134,3220,3233,3218,3359,3133,2642,2472,2645,2612,2177,2138,2321,2216,2276,2314,2768,2355,2132,2561,2858,2612,2192,2386,2872,3292,3065,2150,2602,2648,2959,2981,2126,1971,2497,2429,2416,2306,2119,1919,1906,1919,2624,2788,2373,2512,2677,2802,3106,3249,2986,2950,3510,3748,3779,3848,3790,3540,2980,2164,2401,2495,2524,2800,2930,2986,3045,2730,2380,2156,2733,2874,2654,2968,2644,1768,1725,1991,1999,2046,3284,4411,4424,3664,3439,3397,3250,3416,3519,3795,3560,3266,3659,3627,2575,2468,2698,2732,2939,3310,3696,4266,4697,4796,4527,3981,3363,2833,2733,3050,3751,3774,3052,3770,4602,4783,4779,4692,4528,4420,3892,2483,990,2317,3042,3563,3957,3767,3933,3853,3562,3254,3009,2953,2975,3016,2988,3120,3282,3363,3376,3355,3423,3041,2657,2590,2785,3054,3264,3374,3323,2810,2269,1932,1834,1954,1931,1761,1632,1548,2031,3178,2699,2164,2103,2398,3033,2750,2312,2464,2627,2314,2188,2260,2225,2170,2293,1996,2174,2823,2337,1913,2647,2383,2279,2480,2608,2393,2337,2711,2664,2490,2020,2211,2029,2467,2690,2443,2370,2305,2249,2094,2018,2120,2060,2154,2372,2448,2539,2841,2580,1698,2037,3107,3029,2579,2940,3335,2620,2429,1896,2014,2087,2159,2032,1919,2403,2359,2150,2490,2209,2308,2939,2807,2746,2076,1648,1851,2200,2092,2068,2307,2281,2171,1997,2376,2338,1935,2524,2958,2750,2337,2057,2181,2673,2865,3096,3297,2852,2270,2316,2426,2765,2974,2609,2383,2425,2597,2696,2553,3300,2979,2700,2480,2626,2690,2780,2432,3254,3418,3017,3087,2868,2818,2586,2455,2589,2974,3056,2709,3013,3073,2332,2244,2453,2288,2142,2088,2501,2808,3005,3418,2778,1766,2317,2343,2320,2415,2441,2518,2836,3167,2489,2109,2422,1832,2053,2429,2713,2756,2590,2722,3156,2688,2644,3352,3160,2370,2079,1889,2878,3059,3015,2776,2635,2766,2688,2668,2742,2718,3037,2805,2956,2248,2025,2509,2109,1969,2319,2640,2917,2666,2217,1902,2294,2587,2091,1691,1603,1700,1599,1682,2101,2234,2164,1908,2062,2160,2005,1971,2090,1991,1548,1600,1533,1604,1524,1381,1497,1690,1592,1302,1265,1397,1542,1685,1672,1612,1897,1621,1593,1911,1776,2040,2516,2440,2399,2236,1875,2259,2786,2902,2270,2610,3198,3332,3294,3151,2929,3028,3386,3506,3488,2556,2820,3197,3245,2956,3428,3815,2946,2023,1775,1860],[3009,3274,3263,3283,3369,3181,3057,3934,4136,3606,2652,2073,2028,2139,2369,2352,2427,2921,2899,2687,2824,2941,3104,3399,2664,2300,2673,2364,2236,2200,2482,2962,2664,2542,2784,2345,1966,1873,2169,2655,2645,2620,2580,2744,2864,2544,2649,2423,2253,2840,2698,2492,2924,2851,2267,1720,1972,2008,1859,1895,2029,2156,2314,2189,2137,1939,2670,3793,4100,3882,4048,4034,3895,3584,3276,3183,3285,3374,3198,2937,2845,2442,2035,2383,3029,3299,3328,3393,3322,2958,2564,2307,2248,2282,2532,2608,2656,2530,2409,2731,3373,3542,3370,3400,3740,3088,2093,2275,2786,2676,3174,3480,3175,2827,2562,2227,2272,2280,1946,1891,1753,2288,2479,2273,1982,2482,2496,2205,2128,2270,2150,2166,2076,1769,1604,2053,2166,2024,1819,1749,1648,1973,2181,2174,2070,2135,3316,3465,2684,2565,2659,2874,2910,2712,2918,3439,3671,3613,3192,2598,2629,2722,1959,1658,1395,2250,3391,3371,3332,3575,3692,3365,2889,2847,3420,3441,2851,3218,3443,3078,3185,2919,2923,3212,2918,2529,2480,2470,3303,3748,3564,3504,3525,3540,3099,3228,2991,2812,2642,2552,2615,2870,2747,2600,2554,2531,2580,1916,1580,1440,1422,1720,2180,2833,3225,2922,3091,3705,3837,3649,3758,3189,2292,2705,3097,2843,2591,2377,1858,1770,1988,2075,2242,2475,2632,3420,3514,3215,3246,3571,3362,2664,1925,1821,2144,2364,2599,3013,3017,2587,2635,2646,2277,2484,3323,3853,4005,3936,3628,3431,4071,4068,3931,3694,2900,3364,3248,3420,3523,3564,3559,3616,3702,3421,3147,3281,3371,3011,3449,3915,3103,2582,2819,3028,2618,2683,3386,3791,3401,2448,1814,2214,2977,3025,2957,2224,2258,2387,2271,2612,2853,2801,2658,2920,3124,3360,2949,2376,3001,3725,3709,3641,3709,3251,2921,2907,2512,2284,2253,2170,2291,2461,2226,1844,2710,3146,3298,3415,3673,3137,2109,2556,2031,2643,3054,2777,3344,3084,3223,3548,3282,2931,2471,2404,2466,2873,3260,3366,3252,3040,3034,2542,1826,1969,1982,1782,2522,3639,3989,3919,4038,3995,3626,3131,3246,3233,3064,2908,2620,2997,3784,3662,3131,2366,2339,2564,2335,2531,3068,2996,2595,2809,3064,3142,3116,2925,3329,3685,3868,3957,3986,3913,3795,3579,3880,3928,3999,3717,3225,3018,3419,3659,3532,3087,3249,3458,3595,3407,2511,1947,2026,2344,2510,2769,2943,2941,2965,2846,2173,2569,2955,2620,2547,2787,2912,3081,3191,3117,2777,2796,3043,3314,3422,3144,2602,1970,2182,2303,2133,2198,2140,2398,2431,2306,2299,2504,2581,2604,2696,2634,2633,2615,2442,2303,2285,2142,2086,2481,2546,2446,2574,2746,2967,3108,3000,2849,2712,2651,2597,2413,2482,2617,2347,2209,2236,2044,1968,1973,1945,2175,3052,3527,3359,3338,3526,3559,2544,2923,3652,3375,3338,3019,2822,2713,2464,2635,3403,3674,2918,2799,2777,1979,1905,2370,3196,3124,2762,2271,2207,2035,1432,1105,1146,1489,3019,3152,3065,2665,3107,2860,2340,2188,2260,1927,1772,1699,2121,2269,2355,2089,2166,2265,1975,2181,2235,2078,2353,2644,2436,2087,2531,3508,3806,3930,4153,4152,4113,4132,4139,4100,4031,4073,3617,2533,2645,3251,3264,3343,3426,2927,3146,3702,3815,3748,3911,3743,3341,3792,3892,3828,3836,3582,3637,3768,3521,3463,3717,3939,3831,3814,4092,4112,4081,4113,4039,4053,3759,3656,3703,3683,3636,3812,3346,3087,3818,4561,4612,4419,4530,4410,4297,4029,3874,3652,3387,2763,2351,2629,2996,3296,2786,3319,3321,2810,2908,3654,3123,3192,3466,2699,2395,2823,2720,2328,2339,2214,2214,2003,1674,1935,2842,3422,2610,1885,1923,2713,3769,3687,2829,3140,3436,3950,4069,3773,3109,2915,2707,2269,1860,1889,1881,2169,2843,3639,2689,2784,2531,2603,3018,2906,2740,2784,3037,3436,3271,3569,3074,2613,3039,3098,2973,3076,3464,3078,3008,3017,3195,3339,2203,1757,2447,2217,2687,2752,3090,3684,3619,3190,3402,2958,2169,2530,2929,2437,3090,2909,2750,2858,2867,2236,1861,2210,2551,2054,1631,1750,1573,1732,2191,1980,1322,1388,1448,1533,1411,1449,1975,2277,2886,3162,2461,2199,2016,2222,2216,2237,2344,1810,1730,1559,1595,1786,1718,1531,1466,1678,1858,1952,2320,2459,2255,3013,3251,3205,3247,2502,1773,1658,1610,2196,2604,2063,3491,3934,3785,3515,3326,3462,3728,3842,3671,3537,3298,2794,2623,2540,3044,3399,3001,2817,2955,3145,3317,3074,2893,2988,2902,2899,3319,3626,3638,3228,3259,3459,3334,3009,2669,2237,2315,2133,2083,2154,2430,2793,2840,2579,2225,2336,2125,1879,1738,1612,1650,1700,1586,1664,1922,2164,1750,1685,1840,1844,1899,2229,2257,1964,1779,1930,1926,1695,1777,1701,1539,1687,1522,1627,1545,1545,1737,1934,1867,1823,2144,2486,1911,1575,1764,2110,1869,2301,2598,2230,2061,2189,2479,2700,2083,1881,2056,1997,2802,2403,1845,1818,1742,1720,2451,2941,3005,3234,3300,3335,2423,2565,2962,3592,2834,2208,2249,2123,2287,2813,2666,2446,2947,3702,3094,2813,2890,2686,2292,2239,2593,2524,3407,4516,4408,3961,2523,1770,1554,1329,1578,1652,1625,1569,1819,2010,2381,2820,2989,2846,2546,2245,2719,2584,2752,2937,2958,2687,2319,2985,3562,3403,2597,1569,1930,2448,2222,1765,1835,1433,1418,2111,2219,1364,1842,2317,1844,1930,1943,2011,1709,1489,1562,1643,1604,1588,1462,1411,1349,1375,1371,1473,1707,1631,1431,1263,1439,1736,1594,1546,1488,1445,1366,1600,1841,1871,1787,1959,2059,1720,1448,1184,1357,1543,1537,1791,1948,1583,1582,1843,1519,1235,1948,2360,2245,2020,1848,1598,1833,1858,1688,1762,1826,1650,1272,1731,2247,1522,1321,1338,1637,1309,1272,1408,1283,1295,1395,1417,1422,1406,1384,1268,1500,1698,1612,2059,2170,2072,1966,1861,1667,1505,1461,1333,1459,1458,1410,1503,1377,1522,1842,1703,1496,1438,1769,2182,1920,1780,1734,1615,1511,1553,2047,2641,2617,2648,2166,1459,1364,2143,3036,2524,1687,1708,1843,1984,1670,1670,1687,1460,1588,1802,2188,2397,2518,2387,1849,1612,1750,1663,1551,1863,1885,1521,1318,1384,1388,1408,1563,1543,1401,1509,1532,1521,1685,1658,1519,1866,1920,1600,1562,1497,1309,1427,1488,1425,1499,1471,1443,1322,1273,1314,1333,1457,1401,1230,1209,1284,1497,1487,1498,1670,1509,1706,1842,1982,1852,1872,2131,2115,2227,2490,2310,2050,1918,1673,2111,2342,2329,2347,2434,2514,2576,2592,2677,2529,2226,1923,2039,2359,2081,1869,1827,1819,1911,1864,1598,1780,2509,2857,2770,2232,1814,1534,1265,1168,1290,1399,1151,943,1218,1404,1423,1419,1486,1773,1973,2417,2630,2916,2681,2041,1964,2169,2023,2263,2021,2307,2273,2385,2566,2754,2529,2811,3030,3105,3306,3282,2646,2226,2164,1970,1891,1812,2198,2333,2121,2471,3112,3590,3297,2805,2788,3284,3528,3330,3440,3674,3296,2687,2471,2588,2679,3264,3507,2964,3014,3438,3321,3267,3260,3265,3393,3695,4596,4892,4643,4596,4344,4017,4079,4377,4377,4140,4511,4691,4792,4676,4664,4489,4128,4144,4324,4473,4376,4195,4384,4304,4094,3783,3646,3589,3575,3676,3349,3488,3728,3816,3666,3450,3504,3716,4098,4059,4145,4345,4372,4167,3797,3767,3823,3749,3854,3830,3824,3949,3606,3431,3582,3395,3441,3580,3618,3751,3232,3049,3144,2973,3067,2776,3346,3496,3510,3463,3400,2951,3015,2922,2662,2918,3211,2651,2557,2237,2354,1699,1659,2032,2169,2481,2389,2345,2438,2263,2061,2233,2207,2018,2200,2395,2735,3196,3019,3141,2590,2656,2906,2489,2723,3167,2703,2865,3015,2259,1919,2088,2193,2580,2604,2404,2706,3030,3050,3033,2957,2943,2962,3185,3565,3884,3925,3687,3223,2755,2420,2739,3220,2896,2996,2889,2630,2711,2453,2210,2402,2757,3077,2955,3022,2476,1708,2256,2774,2489,2455,3485,4298,4211,3618,3341,3308,3395,3427,3483,3583,3188,2871,3218,2830,2275,2530,2651,2761,2918,3466,4124,4420,4605,4606,4560,4344,4018,3161,2928,3082,3677,3852,3669,4009,4649,4857,4752,4740,4559,4653,4416,3138,1061,1188,1010,2153,3348,3764,3881,3950,3727,3445,3055,2858,2845,2846,2871,3052,3005,3039,3306,3330,3270,2864,2363,2303,2813,2979,3155,3187,2734,2222,1901,1761,1932,2073,1973,1741,1769,1700,2139,2536,1889,1782,2019,2307,2814,2670,2306,2435,2424,2796,3505,2709,2197,1933,2350,2335,2255,2314,1908,2251,2431,2070,2056,2217,2509,2352,2334,2807,2934,2685,2511,2401,2022,2454,2485,2490,2825,2747,2510,2110,2250,2778,2356,2260,3212,3232,3437,3654,2546,1775,2680,2721,2563,3023,3031,2608,2209,2114,2057,2206,2234,2031,2144,3124,3876,3389,2846,2245,1850,2648,3582,3820,3238,2008,1715,1976,2060,1863,2066,2356,2347,2056,1831,1719,1724,2076,2572,2908,2851,2535,2221,2332,2681,2852,3290,2966,2564,2330,2188,2455,2910,2927,2482,2357,2326,2364,2106,1909,3210,3569,2877,2194,2081,2584,2496,2585,3378,2962,2597,2585,2457,2649,2082,1859,2131,2432,2712,2749,3130,2933,2799,3165,2558,2518,3168,2901,2558,2419,3015,3841,3727,2470,2920,2903,2270,2365,2341,2360,2458,2346,2061,2287,2027,1803,2118,2822,2899,2751,2734,2481,2415,2553,2966,2648,2336,2266,2646,2403,2397,2642,3153,3284,2931,2675,2598,2744,2677,2313,2698,2218,2767,2338,2271,2276,2112,1929,2240,2878,2908,2496,2197,1923,2154,2459,2227,1546,1720,1783,1592,1851,2155,2501,2664,1943,2174,2287,1988,1863,1560,1851,1690,1596,1621,1455,1281,1416,1598,1372,1303,1307,1262,1283,1350,1515,1590,1498,1382,1399,1564,1690,2034,2439,2155,2010,2014,1891,1982,2658,2893,2673,2201,2374,2961,3197,3432,3649,3354,3111,3277,3250,2968,2497,3029,3535,3294,2588,2829,3623,3913,3615,2499,1797],[3194,3487,3507,3587,3597,3692,3806,3697,3341,3239,2466,2079,2014,2125,2382,2303,2212,2527,2556,2516,2699,2952,3174,3316,2718,2759,2758,2344,1989,1732,2452,3178,3352,3521,3443,2250,1914,1891,1969,2232,2398,2214,2238,2938,3274,3000,2962,2129,2181,2546,2530,2384,2739,2309,1728,1826,1861,1866,1785,1859,2335,2092,2092,2291,2040,2071,3262,4301,4228,3937,4042,4071,3747,3070,2996,3131,3287,3103,2884,2844,2913,2720,2458,2552,2890,3263,3448,3421,2906,2644,2654,2465,2432,2240,2369,2306,2599,2945,2775,2617,2940,3545,3480,2077,2170,1837,1820,2646,2830,2799,3320,3142,2631,2511,2524,1967,2059,1958,1808,1859,1731,2580,3119,2708,1961,1786,2106,2201,2141,2275,2332,2239,1895,1719,1786,1923,2075,1982,1727,1750,1710,1993,2367,2416,2530,2652,3252,3064,2822,2517,2565,2900,2533,2212,2850,3384,3472,3460,3232,3110,2533,2162,1646,1640,1724,2235,2936,3520,3646,3757,3629,2905,2174,1840,2351,2589,3038,3519,3369,3138,2879,2675,2966,3243,3066,2797,2655,2757,3566,3601,3571,3705,3516,3067,3272,3313,2864,2711,2916,2819,2681,2741,2376,2429,2135,1962,1916,1470,1408,1431,1396,1378,1476,2035,2709,2985,3270,3604,3708,3315,3454,3558,3284,2988,3305,3529,2910,2036,1650,1891,2004,1836,2070,2380,2728,3263,3528,3383,3292,2903,2587,2646,2347,2357,2555,2506,3041,3213,3186,2720,2830,2761,2587,2483,2999,3731,3783,3340,3064,2481,3120,3219,3073,3189,2589,2447,3243,3950,3376,3041,3772,3907,3585,2796,2619,3040,3322,3431,3981,3993,2988,2357,2464,2521,2267,2534,3492,3574,3274,2869,1957,1962,2133,2460,2461,2144,2336,2482,2518,2713,2911,2863,2669,2928,3308,3371,3348,2796,3178,3560,3306,3134,3060,2768,2742,3172,2967,2540,2619,2314,2386,2608,2194,2423,3053,3087,2952,3132,3529,2829,2719,3274,2624,2664,2867,3329,3339,3516,3754,3564,3164,2526,2192,2150,2033,2319,2640,2880,2958,2985,2476,1913,1834,1927,1896,2079,2698,3503,3594,3772,3871,3834,3672,3226,3177,3278,3121,3103,2923,3233,3741,3672,3372,2987,2988,2701,2481,3293,3727,3373,2928,2665,2843,3055,3140,3204,3382,3397,3407,3465,3716,4035,4033,3873,4014,4207,4250,3909,4199,4243,4300,4150,4365,4038,3726,3614,3768,3307,2199,1769,1839,1973,2343,2956,3516,3544,3531,3152,2780,3397,3742,3333,3046,3034,3272,3429,3106,3119,3151,3392,3574,3457,3443,3491,3078,2324,2067,2127,2238,2275,2032,2059,2200,2007,1930,2135,2239,2229,2250,2427,2545,2579,2642,2674,2634,2489,2069,2036,2048,1975,2069,2198,2407,2545,2590,2634,2740,2741,2912,3090,3230,3203,2975,3269,3354,3178,2894,2375,2078,2138,3021,3496,3200,3088,3553,3649,2416,2436,3333,3838,4034,3627,3070,3000,3154,2630,2344,2674,2276,1831,1774,2019,2849,3983,4378,3910,3203,2726,2530,2022,1530,1225,1484,1616,2762,3151,2818,2237,2173,2358,2079,2254,2900,1917,1934,2304,2543,2305,2596,2278,2035,2008,2110,2213,2082,2108,2276,2754,2492,2031,2820,3626,3889,3999,4156,4196,4236,4228,4139,4099,4036,4043,3948,3582,3495,2916,2956,3372,3393,2852,2840,3439,3670,3713,3881,3803,3538,3919,3840,3497,3410,3460,3698,3709,3262,3364,3716,3831,3870,3869,3994,4006,3952,3910,3823,3841,3365,3397,3586,3097,3024,3667,3716,3807,3658,4089,4472,4459,4414,4400,4198,4047,3790,3393,2947,2522,2449,2664,2630,3068,2553,2832,2786,2366,2688,3414,3564,3694,3383,2335,2214,2478,2667,2484,2376,2031,1650,2006,2617,2851,3440,3334,2278,2066,2434,3491,3571,2989,3128,3825,3828,4019,4281,3981,2945,2284,2178,1882,1980,1813,1826,2297,3277,3597,2853,3596,3880,3522,3458,2786,2503,2676,2553,2529,2950,3492,2696,3161,3403,2895,2485,3196,3497,3195,3168,2917,2938,2717,1901,2291,2138,2190,2556,3217,3338,2963,2723,2601,2230,2158,1932,2399,2698,2454,3564,2654,2150,2470,2587,1965,1802,2546,2908,2369,1843,1935,1638,1878,1684,1642,1334,1443,1668,1577,1318,1475,1778,1955,2405,2478,2190,2271,2256,2397,2259,2348,2074,1758,1765,1666,1744,1760,1554,1499,1614,1841,2242,2248,2244,2332,2254,2490,2548,2379,2249,2039,1824,1749,1745,1981,2115,2579,3925,4084,3602,3658,3670,3428,3357,3429,3451,3320,3056,2690,2582,2630,2973,3287,3017,2884,2996,3004,2944,2975,3001,3142,2919,2539,3532,4200,3626,3156,3162,3249,3249,3096,2484,2197,2025,1884,2178,2046,2546,2874,2619,2425,2075,2132,2172,1825,1791,1622,1650,1597,1704,1931,2237,2131,1855,1874,1904,1952,2059,1948,1625,1655,1572,1529,1692,1591,1465,1651,1626,1846,1650,1292,1329,1522,1722,2196,2398,2613,2877,1914,1485,1476,1628,1601,2177,2636,1967,1598,1707,2040,2733,2878,1909,1950,1896,1656,2036,1764,1427,1733,1982,2322,2647,2262,2066,2911,2930,3462,3364,2942,3235,3108,2519,2636,2426,1854,1963,2931,3207,2719,2750,3345,2805,2779,2568,2160,2231,2473,2588,2810,3937,4476,4276,3774,2426,1522,1112,1106,1771,1959,1730,1810,1730,1713,1799,2032,2675,3017,2619,2578,2931,2590,2380,2789,2739,2541,2944,2934,2542,2581,2162,1997,2455,1787,1304,1760,1905,1939,2476,2717,2146,1709,2332,2324,1890,2187,2069,2126,1773,1498,1510,1482,1632,1533,1296,1277,1241,1343,1434,1484,1698,1704,1518,1372,1644,1998,1892,1580,1539,1599,1651,1459,1598,1757,1652,2075,2597,2269,1584,1526,1852,1744,1653,1746,1691,1796,2156,2244,1713,1509,2148,2335,2088,1750,1483,1529,1812,1847,1750,1767,1795,1672,1376,2018,1710,1559,1665,1482,1418,1475,1531,1539,1376,1340,1427,1261,1237,1314,1391,1380,1597,1614,1493,1534,1636,1757,1824,1809,1681,1520,1744,1714,1590,1736,1820,1544,1402,1429,1418,1400,1460,1544,1632,1843,1757,1828,1864,1838,1769,1841,2343,3134,3526,3496,2937,1748,1600,2069,2995,2870,2104,1839,1770,1743,1633,1696,1604,1533,1553,1797,2071,2234,2432,1902,1621,2031,2408,2063,1583,1537,1504,1412,1575,1396,1219,1303,1577,1603,1764,1488,1398,1726,1941,1694,1609,1833,1846,1529,1476,1543,1366,1555,1387,1461,1281,1527,1672,1408,1361,1293,1264,1284,1418,1432,1489,1355,1412,1456,1602,1547,1284,1643,2070,2146,1953,1818,2149,2138,2093,2088,2040,1951,1898,1952,2245,2381,2347,2326,2385,2439,2514,2655,2700,2215,1968,1957,1904,2238,2064,1718,1720,1615,1516,1878,1990,2388,2980,3045,2707,2168,1895,1415,1026,994,1073,1069,907,981,1362,1600,1487,1331,1389,1633,1830,2090,2530,3229,3278,2497,2374,2834,2286,2302,2141,2533,2508,2354,2386,2526,2553,2985,3159,2791,2964,3251,2636,2244,2123,1968,1997,1825,2095,2143,2096,2146,2566,3215,3718,3786,3409,3303,3318,3182,3298,3373,3029,2873,3069,2961,2584,2862,2898,2695,2923,3068,3206,3119,3155,3318,3286,3780,4591,4727,4330,4311,4356,4079,3849,4240,4196,4001,4107,4195,4585,4709,4723,4636,4439,4355,4471,4440,4175,4067,4336,4265,4188,3959,3794,3721,3636,3636,3530,3311,3433,3641,3523,3503,3623,3838,4163,4171,4170,4473,4537,4345,4084,4004,4125,4241,4409,4142,4188,4189,3818,3727,3934,3868,3676,3715,3745,3312,2902,3220,3515,3587,3442,2718,3220,3370,3352,3453,3442,3110,2906,3001,2855,2816,2917,2678,2864,1833,1813,1717,1968,2193,2342,2589,2693,2632,2497,2087,1734,1686,1660,2188,1740,1531,1841,2316,2287,1838,1748,2397,3123,3193,3492,3480,2994,3111,3385,2905,2276,1980,1980,2127,2555,2976,3060,3007,2717,2642,2749,2691,2212,2520,3168,3635,3774,3139,2664,2924,2452,2887,3563,2978,2800,2708,2500,2539,2690,2536,2422,2535,2655,2365,2279,2164,2258,3022,3828,3768,3253,3769,4316,4421,3994,3443,3321,3253,3262,3386,3327,2857,2678,2872,2454,2460,2784,2886,2893,2738,3052,3752,4170,4320,4340,4315,4151,3631,2979,3142,3034,3215,3781,3479,3175,3939,4781,4728,4740,4452,4372,4496,2773,884,562,571,1335,2837,3769,3698,3790,3580,3389,3046,2796,2771,2698,2764,3005,3070,3146,3238,3331,3405,2844,2344,2382,2612,2745,3152,2978,2779,2627,2042,1700,1826,1938,2191,2287,2167,2007,1972,1659,1578,1791,2066,2331,2825,3053,2836,2446,2064,2610,3040,2237,2092,1880,2098,2153,2166,1865,1782,2371,2228,1766,2014,2377,2282,2136,2111,2725,2852,2763,2846,2901,3105,2876,2433,2369,2237,2094,2051,2010,2292,3173,2503,2579,3281,3212,3311,3225,2810,2562,2939,2562,2601,2831,3006,3012,2576,2166,2678,2953,2530,2323,2756,4211,4832,4355,3075,2258,2253,2739,3341,3370,2608,1775,1504,1896,1910,1618,2035,2097,2507,2236,1835,1547,1549,1738,1831,2169,2502,2623,2446,2342,2280,2486,2858,2691,2727,2808,2314,2385,2728,2521,2432,2994,2634,2132,1794,2078,2734,2728,2188,1882,2257,2701,2524,2597,2791,2892,2824,2184,2071,2194,1807,2060,2353,2536,2696,2819,3020,2952,3614,4043,2758,2176,2778,2526,2164,2353,2885,3143,3373,3083,3178,2787,2175,2440,2165,2121,1918,1920,2224,2262,1921,2321,2758,3227,3271,3261,3084,2275,2007,2822,3347,3147,3069,2749,2620,2242,2359,2901,3012,2977,3181,3006,2436,2720,2110,2173,2658,1886,2370,2792,2360,2264,2318,2268,2483,2473,2442,2658,2632,2293,1963,1901,1557,1293,1692,1869,1613,1723,1727,1776,2155,1965,2364,2321,1876,1542,1552,1811,1809,1914,1845,1552,1471,1513,1615,1513,1600,1468,1396,1370,1555,1541,1410,1300,1345,1597,1689,1565,1968,2242,1993,1959,2062,2076,2268,2543,2722,2587,2259,2412,3067,3450,3738,3747,3593,3394,2958,2590,2522,3006,3480,3808,3582,2830,2786,3064,3582,4478,4006,2819],[3330,3611,3628,3818,4018,3940,4013,3806,3603,3416,2897,2887,2911,2800,2897,2897,2675,2523,2614,2741,2954,2948,3183,3177,3055,3039,2830,2673,2361,2143,2641,3110,3292,2889,2498,1951,1947,1887,1845,1829,1917,2097,2214,2917,3475,3518,2872,1944,1687,1806,2145,2372,2347,1899,1805,1873,1812,1889,1740,1833,2341,2093,2047,1899,1917,2900,3696,4240,4372,4002,3903,3847,3662,2890,2912,3372,3558,3045,2823,2775,2665,2783,3020,2842,2643,3062,3278,3047,2614,2601,2670,2287,2304,2404,2385,2366,2492,2853,2941,2601,2584,3095,3006,2060,2413,2540,2536,2666,2220,2112,2727,3018,2918,2913,2757,1971,1858,1802,1726,1795,1671,2038,2675,2469,1919,1509,1798,2148,2288,2165,2126,2323,2101,1601,1615,1859,2044,1832,1912,2332,2136,2016,2778,2585,2521,2197,2937,3228,2892,2966,2979,2801,2343,1961,2874,3576,3721,3516,3251,3105,2775,2461,1964,1770,2316,2601,2921,3605,3773,3952,3518,2555,2718,2143,2133,1862,2918,3266,3538,3929,2909,2616,2805,2685,2472,2890,2889,3653,3630,3311,3407,2953,2492,2710,2937,2561,2489,2905,2962,2509,2274,2353,2142,2199,1637,1438,1395,1363,1375,1362,1399,1401,1390,1538,1876,2534,3139,3234,3460,3730,3341,3583,3539,2860,3254,4138,3684,2621,1913,2013,1963,1786,2120,2255,2736,3176,3365,3322,3167,2791,2299,2690,2426,2674,2424,2429,2800,3122,3210,2918,2612,2357,2288,2432,2998,3598,3696,3222,2609,2261,2685,3260,3098,3068,2881,3009,3742,3964,3676,3658,3905,4039,3673,2514,2237,2766,3216,3365,3664,3761,3273,3006,2710,2280,2260,2851,3860,3960,4004,2980,2128,2066,2223,2403,2484,2381,2504,2596,2580,2670,2760,2751,2693,3105,3552,3936,3610,3305,3719,3523,3197,2667,2472,3441,3349,3399,2998,2895,2863,2636,2758,2584,2285,2508,2930,3055,2796,2750,2777,2513,2401,2886,2808,2490,2551,2597,2785,2865,2507,2323,2429,2215,2177,2345,2288,2171,2225,2244,2352,2395,2177,2315,2546,2598,2250,2496,2968,3459,3567,3665,3738,3847,4019,3682,3097,3001,3145,3289,3108,3565,3840,3554,2872,3086,3360,3284,3318,3791,3523,3299,3583,3239,3122,3245,2906,3321,3200,3517,3746,3776,3814,3977,4047,3846,4034,4113,4070,3481,3702,3827,3706,3890,4209,4010,3761,3747,3687,3366,2474,2074,1846,2071,2473,3175,3973,4028,3853,3343,3276,3492,3251,2765,2287,2480,3040,3063,2503,2423,2631,3338,3689,3560,3571,3646,3193,2386,2092,2219,2097,1940,1893,2140,2045,1764,1891,2075,2084,1958,2007,2039,1996,2095,2287,2316,2427,2294,1973,1918,1926,1831,1881,2525,3353,3420,2723,2574,2978,2900,2945,3112,3031,3066,3129,3329,3469,3665,3710,3405,2770,2164,2654,3372,3196,3152,3516,3182,2187,1985,2379,3284,3876,3518,3216,3425,3732,3194,2401,2034,1907,1636,2001,2535,2729,3310,4266,3182,2186,2010,1839,1773,1599,1321,1288,1239,2051,2570,2442,1814,1128,1581,1862,2340,2811,2340,2232,2100,1922,2257,2897,2647,2378,2146,1978,2059,2066,2207,2558,3109,2525,1872,2157,3172,3851,3973,4048,4123,4189,4164,4015,4168,4041,3927,3753,3629,3045,2886,3275,3731,3804,3281,3076,3592,3610,3565,3849,4053,4002,4116,3991,3063,2822,3292,3552,3559,3707,4145,3987,3704,3869,3869,3719,3816,3845,3844,3840,3873,3855,3890,3814,3778,3862,4099,4188,4278,3386,3543,4228,4399,4355,4331,4284,4133,3542,2973,2631,2513,2728,2962,3094,3060,3195,3219,2671,2435,3038,3227,2785,3194,3463,1948,1887,2207,2338,2449,2320,1895,2237,3137,3506,3118,3164,2979,2314,2335,2746,3159,2883,2980,3064,3484,4020,4189,3730,2872,2318,2735,2974,2798,2575,2105,2422,2535,3187,3132,3081,4100,4741,3994,2679,1931,2393,2777,2279,2540,3507,3042,2480,2951,2983,2445,2534,3350,3283,3107,3162,3166,3172,2573,1869,2767,2318,2656,3528,3531,2583,2208,2340,2389,2662,3132,1820,2313,2657,2701,3106,2173,2127,2304,2486,2143,1966,2702,2908,2812,2203,2144,1793,1864,1744,1688,1588,1581,1553,1391,1435,1688,1604,1660,1872,1914,1937,2153,2162,2161,2249,2266,1835,1559,1563,1562,1573,1642,1576,1592,1688,2007,2237,2120,1929,1877,1863,1864,1896,2144,2386,2496,2710,2812,2636,3266,3595,3495,3429,3103,3208,3371,3167,3139,3150,3112,3238,2975,2871,2733,2881,3119,3290,3248,3104,2971,2796,2657,2753,3156,3349,3787,3676,3093,3934,4480,3861,3295,3301,3238,3211,3348,3119,2755,1962,1954,1956,2155,2774,2872,2635,2893,2832,2442,2343,1700,1726,1634,1608,1664,1888,2000,2145,2033,1815,1847,1819,1929,2544,2598,1743,1748,1740,1652,1578,1553,1512,1554,1692,1698,1502,1541,1843,1598,1642,2151,2432,2335,2962,2214,1686,1626,1486,1643,2330,2502,2014,1836,1511,1992,2337,2029,1829,1775,1769,1787,1781,1640,1752,2057,2098,2582,2488,2209,1982,2719,2751,2834,3110,3286,3284,2752,2874,3306,2654,1981,1483,1943,2661,2526,2654,2879,2776,3053,2554,2050,2486,2535,2513,3175,4196,4221,4016,3441,2023,1508,1741,1998,2536,2549,2002,1625,1802,2299,2781,2263,2090,2558,2378,2220,2504,2382,2362,2854,2553,2359,2791,2343,2065,2426,2216,2475,1994,1228,1833,2378,1999,2107,2400,2434,2240,2183,2256,1977,1992,2497,2318,1832,1535,1534,1500,1440,1350,1297,1406,1307,1360,1320,1434,1307,1401,1581,1506,1489,1645,1842,1841,1783,1658,1692,1716,1515,1719,1859,1787,2181,2575,2367,1714,1577,1648,1727,1828,1680,1904,2213,2545,2377,1855,1665,1934,2229,2050,1637,1450,1696,2006,1930,1727,1784,1816,1697,1622,1691,1405,1816,2244,1850,1739,1992,1675,1598,1384,1418,1364,1288,1362,1376,1335,1337,1539,1668,1503,1384,1330,1340,1436,1459,1639,1668,2134,2078,1551,1924,2245,1825,1582,1398,1371,1305,1565,1718,1391,1596,1820,2059,1839,1640,1854,2167,2553,3341,3807,3522,2965,1865,1643,1957,2276,1946,1556,1559,1469,1361,1469,1581,1772,2341,2001,1566,1885,2287,2175,1704,1836,2656,2763,1993,1621,1801,1724,1510,1454,1275,1297,1409,1595,1638,1503,1447,1379,1616,1866,1648,1535,1708,1686,1482,1398,1516,1606,1532,1395,1582,1452,1875,2060,1656,1709,1340,1267,1274,1631,1508,1329,1126,1234,1519,2030,1981,1528,1839,2121,2088,1977,1868,2204,2255,2124,1729,1767,1915,1764,1924,2301,2430,2404,2525,2619,2512,2632,2745,2315,1978,2052,1978,1956,2303,2280,2150,1678,1343,1757,2587,2132,2360,2872,2973,2750,2217,1827,1321,948,1004,971,983,966,1022,1236,1601,1508,1283,1333,1546,1869,2495,3119,3254,2956,2395,2198,1996,1867,1929,1972,2630,2909,2809,2720,2668,2859,3189,3164,2674,2626,3111,2852,2501,2284,2319,2207,1932,1847,2122,2271,2301,2461,2547,2895,3629,4037,3748,3285,2711,2865,3182,3249,3198,3121,2832,2832,3108,2048,1374,2489,2874,3208,3083,2839,3083,3374,3642,4205,4622,4320,4082,4191,4072,3675,4004,4141,3852,3651,3728,4140,4144,4140,4709,4752,4648,4842,4764,4619,4495,4604,4500,4353,4071,4058,4041,3757,3666,3727,3659,3721,3666,3628,3662,3750,4056,4304,4371,4353,4397,4493,4460,4193,4321,4321,4319,4628,4628,4393,4116,4040,4175,4312,4328,4208,3912,3738,3486,3033,3196,3544,3936,3802,3017,3105,3318,3341,3420,3330,3142,3185,3283,3091,2983,3020,2929,2852,2586,2675,2445,2411,2598,2548,2477,2535,2521,2530,2485,1853,1478,1607,1947,1791,1648,1585,1656,1828,1848,2166,2928,3298,3185,3418,3108,2932,3492,3973,3474,2497,2155,2149,2176,2881,3068,2824,2483,2320,2219,2718,3178,2562,2053,2623,3365,3207,3021,3021,2968,2003,2477,2675,2646,2715,2725,2652,2820,3088,2934,2630,2742,2829,2231,1962,2761,3228,3427,3627,3379,3143,3592,4218,4541,4405,3627,3359,3203,3153,3282,3325,3000,2895,2858,2632,2525,2692,2919,2996,2777,2868,3144,3681,3724,3650,3791,3364,2653,2599,3218,3450,3500,3872,3534,3198,3603,4383,4652,4476,4113,4015,4460,3329,1668,1237,1705,2376,2775,3557,3797,3807,3880,3738,3083,2810,2845,2812,2846,3060,3249,3370,3365,3340,3471,3050,2372,2324,2430,2632,2628,2597,2678,2807,2543,2236,2339,2319,3179,3231,2814,2343,2032,1841,1721,2129,2177,2318,2932,3397,2779,2134,1995,2382,2136,1878,1817,1859,2133,1988,1895,1878,2293,2653,2171,1824,1813,2000,1796,1830,1741,2150,2714,2986,2986,3055,2823,2412,2391,2180,2319,2222,2557,2380,2676,3334,2897,3108,3376,2967,3218,3352,2978,2159,2537,2462,2659,2765,2895,2741,2278,2540,2828,2576,2357,2546,3419,4552,4561,3563,2561,2278,1783,1761,2547,2655,2207,2181,1723,1613,2111,2525,2211,2076,2436,2272,2014,2041,2335,2390,2375,2689,2631,2757,2440,2398,2143,2245,2811,2817,2505,2501,2222,2265,2695,2731,2605,3277,2941,2018,1891,2277,2641,2473,1975,1923,2421,2663,2633,2395,2517,2801,2698,2525,2498,2200,1903,2386,2524,2510,2697,2841,2896,3230,3814,3031,1666,1699,2494,2810,2560,2643,3047,3096,3118,3551,3592,2784,2035,2169,2197,2161,2174,2264,2248,2148,2301,2636,2675,2823,2734,2850,3186,3051,2584,3107,3261,3014,2788,2587,2566,2487,2535,3152,3355,3097,3219,3035,2807,3029,2559,2857,2894,2378,2205,2212,2264,2504,2818,2913,2866,2328,2418,2625,2663,2109,1701,1658,1308,1328,1887,1930,1622,1538,1420,1478,1713,1826,2094,1924,1710,1638,1574,1511,1602,1682,1511,1435,1480,1550,1413,1552,1808,1984,1867,1624,1751,1553,1281,1340,1504,1614,1664,1307,1783,2065,1932,1964,2060,2426,2648,2691,2875,2512,2349,2922,3311,3629,3807,3652,3459,3597,3293,2459,2263,2924,3407,3112,2743,2342,2321,2660,2840,3651,3787,3585],[3222,3086,2574,3197,4344,4580,4493,4018,3492,3137,3137,3305,3056,3631,3527,3030,2633,2805,3398,3237,3014,3300,3428,3069,2868,2784,2876,2894,2522,2625,2460,2397,2194,2002,1988,1826,1832,2078,2366,2453,2272,2445,2420,2614,2595,2696,2167,2207,2364,1984,1870,2078,1839,1805,2002,1974,1984,1696,1654,1924,2070,2065,2042,2018,2676,3542,3770,3720,3874,4092,4152,3858,3326,2676,2625,3012,3492,3422,3052,2801,2712,2754,2840,2799,2306,2664,2996,2585,2423,2467,2357,2189,2492,2567,2366,2576,2592,2697,2589,2695,2504,2683,2577,2231,2340,2441,2373,2441,2211,2274,3002,3295,3118,3043,2918,2256,1799,1654,1642,1595,1526,1969,2370,2554,2718,2030,2337,2279,2072,2019,1918,2183,1933,1643,1779,2078,2203,2064,2103,2266,2227,2162,2563,2520,2755,2744,2854,3072,3168,2953,2428,2701,2789,2457,3361,3602,3452,3304,3228,3088,2980,2447,2101,2517,2924,2868,2986,3245,3385,3708,3292,2385,2387,2225,2436,2237,2648,2827,3365,3664,3270,3354,3420,2918,2562,3143,2958,3218,3394,3393,2900,2129,2091,2474,2642,2413,2584,2665,2556,2258,2396,2250,2182,2014,1456,1353,1410,1385,1329,1332,1389,1449,1404,1429,1536,1792,2754,3323,3620,3559,3381,3672,3440,3341,3759,4220,4042,3454,2965,2677,2289,1975,1984,2221,2958,3357,3480,3178,2942,2770,2621,2758,2955,3256,2541,2732,3173,3239,3220,2989,2352,2577,3095,3075,3240,3597,3332,2872,2598,2595,2806,3399,3742,3758,3738,3637,3818,3846,3826,4096,4007,3918,3505,2708,2412,3386,3886,3602,4172,4349,4126,3784,2775,2389,2588,2887,3431,3297,3366,2678,1948,2249,2431,2497,2539,2299,2519,2507,2577,2702,2611,2573,2735,3234,3740,3880,3210,3298,4155,3707,3790,3658,3285,3537,3130,3255,3112,2771,2677,2961,2978,2754,2558,2454,3287,3099,2573,2850,2940,2833,2811,3332,3061,2663,2574,2080,2382,2428,2404,2471,2564,2619,2781,2791,3085,2913,2314,2227,2227,2080,2220,3113,3188,3356,2812,2586,2996,3348,3400,3562,3797,4014,3868,2850,1974,1780,2078,2746,3152,3504,3522,3159,2534,2532,3436,3775,3688,4111,3521,3674,3762,3495,3450,3655,3514,3633,3354,3771,4212,3818,3442,3405,3680,3661,3882,4051,3730,2927,2951,3526,3649,3745,4004,3899,3812,3697,3709,3854,3602,3098,2272,2350,2770,3558,4115,4208,3615,2598,2767,3209,3052,2937,2654,2792,2943,2197,1813,2319,2778,3177,3454,3540,3983,4056,3650,2780,2417,2357,2454,2610,2455,2344,2295,2273,1980,1889,1982,1969,2158,2230,2167,2293,2634,2417,2326,2471,2504,2366,2262,2231,2558,3226,3424,3363,3000,3002,3072,3251,3466,3127,2925,3053,3090,3246,3505,3741,3984,3671,3232,2735,2178,2676,3042,2994,2847,2321,2086,2019,1809,2181,2934,3483,3560,3707,4014,3665,2867,2207,1830,1750,1988,2326,2364,2476,3854,2984,2333,2270,2332,2126,1788,1779,1843,1829,2086,2251,2110,1749,1601,1823,1986,2328,2309,2345,1860,1277,1450,2021,2322,2320,2534,2220,1564,1896,2118,2257,2188,2669,2270,2459,2822,2898,3592,3956,4012,4061,4140,4124,4080,4119,3913,3573,3403,3263,3418,3553,3514,3784,3799,3517,3498,3123,3266,3259,3682,4111,4115,4132,4068,3493,3340,3815,3956,3794,4021,4061,3887,3762,4035,4093,4039,4039,3995,3993,3994,4048,3974,3479,3457,4073,4212,4167,4111,4251,4168,3927,4145,4452,4315,4072,3806,3650,2932,2339,2509,2391,2614,2953,3118,3249,3371,3317,2521,2040,2952,3464,3005,3674,3636,2564,2669,2873,2513,2418,2364,2520,2998,3334,3139,2955,3257,2945,2698,2155,2646,3056,3418,3216,2518,2957,3821,3482,2439,1995,2387,3241,3356,3377,3447,3113,2911,2698,3112,3564,3500,4100,4008,2241,1399,1342,1535,2655,2502,2958,3474,2409,2434,2978,2756,2397,2930,3108,2875,3000,3250,3395,3271,2377,2253,2907,2483,2741,3980,3548,2540,3189,2751,3112,3293,3078,1880,2322,2674,2885,2504,2248,2432,2673,2968,2482,2666,2902,2920,2877,2495,2138,1719,1573,1528,1659,1771,1627,1478,1345,1394,1656,1428,1520,1598,1667,1637,1738,1634,1658,2047,2095,1654,1394,1160,1227,1387,1757,1848,1779,1830,1826,1742,1798,1886,1832,1830,1794,1760,1824,2002,2711,2996,3074,3081,3548,3718,3498,3221,3073,3142,3007,2880,3088,3060,3107,3056,2852,2943,3053,3168,3262,3130,2930,2920,2777,2708,2754,2910,3106,3200,3260,3518,3373,3271,3342,3338,3465,3658,3539,3477,3230,2894,2510,1766,1718,1727,2119,2696,2803,2765,3278,3073,2603,2242,1567,1587,1611,1484,1580,1717,1737,1862,1815,1726,1747,1742,2143,3116,2723,1896,1712,1556,1666,1830,1807,1643,1798,2093,1880,1799,1600,1716,1467,1556,2159,2504,2425,2346,1881,1664,1532,1520,2162,2391,2515,2343,2150,1992,2541,2402,2197,2208,2259,2491,2444,1832,1620,1778,1810,1779,2200,2641,2715,2704,2744,2636,3062,3791,4027,3697,3056,2896,3034,2779,2584,1649,1440,2045,2503,2431,2784,3256,2886,2390,2256,2444,2708,2722,2749,2611,2584,3084,2662,1742,1826,2598,2920,2786,2433,2136,1678,2304,2813,3198,2539,2184,2086,2042,1879,1866,1934,2193,2545,2334,2111,2174,1856,2054,2478,2229,2308,1913,1861,2568,2356,1954,2033,2142,2480,2491,2381,2124,2067,2330,2632,2395,1551,1346,1394,1484,1607,1248,1239,1369,1338,1464,1412,1482,1343,1244,1504,1657,1527,1583,1836,2038,1903,1725,1891,1599,1520,1681,1913,2094,2283,2338,2048,1597,1574,1684,1692,1652,1469,2022,2331,2194,2228,1970,1781,1991,1934,1622,1435,1435,1637,1732,1689,1668,1738,1812,1728,1436,1321,1321,1592,2164,2093,1679,1796,1802,1810,1614,2014,1544,1289,1354,1339,1318,1310,1412,1501,1358,1310,1262,1329,1368,1250,1528,1686,2048,1993,1628,1741,1894,1994,1947,1378,1322,1442,1748,1813,1588,1454,1897,2247,1788,1561,1836,1870,1750,2142,2958,2851,2669,1913,1726,1810,1546,1425,1366,1526,1738,1392,1343,1490,1698,2467,2824,2523,2686,2519,2212,2011,1819,2024,2112,1918,1844,1765,1803,1576,1472,1435,1520,1405,1610,1640,1422,1686,1576,1359,1517,1417,1440,1915,1870,1795,1564,1425,1494,1462,1454,1368,1310,1420,1552,1521,1670,1350,1324,1259,1311,1151,1194,1200,1345,1902,2614,2482,1803,1747,2039,2142,2041,1859,1992,1953,1938,2222,2808,2494,1666,1994,2409,2473,2541,2564,2543,2818,2856,2407,2112,2014,1924,1752,1809,2105,2590,3006,1738,1693,2455,3403,2648,2476,2922,3077,2809,2277,1798,1508,1171,1224,1072,1078,1033,1028,1253,1552,1418,1335,1660,2049,2415,2758,2673,2391,2126,2012,1901,1627,1710,1846,2034,2148,2236,2706,2956,3140,2844,3228,3264,3063,2635,2934,3249,3106,2742,2185,1992,2126,1968,2127,2287,2966,3050,2785,2458,2741,3447,3967,3830,3196,2968,3228,3484,3561,3188,2940,2791,2884,1902,1001,1962,2714,2965,3155,2971,2943,3262,3481,3848,4272,4355,3972,4061,3926,3561,3708,3991,3850,3654,3762,3990,3893,4268,4764,4778,4827,4707,4896,4764,4266,3962,3979,4085,4130,4428,4349,3997,3673,3676,3531,3495,3574,3688,3735,3827,4139,4396,4551,4580,4476,4319,4499,4092,4377,4368,4186,4423,4603,4252,4008,4252,4440,4040,4090,4580,4300,3884,3650,3497,3549,3606,3751,3818,3096,2654,3212,3491,3522,3326,3254,3292,3394,3218,2864,2932,3012,2867,2935,2825,2451,2568,2685,2598,2401,2480,2464,2787,2903,2125,1766,1811,1879,1789,1796,1943,1922,1962,1660,1886,2331,1966,1907,2403,2402,2577,3030,2810,2128,2362,3160,2939,2923,3108,3083,3342,2932,2209,2182,2609,2735,2701,2442,2387,2993,3594,3905,3407,2752,2209,2397,2675,2574,2555,2766,2761,2800,2769,2598,1970,1925,2424,2562,2420,3193,3482,3260,2996,2751,2790,3470,4172,4492,4604,3883,3516,3458,3275,3202,3408,3445,3162,2739,2577,2595,2615,2920,3021,2834,2800,2823,3082,3165,3131,3344,3093,2766,2976,3155,2898,2843,3348,3896,4028,4132,4060,3985,3518,3649,4014,4307,4394,4086,3373,3250,3905,3716,3587,3706,3737,3719,3353,2867,2819,2986,3010,2858,3060,3327,3582,3585,3236,3194,2996,2516,2463,2618,2589,3862,5317,3204,2877,2722,2853,2752,2602,3424,3309,3046,2194,1936,1980,1738,1592,1946,2596,2683,3062,2770,2333,2127,2056,1876,1858,1776,1830,1778,1714,1764,2014,2518,2236,1757,2115,2519,2460,2046,1830,1745,2248,3124,2889,3099,3146,2434,1885,2042,2186,2313,2420,2769,2370,2414,2609,2508,2931,3407,3194,3088,3306,2858,1966,2056,2367,2597,2523,2783,2459,2456,3418,3811,3515,2689,2568,3630,3991,3938,3261,2333,2116,1745,1482,2053,2232,2288,2724,2366,2146,2556,2601,2585,2568,2106,1958,2182,2341,2554,2588,2586,2796,2876,2745,2579,2757,2335,2272,2369,2419,2732,2518,2324,2310,2854,3084,2707,2294,2114,2064,2133,2184,2312,2232,2122,2584,2879,2604,2879,2635,2973,2659,2365,2618,2428,2087,2535,2779,2413,2369,2662,2981,2957,3172,2912,2648,1810,2300,2954,3152,2677,1927,2188,2558,3031,3616,3554,3312,2832,2778,2521,2375,2492,2279,2464,2326,2303,2691,2822,2683,2856,3262,3317,3033,2816,2700,2411,2464,2665,3032,3611,3278,2221,3025,3190,3022,2944,2878,3167,3122,2711,2457,2565,2644,2313,2454,2568,2509,2723,3028,2846,2334,2705,2547,2348,2019,1989,1829,1307,1432,2260,2153,1754,1553,1390,1428,1446,1601,1621,1436,1605,1615,1573,1645,1502,1530,1450,1425,1470,1580,1363,1124,1399,2176,1940,1513,1536,1445,2035,1820,1563,1450,1805,1653,1777,1976,1969,1976,2042,2014,2113,2614,3140,2720,2585,2807,2949,3120,3312,3096,2897,3321,3327,2602,1991,2312,3153,3234,2564,1839,1424,1986,2189,2668,3149,3291],[3605,3588,3269,3956,4848,5133,4684,3828,3637,3670,3488,3486,3660,3928,3388,2849,2733,3003,3143,2995,2856,2779,2251,1873,1712,2084,2546,2621,2241,2450,2290,2053,1759,1869,1714,1293,1603,2447,2577,2486,2526,2750,2211,2311,2333,2821,2919,3122,3379,2969,2425,2379,2543,2337,2064,2314,2723,2521,1958,1820,1903,1724,1777,2385,2786,3266,3594,3491,3897,4285,3970,3473,2928,2710,2738,2928,3591,4171,3772,3133,2846,2762,2719,2659,2306,2960,3783,3212,2484,2303,2237,2099,2195,2127,2039,2689,2863,2714,2832,3041,2579,2315,2339,2201,2214,2350,2454,2574,2624,2734,3110,3300,3352,3246,3293,2471,1594,1702,2048,2012,2116,2255,2818,2957,2909,2620,2316,2357,2037,1876,1954,2236,2470,2348,2356,2363,2113,2149,2287,1784,1946,2269,2540,2458,2439,1999,1581,2208,2944,2612,1976,2913,3408,2712,3150,3267,3207,3095,3482,3908,3727,2640,1874,2243,2695,2442,2565,2617,2749,3007,2629,2476,2154,2415,2788,2920,3110,2661,2962,3198,3134,3105,3220,2435,3033,3302,3115,3259,3504,3485,2598,1835,2189,2714,2796,2439,2442,2306,2193,2160,2137,1965,2229,1978,1534,1309,1373,1402,1378,1346,1390,1447,1389,1404,1460,1581,2900,3708,3775,3874,3636,3538,3260,3077,3233,3827,3795,3444,3279,3409,3010,2362,2107,2389,3082,3298,3496,2863,2753,2853,3094,3085,3294,3408,3081,2997,3150,3162,3222,3019,2382,2691,3103,2834,3074,3365,3274,3039,2999,3050,3082,3599,3736,3695,3758,3848,3886,3839,3879,3917,3613,3356,2805,2404,2822,3511,3350,3515,4477,4329,4085,3635,2646,2271,2234,2459,2846,2635,2393,1958,1831,2492,2600,2564,2677,2576,2648,2642,2734,2807,2767,2730,2769,3159,3681,3773,3540,3717,4061,3806,4212,4225,3963,3310,2662,3083,3628,3216,2965,3397,2314,2842,2719,2741,3534,3747,3406,3431,3483,3201,3011,3410,3300,3062,3370,3240,3621,3416,3453,3714,3770,3552,3573,3587,3415,2929,2722,3093,3243,2754,2418,3250,3740,3627,3080,2670,2996,2685,2265,2784,3076,3115,2651,2030,1951,1921,2479,2877,3144,3127,3062,3448,3161,2923,3523,3448,3338,3715,3584,3569,3407,3177,3220,3625,3651,3558,3332,3386,3742,3983,3971,3569,3732,3719,3798,3780,3682,3129,3082,3572,3396,3162,3256,3619,4221,4074,4284,4540,3992,3460,3008,2865,3012,3629,4050,4051,3582,2971,3278,3394,3241,2857,2235,2666,2793,2245,1877,2145,2655,2984,3331,3248,3628,3638,3639,2908,2664,2629,3003,3097,2854,2908,3089,3035,2806,2846,2554,2567,3066,3310,3165,3178,3355,3399,3528,3607,3522,3741,3884,3920,3666,3483,3286,2980,2800,2794,2864,3298,3309,2807,2857,3218,3190,2955,3458,3840,3646,3449,3422,3283,2723,2247,2071,2278,2361,2765,2954,2604,2184,1838,1982,2757,3500,3813,3723,3561,3293,2545,1936,1831,2166,2552,2477,2297,3428,3140,2552,2307,2307,2167,2097,2376,2542,2191,1708,2020,2166,1717,1770,2093,2226,2320,2500,2444,1600,1136,1395,1706,2007,1602,2011,2013,1725,2151,2747,3106,2319,1723,1957,2977,3117,2688,3439,3895,3975,3974,4027,3920,3502,3723,3482,2828,3220,3439,3629,3615,3525,3604,3592,3664,3481,2428,2620,2828,3566,4197,4209,4221,4244,4132,4040,4005,4056,3971,4005,3872,3806,3916,4091,4112,4064,4063,4097,4091,4060,4060,3990,3472,3742,4099,4175,4144,4048,4159,4254,3928,3834,4132,3715,3205,3095,3249,2805,2324,2532,2555,2940,3082,2873,2929,2869,2997,2610,2109,2702,2943,2945,3754,3340,2889,2941,2604,2435,2975,3217,2877,2658,2669,2664,3002,3118,2745,2503,2263,2864,3535,3680,3208,3121,3862,3610,2585,2217,2464,2987,3452,3137,3048,3231,3320,3492,3071,3331,3887,3389,3830,3370,1707,1880,1980,1502,2484,2709,3270,3105,2041,2357,3138,3024,2833,3154,2912,2824,3133,3407,3628,2929,2479,2889,2907,2395,2784,3442,3271,2469,2976,3094,3340,3106,2746,2194,2047,2408,2590,2471,3200,3076,2697,2288,2587,3022,3022,2887,2695,2160,1777,1887,1758,1549,1671,1908,1680,1555,1521,1411,1402,1459,1447,1454,1641,1532,1420,1521,1675,1886,1838,1686,1497,1193,1458,1894,1976,1848,1779,1741,1697,1621,1820,1953,1920,1953,1866,1869,1931,2687,3343,3219,3074,2934,3111,3419,3519,3367,3169,3097,3042,2898,2641,2768,3231,3227,3055,3162,3186,3031,3005,2937,2921,2831,2806,3018,2900,3078,3073,2923,2950,3112,2793,2394,2544,2574,2911,3171,3525,3698,3151,2619,2343,1912,1617,1650,1870,2245,2569,2855,3348,2464,2049,1704,1760,1671,1606,1579,1758,1892,1851,1807,1640,1642,1584,1639,1658,1932,2074,1913,1766,1693,1711,1679,1904,2202,2300,1996,1710,1803,1705,1693,1519,1635,1820,1779,1835,1963,1863,1742,1892,2083,2199,2077,2082,2305,2434,2668,2483,2108,2118,2401,2808,2386,1953,1608,1674,1579,1670,1770,1757,2184,2511,2618,2420,2447,3273,3864,4144,3709,3227,2841,2763,2875,2555,1737,1480,2200,2261,1946,2495,2746,2265,2083,2210,2477,2497,2513,2757,2340,1714,1730,2023,1806,1754,1956,2081,2347,2119,1887,1831,2837,3184,2854,2723,2641,2325,2008,1688,1770,1939,2211,2729,2605,2286,1953,1511,1996,2254,1934,2167,2252,2222,2261,2117,1720,1611,2604,2908,2545,2277,2076,2110,2262,2640,2439,1736,1727,1417,1436,1436,1391,1459,1420,1409,1439,1340,1298,1227,1059,1352,1813,1483,1483,2076,2271,2034,1742,1740,1525,1570,1855,1941,1920,1838,1846,1821,1870,1891,1794,1735,1545,2079,2397,2167,2200,2451,2249,1917,1733,1431,1315,1462,1622,1308,1376,1395,1526,1566,1714,1688,1617,1733,1499,1701,2433,2336,1864,1746,2101,2015,1673,1757,1578,1469,1482,1396,1302,1362,1336,1408,1404,1393,1384,1364,1420,1307,1296,1515,1789,1812,1751,1708,1555,1661,1429,1293,1448,1694,1716,1743,1673,1348,1735,2350,1960,1599,1748,1685,1623,1752,2678,2612,2243,1843,1774,1475,1213,1305,1356,1543,1700,1412,1710,2220,1733,1833,2978,3222,2954,2662,2452,2043,1510,1216,1566,1771,1726,1628,1645,1483,1381,1330,1478,1372,1528,1663,1483,1532,1456,1551,1560,1519,1584,1750,1715,1532,1276,1314,1300,1337,1367,1182,1301,1319,1270,1483,1692,1415,1293,1433,1268,1117,1258,1260,1331,1862,2504,2281,1889,1926,2110,2184,2095,1925,1593,1564,2231,2902,3111,2552,1750,2240,2448,2386,2481,2485,2728,2742,2344,2150,2096,1973,1832,1894,2040,1860,2153,2600,2212,2688,3531,3873,3105,2486,2686,3067,2920,2545,2149,2293,1382,1156,1060,1038,1009,1009,1386,1820,2106,2508,2791,2647,2490,2448,2380,2121,1786,1788,1920,2164,2259,2070,1816,1829,2078,2102,2342,2754,3162,3364,3311,3277,3099,3085,3213,3120,2579,1857,2007,2266,2137,2181,2458,3386,3813,3676,3198,2590,2502,3029,3586,3727,3540,3326,3287,3803,3805,3771,3465,3441,3063,1993,1917,2503,2735,2963,2900,2788,2995,3322,3584,3747,4079,4115,3990,4108,3904,3529,3761,3798,3715,3790,4021,4052,4312,4380,4736,4917,4764,4855,4632,4207,4057,3999,4058,4195,4607,4327,4261,3828,3619,3530,3522,3584,3904,4265,4353,4372,4648,4819,4691,4512,3973,4520,4152,4364,4764,4615,4571,4603,4251,3914,3978,4464,4156,3990,4401,4192,3903,3798,3627,3586,3625,3632,3493,2834,2567,3227,3473,3537,3409,3408,3526,3505,3094,2972,3062,3107,3063,2950,2622,2105,2022,2365,2800,2662,2546,2485,2401,2357,2490,2092,1729,1837,1907,2267,2737,2887,2300,1927,1735,1757,1456,1750,1669,1432,2056,2115,1612,1602,2652,3456,3087,2963,3145,2836,2524,2263,2226,2645,2742,2588,2718,2546,2373,2369,3507,3727,3498,3307,3196,2798,2864,2876,2550,2672,2761,2720,2489,2051,1622,1468,2041,2967,3329,3097,3112,3200,2964,3119,3554,3901,4212,4367,4473,3845,3536,3458,3379,3277,3347,3420,2876,2414,2658,2744,2776,3086,2971,2690,2630,2732,2829,2930,2957,3284,3321,2856,2962,2851,2744,2533,2880,3753,4070,4069,4020,3631,3042,3238,4059,4295,4511,4377,4142,4014,4146,4043,3862,3580,3350,3400,3332,3186,3229,3295,3340,3076,3212,3338,3510,3670,3426,3217,2823,2625,2829,2774,2220,2783,3730,2660,2544,2600,2720,2244,2508,2814,2692,2539,2025,1828,1719,1819,1681,2032,2713,3233,3216,2783,2481,2237,2181,1894,1543,1567,1820,1783,1780,1930,2292,2130,1669,1711,2103,2369,2475,2459,2347,2192,2265,2647,2399,2795,3238,2553,2162,2186,2565,2891,2985,2399,2018,2115,2259,2335,2713,3220,3398,3506,2971,2517,2113,1957,2714,2747,2540,2956,2585,3467,3860,4157,4128,3463,3262,3761,3700,3746,3332,2145,1910,1809,1734,2173,2485,2754,2163,2008,2288,2620,2367,2156,2236,1926,1794,1888,1956,2156,2319,2546,2640,2779,2612,2435,2382,2452,2620,2820,3088,2923,2171,2037,2085,3033,3306,2928,2797,2763,2548,2316,2388,2386,2080,2508,3591,3649,2824,2718,2569,2643,2006,1821,2166,2134,2235,2643,2355,1922,2106,2771,2691,2967,3419,2797,2989,2989,2657,2818,3068,1984,1278,1980,2574,3280,3583,3425,3322,3311,3140,2272,2404,2668,2313,2535,2372,2683,2913,2897,3518,3797,3464,2988,2788,2950,3044,3140,3147,2456,2397,2533,2280,1738,3024,2719,2280,2455,2488,2623,2509,2275,2315,2430,2458,2377,2364,2353,2391,2487,2723,2298,2639,2835,2607,2500,2147,2183,1840,1566,1958,2502,2281,1919,1678,1394,1348,1402,1675,1425,1023,1503,1622,1414,1347,1328,1459,1573,1563,1957,2157,1732,1420,1663,2275,1920,1532,1553,1499,2478,1930,1435,1641,1746,1764,1839,1916,2033,2025,1957,1821,1936,2370,3227,2809,2407,2513,2587,2691,2728,2444,2618,3009,3038,2410,2040,2175,2658,3054,2531,1851,1618,2009,2320,2742,2953,2844],[3992,4156,4452,4776,4876,4984,4913,4417,3760,3604,3435,3359,3802,3840,3160,2787,2833,2895,3024,2898,2221,2189,1920,1832,1854,2070,2197,2580,2902,2636,2596,1964,976,1259,1402,1291,1621,2314,2230,2239,2917,2492,1804,2274,2861,3275,3501,3621,3770,3606,2920,2300,3022,3076,2583,2954,3165,2923,2634,2225,1782,1894,2250,2426,2437,2753,3168,3386,3748,3880,3436,3070,2729,2465,2833,3313,3649,4081,3841,2926,2667,2573,2344,2092,2130,2709,3357,3318,2687,2441,2462,2059,2329,2284,2423,2740,2872,2579,2916,3339,3006,2344,2356,2586,2442,2375,2504,2701,2898,2776,3204,3393,3604,3461,2955,2501,2744,3254,3168,2709,2653,3042,3517,3033,3028,2779,2179,2142,1864,1851,2086,2222,2944,3142,2765,2325,1741,2160,2339,1920,2030,2512,2863,2759,2540,2199,1629,1835,2515,2220,1809,2674,3458,2810,2707,2708,2832,3254,3808,3874,3053,2113,2114,2681,2998,2585,2103,2144,2343,2285,2518,2742,2413,2457,2663,2917,3006,2328,2334,2156,2494,3042,2942,2832,3124,3033,3077,3702,4057,3714,2758,2056,2415,3139,3134,2481,2315,2061,1888,2043,1997,2220,2523,2115,1939,1450,1390,1430,1404,1371,1446,1623,1603,1498,1413,2245,3397,3431,3795,4144,3608,3479,3217,2943,3283,3729,3575,3323,3272,3284,3174,2563,2391,2741,3001,3083,2918,2622,2766,3304,3611,3486,3535,3472,3196,3073,2909,2873,3057,3109,2820,2576,2413,2501,2998,3211,3480,3599,3671,3310,2865,3614,3986,3870,3770,3757,3849,3805,4042,3771,3492,3143,2198,2336,3020,2828,2846,3549,4113,4328,3988,3194,2633,2831,2908,2722,2493,2031,1883,1374,1768,2580,2734,2675,2746,2707,2685,2774,2790,2707,2807,2710,2607,2939,3173,3361,2951,3635,4143,3872,3850,4080,3629,2924,2666,2736,3111,2939,3022,3472,3040,3140,2910,3193,3859,3929,3632,3628,3772,3472,3010,3441,3281,3473,3725,3587,3339,3326,3470,3305,3210,3076,2900,2842,2667,2776,2752,2732,2818,2235,2314,3043,3484,3211,2792,2735,2750,2624,2766,2894,2651,2623,2635,2842,2730,2579,2602,2428,2600,2624,2680,3051,2733,2621,2810,2481,2316,2729,2952,3190,3497,3034,3098,3770,3798,3464,3398,3654,3574,4112,4016,3994,4177,4249,4038,3713,3825,3530,3226,3366,2967,2381,2732,3285,4484,4708,4680,4588,4112,3740,3620,3408,3454,3994,4024,3801,3081,3024,2923,3130,3073,2510,2346,2317,2142,1876,1794,2210,2842,3365,3739,3752,3463,3275,3256,2990,2531,2397,2902,3016,2920,2954,2919,2999,3052,3109,3106,3139,3610,3544,3469,3287,3096,3154,3266,2940,2842,3230,3019,3338,2956,2989,3157,2857,2812,2805,2780,2974,2998,2796,3044,3231,3508,3441,3286,3151,2646,2788,3216,3432,3373,2854,2197,2188,2730,3912,3864,3632,3329,2894,2143,2003,2570,3163,3406,3782,3798,2783,2173,2172,3096,3815,3464,2805,2974,2461,2020,2010,1846,1822,2081,2097,2312,2545,1872,1843,2319,2272,2285,2286,2252,2531,2508,2060,1408,1256,1730,1931,1738,1118,1810,2895,2931,2530,2744,2845,1928,1495,2039,2976,2872,3268,3657,3752,3893,3955,3971,3959,3636,3737,3211,2817,3411,3375,3348,3396,3437,3496,3616,3894,3850,3384,3123,3243,3835,4269,4308,4218,4231,4219,4124,4008,4048,4023,3979,3645,3675,4028,4112,4121,4120,4169,4188,4201,4092,4107,4152,4188,4109,4139,4213,4169,4161,4143,4176,4016,3602,3636,2998,2841,2785,3128,2944,2512,2521,2686,3183,3175,2953,2747,2076,2360,3039,3234,3294,2682,2820,2966,2855,2877,2706,2031,2085,2767,3001,2877,2498,2610,3176,3431,2934,2702,2318,2045,2692,3472,3891,3924,3951,3636,2736,2299,2902,3508,3609,3689,3522,3275,3032,3462,3727,2962,3373,3749,3303,3819,3178,1817,1976,2020,1628,2344,3198,3499,2699,2040,2390,3074,2775,2753,2754,2797,3229,3273,3413,3705,3165,2679,2940,2957,2396,2818,3121,2589,2414,3135,2910,3043,3441,3083,2568,2247,2251,2543,2922,3566,3128,2875,2208,2091,2306,2603,2544,2523,2229,2121,2286,1976,1851,2008,2367,1889,1560,1566,1411,1305,1512,1553,1655,1688,1433,1531,1534,1713,1802,1677,1631,1569,1718,1836,1967,1861,1730,1823,1963,1903,1696,1833,1888,1957,1885,1898,1870,2460,3609,4015,3768,3412,3259,3195,3228,3370,3230,3214,2990,3054,2846,2723,2889,3106,3209,3124,3098,3154,3002,3049,3129,3072,3250,3322,3066,2971,3238,3265,3078,2951,2854,2630,2258,2102,2191,2354,2224,2850,3174,2850,2621,2746,2509,2038,1807,1772,1773,2393,3172,3199,2826,2116,1876,1854,1813,1861,1825,1837,1771,1537,1598,1492,1565,1685,1630,1526,1524,1578,1722,1989,2289,1865,1600,1841,2369,2057,1591,1388,1449,1610,1628,1651,1634,1625,1493,1706,2583,2279,2060,2165,2285,2099,2147,2171,2248,2791,2955,2253,1995,1900,1980,2281,1982,1713,1760,1676,1737,1760,1662,1717,1902,2196,2542,2472,2316,3098,3370,3786,3536,3211,2685,2662,2574,2405,2116,1759,2453,1845,2254,2788,2840,2724,2250,2254,2271,2167,2408,2614,2438,2137,2056,2320,2262,2176,2014,2402,2764,2632,2122,2274,3091,3274,3064,2683,2337,2532,2408,1972,1946,1976,2088,2480,2269,1893,1662,1750,2266,2246,1669,1977,2084,2122,2174,1966,1626,1891,3231,3118,2055,1759,2025,2232,2327,2461,2121,1679,1613,1351,1338,1283,1406,1375,1376,1320,1297,1384,1298,1157,1089,1602,2106,1477,1566,2100,2150,1788,1512,1450,1468,1564,1830,2261,2267,1885,1915,2210,2348,1970,1683,1546,1318,2185,2144,1153,1432,2456,2530,2164,1653,1455,1450,1473,1392,1447,1512,1412,1494,1559,1528,1424,1569,1515,1377,1677,2259,1822,1547,1605,1866,1777,1528,1558,1766,1786,1606,1381,1383,1550,1433,1476,1715,1644,1494,1417,1372,1360,1352,1428,1669,1704,1683,1731,1577,1495,1425,1638,1802,1677,1392,1436,1635,1844,2001,2370,1868,1852,2036,2142,2173,2415,2563,2121,1695,1713,1852,1629,1412,1310,1296,1315,1400,1418,1548,1633,1456,1559,2031,2322,2434,2455,2289,2043,1929,1678,1814,1684,1857,1925,1660,1418,1362,1393,1484,1390,1498,1816,1864,1531,1380,1576,1503,1452,1445,1490,1649,1493,1365,1381,1337,1207,1223,1277,1411,1510,1406,1344,1563,1504,1240,1327,1323,1217,1231,1301,1244,1488,1738,1617,1666,1801,1962,2055,2060,1783,1382,1831,2731,2900,2821,2438,1885,2282,2490,2409,2408,2529,2668,2479,2212,2194,2042,2211,2242,2115,2461,1974,1768,2116,2504,3146,3462,3386,3751,2874,2611,2983,2951,2731,2132,2365,1602,1158,1063,1085,1298,1647,2136,2374,2417,2242,2031,1907,1920,1558,1344,1345,1588,2086,2460,2554,2707,2598,1956,2158,1958,1941,2026,2293,2460,2589,2718,2911,2768,2532,2711,2625,2172,1756,2203,2246,2178,2172,2137,2587,3193,3841,4048,3463,2858,2456,2632,3129,3576,3422,3240,3615,3649,3430,3598,3807,3747,3096,2253,2487,2823,2839,2977,2976,2756,2942,3364,3463,3804,4137,4100,4299,4191,3485,3529,3550,3782,3937,4257,4420,4428,4356,4592,4621,4548,4720,4461,4143,4384,4368,4341,4447,4948,4951,4981,4449,3964,3675,3610,3739,4096,4680,4773,4673,4921,4900,4712,4496,4041,4529,4424,4320,4720,4687,4687,4807,4552,4195,4098,4463,4104,3795,3883,3836,3720,3720,3686,3651,3720,3681,3560,3326,3230,3520,3465,3273,3226,3188,3431,3483,3229,3116,2978,3144,3055,3182,2867,2345,2269,2686,2799,2595,2641,2669,2242,2462,3012,2259,2013,2576,2656,2966,3376,3160,2524,2030,1980,2036,1650,1678,1618,1648,2034,1939,1876,2148,2555,2618,2734,2835,3022,2783,2664,3030,3072,2797,2469,2377,2479,2750,2554,1948,2666,3698,4157,4021,3537,3029,2988,2779,2734,2655,2808,2777,2648,2355,2132,1759,2280,2966,2911,2717,2743,2900,3255,3698,3990,4288,4344,4112,3664,3394,3504,3429,3384,3461,3559,3283,2856,2547,2632,2808,2932,3130,2978,2699,2662,2629,2758,2923,2903,2908,3018,2749,2654,2619,2721,2652,2912,3710,4121,3912,3585,3023,2834,3331,4028,4343,4653,4149,3476,3772,3865,4026,3982,3465,3099,3011,3234,3359,3495,3500,3516,3143,3177,3340,3646,3862,3854,3397,2876,3016,2807,2288,1986,2089,2512,2196,1864,1955,2073,2373,2612,2203,2285,2519,2305,2322,2076,1889,1939,2057,2610,3057,2590,2489,2258,2221,2675,1991,1584,1609,1721,1713,1842,1896,2006,1924,1827,1828,1971,2121,2344,2668,3056,2774,2238,2314,2425,2471,2830,2864,2884,2824,2836,2868,3151,2175,2060,2331,2294,2232,2544,3152,3284,3460,2945,2668,2654,2226,2787,2373,2079,2754,3310,3836,3528,3531,3610,3535,3627,3852,3731,3813,3672,2192,2104,2103,1957,2031,2242,2333,1964,1897,1878,1821,1815,1660,2032,2129,2068,1444,1259,2162,2570,2798,2730,2512,2380,2357,2546,2645,2530,2707,2545,2350,2110,1765,1672,2487,2820,2972,3334,3002,2450,2214,2385,2417,2382,2306,3218,3043,2296,2038,2304,2468,2208,1904,2086,2219,2501,2718,2951,2485,2414,2448,2096,3274,3928,3789,4260,3952,2710,2921,2777,2029,1781,2591,2863,2307,2579,2745,2779,2964,2285,1735,2182,2584,2767,2829,2656,2864,2532,2763,3571,3904,3498,2911,2962,3064,3350,3983,3504,1963,1899,1964,1678,2310,3287,2769,2536,2840,2939,2474,2192,2769,3335,3131,2503,2135,2411,2642,2619,2574,2315,2322,2475,2352,2289,1952,1986,2071,1729,1679,2030,2003,1745,1802,1808,1377,1305,1483,1579,1421,1482,1820,1942,1626,1462,1473,1432,1640,1958,3016,3649,2943,2316,2680,2730,2123,1378,1354,1425,1397,1356,1686,2060,1763,1651,1679,1785,1929,1834,1654,1548,1528,1824,2495,2524,2323,2400,2677,2846,2432,2067,2501,2915,2761,1985,2245,2567,2817,2951,2662,1941,1840,2463,2571,2668,2718,2864],[4084,4268,4686,4764,4873,4984,5065,4786,3835,3479,3460,3325,3317,3397,3181,2938,3143,3145,3250,2909,2201,2400,2259,2549,2641,2710,2484,2717,3123,2733,2204,1589,1392,1479,2004,1802,2130,2646,2469,2196,2590,2498,2137,2056,2069,2386,3061,3829,4068,3780,2385,1832,2580,3108,3289,3216,2912,3149,3277,2734,2545,2855,2920,2535,2389,2452,2917,3291,3506,3506,3366,3414,3090,2611,2841,3262,3418,3239,2733,2507,2549,2374,2010,1903,2298,2381,2341,2724,2773,2561,2583,2276,2455,2777,2693,2507,2624,2684,2714,3078,3283,2510,2360,2986,3144,2656,2575,2667,2818,2835,3009,3087,2818,2307,2110,2488,3135,2865,2557,2261,2338,3176,3363,3210,3006,2665,2192,2034,1708,1872,2008,1779,2131,2689,2515,2075,1791,2165,2541,2778,2647,2381,2530,3032,3275,2736,2334,2216,2185,1825,1494,2120,2501,2684,2446,2255,2999,3583,3496,2822,1983,1229,1703,2631,3077,2356,2262,2495,2323,2349,2540,2371,2281,2501,2260,2342,2321,2480,2576,2727,3465,3482,2954,2807,3027,3426,3376,3749,3574,3371,2941,2031,2192,2923,2825,2199,2111,2169,2127,2072,2015,1954,2125,2160,1772,1084,1144,1330,1392,1493,1678,1771,1854,1925,2433,2988,2976,2895,3119,3296,3415,3004,2450,2097,2497,3232,3159,2755,2930,3384,3426,2938,2601,2675,3071,3081,3017,2928,3018,3670,3727,3028,3081,3229,3195,3104,2783,2574,2567,2642,2344,1955,1860,2314,2734,2978,3605,3837,3972,3672,3186,3503,4018,3952,3705,3635,3773,3771,3951,3850,3485,2732,1728,2328,3073,2596,2897,3450,3583,3682,3325,2685,2602,3189,3532,3295,2410,1614,1711,1375,2002,2677,2798,2744,2751,2772,2770,2729,2585,2566,2732,2558,2646,2811,2639,2587,2737,2923,3187,3032,3181,3571,3145,2705,2786,2889,3329,2916,3373,3653,3184,2616,2915,3449,4085,4128,3445,3274,3731,3496,2946,3283,3206,3532,3559,2993,2547,2651,2566,2234,2195,2233,2338,2332,2384,2216,2373,2677,2901,2807,2898,3178,3138,2929,2900,2842,2707,2777,2788,2621,2564,2484,2909,2978,2831,3189,3327,2858,2569,2666,2833,2876,2488,2349,2324,2353,2398,2479,2563,2660,2614,2968,3686,3925,3760,3838,4046,4021,3808,3764,3698,3560,3879,4277,4094,3862,3485,3304,3419,3497,2832,2398,2531,3155,4369,4620,4464,4448,4108,3647,3905,3814,3733,4116,3894,3680,3103,3357,3409,3661,3460,2981,2683,2399,2523,2165,1951,2413,2808,3086,3357,3464,3274,3005,2952,2863,2452,2586,3017,2923,2909,2898,3056,3506,3576,3593,3759,3415,3274,3459,3377,2996,2844,2756,2931,2835,2465,2923,3000,3166,2763,2582,2762,2845,2844,2834,2810,2995,2787,2906,3294,3349,3487,3481,3081,2510,2285,2396,2633,3318,3510,3044,2295,2251,3226,3804,3177,3234,3520,3529,3146,2449,1993,2082,2691,3378,3846,3228,2871,2423,3144,3951,3676,2655,1928,1837,2075,2119,2010,2002,2157,2130,2424,2335,2086,2032,2665,3097,3135,2879,2459,2392,1618,1737,1152,1282,1960,2020,1896,1661,2410,3443,3481,2661,2120,2376,1726,1743,2571,3279,3049,3398,3707,3693,3735,3874,4007,4120,4052,3881,3688,3572,3443,3383,3419,3391,3398,3247,3474,3818,4013,4048,3992,4124,4201,4288,4312,4259,4240,4099,3739,3703,3861,4007,3947,3730,3764,4019,4113,4112,4128,4002,3781,3930,4040,4137,4188,4188,4146,4193,4216,4260,4229,4175,4189,3876,3607,3379,3017,3052,2652,2767,2666,2731,3221,3096,3155,3182,3240,2768,2599,3342,3808,3319,3175,2682,2208,2792,3205,2679,2533,2499,2493,2599,2517,2711,2841,2934,3160,2988,2622,2456,1860,1903,2809,3818,3947,4008,3950,2840,2365,2776,3287,3594,3838,3979,3865,3596,3131,3457,3461,2939,3683,3421,3708,4165,3772,2497,1822,1832,2140,3076,3528,3329,2202,2053,2396,3000,3095,2867,2823,3169,3339,3142,3448,3779,3408,2789,2671,2967,2467,3069,3150,2408,2281,2441,2431,2784,3387,3146,2764,2696,2931,2938,3204,3652,2987,2522,2256,2092,2288,2671,2464,2287,2416,2631,2746,2365,2531,2513,2699,2147,1909,1839,1562,1601,1622,1555,1760,1553,1459,1394,1406,1627,1676,1791,1678,1451,1671,1871,1888,1612,1632,1798,1945,1725,1652,1735,1791,1901,1929,1869,2054,3112,3784,3662,3531,3288,3445,3726,3548,3265,3262,3252,2880,2927,2865,2662,2622,2727,3003,3293,3260,3354,3286,3287,3211,3273,3675,3550,3179,3119,3283,3448,2810,2536,2756,2589,2094,1822,2083,2418,2205,2160,2325,2283,2178,2411,2572,2314,2165,1750,1686,2689,3559,3455,2727,2150,2243,2402,2306,2110,1987,1909,1621,1351,1509,1597,1601,1687,1656,1513,1522,1670,1614,1834,2047,1841,1674,1704,1970,1815,1614,1431,1486,1625,1887,1883,1610,1631,1460,1873,2777,2086,1908,1829,1903,2148,2355,2404,2347,2511,2349,1906,1946,1945,2011,1753,1749,1704,1577,1591,1832,1713,1587,1689,1724,1658,1787,2031,1903,2707,3119,3400,3043,2953,3024,3097,3109,2868,2513,2043,2212,2254,2774,2847,2856,2943,2736,2630,2238,1996,2083,2072,1717,1819,1871,2161,2490,2320,2397,2692,2946,2819,2401,2550,2762,2941,2939,2521,2696,2893,2765,2030,1996,1971,1988,2105,2187,2055,1880,2121,2061,1745,1576,1825,2082,2452,2589,2300,2187,2812,3570,2915,1645,1704,2448,2413,2035,1980,1811,1761,1575,1483,1341,1333,1499,1517,1547,1481,1421,1625,1525,1508,1454,1823,1895,1509,1681,1994,2081,1928,1636,1438,1448,1444,1705,2614,2753,2360,2344,2589,2132,1683,1581,1500,1372,1365,1257,774,1677,2546,2270,1837,1532,1437,1483,1423,1290,1486,1494,1434,1548,1375,1229,1592,1450,1215,1239,1301,1377,1317,1262,1339,1409,1367,1281,1323,1497,1570,1916,1589,1693,1821,1687,1586,1573,1471,1411,1406,1419,1293,1323,1436,1360,1154,1575,1753,1730,1814,1932,1804,1723,1699,1443,1548,1853,2519,2030,2047,1933,2228,2534,2372,2447,2770,2432,1881,1547,1439,1581,1793,1591,1360,1316,1267,1479,1398,1232,1368,1683,1662,1687,1785,1969,2059,1675,1630,1637,1450,1521,1923,2281,2114,1636,1399,1224,1262,1595,1455,1486,1804,1880,1540,1391,1750,2008,1766,1432,1510,1613,1320,1246,1313,1328,1218,1222,1315,1348,1354,1268,1135,1322,1347,1256,1308,1139,1163,1215,1332,1267,1423,1543,1628,1611,1714,2070,2220,2231,1694,1343,1964,2569,2643,2602,2452,2142,2213,2312,2459,2691,2641,2540,2407,2731,3010,2285,2129,2357,2087,2383,2074,1627,1889,2338,2753,3163,4692,5713,3151,2565,2963,2792,2614,1966,1948,1714,1346,1626,2046,2534,2589,2638,2468,2438,2310,2063,1785,1607,1543,1814,2060,2194,2425,2555,2487,2497,2206,2082,2250,2176,2117,2007,2071,2221,2333,2534,2674,2641,2696,2793,2544,1571,1569,2159,2194,2187,2217,2260,2206,2365,3141,3619,3530,3335,2894,2585,2528,2998,3431,3521,3346,3007,2731,3096,3593,3628,3173,2790,2854,3044,2777,3020,3084,2858,2882,3054,3362,3756,4061,4363,4539,4316,3353,3265,3760,3847,3912,4036,4094,4188,4201,4336,4536,4693,4845,4371,4175,4209,4369,4561,4740,4966,5060,5043,4801,4332,3678,3697,3852,4006,4385,4352,4432,4237,4351,4564,4427,3974,4307,4841,4737,4860,4695,4801,4813,4681,4464,4560,4740,4387,3704,3525,3727,3715,3801,3625,3659,3835,3769,3650,3738,3618,3617,3421,3341,3432,3441,3566,3631,3658,3498,3486,3805,3794,3618,2917,2221,2342,2996,2900,2471,2530,2787,2645,2801,2851,2741,2548,3112,2906,2766,3219,3418,2699,2121,2596,2375,1874,1998,2245,2396,2170,1725,1745,2077,2520,2194,2054,2329,2503,2866,2815,2641,2280,2022,1951,2077,2821,3393,2981,2042,2171,3520,4301,4104,3765,3840,3420,2831,3166,3106,2928,2755,2841,3466,3352,2539,2421,2313,2293,2535,2427,2446,3719,4141,4213,4473,4497,4309,3838,3450,3416,3400,3508,3592,3550,3059,2701,2557,2661,3053,3207,3130,2813,2633,2511,2535,2844,2922,3008,2917,3108,3108,2835,2710,2746,2867,3135,3818,3720,2766,2545,2543,2921,3709,4065,4164,4449,3768,2953,2814,2879,3395,3908,3606,2906,2762,2948,2973,3145,3439,3381,3179,3145,3296,3684,3786,3628,3238,3176,3100,2304,1898,2244,2416,2191,2261,2126,1918,2244,2274,1953,2049,2498,2421,2376,2398,2199,2171,2543,2433,2425,2411,2541,2910,2530,2148,2097,2340,2138,1966,1776,1829,2027,2244,2375,2193,1905,2093,2493,2684,2774,2826,3249,2857,2523,2663,2632,2722,2946,3207,2957,2557,2759,2598,2698,2111,2277,2858,2842,2707,3172,3517,3399,3298,3067,3115,3074,2418,2687,2510,2306,2612,3153,3533,2850,2094,2374,2698,2954,3840,3915,3613,3916,2510,2315,2344,2007,2047,2447,2799,2806,2608,2055,1510,1480,1664,2117,2193,2598,1760,1570,2426,2778,2790,2727,2789,2780,2639,2654,2627,2215,2154,1805,1968,2320,2279,1948,2050,2264,2267,2583,3284,2777,2424,2456,2420,2814,2045,1935,1938,1821,2167,2620,2568,2717,2501,2474,2491,2777,3009,3398,3250,2928,2266,2388,3240,3548,4012,3973,3189,2556,2945,2471,2151,2450,2965,2916,1879,1441,1790,2545,3063,2471,2357,2761,3351,3516,3437,2717,2113,1924,2730,3063,3308,3729,3808,3119,2841,2599,3706,2961,1802,2146,2195,1844,2793,3446,3055,3040,3356,3132,2278,2585,3442,3741,3351,2339,2035,2415,2520,2567,2560,2637,2548,2161,2111,2025,1672,1851,1725,1587,1735,1653,1568,1483,1652,1769,1627,1548,1563,1511,1627,1651,1783,1717,1477,1361,1545,1743,1830,2209,3146,3808,3859,3527,3518,2451,1770,1449,1411,1471,1583,1531,1588,1598,1465,1512,1775,2018,1892,1618,1384,1378,1402,1393,1543,1961,2381,2453,2610,2453,2042,1845,2266,2863,2578,2114,2534,2897,3191,3485,3265,2696,2556,2821,2756,2680,2746,3045],[3895,4244,4744,4714,4795,4948,5008,4905,4064,3486,3428,3220,3212,3563,3404,2988,3276,3128,3296,2996,2602,2165,2050,2643,3204,3257,3114,3223,3108,2652,2428,1903,1908,2166,2330,2110,2768,3311,2768,2201,2486,2620,2707,2551,2264,1946,2128,2758,3496,3128,2238,2137,2656,3245,3684,3486,3266,3550,3355,3347,3549,3139,2630,2378,2370,2400,2796,3356,3366,3076,3319,3615,3042,2554,2662,2950,3061,2597,2330,2181,1901,1914,1990,2171,2373,2101,2299,3046,3250,3348,2901,2462,2424,2779,2518,2241,2500,2478,2459,2721,3269,2901,2420,2835,3765,3186,2658,2698,2763,2887,2986,2708,2548,2656,2720,2285,2199,2042,2306,2084,2223,2714,2932,2622,2454,2416,2284,2427,1822,1981,2128,2023,2196,2320,2203,2101,2453,2470,2404,2839,2896,2791,2743,3141,3238,2887,2678,2561,2007,1698,1711,2026,2626,2853,2611,2932,3373,3396,2944,2795,2857,2180,1716,1895,2489,2743,2888,2565,2192,2796,3286,2862,2773,2829,2608,2197,2120,2663,3185,3703,3508,2874,2730,2553,2968,3747,3148,3167,3103,2900,2573,2312,2115,2256,2292,2011,2344,2810,2842,2570,2566,2278,2590,2620,2121,1383,1112,1362,1486,1514,1602,1418,1484,2185,3059,3382,3440,3033,2639,2918,2821,2150,1590,1569,2014,2702,2702,2919,3221,3216,3046,3037,2851,3002,3110,3063,3426,3624,3299,3339,3275,2587,3078,3030,2983,2873,2272,1885,1722,2069,2208,2110,2174,2420,2438,2974,3648,3211,3210,3527,3430,3613,3958,3873,3492,3299,3351,3542,3796,3825,3728,2758,1834,1805,2107,2418,3022,3212,3304,3262,2962,2728,3056,3594,3872,3662,2746,2275,2460,2007,2293,2752,2878,2975,3016,2903,2712,2723,2980,3021,2820,2711,2576,2741,2746,2751,2977,2751,2867,3310,3742,3798,3628,3074,3198,3256,2972,3015,3843,4192,3766,3378,3118,3379,3416,2900,2544,2597,2640,2729,2735,2952,2698,2744,3054,2617,2383,2500,2558,2729,2736,2711,2536,2498,2635,2663,2829,3101,3078,3164,3527,3252,3156,3144,2721,2328,2712,3033,2912,2566,2567,2671,2715,2683,2909,3083,3592,3243,2908,2500,2732,2974,2764,2577,2482,2576,2644,2633,2876,2819,2536,3090,3480,3628,3697,3738,3703,3750,3792,3576,3505,3499,3708,3871,3870,4141,3846,3686,3708,4050,3430,2928,2952,3416,4131,4324,4164,4196,4014,3982,4128,4180,3838,3659,3918,3481,3219,3481,3770,4240,3950,3602,3339,3086,2902,2755,2476,2765,2648,2335,2335,2418,2404,2394,2469,2370,2153,2474,3050,3237,3437,3129,3264,3804,3704,3680,3838,3491,3185,3493,3464,2979,2723,2798,3044,2988,2648,2980,3222,3189,3024,2814,2531,2463,2778,3057,3040,3083,3009,3222,3262,3372,3438,3188,2944,3109,3124,2666,2504,3137,3206,2886,2134,2285,3573,3708,3001,2722,2896,3235,3142,2959,2624,1996,1904,2584,3149,3403,3562,2674,1912,2361,2511,1973,1861,2292,2176,2289,2412,2313,2434,3162,3407,2352,2021,2285,2829,3651,3661,3471,2521,1898,1566,2179,1390,1488,2364,3107,3239,2707,2425,2969,3125,2499,2220,2663,2298,2092,3054,3601,3759,3916,3837,3328,3129,3702,3879,4001,4092,3934,3554,3151,3286,3388,3375,3407,3392,3305,3519,3894,3926,3892,3994,3985,4074,4188,4252,4251,4155,3954,3617,3525,3837,4050,3947,3918,3990,4019,4086,4144,4145,3495,2853,3485,4034,4091,4143,4123,4092,4084,4085,4144,4185,4136,4016,3306,3263,3350,3150,3059,3206,2810,2577,3039,3226,3182,3016,3228,3871,3933,3956,3614,2500,1395,1702,2278,2382,2791,2845,2716,3112,3038,2472,2561,2998,2908,2486,2580,2742,2541,2403,2016,1668,2022,2625,3692,3347,3535,3830,3133,2687,2880,3430,4020,3950,3792,3935,3935,3624,3378,3552,3372,3929,3853,3996,4152,3808,2567,1666,2018,3021,3416,3755,2761,2000,1840,2235,2918,3274,3393,3453,3557,3422,3365,3739,3824,3124,2391,2210,2548,2554,2792,2430,2498,3210,3659,2949,2316,2996,2507,2967,3177,3143,2872,3340,3915,3548,2733,2156,2147,2378,2758,2314,2308,2216,2374,2422,2177,2723,2326,2371,2098,1764,1832,1698,1755,1594,1478,1562,1309,1372,1589,1634,1625,1575,1686,1562,1471,1562,1661,1782,1738,1803,1815,1848,1666,1648,1745,1752,1796,1933,1928,2376,3364,3378,3326,3414,3338,3344,3537,3477,3397,3602,3794,3376,2949,2793,2663,2685,2925,3205,3240,3349,3519,3466,3282,3162,3372,3417,3202,3210,3141,3084,3083,2385,2186,2056,1814,1792,1848,1914,1893,1876,1795,1738,1826,1874,2110,2204,2245,2382,1939,1880,2268,2303,2058,1803,1851,2010,1959,1968,1982,2009,1925,1827,1835,1804,1704,1618,1767,1816,1688,1626,1701,1750,1772,1978,2072,2094,1908,1836,1683,1439,1572,1526,1558,1635,1702,1726,1653,1936,2346,2438,1989,1705,2030,2236,2126,2243,2375,2267,1946,1823,1677,1708,1935,2014,1896,1756,1575,1384,1446,1696,1616,1712,1604,1671,1604,1450,1534,1641,2368,2685,2980,2752,2578,3062,3120,3119,2688,2701,2470,2231,2534,2766,2642,2640,3044,3400,3139,2636,2898,2585,2144,1582,1722,1838,2126,2229,2241,2507,2810,2952,2907,3382,3600,3188,3034,2612,2570,2888,2966,2274,1538,1708,1947,2056,2113,2217,2198,2232,2233,1999,1858,1772,1886,2109,2631,3444,3552,3332,3448,3438,2941,2423,2523,2441,2602,2168,1999,1799,1989,1912,1814,1644,1592,1857,1920,1842,1685,1657,1857,2138,2195,1836,1815,2004,1876,2030,2222,2361,2489,2126,1590,1696,1902,1885,2520,2645,2641,2635,2378,1814,1726,1738,1528,1589,1115,844,1268,2276,2270,1766,1494,1444,1378,1338,1382,1400,1410,1470,1470,1550,1428,1512,1736,1342,1198,1248,1352,1444,1370,1298,1314,1357,1426,1467,1309,1490,1720,2025,1503,2521,2884,1932,1425,1340,1550,1600,1593,1496,1455,1597,1411,1140,1217,1844,2192,2023,1973,2317,2030,1769,1732,1434,1559,2188,2474,1887,1691,1625,1769,1968,1865,2169,2746,2385,1911,1576,1718,1834,1759,1613,1920,1684,1363,1571,1700,1523,1866,2399,2031,1871,1961,2127,2202,1599,1441,1748,1680,1864,2062,1833,1918,1700,1572,1218,1302,1630,1430,1466,1793,1918,1655,1467,1686,1886,1688,1568,1527,1382,1314,1290,1322,1362,1328,1339,1372,1305,1365,1504,1418,1209,1064,1167,1114,1208,1318,1247,1448,1448,1386,1528,1788,1862,1874,2374,2558,2338,2066,1887,2085,2395,2558,2509,2376,2119,1981,2453,2972,2832,2503,2415,3011,3984,4117,3146,2285,2100,2352,2365,2210,2077,1913,2412,2807,2998,3775,3330,2049,2172,2679,2494,2424,2124,2106,2652,2457,2470,2423,2509,2260,2126,1985,1826,1547,1396,1431,1567,1740,1932,2040,2101,2322,2380,2383,2366,2087,2214,2228,2187,2126,2047,2090,1993,2007,2271,2390,2563,2685,2842,2499,1448,2076,2549,2435,2348,2229,2239,2285,2436,3047,3602,3272,2784,2689,2802,2707,2662,3062,3476,3522,3464,3354,3388,3306,3516,2901,2730,2654,2570,2541,2876,3035,3156,3075,3001,3266,3794,3982,4192,4528,4408,3817,3395,3374,3497,3720,3835,3829,3879,4028,4236,4488,4708,5045,4884,4751,4572,4661,4676,4784,4681,4731,4752,4608,4407,3836,3740,3784,3897,4084,4144,4164,3840,4067,4716,4733,3968,3920,4812,4792,4740,4740,4571,4029,4180,4604,4756,4885,4720,4030,3794,4159,3881,3848,3679,3669,3840,3840,3834,3891,3854,3801,3753,3764,3680,3504,3580,3595,3516,3457,3397,3635,3946,3746,2988,1918,1998,2713,2523,2272,2229,2452,2853,3128,3031,2885,2811,3074,2862,2775,3638,4221,3184,2536,2566,2192,2072,1985,2048,2305,2806,2618,2050,2131,2437,2017,1738,1809,2162,2403,2322,2265,2288,2145,1896,2012,2613,2942,2966,2569,2677,3315,3674,3630,3572,3802,3584,3269,3057,2824,2591,2687,3242,3667,3130,2214,1770,1851,2188,2426,2996,3065,3895,4276,4201,4407,4500,4113,3704,3474,3326,3464,3688,3620,2698,2556,2808,2669,2964,3143,3141,3232,2885,2368,1991,2556,2889,2945,3063,3014,3115,3431,3131,2449,2394,2675,3060,3084,2623,2494,2600,2780,3168,3841,3925,3889,3732,3018,2608,2227,2322,3020,3971,3665,2995,3118,3072,3099,3271,3569,3496,3406,3319,3155,3344,3375,3501,3344,3164,2460,2098,2278,2600,2330,1831,1947,2042,2406,2571,2071,1752,2104,2167,2165,2266,2144,2088,2067,2296,2352,2232,2326,2461,2120,2642,2170,2034,2576,2294,2021,2017,1968,2060,2522,3164,3126,2530,2791,3116,3088,2998,2554,2601,2744,2674,2634,2670,2603,2866,3010,2742,2332,2500,2500,2392,2192,2404,2746,2784,2851,3062,3087,2987,2941,2902,2906,3002,2840,2889,2868,2681,2281,2285,2578,2258,1941,2477,2543,3132,3852,3702,3414,3444,2643,2558,2449,2224,2578,2946,2920,2661,2668,2034,1702,1523,1901,2120,2125,2662,2793,2588,2574,2761,2909,2809,2822,2918,2963,2686,2592,2216,2170,2205,2373,2646,2932,2964,2141,1820,2053,2569,3393,2776,2454,2328,2092,1764,1342,1493,1643,1642,1997,2732,3168,3551,2395,2045,2731,3151,3031,3354,3455,3040,2684,3052,2473,2998,3793,3798,3393,3184,3156,2790,2740,3108,3473,3140,2417,2243,2249,2698,3226,3195,3024,3506,3870,3813,3670,2945,1869,1654,2038,2647,3155,3376,3184,2828,2901,2834,3163,2942,2729,2655,2556,2254,2735,3557,3390,3454,3816,2883,2243,3000,3473,3062,2345,1899,1945,2093,1967,1887,2137,2590,2401,2513,2332,2510,2611,1970,1521,1598,1718,1748,1557,1504,1772,2022,2188,1866,1676,1432,1494,1790,1829,1635,1499,1518,1898,2264,2386,2656,3580,3959,3989,4169,4080,2864,1974,1584,1322,1373,1587,1547,1437,1456,1484,1556,1801,1844,1587,1510,1543,1578,1434,1348,1426,1589,1909,2426,2321,1842,1871,1877,2469,2630,2681,2670,2582,2895,3078,3142,3188,3371,2901,2839,2624,2562,2820,2866],[3861,4346,4583,4349,4544,4776,4863,4776,4143,3575,3494,3276,3294,3482,3641,3046,3141,3118,3130,3091,3059,2416,2182,2981,3572,2802,2344,2630,2889,2913,2454,2127,1715,1793,1793,2136,2708,2779,2411,2150,2427,2422,2585,2602,2520,2315,2078,1997,2302,2254,2136,2695,3173,3269,3443,3443,3079,3082,3384,3618,3077,2440,2222,2293,2489,2499,2661,2971,3046,3139,3156,3103,2257,1729,2098,2437,2721,2550,2190,2239,1772,1653,1946,2004,2003,2014,2209,2732,3019,3332,3121,2657,2293,2334,2237,2295,2397,2077,1869,2183,2973,2773,2502,2384,3431,3359,2968,3198,3248,3145,3239,2700,2511,2286,2401,2075,2096,2286,2470,2082,2024,2294,2430,2281,2511,2571,2515,2293,1970,2224,2243,2058,1975,2139,2292,2419,2543,2554,2342,2730,2990,3135,3260,3335,3345,3570,3028,2648,2429,2104,2098,2292,2811,3413,3742,3672,2921,2564,2145,2257,2611,2721,2249,2068,2613,3205,3205,2509,2466,3121,3431,3375,3120,3282,3287,2472,2499,2656,2911,3393,2882,2388,2341,2331,2876,3538,2923,2679,2796,3027,2763,2438,2459,2284,2239,2796,3078,3187,2941,2853,2957,2801,2923,2661,2354,2079,1678,1703,2035,1764,1613,1598,1481,2117,2910,3177,3150,2820,2820,3106,3118,2537,1625,1643,1901,2443,2561,3494,3530,3006,2759,2799,2958,3197,3245,3198,3430,3471,3313,3166,3156,2938,3156,2897,2545,2612,1758,779,958,1582,2051,1874,1612,2004,2021,2524,2806,2419,2773,2828,2519,2688,3272,3659,3334,3043,3239,3610,3835,3727,3818,3649,2613,1802,2090,2907,3219,3318,3274,3008,2792,2945,3478,3770,3517,3537,3226,2919,3267,3025,2336,2586,2890,2976,2932,2786,2633,2729,3199,3310,3028,3222,3154,3171,3312,3549,3159,2804,3494,4062,4240,3704,3608,3272,3861,3818,3096,3237,3851,3628,2906,2527,2431,2713,2503,2076,2014,2104,2235,2282,1963,1963,1956,2243,2532,2495,2621,2754,2991,3211,2793,2686,2567,2551,2602,2611,2895,3123,2844,3143,3497,3186,3560,3259,3019,2655,2758,3008,2856,2654,2584,2573,2643,2764,2707,2287,2763,2363,2431,2451,2536,2788,2932,2836,2632,2687,2631,2662,3052,3266,3117,3269,3291,3386,3558,3720,3658,3582,3564,3541,3681,3903,3993,3843,3548,3706,3864,3851,3942,4200,3719,3350,3549,3999,4020,4021,3884,3947,3924,4083,3604,3725,3767,3648,3957,3449,3054,3304,3476,3837,3618,3142,2908,2641,2746,2885,2686,2679,2570,2287,2746,3412,3422,3405,3327,2492,2059,2360,2980,3449,3566,3049,3184,3651,3519,3432,3416,3536,3520,3913,3474,3017,2768,2968,3238,3218,2895,2774,2808,2900,3074,3122,2805,2612,2880,3256,3442,3473,3543,3305,3098,3407,3391,2931,2810,3365,2862,2416,2459,2826,2810,2589,2093,2575,3755,3527,2629,2164,2295,2609,2719,2901,2939,2575,1892,1927,2472,2961,3507,3097,2043,1946,1961,2128,2153,1928,1977,2280,2812,2952,2666,3598,4131,3050,2589,2436,2561,3576,3549,3381,2591,2002,1958,1914,1379,1547,2767,3750,3948,3298,2227,2468,2481,2459,2547,2647,2293,2391,3351,3729,3719,3817,3887,3708,3814,3996,3988,3916,3960,3852,3430,2977,3277,3515,3483,3463,3461,3580,3777,3758,3816,3858,3914,3914,4017,4119,4167,4168,4107,4007,3758,3653,3915,4109,4079,3990,4036,4049,4079,4145,4201,3472,2955,3277,3541,4049,4145,4112,4059,4144,4143,4144,4153,4156,3695,3396,3234,3244,2988,2507,3107,2860,2522,2975,3127,3352,3175,3732,4127,3662,2850,1843,1428,1902,2580,3038,2999,2786,2541,2919,3000,2733,2733,2763,2919,2497,2423,2577,2098,1890,2283,2723,2723,2221,2623,3754,3515,3491,3964,3569,3071,3197,3759,4348,4015,3845,4047,3918,3327,3072,3092,3038,3261,3536,3704,3520,2963,2297,1638,1993,3116,3372,3646,2775,2119,2075,2570,2899,3000,3366,3711,3699,3507,3551,3893,3558,3009,2146,2200,2327,2324,2214,2004,2647,3189,3225,3665,2408,2422,2369,3112,3407,2972,2438,2896,3313,3304,3018,2102,2257,2476,2485,2416,2477,2050,2465,2400,2151,2289,2451,2445,2042,1872,1744,1649,1575,1555,1603,1502,1387,1875,1952,1647,1693,1634,1476,1229,1542,1600,1654,1553,1714,1977,2041,1854,1550,1624,1736,1741,1751,1825,1898,2561,3128,3165,3368,3390,3396,3107,2697,2999,3487,3839,3917,3551,2901,2688,2831,3179,3297,3409,3379,3493,3389,3262,3118,3003,2900,2785,2944,3099,2907,2500,2254,1833,1642,1518,1625,2003,2411,2599,2313,2275,2155,2243,2019,1934,2086,1895,1925,1935,1900,1671,1395,1555,1820,1785,1852,1914,1924,1875,1817,1821,1891,1987,1980,1850,1739,1870,2191,2123,1835,1691,1681,1848,1931,2160,2019,1803,1728,1863,1632,1705,2156,1866,2020,2170,2004,1846,2337,2797,2553,2248,1782,1756,2034,2117,2387,2347,2166,1912,2155,1959,1679,1586,1597,1921,2100,1843,1864,1773,1439,1527,1652,1803,1699,1913,1807,1471,1415,1590,2031,2775,3607,3406,3120,3093,3045,3172,2556,3118,3363,2564,2625,3220,2965,2798,2901,3164,2972,2226,2860,2862,1919,1434,1317,1852,2520,2302,2297,2733,2737,2442,2851,3498,3541,3200,2799,1876,1866,2166,2066,1918,1901,1800,2064,2273,2170,2125,2281,2194,1828,1818,1544,1336,2058,2305,2756,3639,3706,3613,3218,3284,3802,3398,2651,2332,2401,2206,2075,1781,1628,1632,1592,1542,1726,1794,1603,1588,1446,1711,2469,3090,2858,2075,1693,1590,1942,2314,2498,2351,2149,2013,1651,1876,2170,2409,2616,2385,2404,2589,2209,1830,1680,1626,1533,1674,1446,1297,2245,2469,1819,1489,1437,1353,1283,1323,1357,1300,1327,1484,1395,1548,1479,1316,1162,1224,1291,1287,1303,1278,1278,1432,1502,1559,1590,1553,1337,1277,1511,1608,1438,2221,2310,1544,1288,1411,1439,1522,1722,1579,1471,1571,1280,1207,1440,2013,2747,2514,1973,2025,2150,2354,1889,1647,1893,2161,2509,2321,1655,1385,1448,1405,1471,2097,2367,1611,1750,1889,1967,1963,1894,1798,1741,1512,1567,1883,2208,2311,2198,2300,2179,1933,1876,1993,2076,1558,1311,1763,1992,2021,1793,1403,1471,1350,1548,1356,1385,1339,1230,1303,1552,1561,1388,1448,1595,1476,1547,1343,1433,1448,1506,1376,1433,1457,1283,1440,1494,1361,1382,1396,1286,1177,1093,1145,1266,1567,1558,1329,1551,1523,1342,1480,1640,2070,2075,2618,2592,1877,1316,1720,2189,2443,2480,2369,2319,2100,2091,2802,2734,2484,2528,3106,4148,4425,4244,3843,3073,2728,2770,2339,2238,1818,1924,2736,2947,2788,2882,2905,2408,2172,2375,2245,2265,2422,2039,2544,2343,1969,1939,1985,1791,1667,1741,1748,1747,1847,1991,2011,1819,1834,2066,2155,2246,2232,2386,2500,2400,2191,2066,2140,2143,2082,2102,2062,2186,1947,2251,2715,2400,2908,2270,1571,2669,3161,2752,2335,2303,2424,2307,2504,2978,3425,2867,1699,1508,2143,2628,2712,2784,3006,3387,3572,3417,3473,3406,3259,2479,2302,2437,2216,2351,2766,3006,3506,3304,3066,3247,3742,4084,4132,4215,3994,3553,3027,2936,3160,3365,3509,3563,3710,4008,4247,4517,4720,4944,4650,4256,4530,4461,4236,4573,4621,4328,4112,4264,4408,4074,3986,3930,3998,4368,4536,4620,4445,4195,4268,4608,4140,4091,4187,4144,4045,4309,4395,4347,4432,4611,4813,4899,4804,4264,3893,4299,4057,3996,3869,3608,3671,3774,3768,3841,3758,3660,3980,4075,3764,3298,3381,3466,3064,3190,2932,3055,3138,2998,2885,2526,2787,2836,2619,2777,2720,2556,3108,3253,3348,3393,3130,3049,2929,2811,3459,3708,2800,2437,2246,2294,2127,2015,2173,2547,3638,3360,1970,2004,2107,1880,2009,2309,2442,2435,2686,2678,2521,2544,2363,2329,2547,2789,2901,2675,2580,2888,3194,3337,3392,3435,3361,3049,2727,2688,2830,3270,3603,3552,3275,2709,2184,2435,2307,2540,3194,3491,3796,4237,4252,4253,3894,3530,3239,3437,3394,3665,3741,3615,2701,2807,3188,3169,3119,2906,3049,3271,3049,2557,1729,2056,2923,3240,3201,3356,3549,3582,3262,2639,2654,2773,3083,2575,2468,2586,2677,2843,3389,3839,3811,3851,3449,2733,2496,2335,2668,3752,3883,2921,2839,3335,3272,3148,3468,3899,3790,3569,3275,3022,3077,3251,3157,3002,2902,2577,2545,2757,2851,2447,2222,2232,2547,2939,2401,1980,1864,1732,1994,2115,2136,2442,2349,2386,2500,2237,2181,2454,2543,2449,3016,3051,2474,2587,2732,2337,2121,1811,1657,1874,2986,3250,2921,2894,3060,2986,2817,2729,2802,2865,2855,2656,2351,1980,1998,1736,2077,2203,2634,2944,2848,2457,2316,2301,2135,2154,2315,2221,2123,2359,2326,2462,2658,2994,2755,2524,2463,2146,2032,2121,2286,2463,3054,3582,3805,3354,3002,2863,2567,2201,2397,2824,2785,2823,2787,2755,2803,2300,1641,1636,1845,2038,2211,2423,2918,3007,2806,2817,2691,2281,2284,2226,2074,2074,2294,2443,2458,2654,2602,2396,2612,2802,2907,2225,2242,2165,2378,2728,2235,2195,2325,2084,1676,1437,1793,2072,2167,2352,2392,2836,3050,2540,2094,2997,3006,2424,3164,3466,2899,2976,3815,2930,3462,3439,2787,2586,3090,2966,2667,2809,3112,3514,3560,3625,3510,3292,3064,2769,3073,3569,3355,2985,2712,2557,2348,1893,1970,2596,3265,3098,3352,2787,2534,3129,3462,3082,3178,3400,3078,2798,2701,2329,2536,2798,3278,3539,2511,2381,3038,3378,2657,2000,1958,1873,2146,1982,1630,1669,1881,2218,2599,2519,2768,2596,1882,1628,1569,1594,1871,1600,1752,1895,1845,1879,1830,1663,1596,1486,1367,1675,1765,1606,1565,2049,2488,2858,2613,3120,3285,2988,3039,2765,2106,1819,1690,1494,1618,2042,1779,1818,1628,1491,1691,1824,1760,1586,1679,1730,1494,1396,1541,1578,1643,1568,1577,1538,1814,2000,2045,2581,2559,2562,2562,2467,2905,3316,3159,3491,3675,3205,2869,2669,2854,2999,3087],[3824,4573,4540,4211,4151,4322,4412,4337,3908,3406,3312,3183,3187,2994,3405,3251,2624,2508,2586,2734,2919,2691,2632,2845,3293,2484,2386,2471,2209,2326,2022,1892,1625,1338,1479,2186,2338,2165,1866,1804,2106,2410,2215,2291,2328,2245,2432,2230,2343,2666,2799,3355,3396,2838,2941,3303,2706,2524,2910,2940,2532,2144,1974,2431,3015,2840,2648,2632,3185,3123,3140,2889,2402,2512,2797,2848,2976,2315,2216,2858,2397,1892,2128,2325,2313,2283,2420,2484,2584,2877,2934,2503,2299,2247,2257,2478,2415,2279,2273,2415,2561,2976,2853,2695,3371,3537,3480,3643,3488,3129,2585,2613,2698,2768,3366,3172,2764,2976,2640,2008,1982,2166,2446,2294,2664,2875,3096,2606,2167,1952,1831,1874,1916,2009,2216,2784,2721,1833,2078,2618,2647,2627,3077,2888,2446,2785,2799,2599,2558,2266,1848,1637,1879,2984,3665,3152,2185,1809,1632,1757,2144,2408,2391,2467,2708,3251,3606,2911,2779,3106,3264,3474,3359,3462,3133,2622,2828,2991,3156,2805,2898,2547,2398,2354,2576,2785,2480,2818,3166,3294,3266,2823,2185,1923,2321,3085,3105,2643,2662,2895,3125,3224,2757,2182,2005,1938,1879,2105,2630,2536,2022,2003,2065,2307,2777,2512,2236,2534,2798,2819,2965,2900,1891,1727,1871,2395,3085,3650,3414,3031,2764,2736,2939,3178,3165,3259,3218,3076,3032,3039,3093,3095,3006,2729,2574,2707,1958,1050,1186,1546,1936,2168,1995,2496,2496,2486,2973,3135,2686,2266,2257,2141,2406,3453,3617,3475,3498,3662,3740,3645,3540,3728,3227,2244,2243,3130,3235,3330,3110,3075,2906,3161,3353,3103,3103,3308,3198,3138,3461,2946,2010,2580,2741,2884,2841,2915,3088,3038,3238,3110,3240,3625,3492,3048,3399,3817,3460,3490,3741,3742,3746,3664,3252,3197,3461,2979,2764,2963,2788,2598,2539,2345,2485,2409,2273,2237,2427,2489,2532,2511,2398,2497,2561,2744,2685,2496,2578,2800,2917,2785,2706,3034,3133,3033,3071,2914,3012,2951,2655,2658,2440,2796,2976,2458,2410,2489,2687,2851,2695,2711,2792,2749,2906,2918,2895,2812,2846,2743,2862,2878,2891,3089,3304,3195,2884,2788,2736,3218,3420,3718,3919,3914,3554,3150,3318,3446,3222,3106,3235,3513,3813,3938,3726,3617,3350,3339,3592,3362,3323,3715,3721,3207,2769,2898,3343,3768,3700,3459,3751,3685,3098,3349,3894,3930,3781,3294,2996,2888,2915,3360,3185,2790,2837,2734,2640,2732,2757,2934,2883,2735,3786,5089,5179,4992,4087,2426,1898,2187,2996,3345,2775,2695,3367,3570,3425,3492,3498,3660,3482,3624,3461,3172,2900,2978,3263,3312,3191,2945,2670,2497,2767,3051,3105,3298,3343,3429,3540,3561,3651,3559,3376,3392,3251,2920,2934,3504,2777,2459,2599,2809,2834,2620,2113,2840,3893,3342,2938,2227,2147,2213,2345,2974,3208,3064,2547,1915,1885,2339,2963,3418,3191,2435,1967,1973,1968,1729,1750,2315,3417,3643,2824,3227,3868,2879,2539,2621,3160,3926,4041,3429,2433,1890,2118,2008,1393,1493,2419,3342,3437,2702,2388,2778,2713,3215,3084,2286,1825,2671,3628,3759,3786,3825,3769,3797,3288,3478,3871,3897,3853,3758,3422,3197,3439,3697,3654,3671,3582,3706,3771,3860,3895,3952,3994,4031,4091,4094,4156,4144,4013,3955,3839,3866,4034,4077,4014,3970,4018,4043,4062,4000,3907,3881,3601,3371,3376,4002,4132,4100,4060,4112,4189,4132,3586,3395,3632,3423,3225,3053,3082,3127,3104,3030,2565,2884,3023,3142,3047,3499,3737,2684,1482,1508,2303,3181,3442,3989,3647,3031,2728,2867,2832,2965,2894,3027,2805,2512,2562,2398,2094,2727,3348,3780,3410,2692,2921,3708,3674,3575,3829,3598,3063,3088,4020,4219,3508,3685,3846,3592,2555,1974,2165,2348,2686,3166,3150,3022,3160,3193,2918,3184,3307,3283,3650,3365,2777,2785,3024,3229,3294,3208,3526,3773,3793,3740,3818,3270,2805,2517,2712,2492,2250,2123,1960,2815,3386,2984,3896,3031,2647,2391,1773,2049,2575,2851,2903,2837,2554,2609,2081,2680,2843,2175,2484,2945,2878,2906,2902,2511,2474,2818,2469,1848,1837,1910,2221,1816,1571,1502,1360,1547,2281,2265,1797,1702,1602,1309,1109,1597,1476,1583,1816,1938,1809,2008,1872,1656,1739,1755,1751,1712,1762,1852,2979,3354,3160,3367,3443,3344,3111,2905,3030,3310,3660,3559,3710,3171,2916,3171,3350,3404,3378,3334,3141,2827,2910,2802,2699,2478,2210,2381,2405,2122,1865,1908,1953,1938,1801,1801,2656,3476,3406,2849,2441,2104,2039,1896,1804,1692,1744,1887,1883,1718,1525,1576,1822,1909,1687,1834,2075,2114,1790,1659,1679,1691,1792,1887,1814,1671,1702,1956,2032,1766,1697,1745,1923,1983,1806,1628,1536,1606,1863,1495,1673,2072,2248,2090,2078,1978,1881,2337,2540,2306,1842,1737,1954,1882,2026,2434,2260,1966,1819,2001,1720,1478,1470,1707,2323,2366,2078,2372,2453,1875,1610,1615,1887,1886,2129,1895,1600,1465,1409,1928,3020,3330,3144,3037,2619,2674,3338,3052,3181,3481,2429,2193,3151,3121,2834,2907,3018,2490,2447,2302,1989,2164,2106,2026,2705,2928,2374,2522,3030,2667,2771,3086,3510,3086,2868,2464,1722,2022,2266,1919,2202,2519,2135,2105,2386,2155,2188,2612,2475,2405,2344,1489,1476,2259,2417,2764,3482,3369,2741,2197,2845,2604,2296,2303,2880,2986,2459,1949,1587,1798,2255,1856,1856,2104,1888,1710,1445,1431,1704,2375,3079,2675,2049,1908,1820,2172,2071,2482,2367,2287,2106,1767,1810,2014,2373,2666,2620,2370,2306,1932,1708,1466,1438,1449,1445,1678,1883,2019,1792,1552,1447,1343,1262,1235,1300,1342,1428,1439,1281,1319,1374,1384,1290,1191,1338,1383,1452,1343,1278,1289,1354,1439,1664,1518,1339,1371,1477,1654,1595,1614,2096,1860,1513,1403,1365,1329,1411,1677,1694,1579,1532,1494,1700,2299,2888,3078,2679,2210,2029,1911,2390,2459,1964,1646,1897,2145,1886,1538,1520,1614,1582,1772,2304,2469,2156,1967,1779,1560,1758,1930,1808,1575,1457,1699,2098,1928,1919,1997,2198,2161,1899,1602,1611,1753,1499,1347,1523,1573,1471,1370,1480,1650,1450,1446,1300,1264,1260,1255,1317,1324,1361,1377,1588,1689,1506,1384,1243,1409,1481,1512,1407,1600,1615,1420,1469,1461,1444,1577,1642,1493,1351,1341,1477,2025,2725,2246,1490,1830,1701,1483,1492,1510,1896,1702,2123,2025,1650,1551,1818,2109,2386,2474,2456,2466,2343,2222,2503,2343,2467,3153,4021,4276,4211,3993,3714,3610,3241,2861,2591,2407,2125,2813,3333,2656,2168,2412,2624,2505,2515,2652,2712,2319,2662,1878,1709,1860,1602,1547,1716,1792,1977,2220,2381,2288,2199,2220,2185,1931,2057,2103,2138,2091,2088,2096,2070,1898,1559,1413,1737,2147,2227,2154,2177,2070,2086,2470,2850,2471,2442,1962,1966,3053,3152,2582,2287,2409,2798,2758,2557,2677,3448,3124,1510,1236,1921,2303,2338,2491,2629,2791,3172,3472,3628,3592,3227,2663,2693,2833,2698,2596,2887,2799,3231,3300,3086,3360,3764,3981,3792,3519,3288,3115,2999,2869,3017,3109,3005,3138,3419,3644,4029,4340,4631,4631,3984,3909,4386,4353,4100,4149,3755,3066,3099,3784,4067,4167,4472,4081,4107,4681,4759,4920,4771,4534,4460,4832,4852,4856,4307,3853,3658,3802,4244,4705,4812,4810,4783,4719,4532,3919,3694,4019,4208,4309,4104,3727,3548,3605,3747,3802,3812,3793,3890,4030,3978,3521,3294,3367,3299,3283,3015,2820,2454,2329,3075,3309,3020,2782,2970,3138,3038,2563,2648,2840,3149,3320,2998,2705,2531,2786,3299,3074,2555,2410,2557,2479,2365,2644,2779,2942,3688,3649,2834,2608,2491,2567,2858,3095,2996,2761,2631,2441,2610,3219,3257,2855,2652,3009,2889,2514,2090,2203,2954,3368,3238,2928,2945,2996,2775,2495,2884,3511,3452,3515,3629,3740,3584,3684,3564,3159,3425,3832,4026,4253,4192,4160,3686,3641,3399,3387,3459,3643,3482,3178,3212,3388,3355,3470,2970,2643,3084,3201,3006,3070,2415,2359,2922,3057,2996,3391,3605,3398,3296,2700,2620,2768,2964,2712,2702,2767,2896,2993,3223,3348,3462,3462,2943,2404,2130,2760,3479,4351,4016,3100,3292,3619,3484,3465,3540,3617,3393,3142,3084,2972,2987,3194,2377,2494,3150,2837,2390,2223,2181,2094,2217,2436,3163,2919,2109,2106,2140,2046,2188,2155,2578,2798,2430,2778,2317,1750,2017,2397,2392,2105,2666,3526,3537,3683,3876,2975,1979,1870,2118,2275,3008,2729,2563,2695,2802,2854,2776,2879,2645,2225,2134,2308,2457,2013,1639,1366,2155,2462,3029,3813,3579,2898,2362,2178,1904,1942,2048,1848,1948,2041,1979,2252,2513,2868,2764,2431,2244,2395,2713,2730,2768,2809,3408,3562,3613,3304,2852,2450,2364,2050,2375,2855,2671,2696,2776,3025,3148,2514,1769,1456,1585,2020,2376,2483,3335,3301,3144,3161,3028,2538,2600,2474,1894,1517,1424,1745,2410,2552,2387,2282,2385,2253,2229,2241,2352,2219,2453,2718,2454,2452,2575,2414,2238,2095,1756,1897,2387,2407,2040,2044,2293,2056,2298,3187,2813,2423,2901,2731,2438,3491,4443,4001,3946,3395,2890,3221,3094,2686,3298,3054,3050,3463,3801,3740,3277,3623,3328,2924,3296,3549,3117,2811,2868,2885,2587,2167,2124,2552,3084,2775,3062,3086,2957,2779,2541,2516,2582,3070,2886,2861,2976,2785,1924,1876,2452,2978,2654,2231,2676,3138,2220,2123,2115,1719,1908,1902,1757,1690,1720,2051,2326,2299,2366,2411,1886,1672,1548,1536,1497,1772,1910,1875,1880,1854,1710,1680,1970,1660,1290,1916,1777,1630,1632,1833,2104,2290,2235,2029,1777,1799,1817,1693,1642,1694,1741,1565,2055,2846,2158,1781,1562,1709,1862,1791,1514,1458,1630,1675,1387,1461,1764,1621,1527,1456,1376,1442,1937,2078,1994,2487,2466,2433,2480,2432,2643,3506,3662,3764,3781,3488,2994,2841,3058,3330,3429],[3520,4384,4373,4276,4292,4211,4304,4228,3494,3195,3238,3249,3128,2713,3022,3085,2341,2231,2423,2529,2594,2587,2556,2664,3110,2648,2499,2601,2240,2164,2354,2289,1906,1600,1801,2461,2580,2226,1748,1889,2367,2495,2340,2670,2874,2904,2585,2407,3201,3272,3226,3353,3167,3045,3156,3194,2986,3016,2975,2553,2486,2177,2240,2541,3046,3007,2630,2451,2758,2894,3090,2976,2915,3242,3370,3203,2772,2135,2974,3448,3066,2654,2703,3019,3086,2553,2308,2396,2401,2691,2674,2320,2343,2261,2187,2240,2633,2788,2798,2818,3264,3882,3719,3538,3509,3129,2922,3389,3270,2931,2265,2423,2842,2785,3399,3647,3198,3362,3438,3241,2527,2190,2185,2438,2469,2318,2307,2489,2438,1956,1768,1784,1956,2164,2388,2195,1764,1588,1640,2059,2312,2468,2862,2634,2207,2580,2652,2619,2281,2064,1765,1788,1678,1660,2288,2493,2175,1640,1283,1539,1514,1990,2534,2485,2548,2536,2835,2742,2943,2777,3109,3564,3133,3035,3492,3167,2573,2733,2488,2446,2770,2978,2707,1974,1911,1966,2164,2756,3117,3205,3040,2760,2054,1993,2692,3194,2784,2381,2979,3306,3149,2725,2260,2330,2068,1916,2132,2277,2535,2809,2653,2369,2200,2270,2296,2268,2695,3010,3031,3116,3249,3053,1884,1661,2001,2954,3777,3560,3092,2879,2922,2812,2823,2994,2954,3124,2845,2774,2931,2974,2855,2854,2978,2805,2708,2968,2850,2355,2003,2098,2035,2045,2309,3445,3667,3162,3289,3185,2667,2514,2933,2922,2974,3586,3940,3795,3452,3406,3497,3558,3584,3657,3658,3231,2972,3255,3242,3122,3028,3032,2991,3069,3153,2874,2784,2908,3132,3409,3764,3480,2753,3068,3111,3080,3340,3716,3785,3859,3382,2988,3391,3626,3476,3439,3436,3188,3372,3522,2928,2777,2513,2286,2477,2745,2389,2361,2587,2247,2087,2395,2488,2475,2746,2495,2409,2433,2331,2329,2611,2752,2575,2654,2705,2866,2785,2818,2655,2665,2692,2531,2499,3134,3772,3495,2842,2602,2798,2929,2558,2490,2555,2507,2460,2497,2607,2638,2632,2722,2754,2908,2814,2830,2930,3281,3181,3052,3065,3319,3443,3110,3155,3328,3297,3532,3572,3028,2886,3514,3742,3863,3833,3781,3364,3148,3439,3585,3284,2953,2974,2920,3160,3662,3554,3562,3471,3444,3569,3407,3239,3442,3418,3001,2927,3287,3457,3176,3521,3218,2686,2430,2400,3051,3864,3920,3894,3763,3931,3471,3094,3103,2886,2966,3143,2779,2479,2490,2577,2500,2570,2662,3197,4315,4652,4252,3262,2308,1981,2170,2866,3278,2832,3099,3397,3520,3520,3559,3551,3648,3438,3248,3100,2866,2833,3052,3249,3018,3016,2783,2591,2470,2643,3182,3473,3748,3674,3522,3732,3672,3570,3753,3682,3558,3466,3053,3299,3769,3549,3382,3494,3220,2845,2733,2127,3024,3931,3227,2912,2358,2214,2047,2104,2497,2985,3440,3228,2498,1814,1801,2510,3249,3409,2722,2114,1913,2316,2420,2144,2432,2789,2579,2532,2742,2783,2427,2611,2652,3094,3219,3730,3264,1930,1415,1510,1787,1868,2160,2770,3029,2588,2084,2126,2909,3460,3589,3118,2308,2179,3060,3665,3746,3790,3637,2995,3480,3252,3318,3824,3895,3703,3570,3544,3470,3516,3538,3528,3542,3603,3902,3894,3872,3912,3933,3955,4003,4061,4079,4100,4128,4065,4038,3994,4025,4008,4049,3913,3792,3881,3962,3986,3817,3131,3307,3062,3496,3964,4177,4176,4049,4020,4048,4072,4004,3516,3274,3423,3381,3500,3255,3085,3187,3172,3160,2920,2845,2843,2943,2829,3089,3594,2982,2014,2731,3418,3219,3351,3961,3725,3425,3689,3494,3168,3043,2873,2973,2886,3256,3304,3028,3254,3341,3362,4039,4093,3312,3082,3183,3234,3210,3305,3780,3430,2989,3994,3948,3837,3802,3648,3458,2287,1613,1878,2204,2539,2990,3259,3030,3421,3898,4039,4327,4132,3337,3273,3459,3332,3492,3684,3642,3429,3172,3486,3848,3779,3762,3578,3116,2705,2801,2939,2326,2304,2524,2342,2595,3075,3353,3118,3059,3630,3111,1314,889,1576,2912,2752,2480,2603,3061,3108,3340,2895,2103,2123,2490,2494,2446,2785,2783,3000,2686,1951,1727,1559,2118,2393,1892,2280,2555,1820,1745,1995,2011,1975,1857,1701,1340,1578,1817,1509,1469,1969,2154,1975,2131,1832,1754,1817,1759,1723,1790,1779,1869,2930,3595,3360,3410,3429,3134,3272,3548,3509,3318,3533,3595,3610,3196,2912,3084,3360,3581,3217,2540,2316,2241,2573,2464,2245,2063,1790,1703,1786,1916,2293,2772,2721,2613,2218,2112,3059,3730,3002,2416,2276,2011,1744,1807,2063,1958,1728,1698,1666,1584,1599,1614,1730,1730,1560,1902,2206,2166,1903,1873,2142,1663,1617,1694,1787,1860,1733,1800,1772,1594,1436,1797,2178,1874,1669,1770,1919,1626,1898,1821,1906,2179,2299,1818,1584,1569,1683,1937,2261,2137,1848,2187,2026,2090,2121,2135,2270,2082,2076,2126,1713,1677,2127,2086,2786,2775,2197,2100,2105,1786,1648,1769,1776,2576,3460,2987,1910,1558,1566,2475,3172,3095,2719,2943,2872,2858,3178,3254,3584,3316,2784,3177,3540,3161,2448,2583,2697,1990,2395,3005,2813,2595,2499,2476,3110,3316,2558,2520,2663,3343,3371,3256,3155,2754,2895,2625,2195,2410,2300,2138,2238,2251,2014,1719,2001,2040,2170,1844,1686,2779,3036,1964,1815,2197,2456,2500,2835,2442,1647,1547,2064,2241,2157,2297,2616,2520,2386,2631,2575,2575,2370,2412,2396,2574,2623,1770,1386,1914,1802,2104,3039,2690,2165,1978,2115,1914,2279,2498,2485,2765,2322,2054,2084,2095,2283,2443,2905,2473,1766,1693,1496,1464,1695,1587,1496,1756,1774,1643,1740,1581,1546,1418,1383,1274,1166,1298,1456,1415,1314,1417,1594,1838,1687,1294,1304,1273,1336,1332,1287,1316,1338,1402,1413,1283,1254,1485,1801,2145,1946,1888,1644,1560,1754,1603,1474,1511,1753,1909,1747,1617,1489,1523,1756,2326,2812,2652,2322,1859,1887,1853,1907,2325,2408,1969,1396,1041,1327,1594,1624,1550,1842,2343,2473,2136,1762,1709,1666,1551,1770,1957,1719,1531,1559,1454,1650,1670,1515,1529,1587,1898,2024,1863,1851,1677,1375,1306,1549,1617,1500,1394,1478,1443,1338,1433,1374,1305,1395,1386,1380,1268,1362,1490,1724,1540,1514,1473,1484,1475,1457,1479,1415,1455,1430,1345,1229,1305,1432,1544,1756,1441,1239,1409,1657,2229,2757,2295,1686,1604,1637,1592,1500,1668,2040,1770,1526,1806,2049,1879,1742,1875,2186,2393,2294,2555,2520,2351,2409,2260,2928,3894,4192,4068,3774,3224,2753,3130,3633,3487,3099,2691,2881,3207,3032,2318,1851,2126,2395,2612,2665,2529,2565,2151,2710,2049,1930,2352,1876,1605,1816,2259,2404,2502,2563,2368,2202,2015,1807,1684,1924,2041,1825,1542,1442,1342,1355,1461,1663,1764,1985,2421,2487,2294,2193,2084,2098,2452,2702,2390,2285,1737,2526,3474,3298,2569,2347,2390,2814,3162,2958,2548,2866,2663,1267,1555,2175,2400,2368,2238,2329,2373,2511,2872,3261,3401,3261,3265,3333,2896,2855,3164,3276,2853,2876,3317,3437,3505,3780,3675,3200,2867,2756,2797,2730,2693,2803,3029,2943,2848,2987,3275,3791,4295,4576,4232,3504,3565,3828,3954,4251,4281,3807,3279,2982,3541,3605,3884,4720,4440,4392,4607,4519,4859,4726,4880,5009,5159,5181,5199,5172,5029,4584,4271,4541,4485,4397,4712,4631,4619,4174,3835,3927,4059,4416,4681,4296,3833,3696,3695,3745,3772,3958,4120,4157,4074,4060,3779,3662,3727,3640,3485,3366,3146,2964,2732,3171,3266,2953,2820,3228,3385,3093,2619,2480,2784,3077,3081,2618,2254,2508,2852,3353,2917,2491,2508,2622,2620,2766,2888,2873,2978,3820,3831,2720,2353,2357,2866,3160,3049,3107,3022,3101,3239,3123,3300,3415,3350,2863,2794,2934,2264,1737,2047,2744,3040,3000,2985,3182,3321,3218,2564,2979,3444,3300,3661,3892,4241,4173,3931,3979,4112,4232,4304,3981,3801,4176,4024,3491,3487,3520,3503,3538,3340,3031,2999,3240,3123,3023,3352,2770,2730,2811,2701,2909,3189,3053,2880,2731,2601,2647,3051,3165,3187,3439,2979,2835,2908,2916,2968,2831,2910,3099,2943,2972,3017,3333,3511,2535,2012,2126,3041,4071,4353,3995,4190,4504,4060,3515,3421,3242,3140,3114,3073,3087,3038,3107,3102,2323,2531,2987,2628,2564,2188,1384,1281,1515,2102,2570,2312,1973,2103,2153,2151,2070,2585,2792,2585,2598,2634,1841,1847,2131,2680,3009,2794,2690,2729,2419,3107,3678,2646,2018,2697,2850,2625,2909,2331,1894,2119,2458,2308,2321,2257,1807,2169,2289,2784,3069,2996,2707,2374,2834,3098,3221,3794,3459,2843,2230,2334,2039,1947,1964,1733,2103,2407,2476,2645,2906,3147,3131,2499,2200,2413,2792,3024,3121,3411,3308,2889,2974,2940,2669,2132,2542,2211,2574,2967,2415,2197,2425,2481,2676,2862,2580,2267,1981,2265,2544,2459,3062,3166,3000,3105,3052,2619,2820,2835,2383,2381,2392,2396,2478,2370,2431,2239,2158,2316,2220,2564,2864,2878,3063,2776,2302,2167,2018,2198,2445,2421,2136,1885,1768,1963,2008,1921,1858,1858,2548,2708,2315,2347,2587,2314,2849,3806,3996,3676,3548,2833,2269,3099,3064,2589,2938,2585,2961,3813,3942,3507,3533,3473,2978,3112,3174,2964,2885,2553,2438,2929,2816,2454,2579,2777,2769,2434,2386,2885,3151,2516,2050,2412,2719,3076,2381,2400,2362,2566,2002,1199,1508,2278,2384,1996,2236,2360,1802,1729,1805,1725,2204,2072,1815,1917,2047,2042,1932,1790,1972,2311,1843,1674,1538,1576,1425,1499,1657,1806,1974,1842,1776,1968,1938,1873,1870,2215,1750,1697,2521,2331,2307,2569,2160,1732,1493,1407,1348,1449,1378,1651,1646,1416,1587,2071,1981,1787,1902,2210,1961,1515,1451,1546,1426,1472,1864,2390,2205,1668,1423,1419,1535,1824,2322,2423,2097,2652,2535,2323,2419,2547,2451,3232,3804,3818,3765,3340,2941,3024,3151,3128,3216],[3477,3850,3675,4127,4452,4436,4532,4509,3464,3312,3400,3218,2564,2292,2874,2886,2584,2913,2790,2661,2681,2542,2454,2425,2720,2827,2916,2747,2554,2634,2632,2360,2011,1946,2244,2392,2319,2347,2354,2403,2467,2380,2581,2858,2520,2274,2142,2187,2504,2887,2986,3159,3056,2891,2476,2535,2938,3143,2774,2591,2508,2170,2082,2026,2575,2775,2498,2332,2439,2617,2905,2966,2900,3171,3216,3000,2945,2225,2499,3292,2792,2232,2584,3261,3453,3281,2986,2517,2526,2721,2571,2342,2361,2158,2242,2390,2385,2675,2730,2618,3134,4188,4050,3705,3394,2958,3012,3138,2974,2301,2138,2515,2446,2399,2734,2931,3134,3638,4036,4224,3836,3454,2754,2047,2195,2072,1997,2535,2655,2425,2188,2058,2107,2410,2798,2616,2102,1721,1679,2038,2298,2294,2655,2616,2662,2591,2808,2471,2122,1837,1826,1982,1731,1602,1726,1730,2157,1862,2004,2484,2242,2331,2541,2286,1956,2081,2397,2780,3309,3333,3508,3541,3222,3282,3625,3222,2114,2021,2032,1970,2157,2802,2933,2531,2042,1981,2730,3106,3352,2927,2511,2212,2098,2630,3038,2836,2266,2471,3066,3286,3222,2699,2120,2890,2670,2196,2154,2272,2436,2833,2927,2734,2746,2498,2244,2379,3107,3185,3118,3121,3231,3050,2208,2100,3169,3995,3748,3384,3007,2993,3318,3204,2963,3144,2986,2889,2835,2740,2641,2598,2608,2818,2976,2756,2415,2754,3034,2943,2418,2412,2436,2520,2852,3558,3648,3020,3054,3261,3387,3181,3426,3089,3210,3707,3889,3646,3328,3298,3414,3582,3676,3691,3737,3795,3708,3684,3222,3082,3064,3110,3081,3117,3186,2786,2349,2980,3508,3770,3746,3436,3104,3805,3806,3784,4084,4024,4101,3620,2539,2775,3222,3580,3441,2954,2880,2424,2468,2351,2097,2178,2247,2522,2669,2463,2376,2620,2517,2131,2370,2643,2444,2451,2600,2457,2459,2706,2648,2762,2810,2589,2589,2964,2836,2856,2773,2670,2518,2553,2715,2604,2563,3020,3396,2878,2250,2544,2938,2626,2198,2512,2618,2669,2924,3277,3515,3488,2878,2805,2837,2720,2934,3444,3724,4027,3664,3165,2933,3197,3959,3731,3764,3958,3740,3708,3370,2790,2991,3449,3717,3634,3581,3575,3206,3124,3124,2999,2797,2993,3028,3223,3082,2698,2532,2534,3056,3679,3923,3936,3678,3741,3688,3109,3167,3543,3570,3500,3797,3440,2342,1717,1799,2406,3334,3662,3871,4059,4396,4285,4040,4048,3979,4024,3958,3479,3132,3018,3208,3200,3154,3007,3156,3323,2759,2671,2907,2729,2763,2547,2634,3230,3031,3162,3460,3697,3740,3802,3618,3435,3397,3326,3008,2621,2796,3022,3137,2795,2730,2776,2584,2540,2719,3215,3584,3853,3791,3773,3883,3761,3434,3491,3663,3637,3436,3074,3286,3415,3176,3194,3682,3407,3052,2916,2216,3139,3616,2917,2395,2173,1666,1512,1752,2007,2763,3657,3680,3084,2214,1676,1958,2880,3325,3052,2732,2304,2219,2382,2313,2458,2285,2169,2724,2620,2460,2427,2519,2404,2662,3254,3513,2942,2309,2056,1794,2222,2408,2451,2964,2524,2226,2056,1569,1897,2683,2934,2620,2191,2101,3316,3760,3826,3811,3564,2563,3230,3924,3976,4007,3903,3759,3539,3442,3353,3376,3488,3514,3393,3651,3967,3906,3903,3953,3962,4031,4047,4074,4069,4084,4100,4128,4113,4068,4058,4008,3994,3948,3903,3917,3881,3963,4004,3317,3265,3739,4041,4220,4201,4060,3905,3863,3960,4004,3997,3930,3594,3229,3355,3673,3688,3254,2958,2922,2877,2829,2727,2722,2795,2784,2979,3430,2945,2382,2286,2365,2858,3207,3116,3098,2944,2864,2723,2625,2725,2478,2465,2667,2701,3130,3820,3963,3806,3852,3980,3483,3241,2774,2147,2684,3160,3491,3739,3196,3252,3740,3531,3526,3476,3510,3377,2314,1913,2148,2190,2544,3013,3242,3316,3304,3348,3880,4532,4157,3033,3032,3390,3196,3583,4030,4132,3633,3485,3724,3950,3951,3813,3598,3186,2357,2484,2497,2059,2652,2956,2878,2778,2864,3078,2944,2568,3287,3592,1834,1532,1736,3190,2934,2410,2624,2603,2624,2895,2736,2349,2380,2316,1607,1679,2423,2763,2940,2690,1949,1885,2095,2097,1888,1970,2880,3752,2923,2191,1860,1820,1837,1921,1731,1392,1528,1497,1430,1477,1851,2214,1978,2036,1858,1691,1693,1744,1768,1750,1738,1812,2657,3526,3450,3518,3099,2698,3195,3619,3492,3021,3239,3386,2788,2316,2566,2729,2971,3359,3210,2621,2680,2368,2548,2293,1936,1789,1831,2166,2304,2769,3419,3207,2788,3580,2950,2379,2520,3201,2764,2016,1891,1986,2004,2014,1918,1885,1826,1836,1694,1701,1583,1562,1778,1789,1810,1987,2129,2188,2746,3226,1902,1599,1711,1537,1564,1772,1860,1718,1664,1622,1718,2199,2260,1711,1652,1746,1779,1841,1843,1806,1890,2173,2075,1702,1505,1726,1807,1743,1968,1740,1866,2299,2090,2001,1989,2023,2358,2258,1905,1959,2004,2426,2747,2745,3019,3112,2346,1990,1788,1780,1924,1971,2700,4180,4568,3684,2461,2563,2548,2933,3418,3589,3166,3055,3007,2864,2245,2347,3686,3640,2426,2696,3256,2968,2644,2884,2856,2146,2414,3154,2784,2241,2073,2069,2676,2735,2338,2441,2920,3332,2863,2918,2787,2025,2086,2222,2192,2221,2233,2397,2140,1636,1123,1502,1719,1415,1229,894,1246,2331,2341,1949,2178,2585,2967,2552,2008,1451,1626,1787,1759,1949,2054,2406,2556,2150,2328,3227,3737,3593,2964,2865,2735,2921,2753,1630,1710,2025,1970,1860,2259,2464,2261,1925,1660,1480,1875,2071,2205,2425,2248,2139,2160,2225,2314,2216,2689,2122,1861,1739,1589,1614,1689,1696,1652,1838,1916,1863,1904,1600,1700,1425,1322,1316,1332,1400,1408,1410,1482,1708,1886,1767,1570,1431,1332,1296,1290,1404,1416,1349,1455,1560,1485,1292,1215,1301,1726,2257,1965,1764,1492,1824,2005,1672,1482,1294,1606,2011,1770,1837,1572,1528,1608,1700,2508,2442,1764,1393,1590,1848,1737,1783,2172,2044,1412,1304,1708,1665,1460,1313,1788,2007,1726,1588,1630,1627,1671,1445,1470,2066,1732,1512,1820,1492,1738,2156,1680,1272,1547,1947,1836,1653,1606,1352,1370,1324,1360,1411,1388,1352,1371,1321,1273,1401,1528,1561,1490,1340,1276,1218,1322,1379,1584,1637,1558,1662,1678,1453,1368,1379,1332,1425,1344,1342,1259,1301,1471,1521,1474,1257,1148,1250,1460,1641,1809,1792,1738,1406,1422,1491,1571,1957,2203,2069,2073,2653,2958,2429,1936,1763,2004,2292,2535,2643,2425,2298,2321,3093,3986,4059,3826,3585,3065,2875,2786,2510,3059,3649,3465,3036,2985,2828,2566,2571,2226,2171,2226,2457,2828,2493,1913,2282,2511,1925,1606,1357,1749,2101,2003,2514,2467,2325,2188,1869,1645,1582,1631,1817,2301,2387,1694,1519,1877,1988,2167,2149,2199,2201,2370,2597,2496,2238,2006,2052,2087,2246,2643,2075,2277,2209,3132,3680,3203,2431,2135,2282,2574,2843,2748,2446,1976,1463,1225,1614,2122,2361,2386,2385,2322,2233,2078,2161,2464,2836,3068,3341,3208,2778,2642,3072,3263,2979,2766,3405,3776,3420,3252,3078,2807,2757,2778,2865,2620,2429,2512,2855,3124,3149,3043,3110,3654,4396,4576,4248,3754,4037,4472,4559,4619,4448,4157,3868,3665,3740,3531,3929,4584,4440,4628,4879,4551,4786,5028,5133,5148,5127,5108,5223,5309,5268,5079,4739,4516,3912,3968,4560,4620,4485,3898,3882,4389,4443,4484,4519,4180,3916,3886,3796,3852,3770,3716,4068,4208,4071,3968,3833,3737,3775,3773,3645,3684,3681,3992,3563,2894,2639,2592,2683,3145,3495,3626,3291,3282,3255,3155,2743,2268,2414,3016,3189,3002,2435,2386,2698,2640,2666,2962,3087,2852,2656,3050,2857,2513,2880,2730,2845,3270,3360,3308,3271,3332,3202,3194,3413,3403,3570,3113,2984,3016,2214,1606,2203,2946,2874,2900,3007,3321,3740,3727,3372,3458,3498,3488,3610,3552,3814,4095,4039,4220,4172,4084,4145,4078,3786,3996,3905,3518,3428,3580,3662,3504,3270,3218,2844,2990,2812,3007,2732,2437,2403,2420,2626,2664,2973,3343,3156,2729,2850,3009,3200,3038,3149,3522,3051,2613,2574,2758,3009,2945,2958,2977,3012,3037,2987,3302,3572,2498,1781,2531,3732,4327,4317,3908,4144,4090,3639,3182,3055,3116,3178,3062,3015,3098,3109,3241,2746,1944,2486,2642,2556,2382,1996,1612,1506,1596,1668,1896,2095,1985,1902,2094,2145,2240,2765,3234,2967,2919,2249,2050,2192,1937,2459,2927,2865,2408,2194,1480,1551,2213,2117,2486,2652,2297,2587,2764,2113,1894,2362,2659,2346,2000,1971,2091,2946,3124,3285,3427,3212,3029,3005,3317,3399,3362,3707,3342,2839,2602,2490,2266,2103,2049,1956,2530,3250,3471,3403,3330,3208,2879,2933,2711,2657,2634,2898,3085,3315,3054,3095,2719,2165,2056,1957,2176,2220,2302,2890,2754,2278,2262,2498,2568,2499,2732,2886,2514,2478,2566,2617,2954,2901,2774,3029,2629,1878,2155,2644,2610,2666,2440,2470,2058,1993,2279,2303,2150,2172,2164,2753,3464,3322,3052,2606,2558,2093,1160,1203,2230,2201,2280,2117,1772,1911,2052,2088,2092,2042,2208,2078,2116,2602,2635,2540,3286,3492,3258,3286,3076,2573,2728,3068,3152,2810,2714,2600,3242,3527,3338,3472,3650,3219,2995,3371,3053,2840,2568,2455,2145,2322,2050,2283,2858,3171,3211,2711,2509,2893,3416,3090,2874,2862,2394,2088,2200,2189,2005,2293,2205,1176,1024,1852,2012,1852,1978,1954,1908,2150,2332,2010,1936,1839,1648,1973,2094,1838,1758,1627,1892,2047,1920,1656,1553,1489,1388,1457,1908,2490,2054,1842,2210,2472,2165,1891,2036,1852,1755,1897,2558,2569,2790,2909,1938,1780,1440,1409,1432,1436,1482,1615,1586,1471,1373,1412,1730,1945,2191,2175,1560,1584,1756,1574,1416,1453,1792,2108,2102,1698,1600,1570,1450,1879,2530,2530,2430,2503,2622,2401,2408,2658,2436,2874,3714,3767,3829,3575,3282,3709,3961,3538,3162],[2916,3558,3783,4179,4284,4364,4428,4376,3673,3385,3332,3118,2657,2320,2431,2558,2499,3041,2720,2733,2603,2730,2723,2579,2573,2377,2590,3010,2801,2411,2293,2297,2394,2473,2187,2170,2217,2536,2547,2168,2167,2302,2612,2483,1897,1714,1592,1543,1767,2721,3000,2829,2645,2302,2135,2206,2459,3042,2843,2695,2853,2472,2199,2292,2353,2263,1997,1916,2152,2345,3064,3150,3169,3162,2878,2918,3174,2587,2282,2482,2325,2064,2729,3566,3460,3329,3172,2730,2558,2454,2248,2120,2214,2039,1954,2043,2225,2286,2285,2491,2639,3458,3561,3518,3394,3110,3168,2905,2542,2300,2327,2487,2494,2837,2769,3082,2792,2668,2539,3130,3232,3586,3915,2935,1899,1373,1526,2546,2976,2750,2332,2361,2135,2493,2447,2240,2271,1977,1699,2013,2316,2596,2921,2797,2746,2519,2341,2719,2523,2390,2433,1938,1673,1868,1959,2088,2473,2060,2100,2344,2498,2268,2165,2411,2281,2266,2635,3139,3383,3310,3443,3506,3516,3542,3654,2632,1780,1930,1847,1772,2353,2876,3356,3427,2405,2194,2862,2945,2753,2325,2294,2117,2261,2751,2938,2481,1759,1944,2646,2800,2989,2656,2136,2503,2477,1989,1878,2195,2523,2847,2541,2647,2851,2974,2708,2545,2998,2977,2923,3026,3120,3201,3161,3382,4104,4015,3605,3244,2967,3178,3461,3406,3160,2921,2710,2689,2768,2751,2509,2464,2495,2636,2699,2651,2202,2482,2917,3056,3122,3054,2857,2866,2625,2842,2957,2567,3121,3812,4002,3772,3739,2712,2749,3431,3750,3738,3498,3448,3461,3448,3632,3684,3414,3642,3682,3657,3382,3182,3243,3279,3099,3129,3216,2903,2328,3383,3459,3655,3575,2956,3254,4221,3780,3293,3363,3022,2802,2267,2114,2391,2766,2943,3146,2539,2478,2308,2281,2525,2706,2863,2720,2800,2764,2802,2878,2745,2521,2366,2471,2593,2605,2648,2612,2520,2591,2751,2813,2823,2540,2509,2554,2824,2753,2874,2942,2929,3161,2975,2855,2511,2437,2588,2755,2813,2625,2637,2750,2509,2656,2939,3204,3793,4221,3751,3394,3393,3275,3209,3323,3429,3819,4131,4108,3928,3727,3544,3507,3707,3836,3694,3538,3317,2977,3124,3062,3205,3518,3529,3673,3738,3897,3975,3629,3472,3742,3772,3554,3541,3576,3561,2445,1481,1644,1745,2288,3065,3838,3935,3582,3443,3565,3274,3214,3188,3259,3686,3806,3580,2388,1777,1601,1888,2225,2764,3536,4013,4279,4444,4308,4258,4427,4569,4465,3955,3754,3843,4071,3995,3717,3641,3532,3199,2893,3137,3322,3111,3100,2707,2686,3104,3120,3107,3244,3643,3904,3912,3619,3386,3384,3074,3088,3103,3098,3187,3308,3072,2819,2876,3106,3341,3517,3764,3718,3840,3618,3730,3798,3849,3615,3496,3797,3736,3278,2961,2931,2757,2521,2964,3606,3594,3382,2938,2099,2792,2949,2551,2585,2225,1570,1677,1826,2038,3107,3805,3562,3155,2737,2241,1756,2100,2769,3205,3489,3298,2618,1962,2113,2623,2533,2426,3008,2771,2460,2474,2536,2467,2250,1834,1837,2371,2636,2557,2654,2176,2197,2085,2416,2249,2381,2277,1643,1710,2322,2420,2143,2068,2631,3509,3885,3872,3774,3558,3199,3617,4041,3912,3973,3895,3798,3508,3329,3330,3118,3154,3422,3584,3870,4072,3979,3905,4018,4112,4145,4073,4089,4068,4112,4151,4189,4172,4083,4051,4063,4083,4112,3893,3174,3487,3960,4100,3607,3440,3904,4101,4062,3991,3783,3615,3681,3760,3806,3819,3664,3453,3300,3508,3587,3352,3038,2900,2769,2610,2613,2693,2806,3002,2859,2945,3060,2421,2293,2543,3339,3861,3152,2533,2814,2624,2428,2173,2056,2588,2446,2416,2362,2235,2215,2712,3495,3819,3706,3217,2459,3027,1952,1428,2411,3392,3776,3575,3304,3442,3507,3241,3168,3497,3630,3571,2249,1712,2001,2060,2434,3057,3318,3520,3460,3318,3436,3730,3445,2569,3143,3640,3198,3145,3741,3959,3887,3917,3936,3806,3846,3649,3562,3365,2784,2356,2283,1969,2277,2508,2701,2724,2311,2194,2752,2753,2916,3473,3118,2485,2515,3321,2919,2623,2656,2496,2318,2806,3326,2619,2196,2321,2098,2129,2316,2388,2358,2473,2416,2470,2428,1908,1660,2137,3436,3893,2790,1882,1963,1822,1632,1693,1543,1470,1510,1349,1400,1434,1506,1699,1653,1587,1481,1373,1433,1602,1698,1636,1661,2020,2844,3709,4028,4109,3229,2714,2916,3420,3330,2723,2610,2907,2442,1625,1876,1772,1847,2612,3219,2966,2643,2391,2495,2468,2100,1990,2678,2967,2404,2888,3030,2543,2573,3077,2778,2536,2358,2499,2534,2452,2227,2072,1990,1945,1872,1883,1730,1587,1529,1798,1821,1624,1723,1932,1779,1682,1760,1897,3481,3919,1838,1700,1620,1434,1448,1494,1640,1817,1734,1591,1848,2166,2087,1680,1647,1619,1832,1939,1785,2137,2301,1774,1653,1716,1707,1960,1857,1740,1843,1225,1403,2112,2209,1735,1853,2509,2658,2797,1896,2221,2380,2634,2951,3332,3799,3157,2416,2186,2063,2092,2374,2577,3653,4441,3892,2765,2983,3742,3440,3411,3860,3497,2831,2540,2064,2041,1907,2826,3698,3719,2429,2097,2288,2426,2318,2421,2709,2723,3167,3308,2708,2333,2011,1796,1945,1918,1907,1859,2022,2403,2625,2886,3187,2460,2212,1844,1889,2004,2155,2096,1907,1429,889,1208,1313,810,978,1230,1347,2301,2313,2977,3400,3341,2854,2312,1852,1825,2112,1836,1482,1527,1686,2281,2698,2098,1868,2509,3199,3493,2607,2690,3173,3117,2549,1794,1770,1748,2057,1964,2356,2690,2314,1797,1432,1552,1605,1531,1568,1796,1891,2248,2307,2125,1917,2127,2300,1940,1915,1782,1979,2449,2615,2352,1757,1882,1957,1911,1782,1500,1595,1455,1482,1466,1400,1314,1322,1548,1666,1858,1789,1473,1557,1541,1351,1319,1285,1299,1376,1395,1409,1508,1411,1246,1253,1519,1511,1545,1566,1453,1358,1463,1558,1539,1537,1562,1721,1855,1630,1873,1963,1671,1576,1576,1699,1703,1598,1454,1681,1842,1498,1647,1929,1823,1692,1535,1538,1388,1385,1511,1610,1512,1556,1898,1994,1578,1418,1432,1426,1765,1676,1636,1946,1626,1856,2184,1698,1637,2079,2093,1857,1704,1661,1410,1453,1391,1242,1485,1546,1231,1215,1228,1195,1341,1699,2023,1642,1372,1261,1260,1505,1533,1750,1749,1347,1444,1651,1382,1338,1392,1299,1287,1219,1285,1346,1301,1363,1452,1428,1410,1272,1310,1289,1281,1181,1318,1364,1417,1528,1285,1456,2029,2176,2365,2633,3208,3367,2923,1950,1794,2164,2594,2609,2354,2417,2662,3403,4168,4083,4001,3694,3059,3032,3504,3254,2533,2335,2700,2921,2652,2751,2651,2532,2578,2351,2293,2337,2525,3052,2609,2130,2460,2162,1382,993,1584,2370,2398,2122,2464,2132,1847,1785,1741,1874,2065,2229,2341,2438,2301,1907,1831,2178,2081,2187,2204,2297,2281,2404,2432,2358,2249,2053,2144,2213,2059,2225,1989,2234,2798,3228,3255,3123,2689,2144,2202,2919,3276,2464,2253,1568,1174,1744,1806,1788,2137,2311,2342,2374,2216,2088,2014,1885,2041,2508,3040,3012,2732,2656,2900,3216,2998,2672,2967,3263,2853,2731,2661,2517,2733,2991,2999,2633,2326,2303,2548,2979,3252,3216,3310,3827,4574,4649,4452,4496,4736,4588,4620,4784,4588,4365,4207,4040,3682,3499,3978,4092,4397,4716,4952,4629,4963,5312,5317,5198,4936,5036,5108,4988,5109,5028,4716,4064,3773,4252,4665,4624,4328,3784,3858,4372,4505,4160,4351,4429,4320,4260,4191,4070,3895,3951,4176,4175,4027,3896,3950,3951,3868,4016,3771,3928,4081,4228,3664,2481,2009,2265,2564,2990,3398,3758,3520,3548,3457,3392,2739,2497,2915,3016,3300,3387,2927,2742,2498,1903,1898,1887,2081,2268,2293,2630,2909,3197,3451,3000,2799,3481,3540,3208,3018,2994,2993,3161,3074,3263,3540,3549,3480,2980,2386,2262,2791,3460,3145,3011,3642,3990,3793,3447,3556,3656,3564,3539,3625,3805,3939,4083,3996,3607,3518,3717,3903,4220,4177,3884,3825,4003,3667,3659,3741,3387,2918,2895,2870,3122,2949,2732,2619,2756,2491,2334,2433,2566,3030,3495,3332,2768,2631,2852,2919,2836,3119,3562,3290,2837,2853,2850,2971,3427,3481,3020,3096,2946,3083,4041,3873,2569,1909,2496,3384,3895,4176,3603,3349,3231,3114,2990,2931,3089,3258,3292,3187,3030,3021,3167,2359,2023,2573,2663,2481,2547,2081,1669,1512,1334,1188,1579,2084,2371,2497,2467,2262,2546,3036,3574,3538,3200,2302,2091,2029,1599,1816,1894,2171,1924,1814,1735,1923,1963,2374,2811,2796,2542,2464,2744,2642,2344,2122,2398,2978,2692,2647,2867,3455,3623,3804,3615,2895,2407,2313,3124,3292,3474,3575,3654,3398,2996,2491,2179,2353,2437,2104,2821,3098,3136,3138,2825,2314,2167,2364,2434,2264,2221,2558,3119,2996,2033,2347,2501,1863,1797,2263,2226,1988,1870,2727,3333,2853,2679,2783,2665,2273,2552,2685,2332,2401,2653,2436,2693,3004,2855,2804,2258,1386,1664,2421,2083,2361,2152,2340,2120,2357,2842,2636,2176,2301,2522,2774,2928,2675,2958,2577,2326,2273,1325,1090,2167,2477,2410,2657,2557,1984,2002,2272,2380,2313,2099,1675,1724,2222,2453,2703,3287,3308,3102,2967,3096,3048,3581,3529,3128,3074,3288,3396,3693,3420,3118,3604,3384,2861,3141,3252,3043,3142,2775,2621,2564,2176,1609,2083,3003,3598,3550,3061,2963,3053,3263,3330,3063,2965,2821,2600,2578,2645,2203,2379,2947,2283,1926,2417,1976,1915,1914,1949,1859,2285,3050,2719,1764,1969,2150,2453,1935,1936,1886,1729,2023,2044,1840,1797,1787,1680,1498,1306,1931,2778,2346,2389,2128,2072,2000,1811,2117,1991,1899,2048,2005,1987,2884,3079,2292,1846,1523,1496,1788,1615,1426,1465,1568,1514,1308,1415,1788,1992,2079,1819,1339,1757,1620,1310,1409,1529,1461,1725,1865,1698,1978,2366,2391,2223,2281,2345,2593,2541,2430,2453,2918,3366,2779,2606,3504,3713,4007,3792,3437,3545,4038,4040,3617],[2815,3678,3971,3723,3216,3259,3642,3693,3416,3249,3264,3147,2897,2470,2546,2443,2469,2393,2238,2601,2717,2884,2968,2894,2350,2048,2854,3550,2468,1994,2125,2175,2700,2755,2823,2854,2509,2827,2603,2035,1915,2005,2648,2543,2136,1730,1588,1566,2036,2801,2812,2486,2229,2170,2349,2409,2278,2865,2962,2937,3138,2750,2348,2386,2311,2010,1679,1568,1613,2265,3016,3239,3002,1821,2128,2967,3128,3051,2939,2801,2707,2599,2929,3417,3364,3436,2966,2735,2457,2284,2306,2346,2331,2065,1833,2113,2280,2004,2146,2130,2565,3520,3608,3373,3038,2962,2988,2539,2441,2591,2289,2592,2595,2839,2689,2921,2502,2106,2248,2565,2321,3040,3782,2813,1866,1299,1501,2187,2708,2542,2196,2229,1868,2022,2219,2158,1969,1740,1692,2016,1750,2210,2592,2845,2847,3097,3082,3063,2826,2528,2250,1791,1649,1652,1748,2056,2172,2140,1960,2277,2679,2367,2148,2364,2440,2280,2545,3182,3320,3394,3433,3228,3530,3454,2922,2027,1754,2156,2490,2411,2170,2496,3142,3355,2195,2303,2548,2548,2454,2190,2078,2490,3140,2625,2497,2423,2354,2459,2766,2661,3010,2907,1691,1367,1939,1657,1272,1732,2236,2353,1842,1969,2112,2807,2927,2661,2771,3020,3132,2985,2767,3172,3842,4047,4117,3982,3709,3207,3263,3483,3340,3183,2921,2641,2654,2702,2642,2640,2596,2647,2580,2855,3049,2921,2294,2425,2962,2968,2932,2597,2492,2552,2318,2577,3062,3054,3382,3602,3500,3931,3618,2567,2655,3061,3585,3772,3398,3310,3250,3298,3664,3665,3435,3593,3726,3642,3322,3020,3168,3218,3109,3219,3300,3403,3088,3093,2967,3037,2998,2454,2711,3397,2985,2557,2402,2086,2110,2142,2415,3010,3083,2791,2678,2698,2840,2558,2438,2793,3056,2878,2708,2655,2718,2795,3154,3131,2908,2689,2715,2852,2686,2531,2709,2844,2932,2937,2975,2929,2787,3033,3197,3102,2752,2556,2455,2924,3373,3232,2974,2817,2814,2814,2580,2419,2150,1964,1986,2336,3156,4041,4116,4440,4673,3826,3185,3043,3139,3145,3364,3439,3427,3406,3361,3265,3300,3363,3353,3124,2905,2889,2908,3065,3174,3165,2741,2518,2580,2775,2932,3133,3416,3491,3429,3476,3266,3307,3735,3817,3682,3210,2138,2348,2554,2563,2730,2882,3520,3560,3374,3392,3561,3541,3515,3252,2920,3212,3454,3740,2809,1945,1822,2105,2461,3056,3581,4111,4506,4530,4463,4467,4451,4484,4396,4099,4024,4180,4433,4277,3863,3738,3773,3548,3222,3220,3219,2755,2785,2507,2379,2775,3085,3098,3082,3156,3240,3661,3808,3592,3406,3429,3840,3520,3312,3385,3597,3360,2983,3030,3486,3695,3573,3637,3972,4121,3710,3612,3813,3824,3681,3578,3669,3553,3163,3228,3397,3110,2622,3104,3461,3517,3351,2820,2130,2253,2714,2752,2217,1814,1924,2013,1970,2247,3579,3782,2729,2297,2646,2780,2263,1839,2192,2980,3221,3398,2906,2317,2352,3019,2592,2463,3162,2750,2410,2678,2561,2392,2045,1546,1476,1743,2568,2793,2744,2525,2322,2610,2842,2359,2445,2475,1952,1818,2196,2094,1896,1764,2126,2994,3552,3398,3317,3432,3327,3850,3980,3727,3774,3873,3758,3463,3375,3529,3299,3119,3429,3826,4034,4109,4100,4112,4232,4224,4164,4268,4140,4111,4272,4328,4269,4178,4112,4068,4037,4006,4068,3764,2468,3094,3972,4168,4100,4132,4101,3805,3355,3255,3062,3019,3119,3127,3293,3422,3509,3510,3333,3537,3387,2820,2801,2727,2698,2714,2756,2834,2932,2855,2665,2807,2762,2503,2600,3108,3304,2788,2820,2987,3383,3050,2724,2417,2364,2753,2681,2335,2098,2178,2167,2339,2714,2742,2736,1985,2420,3156,2289,1996,2417,3142,3475,3330,3383,3341,2951,2861,3185,3021,3464,3666,2270,1701,1889,1907,2115,2641,3165,3151,3150,3097,3104,3348,3382,2564,2886,3270,3041,3115,3147,3084,3408,3284,3450,3820,3736,3519,3530,3716,3509,2766,2272,1881,2163,2437,2460,2465,2311,2617,3175,3036,2955,3090,2635,2131,2305,2341,2425,2655,2686,2584,2304,2974,3260,2566,1920,2156,2368,2278,2296,2203,1970,2103,2290,2324,2361,2148,1973,2292,3495,3360,2425,1865,2171,1944,1709,1640,1489,1516,1370,1317,1344,1250,1247,1227,1211,1376,1435,1432,1450,1511,1624,1633,1516,1922,2736,3763,4168,4025,3200,2349,2258,2931,3141,2764,2433,2855,3016,2288,1865,1588,1656,2405,2842,2524,2316,2243,2200,2231,2291,2640,2770,2767,2543,2680,2630,2536,2488,2310,2275,2453,2504,2447,2630,2775,2512,2230,1970,1937,1881,1726,1902,1908,1776,1982,1878,1564,1581,1563,1571,1645,1823,1711,2127,1533,1565,1655,1581,1451,1369,1334,1404,1655,1723,1802,1991,2500,2304,1774,1669,1571,1576,1642,1971,2828,2798,1843,1640,1655,1758,1709,1654,1780,2211,1593,1117,1750,1951,2010,3024,3339,2971,3479,2888,3268,3094,2750,2449,2556,2952,2589,2125,1894,2177,2055,2326,2588,3153,3543,2644,2560,3657,3868,3570,3618,3537,3096,2487,1937,1760,2531,2600,3273,3086,2731,2417,2254,2294,2567,2118,1737,2160,3051,3848,3730,3134,2568,2317,2228,1881,1838,1860,1538,1284,1880,2854,3151,3497,2879,2291,1970,1638,1731,2766,2918,2236,1787,1356,1342,1840,1475,1481,2008,2459,2787,2510,2513,2352,2115,2050,1893,1691,1924,1880,1771,1634,1576,1747,1925,2151,2095,1896,1623,2016,2314,1967,1957,2174,2293,1873,1638,1505,1864,1863,1639,2126,2341,1930,1501,1566,1724,1447,1393,1384,1497,1527,2164,2351,2254,1756,1863,1952,1897,2120,2070,2030,2432,2461,2029,1636,1692,1639,1694,1500,1406,1439,1487,1507,1489,1546,1356,1362,1654,1830,1702,1581,1502,1842,1620,1310,1408,1472,1406,1474,1490,1436,1487,1555,1384,1341,1521,1425,1359,1499,1569,1445,1440,1499,1559,1681,1730,1693,1727,1788,1908,1592,1585,1722,1694,1678,1706,1555,1779,2148,2198,1875,1915,2098,1941,1792,1748,1587,1572,1783,1750,1458,1360,1498,1779,1750,1832,1608,1515,1414,1673,1891,1898,1719,1548,1643,1786,1864,1764,1783,1667,1936,1609,1520,1750,1700,1394,1288,1454,1494,1327,1306,1444,1330,1205,1205,1526,1485,1388,1397,1483,1599,1666,1717,1508,1215,1368,1378,1392,1751,1707,1414,1286,1239,1339,1346,1229,1217,1308,1376,1375,1340,1324,1346,1344,1136,1292,1443,1810,2149,1778,1700,2189,2064,2274,2626,3174,2944,2193,1710,1964,2354,2470,2365,2398,2676,3554,4406,4467,4015,3618,3111,2878,3321,3642,3022,2318,2247,2429,2251,2052,2264,2631,2618,2242,2256,2478,2564,2888,3065,2597,2108,1873,1724,1335,1664,3270,3573,2840,2200,1764,1540,1740,1975,2187,2294,2391,2451,2355,1966,1851,1972,1861,2123,2165,2236,2277,2253,2336,2355,2301,1976,1719,1577,2106,2208,2085,2071,2087,2441,2890,3275,3255,3225,3099,2702,2802,3573,3328,2655,2154,1661,1193,1767,2170,2106,2106,1882,1951,2102,2170,2111,1960,1720,1651,2035,2530,2850,2765,2599,2753,2920,2874,2808,2639,2750,2764,2722,2606,2557,2551,2889,2988,2713,2568,2424,2402,2827,3292,3377,3673,4236,4725,4716,4395,4629,4689,4584,4720,4440,4143,4112,4291,3911,3730,3658,3704,3678,4347,5020,4880,4460,4649,4718,4896,4793,4540,4588,4561,4096,4332,4380,4604,4444,4487,4757,4525,4208,4056,3680,3691,3881,4252,3958,3995,4284,4229,4000,3794,3749,4016,4253,4132,3815,3917,3862,3992,4100,3961,3950,3818,3831,3764,3902,3516,2556,2300,2737,2677,2974,3085,3459,3450,3107,3191,3293,2868,2859,2952,3004,3385,3486,3164,2530,2242,1727,1700,1282,1302,1805,2284,2898,3264,3642,3768,3124,3129,3599,3484,3209,2974,3130,3132,2774,2548,3066,3411,3375,2962,2522,2828,2924,2941,3017,3181,3020,3485,3858,3535,3538,3983,4042,3839,3652,3760,4121,4040,3885,3645,3305,3358,3576,3738,3780,3869,3848,3834,4120,3674,3726,3493,3192,2879,2705,2710,2822,2786,2773,2887,2958,2808,2787,2687,2484,3017,3461,3333,2957,2676,2686,2947,3122,3464,3828,3720,3179,3132,2988,3220,3633,3609,3270,3156,3098,3394,4177,4027,2930,2414,2815,3063,3361,3646,3384,3086,2991,3044,2998,3053,3233,3604,3650,2983,2762,2899,3006,2309,2663,2857,2862,2521,2338,2074,1957,2101,1710,1437,2054,2197,2574,2688,2768,2596,2867,3441,3421,3305,3271,2670,1875,1808,2161,2064,1796,1913,2282,2634,2835,2241,2095,2788,2980,2919,2522,2492,2853,3120,2892,2457,2863,3652,3455,2945,3238,3795,3735,3535,3406,3577,3276,3232,3450,3401,3826,3792,3697,3739,3583,3381,3316,3355,3000,2710,2932,2705,2473,2491,2034,1801,2128,1873,1612,2007,2120,2525,3176,3038,3015,2795,2346,2020,2435,2293,1823,1465,1381,2390,3162,3132,2847,3053,2622,2469,2642,2815,2612,2700,2731,2187,2138,2755,3044,2920,2194,1606,1800,1703,1976,2978,2730,2697,2758,2848,3273,3095,2669,2532,2220,2224,2456,2824,3349,2665,2359,2584,2009,1748,2300,2507,2509,2371,2715,2036,1788,2207,1905,2033,2414,2020,1956,2127,2187,2780,3309,3011,3188,3459,3260,3265,3582,3173,2724,2961,3252,3184,3362,3596,3559,3674,3042,2702,3189,3016,2788,3029,2746,2345,2315,1811,1396,1778,2568,3008,3428,2995,2784,2790,2727,2461,2436,2512,2292,2332,2827,3027,2489,2607,3216,3199,3010,2415,1948,1940,1992,1973,1886,2026,2482,2810,2287,2674,2798,2750,2200,2233,1958,1980,2454,2381,1759,1642,1760,1805,1667,1435,1728,2056,2974,3050,2260,1930,1783,1907,2205,1980,1948,1797,2020,2146,2686,2633,2046,1614,1434,1538,1744,1658,1604,1543,1471,1402,1426,1565,1776,2036,1914,1695,1664,1661,1488,1425,1516,1500,1435,1744,1779,1908,2011,2796,2562,1944,2142,2329,2557,2596,2362,2426,3046,3616,3295,2499,3164,3676,4048,3875,3377,3006,3232,3480,3776],[2886,3378,3628,3494,2795,2500,2977,2861,2895,3135,3167,3073,3135,2867,2834,3039,3079,2621,2174,2252,2456,2280,2246,2375,2241,2601,3201,3753,2470,1981,2125,2288,2495,2751,3580,3488,2790,3056,2899,2061,2054,2298,2727,2825,2319,1835,1767,1697,2035,2567,2541,2430,2379,2450,2597,2714,2648,2959,3216,3041,2991,2967,2529,2176,2146,2282,1820,1478,1676,2235,2453,2684,1782,861,1643,2824,3153,3203,3312,3139,2842,2821,3084,3355,3514,3633,2962,2406,2156,2113,2177,2329,2342,2384,2199,2322,2316,2426,2597,2183,2581,3590,3721,3211,2595,2081,2254,2068,2520,2819,2150,2265,2479,2776,2658,2887,2855,2661,3074,3083,2871,3020,2842,2579,1767,1693,1930,2046,1865,1614,1819,2025,1831,1950,2686,3151,2323,1939,2018,2147,2010,2344,2374,2598,2887,3133,3521,3613,3295,2613,2078,1881,1757,1772,1908,2579,2620,2404,2137,2396,2677,2427,2318,2221,2580,2640,2720,2857,2840,2956,3076,3058,3049,3206,2590,1819,1886,1745,1896,2202,1827,2076,2923,2690,2478,2722,2669,2422,2328,2386,2289,2535,2481,2563,2640,2640,2806,2591,2414,2431,2817,3044,2009,1346,2041,1888,1231,1730,2234,2207,2119,1984,1875,2573,3111,2754,2610,3219,3393,2874,2723,3332,4090,4088,4026,3866,3683,3558,3465,3227,3083,2887,2684,2583,2569,2679,2695,2615,2668,2711,2820,3393,3391,3032,2472,2322,2764,3017,2915,2459,2551,2640,2911,3103,3352,3545,3704,3523,3292,3235,2545,2502,3000,3270,3614,3581,3392,3308,3182,3303,3755,3972,3840,3749,3701,3702,3559,3165,3061,3332,2943,3051,3033,3264,3055,2853,3009,3145,3100,2711,2611,2527,2221,1935,2330,2820,3122,3330,3514,3531,3134,2877,2708,2697,3110,3144,2871,3043,3336,2944,2839,2852,2927,2942,3199,3314,3031,2588,2743,2850,2729,2662,2910,2963,2836,2720,2942,3066,2961,2805,2711,2749,2799,2687,2840,3030,2435,2800,3009,2975,2857,2377,1851,1840,1946,2039,2299,2470,3089,4098,3968,4041,4103,3538,2967,2857,2554,2513,3106,3322,3398,3560,3450,3294,3033,2967,3049,3016,2978,2983,2971,2800,2616,2350,1878,2007,2264,2374,1847,1874,2909,3294,3190,2776,2368,2751,3060,2733,3090,2929,2432,2372,2300,2425,2491,2691,2987,3050,2927,2885,3141,3176,3222,2937,2613,2750,3090,3421,3346,3075,2774,3005,3553,3863,4163,4304,4560,4572,4510,4383,4624,4508,4333,4241,4080,4123,4188,3925,3537,3540,4006,3958,3582,3451,3420,3061,2934,2564,2543,2909,3207,3210,3242,3138,2952,3295,3846,3305,3005,3548,4064,3629,3333,3693,3958,3693,3374,3428,3154,3420,3370,3299,3660,3947,3766,3736,3637,3487,3456,3317,3155,3143,2910,3406,3728,3475,2974,3051,3281,3287,3232,2674,2128,2769,3350,3127,2077,1965,2031,2315,2286,2875,3525,3730,2850,1937,2247,2702,2602,2118,1848,2547,2786,3050,2886,2576,2306,2468,2274,2321,2388,2229,2244,2555,2287,2378,2173,1690,1654,1959,2118,2002,2703,3465,3235,3311,3516,2961,2401,2389,2290,2216,2500,2393,2080,2053,2869,3582,3697,3431,3233,3228,3348,3840,3847,3471,3663,3838,3771,3605,3530,3641,3630,3640,3816,3914,3974,4034,4054,4055,4124,4168,4149,4224,4180,4224,4296,4283,4205,4140,4086,4085,4024,3950,4009,3928,3098,3538,4109,4143,4100,4062,4006,3748,3180,3461,3496,3174,2708,2591,2690,3022,3364,3295,3234,3420,3151,2774,2812,2845,2809,2893,3052,3147,3146,2529,2285,2718,2777,2508,2701,2807,2357,1801,2219,2900,3274,3097,2928,2635,2658,2668,2720,2489,1931,2166,2134,2229,2728,2640,2686,2423,2929,3164,2752,2272,2220,2867,3171,3291,3569,3023,2705,3293,3299,2983,3531,3654,2470,1643,1679,1890,2345,2488,2979,3131,3404,3380,3827,4002,3805,2814,2633,3038,2972,3046,3090,3321,3495,2807,2889,3580,3600,3407,3494,3665,3391,2955,2175,2021,2395,2014,2240,2242,2472,3174,3172,2852,3045,3059,3124,3006,2584,2329,2875,3095,2779,2255,2626,3308,3065,2636,2109,2138,2325,2442,2526,2333,1999,1994,2077,1978,1996,1824,2215,2763,3498,3294,2283,2218,2346,1912,1758,1570,1290,1351,1330,1370,1505,1438,1303,1281,1302,1400,1468,1487,1479,1491,1457,1447,1461,1542,2032,2764,2841,2760,2734,2244,2048,2480,2974,2878,2836,3257,3411,3020,2615,2344,2098,2106,2311,2329,2269,2381,2279,2281,2659,2881,2732,2646,2600,2502,2545,2570,2563,2600,2570,2496,2393,2419,2259,2105,2049,2100,2015,1809,1638,1443,1643,1672,1746,1958,1767,1673,1545,1528,1613,1673,1748,1522,1457,1483,1487,1564,1558,1391,1418,1387,1414,1466,1521,1662,1809,2135,1976,1761,1690,1706,1722,1950,2541,3411,2466,1752,1749,1741,1787,1970,1959,2556,3480,2564,1742,1915,2041,3000,3448,3107,2939,3176,3063,3262,3300,3079,2468,2674,3143,2705,2466,2026,1802,1833,2026,2558,2494,2335,2253,2904,3875,3616,3209,2842,2755,2610,2125,1564,2075,2403,2622,2446,1904,1911,2387,2791,2460,2549,1858,1639,2066,3117,3609,3558,2834,1968,2185,2304,1905,1923,1796,1710,2049,2116,2742,2649,2458,2116,1791,1654,1677,1963,2222,2128,1786,1635,1356,1082,1732,2143,2233,2410,2718,2278,1825,2255,2342,2116,2224,1741,1677,2127,1799,1765,1764,1640,1702,1896,2175,2741,2568,1748,1685,1762,1895,1721,1676,1807,1626,1763,1927,2010,1623,1447,1932,2097,1628,1480,1762,1694,1526,1571,1671,1576,1582,2059,2345,2068,1771,1889,1835,1807,1881,1781,1471,1508,1658,1522,1556,1692,1588,1545,1680,1706,1484,1401,1431,1593,1752,1484,1591,1735,1599,1454,1513,1498,1570,1588,1505,1355,1516,1363,1498,1445,1591,1602,1475,1338,1413,1407,1312,1344,1574,1623,1366,1357,1401,1450,1663,1738,1694,1875,1762,1758,1559,1482,1714,1617,2294,2684,2144,2702,2545,2245,2031,1866,2149,2036,1747,1806,1760,1836,1709,1463,1372,1456,1434,1483,1489,1735,1619,1559,1561,1526,1757,1725,1350,1335,1596,1656,1541,1321,1462,1417,1685,1559,1662,2200,2010,1455,1544,1442,1281,1357,1310,1490,1317,1171,1036,1217,1435,1421,1428,1583,1723,1644,1644,1453,1416,1374,1417,1459,1886,1805,1523,1443,1317,1381,1364,1337,1285,1228,1364,1268,1302,1290,1383,1371,1218,1227,1395,1788,1986,1644,1699,2122,1933,1931,2254,2508,2067,1757,2078,2371,2343,2253,2359,2716,3327,4120,4421,4387,3848,2938,2609,2835,2970,3015,2722,2463,2536,2662,2677,2175,1892,2204,2373,2193,2282,2564,2667,2791,2716,2422,1891,1780,1759,2046,2345,2656,2420,2189,2214,2077,2132,2410,2482,2550,2501,2466,2813,3196,2589,2200,2132,1985,2162,2222,2258,2324,2237,2364,2334,2149,1853,1888,1990,2402,2248,2298,2235,2315,2739,2545,2874,3183,3260,2710,2360,2342,2526,2561,2482,2075,1859,1405,1761,2424,2320,2070,1844,1551,1713,2124,2148,2024,2033,2300,2605,2538,2400,2481,2763,3116,3084,3271,3087,3078,2869,3086,3073,2811,2531,2352,2589,2914,2860,3041,2832,2512,2755,3150,3515,3981,4645,4965,4474,4224,4409,4232,4396,4415,3889,3775,3627,4291,4460,4428,4396,4320,4366,4705,5017,4628,4193,4353,4550,4690,4754,4396,4200,4256,4428,4232,3841,4099,4279,4264,4542,4376,4015,3680,3685,3707,3708,3848,3893,3770,3917,3836,3499,3417,3482,3829,4041,4117,3804,3679,3637,3730,4027,4220,4015,3817,3712,3718,3829,3440,2750,2604,2854,2874,3321,3329,3185,2849,2832,3173,3229,3213,3025,2823,3039,3437,3584,3264,2458,1839,1877,2054,1895,1946,2031,2329,2898,2860,2901,2762,2851,3702,3918,3658,3432,3228,3256,2932,2725,3264,3510,3256,3167,2908,2599,2996,2935,2808,2546,2941,3133,3072,3536,4001,3942,3936,3937,3697,3784,3834,4172,4251,3829,3563,3300,3011,3173,3288,3376,3466,3709,4164,4312,4081,3777,3340,3013,2836,2632,2695,2827,2953,3130,3174,3142,3006,2996,2857,2474,2858,3219,3212,3292,3079,2742,2656,2908,3607,3897,3802,3481,3259,3042,3261,3360,3484,3581,3414,3291,3474,3817,3919,3600,3176,3189,3293,3318,3337,3303,3140,3097,3001,3011,3260,3614,4052,4168,3050,2063,2111,2418,2097,2273,2670,2812,2862,2664,2332,2622,2766,2308,2423,2711,2321,2525,2777,2752,2747,2974,3162,3012,2842,2954,3366,2824,2489,2543,2309,2223,2389,2476,2912,3000,2366,2521,3048,3243,2937,2655,2909,3010,3147,3154,3177,3738,4109,3805,3194,3293,3562,3352,2922,2712,3763,3828,3380,3238,3313,3364,3497,4204,4496,4455,4003,3725,3476,3138,3495,3027,2706,2568,2417,2121,2317,2791,2119,1520,2153,2005,2176,2403,2842,3123,2535,2088,1917,1982,1748,1607,1688,1827,2525,3233,3319,2636,2886,2473,2376,2597,2648,2347,2367,2395,1867,1394,1878,2691,2803,2640,2914,2470,1528,2320,3130,2996,2705,2559,2846,2818,2709,3011,2442,1760,2300,2832,2809,3327,3222,2464,2438,2333,2358,3046,2343,2162,1954,2387,2313,2239,2343,2076,2706,3279,2620,2183,2035,2488,3096,3406,2977,3222,3011,2569,2463,2396,2541,2996,3274,3253,2437,2608,3353,3630,3259,3095,3183,3450,3414,3437,3369,2895,2790,2847,2419,1614,1896,3243,3077,2539,2563,2730,2326,2424,2504,2403,2851,2832,2831,3374,3551,3151,2941,3421,3438,3079,2282,1917,2036,1962,1707,1762,2156,2019,2299,1951,2157,2558,2384,2040,1669,1823,1987,1940,2019,1825,1435,1721,2061,1954,1974,1991,1950,2469,2297,1889,2051,2027,2054,2176,1888,2006,2101,2260,2198,2149,1887,1647,1507,1475,1627,1600,1542,1526,1365,1346,1533,1721,1703,1932,2000,1744,1698,1665,1569,1638,1596,1482,1522,1542,1825,1970,1982,1856,2445,2215,1780,2134,2332,2438,2663,2447,2171,2974,3585,3595,2754,2791,3494,3973,4079,3706,3297,3378,3550,3905],[3153,3372,3510,3606,3120,2688,2825,2738,2818,2774,2871,3078,3007,2764,3083,3415,3018,2440,2405,2906,2416,1700,2026,2514,2370,2365,2423,2512,2453,2832,3009,2624,2176,2368,2720,2810,2282,2751,2823,2429,2427,2298,2460,2596,2086,1703,1666,1618,1978,2359,2438,2621,2883,2832,2835,3131,3286,3384,3420,3164,2893,2742,2420,2517,2462,2315,1758,1496,1483,1579,2122,2414,1972,1361,1374,2408,2978,3652,3746,3350,3168,3127,3074,3115,3350,2978,2555,2743,2530,2228,2204,2490,2530,2853,2610,2307,2366,2716,2867,2733,3047,3674,3441,2885,2420,1659,1682,1621,2065,2124,1822,2081,2543,2558,2146,2515,2910,2995,3142,3193,3197,2856,2362,2396,2176,1953,1875,1874,1870,2005,2092,2096,2326,2932,2801,3034,2750,2563,2520,2132,1986,1982,2270,2571,2554,2867,3384,3635,3387,2831,2172,1981,1931,1914,2115,2463,2582,2714,2498,2636,2404,2420,2326,1810,2275,2586,2551,2481,2386,2645,3133,2851,2774,3007,2218,2007,1833,1594,2093,1917,1924,2135,2319,2408,2351,2333,2597,2552,2512,2866,2603,2619,2557,2669,2662,2807,2841,2687,2878,2964,3068,3013,2308,1614,1962,1812,1389,1863,2403,2696,2796,2548,2438,2774,2830,2672,2938,3300,3239,2315,1967,3288,4135,3748,3450,3582,3669,3880,3828,3260,2884,2596,2533,2585,2956,2801,2781,2638,2362,2102,2531,3439,3731,3275,2554,2212,2736,3369,3403,3285,3226,2704,2639,2689,2711,3051,3315,2879,3056,2714,2420,2765,2872,3162,3519,3529,3354,3197,3210,3403,3670,3747,3657,3685,3716,3499,3515,3646,3397,3559,3077,3088,3176,3181,3097,3024,2668,2155,1679,1802,2384,2376,2418,2690,3198,3458,3574,3138,2520,2024,1730,2085,2651,2673,3273,3786,3521,3011,3235,3162,3002,2952,2864,2975,3405,3229,2966,2530,2714,2964,2859,2574,2701,2792,3007,3130,3124,3087,2686,2453,2588,2858,2957,2920,2770,2641,2714,2776,2534,2026,1790,1469,1374,1934,2348,2564,2685,2719,3078,3450,3364,3709,4055,3650,3061,3128,3187,3318,3470,3065,3159,3248,3020,3008,3050,3019,3106,3269,3175,3128,3133,3220,3050,2224,2135,2931,3494,3010,1619,1683,2766,2677,2357,2183,2244,2396,2013,1896,2967,2921,2600,2247,1974,1901,1945,2258,2696,2917,3090,2993,2994,3107,2968,3028,3042,2952,2918,2729,2846,3270,3385,3448,2954,3072,3828,4061,4359,4463,4236,4024,3995,3772,3580,3801,4081,4096,3942,3639,3392,3286,3874,3802,3740,3884,3599,3130,2857,2817,2806,3051,3154,3067,3348,3447,3408,3674,3779,3165,3349,3862,4104,3918,3645,3790,3730,3586,3350,3682,3064,3272,3374,3646,3554,3560,3561,3527,3489,3544,3319,3015,2778,2897,3106,3452,3573,3399,3304,3296,3408,3340,2943,2396,2396,3526,3640,3248,2232,2007,1974,2789,3414,3768,3720,3488,2856,2118,2208,2525,2786,2636,2077,2077,2806,3453,3230,3007,2901,2389,1895,1876,1882,2154,2482,2707,2386,2421,2316,1487,1462,2005,1709,1331,2109,2763,2590,2935,3116,2365,2111,2154,2354,2171,2092,2315,2274,2718,3676,3929,3947,3835,3575,3541,3835,3864,3816,3541,3761,3941,3838,3644,3531,3562,3586,3629,3703,3850,3914,3914,3993,4038,4049,4095,4107,4119,4207,4220,4168,4168,4132,4089,4040,3839,3853,3969,3965,3342,3054,3936,4046,4085,4003,4189,4157,3865,3383,3604,3560,3241,2831,2635,2659,2901,3024,3260,3311,3033,3080,2957,2836,2702,2581,2957,3265,3050,2932,2744,2504,2832,3139,3083,2910,2943,2267,2586,3173,3391,3385,3298,3000,2743,2675,2603,2888,2800,2288,2369,2691,2699,2756,2879,2706,2283,2646,3073,3099,2509,2161,2602,3120,3664,3913,3297,3249,3774,3726,3773,4018,3847,2750,1808,1693,1797,2546,2617,3084,3649,3303,2908,3595,3943,3640,2901,2676,3097,2817,2668,2873,2967,2803,2281,2854,3770,3632,3259,3486,3408,2965,2586,1820,1801,1618,1495,1862,1868,2334,2495,2553,2827,2880,2997,3056,2844,2925,2604,2743,2588,2517,2373,2470,2791,2977,2561,2338,2252,1941,2226,2010,1983,2111,1858,2140,1960,1886,2021,2348,2418,2555,2623,2294,1877,1902,1726,1761,1434,1384,1373,1329,1587,1765,1630,1497,1411,1434,1578,1506,1506,1465,1448,1380,1331,1394,1401,1475,1759,1701,1788,2261,2087,2000,1910,2466,2828,2992,3044,3072,2678,2244,2282,2476,2236,2064,2183,2438,2570,2590,2732,2584,2466,2405,2336,2236,2349,2553,2465,2369,2569,2579,2409,2281,2244,2114,2117,2077,1946,1722,1518,1461,1484,1524,1517,1552,1449,1526,1879,1603,1490,1692,1831,1742,1608,1514,1519,1501,1606,1523,1398,1460,1403,1429,1526,1532,1543,1782,1820,1920,1779,1413,1541,1814,2227,2373,2796,2068,1825,1810,1864,2155,2358,2283,3141,3665,2726,2352,1958,1954,2884,2690,2921,3082,3125,2632,2541,3072,2887,2288,1873,2084,2352,2630,2084,1542,1703,1900,2019,2170,2558,2396,2782,3595,3526,2880,2288,2408,2292,1832,1649,2476,2774,3033,2701,1976,1936,2335,2889,2639,2426,2343,2299,2592,3226,3320,3110,2644,2136,2030,2092,2198,2196,1799,1874,2082,1877,2210,2402,2135,1991,2176,1995,2040,2386,2290,2331,2128,2569,2244,1508,1847,2308,2216,2122,2192,1793,2079,3152,2513,2095,2138,1787,1984,2338,2003,1956,2014,1935,2099,2293,2732,3334,3330,2256,2329,2353,2834,2133,2002,1914,1722,1715,1846,1767,1416,1315,1476,1681,1678,1594,1518,1881,1604,1584,1454,1424,1577,2028,2332,2084,1976,1853,1856,1996,1987,1791,1704,1856,1739,1453,1482,1648,1720,1703,1704,1625,1622,1475,1422,1356,1516,1415,1390,1548,1546,1604,1836,1698,1614,2068,1954,1543,1428,1349,1548,1431,1504,1620,1550,1411,1396,1301,1283,1379,1572,1583,1308,1348,1376,1406,1491,1562,1833,1909,1623,1644,1503,1541,1701,1642,2195,2702,2972,3452,2678,2251,2255,2082,2092,1997,1898,1869,1829,1814,1359,1235,1372,1555,1404,1301,1528,1710,1700,1776,1843,1620,1669,1518,1414,1590,1481,1479,1386,1336,1484,1613,1720,1651,1540,1926,1875,1398,1589,1510,1466,1330,1163,1331,1430,1339,1234,1311,1419,1285,1394,1727,1851,1395,1364,1387,1388,1361,1497,1578,1709,1388,1366,1363,1431,1616,1599,1270,1190,1199,1394,1462,1403,1287,1416,1559,1340,1227,1329,1472,1512,1541,1803,2038,1980,1678,1815,1930,1833,2027,2344,2332,2208,2213,2651,3500,4119,4219,4156,4127,3243,2687,3238,3348,3082,2986,2670,2532,2564,2626,2653,2508,2369,1997,2015,2426,2876,2924,2639,2651,2470,2235,1903,1694,1688,2424,2292,1753,1649,1901,2178,2144,2220,2495,2431,2281,2134,2490,2938,3658,3222,2358,2071,1989,2171,2331,2250,2298,2277,2307,2303,2202,2273,2206,2158,2334,2248,2380,2389,2399,3154,2519,2612,2775,2678,2473,2272,2375,2327,2414,2447,2483,2303,1901,2145,2562,2340,1767,1653,1689,1953,2162,2208,2222,2282,2397,2554,2743,2719,2542,2468,2621,2457,2923,3054,3153,2864,2945,3176,2944,2711,2591,2545,2838,3044,3336,3277,2831,2867,2941,3308,4021,4508,4340,4072,4273,4232,4128,4320,4573,4576,4303,4028,4279,4468,4515,4600,4735,4852,4748,4643,4616,4244,4151,4333,4495,4840,4517,4004,4288,4677,4516,4281,4147,4259,4204,4000,4074,3868,3719,4030,4329,4128,3789,3808,3808,3748,3594,3385,3340,3408,3804,3833,3940,3852,3768,3905,3873,4051,4356,4244,4059,3870,3738,3732,3542,2927,2738,2579,3029,3548,3498,2998,2783,3109,3177,2850,3143,2929,2975,2911,3382,3592,3360,3078,2419,1992,2222,2480,2487,2517,3187,3650,3419,2991,2751,3188,3909,3792,3498,3467,3212,2876,3095,3341,3376,3411,3520,3264,3160,2890,2640,2918,3047,2624,2812,3154,2989,3294,3924,3936,3671,3432,3462,3892,4152,4132,4091,3642,3395,3449,3204,3266,3189,3243,3375,3443,3957,4357,4184,3792,3330,3086,2996,2829,2968,2963,2908,3175,2887,3230,3278,2989,2792,2590,2692,3056,3073,2883,2972,2711,2603,3196,3484,3404,3484,3444,3240,3264,3348,3480,3784,3727,3460,3598,3584,3926,4204,3855,3353,3249,3415,3460,3572,3540,3391,3278,3115,3241,3637,4030,4143,3848,2452,1245,1259,2004,2076,1874,1870,1806,1780,1779,1755,1892,2248,1925,1850,2084,2258,2578,2630,2790,3023,2836,3006,2909,2231,2092,2585,2491,2294,2413,2581,2569,2456,2292,2580,2538,2212,2975,3141,3233,2930,2314,2490,2886,3466,3746,3676,3768,3701,3483,3340,3422,3484,3405,3334,3065,3633,3717,3333,2843,2717,3084,3443,3947,4302,4434,3903,3353,3837,3870,3928,3237,2679,2676,2612,2402,2324,2376,2028,2012,2336,1947,2396,2640,2834,2574,2549,2338,1861,1860,1464,1908,3052,3487,3067,2463,2082,2313,2702,2920,2697,2505,2556,2256,2584,2816,2148,1518,1548,2344,2295,2497,2813,2072,1876,3120,3388,2997,2666,2342,2466,2676,2507,2504,2263,1957,2553,2757,2476,3153,3415,2778,2930,2470,2016,2396,2468,2232,2330,2476,2249,2306,2544,2540,2857,3360,2663,1852,2087,2678,3089,3122,3039,3275,2662,2386,2706,2578,2790,3464,3649,3673,2845,3426,3965,3796,3431,3662,3653,3320,3317,3834,4068,3840,3110,2896,2178,1906,2320,3618,3530,2313,2523,2920,2285,2182,2075,1830,2455,3299,3182,3510,3399,2986,2942,3209,2944,2014,1533,2104,2429,2126,1898,2240,2160,1966,1952,1739,1867,1882,1919,1874,1621,1712,1638,1555,1619,1578,1471,2429,2722,2001,1873,1946,2022,2030,1638,1466,1924,1990,2156,2115,1891,1897,2038,2120,1947,1722,1582,1638,1589,1532,1759,1596,1404,1428,1460,1902,1843,1734,1825,1947,1845,1744,1750,1485,1412,1634,1522,1397,1516,1432,1554,2022,2247,1832,2002,2460,2193,2147,2186,2438,2642,2566,2373,3128,3683,3736,3213,2702,3066,3812,3972,3957,3717,3713,4004,3543],[3177,3180,3228,3330,3259,2846,2466,2780,2853,2594,2718,3117,2746,2722,3387,3334,2938,2522,2288,2641,2018,1655,2482,2835,2262,2179,2269,2058,2240,3182,3472,2683,2491,2602,2463,2592,2616,3148,2995,2830,2888,2762,2558,2325,2374,2369,2115,1912,2383,2691,3000,2777,2667,2896,3204,3074,3022,2623,2137,1763,1987,2264,1967,1648,1923,2031,1738,1505,1474,1967,2796,3000,2414,2110,1735,2250,2752,3355,3554,3403,3210,3107,2958,2863,2789,2451,2598,3317,3045,2640,2291,2529,3205,3313,2869,2475,2432,2550,2918,3089,3186,3384,2988,2210,1888,1747,1988,2188,2398,2324,2316,2410,2398,2245,2486,2825,2542,2441,2872,3409,3284,2843,2240,2008,2020,2071,2238,2056,2099,2220,2264,2190,2791,3194,2388,2556,2897,3391,3174,2664,2501,2689,2966,2416,1796,2269,3232,3698,3553,2981,2115,2015,2154,2029,2166,2041,2180,3167,2867,2394,1880,2378,2249,2042,2254,2391,2437,2436,2260,2241,2248,2470,2756,2422,2202,2002,1913,2280,2593,2181,2047,2175,2446,2846,2478,2387,2365,1917,2076,2402,2690,2543,2331,2396,2288,2491,2890,3075,3140,3325,3484,2732,2074,2032,2225,1845,2015,2358,2553,2790,2708,2438,2213,2314,2350,2056,2098,2551,3112,2565,2371,3320,3761,3605,3762,3771,3653,3658,3428,2778,2670,2541,2510,2635,2798,2752,2554,2218,2083,2128,2664,3441,3686,3177,2340,2504,3134,4224,3702,3120,2915,2739,2958,3096,2933,2964,3124,2791,3392,3040,2798,2830,3072,3051,3123,3210,3018,2861,3021,3386,3632,3750,3820,3700,3743,3529,3505,3529,3314,3414,3579,3715,3638,2984,2141,1620,1086,759,646,1083,2532,3142,3135,3044,2644,2806,2930,1619,1007,794,780,1386,2655,2957,2884,3540,3407,2853,2990,3252,3465,3714,3472,3275,3882,3339,2990,2646,2908,3072,3019,3110,3182,3265,3532,3262,3103,3062,2484,2481,2556,2420,2497,2661,2666,2691,2316,2013,1726,1461,1497,1475,1657,2432,2642,2644,2508,2451,2812,3383,4016,4345,4219,3697,3146,3301,3067,2750,2558,2395,2275,2299,2588,3020,3198,2842,2971,3277,2798,2955,2966,2586,2518,2084,1982,2116,2302,2309,1671,2106,2646,2246,2156,2131,2150,2193,1750,2044,2613,2718,2206,1718,1954,2134,2072,2206,2326,2542,2845,3070,3183,3156,2824,2921,3334,3345,2910,2431,2619,3073,3043,3146,2136,1791,2743,3949,4348,4380,4251,3671,3166,3246,3441,3806,4165,3893,3685,3325,3243,2929,3210,3376,3469,3615,3441,2936,2697,2684,2415,2712,3089,3463,3582,3606,3635,3550,3754,3926,3842,3811,3901,3861,3816,3872,3938,3629,3151,3333,3116,3271,3496,3571,3559,3276,3263,3571,3331,3586,3475,2892,2944,3089,3420,3509,3481,3208,3077,3199,3167,2916,2502,2249,2734,3271,3583,3584,3365,2575,2519,3710,4168,4191,4180,3481,2656,2340,2272,2624,2992,2944,2571,1961,2332,3432,3808,3586,3039,2604,1959,1648,1888,2189,2260,2209,2206,2579,2518,1641,1505,2171,2090,1577,1627,1910,1871,2258,2524,2183,1973,2032,2245,2177,1948,2058,2224,3283,3739,3718,3732,3802,2911,3010,3638,3862,3968,3967,4040,4040,3928,3739,3610,3676,3660,3550,3727,3972,3958,3952,3880,3879,3993,3962,4026,3962,3836,4020,4093,4091,4087,4066,3916,3457,3656,4012,3854,2982,2785,3935,4046,4045,4080,4176,4063,3737,3366,3564,3721,3216,2617,2620,2787,2751,2655,2994,3032,3151,3354,3144,3077,2976,2947,3235,3227,2940,2742,2850,2644,2946,3133,3109,2891,3013,2991,3440,3544,3488,3427,3002,2987,2907,2834,2857,3009,2776,2494,2392,2442,2575,2735,3033,3249,3314,3165,2976,3017,2444,2448,2794,3279,3833,4175,3527,3067,3329,3564,3228,3352,3548,2958,1801,1646,1742,2473,2780,3195,3385,3134,2995,3549,4123,3773,2940,2844,3420,3238,3110,2872,2514,2070,1895,2635,3494,3710,3682,3660,3462,2887,2181,1681,1617,1449,1820,2155,2187,2342,2223,2200,2320,2518,2770,2749,2368,2409,2412,2492,2712,2335,2658,2986,3177,2954,2438,2339,2527,2180,2286,1697,1448,1979,2018,2231,1968,1795,1932,1974,1997,2139,2110,1769,1375,1747,1659,1765,1461,1525,1385,1269,1493,1882,2350,2317,1643,1728,1631,1530,1685,1875,1885,1572,1440,1456,1460,1450,1529,1560,1674,1797,1512,1601,1905,2287,2745,2933,3029,2667,1858,1441,1559,2041,2288,2210,2140,2710,2867,2724,2752,2599,2646,2545,2404,2301,2168,2338,2240,2107,2471,2339,1973,1982,2306,2430,2138,1893,1689,1559,1530,1473,1497,1570,1437,1414,1511,1649,1706,1596,1524,1874,1903,1582,1656,1622,1736,1675,1766,1979,1806,1524,1398,1454,1824,1776,1765,1921,1745,1895,1748,1576,1659,2100,1966,1704,1781,1654,1685,1781,1671,1859,1882,2236,2810,2585,2475,2415,1757,1933,2382,2366,3010,3545,3339,3120,2979,2750,2414,1897,1851,2431,2604,2347,1698,1366,1576,1786,1899,2501,2391,2218,2658,3308,3252,2672,2416,2279,2071,1640,1850,2632,2966,3438,3217,2622,2224,1975,2321,2989,3397,3249,2677,2514,2974,3474,3309,2810,2176,1905,1720,1665,1974,2040,2261,2387,2567,2375,2231,2192,2520,2770,2463,2142,2054,2110,2023,2288,2793,2635,2444,2335,2036,1789,2018,2176,2149,2482,2887,2329,2132,2292,2186,2217,2359,2166,2105,2054,1959,2316,2907,2966,2728,2950,2964,2939,2937,3124,2455,1958,1698,1854,1879,1852,1719,1392,1369,1455,1578,1798,1737,1640,1644,1600,1487,1301,1443,1728,1924,2274,2103,1920,1951,1944,1913,1974,1693,1693,1983,1903,1774,1786,1840,1917,1823,2025,1886,1859,1514,1367,1462,1470,1375,1302,1500,1551,1637,1901,1775,1772,2238,1986,1800,1396,1440,1593,1598,1596,1704,1717,1483,1342,1176,1250,1398,1383,1343,1225,1244,1435,1523,1485,1470,1542,1566,1560,1654,1444,1431,1500,1547,1835,2744,3533,3661,2958,2358,2458,2493,2115,2174,2072,1680,1668,1822,1793,1611,1401,1465,1410,1403,1649,2052,1829,1602,1751,1631,1626,1482,1481,1346,1318,1456,1499,1457,1726,1908,1817,1760,1423,1695,1713,1424,1488,1462,1797,1644,1314,1389,1428,1337,1289,1322,1383,1361,1416,1435,1377,1279,1472,1447,1283,1322,1238,1372,1600,1342,1336,1455,1628,1668,1649,1490,1397,1366,1547,1627,1370,1304,1402,1525,1447,1375,1446,1441,1692,2118,2080,1848,1644,1613,1892,1973,1970,2014,2247,2232,2168,2634,3592,4091,4200,4271,4141,3473,2641,3068,3916,3986,3628,3230,2923,2687,2662,2640,2414,2988,3287,2512,1803,2315,2955,3024,2753,2704,2511,2070,2156,1782,1499,1929,2041,2138,2385,2499,2308,1969,1993,2092,2228,2041,1813,2209,2310,2858,3020,2370,2122,2025,2120,2294,2251,2316,2297,2269,2265,2231,2212,2239,2126,2101,2268,2433,2299,1833,2230,2432,2503,2429,2532,2701,2675,2481,2292,2292,2510,2548,2276,2159,2094,2188,2051,1921,2071,2177,2199,2161,2214,2400,2547,2779,2980,3164,3209,3053,2401,2491,2820,2875,3008,2932,2535,2743,3061,3037,3052,2821,2588,2653,3083,3247,3150,2880,2869,2818,3031,3722,4226,3993,3968,3836,4005,4320,4609,4600,4465,4408,4501,4470,4478,4515,4421,4507,4989,4736,4687,4588,4123,4150,4107,4407,4604,4228,4021,4145,4099,4011,4112,4559,4785,4772,4204,3834,3683,4240,4683,4769,4396,3793,3629,3668,3745,3605,3387,3259,3265,3518,3536,3525,3646,3830,3746,3578,3967,4500,4476,4384,4321,4072,3886,3624,3528,3207,2984,3310,3528,3272,2887,2879,2894,2999,2494,2656,2893,3007,2753,3363,3494,3282,3287,3137,2968,3083,3051,2907,2811,3193,3527,3536,3183,3236,3762,3957,3806,3685,3540,3173,2932,3335,3320,3062,3208,3476,3376,3212,2659,2287,2646,2852,2545,2534,3016,3017,2842,3226,3394,3399,3880,4264,4433,4396,3896,3563,3240,3391,3520,3540,3404,3164,3165,3265,3175,3580,4079,3792,3277,3150,3196,3079,2907,2731,2586,2634,2779,2806,2973,2961,2898,2781,2771,2910,3241,3325,3244,3322,3188,3188,3710,3648,3341,3492,3431,3274,3528,3714,3825,3863,3634,3601,3744,3604,3740,3798,3559,3303,3366,3585,3873,4102,3597,3389,3428,3389,3554,3873,4101,3531,2883,2193,1531,1848,2401,2298,2118,1844,1493,1156,1385,1609,2076,2440,1990,1692,1804,2313,2778,2330,2065,2430,2396,2247,1905,2029,1896,1759,1767,2036,2641,2841,2456,2565,2355,2193,2109,2542,3460,3336,3205,2948,2237,2054,2360,2910,3541,3711,3541,3348,3275,3317,3798,3747,3813,3606,3188,3432,3602,3322,3295,3398,3697,3631,3796,3978,3984,3914,3783,3977,4090,4056,3321,2727,2822,2723,2409,2357,2502,2254,2376,2343,2563,3066,3418,3333,2696,2377,2583,2512,2109,2188,3030,3949,4047,2919,1641,1550,1991,2274,2720,2801,2447,2382,2291,2474,2460,2242,2126,1597,1342,1763,2296,2435,1894,2412,3200,2655,2544,2524,2264,2153,2442,2342,2424,2587,2675,2598,2440,2884,3514,3925,3692,4018,3411,2336,2080,2221,2357,2648,2467,2372,2773,2685,2264,1996,2219,1989,2130,2676,3225,3509,3222,3082,2792,2422,2812,3154,2812,2625,2912,3398,3327,2989,3597,3880,3676,3608,3941,3996,3498,2977,2836,3335,3206,2271,2296,2409,2444,2872,4002,3752,2721,3088,2868,2249,2013,2014,1713,2262,2732,2962,2962,2718,2875,3253,3272,2562,1681,1954,2199,2115,2138,2140,2148,2078,1881,2449,2635,1809,1510,1699,1667,1578,1713,1586,1544,1427,1410,1667,3013,2855,1814,1703,1689,1786,1858,1769,1622,1654,1678,1836,1855,1665,1852,2058,2037,2007,1837,1556,1503,1580,1556,1654,1632,1661,1682,1649,2168,2027,1798,1945,1871,1584,1554,1416,1339,1377,1533,1405,1530,1592,1478,1750,1870,1847,1803,2281,2800,2663,2272,2002,2576,2532,2492,2685,3235,3565,3494,3388,2934,2632,3543,3791,3949,4081,3948,3906,2942],[3392,3469,3565,3573,3777,2898,2285,2250,2400,2636,2899,2921,2652,2687,2803,3113,3445,3348,2044,2131,1605,1691,2789,2684,2171,2161,2507,2603,2124,2383,2526,2056,2364,2460,2402,2141,2515,2789,2558,2330,2469,2620,2546,2211,2730,3284,3052,2656,2645,3012,3140,2660,2353,2712,2513,2024,2238,1729,1677,1764,1898,2087,2046,1639,1832,2104,1960,1863,1717,1970,2564,2813,2347,2380,2473,2541,2906,3465,3608,3202,2909,2949,2842,2657,2761,2555,2494,3002,2853,2835,2808,3206,3488,3549,3243,2796,2907,2655,2753,3289,3490,2792,2521,1870,1806,2133,2266,2509,2961,3220,3007,2651,2172,2020,2382,2348,2103,2140,2501,3017,3206,2781,2389,2399,2186,2193,2421,2179,2202,2220,2131,2041,2536,2548,2388,2424,2337,2797,3009,2777,2906,2667,2143,1938,1647,1934,3009,3496,3618,2944,2083,2133,2031,1792,2172,2284,2250,2808,2602,2030,1880,2101,2014,2134,2423,2536,2798,2728,2226,1990,2368,2959,2443,1945,2144,2097,2338,2676,2591,2321,2322,2522,2864,3217,3389,3317,2851,2206,1927,2035,2612,2521,2388,2495,2175,2330,2934,2997,2596,2542,2745,2618,2312,1977,2325,2236,2407,2536,2291,2271,2341,2257,1635,1730,2491,1751,1412,2056,2690,2426,2376,3131,3686,3726,3830,3651,3461,3058,2774,2648,2734,2558,2522,2663,2664,2731,2753,2612,2612,2401,2666,2938,3155,3042,2707,3099,3276,4172,3826,2833,2670,2909,3182,3055,2953,2909,3076,3235,3218,3438,3178,2948,2851,2665,2976,2902,2027,1807,2686,3232,3499,3658,3821,3683,3710,3509,2900,2373,2047,2467,3503,4060,3659,2046,889,583,532,500,584,776,2232,2753,1758,1197,702,1201,2165,1018,661,628,594,987,2344,3024,3320,3451,3000,2805,2979,3528,3862,4029,4092,3835,3718,3049,2708,2680,2792,2808,2858,2811,2909,3445,3835,3163,2940,3138,2933,3010,3110,2944,2619,2280,2060,1797,1552,1354,1297,1297,1366,1313,1574,2261,2279,2081,2161,2306,2567,3063,3416,3474,3081,2624,2208,2357,2216,2359,2244,2029,1957,2156,2452,2957,2929,2341,2655,2667,2626,2514,2350,2094,2156,2168,1993,1757,2215,2229,1727,2194,1798,1625,1803,2003,1859,1830,1666,1899,2481,2624,2090,2025,2603,2491,2167,2075,1779,2088,2302,2405,2405,2641,3063,3323,3239,3018,2740,2138,1732,1715,1925,2178,1548,1482,1982,2651,3522,4086,4247,3842,3334,3510,3624,3438,3840,3657,3473,3284,3112,2899,3181,3573,3619,3570,3587,3457,2811,2655,2524,2823,3516,3918,3772,3694,3941,3881,3868,4015,3846,3515,3309,3240,3570,3817,3869,3664,3344,3372,3082,2906,3387,3754,3640,3386,3784,3664,3174,3519,3552,3055,2836,3119,3488,3737,3642,2987,2959,3123,2990,2632,2350,2159,3037,3507,3631,4002,3952,3094,3498,4444,4283,4475,4628,4157,2908,2447,2818,2785,2901,2919,2696,2155,1954,2877,3776,3740,2666,2252,1981,1841,1851,2137,2048,1860,1884,2193,2208,1685,1960,2889,2263,2015,2138,2279,2248,2309,2589,2428,2244,2483,2588,2222,1862,2485,2576,3602,3830,3661,3759,3815,3564,3388,3264,3794,4083,4111,4099,4072,3973,3826,3660,3740,3532,2761,3134,3935,3961,3685,3251,3506,3892,3980,3798,3144,2766,3754,4100,4047,4094,4120,3983,3839,4033,4143,3941,3664,3675,4154,4152,4077,4065,4145,4161,3624,3219,3570,3649,3333,2811,2744,3068,3046,2922,2958,3172,3252,3332,3318,3343,3233,3041,2910,2801,2579,2778,2779,2350,2544,2690,2884,2685,2447,2788,2608,2169,2445,2906,2919,3176,2809,2629,2664,2705,2377,2337,2485,2662,2833,2908,3311,3339,3256,3275,3186,3100,2981,2713,2824,3251,3648,3768,3623,3061,3049,3150,2800,3172,3284,3320,2424,1940,2390,2706,2743,3460,3796,3228,2705,3134,3739,3464,2625,2762,3067,3665,3504,3068,2882,2851,2773,2744,3364,3587,3574,3616,3516,2820,1776,1598,1596,1595,1908,1992,2362,2777,1976,1692,2048,2402,2829,3611,2954,2397,2550,2862,2722,2561,2588,2484,2684,2732,2336,1735,1888,2166,2533,1941,1603,2180,2278,2288,2214,1882,1648,1929,2016,2171,1859,1604,1932,1968,1448,1229,1473,1558,1418,1426,1557,2045,2765,2281,1824,1705,1428,1404,2094,3113,2885,1762,1511,1518,1438,1436,1472,1495,1721,1692,1595,1485,1873,2127,2556,2902,2829,2332,1673,1499,1501,1766,2060,2277,2416,2758,2861,2943,2922,2806,2694,2531,2567,2570,2266,2181,2352,2401,2534,2416,2018,1742,2010,2218,2015,1746,1541,1634,1761,1406,1605,1637,1399,1617,1665,1685,1804,1743,1628,1971,2362,1552,1651,1742,1860,1625,1708,2295,2146,1648,1493,1514,1655,1730,1748,1686,1694,2187,1884,1873,1759,1887,1821,1901,1804,1482,1614,1879,1780,1905,1639,2112,2605,2446,2083,2575,2461,2514,2547,2348,3116,3454,3554,3352,2775,2414,2196,1717,1583,2260,2973,2534,1615,1506,1747,1929,2439,2925,2093,2297,2359,2789,3087,2745,2414,1920,1729,1987,2632,3020,3046,2963,3278,3278,2704,2187,2376,3030,3673,3322,2700,2663,2859,2916,2525,2272,1632,1960,1813,1648,1968,2154,2232,2456,2412,1925,2089,2065,2324,2556,2458,2337,2821,3248,2777,2185,2074,2237,1986,1788,1724,1538,1748,1990,2050,2118,2316,2447,2481,2521,2176,2088,2256,2293,2204,2315,2314,2778,3287,2474,2062,2027,2212,2728,2954,2670,2260,1716,1669,1819,1648,2446,2160,1553,1405,1432,1615,1738,1593,1643,1762,1621,1356,1439,1709,1732,1648,2142,2042,1791,1840,1778,1625,1528,1437,1467,1466,1576,1690,1686,1876,1952,1843,2024,2250,2066,1526,1405,1498,1393,1320,1386,1357,1362,1898,2387,2195,1638,1521,1644,1585,1476,1461,1547,1769,2094,2008,1616,1406,1309,1332,1497,1586,1453,1387,1350,1473,1628,1446,1384,1504,1569,1746,1611,1594,1557,1449,1411,1372,1621,2299,3161,3625,3506,3059,2986,3239,2500,2081,1482,1002,1353,1750,1933,1964,1770,1503,1470,1611,1688,2215,1758,1401,1457,1641,1521,1388,1456,1555,1532,1514,1463,1669,2340,2055,1815,1777,1512,1639,1459,1414,1520,1558,1582,1466,1380,1342,1302,1278,1314,1264,1411,1457,1359,1273,1283,1513,1695,1501,1364,1395,1381,1711,1814,1497,1340,1384,1439,1727,1934,1615,1391,1452,1908,2157,1525,1354,1365,1622,1632,1630,1798,1628,1885,2254,1932,1638,1666,1773,1803,1981,2072,2113,2251,2316,2573,3463,4195,4326,4303,4319,4084,3219,2765,3529,4184,4116,3834,3638,3404,3286,2991,2499,2901,3506,3539,3233,2464,2071,2444,2451,2476,2541,2196,1836,2292,2291,1840,2191,2514,2576,2589,2524,2193,1973,1777,1614,1795,1853,1824,1790,1860,2202,2498,2505,2222,2092,2263,2311,2138,2106,2122,2116,2154,2020,1816,1698,1540,1816,2382,2626,2190,2423,2801,2834,2943,3393,3540,2972,2500,2561,2938,2972,2722,2741,2864,2864,2789,2690,2641,2373,2274,2552,2887,3198,3505,3653,3376,3450,3149,3080,3508,3685,2980,2677,2988,3116,3138,2852,2347,2554,2812,2950,2931,2404,2433,2643,2928,3140,2927,2692,2815,3095,3264,3459,3946,4057,4176,3696,3964,4341,4549,4512,4428,4505,4488,4372,4556,4584,4537,4540,4589,4602,5092,5009,4560,4272,4276,4427,4321,4003,3968,3983,3838,3982,4148,4619,4947,5036,4757,4366,4382,4850,4987,4828,4444,3773,3503,3584,3779,3627,3289,3084,3128,3520,3618,3680,4012,4056,3514,3509,4144,4584,4424,4251,4413,4231,4108,3848,3845,3616,3365,3561,3686,3110,2832,2879,3002,3164,2858,3066,3397,2818,2568,3087,3134,3131,3375,3704,3387,3043,3300,3537,3242,3242,3630,3759,3564,3569,3828,3679,3769,3729,3598,3328,3357,3252,3199,3166,3448,3542,3156,2682,2420,2562,3272,3108,2225,2090,2452,2497,2421,2607,3023,3685,4461,4888,4728,4089,3668,3658,3375,3686,3728,3547,3273,2997,2994,3061,3142,3519,3801,3554,3196,3326,3074,2776,3030,2999,2646,2880,2674,2814,2977,2657,2544,2706,2858,3220,3450,3449,3583,3818,3879,3761,3806,3836,3688,3826,4096,4141,4094,4200,4156,4082,3845,3837,3677,3540,3570,3652,3674,3629,3529,3529,3731,3902,3572,3349,3333,3231,3479,4062,3895,2695,2236,2258,1948,2396,2723,2568,2201,2002,2004,1765,1777,1825,2381,2465,1816,1667,1893,2670,3253,2272,2017,2443,2144,1655,1887,2653,2377,1627,1665,1723,1873,2329,2232,2921,2741,1990,2019,2447,2684,2851,3074,2764,1884,1526,1564,1979,2865,3554,3378,3108,3318,3541,3735,3651,3676,3580,3056,3127,3429,3328,3300,3129,3459,3413,3708,3692,3443,3391,3419,3474,3697,3675,3246,2753,2800,2733,2452,2611,2768,2385,2369,2390,2676,3002,3045,2924,2624,2347,3009,2696,2177,2644,3193,3680,3623,2654,1671,1287,1780,2859,3738,3308,2928,2452,2508,2933,2408,2059,2218,1986,1913,1989,2318,2578,2110,2988,2460,1824,2176,2408,2206,2321,2513,2569,2977,3150,3368,3047,2989,3248,3230,2983,3265,4005,3444,2704,2403,2166,2611,2797,2491,2819,3187,3044,2597,2071,2264,2492,2938,3501,3948,3780,3329,3167,3128,2812,2978,2997,2837,2773,2910,3093,2629,2632,3196,3579,3946,3903,3812,3692,3800,3440,2732,2597,2288,2198,2581,2658,2505,3021,3884,4116,3575,3482,3110,2499,2315,2548,2136,2108,2313,2929,2972,2791,3211,3150,2566,2239,1765,2124,2290,2152,2337,2596,2533,2079,1848,2338,2164,1644,1516,1557,1472,1426,1328,1402,1451,1355,1383,1779,2553,2226,1669,1614,1530,1608,1700,1859,1895,1823,1819,2225,2116,1621,1940,2321,2133,1936,1882,1670,1627,1607,1529,1461,1483,1607,1759,1828,2018,2047,2026,1903,1589,1498,1602,1511,1447,1403,1441,1515,1629,1557,1531,1558,1665,1838,1787,2238,2260,2031,1751,2015,2695,2732,2515,2521,3150,3528,3270,3225,3218,2532,2933,3475,3914,4291,4376,3951,3254],[3141,3641,3868,3263,2980,2608,2070,2040,2360,2411,2167,2205,2200,2127,2165,2888,3541,3555,2634,2295,1358,1252,1860,2081,2187,2039,2667,2873,2029,2219,2239,1700,1730,1996,1933,2053,2231,2357,2783,2540,2439,2402,2150,2176,2533,3275,3603,3013,2387,2203,1945,1960,2540,2642,2432,2345,2080,1526,1521,1565,1553,1659,1848,1749,1559,1571,1785,1982,1947,1804,1946,2327,2463,2337,2520,2752,2939,3327,3480,3307,3230,2744,2199,2520,3184,2871,2793,2824,2629,2699,2779,3204,3311,3105,2642,2110,2342,2112,1967,2394,2425,2213,2489,2534,2592,2442,2106,2363,2835,3289,3320,3067,2340,1902,1854,1998,2246,2651,2459,2302,2599,2181,2072,2349,2352,2065,2161,2238,2196,2184,1869,1743,2489,2749,2514,2467,2273,2392,2466,2085,2487,2276,2055,2064,2010,2030,2306,2547,2741,2493,2130,2440,2150,1848,2422,2536,2069,2166,2305,2278,2177,2122,2178,2208,2542,2625,3199,2784,2326,2222,2765,2712,2229,2186,2077,2157,2430,2541,2509,2587,2348,2256,1840,2084,2994,3294,3177,3108,2912,2851,2797,2656,2548,2458,2103,2412,2952,3051,2229,1999,2045,2094,1864,1769,2160,2187,2157,2384,1958,1924,1959,2011,1808,1856,2254,1798,1426,1540,1677,1767,2314,3206,3874,4005,3816,3370,2901,2530,2476,2499,2521,2562,2534,2356,2074,2100,2680,2857,2656,2232,2390,2557,2666,2763,2700,2677,3227,3828,3031,2479,2752,2635,2187,2155,2449,2967,3182,2954,3049,3439,3696,3563,2989,2786,3228,2669,1273,1149,2306,3020,3228,3339,3576,3547,3658,2945,1539,1155,1464,2455,3437,3861,3896,2146,787,534,558,501,493,602,1530,1647,521,539,545,682,2015,1333,691,626,599,648,1866,3164,3544,3341,2890,3066,3366,3539,3610,3606,3740,3598,3207,3019,2963,2762,3002,3352,3426,3704,3919,3601,3408,3396,3311,3240,3406,3298,2946,2233,1616,1587,1462,1383,1349,1210,1230,1241,1474,1688,2006,2484,2437,2014,2165,2374,2469,2525,2462,2518,2045,1977,2100,2059,2132,2114,2046,2077,2027,2048,2060,2419,2558,2247,2280,2241,2377,2314,2188,2267,2322,2342,2136,2090,2359,2305,1973,2450,2438,2391,2299,2126,2044,2078,1913,2082,2667,2624,2269,2137,2076,2232,2512,2232,2057,2233,2271,2132,2169,2405,3104,3375,3067,2598,2764,2215,2155,2160,2100,1845,1760,2005,1844,1886,2957,3983,3958,3751,3653,3463,3272,3304,3646,3795,3586,3382,3243,3322,3420,3472,3405,3621,3775,3796,3206,3082,2774,2797,3300,3812,3737,3662,4015,3883,3499,3559,3781,3615,3673,3458,3383,3707,3806,3676,3404,3429,3561,3065,3212,3375,3234,3563,3871,3441,3198,3256,3132,2938,2883,3109,3322,3719,3096,2596,2928,2877,2701,2391,2122,2302,3431,3873,3707,3850,3860,3413,3924,4356,4416,4416,4359,4109,3133,2720,3018,3087,3141,2898,2678,2396,1892,2452,3509,3482,2693,2139,1866,1782,1743,2010,2091,1777,1678,1579,1471,1702,2531,3147,2395,1789,1650,2075,2531,2451,2480,2738,2588,2557,2231,1897,2155,2454,2944,3632,3841,3796,3620,3374,3768,3476,3196,3938,4070,4144,4176,4100,3988,3872,3694,3772,3591,3065,3421,3997,3980,3435,2668,3318,3872,3448,2727,2452,3053,3839,4095,4107,4140,4139,4120,4163,4236,4120,3523,3798,4157,4272,4189,4120,4019,4034,4116,3507,2909,3293,3283,3417,3266,3043,3448,3311,3060,2966,3146,3527,3639,3444,3394,3308,2657,2321,2504,2728,2761,2206,2309,3226,3454,3089,2652,2490,2185,1497,1759,2459,2802,2772,2809,2593,2788,2665,2513,2290,2409,2754,2975,3195,3072,3694,3516,3122,2986,2999,2973,2366,2584,2865,2823,2908,3240,3383,3251,3076,3333,3371,3445,3343,3416,2552,1812,2574,2843,2821,3495,3775,2598,1920,2275,2754,2864,2511,2347,2540,3643,3529,3208,3415,3355,3243,2976,2997,2914,3443,3574,3452,2334,1968,1825,1540,1551,1585,1526,1799,2065,1554,1496,1780,1951,2047,3142,3331,2734,2409,2504,2339,2122,2321,2395,2558,2573,2134,1756,1920,2287,2663,2126,1999,2058,2001,2207,2297,2160,2022,2078,1924,2021,1762,2120,2325,1914,1510,1470,1731,1610,1472,1513,1968,2140,2398,2040,2156,2027,1694,1545,1731,2574,2540,1600,1575,1555,1409,1253,1412,1377,1614,1618,1707,2184,2208,1684,1845,2126,2096,1848,1925,1727,1749,2093,2062,2170,2604,2935,2853,2814,2920,2876,2875,2755,2519,2635,2602,2619,2691,2650,2415,2360,2457,2161,1928,2037,1930,1938,1681,1609,1655,1758,1699,1568,1525,1741,1794,1740,1723,1602,1548,1963,2556,1687,1595,1682,1716,1670,1580,1628,1685,1677,1614,1610,1613,1707,1669,1748,2001,2092,1862,2015,2008,1770,1904,2106,1965,1870,1541,1546,1831,1825,1469,2073,2472,2294,2103,2595,2749,3008,3352,2684,2750,2686,2878,2566,1857,2321,2364,2198,1941,2191,2913,2668,1927,1887,1932,2031,2272,2281,2186,2282,2247,2553,2796,2584,1918,1331,1698,2955,3362,3168,3339,2901,3291,3152,2599,2282,2542,2770,2984,3419,3059,2346,2462,2397,2226,1967,2071,2625,2626,2399,2280,2396,2248,2164,2373,2405,3069,2889,2896,2951,2589,2377,2642,2610,2275,2002,2335,2309,1699,1592,1748,1704,1597,1973,1855,1795,1970,2625,3230,2775,2238,2348,2524,2576,2423,2424,2315,3071,3057,2207,1904,1980,1912,2424,2851,2624,2406,2025,1738,1641,2018,2791,2028,1580,1509,1537,1541,1427,1411,1544,1604,1483,1355,1422,1688,1682,1705,1901,1738,1451,1590,1703,1409,1273,1378,1434,1402,1489,1488,1470,1586,1605,1740,1822,2021,2020,1703,1506,1356,1275,1378,1283,1357,1412,2140,2671,2352,1779,1803,1626,1284,1798,2342,2164,1638,1870,2120,1660,1484,1344,1418,1636,1625,1980,2089,1382,1658,1853,1429,1437,1553,1962,2474,1861,1828,1947,1616,1367,1797,2254,2471,3124,3193,3376,3208,3040,3374,2639,2019,1460,1055,1348,1641,1922,2071,1827,1570,1512,1455,1163,1350,1453,1488,1412,1567,1472,1648,2692,2947,1857,1512,1355,1779,2321,1982,1811,1918,1669,1510,1411,1416,1575,1648,1488,1265,1314,1182,1322,1259,1214,1251,1414,1445,1372,1320,1290,1395,1464,1455,1424,1449,1393,1866,2001,1625,1468,1503,1383,2062,2585,1778,1400,1567,1799,1658,1508,1527,1525,1748,1726,1779,1980,1828,1789,1841,1556,1403,1401,1448,1719,2361,2375,2265,2236,2817,3544,3859,4051,4219,4256,3982,3160,3027,3525,4140,4297,3923,3818,3883,3786,3364,2737,2787,3588,3684,3585,3748,3379,2745,2692,2438,2724,2410,1980,1632,1775,2511,2409,2523,2534,2376,2141,2070,2159,1775,1527,1805,1957,1991,1920,1892,1858,1766,1902,2358,2271,1979,1768,1682,1692,1792,1855,1806,1720,1725,1766,1937,2096,2474,2476,2597,2301,2569,2613,2449,2811,3423,3272,2674,2471,2675,2800,2823,2872,3035,3056,3020,3230,3362,3217,3032,3263,3457,3806,3912,3792,3505,3339,3920,3441,2855,3350,4004,3752,2875,2384,2685,2949,2667,2452,2597,2542,2768,3028,2419,2485,2809,2779,2799,2651,2646,2756,3151,3286,3377,3559,3949,3794,3585,3907,4057,4267,4575,4708,4665,4308,4195,4489,4718,4736,4751,4720,4888,5104,5007,4748,4717,4706,4484,4376,4187,4129,4164,4396,4192,3956,4070,4660,5081,4780,4270,4351,4691,4796,4728,4713,4011,3544,3709,3838,3626,3455,3270,3204,3356,3438,3737,4083,4320,4412,4223,4085,4324,4157,3981,4038,3981,4015,3956,3859,3749,3740,3805,4082,3723,3665,3783,3741,3471,3394,3184,2963,3007,2811,2898,2757,3041,3465,3679,3594,2430,2581,3586,3814,3990,4048,3752,3805,4193,4373,3651,3815,3782,3537,3300,3319,3321,3388,3602,3773,3618,3270,2766,2491,2872,3787,3765,2648,2290,2417,2639,2635,2434,3030,4229,4744,4667,4239,3849,3820,3971,3809,3642,3403,3207,2968,2833,3005,2943,3050,3497,3594,3249,2510,3041,2567,2439,2752,2688,2535,2899,2867,2724,3073,2743,2275,2585,2525,3341,3693,3741,3791,3872,3836,3771,3772,3715,3730,3982,4268,4353,4068,4141,4016,3718,3692,3806,3689,3388,3331,3564,3675,3846,3739,3685,3565,3587,3333,3126,3085,3166,3587,4229,4254,3421,2798,2897,2533,2415,2875,2474,2157,2629,2625,2024,2218,2454,2483,2499,2258,2297,2181,2931,3499,2930,2802,2806,2219,1945,2630,3265,2624,1603,1477,1492,1729,1963,2338,2668,2332,1890,1945,2501,2909,2576,2417,2647,2258,1975,2017,2504,2736,3501,3573,3240,3088,2711,2717,3257,3464,3460,3508,3486,3383,3311,3185,3108,3128,3109,3281,3231,3008,3141,3500,3632,3688,3719,3686,3321,3276,2823,2324,2186,1985,1988,2363,2469,2203,2112,2143,2223,2354,1996,2534,2455,2355,2865,3367,3754,3391,2299,1549,1176,2011,2709,3011,2741,3000,2533,2454,2747,2313,2187,2402,2213,2425,2480,3142,4050,3755,2806,2352,2668,2928,3028,2850,2625,2437,2822,3715,3526,3858,3623,2597,2124,2485,2605,3021,3063,2668,2855,2959,2806,2884,2865,2629,2404,3094,3260,2920,2304,2426,3024,3393,3565,3542,3094,2763,2944,3234,2868,2720,2928,3397,3248,3008,2897,3049,3591,3820,3676,3496,3441,3361,3199,3633,3839,3234,2274,2001,2246,2781,2919,3008,3339,3156,2997,3015,3783,3809,2855,2597,2822,2473,2291,2597,3137,3414,3466,3264,2739,2380,1867,1690,1779,1888,2131,2443,2568,2222,1875,1986,2176,1882,2068,1938,1720,1557,1455,1410,1629,1581,1387,1354,1561,2027,1645,1464,1370,1543,1567,1532,2021,2128,1993,1979,2003,1767,1569,1830,2007,1790,1590,1699,1910,1825,1561,1478,1488,1436,1603,1836,1878,1748,1851,1885,1609,1359,1536,1479,1365,1341,1365,1483,1686,1827,1674,1476,1475,1564,1713,1705,1753,1740,1605,1718,2223,2610,2529,2317,2349,3362,3518,3176,2883,3143,2792,2523,3151,3692,3911,4231,4100,3297],[2942,3736,3570,2934,2605,2196,2082,2731,3716,3884,2484,2081,1974,1731,1887,2214,2710,3074,3104,2192,1054,1249,1751,1834,2065,2258,2426,2649,2200,2732,2634,2147,2173,1986,2058,2473,2370,2501,2910,2734,2441,2129,2247,2411,2634,2873,3011,2956,2495,2106,1782,2398,2990,2517,2188,2297,2054,1727,1603,1581,1564,1676,1616,1507,922,1266,1825,1878,1904,1936,2286,2531,2493,2374,2632,2842,2877,3197,3570,3603,3153,2344,1776,2170,2724,2758,2758,2431,2539,2473,2239,2609,2967,2381,1770,2155,2512,1775,1356,2006,2629,2761,2902,3030,2830,2313,2068,2643,2979,3239,3296,2611,2066,2103,2139,2137,2463,2612,1964,2267,2706,2046,2548,2243,2561,2079,2215,2159,2082,2137,1648,1470,2237,2911,2764,2958,2829,2531,2427,2194,2149,2324,2134,1902,1957,1716,1685,1766,2011,2185,2612,2633,1788,1834,2511,2264,2127,2535,2376,2366,2480,2214,2387,2396,2741,2729,3379,3131,2996,2502,2052,2213,2518,2406,2224,2113,2201,2519,2692,2508,2096,1878,1228,1383,2226,2790,3288,3306,2999,3055,2774,2410,2655,2622,2509,2757,3218,3217,2404,2044,1829,1551,1638,2051,2587,2505,2279,2932,2052,2070,2046,2096,2467,2483,2269,2200,2018,1564,2003,2197,2522,3385,3928,4143,3854,3321,2764,2382,2442,2396,2254,2355,2247,2095,1820,1743,2332,2461,2005,2115,2297,2368,2482,2634,2392,2156,2808,3154,2640,2530,2588,2039,1854,2105,2337,3129,2967,2795,3164,3259,3626,3462,3646,3155,3244,2832,1838,1616,2250,3108,3340,3342,3581,3485,3548,3013,1846,1698,2472,3338,3962,3886,3950,2801,1202,573,527,589,860,1327,2057,2082,738,499,527,432,1686,1622,796,532,574,540,1328,2834,3043,2799,2612,3074,2938,2625,3185,3537,3408,3190,2889,3119,3160,2845,3450,3874,3653,4007,3828,3199,2895,3264,3295,3151,2950,2290,1771,1568,1455,1351,1187,1217,1449,1854,2359,2600,2500,2513,2598,2630,2371,2215,2309,2168,2248,2367,2138,2069,1876,1876,1899,1954,1913,1836,2072,2084,1938,2157,2280,2328,2434,2330,2366,2227,2381,2598,2360,2315,2180,2170,2147,2056,2143,2203,2242,2385,2502,2458,2599,2497,2354,2579,2608,2394,2490,2640,2784,2314,1962,1957,2135,2024,2073,2260,2208,2170,1991,2029,2576,2632,2325,2272,1980,1481,1956,2497,2490,2343,2297,2376,2626,2641,3008,3715,3310,3227,3482,3374,2974,2950,3872,4176,3609,3327,3050,2894,2786,3110,3238,3494,3666,3531,3428,3406,2796,2497,3015,3569,3658,3949,4119,3791,3310,3307,3731,3779,3594,3226,3312,3586,3392,2951,2643,3075,3706,3504,3012,2811,3430,3840,3687,3417,3068,2739,2939,2997,3168,3436,3178,3152,2450,2089,2145,2127,2237,2339,2215,2760,3840,3938,3778,3717,3870,3981,4046,4107,4120,4049,4123,4069,3842,3883,3740,3415,3305,3005,2642,2530,2084,2041,3208,3455,2802,2103,1625,1614,1857,1930,1842,1651,1599,1450,1745,2070,2244,2691,2385,1368,1020,1617,2657,2831,2533,2432,1975,1932,1771,1772,2217,2373,2916,3698,4058,3848,3262,2880,3648,3908,4064,4195,4038,4068,4139,4077,3994,3804,3681,3851,3872,3796,3904,4020,4048,3828,3388,3909,4016,3043,2842,3348,3526,3815,4137,4080,4094,4140,4197,4162,4163,3911,2963,3394,4092,4244,4124,4090,4061,4079,4007,3547,3020,3133,2676,3395,3240,3104,3327,3152,3072,3008,3071,3439,3608,3519,3403,3173,2616,2202,2310,3305,3355,2603,2360,2896,2689,2134,2624,2807,2122,1832,2251,2486,2666,2497,2531,2830,2718,2214,2048,2269,2680,2632,2679,2701,2471,3175,3081,2942,2766,2692,2850,2696,2608,2706,2722,2468,2877,3162,3432,2871,2907,3094,3459,3469,3532,2763,2120,2641,3030,3045,3334,3573,2836,2723,3276,3492,3388,2858,2226,2568,3305,3295,3334,3208,3466,3570,3237,2895,2940,3265,3408,3043,2132,1908,1673,1594,1622,1709,1562,1476,1527,1453,1746,1718,1675,1615,1832,2273,2364,2056,1897,1847,1992,2308,2634,2534,2372,2199,2205,2154,2508,2466,2025,1827,1636,2172,2340,2260,2187,2005,1779,1853,2049,1984,2442,2259,1764,1751,1672,1621,1720,1844,1986,2670,2145,1833,1994,2076,2301,2596,2178,1621,1554,1563,1602,1538,1434,1359,1295,1409,1473,1632,1670,1734,1984,1944,1600,1620,1848,1694,1676,2160,2114,2115,2511,2455,2131,2347,2635,2512,2442,2658,2896,3073,2962,2712,2917,2907,2980,2910,2918,2798,2560,2546,2332,2147,2314,2342,2382,1845,1641,1642,1620,1540,1525,1528,1709,1739,1492,1481,1642,1488,1885,1772,1432,1435,1570,1736,1798,1626,1618,1814,1980,1671,1551,1863,1998,1715,1656,1595,1582,1692,1787,1798,1815,1865,1770,1692,1619,1431,1851,2235,2188,2089,2282,2431,2723,2994,2840,2600,2619,2975,2393,1961,2172,2167,1878,1638,1789,2142,2424,2353,2458,2594,2210,1917,1804,1841,1957,1920,1945,2063,2204,2270,2574,2912,2618,1722,1808,2864,3883,3539,3472,3526,3596,3146,2566,2722,2631,2590,2635,2838,3396,3145,2312,2409,2514,2504,2396,2497,3210,3365,2770,2522,2850,2631,2752,3096,2865,2856,2570,2149,1954,1942,1974,2032,2138,1990,1938,2320,1959,1793,1560,1644,1654,1511,1655,2039,2214,2154,2534,2895,2900,2328,2403,2636,2822,2878,2990,2848,2638,2458,2186,1964,1932,1992,2276,2325,2197,2324,1779,1560,1409,1649,2045,1844,1742,1765,1612,1511,1519,1448,1356,1427,1501,1390,1225,1415,1634,1788,1766,1638,1640,1761,1825,1354,1332,1528,1522,1394,1391,1247,1262,1411,1506,1570,1478,1677,2018,1897,1738,1483,1390,1406,1316,1552,1814,2258,2437,2462,2029,1715,1738,1405,1829,2006,1569,1322,1373,1512,1438,1422,1554,1713,1726,1748,2393,2588,1494,1400,1569,1500,1691,1812,2264,2424,1838,1924,2074,1785,1970,3189,3854,3702,3482,3131,3554,3539,3043,3086,2583,1745,1044,905,1464,1718,1605,1592,1853,1820,1736,1641,1607,1548,1540,1490,1415,1563,1406,1533,2385,2554,1851,1714,1534,1668,1800,1569,1416,1393,1504,1579,1405,1669,1584,1660,1781,1349,1324,1260,1259,1273,1250,1336,1505,1484,1363,1367,1355,1612,1808,1550,1396,1388,1401,1435,1776,1842,1475,1301,1368,2070,2858,1959,1536,1514,1668,1793,1920,1621,1507,1556,1484,1693,1694,1319,1154,1265,1450,1812,2153,2444,2591,2798,2553,2195,2552,3576,4112,3881,3723,3524,3642,3331,2995,3728,4393,4409,4094,3961,4021,4020,3777,3263,3198,3427,3658,3682,3658,3774,3694,3472,2998,2756,2499,2034,1863,1837,2610,3298,2643,2509,2271,1864,1555,1844,2220,2182,2476,2811,2730,2429,2015,2060,1858,1775,1974,2498,2548,2007,1760,2002,2070,2055,2040,2164,2212,2364,2325,2361,2329,2518,2430,2359,2310,2598,2408,2013,2277,3228,3784,3296,2790,2595,2646,2661,2742,2889,2860,3023,3204,3117,2901,2835,3190,3553,3829,3873,3186,2907,3746,4685,4452,3861,3618,3840,3680,2908,2082,2101,2746,2940,2977,2946,2734,2613,2952,3163,3122,2871,2643,2654,2589,2689,2783,2934,3071,3396,3396,3481,3407,3436,3652,3815,4175,4621,4752,4648,4172,3501,3601,4352,4823,4482,4152,4604,4999,4903,4828,4829,4644,4167,4067,4328,4204,4283,4708,4542,4100,3933,4131,4455,4372,4175,4163,4359,4396,4175,4284,4120,4024,4086,3972,3779,3839,3774,3325,3159,3326,3784,3898,4239,4471,4427,4112,3972,3729,3654,3786,3906,4017,3995,3893,3795,3684,3659,4131,4007,3758,3683,3775,3688,3473,3128,3200,3592,2973,2562,2620,2909,3332,3445,3422,2533,2370,3122,3342,3331,3363,3442,3679,4050,4052,3645,3777,3785,3482,3262,3218,3256,3332,3618,3731,3682,3394,2895,2685,2954,3294,3633,3366,3471,3276,2730,2746,2741,3254,4160,3941,3746,3839,3885,3819,3859,3564,3303,3116,3125,3024,2889,3144,3088,3278,3496,3576,3334,2362,2448,2498,2575,2502,2198,2144,2552,2891,2521,2836,2910,2779,2851,2806,3204,3770,3979,3957,3979,3870,3859,3645,3471,3760,3982,4140,4095,3676,3493,3717,3929,3917,3736,3413,3231,3398,3653,3665,3766,3740,3918,3748,3463,3233,3006,2962,3241,3459,4078,4588,4416,3387,2975,2758,2601,2754,2640,2706,3134,2736,2220,2776,3054,3039,2955,2457,2674,2534,2844,2944,2742,2573,2352,2176,2097,2452,2896,2430,1726,1613,1762,2031,1542,1990,2469,2124,2150,2330,2675,3100,2763,2404,2238,2370,2707,2776,2950,2743,3121,3672,3365,2448,1829,2042,2821,3040,3264,3786,3633,3318,3205,3208,3208,3020,2841,2887,3052,3176,3356,3450,3523,3602,3799,3436,3211,3479,3110,2630,2212,1679,1355,1802,2330,2626,2609,2232,2264,2534,2467,2940,3046,2569,2655,3436,3763,3108,2149,2328,1890,2358,2440,2608,2559,2338,2182,2406,2642,2218,1900,1969,2104,2023,2565,3834,4213,3352,2360,2250,2230,2873,3672,3594,3136,2837,3039,3796,3647,4090,3615,2307,1884,2099,1880,2040,2683,2901,3207,3238,2853,2754,2626,2636,3167,3418,2775,2652,2968,3054,3281,3328,3204,3128,2785,2776,3142,3142,2955,2612,2820,2906,2679,3041,3023,3339,3592,3708,3606,2500,2352,2946,3132,3254,3326,2814,2328,2246,2308,2555,2901,3614,3898,3396,3145,3553,3979,3732,3282,3762,3754,2934,3000,3076,2677,2495,2977,3209,3043,2410,1947,1882,1825,1781,1706,2082,2459,2330,2364,2375,2152,2254,2913,2718,2024,1510,1380,1650,1891,1728,1754,1818,1651,1864,1595,1655,1552,1648,1560,1532,1671,1765,1897,2006,1971,1680,1458,1558,1546,1360,1411,2004,2393,1898,1474,1489,1559,1435,1560,1673,1771,1730,1814,1562,1377,1417,1355,1427,1444,1340,1588,1802,1490,1560,1570,1397,1486,1472,1642,1652,1636,1561,1493,1625,2134,2547,2479,2420,2402,3142,3451,3228,2846,2908,3093,2665,2616,3249,3651,3886,3979,3571],[3232,3488,3184,2740,2695,3038,2924,3199,3636,3974,3343,3470,2941,2601,2334,1894,2185,2717,2740,2208,1759,1975,1866,2152,2407,2311,2204,2176,2203,2617,2773,2974,2485,1994,2284,2995,3117,2337,2075,2083,2025,2021,2163,2190,2625,3161,3051,2974,2749,2965,2853,3155,3023,2627,2072,2170,2490,2290,1946,1760,1866,2073,1958,2035,1665,1735,1726,1951,2593,2574,2371,2366,2224,2327,2781,2708,2733,2958,3196,3088,2699,2449,2248,2162,2199,2667,3125,3430,3296,2488,1642,1882,2540,2413,2221,2390,1999,1296,1594,2708,3281,3213,3075,3016,3165,2798,2659,2843,2787,3135,3041,1610,923,1303,1845,1991,2087,2310,1559,1813,1828,2361,2520,1809,1665,1964,2398,2138,1987,1853,1396,1786,2586,2906,3178,3329,2951,2448,2441,2416,2523,2781,2271,2001,1747,1420,1598,1656,2252,2343,2363,1762,1132,1379,1964,2191,2432,2491,2193,2085,2087,1952,2236,2473,2855,2918,3057,3312,3060,2069,1543,1875,2337,2484,2283,2325,2235,2058,2319,2207,1731,2154,2647,2349,2172,2449,2813,2860,2612,2744,2778,2390,2618,2690,2624,2706,3185,3083,2451,2236,1843,1624,1792,2308,2802,2928,3040,2957,2164,1934,1883,2276,2789,2758,2580,2588,2061,2479,3228,2926,2851,3320,3774,4074,3840,3359,2828,2466,2534,2596,2303,2245,2192,2004,1884,2374,2938,2438,2187,2533,2242,1989,1910,1899,2472,2336,2842,2874,1580,1716,2285,2018,2178,2249,2211,2247,2221,2745,3008,3293,3509,3141,3140,2996,2987,3007,2338,1952,2272,3097,3695,3671,3716,3350,3107,3071,2453,2946,3420,3806,4095,3727,3884,3342,1733,895,1219,1516,1831,1799,1827,2198,955,436,530,351,1202,1794,1110,520,591,553,853,2326,2533,2541,2671,2568,2286,2258,2774,3132,2787,2414,2617,2965,3145,3208,3594,3774,3643,3299,2991,2625,2275,2145,1959,1819,1747,1485,1290,1441,1399,1466,1733,2193,2651,2858,2880,2605,2116,1896,2085,2313,2336,2082,2141,1934,1857,1966,1944,1828,1906,2002,1980,2045,2170,2423,2369,2254,2075,2272,2377,2264,2287,2215,2281,1959,1961,2499,2243,2176,1910,1657,1883,2046,2032,2070,2045,2100,2150,2342,2289,1970,1988,2086,1841,1834,2207,2519,2359,2291,2106,2143,2181,2225,2469,2166,2199,2292,1920,1886,2186,2267,2074,2057,1570,1200,1779,2416,2176,2188,2352,2294,2269,2358,2558,3262,3432,3637,3680,3420,2958,2756,3495,3667,3143,2961,2631,2496,2522,2862,2894,3008,3143,3096,3210,3121,2614,2578,3367,3470,3507,3848,3777,3558,3475,3715,3875,3817,3535,3129,3052,3124,3248,2987,2823,2885,3071,3263,3328,3687,4228,4101,3364,3119,3069,2556,2784,3045,3440,3297,2769,2875,2562,2206,2239,2451,2319,2107,2283,3178,3819,3906,3881,3936,3927,3907,3890,3969,3749,3596,3749,3795,3871,3926,3367,2931,2591,2212,1988,2692,2567,1886,2699,3452,2832,2217,2061,1644,1688,1686,1659,1831,1960,1741,2008,1953,2077,2842,2300,1272,1333,1819,2588,2965,2808,2249,1886,1749,1808,2008,2177,2387,2653,3184,3999,3827,3618,3588,3903,4006,3991,4000,4025,4063,4077,3983,3880,3770,3795,3940,3947,3884,3965,4035,4015,4047,4049,4031,3896,3574,3840,4168,3804,3919,4144,4095,4094,4108,4168,4183,4200,4086,3736,3773,4083,4057,3807,4039,4057,4099,4024,3530,3107,3368,3486,3599,3362,3441,3440,3242,3344,3311,3104,3403,3649,3555,3409,3199,3320,2370,2309,3162,3511,3078,2447,2618,2908,3255,3054,2501,1798,1976,2400,2399,2854,2935,2829,2733,2491,2451,2574,2983,2814,2293,2215,2367,2443,2099,2120,2786,3001,2730,2910,3044,2983,3016,3112,2896,3506,3399,3081,2709,2588,2742,2911,3040,3145,2490,2226,2764,3355,3269,3344,3284,3374,3522,3665,3713,3638,2973,2493,2823,3083,3150,3476,2844,3008,3543,3322,2997,2975,3191,3297,2590,1991,1947,1760,1764,1598,1742,1715,1716,1810,1597,1528,1419,1438,1419,1442,1736,1832,2024,2227,2015,2305,2555,2729,2708,2272,2008,1890,2030,2448,2090,2071,2083,2175,2586,2260,1998,2064,1967,1854,1827,1862,2229,2452,1895,1765,1751,1761,1711,1851,2091,2215,2306,1890,1670,1789,1853,2261,2897,2597,2071,1561,1912,1588,1417,1415,1411,1619,1590,1488,1504,1702,1771,1825,1908,1773,1938,1926,1592,1665,1987,2376,2233,2163,2274,1821,2025,2460,2442,2512,2735,2893,2955,2888,3044,3110,2955,2766,2882,3139,2816,2279,2157,1972,1763,2240,2657,2266,1697,1594,1557,1592,1619,1694,1589,1810,1884,1541,1450,1620,1410,1437,1472,1338,1504,1667,1709,1832,1613,1706,1918,2217,1863,1714,2122,1866,1530,1539,1578,1718,1742,1564,1576,1635,1818,1829,1917,1949,1740,2475,3066,2801,2396,2473,2452,2577,2489,2470,2655,2466,2393,2164,2018,1971,1907,1602,1713,1838,1955,2566,2993,2513,2198,1897,1777,1702,1748,1916,1983,1946,1989,2087,2142,2584,2669,2040,1520,2392,3422,3278,3000,3308,3593,3283,2403,2476,2948,2788,2348,2428,2654,2926,3311,3142,2861,2720,2791,2309,2330,3249,3527,3204,2896,2806,2437,2433,2402,2149,2114,2107,1875,1839,1920,1735,1654,1837,1951,1924,1991,2023,2072,1700,1401,1533,1411,1848,3076,3198,2556,2744,3441,3498,2517,2583,2652,2905,3358,3398,2898,2575,2664,2348,1976,2027,2153,2490,1965,1727,2054,1622,1416,1412,1465,1549,1644,2077,2411,2024,1513,1504,1513,1161,1202,1427,1522,1597,1968,1980,1777,1570,1587,1751,1725,1974,1523,1588,1817,1515,1332,1472,1401,1391,1579,1694,1743,1345,1692,1990,1746,1795,1765,1723,1599,1628,1615,2160,2754,2644,2646,2182,1552,1693,1649,1677,1542,1559,1602,1603,1480,1344,1521,1879,1753,1731,2071,2493,2408,1605,1440,1536,1721,1838,1729,2005,1899,1620,1791,1834,1830,2779,3802,4288,4221,4140,3824,3982,3987,3342,3322,3088,1868,916,1051,1527,1470,1350,1628,1819,1903,1907,1804,1846,1853,1826,1742,1797,1503,1339,1331,1523,1741,1825,1853,1583,1393,1351,1271,1269,1304,1440,1529,1489,1739,1471,1558,1661,1338,1351,1462,1355,1261,1288,1345,1562,1579,1469,1362,1301,1577,1666,1491,1419,1400,1406,1483,1746,1770,1299,1265,1453,2044,2019,1447,1489,1783,2078,1936,1614,1425,1476,1621,1824,1736,1422,1635,2026,2402,2563,2731,2735,2723,2675,2677,2488,2303,2909,3768,3986,3838,3853,3526,3441,3451,3472,4093,4633,4444,4187,4115,4177,3882,3382,3468,3153,3550,3765,3884,3880,3791,3717,3145,2859,2741,2067,1748,1843,2717,3332,2980,2986,2765,2324,1880,1736,1945,2303,2494,2955,3277,2942,2342,2671,2676,2167,1898,1971,2460,2686,2183,1993,2278,2265,2296,2253,2354,2301,2374,2315,2332,2433,2448,2467,2377,2304,2824,2460,2270,2294,3092,3773,3616,3026,2474,2658,2753,2576,2755,2877,2899,2894,2973,2822,2765,3415,4058,4047,3985,3419,3604,4674,4980,4865,4480,3736,3618,3292,2909,2587,2333,2688,3094,3238,3431,3205,2447,2474,3054,3121,2894,2579,2507,2475,2598,2834,2941,3074,3421,3483,3481,3632,3665,3879,3963,3969,4207,4440,4447,4079,3479,3099,3614,4517,4677,4677,4929,5000,4714,4527,4395,4224,4029,4225,4261,3939,3947,3970,3919,4329,4341,4107,4383,4559,4419,4264,4416,4664,4396,4059,4310,4660,4576,4252,4073,4056,3987,3638,3398,3763,4196,4175,4099,4073,4192,4385,4297,3939,3861,4144,4169,4087,3983,3705,3678,3725,3768,3857,3861,3749,3658,3783,3971,3908,3813,3754,3578,3231,2997,2757,2689,3117,3364,3473,3309,2925,2652,2573,2979,3605,3493,3749,3773,3637,3549,3570,3681,3606,3325,3334,3514,3629,3880,3920,3919,3770,3820,3824,3251,2701,3203,3939,4572,4100,3028,2791,3176,3474,3701,3515,3486,3861,3831,3774,3620,3196,3046,3165,3138,3208,3239,3499,3285,3430,3667,3674,3017,2246,2265,2655,2743,2404,2214,2396,2690,2830,1731,2054,2945,3078,2791,2743,2906,3626,4083,4079,3993,3473,3674,3551,3452,3759,3815,3780,3738,3463,3311,3475,3916,4189,4014,3395,3262,3415,3607,3714,3713,3913,3911,3563,3213,3086,3010,2997,3122,3166,3553,4272,4405,3553,2749,2237,2145,2111,2095,2411,2569,2454,2159,1999,2170,2906,3066,2765,2642,2442,2784,2797,2381,2032,2040,2237,2442,2417,2668,2391,1953,2101,2334,2030,1812,2438,2356,1916,2185,2121,2276,2603,2476,2432,2554,3088,3110,3141,3174,2950,3050,3228,3511,2460,2380,2777,3002,2912,3142,3431,3353,3322,3183,3231,3450,3288,3275,3372,3481,3599,4000,3879,3771,3660,3476,3356,3580,3514,3243,2853,2555,2541,2385,1930,1750,2591,2575,2159,2419,2669,2449,2460,2695,2463,2370,2563,2767,2686,2425,2328,2242,2460,2988,3681,3132,1935,1921,2188,2074,1829,1480,1719,2244,2416,2922,3784,3586,2429,2203,2475,2250,3442,4277,3639,3166,3173,3225,3560,3870,4267,4047,3040,2293,1887,1525,2321,2713,2457,2930,3029,2791,2753,2740,2820,3245,3031,2234,2595,3134,3288,3398,3174,3023,2874,2790,3114,3057,2700,3106,3164,2851,2934,2938,3351,3248,3073,2916,3092,3213,2454,1978,2182,2509,2721,2989,3097,2735,2678,2962,2993,3452,3725,3519,3495,3759,3843,3684,3570,3892,4465,4339,3608,3830,3084,2375,1991,1969,2143,2434,2370,2160,2083,1898,1897,1897,2402,2600,2176,2408,2654,2164,2478,3045,2686,1965,1579,1851,2089,2138,1768,1810,1899,1806,1745,1765,1739,1555,1588,1622,1525,1563,1652,2178,2691,2229,1894,1755,1577,1349,1276,1584,2026,2088,1969,1922,1584,1688,1506,1645,1702,1806,1939,1714,1525,1736,1616,1390,1406,1465,1584,1684,1580,1359,1523,1448,1429,1402,1391,1492,1690,1704,1448,1472,1622,2153,2584,2516,2253,2534,3101,3147,3149,3176,3028,3277,3262,2756,2740,3451,3785,3683,3473],[3139,2586,2697,2476,3013,3432,3403,3227,3259,3391,3090,3463,3871,3510,2379,2105,2517,3181,3523,3129,2698,2498,2209,2276,2557,2526,2469,2226,2278,2398,2066,2055,2189,2095,2498,3037,3100,2541,2286,2422,2250,2237,2242,1869,2099,2208,2465,2649,2697,2583,2688,2783,2805,2577,2426,2551,2555,2133,1743,1781,2082,1968,2112,2053,1890,1922,2088,2674,2843,2136,2082,2215,2014,2113,2754,2600,2749,3089,2796,2564,2633,2611,2443,1958,2066,2521,3072,3125,2978,2456,2012,2619,3093,2923,2396,2128,1995,2004,2491,2745,2897,2917,2928,2996,3045,2979,2918,3287,2932,2714,2493,1732,1428,1560,2119,2446,2421,2342,1798,2123,2372,2715,2424,1730,1463,2038,2113,2030,1926,1532,1566,2259,2866,2849,3039,3051,2655,2541,2642,2611,2632,2454,2216,2344,1793,1668,1789,1744,2220,2443,2215,1668,1390,1631,2260,2747,2502,1887,1722,2164,1927,1743,2014,2469,2740,2572,2669,3228,2874,1897,1621,1678,1969,2612,2251,2308,2310,2436,2361,2124,1842,2107,2342,2378,2133,1868,2487,2720,2518,2631,2604,2467,2465,2333,2188,2484,2758,2675,2720,2597,2012,2036,2092,2101,2430,2575,2460,2313,2015,1757,1650,2083,3053,3195,2832,2768,2297,3067,3581,3508,3493,3430,3710,3951,3629,3184,2768,2404,2304,2535,2397,2275,2298,2362,2500,3022,3000,2378,2365,2595,2668,2510,1976,1736,2872,2322,2495,2286,1844,2620,2707,2485,2085,1461,1684,1656,1984,2599,2829,3328,3082,3117,3397,3519,3429,3117,2474,2253,2430,2912,3673,3329,3065,3154,3022,3420,3305,3647,3637,3738,3705,3706,4081,3886,3121,2861,2676,1588,1042,632,506,1645,1322,483,524,402,789,1626,1396,563,581,554,608,1882,2406,2741,3140,2669,2434,2405,2315,2486,2430,2467,2902,3160,3387,3318,3319,3247,3218,2661,1787,1402,1472,1610,1640,1368,1288,1262,1190,1649,2011,2264,2574,2832,2585,2281,2382,2205,1754,1728,1859,1831,2142,2220,2259,1989,1884,2048,2146,2054,2030,2188,2267,2339,2294,2481,2360,2236,2403,2599,2288,2175,2276,1988,2192,2276,2192,2339,2070,2218,2002,1931,1897,1918,2047,2153,2350,2502,2439,2375,2326,2314,2171,2119,2122,2094,2423,2222,1879,2170,2352,2442,2328,2202,2352,2191,2242,2294,2088,2074,2166,2150,2250,2422,2410,2286,2344,2331,2051,1989,2142,2119,2074,2021,2232,2762,2979,3219,3186,3076,2954,2828,3039,2876,2588,2336,2348,2360,2441,2444,2302,2169,2218,2339,2144,2047,2170,2481,3413,3285,3325,3438,3396,3573,3651,3558,3660,3817,3868,3385,2690,2961,3320,3356,3327,2588,2512,2922,3186,3619,3969,3865,3277,2992,3018,3044,2880,2907,3150,3435,3695,3426,2652,2338,2210,2326,2222,1968,2008,2984,3337,3575,3847,4060,4062,3795,3598,3727,3370,2830,3416,3680,3740,3637,3108,2403,2294,1888,1568,2432,2862,2092,2169,3312,3098,2439,2272,1064,900,1404,1604,2127,2396,1886,1619,1812,2523,2981,2198,1479,1910,2030,2187,2335,2691,2246,1863,1917,1814,1888,2267,2693,2986,3479,4100,4015,4048,4112,4047,4062,4006,4010,4131,4160,4026,3869,3828,3793,3362,3716,3980,3978,4020,4005,3997,4052,4109,3983,3927,3984,4119,4155,4124,4188,3996,3994,4108,4094,4108,4152,4048,3795,3506,3872,4120,3851,3163,3830,4100,4083,4011,3441,3275,3509,3436,3304,3399,3555,3373,3269,3027,3311,2949,3217,3566,3503,3271,3121,3017,2847,2941,2938,3174,3209,2718,2717,2955,2984,2459,2448,2257,2706,2766,2602,2834,2631,2334,2301,2319,2452,2512,2686,2479,2300,2724,2735,2010,1780,2254,2632,3109,2779,2722,3375,3629,3857,3750,3542,3857,3872,3532,3075,2725,2497,2473,2588,2758,2453,2254,3066,3437,3442,3383,3431,3670,3774,3643,3479,3318,2804,2666,3074,3559,3762,3492,3183,3364,3335,3042,2851,3122,3471,3082,2081,2013,2125,2043,1766,1582,1763,1973,2131,1772,1446,1404,1276,1374,1638,1642,1556,1669,1765,1952,1874,2267,2563,2645,2415,1969,2008,1726,1600,1996,2073,2198,2356,2431,2162,1877,1858,2061,1848,1708,1824,1992,2218,2317,1847,1856,1780,1669,1714,2248,2494,2196,1895,1815,1731,1496,1496,1868,2300,2531,2375,1771,1993,1646,1633,1598,1725,1798,1523,1425,1559,1767,1766,1949,2063,1911,1868,1767,1773,1844,2098,2466,2370,2227,2193,1677,1724,1914,2215,2763,2988,2894,2953,3085,2807,2587,2801,2823,2842,2878,2336,1956,2029,1702,1555,1876,2221,1875,1492,1494,1628,1730,1542,1650,1607,1885,2149,1558,1345,1492,1548,1550,1474,1469,1525,1528,1636,1936,1650,1671,1884,2066,2019,1864,1729,1507,1391,1554,1672,1646,1726,1475,1449,1661,1797,1807,2007,2090,2406,2634,2501,2584,2714,2692,2481,2477,2488,2523,2436,1992,2070,2526,2273,1967,1906,1942,2002,1739,1785,2018,2164,1700,1834,1788,1831,1886,1952,2046,2094,2040,1876,1980,2071,2321,2171,1631,1802,2950,2857,2364,2116,2388,2930,2497,2164,2544,2548,2375,2343,2424,2228,2145,2403,2479,2405,2386,2421,2413,2921,2763,2678,2420,2275,2221,1977,2034,2129,1978,1982,2120,1966,1843,2013,1870,1865,2046,2337,2154,2057,2011,1859,1607,1511,1552,1470,1679,2677,3198,2592,2778,3730,3912,3218,3103,3400,3659,3396,3212,3343,2928,3057,2540,2002,2018,2456,2846,2175,2265,2225,1670,1418,1378,1368,1384,1670,1938,2226,1834,1536,1515,1558,1373,1303,1458,1709,1776,1647,1735,1716,1534,1759,1631,2065,2420,1660,1401,1456,1452,1536,1711,1573,1632,1656,1587,1576,1333,1598,1553,1496,1848,1650,1654,1891,1948,1901,2204,2686,2484,2196,1620,1603,2208,2102,1562,1542,1572,1580,1545,1462,1400,1613,1698,1678,1824,2411,2806,2364,1842,1774,1591,1592,1560,1700,2003,1857,1608,1659,1891,1710,2449,3174,4172,4425,4050,3654,3332,3164,3108,3266,3065,2700,2010,1708,1633,1424,1546,1562,1565,1796,1978,1923,1860,1942,1996,1667,1666,1486,1340,1280,1340,1832,2236,2104,1567,1411,1444,1454,1432,1452,1484,1507,1554,1478,1383,1484,1561,1434,1448,1588,1450,1261,1424,1414,1703,1892,1808,1555,1455,1467,1520,1393,1275,1281,1374,1476,1422,1443,1316,1433,1620,1912,1498,1384,1578,1788,1970,1799,1294,1284,1527,1871,2298,1725,1448,2148,2614,2715,2666,2720,2750,2696,2686,2614,2324,2231,2705,3636,3886,3807,3793,3789,3915,4086,4115,4272,4360,4300,4288,4184,3928,3342,3495,3518,3339,3528,3659,3792,3681,3687,3263,2773,2736,2267,1858,1820,2734,3111,2966,3275,3377,3247,2624,1770,1687,1787,1990,2336,2814,3234,2932,2529,2706,2685,2193,1759,1716,1945,2402,2328,2021,2272,2265,2355,2310,2378,2307,2290,2190,2091,2201,2226,2252,2423,2446,2924,3050,2995,2922,3649,3941,3418,2744,2360,2502,2386,2184,2447,2727,2735,2929,3043,2952,3214,3887,4030,3917,3909,3859,4200,4921,4835,4968,4972,4177,3485,3108,2890,2474,2125,2472,2950,3144,3475,3422,2689,2458,2921,2608,2568,2478,2609,2621,2623,2793,2985,3128,3392,3399,3385,3542,3926,4376,4419,4251,4160,3951,3836,3761,3549,3283,3322,3883,4620,4808,4872,4784,4587,4408,4328,4148,4236,4306,4112,3983,3871,3646,3697,4026,4428,4811,5021,5043,4874,4190,3817,4120,4329,4264,4632,4797,4719,4532,4311,4181,4208,4152,4238,4485,4917,4989,4604,4311,4202,4069,4040,4082,4094,4063,4157,3985,3839,3758,3602,3387,3437,3709,3957,3918,3874,3852,3950,4117,4000,3824,3863,3918,3755,3499,3393,3462,3290,3077,3338,3348,2691,2853,3616,3973,3586,3838,3642,3484,3553,3551,3616,3641,3385,3482,3601,3483,3827,4300,4311,4093,4059,4471,4081,3582,4383,4999,4871,3996,3526,3582,3660,3752,3680,3453,3394,3307,3199,3039,2787,2797,2846,2952,3253,3610,3662,3439,2999,3042,3529,3738,3382,2845,2630,2635,2464,2280,2108,2536,3023,3108,2208,1832,2697,3000,2770,3032,3253,3564,3879,4034,3265,2508,3284,3645,3645,4013,3926,3890,4046,3992,4050,3905,3713,4068,4132,3884,3573,3344,3442,3487,3406,3520,3496,3374,3206,3069,2997,2906,2878,2853,2970,3835,4108,3418,2403,2075,2645,2614,2306,2120,1866,1877,1814,1577,1577,2366,2932,3045,3099,2836,2564,2554,2202,1989,2288,2335,2286,2552,2842,2354,2304,2570,2432,2147,2343,2532,2061,1880,2034,2062,1914,2534,2845,2532,2937,3284,3283,3463,3146,2765,2958,2965,3773,3172,2955,3090,3263,3261,3155,3097,3244,3573,3853,3950,4061,4003,4003,4408,4516,4448,4683,4639,4564,4275,3718,3682,3963,3819,3370,3138,2670,2830,3610,3076,2099,2410,2632,2326,2481,2706,2598,2482,2535,2163,2536,2476,2294,2194,1898,1726,2198,2555,2929,3249,2857,1700,1750,2020,1854,1837,1626,1958,2562,2425,2467,2949,2728,2457,3077,3339,2642,3110,3979,3470,2956,2880,2916,3583,4253,4211,4006,3382,2613,2193,2259,3050,2459,2417,2956,2955,2635,2752,3195,3303,3196,2566,2296,3184,3218,3184,3382,3311,3083,2973,2973,3025,2812,2623,2987,3280,3146,3499,3446,3233,3189,2918,2696,2800,2902,2285,2056,2367,2086,2359,3104,3171,2706,2473,3064,3384,3648,3570,3397,3081,2820,3154,3699,3858,3834,4439,4468,3995,3740,2558,2465,2480,2318,2120,1970,1914,1992,2090,2250,2128,2216,2344,2299,2416,3135,3068,2701,2740,2612,2394,2236,1826,2105,2070,1974,1830,1830,1839,1882,1725,1629,1613,1609,1818,1797,1728,1564,1653,2979,3481,2529,2127,1993,1803,1692,1561,1517,1409,1497,1691,1758,1488,1301,1505,1648,1610,1730,1827,1562,1835,2233,2001,1561,1441,1471,1628,1620,1377,1373,1464,1425,1389,1332,1341,1497,1864,1662,1424,1405,1634,2053,2532,2634,2237,2562,2930,2842,3250,3427,3437,3586,3664,3096,2231,2777,3666,3775,3652],[2791,2780,2596,2333,2950,3229,3274,3230,3162,3038,2603,2523,2978,2543,2068,2260,2910,3304,3363,3350,2852,2574,2452,2198,2266,2365,2398,2457,2770,2536,1760,1559,1596,1604,2088,2484,2502,2377,2742,2923,2451,2775,2394,1769,1957,2076,2044,2309,2264,1781,1919,2569,2855,2624,2563,2620,2483,2029,1685,2072,2117,2230,2464,2248,1762,1869,2663,3351,3244,1935,1990,2267,2006,1903,2194,2282,2503,2743,2843,2994,3066,3132,2480,1831,2104,2190,2419,2002,1920,2094,2706,3139,2855,2500,2514,2533,2169,2690,2776,3023,3238,3243,3105,2932,2656,2870,3209,3349,2998,2851,2678,2513,2907,2954,3231,3161,2952,2587,2270,2708,2854,2399,2174,1820,2044,2575,2028,2099,1967,1546,2024,2494,2744,2832,3048,2897,2335,2085,2170,2429,2540,2346,2589,2412,1823,1916,2189,1947,2227,2479,2288,2261,2065,1962,2218,2305,2053,1955,1747,1921,1817,2093,2205,2654,3159,2886,2796,3110,2756,2003,1721,1839,1956,2248,2076,2094,2424,2712,2599,2348,2309,2642,2493,2680,2035,1660,2260,2230,2142,2295,2226,2135,2208,1990,1920,2360,2397,2471,2603,2150,1763,1695,1587,1972,2318,2201,2224,2432,2412,2137,2268,2641,3083,3193,2753,2623,2181,3123,3495,3482,3649,3559,3714,3669,3121,2779,2614,2335,2464,2480,2289,2590,2876,2805,2902,2873,2489,2173,2113,2869,3146,2554,1870,1396,1681,1933,2301,1928,1854,2703,3157,3142,2445,1705,1979,2071,2985,3113,2945,2607,2393,2722,2872,3241,3688,3386,2984,3001,3096,2844,2664,1613,1763,2898,3421,3566,3463,3351,3361,3483,3472,3616,3995,3958,3536,3463,2774,1027,374,458,393,1303,1629,602,486,445,552,1284,1672,729,469,480,450,1640,2374,2447,2576,2185,1981,2020,2352,2595,2673,2899,2845,2973,2908,2628,2618,2835,3196,2881,1853,1547,2008,2745,2287,1606,1603,1941,2368,2803,2815,2547,2500,2491,2239,2196,2213,2027,1914,1853,1763,1812,2137,2377,2354,2291,2310,2293,2154,2098,1914,2017,2098,1917,2230,2544,2225,2418,2779,2709,2263,2197,2235,1958,1986,2040,2010,1907,1665,1927,1881,1889,1958,2083,2087,2231,2426,2336,1899,1667,2178,2199,2049,2314,2503,2532,2667,2332,2138,2272,2487,2524,2422,1951,2063,2168,2454,2512,2282,2178,2304,2270,2231,2229,2316,2392,2404,2240,2084,2317,2213,2129,2096,1963,2178,2558,2570,2626,2570,2584,2498,2481,2375,1993,1738,1982,2056,2021,2141,1978,1921,1892,1771,1642,1693,1835,1918,2113,2727,3167,3294,3323,3483,3472,3075,3070,3412,3486,3875,3673,2684,3049,3367,3426,3450,2894,2498,2722,3253,3560,3774,3855,3123,2687,2603,2986,3032,2762,2663,2785,2898,2534,2165,2177,2196,2413,2100,1984,2014,2502,3097,3257,3260,3629,3876,3620,3283,2985,2707,3253,4299,3987,3217,3209,2754,2288,2906,2703,1993,2355,2963,2563,1867,2965,3426,2654,2072,1232,1134,1370,1556,1691,1799,2037,1892,2196,2836,2751,1878,1647,2566,2389,2164,2266,2389,2111,2204,2555,2349,2192,2331,3274,3772,4091,4187,3913,3548,3709,4006,4025,3974,3996,4043,3972,3879,3852,3847,3936,3062,3473,3883,3941,4048,4093,4033,4121,4157,4133,4105,4094,4117,4132,4016,3939,3459,3359,3841,3992,4006,4038,3889,3147,2799,3824,4028,3989,3802,4004,4100,4099,4013,3601,3340,3021,2725,2642,3018,3143,3426,3675,3063,3340,3107,3060,3229,3402,3351,3106,3079,3421,3464,3164,3322,3474,2886,3079,2878,2636,2478,2287,2155,2357,2665,2653,2462,2289,2128,1979,1994,2296,2206,2301,2268,2247,2502,2576,2026,1793,2031,2013,2762,2791,2828,3463,3785,3817,3427,3316,3376,3215,3055,3205,3452,3093,2489,2629,2497,2420,2604,3373,3694,3527,3573,3813,3773,3658,3393,3171,3049,2700,2574,2651,3262,3680,3483,3422,3365,3062,2984,3095,3265,3344,2564,1712,1898,2082,1914,1649,1544,1696,2024,1962,1453,1389,1368,1328,1673,2041,1751,1455,1481,1628,1752,1728,1937,2051,2208,2210,1931,2070,2032,1959,2151,2418,2237,2149,2060,1976,1798,1936,2228,2044,1794,1770,1899,2154,1809,1758,1924,1815,1652,1841,2427,2495,1947,1656,1758,1616,1445,1556,1868,2456,2731,2292,1732,1399,1411,1676,1839,1691,1576,1704,1679,1806,1900,1747,1958,1847,1704,1917,2380,2735,2333,2218,2171,2489,2547,2321,1814,1572,1626,1700,2252,2880,2885,2550,2524,2563,2405,2768,2922,2902,2518,2145,1925,1794,1716,1710,1704,1699,1631,1588,1416,1505,1453,1597,1594,1517,1870,1980,1594,1505,1544,1491,1590,1476,1438,1437,1698,1606,1699,1757,1660,1860,2016,1985,1830,2009,2034,1659,1927,1777,1603,1611,1731,1930,2282,2181,1864,1882,2088,2366,2256,2115,2379,2590,2692,2693,2902,2271,2099,1976,1636,1882,2017,1896,1817,2047,1960,1808,1744,1698,1617,1612,1638,1591,1505,1646,2127,2470,2183,2267,2079,1815,1927,2176,2357,2101,1697,2622,3031,2395,1918,1664,2147,2288,2242,2258,2294,2481,2136,1976,2130,2016,2193,2462,2278,2114,2171,2209,2232,2011,2113,2118,1964,2010,2074,1865,1883,2105,2018,1955,2210,2210,2354,2313,2107,2344,2665,2690,2501,2332,2250,1974,1584,1762,1558,1467,1447,2049,2390,2041,2456,2928,3274,3273,3464,3875,3697,2950,2536,3351,3108,2925,2437,2336,2102,2681,2593,2172,2139,1842,1566,1434,1312,1361,1535,1809,1670,1719,1517,1555,1520,1458,1423,1383,1519,1708,1749,1757,1843,1647,1573,1886,2009,2407,2226,1799,1831,1888,1605,1932,2243,1571,1500,1402,1411,1344,1471,1741,1566,1594,1922,1643,1438,1698,2015,1998,2054,2364,2292,2039,1746,2164,3143,2590,1550,1479,1455,1433,1428,1467,1360,1448,1526,2028,1773,2230,2613,1976,1797,1961,1734,1491,1651,1919,1599,1346,1320,1432,1614,1473,1401,1790,2335,2314,2197,2228,1805,1810,2219,2705,2766,2497,1838,1575,1536,1602,1520,1325,1344,1550,1743,1909,1889,2004,1949,1753,1465,1350,1335,1236,1368,1808,2417,2567,1867,1519,1568,1530,1506,1599,1569,1532,1570,1390,1480,1664,1456,1412,1334,1411,1406,1537,1862,1734,1926,2047,1793,1593,1618,1590,1447,1305,1331,1581,1698,1730,1441,1363,1526,1608,1592,1622,1482,1471,1680,1682,1616,1323,1065,1085,1581,2280,2964,2285,1538,1942,2542,2657,2612,2647,2593,2424,2247,2205,2281,2124,2580,3360,3892,3916,3848,4019,4122,4188,4272,4264,3971,4036,4240,4123,3439,3270,3974,3327,2844,3297,3627,3639,3625,3406,2679,2769,2410,2123,1994,2613,3010,2230,2250,2933,3306,3463,2865,1863,1721,1721,1903,2169,2544,2745,2852,2903,2738,2686,2152,1622,1657,1947,2211,2524,2093,2131,2186,2240,2168,2042,1954,2096,2363,2486,2677,2653,2314,2132,2635,3096,3320,3356,3430,3693,3621,3217,2905,2696,2402,2265,2359,2513,2597,2735,2878,2877,2987,3558,3939,3926,3748,3342,3398,4041,4880,4895,5000,4672,3545,2822,2917,3156,2640,2348,2829,3032,2888,3274,3241,2902,2699,2653,2123,2178,2511,2685,2740,2675,2791,2857,3049,3522,3423,3338,3274,3952,4381,4393,4030,3741,3510,3292,3283,3448,3425,3239,3575,4556,4724,4655,4588,4630,4751,4706,4572,4440,4176,4099,4245,4176,3703,3596,3607,4501,5261,5308,5293,4843,4058,3586,3520,3299,3304,3729,3983,4284,4153,3883,3676,3707,4040,4163,4225,4813,5194,5373,5200,4964,4394,4308,4473,4582,4672,4500,4091,4126,4232,3753,3391,3498,3785,3996,3981,4046,3934,3823,4109,3981,3994,4332,4501,4337,3917,3791,3784,3421,3203,3186,3291,2721,3182,3815,3895,4148,4308,4016,3956,3997,4021,3927,3963,3963,4066,4201,4356,4444,4540,4540,4451,4354,4692,4841,4493,4335,4337,4124,3705,3687,3835,3869,4063,4155,4208,3686,3054,3077,3066,2973,2995,2924,3099,3194,3284,3391,3153,2899,2668,2852,3406,3368,2897,3128,3055,2602,2433,2585,2775,2929,3294,2985,2168,2269,2714,3116,3464,3350,3274,3536,3908,2281,2412,3492,3812,3746,3926,3871,3734,3800,4228,4424,4375,4080,4288,4084,4014,3714,3284,3313,3398,3344,3176,3182,3513,3386,3110,2910,2861,2756,2619,2834,3437,3665,3222,2210,1984,2733,2755,2852,2432,2101,1848,1662,1710,1734,1902,2245,2653,2847,2293,2000,2094,2229,2100,2304,2395,2171,2676,2923,2769,2720,2439,2196,2193,2175,2225,1743,1854,2034,1755,2137,2953,2788,2941,3386,3645,3707,3407,2523,2316,2813,3540,3785,3641,3405,3655,3949,3912,3457,3113,3167,3518,4076,4012,4196,4220,4307,4493,4609,4495,4376,4628,4579,4336,4154,3952,3974,4050,3740,3678,2911,2846,3097,2744,2323,2851,3435,2946,2942,2536,2196,2316,2546,2445,2914,2806,2177,1797,1639,2300,2915,2856,2387,2220,2220,1750,1780,2115,2294,2174,2069,2163,2110,1940,2053,2195,2320,2467,3461,3506,2654,2735,3099,3071,2867,2858,2977,3087,3163,2691,2468,2865,2620,3269,3331,3260,2507,2577,2924,3133,3218,3173,3348,3066,2917,2883,3190,3614,3480,3377,3448,3593,3562,3296,3110,3076,3311,3104,3163,3606,3010,3146,3230,2921,2563,2437,2803,3319,2984,1624,1567,2475,3026,3518,3561,3251,3024,2853,3139,3273,3439,3585,3487,2980,2059,1478,2011,3186,3657,3959,3906,4173,3604,3026,2844,2609,2562,2342,2083,1876,2360,2323,2452,2413,2553,2231,1972,2658,3483,3572,3281,2821,2934,2280,2061,2165,2274,2019,1675,1765,1639,1658,1869,1684,1619,1846,1738,2142,2045,1811,1428,1905,2978,3095,2397,2151,2100,2294,2331,1835,1744,1565,1246,1593,1740,1430,1427,1682,1564,1482,1622,1703,1688,1428,1348,1773,1491,1388,1303,1450,1513,1372,1476,1606,1592,1477,1399,1541,1759,1852,1504,1512,1483,1712,2095,2375,2539,2241,2297,2753,3182,3454,3332,3504,3609,3596,2893,2413,2431,2797,3386,3704],[2064,2483,2490,2392,2637,2971,3298,3409,3186,2920,3098,3110,2600,2218,2526,2743,3122,3449,3631,3211,2438,2451,2470,2293,2181,2227,2281,2263,2336,2176,1803,1627,1578,1745,2099,1805,1594,2321,2590,2548,2518,2787,2591,2471,2242,2143,2083,2148,1950,1907,2106,2463,2666,2413,2530,2609,2282,2047,2034,2211,2142,2149,2136,1881,1560,1919,2721,3342,3552,2540,1832,2152,2029,2231,2418,2511,2690,2821,3271,3090,2750,2372,1947,2025,2223,2021,1938,1909,2439,2362,2285,2589,2276,1794,1978,2538,2817,2833,2382,3097,3175,3019,2635,2314,2735,3264,3137,2606,2474,2577,2379,2711,3041,2715,2987,3636,3392,3078,3112,2858,2402,2399,2533,2318,2654,2967,2420,2240,1894,2045,2439,2494,2793,3272,3298,3189,2479,1901,2010,2124,2571,2339,2230,2432,1809,1725,2084,1954,2116,2246,2237,2240,2155,2031,2420,2675,2237,2029,2215,2308,2100,2203,2619,2818,3208,3369,2807,2528,2378,1868,2182,2362,2470,2456,1982,2024,2768,2824,2348,2556,2776,2833,2619,2379,1710,1491,1705,1601,2032,2469,2352,2137,1802,1705,2053,2294,1964,2149,2634,2017,1601,1574,1729,2396,2542,2168,2438,2806,3055,2719,2942,3374,3383,2997,2712,2458,2381,3148,3069,2301,2898,3850,3740,3380,3129,3078,2783,2429,2604,2415,2828,3432,2540,2194,2884,2566,2280,2075,1975,3012,2917,2269,1742,1492,1708,2093,2205,1759,1543,2161,3132,3082,2668,2513,2428,2248,3140,3051,2652,2288,2409,2779,2667,3052,3559,3516,3506,3563,3492,2967,2264,1804,2285,3146,3594,3671,3674,3633,3304,3215,3362,3685,3928,3905,3933,3820,3171,1627,558,528,358,839,1699,845,535,511,550,952,1721,1092,724,1097,1573,2470,2458,2028,2193,2345,2390,2521,2646,2402,2448,2524,2500,2632,2596,2408,2468,2571,2420,1976,1888,2323,2640,3248,2872,2227,2150,2428,2485,2438,2118,2106,2098,2035,2120,2053,1835,1897,1859,1868,2034,2121,2026,2305,2618,2500,2297,2309,2473,2456,2600,2723,2236,1778,2279,2367,2396,2683,2371,2119,2081,2225,1976,1833,2097,2535,2386,1815,1766,2093,2236,1994,2008,2326,2366,2591,2492,2090,1549,1908,2492,2344,2012,1820,1421,1516,2080,2212,2120,2163,2232,2265,2032,1710,1831,1928,2250,2321,2332,2466,2486,2403,2515,2098,1949,2069,2298,2380,2421,2613,2542,2398,2258,1866,2004,2671,2438,2164,2033,2248,2125,2046,2029,1656,1615,1941,1876,2010,2028,1899,2266,2130,1823,1652,1936,1715,1622,1766,2088,2398,2531,2590,2470,2659,2907,3152,3364,3384,3550,3542,3294,3209,3177,3319,3441,2999,2586,2392,2806,3074,3321,3295,2994,2692,2674,3083,3016,2569,2193,1799,1958,2176,2491,2662,2854,2442,1952,2043,2132,2389,2884,2881,2802,3404,3658,2998,2874,2167,2429,3650,4332,4039,3188,3395,2568,2165,2912,2735,2429,2623,3100,3040,1922,2426,3287,2874,2217,1518,1150,1283,1497,1501,1946,2536,2521,2389,2752,2421,1806,2040,2586,2172,1812,1922,1972,2197,3360,3726,3482,2754,2540,3527,3958,4100,4212,3754,3270,3661,4051,3950,3826,3682,3784,3857,3885,3889,3880,3985,3843,3987,3758,3218,3629,4098,4119,4124,4188,4179,4192,4057,4034,4086,4016,4072,3682,3681,3970,3961,3964,4014,4002,3625,3762,4119,3882,3941,4062,3858,3890,4227,4011,3482,2894,2103,1949,2087,2222,2220,3298,3862,3292,3218,3094,2790,3112,3550,3217,2788,3169,3394,3400,3488,3282,3457,3059,2802,2540,2233,1828,1772,1782,1477,1720,2152,2057,1959,1752,1900,2104,2236,2101,1964,2358,2586,2473,2747,2207,1807,1616,1815,2868,3316,3473,3582,3482,3052,2596,2344,2403,2372,2351,2609,3060,3580,2902,2684,2577,2495,2446,2894,3333,3262,3417,3295,3219,3237,3204,3134,3043,2766,2591,2895,3084,3275,3480,3463,3328,2827,2818,3198,3146,2900,1989,1579,1677,1901,2226,1960,1588,1630,1744,1566,1311,1293,1360,1373,1650,1798,1551,1355,1361,1593,1849,1850,1730,1647,1722,1739,1754,1583,1876,2134,2379,2381,2130,2082,2070,1936,1737,1965,2161,1938,1425,1259,1622,1956,1764,1795,1880,1750,1806,2076,2118,2156,1812,1482,1438,1407,1384,1462,2004,2348,2134,1930,1677,1357,1322,1535,1739,1642,1649,1888,1886,1974,1918,1811,1949,1820,1759,2065,2670,3168,2521,1918,1685,1930,1769,1769,1715,1699,1770,1870,2298,2658,2492,2600,3086,2791,2438,2664,2876,2554,2134,1974,1643,1611,1772,1759,1813,1666,1738,1587,1633,1578,1614,1685,1650,1542,1628,1772,1707,1698,1687,1726,1969,1641,1394,1591,2405,2044,1595,1631,1648,1569,1778,1952,1787,2161,2328,1793,1809,1564,1504,1865,2260,2766,3249,3053,2510,2054,1956,2071,2016,2303,2884,2777,2576,2744,2744,2229,2004,1691,1707,1814,1696,1933,1885,2326,1754,1840,1731,1470,1534,1670,1541,1498,1756,2272,3241,2735,2084,2163,2014,1876,2087,2552,2586,2284,2755,2842,2114,2394,2229,1988,2260,2381,2182,2237,2508,2323,1980,2107,2036,2001,2392,2324,2114,1862,2083,2284,2346,2282,2174,2277,2146,1858,1923,2007,2284,3173,2656,1967,1980,2261,2264,2202,2080,2595,3062,2788,2395,2241,1838,1505,1560,1832,1598,1541,1544,1950,2032,1738,1654,1722,2216,2675,3359,4002,3697,3088,2262,2756,2476,2193,1989,2208,2335,2322,2041,1844,1663,1415,1470,1508,1366,1356,1340,1403,1786,1762,1502,1527,1498,1411,1422,1601,1831,1790,1744,1586,1794,1683,1590,1605,2012,2647,2668,2058,2284,2307,1848,2039,2145,1604,1390,1389,1377,1426,1570,1524,1285,1440,1816,1719,1715,1703,1852,2202,2182,2003,2002,2100,2042,2407,3018,2447,2080,2329,1816,1470,1484,1454,1434,1559,1659,1981,1888,2076,2120,1823,1983,2060,1881,1650,1732,1773,1358,1310,1365,1317,1321,1294,1229,1177,1560,1589,1168,1354,1385,1643,2034,2170,2136,1923,1532,1349,1494,1559,1442,1384,1426,1473,1506,1848,1885,1996,1935,1815,1481,1270,1299,1331,1490,2093,2316,2304,1864,1581,1632,1622,1514,1562,1504,1591,1654,1427,1706,2065,1588,1533,1312,1427,1620,1950,2031,1802,1951,1866,1451,1371,1463,1444,1547,1750,1707,1476,1470,1609,1526,1423,1488,1557,1677,1804,1685,1782,1824,1653,1714,1280,1410,1492,1820,2610,3113,2566,1791,1804,2367,2483,2232,1931,1615,1556,1601,1927,2408,2258,2520,3138,3627,3754,3830,4000,4093,4284,4295,4308,4328,3991,3972,3514,3044,3352,4006,3607,2388,2398,3062,3488,3423,2783,2714,2403,1952,1784,1882,2525,2166,1435,1710,2345,2834,2842,2532,2089,1808,1868,2266,2425,2496,2652,2939,2758,2232,2172,1926,1589,1648,1913,2100,2374,2142,2001,2136,2343,2435,2544,2698,2907,3123,2941,2986,2516,2385,2257,2439,2978,3267,3065,3098,3150,3162,3188,3273,2850,2813,2570,2564,2686,2744,2890,3077,3193,3420,3814,4023,3915,3422,2930,3360,4201,5008,5024,4716,3876,2880,2481,3112,3429,2829,2579,2854,2906,2796,3295,3422,3392,3132,2631,2428,2791,2746,2531,2670,2633,2950,3039,3603,3812,3393,3310,3254,3390,3805,3968,3625,3703,4084,3952,3560,3609,3595,3454,3758,4272,4431,4587,4688,4828,4911,4818,4856,4565,4216,4279,4335,4395,3870,3723,3714,4397,5004,4659,4340,4460,4260,3793,2858,1885,1600,1923,2070,2826,3615,3244,2662,2427,2378,2317,2662,3792,4732,5170,5359,5336,4736,3745,3829,4339,4648,4864,5081,4980,4885,4356,3684,3617,4045,4086,4030,4009,3846,3897,4204,4038,4169,4495,4556,4588,4356,3969,3838,3677,3256,3178,3166,2812,3217,3580,3531,3767,3916,4187,4471,4384,4377,4376,4406,4357,4357,4391,4451,4596,4680,4555,4645,4541,4701,4932,4545,3938,3559,3636,3925,3969,3693,3834,4078,4018,4183,3492,3110,3161,3065,2978,2965,3120,3131,2758,2698,2809,3044,2917,2298,2426,2846,3116,3000,3182,2980,2857,2943,2879,2806,2916,3084,2700,2235,2137,2411,3360,3408,3299,3164,3731,3835,2967,3175,3669,3614,3520,3551,3658,3820,4015,4260,4340,4280,4170,4179,3873,3749,3749,3572,3378,3306,3274,3239,3151,3239,3244,3086,2971,2862,2796,2752,2856,3187,3670,3510,2985,2505,2691,2591,2915,3017,3050,2709,2069,2016,2171,1930,1913,2966,3704,2216,1709,1926,1986,2074,2722,2712,2126,2114,2426,2640,2584,2347,2077,1913,1986,1955,1763,1640,1736,2134,3997,4576,3140,3276,3428,3264,3240,3230,2679,2272,3256,3964,3980,3816,3682,3727,3873,4098,3580,3177,3140,3199,3904,4003,3949,3816,4040,4431,4584,4062,3816,4564,4735,4730,4639,3946,3657,3926,3791,3480,2894,2834,2854,2125,1741,2452,3166,3386,3271,2721,2432,2246,2385,2645,2814,2701,2380,1713,1901,2520,2597,2841,2631,2352,2067,1758,1825,2191,2296,2142,2064,2408,2646,2324,2084,1914,2149,2356,2818,3138,2841,2886,2984,2784,2710,2684,2457,2070,2068,1925,1851,3130,3282,3903,3537,2824,2658,2718,2864,3286,3281,3104,3190,3349,3479,3702,3894,3541,3038,3228,3642,3772,3662,3343,3320,3408,3758,3658,3746,3924,3203,3504,3809,3442,2552,2301,3078,3562,2238,1001,2010,3186,2989,3274,3437,3261,3103,3259,3452,3528,3890,3796,3462,2287,1991,2272,1795,2440,3481,3300,3371,3877,3343,2768,3200,3306,2721,1900,2332,2464,2691,2802,3207,2874,2608,2478,2564,3445,3804,3984,3603,2734,2924,2296,1996,1996,1953,1947,2028,1941,1619,1918,2186,1659,1635,1749,1885,2259,2352,2046,1964,2290,2648,2593,2097,2062,2352,2662,2655,2275,2091,1880,1348,1390,1521,1374,1482,1604,1565,1551,1514,1672,1670,1369,1306,1395,1396,1499,1358,1344,1333,1176,1425,1731,1677,1638,1509,1532,1626,1686,1631,1505,1408,1750,2332,2586,2492,2336,2574,2542,2952,3122,3265,3321,3426,2988,2717,3198,3072,2553,2583,3152],[2247,2392,2382,2458,2753,3084,3296,3208,2622,2327,3007,3061,2338,2583,3097,3271,3199,3233,3387,3129,2661,2678,2774,2881,2374,2206,2367,2264,2004,2001,1915,1736,1644,1971,2610,2451,2092,2166,2002,2158,2341,2590,3289,3409,2999,2372,1952,1862,1755,1827,2001,2573,2722,2335,2288,2241,2291,2162,1878,1826,1849,1422,1571,2184,2354,2801,2995,3407,3339,2469,1475,1714,2064,2171,2491,3148,3365,2810,3156,2646,1753,1819,2155,2258,2247,2264,2088,1939,2498,2498,2493,2385,1850,1399,1754,2421,2791,2661,2599,2978,3127,2736,1896,1983,3190,3637,3127,2717,2811,2539,2495,2939,2807,2530,2602,3001,3190,3300,3139,2267,2202,2732,2663,2543,2750,2820,2618,2171,1907,1953,2366,2374,2707,3254,3527,3432,2913,2117,1923,2139,2373,2207,2273,2290,2016,2275,2184,1640,1893,1961,2204,2388,2388,1891,2047,2328,2287,2479,2880,2854,2325,2320,2733,2591,2997,3143,2431,2432,2413,2363,2874,3253,3182,2255,1828,2688,3300,2553,2139,2330,2282,2485,2690,2009,1419,1589,1789,2073,2634,2725,2503,2216,1667,1719,2292,2170,1900,2511,2899,2482,2375,2458,2309,2877,2884,2610,2535,2876,2919,2701,2847,3686,3682,2937,2585,2670,2398,2459,2514,2477,3023,3806,3905,3671,3155,2856,2694,2475,2470,2651,3310,2717,1207,1221,1671,2197,2357,2104,2266,3042,3213,2432,1802,1616,1758,2083,2253,2267,2060,1810,2343,2227,2202,2845,2696,2511,3009,3152,2742,2359,2367,2543,2514,2912,3443,3695,3692,3618,3429,3202,3174,3428,3534,3598,3724,3747,3251,3417,3309,3383,3505,3725,3581,3593,3791,3731,3392,2087,683,501,427,586,1648,1249,655,506,633,985,2175,2322,1927,2284,2554,2612,2139,2363,2703,2603,2593,2476,2358,2522,2730,2434,2291,2366,2553,2442,2287,2008,1666,1663,2030,2350,2547,2753,2568,2047,2138,2251,2263,2131,1794,2070,2179,2205,2231,1949,1852,2132,2300,2093,2155,2131,1917,2197,2574,2645,2279,2497,3023,2966,2901,2647,2281,2131,1949,1720,1907,2346,2285,1985,2185,2247,2078,1965,2156,2858,2734,2308,2528,2357,2602,2353,2120,2153,2180,2348,2337,2051,1739,2445,3002,2599,2248,1841,1496,1714,1698,1774,2579,2995,2371,2189,1974,2212,2447,2034,1775,1905,2019,1974,2142,2178,2314,2256,2073,1896,1962,2174,2259,2399,2361,2322,2138,1419,1427,2251,2235,2031,1937,2142,2110,2205,2145,1874,2015,1859,1572,1780,1814,1788,1999,2127,1962,1806,1842,1892,1849,1724,1795,1827,1939,1987,1302,1291,1388,1827,2370,2676,2996,3317,3403,3247,3129,3448,3759,3374,2801,2333,2450,2550,2699,2800,2754,2790,3138,2935,2132,1996,2059,2485,2866,3271,3727,3714,3216,2227,1927,1831,1799,2297,2742,2770,2661,3044,3016,2644,2385,2143,2552,3008,3840,3632,3160,2841,1896,2068,2502,2745,2887,2754,2927,3184,2202,2003,2828,2977,2307,1611,1502,1704,1789,1762,2071,2311,2457,2036,2028,2098,1824,2364,3327,2957,2075,2053,1991,2257,3467,3777,3719,2643,2814,3570,3841,3914,3829,3851,3970,3903,3649,3938,3650,2922,3321,3737,3894,3947,3993,4015,3816,3892,3679,2684,3197,3804,4081,4060,4078,4176,4220,4132,4040,4016,3983,3995,4101,4086,3940,3907,3975,4050,4036,4034,4062,4048,4093,4258,4035,3638,3771,4164,3972,3246,2857,2408,2282,2408,2122,1978,2908,3609,3383,3247,3030,2801,3383,3985,3325,2850,2888,2695,2612,3124,2954,2956,2731,2091,1988,1890,1741,1957,2070,2024,2083,1783,1812,1709,1635,2339,2549,1983,1843,2304,2887,2888,2909,3320,2525,2630,2434,2615,3139,3429,3405,3072,2536,2120,2098,2052,2171,2208,2140,2084,2433,3366,3438,3309,3168,2841,2360,2161,2318,2422,2666,3063,3219,3162,3229,3228,3050,2566,2446,2745,2669,2908,3373,3309,2937,2628,2609,3241,3186,2382,1746,1548,1414,2135,3034,2280,1691,1541,1600,1556,1375,1382,1396,1400,1604,1511,1354,1424,1422,1610,1710,1566,1657,1723,1700,1646,1511,1314,1777,1799,1840,1885,1893,2060,1998,1735,1548,1760,1979,2120,1593,1334,1861,1907,1712,1937,2167,1862,1810,1759,1761,2091,1920,1571,1405,1440,1450,1870,2392,1941,1477,1457,1360,1265,1290,1484,1636,1655,1870,1717,1755,1932,2012,2036,1858,1747,1519,1822,2342,2247,2009,2113,1722,1573,1669,1686,1715,1858,1775,1931,2308,2492,2732,3507,3105,2360,2049,2258,2518,2241,1958,1739,1578,1685,1788,1880,1970,1732,1687,1485,1671,1592,1594,1648,1576,1452,1385,1504,1597,1756,1771,1825,2012,1782,1529,1519,1934,2048,1687,1732,2151,1869,1901,1962,1725,1861,1899,1705,1619,1389,1492,1983,2174,2640,3366,3020,2409,2096,2294,2180,2028,2028,2457,2832,2713,2489,2142,1924,1505,1680,1872,1739,1708,1651,1937,2037,1729,1650,1676,1671,1604,1610,1595,2076,1953,2223,3020,2293,2470,2790,2414,2346,2588,2788,2701,2477,2799,2154,2114,2285,2138,2147,2211,2192,2081,2259,2386,2316,2286,2178,1833,1901,2209,2160,2003,1879,1694,2003,2408,2268,2286,2564,2331,2036,2416,2881,3062,3665,2942,2308,2239,2352,2665,2363,2059,2376,2652,2393,1989,1790,1510,1509,1607,1616,1458,1425,1377,1719,1964,1831,1637,2105,2752,2809,3078,3501,3110,2680,2424,2282,2521,2319,2003,2181,2310,2441,2137,1741,1601,1448,1661,1562,1464,1519,1579,1642,1772,1714,1591,1601,1584,1534,1619,1771,1990,1848,1611,1495,1507,1510,1837,2076,1765,2448,3078,2102,2231,2271,2048,1691,1768,1936,1598,1345,1365,1437,1428,1290,1458,1772,1947,1938,2186,1723,1611,2046,2099,1964,1835,1759,1670,1865,2003,2130,2356,2240,1996,1756,1682,1417,1347,1350,1416,1621,1701,1748,1688,1511,1676,1599,1607,1838,1749,1605,1561,1647,1772,1777,1557,1627,1714,1745,2412,1991,1630,1600,1741,2138,2227,1926,1816,1791,1611,1411,1426,1549,1521,1310,1403,1670,1810,1971,1906,1749,1875,1856,1654,1492,1305,1282,1232,1526,1571,1850,1591,1520,1578,1499,1380,1582,2146,2261,1714,1511,1600,1810,1902,1662,1451,1526,1780,1997,1938,1733,1679,1575,1301,1318,1403,1424,1710,1930,1602,1369,1482,1662,1620,1574,1697,1818,1917,1772,1754,2130,1939,1682,2076,1605,1474,1530,1716,2357,2692,2374,1906,1844,2087,1862,1589,1562,1790,2143,2376,2675,2720,2394,2353,3052,3565,3725,3807,3897,4070,4288,4420,4536,4608,4444,4189,3598,2907,2535,3376,3921,3074,2113,2155,2702,2677,2790,2566,2047,1734,1708,2230,2744,2141,1464,1436,2165,2798,2445,2456,2753,2240,2263,2894,2869,2417,2444,2157,2262,1948,1851,2053,2063,2216,2143,1846,1920,2142,2216,2666,2962,3061,3233,3132,3130,2951,2634,2990,3002,2547,2435,2513,2621,2998,2995,3038,3041,3015,3096,3308,3127,3118,2890,2686,2701,2968,3102,3269,3514,3619,3836,3974,3627,3036,3145,3386,4084,4952,4805,4013,3164,2460,2568,3452,3545,2808,2369,2444,2447,2403,2721,3470,3582,3206,2893,2645,3048,2764,2406,2524,2811,3244,3393,3704,3964,3558,3347,3349,3177,3464,3575,3242,3451,4314,4577,4441,4339,4428,4196,4257,4273,4167,4415,4720,4741,4588,4727,4828,4408,4308,4737,4576,4336,4064,4155,4193,4175,4631,4596,4261,3536,3124,2567,1626,1078,1094,1168,1167,1473,1666,1753,1964,2033,1789,1592,1569,2413,3855,4652,5004,5265,5029,4220,3422,3195,3585,4108,4681,4785,4713,4824,4604,4169,4026,4030,4096,4121,3829,3726,3940,3977,4275,4736,4560,4231,3993,3873,3753,3839,3366,3342,3537,3341,3785,4092,3605,3397,3948,4661,4500,4182,4258,4295,4253,4176,4086,3979,3920,4116,4296,3968,3906,3548,3664,3986,3795,3607,3536,3945,4340,4071,3773,3995,3928,3602,3558,3339,3130,3122,2996,2941,2995,3275,3129,2887,2819,2828,3166,3125,2360,2163,2473,2863,3099,2941,2832,2900,2950,3062,2889,2655,2397,2178,2353,2644,2874,3709,3439,3130,3274,3671,3453,3386,3617,3651,3646,3607,3592,3675,3904,4000,4111,3904,3579,3868,4119,3994,3981,3962,3780,3575,3417,3254,3210,2985,2905,2933,3153,3110,2877,2923,2974,2963,3457,3828,3569,3458,2728,2186,2767,3107,2973,3253,3097,2448,2521,2105,1947,1974,3146,3832,2719,2157,2073,2215,2375,2557,2518,2177,1956,2388,2430,2413,2446,2542,2175,1989,1896,1910,1599,1929,2669,3094,3051,3406,3608,3525,3418,3461,3405,3407,3291,3500,3895,4053,3714,3132,3016,3166,3745,3849,3338,3121,3123,3663,3978,3857,3564,3639,3950,4049,3628,3749,4708,4841,4487,4336,3570,3431,3559,3298,3171,2906,3005,3288,2602,2134,2490,3200,3452,3332,3492,3068,2549,2399,2659,3792,3761,2756,1886,2341,2811,2542,2387,2435,2225,1750,1489,2069,2243,2021,1967,1973,2382,2740,2417,2154,2197,2420,2099,1940,2338,2242,2080,2221,2426,2302,2110,2396,2106,2321,2281,2099,2231,2717,3437,3128,2820,2942,2657,2586,2777,2724,2850,2597,2695,3591,4110,3773,3333,3391,3631,3885,3775,3713,3926,3670,3485,3616,3913,3890,3640,3639,3596,3728,4187,3684,3185,3476,3365,2129,1268,2001,2708,3174,3398,3334,3286,3145,3400,3829,3967,4032,3946,3521,1776,1040,1195,2349,3411,3653,3333,3382,3940,3552,2788,3038,2801,2484,2050,2796,3135,3168,3287,3701,3620,2954,2987,3788,4220,4231,4368,3589,2562,2313,2477,2734,2530,2337,2215,2331,2375,2042,2256,2319,1666,1879,2172,2022,2009,2172,2148,2358,2555,2709,2805,2093,2259,2435,2580,2470,2375,2161,2001,1894,1786,1727,1608,1525,1697,1884,1708,1433,1632,1578,1422,1338,1378,1365,1432,1368,1268,1252,1312,1510,1606,1602,1663,1477,1520,1677,1620,1507,1357,1319,1583,2193,2655,2581,2476,2976,2051,2668,3444,3604,3361,2978,2574,3061,3493,3517,3178,2579,2499],[3033,3293,2622,2297,2822,3032,3011,2727,2072,2172,2420,2910,2514,2173,2896,3421,3255,3258,3465,3443,2741,2192,2227,2359,2284,2007,1821,1485,1529,1761,1450,1517,1706,1522,2042,2371,2326,1815,2248,2478,2168,2628,3385,3660,3510,2517,1879,1835,1709,1842,2333,2497,2393,2314,2340,2515,2683,2689,2380,2048,1571,1334,2001,3001,2774,2730,3173,3451,3193,2750,1967,1797,2071,2007,2233,2751,3331,2604,2425,1821,995,1836,2702,2615,2392,2270,1830,1830,2797,2670,2861,2386,1781,1861,2260,2597,2696,2475,2692,3025,3084,2986,2587,3018,3653,3488,3106,2897,2791,2373,2475,2947,2735,2208,2496,3256,3333,2910,2389,2206,2378,2352,2497,2806,2747,2750,2569,2255,1996,1843,2280,2279,2515,2684,3008,3191,3087,2608,2288,2470,2621,2534,2477,2272,2092,2227,1851,1588,1913,2189,2002,2169,2352,1957,1512,1736,2433,2741,2774,2706,2579,2517,2700,2770,2763,2231,1738,2284,2477,2325,2702,3357,3062,1997,2462,3338,3344,2526,2302,2171,2244,2702,2436,1691,1693,1955,1981,1887,2618,3008,2453,2169,1647,1603,2322,2212,2401,2956,2980,2553,2377,2599,2520,3272,3060,2886,3047,3023,2834,2481,2656,3598,3795,3175,2976,2618,1793,2329,2410,2594,3131,3746,3949,3794,3104,2655,2568,2481,2686,3716,4099,2753,1794,1268,1576,2170,2230,2104,2455,2822,2716,2406,2141,1957,1987,2103,2254,2485,2451,1911,2015,2099,2301,2677,2831,2827,2961,2954,2733,2523,2163,2303,2636,2589,3152,3617,3719,3620,3371,3249,3352,3386,3412,3664,3825,3594,3386,3699,3692,3740,3581,3549,3474,3563,3616,3369,3462,2602,1047,535,494,417,1361,1575,1010,969,1460,2028,2820,2994,2691,2438,2237,2274,1946,2307,2580,2320,2214,2420,2470,2492,2483,2356,2580,2913,3050,2702,2511,2028,2065,2447,2423,2343,2456,2339,2122,2297,2682,2188,2051,1846,1827,1888,2014,2193,2266,2143,2094,2125,1925,2087,2520,2106,1913,2270,2453,2730,2196,2331,2613,2619,2741,2359,2078,1936,1935,1887,2104,2322,2286,2406,2723,2394,2224,2092,2054,2645,2799,2929,3016,2395,2864,2648,2397,2010,1974,2231,2025,1903,1922,2353,2625,2100,1809,1497,1336,1606,1743,2050,2584,2302,2100,2262,2064,2073,2387,2042,1815,1882,2013,1964,2218,1995,2183,2548,2310,1814,1921,2137,1981,2190,2264,2320,1980,1419,1513,2221,2386,2153,2248,2208,1954,1942,1897,1963,2164,1976,1528,1713,1940,2024,2151,1905,1576,1650,1737,1813,1920,1831,1567,1324,1343,1779,1308,1454,1562,1386,1559,1932,2093,2175,2315,2467,2742,3308,3675,3694,3307,2661,2513,2522,2526,2540,2602,2909,3104,2709,1851,1990,2466,2974,3331,3905,4351,4073,2910,2043,1921,1608,1494,1691,1939,2088,2130,2423,2274,2777,2242,2413,2841,2929,3096,2789,2260,1778,1386,1757,2208,2658,2852,2576,2688,3083,2499,1884,2699,3284,2590,1808,1937,1925,1696,1576,1876,1907,1984,1839,1738,1721,1737,2532,3525,3285,2740,2919,2888,2801,3308,3689,3300,2497,3052,3714,3797,3862,3884,3913,3972,3836,3664,3824,3526,3040,3378,3706,3883,4020,4062,4084,4050,4112,3916,3484,3643,3979,3964,3757,3917,4200,4211,4163,4144,4100,4105,4100,4101,3996,3861,3709,3796,3693,3154,3436,3947,3962,4034,3946,3807,3847,3876,3991,3724,3171,3248,3286,3374,3617,2940,2324,2812,3292,3358,3298,3056,2865,2998,3800,3551,3052,2635,2270,2166,2354,2117,2045,1896,1715,1808,1791,1907,2059,2165,2246,2376,1918,1654,1924,2332,2621,2533,1954,2026,2365,2742,3284,3604,3544,3043,2938,2698,2897,3274,3300,3097,2614,2255,2072,2059,1947,2063,2138,2147,2208,2913,3626,3728,3601,3431,3362,3350,2586,2093,1979,2177,2662,2966,3182,3221,3244,2931,2398,2492,2221,2055,2569,3155,2941,2911,2833,2823,2776,2292,1980,1778,1535,1330,1740,2217,1792,1621,1652,1814,1741,1394,1425,1427,1405,1520,1414,1506,1566,1491,1582,1668,1616,1533,1588,1694,1788,1594,1792,2001,1902,1935,1688,1693,1642,1665,1668,1707,1698,1834,1847,1728,1954,2092,1863,1801,2275,2370,1845,1761,1745,1842,2001,1829,1599,1428,1476,2098,2627,1925,1330,1325,1357,1335,1315,1309,1417,1655,1720,1676,1619,1675,1665,1814,1978,1776,1657,1542,1625,1879,2053,1912,1794,1781,1841,1958,1860,1715,2125,2010,2049,2308,2697,2872,2443,1972,2190,2225,2169,2268,2004,1720,1636,1561,1721,1976,1930,1948,1836,1656,1700,1850,1763,1592,1507,1394,1356,1356,1438,1524,1650,1674,1774,1687,1533,1644,1593,1685,1923,1607,1610,2021,1819,1788,1766,1801,1714,1615,1722,1760,1689,2058,2244,2090,1989,2432,1885,1883,1929,2166,2408,2129,1856,2088,2248,2496,2655,2167,1855,1641,1998,1826,1679,1713,1735,1742,1919,1967,1881,1981,1794,1552,1550,1783,1912,1598,1697,2114,2129,3018,3427,2950,3059,3305,3120,3006,3112,2810,2172,2830,2526,2071,2347,2578,2492,2326,1999,1984,2439,2405,2211,2353,1916,1668,1918,1703,1908,1732,1889,2611,2720,2829,2876,2764,3111,3646,3530,3335,3523,3082,3081,3019,2758,2589,2133,2013,1931,1953,1957,1874,1704,1566,1484,1444,1520,1489,1468,1479,1594,1767,1767,1894,2774,3509,3680,2968,2577,2158,2205,2876,3196,2742,1841,1836,1988,2239,2807,2334,1922,1538,1381,1522,1773,1950,1791,1704,1669,1482,1541,1525,1469,1448,1630,1746,1866,2016,1826,1629,1627,1726,1737,2220,2703,2536,2723,2786,2448,2372,2160,1856,1531,1708,1945,1609,1410,1556,1510,1499,1326,1539,1962,2128,2388,1848,1505,1562,1504,1430,1699,1803,1608,1506,1542,1652,1785,1937,1946,1879,2104,2063,1644,1438,1411,1403,1359,1188,1425,1721,1195,1195,1589,1745,1543,1530,1460,1523,1785,1993,1890,1655,1858,1824,1832,1858,1412,1842,1788,1706,1917,1865,1852,1832,1656,1605,1527,1488,1658,1743,1889,1802,1821,1920,1804,1481,1342,1719,2010,1966,1762,1516,1410,1428,1570,1989,2088,1710,1422,1322,1344,1252,1397,1855,2247,2014,1826,1897,1790,1758,1525,1526,1463,1552,1803,1714,1549,1487,1496,1633,1476,1485,1462,1407,1449,1526,1640,1721,1709,1654,1902,2112,2089,2199,1996,1870,1809,1705,2009,2289,1890,1620,1657,1768,1827,1647,1326,1599,1852,1976,1622,1942,2299,2438,2440,2484,2597,2698,2503,2267,2934,3482,3736,3930,3935,3994,3970,4196,4568,4808,4802,4355,3552,2212,1918,2922,3386,3635,2661,2000,2143,2591,2656,2294,1727,1339,1881,2344,2911,2894,2087,1429,1796,2519,2506,3094,3205,2258,2220,2590,2313,1998,1826,1706,2056,1939,2194,2252,2067,1836,1543,1412,1692,2027,2203,3107,3645,3691,3471,3519,3550,3085,2631,2668,2894,2499,2222,2514,2665,3053,3028,3130,3077,3038,2973,3385,3443,3422,3521,3020,2825,2953,3096,3361,3254,3167,3188,3422,2828,2761,3333,3068,3570,4416,3840,3362,2751,2426,2974,3536,3428,2589,2363,2238,2030,2106,2631,3455,3528,3266,3017,2322,2613,2773,2524,2323,2931,3475,3493,3726,4085,3710,3271,3162,3053,3081,3285,3384,3663,4401,4720,4792,4588,4542,4676,4688,4440,4164,4416,4487,4364,4307,4398,4519,4188,4357,4716,4532,4499,4263,4099,4341,4207,4355,4464,4006,1797,905,938,899,799,893,1009,1127,1246,1157,1198,1662,2065,1826,1666,1389,1572,2631,3660,4356,4808,4997,4837,4185,3353,3158,3470,3880,4341,4152,4167,4105,3678,3167,3018,3090,3476,3676,3632,3736,3961,4428,4857,4496,4095,3927,3816,3772,3901,3863,3746,3692,3425,3899,3766,3333,3325,3717,3955,3878,4006,4231,4028,3773,3779,3817,3608,3522,3484,3488,3457,3484,3283,3329,3452,3432,3570,3802,4077,4308,3933,3959,4145,3790,3422,3422,3480,3278,3209,3096,3011,3207,3309,3011,3058,2808,2827,3196,3178,2454,2088,2535,2908,2897,2984,3057,2541,2778,2952,2745,2511,2037,1864,2955,3754,3731,3695,3439,3303,3435,3203,2894,3028,3046,3432,3660,3442,3510,3486,3646,3882,4019,3503,3110,3453,3781,4140,4295,4208,3957,3705,3522,3396,3352,3221,3018,2939,2999,2939,2805,2864,2910,2986,3485,3586,3575,3658,2994,2456,2665,2719,2583,3129,3177,2981,2545,1459,1707,1729,2610,3282,2829,2343,2304,2132,2214,2231,2085,2348,2587,2931,2824,2598,2244,2266,2189,2062,2104,1746,1925,2635,2895,2775,2323,3422,3754,3740,3746,3662,3597,3641,3058,2297,2897,3398,3521,3149,3138,3225,3394,3574,3376,3265,3405,3602,3559,3506,3772,3770,3536,3475,3393,3537,3938,4220,4157,3827,3355,3333,3419,3273,3244,3209,3465,3499,2911,2564,2604,3308,3518,3464,3311,2530,2599,2653,2679,3944,3939,2489,2379,2799,2712,2469,2455,2750,2910,2455,2477,2610,1754,2033,2084,2048,2275,2679,2878,2842,2666,2958,2964,2316,1938,1759,2063,2440,2693,2345,1952,2106,2129,2298,2453,2451,2306,2610,3414,3362,2900,2762,2386,2501,3018,2740,2834,2554,2968,3566,3055,2707,3051,4056,4025,4124,3952,3825,3970,3680,3326,3402,3697,3601,3450,3519,3428,3580,4244,4176,3522,3814,2998,2088,2043,3052,3453,3476,3969,3942,3652,3280,3527,3733,3491,3661,3983,3797,3128,2315,1780,2877,3880,3658,3339,3392,3895,3671,2877,3010,2751,2199,2547,3249,3631,3770,3544,3770,3489,2187,3262,3913,3322,3846,4308,3120,2439,2834,3124,2776,2350,2565,2758,2734,2651,2610,2389,1792,1729,2141,2265,2138,2127,1975,1964,2502,2679,2988,2888,2546,2864,2508,2537,2562,1953,1596,1882,1770,1764,1858,1938,1911,1963,1774,1483,1345,1403,1516,1449,1296,1353,1448,1299,1234,1336,1484,1742,1726,1644,1864,1681,1397,1589,1700,1531,1441,1440,1512,1666,2174,2341,2297,2326,2722,2394,2985,4022,3939,3067,2344,2740,3317,3440,3695,3724,2820,2361],[3593,4048,3797,2561,2225,2840,2840,2306,2194,2293,2504,3098,2469,1814,2347,2819,2923,3332,3610,3748,2730,1918,1819,1410,1238,1468,1407,1166,1517,2106,1825,1803,1550,1387,1835,1992,2055,1713,1941,2160,1975,2572,3680,4001,3531,2553,2280,2059,1559,1499,2393,2757,2415,2129,2310,2847,3023,3052,2625,2186,1645,1956,2924,3219,2935,2539,2818,3312,3493,3519,2940,2233,1976,2203,2131,2248,2841,2287,2050,2131,1422,1280,1703,2131,2191,1876,1774,2223,3014,2791,2763,2294,2063,2330,2644,2987,2857,2454,2767,3242,3171,2754,2711,3320,3175,2795,2374,2555,2449,2432,2971,3284,2890,2400,2709,2357,2014,1655,1898,2267,2598,2422,3211,3308,2562,2360,2093,2029,2332,2098,2087,2347,2906,3002,2856,2974,2809,2350,2280,2734,2985,2767,2447,2335,1908,2101,1995,1696,1916,2148,1995,2359,2688,2237,1562,1855,2777,2434,1925,2546,2778,2821,3217,3256,2940,2282,1919,2114,2294,2147,2592,2540,2419,2236,3067,3317,3318,2963,2342,1935,2203,2417,2019,1589,1791,1975,1932,2020,2751,3054,2566,2172,1765,1958,2329,2189,2334,2682,2642,2351,2097,2149,1800,2419,2740,2740,3048,3045,3086,3182,3335,3654,3571,3517,3150,2207,2504,3122,2793,3019,3883,3966,3649,3422,2740,2448,2760,2434,2590,3775,4223,3273,2533,2379,2974,2834,2166,1969,2246,2352,2451,2691,2612,2409,2279,2343,2185,1780,1578,2014,2707,3130,3065,2614,2364,2139,2322,2599,2685,2668,2315,2588,2675,2653,2821,2755,2987,3217,3383,3418,3414,3508,3737,3963,3995,3951,4253,4401,4159,3874,3628,3617,3728,3873,3835,3654,3797,3135,1518,676,753,984,1847,2459,2366,2460,2691,2830,3104,3260,3022,2250,1942,2246,2237,2258,2285,2286,2156,2367,2592,2180,1995,2232,3142,3768,3500,2907,2168,1904,2323,2508,2250,2285,2405,2167,1980,2085,2218,1975,1975,1914,2093,2144,2114,2178,2203,2234,2294,2334,2053,2664,2906,2449,2160,2242,2384,2239,1929,2088,2235,2963,3463,2467,2041,2248,2177,2011,2021,2094,2130,2236,2222,1998,1913,1899,1883,2142,2287,2475,2440,2168,2335,2430,2199,2053,2266,2314,2269,2014,1930,2075,2257,2076,1940,2075,2619,2671,2263,2285,2188,2135,2288,2217,2193,2309,2323,2136,2056,2084,2122,2054,2083,2191,2282,2228,2090,1956,1946,1988,1890,2026,2379,2152,1815,1923,2179,2352,2493,2370,2194,2483,2413,2167,2071,2149,1991,1962,1742,1913,2098,2153,2263,1885,1893,2413,2314,2468,2558,2230,2074,1886,1834,1654,1511,1547,1521,1681,1836,2274,2259,1767,1754,1686,1766,2160,2567,2865,2952,2664,2334,2380,2781,2542,2321,2666,2784,2614,2207,2850,3156,2941,2714,2986,3750,3304,2237,1810,1716,1796,1705,1461,1446,1461,1847,2318,2189,2176,2178,2501,2603,2786,3248,2713,2735,2321,1814,2088,2230,2144,2114,2325,2687,2929,2765,1841,2667,3562,3013,2024,2177,1835,1565,1823,2084,1892,1770,1831,1816,1773,1897,2590,2990,2264,2229,2691,2980,3107,3223,3353,2823,2513,3387,3787,3859,3918,3798,3747,3848,3807,3715,3771,3754,3816,3843,3829,3963,4034,4040,4051,4073,3709,3365,4013,4268,4247,3793,3326,3337,3625,4048,4131,4207,4240,4220,4100,4027,3935,3860,3730,3477,2814,2144,2644,3151,3083,2922,2621,2521,2705,2689,2709,2444,2554,3126,3433,3640,3695,3175,2902,3090,3317,3422,3028,2754,2618,2790,3172,2897,2246,1966,1995,2048,1877,1408,1504,1614,1659,1923,1914,1556,1658,1905,2017,1964,1799,1888,2126,2446,2707,2723,3066,3470,3010,2646,3264,3028,2990,2984,2554,2806,3052,2796,3076,3067,2379,2209,2141,2035,1742,1722,1925,2229,2685,3218,3493,3702,3485,3481,3360,3443,2930,2287,2032,2185,2089,2270,2699,2976,3074,2919,2556,2474,1730,1823,2619,3296,3410,3010,2699,2542,2061,1798,1841,1722,1765,1593,1407,1609,1566,1570,1580,1529,1540,1523,1633,1606,1477,1497,1488,1601,1555,1605,1521,1510,1529,1596,1568,1613,1657,1632,1683,1765,1892,2125,1990,1619,1360,1485,1595,1776,1832,2073,2187,2036,2070,2031,1851,2018,2391,1970,1763,1687,1869,1946,1533,1437,1635,1580,1927,2492,2040,1502,1410,1385,1443,1446,1469,1554,1653,1478,1271,1372,1543,1569,1503,1445,1597,1709,1754,1633,1460,1573,2001,1960,1841,2145,2510,2558,2491,2132,2505,2506,2674,3230,3267,2362,1965,2279,2483,2598,2144,1975,1732,1629,1723,1537,1550,2045,2343,2326,2082,1771,1992,2264,1820,1648,1558,1470,1381,1451,1475,1460,1472,1406,1483,1445,1516,1702,1599,1781,2078,1853,1803,2130,1806,1655,1599,1573,1579,1704,1817,1814,1764,2307,2270,2136,1986,2032,1839,2248,1978,1603,1818,1748,1671,2258,2225,2129,2410,2309,2136,2055,2114,1757,1831,2282,2160,1702,1863,1979,2175,2103,1676,1594,1566,1571,1554,1541,1617,1751,2045,2665,2780,2633,2949,3252,3433,2953,2885,2800,3118,3161,2597,2383,2741,2720,2179,2104,2214,1883,1969,1951,1962,1761,1505,1481,1547,1702,2135,2021,2123,2723,2853,3059,3046,2849,3132,3610,3178,2687,2712,2506,2371,2342,2371,2501,2111,1951,1814,1625,1842,1934,1839,1783,1835,1760,1696,1605,1494,1520,1748,1786,1597,1791,2729,3851,3768,2540,2238,1964,1997,3104,3750,3076,2196,1812,1904,1942,1921,1798,1865,1515,1606,1906,2034,2221,2060,2048,1748,1704,1622,1470,1447,1722,1904,1532,1500,1741,1730,1787,1897,1853,2029,2580,2360,2159,2146,2305,2523,2370,1998,1772,1604,1758,1897,1619,1503,1655,1500,1430,1484,1505,1842,2327,2164,1693,1674,1722,1605,1762,1924,1598,1421,1398,1504,1634,1525,2037,2191,1898,1948,1880,1782,1569,1583,1528,1416,1509,1809,1799,1273,1256,1666,1802,1576,1476,1417,1375,1489,1767,1811,1643,1888,1908,1756,1566,1286,1281,1561,1745,1743,1686,1688,1462,1609,1799,1827,1790,1788,1715,1621,1428,1488,1472,1331,1345,1404,1654,1852,1910,1890,1825,1709,1769,1677,1717,1782,1681,1518,1305,1225,1245,1455,1675,2216,2128,1687,1653,1432,1477,1509,1478,1504,1596,1587,1391,1414,1419,1497,1738,1591,1502,1707,1635,1584,1926,2061,2108,2257,2274,1996,1919,2043,2665,2615,2273,2018,1967,1947,2093,2164,1947,1628,1417,1165,1169,1320,1598,1793,1946,1825,2247,2632,2524,2478,2425,2309,2354,2633,2271,2805,3369,3624,3899,3964,3805,3703,4034,4428,4672,4639,3868,2431,1898,2938,3464,3482,3341,2715,2171,2388,2679,2486,2474,1668,1925,2162,2106,2584,3100,2971,2142,2123,2664,2783,3207,3244,2573,2041,1813,1582,1981,2177,2492,2495,2564,2709,2384,2038,1879,1911,1954,2520,2821,2266,2519,3646,4003,3593,3580,3485,3135,2888,2968,2778,2392,2569,2954,3063,3094,3067,3118,3243,3094,2895,2798,2612,2894,3226,3078,3229,2983,2914,3216,3118,2931,2826,2810,2609,2872,3115,2865,3000,3388,2975,3050,2799,2836,3055,3285,3127,2538,2275,2070,1866,2035,2427,3086,3228,3276,2711,2285,2531,2885,2678,1991,2498,3263,3383,3816,3905,3484,3181,3100,2940,3060,3405,3748,4028,4442,4764,4825,4687,4628,4584,4441,4131,4072,4247,4207,4045,3648,3457,3881,4039,4115,4188,4243,4419,4336,3892,3968,4271,4151,4203,3889,1862,773,734,697,662,751,894,1018,1182,1133,1063,1396,1879,1954,1959,1581,1353,1826,2662,3484,4091,4441,4769,4785,4001,3189,3048,3436,3897,3929,3552,3414,3386,2844,2409,2230,2617,2851,3183,3728,4073,4396,4607,4588,4269,3908,3907,3941,3981,3846,3813,3808,3364,3675,3577,3515,3513,3681,4059,4196,4247,4276,3986,3639,3574,3758,3480,3408,3442,3394,3384,3334,3319,3377,3407,3388,3462,3724,3898,3995,3668,3747,3569,3473,3378,3432,3492,3445,3318,3229,3195,3282,3298,3150,3330,3116,3060,3496,3285,2651,2475,2774,2963,3023,2911,2481,2279,2818,2669,2683,2924,3140,3486,4085,4337,4104,3796,3793,3813,3523,3087,3174,3084,3161,3624,4013,3984,3697,3435,3382,3264,3168,3101,3092,3254,3576,3884,4196,4433,4242,3915,3662,3667,3660,3451,3311,3127,3076,3041,3027,2905,2918,3032,3227,3372,3543,3603,3443,2710,1883,2035,1896,2027,2591,3089,2157,1334,1545,1496,1990,2940,2857,2403,2634,1780,2271,2134,2245,2724,2832,2773,2583,2128,1665,1816,1936,2050,2653,2507,2318,2733,3184,3520,3322,3560,3716,3672,3518,3481,3577,3501,2182,764,898,1623,2675,3086,3144,3190,3262,3294,3318,3370,3428,3476,3356,3435,4129,4112,3591,3430,3439,3399,3317,3427,3646,3662,3322,3337,3294,3303,3242,3341,3528,3410,3095,2654,3010,3689,3638,3453,3091,2198,2100,2000,2461,3400,3626,2924,2755,2868,2679,2655,2653,2648,2809,2805,3286,2530,1863,2468,2066,1816,1892,2202,2639,2789,2868,3401,3139,2225,2095,2101,2583,2389,2535,2541,2071,1933,2233,2796,3133,2878,3441,3145,3427,3585,2781,2398,2987,2814,2981,3192,3135,2785,2833,3050,2724,2357,3112,4139,4138,4077,3985,3959,3929,3413,3173,3427,3453,3398,3747,3526,3525,3457,3428,3471,3399,3540,2050,1245,2031,3465,4429,4531,4544,4320,3582,3260,3308,3372,3121,3543,4112,4028,3852,3665,3503,3820,3969,3774,3784,4037,3927,3594,3432,3352,2471,2156,2767,3308,3781,3969,3693,3775,2857,2343,3554,3611,3014,3769,4255,3486,3318,3516,3213,2522,2148,2133,2464,2692,2756,3006,2311,1525,1730,1702,1627,2196,2294,2001,2167,2376,1847,2203,2405,2535,2603,2364,2398,2575,2070,1966,2195,1492,1579,1781,1873,1997,1952,1657,1638,1532,1479,1466,1396,1343,1401,1449,1299,1289,1605,1799,1656,1694,1838,2074,1973,1815,1798,1803,1703,1744,1929,2061,2120,2421,2318,2276,2570,2882,2903,2857,3182,3160,2411,1992,2776,2810,3241,3638,3253,2454,2526],[2886,3519,3696,3426,2357,2358,2460,1794,1708,1985,2614,2758,1897,1955,2280,2133,2432,2829,3082,3049,2643,2231,2231,1780,996,984,1109,1419,2040,2593,2899,2270,1994,1807,1690,2074,2599,2474,2203,2120,2238,3063,3641,3686,3482,2920,2526,2315,1828,1354,1554,1977,2020,1880,2362,2732,2999,2708,2162,1928,2209,2851,3416,3204,2734,2153,2054,2464,2874,3162,2989,2462,2019,2046,2324,2707,3072,2695,2444,2447,2041,1559,1416,2096,1981,2329,2144,2110,2260,2181,2118,2444,2500,2491,2971,2779,2666,2512,2932,3230,3090,2444,2917,3134,2746,2707,2743,2617,2601,2898,3176,3209,2890,2546,2588,1852,1443,1845,2144,2301,2392,2764,3474,2956,2203,2256,2068,2509,2952,2864,2522,2275,2700,2764,2871,3110,3094,3039,2680,2056,2342,2522,2139,2149,2055,2360,2247,1909,1882,2047,2360,2542,2354,2060,1726,1796,2243,1998,1624,2122,2709,3154,3233,3052,2710,2477,2240,2046,2198,1860,2312,2566,2436,2342,2896,3411,3328,3376,3474,2695,2253,2122,1900,1674,2149,2110,1955,2475,3109,3118,2466,2058,1947,2012,2301,2257,2649,2794,2335,2331,2125,2149,2288,2586,2668,2695,2834,2852,3099,3580,3683,3570,3168,2975,2046,1974,2809,3007,3038,3867,4284,3709,3283,3205,2663,2674,2626,2220,2367,2978,3297,2595,1966,2492,3225,2980,2556,2622,2625,2392,2271,2543,2313,2035,2429,2742,2535,1761,1250,1859,2791,3572,3330,2413,1710,1749,2010,2464,2579,2664,2597,2585,2539,2723,2423,1525,1638,2097,3326,3235,3066,3465,3918,3884,3942,3936,3923,4243,4331,3957,3687,3665,3784,4079,3956,3581,3871,3666,2634,2013,2187,2486,2744,2976,2941,2911,3201,3182,3338,3293,3215,2755,2568,2742,2602,2369,2414,2333,2118,2507,2477,2217,2252,2733,3260,3407,3141,2770,2563,2479,2339,2070,2066,2113,2181,2030,2042,1989,2216,2140,2275,2261,2111,2105,2250,2353,2501,2458,2514,2522,2177,2426,2220,2120,2107,2057,2240,2401,2590,2631,2688,3134,3276,2477,2176,2163,1969,1725,1725,1771,2006,2253,2186,2099,2023,2281,2028,1856,2026,2527,2396,2297,2770,2774,2150,2155,2281,2487,2509,1946,1803,1957,2570,2636,2383,2287,2204,2288,2351,2231,2170,1992,2079,2125,2170,2237,2296,2229,2212,2218,1968,1938,2160,2097,2105,2160,2272,2160,2075,2199,2363,2536,2570,2249,2051,2115,2186,2308,2464,2548,2304,2512,2376,2305,2099,2076,2338,2120,1596,1885,2108,2164,2314,2290,2390,2646,2148,2020,2465,2118,2110,2191,2351,1991,2304,3141,3022,2331,2013,2183,2052,1945,1925,1523,1482,1996,2307,2382,2439,2378,2276,2381,2715,2553,2543,2789,2928,2675,2999,3562,2957,2785,2424,1974,2070,2079,1815,1842,2066,2233,1846,1386,1374,1571,2116,2416,2432,2390,1898,2210,2330,2685,2643,2554,3916,3850,2526,2502,2273,2092,2115,2332,2864,2868,2924,1905,2449,3344,3001,2080,1665,1644,1653,1843,1949,1841,2093,2645,2052,1849,1871,2020,2194,1897,2032,2077,2556,2787,2140,2135,2126,2592,3526,3657,3757,3860,3646,3493,3418,3501,3576,3609,3596,3658,3722,3847,3847,3793,3676,3698,4014,3465,3161,3937,4227,3981,3757,3682,3423,3237,3898,4023,4219,4220,4132,3968,3870,3641,3261,2815,2367,2071,2360,2758,2488,2544,2576,2344,2112,1950,1965,2088,2031,2149,2363,2319,2485,2646,2658,2893,3021,3052,2967,2565,2332,2353,2382,2177,2039,1929,1672,1767,2198,2304,1749,1596,1706,1874,1985,1794,1504,1703,2104,2098,2002,2291,2666,2902,3150,3328,3260,2975,2626,2067,2360,3088,3028,3049,3018,2798,2898,2586,2241,2729,2791,2282,2177,2128,2085,2041,2110,2536,3066,3441,3535,3479,3385,3198,2987,2497,2202,2042,1954,1956,1953,1808,1824,1950,2040,2136,2336,2300,2130,1837,1706,2192,2619,2674,2384,2119,1937,1725,1718,1855,1578,1681,1759,1700,1804,1557,1513,1601,1512,1431,1380,1478,1500,1437,1523,1568,1759,1752,1587,1671,1699,1483,1488,1648,1800,1597,1459,1431,1527,1559,1690,1700,1621,1534,1503,1735,2035,2128,2193,2046,1965,1856,1780,1815,2148,2148,1865,1986,2001,1946,1546,1211,1685,2239,2406,2620,2060,1528,1722,1505,1440,1390,1383,1511,1689,1626,1439,1427,1514,1389,1287,1359,1390,1580,1602,1576,1715,1677,1580,1947,2132,2002,2344,2612,2464,2562,2295,2609,2822,2564,2667,2673,1923,1790,2081,2241,2248,2052,1943,1841,1776,1907,2116,1931,2416,2886,2573,2391,1877,1784,2540,2125,1930,1614,1576,1504,1366,1365,1513,1509,1425,1499,1567,1754,2010,2236,2048,2128,2076,1769,1669,1537,1620,1673,1592,1910,2323,1800,1748,1599,1929,2312,2173,1948,1674,1605,1674,1593,1710,2099,1679,2071,2718,2457,2325,2070,1995,2105,1926,1862,1887,1846,2226,2205,1760,1633,1776,1973,2047,1622,1534,1673,1858,1750,1685,1787,1805,2084,2326,2285,2295,2357,2630,3704,3904,3120,3002,3588,3229,2206,2046,2634,2756,2351,2101,1893,1954,1746,1556,1520,1274,1536,1793,1560,1882,2205,2110,2167,2696,2917,3090,2944,2678,2282,2239,2177,2210,2604,2612,2402,1866,1924,2144,2025,2276,2071,1630,1612,1744,2144,2588,2258,1482,1471,1546,1491,1433,1411,1650,1551,1630,2187,2534,2230,1808,1669,1555,1787,2634,2399,2127,2530,2536,2536,2157,1669,1744,1989,1972,1975,1901,1731,1751,1693,1615,1704,1732,1641,1577,1656,1971,1852,1440,1452,1614,1805,2225,2279,2458,2428,2454,2221,1702,1701,2077,2120,1970,1972,1866,1752,1847,1780,1647,1554,1490,1513,1472,1384,1487,1955,2179,1881,1753,1846,1700,1682,1928,1926,1598,1437,1287,1669,1710,1494,2430,2623,1823,1834,1752,1788,1775,1758,1708,1719,1989,2162,1908,1594,1532,1604,1547,1411,1422,1490,1518,1650,2094,2193,1900,1908,1810,1714,1575,1319,1658,1897,1937,1288,1274,1627,1750,1918,1986,1905,1770,1391,1133,1248,1274,1251,1200,1283,1318,1266,1570,1702,1732,1825,1808,1728,1735,1659,1757,1924,1649,1859,1650,1472,1413,1440,1603,1801,1545,1423,1516,1460,1416,1412,1448,1458,1420,1554,1543,1433,1388,1361,1310,1510,1646,1709,1860,2274,2715,2581,2533,2989,3021,2169,1854,1948,2311,2386,2259,2150,1976,1863,2180,2433,1912,1275,1104,1252,1402,1490,1520,1712,1976,1865,2015,2540,2585,2356,2352,2909,3186,3239,2492,2673,3365,3735,3794,3685,3860,4112,4244,4464,4496,4395,3065,1919,2690,3333,3647,3727,3052,2221,2231,2702,2419,2722,2808,2198,2329,2319,2363,2379,2698,3232,2916,2430,2727,2946,2802,2602,2502,2112,1799,1810,2161,2200,2490,2379,2143,2489,2778,2656,2300,1824,2075,3265,3200,2127,1963,2509,3316,3561,3295,3053,2901,2984,3305,2758,2262,2902,3354,3421,3429,3306,3297,3199,3038,2923,2339,2288,2697,2910,3085,3608,3440,3074,2968,2941,2990,2991,2399,1993,2288,2706,2730,2745,2957,3002,2888,3021,2791,2896,2876,2731,2714,2259,1944,1770,1940,2225,2554,2591,2725,2652,2937,3045,2831,2258,1850,2092,2670,2931,3495,3523,3483,3221,3205,3165,3263,3405,3693,4111,4400,4351,4669,4644,4420,4517,4468,4255,4484,4532,4516,4096,3348,3381,3894,3991,3893,4046,4128,4155,4287,3937,3855,3818,3799,3763,3926,2636,935,587,543,594,680,812,939,1072,1198,1067,1218,1585,1830,1952,1740,1512,1620,2045,2619,3427,3803,4115,4449,4293,3586,2974,3132,3581,3819,3461,3110,3040,2820,2442,1990,1881,2135,2397,2819,3357,3772,4155,4295,4046,3934,3822,3803,3808,3776,4031,3940,3513,3514,3579,3725,3919,4144,4304,4244,4259,4280,4046,3873,3996,4225,3731,3476,3477,3442,3354,3316,3297,3226,3238,3331,3557,3588,3720,3840,3706,3571,3463,3407,3488,3517,3455,3361,3343,3376,3432,3388,3447,3383,3384,3217,3239,3692,3872,3264,2770,2808,2670,3002,2855,2536,2946,3033,2954,3242,3321,3632,4155,4432,4476,4239,3895,4094,4003,3274,3571,3330,3111,3086,3334,3674,3720,3552,3494,3447,3358,3375,3182,3043,3019,3072,3409,3795,4152,4196,3679,3343,3415,3497,3574,3610,3630,3543,3451,3448,3173,3011,3027,3140,3395,3486,3527,3452,2972,2094,1954,1811,1852,2286,2590,2699,2669,2182,1710,1758,2722,3137,2808,2545,1614,2004,2185,2395,2453,2230,2354,2514,2236,1886,2056,2014,2003,3063,3218,2371,1865,2434,3320,3397,3145,3295,3388,3217,3287,3514,3342,1383,538,515,862,2280,3023,3041,3110,3138,3081,3184,3316,3298,3338,3305,3277,3960,4419,4237,3722,3570,3604,3481,3544,3263,2701,2200,2776,3199,3651,3454,3334,3396,3631,3682,3164,2995,3510,4090,4042,3761,3293,2962,2542,3085,3560,3806,3239,2834,2822,2768,2922,2578,2575,3065,2875,2690,1870,1968,2663,2377,1875,2204,2646,2563,2611,2743,2941,2592,2108,2850,3121,3376,3239,3348,2974,2322,2647,3160,3174,3602,3283,3338,2644,2786,2885,2442,3039,3637,3197,3286,3591,3441,2666,2302,2579,2752,2513,3574,4152,3857,3767,4016,4164,3763,3220,3241,3331,3205,3238,3339,3205,3091,1962,1312,2068,3134,3180,2090,1562,2130,3603,4532,4390,4648,4400,3241,2809,2896,3319,3522,3546,3849,3816,3487,3761,4119,3971,3928,3604,3430,3508,3429,3451,3596,2849,2366,2600,2862,3291,4259,4103,3966,3675,2343,2851,3714,3453,3090,3241,3437,3811,4132,3884,3164,2918,3090,2987,3083,2814,2658,2821,1963,1459,1867,1484,1841,2832,2365,2133,2567,2038,2231,2490,2429,2405,2346,2297,2277,2564,2254,2524,2490,1606,1694,1776,1665,1758,1836,1563,1484,1505,1423,1261,1223,1189,1295,1515,1418,1344,1806,1860,1508,1571,1913,1951,1866,1935,1714,1843,2040,2038,2032,1913,1958,2429,2380,2287,2413,2702,2911,2742,3000,2653,1954,2000,2319,2255,2962,3216,2374,1889,1961],[2100,2292,2801,3123,2666,2385,2018,1758,1663,1944,2757,2662,2150,2495,2372,2285,2305,2586,3063,2610,2218,2130,2365,2558,1872,1480,1334,1599,2060,2662,3073,2069,1737,1586,1418,1938,2481,2653,2428,2613,2774,3153,3431,3527,3475,3418,3348,2901,2193,1519,1428,1743,1730,1634,2352,2909,3118,2785,2542,2146,2258,2577,2626,2698,2497,1792,1751,2068,2208,2639,2313,2251,2422,2585,2518,2761,2966,2654,2439,2529,2307,2225,2139,2130,1953,2567,2458,1862,1433,1548,2147,3146,3234,3296,3442,3041,3030,3002,3234,3430,3155,2749,3095,3012,2409,2113,1953,2028,2503,2871,2697,2554,2573,2880,2832,2172,2195,2733,2588,2610,2662,2696,2791,2437,2301,2198,1986,2228,2796,2934,2739,2441,2450,2523,2721,2905,3099,2946,3154,2054,2060,2125,1887,1989,2304,2525,2019,1391,1698,2140,2362,1872,1619,1728,1845,1890,1784,1880,1879,2292,3003,3061,2656,2720,3046,2774,2354,2121,2143,1786,2099,2291,2132,2092,2048,2355,2700,3222,3705,2907,2373,2389,2077,2249,2560,2123,1710,2428,3231,3022,2403,2358,2535,2509,2109,2135,2720,2596,2542,2523,2447,2374,2182,2238,2410,2542,2725,2881,2893,3076,3531,3271,3139,2503,2187,2695,2828,2687,3176,3831,4062,3739,3594,3220,2664,2630,2427,2471,2382,2413,2281,1860,1621,2149,3015,2898,2651,3069,3152,2813,2484,1888,1567,1894,2654,2886,2684,2008,1411,1832,2369,2766,2647,2261,1756,1704,1852,2289,2591,2755,2702,2491,2739,3104,2624,1672,1664,1815,2338,2279,2336,3066,3376,3506,4026,4035,3974,4155,4295,4007,3716,3687,3666,3966,3914,3506,3908,3965,3153,2750,2709,2762,2667,2587,2862,2908,3307,3211,3149,2937,3161,3111,2659,2787,2461,2461,2602,2280,1970,2518,2510,2562,2742,2904,2879,3028,3369,3483,2962,2273,2176,1936,1850,2031,2236,2090,2244,2286,2388,2292,2217,2260,2072,2105,2332,2462,2729,2353,2269,2166,2009,2100,1939,1950,2145,2241,2344,2496,3077,2882,2481,2495,2456,2288,2215,2278,2064,1785,1903,1897,2322,2711,2559,2429,2720,3065,2424,1975,1975,2181,2344,2402,2421,2263,2208,2210,2129,2316,2369,2049,1843,2395,2665,2247,2271,2310,2042,2256,2260,2148,2239,2193,2135,2060,2077,1900,1993,2053,2143,2089,1684,1710,1987,1827,1932,2065,2090,2216,2156,2453,2371,2226,2292,2148,2032,2204,2070,2379,2300,2235,2270,2048,1854,1917,1909,2067,2222,1952,1942,2203,2168,2164,2253,2336,2062,2167,2231,2367,2399,1947,1852,2035,2069,2163,2542,2755,2598,2265,2081,2106,1861,1874,1905,1949,2112,2099,2134,2104,2009,1840,2062,2411,2380,2337,2387,2442,2513,2393,2962,3596,3294,2806,2070,1816,1636,1630,1755,1930,2133,2285,1701,1575,2122,2145,2327,2345,2036,1664,1831,2404,2346,2318,2281,2925,4277,3625,2707,2610,2071,2108,2017,2304,3001,3008,2829,1997,2267,2978,2766,2100,1737,1555,1459,1699,1996,2227,2526,2493,2026,1965,1908,1919,1888,1802,1953,1884,2148,2355,1914,1743,1716,2141,2705,2866,2799,2661,2472,2397,2390,2425,2451,2495,2646,2730,2620,2698,2577,2729,2492,2473,2705,2841,3046,3127,2963,2779,3153,3384,3416,3357,3204,3404,3677,3665,3483,3301,3024,2561,2052,1908,1811,2188,3128,3050,2819,2930,2710,2636,2423,2223,2564,3014,2700,1837,1547,1553,1494,1548,1782,1936,1957,1919,1930,1792,1537,1487,1510,1544,1690,1622,1808,2316,2708,2841,2040,1530,1891,2014,1650,1511,1513,1788,2706,2706,2269,2630,3361,3533,3301,2909,2559,2276,2069,2034,2388,2721,2809,2531,2855,2831,2461,2470,2549,2845,2827,2810,2695,2601,2810,2980,3016,3035,3103,3186,2987,2796,2336,2149,2140,2044,1878,1886,1846,1939,2189,1810,1786,1730,1664,1799,1671,1610,1868,2032,1929,1813,1836,1780,1724,1545,1659,1769,1552,1445,1371,1367,1637,1781,1719,1546,1461,1527,1558,1501,1339,1337,1483,1530,1555,1591,1776,1766,1492,1801,2075,1588,1497,1466,1559,1509,1439,1479,1356,1365,1486,1585,1667,1647,1614,1619,1744,1771,1729,1548,1497,1560,1626,1800,2133,1956,2014,2365,2165,1518,1281,1802,2680,2798,2872,2308,1565,1243,1407,1471,1408,1404,1575,1699,1585,1393,1424,1420,1479,1388,1358,1515,1543,1574,1503,1428,1804,2008,1663,1707,1964,2387,2851,2653,2545,2663,2876,3039,2713,2219,1974,1887,1883,1800,1803,1825,1960,2104,2008,2013,1911,2155,2969,2777,2129,2312,2204,2376,1835,1653,2336,2531,1972,1635,1582,1505,1491,1548,1561,1509,1434,1477,1490,1665,1862,2184,1766,1685,1858,1609,1486,1498,1609,1698,1582,2062,2809,2031,1663,1548,1929,2198,2120,1857,1521,1408,1398,1495,1584,2075,1988,2795,2938,2716,2625,2359,2036,1971,1944,1868,1838,1597,1650,1575,1726,1607,1587,1505,1621,1571,1484,1803,2059,1771,1754,1791,1832,2365,2337,2061,1876,2204,2880,3858,4197,3120,2678,3166,3287,2042,1819,2791,2788,2813,2456,2137,2232,1926,1469,1290,1545,2035,2049,1547,1644,2443,2384,2001,2287,2385,2285,2038,1878,1693,1504,1705,2189,2520,2610,2386,1791,2124,2146,2216,2641,2309,1775,1642,1903,2111,2133,1888,1341,1264,1422,1502,1452,1416,1565,1730,1667,1549,1681,1628,1655,1757,1638,1575,1901,1733,1627,2524,2644,2293,1877,1465,1438,1570,2108,1959,1695,1598,1377,1397,1444,1591,1601,1725,2058,2214,1852,1516,1448,1322,1682,1967,2414,2644,3069,2293,2046,2134,1914,1659,1735,1867,1693,1857,2480,2300,2173,2088,1942,1780,1635,1524,1350,1256,1451,1803,1886,1788,1919,2068,1538,1763,2035,1731,1733,1713,1573,1712,1562,1397,1765,1952,1752,1786,1712,1512,1400,1526,1582,1725,1807,1809,1904,1942,1990,1833,1686,1500,1304,1476,1499,1918,2460,2281,1860,1832,1714,1713,1661,1557,2130,1771,1993,1565,1756,1810,1777,1614,1439,1331,1387,1265,1086,1348,1348,1342,1406,1416,1311,1200,1361,1555,1780,1792,1746,1832,1910,1864,2009,2301,2060,2072,2031,2214,1701,1351,1533,1562,1435,1464,1514,1415,1366,1655,1510,1448,1574,1549,1586,1412,1399,1448,1400,1526,1893,1908,1998,2608,3088,2584,2434,2895,3045,2663,2114,2145,2370,2156,2149,2276,2114,1876,2047,2312,2047,1497,1431,1516,1478,1525,1525,1664,1939,1941,2347,2438,2622,3050,3848,4421,4351,3749,2756,2584,3320,3837,4082,3792,3842,4288,4414,4664,4484,3832,2307,2508,3272,3559,3729,3266,2472,2141,2690,2507,2593,2832,2553,2341,2185,2577,2898,2492,2362,2899,2713,2438,3078,2696,2238,1837,2066,2226,2238,1936,1713,2047,2472,2178,2142,2754,2909,2987,3008,2297,2179,3086,3142,2884,2930,3142,3593,3505,3234,3001,3025,3226,3033,2584,2274,2761,3315,3553,3748,3841,3737,3419,3001,3127,2752,2832,2990,3153,3230,3640,3588,3154,2773,2588,2922,2670,2275,2126,1921,2142,2347,2617,2762,2953,3068,2915,2728,2946,2954,3105,2973,1989,1956,1844,1932,2209,2185,2244,2520,3276,3727,3630,3254,2435,1969,2026,2409,2632,3160,3473,3421,3282,3215,3118,3082,3128,3295,3821,4117,3513,3961,4124,3924,4029,4256,4512,4576,4400,4489,4127,3610,3846,4232,4111,4057,4176,4148,4155,4308,4164,3781,3726,3746,3740,4031,2955,954,582,555,577,635,744,875,976,1085,1074,1115,1317,1594,1678,1682,1736,1715,1825,2111,2728,3190,3376,3694,4009,3838,3382,3045,3226,3826,3549,3206,2856,2808,2496,2124,1665,1636,1872,2048,2308,2721,3292,3698,4047,3916,3833,3758,3592,3648,3763,3815,3804,3766,3630,3688,4080,4277,4288,4052,3874,4033,3964,4113,4384,4398,3983,3694,3518,3483,3363,3363,3272,3294,3319,3588,3496,3495,3639,3782,3648,3548,3609,3652,3473,3399,3353,3413,3453,3536,3728,3511,3431,3406,3363,3439,3448,3483,3663,3552,3149,3145,3250,3355,3189,3149,3450,3503,3155,3308,3513,3232,3529,4477,4400,4240,3896,3973,3632,2930,3208,3065,3100,3064,2979,3165,3196,3099,3277,3307,3435,3826,3481,3092,2999,3076,3244,3304,3497,3541,3142,3022,3023,3117,3203,3252,3580,3759,3740,3757,3647,3410,3294,3378,3450,3464,3498,3387,3127,2700,2459,2279,2355,2552,2520,2836,3082,2825,2024,1113,1651,2529,2432,1774,1749,2285,2806,2828,2363,2293,2561,2944,3253,3072,2585,1988,2020,2837,2791,1887,1426,1990,3133,3508,3275,3081,3088,3205,3351,3621,2766,1020,532,459,1353,2656,3055,3119,3089,3039,3072,3172,3223,3275,3350,3353,3317,3642,4245,4520,4243,4243,4271,4212,3615,1895,1022,929,1499,2774,3827,3889,3688,3505,3812,4201,3653,3596,3991,4093,4209,4175,4049,4046,3732,3592,3689,3816,3670,3616,3372,3094,3083,3082,3623,3571,3305,3283,2599,2342,2840,2543,1683,2222,2763,2457,2480,2388,2629,2520,2263,2910,3329,3301,3431,3599,3054,2424,3160,3621,2978,2984,2910,2996,2961,2819,2517,2597,3270,3226,2738,2929,3505,2972,2271,2211,2487,2843,3226,4129,4276,3984,4045,4237,4264,3863,3352,3116,3126,3145,3187,3184,3106,3067,2865,2818,3001,3203,2789,2324,2711,3239,3830,3960,4115,4433,4356,3414,2790,2972,3244,3417,3374,3540,3584,3262,3446,4021,3782,3679,3239,2832,3371,3429,3269,3519,2594,2152,2460,2547,2498,3020,3235,3362,3033,2523,3410,3968,3373,2889,2927,3277,3912,4132,4132,3382,3058,3449,3629,3476,2695,2287,2353,1879,1719,2021,1735,2216,3010,2487,2271,2401,2249,2732,2554,2358,2653,2622,2706,2391,2621,2260,2635,2232,1589,1592,1562,1555,1867,1918,1591,1494,1388,1277,1289,1273,1362,1585,2001,1695,1293,1554,1709,1619,1729,2155,1863,1598,1708,1318,1583,2089,2153,1824,1455,2154,2835,2406,2293,2165,2410,2958,2978,2770,2319,1941,2499,2464,2024,2576,2555,2217,2027,1787],[2041,2385,2975,3082,3265,2819,2066,1959,1900,2245,2624,2768,3006,2931,2240,1902,2365,3029,2921,2540,2634,2230,2365,2094,2071,1958,1755,2236,2619,3137,2740,1907,1780,1605,1793,2024,2274,2281,1912,2232,2834,2994,3417,3500,3076,3005,2933,2467,2230,1841,1602,2156,2092,1819,1690,2023,1959,2482,2798,2305,2215,2146,1771,2293,3106,2334,1955,2119,2394,2493,2532,2496,2589,2927,3270,3050,2497,2341,2614,2801,2427,2207,2365,2812,2420,2138,2275,2213,2032,2249,2876,3304,3276,3518,3122,2489,2539,2710,2989,3129,3087,3073,3120,2978,2349,2174,2025,1945,2398,2448,2476,2298,2425,2599,2646,2334,2055,2272,2446,2526,2526,2403,2266,2480,2328,1998,1727,1605,1911,2309,2455,2481,2504,2763,2994,3021,3250,3535,3442,2699,2387,2206,2101,2004,1899,2048,2061,1362,1523,2081,2410,1914,1836,2046,2192,1967,1933,1862,1830,2507,3059,2755,1945,2241,2784,2094,2062,2230,2438,2076,1870,1748,1842,2164,2110,1990,2167,2391,2686,2780,2864,2558,2126,2375,2478,1849,1616,2520,3181,2872,2269,2179,2259,2054,1670,2025,2298,2393,2614,2686,2677,2301,1916,1791,2072,2284,1930,2425,2701,2974,3232,3032,3001,2570,2548,2631,2263,2487,3426,3761,3890,3740,3436,3081,2675,2680,2394,2336,2297,2188,2162,2138,1965,2753,2898,2809,2984,3175,3215,3002,2545,1745,1490,2058,2536,2514,2487,2136,1925,1784,2218,2299,2156,1883,1532,1583,1915,2402,2629,2630,2686,2568,2452,2525,2482,2455,2094,1973,2060,1999,2077,2668,3215,3728,4069,3996,3898,3936,4196,4002,3572,3380,3476,3696,3651,3237,3406,3887,3852,3236,2834,2736,2563,2263,2398,2809,3319,3433,2958,2365,2971,3088,2068,2329,2623,2706,2473,2136,2249,2307,2318,2567,2830,2995,3005,3337,3598,3907,3271,2144,2172,1912,1948,2443,2514,2432,2408,2330,2406,2083,2115,2320,1994,2036,2192,2162,2229,2282,2215,2026,2022,2023,1844,2219,2585,2082,2097,1873,2178,2267,2205,2027,2144,2343,2252,2448,2387,1792,1925,2035,2109,2108,2046,2134,2862,2759,2072,1755,1892,2263,2292,2183,2056,2041,2334,2464,2462,2579,2613,2275,2046,2410,2539,2367,2467,2618,2290,2222,2209,1974,1840,1967,2267,2395,2136,1866,2143,2232,2150,1857,1664,1720,1867,2197,2045,2029,2002,2271,2203,2167,2133,1957,2095,2231,1967,2286,2254,2345,2198,2276,2212,2064,1904,1799,1848,1956,1976,2061,1967,2208,2223,2076,1982,1965,2008,1985,2058,2087,2115,2145,2240,2230,2310,2403,2259,2150,1764,1819,2067,2198,2072,1871,1942,2230,2316,2003,2008,1910,1982,1832,2122,2362,2498,2692,2576,2181,2088,2060,2252,2582,3178,3200,2719,2126,1691,1590,1580,1876,1829,1600,1480,1917,2420,2201,2466,2457,2289,1985,2121,3023,2807,2687,2220,2396,3278,2717,2254,2186,2346,2276,2142,2397,2946,3094,2876,2053,2050,2720,2598,2610,2720,1842,1588,2053,2046,2573,2456,1710,1868,2077,2003,1893,1862,1798,1977,1724,1699,1718,1804,1878,1838,1881,1993,1902,1671,1760,1963,1870,1702,1583,1598,1928,1904,1681,1894,2169,2134,2082,1892,1897,1880,1956,1887,1977,2186,1939,2054,2280,2468,2438,2315,2277,2508,2454,2209,2143,1838,1546,1597,2283,2355,2754,3481,3376,2553,2523,2962,3121,2467,1787,2382,3182,2951,1719,1513,1448,1340,1583,1989,2065,2498,2288,1757,1809,1526,1541,1438,1499,1610,1388,1768,1913,2429,2728,2178,1653,1771,1907,1623,1666,1661,1810,2875,2841,2498,3133,3459,3106,2657,2301,2152,2226,2190,2078,1869,2154,2627,2553,3081,2711,2388,2675,2587,2548,2952,3251,3217,3422,3515,3663,3196,2614,2362,2080,1846,1718,1634,1774,1842,1626,1710,1996,1677,2048,2286,2064,2011,1697,1890,1822,1662,1665,1600,1814,1935,1819,1761,1496,1381,1394,1512,1695,1535,1566,1544,1471,1550,1593,1858,1899,1740,1515,1502,1504,1451,1443,1770,1844,1747,1666,1635,1708,1502,1505,1576,1438,1594,1516,1417,1454,1349,1393,1374,1436,1435,1357,1425,1611,1851,1622,1578,1672,1562,1470,1543,1665,1684,1642,1773,1984,2157,2259,1669,1371,2003,2864,3066,3144,2494,1653,1405,1348,1452,1459,1455,1598,1627,1642,1478,1388,1382,1428,1518,1544,1519,1521,1556,1583,1528,1544,1844,2131,1855,2330,2518,2441,2639,2730,2836,2976,3331,3185,2365,1825,1921,1781,1787,1662,1954,1605,1886,2504,2724,2677,2273,2106,2544,2270,1732,1925,2230,2632,2505,2393,2642,2711,2402,2024,1655,1521,1506,1791,1561,1496,1438,1528,1523,1568,1694,1991,1965,1949,1814,1472,1408,1426,1705,1886,1860,1887,1801,1848,1806,1691,1936,1881,1771,1939,1808,1726,1494,1604,1636,2114,2684,2761,2591,2684,2710,2745,2555,2257,2062,2098,2048,1801,1720,2099,1955,1736,1787,1833,1880,1855,1842,1875,1997,2110,1975,1873,1917,2374,2426,2122,2162,2625,2684,3031,3186,2650,2419,2996,3584,2466,2329,3128,3090,3155,2967,2702,2476,2048,1688,1950,2288,1994,1770,1631,1519,2074,1804,1643,1808,1955,1936,1598,1638,1632,1864,2405,2574,2745,2603,1981,2019,2445,2381,2507,2689,2342,1608,1649,2109,1619,1555,1505,1308,1293,1368,1383,1306,1261,1238,1517,1740,1793,1711,1615,1810,2265,1872,1673,1614,1824,1673,1733,1696,1825,1716,1383,1308,1057,1842,2268,1872,1613,1552,1492,1474,1565,1750,1964,2091,1793,1515,1523,1486,1319,1729,1896,1772,1844,2359,2215,2060,2495,2419,1842,1816,1761,1882,2078,2327,1878,1880,1907,1927,1753,1626,1439,1368,1460,1582,1639,1821,1902,2369,2374,1686,1750,1798,1508,1505,1655,1687,1386,1121,1247,1360,1644,1893,1751,1537,1387,1483,1550,1547,1726,1830,1942,2006,2013,2166,2031,1890,1688,1460,1796,1924,2049,2317,2147,1930,1686,1605,1699,1698,1719,2022,1908,2014,1976,1950,1749,1445,1241,1318,1479,1555,1527,1378,1655,1519,1768,2186,1769,1299,1203,1234,1544,1660,1572,1753,1925,1973,1919,1788,2060,2188,1859,1797,2067,1853,1664,1768,1593,1604,1603,1990,2152,1838,1732,1378,1357,1677,1622,1367,1319,1393,1599,1900,1660,1863,1711,1784,2390,2784,2552,2584,2962,3254,3077,2225,1483,1687,1951,2040,1934,1828,1825,1869,2105,2188,1810,1538,1519,1477,1487,1581,1744,1926,2109,3066,2697,2451,2736,3142,3415,3372,3151,2895,2419,3206,3796,4223,4069,3882,4025,4355,4508,4082,2510,2302,3156,3526,3833,3453,2531,2168,2742,2656,2286,2547,2536,2389,2386,2424,2535,2964,2899,2598,2470,2059,2531,2875,2327,1924,1484,1750,2397,2397,2005,2039,2408,2472,2356,2317,2447,1986,2688,2977,2484,2630,3276,3774,3919,4006,3873,3808,3398,3000,2971,2935,2966,2910,2479,2476,3100,3416,3596,3654,3554,3906,3759,3120,2843,3050,3132,3128,3333,3143,3065,3207,3104,2986,2631,3008,2399,1821,1880,2178,1899,1809,2309,2619,2842,2868,2555,2852,3107,3254,3333,3168,2674,2447,2120,1949,2143,2149,2108,2535,3583,3953,3509,3261,2909,2324,2580,3052,2896,2930,3225,3315,3304,3316,3199,2802,2709,2954,3472,4039,3563,3381,3554,3755,3786,3761,4176,4353,3956,3875,4069,4145,4412,4645,4521,4295,4039,4148,4148,4220,4305,3926,3772,3968,4071,4100,2770,1020,590,557,552,628,717,811,898,942,996,1059,1167,1334,1457,1532,1606,1651,1593,1750,2121,2611,2879,3096,3488,3624,3514,2986,2801,3586,3449,3211,2801,2604,2446,2190,1822,1595,1522,1652,1816,1802,2055,2614,3265,4014,4176,4016,3676,3597,3792,4096,4185,4018,3749,3936,4143,4276,4184,4034,3823,3962,4121,4058,4040,3979,3953,3983,3713,3627,3601,3696,3676,3638,3710,3720,3538,3582,3720,3670,3592,3582,3747,3661,3416,3354,3403,3628,3570,3547,3537,3418,3299,3230,3416,3496,3436,3515,3603,3562,3393,4100,4268,3648,3217,3127,3584,4232,4028,3870,3696,2952,2940,4207,4159,4038,3747,3813,3291,2872,2934,2973,3038,3106,3011,3040,3036,3043,3063,3157,3267,3215,3111,3060,3022,3132,3090,3053,3198,3330,3276,3002,2995,2974,2952,2950,3061,3228,3133,3254,3514,3620,3636,3709,3419,3458,3488,3331,3360,3396,2998,2442,2614,2754,2253,2539,2909,2546,1830,1278,1745,2248,2128,1737,2136,2758,3054,2840,2356,2469,2425,2421,2876,2814,2132,2057,2056,2223,2274,2019,1793,2467,3588,3670,3541,3316,3065,3178,3453,3540,2766,1779,1008,938,1902,2954,3164,3210,3083,3063,3155,3147,3095,3233,3349,3370,3407,3466,3956,4615,4401,4399,4460,3934,2162,911,695,692,720,1470,2522,3334,3696,3713,4023,4144,4016,4593,4445,4197,4049,4003,4229,4284,3664,3286,3375,3889,4136,2971,3137,3350,3273,3739,4184,4061,3723,3699,3480,2676,2933,3084,2267,2238,2211,1708,1780,1688,2352,2791,2358,2388,2730,2693,2755,2980,2687,2257,2600,2646,2673,2920,2889,2918,3040,2907,2551,2264,2307,2750,3176,3392,2610,1378,1676,2464,3041,3255,3764,4216,4230,4379,4424,4260,4408,4124,3409,2994,3034,3116,3084,3086,3117,3127,3171,3208,3383,3521,3318,3230,3907,4227,3774,3287,3667,3885,3669,3084,2744,3062,2865,3082,3604,4252,4125,3332,3120,3551,3716,3549,3007,2630,3011,3284,3140,3418,3161,2742,3219,3300,2748,2763,2634,2627,2654,2809,3806,4177,3852,3588,3681,3772,3951,4100,4224,3580,3406,3695,3624,3492,3259,3029,2830,2423,2267,2123,1761,2578,3059,2463,2480,2470,2532,2777,2542,2324,2685,2658,2691,2483,2499,2396,2573,1903,1404,1484,1619,1756,2165,1843,1261,1366,1332,1390,1390,1390,1365,1824,2155,1716,1446,1448,1480,1620,1528,1730,1619,1544,1699,1421,1458,1792,1847,1586,1390,2144,2875,2414,2287,2096,2312,3031,2909,2468,2499,2596,2706,2216,2352,2601,2339,2235,1897,1849],[2192,2810,3104,3266,3226,1974,1790,2197,1974,2269,2526,2890,3132,2566,1636,1339,1940,2613,2649,2664,2612,2176,2169,1686,2016,1931,2078,2504,2731,2986,2569,2271,1986,2099,2233,1596,1549,1668,1644,2006,2723,2886,2856,2744,2602,2608,2519,2226,2197,1954,1842,2188,2142,2103,2109,1995,1642,2225,2821,2423,2159,2275,1869,2621,3068,3043,2650,2524,2652,2388,2361,2572,2677,3024,2857,3186,2877,2365,2398,2776,2636,2259,2658,3277,2886,2391,2608,2740,2699,3010,3105,2850,2890,3104,2763,2713,2973,3096,3105,3168,3454,3207,3054,3132,2871,2501,2189,2271,2503,2605,2677,2408,2350,2233,2093,1961,1425,1551,2220,2600,2545,2307,1989,2214,2214,1781,1729,1647,1464,2086,2499,2236,1731,1918,2125,2223,2655,3302,3355,2913,2431,2208,2169,2188,2043,1735,1988,1515,1819,2635,2718,2300,2450,2775,2639,2329,2285,2018,1873,2255,2595,2503,2142,2274,2292,1758,1691,2284,2706,2166,1733,1942,2131,2357,2456,2233,2253,1935,2051,2253,2284,2092,2066,2381,2479,1996,2166,2875,3008,2721,2443,2242,2387,1970,1837,2219,2395,2518,2412,2593,2466,2187,1945,1709,1939,2335,1830,1651,1829,2376,2700,2942,2624,2134,2224,2543,2889,2886,3473,3508,3576,3333,3218,3097,2735,2419,2309,2275,2059,1854,1909,2244,2138,2723,2200,2538,3336,2989,2860,2935,2332,2088,2431,2557,2602,2500,2309,2092,1512,1293,1977,2203,2044,1720,1752,1986,2198,2361,2621,2514,2562,2212,1428,1132,1960,2868,3125,2999,2613,2199,2120,2836,3414,3913,4023,4041,3820,3903,4133,3943,3527,3362,3480,3603,3680,3392,3241,3507,4252,3646,2900,2695,2884,2762,2942,3558,3741,3632,3045,1879,1898,2277,2327,2542,2732,2250,2432,2510,2633,2380,2177,2288,2510,2939,3141,3344,2634,2434,2555,2222,2689,2662,2438,2689,2595,2257,2125,2499,2635,2121,2170,2197,2161,2013,2013,2051,2000,2237,2579,2236,2193,2265,1781,1969,2197,1989,2093,2094,2230,2966,2933,2195,2032,2111,1992,2141,2201,1688,1752,1823,1952,2139,2156,2038,2666,2851,2448,2258,2186,2613,2546,2172,2063,1849,2394,2667,2700,2655,2533,2345,2230,2230,2233,2403,2514,2634,2274,2003,2183,2017,1942,2251,2527,2491,2066,2078,2045,2209,2450,2059,2195,2403,2028,2109,2120,2168,2192,2087,1835,1891,2136,1773,1931,2251,2306,2452,2240,2152,2553,2646,2257,2029,2019,1899,1635,1860,1982,2076,1830,2098,2194,2081,2028,2228,2186,2147,2223,2030,2118,2102,2150,1786,2035,2200,2492,2414,2243,2416,2557,2367,1963,2321,2596,2257,2193,2081,1880,1913,1903,1710,1815,1983,2277,2625,2459,2253,2145,1951,1931,1971,2070,2314,2458,2036,1785,1392,1267,1637,1354,1003,1386,1826,2136,2139,2418,2156,2163,2258,2468,3112,2711,2345,2101,1600,1827,1834,2091,2558,2577,2450,2244,2697,3284,3190,2902,2270,2075,2680,2418,2498,2511,1623,1680,1920,1851,1933,1559,1399,1727,2143,2130,1858,2039,1796,2032,1677,1621,1582,2256,2298,2160,2343,2461,2147,1716,1842,2192,1849,1483,1430,1551,1765,1861,1774,1969,1889,2072,2235,2099,2150,2129,2714,2207,1944,2161,1943,1739,2272,2367,2017,1980,2028,2025,1779,1457,1358,1434,1512,1613,1882,1877,2078,2887,3330,2668,2515,2690,2603,2051,1731,2357,3361,2724,1798,1606,1419,1464,1636,1833,2090,2259,1902,1959,2136,1644,1561,1561,1484,1605,1152,1012,1306,2222,2869,2598,2125,2029,2090,1730,1612,1489,1446,2280,2457,2363,2763,3021,2564,2202,2073,2045,2186,2215,2093,2146,2563,2952,3006,3187,2612,2588,2645,2312,2402,2874,2944,3044,3111,2730,2658,2149,1720,1578,1521,1592,1804,1922,1832,1620,1560,1839,2056,2447,2376,1798,1757,1803,1525,1584,1541,1716,1813,1863,3311,3794,2783,1829,1593,1404,1440,1660,1660,1670,1724,1537,1506,1510,1523,1788,1678,1567,1519,1538,1566,1528,1510,1691,1622,1489,1578,1766,1834,1508,1320,1355,1469,1816,1911,1700,1477,1518,1620,1444,1379,1338,1400,1468,1675,1730,1643,1848,2251,2145,1826,1754,1726,1686,1736,1850,2183,2237,1801,1513,1925,2784,3229,2999,2280,1566,1415,1344,1440,1541,1592,1578,1488,1709,2153,1738,1479,1460,1527,1605,1855,1991,1700,1598,1723,1998,1668,1765,2143,2399,2775,2541,2367,2631,2949,3090,3050,2753,2590,2584,1961,2129,1967,1823,2060,2091,1578,2180,3134,3287,3222,2942,2187,1972,1744,1540,1741,2254,2220,2196,2558,2879,2807,2266,2301,2367,1876,2097,2614,1750,1449,1379,1449,1460,1577,1670,1808,2114,2069,1924,1658,1324,1379,1542,1659,1776,1651,1536,1910,2121,2038,1698,1583,1589,1893,2233,2092,1554,1560,1606,1620,2202,2361,2555,2967,2955,3009,3055,2593,2132,2243,2221,1748,1713,1939,1809,1915,2037,1929,1980,2056,2092,2120,2020,2223,2030,1737,1751,2222,2542,2438,2342,2341,2457,2631,2354,2305,2643,3519,3369,2167,1961,2106,2554,2787,2449,2411,2626,2176,2286,2001,1825,1685,2198,2104,1523,1333,1376,1638,1765,2119,2078,1864,1774,1539,2236,2429,2305,2431,2378,2355,2326,2116,2314,2320,2208,2074,1673,1639,1841,1661,1671,1521,1359,1389,1560,1373,1248,1309,1372,1926,2393,2207,1458,1658,2388,2504,2105,2048,2086,2004,1795,1465,1339,1639,1522,1387,1393,1045,1375,2168,1956,1578,1565,1480,1512,1690,1902,2126,1745,1302,1711,1694,1320,1312,1772,1854,1437,1261,1647,1842,1914,2344,2532,1901,2042,2319,2130,2106,2220,1857,1680,1931,1843,1514,1509,1282,1362,1455,1642,1439,1773,1746,1839,1842,1668,1569,1460,1381,1389,1575,1582,1485,1536,1694,1873,1772,1543,1554,1544,1619,1650,1553,1705,1872,1991,1872,1981,2139,2047,1821,1915,1913,1858,2096,2091,1952,1878,1954,1963,1882,1865,1915,1867,1901,1974,1947,1909,1564,1576,1598,1412,1606,1985,1716,1483,1560,1569,1681,1760,1738,1915,1684,1319,1249,1527,1592,1705,1362,1697,1834,1808,1815,1654,2077,2148,1948,1869,1655,1582,1493,1569,1492,1700,1988,2449,2432,1833,1590,1382,1324,1582,1581,1323,1465,1292,1551,2097,1909,2031,2092,2295,2546,2584,2882,3099,3332,3562,3523,2844,1685,1627,1772,1770,1547,1429,1737,1806,1900,2102,1889,1577,1512,1498,1586,1779,2056,2710,2061,1682,2240,2771,3673,4377,4518,3895,2802,3040,2356,2971,3579,4180,3951,3857,3941,4132,4013,2889,2208,3025,3464,3742,3580,2886,2491,2812,3045,2462,2578,2593,2446,2377,2463,2477,2475,2728,3007,2862,2283,2642,3031,2881,2644,2214,1676,1876,2351,2600,2656,2817,2641,2380,1980,1596,1672,1946,2615,2815,2917,2970,3212,4079,4178,4141,3782,3793,3292,2939,3128,2965,2643,2791,2612,2730,3409,3365,3571,3783,3561,4064,3865,3338,2992,3067,3029,3052,3673,3902,3242,3040,3036,3066,2969,2844,2656,2083,1835,1946,2073,2051,1995,2262,2402,2552,2347,2599,2998,3252,3343,3006,2676,2813,2505,2085,2278,2409,2175,2379,3695,3750,3167,2949,2996,2986,3052,3249,2631,2556,3180,3387,3378,3384,3416,3075,2848,2975,3315,3769,4073,3740,3508,3794,3849,3692,4084,4223,3644,3583,4188,4541,4671,4832,4718,4296,4039,4084,4100,4237,4464,4488,4440,3963,3970,4091,3000,1145,572,538,544,586,662,766,844,864,910,975,1086,1165,1289,1298,1281,1371,1370,1484,1713,2136,2491,2580,2938,3144,3307,2991,2665,3133,3264,3116,2801,2555,2381,2173,1892,1722,1433,1374,1416,1548,1589,1711,2024,2609,3591,3956,4039,4381,4328,4546,4562,4246,3876,4005,4024,4101,3885,3860,3920,4009,3956,3773,3665,3879,3951,4111,3767,3737,3723,3708,3648,3684,3812,3630,3574,3709,3746,3584,3699,3804,3891,3536,3464,3488,3548,3746,3680,3541,3425,3458,3342,3240,3438,3552,3485,3447,3552,3527,3873,4612,4596,3653,2957,2967,3447,4288,4273,4300,3502,2907,3549,4312,3916,3583,3385,3439,3495,3213,3086,3146,3090,3132,3107,3119,3095,3091,3125,3161,3123,3096,3141,3060,2939,3069,3035,3133,3185,3100,3410,3124,2917,2823,2775,2806,2952,2950,2894,2901,2906,3256,3464,3636,3667,3565,3457,3398,3350,3344,3165,2890,2929,2984,2711,2902,2554,2351,1792,1563,1814,2198,2215,1910,1957,2183,2531,2525,2184,2437,2298,2245,2602,2359,2256,2245,1909,2070,2414,2403,2348,2874,3522,3583,3444,3532,3559,3204,3072,3167,3187,2934,2493,2415,3001,3312,3109,3134,3032,3021,3103,3100,3140,3202,3184,3278,3442,3463,3795,4500,4569,4387,4465,3217,1394,646,569,585,627,716,998,1798,2689,3632,4122,3493,3752,4488,4708,4385,3997,3726,3902,4093,3517,3375,3428,3779,3781,1931,2120,1801,2068,3225,4153,3770,2662,2703,3085,2526,2791,2566,2564,2459,2195,1753,1506,1418,1745,2104,2392,2762,2574,2350,2236,2216,2016,2259,2712,2797,2896,3069,3174,3318,3366,3245,2856,2170,2329,3373,3787,3731,1981,652,881,1930,3020,3435,4046,4262,4435,4704,4552,4079,4288,4141,3464,3094,3003,2976,2885,2966,3174,3052,3160,3226,3391,3595,3704,3975,4416,4052,3374,3090,3328,3226,3021,2766,2921,3229,3027,3112,3661,4337,3899,3264,3110,3563,3990,3576,3019,2877,2907,3256,3159,3515,3643,3284,4060,4552,4604,4617,3817,3271,3329,3773,4112,4018,3872,3702,3640,3679,3805,4148,4132,3630,3666,3716,3526,3536,3227,3089,3062,2846,2632,2070,1818,2742,2841,2669,2808,2735,2787,2701,2359,2276,2504,2599,2513,2570,2147,1832,1841,1481,1321,1383,1413,1670,2317,1867,1460,1888,1682,1418,1384,1449,1327,1644,1794,1606,1450,1300,1294,1577,1558,1578,1484,1552,1736,1359,1120,1387,1484,1423,1544,2034,2669,2488,2145,2276,2536,2943,2537,1929,2183,2991,2380,1717,1839,2273,2416,2336,2186,1985],[2278,2831,3233,3298,2670,1844,2042,2382,2024,2055,2331,2626,2841,2801,2356,1368,986,1341,1645,1976,1899,2084,1992,1997,2196,2024,2787,3157,2789,2567,2226,2259,2332,2810,3032,1894,1505,1996,2060,2098,2509,2664,2397,2010,2100,2273,2020,2195,2106,1946,1883,1742,1830,2053,2167,2005,1790,2567,3012,2858,2479,2739,2810,2966,2784,3002,2910,2773,2407,2069,2307,2655,2412,2351,2375,2951,3270,2618,2110,2385,2526,2348,2322,2353,2454,2718,2679,2528,2938,3155,3095,2853,2633,2657,2739,2749,2934,3188,3053,3153,3196,3018,2946,2939,3119,2466,1777,1841,2036,2376,2617,2625,2626,2242,1710,1975,1554,1563,2646,2711,2140,2035,2084,2155,2184,2235,2473,2095,1826,2337,2531,1893,1470,1614,1307,1170,1923,2753,3277,2988,2518,2420,2319,2577,2364,2367,2418,2168,2810,3106,2795,2629,2708,2789,2817,2682,2786,2736,2117,1889,2014,2380,2401,2420,2406,2132,2075,2387,2708,2768,2844,2686,2614,2709,2340,2105,2131,1843,1834,2067,1978,1687,1895,2143,2364,1964,1968,2262,2345,2691,3066,2962,2780,2528,2471,2411,2491,2179,1866,1998,2082,2185,2024,2143,1835,1860,2093,1992,1711,1770,2315,2637,1934,2041,2764,3035,3130,3270,3436,3273,3149,2813,2799,2914,2670,2245,2260,2323,2250,1719,1538,2077,2321,2516,2652,2720,2762,2824,2841,2150,1539,1891,2686,2780,2663,2654,2413,2397,1826,1462,1598,2096,2245,1732,1983,2580,2604,2524,2504,2226,2404,2185,1306,1093,1968,3033,3949,3684,2758,1894,1882,2721,3547,4176,4176,4000,3902,3918,3926,3931,3626,3517,3470,3519,3875,3805,3637,3619,3702,3711,3383,3108,3437,3470,3726,4195,3783,3355,3174,2265,1786,1983,2268,2138,2239,2284,2697,2707,2406,2238,2036,1999,2229,2429,2686,2874,1924,1951,2751,2533,2398,2504,2160,2224,2105,1929,2168,2513,2329,2267,2348,2179,2025,2125,2202,2202,2136,2381,2710,2156,2317,2007,1871,2077,1888,2358,2537,2300,2344,2588,2368,1980,2122,2283,2348,2468,2541,1823,1974,2039,2266,2680,2621,2341,2509,2988,3134,2673,2311,2597,2409,1923,1794,1896,2328,2533,2665,2717,2526,2455,2255,2154,2480,2209,2292,2249,2129,1948,2311,2145,1806,1755,2002,2037,2204,2366,2237,2473,2526,2308,2636,2750,2435,2283,2315,2275,2050,2032,2084,2136,2006,1966,2054,2240,2226,2143,1789,1793,2213,2322,2149,2068,2216,2243,2198,2212,2104,2060,1886,2019,2142,2162,2132,2158,2219,2278,2249,2219,2034,1779,1808,1932,2336,2416,2502,2421,2593,2908,2802,2357,2457,2692,2073,2086,2181,2070,2048,1944,1738,1619,1787,1672,1750,2061,2282,2022,1932,1924,1934,2085,2233,2220,2116,1944,1782,1252,1642,2078,1376,1188,1316,1426,1687,2167,2270,1900,2246,2502,2909,3130,2612,2322,1957,1271,1492,1898,2630,2331,2153,2395,2482,2734,3227,3297,2998,2349,1996,2658,2316,2855,2811,2182,1869,1709,1669,1537,1597,1804,2142,2935,2908,2480,2104,2106,1914,1849,1618,1685,2265,2221,1984,2241,2407,2279,2227,1999,2398,1935,1608,1452,1776,1969,1931,2071,1974,1924,2072,1897,1759,2082,2469,3558,2381,2108,2480,2119,1837,2344,2402,1815,1958,2218,1919,1586,1504,1390,1596,1704,1644,1878,1860,1633,2417,2753,2574,2711,2105,2142,2048,2332,2468,3110,2320,1746,1665,1472,1461,1628,1997,2081,2286,1608,2066,1875,1548,1537,1636,1700,1600,1304,1178,1605,2374,3006,2926,2684,2612,2666,1994,1641,1542,1430,1941,2567,2378,2475,2920,2893,2984,2839,2621,2401,2744,2856,3018,2789,2656,2913,2600,2184,2369,2469,2280,2394,2376,2129,2225,2075,1832,1789,1696,1559,1491,1497,1545,1490,1375,1387,1464,1661,2062,2868,3008,2221,1572,1495,1746,1730,1507,1520,1720,1504,1497,1900,2091,1997,1744,1517,1483,1560,1569,1515,1380,1463,1448,1433,1378,1417,1677,1591,1663,1730,1616,1570,1490,1396,1456,1299,1108,1519,2016,1921,1616,1430,1448,1517,1736,1804,1590,1497,1814,1854,1598,1645,1744,1842,1587,1565,1750,2307,2332,2257,2082,1917,1837,1753,1776,1772,1736,1931,2319,2033,2020,2803,3328,3228,2400,1596,1482,1420,1392,1628,1740,1770,1588,1415,1819,1874,1648,1580,1542,1726,1754,1800,1763,1558,1614,1733,2244,2147,2500,2746,2757,2403,2495,2961,3226,2807,2143,2132,1820,1826,2030,2048,2079,1922,2036,2015,1850,2308,3119,3388,3244,3293,3307,2718,2054,1703,1640,1670,1802,1748,1770,1826,2420,2853,2684,2330,2482,1948,2024,2092,1681,1430,1528,1586,1484,1566,1462,1720,2135,1975,2093,2011,1572,1614,1634,1542,1793,1986,2031,1913,1963,2077,1770,1758,1555,1968,2938,2584,1798,1591,1628,1728,2065,2488,3028,3018,2955,2855,2540,1938,1721,2015,2598,2517,2337,2430,2216,1950,1901,1835,1789,1772,1797,1854,1861,1921,2003,2240,2376,2268,2221,2254,2016,1881,2135,2147,2046,2535,3260,3416,2668,2204,2006,1639,1936,2021,1992,2060,2568,2191,2427,1726,1733,1791,2292,1815,1080,1422,1813,1814,1721,1919,1756,1920,1801,1685,1794,1653,1559,1561,1797,2359,2338,1906,2293,1902,1514,1531,1506,1523,1780,1562,1340,1457,1605,1804,1868,1488,1368,1571,1871,2286,2298,2304,1984,1961,2497,2842,2653,2294,2076,1635,1856,1622,1536,1540,1646,1771,1792,1626,1736,1985,1710,1414,1428,1518,1699,1612,1695,1835,1503,1909,2243,1840,1444,1501,1888,1832,1472,1544,1982,1968,1810,2310,3354,2850,2806,2655,1801,1844,1913,1763,2026,2232,1914,1715,1555,1444,1954,2020,1577,1265,1687,1748,1714,1818,1702,1468,1569,1745,1404,1449,1406,1700,1865,1974,1837,1544,1450,1444,1484,1588,1656,1892,1944,1974,1983,1655,1962,2093,1764,1586,1505,1469,1660,1888,2023,1699,1595,1858,1548,1415,1898,1958,1937,2352,1885,1670,1880,1624,1736,1722,1566,2047,2906,2479,1877,1973,1964,1645,1613,1518,1309,1322,1206,1399,1701,1565,1394,1484,1698,1867,1925,1950,1930,2037,2108,1944,1598,1322,1334,1257,1348,1545,1600,2020,2319,2064,1725,1604,1401,1411,1460,1444,1522,1544,1265,1477,1740,1887,1960,1887,2231,2302,2664,3465,3632,3576,3632,3370,2708,1914,1800,1946,1873,1478,1365,1567,1679,1838,1937,1852,1751,1529,1531,1897,1792,2197,3133,3085,2478,2082,2742,4153,4660,4616,4412,2856,3169,2529,2844,3360,3740,3804,3886,3945,3835,3315,2886,2663,2898,3421,3549,3004,2520,2588,2958,2827,2574,2803,2690,2514,2496,2511,2425,2532,2495,2678,2460,2409,2896,2866,2302,2042,2469,2708,2367,2237,2844,2880,2918,2478,2441,2115,2068,2386,2601,2274,2234,2803,2548,2589,3702,4025,4048,3644,3749,3384,3090,3179,2824,2437,2689,2626,3083,3407,3100,3362,3659,3640,3700,3333,2853,2875,2921,2729,2705,3183,3542,3344,2756,2640,2802,2482,1874,2095,2196,2185,1846,1749,2017,1945,1926,1769,2155,2417,2631,3231,3411,3737,3293,3150,3629,3067,2289,2119,2208,2102,2222,3243,3404,3300,3179,3105,3088,3068,2879,2301,2405,3250,3316,3250,3416,3552,3360,3105,2966,3332,3736,4017,4037,3726,3780,4009,4136,4212,4252,3782,4030,4529,4708,4812,4820,4629,4384,4195,4145,4083,4188,4532,4663,4632,4099,4099,3198,1503,694,557,529,538,568,624,720,791,803,822,857,975,1078,1180,1173,1143,1182,1206,1263,1399,1704,2042,2200,2477,2647,2776,2912,2743,2850,3094,2995,2743,2611,2366,2170,1836,1688,1441,1248,1162,1302,1383,1392,1497,1770,2079,2292,2620,2662,2764,3476,3871,4308,4236,3836,3893,4072,3896,3841,3941,3807,3622,3636,3658,3858,4128,4291,4132,3885,3637,3571,3518,3606,3648,3662,3531,3532,3627,3683,3738,3790,3768,3548,3472,3571,3898,4111,3927,3597,3483,3348,3255,3377,3416,3486,3584,3562,3682,3588,4154,5016,5001,3984,3088,3132,3566,3941,3645,3840,3309,3171,3941,4092,3435,3282,3376,3310,3522,3407,2769,3090,3138,3105,3092,3176,3137,3100,3099,3029,3002,3001,3021,3059,3046,3100,3031,3184,3310,3090,3088,3141,2927,2788,2775,2762,2813,2822,2787,2796,2831,3074,3318,3377,3586,3576,3598,3768,3546,3388,3185,3226,3320,3660,3717,3250,2438,2126,1762,1870,2156,2436,2114,2148,2321,2141,2484,2301,2133,2436,2656,2918,2807,2070,2072,2315,2026,2265,2314,2670,2956,3143,2887,2951,3052,3164,3486,3392,3274,3229,2662,1882,1273,1896,2546,2868,3065,3088,3080,3104,3177,3233,3230,3233,3129,3288,3466,3453,3547,3952,3978,4049,4267,3550,2076,908,679,605,644,702,703,738,1171,2190,3311,3078,3537,4028,3956,4152,4225,4068,4112,4139,3654,3449,3448,3465,3549,3205,3430,3162,2229,2766,3705,3250,3152,3122,3042,2919,3089,2456,2366,2598,2918,2743,2351,2622,2458,2144,2521,2720,2335,2151,1695,1470,1582,2062,2165,2178,2646,2910,3050,3097,3123,3204,3373,2562,2387,3350,3598,3543,2224,869,769,1838,3349,4163,4364,4459,4572,4596,4597,4094,3815,3683,3389,3035,2919,2917,2835,2929,3165,3000,3121,3106,3059,3074,3124,3010,3055,3425,3237,3321,3820,3374,3097,2790,2757,2806,2784,3186,3920,3920,3393,3204,3193,3669,4070,3505,3217,3451,3642,3566,2953,2584,2792,3198,3447,3870,4820,4704,3330,2888,2901,3961,4145,4105,4175,4148,4264,4136,3824,4027,4057,3896,4058,3918,3650,3393,2977,2918,3089,2995,2710,1816,2049,2909,2594,2928,3228,3131,3002,2556,2145,2286,2357,2206,2243,2409,2016,1665,1427,1220,1356,1384,1406,1562,1881,1942,2017,2038,1802,1378,1400,1422,1505,1630,1542,1577,1578,1427,1415,1554,1490,1612,1629,1696,1826,1749,1602,1501,1470,1529,1753,2104,2512,2788,2752,3002,3184,2814,2641,2156,2491,3270,2329,1767,1695,1684,1758,2199,2202,2104],[2817,3088,3106,2723,2194,2332,2764,2633,2164,1896,2113,2279,2497,2409,2529,2363,2077,1473,1583,1683,1742,2383,2544,2576,2208,2219,3334,3394,3149,2680,2179,2121,2099,2564,3010,2283,2225,2607,2206,2083,2697,2409,2234,2031,1952,2017,2110,2371,2160,2271,2334,1884,1885,2011,1836,1927,2223,2650,2802,2790,2800,3052,3270,3187,3119,2909,2854,3122,3163,2428,2665,2822,2159,1966,2323,2458,2728,2302,1747,1863,2039,1968,2254,2389,2518,2460,2516,2895,3205,3212,3222,2938,2503,2658,2833,2403,2797,2979,2758,2908,3030,2776,2761,2517,2194,1824,1588,1552,1742,2057,2170,2409,2369,1865,1588,1398,1592,2020,3195,3430,2765,2253,2206,2361,2258,2534,2743,2323,2022,1969,2409,1976,1839,1968,1691,1723,1755,2050,2778,2663,2477,2670,2890,2631,2147,2609,2832,2568,2458,2375,2357,2377,2409,2167,2662,2997,2910,3053,2383,1674,1596,2061,2121,2049,2121,2273,2242,2336,2664,2985,2962,2897,3078,3165,2313,2058,2198,2281,2167,1949,1767,1655,1681,2023,2189,1841,1636,1804,1988,2732,3224,2896,2714,2889,2680,2143,2210,2232,2278,1670,1625,1658,2368,2426,1682,2007,2633,2516,2013,2087,2178,1913,1770,1981,2568,2864,3197,3196,3055,3246,3182,2875,2864,2724,2598,2216,2310,2758,2496,1851,1321,1841,2623,2725,2286,2014,2780,2975,3018,2412,1769,1805,2703,2753,2668,2845,2784,2364,1946,1704,1704,2109,2306,1758,1931,3099,2987,2765,2622,2430,2402,2383,1800,1713,2420,2745,2785,2265,1857,1892,2666,3611,4256,4384,4080,3854,4059,3850,3597,3581,3574,3415,3416,3318,3554,3785,3761,3759,3505,3646,3611,3563,3859,4014,4026,4296,3934,3298,2967,2632,2473,2399,2143,1974,2114,2368,2465,2524,2384,2387,1914,2022,2086,2040,2238,2589,2144,2386,3360,2761,1807,2141,2113,2404,2180,1944,2271,2272,2104,2367,2632,2669,2510,2420,2225,2244,2262,2251,2268,2242,2071,2081,2431,2391,1885,1948,2141,2025,2160,2284,2429,2149,2501,2376,2498,2758,2610,2047,2056,2008,1969,2354,2432,2298,2266,2490,2620,2272,1929,1963,1927,2153,2050,1722,1900,2380,2632,2664,2388,2568,2264,1973,1934,2281,2361,2362,2111,2108,2456,2255,1912,1950,2577,2309,2552,2524,2645,2404,2219,2222,2265,2434,2665,2319,2017,1964,1895,1819,2097,2264,2109,2020,2059,2363,2394,1991,1877,2083,2396,2384,2356,2215,2137,2326,2306,2374,2291,2125,1938,1996,2313,2468,2277,2001,2214,2320,2252,2217,2108,2082,2122,1993,2048,2223,2413,2510,2429,2343,2094,2059,2275,2236,2031,2269,2136,1996,2070,2222,2171,2100,2230,1913,2010,2113,2062,1815,1883,1901,1997,2177,2051,2150,2075,1967,1901,1511,2206,1869,1254,1458,1477,1525,1935,2439,2310,2189,2333,2699,3097,2520,2318,2113,1368,1237,1589,1812,2064,1983,1976,2478,2931,2946,3101,3332,3157,2355,2033,2669,2465,2908,2548,2316,2057,1625,1715,1907,1932,2171,2613,3455,2994,2286,1844,2198,2332,2059,2003,2248,2362,2207,1673,1793,2085,2144,2326,2002,2073,2169,2265,2221,2623,2822,2551,2645,1870,1847,2078,1901,1624,1785,2387,2840,2160,1932,2032,2191,2214,2147,2075,1928,1809,2252,1911,1748,2148,1814,1711,1691,1556,2352,2632,2114,2624,2484,2468,2855,2110,2225,2291,2449,2197,2101,1525,1311,1551,1770,1886,1695,1858,2135,2698,1746,2167,1973,1599,1585,1489,1339,1683,2017,1629,1901,2192,2744,3011,2940,2954,3147,2489,1835,1629,1461,1640,1948,1842,2207,2528,3440,3636,3409,3256,3204,3395,3413,3414,2630,2128,2669,2302,2364,2488,2615,2227,1910,1835,1729,1700,1700,1644,1766,1902,1731,1516,1473,1625,1565,1524,1574,1532,1726,2103,2050,1583,1544,1550,1548,1781,1788,1467,1972,2070,1526,1321,1288,1334,1395,1485,1573,1783,1666,1500,1323,1288,1378,1427,1575,1496,1480,1682,1883,2024,1765,1433,1424,1330,1236,1335,1318,1147,1438,1884,1904,1550,1366,1433,1691,1912,1860,1428,1354,1513,1634,1905,1796,1720,1548,1450,1670,2384,2555,1981,1824,1729,1861,1785,1622,1632,1698,1380,1360,1896,2326,2891,3231,3309,2776,1682,1345,1398,1482,1606,1693,1863,1842,1497,1478,1869,1836,1648,1553,1436,1583,1557,1470,1543,1509,1686,1935,2351,2338,2436,2715,2294,2122,2544,2676,2946,2334,1893,1897,1739,1771,1804,1818,1826,2188,2349,2131,2613,3610,3598,3272,3130,3181,3292,3152,2504,1926,1798,1758,1664,1708,2069,2037,2695,2372,2524,2357,2158,1884,1709,1670,1694,1810,2056,1938,1805,1612,1543,2033,2183,2127,1999,2042,1882,1893,1731,1628,1845,1876,1769,1571,1752,1896,1399,1534,1691,2436,3071,2629,2021,1717,1521,1696,2270,2405,2807,2823,2381,2225,1939,2041,2048,1771,2618,3455,2818,2305,2142,2035,1902,1683,1170,1281,1589,1877,2007,2035,1960,1897,1983,2176,1951,1983,1782,1636,1712,1593,1742,2524,3324,2928,2161,2195,2298,1714,2093,1667,1591,1802,2047,2321,2454,1969,2149,2291,2043,1467,1290,1804,1917,1946,1963,2180,2005,1974,1805,1638,1798,2053,2112,2019,1825,2503,2734,1872,1648,1442,1444,1479,1512,1586,1602,1370,1067,1167,1617,1833,1748,1574,1803,2003,2201,2148,2006,2169,2173,2055,1930,1794,1744,1893,1980,1985,2216,1765,1587,1586,1618,1684,1720,1759,1830,1725,1729,1516,1452,1498,1777,1733,1689,1620,1461,1886,1903,1660,1607,1653,1793,1785,1430,1759,2501,2379,2099,2445,3422,3085,2505,1857,1475,1712,1607,1564,1974,2293,2104,1898,1584,1678,2053,2618,1931,1653,2192,2005,1818,1716,1688,1444,1365,1339,1379,1379,1308,1358,1471,1554,1505,1437,1498,1664,1876,1789,1804,1803,1644,2152,2282,1571,1660,1855,1614,1626,1592,1413,1413,1685,2034,1733,1695,2036,1434,1298,1843,1809,2038,2290,1763,1879,1907,2215,2666,2046,1694,1882,2764,2947,2673,2623,2260,1869,1749,1747,1512,1365,1323,1427,1540,1571,1415,1882,1765,1879,2214,2172,2005,1904,1934,1890,1613,1623,1585,1372,1304,1417,1605,1791,1937,2288,2359,1964,1656,1661,1541,1445,1485,1520,1650,1641,1640,1870,2048,2009,2103,2222,2578,2657,3033,3040,2629,2014,1624,1786,2056,2270,2192,1841,1510,1077,1167,1817,2158,2142,1921,1615,1914,1957,1653,2050,2418,2408,2156,1855,2466,3728,3082,2942,4001,2714,2448,2374,2722,3206,3497,3908,3978,4028,4144,3652,3152,2726,2521,2893,3145,2427,2370,2570,2630,2743,2676,2824,2548,2509,2472,2453,2391,2363,2220,2020,2194,2910,3249,2830,2083,1771,2469,2988,2622,2358,2979,3111,3095,2950,2764,2722,2478,2284,2485,2196,2301,2862,2446,2545,3480,4040,4002,3606,3407,3100,2722,2564,2380,2397,2618,2665,3326,3303,2895,2856,3261,3384,3302,2958,2648,2850,2989,2955,2835,2999,3272,3154,2871,3020,2945,2047,1392,1567,2056,2437,2135,1718,1688,1985,2333,1901,1990,2059,2163,2519,3098,3848,3739,3400,3389,2897,2235,1842,2364,2214,2067,2591,2911,3205,3334,3377,3238,3007,3003,2989,3023,3076,2972,3033,3530,3689,3455,3283,3103,3297,3655,3837,4005,3990,4167,4231,4316,3995,3572,3491,4073,4629,4739,4735,4571,4492,4472,4251,4265,4051,4272,4536,4504,4341,3868,2999,1540,694,564,509,517,523,539,571,646,714,741,744,768,866,963,1001,1025,1051,1069,1128,1173,1237,1414,1640,1924,2092,2178,2239,2481,2676,2810,2912,2880,2565,2585,2347,2208,1943,1646,1447,1206,1061,1081,1140,1185,1219,1321,1542,1655,1593,1552,1494,1588,1912,2945,3784,4025,4312,4532,4560,4386,4116,4030,3814,3486,3427,3758,4280,4399,4187,3727,3543,3648,3605,3638,3803,3694,3579,3595,3629,3684,3820,3909,3802,3598,3535,3536,3738,4056,4141,3592,3538,3286,3333,3394,3403,3451,3492,3721,3688,3673,4642,5572,5753,5088,3672,3519,3816,3893,3761,3419,3342,3361,3361,3243,3300,3353,3601,3626,3646,3725,2861,2866,3046,3115,3119,3152,3075,2985,2919,2924,3100,2986,3047,3054,3067,3345,3134,3219,3458,3227,3303,3577,3339,3076,2862,2807,2840,2840,2780,2822,2882,2941,3110,3292,3361,3361,3465,3509,3415,3452,3307,3467,3470,3552,3648,3092,2897,2813,2613,2533,2504,2896,2479,2365,2271,2470,2652,2203,2187,2135,2278,2557,2345,2169,3012,3206,2655,3011,2879,4266,4706,3460,2634,3084,2821,2359,2870,3260,3522,3096,2247,981,585,672,718,1089,1380,1990,2501,2786,3247,3395,3225,3234,3165,3320,3451,3374,3408,3536,3491,3605,3800,3964,3522,2621,2107,2011,2622,2151,1293,849,652,830,1107,1900,3363,3851,3657,4018,4184,4359,4591,4452,3758,3465,3423,3473,3940,4097,4093,3876,3570,3628,3384,3159,3842,3338,2940,3320,3344,2697,2715,3089,3419,3499,3463,3741,3629,2892,2588,1962,1623,1946,1621,1186,1528,2144,2426,2543,2854,3065,2767,2656,2817,2995,3106,2318,2349,3155,3564,3614,3264,2382,2114,2787,3761,4219,4120,4123,4238,4391,4532,4140,3591,3415,3217,3093,2988,2955,2865,2897,2974,3046,3000,2973,3041,2843,2611,2570,2975,3953,3680,3577,3961,3462,3233,2989,2707,2526,2743,3230,3611,3494,3376,3295,3294,3647,4108,3703,3361,3043,2599,2495,2274,1555,1697,2510,2786,3039,4464,4631,2927,1837,1922,3747,4415,4300,4605,4420,4404,4432,3785,3696,3908,3763,3946,4134,3897,3647,3573,3565,3464,3150,2507,1895,2859,3519,3203,3176,3135,2916,2438,2197,1938,1895,1902,1951,2165,2198,1943,1598,1394,1278,1333,1428,1536,1556,1848,2045,2172,2258,1863,1509,1547,1393,1515,1731,1813,1793,1725,1474,1611,1704,1616,1582,1665,1871,1856,1942,1768,1827,1675,1655,1683,2027,2354,2563,2858,3128,2576,2276,2543,2382,2756,3508,3308,2462,1740,1451,1704,2241,2046,1692],[2998,2929,2736,1695,1266,1718,2104,2842,3151,2631,2910,2780,2517,2250,2074,2151,2505,1995,1984,2044,2334,2810,3072,2613,1826,2405,3462,3493,3382,2495,2013,1974,2116,2640,2743,2334,2237,2192,1954,2132,2518,2425,3124,2658,2049,2099,2386,2508,2307,2339,1813,1280,1550,1817,1760,2400,2611,2408,2460,2483,2765,3156,3177,2928,2663,2782,3052,3463,3699,2735,2910,2630,1731,1726,1918,1885,2142,2229,1898,2219,2230,2009,2328,2417,2444,2113,2444,2878,3055,3050,2636,2165,2283,2831,2667,2488,2652,2461,2568,2802,3209,3079,2724,2133,1744,1882,1975,1841,2010,2185,2258,2343,2265,2061,2406,2267,1728,2228,3198,3191,3191,3009,2630,2297,2182,2202,2510,2900,2852,2529,2496,2184,2002,2009,1840,1483,1061,1207,2114,2430,2489,2736,2934,3436,2845,2257,2270,2087,1775,1835,2302,2317,2249,2394,2874,3032,2915,2827,2263,1672,1563,1808,2060,2128,2173,2495,2017,1834,2215,2863,3022,3052,3305,3419,2910,2415,2449,2701,2413,2563,2332,1989,1862,2026,2002,2411,2357,2022,2178,2853,3196,3210,3363,3285,3277,2723,2749,2696,2267,1692,1417,1599,2156,1963,1881,2354,2554,2364,2070,2200,1914,1724,2026,2103,2530,3113,3297,3178,3033,3064,3130,3138,3119,2700,2548,2831,3232,3003,2312,2087,2308,2814,3042,2674,2376,2483,2908,2468,2562,2452,2097,2156,2656,2754,2686,3001,3142,2561,2021,1757,1836,1894,2038,1862,1922,2454,2590,2432,2552,2634,2392,2764,3230,3296,3328,2952,2445,2241,2302,3071,3741,4030,4081,4060,3729,3534,3686,3812,3812,3435,3405,3418,3452,3104,3266,3528,3388,3418,3497,3537,3790,4062,3918,3831,3790,3874,3994,3543,3096,2841,2697,2507,2262,2155,2244,2227,2298,2819,2630,2452,2136,2127,1863,1997,2160,2221,2190,2211,2728,2651,1751,1806,2296,2320,2314,2166,2242,2581,2584,2359,2294,2302,2315,2376,2075,2037,2199,2467,2318,2512,2295,2183,2204,2024,1769,1837,2230,2100,2114,2311,2894,2469,2558,2512,2674,2379,2281,2136,1997,2142,1897,1891,2220,2108,1682,2241,2326,2356,2453,2206,2434,2743,2367,1857,1871,2134,2313,2584,2406,2480,2359,2171,2184,2357,2362,2462,2266,2101,2336,2449,2478,2190,2335,2460,2229,1887,1703,1887,2121,1948,1777,2099,2553,2489,2556,1521,1101,1569,1847,1834,1690,2070,2414,1945,1714,1698,2030,2214,2102,2124,2294,2020,2358,2386,2030,2254,2259,1980,1886,1951,2170,2581,2337,1867,2326,2338,2125,2122,2346,2667,2536,2731,2947,2483,2621,2400,2222,2012,1964,2151,2136,2166,2104,2199,1807,1636,2186,2487,2413,2522,2091,2135,2185,2286,2212,1804,1867,1824,1676,1859,2069,2096,2054,2380,2598,2274,2163,1523,1348,1220,1368,1688,2128,2565,2842,2802,2536,2934,2785,2109,2060,1685,1270,1362,1484,1579,1696,1937,2451,2819,2798,2669,3184,3395,3129,2295,2082,2743,2762,2524,2064,1861,1803,1649,1774,2078,2009,1992,2284,2329,2093,1823,1700,1881,2010,1923,2188,2411,2462,1918,1707,1673,1624,2100,2131,2046,2149,2667,3620,3715,3683,3543,2995,2705,1780,1565,2040,2051,1973,1866,2018,1986,1884,1787,1560,1883,2492,2223,1898,1998,1853,2294,2116,1824,2099,1899,1700,1979,2015,2443,2864,2532,2352,2043,2452,2651,1917,2006,1802,1626,1935,1878,1330,1614,1799,2530,2842,2050,1926,2133,2669,2071,2022,2105,1713,1787,1781,1587,1742,2029,1792,1883,1838,2524,3016,3140,3200,3073,2589,2068,1713,1774,1854,1959,1998,1988,2443,3484,3740,3453,3321,3332,3131,2927,2928,2335,2210,3231,3195,2799,2321,1841,1688,1680,1477,1439,1709,1810,1584,1699,1903,1788,1641,1318,1633,1613,1654,1642,1833,2220,1956,1574,1403,1240,1351,1499,1512,1505,1471,1769,2037,2050,1445,1161,1330,1362,1382,1417,1714,1694,1572,1372,1431,1411,1424,1538,1432,1436,1629,1909,2004,1729,1650,1648,1590,1557,1588,1494,1395,1371,1555,1473,1320,1438,1494,1646,1998,2216,1638,1478,1758,1848,1835,1609,1686,1626,1584,1698,2061,2326,1841,1599,1746,1820,1645,1434,1434,1605,1418,1443,1614,1824,2179,2696,2621,1785,1300,1360,1418,1641,1857,1890,2254,2424,2032,1607,1660,1562,1444,1510,1475,1533,1610,1559,1699,1505,2116,2439,2283,2184,1900,1548,1532,1877,2416,2364,2664,1987,1667,1639,1832,2020,1956,1737,1763,2137,2536,2874,3416,3443,3317,3167,3134,3174,3251,3255,2823,2254,1887,1684,1616,1537,1892,2401,2832,2442,2298,2184,1842,1650,1900,2088,2088,2376,2408,2238,2348,1908,1926,2535,2698,2466,2188,1886,1703,1552,1403,1588,1710,1674,1836,1856,1913,2206,1854,1622,1811,2590,3480,3432,2546,1843,1582,2399,2775,2685,2620,2468,1943,1643,1548,1801,2127,2048,2447,3118,2214,1947,1929,2061,2061,1926,1528,1271,1549,1842,1955,2154,2001,1658,1834,1901,1830,2142,2155,1962,1674,1566,1796,2214,2198,2202,2246,1677,1691,1693,1826,1477,1580,1623,1783,2406,2299,2123,2589,2467,2009,1716,1603,2290,1941,1661,1489,2046,2237,1908,1599,1907,2523,2732,2541,2266,1783,2398,2564,1917,1576,1500,1700,1583,1715,2123,1937,1575,1622,1870,1848,1645,1593,1501,1542,1443,1521,1949,2125,2267,2931,2383,1592,1480,2030,2107,1938,2287,2117,1655,1472,1594,1609,1692,1759,1491,1424,1432,1776,1736,1551,1805,1980,1678,1616,1588,1689,2016,1988,1553,1350,1304,1719,1813,1632,1763,2380,2547,2458,2535,2858,2632,2101,1869,1742,2183,1559,1500,1840,2091,2164,2115,1824,1936,2480,2626,1892,1830,2292,2715,2526,2278,2226,1510,1270,1429,1521,1434,1437,1538,1537,1382,1541,1600,1648,1825,1860,1575,1757,1747,1561,1890,1938,1609,1667,1700,1692,1718,1567,1485,1504,1691,1871,1660,1812,2113,1670,1603,1770,1865,2123,2242,1814,2202,2289,2412,2896,2481,2117,1862,2067,2640,3075,3155,2509,2022,1721,1695,1550,1427,1357,1426,1742,1548,1315,1452,1430,1621,2641,2592,2030,2066,2019,1937,1950,1983,1804,1560,1472,1531,1786,1771,1776,2164,2062,1781,1854,1864,2138,1882,1320,1395,1626,1710,1699,1802,2087,1993,1853,2049,2328,2512,2614,2033,1437,1079,1221,1706,2026,2259,2658,2365,1776,1064,1561,2006,2006,1903,1991,1888,1853,1760,1760,1848,1765,1659,1704,1775,2322,3551,2841,2930,3796,2770,2280,2425,2459,2857,2750,2986,3498,3406,3419,3544,3248,2752,2513,2662,2570,2096,2238,2437,2595,2625,3060,2791,2418,2329,2306,2462,2355,2338,2100,2075,2850,3361,3364,3221,2400,2010,2556,2593,2664,2623,3112,3318,3508,3373,2931,3031,2828,2499,2688,2812,2971,3222,2976,2938,3550,4062,3808,3365,3011,2551,2215,2168,2171,2531,2370,2811,3259,2832,2667,2734,2890,3321,3338,3043,3006,3073,2912,2821,2825,3099,3226,2951,2984,2938,2802,2627,1772,1757,2367,2834,2530,2156,2089,1995,2065,2248,2155,1917,2088,2081,2444,3319,3423,2884,2421,2264,2114,1826,2358,2553,2507,2864,3021,3007,3346,3442,3064,2874,3038,3044,2866,2694,2791,3230,3520,3338,3212,3332,3420,3176,3329,3693,4093,4432,4516,4467,4516,3960,3463,3465,3980,4577,4804,4961,4776,4492,4589,4474,4309,3910,4240,4464,4352,3787,2453,1274,635,539,522,472,473,503,511,518,570,615,664,688,691,751,851,920,929,914,963,1027,1049,1074,1168,1248,1490,1676,1753,1920,2115,2238,2508,2551,2754,2445,2337,2237,2186,2031,1709,1421,1200,1012,961,981,1010,989,997,1105,1241,1333,1323,1250,1194,1124,1398,1714,2238,2912,3387,4320,4444,4608,4857,4620,3979,3686,3885,4195,4240,4041,3884,3772,4122,3958,3786,3971,3729,3637,3708,3780,3774,3853,3956,3892,3737,3692,3716,3816,3960,4128,3937,3640,3517,3471,3452,3459,3549,3643,3733,3893,4164,5112,5847,5988,5627,4499,4078,3868,4000,4228,3852,3161,2960,2767,2931,3281,3403,3670,3676,3646,3838,3564,3144,2998,3146,3185,3212,3154,3055,3011,3086,3146,3075,3044,3041,3086,3235,3153,3213,3378,3442,3382,3458,3452,3226,2999,2888,2844,2784,2783,2884,2988,2952,2984,3154,3270,3362,3354,3230,3137,3265,3359,3458,3599,3688,3492,3164,3321,3317,2933,2228,1890,1959,1843,1997,2414,2945,2784,2595,2573,2736,2931,2644,2452,2423,2453,2438,2730,3018,3043,3902,4092,3082,2907,3212,2759,2176,2361,3012,3032,2923,3032,1982,1026,688,546,410,467,526,705,1224,1719,2508,2888,3146,3234,3339,3427,3277,3283,3334,3328,3459,3761,4111,4049,4114,4295,3791,3645,3548,2984,1636,622,656,582,980,2267,3530,3637,4048,4252,4132,4344,4300,3904,3587,3508,3682,4050,3978,3714,3491,3451,3203,3278,3608,4176,3618,2629,3086,3772,3254,2831,3300,3650,3605,2864,2610,2658,2492,2851,2398,2005,2373,2026,1439,1620,2192,2446,2589,2708,3233,3031,2954,3089,3124,3050,2808,2824,3191,3820,3619,3485,3750,3716,3749,4030,4093,4111,4100,4214,4376,4328,3929,3696,3631,3211,3188,3114,3129,3065,2930,2911,2791,2470,2773,3404,3077,2766,3508,3902,4376,3952,3582,3542,3332,3203,3018,2731,2701,2987,3191,3328,3293,3429,3520,3537,3851,3826,3438,3032,2484,1864,2226,2733,1869,1571,2074,2557,2695,4094,4752,3225,1751,1755,3596,4470,4117,4143,4001,4164,4477,3994,3708,3704,3660,3672,3703,3660,3608,3791,4064,3576,2592,2095,2001,3360,3706,3857,4148,3581,3189,2639,2281,1888,1428,1395,1465,1490,1724,1703,1552,1552,1444,1381,1422,1434,1450,1722,1975,2110,2283,2048,1820,1428,1471,2045,2410,2367,2163,2034,1939,1962,1959,1851,1764,1873,1834,1808,1946,1765,1863,1642,1429,1349,1787,2109,2156,2272,2351,2200,2397,2386,2355,2103,3022,3972,3518,2203,1672,1997,2319,2294,2070],[3287,2664,2308,1647,1149,1097,1623,2925,3364,3010,2589,2480,2359,2554,2214,2059,1986,1648,1685,2269,2886,2985,2832,2150,2209,2520,3217,3426,3084,2394,2187,2476,2497,2131,2486,2519,2208,2282,2212,2059,2026,2111,2930,2524,1837,1912,2250,2285,2181,2282,1858,1359,1407,1562,2065,2762,2728,2525,2505,2253,2193,2742,3342,2917,2995,3055,2949,3582,3562,2976,2500,1792,1651,2391,2584,2118,2302,2313,2352,2636,2584,2462,2561,2600,2443,2398,2927,3223,2846,2400,1895,1460,1824,2236,2207,2587,2502,2561,2489,2517,3008,2944,2791,2344,2092,1973,1670,1859,2401,2366,2181,2158,2185,2212,2304,2219,2115,2491,2871,2910,2883,2842,2668,2231,2269,2278,2843,3021,2690,2458,2379,2258,1799,1659,1825,1118,907,1117,1857,2359,2419,2262,1994,2221,2437,2109,1505,1640,1847,2064,2390,2301,1970,2623,3212,3029,2811,2721,2142,1773,1876,1886,2155,2136,2210,2550,2370,1871,1733,2287,3064,3157,2994,3094,3149,2903,2555,2497,2320,2796,2453,2019,2432,2605,2634,2966,2851,2448,2708,2966,3178,3439,3860,3791,3593,3623,3564,3155,2776,2235,1711,1802,1664,1718,2319,2358,2514,2181,2270,2229,2069,1997,2546,2895,3179,3118,2829,2985,3586,3234,3045,3208,3321,2998,2806,3212,3296,2587,2379,2807,2842,2690,2758,2139,2408,2391,2467,2310,2262,2476,2647,2698,2844,2977,3032,3152,3271,2687,2026,1746,1971,1950,2143,2080,1815,1765,1929,2069,2337,2550,2476,2702,3472,3485,3112,2965,2541,2445,3501,3991,3815,3772,3840,3749,3381,3372,3421,3550,3688,3489,3364,3415,3453,3210,3364,3553,3455,3552,3525,3473,3392,3293,3571,3627,3560,3414,3873,3940,3492,3034,3010,2943,2535,2407,2250,2163,2636,2718,2499,2452,2498,2397,2031,2072,2183,1968,2305,2106,2077,2278,1797,1698,2208,2169,2370,2335,2206,2122,2003,2352,2418,2422,2609,2507,2523,2425,2972,3636,3091,2512,2317,2304,2124,2170,2164,1920,2187,2148,2115,2226,2627,2649,2464,2347,2175,1851,1941,1960,2033,2154,2062,2270,2092,2036,2027,2441,2585,2418,2264,2182,2239,2191,2039,1853,1797,2098,2151,2319,2216,2278,2235,2094,2426,2338,2115,2126,2241,2532,2737,2207,2577,2348,2289,2524,2268,2175,2177,2270,2316,2232,1789,1789,2514,2564,2467,1453,1514,1932,1856,1730,1459,2278,3001,2054,1748,2032,2238,1933,1870,2147,2492,2150,2283,2286,1970,2099,2078,1693,1722,1829,1959,2176,1909,1915,2161,2120,2122,2146,2492,2684,2718,3384,3025,2501,2566,1874,1865,1815,2003,2100,1858,1858,1871,1896,1566,1709,2120,2101,2182,2418,3046,2852,2432,2486,1971,1667,1998,1798,1835,1879,1980,1907,2054,2308,2925,2687,2039,1726,1682,1501,1532,1729,2040,2392,3032,2956,2419,2344,2253,2222,2177,1621,1340,1518,1695,1951,2221,2468,2796,2923,2870,1788,1820,2642,3006,2264,2075,2917,2950,2575,2044,1669,1457,1536,1572,1502,1725,1777,1717,1771,2018,2192,2269,2428,2668,2372,2325,2432,2015,2008,1835,1820,1899,2592,2736,2503,2439,2967,3791,3820,3463,2835,2088,2008,1895,1726,1757,1904,1945,1894,2061,1973,1864,1993,1911,1745,2049,1836,1696,1664,1798,1937,2043,1989,2062,2237,1865,1834,1880,2439,2912,2565,1891,1858,2622,2445,1745,1726,1668,1623,2017,2222,1377,1866,1960,2808,3122,3009,2844,2112,2002,1803,1947,2341,1922,1792,1781,1678,1934,2287,2524,2138,1800,1942,2402,2924,2896,2631,2715,2786,2462,2666,2413,2320,2059,1881,2231,2902,3173,3017,2879,2663,2537,2171,2326,2189,2514,3208,2686,1780,1495,1594,1867,1596,1222,1340,1497,1552,1493,1621,1743,1712,1650,1326,1705,1794,1556,1445,2094,2729,2240,1879,1452,1034,1273,1385,1557,1644,1483,1780,2443,2248,1444,1217,1448,1397,1529,1455,1677,1639,1636,1549,1483,1676,1700,1383,1416,1529,1648,1740,1611,1389,1380,1572,1730,1637,1700,1721,1632,1618,1717,1734,1669,1761,1765,1882,1537,1519,1647,1646,1624,1488,1388,1407,1609,1575,1426,1583,1861,1951,1938,1897,1882,1767,1645,1629,1611,1537,1434,1439,1513,1537,1396,1519,1443,1493,1550,1650,1822,2099,2294,2402,2438,2635,2581,1947,1705,1627,1606,1650,1803,1828,1570,1506,1660,1754,1904,1979,1920,1783,1495,1827,1910,1825,2040,2060,1924,1675,1490,1595,1934,1884,1664,1714,1763,1972,2535,3630,3869,3495,3204,3055,3148,3271,3309,3235,2709,2306,1981,1609,1529,1598,1618,1882,2099,1976,1798,1590,1526,1705,2018,2417,2630,2511,2083,2046,2188,1909,2100,2759,2978,2916,2715,2026,1853,1601,1559,1619,1700,1671,1983,2089,2302,2287,2021,1742,1508,1844,2423,2988,2533,2017,1597,2775,2896,2766,2411,1697,1547,1747,1586,1393,1707,2392,2830,3191,2192,1763,1846,1805,1914,2193,1933,1524,1676,1943,2012,2563,2730,2059,1881,1568,2011,2223,2163,2183,2035,1904,1897,1725,1641,2750,3229,2475,2018,1837,1573,1494,1502,1508,2082,2602,2322,2101,2425,2327,1949,2058,2204,2846,2132,1389,1366,1730,1921,1761,1574,1938,1958,2279,2501,2245,1731,1901,1848,1968,2098,2162,2160,1814,2090,2135,2250,1994,2098,2264,1854,1542,1571,1559,1471,1447,1392,1655,2039,2142,3044,2097,1545,1587,2220,2112,1949,2156,2028,1840,1645,1763,1650,1555,1410,1356,1499,1509,1759,1802,1629,1925,1782,1685,1784,1614,1550,1527,1509,1471,1506,1613,1920,1793,1908,1815,1763,2017,2461,2154,1917,1685,1663,1897,1779,2188,1810,1627,1960,2350,2343,2318,1958,1844,2231,2047,1886,1590,1719,1836,1990,2396,2567,2191,1951,1864,1659,1358,1391,1608,1670,1591,1776,1669,1731,1743,1562,1491,1535,1425,1325,1403,1454,1610,1963,1820,1892,2268,1791,1512,1498,1619,1626,1641,1921,1958,2105,2345,2299,2490,2249,2201,2230,2387,2620,2541,2163,2084,2415,2259,2081,2127,1829,2419,2269,1866,1540,1468,1493,1471,1545,1783,1802,1681,1322,1304,1416,1417,2030,1523,1572,1786,1945,1923,1899,1891,1831,1786,1734,1547,1434,1624,1708,1754,1684,1709,1633,1680,2320,2252,1610,1409,1593,1927,1916,1586,1901,2305,2184,2286,2692,3179,2597,1735,1463,1355,1491,1982,1950,1840,2492,2577,2151,1760,2491,2178,1303,1432,1996,1826,1633,1831,1808,1740,1661,1543,1673,1771,2334,3413,2877,3261,3919,2810,2634,2750,2409,2741,2143,2791,3270,3248,3274,3451,3276,2834,2964,3437,3223,2901,2734,2291,2642,2412,2755,2777,2692,2562,2558,2492,2436,2373,2242,2381,3034,3516,3232,2963,2160,2322,2841,2539,2289,2722,3190,3415,3533,3140,2701,2757,2891,2584,2591,2645,2820,2798,2775,2840,3206,3763,3673,3382,2945,2312,2087,2098,2226,2610,2269,2418,3039,2953,2454,2369,2510,3015,3119,3356,3444,3333,2923,2630,2972,3006,2989,3062,2920,2709,2513,2247,1830,1852,2767,3813,3782,2711,2398,2229,2002,2295,2272,1788,1889,1900,2005,2542,2972,2502,2388,2443,2496,2260,2523,3063,3054,3020,3009,3105,3388,2764,2673,3175,3250,3018,2781,2756,3010,3378,3586,3614,3427,3464,3683,3594,3654,3881,4120,4152,4030,4335,4688,4487,4177,3834,4143,4519,4716,4736,4748,4520,4052,3874,3735,3498,3898,4129,3920,2458,801,562,525,500,500,446,458,480,494,505,524,544,601,643,631,650,737,792,780,781,849,926,974,1034,1082,1011,1122,1336,1434,1607,1813,1888,2190,2231,2435,2366,2140,2055,2114,2022,1764,1432,1196,1017,894,870,878,833,807,827,879,943,999,989,943,898,970,1447,1484,1296,1600,2777,3684,4498,5018,5060,4904,4771,4488,4263,3986,4005,4131,3967,4329,4119,4057,3874,3758,3725,3804,3897,4033,4041,4119,4135,3919,3838,4055,4199,3879,3935,3915,3817,3843,3688,3521,3451,3498,3551,3596,3872,4476,5067,5471,5860,5309,4596,4166,3696,3958,4124,3259,2307,2635,3132,3719,3462,3522,3705,3348,3146,3262,3393,3319,2996,3154,3097,3175,3294,3176,3133,3215,3161,3123,3133,3226,3329,3337,3293,3263,3575,4189,3893,3154,3103,3183,3019,2830,2805,2819,2879,2941,2957,2967,3038,3083,3195,3318,3167,3071,3123,3168,3207,3252,3371,3618,3674,3816,3921,3819,3297,2480,1853,1830,1863,2014,2833,3615,3494,3129,2835,2962,2949,2417,2305,3120,2451,1924,2651,3040,3072,3090,2584,2368,3068,2952,2564,2239,2186,3083,3471,3460,3034,1854,1352,1376,744,411,409,423,453,402,490,780,1160,2374,3110,3236,3267,3176,3206,3237,3283,3369,3838,3949,3662,3908,4038,4014,3813,3653,3639,2311,623,567,563,658,1019,2475,3612,4133,4329,4126,4212,4552,4420,3859,3874,3940,3987,3652,3460,3375,3340,3369,3365,3550,4162,3990,2952,3110,4111,3807,3006,3287,3500,3628,2812,2065,1927,2213,2864,2858,2508,2492,2610,2072,2171,2470,2896,2875,2626,3033,3337,3234,3159,3679,3874,3141,3211,3316,3768,3661,3435,3730,3917,3965,3893,3907,4080,4141,4169,4165,4176,3984,3927,3973,3421,3189,3142,3144,3121,2984,3007,2888,2480,2868,3603,3122,3303,3916,4083,4259,3973,3580,3471,3565,3419,3279,3299,3239,3279,3339,3326,3378,3449,3621,3355,2872,2424,2010,1645,1441,1339,1767,2802,2857,2065,1847,2338,2416,3386,4448,3361,1588,1715,3586,4464,3808,3450,3504,3505,4056,4110,3904,3774,3837,3740,3614,3820,3974,3990,4093,3495,2286,2199,2591,3564,3946,4288,4296,3913,3565,2644,1903,1634,1537,1325,1321,1433,1450,1458,1486,1663,1646,1515,1524,1564,1454,1558,1731,1782,1611,1637,1577,1547,1422,1991,2755,2615,2474,2934,2990,2763,2800,3028,3101,2950,2204,1942,2420,2579,2021,1571,1345,1317,1582,1854,1833,1804,2106,1881,2461,2666,2227,1963,3062,3852,3898,3311,2429,2198,1977,1983,2633],[2705,2059,1918,1889,1846,1769,2276,3124,2958,2486,1738,1639,2149,2441,2296,2337,1884,1630,2055,2192,2213,2520,2453,2216,2295,2545,3118,3373,2732,2214,2244,2373,2287,2146,2294,2280,2510,2421,1922,1686,1684,1741,1957,1991,2010,2212,2536,2246,2482,2226,1897,1826,1680,1879,2653,2732,2414,2526,2648,2556,1930,2052,2711,2561,2644,2254,2386,2866,3160,3034,2144,1647,2257,2655,2373,2685,3282,2699,2440,2061,2267,2872,3277,3105,2416,2373,2876,2522,1818,1888,1722,1606,1534,1832,2626,3233,3112,3363,3094,2763,2954,2501,2424,2292,2405,1930,1385,1940,2275,2087,1914,1929,1988,2132,2076,1366,1498,2269,2846,2854,2768,2756,2262,1908,1688,2043,2946,3042,3088,3252,3096,2346,1836,2119,2445,1614,1594,2099,2369,2351,2161,1970,1806,1954,2491,2293,1816,1822,1901,2193,2078,2122,2543,2812,3010,3150,2991,2456,1744,1765,2065,1819,2058,1779,1779,1842,1863,2000,1886,1996,2728,2908,2728,2525,2780,2935,2878,2661,2592,2479,2045,2146,2500,2640,2657,2788,2752,2352,2442,2836,3062,3371,3583,3789,3978,3738,3528,3432,3284,2854,2306,2143,1520,1552,2365,2331,2380,2380,2502,2426,1990,1946,2705,3171,3419,2965,2896,3116,3328,2927,2744,3057,3096,2828,2867,3097,2578,2070,2966,3400,2416,2536,2420,2344,2780,2623,2676,2585,2600,2779,2690,2685,2965,3068,2452,2269,2503,2444,2244,2172,2148,2245,2468,2136,1843,1797,1606,1853,2214,2542,2501,2497,2763,2399,2332,2924,3039,3500,4133,3986,3730,3855,3738,3413,3294,3320,3256,3327,3447,3334,3186,3355,3527,3269,3234,3350,3494,3716,3607,2801,2759,2890,3295,3492,3382,3490,3749,3740,3284,2844,3162,3248,3023,2573,2232,2235,2729,2614,2256,2115,2402,2547,2490,2259,1910,1841,2195,2419,2314,2500,2020,1891,2250,2276,2142,2005,1852,1931,2423,3203,3066,2318,2300,2464,2621,2522,2868,3350,2985,2345,2104,2295,2143,2495,2408,2228,2050,2145,2222,2009,2258,2394,2132,2072,1992,2215,2338,2087,1887,1967,2189,2291,2156,2021,1783,2247,2745,2526,2230,2173,1937,2133,2145,1869,1948,2352,2156,2076,2064,2286,2112,2017,2780,2623,2487,2428,2430,2446,2525,2262,2557,2581,2422,2285,2258,2478,2410,2565,2392,2387,2087,2024,2138,2312,2113,1520,1488,1619,1427,1307,1544,2254,2626,2174,1918,1993,2233,2211,2107,2048,2190,2123,2077,1893,1760,2269,2038,1892,1728,1867,1916,1865,1747,2057,2265,2041,2026,1794,1854,2135,2580,2917,2323,2547,2444,2145,2314,2090,2358,2476,2009,1825,1672,1743,1648,1677,1796,1810,1906,2022,2491,2459,2404,2356,1882,2059,2223,1767,1771,1944,1886,1570,1608,1808,2292,2626,2173,1891,1875,1920,1764,1848,1867,1935,2182,2420,2403,2226,2425,2577,2261,1765,1892,2052,2177,2348,2523,2817,3000,2900,2984,1878,1472,2284,2916,2392,2082,2968,2990,2740,2139,1847,1650,1998,1686,1459,1673,1834,1722,1804,2412,2598,2358,2120,2681,2517,3166,2945,2028,2059,1556,1199,1322,1899,2625,2690,2497,3226,3052,2644,2173,2190,1892,1646,1882,2133,1872,1493,1413,1723,2288,2236,1636,1830,1870,1759,1659,1780,1745,1844,1838,1715,2084,2141,2248,2986,2614,2432,2585,2821,2777,2356,2260,2530,2780,2722,2377,2143,1704,1839,2402,2161,1484,1835,1802,2592,3152,3051,2662,1983,1686,1658,2106,2601,2371,1765,1637,1897,2570,3011,2722,2158,1948,1884,2468,3134,2576,2341,2404,2830,2830,2971,2645,2598,2230,1836,1918,2138,2342,2850,2604,2055,1948,2114,2640,2297,2142,2157,1666,1367,1513,1710,1886,1541,1436,1484,1392,1355,1549,1613,1638,1701,1666,1504,1776,1867,1678,1641,1990,2664,2635,1725,1403,1248,1679,1842,1786,1798,1539,1503,1538,1287,1199,1177,1325,1306,1324,1467,1688,1619,1627,1457,1745,2510,2186,1342,1390,1418,1474,1455,1276,1312,1291,1283,1444,1458,1474,1514,1457,1538,1526,1534,1606,1706,1942,2000,1698,1732,2024,1786,1490,1554,1511,1470,1454,1422,1422,1711,2114,1895,1742,1710,1728,1733,1777,1898,1600,1468,1412,1577,1545,1515,1444,1504,1423,1474,1784,1910,2019,2297,2510,2573,2237,2069,2050,1765,1542,1453,1467,1493,1664,1738,1655,1565,1966,2575,2401,2321,2218,2208,1844,2564,2620,2289,2144,2020,1658,1489,1622,1834,1938,1721,1644,1772,1651,2109,2693,3692,4195,3749,3056,3140,3184,3322,3292,3051,2620,2266,2113,1775,1605,1651,1635,1589,1550,1590,1550,1419,1572,2004,2590,2769,2834,2546,2047,1997,2045,1847,2042,2563,3025,3052,2915,2096,1798,1642,1544,1643,1692,1771,2098,2454,2241,1873,2166,2193,1750,1791,2182,2454,2045,1863,1919,2511,2397,2205,1882,1519,1560,1477,1450,1490,1516,1681,2640,2596,1880,1577,1643,1618,1713,2089,2025,1878,1910,2067,1904,2781,2801,2177,1772,2254,2474,1864,1896,1912,1824,2085,1897,1677,1529,2513,3195,2791,1909,1497,1434,1447,1525,1530,1764,2049,2032,2495,2451,2126,1794,1713,2060,2398,2155,1916,1640,1864,1825,1794,1597,1694,1665,2099,2453,2146,1794,1730,1579,1804,2088,2094,2132,1991,2384,2020,2498,2664,2664,2156,1633,1554,1761,2000,1670,1664,1605,1607,1887,2343,2844,1973,1496,1660,1930,1663,1732,2091,2652,2402,1774,1863,1798,1742,1318,1367,1812,1838,1789,1599,1599,1615,1322,1513,1715,1600,1396,1474,1409,1611,1593,1689,1897,1931,1823,1691,1605,2231,2762,1794,1754,1790,2028,2114,2210,2479,2273,1669,2198,2639,2328,2208,1412,1298,1778,1933,2255,1817,1772,1850,1856,1875,2207,2492,2194,1758,1780,1553,1626,1526,1541,1987,1962,1741,1751,1562,1626,1625,1404,1353,1452,1727,1830,2035,2530,2304,2232,2924,2480,1783,1903,1842,1500,1675,1698,1885,2222,2351,2908,3000,2310,2565,2436,2092,2222,2295,2164,1923,2176,2503,2121,2072,2051,2027,1964,1742,1512,1376,1421,1424,1442,1636,2053,2504,2169,1915,1758,1817,1618,1465,1612,1537,1662,1843,1926,1974,1934,1666,1590,1346,1291,1572,1527,1446,1882,1929,1629,1599,1620,1548,1406,1457,1533,1511,1479,1408,1656,2349,2025,1923,2542,2930,2630,1957,1749,1714,1807,1959,1882,1622,1797,2031,2235,2105,2302,2116,1448,1262,1638,1651,1776,1782,1670,1556,1434,1433,1700,1824,2324,3499,4184,4401,3816,2774,3222,3015,2408,2675,2697,3560,3770,3698,3671,3811,3688,3122,3207,3815,3843,3825,3487,2386,2496,2389,2584,3030,2934,2588,2428,2509,2774,2503,2448,2365,2552,3327,3194,2520,2074,2654,3038,2553,2252,2635,2953,3050,3000,3019,2632,2283,2372,2337,2232,2086,2092,2210,2345,2472,2489,3205,3292,3245,2981,2769,2797,2467,2626,2525,2202,2460,2530,2557,2298,2203,2515,2764,2954,3385,3692,3753,3111,2707,3072,3275,3373,3228,2706,2363,2196,2498,2458,2051,2110,3220,3686,2713,2218,2566,2430,2218,2118,1780,1789,1630,1620,2136,2493,2321,2332,2440,2365,2284,2725,3317,2877,3017,2853,3095,3624,3108,2740,3374,3544,3354,3108,3138,3379,3507,3924,3995,3806,3645,3637,3748,3819,3863,4003,3908,3694,3897,4452,4696,4648,4292,4357,4419,4576,4515,4439,4424,3576,2952,3184,3772,3955,3704,3032,1178,601,551,481,452,437,433,442,455,461,478,488,491,562,599,592,596,645,699,698,678,726,811,849,976,1011,877,883,1072,1224,1309,1544,1673,1910,2081,2061,2031,1946,1864,1946,1853,1742,1477,1190,996,854,797,785,743,687,684,703,724,772,800,817,919,1626,2334,1269,1345,1600,1590,1836,2796,3838,4620,5268,5135,4964,4732,4544,4472,4445,4307,4371,4190,4220,4233,3994,3955,4284,4412,4440,4475,4652,4717,4196,4007,4143,4308,4231,4188,3990,3659,3527,3609,3518,3487,3274,3310,3467,3926,4816,3916,4347,5583,4509,3705,3986,3709,3439,3651,3040,2430,2230,2705,3774,4018,3724,3139,2498,2303,2486,3152,3676,3312,3138,3027,3142,3242,3302,3292,3271,3216,3121,3149,3229,3496,3775,3243,3362,4085,4564,4320,3463,3051,3162,3160,2978,2907,2928,2998,2993,2899,3003,3029,3130,3256,3225,3124,3112,3096,3090,3181,3144,3064,3076,3134,3508,3626,3946,3858,2980,2300,2095,2135,2438,3197,3982,3820,3428,3304,3156,3168,2119,1858,3120,2918,2509,3135,3240,2634,2069,2067,2332,3232,3308,2778,2414,2509,2877,3598,3930,3029,1626,797,664,547,420,386,380,374,399,399,404,806,2126,3119,3284,3228,3142,3155,3162,3207,3221,3431,3428,3273,3503,3542,3664,3876,3982,3640,1766,644,512,522,615,640,1284,2479,3265,3209,3262,3679,3957,4363,4208,4120,3969,3776,3619,3539,3318,3259,3432,3454,3750,4647,4423,3221,2732,3360,2938,2482,3064,2993,2723,2601,2567,2513,2666,2976,3012,2639,2194,2338,2391,3012,2792,2827,3105,2972,3076,3145,3364,4727,6119,6300,4595,4424,3486,3464,3595,3320,3443,3693,3752,3758,3591,3772,3851,3653,3500,3645,3507,3284,3404,3231,3064,3150,3166,3083,3096,3260,3348,3187,3294,3487,3168,3347,3702,3827,3653,3628,3560,3508,3664,3694,3570,3596,3561,3505,3480,3337,3289,3204,2976,2133,1266,994,885,733,893,1411,1450,2132,2886,2707,1814,1978,2168,2523,3697,3526,2191,2500,3912,4256,3770,3444,3304,3264,3552,3602,3581,3547,3470,3429,3659,4120,4299,4035,3632,3809,3342,3065,3384,4014,4342,4372,4188,3984,3276,2081,1850,1736,1582,1467,1542,1512,1423,1388,1400,1414,1416,1471,1472,1588,1507,1498,1645,1864,1694,1738,1830,1539,1360,2066,2380,2257,2633,3016,3064,3431,3365,3115,3024,3124,2558,2147,2503,2635,2495,2031,1571,1570,2190,2525,2247,2301,2783,2696,2482,2518,2272,2320,2668,2908,3420,3403,3005,2688,2135,2313,3142],[1933,1676,1625,1881,2434,2304,2611,3085,3022,2106,1313,1629,2232,2306,2257,2253,1750,1893,2631,3065,2733,2890,3076,2623,2148,2218,2732,2911,2337,2488,2194,2358,2481,2031,1969,1864,2176,2320,2177,2005,1803,2076,2413,2712,2753,2788,2412,2327,2867,2565,2120,1776,1625,2113,2651,2579,2369,2483,2652,2888,2385,2237,2100,2119,1873,1730,1944,2074,2291,2331,2128,2170,2665,2442,2167,2527,3123,2723,2072,2005,2630,2961,2757,2198,2200,2364,2500,2154,2255,2778,2671,2093,1792,2232,2903,3006,2507,2805,2618,2752,3098,2479,2512,2385,2314,1930,1738,1755,1653,1749,1772,1819,2041,2109,1756,1337,1200,1399,2409,2776,2559,2315,1819,1572,1651,2148,3398,3332,2817,2964,3244,2350,2745,2884,2952,2662,2665,2749,2612,2365,2067,2158,1976,2083,2567,2416,2084,2016,1971,1735,1859,2275,2484,2840,2931,2679,2372,1889,1748,1802,1891,1806,2259,2039,1744,1604,1459,1590,1768,1828,2087,2263,2313,2213,2676,2952,3051,2786,2742,2429,2097,2355,2313,2091,2255,2339,2612,2261,2446,3041,3052,3120,3262,3498,3550,3297,3089,3209,3179,2907,2530,2118,2061,2065,2240,2534,2559,2521,2634,2384,1714,1586,2413,2719,2756,2756,2983,3024,2779,2809,2898,2781,2475,2254,2486,2643,2686,3122,3915,3484,2096,2210,2327,2988,3270,2861,2466,2446,2688,2822,2698,2613,2887,3000,2276,2069,1973,2248,2297,2303,2556,2767,2789,2189,1891,2155,2249,2658,2684,2500,2469,2643,2725,2586,2921,3382,3376,3562,3715,3746,3556,3841,3679,3481,3306,3146,2994,3009,3141,3164,3183,3319,3401,3293,3401,3607,3362,3374,3702,3053,3250,3492,3284,3234,3294,3350,3495,3252,2565,2038,2716,3020,3360,3039,2562,2507,2519,2415,2136,2115,2500,2612,2499,2198,1977,2025,2188,2433,2629,2532,2041,2008,2302,2393,2020,1932,2214,2587,2915,3416,3365,2503,2426,2253,2162,2308,2438,2711,2766,2535,2396,2356,2447,2436,2103,2230,2019,1807,1953,2234,2358,2035,2237,1967,1788,2189,1944,1852,1735,2050,2380,2177,2165,2030,1941,2520,2953,2724,2679,2683,2296,2044,2120,2264,2568,2500,2198,2101,2202,2501,2409,2252,2581,2967,3240,3119,3176,2395,2522,2689,2131,2214,2298,1968,1953,2298,2310,2531,2436,2222,2014,2001,2030,2110,2207,2022,1505,1494,1191,1128,1369,1974,2292,2420,2456,2224,2052,2096,2020,1817,1958,2036,2237,2227,1906,2204,1932,1889,1904,1792,1673,1879,2045,2396,2586,2203,1992,1788,1975,2385,3068,3110,2257,2171,2199,2240,2263,2091,2288,2338,2405,2159,2144,2099,2266,1940,1665,1548,1808,2143,2171,2158,2073,2018,1946,2364,2568,2346,1948,1899,1649,1366,1521,1730,1973,2072,1841,1945,1860,1839,1976,2019,2004,2515,2196,2230,2245,2056,1787,1770,1963,1872,1701,1866,2184,2432,2542,2896,2921,2752,2276,1223,1610,2633,2930,2304,2117,2977,3021,2981,2378,1635,1694,2145,1999,1943,2254,2799,2637,2020,2509,2486,2359,2568,3121,3219,3496,2641,2530,2879,1652,880,962,1599,2255,2106,2164,2749,2348,2179,2096,2082,2000,1638,1610,1702,1747,1839,1686,1729,2209,2056,1564,1708,1715,1871,1932,1794,1733,1792,1770,2106,2186,2023,2377,3047,2916,2874,2856,2836,2589,2198,2333,2710,2788,2853,2792,2396,1816,1746,2269,1582,1398,1820,1742,2134,2778,2933,2947,2265,1870,1744,2302,2567,2445,2359,2587,2898,3008,2933,2531,2227,2385,2612,2414,2451,2531,2729,2080,2342,3028,3002,2750,3018,2722,1873,1743,1850,2311,2712,1978,1867,1804,1842,1945,1863,1776,1779,1575,1606,1668,1515,1836,1887,1544,1492,1442,1490,1542,1575,1621,1550,1348,1299,1584,1771,1738,1749,1787,1979,2267,2069,2030,1651,1571,1666,1670,1574,1449,1357,1355,1411,1297,1230,1294,1214,1316,1534,1700,1746,1541,1374,1551,1940,1871,1340,1315,1431,1433,1372,1379,1400,1350,1271,1424,1451,1467,1631,1360,1421,1386,1286,1366,1519,1899,1895,1440,1717,2189,1828,1655,1602,1582,1481,1355,1184,1248,1516,1817,1810,1779,1622,1592,1526,1593,1942,1466,1482,1966,1947,2091,1930,1565,1409,1367,1626,1803,1745,2020,2488,2288,2372,2488,2024,1585,1707,1810,1663,1487,1446,1591,1688,1598,1530,1916,2234,2308,2411,2181,2326,2569,2036,1961,1870,1690,1796,1797,1432,1615,1831,1869,1746,1662,1672,1976,2338,2664,3171,3737,3302,2988,3466,3218,3198,3146,2746,2523,2445,2205,1868,1820,1767,1619,1540,1618,1738,1457,1593,1615,2060,3002,3173,2857,2706,2479,2381,2425,1961,1772,1815,2182,2456,2558,2095,1827,1965,1682,1557,1613,1658,2267,2389,1777,1729,2263,2606,2195,1992,2153,2400,1910,1843,2165,2385,2458,2085,1777,1592,1462,1490,1546,1660,1722,1713,1695,1698,1716,1726,1768,1759,1805,1906,1851,2053,1980,1800,1635,1749,1905,1859,1938,2340,2035,1623,1651,1693,1805,2194,2271,1756,1413,1730,2207,2144,1536,1527,1460,1464,2061,1917,2210,1936,1859,2119,2552,2190,1548,1494,1732,1615,2030,2543,1757,1559,1499,1723,1588,1642,1577,1949,2235,1971,1682,1643,1532,1649,2077,2392,2484,2221,2194,1754,1812,2314,2505,2073,1849,1710,1802,2201,1907,1754,1814,1961,1990,2750,3360,2403,1611,1930,2015,1747,1782,2207,2766,2397,2079,2088,2107,2142,1459,1608,2239,2025,1491,1261,1538,1395,1333,1320,1413,1587,1577,1499,1489,1466,1397,1641,1911,1954,1918,1794,1741,1944,2297,1941,1954,1881,2216,2297,2230,2531,2395,1947,2316,2386,2094,1825,1076,1185,1737,2171,2256,1920,1918,2052,2021,2148,2294,2846,2729,2222,2049,1893,1823,1504,1703,1914,1750,1920,1994,1758,1688,1562,1464,1388,1614,1929,2457,2750,2720,2575,2675,3002,2316,1906,2269,2156,1887,2221,1829,1803,1981,2368,3240,3122,2276,2016,1784,2035,2357,2243,2510,1931,2014,2466,2180,1885,1614,1470,1576,1832,1885,1729,1636,1328,1311,1653,2270,2570,2644,2186,1755,1853,1542,1497,1556,1504,1469,1589,1854,1964,1860,1662,1589,1490,1333,1804,1878,1411,1460,1326,1428,1565,1439,1318,1386,1580,1654,1704,1820,1669,1541,1703,1649,1986,2484,2480,2869,2483,1905,1855,1906,1983,2246,1897,1648,2140,2460,2253,2140,2302,2368,1831,1568,1539,1524,1808,1921,2055,2237,2272,2303,2317,2602,2744,2700,2534,2722,3320,3639,3083,2398,2287,2303,2149,2218,2483,2720,2795,2665,2454,2608,2861,2971,2885,2746,2095,2009,2286,2676,2886,2573,2280,2278,2385,2549,2449,2191,1882,2193,3049,3254,2662,2335,3006,2898,2321,2176,2617,2955,2975,2902,2955,2576,2371,2552,2542,2210,2002,1852,1949,2025,2349,2248,2698,2876,2828,2753,2850,2894,2864,2808,2278,2376,2637,2336,2191,2313,2424,2597,2662,2833,3066,3617,3762,2975,2659,3155,3417,3747,2992,2248,2187,2196,2429,2344,2231,2261,2321,2496,2482,2006,2055,2309,2415,2025,1855,1867,1614,1386,1737,1982,2093,2215,2198,2416,2682,2802,3017,2676,2966,2842,3164,3646,3692,3604,3495,3504,3480,3278,3563,3620,3722,4221,4161,3809,3513,3144,3105,3365,3679,3863,3618,3386,3665,4303,4539,4464,4369,4308,4366,4531,4675,4539,4373,3835,3022,2983,3604,3807,3399,2779,1002,498,454,419,425,421,417,423,431,438,454,468,454,507,555,544,555,556,591,616,605,639,717,808,885,880,789,803,914,1160,1229,1419,1543,1663,1920,1925,1752,1742,1628,1726,1743,1699,1510,1204,952,811,736,707,673,631,623,629,638,639,661,685,837,1451,1962,1488,2278,2723,1731,1187,1592,2329,2906,3559,4638,5000,5191,5097,5040,4909,4791,4692,4618,4659,4649,4476,4287,4336,4343,4389,4516,4531,4507,4127,4239,4655,4551,4496,4761,4184,3437,3348,3476,3496,3507,3296,3417,3493,4221,4417,2985,3636,4941,3452,3011,3449,3817,3375,3327,3404,3267,2872,3287,4063,3929,3107,2170,1942,2072,2332,3243,3948,3838,3431,3107,3183,3297,3311,3352,3330,3252,3175,3173,3228,3700,3820,3603,3746,4309,4400,4129,3598,3099,3173,3382,3305,3100,3034,3053,2994,3042,3112,3176,3145,3145,3152,3106,3118,3064,3001,3062,3046,2937,2923,2887,2763,2822,3249,3625,3067,2152,2223,2637,2776,2689,3086,3221,3166,3597,3541,2928,1891,1828,2688,3201,3459,3714,3186,2268,2237,2086,2252,2840,3428,3255,2966,2723,2588,3249,3444,3342,3146,2393,1409,844,513,466,395,392,382,390,455,1295,3053,3435,3361,3285,3155,3052,3134,3244,3310,3319,3131,3127,3372,3447,3505,3808,4060,3061,1145,566,474,469,513,600,760,946,1034,1109,1362,1931,3246,4496,4372,4077,4127,4286,4285,4006,3581,3370,3499,3762,4087,4585,4427,3200,2845,2973,2535,2542,3242,3486,3124,2841,2754,2366,2773,3227,3813,2824,2162,2276,2354,2545,2382,2855,3284,3020,3261,2811,3307,5945,6676,5767,4240,4561,4012,3602,3631,3303,3232,3561,3592,3549,3117,2945,2742,2404,2035,1928,1973,1993,1974,1875,2019,2454,2753,2940,2977,2906,3002,3173,3317,3375,3046,2885,3114,3199,3183,3283,3272,3096,3089,3105,3197,3234,3229,2985,2840,2692,2377,2026,1674,1073,707,725,914,911,1092,1783,1566,1399,1846,2571,2358,1981,1909,1826,2535,3333,3276,3941,4296,4256,3875,3693,3476,3319,3237,3148,3262,3343,3317,3429,3426,3858,4240,3732,3000,4054,4300,3904,3909,4082,4140,4007,3896,3479,2678,2103,2160,1824,1497,1434,1469,1462,1367,1271,1309,1324,1399,1321,1217,1483,1486,1422,1633,1955,1873,1839,1975,1305,1288,2034,1588,1599,2221,2414,2852,3146,3018,3073,3263,3309,2652,2374,2692,2722,2699,2113,1687,1615,1735,1968,2380,2750,3073,3106,2818,2530,2707,2909,2642,2675,2943,2965,3298,3277,2841,2908,3273],[2013,1818,1700,2079,2724,2868,2920,3009,2967,2563,2291,2187,2449,2270,1972,1918,1793,1929,2586,3185,3122,3306,3386,2753,2019,2193,2416,2320,2320,2720,2573,2509,2222,2079,1858,1312,1405,2066,2589,2534,2236,2482,2415,2951,2950,2745,2143,2112,2246,2474,2346,1781,1662,2314,2702,2503,2524,2844,2754,3173,3304,2551,2055,1972,1633,1676,1759,1817,1892,1968,2076,2519,2476,2157,1874,1926,2384,2367,1964,2386,3083,2910,2931,2738,2890,2477,2298,2701,3245,2976,2768,2302,1885,2158,2415,2163,2021,2702,2350,2580,3091,2886,3260,2628,2036,2143,2100,1898,1600,1777,1893,1844,2197,2006,1726,1930,1874,1563,1831,2191,2266,2024,1555,1847,2230,2435,3689,2951,2431,3108,3150,2495,2727,3070,3426,3442,2905,2704,2750,2283,1988,1933,1745,2104,2626,2314,2215,2341,1982,1694,2188,2563,2921,3523,3160,2605,1926,1762,1812,1952,2032,1988,2033,2025,1932,1843,1456,1673,1921,2152,2214,1800,1996,2430,2864,2807,2617,2372,1913,1678,1942,2532,2583,2173,2028,1957,2502,2441,2824,3175,2852,2855,3062,2870,3102,2954,2584,2985,3032,2940,2696,2087,2095,2136,2271,2617,2764,2844,2580,2245,2109,2078,2297,2277,2470,2665,2916,2896,2735,2835,2681,2492,2621,2496,2335,2493,2908,3431,3781,3067,2008,2050,2468,2806,2887,2278,1750,2169,2613,2770,2607,2585,2954,3194,2807,2305,2111,2417,2549,2589,2873,2755,2314,1815,2002,2822,2878,2531,2380,2491,2712,2769,2584,2579,3198,3503,3491,3645,3738,3558,3295,3519,3692,3629,3232,3016,3020,3019,2988,3055,3195,3296,3244,3262,3285,3438,3272,3031,3102,3029,3056,3147,3010,3125,3116,3133,3195,2464,2096,1785,2383,2955,2938,2910,3043,2814,2480,2326,2002,1860,1914,2060,2255,2362,2399,2451,2399,2324,2513,2545,2250,2018,2163,2498,2229,2002,2238,2580,2510,2369,2518,2122,1809,1879,2548,2343,2192,2891,2796,2236,1976,2425,2697,2320,1936,2132,2276,1909,2097,2519,2503,2416,2345,1890,1566,1875,1763,2023,2226,1949,2050,2192,2204,2062,2216,2334,2464,2500,2625,2645,2498,2381,2396,2039,2020,2086,2096,1976,2132,2662,2849,2796,2379,2307,2542,2634,2490,2013,2142,2118,1910,2686,2601,2069,1852,2180,2267,2351,2446,2415,2367,2286,1990,1738,1904,1367,881,1091,998,1295,1783,1952,2093,2357,2227,2133,2006,1795,1990,1989,2088,2244,2148,1876,1861,2530,2410,1921,1744,1729,2239,2573,2212,2348,2104,1901,1813,1907,1916,2332,3074,2852,2268,2166,2054,2024,2100,2298,2279,2388,2294,2187,2337,2266,2365,2075,1543,1638,2029,1901,1986,2136,1938,1808,1838,2046,2396,2264,2019,1417,1328,1947,1988,1946,1858,1770,1810,1901,1844,1719,1938,1962,2101,2145,2090,2221,2162,2135,1528,1600,1868,1789,1466,1654,1976,2307,2211,2553,2944,2929,2029,1201,2364,3002,3077,2114,2274,3131,2894,2292,1927,1585,1588,1884,2006,2227,2248,2622,2490,2107,2197,2290,2612,3046,3220,3204,3073,2453,2563,2942,1780,1688,1636,2053,2138,2041,2338,2581,2630,3075,2896,2385,2267,1691,1825,1697,1957,2361,2226,1868,1853,1812,1770,1920,2001,2027,1888,1708,1535,1518,1486,1685,1939,1974,2052,2293,2363,2254,2102,2007,1963,1963,1952,1863,2189,2085,2133,1900,1988,1841,1748,1605,1643,1848,1841,2105,2865,2715,3062,2301,1804,2236,2269,2220,2198,2497,2878,2788,2780,2728,2714,2487,2800,2933,2586,2220,2431,2800,2249,2432,3382,3651,3474,3533,2734,1784,1733,1917,2331,2791,2202,1999,1807,1739,1705,1608,1596,1649,1564,1629,1488,1443,1986,2431,1770,1530,1615,1698,1650,1483,1489,1471,1171,1136,1508,1613,1616,1759,1829,1910,1842,2062,2149,1734,1420,1471,1592,1521,1378,1437,1498,1574,1537,1569,1464,1403,1826,1969,1831,1820,1592,1403,1342,1488,1458,1331,1360,1496,1603,1521,1355,1354,1268,1236,1401,1332,1448,1588,1532,1750,1619,1399,1520,1694,1850,1815,1664,1760,1844,1584,1930,2306,2161,1652,1493,1399,1344,1215,1489,1860,1888,1778,1707,1714,2048,1809,1550,1358,1485,1779,2518,2535,2094,1558,1403,1573,1814,2069,2208,2259,1970,2478,2878,2732,1987,1650,1768,1627,1569,1651,1606,1775,1745,1509,1725,2244,2680,2411,2325,2790,2631,2045,1764,1706,1846,1724,1577,1449,1678,1826,1843,1990,1852,2414,2921,2938,2930,2601,2337,2830,3616,3947,3449,2975,2485,2373,2556,2436,1814,1634,1806,1761,1624,1715,1608,1651,1280,1798,2050,2172,2546,3052,3041,2774,2589,2340,2446,2299,1932,1676,1830,2018,2226,2057,2067,2322,1874,1825,2083,1804,1886,1671,1908,1864,1722,2165,2155,2156,2144,1866,2035,2596,2630,2490,2464,2008,2091,1952,1604,1632,1781,1959,2101,1795,1595,1855,1814,1654,1676,1665,1715,1710,1569,1729,1886,1831,1635,1605,1613,1570,1644,1632,1802,1842,1550,1659,1922,1903,2070,1919,1920,1771,1788,2094,2241,1988,1568,1484,1712,1538,1792,1887,2170,2354,2276,1860,1715,1902,1884,1663,2473,2850,2352,1765,1564,1678,1678,1629,1520,1736,2060,1865,1688,2127,2260,2440,2327,1915,1815,1898,1825,1568,1678,1710,1632,1654,1537,1504,1594,1978,1956,1686,1921,2143,2055,2964,3731,2768,1990,2143,2222,2047,2016,2112,2047,2086,1910,1796,1771,1848,1732,2073,2250,1613,1056,1140,1537,1452,1401,1342,1464,1615,1659,1564,1626,1520,1402,1636,1975,2009,1925,1887,1809,1520,1511,1902,1807,1985,2429,2093,2072,2105,2103,2154,2083,1986,1863,1720,1199,1399,1948,2199,2019,1967,2492,2527,2402,2479,2373,2447,2322,2533,2102,1959,2002,1758,1815,1972,2029,1967,1750,1696,1710,1631,1598,1637,1559,1454,2165,2662,2858,2519,2479,2905,2634,2661,2780,2325,2371,2546,2297,2244,2075,2148,2917,2819,2220,2035,2013,2424,2480,2073,2144,1765,1973,2185,2082,1749,1673,1530,1476,2232,2897,2975,2273,1575,1656,1938,1799,1835,1786,1675,1693,1535,1499,1454,1560,1590,1744,1769,1641,1751,1958,1833,1670,1577,1400,2043,2082,1582,1408,1343,1326,1459,1433,1433,1395,1521,1474,1681,1914,1910,1746,1634,1790,2101,2182,1886,2176,1847,2049,2457,1853,1660,2304,2148,1714,1990,2235,2190,2234,2266,1999,1581,1712,2075,2591,3375,3640,3532,3540,3706,3462,2756,2776,2313,2563,2710,2817,3043,2944,2833,2561,2499,2652,2511,2441,2495,3054,3188,3072,2902,2908,2734,2719,2766,2630,2302,2249,2367,2490,2618,2307,2271,2217,2146,2150,2003,1816,1570,2185,3089,3368,2923,2645,3079,2554,2278,2636,2710,2565,2596,2736,2676,2490,2575,2822,2788,2478,2386,2061,2032,2148,2336,2320,2297,2266,2263,2411,2231,2163,2213,2071,1759,2402,2636,2243,2383,2601,2674,2579,2719,2942,2942,3185,3133,2612,2901,2835,2620,3011,2446,1882,1948,2127,2173,2002,2160,2212,1917,2208,2691,2081,1961,1696,2046,2238,2371,2156,1599,1419,1547,1643,1936,2125,2269,2676,3061,2796,2723,2940,3052,2812,2983,3391,3729,3608,3439,3582,3265,3210,3526,3541,3903,4516,4324,3715,3291,2858,3007,3291,3343,3292,3161,3352,4188,4471,4529,4465,4489,4549,4576,4510,4643,4619,4223,4015,3852,3472,3290,3491,3636,2918,1143,481,465,417,402,412,400,416,421,431,434,441,448,466,502,522,525,498,512,561,579,597,639,733,798,865,855,891,995,1223,1243,1259,1380,1469,1721,1864,1735,1725,1548,1460,1600,1612,1506,1239,945,781,694,644,608,589,597,590,591,579,583,629,627,748,1504,2552,3781,4111,3305,1952,1152,1512,2038,2094,2328,3503,4798,5376,5309,4964,4702,4719,4767,4795,4707,4732,4628,4564,4455,4501,4516,4456,4489,4192,4240,4664,4876,4877,4966,4035,3535,3477,3475,3578,3419,3354,3507,3802,4396,3378,1998,2536,3658,2907,2886,2805,3011,2986,2745,3053,3683,3957,4228,3947,2713,1996,1750,1805,1922,2116,3143,3991,4237,3875,3207,3164,3312,3166,3340,3398,3350,3266,3187,3397,4177,3939,4000,4101,3833,3660,3627,3437,3193,3199,3237,3514,3307,3162,3045,2999,3078,3217,3265,3133,3136,3222,3217,3105,2983,2998,2918,2897,2909,2865,2857,2684,2616,3105,3770,3491,2691,2468,2635,3068,2296,2123,1862,2209,2897,2978,2633,2489,2864,2737,2018,2602,3400,3384,2592,2834,2863,2946,2939,3348,3747,3515,2690,2730,3253,3371,3244,3392,3142,2956,2608,1960,1223,705,568,455,440,556,1854,3790,3789,3503,3373,3284,3185,3130,3164,3263,3156,2954,3100,3286,3398,3462,3610,3256,1680,718,506,442,447,491,594,696,683,812,831,656,960,2758,4196,4062,3992,4283,4340,4176,4028,3688,3623,3741,4060,4428,4434,4226,3687,3594,3321,3021,3134,3409,3770,3653,3543,3282,2284,2757,3421,3558,2414,2014,2174,2222,2184,2555,3309,3466,3075,3428,3196,3198,3939,3839,3383,3540,5053,5133,3986,3927,3841,3207,3129,2570,2630,2169,1763,1621,1354,1439,1456,1239,1278,1508,1664,1511,1488,1659,1717,1687,1653,1677,1657,1708,1686,1539,1566,1649,1831,2002,2076,1846,1452,1311,1548,1663,1525,1321,1331,1407,1294,1233,1355,1405,1063,714,705,1134,1213,1382,1793,1688,1221,1137,1978,2652,2201,1729,1671,1648,2403,2964,3930,4416,4272,3838,3730,3552,3190,3155,3198,3249,3294,3323,3395,3322,3464,3743,3984,4152,4448,4281,3907,3835,3829,3864,3937,3697,2745,2356,2221,2308,1850,1429,1399,1374,1341,1316,1385,1416,1268,1441,1275,1178,1321,1153,1145,1432,1918,2086,1984,2115,1741,1898,2052,1531,1663,1722,1716,1946,1816,1870,2364,3050,3100,2597,2608,2824,2767,2758,2273,1716,1335,1771,2643,2984,3384,3671,3394,3108,3308,3728,3836,3781,3825,3941,3539,3399,3300,2658,2181,2806],[2134,2110,1936,2252,2364,2369,2642,2805,2808,2911,2683,2360,2663,2519,2068,1831,1759,1786,2030,2186,2091,2413,2827,2286,2168,2654,2749,2052,1555,1900,2265,2182,2001,2057,1946,1521,1654,2678,2928,2545,2714,2617,2635,2369,2302,2111,2338,2260,1745,1819,1958,2040,1976,2663,2728,2503,2959,3110,2325,2084,2359,2146,1831,1837,1872,1757,1682,1624,1593,1902,2366,2754,2219,1769,1845,1904,2180,2443,2298,2819,3341,2714,2544,2635,2456,2543,2681,2878,2766,2259,2702,2850,2768,2568,2159,1826,2258,2708,2880,3116,3182,3150,3286,2751,2466,2527,1706,1697,1921,2157,2214,1967,1804,1569,1686,2003,2190,1881,1683,1954,2199,1903,1306,1721,2504,3121,3407,2385,1841,2235,2654,2567,2522,2857,3231,2872,2309,2587,2498,1997,1773,1724,2047,2327,1942,1718,2080,2515,2116,1825,2401,2597,3003,3319,3009,2341,1774,1592,1694,2140,2388,2257,2180,1922,1638,1878,1919,2014,2437,2564,2266,1940,2099,2476,2757,2675,2096,1858,1707,1365,1348,2289,2284,2388,2207,2124,2352,2452,3038,3451,2934,2665,2889,3393,3150,2634,2135,2245,2423,2635,2608,2310,2123,2092,2325,2325,2639,2733,2276,2264,2382,2318,2293,2539,2987,3076,2987,3006,2862,2495,2014,1995,2482,2778,2496,2278,2540,2459,2901,3120,2246,1898,2273,2526,2387,1946,1819,2141,2729,2825,2495,2598,2884,3171,2909,2258,2169,2492,2690,2064,1295,1704,1993,2142,2483,3011,2757,1888,1571,2169,2644,2661,2795,2949,3322,3522,3602,3767,3905,3679,3494,3431,3639,3652,3276,3123,3001,2973,2988,3064,3172,3261,3275,3345,3051,2591,2616,2824,3051,3233,2940,2921,2977,3132,3086,2919,3046,2319,2129,1951,2041,2294,2267,2664,2967,3055,2918,2578,2130,2003,1996,2029,2454,2512,2921,2981,2499,2430,2473,2072,2077,2068,2326,3217,2852,2065,1896,1904,1270,1391,1798,1277,1455,1544,2303,2405,2287,2816,2395,1986,2078,2225,2420,2688,2526,2845,3002,2431,2327,2676,2962,2409,2084,2244,1939,2402,2346,2078,2244,2063,1990,1987,1804,1836,2072,1795,2196,2890,3092,2986,2945,2987,2380,1885,2265,2449,2101,2322,2514,2994,3065,2935,2669,2408,2430,2275,2070,1976,2225,1880,2086,2142,2050,1909,1835,1888,1861,2040,2335,2389,2154,2065,2097,1866,2169,1301,1122,1384,1230,1299,1322,1509,2021,2213,2207,2078,1823,1653,1674,1960,2099,2335,2090,1867,1832,2359,2455,2156,2090,2138,2493,2477,2177,2232,1957,1885,2118,1877,1848,2609,2766,2736,2945,2917,2239,2015,2510,2641,2394,2609,2285,2169,2498,2408,2319,2179,1741,2156,2512,2579,2006,1899,1535,1553,1930,2370,2035,1728,1665,1197,1876,2446,2191,2346,2015,1681,1759,1879,1892,1830,1985,2093,2130,1985,1904,2086,2316,2426,2027,1727,1953,1781,1458,1708,2129,2433,2481,2854,3416,2768,1498,1779,3440,3415,3059,2105,2467,3272,2717,2258,2496,2050,1729,1835,1687,1720,1753,1743,1961,1891,1873,2306,2981,3511,3285,3083,2906,2344,1608,1367,1382,1736,1650,1935,1912,2115,2406,2778,3265,3372,3277,2924,2587,2018,2009,2057,2145,2023,1950,1891,1962,2010,1911,1935,1879,2058,2310,2116,1690,1532,1438,1622,1962,1908,1774,1809,2164,2658,2983,3075,2915,2938,3064,2786,2868,2448,2275,2615,2667,2070,2033,2256,2026,1904,2115,2122,2243,2169,2205,1807,1659,1905,1922,2061,2006,2072,2328,2294,2285,2215,2476,2590,2471,2425,2452,2149,2213,2464,2434,2667,3345,3782,3416,3165,2513,2062,1987,1999,2075,2076,2018,1881,1761,1812,1703,1648,1544,1543,1443,1446,1437,1413,1783,2258,1805,1670,1883,1784,1856,2089,1758,1569,1506,1625,1583,1417,1482,1434,1640,1691,1602,1780,1745,1725,1776,1776,1624,1654,1643,1647,1663,1706,1746,1785,1850,1919,1826,1695,1622,1715,1622,1439,1343,1317,1449,1399,1431,1746,1938,1654,1440,1367,1315,1273,1287,1367,1351,1504,1876,1896,1650,1748,1877,1793,1839,2208,2447,1857,1570,2080,3234,3586,2449,1786,1715,1569,1323,1195,1613,2048,2200,1971,1749,1664,1594,1559,1571,1504,1614,1700,1752,1958,1889,1436,1198,1184,1545,2178,2758,1868,1424,1558,1982,2602,2171,1582,1491,1555,1848,2095,2208,2343,2338,1996,2357,3196,3041,2341,2687,3305,2873,2068,1709,2097,2019,1905,1622,1637,1736,1759,1918,2090,2672,3319,3272,3715,2963,2229,2126,3188,3749,3718,3171,2540,2212,2354,2585,2337,1985,1982,1844,1765,1462,1547,1665,1597,1423,1580,1907,2179,2354,2304,2523,2811,2984,2626,2364,2167,1976,1913,1751,1684,2004,1807,1607,1728,1632,1932,2251,1979,1964,1725,2116,2069,1661,1839,1955,2230,2665,2165,2006,2466,2369,1965,2062,2182,2598,2357,1720,1675,1756,1784,1892,1787,1577,1727,1737,1662,1653,1722,1771,1606,1529,1546,1656,1771,1859,1699,1528,1879,1668,1706,1752,2087,2204,2339,2135,1579,1484,1666,1859,1815,1825,2233,2504,1765,1652,1653,1489,1485,1393,1433,1604,2001,2229,2156,2169,2047,2004,2179,2597,2507,2386,2262,1870,1594,1716,1929,1951,2017,2057,1741,1680,1856,1979,2116,2055,1809,1542,1671,1573,1452,1516,1421,1375,1420,1460,1522,1547,1976,2150,1925,1944,2076,1917,1998,2275,2097,1828,1775,1930,1913,1643,1519,1735,1766,1432,1218,1245,1525,1538,1565,1626,1464,1317,1357,1631,1625,1605,1417,1454,1660,1639,1829,1820,1502,1391,1564,1897,1912,1936,1884,2008,1800,1849,2140,1913,2591,2946,2029,1915,1908,2111,2043,1887,1833,1744,1757,1481,1642,2101,2139,2088,2231,2814,2574,2376,2121,2381,2079,1692,1631,1841,2098,2079,1888,1825,2273,2584,2410,2280,1859,1940,1809,1465,1540,1623,1980,2575,2912,2711,2114,2593,3405,3716,2688,2864,2322,2580,2636,2451,2479,2322,2459,2459,2235,2331,1868,1942,2354,1873,1971,1918,2055,2266,2039,1803,1947,2133,1909,1799,2174,2266,2364,1859,1549,1592,1666,1647,1754,1866,1831,1571,1577,1727,1415,1492,1544,1885,1811,1439,1362,1765,1878,1865,1773,1627,1543,1490,1482,1528,1425,1287,1327,1428,1403,1349,1438,1614,1835,1945,2078,1678,1664,1808,2216,1773,1546,1966,2331,2819,2556,1661,1331,1552,2230,1737,1660,1645,2173,2382,2094,1654,1920,2658,3250,3650,3899,3882,3790,3794,3965,3793,2714,2585,2736,3133,2720,2434,2606,2517,2457,2622,2750,3507,3187,2596,2738,3504,4373,4328,3871,3836,3746,3487,3436,3403,3069,2781,2494,2604,2521,2183,2104,2078,2026,1908,1694,2082,2621,2890,3166,3304,3029,2769,2742,2337,2568,2832,2514,2106,2084,2393,2621,2721,2625,2381,2453,2258,2279,2299,2336,2721,3017,2707,2373,2396,2621,2932,2493,2713,2661,2259,2171,2375,2397,2202,2556,2828,2822,2834,2818,2886,2983,3095,3222,3125,3270,2403,2420,2885,2551,2081,1835,1929,2115,2168,2113,2007,2160,2821,2752,2421,2159,1900,1729,1895,2360,2598,2180,1711,1595,1580,1598,1738,2134,2381,2557,2740,2451,2446,2593,2796,3175,3285,3484,3708,3641,3322,3040,3188,3305,3163,3480,4233,4502,3974,2788,2344,2954,3119,2845,3054,3027,3008,4109,4497,4153,4153,4349,4517,4632,4619,4753,4751,4206,4105,3943,3543,3194,3299,3924,2984,1144,524,423,409,381,397,398,408,415,415,428,422,435,442,468,499,505,491,505,518,543,561,576,649,721,778,805,945,1171,1302,1237,1152,1217,1317,1571,1706,1625,1666,1635,1365,1375,1485,1460,1251,947,751,663,596,562,551,551,547,550,560,547,561,583,581,913,1775,2862,3848,3949,2397,1247,1139,1714,1990,1853,2164,3484,4689,4863,4928,4846,4884,4859,4816,4787,4805,4732,4765,4646,4664,4670,4732,4672,4473,4240,4268,4400,4684,4520,4045,3984,3960,3674,3506,3325,3317,3499,4131,4224,2303,1829,2001,2597,2910,3022,2897,2503,2285,2248,2614,3218,3836,3862,3077,2054,1857,1821,1738,1914,2424,3241,3897,4354,4258,3603,3453,3637,3298,3405,3445,3365,3304,3287,3710,4372,4236,4019,3686,3359,3680,3338,3222,3232,3254,3202,3316,3586,3592,3237,3024,3064,3253,3127,2966,3219,3381,3339,3144,3097,3063,2884,2806,2929,2949,2848,2667,2768,3164,3683,3565,2984,2598,2766,3021,2293,1845,1466,1499,2007,2395,2336,2359,2945,2920,2387,2719,2986,3382,3205,3166,3427,3614,3349,2586,2497,2675,2573,3431,3770,3506,3370,3420,3366,3616,3748,3550,3336,2521,1671,1158,701,925,2513,3961,4068,3874,3704,3471,3271,3220,3175,3197,3021,2950,3010,3161,3359,3412,3506,2430,987,584,476,438,418,449,532,658,674,744,845,823,922,2460,3628,3755,3915,4235,4207,4056,3929,3762,3497,3664,3828,3958,3975,3574,3100,3035,3006,3340,3583,3010,3002,3227,3379,3257,2599,2599,2925,2812,2587,2369,2280,2714,2828,3334,3915,3526,3811,3851,3391,2965,2972,3145,3347,3544,3749,3771,3396,3686,3623,2143,1735,1372,1783,1844,1361,1338,1132,961,1303,1380,1139,1245,1522,1453,1274,1227,1163,1040,906,865,812,868,872,805,823,920,1011,1104,1109,965,890,828,772,767,812,820,801,824,761,912,1529,1763,1426,1071,1018,1573,1577,1360,1659,1775,1236,1035,1498,2385,2552,2049,1811,1419,1654,2163,2972,3950,4388,3973,3403,3464,3162,3220,3286,3276,3136,3308,3286,3272,3326,3420,3820,4290,4398,4266,3697,3510,3505,3767,3905,3555,2898,2508,2163,2035,1752,1359,1273,1185,1156,1221,1370,1289,1164,1203,1221,1341,1339,1197,1244,1413,1926,2277,2025,2094,2178,1865,2065,2077,1945,1676,1699,1777,1577,1490,2181,3074,2864,2316,2349,2408,2551,2741,2432,2017,1770,2439,3487,3750,4020,4168,4093,3783,4110,4412,4296,4265,4339,4348,4255,4033,3484,2705,2112,2565],[1973,1881,2029,2334,2298,2364,2622,2859,2984,2973,2816,2591,2591,2494,2600,2620,2418,2188,2089,2098,1444,1487,2525,2766,2851,2912,2663,1644,1388,1946,1959,1784,1936,2055,2214,2406,2734,2818,2745,2427,2676,2927,3492,3253,2438,2111,2110,1771,1700,1394,1750,2152,2364,2668,2532,2332,3050,3129,2468,2204,1743,1795,2160,2110,1976,2116,2098,1736,1660,1993,2573,2680,2246,2089,1680,1794,2386,2395,2840,3404,3096,2267,2336,2273,2048,2579,2974,2750,2370,2173,2866,2526,2059,1873,1622,2261,2666,2575,2774,2858,2844,2978,2898,2640,2580,2304,1592,2051,2520,2583,2247,1359,895,1231,1933,2293,2194,1661,1772,2350,2087,1985,1751,2446,2901,2876,2600,2069,1721,2082,2531,2601,2644,2729,2308,2035,2044,2404,2221,1932,1903,1975,2165,1900,1459,1669,1694,1937,1804,1882,2454,2565,3042,3296,2937,2170,1670,1540,1709,2113,2238,1914,1744,1581,1780,1924,1847,2017,2198,2253,2307,2126,2056,2388,2056,2032,1907,1797,1935,1648,1904,2278,2186,2961,3067,2164,1817,2094,2885,3218,3028,2176,1777,2335,2613,2667,2165,2154,2448,2325,2105,2254,2381,2368,2700,2488,2696,2895,2452,2335,2206,2253,2661,3076,3259,3264,3167,3117,2778,2778,2219,1885,2172,2641,2573,2081,1900,1905,2256,2608,2245,2356,2806,2591,2496,2075,1824,2038,2401,2381,2299,2281,2469,2722,2414,2178,2204,2486,2712,2162,1422,1632,1854,2039,2569,3090,2530,1516,1562,2175,2632,3042,3458,3334,3474,3780,3566,3661,3671,3581,3516,3293,3395,3370,3350,3216,2922,2999,3040,3239,3306,3153,3196,3320,2940,2529,2736,3116,3304,3066,2836,3009,3227,3275,2965,2857,3034,2953,2642,2274,2193,2048,1840,2978,3226,3163,3494,3112,2425,2359,2220,2389,2744,2786,2978,2797,2457,2308,2219,1844,1901,2294,2520,3146,2932,2191,2036,1746,1308,1931,1936,1452,1847,2000,1819,2031,2298,2793,2322,2043,1988,1777,2547,3367,2737,2863,2480,2263,2250,2729,2624,2407,2666,2544,2004,2042,2120,2122,2132,2165,1992,1931,2098,2223,1990,1763,2292,2963,3060,2943,2854,2600,2246,2308,2505,2952,2618,2335,2510,2806,2599,2579,3007,3682,3666,2965,2588,2320,2220,2320,2236,1847,1883,1930,2087,2120,1925,1999,2172,2224,2263,2644,2588,2003,2246,1544,1147,1206,1461,1775,1601,1775,2108,2077,1705,1565,1610,2047,2276,2380,2420,2402,2260,2013,1987,2064,2160,2171,2136,2266,2208,2004,1884,1936,2040,2316,2432,1792,1848,2381,2105,2654,3221,2713,2501,2178,2502,2369,2535,2461,2468,2593,2248,2187,2590,2362,1998,2050,2200,2578,2413,2458,2003,1669,1720,1791,1722,1847,1705,1749,2488,2150,2151,2287,1741,1805,1906,1969,1952,1917,1927,1850,1824,1799,1460,2081,2270,2127,1946,1831,1870,1708,1568,1662,1813,1741,1932,3042,4026,3152,2154,2874,3526,3305,2762,2017,2539,3096,2790,2722,2429,2097,1912,1842,1704,1912,2028,1805,1963,1893,1977,2153,2365,3022,2813,2808,2482,1797,1542,1483,1442,1292,1394,1621,1769,2198,2132,1922,2400,2851,3207,2745,2358,2201,1985,2100,2270,1930,1604,1708,1901,1898,1627,1531,1798,1959,1969,1998,1664,1566,1441,1364,1545,1754,1614,1635,2382,3152,3646,3710,3920,3851,3306,2982,3046,3147,2998,2733,2568,2260,2084,2162,2205,2191,2313,1943,1806,2060,1913,1851,1987,2189,2062,1882,2267,2630,2646,2589,2620,2504,2236,2180,2305,2420,2305,2118,2154,2346,2379,2263,2288,2308,2128,1884,1875,1780,2240,2482,2120,1948,1780,1731,1789,1909,1942,1899,1789,1830,2061,1912,1630,1500,1549,1707,1703,1860,1865,1711,1826,2383,1677,1683,1578,1521,1483,1540,1579,1468,1520,1588,1608,1586,1544,1639,1722,1615,1570,1615,1588,1632,1573,1572,1895,2152,2114,2124,1561,1475,1525,1740,1659,1398,1287,1580,1705,1576,1596,1558,1546,1596,1552,1671,1399,1352,1305,1442,1552,1745,1869,1830,1628,1505,1713,1675,1863,2696,2868,1949,1539,1867,2640,2378,1877,1997,1875,1635,1456,1458,1920,2272,2101,2048,1803,1727,1564,1482,1498,1504,1626,1897,1866,1654,1433,1332,1218,1287,1407,1398,1495,1439,1274,1341,1786,1827,1553,1618,1670,1672,1699,1926,2194,2059,1710,1937,2455,2584,2222,1944,2266,2531,2028,1547,1632,2212,1952,1959,1952,1904,2056,2051,1733,2483,3654,3638,2900,2218,1780,1859,2097,2518,3389,3916,3496,2714,2592,2784,2912,2743,2587,2688,2206,1891,1770,1891,1627,1551,1677,1745,1882,2014,2264,2142,1992,2391,3378,3237,2479,1700,1608,1710,1528,1547,1654,1559,1476,1721,2050,2228,1854,1699,2071,2035,1886,1789,1824,2232,2417,2570,2584,1931,1616,1723,1810,1895,2648,2472,2230,1986,1711,1572,1494,1315,1515,1683,1534,1636,1705,1857,1760,1727,1698,1547,1506,1664,1776,1503,1771,1921,1921,2035,1701,1511,1673,2109,2256,2048,1540,1374,1583,1736,1926,1789,1699,2264,2143,2003,2042,1689,1547,1509,1450,1395,1197,1976,2286,2049,1977,1793,1724,2019,2000,2160,2226,2188,2242,1807,1619,1861,1931,1907,1924,1621,1494,1316,1456,1399,1615,1877,1710,1775,1894,1729,1545,1404,1562,1657,1826,1820,1764,2010,2017,1874,1925,1866,1704,1528,1864,1765,1573,1503,1606,1800,1600,1501,1633,1532,1520,1380,1692,1820,1434,1343,1431,1685,1772,1928,1995,1575,1457,1433,1642,1574,1410,1510,1442,1617,1532,1564,1881,1869,1826,1950,2221,2194,2137,1917,2014,2401,2116,1954,1436,1282,1714,1836,2068,2073,2116,2424,2325,1882,1700,1597,1902,1763,2028,1844,1843,1764,2083,2039,1740,1851,2330,2442,2235,2023,2331,2828,2953,2795,2780,2036,1936,1796,1891,1891,1859,2558,3194,3172,2374,1712,2364,2536,2454,1862,2375,2398,2133,1838,2023,2128,1627,1830,2136,1969,2581,1763,2004,2187,1732,2011,2312,2686,2856,2540,2338,2105,2110,1923,1959,2594,2163,1774,1433,1355,1366,1410,1626,1818,1853,1691,1616,1655,1622,1584,1569,1706,1764,1530,1290,1247,1425,1715,1907,1917,1852,1726,1676,1417,1353,1359,1426,1356,1482,1381,1259,1477,1694,1862,2121,2194,1900,2127,2158,2158,2048,1854,2291,2844,3044,2595,1960,1540,2413,3060,1878,1487,1552,2125,2077,1826,1630,2417,3693,3980,3864,3914,3962,3884,3853,3850,3851,2629,2114,2411,2476,2357,2391,2536,2446,2318,2589,2701,3652,3154,2909,2532,2886,3972,4372,4411,4547,4439,4020,4180,4356,3432,3186,2700,2796,2647,2116,1968,2002,2008,1620,1576,2683,3199,3077,3083,3154,3218,2946,2724,2310,2458,2718,2435,2082,1970,2238,2806,3000,2555,2071,1909,1996,2461,2649,2680,3164,3675,3254,2374,2313,2833,3028,2945,2941,2452,2436,2795,2883,2688,2552,2707,2849,3015,3116,3063,3096,3217,3320,3264,3394,3229,2679,2877,3249,2997,2492,2260,2232,2155,2422,2221,2129,1948,1866,2051,2426,2287,2047,1889,1764,1785,2302,2825,2206,1729,1632,1669,1689,1773,2154,2586,2554,2276,2246,2146,2954,3685,3476,3426,3646,3544,3087,3019,2856,2929,3052,3094,3466,3886,3980,2664,1813,2288,2998,3156,3218,3159,2742,3458,4185,3873,3838,4035,4215,4531,4599,4536,4484,4123,4216,4030,3630,3266,3472,3979,2966,1109,553,410,385,375,383,396,398,422,452,448,427,430,432,439,451,466,469,484,489,503,513,534,584,652,696,728,853,1004,1121,1137,1066,1078,1179,1422,1548,1547,1549,1557,1463,1342,1319,1346,1211,963,766,637,572,540,522,514,515,522,526,514,540,571,565,651,931,1429,2435,3388,3041,2394,2012,2041,2249,2291,2580,2839,3805,4384,4808,5296,5172,4878,4803,4904,4876,4788,4788,4856,4902,4856,4880,4767,4740,4509,4314,4213,4417,4477,4431,4520,4428,3794,3441,3429,3782,3986,4681,3496,1875,1721,2041,2540,3156,3467,2988,2330,2084,1925,2138,2376,3050,3262,2989,2455,2187,1913,1942,2438,2866,3240,3739,3863,4060,3984,3095,3232,3634,3773,3710,3586,3464,3437,3916,4676,4764,4633,4112,3905,4094,3363,3175,3142,3191,3193,3200,3727,4040,3698,3096,3015,3097,3096,3068,3319,3616,3617,3537,3409,3208,2983,2875,2918,3042,3010,2622,2677,2980,3476,3519,3260,3107,3021,2943,2454,1952,1810,1426,1664,2421,2470,3177,3105,2752,3185,3429,3381,3372,3268,3134,3137,3313,3454,2255,2084,2460,2626,3073,3582,3855,3790,3833,3919,3660,3229,3293,3519,3403,3193,2776,2244,1989,2817,3870,4103,3960,4036,4062,3586,3384,3131,3096,3034,2978,2950,3119,3617,3749,3404,1982,708,490,434,409,414,455,492,591,705,785,854,893,887,1855,3313,3913,3939,4108,4287,3985,3522,3066,2730,2954,2773,2163,1741,1584,1649,1771,1874,2369,2353,1816,1892,2534,3062,3122,3198,3415,3245,2841,2722,2819,3015,3459,3478,3739,3964,3587,3834,3849,3513,3293,3431,3650,3637,3106,2569,3237,3040,2928,3196,2395,1813,1356,1461,1742,1444,1260,1236,926,933,1423,1353,1166,1236,1198,1085,1190,1225,958,809,784,716,741,781,781,754,846,803,1061,1146,989,848,754,775,828,860,924,860,912,1234,977,1259,1801,1883,1581,1333,1730,2007,1520,1515,2071,1345,1196,1570,2132,2319,2329,2042,1538,1382,1605,2202,3019,3876,4256,3925,3582,3240,3353,3360,3340,3164,3255,3275,3286,3322,3360,3657,4093,3811,3812,3449,3311,3516,3929,3930,3386,2609,2060,1826,1678,1538,1306,1318,1086,1022,1076,1107,1134,1195,1250,1275,1350,1352,1316,1444,1576,1970,2066,1869,1867,1822,2165,3188,3242,2774,2474,2193,1907,1791,1958,3220,4080,3330,2398,1931,2114,2339,2284,2239,2353,2397,2709,3286,3852,4272,4884,5328,4929,4679,4703,4451,4336,4327,4244,4042,3930,3975,3682,3060,2464],[2367,2270,2184,2442,2508,2360,2437,2813,3016,2863,2607,2415,2558,2727,3168,3112,2818,2644,2510,2702,2510,2234,2745,3482,3597,3206,2531,1595,1524,1773,1850,1806,2264,2413,2057,2372,3251,3142,2585,2534,2962,3514,3463,2971,2160,1866,1644,1603,1562,1597,2270,2667,2299,2104,2149,2448,2931,2774,2853,2896,2351,2349,2462,2323,2366,2497,2382,2071,1989,2330,2894,2750,2481,2130,1925,2255,2913,2808,3335,3589,2578,2207,2659,2822,2531,2261,2901,2845,2534,1975,1885,2375,2404,1871,1691,2076,2082,2513,3212,3108,2786,2721,2872,2956,2624,2249,1744,2333,2376,2399,2359,1875,1587,1643,2204,2658,2633,1796,2110,2449,2272,2296,2327,2315,2455,2718,2473,1989,1858,1967,2621,2676,2643,2301,1792,1941,2087,2271,2323,2182,1988,1785,1499,1519,1560,1681,2090,2372,2197,2182,2579,2383,2432,3046,3056,2357,2059,1664,1726,1721,1644,1513,1383,1519,1821,1593,1525,1678,1705,1709,1871,1998,2076,2223,1765,1967,2024,2160,2142,1820,1796,2238,2733,3566,3497,2302,1257,1912,3016,3074,2676,1590,1504,1916,2191,2424,2418,2453,2403,2389,2163,2221,2259,2239,2587,2737,2821,3076,2935,2575,2417,3040,3932,3937,3452,3396,3294,2557,2454,3003,2706,2358,2784,2975,2799,2634,2125,2147,2312,2701,2880,2978,2665,2186,2442,2471,2193,2139,2093,2288,2182,1598,1616,1987,1856,2046,2410,2455,2899,2602,1974,1901,2051,1997,2324,2976,2448,1881,1958,1989,2656,3300,3504,3435,3603,3860,3595,3474,3587,3417,3255,3276,3432,3184,3323,2979,3031,3203,3197,3396,3447,3382,3243,3042,2815,2784,3112,3097,3261,3067,3276,3492,3375,3319,3182,3168,3414,3603,3053,2700,2358,2177,1612,2548,3139,3094,3320,3410,2989,2592,2578,2813,3089,3195,3210,2899,2601,2502,2176,1905,1937,2313,2441,2743,2740,2236,2326,2048,1377,2020,2101,2026,2006,2094,2646,2583,2247,2280,1990,2066,1868,2003,2295,2608,2099,2099,2120,1968,2286,2725,2635,2595,2385,2155,2329,2322,2332,2326,2348,2613,2084,2018,2346,2184,1833,1616,1944,2676,2702,2460,2171,2373,2303,2407,2416,2523,2875,2609,2455,2398,2003,1918,2348,3330,3509,3096,2728,2497,2116,2418,2173,1975,2148,2180,2381,2336,1815,1596,2056,1904,2144,2687,2526,1924,2115,1924,1522,1582,1933,2236,1982,1915,1917,2157,1903,2135,2138,2309,2386,2524,2821,2929,2434,1621,1944,1990,2151,2380,2204,1814,2040,2153,2047,2552,2495,2079,2148,2132,2100,1991,1881,2361,2901,2612,2338,2079,2034,2166,2320,2247,2502,2612,2166,2310,2522,2167,1992,1766,1738,1974,2077,2397,2460,2127,2118,2008,1952,1670,1666,1793,1945,1666,1916,1714,1970,2162,1898,2071,2083,2106,1741,1160,1301,1506,1866,2440,2109,1844,1873,1814,1655,1566,1476,1455,1545,1367,1355,2273,3237,3898,3862,3915,3367,3105,2654,1916,2664,2857,2357,2510,2176,1829,1683,1675,1844,1905,1813,1834,1925,2025,2266,2111,2171,3106,3393,3049,2256,1868,1930,2021,2028,1632,1507,1559,2025,2619,2034,1634,1713,2261,2925,2818,2987,2720,2312,2447,2319,1799,1704,1860,1676,1472,1526,1603,1771,2127,2106,1726,1685,1992,1707,1167,1393,1582,1521,1699,2203,2589,3012,3314,3329,3228,2983,2997,2770,2721,2669,2303,2109,1892,1820,2017,2755,2109,1681,1809,2025,2010,1968,2017,2156,2087,1876,1869,2260,3008,2986,3699,4073,3348,2444,2435,2753,2584,2639,2757,2646,2509,2365,2488,2836,2929,2912,2977,2829,2419,2875,2795,2293,2338,1794,1624,1708,1565,1790,1886,1823,1902,1802,1626,1657,1449,1542,2078,2021,1865,1556,1503,1561,2003,1682,1684,1577,1371,1332,1395,1515,1421,1401,1915,1770,1831,1638,1600,1487,1345,1417,1437,1382,1413,1488,1629,1993,2385,2151,2351,1732,1525,1691,1825,1675,1480,1377,1282,1470,1476,1559,1635,1776,1683,1602,1927,1654,1491,1420,1396,1710,1844,1550,1704,1595,1453,1733,1808,1756,1906,1879,1655,1498,1437,1621,1743,2116,2440,2288,1777,1709,1762,2143,2285,1738,1614,1826,1803,1500,1437,1390,1405,1504,1641,1739,1566,1399,1414,1347,1372,1385,1286,1339,1304,1282,1367,1484,1406,1456,1554,1562,1902,1815,1667,1552,1520,1644,1929,1958,1763,1681,1517,1617,1697,1715,1779,1570,1833,1608,1641,1905,1958,2181,2251,2082,3339,3316,2330,1945,1798,1804,1996,2123,2159,2697,3400,3168,2508,3164,3663,3208,2909,3484,2985,2075,1727,1974,1857,1420,1395,1589,1730,1705,1791,1822,2039,2269,2691,3138,3300,2708,1836,1651,1672,1620,1583,1531,1591,1664,1604,2030,2175,1651,1853,2232,2101,1863,1789,2003,2232,2533,2616,2089,1803,1804,1650,1761,2602,3410,2965,2009,1646,1719,1834,1804,1402,1400,1387,1293,1327,1481,1562,1464,1470,1483,1708,1739,1898,2002,1532,1544,1871,1976,1926,1671,1431,1566,1881,2200,1876,1404,1619,1560,1731,1965,1732,1695,1810,1655,1632,1622,1563,1492,1517,1504,1328,1326,2402,2459,1669,1514,1864,1842,1559,1860,2386,2258,2000,2093,1785,1692,1664,1470,1626,1824,1870,1544,1449,1783,1575,1377,1763,1814,1968,2222,1995,1658,1764,1877,1863,1818,1738,1677,1767,1737,1647,1732,1625,1516,1368,1363,1384,1710,1588,1348,1576,1782,1896,1855,1789,1922,1456,1827,1766,1421,1364,1588,1979,2218,2521,2109,1464,1346,1275,1231,1345,1692,1559,1581,1963,1869,1937,2029,1735,1520,1767,2014,2098,1750,1792,2003,2241,2067,1842,1574,1764,2147,2316,2199,2031,1925,2408,2697,1995,1757,1699,1799,1576,1908,1679,1528,1608,1645,1836,2021,2280,2439,2271,2116,2208,2821,2832,3046,3079,2733,2105,1650,1547,1655,1564,1656,2071,2495,2402,1853,1466,1435,1673,2023,2226,2388,1947,1792,2198,2341,2148,1204,1528,2087,1903,2104,2218,2230,1778,1570,1616,2003,2556,2709,2735,2887,2275,1864,1688,1780,1952,1674,1734,1621,1576,1518,1420,1760,1832,1544,1495,1759,1609,1755,1880,1706,1689,1642,1483,1471,1332,1597,2092,1852,2042,1809,1759,1811,1686,1534,1347,1367,1469,1521,1409,1589,1942,1642,1673,2280,2069,2126,2344,2174,2103,1979,1898,2216,2360,2746,2592,2512,2610,3526,3312,2376,1766,1677,1627,1768,2349,2443,2750,3709,3956,3955,3883,3929,3945,3952,3808,3903,2675,1715,1878,1587,1657,1685,1703,1823,2090,2272,2599,3420,3103,3032,2956,3115,3740,4268,4397,4529,4484,4312,4328,4332,3236,3263,2810,2568,2278,1925,1886,1841,1894,1564,1871,3011,3499,3208,3075,3219,3398,3163,2795,2478,2429,2280,2184,2012,1920,2000,2645,2336,2239,2460,2564,2640,2724,2347,2266,2952,3417,3299,2556,2775,3155,2906,2746,2668,2535,2679,2864,2899,2957,2814,2588,2677,2987,3198,3323,3402,3344,3474,3553,3505,3252,3164,3353,3105,2851,2482,2351,2010,1664,1919,2077,2104,1822,1560,1978,2387,2194,2086,2321,2188,2090,2233,2406,2520,2168,1898,1760,1700,1828,2357,2648,2334,2448,2294,2342,2784,3232,3441,3375,3387,3466,3106,2930,2824,2669,2930,3032,2972,2697,3292,2647,1965,2434,3166,3116,2928,3198,2795,3037,3875,3984,4027,4089,4159,4559,4692,4764,4660,4471,4391,4158,3796,3415,3213,2967,1750,913,493,424,379,361,374,383,401,409,409,408,418,434,427,430,444,470,477,463,467,474,487,508,542,589,632,682,758,838,962,1019,981,975,1065,1290,1407,1422,1395,1355,1353,1303,1256,1199,1128,957,789,631,557,524,502,494,488,494,504,504,508,511,513,569,775,1205,1858,3189,3956,4393,3943,3365,3000,2578,3077,2447,3039,3497,3907,4905,5285,4988,4773,4840,4831,4758,4755,4867,4856,4799,4825,4801,4797,4768,4372,4138,4301,4676,4848,4716,4388,3716,3702,3647,3970,4372,4804,2927,1694,1671,2065,2731,3356,3616,3289,2497,2236,2306,2610,2543,2962,3210,3262,3054,2504,2009,2549,3603,3582,3429,3738,3762,3728,3997,3242,2522,2843,3449,3681,3698,3881,3807,3848,4529,4584,4725,4649,4497,3956,3409,3354,3377,3205,3123,3261,3380,3649,3883,3379,3199,3076,3110,3064,3259,3848,3981,3662,3447,3263,3075,2883,2931,3155,3157,2725,2746,2975,3382,3552,3555,3272,2962,2885,2627,2242,2046,1485,2196,2879,3107,3495,2681,2392,2779,3073,3187,3086,3190,3046,3046,3045,3079,2426,2545,2977,2902,2865,3255,3673,3731,3875,3763,3350,3320,3289,3154,3138,3098,3218,3219,2979,3059,3428,3776,3867,4074,4283,3950,3785,3465,3160,2994,2988,3050,3271,3499,3068,2001,955,507,432,404,388,418,465,496,561,685,756,782,867,907,1185,1924,2740,3085,3172,3384,2796,2213,1768,1406,1226,1115,939,848,958,1051,1040,1038,1423,1498,1262,1328,1736,2317,2644,2773,2715,2327,1636,1466,1789,2063,2504,3059,3605,3649,3408,3432,3517,3417,3356,3606,3703,2784,1814,1295,1460,1927,1914,2403,2385,1965,1532,1355,1756,1686,1230,1200,1216,1045,1249,1484,1252,1223,1346,1122,1030,1116,1017,878,775,666,807,792,867,770,860,858,919,1054,1036,910,841,839,940,900,1029,1237,986,1403,1240,920,1295,1666,1682,1613,1573,1946,2055,1877,2073,1603,1535,1636,1903,1935,1979,2025,1823,1582,1406,1703,2067,2562,3323,4075,4085,3816,3663,3752,3567,3447,3466,3398,3383,3374,3343,3752,4296,3864,3486,3243,3397,3886,4063,3719,3322,2529,1974,1836,1527,1429,1364,1641,1406,1427,1374,1222,1175,1199,1219,1232,1213,1288,1407,1572,1975,2360,1979,1899,1809,1533,2641,3728,3763,4021,3950,3404,2312,2614,2904,3642,4014,2842,1766,1863,2443,2569,2349,2360,2339,2542,2167,2461,3494,4576,5517,5693,5221,4639,4520,4548,4452,4395,4067,3630,3717,3751,3924,4133,4014],[2487,2291,2332,2547,2322,1547,1704,2339,2736,3000,3022,3049,2973,3007,3186,3175,3080,3109,3403,3319,2966,2754,2762,3184,3144,2949,2253,1153,1359,1787,1780,1900,2645,2457,2179,2445,3153,3156,2895,2768,3233,3746,3125,2215,1677,1662,1253,1287,1777,2213,2659,2418,1781,1691,2062,2405,2483,2078,2338,2550,2787,2752,2099,2003,2415,2428,2272,2627,2796,2752,3094,3190,2971,2271,2367,2367,2798,2900,3195,2762,2040,2341,2662,2509,2444,2309,2453,1934,2096,2269,1986,2443,2891,2537,1939,1583,1714,2476,3062,3322,3103,2917,3020,3189,2941,2581,2287,2384,2280,2355,2243,1881,1891,2062,2600,3185,2680,1952,2338,2289,2389,2889,2951,2669,2893,3265,2700,1917,1859,1634,2094,2386,2667,2471,1988,1813,1850,2008,2213,2454,2046,1749,1863,1806,1589,1488,1691,2082,2227,2206,2171,1737,1690,2553,3117,3131,2424,1643,1722,1694,1922,1810,1441,1593,1642,1425,1454,1649,1751,1676,1688,1503,1834,2002,1853,2059,2404,2417,2186,1919,1826,2025,2450,2680,2886,2086,1836,2389,2402,2191,1904,1201,1268,1645,1747,2150,2430,2307,2036,2402,2496,2344,2246,2263,2457,2418,2634,3018,3131,3009,2910,3488,4392,4539,4187,3574,2722,2169,2349,2596,2984,3583,4108,3693,2910,3135,2593,2569,2842,3108,3038,2282,1475,1540,2226,2534,2304,2153,2116,2036,1676,1032,1088,1750,1803,2189,2659,2435,2448,2374,2186,2116,1926,1978,2102,2025,1909,1749,1520,1736,2521,3319,3570,3527,3672,3833,3752,3543,3372,3255,3223,3067,3108,3176,3216,3024,3124,3253,3442,3333,3168,3243,3042,2690,2576,2633,3094,3293,3485,3377,3686,3685,3417,3548,3395,2841,2919,3719,3471,3104,2506,2341,1893,1924,2461,2713,2530,2631,2872,2805,2700,3332,3510,3516,3768,3338,3022,2874,2630,2357,2298,2552,2520,2320,1993,2030,2026,1804,1803,2144,2230,2147,2019,2412,3472,3317,2558,2413,2159,2230,1787,1928,1883,2130,2425,2697,2658,2231,2208,2479,2479,2420,2070,2110,2468,2406,2522,2501,2148,2139,1945,1907,2145,2116,1892,1783,2312,3034,2698,2085,2657,3041,2719,2348,2085,2383,2731,2455,2075,2059,2075,1779,2036,2684,2642,2142,2002,2241,2289,2361,2333,2342,2311,2352,2198,2266,1902,2014,2250,2111,2348,2843,2580,2279,2571,2381,1882,2030,1790,1759,1824,1765,1751,1979,1868,1964,2204,2182,2310,2424,2720,2692,2344,1664,2432,2270,2097,2150,1719,1371,2287,2279,2320,3658,3248,2009,1926,2119,1765,1877,2222,2294,2360,2339,1910,1733,1949,1863,1864,2224,2732,2403,2277,2232,1910,1533,1737,1791,1970,2430,2512,2454,2046,1919,2056,2212,1867,1528,1714,1872,1890,2094,1883,1473,2034,2261,2014,2153,2228,2126,1593,1067,1330,1404,1616,2017,2050,2110,2088,1898,1566,1432,1250,1138,1386,2041,2128,1747,1802,2778,3663,3741,3078,3044,2402,1946,2511,2735,1871,1700,1830,1861,1678,1984,2488,2028,1754,1730,1870,1951,2232,2372,2532,3039,3303,3015,2058,1794,1764,2054,2264,1685,1636,1847,1970,2447,1983,1830,1854,2052,2389,2497,2670,2509,2374,2741,2280,1695,1701,1845,1511,1647,2004,2123,2270,2545,2074,1728,1811,1911,1578,1282,1526,1470,1402,1631,2279,2509,2564,2750,2953,3168,3151,3007,2844,2677,2402,2106,1960,2026,2075,2333,2574,2148,1744,2009,2652,2406,1726,1815,2073,1747,1765,1680,1917,2800,2693,3648,4414,3480,2357,1704,1400,1774,2836,3076,2591,2225,2183,2419,2830,3002,3356,3746,3510,3055,3005,2337,2202,2548,2163,1852,1657,1509,1670,1678,1613,1644,1505,1537,1472,1352,1577,1931,1847,1730,1548,1525,1602,1965,1810,1706,1684,1469,1556,1603,1680,1502,1339,1783,1976,2475,2034,1694,1664,1593,1411,1368,1344,1300,1493,1583,1718,1847,1767,2188,1882,1482,1868,2085,1698,1538,1750,1916,1912,1608,1599,1574,1405,1332,1691,1830,1561,1425,1471,1495,1722,1910,1780,1612,1706,1959,1731,1807,1828,1746,1844,1916,1665,1432,1813,1906,1837,2215,2888,3387,2979,2584,2373,2135,1868,1616,1759,1686,1544,1480,1449,1481,1530,1513,1537,1322,1462,1576,1441,1444,1455,1469,1475,1600,1525,1454,1623,1530,1606,1552,1430,1524,1573,1526,1555,1632,1718,1960,1898,1782,1683,1714,1611,1503,1627,1628,1781,1763,1588,1681,1810,1976,2254,2307,2685,2995,2370,1822,1806,2059,2335,2484,2388,2146,1927,2062,2320,2293,2903,3487,3146,3039,3492,3044,2042,1714,1764,1551,1636,1675,1620,1899,1849,2027,1885,1828,2248,2746,2998,2832,2168,1794,1872,1829,1771,1597,1568,1617,1621,1505,1582,1641,2041,2380,2296,1920,1721,1685,1636,1642,2002,1853,1753,1920,1897,1735,1697,2281,3034,2746,1876,1675,2098,3032,2996,1936,1562,1440,1560,2056,2019,1541,1536,1572,1432,1619,1603,1637,1804,1622,1520,1590,1772,1926,1692,1655,2026,1822,1813,1828,1711,1546,1490,1816,2079,1819,1642,1542,1290,1249,1396,1582,1638,2065,1884,1659,1772,2497,2364,1882,1809,1961,1949,1960,2166,1987,1816,1655,1741,1641,1556,1513,1428,1475,1927,1908,1618,1945,2112,1828,1730,2024,1861,1831,1912,1797,1710,1732,1719,1578,1541,1512,1355,1470,1597,1584,1698,1522,1410,1453,1392,1392,1499,1208,1152,1567,1745,1715,1882,1642,1592,1357,1457,1505,1439,1416,1699,2189,2771,2891,2231,1529,1470,1194,1038,2000,2383,1767,1509,1765,1828,1830,1855,1790,1636,1617,1567,1721,1998,2698,2494,2656,2430,1815,1878,2420,2597,2065,1776,1903,1902,2475,2256,1898,2013,2350,2381,2116,2118,1813,1925,1897,1588,2081,2636,2431,2165,1978,2042,1848,1777,2571,3199,2909,2546,1993,1249,1217,1485,1712,1708,1904,1952,1970,1936,2362,2303,2076,2074,2211,2092,1657,1950,2152,1580,1860,1964,2158,2091,1920,1776,2317,2470,2055,1866,1773,2013,2177,2518,2407,2284,2105,1706,1554,1694,1612,1610,1747,1628,1633,1534,1378,1681,1565,1521,1896,2108,1809,1882,2060,1988,1843,1716,1548,1488,1227,1895,2425,1839,1792,1673,1783,1783,1743,1609,1451,1607,1837,2087,1948,1780,1804,1509,1364,1772,1676,1791,2182,2093,2004,1823,1752,2020,2088,2102,2160,2474,2928,3161,3404,3053,2123,1653,1428,1802,2818,2737,2369,3315,3837,3991,3939,3914,3906,3914,3818,3790,2942,2038,2115,1406,1498,1631,1653,2774,2908,2044,2476,3260,3217,3386,3965,4062,4182,4443,4496,4501,4272,4365,4428,4384,3635,3327,2890,2270,2188,1986,1786,1868,1868,1771,2673,3308,3529,3464,3247,3200,3408,3488,3205,2881,2420,2156,2167,1938,1931,2002,2119,2131,2518,2690,2957,3442,3186,2336,2195,2928,3552,3938,3861,3758,3615,3207,2799,2641,2590,2671,2502,2404,2692,2801,2527,2347,2469,2846,3271,3386,3457,3575,3726,3614,3206,3188,3330,3008,2683,2447,2118,1800,1882,2046,2030,1798,1586,1704,1706,1910,2117,2364,2659,2700,2945,2931,2525,2360,2577,2534,2142,1960,2039,2480,2099,2076,2678,1579,1617,2388,2719,3074,3190,3234,3334,3097,2857,2852,2915,2946,2994,2798,2597,2809,2685,2487,2853,3106,2866,3138,3401,3006,2973,3366,4207,4836,5020,4809,4779,4807,4820,4601,4635,4764,4363,3575,2699,1694,1232,726,650,471,403,373,357,362,372,389,399,398,399,410,415,417,421,440,453,448,445,451,453,470,487,512,535,575,622,689,729,831,893,886,883,985,1180,1264,1284,1268,1215,1190,1152,1119,1081,1029,915,782,642,554,515,493,477,477,477,487,485,487,476,499,526,659,1134,2187,2946,3488,4090,3705,3116,3066,3191,2657,2428,3357,3877,3716,4376,5097,4973,4783,4748,4663,4859,4920,5157,5124,5196,5117,4911,4816,4721,4489,4336,4257,4367,4668,4725,4184,3627,3847,3724,3979,4852,4276,2583,1667,1674,2370,3044,3370,3448,3190,2573,2537,2900,3154,3156,3210,3263,3327,3145,2657,2428,3106,3836,3852,3807,3862,3769,3628,3740,3942,3631,3203,3227,3484,3291,3241,3328,3628,4018,4120,4175,4483,4340,4152,4067,4197,4332,4036,3852,3983,3960,3820,3696,3802,3516,3250,3163,3127,3275,3851,4180,3981,3593,3300,3156,2864,2811,3166,3022,2711,2677,2994,3330,3541,3442,3040,2750,2700,2653,2437,1972,1887,2548,2545,2709,2190,1460,2356,3111,2885,2445,2661,3229,3308,2883,2435,2308,2122,2453,2999,3156,3006,3288,3630,3892,4290,4085,3709,3402,3308,3198,3129,3106,3042,3005,3110,3299,3382,3543,3562,3622,3873,4002,3912,3509,3211,3248,3383,3393,3164,2341,1261,684,528,477,441,394,398,423,485,543,568,624,695,740,810,887,936,908,1050,1386,1455,1421,1235,1169,1219,1134,1020,896,839,774,771,795,724,774,1035,1087,1037,1090,1158,1007,1032,1346,1440,1294,1039,884,884,1024,1083,1266,1728,2021,2344,2535,2475,2466,2502,2541,2778,1604,959,836,810,901,1102,1690,2031,1782,1705,1409,1466,1455,1195,1027,1111,1339,1268,1307,1268,1179,1169,1128,976,974,1064,1018,898,740,769,839,974,926,950,988,924,1001,935,938,946,916,966,1094,978,1302,1144,1103,1220,1172,1016,1218,1398,1556,1595,1590,2026,2084,1894,1668,1754,1714,1662,1711,1708,1708,1819,1659,1510,1493,1607,1898,1833,2151,2703,3118,3628,3830,3899,3615,3359,3509,3464,3463,3485,3678,4172,4229,3706,3249,3410,3849,3723,3242,3273,2330,2087,2084,1678,1561,1637,2046,2182,1992,1693,1481,1358,1358,1174,1167,1257,1218,1303,1491,2059,2387,2115,2140,1930,2010,2994,3741,3980,4296,4387,4004,2820,3295,3787,3641,3480,2715,1926,2060,2279,2232,2137,2231,2571,2819,2334,2697,2958,4094,5471,5552,4871,4275,4188,4208,4368,4519,4220,4046,3738,3387,3557,4083,4436],[2153,2242,2514,2547,2153,1496,1616,2114,2526,2634,2750,2993,2775,2614,2693,2843,2607,2456,2621,2810,3051,3083,3008,2885,2808,2753,2087,1242,1461,1882,1738,1957,2510,2448,2514,3008,3310,3117,2821,2634,3580,3731,2859,1848,1695,2149,1894,2042,2465,2552,2342,1954,1666,1927,2310,2281,2221,2002,1829,1474,1886,2327,2216,2305,2787,2463,2244,3025,3134,2774,2833,3211,3429,3104,2571,2408,2526,2832,3266,2965,2584,2728,2914,1980,2523,3082,1944,1867,2330,2327,2236,2315,2645,2389,1808,1558,1698,1974,2441,2812,3224,3162,2792,2599,2690,2552,2159,2312,2733,2588,2092,2073,2340,2428,2714,3155,2525,2156,2268,2223,2612,2988,3138,3206,3318,3034,2908,2337,2032,1770,1820,2011,2286,2486,2060,1425,1725,2397,2371,2623,2091,1900,2498,2381,2412,2390,2132,2088,2192,2160,1706,1232,1436,2148,2617,3577,3173,1893,1629,1803,1910,1635,1539,1795,1706,1578,1470,1835,2113,1660,1533,1762,1906,1834,1967,2189,2193,2227,2061,1942,1882,1959,1798,1793,2193,2290,2590,2865,2873,2567,2408,2062,1599,1821,2149,2271,2447,2777,2651,2369,2280,2171,2103,2391,2542,2478,2728,3212,3168,3132,3304,3534,3853,4124,3872,3022,2463,2425,2414,2557,3464,4221,4313,3836,3036,3053,2744,3013,2911,2851,3001,2468,1957,1962,2562,3177,2833,2333,1933,1808,1503,1274,1339,1832,1899,2008,2110,1967,1901,1946,2335,2675,2187,2056,2137,1888,1802,1652,1625,1859,2488,3143,3372,3539,3738,3726,3617,3432,3347,3404,3301,3200,3201,3211,3094,3108,3213,3300,3333,3159,3168,3154,2863,3007,2911,2985,3299,3500,3383,3526,3655,3353,3241,2972,2439,2313,2387,3164,3454,3116,3221,2956,2494,2501,2823,2972,2998,2509,2234,2575,2980,3271,3492,3637,3650,3508,3392,3235,2974,2766,2599,2704,3098,2751,2070,1952,1757,1886,1792,1822,2025,2054,2401,3326,3956,3455,2574,2500,2555,2201,2192,2155,1791,2161,2878,3146,2778,2412,2045,2203,2155,2131,2085,2250,2380,2489,2413,2412,2447,2595,2370,2132,2222,1970,2063,2038,2545,2689,2199,1963,2547,3106,2934,2398,2196,2624,2553,2028,1838,2091,2216,2129,2747,2974,2503,1969,1715,1807,2167,2467,2351,2187,2308,2172,2009,2052,1936,2024,2170,1948,2084,2306,2142,2270,2225,1859,1896,2010,1514,1585,1636,1530,1695,2287,2545,2416,2462,2248,2144,2035,2525,2520,2291,1631,2324,3129,2978,2888,2032,1591,2741,2401,2440,3153,2897,2265,1951,1826,1882,2267,2570,2338,2040,1933,1691,1713,2136,1670,2010,2085,2285,2329,2184,1985,1808,1656,1814,1928,2381,2731,2248,2256,2117,2032,2454,2168,1470,1439,1560,1710,2197,2379,1932,1621,1962,2033,1895,2013,2330,2208,1892,1708,1558,1447,1770,1925,2192,2496,2345,2128,1776,1455,1194,1039,1097,2069,2974,2598,1721,1555,1927,2403,2769,3146,2041,2161,2512,2370,1948,1772,1826,1788,1617,2249,2534,1814,1976,1722,1507,1488,2434,2584,2185,2337,2573,2257,1788,1726,1838,2338,2413,2083,2048,2369,2444,2399,2124,1803,1853,2236,2352,2126,2027,2436,2544,2500,2840,2178,1650,1979,2046,1996,2124,2146,2370,2256,1693,1875,1781,1819,1389,1226,1588,1589,1587,1612,2468,2468,2226,2920,3264,3210,3108,2940,2730,2432,2218,2085,2221,2106,2283,2273,2058,2098,1625,1647,1866,1585,1532,1886,1967,1776,1561,1466,2276,2732,2571,3570,4243,3543,2511,1433,1403,1892,2762,3324,2448,2174,2415,2276,1951,2045,2385,2545,2459,2572,3059,2250,2136,3010,2711,2093,1639,1623,1838,1694,1605,1447,1231,1561,1379,1709,1853,2025,1866,1775,1802,1583,1410,1636,1827,1583,1615,1532,1593,1642,1673,1534,1487,1399,1542,1933,1866,1650,1708,1614,1422,1340,1330,1272,1661,1696,1548,1424,1592,2410,2155,1405,1535,1707,1558,1565,1686,1670,1749,1751,1531,1424,1334,1290,1617,1691,1445,1607,1830,1804,1735,1676,1603,1516,1701,1794,1758,1775,1886,1992,1833,1892,1839,1759,2417,2490,2199,2905,4060,4397,4154,3830,3205,2325,1714,1661,2046,1700,1574,1549,1538,1517,1449,1381,1262,1210,1417,1682,1643,1528,1521,1432,1562,2088,1695,1471,1632,1962,1755,1544,1567,1531,1422,1614,1969,2166,1714,1560,1553,1699,1624,1698,1737,1531,1553,1826,2093,1785,1882,1896,1853,1915,2379,2315,2699,2723,2500,2249,2152,2632,2857,2899,2532,2107,1702,1826,1967,1720,1831,2281,2691,2875,2700,2153,1771,1997,1928,1696,1748,1749,1505,1624,1987,2149,1852,1636,1842,2109,2338,2055,1694,1770,2261,1867,1688,1556,1567,1696,1599,1546,1576,1876,2072,1936,1887,1907,1714,1898,1754,1589,1725,1817,2173,2074,1744,1871,2068,1898,2119,2027,1586,1753,2285,3098,2997,2049,1676,1543,2005,2689,2043,1559,1462,1360,1609,2026,1981,1817,1709,1526,1534,1649,1696,1853,1842,2296,2465,1774,1887,2205,1924,1827,2145,2094,1620,1396,1510,1597,1321,1119,1065,1608,1722,1993,1946,1931,1820,2035,2358,2325,2233,2318,2233,1726,1735,1683,1943,2075,1891,1816,2019,2041,1851,2024,2201,1901,1750,1878,1708,1643,1562,1550,1730,1909,1638,1429,1515,1430,1395,1451,1631,1382,1315,1511,1421,1235,1372,1353,1334,1484,1471,1376,1218,1196,1443,1826,1725,1730,1801,1778,1806,1671,1557,1469,1472,1528,1766,2338,2834,2721,2308,1632,1544,1266,1579,2477,2459,1768,1560,1865,2111,1785,1715,1794,1949,1666,1539,1489,2245,2819,2252,2276,2542,2214,2243,2615,2645,2286,1891,1911,2020,2147,2078,2123,2380,2851,2755,2474,2244,2092,2245,1947,1759,2174,2323,1764,1367,1609,1735,1619,1654,2568,3395,3121,2600,2529,2244,1791,2242,2667,2473,2357,2520,2437,2311,2592,2781,2761,2761,2974,2536,2237,2632,1715,1201,1907,2668,2413,1948,1801,1592,1790,2093,1917,2100,2579,2224,1991,2272,2127,2125,2067,2013,1949,1741,1830,1817,1846,1526,1779,1593,1591,1592,1616,1869,2628,2933,2422,1823,1859,2100,1926,1736,1979,2051,1631,2216,2068,1564,1428,1838,2156,1859,1792,1699,1576,1662,1683,1721,2277,1803,1676,1851,1469,1643,1831,1841,2039,1953,2321,2051,1802,1883,1857,1578,2126,2759,3141,3254,3084,2429,1691,1652,1486,1926,2740,2637,2018,2884,3768,3960,3928,3763,3706,3847,3841,3661,2991,2565,3031,2651,2519,2569,2393,3804,3639,2232,2458,3144,3149,3256,4092,4516,4521,4508,4405,4232,3923,4198,4365,4332,3827,3226,2909,2451,2415,2040,1817,1862,1652,2279,3134,3356,3441,3392,3310,3204,3190,3409,3422,3209,2802,2567,2349,2103,1881,1884,2419,2970,2534,1908,2427,2889,2484,2526,2600,3398,3907,4173,4125,3738,3898,3783,2933,2293,2302,2218,2143,2279,2557,3010,2502,2374,2591,2651,2685,2863,2953,3097,3586,3713,2874,2330,2205,2649,2480,2293,2293,2038,1953,2331,2449,2234,1849,1817,1709,1823,1896,2099,2120,2626,3076,3091,2732,2482,2476,2362,2909,2822,2562,1962,1729,2370,2707,1466,906,1428,2170,2719,2787,3038,3329,3531,3168,2500,2735,3204,3269,3082,3294,3311,3088,2964,2830,2444,2418,2817,3311,3033,2921,3376,4428,5264,5324,5050,4928,4946,4888,4821,4940,5049,4792,3275,1540,629,461,519,530,452,369,363,353,355,359,365,379,388,392,402,409,415,422,422,425,422,424,429,434,448,454,476,493,528,562,620,652,719,785,798,807,920,1090,1163,1133,1143,1108,1088,1039,987,924,902,854,754,643,555,512,485,469,470,468,477,474,476,471,492,538,608,1132,2142,2431,2025,2520,2292,1617,1444,1637,2033,3086,3859,3298,3005,4060,4785,4769,4653,4452,4468,5064,4816,5348,5733,5744,5417,4807,4312,4269,4446,4721,4589,4139,4132,4313,4136,3979,4117,4093,4632,4769,3567,2297,1627,1849,2729,3193,3239,3300,3219,2885,2742,2943,3120,3127,3139,3173,3299,3279,3210,3082,3474,4092,3974,3739,3474,3347,3403,3293,3506,3812,3709,3160,3359,3214,3110,3305,3629,3848,3798,3531,3558,3682,4180,4709,4841,4840,4660,4364,4545,4951,4608,3680,3617,3683,3423,3305,3217,3377,3807,4357,4440,3538,3312,3142,2878,2879,3040,3017,2797,2681,3045,3451,3532,3272,2939,2462,2516,2896,2535,1838,1727,2147,2036,1839,1971,1799,2962,3550,3149,2753,2862,3231,3242,2148,1931,2387,2603,2961,3289,3273,3198,3540,3448,4007,4288,3741,3232,3252,3216,3130,3138,2978,2919,2958,3119,3648,3861,3438,3310,3394,3868,3724,2719,2596,3020,2910,2494,1834,1171,694,501,483,473,426,395,391,387,392,418,483,558,575,609,653,714,802,840,820,847,853,892,994,979,964,1054,1001,865,740,750,720,732,736,656,784,948,953,917,818,1002,949,740,808,1146,1025,886,812,738,736,846,908,749,741,1160,1519,1475,1469,1439,1586,2137,1585,895,761,704,692,801,1296,1787,1476,1496,1479,1248,1215,1117,954,889,1003,1065,1064,1068,1116,1131,1038,983,911,753,853,912,954,870,831,980,997,926,880,915,990,958,889,1047,1080,995,1099,1080,983,959,914,951,948,926,1061,1140,1280,1601,1713,2060,2054,1749,1561,1512,1499,1437,1461,1515,1372,1588,1427,1500,1423,1345,1501,1548,1376,1297,1616,1834,2343,3406,3868,3541,3644,3774,3740,3660,3849,4433,4577,3904,3390,3591,3894,3708,3538,3052,2071,1816,1781,1572,1482,1664,2408,3040,2158,1742,1680,1589,1486,1207,1134,1134,1228,1411,1439,1743,2017,2203,2151,1981,2679,3578,3764,3867,3954,4386,3924,3332,3318,3223,3193,3330,2455,1686,2137,2317,1897,1940,2488,3066,3062,2674,2917,2796,3492,5259,5376,4712,4131,3971,3894,4373,4565,4365,4269,4040,3629,3446,3540,3841],[2082,2301,2430,2470,2275,2069,2144,2208,2428,2094,2070,2866,2695,2214,2119,2208,2245,1924,1886,1864,2122,2943,3476,3203,3200,3092,2563,2090,2004,2060,1910,1964,1802,1600,1890,2638,2819,2932,2833,2967,3818,3543,2542,1991,2260,2924,2996,2929,2790,2601,2114,2148,2030,2164,2006,2055,2367,2576,2714,2369,2119,2344,2223,2513,2873,2120,2308,2864,2811,2597,2832,3084,3271,2978,2443,2312,2442,3131,3097,2174,2058,2541,2732,2490,3300,3356,2078,2574,3120,2473,2303,2081,1803,1560,1520,1583,1601,1931,2285,2438,2977,3291,2938,2503,2754,3054,3133,3105,3260,2950,2601,2678,2567,2507,2689,2842,2423,2283,2208,2116,2578,3056,2818,2507,2509,2707,2915,2473,2129,2056,1863,1613,1808,2070,1552,1557,2187,2532,2498,2820,2056,1926,2328,2423,2598,2830,2788,2460,2408,2236,1672,1677,2037,2117,2210,3124,3672,2639,1744,1782,1708,1688,2000,2085,1830,1615,1554,2072,2564,2055,1769,1837,1881,1709,1870,1919,1834,2026,1735,2161,2153,2030,1613,2322,2800,2818,2490,2486,2749,2983,3128,2659,1608,1883,2364,2214,2285,2626,2436,2020,2157,2380,2653,3364,3438,3335,3150,2884,2610,3536,3806,3767,3938,3538,2614,2216,2388,2503,2457,2755,3602,3632,3917,3848,2820,2526,2834,3012,2799,2644,2742,2765,2909,2861,3198,3272,3314,2927,1705,1792,2256,2149,1858,2019,2010,1707,1697,1744,1890,2130,2746,2954,2739,2889,3174,2966,2601,2446,2454,2215,2391,2951,3451,3624,3486,3458,3439,3440,3350,3398,3404,3336,3351,3350,3068,3011,3293,3366,3228,3173,2836,2818,3074,3265,3333,3480,3508,3400,3196,3629,3492,3015,2622,1924,1890,2026,2214,2630,3216,3452,3400,3374,3400,3262,3507,3587,3684,3283,2508,2376,3053,2984,3122,3470,3654,3625,3665,3584,3042,2541,2239,2243,2520,2755,2374,2009,2110,2286,1812,1737,1952,2214,2426,3276,3806,3319,2976,2952,2498,1945,2109,2065,1858,2326,2752,2878,2665,2236,2154,2353,2607,2676,2643,2423,2170,2231,2603,2921,3231,3212,2617,2423,2524,2254,2087,2178,2347,2011,1804,1904,2286,2788,3006,3239,2485,2508,2124,1876,2028,2259,2132,2154,2588,2509,2328,2262,2160,2093,2518,2619,2665,2441,2357,2082,2056,1598,1511,2372,2284,1336,1546,2294,2391,2318,2115,2096,2514,2360,2066,2085,2117,2004,1944,2213,2173,1888,1963,1807,1749,1864,2134,2566,2497,1803,2592,3292,3183,3091,2193,2136,2847,2809,3108,3342,2557,2081,2032,1851,1807,2280,2432,1873,1358,1532,1903,1847,2370,2093,2386,2283,2492,2602,2239,2199,2110,1835,1787,1981,2338,2341,1952,2026,2036,2277,2380,1391,893,1267,1472,1759,2359,2254,2004,1807,1797,2148,2038,2176,2570,2405,1934,1775,1899,1844,1785,1903,2343,2298,2290,2268,2056,1814,1377,1093,1332,2127,2749,2796,1967,1318,1175,1834,2842,2802,1931,2171,2446,2215,2228,2192,2136,1737,1617,1986,2058,1854,1990,1896,1421,1027,1588,2025,1914,2591,3444,2627,1584,1547,1700,2120,2250,2090,2127,2182,2116,2250,2069,1701,2156,2873,2712,2690,2730,3029,2732,2792,3483,2908,2576,2858,2769,2571,2479,2179,2308,1865,1566,1544,1648,1563,1309,1610,1688,1715,1745,1558,2016,2036,1801,2423,3100,3010,2778,2690,2302,1897,2068,1965,1818,2337,2789,2108,1611,1730,1651,1895,1677,1544,1704,2262,2253,1845,2002,2207,2300,2335,2432,3572,3956,3421,2447,1323,1030,1608,2159,2600,2664,2572,2531,2292,1734,1802,2201,2266,2262,2712,3199,2673,2566,2641,2479,2281,1986,2099,2055,1610,1776,1575,1870,2578,1820,1642,1576,1739,1688,1671,1726,1589,1344,1477,1858,1616,1720,1395,1317,1320,1421,1582,1595,1349,1347,1476,1448,1493,1804,1418,1406,1446,1408,1353,1405,1362,1542,1704,1686,1770,1582,1289,1438,1660,1423,1554,1632,1454,1415,1409,1550,1543,1332,1548,1762,1752,1696,1772,1855,1855,1616,1449,1582,1630,1613,1619,1716,1784,1836,1951,1684,1958,2039,2424,2769,3215,3537,4000,4371,4388,3884,3111,2666,2132,1721,1954,2431,1870,1512,1782,1730,1504,1368,1335,1377,1354,1408,1483,1482,1388,1554,2134,1874,1505,1379,1545,1954,1927,1610,1608,1537,1373,1448,1886,1926,1990,1588,1747,2273,2172,1656,1908,1739,1689,2100,1692,1523,1635,2054,1948,2014,2135,2568,2480,2584,2724,2709,2484,2503,2697,2865,3270,2474,2093,2095,2082,2051,1775,1491,1903,2591,2755,2287,1720,1356,2032,2642,1982,1713,1599,1448,1566,1692,1766,1728,1544,1606,1719,1803,1755,1591,1619,1949,1803,1660,1673,1824,1726,1598,1651,1938,2126,1967,1659,1604,1657,1546,1800,1772,1692,1833,2009,1937,1904,1732,1847,2225,1827,1599,1555,1751,1952,2138,2524,2284,1967,1816,1779,1830,2075,1771,1598,1736,1770,1697,2096,1943,1493,1414,1494,1562,1525,1649,1853,1782,2010,2099,1797,2116,2224,1894,1973,2300,2081,1597,1718,1607,1576,1568,1644,1565,1644,1591,1713,1736,1728,1918,2502,3382,3139,2568,2293,2056,1606,1586,2037,2088,2302,2414,2222,2226,2070,1925,1862,1698,1632,1534,1621,1536,1464,1500,1402,1720,1981,1493,1339,1398,1344,1222,1278,1370,1272,1279,1592,1606,1324,1298,1262,1333,1468,1398,1363,1208,1321,1723,2066,1940,1786,1698,1883,1837,1760,1690,1485,1371,1678,1694,1918,1972,2369,2743,2173,1725,1501,1596,1886,1911,1602,1663,1901,2025,1654,1772,1793,1882,1577,1484,1439,1758,2070,1974,2116,2198,1736,2198,2781,2923,2646,1993,1717,1744,1664,2292,2774,2779,2986,2950,2385,2209,1942,2432,2339,1840,1637,1875,1557,1470,1809,1751,1557,1647,2347,3010,3076,2853,3285,3228,2487,2929,3378,2749,2345,2495,2529,2353,1903,2150,2607,2723,2297,2041,2328,2584,2041,2256,2588,2518,2007,1735,1580,1613,1902,1958,1836,2177,2407,2128,1857,1704,1960,2125,2285,3060,2600,1749,1749,1750,1656,1466,1704,2120,2322,2336,2163,1915,2611,3727,3340,2258,1720,1725,1875,1620,1733,1788,1577,1706,1533,1160,1117,1545,1858,1766,1653,1609,1679,1565,1635,1826,1898,1816,2487,2590,1781,1704,1922,2291,3011,1824,2057,2078,2098,2226,1939,1673,2136,2626,2918,2687,2097,1910,1952,1911,1823,2040,2294,2412,2028,2540,3005,2929,2938,2831,2594,2414,2653,3312,2688,2885,3722,4016,4244,3737,2837,3437,3420,2335,2427,2804,2855,3253,4296,4768,4659,4571,4175,3716,3521,3871,4420,4343,3597,3103,2849,2529,2418,2063,1918,1831,1736,2430,3123,3386,3342,3382,3501,3270,3248,3182,2862,3040,3068,2879,2520,2102,1931,2422,2843,2454,1655,1598,2218,2162,2180,2856,3099,3566,3754,3752,3647,3669,3905,3884,3173,2630,2858,2432,2353,2645,3050,3355,2999,2642,2583,2678,3143,2928,2452,2507,3077,3334,2429,2486,2409,2337,2329,2105,2004,2048,2422,2584,2583,2589,1952,1582,1713,2024,1744,1641,1809,2203,2603,2652,2469,2768,2833,2385,2579,3298,2763,1836,2586,3001,2664,1693,944,1272,2168,2230,2235,2710,3388,3547,3134,2416,2100,3200,3674,3299,3278,3256,3220,3050,2797,2934,3379,2842,3196,3450,3450,3174,3662,4703,5064,4764,4676,4780,4828,4644,4767,4988,4981,3420,1525,651,494,468,515,485,366,373,343,346,347,358,365,373,383,393,402,410,414,423,426,414,411,415,418,421,431,438,457,484,518,559,596,637,690,731,730,790,941,1069,1022,950,973,961,943,885,801,799,800,738,631,545,506,483,467,465,464,472,473,479,492,486,518,616,982,1824,2532,1645,1456,1524,1236,1058,1209,2218,3326,3063,2638,3532,4050,4388,4520,4232,3471,3661,4891,4964,5091,5613,5595,4960,4544,3994,3842,4104,4384,4721,4445,4050,3836,3797,4092,4052,4119,4399,3651,2876,2131,1655,2351,3325,3609,3336,3325,3426,3419,3160,3031,3128,3252,3190,3221,3374,3432,3466,3355,3366,3938,3907,3448,3184,3202,3210,3162,3238,3572,4006,3422,3264,3099,3060,3143,3328,3572,3470,3261,3199,3286,3897,4260,4351,4544,4452,4275,4631,4900,4708,4191,4010,3894,3624,3425,3340,3486,3623,4236,4480,3537,3187,3024,2924,3084,3132,3065,2857,2886,3117,3406,3464,3408,2797,2465,2543,2872,2360,1749,1682,2078,2115,2175,2110,2234,2976,3130,2724,3365,3566,3051,2684,2360,2554,3043,3150,3272,3558,3404,3462,3786,4068,4233,3936,3509,3352,3298,3120,3138,3153,3009,2938,2930,2950,3613,4047,3783,3824,3772,3950,3062,1447,1155,1251,1124,790,586,541,545,517,445,423,400,418,437,381,422,444,453,528,538,543,577,617,691,779,800,815,838,848,898,838,792,813,896,799,704,722,692,660,714,696,726,819,840,966,764,830,993,819,665,927,1036,953,831,741,750,844,778,627,554,755,1284,1427,1343,1260,1250,1772,1736,987,749,684,576,625,1052,1545,1255,1082,1146,1097,1062,1012,931,829,842,822,863,1043,946,1099,988,972,978,852,690,731,871,890,996,1011,892,905,899,792,877,1111,986,872,996,999,925,924,824,849,774,827,736,909,909,1111,1222,1415,1636,1883,1928,1714,1562,1373,1251,1213,1213,1297,1208,1297,1241,1287,1324,1320,1255,1290,1290,1090,1134,1106,1282,1894,3063,3570,4252,4418,4475,4477,4407,4499,4439,3934,4148,4312,4264,3918,3812,2876,2359,2725,2888,2447,1929,1583,1854,2236,1915,1742,1716,1675,1500,1416,1181,1204,1545,1500,1422,1601,1732,2076,1870,2244,2453,3418,3814,4320,4638,4595,3752,2647,2215,2373,2756,2868,2376,2118,2529,2995,2707,3140,4312,4700,4452,4015,3780,3187,3149,4728,5025,4372,4012,3914,3824,4156,4352,4312,4343,4365,4189,3959,3805,3921],[2813,3008,2707,2483,2566,2358,2421,2235,2234,2082,2500,3793,3671,3089,2553,2201,1901,1793,1916,1808,1864,2733,3521,3271,3587,3770,3238,2953,2796,2523,2287,2312,3063,2856,2113,2074,1602,1516,2436,2717,2973,2525,2269,2645,2978,3216,3442,3462,2841,2534,2303,2581,2417,2259,2108,2028,2112,2544,3044,2844,2322,2289,2244,2604,2329,2147,2603,2625,2689,2519,2809,3105,3007,2957,2623,2186,2291,3288,3220,2194,2229,2348,2568,2814,3022,2733,2499,3034,2901,2211,1968,1976,1931,1736,1747,1529,1618,1827,2069,2348,2410,2730,2862,3082,3284,3479,3792,3353,3264,3331,3191,2978,2419,2109,2510,2554,2167,2350,2136,2305,2217,2273,2351,2351,2668,2541,2396,2268,2237,2330,2043,1814,2124,2007,2184,2681,2532,2088,2304,2582,2210,2056,2295,2075,1915,2311,3001,3249,2864,2433,1925,1651,1692,2028,2297,2701,3347,3240,2414,1983,1898,1978,2042,2175,2429,2010,1880,2548,2776,2378,2099,1923,2066,1983,1858,1839,1994,2155,2008,2518,2866,2366,2411,2829,2887,3082,3008,2788,2858,2722,2867,2498,1406,1229,1774,2286,2383,2396,2500,2290,2542,3113,3620,3840,4014,3488,3022,2689,2714,3538,3840,3972,3710,2975,2321,2188,2328,2457,2894,3263,3340,3050,3796,3886,2953,2488,2644,3054,3099,2866,2495,2661,2807,2743,3012,3016,3226,2737,1915,1821,1792,1725,1939,1976,1748,1777,1792,1927,2475,2966,2923,3076,3167,3274,3562,3600,2902,2486,2512,2219,2395,2886,3405,3348,3470,3368,3205,3154,3204,3338,3503,3575,3580,3551,3205,3109,3074,3093,3062,2808,2639,2973,3207,2946,3391,3836,3726,3910,3724,3679,3583,2609,1735,1869,2444,2581,2813,2999,3110,3400,3528,3356,3842,3902,3982,3679,3662,3763,3314,3223,3387,3300,2862,2779,3334,3636,3671,3614,2952,2323,2051,1978,2282,2611,2364,2119,2208,2136,2103,2231,2008,1989,2085,2548,3163,3099,3105,2573,2441,2313,2227,2109,2071,2366,2769,2779,2580,2252,2399,2645,2954,2694,2316,2113,2002,2741,3949,4152,3884,3528,2623,2547,2664,2311,2124,2437,2543,2130,1951,2124,2257,2427,3112,3143,2176,2084,1844,1945,2085,2373,2340,2230,2177,2015,2344,2403,2478,2622,2854,2924,3045,2695,2020,1764,1638,1232,1455,1875,1434,1249,1528,2119,2046,2223,2294,2341,2502,2401,2296,2121,1671,1618,1821,1968,2144,2179,1823,1798,2086,1818,1644,2440,2403,2155,2288,2160,2166,2048,1622,2329,2461,2708,2802,2598,2023,1726,1875,1810,1602,1888,1853,1685,1694,1795,1963,2262,2708,2351,2275,2380,2293,2050,1811,1923,2022,1930,1953,2275,2403,2112,2077,2226,2178,2220,1555,885,984,1295,1823,2270,2519,2135,1931,1879,2302,2856,2512,2341,2377,2358,1817,2203,2625,1891,1801,2001,2118,2036,2120,2150,2151,1965,1600,1393,1450,2285,2742,2402,1451,971,1112,1918,2975,2353,1863,2424,2348,2197,2621,2483,2217,1589,1507,1673,1937,1771,2155,2276,1712,1466,1766,2043,1942,2171,2621,2192,1614,1669,1845,2414,2760,1910,1778,2031,2127,2284,2104,1855,2210,2825,2720,2735,2974,3392,2965,2988,3103,3000,3377,3675,3819,3809,3167,2285,2519,1741,1626,1912,1896,1764,1747,1828,1735,1885,2085,2148,2573,2510,2204,2215,2855,2915,2664,2543,2122,1938,2290,2321,2011,2229,2730,1974,1695,1696,2478,2471,1939,1648,1835,2415,2330,2068,1967,2324,2501,2388,2177,3486,4013,3484,2526,1685,1406,1739,2141,2684,3047,2751,2352,2407,2132,2213,2414,2460,2822,3060,3010,2814,2534,2159,2291,2621,2377,2247,2400,1806,1738,1820,2148,2239,1731,1464,1701,1763,1416,1618,1771,1734,1440,1282,1674,1522,1534,1420,1555,1574,1605,1768,1581,1326,1400,1494,1538,1522,1688,1357,1339,1409,1410,1367,1333,1418,1571,1848,1866,1594,1489,1359,1488,1671,1532,1482,1536,1477,1494,1524,1532,1575,1761,1830,1793,1864,1746,1629,1581,1743,1701,1439,1534,1708,1772,1825,1609,1498,1461,1698,2353,2657,2286,2297,2966,4092,4608,4370,4231,3982,2734,1750,1746,1988,1759,1909,2364,2007,1671,1742,1769,1565,1328,1314,1456,1419,1442,1428,1548,1494,1475,1711,1519,1361,1393,1558,1762,1704,1572,1639,1960,1631,1507,1667,1532,1836,1750,1929,2598,2410,2323,2432,1992,1907,2770,2344,1881,1891,1932,2349,2508,2473,2483,2205,2614,2890,2647,2480,2556,2555,2750,2796,1994,1870,2106,2324,2501,1973,1652,2253,2819,2685,2117,1628,1526,2303,3420,2765,1776,1360,1457,1749,1754,1572,1626,1650,1486,1606,1785,1809,1676,1696,1768,1793,1696,1801,1829,1600,1682,1975,2420,2398,2520,1957,1559,1633,1576,1504,1739,1740,1848,1940,1795,1987,1874,1838,1980,1792,1609,1772,2602,2794,2554,2429,2129,2846,2770,2302,1825,1860,1978,1736,1730,1639,1537,1654,1685,1733,1624,1631,1367,1458,1813,1775,1697,1583,1722,1848,1864,1900,2089,1933,1937,1724,1590,1543,1458,1451,1600,1849,1662,1451,1458,1568,1509,1844,2299,2907,3392,2743,2237,1790,1526,1641,1698,2002,1985,2016,1985,1707,1773,1552,1467,1302,1373,1412,1561,1886,1623,1433,1454,1279,1500,1665,1354,1210,1305,1372,1206,1329,1428,1384,1290,1664,1865,1852,2001,1554,1371,1410,1257,1445,1413,1421,1750,1887,1733,1502,1590,1598,1394,1442,1494,1476,1384,2064,1583,1445,1804,2570,3108,2843,2252,1737,1349,1213,1546,1740,1772,1424,1362,1514,1739,1641,1474,1339,1361,1443,1577,1818,1949,1930,1902,1412,1670,2191,2653,3021,2432,1785,1699,1805,2382,2974,2934,3588,3086,1925,1604,1662,2042,1923,1569,1383,1508,1492,1490,1817,1910,1681,1902,2047,2485,2686,2807,3148,3357,3186,3155,3201,2697,2228,2338,2090,1662,2051,2311,2496,2155,1533,1603,2337,2448,2177,2350,2244,2018,1824,2077,1801,1687,1819,2214,2192,2126,2204,2040,1280,1140,1442,1800,2062,2430,2240,1819,1696,1767,1489,1456,1547,2195,2746,2732,2295,2000,2395,3220,2909,2940,2317,1711,1597,1499,1525,1527,1498,1450,1289,1389,1583,1654,1602,1437,1579,2019,2092,1879,1784,1826,1692,1704,2055,2030,1765,1824,1918,2138,3211,2472,2159,2386,2378,2495,2315,1810,1729,1925,1776,1688,1836,2238,2303,1753,1588,1978,2059,2194,2295,2290,2612,2630,2392,2282,1953,1952,2202,2387,2336,3028,3364,3156,3056,2800,2697,2889,2886,2792,2757,2565,2612,3286,4353,4808,4720,4611,4099,3414,3175,3498,4333,4328,3430,3143,2813,2646,2377,2105,2093,1794,1677,2258,2833,3188,2951,3130,3319,3238,3306,3072,2927,2987,3103,3124,2673,2449,2478,2554,2318,1751,1622,2028,1703,1533,2121,2416,2912,3393,3237,3312,3274,3406,3509,3640,3228,3208,2978,2473,2367,2868,3356,3385,3042,2664,2777,2842,3182,3220,2754,2387,2750,2678,2354,2607,2148,2045,2368,2357,1974,2095,2627,2217,2140,2084,2027,1788,1541,1559,1691,1749,1582,1638,1920,1973,2253,2314,2565,2565,2636,3153,2406,2404,3431,3814,3284,2246,1922,2268,2011,1167,1687,2360,2977,3263,3201,2758,2073,2698,3362,2991,3097,3234,3365,2906,2708,3232,4096,3734,3718,4463,4537,3716,3465,4005,4810,4841,4275,4268,4544,4500,4514,4764,4549,2954,1286,624,436,398,416,431,392,374,347,350,360,361,358,362,373,384,391,406,437,448,422,403,400,408,408,408,413,422,435,453,478,511,549,578,605,646,662,717,837,965,950,812,808,848,830,797,753,738,745,720,632,540,493,479,464,466,470,471,479,486,503,513,524,632,1335,2121,3001,2080,1367,1483,1487,1289,1441,2154,2326,1867,2910,3666,2754,2894,3674,3220,2270,2592,4052,4953,5115,5352,5656,4839,4275,3748,3370,3240,3679,4433,4710,4437,3985,3956,3972,3710,3968,3936,2899,2391,1819,1969,3325,4104,3898,3519,3373,3391,3523,3436,3167,3159,3230,3132,3211,3356,3417,3359,3327,3186,3397,3522,3241,3176,3197,3211,3216,3340,3664,4079,4188,3669,3247,3033,2831,3173,3349,3297,3242,3231,3250,3569,4199,4258,4528,4614,4604,4752,4799,4697,4649,4464,4220,3938,3887,4049,4121,3926,3831,4070,3804,3370,3053,3015,3083,3139,3077,3017,3151,3460,3555,3532,3670,3023,2550,2724,2534,2421,2248,1942,2147,2103,1756,1770,2675,2475,2419,2486,3068,3326,2615,1974,2215,3012,3328,3298,3343,3449,3060,3364,4080,4500,4491,4294,4039,3814,3574,3558,3372,3255,3059,3007,2954,2979,3553,3873,4038,4233,4485,3953,2282,1001,719,614,555,516,484,479,469,452,418,400,385,416,470,416,442,445,453,493,496,494,508,543,581,641,673,699,716,736,763,701,665,665,697,718,678,695,657,606,694,713,698,742,742,862,880,781,903,931,802,795,931,1027,921,879,768,874,791,624,592,685,1016,1244,1302,1280,1109,1373,1617,1131,789,785,661,674,1092,1324,1085,903,871,929,925,840,838,735,735,761,715,1014,943,1048,998,967,975,968,869,690,719,867,822,835,837,874,911,916,844,962,1055,868,817,925,868,838,789,789,724,754,739,898,901,1076,1216,1304,1463,1562,1676,1588,1512,1329,1184,1135,1128,1162,1108,1037,1085,1101,1093,1226,1208,1109,1169,1026,963,914,936,1086,1754,2445,3226,3835,3706,3427,3085,2897,2968,2775,3361,3609,3748,3794,4034,3916,3805,4289,4394,3481,2465,1989,2168,2027,2181,2353,2283,2057,1913,1944,1843,1760,1791,1786,1658,1673,1825,1952,1569,2273,2132,2990,3499,3417,3470,3650,3340,2220,1805,2332,2363,2878,3133,3341,3987,4564,4439,4816,4873,3996,3382,3022,2999,2963,2995,3928,4440,4232,3933,3897,3996,4215,4338,4312,4570,4632,4332,4304,4262,4215],[2204,1886,2513,2705,2814,2269,2173,2159,2154,2169,2962,4193,4484,4268,3792,3154,2364,1974,1967,2047,2500,3156,3484,3419,3477,3728,3747,3540,3630,3891,3515,3171,3587,3586,2776,2129,1730,1530,2102,2239,2194,2229,2442,2835,3076,3110,3227,3134,3249,2773,2622,2700,2451,2400,2863,2805,2594,3249,3269,2441,2383,2624,2662,2689,2473,2555,2714,2753,2768,2851,3322,3517,3234,2985,2644,2316,2625,2901,2734,2754,2675,2504,2710,2954,2577,1778,2280,2732,2465,2091,1825,1982,2088,1891,1740,1980,2347,1986,2309,2271,1775,1639,2374,3494,3617,3572,3782,3403,3322,3175,2576,2263,2107,1909,2227,2205,2128,2279,2255,2376,2192,2211,2577,2933,2702,2001,1689,1946,2165,2303,2166,2123,2142,2081,2516,2779,2335,2305,2574,2498,2279,2208,2270,2057,2181,2175,3165,3188,2875,2790,2262,1711,2019,2703,2701,2453,2696,3119,2707,2254,1958,2159,2482,2564,2385,2143,2284,2696,2741,2555,2342,1868,2175,2353,1914,1763,1973,2243,2438,2673,2977,2813,2950,3030,3060,3128,2944,2885,2874,2363,2317,2584,1943,1738,2284,2720,2768,2842,2645,2277,2784,3614,4082,3696,3816,3459,3376,3410,2864,2802,3257,3373,2994,3025,2549,2456,2232,2357,3538,4099,3582,3137,3349,3464,3475,3284,2988,3062,2930,2930,2731,2821,2712,2539,2974,2729,2745,2755,2142,1842,1333,1019,1663,2014,1931,2041,1998,2196,2713,3059,2945,3098,3351,3263,3489,3488,2821,2257,2342,2596,2656,2844,3241,3264,3488,3472,3144,3120,3208,3261,3364,3710,3563,3443,3085,3160,3203,3094,2764,2779,2823,3024,3251,3251,3815,3805,3679,3602,3349,3341,3186,2785,2302,2368,2548,2389,2568,3035,2824,2917,3401,3226,3589,4050,4124,3823,3905,4090,3783,3425,3636,3805,3226,2648,2624,3244,3432,3558,3019,2178,2119,2123,2498,2653,2450,2855,3139,2556,2295,2231,2024,2148,2195,2361,2579,2894,2666,2532,3134,2735,2387,2219,2491,2433,2509,2692,2150,1963,2679,2857,2556,2247,1887,1690,1730,2310,3201,3186,2791,2560,2082,2147,2354,2157,2331,2619,2338,2222,2272,2400,2138,2563,2969,3233,2829,2177,2128,2160,2193,2319,2474,2224,2252,2214,2485,2830,2952,3039,3052,2922,2990,2809,2031,1533,1561,1365,1594,1629,1276,1403,1790,1495,1134,1693,2511,2700,2540,2359,2075,2406,2264,1781,1667,1931,2340,2417,2322,2337,2235,1844,1898,2100,2332,3328,3271,2871,2770,2877,2890,3144,2568,2452,2263,1511,1270,1564,1686,1250,1019,1222,1505,1660,1702,1706,1763,2489,2973,2778,2655,2391,2092,2105,1908,2042,1961,1476,1477,1923,2397,2304,1974,1838,2076,1783,928,822,973,1400,2218,2498,2576,2109,1737,1906,2498,2549,2412,2536,2458,2930,2149,3217,3197,2248,2154,1862,1730,1820,1923,2030,2093,1892,1772,2132,1717,1806,2035,1870,1383,951,1400,2612,2980,2007,1997,2543,2304,2084,2010,2117,1735,1547,1738,2246,2938,2978,3039,2603,1726,1089,1682,2643,2486,1874,2130,2023,1598,1657,2010,2930,2920,1843,1400,1575,1937,2333,2405,2086,2206,3218,3257,2954,2831,2918,2808,2908,2820,2719,3570,3961,4107,3993,3593,2370,1954,1392,1525,1876,2149,2198,2176,2145,1970,1792,1996,2503,2863,3061,3119,3041,3097,2953,2722,2381,2014,2319,2668,2712,2487,2503,2811,2194,2254,2426,2862,2460,1873,1580,2011,2345,2135,1991,1719,2284,2485,2447,2338,3710,4228,3469,2806,2544,2172,1899,1745,2394,2656,2254,2149,2160,2476,2781,2710,3000,2971,2668,2780,2909,2536,2408,2814,3182,2832,2151,2307,2056,1564,1641,2022,1956,1510,1509,1848,1703,1324,1521,1622,1598,1466,1178,1402,1399,1573,1660,1578,1630,1754,1713,1483,1306,1322,1356,1428,1476,1587,1462,1350,1640,2319,2139,1522,1471,1435,1614,1673,1596,1557,1268,1384,1751,1688,1637,1693,1420,1468,1519,1639,1838,1991,1967,1904,1969,1734,1730,1788,1936,2030,1880,1818,1803,1494,1487,1431,1509,1825,2336,2709,2346,2260,2951,3696,4324,4324,4124,3854,3074,1938,1827,2049,2031,1797,2145,2398,2065,1847,2014,2059,1469,1372,1347,1531,1616,1558,1513,1511,1641,1703,1571,1441,1373,1606,1576,1630,1504,1332,1512,2096,2050,1795,1529,1647,1729,1668,2178,2185,1859,2082,2189,2254,1741,1899,2115,2029,1939,2294,3199,3235,2806,2349,2017,2484,2652,2730,2882,3453,3052,2497,2120,1908,2292,2776,3321,3182,2096,1886,2498,2995,2417,1738,1573,2049,2743,3311,3219,2334,1627,1846,1738,1647,1551,1822,2047,1803,1543,1598,1535,1423,1561,1734,1830,1800,2000,1800,1654,2231,2492,2400,2664,2674,1987,1735,2055,2010,1597,1845,2177,1739,1675,1744,1816,1744,1956,2236,2132,1632,1864,2874,2927,2236,1885,1992,3144,2357,2156,1917,1811,1737,1601,1491,1461,1556,1589,1562,1409,1488,1521,1414,1483,1561,1612,1595,1561,1572,1835,1970,1964,1940,1852,1876,1607,1561,1545,1404,1411,1845,1899,1611,1758,1857,1659,1755,2531,2172,2669,3156,2464,2008,1641,1447,1732,1846,1816,1836,1786,1675,1545,1754,1545,1430,1433,1491,1470,1805,2120,1822,1636,1482,1218,1384,1460,1481,1377,1702,1522,1314,1374,1349,1332,1355,1584,1656,1759,2111,1664,1393,1536,1378,1382,1444,1531,1549,1467,1418,1570,1838,1586,1386,1461,1431,1415,1323,1386,1317,1420,1640,2162,2657,2442,1994,1865,1737,1311,1676,1894,1679,1515,1608,1695,1832,1641,1460,1450,1520,1852,2032,1822,1708,1807,2028,1417,1421,2160,2641,2842,2658,2078,1808,2179,2746,3007,2997,4297,3941,2661,1973,1857,1810,1506,1533,1803,1738,1664,1760,1947,1875,1769,2178,1883,1982,2375,3054,3205,3217,3107,2922,3483,3611,2596,2042,1649,1559,2224,2153,1944,1692,2182,2603,2437,2297,1869,1911,1588,1567,1697,2278,1720,1732,2105,2294,2198,1931,2218,2127,1141,1328,1484,1767,1895,2032,2158,2105,1982,1657,1442,1504,1569,1763,2408,2689,2236,2161,2380,2458,2288,2822,2017,1616,1751,1646,1867,1860,1515,1346,1680,2041,1747,1745,2013,1670,1653,1991,2116,1929,1785,1926,1855,1530,1322,1404,1422,1704,1645,2251,3186,2511,2079,2237,2147,2546,2699,2062,1874,1926,1602,1396,1562,2076,2021,1692,2018,2321,1834,1666,2520,2814,3006,3198,3055,3248,2711,2338,2035,2270,2991,3508,3508,3152,3193,3541,3469,2946,2645,2975,3006,2474,2420,3106,4112,4732,4708,4696,4309,3648,3508,4008,4432,4479,3337,3162,2853,2386,2228,2028,2046,2040,2062,2400,2857,3146,3141,3249,3242,3111,3107,3099,3119,3029,3028,3001,2705,3364,3438,2577,2250,2050,2074,1899,1448,1823,1899,1588,2058,2700,3104,3200,3129,3130,2963,2945,2857,3172,3044,2647,2578,2754,2714,2584,2762,2898,3109,2602,2412,2908,2917,2283,2289,2286,2158,2056,1815,2188,2162,2335,2193,2127,1740,1740,1915,1632,1677,1968,1801,1506,1758,1865,1588,1555,1519,1609,2078,2044,2378,2919,3265,3199,2798,2800,3364,3716,2841,2236,2304,2231,1249,753,918,1650,2468,2803,3068,2909,2507,2687,3133,2690,2784,2872,2916,2669,2676,2700,3438,3863,3801,4393,4529,3664,3701,3491,4156,4356,3590,3815,4160,4197,4159,4307,4331,3082,1313,690,422,398,381,396,362,348,344,349,361,362,358,365,378,391,389,392,416,432,427,420,418,410,407,405,404,415,428,430,443,478,506,536,558,569,586,639,730,848,891,789,695,713,731,705,704,688,692,685,616,529,485,467,456,464,465,462,460,485,510,528,521,548,838,1709,2430,1924,1362,1437,1537,1310,1015,896,1041,1434,2726,2400,1315,1446,2383,2403,1945,2251,3147,3997,4990,5636,5888,5046,4239,3698,3177,2614,2547,3038,4024,4697,4552,4625,4243,4085,4320,3318,2406,2062,2091,2988,4004,4244,3925,3461,3368,3408,3480,3431,3212,3287,3200,3129,3174,3218,3199,3207,3277,3145,3089,3293,3332,3341,3304,3287,3369,3680,4124,4394,4719,4158,3300,2993,3217,3695,3585,3417,3219,3181,3292,3892,4399,4524,4489,4305,4284,4392,4517,4460,4329,3706,3431,3579,3709,3726,3718,3433,3311,3610,3702,3418,3117,3140,3298,3297,3272,3495,3484,3420,3550,3676,3638,2767,2617,3051,2389,2218,1935,1934,1978,2304,2155,2332,2339,2244,3064,3177,2791,2813,2192,2099,2441,3032,3431,3350,3305,3433,2861,3132,4071,4500,4776,4715,4480,4172,4249,4265,3584,3372,3110,2990,2984,3065,3285,3540,3829,3995,3873,2663,1180,731,607,519,504,472,438,432,422,405,383,368,375,392,442,457,460,447,457,453,447,460,483,499,514,533,551,585,616,651,662,628,628,620,583,564,566,606,634,596,579,630,642,666,733,704,762,709,769,857,885,846,812,914,868,979,924,972,916,779,714,881,1128,1086,1025,1038,949,999,1221,1246,904,999,973,1020,1276,1194,984,838,783,826,812,735,776,720,715,742,747,898,905,937,947,897,897,882,894,813,732,694,858,808,769,845,943,1017,893,885,1074,959,846,910,849,802,764,756,757,735,771,925,955,1027,1132,1152,1368,1438,1502,1376,1362,1236,1095,1027,1001,1038,1023,924,882,935,947,932,1056,1055,997,957,884,818,780,806,955,1332,2261,2636,2251,2304,1995,1795,2042,1748,2322,2424,2113,2362,2745,2639,2589,3319,3182,2386,2045,2613,3359,3222,3553,4264,4018,3288,2363,2292,2319,2065,2044,2070,1910,1895,2142,2024,1563,1675,1764,2072,2308,1950,1836,2482,2932,1891,2172,2365,1934,2162,2297,3376,4224,3971,3675,3571,2899,1916,1688,1728,1763,2084,2548,3430,3989,4140,4175,4317,4409,4441,4572,4833,5028,4580,4287,4316,4339,4227],[2166,1615,2501,2679,2279,2070,2536,2575,2522,2631,3241,4009,4380,4135,4086,3926,3519,2844,2213,2666,3217,3367,3243,3209,3386,3817,3940,3846,4086,4177,4372,4323,4263,4264,3229,2721,2340,2156,2622,2991,3029,2811,2126,2020,2654,2860,2951,2750,2757,2746,2703,2564,2366,2432,2834,2718,2949,3464,3011,2554,2810,2584,1866,2072,2571,2586,2461,2528,2602,2886,2874,2980,2756,2460,2404,2366,3000,2958,2690,2532,2394,2563,2954,3142,2423,1988,2488,2524,2108,2018,2098,1967,1848,1963,2069,2801,2921,2280,2832,2107,1910,1743,1722,2614,3410,3635,3341,3291,3558,3264,2653,2434,1992,1777,1967,1889,2045,2008,2229,2462,2144,2017,2532,2722,2377,2218,1811,1932,2014,2157,2012,2039,1963,2078,2756,2759,2462,2984,3282,3041,2218,1958,1777,2304,2679,2229,2546,2593,2897,2905,2424,2045,2051,2451,2309,1786,1607,1851,1999,2190,1946,2367,2559,2216,1934,1916,1995,2201,2387,2570,2304,2135,2588,2372,1793,1849,2487,2680,2531,2965,2814,2525,3162,3302,2956,2475,2575,2646,2307,2480,2511,2456,2448,2720,2972,2999,3007,3228,3265,2798,3096,3510,3770,3651,3363,2855,2988,2962,2626,2995,2924,2754,3008,3085,2855,2613,2481,3067,3892,4196,3626,3222,3110,3000,3439,3677,2929,2640,2495,2464,2850,2986,2780,2640,2833,2392,2151,2422,1963,1495,1068,921,1408,1852,1716,2086,2526,2609,2762,3111,3069,2968,3242,3451,3669,3419,3185,2567,2373,2595,2742,2851,3106,3373,3517,3484,3384,3384,3345,3128,3145,3422,3328,3397,3145,3094,3242,2799,2811,3185,2752,2773,3075,3637,3717,3292,3093,2690,2689,2691,2294,2324,2303,2153,2359,2556,2377,2508,2473,3088,3222,3246,3351,3812,4290,4236,4100,3861,3425,3373,3619,3686,3429,2752,2316,2613,2942,3104,2445,1935,2270,2220,2200,1897,2388,2954,3538,2896,2176,2049,1910,2103,2288,2576,2745,2589,2131,2878,3317,3046,2767,2246,2072,2842,2986,2645,1850,2024,2574,2173,2285,2226,1892,1585,1563,1625,1705,1721,1738,2160,2565,2485,2136,2069,2085,2335,2298,2554,2544,2379,2549,2598,2543,2766,2253,2069,2462,2529,2077,1828,2462,2263,2257,2332,2866,3442,3384,3151,3099,3045,3075,3001,2154,1526,1600,1426,1459,1384,1203,1141,1518,1528,1494,2000,2310,2273,2319,2731,2584,2865,2238,1987,2155,2243,2300,2503,2522,2203,2164,1859,1560,1610,2033,2415,2365,2608,2720,3166,3814,3199,2337,2296,1613,1427,1638,1513,1353,1183,1250,1477,1726,1794,1828,1954,2020,2069,2293,2296,2445,2568,2413,2245,2221,2313,1863,1687,1777,2137,2800,2788,2276,1942,1694,1152,874,1008,1295,1577,2498,3040,3153,2343,1853,2141,2104,2263,2719,2842,2676,3276,2387,2703,2402,1984,2248,2005,1563,1712,1939,1916,2149,2107,2107,2956,2770,2064,1769,1548,1185,1285,2130,3091,2668,1714,2156,2569,2271,2145,1747,1811,1807,2048,1970,2710,3430,3205,2790,2251,1626,959,1464,1989,2171,1782,2013,1971,1594,1541,1953,2314,2253,1977,1611,1569,2048,2431,2359,2105,2110,2606,3159,3350,2896,2418,2643,2857,2965,3276,3718,3776,3671,3473,3252,2500,2050,1883,1986,2233,2404,2164,2633,2858,2313,1890,2261,2980,3208,2934,2512,2798,3686,3655,3144,2454,2026,2786,3022,2911,2592,2177,2611,2937,3098,3166,2940,2477,2267,2260,2300,2652,3054,2463,2097,1951,1869,2283,2511,3146,3255,2647,2685,2342,1776,1955,1532,2460,2751,2293,2084,2141,2591,2723,3107,3538,3142,2917,3028,3195,2501,2340,2981,2941,2431,2033,1956,1923,1569,1489,2169,2675,1569,1621,2223,1767,1360,1262,1404,1531,1604,1372,1324,1432,1428,1555,1587,1647,1630,1606,1409,1487,1448,1488,1422,1320,1607,1671,1413,1973,2702,2069,1383,1229,1297,1555,1509,1394,1402,1439,1792,1961,1757,1769,1826,1648,1739,1824,1918,1980,1995,2081,2045,2066,1878,1771,1889,2028,1981,1885,1902,2028,1802,1853,2178,2566,2882,3077,2998,2675,2807,3498,4037,4151,4056,3793,3242,2230,1732,1892,2226,2107,1858,2134,2193,1795,1881,2417,2267,1396,1400,1362,1426,1487,1620,1623,1462,1709,1739,1655,1597,1639,1924,1722,1359,1041,1389,1872,2299,2441,1947,1525,1653,1678,1698,1865,1749,1639,1932,2271,2009,1718,1562,1714,1925,2121,2690,3099,3304,3339,3004,3006,3441,3240,3483,3688,3540,2916,2890,3593,4112,4265,3738,3514,2482,1818,1759,2664,3207,2360,1447,1652,2289,2518,2954,3727,3068,2208,2043,1735,1650,1626,1810,1847,1729,1590,1519,1417,1619,1930,1860,1798,1830,2333,2149,1703,2161,2495,2356,2568,2734,2709,2378,1694,2126,1975,1669,2034,1713,1833,2129,1930,1673,1834,2027,2161,2104,1815,2220,2684,2428,1694,2278,2828,2028,1709,1775,1880,1915,1628,1622,1621,1527,1357,1379,1403,1447,1403,1406,1529,1742,1582,1436,1498,1623,1611,1882,2212,2023,1763,1771,1720,1718,1660,1456,1440,1682,1760,1612,1815,2085,2115,2295,2354,1892,2318,2429,2101,2093,1831,1881,1997,1879,1861,2009,2008,1750,1613,1615,1593,1444,1332,1453,1518,1476,1633,1656,1764,1544,1375,1614,1573,1542,1436,1563,1422,1486,1542,1488,1406,1428,1499,1584,1250,1481,1491,1491,1486,1422,1411,1524,1644,1599,1551,1457,1572,1543,1396,1400,1705,1738,2021,1915,1542,1418,1505,1836,2148,2398,2192,1753,1561,1777,1349,1715,2266,2093,1980,1855,1788,1925,1653,1427,1554,1688,2094,2104,1937,1843,1878,2007,1674,1913,2490,2635,2934,2807,2078,1598,2065,2700,2733,2426,2745,2872,3020,2664,2153,2036,2003,1870,2129,2127,2511,2498,2008,1873,2164,1958,1504,1615,2543,3240,2661,2686,3164,3504,3795,3686,2530,1906,1922,1973,1954,1914,1676,1877,2768,2866,2519,2136,1951,1913,1610,1385,1357,1762,1642,1736,2058,2111,1881,1806,1980,1722,1664,2419,2354,2062,1998,2176,1890,2027,2116,1604,1564,1610,1572,1719,1956,2567,2436,2167,2480,2353,2439,2306,1658,2012,2277,1920,1868,1630,1448,1379,1804,1991,1659,1546,1737,2031,2020,1745,1574,1765,1789,2037,1955,1730,1673,1749,1539,1821,1955,2213,2587,2428,2041,1705,1836,2547,2432,1938,2271,2459,2716,1848,1211,1639,1965,2377,2806,2764,2701,2433,2708,2988,2971,3011,3020,3154,2668,2278,2312,2895,3096,3315,3692,3610,3557,3663,3033,2312,1946,2070,2260,1984,2150,2919,3920,4528,4554,4559,4443,4264,4215,4459,4567,4465,3310,3091,3068,2514,2841,2608,2431,2422,2523,2842,3163,3230,3221,3312,3281,3150,3073,3007,3116,3046,2968,2845,3186,3842,3379,2160,1975,2369,2336,1826,1760,2053,1698,1590,1748,2675,3210,3227,3182,3133,2999,2918,2842,2670,2345,2031,2452,2458,2243,2183,2518,2902,2839,2418,2831,2980,2663,2160,2000,2013,2194,2235,2055,1972,1911,2022,2300,2133,1626,1635,1770,1744,1649,1587,1714,1887,1811,1518,1445,1813,1601,1575,1714,2009,2692,3098,3165,3221,3328,2907,2888,2323,1114,1194,2023,2110,1781,1188,912,1892,2316,2360,2952,3030,3072,3252,3511,2880,2610,2767,2776,2755,2691,2554,2979,3194,3409,3646,3174,3054,3710,3237,3636,4094,3572,3519,3813,4156,4171,4098,4435,3529,1800,830,444,402,383,354,343,344,343,347,348,350,357,369,383,391,385,391,397,428,431,415,401,406,411,408,400,406,409,409,418,443,475,492,519,523,542,570,622,733,807,780,656,617,646,644,650,649,649,645,601,524,473,453,446,447,450,444,443,474,509,533,489,508,520,824,1239,1317,1292,1394,1562,1455,1214,1013,890,1691,2155,1414,941,1099,1687,2196,2116,2046,2579,2902,3746,4665,5636,5380,4327,3741,3398,2844,2286,2049,2554,3183,3374,3925,4321,4597,4021,2620,1964,2402,3360,4109,4332,4082,3790,3464,3462,3376,3476,3325,3262,3321,3207,3173,3160,3139,3204,3229,3266,3295,3374,3404,3386,3355,3382,3464,3648,4013,4361,4613,4797,4612,3791,2864,3248,3709,3516,3377,3218,3211,3490,4276,4404,4132,4101,3972,4048,4329,4478,4248,4089,3504,3281,3341,3298,3310,3369,3319,3240,3273,3274,3225,3178,3317,3448,3274,3665,3794,3663,3759,3873,3885,3529,2623,2886,2840,2661,2515,2269,2070,1991,2283,2182,2328,2293,2050,2593,2574,2641,3032,2827,2719,2728,2897,3354,3275,3149,3286,2973,2939,3364,4007,4671,4553,4588,4676,4503,4228,3720,3414,3122,3060,3116,3261,3488,3576,3772,3574,2416,1240,773,661,579,502,438,400,406,405,389,375,359,352,363,385,406,441,439,433,438,411,401,426,454,465,490,502,511,547,583,591,575,567,587,577,545,514,503,486,491,496,539,556,584,653,653,629,613,578,616,627,729,794,727,734,734,790,850,883,932,890,803,953,1089,1004,920,872,861,804,844,1010,1303,1789,1463,1127,1045,961,880,809,732,770,802,752,735,713,707,733,745,810,898,942,924,879,877,871,838,813,771,654,770,813,742,788,927,917,856,837,1006,960,837,867,827,771,728,718,763,750,737,886,933,1006,1108,1159,1355,1350,1333,1220,1157,1058,988,949,899,936,929,855,789,827,841,781,817,891,913,849,759,750,703,714,755,819,1338,2012,1981,1910,1637,1450,1893,1838,1976,2195,1930,1929,2230,1943,1753,1940,1800,1430,2008,3024,3466,2900,2999,3871,4232,4232,3882,3710,3220,2346,2152,2344,2238,2143,2405,2245,1769,1660,1267,855,895,1339,2062,2631,2901,2018,1742,1513,1535,1771,1757,2041,2337,2478,2490,2807,2820,2006,1355,1354,1479,1598,1741,2602,3638,3908,4064,3890,3510,3166,3050,3156,3384,3296,3322,3261,3618,4042],[1804,1030,1792,2314,1902,1990,2423,2530,2505,2342,2285,2684,3496,3935,4108,3840,3927,3798,3204,3010,3259,3360,2878,2603,2789,3262,3698,3625,3793,4060,4330,4132,3970,3836,3764,3538,3297,2805,2806,3342,3408,3013,2596,2521,2920,3135,2902,2798,2712,2710,2675,2398,2101,2248,2405,2307,3210,3125,2438,2657,3166,2433,1427,1660,2397,2583,2496,2597,2857,3131,2812,2628,2489,2844,3008,3056,3183,2812,2819,2678,2762,2808,2920,2626,2223,3097,2934,2212,1893,1888,1951,1970,1958,2068,2403,2850,2887,2856,2639,1948,2111,2315,2056,2149,2868,3415,3447,3161,2846,2555,2108,2060,1594,1582,1600,1693,1865,2010,2427,2499,1842,2133,2420,2175,2144,2045,1978,1831,1774,2000,2242,2556,2304,2222,2790,2613,2854,3289,3032,2609,2453,2260,2033,2587,2500,2244,2436,2553,2710,3096,2810,2152,2164,2159,1556,1306,1359,1601,1917,1892,2013,2168,1830,1795,1828,2084,1740,1562,1784,2130,2780,2909,2916,2828,2446,2426,2866,2562,2472,3393,3449,3636,3557,3023,2504,2410,2808,2979,2819,2910,2710,2276,2256,2622,3039,3176,3525,3575,3506,3064,2994,2809,2829,3303,3226,2632,2618,2787,3181,3314,2857,2556,2886,3035,2906,3082,3250,3185,3365,3820,3772,3492,2332,2762,3262,3725,3928,3210,2851,2687,2987,3319,3190,2813,2436,1916,1705,1794,1789,1581,1077,1086,1349,1831,1851,2365,3294,3082,2522,2634,2732,2598,3072,3733,3784,3845,3858,3671,3419,3038,2989,3184,3194,3531,3609,3596,3538,3403,3294,3054,3052,3208,3293,3272,3199,3272,3087,2893,3232,3073,2635,2790,3393,3890,3496,3040,2924,2938,2808,2125,1761,2128,2054,2135,2458,2410,2210,2142,2326,2811,2979,3423,3341,3215,3570,4116,3926,3515,3491,3143,3753,3761,3074,2434,2316,2504,2449,2569,2332,1977,2282,2144,1898,2081,2581,2548,3277,2636,1912,1991,2027,1952,2128,2553,2504,2315,2486,3274,3024,2937,2707,2828,3062,3270,3177,2623,2244,2194,2013,1767,2403,2121,1910,1633,1484,1488,1630,1481,1644,2033,2078,2196,2083,2289,2788,2909,2260,2169,2502,2443,2308,2258,2086,1876,1976,2386,2686,2842,1738,2179,2353,2071,2113,2333,3044,3563,3145,2691,2971,3142,3143,3199,2366,1468,1307,1305,1310,1281,1182,1057,1263,1572,2167,2808,3090,3655,3648,3430,3312,3084,2540,2687,2800,2578,2342,2444,2322,2338,2330,1431,1432,2176,2428,2583,2524,2386,2139,2500,2842,2239,2087,2240,1412,1478,2287,1839,1023,969,1394,1790,1955,1979,2020,2344,2268,1738,2065,1967,2115,2445,2436,2576,2680,2413,2034,2041,2048,2369,2903,3096,2931,2037,1450,1436,1660,1361,1488,1948,2730,3736,3959,2665,2232,2219,2136,2263,3053,2905,2949,2986,2483,2114,2042,1949,2026,1827,1742,2405,2286,2138,2359,2195,2662,3081,2776,2309,2452,2501,1527,1771,2833,3475,2078,1731,2192,2449,2336,2050,1926,1826,1660,1753,1871,2269,2319,2299,2378,2376,1774,1106,1034,1087,1158,1043,1255,1616,1572,1498,1876,2325,2385,2335,2202,2270,2482,2263,1981,1913,1991,2561,3244,3451,2973,2425,2505,2566,2902,2989,2965,3007,3266,3297,2920,2797,2532,2237,2464,2482,2662,2602,3480,3897,2946,2406,2851,3176,2749,2587,2607,2887,3703,3529,2765,2209,2184,2466,2634,2624,2504,2324,2585,2929,3197,3540,2996,2316,1946,2250,2158,2061,3516,3597,3160,2123,1741,2360,2761,2774,2114,1559,1820,1690,1808,2289,1874,2237,3029,2938,2371,2473,2492,2134,2372,2862,2796,3165,3458,3353,2580,2234,1979,1756,1932,1885,1885,1926,1792,1758,2232,3022,2044,1931,1991,1743,1547,1531,1416,1442,1592,1469,1431,1352,1250,1477,1652,1582,1282,1620,1652,1530,1432,1665,1668,1354,1588,1759,1516,1734,2160,1746,1400,1278,1325,1472,1432,1378,1452,1619,1696,1571,1949,1895,1874,2077,2324,2476,2586,2739,2918,3088,2985,2588,2108,1827,1992,2267,1914,1850,2292,2298,2481,2789,3073,3337,3560,3696,3786,3449,2764,2829,3260,3848,3863,3715,2834,2056,1873,1882,2032,1923,1732,1524,1507,1408,1438,1541,1455,1365,1287,1612,1754,1509,1499,1470,1618,1908,1648,1528,1503,1613,1878,1668,1382,1652,2199,2563,2412,1721,1525,1525,1419,1342,1559,1490,1680,1766,2344,2317,1826,1900,1888,1824,2127,2257,2042,2300,2720,2893,3133,3230,3356,3572,3776,3919,3674,2973,3098,4385,4968,4732,3440,2372,1610,2021,2068,2711,3394,2502,1826,2086,2800,2780,2698,3528,3527,2433,1802,1560,1641,1738,1654,1555,1492,1452,1608,2130,2294,2461,1788,1697,1766,2476,2490,2033,1853,1879,2054,2330,2441,2911,2968,1996,2476,2425,1968,1806,1738,2524,2834,1975,1790,1983,1700,1781,2024,2076,1896,2412,2367,1864,2172,2467,2137,1859,1802,1852,1848,1714,1738,1560,1430,1309,1415,1583,1547,1514,1624,1627,1603,1509,1472,1623,1670,1522,1720,1918,1982,2031,1999,1821,1620,1486,1496,1461,1797,1945,1670,1900,2140,2463,2479,2092,1795,1886,2002,2366,2374,1865,1849,1718,1698,1686,1788,1943,1682,1459,1422,1401,1453,1478,1504,1499,1312,1470,1389,1543,1656,1711,1904,1771,1548,1686,1734,1565,1795,1772,1748,1487,1469,1499,1566,1344,1703,1621,1530,1546,1355,1443,1686,1883,1918,1597,1362,1409,1454,1561,1486,1801,1840,1909,1663,1454,1459,1751,2156,1756,1920,1927,1671,1562,1577,1564,1729,2025,1815,1604,1550,1727,1899,1675,1560,1653,1842,2116,2128,2018,2030,2104,2056,2032,2270,2417,2273,2322,2060,1662,1639,2102,2526,2546,2320,1895,2081,2438,2199,2154,1928,2099,1784,2041,2281,2626,1730,1324,1794,2124,1995,1779,1692,2626,3255,2823,2798,3308,3661,3986,3462,2669,2050,2178,2260,2319,3016,2862,2742,2953,2603,2611,1973,1662,1754,1749,1578,1449,1482,1688,1731,1637,1760,1671,1667,1555,2120,2929,3224,2915,2733,2624,2170,1730,1798,1988,2020,1767,1631,1515,1778,1923,2519,2127,1947,2362,2747,3020,2458,2039,2480,2201,1768,1670,1608,1623,1433,1499,1849,2005,1715,1796,2376,2497,1843,1790,1976,2073,2146,1944,1918,2043,2106,1700,1650,1815,1841,2231,2247,2011,1721,1814,2055,1864,1628,2007,2537,2613,1900,1504,1828,2510,2689,2862,3879,4139,3104,2667,3353,3350,2736,2896,3050,2964,2814,2706,3022,3114,3363,3525,3454,3440,3033,2189,1802,1807,1999,2056,1819,2204,2873,3798,4308,4496,4471,4423,4444,4475,4439,4451,4096,3128,2935,3098,2542,3191,3030,2894,3000,2877,2916,3011,3088,3315,3539,3619,3348,2850,2179,2713,2634,2644,2864,3603,3858,2958,1990,1970,2096,2163,2238,2169,1667,1588,1759,2444,3186,3429,3299,3028,3120,3118,3122,2821,2323,2836,2569,2679,2902,2663,2250,2643,3051,3037,2910,2620,2390,2151,1836,1950,2222,2149,1932,2220,2554,2265,2004,1902,1660,1739,1716,1678,1688,1858,1794,1687,1842,1936,1721,1591,1670,1674,1710,1632,2061,2671,2865,3039,3182,3361,3134,3068,2198,1282,794,1152,1626,2093,2023,1873,1904,1140,1737,2752,2752,3000,3305,3570,3309,2645,2644,2912,2801,2644,2344,2380,2522,2951,3631,3480,3615,3592,3234,3391,3935,3916,3480,3737,4144,4393,4588,4764,4272,3226,1274,474,410,367,348,350,357,347,338,339,338,354,367,381,383,386,396,392,414,426,410,406,417,419,406,403,404,407,402,402,423,450,469,487,497,508,518,542,627,714,753,667,591,586,597,603,607,610,606,576,516,471,446,424,428,438,431,426,458,483,490,482,488,499,591,809,1168,1266,1374,1570,1658,1561,1557,1091,1556,1933,1239,990,1062,1390,2038,2444,2302,2432,2489,2863,3176,4812,5672,4624,3820,3550,3076,2396,2024,2150,2073,2104,2857,3870,4312,3128,2070,1978,2980,4048,4343,4240,3761,3469,3473,3444,3341,3520,3376,3237,3274,3265,3210,3200,3162,3111,3183,3293,3375,3365,3407,3409,3327,3487,3626,3827,4252,4545,4584,4359,4604,4432,3261,3303,3582,3465,3366,3251,3171,3331,3834,4269,4074,4074,4248,4320,4505,4520,4460,4460,3772,3354,3375,3444,3519,3385,3283,3230,3230,3177,3153,3196,3440,3188,3227,3741,3682,3548,3606,3730,3613,3535,2526,2522,2394,2761,2691,2809,2314,1809,2136,2259,2298,2402,1991,2598,2942,2874,2862,3374,3349,3119,3096,3307,3431,3574,3294,2885,3127,3967,4337,4340,4595,4759,4644,4276,4046,3948,3635,3385,3172,3259,3378,3790,3992,3664,2408,1236,835,683,581,528,486,414,388,392,393,374,365,366,352,353,365,379,401,398,402,443,409,407,429,405,408,491,517,513,533,552,552,531,547,594,534,528,505,466,433,426,459,482,487,544,656,649,554,561,518,547,597,591,617,652,626,669,657,644,683,760,801,741,829,884,803,819,813,824,760,719,763,880,924,945,895,783,842,813,777,730,746,778,763,716,696,699,704,686,700,803,877,867,850,851,841,846,820,754,680,707,800,768,761,891,845,835,793,900,915,849,836,841,798,786,772,764,787,742,866,938,1057,1287,1198,1223,1208,1122,1068,1008,926,894,870,808,821,824,786,754,735,701,776,760,741,859,805,735,775,718,702,713,670,794,1310,1528,1432,1208,1154,1478,1705,1758,1792,1985,2188,2121,1619,1547,1660,1497,1323,2372,3143,2809,1995,2182,3370,3354,3045,2876,2286,1815,1900,2105,2910,2917,2227,2288,2322,2264,2080,1718,1543,1719,2270,2836,2968,2699,2008,1627,1383,1515,1838,1742,1607,1851,2025,2453,2476,2438,2053,1470,1274,1392,1505,1268,1260,1481,2070,2774,2475,1986,1297,992,1158,1458,1300,1115,1186,1713,2113],[1891,1019,1716,2385,2362,2426,2399,2513,2351,2043,2012,2028,2131,2937,3624,3841,4062,3977,3642,3461,3854,3791,3001,2484,2424,2777,3544,3388,3468,3862,3833,3449,3462,3768,3509,3022,3142,3146,2994,2949,2692,2995,3064,2786,3154,3335,3274,3135,2723,2668,2592,2045,2158,2482,2306,2077,2470,2401,2658,2799,2544,2509,2145,2175,2785,2951,2764,2853,3392,3751,3500,3242,3261,3383,3310,3691,3885,3264,2843,2635,2995,3222,3277,3120,2851,3035,2593,1857,1858,2059,1957,1863,1969,2313,2678,2444,2494,2519,2667,1967,1804,2326,2357,2414,2827,2897,3191,3186,2267,1569,1479,1829,1852,1663,1643,1886,1992,2054,2332,2389,1832,2331,2558,1855,2158,2020,1873,1482,1493,2252,2589,2601,2326,1920,2271,2712,2898,2714,2140,2441,2722,2297,1980,1973,1913,2171,2630,2912,3129,3451,3085,2459,2219,1758,1371,1316,1372,1461,1542,1554,1853,1881,1743,1743,1599,1886,1594,1490,1683,2010,2776,2790,2573,3099,3419,2787,2400,2414,2758,3515,3554,3722,3374,2361,1997,2357,2846,3067,3232,3538,2869,2349,2313,2352,2542,3176,3678,3706,3119,2590,2752,2774,2818,3111,2996,3041,2964,2630,2835,2801,2601,2611,2652,2800,3116,3508,3449,3197,3126,3798,3550,3342,2691,3160,3260,3244,3560,3448,3338,3248,2954,3019,3110,2714,2154,1919,1891,1924,1815,1715,1454,1761,1781,1821,2327,2911,3702,3314,2366,2390,2941,2835,2861,3439,3815,3825,4094,4197,3908,3706,3499,3582,3144,3441,3527,3603,3369,3230,3331,3210,2933,2879,3167,3317,3339,3564,3636,3533,3334,3166,2852,3210,3694,3739,3361,2977,3098,2745,1958,1913,2338,2395,2245,2543,2531,2476,2190,2046,2188,2166,2379,2658,2861,3275,3321,3600,3770,3680,3881,3343,3682,3702,3172,2689,2880,3132,2888,3084,3000,2661,2653,2859,2542,2488,2621,2714,3187,2855,2163,2046,2008,1910,2110,2499,2176,2100,2511,3130,3046,2691,2402,2822,3215,2966,2265,1690,2062,1962,1926,2208,2173,1858,1677,1555,1494,1529,1501,1424,1670,2189,2567,2500,2085,2565,2867,2361,1791,1864,2337,2241,2143,2221,1879,1730,2170,2470,2720,2391,2145,2319,2158,2355,2597,2572,2971,3372,3223,3056,3144,2977,2911,2860,2391,1757,1570,1527,1450,1497,1713,1865,2407,3042,3427,3375,2993,2988,3101,2708,2747,2730,2627,2598,2448,2513,2403,2579,2475,2416,2034,1624,2003,2221,2937,3432,3138,2901,2779,2755,2465,2109,2906,3160,3009,3008,3150,2940,2603,2292,2512,2798,2315,1998,2466,3000,2591,2456,2416,1916,1915,2051,2482,2619,2294,2367,2613,2510,2293,2590,2853,2964,2489,1825,1787,1945,2266,2242,1872,1763,2258,3226,3531,2492,2798,2386,1933,2241,3097,2791,2648,2718,2424,2402,2651,2243,2698,2114,2260,2630,2632,2272,2119,2061,2715,3013,2909,2562,2441,2332,1480,2268,3294,2890,1707,1801,2294,2343,2577,2277,1815,1650,1553,1734,1719,1897,1888,2490,2776,2830,2161,1865,1867,1707,1562,1439,1450,1504,1674,1626,1709,2207,2409,2321,2392,2464,2508,2253,2141,2196,1961,2267,2929,3532,2896,2441,2410,2364,2755,2899,2389,2518,2980,2719,2640,2745,2413,2636,2830,2821,2952,2933,3646,3630,2967,2869,2979,2831,2656,2855,3275,3558,3919,3592,2846,2833,2683,2574,2566,2358,2428,2640,2853,2808,2848,3522,2762,2485,2150,2542,2167,2400,3777,3896,3047,1951,1652,2216,2544,2308,1929,1354,1476,1624,1659,2030,1813,2156,3362,3101,2394,2673,2803,1838,1841,2413,2603,3004,3341,3265,2611,2445,2232,2005,2047,1909,1968,1986,1920,1789,2185,2407,2201,2224,1850,1615,1938,2012,1621,1436,1429,1716,1633,1557,1433,1600,1594,1694,1426,1747,1793,1393,1331,1427,1490,1480,1505,1611,1463,1485,1697,1653,1439,1300,1377,1377,1366,1385,1309,1328,1469,1578,1803,2042,2172,2558,3248,3520,3455,3500,3649,3667,3393,2769,1918,1864,2857,2957,2161,2031,2614,2973,3376,3688,3855,3904,3724,3735,3780,3414,2877,2937,2774,2871,3184,3459,2731,1957,1859,1902,1948,1883,1668,1660,1682,1648,1471,1489,1819,1800,1464,1571,1577,1700,1562,1492,1671,1979,1692,1555,1698,1837,1854,1636,1625,1851,2040,2308,2106,1854,1816,1711,1696,1333,1112,1449,1830,1756,2062,2206,1924,1968,1997,2148,2366,2112,2088,2171,2177,2111,2615,2767,2397,2979,3685,3981,3841,3310,2531,3321,4524,4132,2523,1692,1472,2203,2303,2645,3552,2278,1876,2248,3244,3260,2825,2949,3421,2780,1784,1170,1456,1859,1670,1598,1512,1578,1911,2393,2277,2124,1810,1758,1640,2023,2504,2536,2088,1801,1859,2321,2480,2661,3077,2376,2196,2150,1959,1963,2220,2671,2462,1840,1791,1944,1825,1958,2067,2374,1909,1993,2105,2077,2416,2814,2680,2123,1721,1418,1355,1418,1427,1463,1502,1507,1838,2140,1824,1549,1641,1682,1980,2090,1737,1735,1394,1473,1613,1857,2181,1990,1813,1836,1770,1707,1567,1582,1694,1721,1938,2310,2330,2084,1714,1740,1670,1751,2115,2433,2163,1685,1484,1454,1899,1715,1493,1871,2000,1758,1505,1409,1492,1514,1645,1593,1644,1943,1697,1653,1875,1697,1741,1929,1636,1737,1832,1716,1598,1525,2590,1977,1382,1562,1620,1621,1838,1794,1558,1717,1373,1524,1717,2149,2053,1510,1479,1417,1497,1491,1512,1647,2055,2381,1825,1469,1655,2148,2582,2136,1710,1500,1575,1526,1509,1598,1588,1621,1644,1620,1559,1709,1850,1527,1413,1439,1925,2075,1932,2207,2477,2216,1939,1698,1735,1699,1505,1853,1985,1665,1656,2265,2700,2707,2504,2600,2522,2117,1926,2090,2151,1962,1841,2014,2141,2509,2018,1470,1818,2004,1927,2225,2154,2376,2517,2744,2851,2640,2482,2741,2962,2654,2149,2260,2249,2342,3077,2756,2408,2598,2837,2630,2219,1722,1732,2029,2127,1959,1809,1865,1876,1481,1658,1705,2114,1652,2536,3156,3298,3629,3334,2617,1935,1726,1593,1604,1863,1927,1658,1554,1885,2186,1980,1561,1779,2473,2823,2990,3156,2371,1946,1730,1369,1478,1656,1464,1540,1684,1824,2097,1935,1798,2131,2083,1474,1899,2168,2126,2070,2069,1903,1826,1842,1789,1971,1894,2092,2337,2146,2042,2012,1958,2209,1939,1687,1745,1725,1891,2078,2228,2353,2687,2908,3155,4265,4880,4196,3606,3384,2653,2700,3290,3118,3168,2983,2851,3351,3764,3554,3515,3337,3363,3154,2563,2214,2061,2212,2510,2408,2480,2735,3518,4252,4524,4483,4386,4352,4268,4244,4340,4108,3286,3012,2955,2679,2979,2783,2819,2952,2859,2834,2798,2796,3156,3714,3342,2495,2059,1858,2147,2493,2679,3354,3938,3529,2337,2106,2174,1790,2302,2618,2787,2547,1913,2136,3211,3334,3120,2557,2406,3183,3351,3112,2918,2258,2314,2873,2575,2722,2842,2942,3049,2787,2603,2873,2829,2321,1857,1674,1931,2015,2047,1865,1937,2291,2347,2194,1787,1682,2155,2113,2281,1955,1724,1787,2048,1920,1726,1861,1839,1706,1859,1974,1844,2229,2447,2791,3017,2853,2938,3138,3189,3171,2448,1399,634,751,1405,2317,2114,1415,812,997,2260,2523,3042,3530,3770,3726,2986,2489,3012,2824,2693,2438,2535,2745,2943,3625,3237,3344,3511,3016,2809,3397,3992,3697,3946,4188,4205,4512,4732,4143,2873,1139,444,398,359,343,355,354,342,338,331,329,349,358,375,379,381,389,395,407,405,413,417,423,428,413,406,399,397,396,395,408,425,445,470,482,476,483,495,537,618,694,672,582,536,548,558,559,564,556,549,505,459,436,417,420,429,424,426,438,450,457,454,477,503,499,643,1027,1531,1411,1384,1716,1736,1874,1620,1274,1296,1119,1093,1213,1410,1861,2624,3275,3543,3208,2983,3211,4630,5680,4760,3857,3536,3146,2523,2079,2153,2236,2052,2432,3296,3510,2600,1736,2274,3727,4026,4160,3963,3646,3484,3518,3504,3394,3495,3454,3260,3306,3222,3142,3159,3173,3221,3305,3320,3288,3355,3489,3418,3370,3571,3719,3795,4069,4341,4235,4174,4468,4633,3849,3559,3738,3591,3373,3288,3233,3244,3395,4037,4384,4375,4573,4637,4681,4652,4748,4486,3602,3185,3261,3482,3482,3479,3423,3387,3380,3226,3216,3410,3674,3516,3510,3635,3440,3370,3200,3339,3231,3484,2778,2232,2543,2599,2095,2335,2241,2095,2777,3326,3144,3078,2806,2894,2705,2605,2614,2931,2799,2894,3326,2858,3094,4185,3950,3353,3694,4465,4297,3820,4433,4645,4069,3607,3723,3974,4064,4066,3454,3718,3836,3799,3469,2503,1321,808,698,606,533,483,450,416,396,398,394,397,400,379,360,358,365,371,398,411,372,433,427,442,451,390,382,478,524,535,550,537,527,520,524,597,522,505,473,439,422,429,445,449,454,491,577,642,576,559,534,528,559,572,584,610,583,608,608,603,623,635,705,655,689,742,694,735,793,813,744,688,727,748,789,841,783,728,795,756,734,716,725,747,736,699,681,683,678,643,661,739,823,856,828,821,821,838,822,756,703,704,743,765,751,817,921,880,826,835,878,842,784,835,825,832,807,780,855,897,878,968,1026,1210,1145,1052,1065,1008,966,915,868,834,790,743,736,741,727,702,705,658,701,741,695,737,750,705,737,706,673,634,550,566,715,927,1076,1031,964,1041,1119,1233,1331,1518,1602,1623,1409,1379,1408,1263,1601,2533,2895,2908,2128,1980,2491,2405,2037,1753,1427,1105,1530,2182,2731,2421,1855,1840,2147,2809,2853,2820,2897,2841,3010,3172,3054,2944,2856,2620,2187,2307,2330,1914,1268,1476,1476,1977,1977,1779,1664,1361,1049,1210,1622,1124,869,943,1438,1740,1528,1325,1041,1024,1022,995,935,832,771,868,1122],[2148,1559,1984,2190,2285,2315,2390,2597,2437,2298,2370,2212,2010,2013,2188,2930,3864,4060,3809,3841,4399,4294,3625,3007,2684,3018,3255,2820,2700,3234,3496,3553,3528,3241,3275,3241,2677,2609,2654,2605,2492,2827,2905,2679,2724,3040,3621,3605,3107,2785,2453,1941,2526,2668,2426,2414,2441,2561,2850,2746,2786,3537,2912,2909,3382,3383,3145,3244,3439,3215,3066,3458,3497,3281,3611,3739,3943,3865,3318,3103,3338,3024,2912,3116,3104,2890,2432,1669,1802,2037,2086,2292,2220,2376,2552,2401,2353,2865,2681,1601,1805,2601,2480,2259,2657,2509,3042,2546,2113,1734,1492,1683,1759,1666,1809,2069,2002,1985,1852,2085,2193,2276,2160,1985,2035,1667,1596,1619,1670,1960,2168,2484,2382,1857,2206,2720,2409,2023,2147,2386,2088,1758,1702,1800,1945,2420,2405,2790,3188,3120,2915,2698,2526,2155,1704,1659,1716,1533,1444,1575,1756,1768,1917,1885,1666,1462,1472,1777,1992,2028,2018,1991,2332,2986,3097,2929,2862,2796,2576,2579,3043,3299,2940,2085,2025,2513,2518,2741,3078,3078,2352,2511,2497,2524,2601,2994,3638,4020,3680,2927,2996,3098,2967,3440,3527,2986,2540,2568,2913,2737,2428,2428,2697,2872,3028,3184,3044,3495,3958,4239,3768,3231,3092,3444,3539,3088,2671,2546,2844,3311,2881,2555,2910,2924,2488,2496,2423,2600,2545,2236,1732,1723,2221,2377,2382,2354,3228,3279,3028,3308,3828,3372,2915,3460,3819,3734,3886,4128,3853,3736,3701,3803,3220,3262,3376,3607,3421,3219,3209,3108,2950,2980,3274,3517,3462,3548,3500,3181,2909,2894,2701,3052,3276,3345,3318,2986,2477,1867,1608,2202,2438,2462,2354,2479,2377,2133,1955,2259,2568,2531,2146,2364,2593,3083,3553,3542,3508,3615,3942,4101,3952,3754,3666,3382,3486,3632,3617,3707,3360,3263,3416,3308,2929,2609,2357,2481,2696,2486,2277,1886,2025,1923,2298,2427,2106,2074,2218,2334,2588,2647,2648,2565,2653,2495,2314,1836,2208,2141,2192,2176,1767,1511,1431,1371,1490,1575,1487,1510,2037,2641,2533,2333,2119,2600,2740,2104,1744,1986,2001,2068,2332,2226,1909,1766,2100,2277,2389,2238,2115,1815,2004,2360,2460,2591,2900,3316,2951,2601,2590,2960,2934,3060,2828,2514,2512,2460,2242,2023,2286,2403,2486,2721,2588,2918,2833,2751,2777,2896,2863,2473,2238,2225,2046,2366,2465,2710,2240,1985,1844,1479,1722,1904,2192,2843,2596,2046,1981,2244,2232,2145,3179,3760,3860,4070,4152,3683,2912,2944,3408,3389,2208,1609,1798,2293,2823,2743,2062,2089,2775,3143,3209,2939,2522,2287,2310,2505,1954,2108,2707,2499,1970,2063,2403,2553,2457,1966,1736,1488,2008,2411,2408,2266,2813,2540,2144,3097,3344,2618,2652,2854,2494,2341,2674,2274,3312,2481,2319,2798,2456,1760,1910,2175,2413,2492,2790,2900,2600,1722,1870,2687,3044,2007,1644,2035,2320,2163,2083,1957,1740,1580,1904,1944,1885,2000,1772,2505,2990,2677,2264,2469,2524,2302,1925,1355,1250,1107,1359,1562,1761,2135,2336,2076,1876,1917,2122,2451,2779,2769,2316,2077,2490,3365,3130,2813,2735,2632,2692,2865,2903,3226,3232,2876,2511,2313,2338,2931,3218,3383,3196,3082,3362,3033,2733,2908,2806,2673,2201,2642,3544,3962,3842,3781,3441,3276,3381,3364,2745,2404,2491,2618,3156,2789,2710,3470,2717,2565,2806,2944,2873,3287,3471,3345,3013,1944,1712,2082,2105,1894,2255,1990,2018,2073,1750,1808,1812,2273,3304,3000,2612,2514,2083,1602,1897,2566,2735,2873,3044,3177,3306,3150,2507,2009,1979,2039,2040,1973,1598,1611,2122,1852,1842,2384,2179,1747,1838,2083,2019,1540,1407,1659,1802,1903,1614,1530,1994,2452,1960,1685,1600,1343,1422,1721,1650,1644,1338,1298,1366,1405,1330,1605,1610,1343,1385,1375,1558,1685,1551,1444,1466,1443,1505,1844,2013,2761,3486,3506,3519,3640,3738,3643,3210,2521,1856,2236,2979,2741,2048,1958,2764,3814,4101,3913,3932,3754,3353,3248,2916,2870,3017,3150,3241,3043,2808,2906,2751,2545,2563,2170,1820,1843,1837,1716,1790,1710,1400,1430,2388,2445,1697,1691,1606,1588,1471,1393,1454,1814,1895,2103,1996,1661,1564,1758,2085,1636,1656,2085,2132,1898,1579,1687,1678,1377,1372,1482,1506,1578,1665,1635,1741,1910,2194,2878,2388,2342,2554,1975,1953,2068,2411,2739,3222,3596,3786,3949,3438,3418,2792,3261,3684,2734,1832,1577,1538,1690,1814,2706,3254,1579,1294,2306,3177,3332,3243,3426,3719,3309,2100,1485,2259,2170,1630,1585,1610,1866,1968,1973,2189,1982,1899,1807,1688,1948,2162,2558,2477,2131,1821,2119,2527,2536,2316,2398,2141,1671,1739,1724,1709,1877,2041,2425,1864,1835,1778,1717,1773,1975,1783,1699,2192,2611,2593,2800,2975,2979,2262,1609,1432,1404,1324,1522,1747,1627,1763,2060,1990,1687,1646,1666,2088,2184,1929,1653,1448,1570,1616,1759,1882,1646,1606,1748,1871,1854,1816,1876,1990,1998,2242,2267,2162,2082,1972,2137,1818,1742,1749,1751,1708,1451,1486,2321,2978,2302,1634,1953,2101,1893,1473,1241,1444,1545,1772,1814,1752,1990,2102,2098,2050,1885,1888,1932,1650,1638,1858,2118,1909,2951,7281,4207,1043,1643,1670,1836,2385,2272,1686,1794,1376,1511,1765,2334,2293,2034,1883,1671,1534,1514,1483,1513,1861,2059,1869,1642,1896,2147,2474,1883,1394,1428,1824,2182,1909,1631,1458,1405,1491,1294,1404,1792,1537,912,1120,1676,2234,2198,1960,2322,2754,2586,1759,1627,1673,1669,1395,2069,2546,1946,1651,1943,2316,2186,1998,2238,2491,2527,2151,1795,1922,1976,2151,1979,2039,2379,1812,1459,1675,2097,2888,3583,3740,4020,3957,3838,3660,3198,2346,1959,1958,2120,1948,2066,2215,1827,1976,1973,1771,2068,2162,2331,1973,1699,2376,2354,2110,1981,1810,1851,2215,2729,3031,2961,2951,1870,2191,2985,3022,3229,2822,2133,1901,2068,1932,1641,1798,2198,2154,2041,2374,2311,1891,1923,1811,2023,2395,2127,2718,2758,2230,2135,1528,1420,1944,1767,1623,1598,1749,1988,1964,1961,1714,1535,1866,2201,2166,2019,1936,2030,1954,1713,1907,1803,1710,1864,2310,2231,2025,2474,2360,1896,1878,2076,2273,1778,1604,2101,2392,2588,2287,2342,3083,2879,3310,4042,4176,4460,3667,2433,2915,3453,3598,3554,3307,3236,3672,3891,3895,3772,3782,4072,3918,3532,3003,2476,2406,2824,2690,2337,2324,3307,4155,4415,4376,4309,4092,3812,3941,4216,4189,3151,3136,2819,2920,3012,2591,2533,2659,2607,2580,2815,3002,3476,3625,2285,1756,1998,2149,2301,2544,3063,3625,3728,3260,2059,2218,2082,2034,2805,2844,2834,2754,2385,2858,3516,3339,2696,2129,2678,3286,3156,2974,3217,2736,2400,2427,2331,2320,2525,2818,2555,2646,2608,2714,2556,2581,1910,1686,2151,2296,2182,2244,2274,2154,2214,2501,2473,1952,2159,2911,2792,2242,1828,1577,1868,1970,1787,1660,1672,1816,1721,2032,2011,2276,2702,3015,3197,2873,2736,3005,3394,3012,2634,2588,1412,630,673,1388,1853,2029,1481,1543,2460,3046,3726,4056,3916,3434,3151,2238,2636,2872,2726,2476,2544,2804,3231,3666,3160,2880,3068,2713,2370,2682,3709,4051,3991,4050,4156,4421,4645,4216,2555,836,445,369,367,356,349,336,327,332,333,332,341,350,345,367,440,403,382,407,399,409,407,416,419,418,413,403,391,386,390,400,417,432,453,466,464,452,464,486,536,621,648,573,501,510,509,517,521,524,523,489,454,432,408,403,414,414,416,421,425,436,444,463,491,478,527,728,1710,2159,2083,1898,1845,2012,1984,1478,1108,1341,1271,1296,1540,1870,2545,3618,4563,4739,4420,4717,5309,5483,4915,4244,3616,3200,2608,2043,1760,1996,2114,1896,2600,3338,2765,1744,2629,3931,3981,4108,4383,3919,3442,3560,3667,3588,3583,3415,3271,3281,3254,3174,3180,3227,3305,3352,3317,3273,3383,3464,3374,3344,3523,3629,3637,3763,3872,4036,4373,4457,4297,3904,3964,3881,3517,3283,3153,3252,3382,3335,3605,4251,4463,4596,4679,4472,4489,4564,3960,3272,3206,3326,3399,3431,3446,3319,3563,3737,3461,3388,3711,3775,3483,3453,3588,3425,3209,2991,3059,3232,3426,2864,2175,2547,2725,2611,2731,2230,2784,3544,3905,3948,3945,3846,3635,3506,2674,2298,2821,3053,3288,3052,2499,3018,3926,3974,3740,4050,4260,3452,3167,3920,4176,3736,3599,3528,3752,4196,4244,3803,3826,3596,2873,1922,1127,787,673,616,515,471,464,438,429,425,421,409,395,393,404,379,357,365,386,414,446,369,417,445,436,429,413,419,481,525,557,572,553,532,530,525,566,521,486,461,439,429,425,435,442,454,479,489,607,605,575,568,546,576,588,602,597,586,580,576,583,586,568,640,637,625,662,657,683,742,757,721,681,707,745,756,809,764,688,777,774,701,690,703,715,708,682,655,637,635,582,661,731,760,814,813,794,797,797,811,783,710,711,721,797,750,807,936,892,840,802,830,894,784,804,800,810,778,844,895,1032,954,927,976,1050,1036,931,962,949,903,845,817,798,752,699,689,697,685,664,668,679,644,654,666,653,652,632,624,612,608,579,533,533,562,610,670,798,788,791,720,805,963,1149,1146,1274,1450,1415,1179,1076,1568,2480,2508,2452,1962,1589,1646,1939,1820,1460,1192,1272,1867,2458,2470,1354,1215,1291,2619,4328,4220,3740,3736,3851,4132,3948,3352,3039,3106,3197,3286,3583,3610,2423,1189,1086,1169,1498,1559,1295,1226,1066,920,1066,1512,1088,786,943,1214,1258,1145,933,842,874,746,862,874,743,725,744,880],[2630,1818,2260,2261,2259,2371,2498,2885,2879,2658,2464,2480,2378,2093,1920,1928,2319,3081,3520,3870,4260,4384,3973,3430,3331,3262,3145,2833,2493,3043,3565,3859,3529,3234,3271,3108,2670,2540,2532,2463,2464,2664,2708,2577,2607,2730,3040,3132,3536,3333,2417,2193,2593,2533,2824,2917,2553,2878,2846,2800,3222,3431,2964,2942,3066,2810,3187,3320,2849,2999,3620,3473,3007,3281,3548,3412,3705,3763,3290,3119,2852,2464,2945,3464,3593,3306,2807,1872,1992,2009,2082,2423,1998,1759,2202,2461,2252,2280,2193,2047,2605,2779,2407,2519,2668,2195,2131,2140,2408,1941,1488,1671,1746,1788,2079,2084,2119,2167,1829,2260,2689,2635,2513,2305,2169,1698,1213,1696,2026,2153,2430,2632,2360,1902,2030,2543,2168,1966,2121,1902,1954,1935,1757,1986,2229,2544,1954,2114,2266,2776,2508,2120,2471,2353,1845,2143,2343,2145,1806,2028,1876,1653,1779,1898,1601,1521,1740,1777,1771,1688,2069,2474,2580,2758,2544,2714,2756,2840,2540,2607,2806,2823,2974,2537,2197,2289,2413,2861,2876,2436,2648,2584,2562,2590,2458,3049,3666,3936,3669,2784,2953,3403,2969,2490,2814,2588,2263,2601,3041,3107,2676,2112,2440,3024,2992,3097,3204,3440,3928,4372,3989,3438,3470,3607,3581,3221,2780,2814,2930,2997,2397,2314,2819,2920,2668,2565,2681,3245,3270,2810,2273,2062,2506,2791,2477,2548,3237,3597,3466,3453,3598,3161,2754,3195,3741,3773,3805,3817,3383,3488,3449,3454,3170,3109,3290,3555,3731,3535,3118,3067,3145,3049,3184,3400,3482,3364,3174,2984,2871,2882,2964,3176,3138,3115,3123,2792,1787,1896,2121,2573,2598,2414,2447,2498,2221,1833,1874,2398,2902,2722,2334,2645,2760,2867,2945,3436,3648,3509,3724,3980,3853,3771,3728,3555,3575,3916,3870,3663,3347,3363,3625,3261,3039,2984,2602,2952,2891,2793,2731,2306,2354,2041,2603,2649,2241,2285,2564,2667,2600,2262,2509,2497,2456,2920,2712,2269,1886,2184,2855,2943,2456,2218,1873,1554,1489,1519,1537,1904,2237,2284,2543,2460,2380,2822,2817,2251,2311,2261,2469,2959,2829,2255,1655,1933,2465,2479,2303,2374,2349,2176,2134,2191,2229,2652,2490,2757,2761,2623,2798,2867,2751,3064,2994,2842,2819,2641,2381,2014,2192,2394,2232,2619,2854,2740,2831,2700,2416,2868,2754,2407,2323,2185,2519,2488,2344,2187,1582,1601,1598,1733,2599,2476,1897,2103,1898,1515,1582,2040,2276,2220,2813,3206,3144,3496,3893,3275,2690,3509,3253,3129,2006,1633,1516,2698,3703,2741,1892,2423,3007,3172,3130,2982,3045,2258,1852,1982,1769,2076,2132,1826,1743,2162,2941,3112,2476,2448,2152,2018,2218,2300,1863,2132,2409,2215,2351,2817,2779,2472,2744,2967,3095,2179,2696,2445,3471,2600,1995,2603,2029,1877,2293,2108,1937,1930,2494,2781,2061,1714,2385,2954,2307,1682,1839,2172,2105,1950,2103,2096,1472,1491,1962,1930,2200,2179,2045,2562,2786,2489,2489,3248,3342,2998,1933,1036,1036,966,1135,1450,1925,2235,2182,1932,1686,1733,2058,3028,3499,3330,2807,2621,2757,2902,2621,2546,2872,2819,2788,2858,2975,3785,3646,3497,3264,3023,2878,3398,3564,3507,3579,3557,3419,2854,2656,2767,3162,3450,3011,3650,4037,4038,3695,3284,3167,3172,3728,3633,2604,2669,2811,1923,2239,2114,1815,1982,2007,2199,2360,2310,2403,2502,2577,2623,2491,1686,1847,2477,2337,2086,2291,2654,2707,2358,2115,2323,2374,2554,3176,2880,2822,2610,1964,1610,1853,2042,1908,1945,2237,2772,3432,3139,2854,2312,2591,2357,2236,2032,1611,1583,1847,1697,1901,2554,2407,1838,1835,1922,1819,1613,1578,1537,1636,1553,1397,1372,1858,2136,1947,1472,1189,1185,1239,1604,2412,1996,1701,1953,1812,1537,1456,1534,1436,1264,1328,1387,1692,1669,1641,1594,1466,1331,1478,1541,1597,2293,3212,3562,3618,3705,3776,3709,3189,2268,2123,2624,2598,2030,1659,1666,2116,3011,3734,3812,3713,3480,3325,2853,2475,2568,3098,3505,3442,3311,3295,3156,2813,2723,3141,2148,1715,1549,1554,1709,1839,1620,1334,1690,2482,2051,1621,1754,1657,1509,1405,1594,2026,2191,2120,1926,1617,1294,1400,1677,1758,1607,1874,2114,1936,1675,1593,1664,1560,1571,1838,1660,1645,1669,1517,1645,1819,2024,2835,3501,2821,2703,2766,2376,2231,2369,2578,2889,3618,3970,3692,3494,3022,3005,2938,3189,3282,2617,1891,1651,1621,1745,1907,2900,2432,1255,1830,3187,3629,3333,3514,4042,4224,3761,2436,1701,2081,1989,1664,1460,1382,1566,1673,1850,1865,1849,2123,2196,1765,1932,2338,2406,2642,2236,1815,1622,2078,2215,1717,1612,1563,1561,1676,1664,1603,1489,1751,1805,1696,1764,1549,1449,1483,1704,1821,1583,2043,2321,2461,2521,2638,2719,2221,1668,1440,1399,1472,1875,2120,1949,1951,1754,1794,1658,1670,1813,1867,1846,1704,1458,1426,1703,1977,1933,1895,2200,1746,1554,1863,1995,1988,1968,2002,1990,2066,1947,2015,2068,1830,1786,1777,1673,1510,1560,1515,1530,1794,1930,2246,2821,2402,1930,1618,1634,1354,1151,1415,1478,1739,1670,1548,1681,1892,2132,1981,1580,1534,1462,1716,1779,1938,2041,1852,2822,4364,2621,1389,1671,1932,2135,2333,2254,2351,2518,1657,1443,1689,1894,1969,1856,1504,1536,1383,1560,1748,1977,1861,2158,2089,1942,1967,1859,1889,1687,1593,1566,1708,2269,2024,1798,1729,1401,1302,1325,1520,1820,1590,1268,1645,2073,2253,2621,2486,2031,2154,2172,2056,2211,2094,1760,1470,1857,1881,1601,1549,1951,2389,2023,1844,1841,2122,1979,1790,1936,1976,1825,1897,1527,1650,2029,1774,1631,1886,2122,3574,4441,4302,4364,4363,3783,3406,3140,2325,2026,1734,1942,1688,1638,1664,1730,1972,1907,1972,1994,2004,2417,2289,2249,2946,1925,1697,1945,2339,2362,2393,3144,3608,3429,2570,1554,1715,2200,2149,2045,1967,1717,1592,1972,2401,2032,1922,2476,2649,2373,2448,2530,2634,2588,2265,1980,2186,1710,1659,2631,2577,2210,1935,1820,2480,2652,2392,1865,1859,1977,1958,1869,1608,1561,1853,2025,1992,1770,1913,2144,1897,1931,2055,1710,2017,2261,2286,2576,2476,1947,1867,1937,1719,1646,1975,1968,2228,2365,2217,2320,2103,2162,3106,3196,2967,3081,3210,3853,3783,2915,2989,3104,3636,3553,3510,3667,3760,3916,4265,4161,3895,3660,3558,3217,2706,2526,2688,2801,2657,2232,2446,3274,3931,4374,4469,4340,4025,3802,4060,4069,3710,2727,3078,2852,2633,2756,2386,2315,2409,2413,2462,2796,2875,3044,3380,2195,1854,2270,2256,2402,2535,2994,3960,3487,2636,2216,2324,1997,2531,3134,2845,2736,2735,2544,2651,2995,2745,1914,2653,3251,2895,2063,2565,3472,3199,2759,2847,3304,3320,3185,3454,3372,3151,2924,2814,2478,2171,1737,1547,2012,2622,2733,2373,1958,2149,2483,2262,2565,2267,2005,2473,2433,2043,1978,1777,1417,1734,2069,1781,1661,1700,2032,2588,2449,2484,2785,3111,3261,3009,2800,2946,3002,2476,2684,2880,2338,1095,689,999,2251,2878,2568,2718,3076,3485,3816,3781,3905,3277,2585,2011,2386,2791,2713,2736,2657,2476,2666,3230,3631,2883,2168,2480,2360,2675,3407,4216,4288,4232,4385,4644,4833,4588,3053,1049,490,405,382,365,342,325,324,334,331,328,325,338,342,377,431,384,376,392,402,405,403,415,421,420,417,413,393,378,385,398,406,414,435,452,457,439,440,460,484,541,611,575,491,486,475,481,492,492,490,474,446,425,408,402,401,404,404,407,411,416,436,448,494,495,500,542,1267,2689,3632,3116,1877,2092,2222,1920,1503,1813,1757,1627,1688,2004,2696,3377,4218,5004,5208,5704,5619,5172,4828,4533,3990,3487,2831,2149,1649,1810,2063,1777,2389,3482,3155,2092,2565,3655,3968,4244,4644,4116,3526,3554,3565,3474,3418,3233,3306,3342,3301,3185,3187,3226,3193,3220,3306,3313,3416,3500,3506,3458,3370,3583,3751,3841,3811,3827,3904,4061,4180,4590,4665,4048,3649,3427,3231,3333,3395,3360,3616,4308,4247,4139,4400,4324,4435,4160,3384,3064,3086,3313,3417,3451,3414,3373,3813,4206,3746,3376,3584,3451,3399,3465,3507,3542,3481,3212,3153,3387,3461,3340,3405,3592,3652,3410,2482,2278,3207,3321,3285,3540,3651,3825,3988,3351,2363,2612,2986,3706,4048,3305,3301,3452,3654,3724,3527,3494,3208,2610,3182,3912,4288,3850,3636,3518,3652,3770,4159,3870,3067,2080,1150,758,677,647,608,557,483,478,456,433,438,451,447,426,429,468,473,412,360,370,399,409,433,369,422,487,430,393,419,458,500,528,571,561,563,553,555,544,554,525,479,466,447,436,425,433,446,464,500,478,594,599,592,622,587,599,622,634,585,563,558,555,552,575,561,589,613,609,616,647,673,701,708,688,696,719,747,732,808,797,696,764,811,707,680,686,671,686,659,633,599,599,551,621,702,727,755,777,768,777,767,766,780,711,688,746,815,753,803,904,893,840,803,821,870,784,733,726,848,882,930,922,941,925,935,928,902,921,810,846,875,832,790,772,767,735,674,647,647,638,631,614,647,611,624,622,610,586,574,571,554,545,532,503,496,493,520,484,511,522,536,532,639,806,902,915,964,1101,1301,1242,992,1148,1616,1662,1691,1529,1371,1186,1386,1636,1417,1162,1462,2127,2802,2422,1297,1247,1141,2715,3321,2823,3002,2893,3039,3918,4348,3655,2962,3679,3975,4021,3834,3597,2301,1152,1023,1250,1565,1451,1126,988,869,853,808,971,976,818,863,911,821,828,804,763,792,694,723,690,656,609,614,669],[2486,1774,2019,2451,2728,2785,2740,2958,2998,2985,2888,2624,2460,2281,2302,2111,1959,2195,2626,2687,3243,3564,3620,3562,3604,3621,3548,3566,3377,3495,3746,3774,3433,2995,2737,2584,2532,2540,2483,2444,2347,2286,2366,2543,2614,2249,2468,2755,3201,3169,2426,2234,2253,2394,2847,2876,2570,2678,2744,2583,2442,2532,2530,2499,2473,2666,3054,2866,2728,3520,3647,3405,2991,3207,3384,3808,3784,3840,3786,3758,3219,2481,2943,3293,3569,3738,3385,2476,2071,2304,2696,2779,2380,1966,2131,2628,2929,2364,2410,2245,2552,2432,2310,2823,2603,1889,1794,2017,2113,1823,1547,1749,1613,1764,2129,2159,2044,2094,2093,2576,2770,2647,2670,2353,2295,1986,1373,1967,2788,2478,2176,2120,2198,2339,2547,2411,1926,2302,2663,2503,2468,2238,1996,2225,2572,2370,1958,2071,2434,2465,1918,1615,2048,2117,1815,2087,2646,2745,2120,2342,2046,1483,1902,1987,1498,1954,2367,1649,1372,1468,2416,3407,2799,2168,2600,2918,2855,2852,2931,3025,2964,3022,3602,3000,2602,2400,2496,2820,2459,2352,2251,2209,2512,2275,2603,3306,3500,3630,3430,3197,3312,3564,3153,2369,2351,2623,2578,2398,2818,3438,3077,2247,2780,3340,3110,3204,2759,2762,3344,3940,4055,3572,3317,3102,2999,3385,3245,2945,2986,2715,2092,2210,2446,2394,2619,2711,2642,2808,2757,2281,2316,2719,2749,2453,2285,2422,3460,3830,3588,3415,3262,3294,2819,2875,3748,3723,3868,3650,3273,3175,2535,2563,2940,2924,2770,3221,3562,3497,3294,3120,2886,2768,2930,2762,3227,3382,3132,2986,2935,3005,3108,3186,3095,2845,2835,2648,2293,2395,2511,2788,2705,2415,2444,2403,2265,2216,2215,2644,2807,2526,2206,2306,2809,3203,2752,2832,3666,3886,3463,3626,3646,3662,3511,3527,3576,3739,3651,3434,3352,3681,3926,3299,2928,3088,3057,3041,2849,2725,2427,2345,2152,1986,2263,2322,2184,2231,2663,2424,2446,2275,2215,2213,2183,2373,2334,2410,2272,2325,2665,2931,2563,2362,2406,2265,2522,2840,2600,2518,2404,2543,2836,2525,2292,2592,2509,2373,2368,2284,2757,3121,2924,2202,1907,2519,2663,2470,2575,2707,2774,2415,1999,2120,2198,2348,2288,2796,3466,3116,2678,2518,2329,2733,2971,2827,2776,2656,2877,2387,2548,2574,2263,2488,2662,2201,2057,2001,2150,2404,2379,2321,2292,2476,3140,2791,2448,2090,1500,1620,1986,2702,2840,2326,2646,2800,2750,2656,2422,2549,2449,2031,2279,2710,2617,2907,3288,3309,3466,3694,3452,3437,2468,1825,1870,2751,3349,2633,2068,2520,1956,1925,2294,3061,3438,2662,2193,1843,1866,2160,1884,1730,1778,1759,1978,2242,2557,3332,2908,2356,2187,1973,1810,2232,1982,1959,2100,2084,2353,2846,2483,2709,3091,2384,2908,2533,2621,2211,2262,3035,2012,1837,2108,1890,1532,1857,2125,2417,2122,2397,3118,2723,1768,1797,2134,2294,2077,2286,2398,1867,1372,1690,1990,2097,2286,2207,2511,2934,2806,2786,3038,3626,3684,3437,2145,1239,1410,1573,1604,1614,2126,2358,2062,1842,2116,2426,2684,3404,3635,3716,3031,2779,2954,2927,2531,2358,2973,2651,2318,2601,3381,4048,4240,3973,4096,3939,3780,3845,3960,4185,3990,3735,3659,2956,2377,2453,3308,3892,3707,3845,3949,4068,3650,3098,3162,3072,3655,3794,2776,2765,3105,2734,2603,2177,1816,2185,2613,2697,2287,2116,2439,2952,3132,3382,2876,1977,2193,2978,2902,2798,2988,3039,2758,2462,2393,2565,3006,2431,2189,2450,2762,2586,2343,2421,2438,2286,2453,2359,2289,2380,3045,2846,3244,3460,3570,2878,2530,2286,1789,1676,1630,1781,1791,2295,2669,2033,1609,1441,1536,1574,1521,1545,1426,1258,1324,1531,1700,1538,1570,1198,1094,1332,1546,1796,2585,2458,1804,1517,1386,1452,1534,1493,1414,1391,1400,1434,1564,1557,1452,1521,1612,1418,1418,1442,1632,2425,3138,3507,3572,3491,3647,3780,3300,2526,2570,3232,2952,2290,1776,1746,2050,2075,2786,3562,3776,3784,3704,3326,2526,2013,2801,3608,3608,3398,3442,3369,2753,2118,2184,1945,1899,1670,1528,1694,1834,1620,1623,1403,1340,1301,1414,1574,1517,1439,1482,2145,2558,2280,1846,1493,1315,1452,1979,2054,1873,1851,2122,2195,1794,1689,1822,1803,1602,1455,1647,1602,2227,1664,1498,1782,1738,1836,2364,2966,2820,2364,2300,2468,2242,2070,2541,3384,3871,3764,3448,3297,2788,2707,2864,2909,3166,3145,2498,1891,1720,1680,1880,2980,2050,1582,2403,3395,3983,3140,2844,3537,3948,3797,2619,1780,1659,1726,1720,1584,1460,1423,1614,1830,1999,1979,1926,2283,1890,1886,2765,2574,2468,2430,2170,1731,1959,2141,1593,1555,1720,1622,1595,1512,1527,1441,1573,1653,1944,1921,1589,1622,1656,1919,2121,1807,1696,1599,1926,2343,2481,2408,2063,1530,1337,1356,1422,1806,2064,1741,1755,1793,1669,1763,1902,1593,1508,1698,1636,2054,2213,2099,2077,1981,2437,2307,1765,1440,1536,1802,2010,2003,1819,1823,1767,1813,1936,1992,1647,1561,1569,1618,1890,1870,1600,1613,1709,1817,2165,2988,2942,1941,1632,1560,1500,1362,1344,1288,1302,1499,1714,1659,1604,1920,2032,1641,1399,1415,1788,1842,1876,1780,1735,2015,2057,2214,1950,1809,1939,2033,1712,2039,3060,3184,2079,1554,1803,1929,2403,2348,1518,1494,1461,1628,2045,2413,2013,2115,2004,2053,2041,1771,1858,2075,2257,2224,1856,2156,2023,1898,1866,1627,1406,1497,1627,1557,1522,1734,2128,2112,2290,2316,2149,1847,1882,1687,1681,1621,1690,1699,1511,1439,1329,1435,1424,1710,2127,2221,1764,1780,2060,1914,1874,2476,2132,1698,1519,1489,1592,1998,1582,1486,2078,2129,3143,4001,3405,3109,3562,2862,2180,2152,1963,1940,1771,1832,1771,2317,1955,1639,1869,1651,1626,1531,1594,2402,2626,2766,3497,2822,2654,2864,2780,2720,2422,2890,3670,3364,2384,1798,1710,1769,1886,2096,1953,2023,2488,2634,2310,2171,2185,2111,2122,2285,2232,2247,2612,2618,2367,2207,2693,2496,2092,2496,2498,2189,2356,2582,2951,2775,2676,2452,1895,1657,1579,1566,1704,1999,1952,1973,2283,1843,2109,1972,1693,2280,2552,2393,2242,2512,2558,2178,1676,1541,1748,2316,2185,1806,1829,2184,2162,1879,2034,2237,2182,2504,2910,2786,3006,3249,2513,2181,2864,2885,2773,2943,3558,3674,3717,3979,3996,3941,4304,4140,3476,3152,3498,2933,2160,2011,2197,2652,2714,2290,2302,2834,3657,4232,4432,4477,4214,3886,3960,3710,2973,2450,3087,3172,2542,2734,2486,2366,2288,2394,2465,2579,2791,3270,3659,2654,1969,2288,2386,2552,2109,2567,3504,2852,1986,2030,1965,2139,2942,2976,2618,2457,2546,2565,2599,2685,2360,2212,2845,3011,2456,2206,2951,3421,3018,2654,2866,3259,3582,3472,3436,3577,3030,2579,2588,2331,1928,1761,1825,1987,2320,2776,2403,1822,1832,2182,2429,2481,2602,2434,2299,2210,2095,2352,2194,1676,1777,1781,2006,2265,2064,2314,2464,2486,2445,2231,2533,3086,3152,2955,3031,3142,2808,3084,2942,2840,2598,1726,1810,2886,3010,2877,3264,3522,3664,3457,3286,3771,3680,2566,2354,2518,2597,2653,2584,2318,2333,2544,3508,4265,2898,2084,2670,2956,2821,3295,4188,4513,4396,4567,4792,4853,4656,3883,1678,584,393,344,345,345,327,324,325,326,328,324,331,336,361,352,366,381,361,368,394,400,404,407,425,421,418,398,381,380,386,392,399,417,436,443,438,438,442,457,500,549,565,499,473,454,448,462,465,466,454,433,413,405,397,396,393,395,399,406,408,424,434,477,498,508,505,654,1270,2621,3718,2590,2618,2699,2325,1962,2228,2486,2272,1985,2155,2750,3326,3684,4552,5021,5372,5507,5115,4695,4447,4197,3801,3165,2470,2040,1886,1948,2014,2638,3383,3454,2985,2450,3221,4047,4228,4379,4104,3807,3653,3482,3394,3395,3232,3253,3225,3209,3172,3176,3210,3145,3099,3285,3285,3364,3637,3665,3569,3471,3651,4030,3994,3710,3706,3617,3592,4311,5016,4907,4248,3834,3541,3381,3393,3429,3370,3671,4111,3947,3994,3786,3710,3547,3427,3167,3064,3160,3356,3522,3500,3505,3602,3969,4029,3679,3426,3204,2964,3112,3176,3366,3652,3696,3312,3382,3682,3409,3186,3339,3533,3624,3282,2300,2165,2609,2600,2744,2976,3159,3617,3862,3104,2488,2678,2766,3174,4319,4715,4212,3610,3463,3518,3425,3171,2569,1904,3559,4356,4321,3984,3781,3953,4046,3885,3961,3418,1999,1161,728,661,602,580,558,545,486,483,473,440,440,452,460,450,448,465,474,425,366,375,397,398,398,388,469,594,577,398,434,495,514,536,587,571,565,550,539,542,561,546,488,482,465,452,444,445,471,488,525,501,588,625,608,679,645,628,610,622,580,555,539,543,549,574,601,608,580,590,600,641,673,677,686,689,701,701,752,744,803,827,701,736,818,733,667,686,642,659,636,601,575,572,572,599,651,716,719,746,757,744,756,742,730,697,658,725,776,723,724,725,802,823,760,822,825,775,720,707,841,910,886,896,891,936,1011,922,830,839,803,767,783,772,745,736,731,708,656,617,607,598,625,579,609,588,603,626,631,588,540,539,515,510,479,471,473,444,467,506,493,476,479,499,531,661,802,801,746,774,897,1122,1129,1246,1379,1267,1302,1288,1117,984,1094,1289,1406,1428,1489,1896,2330,1746,1131,981,1068,1794,1841,1497,1452,1455,1793,2210,2770,3096,3475,4504,3686,2414,2190,2114,1547,1117,1151,1274,1422,1260,1176,968,744,760,691,757,851,756,705,763,656,616,633,641,691,626,602,587,557,526,551,573],[2442,2055,2558,3029,3232,2930,2542,2557,2655,2718,2823,2611,2498,2514,2644,2341,2090,2179,2147,2315,2764,2922,3088,3333,3652,3670,3617,3526,3447,3498,3685,3629,3136,2653,2558,2564,2566,2497,2559,2701,2479,2110,2007,2252,2375,2056,2187,2452,2563,2396,2501,2767,2202,2076,2197,2511,2476,2827,2866,2301,2384,2769,2653,2618,2733,2871,2920,2963,3138,3589,2862,3018,3182,2820,2940,3422,3587,3670,3802,3729,3075,2489,2679,3172,3328,3249,3289,3217,2989,2875,2941,2830,2573,1798,1767,2015,2410,2294,2439,2276,2128,2083,1972,2219,2012,1622,1768,1916,2022,2082,1726,1820,1654,1968,2040,2181,2325,2409,2523,2769,2766,2463,2405,2459,2798,2617,1901,2073,3104,2988,2593,2352,2566,2739,2562,2045,2000,2706,3105,3174,3142,2955,2009,1962,1793,1865,2147,1924,1867,1697,1785,1748,1801,1642,1805,1795,2073,2297,1917,2225,2120,1596,1977,1916,2030,2753,2798,1778,1453,1560,1856,2362,2187,2061,2651,2977,2607,2663,2917,2654,2731,3011,3422,2954,2516,2381,2542,2518,2425,2455,2126,2314,2405,2524,2962,2500,2853,3126,3166,3239,3463,3493,2885,2203,2544,3339,3385,2835,2495,2644,2734,2670,2946,2964,2879,2937,2740,3333,3683,3640,3752,3619,3351,2440,2165,2929,2722,2350,2635,2294,1951,2278,2181,2216,2578,2674,2631,2113,2238,2454,2783,2556,2419,2451,2551,2800,3283,3488,3605,3519,3453,3444,3050,2845,3491,3770,3785,3472,2842,2230,2138,2425,2780,2679,2657,3019,3326,3372,3086,2875,2597,2557,2554,2384,2675,3151,3492,3420,3079,2934,2921,3005,3230,2939,2648,2520,2505,2519,2715,2872,2605,2491,2501,2407,2343,2437,2622,2806,2470,2844,2968,2725,3071,3149,2292,2551,3489,4059,3431,3493,3635,3681,3616,3666,3661,3704,3769,3708,3612,3697,3749,3322,3424,3523,3108,2663,2697,2551,2308,2210,2017,2169,2193,2451,2424,2329,2416,2314,3230,3040,2613,2208,2235,2285,2595,2492,2070,2115,2071,2164,2675,2415,2681,2570,2552,2677,2623,2349,2181,2342,2433,2163,1945,2136,2204,2184,2144,2248,2348,2287,2205,2069,2276,2286,2254,2509,2619,2315,2132,1971,2008,2044,2302,2449,2169,2343,2603,2120,2120,2958,2949,3175,2924,2319,2350,2770,2777,2253,2246,2564,2530,2278,2110,2105,1772,1666,2453,2718,2445,2272,2155,2755,3594,3284,2797,2220,1506,1760,2130,2510,2307,2382,2842,2619,2647,2946,2966,2922,2715,2284,2517,3022,2832,2859,3209,2746,2527,2485,2502,3032,2571,1729,1768,1859,2160,2163,2254,2837,2248,1903,2092,2798,2960,2542,2256,2010,1842,1857,1489,1416,1672,1846,1764,1699,2264,2759,2437,2132,2380,2327,2276,2125,1886,2280,1957,1902,3022,3486,2852,2885,2873,2483,2458,2214,2008,1793,2311,3124,1970,1690,1743,1565,1499,1868,2083,2149,2226,2462,2752,1936,1671,2075,2346,1948,1980,2322,2059,1602,1687,1885,1937,2190,2398,2166,2323,2972,3400,2986,3405,3472,3108,3350,2356,1560,1711,1728,1779,1696,2036,2332,2160,2102,2660,3110,3165,3307,3535,3895,3182,2653,3208,3423,2934,2343,2684,2192,1810,1956,2829,3854,4265,4169,4193,4278,4257,3794,3849,3967,3915,3761,3638,3232,2532,2307,2878,3559,3582,3530,3731,3874,4025,3617,3326,3459,3830,3662,3143,2764,2744,2361,2080,2143,2360,2949,3263,3384,3076,2713,3042,3072,3121,3463,2938,2472,2841,3185,2884,2612,2408,2441,2193,2182,2523,2707,2734,2337,2329,2547,2680,2504,2319,2620,2841,2723,2940,2464,1931,2276,2620,2567,2933,3466,3441,2625,2470,2503,1843,1702,1622,1797,1837,1836,1873,1547,1458,1441,1423,1422,1500,1595,1546,1437,1989,2077,1866,1532,1385,1371,1731,2213,2531,2578,2925,2812,1790,1538,1650,1653,1461,1431,1427,1489,1415,1303,1481,1560,1450,1826,1939,1566,1643,1460,1561,2667,3221,3460,3592,3514,3671,3883,3802,3054,2344,2907,3002,2293,1482,1109,1560,1491,1867,3052,3840,3838,3705,3487,3044,2717,3097,3496,3619,3441,3559,3723,3044,2602,2177,1834,1809,1619,1660,1671,1498,1489,1546,1416,1415,1337,1328,1466,1577,1549,1546,1608,1771,1909,1545,1631,2183,2079,2189,1989,1748,1685,2410,2819,2060,1662,1914,1857,1512,1480,1724,1643,2097,1661,1692,1747,1875,1679,1610,2109,2256,2300,2418,2371,1979,1985,2834,3607,3699,3328,3208,3239,3053,3043,3032,3063,2997,2601,2575,2373,2083,1918,2436,2721,1898,1881,2269,2986,3541,2912,2488,2629,3211,3747,3054,2177,1829,1759,1699,1685,1570,1358,1483,1626,1744,1414,1587,2084,2707,2470,2243,2496,2378,2353,2492,2089,1762,1822,1654,1755,1850,1506,1604,1665,1626,1548,1462,1505,1850,2115,1972,1665,2216,2512,1913,1720,1577,1591,1781,2292,2787,2553,1981,1511,1476,1614,1638,1704,1682,1564,1578,1568,1478,1561,1809,1654,1260,1338,1465,2306,2197,1938,1625,1313,1865,1996,1678,1663,1766,1766,2225,2143,2009,1809,1551,1482,1701,1798,1516,1522,1583,1586,1693,1652,1587,1453,1791,2563,2320,2421,2315,1769,1666,1878,1794,1445,1375,1453,1471,2063,2148,1948,1710,1751,1742,1600,1493,1403,1518,1724,1736,1521,1755,1767,1699,1966,1973,1706,1888,2125,1785,1918,2379,2336,1947,1734,1890,2156,2360,1922,1694,1696,1720,1716,2011,2121,1875,1989,2128,1766,1549,1621,1758,2166,2498,2491,2177,2665,2155,1533,1669,1676,1572,1653,1809,1901,2330,1875,1864,1885,2282,1903,1469,1352,1502,1605,1638,1446,1504,1586,1651,1629,1527,1520,1453,1779,1734,1751,1798,2177,2703,2200,1805,2702,2410,2193,1575,1559,1516,1685,1543,1441,1722,1720,2485,3295,2569,1916,1973,2257,2280,2060,1919,2553,2559,2078,2320,2625,1915,1840,2235,1725,1857,1616,1559,2391,2321,2939,4078,4233,3930,3151,2813,2962,2460,2283,2624,2608,2224,1813,1505,1725,2288,2280,2444,2612,2511,2427,2094,2536,2741,2169,2186,2039,2513,3034,2802,2348,2148,2451,2580,2432,2304,2137,1905,1899,2634,3084,3430,2699,2578,2696,2360,1909,1925,2234,1916,1953,1944,2304,2558,1913,1703,1709,1492,2119,3187,3109,2130,2144,2251,1895,1868,1920,1666,2273,2250,2280,2200,1853,1685,1734,1770,1848,2274,2886,3242,3296,3373,3574,3031,2238,2377,2808,2721,2857,3181,3193,3123,3121,3782,4037,3841,3430,3121,3153,3948,3682,2640,1956,1925,2474,2768,2238,2276,2931,3627,4244,4398,4416,4205,3885,3925,3597,2743,2424,3063,3297,2545,3042,2812,2522,2443,2336,2452,2579,2842,3613,3925,3141,2285,2272,2430,2652,1838,2911,3419,2719,2211,2100,1982,2634,2894,2517,2540,2245,2368,2325,2689,2568,2532,2732,2792,2377,2007,2612,3138,3051,2732,2588,2532,2203,2632,2906,2683,2821,2720,2540,2339,2088,1919,1918,2280,2501,2353,2183,2106,2140,1946,1952,2296,2994,3333,2845,2674,2843,2588,2230,2032,1679,1672,1719,1699,1946,2200,2401,2446,2345,2095,1969,2242,2511,2791,2997,2950,2916,3150,3362,3243,2999,2984,2790,2758,2839,2895,3283,3350,3276,3222,2997,3405,3997,3342,2329,2328,2587,2452,2478,2844,2576,2346,2536,3951,5050,3750,2308,2736,3394,3029,3060,3820,4386,4321,4420,4384,4420,4472,3969,2025,685,391,361,345,334,328,328,325,322,328,327,341,347,335,354,362,367,360,372,382,391,397,391,416,411,414,405,385,382,385,385,385,396,419,431,433,428,428,436,476,499,535,501,472,443,430,435,440,448,438,421,399,391,389,386,382,384,384,395,401,413,436,447,449,486,493,542,731,1107,2723,3222,3724,3928,3522,2834,2700,3012,2999,2590,2408,2646,3160,3405,3946,4677,4984,5044,4886,4600,4282,4107,3854,3449,2753,2210,2096,1930,2398,2998,3406,3451,2755,2403,3397,3926,4083,4139,4038,4040,3895,3482,3431,3520,3338,3208,3297,3233,3090,3071,3165,3272,3272,3262,3298,3328,3686,3846,3791,3767,3947,4204,4086,3845,3919,4089,4034,4575,5037,5069,4465,3844,3543,3498,3441,3479,3482,3561,3447,3505,3851,3462,3422,3372,3365,3241,3197,3271,3462,3550,3432,3481,3567,3800,3587,3480,3492,3138,2792,2677,2687,3145,3825,3637,2686,2753,3532,3159,2843,2930,2724,3019,2795,2132,2219,2360,2365,2565,2444,2530,3134,3864,3633,2853,2935,2996,3307,4388,5112,4705,3772,3588,3676,3486,2815,2663,2642,3679,4271,4332,4348,4272,4281,4232,4048,3728,2395,1154,889,653,580,519,503,490,498,482,496,499,462,438,452,462,456,460,472,484,438,390,380,403,402,396,414,441,599,728,523,461,501,518,531,592,608,587,546,522,546,567,560,494,491,490,476,464,474,503,510,526,507,565,671,626,713,714,669,609,615,590,547,529,520,539,578,619,631,581,615,645,649,654,669,687,675,645,656,721,738,788,814,693,709,760,706,662,683,630,632,620,572,552,549,567,585,600,684,725,743,757,717,721,717,688,676,670,733,821,701,689,749,752,780,722,749,770,740,713,683,728,819,825,854,887,891,903,881,821,781,771,728,718,723,708,698,698,680,637,598,571,529,563,559,595,584,581,621,635,600,526,529,518,543,457,440,449,424,444,463,440,421,450,458,459,572,765,831,638,610,719,855,1046,1284,1377,1245,1109,1083,1016,1047,1318,1205,1384,1545,1581,1632,1494,1247,1085,949,906,1000,1084,1251,1334,1283,1258,1498,1669,1979,2684,3466,2811,1737,1663,1620,1474,1360,1216,1009,1086,1189,1086,858,688,781,761,673,732,698,546,595,540,518,505,534,558,522,503,498,494,502,512,502],[2232,2041,2361,2489,2633,2653,2357,2373,2671,2720,2710,2587,2443,2582,2736,2503,2260,2231,2294,2453,2529,2604,2683,2933,2931,2733,3045,3226,3225,3364,3423,3016,2586,2775,2580,2263,2331,2520,2808,2846,2634,2222,2054,2040,2034,2051,2333,2477,2206,1931,2155,2342,1812,1959,2304,2708,2975,3300,2934,2539,2919,2980,2965,3147,3221,3132,3265,3530,3325,3200,3078,3421,3083,2499,2347,2520,3427,3694,3713,3819,3603,3459,3022,2902,2934,3006,2919,3231,3738,3196,2514,2419,1903,1526,1925,2160,2503,2512,2314,2390,2488,2186,2052,2032,1824,1698,1637,1803,1991,2094,1897,1779,1970,2122,2123,2132,2175,2586,2831,2984,2820,2251,1898,2463,2607,3152,2756,2315,2800,3172,2977,2669,3175,2640,2049,2043,2154,2634,2810,2720,2981,2847,1980,1625,1604,2359,2728,1745,1554,1634,1680,1865,1855,1840,1922,2019,2334,2426,2073,2087,2053,1875,1779,1884,2422,2164,2025,1743,1791,1924,2003,2260,2279,2291,2618,2462,2057,2576,2808,2876,3082,3067,3087,2990,2627,2026,1776,1861,1970,1993,2035,2087,2229,2792,2732,2386,2762,2973,3149,3208,3052,2894,2450,2456,3460,4004,3836,3449,2894,2521,2907,3046,3040,2843,2996,3356,3448,3489,3496,3400,3188,3480,3727,2784,2320,2611,2738,2696,3008,2579,2266,2886,2467,2267,2243,1947,1956,1929,2036,2386,2393,2233,2332,2496,3012,3472,3460,3472,3351,2961,2920,2757,2720,2915,3426,3731,3601,3057,2381,1983,1993,2034,2553,2610,2764,2908,3260,3267,3078,2939,2825,2402,2109,2285,2386,2714,3052,2912,2622,2554,2568,2710,2746,2604,2411,2249,2251,2155,2309,2524,2576,2531,2531,2615,2644,2441,2965,3162,2899,2788,2484,2285,2622,2783,2139,2583,3167,3693,3509,3583,3814,3815,3741,3779,3740,3793,4016,3916,3589,3521,3607,3435,3516,3604,3234,2700,2663,2715,2571,2331,2189,2286,2096,2209,2264,2292,2286,2155,2812,3156,2685,2431,2426,2426,2530,2118,1884,2069,2321,2671,2534,2358,2528,2306,2176,2210,1870,1692,1872,1938,1913,1834,1881,1934,2254,2204,1892,2150,2264,2075,1975,1965,2255,2352,2324,2696,2477,1989,1900,1804,1726,1846,2354,2749,2220,1903,1937,1886,2828,3219,3052,2562,2063,1763,2056,2568,2549,2504,2605,2574,2299,2045,2101,1964,1665,2040,2624,2784,2455,2331,2415,3075,3952,3617,3123,2522,1688,2127,1829,1989,2156,2100,2014,2124,2525,2987,3176,2907,2932,2479,2674,3074,2618,2217,2679,2342,1985,2102,2410,3075,2464,1819,1939,2024,1663,1982,2043,2010,2078,2053,2196,2625,2663,2014,1960,2150,1854,1654,1291,1606,1875,1802,1760,1951,2322,2386,2112,2276,2613,2261,2009,2061,2172,2109,2040,1871,2841,3244,2998,2699,2605,2625,2107,1951,2021,1939,2121,2410,1913,1992,1910,1603,1767,2442,2720,2452,2365,2576,2149,1748,1963,2382,2396,2020,1919,2069,1868,2145,2435,2405,2391,2222,2178,2056,2018,2436,2711,2539,3138,3395,3329,3463,2662,1724,1868,1513,1544,2187,2064,1802,1718,2522,3164,3484,3485,3450,3698,3852,3186,2430,2684,2900,2739,2070,1655,1448,1403,1758,3032,3790,3463,3616,4285,4321,4095,3625,3720,3835,3985,3628,3468,3469,2931,2651,2966,3576,3925,3894,3971,3836,3588,3135,3230,3244,3130,3167,3199,2658,2525,2667,2626,2855,2669,2863,3516,3435,3209,2955,3874,3462,3137,3845,4032,3817,3550,3316,2446,1910,1925,1804,1877,2190,2768,2757,2414,2303,2374,2397,1968,1659,1712,2054,2271,2209,2181,2202,2101,2098,2146,2117,2186,2428,2454,2937,3800,2968,1671,1483,1522,1960,2049,1797,1786,1764,1638,1523,1322,1574,1716,1555,1534,2050,2436,1953,1759,1587,1532,1588,1935,2228,2036,1797,1886,1857,1515,1479,1492,2003,1839,1635,1507,1721,1651,1506,1712,1620,1626,2138,2447,2007,1685,1512,1498,2486,3238,3387,3492,3596,3672,3813,3862,3507,2820,2691,2508,1409,1210,1580,2179,1959,1608,2367,3279,3561,3768,3409,3409,3514,3440,3609,3532,3548,3746,3608,2857,2340,1829,1593,1421,1650,1919,1776,1510,1528,1418,1377,1334,1240,1438,1991,2117,1766,1619,1660,1689,1687,1800,2037,2397,2208,2030,1799,1543,1657,2337,2499,1908,1708,2094,1919,1586,1637,1776,1536,1466,1670,1526,1974,2482,1829,1826,2062,1832,2070,2364,2644,2462,2266,2828,3291,3055,2480,2353,2709,3175,3267,3191,2918,2081,1149,1738,2592,2521,2326,2430,2137,2000,2162,1916,1976,2059,2585,3460,3646,3418,3862,3378,2178,1755,1918,1880,1481,1467,1505,1674,1707,1518,1334,1459,1989,2968,3329,3076,2679,2454,2350,2084,2220,1688,1580,1625,1535,1544,1500,1574,1591,1589,1597,1618,1522,1684,1816,1882,1731,2311,2170,1731,1602,1507,1538,1665,1987,2546,2679,2094,1540,1513,1550,1514,1506,1459,1526,1672,1845,1613,1351,1349,1449,1525,1776,1727,2044,1863,1737,1500,1421,2046,2196,2042,2245,2110,1897,2138,2001,2011,1569,1432,1515,1642,1599,1430,1354,1650,2238,2162,1697,1857,2110,2353,2584,2038,1798,1682,1709,1744,1842,1792,1652,1731,1781,1743,1882,1794,2204,1937,1609,1440,1424,1575,1418,1470,1594,1504,1379,1480,1296,1552,2176,1923,1615,1808,2072,1888,1620,1413,1489,1505,1644,1549,1966,1955,1594,1608,1733,1827,2066,2078,1945,1926,2173,2102,1660,1771,1700,1548,2148,2565,2466,2122,2006,1788,1695,1679,1707,2010,1894,1954,1877,1955,1732,2010,1902,1914,1767,1474,1395,1475,1506,1428,1395,1592,1587,1692,1622,1610,1638,1699,1606,1393,1581,1737,1771,1716,1787,1795,2917,3018,2218,1773,1697,1780,2012,1876,1493,1382,1490,1850,1929,1995,1817,1788,2400,2049,1645,1652,2146,2164,2031,2411,2656,2116,2060,2435,2164,2245,2149,1996,2164,2148,3177,4299,4371,3616,2999,3575,3869,3285,2187,2176,2252,2156,1949,1954,2443,2568,2347,2597,2703,2455,2232,2006,3043,3129,2227,2182,2105,2558,2603,2624,2405,2114,2316,2230,2222,2377,2026,1820,1926,2536,2931,2684,2353,2433,2501,2646,2212,1881,1806,1664,1793,1878,2177,2298,1895,1642,1649,1538,1863,3108,3647,2736,2292,1826,1828,2037,1475,1225,1807,1970,1896,1733,1590,2026,2474,1909,1763,2142,3078,3564,3087,2553,3045,3586,3277,2734,2542,2354,2714,2865,2843,2797,2889,3748,3816,3375,3203,3252,3254,3760,3916,3234,2198,1736,2087,2810,2401,2214,2893,3436,4203,4542,4527,4420,4368,4396,3909,2830,2355,3072,3349,2854,2969,2969,2723,2564,2496,2928,3133,3164,3892,3809,3752,3033,2836,2708,2347,2294,3296,3338,2429,2144,2283,2280,2536,2177,2321,2302,2577,2667,2458,2361,2489,2762,2725,2736,2280,2222,2554,2656,2620,2774,2753,2655,2272,2374,2697,2618,2379,2409,2636,2281,2024,1967,1956,2156,2669,2643,2025,1842,2043,2280,2286,2514,3515,3915,3052,2473,2678,2768,1875,1808,1525,1535,1875,1848,1705,1956,2587,2513,2174,1897,2041,2310,2615,2534,2485,2778,2852,3255,3650,3465,3297,3098,2988,2674,2653,2991,3204,3138,3168,3110,3134,3494,3254,2570,2287,2185,2319,2377,2379,3006,3552,3106,2325,3435,4916,4580,2897,2518,3420,3234,2953,3194,3764,4060,4049,3907,4183,4465,3816,2024,710,415,355,331,330,325,333,318,311,318,323,326,336,341,343,349,352,354,368,373,388,395,385,385,391,412,407,394,387,386,382,378,378,401,423,425,423,424,423,447,480,493,490,474,436,419,416,423,426,418,411,391,381,382,381,379,375,375,384,385,398,408,415,452,452,490,503,596,740,1599,3110,4562,5059,5035,4612,3842,3430,3785,3154,2785,2666,2946,3217,3620,4317,4720,4804,4568,4392,4151,4026,3805,3559,3128,2400,2253,1995,2011,2647,3438,3670,2770,2206,3361,4004,4360,4296,4249,4089,4056,3645,3574,3809,3450,3088,3160,3135,3086,3004,3089,3203,3183,3232,3329,3640,4042,4276,4292,4111,4263,4283,4220,4411,4563,4648,4604,4475,4508,4499,4411,3968,3584,3627,3484,3469,3504,3560,3575,3584,3530,3419,3401,3335,3272,3252,3133,3127,3388,3432,3325,3481,3450,3421,3454,3199,3108,3002,2745,2574,2646,3206,3544,3277,2830,2939,3210,3069,2916,2352,1855,2441,2542,2083,2158,2313,2290,2359,2263,2478,3112,3771,3261,2654,3147,3564,4072,4508,4728,4217,3450,3361,3782,3334,2509,2905,3840,4301,4159,4256,4347,4208,3936,3853,3999,3237,1569,1016,771,600,522,471,446,441,443,461,481,477,474,457,447,440,444,456,467,478,456,415,392,402,426,412,433,429,520,645,623,495,473,501,519,601,645,616,582,563,584,596,562,504,494,502,502,478,477,507,514,505,509,547,708,669,750,814,747,628,612,595,551,538,520,529,560,591,608,604,615,619,624,640,661,673,659,624,629,689,702,770,796,678,670,743,721,684,689,641,612,604,565,549,542,541,558,574,636,699,717,717,686,671,686,672,645,673,709,822,722,675,710,717,726,707,687,703,720,698,654,665,756,836,819,857,844,792,801,761,687,686,694,683,692,682,661,652,635,607,575,549,536,545,541,570,582,578,589,581,579,529,532,512,559,478,444,459,438,401,396,412,402,410,418,416,486,674,903,762,712,958,1215,1323,1456,1370,1449,1175,1136,1168,1049,1345,1288,1270,1251,1299,1303,1173,996,914,1052,954,829,824,841,973,1136,1053,1126,1500,1802,1813,1962,2024,1841,1371,1074,827,785,709,611,644,690,639,552,506,516,499,502,536,560,471,503,473,430,394,430,446,423,426,437,454,454,452,443],[2167,2142,2069,1852,2320,2548,2387,2291,2469,2751,2634,2497,2412,2406,2584,2619,2444,2416,2737,2835,2827,2767,2866,2696,2425,2414,2575,3001,3400,3364,3028,2863,2770,2878,2282,1977,2124,2524,2765,2868,2662,2382,2144,1962,1896,2150,2513,2570,2490,2199,2118,2060,2020,2116,2559,3072,3252,3235,2977,2780,2841,2802,2745,2845,2973,2690,2753,3254,3301,2895,2699,3230,3090,2486,2111,2849,3603,3683,3640,3589,3531,3648,3542,3497,3306,3165,3199,3493,3780,2719,2247,2431,1838,1653,2253,3002,3107,2910,2564,2207,2269,1903,2038,2092,2118,1987,1610,1720,1880,1864,1649,1584,1873,1996,2020,2181,2312,2534,2484,2759,2402,2103,2429,2830,2812,3283,2752,1897,1883,2464,2508,2465,2587,2190,1986,2174,1979,2463,2736,2534,2692,2570,2206,2327,2414,2666,2988,1984,1897,2020,1682,1613,1919,1963,1710,2026,2518,2503,2686,2309,1962,2251,1989,1920,2221,1861,2171,2980,3121,2504,1997,1794,1475,1965,2432,1988,1829,2471,2497,2897,3464,3684,3391,2792,2351,1950,1563,2064,2447,2928,2459,1908,2278,2984,2965,2832,2868,2938,3174,2904,2380,2321,2610,3486,4050,4158,3935,4024,3860,3622,3602,3234,2964,2940,3253,3369,3344,3076,3083,3178,3051,3667,4269,4101,3332,2753,2853,3125,3405,2954,2457,3119,2520,2405,2298,2155,2254,2501,2451,2480,2523,2219,2009,2089,2803,3317,3508,3823,3382,2979,2647,2176,2229,2426,2461,2765,2779,2457,2447,2851,2491,2431,2753,2611,2614,2900,3172,3305,3178,2863,2751,2320,2400,2683,2700,2742,2734,2953,3094,2653,2074,2034,2058,2174,2319,2006,1908,2298,2240,2523,2542,2812,3041,2878,2710,2545,3104,4013,3936,2602,1861,2115,2574,2863,2392,2832,3098,3540,3517,3647,3809,3739,3985,4059,3813,3724,4140,3981,3606,3588,3652,3495,3436,3619,3496,2926,2674,2689,2639,2170,2317,2492,2420,2284,2165,2044,1958,1971,2478,2776,2593,2115,2287,2609,2373,2387,2070,2126,2301,2485,2247,2131,2332,2570,2510,2215,1920,1809,2411,2530,2154,2119,2156,1985,2263,2337,2116,2367,2382,2424,2523,2204,2272,2640,2995,2831,2378,2162,2411,2300,1979,1980,2243,2409,1969,2590,2879,2551,3041,2744,2271,1967,1795,1604,1978,2459,2471,2318,1793,1812,2077,2276,2327,1777,1504,2069,2666,2646,2555,2630,2636,3370,3861,3276,2923,2863,2654,2679,2172,2184,2153,1647,1395,1926,2338,3241,3533,3155,2787,1972,1597,2023,1970,2075,2335,2087,2127,2312,2393,2574,1957,2075,2410,1897,1671,1959,1532,1380,1483,1720,2018,2286,2462,1971,2046,1915,1362,1389,1359,1858,2113,2144,1919,2111,2510,2166,2018,2353,2497,2049,2033,2013,2049,1931,1905,1775,2107,2611,2700,2574,2627,2755,1969,1681,1418,2001,2231,2040,2091,2708,2512,1923,2001,2636,3023,2997,2782,2282,1795,2058,2323,2361,2260,2094,2166,2062,2136,3144,3397,3282,2671,1944,2170,2156,1758,1704,1594,1672,2246,2770,2702,2683,2680,2452,2778,2633,2552,2827,2563,2219,2230,2929,3471,3664,3649,3730,3742,3496,3032,2396,2546,2930,2740,2003,1497,1383,1356,1947,3272,3588,3109,3402,4472,4397,3906,3571,3869,3984,3819,3444,3393,3795,3831,3334,3563,4028,4072,4108,4107,3858,3898,3400,3028,2834,2867,3133,3089,2517,2425,3404,3894,3549,3026,3144,3209,2886,2763,3264,4006,2744,2441,4024,4476,4167,3758,3504,2663,1630,1642,1758,1886,1946,1930,2121,2283,2155,2492,2722,1883,1408,1474,1647,1780,1891,1823,1844,1900,1950,2122,2030,1495,1508,1841,2979,3718,3178,1805,1453,1381,2277,2838,2337,1936,1599,1631,1647,1539,1619,1489,1400,1379,1758,1590,1517,1687,1635,1527,1488,1594,1613,1489,1630,2372,2137,1726,1703,1913,2134,1938,1607,1494,1511,1628,1853,1897,1732,1624,2115,3076,2709,1698,1457,1544,2353,3260,3437,3396,3652,3647,3741,3951,3968,3660,3016,1968,1643,2362,2864,3116,2724,1769,1808,2770,3602,3877,3827,3861,3995,3939,4003,3865,3953,3922,3000,2013,1719,1687,1577,1466,1739,1824,1572,1549,1590,1460,1414,1437,1431,1584,2027,2062,1772,1633,1797,1928,2078,2208,2149,2181,2376,2192,1804,1627,1621,1807,1662,1717,1644,1736,1676,1754,1844,2062,1877,1749,1813,1991,2490,2010,1820,2006,1781,1564,1579,1643,2100,2398,2564,2900,3475,3959,3141,2331,2709,3217,3299,2675,1842,1129,1064,1671,2270,2643,2429,2019,2507,2858,2565,2338,2248,1951,2626,3561,3437,3354,3872,3642,2256,1529,2112,2132,1447,1398,1484,1715,2004,1861,1469,1426,1776,2270,3054,3371,2636,2440,2060,1819,1859,1631,1864,2047,1791,1545,1552,1518,1480,1559,1632,1615,1532,1818,1951,1928,2175,2343,2144,2036,1918,1773,1578,1720,2060,2540,2095,1527,1366,1462,1461,1482,1587,1531,1520,1728,2033,1628,1467,1348,1448,2482,2898,2384,2091,2003,2326,2073,1908,2458,2333,2424,2391,2336,2436,2064,2135,2003,1736,1687,1670,1570,1582,1631,1480,1919,3038,2882,2154,2302,3199,2814,1973,1870,1989,1878,1656,1683,1954,1656,1532,1732,1722,1701,1448,1632,2202,1918,1516,1554,1628,1667,1517,1798,1659,1741,1884,1721,1607,1830,2440,2260,1668,1768,1792,1711,1834,1445,1689,1689,1699,1580,1890,1673,1437,1598,1779,2026,1974,1902,2009,2045,2293,2129,1545,1713,1709,1787,2872,3452,3075,2368,1968,2069,2031,1793,1899,2068,2023,1874,1785,1652,1619,1910,1863,1877,2151,1830,1428,1474,1463,1414,1645,1677,1497,1497,1638,1763,1732,1556,1493,1643,1652,1546,1677,1681,1892,1898,2541,2393,1935,1764,1785,1875,1831,1574,1175,1434,2061,1963,1771,2195,1963,1876,1859,1803,1753,1533,1619,1822,1853,1761,2029,2197,2117,1835,2019,2484,2474,2207,1998,2138,3134,4286,4104,3559,3484,3133,3063,2895,2231,2173,2279,2386,2228,2050,2596,2810,2712,2407,2302,2245,1998,1771,2297,1919,1602,2128,2595,2474,2488,3067,2959,2562,2822,2450,2040,2495,2260,2114,2245,2464,2447,2237,2365,2256,2263,2119,2142,2518,1759,1603,1729,1776,1974,2116,2189,2021,1804,1920,1859,2486,2706,2071,1704,1690,1958,2182,1769,1697,1774,1629,1613,1769,1635,2099,2433,2511,2341,2445,2923,3585,3491,2708,2546,3140,3095,2681,2665,2385,2909,2940,2863,3117,3487,3549,3521,3591,3754,3705,3409,3537,3617,3297,2470,2087,1812,2561,2629,2386,2911,3301,3960,4644,4699,4717,4577,4416,4075,3132,2521,3239,3417,2959,2822,2908,2810,2584,2823,3410,3399,2997,3263,3220,3134,2644,2865,2882,2007,2535,3519,3051,2447,2744,2669,2540,2409,2096,2441,2288,2748,2414,2545,2612,2792,2944,2835,2752,2680,2665,2574,2218,2206,2579,2608,2608,2508,2811,2876,2604,2792,2813,2658,2217,2182,2079,1913,1943,2091,1997,1987,1907,1809,2045,2374,2614,3742,3935,3474,2879,2468,2629,2541,2261,1419,1269,1666,1831,1835,2251,2758,2460,1997,2002,2438,2607,2815,2624,2297,2561,3145,3694,3754,3500,3423,2972,2695,2387,2777,3253,3317,3562,3640,3660,3746,3324,2451,2434,2455,2576,2487,2567,2535,2893,3239,2931,2066,2486,4168,4713,3470,2656,3136,3415,3085,2589,2889,3769,4054,3740,4071,4380,3585,1967,848,433,366,322,321,323,330,321,312,312,314,317,324,331,339,341,343,349,360,374,380,393,386,378,389,401,391,390,384,385,380,373,372,387,403,411,417,415,415,430,457,470,476,466,437,414,404,402,406,408,405,389,382,381,375,373,370,365,368,383,391,404,408,463,476,461,470,529,619,937,2230,4392,5384,5419,5428,5208,4452,4552,3926,3266,2895,3107,3064,3271,3896,4024,4148,4152,4137,3918,3868,3669,3499,3299,2691,2359,2110,1853,2053,2850,3709,3328,2568,3448,4027,4496,4607,4573,4340,4035,3674,3566,3659,3214,3027,3143,3204,3124,3111,3042,3054,3184,3279,3234,3437,3840,4169,4408,4022,3977,4460,4644,4724,4740,4752,4732,4494,4436,4542,4483,4036,3718,3651,3498,3548,3520,3426,3591,3694,3629,3386,3239,3226,3203,3219,3121,3182,3326,3386,3426,3498,3430,3520,3466,2991,2903,2901,2886,2851,2833,3134,3165,3388,3327,2932,2993,2880,2522,2047,1838,2419,2454,2030,2204,2397,2289,2228,2377,2791,3111,3178,2721,2821,3121,3652,4633,4854,4600,3781,3270,3437,4041,3689,3285,3619,4113,3968,3868,4057,4179,4176,3588,3588,3264,2099,1080,749,629,540,482,455,425,406,413,429,432,425,474,462,455,460,466,460,469,480,468,446,427,396,437,457,452,440,483,573,655,530,441,518,585,652,672,643,647,608,618,618,575,528,517,531,528,486,481,509,532,525,554,560,706,722,790,902,843,678,600,591,560,563,538,535,542,566,579,605,613,608,615,636,645,651,643,612,598,673,657,709,763,665,627,713,716,675,680,643,603,584,560,551,539,521,526,552,595,641,654,643,636,635,634,658,645,686,704,740,745,708,704,705,688,689,679,653,700,709,668,703,698,782,771,770,768,740,764,773,679,633,640,650,663,654,633,601,584,566,545,536,531,518,521,542,584,594,576,534,557,518,515,518,529,504,489,482,451,417,398,383,449,394,403,423,481,600,795,894,910,1047,1256,1283,1401,1197,1179,1118,1080,976,999,1075,1082,1034,970,1021,1096,1069,938,758,844,876,844,904,903,868,928,900,796,806,935,1105,1052,995,855,658,555,526,545,478,469,489,509,502,431,372,374,381,352,379,413,424,434,398,365,339,356,370,345,348,388,426,423,409,402],[2150,2297,2215,2294,2663,2524,2403,2219,2193,2776,3046,2908,2722,2548,2666,2656,2567,2652,2986,2933,2843,2750,2875,2707,2585,2522,2464,2744,3010,2774,2862,3307,2996,2322,1898,1776,1889,2303,2685,2823,2777,2620,2338,2079,1911,2231,2466,2493,2398,2357,2290,2188,2356,2268,2556,3165,3393,3005,2462,2247,2424,2421,2116,2210,2686,2656,2461,2586,2947,2750,2933,3537,3156,2685,2336,3020,3294,3421,3311,2926,3124,3440,3439,3421,3020,2556,2850,3175,3110,2373,2370,2350,1872,1892,2555,3356,3286,2234,1639,1501,1604,2026,2156,1967,2122,2143,1884,1789,1663,1591,1488,1610,2001,2026,1877,2052,2472,2375,2302,2598,2279,2204,2878,3124,2491,1791,2186,2044,1876,2381,1974,1970,1726,1635,1703,1816,2013,2480,2386,1982,2451,2567,2187,2574,2278,2340,2534,2414,2668,2579,2119,1946,2147,2185,1826,1812,2164,2304,2766,2285,1923,2545,2470,2503,2453,2210,2700,3304,3240,2755,2310,2019,1660,2142,2509,2081,1966,2031,2119,3009,3382,3196,3028,2806,2453,2518,2172,3019,3438,3572,2357,1763,2128,2384,2714,3032,2812,3000,3163,2924,2575,2926,3418,3860,4110,4276,4131,3811,3416,3363,3221,3075,2957,2920,2989,2852,3073,3131,3124,3471,3419,3603,3828,3770,3189,2806,2864,2485,2545,2952,2759,2734,2497,2387,2620,2922,2994,3154,3118,2487,2266,2059,1980,2208,2414,2574,3508,4084,3688,2937,2241,2094,2092,2055,2474,2724,1942,1864,2278,2755,2796,3255,3370,2735,2600,3062,3317,3397,3316,3240,3068,2839,2999,2908,2891,2770,3006,3320,3105,2607,2284,2244,2216,2420,2590,2020,1501,1961,2367,2490,2614,3317,3078,2511,2462,2297,2824,3843,3851,2596,2186,2356,2808,2944,2714,2574,2990,3467,3692,3683,3232,3709,4480,4629,4300,4236,4420,4336,3882,3537,3437,3375,3373,3570,3650,3195,2787,2721,2811,2181,2474,2895,2896,2569,2358,2382,2239,2199,2172,2319,2395,2259,2364,2788,2556,2414,2194,2119,2315,2498,2154,1895,2124,2567,2380,2142,2050,2200,2724,2900,2426,2341,2422,2220,2186,2338,2306,2821,2796,2932,2568,2222,2480,2480,2990,3581,3116,2745,3226,2916,2284,2464,2696,2456,2026,2743,2714,2690,3032,2429,1756,1694,1438,1439,2091,2404,2522,2302,1611,1852,2369,2662,2193,1784,1782,1931,2461,2488,2385,2467,2502,3238,2963,2999,3342,3363,3155,2585,1995,2245,2598,1997,1648,2336,2360,3118,3162,3279,2973,2030,1433,1435,1530,1901,2304,2176,2135,2141,2423,2115,1588,2148,2500,1714,1420,1483,1359,1278,1538,1827,1806,2482,2850,2369,2071,1261,1128,1558,1374,1342,1462,1301,1315,1920,2034,1860,2124,2270,2480,2211,1668,1696,2052,1967,1916,1787,2070,2362,2379,2167,2600,2642,1908,1981,2248,2636,2576,2052,2336,2729,2124,1769,2094,2686,2656,2756,2580,1863,1971,2313,2496,2292,1977,1709,1960,1734,1690,2751,3458,3591,2543,1917,2436,2338,1768,1829,1765,1486,1919,2213,2193,2471,2439,2767,3140,3296,2900,2764,3220,3628,3723,3654,3430,3687,3572,3499,3639,3408,2979,2667,2938,3484,3072,2313,1868,1476,1544,2328,3184,3255,3505,3388,4381,4388,3876,3716,4212,4207,3419,3088,3518,3749,3496,3470,4067,3983,4050,4256,4051,4066,4152,3463,2770,2740,3076,3459,3518,3062,2770,3288,3773,3697,3364,3163,2447,2412,2921,3587,3453,2268,2140,3436,3960,3948,3702,3417,2876,1990,2214,2438,2310,2165,2088,1920,1788,1981,2946,3162,2661,2302,1952,1730,1925,1969,1863,2085,2157,2035,2053,1754,1656,1775,2027,2849,3864,3363,1881,1381,1417,1813,2130,2026,1671,1496,1582,1685,1565,1427,1454,1780,1736,1500,1446,1524,1506,1428,1444,1555,1692,1569,1561,1627,2626,2737,2244,1821,1649,1685,1676,1622,1570,1686,2026,2139,1958,1670,1718,2581,3190,2496,1777,1686,1986,2967,3222,3395,3253,3436,3550,3793,3915,3760,4034,3931,2934,2727,3174,3176,3188,3118,2337,1898,2521,3510,3847,4079,4276,4204,4176,4132,4132,4195,3927,3283,2068,1612,1764,1670,1609,1825,1877,1603,1479,1621,1759,1560,1471,1656,1766,2237,1963,1642,1668,1649,1697,2163,2248,1799,2387,2630,2091,1706,1803,1748,1932,1792,1793,1802,1635,1783,1991,1733,1710,1974,2023,1838,1783,1970,1902,2111,1947,1692,1586,1702,2150,2344,2269,2531,3140,3334,3582,3053,2910,3243,3370,2997,1670,918,1207,1573,1912,2480,2906,2770,2289,3206,3362,2689,2435,2223,1885,2081,2424,2932,3300,3503,3641,2741,1956,2441,2294,1656,1513,1506,1584,1801,1751,1575,1699,2041,2471,2970,3602,2749,2455,2157,2242,2088,1787,1888,2001,1880,1591,1555,1499,1517,1554,1512,1462,1665,1648,2270,2396,1801,1970,2382,2254,2065,1841,1587,1598,1919,2434,2067,1682,1383,1447,1421,1410,1490,1390,1412,1790,1763,1578,1873,1582,1804,2741,2977,2955,2686,2115,2049,1925,1905,2105,2494,2907,2611,2761,2685,2433,2490,2304,1878,1751,1725,1542,1756,1615,1512,1935,2266,2109,2114,2327,2742,2242,1604,1949,2489,2116,1545,1501,1801,1726,1576,1751,1649,1490,1487,1471,1787,2025,1831,2080,1820,1617,1790,1963,2099,2308,2107,1776,1995,2187,2127,2136,1816,1808,1746,2213,2299,2082,2320,2293,1676,1484,1698,1473,1418,1610,1933,1976,1817,2073,2095,2077,2122,1978,1470,1591,1814,1912,1963,2094,2398,2370,2386,2611,2338,2208,2128,2140,2081,1810,1732,1411,1670,2391,1952,1635,2160,2410,1604,1476,1324,1496,1867,1802,1697,1565,1521,1751,1568,1450,1583,1544,1460,1474,1770,2046,1915,1582,1646,1633,1700,1557,1772,2064,1694,1429,948,1481,2317,2126,2123,2081,1770,1721,1687,1950,2268,1998,1640,1808,1624,1803,2433,2147,1547,1483,1750,2181,2353,1949,1635,2067,3018,4176,4260,4247,3924,2685,2601,2723,2302,2019,1979,2323,2232,2603,3550,3152,3011,2618,2498,2246,1843,2070,2009,1616,2415,3397,3251,2540,2612,2944,2729,2568,2558,2032,1772,2098,1991,1672,1673,2054,2273,2620,3166,3237,2636,1713,1519,2212,2475,2046,1660,1594,1689,2103,2602,2664,2092,2240,1813,1805,1760,1632,1637,1706,1851,1921,1928,1914,1733,1691,1699,2375,2002,2043,2620,2767,2875,3068,2918,3119,3484,2986,2141,2243,2148,2149,2305,2605,2622,2993,3486,3515,3525,3685,3881,3746,3905,4273,4067,3897,3752,3191,2307,2862,2546,2975,2983,2388,2591,3110,3557,4372,4624,4296,3681,3858,3904,3476,2799,3101,3474,2976,2434,2392,2586,2784,3074,3548,3278,2930,2984,2803,2074,1964,2729,2620,1955,2788,3134,2459,2241,3084,3121,2818,2442,2297,2312,2324,2445,2543,2854,2631,3175,2724,2599,2536,2658,2576,2634,2192,2212,2484,2554,2693,2805,3096,2841,2634,2690,2602,2321,2373,2534,2186,1741,1915,1914,1710,1825,1945,2153,2596,3132,2596,3570,3783,3537,3264,3317,3194,2925,2280,1709,1482,1685,2005,2208,2653,2831,2530,2091,2280,2568,2655,2918,3018,2858,3044,3572,3784,3583,3322,3183,3411,3217,2974,2740,2733,3090,3532,3660,3475,3909,3548,2776,2634,3142,3826,3306,2778,2922,3097,3143,3252,2618,2368,3127,3497,3492,3482,3436,3965,3812,3034,3038,3606,3912,3992,4112,4264,3624,2092,1071,539,381,345,330,324,323,314,309,304,309,316,325,321,324,329,333,348,352,358,370,380,381,369,374,391,377,386,385,388,383,374,371,379,385,393,400,409,416,427,444,452,461,464,438,416,400,391,392,400,400,386,381,376,377,369,364,370,366,375,383,392,397,445,471,448,466,502,542,705,1291,3134,4716,5332,5434,5619,5423,5095,4763,4056,3264,3274,3205,3076,3176,3384,3086,3294,3659,3631,3563,3510,3350,3200,3077,2562,2112,1910,1912,2282,3188,3263,3342,3753,3878,4268,4595,4753,4629,4111,3631,3493,3586,3250,3142,3248,3264,3175,3196,3128,3081,3144,3201,3100,3211,3482,3726,3946,3919,4140,4557,4732,4731,4703,4720,4704,4632,4608,4733,4488,4199,4177,4007,3838,3697,3506,3440,3630,3694,3665,3613,3476,3290,3313,3299,3278,3304,3217,3344,3464,3522,3544,3654,3342,2878,2820,2953,3186,3309,3308,3274,3073,3209,2819,2774,3264,3083,2798,2602,2702,2706,2622,2156,2120,2186,2249,2181,2161,2683,3230,2828,2730,3608,3680,3275,4344,4775,4319,3628,3386,3629,3907,4027,4028,4169,4292,4333,4240,4187,4250,4263,3709,3262,2186,1265,877,687,570,501,473,449,416,390,398,412,408,395,438,452,456,458,450,456,466,478,474,457,450,388,416,529,483,467,487,539,636,566,436,535,681,718,710,674,635,618,616,600,565,537,534,545,550,517,477,511,558,579,619,595,690,744,757,918,1002,792,653,623,599,582,550,529,543,560,565,583,593,591,602,626,650,641,628,611,586,664,633,647,735,691,622,685,713,643,649,643,609,560,550,560,542,517,496,521,576,587,603,605,601,612,605,645,682,678,647,648,697,696,678,666,675,683,690,641,674,716,651,672,655,697,720,696,699,694,720,761,662,618,601,621,644,634,601,577,559,535,527,515,498,490,501,520,562,604,602,521,543,519,479,512,516,502,489,467,445,431,434,450,471,395,380,405,524,642,634,800,1086,1030,1007,978,971,938,939,980,994,877,904,981,922,858,799,814,854,870,881,697,732,706,671,695,721,678,724,729,604,576,610,628,662,700,602,579,519,499,493,465,466,438,408,405,384,362,351,383,359,355,351,358,363,350,336,323,321,312,306,313,346,377,378,372,374],[2081,2272,2042,2107,2379,2313,2292,2191,2008,2463,2874,2689,2611,2587,2657,2764,2585,2584,2775,3002,3001,2548,2297,2418,2619,2631,2476,2588,2429,2236,3087,3333,2531,1967,1824,1764,1741,1861,2105,2416,2750,2692,2620,2416,2088,2238,2645,2733,2542,2434,2316,2576,2932,2885,3265,3321,3212,2733,2252,1882,2213,2449,2208,2374,2958,3074,2459,2098,2386,2523,3260,2999,2492,2268,2643,3110,3174,3194,2950,2890,3291,3365,3229,3097,2279,2140,2467,2657,2681,2604,2532,2433,1993,2245,3348,3771,3445,2251,1862,1616,1639,2164,2159,1846,1959,2046,2101,2046,1816,1658,1619,1772,2019,1919,1854,2070,2106,1868,2173,2188,1987,2569,3068,3153,2265,1736,2398,2706,2573,2890,2674,2359,1928,2158,2631,2280,2003,1960,1769,1702,2407,2586,2330,2318,1795,1697,2025,2200,2093,1935,1948,2057,2096,1898,1628,1649,1887,1873,2119,2113,2181,2354,2049,2237,2163,1915,2057,2890,2878,2611,2250,2069,1687,2018,2274,2156,2418,2154,2244,3072,3217,2805,2709,3116,2829,2996,2875,3229,3293,2615,2099,2089,2095,1945,2223,3087,3355,3448,3271,3230,3405,3831,4048,3857,3865,3995,3942,3791,3526,3210,2994,2780,2598,3012,3200,2732,2836,2834,2915,3470,3648,3387,3334,3162,2808,2899,3054,3175,3139,3120,3057,3021,2739,2469,2895,3520,3593,3356,3210,2497,2462,2231,1951,2116,2083,2377,3266,3682,3554,2918,2223,2419,2133,2243,2524,2049,1823,1825,2029,2278,2200,2669,2903,2510,2593,2989,3338,3228,2611,2886,3360,3416,3298,2817,2685,2890,3107,2766,2206,2632,2849,2470,2557,2630,2830,2495,1825,1668,2237,2380,2699,3309,2828,2347,2597,2390,2461,2634,2791,2764,2809,2857,3157,3177,2978,3018,3110,3056,3740,3683,3366,3652,4345,4734,4501,4464,4630,4608,4329,3896,3577,3396,3387,3484,4028,3666,3050,2669,2745,2576,2498,2481,2552,2517,2557,2588,2216,2182,2113,2319,2459,2548,2589,2552,2313,2200,2023,2009,2565,2734,2150,2180,2013,2187,1870,1982,2281,1999,2209,2508,2259,2035,2328,2186,2116,1686,2025,2663,2511,2401,2029,2080,2425,2235,2387,2788,2861,2937,3133,2735,2204,2462,2652,2488,2820,3195,2808,3049,3319,2310,1528,1622,1651,1781,2298,2348,2504,2395,1871,2074,2618,2850,2688,2307,2101,1921,2442,2532,2249,2233,2448,3607,4162,3510,3133,2955,2678,2429,1827,1674,1454,1501,1968,2227,2177,2343,2646,2692,2458,2229,2219,2096,2001,2212,2226,2051,2063,2077,2230,2011,1870,2082,2088,1874,1566,1255,1433,1708,1910,1825,1814,2060,2152,2428,1759,982,1506,2139,2068,1450,1179,1163,1245,1547,2058,2017,2214,2399,2486,2323,2099,2148,1970,1950,2032,1831,2090,2462,2634,2404,2972,2775,2117,2056,1992,2304,2344,1948,2337,2229,1713,1569,1726,2082,2263,2423,1936,1830,2146,2404,2334,2126,1612,1713,1898,1718,1936,2234,3037,3376,2482,2054,2329,2193,2062,2153,2022,1932,2316,1916,1818,2278,2374,2720,2968,2900,2741,3029,3638,3717,3492,3742,3513,3681,3854,3518,3558,3372,3123,2444,1923,2341,2320,2352,2201,2032,1922,2902,3052,2839,3480,3491,4271,4296,3596,3648,4069,3696,2811,2929,3587,3749,3728,3640,3596,3581,3934,4405,4289,3847,3649,3463,3090,3217,3187,3604,3782,3465,3308,3227,3481,3507,3276,3043,2909,2940,3098,3470,3041,2687,2635,3353,3686,3632,3495,3581,3540,3205,2866,2526,2690,2636,2692,2364,2041,2191,2645,2639,2676,2785,2556,2372,2534,2321,2120,2343,2263,1980,1986,1734,1688,2122,2105,2818,3692,2844,1682,1372,1485,1581,1565,1500,1356,1343,1681,1834,1576,1405,1273,1561,1838,1619,1386,1364,1508,1478,1469,1552,1689,1475,1197,1549,2349,2597,2443,1953,1798,2026,2381,2437,2267,2144,2145,1757,1554,1513,1783,2414,2454,1829,1576,1731,2076,2945,2942,3272,3281,3241,3469,3723,3812,3520,3945,4519,3964,3010,3061,3165,3232,2950,2360,1741,2072,3189,3893,4116,4264,4060,3950,4037,4180,3775,3150,3091,2043,1693,1758,1699,1745,1902,1809,1688,1457,1532,1819,1688,1524,1647,1694,1766,1734,1687,1638,1533,1622,2036,2082,2059,2481,2053,1830,1849,1734,1413,1466,2069,2380,2207,1986,1940,1809,1492,1584,2177,1973,1954,1795,2040,2403,2465,1839,1472,1607,2121,2534,2146,1986,2029,2715,2744,2756,2723,2874,2996,2835,2115,1257,1278,1523,1636,2257,2966,3111,3147,3671,3437,3115,2500,2463,2430,1972,1900,1981,1806,2030,2840,3104,2864,2256,2389,2305,1675,1369,1459,1591,1635,1610,1643,2168,2296,2530,2887,3232,2306,2025,2385,2525,2132,1935,2070,1995,1858,1638,1538,1550,1640,1539,1393,1426,1641,1711,2197,2203,1826,2168,2292,1913,1868,1726,1556,1472,1547,1730,1863,1802,1564,1568,1638,1426,1437,1495,1312,1539,1725,1996,2393,1820,1687,2042,2234,2563,2710,2479,1923,1740,2152,2240,2269,2627,2841,2732,2290,1921,1939,1913,1649,1622,1506,1282,1668,1649,1642,1970,1721,1411,1481,1682,1809,1764,1580,1974,2269,2267,2193,1639,1808,2015,1678,1711,1853,1565,1367,1348,1659,2239,2954,2877,2150,1618,1600,1676,2127,2194,1950,1715,1906,2400,2079,1741,1659,1756,1776,1995,2038,1926,2056,2095,1680,1463,1555,1522,1476,1566,1915,1760,2026,2019,2243,1845,2043,2242,1672,1660,2182,2050,1436,1360,1713,1870,2244,2666,2308,2106,1963,2153,2067,1812,2059,1852,1995,2243,1702,1476,1630,2334,1958,1591,1623,2216,2530,2366,1942,1769,1739,1743,1569,1565,1532,1546,1508,1648,2334,2696,1992,1603,1984,2243,1959,1760,1876,2205,1764,1742,1390,1450,1725,1960,2026,1671,1592,1552,1462,1615,1882,1780,1492,1620,1742,2077,2294,1957,1889,1960,1967,2236,2423,1807,1675,2165,2758,3848,4124,4023,3608,2832,2987,3065,2269,1996,2266,2359,2047,3064,3104,2722,2850,2631,2438,1616,1569,2533,2609,2436,3264,3554,3161,2439,2593,3101,3012,2179,2333,2525,2023,1690,1577,1439,1496,1612,1875,1994,2437,3497,3260,1916,1531,2023,2298,1971,1619,1530,1570,2207,2558,2220,1874,1769,1565,1434,1545,1627,1625,1714,1896,1936,1965,1842,2042,2137,1681,1791,1892,2166,2669,2690,2424,2593,3049,3078,2707,2399,1946,2213,1995,1993,1946,2415,2543,3238,3527,3190,3154,3288,3787,4036,4221,4137,3973,3696,3833,3629,2897,2862,3084,3409,3066,2489,2489,3030,3207,3410,3675,3152,2666,2883,2798,2645,2203,2509,3395,3178,2521,2511,2586,2800,2877,3032,2710,2544,2791,2497,1944,2187,2813,2298,1874,3157,2654,2102,2483,2725,3001,2858,2479,2501,2192,2097,2313,2397,2852,2791,2979,3002,2524,2423,2336,2493,2553,2370,2670,2658,2707,3044,3043,2857,2585,2413,2200,2215,1945,2124,2465,2154,1825,2020,2057,1878,1830,1992,2573,3007,3265,2633,2864,3465,3569,3558,3645,3487,3131,2345,2342,2252,2324,2298,2514,2608,2431,2188,2255,2590,2779,2625,2622,2912,3097,3344,3553,3536,3304,3264,3093,3406,3605,3212,2575,2577,3090,3620,3587,3395,3948,3827,3736,3597,4095,4401,3825,3103,3219,3565,3307,3222,2889,3044,3255,3614,3891,3950,3454,3586,3644,3082,2789,3090,3861,4309,4351,4184,3480,2085,1346,788,417,354,345,323,322,323,317,307,315,315,317,312,315,325,326,331,348,356,353,365,369,358,362,377,364,375,389,386,374,374,367,369,375,374,387,402,410,430,435,437,448,449,438,415,398,389,388,390,398,394,387,373,377,367,360,364,360,364,372,379,391,414,438,449,474,509,497,582,778,1671,3111,4472,5203,5512,5600,5337,5042,4884,4036,3400,3249,3305,3399,3168,2509,2655,3015,3248,3356,3286,3183,3000,2987,2766,2266,1987,1975,1949,2600,2957,3514,3918,3983,4192,4403,4519,4716,4525,4062,3541,3569,3492,3275,3260,3242,3247,3239,3174,3103,3068,3100,3094,3191,3196,3397,3425,3656,4096,4551,4760,4720,4604,4572,4624,4665,4764,4733,4528,4553,4600,4532,4484,4263,4059,4037,3828,3757,3858,3702,3648,3440,3349,3320,3375,3399,3342,3439,3524,3491,3572,3604,3153,2942,2901,2908,3142,3273,3301,3371,3325,2778,2275,2778,3032,3111,3039,2631,3000,2975,2884,2250,1943,2008,2175,2110,1971,2468,2954,2661,2913,3959,4420,3682,4100,4396,4167,3818,3781,3919,4070,4100,4026,4026,4196,4261,4348,4092,4289,4311,3747,2640,1495,997,765,653,553,497,470,449,428,430,429,419,405,402,412,435,444,432,439,457,465,466,470,469,495,431,454,529,484,485,485,505,664,659,477,472,621,706,738,711,647,606,569,589,600,575,539,560,561,557,495,511,574,588,617,610,670,762,752,889,1059,899,730,666,601,588,545,508,535,562,559,591,600,589,613,601,642,652,629,615,583,632,624,603,714,725,631,664,701,623,629,633,621,549,532,562,546,516,488,500,555,565,579,592,592,591,597,627,667,666,659,662,650,644,669,634,666,679,688,653,672,723,646,633,651,649,684,690,684,701,706,758,654,622,585,591,621,618,577,563,558,498,507,503,487,479,493,506,581,597,591,531,514,524,454,508,520,502,476,454,443,439,440,457,459,414,385,441,669,848,742,848,1048,824,830,862,846,867,838,840,907,841,793,864,789,740,682,689,694,712,746,670,654,657,578,520,586,556,554,560,528,521,501,476,498,494,480,475,435,402,412,414,420,411,404,388,373,370,382,396,374,357,336,317,322,324,319,308,307,293,293,295,316,329,339,343,351],[2608,2537,1988,1729,2237,2268,2109,2026,1890,2037,2461,2558,2517,2624,2663,2663,2592,2523,2568,2877,2900,2494,2398,2448,2520,2642,2588,2557,2671,2840,3297,2950,2108,1781,1791,1787,1735,1727,1820,2023,2442,2642,2639,2303,2209,2493,2833,2865,2646,2521,2501,2392,2498,3238,3649,3384,2989,2696,2830,2587,2810,3035,2818,2668,2686,2985,2740,1999,2035,2033,2328,2282,1958,1782,2388,3075,3233,3024,2978,3287,3553,3319,3266,2853,2327,2575,2639,2491,2283,2332,2460,2382,2203,2477,3285,3652,3162,1967,1777,1749,1859,2096,2065,1935,1883,1925,2011,2038,2091,2027,1851,2040,2042,1730,1687,1898,1843,1780,2132,2179,2181,2872,3068,3177,2662,2604,2916,2989,2791,2755,1958,1343,1654,2421,2769,2712,2663,2336,1945,2256,2911,2973,2843,2391,1959,1757,1819,1975,2143,1959,1759,1988,2045,1795,1407,1837,2165,1875,1725,1848,2055,1925,1848,1910,1650,1885,2192,2893,2930,2699,2425,2392,1790,1876,2045,2282,2944,2770,2698,2972,2948,2830,3175,3352,3159,2591,2188,2578,2166,1405,1428,1566,1955,2191,2271,2624,3338,3692,3717,3864,4209,4251,3950,3572,3548,3573,3471,3492,3371,3253,3129,2853,2612,2879,3122,3019,3134,3238,3356,3481,3497,3404,3166,2853,2580,2496,2618,2907,3136,2873,2795,3212,3052,2596,2717,3395,3672,3392,3030,2588,2380,2083,1885,1968,1910,2144,2766,2932,3037,2779,2114,2125,1852,2057,2282,2029,2062,2303,2030,1719,1679,1862,2103,2381,2585,2962,3088,2361,2079,2586,3174,3514,3507,2988,2645,2795,2417,2292,2132,2828,3519,3184,2755,2121,2680,3043,2416,1972,2158,2363,2307,2567,2718,2697,2727,2512,2835,2834,2391,2489,2907,3485,3959,3618,2885,2678,2784,3130,3615,3216,2352,2541,3363,4144,4420,4371,4464,4720,4569,4004,3714,3269,3327,3402,3618,3649,3248,2647,2556,2571,2238,2034,2164,2194,2243,2316,2159,2109,2657,2590,2619,2532,2266,2149,2367,2296,1954,1823,2143,2161,2146,2211,2003,2029,1701,2128,2490,2046,2001,2136,2051,1952,2465,2270,2167,1947,2481,2632,2385,2060,1900,2243,2445,2461,2205,1843,2325,2884,2585,2450,2731,2806,2658,2665,3488,4061,3484,3144,3211,2009,1571,1717,2201,2407,2420,2386,2556,2636,2265,2445,2984,3098,2575,2114,1989,1478,1736,2394,2358,2535,3150,3736,3897,3175,2273,2519,2928,2414,1784,1616,1588,1647,2136,2123,2454,2327,2055,2185,2054,2385,2968,2525,2217,2938,2298,1953,1859,2589,2620,1804,1656,1670,1819,1973,1754,1621,1768,1673,1806,2399,2652,2094,1940,1972,1206,1121,1875,2110,2114,1943,1957,1382,1002,1522,2368,2476,2336,2282,2292,2331,2554,2103,1784,2016,2029,2011,2009,2496,2703,2489,3199,2971,2222,2392,2426,2165,1965,1719,2059,1972,1758,1730,1881,2229,2594,2136,1852,2122,2264,2272,2010,1749,1657,2115,1803,1433,1530,1878,2695,2835,2341,2365,2524,2251,2286,2024,2264,2184,2111,1895,2048,2134,2239,2681,2687,2583,3116,3956,4208,4041,3942,3991,3862,3676,3555,3315,3186,2999,3069,2359,1587,1702,1731,2341,2576,2465,2341,3363,3360,3209,3543,3805,4344,4128,3553,3702,3573,2874,2555,3339,3695,3475,3581,3341,3081,3162,3608,4172,4153,3658,3266,3388,3500,3052,2711,3206,3355,3562,3777,3504,3223,2995,2953,3213,3245,3132,3217,3249,3040,3075,3470,3462,3234,3167,3408,3773,3839,3626,3012,2631,2908,2879,3454,3560,3179,2769,2568,2583,2587,2630,2754,2968,3100,2733,2254,2423,2922,2756,2423,1996,2368,2885,2403,2257,2538,2142,1584,1503,1436,1340,1344,1281,1403,1378,1739,1788,1496,1453,1366,1465,1571,1395,1332,1374,1598,1512,1370,1345,1470,1501,1175,1679,2575,2952,2709,2513,3370,3666,3150,2713,2808,2272,1557,1370,1680,1759,1748,1986,2105,2197,2125,1755,1825,2478,2790,3142,3266,3271,3382,3566,3622,3665,4140,4504,4344,3237,3046,2967,2887,2314,1759,1611,1776,2743,3760,3942,4252,3802,3773,4108,4162,3485,2776,2144,1674,1707,1619,1515,2040,2551,2130,1624,1526,1531,1705,1784,1616,1632,1680,1628,1478,1482,1610,1749,1637,1745,1878,2542,2404,2631,2514,2111,2011,2604,2710,2573,2765,2691,2243,1698,1438,1334,1288,1691,1846,1902,1702,1611,2057,2115,1606,1518,1537,1831,1912,1762,1916,1793,2060,2147,2277,2554,2698,2853,2513,1424,968,1379,1673,2264,2933,3254,3333,3565,3848,3714,3055,2308,2676,2965,2473,2248,2139,1734,1600,2135,2099,1941,1547,1382,1356,1371,1610,1641,1632,1569,1530,1537,2298,2643,2398,2327,2621,2288,1718,2141,2503,2127,1883,2321,2205,2081,1835,1615,1568,1561,1511,1569,1664,1562,1653,1930,1815,1893,1804,1818,1693,1598,1621,1583,1494,1583,1607,1603,1974,1967,1610,1554,1374,1625,1453,1518,1799,2077,2624,2526,2218,2206,1966,1748,2100,2607,2842,2172,1830,2215,1965,1515,1685,1996,2020,2122,1911,1891,1666,2173,2334,2037,1400,1538,1500,1691,2273,2161,1605,1679,1816,1710,1704,1510,1609,2122,2319,2198,1767,1632,1670,1439,1264,1450,1466,1333,1434,1538,2071,2828,2320,1769,1548,1668,1612,1925,2504,2303,1947,2280,2938,3143,2385,1690,1588,1738,1951,1676,1356,1644,2013,2078,1734,1667,1897,1926,1896,1936,1803,2145,2065,1865,1560,1831,1998,1638,1688,2166,1896,1771,1934,1777,1876,2505,2546,1923,1611,1692,1918,1865,2063,2552,1886,1706,1653,1466,1556,2457,2728,2091,1741,1898,2184,2544,2515,1886,1694,1654,1708,1830,1625,2042,2007,1913,1864,1960,2256,1948,1746,2357,2503,2335,2204,1827,1747,1628,2029,2026,1693,1589,1763,1749,1648,1551,1520,1516,1529,1529,1510,1396,1417,1585,2067,2087,1888,2352,2448,2210,2041,2061,1949,2081,2331,2521,2835,2917,3049,3147,2617,2241,2329,1953,2376,2416,1734,1602,2532,2850,2432,1875,2293,2413,1616,1750,1911,2171,2676,3363,3276,2357,2082,2397,2532,2568,1649,1735,2991,3060,1779,1620,1394,1392,1394,1610,1700,1829,2855,2886,1985,1833,2165,2602,2554,1906,1552,1607,2410,2254,1758,1963,1804,1526,1416,1409,1476,1604,1691,1861,1676,1794,1763,2109,2253,1790,1817,1934,2048,2371,2442,2207,2392,2935,2834,2337,2216,2233,2162,1983,1936,1840,2163,2448,2915,3240,3035,3145,2832,2335,3393,3812,3216,3454,3614,3747,3983,3623,2829,2966,3598,3199,2605,2534,2821,2932,2916,2857,2502,2437,2339,2341,2406,1926,2352,3272,3274,2751,2958,3009,2991,2818,2710,2403,2395,2711,2615,2401,2644,3045,2392,2408,3156,2651,2112,2911,3205,3008,2572,2374,2534,2205,2192,2315,2530,2308,2902,2778,2714,2462,2287,2180,2504,2426,2018,2367,2460,2507,3121,3073,2712,2769,2732,2529,2411,2264,2277,2315,2337,2172,1960,1961,2136,2099,2514,2730,3034,3198,2977,2587,2581,3404,3995,3926,3391,3006,2917,3089,2952,2988,2284,2125,2525,2356,2020,1869,2364,2907,2878,2727,2928,3063,3426,3724,3939,3783,3716,3221,3037,3378,3118,2780,2630,2799,3640,3883,4020,4156,4063,3904,4063,4081,4288,4341,3480,2982,3509,3237,3433,3460,3483,3661,3807,3876,3960,3541,3297,3364,2845,2352,2496,3299,3893,4399,4216,3906,2516,1495,933,526,369,351,315,322,330,326,315,313,312,317,306,311,314,320,323,341,355,344,364,372,363,373,372,354,362,374,375,379,382,372,368,366,367,379,392,407,421,425,429,436,440,437,419,401,392,388,381,390,390,391,376,371,367,371,363,365,371,363,364,383,399,410,432,471,483,480,518,584,893,1640,2924,4276,5048,5309,5288,5087,5040,4959,4039,3464,3301,3083,2396,1874,2275,2603,2802,3053,3098,3065,2840,2596,2675,2426,2006,1823,1830,2207,2608,3078,3664,4041,4124,4228,4352,4440,4196,3927,3683,3870,3647,3348,3316,3262,3234,3183,3167,3084,3061,3021,3113,3162,3128,3114,3165,3316,3936,4752,4873,4801,4719,4661,4633,4621,4833,4801,4652,4489,4324,4283,4621,4780,4768,4864,4804,4628,4508,4183,3914,3602,3544,3498,3492,3465,3492,3526,3554,3492,3653,3388,2999,3050,2978,2818,2760,2939,2995,2867,3052,2710,2190,2770,2884,2722,2641,3045,3959,4343,3348,2235,2087,2189,2346,2321,2491,2981,2712,2413,2761,3695,4368,4433,4192,3927,3825,3856,4086,4070,3924,4144,4204,4100,4153,4260,4295,4092,4189,4132,3688,2294,1142,786,662,592,529,477,440,419,418,420,418,416,412,410,415,416,411,424,443,458,462,473,479,503,581,573,558,639,505,456,487,501,660,686,519,431,516,639,722,689,624,602,586,596,630,612,557,566,582,594,537,537,591,594,583,611,652,737,715,926,1432,1549,1406,979,647,610,540,488,517,561,537,623,632,603,629,628,703,714,672,649,617,613,630,568,668,706,624,638,642,612,620,611,619,561,520,540,555,534,486,505,535,550,570,576,594,596,607,637,645,651,659,667,647,641,676,632,656,691,682,661,666,701,665,604,642,653,656,704,683,691,657,699,670,631,590,579,600,595,558,534,538,491,497,503,491,478,490,463,575,629,598,551,504,536,445,489,515,498,476,465,454,450,459,450,439,434,451,540,716,821,802,894,947,832,845,838,771,821,844,756,764,758,719,753,705,664,633,592,629,651,612,590,556,548,551,453,470,474,459,458,449,430,403,408,412,408,395,383,390,371,355,366,386,389,385,365,342,350,357,358,380,379,341,326,332,337,328,308,299,300,299,290,289,295,309,326,342],[2916,2900,2397,2321,2683,2448,2145,2003,1996,1993,2490,2662,2546,2649,2874,2716,2633,2558,2438,2565,2489,2434,2873,2812,2774,2746,2886,2617,2887,3323,3301,2799,2235,1861,1786,1796,1777,1747,1754,1802,1969,2207,2645,2896,2762,2798,2913,2836,2591,2569,2644,2454,2031,2787,3508,3321,3110,3487,3362,2664,2729,2640,2215,2136,2365,2697,2854,2220,2069,1991,1919,1857,1767,1947,2692,3026,2779,2993,3277,3338,3526,3398,3250,2479,2210,2487,2603,2360,2102,2380,2501,2384,2265,2576,2709,3120,2759,1908,1502,1525,1704,1964,2236,1786,1500,1645,1877,1955,2025,2264,2209,2198,2094,1777,1570,1734,1787,1654,2085,2237,2404,3042,3016,3254,3052,2414,2031,2256,2320,1904,1824,1884,2017,2473,2707,2756,2597,2735,2592,2285,2366,2657,2880,2610,2331,2185,1974,1737,1960,1685,1671,2085,2222,1998,1500,1819,2194,1991,1805,1902,1849,1865,2061,2067,2156,2108,2665,3055,3417,3149,2723,2243,1717,2166,2282,2448,2935,2533,2521,2553,2451,3284,3436,3062,2487,1851,2005,2223,2091,1718,1176,1193,1989,2302,2348,2307,2836,3462,3924,4136,3970,3839,3978,3925,3692,3565,3386,3204,3028,3184,3077,2879,2821,2986,3263,3413,3438,3260,3428,3398,3274,3296,2944,2548,2371,2174,2310,2591,2701,2577,2828,3272,3168,2900,2637,3024,3525,3294,3097,2708,2662,2498,1888,1801,1649,1676,2319,2308,2097,1804,1656,1727,1793,2016,2201,2026,2189,2589,2681,2511,2003,1967,1956,2306,2523,2908,2980,2353,2325,2303,2587,3205,3603,3316,2999,2599,2439,2474,1986,2564,3283,3219,2766,2251,2632,2836,2320,2188,1945,1801,2083,2521,3331,3232,2626,2532,2895,2630,2200,2547,2935,3096,3407,3195,2549,2400,2473,3393,3691,3311,3029,2563,2127,2764,3703,4119,4283,4391,4196,3691,3537,3275,3316,3405,3420,3480,3403,2901,2498,2546,2436,2069,1897,2037,2348,2333,2410,2284,2532,2687,2643,2502,2496,2422,2413,2098,2338,2041,2193,2390,2431,2247,1983,1884,1824,2286,2358,1957,2130,2218,2092,2407,2540,2460,2023,2389,2756,2477,2227,2410,2624,2321,2231,2380,2004,2031,2621,2721,2124,2475,3331,3310,2932,2879,3428,4153,3544,2938,2689,1923,1806,2240,3244,3581,3077,2797,2712,2730,3111,3500,3007,2600,2430,2186,2093,1524,1949,2642,2598,2907,3558,3680,3662,3254,2234,2385,2777,2178,1915,2068,2407,2526,2536,2534,2713,2499,2449,2433,2159,2354,2598,2139,1873,2241,1944,1993,2128,2614,2418,1863,1637,1366,1470,1835,1967,1651,1859,2432,2852,3366,3482,2801,2036,1616,1366,1344,1519,1789,2128,2499,2404,1911,1589,1824,2436,2996,2746,2175,2105,2191,2264,1706,1994,2166,2324,2238,1724,2153,2511,2702,3604,2955,2004,1829,1991,1936,1993,1825,1758,1687,1586,2041,2477,2381,2161,1803,2134,2327,1726,1682,2136,2019,1964,2225,1884,1579,1515,1574,1746,1934,1865,1935,1983,2440,3164,3099,3186,2862,2581,2747,2899,2543,2456,2595,2577,2676,3356,4168,3956,3505,3439,3421,3603,3565,3282,3128,2955,2876,3009,2590,2298,2429,2241,2207,2799,2561,2736,3516,3675,3855,3769,3686,3796,3524,3629,4120,3529,3176,3033,3559,3970,3708,2950,3045,3679,3604,3593,3729,3849,3798,3383,3141,3276,2393,2623,3659,3561,3316,3249,3132,3245,3144,2879,3002,3051,3471,3627,3044,2727,3083,3365,3293,3119,3143,3178,3099,3062,3112,2716,3062,3418,3617,3904,3939,3729,3175,3074,3167,2827,1932,2036,3154,3113,3086,2340,2206,2844,3444,2878,2293,3007,3509,2729,1645,1687,1695,1544,1520,1501,1534,1610,1540,1475,1399,1564,1487,1440,1606,1452,1173,1149,1305,1504,1446,1500,1393,1355,1314,1490,1561,1296,1657,2586,3097,2666,2777,3654,3740,2984,2917,2504,1497,1472,1735,1915,1873,1663,1941,2194,2648,2367,1862,2087,2711,3053,3153,3244,3305,3379,3415,3606,3768,4244,4352,4244,3691,3087,2753,2917,2362,1585,1669,2096,2846,3273,3571,4078,3859,3938,4161,4136,3807,3187,2259,1743,1830,1854,1918,2374,2808,2618,1931,1726,1640,1494,1379,1558,1665,1559,1392,1389,1549,1825,2049,1520,1554,1793,2237,2799,3023,2742,2361,2345,2671,2631,2212,2142,1986,2318,1823,1452,1343,1367,1757,1824,1781,1993,1684,1653,1511,1579,1605,1490,1505,1541,1642,1589,1585,1925,1967,1808,2006,2435,2896,2630,1513,1605,1770,2166,2181,2939,3661,3771,4013,3969,3759,2922,1978,2243,2750,2408,2278,1753,1441,1274,1598,1827,1406,1344,1271,1082,1259,1639,1592,1471,1491,1649,1476,1890,2404,2499,2568,2742,2464,2075,2541,2504,2005,1959,2151,2167,2216,2078,1809,1508,1553,1669,1775,1718,1476,1637,1680,1597,1598,1593,2027,1998,2061,2014,1660,1831,1982,1688,1653,2087,2197,1858,1537,1478,1625,1757,2086,1974,2220,2587,2525,3132,2647,1914,1819,1994,2397,2615,2282,2270,2224,1989,1647,1828,2143,2319,2284,1561,1558,2087,2083,2391,2280,1700,1576,1499,1735,2044,1978,1674,2072,1875,1798,1560,1427,1666,2061,1929,1698,1597,1556,1520,1515,1319,1398,1433,1376,1578,1708,1967,1773,1427,1455,1738,1784,1550,1796,2249,1827,2097,2224,2230,2552,2251,1851,1619,1738,2123,1782,1376,1636,1696,1829,1930,1674,1550,1636,1811,1776,1974,2132,1989,1887,1634,1607,1610,1486,1594,1710,1642,1637,1731,1868,1971,1994,1903,1498,1436,1620,1861,1989,2429,2259,1687,1574,1500,1356,1438,2257,2509,1858,1694,1703,1938,2215,1988,1734,1544,1542,1749,1837,1793,1921,2007,1980,1657,1568,1620,1493,1934,2077,1906,1777,1765,1600,1615,1859,2003,1867,1709,1626,1716,1933,2028,1670,1598,1994,1923,1787,1547,1442,1442,1590,2309,2819,2330,1991,2287,2767,2720,2622,2380,2508,2576,2674,3063,3097,2995,2733,2513,1932,1824,1608,2025,1843,1399,1353,2055,2410,1745,1564,2478,2163,1700,2191,1743,1918,2410,2680,2466,1852,1873,2229,2396,2187,1884,2006,2620,2674,1792,1563,1323,1279,1443,1641,1658,1829,2374,2565,2455,2304,1897,2531,3032,2126,1814,1665,1794,1723,1669,1757,1577,1380,1427,1399,1567,1799,1815,1807,1618,1554,1896,1802,1889,2042,2138,1964,1754,1642,1757,1802,1873,2136,2289,2498,2255,2160,1981,1936,1903,1845,2140,2089,2692,2968,2733,2905,2298,1769,3156,3257,2832,3095,3316,3546,4107,4276,3581,3122,3670,3617,3111,2628,2666,2901,2820,2264,1982,2081,1900,1897,2136,2142,2392,2865,3334,2810,2876,3077,2967,2958,3031,2951,2643,2431,2467,2755,3105,3081,2268,2843,3363,2890,2313,2830,3515,3386,2531,2356,2416,2108,2147,2566,2470,2480,2625,2579,2534,2253,2086,2308,2929,2543,2287,2176,2460,2306,2425,2774,2856,2852,2722,2524,2353,2303,2333,2049,2164,2217,2063,1944,1988,2250,2605,2857,2944,2701,3033,2942,2596,3017,3503,3818,3673,3112,2987,3352,3408,3222,2642,2742,3046,2689,1987,1754,1837,2115,2817,3168,3299,3374,3662,3609,3526,3908,3951,3082,2779,3307,2940,2961,3034,3465,3893,3746,3789,4101,3906,3701,3754,3699,4081,4277,3765,3206,3322,3431,3354,3436,3434,3526,3737,3896,4007,3820,3442,3485,3230,3109,3183,3239,3308,4026,4216,4229,3206,1677,928,699,408,353,314,313,335,331,321,316,315,310,302,303,309,317,317,326,334,337,337,338,351,366,356,357,364,362,364,375,381,374,368,367,368,373,385,400,410,419,422,429,435,435,423,404,396,381,381,382,380,383,394,387,373,384,378,374,375,362,357,371,390,403,415,468,460,454,488,527,632,918,1594,2673,3926,4396,4545,4749,4829,5037,4576,4140,3772,3529,2765,1874,1994,2156,2329,2602,2842,2930,2837,2502,2358,2359,2117,1741,1606,1865,2242,2762,3432,4040,4137,4126,4025,3936,3632,3708,3756,3505,3326,3294,3300,3291,3253,3162,3153,3078,3111,3201,3197,3076,3018,2998,3021,3136,3786,4733,4822,4857,5053,4785,4357,4529,4841,4936,4707,4335,3880,3802,4648,4876,5062,5217,5460,5375,5245,4841,4529,4416,4138,3860,3650,3586,3519,3426,3500,3565,3693,3284,3064,3144,3035,2842,2653,2806,2765,2575,2609,2472,2387,2643,2474,2362,2486,3241,3240,3273,2706,1835,2311,2460,2662,3008,2877,2630,2574,2401,2814,3537,3938,4173,4059,4030,4026,3857,3986,3978,3972,4137,4292,4142,4080,4216,4408,4509,3941,3528,3211,1634,857,641,545,509,470,448,430,400,393,397,399,397,400,412,421,414,389,404,422,435,453,479,493,530,667,681,515,618,533,441,480,518,626,678,592,473,473,598,702,679,613,610,599,561,586,632,599,576,620,637,578,570,598,603,548,587,646,693,753,1327,2036,2351,2485,1926,1035,655,560,482,489,561,519,605,629,607,631,679,741,773,759,693,662,621,629,561,601,647,599,608,605,589,594,603,595,564,532,510,544,553,493,518,537,552,582,569,597,609,594,637,618,619,649,666,663,668,697,658,658,672,669,675,633,634,676,609,633,681,646,696,673,652,641,673,673,624,579,549,558,559,537,510,498,488,487,485,488,482,470,462,536,632,631,573,508,525,461,451,477,478,473,482,482,484,483,479,465,469,467,572,739,713,684,749,819,795,761,755,695,730,817,706,665,670,637,648,618,645,637,551,561,592,540,526,517,488,499,446,393,405,416,410,402,401,394,380,373,371,363,374,374,363,352,352,363,367,367,359,341,324,318,335,332,348,336,340,343,344,339,338,333,318,300,285,271,272,287,314,327],[2581,2623,2575,2591,2744,2348,2234,2019,2051,2214,2714,3095,2728,2478,2646,2547,2479,2380,2413,2586,2591,2602,2558,2350,2542,2849,3384,3107,2772,3177,3229,2973,2702,2193,1861,1807,1791,1770,1787,1776,1813,1831,2159,2554,2668,2791,2770,2728,2645,2498,2545,2812,2770,3150,3344,3250,3472,3660,3284,2717,3042,2779,2482,2453,2627,2419,2711,2454,2107,1925,1776,1703,1718,1888,2657,2865,2817,3022,3040,3165,3333,3312,2897,2245,2083,2001,2142,2191,2526,2802,2832,2518,2144,2151,2200,2340,2214,1949,1660,1533,1630,1787,1945,1534,1384,1362,1592,1593,1739,1963,2171,2226,2149,1841,1593,1989,2215,1700,1989,2131,2222,2377,2504,2667,2362,1692,1300,2181,2631,2479,2733,2687,2249,2654,3023,3003,2533,2375,2348,2649,2702,2755,2918,2785,2778,2626,2102,1846,2074,1790,1632,1831,2085,1992,1720,1793,2184,2277,2111,2248,2122,1924,1864,2501,2512,2221,2737,3221,3713,3267,2347,1825,1725,2100,1988,1879,2186,2202,2265,2489,2862,3335,3220,2641,2100,2055,2216,2327,2540,2678,1669,1193,1616,1965,2149,2314,2612,2932,3516,4164,3624,2846,3200,3777,3774,3649,3537,3165,3001,3054,2912,2651,2722,3485,3880,3338,3119,3624,3584,3294,3124,3095,2984,2635,2403,2496,2590,2418,2403,2473,2748,2880,2788,2549,2260,2539,2911,2800,2909,2984,2941,2337,1951,1986,1862,2137,2400,2118,1731,1543,1754,1878,2010,2253,2342,2036,2014,2558,2721,2475,2030,2081,2180,2243,2443,2426,2755,3078,2484,2031,2499,2928,3278,3112,2938,2589,2298,2222,2042,2346,2500,2587,2766,2721,2479,2388,2145,2121,1760,1867,2578,2545,3000,3046,2566,2295,2386,2238,2178,2680,2792,2845,2929,2758,2531,2470,2746,3592,3675,3256,3719,3602,2398,1995,3082,4034,4320,4251,3961,3660,3494,3374,3320,3387,3464,3531,3518,3129,2668,2555,2596,2297,2270,2421,2328,2177,2253,2264,2438,2941,3128,3016,3010,2837,2309,2584,2713,2083,2151,2460,2278,2096,1952,1613,1741,2390,2298,1876,2321,2533,1870,1869,2143,1899,2220,2934,2440,2054,2724,3330,2757,1881,2432,2588,2168,2027,2370,2366,2098,2676,3232,2991,2566,2691,2742,3432,3574,3594,2916,2071,2426,3357,3758,3586,3321,3365,3204,3206,3306,3217,2395,2401,2656,2036,1729,1706,1985,2315,2475,2613,2746,3030,2824,2778,2188,2501,2742,2193,1812,1881,2226,2806,3050,2934,2740,2751,3304,3294,3145,2786,2281,1997,1911,2099,2600,2964,3022,2894,3008,2645,1984,1577,1693,2102,2100,1398,1628,2222,2500,3008,3222,2561,1869,1880,1810,1466,1281,1699,2290,2448,1981,2019,2448,2442,2602,2553,2064,2084,1962,2232,2068,1828,2246,2540,2429,2073,1889,2295,2266,2562,3654,2884,1980,1986,2356,2391,2216,2079,1824,1764,1702,2025,2223,2018,1778,2030,2480,2239,1372,1015,1305,1434,1660,1795,1843,1824,1800,2212,2128,1997,1963,2070,2338,3125,3708,3585,3532,3363,3045,3173,3406,3355,2993,2607,2647,2679,3357,4000,3196,3062,3248,3077,3430,3631,3254,3154,3203,2996,3072,3198,3297,3356,3250,3128,3190,2907,3066,3462,3725,3867,3436,2927,3259,3481,3746,4260,3916,3783,3558,3701,4028,3408,2696,3439,3914,3515,3043,3187,3485,3510,3203,3458,3438,2617,2894,3783,3416,2799,2735,2776,3234,3266,2909,2898,3146,3429,3509,3152,2779,3001,3518,3659,3338,3472,3144,2917,3060,3194,3144,3245,3398,3330,2972,2688,2714,2958,3052,2923,2988,2643,2410,2947,2776,2969,3021,3118,3184,3065,2483,2298,2236,2236,2180,1580,1641,1559,1579,1430,1440,1624,1819,1844,1609,1455,1566,1353,1432,1623,1478,1233,1159,1441,1997,1899,1440,1328,1292,1256,1456,1582,1445,1665,2410,2724,2265,2674,3421,3450,3028,3176,2720,1733,2015,2253,2358,1939,1636,2012,2197,2739,2818,2666,2770,3000,3323,3239,3398,3537,3381,3321,3493,3535,4034,4193,4056,3949,3624,3139,2801,2410,1720,1735,2172,2310,2379,2799,3664,3981,4015,4090,4132,3996,3238,2232,1746,1879,1921,2162,2732,2668,2637,2061,1630,1465,1353,1504,1605,1503,1585,1535,1715,1560,1812,1912,1592,1815,1985,1847,2143,2261,2042,2160,2349,2303,2824,2358,2110,1740,2205,1856,1484,1620,1750,1926,1700,1949,2215,1725,1610,1497,1622,1727,1676,1576,1750,1835,1710,1815,1932,2157,1935,1618,1937,2489,2414,2353,2334,2374,2699,2839,3366,3672,3629,3824,3870,3626,2708,1781,1716,2107,2405,2194,1644,1434,1458,1970,2102,1534,1380,1341,1306,1391,1470,1406,1418,1504,1576,1398,1534,2052,2321,2729,2764,2463,2376,2335,2090,1743,1982,2043,2010,1971,2086,2067,1770,1856,1942,1670,1569,1503,1514,1456,1482,1512,1592,1791,2139,2495,2042,1771,2254,2186,1893,1690,2168,2592,2490,1964,1836,2053,2444,2823,2492,2149,2331,2029,2834,2877,2517,2068,2188,2151,2069,3215,3946,3211,2357,1673,2171,2613,2814,2349,2191,2169,2786,3077,2808,1904,1622,1586,1616,1939,2026,1868,1638,2163,1969,1932,1670,1564,1613,1579,1676,1566,1458,1886,1996,1776,1461,1553,1416,1193,1547,2019,1782,1520,1620,1367,1570,1890,1877,1948,2009,1515,1725,1725,1992,2300,1880,1573,1556,1895,2243,1720,1364,1585,1603,1579,1834,1582,1462,1532,1546,1669,2058,2406,1966,1614,1429,1372,1370,1306,1491,1508,1638,2122,2205,2061,1964,2131,2246,1538,1440,1719,1954,1890,1725,1747,2013,2256,1843,1366,1501,1818,2162,1847,1711,1570,1572,1837,1832,1678,1836,1780,1681,1916,2026,1828,1891,1882,1914,1697,1794,2103,2276,1889,1641,1760,1943,1821,1703,1727,1580,1565,1550,1467,1503,1794,1742,1569,1545,1772,2155,2079,1852,1748,1466,1639,2480,2923,2654,2402,2781,2911,2482,2262,2474,2402,2110,2997,4377,4513,3931,2613,1979,2149,2148,2056,2114,1782,1500,1786,2254,2268,1974,1977,2308,1803,1540,1609,1992,2099,2060,2029,2088,2072,1796,1757,2059,2049,2260,2249,2175,2143,1815,1334,1262,1752,2114,1831,1936,2544,2742,2715,2668,2343,1856,2332,2388,2135,2098,1687,1543,1615,1662,1942,1516,1541,1584,1746,1918,1930,1892,1672,1383,1343,1651,1923,2120,2066,2240,1979,1854,1691,1709,1879,1771,1628,1705,2024,1876,1824,2128,2145,1635,2020,2254,1537,2092,2150,1996,2448,2062,2172,3306,3187,2765,3256,3417,3392,3642,4085,4255,3731,3680,3646,3694,3012,2584,2911,2722,2164,2148,2004,1594,1545,1938,2016,1865,2297,3251,2883,2568,3044,3138,2985,3046,3150,2648,2301,2153,2661,3232,3001,2807,3287,3670,3460,3128,3328,3846,3316,2632,2600,2184,2321,2261,2589,2374,2710,2700,2303,2305,2632,2554,2511,2933,2739,2601,2700,2718,2301,2154,2659,3112,2909,2719,2685,2414,2219,2243,2301,2662,2526,2442,2281,2185,2418,2586,3115,3474,3041,2850,3282,3207,2419,2220,2743,3559,3616,3387,3259,3335,2924,2492,2642,3068,2879,2081,1916,1763,1851,2618,3492,3825,3552,3199,3252,3190,3614,3635,2689,2696,3185,2976,2943,3407,3927,3860,3483,3620,3947,3770,3529,3587,3641,3926,4216,3865,3525,3498,3764,3465,3287,3331,3300,3662,3934,3972,4100,4080,3802,3710,3314,3179,3221,2859,3205,3926,4292,3781,2102,1024,905,561,384,333,308,338,341,329,329,318,305,301,297,304,311,319,321,322,331,328,330,346,343,335,354,359,353,345,357,372,372,366,367,368,373,388,402,406,416,414,422,429,428,418,411,395,384,376,379,383,370,401,416,385,396,383,402,380,367,361,364,377,392,404,441,458,456,467,493,526,596,899,1488,2448,3143,3400,3871,4239,4395,4422,4231,4062,3958,3340,2626,2318,1919,1930,2147,2503,2714,2751,2544,2199,2086,2164,1937,1562,1627,1916,2328,3143,3645,3822,3947,3939,3692,3499,3530,3493,3359,3350,3308,3216,3261,3219,3138,3093,3073,3022,3161,3190,3081,3087,3117,3010,3064,3488,4436,4631,4780,5112,3920,3125,3750,4545,4989,4873,4665,4325,4295,4852,4987,4869,4299,4528,4869,4840,4667,4807,4955,4731,4495,4540,4257,3646,3431,3450,3665,3597,3139,3124,3219,3001,2731,2678,2893,2802,2578,2384,2175,2463,2943,2790,2600,2601,2411,1903,2126,2121,2601,2800,2209,2618,3133,2875,2396,2282,2375,2872,3242,3636,3754,3727,3972,3838,3648,3641,3648,3685,4092,4280,3992,3908,4035,4387,4221,3654,3083,1771,841,652,572,498,490,454,456,412,402,391,386,380,376,382,408,420,411,397,402,406,415,442,455,475,543,652,677,581,612,537,472,483,527,608,689,648,501,459,542,676,697,639,624,627,604,578,627,641,596,637,662,627,617,584,598,560,631,674,660,994,1936,2474,2616,3095,2939,1983,962,627,496,472,547,523,550,590,619,648,698,736,796,926,860,765,682,656,569,565,607,591,586,609,591,561,580,574,553,546,510,525,535,510,519,542,553,576,566,572,594,579,603,624,672,681,698,667,697,745,714,689,651,641,639,583,617,679,663,668,702,652,666,654,635,632,625,636,586,547,509,516,521,509,495,482,477,478,462,472,497,466,466,553,636,662,585,542,505,486,455,468,511,526,541,549,542,535,536,518,524,541,611,649,634,644,680,728,722,683,703,662,645,758,710,621,592,573,560,566,590,577,555,507,505,490,485,466,444,447,419,369,356,360,365,374,378,377,389,394,369,343,342,341,346,347,354,351,352,352,338,337,326,283,306,311,328,327,310,314,328,343,359,356,337,310,287,276,280,293,305,317],[2330,2313,2297,2386,2331,2109,1972,1771,1782,1949,2340,2738,2600,2489,2424,2449,2750,2787,2834,2691,2551,2444,2467,2221,2079,2282,2840,2722,2387,3000,3305,3333,3101,2618,2115,1882,1825,1777,1778,1795,1817,1780,1937,2349,2510,2668,2696,2623,2425,2381,2609,2883,3059,3364,3463,3438,3473,3265,3118,2931,2988,2733,2596,2502,2620,2525,2475,2490,2121,1795,1732,1736,1609,1621,2139,2192,2453,2695,2987,3458,3529,3270,2932,2502,2212,2068,2121,2023,2910,2765,2675,2498,2363,2305,2371,2293,2281,2222,1982,1802,1935,2020,1910,1559,1345,1300,1404,1436,1561,1847,2003,2078,2229,2102,1739,1742,1620,1622,1802,2198,2241,1948,2208,2263,1806,1901,2207,3096,2974,2740,2819,2861,2563,3087,3156,2851,2787,2585,2687,2944,3197,3488,3168,2978,2775,2786,2375,2174,2292,2047,1670,1812,1991,1971,2023,2171,2213,2180,2410,2564,2082,1621,1503,2322,2631,2610,2855,3188,3530,2646,2004,2199,2095,1776,1697,1983,2086,2099,2082,2280,2296,2075,2301,2299,2765,2533,2149,2634,2762,2446,1832,1358,987,1038,1628,2149,2231,2614,2600,2872,3052,2335,2482,3283,3571,3488,2924,2543,2760,2713,2911,2905,3504,3983,3786,2868,2804,3167,3108,3110,3118,2788,2296,2052,2199,2651,2784,2805,2686,2575,2684,2780,2835,2202,2118,2679,2879,2836,2761,2842,2820,2480,2649,2322,2262,2208,2371,2502,2344,1980,1857,1928,1891,2404,2609,2025,1710,2288,2176,2423,2809,2355,2514,2821,2901,2752,2888,3298,3060,2522,2299,2603,2601,2154,2104,2968,2698,1807,1746,2253,2327,2467,2584,2534,2337,2079,2157,2362,2292,2341,2534,3218,3330,2623,2227,2016,1955,1826,1863,2076,1996,2384,2981,2435,2157,2298,2634,3172,3185,3231,4080,4152,3659,2967,3601,3938,4080,4103,3989,3748,3361,3141,3164,3307,3537,3569,3557,3269,2994,2704,2855,2686,2328,2114,2265,2623,2498,2219,2714,2941,2908,2979,2852,2457,2183,2674,2480,2107,2046,2125,2278,2084,1914,1581,1787,2437,2148,1900,2367,2399,1710,1702,2164,2425,2915,3038,2490,2103,2710,2920,3008,1988,2127,2147,1914,1777,1992,2108,2128,2777,2721,2796,2514,2818,2723,2976,3964,3672,2710,2412,2977,3393,2686,2691,2652,2729,2675,3201,2907,2406,2172,2472,2583,1986,1568,1686,1731,2096,2312,2135,2352,2689,2298,2269,2499,2622,2377,1973,1616,1523,1878,2918,3239,3355,3067,3353,3748,3872,3687,3029,2908,2924,2373,2452,3106,3333,3023,2855,3494,2989,2276,2015,1958,2163,1924,1584,1717,1560,1846,2276,2342,1860,1795,1830,1730,1570,1416,1768,2209,2357,2225,2435,2890,2614,2579,2142,2130,2172,2092,2803,2864,2200,2151,2370,2319,2654,2934,3121,3202,3311,3765,3143,2004,1678,1672,1714,1820,1888,1759,1913,2021,2104,1975,1687,1832,2194,2373,2118,2089,1671,937,847,1394,1707,1794,1569,1757,2491,2963,2679,2490,2589,2703,3240,3570,3329,3404,3203,2877,3122,3341,3106,2806,2840,2710,2761,3481,3584,3060,3482,3716,3338,3351,3515,3383,3353,3361,3156,3327,3316,3296,3472,3554,3353,3218,3198,3259,3269,3303,3319,3339,2865,3225,3790,3795,3891,4156,3880,3082,3166,3696,3385,2929,3830,3729,3898,3571,3209,3193,3392,3366,3495,3411,2763,3127,3607,3176,2429,2913,3077,3109,3061,2907,2987,3338,3436,3548,3605,3353,3293,3719,3724,3332,3344,3339,3121,3318,3297,3249,3543,3488,3100,2231,1790,2199,2546,2416,2487,2780,2919,2756,2743,2626,2452,2627,3106,3209,2770,2196,2283,2265,2165,2036,1559,1386,1533,1656,1460,1305,1448,1509,1605,1513,1242,1266,1353,1209,1485,1510,1304,1322,1666,2142,2100,1438,1415,1383,1340,1604,1732,1765,1607,2386,2766,2689,2799,2736,3082,3234,2587,2270,1495,2254,2442,2425,2202,2082,2159,2396,2941,3043,2916,2693,2653,3595,3326,3454,3873,3560,3308,3231,3276,3549,3626,3627,3741,3871,3680,2894,2595,2402,2259,2093,2069,1964,2206,3099,3215,2993,3156,3249,3435,2648,2031,1813,2126,2308,2698,2807,2783,2688,2185,1637,1251,1422,1672,1421,1401,1648,1609,1403,1277,1775,2017,1714,1798,1865,1592,1771,2225,2315,1780,1773,1820,2150,1959,1845,2194,2645,2231,1881,1949,1987,1950,1738,2014,2001,1734,1571,1561,1582,1750,1896,1722,2098,3164,3226,2535,2266,2504,2052,1983,2083,2657,2832,2953,3045,2878,3094,3500,3512,3255,2906,3127,3459,3251,2592,1968,1681,1687,1850,1808,1545,1633,1599,1629,1558,1369,1390,1350,1283,1407,1459,1613,1589,1445,1417,1441,1797,2496,2370,2678,2874,2425,2327,1954,1925,1962,1969,1998,1676,1547,1630,1893,2068,2115,1884,1477,1501,1467,1395,1453,1569,1657,1698,1890,1984,2133,1803,1860,2193,2126,2209,1974,2110,2569,2894,2797,2590,2603,2584,2911,3068,2824,2617,1420,1696,2379,2822,2764,2730,2414,2721,4097,4979,5020,3947,1742,1749,1986,2052,2311,2814,2974,3287,3523,2758,1751,1659,1457,1618,2483,2853,2618,1787,1673,1838,1802,1597,1605,1793,1925,1893,1844,1801,1675,1444,1547,1352,1528,1799,1792,2430,2945,2280,1700,1976,1566,1768,2040,1927,2099,1876,1609,1734,1886,2210,2314,1931,1541,1407,1870,1920,1620,2020,2909,2770,1937,1554,1516,1669,1515,1576,1858,1786,1841,1806,1405,1278,1614,1848,1586,1363,1544,1709,1611,1559,1605,1594,1724,1537,1440,1433,1764,1977,2077,2009,2019,2100,2194,2104,1634,1643,1756,2163,1826,1599,1574,1353,1820,1809,1643,1628,1496,1843,2030,1892,1913,2072,2027,2224,2026,2030,2317,2237,1829,1770,1896,2170,2027,1616,1483,1440,1459,1513,1484,1604,1932,1799,1773,1869,1633,1783,2216,2101,1934,1885,2238,2235,1863,2334,3243,3297,2720,2403,2636,2714,1327,1199,2728,4073,4232,3738,2698,2565,2741,2990,2874,2318,2248,2250,2111,2150,1984,2018,2043,1636,1571,1653,1726,1821,1976,2000,2089,2467,1957,1393,1786,1991,1716,2006,2058,1858,1930,1921,1656,1882,2143,2002,2142,2295,2941,3094,2670,2066,1958,1932,2119,2026,1968,1870,1619,1552,1632,1730,1826,1630,1571,1654,1934,1917,1792,1551,1418,1498,1803,1941,1997,2024,1836,1866,1740,2062,2140,1903,1855,1676,1575,1583,1771,1951,1801,2107,2597,2293,2644,2194,1589,1511,1463,1795,2056,1941,2646,3587,3211,3480,3978,3582,3718,3439,3898,4241,4017,3660,3565,3911,3415,2571,2733,2618,1901,2027,2030,1672,1493,1632,1804,2011,2534,3168,2761,2408,2875,3208,2596,2084,2384,2409,2235,2239,2561,2941,2778,2807,3299,3413,3464,3573,3764,4024,2998,2603,2531,2520,2532,2461,2391,2380,2798,2677,2565,2674,3124,2895,2630,2463,2554,2427,2701,2835,2296,1997,2708,2940,2822,2933,3016,2636,2138,2076,2168,2137,2170,2291,2365,2627,3018,3278,3492,3419,2802,2305,3217,3564,3219,2440,2384,2841,3120,3553,3688,3386,2799,2977,2368,2392,2707,2769,2415,2057,1839,2286,3073,3303,3031,2745,3183,3023,3013,2984,2529,2878,3200,3262,3188,3386,3653,3716,3751,3820,3847,3746,3569,3531,3530,3606,3864,3694,3325,3195,3582,3522,3128,3283,3243,3629,4037,4153,4397,4428,3962,3890,3452,3161,3187,2849,2733,3474,4124,4081,2661,1163,1029,801,485,361,317,325,344,341,345,321,299,297,294,303,317,311,303,308,318,329,327,337,342,329,345,345,338,337,346,357,366,373,374,375,375,385,389,389,397,408,412,422,422,415,410,391,381,377,379,386,378,390,415,413,411,390,426,399,384,365,355,359,372,396,425,439,457,459,468,483,492,613,954,1482,2188,2523,2908,3472,3775,3817,3756,3733,3400,3245,2719,2633,1996,1715,1941,2313,2497,2575,2559,2220,1836,1949,2037,1747,1536,1646,1913,2736,3471,3761,3837,3687,3397,3448,3427,3338,3260,3271,3276,3198,3292,3175,3076,3140,3212,3061,3014,3037,3081,3018,3010,2994,3005,3238,4264,4528,4872,4921,3482,2533,2734,3371,4161,4689,4981,4920,4972,5000,5000,4300,3406,3596,3852,3570,3649,4273,4273,4183,4272,4253,3941,3922,3609,3364,3526,3286,2940,3118,3197,2966,2853,2868,2959,2733,2586,2553,2525,2692,2907,3023,2879,2601,2128,2281,2354,2403,3397,2733,1925,2385,2941,2647,2337,2177,2394,2753,2866,3375,3814,3771,3896,3759,3515,3537,3445,3571,4217,4279,3973,3992,3917,4147,3759,3344,1993,954,715,604,487,613,606,454,436,422,407,396,387,380,385,390,400,407,409,409,405,403,409,405,421,461,552,631,614,669,656,580,535,528,539,580,669,692,533,480,520,648,677,645,642,641,631,581,599,651,641,657,660,662,662,586,575,562,596,653,689,1273,2223,2669,3229,3867,3739,3256,1895,799,508,472,522,542,536,584,617,657,721,759,807,912,974,929,764,680,597,573,607,593,562,592,591,552,546,558,544,533,523,516,512,516,514,516,543,544,550,560,558,573,585,622,651,676,741,700,714,763,697,651,636,622,626,597,679,682,688,692,688,638,609,631,612,578,545,578,542,517,483,484,495,488,479,469,468,469,459,478,515,506,494,610,669,693,618,572,549,560,539,538,586,594,612,609,593,578,562,580,599,657,679,649,621,624,649,662,703,709,693,642,617,713,685,598,560,513,513,559,570,539,495,482,453,454,446,429,417,405,385,369,338,326,334,357,356,372,374,360,348,347,339,331,330,329,330,345,350,338,331,333,327,285,300,343,345,315,289,282,309,337,349,347,336,313,299,289,294,299,313,323],[2265,2255,2440,2449,2364,2402,2184,1992,1822,1591,1836,2525,2852,2519,2230,2376,3256,3583,3347,2841,2591,2458,2395,2284,2258,2232,2371,2173,2041,2500,3156,3332,3278,3034,2482,2091,1897,1771,1754,1806,1838,1825,2047,2398,2555,2670,2634,2556,2352,2507,2769,2504,2267,2273,2778,2888,2604,2413,2429,2344,2386,2381,2282,2442,2778,2494,2336,2514,1969,1714,1674,1869,1756,1838,2011,2011,2128,2459,3035,3418,3340,3110,3054,3055,3056,2641,2512,2481,2711,2651,2533,2467,2484,2441,2473,2485,2913,2619,2356,2546,2260,2078,2028,1590,1360,1322,1314,1360,1522,1771,1996,2271,2402,2232,2037,1848,1627,1593,1764,2161,2482,2405,2567,2512,2032,2427,2407,3120,3054,2418,2098,2235,2763,3293,3097,2789,2698,2359,2856,3097,2962,3127,3247,3351,2813,2745,2389,2057,2158,2323,2058,2220,2086,1917,2083,2277,2478,2798,2887,2432,1920,1597,1668,2391,2744,2345,1838,2313,3283,2637,2222,2097,1996,1735,1683,1872,1764,1867,2143,2496,2394,1835,1979,2164,2406,2221,2414,2513,2490,2445,2382,2165,1756,1090,1354,1999,1976,2304,2573,2531,2909,2655,2509,2628,2723,2665,2199,2410,2769,2619,2745,2975,3945,4372,3646,2872,2850,2812,3060,3297,2987,2379,2482,2666,2561,2739,2942,2994,2596,2427,2551,2998,3176,2849,2987,3084,2854,2817,2888,2867,2554,2313,2492,2300,2215,2092,2227,2541,2950,2797,1964,1728,1516,2471,2924,2525,2115,2491,2533,2742,2664,2230,2535,2824,2741,2966,3320,3054,2575,2176,1650,1656,2092,2096,2111,3194,3465,2523,2035,2924,3050,2476,2332,2119,2220,2210,2410,2424,2436,2314,2240,2475,2282,2082,1848,1877,1911,1538,1565,1803,1992,2422,2331,1974,1892,1926,2680,3154,2768,2452,3086,3501,3405,3096,3665,3919,3882,3747,3707,3587,3518,3341,3482,3527,3392,3480,3709,3658,3602,3361,3426,3356,2686,2351,2988,3385,2518,2197,2699,2783,2724,2766,2862,2387,2182,2376,2292,2297,2095,1878,2232,2070,2178,1566,1936,2358,2015,1931,2349,2251,1918,2280,2886,3300,3240,3011,2754,2381,2343,2502,2415,1851,1756,1946,1887,1800,1994,2027,2374,2571,2558,3152,3363,3540,3186,2893,3685,3818,3095,2809,2778,2416,2298,2275,2429,2361,2614,3185,2742,2613,2491,2097,2013,1709,1501,1659,1699,1946,2049,2068,2427,2566,2438,2679,2886,2426,1962,2244,1988,1765,2069,2885,3120,3416,3520,3820,3792,3725,3685,3116,2858,2971,2539,3000,3038,3046,2285,2022,2821,2554,2092,2113,1848,1760,1838,1733,1588,1470,1795,1860,1838,2548,2958,2580,2143,1981,2091,2432,2542,2663,2447,2360,2541,2319,2928,3142,2439,2184,2157,2755,2801,1986,1799,2509,2112,2946,3453,3739,3940,3941,3956,3208,2251,1842,1658,1508,1715,1871,1730,2504,2801,2192,1888,1850,1988,2229,1949,1999,2260,1793,1397,1369,1528,1533,1632,1743,2063,2386,2758,2829,2676,2883,3043,3304,3699,3344,3308,3266,3094,3176,3155,2927,2916,3249,3097,3204,3620,3271,3084,3540,3696,3421,3151,3115,3012,3178,3244,3154,3195,3194,3309,3554,3542,3446,3439,3373,3484,3491,3277,3250,3394,3209,3520,4052,4002,3550,2942,3323,2762,2652,3406,3776,3972,4199,3621,3835,3470,3108,3296,3287,2802,2592,2576,2682,3229,3551,3196,2525,2806,3273,3150,3121,3392,3530,3674,3083,3071,3415,3535,3518,3749,3637,3348,3467,3374,2816,2977,3317,3486,3718,3514,3046,2082,2092,2462,1970,1826,2524,2732,2037,1764,1842,1958,1802,1808,2383,2818,2800,2281,2212,2998,2235,1512,1541,1640,1614,1784,1722,1378,1356,1418,1389,1343,1187,1230,1328,1232,1401,1702,1620,1595,2183,2456,2374,1584,1521,1391,1396,1348,1755,2070,1713,2418,3323,3242,2877,2566,2568,3055,2588,2356,1677,2210,2474,2752,2888,2284,1834,2259,2722,2508,2535,2468,2453,3275,3434,3650,3916,3817,3591,3406,3309,3345,3521,3699,3724,3803,3750,3052,3132,3121,2451,2123,2070,2062,2381,2801,2762,2544,2661,2618,2810,2446,2077,1909,2030,1977,1647,1861,2604,2799,2587,1789,1409,1411,1569,1559,1537,1578,1438,1440,1600,2014,2126,1794,1865,1644,1614,1826,2104,2325,1986,1611,1575,1814,1703,1801,2386,2602,2834,2414,2047,2148,2180,2329,2066,2187,2029,1861,1683,1587,1534,1460,1482,2087,3469,3538,2844,2674,3296,2708,2264,2292,2646,2928,3364,3519,3243,3306,3538,3297,3070,2824,3211,3209,2842,2446,2065,1708,1642,1636,1572,1525,1499,1644,1703,1466,1344,1476,1339,1326,1432,1455,1632,1559,1545,1529,1745,1838,2024,1950,2157,2091,2218,2216,1827,2019,2178,2162,2036,1595,1447,1511,1730,1802,2125,1933,1619,1650,1647,1469,1477,1620,1825,1572,1676,1666,2185,2482,2149,1862,1867,2343,2523,2178,2014,2498,2850,2928,2911,2776,2887,2943,3142,2354,1765,1791,2296,2814,2872,2786,2542,2861,3426,3716,3871,3110,1888,1740,1910,1936,2000,2124,2374,2473,2415,2138,1766,1695,1467,1680,2910,3295,2929,2041,1713,2172,2203,1791,1605,1730,1632,1578,1752,1673,1695,1461,1431,1437,1961,2768,3012,3207,3021,2522,1755,1752,1591,1933,2015,1991,2300,2104,1696,1675,2024,2056,2099,1970,1770,1532,1946,1841,1774,2360,3174,2773,1861,1632,1764,1898,1807,1700,1766,1636,1605,2003,1690,1385,1776,2143,1689,1425,1973,2021,1435,1268,1307,1356,1483,1446,1433,1522,1779,1928,1958,1868,1817,1720,1643,1544,1514,1729,1706,1714,1576,1533,1472,1658,2233,2157,1811,1554,1702,2238,2182,1811,1540,1848,2077,1896,1901,1825,1897,2030,2019,1659,1488,1793,1936,1797,1753,1562,1606,1632,1482,1587,1808,1686,1881,2184,1854,1904,2424,1853,1681,1621,1866,1853,1697,2342,2981,2560,2233,2236,2899,2366,906,1338,2706,3505,3565,3197,2677,2776,2691,2558,2358,2170,2424,2568,2069,2147,1763,1899,1898,1662,1722,1892,1771,1616,1871,1668,1944,2348,1813,1561,1759,2117,1896,1858,1845,1411,1561,1855,1820,2199,1671,1440,2314,2778,3187,2884,2202,1897,2128,2194,2031,1860,1676,1657,1628,1362,1506,1810,1672,1418,1567,2081,2094,2066,1850,1584,1606,1661,1672,1715,1587,1672,1737,1887,1975,2148,2244,2003,1847,1934,1677,1628,1844,2100,1935,2187,2735,2554,2414,1873,1678,1739,2065,2390,2107,2216,3278,3841,3811,4312,4359,3945,3903,3670,3884,3985,3750,3450,3150,2812,2799,2574,2665,2609,1918,1933,2094,1797,1468,1432,1827,2172,2315,2479,2408,2443,2474,2918,2798,2602,2570,2916,3283,2813,2327,2481,2558,2713,3361,3436,3488,3494,3720,3838,3438,3264,2839,2555,2445,2479,2543,2798,2536,2512,2485,2967,2955,2673,2345,2049,2050,2323,2784,3074,2762,1822,1731,1697,2342,2923,3087,2790,2125,2114,2338,2263,2114,2190,2413,2688,3200,3750,3688,3310,3408,3285,2821,2737,3210,2903,2562,2540,2220,2898,3537,3194,3064,3294,2642,2566,2391,2562,2415,2100,2097,2165,2364,2984,2985,2808,2986,2679,2713,2403,2411,2830,3121,2778,2674,3198,3109,3083,3550,3791,3947,3881,3572,3484,3498,3308,3262,3453,3264,2938,3182,3042,2733,3221,3309,3587,4091,4327,4591,4715,4522,4438,3893,3232,3312,3046,2555,2972,3750,3964,3602,1966,1186,999,670,396,341,315,345,347,357,324,297,290,288,299,311,310,304,303,315,318,320,331,343,323,333,324,320,329,338,348,357,366,367,368,365,372,375,381,388,400,404,410,414,413,397,383,370,365,368,379,387,389,404,437,434,404,421,421,406,375,357,356,362,390,414,426,444,452,458,450,460,514,666,959,1528,1988,2239,2763,3229,3217,3286,3332,3063,2957,2728,2567,2154,1712,1773,2216,2351,2316,2422,2270,1763,1638,1764,1757,1582,1506,1597,2043,2910,3703,3817,3418,3424,3420,3387,3286,3242,3248,3206,3248,3228,3212,3161,3152,3273,3238,3207,3141,3165,3069,2990,2958,3059,3646,4533,4860,5141,4572,3479,2493,2370,2610,2901,3400,4240,4700,4804,4775,4775,4152,3203,3090,3278,2684,2698,3638,4117,4108,4111,3737,3617,3823,3472,3063,2897,2697,2900,3188,3189,3163,3082,2938,2798,2529,2574,2666,2607,2497,2720,2985,2753,2584,2518,2862,2553,2719,2922,2546,2232,2710,3487,3762,2742,2512,2788,2504,1975,2718,3874,3996,3999,4041,3854,3752,3604,3708,4296,4279,3907,3906,4020,3948,3784,2724,1217,732,654,563,499,487,436,432,425,416,403,398,398,391,385,391,393,399,406,413,413,406,415,441,503,487,516,599,659,687,682,668,600,555,551,571,643,706,541,485,507,632,676,652,653,662,652,588,592,627,670,678,677,661,648,593,565,544,579,630,765,1480,2347,3000,3627,3616,3605,3480,2052,821,515,485,532,598,566,608,633,648,741,774,819,823,912,915,787,662,609,590,603,598,567,569,567,562,519,536,536,525,521,508,496,507,502,477,519,515,526,530,558,586,608,630,634,649,690,706,698,760,690,618,652,620,612,590,698,726,703,668,603,596,548,572,589,557,509,530,516,513,476,451,468,468,462,450,465,478,468,517,522,552,556,663,712,696,676,619,581,678,631,608,641,691,754,695,623,636,650,677,710,662,624,621,663,617,600,629,652,671,652,660,619,650,672,573,552,527,543,542,537,537,487,446,437,435,411,403,396,385,379,374,341,317,327,342,351,361,345,339,335,331,328,325,322,312,313,332,359,351,351,335,308,308,313,349,373,350,314,293,301,290,305,333,328,328,324,317,313,302,293,320],[2427,2427,2950,3077,2777,2555,2654,3007,2631,2109,1904,2856,3088,2245,2040,2370,3240,3337,3041,2984,2946,2749,2423,2302,2412,2256,2141,2330,2452,2690,3150,3128,3196,3195,2965,2502,2128,1891,1826,1783,1794,1805,2207,2314,2353,2443,2435,2657,2619,2373,2306,2228,2246,1962,2103,2426,2591,2389,2388,2267,2082,1976,1891,2353,2694,2257,2029,2286,1892,1599,1616,2132,1962,2087,2303,2259,2470,2676,2886,3116,2962,3099,3052,3180,3106,2896,2833,2945,2640,2531,2382,2262,2155,1855,2126,3018,3437,2938,2503,2769,2371,1966,1716,1476,1498,1444,1435,1499,1737,1895,2020,2179,2137,2114,2135,2148,2041,1905,1887,1875,1934,2091,2399,2399,2461,2279,2762,3465,3465,2830,2623,2790,3151,3394,3002,2559,2554,2557,2995,3327,2742,2520,3176,3354,3276,2968,2364,1840,1906,2215,2296,2217,2003,1696,1757,2005,2164,1953,2003,2144,1822,1739,1590,1865,1931,1872,1722,1945,3099,2862,2164,1954,2275,2055,1561,1549,1640,2135,2482,2365,2256,1849,1963,2113,1875,1865,2108,2170,2109,2218,2401,2513,2493,1921,1968,2161,1727,1731,2338,2778,3383,3499,3046,2357,1681,1546,2140,3113,2722,2880,2956,3005,3403,3618,2767,2580,2709,2438,2790,2868,2330,2207,2602,2521,2512,2628,2858,2676,2264,2282,2496,2625,2945,3372,3353,3320,3188,2908,2974,3054,2700,2777,3232,3185,2454,2425,2708,2267,2730,2911,2045,1754,1914,2288,2198,2246,2536,2975,2711,2383,2214,2046,2240,2424,2375,2561,2897,2746,2910,2259,1755,1724,2080,2069,2186,3022,3455,3161,3140,3582,3663,2918,2238,1626,1818,2397,2024,1734,2462,2544,2326,2056,2302,2663,2515,2032,1732,1551,1652,1880,2156,2221,2043,2042,1913,2249,2981,3212,3271,2866,3033,3418,2978,3106,3530,3584,3466,2978,3218,3338,3798,3749,3847,3852,3602,3518,3585,3663,3494,3241,3417,3538,3388,3383,3299,2799,2316,2242,2551,2644,2512,2729,3243,2807,2256,2681,2702,2422,2481,2109,2169,2058,2070,1725,2199,2353,2266,2232,2171,2244,1846,2136,2686,3169,3254,2867,2424,2465,2434,2084,1824,2011,1900,2004,2089,2136,2041,1909,2437,2364,2632,3371,3820,3798,3416,3030,3015,3109,2466,2509,2482,2346,2863,2557,2725,2489,2631,2469,2005,2316,2315,2301,2320,1677,1592,1627,1784,1959,2143,2308,2267,2218,2590,2675,2685,2641,2186,2276,2093,1831,2286,2983,3223,3262,3231,3439,3699,3619,3236,2595,2634,2921,2758,3325,2867,2980,2586,2171,2724,2873,2504,2176,1828,1560,1562,1481,1416,1646,1767,1714,1621,2331,3546,3728,2664,2213,2302,2116,1890,2171,2597,2521,2575,2898,3559,3895,3230,2253,2201,2612,2301,1882,2271,3177,2151,2577,3023,3089,3432,3971,4012,3276,2381,1876,1583,1414,1666,1875,2009,3062,2589,2018,1851,1976,2338,2466,2188,1868,1817,1423,1572,1732,1627,1452,1475,1675,1568,1507,1830,2071,2213,2566,2813,3070,3372,3217,3231,3488,3271,3198,3072,2931,3023,3406,3248,2964,3146,2906,2993,3574,3620,3407,3155,3018,3031,3041,2930,2640,2413,2561,3064,3496,3415,3375,3174,3208,3339,3305,3181,3111,3304,3232,3597,4430,4300,3469,2453,3861,3842,3476,3418,3385,3798,4176,3817,3348,2700,2718,2849,3084,2652,2325,2341,3120,3437,3510,3252,3176,3217,3686,3686,3657,3981,3815,3428,2628,2717,3384,3715,3609,3387,3773,3792,3839,3776,3503,3544,3339,3230,3637,3544,3150,1956,1500,1884,1545,1509,2498,2794,1959,1569,1790,1235,1148,1443,2266,2976,2967,2522,2596,2786,2116,1709,1766,1901,1632,1652,1770,1648,1781,1516,1440,1303,1268,1291,1268,1345,1389,1756,1951,1415,1937,2480,2460,1691,1499,1301,1490,1564,1995,2220,1923,2436,3195,2941,2597,2359,2684,3603,3189,2985,2362,2293,2482,2656,2603,2248,1832,2281,3034,3759,3629,2520,2791,3705,4100,4073,3953,3874,3797,3755,3571,3462,3553,3747,3978,3980,3753,2917,3169,2979,2366,2299,2248,2274,2417,2867,3096,2622,2332,2504,2554,2207,1925,2015,2061,1669,1503,2235,2713,2696,2291,1731,1906,1645,1501,1508,1517,1510,1496,1587,1427,1616,1757,1649,1612,1644,1676,1765,2303,2524,2449,2048,1849,1759,1668,1906,1948,2055,2500,2227,2350,2348,2488,2684,2802,2467,1977,1811,1664,1727,1531,1630,1855,2057,2552,2996,3864,3374,3107,2702,2284,2441,2746,2739,2977,3541,3809,3459,3169,3361,3451,3468,3275,2921,2438,2135,2358,2008,2003,1576,1477,1709,1509,1766,1736,1494,1398,1477,1439,1415,1500,1385,1490,1522,1600,1562,1633,1471,1655,1876,2026,1885,1833,1947,2338,2327,2083,2015,1921,1558,1647,1502,1536,1591,1786,1878,1722,1648,1732,1578,1591,1528,1640,1548,1546,1874,2338,2504,2230,1837,1677,1863,1952,1842,1774,1913,2018,2275,2600,2766,2891,2566,2849,3289,2970,2405,2520,2993,3253,2901,2689,3030,3095,2872,2491,2716,2335,1808,2122,2250,1938,2014,2157,2115,1791,1883,1752,1765,1645,1755,2108,2220,2304,2042,1918,2343,2613,2226,1741,1620,1584,1592,1612,1559,1562,1425,1419,1568,2203,3181,3195,2963,2526,2018,1524,1509,1435,1595,2049,2364,2341,2327,1846,1604,1923,1874,1806,1633,1653,1540,1665,1613,1719,1851,1918,1676,1443,1678,1781,1694,1795,1978,1908,2202,2228,1769,1399,1316,1747,2147,1942,1748,1966,1752,1214,915,1388,1792,1583,1454,1577,1673,1756,1793,1706,1497,1553,1454,1477,1397,1389,1559,1621,1670,1631,1663,1852,2238,2511,2012,1922,1561,1613,1933,1823,1749,1799,1915,1842,1791,1832,1797,1799,2132,2422,1826,1729,1808,1849,1956,1820,1598,1745,1742,1487,1513,1639,1550,1880,2266,1992,2061,2137,2019,2062,1926,1614,1730,1677,2079,2526,2243,2308,2834,3030,1920,1344,1974,2630,2609,2734,2763,2531,2123,1731,1852,1794,1570,2392,2771,2254,2494,2551,2317,2214,2159,1952,1822,1771,1643,1819,1539,1750,2232,2302,2211,2007,1983,1757,1657,1573,1303,1475,1624,1466,1636,1407,1809,2280,2814,2930,2255,1741,1879,2325,2740,2541,1989,1733,1856,1784,1321,1405,1573,1480,1419,2486,3020,2693,2483,1721,1682,1755,1603,1836,1921,1804,1721,1540,1870,1910,1786,1949,1902,1984,2384,1863,1592,1426,1485,1985,2211,2376,2377,2223,1741,1724,1993,2288,2745,2370,2388,3652,3940,4116,4352,4501,4332,3875,3867,4187,4131,3828,3679,2817,2281,2431,2753,2576,2691,2149,1733,1939,2091,2122,1955,1885,1801,1956,2163,2387,2910,2540,2625,2724,2669,2491,3060,4056,3596,2424,2343,2596,2577,2643,2864,3131,3218,3430,3680,3839,3860,3426,2929,2767,2868,2599,2919,2666,2878,2959,3198,3077,2689,2161,2059,2122,2361,2554,3131,3204,2845,2777,2809,2965,3229,3285,3082,2695,2654,2656,2514,2150,2125,2441,2924,3041,3206,2911,2611,3041,3404,2721,2123,2458,2539,2546,3345,2833,2769,2980,2856,3206,3407,2920,2474,2225,2652,3132,2468,2185,2346,2314,2950,2944,2365,2624,2886,3107,3050,2429,2258,2746,2420,2214,3012,3189,3042,3064,3465,3702,3675,3594,3495,3454,3388,3469,3721,3493,3198,3177,2920,2624,2974,3204,3395,3797,4311,4728,4715,4730,4891,4026,3250,3138,3242,2762,2545,3431,4003,4333,3631,2270,1183,848,449,372,309,333,346,370,341,296,284,287,297,303,304,298,294,306,310,316,321,338,333,328,317,313,314,319,324,337,347,355,362,360,365,373,374,373,381,396,400,406,404,391,381,363,359,367,369,377,380,405,452,454,425,417,436,434,400,375,372,379,393,406,426,436,438,433,465,468,457,522,701,1099,1587,1870,2261,2754,2940,2897,2872,2797,2587,2494,2499,2221,1911,1849,2029,2084,2033,2104,2216,1864,1521,1477,1520,1510,1510,1420,1516,2040,2950,3819,3484,3409,3376,3198,3138,3175,3171,3214,3351,3326,3312,3184,3199,3272,3395,3383,3309,3162,3035,3040,3084,3377,4108,4580,4860,5114,4092,3295,2429,2249,2317,2332,2369,3151,3926,4002,4199,4540,4353,3241,2538,2462,2203,2768,3356,4061,4820,5036,4409,3627,3364,3133,2820,2800,2861,3209,3190,3249,3323,3189,2938,2525,2475,2470,2213,2222,2248,2505,2568,2420,2678,2648,2409,2610,2611,2386,2452,2923,3096,3265,3454,2500,2728,3030,2526,2015,2618,3651,3973,4060,3984,3781,3861,3992,3959,4084,4196,3929,3813,3689,3767,3460,1905,885,674,602,555,487,465,468,450,432,419,408,393,383,381,387,386,386,396,404,419,431,425,406,467,579,560,582,684,753,765,708,692,589,534,565,561,628,717,594,528,541,621,683,651,664,666,669,597,616,642,662,652,693,668,612,591,554,534,554,586,715,1669,2503,2702,2104,1554,1438,1067,567,461,483,461,520,612,592,621,659,687,753,738,761,787,771,780,709,567,585,596,591,590,579,566,553,563,535,528,531,521,511,500,487,495,498,469,479,487,513,501,538,599,629,653,655,664,707,731,666,733,722,632,642,629,612,595,669,711,639,632,575,576,516,535,549,529,498,494,483,498,466,421,446,450,441,434,451,486,467,517,582,710,716,717,762,703,679,669,576,657,599,630,630,686,742,682,631,676,694,719,763,620,565,562,590,605,574,632,658,684,661,657,647,778,840,599,524,504,505,503,496,514,486,420,413,413,391,382,368,369,379,380,348,312,314,324,330,333,333,335,329,321,316,312,312,309,314,310,375,365,377,366,325,309,294,310,346,338,323,328,311,332,360,360,357,361,362,350,326,275,259,302],[3075,2835,3083,3375,2958,2791,2613,3130,3186,2691,2420,2436,2465,2143,2464,2669,2686,2607,2474,3019,2986,2832,2558,2473,2464,2386,2236,2522,2568,2697,2910,3175,2926,2698,3056,2833,2338,2091,1938,1837,1884,2040,2170,2237,2461,2553,2622,2584,2355,2109,2293,2770,2832,2342,2270,2384,2379,2617,2918,2667,2495,2522,2430,2643,2464,2342,2160,2272,2215,2210,2470,2809,2399,2302,2515,2007,2421,3378,3200,2775,3041,3297,3222,3378,3414,2886,2688,2734,2608,2601,2433,2117,1897,1898,2831,3270,3142,2899,2852,2746,2360,2076,1748,1594,1638,1483,1460,1579,1902,1967,1815,1735,1829,1847,1847,2060,2019,2089,2131,2120,1825,1701,1691,1907,1989,2063,2941,3403,2976,2677,2769,2805,3344,3526,2978,2145,2764,3059,3520,3051,2041,2231,3095,3092,2809,2830,3018,2452,2464,2692,2743,2383,1926,1594,1688,2202,2282,1811,2091,2210,1754,1814,1563,1671,1730,1876,2272,2032,2476,2468,2065,2099,2314,2281,1626,1647,1936,2365,2446,2182,2060,1890,2099,2000,1990,2260,2407,2173,2206,2288,2432,2806,2778,2561,2385,2106,1423,1361,2185,3123,3354,3518,3449,2880,1693,2026,2550,2648,2070,2745,3338,3297,2724,2204,2250,2481,2696,2542,2666,2326,2269,2546,2740,2503,2852,3195,3061,2583,2325,2670,2977,2517,2922,3444,3176,3273,3218,2790,2858,3047,2683,2696,3500,3626,2764,2756,2595,2138,2763,2238,1649,1904,2002,1785,1822,2065,2411,2768,2220,1769,1805,1976,2248,2559,2433,2466,2803,2747,2431,2153,2139,2100,2007,1859,1754,2244,3118,3200,3009,3066,3162,2657,1948,1218,1490,2510,2466,2397,2619,2237,2033,1908,2693,3340,2923,2333,2305,2363,2276,2185,2308,1862,2030,2287,2162,2777,2741,3268,4060,3971,4075,4014,3393,3365,3432,3847,3309,2619,2981,2995,3188,3420,3627,3785,3710,3470,3451,3629,3577,3274,3011,3023,3278,3860,3360,2499,2280,2184,2170,2267,2267,2406,2846,3001,2402,2397,2417,2309,2359,2231,2106,2437,2344,2137,2211,2049,2302,2302,2050,2181,2215,2647,2533,2688,2811,2366,2154,2260,2316,1912,2057,2290,1951,1835,1852,2144,2011,2319,2836,2799,3145,3601,3696,3672,3344,2797,2621,2790,2405,2387,2457,2545,2736,2499,2196,2073,1916,1804,1752,1941,2280,2666,2219,1712,1830,1866,1802,1907,1977,1889,1731,1820,2198,2314,2757,3073,2918,2404,1860,1741,2421,3076,3186,3184,3020,3140,3422,3196,2938,2558,1984,2260,2856,3086,2578,2846,3000,2402,2314,2918,2924,2219,2371,1929,1663,1645,1697,1674,1618,1627,1849,2680,3431,3062,2055,1828,2292,2518,2090,1931,3120,3208,3317,3758,3647,3112,2608,2248,2577,2392,2102,1964,2474,2807,1908,1673,2082,2331,2556,2797,3078,3030,2204,1483,1605,1577,1700,1827,2440,2775,2164,1828,1881,2163,2543,2633,2390,1977,1692,1529,1670,1699,1614,1417,1373,1478,1388,1455,1767,1900,2196,3297,3388,3195,3401,3570,3521,3560,3576,3576,3430,3243,3404,3609,3045,2845,3431,3176,3310,3717,3538,3370,3154,3015,3055,2921,2526,2156,2239,3113,3709,3854,3362,3188,3165,3196,3112,2905,3072,3151,3196,3296,3287,3684,3691,2777,2723,3874,4057,3881,3219,2943,3536,3723,3772,3595,2952,3318,3208,2995,3087,3216,3199,3305,3089,3006,3100,3084,3286,3628,3774,3796,3666,3783,3340,3097,3318,3759,3860,3554,3531,3757,4028,4128,4041,3972,3583,3315,3367,3561,3210,3055,2687,2153,1999,1853,1655,2090,2293,1927,1583,1522,1164,1271,1439,2423,3492,3518,3090,3248,2844,2447,2081,1803,1775,1452,1369,1502,1538,1747,1665,1494,1276,1206,1275,1456,1722,1731,1969,1946,1429,1808,2459,2414,1643,1393,1371,1482,1771,2192,2368,2000,2368,3152,2939,2697,2602,2856,3498,2957,2885,2880,2510,2544,2303,1547,2025,2067,2366,3095,4025,3630,2604,3140,4024,4272,4062,3938,3904,3867,3916,3629,3304,3327,3781,4111,4148,3741,3572,3760,2977,2313,2378,2343,2186,2146,2710,2510,2421,2230,2293,2270,2106,1930,2070,1959,1567,1873,2619,2688,2507,2460,2036,1958,1676,1416,1493,1641,1466,1417,1580,1524,1538,1494,1718,1476,1432,1584,1896,1748,1832,2222,2134,2134,1959,1821,2056,1827,1932,2227,2069,2271,2011,1820,2525,3020,2337,1793,1670,1861,1904,1615,1868,1882,1926,2013,2978,4296,4128,3044,2266,2452,2901,3015,2774,2873,3404,3217,2939,3061,3120,3175,3015,2355,2424,2376,2324,2208,1774,1493,1434,1668,1546,1342,1519,1480,1354,1325,1589,1630,1439,1535,1433,1496,1475,1444,1494,1549,1587,1996,2503,2693,2420,1932,2010,2604,2364,2166,2006,1897,1701,1588,1410,1414,1453,1466,1506,1580,1672,1648,1589,1611,1468,1446,1462,1485,1472,1686,1980,2019,1773,1461,1457,1634,2041,1974,1670,1675,1883,2382,2750,2967,2876,2858,3123,3255,3312,3311,3364,3343,3097,3074,3138,3002,2380,2188,2850,2968,2481,2518,2158,1757,1918,1983,2042,1726,1638,1644,1725,1575,2061,2689,2261,2169,2172,2171,2425,2386,2042,1777,1345,1565,1757,1395,1372,1494,1393,1551,1686,2320,3109,3100,2769,2207,1919,1722,1740,1675,1841,2230,2266,1917,1878,1361,1392,1568,1649,1721,1686,1504,1577,1797,2170,2404,2080,1779,1583,1554,1678,1613,1498,1784,2413,2140,2249,2122,1456,1394,1450,1453,1515,1510,1441,1608,1518,1367,1212,1641,1828,1562,1494,1541,1561,1681,1836,2026,1694,1498,1350,1560,1715,1655,1527,1681,1828,1640,1732,2079,2177,2043,1957,2140,1830,1704,1553,1628,1832,2111,2043,1615,1661,1637,1652,1848,2191,2026,1860,1813,1788,1675,1749,1627,1507,1882,1866,1538,1592,1593,1732,1892,1924,1728,1536,1803,1947,1961,1851,1769,2182,2111,2577,2702,2272,2322,2783,2546,2096,1693,2191,2735,2424,2354,2460,2533,2142,1570,2250,2238,1996,2539,2827,2195,2519,2787,2025,2207,2380,2293,2507,2490,2266,1837,1668,1693,2246,2293,1987,1719,1559,1484,1498,1587,1570,1563,1558,1383,1660,1819,2522,2812,2710,2304,1652,1634,1997,2846,3103,3294,2509,2492,2358,1869,1678,1577,1527,1504,2095,3175,3474,3054,2047,1605,1684,1837,1790,1832,1668,1824,1902,1835,1659,1647,1716,1793,1787,1599,1770,1807,1581,1456,1615,1781,1842,2275,3024,2713,1984,1729,1896,2154,2454,2426,2939,3506,3386,3616,4046,4259,3847,3749,4248,4680,4364,4376,4460,2899,2447,3183,3174,2500,2840,2592,1742,1851,2282,2030,1421,993,1352,2098,2554,2928,3508,3031,2637,2654,2739,2485,2765,4081,3893,2517,2332,2646,2565,2843,2568,2452,2840,3176,3378,3623,3915,3768,3318,3486,3190,2878,2548,2554,2886,3121,3151,3002,2533,2192,2194,2308,2104,2673,3393,3457,3265,3037,3062,3061,2902,3115,3458,3154,2946,2828,2870,2350,2093,2481,2754,2477,2469,2528,3072,3543,3128,2953,2883,2880,2354,2588,3508,3645,3138,2994,3122,3288,3294,3139,2917,2407,2563,3532,3024,2305,2337,2595,2558,2376,2124,2200,2619,2788,2508,2056,1889,2392,2321,2147,2756,3121,3116,2965,3376,3795,3864,3893,3589,3448,3624,3604,3660,3542,3406,3187,3299,3096,2808,3016,3405,3802,4432,4712,4714,4758,4919,4266,3716,3183,3030,2655,2467,3408,4216,4493,4561,3570,1548,1014,564,414,323,320,339,373,361,312,296,288,290,293,298,297,297,300,310,308,304,313,321,319,304,296,305,310,315,329,335,343,346,350,357,358,362,366,371,380,389,398,398,387,377,369,359,365,363,369,368,398,452,468,446,440,458,459,430,406,390,377,383,393,405,422,432,441,444,440,478,474,557,810,1243,1586,1844,2248,2662,2677,2485,2329,2128,2238,2438,2250,1968,1890,1870,1755,1787,1923,2048,1938,1552,1311,1339,1353,1500,1462,1351,1499,1936,3038,3553,3561,3426,3153,3066,3176,3213,3187,3264,3312,3307,3184,3284,3487,3638,3386,3242,3241,3196,3196,3271,3607,4271,4756,4859,4728,4026,3034,2496,2236,1962,2003,2100,2888,4012,4160,4119,4240,4283,3410,2288,2162,2869,3398,3694,4212,4359,4121,3764,3630,3764,3413,3172,3110,3010,3068,3131,3189,3007,2994,2798,2455,2445,1937,1863,2465,2679,2301,2110,2156,2463,2365,2213,2230,2100,2228,2962,3366,2854,3132,2664,2397,2241,2495,2376,1915,2819,4030,4332,4389,4121,3955,4068,4021,3818,3919,4060,4020,3629,2976,3352,2972,1288,854,655,568,520,471,448,440,444,431,417,401,380,367,367,377,382,395,400,408,429,451,467,423,481,666,721,714,787,781,810,685,660,585,527,552,554,607,738,691,561,536,596,701,687,640,648,634,594,622,670,668,631,677,661,581,588,533,515,533,570,611,1072,1288,982,533,344,312,338,379,440,499,484,539,626,601,619,672,696,711,691,700,735,699,688,689,605,606,583,576,575,573,569,563,562,557,550,533,518,505,487,498,489,491,476,463,473,511,526,550,600,634,656,674,680,690,706,653,678,709,640,600,613,623,618,636,670,611,624,602,560,511,509,512,495,478,473,460,462,456,409,422,437,427,428,442,481,469,497,595,717,752,734,786,706,664,645,590,593,583,682,692,681,738,738,667,669,733,729,734,616,540,552,580,615,584,630,702,711,724,672,618,633,719,579,508,487,483,478,469,482,463,420,402,389,379,371,360,344,358,362,348,317,302,300,300,312,318,316,311,300,297,293,296,298,316,309,346,415,441,397,373,333,338,353,344,337,329,280,300,347,349,376,398,392,385,372,346,316,305,312],[3088,2764,2966,3472,3175,2819,2689,3108,3053,2764,2655,2161,2137,2534,2646,2367,2425,2541,2193,2535,2487,2668,2664,2523,2474,2142,2245,2475,2374,2196,2569,3022,2522,2337,2797,2895,2575,2470,2310,2125,2056,2198,2311,2429,2576,2663,2632,2342,2112,2369,3156,3227,3107,2679,2285,2203,2112,2054,1985,2112,2366,2441,2864,3294,3269,3283,2906,2894,2820,2713,3141,3234,2720,2458,2668,2013,2320,2922,3053,3082,3338,3275,3222,3627,3489,2489,2249,2437,2732,2823,2692,2294,2280,2876,3264,2871,2705,2808,2765,2606,2429,2304,2053,1895,1749,1520,1757,2207,2122,1845,1578,1552,1663,1531,1619,1927,2014,2235,2083,2315,2208,2028,1783,1526,1675,2264,2570,2366,2459,2968,3085,3066,2900,2764,2437,2741,3033,2274,2344,2330,2009,2408,3356,3075,2889,2865,2588,2852,3053,3165,3296,2977,2525,2146,2024,2755,2810,1978,1857,1551,1632,2022,2134,1632,1671,1912,2225,2378,2656,2578,2200,2479,2318,2111,1709,1914,2579,2919,2331,2287,2448,2277,2062,2125,2403,2767,2623,2342,2569,2648,2857,3497,3163,2696,2339,2124,1912,1918,2713,3167,3170,3582,3309,2796,2178,2591,2358,2062,1729,2393,3296,3221,2561,2544,2898,2921,2922,2746,2624,2563,2752,2692,2552,3083,3760,3470,3059,2856,2956,3387,3716,2799,2630,3200,3226,3283,3045,2627,2712,2805,2689,2769,3504,3562,2883,2430,2199,2554,2691,1861,1838,2280,1921,1710,2229,2286,1981,2261,2047,1943,1593,1870,2102,2057,1837,2186,2801,2417,2038,2194,1982,1621,1765,1809,1950,2349,2533,2945,2908,2717,2589,2526,2373,1464,1194,1958,2322,2213,2129,1857,1960,1949,2567,3091,2588,2012,2343,2921,3090,2592,2500,2060,2070,2435,2633,3219,2906,3205,3596,3597,3893,3885,3465,3403,3421,3868,3619,3433,3165,2499,2321,2918,3574,4001,4100,3796,3482,3510,3730,3574,3243,3058,3098,3934,4105,3305,2544,2301,2432,2330,2392,2302,2452,2706,2730,2415,2764,2703,2235,2071,2045,2293,2391,2333,2052,2076,2720,2669,2078,2202,2509,2554,1856,2103,2374,1938,2006,2501,2626,1916,2306,1941,1873,1557,1349,2015,2229,2568,2985,2946,2911,3193,3182,2810,2332,1823,2345,2481,2724,3506,3615,3219,3083,2678,2168,1895,1429,1634,1969,2243,2562,2986,2724,2207,2006,1953,1728,1643,1745,1919,1843,2221,2580,2653,2738,3018,2988,2347,1953,2021,2472,3023,3073,2966,2893,2996,2894,2621,2622,2291,1753,1936,2667,2827,2656,2994,2862,2286,1687,1746,1941,1476,1799,2138,1838,1761,1734,1530,1708,1854,2244,2884,3050,2392,1550,1921,2226,2358,2354,2565,3342,3742,3752,3661,3482,2909,2741,2886,2858,2220,2419,2763,2267,2007,1798,1531,1421,1572,1575,1882,2031,2109,2323,2248,1953,1617,1743,1971,2519,2296,1759,1816,2098,2445,2743,2934,2008,1566,1472,1592,1785,1772,1797,1656,1469,1492,1478,1821,2296,2966,2788,3809,3714,3261,3720,3807,3644,3557,3624,3715,3499,3342,3605,3776,3077,3123,3438,3417,3661,3646,3413,3418,3342,3208,3328,2990,2353,2373,2430,3452,3706,3646,3273,3139,3309,3398,3046,2777,3157,3002,2806,3267,3324,3262,3342,2664,2724,2980,2954,3399,3400,3249,3672,3853,3626,3174,2212,2342,3216,3305,3393,3498,3444,3284,3240,3307,2984,2724,2972,3642,3987,3982,3503,3552,3308,3266,3444,3717,3521,3359,3595,3481,3630,3559,3496,3621,3072,3486,3666,3692,3358,3498,3398,2874,3144,2851,2453,2301,2203,1929,1860,1911,1705,1391,1560,2477,3077,2919,2895,2911,2683,3152,2507,1982,1717,1513,1443,1452,1482,1476,1274,1157,1293,1352,1378,1754,1873,1892,1861,2371,2002,1891,2343,2294,1764,1482,1446,1418,1679,1887,2115,1913,2087,2689,3055,3209,3335,3516,3680,3482,3109,2893,2642,2540,2176,1375,1869,2117,2535,2952,3357,3418,3273,3363,3583,4018,3772,3599,3306,3554,3784,3785,3630,3522,3736,3971,4062,3925,4013,3861,3173,2738,2554,2208,2258,2581,3376,3390,2797,2352,2169,2178,2264,1851,2259,1835,1616,2381,2632,2583,2251,2658,2193,1668,1511,1512,2046,2022,1543,1513,1650,1621,1492,1403,1505,1431,1483,1918,2207,1769,1759,2225,2432,2913,2335,1647,1670,1670,2028,2126,2093,1682,1269,1735,2421,2426,2304,1989,1717,1796,1734,1476,1414,1514,1741,1786,2342,3288,3829,3075,3188,2893,2846,2898,2946,3312,3264,2532,2756,2718,2009,2401,2511,1859,2409,1985,2165,1710,1582,1460,1433,1492,1362,1406,1504,1373,1368,1384,1604,1520,1425,1504,1467,1510,1476,1441,1516,1564,1587,1953,2515,2580,2310,1840,1876,1900,2077,2105,1933,1825,1871,1764,1558,1524,1469,1519,1740,1630,1633,1488,1818,1829,1622,1460,1478,1498,1455,1707,1855,1861,2005,1450,1508,1731,1658,1611,1632,1791,2040,2200,2358,2757,2712,2213,2445,2965,3743,3496,2981,3089,3086,2972,3105,2895,2349,2423,3155,2942,2268,2547,2352,2192,1743,1525,1475,1437,1404,1672,1726,1908,2903,2935,2365,2019,1831,1736,1640,1650,1729,1735,1644,1833,1803,1699,2028,1797,1547,1575,1594,2468,3361,3544,2835,2469,2497,2123,1730,1681,2039,2559,2492,2185,1802,1791,2170,2243,1937,1861,2116,1984,1745,2032,2917,3070,2371,1819,1614,1547,1497,1523,1511,1611,1883,1852,1810,1629,1376,1445,1457,1286,1355,1381,1641,1787,1610,1422,1334,1368,1486,1597,1494,1439,1533,1717,1892,1931,1685,1529,1398,1533,1704,1558,1485,1798,1732,1625,1688,1898,1767,1748,2070,2122,2316,2487,1992,1621,1622,1860,1875,1676,1662,1520,1629,1669,1910,1875,1652,1649,1851,1605,1518,1683,1564,1787,1677,1483,1746,1698,1789,1835,1719,1615,1553,1773,1851,1916,2280,2294,2526,2213,2176,2423,2054,1897,2323,2175,1753,1571,2162,2336,1859,1589,2125,2550,2644,2192,2570,1974,2029,2381,2508,2538,2953,2902,2138,2275,2433,2665,3379,3871,3344,2736,2084,1695,1852,1829,1583,1488,1548,1544,1649,1844,1938,1798,1688,1566,2106,2593,2785,2580,2266,1760,1594,1697,2381,3530,3582,3391,2913,2931,2840,2454,2077,1896,1870,1671,2042,2500,2939,2331,1662,1612,1611,1761,1818,1669,1621,1694,1998,1880,1505,1366,1626,1818,1832,1888,1645,1694,1699,1722,1510,1551,2067,2586,3073,2641,2320,2025,2338,2237,2544,2977,3432,3381,3094,3341,4015,3959,3465,3815,4320,4749,4544,4645,4572,3292,2369,2535,2470,2059,2279,2265,2014,1953,1891,1001,726,814,1321,2010,2368,3001,3576,3337,2880,2647,3029,2623,2557,3616,3761,2406,2257,2543,2514,2866,2796,2583,2531,2562,2830,3006,3299,3550,3466,3564,3292,3104,3175,3213,2975,2951,3068,2917,2209,2231,2253,2100,2122,2918,3501,3618,3231,2720,2764,2886,2424,2508,3300,3433,3143,3293,2819,2460,2598,2758,2475,2410,2493,2500,2925,3072,2396,2503,2967,2947,2265,1940,2543,3229,3154,3045,3108,3166,3220,3288,3073,2518,2661,2994,3088,2736,2534,2767,2533,2401,2191,2051,2621,2612,1910,1758,1763,2278,2386,2087,2666,3281,3610,3205,2939,3551,3916,3666,3422,3603,3649,3625,3649,3598,3394,3420,3559,3464,3083,3120,3797,4361,4460,4599,5007,5043,5060,4676,4039,3273,2857,2499,2527,3396,4101,4465,4573,3996,1753,1179,715,461,350,326,343,382,386,347,311,289,286,290,287,291,298,301,291,284,286,294,312,315,306,298,301,301,307,316,322,329,335,343,347,347,352,353,352,362,370,383,386,379,371,369,367,365,360,367,369,395,439,461,452,462,475,490,471,428,418,382,367,385,392,405,424,444,453,448,456,466,493,622,944,1300,1501,1810,2345,2539,2290,2025,1914,2047,2219,2208,2011,1951,2001,1821,1754,1825,1845,1907,1628,1265,1221,1207,1361,1535,1400,1318,1398,1828,2649,3561,3843,3641,3373,3230,3220,3250,3330,3263,3206,3205,3445,3517,3356,3139,3060,3142,3132,3093,3242,3815,4465,4655,4992,4596,4103,3049,2330,2097,1863,1827,1892,2698,4224,4668,4359,4211,4471,3801,3227,3391,3284,3253,3071,2358,2421,2320,2395,3205,3265,3303,2868,2823,3037,2618,2386,2512,2781,2898,2833,2706,2398,2244,2642,2763,2799,2536,2597,2663,2459,2479,2277,2090,2374,2819,2909,2517,2878,3050,2104,2246,1934,2041,1993,1669,2597,3627,4360,4465,3867,4195,4297,3951,3767,3728,3715,3837,3783,3748,3717,2632,1007,719,647,568,497,458,453,450,430,414,409,400,371,357,363,377,391,412,418,434,475,526,575,581,638,776,813,686,766,758,850,731,744,704,578,537,536,599,754,731,536,507,574,693,718,659,662,615,586,646,729,693,615,653,643,542,579,536,516,531,499,572,517,464,404,402,388,360,340,320,368,494,571,585,627,599,615,681,688,712,690,666,685,643,605,659,592,566,568,567,563,563,569,569,568,570,559,544,527,521,470,486,493,482,470,462,485,522,567,589,597,636,681,667,657,653,639,637,635,661,662,593,632,664,670,633,617,584,561,555,529,489,470,468,463,458,459,448,434,454,398,404,417,423,440,455,486,494,529,638,708,793,762,787,685,662,612,547,610,631,684,760,689,712,780,706,673,745,716,701,585,545,566,573,614,603,601,681,712,729,652,577,598,597,554,493,463,459,461,457,453,435,415,404,379,367,355,371,335,330,342,334,317,305,294,285,297,304,294,292,289,289,291,301,305,312,327,346,404,465,474,422,370,389,387,399,393,395,342,299,300,315,356,370,386,406,387,355,338,314,309],[2766,2720,2844,3105,2894,2559,2619,2974,3197,3223,2627,1940,2378,3018,2808,2542,2684,2447,2308,2332,2154,2462,2730,2689,2457,2076,1966,2251,2642,2257,2675,2373,2583,2391,2386,2573,2719,2762,2476,2212,2147,2391,2566,2667,2767,2663,2302,2109,2766,3461,3668,3314,3365,3270,2523,2115,2180,2020,1650,1826,2004,2268,2552,3342,3879,3804,3400,3175,2871,2840,3096,3186,2774,2342,2476,1863,1999,2525,2902,2865,2840,3132,3218,2878,2679,2245,2222,2611,2891,3056,2822,2547,2869,3326,3216,2922,2805,2812,2789,2739,2632,2500,2394,2300,1947,1796,2002,2035,1917,1720,1604,1578,1533,1809,2089,1860,1923,2061,2035,2176,2085,2185,1956,1599,2063,2480,2281,2106,2994,3392,3146,2932,2727,2617,2654,3354,2731,1949,2394,2530,2376,2670,3138,2967,2793,2544,2046,2566,3253,3261,3281,3246,3290,3335,2483,2648,2814,2018,1690,1404,1610,2258,2396,1912,1718,1832,2023,1906,2304,2563,1874,2110,2093,1851,1637,1577,2191,2700,2396,2174,2231,2370,2482,2533,2595,2546,2350,2017,2170,2222,2702,3354,3587,3339,2944,2712,2433,2412,3040,3285,3452,3663,3351,3135,2997,2864,2504,2096,2024,2402,2691,2841,2598,2633,2674,2899,2945,3006,2713,2895,2997,2897,3112,3304,3720,3391,3654,3752,3123,3096,3648,3082,2565,2836,3265,3370,3107,2952,2832,2578,2562,2777,3854,3431,2238,1896,2126,2227,2082,1903,2191,2273,1939,1903,2393,2437,2429,2358,2228,2492,1692,1841,2170,2118,2002,2250,2377,2080,2336,1988,1669,1605,2359,2482,2438,2272,1757,2261,2878,2377,2380,2534,2754,2141,1478,1780,2140,2123,2194,2204,2115,1822,1912,2374,2288,2123,2427,2329,2336,2207,2192,1985,2437,2742,2305,2361,2897,3150,2941,3077,3300,3508,3617,3715,3747,3819,3802,3940,3152,2490,2788,3298,3882,4198,4408,4197,3916,3618,3704,3601,3557,3359,3043,3164,3453,3495,3166,2551,2876,2387,2432,2333,2433,2724,2656,2199,2376,2346,2122,2136,2165,2554,2574,2317,2319,2435,2693,2540,2250,2731,3156,2554,1724,2038,2306,1802,1836,2242,2490,2171,2267,2065,1622,1213,1266,1539,1737,2098,2641,2705,2774,2623,2314,2051,1715,1708,2091,2303,3045,3653,3724,3627,3400,3333,2732,1974,1971,2246,2443,2258,2149,2322,2353,2054,1762,1768,1909,1802,1931,2487,2496,2451,2370,2089,2052,2481,2685,2651,2910,2814,2536,3063,3238,2971,2976,2925,2632,2344,2233,1795,1665,2068,2617,2960,2894,2822,2687,2498,1819,1544,1214,980,1351,1701,1734,1721,1551,1831,2279,1842,2036,1791,2233,2220,1896,2311,2276,2274,2714,3329,3650,3075,2551,2666,3184,2701,2423,2564,2584,2206,2849,3166,2437,1869,1630,1363,976,1107,1217,1590,1625,1782,2407,2382,1735,1567,1666,2009,2324,1863,1787,2063,2428,2613,2666,2523,1857,1542,1613,1643,1715,1809,2063,1991,1767,1793,1938,2352,3084,3607,3348,3321,2757,3270,4029,3823,3755,3551,3465,3460,3317,3392,3708,3880,3503,3732,3834,3785,3727,3632,3625,3627,3620,3515,3760,3417,2853,2974,2910,3308,3285,3173,3194,3322,3566,3377,3104,2986,3065,3020,2866,3382,3067,2695,2778,2689,2500,2437,2766,3229,3111,2978,3168,3505,3648,3164,2736,2265,2514,3182,3472,3562,3440,3282,3530,3674,3440,3032,3024,3574,4072,4050,3802,3838,3651,3276,3305,3328,3228,3316,3563,3603,3559,3507,3558,3536,2946,3213,3552,3481,3497,3707,3230,2811,3372,3187,3068,2974,2784,2244,2116,2197,1791,1469,1903,2396,2395,2619,2690,2619,2753,2624,2319,2396,2059,1454,1536,1897,1710,1481,1308,1288,1367,1417,1704,1642,1368,1600,1860,2959,2596,1770,2033,1959,1577,1388,1434,1375,1583,1940,1962,2020,2050,2709,3403,3493,3609,3316,2955,2975,2643,2175,1837,2090,2492,2280,2354,2610,2819,2743,2680,2866,3042,3197,3156,3435,3133,3292,2646,3254,3870,3951,3970,4009,3928,3693,3618,3905,3837,3340,3674,3585,3007,2883,3155,3509,3775,3681,3162,2574,2154,2077,1896,1666,2162,1702,2049,2500,2597,2216,2048,2304,1806,1459,1302,1496,1766,1643,1494,1562,1706,1664,1843,1698,1516,1611,1722,1921,1998,1720,1934,2361,2510,2523,1900,1742,1626,1500,1664,1933,1891,1681,1981,2352,2141,2108,1882,1685,1594,1597,1708,1613,1532,1704,2077,2548,2877,2601,3410,3480,3869,3320,2743,2624,2962,3332,2829,2508,2652,1774,1893,2830,2561,2193,2182,2030,2056,1966,1861,1587,1495,1555,1454,1709,1811,1428,1423,1382,1433,1638,1593,1444,1461,1413,1494,1625,1600,1572,1469,1605,1980,1692,1875,1701,1582,1455,1944,2314,2094,1849,1944,2187,2129,1607,1510,1490,1742,1653,1600,1543,1740,1856,1676,1428,1349,1333,1503,1669,1777,1803,1677,1463,1483,1604,1600,1680,1614,1721,1988,1970,1897,2242,2448,2410,2518,2921,3637,3443,3563,3941,3242,2871,2945,2710,2570,3150,4152,3561,2242,2731,2741,2002,1682,1534,1510,1545,1622,1919,1727,2049,2662,2571,2194,1662,1502,1449,1481,1647,1750,1755,1947,2088,2098,2237,2636,2170,1718,1581,1857,2479,3166,3489,2806,2775,3376,2708,1571,1620,1828,1949,1972,1980,1922,2314,3159,3261,2454,2115,2149,1741,1594,2260,2743,2406,1902,1579,1520,1619,1547,1601,1802,1605,1620,1578,1662,1630,1494,1576,1388,1328,1302,1260,1433,1575,1593,1556,1470,1494,1476,1392,1277,1499,1680,1818,1818,1694,1658,1594,1476,1517,1664,1502,1551,1593,1744,1923,1612,1789,1664,1534,1648,1809,2287,2530,2109,1759,1406,1501,1370,1417,1650,1659,1732,1754,1682,1700,1612,1616,1602,1571,1728,1677,1661,1765,1995,1649,1565,1651,1874,1838,1712,1718,1833,1989,2147,2339,2398,2728,2684,2215,2340,2438,1489,1266,1809,1599,1324,1642,2303,2445,2216,2067,2468,2021,1993,2381,2109,2026,2269,1591,1961,3122,3377,2385,2064,2545,2670,2664,3366,3738,3586,3359,2395,1826,1847,1881,1655,1792,1884,1799,1807,1858,1798,1729,1744,1813,1718,1735,2388,2387,1824,1437,1533,2046,2687,3060,2696,2662,2808,2790,2579,2435,2437,2099,1774,1756,2690,2931,2517,1722,1562,1522,1397,1504,1738,1860,1592,1691,2124,1954,1548,1505,1638,1766,1514,1622,1760,1731,1738,2003,2003,1797,2578,2766,2474,2436,2359,2222,2219,1828,2654,3385,3256,3075,3090,3472,4070,4060,3898,4082,3749,3829,3864,4035,4030,3365,2380,1921,2331,2395,2092,1764,1734,1838,1452,921,1100,1416,1498,1627,1849,2350,2773,3071,3198,2495,2916,2849,2669,3303,3471,2575,2545,2640,2565,3175,3363,2980,2413,2257,2478,2368,2695,3341,3376,3298,3260,3073,3104,3282,3128,3041,2875,2325,2255,2117,2361,2300,2659,3055,3277,3378,3074,2779,3015,2786,2207,2147,2377,2999,3423,3472,3134,2861,2768,2801,2465,2740,2656,2542,2609,3116,2482,2497,2500,2519,2516,2310,2692,3047,3006,2879,2709,2463,2654,2976,3016,2679,2900,3241,3006,2388,2315,2440,2633,2698,2345,2130,2270,2446,2166,1963,1975,2276,2225,2089,2587,3291,3316,2564,2010,2325,3362,3492,3587,3861,3848,3827,3708,3551,3189,3038,3321,3559,3698,3305,3287,3684,4058,4244,4640,4924,4808,4251,3974,3654,3073,2480,2307,2938,3724,4311,4486,4519,3249,1870,919,568,415,360,336,375,398,360,323,300,290,284,280,283,289,294,294,292,281,282,316,307,307,300,296,292,300,301,312,317,324,330,339,339,345,342,347,347,355,367,369,366,358,361,367,362,357,357,373,403,425,448,471,458,445,514,523,467,465,450,398,394,399,394,422,436,469,465,456,476,477,534,783,1125,1364,1617,2098,2464,2371,1979,1897,2082,2034,2065,1964,1788,1905,1833,1577,1642,1754,1926,1670,1301,1121,1157,1194,1388,1407,1265,1219,1282,1699,2454,3210,3742,3903,3348,3352,3384,3412,3334,3206,3208,3422,3328,3269,3396,3310,3159,3144,3097,3340,4048,4560,4676,4997,4728,4104,3089,2061,1757,1834,1927,1857,2210,3544,4488,4006,3959,4633,4046,3586,3614,3165,3111,2372,1501,1520,1499,1670,3020,3441,3138,2071,1779,1920,1710,1796,1510,1899,2255,2420,2339,2033,2447,2707,2548,2518,2092,2376,2863,2380,2360,2742,2608,2626,3053,2843,2498,3061,2753,2146,2183,2155,2566,2423,2424,2566,2733,3926,4416,4231,4311,4150,3820,3688,3640,3605,3538,3864,4628,3659,1803,850,647,616,555,494,444,448,464,421,400,402,398,373,356,366,386,411,451,508,547,597,674,728,777,800,764,790,743,717,705,834,741,692,694,613,568,540,578,792,737,525,536,613,713,688,622,624,625,583,617,714,708,613,627,620,546,558,542,534,505,499,542,540,459,380,373,347,323,313,345,343,458,607,623,619,591,588,700,670,687,661,623,661,642,594,618,575,548,549,541,539,541,556,571,576,580,569,554,531,524,475,469,483,469,469,473,495,542,592,592,581,614,658,613,617,630,596,602,605,631,684,576,645,688,676,641,586,533,513,525,516,470,447,447,440,437,412,406,399,460,409,389,406,415,433,457,515,558,569,716,748,849,798,785,717,670,614,514,544,612,634,726,682,664,738,735,696,738,697,653,589,545,554,584,630,625,595,631,650,658,611,543,563,588,527,459,453,446,451,450,447,426,412,398,380,367,343,360,340,321,333,329,323,307,290,278,282,293,289,286,284,288,299,309,310,316,343,361,377,469,528,481,398,431,429,415,413,410,372,330,321,315,326,340,367,384,372,353,328,289,289],[2626,2635,2743,2752,2723,2453,2127,2271,2734,2944,2376,2079,2420,2629,2620,2586,2199,2009,2273,2483,2114,2151,2670,2723,2497,2045,2030,2149,2440,2220,2471,2562,2629,2440,2381,2366,2658,2761,2633,2424,2519,2887,2850,2789,2745,2468,2337,3167,3792,3615,3371,3171,3260,3283,2698,2258,2464,2093,1752,2009,2269,1985,2112,3184,3841,3680,3165,3570,3619,3550,3464,3238,2476,2214,2115,1714,1970,2547,3100,3481,3541,3551,3392,2397,2887,2801,2482,2664,2424,2166,2149,2091,2312,2642,2884,2763,2699,2765,2799,2767,2713,2545,2454,2468,2189,2074,2075,1923,1918,1582,1644,1761,1833,2214,2095,1627,2010,1908,1813,1834,1727,2043,2029,1929,2379,2501,2496,2617,2973,2745,2464,2423,2789,2694,2729,3025,2293,2209,3039,3154,2131,2562,2939,2585,2398,2563,2361,2412,2775,2845,3104,3080,3033,3033,1897,1857,2522,2153,1861,1753,2087,2612,2651,2254,1639,1630,1893,1790,1776,1984,1913,2131,2407,2230,1833,1477,1651,1992,2314,2232,2025,2070,2354,2470,2421,2386,2057,1477,1478,2331,3436,3821,3876,3858,3703,3652,2756,2350,2610,3085,3414,3257,3218,3599,3305,2913,2444,2073,2398,2447,2415,2662,2514,2488,2688,2844,2957,3249,2917,2483,2217,2535,3008,2955,3357,3020,3119,2633,1888,2412,3000,3049,2924,2788,3082,3185,3050,2984,2663,2764,2796,2886,3203,2670,1732,1670,1803,1881,1971,1656,1688,2096,2239,1881,1806,2497,2737,2404,2562,2520,2062,2210,2525,2581,2360,2095,2131,2084,2008,1920,1764,1780,2082,2362,2250,1868,1515,1802,1729,1377,2191,2384,2098,1787,2012,2286,1986,2148,2847,3022,2608,1910,1798,1786,1917,2137,1968,1769,2064,2092,2280,2280,2818,2629,1772,2031,3019,3087,2942,3065,3043,3148,3393,3542,4003,4004,4108,4159,3153,2940,3249,3463,3538,3530,3739,3994,4300,4152,3762,3435,3406,3483,3278,3000,3128,3163,3353,2922,2480,2210,2216,2091,2264,2688,2444,2012,2148,2451,2287,2239,2215,2427,2336,2278,2868,2645,2172,2219,2636,3354,3228,2540,1879,1981,1930,1791,1927,1888,1823,1980,2026,2092,1708,1480,1926,2310,1815,1735,2267,2114,2270,2465,2357,1978,1677,1748,1730,2024,2733,3077,3124,3184,2763,2309,2028,2184,2409,2142,2227,2098,1792,1949,1976,1786,1595,1612,2175,2469,2847,3044,2815,2589,2398,1937,1691,2248,3066,3156,2853,2741,2779,2821,2778,2799,2800,2763,2529,2333,2194,1752,1548,1935,2746,2968,2488,2502,2464,2403,1874,1469,1176,1279,1564,1496,1531,1578,1616,1879,1903,1844,1951,1554,1579,1449,1647,1941,2110,2492,2521,2989,3906,3586,2829,3250,3448,2737,2487,2841,2833,2545,2957,2729,2414,1919,1556,1444,1458,1631,1689,1966,1917,2139,2381,2029,1684,1664,1815,2157,1959,1748,2106,2399,2809,2302,1869,1778,1618,1778,1816,1782,1727,1685,2235,2188,2141,2519,2468,3053,3542,3392,3410,2938,2364,3428,4104,3717,3848,3717,3609,3358,3188,3473,3607,3783,4004,4105,4132,3984,3641,3586,3610,3563,3738,3716,3743,3386,3200,3078,3182,3247,3041,3049,3043,3160,3284,3009,2835,2994,3021,3177,3003,2956,2633,2302,2152,2070,2213,2625,2977,3395,3184,3370,3738,3711,3660,2598,1884,2186,2595,2596,2735,3473,3488,3252,3592,3465,2583,2686,2977,3263,3251,3197,3222,3444,3598,2973,2864,3166,3497,3436,3562,3720,3587,3582,3646,3399,3120,3309,3417,3457,3360,3288,3333,2766,3067,3269,3252,3281,2757,1736,1329,1379,1438,1497,1672,1894,2282,2482,2545,2636,2707,2692,2526,2468,2104,1613,1818,2295,2060,1621,1614,2198,1771,1689,2056,1697,1426,1395,1958,3051,2722,1729,1858,1927,1725,1474,1472,1376,1521,1745,1978,2154,2189,3003,3630,3372,3240,2668,2126,1785,2019,2006,1832,2635,3162,3046,3297,3266,2766,2603,2592,2822,2866,2918,3116,3081,2852,3138,2979,3420,3731,3630,3745,3538,3167,3060,3467,4038,3702,3636,3773,3481,2646,2259,2919,3436,3372,3212,2945,2664,2250,2138,1880,2107,1848,1860,2488,2590,2408,1798,1673,1586,1502,1376,1879,1645,1601,1669,1501,1462,1496,1941,2470,2218,1717,1474,1665,1711,1704,1581,1881,2399,2810,2531,2246,2103,1781,1766,1808,1913,1717,1592,1748,1947,2814,2687,1854,1427,1359,1805,2097,1733,1712,1935,2413,2244,1900,2174,3002,3725,3673,2814,2431,2743,3273,3445,3116,3123,2907,2353,2959,3057,2339,2389,2177,2298,2397,2067,1719,1643,1724,1803,1594,1671,1480,1332,1423,1417,1541,1861,1690,1415,1391,1415,1636,1666,1572,1546,1531,1554,1843,1705,1713,1686,1568,1541,1789,2039,2034,1869,1954,2229,2735,1777,1502,1575,1555,1536,1577,1551,1569,1822,1694,1508,1455,1535,1626,1493,1851,1984,1653,1478,1525,1448,1610,1844,1768,1733,1722,1895,1868,2103,2733,2458,2515,2956,3344,3362,3571,3784,3588,3641,3586,3074,3280,4070,4164,3627,2934,3220,2782,2165,1937,1733,2079,2875,2608,2318,2287,2423,2192,2416,2065,1653,1606,1531,1494,1633,1780,2170,2158,1787,1989,2037,1911,1988,1996,2021,2119,2092,2575,3652,3479,3438,3467,2255,1597,1541,1537,2012,1976,1761,2131,2940,3400,2786,2228,1914,1758,2334,2548,2666,2497,2252,1966,1635,1611,1802,1694,1549,1744,1553,1611,1681,1725,1650,1569,1404,1287,1265,1267,1333,1409,1468,1542,1753,1920,1794,1393,1135,1255,1402,1648,1844,1656,1464,1546,1511,1640,1716,1822,1615,1505,1580,1802,1649,1448,1750,1831,1571,1656,1850,2035,2560,2846,2588,1733,1590,1528,1651,1981,1761,1509,1793,1754,1865,1822,1681,1578,1742,1879,1924,1902,1819,2071,1700,1484,1865,2013,1728,1711,2014,2004,1948,2599,2801,2675,2656,2241,1942,2446,2581,1700,1519,1866,1686,2372,2499,2259,2175,1929,2192,2853,2801,2603,2710,2543,2377,2475,2066,2566,3169,3518,3119,3162,3075,2546,1987,1876,1794,2409,2791,2193,2208,2166,1735,1550,1510,1657,1934,1909,1863,1892,1783,1807,1794,1543,1378,1885,1904,1544,1689,2197,2221,2326,2359,2497,2868,2916,2685,2508,2570,2492,1916,1564,1878,2054,2376,2623,2418,1982,1914,1990,1766,1602,1872,1710,1765,2154,1877,1487,1496,1616,1706,1817,2026,1988,1952,1856,1866,2202,2170,2779,2569,2264,2327,2078,2233,2226,2316,3040,3118,3053,3158,3044,3234,3030,3515,4070,4196,3067,2870,3153,3217,3356,3371,2895,2188,2890,3100,2597,1769,1543,2031,1919,1517,1412,1477,1372,1521,1958,2181,1782,2238,3094,2630,2834,2884,2944,3350,3206,2939,3083,2762,2653,3351,3404,3217,2435,2341,2700,2647,2698,3249,3419,3166,3284,3248,3323,3296,3121,3245,2849,2585,2402,2365,2335,2359,2980,3333,3265,3387,3272,3060,2843,2127,1905,1952,1885,2199,2766,2699,2814,3178,3013,2757,2431,2239,2374,2388,2594,2692,2303,2659,2387,1997,2012,2265,2753,2862,3172,3347,3213,2476,2255,2315,2401,2471,2667,2690,2707,2717,2700,2662,3124,3130,2363,2237,2099,2213,2512,2287,2041,2169,2069,2077,2154,2872,3100,2479,2442,2552,3333,3819,3927,3926,3883,3864,3684,3315,3033,3002,3227,3491,3911,3510,3141,3318,3764,3753,3924,4545,4452,3681,3646,3688,3281,2701,2607,2822,3308,3980,4344,4664,4344,2816,1253,709,533,401,318,345,389,360,334,313,293,282,282,284,283,290,296,302,282,276,313,312,307,302,294,293,291,294,299,309,318,323,334,331,328,327,330,333,339,349,355,357,356,362,367,365,358,352,366,389,418,443,482,469,435,510,577,534,528,581,525,439,424,403,417,434,455,483,481,477,485,498,663,994,1265,1496,1860,2354,2434,2077,1981,2187,2067,1927,1897,1677,1619,1611,1337,1431,1596,1824,1715,1396,1098,1095,1116,1186,1246,1226,1172,1096,1237,1761,2095,2696,3621,3600,3710,3849,3896,3746,3381,3207,3397,3641,3847,4059,3675,3363,3359,3367,3736,4431,4649,4577,4728,4665,4120,3120,1945,1603,1620,1634,1685,1931,3048,4351,4213,3861,4300,4255,3339,3327,4120,4239,3472,1940,1137,944,1572,2915,3584,2916,1979,2470,2677,2089,1968,1783,2033,1747,1847,1842,1839,2445,2761,2761,2755,2542,2429,2546,2392,2517,2956,2735,2491,2692,2476,2381,2711,2448,2236,2339,2105,2479,2401,2118,2321,2606,3935,4480,4331,4123,3886,3873,3818,3673,3592,3636,3829,4276,3064,1440,769,620,589,542,494,453,450,474,433,390,389,393,379,358,378,404,457,511,603,703,696,760,784,767,714,686,745,810,782,722,798,733,587,623,615,576,551,552,805,748,570,572,635,719,700,614,629,669,610,607,675,719,626,612,583,553,551,534,535,508,483,515,541,505,395,337,317,333,324,340,324,371,568,657,610,603,556,661,655,636,604,574,630,635,597,592,565,531,520,504,509,515,537,562,568,584,582,562,536,524,486,464,494,486,495,502,490,537,605,602,573,574,612,608,606,612,584,577,590,600,726,638,662,673,597,596,554,489,466,492,487,457,442,442,429,463,439,424,383,426,423,386,411,417,427,463,527,605,606,728,770,828,791,775,758,686,629,542,533,603,588,638,654,664,761,775,729,732,671,630,628,576,539,577,637,629,584,579,587,594,565,525,513,524,485,431,438,441,447,447,436,424,409,386,364,351,333,335,335,329,323,317,315,309,289,273,278,281,280,282,287,300,306,310,317,350,343,342,357,457,560,558,480,465,448,402,395,420,388,372,341,318,326,340,360,390,394,363,318,283,280],[2564,2520,2637,2710,2789,2381,2005,2094,1962,1986,1863,1906,2297,2335,2296,2290,1954,1741,1879,2010,2179,2476,2806,2385,2062,2202,2163,2163,2092,2170,2270,2602,2465,2318,2698,2916,2872,2888,2770,2792,2820,2924,2928,2719,2474,2316,2680,3528,3749,3399,3286,3131,3111,3156,2719,2263,2078,2055,2137,2378,2856,2494,2176,2653,3245,3062,3160,4124,4139,4046,3539,2643,1982,2007,2082,2358,2593,2543,2734,3295,3341,3029,2755,2964,3694,3017,2712,3183,2700,2089,2009,1910,1928,2368,2722,2778,2769,2757,2730,2733,2657,2469,2420,2501,2441,2152,2006,1793,1802,1664,1734,2245,2685,2512,1929,1619,1760,1671,1757,1659,2020,2177,2240,2146,2249,2435,2336,2275,2446,2519,2420,2490,2698,2529,2673,3305,3037,2187,3034,3038,2713,3573,3886,3203,2641,2889,2868,2462,2665,2962,3038,3068,3074,2579,2044,2297,2798,2449,1902,1891,2285,3103,3460,2231,1210,1896,1922,2154,2023,2292,2334,2187,2562,2714,2102,1734,1918,1751,1982,1968,2088,2366,2565,2517,2040,2344,2504,2200,2386,3310,3871,3964,3983,3791,3814,3606,2608,1822,1966,2271,2497,2181,2314,3223,3348,2667,2162,2172,2399,2132,2344,2285,2090,2250,2353,2323,2424,2489,2258,2312,1622,1975,2763,2928,2986,2675,2642,2055,1875,2562,2664,2950,3472,3344,3462,3540,3231,3051,2734,2603,2564,2526,2502,2149,1937,1987,1667,1663,1905,1477,2194,2676,2280,2058,2298,2850,2551,2539,3062,2853,3000,2836,2533,2093,1830,1724,1943,1959,1664,1764,1902,1864,2241,3082,2862,2237,2213,2544,2568,2249,2066,1992,1870,2395,2765,2342,2059,2354,2579,2940,3088,2129,1796,1669,2008,2006,1606,1659,1801,2093,2235,2116,2452,2202,1954,2583,3240,2596,2837,3172,2956,3117,3373,3451,3485,3189,3920,4284,3318,3080,3313,3526,3676,3625,2949,3067,3855,4196,3815,3420,3264,3384,3477,3240,3274,2990,2908,3187,2714,2279,2137,2032,2242,2442,2333,2137,2463,2808,3000,2574,2280,2252,2062,2222,2687,2407,2066,2100,2576,3113,3151,2940,2140,1865,1676,1676,1657,1862,2058,2002,2032,2114,1791,2113,2332,2067,1970,2131,2584,2635,2518,2566,2536,1880,1392,1535,1504,1902,2322,2558,2349,2435,2388,2072,2254,2417,2348,2092,1838,1778,1824,1751,1708,1757,1729,2020,1866,1691,2372,3168,3145,2554,2366,2019,1923,2669,3406,2771,1812,1878,2438,2379,2498,2575,2495,2557,2452,2421,2264,1664,1610,1922,2562,2411,2159,2083,2276,2370,1845,1524,1653,1806,1657,1543,1442,1637,1487,1452,1542,1743,2410,2448,2110,1682,1408,1623,2208,2334,2043,2060,2893,3738,3051,3258,3484,3162,3047,3356,3129,2753,2599,1881,2051,1858,1691,1592,1766,1914,2039,2182,2048,2029,2073,1929,1823,1856,2176,2162,1803,1897,2179,2395,2445,2024,1918,1766,1754,1800,1685,1812,1704,1548,2100,2640,2841,2757,2178,2382,2542,2360,2762,2574,2508,3439,3815,3591,3742,3657,3743,3373,3151,3461,3680,4015,4240,4151,4062,3776,3513,3508,3541,3620,3811,3749,3251,2964,2899,2889,3095,3249,3374,3397,3400,3404,3212,2631,2297,2391,2285,2093,1924,1992,1903,1681,1584,1674,2435,3068,3376,3684,3334,2905,2978,3761,3436,2007,1444,1426,1550,1727,1730,1857,2206,2514,2556,2480,2443,2141,2356,2899,2799,2522,2686,3009,3376,2880,2846,3201,3396,3510,3642,3840,3830,3661,3594,3471,3529,3718,3522,3599,3270,2844,3062,3378,3670,3632,3658,3506,2343,961,704,714,865,921,866,911,1105,1273,1483,1473,1190,1400,2197,2652,2496,2474,2104,2187,2247,2069,2296,3154,2204,1873,2213,2062,1926,1911,2173,2313,2642,2468,2264,2024,2104,2169,1852,1450,1680,2099,2602,2368,2249,2641,2987,2879,3146,2534,2118,2117,2420,2379,2878,3671,3503,2989,3030,3356,2969,2857,2906,2979,2887,2531,2556,2588,2610,2523,2730,3073,2958,3067,3770,2756,2552,2817,3769,4114,3410,3219,2844,2812,3016,3131,3386,3156,2646,2468,2654,2480,2266,1711,1700,1903,1676,2220,2522,2436,2004,1686,1760,1768,1499,1452,2249,1897,1965,2311,2054,1649,1724,2146,2353,2392,1956,1830,1958,1982,1777,1574,1679,2231,2537,2199,2025,1990,1755,1851,1886,1904,1631,1456,1943,2407,3216,2938,1844,1527,1790,1955,2138,1896,1998,2047,2177,1843,1710,2389,2752,3373,3329,2798,3012,3016,2844,3083,3315,3488,3247,3009,2786,2240,2250,2180,1671,1588,1834,1909,1746,1865,1929,1732,1578,1818,1587,1510,1650,1613,1497,1482,1572,1635,1542,1507,1616,1674,1600,1527,1511,1576,1735,1760,1632,1570,1532,1531,1583,1689,1928,2012,2136,2403,2575,1770,1415,1428,1515,1557,1482,1562,1563,1689,1612,1645,1620,1574,1497,1745,2255,1938,1446,1471,1616,1604,1720,1643,1805,1715,1602,1964,1862,2111,2480,1992,1903,2350,2896,3038,3364,3746,3640,3737,4111,4316,4173,4038,3889,3882,3594,2938,2283,2403,1832,1745,2066,3233,3471,3048,2920,2662,2427,2300,1956,1656,1606,1757,1508,1896,2021,2046,2080,1914,2120,1914,1605,1798,2004,1986,1853,2069,2657,3792,3330,3469,3173,1906,1536,1555,1494,2375,2940,2518,2253,2018,2212,1862,2010,1860,1770,2767,3240,2871,2426,2222,1832,1526,1522,1712,1662,1395,1395,1429,1544,1575,1825,1892,1640,1434,1437,1362,1431,1582,1598,1453,1393,1666,2087,1650,1401,1363,1363,1570,1860,1861,1626,1452,1550,1422,1561,1651,2123,1851,1502,1769,1761,1732,1548,1656,1736,1594,1490,1678,1782,2796,3398,2963,1868,2076,2729,2096,1611,1727,1775,1603,1666,1945,1691,1781,1751,1711,1598,1704,1579,1426,1338,1557,2058,2259,1621,1495,1632,1645,1638,1660,2320,2152,1960,2149,2164,2115,2136,2287,1835,1699,1937,1809,2114,2101,1982,1831,1882,1824,2382,3238,3141,3020,2614,2193,2371,2486,2837,2629,3120,3212,3272,3017,2232,1863,1780,1709,2070,2115,2221,2258,2322,1750,1494,1403,1390,1702,1947,2121,2318,1834,1572,1483,1557,1711,1960,1679,1548,1858,2310,2371,2098,2083,2178,2376,2430,2352,2084,2100,2084,1699,1715,1823,1666,2153,2858,2714,2346,2402,2388,2051,1582,1719,2050,2001,2008,1777,1814,1713,1562,1616,1821,1838,1868,1904,1866,1547,1654,2213,2686,2973,2416,1794,1879,2220,2443,2608,2933,2798,3063,2692,2575,2906,2683,2595,2777,3451,3288,2938,3308,3377,3021,3154,3193,2410,2905,3134,2955,2182,2069,2393,2172,1709,1354,1453,1474,1508,1797,2503,2304,2237,3000,3152,2855,2547,2888,3493,3410,3264,3010,2589,2940,3083,3376,3586,2768,2603,2922,2768,2597,2777,2769,2855,3107,3062,2886,3050,3263,3619,3532,3327,2910,2449,2269,2741,3187,3435,3208,3300,3006,2472,2105,1774,1762,1756,1874,2154,2508,2491,2126,2440,3095,2767,2482,2078,2282,2315,2442,2465,2193,2275,2478,2136,2002,2308,2576,2370,2874,3525,2956,2500,2812,2800,2388,2273,2368,2487,3190,3294,3160,2445,2121,2329,2145,2141,2154,2071,2310,2257,2007,2407,2148,2134,1832,2554,3242,3195,3186,2864,3029,3761,3978,3781,3688,3764,3571,3001,2692,2784,3438,3598,3535,3450,3108,3138,3339,3076,2923,3573,4352,3937,3797,3753,3332,3377,3320,3205,3118,3463,4144,4593,4588,3830,2423,1156,679,497,402,365,377,378,354,324,301,283,283,281,281,287,296,296,282,278,296,312,310,302,297,292,292,291,296,296,310,312,322,326,322,321,318,324,324,331,339,346,349,354,363,366,358,353,361,376,409,447,476,481,460,501,613,619,606,711,686,533,453,458,438,431,440,482,515,498,504,485,598,904,1236,1413,1686,2205,2406,2227,1910,1969,2110,1953,1911,1792,1613,1453,1276,1260,1382,1588,1676,1498,1172,1021,1032,1044,1040,1075,1086,1059,1024,1330,1715,1857,2920,3946,4188,4408,4531,4206,3776,3395,3780,4416,4544,4399,3911,3916,4197,4040,4165,4416,4160,3948,4204,4264,3889,3168,1954,1769,1619,1595,1777,1881,3037,4544,4380,3705,4140,4384,3362,4092,4568,4676,4888,3593,1688,1030,1540,2676,3321,2463,2062,2162,2743,2547,2051,2192,2343,2432,2517,2668,2962,3250,3230,2934,2696,2854,2862,2557,2556,2776,2557,2301,2732,2833,2697,2621,2924,2529,2127,2626,2556,2918,3034,2972,2902,3096,4152,4576,4377,4050,3865,4317,4125,3652,3687,3348,3241,3704,2684,1251,717,586,589,536,501,465,476,484,442,399,376,397,393,366,393,440,510,573,673,778,714,747,763,727,668,655,713,800,816,738,734,721,570,588,577,534,542,533,732,748,636,618,655,713,714,647,688,733,678,662,651,704,641,589,584,593,571,546,525,502,500,499,507,517,401,350,337,343,337,338,321,328,478,629,613,606,561,590,622,600,566,545,582,612,595,587,560,528,512,492,486,506,526,559,591,596,579,557,542,540,517,486,528,536,534,553,524,560,596,584,561,560,599,623,613,602,597,601,619,618,772,720,647,608,571,563,519,485,460,465,456,440,431,432,413,445,426,413,384,378,412,391,414,419,445,476,529,607,653,718,767,821,816,773,731,714,690,567,571,608,579,590,668,720,784,770,733,748,652,611,646,625,601,594,613,612,547,531,538,538,532,501,483,484,469,434,427,429,435,429,413,396,376,362,341,329,324,321,317,325,314,298,291,289,279,269,272,268,270,286,304,326,327,332,314,347,314,318,366,457,558,601,527,435,428,412,383,418,407,400,374,335,329,328,356,398,399,357,320,303,292],[2432,2575,2821,2801,2820,2339,1964,2076,1961,1744,2292,2803,2422,2182,2216,2280,1910,1925,2083,2109,2409,2503,2846,2267,2127,2352,2158,2088,2133,2076,2138,2511,2527,2689,3010,3111,2858,3051,3060,3008,2641,2645,2680,2619,2521,2633,3094,3444,3496,3449,3530,3492,3398,2863,2133,1908,1781,2025,2132,2228,2630,2642,2341,2181,2798,3218,3686,3852,3394,3772,3541,2373,1804,2176,2713,2780,2470,2359,2341,2955,3247,2877,2852,3188,3604,3395,3292,3531,3269,2521,2011,1974,1752,1802,2050,2530,2753,2695,2611,2641,2610,2424,2415,2602,2719,2064,1900,1608,1630,1635,1958,2659,2700,2280,1921,1750,1653,1829,1788,2091,2230,2404,2640,2579,2261,2218,2332,2532,2621,2380,1989,2376,2589,2553,2785,2867,2619,2349,2963,2454,2672,3437,3248,2861,2541,2313,2379,2343,2675,2715,2668,2865,3109,2908,2671,2933,3194,2624,2189,2187,2120,2712,3254,2433,2216,2636,2259,1983,2308,2556,2066,1945,2377,2592,2477,2285,2448,2203,2119,2175,2522,2824,3508,3540,2864,2536,2548,2667,2799,3219,3566,3814,3805,3792,3588,2861,2055,1647,1764,1798,1934,1959,1957,2563,2899,2975,2797,2681,2757,2555,2010,1608,1966,2762,2790,2176,2083,2305,1775,1970,2015,2258,2457,2675,2798,2665,2940,3106,2753,2874,2670,2930,3607,4158,4140,3772,3367,3155,2863,2302,2009,2050,2110,1972,1880,1871,1919,2221,1887,1560,2359,2731,2388,2276,2785,2811,2209,2918,3342,2888,2955,2224,1765,1835,1721,1662,1922,2005,1915,1763,2067,2708,3061,3222,2720,2675,2800,3009,2919,2698,2089,2071,2310,2330,2192,2386,2591,2461,2362,2697,2962,2597,1931,1893,2098,2061,1804,1630,1855,2282,2086,1729,2049,2334,2408,2834,2896,2096,2536,3300,3349,3451,3653,3675,3520,3559,3875,4130,3537,3234,3084,3131,3647,3704,3133,2797,3274,3786,3838,3417,3219,3272,3574,3667,3574,3383,2940,2853,3096,2758,2188,2202,2185,2577,2829,2888,2740,2999,3574,3140,2680,2156,2127,2392,2149,1913,1945,2542,2652,2323,2448,2665,2125,1687,1677,1708,1631,1902,2389,2273,1902,1965,2059,2496,2524,2254,2321,2769,3038,2689,2090,2057,2387,2304,1719,1683,1827,1676,1913,2198,2121,2298,2643,2375,2134,2258,2154,1809,1575,1867,1887,1829,1952,1837,2105,2618,2094,1743,1951,2463,2678,2684,2602,2266,2122,2388,2547,2143,1989,2348,2482,2012,2266,2625,2513,2470,2514,2453,2336,1900,1896,2208,2272,2420,2349,2070,2124,1972,1839,1892,1853,2039,1553,1457,1803,1746,1429,1270,1642,2370,2879,2752,2480,2369,2070,2045,2428,2150,1760,2015,2390,3055,3398,3579,3348,3042,3056,2885,2702,2649,2132,2211,2257,1928,2054,2088,2064,2342,2420,2110,1755,1692,1873,2275,2817,3155,2779,1942,1865,2096,2469,3011,3015,2381,1928,1520,1695,1648,1914,2003,1876,1930,2358,2540,2262,1906,1730,2221,2555,2381,2546,2480,2490,3262,3636,3597,3740,3729,3553,3295,3270,3415,3619,4040,4020,3771,3676,3409,3338,3443,3421,3520,3825,3549,3041,3009,3153,3211,3399,3463,3606,3672,3830,3640,3115,2509,2166,1888,1844,1821,1642,1668,1611,1721,1706,1934,2654,2833,3053,3282,3121,2834,3263,3995,2963,1811,1533,1371,1378,1402,1441,1387,1688,2271,2292,1895,1824,1790,1970,2663,2894,2464,2645,3033,3204,3168,3031,3101,2853,2598,2690,3221,3581,3438,3405,3439,3662,3676,3495,3173,2993,2635,2692,3335,3773,3719,3384,3272,2034,799,708,727,1619,1825,1578,1201,797,660,633,666,638,962,2265,3161,3115,3543,2707,2342,2488,2230,2101,2216,1875,1866,2101,2371,2907,2663,2647,2288,2707,2963,2048,2335,3021,3178,2664,2030,1932,2486,3146,2799,2703,2531,2578,2228,2223,2364,2383,2499,2736,2578,2722,3111,3408,3440,3288,3464,3152,2973,2947,2836,2479,2315,2271,2156,1982,1935,2177,2364,2358,2662,3295,2780,2637,2639,3615,3911,3326,3187,2843,2705,2895,3360,3384,2875,2475,2768,2940,2445,2090,1553,1716,1787,1960,2498,2499,2187,1725,1989,1776,1610,1366,1694,1843,1492,2050,2686,2220,1539,1587,2139,2310,2478,1815,1713,1981,2078,2078,1853,1715,2029,2019,1987,1742,1913,1938,1853,1571,1778,1716,1894,1992,2081,2983,3061,2165,1886,1634,1653,1760,1894,1660,1505,1655,1665,1639,1640,2041,2663,2640,2806,3333,3038,2562,3210,3504,3240,2931,2918,2828,2574,2887,2786,1660,1640,1652,1838,1817,1785,1633,1401,1450,1670,1700,1924,1971,1616,1494,1536,1666,1717,1796,1796,1887,1934,1670,1532,1526,1409,1466,1586,1615,1663,1563,1463,1527,1610,1776,2018,2432,2240,1747,1541,1497,1411,1450,1481,1585,1766,2412,2067,1656,1670,1650,1525,1401,2112,2561,2058,1593,1654,1544,1552,1875,2006,1846,1644,1802,2398,2424,2242,1939,1728,1848,1991,2243,2387,2857,3625,3021,3256,3669,3794,3530,3037,3245,3765,3350,2635,2056,1819,1754,1668,1618,1934,2125,2150,1930,1880,2215,2155,1868,1729,1559,1561,1657,2055,2205,1913,1715,1765,2117,1982,1852,2133,1795,1884,2314,3071,4062,4274,3428,3603,2950,1962,1773,1693,1757,2282,2632,3045,3254,3014,2779,2091,1907,1615,1446,1699,2227,2281,1788,1493,1539,1525,1500,1494,1498,1457,1500,1906,1950,1607,1725,1873,1754,1623,1560,1498,1583,2106,1925,1605,1435,1546,1624,1353,1316,1418,1507,1631,1729,1842,1683,1676,1567,1288,1441,1641,1824,1562,1466,1532,2073,2521,1712,1520,1568,1563,1641,1723,1974,2691,2878,2302,1878,2840,3516,2448,1630,2104,2150,1758,1743,1691,1652,1817,1570,1425,1669,1678,1674,1708,1521,1903,2013,1931,1774,1877,1781,1605,1665,1629,1742,1835,1875,2155,2187,1878,1768,2236,2039,2147,2535,2597,2518,2378,2374,2634,2648,2205,2303,2583,2555,2490,2127,2290,2589,2788,2524,2400,3141,4021,3959,3017,2144,1813,1798,1977,2192,2542,2731,2788,2373,1707,1503,1426,1480,1853,2117,2130,1905,1730,1583,1508,1723,1877,1973,1843,1927,2055,2160,2202,1942,2039,1614,1504,1902,1974,1814,2117,2127,1985,2237,2344,1992,1930,2266,2552,2225,2305,1960,1822,1621,1720,2044,1756,1502,1525,1529,1588,1558,1478,1471,1427,1825,1944,1821,1476,2348,2639,2429,2422,2090,1974,1869,1949,1836,1802,2040,2625,2828,2509,2652,2820,2831,2365,2596,3562,3326,3141,3551,3307,2901,3150,2933,2419,2962,3453,3352,2691,2336,2600,2609,2147,1595,1588,1791,1685,1953,2753,3145,2971,3196,3543,2985,2108,2889,3429,3201,3248,2669,2269,2585,2623,2968,3101,2659,2246,2080,2197,2410,2453,2576,2641,2724,2773,2636,2318,2386,2950,3294,3438,3399,2764,2703,3442,3669,3859,3225,2687,2024,1759,1907,1819,1739,2136,2492,2410,2520,2624,2060,1938,2168,2374,2774,2469,2249,2249,2208,2365,2483,2394,2429,2205,2531,2373,2342,2153,2385,2976,2588,2485,2785,2513,2505,2483,2684,2607,3154,3308,2980,2253,1840,1963,2095,1974,2011,1976,2014,2193,2004,2532,2243,2149,2065,2551,3284,3269,3251,3189,3444,3818,3934,3727,3597,3745,3709,3076,2408,2430,3049,3291,3702,3687,3145,3036,3076,3128,3406,4129,4464,4175,4233,3718,3118,3354,3374,3282,3262,3421,4104,4670,4648,4488,3930,2306,1171,708,506,384,374,388,375,338,311,282,278,283,290,293,287,281,281,280,290,304,307,305,297,298,290,286,294,296,300,305,309,315,311,305,310,314,316,320,325,335,343,350,354,365,361,350,353,363,395,450,477,479,494,507,606,719,696,816,940,753,555,513,478,442,447,473,540,537,543,509,556,755,1123,1422,1667,2007,2280,2243,1947,1821,1903,1945,1942,2014,1869,1477,1231,1131,1210,1372,1538,1514,1216,997,965,955,849,903,989,1041,1035,1084,1377,1595,2018,2304,2821,3770,4329,4192,4014,3969,4436,4741,4508,4211,4104,4372,4440,4283,4176,3438,3130,3374,3626,3840,3449,3199,2225,1612,1585,1949,2224,2212,3426,4692,4238,4183,4610,4184,3827,4346,3631,2999,3371,3226,2642,2443,1651,2613,2911,2265,2005,1654,1600,1953,2352,2030,2089,2395,2654,3079,3078,2974,2456,2661,3086,3256,2930,2764,2793,3042,2818,2788,2709,2232,2787,2955,3281,2902,2790,2909,3002,3329,3086,3238,3360,3576,4307,4597,4505,4263,4125,4489,4007,3517,3654,3188,2937,3300,2402,1038,716,546,594,538,507,474,496,478,437,417,379,384,404,388,392,433,588,636,729,818,745,747,776,717,652,669,722,788,806,771,688,720,592,557,579,559,536,520,657,731,665,661,661,673,702,624,673,699,658,650,616,653,642,549,564,634,587,553,519,495,502,504,500,491,408,355,338,339,348,332,328,328,390,547,626,627,593,593,598,570,565,544,542,588,587,584,551,522,501,498,467,491,550,599,611,587,565,538,537,569,546,517,554,569,556,628,641,599,609,577,549,549,582,604,605,606,615,635,665,652,742,722,602,571,532,521,505,485,467,452,432,427,421,415,407,400,391,410,406,367,430,446,430,420,480,490,535,601,652,692,729,802,880,852,766,742,729,589,581,593,578,617,685,732,790,785,734,775,679,638,651,645,674,635,595,587,539,513,519,520,513,484,461,442,435,422,403,404,408,400,384,370,356,341,325,310,312,308,308,307,296,287,276,267,265,273,269,248,252,281,315,353,394,386,358,396,364,318,363,455,546,591,536,448,428,412,394,409,416,419,390,347,330,324,336,365,375,346,322,313,297],[2453,2532,2630,2742,2925,2385,1950,2299,2080,1910,2452,2325,1830,1836,1960,2003,2054,2714,2841,2607,2680,2685,2445,1788,2336,2713,2394,2154,2123,1990,1964,2049,2339,2770,2763,2407,2610,2866,2886,2750,2692,2667,2494,2399,2533,2755,2946,3144,3387,3460,3588,3717,2994,1749,1726,1960,1965,2198,2422,2431,2490,2548,2512,2859,3112,3272,3396,3131,2812,3006,2996,2658,1862,2203,2822,2607,2691,2561,2465,2874,2710,2608,3176,3506,3688,3816,3666,2853,2522,2302,1918,1757,1638,1644,1681,1882,2276,2567,2520,2449,2529,2573,2658,2841,2254,2020,1834,1781,1617,1529,1968,2148,1933,1703,1886,1954,2058,1997,1896,2260,2208,2364,2598,2733,2632,2348,2313,2300,2332,2210,2170,2375,2534,2762,3028,2870,2208,2393,3008,3165,3190,2493,2220,2954,2877,2098,2119,2322,2451,2655,2689,2342,2630,2935,2590,2614,2665,2230,2077,2013,1966,2321,2807,2993,2940,2830,2478,1933,2127,2337,1771,1536,2049,2689,2754,2332,2489,2930,2902,2745,2531,2957,3836,3952,3233,2974,2843,2225,2318,2872,2880,2349,2712,3295,3350,2533,1426,1212,1570,1708,2200,2338,2524,2496,2783,3442,3330,2817,2880,2897,2442,1997,2097,2343,2576,1952,2103,1899,1760,1895,1986,2032,1404,1397,2176,2548,2906,2885,2466,2690,2182,1865,2520,3764,4078,3834,3271,2770,2640,2255,2050,1852,1826,1963,1978,1873,2304,2316,1986,2090,2876,3041,2452,2034,1937,2103,2257,2758,2946,2480,2108,1132,1147,1679,1783,1701,1981,2064,1819,1837,2492,3029,3090,2420,2496,2684,2294,2471,2745,1991,1455,2107,2411,2221,2226,2736,2896,2722,2281,2805,3174,3085,2667,2369,1939,1957,2071,1981,2218,2421,2259,1911,2200,2475,2462,2458,2462,2209,2482,3024,3313,3652,3798,3686,3458,3662,3683,3705,3405,3298,3110,2912,3023,3167,3045,3217,3492,3510,3492,3206,3097,3173,3464,3731,3727,3694,3432,2893,2771,2909,2886,2710,2590,2840,3090,3410,3219,3116,3204,3151,2822,2213,2382,2447,2092,2054,2155,2588,2357,2289,2321,2310,1921,1561,1589,1752,1914,2266,2495,2293,1786,1777,2454,2649,2362,2376,3040,3300,2841,2451,2195,2207,2514,2845,1855,1832,2233,1774,1834,2154,2551,2675,2754,2774,2367,1971,1810,1863,1923,1834,1827,2095,2480,2696,2606,2313,1858,1730,1912,2116,1948,2032,1804,2254,1970,1871,2064,2258,2502,2929,2879,2463,2511,2533,2499,2309,2511,2485,2116,1820,1935,2460,2571,2238,2140,2142,1759,1461,1560,1724,1904,1581,1515,1718,1710,1610,1434,1626,2381,2734,2818,2909,3023,2994,2798,2542,2232,2141,2023,2159,2100,2444,3039,3492,3409,2643,2460,2074,1786,2116,2026,2334,2225,2062,2138,2036,2038,2454,2441,2202,2150,2178,2140,2597,2994,2753,1899,1807,2098,2388,3056,4042,3872,3474,2700,2034,2043,2130,1949,2246,2310,2557,2918,2466,1676,1597,2155,2801,2780,2522,2254,2203,2267,2644,2930,3198,3426,3421,3566,3488,3145,3075,3354,3650,3624,3536,3615,3460,3615,3641,3372,3516,3772,3487,3175,3121,3465,3494,3674,3751,3848,3885,3905,3692,2848,2175,1815,1350,1685,1786,2004,2530,2609,2543,2472,2500,2558,2568,2765,3106,3200,3156,3550,3870,2684,1957,1524,1331,1247,1256,1326,1396,1772,2526,2378,2008,2040,1856,1924,2228,2400,2323,2366,2202,2513,2887,3109,2964,2665,2696,2797,2724,3096,3251,3264,3305,3562,3342,3230,3066,3090,2961,3052,3483,3744,3501,3099,3150,1716,822,664,633,986,1365,1576,1236,745,589,664,700,691,1170,2976,3762,3575,3183,2288,2099,2244,2115,1704,1347,1417,1606,1826,1937,2450,2271,2204,1897,2168,2377,2256,2407,2396,2549,2502,2175,2258,2220,2274,2576,2602,2932,3498,2613,1764,1901,2088,2605,3012,2496,2112,2522,3065,3277,3570,3288,2843,2447,2272,2280,2308,2428,2300,2163,2055,2046,2164,2297,2360,2547,2686,2878,2846,2317,2740,3270,3112,3297,3120,2611,2812,3144,3374,2856,2750,3532,3334,2520,1926,1557,1768,1712,1975,2377,2284,1722,1747,2137,1744,1542,1506,1606,1571,1505,1605,1533,1600,1436,1853,2800,2762,2607,2251,1846,1818,1887,2393,2523,1775,1582,1583,1502,1488,1662,1844,1711,1470,1656,1581,1705,2148,2820,3248,3166,2364,2503,1991,1951,2111,2005,1736,1704,1795,1847,1896,1878,2242,2219,2213,2968,2920,2714,2485,2999,3049,2632,2516,2746,2707,2535,3537,3569,2430,2281,2132,2049,1909,1822,1686,1572,1584,1519,1587,1942,1910,1633,1650,1609,1583,1677,1942,2106,2216,1920,1476,1447,1456,1377,1433,1495,1503,1435,1407,1527,1594,1585,1502,1735,2184,2111,1731,1732,1678,1504,1769,2095,1921,1592,1781,1637,1699,1706,1598,1481,1725,2209,2106,1791,1942,1828,1515,1476,1655,1643,1888,2288,2528,3042,3625,3508,2730,1843,1816,1905,1782,2017,2486,2851,2840,3278,3549,3409,3068,2585,2963,3520,3440,2356,1902,1639,1844,1802,1750,1677,1744,1891,1709,1837,2462,2441,2300,1952,1746,1598,1516,1692,1901,2025,2049,2061,2106,1929,1953,2361,2133,2663,3342,3396,3793,3968,3440,2855,2512,2680,2996,2587,1979,1621,2128,3254,3754,4131,3964,2885,2137,1529,1773,2144,2176,1686,1597,1623,1653,1572,1522,1643,1594,1486,1539,1583,1452,1505,1478,1547,1730,1898,1591,1460,1544,1841,1741,1818,1611,1378,1291,1302,1381,1394,1409,1599,1684,1926,1860,1550,1414,1413,1830,1864,1909,2153,1844,1501,2024,2070,1654,1421,1427,1646,1778,1921,2174,2366,2552,2352,2024,2474,2824,1973,1814,2063,1728,1646,1516,1432,1300,1328,1520,1575,1716,1699,1634,1478,1297,1991,2104,2223,1866,2047,1986,1694,1963,2123,2106,2341,2104,2084,2002,2080,1951,2139,2065,2243,2425,2368,2294,2134,2147,2192,1994,2041,2476,2266,2156,2294,2292,2308,2361,2195,1979,2137,2698,3350,3464,2746,2376,1584,1445,1917,2922,3360,3265,3050,2507,2348,2032,1785,1642,1699,1689,1926,1548,1426,1533,1666,1667,1968,2216,2112,2224,2501,2303,1887,2012,2262,2120,1838,1918,1831,2240,2792,2694,2510,2597,2313,1938,2148,2413,3075,2920,2531,2186,2119,1866,1789,1833,1698,1772,1678,1543,1432,1340,1421,1410,1449,1603,1817,1825,1902,2684,2927,2176,1883,2633,2347,1844,1743,1576,2236,2868,3054,2894,2889,2790,2536,2410,2196,2802,3120,2277,3067,3728,3596,3097,3017,2542,2275,2934,3677,3680,3038,2440,2563,3195,2740,2095,1570,1578,1796,1742,1692,2142,2824,3186,3392,3377,2685,3385,3321,3077,3128,2486,2393,2410,2460,2807,2771,2391,1913,1792,1901,2129,2077,2426,2459,2567,2637,2421,2124,2258,2566,2984,2977,3128,3122,3306,3717,3605,3532,3028,2124,1724,2011,1953,1658,1881,2361,2547,2820,2648,2139,1756,1948,1922,1869,2286,2598,2403,2249,2239,2431,2569,2366,2126,2144,2792,2588,2205,2436,2586,2743,2908,2833,2670,2755,2267,2413,2500,2562,3021,3193,3042,2625,2017,1757,1885,1989,1980,1954,1985,2430,2182,2436,2406,2799,2534,2306,2521,2943,3410,3375,2881,3002,3695,3796,3805,3745,3751,3097,2140,2182,3067,3688,3794,3403,3082,3105,2896,2946,3542,4333,4512,4440,4285,3540,3413,3608,3308,3267,3233,3291,3880,4660,4719,4419,4177,3602,2087,994,665,440,380,367,383,373,325,285,274,280,286,291,286,284,281,275,285,304,290,300,296,302,294,290,284,288,295,296,303,303,302,301,300,304,309,313,318,319,332,339,352,354,346,339,347,354,388,437,500,500,522,545,571,778,818,907,1114,1110,916,678,537,491,466,474,560,608,606,560,570,641,905,1357,1688,1887,2177,2238,2008,1847,1742,1875,1846,1787,1778,1586,1300,1073,1074,1226,1362,1440,1288,1071,940,902,802,809,869,912,978,1010,1017,1256,1547,1644,2004,3076,3638,3695,3842,4174,4536,4515,4331,4299,4427,4515,4372,4106,3325,2192,2280,2519,2764,3286,3282,3151,2669,2168,1944,2518,3398,3581,4184,4639,4675,4807,4820,4461,4227,3122,1853,1387,1490,1851,3182,3805,2720,2711,2336,2374,1584,1289,1338,1769,1654,1267,1716,2351,2727,2898,2898,2767,2874,2893,3188,3291,2993,2927,2986,3100,3576,3747,2722,2215,2577,2665,2603,2729,2540,1865,2722,3673,3338,3086,3509,3875,3902,3715,3764,4018,4312,4229,4112,3894,3820,3561,3377,3201,2025,902,651,561,572,542,516,481,506,484,438,424,378,367,387,404,407,435,691,723,750,815,798,803,838,762,656,697,738,790,858,779,651,724,638,548,561,564,532,501,605,702,670,678,665,633,692,626,646,674,626,609,591,609,624,539,535,603,570,543,510,492,490,505,500,488,429,346,320,337,343,322,322,331,351,454,621,674,586,564,582,546,544,526,515,553,569,577,544,515,498,501,478,524,601,599,591,571,548,540,533,561,541,531,569,594,573,641,671,602,591,561,562,572,578,584,590,598,629,680,694,638,653,675,547,538,511,492,484,469,449,434,419,419,409,402,389,387,403,405,417,403,420,425,415,419,476,511,562,612,611,653,689,763,904,900,825,682,716,603,560,584,583,621,676,729,771,776,766,790,703,667,662,662,673,634,592,563,539,525,510,504,501,474,448,431,409,394,374,368,382,382,363,350,342,328,319,307,300,296,300,296,290,281,273,260,254,270,279,279,283,309,361,373,472,469,406,439,419,340,360,429,513,532,504,457,425,395,387,396,398,390,364,339,333,312,310,337,353,348,336,316,292],[2405,2395,2513,2764,2768,2243,1938,2403,2443,2242,2295,2031,2235,2187,2051,1881,2110,2301,3014,3283,3008,2523,2128,2568,3340,3039,2877,2485,2189,2013,1920,2044,2261,2513,2331,2379,2724,2751,2798,3018,2931,2731,2475,2480,2814,2876,2938,3063,3422,3687,3619,3747,3200,2338,2485,2304,2297,2342,2476,2688,2743,2607,2387,2584,2644,2657,3024,2664,2331,2541,2577,2402,2258,2765,2967,2827,2945,2814,2302,2514,2818,2647,2798,2939,2979,3319,3119,2409,2284,2220,1923,1722,1670,1648,1711,1743,1825,2161,2513,2354,2353,2894,2999,2389,1958,2028,2028,1989,1747,1751,1981,1884,1830,1978,2535,2579,2359,2341,2707,2452,2320,2394,2557,3256,2988,2176,2461,2093,1991,2005,2072,2463,2438,2727,3351,3739,3097,2619,2757,2787,2401,1767,2551,3378,3372,2706,2261,2154,2099,2039,1897,1990,2413,2589,2104,2171,2033,2124,1860,1788,1820,2115,2595,2899,2712,2728,2438,2049,2215,2452,1996,1804,2058,2360,2418,2158,2747,3430,3540,2826,2020,2283,2797,3161,2857,2757,2751,1928,1866,2120,2071,2173,2057,2508,3401,2769,1534,1207,1775,1976,2371,2576,3075,2954,3143,3628,3187,2519,2698,2740,2874,2820,2393,1922,2245,1976,2113,1698,1533,1693,1977,1740,1085,1371,2037,2459,2910,2783,2148,2048,1750,1839,2158,3361,4165,3410,2166,1749,2128,1987,1913,1831,1733,1863,2164,2219,2123,1810,1717,1708,1837,1890,1825,1720,1683,1932,1671,2112,2360,2367,1990,1326,1469,2440,2856,2199,2189,2041,1878,2134,2076,2083,2534,2222,2299,2355,2292,3022,3553,2592,1729,2039,2128,1976,2491,2575,2614,2432,2100,2578,2839,2677,2410,1956,1581,2004,2698,2379,1881,1876,2144,2374,2276,2229,2126,2151,2427,2715,2996,3054,3471,4113,4012,3728,3325,3752,3659,3443,3175,3025,2774,2314,2473,2499,2592,3256,3442,3332,3225,3173,3124,3161,3383,3573,3684,3762,3695,3376,2954,2912,3212,2885,2570,2921,2939,2521,2534,3145,3176,2601,2502,2078,2138,2378,2191,2090,2244,2504,2329,2365,2425,2499,2210,1687,1648,1890,2323,2564,2454,2029,1687,1713,2312,2659,2796,2685,2730,2828,2457,2172,2145,1821,2077,2489,1902,2086,2090,1918,1932,2188,2634,2602,2399,2163,1772,1712,1758,1870,2014,2195,2359,2724,2908,2534,2140,1892,1882,2155,2056,1974,2183,2009,1902,1996,1620,1547,1842,1980,1998,2221,2482,2736,2452,2153,2287,2463,2512,2382,2007,1768,2075,2867,2791,1920,2131,1909,1799,1524,1577,1640,1645,1474,2055,2199,1829,1799,1534,2223,3162,2769,2597,2828,2806,3167,3495,2695,2482,2599,2438,2308,2010,2303,2243,2685,2908,2163,2022,1929,1487,1874,2128,2094,2288,2425,2220,1968,1770,2160,2584,2588,2203,1759,1848,2663,2920,2121,1776,2040,2258,2344,3054,3559,3283,3381,3319,2775,2463,2129,1910,1896,1863,2408,2663,1870,1461,1586,2125,2457,2029,2002,2053,2101,2099,2140,2480,2836,2767,2590,2832,2567,2539,2911,3123,3172,3308,3543,3652,3859,4085,3725,3212,3172,3514,3407,3242,3358,3519,3531,3626,3652,3693,3723,3834,3538,2301,1787,1358,1371,1464,1784,2654,3395,3190,2876,2957,2779,2872,2887,2886,3637,3432,2768,2523,2528,2128,2261,2215,1808,1485,1286,1131,1230,2118,2600,1942,2024,2000,1746,2270,2037,1922,2191,2072,1725,1675,2192,2905,2821,2720,2457,2729,2707,2885,3017,2918,3450,3199,3030,2998,2827,3231,3247,3018,3098,3192,3159,3285,2890,1815,1351,1294,1092,901,856,814,722,683,686,666,707,727,2029,3530,3660,3473,2734,1680,1436,1497,1588,1433,1328,1450,1377,1490,1513,1272,1439,1704,1596,1452,1620,1855,1620,1699,1583,1670,1624,1847,1732,1665,1792,1601,2113,2586,2176,1800,1757,2185,3083,3200,2622,2251,2596,2629,2727,3131,2994,2588,2180,2222,2476,2322,2365,2250,2075,2113,2104,2113,2042,2023,2186,2507,2957,3018,2448,2386,2931,3345,3257,3340,2753,2811,3115,3128,2877,3350,4021,3328,2359,1712,1527,1566,1642,1590,1871,1759,1554,1816,1832,1525,1507,1441,1474,1532,1833,1751,1617,1607,1572,1811,1972,2206,2549,2127,1710,1754,1768,1882,1863,1469,1303,1544,1487,1573,1745,1747,1432,1338,1526,1419,1684,2253,2764,3201,2927,2566,2762,2713,2589,2894,2951,2299,1653,1749,1941,2079,2095,2244,2263,2278,2219,2359,2664,2354,2315,2438,2252,2363,2169,2060,2366,3167,3063,2797,2699,2559,2458,2135,1853,1917,1950,1814,1635,1614,1697,1749,1599,1551,1509,1531,1677,1663,1786,2166,2032,1596,1535,1501,1498,1482,1462,1497,1429,1467,1571,1471,1435,1457,1526,1935,2543,1955,1813,1953,2185,2457,2975,2491,1718,1465,1586,1694,1714,1634,1816,2257,2039,1665,2071,3984,2450,1532,1571,1490,1422,1893,2369,2298,2858,4020,4149,3134,2105,2149,2416,2269,2195,2639,2694,2676,2890,3110,2920,2309,2133,2477,2588,2652,2002,1730,1782,2011,2165,1913,1623,1870,1717,1030,1993,3086,2681,2245,1920,2177,1772,1382,1769,1961,2332,2729,2620,2261,2171,2127,2218,2031,2579,3089,2789,2667,2990,2910,2688,3167,3695,4000,3250,2581,1971,2451,3373,3671,3684,3299,3176,2413,1763,2031,1872,1811,1427,1472,1646,1558,1619,1644,1832,1731,1487,1412,1292,1469,1532,1533,1628,1695,1654,1753,1537,1482,1514,1845,2251,2141,1755,1396,1508,1416,1366,1325,1405,1635,1954,1785,1533,1556,1768,1836,1670,2042,2209,1954,1945,2040,1707,1659,1677,1587,1722,1794,1866,2199,2376,2409,2294,1955,1802,2056,1780,1748,1619,1561,1578,1515,1515,1443,1455,1488,1484,1528,1669,1599,1352,1376,2175,2381,2181,1830,2144,2655,2634,3122,2710,2425,2292,2554,2659,2345,2421,2379,2376,2159,1969,1946,1923,2119,1951,1986,1908,2090,2395,2963,2820,3110,3233,2633,2309,2149,1567,1190,2001,2561,2564,2807,2314,2776,2110,1457,1833,2542,2420,2251,2931,3842,3831,3359,3264,2780,2131,1955,2162,2063,1687,1859,1828,1620,2100,2295,2395,2735,2597,2132,2297,2652,2655,2454,2137,1979,2190,2406,2441,3006,3156,2756,2294,2265,2489,2752,3094,3187,3353,3495,3385,2684,1872,1880,2310,2221,1970,1434,1342,1433,1388,1423,1721,1729,1582,1663,1848,2047,2620,2626,2823,3222,2697,2212,1870,2257,3486,3764,3426,3208,3152,2756,2522,2249,2842,3087,3078,2117,2902,3862,3791,3108,2530,2335,2353,2949,3792,3880,3287,2657,2341,2812,2626,2011,1388,1441,1633,1187,970,1576,2575,2899,3143,3576,3209,2979,2966,2980,2504,2394,2746,2686,2776,2663,2741,2427,2008,1624,1749,1820,2281,2740,2613,2596,2590,2296,2365,2678,2755,3141,2857,2958,2930,3101,3543,3476,3142,2778,2368,2323,2278,1980,1869,3142,3948,3274,3339,2724,1559,1482,1950,2001,1830,2068,2527,2625,2828,2698,2378,2077,2078,2009,2200,2414,2049,2211,2791,2823,2592,2698,2820,3065,2728,2580,2868,2776,2928,3071,3046,2928,2558,2132,1718,1826,2290,2447,2218,1907,2411,2253,2082,2833,3444,2994,2454,2490,3011,3234,2894,2675,2144,2975,3747,3946,3754,3832,3205,2038,2022,2950,3628,3702,3680,3848,3333,2645,2285,2668,3850,4632,4712,4693,4402,3909,3465,3426,3558,3241,3172,3428,4292,4537,4187,4189,4440,3554,1973,896,533,420,354,372,394,351,304,293,293,291,283,279,277,280,275,279,299,289,299,298,298,295,290,285,284,286,292,295,298,295,298,295,297,305,311,317,317,323,328,326,351,336,352,343,360,385,409,506,538,556,603,611,848,1049,1004,1070,1282,1209,1030,688,619,501,484,574,686,707,650,639,641,794,1166,1582,1822,2120,2179,1957,1845,1702,1913,1911,1736,1673,1523,1294,1093,959,1071,1206,1323,1290,1109,948,860,797,761,765,813,881,888,887,1027,1149,1312,1568,2251,2465,2393,2480,3038,3761,4285,4295,4175,3772,3416,2932,2680,2251,1797,1758,1770,1956,2518,3182,3372,2916,2614,2419,2273,2811,3435,3984,4063,4244,4283,4399,4883,4224,2554,1561,1424,1336,1194,2047,3025,3240,2584,2460,2291,1760,1308,1064,1421,1866,1511,1772,2861,3153,2644,2516,3292,3555,2931,2795,2902,2975,3111,2987,3078,3474,3313,2666,2506,2406,2576,2613,2688,2087,1709,2849,4078,4078,3562,3979,3962,3199,2699,2933,3426,4079,4285,4352,4432,4068,3579,3519,2595,1202,710,591,583,554,534,522,494,492,476,451,436,366,371,378,458,542,508,637,746,768,786,827,844,844,806,711,730,744,811,836,807,664,687,652,541,539,547,542,492,586,687,666,660,647,605,656,604,606,645,594,588,562,543,564,537,533,548,543,522,501,487,488,499,503,500,465,410,375,357,326,322,303,304,341,394,570,691,582,540,561,533,514,504,504,526,547,571,582,546,491,496,498,555,647,629,583,559,571,591,555,533,522,533,567,592,598,607,605,604,595,616,612,582,578,600,616,619,648,684,683,661,599,614,542,530,506,480,468,447,429,419,414,413,403,395,381,371,427,420,419,423,411,403,436,446,444,500,568,660,610,642,691,806,906,875,833,718,684,630,555,568,580,593,691,735,749,748,764,767,695,637,634,672,657,596,590,543,525,519,509,501,489,464,434,409,389,377,358,351,364,369,355,340,332,326,307,296,294,296,291,292,292,277,273,260,271,271,278,329,298,288,388,404,481,524,430,438,464,373,381,390,478,495,483,467,434,382,363,384,391,371,357,358,346,326,294,307,324,334,336,315,288],[2770,2597,2525,2291,2318,1929,1904,2280,2110,2274,2438,2023,2436,2319,2128,1943,2140,2210,2597,3597,3696,2561,2270,3921,4652,4001,3127,2646,2096,2132,2108,2250,2214,2270,2050,2374,3161,3174,2780,2971,2871,2722,2518,2528,2995,3045,3028,3051,3207,3624,3604,3510,3152,2727,2723,3056,2810,2506,2648,2945,3256,3323,2862,2349,2128,2225,2414,1844,1992,2461,2548,2743,3210,3571,3460,3140,2602,2118,1887,2389,3165,2718,2258,2492,2624,2577,2797,2806,2575,2430,2159,1822,1688,1667,1725,1711,1746,1756,1947,2269,2530,3019,2584,1988,1872,2013,2249,2029,1980,2189,2054,1989,1912,2457,2930,2785,2454,2624,3357,3108,2226,2309,3068,3532,2468,2030,2170,1703,1839,1886,1742,1865,2200,2366,2707,2799,2607,2533,2388,2185,2025,2509,3188,3594,3407,2742,2427,2308,2501,2498,2142,2164,2426,2558,1734,1924,1907,1677,1597,1924,2258,2145,2052,2382,2553,2728,2220,2524,2356,2408,2094,1832,2010,2302,2195,1903,2144,2831,3168,2495,1976,1986,1970,2115,2424,2398,2278,1818,1568,1633,2108,2173,1843,2474,3054,2532,1980,1644,1987,2360,2375,2607,3097,3042,3318,3625,3021,2595,2252,1725,2260,2204,1889,1757,1922,2107,1953,1342,1156,1494,1924,1616,1363,1830,1975,2601,2794,2692,2362,1788,1780,1797,1484,2614,3834,3060,1923,1205,1124,1888,2244,2054,2003,1997,2204,2269,2126,2030,1892,1681,1582,1822,1819,1871,2370,2684,2285,2285,2153,1973,1637,1531,1954,2691,3060,2265,2347,2223,2191,2714,2282,1809,2008,2036,1977,2247,2908,3251,3046,3012,2424,2004,2156,1891,2310,2115,2310,2454,2392,2291,1952,2184,2370,2189,2258,2575,2476,2481,2339,2060,2213,2470,2247,2221,2109,1791,2169,3199,3250,3182,3648,3984,3990,3804,3539,3497,3436,3278,3028,2940,2830,2214,1984,1925,2276,3081,3001,2839,2887,2930,2900,3251,3838,3772,3653,3637,3649,3438,3189,3100,3253,2990,2940,2946,2808,2706,2314,2522,3352,3166,2547,2221,2328,2581,2305,2356,2715,2750,2988,3206,3000,2827,2362,1873,1814,2601,2796,2336,2292,2123,2100,2438,2622,2956,3372,3249,2734,2373,2227,1960,1853,1927,2096,2114,1978,2380,2635,2305,1554,1787,2430,2291,2081,1759,1860,2406,2500,2179,1960,2133,2409,2878,3029,2689,2451,1932,1918,2319,2191,1979,2204,1852,1786,1792,1555,1577,1623,1706,1566,1628,1968,1997,2067,2077,2225,2534,2341,2187,2258,2076,2442,3105,2408,1697,1760,1986,2120,1823,1677,1515,1474,1720,2115,1881,1923,2030,1874,2681,3022,2708,2556,2651,2786,3331,3363,2478,2446,2420,2126,2018,1974,2001,1923,2547,2264,2125,2393,1879,1521,1915,2191,2051,2084,2202,1905,1703,1957,2347,2382,2175,2119,2047,2222,2647,2394,1837,1949,2240,2382,2150,2535,2691,3266,2698,2333,2524,2342,2048,1941,1942,1621,1836,1825,1600,1557,1560,1733,1708,1938,2269,2225,2237,1854,2004,2679,3326,3260,2170,1297,1439,1716,1568,2029,2557,2709,3127,3674,3962,3901,3558,3311,3360,3465,3520,3267,3390,3543,3464,3443,3416,3320,3448,3580,3260,1980,1897,1225,1704,1874,1968,2411,3189,3325,2830,2459,2456,2542,2742,2809,3293,3340,2786,2098,1558,1500,1918,2103,2252,2199,1936,1562,1556,2416,2261,1658,1787,1736,1910,2352,2490,2281,1736,1636,1886,1616,1719,2432,2840,2720,2501,2763,2714,2410,2173,2792,3377,2999,3067,2742,2579,3060,3216,2886,2324,2533,3229,2955,1688,1141,1532,1732,2022,1872,2006,1948,1822,1402,1199,1049,879,1098,2958,3802,3488,3564,2603,1484,1507,1384,1405,1412,1359,1376,1305,1418,1538,1571,2019,2308,1950,1690,1576,1726,1752,2619,1850,1577,1589,1937,1942,1554,1385,1466,1555,1451,1550,1516,1663,2432,2858,2480,2027,1954,1932,1974,2576,2971,2818,2388,2155,2348,2387,2208,2692,3009,2689,2353,2147,2070,2157,2261,2214,2430,3040,3232,2638,2135,2145,2374,2671,3353,3549,3064,2397,2338,2707,2997,3081,2692,2124,1606,1813,1477,1512,1377,1404,1511,1705,1802,1556,1858,2093,1533,1391,1373,1601,1516,1354,1450,1595,1601,1549,1943,2172,1932,1747,1527,1759,1687,1679,1706,1665,1742,1658,1611,1781,1775,1592,1809,1867,1605,2367,2304,2607,3042,2440,2073,2173,2662,2918,2746,2811,2536,1803,1834,1958,2358,3107,2388,2133,2307,2104,2361,2603,2192,2137,2265,2700,3110,2357,2196,2580,2499,2385,2150,2155,2370,2398,2336,2279,2346,2510,2248,1918,1770,1946,1860,1543,1512,1572,1642,1714,1750,2019,2238,2106,1799,1831,1628,1561,1515,1461,1498,1454,1462,1428,1399,1455,1387,1435,1985,2412,1882,1591,1670,2061,2662,2793,2324,1728,1654,1766,1632,1596,1660,2132,2288,2198,1975,1899,2199,1893,1714,1819,1778,1614,1845,2263,2282,2766,3016,3530,3032,2501,2511,2885,2859,2745,2962,2929,2827,2742,2622,2530,1882,1776,1906,1894,2078,1985,1752,1654,1544,1856,1870,1686,1770,1555,1074,1738,2332,2250,2054,2310,2972,2447,1605,1745,1852,1992,1938,1937,2357,2996,2463,1765,2148,3024,3316,2720,2722,3711,3420,3150,3374,3194,2890,2633,2967,2469,2588,3257,3362,3075,3404,2867,1764,1990,2164,1585,1466,1469,1579,1814,1758,1621,1568,1549,1515,1483,1376,1622,1958,1880,1898,1699,1702,1829,1949,1758,1636,1694,1764,1968,1938,1549,1268,1277,1389,1458,1624,1857,2010,1991,1645,1595,1612,1643,1554,1581,1853,1690,1530,2161,2193,1755,1823,2131,1963,1713,1868,2046,2268,2375,2291,2098,1702,1719,1842,1695,1530,1877,2622,2720,1836,1604,1759,1956,1591,1582,1516,1604,1670,1500,1603,2099,2930,3144,2471,2583,2940,2630,2404,2374,2416,2254,2626,2994,2635,2323,2202,1871,1793,1737,1629,1858,2376,2158,2351,2181,2241,2635,3282,3261,2783,2546,2445,2304,2171,1731,1912,2942,2564,2470,2430,2296,2646,2595,2585,2478,2170,1896,1944,3210,4082,4131,4019,3713,3726,3616,2689,2200,2293,2446,2703,2062,1759,2658,2658,2600,2744,2360,2664,2998,2791,2778,2631,2288,2239,2797,2718,2451,3050,2908,2598,2231,2424,3032,3378,3226,3237,3522,3503,3413,3122,1942,1620,1895,1663,1714,1629,1565,1570,1515,1523,1869,1884,1470,1410,1682,1827,1959,2729,3018,2553,2027,1969,2020,2140,2350,3352,3784,3398,2732,2757,3078,2868,3573,2845,2353,2081,2322,2998,3400,3108,2585,2538,2437,3083,3677,3725,3329,2834,2354,2286,2427,2108,1546,1294,1398,1084,811,1439,2358,2544,2999,3638,3809,2990,2201,2143,2061,2623,3117,2999,2842,2546,2701,2292,2021,1699,1755,1987,2413,2741,2722,2732,2924,2894,2866,2922,2968,2962,3011,3024,2757,2595,2643,2533,2669,2710,2473,2329,2596,2199,2334,2676,3166,3211,2580,1693,1417,1748,1967,2044,2066,2205,2614,2700,2920,3034,2331,1857,2103,2466,2762,2347,1969,2665,3099,2820,2676,2513,2702,3321,2475,2599,2961,2922,3382,3348,2777,2363,2283,2120,1907,1802,2003,1851,1734,1943,2139,2147,2144,2313,2976,3223,2653,2429,2802,2796,2299,3018,2368,2635,3640,3808,3606,3864,3488,2642,2626,3276,3508,3746,3984,3752,2984,2495,2215,2446,3719,4551,4638,4963,5020,4276,3815,4188,3980,3542,3538,3439,3895,4348,4176,4188,4731,4501,2753,1116,585,483,399,372,396,376,332,310,304,293,285,282,271,280,279,277,287,289,298,297,304,296,291,286,282,281,281,288,290,292,289,295,292,302,313,322,321,321,311,347,445,324,334,345,356,383,398,476,540,607,673,694,892,1148,1034,977,1202,1287,1376,957,830,633,506,587,737,853,801,765,712,825,986,1394,1719,2032,2099,1947,1837,1772,1931,2004,1769,1671,1573,1292,1117,945,915,1060,1187,1230,1135,983,847,770,715,709,753,803,797,811,928,978,1048,1155,1238,1359,1484,1576,1779,2307,2818,2876,2523,1949,1701,1410,1659,2088,1974,1441,1281,1508,1848,2688,3447,3183,2487,2498,2227,2132,1777,2543,3420,3806,3838,4224,4651,3598,2518,1527,1253,1218,1081,1779,3008,2888,2566,2784,2345,1888,1295,1263,1601,2028,2014,2580,3610,3487,2988,2196,3013,3661,2866,2827,2897,3053,3283,3196,3181,3244,3042,2753,2531,2241,2200,2512,2603,2464,2411,3278,3709,3806,3653,3769,3354,3076,3190,3470,4080,4624,4472,4272,4164,3737,3553,3182,1684,863,654,579,573,544,514,509,492,479,461,445,436,371,383,394,508,642,590,595,752,825,802,866,892,826,863,814,786,787,860,872,812,676,659,645,517,543,532,553,498,621,735,677,631,629,584,593,592,574,626,597,589,583,585,551,518,521,546,528,494,490,473,480,491,495,474,476,469,404,352,306,317,304,283,324,374,503,659,603,554,535,518,494,481,495,506,536,554,586,596,524,540,553,607,672,659,595,555,580,613,578,529,513,521,551,579,586,580,586,569,611,659,637,583,583,631,655,639,642,653,700,717,619,576,568,537,498,476,450,427,415,409,409,413,405,385,380,360,409,427,425,415,404,384,416,472,441,517,580,730,675,684,766,841,973,958,825,751,690,662,579,546,594,590,694,717,718,714,712,713,674,616,600,641,656,588,570,535,515,499,496,488,471,451,420,395,383,373,353,344,344,352,340,331,319,311,298,288,288,288,284,284,283,280,284,265,298,300,276,339,342,283,327,402,420,449,417,418,457,388,390,370,422,476,489,478,443,386,351,360,369,360,354,394,360,326,294,294,314,320,318,311,294],[2700,2447,2504,2581,2412,1937,1835,2019,1659,2238,2189,1598,1738,1990,1859,1984,2138,2210,2279,2805,3152,2369,2322,3836,4135,4047,3094,2305,1536,1980,2470,2439,2270,2183,2432,2944,3454,3650,2835,2871,2974,2935,2449,2301,2931,3014,2828,2863,3272,3819,3763,3656,3613,3635,3973,4384,3484,2842,2988,3296,3550,3576,3123,2639,2360,1929,2511,2122,2359,2666,2920,3228,3202,3242,3599,3552,2801,2611,2468,2858,3782,3161,2728,3031,3204,3215,3208,3023,3170,3091,2409,1996,1817,1725,1839,1767,1645,1725,1784,1769,2389,2608,1986,1978,2265,2491,2290,1895,1971,2338,2074,2074,2232,2850,2873,2497,2548,2956,3689,3599,2943,2175,2524,2639,1771,2077,1871,1957,2498,2004,1627,1578,2245,2263,2301,2157,2473,2600,2957,2779,2741,3427,3507,3815,3444,2719,2809,2711,2736,2462,2181,2249,2249,2122,1830,2027,1734,1506,1743,2219,2600,2322,2036,2780,3071,2708,2611,2566,2033,2167,2303,2344,2225,2285,2180,2160,2237,2152,2487,2964,2768,2253,2025,1821,1973,2338,2486,2370,2124,2251,2181,1838,2034,2654,2542,2580,2017,1820,2072,2575,2354,2696,3140,2792,3592,3392,2747,2753,2020,1529,1756,1312,1011,1013,1437,1962,1918,1522,1043,1174,1826,1873,2158,2157,1937,2396,2452,2052,1630,1614,1903,2003,1610,2041,3005,2919,2360,2319,1537,2316,2961,2576,2428,2804,3395,3343,3137,2933,2351,1920,2046,1944,1947,1809,1746,2271,2267,1914,2118,2025,1276,1113,2027,2222,1812,1729,2333,2399,2451,2867,2580,1998,1990,1880,1632,2030,2656,2616,1898,1621,1908,2017,1946,2008,2293,1909,1973,2486,2369,1880,1930,2464,2468,2678,2753,2727,2296,2542,2780,2589,2584,2624,2286,2217,2227,2257,2901,3115,3029,2608,3133,3774,3820,3743,3429,3097,2976,2974,3012,2861,2928,2923,2184,2105,2143,2753,2774,2505,2655,2743,2966,3559,3765,3618,3727,3649,3659,3516,3358,3249,3239,3143,3240,3150,3020,2981,2473,2286,2293,2939,2866,2255,2153,2097,2194,2521,2208,2237,3197,3478,3095,2941,2161,1759,1484,1946,2337,1935,2060,2263,2212,2464,2676,2963,3231,2872,3124,2701,2168,1913,1889,2081,2276,2129,1947,1832,2211,2445,1644,1548,2242,2058,1911,2122,2653,2780,2897,2430,1758,1707,1829,2237,2754,2128,2357,2097,2224,2740,2639,2383,1909,1339,1577,1569,1576,1681,1725,1677,1392,1697,1828,2107,2343,2259,2337,2532,2371,2365,2522,2476,2626,2705,2421,1743,1663,2061,2049,1842,1573,1659,1896,1858,1928,2291,2238,2066,2170,2125,2039,2423,2415,2589,2879,3222,2929,2124,2279,2239,2040,1778,2234,2379,2274,2642,2679,2604,2464,1818,1599,1505,2308,2401,2119,2273,2301,2236,2765,2459,1991,2208,2209,2294,2580,2333,1889,2035,2222,2562,2457,2223,2018,2500,3328,3060,2680,2341,2097,2025,2016,2053,2320,2178,1973,1868,1735,1782,1955,1882,2218,2283,2315,2662,2112,1965,2869,3692,2980,1460,1051,1635,1744,1734,2260,2437,2219,2630,3430,3770,3619,3343,3409,3703,3771,3624,3507,3545,3406,3263,3338,3189,2639,3230,3459,2760,1920,1628,1360,1596,1909,1992,1926,2414,3099,3104,2698,2885,2767,2839,2799,2500,2564,2953,2691,2026,2098,2097,1895,1944,1940,1926,2173,2375,2624,1908,1654,1646,1609,1817,1962,2102,2238,2446,2331,2150,1688,1746,2388,2812,2347,2249,2814,2896,2540,2445,2819,3262,2947,2828,2346,2465,3044,3309,2843,2657,3143,3283,2373,1258,1318,1500,1526,1648,1859,1946,1956,2298,2298,2261,2140,1779,2342,3519,3768,3952,3751,2321,1584,1395,1399,1573,1655,1455,1359,1443,1563,1545,1638,2181,2719,2374,1856,1668,1967,1930,1931,1710,1938,2045,2195,2211,1686,1501,1548,1570,1512,1611,1558,1558,1695,2129,1792,1609,1525,1081,1261,1757,1946,2252,2206,2244,2231,2468,2707,3260,3479,3249,2878,2519,2398,2687,2944,2911,2856,2918,2994,2988,2503,1917,1719,1768,2385,2976,2959,2607,2480,2533,2513,2225,2104,1838,1730,1708,1624,1499,1276,1405,1592,1578,1497,1490,2239,2632,1648,1334,1368,1701,1692,1437,1521,1682,1670,1743,1875,1699,1655,1726,1802,2159,2349,1854,1774,1840,1657,1556,1623,1853,1905,1684,1985,1911,2384,3265,2548,2389,2808,2394,1864,1985,2484,2362,2061,2375,2175,1952,2061,1975,2136,2556,2165,2076,2370,2166,2054,2404,2292,2247,2567,3751,3118,2300,2372,2584,2247,2074,2041,2155,2425,2579,2484,2559,2734,3148,2980,2438,2647,2887,2600,2332,2152,2006,2091,2004,2202,2135,2049,1854,1724,1684,1591,1519,1483,1485,1454,1426,1403,1360,1458,1503,1605,1605,2296,1969,1505,1581,1487,1725,1959,1790,1929,1704,1677,1692,1545,1551,1852,1871,2282,2611,2557,2199,1778,1636,1547,1631,1654,1604,1928,2614,2353,2549,2018,2821,3230,3081,3055,2765,3050,3234,3414,3562,2939,2834,2707,2310,1849,1698,1570,1479,1731,1926,1923,1638,1603,1932,1845,1776,1636,1521,1428,1534,1680,1803,1913,2419,3167,2693,1627,1530,1641,1926,1901,2131,2732,3610,3082,2123,2370,3529,4079,3293,3041,3805,3052,2461,2422,2231,1817,1999,2455,2282,2051,2345,2471,2010,2719,2108,1549,1543,1528,1363,1411,1449,1371,1378,1533,1580,1528,1530,1774,1703,1410,1893,2126,2190,2011,2210,2619,2456,2429,1992,1629,1702,1702,1726,1609,1939,1335,1225,1764,1647,1651,1985,2079,2109,1848,1873,1784,1506,1584,1672,1945,1862,2127,2416,2448,2376,2008,1764,1594,1561,1667,1860,2017,2011,1797,1699,1675,1759,2217,2050,1366,1717,2810,3289,1844,1691,1848,2008,1733,1676,1686,1872,1920,1628,1548,2336,3251,3144,2710,2458,2391,2478,2403,2855,2744,2424,2381,2489,2332,2135,2106,2254,2373,2072,1913,1697,1641,1666,2247,2444,2535,2686,2925,3321,3005,2880,2406,2159,2300,2042,2070,2458,2532,3194,2684,2112,2481,2513,2584,2576,2656,2723,2807,3762,3930,3892,3802,3413,3464,3561,2771,2155,1953,2168,2353,2035,1915,2330,2254,2112,1910,1848,2177,2431,2459,2801,2512,1934,2135,2662,2844,2656,2813,2693,2947,2845,2627,2875,3146,2951,2644,3236,2844,2577,3103,2292,1655,1499,1616,1700,1629,1525,1507,1538,1683,1822,1816,1514,1447,1654,1843,1747,2270,3055,2564,1621,1697,2202,2654,2262,3275,3495,2913,2340,2653,3210,3040,3005,2593,2248,2191,2209,2169,2320,2474,2455,2583,2585,3177,3538,3354,3207,3273,2867,2362,2577,2256,2008,1760,1946,1841,1444,1987,2200,2315,3138,3418,3633,3542,2364,1951,2199,3010,3076,3029,2850,2836,2890,2446,2150,1933,1643,1713,1940,2447,2602,2923,3197,3233,2845,2843,2810,2621,2711,3038,3071,2741,2595,2345,2335,2663,2552,2164,2366,2663,2596,2266,2780,2599,1544,1388,1751,1769,1998,1857,2022,2104,2294,2562,2719,2697,2412,2257,2256,2356,2610,2245,2176,2680,2945,2679,2463,2386,2679,2801,2522,2480,1954,2106,3270,3605,2644,2246,2256,2105,2094,2011,1978,1593,1702,2148,1944,1834,2333,2280,2552,2944,2736,2486,2525,2507,2306,2780,2636,2604,3284,3510,3330,3462,3261,3028,2944,3319,3164,3163,3189,2999,2534,2108,2125,2828,3676,3878,4352,4749,5061,4901,4794,4900,4304,3746,3694,3545,3694,4127,4006,4140,4731,4667,3116,1279,605,536,463,394,391,386,338,315,297,290,288,291,267,286,281,284,274,285,298,295,300,291,285,282,282,279,287,281,277,282,283,285,288,299,325,347,336,318,307,294,314,294,308,338,342,357,388,439,508,623,722,756,843,1001,931,935,1063,1320,1555,1246,1078,918,596,615,748,998,1010,999,865,863,914,1243,1595,1895,2009,1946,1873,1831,1805,1939,1809,1638,1589,1385,1109,955,831,918,1126,1174,1109,1018,844,749,682,658,680,720,740,729,799,885,948,1023,1078,1109,1152,1198,1412,1584,1470,1277,1137,1128,1119,1033,1131,1556,1785,1457,1298,1450,1471,2220,3016,3362,2642,2325,2184,1962,1624,1819,2759,3649,3574,3767,4183,3355,2171,1428,1174,1057,1095,2319,3329,2729,2219,2127,1761,2091,2136,2157,1745,1739,2322,2603,2853,3162,3069,2702,3218,3617,3274,2936,2895,3089,3148,3249,3273,3144,3261,3317,2952,2488,2499,2614,2994,3466,3165,3395,3542,3532,3509,3501,3201,3333,3653,3595,3577,4319,4452,4202,4022,3673,3496,2500,1252,777,605,559,542,531,513,499,487,470,447,431,407,375,397,436,548,655,621,582,727,870,830,876,937,867,924,935,903,846,889,937,825,678,642,677,537,556,561,566,507,631,756,684,616,606,593,598,608,573,602,600,606,603,585,554,522,497,541,553,486,495,484,492,500,500,441,472,480,388,333,306,299,307,303,316,355,463,608,594,558,527,498,481,484,505,526,561,593,648,727,672,623,651,660,612,613,592,558,559,567,560,543,519,509,530,560,561,584,592,596,619,621,601,595,609,644,659,659,625,634,756,1025,800,582,575,515,477,477,433,415,404,398,407,414,401,388,377,366,383,415,432,415,402,400,427,458,450,501,509,697,762,777,927,1042,1134,1095,848,779,687,631,603,578,624,630,692,706,694,688,683,673,651,621,605,586,622,592,558,525,488,472,475,473,458,441,406,371,367,369,350,334,333,337,333,319,310,305,298,290,281,281,280,279,282,284,305,271,291,324,304,343,426,364,279,381,388,402,430,376,387,360,375,361,368,422,446,459,458,405,356,343,341,343,345,381,356,320,305,293,303,310,304,305,298],[2254,2064,2194,2502,2524,2160,1876,1865,1732,2339,2038,1504,1804,1918,1823,2260,2519,2364,2136,2366,2383,2052,2138,2843,2977,2472,2085,1566,1041,1802,2814,2590,2288,2230,2372,2452,2909,3239,3252,2846,2404,2554,1906,1640,2749,3220,2653,2886,3971,3890,4132,3697,3392,3672,4384,4733,3786,2610,2552,3288,3232,3042,2657,2667,2131,2016,2677,2574,3034,3353,3606,3443,2697,2828,3209,3549,2518,2767,2652,3105,3492,3089,2990,3422,3573,3383,3320,3203,3611,3222,2106,1911,1928,1829,1867,1724,1331,1591,1830,1670,1877,1882,1978,1770,2323,2543,2322,2001,1885,1967,2084,2373,2368,2346,2423,2484,2658,3167,3942,3954,3598,2592,2123,1688,1896,2164,1832,3128,3807,2163,1674,1972,2603,2821,2625,2381,2307,2464,2951,3270,3594,3312,3328,3895,3496,2764,2757,2545,2688,2452,2242,2216,2286,2082,1773,1564,1453,1613,1727,1931,2089,2013,2453,2820,2797,2393,2381,1960,1956,2251,2700,2955,2651,2911,2686,2631,2324,2429,3140,3561,2777,2347,2619,2374,2187,2386,2458,2676,2542,2787,2264,1949,2185,2592,2459,2478,2292,2157,2391,2611,2835,3249,2833,2599,3410,2834,2701,2556,1848,1917,2241,1571,878,1078,1800,1809,2082,2197,1838,1693,1686,1810,1722,1800,2152,2141,1844,1610,1856,2227,2312,2568,2364,2419,2720,3040,3007,2685,1930,2774,3588,3163,2470,2451,3265,3719,3938,2967,2137,1771,1870,1762,1795,1709,1326,1101,1259,1960,2025,1825,1377,1077,1869,1850,1487,1455,1788,2059,2268,2591,2296,1697,1803,1829,1629,1754,2139,2320,1889,1729,1983,2121,1988,1972,2183,1837,1825,2077,2175,1892,2200,2472,1764,2164,2647,2328,1969,1963,2102,2296,2402,2584,2263,2116,2303,2658,2940,2911,2874,2497,2787,3016,3297,3460,3029,2540,1952,2367,2766,2744,2822,3097,2754,2577,2553,3076,3188,2835,2894,2922,3120,3803,3558,3440,3858,3978,3874,3771,3526,3414,3507,3516,3501,3228,3333,3126,2865,2916,2576,2768,3287,2860,2117,2050,2590,2469,2173,2243,3040,2998,2310,2192,1671,1510,1504,1573,1884,2173,2244,2403,2743,2856,2151,2198,2808,2254,2475,2925,2567,2037,2042,2142,2316,1992,1352,864,1499,2289,2216,2176,2268,2203,2222,2417,2259,2109,2348,1946,1802,1510,1742,1514,1977,2285,2793,2796,2512,2769,2877,2290,1426,1525,2055,1833,1742,1788,2017,1873,1810,1993,2208,2464,2396,2122,2068,2217,2135,2233,2164,1896,1931,2724,3138,2185,1682,2019,1926,1766,1918,2216,2000,2048,1831,2334,2443,2679,2592,1784,2136,2623,2199,2284,2764,3251,3006,2343,2270,2305,1747,1367,2161,2570,2076,2457,3110,2652,2316,1742,1394,1551,2148,2243,2315,2388,2219,2363,2900,2443,2246,2608,2255,2454,2476,1950,1934,2186,2452,2136,2058,2543,2193,1875,2378,2546,2645,2602,2100,1721,1836,2302,2393,1927,1628,1757,1933,2129,2162,2104,2235,2108,2077,2352,2181,1994,3140,3830,3044,2104,1923,1784,1635,1862,2659,2491,2343,2791,3388,3579,3597,3560,3474,3393,3312,3536,3715,3606,3442,3188,3267,3375,3338,3210,3399,2474,2043,1635,1478,1682,1656,1568,1347,1608,1971,2274,2631,3273,3260,3122,2995,2452,2323,2973,3111,2930,2896,2835,2602,2096,1592,1543,1931,2376,2057,1602,1692,1806,1938,1789,1745,1813,2088,2394,2396,1968,1628,1692,2238,2577,2891,2833,2989,3426,3022,2962,3184,3130,2072,2164,2375,2305,2940,2965,2742,2603,2752,2864,2106,1098,1515,1300,1624,1170,1830,1507,1366,1596,1313,1480,1782,2098,3309,3828,3725,3736,3205,2104,1611,1581,1732,1683,1554,1532,1501,1471,1564,1581,1620,2194,2758,2346,1722,1538,1897,1736,1503,1493,1882,2195,2060,2078,1699,1854,1794,1592,1459,1486,1371,1176,1498,1659,1403,1408,1271,1111,1620,1743,1534,1791,1938,2045,1970,2876,3286,3297,3436,3219,3027,3026,3034,3253,3564,3516,3255,2957,2797,2987,2770,2106,1781,1676,1630,1730,2258,2564,2234,2294,2265,2175,1957,1706,1766,1704,1656,1553,1461,1517,1732,1594,1631,1663,2000,2102,1678,1488,1491,1601,1546,1405,1526,1684,1588,1545,1624,1635,1607,1682,1692,2476,2566,1742,1676,1696,1501,1596,1897,2003,1894,1742,2077,2721,2917,2819,2010,1754,2046,2256,2396,2280,2280,2118,1898,2309,2212,1900,1973,2037,2041,2118,2028,2623,3340,2645,2366,2710,2899,2565,2420,2596,2284,2280,2324,2353,2028,2314,2626,2524,2452,2609,2380,2523,3118,3342,3300,3105,3226,3526,3520,3211,2864,2836,2626,2269,2333,2462,2352,2375,2020,1594,1656,1668,1626,1552,1454,1408,1389,1362,1395,1431,1645,1776,2327,2164,1649,1571,1542,1690,1660,1575,1657,1619,1799,1730,1334,2040,2554,2320,2331,2162,2504,2483,2156,1678,1522,1507,1843,1644,1390,1919,2030,2182,1902,2218,2862,2841,2739,2993,3377,3292,3436,3641,3052,2675,2555,2413,2532,2377,1924,1771,2049,2248,2149,1881,2262,2339,1952,1764,1650,1578,1632,1943,2074,2075,2232,2542,2777,2644,1510,1337,1798,2157,2400,2517,2688,3270,3195,2957,2395,3010,3972,3487,3238,3140,2319,1771,1857,1806,1549,1723,1942,1706,1615,1906,1958,1670,1710,1811,1632,1377,1398,1486,1538,1450,1396,1649,1822,1589,1444,2024,3204,2662,1787,2238,2797,2655,2123,2378,3045,2976,3357,2290,1882,1801,1629,1582,1665,1695,1191,1626,2155,1863,1613,1612,1709,2027,1923,2030,1856,1570,1513,1745,2008,2039,2272,2186,2076,2360,1974,1540,1829,2173,1888,1515,1663,1543,1411,1609,1674,1949,2446,2048,1596,1760,2268,2048,1741,1892,2073,1935,1698,1729,1729,1703,1674,1557,1676,2520,3133,2895,2622,2481,2285,2665,2890,2656,2611,2500,2364,2024,2194,2398,2270,2051,2421,2189,2199,1882,2055,2478,2581,2452,2156,2076,2170,2544,2436,2591,2075,2097,2162,2077,1731,1387,2170,2925,2148,2053,2588,2454,2208,2712,2900,2897,3161,3506,3618,3532,3243,3098,3328,3061,2409,2204,1914,2023,2069,1918,1923,1796,1694,1614,2104,2368,1806,1900,2142,2425,2039,1761,2116,2263,2622,2544,2165,2510,3087,2943,2474,2053,2126,2736,2540,2643,2236,2635,3545,2981,1960,1497,1675,1969,2050,1758,1570,1507,1732,1922,2285,2030,1750,1674,1599,1603,1864,2548,2502,1913,2087,2552,3573,3611,3453,2956,2438,2323,2484,2544,2405,2414,2208,2128,2129,2536,2653,2766,2222,2558,2834,2865,3422,3392,2908,2797,3208,3208,2390,2396,2232,2138,2489,2492,2244,2382,2535,2385,2983,3863,3772,3514,3917,2749,2038,2480,2919,2687,2460,2408,2524,2641,2401,2200,2043,1697,1561,1527,2004,2393,2801,3119,3182,2933,2942,2788,2552,2705,3098,3351,3238,3064,3012,2730,2543,2601,2502,2356,2611,2628,2411,2392,1886,1393,2053,2397,1990,2558,2467,2057,2024,1977,2213,2448,2225,2237,2541,2310,1960,2278,2462,2507,2201,2540,2636,2309,2523,3179,2801,2166,2067,1730,2436,3772,3729,2618,2399,2261,1958,1894,2260,2141,1685,2025,2348,1937,2051,2480,2229,2312,2712,2784,2556,2402,2490,2451,2322,2192,2494,2907,3127,3071,2919,2773,2885,2875,3264,3386,3300,3098,2586,2215,2111,2021,2670,3286,3521,4038,4436,4805,4941,4890,4992,4631,3963,3753,3533,3492,3772,3735,4169,4708,4872,3495,1465,660,589,505,442,394,387,343,312,292,296,287,281,261,268,275,286,275,275,299,299,302,294,288,284,280,276,278,275,275,280,285,283,279,291,346,376,361,328,306,293,311,303,308,325,334,336,366,409,465,576,712,788,793,949,1015,978,1039,1197,1449,1469,1393,1310,817,705,768,965,1123,1181,1074,940,915,1101,1466,1791,1919,1909,1824,1725,1668,1830,1904,1673,1467,1354,1183,985,805,819,983,1058,1073,1003,842,733,658,619,620,623,670,693,710,757,821,894,1000,1064,1109,1132,1185,1265,1220,1090,972,1052,1105,1046,973,1143,1556,1566,1312,1494,1495,1959,2521,3009,2723,2337,2155,1852,1591,1454,1932,2814,3149,3453,3817,3593,2388,1435,1057,1089,1655,2854,3559,3185,2163,2052,2432,2389,2605,2670,1909,1688,2275,2437,2510,2741,2909,3117,3300,3152,3231,2809,3009,3102,3111,3192,3210,3457,4133,4429,3906,3001,2797,3176,3409,3567,3342,3344,3447,3528,3386,3108,2917,2854,2902,2997,3154,3929,4152,4079,3840,3619,3032,1720,1001,710,592,553,528,527,520,497,468,448,428,431,408,385,394,478,634,669,624,600,707,917,958,1030,1006,914,910,923,863,796,843,921,845,684,628,710,594,568,580,584,520,586,709,648,614,596,598,620,629,603,609,608,585,565,571,559,523,503,526,586,533,515,511,518,505,506,431,442,469,392,339,313,301,297,311,322,353,441,562,575,555,531,495,490,514,526,560,665,694,659,681,642,604,629,615,574,568,559,548,541,530,527,534,513,489,503,545,548,583,618,609,599,595,604,630,671,676,653,661,617,648,704,953,854,611,556,512,458,476,438,423,408,397,407,415,405,388,373,373,388,411,421,403,394,418,444,448,449,475,469,623,834,922,1026,1238,1268,1166,961,792,711,653,630,646,636,613,647,650,621,662,680,658,630,610,613,573,600,600,562,523,463,434,447,452,440,422,393,360,355,368,347,327,325,331,330,332,325,315,305,293,280,282,283,283,291,297,313,289,285,334,346,341,415,412,318,370,405,409,475,440,386,369,366,355,357,359,372,426,462,410,354,337,319,322,342,346,318,297,293,295,301,300,299,298,292],[2927,2875,2706,2931,2843,2067,1983,1729,1857,2280,1968,1787,2400,2604,2453,2341,2193,2156,2052,2375,2165,2269,2442,2812,2900,2830,2502,1926,1382,1714,2533,2536,2291,2374,2304,2239,2485,2660,2598,2221,2117,2190,1828,1643,2765,3567,3276,3460,4232,3969,4059,3930,3497,3451,4177,4270,3497,2666,2762,3311,3152,2780,2814,3020,2599,2858,2798,2959,3660,3614,3518,3860,3011,2776,2815,3365,2767,2889,2380,2887,2952,2430,2513,2834,2934,3251,3566,3599,3611,3315,2187,1776,1986,1998,1911,1631,1578,2170,2150,1892,1717,1851,2686,2329,2440,2414,2362,2119,1647,1701,2169,2357,2283,2490,2681,2453,2768,3728,3968,3729,2544,2287,2398,2054,2299,2425,2689,2633,2690,1923,1577,1671,2316,2697,2580,2530,2304,2118,2249,2348,2502,2581,3495,3890,3674,3472,2912,2386,2543,2155,1776,1812,2118,2218,1950,1618,1636,1605,1554,1542,1680,1774,2590,2784,2403,2332,2131,1737,2285,3069,3287,2905,3020,2958,2842,2536,2226,2514,3013,2974,2160,2548,3694,3684,3255,2759,2496,2369,2089,2511,2602,2113,2171,2587,2485,2273,2485,2546,2547,2476,2495,2770,2539,2476,2636,2457,2496,2380,1814,2136,2510,1929,1328,1476,2353,2319,2540,2619,2379,1927,1559,1580,1473,1566,2009,2245,2298,2185,2330,2565,2625,2862,2906,2896,2724,2781,3470,2834,1721,2622,3152,3115,2541,2340,2510,3067,2829,2127,1858,1603,1564,1647,1576,1604,1854,1825,1951,2361,2047,1978,1727,1585,2129,1936,1422,1381,1909,2151,1914,2027,2274,1721,1697,2085,2030,1701,1836,2361,2390,2121,2199,2314,2024,1858,2461,1818,1691,1869,1639,1864,2163,2096,2319,2871,2936,2445,1958,1709,1445,2137,2253,2473,2787,2577,2621,2894,2669,2636,2371,1887,1970,1583,2160,2554,2792,2287,1974,2407,3250,3248,3231,3252,2798,2380,2711,2874,2879,2706,2541,2699,3210,3720,3741,3785,3762,3774,3820,3739,3661,3710,3891,3669,3618,3719,3481,3124,3321,3406,3210,3049,3189,3286,2799,2407,2963,2686,2520,2039,2431,2703,2331,1797,1753,1946,1924,1831,2290,2454,2195,2321,2834,2909,1978,1977,2543,2635,2211,2385,2475,2113,2078,2181,2186,1860,1526,1218,1386,2165,2578,2518,2226,2264,2463,2771,2467,2256,1888,1905,2214,1930,2324,2135,1671,2357,3409,3018,2107,2270,2164,1512,1327,2167,2158,2170,2098,1908,1552,1678,1818,1759,2007,2171,2352,2286,2155,2485,2107,1981,1840,1753,2274,2608,2641,2281,1850,1748,1851,2191,2426,2710,1850,1831,2056,2728,2931,2776,2247,1858,2774,3248,2154,1846,2676,2910,3176,3077,2699,2138,1434,1107,1343,2039,2482,2841,3360,2488,1892,1660,1664,2081,2314,2336,2365,2143,1844,2535,3444,3430,3239,2583,2325,2403,2017,1850,2076,2452,2126,1499,1672,2062,1838,1758,1773,2037,2662,2755,1967,1941,1862,1702,1725,1500,1485,1818,1875,1941,1809,1983,2388,2178,1829,2004,1921,1984,2876,3457,2582,2019,2212,1787,1920,2249,3123,2963,2800,2713,3032,3453,3682,3680,3343,2356,2066,3333,3950,3657,3476,3051,3124,3398,3594,3451,3195,2294,1936,1775,1726,1778,1642,1406,1301,1621,1606,1605,1887,2668,2977,3082,2980,2492,2470,3062,3276,3142,2950,3229,3406,2940,2185,1875,1745,1803,1647,1683,1914,1761,1599,1537,1639,1763,1610,1410,1741,2019,1942,2014,2084,2097,2465,2384,2572,3393,3486,3241,3244,2503,1549,2160,2547,2489,2366,2315,2286,2186,2271,2226,1655,1112,1617,1283,1348,1259,1875,1777,1780,1501,968,1292,1284,2215,3852,3781,3661,3437,2825,2055,1815,2240,2417,1899,1537,1528,1596,1546,1694,1744,1763,2312,2719,2141,1969,1938,1864,1586,1511,1549,1646,1804,1580,1606,1556,1981,1772,1560,1589,1618,1355,1158,1431,1733,1736,1373,1353,1065,1730,1698,1665,1764,1790,1781,2007,2784,2771,2337,2605,2678,2767,3008,3264,3334,3350,3156,3152,2932,2730,2978,2800,2222,2031,1851,1642,1580,1894,2220,2170,2176,2088,1883,1660,1736,1736,1606,1622,1526,1461,1580,1902,1571,1834,1898,1784,1591,1537,1545,1543,1520,1574,1446,1497,1545,1418,1556,1695,1659,1665,1667,1678,1948,1995,2015,1865,1497,1630,1808,1986,1725,1593,1614,2088,2474,2270,1898,1786,1823,1648,1928,2169,2136,2077,1963,1616,1843,2229,2194,2220,2277,2396,2248,2579,3065,3451,3159,3298,2643,2808,2450,2116,2060,2511,2542,2287,2170,1958,2351,2699,2403,2275,2649,2353,2805,3483,3339,3418,3387,3143,3103,3356,3762,3572,3069,2650,2551,2112,1907,2163,2401,2037,1676,1666,1753,1804,1646,1486,1427,1443,1349,1431,1594,1599,1632,2066,2361,1826,1718,2054,1661,1498,1411,1373,1844,1965,1710,1617,2397,3217,3924,3423,1985,1993,1741,1661,1601,1662,1718,2138,1919,1481,1436,1526,1628,1543,1584,2170,2597,3152,3120,3056,3040,2937,2606,2522,2599,2458,2459,2842,2610,2077,1796,2016,2283,1876,1631,1810,1766,1747,1795,1621,1599,1961,2305,2375,2414,2552,2728,2623,2138,1415,1281,1765,2111,1904,1605,1934,2409,2545,2822,1991,1735,3002,3027,3120,3062,2225,1699,1839,1728,1444,1649,1563,1546,1568,2035,2149,1851,1589,1748,1609,1399,1469,1477,1519,1379,1277,1389,1399,1383,1375,1756,2483,2282,1764,2242,2462,1917,1914,2613,3545,3008,3383,2298,2207,1736,1522,1770,1966,1475,1222,2016,2025,1613,1579,1507,1743,1941,1805,2494,2182,1561,1542,1707,1925,1575,1736,1800,1532,1543,1491,1702,1816,1969,1481,1343,1652,1496,1541,1599,1612,2039,2333,2153,1785,1804,1741,1815,1855,1831,2234,1926,1315,1629,1763,1635,1857,1912,1760,2174,2668,2198,2210,2586,2640,3105,2917,2304,2268,2110,1935,1923,2608,2845,2438,2057,2323,2562,2461,2015,2697,3022,2596,3082,2851,2302,2544,2763,2708,2689,2387,2388,2522,2316,1820,1368,1566,1897,1943,2115,2330,2392,2641,3148,2980,2829,3040,3139,3428,3383,2966,2879,2806,2118,2207,2275,2148,2131,2298,2194,1852,1664,1655,1996,2404,2287,1939,2038,2433,2603,2283,2295,2261,2570,2790,2163,2105,2551,3015,2929,2354,2148,2117,2291,2583,2499,1849,2272,3147,3307,2774,1714,1570,2374,2824,2154,1666,1720,1843,1975,2381,2233,1802,1578,1565,1692,1845,1913,2115,2370,2241,2296,2862,2972,2864,2513,2569,2709,2420,2022,1835,1793,1608,1653,1897,2349,2578,2631,2710,3187,2912,2632,2731,2413,2270,2268,2731,3216,2566,2275,2449,2248,2331,2662,3151,3326,3320,3694,4078,4073,3701,3406,3632,2380,2330,2798,2675,2514,2321,2154,2364,2269,2127,2180,1968,1720,1675,1729,2082,2343,2632,2927,3041,3120,3078,3045,3028,2807,3124,3385,3351,3664,3470,2843,2655,2536,2473,2379,2120,2132,2092,1531,1291,1654,1863,2372,2381,2815,3198,2610,2089,1923,2121,2145,2068,1817,2303,2439,2364,2441,2962,2776,2631,2801,2718,2757,3001,3568,3119,2740,2612,2192,2750,3343,3294,2854,2841,2864,2161,1712,2031,1867,1734,2259,2584,2279,2416,2542,2468,2437,2513,2702,2625,2520,2432,2352,2375,2479,2846,2967,2993,2896,2832,2986,3066,3164,3426,3444,3519,3425,2971,2555,2548,2003,2219,2996,3305,3632,4188,4643,4906,4994,4989,4688,3746,3285,3173,3193,3696,4145,4664,4843,5005,4008,2003,774,689,533,468,420,399,350,323,316,315,300,277,262,264,266,274,279,276,288,304,295,296,293,286,277,279,279,277,277,279,288,289,281,286,342,408,394,344,314,299,284,289,297,314,320,331,350,377,428,516,672,815,872,923,1065,1074,1046,1170,1266,1441,1533,1533,1140,879,895,938,1120,1212,1165,1047,952,1050,1321,1671,1881,1845,1749,1544,1489,1681,1762,1700,1450,1197,1207,1040,832,766,829,972,1010,971,836,713,641,595,576,573,601,631,648,637,712,746,873,949,1079,1355,1277,1022,1028,1073,1078,1072,1093,1073,1015,989,1334,1546,1329,1388,1761,1994,2164,2601,2680,2315,2135,1797,1530,1318,1433,2080,2637,3191,3571,4109,3774,2293,1277,1006,1394,2707,3497,3492,2958,2401,2334,2171,1980,1909,1861,1730,2054,2989,3030,2999,3375,3335,3259,2919,2493,2519,2974,3131,3153,3265,3287,3758,4380,4631,4620,4015,3310,3354,3245,3458,3310,2977,3184,3414,3376,3038,2560,2415,2740,2616,3448,4002,4208,3894,3300,3364,2496,1213,910,669,597,549,538,533,519,498,476,440,418,437,432,408,404,479,667,656,612,642,736,891,993,1011,1027,1027,964,889,882,768,780,848,845,704,628,718,632,546,582,597,541,527,665,614,601,624,631,652,658,643,627,594,557,548,566,546,506,531,532,597,580,529,513,515,497,501,442,417,460,383,348,321,310,306,310,326,357,430,513,549,553,537,501,526,576,607,697,819,751,643,598,586,562,523,504,510,520,513,523,518,511,519,526,503,476,484,528,537,568,624,595,577,575,592,643,694,692,656,654,633,661,654,621,627,601,538,530,480,469,456,440,424,402,399,415,407,380,362,373,397,409,408,399,392,404,415,418,445,459,461,567,796,1040,1102,1288,1234,1134,1023,879,760,669,622,600,605,648,624,632,626,646,649,630,601,602,588,572,601,597,565,518,450,422,421,413,410,413,382,349,345,356,358,341,326,340,335,341,332,323,309,296,282,287,292,295,301,309,322,319,300,343,386,352,392,477,431,377,373,396,474,464,392,410,392,343,363,351,362,379,367,351,336,312,289,294,324,332,307,306,302,297,297,292,292,291,288],[3042,2162,2156,2931,2833,2213,2221,2080,2117,2235,1808,1762,2802,3323,3082,2070,1975,1876,1976,2196,2383,2310,2656,2847,2569,2619,2830,2839,2363,1996,2121,2129,2204,2644,2540,2376,2492,2814,2821,2633,2502,2564,2282,1979,2759,3221,3736,4082,4244,3605,3110,3574,3974,4058,3858,3132,2741,2619,2857,3128,2939,2862,2958,2700,2865,2846,2768,2990,3638,3774,3726,3974,3097,2201,2445,3050,3278,2995,2470,2700,2740,2415,2636,2428,2620,2833,3057,2901,2797,2937,2376,1873,1914,2080,2050,1735,1796,2302,2171,1941,1704,2207,2489,2233,2126,2032,2268,2293,2072,2259,2372,2348,2392,2303,2135,1999,2421,3141,3606,3509,2730,2828,3064,2645,2467,2591,2819,1858,1631,1665,1996,1866,2128,2118,2028,2219,1993,2281,2622,2317,2139,2400,2966,3197,3305,3454,2796,2488,2574,2263,2029,1944,2006,2214,2070,1754,1583,1636,1719,1611,1536,1634,2058,2255,1970,2376,2520,2364,2834,3037,2841,2355,2246,1394,1791,2149,2326,2412,2864,2886,2394,2722,3440,3651,3738,3432,3134,2423,2067,2210,2274,2029,2252,2871,2875,2384,2460,2340,2365,2768,3132,2890,2666,2325,2512,2975,3038,2668,2258,2320,2220,1941,1748,1750,2036,2331,2430,2403,2122,1691,1681,1766,1494,1558,2294,2399,2300,1700,1656,2163,2898,3461,3271,3109,2624,2492,3395,2950,1863,2622,3153,3360,2704,2636,2452,2637,2386,1908,1664,1419,1598,1678,1511,1504,1941,2279,2555,2426,2227,2200,2635,2782,2918,2932,2096,1985,2824,2714,2286,1992,2012,1887,2054,2319,1887,1431,1776,2344,2249,2130,2403,2570,2122,2081,2136,1930,1531,1756,1881,2208,2176,2205,2836,3382,3347,2484,1927,2153,1918,3094,2824,2751,2878,2772,2973,3017,2807,2525,2104,1986,2192,2232,2536,2094,2259,2646,3104,3326,3242,2648,2508,2793,2554,2225,2764,2648,2569,2337,2343,2819,3298,3320,3501,3640,3527,3374,3606,3945,3993,4112,4143,3751,3637,3827,3436,3116,3137,3161,3120,2958,2978,2872,2863,2853,3017,2967,2395,2163,2026,2085,2010,1635,1720,2036,2576,2300,2576,2137,1815,2062,2912,2896,2256,1937,2046,2239,2156,2144,2031,1971,2082,2300,2363,2288,2243,1776,1375,1606,2413,2749,2230,2287,2646,3154,3044,2164,1793,2232,2543,2057,2264,2452,1785,1705,2072,1986,1590,2268,1896,1425,1919,2022,1911,2032,1954,1573,1496,1795,1686,1684,1896,1979,2076,2148,2135,2210,2418,2457,2213,1968,1986,1934,1943,1880,1642,1533,2400,2277,2202,2451,2058,2060,2282,3145,3738,2989,2493,2469,2706,2417,1794,1549,2430,2723,2895,2930,2348,1457,1092,1136,1198,1476,1874,2586,2980,2348,1708,1454,1939,2370,2708,2523,2481,2438,2078,2510,3023,3167,3250,2564,2475,2008,1852,2095,2222,2230,1838,1607,1693,1728,1686,1870,1658,1755,2124,1995,1655,1872,1730,1376,1324,1366,1722,2120,2266,2046,1758,1890,2419,2127,1999,2084,2128,2431,3278,3699,2774,2507,2703,2252,2353,2252,3008,3354,3210,3376,3664,3565,3586,3658,3294,2560,2701,3652,4111,3746,3471,3029,2952,3240,3504,3540,2890,1843,1812,1668,2006,1745,1548,1288,1422,1572,1622,1621,1604,1845,2050,2217,2552,2185,2092,2433,2868,3099,2790,2917,2806,2751,2974,2777,2226,1871,2072,1735,1854,1670,1506,1644,1682,1768,1638,1294,1663,2051,1897,1891,2050,2025,2264,2530,2211,2918,3605,3574,3199,2081,2000,2640,2575,2554,2621,2534,2270,2262,2432,2433,1343,1394,1433,1249,1176,1550,2100,1603,1638,1255,1056,1402,1448,3141,3963,3978,3942,3714,2631,1832,1858,2148,2636,2129,1554,1613,1974,2029,2154,2454,2142,2176,2277,1886,1972,2121,2043,1770,1546,1576,1648,1455,1470,1537,1686,1736,1682,1557,1496,1596,1547,1329,1313,1599,1883,1375,1257,1542,1828,1538,1708,1669,1779,2179,2424,2647,2220,1729,2220,2787,3076,3165,3140,3085,3218,3344,3325,3050,2629,2577,2732,2763,2831,2533,1778,1600,1909,2064,2236,2255,2194,2024,1764,1584,1627,1762,1867,1814,1520,1500,1600,1376,1560,1716,1528,1408,1381,1372,1740,1681,1569,1487,1528,1626,1766,1806,1616,1527,1636,1736,1633,1353,1532,1857,1503,1423,1713,1747,1700,1492,1553,1644,2142,2524,2288,1891,2099,1608,1661,1865,2208,2454,2344,1786,1510,1982,2496,2834,2758,2438,2842,3549,4038,3176,2645,2917,2766,2543,2601,2219,2165,2431,2624,2918,3514,2877,2251,2733,2642,2481,2858,2953,2548,3071,3581,3461,3130,2270,1904,2038,2636,3584,3848,3173,3033,3044,2187,1787,1820,1745,1748,1833,1816,1722,1746,1600,1514,1496,1529,1431,1410,1533,1633,1517,1678,2203,2114,1708,2166,1571,1444,1532,1575,1834,1888,1943,2178,2272,2566,3541,3078,1822,1547,1590,1761,1704,1797,1741,1768,1728,1632,1638,1921,1887,1643,1518,1586,2141,3265,3052,2590,2751,2722,2452,2308,2474,2692,3063,2683,2432,1980,1616,1686,1806,1618,1762,1857,1476,1709,1779,1772,1662,1865,2298,2706,2507,2485,3124,2900,1771,1782,2015,1706,2005,2038,2285,2684,2385,2359,2116,1782,1617,2237,2814,3316,3249,2291,1814,1946,2065,1856,1721,1588,1629,1532,1786,2280,2428,2099,1795,1586,1376,1407,1336,1285,1347,1496,1494,1476,1427,1460,1451,1377,1293,1478,2041,2096,2001,2246,2851,3222,2997,2940,2336,2128,1778,1980,2214,1896,1476,1549,2390,2018,1401,1372,1483,1706,1920,1730,1929,1760,1561,1613,1823,2360,2018,2211,1823,1496,1616,1778,2057,1638,1330,1467,1899,2268,1789,1558,1606,1890,2482,2420,2094,1753,1615,1494,1772,1642,1433,1601,1324,1486,1809,1998,1885,1856,1808,1904,2148,2556,2676,2534,2259,2414,2672,2941,2467,2128,1948,1667,1864,2300,2488,2330,2297,2437,2781,2390,1686,1735,1743,2178,3123,3396,3119,3228,3144,2764,2543,2598,2763,2626,1993,1831,1694,1606,1850,1937,2280,2359,2244,2962,3470,2971,2835,2983,3227,3063,2967,2864,2899,2478,1809,2176,2344,2081,1848,2307,2187,1728,1788,1854,1981,2314,2032,1970,1929,2057,2465,1935,2017,2372,2898,3188,2464,2246,2485,2997,2977,2636,2577,2311,2074,2522,2770,2230,1823,2374,3242,3577,2379,2065,2701,2784,2500,1976,1555,1675,1960,2088,2074,1746,1519,1724,1984,1980,1921,1920,2245,2292,2131,2199,2275,2580,2567,2393,2669,2851,2423,1770,1663,1742,1744,1650,1754,1758,2087,3072,3312,2566,2240,2083,1991,2281,2466,2350,2941,2824,2395,2388,2424,2802,3573,3723,3612,3896,4025,4159,4200,3679,3240,2719,2276,3016,2878,2188,2332,2188,2072,2280,2082,2036,2137,2192,1997,1816,1981,2501,2626,2617,2817,3112,3188,3022,3186,3188,2894,2944,3162,3188,3263,3044,2975,3106,3189,3298,2740,2102,1669,1761,1422,1662,1800,1483,1945,2332,2797,3287,3190,2931,2172,1893,2235,2972,2200,1820,2259,2615,2567,2690,2860,2939,2388,2344,3055,2565,2684,2320,2607,2924,2701,2596,2700,3448,3566,3086,3441,2811,1801,1884,2003,1836,2022,2886,2632,2244,2282,2395,2269,2362,2472,2298,2221,2265,2106,1947,2186,2584,2803,2890,2981,2986,3040,3116,3131,3142,3344,3492,3365,3494,2923,2850,2373,2218,2718,3019,3395,4053,4676,4879,4894,4716,4309,3896,3377,2952,2999,3605,4235,4708,4839,4896,4589,3172,1391,849,637,531,478,418,371,354,340,327,304,281,271,267,263,267,270,274,280,306,297,298,292,288,275,270,272,277,277,277,279,283,281,285,315,411,435,370,329,307,288,289,294,301,303,322,353,361,394,474,634,805,912,981,1116,1161,1055,1081,1134,1299,1462,1589,1484,1180,1123,1116,1135,1252,1262,1137,1019,1040,1216,1553,1825,1835,1732,1482,1352,1578,1657,1613,1553,1180,1176,1032,906,763,771,849,926,951,843,708,646,579,550,552,562,580,637,607,631,647,735,845,1042,1100,890,790,831,902,1062,1059,1076,910,973,983,1100,1396,1374,1304,1617,1935,2073,2276,2599,2305,1986,1827,1537,1289,1194,1634,2187,2720,3182,3792,4033,3372,1859,1046,1951,3073,3403,3436,2933,1846,1999,2439,2188,2241,2466,2024,2414,2984,2622,3071,3488,3359,3338,2762,2220,2740,3190,3176,3244,3220,3053,3400,4051,4315,4619,4844,4029,3305,3369,3378,2822,2666,3074,2820,2861,3244,2954,2822,3199,3133,3588,4124,4400,4004,3392,2596,1589,965,833,627,566,546,546,589,552,490,492,447,413,450,470,408,391,479,622,640,661,737,786,827,903,966,1003,1051,1038,914,894,738,751,821,821,749,666,704,682,582,608,586,536,494,633,615,578,637,650,646,644,633,623,583,573,560,549,537,491,532,534,587,578,524,496,495,483,478,450,404,452,403,361,331,320,312,311,319,321,369,463,515,539,553,499,536,646,727,741,711,644,597,528,491,504,474,458,464,472,474,489,495,507,518,531,512,478,473,511,535,568,649,619,573,584,619,635,674,678,660,660,650,670,676,597,592,542,526,526,505,475,454,451,447,411,401,412,411,384,371,379,395,398,387,408,403,388,386,390,426,440,460,591,699,1088,1198,1272,1188,1085,1032,892,797,739,619,601,607,680,612,615,611,612,599,583,571,599,592,579,615,615,569,513,435,429,404,381,383,393,375,341,336,336,351,367,332,338,338,327,346,337,314,300,289,290,294,299,318,325,319,352,345,354,421,404,397,462,504,421,333,360,453,470,409,419,409,359,373,387,407,416,419,405,357,319,303,296,308,315,314,317,297,295,297,293,284,284,286],[2714,1320,1681,2771,2775,2227,2026,2364,2644,2225,1605,1536,2419,2786,2617,2049,1998,1858,1982,2257,2348,2565,3069,2979,2729,2543,2435,2930,3183,2754,2306,2012,2401,3354,3759,3107,2662,2997,3188,2783,2398,2491,2401,2586,3383,2996,3227,3958,4283,4068,3311,3250,3517,3827,3367,2745,3043,2906,2911,3173,2819,2585,2448,2510,2701,2795,3086,2968,3607,3596,3813,3842,3143,2481,2220,2713,3790,3870,3086,2352,2318,2403,2574,2244,2297,2320,2245,2204,2480,2699,2765,2534,2277,2306,2519,2173,1823,1889,1923,2147,2467,2688,2723,2644,2172,2109,2383,2342,2203,2657,2587,2494,2423,2314,2035,2161,2887,3541,3703,3587,3021,2169,2497,2301,2061,2646,2835,2710,2382,1970,2319,2696,2559,2030,2244,2802,2720,2890,2964,2671,2309,2084,2049,2264,2432,2639,2545,2385,2425,2653,2429,1968,1899,2012,1943,1936,1737,1693,1946,1845,1719,1549,1774,2258,2222,2637,2459,2190,2608,2663,2272,2201,2348,2018,1869,2093,2337,2831,3394,2986,2600,2394,3052,3329,3229,3349,2907,2495,2280,2088,2025,2029,2522,3183,3125,2262,2030,2103,2441,3054,3464,3116,2863,2533,2750,3022,2757,2648,2384,2721,2953,2327,1870,1516,1343,1661,2131,2152,1831,1980,2290,2276,2169,2084,1935,2147,1691,1067,986,1670,3023,3676,3637,3510,2832,2704,3152,2581,1829,2521,3289,3203,2639,2400,1997,1872,2001,2140,2108,2244,2238,1734,1563,1604,1649,2315,2812,2677,2726,2954,3010,2983,3117,3179,2778,2862,2809,2453,1995,1874,1765,1899,2127,2031,1763,1741,2103,2007,1975,1887,2013,2260,2020,1966,2158,2077,1823,2145,2100,1916,1866,2284,3301,3775,3272,2370,1714,1955,2200,2990,2737,2369,2274,2795,3161,3077,2885,2708,2309,2709,2657,2574,2295,2323,2908,3408,3544,3620,3056,3111,2854,2662,2327,2293,2497,2055,2006,2294,2574,3038,3325,3304,3419,3393,3330,3203,3332,3799,3661,3799,3901,3709,3501,3370,3422,3494,3292,2910,2984,3157,3250,2623,2521,2912,2963,2744,2228,2164,1946,1846,1708,1870,1921,2034,2589,2313,1974,1773,2062,2180,2142,2359,2339,1861,1721,1958,2114,2117,1869,2277,2406,2142,2668,2714,2338,2052,1583,1218,1838,2712,2514,2397,2667,3035,2648,2076,2339,2713,2703,2005,1752,1875,1681,1909,1733,1849,1708,2155,2090,2165,2289,2094,2065,1939,1628,1369,1758,2024,2105,1986,1874,1903,1801,1635,1663,1845,2211,2458,2478,2171,2090,1871,1828,1786,1570,1600,2011,1678,1811,2008,2342,2657,2618,3055,3397,3027,3014,2845,2581,1982,1661,1688,2540,2489,2370,2452,1802,1278,1057,994,1161,1306,1434,2000,2382,2194,1798,1722,1956,2655,3159,2822,3044,2845,2153,2178,2081,2113,2181,2501,2164,1747,2073,2301,2213,1951,1911,2036,2117,2310,3119,3029,2306,2030,2073,1587,1452,1549,1468,1501,1548,1461,1885,2465,2608,2084,1741,1627,1866,2061,2170,2245,2193,2669,3594,3680,3389,3098,2520,2414,2383,2392,2950,3087,2791,3032,3286,3309,3382,3549,3459,3338,3633,4112,4191,3894,3398,2916,2700,2977,3386,3453,2741,2125,2493,2022,2240,1970,1543,1323,1422,1441,1483,1548,1637,1869,1989,1805,2352,1922,1837,1816,1907,2424,2268,2763,2904,2676,3023,3323,2698,2271,1882,1808,1741,1643,1668,1678,1570,1779,2295,2404,2048,1932,2120,2014,1739,1891,2282,2446,2636,2878,3164,3442,2865,1853,2286,2768,2518,2655,2636,2468,2392,2578,2802,2566,1401,1679,1744,1570,1534,1711,1986,1645,1937,1119,1253,1368,1864,3687,3914,4081,4288,4034,3068,2080,1898,1697,2453,2129,1870,2285,2677,2324,2310,2588,2418,2469,2183,1579,1621,1697,1769,1647,1594,1884,1808,1619,1650,1742,1776,1549,1638,1622,1456,1567,1777,1513,1406,1580,1522,1604,1575,2299,2302,1838,1815,1655,1839,2386,2310,2200,2080,1650,1664,2605,2878,2686,2602,2740,2986,3101,3060,2779,2422,2291,2708,3019,2875,2503,1910,1733,2066,2453,2526,2317,2297,2014,1539,1609,1720,1882,2070,2429,1906,1513,1542,1565,1587,1542,1389,1290,1334,1455,1664,1538,1396,1626,1560,1516,1676,1655,1459,1527,1627,1517,1355,1318,1577,1596,1467,1716,1793,1915,1821,1559,1532,1716,2447,2641,2646,2408,2296,1761,2306,2301,2886,3316,2902,2044,1874,2048,2530,2526,2947,2819,3542,3892,4003,3494,3277,2720,2025,2457,2376,1608,1499,2152,2315,3266,3135,2778,2388,2686,2868,2899,3054,2990,2808,3186,3186,2962,2005,1726,2329,2680,2713,3085,3530,3225,3307,3328,2481,2362,2311,2156,1863,1855,2063,1836,1816,1737,1594,1495,1468,1447,1428,1510,1517,1561,1843,2115,2432,2013,1563,1475,1538,1607,1661,1631,1797,2094,2360,2359,1875,1889,2336,1879,1547,1719,1760,1628,1602,1500,1542,1532,1525,1731,2536,2557,1745,1654,1726,2226,2701,2597,2423,2474,2809,2864,2356,2653,3078,3437,2855,2388,2106,1693,1437,1496,1519,1739,1886,1750,2104,1636,1398,1495,1896,2315,2702,2263,2203,3073,2830,1904,2120,2039,1648,2061,2095,2465,2758,2520,2286,2099,2252,2300,2556,3231,3438,3084,2098,2060,2286,1966,1686,1377,1531,1737,1555,1501,2054,2351,1819,1597,1621,1440,1406,1395,1277,1372,1554,1515,1506,1412,1310,1384,1460,1533,1606,1672,1599,1611,1808,1992,2041,2126,2218,2185,1815,1685,1719,1857,1578,1946,2104,2247,1759,1470,1350,1567,1895,1990,1911,1676,1425,1555,1715,1841,2279,2434,2241,1848,1654,1503,2061,2780,2365,1850,2133,2381,2439,2423,2287,2082,1831,2163,2031,1727,1743,1835,1895,1671,1514,1503,1497,1846,2376,2054,1959,1953,1799,1784,1856,2041,2164,2068,2011,2190,2525,2142,2087,2194,2578,2491,2068,2214,2422,2391,2663,2490,2337,2566,2567,2224,1962,1918,2250,2347,2501,2643,2566,2555,2359,2322,2426,2352,2170,1748,2114,1952,1903,2402,2565,2391,2136,1992,2192,2485,2646,2502,2532,2652,2715,2520,2853,3123,2292,2069,2495,2454,2009,2384,2950,2079,1792,2134,2144,2071,2477,2546,2307,1868,2095,2155,1764,1714,2047,2369,2750,3217,3234,2975,2841,2280,2405,2788,2602,2482,2436,2459,2678,2058,2545,3188,3399,2705,2345,2597,2345,2063,1884,1608,1751,2003,1906,2005,1915,1742,2005,2177,1896,1996,1862,1995,2213,2277,2134,2302,2838,2570,2533,2836,2547,2280,1858,1957,1823,1457,1504,1555,1646,2132,2689,2601,2049,2022,1960,2394,2621,2570,2147,2417,2494,2240,2369,2624,3252,3947,3840,3950,4040,4115,4152,3995,2885,2533,2194,2204,2724,2676,2400,2448,2174,2349,2238,2254,2311,2331,2476,2324,2002,2221,2623,2612,2573,2853,3116,3140,3065,3202,2996,2823,2774,2805,2683,2521,2487,2823,3296,3753,3859,2951,1938,1441,1818,2037,1802,1864,2084,1712,1652,2413,3220,3520,2818,2611,2118,2164,2702,2189,1826,2225,2702,2801,2431,2352,2545,2142,2310,2719,2392,2243,2319,2937,3090,2573,2111,2076,2948,3589,3064,3476,3340,2190,1785,2126,2096,1974,2679,2852,2351,2150,2321,2327,2240,2272,2518,2362,2260,1944,1631,2132,2436,2595,2755,2481,2409,2732,2976,3125,3184,3712,3812,3597,3581,2967,3320,2939,2501,2982,3139,3326,3671,4243,4562,4801,4763,4375,4462,3875,3293,3172,3570,4165,4578,4731,4752,4800,4448,3178,1693,850,607,510,432,403,384,350,331,293,286,279,268,269,265,280,276,284,295,293,296,296,293,276,271,278,279,276,273,275,282,277,280,304,426,507,409,340,316,289,284,286,290,304,326,366,367,379,448,579,752,887,960,1052,1191,1108,979,1061,1175,1366,1524,1609,1445,1311,1292,1201,1214,1310,1200,1087,1024,1155,1448,1751,1832,1699,1531,1353,1439,1648,1561,1661,1323,1184,997,949,804,739,785,866,932,866,697,652,569,539,512,503,610,616,583,576,607,657,802,977,894,760,715,752,808,984,938,956,811,831,917,947,1194,1382,1293,1345,1775,2025,2009,2329,2220,1805,1704,1594,1322,1124,1317,1761,2309,2885,3448,3972,3825,2119,1200,2514,3212,3394,3160,2042,1973,2958,2997,3030,3283,3117,2147,2587,2542,2789,3166,3425,3551,3376,2540,2562,3291,3311,3437,3783,3225,2662,2874,3807,4220,4375,4164,3756,3913,3940,3409,2892,3254,3122,2665,2806,3203,3339,3451,3802,3890,3928,4240,4253,3680,2780,1417,896,988,913,749,659,641,657,664,589,479,499,488,440,499,539,460,446,516,589,666,778,824,779,790,866,943,934,971,1000,860,831,739,743,821,803,754,684,659,694,588,551,533,492,478,598,615,565,587,597,579,577,589,601,548,554,550,529,525,479,520,530,563,577,519,492,479,468,452,439,403,438,412,365,338,323,307,306,317,342,388,441,477,528,555,542,553,628,681,666,618,569,543,500,474,484,461,440,436,437,454,475,494,512,523,546,542,490,468,504,578,622,690,681,642,654,667,642,655,689,668,657,680,694,707,620,557,504,514,525,518,510,471,446,463,426,411,410,409,395,393,397,389,384,368,396,411,379,382,383,394,424,476,818,843,1145,1205,1218,1138,1011,1016,956,850,794,622,601,574,668,612,599,594,581,562,561,582,603,635,632,618,645,576,512,424,408,382,362,370,382,372,346,336,328,331,364,359,343,388,356,343,340,321,307,298,297,294,296,328,355,332,373,410,368,492,509,436,459,499,446,387,329,411,479,433,396,393,387,379,390,405,421,444,441,397,356,330,303,294,297,288,270,277,295,298,282,273,279,280],[2563,1887,2252,2762,2562,1898,1660,2248,2515,1973,1544,2093,2990,2604,2095,2198,2678,2382,2082,2566,2600,2612,2943,3234,3255,3010,2742,2929,3059,3186,2728,2259,2436,3426,4364,3755,2712,2876,3617,4029,3428,2540,2198,2732,3407,3167,3396,3962,4231,3626,2718,2852,2623,2632,3053,2799,3278,3065,2803,3144,2941,2587,2305,2076,2341,2745,3212,3116,3228,2951,3534,3921,3614,3033,2522,2853,3791,3885,3234,2233,2475,2488,2250,1994,2161,2371,2065,2198,2276,2119,2465,2878,3100,2988,3029,2781,2231,2152,2458,2525,2475,2327,2465,2579,2025,2271,2341,2254,2076,2112,2168,2255,2378,2442,2267,2353,2974,3342,3360,3264,2552,2512,2353,1957,2141,2929,2585,2590,2424,1847,2153,2398,2125,2082,2764,2798,2187,2106,2445,2474,2249,2168,2121,2154,2317,2286,2260,2181,2341,2792,2783,1966,1635,1857,2025,2058,1969,1915,2013,2093,1969,1903,2004,2057,2552,2196,1864,1941,2067,2150,2310,2298,2345,2580,2574,2481,2777,3392,3255,2749,2266,2833,3432,3442,3370,3161,2354,2056,2314,2793,2302,2104,2917,3275,2658,2224,2106,1755,1810,2863,3444,3094,3226,3118,3326,3352,3111,2989,2634,2846,2824,2186,1884,1501,1249,1971,2559,2070,1847,2290,2546,2430,2381,2050,1678,1874,1779,1205,976,1823,2697,2770,3356,3405,2763,2520,2339,1939,1872,2310,2975,2863,2474,2219,1664,1686,1843,1984,1940,2574,2698,1965,1673,1599,1562,1945,2553,2670,2546,2734,2968,2908,2680,2480,2652,2626,2474,2084,1836,1900,1926,2188,2036,1790,1871,1942,1920,1834,1998,1783,1566,1953,2287,2264,2610,2441,2008,1939,1836,1964,2076,2750,3652,3699,2886,2205,1793,1984,2482,2511,1991,1952,2540,3128,3062,3444,3282,2490,2460,2430,1870,1715,2372,2801,3349,3576,3128,2827,2780,3038,2654,2808,2690,2345,2348,2200,2165,2470,2997,3466,3692,3624,3450,3255,3375,3384,3027,2971,2767,3240,3798,3725,3392,3480,3295,3225,3454,3219,2566,2654,2994,2720,2683,2625,2798,2909,2742,2374,1985,2035,2018,2408,2446,2789,2221,2320,2382,2204,2605,2614,2498,2657,2374,2271,2404,2179,2244,2249,2454,2788,2499,2167,2662,2805,2084,1946,1970,1293,1450,2232,2003,2303,2750,3096,2648,2460,2781,2931,2811,2207,1697,1562,1521,1508,1827,2209,1998,1972,1927,2200,2304,2110,2107,2032,1381,1415,1798,2013,2149,2320,2102,1892,1744,1652,1668,1511,1433,1938,2250,1942,1858,1812,1749,1733,1739,1633,1530,1545,1567,1572,1711,2057,2533,2944,3117,3509,3349,2855,2242,2159,2057,1995,2372,2456,2354,1853,1535,1516,1321,1238,1239,1310,1548,1980,2302,2438,2105,1514,1623,2309,3093,2810,2624,2379,2115,1914,1775,1912,2257,2224,1819,1998,2188,2095,1947,2286,2047,2364,2431,2369,2814,3266,2784,2008,1712,1469,1477,1506,1662,1466,1489,1581,1672,1770,1710,1540,1771,1913,1840,1945,1918,1885,1864,2315,3298,3124,3350,3122,2365,2337,2454,2370,2610,2456,2182,2302,2441,2925,3295,3539,3628,3617,3718,3942,3940,3749,3416,2866,2321,2449,3181,3241,2366,2223,2163,2122,2305,2334,1724,1309,1491,1504,1440,1452,1642,2286,2401,2199,2315,2159,1987,2094,2048,1927,2339,3374,3759,3703,3586,3144,2209,2065,2070,2368,2032,1700,1610,1489,1924,3088,3652,3606,2649,2193,2052,1743,1726,1725,1971,2283,2918,3133,3252,3460,2902,2321,2858,2866,2470,2558,2426,2417,2310,2337,2834,2113,1516,2019,1556,1712,1989,2148,1938,1777,1649,1026,1342,1215,2358,3982,4235,4152,3947,3969,3421,2366,2152,1610,2089,2159,2614,2953,3187,2485,1793,1857,2018,2022,1808,1674,1833,1826,1735,1694,2023,2584,2269,1900,1952,1915,1680,1775,2243,2100,1982,1931,1869,1888,1780,1872,1664,1569,1799,2264,2209,2120,1718,1545,1739,1930,1722,1873,2059,1382,1309,1786,1961,2269,2270,2204,2008,2326,2514,2159,1995,1988,2340,2453,2292,2155,1884,1870,2281,2579,2590,2264,2132,1742,1615,1764,1880,1868,2406,2824,2205,1661,1758,1878,1628,1601,1560,1711,1584,1440,1442,1571,1510,1502,1672,1538,1462,1456,1554,1900,1867,1506,1383,1495,1616,1398,1631,2017,1766,1510,1475,1521,1562,1820,2041,2408,2863,3021,2470,1908,2006,2447,3238,3480,3106,2290,2100,1956,2590,2525,2687,2866,3393,3399,3364,3012,2670,2349,2060,2180,1874,1891,1643,1986,2315,2679,2526,2584,2170,1947,2584,2965,3177,3281,3049,3060,3072,2176,1600,2142,2681,3036,2955,2787,2894,3194,3485,3217,3015,3230,3094,2984,2257,1817,2061,2268,2088,1851,1721,1534,1513,1514,1580,1730,1521,1610,1828,1983,2209,2001,1688,1675,1647,1702,1745,1620,1990,2339,2228,2098,1752,1663,1690,1854,1869,1690,1623,1595,1493,1412,1384,1517,1558,1697,1900,1920,1992,2071,2322,2676,2867,2941,2765,2730,3139,3438,3225,2943,2906,2806,2556,2558,2640,2231,1676,1503,1566,1782,2082,2126,2113,1883,1590,1754,1822,1882,2326,2362,2250,2642,2380,1793,2164,1869,1551,1990,1815,1620,1923,1874,1600,2199,3451,3720,3438,3355,3396,2999,2429,2423,2154,1748,1500,1351,1554,1755,1512,1416,1566,1720,1543,1892,1673,1458,1417,1510,1426,1388,1550,1572,1354,1261,1290,1441,1432,1513,1571,1450,1615,1867,1814,1658,1589,1838,2471,2176,1622,2142,2314,1990,1649,1941,1973,1853,1606,1572,1490,1709,2094,1936,1647,1543,1490,1674,1945,1627,1897,2095,1729,1591,1570,1713,2219,2608,1941,1941,1872,2113,2011,2525,3209,2798,2159,1881,1678,1665,1814,2222,2098,1701,1488,1453,1478,2254,2508,2414,2196,1779,1513,1609,1945,2001,1972,2051,1960,2300,2430,2621,2318,2389,2555,2699,2621,2254,2185,2396,2713,2415,2174,2724,2868,2277,1664,1365,1797,2587,3099,2621,2167,2317,1953,2025,2101,2155,1946,1848,2355,2096,2338,2532,2213,2313,2627,2177,2009,2502,2957,2426,2331,2475,2340,2576,3065,3013,2513,2385,2664,2432,1925,2552,3095,2547,2199,2234,2241,2392,2362,2534,2442,2215,2420,2031,1974,1699,1830,2149,2320,3302,3747,3416,2983,2225,2437,2935,2895,2733,2632,2673,2984,2733,2755,2654,2690,2197,1907,2014,2271,2317,2001,2169,2404,2409,1764,1654,1754,1896,1746,2114,2360,1995,1749,1771,1875,2265,2256,2221,2683,2425,2975,2940,2170,1715,1464,1626,1537,1520,1754,1757,2208,2886,2725,2165,1842,2045,1882,2178,2545,2505,2051,1804,2105,2382,2292,2457,2837,3505,3985,4068,3994,4082,4196,3472,2710,2500,2111,2329,2766,2873,2910,2908,2808,2664,2476,2699,2557,2213,2325,2264,2211,2357,2654,2720,2514,2624,2968,3316,3447,3203,2923,2734,2822,2803,2520,2512,2755,3222,3452,3493,3720,2743,1694,1537,1830,2129,2003,1913,2013,1614,2008,2221,2502,2991,2386,2141,2543,2342,2039,2076,2143,2577,2878,3292,2864,2403,2476,2358,2159,2635,2787,2492,2500,2962,3376,3005,2331,1922,2557,3473,3107,3074,3365,2530,1886,2069,2221,2233,2149,2335,2534,2403,2248,2252,2164,2143,2229,1877,1827,1865,1823,2484,3123,3244,3227,2653,2710,3301,3184,3034,3064,3581,3828,3735,3483,3034,3205,3022,2124,2599,3175,3309,3288,3782,4408,4836,4776,4472,4628,4783,4279,3534,3254,3392,4009,4500,4619,4752,4485,4132,3129,1576,658,567,466,431,444,363,337,300,294,295,282,273,262,286,289,288,300,293,297,298,287,275,278,279,276,276,276,277,284,273,270,300,408,533,456,390,333,300,290,284,290,301,332,380,408,416,430,523,671,832,935,1007,1145,1134,991,968,1029,1184,1307,1482,1615,1502,1339,1205,1159,1311,1245,1159,1036,1102,1344,1663,1829,1758,1589,1397,1333,1555,1560,1662,1533,1251,1000,935,863,730,727,808,871,883,725,649,585,541,507,482,518,538,555,564,588,617,696,750,758,736,704,697,725,753,799,945,948,867,871,910,1062,1308,1282,1278,1734,1960,1920,2029,2098,1771,1571,1571,1361,1138,1212,1440,2020,2548,2713,3550,4083,3032,1997,2562,3237,3065,2238,1935,2734,3093,3264,3619,3636,2572,2654,2562,2445,3037,3248,3337,3281,2808,2199,2870,3532,3403,3654,4069,3686,3528,3882,3828,4152,5072,4916,4616,4928,4655,3955,3488,3520,3178,2835,3098,3842,4165,4048,4139,4297,4208,4212,4209,3138,1847,1115,944,1159,1000,888,863,756,736,726,669,525,502,550,492,535,600,547,525,526,558,699,832,852,770,766,799,820,840,868,931,855,804,738,702,758,771,721,645,594,662,611,534,539,535,503,577,625,580,560,539,537,540,542,557,524,520,522,509,505,479,499,525,543,562,522,485,475,461,451,443,430,449,428,372,333,312,304,298,306,328,379,414,435,512,551,568,579,588,620,613,568,532,499,466,467,463,436,417,420,436,455,473,498,516,518,526,496,465,455,485,617,698,735,736,713,687,681,681,660,708,701,647,684,713,701,612,558,545,545,536,524,522,501,472,462,441,416,407,396,396,404,404,392,385,369,380,408,362,373,381,377,455,480,832,990,1106,1188,1180,1090,949,953,932,833,770,611,576,563,627,599,567,560,548,536,548,613,617,641,646,597,597,543,484,428,387,359,351,355,364,370,351,325,324,328,332,365,358,402,386,347,343,321,317,314,309,298,300,319,373,386,390,463,440,479,563,515,474,518,452,457,342,357,454,459,402,381,397,388,369,378,383,407,417,403,385,346,307,296,296,290,299,304,307,300,285,268,268,274],[3029,3018,2797,2584,2562,1776,1639,2406,2348,1735,1752,2552,2715,2481,2476,2632,2597,2184,2047,2662,2997,2546,2507,2775,3089,3308,3518,3328,3241,3088,2446,2215,2041,2388,3609,3415,2964,3259,3488,3851,3830,3317,2840,3204,3636,3795,3916,3979,3961,3286,2037,2308,2258,2373,2730,2483,2292,2436,2626,2902,2960,2787,2115,1998,2326,2874,3293,3105,3233,3292,3681,3979,3560,2809,2678,2734,3082,3598,3222,2510,2621,2225,1990,1911,1892,2193,2589,2485,1830,1701,2097,2587,2885,2712,2331,2137,2090,2130,2479,2690,2309,1851,2047,2465,2013,1946,2191,2125,2238,2308,2258,2581,2722,2388,2410,2387,2834,3018,2997,3043,2680,2784,2280,1989,2260,2943,3191,2855,2104,1560,2023,2395,2498,2396,2689,3033,2410,1613,1749,1770,1675,2026,1882,1965,2421,2320,2514,2254,2276,2249,2437,1922,1779,2214,2289,2083,1921,1895,2000,2092,1988,2373,1931,1531,1515,1653,2004,2387,2453,2448,2623,2336,2048,2411,2577,2731,3196,2955,2692,2211,2047,2844,3462,3648,3517,2711,2163,2186,2090,2749,2155,1936,2489,3006,2483,2416,2426,1910,1677,2454,2556,2409,2829,3037,3097,3193,3548,3468,3237,2776,2495,2303,2066,1904,1801,2136,2540,2478,2487,2506,2597,2496,2426,2139,1753,1763,1890,1533,1700,2611,2950,2808,3140,3725,3005,2742,2429,2083,1860,1896,2720,3195,2513,2038,1813,1957,1803,1694,2018,2135,2130,2167,1872,1618,1712,2079,2090,2203,2946,3234,3400,3218,2624,2441,2780,2999,2724,2014,1823,1986,2216,2577,1750,1605,1753,1975,2054,2004,1849,1693,1737,1863,1594,1937,2471,2329,1959,1931,2008,1803,2119,2456,3045,3383,3400,2766,2496,3025,3169,2543,2104,2107,2603,3060,3285,3544,3062,2459,2389,1839,1470,2193,3142,3299,3797,3399,3273,2348,2407,2585,2400,2747,2689,2233,1668,1709,2095,2287,2722,3073,3208,3583,3464,3286,3435,3263,2971,2817,2912,3256,3752,4145,3652,3565,3403,3501,3683,3405,2642,2429,2658,2728,2716,2510,2384,2676,3085,2707,2176,2009,2192,2612,2995,2823,1976,2224,2561,2464,2547,2598,2520,2500,2336,2380,2510,2532,2750,2749,3007,3191,2774,2286,2349,2553,2436,1953,2017,1719,1321,1437,2013,2791,2774,2433,2451,2629,2574,3000,2854,2406,1988,1806,1712,1725,1728,1842,1705,1553,1628,1890,2077,2208,2335,2057,1298,1250,1922,2049,1964,2135,2192,2268,1996,1746,1622,1440,1620,1958,1953,1723,1794,1887,1737,1578,1664,1651,1600,1489,1387,1410,1555,1733,2239,2498,2357,3070,3521,2933,2013,1832,2038,2023,1757,1812,1861,1398,1314,1480,1419,1331,1309,1348,1678,2053,2208,2119,2133,1568,1703,2145,3147,3176,2530,2050,2235,2028,1734,2098,2345,1845,1921,2131,2382,2579,2481,2396,2198,2384,2385,2656,2409,2314,2343,1635,1530,1458,1465,1505,1406,1440,1390,1378,1388,1381,1364,1485,1952,2144,1804,1721,1689,1780,1682,1991,2668,2692,3078,3084,2598,2705,2619,2224,2314,2143,1833,2093,2135,2668,3278,3630,3693,3652,3675,3854,3951,3774,3595,3163,2488,2727,3301,2905,2021,1846,1715,1934,2353,2294,1621,1525,1576,1478,1411,1400,1709,2547,2662,2707,2212,1854,1965,2143,2283,2072,2514,3653,3942,3890,3462,2296,1698,1780,2100,2144,1973,1858,1625,1698,2740,3769,3914,3817,2828,2458,2129,1757,1550,1793,1806,1840,2151,2654,3280,3198,2745,2815,3175,2695,2001,2128,2176,2328,2350,2663,3176,2728,2356,1905,1614,2032,2095,2221,1422,1374,1283,1064,1304,1601,3009,4121,4249,4169,3884,3770,3329,2452,2159,1436,1715,2314,3063,3598,3300,2564,1916,2039,2156,1698,1698,1986,2221,2011,1930,1952,2050,2604,2436,1718,1727,1711,1487,1722,2128,1882,1765,1723,1786,2037,1851,1582,1637,1795,1942,1958,1867,1992,1651,1545,1605,1577,1504,1596,1816,1670,1496,1504,2283,3019,2501,2220,1806,2369,2567,2298,2009,1756,1770,1673,1668,1773,1838,1837,2061,2217,2086,2042,1791,1380,1619,1756,1843,2148,2530,2349,1839,1561,1610,1816,1605,1652,1607,2020,1739,1402,1550,1549,1181,1548,2143,1660,1534,1597,1487,1773,1711,1516,1483,1520,1484,1380,1571,1802,1541,1288,1344,1527,1750,2180,2100,2064,2380,2643,2288,2070,1831,1918,2588,2794,2285,2094,2055,2118,2537,2475,2740,3186,3037,2953,3088,2372,2475,2426,1950,2232,1852,2653,2779,2602,2353,2339,2497,2599,2178,1925,2709,3120,3118,2912,2660,2645,2367,1703,1962,2386,2699,2810,2764,2815,3187,3623,3535,3001,2975,2845,3044,3217,2644,2200,2457,2631,2054,1659,1834,1649,1622,1578,1647,1622,1555,1887,2149,1980,1599,1604,1688,1684,1780,1968,1620,1447,1989,2510,2196,1852,1725,1637,1578,1755,1749,1827,2197,1667,1690,1766,1496,1652,1582,1426,1293,1547,2093,2235,2006,2098,2545,2835,2865,3228,3629,3689,3548,3011,2578,2720,2640,2678,3060,2811,2284,1843,1841,2244,2495,1955,2160,2026,1877,1786,1536,1640,2017,2458,2389,2141,1794,1816,2155,2001,2042,2007,1642,1576,1707,1526,1688,2078,2833,3454,3776,2978,2926,3046,2608,1876,1605,1592,1471,1396,1411,1428,1472,1400,1485,1767,2054,2659,2115,1655,1599,1481,1434,1511,1650,1476,1398,1412,1376,1496,1327,1392,1405,1713,2337,2220,1816,1939,1894,1925,2094,1923,1771,1748,1587,1488,1845,1964,2143,2153,1654,1532,1547,1716,1946,1880,1502,1586,1460,1532,1679,1491,1538,1626,1650,1735,1928,2197,2094,2150,1899,2204,2425,2177,1946,1841,1751,2067,2294,1859,1898,2189,2623,2768,2736,2000,1711,1325,2034,2503,1958,2013,1875,1846,2103,2488,2220,2025,2640,2414,2355,2482,2757,3163,3027,2479,2001,2409,2546,2088,2165,2546,2998,2857,2602,2963,2644,1917,1410,1410,2113,2640,3153,2984,2580,2347,2231,2652,2850,2706,2198,2106,2279,2297,2445,2003,1387,2149,2907,2109,2713,2777,2618,2561,2147,2283,2087,2646,3484,3084,2764,2499,2401,1763,1440,1822,2472,2845,2490,2149,2205,2281,2055,2208,1997,1481,2035,2366,2396,2401,2390,2691,2415,2675,3250,3533,3099,2684,2331,2734,3060,2699,2326,2818,3137,3184,2897,2476,2347,2211,1754,1558,2123,1913,1995,2932,2780,2329,1987,1830,1728,1882,2157,2813,2665,1887,1931,2011,1793,1997,1890,1675,2383,2214,2451,2066,1561,1545,1550,1626,1617,1596,1654,2057,2702,2632,1779,2182,2620,2590,2275,2314,2677,2470,1921,1664,2031,2709,2288,2207,2579,3292,3796,3977,4059,4208,3895,2920,2575,2110,2293,2514,2713,2975,3252,3507,3362,3274,3086,2753,2291,2354,2906,2879,2623,2667,3023,2742,2486,2575,3002,3515,3395,3027,2885,2794,2833,2608,2840,2900,2746,2997,3281,3139,3177,2503,1854,1789,2106,2439,1992,1691,1598,1890,2074,1786,1881,2193,2024,2372,3105,2534,1843,1907,2334,2835,2930,3134,3112,2868,2502,2561,2577,2982,3355,3260,3319,3749,3808,3278,3110,2692,2426,2965,2973,2938,3460,2928,2158,2255,2227,2132,1999,2425,2397,2128,2439,2252,2214,2287,2554,2395,2015,1924,2143,2564,3320,3323,2955,2963,3422,3771,3334,2985,3085,3675,4167,4062,3537,3000,3154,3426,2029,2007,2911,3362,3217,3481,4068,4604,4619,4407,4726,5097,4448,3557,2942,2983,3301,4101,4396,4531,4500,4352,3973,2382,888,685,519,479,491,407,362,317,294,277,267,269,260,273,282,286,300,300,296,290,284,277,279,276,271,270,279,281,278,272,266,287,350,473,456,406,320,297,292,284,289,296,319,368,425,479,461,518,635,769,857,929,1054,1105,1018,930,926,1046,1174,1328,1532,1588,1426,1228,1153,1279,1253,1164,1112,1085,1228,1576,1806,1809,1647,1452,1386,1543,1519,1580,1615,1364,1029,911,912,812,703,737,796,857,760,655,588,539,498,471,496,540,553,551,586,617,641,630,665,661,674,642,626,664,741,892,1005,934,795,800,892,1132,1207,1226,1470,1732,1854,1815,1882,1730,1499,1476,1383,1144,1114,1227,1673,2211,2125,2685,3842,3900,2933,2733,3011,2394,1665,2561,3039,3543,3777,3962,3388,2695,3054,3058,3462,3227,2752,2974,2975,2811,2370,2965,3265,3165,3214,3380,3789,3831,4133,4717,4784,5642,5149,4936,5574,5369,4817,3852,3798,3632,3041,3128,3852,3933,4119,4376,4616,4428,4411,4378,2961,1643,1067,1057,1288,1060,901,962,804,746,762,728,576,543,609,579,583,646,604,545,521,509,661,811,831,789,761,770,771,790,784,825,836,786,720,673,672,716,692,623,566,619,602,545,558,546,484,536,614,545,494,509,542,539,518,498,489,488,485,477,472,472,486,508,537,548,520,484,472,474,473,471,470,470,438,380,335,314,306,299,313,305,370,406,405,486,540,551,564,561,558,539,514,495,461,442,428,420,407,393,409,438,465,483,498,501,489,521,495,473,470,518,675,757,749,734,723,700,671,699,670,698,733,669,682,727,689,607,563,552,532,522,518,507,487,533,470,444,422,405,402,406,393,390,392,390,378,367,387,355,352,381,372,388,590,953,956,955,1059,1062,976,868,896,864,804,741,641,598,561,555,556,543,524,521,518,533,598,588,585,584,559,533,494,446,414,379,351,338,339,352,368,352,331,322,328,327,360,354,354,375,350,339,329,325,328,326,316,316,317,385,448,443,504,564,552,560,552,469,506,499,489,384,330,389,467,447,385,387,394,356,369,373,390,413,408,396,363,322,303,293,292,294,297,304,304,287,263,264,267],[3647,3748,3676,3745,3027,1831,1812,2447,2348,1667,1858,2421,2476,2365,2598,3260,3134,2620,2112,2577,2689,2692,2612,2629,2810,3085,3334,3394,3488,2973,2917,2789,2265,2329,2908,2585,3470,4020,3970,3727,3956,4097,3382,2861,3084,3659,3783,4016,3890,3374,2632,2476,2659,2645,2940,3031,2258,2519,2381,2455,2864,2620,2058,2039,2162,2913,3090,3129,3397,3163,3254,3084,2752,2609,2832,2922,2715,2946,2990,2887,3109,2702,2175,1951,1870,2396,2732,2596,1903,1786,2193,2384,2186,2014,2118,2481,2448,2303,2586,2824,2118,1778,1640,1738,2103,2128,2227,2386,2662,2856,2856,2888,2692,2300,2336,2591,2974,3300,3150,3292,3186,2562,2260,2250,2340,2944,2835,2194,2209,1820,1941,1852,2372,2342,2496,2916,2885,2346,1801,1744,1892,2129,1989,2286,2325,2827,3232,2752,2430,2278,2190,1917,2215,2737,2503,2324,2140,1757,1937,2146,2270,2303,1961,1854,1807,2024,2250,2456,2624,2475,2568,2309,1755,2022,2863,2977,3428,3389,2736,2033,2315,2756,2878,3146,3330,2459,2420,1892,1440,1953,1910,2269,2530,2470,2272,2059,2394,2269,2021,2335,2274,2737,2610,1882,2438,3018,3574,3908,3525,3177,3095,2791,2340,2194,2426,2366,2376,2835,2504,2597,2519,2517,2510,2196,1923,1926,1980,1777,1934,3077,3298,3225,3227,3642,3473,3129,2584,2048,1545,1520,2229,2534,2200,2175,1998,1901,1881,2013,2163,1763,1749,1553,1733,1945,1914,1946,1802,2548,3908,4027,3675,3084,2666,2653,2805,2984,2793,2370,2133,2534,2436,2481,1566,1481,1777,1901,2203,2184,2203,2214,2240,1971,1478,1487,1678,1991,1908,1782,1837,2338,2730,2229,2280,3056,3549,3496,3321,3438,3209,2677,2752,2778,3100,3453,3575,3365,2610,2413,2497,1840,1556,2426,3299,3462,3934,3804,3376,2719,2676,2496,2714,2744,2374,2408,1854,1299,1589,2178,2640,2901,2867,3154,3089,3065,3463,3541,3174,2696,2288,2445,2577,3486,4056,4192,4070,4015,3859,3308,2831,2727,2674,2468,2489,2509,2271,2247,2648,3088,2732,2347,2101,2346,2543,2071,1842,2352,2713,2289,2089,2288,2238,2108,2336,2451,2563,2796,3398,3265,2602,2834,3034,2777,2414,2393,2874,2764,2116,2023,1803,1679,2228,2532,2412,2462,2313,2169,1837,2251,2569,2779,2221,1791,1718,1814,1833,1719,1532,1524,1473,1827,2066,2254,2558,2679,2318,1610,1404,1745,2130,1917,1829,2015,1991,1960,1779,1715,1836,1771,1607,1470,1528,1707,1692,1684,1745,1686,1615,1501,1471,1448,1444,1452,1908,1902,1332,1438,2056,2227,1921,1859,2386,2248,1667,1363,1494,1682,1534,1388,1414,1501,1239,1281,1891,2209,2472,2170,2337,1799,1796,2402,2802,2730,2710,2474,2084,1747,1936,2416,2137,1801,2034,2370,2621,2995,2700,2197,2272,2396,2529,2542,1999,1858,1703,1461,1546,1537,1421,1401,1482,1552,1480,1380,1392,1631,1722,1674,2024,2127,1922,1840,1704,1798,2142,2183,2009,2098,2425,2512,2461,2633,2563,2219,2420,2252,1808,1848,2078,2642,3364,3665,3688,3736,3685,3439,3043,2725,2803,2786,2618,3001,3139,2236,1840,2161,2172,2222,2492,2302,1960,1880,1636,1506,1438,1407,1427,2172,2561,2382,2032,1987,1922,2072,2454,2091,2489,2744,3089,3387,2678,1763,1594,2259,2958,2433,1913,1723,1770,2604,2885,2949,3407,3351,2852,2652,2381,1932,1794,1865,1770,1790,1939,2140,2732,2612,2612,3019,3130,2787,2295,2209,2468,2575,2499,2776,3234,3279,3274,2155,1366,1797,1993,1993,1569,1614,1384,1482,2147,2556,3349,3519,3594,3715,3566,2965,2625,2522,2318,1540,1356,1916,2954,3473,2977,2650,2532,2453,2276,1729,1752,1829,1918,1999,1848,1736,1955,2294,2302,1907,1922,1811,1542,1523,1586,1538,1573,1511,1687,1831,1544,1532,1767,2070,1795,1555,1631,1842,1742,1560,1453,1504,1561,1509,1604,1781,1854,1753,1993,2284,2138,1875,1780,2493,2728,2374,2073,2088,1842,1594,1857,2060,1986,1841,1675,1708,1850,2075,1532,1459,1866,1549,1696,2164,2308,1997,1763,1741,1544,1468,1555,1625,1594,1682,1697,1631,1518,1538,1600,1959,2374,1690,1422,1460,1466,1613,1598,1508,1493,1486,1528,1659,1794,1752,1470,1432,1576,1643,1743,1853,1695,1860,2004,1859,1990,2145,2016,1821,1882,2316,1800,1859,2161,2325,2625,3017,3430,3681,3387,2812,3032,2807,2428,1684,1688,2201,2244,2767,3062,2786,2510,2533,2814,2747,1968,2094,2734,3042,2604,1943,1980,1848,1514,1874,2100,2335,2487,2292,2176,2576,3352,4140,3274,2544,2402,2330,2730,2985,2949,2845,2586,2338,1925,1679,1820,1815,1854,1764,1844,1837,1810,1994,1998,1734,1672,1867,1629,1666,1637,1800,1615,1743,2108,2098,2035,2045,1766,1487,1427,1514,1533,1590,1854,1756,1946,1839,1573,1719,1738,1506,1582,2176,2734,2364,1629,1852,2411,2674,3186,3436,3260,3381,3650,3174,2767,2855,2530,2623,3189,2994,2446,2135,2121,2907,3106,2477,2216,2037,1770,1822,1769,1806,1980,2321,2310,1950,1652,1794,1699,1967,2320,2216,1832,1516,1660,1562,2110,2365,2382,3009,3371,2716,2622,2860,2372,1628,1338,1580,1536,1354,1486,1526,1370,1520,1722,1649,2416,3060,2377,1587,1459,1360,1448,1432,1433,1433,1460,1532,1538,1577,1496,1411,1360,1563,1828,1811,1729,1912,1771,1695,1682,1703,1705,1554,1549,1527,1877,1865,1622,1450,1532,1548,1600,1514,1793,1840,1566,1672,1648,1458,1407,1437,1488,1726,1965,1964,1779,1734,1874,2085,2429,2898,2569,2225,2164,1699,1385,1521,1581,1571,1669,2436,3041,2482,2365,2355,1952,1357,2092,2312,1407,1247,1924,3188,2990,2623,1880,1789,2624,2717,2181,2500,3378,3426,3417,3150,2316,2170,2344,2122,2064,2972,3862,3528,2800,2574,2268,1859,1554,1708,2730,2664,3228,2996,2266,1790,1951,2658,3212,3033,2691,2577,2326,2313,2351,1981,1934,2265,2472,1701,2798,3128,3210,2918,2332,2486,2548,2787,3199,2923,3156,2818,2441,2021,1550,1688,2330,2578,2260,2597,3308,2630,1820,1886,1666,1635,2013,2623,2805,3076,3145,2779,2687,2824,2612,2533,2509,3073,2620,2925,2736,1992,1798,2442,3120,2906,2332,2068,1865,1832,1838,1713,2163,1787,2357,2899,2543,2579,2526,2292,2022,2071,2214,2243,1854,1525,1758,2024,1913,1780,1732,1555,1720,1882,1994,1871,1576,1664,1623,1609,1536,1699,1818,2242,2952,2753,2454,3091,3044,2795,2368,2067,2562,2512,2060,1706,1776,2634,2416,2196,2428,3021,3651,3905,3992,4060,3133,2567,2303,2099,2552,2802,2791,3041,3232,3406,3256,2785,2337,2139,1755,2328,3106,3297,3312,3450,3594,3040,2752,3033,3553,3421,2948,3300,3360,3027,2857,2686,3047,3051,2574,2671,2987,3181,3392,3249,2798,2178,1780,2049,1810,1949,2020,2098,1722,1615,1640,1807,2029,2345,2515,2320,2008,1828,1985,2493,3039,3160,3076,2917,2912,3020,2646,2832,3626,3803,3646,3724,3614,3222,3038,2723,2415,2253,2498,2862,3233,3191,2270,2313,2258,2303,2034,2539,2249,1978,2280,2332,2336,2314,2282,2590,2250,1945,2536,2523,2602,2563,2219,2712,3296,3680,3349,3048,3602,4389,4589,4244,3526,2811,2275,3254,2798,2566,2784,3089,3097,3276,3659,4058,4351,4232,3868,3869,3263,3263,2898,2700,2748,3668,4328,4492,4488,4432,4239,3608,3052,1717,708,507,444,446,408,339,303,293,280,270,275,277,271,285,295,299,298,293,286,284,285,273,259,259,277,283,269,259,261,274,312,399,408,424,405,325,286,282,290,285,313,378,460,567,574,578,658,758,858,937,1001,1049,995,895,825,938,1048,1131,1254,1456,1468,1283,1184,1233,1224,1176,1137,1082,1161,1464,1752,1886,1733,1497,1481,1665,1665,1613,1617,1456,1134,967,919,857,695,686,742,807,778,673,586,534,489,470,474,499,522,590,593,687,662,615,621,636,681,654,598,613,665,772,936,1031,863,735,781,883,1080,1207,1246,1552,1664,1469,1626,1650,1494,1332,1330,1194,1078,1065,1288,1799,1886,1919,2810,3796,3779,3105,2646,2880,2467,3035,3719,3995,4120,4256,3584,3065,2886,3272,4026,3964,3890,3303,3353,3055,2712,2746,2428,2589,2880,3065,3642,3890,4264,4352,4073,5044,5019,4987,5204,5384,5479,4648,3562,3316,3122,2977,3519,3841,4132,4385,4512,4551,4495,4499,3164,1749,1139,1146,1479,1123,930,1074,916,737,750,776,615,592,672,645,641,673,634,564,538,502,596,759,765,768,761,736,707,722,731,724,723,701,673,668,637,650,648,640,590,582,576,546,535,521,490,504,572,524,498,519,534,521,498,475,448,442,450,435,455,472,510,538,560,550,518,483,471,483,483,470,463,464,439,389,346,318,302,296,314,295,340,391,393,454,525,531,536,523,507,489,475,458,436,423,412,405,397,403,426,459,485,498,496,483,473,524,532,519,522,601,718,741,753,740,722,702,648,694,688,669,731,695,675,717,686,625,579,529,473,479,499,492,486,488,464,445,419,410,419,426,401,382,383,384,374,360,355,342,350,373,384,365,599,930,915,914,976,963,873,789,846,813,732,688,634,588,560,536,533,528,530,540,505,510,562,542,527,520,497,473,439,411,391,364,338,328,332,346,366,362,343,328,318,320,349,357,339,360,357,355,343,340,342,347,342,354,363,431,518,529,552,565,550,564,563,462,465,480,494,442,341,330,427,470,392,383,386,364,369,375,385,395,394,387,359,321,298,293,291,289,289,302,308,296,270,264,267],[3460,3459,3116,3415,2714,1762,1985,2502,2182,1713,2006,2365,2501,2359,2589,3195,3261,2670,2621,2852,2912,2767,2618,2789,2920,2912,2707,2831,3002,2739,3437,3118,2578,2740,2952,3406,4038,3970,3782,3785,3995,3329,2801,2831,3523,3664,3458,3535,3671,3483,3212,3154,3226,3388,3681,3746,2612,2458,2413,2379,2678,2910,3094,3061,2974,3343,3540,3774,4049,3517,3110,2863,2897,2599,2624,2588,2376,2635,2855,2986,3177,2908,2310,2257,2737,2981,3200,2744,2136,1837,1852,1932,1760,1894,2696,2789,2498,2383,2917,3575,3114,2208,1380,1503,2084,2260,2575,2597,2779,2839,3030,2608,2428,2679,2602,3022,3152,2929,3034,3521,3142,2288,2182,1997,2220,3000,2656,2996,3257,2633,2346,2132,1984,2522,3046,2715,2844,2597,2152,1887,2187,2283,2212,2376,2546,2819,3012,2834,2457,2298,2182,1966,2156,2575,2226,2303,2333,1895,1991,2600,2673,2022,1808,2048,2168,2253,2390,2559,2286,2151,2113,2070,2098,2317,2815,2867,3018,3179,2269,1859,2137,2207,2141,2189,3331,3235,2562,1578,1432,1709,1979,2644,2459,1882,2016,2378,2487,2077,2472,2689,2130,1842,1768,1625,2544,3100,3507,3774,3361,2962,2897,2698,2531,2145,2114,2157,2271,2415,2320,2298,2123,2279,2732,3077,3011,2424,2142,2143,2878,3354,3375,3342,3400,3276,3087,2737,2204,1725,1505,1929,2602,2574,2236,2360,1973,2040,2200,2245,1636,1658,2253,1618,2426,2191,1829,1772,2232,3177,3323,3454,3344,2897,2734,2769,3099,3095,2940,2856,2819,2241,2082,1843,1460,1345,1626,1769,1715,1896,2398,2865,2518,1805,1504,1517,1594,1779,1761,1851,2610,3467,3606,3263,2568,2072,2700,3586,3381,3065,2765,2383,2556,3031,3312,3545,3598,3077,2228,2331,2470,2147,2241,2636,2929,3172,3561,3670,3015,2875,3272,3309,3102,2446,2060,2192,2252,2069,2211,2552,2620,2305,2248,2517,2691,3011,3494,3540,3106,2321,1925,2150,2171,2498,3211,3479,3825,4071,3962,3682,3466,3144,2740,2334,2248,2383,2412,2358,2243,2607,2934,2911,2307,1927,2110,2385,2178,2442,3138,2626,2180,1881,1829,2042,2066,2418,2701,2640,2988,3155,2775,2390,2721,3083,2548,2305,2673,3348,2775,2220,2405,2497,2075,1901,2245,2091,1823,1717,1563,1626,2024,2013,1737,1978,2328,2012,1777,1687,1786,1571,1887,2260,2132,2392,2553,2429,2342,2090,1648,1443,1821,1987,1387,1425,1836,1951,1798,1771,1659,1447,1373,1395,1514,1649,1715,1858,1795,1690,1456,1443,1362,1274,1232,1327,1441,1635,1698,1483,1442,1881,1666,1795,2553,2333,1741,1245,2006,2587,2349,1958,1505,1612,1175,1440,2370,2426,3039,3007,2499,2010,1911,2161,2066,1907,2309,2617,2474,2016,2453,2332,1844,2001,2239,2332,2477,2621,2213,1828,2060,2814,2877,2243,1673,1487,1534,1512,1769,1723,1649,1599,1522,1421,1479,1445,1396,1566,1781,1679,1939,1997,1744,1880,2165,2098,2191,2078,1820,1810,1982,2157,2244,2353,2402,2154,2023,2132,2019,2184,2310,2670,3543,3675,3648,3958,3787,3039,2530,2727,2363,2346,2431,2469,2208,1642,1910,2179,1907,2202,2486,2131,1966,1689,1481,1475,1524,1462,1474,1909,2113,2079,2100,2232,2096,2037,2197,2373,2079,1808,2135,2503,2041,1670,1758,2181,2619,2258,1837,2211,2539,3357,2622,2186,2709,2777,2547,2449,2181,1930,1809,1685,1740,1683,1684,1659,2049,2513,2720,2733,2966,2822,2386,2392,2812,2843,2783,3084,3185,2950,3206,2119,1696,1755,1818,1844,1493,1528,1548,1550,2458,2906,3005,2622,2673,2697,2610,2235,2326,2361,2008,1650,1076,1343,2138,2664,2654,2464,2544,1920,1772,1687,1672,1844,2242,2504,2649,2276,1833,1624,2355,2477,1922,1749,1685,1662,1808,1691,1535,1699,1747,1622,1676,1826,2163,2364,1973,1730,1794,1759,1709,1672,1461,1398,1466,1560,1620,1660,1810,1713,1577,1813,1936,1777,1862,2293,2444,2063,1862,1925,1802,1788,2292,2853,2432,1815,1514,1311,1694,2089,1522,1727,1906,1408,1579,1741,1944,1785,1929,2093,1844,1671,1580,1476,1452,1499,1651,1572,1515,1662,2008,2620,2851,1974,1440,1355,1552,1676,1650,1726,1667,1575,1716,1768,1822,1674,1452,1790,1986,1979,1780,1499,1791,1960,1431,1742,2108,1903,1927,1945,1995,2145,1968,2028,2246,2569,3083,3106,3354,3935,3861,3881,3222,3191,2022,1504,2036,2146,2077,2165,1949,2169,2718,2733,2919,2823,1998,2231,2599,2347,1394,1487,2242,2130,1937,1747,1447,1960,2151,2082,2092,2451,3410,4047,3030,2173,2165,2349,2787,3205,3454,3511,3374,2864,2436,2097,1923,1997,1963,1802,1941,1954,1684,1705,1615,1477,1701,2048,1767,1588,1868,1821,1598,1948,2171,1947,1903,1707,1471,1479,1460,1517,1587,1863,1839,1663,1687,1714,1638,1628,1720,1792,1893,2355,2557,2185,1705,1711,2264,2566,3267,3294,2530,2717,3193,3089,3040,3111,2666,2316,3210,3079,2278,2135,2115,2854,3143,2497,2302,2337,2317,2597,2336,2452,2284,2304,2856,2231,1496,1543,1508,1574,1543,1708,1709,1286,1518,1955,3266,3020,2387,2127,2385,2668,2618,2790,2862,2206,1741,1835,1584,1739,1944,1509,1662,2100,1986,1750,2089,2489,2137,1536,1687,1559,1427,1417,1388,1494,1509,1487,1500,1588,1695,1557,1601,1763,1969,1907,1725,1686,1816,2085,1918,1801,1775,1673,1310,1358,1839,1611,1369,1669,1889,1652,1499,1533,1794,1832,1605,1499,1590,1578,1518,1911,1815,2454,2442,2175,1936,1781,1595,1701,1866,1836,1899,2226,2094,1610,1808,1815,1450,1531,1775,2183,2408,2040,2016,2174,1639,1445,1745,1709,1274,1758,3056,3703,2798,2354,1960,2103,2382,2195,1954,2229,3051,3477,3646,3442,2947,2753,3708,3400,2408,2963,3438,2920,2380,1966,1854,2079,1997,1797,2270,2475,2341,2137,2188,2310,2245,2462,3098,3051,2863,2713,2859,2763,2873,3352,2846,2300,2353,1926,1844,2076,2801,3045,2663,2602,2548,2357,2530,2807,3574,2909,2370,2431,1963,1877,2259,2263,2107,2853,4048,3086,2534,2369,1938,1629,1539,2144,2564,2879,3200,2795,2795,3615,2849,2607,2716,3275,3007,2706,2357,1948,1947,2254,2474,2069,1666,1863,2312,1929,2348,1975,1952,1898,2283,1973,1703,1911,2399,2524,2292,2252,2074,1650,1484,1377,1480,1700,1851,1843,1789,1589,1718,1728,1521,1698,1500,1416,1431,1911,1894,1707,1816,2069,2347,2413,3055,3445,3152,3227,2371,2261,2582,2546,2069,1624,1592,2304,2625,2241,2172,2779,3400,3694,3913,3379,2585,2524,2188,2460,2652,2553,2440,2666,2843,3022,3262,2909,2171,2207,1985,2419,2968,3271,3378,3559,3438,2871,2685,3169,3518,2812,3027,3765,3544,3026,2933,3487,3437,3220,3100,3096,3259,3320,3564,3565,3166,2530,1769,1842,1975,2071,2085,1807,1552,1593,1610,1952,2359,2646,2606,2477,2499,2161,1869,2013,2513,2630,2830,2910,2648,2719,2246,2320,2785,3279,3121,2989,2916,2765,2600,2724,2400,1933,2311,2850,3012,3173,2172,2029,2105,2119,2064,2255,2100,1995,2114,2557,2835,2565,2129,2621,2406,2356,2879,2811,2820,2609,2363,2573,2754,3119,2986,3028,3577,4006,4026,3813,3078,2408,2189,2841,2468,2255,2841,3130,2925,3196,3291,3659,4053,3904,2400,1674,1563,3039,3407,3129,2878,3011,3659,4353,4221,4164,3913,4209,4608,3660,1532,603,490,457,417,361,318,298,293,289,291,283,276,291,299,293,290,290,284,284,281,272,266,265,275,279,266,261,259,268,283,329,362,484,579,410,272,279,298,292,300,367,411,557,687,681,687,742,805,912,992,998,939,868,765,826,926,990,1104,1283,1394,1318,1216,1216,1176,1151,1164,1143,1124,1338,1696,1869,1892,1707,1543,1593,1694,1648,1593,1436,1150,970,869,810,697,666,704,764,778,695,598,549,499,479,469,472,485,525,536,665,646,578,586,637,683,705,642,610,644,705,884,1153,1259,1049,828,768,904,1038,1167,1382,1540,1327,1443,1530,1472,1321,1215,1180,1092,1008,1099,1443,1594,1495,1913,3118,4020,3759,3017,2749,2844,3499,4024,3880,4007,4061,3747,3295,3108,3726,3883,3889,3958,3950,4091,3666,3332,3312,2995,2888,3131,3206,3553,4151,4187,4137,4092,4264,4384,4275,4524,4595,4455,4236,3825,3241,3110,3579,3775,3976,4220,4437,4339,4080,4107,4368,3597,2155,1183,1172,1378,1108,1045,1093,1005,810,752,794,699,649,692,647,686,691,637,591,538,528,575,688,724,730,752,723,654,662,689,657,652,660,657,656,636,612,604,623,596,558,549,520,488,485,484,476,530,514,481,482,495,486,470,456,420,409,435,516,516,518,559,595,584,556,517,483,470,477,477,454,437,436,436,393,345,329,316,301,305,288,309,374,390,433,507,504,499,479,461,454,446,440,432,419,422,422,397,430,455,481,486,485,481,479,480,509,530,558,589,650,747,752,784,753,721,682,636,662,681,644,676,682,643,673,673,645,609,533,462,457,474,473,480,471,449,410,410,407,436,426,395,370,364,371,371,356,341,344,354,372,404,398,443,710,866,918,921,882,841,761,789,785,686,624,599,589,558,521,574,526,542,574,526,500,521,508,486,464,437,415,394,384,378,355,332,326,336,347,366,372,354,338,323,317,335,355,343,350,357,358,357,348,341,345,365,408,418,476,558,564,550,524,517,520,563,462,415,454,480,481,402,338,362,461,402,379,368,368,370,366,373,371,366,365,346,319,296,289,292,293,290,298,303,299,279,266,264],[2928,2985,2395,2430,2121,1770,2196,2443,1912,1689,1931,2173,2744,2909,3076,2813,2644,2830,2944,3030,2922,2854,3105,2785,2817,2986,2995,2876,2393,2534,3211,3249,2978,2603,2394,3288,3996,3492,2841,2915,3797,3122,2400,2454,2706,3033,3000,3249,3459,3249,3365,3467,3319,3639,3716,3652,2974,2842,2792,2653,2843,3343,3492,3318,3274,3608,3782,3738,4070,3899,3166,2820,2382,2159,2313,2418,2136,2060,2566,2807,2776,2653,2697,3138,3386,2743,2610,2289,1986,2043,2137,2208,1849,1900,2398,2444,2833,2372,2920,2640,2579,2344,1569,1725,2118,2845,3219,2395,2340,2836,2662,2371,2282,2231,2427,2911,2874,2548,2780,3151,2834,2341,2754,2503,2459,2645,2899,3648,3626,3111,2675,2271,2470,3549,3577,2732,2787,2270,2457,2200,2220,2261,2016,2437,3230,3109,2551,2392,2609,2460,2435,2317,2194,2016,1931,2103,2242,2247,2204,2530,2535,1848,1682,1908,2146,2457,3142,2868,2189,2443,2432,2199,2201,2282,2831,2933,3064,2824,1924,1719,1706,2096,1870,1693,2819,3301,2828,2186,1902,1911,2448,2817,2089,1534,2081,2401,2408,2414,2625,2379,1846,1670,1702,2250,3260,3462,3602,3444,3227,2895,2844,2590,2412,1967,1813,1898,2063,2195,2404,2358,2175,1955,2132,2129,2325,2115,2198,2587,2429,2264,2564,2510,2219,1835,2182,2249,2063,2010,1759,2217,2830,2612,2086,1841,1852,2584,2951,2414,1616,2527,2668,2240,2729,2134,1872,1833,2608,2831,2624,2858,2730,2584,2436,2735,3206,3267,3028,2542,2477,1894,1626,1816,1841,1698,1786,1638,1528,1754,1920,2192,2482,1820,1609,1837,1968,1923,1865,2153,2930,3422,3398,3204,2486,1829,2301,2884,2967,2925,2623,1969,2035,2707,2801,2916,3331,2623,2040,2368,2429,2423,1938,2024,2556,2786,3163,3109,3075,3353,3238,3038,2899,2762,2191,1980,1863,2322,2430,2479,2511,2459,2408,2407,2648,2811,3144,3286,2556,2176,2502,2754,2707,2427,2510,3083,3618,4029,4120,3918,3967,4012,3263,2647,2288,2222,2295,2428,2401,2351,2674,3188,2987,2468,2558,2688,2137,1795,2213,2431,2095,1734,1975,1916,1779,2246,2428,2864,3272,3231,3436,2751,2575,2458,2600,2695,3414,4050,3548,2916,2838,2722,2023,2125,2227,1800,1598,1615,1590,1766,1775,1387,1438,1842,2156,1849,1528,1730,1953,1803,2000,1741,1380,1978,2632,2568,2188,2116,2100,1707,1414,1996,1740,1875,1670,1599,1850,2025,1616,1282,1511,1661,1630,1443,1577,1707,1794,1592,1432,1333,1243,1200,1411,1489,1333,1561,2365,2664,2097,2230,2226,2440,2260,2263,1769,1627,2718,2811,2458,2512,1929,1779,1672,1833,2157,2259,2502,2229,1930,2036,2006,1782,1714,1752,2013,3253,3419,2809,2538,1866,1959,2250,2519,2159,2111,2250,1992,2002,2244,2930,2907,2460,2013,1691,1700,1740,1631,1502,1612,1611,1632,1556,1405,1299,1307,1604,1884,1946,2024,2075,1791,2181,2598,2135,2115,2081,1800,1831,1720,1679,1698,1704,1986,1990,1893,1911,1787,1940,2075,2636,3329,3537,3739,3916,3647,2993,2504,2701,2767,2753,2740,2598,2091,1670,2272,2204,2060,2291,2219,1787,1657,1588,1629,1673,1605,1641,1892,2025,2068,1858,1698,1698,1882,2018,2154,2546,2355,2132,2353,2439,1942,1988,1937,2233,2424,2045,1688,1896,1804,2172,2079,2242,2801,2578,2358,2543,2759,2330,1925,1647,1544,1484,1590,1785,1879,2140,2313,2862,3429,2987,2297,2067,2364,2453,2451,3104,3318,2980,3554,3274,2452,2191,2256,1810,1548,1230,1262,1330,1953,2737,2847,2550,2534,2442,2336,2514,2711,2586,1981,1764,1612,1986,2244,2223,2126,2262,2316,1825,1693,1835,2102,2312,2374,2148,2736,2397,2096,1876,2014,2050,2243,2201,1736,1588,1635,1757,1959,2077,2016,1739,1630,1771,2160,2343,2140,1865,1851,1762,1787,1745,1646,1643,1642,1773,1660,1716,1941,2020,1844,1939,2048,1875,1794,1886,1894,1697,1826,1725,1789,1880,2470,2927,2309,1590,1312,1249,1709,1990,1568,1736,1655,1433,1504,1603,1751,2064,2124,2060,1764,1457,1451,1551,1612,1660,1458,1380,1636,1642,1604,2511,2794,1975,1739,1873,1678,1456,1572,1716,1646,1497,1567,1710,1930,1735,1730,1990,1860,2031,1784,1527,1694,1780,1798,2269,2167,1858,1811,1866,2164,2221,1958,2242,2676,2282,2033,2557,3510,4221,3864,3428,3362,3009,2051,2872,3480,2427,2270,2002,1876,2132,2832,2868,2812,2189,1993,2525,2676,1829,1308,2276,2710,2569,1944,1294,1316,1893,2271,2195,2108,2120,2900,3730,3073,2555,2721,2827,3360,3659,3694,3414,3277,3266,3335,2984,2264,1933,2036,1904,1907,1801,1748,1492,1504,1467,1672,1919,1847,1524,1726,1802,1720,2016,2114,1990,1854,1318,1382,1600,1616,1594,1558,1854,1766,1440,1488,1616,1607,1483,1603,1893,1652,1802,1731,1655,1655,1954,2250,2131,2438,2700,2437,2517,2424,3066,3245,3565,3419,2691,3140,3133,2819,2564,2042,2529,3078,3414,3137,2885,3256,3164,2997,2943,2184,2051,2863,2352,1376,1421,1452,1567,1390,1369,1642,1456,1598,2836,3871,2712,1808,1845,2471,2607,2148,2571,2470,1969,1675,1646,1570,2027,2199,1906,1987,2264,2014,1749,1755,2133,1914,1590,2038,1680,1476,1467,1476,1443,1378,1397,1353,1628,2286,2008,1721,1755,1737,2007,2114,1896,1743,1619,1731,1928,1952,1899,1699,1731,1802,1593,1577,1781,1664,1828,1614,1510,1858,1815,1550,1498,1554,1526,1468,1794,1986,2626,2351,1869,1702,1692,1462,1520,1692,1600,1772,1892,1951,1676,2164,1952,1778,1649,1845,1837,1650,1696,2224,2310,1828,1844,2056,2519,2352,3116,2908,2196,2134,2167,2128,2059,2052,2704,2920,2131,2144,2896,3384,3251,2995,2948,3535,3382,2566,2450,2307,2143,2427,2014,2024,2402,2262,1879,2176,2869,2416,1825,1980,2289,1934,2046,2423,2491,2593,2474,2856,2733,2678,3260,3023,2453,2352,2376,2359,2019,2115,2679,3210,2741,2258,2301,2337,2358,2288,2155,2708,2692,2504,2483,2099,2001,1855,2143,3230,3663,3611,3187,2392,1905,1770,2225,2403,2281,2808,3245,3090,3038,1937,2199,2896,3505,3032,2201,2258,2351,2170,2243,2477,2297,2035,2670,3152,2896,2459,2503,2275,1864,1802,1809,1887,1938,2218,2349,2410,2329,2280,2071,2209,1980,1324,1170,1785,2063,1906,1746,1814,1642,1296,1485,1418,1882,1892,1898,1924,1852,1676,1695,1862,2275,2968,3288,3126,2844,2249,2184,2483,2618,2114,1713,1363,1549,2470,2588,2101,2421,2642,3250,3599,2740,2634,2376,2260,2653,2715,2398,2382,2890,2920,3060,3112,2695,2321,2641,2762,2783,2961,3123,3039,3116,3043,2618,2635,2885,3238,2742,2888,3233,3226,3127,3175,3586,3614,3528,3527,3373,3410,3180,3631,3330,3204,3095,2602,2012,1559,1430,1610,1605,1565,1562,1982,2370,2522,2622,2416,2342,2530,2461,1935,1782,2068,2385,2763,2885,2220,2114,1813,1940,2601,2946,2590,2392,2574,2203,2046,2798,2597,2457,2796,2854,2704,2825,2048,1812,2264,2453,2186,1876,2096,2344,2257,2373,2818,2648,1990,2126,2554,2620,2712,3239,4012,3209,2524,2609,2500,2724,2785,3270,2900,3149,3520,3660,3430,3348,3319,3034,2743,2479,2734,3156,2722,3136,3471,3703,3824,3804,2577,1348,1830,3304,3499,3514,3323,2666,2731,3262,3128,3244,2881,2965,3879,4579,3203,1416,550,520,454,393,324,294,296,279,279,283,293,289,294,294,291,293,284,276,271,271,266,267,269,269,264,273,273,267,270,287,325,440,628,612,308,279,304,301,315,346,374,522,725,761,708,742,803,948,1016,976,892,833,754,737,810,880,964,1109,1262,1295,1224,1163,1138,1087,1147,1187,1123,1211,1517,1755,1922,1977,1766,1641,1788,1600,1532,1395,1186,1006,885,812,749,680,671,719,742,727,645,590,524,490,473,467,483,492,505,560,627,606,594,636,712,778,755,671,648,684,766,1001,1422,1509,1187,901,854,931,1048,1274,1468,1267,1277,1356,1349,1255,1166,1100,1052,1001,984,1173,1307,1268,1390,2179,3306,4005,3839,3366,3216,4030,4090,3470,3676,3741,3230,3072,3351,3951,4052,3928,4188,4428,4208,3838,3956,4388,4070,3560,3594,3905,3801,3864,3563,3759,4035,4048,3858,3760,3834,3793,3709,3664,3803,3774,3774,4048,4118,4282,4427,4480,4468,4343,4287,4359,3718,2360,1305,1307,1181,1076,957,966,980,859,746,781,785,733,724,636,692,705,658,599,520,605,697,705,690,678,731,757,667,615,643,614,606,611,620,638,629,604,586,584,573,547,519,483,459,448,459,446,490,498,471,464,461,457,448,427,404,404,437,507,529,560,589,606,589,546,502,480,474,477,464,444,431,436,428,392,337,330,336,304,304,294,296,356,385,412,489,486,467,450,441,451,453,447,443,430,427,451,413,442,468,472,460,451,460,471,484,513,580,649,653,674,764,756,793,752,700,649,615,622,636,620,624,648,622,648,660,656,640,568,482,450,448,452,471,475,448,405,402,410,435,431,415,387,395,440,429,365,343,361,371,396,417,409,502,619,702,868,923,857,804,742,720,743,673,604,604,597,564,508,583,545,543,588,562,517,490,475,454,427,404,386,377,376,376,354,332,322,329,351,383,381,368,351,330,314,330,353,357,354,347,336,351,354,332,352,384,447,444,461,487,510,480,458,462,479,530,494,434,434,452,483,454,392,328,399,406,376,357,366,366,367,364,352,345,351,343,323,298,290,287,290,295,292,301,301,283,268,264],[2723,2649,2287,2122,1879,1861,2349,2450,1814,1521,1754,1932,2360,2603,3222,3082,2787,2754,2597,3144,3363,3426,2940,2422,2619,2944,3297,2923,2186,2547,3106,3264,3458,2955,2502,3293,3714,3493,3238,3123,3416,2875,2352,2176,2632,3154,3209,3133,2901,3341,3447,3139,3065,3609,3818,3418,3204,3190,3257,3110,3155,3688,3858,3506,3143,3407,3935,3497,3804,3630,3185,2906,2526,2132,1977,2175,2051,2171,2564,2624,2852,2876,2767,2941,2668,2207,2048,1743,1713,1973,2422,2574,2112,2283,2701,2387,2684,2491,2954,2632,2354,2282,1959,2020,1989,2440,2626,2090,1603,2283,2759,2502,2171,2087,1992,2346,2563,2350,2419,2837,2530,2409,2741,2731,2547,2375,2670,3363,3528,3250,3228,2880,2938,3487,3010,2984,3352,2521,2008,2060,2091,2060,2468,3038,3248,3020,2353,2050,2149,2503,2830,2943,2720,2391,2163,1805,1857,2139,2344,2499,2339,1992,1856,1928,1831,2187,2699,2400,2339,2746,2620,2303,2429,2659,2707,2588,2671,2274,1964,2098,1846,1876,1578,1641,2080,2391,2702,2655,2088,2097,2472,2752,2521,1935,2274,2470,2152,2072,1979,1784,1803,2234,2161,1901,2824,3221,2932,3071,3123,2751,2642,2193,1847,1510,1455,1789,2024,2263,2364,2239,2049,1814,1811,2597,2920,2501,2187,2284,1860,1595,1965,2312,2183,1702,2184,2399,2885,2734,2105,2142,2485,2469,2611,2229,1871,2063,2231,2413,2011,2733,2409,2149,1772,1691,1949,1962,2213,2641,3090,2816,2595,2810,2486,2727,3239,3379,2626,2093,1919,1759,1656,1945,2084,2069,2069,1938,1668,1707,1893,2023,2045,1825,1933,1933,1775,1728,2068,2512,3087,3068,2984,2689,2012,2301,2511,2270,2369,2215,2153,2019,1932,2380,2531,2620,2983,2061,1361,1571,1881,2154,1794,2066,2300,2489,2927,2914,3505,3849,2964,2767,2873,2340,2127,2668,2394,2146,2141,1979,2120,2489,3030,2508,2499,2787,3010,2601,2254,2522,3129,3029,2558,2513,2903,3363,3852,3922,3898,4015,3936,3923,3676,3301,2862,2358,2217,2277,2332,2324,2359,2908,3231,3073,2834,2612,2153,2009,1749,1700,1739,1787,1892,1628,1705,2286,2598,2645,3432,3141,3068,3188,2843,2750,3120,3595,4244,4551,4177,3392,2480,2290,2340,2482,2176,1988,1781,1823,1937,1829,1519,1322,1484,1870,2441,2271,1961,2103,2173,2069,1904,1580,1250,1427,2006,2436,2261,2059,2075,1646,1467,1888,1732,1437,1342,1545,1896,2059,1634,1407,1867,2137,1668,1443,1736,1800,1769,1610,1476,1453,1355,1340,1504,1597,1615,1740,2874,2785,2353,2136,2553,2911,2586,2509,2070,2053,2708,2531,2250,2469,2370,2224,2212,2187,2328,2375,1992,1816,2152,2042,1858,1267,1429,1966,2093,2931,3011,2617,1960,1910,2204,2574,2549,2077,2219,2309,2304,2540,1847,1940,2111,2527,2439,1954,1691,1573,1479,1483,1437,1503,1511,1525,1566,1418,1400,1853,2084,1943,2053,2503,2250,2075,2288,2422,2481,2153,2057,1920,1829,1663,1633,1635,1866,1955,2046,2001,1942,2160,2540,2081,2345,2617,2974,3330,3278,2677,2281,2380,2556,2894,3116,3364,2768,2603,2997,2175,2419,2639,2340,1792,1749,1944,2159,1967,1592,1836,2173,2122,2110,1749,1577,1606,1494,1702,2063,2581,2875,2821,3033,2233,2254,2084,1920,2002,1838,1618,1678,1619,1904,2358,2195,2154,2264,2331,2210,2250,2556,2610,2337,1791,1516,1459,1471,1661,1849,1983,2191,2938,3589,2598,2138,1861,2305,2533,2685,2884,3361,3678,4141,4277,3850,3151,2757,2322,2126,1609,1452,1540,2275,2909,2909,2934,2543,1828,2047,2733,2753,2647,2178,2001,2088,2477,2340,1841,1838,2435,2512,1749,1576,1982,2201,1969,2052,2107,2023,1912,2103,2142,1857,1901,2375,2325,1922,1826,1938,2000,2045,2037,2188,2230,2138,2093,1979,1940,1824,1889,1946,1902,1899,1789,1741,1596,1492,1567,1651,1865,2234,2271,2067,2117,2340,2387,2312,1994,1834,1798,1858,1685,1708,1851,2469,2358,1625,1324,1316,1470,1789,1825,1604,1424,1433,1554,1654,1763,2035,2244,2043,1856,1709,1342,1554,1942,1670,1517,1409,1605,1834,1763,1525,2147,2334,1909,2450,2550,1898,1618,1619,1486,1547,1542,1570,1733,1790,1703,2077,2048,1658,1682,1663,1528,1704,1780,1923,2222,1946,1548,1503,1803,2128,2293,2422,2433,2509,2021,1941,3249,3919,4337,3957,3189,3897,3721,2495,3125,3305,2509,2715,2093,2352,2446,2841,2699,2458,2144,2257,2767,2485,1314,1122,1853,2265,2545,2360,1813,1723,1817,1844,1712,1859,1880,2375,3318,3356,3350,3284,2626,2928,3718,3829,3437,3305,3430,3651,3448,2349,1843,1945,1944,1713,1551,1821,1763,1521,1553,1826,1702,1600,1759,1556,1435,1871,2010,1571,1668,1793,1337,1598,1833,1742,1618,1585,1640,1650,1516,1510,1526,1560,1498,1748,1730,1718,1743,1560,1720,2122,2178,2201,2165,2426,2784,3216,3293,3114,3349,3229,3441,3683,3271,3189,3185,3122,2866,2503,2862,2656,2904,3619,3612,3328,2994,2877,2578,2038,2429,3116,2936,1722,1478,1479,1760,1606,1509,2273,2283,2253,3227,2844,1747,1542,1958,2707,2333,1563,1861,1920,1975,1776,1640,1778,1772,2007,2361,2132,2102,1816,1659,1601,1989,1888,1716,2404,2387,1869,1566,1555,1704,1592,1448,1265,1477,1956,1688,1625,1548,1886,1928,1871,1885,1677,1719,1929,1880,1922,1823,1610,1602,1580,1670,2089,1980,1727,2217,1966,1449,1845,1781,1429,1345,1457,1526,1414,1497,1912,2164,2111,2020,2220,1909,1485,1692,1811,1686,1843,1962,1862,1327,1584,1809,1843,1756,1663,1364,1039,1407,1973,1959,1879,2092,2167,2544,1990,2706,2691,1823,1598,2003,2342,1890,2451,2349,2675,2135,1615,2069,2684,2811,3031,3374,3118,2331,2087,2513,2163,2229,2331,1899,1894,2196,2386,2191,2864,2837,2132,2161,2407,2338,2221,2431,1918,2163,2391,2540,2975,2663,2431,2723,2612,2330,2111,2027,2224,2402,1878,2828,4053,3652,2655,2197,1973,2035,2002,2153,2933,3179,2934,2381,2109,2258,1775,1970,2223,2710,3462,3620,3353,2612,2166,2872,2739,2185,2111,3021,3091,2409,2385,2463,2806,3453,3366,2927,2375,1935,1922,2129,2049,2658,2615,3224,3595,2840,1833,2039,2388,2398,1908,2235,2474,2868,3173,2630,2188,2223,2234,2883,3308,2990,2237,2089,2268,1933,1875,1825,1852,1950,1816,1812,1681,2267,2079,1615,1636,1557,1544,1568,1557,2109,2775,2604,2330,2556,2486,2477,2454,2415,1924,1471,1183,1110,2083,2863,2096,2222,2100,2988,2958,2530,2554,2221,2332,2790,2877,2658,2641,2728,2778,2967,2897,2599,2333,2609,2874,2713,2614,2652,2841,3030,3123,3134,2533,2148,2902,2731,2427,2727,3128,3327,3538,3592,3305,3204,3307,3425,3592,3085,3260,3087,3488,3628,2989,2386,1887,1429,1514,1571,1569,1954,2400,2566,2584,2649,2432,2281,2605,2599,1858,1675,1978,2754,2801,2944,2476,2327,2198,2392,2932,2822,2212,2228,2697,2350,1580,2555,2364,2907,3147,2689,2351,2455,2384,2059,2285,2547,2165,2210,2272,2463,2533,2389,2777,2744,2088,2080,2614,2729,2779,3164,3262,2775,2626,2303,2336,2927,2965,3295,3034,3540,3939,4112,4040,3903,3558,3285,3786,3530,2873,2710,2715,3015,3250,3410,3665,4015,3454,2234,2625,3605,3525,3648,3185,2871,2899,2791,2587,2346,2379,2711,3407,4263,4577,3272,1344,783,510,453,345,285,296,285,278,279,293,299,289,284,289,294,286,280,275,280,276,269,263,252,256,274,274,270,273,279,322,348,480,618,402,294,294,300,312,359,454,597,744,814,749,733,777,902,1001,979,872,795,749,698,713,779,848,970,1143,1190,1211,1116,1089,1051,1138,1206,1127,1111,1324,1582,1829,2184,2201,1931,1943,1649,1525,1368,1174,1032,929,856,789,696,664,682,698,733,689,622,538,494,477,469,473,498,508,571,637,595,572,627,757,874,916,774,678,694,742,935,1216,1402,1420,1149,902,949,955,1099,1358,1272,1165,1206,1256,1224,1140,1057,1018,991,934,999,1072,1091,1135,1446,2307,3333,4118,4252,4133,4376,4297,3540,3651,3632,3176,3267,3875,4195,4196,4225,4384,4339,4175,4028,4201,4259,4201,3893,3949,4168,3963,3427,3292,4073,4887,4990,4690,4427,4407,4329,4045,4195,4180,4120,4277,4295,4352,4371,4211,4136,4384,4534,4242,4077,3110,2338,1378,1249,1262,1098,944,866,868,847,730,688,768,769,740,672,663,661,660,644,618,680,712,644,624,635,689,781,710,600,605,586,571,571,579,605,612,601,587,571,555,529,486,457,451,437,436,419,441,475,461,435,443,436,419,409,389,378,437,483,528,565,597,605,587,535,485,471,470,459,439,435,441,437,419,386,340,328,331,295,303,310,288,340,376,395,452,469,457,434,426,448,463,467,467,472,463,471,447,453,467,457,437,431,444,457,469,508,550,564,612,675,739,714,715,703,661,615,593,594,600,588,603,642,625,646,659,659,643,577,501,461,456,473,527,478,445,402,396,390,479,503,474,443,438,451,427,372,344,350,413,413,461,621,658,609,662,791,890,856,776,709,665,688,674,595,598,608,560,507,550,553,547,584,572,521,467,444,428,402,388,378,365,365,372,359,332,318,328,350,402,381,379,374,349,329,339,362,369,354,350,346,352,394,385,408,428,457,453,450,427,457,451,437,453,467,488,491,493,437,425,455,462,409,348,326,374,382,343,366,356,349,338,336,333,334,339,323,300,297,290,289,295,293,301,299,283,274,266],[1873,2114,2514,2621,2088,1909,2081,2051,1854,1607,2335,2110,1700,2009,2696,2845,2608,2723,2248,2720,2836,3190,2641,2499,2555,2673,2802,2374,2114,2511,2525,2709,2896,2746,2750,2856,3266,3552,3474,3371,3312,3030,2492,1906,2125,2650,3180,3504,3704,4163,3927,3306,3128,3419,3356,3070,3165,3508,3363,3285,3218,3620,4008,3506,3172,3638,4068,3678,3693,3587,3086,2525,2544,1868,1752,1956,1986,2270,2552,2318,2264,2376,2393,2573,3032,3079,2464,1953,1729,1634,2058,2330,2239,2310,3094,3012,2539,2473,2906,3073,3097,2461,2039,2087,2237,2091,2387,2271,2464,2846,2622,2377,2611,2700,2492,2928,2909,2662,2410,2427,2210,2491,3093,3000,2758,2749,2625,2792,3127,3299,3438,3054,3078,3108,2962,3331,3084,2214,1764,1951,2001,2097,2788,3119,3037,2706,2598,2442,2048,2696,2373,2272,2585,3098,3086,2587,2183,1873,2151,2106,2143,2251,2076,1721,1678,1999,2073,2001,2020,2265,2339,2140,2311,2312,2192,2283,2086,1884,2234,2541,2356,2000,1866,2178,2108,2182,2610,2203,2022,2511,2714,3618,3322,2265,2154,2205,2237,2272,2115,1926,1964,2419,2003,1574,2270,2459,2115,2665,3265,3349,2947,2243,1817,1454,1500,1726,1840,2049,2056,2101,1854,1897,1966,2608,3076,2526,1693,1808,1722,1513,1892,2471,2361,1802,1995,2510,3588,3340,2438,2534,2761,3044,3045,2249,1859,1838,1711,2259,2179,2380,2241,1913,1559,1583,2104,2486,2530,2475,2707,2390,2469,2812,2847,2789,3230,3357,2888,2132,1682,1645,1683,1728,2339,2396,2230,2024,1713,1398,1469,1700,1604,1993,2246,1626,1311,1665,2263,2319,2406,2474,2475,2361,2666,2647,2238,2078,2030,2034,2238,2272,2498,2871,3374,3073,2601,2477,1645,1503,1840,1791,1742,1945,1996,2272,2703,2561,2554,3235,2437,2088,2311,2275,2254,2430,2085,1743,1737,2019,2287,2326,2768,2522,2430,2976,2942,2639,2417,2280,2629,2640,2322,2854,3454,3611,3897,3603,3518,3871,3825,3472,3312,3543,3625,2928,2468,2254,2264,2322,2264,2541,2157,2049,2347,2242,2393,2633,1979,1593,1659,2008,1750,1804,2404,2896,3209,2839,2901,2643,2524,3033,3163,2907,2832,3161,3673,4046,3564,2791,2229,2574,2489,1997,1885,1732,1584,2051,2498,2377,2062,1700,1722,2133,2438,2331,2275,2004,2100,2142,1799,1732,1543,1272,1424,1830,1830,1700,1881,1825,2012,1860,1435,1647,2116,2018,1858,2043,1904,1707,2442,2897,2226,2055,2340,2068,1548,1322,1698,1908,1738,1595,1532,1645,1747,1856,2752,2557,2470,1798,1486,2083,2470,2339,1819,1815,2166,2200,2050,1955,2201,2456,2246,2208,2294,2170,2018,2185,2575,1891,1751,1508,1407,1740,2282,2814,2611,2003,1827,2040,2276,2460,2533,2050,2048,2523,2230,1923,1488,1978,2256,2184,2114,2000,1627,1417,1528,1585,1426,1732,1625,1766,1813,1830,1758,1800,2115,1910,1671,2347,2298,2228,2360,2785,2818,2121,2187,2056,1969,2202,2180,2076,1980,1921,2107,2009,2125,2310,2136,1859,2098,2230,3330,3821,3130,2635,2220,2626,3056,3277,3438,3426,2713,2983,2934,2252,2669,2895,2420,1851,1895,2250,2881,1946,1560,2791,2787,2274,2092,1920,1756,1676,1562,1659,1982,2411,2284,2439,2620,1725,1723,1893,2018,1726,1564,1599,1609,1561,1905,2666,3017,2614,1871,1923,1880,1770,2014,2382,2130,1790,1588,1460,1600,1862,1866,2076,1862,1713,2286,1780,2178,2464,2405,2865,2950,2629,2922,3414,3602,3813,3696,2753,2230,2093,2124,2612,2688,2259,2610,2678,2315,2657,2483,1643,1776,2480,2702,2430,2328,2341,2151,2382,2281,1793,1666,1930,1743,1397,1822,2109,1796,1719,1964,2258,2021,2144,2292,2230,2150,2051,2211,2113,2031,1799,1690,1786,1826,1588,1667,1893,2128,2101,2024,2182,1636,1826,1945,1896,1522,1270,1763,1484,1282,1761,1775,1649,1987,2309,2221,2188,2104,2173,2012,1968,1854,2064,2207,1892,1666,1938,2143,1947,1811,1465,1419,1584,1798,1744,1467,1315,1498,2057,2138,1721,1912,2172,1975,1586,1585,1415,1744,2349,1828,1578,1590,1613,1722,1721,1710,2025,1782,1916,2603,2416,1788,1725,1654,1570,1474,1445,1674,1699,1528,1727,1980,1783,1592,1573,1462,1369,1578,1714,1806,2035,2080,1737,1702,1987,2146,2043,2104,1796,2020,1792,1936,2798,3638,4078,3507,3217,4320,4048,2742,2194,2173,2643,2447,2440,2598,2315,2385,2366,2426,2353,2266,2520,2283,1592,1356,1352,1954,2441,2376,2227,2020,1687,1648,1764,1814,1486,1537,2146,3205,3240,3104,3040,3022,3376,3602,3410,3606,3619,3625,3430,2476,1986,1806,1870,1666,1476,1770,1881,1698,1655,1776,1615,1617,1636,1422,1454,1914,1709,1274,1578,1430,1309,1548,1655,1559,1525,1660,1572,1561,1658,1595,1535,1479,1538,1729,1527,1654,1822,1565,1779,2360,2437,2490,2316,3291,3854,4233,4473,4143,3330,2758,2939,3142,3235,3348,3375,3310,3286,3000,3141,2417,2292,3287,3252,2799,2711,2531,2193,2293,2885,2395,2287,1689,1557,1598,1727,1588,1663,2916,3703,3594,3041,1969,1895,2751,2987,2428,2131,1982,1941,1887,1928,1839,1626,1634,1633,1798,2405,2562,2061,1693,1680,2110,2086,1708,1692,2005,1897,1650,1460,1504,1849,1656,1764,1354,1388,1573,1395,1461,1450,1706,1654,1376,1521,1857,2408,2127,1744,1760,1902,1702,1510,1537,1578,1856,1769,1561,1885,1676,1412,1716,1820,1445,1343,1592,1687,1586,1771,1758,1730,1947,1918,1944,1866,1631,1978,1807,1637,1923,1989,1489,1264,1610,1839,2018,2055,2079,2381,1744,1763,1995,1834,1600,1705,2095,2018,1559,2647,3574,2236,1927,2999,2655,2261,2632,2522,2436,1926,1624,1898,2383,2941,3793,3952,3010,2740,2622,2642,2318,2674,2633,2391,2061,2040,2076,2284,2366,1830,1910,2780,2763,2706,2438,2251,2172,2624,2752,3050,3248,2937,2802,2821,2440,1901,1788,1826,1829,1932,1838,2591,3160,3007,2422,2046,2079,2045,2105,2335,2770,3195,2845,2223,2754,2802,2286,2257,2359,2834,3392,3532,3780,3205,2846,3679,3602,2614,1478,1866,2211,2318,2788,2792,2876,3540,3517,2957,2269,1972,1798,2093,2286,2326,2508,2685,2200,1408,1496,1866,2242,2365,1815,2362,3122,3078,2350,2113,2101,2369,2354,2338,2556,2532,2301,2146,1829,1320,1498,1803,1844,1804,1965,1915,1750,1700,1560,1682,2034,1925,1744,1795,2022,2718,2751,2178,2314,2629,2479,2156,2147,2244,1537,1400,1345,1462,1782,2752,2260,2131,2386,2742,2518,2623,2388,2246,2645,2912,2843,2711,2695,2642,2753,2701,2990,3160,2933,2476,2047,2029,2055,2357,2776,3085,3050,2846,2362,2331,2580,2757,3042,3213,3250,3240,3107,2871,2977,3074,3044,3403,3585,3463,3220,3008,3518,3652,3269,2849,2458,1847,1520,1544,1808,2341,2641,2602,2570,2636,2614,2401,2199,1948,1622,1753,2110,3079,3044,2934,3078,3086,3116,3242,3384,3023,2182,2169,2588,2579,2081,2712,2136,2431,2764,2567,2332,2426,2484,1997,1847,2029,2176,2268,2200,2711,2956,2566,2562,2753,2364,2235,2814,2908,2742,2846,2796,2700,2508,2271,2247,2391,2514,2641,3466,4140,4081,4071,4023,3956,3871,3643,4006,4305,4094,3572,3270,2832,2769,3216,3735,4148,3852,3515,3714,3660,3488,3520,3772,4031,3430,2769,2395,2305,2520,2887,3411,3861,4516,4556,3497,2144,863,485,384,317,304,289,295,287,297,295,289,290,294,288,286,287,286,283,276,270,263,256,261,265,271,274,282,288,317,319,408,462,380,310,293,287,304,365,539,742,814,815,791,731,752,854,947,953,849,767,729,678,655,690,757,854,1006,1067,1118,1073,1042,1013,1047,1133,1134,1082,1184,1386,1646,2214,2648,2459,2302,1820,1506,1353,1184,1090,995,900,857,738,666,657,671,712,720,682,575,505,497,481,493,518,543,603,563,567,577,602,762,977,1070,878,704,711,736,898,1215,1350,1442,1233,1015,978,988,976,1180,1239,1103,1100,1139,1109,1094,1062,1015,977,920,914,919,932,925,1059,1404,2007,2934,3584,3970,4144,4356,4186,4181,4159,4084,4263,4516,4444,4256,4120,4042,4114,4253,4231,4144,4026,4033,3857,3682,3912,3910,3469,3768,4629,5208,5201,4773,4376,4668,4676,4420,4516,4471,4408,4340,4269,4260,4251,4213,4069,4420,4553,4348,3927,2542,2100,1515,1216,1256,1072,1024,847,803,788,710,682,761,753,713,715,666,625,644,640,611,591,608,670,636,592,622,724,703,619,595,572,549,542,545,576,594,590,573,567,531,491,455,438,430,414,401,395,409,440,466,424,423,421,405,395,390,393,416,452,490,533,554,564,596,545,477,459,462,444,420,419,430,431,417,371,357,334,314,296,296,309,294,316,358,392,414,440,449,431,421,437,456,474,502,513,504,468,442,438,433,428,418,420,427,442,464,491,497,503,560,607,654,652,629,645,642,604,578,584,578,555,584,644,641,650,656,637,585,542,513,478,480,490,585,511,473,430,417,408,446,482,497,464,448,453,437,382,371,331,463,542,589,778,791,662,645,744,828,861,769,677,639,642,643,590,588,613,568,511,542,554,546,550,524,484,445,422,398,379,367,358,351,353,368,364,331,318,325,340,403,386,382,382,364,342,346,375,390,381,383,410,403,438,451,467,473,466,457,449,421,425,439,448,456,463,468,464,490,462,421,417,443,416,375,323,326,374,344,349,346,336,321,315,321,330,333,330,315,301,296,291,295,291,295,292,277,273,260],[1611,1603,1837,2039,2078,2098,2446,2874,2844,2580,2622,2002,2005,2481,2131,1963,2155,2210,1957,2330,2200,2372,2378,2574,2536,2569,2450,2013,2314,2920,2413,2201,2301,2496,2708,2730,2784,3297,3414,3274,3351,3435,2970,2391,2758,2542,3226,3334,3000,2560,2718,3116,3095,3139,3132,2849,3016,3610,3497,3448,3249,3505,3819,3294,2918,3540,3876,3731,3626,3425,2599,1953,2250,2090,2112,2285,2304,2099,2119,2122,2088,2576,2886,3186,3794,3599,2663,2209,2019,2281,1871,1993,2356,2342,2435,2329,2099,2236,2373,2678,2916,2149,2470,2503,2542,2148,2147,2334,2799,2766,2309,2275,2676,2989,2806,3097,3242,2958,2591,2283,2019,2618,3160,3198,3246,3129,3041,3453,3095,3195,3175,2951,3571,3792,3626,3480,3350,2921,2271,2083,2398,2325,2342,2553,2514,2327,2493,2467,2447,2867,2845,2386,2264,2577,3340,3663,3110,2430,2264,1998,2138,2190,2135,1761,1562,1858,2274,2061,1844,2103,2382,2304,2109,2256,2618,2293,1759,1957,2609,2692,2625,2722,2622,2325,1801,2047,2097,1951,2330,2350,1918,2524,2378,1946,1940,1964,2252,2403,2448,2077,2293,2595,1760,1781,1880,1378,1154,2017,3037,3293,2786,2058,1572,1486,1610,2286,2406,2169,2532,2426,2217,2220,1946,2387,2897,2177,1418,1794,1837,1567,1785,2055,2151,1990,2233,2745,3021,2733,2578,2834,2981,3139,2597,2078,2319,2469,2557,2382,2171,2651,2597,1756,940,1048,2132,2951,3240,3098,2610,2391,3118,3997,3471,2889,3021,2874,2358,2128,1797,1872,2000,1902,2527,2258,1821,1758,1636,1425,1938,2173,1911,2043,2129,1924,1997,2237,2478,2146,2051,2297,2152,2334,2841,2383,2231,2017,2104,2240,2612,2619,2670,3145,3163,2354,2531,3117,2726,2191,2024,1803,2148,2676,2618,2507,2420,2613,2499,2356,2321,2301,2566,2959,2491,2061,1920,1710,2059,2591,2441,2093,2261,2312,1991,2172,2280,2354,2229,2003,2073,2185,2293,2766,3366,3766,3735,3787,3561,3935,4182,3654,3172,3469,4108,3935,3064,2565,2333,2379,2317,2044,1267,1034,1773,2280,2503,2612,2233,2317,2112,2172,2029,2765,3725,3351,3141,2977,3086,3147,2854,3002,2998,3052,3026,2568,2544,2404,2318,2192,2428,2958,2697,1906,1863,2271,2207,2202,2520,3206,3164,2701,2155,2103,2055,1985,2001,1503,1714,2083,1819,2078,1997,1837,1656,1408,1557,2021,1947,1753,1890,1926,2150,2259,2288,2090,1829,1896,1766,1660,2203,2096,1805,1952,1850,1704,1213,1279,1900,2286,2079,1818,1688,1478,1719,2037,2363,2415,2153,1267,1246,1236,1095,1543,1577,1786,2357,1987,1591,1579,1980,2240,2235,2334,2302,1973,2005,2100,1963,1893,1689,1710,1785,1844,2150,2685,2255,1745,1913,2137,2257,1824,2015,1865,1713,2131,2100,1914,1794,2526,3200,2876,2615,2176,1510,1393,1343,1388,1359,1452,1736,2490,2474,2065,1852,1877,2324,2426,1895,2135,1954,2093,2326,2333,2525,2369,2526,2388,2170,2027,1837,1961,1919,1870,2093,2312,2097,2229,2232,2349,2166,2364,3610,4124,3426,2912,2354,2893,3567,3514,3801,3167,2550,2751,2147,2155,2889,2453,1995,1768,1998,2207,2894,1912,1346,2088,1891,1561,1989,2094,1792,1781,1834,2307,2879,2872,2208,2441,1970,1914,2232,2723,2468,2013,1853,1718,1663,1796,2167,2658,3028,2581,1948,1695,1772,1931,2107,2172,2030,1859,1506,1604,2221,1974,1939,2253,1745,1539,1503,1688,2383,2364,2222,2815,2612,2243,2405,2719,2404,2408,3041,3077,2226,1891,2276,3083,3298,2861,2700,2767,2510,2719,2733,1970,1693,1959,2367,2062,1807,2129,2359,2476,2160,1707,1636,1948,1804,2231,2226,1870,1644,1761,1954,1836,1823,1856,1945,2181,2100,1895,1719,1504,1422,1612,1636,1727,1675,1204,1287,1619,1898,1797,1835,1956,1489,1915,1988,1825,1432,1560,2083,1693,1466,1803,1869,1765,1729,1982,2001,1950,1641,1575,1432,1394,1477,1790,1999,1927,1952,2149,1953,1624,1481,1329,1395,1627,1656,1503,1346,1533,1684,1870,1959,1739,2111,2696,2240,1612,1363,1453,1663,2320,2104,1717,1666,1499,1526,1632,1514,1571,1562,2084,2446,1846,1776,1836,1639,1661,1477,1506,1741,1671,1472,1535,1492,1493,1656,1646,1444,1357,1617,1737,1685,2160,2580,2305,1973,2030,1907,1793,2181,1982,1880,1651,2342,3018,2876,3043,2972,3536,4147,3639,2588,2486,2460,2609,2267,2399,2365,2258,2178,1963,2265,2481,2472,2884,2611,2000,2197,2120,2020,2307,2270,2236,2202,1801,1830,1940,1509,1580,1889,2130,2599,2548,2679,3237,3122,3097,3494,3485,3637,3557,3574,3498,2423,2078,1901,1903,1951,1816,1666,1685,1860,1995,1756,1482,1528,1419,1394,1448,1943,1753,1634,1678,1565,1629,1469,1422,1493,1429,1638,1620,1527,1560,1626,1593,1454,1489,1585,1443,1450,1646,1643,1641,2037,2547,3083,3616,4144,4202,4262,4441,4385,3947,3286,2798,2777,3097,3530,3710,3264,2888,2911,3604,3415,2876,3012,3204,2835,2432,2371,2350,2853,3765,3373,2442,1887,1816,2012,1793,1593,2114,3104,3662,3365,2590,1883,1953,3225,3352,2050,1788,1904,1717,1650,1714,1698,1571,1557,1659,1733,2072,2082,2425,2006,1915,2203,2024,1758,1704,1901,1639,1410,1416,1635,1627,1788,2056,1605,1466,1569,1538,1390,1522,2145,2316,1787,1523,1818,2135,1854,1501,1811,1776,1583,1633,1637,1871,2339,2160,1721,1510,1506,1370,1666,1774,1529,1331,1599,1771,1594,1606,1488,1419,1937,1835,1716,2026,2236,2589,1980,1473,1555,1578,1627,1805,1832,1983,2072,2271,2148,2246,2085,2307,2049,1810,1866,2098,2719,2796,2546,3641,3863,2720,3066,2862,2457,2793,2757,2214,2405,2599,2158,2543,3017,3301,3615,2880,2313,2401,2202,2382,1825,1781,2446,2558,2376,2383,2302,2066,1804,2280,2403,2621,2828,2722,2809,2711,2523,2551,2705,2988,2775,2833,3050,2940,2629,2320,2231,2041,2037,2143,1848,1789,2047,2300,2578,2592,2433,2318,2025,2188,2865,2761,2310,2650,3065,3141,3009,2466,2379,2975,2990,3168,3226,2644,3078,3520,3897,3333,2138,1878,2154,2542,3087,3287,2966,3322,2617,2564,2279,1989,1666,1897,1878,1796,2021,2016,1586,1330,1947,2305,2091,1920,1806,2188,2636,2308,2065,2052,2213,2460,2323,2205,2118,2179,2458,2222,1803,1292,1519,1852,1784,1806,1842,1910,1908,1712,1663,1847,2634,2104,1565,1954,2519,2909,2623,2485,2822,2780,2426,2121,2759,2690,2430,1768,1783,1875,1683,2096,2148,1901,2354,2929,2924,2709,2066,2353,2498,2478,2325,2349,2597,3204,2924,2675,3141,3256,3280,2840,2006,2387,2511,2341,2381,2557,2476,2381,2933,2832,2298,3098,3428,3563,3352,2980,2648,2599,2918,3199,3002,3194,3406,3563,3594,3409,3448,3525,3895,3187,2618,2554,2084,1559,2010,2576,2621,2629,2436,2437,2588,2050,1621,1474,2005,2235,2314,2684,2415,2930,3443,3353,3603,3719,3525,3387,2451,2106,2498,3242,3345,3130,2420,2230,2567,2719,2546,2640,2406,1998,1697,1755,2001,2258,2317,2741,2846,2458,2200,2421,2432,2299,2885,2879,2618,2766,2986,2788,2535,2665,2444,2308,2104,2074,2823,3174,3129,3281,3769,3768,3584,3665,3915,4005,3875,3551,2784,2384,3086,3629,3671,4086,4017,3873,3873,3678,3560,3453,3447,4069,3920,3315,3150,2973,2953,2964,3206,2953,3780,4496,4681,4057,2005,679,407,357,322,295,299,274,284,279,285,296,293,295,290,284,283,282,279,269,267,259,258,261,266,265,274,280,289,306,366,364,330,313,310,309,304,354,574,882,916,820,806,762,732,755,829,881,815,746,727,654,621,627,675,768,879,944,993,1011,999,982,996,1073,1173,1114,1136,1283,1442,2180,2962,3278,2926,2019,1512,1340,1196,1111,1045,929,888,828,679,643,672,693,743,720,626,566,524,505,518,554,570,644,641,599,581,572,725,1104,1309,1047,765,698,742,912,1146,1282,1382,1279,1097,1011,992,937,1026,1134,1062,1050,1066,1014,1016,1037,997,933,884,879,854,829,802,823,933,1125,1418,1885,2262,2586,3593,4210,4317,4500,4648,4665,4653,4730,4597,4218,4063,4208,3926,3740,4040,3994,3863,3874,3751,3859,3715,3628,4104,4660,4728,4400,4176,4002,4309,4551,4474,4401,4328,4123,4003,4152,4495,4752,4798,4332,4148,4287,4288,3659,2235,1743,1655,1464,1206,959,991,880,774,719,678,648,681,706,685,694,678,637,641,625,586,563,565,651,597,551,583,644,645,625,605,566,544,535,538,557,573,575,568,561,525,497,447,419,407,394,376,370,399,412,446,418,410,405,395,394,395,401,423,450,475,483,504,520,586,553,473,444,439,423,416,423,416,416,426,360,352,347,320,299,294,295,305,317,342,372,400,420,432,423,425,429,441,462,490,476,430,404,397,388,389,400,393,390,414,418,439,467,466,473,504,548,596,621,578,622,630,602,579,571,578,560,595,653,668,673,651,620,590,557,569,509,525,523,666,597,487,468,445,463,480,484,491,468,443,439,432,400,407,415,560,750,772,769,757,655,596,665,703,761,717,654,619,617,606,588,590,600,586,544,555,553,543,517,477,456,428,406,384,365,347,340,343,350,361,364,344,325,335,337,382,386,378,388,382,362,355,394,420,414,415,468,458,455,475,480,473,466,457,442,423,413,415,436,444,453,455,456,466,484,446,412,429,421,390,356,328,338,340,342,341,327,308,313,318,323,333,335,321,314,302,293,285,286,282,275,273,269,259],[1903,1822,1788,2052,1958,2248,2534,2996,3858,3860,2817,2157,2483,2733,1958,1950,2421,2004,1771,2086,2224,2147,2367,2447,2376,2451,2312,2352,2768,2722,2138,2317,2408,2671,2718,2647,2996,3566,3614,3653,3508,3638,3464,3137,2470,2190,2846,2797,2713,2611,2678,3008,3220,3285,3068,2665,3209,3436,3666,3749,3398,2867,3156,3366,3203,3447,3574,3675,3728,3421,2687,2231,2361,2369,2153,2104,1996,1999,2343,2282,2440,2965,2873,2732,3317,3328,2729,2516,2717,2678,1997,1981,2348,2286,1832,1995,2049,2418,2436,2887,2284,1852,2402,2559,2636,2523,2122,2063,2535,2784,2411,2088,2278,3088,2944,2996,3256,3210,3141,2661,2194,2318,2688,2949,3041,3266,3083,2875,2851,3130,3318,3408,3474,3678,3882,3979,4188,4140,3362,2789,2758,2288,1908,1799,1917,2292,2549,2525,2773,3305,2653,2379,2402,2107,3038,3747,3624,3247,3205,3002,2463,2267,2140,1935,1854,1824,2280,2310,2264,2579,2776,2510,2556,2490,2391,2099,1713,1941,2438,2767,3086,3119,2653,2037,1593,1924,1630,1913,2354,2022,1848,1794,1669,1743,1556,1754,2205,1963,2060,2655,3404,3264,2286,2140,1944,1052,889,1818,3129,3610,3234,2597,2332,2194,2459,2899,3145,2871,2790,2465,2441,2331,1888,2148,2565,1716,1416,1839,1722,1726,1967,2353,2321,1968,2286,2591,2476,2391,2287,2535,2857,2780,2328,2645,3109,2734,3276,3204,2591,3184,3010,1868,857,1277,2631,2997,2599,2668,2328,2660,3861,4324,3544,2219,1723,1552,1570,1919,1650,1737,1931,1992,2413,2145,1576,1640,1532,1426,1856,1821,1760,1707,1885,1804,1940,2287,2264,2078,2136,2265,2040,2333,2578,2668,3084,2463,2094,2578,2499,2481,2833,3371,3028,2791,3044,3210,2917,2370,1998,1839,2352,2437,2522,2766,2554,2049,2061,2110,2450,2649,2577,2845,2330,2138,2056,2143,2845,2415,1936,2016,2082,1659,1605,1977,2464,2740,2535,2338,1860,2149,2636,2754,3508,3979,3877,3646,3262,3337,4065,4071,3510,3793,4537,4585,3869,3217,2710,2455,2128,1873,1523,963,1264,2128,2386,2074,1892,2131,2239,2292,2862,3356,3517,3139,2440,2124,2787,3153,2908,2658,2399,2562,3069,2845,2070,1878,2133,2213,2330,2547,2805,2822,2598,2519,2455,2117,1758,2492,3264,3483,2923,2321,1908,1952,1642,950,1246,1684,2234,2589,2397,2092,1894,1720,2115,2276,1750,1649,1858,1926,2217,2053,2326,1974,1592,1602,1673,1650,1307,827,1253,1772,1571,1730,1489,2262,2711,2600,2139,1774,1495,1343,1690,2279,2389,2237,2226,1287,1009,1173,1182,1259,1540,1997,1973,1848,1707,1424,1683,1854,1916,2066,2081,2017,2472,2273,2017,2220,1703,1517,2140,2545,2662,2556,1808,1713,2017,1971,1770,1631,1855,1993,1876,1898,2287,2336,1937,2009,2875,2746,2486,1765,1388,1454,1470,1427,1367,1366,1860,2466,2357,2115,2006,2409,2531,2580,2357,2110,1835,2013,2334,2687,3324,3543,2898,2190,1930,1517,1419,1685,1896,2036,2287,1829,1589,2001,2333,2275,2160,2269,2789,2983,2714,2382,2246,2406,3149,3328,3282,2768,2625,2653,1978,1775,1944,1909,2072,1870,1914,2246,2479,1711,1360,1610,1629,1729,2081,2074,2182,1918,2147,3288,3923,3973,3261,2373,1741,1830,2260,2520,2666,2659,2232,1863,1949,1737,2030,2165,2220,1975,1862,1779,2024,2160,2090,2188,2054,1750,1514,1555,1761,1550,1705,2147,1844,1586,1477,1678,2448,2698,2603,2810,2413,1874,1842,2313,2358,2364,3029,2511,1744,2053,2677,3227,3130,2517,2728,3139,2608,2764,2592,2153,1743,1443,1736,1704,1660,2093,2557,2125,1810,1970,2232,2691,2388,2375,1738,1506,1576,1502,1550,1795,1983,1670,1458,1626,1650,1808,1688,1753,1775,1666,1586,1765,1628,1670,1931,1716,1974,1728,1586,1421,1370,1588,1782,1789,1728,1996,1983,1432,1598,1741,2049,2105,1996,1784,2070,1848,1461,1406,1539,1380,1320,1749,2200,2364,2013,2047,1796,1552,1534,1379,1570,1757,1637,1470,1434,1523,1594,1494,1495,1825,2309,2450,2064,1891,1960,1721,2019,2439,1920,1676,1693,1527,1426,1554,1438,1390,1628,2185,2106,1579,1852,1851,1642,1658,1710,1710,1864,1707,1656,1631,1503,1425,1477,1554,1520,1437,1660,1560,1579,1950,2523,2485,2233,2159,1878,1599,1932,2141,1917,1946,2734,3564,2792,2757,3340,4333,4268,3086,2414,2835,2940,2396,2048,2215,2514,2823,2514,2438,3286,3106,3024,3342,2917,2154,2513,2735,2359,2059,1782,2005,2116,1960,2203,2077,2172,2597,2377,2475,2697,2473,2809,3405,3480,3403,3633,3636,3547,3472,3541,3343,2186,1802,2106,2255,2194,1989,1901,1662,1683,1742,1647,1594,1804,1938,1776,1870,2246,2017,1524,1503,1605,1704,1420,1508,1452,1357,1581,1679,1523,1390,1537,1559,1419,1493,1657,1471,1420,1645,1679,1548,1918,2228,3199,4078,4140,3906,3962,4121,4064,4360,4233,3518,3352,3374,3782,3943,3814,3305,3143,3625,3714,3166,2871,3377,3440,2316,2327,2790,3232,3983,4224,3172,1832,1704,1896,1639,1775,2709,3362,3046,2387,2585,2039,1716,2025,2120,1837,1692,1667,1607,1633,1685,1635,1683,1648,1677,1797,1831,1620,2222,2157,2042,2299,2178,1950,2048,2304,1823,1566,1615,1899,1865,1940,2014,1888,1497,1469,1844,1566,1418,1442,1755,1915,1601,1794,1835,1650,1721,1833,1800,1853,1689,1723,1792,1954,1934,1928,1662,1483,1496,1816,1747,1460,1450,1632,1546,1344,1428,1382,1410,1640,1670,1622,1548,1803,2199,1897,1606,1598,1433,1785,2009,2017,2179,1861,2717,3642,2719,2021,2332,1914,1463,1628,2190,2663,2498,2800,3128,2840,2893,2849,2535,2715,2832,2235,1847,2585,2552,2194,3120,3359,2849,2878,2492,2612,2701,2491,2090,1666,2098,2404,2036,2307,2351,2319,2084,2519,3074,2741,2786,3028,2621,2551,2544,2620,2829,2752,2865,2562,2385,2662,2913,2978,3283,2958,2632,2182,1995,2110,2060,2030,2868,3318,2394,2197,2888,2446,1860,2030,2189,2270,3017,3540,3409,3078,2824,3052,2845,3020,2852,2917,3276,3301,2987,3526,3884,3155,2523,2609,2456,2841,3221,2696,2504,2208,2227,2176,2070,1809,1724,1685,1910,1816,1554,1498,1739,2447,2405,2042,1776,1778,2012,2131,1808,1758,2066,2300,2448,2675,2411,2417,2786,2898,2349,1789,1561,1968,1810,1500,1860,1797,1927,2230,2272,2194,1955,2276,1980,1636,1768,2145,2509,2708,2857,2817,2376,1892,2422,3100,3113,2852,3216,2670,1856,1677,1770,2310,2404,2204,2853,3116,2303,2083,2474,2293,2235,2346,2320,2436,2946,2942,2500,2644,3120,3207,3187,2580,2896,2777,2240,1937,1969,2041,2338,2866,2814,2402,2807,2855,3168,3278,2898,2580,2684,2952,3094,2972,3032,3203,3355,3789,3895,3460,3542,4000,3646,2896,2778,2648,1935,2051,2670,2730,2846,2706,2483,2173,1558,1498,1694,2332,2279,2188,2344,2490,2733,2754,2810,3542,3273,3101,3174,2671,2223,2252,3060,3614,3451,2603,2048,2558,2846,2261,2291,2296,2078,1735,2018,2093,2213,2188,2414,2645,2318,2110,2505,2791,2337,2552,2486,2379,2687,2721,2818,2784,2533,2288,2256,2169,2211,2938,3153,2906,2977,3225,3229,3256,3563,3965,3906,3448,2967,2846,2964,3042,3395,3557,3981,4071,3784,3750,3853,4013,3729,3366,3784,4000,3816,3830,3968,3950,3676,3428,3011,3971,4647,4692,4518,3181,1375,494,376,316,307,292,288,307,304,298,293,292,297,292,289,275,275,273,267,266,265,264,271,268,260,247,270,273,299,310,302,314,335,333,341,319,349,547,855,941,868,798,758,751,729,774,818,812,760,753,653,592,587,605,682,770,864,909,953,944,935,960,997,1150,1155,1178,1347,1436,1960,2686,3249,3041,2123,1553,1344,1194,1061,1043,973,897,901,753,636,652,675,759,870,821,653,583,538,550,644,654,681,688,666,675,606,707,1062,1378,1245,929,774,821,1022,1195,1288,1317,1250,1132,1057,1016,907,931,1017,1015,983,983,925,901,963,954,872,838,835,800,738,712,720,831,882,913,980,961,1075,1753,2442,2932,3482,4247,4428,4516,4523,4472,4428,4300,4288,4034,3499,3515,3716,3803,3873,4035,4001,3381,3872,4163,4263,4219,3938,4069,4283,4663,4708,4288,4055,4067,3960,4050,4095,4843,4947,4656,4203,4068,4097,3893,3053,1960,1719,1588,1394,1117,948,1047,973,788,693,689,668,664,685,658,666,675,630,626,613,601,557,526,584,595,582,595,619,605,618,609,564,539,535,544,565,591,605,614,561,516,487,450,412,396,388,376,375,397,410,413,409,403,391,380,379,378,399,430,451,467,484,523,523,560,544,472,430,417,404,413,415,418,410,413,375,334,344,335,308,295,288,295,320,337,330,383,395,409,407,415,419,436,448,440,423,412,408,385,369,374,371,366,359,400,399,410,463,497,490,493,528,549,620,575,608,634,614,588,556,582,589,603,666,683,694,663,634,579,554,584,572,601,590,698,665,580,550,483,479,550,512,478,462,447,434,407,439,481,511,700,833,738,658,610,591,517,558,633,715,700,636,609,605,584,585,613,569,591,572,550,528,521,491,463,445,423,404,385,367,356,351,362,360,366,368,350,333,339,331,378,406,376,407,404,384,363,395,413,433,433,472,500,477,469,483,472,468,461,446,424,409,409,423,437,443,445,445,449,465,459,439,429,421,408,373,346,326,332,330,329,324,312,312,321,338,333,332,329,330,312,293,286,288,283,270,266,268,266],[1985,2548,2554,2266,1755,1940,2367,2548,3260,3707,2812,2536,2384,2373,2072,2579,2751,2614,2092,2037,2521,2342,2235,2085,2095,2229,2710,2700,2670,2626,2472,2503,2590,2645,2609,2428,2643,3243,3170,3408,3829,3673,3399,3232,2332,2030,2341,2380,2567,2701,2467,2762,3022,3420,3273,2940,3329,3552,3784,3770,3384,2930,3164,3278,3316,3500,3574,3560,3387,2940,2414,2019,1992,1932,1802,1876,2007,2097,2099,2152,2614,2968,2755,2247,2784,2994,2887,2843,2864,2628,2229,2042,2253,2407,2077,2012,2114,2546,2566,2753,2185,1747,2181,2704,2621,2544,2535,2231,2476,2840,2502,2197,2788,2947,2160,2562,2977,2918,3091,3062,2575,2326,2435,2057,2470,2979,3134,2809,2775,3198,3511,3197,2875,3492,3798,3984,4197,4056,3649,2846,2315,2157,1960,1722,1927,2226,2619,2740,2964,3382,2809,2703,2821,2455,3131,3753,3692,3544,3454,2807,2281,2215,2056,1982,2020,2083,2285,2209,2123,2548,2931,2689,3007,2534,1737,1842,1901,1989,2132,2459,2753,2909,2470,1689,1686,1864,1905,2403,2314,2090,2041,1998,2020,1753,1899,2657,2862,2395,2072,2546,2976,3173,2784,2423,2105,1071,1067,2293,3230,3099,3025,3161,3389,3009,3176,3609,3615,3406,3189,2921,2320,1842,1897,2005,2049,1663,1600,2004,2072,2175,2141,2158,2389,2194,2049,2141,2362,2554,2270,2004,2780,2859,2543,2895,2726,2404,2491,2207,2636,2645,2142,1850,1124,1413,2778,2819,2078,1831,1674,2292,3275,3459,3071,1698,1393,1293,1377,1863,2074,2112,2080,2228,2430,2155,1909,1597,1483,1627,2276,2298,1973,1784,1737,1778,1738,1827,1979,2159,2422,2374,2052,2451,2316,2175,2817,2700,2380,2589,2189,2485,3177,2569,2222,2643,2691,2839,2472,2448,2102,2347,2350,2191,2218,2714,2462,1743,1843,1972,2140,2269,2637,2577,1989,2138,1996,2345,2500,2046,1911,2208,2024,1889,2054,1935,1845,1945,2098,2306,2097,1984,2438,3182,3516,3685,3758,3228,3109,2730,3186,3654,3693,3816,4002,3925,3930,3969,3333,2632,2254,2008,1867,1253,923,1488,1947,1483,1684,1889,1900,2871,3780,3797,3454,2844,2004,2470,2641,2523,2429,2501,2764,2634,2810,2646,1986,2032,2090,2076,2039,2433,2586,3147,3161,3102,3127,2089,1462,1713,2383,3521,4082,2862,1788,1921,1154,1109,1549,1794,1825,2098,2043,1876,1777,1624,1660,1793,1439,1600,1813,1685,1565,1495,1974,1783,1591,1688,1464,1337,1218,833,1470,1770,1893,1626,1707,2412,2776,2762,2386,1790,1401,1334,1624,2114,2357,1854,1837,1980,1724,1326,1267,1184,1515,1860,1666,1996,2001,1527,1921,1979,1970,1776,1581,1715,2357,2415,2211,2153,1967,1856,2227,2744,2602,1814,1794,2033,2164,2062,1771,1831,2028,1854,1665,1875,2063,1937,1663,1653,2369,2754,2238,1546,1483,1539,1617,1631,1671,1777,1865,2045,2281,2450,2020,2021,2469,2553,2578,2532,2160,1677,1994,3055,3754,3584,3106,2898,2207,1658,1665,2031,1907,1680,1865,1775,1776,2584,3454,3333,2503,2183,2885,2972,2648,2211,2170,2572,2799,2719,2498,2291,2408,2158,1663,1602,1769,1846,1659,1769,1851,2165,2071,1535,1485,1675,1613,1873,2304,2429,2349,1718,2029,3051,3715,3716,2865,1848,1604,1769,1886,2286,2796,2926,2158,1720,2048,2014,2298,2369,2168,1917,1903,2052,1918,1742,1689,1991,2099,1532,1387,1529,1605,1753,1718,1614,1882,2249,1958,2001,2636,2623,2514,2289,2033,1568,1609,1910,2258,2676,3030,2375,1831,2170,3393,3826,3519,2144,2432,3266,2523,2146,2090,2052,1910,1472,1709,2178,1906,1975,2524,1785,1469,1576,2569,2723,2244,1860,1404,1483,1627,1516,1604,1655,1704,1719,1636,1981,1968,1674,1616,1926,2008,1797,1917,2147,1750,1880,1877,1642,1722,1578,1571,1666,1712,1765,1759,1678,1792,2217,2051,1477,1745,2023,2101,1990,2216,2060,2008,1946,1620,1449,1539,1367,1286,1682,2007,2214,2009,1797,1643,1746,1727,1569,1826,2015,1730,1551,1512,1498,1677,1626,1670,1906,2176,2258,1890,1863,2355,2436,2114,1642,1516,1576,1488,1499,1471,1769,1626,1599,1746,2125,2137,1795,1582,1535,1503,1489,1688,1851,1902,2014,1867,1590,1592,1547,1541,1721,1839,1699,1727,1644,1570,1728,1993,2104,2119,2375,2129,1686,1756,2354,2332,2325,2169,2735,2635,3019,3993,4244,3608,2439,2234,2612,2667,2164,2248,2285,2690,2883,2463,2419,3286,3212,2750,2620,2090,1655,2413,2564,2152,1847,2054,2155,1760,1668,2065,2600,2877,2724,2164,2085,2496,2737,2864,2879,3157,3442,3550,3625,3472,3394,3434,3227,2355,1823,2246,2051,1930,1973,1915,1647,1553,1480,1482,1718,2133,2096,1726,1979,2509,2019,1349,1389,1454,1448,1368,1422,1288,1294,1497,1694,1592,1413,1452,1469,1447,1477,1409,1403,1500,1743,1549,1434,2161,2449,2578,3510,4165,4071,3885,3749,3613,3792,4030,3832,3122,3384,3647,3751,4176,3854,3067,3238,3297,2794,2707,2999,3835,3011,2916,2844,2931,3350,3562,2981,1954,1831,1713,1582,2186,3075,3140,2732,2368,2623,2260,1710,1499,1520,1393,1352,1626,1827,1889,1770,2012,2159,1729,1616,1699,1626,1638,1734,1823,1878,1888,2050,1942,1932,1999,1833,1826,1730,1731,1892,1939,2024,1965,1371,1528,2280,1746,1538,1670,2518,2225,1781,1683,1805,2067,2057,1628,1650,1875,1576,1542,1507,1443,1712,1630,1541,1375,1447,1824,1635,1392,1584,1810,1740,1665,1724,1708,1779,1517,1457,1468,1401,1320,1562,1716,1481,1658,1583,1683,2058,2136,2066,1897,2456,3594,3052,1996,2083,1894,1436,1727,2504,2787,2371,2555,2400,2586,2558,2196,2352,2934,2840,2098,2504,2430,1745,2315,3051,2609,2381,2874,3024,2714,2709,2408,1907,2164,2734,2715,2388,2469,2529,2767,2767,2968,2999,2977,2685,2129,2352,3263,3694,3808,3674,2867,2799,2835,2304,2302,2663,2900,3006,3152,3272,2834,2118,2138,2239,2718,3564,3288,2365,2184,3199,3555,2742,1852,2191,2702,2886,3167,3293,2665,2539,2908,2854,3178,2883,3206,3698,3518,3356,3670,3913,2900,2176,2546,2191,2791,3134,2559,2113,2212,2108,2061,2042,2110,2051,1624,1772,1635,1550,1616,2142,2518,2267,2026,2127,2212,2348,2339,1532,1870,2465,2624,2545,2464,2302,2692,3105,3285,3412,2843,2132,2296,1830,1542,1854,1964,2013,1895,1949,2177,1796,1810,1952,1810,1733,1817,2083,2720,3270,3438,2877,2393,2900,2854,2939,3174,3842,3317,3075,2372,1913,2144,2706,2494,2346,2178,2177,2417,2575,2513,2550,2707,2674,2632,2958,2812,2351,2329,2802,2562,2181,2184,2754,2729,2195,2027,2002,2448,3044,3142,3406,2932,2721,2722,2799,2986,2953,3176,3328,3245,2966,3010,3139,3078,3415,3886,3862,3527,3294,3343,3429,3205,2976,2865,2475,2181,2018,2344,2756,2732,2149,1727,1623,1858,1994,2144,2252,1938,2039,2404,2185,2339,2591,3064,2319,2026,2459,2820,2308,2076,2740,3234,3211,2280,1729,2073,2697,2078,1892,2263,2252,1964,1893,1989,1977,1870,2007,2408,2238,2046,2297,2314,2093,1969,1864,2123,2608,2515,2465,2540,2264,2227,2326,2170,1977,2953,3287,3035,3377,3824,4071,3875,3745,4036,4100,3839,3781,4113,4145,3492,3122,3297,3698,3964,3818,3663,3891,4008,3748,3514,3514,3592,3726,3862,4071,4193,4221,3737,3858,4661,4405,4009,4572,4160,2377,801,422,324,322,304,299,312,304,302,299,301,305,300,292,285,277,273,266,268,268,269,275,270,266,273,264,257,290,302,336,341,333,332,344,362,376,511,757,871,834,757,783,744,747,894,848,815,773,768,667,580,546,568,617,680,766,831,891,904,922,959,968,1074,1160,1237,1398,1613,1750,2122,2710,2625,1918,1546,1375,1207,1045,1009,1001,960,962,871,673,644,673,808,1099,1088,828,711,612,598,679,787,871,815,739,799,771,826,955,1350,1397,1187,981,1003,1252,1254,1236,1262,1214,1196,1052,1057,926,871,1014,993,895,926,937,856,873,912,839,786,773,751,710,717,687,797,846,819,788,864,874,958,1130,1222,1696,2749,3395,3361,3182,2908,2477,2518,3100,3505,3629,3751,3994,4273,4122,4112,3892,3546,4153,4200,4083,4152,4164,4329,4487,4580,4560,4408,4232,4344,4064,4072,4273,4744,4859,4556,4183,3974,3660,3359,2521,1680,1656,1444,1209,1071,920,924,904,787,696,702,702,648,660,642,638,676,601,593,594,600,559,514,538,578,585,562,611,576,602,597,580,539,526,561,588,574,559,541,539,533,484,432,411,393,384,379,383,392,410,404,391,385,373,364,357,356,385,414,427,437,469,517,557,567,529,472,419,399,400,419,399,411,428,406,385,335,336,337,308,302,289,290,311,337,317,356,368,381,388,390,405,436,438,418,398,392,390,382,381,376,363,355,349,385,395,390,463,560,605,600,593,570,651,644,639,644,631,590,551,592,663,656,711,709,713,687,661,595,611,631,666,730,760,758,771,595,543,567,531,530,511,484,464,454,433,391,450,513,568,860,808,620,559,534,551,513,515,580,670,680,631,606,596,580,569,629,574,570,551,514,485,479,465,446,431,415,399,390,381,379,377,375,366,361,350,346,339,343,327,366,430,376,411,419,387,382,409,383,423,458,472,525,518,480,476,470,469,458,451,433,417,416,429,437,440,442,438,441,452,462,458,443,431,413,385,360,337,323,315,325,329,348,351,314,378,354,335,343,351,335,303,296,296,290,277,266,272,272],[2258,2713,2574,2286,1838,1536,1492,1996,2724,2745,2613,2818,2696,2491,2294,2348,2351,2618,2590,2575,2336,2077,2077,2316,2007,1847,2486,2303,2491,2844,2328,2171,2587,2556,2858,2750,2395,2603,2779,3480,4004,3535,3154,2938,2421,2373,2466,2570,2544,2325,1854,2133,2535,2844,2969,2754,2321,2958,3851,3718,3304,3051,3317,3155,3204,3120,2859,2602,2262,2059,2215,2443,2407,2156,1968,2176,2176,1734,1762,2408,2631,2807,2878,2597,3162,3158,2884,3119,3150,3198,3098,2728,2687,2916,3179,3020,3002,2857,2837,2968,2414,2120,2345,2522,2531,2666,2677,2695,2953,2989,2653,2236,2511,2809,2910,3231,2978,2650,2943,2854,2481,2435,2359,2069,1942,2249,2659,2766,2706,2832,3522,3714,3282,4137,4041,3707,4024,4120,3351,2755,2698,2706,2262,1808,2010,2201,2562,2775,3073,2996,2766,2987,3176,2502,2150,2763,3406,3526,2986,2357,2201,2093,1866,1755,1766,2005,2186,2134,2194,2580,2688,2763,2933,2322,1681,1859,1680,1891,1759,1966,1898,2171,2031,1733,1852,1706,1910,2211,2193,2272,2276,2127,2188,1801,2253,2980,3044,2531,2152,2380,2614,2707,2466,2614,2200,1570,1624,3082,3234,2431,2508,2955,3031,3051,3272,3460,3488,3360,3318,2834,1980,1769,2003,2062,1588,1188,1964,2637,2432,2373,2225,1514,2025,2087,1986,2142,2439,2443,2017,2135,2784,2729,2586,2568,2423,2709,2551,2648,2767,1903,1672,2041,1772,1659,2450,2418,1928,2053,1878,2425,3317,3185,2707,2325,2431,2060,1576,2359,2579,2168,2203,2240,2204,2497,2534,1667,1570,2153,2426,2534,2353,2060,2207,2336,1848,1642,1820,2139,2326,2502,2176,2301,2232,2439,2696,2509,2554,2279,1880,2765,3138,2522,2790,2465,2640,2788,2926,2906,2567,2368,2023,1843,1887,2239,2201,1900,2299,2664,2426,2521,2648,2028,2020,2082,2045,2427,2354,1934,1882,2258,2423,2457,2165,1511,1490,1927,1891,2416,2808,2188,2016,2720,3164,3379,3684,3374,3330,2938,2751,3150,3670,3808,3772,3772,4168,4312,3420,2845,2454,2131,1964,1690,1009,1035,1482,1213,1416,1886,2806,3941,4160,3679,3041,2463,2285,2618,2136,2015,2014,2520,3234,3194,2721,2282,2101,1989,1930,2223,2594,2874,2344,2307,2674,2947,2563,2012,1987,2074,2235,2317,2962,2522,1998,1569,1131,1151,1698,1998,1827,1799,1881,1769,1626,1552,1739,2023,1686,1603,1607,1865,1696,1444,1654,1508,1665,2144,1826,1625,1619,1424,1931,1635,1897,1658,2127,2672,2699,2818,2741,2198,1488,1378,1511,1543,1668,1872,1718,1564,1882,2215,2223,1947,1860,1798,1638,2076,1968,1547,2227,2800,2424,1908,1888,2011,2498,2740,2422,2555,2972,2573,2556,2712,1936,1731,1963,2072,1707,1658,1836,2170,2514,2311,1993,1961,1756,1944,1758,1992,2152,2231,1802,1587,1592,1505,1531,1559,1589,1868,2014,1844,2066,2248,1967,1835,2002,2346,2500,2566,2154,1595,2328,3272,3541,3510,3474,3558,2966,2358,2223,2303,2110,2059,2205,2025,2162,2497,2654,2526,2120,2383,2972,3053,2576,2303,3143,4172,4016,3547,3344,3116,2881,2635,2601,2227,1997,1999,1886,1781,1736,1804,1824,1594,1666,1768,1737,2371,2431,2370,2089,1553,1636,1984,2567,2833,2314,1742,1645,1635,1808,2630,2453,2832,2408,1873,1980,2174,2280,2315,2459,1855,1689,1691,1914,1729,1750,2060,2177,1798,1510,1557,1895,2193,1849,1627,1897,2048,2066,2171,2511,2421,2447,2019,1632,1729,2230,2414,2319,2316,2698,2918,2802,2589,3786,4040,3217,2176,2494,3537,3083,2366,2308,2160,2203,1626,2016,2073,1567,1841,1882,1349,1029,1375,2156,2114,1865,1820,1476,1494,1829,1636,1809,1676,1576,1754,1830,1976,1818,1722,2003,2126,1922,2076,2514,2174,2075,1877,1692,1552,1603,1622,1596,1708,1810,1947,2215,2236,2180,2410,1804,1606,1692,1691,1913,2182,2131,1956,1920,1672,1560,1681,1650,1395,1296,1701,2160,2598,2148,1708,1866,1980,1764,1590,1868,2079,1734,1460,1410,1509,1780,1673,1776,1877,1961,2104,1903,1661,2017,2155,1730,1558,1622,1578,1708,1861,1738,1838,2108,1900,1703,2286,2286,1813,1894,1743,1888,1595,1772,2040,1870,1937,1684,1605,1844,1610,1605,2027,2008,1980,1737,1577,1688,1664,1670,1656,1738,1778,1769,1687,1740,2647,2167,2243,2544,2729,2621,3405,4058,4152,3243,2303,2658,2622,2586,2425,2602,2143,2405,2587,2370,2281,2332,2357,2476,2096,1571,2152,2530,2294,2110,2083,2297,1740,1575,2386,2824,2734,2732,2294,1918,2307,2646,2703,2348,1903,2687,3051,3065,3340,3289,3330,3375,3281,2648,2034,2183,1750,1699,2008,1892,1577,1615,1589,1424,1462,1650,1620,1835,2818,2928,1917,1395,1519,1482,1403,1406,1346,1396,1472,1486,1616,1680,1599,1506,1620,1505,1457,1498,1593,1686,1860,1804,1493,1956,2157,1802,2511,3939,4180,3715,3450,3474,3488,3698,3871,3743,3710,3713,3694,3827,3572,3167,3331,3162,2884,2954,2923,3760,3684,3249,2955,3054,3193,3081,3155,2665,2634,2219,2071,2831,3034,2486,2546,2964,2917,2320,1712,1556,1440,1158,1135,1387,1664,1967,1693,1960,2066,1652,1571,1608,1812,1763,1520,1628,1864,1998,1995,1596,1476,1547,1691,1881,1901,2025,2386,2360,1913,1687,1323,1590,1949,1737,1549,1753,1857,2001,1903,1730,2095,2176,1835,1504,1515,1753,1573,1472,1664,1571,1448,1473,1390,957,1165,1782,1531,1722,1965,1904,1938,2625,3098,2568,2021,1680,1548,1614,1550,1415,1671,1611,1540,1608,1686,1864,2173,2128,2148,2188,2079,2335,2116,2137,2214,2056,1815,1875,2968,3448,2923,2414,2293,2408,1983,1718,2264,2851,3022,2894,2652,1759,1991,2643,3076,2790,2680,3084,2716,2452,2475,1986,2048,2589,2708,2464,2011,2252,2467,2524,2714,2862,2827,2599,2092,2370,3086,3805,2896,3000,3250,2360,2060,2589,2692,2567,2661,2807,2852,2740,2893,2920,2448,2236,2266,3204,3369,3768,3598,2564,2743,3482,3216,2378,2902,3108,2844,3248,2270,1908,2204,2499,3038,3052,2727,2898,2683,2734,3327,3670,3050,1882,1580,1737,1678,2138,2288,2046,2325,2758,2750,2142,1731,2325,2531,1598,1327,1672,1653,1941,2221,2226,2170,2074,2364,2654,2708,2596,1929,2272,2899,2795,2463,2412,2437,2820,3085,3141,3416,3338,2598,2129,1411,1492,1986,2192,2067,1958,1815,1654,1662,1580,1433,1482,1737,2142,2279,2822,3331,3598,3081,2717,2635,2820,2882,3505,3507,3308,3892,3106,3334,2133,2257,2564,2225,2098,2566,2750,2915,2912,2734,2735,2801,2798,3094,2866,2966,2824,2658,2371,2181,2208,2491,2518,2294,2148,2457,3086,2770,2920,3501,2770,2761,2873,3172,3228,3106,3308,3596,3514,3041,3046,3166,3056,3274,3450,3330,3421,3461,3308,3363,3310,3145,2894,2379,2160,2174,2014,2280,2205,1803,1725,1925,2658,2891,2186,1989,1830,2084,2214,2217,2828,2810,2543,2764,2558,2493,3064,3313,3202,3086,3104,2821,2138,1812,2133,2504,2024,1969,2064,2141,1913,1707,1964,1959,1870,1770,2109,2380,2342,2236,2128,2366,2290,2105,2222,2493,2222,1816,2048,2182,2150,2024,1998,2045,2875,3113,2564,2552,3239,3830,3388,3238,3732,3857,3991,3559,3752,4228,3847,2996,3068,3193,3329,3757,3782,3808,3876,3868,3684,3670,3552,3580,3576,3781,4339,4394,3996,4295,4563,3735,3238,3917,3971,3040,1522,582,346,343,301,299,310,304,313,317,326,309,300,294,300,290,278,267,267,271,275,281,283,283,273,258,288,274,314,356,344,330,341,349,399,437,526,709,782,816,755,756,716,879,980,884,785,732,734,673,581,518,499,556,631,680,764,838,841,857,895,924,1027,1251,1456,1519,1924,1935,1870,1666,1488,1431,1443,1415,1249,1064,1006,1037,1056,1004,982,773,658,674,820,1035,1088,925,752,737,767,825,1020,1129,1148,959,929,1080,1116,1136,1355,1397,1528,1588,1739,1737,1352,1145,1173,1170,1195,1097,1090,966,882,927,918,851,877,895,809,778,835,815,744,719,706,683,683,635,660,843,892,746,776,809,817,859,869,903,1296,1917,2032,2395,2663,1906,1226,1417,1871,2912,3760,4332,4619,4543,4182,3757,3880,4156,4047,4125,4213,4208,4680,4645,4287,4007,3951,4175,4420,4249,4128,4200,4085,4187,4432,4384,4096,3488,2729,1844,1277,1440,1252,1033,970,845,799,824,766,718,669,711,669,666,650,618,671,602,567,569,554,542,520,511,527,606,559,599,582,563,559,594,559,514,565,593,557,521,538,555,531,503,420,401,387,375,376,374,383,396,395,385,364,357,355,349,355,375,384,393,401,444,521,577,593,583,483,418,399,395,430,403,400,420,407,378,347,339,332,315,301,290,291,301,325,324,335,339,351,361,376,398,420,431,417,394,394,387,387,388,381,370,369,365,385,393,378,443,565,556,671,697,685,722,773,742,677,639,588,620,631,669,627,668,690,700,678,657,634,652,698,718,753,830,776,845,628,529,553,538,490,514,489,456,464,476,459,462,555,647,767,705,570,528,504,506,496,484,535,622,659,637,605,580,587,567,615,598,561,523,481,458,451,436,417,410,402,393,394,394,378,373,364,352,340,327,326,331,344,331,342,416,386,411,432,393,386,429,407,436,499,517,553,544,508,468,461,461,456,461,449,437,439,442,443,441,438,436,431,445,456,462,460,444,421,398,381,357,321,306,325,345,380,419,358,415,409,391,389,383,361,342,324,309,290,274,274,283,270],[2458,2537,2388,1968,2007,1865,1315,1886,2240,2465,2771,2780,2756,2490,2253,2142,2133,2077,2358,2622,2482,2563,2146,2426,2065,1975,2219,2316,2764,2752,2151,2402,2453,2898,3265,2998,2723,2730,3376,4021,4116,3638,3139,2625,2576,2629,2620,3086,2790,2279,1573,1762,2598,3070,2830,2227,2374,3296,3948,3702,3451,2879,2831,2776,2574,2263,2072,1806,1681,1824,2147,2284,2139,1999,1830,2223,2420,1840,1875,2374,2329,2641,3009,3010,3112,2998,2830,3028,3373,3395,3051,2583,2819,2931,3360,3521,3421,2932,2797,2822,2613,2591,2301,2617,2596,2404,2078,2709,3362,3183,2758,2352,2248,2619,2961,3105,3050,3063,3024,2821,2370,2232,2076,2262,2289,1911,1924,2155,2162,2463,3082,3782,4133,4408,4040,3672,3732,3595,2885,2842,3105,2925,1989,1809,1964,1834,2742,2670,2976,3127,3233,3584,3370,2576,2104,2396,2931,3011,2500,2314,2183,2254,1883,1595,1844,2333,2552,2321,2026,2203,2356,2661,2655,1938,1759,1665,1566,1565,1677,1964,1988,2153,2183,2118,1996,2042,2271,2146,2228,2246,2266,1718,1564,1586,1717,1859,2352,2487,2381,2455,2298,2249,2138,2776,2566,2259,2274,3270,2987,2402,2632,2483,2273,2603,2935,3092,3145,2918,2707,1906,1609,1881,2058,2389,2077,1573,2322,2709,2834,3105,3163,1958,2183,2259,2693,3078,2556,1782,1492,1803,2467,2422,2425,3019,3196,3013,2658,2623,2542,2004,2094,2552,2325,2150,2464,2404,2276,2295,2198,2034,2643,2754,2486,2752,3111,2325,1563,2013,2168,2026,2314,2058,2071,2473,2646,1902,1731,2017,2049,2193,2194,2087,2431,2845,2231,1582,1752,1754,2045,2632,2500,2026,1882,2686,2886,2241,2098,2008,1991,2687,2556,2286,2588,2980,3176,2987,2837,3000,3068,2336,1913,2059,2097,2400,2267,2122,2668,3145,2792,2697,2343,1822,1898,1773,1884,2498,2790,2170,1793,1812,1903,2125,2254,1608,1439,1928,2479,3052,3393,3117,2710,2337,2888,3393,3215,3299,2996,2813,3003,3326,3490,3604,3892,3994,4324,4308,3601,3721,3151,2550,2083,1873,1507,973,1118,1460,1472,2312,3729,3980,3887,3637,2774,1831,2292,2336,1981,1835,1875,2180,2854,2994,2015,2083,2222,2130,3135,3034,3061,2928,2357,1957,1998,2225,2544,2624,2532,2258,2023,1525,1936,2150,2112,1481,1299,1440,1751,1827,1628,1583,1948,1930,1699,1653,2342,2585,2087,1685,1592,2117,2185,1852,1728,1643,1825,2332,2048,2172,2174,2164,2025,1925,2061,2084,2329,2630,2878,2710,2450,1773,1310,1258,1487,1499,1459,1451,1422,2330,3200,2138,2703,2570,2170,2024,1786,1851,1866,1882,2596,2721,2201,2009,1946,2076,2450,2635,2618,2585,3141,2885,2801,2176,1623,1830,2148,1936,1599,1770,2171,2623,2370,2004,1851,2016,1878,1802,1742,2374,2405,1851,1641,1543,1494,1447,1421,1461,1421,1590,1812,2016,2002,1885,2047,2185,2586,3107,2871,2181,1771,2074,3219,3480,3481,3531,3407,3216,2903,2939,3090,2587,2213,2189,1562,2028,2398,2059,2418,2112,2301,2411,2259,2448,2273,2428,4058,5052,4947,4727,4657,4312,4461,4521,4186,3310,2320,2213,2306,1824,1508,1569,1779,1490,1579,1751,1955,2822,2988,2634,1879,1504,1567,1598,1882,2102,1869,1799,1732,1798,1745,1873,1870,1875,1603,2056,2372,2115,1799,1722,2104,1740,1623,1522,1964,1992,1786,2138,2345,1799,1776,1706,1641,2134,2014,1708,1719,1929,2191,2404,2354,2334,2116,1795,1571,1585,1863,2274,2160,1925,1914,2408,2649,2552,3284,3312,2766,2186,2410,3459,3394,2523,2358,1983,2364,2005,2348,1812,1374,1782,1645,1367,1530,1771,1921,1831,2034,2161,1824,1663,1907,1614,1544,1565,1680,1810,1910,1766,1454,1844,2257,1895,1736,1755,1953,1892,1784,1811,1813,1475,1448,1599,1504,1599,2045,2071,2699,2604,2732,2544,1761,1604,1790,1811,1839,2009,2000,1995,1975,1499,1349,1577,1594,1283,1415,1913,2183,2416,2331,2249,2350,1910,1526,1690,2043,1943,1625,1674,1902,1853,1756,1702,1609,1386,1468,1575,1571,1419,1588,1664,1515,1367,1542,1558,1470,1764,1874,1644,1636,1526,1703,2178,1890,1159,1520,1641,2023,1982,2126,2056,1745,1661,1694,1785,1996,1619,1765,2101,1807,1854,1683,1654,1505,1714,1906,1595,1681,2049,2082,2330,2156,1781,1543,1940,2544,2546,2431,3060,3814,3817,2745,2380,2745,2799,2518,2317,2231,2243,2567,2771,2715,2355,1948,1967,2293,1945,1570,2476,2353,2289,2135,2126,2119,1724,1823,2704,2963,2346,2382,2056,1782,2230,2476,2729,2639,2205,2231,2028,2619,3119,2865,3019,3347,3435,2586,2008,1852,1803,1686,1936,1889,1665,1677,1595,1532,1422,1561,1637,2244,3174,3054,1815,1333,1430,1825,2050,1819,1622,1542,1320,1425,1526,1632,1495,1486,1718,1606,1499,1472,1568,1587,1631,1611,1507,1627,1469,1438,1759,2818,3807,3849,3602,3587,3646,3710,3872,3891,3830,4016,3638,3145,2905,3039,3371,3189,3116,3110,2768,3370,3989,3724,3702,3852,3802,3552,3221,3038,2951,2956,2501,2719,3049,2645,2764,3444,3002,2153,1535,1403,1600,1502,1292,1422,1566,1571,1500,1869,2048,1725,1749,1700,1861,1718,1633,1989,1879,1762,1728,1538,1534,1673,1732,1865,2201,2238,2081,1977,1453,1499,1417,1466,1363,1395,1374,1643,2143,2204,1792,2267,2460,2047,1821,1574,1782,1776,1425,1722,2017,1699,1463,1421,1472,1107,1401,2027,1946,2114,2264,2074,2081,2929,3334,3009,2337,1540,1477,1792,1635,1816,1899,1748,1914,1845,1952,2074,2312,2103,1923,2204,2026,1785,1713,1736,1706,1793,1962,1931,2565,3086,2744,2211,2212,2362,1913,2244,1882,1913,2338,2771,2380,2392,2836,3057,3249,2908,2810,2520,2025,2087,2358,2654,2504,2648,2712,2706,2540,2468,2588,2819,2879,2755,2697,2457,2131,2766,3313,3154,1848,1333,1711,1997,2441,2665,2435,2448,2840,2829,2777,2520,2408,2619,2959,3122,2878,2924,2519,2820,2917,2204,2485,2467,2583,3145,3038,2751,2442,2946,2388,2030,2110,2097,2414,2662,2719,2632,2490,2709,2633,2924,2141,1615,1535,1531,1690,1790,1628,1739,2309,2866,2791,2244,1753,2158,1965,1462,1389,1710,1858,2223,2448,2176,2221,2357,2470,3052,2797,2678,2699,2546,2577,2219,2257,2467,2234,2742,3172,3451,3072,3065,2900,2111,1495,1755,2149,2292,2133,2137,2018,1792,1870,1780,1643,1385,1634,2161,2419,2813,2989,2896,2881,2830,2732,2721,2979,3372,3071,3961,3249,3625,3396,3113,2795,2568,2334,2377,2765,2822,3197,3279,3187,2972,2967,3003,3090,2902,3386,3539,3218,2909,2745,2564,2388,2309,2691,2574,3288,3903,2944,2580,2895,2769,2791,2929,3440,3593,3574,2941,2716,2910,3097,3374,3383,3231,3139,3150,3299,3522,3710,3895,3699,3123,2998,2884,2590,2698,2835,2214,1987,1825,1658,1982,2544,2877,2957,2023,2025,1965,2360,2394,2859,3029,2206,2144,2492,2428,2758,3110,3693,3960,3926,3631,3308,2219,1550,2048,2215,2110,2252,2059,1759,1639,1809,2350,2481,2092,2008,2525,2531,2398,2341,2508,2726,2703,2498,2150,2548,2357,2099,2232,2056,1980,1966,1902,2294,3044,3462,2979,2054,2318,3630,3449,3199,3561,3772,4185,3755,3497,3874,4112,3369,2833,2797,2797,3717,4341,4101,4188,4192,4104,3840,3839,3993,3830,3917,4221,4056,3786,3631,4026,3886,3320,3758,3861,3252,2165,883,313,341,323,312,312,306,309,323,365,328,310,307,304,291,286,276,267,268,278,286,273,251,249,258,276,290,308,312,313,336,353,373,468,536,583,731,698,791,780,729,752,769,741,779,765,710,701,661,598,566,515,523,560,623,687,765,778,797,856,959,1131,1379,1711,1697,1960,2124,2135,1650,1437,1398,1336,1396,1305,1114,1075,1080,1132,1042,1065,905,736,687,716,918,1139,1210,1057,947,991,994,1355,1883,1958,1444,1075,1161,1416,1530,1549,1449,1463,1877,2431,2301,1540,1183,1162,1150,1138,1096,1099,991,877,864,878,852,850,846,784,704,732,734,688,670,667,653,656,626,581,751,1003,887,773,844,873,920,919,875,883,1226,1652,2429,3144,2887,1587,1235,1388,2361,2929,3053,3492,4051,4155,3833,3884,4144,4199,4298,4327,4148,4176,4229,4276,4115,3609,3765,4003,4016,3829,3474,3425,3346,3592,3652,3334,2679,2031,1563,1202,1391,1264,953,863,789,721,774,725,753,638,688,662,620,606,599,633,614,569,546,515,511,519,506,478,581,569,546,585,565,528,577,565,512,542,559,555,490,516,544,520,492,428,387,375,370,369,367,369,385,391,381,347,346,344,347,360,367,366,374,382,418,495,553,676,618,501,428,400,388,405,403,408,418,413,379,353,346,323,333,301,291,294,300,311,320,318,316,326,339,362,387,411,413,400,390,390,389,386,390,386,373,367,370,371,403,383,430,525,537,670,729,716,729,760,737,669,602,576,558,574,589,587,627,651,654,644,634,640,660,691,710,767,892,750,772,653,498,498,494,473,497,502,462,475,527,480,470,591,740,784,737,587,496,485,482,487,483,509,576,627,640,606,555,577,559,582,585,539,493,458,436,423,412,401,396,394,392,388,382,368,352,338,330,322,313,315,322,333,333,333,386,401,414,435,422,402,422,446,486,530,561,566,556,523,475,456,455,454,464,471,461,455,458,450,445,446,440,430,442,453,458,464,459,431,394,392,370,325,300,309,347,414,477,497,483,461,458,433,424,419,389,331,320,277,274,296,298,290],[2281,2213,2100,2031,2409,2078,1924,2598,2612,2501,2586,2590,2576,2259,2274,2251,2201,2086,2070,2044,2404,2504,2690,2525,2076,2191,2379,2536,2812,2668,2601,2601,2906,3792,3682,3166,2644,2629,3263,4100,4284,3807,3610,3219,2966,2742,2962,3139,3277,2734,2501,2886,3043,2900,2568,2792,3392,3218,3610,3364,2966,2383,2132,2045,1974,2263,2558,2382,1820,1561,2010,2185,2448,1955,1454,1739,2236,2213,2278,2220,2141,2476,2735,2788,2807,2916,3016,2794,2833,3041,2885,2787,2965,2754,2938,3273,2945,2353,2619,2728,2865,2621,2688,2598,2138,2296,2553,2975,3414,3387,2875,2735,2592,2502,2890,2352,2566,3020,2784,2767,2188,1973,2004,2098,2523,2054,1946,2016,2378,2522,2631,3044,3677,3929,3739,3739,3617,3108,2835,3039,3355,3162,2267,2147,2398,2565,3045,2883,2744,2807,3051,3241,2946,2638,2517,2755,2909,2592,2655,2713,2496,2381,2020,1532,1554,2127,2448,2141,2193,2170,2210,2295,2308,2182,2128,1808,1776,1599,1935,2492,2518,2246,2188,2168,1862,1989,1929,1793,1774,1973,2082,1602,1179,1478,1690,1653,2203,2384,2753,2742,2396,2307,2450,2686,2740,3219,3360,3174,2783,2467,2588,2301,2142,2260,2207,2253,2435,2748,2357,1783,1698,1833,1981,2160,2153,2072,2381,2460,2835,3162,2855,2555,2459,2251,3075,3784,2898,1980,2084,2382,2894,2924,2536,2795,3474,3116,2674,2406,2272,1763,1644,2577,2577,2217,2320,2458,2511,3019,3186,2862,2916,2619,2279,2699,3171,2676,2121,2140,2104,2481,2258,2042,1808,2099,2364,2010,1793,1757,1952,1950,2082,2085,2358,2898,2899,2109,1792,1612,1912,2154,2172,1889,1849,2437,2505,2041,2008,1767,2077,2204,2287,2734,2950,3298,3263,3066,2829,3173,3505,2912,2358,2498,2418,2370,2074,1989,2219,2898,2884,2696,2521,2164,1870,1806,1542,1951,2750,2385,1725,1625,1734,2087,2398,2167,1994,2521,3264,3451,3687,3608,3220,2764,2915,3095,2877,3053,2799,2740,2954,3206,3260,3264,3618,4026,4112,4104,4040,4385,4027,3300,2432,1992,1772,1216,905,1365,2223,3558,3726,3494,3012,2663,2097,1765,1876,1891,2045,2141,2142,1788,1862,2096,2048,2758,2578,2296,3205,2973,2492,2620,2542,2044,1856,1991,2362,2567,2634,2394,1953,1675,1926,2092,1905,1670,1665,1827,1768,1728,1812,1425,2288,2291,1748,2044,2785,2690,1992,1735,1996,2237,2192,2170,1776,1432,1896,2284,1945,2117,2184,2237,2042,1976,2204,2313,2331,2325,2469,2441,1971,1470,1296,1562,1950,1829,1644,1675,1537,2613,3721,2684,2148,2060,2051,2025,1820,1842,2083,2200,2649,2482,1905,1860,1642,2136,3060,3075,2939,2600,2484,2736,2371,1748,1766,2015,2046,1531,1323,1818,2190,2464,2200,1803,1884,2221,1952,1496,1672,2352,2474,1891,1538,1525,1454,1404,1406,1430,1545,1468,1511,1673,1714,1875,2227,2158,2166,2557,3042,2758,2173,2993,3487,3415,3376,3349,3296,3150,2767,2734,3011,2996,2083,1648,980,2281,2852,2346,2122,2263,2483,1972,1919,2382,2224,2314,4029,4697,4539,4247,4233,4156,4255,4488,4504,3636,2822,2577,2436,1908,1272,1593,1564,1232,1278,1394,1367,1683,2365,2483,1852,1669,1803,1619,1670,1898,1967,2054,1777,1606,1695,1577,1494,1304,1348,2416,2898,2249,1354,1155,1679,1926,1608,1502,1984,2103,1913,2493,2522,1564,1722,1603,1758,2276,2206,1850,2094,2334,2984,2952,2601,2635,2240,1721,1604,1632,1764,1767,1768,1939,1882,1566,1672,2174,2510,2461,2131,1595,1863,2622,2696,2141,1687,1587,2091,2058,2155,1891,1710,2055,2056,1780,1615,1609,1731,1508,1688,1937,1971,1849,1928,2105,2196,1901,1787,1670,1648,1604,1660,1710,2128,2128,2022,1958,1528,1576,1586,1815,2222,1927,1761,1669,1536,1594,2031,2208,2709,2363,2430,2328,1840,1687,1832,1903,1966,1896,1956,1987,1964,1503,1482,1628,1681,1492,1522,1666,1719,1978,2091,2032,2213,1926,1549,1739,2176,1987,1520,1690,2149,2164,1793,1687,1679,1707,1902,1707,1676,1561,1394,1321,1331,1365,1556,2075,2144,1863,1732,1708,1594,1571,1610,1675,1519,1230,1240,1567,1688,1813,2062,2064,1793,1566,2005,1677,1802,1339,1511,1721,1766,1729,1757,1851,1767,2111,2018,1623,1790,2142,2213,2750,2833,2049,1751,1821,1955,2321,2468,2424,2883,2681,2165,2431,2443,2044,1610,1885,1879,2518,2665,2447,2513,2118,2066,2430,2313,1962,2078,2580,2641,2166,1852,1770,1619,1865,2316,2353,2121,1990,2076,1864,1973,2370,2424,2223,1992,1883,1778,1975,2774,2656,2532,2721,3071,3505,2564,1985,1814,1687,1562,1870,2047,1845,1578,1549,1545,1482,1580,2045,2822,3270,2834,1904,1716,1564,1648,2137,2039,1787,1504,1406,1452,1489,1598,1614,1635,1679,1674,1604,1405,1464,1698,2039,1515,1490,1867,1521,1575,1678,2018,2941,3737,3793,3425,3377,3499,3728,3692,3620,3661,3186,2576,2389,2996,3541,3352,2943,2596,2199,2766,3850,4092,4152,4029,3710,3377,2512,2612,3198,3737,3138,2773,3152,3173,3269,3399,2194,1643,1505,1527,1594,1516,1529,1538,1447,1490,1438,1607,1726,1721,1953,2295,2208,1947,1940,2243,2080,2021,2084,2105,2013,1716,1578,1482,2112,2128,1947,1838,1620,1581,1634,1664,1648,1418,1307,1477,1977,1857,1729,2253,2398,2186,2120,1682,1863,1736,1641,2113,2065,1783,1559,1417,1548,1455,1688,2013,1786,1952,1923,2192,2745,2699,2812,3016,2416,1746,1668,1943,2311,2711,2436,2092,1770,1683,1950,2310,2188,1305,1481,2066,1867,1748,1488,1650,1580,2213,2453,1750,1995,2463,2480,2115,2068,2094,1853,2233,2164,2689,2540,2439,2023,2026,2729,3233,2573,2681,3182,2180,1984,2552,3238,3249,2928,2618,2029,2098,2525,2370,2841,3758,3473,2912,2977,3098,2986,3150,2897,2808,2293,1612,1619,2315,2893,2902,2510,2289,2972,2912,2938,2745,2156,2195,2637,2586,2596,2698,2512,2405,2317,2022,2388,2326,2663,3178,2809,2331,2145,2262,2088,1990,2053,2012,2410,2708,2810,2557,2486,2648,2281,2211,1779,1578,1561,1795,1806,1509,1619,2142,2465,2736,2375,2017,1550,1657,1595,1687,1636,1600,1780,1835,2458,2485,2413,2635,2267,2318,2178,2302,2055,2094,2485,2071,2243,2868,2291,2382,2800,3471,3397,2498,2332,2154,1821,1887,2093,1886,1787,2063,2091,1860,1797,1987,2267,1944,2010,2173,2256,2735,2940,2833,2973,2947,2661,2644,2751,3129,3286,3531,3255,3738,3177,3711,3506,2750,2407,2959,2902,2622,2775,2880,3001,2901,3146,3407,3110,2595,3037,3683,3354,2639,2689,2650,2780,2778,2647,3160,3907,4312,3549,2649,2866,3500,3195,2743,3350,3426,3321,2789,2439,2260,2730,3552,3828,3518,3275,3266,3273,3206,3259,3645,3702,3488,3312,3031,2937,3193,2795,2092,1920,1749,1869,2449,2475,2170,2087,1941,2508,2509,2189,2106,2392,2259,2054,2127,2307,3120,2855,2506,2961,3340,3552,3429,3371,2234,1787,2237,2215,2295,2303,1868,1714,1775,1870,1957,2200,1980,2109,2541,2414,2136,2090,2224,2678,2990,2755,2167,2445,2602,2851,2534,2033,1988,2302,2220,2146,3218,3962,3559,2668,2713,3210,2829,3082,3485,3676,4068,4121,3674,3447,3640,3212,2686,2688,2325,2744,4276,4681,4628,4495,4444,4208,4172,4388,4427,4243,3909,3820,4071,3487,3367,4013,3969,3868,4035,3724,2648,1130,392,336,343,316,310,296,282,296,351,332,339,343,316,296,292,290,276,265,271,264,246,250,261,251,266,298,318,326,320,355,380,421,538,617,621,642,668,754,778,727,734,792,750,724,755,705,727,663,581,542,504,492,519,584,673,795,868,913,995,1112,1328,1474,1730,1880,1947,2216,2642,2276,1758,1541,1309,1411,1429,1220,1127,1131,1169,1077,1110,1146,985,773,760,965,1268,1394,1431,1313,1318,1402,1830,2439,2571,2165,1492,1417,1943,2073,1738,1615,1477,1446,2121,2587,1943,1524,1300,1143,1058,1030,1044,991,887,835,827,812,806,807,758,660,639,628,623,624,629,630,614,597,562,659,1012,1327,1124,898,893,1061,1413,1424,1030,984,1425,2048,2204,2976,2808,1603,1215,1870,3244,3166,2490,2598,3062,3597,4062,4371,4439,4483,4528,4388,4064,4368,4543,4165,3405,3261,3334,2874,2259,2132,2331,1853,2127,2459,2313,1792,1604,1250,1100,1394,1224,930,862,782,725,823,712,765,700,647,598,570,570,572,582,605,566,537,533,526,514,520,469,502,533,517,546,567,538,551,533,508,526,525,533,478,477,501,487,463,433,393,365,360,364,364,362,382,395,381,344,335,343,359,357,352,354,370,375,400,469,541,678,682,568,455,409,392,394,390,396,405,415,389,358,343,315,336,307,288,292,287,303,314,309,299,306,320,350,389,395,384,393,391,385,394,391,388,377,368,360,357,355,399,391,411,460,490,569,642,659,677,672,650,599,547,553,545,575,570,563,588,600,618,628,632,642,681,710,729,645,830,758,716,655,535,510,497,481,482,512,488,484,537,488,620,671,696,739,743,639,514,510,485,486,483,497,546,593,635,603,548,554,535,526,541,503,473,446,431,417,401,389,394,391,396,387,372,358,341,331,326,322,315,314,319,325,326,316,362,398,411,442,447,432,428,463,512,535,554,532,544,523,484,468,451,450,470,462,462,455,455,452,452,446,443,436,446,456,463,457,450,446,392,387,375,348,337,301,319,431,505,548,525,472,448,441,440,435,476,450,414,338,329,339,326,325],[2440,2319,2579,2429,2092,2042,1986,2236,2238,2314,2632,2630,2511,2367,2382,2367,2212,2185,2131,2056,2178,2457,2635,2460,2357,2316,2386,2858,3279,2965,2721,2773,3536,4046,3627,2953,2674,2534,2657,3345,3332,2952,3356,3327,2582,2589,2632,2388,3231,3889,3695,3533,3332,2222,1965,2440,2752,2349,2264,1980,1703,1787,2088,2144,2263,2776,3007,3120,2438,1882,2627,2476,2191,2034,1964,2078,2297,2449,2483,2319,2330,2757,2688,2662,2788,2799,2799,2628,2858,3065,3054,3173,3150,2991,2652,2536,2570,2153,2489,2988,3153,2697,2597,2155,2574,3057,3036,2858,2535,2498,3002,3374,3132,3234,3154,2709,2573,2864,2676,2365,2175,2120,1760,1753,1957,1854,1847,2164,2890,2598,2365,2729,3351,3480,3518,3608,3386,3166,3115,3107,3136,2962,2402,2163,2275,2522,3099,3060,2746,2864,2906,2974,2473,2422,2490,2422,2101,2318,2884,3011,2788,2588,2370,1963,1743,1990,2034,1683,1851,1922,2168,2063,1989,2200,2197,2140,2060,1859,2542,3464,3330,2542,1990,1903,1870,1917,2061,2148,2056,2122,2088,1519,1024,1730,2333,2403,2320,2478,2724,2369,2176,2522,2707,2680,3008,3423,3334,3430,3342,3109,2599,2173,2504,2508,2200,2229,2425,2860,2603,2076,1858,2021,2147,2088,2519,2426,2580,2504,2366,2496,2746,2542,1860,2048,3068,3510,2782,2088,2091,2837,3179,3499,3357,3463,3666,3427,3030,2534,2427,2224,2041,2693,2535,2247,2326,2409,2536,3263,3884,3754,3045,2316,1991,2017,2131,2116,2217,2271,1960,2301,2078,2203,1953,2091,1897,1700,1754,1930,2210,2448,2591,2176,2356,2730,2797,2115,1655,1702,1731,1714,1869,2025,2250,2194,2022,1605,1872,2219,2684,2556,2599,2750,2920,3382,3420,2945,3088,3451,3205,2710,2645,2523,2744,2226,2238,2116,2137,2511,2511,2689,2800,2313,2199,2630,2610,1913,1987,2182,1957,1637,1526,1909,2178,2097,2277,2955,3667,3620,3941,3939,3275,2898,3190,2922,2652,2909,2775,2554,2706,2902,2776,3343,3440,3472,3886,4100,4161,4328,3970,3111,2526,2251,1898,1592,1064,992,1998,3354,3262,2629,2340,2498,2138,2081,2410,2948,2669,2257,2026,1841,1856,1973,2687,3168,2645,2201,2230,2085,2112,2477,2693,2396,1913,2171,2328,2549,2864,2563,2021,1679,1704,1947,2117,1888,1624,1749,1885,1666,1776,1750,3044,2768,1836,2052,2497,2144,1779,1911,2045,2421,2159,2164,1546,1508,1940,1874,1685,1803,1924,2126,1930,1877,2094,2306,2512,2242,2275,2242,1643,1409,1429,2205,2439,2039,2082,2142,1690,1783,2402,2487,1687,1717,1795,1803,1765,2199,2272,2058,2128,1908,1508,1542,1657,2715,3449,2932,2579,2617,2786,2515,1830,1719,1975,2054,1654,1499,1982,2380,1702,1818,2148,1910,1950,2254,1907,1485,1962,2139,2036,1600,1560,1579,1438,1345,1393,1545,1560,1473,1545,1598,1605,2117,2643,2039,1798,1937,2746,2975,2796,3370,3509,3337,3215,3451,3522,3329,3139,2933,2762,2863,2395,2142,1697,2399,3056,2326,2147,2768,2997,2243,1848,2062,2242,2504,3271,3495,3315,3344,3140,3053,3371,3887,3840,2977,2713,2396,2170,1789,900,1271,1385,1220,1214,1202,1175,1192,1407,1685,1826,2415,2239,1614,1776,1990,2173,2516,1921,1556,1781,1555,1666,2010,1847,2654,2865,2210,1378,1385,1666,1801,1753,2061,2061,1813,1817,2234,2148,1668,1774,1575,1860,2315,1942,1628,1909,2302,2712,2665,2368,2279,2277,2245,1859,1794,1944,1989,1949,2426,2546,1687,1505,1888,2254,2458,2036,1782,2208,2085,1782,1668,1633,2056,2332,1846,1721,1858,1822,2501,2418,1862,1667,1635,1810,1547,1914,2752,2316,1916,2097,2225,2850,2986,2667,2208,1977,1751,1672,1502,1545,1731,2487,2653,2168,1866,1490,1932,2310,2020,1709,1530,1483,1479,1765,2068,2808,2487,1896,1914,1744,1946,2128,1876,2010,1710,1606,1676,1883,1753,1936,2194,2103,1908,1914,1887,1908,1998,1892,1746,2148,1980,1593,1686,1975,1977,1714,1570,1770,1841,1757,1767,1864,2203,2117,1732,2126,1927,1804,1597,1457,1531,1938,2546,1996,1872,1871,1854,1689,1391,1429,1593,1593,1351,1484,1771,1603,1770,1898,2162,1980,1541,1572,1580,1778,1720,1844,1851,1721,1730,1948,2055,1692,1734,1727,1710,1921,1991,1967,2314,2488,2238,2068,2027,1985,1911,2040,2430,2743,2103,1991,2393,2481,1943,2156,2387,2204,2788,2331,2465,2701,2048,1852,2038,2197,2321,2242,2397,2352,2010,2054,1969,1864,2534,3105,2161,1737,1843,2317,2076,1928,2057,1515,1121,1321,1322,1378,2177,2777,2969,2850,2758,3090,3384,2569,1854,1805,1694,1507,1643,1799,1681,1486,1548,1548,1550,1526,1954,2358,2293,2050,2095,2214,2017,1403,1447,1575,1797,1518,1491,1473,1520,1558,1577,1622,1504,1550,1719,1519,1613,1659,1815,1404,1398,1657,1607,1686,1692,1662,2059,3260,3992,3589,3387,3530,3849,3773,3605,2875,2554,2868,3055,3207,3625,3616,3169,2980,2798,2561,3378,3891,3874,3672,3061,2673,2095,2201,3667,4263,3341,2854,3234,3166,3147,2642,1705,1549,1478,1503,1504,1455,1549,1513,1629,1721,1518,1826,1726,1463,1694,2539,2500,1896,1824,1753,1762,2217,2410,2426,2322,2110,1797,1892,1965,1865,2135,2188,1825,1676,1779,2055,2325,1852,1622,1720,1786,2168,1876,1779,2010,2543,2006,1581,1798,1583,1993,2431,2274,2510,2431,1724,1449,1369,1701,1998,1634,1615,1633,1547,1864,2132,2141,2133,1829,1774,1958,1893,2027,2122,2356,2505,2248,2186,2503,2778,1994,946,1045,1709,1898,1824,1895,2049,1650,2065,2176,1980,2151,1896,2162,2322,2286,1774,2354,2236,2447,2985,3017,2623,2494,2336,2439,2430,1895,2465,2466,2097,2462,2514,2375,2520,2580,2683,2501,2416,2101,1783,2385,2334,1436,1950,2459,2466,2440,2583,2466,2292,2216,2020,2117,2403,2291,2328,2153,2057,2238,2140,2208,2331,1786,1770,2299,2093,2191,2172,2130,2094,2370,2397,2188,2078,1848,1983,2091,1748,1608,1672,1899,1907,1937,2099,2331,2161,2403,2460,2249,2180,2352,2260,2011,1884,1881,1953,1882,1678,1788,1898,2316,2483,2195,1878,1626,1691,1735,1802,1944,1879,2116,2179,2171,2117,2020,2077,1857,1775,2132,2304,2390,2632,2625,2382,2565,2806,2380,2145,2248,2998,3355,2722,2051,1871,1862,1916,1873,1699,1977,2165,2177,1914,1791,1863,2397,2350,2508,2815,2863,3125,3137,3184,3131,2863,2495,2588,2380,2851,3595,3420,3670,3398,3338,3693,2923,2526,2717,3049,2660,2342,2263,2502,2861,3110,3282,3262,2879,2625,2834,3323,2956,2452,2752,2852,3140,2909,2783,3675,3834,3431,3207,2679,3229,3841,3469,2796,2330,2802,2910,2354,2052,2263,2469,2875,3428,3444,3253,3508,3238,2845,3001,3149,3199,3353,3501,3318,3059,2964,2498,2236,2021,1975,2308,2099,1926,1935,2163,3034,3182,2374,1907,2100,2147,2079,2446,2360,2706,3138,2384,1787,2134,2865,2863,2634,2840,2384,1787,1953,2243,2473,2050,1713,1865,1894,1988,2169,2415,2136,1916,2355,2588,2248,2088,1909,2504,2640,2443,2125,2143,2547,2623,2241,2168,2004,1996,2154,2045,3121,3711,3444,2597,2844,2990,2763,3195,3797,3750,3676,4004,3908,3472,2942,2546,2348,2524,2149,2093,3618,4584,4808,4740,4516,4337,4208,4268,4610,4713,4277,4042,4258,3964,3547,3873,4116,4089,4098,3903,3107,1338,481,335,330,321,302,296,286,293,322,317,349,369,334,312,301,295,285,274,262,247,252,271,264,247,260,291,328,363,342,384,429,421,570,644,633,582,620,711,783,784,735,753,698,662,752,709,762,691,579,522,497,468,468,528,637,808,947,1012,1054,1177,1467,1691,1869,2176,2290,2383,2713,2571,2261,1947,1420,1443,1509,1343,1247,1239,1290,1330,1295,1375,1366,1069,952,1218,1445,1281,1554,1808,1911,1924,2086,2235,2193,1927,1639,1708,2148,2535,2115,1896,1694,1456,1694,2472,2434,1981,1444,1126,1067,967,915,976,901,847,818,762,747,761,727,641,592,578,567,568,600,626,595,586,578,608,824,1565,2139,1832,1291,1366,1579,1706,1180,1044,1364,2066,1807,2118,3355,2822,1711,1482,2600,3362,2890,1887,2028,2480,2887,3596,3531,3431,3694,3812,3749,3817,3874,3480,2750,2608,2243,1898,1344,1606,1907,1555,1669,1782,1747,1457,1371,1238,1127,1298,1201,968,884,812,740,784,719,739,768,663,565,577,561,552,556,596,559,522,543,547,511,531,516,495,538,548,514,543,536,540,510,501,487,510,503,460,455,471,471,462,437,399,356,350,356,355,360,374,387,379,358,327,331,364,348,344,351,356,364,382,452,526,589,674,623,490,435,410,396,369,386,395,408,389,356,341,321,330,320,289,296,287,303,306,298,295,301,309,341,378,403,428,435,410,396,403,392,384,366,357,348,351,353,376,369,375,400,441,539,615,635,611,625,641,578,543,534,516,543,536,520,551,566,601,622,636,644,673,670,717,598,758,804,687,639,558,531,499,487,505,525,529,509,536,509,709,764,684,742,792,671,556,560,516,493,484,492,528,565,609,585,531,536,506,486,516,480,492,471,449,428,397,386,389,391,389,382,370,352,344,336,326,323,314,309,310,311,313,306,345,397,400,442,465,445,456,485,515,524,537,506,512,517,489,473,448,436,479,458,456,445,439,439,445,445,447,448,453,462,467,451,439,463,410,387,368,360,370,335,312,390,472,464,463,475,422,445,429,429,511,569,560,457,425,410,351,346],[3582,3006,3194,3098,2584,2097,1912,1903,2100,2325,2546,2504,2830,2646,2522,2513,2350,2267,2216,2109,2155,2257,2162,2479,2747,2877,3216,3077,2950,2396,2486,2998,3205,3292,3038,2910,3299,3352,2955,2809,2286,1603,2700,3074,2394,2300,2156,2308,3322,3930,3054,2966,3061,2288,2123,2156,2161,2120,1904,1982,2492,2155,2058,2106,2130,2567,2646,2847,2876,2093,2447,2156,1736,2145,2666,2512,2352,2450,2674,2612,2498,2578,2715,2623,2570,2600,2652,2698,2830,2884,2823,2665,2797,2646,2488,2777,3051,2519,2548,3176,3022,2445,2346,2755,3120,3233,3597,3255,2882,2420,3430,3750,3067,2753,3010,3299,3175,2973,2552,2411,2364,2198,1881,1965,2158,1955,1754,2144,2534,2498,2314,2736,3652,3455,3109,3225,3070,3119,3244,3334,2688,2426,1830,1791,2170,2304,2696,2697,2453,2574,2513,2197,2083,2394,2092,2157,1996,2269,2770,2889,2865,2660,2496,2812,2502,2072,2228,2063,1910,2163,1975,1679,1588,1870,2093,2061,2086,2050,2798,3130,2721,2209,1850,1903,2036,1869,1978,2088,2163,2203,2043,1869,1234,2210,2706,2809,2378,2698,2759,2379,2473,2602,2741,3021,3432,3732,3432,3386,3441,3489,2874,2801,3032,2811,2416,2466,2831,2907,2678,2503,2110,2239,2449,2546,2600,2752,2884,2541,1914,2039,2821,2687,1911,2597,3394,3541,2696,1957,2154,2534,2908,3190,3372,3563,3630,3626,3589,3096,2678,2540,2762,3161,3009,2587,2588,2696,2938,3375,3645,3322,2570,1428,1286,1374,1844,1924,1884,1852,1954,1881,1340,1327,1720,1938,1746,1653,1750,2235,2239,2276,2104,2149,2363,2612,2533,2028,1770,1690,1627,1635,1568,1989,2402,2411,2487,2099,2020,2258,2409,2522,2574,2521,2701,3172,3415,3116,3400,3231,2800,2373,2402,2609,2453,2074,2357,2305,2363,2172,2100,2433,2543,2078,2873,2972,2828,2225,1638,1918,2178,1987,2002,2003,1900,1837,1919,2416,3472,3472,3285,2580,1858,2293,3189,3111,2909,3065,2630,2579,3020,2752,2656,3050,3212,3100,3204,3754,3991,3959,4013,3309,2579,2788,2282,1797,1429,960,1259,2777,3234,2487,2442,2352,2281,2585,3231,3436,2576,2088,1964,2243,2032,2165,2438,2610,2468,2001,2004,2164,2067,2102,2143,2236,2066,2414,2365,3134,3593,3050,2453,2219,2187,2198,2147,2072,1732,1948,2272,1978,1699,1887,2668,2895,2566,2220,2368,2150,2100,1946,1889,2408,2086,1919,1656,2046,2188,1685,1674,1909,1946,2170,2040,2093,2261,2270,2258,2092,2055,1786,1790,1675,1586,2128,2172,2128,2522,1969,1708,2025,2086,1786,1753,1680,1686,1760,1902,2232,1967,2100,2056,1942,1808,1734,2236,2954,3054,2453,2167,2690,2758,1902,1767,1969,2098,1494,1494,1430,1802,1765,1598,1864,1914,1937,2099,2013,2226,2062,2336,2160,1825,1476,1558,1505,1497,1531,1772,1958,1687,1447,1630,1843,1856,2828,3016,2414,2177,2097,2825,2457,2338,2974,3267,2937,3286,3805,3663,3067,2867,2706,2636,2364,2502,2626,2380,2933,3030,2164,2286,3189,3449,2610,1904,2193,2366,2521,2632,2625,2697,2484,2042,1878,2182,2659,2620,2327,2642,2333,2144,1898,1356,1427,1502,1263,1191,1139,1131,1117,1210,1316,1324,2047,2215,1823,1643,1837,2370,2598,1988,1778,1659,1719,2308,2866,2728,2601,2015,1779,1836,1888,2011,1898,1802,1773,1622,1779,2064,2359,2242,1878,2055,2255,2370,2152,1684,1599,2160,2718,2917,2846,2543,2322,2194,2363,1874,1800,1926,1990,1713,1915,1674,1138,1632,2006,2242,1993,1881,2148,2166,1867,1688,2032,2227,2360,2614,2334,2280,2325,1528,1992,1982,1791,1702,1508,1665,1710,2136,2662,2371,2230,2454,2231,2608,2897,2562,2509,2181,1518,1284,1610,1845,2163,2732,2489,2351,2194,1683,1686,1905,1785,1738,1602,1390,1513,1818,2447,3395,2925,2164,1789,1699,1925,2736,2367,1813,1342,1208,1382,1599,1757,2120,2508,2556,2105,1993,2128,2133,2386,2147,1842,1998,1832,1592,1612,1798,1870,1860,1803,1901,1755,1664,1876,1902,1952,1698,1570,1710,1880,1978,1710,1520,1699,2261,2654,1911,2105,2110,2108,1974,1615,1782,2043,1848,1595,1516,1622,1634,1816,2054,2549,2174,1779,1726,2003,2162,2061,1996,1787,1385,1925,2414,2110,1704,1511,1645,1691,1827,2318,2202,1950,2262,2496,2231,2353,2098,2236,2354,2363,2543,2119,1870,2206,2397,1802,2019,2470,2260,2868,1782,1695,2699,2065,2083,2486,2330,2396,2461,2110,2017,2288,2217,2157,2630,2659,2722,1893,1679,2631,3039,2163,1687,1664,1543,1689,2004,1867,1761,2322,2641,3003,3140,2895,3027,3175,2438,1773,1689,1779,1675,1643,1728,1886,1818,1838,1975,1747,1540,1823,2075,1587,1138,1587,2296,2290,1458,1383,1321,1334,1533,1579,1473,1362,1359,1685,1698,1492,1350,1415,1549,1515,1393,1418,1470,1444,1582,1625,1756,2087,1844,1582,2136,3178,3754,3513,3813,4176,4000,3062,2144,2332,3050,3348,3490,3694,3719,3638,3860,3960,2865,3008,3396,3647,3383,2845,2787,2411,2798,4116,4308,3660,3077,3450,3339,3252,2822,1906,1678,1674,1532,1533,1522,1528,1476,1632,1807,1758,1941,2061,1729,1460,1771,1700,1474,1459,1443,1475,1876,1865,2014,2282,2103,1994,2326,1867,1674,2062,2024,1649,1721,1716,1873,2127,2120,1672,1930,1842,1912,1749,1638,1660,1678,1512,1688,1738,1405,1881,2467,2458,2653,2725,2213,1683,1456,1700,1896,1568,1498,1697,1667,1813,1920,1725,1814,1820,1874,2051,2258,2013,1643,2092,2356,2280,2379,2559,2632,2068,1508,1462,1772,2167,1876,1606,1616,1696,1858,2063,1990,2058,2111,2109,2226,2202,2084,2438,2021,1852,2336,2625,2483,2855,2591,2216,2085,2098,2194,2092,1892,2367,2630,2912,2800,2845,3321,2253,1788,1835,1891,2069,1482,1361,1961,2203,2030,2222,2775,3024,2764,3056,3109,2834,2169,2221,2216,2082,2280,2419,2376,2455,2418,2159,2740,3221,2313,1825,1973,2140,2052,2141,2108,2257,2403,1991,2070,2176,1802,2238,2238,2432,1930,1892,2466,2442,2532,2991,2798,2216,2137,2149,2067,2126,2321,2282,2216,1923,1859,1844,1726,1721,1658,1693,1892,2036,1874,1798,1870,2038,1836,1960,1889,1787,1792,1750,1957,2314,2342,2143,2134,2362,2595,2326,2122,2045,2349,2566,2122,1973,2493,3083,2746,2035,1817,2003,2245,1936,2198,2170,2342,2177,1635,1926,1965,1855,2003,2592,3191,3164,3422,3363,3416,3372,2930,2631,2531,2480,2790,3416,3852,4007,3834,3686,3211,2817,2420,3219,3166,2462,2271,2259,2480,3069,3518,3421,3233,2985,2686,2585,3149,2886,2520,2752,2863,2467,1759,2146,3359,3218,2780,3264,2856,3418,3740,3364,2807,2247,2690,2643,2092,2136,2461,2320,2581,3023,3209,3089,3608,3494,3312,3427,3351,2833,2677,3168,3313,3041,2966,2702,2691,2386,2611,2764,2193,1854,1910,2166,2404,2239,1994,2040,2157,2097,2350,2336,2339,2843,2898,2329,1919,2046,2710,2688,2036,2319,2160,1805,1818,2189,2564,2354,1978,1876,1916,2040,2220,2488,2420,1856,1926,2145,1948,1989,2084,2276,2142,2000,2013,2177,2238,2376,2649,2190,1782,1852,2348,2143,2972,3376,3414,2873,2635,2882,3270,3839,4257,3873,3470,3694,3772,3516,2663,2423,2457,2557,2732,3004,3527,4207,4768,4673,4381,4244,4060,4040,4620,4808,4316,4180,4200,4040,3940,4000,4048,4061,3955,3727,3194,1584,620,354,318,310,297,308,312,300,313,329,354,373,349,325,318,297,292,286,272,264,264,273,267,249,255,285,312,365,381,426,448,520,670,754,763,636,620,712,767,814,770,732,688,632,720,730,767,706,605,535,483,474,447,535,652,752,1010,1177,1198,1467,1869,2070,2042,2290,2447,2317,2476,2413,2272,2392,1814,1748,1588,1376,1390,1418,1528,1728,1670,1531,1614,1417,1305,1420,1578,1227,1297,1655,1816,1648,1684,1784,1660,1395,1470,1693,1989,2320,2120,1890,1737,1560,1628,2211,2618,2304,1616,1194,1093,993,934,949,859,827,834,772,715,696,666,613,585,568,538,535,575,611,641,636,626,601,621,1086,2494,2999,1976,1567,1274,1657,1386,1093,1376,2092,2096,1772,2742,3438,2619,1676,2140,2751,2972,2009,1658,1832,1896,2390,2592,2462,2151,2019,2164,2190,2344,2496,2303,2401,1876,1930,1631,1665,1824,1715,1491,1459,1504,1278,1232,1344,1160,1264,1272,1108,940,862,801,792,731,688,737,720,590,582,545,546,537,575,560,531,554,543,499,532,575,513,509,543,501,506,511,514,503,498,461,469,482,457,452,477,483,472,447,403,358,350,356,359,352,362,388,391,366,343,331,370,352,329,361,350,356,386,420,468,517,563,576,536,464,435,408,385,382,384,394,375,356,346,318,319,331,290,289,287,291,295,290,287,296,304,324,353,390,435,468,445,411,409,404,386,367,359,351,354,364,365,347,353,368,416,516,613,642,623,634,639,575,529,511,494,514,499,494,515,544,592,638,656,656,672,662,721,660,702,819,664,637,584,543,538,502,539,553,571,579,589,558,609,701,729,716,844,716,600,572,527,495,483,488,520,555,578,558,504,507,492,460,503,469,497,491,464,437,408,394,386,381,376,372,365,346,340,327,315,315,312,311,310,310,314,310,326,404,374,431,487,455,478,498,509,503,499,485,485,489,486,485,456,435,469,456,442,426,419,427,436,451,465,467,474,467,463,450,436,463,434,417,390,362,376,382,361,355,438,431,421,477,420,429,439,463,498,554,593,511,434,413,360,341],[3347,2683,2568,2636,2082,1614,1823,1574,1876,2182,2282,2208,2423,2313,2331,2396,2339,2250,2341,2274,2260,2251,2309,2271,2620,2383,2577,2903,2412,2108,2617,2553,1973,2178,2499,2820,2944,3230,2769,2549,2281,1737,2713,3042,2372,2409,2522,2736,2888,3268,2766,2329,2156,2053,2076,2249,2571,2397,1634,2723,3946,2568,1945,2202,2317,2293,2480,2655,2182,1764,1862,1610,1798,2812,2864,2212,2165,2398,2699,2736,2620,2668,2720,2572,2441,2473,2641,2744,2707,2710,2755,2535,2767,2543,2710,2834,3254,3204,2956,2953,2619,2329,3008,2901,2205,2717,3544,3673,3206,2612,2895,2741,2706,2598,2290,2656,2932,2757,3162,3032,2501,1951,2042,1928,2020,2138,2011,1842,1889,2361,2601,2908,3554,3522,2835,2759,2981,3221,3245,3130,2531,2083,1926,2059,1909,1859,1864,2167,2257,2457,2341,2109,2278,2280,2113,2292,2215,2221,2301,2656,2972,2823,2769,2908,2402,1855,2350,2397,2270,2163,1846,1664,1672,1735,1897,1909,1935,1987,2229,2518,2241,1901,1831,1981,1724,1702,1945,2039,2069,2025,2114,2146,1660,2276,2414,2296,2378,2764,2871,3262,3058,2445,2620,2905,3394,3836,3662,3505,3422,3212,3167,3493,3398,3020,2721,2659,2654,2557,2635,2828,2303,2232,2435,2283,2437,2440,2188,2205,1990,1999,2642,3109,2897,3335,3291,3179,2503,1957,2204,2834,2865,2764,2934,3249,3276,2766,2436,2649,2358,2452,2949,3195,2711,2622,3003,3386,3625,3584,2971,2159,1839,1326,1363,1484,1884,1907,1786,1824,2126,1835,1437,1424,1107,1308,1711,1803,2061,2325,1991,2035,1853,1931,2059,2321,2455,1988,1764,1727,1503,1585,1958,2101,1957,2160,2608,2855,2624,2105,2085,2334,2318,2481,2714,2601,2906,3272,3436,3016,2160,2080,2280,2959,3033,2622,2337,2288,2470,2146,1987,2442,2452,2439,2696,2361,2290,2071,1532,1988,2340,2325,1686,1412,1568,2173,2348,2361,2835,2845,2279,1914,1864,2243,3131,3311,3317,2842,2609,2578,3089,2745,2763,2830,2728,2654,2600,3129,3808,3893,3991,3707,2895,2965,2799,2168,1826,1322,962,1861,2757,2658,2643,3086,2691,3243,3461,2623,2175,1990,2176,2403,2209,2332,2163,2104,2097,1895,2294,2415,2802,3036,2808,2353,2430,3006,3388,3464,3361,3284,2483,1916,1801,1987,2270,2580,2220,2124,2014,1979,2016,2220,2632,2928,3408,2762,2454,2444,2099,1593,1681,2162,1981,1843,1954,2002,2159,2115,2150,2170,2192,2244,2118,1905,2170,1997,1750,1764,1713,1670,1790,1726,1624,1642,1991,1979,2340,1955,1926,2674,2546,2179,2334,2210,2014,2087,2267,2143,2310,2385,2100,2076,2122,1986,2327,2441,2215,2132,2371,2678,2084,1637,1910,2205,2000,1526,1362,1313,1688,1901,1967,1915,1748,1840,2229,1691,2273,2029,1747,1725,1613,1443,1560,1741,1564,1429,1738,1839,1704,1512,1530,1764,2258,2557,2309,2238,2007,2139,2395,1799,1731,2705,3354,3176,3587,3670,3552,3410,2855,2590,2657,2697,2711,2568,2423,2514,2578,2585,2544,3337,2973,2109,2209,2675,2350,2149,2241,1951,1993,2110,2261,2136,2182,2114,2114,2517,2925,2230,1737,1930,1864,1891,2025,1600,1356,1149,1099,1105,1146,1158,1323,1765,2121,1858,1569,1549,1747,2119,1924,1946,1848,2251,2491,2509,2298,1977,1483,1550,1849,1881,1927,1843,1912,1836,1728,1769,2172,2481,2312,1989,1895,2094,2142,1925,1603,1796,2360,2490,3120,3320,2823,2325,2103,2093,1801,1702,1919,1897,1779,2049,1852,1937,2496,2482,2468,2009,1858,1677,1560,1742,1686,1740,1905,2070,2432,2676,2898,2913,1868,1652,1560,1810,1736,1547,1628,1737,1806,2041,2543,2512,2087,1951,2365,2527,2119,2219,1913,1463,1363,1855,2145,1996,2190,2262,2321,1979,1816,1654,1691,1666,1918,1573,1246,1576,1777,2509,3147,2779,3284,2341,1785,1807,2894,2245,1292,1134,1377,1601,1667,2067,2360,2519,2823,2570,2403,2376,1997,2063,1899,1861,1853,1612,1427,1446,1620,1627,1680,1969,2135,2147,1903,2177,2462,2319,2028,1615,1637,1688,1716,1657,1422,1898,2115,2096,1663,1763,1699,1851,1942,1770,2025,2308,2082,1720,1666,1488,1641,1984,2155,2523,2235,1976,2175,2404,2515,2187,1868,1649,1570,1951,1951,1509,1512,1471,1456,1834,2734,2938,2326,1953,1858,1766,2182,2380,2407,4241,3130,1924,2213,2119,1803,2182,2135,2024,2393,2445,2653,2690,1323,1913,2584,2240,2670,2688,2330,2250,2432,2049,2561,2953,2527,2042,2121,2002,2078,2021,1763,1930,1994,1640,1612,1994,1982,1984,2645,2436,1858,2714,2758,2773,3162,2884,2828,2977,2254,1926,1801,1815,1692,1638,1549,1915,1857,1893,2040,1832,1852,2183,1923,1309,1236,1387,1729,1617,1458,1425,1241,1766,2060,1521,1564,1669,2150,2415,1734,1549,1418,1366,1435,1520,1462,1688,1682,1337,1464,1469,1750,2387,2114,1718,1480,2052,2723,2986,3400,3761,2953,1858,1749,2174,3177,3742,3913,3802,3663,3635,3895,4165,3428,2849,2975,3882,3894,3265,2956,3293,3939,4093,3538,3404,3761,3630,3439,3266,2345,1504,1570,1663,1470,1719,1579,1409,1383,1534,1766,1905,2137,2144,1669,1459,1499,1442,1431,1410,1487,1420,1567,1518,1590,2047,1847,1706,1688,1546,1759,2193,2075,1765,1616,1369,1566,1655,1811,1757,1706,1803,1736,1659,1582,1355,1472,1819,1670,1748,1691,1762,2135,2247,2845,3350,2799,1965,1560,1710,1833,1555,1559,1584,1596,1676,1964,1766,1662,1721,1699,2182,2521,1963,1725,1924,2150,2070,1847,2192,2547,2286,1730,1585,1995,2421,2177,1807,1637,1670,2003,2438,2482,2495,2507,2177,2089,2098,2575,2809,2452,2236,2211,2358,2777,3573,2664,2302,2568,2734,2304,2034,2457,2640,2387,2241,2102,3073,3655,2424,2341,2416,2570,1994,1782,2227,2570,2467,2091,2197,2666,3088,3091,3676,3655,2811,2551,2954,2956,2617,2669,2922,3000,2679,2033,2207,2998,3082,3175,2956,3007,2543,2109,2116,1919,2232,2283,2058,2055,2423,1880,2236,2377,2087,1964,2219,2491,3113,3605,3444,3155,2984,2535,2365,2128,2070,2596,2514,2353,1998,1849,1736,1688,1504,1454,1916,2394,2409,1866,1614,1966,2079,1724,1671,1608,1393,1497,1766,1976,1692,1556,1709,2136,2280,2602,2270,2042,1807,2169,2366,2273,1971,1887,2643,2924,2578,2388,2326,2250,2188,2164,2290,2342,1643,1765,2495,2033,1684,1826,2142,2868,3054,3229,3431,3484,3509,3190,2701,2535,2644,2739,2948,3397,3956,4116,3907,3395,2498,3021,3484,3197,2721,2357,2434,2568,3085,3852,3526,3133,3186,2680,2242,2760,2787,2524,2724,2664,2018,1976,2773,3077,2430,2208,3254,3288,3334,3426,2792,2259,2800,3062,2332,2239,2614,2745,2590,2943,2979,2545,2763,3115,2979,2979,3124,2893,2590,2652,2853,2864,2865,2859,2715,2349,2159,2655,2891,2455,2014,2210,2301,2033,1984,2241,2524,2687,2521,2645,2475,2575,2929,2957,2697,2643,2647,3316,2929,1979,2087,1858,1643,1904,2207,2187,2201,2095,1937,2010,2121,2257,2568,2600,1868,2027,2427,2141,2333,2524,2159,2170,2149,2057,2181,2198,2640,2889,2075,2099,2091,2218,2054,2819,3333,3395,2971,2476,2473,2785,3720,3566,2805,3030,3694,3719,3403,3327,3441,3128,3095,3174,3320,3434,3995,4516,4661,4516,4355,4176,4154,4544,4532,4071,4176,4237,4132,4109,4032,4104,4089,4159,4000,3372,2097,969,430,346,309,297,293,292,290,293,335,352,361,352,335,325,317,303,295,284,281,275,278,273,269,265,283,303,382,449,485,507,664,784,902,1059,857,682,721,743,796,790,748,693,615,678,760,788,743,649,556,505,521,458,498,618,721,1127,1473,1640,1810,1998,2079,2018,2165,2369,2214,2164,1980,1810,2244,2135,2597,2274,1398,1519,1728,1697,1698,1803,1640,1590,1511,1372,1282,1228,949,860,1039,1118,1081,1165,1281,1580,1548,1476,1575,1681,1764,1811,1838,1764,1723,1823,2068,2504,2272,1824,1406,1241,1101,949,951,867,800,851,835,736,656,617,588,566,542,532,551,593,656,729,709,689,636,606,806,1537,2733,2467,1509,1188,1978,2002,1386,1507,2426,2610,1929,1910,3057,3279,2312,2205,2336,2756,2249,1627,1446,1506,1790,2041,2132,1869,1526,1460,1616,1882,2108,2089,2067,1794,1812,1720,1635,1592,1439,1268,1430,1385,1224,1126,1352,1155,1124,1258,1245,1051,914,869,861,768,641,648,745,641,619,580,564,552,551,548,532,504,481,481,509,567,500,499,502,492,481,482,494,480,466,455,425,433,471,457,477,488,466,440,404,364,356,368,368,359,359,382,394,373,348,346,368,355,326,356,357,357,383,409,437,468,523,561,577,502,457,403,413,409,401,378,363,354,345,323,314,331,290,288,281,284,286,282,284,291,299,311,328,363,433,487,465,431,417,406,387,367,362,353,349,358,354,341,347,369,420,451,526,614,632,610,635,622,541,506,479,491,471,479,505,549,597,614,631,667,697,712,753,732,675,774,669,662,620,545,554,527,543,579,617,669,680,626,623,658,771,691,805,739,653,581,521,495,483,487,493,527,548,516,477,469,478,452,488,481,490,489,464,437,416,398,383,364,365,368,354,343,327,318,311,309,309,305,305,314,322,316,309,406,370,413,490,489,487,494,499,493,465,457,469,469,479,486,468,436,438,447,435,414,409,425,446,470,489,489,487,480,472,467,454,473,456,469,452,378,393,393,409,357,399,448,452,480,422,415,444,471,481,499,511,453,401,374,363,338],[2608,1976,1823,1785,1340,1216,1394,1576,2126,2500,2327,2188,2166,2279,2361,2288,2217,2322,2454,2455,2277,2330,2294,2421,2396,2364,2610,2272,2210,3065,3462,2699,2141,2247,2972,3216,2807,2600,2375,2468,2120,1775,2399,2547,2247,2140,2512,2513,2236,2225,2146,2084,2299,2265,2214,2542,2910,2667,1734,1768,2440,2723,2583,3124,3106,2654,2766,3045,2523,2097,2180,1599,1792,2939,2519,1933,2308,2579,2535,2599,2738,2866,2878,2740,2510,2430,2533,2770,2933,2850,2828,2722,2761,2989,3274,3273,3917,4104,3084,2942,2744,2577,3023,2415,2083,2231,2832,2942,2454,1864,1844,2247,2692,2513,2417,2384,2701,2786,3054,2521,2469,2373,2312,1844,1579,1928,2441,2447,2304,2568,2600,2783,2886,2761,2460,2178,2736,3352,3120,2584,2562,2561,2429,2410,1832,1869,2072,2468,2775,2684,2283,2164,2367,2354,2508,2541,2243,2104,2018,2524,2611,2923,3057,2925,2617,2457,2605,2186,1900,1750,1704,1740,2634,2261,1754,1565,1734,1937,2037,2093,2161,2204,2534,2358,1865,2014,2497,2631,2286,1921,2385,2342,2048,2084,2247,2363,2504,2588,2662,3117,2924,2679,2820,2763,3066,3208,3273,3350,3351,3182,3376,3298,3108,2924,2848,2113,2173,2381,2679,2571,1656,1644,2136,2503,2923,2484,1822,2116,2818,2995,2829,2873,2956,3152,3054,2959,2764,2418,2387,2710,2427,2181,2050,2414,2465,1661,1078,1823,2305,2806,3284,3186,2633,2356,2568,2714,2865,2948,2467,2286,2502,1950,1874,2074,2118,2067,1982,1870,1982,2269,2353,1669,1036,1547,1902,1868,1792,2082,2208,2427,2416,1834,1942,2767,2905,2054,1704,2005,1874,1896,2086,2001,1771,1942,2238,2613,2532,2401,2530,2404,2023,2134,2369,2284,2311,2589,2994,2556,1866,1891,2172,2916,3204,2978,2380,2534,2164,1876,2173,2348,2230,2276,2219,1958,2158,2208,1851,2183,2719,2884,1970,1548,1793,2718,2806,2084,2002,2305,2082,1707,1650,2017,2741,3016,2865,2729,2764,2574,2615,2521,2921,3129,2691,2564,2477,2613,3162,3674,3906,3859,3495,2917,2878,2902,2499,1898,1401,1526,2136,2092,1809,2399,2439,2633,2479,2272,2048,1777,2113,2481,2821,2395,1957,2210,1975,1740,2100,2326,3009,2854,2531,2280,2271,2632,2598,2840,2677,2375,1826,1755,2030,2194,2102,1989,2263,2271,1713,1635,2100,2806,3052,2890,3191,2500,2370,2396,1777,1741,1906,1937,1880,1925,2276,2119,2373,2194,1970,2125,2173,2262,2026,2056,2314,2093,1847,1931,2216,2305,1498,1224,1612,1950,2217,1778,1697,1915,1837,2162,2242,2060,2037,2329,2113,2362,2272,1929,2548,2401,2060,2052,2033,2060,1946,1938,1879,2142,2545,2022,1714,1891,2065,2177,1838,1545,1344,1407,1686,2343,2558,2158,1979,2015,2124,2066,2400,2217,1796,1622,1528,1455,1617,1975,1617,1282,1482,1483,1721,1698,1478,1626,2480,2430,1737,1757,2129,2611,2593,2101,2204,3029,3518,3736,3481,3372,3494,3401,2992,2780,2584,2534,2352,2441,2602,2557,2986,2850,1945,2335,2761,2187,2422,2896,1968,1465,1931,1627,2010,2015,1952,2137,2142,1681,1613,2361,2450,1759,1508,1628,1662,2319,3244,2146,1622,1344,1290,1216,1122,1043,1427,2221,2370,1846,1837,1534,1499,1578,1827,2045,2090,2368,2387,2047,1914,1924,1938,1971,1843,1766,1876,1825,1769,2160,2196,1799,2178,2585,2388,2054,1927,2117,2181,1888,1612,1721,2016,1854,2401,3233,2999,2182,1771,1951,2182,1836,1837,1899,1953,2041,1922,1910,2100,2168,2098,1901,1667,1424,1436,1600,1666,1599,1562,1540,2288,2676,2742,2643,2157,1770,1590,1781,1922,1720,1440,1537,1689,2236,2681,2712,2428,2427,1977,2098,2376,2215,2032,1753,1780,2101,2072,1675,1996,2976,2763,2031,2308,1987,1490,1601,1802,1461,1394,1780,1680,1957,2405,2126,2536,1893,1790,2086,2272,1655,1348,1456,1800,2056,2015,2111,2029,2208,2658,2748,2925,2731,2078,1758,1633,1746,1679,1550,1490,1499,1591,1635,2448,2674,2454,2332,2088,2070,2100,2115,2109,1688,1592,1607,1522,1512,1395,1717,1676,1535,1786,2025,1768,1682,1726,1452,1812,1913,1782,1680,1681,1456,1654,2139,2204,1853,1656,1860,2082,2393,2685,2242,1799,1654,1835,1882,1572,1399,1429,1391,1604,2453,2939,2472,2263,2113,1758,1612,1979,1903,1816,2452,2228,2036,2097,2269,2602,3230,2402,2161,2520,2130,2724,2003,1604,3019,2876,2731,3351,2790,2944,2547,2377,2177,2359,2862,2098,1821,1878,1589,1664,1961,1970,1921,1748,1476,1570,1737,1624,1997,2913,2435,1798,2195,2373,2841,3061,2777,2734,2988,1947,1825,1793,1652,1666,1656,1663,1682,1594,1931,2150,1911,2030,2095,1500,1453,1396,1510,1388,1435,1649,1597,1322,1593,1777,1464,1552,1582,1788,1602,1472,1583,1556,1439,1304,1494,1534,1588,1500,1312,1522,1611,1439,1562,1532,1496,1418,1616,1695,2066,2641,2602,2127,2147,2171,2339,2945,3614,3950,3980,3698,3682,3927,3891,3432,2709,2611,3738,3897,3275,2874,3117,3938,3210,2489,3176,3958,3350,2678,2396,1790,1531,1544,1829,1594,1724,1675,1381,1454,1597,1620,1673,1785,1895,1882,1736,1744,1504,1461,1450,1481,1371,1436,1518,1506,1596,1548,1483,1472,1506,1632,1719,1771,1480,1443,1392,1407,1208,1535,1588,1469,1933,1909,1768,1617,1477,1506,1484,1498,1674,2222,2115,1874,1857,1765,2001,2114,1808,1652,1736,1872,1694,1603,1459,1680,1694,1816,1842,2008,1848,1654,2752,3384,2677,2261,1996,2307,1934,1495,1659,2210,2227,1852,1521,2066,2601,2231,1911,1828,1835,2397,2372,2981,3107,2161,1909,2044,2447,3139,3203,3130,2742,2612,2503,2916,3068,2561,2299,2286,2502,2631,2617,3209,3392,2901,1961,1904,3039,2854,2350,2367,2134,2436,2145,1942,2319,2367,2268,2231,2391,2758,2930,3185,3724,3727,3414,3040,2550,2428,2756,2815,2842,3120,3110,2790,1949,2001,3015,3415,3319,3394,2752,2078,2059,1925,2201,2088,2159,2139,2450,2172,2025,1892,2203,2619,2403,2177,2731,3297,3254,3450,3515,3053,2380,2054,1790,1770,1645,1838,1946,1736,1632,1619,1652,2214,2818,2589,1873,1702,1580,1763,1911,1658,1525,1555,1473,1454,1560,1964,1470,1526,1678,1736,2088,2314,2230,2476,2555,2618,2460,2235,2015,2263,2998,3617,3020,2568,2309,2155,1857,2142,3238,3461,2508,2282,2479,1739,1812,1788,1780,2131,2451,3242,3659,3499,3437,3281,2829,2540,2681,2756,2941,3231,3451,3657,3676,2937,2720,3518,3175,2788,2668,2662,2688,2676,2901,3274,3165,2880,3085,2730,2394,2684,2865,2821,2736,2633,2347,2448,3112,3423,2831,2035,2476,3011,2844,2774,2877,2542,2868,2973,2199,2245,2877,2906,3033,3504,3890,3492,3409,3353,3109,3204,2830,2418,2925,3241,3125,2473,2353,2450,2667,2527,2452,2702,2907,2576,2225,2500,2580,2321,2204,2416,2610,2928,2753,2570,2544,2775,3105,3316,3308,3652,3016,2624,2459,1952,2372,2264,1900,2194,2244,2068,2128,2095,2106,2207,2132,2317,2677,2575,1895,2347,2954,2329,2427,2615,2257,1980,2073,2137,2150,2207,2476,2371,1888,2009,2032,1910,2004,2812,3024,2167,2054,2308,2114,2021,3480,3452,3095,3452,3874,3854,3242,3310,3522,3486,3574,3055,2708,2466,3145,3956,4417,4428,4487,4544,4499,4544,4312,3974,4277,4268,4345,4408,4355,4444,4432,4352,4248,3595,3034,1770,508,385,318,306,299,285,287,292,323,347,358,347,343,335,323,311,302,293,279,267,274,282,281,277,289,307,461,592,575,597,736,838,875,1091,989,794,748,794,828,806,779,718,625,639,771,827,784,725,580,543,571,493,500,594,725,1122,1521,1692,1718,1755,1808,1931,1903,2100,1998,1765,1644,1449,1577,1752,2260,2116,1504,1716,1760,1621,1391,1382,1472,1422,1260,1114,1033,859,741,754,768,870,929,947,1033,1461,1575,1479,1581,1636,1552,1636,1781,1688,1727,2077,2047,2306,2086,1908,1618,1355,1143,959,1011,1040,874,895,880,745,659,613,596,546,504,514,556,637,711,752,741,709,659,723,1019,1115,1784,2326,1571,1136,1808,2380,1830,1588,2546,2874,2081,1760,2798,3471,2949,2410,2246,2397,2352,1906,1380,1302,1412,1572,1810,1716,1457,1359,1546,1758,1699,1713,1688,1604,1636,1703,1571,1297,1149,1110,1327,1207,1195,1098,1262,1318,1246,1248,1249,1140,975,895,945,838,685,641,724,706,674,637,603,575,553,544,541,513,483,485,488,519,469,472,475,480,468,460,482,465,428,446,425,430,492,474,475,474,457,432,404,370,357,368,376,360,358,384,398,382,354,361,364,352,335,343,354,366,386,401,417,457,507,527,573,543,492,439,393,397,397,375,371,359,345,333,312,334,294,278,282,280,281,280,288,290,296,299,315,346,410,455,458,436,413,396,379,372,368,356,351,344,342,340,346,362,396,429,481,557,594,579,613,639,592,518,444,493,480,477,514,568,591,595,613,626,674,775,776,706,607,701,720,778,710,582,539,541,549,602,660,694,694,665,608,599,755,706,752,752,675,604,530,491,476,497,466,499,511,479,455,448,455,459,479,488,492,475,451,421,404,389,365,349,353,362,353,341,329,317,308,308,305,304,304,319,326,326,314,380,374,403,478,514,508,493,487,474,457,453,455,457,471,486,478,447,428,432,454,420,411,429,462,479,488,489,493,486,493,493,483,478,460,479,496,412,457,393,424,389,374,426,459,463,457,447,438,464,469,458,433,391,354,344,367,357],[2170,1958,2017,2256,2070,1663,1435,1918,2394,2247,1935,2078,2174,2176,2357,2481,2509,2281,2395,2303,2014,2036,2474,2656,2377,2445,2548,2216,2536,3640,3683,3208,3041,2786,3006,2945,2316,1828,2203,2548,2122,1991,2097,2103,2179,2140,2192,2237,2120,2141,2082,2219,2700,2432,2111,2411,2484,2141,1826,2399,2940,3119,3143,3454,3396,3227,3044,2980,2924,2889,2508,2249,2246,2174,1988,2078,2204,2186,2281,2622,2851,2895,3028,2867,2552,2469,2535,2597,2646,2832,2773,3123,3509,3110,3028,4073,4929,4460,3062,2621,2923,2304,2030,1932,1626,2764,3695,2641,1987,1854,2253,2426,2536,2420,2305,2479,2617,2788,2539,2313,2482,2666,2498,2025,1903,2033,2392,2539,2932,2604,2202,2048,2227,2334,2110,1986,2284,2788,2937,2426,2449,3123,2901,2835,2708,2469,2393,2380,2430,2668,2666,2330,2267,2330,2428,2131,2350,2430,2363,2071,2172,2917,2808,2821,2508,2265,2587,2305,1936,2149,1948,1720,2576,2988,2274,1765,1747,1686,1752,1898,1908,2152,2293,2060,1929,2305,2935,2326,2364,1890,1781,1909,2242,2293,2300,2437,2908,2588,2510,2856,2602,2535,2689,2875,2787,2374,2259,2725,2997,2876,2894,2733,3090,2866,2978,1848,1752,2131,2559,2085,1238,1263,2053,2755,2604,1998,1644,1811,2459,2796,2817,2973,3099,2997,2898,2925,3118,3116,2697,2527,2199,1832,1931,1622,1967,1858,1259,1115,1960,3441,3638,3278,2607,2153,2022,1899,2062,1714,2004,2496,2749,2557,2318,2494,2414,2287,2194,1750,1786,2346,2499,1666,1378,1954,1952,1837,1937,2250,2195,2241,2410,1919,2264,2679,2471,2046,1626,1982,1836,1661,1904,1797,1705,1532,1687,2271,2288,2370,2160,2013,2322,2595,2495,2469,2251,1941,2216,1903,1727,2010,2138,2567,2374,2219,2263,2334,2026,1942,2032,2376,2554,2238,1852,1809,2323,2249,2017,2009,2353,2930,2371,1988,2393,2427,2055,1865,1781,2160,2184,1859,1958,1974,2369,2966,3076,2793,2566,2414,2425,2532,2763,3006,2714,2779,2911,2778,2901,3299,3879,4125,4014,3372,2951,3184,2932,2270,1812,1565,1829,2110,1873,1834,2379,2343,2291,2487,2340,2477,2443,2243,2515,2416,2452,2461,2098,1776,1827,2144,2219,2180,2692,2621,2372,2415,2214,2138,1824,2028,2192,1835,1763,1865,1833,1959,2145,1746,1482,1792,2135,2197,2153,2398,2519,2113,2061,1975,1876,1770,1766,1797,1836,1755,2294,2546,2847,2500,2155,2017,2076,2127,1760,1700,1810,1904,1921,2198,2263,2316,1340,1625,2006,1830,2177,1723,1636,1896,1726,1757,1692,1646,1839,2084,2177,2842,2631,2518,2819,2326,1589,1478,1838,2084,2078,2112,2126,2260,2111,1740,1918,2038,2113,1923,1761,1704,1454,1577,1531,1685,2293,2217,2395,3348,2952,2432,2585,2419,1918,1619,1361,1509,1397,1585,1384,1364,1399,1663,1935,1823,1626,1573,1809,1912,1749,1704,2035,2787,2752,2776,3083,2955,3395,3401,2944,3098,2949,2107,2342,2798,2642,2377,2163,2110,2361,2676,2934,2966,2133,1670,2189,2497,2347,2396,1666,1383,1965,2126,2070,1814,1849,2024,2090,1687,1556,1996,1861,1512,1542,1804,2098,2199,2744,1981,1620,1578,1560,1375,1146,1122,1556,1983,1841,1740,1788,1560,1534,1704,1767,1680,2013,2498,2351,2152,2136,1902,2309,2344,1803,1546,1552,1618,1630,2070,2168,2225,2916,2974,2513,2276,2014,2064,2004,1836,1765,1779,1806,1646,2460,3357,2897,2126,1745,1835,2346,2325,2033,1826,1946,1939,1660,1601,1841,1939,1841,1715,1548,1594,1971,2182,1974,2161,2144,1705,2304,2383,2543,2390,1882,1959,1952,1749,1722,1526,1607,1778,1782,2296,2584,2460,2493,2389,2353,2702,2491,2231,2020,2038,2138,2126,2097,2003,2363,3327,2898,2206,2250,1971,1600,1608,1748,1577,1670,1770,1627,1792,1866,1701,1713,1634,1832,2133,1838,1508,1417,1653,1524,1591,1744,1830,1587,1665,2266,2674,2727,2457,2027,1704,1441,1446,1390,1324,1301,1537,1464,1617,1975,1957,1769,1615,1936,2040,1973,1852,1842,1544,1556,1795,1594,1401,1451,1635,1664,1686,1886,1811,1580,1644,1633,1427,1550,1709,1621,1404,1331,1480,1760,2104,2015,1701,1682,1685,1919,2442,2319,1927,1599,1671,1837,1928,1930,2058,1839,1704,2493,3507,3300,2620,2392,1932,1711,2037,2329,1981,2004,2047,1756,1723,1892,2776,2928,2985,2478,2321,2250,2370,2624,1870,2527,3969,3542,2728,3022,2793,2650,1776,2568,2574,2194,2407,2181,1548,1520,1667,1869,1835,1939,1946,1737,1424,1412,1544,1700,2198,2862,2438,1773,1805,2143,2854,2750,2813,2977,2829,1956,1707,1902,1781,1654,1698,1670,1687,1686,2069,2053,1885,2079,1926,1603,1468,1399,1437,1440,1801,2073,1708,1499,1635,1639,1514,1518,1389,1406,1517,1536,1523,1438,1277,1279,1400,1522,1522,1560,1493,1643,1820,1489,1541,1561,1555,1777,1775,1590,1898,2065,1763,1869,2063,2199,2542,3122,3697,4281,4540,4372,4299,4163,3773,3099,2919,2547,2949,3052,3178,2991,2223,2691,2933,3034,3382,3173,2639,2227,1706,1524,1489,1592,1664,1327,1881,2010,1617,1567,1651,1635,1561,1744,1992,1670,1638,1712,1919,1704,1630,1648,1624,1758,1616,1555,1525,1470,1499,1503,1563,1658,1704,1977,1710,1822,1931,1711,1328,1322,1220,1245,1625,1852,1983,1888,1782,1608,1367,1492,1757,2336,2253,1906,1757,1503,1656,1837,1851,1616,1655,1830,1611,1402,1659,1973,1880,1897,1940,2204,2122,2080,2785,2986,2497,2393,2330,2218,1892,1497,1837,2280,1957,1672,1554,2158,2487,2075,1968,2093,2052,2376,2044,2503,3032,2368,2183,2157,2430,3034,2921,3256,3177,2932,2525,2587,2611,2720,2602,2300,2239,2673,3031,3222,3294,3242,2379,2392,3057,3128,3310,2786,2525,2811,2232,1947,1752,1855,2184,2342,2885,2542,2765,3293,3513,3398,3218,3032,2562,1959,2462,2637,2943,2600,2149,2515,1883,2044,3174,3223,2563,2576,3031,2586,2285,2065,2159,2542,2635,2337,2226,2318,2552,2874,3089,2746,2300,2499,2610,2500,2954,3489,3325,2826,2597,2000,1405,1453,1627,1796,1753,1583,1519,1636,1927,2049,2407,2192,1657,1570,1491,1605,1694,1469,1478,1628,1452,1465,1708,1939,2133,2778,2917,2722,2888,2788,2683,3108,3550,3448,2889,2321,2141,2322,2287,2816,2713,2519,2519,2355,2223,2510,3104,3423,3372,2466,2164,1688,1529,1591,1780,1834,1965,2685,3294,3488,3466,3310,3117,2921,2799,2706,2806,3006,3252,3330,2885,2356,3195,3699,3174,2739,2850,3267,2733,2680,2821,2879,2850,2355,2403,2647,2720,2856,2486,2360,2248,2476,2475,2654,3178,3385,3309,2631,2077,2556,2592,2594,2909,2112,2402,2803,2400,2208,2854,2909,2856,3695,4169,3592,3593,3719,3624,3395,2630,2520,3040,3551,3217,2163,1997,1943,2207,2606,2611,2584,2879,2719,2700,2868,2778,2715,2063,1815,2561,2966,3069,2718,2218,2592,3124,2994,3131,3378,3209,2872,2801,2169,2366,2064,2050,2461,2218,2190,2542,2454,2274,1821,1762,2156,2408,2357,2136,2500,2557,2312,2115,2224,2314,1913,2224,2151,2210,2279,2452,2286,1773,1802,1991,2017,2224,2999,3168,2357,2319,2467,2775,3616,4189,4086,4143,4185,4091,3918,3166,2755,2895,3409,2985,2679,2750,2940,3022,3753,4312,4323,4394,4672,4720,4608,4384,3957,4111,3963,4212,4488,4494,4471,4167,3960,3861,3654,3429,2322,699,425,310,299,289,290,290,298,314,331,344,348,348,331,328,311,301,294,285,274,275,282,282,280,301,343,562,799,736,684,819,889,909,1040,1055,914,817,845,840,811,803,739,667,613,747,862,792,766,627,555,596,520,549,632,702,1040,1317,1398,1469,1510,1584,1782,1850,1909,1819,1540,1393,1360,1311,1281,1424,1613,1555,1783,1506,1317,1117,1104,1207,1239,1170,998,856,804,680,715,732,829,912,983,1078,1506,1677,1595,1563,1453,1365,1446,1666,1744,1648,2161,2398,2347,2069,1964,1766,1406,1269,1139,1135,1292,1096,999,931,737,663,626,629,598,550,555,571,650,749,732,720,693,595,672,990,1249,1129,1667,1881,1381,1376,2270,2341,1688,2260,2706,2341,1919,2445,3152,2988,2464,2371,2430,2461,2163,1618,1390,1364,1434,1599,1510,1322,1272,1308,1471,1441,1422,1458,1416,1635,1772,1449,1149,1093,961,849,1029,1196,1176,1221,1300,1284,1229,1224,1159,1051,937,941,893,769,709,704,707,693,645,608,579,552,553,557,518,478,481,474,482,459,427,432,464,446,443,465,463,425,430,450,477,528,505,479,471,446,430,405,377,360,368,367,367,356,371,401,378,356,365,357,352,345,345,347,358,366,372,411,465,509,514,544,567,521,439,401,380,365,365,378,366,350,325,307,334,306,273,282,278,272,274,274,277,285,294,311,333,378,423,442,421,404,384,364,367,370,356,347,342,344,342,343,349,360,398,437,488,569,592,593,592,584,531,517,490,476,497,527,564,591,605,633,693,756,826,788,683,585,595,695,776,726,619,540,611,622,641,721,697,644,696,624,620,784,707,686,766,673,620,539,506,482,507,486,486,478,454,439,434,437,455,475,494,483,453,427,399,385,379,361,342,339,351,353,340,328,312,304,305,306,306,304,318,331,337,328,354,372,384,447,498,503,497,485,464,454,454,451,444,449,477,478,455,429,412,455,422,414,426,443,461,470,474,482,488,496,494,479,467,455,452,501,451,520,442,434,443,381,374,430,430,459,452,398,432,453,451,448,415,374,373,381,363],[1897,2488,2856,3266,3172,2707,2234,2372,2755,2229,1722,2311,2220,2084,2229,2342,2418,2364,2298,2092,1819,2213,2755,2362,2178,2294,2348,2381,3231,3639,3393,3085,2746,2762,2841,2741,2316,1995,2251,2518,2280,2144,2044,2076,1954,1797,1803,1992,1994,2043,2061,2149,2662,1931,1819,2510,2075,1797,1980,2053,2402,2813,2890,3008,3006,2986,2720,2451,2260,2387,2188,2354,2420,2201,2094,2518,2600,2563,2756,2946,3043,2992,3062,2885,2680,2668,2769,2694,2724,2813,2824,3117,3470,3342,3770,4459,4680,4752,4239,3427,2645,2183,2042,1743,1714,3150,3553,2626,1886,1766,2198,2180,2099,2031,2452,2851,3024,2625,2264,2316,2241,2496,2480,2341,2225,2182,2297,2414,2496,2279,1943,1908,2187,2061,1876,1930,2023,2329,2990,2833,2763,3133,3021,3118,2974,2595,2624,2308,2177,2962,2918,2166,1526,2220,2442,1843,1933,2204,2586,2378,2808,2981,2418,2430,2035,2086,2007,2358,2054,1933,1666,1816,2329,2430,2273,2478,2403,2045,2079,1881,1996,2301,2468,2291,2113,2169,2281,2046,2004,1920,1802,1705,1705,1791,2340,2293,2821,2450,2658,3082,2844,2765,2864,2824,2736,2347,2107,2099,2360,2518,2856,3197,3123,2303,1956,1548,1642,1957,1968,1858,1725,1729,2482,2454,2174,1858,1753,2013,2445,2946,3266,3218,3306,3342,3088,2905,3229,3086,2916,2988,2378,1958,2014,1906,2280,2397,1852,1066,1868,3406,3107,3400,2568,2625,3066,2766,2581,2450,2835,2799,2919,3038,2706,2848,2659,2071,1863,1681,1650,2031,2046,1766,1780,2104,2348,2254,2207,2386,1969,2388,2408,2131,2554,2910,2809,2041,1622,1667,1484,1666,1866,1779,2114,1873,2026,2272,2517,2671,2373,2219,2842,2641,1943,2055,2032,1698,1709,1447,1686,1978,1918,2230,2272,2118,2260,2020,1984,1852,1637,2339,2659,2196,2057,2197,2902,3009,2558,2081,1856,1918,1898,1999,2186,1763,1646,1749,1801,2165,2128,2035,1905,1954,2684,2945,2248,2004,2188,2301,2389,2380,2371,2591,2698,2688,2730,2921,3173,3286,3475,3804,4208,4030,3394,3255,3093,2636,2234,1989,2190,2470,2442,2315,2441,2369,2348,2699,3218,3035,2596,2178,2195,1887,1860,1902,2126,2041,1888,2001,1970,2261,2840,2383,2242,1940,1734,1511,1724,2751,2620,2000,1735,1727,2325,2260,1909,1455,1654,2056,2206,2441,2264,2309,2264,2163,2100,2358,2268,1922,2191,2046,1745,1659,1989,2654,3120,3107,2621,1877,1949,2100,1962,1804,1587,1533,1786,1919,1967,1830,1708,2129,1730,1926,2392,1749,1586,1542,1627,1682,1756,1713,1968,2331,2807,2964,2656,2561,2729,2294,1688,1999,2201,2090,2348,2318,2145,2131,1891,1937,2132,2062,1995,2092,1748,1472,1456,1533,1512,1628,1864,2063,2322,2766,2850,2512,2120,2100,1848,1503,1362,1582,1650,1997,1420,1300,1406,2282,2479,1677,1825,1919,1567,1778,1703,1482,1816,2326,2187,2902,3470,3184,2900,2547,2417,2510,2274,1827,2341,2744,2416,2263,2210,2026,2078,2405,2696,2855,2792,2639,2553,2461,2416,2707,2258,1954,2015,2222,1936,1817,2268,2389,2470,2175,1946,2066,1760,1699,1677,1588,1852,1627,1522,1509,1498,1523,1550,1485,1412,1487,1603,1678,1669,1678,1617,1659,1937,2028,1842,2129,2658,2437,1998,2101,1910,1904,1858,1944,1658,1706,1800,1636,1908,2908,2856,2159,2620,2622,2352,2280,1948,2019,2062,2119,1964,1944,1823,1791,2612,3395,2810,2258,1772,1553,1816,2887,2376,1803,2022,1886,1651,1676,1649,1721,1871,1984,1567,1569,1876,2041,2146,2688,2770,2259,2323,2398,2710,2593,2042,2080,2349,1871,1704,1601,1725,2140,1927,1966,2203,2169,2006,1937,2018,2270,2185,2396,2026,2403,2088,1829,1913,2113,2403,2708,2565,2386,2476,2240,1785,1706,1732,1866,1832,1670,1543,1640,1764,1658,1522,1470,1834,1976,1761,1927,1773,1856,1375,1471,1744,1710,1548,1667,2276,2574,2423,2297,1852,1652,1783,1430,1529,1511,1538,1594,1550,1777,1544,1403,1403,1475,2172,1887,2084,2177,1828,1504,1982,1944,1579,1481,1475,1636,1830,1663,1678,1471,1724,2276,1812,1380,1268,1448,1686,1617,1465,1580,1856,1970,1576,1597,1713,1886,1937,2198,2344,1958,1599,1933,2308,2114,1676,1836,1942,1830,2912,2858,2569,2128,1586,1547,1674,2241,2511,2224,2261,1882,1817,2113,2518,3326,3273,2477,2220,2478,2504,3016,2785,1849,2414,3702,3403,2287,2260,2403,2048,1547,2557,2753,2304,3130,3332,2164,2192,2114,2288,1707,1831,2124,1968,1800,1676,1549,1770,2280,2374,2145,1658,1720,2162,2901,2821,2721,3186,2718,1842,1768,2065,1887,1522,1598,1548,1493,1584,1716,1514,1799,2358,1914,1536,1616,1608,1492,1519,1721,1660,1466,1530,1748,1650,1565,1522,1431,1490,1554,1541,1601,1505,1356,1407,1497,1611,1750,2072,1806,1560,1581,1379,1582,1702,1592,1969,2048,1586,1509,1477,1450,1613,1790,1786,2214,3184,3705,4203,4575,4559,4450,4068,3785,3225,3352,2954,2521,2579,3254,2654,1870,2382,2984,3317,3273,2864,2966,2157,1559,1470,1758,2398,2040,1578,1725,1645,1541,1510,1630,1912,1764,1792,1901,1772,1590,1732,2128,1864,1807,1823,1731,1664,1617,1708,1440,1324,1386,1475,1754,1606,1776,1991,2071,2082,1774,1616,1458,1673,1425,1308,1726,1950,2058,1936,1981,1722,1548,1832,2280,2636,2188,1782,1744,1852,1621,1870,1954,1662,1680,1578,1420,1408,1705,2179,2355,2494,2047,1769,1740,1902,2133,2120,2025,2468,2208,1740,2106,2185,2014,2257,1818,1596,1848,2142,2430,2168,1733,1578,1531,1805,1920,2122,2421,2496,2691,2476,2417,2942,3244,3366,2967,2662,2740,2684,2728,2996,2502,2202,2381,2710,3131,3165,3087,3255,3065,2598,2523,3025,2986,2322,2854,2940,2532,2508,2137,2409,2648,2508,2408,2212,2602,2938,2977,2842,3321,3295,3294,2476,2304,2492,2923,2814,2411,2312,2278,2476,2719,2663,2208,2145,3272,3442,2575,1757,1981,2520,2327,1950,2050,2418,2529,2685,2722,2248,2135,2236,2280,2193,2642,2722,2469,2900,3517,2784,1829,1914,2041,1888,1608,1466,1512,1704,2204,2030,1862,1822,1671,1557,1663,2004,1866,1688,1624,1851,1605,1596,2073,2160,2257,3035,3830,3919,3631,2990,2457,2912,3834,4104,3399,2520,2206,2451,2365,1998,1920,2190,2042,2048,2489,2077,2225,2314,2563,1952,1876,1643,1439,1466,1613,1798,1941,1881,2296,3198,3312,3110,2994,2990,2796,2526,2710,2920,3309,3162,2179,2229,3240,3520,3397,2812,3067,3121,2319,2080,2405,2755,2492,1940,2194,2836,2956,2963,2451,2360,2337,2209,2164,2642,3100,3055,3206,3231,2962,3139,2591,2322,2836,2767,2998,2940,2646,2275,2583,2802,2711,3505,3884,2868,3064,3374,3654,3491,3120,2676,2473,3015,3228,2827,2396,2040,1882,2074,2472,2532,3035,3086,3265,3082,2734,2558,2073,2447,3199,3331,3256,2798,2447,2526,3104,3328,2628,2854,3321,3315,2834,2310,2222,2026,2281,2514,2266,2050,1968,2145,1908,1734,1917,2331,2558,2292,2259,2185,1931,2046,1815,2205,2141,2057,2336,1927,2214,2423,2554,2509,1939,1924,2122,2214,2100,2668,2635,2690,2979,3516,4045,4527,4447,3780,3725,4225,4145,3718,2863,2796,3186,2966,2492,2410,2586,2930,3219,3883,4387,4474,4619,4839,4707,4551,4195,3956,3796,3685,3986,4429,4536,4379,3984,3861,3916,3893,3521,2132,768,431,324,311,317,308,295,294,301,314,332,352,375,331,323,308,306,309,299,283,280,289,285,279,303,406,664,938,988,841,927,961,1025,1071,1170,1077,868,858,870,804,834,765,728,622,686,828,769,744,681,582,613,573,538,632,747,1017,1131,1261,1377,1387,1414,1559,1685,1746,1709,1424,1196,1217,1164,1144,1117,1822,1914,1711,1393,1157,963,1019,1140,1021,990,1033,894,823,714,713,799,874,995,1243,1306,1575,1881,1830,1774,1766,1577,1342,1455,1759,1831,2243,2774,2620,2137,2038,2017,1536,1270,1190,1182,1354,1393,1222,1039,783,716,681,672,647,583,569,599,680,837,815,764,722,573,573,679,965,1012,1252,1766,1606,1160,1645,2367,2288,1866,2138,2590,2242,1971,2517,2752,2519,2525,2589,2486,2290,1999,1592,1349,1349,1500,1448,1291,1319,1318,1339,1312,1285,1295,1246,1404,1678,1519,1189,1134,1055,789,872,1127,1207,1255,1234,1219,1172,1162,1143,1062,913,868,914,858,736,657,629,612,591,586,572,550,551,538,505,488,477,460,443,439,421,428,466,419,438,444,460,441,422,458,516,560,535,493,476,442,421,401,380,364,383,410,394,357,365,405,386,349,365,351,346,346,346,348,346,351,357,390,447,477,478,500,553,561,456,412,376,363,370,377,366,353,317,302,332,314,280,283,274,271,266,264,270,272,288,307,332,348,364,400,393,391,375,361,359,360,352,346,351,356,352,342,340,346,368,393,429,490,531,558,575,540,518,516,502,500,519,542,561,583,597,638,712,738,768,760,667,566,517,626,747,692,663,574,633,673,683,773,723,611,701,701,689,833,750,710,816,666,641,593,563,532,524,522,495,463,444,439,439,444,444,444,495,477,442,414,387,371,370,363,345,339,345,343,342,327,316,305,303,307,306,303,317,335,344,338,351,372,383,401,477,492,512,504,473,459,466,459,437,437,460,471,458,443,420,447,423,417,426,439,454,461,464,463,468,479,476,462,449,454,458,502,493,524,518,482,483,448,353,391,415,443,479,442,423,437,445,451,443,410,393,396,382],[1988,2509,3077,3593,3451,3055,2515,2688,2876,2454,2218,2774,2730,2233,2314,2540,2351,2268,2296,2249,2128,2249,2479,2288,1965,2294,2481,2477,3078,3303,3326,2820,2500,2611,2654,2666,2322,2364,2132,2174,1987,1805,1818,1670,1258,1225,1630,2042,1872,2054,2191,2220,2640,1875,1935,2307,2047,1882,2149,2543,3173,3191,2889,3053,2968,3120,2898,2617,2733,2756,2491,2259,2457,2032,1781,2648,2942,3108,3017,2683,3036,2602,2878,3107,2976,2739,2768,2688,2655,2825,2932,3007,3319,3541,4164,4184,3881,4057,3886,2944,2192,2408,2232,2103,3103,3283,2612,2753,1829,1493,1793,2377,2555,2605,2415,2608,2988,2401,2126,2737,2784,2545,2373,2564,2359,2089,2384,2530,2661,2583,1987,1926,2048,1794,1737,1854,1802,1783,2241,2185,2535,2833,2844,3052,2950,2829,2925,2625,2607,3053,2408,1421,1398,1833,1770,1997,1795,2021,2765,2698,2746,2284,2176,2187,2062,2338,2062,2203,2040,1889,1748,1968,2398,2342,2492,2836,2536,2831,3218,2249,2265,2445,2258,2329,2409,2257,2146,2169,2298,2461,2394,1868,1918,2526,2531,1963,2219,2706,2752,3072,3382,3132,2753,2726,2995,2407,2258,2232,2475,2853,3270,3537,2972,2178,2042,1936,1829,1918,1602,1632,1833,2216,2546,2137,1976,2030,1816,1980,2304,2755,2976,2938,3144,3175,2517,2535,2991,2863,3016,2937,2912,2720,2324,2107,2045,1915,1876,1421,2181,2923,2906,3363,3602,3852,4072,3776,3017,2624,2858,2811,3039,3197,3042,2764,2721,2008,1828,2048,1775,1883,2002,1994,2144,2476,2968,2705,2370,2141,1969,2337,2119,1960,2497,2503,1997,1769,1896,2120,1950,1849,2254,2165,2376,2500,2403,2115,2424,2591,2286,2274,2624,2711,2271,1880,1763,1706,1657,1522,1845,1847,1897,2260,2234,2166,2144,1699,1675,2003,2195,2185,2013,1925,2394,3100,3255,3217,2863,2622,2222,1707,1536,1766,2030,1817,1869,1764,1839,2139,2327,2190,1692,1322,1993,2284,1289,1260,2031,2678,2623,2461,1927,2169,2579,2631,2678,2738,3095,3279,3132,3419,4070,4384,3816,3248,3312,3122,2676,2082,1929,2201,2394,2480,2625,2737,2755,2786,2842,2544,2638,2488,2046,1823,1665,1711,2192,2221,2119,2238,2235,2322,2285,1939,1894,1830,1761,1933,2478,2802,2419,1777,1726,1894,2789,2447,1775,1616,1835,1966,2385,2419,2263,2318,2178,2055,2392,2744,2342,2547,2476,2053,1864,1615,1822,2446,2758,3309,3298,2093,1636,1761,1672,1393,1416,1675,1878,1787,1805,1814,1973,1973,2070,2533,2432,1641,1604,1565,1604,1786,1926,1918,1922,2579,3118,2865,2722,2656,2885,2611,2089,2245,2183,2249,2292,2403,2203,1762,1912,2275,2296,1970,1853,2114,1921,1549,1682,1561,1999,2228,2254,2367,2060,2106,2367,2283,1674,1806,1808,1681,1497,1677,1715,1691,1444,1425,1516,1937,1924,1323,1990,2093,1784,1621,1457,1301,1418,1798,1992,2714,2902,2323,2253,2438,2618,2271,2430,2313,2458,2472,2077,2286,2267,2074,2042,2052,2247,2557,2784,2989,2699,2040,2149,2319,2062,2010,1861,1935,2086,2647,3264,3186,3217,2423,2007,1979,1964,1870,1660,1667,1768,1566,1575,1799,1525,1437,1729,1679,1725,1939,1884,1548,1716,1616,1614,1951,2438,2207,1813,2402,3134,2736,2221,2215,2534,2394,1753,1607,1553,1524,1771,2095,2469,2843,2598,1906,1883,2014,2280,2295,2036,2338,2386,1957,2031,2015,1678,1651,2091,2879,2750,2237,1934,1680,1782,2117,1905,1735,1696,1571,1464,1449,1471,1498,1614,1707,1439,1514,1593,1677,1996,2610,2697,2308,2403,2469,2641,2451,2349,2139,2191,1775,1775,1734,1738,2233,2218,1939,2170,2291,2010,1945,1729,2093,2124,2225,2360,2670,1873,1749,2405,2567,2204,2160,3063,3288,2945,2849,2448,2469,2144,2175,1957,1764,1663,1793,1860,1568,1535,1497,1627,1876,1712,2008,1858,1457,1403,1710,1729,1474,1454,1621,1974,2198,2182,2035,1707,1697,1676,1550,1626,1714,1740,1681,1832,2030,1689,1604,1596,1942,2709,2618,2770,2549,1813,1489,1514,1448,1445,1463,1444,1867,1870,1541,1680,1641,2220,2618,2027,1273,907,1071,1440,1694,1574,1697,1765,1928,1656,1568,1951,1994,1825,2358,3177,2862,1896,2022,2284,1891,1416,1589,2001,1856,2480,2237,2264,1877,1504,1667,1951,2619,2653,2575,2530,2158,2130,2499,2671,3197,3107,2115,2066,2471,2566,3140,3088,1995,2448,3292,3059,2467,2562,2586,2515,2712,3176,3250,2612,2896,2794,2141,2227,2371,2227,2048,2065,1823,1833,2248,2403,1802,1239,1743,1868,1897,1628,1514,2017,2801,2917,2769,3222,2817,1644,1705,1865,1661,1500,1570,1472,1750,1971,1543,1593,2071,2392,1984,1429,1512,1848,1796,1703,1528,1488,1397,1633,1822,1699,1736,1718,1416,1433,1523,1470,1578,1554,1559,1693,1671,1455,1584,1675,1405,1439,1454,1398,1665,1565,1317,1668,1637,1429,1427,1339,1748,2335,2474,2267,2855,3648,3898,4119,4264,4351,4274,4115,3934,3299,2944,2781,2635,2746,2811,2247,2251,2464,2563,2444,2753,3106,2873,2047,1678,1550,1935,2454,2245,1988,1848,1602,1438,1522,1637,1678,1807,1694,1830,1858,1541,1845,2008,1598,1750,1882,1782,1625,1572,1401,1236,1337,1436,1535,1590,1548,1729,1874,2007,2042,1802,1596,1543,2008,1716,2051,2105,1817,1747,1632,1770,1637,1563,1870,2061,1909,1740,1665,1694,1756,1563,1664,1549,1598,1772,1794,1642,1652,1686,1728,2070,2129,1709,1366,1583,1930,2470,2977,3200,2972,2155,1699,2446,2191,1747,1938,1853,1528,1871,2014,2323,2497,2012,1710,1732,1594,1697,1898,1685,1872,2830,2553,2520,2932,3209,2839,2425,2571,2554,2480,2375,2403,2260,2317,2622,2801,3083,2987,2819,2967,3011,2766,2478,2297,1851,1602,2435,2711,2596,2577,2442,3025,3007,2442,2248,2271,2431,2420,2512,2967,3154,2699,2810,2578,2656,2598,2765,2810,2587,2680,2565,2671,2898,3034,3051,3108,3539,3093,1842,1597,2216,2778,2393,1621,1701,2313,2105,2635,2470,2359,2583,2644,2454,2501,2498,2380,2757,3675,4020,3459,2428,2024,1911,1943,1720,1494,1587,1805,2155,2021,1752,1566,1333,1292,1492,1746,1832,1770,1612,1507,1622,1687,2065,2460,2337,2633,3263,3529,3318,2634,1862,2070,3360,3916,3206,2329,2207,2752,2718,1977,1865,2062,1974,2732,3275,2175,2020,1996,2018,1776,1519,1366,1433,1467,1444,1540,1817,1682,1881,2486,2793,3166,3109,3042,3006,2800,2774,2867,3024,2546,1881,1928,2490,3342,3087,2577,2730,2720,2269,2230,2854,3070,2588,2386,2365,2723,2730,2951,2746,2448,2401,2581,2675,2828,3226,3209,2884,3238,3369,3543,3240,2354,2601,2948,2702,2522,2630,2447,2453,2358,2291,2695,2974,3239,3222,3260,3835,3705,3187,2996,2824,3043,3299,2576,2055,1976,1687,1671,1940,2614,3132,3266,3292,2846,2590,2328,2350,3110,2975,3035,2649,2658,2996,3124,2524,3084,2754,2998,3584,3527,2980,2266,2298,2422,2646,2339,2066,1931,1794,1952,1982,2104,2023,2001,2218,2390,2230,2171,2338,2119,2404,2735,2143,2025,2268,2027,2326,2664,2791,2856,2214,2173,1871,2040,1908,2114,2212,3323,4040,4459,4568,4339,4016,3688,3507,3947,4083,3461,2773,2894,3183,2741,2607,2741,2741,2887,3641,4001,4164,4686,4716,4859,4772,4532,4164,3829,3682,3741,3884,3801,4168,4436,4138,3939,4013,3993,4096,2494,1035,502,378,323,329,315,293,289,290,299,319,337,376,346,334,314,306,316,315,293,285,285,283,283,305,509,933,1162,1268,1042,1016,1048,1058,1172,1328,1300,1096,917,948,831,856,794,770,665,633,768,769,727,716,643,667,641,545,640,774,1034,1049,1137,1291,1307,1274,1393,1535,1649,1637,1345,1075,1068,1005,1101,1017,1520,1760,1754,1507,1131,993,1016,1135,921,844,1004,865,796,775,765,848,1003,1251,1605,1620,1533,1877,2076,2084,2159,1998,1809,1582,1783,2058,2336,2767,2890,2648,2222,2311,1824,1333,1158,1187,1287,1489,1601,1242,908,799,717,708,679,635,616,662,713,859,799,706,657,636,606,661,898,965,1024,1272,1470,1265,1207,1696,2378,1985,1919,2454,2206,1646,1955,2463,2504,2460,2448,2379,2303,2165,1743,1391,1299,1441,1405,1271,1271,1313,1283,1212,1202,1193,1130,1252,1564,1639,1366,1215,1177,916,720,986,1212,1242,1172,1138,1103,1111,1102,1061,949,843,896,879,726,645,589,553,558,567,558,538,537,499,474,481,470,453,432,420,426,487,509,398,422,435,449,445,412,439,519,571,553,502,471,443,417,397,367,359,368,374,363,356,364,392,390,357,355,346,346,347,349,351,346,354,356,378,420,440,447,466,526,575,480,430,409,377,363,369,362,355,329,312,321,310,297,291,278,270,262,259,255,265,283,296,328,341,341,398,396,387,374,362,357,351,354,348,344,338,333,329,333,341,356,371,387,431,495,533,527,518,507,500,498,508,516,527,539,553,606,630,711,734,715,720,677,583,515,568,706,676,730,619,602,721,772,801,758,632,706,780,675,759,792,763,860,724,701,655,602,553,518,507,478,462,462,462,452,443,444,428,479,475,439,412,378,362,367,365,346,339,338,339,335,333,323,303,297,302,301,307,316,335,347,346,359,362,393,382,451,499,535,538,496,475,473,462,438,416,443,460,451,437,433,443,433,424,419,427,438,454,459,451,449,456,458,453,458,461,488,523,524,533,537,515,467,484,417,359,402,440,500,512,464,444,452,444,438,408,399,402,395],[1638,1887,2912,3405,3547,3282,2590,2586,2642,2589,2244,2318,2314,1988,2404,2714,2577,2445,2196,2164,2233,2437,2442,2181,2213,2471,2288,2553,3108,3330,3293,2834,2271,1999,2118,2226,2038,1959,1777,1709,1601,1581,1779,1776,1561,1729,2176,2469,2165,2397,2166,2769,3155,2648,2261,2440,2724,2785,2996,3553,3782,3514,3095,2564,2442,3073,3100,3249,3339,3098,2788,2399,2591,2539,1592,1993,2223,2484,2170,2345,3207,2961,2668,3220,3221,2840,2665,2285,2514,2964,3145,3308,3768,3920,3992,3861,3674,3751,3552,2997,2316,1910,1931,2971,3361,3264,3197,3064,2240,1734,1712,2337,2792,2489,1941,2212,2299,2143,2434,2686,2645,2557,2294,2394,2309,2312,2480,2017,2025,2395,2348,2355,2159,1863,1696,1870,1927,1900,1443,1836,2741,2903,2878,2965,2839,2657,2768,2995,3006,2836,2002,1354,1844,1411,1387,2456,2403,2372,2734,2062,1864,1914,2371,2088,2458,2297,2076,2057,1456,1497,2068,2176,2035,2208,2376,2279,1995,2387,2520,2480,2709,2787,2448,2225,2407,2446,2216,2193,2154,2208,2376,2011,2161,1992,1867,1765,2163,2663,2663,2798,3044,2854,2453,2955,2701,2460,2624,2575,2806,3123,3307,3208,2761,2158,1892,2167,2002,1817,1664,1703,2143,2428,2302,1866,1580,1654,1883,2208,2524,2297,2323,2687,2638,2968,2828,2962,2900,3200,3195,2742,2730,2633,2519,2407,2171,1647,1673,1602,2304,2619,2641,2963,3643,3908,3742,2954,2270,2230,2345,2466,2666,2842,2290,2173,2238,1940,2414,2706,2029,1826,2050,2409,2574,2645,2531,1832,1877,1885,1935,1941,1968,2164,2450,2248,2048,1903,2029,2346,1807,2215,2634,2239,2286,2763,2346,1881,2155,2242,1974,2156,2534,2691,2555,1723,1678,1588,1594,1604,1654,1753,1812,2088,2325,2200,1846,1517,1784,2126,2624,2053,2138,2347,2808,3493,3509,2939,2269,2331,2116,1962,1976,1913,2017,2110,2079,1613,1517,1832,2059,1835,1189,805,1558,1978,1705,1924,2460,2932,2592,2008,1951,2637,2947,2648,2470,2607,3011,2755,2853,3294,3500,4012,3899,3332,2941,2675,2345,1861,1865,1904,1939,1991,2202,2693,2890,3028,3084,2863,2905,2500,2060,2178,2056,1870,2154,2440,2250,2149,2024,1842,1896,2101,2042,1858,1649,1988,2264,2107,2369,1642,1671,1801,2253,2049,1810,1726,1844,2366,2511,1932,2021,2065,1884,2095,2137,2008,1818,2076,2179,2065,1955,1661,1594,1853,2317,2908,3013,2204,1959,2172,2603,2388,1968,1874,1854,1746,1721,1704,1743,1693,2081,2120,2046,1840,2338,2370,2099,1905,1901,2023,2209,2832,3119,2775,2841,2932,2751,2547,1911,2021,2384,2321,2236,2109,1731,1599,1908,2301,2353,2002,2164,2722,2419,2078,2071,2057,2950,3074,2568,2755,2127,2413,1827,1482,1590,1848,1819,1733,1524,1586,1535,1442,1422,1518,1434,1326,1339,1528,2115,1953,1975,1825,1649,1684,1640,1678,2108,2754,2602,2165,2258,2534,3018,2986,2731,2039,2265,2160,1922,2168,2100,1989,2020,2026,1960,2115,2185,2264,2506,2223,2224,2170,1954,1709,1412,1506,2098,2964,3414,2973,2743,2113,2031,1838,1761,1652,1509,1782,2023,1711,2110,2442,1908,1620,1774,1690,1883,2019,1802,1554,1490,1585,1631,1723,2396,2322,1769,1917,2269,2505,2469,2571,3097,2830,2347,2144,1788,1842,2270,2570,2714,2608,2469,1895,1758,1750,1879,1875,1986,2750,2788,2091,1956,1575,1521,1560,1788,2264,2189,1902,1763,1817,1866,1883,2215,2282,1790,1469,1320,1459,1572,1583,1937,2002,1685,1676,1645,1756,2013,2656,2833,2125,2536,2551,2352,2846,2930,2359,1799,1750,1899,1800,1864,2137,2068,1962,2088,2155,1944,2061,1934,2089,2195,2172,2468,2365,1805,2134,2750,2654,2443,2386,3312,3460,2415,2489,2589,2696,2986,2976,2420,1910,1504,1563,1656,1517,1647,1484,1486,1814,1842,1826,1832,1747,1538,1467,1486,1559,1654,1797,1649,1672,1859,1765,1518,1657,1796,1638,1597,1721,1666,1717,1635,1887,2076,1966,1494,1685,2198,1948,2031,2066,1708,1611,1409,1405,1504,1395,1369,1593,1869,1642,1598,1778,2339,2223,1793,1451,1242,1027,1183,1374,1474,1834,1807,1654,1365,1734,2231,2012,1663,2049,3389,3162,1914,1760,1858,1748,1512,1968,2005,1784,1950,1995,1842,1689,1742,1741,2490,3366,2924,2909,3231,2751,2576,2454,2206,2707,2897,2343,1666,2080,2556,3188,2844,1902,2178,2479,2751,2823,2814,2975,3495,3272,2833,2666,2205,1886,1797,1685,1727,2035,2078,2185,2135,2223,2445,2481,2531,1791,1408,2063,2075,1814,1785,2037,2520,2810,2666,2580,3022,2853,1654,1738,1906,1636,1576,1683,1606,1978,2002,1697,1980,2312,2425,2067,1629,1644,2014,1882,1759,1738,1702,1622,1636,1587,1506,1648,1863,1508,1403,1551,1582,1598,1670,1709,1737,1874,1699,1597,1592,1494,1428,1504,1328,1371,1516,1384,1999,1752,1845,1628,1416,1614,2047,2566,3146,3593,3708,3962,3918,3864,4220,4227,4188,3996,3331,2780,2685,2508,2548,2475,2158,2424,2390,2768,2385,2023,1910,2030,1918,1683,1440,1445,1739,2164,2026,1575,1598,1555,1650,1792,1733,1611,1408,1591,1681,1443,1742,1819,1651,1710,1773,1645,1533,1408,1408,1410,1506,1413,1361,1572,1571,1626,1642,1655,1552,1514,1663,1542,1570,1686,1871,1705,1803,1819,2009,2317,1926,1625,1501,1457,1460,1666,1734,1846,1529,1448,1663,1575,1676,1727,1845,1550,1636,1938,1988,1992,1775,1605,1760,2068,2521,3083,2738,2255,2543,2101,1910,2048,1713,1731,1816,1868,1907,2087,2020,2366,2699,1875,1578,1531,1545,1478,1422,1505,2014,2633,2448,2349,2477,2619,2586,2679,3019,2680,2163,2274,2491,2338,2347,2833,3031,3012,2941,2753,2963,3636,3523,2740,2413,2093,2276,2974,2662,2510,2808,2958,3289,3196,2503,2160,2363,2522,2868,2909,3051,2830,2443,2685,2940,3028,2896,2567,2521,2493,2619,2509,2724,2861,2967,3167,3361,3265,2702,2291,2391,2847,3165,2612,2055,2272,1968,1459,2059,2409,2525,2626,2206,2187,2463,2379,2686,3355,3576,3697,3745,3206,2409,1888,1803,1588,1470,1681,1798,1807,1959,1921,1611,1493,1574,1653,1571,1573,1650,1592,1399,1628,1708,2034,2464,2324,2438,2663,2741,2563,2338,1598,1809,2912,2986,2057,1753,2301,2899,2396,1867,1794,1905,1949,3063,3970,3005,2092,1757,1700,1785,1613,1626,1622,1458,1451,1415,1555,1575,1798,1831,2148,2911,3173,3196,3227,3263,3093,2976,2322,1824,2048,2394,2144,2810,3331,3230,3040,2910,2669,2988,3191,3188,3072,2891,2439,2574,2643,2514,2469,2596,2480,2758,3277,3120,2906,2952,3011,3005,3310,3241,3406,2896,2436,2747,2789,2599,2698,2447,2286,1711,1436,1630,2051,2964,3096,3130,3803,3608,2788,2611,2844,3062,3010,2313,2021,2184,2035,2029,1895,2280,2755,2812,2712,2962,3013,2763,2686,3039,2791,2514,2211,3221,3728,3476,2893,2787,2567,2854,3672,3598,2877,2098,2194,2834,2778,2170,2166,2104,2269,2319,1996,1957,2022,2280,2719,2786,2195,2523,2867,2218,2400,2763,2285,2092,2535,2334,2204,2375,2836,2850,2436,2144,1792,1866,2024,1940,2385,3448,3956,3896,3969,3897,3634,3430,3439,3571,3685,3362,2962,2810,3284,3860,3640,3704,3663,2958,3294,3630,3901,4533,4710,4831,4720,4361,4073,3936,4064,4393,4289,3761,4152,4228,4119,4192,4160,3949,4052,3539,1860,601,482,336,344,317,309,303,287,280,302,337,359,352,340,318,309,311,308,296,296,288,292,289,288,490,900,1240,1376,1195,1133,1114,1144,1428,1582,1474,1334,1032,1027,910,866,837,818,732,649,705,781,733,744,701,706,703,581,675,833,1036,1036,990,1115,1201,1140,1230,1390,1539,1533,1292,1033,951,1013,1106,1021,1106,1267,1580,1682,1198,1092,1013,1172,987,830,955,945,836,778,746,799,1100,1512,1765,1976,2014,2036,2207,2308,2538,2446,2332,2066,2327,2361,2248,2517,2413,2880,2677,2492,2084,1539,1229,1204,1248,1397,1445,1186,981,904,794,829,796,720,734,766,792,827,752,664,654,712,767,923,946,876,968,1069,1268,1355,1343,1380,1870,1941,1943,2364,2244,1572,1801,2361,2392,2330,2238,2218,2329,2222,1947,1559,1307,1390,1390,1255,1150,1145,1138,1135,1112,1159,1104,1186,1553,1795,1620,1404,1278,1049,674,855,1152,1211,1152,1128,1079,1037,1028,1036,948,825,829,815,712,625,594,550,547,551,541,518,528,494,444,473,439,432,418,417,396,456,458,382,392,417,444,441,406,419,512,580,508,494,461,443,417,390,373,357,352,364,371,364,359,373,386,378,359,356,359,359,347,341,349,358,354,368,398,425,424,436,499,554,544,525,476,400,353,363,361,341,326,326,314,307,310,296,278,270,263,255,248,255,275,303,318,337,348,366,367,383,378,365,352,347,346,341,331,322,321,321,327,330,342,351,363,409,477,508,498,493,491,485,463,497,495,494,510,535,576,605,670,684,669,668,675,604,520,520,675,680,703,674,616,708,794,797,796,649,640,785,849,792,816,752,854,791,688,640,602,532,468,478,441,460,478,464,462,446,434,428,459,460,441,416,375,350,352,352,347,339,332,325,327,332,327,307,296,301,300,306,321,334,341,344,358,368,398,391,435,493,534,541,499,474,466,451,440,421,432,446,442,436,438,430,435,442,413,435,437,443,442,439,442,449,459,464,488,486,499,538,542,550,524,501,456,480,504,386,380,468,573,644,576,477,475,441,424,404,394,402,409],[1953,2187,3282,3480,3134,2817,3025,2792,2565,2336,2118,2197,2097,2419,3022,2896,2701,2600,2326,2099,2054,2137,2214,2143,2382,2592,2405,2618,3008,2965,2733,2413,2224,2038,1852,1794,1854,1787,1809,1889,1942,1917,1863,2131,2032,2068,2397,2500,2618,2742,2799,3751,3990,2898,2065,2352,2978,3366,3094,2823,2785,3150,2510,2069,2536,2900,2746,2817,2995,2897,2720,2148,2443,3314,2101,1611,1956,2142,2213,2187,3011,3753,3658,3404,3221,2819,2441,2419,2857,3064,3161,3332,3970,3731,3521,3636,3823,3984,3983,3450,2780,2355,2405,3506,2768,2842,3165,3173,2778,2147,1812,2190,2579,2279,2267,2329,2493,2193,2916,2565,2188,2255,2492,2691,2268,2123,2255,2082,2432,2746,2720,2342,2071,1892,1650,1871,1941,1742,1860,2587,2995,2893,2886,2900,2667,2421,2555,2848,2890,2566,1753,1599,1657,989,1341,2368,2243,2453,2740,2259,1819,2389,2389,2074,2137,1915,1953,2065,1857,1962,2486,2266,1663,2024,2275,1930,1952,2036,2128,2991,3389,2944,2455,1934,2179,2382,1991,1749,2155,2240,2348,2035,2043,1930,2017,2209,2348,2721,3039,2320,2398,2144,2103,2831,2725,2656,2476,2864,2927,2610,2928,2877,2371,1868,1534,1592,1631,1991,2045,2038,2512,2707,2236,1892,1799,1924,2087,2299,2655,2435,2674,3167,3012,3339,3285,2998,3078,3451,3107,2611,2556,2503,2758,2521,2339,1810,2009,1882,1768,1942,2003,2392,2474,2741,2875,2342,2402,2554,2298,2230,2246,2297,2227,2031,1885,2080,2878,3031,2287,2204,2497,2371,2492,2491,2235,1676,1821,2148,2296,2296,1930,2335,2641,2613,2380,2171,2453,2824,2099,1958,2334,2132,1990,2334,2425,2254,2287,2435,2344,2450,2500,2188,2201,1893,1628,1549,1523,1660,1736,1630,1753,1880,1898,1976,1754,1588,2116,2542,2209,2356,3034,2881,3104,3417,3440,3172,2483,2215,2287,2290,1920,1879,1674,1769,1745,1688,1960,1913,1740,1842,1698,1631,2288,2505,2189,2425,2613,2427,1890,1895,2349,2888,3227,2713,2670,3364,2966,2491,2654,3165,2828,3062,3542,3615,3044,2417,2022,2063,2205,2009,1874,1791,1791,2010,2094,2301,2376,2613,2714,2359,2062,2244,2530,2148,2040,2336,2056,1759,1747,1915,2441,2666,2380,1929,1753,1749,1567,1721,2161,1988,2334,2393,1842,1977,2155,1690,1849,2473,2372,2249,2263,1874,1721,1940,1670,1655,1637,1805,2266,2333,1888,1886,2070,2028,2281,2361,2057,2345,2095,2398,3317,3626,2941,2358,2190,1756,1652,1986,2266,2053,2355,1930,1702,2007,2390,2556,2413,1989,1814,2193,2504,2809,2808,2886,3145,2819,2491,2344,1929,1859,2146,2286,2088,1697,1613,1865,2122,2203,2253,1985,2712,2858,2588,2090,1755,2148,2879,3194,2620,2647,1821,2094,1700,1574,1885,1903,2035,1782,1455,1791,1982,1437,1316,1365,1408,1338,1304,1456,1481,1497,1941,1928,1803,1872,1665,1735,2294,2665,2286,2126,2133,2486,3184,3429,2409,1725,1977,2047,2126,2233,1996,1989,2293,2191,2051,2188,2001,1830,2035,2370,2464,2298,1992,1716,1370,1350,2210,3256,3173,2977,3322,2740,2255,2474,2447,1956,1679,1807,1857,1922,2414,2334,2003,1823,1684,1591,1812,1872,1600,1544,1573,1678,1673,1825,1928,1876,1456,1590,1705,2222,2548,3188,3566,3187,2825,2333,1844,2286,3143,2839,3029,2946,2889,2197,1804,1728,1788,1783,1886,2526,2467,1736,1478,1280,1576,2007,2112,2299,1798,1452,1427,1296,1603,1906,1916,2216,1888,1543,1555,1769,1867,1824,1942,1833,2110,2042,1794,1976,2017,2653,3379,2362,2692,3106,2687,3243,3317,2511,2143,2423,2519,2311,2253,2348,1703,1743,1796,1556,1664,2035,2020,1921,1996,2007,2078,2134,2259,2478,2689,2813,2455,2498,2688,2602,2401,2944,2842,2289,2937,3660,3217,2000,1439,1373,1414,1529,1706,1782,1738,2139,2224,1645,1506,1439,1462,1576,1671,2056,1733,1733,1798,2392,2954,2711,1795,1452,1876,1880,1694,1709,1655,1496,1609,1768,2025,1909,1481,1855,2175,1807,2116,2108,1814,1644,1452,1426,1504,1429,1438,1686,1637,1393,1707,2248,2343,1935,1595,1527,1639,1120,1370,1463,1599,1846,2011,1583,1656,2402,2194,2018,2133,2331,3257,2669,2066,1742,1743,1707,1526,1832,1810,1614,1687,1593,1824,2146,1883,1980,3069,3394,3000,3061,2828,2089,1977,1950,2025,2396,2366,2263,1767,2060,2799,3421,2192,1624,1968,2008,2347,2483,2365,2813,3577,2595,2004,2452,2492,1763,2280,2254,1990,2122,1823,1936,1963,2602,2788,2363,2379,1698,1622,2425,2192,1729,2071,2769,3096,2989,2863,2873,3096,2769,1767,1681,1606,1771,1636,1506,1809,2103,1976,1970,2009,2178,2451,2007,1655,1663,1629,1392,1582,1810,1593,1539,1617,1571,1476,1400,1769,1552,1432,1543,1705,1651,1637,1652,1598,1643,1682,1390,1456,1599,1180,1352,1225,1475,1925,1582,1874,1854,1871,1667,1495,1500,1537,2301,3515,3551,3485,3503,3356,3050,3580,4071,4027,3977,3700,3215,2788,2173,2012,2036,1826,2465,2696,3250,3155,2248,1854,1873,1642,1616,1646,1824,1974,2138,1798,1516,1548,1620,1580,1606,1693,1550,1255,1325,1675,1477,1580,1897,1729,1785,2074,1905,1595,1447,1626,1747,1565,1387,1732,1918,1765,2152,2101,1804,1445,1556,1867,1617,1538,1808,1844,1792,1799,1901,2416,2906,2425,1882,1508,1532,1803,1748,1844,1932,1428,1295,1500,1542,1620,1839,1897,1569,1569,1929,2332,2289,2020,1946,1970,2236,2381,2989,2550,1797,2331,1888,1731,1641,1871,2167,1921,1614,1799,1897,1735,1990,2171,1737,1448,1431,1698,1612,1474,1677,2166,2331,2379,2159,1919,1956,2088,2093,2274,2392,2301,2414,2486,2633,2752,2946,3017,2861,2708,2717,3143,4023,3676,2566,2963,2568,2217,2573,2785,3198,3218,3286,3374,3460,2952,2474,2838,3357,3161,2957,2516,2080,2555,2978,2821,2674,2834,2784,3003,2631,2529,2676,2743,2796,2928,2984,2930,2964,2769,2898,3142,2858,2877,3173,3010,2641,2246,2043,2192,2412,2777,2789,2578,2566,2240,1991,2590,3016,3351,3697,3917,3517,2714,2045,1592,1488,1714,2002,1629,1604,1693,1746,1583,1627,2019,2021,1680,1795,2162,1868,1460,1396,1600,1882,2327,2338,1997,1851,1909,2053,2370,2392,2383,2576,2631,2226,1940,1929,2232,1854,1753,1488,1516,1715,2250,3102,2724,1972,1804,1516,1569,1479,1482,1457,1520,1419,1346,1394,1492,1912,2130,2041,2215,2857,3198,3311,3464,3156,2979,2045,1870,2665,3009,2582,3024,3909,3414,2613,3038,2877,3205,3185,3472,3304,2948,2666,2723,2858,2355,2480,2990,2712,2393,2774,2966,2744,2704,3559,3107,2926,3023,3225,2977,2473,2557,3133,2874,2508,2514,2153,1238,954,1168,2046,3166,3011,2774,3128,2930,2579,2433,2337,1962,1793,1623,1592,1643,1786,2089,2077,1986,2219,2543,2763,3034,3064,2880,3121,3338,3311,2522,2920,3765,3506,3203,3165,2989,2611,2656,3707,4080,3106,2025,1810,2652,2446,2352,2679,2708,2651,2414,2132,2142,2001,2184,2345,2374,2098,2855,2931,2075,1928,2293,2081,2168,2565,2050,1998,2289,2707,2592,2218,1898,1809,1980,2282,2664,3363,3716,3597,3295,3540,3474,3148,3002,3295,3481,3628,3443,3115,3255,4148,4701,4521,3753,2972,2365,2446,2799,3404,3897,4452,4772,4519,4092,3704,3710,4490,4724,4448,3973,4216,4163,4005,3995,4012,3983,4147,4070,2483,766,558,385,356,347,315,304,280,270,294,333,346,357,340,310,321,308,305,306,301,297,268,300,312,409,798,1291,1398,1294,1253,1153,1193,1526,1789,1637,1477,1246,1148,1041,924,891,885,776,720,667,755,758,756,723,696,759,713,669,921,1140,986,827,854,970,1002,1063,1208,1419,1425,1250,1071,973,1095,1200,1023,958,1118,1322,1732,1444,1298,1084,1229,1119,945,983,1072,953,810,838,937,1362,2191,2280,2798,2923,2844,2640,2405,2695,2643,2242,1957,1772,1719,1919,1998,1757,2451,2946,2718,2322,1859,1432,1267,1272,1315,1382,1172,967,938,878,923,918,945,875,835,838,751,723,807,834,787,770,930,1015,887,965,1062,1154,1350,1670,1689,1677,1933,2095,2346,2321,1886,2007,2321,2343,2259,2163,2093,2154,2053,1916,1727,1384,1286,1269,1197,1089,1037,1027,1125,1117,1136,1135,1090,1514,2067,1878,1560,1265,964,633,711,1050,1136,1067,1073,1066,1010,976,960,921,880,1095,1065,751,645,604,550,524,500,496,484,500,508,420,460,416,420,414,393,360,377,403,404,390,392,427,431,404,405,462,488,478,450,441,434,422,417,394,355,349,363,370,361,357,371,404,399,369,360,374,376,350,339,345,356,356,365,382,401,413,416,459,512,578,577,483,417,362,359,357,361,380,362,320,310,312,299,278,265,261,255,258,261,254,308,324,328,334,325,346,378,383,367,354,345,339,333,328,327,327,326,323,325,336,339,348,383,442,479,484,493,474,472,434,472,480,478,510,574,586,583,584,622,642,622,635,598,521,501,640,709,688,698,665,671,793,829,890,735,672,791,1044,938,829,760,814,779,624,563,576,523,443,468,451,468,490,453,461,459,426,431,452,446,431,416,373,337,338,350,354,339,330,320,320,333,330,313,299,296,295,305,326,336,339,343,355,368,396,396,404,469,504,529,503,476,465,451,440,429,423,426,433,436,437,422,425,451,421,422,429,421,418,424,446,466,478,497,544,544,510,543,551,566,539,507,465,443,532,508,423,474,620,696,674,541,510,470,420,407,417,429,469],[2222,2366,2522,2230,2094,2451,2998,2884,2687,2512,2564,2662,2416,2876,2965,2994,2741,1947,1967,2197,2262,2222,2078,2237,2518,2464,2426,2337,2309,2203,2148,2055,1955,1678,1534,1560,1715,1765,1945,2032,2068,2119,2238,2366,1909,1803,2279,2708,2896,2607,2706,3714,3955,2888,2218,2331,2811,2934,2472,2245,2543,2856,2570,2483,2512,2509,2220,2340,3262,3113,2246,1592,1525,2994,2596,1747,1759,2131,2202,2176,2910,3543,3017,2851,3222,2701,2418,2837,3212,3134,3222,3924,4331,3803,3488,3465,3461,3579,3662,3106,3196,2657,2989,3512,2962,3008,3269,3233,2644,1862,1822,2161,2430,2285,2622,2645,2531,2266,2458,2448,2348,2325,2669,2646,2601,2260,2200,2172,2250,3120,2995,2226,2005,1820,1752,1955,1960,2115,2719,3098,3032,2931,2928,2825,2562,2622,2640,2509,2476,2288,1782,1288,1037,1380,2406,2736,2216,2372,2669,2460,2404,2315,2090,2060,2115,2137,2062,2130,2121,2474,2767,2191,1971,2461,2675,2243,2046,2148,2626,3416,3289,2739,2819,2302,2436,2467,1774,1960,2062,2663,3095,2626,2112,2032,2104,2428,2980,3378,3176,2115,2483,2457,2656,2422,2208,2376,2664,3194,3306,2483,2419,2754,2432,2000,1989,1521,1335,1900,2002,2102,2540,2308,1937,1996,1849,1891,2034,2325,2294,2613,3337,3849,3433,3077,2736,2497,3127,3354,3344,3169,2934,2694,2498,2043,1977,1923,2394,1679,1196,1487,1711,1860,2223,3465,3178,3128,3313,3019,2392,1805,1938,2116,2226,2126,2015,1935,2214,2234,2445,2481,2323,2087,2402,2586,2443,1873,2167,2404,2197,2385,2452,2728,2610,2822,2692,2446,2294,2452,2163,2060,2521,2498,2210,2203,2734,2724,2584,2462,2351,2450,2007,1857,2162,2085,1744,1560,1551,1566,1551,1519,1878,1914,1922,1744,1698,1659,2276,2646,1874,2287,3129,2753,2534,2876,3074,3363,3330,2345,2084,1915,1444,1358,1553,1995,2331,1959,2041,2124,1714,1525,2026,2301,2176,2498,2519,2195,1980,1885,2147,2690,2556,2415,2640,2711,2824,3145,2624,2700,2824,2748,2242,2208,2996,3233,3359,3264,2247,1863,1982,1934,2083,2153,1901,1781,1836,1815,1763,1888,2126,2287,2110,2280,2427,1863,1752,1693,1670,1670,1882,2082,1710,1936,2436,1854,1634,1623,1741,1950,1733,1571,1923,2117,2062,2366,2113,1808,2066,2675,2540,2203,2321,2284,2038,1937,2110,2210,1960,1631,2007,2288,1792,2017,2366,2731,2549,2206,2210,2100,1952,2154,2311,2429,2521,2481,2087,1626,1602,2317,2753,2620,2369,1919,1875,1874,2105,2504,2447,2218,1769,2352,2377,2426,2459,2397,2818,2835,2773,2657,2113,1980,2375,2253,1754,1680,1898,2165,2364,2222,2210,1962,2360,2359,2433,2773,2460,2321,2348,2170,2127,2048,1649,1553,1539,1637,1830,2018,2220,1994,1789,2406,2505,1703,1676,1603,1726,1591,1409,1454,1362,1343,1609,1829,1677,1748,1550,1620,2237,2520,2290,2254,2176,2408,3106,2900,1924,1877,1810,1757,1953,2030,2122,2193,2579,2544,2396,2529,2432,1924,1896,2338,2359,2211,2244,2190,1778,1431,2326,3516,3376,3038,3260,2943,2419,3298,3629,3087,2323,2234,1937,2006,2094,2879,2862,2366,1943,1957,2160,1928,1726,1880,1660,1781,1719,1762,1865,1664,1170,1120,1381,1715,2259,2889,2614,2578,2752,2429,2388,2199,3133,3019,3307,3312,2967,2287,2066,2206,2095,1718,1766,1852,1978,1639,1430,1357,1429,1571,1867,2178,1765,1497,1494,1466,1852,1792,1704,2614,2416,1885,2123,2525,2478,2129,1953,1794,1953,1909,2788,3066,2167,2357,2964,2302,2235,2700,2724,2714,2562,2243,2298,2462,2761,2296,2686,2929,1908,1480,1479,1316,1466,1819,1919,1973,1870,1648,1688,1852,1854,1965,2194,2415,2206,2652,3019,2835,2922,3563,3427,2795,3272,3553,2986,2065,1613,1714,1675,1582,2046,2038,1813,2482,2342,1491,1510,1614,1587,1650,1916,2381,1757,1090,1344,2455,3535,3210,2077,1713,1699,1749,1721,1762,1736,1641,1795,2163,2755,2392,1883,2591,2945,2313,2481,1967,1869,1774,1713,1637,1527,1511,1519,1710,1648,1466,1500,1749,2129,1841,1632,1487,1399,1182,1406,1548,1876,1972,1911,1713,1920,2167,1677,1956,2230,2500,3194,2353,2056,1998,1779,1632,1522,1593,1647,1587,1656,1964,2648,2530,1974,2533,3394,3348,3081,2829,2226,1929,1633,1562,1785,1898,1820,1669,2043,2426,3500,3154,1525,1786,2159,2293,2264,2047,2151,2543,2452,1885,2421,2496,2292,2476,2909,2449,2252,2214,1879,2519,2853,2867,3009,2480,2259,1820,1876,2510,2440,2059,2272,2865,3104,3164,3110,2835,3052,2698,1976,1527,1816,2076,1680,1784,2468,2346,2204,2125,1870,2341,2565,2177,1914,1738,1542,1413,1491,1521,1397,1380,1674,1799,1626,1394,1572,1354,1249,1345,1528,1654,1622,1616,1340,1110,1313,1153,1296,1535,1254,1288,1322,1942,2480,2322,2098,1791,1803,1547,1585,1655,1679,2240,3108,2810,3108,3028,2558,2148,2636,3639,3987,4017,3773,3307,3065,2735,2205,1946,1891,2146,2730,3463,3671,3087,2722,2573,1927,1688,1598,1578,1618,1544,1382,1519,1693,1747,1724,1676,1648,1609,1881,2017,2338,1662,1638,1951,1988,2228,2178,1903,1532,1407,1581,1835,1830,1572,1970,1929,1935,2234,1947,1716,1544,1745,1922,1705,1507,1760,1930,1913,1903,1875,1852,1963,1787,1593,1444,1405,1478,1645,1861,1859,1473,1383,1686,1654,1525,1804,1691,1475,1602,1817,1866,1674,1808,2099,1680,1928,2039,2338,2132,1673,1797,1694,1525,1613,1667,1527,1543,1476,1554,1677,1722,1542,1489,1446,1522,1763,1755,1924,2302,2267,2070,2135,2316,2155,1892,1789,1724,1694,1815,1870,1684,1544,2099,2796,2871,3159,3226,2622,2374,2663,3084,3626,2428,1557,2302,1938,1963,2888,3395,3407,3072,3065,3185,3028,2845,2904,2890,3497,3315,2952,2464,1788,2292,2721,2676,2629,2721,3195,3199,2679,2686,2821,2818,2765,3000,3124,3076,3187,2855,2579,2610,2344,2646,3226,3140,3018,2856,2160,2296,3122,3275,3234,3120,2525,1924,2247,2751,2907,3217,3996,4303,3718,3041,2302,1633,1620,1655,1609,1480,1599,1816,1860,1650,1673,1766,1653,1883,2272,2054,1647,1521,1404,1711,1568,2138,2592,2403,2148,1939,1819,1935,2418,2442,2313,2156,2042,1791,1699,1757,1622,1683,1693,1532,1531,1849,1962,1676,1583,1843,1494,1575,1550,1337,1371,1416,1483,1438,1416,1385,1547,2001,2260,2281,2211,2725,3320,3508,3312,2687,1881,2197,2984,3198,3206,3669,4127,3492,2596,2950,2905,2766,3057,3112,2597,2718,2799,3326,3416,2646,2889,3242,2942,2358,2692,3382,3200,2383,2907,3286,2875,2732,3116,3000,2497,2154,2889,3010,2376,2480,2519,1682,1218,1711,3046,3697,2909,2116,2045,2031,2400,2425,2416,2313,2122,1743,1493,1596,1832,1818,1930,1888,2032,2576,2814,2479,2801,2730,2929,3156,3124,3050,3327,3340,3225,3154,3141,3109,3111,2807,3067,3940,3198,2342,2301,2367,2602,2722,2468,2512,2712,2512,2178,2020,2029,2330,2148,2116,2197,2548,2398,1799,1935,2309,2013,2058,2598,2081,2058,2376,2635,2471,2036,1888,1965,2458,2938,3374,3367,2980,3236,3326,3544,3630,3588,3588,3565,3406,3264,3115,3216,3704,3981,3566,3971,3201,2611,2430,2499,2701,2924,3438,4272,4654,4471,4094,3850,3750,4300,4211,4287,4232,4336,4136,4038,4296,4312,4268,4448,4531,3547,1213,613,481,371,336,310,300,288,277,291,322,336,357,357,312,332,314,311,327,325,351,346,367,391,466,819,1364,1524,1460,1401,1206,1189,1410,1706,1860,1747,1494,1329,1227,1046,861,924,827,794,701,712,792,773,745,702,763,794,730,964,1147,882,661,708,815,907,941,1038,1243,1285,1169,1096,1059,1142,1276,1108,972,1006,1092,1700,2156,1963,1394,1294,1302,1139,1098,1204,1077,913,945,1104,1904,3187,3338,3428,3554,3528,3152,2749,2623,2439,2003,2012,1921,1609,1673,1567,1438,2047,2937,2922,2432,2111,1704,1416,1340,1289,1326,1232,993,945,879,868,878,871,837,832,778,745,749,894,969,850,767,784,906,917,1020,1405,1482,1249,1534,1875,1927,2048,2144,2282,2148,2181,2199,2198,2204,2204,2210,2150,1999,1870,1752,1745,1506,1279,1178,1158,1086,1016,988,1096,1137,1178,1267,1227,1482,2036,1864,1677,1342,960,707,693,949,1016,908,949,1039,988,927,886,893,920,1688,1311,716,612,591,545,513,506,510,480,463,493,415,430,409,406,404,389,381,376,384,392,389,396,411,416,408,407,418,442,450,442,444,421,405,378,357,345,341,352,365,352,346,374,419,416,374,355,374,377,356,340,341,354,356,357,379,388,387,408,429,475,565,569,449,404,350,339,351,366,369,344,317,307,311,316,280,258,253,258,259,274,257,300,318,326,332,329,337,365,378,367,359,347,336,329,328,333,341,342,332,328,331,329,336,355,400,443,463,477,476,465,441,455,463,469,498,549,586,580,572,607,635,626,603,582,538,510,617,708,661,657,693,655,754,813,999,859,766,868,1042,1024,883,746,756,766,603,520,561,518,458,452,462,470,486,453,445,451,431,427,440,441,422,407,370,336,346,364,350,332,325,316,317,323,326,320,308,295,291,305,330,339,338,346,358,361,393,399,389,450,488,525,519,505,487,461,441,422,417,415,418,436,443,428,426,434,432,424,419,413,424,458,488,501,562,616,617,596,553,559,577,603,577,524,502,492,584,669,569,451,596,639,670,612,569,515,469,444,431,463,581],[2106,1975,2035,2347,2749,2788,2767,2897,2865,2698,2777,2869,2731,2765,2769,2806,2451,2092,2587,2624,2387,2409,2425,2324,2211,2160,2122,2045,2081,2229,2482,2563,2302,1860,1586,1528,1791,1955,1993,1940,2399,2773,2834,2614,1743,1690,2228,2642,2400,2180,2858,3385,2950,2499,2448,2526,2886,2590,2308,2907,3156,2905,2719,2634,2670,2284,2124,2050,2790,2666,1521,1417,1239,2474,2581,1615,1748,2222,2398,2573,2797,3130,2525,3093,3420,2923,2645,3199,3550,3429,3566,4113,4153,3858,3529,3295,3286,3075,3032,2245,2124,2249,2886,3333,3308,3226,3540,3486,2464,1851,2053,2508,2823,2751,2561,2584,2247,2246,2376,2505,2444,2539,2417,2457,2730,2321,2285,2178,1882,2701,3020,2387,1789,1770,2019,1968,1969,1926,2778,3109,3017,3273,3039,2840,2775,2646,2402,2125,2040,2490,2757,2040,1389,2193,2222,2906,2778,2441,2814,2851,2169,1807,2147,2342,2153,2088,1974,2004,2215,2736,2721,2480,2416,2763,2918,2480,2458,2820,2824,2359,2251,2466,2632,2571,2604,2568,1967,2289,2712,3227,3300,2490,1952,1998,2069,2161,2574,2852,2720,2358,2866,3032,2919,2447,1913,2115,2275,2783,2744,2172,1930,2081,1679,1692,1843,1669,1486,1576,1860,1926,2066,1882,2064,2166,2109,2373,2297,2746,2924,3051,3080,3074,2901,2753,2972,3063,3350,3256,3350,3336,3038,3145,3064,2501,1945,2275,2233,1244,1150,1125,1139,1391,2457,3537,3593,3286,2591,2343,1966,1917,1939,1664,1863,2054,1966,1874,1711,1762,2242,2545,2530,2295,2082,2193,2377,2310,2000,2054,1997,2187,2746,2429,2317,2728,2964,2525,2030,1950,1681,1935,2454,2455,2230,1801,2294,2519,2429,2195,1904,2092,1944,1825,1935,1872,1842,1931,1791,1476,1489,1592,1636,1548,1930,2056,2206,2173,2253,2092,1857,2082,2652,2255,2147,2363,2587,2999,3453,2836,1879,1612,1619,1751,1865,2344,2380,1509,1906,2012,1251,1069,1742,2024,1874,2076,2265,1896,1633,1915,2278,2086,1998,2108,1989,2106,2269,2643,2590,2454,2088,2019,2357,2478,3112,3033,3375,3886,3027,2145,2220,2152,2198,2176,2010,1870,1816,1780,1809,1880,1909,1787,1788,1879,1941,1836,1659,1649,1982,1897,2002,1892,1814,2303,2416,1996,2288,2020,1865,1745,1427,1523,1789,1815,2088,1975,2199,2305,2491,2687,2769,2370,2443,2577,2260,2367,2618,2723,2658,2341,2463,2086,1763,2242,2174,2262,2226,1989,1982,1973,2070,1950,1885,2229,2742,2424,1698,1609,2006,2447,2430,2457,2230,2087,2000,1868,2002,2240,2217,2055,1707,2183,2360,2331,2486,2490,2832,2800,2613,2602,2543,2324,2414,2047,1654,1810,2102,2351,2280,1941,1735,1805,2025,2041,2419,2417,2508,2865,2833,2442,2298,2179,1935,1747,1729,1808,1839,1984,2398,2448,1811,2058,1898,1457,1450,1657,1563,1597,1907,1762,1561,1442,1587,1609,1425,1516,1747,1617,1762,2074,2343,2658,2417,2201,2722,2176,1879,2270,2228,1963,1851,1637,2027,2183,2136,2254,2485,2567,2066,1518,1907,2168,2314,2466,2699,2602,1707,1254,2188,3500,3830,3370,3294,3201,2623,3221,3438,2975,2464,1998,2030,1781,2188,3304,3665,3012,2077,2281,2352,2088,2016,1837,1572,1674,1744,1615,2090,1933,1388,1026,1108,1589,1896,2043,1885,1686,2020,2545,2714,2949,3479,3613,3428,2923,2135,1907,2072,2036,1977,2058,2083,1721,1533,1491,1456,1246,1223,1268,1468,1632,1489,1370,1489,1742,2065,2046,2078,2541,2317,1663,1858,2679,2618,2393,2211,2195,2383,2170,2945,3506,2476,2259,2657,2824,2513,2243,2466,2241,2030,1897,1990,2478,2728,2258,2658,2665,1971,1443,1384,1365,1670,2007,1835,1790,1579,1433,1426,1658,1615,1813,2119,2067,1951,2389,2789,2637,2675,3340,3416,3185,3428,3209,2493,2436,2483,2643,2364,1884,1882,1739,1593,1825,2109,1982,1967,1899,2064,2022,1851,1975,1735,1348,1471,2272,3055,2546,1955,1815,1487,1648,1648,1670,1417,1635,1967,2123,2286,2033,1869,2618,3152,3157,2244,2059,2301,2260,2015,1909,1693,1649,1607,1581,1518,1592,1802,1559,1673,1797,1765,1823,1676,1701,1669,1705,1970,1976,2051,2153,2521,1937,1621,1873,2292,3232,2958,1712,1473,1785,2174,2066,1819,1620,1696,2065,2366,2286,2287,1946,1857,2380,2932,3184,3178,2964,2646,1980,1660,1446,1855,1863,1694,1739,1898,2534,3741,3010,1566,2304,2144,2215,2199,2036,2009,2249,1910,2244,2610,2323,2865,3100,2542,2047,1948,2045,2359,2857,3034,2739,2750,2623,2450,1951,1851,2357,2424,2123,1993,2669,3192,3485,3235,2655,2730,2499,1906,1595,1536,1737,1673,1787,2381,2423,1932,1895,1605,2114,2128,1809,1926,1825,1577,1483,1410,1393,1365,1420,1548,1581,1471,1492,1402,1283,1372,1485,1539,1610,1632,1480,1322,1111,1336,1219,1239,1416,1304,1317,1433,1768,2026,2305,2132,1784,1999,1775,1659,1602,1570,1758,2415,1935,1885,2352,2395,1731,2039,2985,3529,3786,3601,3515,3283,3209,2813,2287,2454,2640,2745,3107,3952,4024,3627,3371,3109,2463,1764,1457,1462,1580,1667,2034,2258,1876,1700,1863,1908,1709,2312,2459,1932,1489,1856,2004,1978,1802,1579,1543,1650,1729,1593,1518,1697,1626,1830,1598,1565,1852,1791,1517,1476,1526,1609,1568,1417,1476,1593,1576,1605,1549,1454,1519,1552,1452,1543,1574,1586,1902,1825,1900,1491,1286,1606,1570,1511,1744,1593,1543,1750,1643,1749,1861,2065,1857,1668,1904,1765,1664,1556,1649,1767,1606,1519,1815,1849,1548,1532,1489,1467,1570,1572,1561,1826,1757,1705,1642,1505,2047,2732,2254,2094,2238,2372,2120,1887,1782,1686,1688,1696,1476,1143,1219,1917,2942,2986,3420,3460,3349,2755,2685,3040,3774,2841,1559,1542,1974,2744,3377,3269,3029,2854,2931,2694,2526,2885,3323,3312,3292,3172,2707,2387,2223,2692,2885,3085,3154,2837,2753,2815,2896,2850,2819,2859,2885,2809,3101,3306,3140,2664,2796,2758,2932,3367,3594,3294,3311,2944,2176,2416,2814,2946,3029,2656,2181,2136,2873,2968,3065,3748,4397,4332,3911,3117,2690,1966,1770,1789,1777,1847,1824,1996,1722,1430,1546,1543,1530,1593,1569,1458,1427,1547,1602,1973,1722,1925,2245,2201,2058,2021,1777,1988,2505,2174,2338,2203,2034,2230,2280,2089,1738,1647,2185,2344,2024,2298,2009,1802,1713,1603,1442,1523,1525,1440,1439,1592,1618,1476,1401,1399,1566,1673,2193,2807,2457,2060,2578,3208,3073,2125,1714,2125,2430,2347,2927,3698,4024,3660,3203,2784,2644,2540,2834,2629,2643,2790,2782,3264,3028,2353,2735,3151,2708,2708,3289,3351,3175,2698,2380,2631,2539,2377,2712,2865,2461,2109,2541,2265,2115,2553,3112,2940,2343,2671,3126,3072,2483,1954,1843,1882,1905,1863,2150,2221,1841,1630,1770,2109,2209,2251,2899,2552,2228,2391,2456,2527,2527,2155,2297,2851,3175,3327,3274,3308,3054,2857,3000,2778,2928,2854,2599,3141,2843,2830,3175,2639,2847,2541,2507,2413,2513,2555,2398,2056,2235,2359,2192,2292,2425,2496,2276,1686,1731,2371,2293,2229,2496,2169,2185,2423,2468,2238,2052,1946,2183,3056,3385,3316,3183,3054,3104,3143,3208,3144,3159,3393,3520,3537,3415,3112,3242,3580,3452,3011,3248,3076,3408,3167,2768,2874,3039,3442,3990,4227,4451,4228,4108,4404,4479,4227,4062,4141,4234,3961,4048,4448,4372,4272,4384,4504,4132,2122,931,510,419,369,346,321,305,292,291,308,327,346,363,325,346,337,330,352,381,486,651,643,485,637,914,1366,1524,1525,1498,1404,1263,1249,1431,1711,1860,1698,1486,1354,1172,882,989,943,852,761,709,794,817,787,730,753,830,771,932,1000,756,584,635,731,822,854,898,1055,1150,1145,1171,1102,1169,1267,1209,1066,932,988,1661,3039,3165,2059,1499,1568,1464,1249,1265,1194,1020,1046,1295,2330,3578,4123,3878,3476,3493,3306,2679,2402,2221,1836,1985,1783,1600,1610,1576,1424,1807,2785,2973,2562,2195,1897,1604,1510,1322,1241,1237,1049,968,901,799,764,748,776,821,830,806,794,913,936,872,773,722,847,901,983,1510,1855,1343,1299,1713,1814,2133,2277,2310,2149,2031,2037,2100,2054,1967,1929,2028,1875,1715,1582,1659,1639,1459,1256,1188,1157,1050,978,1024,1116,1229,1486,1474,1458,1919,2002,1923,1469,1076,885,771,833,869,802,801,897,992,929,844,857,823,1012,797,607,595,550,526,504,503,492,466,437,435,419,406,394,386,382,387,372,363,375,383,387,394,402,407,404,390,409,456,447,418,439,414,395,378,365,353,342,343,350,350,346,365,398,397,360,341,363,389,370,341,339,349,350,345,379,391,371,397,415,443,502,537,444,389,342,331,345,349,356,351,317,289,291,329,288,254,247,255,265,270,278,300,312,325,336,339,345,361,365,364,360,355,347,334,328,331,343,352,337,328,330,331,330,339,378,430,450,444,474,464,436,442,437,456,481,514,543,557,583,614,628,629,597,590,572,533,603,707,644,609,696,701,774,804,1050,996,835,896,1010,989,857,702,663,733,597,501,551,514,469,458,457,460,456,443,431,427,420,419,419,417,425,395,361,341,327,321,318,324,321,313,313,321,327,321,309,303,298,307,326,339,343,355,354,367,389,404,395,426,465,511,526,527,507,474,441,420,411,411,420,432,445,440,424,415,420,432,431,429,454,491,529,521,587,624,623,627,588,587,611,640,616,550,540,574,591,685,775,452,523,651,648,641,619,550,564,607,594,607,620],[2226,1533,1867,2987,3189,2879,2776,2917,2991,2908,2856,2934,2972,2958,2658,2758,2680,2644,2681,2413,2248,2293,2475,2596,2509,2329,2250,2077,2239,2494,2736,2912,2566,2189,1851,1769,1972,1930,1556,1446,2102,2619,2546,2446,2200,1898,2143,2405,2008,2203,2577,2452,1959,2357,2850,2728,2872,2577,2421,2866,2906,2783,2712,2620,2808,2576,2415,1978,2147,2276,1898,1989,1549,1498,1359,1515,2241,2464,2557,2651,2948,3332,3018,3481,3598,3431,3377,3607,3749,3561,3694,4084,3671,3675,3626,3202,2845,2734,2261,1461,1727,2341,2407,2408,2749,3168,3194,2798,2769,2197,2324,2618,3027,2729,2398,2278,2388,3063,2482,2045,1931,2467,2182,2464,2186,2103,2384,2386,2394,2503,2517,2406,2339,2380,2164,1742,1819,1890,2807,2854,2840,3251,3309,3429,3195,2485,2054,1963,1866,1943,2294,2332,2353,2777,2225,2654,2776,2352,2524,2631,2269,2239,2409,2535,1808,1709,1738,1870,2292,2774,2776,2570,2260,2230,2320,2491,2718,2623,2400,2439,2633,2400,2314,2567,2771,2319,1696,2159,3069,3979,3530,2538,2109,2180,2301,2126,2120,2141,2208,2357,2791,2784,2222,1920,1964,1974,2030,2448,2497,2136,1832,1612,1251,1334,1630,2107,2556,2282,2366,1916,2065,1895,1994,2265,2552,2708,2590,2867,2959,2799,2377,2556,3066,3362,3580,3523,3320,3147,3166,3188,2867,3202,3650,3089,2458,2707,2170,1685,1825,1770,1400,937,1371,2500,3075,2767,2380,2214,2122,2241,2028,1557,1550,1790,1714,1786,1780,1947,2082,2120,2204,2154,1829,1855,2135,2526,1955,1757,1900,2365,2448,2119,2374,2750,2979,2877,2705,2291,1648,1822,2305,2647,2330,2277,2416,2238,2031,1945,2142,2552,2358,1851,1736,2149,2114,2167,1963,1743,1722,1681,1585,2211,2709,2712,2878,2810,2367,1886,1829,2355,2750,2289,2382,2408,2521,2573,2480,2092,2053,2314,2135,2122,1992,2150,1613,1487,1897,1455,1284,1859,1924,1905,1956,1803,1787,1692,2061,2370,2249,1684,1612,1858,1781,1698,2089,2446,2396,2055,1548,1852,2621,2093,2349,2736,3060,4017,4028,3509,2998,2427,2246,2532,2442,2152,2154,2103,1853,1883,1788,1664,1552,1652,1882,2168,2203,2195,2011,2200,2370,2269,2337,2425,2050,1923,2453,2451,2100,1843,1898,1870,2064,1959,1967,1782,2287,1863,2122,2389,2377,2109,2301,2315,2416,2775,2862,2601,2619,2701,2519,1933,2068,2522,2198,2240,2440,2093,1990,2219,1916,1942,2122,2094,2142,2042,1875,2018,2437,2464,2435,2527,2553,2742,2280,2055,2325,2250,1878,1958,1937,2017,2082,2170,2397,2711,2997,2623,2092,2621,2831,2533,2165,1687,1764,2090,2337,2311,2094,1843,2099,2614,2164,1911,2256,2093,2347,2894,3020,2541,2280,2105,1728,1670,1888,1963,1849,1669,1773,1707,1529,1437,1602,1660,1393,1400,1458,1543,1847,1854,1649,1487,1676,1555,1444,1429,1566,1607,1772,2072,2257,2493,2775,2680,2450,1843,2018,2199,2457,2485,2422,2258,2098,1940,1793,1785,2022,2170,1745,1776,2226,2141,2144,2059,1926,2268,2176,1903,2051,2156,2647,3190,3370,3112,2631,2839,3330,3223,2644,1922,1857,1909,2195,2497,3027,2569,1887,2197,2294,2240,1904,1593,1417,1354,1533,1830,1814,1484,1629,1559,1566,1672,1440,1173,1308,1654,2048,2548,2722,2754,3248,3601,3394,2818,2138,2318,2164,2537,2708,2082,1826,1790,1512,1648,1652,1519,1537,1673,1757,1707,1578,1605,1544,1672,1952,2292,2115,1839,1714,1519,1687,1754,1743,2282,2264,2236,1951,1560,1889,2753,2646,2212,2570,3254,2622,1969,2715,2410,2276,2713,2976,3141,2498,2585,2259,1835,1793,1712,1562,1606,1852,2123,1919,1775,1672,1477,1541,1876,1674,1897,2172,2256,2316,2025,2229,2563,2036,1842,2049,2319,2498,2332,2116,2321,2598,2740,2474,1833,1570,1592,1596,1782,2007,1896,1736,1784,2071,2097,2122,2136,1810,1700,1772,1794,2104,2127,1749,1585,1620,1659,1671,1663,1576,2109,2544,1997,1760,1756,1596,2331,2622,2600,2066,2049,2392,2421,2186,2004,1742,1744,1545,1511,1577,1448,1916,1592,2078,2049,1641,1608,1294,1566,2020,1694,1554,1886,2053,1997,2265,1926,1431,1497,2137,2866,2492,1823,1736,2140,2325,2330,2183,2180,2043,2850,2787,2061,1819,1497,1561,2416,2645,2608,2823,3084,2574,1853,1948,1774,1937,1959,1948,1733,1586,2463,3442,3141,1714,2262,2552,2348,2415,2269,2325,2605,2208,2216,2287,2035,2201,2219,2620,2278,2245,3194,2974,2416,2154,2153,2480,2722,2553,1956,1847,2376,2115,2049,2316,2908,3311,3463,2980,2533,2832,2570,1747,1713,1591,1639,1543,1801,2220,2312,1569,1537,1720,2194,1969,1460,1528,1610,1709,1631,1470,1483,1503,1582,1642,1565,1588,1610,1555,1578,1556,1400,1394,1455,1585,1580,1419,1338,1451,1379,1369,1404,1494,1468,1370,1452,1737,1848,2030,2094,1919,1666,1442,1492,1601,1675,1854,1897,1816,2701,3228,2074,1779,2027,2754,3486,3548,3604,3525,3141,2453,2045,2053,2634,2984,2761,3974,4364,4144,3969,3572,2596,1888,1511,1591,1713,1711,2090,2428,1936,1746,1630,1662,1520,1971,2562,2552,2024,1730,1758,1780,1690,1582,1608,1848,1862,1559,1458,1559,1729,1891,1672,1504,1657,1698,1513,1696,1619,1554,1515,1440,1498,1534,1537,1557,1607,1489,1461,1475,1479,1720,1892,1652,1639,1554,1592,1450,1394,1510,1610,1675,1728,1714,1675,1635,1975,2158,2295,2428,1936,1642,1753,1860,1796,1792,1757,1631,1405,1332,1533,1687,1598,1854,1839,1658,1634,1542,1806,2035,1881,1670,1492,1493,2193,3260,3212,2286,1900,1941,2035,1944,1700,1620,1594,1642,1325,1274,1342,1685,2548,3360,3530,3160,3160,3152,3085,3120,3401,3185,2568,2508,3313,3705,3840,3432,3187,2662,2388,2332,2749,3255,3410,3431,3037,2627,2353,2192,2265,2722,2791,2638,2931,2996,2622,2669,3251,3381,3140,2668,2595,2321,2965,3065,3144,3155,3333,3485,3608,3743,3748,3560,3523,2898,2775,2614,2517,2542,2477,2320,2380,2580,2885,3123,3605,3964,3993,4007,4211,3977,3418,2051,1738,1954,2092,2146,2221,2092,1562,1533,1642,1388,1520,1460,1365,1369,1441,1560,1974,2190,1935,1839,1664,1384,1821,2475,2059,1999,2186,2062,2282,2238,1803,2108,2649,2144,1562,2076,3003,3034,2640,2457,2281,2327,2032,1650,1344,1222,1397,1426,1534,1745,1509,1420,1462,1534,1508,1560,1948,2780,2701,2186,2033,2309,2221,1761,1798,1759,1729,1838,2633,3389,3624,2850,2631,2921,2731,2407,2389,2796,2808,2917,3233,3118,2843,2376,2544,2856,2823,3201,3388,2712,2612,2946,2370,2014,2362,2201,2175,2255,2165,2182,2409,2085,2171,2764,3345,3652,3431,3491,2801,2884,2454,2275,2208,2141,2018,2061,2048,1820,1740,1746,1723,1948,2081,1942,2588,2600,2294,2260,2482,2526,2084,1809,1997,2688,2986,3089,3266,3284,2945,2710,2783,2580,2510,2463,2566,2643,2355,2665,3008,2430,2320,2007,2435,3210,3001,2545,2103,2022,2435,2527,2212,2004,2400,2949,2599,1889,1929,2524,2229,2186,2388,2238,2303,2589,2568,2143,1926,1850,2193,3306,3366,3039,3102,3182,3084,3013,3073,3175,3216,3206,3227,3262,3274,3334,3527,3561,3363,3186,3065,3054,3233,2979,2802,2711,2791,3038,3721,3859,3817,3868,4141,4392,4627,4587,4310,4184,3884,3511,3772,4385,4256,4046,4240,4295,4268,3581,2018,785,404,375,376,355,315,298,274,289,325,334,356,370,364,348,370,370,491,789,1108,1113,760,861,1102,1470,1471,1478,1489,1577,1482,1323,1351,1544,1902,1842,1598,1473,1362,1020,974,1039,987,830,755,782,841,860,794,784,931,954,901,820,666,575,601,697,788,844,848,925,1063,1091,1106,1080,1152,1246,1293,1172,1037,1059,1626,2979,3784,3047,1942,1915,1959,1605,1331,1213,1121,1107,1384,2501,3539,4024,3971,3565,3721,3383,2592,2790,2409,1898,1795,1709,1768,1733,1693,1470,1722,2567,2928,2529,2083,1880,1606,1582,1438,1228,1159,1094,1028,997,904,782,755,751,748,798,827,815,852,891,885,781,701,785,859,907,1303,2069,1616,1151,1500,1721,1809,2150,2380,2193,1936,1954,2014,1914,1749,1607,1720,1655,1600,1504,1549,1628,1538,1350,1249,1234,1114,1033,1051,1112,1276,1507,1566,1549,1964,2385,2321,1736,1207,1014,788,768,772,745,755,802,861,914,865,846,838,737,571,561,597,565,537,500,482,469,446,429,406,402,405,384,383,378,380,370,369,367,362,390,397,397,406,393,385,394,429,435,406,406,395,377,368,359,343,339,337,345,356,353,364,385,383,362,346,370,395,379,357,350,343,349,347,366,386,371,376,394,431,449,478,450,409,358,341,338,323,344,351,318,294,278,338,309,249,238,259,268,270,286,301,310,330,349,357,360,369,358,357,365,360,347,335,329,331,348,357,342,333,336,329,331,331,366,414,440,435,449,466,439,427,410,428,462,489,509,548,613,639,624,622,601,603,604,568,569,693,645,595,658,705,773,781,1009,1114,897,930,1053,930,813,698,593,669,597,518,539,521,484,468,456,449,438,430,426,420,411,404,402,386,411,388,349,345,329,323,318,318,317,309,306,313,321,318,307,305,306,313,328,340,343,351,354,363,381,394,404,410,444,490,517,520,509,475,439,418,407,404,413,429,444,437,415,407,401,427,457,440,471,490,514,503,531,558,563,560,584,620,639,677,672,598,571,630,660,676,850,585,465,579,660,649,642,598,617,701,688,659,602],[2202,1659,1789,2996,3287,2962,2774,2844,2997,3050,2996,2997,3052,3164,3110,3108,3111,3097,2902,2356,2176,2221,2493,2799,2630,2396,1899,1654,2168,2470,2470,2613,2740,2509,1681,1544,1792,1770,1169,1238,2239,2540,1875,1931,2504,2464,2151,2015,2236,2385,2302,2187,2049,2311,2142,2073,2468,2586,2790,2698,2440,2458,2306,2236,2790,2918,2371,2055,2105,2178,2341,2232,1921,1814,1205,2135,2566,2489,2557,2545,3142,3374,3318,3658,3728,3475,3326,3500,3523,3582,3660,3852,3847,3993,3650,2762,2257,2185,1854,1692,2070,2517,2481,2152,2447,2608,2625,2630,3205,2846,2175,1857,2503,2933,2939,2552,2763,3605,2973,2411,2157,2575,2587,2797,2468,2481,2413,2349,2644,2769,2829,3181,3073,2688,1904,1780,2322,2787,3098,2828,2927,3202,3274,3196,2924,2438,2161,2482,2403,1933,2258,2666,2910,2822,2608,2560,2113,1796,1769,1818,2270,2126,1930,1909,1376,1649,2018,2182,2123,2206,2335,2263,2158,1973,2288,2877,2925,2374,2293,2562,2507,2085,2037,2402,2965,2164,1299,2159,3191,4071,3558,2686,2361,2421,2438,1997,2034,2303,2095,2150,2320,2344,2134,2078,1959,1735,1854,2309,2513,2358,2448,1848,1004,1439,1804,1890,2219,2410,2426,2307,2365,2208,2029,1928,2090,2734,3328,3253,3063,3127,2920,3073,2997,3138,3042,3050,3220,3492,4256,3987,2858,2619,2719,2018,1990,2585,2264,2182,1917,1848,1742,1499,1299,1529,2031,2185,2155,1576,1509,1759,1827,1723,1547,1696,1857,1869,2023,2068,1982,2004,2020,1979,1919,2112,2391,2881,2338,2002,2099,2541,2480,2460,2509,2460,2476,2413,2568,2442,2302,2162,2141,2416,2627,2614,2390,2064,1793,1766,2398,2785,2522,1847,1769,2287,1977,2075,2085,2081,2170,1923,2175,3170,3365,2787,2908,3160,2532,2147,1580,2365,2880,2303,1832,2125,2347,2299,2225,1946,2232,2349,1896,2081,1997,1660,1388,1778,2193,1920,1736,1800,1827,2072,1948,1915,1770,2091,2770,2723,1931,1504,1623,1899,1927,1810,1876,1870,2153,2397,2232,2547,2801,1852,1369,2251,2743,3097,3587,3938,3947,3464,3136,3409,3278,3252,3091,2713,2013,1776,1791,1890,2149,2550,2766,2583,2404,2384,2325,2964,3218,2920,2193,1980,1951,1806,2176,2732,2500,2113,2201,2416,2268,1873,1789,2160,1915,1465,1672,2203,2319,2343,2461,2421,2667,2169,1998,2463,2116,2337,2386,1918,2082,2320,2167,2164,2543,2478,2486,2098,1890,2294,2289,2245,2192,2030,2199,2180,2085,2193,2622,2881,3061,3825,3138,2546,2479,2203,1892,2176,2307,2600,2477,2036,2450,2775,2420,2283,2237,2853,2685,2253,1746,1781,2023,2281,2358,2238,1913,1846,2032,2285,1689,2176,2620,2626,2315,2293,2523,2494,2244,1901,1494,1761,1838,1792,1821,1871,1874,1942,1807,1760,1859,1737,1480,1503,1651,1426,1412,1735,1650,1461,1809,2154,2054,1827,1526,1520,1845,2432,2465,2399,2505,2576,1971,2203,2273,2184,2390,2240,2385,2724,2291,1684,1578,1716,1762,1701,1349,1546,2180,2242,2271,2374,2678,3370,3574,2692,2030,2260,2539,3222,3108,2851,3090,2735,2657,2724,2050,1632,1686,1779,2222,2164,2101,1966,2433,2360,2243,2249,1869,1671,1563,1511,1499,1638,1425,1354,1438,1643,1759,1560,1298,1074,940,1638,2426,2623,2730,2643,2975,3040,3169,2879,2310,1913,1991,2537,2679,2131,2094,1955,1620,1969,1716,1548,1456,1548,1575,1627,1583,1542,1378,1492,1699,2072,2254,2385,2115,1826,1673,1727,1864,1872,2139,2213,2127,1817,1949,2409,2283,1797,2044,2612,1802,1935,2567,2665,3074,3471,3592,2944,2099,2030,1906,1601,1470,1706,1629,1618,1708,1901,2083,1968,2015,1779,1770,1902,1744,1713,2029,2040,1742,1515,1963,2346,1895,1512,1562,1865,1915,1868,1862,1705,1570,2080,2188,1590,1527,1972,1981,1707,1546,1566,1656,1670,1528,1511,1684,1974,1605,1498,1432,1331,1641,1748,1727,1848,1736,1725,1734,1716,1672,1635,1819,1800,1704,1600,1879,2554,2490,2123,2034,1865,2488,2511,1613,1270,1535,1820,1692,1591,1552,1720,1926,1996,2378,1882,1474,1421,1456,1714,2004,1992,1870,1920,1825,2013,2062,1747,1296,1327,1831,1981,1986,2031,2006,2011,2316,2155,2249,2730,3034,3021,2321,1868,1831,1904,1967,2748,2445,2653,2851,2811,2442,2620,2383,1942,1931,1891,1886,1568,1573,2568,3021,2999,1933,2444,2921,2491,2775,2788,2518,2118,1514,1901,2334,2044,2171,2420,2381,2045,2119,2580,2404,2217,2364,2423,2229,2232,2019,1805,1744,2021,1948,2354,2609,2753,3284,3321,2985,2579,2713,2352,1821,1899,1738,1600,1449,1913,1964,1697,1320,1299,1827,2105,1980,1617,1494,1511,1582,1754,1657,1663,1607,1461,1566,1581,1496,1395,1517,1520,1404,1503,1571,1599,1535,1625,1506,1362,1407,1616,1574,1500,1662,1639,1405,1355,1381,1741,2202,1861,1444,1498,1430,1452,1532,1518,1851,2317,2059,2374,3129,2268,1710,1628,2163,2867,2928,2872,2842,2599,2482,2156,1935,2180,2463,2589,3839,4416,3849,3117,2460,2142,1975,1816,1786,1620,1582,1729,2138,1859,1681,1617,1694,1639,1642,1880,1895,1608,1435,1491,1583,1729,1769,1640,1918,2138,1750,1498,1722,1895,1825,1867,2002,1747,1771,1533,1853,1654,1688,1692,1592,1932,1955,1326,1153,1516,1449,1425,1454,1505,1490,1718,1515,1134,1428,1600,1400,1388,1660,1791,1935,1824,1675,1380,1763,2287,2299,2334,2095,1828,1571,1797,1844,1595,1735,1683,1282,1187,1404,1484,1689,1843,2232,1954,1569,1600,1794,1990,1973,1969,1718,1698,1742,2317,3083,2760,1970,1831,2213,2713,2490,1830,1753,1814,1758,1459,1798,1605,2000,2594,3263,3242,2939,2906,3135,3162,2822,2511,2859,2979,3571,3685,3737,3858,3594,3008,2481,2365,2579,3109,3548,3458,3262,3095,2946,2488,2430,2469,2521,2845,2856,2544,2392,2355,2493,3097,3199,3117,2613,2451,1836,2300,2893,3033,2976,2917,3320,3553,3233,2792,2408,2617,2815,3472,3311,3255,2957,2387,2154,2249,2663,3119,3409,3464,3111,2888,3670,3992,3383,2359,1661,1950,2261,2605,2693,2623,2353,1978,1788,1548,1417,1425,1366,1510,1435,1483,1582,1949,2161,1912,2010,1612,1576,2714,3297,2447,2365,2702,2146,1958,1974,1579,1846,2245,2110,2110,2869,2530,2548,2358,2281,1917,2064,1973,1625,1273,1284,1395,1342,1733,1926,1481,1458,1556,1533,1342,1618,1724,2058,2545,2472,2042,1842,1746,1909,1852,1659,1614,1764,2118,3132,3535,2797,2060,1963,2454,2719,2614,3061,2670,3225,3491,2932,2700,2527,2789,2988,2337,2431,3103,2728,2256,2569,2448,1942,2078,1955,1830,1745,1816,1938,2024,2141,2391,2254,2104,2257,2458,2613,2429,2508,2562,2399,2289,2281,2301,2167,1845,1892,2147,1962,1731,1938,2085,1935,2007,1848,2120,2736,2879,2519,2319,2437,2675,3156,2961,2733,2901,3116,2908,2498,2296,2419,2661,2765,2630,2625,2309,2240,2263,2181,2103,2045,2306,3257,2768,2013,2272,2295,2358,2145,1863,2003,2587,2922,2624,2229,2483,2654,2484,2574,2647,2494,2348,2592,2276,2067,1918,2213,2912,3367,3098,3083,3232,3231,3077,2964,3206,3417,3356,3207,3082,3068,3133,3256,3536,3705,3561,3438,3531,3656,3556,3183,3060,2889,2691,2791,3408,3051,2422,3061,3868,3935,4199,4700,4609,4156,3600,3449,3873,4328,4385,3902,4079,4252,4152,3869,2688,1099,492,383,375,398,336,330,321,297,304,331,365,408,389,387,391,417,653,1002,1213,1227,1057,1031,1360,1636,1553,1444,1431,1544,1557,1464,1552,1579,1767,1945,1743,1617,1539,1244,955,1020,1124,854,790,813,862,955,952,880,1053,1147,1010,823,688,589,586,689,786,841,796,849,986,976,979,1043,1128,1189,1310,1313,1191,1461,2287,2755,3583,3445,2617,2306,2328,1998,1482,1231,1178,1130,1454,2483,3437,4008,4288,4131,4083,2960,1733,2172,2466,2272,2122,2232,2124,1745,1803,1648,1823,2175,2791,2531,1990,1720,1489,1433,1394,1268,1121,1076,961,957,918,801,767,727,680,692,754,782,794,807,830,822,715,720,852,923,1020,1872,1977,1336,1147,1598,1844,1861,2171,2292,1907,1769,1855,1797,1670,1434,1469,1462,1406,1366,1465,1592,1638,1581,1332,1320,1186,1029,1078,1137,1483,1689,1647,1541,1985,2762,2842,2255,1543,1294,892,821,847,756,746,769,789,822,847,844,837,771,683,593,596,576,542,504,482,467,444,442,410,387,412,387,371,371,367,367,369,361,338,378,395,387,403,393,386,382,404,412,411,389,377,362,354,354,346,334,334,340,348,351,365,380,390,387,372,378,394,387,368,359,350,347,353,362,372,379,380,379,404,431,438,457,459,403,371,339,327,349,366,334,309,288,344,327,262,239,254,270,273,285,292,310,333,348,367,375,373,350,350,366,371,356,342,338,335,343,347,345,344,338,337,337,333,355,394,432,449,426,449,450,422,401,412,445,464,496,536,634,668,620,619,611,618,613,604,526,658,653,603,607,649,758,760,876,1101,1014,922,1044,919,788,707,616,633,596,545,546,526,491,450,441,437,429,423,418,408,404,396,387,373,375,374,348,344,333,318,314,313,313,317,311,315,317,318,314,310,313,315,328,336,341,345,360,364,374,386,390,389,412,450,483,498,500,472,447,416,394,397,408,423,441,439,419,414,418,435,463,458,477,486,483,482,504,541,581,589,604,659,651,700,699,651,609,648,735,717,777,712,507,486,627,640,630,628,605,618,638,590,582],[2366,2474,2464,3032,3370,3051,2858,2859,2902,2947,2908,2937,3052,3104,3120,3119,3067,3008,2806,2004,1858,1876,2342,2624,2452,1989,1997,2326,2087,1815,2053,2567,2744,2325,1499,1451,1772,1852,1603,1988,2172,1483,1416,1970,2744,3188,2773,2135,2314,2274,2653,2965,2567,2339,2324,2517,2751,2792,2791,2736,2536,2107,1818,1807,2529,2735,2188,1892,1934,1975,2122,2054,1766,1604,1288,2041,2243,2240,2001,2357,3052,3373,3730,3750,3604,3530,3162,3093,3275,3497,3767,3605,3917,4307,3312,2018,1914,2087,2100,2238,2193,2304,2360,2303,2703,3195,2875,2922,2754,2170,1659,1633,2711,3413,3024,2377,2901,2994,2824,2535,2150,2364,2928,2799,2315,2384,1938,2376,3256,2806,3220,3458,2822,2711,2286,2340,2830,2680,2661,2933,3120,3486,3360,2895,2281,1895,2204,2397,2721,2720,2910,3057,2824,2431,2468,2654,2311,2091,1586,1952,2300,1865,1810,1966,2138,1962,1924,2233,2078,2231,2150,1964,2370,2406,2884,3130,2975,2685,2546,2571,2438,2540,2424,2589,3164,2712,2237,3239,3016,3733,2968,2053,2424,2753,2429,2110,2136,1931,2176,2303,2066,2025,2085,2010,1834,1784,1696,1900,1943,1970,2578,2447,1597,1881,1952,2105,2117,2617,2802,2763,2425,2391,2464,1952,1830,2412,3043,3239,3474,3300,2910,2968,3105,3107,2604,2946,3331,3685,4404,4152,3046,2262,1806,1581,1854,2201,2202,2150,1887,1823,1538,1654,1835,1779,1447,1706,1743,1407,1506,2076,2254,2150,1622,1545,1750,2134,2232,1836,1729,1802,2001,2149,2635,2114,2368,2898,2249,2113,2587,2700,2946,3032,2710,2496,2261,2188,2422,2522,2510,2353,1986,2114,2876,2876,2364,1931,1898,2290,3050,2776,2358,2085,2493,2541,2044,2131,2115,2218,2187,1985,2459,3712,3740,2502,2761,2809,2903,2253,1782,2542,2980,2580,1988,1738,1840,2521,2280,1895,2219,2094,1805,2031,1794,1418,1347,1582,2058,2033,1776,1896,2472,2398,1874,2036,2278,2399,2429,2683,2204,1778,1654,1518,1456,1215,1239,1488,2232,2455,1710,1697,2048,2205,2038,2326,2802,2786,2732,2713,3352,3974,3963,3796,3779,3740,3272,2481,1845,1800,2250,2666,3076,3100,2710,2521,2423,2396,2186,2513,3052,2523,1826,1987,2078,1789,1708,2203,2203,2354,2257,2376,2102,1781,2036,2144,1476,1013,1470,2410,2104,1997,2326,2200,1682,1581,2128,1983,1970,2166,1956,2131,2316,2275,2097,1813,1914,2062,2282,2069,2039,2222,2108,2458,2396,2046,2226,1791,1706,1802,1933,2391,3133,3694,3582,2662,2133,1817,1594,1913,2359,2781,2223,2245,2311,2176,1992,2352,2709,2627,2251,1713,1687,1981,2258,2320,2558,2397,1845,1942,1752,1765,1974,2580,2673,2358,2092,1963,2234,2179,1760,1535,1610,1939,1726,1648,1688,1780,1873,1887,1799,1804,1783,1820,1659,1644,1678,1373,1395,1701,1560,1546,2243,2642,2525,2262,1566,1405,1831,2556,2588,2274,2476,2161,1586,1894,2084,2164,2288,2210,2336,2432,2815,2857,2158,1714,1580,1476,1350,1129,1556,2209,2308,2546,2573,3166,3652,2783,2059,2155,2566,3409,2640,2345,2967,2723,2530,2587,1956,2109,2306,2009,2276,2205,1731,1870,2551,2558,2438,2310,2135,1986,1791,1788,1650,1645,1654,1424,1382,1626,1929,2055,1946,1816,1674,2323,2636,2337,2698,2969,2768,2696,2867,2720,2274,2076,2083,1993,1980,1770,1966,1996,1874,2288,1656,1380,1438,1529,1407,1409,1432,1329,1543,1854,1880,2116,2097,2137,2564,2603,2221,2056,1687,1790,1769,1463,1435,1715,2026,2189,2667,2973,2740,2719,2309,2081,2016,2679,3339,3304,3293,2833,1934,2010,2366,1920,1484,1575,1649,1604,1775,1623,1512,1789,1810,1731,2011,1913,1591,1592,2157,2008,1692,2021,1784,1665,1806,1725,1702,2051,2275,2136,1802,1409,1153,1410,1554,1647,1746,2037,1958,1555,1311,1536,1763,1499,1488,1871,1782,2058,1613,1592,1738,1623,1500,1323,1721,2329,2305,1914,1636,1644,1483,1505,1883,1920,1672,1553,2164,2990,2736,2307,2214,2078,2896,2480,1504,1315,1456,1613,1549,1594,1650,1816,1794,2040,2118,1702,1775,1742,2258,1969,1812,1968,1800,1714,1578,1839,1852,1453,1292,1478,1980,1903,1864,1710,1614,1486,1470,1606,1860,2120,2272,1982,1598,1717,2580,2525,2268,2286,1998,2398,3363,2750,2117,2143,2036,2222,2600,2392,1986,1860,2283,3081,3074,3400,2392,2455,3000,2557,2564,2510,2329,2663,2053,1909,1942,2381,2863,2989,2367,2261,2285,2241,2552,2913,2768,2820,2209,1865,1752,1848,1578,1498,1927,2114,2237,3130,3428,3103,3262,2741,2709,2001,1655,1914,1746,1688,1702,1920,1825,1709,1523,1375,1751,1846,2084,1896,1638,1558,1518,1540,1644,1780,1645,1499,1564,1577,1436,1311,1409,1462,1723,2121,1782,1379,1456,1598,1510,1328,1347,1450,1432,1237,1142,1539,1522,1468,1494,1776,1919,1510,1383,1511,1483,1515,1605,1871,1911,1843,2103,3002,2757,2214,1982,1707,1711,1786,1742,1845,1731,1906,2698,2377,2082,2030,2203,2259,3419,4284,3748,2967,2335,2278,2514,2611,2017,1586,1219,1393,2032,1727,1595,1762,1888,1911,2206,1983,1302,1482,1707,1654,1554,1980,2160,1996,2296,1984,1632,1744,1720,1565,1798,2080,2250,1821,1528,1428,1806,1433,1683,1970,1738,1936,1987,1547,1382,1535,1350,1427,1936,1576,1402,1628,1581,1382,1495,1674,1693,1995,2130,2124,2176,1979,1827,1734,2020,1907,1964,1831,1636,1569,1455,1695,1870,1710,1813,1544,1478,1605,1702,1585,1654,1623,1609,1671,1615,1807,1788,1979,2116,1814,1814,1804,1917,2331,2844,2808,1982,1837,2575,2654,2338,1953,2012,2318,2326,2081,2624,2711,2632,2949,3308,3146,2884,2778,2640,2453,2287,2499,2935,2643,3078,3274,3396,3714,3350,2762,2766,2841,2866,3153,3458,3504,3197,3196,3378,2802,2678,2830,2562,2584,2708,2612,2426,2486,2598,2814,2985,2964,2309,2301,2118,2356,3084,2928,2377,2162,2758,2719,2436,2662,2508,2720,2883,3051,3002,3146,2863,2230,2165,2284,2710,3426,3864,3133,2608,2390,2657,2631,1941,1564,1962,2243,2698,2793,2032,2592,2624,2220,1727,1272,1456,1442,1624,1810,1783,1724,1652,1889,2160,1933,2364,2109,2215,2932,3117,2701,2283,2169,1909,1691,1555,1547,1550,1487,1838,2305,2562,1928,1971,1813,1970,1831,1741,1665,1371,1223,1436,1452,1497,1980,2314,1911,1576,1677,1466,1599,2094,2149,2845,3251,2354,2125,2018,1846,1870,1416,1760,2366,2530,2675,2998,2994,3168,2845,2392,2411,3051,2958,2652,3128,3628,3420,2683,2516,2658,2958,2967,2495,2801,3199,3098,2445,1968,1650,1734,1905,1935,1922,1815,1853,2031,2340,2536,2614,2109,2508,2566,2413,2515,2386,2259,2222,2142,2241,2354,2436,2238,1857,2094,2048,1656,1779,2109,2159,2263,2176,1920,2294,3112,3035,2596,2907,3074,2710,2906,3197,3226,2776,2604,2392,2092,2279,2642,3255,3372,2489,2279,2241,2372,2480,3045,3162,2670,2701,3024,2633,2435,2732,2520,2056,1844,2026,2159,2626,2796,2640,2595,2762,2731,2456,2221,2708,2946,2436,2513,2362,2288,2126,2580,3295,3245,3054,3212,3221,3133,3074,3056,3154,3190,3200,3106,3120,3198,3286,3150,3206,3624,3776,3904,4119,3978,3769,3529,3469,3150,2836,2997,2824,2348,2487,2842,2849,3218,3808,4676,4548,3599,3527,3748,3961,4388,4520,4090,4018,4176,4111,3973,3310,2042,722,419,374,445,386,333,346,325,297,309,349,370,368,396,434,495,750,1082,1188,1212,1161,1180,1502,1738,1638,1420,1359,1532,1670,1679,1738,1593,1629,2025,1960,1707,1610,1400,1098,964,1229,984,828,842,869,972,1068,987,1204,1412,1127,796,731,646,586,654,721,784,761,786,861,939,1030,1086,1050,1058,1227,1429,1431,1802,3198,3033,3265,3350,3147,2734,2505,2276,1780,1340,1222,1220,1430,2181,3094,3261,3316,3494,3198,2160,1375,1584,2192,2598,2800,2871,2700,1980,2181,1734,1860,1972,2442,2666,2268,1698,1453,1422,1423,1366,1139,1092,938,877,854,780,764,713,650,616,655,729,747,727,749,824,791,757,851,995,1055,1431,1919,1977,1404,1242,1666,1837,1819,2233,1977,1568,1600,1604,1532,1350,1290,1310,1266,1244,1381,1598,1682,1837,1660,1487,1335,1204,1090,1196,1571,1837,2006,1999,2229,3130,3397,3108,2644,1986,1198,954,989,865,783,812,789,752,803,813,811,771,786,642,587,578,544,512,494,470,454,442,420,395,389,383,364,360,361,363,365,359,339,366,401,372,387,390,382,373,386,399,392,379,363,348,338,343,340,338,342,348,357,331,362,381,391,391,376,374,380,379,375,366,356,347,355,366,366,359,389,383,371,403,407,449,523,490,397,332,354,365,381,355,321,297,338,349,281,248,253,269,276,295,303,300,307,334,353,380,380,354,352,372,380,368,350,347,342,343,338,343,348,350,351,342,335,347,387,417,452,416,431,446,424,400,406,421,445,487,572,680,663,632,605,617,628,605,617,537,591,649,619,598,705,880,864,786,940,1042,874,913,907,773,686,646,614,576,543,567,533,487,428,416,419,418,415,406,396,388,381,376,362,360,348,345,342,334,330,325,322,322,319,320,322,319,314,316,312,316,323,328,333,339,347,352,360,370,373,376,374,391,430,458,481,490,474,448,421,399,394,406,423,445,452,439,434,441,448,458,467,476,477,486,481,511,563,611,635,609,669,663,684,686,698,677,627,684,729,718,700,589,457,526,611,614,631,625,581,610,605,558],[2294,2313,2439,2551,2936,2939,2884,2813,2827,3021,3108,3045,3005,3036,3017,3049,3008,3059,3270,2489,2007,2329,2576,2482,2258,2068,2337,2527,2204,1156,1359,2327,2682,2218,1777,1826,2380,2614,2431,2724,2641,2209,2245,2554,2435,2853,2312,1916,2019,2213,2679,2950,2482,1816,1800,2293,2793,3024,3019,2660,2179,1864,1800,2410,2873,2321,2063,2404,2289,1967,1923,1903,2102,2230,2115,2490,2944,2512,2250,2792,3135,3863,3695,2817,2930,3546,3397,3423,3099,2807,2799,2475,3110,3719,2789,2206,2144,2036,2078,1970,2128,2580,2454,2685,3331,3489,3205,3458,3086,2428,2678,2530,3009,3053,2442,3096,3843,3196,2851,2445,2033,2248,2744,2634,2420,2203,2040,3211,3573,2944,3486,3473,3289,3575,3439,3194,2818,2941,3054,2956,2996,2922,2543,2523,2125,2203,2670,2488,2437,2562,2686,2673,2624,2237,2214,2465,2220,2272,1723,1746,1869,1700,1719,2121,2290,2042,2158,2125,2257,2493,2372,2034,2326,2702,3227,3193,3087,2929,2774,2830,2823,2812,2750,3391,3531,3392,3420,3919,3627,3737,2564,1737,2701,2997,2755,2994,3267,2757,2542,2222,2022,2225,2174,2013,1972,1991,2070,2371,2404,2061,2600,2662,2290,2142,1943,2080,2294,2806,2810,2401,1963,2001,1948,1749,1842,1677,2666,3095,3296,3225,2907,3257,3453,2816,2735,3372,3264,3437,3993,3829,2933,1962,1691,1407,1583,1803,2245,2299,1970,1692,1521,1775,1803,1584,1700,1761,1459,1458,1798,2181,2292,2023,1726,1676,1555,1845,1888,1822,2187,2081,2325,2693,2958,2467,2829,2917,2369,2677,2835,2666,2947,2942,3063,2920,2338,2355,2469,2534,2762,2757,2192,2310,2752,2353,1887,2068,2295,2972,3360,2954,2696,2754,3174,2640,2060,1973,2079,2567,2350,1942,2080,3204,2796,2087,2546,2444,2442,1888,1916,2482,2810,2668,2106,1557,1710,2334,2610,2267,2170,1954,2052,2584,2329,1652,1421,1766,1782,1540,2025,2157,2137,1902,1723,1870,2143,2007,2155,2578,2156,1469,838,755,1164,1432,1251,1430,2444,2490,1864,1555,1314,1758,2522,2665,2711,2823,2719,2510,3131,3523,3597,3641,3085,2625,2361,2127,2101,2390,3024,3338,3511,3338,2906,2553,2113,2212,2193,2121,2150,1958,2362,2274,2081,2058,1727,1964,2632,2633,2490,2191,1919,1786,2041,1969,1457,1187,1526,2301,2056,1944,1973,1783,1519,1793,1902,1972,2194,2017,1947,2487,2294,2450,2820,2905,2565,1971,1956,1905,1778,1940,1892,2154,2172,2083,2305,2023,1481,1363,2001,2178,2543,3122,2984,2093,1776,1646,1549,1764,2293,2341,2259,2293,1965,1863,2042,2501,2496,2200,1776,1699,1923,2190,2533,2492,2534,1975,1919,1789,1626,2322,2866,2856,2437,2160,2441,2237,1935,1701,1603,1687,1718,1748,1746,1670,1620,1509,1534,1682,1762,1727,1918,1760,1745,2033,1749,1289,1727,1838,1547,1597,1963,1950,1876,1873,1594,1472,1766,2270,2345,2266,2396,2040,1781,1782,1729,1995,2012,1864,1959,1583,2077,2891,2895,2613,1836,1661,2139,1921,2150,2562,2622,2575,2517,2957,2812,2320,1920,1652,2624,2864,2099,2345,2780,2691,2766,2893,2155,2285,2822,2774,2593,2308,2172,2284,2468,2674,2751,2533,2250,2051,1883,1903,2001,1577,1781,1896,1809,2092,2411,2084,1908,2275,2477,2884,2493,2482,2721,3000,2750,2580,2280,2458,2489,2322,2051,1850,2143,1942,2118,2257,2134,2089,1665,1760,1846,1499,1378,1488,1533,1311,1647,1772,1870,2150,2042,2147,2241,2463,2240,2056,1948,2001,1850,1810,1998,1845,1771,2006,2908,3919,3914,3440,2652,1974,1874,2569,2891,2358,2542,2521,1781,2140,2178,2172,1649,1489,1588,1510,1578,1438,1561,2148,1728,1541,1770,1840,1714,1713,2389,2310,2341,2410,1806,1515,1750,1619,1691,2121,2642,2008,1670,1361,1206,1253,1455,1636,1817,1937,1838,1482,1302,1441,1722,1393,1542,1985,1958,2164,1904,1711,1876,1740,1236,1039,1384,1648,1916,1756,1648,1376,1720,1881,1779,1744,1632,1559,1908,2446,2508,2119,2362,2522,2481,2030,1463,1342,1451,1403,1483,1854,2080,1861,1788,1864,1619,1618,1824,1627,1802,1858,1969,1759,1832,1718,1552,2088,1952,1956,2476,1886,1784,1807,1762,1853,1665,1299,1306,1306,1358,1771,1950,1619,1650,2413,3893,3259,2334,1920,1896,2770,3552,2702,1682,1658,2115,2788,3217,2609,1781,2310,3067,3399,3436,3421,2060,1943,3319,2920,2514,2264,2500,2930,2487,2030,2010,2422,2654,3053,2965,2722,2764,2192,2352,3075,2846,3787,3658,2753,2063,1822,1595,1736,2016,1647,2029,3153,3266,3214,3476,3234,3014,1926,1447,1637,1912,2326,2110,1599,1448,1473,1467,1461,1905,1996,1868,1705,1546,1572,1518,1455,1609,1783,1709,1570,1721,1645,1333,1416,1493,1464,1964,1991,1630,1520,1489,1435,1324,1278,1357,1456,1405,1324,1344,1568,1661,1492,1553,1857,1950,1815,1576,1504,1558,1836,1795,1817,1549,1491,2189,2689,2407,2116,1860,1621,1558,1636,1486,1417,1441,1683,2304,2222,1975,2015,2250,2256,2808,3908,4113,3731,2476,2235,2229,2057,2068,1742,1921,2272,1846,1520,1557,1810,2010,2230,3562,3576,2415,2756,2667,2101,1860,2270,1991,1891,2072,1758,1665,1858,1764,1772,2480,2314,2296,2101,1592,1445,1591,1668,2113,1807,1600,1711,1548,1395,1506,1557,1431,1394,1720,1684,1578,1567,1539,1356,1389,1603,1766,1888,1916,2169,2415,2104,1801,1515,1491,1627,1622,1424,1479,1666,1795,1688,2044,1915,1948,1797,1705,1893,1898,1717,1797,1746,1794,1856,1531,1497,1187,1728,2109,1756,2023,2237,2240,2051,2302,2856,2080,1895,2537,2208,2076,1965,2497,2708,2530,2671,2968,2648,2414,2766,2959,2648,2265,2212,2221,2529,2942,3287,3537,3132,2752,2809,3199,3185,2986,3141,3483,3650,3276,3189,3543,3869,3562,3319,3362,3112,2952,2988,2588,2647,2587,3112,3079,3077,3065,2919,3228,3422,2385,2104,2833,3129,3121,2874,2272,2126,2688,2206,2396,2814,2632,2633,2634,2951,3296,3028,2513,2715,2688,2529,2698,2906,3076,2855,2676,2307,2178,2168,1912,2148,2564,2236,2869,2875,2279,2170,1982,2127,1792,1548,1507,1537,1887,2260,2408,1988,1675,1653,1790,1822,2281,2439,2531,2555,2598,2452,2131,2168,2197,1869,1712,1655,1471,1539,1554,1830,2350,2142,1783,1719,1880,2314,2417,1927,1912,1578,1451,1412,1909,2242,2261,2071,1836,1676,1792,2113,2161,2061,2907,2989,2165,1957,1773,2293,2209,1787,2289,2990,3075,3250,3273,3093,3552,3479,3717,3033,2456,2235,3017,3542,3526,3193,2557,2322,2554,2892,2973,2837,2685,2998,3040,2286,1444,1337,2086,2294,1902,1864,2149,2441,2275,2127,2393,2635,2127,2355,2764,2842,2712,2412,2335,2151,2019,2229,2478,2249,2215,1944,1981,2054,1855,2026,2110,1956,2075,2167,2221,2242,2872,2913,2477,2511,2408,1743,2188,3594,3872,3105,2619,2202,2025,2676,3396,3323,2455,1884,2469,2499,2336,3098,3726,3278,3078,3038,2888,2575,2497,2630,2845,2375,2041,2285,2840,2622,2208,2339,2548,2688,2921,2646,2303,3029,3386,2596,2599,3043,2802,2238,2750,3488,3328,3250,3352,3111,3006,2974,2968,2990,2978,2828,2744,2796,2958,3197,3142,3086,3595,3989,3806,3841,3698,3483,3429,3244,2688,2607,2910,2836,2790,2955,2890,2770,2862,3158,3973,4583,4048,3962,4168,3962,4104,4589,4404,3870,4039,4236,4028,3905,3395,1687,755,405,499,458,364,367,366,321,305,348,380,375,386,422,494,739,980,1094,1211,1264,1363,1605,1701,1589,1345,1288,1530,1653,1887,1678,1363,1374,2000,2291,1923,1782,1540,1332,1024,1268,1173,914,864,870,979,1206,1186,1269,1479,1199,796,754,735,621,669,717,743,735,757,810,892,1077,1147,1050,1023,1248,1547,1887,1872,3143,3447,3397,3216,2977,2746,2635,2450,2010,1531,1361,1263,1426,1955,2423,2115,1791,1703,1909,1875,1310,1520,2125,2728,3229,3549,3552,2577,2985,2196,1820,2065,2316,2633,2614,2029,1546,1496,1479,1490,1328,1151,991,834,771,753,748,696,644,614,632,679,771,744,716,811,912,943,933,1040,1230,1229,1567,2227,2013,1171,1334,1878,1698,1953,2010,1592,1402,1411,1378,1278,1193,1199,1192,1134,1262,1540,1686,1961,1903,1571,1432,1429,1211,1209,1488,1793,2420,2687,2691,3617,3834,3818,3586,2513,1446,1087,1007,902,809,789,806,716,746,782,784,857,979,735,551,569,547,517,487,465,444,421,400,422,377,367,372,369,358,351,345,342,340,353,393,365,377,383,382,370,376,387,384,369,355,344,339,330,319,330,341,345,363,330,346,373,381,380,366,358,367,374,377,376,366,355,362,371,376,360,379,382,359,390,393,425,502,544,462,353,364,374,365,358,338,294,322,362,304,264,261,266,284,307,333,293,281,315,335,372,386,368,357,367,374,378,362,354,350,347,339,341,350,356,351,345,339,345,378,410,428,412,415,428,420,403,405,417,435,467,586,771,651,631,594,578,610,601,598,558,548,635,656,606,688,916,1045,827,805,985,907,852,914,847,716,663,613,565,523,570,539,476,415,401,407,404,401,398,388,383,370,360,355,348,346,341,342,338,329,321,316,310,311,319,324,322,314,317,316,312,319,327,328,333,342,346,359,367,366,375,374,387,414,437,460,474,467,449,422,399,394,401,413,438,455,448,443,455,471,466,468,470,459,470,500,558,606,653,675,644,661,673,676,659,684,709,667,649,727,713,630,624,504,448,550,614,613,627,577,580,588,553],[2137,2185,2262,2353,2727,2945,2894,2794,2819,3127,3218,3042,2876,3099,3165,3120,3005,3021,3344,2986,2493,2472,2374,2486,2404,2336,2351,2596,2610,1669,1713,2398,2435,2083,1915,2173,3034,3331,3068,3106,3151,2730,2282,2433,2535,2618,1966,1744,1923,2322,2847,2866,2398,2003,1828,1791,2617,2948,2916,2491,2181,2148,1958,2147,2449,2089,2332,3030,3227,2801,1892,1654,2117,2545,2507,3061,3416,2663,2633,2574,2998,3973,3924,3224,3203,3253,2996,2928,2370,1953,1706,1411,2137,3010,2962,2695,2480,2457,2339,1787,2164,2584,2381,2655,3288,3360,3517,4281,3853,2447,2365,2446,2728,2433,2498,3533,4017,3748,3344,2525,2057,2743,3132,2702,2784,2285,2214,3227,3718,3550,3551,3217,3034,3527,4124,3817,2809,3076,3062,3218,3178,2558,2556,2313,2124,2263,2207,2262,2194,1947,2237,2394,2774,2407,2142,2349,2474,1987,1704,1690,1641,1592,1957,2523,2978,2755,2916,2197,2297,2107,2392,2215,2295,2709,3084,3397,3410,3020,2758,2684,2829,2218,2349,3062,2779,2634,3090,2663,2545,3210,2226,2112,3344,3370,3328,2953,2723,3054,3311,2623,2085,2403,2598,2337,2036,1830,2065,2526,2569,2071,2114,2405,2319,2257,2222,2094,2329,2545,2343,2627,2153,1880,1408,1453,1617,1633,1937,2348,2596,2513,2603,3262,3499,3106,3278,3330,3138,3407,3399,3040,2348,1655,1519,1505,1637,1821,2287,2534,2260,1879,2000,2004,1912,1757,1918,1744,1476,1465,1864,2034,1884,1916,2019,2057,2045,2266,2060,1988,2335,2570,2106,1912,2444,2653,2808,3146,3191,3275,2935,2687,3006,3160,3212,2884,2634,2803,2768,2770,3206,3373,2958,2432,2265,1934,1978,2464,2489,2941,3155,3010,2897,2517,2125,2291,2789,2249,2208,2317,2164,1997,2188,2566,2522,2279,1956,2014,2104,1746,1948,2195,2329,1980,2062,2466,2331,2232,2512,2174,1997,1947,2167,2702,2501,1901,1688,1858,1919,1863,2362,2495,2115,1856,1671,1453,1654,2046,2115,2103,1251,684,768,952,1126,1450,1434,1597,2302,2625,2324,1768,1616,2125,2613,2630,2752,2822,2667,2419,2459,2432,2762,2908,2336,2244,2548,2746,2956,2818,2912,3114,3639,4012,3807,2687,1724,1846,2052,2046,1913,2130,3248,3000,2453,2206,2044,2297,2508,2501,2160,1829,1738,1489,1517,1947,1747,1559,1549,2091,1921,1788,1918,1631,1801,1955,2286,2447,2071,1834,2306,2326,2031,2337,2763,3226,3415,2854,2318,1742,1594,1939,1830,1621,1626,2254,2585,2251,1515,1564,2208,2243,1943,1819,1746,2020,2255,2060,1759,1947,2361,2369,2693,2182,2057,2025,1861,1995,2130,1835,1711,1847,2124,2394,2285,2057,1789,1753,1958,1835,2135,2692,2722,2608,2719,2667,2720,1871,1503,1530,1582,1779,1612,1514,1713,1634,1635,1522,1412,1492,1536,1504,1680,1822,1705,2059,1824,1852,2194,1676,1452,1613,2027,1672,1649,1777,1759,1486,1662,1913,2049,2236,2439,2446,2501,2495,1958,1738,1616,1837,1614,1641,1885,2034,2333,2618,2268,1914,2225,2342,3187,2842,3056,3229,3178,2791,2446,2282,1913,1753,2258,2159,1704,2214,2652,2481,2415,2401,1922,1916,2139,2258,2099,2008,2317,2461,2388,2723,2810,2580,2470,2215,2095,2484,2185,1307,1521,2013,1982,2149,2901,3056,2448,2359,2705,2957,2810,2789,2714,2739,2739,2509,2084,1793,2004,2531,1936,1880,2099,2141,2422,2438,2230,2097,1998,2254,2102,1757,1601,1557,1597,1527,1822,1586,1639,1815,1897,2166,2085,1809,1938,2372,2590,2287,1976,1773,1694,1698,1737,1947,2812,3560,3749,3663,2629,1550,1691,2289,2514,2311,2585,2212,1826,1948,2141,2350,1942,1769,1580,1326,1712,1838,1693,1988,1641,1692,2043,2897,2531,2046,2183,2231,2544,2527,1836,1470,1410,1304,1917,1991,2398,1835,1537,1453,1424,1782,1959,1782,1666,1728,1619,1475,1448,1441,1576,1428,1514,1642,1619,1543,1636,1609,1545,1535,1385,1558,1613,1429,1953,1678,1583,1270,1779,1798,1607,1678,1506,1495,1721,1648,1731,1700,2473,2533,2656,2401,1591,1337,1378,1364,1521,2027,2425,1979,1786,1925,1743,1863,1790,1647,1647,1891,1898,1692,1987,1525,1926,2505,2128,1935,2498,1921,1614,1701,1809,2087,1920,1858,1969,1607,1252,1642,1891,1658,1896,3112,3442,2557,2205,2315,2555,2951,3284,2431,1629,1824,2774,3566,3128,2253,1948,2231,2715,3018,3404,3071,1935,1825,3508,3234,2554,2121,2928,2688,2192,2068,2541,2665,2341,2480,2379,2076,2709,2556,2468,2921,2938,3740,3894,3267,2168,1857,2374,2610,2050,1492,2221,3237,3310,3426,3585,3500,3016,1807,1334,1557,2172,2698,1974,1356,1449,1459,1288,1522,1886,1791,1558,1448,1476,1595,1512,1376,1522,1748,1712,1530,1634,1563,1657,1932,1760,1604,1708,1646,1559,1505,1394,1463,1482,1447,1544,1682,1549,1400,1393,1537,1562,1427,1547,1842,1818,1658,1348,1416,1593,1817,1665,1646,1507,1408,1562,1584,1652,1482,1304,1461,1710,1711,1426,1475,1848,2042,2036,1895,1824,1819,2292,2418,2280,3366,3840,3902,2871,2831,3194,2841,2677,2258,2219,2065,1565,1480,1456,1429,1658,2764,4280,4018,3019,3704,3577,2250,1560,1978,2304,1870,1640,1551,1483,1590,1574,1968,2355,2241,2244,1984,1669,1654,1467,1708,2244,1611,1504,1622,1561,1566,1741,1719,1513,1635,1940,1697,1437,1490,1633,1388,1484,1613,1690,1556,1653,1964,2140,1997,1686,1377,1355,1539,1697,1536,1607,1689,1833,1815,2101,2101,2192,2158,1729,1803,1973,1760,1638,1708,1786,1635,1781,1819,1648,1684,2010,2096,2242,2497,2248,1735,2135,3189,2488,2324,2244,2177,2103,2419,2963,2641,2458,2513,2160,1595,1980,2198,2330,2579,2618,2661,2831,3207,3504,3172,2994,2990,2542,2200,2367,2489,3142,3661,3618,3731,3654,3342,3631,3758,3375,3226,3238,3175,2867,2805,3029,3189,3044,3384,3175,3050,2833,2884,3566,3482,2706,2719,3132,2666,2586,2543,2554,2675,2452,2361,2677,2671,2407,2321,2602,3052,2770,2664,2540,2868,2306,2250,2499,2497,2379,2264,2117,1989,2230,2614,2711,2544,2990,3103,3108,3105,3094,2231,1860,2389,2445,2005,1549,1735,2208,2756,2678,1952,1609,1732,1860,1933,2236,2270,2543,3039,2780,2063,1505,1947,1921,1619,1835,1638,1427,1542,1562,1736,2077,1997,1974,1930,1974,2306,2010,1947,2677,1775,1343,1640,2271,2326,1901,2172,2215,1882,1815,1913,2033,2055,2165,2101,1965,1767,1851,2706,2825,2343,2100,2830,3484,3306,3571,3717,3436,3430,3504,2823,2248,2889,3462,3093,3052,2963,2742,2501,2647,2802,2994,3079,2934,2835,2486,1729,1518,2115,2424,2119,1944,2328,3197,3056,2199,1897,2165,2450,2318,2592,2675,2373,2532,2514,2486,1991,1937,2014,2011,1770,2135,2090,1982,2133,1977,1749,1648,1389,1742,2075,2160,1986,1866,2180,2361,2360,2437,2541,2876,3485,3471,3210,2554,2239,2438,3257,3423,2733,2087,2209,3046,2721,2218,2939,2946,2112,2309,2923,2822,2893,2899,2602,2302,2437,2635,2809,2906,2670,2017,1976,2385,2624,2944,2434,2078,2678,2800,2503,2752,3466,3318,2350,2778,3407,3241,3297,3480,3112,2884,2989,2911,2886,2836,2776,2723,2546,2714,3073,3248,3132,3738,3883,3594,3406,3277,3218,3305,3111,2812,2801,2880,2881,2733,2723,2799,2462,2536,2714,3542,4276,4319,4500,4544,4089,3864,4253,4420,3938,3883,4264,4237,4150,4208,3731,2240,993,680,594,468,355,390,362,320,345,366,366,380,390,518,756,897,1030,1278,1390,1479,1728,1677,1566,1335,1509,1792,1771,1977,1698,1240,1204,1769,2567,2339,1955,1676,1544,1192,1226,1334,1116,906,900,1058,1369,1437,1325,1358,1027,752,764,813,702,687,723,718,720,752,773,877,1141,1228,1125,1040,1293,1570,2266,2380,2959,3384,3426,3125,2692,2483,2699,2634,2198,1726,1607,1366,1249,1712,2002,1720,1357,1394,1914,1875,1287,1471,2037,2802,3211,3624,4176,3740,4124,3234,2106,2453,2658,2523,2815,2565,1713,1522,1470,1505,1485,1281,1048,890,785,728,737,673,636,628,641,640,753,732,712,785,985,1235,1237,1202,1419,1452,1344,1739,2297,1736,1218,1670,1854,1828,1830,1621,1354,1289,1224,1193,1180,1158,1180,1095,1143,1399,1709,2048,2140,1755,1509,1645,1452,1307,1504,1980,2858,3266,3242,3834,3962,3934,3796,2877,1700,1216,1023,839,780,768,773,717,715,713,834,1144,1136,798,657,621,568,516,470,458,437,420,390,410,390,361,364,381,354,347,339,341,342,335,353,358,370,383,382,369,367,372,362,355,349,346,348,329,315,326,340,346,355,346,348,362,373,375,368,360,359,351,359,377,375,368,374,380,384,370,360,354,348,395,378,392,441,514,511,424,381,374,349,350,342,296,319,367,331,295,277,265,285,301,326,313,289,315,308,352,384,377,368,377,388,381,369,360,360,352,340,339,352,359,354,355,350,352,376,406,412,401,398,414,422,413,408,415,441,457,636,735,646,623,581,527,560,586,574,565,536,668,742,663,634,882,999,932,812,910,967,863,869,890,702,637,615,550,488,501,502,463,418,400,397,396,393,394,372,384,368,355,350,348,346,341,339,332,318,304,296,300,304,316,322,318,317,316,313,314,320,326,320,322,334,337,351,362,369,375,379,394,412,432,451,463,455,437,421,397,394,397,405,421,437,444,443,450,464,461,453,444,444,458,514,748,790,771,732,672,650,660,660,651,640,663,716,625,670,712,606,605,558,452,475,594,610,611,626,598,562,532],[2260,2186,2002,1936,2480,2966,3030,2536,2558,3037,3015,3029,2920,3213,3266,3165,3099,2955,3128,3385,2951,2394,1972,2137,2627,2479,2549,2322,1941,1709,1758,1998,2269,2233,1963,2021,2850,3076,2819,2802,2605,2050,1942,1815,2039,2080,1854,1664,1826,2024,2375,2388,2352,2534,2449,2304,2634,2901,2731,2022,1766,2100,2450,2756,2802,2285,2631,2932,3064,3168,2408,1775,2016,2524,2552,2925,2810,2545,2475,2174,3273,3372,3123,3365,3551,2944,2430,2382,2155,1716,1589,1555,2624,3344,3672,2886,1701,1571,1840,1909,2362,2491,2381,2618,3138,2910,2884,3110,3182,1959,1879,2019,2205,2208,2672,3235,3448,3327,2902,2021,1905,3042,3419,2717,2610,2448,2712,3480,3762,3335,2907,2689,2967,3472,4129,4253,3492,3394,3364,3351,2720,2212,2133,2146,2248,2215,2618,3255,2535,2077,2358,2633,2518,2096,1973,2034,2127,2045,1957,1903,1843,2225,2610,2973,3425,2679,2155,2003,1863,2142,2591,2608,2633,2783,3131,3389,3054,2533,2277,2491,2813,2691,2931,2685,2275,2296,2764,2619,2398,2652,1892,2640,3790,3745,3519,2755,2164,2448,2828,2518,2316,2414,2371,2292,2150,1945,2004,2019,2131,2043,2003,1927,1851,2001,2308,2371,2188,2310,2271,2686,2519,2010,1889,1887,1617,1436,1683,2113,2024,1912,2391,3162,3565,3304,3577,3391,3489,3559,3139,2730,2365,2170,1723,1590,2062,2537,2397,2663,2847,2675,2579,2185,2274,2264,1812,1643,1721,1642,1589,1747,1870,1943,2090,2069,2147,2176,1760,1646,2029,2451,2146,1671,2209,2567,2303,3050,3909,3786,2968,2929,3450,3234,3146,3121,3197,3223,2858,2855,3187,3094,3177,2364,2048,1797,2257,2317,2067,2408,2950,3169,2924,2211,1929,2684,2600,2454,2357,2603,2521,2635,2434,2178,2093,2118,2004,2057,2073,2205,1770,1785,1730,1867,2733,3439,3021,2439,2300,2554,2942,2532,2289,2427,2137,1763,1706,1730,1743,1819,2120,2250,2163,1874,1227,938,1298,1942,1665,1109,676,760,910,1010,1051,1176,1453,1911,2391,2728,2464,2395,2589,3035,2955,2625,2811,2550,2347,2177,2192,2145,2148,2329,2741,3554,3784,3231,3100,2933,2375,2547,3460,4141,3762,2707,2217,2922,3509,2844,1887,2128,2902,3302,2722,2422,2436,2380,2105,1974,1847,1650,1674,1707,1581,2002,1404,1410,1810,2774,2529,2304,2225,2007,2060,1975,2468,2178,1987,2148,2338,1901,1936,2274,2812,3298,3285,2966,2522,2017,1942,2123,1832,1432,1575,2167,2414,2107,1861,1758,1890,1959,1980,1836,2263,2669,2610,2474,2200,2257,2160,2416,2619,2366,2114,1954,2118,2194,1984,1643,1876,2116,2282,1943,1781,1897,1973,1975,2004,2372,2711,2619,2200,1972,2526,2557,2029,1433,1457,1700,1750,1861,1825,1574,1666,1447,1627,1752,1449,1366,1385,1364,1620,1799,1795,1903,1886,1893,1714,1470,1408,1493,1708,1625,1722,1758,1618,1414,1580,1817,1871,1934,2319,2418,2611,2710,2342,2002,1864,1958,2234,2426,2248,2071,1712,2091,2093,1803,2023,2386,3065,2978,3294,3414,2863,2591,2443,1912,1597,1708,1891,1956,1876,2240,2565,2639,2625,2197,2046,2281,2178,2058,1903,1756,1766,2058,2100,2581,2570,2652,2696,2456,2548,2686,2059,1544,1525,1831,2038,1881,2114,2484,2275,2337,2749,2861,2758,2687,2722,2857,2747,2426,2331,2035,1625,1951,1775,2011,2117,2131,2243,2152,2278,2500,2439,2188,1949,1549,1556,1575,1676,1674,1504,1615,1710,1621,1675,2040,2106,1803,1326,1613,1948,1879,1999,1639,1617,1691,1720,1795,1810,2093,2346,2464,2260,1792,1992,2210,2328,2039,1995,1760,2087,2107,1847,1906,2100,2398,2436,1765,1897,2083,1629,1676,1476,1730,1875,2225,2554,2202,1619,1785,2143,2164,1741,1232,1677,1750,1924,2099,2249,2081,2149,1836,1566,1827,1953,1622,1417,1614,1483,1442,1400,1370,1353,1294,1503,1870,1941,1939,1881,1537,1613,1538,1252,1611,1654,1611,1952,1703,1387,1547,2003,1906,1889,1834,1704,1739,1778,1535,1584,2017,2074,1897,2476,2239,1474,1359,1314,1327,1668,2254,2379,1801,1585,1636,1786,1906,1841,1728,1626,1836,1729,1807,1787,1589,2056,1972,1765,1832,2003,1963,1992,1725,1688,1607,1697,2226,2221,1979,1246,1072,1719,2031,2422,3677,3914,2910,2394,2322,2401,2094,2089,2003,1648,2072,2104,2295,2454,2531,2598,2708,2586,2513,3144,3072,2135,1680,3227,3577,2284,1980,2893,2556,2143,2332,2467,2066,1909,2305,2495,2159,2715,2519,2621,2961,3135,3300,2880,2345,1799,1862,2411,3131,2133,1550,2546,3371,3173,3165,3293,3360,2957,1917,1791,1896,2479,2483,1656,1290,1223,1215,1411,1765,1790,1694,1594,1486,1551,1588,1448,1380,1365,1477,1704,1580,1442,1459,1650,1880,2010,1767,1455,1441,1444,1403,1294,1374,1465,1400,1571,1598,1444,1508,1460,1390,1410,1332,1504,1870,1614,1469,1687,1814,1852,1692,1582,1561,1447,1501,1460,1450,1566,1438,1372,1661,1585,1577,1606,1759,2014,2266,2089,1800,1773,1881,2331,2263,2353,3305,3716,3548,2653,2244,2084,1848,1929,2002,2074,1942,1591,1449,1423,1405,1844,2854,4153,4310,3807,4095,3861,2575,2353,2564,2625,1979,1683,1548,1482,1805,1883,2119,2106,1816,1742,1575,1515,1577,1477,1481,1717,1797,1668,1660,1706,1688,1629,1523,1676,2159,2057,1558,1600,1645,1470,1371,1230,1346,1355,1266,2212,2553,1836,1890,1673,1407,1382,1887,1904,1577,1490,1546,1528,1833,2360,2316,2307,2152,2054,1957,2207,2008,1751,1604,1570,1489,1678,1732,1955,1978,2036,2013,2118,2298,2385,2390,2808,3551,2675,2155,1670,1481,1355,2183,2564,2293,2519,2243,1853,1780,2342,2626,3113,3339,3123,2870,2738,2976,3329,3172,2825,2276,2150,2162,2447,2950,3248,3626,3662,3403,3190,3495,3969,4069,3768,3484,3185,3405,3156,2777,3272,3265,3207,3226,3002,2785,2243,2136,2735,2928,2939,3211,3522,3159,2969,2748,2938,2363,2181,2643,2622,2967,2923,2576,2420,2770,2328,2601,2563,2271,2001,2152,2430,2483,2062,1837,2251,2912,3377,2923,2793,3073,3661,4189,3813,3074,2601,2480,2562,2291,2079,1886,1769,1679,1874,2333,2334,1708,1710,1908,1832,1853,1942,1981,2244,2767,2474,1887,1818,2270,1717,1489,1577,1754,1713,1783,1889,1916,1838,2075,2081,1838,1714,1893,2112,1971,2311,1559,1652,2176,2422,2389,1903,1910,1941,1780,1799,2054,2266,2160,2242,2209,2142,1808,1949,2419,2886,2761,2241,2113,2677,3184,3346,3451,3284,3225,2778,2446,2823,3414,3212,2779,2685,2712,2688,2534,2613,2673,2921,3019,2967,2443,1974,2245,2649,2377,2052,2249,2809,3322,3627,3128,2385,2011,2221,2607,2334,1913,2114,2235,2355,2248,2308,2089,2113,2093,1772,1828,2279,2312,2221,2011,1903,1929,2113,2059,2344,2272,2264,2060,1760,1887,2273,2555,2694,2787,3029,3203,3089,3549,2887,2511,3044,3495,2819,2450,2953,3397,3447,2931,2861,2561,2358,2106,2532,2521,2400,2899,3085,2686,2259,2366,2640,2403,2395,2884,2511,2457,3217,3260,3345,2640,2691,2965,2379,2136,2422,3149,3281,2423,2790,3241,3172,3203,3367,3122,2943,2969,2854,2709,2762,2963,3090,2831,2956,3232,3269,3154,3564,3479,3416,3436,3183,3077,3331,3278,3154,3118,2880,2924,2939,2958,2823,2779,2909,2900,3493,3950,3891,3957,4078,4085,4256,4179,4520,4509,4328,4311,4328,4392,4464,4564,4289,3220,1805,840,552,385,366,379,345,322,333,363,387,400,550,846,928,968,1284,1526,1628,1772,1706,1667,1451,2098,2736,2405,2105,1716,1273,1062,1412,2552,2857,2238,1810,1715,1434,1284,1443,1388,1033,972,1126,1462,1560,1391,1253,987,847,837,897,800,711,737,750,741,761,786,874,1170,1260,1108,1037,1267,1608,2343,2960,3022,2975,3195,3049,2754,2436,2564,2714,2356,1999,1838,1556,1272,1415,1720,1491,1202,1315,1591,1367,1231,1433,1887,2758,3480,3319,3879,4865,5260,4209,2774,3090,3432,2725,2739,2973,2049,1547,1476,1488,1523,1415,1153,948,861,746,728,670,664,665,668,650,750,755,744,770,1051,1584,1706,1454,1536,1591,1493,1474,2221,2214,1401,1311,1885,2048,1733,1621,1392,1192,1126,1128,1122,1097,1188,1124,1090,1271,1538,1923,2191,1893,1621,1814,1608,1421,1577,2459,3385,3839,3689,3710,3915,3862,3779,3397,2365,1449,1134,861,767,763,759,782,760,711,875,1009,723,567,514,533,532,506,464,455,434,416,399,386,381,359,356,395,356,334,338,354,348,332,330,347,361,373,370,356,352,350,345,343,344,343,344,337,335,341,340,338,345,348,353,352,366,376,376,372,356,343,349,369,375,370,380,387,391,378,364,343,330,372,379,393,412,450,506,485,396,366,351,351,325,293,320,352,334,297,277,277,292,282,289,342,298,312,311,340,366,381,386,395,395,387,378,367,361,362,353,348,356,359,355,353,353,363,380,405,412,392,388,404,420,416,416,412,441,458,633,675,613,600,584,518,527,550,547,576,505,682,800,716,760,910,933,965,874,929,1063,987,866,907,741,641,595,525,466,451,462,450,410,394,388,387,396,396,350,377,369,349,340,335,336,336,332,319,306,292,288,291,303,310,314,311,312,309,313,315,317,317,316,318,327,336,344,352,365,377,393,414,431,437,437,441,440,432,426,412,409,405,399,405,414,427,435,436,438,435,443,408,413,463,542,860,913,850,753,673,648,645,641,642,637,607,709,631,601,673,614,571,577,501,446,510,578,579,660,621,503,507],[2145,2014,1845,1961,2419,2811,2841,2212,2351,2733,2958,3031,3016,3021,3021,3083,3094,3095,3000,3205,3140,2942,2910,3103,3204,2863,2439,2004,1951,1990,1663,1301,2051,2123,1754,1648,2507,3165,2737,2240,1964,2041,1920,1668,1682,1818,1708,1698,2010,2204,2221,1963,2104,2464,2374,2750,3054,2861,2318,1805,1807,1898,2591,2895,2113,1940,2219,2407,2521,2705,2658,2377,2474,2552,2395,2448,2167,2015,2084,2513,3366,3174,3090,3286,2753,2303,2411,2386,2056,1917,1994,2019,3121,3002,2850,2347,1565,1308,1196,1603,1999,2183,2105,2733,2897,2299,2706,3168,2820,1789,1770,1635,1581,2254,2627,2746,3160,2964,2613,2257,2396,2754,2966,3320,2968,2486,2888,3730,4076,3405,2604,2268,2475,2906,3174,3806,3780,3801,3541,2683,2187,2072,2030,2271,2286,2247,2822,3053,2422,2159,2375,1969,1371,1622,1826,1478,1560,1920,2266,2265,2515,2669,2559,2789,3359,2910,2574,2138,1895,2023,2310,2664,2910,2988,3152,3166,2798,2326,2498,2618,2124,2495,2701,2442,2600,2412,2313,2129,2392,2579,2176,3030,3417,3217,3460,3553,3400,2938,2186,1863,2498,2858,2558,2414,2610,2042,1860,1872,1898,2016,2020,1948,2002,1986,2149,2124,2287,2515,2383,2417,2199,1628,1755,1931,1649,1872,2540,2396,1924,2614,2978,3029,3505,3119,3175,3265,3329,3430,3306,2641,2473,2645,2066,1952,2078,2478,2416,3046,3036,2601,2549,2267,2634,2569,1844,1791,1550,1589,1704,1713,1898,2054,2201,2144,2054,1847,1631,1905,1978,2216,2667,2517,2456,2600,2088,2427,2906,2853,2254,2632,2997,2750,2918,3252,3252,2747,2214,2226,2656,2847,2874,2181,2132,1909,2020,2416,2454,2440,2702,2753,2842,2843,2861,3018,2578,2742,2655,2565,2442,2183,2047,2125,2254,2416,2388,2420,2512,2067,1774,1394,1557,2397,2381,2287,2510,2546,3030,3628,4197,3635,3133,2588,1852,1641,1876,2080,1896,1735,1794,1724,1931,1770,1084,1592,2122,1744,1005,624,773,943,940,935,1036,1131,1252,1764,2120,2265,2095,2306,2790,2885,2711,2485,2364,2223,2191,2157,2002,2201,2791,2977,3420,3871,3742,3459,3407,3207,2542,2390,3212,3928,3637,3481,3121,3103,3219,2899,2534,2958,3316,3084,2773,2866,2922,2519,1922,2133,1978,1699,1928,2190,2085,1991,1449,1387,2339,3631,3915,3281,2608,2317,1969,2062,2635,2164,1982,2302,2365,2093,2116,2135,2348,2602,2918,2450,2230,2030,1761,1941,1796,1656,1870,2222,1991,1713,1873,2150,1936,1974,2336,2633,2529,2488,2238,2322,2014,1680,1686,1750,2026,2290,2028,1996,2348,2087,1714,1897,2063,2460,2270,1647,1614,1864,1860,1791,2098,2786,2626,2019,1808,2225,2688,2436,1874,1727,1919,1897,1675,1741,2128,1977,1642,1395,1596,1622,1339,1265,1316,1394,1548,1569,1597,1728,2032,1811,1740,1711,1645,1654,1548,1793,1813,1710,1748,1830,1889,1768,1966,2040,2315,1981,2136,2359,2564,2438,2294,1904,1942,2244,2425,1881,1780,2383,2183,2054,2180,2496,2656,2955,3134,2955,2683,2268,2317,1998,1631,1795,1579,1916,2120,3033,2934,2489,2489,1927,1802,2161,2300,2568,2670,1713,1622,1768,1805,2033,2265,2363,2333,2470,2438,2139,2046,2034,1660,1489,2286,2658,2535,2284,2178,2751,2930,2753,2780,2655,2584,2678,2543,2187,2443,2884,2437,2428,2220,2175,2198,2082,2031,2151,2338,2495,2484,1747,1727,1574,1447,1434,1818,1628,1606,1649,1542,1473,1483,1698,1795,1799,1023,1709,1951,1934,1952,1701,2231,2126,2172,2343,1585,1554,1267,1843,2320,1967,1806,1827,1866,1844,1556,1328,1594,1632,1516,1688,1773,1951,2123,1698,1458,1566,1556,1529,1350,1591,1554,1883,2696,2267,1611,1809,2201,2243,1858,1394,1672,1553,1665,2290,2520,2598,2776,2447,1816,1751,1808,1727,1465,1516,1422,1389,1417,1388,1307,1271,1558,1833,1870,2015,1772,1515,2018,1967,1604,1605,1550,1561,1610,1632,1551,1763,2059,1715,1535,1714,1758,1667,1456,1386,1916,2179,1826,1720,1860,1700,1554,1597,1450,1417,2048,2459,2122,1975,1896,2071,1998,1581,1678,1683,1618,1943,1762,2150,1596,1808,2083,2293,2064,1784,1710,1904,2222,1977,1864,1567,1682,1834,1831,1688,1200,951,1720,2103,2222,3162,3852,3179,2464,1795,1930,2159,1909,1586,1700,2475,2242,2114,2420,2676,2873,2834,2454,2363,2890,2666,2092,1871,2665,2758,1981,2325,2801,2484,2467,2323,2392,1940,2098,2621,3064,2974,3278,3134,2982,2805,2553,2285,2056,1958,1968,1858,2169,2685,1940,1625,2585,3327,2810,2597,2931,3261,2958,2046,2678,2701,2570,1945,1454,1244,1181,1364,1774,1836,1575,1600,1504,1428,1456,1405,1482,1456,1606,2203,2077,1715,1666,1660,1682,1582,1508,1447,1390,1384,1297,1371,1450,1594,2413,1981,1404,1476,1428,1694,1484,1448,1484,1377,1254,1546,1381,1332,1457,1560,1753,1660,1406,1365,1378,1661,1734,1848,1989,1449,1459,1509,1444,1487,1709,1858,1684,1608,1666,1779,1782,1852,2026,2125,2654,3050,2562,2023,2013,1755,1592,2098,2042,1719,1870,2120,1560,1533,1760,1604,1666,2248,2996,3720,3946,3841,3746,3295,2908,2162,1610,1651,1830,2003,2150,2498,2424,2183,1965,1685,1989,1765,1460,1631,1590,1593,1739,1832,1638,1798,1810,1604,1676,1799,1899,2101,2041,1803,1866,1685,1401,1358,1448,1567,1520,2128,3449,3300,1974,1858,1616,1539,1482,2089,1950,1555,1491,1560,1440,1583,1636,1811,1964,1837,2276,2495,2632,2664,1991,1439,1331,1361,1815,2293,2001,1757,1976,1718,1771,1870,2226,2975,2943,2620,2378,1897,1514,1307,1533,2041,2179,2077,2232,2320,1672,1806,2212,2855,3296,3316,2976,2898,2932,2775,2634,1863,1298,1658,2404,2094,2120,2874,3328,3518,3375,2921,2855,3298,3560,4058,3818,3654,3254,3056,3064,2928,3248,3270,3000,3061,2900,2463,2199,2326,2462,2814,3330,3359,3779,3474,2921,2764,2832,2743,2912,3051,2763,3060,2878,2531,2199,2649,2939,2585,2301,2543,2417,2264,2568,2855,2258,2029,2192,3212,3946,2930,2014,3067,4070,4241,3652,2533,2486,2818,2755,2271,2235,2264,2183,1872,1992,2128,1972,1680,1786,1809,1722,1668,1610,1927,2321,2830,2417,2044,2010,1715,1542,1637,1810,1998,2150,2324,1956,1984,2575,3104,2190,1736,1745,1788,1919,1781,1812,1820,1857,2009,2131,2245,1855,1688,1778,1595,1838,2237,2136,1956,2275,2464,2262,1918,1810,2320,2712,2069,2480,2441,2160,2323,3106,3692,3653,3081,2626,2865,3377,3320,3012,2827,2720,2628,2590,2561,2741,2858,2845,2768,2609,2203,2608,2820,2192,1696,2150,2963,3052,3006,3150,3469,3235,2481,2663,3168,2680,2394,2468,2364,2336,2502,2493,2245,2173,2358,2270,1935,1931,2097,1889,1938,2046,2335,2584,2600,2853,2552,2046,1934,2220,2476,2664,2978,3130,3181,3382,3342,3082,3275,2536,1974,2278,2204,2292,3159,3571,3675,3295,2791,2714,2231,2634,2781,2458,2029,2157,2495,2700,2652,2434,2591,2966,2785,2511,2557,2518,2622,2859,2853,3101,2721,2886,3145,2398,2228,2852,3065,3030,2336,2019,2511,3170,3339,3266,3097,2931,2774,2687,2665,2790,2877,3078,2987,3075,3244,3328,3291,3486,3507,3305,3328,3292,3041,3056,2802,3210,3433,2972,2938,2885,2409,2086,2570,3052,2982,3278,3587,3422,3462,3695,3840,4207,4317,4536,4509,4328,4400,4568,4568,4453,4519,4795,4594,3140,1180,519,393,361,378,364,312,305,352,385,414,657,1062,1014,979,1224,1521,1684,1857,1851,1661,1600,2230,2551,2024,1957,1617,1250,1028,1219,2227,3239,2712,1890,1719,1617,1484,1521,1670,1294,1111,1202,1560,1657,1480,1248,1023,908,871,918,897,783,762,784,784,855,860,907,1109,1280,1171,1081,1279,1548,2055,2815,2911,2746,3050,2979,2753,2524,2424,2524,2444,2341,2181,1728,1331,1281,1416,1242,1110,1179,1264,1290,1247,1512,1803,2541,3552,3459,3441,4593,5548,4463,3189,3274,3637,2973,2444,2764,2314,1637,1471,1466,1487,1489,1278,1006,919,869,744,680,655,650,675,671,703,762,830,771,910,1501,1874,1620,1619,1628,1650,1441,2003,2475,1840,1169,1657,2198,1735,1538,1422,1180,1071,1065,1070,1063,1150,1124,1127,1273,1399,1616,1946,1802,1637,1718,1727,1512,1649,2907,3906,3995,3689,3349,3581,3927,3892,3779,2984,1787,1235,922,764,758,756,758,770,727,777,869,625,495,439,490,500,486,461,445,423,411,401,386,371,364,370,392,351,323,333,357,355,342,338,346,354,357,359,349,343,336,334,332,329,331,332,339,349,350,342,338,347,345,346,351,363,376,379,365,354,354,359,361,361,370,381,383,383,376,357,344,333,343,360,379,387,406,470,507,406,372,360,362,331,296,307,339,332,285,263,276,292,280,308,414,346,269,311,328,354,374,387,389,382,375,367,371,368,365,362,355,360,359,355,348,353,373,385,405,409,394,389,404,421,414,410,406,411,484,584,636,630,609,579,521,519,516,515,549,521,586,739,740,938,1072,871,1008,897,838,985,1092,939,882,792,666,585,527,454,438,460,447,417,396,388,387,387,391,354,357,352,339,336,337,335,333,330,313,305,291,293,296,301,307,309,306,307,311,313,318,316,310,309,316,318,331,334,342,360,374,396,414,422,423,424,427,434,433,432,422,417,403,391,395,410,423,422,418,408,403,433,411,407,489,538,727,863,829,707,657,648,651,668,658,649,590,659,636,560,609,640,619,589,547,505,429,521,537,605,600,474,463],[1876,2054,2195,2099,2308,2455,2405,2551,2553,2621,2803,2891,2951,3010,3099,3078,2946,3029,2987,3109,3044,3153,3144,3105,3204,3101,2709,2350,2127,2321,2334,1832,2332,2163,1823,1869,2633,2920,2458,2017,2042,2101,1916,1947,1926,1612,1355,1614,1865,2336,2211,1721,2231,2407,2377,2505,2647,2454,1714,1526,1904,2076,2655,2466,2390,2477,2394,2700,3208,3345,2806,2163,1951,2186,2421,2409,2251,1957,2370,2800,2875,2513,2310,2042,1584,2053,2543,2461,2195,2182,2342,2512,2670,2250,2388,2635,2210,1881,1615,1656,1575,1782,1830,2664,2330,2355,2859,3244,2649,1716,1762,1665,1937,3043,3439,3581,3220,2939,2727,2492,2414,2704,3241,3871,3408,2303,2565,3863,3721,3019,2522,2186,2154,2284,2335,3230,3450,3018,2786,2177,2031,2002,2148,2295,2424,2333,2247,2103,1846,1941,1826,1582,1776,1876,1713,1293,1031,1600,2150,2125,2391,2511,2293,2823,3334,2985,2427,1730,1721,1910,2654,2732,2998,3084,3101,2877,2473,2502,2559,1813,1387,1888,1898,1953,2486,2449,2068,1962,2454,2333,2187,2890,3178,3033,3095,3540,3781,3473,3271,2897,3198,2885,2191,2790,2889,2089,1623,1617,1794,1949,1920,1786,1846,2023,2019,2024,2446,2685,2644,2118,1492,1416,1527,1606,1782,2364,2457,2057,1888,2473,3074,3095,3140,2877,2630,2694,2988,3254,3207,2478,1843,2175,1843,1927,1825,1785,2087,2591,2730,2645,2345,2384,2326,1954,1654,1783,1545,1702,1860,1856,2045,2252,2523,2442,1999,1446,1578,1740,1510,1989,2592,2573,2474,2532,2300,2403,2469,2463,2427,2565,2673,2667,2543,2654,2717,2160,1770,1623,1844,2187,2187,2266,2377,2531,2735,2575,2586,2484,2345,2390,2618,2718,2908,3020,2763,2610,2544,2160,1785,1818,2809,2824,2392,2084,1937,1985,2335,1839,1603,1389,1965,2800,2512,2160,2107,2741,3332,3318,3560,3452,2850,2565,2040,1878,2349,2534,2138,1782,1681,1668,1961,2239,1754,1797,1332,853,766,893,1025,1023,1004,1013,1062,1115,1256,1774,1821,1882,1477,1447,2001,2204,2165,2133,2106,2095,1987,1984,2126,3139,4049,3610,3253,3756,4029,3610,3375,3415,2836,2193,2831,3617,3926,4185,3905,3793,3607,3028,2916,3094,3284,3274,2858,2225,1990,1859,1778,2280,1934,1980,2206,1934,1930,1929,1729,1691,2272,2989,3198,3356,3272,2530,2246,2291,2587,2272,2092,2164,2020,2333,2589,2364,2136,2126,2297,2123,2210,1968,1352,1514,1698,1900,2144,1923,1516,1545,1688,2101,1830,1918,1982,2612,2415,2407,2295,1907,1721,1669,1733,1414,1677,2066,1942,2090,2056,1721,1818,2004,2396,2756,2427,2073,2128,1587,1415,1674,1945,2348,2000,1447,2040,2823,2530,1907,1881,2115,2417,2093,1657,1866,2186,2099,1660,1446,1423,1394,1328,1405,1414,1491,1488,1610,1499,1734,1812,1547,1621,1548,1556,1783,1707,1826,1958,1879,1884,1967,2091,1748,1791,2181,2486,1906,1754,1913,2124,2326,2244,1804,1603,2023,2632,2005,2112,2631,2693,2539,2298,2323,2680,2719,2017,1852,2093,2122,2908,2620,1770,1779,1710,1888,2270,2942,2512,2036,1768,1614,1592,1577,1782,2095,1852,1653,1877,1853,2324,2274,1735,1280,1800,2713,2215,2016,2544,2928,2566,2220,2635,3074,3296,2846,2172,2465,2752,2719,2808,2690,2600,2298,1821,1902,2522,2737,2360,2410,2548,2232,2035,2345,2274,2197,1952,1619,1665,1665,1746,1542,1506,1258,1418,1797,1862,1655,1448,1287,1490,1699,1586,1547,1336,1958,1930,1913,1833,1491,1858,2077,2177,2129,1786,2073,1897,2558,2762,2203,1736,1465,1665,1833,1713,1477,1414,1455,1554,1482,1390,1460,1649,1439,1267,1315,1539,1586,1545,1677,1859,2535,2596,2145,1885,1916,2344,2409,2008,1694,1636,1605,1960,2666,2987,3463,3670,3190,2203,2143,1882,1827,1561,1289,1272,1368,1487,1595,1566,1494,1542,1790,2384,1968,1637,1406,1994,2103,1647,1434,1452,1437,1497,1619,1651,1694,1720,1699,1640,1675,1781,1701,1483,1629,1802,1757,1890,1813,1740,1700,1700,2088,1545,1287,1923,2344,2123,2140,1908,1666,1738,1772,1680,1723,1914,1917,1815,1760,1560,1593,2356,2798,2076,1935,1997,1943,2102,1817,1988,1672,1576,1548,1775,1766,1368,1554,1947,2076,1808,1943,2548,2793,2166,1748,1981,2605,2234,1620,2196,2908,2697,2285,2052,2510,2784,2617,2135,2097,2714,2624,2562,2164,1826,2079,2541,2724,2390,2087,2763,2624,2511,2963,2751,3071,3444,3212,3296,3221,2585,2320,1873,1720,1829,1925,2265,2167,2184,2258,2091,2143,3031,3427,2622,2393,2811,3242,3066,2054,2828,3048,2394,1511,1319,1376,1404,1587,1732,1634,1361,1384,1528,1540,1466,1285,1412,1529,1795,2143,1824,1593,1674,1738,1708,1567,1549,1510,1486,1383,1347,1360,1375,1692,2547,2163,1426,1618,1594,1725,1594,1376,1366,1378,1266,1392,1404,1386,1419,1523,1679,1631,1413,1370,1376,1537,1543,1707,1822,1478,1400,1379,1395,1530,1765,1773,1451,1491,1489,1413,1501,1655,2010,2141,2614,3077,2284,1621,2031,1759,1505,1750,1746,1681,1627,1804,1531,1656,1771,1691,1721,1806,2209,2877,3471,3433,3415,3376,2477,1622,1444,1642,1772,1930,2097,2221,2280,2182,1961,1727,2208,1909,1734,1788,1550,1678,1820,1683,1522,1600,1682,1550,1734,1917,1678,1807,2041,1714,1499,1579,1499,1474,1637,1735,2314,3344,3417,2906,2221,2008,1589,1460,1508,1698,1819,1670,1678,1622,1499,1532,1856,2515,1885,1845,2165,2068,2105,2225,1759,1515,1481,1619,2104,2198,1714,1616,1752,1644,1539,1631,1798,2590,2814,2674,2436,1933,1721,1498,2145,2237,2377,2457,2917,2663,1590,1486,2052,2762,3383,3569,3614,3473,2633,2533,2359,1871,1594,1906,2136,1956,2119,2406,2897,3167,3017,3130,3261,2863,3237,3760,3614,3526,3417,3146,3032,2939,3238,3090,2662,2943,3028,2543,2320,2370,2352,2571,3076,3230,3548,3352,2930,3076,3061,3108,3339,3393,3105,3124,2385,2201,2498,2981,2833,2382,2797,2901,2777,2683,2954,3243,2762,2386,1901,2190,2870,2585,1635,2134,2772,2526,2328,2069,2342,2345,2281,2016,2042,2149,2339,2303,1919,2097,2385,2036,2115,2181,1951,1588,1494,1838,2286,2744,2643,2173,1978,1750,1671,1893,1886,2182,2084,1874,1723,1631,2382,3251,2336,1912,2091,1952,1847,1605,1525,1579,1755,1693,1755,1980,1953,1933,1999,2243,2398,2488,2470,2281,2076,2078,2149,2424,1981,2049,1952,2366,2309,2481,2483,2148,2359,3142,3465,2791,2537,2482,2830,3052,3000,3043,2981,2735,2598,2766,2976,3065,2944,2843,2739,2473,2575,2206,1832,1572,2876,3686,3118,2945,3379,3629,3487,2876,2864,3045,3388,3130,2812,3101,3298,3364,2998,2603,2648,2806,2758,1954,1891,2308,1965,1661,1924,2286,2387,2433,2588,2510,2122,2115,2142,2304,2957,3329,3378,3161,3117,3312,2975,2952,2667,2265,1933,1842,2509,3325,3258,3328,2718,2707,2041,2048,2985,3187,2683,2234,1985,2048,2708,2917,2656,2617,2539,2572,2690,2552,2850,3015,2750,2682,2665,2579,2544,2567,2353,2371,3079,3117,2613,2202,1856,2436,3222,3414,3242,2938,2919,2810,2894,2924,3041,3056,3209,3110,3121,3159,3288,3543,3600,3318,3057,2867,3119,3198,2802,2590,3231,3891,3542,3019,2821,2653,2386,2379,3173,3373,3226,3238,3112,3145,3773,3982,4356,4444,4332,4192,3935,3970,4416,4372,4454,4563,4523,4520,3194,1253,532,419,373,378,405,374,317,334,411,490,926,1273,1343,1185,1213,1536,1862,2348,2618,2225,2092,2841,2602,1472,1477,1485,1247,1046,1151,1942,3340,3377,2206,1713,1745,1885,1861,1931,1626,1315,1331,1734,1791,1502,1218,1086,1006,884,918,967,862,815,849,879,948,957,877,1051,1374,1322,1193,1373,1545,1731,2182,2415,2525,2867,2980,2700,2610,2441,2376,2360,2367,2400,1875,1457,1284,1374,1272,1105,1156,1199,1231,1354,1589,1595,1980,2918,3591,3591,3701,4720,4389,3527,2977,3070,3076,2521,2434,2455,1873,1499,1455,1427,1481,1388,1106,949,965,859,749,690,706,775,827,758,797,946,845,873,1296,1708,1827,1783,1692,1630,1433,1795,2600,2336,1354,1443,2157,1860,1520,1360,1181,1051,1010,1004,1033,1093,1137,1170,1277,1419,1341,1585,1612,1512,1516,1748,1721,1974,3313,4109,3970,3790,3297,3299,3862,4273,4172,3417,2236,1360,889,718,765,777,772,747,717,635,540,525,481,444,439,458,457,442,427,422,415,401,387,373,353,373,382,371,325,317,354,362,349,336,343,350,343,344,343,336,332,324,320,326,326,328,334,344,341,339,346,344,351,345,342,356,374,372,351,351,362,368,352,347,361,369,373,372,363,352,339,334,335,337,342,347,372,431,540,467,388,373,396,370,317,297,326,323,278,264,272,281,279,361,509,383,305,305,310,340,358,369,366,360,357,363,371,371,358,377,371,357,359,358,352,354,367,385,393,393,390,398,416,435,434,418,412,431,506,575,630,663,611,562,534,509,517,516,528,501,500,692,802,1001,1338,1062,1015,928,745,839,1054,953,826,791,697,587,561,465,438,474,451,423,387,372,382,374,369,359,353,346,340,329,333,331,330,328,313,300,289,290,295,299,305,300,297,306,311,313,315,315,305,302,303,304,315,321,332,350,363,374,382,388,397,412,419,432,433,426,416,404,390,384,393,405,414,413,415,412,419,436,455,439,504,569,671,813,828,720,681,646,673,704,670,645,568,597,626,551,550,605,619,589,548,549,410,455,465,521,537,466,424],[2316,2520,2434,2390,2886,2810,2671,2653,2398,2272,2542,2933,2999,3010,2699,2691,2801,2831,2939,3096,2966,2986,3073,3140,3273,3194,2814,2360,2063,2601,2786,2443,2341,2187,1942,2126,2675,2466,2030,1897,1833,1624,1657,2174,2320,1442,1422,2344,2037,1809,1722,1963,2315,2135,2411,2132,2277,2176,1606,1569,2106,2531,2818,2457,2289,2360,2508,2935,3364,3062,2266,1962,1686,2018,2174,2358,2490,2492,2600,2668,2546,2260,2250,1964,2000,2522,2424,2225,2366,1685,1536,2176,3176,3432,3081,2584,2121,2411,2285,2030,2236,2369,2103,2335,2337,2600,2522,2470,2094,1731,1756,1971,2375,3563,3772,3026,2740,2456,3050,3533,3300,3427,3842,4452,4152,2844,3090,3305,2661,2591,2462,2268,2470,2706,2935,3487,3189,2484,2482,2387,2336,2874,3196,2663,2573,2260,1857,1778,1937,2251,2246,2249,2491,2170,1787,1186,1179,1545,1871,2266,2466,2331,2186,2590,2665,2364,2320,1910,2214,2436,2900,3196,3338,3087,2310,1756,1771,2024,2228,1870,1714,1799,1620,2025,2789,2665,2232,2137,2546,2254,2286,2575,2471,2777,3106,3369,4003,3827,3580,3333,3318,2854,2674,2732,2510,1901,1625,1836,1839,1867,1715,1643,1638,1915,1916,1932,2332,2447,2374,1758,1463,1590,1572,1634,2244,2361,2018,2014,2361,2568,2832,2851,2731,2765,2706,2926,3538,3671,3372,2462,1366,1450,1754,2114,1994,1753,1821,1853,2390,2530,2205,2183,2450,2124,1717,1656,1602,1743,2082,2018,1897,2269,2644,2683,2343,1699,1560,1643,2046,2389,2454,2365,2546,2452,2201,2167,2467,3139,3041,2475,2432,2807,2828,3100,2690,1969,1618,1483,1835,2264,2258,2356,2299,2501,2539,2385,2458,2371,2532,2520,2569,2531,2762,2689,2402,2443,2293,1953,2006,2070,3295,2864,2264,2199,2061,2175,2393,2398,2282,2237,2373,2544,2481,2505,2175,2824,3231,3451,3164,2717,2541,2273,1964,2122,2416,2290,2036,2128,1684,1569,1733,2164,1615,1012,802,919,990,925,920,1019,1071,1049,1168,1583,1834,1757,1779,1995,1700,1230,1265,1820,2072,2072,2047,1947,2112,2731,3095,3646,4102,3638,3408,4037,4232,3638,2788,2691,2482,2544,2966,3497,3399,3498,3687,4201,4392,4176,3532,3162,3262,3362,3020,1775,1167,1140,1844,2308,2116,1893,2022,2160,1836,1846,2298,2707,2774,2369,2351,2899,2576,2273,2613,2475,2098,2237,2399,2092,1887,1996,2106,2315,2172,2288,2130,2105,2317,1973,1483,1351,1554,1919,2048,1635,1150,1683,2249,2259,1861,1923,1928,1952,2175,2835,2646,1791,1871,1842,2222,2143,1979,1827,1823,2025,1730,1753,2020,2256,2604,2928,2902,2692,2392,1636,2019,2279,2438,3090,2531,1713,1954,2343,2082,2035,2223,2414,2333,1964,1694,1575,1857,1952,1444,1270,1526,1526,1372,1379,1451,1760,1414,1609,1726,1710,1544,1487,1473,1108,1359,1700,1497,1660,1742,1638,2022,2718,2698,2022,2154,2752,2455,2126,2119,1900,2013,2098,2118,1963,2060,2563,2438,2393,2643,3033,2956,2416,2112,2408,2609,2293,1689,1924,2357,2675,3244,2374,1729,1894,2032,2048,2194,2081,2115,2183,2020,2231,2258,1847,1899,1848,1599,1663,1806,1959,2077,2678,2396,1862,2193,2507,1602,1614,2516,3706,3570,2536,2570,2630,2625,2548,1868,1736,2061,2454,2532,2461,2667,2121,1818,1912,1977,1761,1667,1953,2180,2025,2115,2640,2437,1967,1553,1533,1570,1839,1883,1638,1651,1551,1666,1900,1892,1720,1396,1633,2010,2032,1676,1631,1809,2117,1859,1635,1725,1540,1516,1647,1615,1584,2110,2204,1980,2449,2963,2786,1867,1576,1874,1839,1794,1536,1570,1519,1636,1597,1720,1658,1683,1569,1504,1510,1628,1928,1781,2083,2360,2413,2536,2445,2373,2521,2767,2471,2050,1783,1659,1583,1902,2365,2452,2995,3119,2588,1994,1987,2066,1907,1620,1441,1505,1497,1533,1642,1634,1472,1465,1651,1955,2112,1798,1553,2083,1994,1610,1614,1531,1664,1669,1503,1543,1512,1382,1493,1585,1492,1406,1410,1486,1512,1664,1928,2174,1917,2051,1984,1652,1672,1357,1231,1872,2354,1951,1856,1798,1565,1571,1502,1446,1705,1887,1982,1936,1750,1595,1606,2161,2308,2204,2164,1884,2098,1814,1400,1832,1750,1636,1635,1935,2055,1831,2108,2053,2102,1871,1631,1865,2285,2064,1753,1821,2260,2192,1914,2537,2869,2155,1591,2088,2701,2873,2293,1828,2149,2676,2869,2728,2119,1588,1948,2605,2611,2387,2441,2586,1938,1823,2886,3064,2979,3032,2845,2317,2258,2150,2063,1586,1765,1570,2059,2642,2741,2540,2214,2341,2741,3231,3000,2494,2244,2456,2648,2788,2356,2770,3108,2217,1106,1110,1556,1505,1397,1440,1464,1551,1773,1832,1686,1634,1478,1628,1730,1548,1514,1489,1447,1608,1560,1493,1542,1572,1518,1571,1495,1389,1362,1355,1560,1817,1677,1396,1588,1606,1626,1362,1234,1334,1494,1467,1409,1553,1835,1590,1382,1377,1699,1544,1550,1475,1455,1473,1842,1842,1395,1311,1545,1684,1417,1448,1704,1611,1638,1420,1373,1518,1612,1990,2138,2336,2590,2220,1617,1625,1533,1476,1432,1516,1509,1562,1538,1490,1515,1500,1769,1898,2056,2424,2656,2635,3078,3106,2894,2076,1733,1950,1994,1961,2030,2066,2143,1947,1780,1713,1767,1892,1746,1702,1629,1571,1605,1737,1666,1472,1450,1582,1470,1500,1509,1662,1777,1932,1730,1751,1959,1636,1486,1480,1570,2108,2531,1970,1885,2435,2226,1732,1920,1859,1766,2041,2003,1789,1619,1673,1677,1715,2172,1964,1865,1796,2055,2178,1797,1632,1686,1566,1674,1878,2136,1947,1638,1545,1617,1611,1621,1654,1925,2365,2937,2446,1880,2030,1659,1790,2143,2612,2862,2885,2966,2652,2066,2120,2900,3808,3968,3873,3826,3166,3078,2678,2402,2136,1963,1980,2314,2609,2711,2764,2823,2835,2991,2990,2733,3156,3628,3199,3128,3277,2980,3042,3131,3088,3110,3242,3654,3498,3147,2743,2672,2317,2308,2856,3277,3329,2694,2618,2963,2636,3181,3510,3435,3189,3375,3040,2415,2195,2424,2567,2822,2902,2820,3261,2317,2296,2621,2542,2417,2187,1922,2271,2392,2126,2424,2164,1636,2160,2354,2599,2251,2000,1764,1784,1947,2234,2189,1726,1772,2340,2086,2086,1873,1845,1730,1717,2129,2981,3047,2480,1939,1693,1811,2004,2238,1832,2066,1559,1533,1623,1486,1874,2183,1845,1869,2438,2520,2154,1692,1655,1636,2100,2547,2124,1674,1916,1989,2580,3165,2357,2157,2518,2211,1728,1956,2067,2553,2475,2163,2185,2308,1990,1946,2223,2385,2206,2131,2453,1964,1843,1841,2007,2713,3056,3044,3105,3002,2767,2831,2839,2853,2780,2679,2272,2034,2102,2119,1928,2272,3542,4108,3582,3332,3227,3073,3332,2958,2896,2501,2773,3327,3692,3705,3791,3847,3268,2326,2667,3055,2732,2986,3018,2563,2269,2395,2829,2705,2429,2341,2358,2582,2813,2185,2024,2162,2727,3056,3230,3344,3406,2892,2617,3157,3205,2994,2678,2952,2966,2779,2717,2566,2381,2356,1932,2531,3516,3760,3571,2980,2500,2497,3289,3077,2564,2214,2058,2082,2123,2331,2691,2694,2915,3175,2932,2779,2715,2599,2521,2328,2720,3062,2757,2513,2392,2449,2908,3353,3242,3215,3263,3094,3122,3153,3230,3225,3233,3314,3392,3326,3376,3664,3361,2893,3116,3116,3494,3682,2952,1942,2296,3846,3999,3255,3207,3343,3588,3225,3444,3431,3175,3181,3164,3418,4120,4464,4494,4061,3786,3952,4062,4191,4119,4132,4453,4624,4528,4909,3996,2122,864,546,413,404,396,406,354,328,416,553,1119,1224,1319,1421,1434,1720,2341,2787,3024,2616,2626,3418,2525,1228,1096,1222,1183,1090,1183,1838,3288,3899,2944,2030,1915,2173,2169,2246,2070,1673,1504,1830,1944,1577,1196,1108,1097,904,939,1035,959,945,1078,1117,1118,1064,976,1152,1429,1580,1615,1529,1513,1661,1842,2224,2366,2706,2774,2532,2573,2480,2303,2273,2257,2589,2334,1774,1464,1388,1369,1220,1141,1235,1225,1242,1362,1416,1607,2222,3075,3663,3673,3754,3836,3538,2886,2662,2916,2836,2376,2415,2181,1592,1466,1385,1419,1425,1238,987,974,1009,882,776,746,881,1134,918,806,1071,1046,1036,1284,1666,1989,1933,1750,1713,1566,1740,2491,2669,1740,1471,2034,1969,1548,1305,1159,1051,989,945,1010,1083,1146,1228,1230,1389,1356,1390,1433,1433,1470,1759,2003,2566,3986,4180,3687,3917,4012,3595,3676,4304,4404,3836,2663,1471,908,747,800,840,796,715,730,633,511,464,464,438,423,434,441,437,425,418,409,402,389,376,362,370,366,374,342,305,341,347,332,322,318,325,336,341,333,334,327,321,323,322,323,322,322,323,333,341,342,348,353,348,342,350,364,363,353,352,360,361,350,342,343,348,355,358,353,342,339,336,335,328,321,328,364,411,620,658,502,411,435,386,328,303,327,317,308,286,272,269,268,382,505,426,328,313,305,326,350,359,364,356,351,354,369,365,352,383,386,356,364,357,354,354,361,374,380,392,403,395,397,444,454,437,420,432,509,525,534,594,582,533,541,500,498,511,515,498,477,629,838,983,1351,1329,933,925,805,826,948,908,810,757,734,583,577,497,430,449,453,423,390,376,377,373,368,349,348,341,343,335,332,331,331,325,305,290,284,285,294,309,309,304,308,315,312,310,306,301,299,298,298,302,315,329,335,345,358,356,362,373,382,398,415,435,433,423,413,397,385,388,389,396,398,403,415,431,451,456,487,491,493,551,673,783,835,725,699,657,644,642,619,609,543,528,593,559,514,565,634,598,529,515,425,413,405,454,498,463,421],[2515,2429,2592,2999,2697,2074,2046,1939,1924,2115,2448,2897,2690,2275,1926,2172,2679,2880,2963,2971,2965,3099,3196,3219,3232,3051,2823,2406,2281,2784,2567,2206,1725,1518,1931,2951,3551,2384,2100,2099,1758,1718,1734,2097,2238,1975,2429,2822,2354,1759,1799,2385,2239,2220,2213,2042,2296,2201,1909,1915,2092,2592,3123,3188,2664,2253,2424,3248,2685,2020,1951,2399,2229,2037,1911,2183,2764,2851,2707,2744,2769,2511,2770,2423,2329,2285,2108,2570,2514,1729,1439,2054,2587,2811,2392,1870,1912,2404,2422,2264,2235,2270,2286,2047,2180,2230,1971,1971,1912,1995,1925,2111,2728,3138,2757,2551,2310,2150,3511,4409,4235,3804,3761,4091,4105,3731,3577,2785,2534,2655,2553,2444,2364,2321,2978,3174,2451,2300,2520,2376,2854,3628,3671,2831,2178,1791,1427,1508,1776,2200,2454,2163,2195,2235,2208,1687,1533,1647,1925,2069,2088,2299,2399,2322,2344,2872,2737,2266,2564,2114,2513,3252,3594,2785,1975,2387,1980,1668,1955,2075,1772,1689,1954,2199,2699,2430,2277,2755,2823,2485,2813,3088,3250,3122,2863,2830,3104,3071,2983,3011,2784,2380,2208,2115,2248,1747,1898,2276,2156,1947,2407,1958,1729,2287,2289,2006,2061,2178,2170,1857,1743,1881,1919,2073,2731,2114,2005,2260,2323,2333,2407,2385,2674,2633,2581,3074,3481,3606,3382,3331,2335,1596,1494,1992,1965,1642,2172,2237,1884,1891,2248,2229,2281,2033,2003,2134,1965,1953,2323,2256,2103,2085,2094,2628,2742,2190,1712,2160,2741,2853,2845,2740,2533,2464,2588,2107,2098,2530,2468,2084,1859,2793,3211,3558,2957,2285,2295,2033,1987,2687,2939,2846,2331,2237,2705,3146,3054,2800,2901,2841,2844,3056,3096,3016,3040,2475,1982,1978,2170,2370,2669,2140,1860,2026,2280,2343,2491,2482,2673,2963,2711,2461,2115,1859,1910,2592,3218,3331,2691,2486,2369,1873,1990,2275,2400,2045,1708,2530,2233,1644,1516,1273,832,766,890,945,952,951,1061,1403,1442,1343,1532,1855,1808,1770,1895,1987,1993,1764,1504,1754,1863,1920,1958,2062,2380,3179,3545,3592,3951,3871,3700,4050,4100,3918,3093,2446,2422,3057,3610,3972,3377,2577,2786,3371,3493,3374,3253,3107,3081,3687,3785,2880,1826,1213,1209,1722,2239,2103,2228,2135,1877,2046,2248,2930,3119,2646,2248,2397,2885,2986,2867,2417,2042,2443,2299,2025,2175,2247,2220,2247,2193,2237,2265,2444,2237,1953,1752,1819,1972,1869,1579,1254,1261,1794,2250,2491,2466,2265,1825,1594,1879,2181,2097,2030,2399,2294,2420,2524,2303,1980,1969,1825,1742,1925,2245,2600,2562,2997,3188,2815,2158,2105,2723,3212,3825,4086,3010,1202,1313,1861,2421,2697,2231,2542,2353,2309,1993,1630,1866,1857,1583,1686,1566,1433,1411,1478,1722,1944,1517,1428,1530,1758,1689,1610,1362,1231,1561,1846,1802,1702,1727,1636,2151,2835,2687,1901,2389,2724,1823,2154,2566,1996,2170,2307,2216,2272,2132,2144,2144,2210,2413,2641,2442,2076,2114,2273,2413,2410,2231,2330,2304,2495,2824,2347,1919,1940,1924,1912,1789,1449,1587,1935,2400,2174,1581,2094,2151,1689,1721,1665,2162,2508,2692,3429,3732,3897,3708,2951,1823,1786,2381,3370,3009,1883,2139,2206,1829,2013,2002,1968,1848,1974,2233,2419,2413,2165,2069,1836,1602,1754,2127,1680,1560,1733,2142,2256,2275,2294,1981,1829,1815,1833,1759,1619,1722,1680,2002,2153,2002,1872,1566,1854,2136,2297,1976,2078,2609,2351,1471,1355,1598,1570,1554,1694,1570,1634,2500,2656,2088,1932,2263,2374,1716,1941,1946,1788,1896,1747,1610,1529,1741,1704,1773,1727,1550,1487,1584,1527,1832,2459,1936,2318,2736,2765,2427,2357,2557,2417,1805,1560,1842,1996,1784,1749,1742,1738,1892,2038,1843,1731,1714,1870,1902,1752,1872,1897,1994,1968,1805,1792,1622,1627,1597,1507,1657,2292,1934,1608,2215,1897,1469,1499,1752,2170,1810,1420,1784,1719,1698,1917,1701,1348,1214,1328,1405,1354,1726,1688,1694,1888,2095,1980,1786,1351,1437,1516,1556,1925,2174,1786,1745,1639,1505,1649,1695,1957,1944,1875,1874,1799,1569,1676,1935,2057,2196,1883,1414,1482,1510,1548,1788,1872,2025,1951,1836,2208,2127,2000,1598,1653,1578,1561,2289,2501,1956,1689,1497,1793,2182,2143,2461,2339,1758,1953,2339,2416,2671,2499,2508,2722,2792,3022,2778,2663,2345,2540,2404,2600,2786,2577,2215,1743,1973,2646,2768,2897,2847,2328,2013,2262,2294,1960,2144,2430,2085,2517,2894,2544,2126,2302,2477,2945,3068,2495,2237,2131,2239,2454,2663,2720,3022,2965,2170,1413,1248,1533,1319,1381,1595,1513,1630,1868,2010,1810,1651,1691,1874,1781,1503,1452,1418,1390,1508,1460,1417,1502,1492,1527,1599,1611,1561,1450,1409,1498,1515,1658,1532,1737,1698,1414,1387,1355,1375,1556,1601,1555,1960,2663,1845,1316,1507,1656,1406,1394,1432,1362,1512,1774,1592,1287,1698,1959,1606,1527,1497,1681,1670,1480,1377,1675,1911,2085,2386,2287,2131,2193,2047,1552,1475,1517,1462,1449,1386,1501,1692,1631,1677,1634,1946,2271,1886,2047,2204,2436,2763,3255,3328,2952,2486,2569,2597,2612,2274,2241,2314,2084,1777,1927,1927,1868,1784,1803,1781,1670,1689,1686,1762,1781,1631,1478,1502,1485,1592,1638,1646,1528,1654,1825,1874,1847,1530,1584,1462,1536,1720,1932,1942,2126,2336,2208,1817,1662,1845,2038,2542,2347,1907,1630,1694,1734,1550,2037,2220,1880,1952,2145,2104,1999,1646,1745,1552,1523,1537,1614,1497,1459,1642,1673,1483,1483,1706,1861,1970,2207,2042,1710,2076,2200,1843,1958,2764,3054,2613,2927,3436,2677,2219,2622,3574,3952,3933,3904,3008,2499,2279,1949,1632,1850,2382,2544,2580,2742,2595,2497,2464,2453,2613,2724,2839,3392,3549,3355,3352,3185,3461,3362,2985,2999,3450,3733,3514,3190,2923,2496,2080,2725,3264,3443,2651,2431,2654,2342,2166,2750,2989,2763,2068,2415,3197,2544,2227,3146,3659,3311,3123,3207,3035,1913,2197,3015,3184,2955,2394,1946,2168,2270,2201,2198,1948,2148,2440,1981,2037,1943,1814,1816,1888,1923,2040,2257,2619,2215,2527,2645,2259,1759,1826,1912,1706,1645,1992,2046,1942,1725,1662,1781,2040,2225,1868,1388,984,1143,1550,1747,1763,2071,2043,1859,2951,2707,2099,1859,1724,1742,2718,3091,2389,2180,2455,2167,2568,2958,2447,2673,2462,2019,1987,2184,1985,2507,2552,2250,2164,1816,1717,1680,1758,2265,2753,2291,2024,1972,2154,2252,2271,2447,2526,2846,3029,3119,2959,2839,2730,2720,2731,2377,1945,2142,2160,1737,1566,1922,3018,4050,3886,3142,2787,3217,3671,2999,2631,2263,2137,2551,2625,3042,3552,3508,2911,2060,2654,3075,2971,3414,3372,2674,2561,2993,3222,3055,2226,2115,1919,1912,2360,2064,2145,2238,2484,2701,3061,3586,3366,2379,2451,3248,3379,3267,3185,2763,2881,2740,2579,2318,2386,2317,1788,2331,3339,3609,3115,2943,2820,2514,2520,2263,2112,2167,2307,2329,2060,1984,2080,2068,2325,2614,2846,2994,3175,3008,3207,3088,2906,2731,2632,2803,2776,2579,2613,2874,2709,2839,2812,2793,2856,2980,2981,2943,3033,3209,3268,3470,3482,3360,2965,2919,3370,3646,3862,3981,3199,2030,2261,3481,3804,3304,3388,3362,3748,3549,3434,3188,3032,3294,3465,3824,4287,4527,4439,3971,3860,4006,4087,4120,4092,4228,4560,4747,4568,4635,4624,3920,2746,1532,865,631,666,480,411,380,400,673,1137,1078,923,1146,1219,1613,2589,2797,2656,2281,2350,2874,1990,996,874,950,988,1100,1267,1806,3497,4396,3834,2406,2030,2376,2293,2362,2444,1962,1610,1815,1930,1728,1290,1135,1194,975,969,1133,1082,1091,1318,1390,1341,1194,1109,1263,1436,1732,1953,1670,1523,1596,1832,2148,2249,2546,2685,2489,2587,2566,2295,2285,2226,2375,2166,1885,1620,1286,1372,1422,1295,1354,1366,1165,1232,1340,1464,1840,2531,3851,4276,3627,3519,3437,2963,2797,2739,2907,2481,2304,2393,1836,1512,1343,1337,1396,1361,1104,953,1061,1027,1001,905,1051,1460,1234,1058,1292,1361,1296,1343,1582,1949,1994,1841,1772,1652,1819,2298,2690,2175,1721,1953,2046,1665,1301,1171,1040,1014,926,969,1097,1180,1318,1221,1382,1477,1334,1310,1351,1389,1710,2413,3339,4429,4264,3460,3719,4281,3935,3541,3961,4441,3997,2723,1609,1022,808,799,933,896,730,718,689,576,466,438,420,410,413,421,412,420,420,403,393,386,384,372,369,362,360,347,312,329,335,321,306,310,319,330,331,328,326,322,322,323,323,321,318,324,303,330,350,348,350,348,342,341,349,360,367,363,355,358,349,344,332,328,335,334,342,339,336,335,335,340,323,329,327,366,389,566,775,686,501,446,384,327,295,341,314,305,290,268,271,267,354,496,483,317,328,303,323,350,365,376,372,355,354,359,362,354,351,373,364,366,351,355,355,364,378,394,396,435,417,365,434,458,439,427,416,478,485,563,644,625,550,526,498,467,471,472,493,494,593,768,855,1008,1128,1029,956,926,938,858,843,808,680,754,610,566,531,450,434,450,435,398,379,368,367,386,340,344,344,344,339,333,326,323,319,304,285,282,291,306,305,295,301,326,327,316,308,303,300,299,300,301,309,314,328,338,344,353,358,363,369,377,397,419,432,440,431,421,402,394,394,395,393,389,399,420,439,442,474,539,526,515,521,644,744,849,835,734,653,624,627,618,578,531,496,541,562,490,532,631,602,521,479,453,404,368,432,475,460,429],[2106,2486,2942,2951,2298,1963,2276,1860,1836,2340,2470,2497,2204,1913,1823,1992,2464,2867,2912,2989,3131,3258,3341,3359,3072,2964,2986,2730,2579,2559,2514,2374,1428,1237,2092,2777,3108,2679,2398,2173,2012,2004,1903,2306,2360,2555,2880,2689,2502,2117,2288,2216,2093,2286,2657,2612,2300,2143,1969,1903,2216,2708,3010,3561,3063,2555,3050,3416,2814,2308,2242,2236,2106,2204,2172,2548,2930,3089,2856,2758,2806,2795,2912,2976,2856,2282,2008,2144,2530,2543,2102,2271,2416,1873,1428,1162,1362,2351,2642,2414,2328,2622,2609,2327,2517,2217,1513,1672,2246,2078,2003,2397,3426,3696,3166,3141,2906,2951,3706,3908,3871,3594,3591,3716,3763,3505,3002,2573,2543,2648,2472,2285,2298,1967,2687,2809,2314,2317,2555,2092,2656,3266,3134,2390,1575,1679,1842,1905,1792,2115,2300,2192,2350,2438,2126,1677,1713,2002,2174,2294,2315,2302,2270,2321,2452,2686,2541,2445,2423,2035,1952,2548,2912,2136,2365,2851,2229,2033,2214,2237,1676,1800,2121,2014,2230,2338,2486,3216,3106,2663,2974,3104,3300,3039,2752,2787,2979,3022,2942,2953,2512,2259,2511,2354,2108,2156,2244,2098,1798,1826,2309,1848,2243,2865,2453,2107,2098,2037,2195,2059,1866,2005,2222,2570,2588,2223,2122,1997,1957,2097,2402,2289,2580,2684,2766,3110,3180,3086,3303,3399,2690,2127,1644,1296,1027,1299,2081,2454,1985,1910,1723,2208,2765,2308,1846,2183,2342,2208,2364,2436,2275,1945,1834,2138,2452,2225,2402,2621,2664,2789,2656,2339,2339,2565,2509,1799,2875,3538,2775,2255,2688,2906,2566,3322,3687,3368,3396,2958,2427,2665,2978,2523,2349,2524,3067,3463,3355,3049,2810,2699,2674,2812,2507,2249,2165,2068,2012,2321,2463,2358,2001,1835,1846,2210,2513,2468,2526,2526,2800,2756,2448,2014,1836,1858,2036,2231,2643,2770,2288,2261,2068,2001,2024,1931,2014,2068,2132,2646,2198,1855,1794,1180,1044,1079,932,930,1078,1343,1521,1897,2008,1909,1868,1722,1774,1986,2047,2055,1932,1766,1822,1892,1766,1921,1783,2270,2431,2674,3272,3481,3697,3851,3574,3459,3794,3812,3686,2790,2376,2622,3456,3881,3221,2339,2285,2499,2614,2554,2577,2619,3298,3793,3636,3509,2842,1990,1530,1817,2172,2358,2668,2834,2508,2233,2200,2203,2562,2488,2188,2696,3332,3617,3598,3375,2880,2654,2135,2276,2877,2749,2407,2167,2079,2357,2898,2696,1976,1975,1870,1895,2040,1771,1908,1783,1694,1729,1925,2277,2371,1974,1661,1971,2109,2207,1914,2010,2376,2266,2242,2352,2162,2091,1949,1674,1822,2109,2466,2434,2248,2684,3016,2811,2629,2760,2842,3045,3283,3151,2477,996,1145,1559,2178,2487,2313,2411,2311,2338,2110,1735,1865,1885,1692,1628,1680,1432,1427,1439,1686,1848,1578,1352,1562,1735,1658,1770,1790,1686,1602,2072,2172,1854,1717,1656,1715,2111,2332,2109,2541,2675,1998,2348,2570,1918,1930,1876,1738,1780,1756,1808,1676,1743,1998,2047,2078,2326,2332,2195,2175,2112,2230,2257,2285,2039,2070,2251,1980,1621,1736,1560,1377,1385,1464,1530,1769,1964,2108,2177,1922,1935,2002,2184,2740,2091,2358,2757,3728,4252,4264,2804,1935,2275,2224,2375,1947,1338,1859,1864,1810,2186,2194,2252,2103,2031,2166,2326,2335,2427,2431,2220,1950,2181,2310,1529,1816,1990,2138,2097,2474,3221,3084,2452,1898,1820,1764,1681,1811,1611,1842,2380,2280,1941,1870,1857,1665,1670,1764,1981,2074,1833,1572,1631,1902,1549,1416,1673,1707,1875,2687,2414,1926,1891,1898,2161,1932,2172,1788,1510,1632,1739,1655,1598,1688,1758,1696,1578,1577,1562,1582,1520,1699,2067,1863,2304,2568,2103,1820,2092,2482,2574,1867,1857,2198,2411,2168,1929,1780,1702,1598,1491,1716,2015,1864,1577,1496,1716,1897,1685,1659,2087,2149,1879,1880,2131,2040,1888,1948,2214,2062,1835,2116,1828,1674,1631,1869,2164,1761,1315,1653,1716,1578,1676,1606,1245,1228,1455,1578,1444,1406,1452,1527,1859,1891,1904,1770,1505,1578,1578,1495,1657,2036,1738,1604,1457,1874,2278,2159,2069,1819,1621,1554,1526,1360,1638,1936,2094,2003,1643,1397,1668,2025,1657,1473,1867,2186,1804,1960,2825,2432,1761,1345,1455,1372,1599,2107,1973,2040,1981,1672,2337,2891,2625,2496,2312,2448,2830,2271,2053,2500,2702,3001,3147,2700,2985,2811,2791,2552,2681,2566,2633,2834,2623,2298,2149,2444,2756,2404,2612,2398,1953,1719,1963,2352,2456,2710,2470,2095,2330,2665,2241,2192,2447,2584,2799,2723,2417,2290,2278,2356,2569,2690,2739,2714,2165,1829,1327,1313,1360,1254,1430,1522,1447,1454,1576,1730,1732,1851,1980,2068,1858,1523,1702,1614,1422,1524,1539,1392,1345,1376,1461,1556,1567,1624,1514,1488,1453,1419,1461,1510,1751,1626,1497,1583,1359,1304,1446,1504,1521,1998,2127,1584,1436,1400,1414,1503,1594,1504,1381,1520,1570,1434,1385,1800,1710,1332,1664,1765,1704,1446,1344,1584,1793,1914,2440,2194,2079,2065,2312,2249,1618,1384,1475,2068,2228,1725,1716,1676,1673,2004,2464,2810,3326,2620,2496,2798,3019,3318,3341,3238,3016,2872,2790,2198,2774,2330,2293,2512,2155,1864,1655,1472,1703,1999,1721,1677,1568,1763,1834,1848,1698,1615,1476,1467,1371,1584,1692,1424,1426,1583,1695,1703,1586,1528,1659,1465,1648,2256,2602,2245,1727,1816,2165,1957,1791,1844,1808,2365,2119,1985,1905,1836,1782,1650,1941,2156,1843,1831,1797,1866,1798,1503,1452,1588,1621,1502,1478,1550,1594,1667,1581,1444,1495,1645,1634,1942,2383,2287,1792,1780,1937,1750,1851,2546,2679,2378,3189,3779,3254,2747,2551,3352,3963,4052,3983,3108,2227,2232,2559,2328,2187,2375,2262,2366,2605,2414,2438,2314,2227,2473,2644,2849,3198,3437,3205,3537,3621,3531,3103,2920,2939,3211,3549,3632,3199,3039,2730,2592,3316,3652,3360,2657,2872,3034,2334,2236,2771,3226,2711,1574,1698,2496,2077,2763,3730,4352,3968,3116,2509,2047,1836,2440,3210,3255,2814,2364,1571,2045,2005,1837,1954,1992,2214,2125,1953,2091,2233,2066,1785,1528,1419,2155,2288,2411,2009,2591,3221,2888,2370,1978,2026,2047,1431,1498,1581,1640,1763,2222,1951,2049,2031,1782,1338,1222,1409,1660,1713,1611,1833,2132,2500,2656,1817,1422,1687,1933,1959,2183,2201,1981,2197,2388,2198,2517,2618,2450,2230,2392,2343,2845,2778,2136,2308,2362,2127,2050,2033,1974,1784,1737,2345,2810,2509,2002,1889,2464,2744,2781,2630,2057,2175,2877,3129,2930,2897,2879,2750,2490,2085,2368,2984,2648,1900,1954,2169,2423,3522,4059,3717,3139,3488,3741,3159,2836,2673,2429,2468,2163,2211,2536,2557,2295,1912,2418,3141,3560,3957,3912,3230,2958,2698,2686,2516,1913,1987,2188,2305,2094,1883,2016,2239,2182,2284,2567,2727,2596,2397,2990,3476,3588,3630,3056,2566,2730,2470,2408,2387,2402,2531,2185,2653,3194,3392,3356,3031,3000,2734,2317,2304,2553,2492,2104,1965,1870,1753,1809,2036,2353,2265,2409,3097,3212,3291,3525,3178,2580,2320,2303,2742,2986,2755,2643,2562,2651,2807,2458,2116,2376,2689,2359,2447,2398,3086,3210,3006,2814,2749,2707,2766,2988,3145,3654,3918,2987,2047,2035,2897,3580,3214,3435,3286,2866,2752,3108,2876,2806,3300,3508,3857,4211,4507,4519,3983,3813,3948,4059,4061,4161,4282,4684,5018,4586,4289,4454,4481,4284,3921,2788,1749,977,543,403,368,436,715,1156,1071,775,913,1045,1436,2326,2519,2170,1644,1358,1534,1294,902,791,822,889,1192,1548,2225,3798,4816,4591,3058,2180,2396,2353,2258,2310,1965,1582,1622,1864,1821,1386,1220,1274,1117,1007,1191,1312,1287,1522,1770,1793,1489,1219,1267,1592,1968,2064,1725,1497,1525,1815,2090,2186,2405,2656,2264,2341,2604,2391,2194,2118,2031,1628,1353,1230,1097,1270,1528,1485,1436,1551,1340,1245,1284,1462,1703,2147,3719,4495,3571,3178,3190,3065,3199,3082,3047,2686,2468,2402,2018,1636,1377,1329,1405,1450,1245,987,1083,1115,1206,1150,1305,1645,1481,1214,1387,1593,1565,1516,1459,1824,1997,1902,1809,1720,1983,2347,2583,2308,1925,1910,1934,1792,1354,1218,1039,1023,941,960,1092,1227,1431,1310,1349,1565,1397,1267,1221,1263,1598,2770,4196,4784,4684,3797,3645,4070,3950,3646,3819,4235,3941,2643,1899,1216,806,811,1022,974,815,697,646,600,504,433,404,401,424,415,408,483,476,405,385,386,387,382,382,366,357,337,328,329,330,323,312,311,316,322,325,321,321,324,322,323,324,318,315,326,299,317,343,333,331,333,336,338,345,350,359,365,367,361,352,341,328,321,323,328,331,337,335,330,321,318,323,329,323,349,375,480,675,703,594,482,390,329,293,312,307,337,352,292,281,262,315,466,514,348,330,309,325,351,375,393,392,373,364,344,341,366,339,353,367,363,355,350,350,361,377,403,409,430,445,369,420,438,421,427,395,444,489,590,664,629,575,527,485,458,441,452,476,501,598,697,780,818,945,1105,1017,912,956,847,806,882,675,725,638,564,550,475,427,440,433,406,386,366,358,380,346,343,348,331,339,339,328,324,321,307,291,279,295,325,310,290,306,336,339,327,322,310,305,300,301,302,305,311,324,336,342,348,359,363,365,374,398,399,427,445,440,430,418,409,406,403,398,396,403,425,456,487,530,565,516,526,546,576,678,846,933,820,690,662,647,608,552,517,500,486,543,507,511,588,612,520,439,467,437,350,396,441,449,431],[1934,2386,2617,2591,2330,2081,2322,2251,2381,2868,2868,2468,2073,1962,2099,2337,2788,3017,2824,2912,3143,3415,3458,3167,3029,2951,2959,2663,2464,2542,2653,2175,1654,1111,1838,2198,2474,2787,2688,3023,3572,3145,2772,2743,2590,2598,2381,2678,2623,2057,2232,2283,1930,1951,2070,1896,2135,2254,2067,2059,2471,2260,2047,3144,2888,2606,3239,3348,2952,2425,2178,2024,1905,2099,2477,2754,2813,3002,3067,2818,2604,2731,2712,3035,2872,2339,2114,2136,2283,2482,2114,1929,2063,1818,1999,1749,1897,2725,2952,2921,2765,2676,2559,2519,2788,2547,1850,1957,2476,2702,2480,2563,3806,3993,3415,3624,3429,3852,3818,3796,3777,3716,3536,3503,3866,3468,2894,2975,3096,2695,2325,2142,2379,2557,2891,2540,2352,2403,2138,1815,2326,2401,1898,1576,1549,1776,1982,1723,1488,2021,2307,2468,2710,2473,1814,1645,1974,2057,1934,2306,2446,2182,1930,1582,1566,2042,2289,2365,2408,2159,2114,2446,2270,1893,1951,2568,2820,2687,2571,2714,2464,2431,2483,1940,2170,2987,3160,3218,2888,2801,3202,2889,3000,2944,2913,3164,3250,3398,3260,2524,2032,2164,2590,2299,2156,2486,2282,2557,2364,2385,2449,1796,1611,1945,1888,1870,1794,1805,1990,1860,2003,2038,2010,2603,2525,2326,2585,2521,2527,2064,2102,2198,2111,1761,2066,2736,2768,2459,3079,3364,2593,2313,1943,1441,961,1144,1715,2054,1993,1698,1581,2083,2951,3057,2265,2185,2556,2386,2370,2454,2008,1754,1832,2106,2108,2068,2187,2234,2523,2763,2435,1994,2317,2555,2162,2359,3558,4433,4029,3065,2656,2231,2104,3144,3983,3692,3376,3230,3074,2686,2468,2219,2509,2687,3100,3485,3401,3148,2811,2308,2152,2140,1941,1671,1670,1774,2288,2370,2128,1873,1720,1650,1958,2027,1997,2496,2709,2579,2555,2281,2164,2187,1907,1920,2031,1985,2271,2319,2270,2624,2684,2091,1691,1271,1613,2504,2742,2297,1963,2429,2254,1666,1139,1015,873,916,1215,1854,1968,1995,1965,1932,1920,1911,1948,1889,1972,1951,1838,1799,1740,1857,1821,1776,1903,2334,2267,2326,2734,3183,3066,3617,3225,2873,3065,3221,3181,2856,2578,2579,3108,3338,2703,2003,1981,2076,2319,2450,2735,3110,3929,4533,4340,3937,3890,3718,3278,2740,2626,2557,2558,3030,2978,2714,2768,2205,2014,1742,1423,2409,3674,3874,3848,3818,3618,3185,2332,2143,2471,2591,2076,1594,1635,1934,2218,2007,1625,1763,1834,1937,1993,1752,1870,2162,2237,2352,2399,2420,2692,2055,2003,2179,2211,2121,1902,1622,1722,1938,2213,2379,2315,2037,1680,1703,1925,2381,2337,2044,1991,2554,3047,2950,2546,2475,2775,2424,2069,2009,2083,1571,1506,2088,2168,2222,2290,2222,2260,2519,2195,1675,1818,1768,1649,1564,1754,1555,1455,1469,1425,1431,1488,1473,1524,1717,1665,1538,1694,1573,1612,1979,1984,1732,1448,1401,1528,1837,2312,2608,2645,2578,2238,2251,1947,1468,1427,1566,1775,1583,1597,1637,1475,1607,1772,2034,2665,2467,1831,1785,1920,1937,1848,2154,2342,2110,2084,2123,2054,1904,1806,1653,1660,1747,1619,1598,1641,1840,1964,1799,1718,2011,2092,2473,2394,1753,1732,2717,3447,4055,3804,2366,2114,2356,2123,1986,1497,1654,2050,1982,2002,1846,1884,2080,2100,1903,1716,1981,2207,2250,2122,2308,2153,2156,1761,1634,2122,2053,1826,1771,2568,3656,3323,2622,2046,2021,1910,1926,1647,1499,1653,2047,1790,1272,1749,2509,1986,1557,1793,1948,1577,1587,1664,1659,1767,1570,1450,1741,1694,1978,2614,2285,2493,2793,2747,2282,2161,2031,1770,1681,1865,1782,1655,1641,1466,1766,1765,1520,1622,1471,1699,1582,1654,2010,2047,2333,2287,1552,1528,1993,2437,2655,2357,2085,2276,2780,2779,2232,1747,1549,1477,1354,1394,1591,1732,1546,1454,1786,2001,1664,1835,1959,1944,2066,2182,1929,2029,2114,1968,1946,1905,1736,1586,1246,1568,1808,1868,1882,1552,1370,1537,1642,1501,1638,1635,1294,1394,1963,1818,1506,1575,1559,1912,2608,2290,1944,1673,1476,1500,1690,1537,1686,1775,1680,1574,1537,2171,2456,2121,2033,1724,1614,1573,1450,1337,1527,1723,1802,1728,1549,1467,1840,2022,1597,1692,2252,2481,1829,1943,2367,2039,1512,1387,1437,1560,1859,1988,2054,2276,1758,1860,2303,2541,2439,2365,1955,2056,2153,1866,2154,2280,2210,2746,2996,2722,3005,3065,2708,2262,2024,1959,2246,2724,2226,2078,2273,2348,2576,2773,3073,2640,2456,2290,2039,2151,2777,3169,2683,2454,2959,2780,2137,1939,1935,2467,2887,2751,2506,2396,2313,2235,2335,2448,2552,1986,1395,1583,1541,1578,1178,1254,1614,1472,1289,1339,1419,1649,1767,1889,1964,2032,2023,1725,1699,1602,1506,1565,1550,1394,1322,1417,1639,1908,1741,1578,1510,1494,1444,1417,1328,1260,1352,1334,1541,1855,1447,1322,1393,1509,1597,1725,1531,1438,1482,1477,1478,1493,1393,1328,1384,1513,1552,1477,1579,1509,1323,1303,1414,1613,1646,1391,1326,1716,1713,1659,2138,1982,1755,2154,2568,2417,2248,2150,1923,1936,1851,1987,1848,1472,1729,2197,3813,3826,3938,3564,3325,3542,3836,3686,3186,3032,2957,2886,2735,2364,2547,2329,2978,3270,2829,2090,1546,1427,1483,1460,1587,1961,1770,2243,2183,1974,1833,1605,1815,1948,1534,1528,1819,1615,1606,1748,1819,1858,1628,1573,1593,1560,1784,2244,2339,2013,1946,1817,1858,1920,1749,1590,1555,1842,2083,2220,2139,1952,1864,1604,1593,1896,1704,1766,1854,1733,1471,1550,1729,1727,1454,1542,1767,1610,1543,1587,1674,1859,2010,2056,1634,1913,2458,2466,2277,2343,2597,2514,2301,2533,2400,2109,2973,3176,3012,2585,2297,3053,3410,3001,2524,2263,2635,2996,3025,2591,1936,2342,2676,2813,2718,2837,2963,2527,2294,2328,2640,2884,3019,3371,3328,3466,3640,3196,2874,3113,3563,3663,3509,3607,3253,2966,3038,3463,3731,3642,3374,3097,3096,2886,2386,2425,2859,3463,3366,2474,1700,1989,2706,3141,3016,3465,3392,2243,1868,2275,2485,2934,3396,2866,2215,2323,1835,1998,1974,2559,2808,2610,2510,2501,2484,2376,2562,2234,1781,1539,1759,2476,2529,2253,2365,2808,3128,3455,3101,2153,2043,2138,1553,1513,1502,1749,1995,2031,2029,1970,1689,1682,1673,1497,1578,1929,1907,1802,1913,2087,2413,1869,1453,1422,1714,1877,1759,1788,2274,2278,2558,2311,1845,2245,2033,1833,2144,2299,2698,2978,2579,2318,2358,2257,2118,2174,2631,2802,2225,1655,1892,2195,1954,1804,1981,2049,2242,2874,3273,2887,2330,2552,2791,2887,2899,2726,2453,2189,2806,3694,3643,3398,3032,2356,1908,2048,2889,3914,4073,3444,3248,3387,2908,2414,2728,2608,2464,2142,2309,2468,2557,2463,2328,2844,3424,3640,3744,3773,3381,3106,2842,2808,2610,2186,1883,1942,2318,2316,2079,2154,1765,1826,2257,2476,2751,2464,3071,3515,3237,2899,2973,2919,2831,2625,2066,2076,2240,2367,2555,2668,3252,3209,3119,2925,2667,3087,2832,2222,2514,2599,2146,1905,1961,1959,2296,2317,2330,2462,2237,2630,2941,2577,2501,2810,3023,2642,3426,3165,2604,2797,2978,3104,3218,3218,3012,2698,2238,2216,2649,2410,2226,2285,2799,3155,3515,2752,2692,2844,2723,2590,2474,3401,3817,2899,2248,1848,2292,3063,3078,3417,3370,2902,3118,3132,2557,2817,3251,3423,3789,3896,4046,4604,4215,3916,4003,4067,3957,4031,4211,4565,4916,4564,4183,4389,4529,4689,4653,4431,3334,1747,946,1066,1138,826,803,1118,1119,810,897,1119,1624,1860,1745,1481,1206,983,819,832,804,791,790,893,1393,2461,3518,4243,4964,5176,3913,2464,2186,2233,2254,2118,1863,1537,1367,1549,1754,1396,1364,1486,1261,1082,1227,1555,1462,1742,2073,2253,2159,1641,1295,1849,2245,2067,1837,1569,1485,1812,2129,2114,2112,2623,2169,2103,2569,2586,2198,2075,2019,1582,1211,1171,1083,1171,1509,1623,1647,1680,1560,1340,1251,1632,1939,1986,3145,4527,3778,2806,2671,2773,3066,3367,3379,2876,2544,2401,2125,1738,1454,1388,1383,1481,1389,1119,1081,1174,1286,1238,1401,1673,1643,1367,1335,1623,1695,1689,1485,1744,2016,1960,1841,1743,2046,2459,2565,2314,2061,1910,1847,1845,1389,1199,1037,1034,982,992,1150,1345,1578,1476,1293,1586,1489,1273,1191,1177,1453,2981,4585,4960,4776,4199,3869,4018,3836,3646,3748,4051,3972,3006,2188,1357,834,780,814,841,863,721,606,610,529,422,386,378,422,423,410,438,420,395,396,387,382,383,379,371,345,334,329,332,330,322,316,314,313,315,313,314,320,319,322,323,325,318,317,333,330,327,327,325,319,325,332,339,340,349,355,359,367,363,352,342,328,321,322,327,323,322,321,330,324,322,321,320,321,327,355,422,591,820,866,598,437,358,305,303,313,426,488,296,296,267,294,444,528,384,335,326,334,366,395,414,416,394,376,353,329,362,350,352,365,357,349,348,349,357,372,394,405,407,441,400,410,414,406,420,416,437,479,590,688,633,585,523,466,450,444,473,479,501,610,705,793,834,821,984,1078,879,878,784,730,902,723,681,667,571,565,496,427,430,424,405,390,373,360,358,346,345,341,348,359,326,333,322,322,313,294,280,295,323,329,325,334,346,342,329,321,313,306,299,307,309,309,316,322,333,343,351,356,361,351,361,411,396,428,451,448,437,434,426,420,415,408,396,400,425,462,503,517,509,494,521,580,584,622,769,894,877,786,663,605,547,521,499,484,447,480,527,523,531,597,536,418,452,457,373,348,388,435,425],[2054,2426,2554,2502,2394,2186,1938,2279,2801,3296,3256,2625,2084,2220,2663,2912,3182,3067,2852,2894,3006,3274,3354,3294,3135,2894,2636,2397,2448,2504,2541,2245,2566,1922,2030,2325,2208,2542,2932,3658,3942,3321,3185,2711,2640,2376,2135,2714,2420,2205,2127,2431,2455,2029,1898,1970,2232,2219,2182,2122,2198,1780,1350,2562,3128,2794,3011,3266,3184,2980,2268,2064,2072,2092,2343,2504,2939,3289,3297,2517,2350,2380,2282,2372,2173,1938,1927,1738,1999,2364,1988,1644,1858,2111,2305,2181,2342,2864,2880,2879,3089,3387,2764,2410,2675,2873,2448,2282,2505,2706,2107,2165,3394,3685,3225,3209,3286,3925,3902,3806,3581,3574,3545,3557,4028,3949,3727,3508,3096,2850,2422,2082,2266,2383,2332,2326,2304,2352,2330,2609,2831,2685,2002,1893,1870,2248,2304,1732,1412,2049,2755,2754,2468,2088,1573,1926,2106,2148,1741,1854,1886,1534,1270,985,1129,1610,1848,1853,2296,2339,2265,2033,2277,2402,2337,2686,2798,2625,2607,2888,2800,2856,2864,2546,2863,3817,3696,3216,2675,2703,2715,2625,2810,2833,2788,2937,3145,3256,2918,2622,2446,2602,2471,1901,1954,2320,2430,3077,3267,2801,2311,1660,1707,1783,1527,1592,1713,1996,2150,1769,1888,2176,2213,2264,2312,2584,2974,3072,2644,1781,1732,1975,1848,1663,2314,2666,2141,1991,2808,3120,2536,2345,2138,1418,938,1040,1748,2103,2030,1946,2436,3108,3748,3360,2474,2397,2258,2132,2523,2492,2138,1792,1692,1907,2214,2105,1962,2187,2599,2475,1961,1903,3017,3204,3010,3073,3587,4013,3618,3116,2586,1836,2441,3295,3842,3934,3628,3396,3119,2640,2484,2617,2401,2449,3052,3199,3319,3018,2483,2112,2418,2166,2053,2384,1979,1869,2212,2019,1784,1646,1653,1701,1970,1892,1924,2163,2585,2586,2420,2052,1948,2054,2054,1874,2012,2424,2347,2063,2602,3211,3279,2786,1842,1500,2306,2482,2164,2128,2208,2806,2391,2029,1382,1071,979,926,1578,2131,1953,1816,1723,1831,1880,1962,1898,1890,1876,1759,1660,1871,1832,1733,1818,1833,1964,1963,2066,2491,2258,2259,2281,3279,3227,2713,2701,2644,2619,2904,2967,2827,3020,2763,2266,2031,2029,2051,2270,2522,2789,3216,3874,4440,4440,4504,4696,4544,4108,4156,3893,3689,3305,3019,2971,2982,2824,2478,2322,1953,1404,1808,3301,3840,3652,3664,3731,2988,2189,1915,1992,1997,1781,1426,1653,2197,2140,1698,1666,1803,1879,2222,1976,1546,1711,2013,2078,2646,2459,2793,2929,2448,2359,2247,2070,2038,2047,1857,1727,1995,2255,2496,2387,1917,1721,1801,2172,2586,2359,2010,2060,2626,2942,2508,2374,2422,2360,2208,1592,1488,1844,1945,2384,3028,2819,2305,1978,1990,2326,2519,1909,1547,1863,1870,1690,1698,1724,1748,1755,1397,1444,1523,1456,1605,1668,1860,1900,1811,2006,1938,1758,1616,1555,1560,1445,1415,1586,1616,2135,2480,2088,1885,1935,1935,1440,1340,1670,1915,1997,1675,1820,1721,1494,1608,1842,2178,2375,2058,1559,1634,1973,1875,1732,2320,2268,1970,1860,2037,1918,1771,1747,1731,1840,1959,1956,1903,2009,2106,1676,1522,1655,1852,2760,3670,3195,2831,2404,2416,3357,4276,3190,1725,1756,1948,2031,1796,1202,1339,1571,1945,2032,1753,1698,1944,1827,1571,1557,2116,2312,2100,1698,1987,1936,1902,1880,1829,1973,1969,1664,1870,2607,3360,3196,2369,1660,2098,2041,1782,1611,1850,1996,2124,2119,1845,1710,2041,1596,1625,1786,1858,1583,1433,1526,1701,1731,1572,1508,1655,1483,1902,2481,2389,2262,2678,2340,1875,1786,1886,1757,1991,2645,2491,1646,1676,1527,1675,1633,1529,1582,1679,1893,1693,1914,2505,2240,1841,2119,1680,1684,2123,2996,3239,3207,2766,2502,3107,3040,2430,1931,1537,1488,1493,1636,1664,1664,1578,2118,1996,1794,2235,2358,1929,2038,2188,1741,1800,1995,1983,2028,1717,1572,1368,1280,1067,1214,1596,1924,1882,1557,1592,1622,1594,1600,1778,1464,1312,1506,2052,2140,1774,1653,1876,2123,2237,2236,1736,1545,1548,1593,1777,1728,1604,1555,1664,1676,1599,1765,2137,2027,1926,1615,1540,1490,1458,1434,1865,1971,1668,1639,1480,1460,1669,1796,1686,1492,1878,2032,1616,1422,1614,1675,1506,1507,1758,2333,2192,1988,2387,2151,1708,1655,1755,2015,2274,2138,1982,2187,1792,1608,1927,1940,2132,2541,2591,2669,2941,2883,2587,2206,2176,2027,1974,2626,2166,1682,1415,2210,2379,2489,2785,2279,2620,3231,2458,2355,3156,3464,2508,2131,2666,2625,2389,2160,2263,2734,2757,2563,2741,2414,2400,2302,2176,2433,2432,1512,1512,1773,1772,1484,1260,1443,1304,1392,1478,1623,1418,1629,1796,1697,1990,2136,1969,1639,1418,1341,1410,1511,1532,1430,1475,1715,1561,1627,1494,1405,1448,1425,1431,1582,1484,1263,1362,1404,1434,1528,1541,1384,1464,1735,2085,2043,1737,1588,1642,1567,1466,1515,1454,1464,1492,1438,1574,1870,1921,1622,1358,1270,1337,1441,1404,1562,1729,1928,1935,2440,2236,1958,1686,1960,2425,2680,3131,3325,2898,2068,1644,2072,2013,1584,1855,2210,3021,3583,3649,3458,3410,3388,3471,3359,3108,2957,2793,2585,2392,2130,2002,2199,2896,3159,2315,1813,1560,1531,1597,1514,1555,1648,1755,2041,2173,2172,1950,1841,2152,1981,1854,1983,2140,1886,1710,1780,1773,1553,1377,1599,2060,1992,1686,1720,2177,2280,2049,1522,1456,1792,1786,1644,1456,1532,2186,2653,2277,1899,1688,1446,1450,1683,1512,1384,1355,1479,1470,1635,2256,2204,1545,1553,1635,1444,1399,1727,2396,2308,2381,2309,1735,1885,2595,2852,2678,2727,2490,1996,1977,2143,1901,1803,2503,2495,2329,2220,2310,2542,2275,2153,2001,2321,2663,2953,2935,2951,2518,2746,3460,3791,3363,3195,3043,2790,2513,2289,3055,3317,3219,3001,3203,3635,3981,3419,2757,3111,3528,3260,3104,3511,3305,3124,3331,3501,3641,3217,3289,3307,2977,2844,2522,2023,2674,3549,3484,2518,1978,2708,2876,2764,2814,2792,2068,1633,2360,2821,3096,3652,3538,2851,2028,2144,2227,2282,1918,2381,2698,2066,2112,2590,2744,2646,2579,2053,1801,1630,1725,2292,2542,2498,2603,2445,2467,2566,2002,1775,1490,1308,1355,1491,1425,1711,1920,1418,1170,1593,1719,1724,1859,1550,1587,2527,2498,1798,1411,1842,1961,1786,1615,1820,1973,1867,1636,1678,2446,2531,2921,2227,1597,1786,1667,1861,1971,2128,2789,2745,2099,2116,2332,2392,1988,2136,2564,2608,2242,1950,2126,2263,1931,2141,2491,2447,2021,2221,3008,3608,3235,2310,1992,2473,2575,2064,2065,2586,3718,3859,3631,3692,3861,3315,2187,2258,2801,3343,3433,3035,2809,2678,2410,1753,2539,2792,2390,2061,2430,2608,2713,2810,3321,3632,3422,3377,3237,3104,2836,2824,2911,2742,2407,2136,2026,1942,2043,2024,2103,2248,1979,1839,2429,2689,2525,2766,3244,2900,2428,2766,3057,2865,2802,2750,2490,2580,2495,2700,2896,2586,2721,2493,2359,2252,2127,2492,2574,1989,2415,2383,2199,2468,2909,3163,3658,3663,3536,3495,3389,3083,2412,1960,2297,3234,3543,3134,3373,2624,1969,2359,2885,3498,3830,3414,3200,2966,2523,2287,2364,2360,2076,2368,2233,2622,2710,2404,2641,2339,2200,2104,2416,2688,3220,2786,2229,1862,2257,2792,2909,3355,3540,3196,2931,2989,3012,2690,2784,3178,3790,3394,3500,4460,4596,4372,4216,4094,3986,3904,3613,4257,4671,4640,4255,4352,4684,4820,4761,4592,4152,3500,3018,3244,3099,2833,2048,1301,1062,835,941,1214,1708,1655,1154,1098,1090,933,824,814,848,872,849,875,1448,3046,4390,4795,5132,5367,4606,3078,2176,2073,2327,2244,1897,1599,1300,1364,1615,1422,1403,1643,1407,1172,1315,1731,1642,1920,2270,2808,2920,2401,1627,1702,2061,1963,1951,1804,1603,1788,2227,2182,2014,2521,2182,1993,2604,2898,2444,2105,1966,1702,1321,1085,994,1042,1372,1625,1856,1824,1648,1520,1362,1592,2150,2204,2683,4350,4435,3352,2973,2646,2620,3177,3471,3110,2617,2502,2332,1901,1531,1413,1338,1509,1544,1275,1013,1159,1312,1272,1413,1469,1544,1465,1282,1485,1652,1759,1612,1761,1947,2013,1960,1770,1959,2392,2437,2249,2142,1898,1772,1886,1537,1189,1048,1024,951,963,1120,1390,1674,1703,1367,1547,1588,1352,1200,1140,1289,2830,4575,4975,4988,4572,4115,4024,3641,3510,3680,3964,3865,3150,2213,1343,841,799,847,807,825,749,643,566,522,436,421,447,471,438,377,365,357,370,383,382,377,377,362,382,344,325,335,332,330,322,319,324,317,314,315,314,311,310,316,317,314,317,329,332,330,334,324,325,335,336,337,338,337,340,344,348,356,349,341,333,321,315,322,324,327,331,331,325,322,321,316,310,311,324,370,415,540,789,1101,1009,621,377,318,323,301,414,555,363,316,275,292,425,554,452,338,337,355,382,417,436,446,444,393,371,356,357,354,360,358,357,354,349,352,358,371,384,393,396,415,426,407,389,394,409,433,444,477,539,603,575,559,507,457,446,452,487,496,492,583,705,786,900,796,793,1048,911,868,818,696,816,776,660,680,576,556,515,449,430,409,401,390,375,361,350,347,346,333,340,340,344,333,322,315,310,293,279,286,314,336,342,343,347,347,331,316,310,309,307,316,313,312,322,330,334,346,355,360,359,355,356,403,408,430,446,451,446,439,436,428,418,410,398,400,426,467,471,454,452,482,509,586,655,619,673,814,859,807,626,565,528,499,487,463,430,435,502,534,491,555,539,415,434,451,412,348,353,402,421],[2104,2327,2445,2377,1996,1529,1552,2211,2980,3310,3118,2920,2734,2871,3063,2957,2945,2907,2851,2901,2957,3089,3232,3228,2966,2498,2148,2379,2257,2408,2386,2669,2986,2362,2338,2464,2210,1991,2055,2972,3460,3174,3316,3124,2403,2575,2429,2257,2528,2875,2535,2186,2150,1958,1854,1805,2135,2155,2401,2301,2138,1760,1268,1884,2636,2842,2874,3362,3896,3771,2669,2179,2338,2453,2644,2987,2942,2928,2895,2612,2714,2787,2426,2281,2013,1967,1892,2175,2835,2757,2239,1939,2448,2702,2402,2101,2007,2297,2096,2543,3107,3385,3266,2840,2753,2598,2398,2408,2248,2326,2299,3064,3085,3480,3693,3440,3698,4096,4072,3942,3592,3417,3673,3665,3957,4002,3803,3776,3212,2642,2250,2056,2067,2109,2276,2303,2330,2520,2736,3173,2908,2964,2331,1736,1588,1653,1478,1334,1551,2172,2609,2566,2070,1586,1465,2146,2508,2149,1894,1841,1806,1775,1368,1179,1541,2004,1688,1533,2144,2111,2248,2237,2501,2478,2446,2623,2590,2424,2684,3021,2787,2544,2088,1816,2746,3383,3344,2652,2504,2517,2350,2525,2429,2415,2331,2745,3016,2776,2975,3418,3396,2945,2233,1947,1981,2097,2469,2997,2757,2444,1793,1828,1800,1687,1647,1671,1486,2034,2235,1806,1825,1970,1968,1902,2030,2040,2440,2730,2178,1823,1830,1830,1761,1979,2564,2549,1897,1960,2724,2714,2328,2314,2256,1419,944,1328,1868,1931,1982,2343,3433,3996,3736,3438,2627,2358,2013,2395,2624,2802,2754,2380,1980,1865,2177,2301,2296,2534,2485,1892,1880,2343,2788,3141,3483,3403,3317,2812,2347,2795,2675,2508,3265,3700,3527,3316,3532,3269,2890,2916,3232,3073,2048,1932,2971,3370,3001,2751,2700,2562,2630,2279,2260,2350,1805,1787,1804,1678,1647,1591,1582,2338,2828,2565,2429,1965,2077,2753,2664,2143,2030,1813,1770,1740,2151,2671,2481,2485,2978,3213,3048,3004,2806,2405,2336,2013,2192,2137,2172,2469,2619,2235,1633,1222,1060,1289,1779,1935,1914,2049,1844,1816,1735,1800,1770,1641,1636,1607,1531,1829,2057,2001,2195,2332,2083,1996,2204,2313,1941,2230,2272,2765,3279,3077,2706,2773,2779,2576,2828,3050,3040,2542,2207,2173,2128,2081,2308,2628,2988,3109,3409,4097,4415,4431,4565,4022,3582,3629,3825,3794,3485,3438,3357,3175,3383,3563,3197,2891,2455,2691,3209,3519,3352,3581,3344,2025,1500,1430,1334,1696,2029,1590,1826,2370,2356,2360,2422,2232,2401,2602,2309,1888,1527,1588,2133,2358,1862,2166,2473,2469,2094,1995,2322,2467,2356,1981,1782,2035,2155,2279,2215,1820,1736,1990,2317,2415,2603,2758,2751,2983,3122,2831,2532,2364,1860,1467,1475,1891,2247,2142,2254,2434,2620,2615,1958,2125,2496,2630,1935,2081,2070,1952,1954,2509,2745,2151,1810,1769,1959,1616,1441,1660,1990,2117,2177,1865,1709,1892,1765,1555,1613,1699,1897,1882,1687,1516,1808,2200,2002,1739,1878,2114,2111,1882,1875,1694,1502,1669,2161,2384,1809,1506,1652,2004,2212,1781,1686,2179,2373,1972,1843,2362,2348,1945,1657,1708,1597,1540,1383,1470,1627,1585,1585,1973,2030,1921,1804,1744,1689,1847,2679,3472,3806,3841,3536,3082,3379,3681,2346,1841,1895,1791,1816,1532,1639,2021,2157,2035,2231,2246,1727,1815,1660,1447,1638,1951,2215,2061,1750,1754,2096,2230,1838,1825,2066,1899,1617,1614,2004,2159,2384,2241,1771,1935,1968,1691,1906,2217,2505,2192,2231,2014,1540,1517,1782,1932,1477,1414,1700,1823,1692,1673,1685,1653,1627,1853,1648,1866,2314,2348,1896,1893,1875,1759,1894,1970,1746,1740,2110,2326,1569,1455,1631,1821,1817,1682,1428,1411,1599,1779,2062,2253,1800,1874,2154,2206,2026,2210,3328,3663,3554,3331,3017,3041,3143,2426,1586,1468,1628,1655,1559,1704,1719,1628,1859,1710,1556,1992,2136,2174,2397,2242,1655,1887,2138,1811,1960,1627,1323,1334,1416,1350,1252,1474,2028,1839,1370,1461,1434,1344,1594,1885,1761,1560,1745,1852,1779,1715,1785,2295,2104,1689,2195,1760,1592,1636,1808,2003,1905,1702,1731,1761,1621,1484,1607,1803,1889,1869,1825,1506,1409,1449,1318,1399,1590,1740,1592,1470,1432,1668,1978,1846,1553,1566,1562,1525,1486,1464,1489,1554,1595,1678,2273,2212,1983,1885,1883,2004,1994,1938,1932,2255,2186,2218,1805,1766,1716,1703,1985,2522,2097,1972,2536,2796,2551,2440,2124,2082,1614,2083,2556,2525,2164,1746,2434,2942,2668,2267,2148,2604,2868,2308,2522,3500,3757,2541,1700,1916,2543,2812,2725,2618,2846,2821,2303,2030,2145,2498,2370,2476,2446,1805,1320,1590,1548,1266,1256,1447,1401,1236,1407,1509,1822,1605,1571,1760,1604,1714,1778,1401,1235,1304,1290,1339,1462,1502,1451,1593,1524,1278,1276,1438,1418,1377,1421,1440,1548,1378,1260,1333,1393,1281,1279,1737,1800,1769,1658,1871,1916,1649,1535,1476,1635,1493,1427,1428,1408,1486,1473,1466,1665,1819,1665,1433,1335,1318,1283,1293,1533,1809,2287,2464,2615,2250,1793,1659,2054,2031,2036,2644,3566,2834,1853,1619,1858,2148,2094,2061,2329,2842,3216,3422,3638,3666,3043,2672,2852,3038,3036,2921,2608,2640,2434,2198,2267,2244,2237,2018,1912,1618,1719,1677,1591,1579,1644,1603,1735,1971,1802,2219,2293,1891,1732,1711,1820,1960,2030,1772,1675,1638,1576,1648,2087,2067,1542,1462,1609,1938,1864,1505,1401,1524,1803,1868,1524,1234,1464,1892,2101,1923,1782,1940,2301,1853,1527,1592,1573,1435,1489,1581,1981,2462,1975,1496,1478,1430,1495,1478,1729,2058,1789,1913,1960,1740,2048,2845,3146,2611,2320,2198,2095,2196,1963,2146,2435,2713,2750,2328,2143,2284,2416,2082,2459,2460,2380,2129,2437,2720,2831,3063,3436,3864,3826,3609,3387,3044,2984,2386,2003,3121,3891,3936,3657,3759,4019,4064,3492,3199,2896,2717,2430,2501,2957,2866,3107,3096,3076,3269,3309,3354,3208,3021,3079,2723,1734,2128,2938,2619,2310,2894,3169,2732,2552,2693,2693,2025,2217,2656,2706,2923,3674,3458,2838,1974,1675,2177,2620,2179,1880,2185,1941,1610,1692,2252,2680,2178,1640,1705,1698,1617,1888,2200,2338,2437,2245,1815,1729,1755,1762,1632,1635,1748,1782,1558,1626,2043,1709,1379,2342,2530,1947,2013,2048,1820,2880,3340,2315,1543,1663,1917,1862,1690,1895,1861,1738,1815,1987,2197,2400,2481,1898,1622,1728,1880,1923,1531,1684,2400,2979,2329,2012,2182,2254,2332,2371,1960,1700,1852,1924,2171,2378,2032,2162,2206,2439,2260,1926,2054,2688,2974,2413,1719,1925,2366,2209,2475,2698,3253,3149,3075,3249,3505,3618,2850,2246,2202,2127,2031,2103,2067,2007,1901,1482,2260,2596,2330,2229,2437,2396,2280,2713,3750,3355,3190,2980,2339,2335,2500,2601,2595,2588,2153,1812,2076,2260,2408,2429,2453,2193,2170,2302,2715,2811,2697,2685,2691,2513,2497,2771,2746,2934,3040,3175,2847,2747,2467,2750,2443,1726,1849,1947,2018,2219,2040,2465,2815,1760,2084,2630,3146,3560,3806,3848,3818,3771,3309,2689,2954,2877,2214,2045,2626,3563,3464,3212,3118,2532,2349,2874,3424,3948,3562,3161,3179,3267,3042,2758,2404,2160,2196,2243,2327,2407,2213,2331,1913,1764,2195,2211,2586,2182,2380,2448,2264,2360,2997,3116,2989,3363,3504,3189,2477,2534,2945,2070,2635,3565,3935,3433,3609,4423,4651,4524,4307,4199,4184,3774,3120,3705,4352,4659,4655,4751,4884,4797,4653,4499,4439,4355,4257,3953,3656,4016,3774,2558,1444,948,1070,1274,1481,1470,988,903,1008,988,889,806,809,938,988,922,1488,3143,4684,5180,5367,5457,4977,3729,2444,2122,2248,2372,2061,1709,1470,1311,1478,1490,1441,1782,1586,1235,1379,1864,1918,1991,2575,3310,3520,3133,2038,1532,1805,1881,2127,1918,1749,1870,2308,2277,1916,2187,2127,1807,2120,2332,2080,1912,1795,1673,1437,1111,945,908,1133,1572,2039,2084,1769,1655,1516,1497,2050,2604,2385,3765,5016,4474,4183,3450,2441,2711,3243,3228,2777,2535,2464,2062,1676,1433,1310,1499,1652,1465,1094,1116,1277,1155,1363,1326,1473,1451,1252,1334,1483,1633,1677,1760,1815,1981,1993,1811,1873,2302,2536,2243,2137,1985,1863,1981,1725,1272,1051,998,968,974,1063,1331,1694,1844,1534,1574,1656,1460,1262,1199,1222,2425,4423,4980,5179,5064,4458,4133,3512,3232,3424,3649,3619,3138,2291,1473,879,798,924,790,774,774,744,572,496,458,436,405,382,385,352,350,340,355,360,361,364,372,354,371,353,321,328,334,333,326,321,321,324,316,317,312,306,307,306,304,302,313,320,319,318,321,329,333,340,340,338,337,333,333,335,336,338,340,334,328,326,328,335,333,333,332,327,324,320,311,307,304,304,327,378,400,521,632,805,947,843,526,346,346,317,432,539,400,321,299,304,408,555,523,393,364,361,390,429,448,459,479,426,397,377,356,358,358,349,355,355,356,359,355,362,374,379,389,383,422,429,372,392,415,433,462,484,527,570,563,535,491,445,432,433,463,514,501,545,738,820,919,871,759,935,916,894,921,749,741,868,715,696,600,532,518,467,435,412,397,385,368,353,340,339,339,343,346,335,351,343,330,314,302,290,274,288,346,376,374,352,345,346,336,321,308,302,307,327,318,308,330,325,336,351,357,365,366,370,372,392,419,438,452,454,448,441,433,420,415,408,400,392,415,446,448,438,479,567,586,594,677,671,707,652,777,776,645,577,519,476,474,457,428,425,473,517,456,501,526,424,403,437,424,387,364,373,401],[2126,2380,2205,2125,2019,1650,1687,2418,3058,3204,3172,3205,3113,3089,3165,3096,3141,3110,2988,2945,2958,3003,2980,2940,2529,2205,2258,2449,2398,2643,2930,3454,3641,2903,2498,2382,2211,2022,1967,2287,3282,3408,2927,2590,2027,2367,2531,2366,2811,3259,2734,1857,1863,1946,1634,1993,2824,2511,2301,2006,2291,2376,1842,1683,2316,2588,2580,3388,3476,2820,2384,2012,2143,2218,2634,3031,2846,2723,2900,2732,2780,2676,2410,2276,1899,2122,2034,2756,3415,3013,2084,1526,2191,2479,2356,2283,2198,1576,1406,1831,2376,3052,3098,2990,2815,2562,2398,2286,1992,2166,2493,2832,2814,3061,3244,3643,3806,3569,3753,3725,3981,4144,4112,3763,3769,3748,3747,3664,3430,2881,2234,2033,1977,1793,1947,1999,2304,2765,2518,2686,3009,3373,2668,1864,1500,1381,1698,1866,2139,2563,2332,2148,1744,1384,1678,2215,2448,2033,2072,2270,2269,2260,1792,1785,1534,1515,1119,1481,1996,1926,1854,2259,2642,2498,2320,2361,2353,2459,2604,2792,2592,2014,1627,1764,1924,2584,2956,2517,2416,2138,2142,2597,2356,2532,2622,2928,2691,2711,2996,2880,3220,3162,2831,2579,2067,1947,1920,1987,2373,2662,2318,2223,2057,1781,1682,1493,1487,1597,1552,1658,1698,1854,1730,1768,2026,2036,2144,2074,2000,2141,1948,1572,1652,1937,2016,1671,1570,1657,2110,2153,1910,2015,2047,1808,1722,1976,2066,1811,1803,1858,2559,3438,3282,2975,2511,2158,1759,1874,2274,2792,2566,2130,1981,1988,2219,2113,1948,2209,2116,1813,2315,2558,2705,3227,2865,2263,2181,2036,2288,3555,2728,2791,3178,3166,2876,3100,3764,3662,3143,3069,3005,2758,2082,2138,3298,2979,2390,2250,2507,2518,2368,2329,2327,2424,1690,1495,1738,1749,1423,1375,2146,2880,3046,3095,2718,1802,1736,2056,2154,2144,2372,2192,1770,1561,1506,1920,2274,2775,3116,3018,2780,2786,2766,2369,2248,2345,2571,2141,2152,2242,2083,1769,1775,1718,1737,1861,1986,1932,1942,1928,1757,1719,1688,1790,1820,1862,1925,1891,1990,1985,1953,1967,2081,2115,1956,1916,1952,1885,1966,2416,2351,2236,2259,2327,2809,3388,3643,2933,2385,2607,2951,2894,2432,2266,2187,2142,2345,2840,3349,3052,3244,3849,4280,4417,4264,3823,3723,3583,3270,2874,2856,3014,3276,3318,3304,3575,3880,3684,3373,3050,2957,3132,3028,2949,2391,1633,2010,1924,1848,1803,1746,1775,2238,2665,2759,2918,2700,2249,2532,3375,3161,2107,1510,1628,2066,1991,1694,1870,2114,2002,1902,2226,2414,2281,2151,1587,1494,1704,1728,1898,1806,1692,1784,2325,2691,2654,3227,3519,3286,2966,2472,1999,1788,1903,1644,1455,1940,2646,2806,2216,1757,1542,2091,2490,2236,2526,2542,2283,1965,2272,2012,1624,1618,2036,2526,2200,1888,1772,2027,1881,1988,2116,2330,2523,2526,2134,1735,1733,1874,1802,1692,2044,2376,2371,1936,1733,1808,2358,2631,2419,2402,2431,2376,1988,1873,1815,1693,2204,2204,2354,2240,1756,1458,1597,1751,1682,2078,2409,2216,2157,1860,1950,2088,1875,1851,1614,1513,1535,1510,1644,1686,1522,1656,2071,1932,1725,1769,1710,1865,1973,1978,2078,2248,2730,3022,3151,3287,3038,1922,2178,2376,2154,1942,1815,2056,2522,2574,2197,2515,2569,1711,1600,1599,1553,2116,2188,1951,1804,1518,1560,1966,2047,1610,1876,1997,1905,2142,1930,2208,2240,2020,1858,1767,2003,2243,2314,2532,2604,2990,1930,1774,1824,1512,1782,2030,1818,1378,1416,1700,1728,1523,1325,1383,1515,1584,2126,2073,2354,2564,2565,2129,1630,1712,1928,2313,2007,1942,2104,1987,1666,1414,1332,1694,1844,1856,1714,1572,1542,1496,1625,2132,2205,1573,1814,2019,2438,2587,2756,3348,3589,3218,2770,2886,2934,3172,2801,1834,1622,1689,1564,1450,1597,1731,1680,1636,1552,1682,1932,1655,1635,1623,1641,1702,1734,1469,1509,1954,1812,1410,1389,1332,1315,1268,1561,2295,1917,1724,1637,1418,1381,1627,1933,1845,1664,1776,1647,1741,1586,1882,1964,1918,2302,2524,2329,2160,2180,2370,2058,1850,1678,1706,1741,1600,1543,1622,1743,1882,1823,1786,1775,1692,1518,1500,1552,1857,2192,1901,1681,1492,1554,1579,1425,1404,1679,1874,1637,1496,1410,1384,1522,1440,1443,1750,1979,1778,1494,1864,2215,2173,1851,1762,2276,2094,1954,1550,1970,2144,2050,2198,2424,2163,2058,2767,3116,2761,2709,2381,2250,1887,2508,2598,2511,2183,1471,1593,2790,3471,3093,2396,2143,2230,2351,2552,3184,3317,2435,2231,2533,2482,2437,2910,2957,2819,2955,2412,2075,2358,2491,2523,2787,2601,2058,1704,1711,1700,1523,1374,1523,1456,1483,1599,1678,1601,1375,1380,1515,1508,1403,1412,1279,1326,1358,1360,1339,1527,1577,1418,1296,1278,1322,1351,1365,1382,1328,1432,1423,1418,1430,1328,1321,1379,1342,1344,1409,1665,1655,1556,1626,1395,1345,1444,1569,1751,1574,1554,1650,1458,1557,1636,1503,1489,1642,1550,1483,1425,1330,1584,1577,1672,1813,1809,2002,2017,2389,2800,2244,2025,1874,2241,2401,3282,2379,1647,1621,1537,1531,1762,2020,2335,2758,2985,3516,3648,3530,3340,3087,3212,3187,3250,3175,2863,2875,2811,2259,1897,1880,1916,1915,2041,1902,2138,1907,1622,1878,1974,1797,2238,2452,1753,1986,1808,1897,1923,1717,1718,1863,1901,1692,1522,1439,1545,1854,2357,2081,1584,1586,1679,1677,1688,1485,1410,1511,1622,1781,1714,1553,1738,1777,1704,1823,2082,2269,2536,2025,1415,1754,1982,1544,1572,1696,1875,1834,1669,1539,1801,1698,1695,1656,1522,1517,1599,1527,1791,2138,2252,2614,3019,2607,2263,2180,2433,2368,2237,2626,2518,2186,2426,2249,2125,2072,2189,2179,2656,3084,2985,2911,2906,2809,3009,3063,3460,3937,3487,3318,3288,3288,3006,2290,2434,2790,3262,3854,3827,3753,3874,3617,2858,2635,2556,2769,3112,3138,2798,2978,3256,2985,2633,2922,3110,3234,2958,2767,2696,2636,2162,1764,1770,2097,2853,3278,2978,2862,2828,2981,2996,2499,2500,2285,2464,2472,2953,3219,2910,2631,2330,2350,2603,2339,1954,2295,2136,1766,1896,2492,2551,1864,1544,1638,1614,1476,1548,1930,1996,1704,1518,1460,1546,1748,1688,1729,1848,2056,2218,1866,1621,1947,1804,1640,2267,2580,2522,2886,2624,2103,2370,2791,2676,2128,1894,1981,1946,2076,2003,2032,1690,1722,1787,1607,1994,2115,1572,1454,1621,1592,1884,1490,1484,2195,3122,2761,1973,2103,2518,2426,1995,1915,1940,1798,1634,1844,1889,1864,2027,1867,1760,1893,1930,1797,1874,2064,2008,1966,2320,2564,2934,3185,3038,3194,3522,3437,3053,3217,3598,3300,2769,2330,1960,1542,1455,1363,1732,1592,1370,1474,1742,1800,1748,1854,1824,1755,2249,3927,3594,3105,2844,2743,2744,2599,2482,2667,2939,2571,2156,1949,1935,2434,2762,2974,2469,2203,2154,2311,2679,3001,3088,2971,2689,2509,2525,2817,3044,2533,2894,2798,2653,2516,2778,2718,1980,2059,2260,2334,2414,1991,2466,2796,2674,2958,2997,3277,3464,3309,3320,3484,3817,3941,3850,3792,3509,2586,2268,2470,3162,3367,3178,3082,2779,3009,3384,3813,3565,3008,2986,2977,3276,3252,2866,2630,2428,2274,2326,2658,2357,2252,1903,1693,2364,2624,2775,2435,2322,2214,2078,2145,2497,2985,3029,2750,3300,3523,3120,2664,2994,3110,2652,3012,3365,3320,3094,3305,4246,4799,4891,4550,4163,3989,3680,3451,3574,4184,4675,4818,4940,4884,4795,4682,4660,4567,4451,4407,4119,3896,3934,4116,3715,2473,1314,1321,1496,1294,1102,877,772,928,1090,1010,893,841,998,1165,1096,1474,2950,4635,5323,5555,5528,5028,4117,2821,2272,2225,2380,2193,1759,1605,1316,1336,1501,1522,1821,1692,1341,1393,1866,2205,2224,2758,3654,3864,3618,2441,1570,1666,1825,2151,1951,1797,1976,2410,2345,1839,1824,2025,1968,1835,1803,1692,1480,1441,1545,1518,1220,971,869,989,1412,2031,2424,2219,1888,1780,1657,1871,2919,2613,3008,4865,5400,4909,4276,2777,2296,2958,3178,3000,2577,2440,2247,1874,1513,1335,1420,1671,1622,1254,1122,1279,1112,1244,1236,1354,1395,1367,1372,1382,1450,1607,1659,1660,1900,1982,1850,1798,2086,2514,2266,2096,2007,1954,2008,1860,1495,1131,1008,964,992,1076,1273,1582,1794,1679,1600,1641,1536,1356,1352,1442,2183,4026,4781,5136,5135,4626,4156,3495,3001,3085,3378,3431,3081,2430,1731,1043,859,859,767,747,762,676,562,535,485,468,418,389,410,364,358,345,338,339,347,354,363,361,356,339,327,335,333,331,323,322,322,322,320,320,310,299,299,298,299,299,298,302,300,305,310,318,326,330,327,325,323,320,320,328,333,324,320,323,325,329,333,336,335,335,330,331,323,314,301,301,292,303,316,357,376,487,602,644,887,1054,844,439,331,341,469,504,399,333,313,317,371,526,612,461,379,377,403,441,465,456,473,465,423,382,366,369,361,366,361,366,372,368,357,359,368,368,382,377,401,439,369,390,439,429,466,501,546,564,547,520,476,432,412,418,439,456,460,503,774,879,917,943,808,835,952,945,948,800,662,913,811,699,615,520,509,479,437,418,392,368,346,343,343,345,346,346,348,353,353,346,327,310,300,287,282,309,402,416,393,354,342,338,325,314,310,303,305,332,332,302,326,329,340,355,366,373,380,383,389,402,424,450,459,459,452,436,422,417,410,402,394,389,400,407,427,466,532,640,648,625,651,680,764,623,644,719,653,556,497,467,457,460,435,422,446,478,419,450,502,442,380,413,440,409,382,348,379],[2033,1952,1795,2057,2110,1970,1898,2806,3328,3207,3139,3031,3008,3059,3162,3252,3245,3034,2987,3096,2966,2696,2526,2640,2389,2348,2320,2536,2352,2419,3009,3750,3739,2814,2317,2371,2236,2217,2216,2386,3184,3550,3364,2962,2305,2235,2549,2291,2512,2736,2090,2199,2069,1782,1522,2178,2752,2061,1405,1553,1914,2182,2374,2352,2814,2905,2697,2409,1537,1583,2144,2357,2432,2807,3540,3278,3372,3055,2850,2893,2657,2459,2761,2373,2229,2910,2792,2413,3177,2734,1571,1607,2083,1963,2221,2402,1877,1408,1565,1639,2420,2830,2671,2851,2575,2442,2351,2031,2180,2351,2656,3012,2806,2707,2909,3196,2843,2651,3360,3626,3969,4279,4136,3853,3595,3584,3664,3311,3008,2942,2374,1589,1576,2165,2045,1861,2174,2556,2643,3251,3531,3575,3356,2529,2078,2359,2261,1949,2084,2298,2183,2105,1803,1721,2036,2234,2087,1989,2172,2149,2788,3223,2606,2173,1479,1117,1225,1641,2170,1960,1496,2125,2646,2496,2331,2358,2672,2578,2757,2651,2293,1725,1423,1361,1565,2181,2303,2371,2461,1906,1835,2146,1894,2154,2797,2742,2271,2209,2127,1993,2244,2740,3311,2862,1976,1818,1703,1672,1895,2152,2187,1979,1645,1553,1543,1737,2344,2308,1973,1761,1628,1737,1599,1660,1785,1811,1984,2123,2056,2063,2122,1974,1771,1674,1724,1528,1523,1365,1494,1714,1654,1672,1841,1979,2054,1830,1714,1685,1756,1798,1888,2576,2881,2158,1823,2081,2288,2143,1734,2003,1998,2034,2603,2448,2708,2074,1543,1646,1844,2457,2885,2865,3164,3418,2307,2569,2545,2484,2352,3375,3352,2766,2909,3075,2701,2875,3550,3662,3190,2927,2237,2431,2430,2258,2861,2845,2136,1792,2037,2078,2357,2794,2721,2642,1879,1681,2058,1819,1146,1320,2177,2546,2666,2462,1672,1332,2069,2302,2441,2574,2742,2644,2079,1682,1605,2021,2462,2872,2644,2555,2662,2881,2802,2525,2601,2597,2662,2222,2021,1979,1609,1729,1914,1932,1983,2074,2179,2009,1786,1751,1670,1613,1625,1707,1880,2251,2163,2169,2278,2192,2047,1821,1844,2365,2781,2312,1941,1964,2300,2603,2328,2177,2293,2404,2520,2925,3558,2705,2283,2516,2998,2944,2367,2373,2464,2556,2614,3162,3442,3108,3066,3242,3641,4102,3747,3530,3761,3549,2818,2577,2665,3034,3269,3133,3118,3517,3579,3248,3156,3161,3033,3033,3199,2750,2478,2417,2664,2685,2675,2400,2028,2075,2728,2789,2298,2483,2392,2154,2255,2787,2580,2155,2154,2311,2131,1906,1803,1552,1439,1614,2013,1952,2075,2470,2024,1807,1912,1882,1851,1944,1725,1709,1942,2409,2391,2834,3566,3518,3134,2775,2618,2380,1911,1782,1672,1837,2542,2663,2657,1620,1683,2110,1999,2001,2548,2790,2610,2218,1766,1634,1611,1566,1463,1529,1741,1810,1678,1520,2276,2390,2189,2249,2192,2244,2110,2098,2494,2535,2491,1953,2039,2570,2787,2854,2810,3182,3275,3203,3312,3093,3359,2940,2105,2225,2346,2533,2398,2454,2454,2720,2697,2124,1643,1612,1702,1709,1949,1934,2148,2658,2395,1887,1887,2094,1855,1625,1636,1876,2026,1822,1919,1841,2270,2327,1948,1775,1659,1691,1993,1754,1498,1629,1834,2129,2059,2142,2299,2184,1953,2002,2121,2002,1832,1966,1790,1720,1781,1807,2009,1942,1794,1720,1871,1951,2425,2343,2346,2724,2097,1741,1786,1624,1362,1735,1861,2641,3217,2766,2544,2692,2193,1631,1756,1906,2150,2278,2372,3113,2818,2198,2501,2151,1489,1641,1945,1563,1358,1533,1533,1490,1481,1309,1937,1783,1581,2186,2266,2637,2767,2553,2216,1874,1796,2222,2671,2111,2093,2130,1983,1801,1494,1438,1727,1794,1660,1488,1576,1692,1765,1585,2131,1900,1498,1504,1766,2087,2328,2845,3548,3480,3307,2686,2548,2637,2714,2360,1834,1812,2019,1934,1867,1962,1789,1704,1546,1548,1717,1851,1633,1399,1315,1543,1592,1479,1423,1401,1621,1775,1676,1542,1321,1225,1176,1650,2174,1744,1439,1321,1306,1521,1781,1697,1592,1511,1559,1728,2093,1515,1589,2194,2437,2504,2501,2444,2386,2668,2315,2333,2335,1615,1509,1799,1773,1696,1695,1771,1798,1731,1626,1528,1602,1610,1550,1527,2194,2057,1790,1464,1529,1587,1168,1098,1417,1672,1716,1462,1464,1444,1488,1547,1675,1648,1712,2045,1759,1585,1835,2336,2423,2240,1802,1594,1710,1642,1517,2082,2316,2158,2291,2531,2553,2476,2698,3233,2778,2684,2480,2319,2397,2668,2607,2378,2029,1289,881,2050,2966,3163,2948,2422,2478,2395,2041,2374,2619,2670,2855,2852,2522,2380,2904,2467,2213,2392,2210,2467,2657,2620,2721,2775,2628,2041,1463,1640,1986,1647,1430,1428,1468,1620,1656,1665,1521,1407,1421,1471,1573,1500,1594,1647,1609,1613,1462,1366,1539,1490,1372,1389,1445,1334,1203,1536,3013,1762,1663,1480,1350,1375,1354,1420,1281,1164,1377,1605,1785,1647,1562,1569,1524,1523,2289,2341,1876,1525,1715,1757,1607,1720,1628,1569,1432,1470,1443,1526,1438,1709,2183,1926,1740,1695,1670,1824,2172,3197,3279,2658,2589,2329,2167,1781,2521,2677,2165,2376,1977,1385,1870,2334,2689,2907,2784,3410,3749,3637,3577,3505,3397,3352,3340,3256,3270,2979,2603,1914,1781,2213,1994,1911,2369,2438,2240,1932,1903,2076,1936,1658,1647,1823,1768,1899,1944,2110,2008,1695,1603,1838,1882,1627,1598,1493,1492,1770,2459,2271,1986,2038,1697,1648,1715,1480,1520,1426,1412,1558,1847,1864,1955,2057,1925,1896,2232,2214,2157,1747,1449,1709,1885,1502,1487,1625,1852,1592,1698,2239,2248,1980,1790,1403,1388,1416,1409,1686,2362,2072,1960,2083,2188,2464,2493,2464,2757,3000,2864,2575,2230,2242,2307,2316,2071,2308,2382,2346,2791,3419,3208,2856,2990,2945,2665,2775,3065,3711,3393,3310,3287,2875,2763,3035,3226,2752,2520,2978,3232,3465,3501,2849,2547,2628,2939,3109,3288,3260,3032,3017,3343,3414,2956,2364,2232,2613,2909,2971,2938,3206,3182,2678,2618,3310,3710,3394,3045,3098,3125,3385,2849,2539,2309,2050,2130,2383,2710,2750,3169,3483,3230,2396,2415,2024,2083,2036,1933,1820,2051,2286,2079,1863,1767,1647,1622,1557,1698,1887,1785,1482,1439,1484,1438,1474,1606,1689,1831,1925,1847,1528,1529,1624,2077,1921,2117,2496,2874,2925,2468,2110,1758,1692,1981,2555,2752,2494,2142,2126,1980,2141,1876,1837,2164,2000,1995,2431,2119,1331,1591,1712,2236,1720,1701,1947,2641,2813,2495,2586,2710,2021,1723,2133,2708,1878,1860,1840,1825,2045,2061,2004,1826,1727,1980,1974,1763,1783,1880,2065,2154,2626,3119,2647,2569,3088,3341,3061,2512,2523,2755,2873,2588,2230,1827,1547,1471,1362,1460,1458,1428,1492,1548,1573,1557,1535,1579,1647,2260,4001,4059,2742,2198,2176,2158,2348,2291,2254,2298,2833,2845,2507,2134,2025,2134,2453,2775,2703,2297,2353,2661,2799,2749,2166,2127,2392,2386,2391,2335,2204,2874,3085,2718,2338,2382,2740,2370,2456,2498,2441,2384,2510,2405,2429,2613,2773,2871,3151,3350,3417,3676,4016,4107,4352,4345,4050,3598,3039,2955,3097,3339,3307,3264,3016,2718,3152,3740,3642,2941,2718,2806,3021,3212,3261,3392,3615,3728,3417,2850,2436,2274,2532,2121,2401,2688,2473,2461,2338,2473,2308,2398,2387,2445,2462,2706,2798,3147,3297,2931,3017,3319,3075,3171,3196,3329,3498,3218,3153,4061,4772,4932,4852,4507,4243,4272,4341,4214,4388,4764,4752,4813,4763,4892,4836,4684,4617,4554,4479,4433,4321,4083,3923,3939,3374,2044,1525,1431,1134,918,767,725,859,1231,1396,1172,1022,1146,1289,1302,1502,2428,4058,5162,5561,5493,5092,4328,3238,2573,2328,2463,2309,1809,1661,1341,1293,1512,1624,1838,1777,1479,1455,1764,2339,2630,2689,3614,3907,3880,2906,1870,1688,1731,1975,2077,1893,1844,2181,2285,1863,1643,1835,2053,1843,1656,1540,1411,1282,1367,1494,1384,1118,912,962,1263,1878,2510,2589,2186,2104,2125,2109,3225,3417,2669,3927,5604,5596,5029,3297,2688,3717,3687,3164,2822,2493,2329,2107,1688,1475,1340,1541,1646,1403,1199,1202,1331,1256,1129,1266,1379,1375,1382,1366,1346,1477,1587,1569,1722,1745,1727,1715,1821,2197,2311,2114,2019,1982,1937,1881,1682,1285,1045,1001,1051,1088,1221,1454,1689,1710,1611,1660,1600,1431,1572,1839,2276,3458,4410,5046,5180,4664,4038,3558,2851,2683,3157,3341,3139,2533,1919,1245,940,838,746,698,731,682,566,548,507,507,450,401,410,371,348,335,324,320,324,339,353,360,357,338,336,335,333,326,322,324,322,325,330,329,313,298,293,300,293,291,293,295,298,304,310,318,314,318,320,318,321,325,328,328,319,317,317,314,316,317,322,322,320,327,332,337,324,315,304,294,293,300,311,340,356,422,587,568,725,886,928,555,355,374,507,502,407,347,326,328,331,450,570,422,369,368,404,446,455,444,439,416,397,380,364,363,362,403,388,383,385,375,364,360,367,369,370,372,378,437,379,389,446,447,463,518,580,582,554,522,475,430,397,404,414,417,480,483,684,836,810,888,891,775,928,946,937,878,655,937,891,692,599,515,494,481,435,416,391,370,352,347,343,339,347,350,355,358,358,352,329,306,296,287,295,310,385,400,381,359,345,329,314,316,312,303,302,315,330,319,309,324,337,358,374,380,392,394,398,410,436,458,454,451,443,433,420,413,406,399,392,394,396,403,431,479,543,698,696,674,642,675,786,674,579,647,634,534,471,457,448,441,417,393,421,447,387,400,477,449,370,411,450,422,399,338,356],[2031,1567,1616,2305,2212,2216,2690,3453,3458,3203,3153,3147,3135,3009,2947,3060,3067,2941,3120,3174,2711,2388,2210,2873,3213,2665,2362,2547,2347,2412,2785,3275,2865,1781,1378,1818,1689,2086,2404,2805,3145,3230,3685,3471,2336,2324,2626,2286,2257,2096,2094,2512,2188,1626,1733,2457,2523,1641,1001,1556,2046,2188,2376,2876,3012,2817,2562,1721,1170,1981,2939,3182,2579,2539,3486,3352,3620,3031,3082,3187,2822,3079,3270,2661,2436,2906,2484,2047,2162,2163,1689,2202,2074,1889,2373,2453,1986,1882,1876,2080,2818,2665,2213,2602,2600,2274,2210,2389,2306,2302,2985,3051,2548,2466,2746,3393,3720,3335,2974,3116,3592,4006,3608,3371,3672,3653,3276,2621,2967,3020,2609,1856,1362,1877,1983,1996,2017,2290,2532,2811,3180,3422,3538,3099,3128,3286,2717,2060,2192,1929,2083,2141,1934,2070,2100,2083,2010,1930,1928,1764,3072,3785,3091,2104,1224,1246,1796,1817,1898,1857,2179,2972,3085,2681,2154,2398,2581,2319,2165,2004,2217,2117,1692,1882,2402,2331,2253,2514,2334,1847,2017,1990,1902,1978,2397,2636,2446,1871,1677,1587,1564,1924,2733,2669,2215,1811,1772,1831,1924,1842,1800,1827,1702,1552,1474,1766,2577,3152,2661,1847,1779,2078,2212,2074,1745,1664,1790,1866,2018,2120,2040,2103,2122,1882,1687,1486,1496,1437,1525,1741,1592,1819,1966,1998,1928,1951,1692,1698,1844,1836,1922,2183,2213,1881,1974,2490,2536,1946,1908,1731,1710,2037,3131,3748,3633,2702,1882,1980,2500,2909,2711,3099,3316,3082,2319,2431,1892,2459,2334,2539,2608,2047,2512,2832,2679,2724,2712,3096,3024,2845,2303,2614,2745,2163,1698,1563,1724,2333,2432,2469,2590,2990,2806,2590,1927,1771,1981,1828,1490,1567,1892,1860,2047,1775,1198,1713,2755,2697,2671,2294,2188,2276,2301,2160,2210,2382,2094,2417,2496,3062,2920,2637,2912,3017,2964,2689,1951,1590,1959,1776,1449,1755,1604,1654,1877,1898,1777,1722,1694,1826,1838,1714,1694,1864,2070,2178,1786,2170,2138,2331,2200,2017,1822,2094,2546,2302,1931,2062,2102,2378,2820,2562,2498,2474,2290,2339,2872,2776,2585,2944,3589,3475,2887,2745,2755,2996,3426,3699,3082,2754,3062,3344,3353,2976,2678,2865,3068,2645,2198,2230,2222,2763,2942,2670,3200,3914,3714,3127,2823,2871,2880,3066,3317,2836,2406,2720,3089,3217,3051,2352,1938,2255,2721,2533,2347,2482,2333,2086,2554,2819,2480,2304,2652,2563,1992,2005,1887,1664,1700,1785,2165,1752,1752,2203,1746,1910,2381,2173,1998,1966,1671,1813,2088,2090,2005,2921,3152,2797,2699,2774,2727,2558,2068,1692,1727,2126,2432,2097,2294,1698,1952,2045,1749,1613,2254,2574,2448,2258,1893,1594,1689,1858,1541,1742,1759,1626,1485,1569,2468,2520,1827,1959,1659,1461,1571,1902,2204,2224,2079,1963,2119,2657,3342,3244,3350,3146,2196,2676,3172,2843,3028,2672,2445,2561,2568,2645,2584,2464,2268,2177,2525,2241,1711,1749,1776,1677,1748,1856,2237,2808,3153,2565,2093,2319,1974,1750,1808,2625,1864,1813,2130,2377,2669,2257,1994,1973,1560,1804,2352,2228,1894,1874,2289,2243,1826,2011,2062,1957,1973,1959,1945,1781,1635,1847,1827,1734,1688,1569,1975,2709,2547,2091,2280,2059,1735,1983,2472,3021,3038,2271,2224,2110,1981,1825,1899,2401,3010,3360,3054,2654,2014,1606,1840,1858,1888,1966,1898,3043,3166,2566,2173,1781,1690,1765,1840,1460,1550,1570,1562,1383,1372,1827,2399,1965,1717,1886,1828,2233,2478,2601,2447,2416,2106,2430,2283,2162,2129,1903,1896,1854,1681,1644,1831,1449,1438,1402,1722,2285,1810,1556,1717,1672,1738,1749,1512,1511,1585,1956,2714,2987,3007,1966,1698,1830,1936,1913,1776,1721,1862,2013,2139,1844,1726,1824,1493,1504,1548,1446,1437,1446,1512,1601,1453,1469,1698,1556,1770,2035,1831,1756,1458,1288,1315,1475,1545,1375,1329,1540,1322,1544,1808,1678,1470,1549,1483,1791,1624,1339,1600,2229,2227,1825,1960,2041,1895,2075,1976,2479,2521,1894,1756,1721,1785,2106,2248,2055,1693,1502,1522,1368,1466,1522,1682,1819,2016,1699,1534,1486,1673,1581,1094,1246,1678,1575,1506,1327,1350,1393,1619,1653,1896,1935,1965,2106,1847,1785,1992,2647,2918,2353,1689,1391,1570,1569,1638,1910,1872,2065,2542,2542,2710,2473,2126,2656,2714,2600,2507,2513,2797,3055,2906,2428,2348,1606,816,1828,2515,2933,2777,2733,2587,2069,2210,2664,2556,2577,2919,3430,2795,2697,2424,2221,2314,2525,3097,3360,2840,2654,2800,2536,2681,1876,1214,1466,1643,1446,1421,1699,1936,1947,1873,1593,1524,1506,1645,1485,1472,1469,1361,1800,2094,1966,1656,1461,1389,1334,1305,1486,1561,1356,1418,1376,1758,1444,1590,1464,1346,1349,1331,1348,1315,1420,1557,1713,1666,1555,1473,1380,1418,1342,1798,1852,1625,1752,1765,1478,1444,1466,1370,1746,1532,1395,1480,1522,1433,1438,1672,1938,1789,1445,1770,1760,2199,2433,2416,3440,3747,3104,2335,1526,2299,3038,2252,2329,2022,2170,2447,2486,2724,2842,2778,3007,3431,3635,3505,3251,3007,3320,3414,3206,3090,2586,1854,1947,2438,2944,2480,2077,2351,2471,1998,2010,1980,1925,1612,1443,1846,1983,1804,2124,2249,2193,2094,1677,1633,1550,1556,1515,1604,1594,1526,1784,2263,2087,1892,1795,1478,1479,1655,1566,1493,1425,1693,1686,1793,1981,1909,1599,1407,1722,1764,1597,1865,1968,1942,1990,1898,1918,1738,1844,2261,1963,1846,2128,1950,1963,1965,1615,1453,1451,1919,2299,2736,1905,1653,2276,2943,2740,2370,2630,3032,3488,3325,2854,2525,2476,2364,2353,2032,2193,2379,2378,2968,3550,2856,2612,3261,3238,3034,2971,2994,3177,3260,3176,2909,2402,2278,2834,3210,2729,2548,2539,2778,2998,2584,2395,2549,2755,2967,3009,3083,3249,3306,3132,3271,3247,2090,1405,1672,2420,2608,2426,2921,3659,3702,3702,3342,3060,3362,3287,3081,2790,2976,2990,2592,2374,2614,2512,2008,2350,2380,2347,3169,3616,3256,2149,2109,1962,2023,1954,1614,1477,1716,1991,2083,2103,1792,1698,1856,1782,1794,1704,1580,1493,1480,1491,1467,1579,1701,1578,1639,1661,1622,1742,1776,1760,2062,2025,2634,3233,3196,2952,2392,2074,2009,1906,1780,2185,2908,2832,2230,2040,2294,2391,1901,2053,2155,2051,1851,2069,1753,1357,1609,2002,2489,2115,2115,2397,2492,2802,2684,2245,2271,1804,2021,2271,2924,2112,1703,1908,2249,2274,2225,2016,1788,1720,1944,1832,1662,1753,1911,1917,1635,1802,1910,1614,2226,2943,2305,1790,1773,1866,2475,2478,1942,1425,1230,1223,1368,1410,1512,1517,1391,1405,1378,1452,1524,1521,1564,1611,2371,3798,3617,2241,1904,2024,2062,2054,2020,2001,1869,2561,2922,2996,2497,2068,1745,1549,2054,2474,2630,2397,2551,2625,2388,2380,2287,2120,1753,2004,2361,2331,2602,2596,2401,1995,2434,2996,3175,3235,2977,2868,2753,2494,2508,2834,3143,3486,3618,3436,3195,3011,3074,3812,3951,4263,4274,4123,3838,3623,3802,3987,3694,3114,3317,2661,2916,3639,3961,3461,2836,2592,2644,2909,3222,3240,3275,3684,4163,4147,3760,2663,2705,2767,2690,3271,2834,2377,2270,1999,2286,2199,2850,2349,2086,2546,2866,2797,2968,3008,2788,3089,2944,2537,3205,2612,2685,3441,3530,3659,4204,4617,4848,5053,4960,4628,4596,4640,4376,4291,4396,4138,4451,4602,4796,4777,4728,4744,4580,4499,4497,4424,4068,3443,3638,3650,2994,1913,1187,973,783,657,709,747,1113,1825,1989,1335,1338,1480,1561,1785,2510,3789,4915,5428,5339,5116,4556,3653,2999,2482,2653,2442,1846,1677,1432,1374,1572,1741,1888,1815,1581,1609,1780,2391,3079,3000,3493,3834,3762,3103,2187,1749,1696,1853,2126,1985,1687,1933,2271,2035,1712,1689,1715,1644,1546,1454,1335,1235,1226,1336,1429,1296,973,911,1116,1744,2400,2667,2541,2454,2535,2586,3510,4155,3031,3300,5073,5737,5355,3972,3300,4281,4413,3508,3077,2811,2460,2320,1880,1607,1335,1414,1627,1562,1338,1111,1263,1306,1158,1239,1298,1391,1405,1380,1316,1372,1500,1553,1617,1587,1642,1668,1650,1996,2234,2077,1990,2001,1860,1878,1764,1506,1218,1124,1164,1126,1180,1406,1592,1660,1576,1660,1633,1458,1682,1958,2265,2938,3996,4856,5079,4616,3915,3619,2855,2344,2855,3174,3123,2563,2016,1480,1083,892,770,750,754,747,589,561,530,507,468,427,408,375,353,333,321,311,312,334,360,368,361,347,340,337,326,318,321,325,322,325,334,337,317,299,291,295,289,281,283,286,296,304,313,315,313,320,319,317,321,322,328,323,321,319,318,317,315,309,310,316,321,328,337,340,328,316,303,294,292,297,309,324,359,387,561,528,604,723,871,746,487,420,522,533,427,355,331,330,340,487,539,452,391,378,379,404,420,431,427,420,401,377,355,357,357,403,406,394,392,378,367,364,373,378,366,366,356,425,393,386,454,482,470,516,564,543,573,527,488,435,395,387,405,410,450,473,612,770,749,810,971,778,866,976,951,933,683,827,858,680,608,522,496,474,415,402,384,363,342,339,345,350,359,367,363,367,367,359,340,324,324,327,311,355,385,361,351,354,347,325,312,305,306,298,296,309,318,324,305,309,336,358,371,391,401,399,400,405,431,450,452,440,436,431,416,408,400,394,386,384,394,415,437,503,573,683,651,641,653,669,719,659,561,572,606,543,460,431,451,426,393,369,399,436,393,387,453,462,370,417,453,442,416,353,331],[2556,1823,1642,2237,2431,2606,2965,3465,3387,3166,3176,3152,3113,2986,2919,3137,3106,2762,2418,2266,2350,2752,2782,2854,3161,3125,2791,2489,2670,2709,2481,2331,2350,1881,1359,1127,1038,1722,2352,2733,3266,3212,3098,2299,1713,2006,1976,1824,2006,2054,2300,2563,2354,2174,2439,2398,2144,1784,1617,1839,1847,2028,2509,3010,2915,2630,2625,2215,2131,2813,3334,2911,2092,1809,2846,3432,3168,2555,2609,2657,3070,3373,2973,2400,2417,2437,1936,2398,2667,2951,2587,2411,2092,2225,2702,2713,2336,2328,2646,2700,2954,2687,2167,2525,2522,1988,2165,2600,2345,2642,3242,2710,2375,2243,2295,2624,3012,3299,2243,2064,3007,3731,3537,3387,3646,3428,2775,2572,3105,3416,3272,2676,1848,1822,2010,2010,2183,2362,2133,1925,2270,2137,1837,2453,3220,3055,2618,2565,2287,1694,1988,2275,1857,2311,1951,2094,2050,1887,1949,1698,2967,3683,2724,1877,1458,1490,1804,1853,2054,2281,2587,3150,3076,2344,1892,1995,2131,2292,2382,2473,2879,2996,2709,2524,2519,2291,2357,2508,1852,1816,2314,2286,1928,2269,2727,2554,2242,1808,1676,1625,1551,1765,1870,1990,2111,2105,2042,2149,2315,2124,1851,1681,1677,1513,1660,1824,1787,2360,2286,1909,2298,2746,2679,2198,1532,1882,1758,1521,1764,1510,1809,2166,2186,2164,2034,1776,1807,1814,1770,1682,1564,1815,1987,2004,1961,1964,1720,1747,1877,1812,1826,1938,1818,1481,1835,2360,2359,1626,1865,2030,1922,2520,3407,3397,3316,2932,2093,2105,2287,2065,2008,2995,2817,2634,2428,2263,2221,2205,2040,2082,2007,1800,2325,2885,3139,3215,3217,3343,3385,3176,2563,2463,3032,2987,2332,1920,2335,2678,2693,2689,2385,2509,2548,2397,1956,1841,2088,2258,2255,2211,2069,1851,2148,2039,1537,2039,2447,2444,2514,2303,2058,1919,1872,2273,2459,2648,2050,2131,3176,4184,3407,2865,3332,3498,3287,2459,1376,1483,2072,1703,1363,1677,1703,1608,1765,1780,1727,1516,1444,1780,1969,1970,1802,2178,2415,2074,1964,2320,2596,2384,1921,1808,1636,1708,2052,2195,1941,1947,2118,2547,2985,2618,2399,2463,2453,2748,3175,3216,3230,3598,3784,3596,3076,2769,2790,3225,3472,3344,2158,1654,2263,2789,2881,2592,2203,2362,2446,2279,2154,2039,1941,1962,2106,2473,3507,4140,3655,2766,2769,2877,3044,3250,3397,3200,2910,2864,2792,3105,3175,2478,2101,2435,2518,2695,2957,2832,2276,1759,1972,2323,2198,2176,2434,2124,1799,1981,1830,1958,2187,1923,1880,1689,1662,1676,1500,1592,1991,2219,2234,1839,1710,1824,2177,2065,2526,3727,3153,2334,2935,3294,2863,2216,1751,1676,1604,2070,2144,2444,2182,1827,1902,2004,1909,1870,2011,2402,2388,1876,1834,1787,1797,1770,1737,1704,1442,1482,1570,1592,2178,2518,2092,2158,1657,1480,1920,2352,2143,1831,1775,1968,2069,2596,2924,2827,3293,2556,1963,2416,2654,2608,2586,2287,2494,2689,2561,2523,2507,2475,2172,2211,2963,2791,2132,2328,2136,1675,1799,2397,2833,3207,3415,2965,2555,2758,2238,1897,1951,2143,1678,1945,2435,2546,2478,2251,1974,1732,1444,1709,2201,2524,2734,2561,2770,2326,1644,1757,1837,1690,1694,1741,1906,1970,1919,1932,1953,1978,1933,1802,2202,2526,2359,2407,2431,2320,1971,1869,1971,2368,2637,2252,2153,2066,2051,2087,2028,1621,1867,2591,3132,2701,1841,1620,1722,1728,1703,1460,1813,2634,2769,2365,1870,1892,2040,1581,1429,1440,1649,1482,1832,1874,1518,1698,2181,1963,1862,2038,1749,2282,2133,1946,2555,2745,2372,2411,2110,2188,2212,1985,1621,1583,1512,1654,1698,1333,1404,1498,1482,1614,1654,1693,1531,1513,1868,2030,1675,1566,1554,1601,1686,1991,2110,1832,1653,1646,1804,1837,1646,1788,2106,1885,1963,1923,1918,1742,1468,1427,1334,1331,1291,1320,1400,1542,1721,1791,1776,1896,2087,2040,1585,1645,1560,1469,1482,1423,1482,1528,1857,1749,1443,1687,1860,1682,1412,1360,1358,1428,1280,1200,1434,1693,1671,1471,1488,1603,1645,1461,1525,1666,1636,1615,1659,1529,1503,1802,2238,1958,1501,1602,1989,1843,1736,1569,1766,1870,1625,1442,1432,1753,2358,2080,1426,1704,2025,1733,1597,1512,1471,1605,1679,1541,1523,1551,1475,1477,1641,1611,1866,2121,2366,1954,1532,1401,1408,1421,1524,1672,2162,2355,2568,2294,2627,2221,2021,2409,2697,2616,1997,2084,2710,2986,2888,2701,2584,1495,697,1594,2858,3747,3501,2994,2601,2239,2881,3244,2699,1896,2198,3117,2985,2840,2460,2647,2809,2526,2633,3095,2942,2683,2788,2676,2916,1928,1583,1677,1548,1442,1458,1878,2025,2055,2043,1637,1456,1425,1565,1559,1676,1599,1339,1466,1743,1656,1521,1550,1435,1345,1301,1444,1508,1463,1622,1521,1532,1498,1407,1448,1387,1431,1265,1309,1347,1411,1569,1445,1274,1936,1973,1566,1370,1216,1388,1580,1843,2284,1921,1336,1246,1324,1101,1344,1311,1386,1584,1533,1446,1530,1680,2101,1865,1645,1984,2451,2871,2156,1947,2790,2722,2511,2351,1650,1795,2737,2298,2196,2675,2788,2501,2504,2472,2485,2648,2524,2780,3308,3331,3203,3064,3147,3009,2857,2513,2618,2675,2898,3051,3152,3105,2922,2523,1960,1599,1624,1747,1777,1577,1697,2242,2215,1898,1866,1803,1978,1905,1747,1704,1626,1575,1521,1542,1492,1547,1796,1935,1957,1882,1696,1462,1485,1614,1670,1565,1641,1884,1987,1843,1851,1815,1523,1637,1820,1683,1566,1802,2217,2169,2146,1951,1914,1867,2021,2127,1964,1712,1398,1462,1882,2142,1698,1419,1396,1895,1964,2009,2047,1808,2046,2689,2561,2281,2514,2776,3414,2873,2073,2105,2376,2366,2400,2122,1970,2313,2332,2734,2984,2494,2962,3638,3459,3306,2962,2858,2972,3168,3205,2964,2744,2896,2980,2975,2651,2851,2617,2857,2603,1782,1801,2114,2376,2541,2643,3010,3128,3113,3117,3288,3371,2744,2541,2802,2988,2695,2057,2367,3479,3640,3719,3200,2911,3032,2987,3046,2800,2699,2576,2548,2461,2280,2269,2229,2062,1963,2123,2588,2658,2086,1791,2003,1979,2017,1989,1584,1627,1946,2091,1882,1721,1665,1961,1952,2175,1967,1648,1690,1654,1540,1412,1362,1582,1631,1614,1470,1581,1712,1998,2192,1922,1720,1914,2776,3453,3221,3029,2272,1810,1969,1870,1603,1847,2455,2476,2103,1850,2198,2613,2003,1972,1828,2123,1834,1786,1643,1737,1660,1804,2359,2504,2535,2596,2382,2271,1956,2708,2659,2348,2125,1884,2055,1972,1789,2174,2487,2379,2542,1948,1582,1481,1603,1589,1551,1599,1770,1757,1559,1758,1965,1806,2183,2542,1659,1407,1829,1691,1731,1997,1579,1216,1304,1406,1296,1335,1533,1473,1454,1406,1177,1294,1418,1310,1318,1308,1989,3206,2773,1742,1853,2104,2117,2075,2042,1952,1836,2509,2797,2835,2850,2293,1685,1625,1943,2388,2850,2572,2793,3130,3256,3174,2855,2366,2107,2634,2811,2463,2570,2777,2987,2177,2736,3196,3300,3253,2977,2811,2887,2911,2917,3332,3510,3510,3363,2863,2599,2431,2862,3886,4339,4395,4124,3321,2734,3139,3542,3353,3316,3141,3021,2758,3452,3921,3652,3376,3012,2711,2657,2827,2966,2999,3107,3187,3722,4147,3730,3210,3124,2836,3022,3152,2451,2331,2060,2183,2102,2200,2276,1879,1916,2856,3065,2861,3115,3011,3078,3244,3178,2966,3639,2853,2806,3367,3640,3885,4232,4455,4631,4871,4731,4483,4320,4217,3828,3738,3797,3668,3992,4228,4392,4388,4369,4300,4231,4316,4385,4303,4099,3637,3869,3780,3759,2576,1259,988,880,653,647,664,838,1707,2853,2199,1744,1931,2050,2285,3234,4208,4904,5392,5292,4968,4736,3984,3320,2609,2618,2471,1923,1605,1466,1465,1593,1730,1824,1783,1659,1923,2165,2568,3363,3793,3674,3852,3716,3150,2462,1793,1654,1794,2094,2058,1623,1712,2213,2229,1913,1715,1680,1598,1476,1410,1278,1228,1136,1278,1411,1415,1058,869,1013,1554,2236,2835,3082,3097,2983,2774,3560,4616,3642,3230,4643,5659,5463,4572,3571,3745,4328,3920,3260,3084,3033,2613,2060,1741,1393,1305,1519,1601,1436,1155,1233,1422,1261,1316,1230,1372,1369,1429,1342,1342,1450,1551,1570,1511,1584,1596,1573,1829,2071,2116,1929,1986,1808,1820,1734,1569,1377,1306,1384,1222,1125,1376,1508,1606,1532,1603,1675,1496,1654,1915,2114,2606,3497,4385,4804,4589,3902,3581,2972,2211,2544,2981,3006,2591,2155,1755,1391,1102,855,789,783,837,635,553,540,500,469,459,433,399,374,358,339,326,320,328,363,369,363,354,347,331,316,308,316,319,324,325,332,334,322,305,295,293,293,281,276,281,296,304,313,317,315,314,311,314,322,324,321,321,324,325,324,321,315,308,316,327,338,342,344,347,338,323,308,291,281,291,309,319,359,367,513,526,537,627,820,1004,917,561,508,555,444,368,322,322,322,423,527,450,371,377,373,409,424,426,426,415,396,372,354,348,354,375,392,401,393,381,369,365,370,377,366,367,340,392,397,382,433,459,479,504,511,535,549,520,479,436,409,382,410,438,464,532,642,738,749,751,912,827,807,978,997,991,771,755,844,734,641,511,501,471,400,382,378,361,341,336,346,357,366,368,363,367,356,356,352,360,360,368,359,398,397,359,353,347,338,320,315,301,302,294,290,300,312,317,305,305,332,356,373,389,393,400,400,404,421,441,445,431,422,419,409,405,398,383,373,379,393,397,413,488,603,663,630,641,672,653,678,668,601,522,560,545,463,413,428,413,388,367,381,427,400,389,431,467,376,412,467,461,422,370,329],[2727,2506,2042,2229,2332,2512,2842,3172,2988,2851,3052,3165,3063,2967,3001,2847,2504,2287,2536,2829,2938,3088,2906,2563,2631,3295,3371,2765,3007,2340,2072,2235,2324,2323,1776,1203,1343,2121,2834,2830,2842,2451,2143,1641,1735,2276,1961,1142,1541,2231,2194,2355,2333,2503,2690,2395,2023,1910,2078,2232,2253,2397,2708,2966,2526,2188,2481,2642,2864,3266,3122,2271,2150,2042,2233,2688,2766,2889,2908,2940,3764,3604,3010,2630,2803,2498,2302,2584,2937,3296,3365,2966,2541,2529,2758,2834,2423,2739,3059,2738,2968,2830,2758,2775,2366,1792,1875,2113,2059,3030,3116,2712,2360,1961,1634,2220,2532,2600,2310,2556,3061,3099,3437,3655,3465,2675,2360,2995,3296,3608,3300,2528,2133,2226,2128,2009,2366,2216,1759,1555,1336,1138,1620,2184,2343,2218,2074,2099,1864,1407,1542,2224,2596,3098,2089,2164,2364,2232,2170,1781,2092,2563,2268,1983,2180,2004,1763,2147,2602,3072,3394,2702,2001,1725,2114,2323,2087,2357,2523,2480,2741,3510,3024,2071,2182,2018,2151,2404,2166,2171,2366,2221,1992,2316,2557,2511,2275,1941,2276,1996,2166,2327,1902,1614,1766,2245,1886,1866,2436,2416,1996,1882,2081,1847,1763,1979,2070,1974,2036,2469,2587,3008,2896,1870,1163,1804,1888,1565,1467,1069,1256,1970,2375,2266,2141,2086,2095,1998,1870,1666,1788,2057,2105,1968,1943,1951,1763,1721,1666,1582,1844,2019,1734,1563,2040,2049,1758,1704,2069,2047,1824,2400,3370,3438,3173,2511,2164,2065,1810,1389,2407,3588,3559,3011,2458,2126,1881,1930,2057,2003,2032,2046,2696,3133,2814,3388,3526,3366,3212,2822,2522,2369,2813,3083,2871,2440,2062,2228,2414,2249,2191,2305,2437,2330,1953,1762,2338,2283,2266,2116,2280,2084,2032,2624,2292,2095,2663,3164,3272,2757,2071,1882,1899,2185,2592,2623,2635,3451,4080,4295,3924,3645,3665,3564,2906,2220,2166,1794,1824,1780,1655,1748,1733,1764,1864,1762,1609,1568,1832,2502,2589,2281,2114,2476,2211,2052,2301,2633,2891,2386,2076,1887,1663,1729,2006,2092,2061,1953,2400,2741,2762,2529,2567,2877,3188,3448,3543,3557,3612,3707,3686,3429,3196,2976,3172,3415,3436,3009,1943,1459,1462,1650,1903,2486,2580,2385,2153,2288,2398,2437,2238,1907,1849,2376,3662,3897,2941,2396,2667,3046,3064,3050,3350,3432,3223,2813,2685,3081,3022,2185,2244,2503,2274,2378,2485,2587,2447,2401,2263,1871,1896,2262,2034,1978,2015,1763,1771,1955,1835,1797,1980,2025,1708,1685,1648,1769,1990,2816,2547,1696,1749,2020,2198,2691,3435,3846,3507,3111,3270,3488,2812,1957,1959,1789,1697,1909,2370,2708,2089,1745,2014,2149,2354,2374,2023,2781,2505,1736,1533,1652,1749,1826,1878,1682,1598,1720,1549,1359,1831,2471,2464,2754,2207,2237,2577,2212,2084,1897,1633,1626,1903,1869,1900,2706,3173,2468,2600,2578,2520,2587,2790,3235,3288,3189,2954,2666,2332,2286,2128,2799,3603,3601,3138,3100,2806,2114,1992,2792,3392,3103,3088,2789,2809,2429,2143,1847,1788,1896,1982,2174,2556,2495,2544,2386,1646,1428,1641,1809,1970,1830,1970,2010,2369,2192,1532,1629,1778,1660,1669,1676,1778,1676,2016,1969,1742,1886,1919,2034,2186,2302,2286,2489,2565,2347,2026,2093,1938,1969,1967,1671,1685,1729,1639,1876,2038,1626,1784,2502,2792,2478,1842,1506,1384,1526,1452,1360,1547,1844,2121,1814,1711,1896,1964,1732,1483,1411,1460,1505,2622,3057,1994,2048,2520,2205,1996,2018,1860,2532,1978,1638,2093,2548,2647,2399,2139,2220,2237,2215,1925,1563,1476,1704,1443,1379,1428,1502,1396,1217,1502,1898,1647,1710,1938,1641,1806,1813,1622,1531,1582,1550,1756,1839,1791,1707,1573,1702,1628,1636,2562,2390,2060,1673,1741,1671,1470,1398,1522,1544,1490,1477,1399,1658,1928,1714,1646,1853,2088,2050,1719,1582,1564,1533,1774,2328,2051,1675,1791,1622,1804,2016,1924,1673,1478,1322,1232,1361,1422,1392,1489,1454,1499,1567,1662,1628,1525,1498,1705,1623,1462,1548,1444,1488,1500,1732,2114,1906,1469,1559,1671,1737,1902,1981,1974,2007,1594,1412,1456,2143,2334,1973,1636,2094,2129,1666,1516,1474,1433,1532,1595,1653,1418,1356,1461,1548,1964,2603,2522,2078,1864,1572,1458,1699,1846,1679,1562,2222,3120,2930,2618,2072,2020,2029,2285,2243,2164,2201,1728,2272,2504,2722,2786,2857,2659,1484,662,1378,2612,2489,1694,1891,2342,2391,2147,2744,2938,2619,3024,3106,2874,2446,2076,2579,2875,2312,1838,2432,2942,2617,2613,2800,2871,2191,2143,2254,1991,1759,1598,1666,1561,1572,1598,1555,1451,1844,1666,1550,1790,1579,1324,1282,1328,1236,1282,1438,1412,1565,1532,1361,1429,1477,1494,1408,1589,1705,1567,1414,1315,1529,1283,1355,1381,1526,1750,1603,1295,1505,1472,1229,1144,1321,1428,1315,1418,1570,1422,1349,1318,1303,1230,1378,1584,1638,1830,2114,1871,1679,1643,1804,1558,2012,2957,3530,3659,2667,1918,2049,1844,2102,2615,2070,1549,1886,2028,1903,2524,2865,2696,2576,2668,2788,2753,2587,2734,2400,2464,2756,2835,2888,2800,2790,2652,2574,2896,3338,3373,3163,3232,3371,2950,1967,1632,1530,1644,1806,1713,1770,1835,1697,1650,1702,1824,1811,1703,1892,1997,1868,1641,1721,1848,1681,1824,2200,2482,2177,1811,1609,1488,1448,1864,2005,1993,1856,1982,2193,1830,1771,1865,1722,1627,1554,1623,1626,1551,1885,1874,1916,1941,1710,1790,2050,1772,1571,1479,1298,1215,1747,2238,1981,1597,1743,2817,2749,1996,2178,1932,1634,2024,2361,2492,2635,3177,2894,1825,1383,1619,2208,2508,2520,2470,2090,2100,2193,2752,2767,2934,3543,3726,3712,3695,3482,3177,2873,2740,2541,2430,2920,3024,2706,2585,2739,3147,3188,3238,2470,1466,1330,1532,1983,2378,2661,3404,3480,3210,3168,3204,3452,3465,2941,2659,3141,3027,2153,2293,3116,3038,3211,2438,2592,3098,2981,2846,2393,1828,2060,2622,2835,2631,2347,2248,1984,2269,2665,2770,2173,2206,2036,1641,1739,2286,2451,1847,1698,1970,2260,1901,1621,1580,2038,2276,2399,2254,2032,1784,1399,1379,1410,1484,1716,1718,1788,1764,1809,1646,1571,1595,1612,1676,1865,2579,3630,3428,3266,2514,1844,1556,1540,1856,2380,2276,1946,2006,1861,1725,2164,2256,1850,1814,2277,2072,1963,1897,1622,1405,1304,1484,1934,2201,2005,2168,2442,2213,2642,2349,2416,2523,1955,1660,1902,1882,2146,2589,2346,2567,1881,1507,1570,1510,1462,1468,1550,1748,1702,1702,1871,1904,1731,1628,1902,1642,1401,1526,1547,1676,1750,1487,1417,1378,1498,1294,1276,1388,1490,1486,1284,1260,1488,1532,1369,1291,1142,1776,3068,2191,1770,1880,1997,1962,1957,1877,1747,1858,2663,3137,3095,3150,2668,2340,2343,2468,2608,2792,2712,3142,3395,3172,3062,3206,3054,2932,3022,3166,2723,2172,2376,2648,2388,2648,3109,3204,2928,2714,2400,2739,3504,3131,2468,2872,3364,3088,2546,2213,2309,3103,4025,4383,4416,3841,2628,1793,2422,2978,2985,2802,2845,2593,2685,3415,3660,3515,3345,3033,2790,2898,2951,2918,3120,3210,3215,3286,3619,3330,2861,2925,2829,2841,2692,2173,2107,1839,2588,2223,2387,2198,2375,2666,3042,3209,2897,3329,3391,3408,3605,3386,2677,3280,3448,3340,2657,2823,3754,4252,4447,4620,4780,4259,3960,3798,3682,3482,3439,3706,3783,3719,3814,3872,3627,3536,3575,3919,4107,4308,4352,4319,4049,3870,3708,3761,2988,1693,1157,997,686,615,650,720,1194,2842,3157,2527,2587,2832,2956,3813,4813,5151,5404,5349,4860,4744,4232,3539,2819,2568,2437,2050,1590,1405,1505,1560,1660,1736,1778,1815,2321,2710,2917,3450,3993,3893,3818,3430,2922,2598,1918,1765,1776,2004,1989,1638,1620,2056,2311,2128,1797,1667,1686,1472,1368,1274,1198,1072,1161,1373,1502,1197,891,945,1355,2189,3282,3870,4006,3846,3181,3562,4684,4232,3407,4362,5611,5636,4889,3912,3371,3698,3926,3362,3001,3315,2836,2232,1855,1510,1286,1374,1535,1466,1245,1205,1424,1307,1397,1206,1283,1318,1439,1380,1341,1411,1502,1541,1481,1534,1570,1526,1723,2051,2107,1898,1902,1886,1832,1663,1551,1503,1428,1560,1357,1190,1390,1442,1537,1525,1516,1638,1549,1546,1751,1910,2335,3007,3769,4471,4432,3827,3586,3119,2326,2334,2733,2810,2620,2307,1903,1611,1343,1023,821,800,873,670,544,558,518,481,482,465,455,423,406,371,319,303,354,352,337,358,363,353,337,328,315,324,325,325,324,329,335,326,313,302,296,284,280,279,282,297,302,307,312,310,308,309,311,314,317,325,325,327,330,330,332,326,314,325,343,349,348,352,350,341,329,306,286,284,291,308,320,361,356,451,528,514,564,683,835,846,513,445,528,458,373,327,320,313,375,486,467,380,377,367,400,442,461,449,410,394,382,359,353,359,361,380,393,389,376,371,363,370,377,367,355,340,374,384,364,420,472,524,503,463,502,521,514,458,411,418,396,388,443,488,565,668,723,756,755,822,854,810,877,1077,1116,924,934,981,845,671,491,489,479,403,374,379,366,344,334,343,350,350,353,350,355,353,357,365,379,381,393,387,373,360,357,359,345,331,322,317,306,296,291,289,296,311,318,316,320,340,360,375,383,387,392,399,399,415,437,435,425,413,412,405,409,405,395,383,388,408,401,399,472,601,654,617,611,658,627,650,656,642,529,519,531,464,405,405,397,397,371,369,415,405,409,426,453,393,411,476,476,425,386,355],[2641,2580,2004,1985,2121,2529,3069,2988,2570,2665,2946,3061,2830,2569,2354,2432,2415,2497,2771,2966,3175,3098,2845,2421,2567,3480,3718,3042,2395,1785,2281,2883,2568,1980,1766,1728,1748,2116,2520,2495,2131,1887,1887,1997,2300,2293,1963,1678,2184,2727,2343,2363,2377,2420,2722,2731,2552,2299,2238,2410,2616,2766,2780,2683,2374,1926,2266,2765,3336,3335,2836,2217,2208,2366,2001,2158,2821,3239,3252,3518,3826,3536,2419,2131,1973,2422,3208,3640,3623,3469,3628,3619,3374,2828,2526,2635,2888,3018,3316,2820,2721,2917,2818,2589,2031,1576,1948,2028,2040,2941,2263,1968,2271,1995,1499,1957,2645,2731,2383,2432,2474,2618,3027,2709,2724,2441,3030,3475,3005,3150,2957,2191,2051,2017,2071,1983,1754,1710,1745,1295,932,1090,1742,2112,2007,1758,1759,1792,1583,1683,1789,2276,2798,2792,2171,2079,2690,2920,2477,1924,2161,2737,2547,2634,2298,2105,2269,2513,2755,3216,3489,2590,1807,2237,2784,2234,2185,2641,2528,2504,2768,3101,2374,2013,2215,1931,2532,3195,2788,2481,2384,1972,2243,2585,2633,2805,3204,2844,2729,2492,2526,2266,1978,1832,1826,1913,1735,1765,2042,2094,1820,2176,2646,2040,1455,1795,2127,1843,1983,2253,1965,2670,2644,1732,1627,2118,2280,1676,1340,1694,1818,2348,2696,2652,2654,2380,2101,2048,2071,2031,2016,2218,2255,1968,1794,1821,1914,1873,1647,1751,2171,2013,1674,1793,2299,2076,1741,1984,2013,1579,1528,2267,3367,3121,3010,2556,2599,2170,1528,1592,2588,3663,3847,2934,2765,2447,2131,2274,2272,2129,2146,2500,2636,2458,2611,3023,3000,3031,2822,2891,2687,2083,2101,2377,2542,1967,1263,1520,1842,1957,2067,2518,2611,2191,1880,1638,2042,2161,2508,2162,2337,2449,2311,2261,2448,3056,3695,3777,3105,2333,1755,1816,1838,2192,2680,2438,2866,3696,3941,3827,3377,3585,3941,3608,2797,2413,2503,1925,1836,1968,1858,1875,1990,2160,2167,1954,1993,2142,2597,3065,2722,2599,2597,2447,1991,2319,2742,2815,2356,1547,1449,1924,2003,2018,2336,2084,2003,2038,2620,3021,2925,2742,2954,3355,3606,3293,2854,2956,3379,3659,3709,3348,2854,2783,3122,3318,3442,3055,1786,1465,1476,1487,1605,2032,2845,3076,2768,2641,2789,2929,2898,3000,2879,2655,3526,3440,2652,2453,2683,3117,3271,3207,3103,3059,3191,3272,3212,2798,2614,2216,2489,2315,2208,2153,1983,2043,2347,2797,2526,1744,2522,2365,2125,2030,1708,1589,1854,1917,1831,1872,2533,3041,2172,1887,1941,2164,2689,3251,2320,1694,1754,2133,2438,2895,3341,3819,4029,3261,2798,3081,2856,2016,2325,2090,1911,1972,2337,2413,2102,2225,2181,1988,2427,2428,2144,2380,2097,1674,1703,1864,1950,2057,1918,1876,1864,1913,1578,1329,1655,2386,2326,2478,2768,3704,3702,2723,2420,2024,1870,1773,1932,1509,1662,2526,2625,2154,2137,2250,2668,2874,2745,2664,2737,2981,2909,2634,2100,2093,2317,2791,3219,3318,3572,3633,2939,2172,2031,2593,3216,2939,3075,2877,2711,2549,2194,1771,1878,2465,2570,2219,2127,2023,2189,1923,1525,1477,1576,1678,1726,1584,1559,1531,1648,1931,1466,1478,1628,1771,1757,1677,1717,1654,2010,1712,1445,1407,1561,1843,1693,1908,2220,2395,2442,2184,2078,2254,2054,1824,1743,1921,2069,1853,1626,1874,1781,1829,1924,2441,2544,2231,1932,1662,1677,1766,1782,1818,1738,1802,1990,1737,1956,1923,1799,1606,1594,1776,1720,2019,3408,3261,1832,2037,2458,2069,1991,1919,2095,2375,1987,1649,1990,2585,2598,2595,2630,2540,2120,2049,2514,1820,1758,1659,1419,1395,1403,1496,1602,1657,1577,1954,1838,1948,1963,1707,1816,1949,2077,2273,2067,1810,1933,1871,1978,1819,1712,2051,1943,1805,2385,2199,1952,1758,1626,1782,1736,1429,1345,1422,1375,1400,1409,1852,1754,1555,1633,1759,2100,2155,1812,1890,1766,1649,1937,2613,1832,1613,1603,1779,2173,2129,1881,1643,1415,1286,1400,1833,2007,1663,1496,1455,1391,1677,2020,2091,1695,1376,1612,1699,1522,1453,1333,1307,1486,1913,2069,1909,1736,1807,1671,1398,1754,2081,1919,1918,1549,1511,1617,1962,2057,1753,1567,1805,1935,1809,1563,1618,1964,1828,1908,2135,1879,1880,1914,1853,2250,2924,2857,2185,1938,1793,2027,2420,2218,2073,1633,1916,2344,2408,2033,1874,1841,1865,2105,2057,1815,2201,2689,2803,2929,3133,2927,2680,2199,1295,762,1602,2556,2052,1576,1660,2249,2791,2636,2871,3105,3265,3384,3155,2731,1935,1704,2563,2877,2787,2037,2117,2359,2608,2792,2930,2854,2169,2008,2025,1759,1630,1334,1537,1598,1559,1561,1531,1437,1619,1541,1630,1730,1554,1342,1241,1365,1332,1333,1277,1466,1778,1566,1313,1418,1493,1459,1440,1420,1292,1226,1223,1270,1509,1430,1368,1340,1359,1548,1543,1290,1276,1367,1242,1239,1558,1723,1367,1294,1169,1289,1405,1337,1378,1324,1307,1338,1515,1867,2046,1626,1591,1514,1409,1608,2133,3105,3603,3487,2984,1973,2050,2104,1961,2828,2718,1833,1449,1824,2094,2207,2580,2862,2777,2617,2744,2856,2460,2079,1768,1625,1992,2155,2082,2601,3156,2934,2557,2431,2686,3384,3305,3130,2562,2137,2208,2011,1833,1958,1990,1635,1392,1505,1704,1661,1771,1924,1741,1875,2043,2117,1978,1824,1833,1650,1646,2196,2886,3209,2154,1544,1594,1648,1865,1953,1901,2251,2167,2051,1875,1731,1716,1803,1805,1789,1665,1644,1355,1451,1978,2059,1777,1678,1489,1607,1687,1555,1428,1454,1252,901,1074,1980,2146,1551,1985,3511,3957,2919,1966,1698,1612,1802,2402,2608,2507,2535,1930,1925,2303,2301,2518,2636,2553,2481,2018,1568,2458,3250,3193,3146,3206,3321,3551,3695,3596,3166,2749,2443,2409,2182,2362,2630,2210,1956,2263,2429,2808,3100,2608,2070,2130,2021,2613,2682,2995,3584,3680,3249,3149,3097,3053,3243,3123,2695,3233,3316,2285,2148,2573,2555,2656,2517,2655,2946,3010,2819,2600,1874,1752,2195,2478,3140,3321,2468,2287,2624,2843,2454,2206,2220,1865,1809,1808,2075,2169,1955,1666,1664,2292,2425,1972,1773,1870,1926,2273,2040,1947,1976,1975,1718,1500,1496,1780,1978,2003,2014,1948,1886,1682,1444,1631,1851,2073,2814,3821,3799,3611,3062,2184,1611,1488,1967,2464,1885,1511,1585,1717,2050,2256,2302,2046,2149,2448,2386,2342,2422,1881,1661,1415,1450,1859,2519,2190,2334,2584,2491,2518,2023,1985,2523,1991,1992,2576,2381,2490,2544,2428,2731,2161,1534,1451,1447,1507,1417,1235,1702,1807,1760,1749,1556,1570,1550,1736,1708,1477,1379,1367,1467,1569,1580,1600,1317,1293,1272,1412,1619,1482,1307,1248,1388,1566,1339,1144,1289,1322,1751,2792,1955,1509,1478,1693,1943,2060,2143,2237,2436,2868,3262,3124,2901,2858,2946,3121,2729,2811,3261,2909,2446,2350,2199,2511,2897,3059,2722,2767,3627,3124,2654,2398,2238,2387,2655,2852,2634,2321,2935,2956,3138,3500,2645,2088,2807,3257,2911,2327,2243,2633,3228,3771,3741,3637,3598,3093,2418,2409,2526,2648,2475,2282,2351,2872,3165,3392,3626,3283,3054,3162,3161,2907,2809,3155,3221,3305,3392,3664,3727,3084,2932,2912,2518,2321,2321,1907,2190,2479,2498,2526,2267,2556,2811,2778,2947,2948,3686,3752,3540,3500,3283,3182,3194,3355,3373,3051,3420,4200,4265,4154,4496,4708,4319,3844,3605,3527,3587,3838,4297,4181,3594,3482,3270,3173,3306,3592,3902,3986,4037,4341,4544,4090,3559,3417,3429,3232,2547,1487,949,744,644,654,702,817,2126,3367,3478,3445,3637,3499,3752,4721,5201,5456,5279,4801,4640,4379,3723,3024,2634,2416,2168,1659,1332,1523,1534,1598,1785,1746,1865,2386,2978,3119,3367,3515,3217,3405,3176,2739,2899,2195,1853,1738,1875,1913,1656,1483,1795,2188,2143,1909,1648,1783,1584,1334,1266,1211,1071,1071,1343,1541,1318,966,939,1316,2062,3432,4440,4611,4629,4144,4300,4839,4516,3913,4412,5604,5672,4947,4159,3601,3315,3728,3409,2852,3044,2944,2407,1953,1659,1311,1311,1513,1503,1410,1249,1311,1299,1429,1293,1251,1325,1404,1391,1335,1379,1488,1497,1438,1489,1626,1550,1668,1969,2077,1884,1810,1910,1880,1677,1552,1523,1414,1615,1475,1296,1435,1426,1479,1500,1404,1516,1557,1443,1539,1685,1994,2509,3137,3962,4270,3774,3603,3277,2540,2287,2476,2612,2516,2276,1990,1709,1527,1221,899,782,836,746,592,568,551,498,496,484,525,472,440,426,356,331,365,365,337,372,371,365,355,344,328,324,325,326,329,334,332,322,316,305,300,287,284,274,281,286,297,307,305,307,312,309,307,309,317,322,328,330,329,336,341,333,324,329,344,351,354,349,352,347,331,317,307,306,307,317,330,363,366,417,525,507,525,613,690,674,488,401,484,490,387,312,315,325,354,433,475,388,380,370,381,439,511,524,461,420,419,398,397,384,372,379,387,381,370,364,359,359,363,355,338,339,369,382,366,417,451,472,456,442,464,482,502,467,398,399,383,366,421,454,505,636,713,733,723,736,822,828,745,978,1152,1006,1030,1084,905,683,483,469,484,411,366,372,367,352,342,345,346,339,347,352,363,374,385,399,390,383,398,398,375,350,350,341,330,326,321,317,311,301,299,293,292,313,322,332,342,349,359,369,379,387,392,399,398,405,425,437,424,417,414,409,408,412,402,396,397,399,431,477,509,591,612,599,591,636,621,653,666,631,553,516,507,465,393,391,390,388,373,365,389,402,428,429,436,417,404,432,457,427,392,365],[2113,2257,2105,1872,2161,2893,2944,2565,2485,2500,2680,2702,2642,2427,2376,2873,2778,2620,2855,3084,3169,3005,3175,3400,3360,2989,2706,2718,2646,2490,2744,3296,3097,2070,1925,2431,1944,1759,1834,2123,2049,1981,2099,2522,2631,2315,2436,2740,3115,2806,2092,2225,2422,2641,2685,2507,2362,2296,2497,2499,2540,2866,2686,2423,2589,2522,2972,3376,3765,3659,3652,2877,1852,1997,1952,2132,2586,3039,3437,3469,3619,3167,2249,1923,1910,2714,2741,2711,3417,3581,3742,3771,3695,3204,2693,2585,2465,2477,2864,2850,2777,2514,2078,2066,1710,1679,1977,2313,2986,2693,1978,2118,2589,2475,2118,2280,2732,2962,2308,2296,2567,2664,2736,2464,2589,2573,3149,3339,2700,2604,2224,2122,1682,1831,2046,1737,1534,1746,1378,1069,1257,1732,2565,2900,2469,2001,2017,2178,2174,2067,1966,2271,2822,2799,2093,1929,2138,2075,2071,2193,2416,2766,2577,2934,2420,2447,2998,3267,3242,3364,3566,2989,2321,2817,2880,2378,2071,2357,2395,2964,2994,2644,2272,1952,1857,2012,2665,3015,2296,2013,2237,2387,2686,2663,2570,3166,3592,3205,2593,2260,2028,1787,1865,1814,1952,1697,1678,1998,2446,2430,1924,1977,2189,1638,1404,1997,2129,1728,1683,1737,2042,2353,2353,2108,2072,2358,2360,1615,1626,2328,2310,2612,2561,2735,2756,2722,2280,2250,2129,1958,2088,2169,2182,1917,1680,1894,2017,1875,1804,1924,2006,1986,1786,1618,1769,1990,1977,1998,1976,1647,2322,2986,3103,2679,2880,3044,2932,2069,1535,2144,2868,3132,3724,3483,3112,2731,2722,2091,1656,1843,2052,2255,2163,2286,3146,3422,3366,3371,3074,2751,2598,1917,1732,1925,2032,1479,1036,1393,1674,1544,1655,2024,2177,1763,1619,1628,1916,2493,2745,2508,2238,2246,2355,2315,3389,3975,3609,3726,3327,2365,1875,1919,2100,2023,2132,2518,2702,3081,3731,3759,2958,2565,3587,3836,3166,2701,2718,2193,1851,1926,1848,1690,1908,2436,2401,1918,1837,1991,2412,2929,2447,2173,2839,2654,2109,2589,2713,2221,1705,1869,2180,2160,2097,1801,1729,1785,1746,2153,2867,3242,3028,2576,2666,3176,3091,2474,2258,2331,2819,3292,3252,2909,2555,2879,3392,3486,3281,2536,1781,1864,1880,2039,2404,2489,2801,3339,3631,3774,3623,3571,3232,3670,3983,3473,3676,3660,3085,2675,2814,3068,3190,3267,3018,2769,3064,3265,3119,2699,2446,2676,2850,2365,2440,2340,1977,2155,2460,2498,2098,2445,3042,2099,1945,1780,1688,1791,1975,2433,2577,1995,2334,2813,1999,1850,2323,2422,3277,3328,2164,1735,1872,2298,2936,2734,2598,3585,4143,3714,3095,2643,2583,2315,2242,2580,2595,2590,2724,2338,2264,2461,2618,2244,2468,2280,1990,1876,1742,1674,1682,1746,1925,1999,1619,1770,2010,1830,1539,1346,1640,2439,2301,2078,2678,3813,4100,3219,2194,2532,2132,1771,1809,2061,2252,2302,1978,1857,2298,2664,2972,3116,2336,2242,2466,2686,2684,2499,2187,2387,2724,2988,3088,3110,3304,3206,2897,2076,1918,2592,2983,2921,2998,2665,2008,1813,1732,1624,1720,2023,2236,2285,1935,1920,1876,1595,1483,1444,1552,1939,2236,2081,1648,1547,1738,2030,1538,1519,1878,1711,1593,1560,1643,1708,1659,1400,1504,1673,2271,2000,1753,2416,2078,1901,1976,2016,1851,1771,1933,1985,1777,2156,2057,1951,1536,1798,1814,2196,1992,2155,2419,2108,1903,1908,1864,2119,2269,1950,1861,1605,1526,1694,1854,1853,1558,1333,1473,1598,1772,2553,3286,2431,1642,1927,2103,1842,1876,1806,2062,2446,1997,1563,2247,2821,2776,2641,2222,2459,1910,1710,1772,1699,1852,1682,1592,1471,1419,1414,1417,1515,1730,1968,2220,2104,2349,2460,2354,2298,2488,2891,2879,2489,2098,1880,1895,1771,1715,1768,1676,1663,1914,1953,1836,1648,1719,1800,1732,1632,1585,1394,1338,1473,1623,1776,1735,1531,1353,1468,1956,2223,2024,1959,1825,1748,2089,2179,1638,1716,1992,2083,2064,1937,1613,1464,1411,1414,1440,1791,1844,1687,1615,1535,1451,1377,1696,2021,1587,1597,1931,1818,1660,1400,1364,1550,1874,2180,2212,2015,1905,1999,1834,1761,1602,1791,1986,1783,1420,1491,1740,1723,1554,1390,1576,1768,1698,1495,1736,1752,1833,1676,2175,2185,1996,2053,2410,2735,2610,2426,2504,2076,1950,1938,2141,2194,1991,2125,2069,2257,2410,2380,2003,1773,1584,1597,2190,2877,2304,2589,3054,2388,2220,2545,2584,2464,1991,1207,1072,1688,1938,1575,1279,1574,2146,2536,2404,2481,2752,2800,3244,3316,3040,2358,2230,2654,2636,3077,2579,2154,2261,2764,2906,2781,2578,2155,2000,1587,1486,1537,1466,1676,1629,1480,1535,1646,1488,1338,1363,1511,1558,1560,1386,1263,1416,1376,1372,1127,1314,1568,1298,1224,1358,1411,1390,1418,1346,1334,1345,1317,1346,1379,1376,1378,1354,1338,1370,1297,1340,1406,1542,1462,1343,1538,1585,1332,1255,1306,1606,1688,1499,1412,1340,1401,1544,1596,1606,1722,1992,2132,1828,1620,1593,1966,2946,3583,3472,3348,2338,1858,1836,1929,2280,2330,2150,1676,1788,2331,2342,2286,2520,2778,2620,2586,2527,1951,1584,1614,1688,1998,2293,2258,2400,2750,2812,2588,2397,2299,2664,3200,3213,2395,2240,2634,2454,2153,2370,2690,2549,1875,1732,1814,1765,1841,1830,1862,1730,1859,2024,1955,1908,1777,1381,1379,1554,2556,2792,1788,1418,1559,1649,1946,1820,1832,2124,2055,1928,1749,1725,1460,1635,1844,1829,1695,1499,1448,1888,2446,2380,1665,1583,1603,1664,1465,1439,1457,1794,2060,1405,928,1648,1918,1612,1965,2657,2631,1798,1447,1486,1480,1878,2381,2337,2159,2122,2311,2624,2603,2596,2753,2756,2528,2481,1876,988,1703,2806,3107,3031,3273,3358,3351,3298,2934,2746,3276,2755,2335,1890,2177,2492,2127,2543,2465,1822,2433,2504,2132,2130,2331,2049,2025,2669,3074,3208,3516,3516,3462,3134,3187,3450,3603,3519,3521,3417,2563,2007,2255,2464,2221,2287,2547,2625,2804,3068,3212,2511,1787,1649,2191,3383,3671,2808,2394,2407,2310,2075,2092,2070,2264,1980,1846,1890,2205,1935,1521,1472,1856,2367,2361,2027,1794,1579,1886,1840,1739,1846,2348,2251,1782,1456,1726,2025,1862,1729,1832,2308,2061,1674,1577,1558,1775,2971,3719,3794,3137,2430,2535,1901,1442,1730,1976,1646,1420,1304,1509,1718,2116,2235,2346,2312,2489,2503,2154,2279,2337,2174,2047,1787,1848,2149,2220,2568,2388,1955,1983,1689,1830,2039,2053,2567,3395,2583,1997,1749,2234,2584,2080,1705,1537,1589,1875,1883,1360,1614,1949,1832,1892,1880,1722,1671,1600,1613,1549,1539,1716,1461,1423,1518,1443,1244,1238,1284,1435,1588,1394,1250,1209,1301,1399,1202,1250,1362,1482,1487,2032,1883,1704,1930,2291,2541,2677,2602,2504,2433,2347,2426,2567,2441,2601,3239,3617,3141,3177,3244,2486,1599,1648,1962,2473,2706,2954,2792,2855,3241,3317,3242,2913,2422,2186,2471,2865,2979,2758,2836,2719,2600,2496,2274,2279,2367,2440,2222,2307,2693,2498,2423,2564,2670,2539,2509,2271,2142,2208,2308,2375,2308,2329,2958,3151,2484,2743,3415,3663,3436,3208,3172,2993,3049,3198,3117,3272,3647,3938,3540,2878,2676,2632,2503,2378,2164,1928,2321,2319,2488,2442,2256,2545,3134,3419,3096,3216,3659,3603,3608,3297,3202,3208,3155,3243,3489,3535,3941,4443,4198,4068,4620,4680,4533,4084,3711,3720,3819,4209,4501,4117,3503,3306,2856,2895,3181,3638,3858,3652,3793,4260,4388,4109,3732,3562,3592,3322,3162,2242,1186,872,747,650,734,756,1365,2818,3984,4156,4252,4014,3589,4377,5129,5457,5297,4858,4610,4472,3950,3177,2586,2302,2248,1821,1318,1494,1585,1591,1891,1863,1808,2426,3128,2940,3137,3265,2635,2587,2820,2756,3022,2544,2020,1751,1796,1827,1630,1459,1652,1995,2017,1875,1632,1679,1718,1461,1250,1201,1088,1048,1202,1458,1426,1117,986,1320,1768,3139,4424,4685,4688,4632,4972,5203,4663,4159,4324,5348,5680,5067,4175,3680,3386,3452,3409,2958,2757,2902,2636,2080,1825,1460,1225,1447,1494,1482,1358,1289,1346,1444,1374,1297,1224,1322,1354,1335,1330,1438,1513,1459,1469,1636,1650,1669,1900,2049,1879,1681,1629,1773,1721,1591,1544,1461,1644,1521,1334,1419,1440,1450,1502,1383,1360,1537,1462,1472,1574,1785,2188,2690,3504,3957,3740,3589,3274,2809,2277,2242,2449,2410,2220,2071,1774,1476,1195,937,800,824,857,713,580,574,538,509,496,591,548,467,439,387,325,408,440,409,365,372,370,361,342,332,325,328,333,337,339,337,324,316,306,296,288,283,280,280,285,293,295,299,305,302,302,303,311,318,323,328,333,339,335,343,343,332,327,344,355,357,357,350,355,341,329,321,323,319,321,330,350,370,431,514,519,532,549,648,626,469,358,425,503,430,308,321,332,362,409,474,464,415,391,398,499,617,604,518,482,444,436,431,409,381,371,378,375,366,355,349,347,347,341,332,328,352,377,395,432,438,434,430,436,443,460,498,495,382,374,367,341,403,459,488,559,671,718,694,672,714,860,721,887,1105,990,1005,1152,1013,717,511,472,469,409,369,368,367,357,352,354,352,353,363,372,384,404,420,414,390,381,389,384,369,362,349,332,323,324,318,307,304,305,303,302,297,307,329,333,335,342,349,362,374,387,392,400,406,411,408,453,439,426,421,416,423,432,424,415,396,405,504,597,550,573,578,585,584,614,625,672,694,627,553,532,498,454,396,367,399,382,371,376,380,387,407,424,432,424,428,437,503,458,390,364],[2098,2541,2777,2098,1761,1990,2287,2221,2152,2013,2082,2249,2780,2499,1913,1803,1825,2120,2885,2697,2995,3414,3267,2482,2053,1940,2436,3118,3160,2871,2706,2770,2912,2082,1837,2187,1964,1718,1869,2158,2158,2069,1985,2520,2719,2475,2771,3257,2630,1983,1544,1972,2636,2823,2758,2718,2483,2503,2729,2654,3018,2821,2746,2524,2676,3080,3406,3537,3709,3798,3871,3531,2523,2916,2682,2331,2431,3056,3209,2929,3596,3526,3141,2687,2558,2807,1941,2522,3777,3808,3420,3247,3211,3009,2753,2956,3209,2975,2735,2721,2722,2175,1911,2053,2658,2602,2117,2806,3286,2887,2608,2786,2802,2559,2538,2292,2497,2643,2512,2916,2743,2109,2525,3031,2843,2636,2627,2448,2325,2438,2275,2247,2154,2540,2626,2331,2525,2709,2219,1972,1983,2460,2896,2958,2762,2457,1913,1957,2203,1830,1734,1880,2342,2479,1636,1476,1797,1500,1623,2312,2306,2327,2519,3011,2682,2402,2998,3175,2895,2825,3365,3228,2885,3030,2846,2875,2221,2109,2767,3133,2674,2562,2187,1613,1837,1804,2100,3037,2530,2639,2812,2872,2688,2571,2806,2995,3094,3333,3020,2329,2032,2250,2273,2009,1892,1614,1715,2149,2460,2613,2101,1579,1739,1572,1648,2075,1870,1714,1813,2315,2656,2392,2272,2027,2086,2491,2386,2002,1924,2010,2128,2177,2489,2697,2879,2661,2198,2215,1917,1941,2070,1927,2056,1998,1978,2045,1784,1877,1882,1884,2026,1974,1851,1701,1654,1680,1641,1982,1856,1980,2775,2458,2019,2323,2605,2809,2401,1558,1753,2679,3108,2856,3676,3464,2934,3009,2814,1884,1792,2331,2402,2496,2874,3057,3651,3795,3697,3758,3328,2977,2717,1997,1775,1994,1879,1062,1186,1923,2450,2384,1957,1295,1725,1782,1978,1871,1975,2161,1919,2094,2131,2002,2092,2287,2796,3103,2315,2365,2336,1887,2054,2254,2220,2092,2181,2958,2733,2531,3054,3654,3007,2781,3907,3835,3068,2850,2722,2130,1526,1446,1874,1846,1835,2131,1930,1618,1836,2144,2440,2711,2365,2768,3573,2620,2355,2342,2054,1743,1920,2156,2161,2107,2213,2347,2114,1809,2008,2428,2674,3060,2729,2422,2753,2821,2365,2034,2298,2313,2492,2921,3063,2598,2386,2568,3095,3331,3200,2491,2376,2465,2234,2479,3230,3629,3504,3723,3759,3780,3884,4240,3956,3973,3938,3783,3735,3857,3706,3233,3053,2937,3107,3097,3034,2642,2867,3356,3263,3196,2686,2427,2254,2099,2300,2273,2076,2117,2701,2818,2530,2915,2645,2071,2079,2152,2159,2337,2302,2380,2324,1901,1727,1871,1664,2140,2416,2787,3583,3174,2071,1726,1874,2292,2110,2063,2664,3361,3940,3841,3306,2561,2227,2036,2230,2719,2660,3324,3545,2431,2402,2495,2965,3106,2832,2290,1877,1652,1600,1825,2287,1995,1996,1929,1650,1649,2072,2134,2246,1960,1678,2304,2474,2241,2666,3599,3473,2786,1960,2757,2332,1909,2073,2527,2713,2342,2174,2338,2626,2586,3002,3238,2712,2845,2920,2564,2099,2041,2588,2945,2821,2756,2945,3162,2812,2437,2248,1772,2103,2595,2833,3093,3056,2325,1797,1969,2010,1923,2388,2424,2646,2335,2138,2159,1845,1720,1754,1620,1754,1788,2048,2081,1890,2084,1880,1837,1787,1799,1606,1640,1795,1814,1942,2083,2027,1605,1615,1555,2132,2010,1828,1829,1621,1597,1823,1692,1398,1985,2172,2100,2015,2073,2111,1937,1641,1665,2213,2785,2796,2732,2322,1788,1643,1736,1870,1802,1751,1887,1699,1438,1601,1884,2142,2012,1638,1583,1567,1558,1809,2340,2536,1746,2070,1994,1783,1676,1953,2221,2374,3147,2989,2920,3090,2788,2641,2574,2386,2386,2012,1675,1475,1715,1758,1542,1589,1459,1305,1548,1562,1795,1752,1629,2089,2051,2142,2603,2611,2313,2286,2364,2864,2446,1958,2097,1858,1802,1622,1510,1565,1691,1965,2029,1935,1725,1747,1727,1817,1870,1678,1336,1363,2132,2174,1563,1581,1460,1467,1858,2276,1973,2039,1966,1966,1906,2149,1994,1638,1694,1734,1781,1803,1668,1420,1580,1412,1361,1306,1488,1681,1730,1628,1621,1637,1471,1399,1523,1496,1528,1891,1854,1610,1333,1689,1901,2007,2123,2086,2056,2256,1848,1567,1687,1295,1946,1864,1324,1317,1556,1810,1704,1509,1623,1939,2048,1806,1504,1743,2006,2393,2080,1933,2331,2364,1950,2602,3013,2547,1845,1858,1992,1766,1625,1980,2074,2239,2069,2211,2507,2477,2945,2305,1542,1584,1915,2489,2955,2789,2819,2819,2192,1974,2199,2341,2323,2494,2140,2010,1992,1645,1422,1543,2056,2425,2806,2884,3008,2844,2547,3251,3281,2814,2497,2328,2475,2695,2913,2501,2091,2340,2757,2962,2569,2071,1965,1905,1649,1564,1488,1621,1719,1622,1386,1513,1695,1555,1476,1552,1428,1415,1349,1313,1366,1488,1464,1368,1351,1706,1655,1279,1306,1279,1336,1314,1331,1283,1214,1343,1321,1364,1454,1417,1397,1405,1372,1355,1334,1400,1456,1498,1453,1485,1577,1467,1259,1201,1318,1476,1463,1378,1406,1510,1526,1500,1528,1690,1858,2230,2442,2189,1784,1362,1482,2600,3630,3677,3327,2567,2045,1833,1870,2069,2357,2296,1923,2047,2187,2490,2451,2436,2271,2343,2352,1979,1677,1823,2119,2440,2759,3041,2872,2491,2534,2706,2718,2376,2294,2071,2297,3019,3035,2692,2644,2270,1993,2545,2699,2621,2221,1837,1801,1745,1719,2178,2233,1652,1746,1945,1815,1705,1682,1797,1792,1430,1608,1781,1521,1475,1549,1582,1744,1607,1758,1672,1716,1719,1887,1635,1541,1616,1731,1649,1571,1829,1824,1818,1757,1794,1515,1567,1672,1585,1572,1510,1458,1812,2284,2068,1485,1756,2042,1921,1838,1626,1559,1427,1421,1498,1553,1816,2091,2129,1889,1883,2220,2480,2818,3165,3231,2658,2318,2143,1821,1379,1110,1591,2006,2574,3244,3528,3255,2975,3020,3275,3208,2427,2131,2202,2587,2654,2653,3493,2811,2278,2740,2367,2613,2223,1605,1712,1843,2605,3146,3264,3653,3461,3305,3175,3306,3076,3173,3450,3373,2774,2374,2578,2677,2370,2165,2437,2600,2403,2396,3110,3505,3042,1982,1223,1730,2898,3081,2823,2428,2008,2204,2091,2346,2317,2631,2409,1927,1623,1687,1617,1467,1421,1482,1897,2076,1983,1756,1605,1477,1725,1832,1838,2061,1999,1774,1892,2170,1973,1764,1674,1668,2512,2453,1949,1606,1618,1851,2780,3425,3409,3004,2448,2535,2167,1578,1713,2254,1723,1365,1396,1460,1704,2062,2485,2533,2322,2144,1890,1814,1990,2416,2121,2007,1723,1852,2035,2208,2518,2259,1592,1470,1645,2076,1942,1734,2605,3583,3055,2239,1805,2056,2125,1884,1716,1593,1795,2028,2002,1367,1529,1855,1795,1803,1798,1770,1424,1380,1677,1484,1466,1686,1703,1706,1868,1475,1237,1275,1245,1337,1417,1256,1234,1322,1295,1388,1300,1343,1461,1713,1929,2467,2627,2464,2478,2573,2701,2612,2193,1853,1967,2053,2023,2220,2443,2859,3331,3381,3199,3073,3117,2889,2280,2245,2480,2577,2602,2617,2122,1803,2198,2489,2401,2479,2176,2054,2248,2186,1988,1895,1890,1898,1950,2170,2093,1736,2138,2361,2172,2548,3074,2522,2283,2666,2811,2509,2410,2162,1929,2103,2272,2584,2687,2807,3616,3585,2684,2386,2968,3494,3558,3370,3172,3143,3210,3095,3021,3174,3708,3554,3001,2635,2534,2626,2331,2280,2137,2076,2160,2121,2749,2403,2443,2432,2865,3904,3496,3539,4027,4304,4008,3459,3292,3309,3262,3425,4036,4277,4188,4247,4079,4215,4664,4528,4256,4276,4169,3972,3868,3882,3652,3288,3540,3302,2752,2886,3250,3618,3713,3686,3994,4144,4328,4196,3942,3450,3567,3563,3451,2742,1474,909,905,739,799,850,1169,2185,3737,4537,4633,4625,3940,4331,5072,5375,5207,4775,4617,4561,3918,3361,2585,2193,2208,1811,1377,1495,1664,1772,1986,2076,1892,2157,2973,2708,2770,3052,2507,2167,2474,2800,2988,2777,2304,1854,1731,1747,1670,1487,1556,1915,1958,1832,1673,1565,1598,1438,1275,1240,1117,1026,1024,1295,1504,1235,1012,1283,1714,2838,4054,4429,4452,4595,4963,5376,4829,4207,4051,4849,5509,5200,4259,3573,3296,3183,3247,3104,2652,2689,2762,2181,1841,1589,1215,1393,1497,1534,1449,1275,1378,1423,1325,1456,1180,1274,1292,1315,1291,1358,1434,1396,1376,1556,1664,1600,1725,1968,1868,1699,1669,1706,1750,1645,1608,1600,1676,1554,1321,1344,1470,1419,1496,1452,1350,1471,1454,1431,1494,1674,1991,2366,3091,3761,3775,3628,3243,2947,2386,2087,2247,2318,2209,2163,1910,1501,1228,959,798,760,909,813,632,588,581,534,497,611,667,526,447,639,1122,959,495,369,325,376,363,341,333,327,327,326,328,342,341,325,327,313,310,299,290,286,281,284,291,281,292,298,297,296,304,301,302,318,324,331,338,339,341,349,347,337,332,347,361,366,360,355,348,345,337,332,325,321,325,331,342,357,433,501,513,517,506,568,615,486,350,387,472,462,342,339,336,365,400,469,496,485,484,500,615,681,698,650,586,502,492,476,435,388,375,384,374,355,345,341,333,331,326,318,324,341,370,402,429,437,411,416,459,444,442,479,508,391,363,377,330,390,483,490,505,608,695,675,659,641,905,781,840,1045,1066,1083,1205,1097,786,571,507,466,411,377,369,369,364,369,376,366,368,384,386,395,399,394,389,382,383,378,362,358,362,353,343,336,332,319,307,297,310,313,313,313,295,317,328,327,334,346,362,375,389,401,405,412,427,408,452,452,440,434,421,447,478,449,431,419,427,490,587,535,536,562,569,579,604,622,664,715,652,550,534,515,440,399,363,385,376,369,377,383,378,386,412,429,435,442,447,511,466,386,361],[2466,2762,2622,2191,1364,1193,1890,2046,1533,1363,1610,2200,2754,2295,2048,2519,2752,2473,3107,2814,2856,2953,2370,1841,2133,2972,3710,3664,3130,2617,2544,2413,2474,2049,1832,1768,2200,2364,2241,2319,2280,1843,1281,2151,3107,2995,3121,2900,2135,1424,1026,1670,2334,2571,2426,2080,2049,2495,3107,3277,3226,2952,2921,2828,3194,3355,3096,3197,3607,4001,4123,3758,3520,3908,4152,3522,3450,3560,3328,3346,3597,3581,3466,3185,3229,2963,2445,3232,4059,3525,2600,2546,2552,2600,2706,3118,3254,3129,2862,2521,2269,2044,2289,2699,3286,2660,2363,2514,2282,2256,1992,2314,2498,2310,2518,2493,2584,2541,2862,2770,2220,2037,2534,2912,2580,1998,1688,1712,2832,4149,2913,2234,2676,3283,3172,2599,2877,3282,2796,2646,2534,2623,2690,2979,2928,2763,2413,2280,2330,1986,1686,1825,2003,2268,1852,1896,1818,1734,1788,1861,1837,1848,1720,2345,2585,2147,2556,2757,2685,3199,3913,3296,3188,3300,3255,3116,2668,2823,3323,3018,2708,2446,1858,1750,2152,2000,2298,3016,2966,3426,3544,2955,2276,2239,2701,2763,2946,3544,3563,2828,2367,2480,2310,2331,2540,2205,1768,1964,2338,2433,2040,1870,1661,1554,1908,2157,1888,1734,1825,2410,2223,1970,2215,1979,1964,2383,2540,2608,2135,2228,2564,2426,2592,2768,2793,2129,1728,1853,1825,2116,2070,1873,2090,2198,2062,1967,1896,1959,1852,1637,1542,1626,1686,1459,1274,1593,1577,2159,2011,2156,2387,1813,2078,2925,2743,2581,1896,1505,2404,3230,2714,3368,3990,3938,3082,2797,2985,2647,2756,3086,2994,3156,3486,3449,3553,3724,3813,3962,3627,3379,2875,2272,1953,1802,1862,1561,1871,1929,2258,2489,2436,1880,1810,1985,2093,1761,1787,1778,2176,3328,2950,2374,2076,2158,2034,2308,1926,1621,1790,2045,2364,2432,2510,2426,2386,3156,3172,2717,2375,2814,2874,3428,3728,3149,2730,2455,2159,1608,1209,1856,1986,1901,2055,2050,1667,1531,1692,1871,2024,2215,2402,3145,3120,1985,2176,2309,2110,2329,2597,2388,2105,2094,2460,2780,2548,2267,2824,3016,2753,2751,2775,2910,2858,2586,2652,2863,2620,2346,2296,2803,3001,2362,2456,3055,2497,2574,2510,2415,2872,2753,2442,2413,2899,3950,4090,3944,3833,3247,3436,3831,3780,3714,3776,3935,4005,4020,3609,3306,2897,2625,2963,2972,2906,2786,2884,3094,3204,3140,3155,3139,2458,2408,2480,2510,2444,2374,2424,2379,2642,3168,3263,3085,2799,2497,2697,2900,3039,2661,2379,2166,1678,1488,1516,1980,2346,2806,3571,2980,1931,1770,1855,2185,1620,2500,3045,2727,3278,3883,3410,2586,2353,2322,2379,2363,3068,4069,3198,2303,2403,2990,3853,3893,3196,2592,2245,1720,1513,1993,2561,2059,1781,1597,1528,1553,2150,2322,2231,1907,1582,2056,2398,2208,2354,2542,2598,2439,2330,2511,2158,1911,1874,2066,2437,2551,2678,2847,2906,3081,3253,2865,2615,2823,2598,2368,2280,2319,2691,3117,2767,2676,2758,2655,2303,2283,2394,2118,2237,2558,2690,2919,2922,2078,1909,2278,2146,1947,2250,2385,2344,2149,1968,1882,1767,1963,2526,2327,1904,1730,1669,1748,1844,1653,1346,1627,1815,1775,2038,2507,2565,3052,2873,2112,1664,1488,1776,1875,1655,1531,1691,1959,2076,1838,1634,1233,1737,2428,2078,1647,1762,2101,2304,2124,1951,1849,2188,2778,2930,2586,1982,1805,1678,1606,1548,1540,1738,2051,1760,1561,1621,1676,1802,1866,2051,1858,1596,1634,1644,2045,2251,2031,2448,2206,1855,1757,2192,2478,2457,3256,3326,3210,2878,2654,2730,2935,2928,2746,2470,2145,2106,2293,1750,1478,2071,1527,1238,1677,1532,1467,1427,1308,1470,1520,1599,1844,2105,2188,2207,2632,3001,2273,2441,2630,2298,2166,1719,1751,2064,2069,1951,1851,2204,2029,1790,1985,1842,1698,1573,1461,1828,2756,2554,1681,1389,1370,1601,1960,2491,2267,1927,1754,2109,2218,2174,1896,1529,1638,1458,1511,1938,1673,1493,1459,1484,1536,1475,1473,1560,1528,1488,1510,1590,1454,1399,1409,1424,1466,1505,1693,1460,1410,1636,1519,1727,1916,1620,1830,2272,1637,1444,1435,1346,2185,2120,1777,1605,1774,2115,1774,1785,2538,1988,2022,1784,1455,1382,1831,2250,2011,1941,2500,2260,2016,2695,2850,2341,1735,1804,1986,1742,1993,2770,2649,2152,2139,2585,2962,2824,2827,1973,1504,2016,2301,2612,2630,2374,2596,2700,2397,2177,2092,2737,2679,2932,2184,2166,2688,2150,2036,2523,2379,2378,2520,2090,2064,2046,2126,3062,3194,2609,2395,2496,2615,2644,2690,2541,2335,2643,2903,3129,2867,2258,2671,2206,1727,1584,2104,2263,1973,2391,2278,1599,1509,1658,1428,1366,1332,1382,1482,1470,1504,1490,1388,1356,1523,1678,1448,1245,1388,1362,1382,1454,1444,1470,1448,1346,1260,1347,1518,1337,1235,1444,1552,1478,1395,1410,1402,1324,1346,1404,1400,1345,1337,1290,1498,1774,1981,1647,1575,1526,1385,1539,1742,1762,1762,2074,2382,2356,2215,2102,2051,2384,3227,3342,2856,2190,1615,1542,2044,2640,2866,2681,2256,2081,2127,2353,2234,2446,1978,1881,1906,1499,1707,2247,2694,3174,3320,3626,2885,2603,2575,2470,2402,2414,2419,2051,1915,2236,2640,2480,2284,2189,2175,2965,2631,2258,2260,2024,1885,1794,1713,1834,1918,1698,1831,1938,1833,1727,1664,2034,1892,1812,2056,2218,2274,1792,1749,1532,1767,1702,1814,1572,1759,1842,1715,1678,1739,1580,1611,1841,2010,2588,2164,1569,1555,1741,1714,2118,2083,1666,1636,1603,1537,1682,2289,2486,1830,1786,2195,2038,1897,1688,1512,1534,1440,1460,1675,1883,1865,1890,1684,1722,2126,2486,3118,2899,2106,2126,2423,2073,2225,2098,1623,1606,2081,2578,2900,3333,3086,2706,2841,3030,2470,2008,2221,2290,2091,2342,2946,3782,3374,3118,3119,3022,3278,2142,1318,2492,3362,2308,2204,2897,3447,3351,3165,3267,3286,3208,3394,3492,3410,3105,2885,2988,2745,2718,2846,2727,2933,2062,2171,2977,3332,3174,2364,1324,1772,2796,2829,3263,2830,2322,2330,1898,2190,2309,2210,2071,1830,1516,1553,1817,1706,1658,1764,2080,2481,2382,2188,1733,1589,1818,1974,2234,2357,2182,2190,2720,3022,2220,2008,1623,1499,2236,1997,1475,1683,2238,2127,1864,2428,3322,3862,2934,2416,3080,2087,1464,1841,1628,1480,1560,1576,1670,2045,2576,2470,2353,1953,1809,1744,1570,1609,1764,1712,1632,1867,2071,2253,2458,2337,1682,1618,2112,2482,2105,1647,2250,3190,3139,1993,1734,1986,1766,1764,1678,1753,1522,1816,1694,1388,1614,1666,1672,1763,1812,1771,1150,1255,1439,1328,1289,1371,1520,1592,1621,1555,1604,1641,1623,1614,1591,1495,1670,1643,1415,1361,1529,1816,1765,1593,1796,2072,1873,1857,2169,2656,2890,2745,2260,1901,2229,2206,2088,2248,2322,2536,2779,2769,2680,2460,2408,2556,2202,1935,1803,2177,2402,2121,2104,2273,2519,2841,2736,2840,2432,2281,2438,2209,2097,2128,1952,1752,1886,2188,1854,1725,2131,2258,2553,2798,3041,2356,2124,2489,2555,2533,2476,2405,2171,2193,2262,2555,3053,3327,3540,3651,3326,2815,2782,2986,3273,3436,3464,3196,3177,3410,3542,3750,3708,2415,2182,2575,2463,2509,2718,2546,2141,2235,1904,2094,2338,1945,1947,2411,3082,3649,3482,3701,4400,4716,4220,3584,3250,3451,3653,4000,4617,4664,4479,4439,4423,4607,4808,4712,4340,4186,4169,3970,3741,3320,3095,3017,3662,3398,2888,3227,3808,3983,3538,3630,3968,4104,4324,4421,4256,3479,3339,3537,3515,2979,1704,859,964,838,861,963,1420,1880,3064,4265,4808,4988,4508,4451,5023,5372,5172,4616,4446,4063,3308,3135,2656,2135,2055,1819,1538,1551,1714,1928,2120,2290,2112,1923,2546,2353,2383,2548,2226,1920,2183,2774,3082,3065,2742,2060,1774,1817,1726,1535,1542,1876,1998,1854,1650,1527,1472,1453,1336,1350,1142,1008,1010,1093,1424,1359,1084,1191,1629,2561,3720,3985,4072,4551,5092,5443,4992,4452,4012,4384,5173,5184,4384,3605,3188,3146,3184,3095,2708,2470,2714,2323,1851,1668,1332,1332,1484,1571,1562,1321,1364,1443,1270,1533,1274,1222,1233,1296,1260,1301,1402,1366,1323,1439,1592,1555,1551,1876,1917,1814,1772,1736,1728,1716,1664,1591,1593,1504,1316,1225,1402,1393,1410,1425,1335,1343,1380,1427,1495,1579,1761,2095,2780,3627,3804,3602,3172,2991,2565,2092,2106,2229,2171,2177,1998,1585,1263,978,789,729,868,870,700,603,595,549,495,564,714,654,613,865,1534,880,422,336,328,386,370,332,333,319,325,324,336,339,346,296,320,319,304,297,292,288,278,284,304,275,292,294,298,291,296,299,302,308,317,336,343,340,347,356,353,344,338,350,363,366,357,353,352,345,342,332,318,320,330,344,354,365,420,489,505,501,480,507,564,471,384,410,436,473,376,338,338,357,392,428,442,464,482,536,574,597,653,658,616,537,484,442,403,379,370,345,327,334,339,330,329,323,313,317,325,339,358,382,410,422,410,429,484,467,464,476,492,418,370,388,354,377,469,492,487,548,644,663,667,586,850,875,821,1040,1214,1229,1260,1167,868,623,564,487,451,396,374,376,376,380,382,384,406,402,400,394,389,374,368,372,376,369,353,349,354,355,355,351,341,329,322,320,328,338,329,329,298,303,329,325,334,348,363,383,401,410,414,422,435,426,450,458,452,451,434,441,483,457,441,438,446,439,533,523,512,539,552,578,588,619,642,708,681,556,552,553,471,402,372,374,362,371,378,394,382,374,393,400,468,461,426,458,441,394,368],[2370,2153,2322,2478,2031,1884,1977,1642,1299,1620,2266,2415,2451,2697,3177,3518,3131,2835,3184,3349,2867,2026,1958,2397,3132,3699,3618,2909,2102,2209,2499,2348,2093,1826,2002,2250,2355,2437,2474,2509,2408,1915,1244,1663,2862,3391,2661,1862,2229,2276,2465,2820,2237,2159,1982,2176,2320,2419,3101,3107,3177,3207,3068,3033,2884,2952,3108,3530,4107,4123,3962,3907,3871,3876,3833,4069,4452,4520,4630,4516,4079,3438,3187,2831,3145,3394,2843,3207,3575,2604,2337,2819,2623,2366,2847,3617,3439,2968,2754,2731,2410,2010,2086,2566,2736,2360,2409,2190,1813,1945,1685,2382,2399,2003,2197,2542,2600,2801,2923,2424,1870,1477,1908,2318,2188,1829,1823,1763,2618,3248,2576,2125,2364,2567,2211,1912,2198,2888,2710,2842,2867,2495,2431,2787,2910,2807,2592,2377,2352,1882,1482,1870,2326,2111,1870,2122,2436,2433,2059,1887,1856,2088,1993,2080,2171,1891,2381,2962,3168,3609,3265,3029,3566,3526,3121,2917,3100,3416,3075,2555,2548,2168,2151,2083,2474,2713,2673,2951,3232,3195,3144,2732,2219,2487,3011,2856,2995,3363,3550,3269,2758,2523,2226,2030,2570,2459,1916,2140,2126,1985,2257,2344,2098,2031,2150,2450,2604,2217,2211,2425,2045,1823,2222,2012,1892,1809,1991,2272,2472,2842,2984,2733,2578,2527,2066,1579,1918,1718,1792,1953,1899,1958,2287,2648,2345,1916,1926,2000,1906,1816,1598,1583,1559,1417,1553,2145,2053,1853,2099,2755,2965,2423,2654,3045,2369,2355,1986,1561,2184,2977,2839,3493,3539,3425,2772,2371,2907,2357,2485,2740,3182,3327,3431,3554,3367,3422,3671,3708,3416,3093,2720,2160,1881,1543,1864,2289,2119,2143,2227,2313,2450,2181,1666,1780,2187,1939,1995,2403,2945,3794,3673,3154,2414,1902,2200,2660,2222,1604,1843,2442,2609,2509,2176,2398,3100,3395,3334,2411,2013,2174,2429,2901,2920,2492,2027,1714,2230,1969,1966,2147,1686,1953,2205,1932,1794,1656,1759,1650,1649,2251,2313,2496,2155,1847,1944,1922,2207,2698,2545,2281,2202,2418,2696,2524,2588,2568,3227,3296,3112,3059,3301,3213,2556,2426,2647,2753,2294,2322,1992,2201,2121,2344,2915,3059,2187,1903,1954,2235,2955,2792,2136,1836,2540,3946,4112,3738,3694,3240,3278,3639,3683,3453,3237,3334,3584,3661,3729,3650,2991,2521,2419,2426,2627,2912,2980,3109,3304,3474,3795,3865,3548,3696,3749,3731,3142,3153,3250,2756,2863,3307,3076,3131,3094,3134,3201,3086,3321,2849,3054,2847,2208,1793,1660,2197,2916,2916,3484,2815,1811,1764,1966,1998,1323,1937,2889,2644,2708,3705,3847,2908,2699,2457,2448,2519,3739,4496,3592,2652,2487,2802,3351,3764,3264,2224,2049,2050,1960,2513,2525,1962,1599,1417,1393,1539,1581,1488,1742,2154,1901,1787,1757,1614,2065,2765,2847,2601,2516,2269,1887,1571,1579,1861,2899,3075,2962,2756,2645,2797,2696,2380,2695,2829,2610,2832,3052,2654,2624,2668,2664,2800,2820,2306,1975,2201,2193,2116,2238,2769,2768,2675,2482,1772,1656,1948,1947,1746,1958,2121,2165,2072,1562,1729,1848,2336,3084,2844,1892,1603,1616,1888,2046,1793,1682,1948,1763,1515,1861,2976,3160,3654,3705,3288,2711,2074,2002,1939,1720,1720,1726,2143,2763,2467,1761,1352,2135,2010,1639,1648,2112,2766,2908,2599,2396,2220,2281,2409,2308,2303,2003,1879,1746,1645,1533,1531,1706,1792,1727,1628,1372,1552,1709,2214,2100,1833,1627,1442,1500,1918,2255,2670,2574,2248,2175,2064,2483,2304,2658,3062,3086,3218,2905,2517,2742,3249,3464,2990,2264,2178,2330,2198,1741,1681,2021,1533,1403,1562,1530,1534,1483,1282,1326,1375,1438,1606,1879,2005,2365,2611,2775,2667,2814,2785,2790,2744,2009,2171,2194,1881,1645,1690,2208,2106,1919,2076,1911,1769,1844,1915,2071,2105,1897,1760,1430,1406,1760,2036,2084,1978,2067,2066,1930,2020,2060,2041,1854,1824,1519,1420,1902,1664,1565,1577,1613,1515,1530,1735,1785,1610,1509,1576,1785,1587,1644,1730,1494,1354,1470,1632,1487,1501,1710,1782,1887,1891,1806,2132,1823,1343,1470,1389,1563,2430,2840,2249,1728,1910,2116,1824,1968,2801,1934,1767,1606,1558,1626,1650,1728,1725,2157,2527,1658,1860,2426,2329,1865,1597,1974,2072,1848,2270,3275,3034,2408,2181,2059,2327,2484,2242,1973,1694,1619,1926,2442,2632,2940,3013,2588,2288,2115,1854,3045,3023,2906,2603,2923,3143,2246,2279,2527,2001,1649,1891,2592,2265,1583,2118,3066,3086,2834,2716,2574,2604,2553,2599,3060,2864,2823,2777,3129,3112,2365,2492,2277,1598,1776,2251,2055,1691,2024,2143,1835,2194,1811,1387,1484,1460,1433,1439,1457,1495,1450,1237,1220,1362,1303,1274,1300,1302,1305,1418,1584,1499,1388,1376,1347,1266,1372,1563,1449,1327,1433,1548,1437,1472,1459,1439,1401,1335,1365,1378,1267,1371,1425,1830,1818,1614,1484,1489,1426,1475,1797,1792,1546,1511,1842,2129,1984,2098,1972,1750,1766,2541,2643,1925,1509,1768,2483,3147,3410,3406,2855,2454,2092,2094,2051,2115,2408,2343,2468,2131,1526,2068,3133,3724,3084,2888,3538,3506,3194,2823,2306,2241,2578,2486,2404,2145,1964,2049,2028,2465,2637,2532,2918,2899,2692,2591,2424,2297,1932,1743,1490,1863,1843,2093,2161,2120,2294,2380,2344,2293,2828,3191,3164,2624,1932,2083,1649,1614,1608,1515,1520,1947,1785,1418,1605,1744,1593,1638,1763,1888,2169,2191,1755,1811,1920,1789,1914,1788,1638,1493,1554,1688,1759,2024,1941,1975,1833,1664,1660,1776,1572,1488,1548,1521,1611,1884,2492,2438,1956,1672,1832,1936,2195,2214,2087,2124,2319,2620,2602,2610,2601,2875,2644,2779,2669,2507,2792,2762,2464,2402,2481,2616,2574,2642,1921,1822,2258,2712,2692,3256,3351,2692,3033,3220,2052,1926,3172,3957,2344,2023,2486,3304,3271,3083,3395,3514,3362,3247,3186,3479,3536,3155,2429,2204,2539,2882,3203,3089,2386,2441,2924,3118,3233,2911,2039,2015,2718,2512,3461,3265,2647,2070,1868,1764,1907,2387,2066,1879,1656,1540,1677,1787,1736,2134,2402,2265,2026,1870,1355,1322,1694,1771,2047,2159,2087,2234,2974,3161,2350,2090,1866,1714,1866,1575,1211,1534,2087,2204,1710,2289,3244,3896,2921,2166,2819,2281,1831,1921,1744,1938,1795,1706,1815,2197,2842,2597,2585,2323,2088,1791,1494,1786,2072,1799,1593,1981,2447,2349,2573,2459,1624,1660,2139,2376,1968,1719,2061,2469,2131,1552,1762,1948,1942,1935,1917,1626,1989,2600,2024,1377,1458,1631,1582,1576,1679,1781,1450,1313,1317,1637,1466,1327,1439,1403,1300,1374,1557,1838,1704,1500,1491,1439,1597,1471,1402,1361,1466,1846,1708,1344,1637,2263,2287,2092,2454,2867,2974,3019,2556,2161,2228,2144,2162,2064,1739,1671,1622,1586,1692,2071,1779,1693,1671,1925,2476,2663,2298,2171,3144,3472,3378,3725,3481,3297,2938,2577,2357,2191,2522,2622,2029,1730,1746,1581,1670,1951,2005,1963,2200,1874,1965,2250,2458,2077,2132,2385,2197,2308,2101,1847,2106,2770,3222,3152,3207,3373,3385,3332,3147,2962,2935,3188,3487,3479,3410,3619,3989,4000,2854,2055,2531,2560,2226,2144,2373,2358,2330,2564,2018,2330,2009,1529,1590,2476,3089,3252,3240,3834,4153,4332,3945,3526,3273,3350,3826,4508,5017,4976,4916,4872,4906,5029,5048,5197,4740,4165,4007,3529,3232,3491,4000,3780,3400,3094,3022,3492,4119,4276,3660,3240,3729,4072,4147,4343,3982,3392,3498,3782,3749,3228,1747,829,920,1138,1201,1216,1668,2062,2561,3597,4612,5052,4909,4910,5125,5358,5183,4659,3958,2816,2565,2974,2810,2211,1981,1974,1798,1626,1658,2023,2054,2328,2392,1962,2229,2122,1998,2065,1960,1753,2091,2847,3165,3430,3112,2286,1821,1819,1773,1592,1572,1782,2062,2036,1684,1542,1456,1536,1284,1246,1070,932,959,1052,1298,1422,1244,1157,1407,2113,3493,3693,3869,4491,5097,5421,5129,4724,4236,4131,4712,5008,4412,3728,3242,3292,3615,3248,2813,2357,2522,2471,1966,1698,1470,1327,1557,1651,1627,1471,1351,1523,1403,1611,1363,1180,1220,1310,1314,1275,1360,1361,1353,1320,1492,1533,1489,1788,1941,1844,1764,1736,1712,1707,1711,1667,1535,1425,1332,1166,1291,1333,1300,1378,1390,1318,1316,1419,1470,1473,1607,1884,2534,3378,3742,3626,3178,2946,2681,2159,1965,2135,2194,2165,1967,1640,1320,1019,774,717,816,892,766,626,603,551,527,550,710,673,595,605,752,476,342,297,314,381,397,340,329,320,334,331,339,339,339,310,310,310,305,299,292,290,282,279,318,279,287,290,292,291,291,297,302,307,315,337,350,357,350,356,357,353,346,350,355,356,353,348,346,344,338,337,330,324,336,356,367,379,424,494,528,503,459,467,518,452,399,422,442,503,390,297,325,340,374,407,427,444,457,488,514,535,584,632,596,519,463,418,396,370,358,349,360,349,334,328,330,328,316,318,323,332,346,365,393,414,462,518,528,491,483,481,475,432,391,389,390,407,446,496,492,514,612,659,653,575,750,929,902,978,1162,1185,1195,1143,967,676,611,522,486,428,379,385,380,402,426,411,442,420,413,396,389,381,367,367,367,361,355,355,359,363,356,358,344,349,339,339,337,343,336,329,310,310,321,326,338,350,368,386,405,414,425,429,433,440,455,460,469,452,448,433,459,457,457,450,462,476,539,549,545,525,528,576,570,614,671,722,698,567,580,603,522,416,374,379,367,376,366,409,391,362,377,375,464,468,416,457,442,389,385],[2084,2309,2531,2683,2332,1935,1659,1620,1629,2315,3052,2922,2428,2784,3449,3886,3493,3052,3046,3166,2723,2397,2434,2490,2361,2745,2587,2030,1841,2335,2389,2249,2248,2199,2558,2488,2341,2165,2213,2164,2179,2050,1575,1455,2269,3145,3076,2852,2994,2600,2542,2141,2039,1813,2036,2144,2144,2400,2729,2829,3116,2966,2900,2996,2521,2078,2604,3640,4184,4002,3735,3795,3794,3762,3604,3624,3830,4281,4640,4739,4587,3696,3793,3374,3038,3500,3187,3221,2969,2214,2534,2986,2640,2442,3226,3422,2688,2470,2564,2886,2449,1852,1964,2150,2198,2132,2132,2117,2230,2294,1911,1979,1835,1914,2283,2449,2294,2467,2544,1845,1023,1127,1548,1854,2024,1903,1793,1693,2015,2346,2254,2252,2432,2265,2452,2763,2834,3432,3007,2658,2537,2424,2489,2661,2510,2200,2281,2484,2368,1835,1657,1869,2272,1947,1870,1958,2095,2333,2965,2890,2140,2047,2121,2004,1670,1772,2116,2910,3452,3372,3139,3311,3377,3443,3275,3029,2996,3266,2502,2479,2323,2062,2381,2492,2878,3245,3300,3106,2774,2941,2873,2553,2338,2458,2579,2743,2908,2880,3007,3231,2963,2769,2635,2320,2126,1944,2348,2380,2250,2199,2574,2055,1720,2052,2341,2517,2315,2231,2492,2657,2136,1749,2172,2143,1948,1709,2009,2266,2359,2457,2780,2837,2664,2424,1711,1556,1673,1497,1722,1820,1716,1815,2195,2518,2439,2002,1814,2001,2043,2258,1924,1702,1527,1395,1710,2086,2099,2314,2708,3184,3472,3148,3121,2896,2467,2358,2102,1573,2593,3376,3580,3723,3299,2953,2388,2450,2321,1593,2166,2754,3246,3420,3542,3495,2873,2666,2855,2800,2544,2752,2530,1946,1582,1257,1597,2272,2050,1911,1998,1953,1786,1576,1466,1724,1923,2155,2292,2789,2724,2909,3010,3194,2678,1976,1826,2004,2106,1697,1604,1933,2332,2554,2482,2331,2416,2597,2410,1904,2070,2219,2145,2257,2139,1729,1361,1150,1856,2164,2173,1872,2237,2899,2452,2105,2026,1896,1815,1501,1581,2228,2288,2025,1968,1850,1847,2039,2877,2998,2366,2069,2351,2262,2663,2690,2166,2336,2999,3086,3256,3537,3602,2855,2123,2127,1316,1510,1816,1835,1960,1880,1682,2201,2612,2384,2232,2466,2350,2221,2906,2648,1764,1960,3199,4231,4204,4241,4234,3893,4021,4221,3971,3674,3504,2972,3119,2446,2422,2978,3156,3228,2742,2315,2691,3040,3172,3492,3238,3319,3570,3731,3739,4061,4415,4371,4044,4272,4372,3952,3787,3303,3149,3226,3184,3418,3452,3353,3326,3106,3242,3286,3082,2700,2395,2797,3047,3049,3430,2747,1850,1715,1993,2115,1498,1492,2734,3222,2637,2990,3903,3571,3082,2531,2502,2702,3673,4476,4133,3516,2866,2668,2768,3166,2701,2056,2485,2586,2421,2431,2224,1798,1584,1553,1574,1742,1940,1938,2128,2645,2371,1537,1400,1506,2436,3348,2985,2594,2797,2663,2250,2095,1758,1992,2994,2876,2658,2445,2389,2500,2288,2408,2878,2668,2690,3067,3156,3038,2359,2016,2654,3117,2891,2120,2013,2349,2057,2535,2482,2856,2512,2226,2186,1870,1640,1926,2127,2085,2143,2400,2414,1753,1495,1705,1848,2623,2939,2421,1875,1737,1885,2159,2232,2237,1932,2066,1960,1807,2057,3311,3565,3602,3732,3909,3738,3383,2966,1966,1475,1741,1868,1834,2110,2078,1715,1708,2031,1884,1577,1560,2260,3256,3143,2744,2258,2227,2478,2486,2115,2171,2139,1910,1848,1880,1726,1579,1606,1567,1631,1531,1462,1860,2366,2989,2304,1710,1556,1405,1483,1460,1911,2866,3051,1946,1746,1857,1931,1903,2585,3059,2852,2746,2665,2461,2153,2041,2272,1614,1052,1426,2121,2140,1760,1720,1788,1763,1795,1803,1695,1533,1390,1374,1321,1435,1569,1824,1690,1849,2238,2236,2651,2832,2884,2453,2144,2155,2210,2535,2129,1657,1497,2214,2635,1865,1456,1566,1558,1371,1419,1722,1872,1574,1509,1587,1573,1733,2347,2410,1817,1554,1687,1631,1564,1785,1879,1819,1691,1668,1538,1618,1879,1717,1838,2049,1597,1455,2111,1875,1698,2002,2123,2033,2019,1495,1673,2203,1880,1474,1583,1435,1426,1460,1769,1874,1923,1650,1681,1824,1675,1532,1644,1522,1422,2347,2888,2189,1681,1599,1654,1870,1985,2024,1714,1555,1620,1826,1786,1534,1560,1664,2110,2123,1603,1550,1626,1524,1458,1987,1980,1621,2007,2247,2536,2577,2424,2010,1766,1830,1685,2078,2197,1897,2077,2137,1910,2348,3052,3120,2475,2198,2318,2267,3361,3430,2906,2786,2855,2714,2209,2361,2410,1948,1390,1209,1633,1733,2004,2622,3162,3183,2829,2808,2462,2512,2523,2593,3033,2710,2729,3086,3276,3125,2474,2260,2067,1449,1650,1826,1792,1542,1746,1857,2307,2819,1829,1474,1620,1507,1514,1280,1418,1562,1437,1438,1436,1410,1260,1215,1345,1383,1467,1525,1536,1505,1359,1197,1353,1300,1394,1515,1522,1460,1475,1404,1507,1592,1439,1453,1560,1525,1491,1505,1550,1491,1678,1962,1568,1343,1507,1635,1528,1486,1578,1438,1594,1594,1768,2020,1834,1605,1441,1351,1405,1830,1854,1262,1554,2723,3410,3629,3530,3421,2841,2387,2098,2009,2020,2161,2486,2707,2580,2433,2170,2799,2839,2578,2487,2530,3134,3515,3355,3030,2567,2568,2352,2337,2857,2258,1786,1855,2200,2630,2895,2478,2319,2646,2680,2279,1843,1932,1741,1555,1753,1708,1759,1938,2037,2617,3454,3397,2523,2285,2895,3228,3090,2056,1844,1643,1641,1573,1650,1947,2037,2010,1991,1784,1959,2021,1880,1833,1527,1641,1862,2017,1727,1567,1530,1605,1671,1688,2017,1931,2001,2192,2456,1811,1500,2047,2241,1759,1566,1716,1577,1541,1463,1728,1995,2121,2286,2339,1931,1653,1471,1417,1750,1961,2473,2427,1977,2329,2788,2679,3251,3576,3307,3044,2568,2041,2242,2775,2518,2302,2844,3331,2750,2042,1828,2315,2846,2653,2818,3640,2908,2134,2327,2757,2037,2133,2652,3043,2316,2114,2248,2858,3116,2955,3141,3356,3407,3362,3182,3377,3232,3227,2763,2357,2740,3372,3538,3460,3051,2633,2761,3098,3232,3232,2828,2531,2801,2687,3499,3612,2656,1769,1913,1899,2552,3242,2626,2025,1829,1679,1483,1796,1722,1710,2041,1951,1594,1410,1122,1331,1882,2048,2167,1734,2033,2220,2449,2670,2417,2288,2200,2032,2288,2490,1505,1979,2498,2525,1956,2526,2697,2564,2062,1801,2258,2459,2438,2181,2079,2076,1901,2108,2644,2979,3718,2662,1860,1867,1923,1770,1644,1999,2236,1932,1720,1957,2523,2602,2787,2547,1720,1580,1824,2011,2009,1599,2040,2171,1599,1465,1592,1679,1881,2109,2024,2197,2890,2524,1890,1603,1738,1804,1506,1403,1634,1766,1644,1266,1503,1913,1567,1205,1191,1294,1318,1272,1293,1726,1577,1253,1205,1296,1493,1472,1506,1498,1525,2019,1684,1376,1738,2314,2261,2049,2120,2451,2906,2919,2387,2281,2759,2652,2113,1631,1527,1606,1594,1792,1812,1991,2052,2065,2247,2620,2536,2310,2236,2713,3560,3520,3317,3332,2809,2517,2662,2780,2529,2077,2081,2293,2255,2185,2284,2245,2392,2636,2684,2435,2368,1972,1613,1956,1726,1693,2420,2208,2112,2318,1600,1286,1656,2599,3164,3099,3074,3016,3041,3146,3247,3087,2332,2441,2975,3547,3790,3798,3647,3068,2420,2610,2580,2167,2041,2018,2304,2014,2452,2614,2454,2591,2098,1523,1798,2414,2392,2938,2621,3054,3442,3815,3838,3764,3730,3652,3925,4630,5024,4904,4932,4916,5021,5004,4917,4917,4617,3937,3877,3904,3574,4033,4311,3668,3164,3078,3262,4026,4543,4295,3692,3200,3610,4092,4164,4344,3968,3352,3848,4306,4279,3607,1710,853,809,1138,1564,1578,1738,2204,2668,3400,4100,4953,5061,5096,5216,5349,5216,4637,3317,2436,2334,2601,2831,2395,1956,2031,2079,1808,1608,1981,2062,2443,2753,2203,1910,1978,1919,1864,1909,1675,1811,2994,3244,3606,3406,2478,1853,1826,1815,1621,1576,1706,2063,2238,1802,1520,1446,1496,1217,1119,1043,921,937,1045,1207,1368,1290,1152,1318,1702,3242,3582,3680,4324,4893,5173,5148,4863,4459,4179,4396,4789,4404,3835,3298,3139,3968,3762,3082,2404,2328,2498,2164,1724,1584,1418,1577,1757,1649,1549,1353,1449,1488,1625,1489,1274,1259,1309,1386,1294,1322,1362,1378,1294,1401,1490,1458,1631,1824,1813,1760,1747,1742,1692,1798,1692,1482,1409,1360,1146,1169,1245,1204,1301,1422,1332,1255,1401,1460,1434,1542,1721,2323,3104,3686,3773,3252,2918,2724,2147,1857,1986,2108,2148,1972,1727,1368,1083,859,701,750,864,844,669,639,625,621,599,683,662,559,565,543,430,378,342,325,360,408,362,335,337,328,334,347,345,326,314,312,309,309,300,303,305,299,281,314,292,278,290,294,290,286,296,301,307,314,335,348,355,358,369,368,361,356,354,353,349,348,343,341,338,336,337,331,329,335,355,369,382,426,517,568,515,451,439,500,456,403,390,443,546,436,276,307,321,354,404,418,413,425,439,484,557,602,583,544,512,459,382,376,355,349,351,349,340,326,321,323,318,315,323,332,344,358,370,383,400,472,555,546,482,461,464,456,425,408,403,408,431,443,484,519,506,582,677,708,630,653,853,878,915,1153,1086,1156,1143,1042,769,637,563,515,460,389,387,400,441,467,422,428,415,407,396,385,380,376,379,380,377,385,388,379,364,363,361,362,359,347,337,332,337,333,322,320,327,322,323,337,347,367,394,411,425,428,427,423,425,439,446,485,456,456,447,456,499,517,477,461,522,597,547,570,540,539,596,587,575,687,751,712,581,542,600,521,426,391,381,376,384,355,399,392,354,359,364,437,472,396,447,436,380,389],[2272,2369,2498,2432,1918,1700,1687,1968,1624,1936,2517,2395,1967,2322,2887,3571,3942,2964,2422,2520,2684,2700,2712,2157,1788,2040,2277,2417,2424,2557,2718,2792,2447,2404,2525,2350,2542,2487,2438,2220,2103,2179,2000,1975,2370,2796,3023,3139,3019,2166,2228,2231,2481,2199,2160,2564,3090,2968,2758,3086,3096,2755,2720,2355,1499,883,1607,3077,3875,3892,3551,3452,3671,3439,3230,3482,3500,3537,3862,4196,4256,3639,3861,3785,3145,3016,3447,3585,2799,2171,2497,2623,2589,2553,2773,2827,2729,2741,2951,3179,2432,1924,2552,2423,2041,2182,2207,2633,2830,2465,2129,1923,2042,2336,2174,2284,2796,2624,2280,1607,1288,1517,1582,1747,2099,2175,1972,1880,1922,1756,1803,2398,2447,2511,2580,2608,2891,2853,2756,2959,2686,2225,2446,2598,1901,1689,2351,2532,2387,2171,1693,1296,1197,1563,2149,2178,1886,2212,2986,3006,2492,2401,2326,2137,1928,2359,2601,3189,3782,3554,3383,3372,3333,3629,3397,2757,3034,3130,2786,2900,2236,1751,1865,2358,3050,3476,4013,3454,2889,2729,2709,2646,2499,2345,2578,2769,2790,2776,2945,3193,3214,2958,3122,2857,1951,2159,2571,2355,2018,2395,2497,1748,1306,1771,2503,2345,1005,1348,2518,3024,2765,2584,2307,2492,2305,1882,1755,1695,1694,1742,1884,1981,2050,2252,1814,2122,2076,1976,1860,1763,1643,1696,1840,2192,2298,1852,1941,2137,2393,2285,2108,1968,1750,1678,1536,1312,1804,2720,3220,3042,2898,3006,2769,2624,2490,2138,1617,1599,2718,3277,3805,3627,3356,2824,2034,2619,2197,2022,2734,3146,3144,3269,3587,3432,2867,2713,2786,2387,2523,2880,2611,1945,1585,1579,1729,1752,1828,1798,1655,1710,1658,1645,1615,1955,2499,2460,2443,2860,2486,2065,2345,2370,1804,1910,2078,2025,2165,1939,1605,1663,2105,2457,2482,2255,1954,2154,2148,1947,2161,1969,1690,1949,1725,1513,1505,1282,1185,1278,1704,2265,2761,2428,1917,2411,2473,2513,2344,2003,1820,1978,2051,2045,1803,1758,2201,2757,3013,2574,2220,1834,1762,1885,2349,2355,2082,2442,2670,2944,3574,4101,3467,2272,2083,2097,1499,1570,1615,1748,1986,1758,1785,2209,2199,1754,2792,3314,1986,1674,2245,2211,1904,2438,3749,4385,4169,4096,4116,3908,4084,4213,4229,3969,3096,2974,2807,1908,1763,1982,2552,3079,3052,3047,2686,2753,3348,3732,2993,2628,2435,2599,3227,3904,4496,4432,4136,4196,4212,4059,4017,4074,4048,4018,3958,4002,3624,3436,3611,3567,3388,3342,3316,3039,2612,2578,2656,3292,3697,2868,1933,1650,1887,2277,1902,1701,2446,2929,2477,2726,3683,3912,3044,2336,2536,2670,2839,3302,3442,3850,3441,3163,2984,2666,2245,2270,2233,2179,2363,2555,2397,1721,1616,1856,1959,1635,1925,2488,2820,2613,1902,1496,1550,1657,2591,3585,3154,2612,2602,2255,2177,2326,1439,1684,2689,2812,2836,2612,2024,1930,1875,2191,2592,2856,3164,3157,2812,3154,2679,2341,3024,3316,3040,2556,2354,2569,2460,2527,2485,2707,2873,2845,2513,1967,1931,2170,2143,2396,1945,2000,2402,2070,1791,1755,1993,2496,2666,2676,2531,1974,2347,3009,2622,2178,1930,1991,2206,2087,2251,3012,3195,3241,3527,3697,3418,3462,3009,1706,1578,1747,2007,1907,1830,1960,1837,2013,2063,1791,1617,1621,2149,2723,2735,2535,2173,2402,2565,2771,2657,2381,1909,1851,1819,1931,1947,1934,1836,1796,1692,1515,1638,2029,2233,2089,1704,1552,1483,1510,1576,1408,1511,1902,2326,1700,1584,1680,1694,2060,2858,3187,2947,2957,2383,2267,1743,1464,1582,1377,1229,1539,1897,1844,1669,1632,1613,1676,1963,1818,1652,1793,1592,1450,1272,1504,1475,1416,1515,2048,2153,2358,2601,2357,2510,1941,1668,1500,1754,2020,1794,1608,1615,2169,2136,1497,1284,1416,1587,1459,1399,1389,1523,1378,1130,1099,1360,1976,2709,2503,1632,1545,1670,1517,1725,1909,1848,1517,1630,1655,1544,1804,1939,1705,1790,1632,1467,2149,2597,1627,1493,1798,2549,2553,2255,1879,2062,2408,1937,2054,2234,1506,1437,1664,1833,1836,1730,1576,1581,1582,1641,1655,1728,2137,2121,2142,2470,2745,2119,1442,1629,2167,1907,1365,1400,1532,1522,1613,1707,1619,1754,1542,1748,1718,1651,1705,1905,1792,1815,2290,2250,1872,2489,2307,2213,2708,2580,2015,1765,1844,1869,2293,2478,2026,1814,1997,2099,2711,2229,2006,2210,2250,2356,2494,3034,3543,2976,2476,2891,2746,2545,2610,2527,2191,2043,1773,1758,2081,2453,2920,3370,3370,3540,3232,2950,2723,2894,2728,3074,3115,3276,3461,3308,3021,2391,2020,1808,1452,1423,1508,1766,1948,2149,2385,2275,1731,1471,1736,1974,1917,2108,1589,1343,1395,1409,1810,1751,1456,1392,1396,1390,1604,1534,1367,1460,1577,1428,1303,1389,1313,1420,1559,1527,1540,1514,1454,1412,1309,1380,1393,1497,1485,1495,1452,1638,1692,1780,1579,1379,1459,1524,1415,1519,1511,1512,2060,1994,1622,1656,1697,1547,1591,1531,1387,1729,1754,1603,1250,1677,2959,3443,3588,3558,3520,2763,2250,2143,1888,2074,2395,2362,2477,2292,2283,2319,2889,2579,2426,2580,2291,2494,3120,2872,2872,2761,2710,2467,2242,2429,1930,1701,1941,2147,2441,2797,2296,1942,2296,2463,1755,1616,2062,1925,1714,1965,2060,1805,1565,1722,2020,2466,2491,2018,1705,1814,2828,2662,1835,1832,1803,1670,1481,1461,1720,2216,2464,2295,1799,1919,1721,1862,1700,1483,1570,1704,1860,1658,1242,1539,1826,1636,1709,1797,1942,2045,2052,1876,1709,1690,1956,1988,1595,1606,1898,1789,1644,1754,1964,2236,1900,1968,2266,2017,1709,1421,1470,1801,2101,2579,2641,2468,2340,2353,2504,3027,3309,3328,2731,1777,1464,1778,2656,2749,2629,2745,2874,2382,2003,2732,2977,3077,2764,2775,3056,2305,2408,2601,3017,2264,2170,1964,1417,1539,2221,2464,2692,2833,2541,2507,3280,3670,3526,3120,2682,2569,2979,3139,2916,3375,3696,3737,3815,3517,2856,2683,3081,3072,3072,3076,2780,2671,2976,3144,2811,2163,1731,1736,1809,2273,1998,2100,1574,1475,1726,1602,1717,1653,1525,1887,1986,1912,1607,1395,1593,1834,2274,2463,2731,2821,2460,2119,2095,2238,2148,1964,2071,2226,2404,1669,2317,3265,2792,2127,2262,2050,1961,1976,1819,2238,2367,2120,1757,1880,2154,2248,2448,2652,2696,3352,3274,2665,2127,1675,1431,1557,1814,2152,2154,2384,2573,2985,3063,3195,2771,1797,1579,1741,1856,1855,2125,2310,2163,1921,1541,1416,1615,1742,1890,1745,1920,2017,1678,1745,1514,1808,1655,1399,1464,1732,1838,1825,1743,1744,1671,1564,1311,1337,1410,1218,1157,1257,1345,1281,1336,1426,1506,1620,1493,1436,1394,1610,2262,1633,1626,1768,1754,1655,1611,1654,2198,2988,2920,2315,2203,2630,2015,1737,1734,2005,2149,2139,2239,2084,1954,2024,2044,2315,2513,2226,2185,2349,2834,3306,3276,3337,3115,2727,3017,3105,2966,2822,2450,2073,1992,2350,2241,2004,1511,1879,2549,2565,2303,2187,1871,2143,2260,1669,1687,2420,2273,2018,1901,1749,1752,1768,2380,3168,3152,2912,2794,2985,2979,3250,3232,2755,2335,2615,3200,3372,3090,2595,2388,2690,2835,2064,1860,1859,2097,2191,2163,2446,2238,2289,2359,2005,1702,1810,2851,2986,2626,2602,2873,3261,3548,3588,3650,3654,3632,3763,3914,3937,4309,4600,4756,4824,4856,4996,4827,4663,4084,3802,3915,4167,4608,4420,3803,3292,3242,3121,3611,4164,3943,3459,3088,3251,4003,4169,4109,3730,3395,3986,4461,4253,3929,2360,1028,783,886,1287,1678,1962,2521,3062,3701,3860,4597,5017,5111,5116,5060,5154,4602,3640,3320,2810,2438,2874,2696,2076,2035,2183,1977,1687,2029,2138,2472,2833,2355,1809,1684,1880,1838,1848,1886,1534,2721,3440,3740,3543,2710,1967,1925,2006,1670,1590,1650,1902,2182,1847,1517,1446,1448,1230,1089,1054,913,885,1014,1171,1383,1430,1201,1247,1504,3039,3747,3702,4115,4620,4905,5070,4920,4625,4238,4176,4577,4448,3876,3338,3071,3729,4086,3460,2600,2365,2453,2370,1853,1641,1445,1375,1598,1601,1471,1320,1321,1370,1450,1532,1393,1151,1318,1460,1336,1301,1349,1408,1307,1337,1454,1448,1500,1697,1835,1708,1652,1706,1732,1847,1736,1470,1372,1380,1182,1086,1172,1142,1204,1372,1321,1225,1376,1455,1425,1518,1651,2106,2787,3509,3806,3373,2921,2622,2172,1857,1877,2073,2170,1995,1788,1428,1125,933,708,713,827,939,773,696,715,674,598,638,615,555,600,594,707,1017,582,369,354,382,367,347,370,347,327,351,347,323,309,302,321,309,303,303,309,314,290,314,307,279,294,293,285,286,293,300,310,324,339,339,344,365,379,371,367,365,360,352,347,343,339,335,334,335,335,325,326,334,349,374,399,435,517,581,529,451,417,483,478,417,378,415,515,485,335,314,332,361,418,432,402,419,452,483,547,593,544,505,481,464,394,374,353,344,338,330,330,326,325,329,329,331,334,342,349,354,361,374,398,460,519,512,458,431,443,453,423,406,402,424,439,450,476,529,520,527,628,734,676,602,814,882,890,1232,1149,1122,1108,1056,900,698,594,549,492,420,414,422,428,422,411,403,396,394,392,385,385,394,397,406,409,416,417,410,420,415,379,393,387,339,337,330,329,326,325,321,326,326,330,337,350,371,389,414,425,422,421,411,408,424,440,484,481,455,472,506,551,574,505,488,535,619,531,562,569,564,584,545,521,657,745,707,612,494,548,504,425,401,376,367,371,362,378,379,349,351,376,419,443,409,448,443,385,380],[2348,2029,1942,1909,2048,1939,1624,2166,1891,1821,2344,2314,1769,1814,2280,2755,2842,1903,2100,2200,2103,2223,2839,2669,2435,2311,2588,2809,2620,3050,3452,2942,2770,3022,2828,2327,2184,2321,2298,2143,2144,2301,2504,2658,2769,3031,2956,2743,2249,2019,2294,2436,2686,2459,2046,2378,2728,2488,2706,3178,3206,2851,2210,1293,720,948,1507,2181,3181,3698,3397,3525,3867,3694,3343,3562,3538,3583,3642,3630,3822,3849,3822,3772,3404,3551,3558,3676,2443,2294,2135,2243,2402,2621,2741,2708,2600,2530,3122,3033,2284,2404,2364,2278,2050,2159,2614,2568,2403,2453,2147,1898,2017,2435,2142,2696,3044,2294,1802,1698,2174,2038,1766,2047,2454,2398,2192,2186,2270,2312,2332,2473,2407,2712,2419,2117,2078,2198,2803,3027,2596,2160,2312,2554,2105,2432,2689,2368,2246,2170,1660,1519,1716,2016,2390,2408,2264,2277,2404,2831,3166,3558,3420,3098,2953,3263,3371,3604,3853,3617,3082,3297,3199,3152,2902,2818,2935,2734,2916,2933,2461,2105,2200,2460,2622,2651,3351,2872,2273,2074,2435,2721,2690,2598,2624,2593,2633,2912,3165,3707,3929,3188,3047,2386,2004,2530,2545,2029,1953,2383,2173,1735,1504,1499,1755,1594,1035,1659,2492,2842,2934,2655,2392,2784,2976,2185,1732,1770,1612,1465,1582,2047,2448,2199,1772,2160,2668,2473,2056,2099,1765,1602,1671,1519,1674,1737,2217,2095,1857,2154,2482,2319,2038,1890,1929,1701,2194,2701,2907,2890,2705,2631,2441,2419,2085,1603,1287,1949,2895,2960,3838,3510,3250,2621,2262,2579,2073,2402,3146,3039,2943,3448,3662,3567,3508,3239,2888,2587,2525,2488,2469,2128,1867,1946,1872,1975,2432,1892,1546,1780,1686,1538,2012,2437,2841,2601,2514,2578,1949,1689,1959,1727,1579,1795,1749,1803,2036,1781,1481,1871,2117,2179,2496,2416,2390,2719,2467,1967,1838,1390,1670,1852,1737,1832,1726,1938,1750,1129,1545,2210,2182,1748,1882,2546,2950,2909,2744,2535,2259,2191,2260,2106,1937,1825,2072,2737,2674,2382,2266,2122,2404,2639,2513,2070,2380,2888,2743,2852,3165,3228,2294,2001,2001,1894,1964,1841,1640,1857,1736,1599,2032,2093,1995,2069,3326,2957,1678,2092,2442,2165,2112,2831,3776,4082,4011,3837,3550,3061,3642,4079,4292,3919,3141,3194,2769,2087,1901,1935,2529,2917,2703,2533,2011,2465,3342,3514,3105,2708,2216,2047,2173,2804,3570,3994,4344,4289,3990,3883,4184,4373,4252,4288,4219,4084,3732,3499,3688,3659,3565,3525,3504,3211,2696,2357,2980,3841,3858,2817,1975,1677,1820,2404,2264,2629,2706,2784,2754,2849,3572,4180,3704,2877,2517,2555,2376,2353,2448,2818,2430,1948,2086,2160,2070,1986,2082,2403,2397,2706,2656,1764,1482,1764,1682,1606,1949,2441,2578,2313,1810,1583,1550,1663,2446,3436,3060,2428,2325,1989,2024,2108,1465,1519,2324,2922,3200,2386,1708,1749,1922,2160,2562,2863,3038,2939,2286,2319,2776,2820,3248,3241,3071,3009,2845,2462,2486,2622,2690,2467,2332,2586,2343,2061,2364,2274,1829,2304,2180,2293,2768,2667,2358,2244,1636,1471,2236,2818,2368,2185,2330,3023,2670,2303,2128,2175,2564,2449,2170,1852,2116,2646,2968,3083,2954,2992,2437,1949,2042,2059,2497,2448,2144,2199,2106,2113,1949,2018,1872,1848,1942,1973,2208,2247,2549,3078,3027,2595,2595,2413,2371,2260,1989,2091,2238,2453,2230,2035,1932,1896,1888,1982,1853,1728,1774,1711,1550,1673,1553,1286,1176,1603,1933,1677,1646,1711,1702,1837,2171,2627,3020,3143,1836,2018,2148,1743,1511,1527,1516,1584,1918,2392,2426,2185,2037,1830,1699,1526,1588,1994,1789,1590,1506,1499,1584,1628,1836,2182,1830,2160,2496,2293,2489,1866,1509,1251,1373,1616,1606,1628,1700,1866,1818,1437,1510,1493,1668,1521,1424,1372,1310,1230,1170,1099,1282,1627,1955,1744,1500,1723,1578,1389,1542,1868,1953,1832,1831,1583,1543,1838,1865,1743,1649,1442,2254,2549,2133,1587,1524,1640,1899,2040,2138,1864,2017,2178,1914,2166,1904,1460,1405,1632,1840,1782,1653,1650,1679,1574,1377,1460,1538,1709,1737,1327,1590,1875,1538,1655,1904,1840,1629,1549,1512,1460,1519,1659,1692,1774,1816,1537,1779,1806,1517,1758,1942,1801,1988,1823,1781,1978,2662,2377,2078,2065,2169,1945,1856,2168,2048,2424,2710,2322,1659,1920,2798,2813,2466,2563,3094,3183,2786,2792,2790,3193,2416,2584,2610,2934,3024,2705,2612,2103,1797,1753,1906,2069,2256,2807,3370,3629,3686,3368,3296,3037,3176,3231,3305,3288,3355,3340,3317,3020,2282,1638,1413,1295,1334,1579,2204,2229,2383,2687,1997,1721,1622,1647,1721,2036,1883,1517,1389,1449,1554,1683,1514,1491,1737,1615,1496,1737,1576,1481,1461,1530,1418,1261,1216,1229,1416,1453,1369,1428,1438,1377,1340,1305,1355,1432,1392,1399,1463,1412,1744,2165,1813,1396,1491,1638,1839,1699,1664,1510,1408,1620,1606,1394,1489,1571,1549,1945,1928,1569,1769,1864,1756,1729,1837,2723,3508,3705,3830,3694,3065,2680,2483,2001,1782,2232,2187,1978,2234,2395,2556,2803,2788,2314,1847,1821,2248,2814,2648,3418,2971,2523,2618,2604,2123,1869,1920,2074,2161,2555,3156,2706,2205,2393,2294,2061,1933,1810,1787,1834,1754,1953,1816,1499,1680,1781,1588,1505,1544,1640,1558,2172,2085,1607,1558,1648,1639,1473,1655,2562,3282,2952,2174,1880,1662,1438,1528,1453,1464,1487,1387,1534,1773,1726,1895,1777,1667,2077,1886,1838,1787,1650,1827,1987,1831,1662,1599,1591,1635,1729,1824,1808,1472,1599,2115,2050,1910,2264,2402,2046,1997,1888,2007,1989,2070,2436,2691,2518,2314,2651,3144,3285,3384,2830,2490,2558,2192,2235,3188,3584,2842,2569,2419,2432,2706,2990,3396,3132,2547,2566,2567,2359,2712,2938,2312,2541,2383,1554,1288,1970,2392,2354,2472,1886,2091,3306,3736,3648,2912,2476,2552,2894,3095,3090,3335,3333,3552,3579,3846,3428,2885,2972,2665,2797,3106,3012,2641,2209,2091,1957,1824,2062,2384,2349,2111,1653,1522,1372,1880,2451,2265,2132,1823,1615,1489,1615,1847,1759,1513,1708,2151,2258,2033,2831,3570,2980,2176,2149,2050,1957,2102,2834,3505,3439,2208,1958,3106,2918,2121,1957,1780,1979,2191,1919,2028,2230,2432,1917,2278,2566,2204,2048,1990,2169,2915,3116,2531,1959,1635,1495,2216,2965,3172,2631,2858,2995,2610,2642,2830,2539,2131,1696,1976,2055,1697,1792,1726,1652,1799,1664,1349,1469,1749,1779,2066,1934,1626,1635,1495,1351,1590,1506,1356,1543,1746,1782,1832,1884,1865,1699,1575,1333,1366,1272,1272,1244,1314,1345,1323,1536,1576,1467,1428,1478,1521,1352,1604,2024,1632,1738,1760,1678,1760,1771,1786,2308,3106,2891,2398,2218,2350,2094,1795,1807,1914,1865,1773,1857,1881,1863,2046,1966,1796,2242,2736,2774,2361,2795,3393,3369,3364,3009,3022,3514,3505,2757,2474,2908,2469,2109,2358,2323,1994,1900,2374,2215,2243,2257,2002,1626,2208,2282,1702,1864,2474,2487,2237,2141,2308,2525,2476,2473,2498,2597,2842,3288,3222,2744,2898,3229,3430,3052,2700,2955,3138,2586,2106,2036,2400,2360,2200,2064,2010,2302,2283,2521,2421,2002,2183,2044,1762,1809,2228,3406,3356,2612,2800,3124,3410,3383,3334,3515,3440,3320,3310,3108,3237,3838,4252,4504,4416,4530,4991,5005,4665,3993,3409,4049,4528,4484,4132,3804,3330,3220,3010,3168,3774,3743,3592,3484,3402,4059,4092,4002,4047,4251,4440,4489,4100,4132,2932,1210,787,766,1017,1541,2170,3030,3682,3679,3887,4239,4906,5071,4702,4439,4616,4629,3736,3364,3231,3089,2998,3044,2430,2039,2119,2106,1875,2176,2274,2016,2159,2030,1810,1654,1884,1886,1726,1895,1470,2071,3363,4118,3940,3156,2196,1820,2002,1725,1599,1653,1758,2076,1971,1591,1490,1554,1368,1153,1042,902,858,973,1151,1376,1489,1292,1296,1316,2514,3753,3843,4010,4296,4532,4860,4892,4683,4234,3924,4099,4372,3946,3441,3111,3262,3914,3772,2906,2458,2314,2405,2044,1715,1499,1293,1416,1510,1411,1294,1260,1255,1336,1474,1665,1260,1199,1432,1444,1362,1339,1378,1342,1268,1358,1391,1427,1582,1814,1686,1576,1634,1751,1794,1683,1448,1312,1382,1268,1111,1145,1123,1119,1322,1381,1260,1377,1537,1549,1572,1647,1942,2567,3267,3682,3464,2994,2546,2230,1908,1816,2054,2116,1958,1823,1560,1214,998,793,749,772,944,856,716,689,654,593,604,593,495,491,496,532,528,389,345,345,347,349,348,368,352,325,345,339,324,316,283,329,320,298,304,321,323,302,308,316,284,294,292,292,295,294,300,317,343,346,346,358,378,385,378,372,368,361,345,329,329,321,330,345,344,327,317,332,349,370,395,425,464,517,572,532,450,411,462,483,422,386,390,446,484,423,343,329,418,533,479,378,405,471,503,550,615,573,520,457,455,410,367,352,347,339,332,330,326,327,328,329,333,330,334,334,338,342,369,412,456,485,484,459,444,456,455,427,397,407,438,453,472,494,520,522,503,537,725,710,599,759,915,930,1160,1215,1136,1086,1034,935,777,671,564,515,469,452,447,428,401,394,392,384,379,377,384,394,398,405,413,412,409,416,420,421,405,383,389,389,343,340,334,327,327,328,325,326,325,332,332,357,388,382,411,425,423,417,415,422,437,445,476,493,493,553,616,580,570,537,540,564,618,525,543,560,560,575,534,527,577,637,642,635,475,526,489,434,400,360,347,347,355,376,379,354,361,394,421,469,396,437,452,395,378],[1879,1747,1978,2153,2328,1913,1858,2154,2054,2194,2230,2001,1753,1635,1864,2510,2403,1906,1982,2129,2280,2391,2492,2623,2764,2749,2685,2707,3097,2876,2541,2330,3055,3051,2822,2331,2115,2105,1974,1938,1457,1486,2446,3025,3021,3031,3002,2877,2462,2308,2642,3254,3587,3097,2658,2370,2413,2258,2720,3011,3009,3048,1943,1004,1182,1443,1149,1763,3041,3522,3393,3518,3488,3930,3435,3328,3649,3837,3683,3565,3761,3795,3451,3558,3521,3792,3508,3616,2868,2819,2495,2468,2502,2510,2622,2590,2491,2787,3110,2479,2536,3054,2708,2273,2139,2364,2730,2257,2142,2252,2044,2248,2316,2499,2670,3052,2524,2156,1950,2118,2756,2842,2475,2446,2846,2684,2108,2084,2258,2115,1712,1938,2368,2335,2031,2021,1999,2166,2192,2021,2288,2509,2449,2622,2837,2844,2563,2169,2239,2280,1922,2039,2176,2271,2518,2565,2620,2655,2966,3318,3551,3716,3538,3194,2718,2600,3123,3587,3285,2718,2405,2743,3062,2763,2042,2125,2267,2432,2687,2535,2851,2534,3021,3033,2556,2309,2291,2163,1895,1921,2065,2422,2702,2710,2570,2218,2481,3138,3182,3130,3648,3485,3067,2403,2501,2531,2297,2401,2486,2420,2090,1845,2129,1970,1557,1654,1743,1525,1750,2255,2360,2159,2048,2303,2526,1944,1709,2081,2315,2367,2134,2680,3010,2165,1713,1727,1826,1869,1819,1740,1561,1456,1615,1152,1330,1592,1931,1902,1790,1966,2014,2153,2172,2118,2000,1969,2173,2587,2814,2646,2332,2310,2203,1816,1698,1489,1107,2098,2675,3606,3919,3371,3086,2345,2477,2369,1832,2713,3141,2937,3091,3340,3450,3169,3165,2977,2688,2863,2468,2318,2394,1945,1838,1990,1715,1663,1784,1499,1666,1849,1399,1593,2182,2391,2577,2253,2086,2050,1765,1749,1931,1544,1569,1458,1628,1896,2200,1853,1533,1790,1765,1776,2392,2519,2405,1908,1806,1722,1628,1637,2105,1733,1616,1959,1807,1787,1838,1927,1851,1786,1854,1915,2497,3074,3062,2972,2742,2287,2266,2554,2261,1626,1691,2075,2036,2070,2641,2556,2215,1887,1970,2476,2470,2256,2711,2847,2910,2589,2956,3043,2513,2228,2091,2278,2148,1879,1832,1831,1475,1493,2052,2281,2276,2760,3118,2272,1780,2225,2464,2258,2404,2542,2362,2514,3538,3916,3371,3007,3582,4109,4336,4059,3807,3852,3242,2377,2272,2165,2446,2865,2898,2209,1958,2812,3382,3386,3514,3144,2428,2129,2119,2209,2387,3053,3647,4051,3943,3659,3749,3781,3927,4162,3918,3858,3985,3768,3564,3730,3876,3652,3428,3451,3344,3334,3473,3786,3669,2904,2041,1774,1784,2590,2598,2879,2912,2940,3194,3167,3247,3029,2524,2526,2314,2351,1973,1888,1750,1787,2094,2487,2780,2608,2257,2066,2296,2254,2481,3020,2525,1715,1322,1399,1330,1526,1766,1730,1952,2002,1709,1525,1511,1650,1910,2044,2479,2417,2358,1935,1634,1719,1679,2076,2079,2690,2884,2174,2191,2410,2469,2382,2686,3021,2972,2880,2407,2125,2700,2972,3082,2889,2813,2684,2680,2255,1943,2147,2722,2248,1630,1835,1890,2245,2320,1977,2095,2442,2408,2091,1901,1764,2198,2311,1275,823,1641,2364,2149,2268,1976,2317,2360,2435,2285,2634,2876,2668,2448,1923,2165,2261,2751,2632,2757,3056,2238,1978,1942,1902,2333,2195,2114,2286,1990,1886,1555,1605,1920,2063,1979,2172,2208,2183,2454,3090,3162,2732,2511,2415,2343,2532,2944,2845,3002,3180,2798,2279,1906,1886,1755,1600,1644,1946,1815,1743,1715,1870,1624,982,764,1732,2111,1653,1799,1746,1626,1672,1336,1674,2212,2145,1913,2664,2641,2009,1948,1892,1674,1649,1853,2182,2907,2294,2020,1964,1864,1605,1547,1967,1819,1720,1961,1927,2137,2430,2139,2066,1755,2002,2546,2554,2386,1770,1394,1276,1339,1454,1498,1507,1561,2027,1792,1531,1643,1500,1559,1487,1569,1511,1326,1273,1206,1180,1450,1547,1684,1621,1717,1706,1451,1270,1376,1786,1879,1909,1898,1535,1704,1947,1799,1727,1664,2094,2523,1992,1659,1547,1569,1860,1710,1611,2004,1699,1681,1457,1589,1918,1641,1627,1716,1835,1836,1733,1518,1449,1267,1560,1844,1952,1758,1469,1251,1135,1362,1597,2017,2473,1881,1658,1498,1301,1320,1324,1347,1612,1725,1759,1661,1653,1991,1963,1652,1631,2015,1966,1895,1719,1838,1745,1959,2078,1974,2195,2498,2373,2312,1912,2018,2634,2409,2001,1792,2174,3010,2523,2309,3361,3841,3736,2896,3033,2801,3194,2417,2987,2290,2465,2787,2279,2155,1780,1697,2008,2232,2163,1903,2342,3029,3307,3248,3276,3217,3279,3308,3051,3165,3362,3294,3269,3327,3152,2247,1873,1837,1568,1786,2006,1821,1839,2055,2102,1718,1831,1708,1749,1647,1612,1393,1238,1456,1447,1309,1353,1230,1425,1713,1438,1391,1457,1530,1591,1499,1409,1374,1360,1268,1382,1716,1473,1311,1321,1509,1417,1397,1404,1332,1430,1412,1236,1298,1374,1539,1605,1559,1434,1450,1531,2169,2107,1526,1375,1414,1627,1661,1377,1430,1673,1622,1782,1758,2685,4232,3354,2288,2054,2113,2626,3089,3423,3441,3215,2807,2562,2442,1990,1675,2002,2287,2010,2002,2491,2542,2638,2807,2208,1739,2297,2988,3130,3056,3401,3050,2490,2468,2497,2298,2054,1999,2089,1997,2391,3404,2774,2128,2013,1948,2032,2288,2130,1832,1873,1851,1793,1513,1513,1641,1732,1581,1644,1577,1764,1734,1730,1726,1489,1455,1520,1600,1601,1785,2498,2104,1798,1677,1791,1650,1476,1476,1396,1598,1723,1519,1450,1664,1861,1836,1543,1574,1765,2116,2486,2089,1655,1780,1910,1797,1514,1560,1788,1657,1615,1738,1615,1478,1502,1836,2144,2186,2421,2304,2010,2082,1879,2080,1835,1661,2263,2752,2887,2876,2933,3285,3213,3188,3062,3172,3234,2197,2176,3034,3573,3320,2753,2298,2316,2666,3300,3706,3299,2756,3280,2980,2325,2247,2333,2145,2168,2332,1975,1854,2325,2236,2089,2484,2956,3060,3186,3397,3457,3354,3439,3195,2972,3157,2841,2941,3071,3185,3326,3580,3276,2779,2526,2414,2593,2558,2512,2249,2180,2314,2122,1835,2013,2324,2592,2434,2251,1991,1753,2260,2501,2258,2309,2198,2005,2055,1733,1506,1631,1588,1941,2238,2047,1976,2631,2930,2323,1808,2234,2029,2248,3130,3375,3914,4091,2932,2485,2922,2732,2002,1709,1536,1643,1590,1751,2393,2723,2703,2143,1980,2069,1966,2078,2536,2535,2927,2772,2323,2106,1802,1821,2708,3501,3124,2440,2641,2408,1926,2303,2098,2265,2576,2153,2231,2177,1797,1788,1694,1549,1947,2018,1509,1580,1709,1919,1991,1525,1405,1400,1304,1174,1349,1442,1406,1517,1657,1759,1805,1754,1824,1533,1306,1317,1291,1243,1345,1366,1421,1333,1252,1430,1301,1239,1360,1383,1308,1291,1422,1549,1495,1530,1687,1936,1810,1654,1933,2410,3216,3084,2491,2250,2074,1827,1788,1772,1794,1773,1857,2068,1959,2008,2522,2170,1675,2208,2609,2405,2017,2533,3296,3185,3277,3342,3162,3075,2979,2533,2150,2700,2928,2542,2042,2198,1995,2071,2215,2544,2733,1996,1620,1575,1793,1972,1765,2120,2696,2475,2157,2322,2724,2690,2465,2534,2759,2607,2916,2846,2377,2227,2347,2891,3439,3133,2558,2492,2758,2195,1758,2062,2003,2094,2214,2003,2255,2224,2155,2708,2654,2315,2288,2023,1871,2036,2807,3488,2885,2456,2514,2797,3194,3108,3187,3286,3460,3508,3451,3218,3307,3674,3906,4154,4339,4515,4803,4756,4533,4217,3851,4051,4005,3792,3875,3854,3804,3616,3409,3434,3690,3952,3997,3946,3961,4196,4101,4131,4403,4551,4500,4243,3860,4043,3244,1355,768,760,886,1241,2002,2920,4208,3783,3718,4108,4487,4526,4239,4251,4275,4604,3874,2949,2873,3539,3583,3570,2909,2119,2069,2204,2101,2404,2854,2194,1873,1657,1722,1635,1824,1876,1694,1795,1555,1481,2633,4169,4333,3470,2523,1816,1903,1771,1588,1591,1656,1958,2032,1669,1485,1584,1567,1320,1063,904,824,943,1145,1265,1350,1317,1267,1317,2213,3646,3940,4143,4304,4158,4488,4692,4560,4079,3742,3811,4116,4015,3530,3111,3040,3566,3900,3204,2506,2140,2266,2186,1857,1543,1338,1342,1476,1457,1325,1275,1168,1271,1313,1810,1682,1256,1268,1512,1504,1276,1270,1389,1250,1266,1264,1347,1461,1673,1664,1524,1532,1739,1814,1603,1448,1272,1360,1325,1174,1131,1093,1070,1272,1395,1279,1351,1617,1692,1663,1742,1935,2369,3034,3576,3476,3176,2619,2199,1968,1872,2028,2096,1990,1843,1651,1310,1067,876,782,733,862,889,766,664,622,570,565,580,533,522,496,438,406,383,345,331,327,338,345,350,343,334,333,331,317,321,286,323,334,305,309,324,330,312,300,320,305,292,294,294,298,305,312,328,343,348,354,369,388,398,394,372,352,342,328,312,311,313,332,349,352,329,318,342,368,394,413,440,481,533,577,531,437,413,451,475,430,397,370,406,461,500,438,439,577,643,518,401,434,489,524,559,578,549,533,459,421,402,377,365,349,336,327,324,321,323,324,325,319,316,317,322,327,335,370,417,451,465,470,470,466,471,476,465,432,430,448,466,487,521,520,510,506,484,673,689,606,707,899,934,1036,1221,1226,1099,976,886,878,816,608,523,490,454,435,410,395,388,386,381,372,376,367,388,398,402,406,406,409,411,397,366,349,358,354,346,334,334,332,325,318,315,313,313,319,334,333,347,394,378,406,417,416,422,428,435,446,470,488,527,611,612,626,579,568,567,567,582,604,524,543,549,512,558,513,512,520,601,617,631,471,521,480,421,410,366,344,335,340,372,393,377,368,387,397,501,437,424,457,411,386],[2071,2128,2073,1903,1974,2244,2355,1920,1668,1926,2154,2425,1760,1655,1680,2026,2209,2458,2542,2255,2002,2072,2143,2464,2450,2415,2514,2856,2802,1779,1766,2478,3121,3007,2475,2167,2116,2060,2138,2047,1600,2126,2742,2910,2910,2799,2934,2985,2751,2945,3333,3483,3633,3374,3198,2615,2588,2583,2989,3082,2978,3230,2899,2026,1246,1196,1691,2951,3481,3292,2978,2541,2630,3465,3615,3613,3801,3629,3371,4016,3794,3255,3104,3392,3257,3404,3256,3325,3693,3648,3200,2796,2722,3044,3190,3054,2543,2458,2367,1969,2442,3132,2747,2082,1897,1865,2082,2369,2454,2524,2927,2900,2390,2490,2985,2791,2209,2048,2086,2288,2886,3068,3162,2684,2796,2696,2000,1939,1868,1708,1461,1557,1913,2210,2195,2209,1964,2129,2248,2191,2446,2442,2441,2403,2442,2297,2200,2175,2371,2464,2292,2467,2509,2473,2840,3009,2729,2744,3319,3601,3858,3775,3352,2987,2584,2861,3273,3416,2614,1674,1579,1943,2391,2731,2523,1924,1812,2361,2632,2647,2539,2334,3004,2958,2186,1816,1788,2076,2432,2190,1810,2141,2390,2522,2690,2152,2640,2810,2846,3055,3273,3084,2268,1952,2446,2283,2226,2342,2421,2086,1889,2105,2301,2264,2008,2083,2199,2035,1808,1832,1909,2277,2380,2215,1788,1612,2554,2762,2678,2791,2553,2708,2364,2063,2224,2389,2191,1731,1694,1802,1266,1219,1467,1246,1274,1588,1760,1685,2051,2222,1968,1918,1879,1896,1844,1934,2024,2200,2257,2291,2416,2272,1920,1473,1528,1260,1397,2625,2812,3590,3801,3542,3074,2309,2642,2364,1834,2918,3664,3182,3143,3144,2877,2141,2136,2617,2503,2287,2397,2410,2209,1689,1716,1877,1616,1884,1797,1753,1802,1973,1707,2048,2244,2060,2370,2226,1961,1839,1613,1688,1716,1300,1232,1211,1779,2444,2355,2027,1916,1743,1783,2221,2358,2160,1654,1729,1790,2060,2266,2418,2476,2126,1916,2106,2106,2004,1714,1889,1758,1947,1901,2367,3089,2792,2480,2884,2933,2499,2497,2526,2032,1852,1734,2739,3075,2427,2499,2746,2071,1636,1953,2059,1926,2040,2283,2449,2600,2587,3001,3299,3239,2351,2097,2745,2684,2515,2330,1908,1902,1857,2344,2636,2260,2117,2021,1712,1860,2341,2092,1714,2188,2179,2232,3008,3839,3496,3008,3023,3489,4120,4252,4033,4046,4277,3310,2480,2374,2216,2317,2749,2840,2105,2026,2954,3385,3530,3659,3228,2676,2422,2215,2187,2277,2546,2662,2865,3347,3538,3543,3368,3606,4079,3669,3669,4080,4275,3875,3784,3860,3516,3190,3329,3552,3768,3651,3624,3504,3103,2111,1819,1780,2434,2668,2766,2829,2817,2978,3147,3040,2056,1952,2404,2431,2410,2082,2454,2403,2342,2597,2665,2740,2702,2311,2041,2243,1985,2361,3016,2461,1803,1649,1569,1508,1842,1890,1743,2593,2610,1835,1716,1636,1794,1892,2025,2366,2589,2778,2360,1714,1584,1708,2277,2134,2989,2604,2049,2637,2770,2576,2664,2715,2858,2746,2729,2634,2309,2714,2771,2490,2416,2110,2311,2376,2038,1954,2298,2431,2042,2031,2332,1954,2187,1952,1725,1664,1939,2431,2369,1832,1649,2089,1995,1458,918,1736,2500,2536,2465,2398,2085,2418,2608,2253,2213,2484,2327,2233,1889,2099,1975,2585,2508,2413,2410,1665,1142,1308,1614,1876,1617,1922,1826,1985,1809,1626,1759,2129,2090,1745,1748,1986,2183,2624,3166,2949,2433,2090,2136,2492,2842,3366,3328,3298,3199,2990,2332,1693,1566,1445,1486,1831,1874,1556,1576,1792,1902,1806,1422,1228,1830,2083,1649,1593,1447,1667,1639,1429,1601,2010,1931,1608,1809,1876,1703,1831,2007,2076,1854,1904,2109,2399,1823,1513,1482,1676,1565,1487,1791,1816,1570,1903,2088,1821,1650,1847,2171,2288,2146,2521,2788,2148,1526,1418,1488,1364,1339,1396,1480,1655,2015,2469,2242,1796,1572,1604,1912,1938,1604,1349,1365,1400,1389,1489,1559,1713,1722,1694,1645,1494,1256,1445,1732,1533,1638,1679,1588,1860,1906,1927,1540,1570,1958,1807,1612,1634,1483,1416,1534,1623,2182,2061,1630,1645,1356,1399,1508,1522,1630,1933,2057,1965,1932,1415,1718,1470,1743,2668,2755,2232,1698,1459,1489,1582,1662,2121,2450,1860,1575,1317,1270,1250,1294,1244,1497,2204,2459,2092,2290,2295,2325,2338,2181,2855,2285,1867,1920,1785,1437,1522,1807,1764,1833,2259,1992,1970,2032,2351,2545,2109,2124,2207,2514,3172,3119,2799,2810,3208,3628,3282,2908,2820,3211,2676,2909,2750,2761,3175,2755,2288,2249,2178,2148,2165,2113,1919,2377,3138,3539,3389,3009,2940,3154,3362,3132,3035,3128,3090,3076,3061,3123,2355,2224,2641,2347,1976,1842,1695,1802,1636,1626,1996,1861,1738,1636,1504,1443,1340,1284,1633,1802,1448,1353,1232,1660,1920,1479,1256,1360,1506,1570,1478,1339,1436,1486,1296,1438,1730,1434,1302,1286,1599,1443,1289,1281,1194,1329,1360,1288,1416,1311,1355,1377,1457,1383,1505,1599,1689,1683,1586,1444,1504,1701,1615,1566,1607,1754,1515,1396,1269,2194,2756,2259,2114,1796,1403,1976,2875,2987,3072,3141,2790,2328,2179,2014,1789,1760,2236,2377,2106,2243,2098,2087,2396,2503,2725,3354,3584,3082,2674,3073,3405,2967,2612,2530,2494,1941,1800,1729,1956,2020,2398,2095,1784,1856,2273,2204,2018,2073,2407,2050,2023,1857,1642,1654,1572,1526,1588,1726,1948,2040,1716,1785,1848,1641,1629,1528,1709,1648,1485,1536,1649,1954,2014,2010,1942,1672,1543,1426,1400,1509,1679,1681,1702,1833,1852,1779,1909,1814,1742,1995,1766,1661,1826,1694,1456,1551,1560,1643,1599,1713,1848,1864,1736,1477,1807,1968,2043,2117,1938,1922,1894,1881,2053,1615,1400,1962,2370,2798,3146,3120,3160,2850,2806,2591,2237,2763,2640,2339,2472,2997,3184,2866,1830,1795,2072,2271,2742,2621,2777,3299,3267,2631,1982,2065,2536,2529,2328,2331,2878,2757,2724,2647,2822,3750,3994,3626,3392,3437,3438,3367,2896,2330,2436,2678,2952,3222,3165,2769,2632,2486,2248,2239,2291,2180,1909,1840,2080,2920,2942,2419,2028,2437,2511,2441,2784,2912,2559,2287,2113,2431,3094,2867,2417,2104,2131,1754,1621,1991,2010,1781,1627,1736,1766,1996,2186,2334,1965,2296,2103,2603,3498,3403,3275,3353,3274,3299,2746,2352,1756,1616,1854,1786,1412,1725,2719,2836,2464,2272,2207,2362,2177,1916,2206,2403,2677,2713,2600,2254,1688,1899,2462,2673,2344,1970,1918,1979,1993,1869,1756,2473,2743,2512,2225,1972,1963,1980,1735,1753,2046,2332,1882,1682,1704,1844,1512,1445,1626,1650,1490,1265,1373,1418,1673,1626,1552,1496,1735,1769,1814,1575,1322,1369,1444,1513,1590,1632,1350,1255,1268,1262,1259,1272,1374,1368,1306,1265,1360,1552,1533,1522,1660,2272,2148,2107,2693,3220,3586,3228,2482,2110,1900,1596,1572,1477,1783,1717,1737,1795,1908,2205,2122,1871,1808,1996,2340,2766,2679,2673,3141,3089,3105,3132,2941,3001,2972,2808,2490,2379,2574,2270,2045,2397,2192,2309,2428,2923,2634,1857,1426,1556,1718,2040,2111,2001,2686,2500,2355,2067,1873,2277,2192,2304,2512,2358,2886,3010,2618,2543,2442,2353,2431,2697,2568,2099,2241,2098,2133,2292,2101,2083,1982,2280,2231,2002,2446,2777,2874,2556,2578,2850,2301,2324,2736,2858,2730,2626,2470,3030,3210,3006,3498,3725,3727,3684,3666,3582,3791,4051,3896,3997,4296,4439,4529,4398,4415,4447,4312,4072,3683,3709,3837,3827,4060,4244,4243,4119,4100,4133,4132,4168,4288,4357,4169,4119,4328,4419,4419,4192,3705,3626,3209,1660,830,732,843,1134,1738,2523,4029,4195,3626,3892,4193,3926,3447,3927,4092,4573,4220,3082,2580,3361,4229,4492,3587,2332,1947,2075,2140,2419,3300,2708,1996,1427,1545,1606,1694,1797,1693,1744,1686,1365,1818,3427,4004,3432,2734,1929,1758,1736,1601,1533,1582,1876,2045,1765,1517,1536,1609,1373,1103,930,817,880,1045,1211,1548,1551,1147,1270,2255,3760,3977,4283,4517,3963,3928,4401,4376,3924,3667,3614,3770,3897,3595,3164,3023,3314,3697,3458,2762,2156,2119,2207,1991,1621,1397,1322,1381,1432,1301,1320,1176,1223,1222,1628,1860,1472,1199,1460,1588,1356,1255,1344,1223,1202,1224,1323,1376,1579,1668,1531,1484,1666,1844,1567,1459,1279,1306,1356,1244,1146,1069,1038,1188,1332,1269,1291,1660,1837,1769,1905,2006,2237,2803,3427,3459,3312,2863,2210,1990,1965,2071,2029,1958,1824,1643,1300,1051,888,793,729,772,862,804,623,614,542,525,543,562,549,523,478,463,409,362,337,328,327,342,347,335,329,321,317,310,314,293,313,335,309,305,320,330,319,305,307,313,313,292,289,311,326,335,341,347,348,381,430,459,452,411,369,348,333,321,311,312,318,327,348,357,342,325,345,385,409,413,435,476,537,591,536,427,401,436,479,442,405,360,384,434,507,519,504,589,623,487,415,415,426,467,507,526,521,508,464,412,376,369,364,342,331,329,333,325,322,314,310,308,308,309,315,327,353,387,422,441,453,456,458,477,502,522,523,480,459,456,460,493,492,500,506,502,476,622,675,602,651,823,879,975,1148,1234,1096,967,852,892,902,698,551,505,447,419,403,403,403,388,379,380,390,363,387,403,400,407,405,398,392,376,363,358,352,335,327,327,327,328,324,314,310,308,314,323,335,341,349,377,382,397,407,419,424,437,445,451,486,513,584,605,559,564,572,574,579,566,581,598,523,520,562,488,533,493,482,489,590,602,603,487,487,491,407,410,378,365,343,329,360,386,398,353,356,382,500,510,440,525,476,406],[2011,2631,2137,1542,1828,2153,2167,1901,2050,1857,2014,2053,1745,1635,1738,1985,2177,2731,3243,2625,2125,2154,2290,2752,2699,2219,2458,2987,2199,1988,2659,3081,3506,3532,2852,2137,1866,2031,2181,2044,2125,2492,2333,2495,2806,2790,2795,2864,2829,3221,3545,3562,3853,3531,3161,2949,3212,3395,3338,3077,3090,3297,3311,2755,1725,2496,3205,3142,2997,2835,2585,2343,2459,2672,3138,3675,3682,3504,3861,4374,3839,3137,3409,3961,3584,3038,2736,2660,2966,3342,3252,2942,2766,3130,3011,3238,2449,2359,2271,1995,2030,2426,2429,2057,1788,1740,2268,2940,3108,3167,3458,2788,2365,2751,3050,2862,2468,2263,2182,2339,2568,2531,2763,2806,2789,2269,1885,1705,1591,1780,1864,1403,1365,1961,2157,1911,1689,1790,2404,2526,2393,2500,2470,2279,2100,1823,1990,2264,2330,2349,2178,2155,2409,2456,2676,2913,2593,2776,3466,3584,3481,3451,3264,3065,3017,3589,3825,3366,2314,1535,1197,1321,1911,2363,2235,1806,1685,1954,2382,2670,2468,2878,3332,2626,2061,2003,1780,2257,2717,2726,2774,2201,2018,2201,2568,2777,3199,3092,2862,2941,3068,2865,2306,1375,2072,2266,2226,2286,2187,2187,1984,2137,2157,1883,1881,2137,2210,2336,2267,1987,2206,2683,2610,2204,2044,2005,2400,2348,2518,3183,3421,2942,2043,2098,2380,2370,2380,2094,1782,1794,1352,1405,1492,1038,1211,1882,2049,1694,2255,2376,2269,2155,1788,1491,1581,1937,2071,2041,2047,2051,2452,2473,2054,1690,1883,1267,1836,2684,2919,3269,3686,3511,2555,2206,2872,2310,2363,3109,3526,3064,2290,1973,2239,2004,2265,3008,2538,1958,2152,2264,2039,1718,1585,1598,1760,1899,2323,2339,1943,1714,1861,2509,2030,1818,2007,1877,1830,1864,1634,1918,1727,1293,1326,1439,1933,2123,1870,1888,2060,1776,2023,2120,1921,1902,2152,2416,2397,2531,2510,2303,2179,2553,2076,2179,2258,2192,1632,1750,2091,1982,1705,2186,2669,2268,1886,2553,2940,2966,2917,2533,2129,2216,2365,2811,2890,2551,2888,3011,2244,2222,2297,2228,2082,2060,2221,2279,2302,2623,2907,2955,2545,2069,2408,2757,2166,2483,2525,2190,2696,2623,2445,2381,2035,1836,1793,1636,1719,1856,1653,1614,2270,2253,1918,2542,3109,2740,2464,2586,3198,3854,4257,4532,4285,3816,2853,2456,2376,2257,2310,2363,2218,1885,2127,2993,3339,3647,3951,3893,3446,3179,2928,2665,2480,2542,2524,2829,3361,3459,3560,3676,4132,4289,3763,3749,4061,4090,3641,3529,3940,3574,3029,3475,3605,3340,3442,3391,3257,3134,2301,1831,1767,2235,2635,2415,2591,2733,2695,2762,2792,2086,2148,2532,2591,2240,2055,2426,2553,2170,2227,2432,2547,2419,2178,1936,2164,1720,1246,1765,1939,1701,1865,1933,1562,1688,1990,1865,2337,2346,1783,1505,1740,1992,1787,1744,1836,2265,2566,2182,1770,1825,2055,1948,1899,2032,2158,2142,2426,2428,2393,2369,2403,2321,2265,2394,2642,2693,2935,2221,1587,1581,1681,2119,2364,2209,2465,2431,2302,1982,2226,2526,2384,2302,2421,2159,1839,2048,2274,2417,2170,2101,2247,2041,1957,1982,2665,3200,2897,2366,2125,2348,2724,2666,2079,1721,1885,1875,2136,2073,1858,1849,2053,1864,1720,1766,1596,1558,1848,1748,1961,2182,2452,1895,1955,1677,1448,1576,1951,1689,1251,1496,1539,1636,2398,2747,2474,1786,1920,2076,2587,3054,3507,3730,3476,3523,3191,1995,1561,1482,1547,1580,1897,1560,873,943,1361,1605,1854,1763,1769,1898,2066,1814,1629,1667,1933,1653,1559,1742,1866,1721,1455,1384,1534,1580,1697,1902,2141,1695,1591,1591,1572,1553,1403,1339,1520,1641,1895,1538,1459,1322,1962,2222,1707,1678,2453,2903,2566,1945,2070,2367,1888,1609,1435,1469,1412,1416,1560,1518,1643,1671,1760,1874,1845,1499,1720,2319,1887,1495,1314,1330,1377,1419,1615,1700,1451,1280,1407,1472,1393,1404,1515,1743,1677,1868,1823,1732,1748,1728,1732,1573,1670,1698,1691,1845,2056,1787,1616,1813,2163,2547,2236,1841,1567,1443,1579,1654,1555,1510,1865,1874,1914,2057,1658,1711,1738,2241,2691,2645,2081,1510,1425,1581,1672,2127,2415,2068,1910,1706,1401,1213,1224,1380,1428,1801,2900,3227,2544,2433,2104,2524,2503,2577,2645,2054,1932,1947,1968,1731,1693,2085,1747,1618,2254,1865,1831,1663,1996,2155,2036,2194,2203,2507,2416,2359,2152,2280,3177,3457,3698,3360,2896,3088,2801,2522,2957,3087,3221,2763,2634,2906,2483,1915,2265,2422,2451,2843,3272,3605,3321,2919,3139,3295,3398,3274,3060,3084,3097,3190,3159,3052,2730,2490,2512,2609,2602,1851,1561,1490,1733,1880,1831,1697,1628,1554,1493,1277,1322,1417,1646,1669,1671,1688,1732,1787,1526,1450,1537,1731,1649,1392,1420,1431,1435,1388,1459,1433,1480,1456,1438,1458,1624,1518,1395,1323,1346,1353,1407,1377,1440,1282,1416,1393,1415,1597,1698,1627,1699,1792,1616,1470,1478,1457,1570,1736,1944,1968,1760,1632,1426,1462,1405,1527,1824,1896,1909,2271,2476,2184,2382,2990,3008,2298,2002,1997,1827,1630,2008,2341,2061,2155,2278,2186,2799,3226,3066,3377,3772,3625,3096,3020,3552,2884,2389,1873,1959,1768,1808,1881,2080,2003,1953,1928,1716,2053,2443,1999,1850,2002,2623,2258,1928,1885,1718,1732,1781,1593,1558,1638,1903,2084,1768,1685,1599,1659,1528,1713,2136,1641,1349,1713,1925,1866,2057,1880,1888,1662,1488,1428,1399,1587,1877,1772,1509,1601,1659,1875,2048,1737,1495,1447,1495,1591,1702,1484,1556,1720,1656,1695,1898,2149,2366,2086,1988,1785,2024,2544,2403,2042,1953,1903,1877,2025,2081,1738,1511,1825,2119,2673,2899,2701,2423,2536,2328,1893,1629,1699,2195,2464,2482,2358,2824,2347,1805,1735,2256,2139,1909,1953,2142,2449,2657,2291,2114,2530,3100,3035,2604,2843,3308,3502,3352,2835,3384,4389,4477,4077,3393,3199,2708,2744,2366,2145,2697,3131,3084,3260,3142,2480,2268,2395,2400,2668,2472,2082,2109,2189,2341,2622,2415,2323,2467,2474,2155,1889,2337,2823,2876,2799,1968,1915,2209,2224,2070,2070,2775,2467,1730,2039,1990,1937,1503,1632,1715,1873,1925,2332,2262,2258,2116,2280,3287,3417,2684,2542,2731,2594,1920,1903,1967,2281,2451,1855,1416,1691,2062,2158,2435,2508,2412,2750,2158,1526,2155,3053,3143,2684,2424,2210,1711,1779,1798,1791,2270,1915,1748,2205,2378,1891,1964,2287,2401,2493,2396,2270,2204,2232,2118,1920,1927,2339,1933,1770,2098,2014,1831,2158,2208,1883,1636,1577,1509,1422,1421,1429,1516,1361,1618,1702,1689,1529,1348,1294,1296,1538,1752,1785,1605,1560,1356,1281,1249,1260,1404,1423,1383,1457,1665,1920,1754,1639,1857,2164,2193,2141,2316,3033,3545,3168,2446,2042,1992,1704,1853,1704,1939,1845,2014,2096,2124,2105,2152,2388,2261,2034,1998,1833,2337,3003,3393,3274,3255,3395,3344,3248,3164,2898,2168,1843,2175,2134,2042,2327,2021,1813,1656,1820,1695,1792,2122,2082,2282,2601,2252,1884,2725,2446,2466,2511,2289,2106,1926,2141,2565,2541,2842,2979,2019,1996,2448,2492,2407,2468,2477,2136,2029,2140,2267,2081,2072,1931,2288,2500,1992,2186,2571,2046,2170,2046,2050,2324,2722,2812,2631,2578,2884,3060,2727,3307,3417,3307,3553,3608,3646,4038,4036,3702,3870,4028,3820,4073,4235,3656,3739,4085,4400,4783,4463,3835,3939,4252,4196,4244,4285,4415,4527,4312,4071,4151,4302,4444,4516,4477,4268,4151,4252,4148,4268,4251,3739,3493,3563,2465,1155,745,835,1073,1631,2185,3225,4184,3876,3515,4031,4152,3615,3847,4109,4545,4485,3436,2592,3029,4060,4633,4264,3019,1958,1947,2166,2430,3074,3113,2345,1421,1394,1606,1620,1775,1663,1783,1765,1468,1375,2509,3064,3068,2879,2181,1745,1739,1644,1526,1540,1797,2023,1785,1586,1487,1571,1407,1141,942,818,832,908,1102,1465,1460,1207,1160,2171,3620,4010,4246,4547,4040,3591,3937,4147,3897,3572,3470,3503,3614,3587,3315,3034,3154,3523,3655,3161,2353,2019,2198,2101,1665,1434,1351,1313,1440,1318,1326,1239,1187,1198,1410,1800,1742,1296,1363,1532,1443,1297,1254,1208,1211,1220,1294,1315,1445,1602,1576,1486,1605,1782,1438,1365,1250,1194,1335,1300,1164,1096,1035,1085,1290,1317,1205,1539,1855,1774,1892,2061,2234,2595,3182,3392,3228,2922,2396,2143,2183,2259,1996,1894,1778,1568,1261,1012,861,766,722,718,830,1002,691,601,518,501,508,549,616,589,514,466,400,375,347,338,348,350,351,343,328,317,314,309,314,307,313,331,316,304,318,331,323,309,305,305,326,308,277,312,327,335,333,339,345,401,448,449,417,394,369,349,339,327,317,313,324,328,342,352,338,317,339,392,416,405,428,485,543,588,554,441,398,415,475,455,415,375,390,449,496,516,465,477,580,476,397,384,399,425,456,474,480,476,459,409,356,350,347,334,320,323,325,318,309,303,298,295,296,301,306,325,358,399,422,438,444,453,441,455,506,523,524,485,455,440,425,511,476,474,496,504,471,536,634,604,611,708,881,1023,1043,1072,1026,983,841,831,914,775,585,520,436,418,415,417,423,409,383,383,401,377,381,404,399,407,400,384,369,363,357,355,341,330,328,328,328,328,323,319,320,316,324,306,335,347,361,363,378,395,406,420,433,451,462,468,491,511,562,605,538,568,605,585,589,571,568,557,504,494,552,490,506,474,456,474,570,592,574,511,456,486,401,406,378,368,334,316,349,361,413,381,354,424,508,555,503,711,597,449],[2393,2220,1758,2045,2112,1930,2342,2339,2601,2037,1549,1616,1838,1852,1970,2270,2578,3090,3566,3173,2385,2136,2686,3619,3298,2373,2786,3176,2841,3021,3310,3632,3895,3994,3438,2521,2271,2305,2362,2382,2100,2209,2250,2154,2439,2709,2938,3022,2941,3300,3606,3891,3838,3393,3356,3477,3386,3367,3206,3167,3159,3240,3072,2741,2573,3123,3047,2669,2374,2143,2250,2454,2532,2279,2493,2957,3135,2851,2595,3419,3714,3797,4332,4740,4244,3388,3032,2613,2630,2976,2854,2952,3072,2989,2381,2562,2346,2347,2643,2800,2494,2568,2316,2599,2465,2557,2900,2884,2994,3234,3162,2653,2500,3002,3410,3090,2780,3038,2662,2162,2286,2425,2543,2998,3106,2612,1766,1229,1557,1942,1583,1159,1436,1682,1781,1558,1814,2001,2204,2769,2880,2579,2156,1780,1909,2076,2544,2490,2155,1982,1660,1951,2564,2457,2246,2342,2264,2588,3318,3288,3059,3173,3188,3096,3088,3575,3482,3589,3168,1788,1150,1587,2428,2622,2062,1716,1753,1740,2166,2400,2598,3099,3161,2427,2192,2010,1996,2732,3214,2849,2470,2198,2158,2344,2586,2644,2865,3087,3016,3226,3030,2743,2417,1765,2225,2601,2496,2193,2188,2225,2255,2420,2166,1571,1616,2031,1872,1841,2005,2166,2499,2762,2612,2332,2299,2135,2043,2322,2214,2609,2897,2286,1636,1643,1788,1972,2659,2422,2026,1800,1561,1724,1890,1528,1598,2236,2579,1925,2178,2316,2459,2209,1844,1831,1969,2066,2220,1918,1987,1726,1920,2125,2048,2101,1826,1454,2044,2438,2094,2101,2974,3030,2331,2544,2238,2152,2657,3099,2684,2212,1801,1988,2112,1941,2390,3041,2828,2104,2274,2786,2075,1771,1672,1553,1744,1726,2000,2251,2216,2188,2237,2224,1852,1892,1908,1853,1851,1867,1932,2107,1850,1712,1636,1501,1880,1903,2023,2023,1881,1770,1891,1869,2046,2178,2075,1919,2081,2188,2248,1773,1901,2219,1885,2337,2363,2000,1900,2062,2004,1946,2260,2787,2879,2690,2370,2735,2921,2942,3124,3153,2971,2920,2812,2564,2577,2451,2422,2137,1896,1975,2046,2351,2172,2136,2199,2311,2581,2886,2952,2362,2070,2330,2566,2409,2323,2593,2623,2373,2226,2277,2056,1779,1694,1833,1751,1655,1928,1790,1472,1825,2647,2477,2349,2238,2073,2791,3019,2587,2552,3072,3597,3377,3163,2720,2147,1598,1658,1930,1946,1763,1921,2389,2465,3084,3462,3542,3630,3746,3848,3906,3802,3485,3064,2607,2541,2907,3340,3362,3769,3693,3928,4108,3817,3817,4176,3965,3278,3039,3242,2601,2408,3032,3176,3151,3371,3504,3480,3438,2619,1820,1778,2053,2519,2288,2425,2653,2784,2963,2536,1875,2018,2723,2596,1974,1786,2156,2544,2364,2646,3654,3039,2501,2204,1836,1821,1465,1026,1400,1814,1826,1828,1990,1754,1748,1976,1704,1512,1672,1548,1501,2058,2209,2170,2455,2363,2589,2508,2270,1801,1919,1998,2088,2161,2273,2653,2784,2666,2628,2469,2199,2422,2432,2730,2695,2513,2386,2177,1830,1448,1312,1910,2548,2322,1947,2492,2523,2129,1843,2344,2192,1894,2360,2641,2079,1887,2078,2193,2489,2480,2325,2476,2555,2540,2831,3364,3518,2872,2311,2587,2573,2534,2577,1973,1897,2005,1938,1943,1694,1462,1786,1964,1721,1522,1594,1549,1627,1660,1879,1904,2041,2224,1876,1582,1540,1430,1339,1476,1221,1252,1930,1557,1520,2209,2492,2189,1891,2310,2498,3054,3706,3551,3386,3628,3523,2932,1750,1541,1800,1760,1676,1701,1256,948,1126,1296,1366,1671,1511,1533,1529,1722,1838,1992,2160,2213,2052,1951,1808,1642,1483,1390,1459,1752,1750,1761,1889,1789,1488,1600,1712,1640,1689,1556,1700,1705,1816,2331,1548,1600,1611,1969,1774,1835,2468,2881,2721,2302,1974,1776,1776,1681,1796,1560,1412,1318,1333,1437,1557,1730,1729,1623,1620,1497,1307,1572,2027,1456,1222,1351,1519,1462,1304,1343,1439,1385,1278,1199,1270,1798,2152,1787,1563,1647,1958,2250,2168,1818,1565,1470,1478,1546,1590,1731,1799,1957,1851,1798,2021,1766,1712,1703,1565,1560,1942,1925,1714,1622,1639,1786,1946,1986,1867,1710,1640,2050,2315,2087,2066,1942,1626,1657,2162,1941,2162,1959,2010,2095,1692,1365,1219,1158,1296,1427,1574,2187,2699,2209,1942,1918,2457,2591,2512,2100,2014,2165,2105,2072,2364,2518,2430,2071,1783,2151,2233,2376,2304,2155,1877,1859,2044,2287,1878,2185,2430,2286,2083,2666,3112,3183,3143,2911,2899,2962,2693,3151,3558,2791,2247,2522,2547,2598,2421,2460,2857,3095,3394,3419,3124,3323,3218,3401,3204,2820,2840,2824,2933,3130,3251,3274,2962,2885,2969,2369,2821,2754,2007,1679,1892,2036,1888,1660,1628,1802,1934,1963,1405,1325,1516,1584,1477,1598,1562,1774,1558,1354,1566,1542,1477,1477,1456,1458,1442,1402,1322,1472,1499,1410,1391,1502,1562,1548,1703,1670,1286,1429,1599,1577,1456,1331,1299,1484,1409,1433,1709,1717,1638,1801,1499,1410,1416,1388,1355,1453,1623,2056,2144,2047,1771,1670,1451,1306,1428,1606,1670,1933,1959,1874,1956,1984,2503,2915,2532,2078,1981,1974,1750,1902,2149,2071,2160,2206,2228,2341,2692,2467,2811,3759,3994,3894,3384,2779,2270,2059,1809,1722,2187,2120,1748,1718,1840,2183,2205,1966,1843,1955,1857,1766,1709,1873,1969,1661,1599,1589,1631,1621,1570,1581,1636,2099,1860,1556,1692,1957,2171,1644,1680,1811,1413,1412,1597,1492,1510,1950,1663,1809,1672,1432,1311,1421,1700,1958,1678,1421,1498,1504,1681,1940,1898,1847,1833,1655,1828,1874,1614,1748,1653,1598,1878,2146,2166,2292,1800,1946,2439,2686,3161,2890,2199,2005,2016,1898,2189,2420,2053,2122,2635,2336,2477,2583,2018,1909,2304,1789,1559,1550,1734,2166,2353,2396,2353,2633,1937,2262,2253,2100,1831,1848,2311,2374,2151,2189,2057,2056,2252,2429,2390,2247,2448,2634,2813,2692,2309,2731,3508,3576,3527,3308,3212,2574,2434,2261,2461,3032,3445,3354,2984,2501,2307,2448,2454,2120,2279,2199,2081,2176,2194,2139,2226,2127,2011,1949,1642,1998,1986,2394,2656,2695,2445,1600,1245,1785,2165,2000,2188,2712,2287,1954,2035,2315,2125,1869,2162,2077,2303,2072,2012,1918,1952,2116,2366,3031,2669,2097,2057,1648,1556,1873,2887,3282,3103,2359,1540,1559,1806,1986,2208,2588,2459,3506,3488,2473,1869,2768,3186,3093,2765,2393,2050,1638,1518,1484,1609,2505,2239,2150,2446,2688,2417,2179,2393,2408,1911,2077,2391,2362,2329,2165,1799,1738,1995,1850,2039,2167,1956,2293,2872,2226,1584,1404,1387,1438,1288,1264,1399,1291,1386,1550,1639,1718,1681,1642,1395,1306,1482,1573,1443,1604,1510,1281,1335,1284,1226,1428,1341,1259,1499,1780,1826,2076,1895,2130,2063,1821,1700,1730,2547,3334,2791,2339,2017,2118,1860,2126,2039,2037,1857,1888,2041,2348,2587,2702,2724,2417,1901,1924,2051,2510,2741,3110,3355,3264,3343,3370,3170,3105,3030,1952,1953,2618,2669,2324,2329,2446,2543,2102,1895,1766,1841,2292,2392,2718,2763,2534,2092,2530,2374,2555,2336,1699,1717,1770,1732,1992,1981,2436,2946,2458,2139,2303,2287,2105,1964,2143,2234,2081,2104,2072,2171,2030,2126,2456,2054,2204,2609,2238,2159,2038,1826,1996,2335,3108,2996,2765,2696,2692,2879,2846,3111,3276,3300,3158,3143,3658,4172,3959,3435,3562,3916,3974,4548,4328,3584,3572,3974,4376,4773,4588,4255,4427,4624,4584,4462,4343,4347,4488,4401,4176,4255,4344,4375,4432,4445,4340,4180,3840,3341,3619,4008,4059,3781,3908,3300,1650,751,760,957,1638,2347,2839,4019,4273,3480,3864,4344,4107,3957,4124,4388,4492,3838,2728,2805,3818,4249,4376,3695,2292,1819,2096,2510,2806,2994,2569,1631,1306,1533,1542,1787,1642,1770,1783,1525,1273,1763,2282,2728,3034,2631,1962,1838,1668,1488,1484,1753,2039,1797,1492,1383,1410,1316,1153,954,800,802,855,1001,1302,1242,1210,1201,1865,3238,3912,4022,4495,4382,3664,3543,3749,3936,3507,3237,3294,3287,3359,3365,3050,2888,3140,3477,3344,2592,1998,2192,2276,1803,1452,1383,1295,1357,1361,1340,1325,1228,1220,1332,1673,1871,1416,1268,1406,1438,1338,1198,1183,1189,1200,1283,1290,1361,1555,1520,1456,1603,1761,1476,1349,1257,1160,1273,1295,1162,1143,1090,992,1190,1322,1172,1338,1629,1654,1756,1959,2136,2406,2857,3188,3107,2937,2530,2255,2187,2289,2022,1835,1760,1544,1237,988,792,714,684,687,798,1284,959,617,507,495,500,538,630,641,562,505,438,401,354,348,364,366,357,346,328,320,314,309,310,312,322,324,321,311,321,332,326,312,310,312,323,328,302,316,308,327,338,345,355,390,430,432,408,389,364,348,336,328,327,326,331,338,346,346,339,318,332,387,421,416,431,496,560,604,574,466,404,422,457,449,433,382,404,475,502,536,491,456,595,539,405,415,437,404,406,436,470,464,446,395,343,326,325,320,307,299,301,294,284,283,288,294,299,312,321,338,360,391,410,427,437,442,429,422,474,475,474,458,446,443,426,497,482,448,460,498,482,470,555,584,619,669,866,969,929,925,948,954,854,797,819,749,591,562,491,468,441,434,435,413,386,380,396,394,391,394,402,404,394,381,369,363,354,356,349,330,323,324,323,322,321,326,325,330,336,365,371,357,362,365,376,392,404,416,441,466,459,485,510,513,553,655,622,630,665,664,648,578,572,549,543,504,524,479,468,460,440,474,573,594,543,528,464,489,406,398,371,361,367,353,366,368,436,430,400,560,592,587,558,785,686,496],[2248,2060,2082,2233,2100,2001,2474,2308,2213,1893,1255,1245,1803,2064,2205,2588,3009,3110,3317,3222,3062,2663,3570,4405,3641,2496,2532,3182,3131,3149,3560,3838,3907,4068,3940,3142,2564,2253,2610,2627,2075,2195,2352,2137,2464,2986,3436,3221,3208,3498,3735,3905,3525,3161,3309,3448,3437,3387,3276,3353,3560,3440,2856,2523,2817,3038,2930,3001,2807,2214,2152,2277,2432,2254,2402,2760,2679,2143,2031,2373,2473,3232,3917,4417,4669,4249,3711,3277,3077,3544,3538,2994,2723,2674,2831,2566,2208,2296,3017,3022,2621,2540,2513,2802,2789,3045,2604,1756,1923,2632,2710,2543,2830,3515,3764,3506,2907,2941,2932,2762,2932,2888,2925,3115,3288,3100,2173,1578,1925,2495,2203,1854,1763,2033,2052,1920,2403,2497,2495,2718,2399,2293,2213,1888,2161,2265,2603,2473,2374,2492,2442,2622,2853,2668,2254,2183,2411,3216,3343,3142,2928,2779,2910,3117,3334,3332,3263,3762,3018,1989,1646,2342,2938,3365,2902,2127,1789,1594,1822,2071,2071,2280,2337,2219,1915,1473,2077,3049,3616,2965,2036,1955,2213,2330,2586,2699,2616,2774,3042,3051,2357,2415,2224,1777,2021,2552,2767,2106,1387,1538,1966,2278,2073,1697,1461,1782,1629,1412,1786,2276,2442,2254,2070,2232,2381,2250,2574,2735,2196,2214,2136,1866,1437,1687,1847,2023,1976,1764,1920,1953,1716,1729,2283,2569,2781,2714,2511,2025,2112,2409,2470,2170,1879,1990,1946,1869,2206,2047,1983,1992,1996,1888,1981,2111,1844,1967,2277,1974,2053,1902,2368,2756,2210,1848,1870,2335,3015,2950,2299,1942,1862,2353,2163,1839,2188,2764,2699,2132,2301,3099,2558,2467,2416,1841,1771,1576,1527,1561,2058,2736,2666,2224,2141,1995,2007,1920,1760,1671,1771,1837,1642,1765,1872,1792,2019,2216,2165,1724,1540,1759,1934,1835,1779,2060,2062,2164,2371,2724,2953,2427,2330,2339,2194,2556,2620,2318,1986,1759,1902,2509,2634,2182,1946,2302,2691,2894,2900,2829,3008,3212,2846,2454,2480,2445,2623,3017,2674,1852,1525,1566,2195,2329,2148,2177,2052,2597,2714,2791,2641,2476,2342,2336,2198,1889,2154,2334,2577,2469,2079,2323,1992,1636,2035,2164,1983,1857,2148,2030,1421,1641,2379,2408,2345,2068,2225,2996,3383,2666,2109,2493,3096,3044,2409,2497,2223,1506,1429,1387,1409,1537,2177,2598,2448,2916,3423,3351,3216,3374,3694,3808,3534,3496,3475,3219,3149,2949,3334,3528,3774,3819,3812,3935,3719,3642,3973,3780,3440,2595,2092,1989,2523,3108,3387,3350,3409,3664,3626,3542,2959,1959,1825,1935,2511,2503,2220,2313,2488,2760,2282,1340,1035,1220,1468,1857,2042,2416,2564,2614,2967,3785,2999,2171,2073,2058,2182,2043,1500,1704,1900,1765,1500,1704,1808,1752,1733,1591,1434,1421,1416,1492,1647,1833,2202,2732,2581,2458,1991,1921,1788,1560,1580,1850,1788,1859,2565,2835,2812,2784,2384,2417,2408,2878,2918,2531,2462,2186,1714,1807,1585,1568,2077,2154,2094,1924,2128,2277,2220,2086,2031,1670,1820,2257,2494,1742,1693,2058,2753,2545,2446,2439,2464,2714,2837,2836,3158,3133,2880,2853,2930,2858,2656,3006,2719,2305,2149,1974,1965,1819,1565,1731,1905,1760,1526,1398,1418,1459,1830,1986,1919,2050,2271,1873,1608,1825,1840,1555,1506,1421,1488,2496,2123,1977,2453,2384,2108,2085,2151,2147,2285,3211,3062,2713,3272,3451,2451,1574,1718,2421,2374,1936,1650,1270,1039,1304,1385,1417,1379,1418,1528,1823,2066,1791,1673,1856,1912,2011,1992,1899,1838,1772,1658,1508,2075,2225,2148,2014,1667,1621,1957,2079,1990,1918,1920,2018,1666,2098,2110,1751,1513,1476,1780,1635,1909,2436,2034,1697,1968,1944,1968,1818,1877,1646,1427,1406,1301,1289,1367,1500,1704,1794,1730,1708,1553,1375,1509,1647,1432,1328,1346,1361,1312,1225,1167,1313,1520,1377,960,1364,1811,1904,1838,1673,1826,1958,2028,2009,1647,1519,1948,1519,1421,1505,1636,1708,1717,1777,1765,1702,1464,1388,1592,1560,1890,2858,2775,2715,2223,1747,1857,1898,1711,1685,1670,1726,1938,2121,1945,1842,1956,1729,1810,2537,2194,2218,2385,2524,2127,1736,1459,1364,1307,1292,1414,1488,1681,2225,1848,1596,1725,1996,2388,2348,2052,2264,2185,2184,2156,2490,3095,2766,2158,1694,1686,2047,2220,2121,1921,2019,2132,1940,2027,2153,3034,3160,3084,2509,2554,3419,3436,3560,3566,3443,2880,2034,2358,3375,2678,2297,2328,2280,2762,2923,2704,2885,3388,3668,3463,3375,3637,3379,3139,2963,2659,2620,2624,2700,3110,3420,3439,3034,2535,2823,2510,2791,2219,1907,1924,2344,2298,2164,2129,1857,2109,1899,1971,1488,1376,1433,1443,1510,1434,1334,1536,1656,1288,1285,1151,1208,1346,1533,1537,1376,1404,1381,1547,1507,1447,1451,1340,1497,1631,1604,1294,1236,1514,1677,1549,1370,1298,1319,1393,1387,1485,1536,1523,1338,1327,1312,1413,1387,1352,1395,1300,1354,1615,2158,2316,1608,1841,1772,1561,1453,1400,1621,2293,2184,1685,1715,1828,2113,2476,2553,2446,2577,2553,2121,1698,1716,1827,2231,2217,2022,2246,2702,2536,2466,3049,3061,2952,2780,2144,1941,2064,2018,1874,2056,1867,1654,1750,1923,2471,2712,1952,1791,1826,1821,2105,2138,2170,2102,1628,1527,1592,1545,1452,1727,1427,1931,2321,1859,1874,2210,2367,2330,1898,1649,1652,1498,1447,1915,1579,1519,1719,1771,1911,1691,1399,1481,1917,1853,1433,1332,1385,1426,1513,1649,1857,1891,1778,1710,1548,1661,1610,1666,1724,1582,1715,1902,1759,2342,2351,1947,2136,2610,2924,2881,2426,1965,2157,2323,2109,1997,2342,2100,1876,1846,2034,2139,2224,2367,2608,1926,1200,1348,1624,1879,2144,2227,2069,2342,2176,2326,2976,3041,2624,2086,2258,2931,3186,2993,2714,2574,2786,2930,2669,2499,2564,2556,2283,2112,2236,1953,2158,2237,2534,2642,2563,2497,2334,2136,2238,2747,3210,3305,2898,2427,2334,2438,2610,2331,2170,2554,2116,1903,2119,1895,1852,2141,2111,1884,1737,1843,2308,2161,2386,2490,2149,2041,1708,1142,1365,1952,2110,2648,2991,2401,2214,2134,1954,1913,2071,2190,2001,1460,1392,1586,1473,1786,2065,2337,2709,2281,2110,2022,1834,2402,3022,3115,2865,2921,2402,1896,2010,2427,2395,2419,2511,2196,2720,2746,2514,2570,2758,2889,2949,3251,3190,2199,1335,1215,1270,1356,1719,2272,2432,2337,2705,2758,2452,3141,2792,2270,1952,2134,2231,2082,1975,1776,2097,2565,2187,1668,1576,2189,2885,3289,2290,1381,1405,1331,1341,1241,1435,1558,1492,1466,1381,1584,1791,1824,1931,1690,1614,1592,1587,1493,1469,1417,1384,1491,1519,1414,1616,1412,1352,1418,1476,1570,1641,1583,1911,1948,1896,2109,2037,2634,3349,2687,2261,1958,2084,1905,1854,1985,1952,2125,2446,2267,2369,2541,2283,2128,2070,1801,1927,2359,2742,2386,2685,3309,3414,3287,3175,3250,3256,3329,2349,2491,2806,2754,2643,2405,2137,2167,2254,1851,1976,1858,1870,2241,2141,2188,2168,1781,2270,2388,2532,2675,2272,2177,2089,1901,2182,2121,2345,2495,2270,2063,2090,2207,2314,2237,2082,2110,2181,2326,2566,2242,2137,2359,2151,2268,2556,2370,2265,2336,1848,1873,2128,2430,3007,2851,3062,3075,3056,3105,3196,3156,3172,3397,3506,3593,4039,4237,3871,3228,3482,3826,3931,4007,3880,4053,4252,4275,4309,4508,4640,4621,4681,4731,4847,5052,4936,4776,4849,4805,4432,4212,4197,4114,4191,4288,4316,4087,3441,2952,3088,3686,4219,4207,4192,3727,2145,854,802,860,1387,2467,2885,4166,4606,3818,3780,4244,4257,3865,3917,4302,4489,4145,2957,2444,3152,3761,4170,4020,3090,2324,2161,2396,2448,2620,2721,2024,1333,1384,1400,1739,1756,1687,1593,1584,1452,1404,1808,2397,2873,2824,2144,1888,1658,1514,1394,1699,2123,1897,1393,1214,1236,1217,1136,985,800,752,822,964,1295,1287,1212,1247,1792,3184,4148,4084,4507,4653,3915,3479,3353,3733,3586,3076,3037,3054,2971,3043,2972,2711,2764,3165,3366,2890,2153,2078,2412,2036,1474,1382,1336,1321,1344,1351,1412,1306,1266,1369,1542,1803,1595,1267,1252,1317,1299,1172,1120,1123,1124,1181,1240,1317,1456,1476,1407,1526,1726,1528,1293,1273,1175,1251,1267,1184,1166,1149,1004,1087,1287,1269,1271,1465,1640,1711,1843,2028,2236,2610,2963,2941,2844,2603,2270,2175,2267,2030,1814,1771,1514,1210,976,760,677,650,670,694,1417,1356,709,519,497,493,524,612,625,618,550,504,458,368,341,381,392,368,353,330,323,318,314,313,317,327,326,322,318,322,329,328,314,305,315,316,328,323,327,313,319,335,348,368,390,408,402,389,373,357,347,338,329,331,331,335,344,347,347,335,314,317,369,415,423,437,527,609,662,636,508,407,419,462,418,452,433,433,466,514,575,518,464,588,567,436,422,450,440,406,410,471,455,431,379,334,313,308,300,287,281,279,275,282,288,296,309,317,326,337,341,359,384,401,426,434,422,411,387,441,447,452,444,432,443,471,495,476,445,427,473,485,452,509,554,614,665,817,874,831,835,853,852,821,814,718,689,608,628,585,555,511,473,452,416,391,381,388,390,397,392,402,398,390,378,369,359,347,351,345,331,317,317,323,324,327,334,334,348,347,361,345,349,352,365,374,385,397,408,433,491,474,516,534,541,601,678,724,701,698,668,644,579,581,546,511,484,502,464,441,449,421,442,530,625,547,522,495,492,420,394,389,382,388,467,454,371,464,537,545,679,602,584,669,748,721,582],[2235,2149,2002,2039,1749,1978,2465,2313,2074,1946,1638,1656,2101,2422,2884,3013,2908,2819,3006,2945,3023,3264,4051,4252,3544,2197,1965,2767,3197,3560,3851,3675,3694,3942,4030,3563,2738,2327,2584,2220,1847,1907,2293,2072,2239,2906,2954,2685,3198,3628,3824,3729,3373,3392,3166,3115,3307,3199,3354,3649,3576,2967,2956,2877,2684,2821,2975,3210,3538,2504,2026,2159,2477,2586,2390,2452,2386,1996,2374,2435,1962,2348,2776,3498,4113,4117,3813,3798,3602,3471,3647,3113,2504,2855,2979,2622,2486,2437,2785,2740,2597,2306,2540,2435,2443,2724,2267,1522,1545,2198,2574,2841,3398,3583,3699,3440,2769,2588,2518,2640,2950,3209,3238,3140,3318,3227,2891,2316,2205,2224,2243,2155,2030,2743,3032,2896,2729,2497,2867,3009,3204,2554,2434,2327,2277,2112,1672,1849,2877,3250,3082,2951,2952,2553,2171,2074,2320,2996,3066,3100,2878,2754,2876,3150,3211,2530,2840,3288,2299,2011,1998,2492,2809,3130,3238,3107,2437,1660,1892,2082,1483,1572,1752,1936,1844,1787,1962,3089,3573,2848,2248,2308,2177,2079,2492,2895,2834,2567,2504,2484,1891,1980,1988,1689,1815,2281,2568,1963,1450,1292,1355,1768,2298,2715,2358,2264,2152,1610,1626,2309,2472,2049,2131,2276,2366,2087,2174,2567,2575,2587,2221,1877,1993,2170,1976,1864,1879,1897,2054,2202,1823,1796,2322,3063,3164,2736,2310,2035,2282,2526,2465,2007,2062,2578,2226,2175,2114,2070,2430,2150,1843,2178,2610,2844,2474,2475,2566,2533,2698,2612,3298,2874,2322,2431,2410,2698,3262,3018,2164,1852,1944,2207,1722,1835,2329,2858,2558,2171,2497,2822,2723,2866,2684,1929,1672,1432,1679,1757,1932,2343,2437,2555,2332,1965,1675,1776,1798,1601,1754,1960,1680,1482,1869,1946,1874,1851,1723,1651,1890,2131,2237,1950,2342,2959,2812,2909,2536,2646,2818,2610,2471,2789,2722,2379,2401,2802,2617,2075,2293,2632,2713,2349,2157,2107,2355,2331,2241,2533,2980,2949,2542,2103,2325,2351,2420,2718,2122,1784,1727,2004,2543,2082,1864,1791,1958,2602,2367,2296,2175,2366,1654,1675,2358,2163,1935,1861,1869,1917,1881,2230,2236,2383,2590,2335,2009,1926,2268,2126,1584,2162,2648,2303,2368,2505,2422,2617,3088,2054,2020,2496,2542,2271,1974,2013,2053,1982,1484,1772,2025,2303,2374,2336,1964,2143,2533,2518,2473,2753,3101,3436,3393,3218,3518,3474,3398,3701,3767,3897,3941,3713,3633,3760,3650,3745,3471,3063,3416,3367,3162,3081,3396,3577,3660,3472,3364,3571,3462,3561,3227,2184,1802,1831,2269,2665,2288,1967,2200,2348,1638,808,827,1048,1117,1977,2199,2520,2608,2286,2646,3310,2872,2116,2088,2125,2249,2172,1790,1876,1660,1600,1470,1655,1787,1784,1735,1676,1572,1378,1400,1603,2096,2207,2420,2854,2834,2090,1474,1498,1495,1594,1802,2050,2079,1834,2217,2302,2300,1989,1770,2199,2774,3415,3104,2400,2315,1948,1771,1958,1794,1947,1997,2137,2021,2264,2250,2163,2366,2430,2266,2372,2408,2243,2236,1630,1686,2286,2818,2336,2276,2282,1993,2021,2250,2128,2444,2196,2569,2896,2920,2862,2764,2781,2574,2164,2073,2117,1906,1937,1900,2017,2098,1735,1558,1389,1447,1489,1873,2199,2075,2176,2150,1811,1935,2105,1736,1453,1619,1803,1953,2673,2524,2440,2646,2533,2265,1987,2134,2462,2644,3443,2876,2401,2338,2908,2721,1818,1379,1856,2074,1569,1304,1376,1299,1422,1507,1504,1332,1419,1660,2117,2254,1975,1838,1561,1483,1481,1626,1787,1809,1916,1816,1685,2028,2302,2231,1786,1521,1836,1716,1887,1828,1664,1736,1753,2101,2437,2069,1919,1722,2036,2377,1968,1742,2162,2097,1815,1981,1830,1816,1794,2033,1597,1214,1300,1368,1389,1503,1597,1622,1736,1647,1937,1697,1508,1428,1403,1508,1458,1324,1325,1332,1280,1260,1332,1838,1414,1056,1450,1666,1775,1726,1557,1566,1519,1666,1683,1540,1575,1711,1548,1524,1744,1893,1734,1737,1667,1700,1606,1481,1501,1426,1605,2181,2775,2812,2752,2194,1752,1900,1882,1714,1470,1550,1729,1934,2482,2177,1839,1761,1549,1588,1822,1972,2067,2266,2217,1971,2481,1948,1535,1478,1339,1370,1502,1702,1960,1714,1693,1858,2021,2040,2097,2522,2698,2331,2258,1946,1802,2522,2448,1810,1703,1864,2242,2084,2279,2401,2566,2381,2185,2121,2292,2937,2708,2173,1984,2547,3519,3087,3529,4140,4249,3488,2667,2920,3029,2777,2865,2929,3120,2988,2752,2702,3019,3329,3467,3462,3370,3296,3274,3082,3060,2847,2506,2400,2257,2730,3409,3318,3253,2320,2098,2192,1963,2005,2137,2088,2308,2509,2313,2190,1963,2196,1761,1751,1487,1376,1413,1442,1395,1485,1481,1510,1742,1455,1392,1302,1541,1936,1785,1648,1650,1520,1496,1629,1438,1323,1322,1826,2061,2038,1674,1286,1256,1464,1470,1385,1471,1584,1510,1520,1338,1508,1450,1422,1323,1500,1535,1386,1324,1438,1592,1655,1499,1506,1636,1600,1689,1878,1741,1633,1878,1651,1742,2252,2021,1814,2115,2127,2425,2925,2968,2862,2845,2479,2319,2138,1831,1670,1936,2188,2071,2222,2502,2303,2206,2723,2602,2473,2568,2332,1855,1856,1964,1815,1827,1896,1816,1900,1897,2328,2692,2126,1920,1845,1965,2172,2046,2236,2169,1712,1736,1667,1676,1866,1803,1747,2387,2315,1983,2146,2352,2427,2554,2090,1574,1750,1685,1457,1869,1645,1497,1642,1897,1810,1693,1618,2055,2701,2105,1520,1515,1535,1460,1256,1719,1895,1941,1943,1787,1692,1562,1932,2228,1689,1635,1814,1870,1912,2552,2662,2413,2387,2580,2470,2105,1809,1785,2110,2106,1852,1736,1906,1890,1860,2032,2185,2204,1981,2263,2322,1742,1381,1625,2277,2047,1984,2217,2224,2280,2171,2707,3348,3278,2742,2435,2858,3295,3460,2695,2303,2546,3008,3194,2862,2840,3163,3075,2689,2339,2352,2333,2264,2230,3083,3229,2604,2069,1956,2055,2393,2398,2282,2188,2015,2124,1836,1869,2365,2547,2702,2599,2145,2317,2425,2092,2070,1907,1887,1788,1856,1810,2182,2071,2216,2270,2172,2455,2548,2204,1921,2206,2276,2916,2391,2272,2475,2175,1872,2428,2411,2187,2208,1417,1031,1380,2013,2409,2307,3167,3687,2260,1919,2057,2079,2472,2526,2754,2661,2642,2216,1793,2065,2353,2366,2604,2576,2100,1808,1726,2017,2338,1783,2088,2836,3606,3521,2234,1657,1856,1874,1863,1982,2236,2280,2162,2490,2251,2097,3144,3032,2901,2806,3085,2770,1975,1705,2087,2752,2931,2856,2081,1919,2576,3131,3173,2084,1710,1748,1424,1322,1397,1738,2054,1612,1420,1442,1559,1936,1992,1976,1992,1910,1742,1712,1595,1539,1512,1373,1336,1592,1423,1344,1356,1472,1520,1451,1456,1438,1584,1648,1400,1670,2326,1961,2630,2887,2780,2370,1811,1451,1632,2013,2136,2170,2279,2159,2280,2385,2137,1765,1728,1815,1708,2008,2833,2935,2307,2702,3384,3615,3483,3450,3560,3342,3385,2537,2430,2894,2491,2040,2251,2165,2204,2338,1901,1861,1862,1758,2044,1946,1833,1805,1669,2200,2642,2557,2341,2157,2280,2264,2542,2764,2423,2260,2378,2562,2548,2394,2164,2078,2018,1910,2098,2402,2489,2966,2393,2323,2103,2146,2812,2620,2178,2428,2270,1860,2115,2524,2976,2962,2874,3121,3054,3095,3109,3199,3465,3554,3347,3508,3721,3906,3685,3244,2943,3714,3806,3061,2626,3276,4145,4418,4356,4312,4507,4639,4776,4761,4808,4939,5141,5357,5281,5016,4821,4436,4057,4241,4195,4192,4288,4263,4018,3609,3530,3638,3859,4176,4328,4576,4388,2712,990,801,833,1113,2052,2600,3962,4744,4184,3758,4108,4356,3836,3698,3876,4284,4420,3311,2329,2669,3516,4160,4145,3919,3530,2880,2546,2198,2219,2722,2270,1428,1311,1393,1735,1715,1497,1498,1591,1595,1369,1520,2125,2463,2797,2354,2079,1786,1534,1364,1711,2243,2072,1430,1145,1111,1179,1124,1016,822,716,760,914,1270,1427,1286,1269,1837,3177,4373,4314,4510,4460,3572,3231,3108,3242,3242,2931,2862,2881,2824,2824,2740,2614,2592,2801,3229,3043,2364,1969,2392,2356,1606,1366,1384,1328,1305,1354,1429,1364,1344,1425,1470,1630,1611,1360,1172,1224,1323,1118,1085,1050,1075,1141,1217,1256,1333,1406,1366,1396,1611,1586,1275,1280,1211,1272,1283,1305,1240,1195,1055,1041,1242,1335,1268,1332,1585,1656,1735,1843,2050,2388,2679,2692,2623,2553,2323,2258,2264,1959,1729,1769,1487,1247,950,763,670,627,656,639,1374,1765,902,569,509,496,603,729,693,720,780,771,576,397,352,376,399,377,354,341,322,327,331,323,324,326,324,321,325,328,335,333,322,312,315,311,313,340,323,342,376,346,338,366,392,398,394,377,366,351,340,331,331,330,323,327,337,339,342,333,319,314,354,403,445,490,576,621,732,775,560,411,407,429,393,430,447,443,456,493,548,569,626,649,539,428,433,444,461,412,390,422,437,428,361,320,313,291,286,277,275,275,282,292,302,309,324,327,332,335,332,346,375,399,421,432,419,401,377,419,444,448,440,425,435,470,477,453,452,442,449,475,450,467,514,579,676,813,807,743,780,797,771,740,807,680,707,705,683,607,573,566,508,463,420,397,382,380,384,389,393,400,395,387,374,363,355,347,350,355,335,317,319,330,330,338,346,343,343,346,335,331,350,356,364,367,380,395,404,442,491,502,563,575,563,658,760,802,709,677,660,660,648,608,547,491,466,488,463,422,440,405,411,462,645,575,505,494,496,458,392,382,395,450,669,634,514,574,688,734,791,716,664,717,809,824,707],[2184,2119,2043,1892,1642,1719,2055,2264,2119,1913,1717,1772,2497,3030,3046,2938,2848,2711,2731,2884,2953,3273,3784,3852,3506,2109,2207,3032,3642,3471,3659,3775,3861,3872,3707,3551,3027,2312,2364,2235,2145,1999,1843,1587,1749,2249,2359,2290,3128,3950,3725,3503,3504,3393,3317,3310,3221,3150,3532,4058,3731,3040,3009,3112,2920,2938,3082,3508,3223,2226,1821,1804,2393,2507,2217,2264,2230,2053,2218,2256,2214,2555,2539,3012,3486,3185,3023,3559,3695,3505,3504,3238,2907,2798,2817,2922,2606,2641,2672,2455,2125,2231,2565,2273,2323,2330,2047,1512,1513,2171,2337,2354,2973,3194,3263,2989,2657,2523,2351,2722,3056,3078,2866,2998,3100,2894,2634,2211,2243,2424,3095,2921,2462,2883,3484,3527,3298,2750,3042,2812,2615,1986,2073,2447,2187,1821,1266,1406,2832,3286,2909,2638,2569,2224,2087,2124,2996,3430,3082,3071,3140,3198,3210,3210,2604,2002,2490,2688,2162,2074,2150,2379,2854,3113,3252,3321,2944,2218,1897,1568,1587,1748,1666,1839,1647,1683,2311,2855,2996,2325,1429,1768,1898,1792,2074,2574,2706,2391,2256,2119,1973,2140,2154,2013,2073,2279,2058,1128,1077,1461,1374,1918,2464,2388,2591,2698,2246,2103,2020,2362,2447,1889,1951,1754,2129,1963,1856,2449,2730,2413,2155,2319,2917,2441,1794,1815,2016,2017,2412,2725,2275,2094,2580,3125,3182,2675,1986,1645,1794,2279,2258,1966,2139,2335,2100,2097,2153,2259,2404,1966,1778,2217,2771,2820,3050,2855,2230,2140,2416,2958,3582,2880,2286,2199,2149,2500,2657,2338,1953,1719,2060,2255,1718,1945,2525,2782,2246,2207,2510,2157,2149,2730,2579,2104,1827,1647,1977,2079,1866,2055,2499,2105,1703,1628,1473,1509,1959,1862,1913,1809,1577,1593,1869,1798,1461,1582,1600,1724,2181,2655,2718,1969,2194,2768,2887,3020,2662,2507,2918,2765,2521,2315,2148,2414,2654,2774,3000,2525,2522,2885,2921,2924,2597,2188,2270,1979,1881,2143,2723,2913,2336,1972,2422,2776,2564,2331,1950,2047,2756,2657,2627,2597,2138,1693,1908,2286,1704,1737,2077,2044,1280,1586,2205,2054,2014,2008,1992,1875,2008,2465,2372,2480,2337,2055,2053,2252,2479,1937,1404,2138,2612,2180,2156,2210,2302,2514,2183,1273,1341,2188,2447,2370,2250,1670,1591,1980,1628,2349,2250,2489,2589,2109,1850,1853,1733,1970,2019,2387,2928,3225,3270,3185,3337,3017,3066,3333,3374,3517,3615,3558,3272,3206,3780,3559,3197,3269,3741,3499,3479,3709,3628,3571,3615,3519,3404,3507,3508,3506,3293,2453,1873,1764,2070,2713,2781,2436,2755,2719,2081,1332,1351,1356,1373,1843,1911,2188,2223,2018,2402,2661,2372,2175,1979,1766,1991,1842,1695,1880,1587,1457,1494,1514,1506,1538,1621,1624,1568,1414,1512,1964,2866,2783,2902,3313,3095,2090,1626,1831,2098,2398,2432,2645,2378,1871,1858,2048,2084,1863,1837,1976,2215,2639,2808,2523,2304,1798,1712,1770,1854,1951,1909,1544,1393,1981,2296,2435,2427,2264,2312,2873,2703,2241,1933,1623,2010,2670,2554,2176,2568,2853,2203,1346,1377,1292,1549,1728,2508,2865,2712,2648,2483,2171,1742,1500,1863,1941,1897,2447,2159,3063,3608,2579,1629,1499,1622,1902,2370,2324,2092,2159,2009,2061,2289,2143,2042,1691,1695,1745,1787,2237,2540,2445,2128,2251,2419,1898,2471,2766,2976,3382,3045,2436,2356,2822,2459,1773,1517,1694,1820,1538,1461,1478,1452,1544,1705,1485,1379,1403,1690,2354,2928,2728,1869,1211,1284,1471,1527,1421,1501,1549,1614,1777,2066,2208,1993,1568,1678,1953,1709,1751,1773,1764,1818,2131,2484,2247,2102,1904,1865,2472,2577,2388,2208,2612,2396,2042,2149,2106,1578,1562,1927,1711,1373,1304,1447,1422,1389,1508,1702,1761,1618,1885,2365,2443,1809,1274,1575,1505,1342,1382,1273,1194,1352,1422,1716,1645,1419,1393,1559,1836,1741,1562,1877,1719,1578,1889,1809,1559,1657,1930,1724,1883,1750,1785,1852,1583,1590,1691,1552,1536,1308,1506,1906,2437,2563,2379,1889,1822,1857,1647,1659,1361,1487,1611,1722,2053,2097,1890,1843,1868,2058,2139,1986,1913,1874,1660,2137,2378,1985,1738,1561,1428,1518,1505,1560,1646,1707,1671,1660,1772,1781,1935,2497,2195,1692,1813,1919,2005,2239,1993,1639,1832,2002,2243,2231,2151,1940,2241,2126,2329,2444,2512,2916,2119,1872,2272,2604,3652,3397,3907,4296,3892,3393,2746,2789,2976,2839,3384,3873,3980,3553,3481,3699,3741,3540,3584,3542,3376,3448,3330,3033,2872,2721,2651,2585,2264,2863,3438,3483,3417,2335,1649,1837,1935,1834,1765,1683,1987,2173,1809,1749,1618,1689,1515,1416,1372,1376,1665,1753,1444,1396,1362,1479,1389,1541,1483,1409,1825,1908,1533,1680,1802,1501,1695,1811,1420,1354,1257,1585,1946,1952,1660,1489,1396,1359,1340,1321,1431,1477,1425,1428,1359,1465,1431,1440,1287,1448,1568,1396,1345,1619,2361,2710,1741,1381,1462,1496,1578,1867,1727,2305,2692,1859,1727,1971,1805,2060,2736,2956,2680,3295,2832,2662,2644,2648,2877,2676,2172,1780,1879,2243,2193,2126,2464,2491,2293,2059,2178,2525,2163,1777,1762,1688,1514,1520,1895,2496,2255,1879,1726,2168,2374,2054,1861,1789,1980,2276,2191,1919,1910,1697,1655,1922,2098,2041,1707,1874,2179,1995,1841,1878,2337,3243,3187,1981,1909,2121,1781,1581,1524,1702,1816,1816,1832,1690,1628,1587,1800,2277,1836,1602,1583,1475,1417,1361,1477,1568,1854,1996,2019,2004,1640,2042,1970,1684,1527,1876,2008,1974,2055,2122,2358,2660,2411,2111,1929,2087,1879,1967,1825,2257,2313,2388,2405,2332,2232,1886,2250,2003,2121,2147,2272,1997,2634,2767,2165,2089,2298,2379,2219,2128,2664,2817,2568,2281,2498,3060,3397,3344,2569,2453,2764,3016,3045,2658,2836,3262,2986,2192,2047,2086,2154,2464,2711,3436,3848,2811,1992,1984,2226,2464,2197,2627,2518,2254,2384,1841,1883,2324,2622,2798,2656,2863,3498,3377,2945,2301,2131,2343,2335,2403,2428,2434,2232,2212,2475,2706,2673,2417,2377,2148,2828,2750,2766,2214,1866,1800,1852,1789,1825,1587,1822,2052,1698,1644,1986,2608,2959,2585,3204,3614,2243,1344,1605,1879,2004,2327,3418,3331,2983,2060,2063,2593,2604,2640,2885,2796,2241,1904,1808,1779,1620,1442,1630,2663,3541,3471,2697,2381,2325,2208,2197,2057,2108,2020,2126,2646,2132,1692,2419,2346,2495,2844,2664,2243,1763,1635,2419,2864,2706,3326,2711,2376,2846,2798,2080,1608,1831,1992,1807,1494,1259,1778,2454,2205,1613,1551,1598,1889,2084,1939,1909,1638,1441,1774,1756,1712,1754,1592,1281,1313,1222,1199,1319,1422,1431,1549,1654,1541,1567,1661,1695,2345,2989,2353,2656,2476,2468,2640,2054,1700,2309,2783,2635,2450,2400,2203,2313,2379,2190,2050,2178,1922,1676,2014,2779,2990,2535,2984,3384,3449,3404,3575,3484,3195,3442,2807,2203,2497,2428,2166,2307,2208,1775,2160,1968,1861,1647,1656,2046,1986,2286,2509,2070,2497,3165,2750,1825,1818,2104,2177,2393,2468,2417,2412,2397,2254,2177,2091,2004,2256,2332,2156,2134,2209,2283,2558,2592,2508,2324,2558,2868,2394,2508,2744,2137,2136,2274,2651,3220,2977,2800,2947,3084,3072,3115,3337,3506,3558,3593,3573,3550,3641,3353,2736,2954,3812,4100,3472,2953,3738,4043,4281,4372,4532,4701,4653,4620,4641,4741,4835,4953,5073,5097,4986,4789,4225,3716,4184,4327,4273,4316,4276,4123,4195,4356,4046,3647,3649,3928,4740,4796,2955,1219,843,858,998,1604,2273,3551,4663,4372,3868,4064,4520,4000,3671,3675,4124,4493,3672,2521,2480,3395,4265,4390,4049,3897,3677,3111,2396,2037,2416,2283,1556,1264,1377,1630,1592,1318,1416,1650,1648,1485,1422,1926,2283,2668,2410,2141,1927,1587,1378,1611,2286,2321,1526,1156,1027,1105,1096,1021,869,738,716,890,1180,1294,1245,1254,1603,2683,4184,4467,4183,4014,3399,3010,3030,2978,2675,2459,2669,2626,2686,2730,2651,2565,2566,2498,2822,2973,2659,2145,2057,2432,1897,1394,1363,1340,1277,1362,1415,1419,1423,1463,1445,1488,1534,1431,1169,1126,1254,1111,1057,990,1028,1104,1175,1211,1275,1347,1318,1301,1445,1579,1286,1262,1259,1321,1353,1336,1295,1262,1152,1030,1135,1295,1305,1268,1551,1753,1674,1774,1979,2185,2402,2481,2452,2423,2355,2295,2239,1918,1587,1643,1475,1301,974,760,681,614,643,644,1190,1982,1114,712,638,503,543,630,707,853,999,894,609,417,361,349,365,384,356,344,334,327,328,326,324,328,324,319,327,343,339,343,333,328,314,297,301,331,342,369,383,351,364,379,385,391,390,379,360,343,336,327,324,318,310,309,322,332,339,337,333,333,358,390,431,459,525,565,659,759,594,435,385,372,370,381,406,435,451,499,583,663,742,671,537,421,400,381,391,375,373,372,404,425,366,318,303,284,277,270,270,273,285,291,303,311,314,317,322,325,320,333,348,377,409,436,432,409,375,397,436,436,439,437,442,436,429,432,451,456,442,454,438,430,475,514,606,747,722,691,730,739,739,677,731,645,705,770,699,625,586,567,506,462,422,396,383,375,373,379,393,395,387,381,374,368,356,348,349,356,340,328,326,334,343,350,357,353,357,351,352,355,355,355,365,379,393,413,424,470,491,506,598,625,597,724,766,815,767,709,692,664,661,614,532,494,470,471,462,414,435,400,408,415,577,572,487,480,501,501,426,441,652,700,766,767,680,609,674,758,814,783,684,702,860,905,839],[2188,2069,2263,2120,2027,2277,2523,2497,2088,1609,1330,1727,3105,3476,3028,2811,2771,2674,2752,2814,3014,3120,3294,3481,3129,2609,2654,3328,3482,3166,3379,3814,4112,3942,3542,3321,2789,2396,2471,2601,2469,2340,2019,2112,2049,2114,3182,3834,3863,3919,3540,3284,3328,3494,3481,3384,3181,2875,3094,3596,3688,3310,2890,2754,2855,2827,3160,3321,2810,2182,2002,2016,2308,2401,2195,2106,2160,2201,2289,2144,2281,2307,2626,2869,2920,2198,2320,3182,3574,3817,3876,3251,2956,2691,2810,2676,2154,2115,2227,2112,2254,3083,2807,2258,2476,2030,1754,1425,1779,2381,2209,2247,2492,2356,2484,2567,2191,2286,2503,3112,3276,3011,2465,2862,2656,2453,2361,2296,2245,2203,3002,3726,3063,2359,2897,3389,3718,3544,2989,2294,1965,1422,1615,2059,1926,1675,1363,1150,2496,3304,3016,2812,2604,2388,2366,2383,2840,2918,2962,3394,3463,3268,2692,2652,2784,2709,2978,2740,2289,2271,2024,2026,2366,2699,3152,3115,2960,2818,2046,1572,1690,1864,2014,1940,1557,1892,2424,2362,2876,2569,1699,1519,1859,1788,1948,2215,2191,2097,2130,2061,1988,2109,2288,2464,2508,2601,2244,1417,1563,1771,1612,1733,2425,2599,2394,2371,2258,2159,1753,2433,2513,1597,1350,1934,2322,1925,1840,2751,3084,2283,1876,2207,2476,2190,1894,2366,2498,2285,2421,2576,1781,1713,2476,2928,3209,2742,2154,1709,1559,1976,1738,2076,2529,2499,2061,1809,1911,2061,2016,1854,1666,2088,2443,2576,2930,2555,2215,2221,1858,1916,2414,2569,2548,2467,2690,2268,2390,2150,1819,1968,2260,2078,1827,1935,2310,2404,2117,2449,2890,2197,1793,1986,2266,2545,2121,1694,1889,2172,2054,1703,1626,1614,1424,1698,1854,1794,2443,2141,2018,1902,1832,1870,1855,1732,1924,2060,1765,2417,2837,2941,2669,1929,2146,2878,3308,3453,2994,2717,3053,3210,2930,1595,1387,2131,2448,2500,3199,3166,2510,2554,3008,3504,3240,2941,2387,2050,2106,2284,2584,2775,2420,2690,2832,2781,2412,2101,2029,2358,3096,2866,2886,2523,2394,2348,2556,2326,1832,1670,2066,2288,1766,1804,1892,2028,2442,2889,3162,3140,2622,2263,2131,2570,2915,2564,2468,2249,2199,1915,1946,2115,2395,2020,2141,2385,2576,2327,1996,1563,1210,2128,2425,2019,2003,1723,1664,1651,1923,2362,1921,2123,2458,2118,1906,1879,1886,2183,2400,2580,3318,3548,3440,3384,3211,2631,2680,3197,3328,3292,3375,3369,3096,2906,3494,3430,3598,3780,3884,3740,4000,4284,4047,3749,3673,3616,3641,3731,3695,3437,3263,2854,2150,1725,1906,2391,2796,2463,2869,2437,2255,1823,1554,1538,1831,2032,1926,2149,2230,2316,2355,1895,1652,1781,1912,1991,2464,2379,2047,1885,1626,1616,1636,1493,1334,1362,1413,1447,1406,1584,1820,1672,2122,2822,2770,2173,1582,1526,2122,2423,2929,3218,2789,2568,2562,2030,1796,1960,1829,1729,1642,1543,1820,2233,2587,2462,2104,1511,1451,1572,1636,1718,1773,1552,1529,1938,2070,2253,2527,1980,1886,2076,2074,2042,1908,1691,1648,1926,2435,2506,3219,3339,2263,1275,1322,1511,1717,1870,2110,2030,1918,2078,2149,1897,1716,1872,2066,2146,2376,2412,1994,2622,3122,2433,1526,1487,1650,1555,1627,1572,1726,1828,2115,3220,3060,2237,2069,2025,1893,1753,2220,2758,2699,2380,1777,2136,1919,1813,2266,2159,1951,2201,2532,2194,2287,2278,1660,1820,2482,2348,2910,1800,1430,1528,1420,1738,1865,1654,1539,1253,1621,2103,2912,2464,1222,1165,1190,1410,1504,1416,1410,1463,1432,1573,1870,1987,2026,1803,1710,1666,1788,1809,1712,1656,1620,1858,2121,1863,1960,2100,2352,2021,1697,2063,1992,2702,2774,2034,1656,1608,1281,1437,1935,1891,1667,1483,1465,1493,1591,1656,1766,1680,1446,1757,2314,2327,1722,1200,1408,1506,1376,1419,1287,1229,1445,1577,1559,1538,1415,1493,1776,1855,1736,1868,2020,1765,1583,1810,1650,1443,1580,1451,1701,2000,1480,1441,1629,1697,2130,2044,1898,1705,1428,1332,1616,1877,1815,1892,1854,1969,1661,1454,1427,1389,1526,1587,1870,2139,2002,1876,1910,1870,1887,1868,1932,2466,2487,2500,2182,1722,1731,1771,1688,1803,1914,1709,1704,1874,2037,1854,1706,1512,1538,1575,1686,1632,1328,1510,1975,1915,2012,1946,1750,1380,1456,1707,1903,1990,1865,1990,2003,2154,2687,2585,2708,1969,1737,1815,2314,3263,2972,3643,3738,3099,3278,3029,2666,2911,2739,3572,4145,4073,4212,4255,4071,3837,3782,3906,3774,3676,3583,3248,2861,3038,2830,2664,2980,2843,3207,3219,3441,3284,2263,1918,2114,1879,1786,1778,1825,1883,1592,1704,2050,2088,1850,1366,1347,1406,1526,1736,1729,1425,1348,1302,1639,1588,1537,1524,1678,1936,1764,1521,1638,1727,1576,1751,1681,1525,1482,1626,1924,1924,1787,1649,1593,1638,1496,1401,1398,1468,1403,1556,1450,1422,1440,1400,1384,1225,1252,1402,1372,1273,1457,1822,1992,1990,1679,1439,1361,1504,1883,1692,1960,2101,1548,1631,1690,1864,2138,2666,2977,2375,2003,1653,2106,2636,2700,2784,2747,2335,2140,1851,1708,1938,2194,2491,2177,1728,1630,1955,2122,1882,1760,1836,1540,1447,1481,1771,2457,2612,2478,2143,2172,2335,2004,1687,1725,1900,2608,2634,2084,1910,1922,1754,2050,2532,2666,2168,2012,1945,1501,1559,1763,2736,3719,3334,2428,2331,1802,1587,1700,1567,1703,1848,1644,1537,1435,1332,1432,1317,1582,1661,1600,1536,1599,1602,1510,1526,1310,1777,1989,2168,2422,2062,1976,1848,1659,1630,2120,2303,1914,1793,2346,3111,2444,1709,1634,2070,2184,1990,1844,1651,1957,2463,3146,3167,2442,2014,1748,2088,1801,2010,2167,2065,2181,2768,2480,1873,2163,2432,2236,1754,1776,1878,2119,2256,2396,2539,3162,3682,3411,2800,2530,2498,2707,2625,2265,2634,2909,2757,2407,2764,2532,2213,2584,2712,3384,3528,2347,2071,2244,2332,2504,1904,2190,2504,2365,2534,2885,2806,2529,2562,2584,2492,2380,2868,3008,2798,2395,2314,2386,2423,2281,2408,2504,2272,2192,2676,2739,3133,2641,2710,2709,2971,3354,3176,2569,2178,2154,2158,1801,1823,1683,1772,1831,1987,2477,2175,2312,2576,2539,3055,3566,2630,1380,1764,1980,2257,2707,3142,3713,3539,2584,2262,2477,2629,2270,2357,2415,1987,2198,2131,2237,1815,1521,1542,2564,3067,2909,2205,1437,1552,1650,1676,1787,2027,1760,1831,2326,2126,1649,2105,2083,2004,2011,1955,2636,2812,2524,2187,2387,2397,3245,3131,2281,2104,1980,1724,1528,1565,1751,1666,1641,1151,1554,2208,2570,2075,2149,2289,2355,2258,1910,1837,1606,1436,1559,1565,1480,1488,1402,1245,1148,1118,1264,1356,1241,1314,1517,1451,1431,1282,1788,1918,2230,2458,2248,2205,1971,2264,2930,2670,2400,2833,3229,3075,2956,2414,2019,1955,1968,1725,2001,2259,1836,1671,1910,2337,2710,2676,3312,3341,3099,3149,3282,3237,3216,3433,3150,2388,2440,2637,2154,1957,2236,1837,1903,1932,1815,1788,1969,1946,1938,2187,2288,2225,2784,3507,2851,1951,1897,1904,2004,2219,2304,2252,2263,2200,2091,2187,2280,2023,1998,1989,1910,1921,2138,2333,2414,2611,2842,2584,2408,2358,2691,2994,2556,2097,2512,2950,3027,3020,2946,2722,2974,3583,3653,3617,3647,3461,3252,3627,3511,3287,3482,3436,3137,3305,3852,4078,4026,4143,4397,3965,4141,4299,4576,4621,4593,4548,4416,4420,4524,4556,4652,4877,4984,4864,4464,4328,4329,4299,4372,4425,4404,4331,4168,4031,3528,3067,3178,3527,4663,4914,3291,1521,885,938,1114,1620,2164,3065,4432,4501,3972,3934,4592,4111,3719,3830,4068,4365,3890,2749,2325,3119,4140,4765,4336,3860,3707,3426,2813,2197,2275,2330,1760,1279,1251,1367,1489,1296,1343,1656,1614,1606,1545,1734,2089,2500,2467,2109,1898,1626,1344,1516,2431,2554,1700,1219,1077,1031,1040,1021,896,752,735,939,1216,1356,1365,1369,1303,1748,3398,4269,3658,3399,3433,3073,2964,3082,2841,2218,2409,2451,2584,2731,2749,2557,2558,2436,2402,2698,2720,2470,1841,2122,2117,1519,1355,1406,1358,1417,1559,1592,1560,1468,1412,1405,1394,1444,1228,1084,1148,1094,1030,965,962,995,1074,1170,1215,1282,1317,1273,1314,1500,1328,1235,1244,1350,1425,1361,1294,1296,1226,1037,1105,1275,1334,1319,1487,1816,1824,1857,2010,2157,2288,2356,2279,2232,2243,2286,2198,1902,1492,1444,1424,1311,1048,789,692,635,628,675,1023,2135,1344,936,884,608,515,572,760,953,783,711,644,441,386,357,324,370,367,355,333,323,320,317,327,332,325,319,332,346,343,340,339,337,329,311,308,357,375,332,316,344,379,382,378,381,379,368,354,344,330,323,318,312,308,300,313,324,326,329,332,348,366,389,425,460,502,519,629,1211,980,579,430,402,401,403,408,422,434,503,654,688,613,594,512,458,392,394,386,349,357,366,387,404,378,334,293,280,273,268,267,271,284,293,295,303,309,310,311,311,313,325,315,351,394,435,434,405,386,388,412,422,437,446,444,436,423,439,463,473,455,435,410,412,450,489,539,634,666,679,695,693,715,663,676,645,653,721,668,639,599,554,503,459,422,400,382,371,366,371,392,394,387,381,376,378,366,352,357,354,347,335,335,346,355,361,368,369,363,356,356,362,365,369,378,391,412,432,437,459,503,500,491,639,630,677,797,820,781,737,690,678,658,581,507,488,479,462,452,407,403,412,422,424,566,616,487,467,489,507,462,460,839,1066,890,778,714,695,712,652,705,721,678,673,848,940,992],[2574,2141,2501,2279,2136,2600,2565,2568,1792,1355,1837,2337,2820,3396,3440,2919,2822,2851,2890,2919,3012,3097,3139,3662,3494,3352,3243,3458,3639,3553,3443,3739,4038,3837,3270,2691,2095,2668,2692,2656,2771,2719,2675,2625,2321,2464,3853,4040,3884,3738,3219,2926,3208,3450,3034,2533,2360,2252,2320,2488,2851,2949,2769,2831,2801,2511,2679,3251,3107,2700,2452,2097,2263,2295,2099,2663,2122,2253,2645,2184,2132,2338,2285,2416,2122,1839,2600,2951,2986,3429,3849,3610,3110,2702,2792,2414,2077,2374,2682,2001,2039,2553,2244,1787,2050,2179,1926,1666,2220,2415,2511,2786,2502,1970,2289,2686,2238,2471,3007,2723,2207,2763,2934,2722,2475,2469,2527,2645,2667,2353,2523,3081,2574,2032,1881,2307,2894,3532,2956,2275,1972,1632,1948,2303,2315,1945,2049,2599,3305,3334,3056,2883,2908,2856,2586,2280,2125,2078,2471,3187,2979,2754,2553,3217,3829,3672,3319,2665,2722,2722,1979,1901,1993,1817,2623,2935,2927,2521,2229,1834,1679,2113,2042,1675,1448,1576,1639,2092,2553,2546,2565,2487,2526,2346,2098,2008,2016,1799,1622,1804,2065,2265,2083,2340,2333,2568,2777,2104,1857,2176,2160,1930,2247,2770,2498,1843,1972,1595,1641,2262,2242,1613,1604,2247,2454,2339,2432,2577,2602,2135,1813,1767,2045,2358,2056,2099,2501,2445,2429,2198,1635,1799,1997,2331,2723,3034,2895,2039,1835,1893,1748,2171,2901,3088,2671,2131,1877,1837,1703,1828,1993,2382,2361,2402,2363,1863,1903,1998,1622,1667,2008,2174,2187,2322,2692,2437,2510,2104,1613,1758,2010,1874,1793,1754,1922,2234,1819,2122,2813,2432,1887,1670,1819,2030,1688,1364,1384,1882,2368,1882,1725,2127,1578,1560,1826,1961,2210,1935,1765,2090,2014,1832,1764,1804,2077,1749,1845,2642,2891,2724,2233,2039,2029,2688,3360,3509,3233,3224,3312,3461,2904,1438,1537,2229,2489,2987,2973,2098,2024,2230,2632,3498,3191,2930,2074,1895,2253,2272,2498,2257,2005,2198,2300,2094,2024,1833,1746,2543,2707,2685,2788,2857,2654,2591,2789,2556,2391,2046,2064,2219,2304,2454,2166,1998,2623,3149,3296,3629,3119,2526,2474,2978,3101,2420,2066,1897,2429,2403,2046,2153,2287,2227,2280,2697,2700,1894,1465,1718,1702,1722,2011,2028,2274,2040,1837,1701,1823,1916,1923,2261,2502,2057,1902,2040,1997,2162,2593,2697,3398,3606,3229,3241,3097,2448,2137,2359,2433,2911,3208,3209,3179,3025,3165,3225,3437,3706,3811,4025,4079,4576,4261,3920,3858,3603,3451,3626,3601,3427,3291,3107,2518,1775,1835,2037,2447,1906,2190,2097,2071,1848,1822,1829,1969,2060,1916,2135,2342,2397,1767,1336,1491,1652,1780,2014,2321,2077,1967,1894,1644,1692,1755,1999,1642,1460,1365,1390,1441,2205,2397,1650,2014,2693,2444,1937,1205,1536,2462,2523,3040,3179,2581,2504,2573,1975,1946,1873,1638,1381,1485,1393,1817,2697,2730,2392,1847,1409,1625,1771,1575,1618,1811,1957,1996,2493,2199,2294,3017,2524,2001,1714,1672,2066,2176,1787,1648,1863,2341,2494,3241,3305,2188,1472,1416,1369,1617,1830,1783,1604,1641,2314,2930,2353,1954,2214,2181,2182,2314,2115,1743,1853,2344,2316,1573,1515,1653,1541,1825,1750,1721,1723,2263,3195,2842,2036,2153,2554,1917,1697,2304,2945,3095,2702,2142,2121,1804,2062,2038,1662,1603,1964,1920,1638,1821,1610,1577,1925,2356,2150,2062,1641,1633,1595,1391,1594,1682,1808,1672,1353,1355,1516,1974,1897,1743,1815,1619,1460,1468,1435,1287,1381,1366,1681,1506,1761,1952,2048,1943,1800,2216,2167,1548,1661,1591,1523,1501,1423,1733,2013,2200,1877,1520,1802,1977,2522,2756,1888,1388,1318,1377,1493,2149,1869,1482,1332,1414,1532,1718,1699,1602,1592,1405,1379,1393,1345,1437,1758,1448,1341,1450,1557,1342,1193,1341,1445,1381,1394,1207,1527,2183,1900,1734,1625,1587,1720,1779,1618,1512,1748,1554,1650,1836,1852,1537,1557,1499,1579,1861,1847,2442,2320,1582,1368,1448,1401,1435,1681,1885,1663,1438,1519,1783,2127,2185,2005,1964,1717,1566,1608,1794,1735,1961,1922,1669,1864,2223,2882,2312,1553,1576,1528,1539,1691,1816,1818,1810,1998,1944,1843,1617,1541,1785,1893,2132,2084,1538,1733,2222,1582,1527,1738,1620,1504,1948,2180,2082,1816,1575,1989,2339,2005,2721,2387,2590,2373,2721,2590,2796,3149,3043,3334,3084,2629,2979,2710,2261,2908,2851,3663,4151,4127,4212,4157,3850,3609,3643,3972,4063,3880,3428,2707,2568,2973,2894,2658,2923,3306,3252,3241,3581,2792,1897,1843,1761,1495,1634,1632,1739,1641,1742,2136,2361,2621,2204,1503,1501,1461,1440,1528,1625,1683,1506,1567,2001,2154,1812,1627,2217,2829,2536,1625,1531,1623,1731,1522,1515,1414,1494,1988,2264,2328,2259,1749,1427,1604,1424,1259,1433,1695,1703,1786,1607,1433,1409,1415,1443,1510,1415,1401,1295,1212,1324,1359,1488,2415,2026,1453,1366,1579,1769,1475,1481,1786,1636,1840,1964,1757,1694,2169,2310,1866,1741,1757,1900,2408,2029,2012,2626,2388,2377,2164,1781,1764,1978,2286,2166,1857,1866,1803,1997,2187,1855,1656,1433,1473,1988,2433,2522,2876,3201,2478,2012,2010,1733,1676,1668,1788,2056,2230,2006,1740,1753,1780,1725,2290,2812,2138,1719,1659,1599,1572,1829,2055,2658,2509,2030,1696,1512,1714,2127,2032,1730,1695,1638,1526,1415,1317,1336,1318,1446,1346,1227,1427,1573,1448,1838,2217,1301,1489,1751,2147,2475,2150,1920,1785,1577,1569,1948,2556,2520,1919,2242,2379,1838,1560,1640,2266,2346,1664,1212,1463,1775,2349,2375,2191,1787,1567,1533,1636,1810,2314,2330,1985,2066,2228,2240,2430,2808,2436,1937,1801,2174,2243,2243,2143,2091,2213,2720,2878,2908,3143,2889,2648,2731,2612,2496,2707,2712,2619,3278,3897,3111,2776,2815,2725,3539,3444,2556,3297,3275,2598,2491,1846,1533,1793,2037,2467,2878,2688,2273,2155,2139,2189,2268,2048,2181,2258,2281,2375,2289,2197,2093,2338,1973,1858,1914,2095,2356,2899,2718,2720,2425,2430,3285,3651,3087,2886,2930,2927,2036,1622,2073,1786,1517,2016,2360,2304,2373,2256,2331,2938,3549,2901,1756,2342,2540,2670,2692,3096,3780,3339,2853,2453,2158,2185,2062,1853,1901,1812,2370,2349,2577,2932,3087,2800,2720,2681,2237,1636,1760,2142,2078,2442,2200,2011,1856,2087,2567,2198,1667,2028,2129,1766,1785,2654,3779,3786,3054,2430,2235,2547,2923,2809,2390,1656,1406,1390,1355,1441,1745,1830,2309,1831,1548,2048,2702,3085,3050,2618,2192,1713,1765,1964,1760,1626,1683,1555,1364,1400,1340,1219,1268,1259,1274,1246,1182,1360,1488,1305,1390,1375,1970,2605,2767,2239,1729,1854,1987,2171,2991,3378,2791,2630,2923,2743,2517,2370,2195,2232,2207,2208,2381,2277,2125,2003,2194,2232,2400,2454,3123,3229,3096,3182,3189,3181,3259,3493,3309,2550,2507,2384,2055,1925,2006,1782,2020,2249,1991,1718,1744,2017,2311,2719,2539,2628,3238,3855,3462,2853,2205,1991,2491,2720,2754,2547,2235,2207,2006,2052,2109,2114,2358,2521,2430,2308,2311,2491,2852,3248,3124,2743,2888,3053,3211,2953,2928,3205,3249,3308,3164,3077,3163,3018,2990,3094,3129,3351,3382,3398,3491,3806,3753,3549,3539,3540,3278,2961,3550,3872,3945,3986,3969,3701,3885,4306,4552,4486,4471,4344,3886,3818,3956,4243,4270,4612,4754,4730,4807,4692,4405,4228,4333,4434,4357,4169,3774,3477,3117,2668,2773,3242,4077,4644,3993,2219,1001,1014,1273,1845,2306,2856,4187,4608,4156,3882,4522,4277,3773,4021,4296,4384,3956,3143,2249,2756,3655,4507,4485,3801,3496,3264,2862,2381,2343,2302,1946,1356,1226,1252,1414,1333,1250,1442,1613,1676,1564,1596,1883,2287,2524,2371,1970,1666,1410,1601,2215,2620,1922,1280,1173,1028,971,1028,926,791,860,1250,1484,1542,1520,1441,1278,1250,2409,3781,3641,3077,3266,3060,2790,3095,3108,2428,2195,2325,2464,2703,2879,2569,2472,2504,2331,2570,2547,2508,1933,1741,2148,1816,1475,1548,1488,1473,1670,1865,1864,1501,1372,1423,1356,1422,1282,1099,1041,1046,1022,932,912,956,1001,1084,1170,1205,1301,1243,1204,1390,1357,1227,1198,1303,1452,1350,1307,1346,1335,1194,1222,1288,1324,1422,1548,1731,1881,1957,2143,2214,2297,2297,2181,2155,2106,2152,2160,1889,1432,1283,1323,1282,1087,833,739,622,579,718,1129,2192,1559,932,845,601,510,581,857,1076,769,649,540,420,397,362,336,358,381,381,350,329,326,323,335,338,327,319,327,349,357,345,345,354,361,362,332,386,407,378,327,345,374,375,372,369,365,362,354,341,333,324,314,310,302,301,304,315,321,329,340,353,366,389,413,427,470,542,812,2810,2423,872,438,423,409,368,387,408,428,501,686,672,572,584,535,466,409,383,373,352,357,371,385,381,374,348,302,279,268,269,266,272,289,299,303,309,309,306,302,299,299,320,300,342,404,435,422,378,391,388,393,411,427,432,414,444,446,454,487,484,465,438,410,411,436,468,563,607,635,649,661,658,689,674,619,629,642,674,631,620,603,557,495,451,419,398,384,372,365,367,379,389,388,383,381,386,377,362,351,351,346,344,348,352,359,364,369,374,365,366,360,355,365,376,383,391,404,408,411,419,485,525,491,761,758,697,895,918,798,723,685,674,658,568,498,476,467,453,431,407,377,393,420,410,493,576,489,467,517,574,547,578,902,1085,914,776,709,779,892,635,644,766,845,798,792,859,934],[3404,2413,2081,2044,1931,2578,2370,2060,1538,1723,2381,2556,2519,3122,3452,3158,3027,3244,3005,3063,3109,3155,3306,3508,3438,3517,3709,3811,3938,3898,3581,3615,3577,2998,2265,1749,1866,2972,3210,2820,2828,2997,3105,2929,2635,2672,3676,4100,3686,3660,3342,3256,3566,3436,2702,2415,2783,3010,2524,2325,2311,2232,2338,2664,2447,2438,2774,2950,2688,2507,2292,2017,2157,2169,2339,2764,2158,1947,1885,1819,2498,2487,1995,2269,2166,2188,2697,3108,3111,3250,3440,3754,3427,3384,3140,2645,2533,2643,2633,1897,1799,1693,1857,1760,2335,2680,2294,2232,2288,2270,2381,1938,1838,2148,2795,3172,2985,3458,3305,1976,1863,3297,3550,2879,2702,2621,2611,2669,2950,2909,2798,2518,2162,1867,2082,2265,2502,2971,2916,2805,2343,2200,2228,2023,2143,2464,2824,3274,3699,3362,2651,2575,2900,2875,2647,2378,2292,2131,2625,2400,2310,2497,2966,3620,3890,3979,3168,2423,2909,3241,2912,2460,2367,2083,2360,2796,2755,2448,2625,2295,1959,2075,1902,1765,1559,1794,1864,2094,1961,2198,2568,2585,2700,2799,2590,2397,2280,1862,1938,1768,2168,2589,2511,3405,2897,2547,2742,2303,2292,2502,2517,2313,2547,2342,1936,1784,1991,2130,2058,2121,2342,2094,1671,1828,2199,2468,2443,2224,2228,1980,1919,1943,1919,2098,2076,2376,2681,2321,2544,3008,2266,2167,1924,2085,2577,3078,2614,2094,2323,2339,2144,2114,2721,2821,2291,1864,1961,1815,1809,2767,2878,2844,2819,2431,1976,1615,1764,1978,1785,1682,1945,2137,2092,2004,2056,2265,2320,1982,1669,1694,1715,1801,2087,1914,1976,2019,1250,1195,1720,2047,1895,1669,1504,1483,1675,1716,1414,2100,2421,1785,1986,2825,2312,1752,1759,1465,1578,1810,1808,1870,1712,1723,1592,1637,1904,1904,2022,2268,2632,2380,2359,2585,2199,2766,3139,3624,3550,3593,3751,3577,3028,2511,2597,2548,2885,3333,2359,1843,2326,2380,2150,2898,3091,2654,2168,2188,2288,2448,2266,1738,1691,1951,1892,1697,1877,1560,2179,2979,2622,2286,2499,2972,2961,2954,2756,2945,3190,2758,1987,1859,2631,2630,1968,1857,2261,2267,2717,2911,2337,2668,2325,2618,2793,2719,2489,2430,2697,2895,3016,2711,2545,2329,2467,2719,2416,1645,1440,2114,2101,1911,2201,2308,2470,2322,1978,1854,1790,1948,1968,1846,2128,2364,2264,2197,2160,2611,2908,2811,3217,3698,3548,3042,2577,2170,1968,1931,2146,2525,2641,2928,3086,3146,3204,3232,3640,3950,3871,4092,3929,4195,4170,4151,4212,4176,3952,3885,3869,3824,3605,3329,2932,2031,1780,1831,2061,2082,2122,1832,1843,2008,2192,2195,2231,1976,2034,2216,2270,2186,1399,1241,1490,1619,1609,1864,2072,1937,2210,1945,1432,1659,1863,2149,1916,1648,1460,1392,1304,1780,2051,1758,1819,1864,2034,2595,2645,2503,2598,2651,2407,1795,1836,2850,3146,2150,2267,1925,1864,1690,1692,1496,1577,2046,2036,1831,1768,1582,1599,1790,1784,1771,1626,2191,2464,2493,2323,2647,2620,2380,2086,1748,1726,2049,2286,1901,1686,2264,2148,2076,2248,2392,2029,1608,1534,1582,1583,1724,1997,1967,2084,2953,3430,2535,2392,2313,1980,1851,2108,2123,1752,2032,2724,2468,1722,1650,1620,1583,1913,1884,1870,1823,2182,2558,2303,2225,2276,2281,2252,2229,2150,2077,2054,2362,2566,2121,2046,2107,1704,1604,1634,1963,1946,1709,1927,1620,1410,1512,1585,1672,1702,1709,1757,1690,1566,1586,1810,1996,1814,1656,1511,1620,1711,1604,1651,1675,1452,1318,1799,1994,1470,1387,1346,1368,1328,1680,2393,2193,1957,2061,2150,2093,1866,1805,1528,1532,1400,1510,1902,2132,1937,1634,1597,1666,1720,1932,2032,1527,1561,1886,1864,1737,1822,1295,977,1315,1650,1622,1798,1739,1597,1605,1488,1483,1532,1547,1705,1787,1511,1296,1871,1997,1284,1294,1307,1479,1465,1332,1385,1514,1906,1768,1665,1604,1826,1854,1891,1735,1792,1981,1514,1811,1744,1811,1559,1545,1583,1870,1911,1565,1954,1950,1424,1427,1376,1332,1601,1858,1976,1613,1557,1553,1970,2812,2934,2332,1725,1561,1424,1461,1565,1561,1970,1797,1797,2048,2016,2059,2187,2366,2253,1620,1502,1638,2005,2042,1871,1736,1690,1669,1863,2151,1719,1754,1834,1780,1808,1836,2055,1610,1716,1788,1509,1575,2054,2274,2148,1831,1395,1719,1926,2005,2812,2460,2712,2864,3442,3231,2845,3116,3664,3582,2692,2599,2899,2306,2294,2771,2796,3586,4175,3938,3893,3816,3387,3153,3262,3399,3207,3103,2890,2684,2730,2843,2896,2670,2886,3316,2972,2495,2384,1958,1482,1676,1695,1466,1306,1362,1552,1665,1951,2257,2312,2031,1642,1553,1534,1620,1420,1586,1796,1406,1170,1478,1830,1916,1710,1719,2201,2530,2106,1521,1418,1572,1571,1428,1417,1337,1404,1573,1725,1942,1738,1590,1492,1719,1453,1225,1400,1427,1495,1578,1471,1395,1480,1511,1511,1622,1507,1454,1418,1361,1500,1545,1973,2192,1771,1621,1421,1654,2144,1682,1382,1638,1863,1998,2081,1857,1713,1859,1918,1799,1986,1577,1510,1937,2042,2109,2458,2318,1866,1930,2032,1773,1745,2002,1987,1771,1659,1674,1796,1763,1756,1615,1642,1807,2327,2988,2999,3098,3182,2047,1712,1780,1872,1833,1669,1760,1732,1687,1739,1856,2036,2094,2001,2048,1966,1660,1786,1792,1964,1825,2094,2035,1899,1907,1803,1606,1561,1748,2829,2621,2059,2035,1816,1643,1725,1529,1381,1422,1418,1381,1359,1435,1744,1769,1723,1874,1421,1519,1695,1924,2113,1912,1860,1853,1725,1893,1903,2416,2896,2573,2163,1780,1699,1558,1766,1936,2042,1827,1268,1412,1559,1775,1650,1896,2061,1935,1632,1753,2070,2342,2430,2002,2061,1873,2047,2055,2467,2434,1925,2169,2418,2447,2137,1862,1995,2174,2670,2799,2548,2547,2700,2678,2626,2554,2855,2807,2651,2745,3063,3034,2586,2795,3034,3250,3783,3462,2449,3030,3222,2753,2345,1824,1764,1899,2004,2103,2296,2158,1562,1281,1435,1692,1958,2262,2460,2442,2897,3162,2504,2325,2153,1798,1660,2027,2299,2291,2540,2439,2492,2924,2680,2505,2856,3576,2908,2386,2396,2409,1780,1592,1976,1987,2157,2706,2909,2975,2880,2547,2344,3101,3748,3340,2518,2898,2962,2907,3109,3618,3603,2984,2836,2372,1694,1503,1727,2068,1937,1906,2302,2554,2735,3118,3408,2907,2326,2015,1654,1607,2069,2680,2710,2787,2699,2426,2283,2414,2333,1903,1766,2055,1763,1637,1785,2447,2720,2717,2647,2693,2437,2165,2081,2452,2519,1946,1638,1663,1529,1656,2072,2021,2135,1927,1763,1986,3109,4552,3371,2209,1873,1797,1854,2086,1984,1716,1507,1487,1514,1418,1234,1334,1422,1262,1266,1332,1329,1564,1636,1600,1754,1701,2057,2372,2154,1939,1761,1864,1850,1729,2585,2789,2131,1974,2093,1953,1987,2141,2425,2658,2237,2486,2451,2334,2326,2215,2305,2397,2336,2382,2942,3399,3132,3289,3350,3347,3376,3580,3404,3087,2798,2215,2222,2311,2107,2321,2575,2545,2298,1729,1832,2903,3580,3782,3161,2909,3094,3418,3467,3239,2946,3066,3356,3307,3142,2806,2688,2653,2422,2754,2728,2708,2961,3020,2852,3061,3012,3073,3251,3597,3400,3334,3450,3298,2768,2510,3166,3370,2941,2852,2945,2688,2696,3077,2994,3061,3259,3263,3406,3566,3624,3850,4043,4025,4006,3859,3696,3435,3573,3797,3908,3863,3746,3744,4129,4512,4620,4575,4627,4464,3801,3521,3436,3828,4312,4593,4628,4711,4863,4756,4467,3988,3710,3630,3736,3580,3278,2740,2476,2299,2415,3096,3774,4184,4132,2987,1262,1089,1448,2047,2501,3055,4027,4641,4356,3989,4396,4247,3829,4160,4501,4733,4100,3432,2423,2611,3146,4063,4488,3838,3074,2819,2710,2337,2356,2180,2049,1471,1213,1186,1325,1358,1280,1378,1607,1660,1547,1597,1786,2116,2301,2475,2209,1774,1473,1853,2284,2571,2150,1361,1195,1084,946,1002,944,896,1228,2634,3012,2109,1709,1614,1545,1686,2304,3447,3842,3162,3002,2765,2489,2918,3152,2720,2161,2109,2297,2438,2802,2613,2387,2501,2343,2424,2474,2365,2054,1632,1966,2092,1825,1814,1607,1591,1807,1845,1959,1722,1495,1421,1311,1342,1271,1092,980,987,1021,915,868,933,953,1032,1122,1128,1232,1196,1110,1265,1348,1223,1144,1216,1306,1350,1406,1387,1422,1404,1390,1373,1426,1625,1733,1736,1837,1875,1975,2159,2331,2313,2149,2072,2030,2045,2062,1871,1465,1207,1212,1212,1104,910,758,662,603,672,1126,2049,1871,1021,715,541,590,664,923,1105,843,644,578,456,413,405,365,354,371,383,353,340,335,329,339,341,338,329,333,356,370,359,359,366,373,392,351,373,379,387,353,351,364,362,360,358,357,357,347,336,326,314,307,306,307,302,303,311,317,327,340,341,353,371,398,403,445,519,606,2362,2421,824,401,373,402,362,379,386,412,502,698,667,546,530,499,452,421,387,365,354,351,380,386,384,374,348,316,287,276,267,275,288,300,307,310,304,300,298,291,290,290,309,310,346,416,429,425,370,389,387,398,414,421,417,390,422,457,464,491,491,474,448,422,408,426,437,551,598,600,611,615,641,659,644,601,590,637,633,598,592,599,561,497,452,423,401,388,375,363,358,369,382,380,383,388,395,386,368,358,357,348,350,352,351,356,363,368,365,368,371,362,357,363,375,376,378,381,385,387,408,469,510,648,976,914,781,950,960,843,731,674,659,639,568,500,470,465,448,420,405,382,370,377,391,435,519,510,482,518,667,786,915,995,963,782,726,693,742,908,645,572,751,882,862,777,780,859],[3169,2789,1444,1429,1638,1783,1508,1507,1965,2563,2779,2558,2414,2763,2727,3028,3092,3230,3140,2997,2880,3085,3418,3420,3057,3155,3739,3997,3962,3631,3286,3235,3200,2734,2150,1980,2438,3283,3442,2904,2895,3138,2911,2317,2190,2294,3232,3961,3798,3693,3693,3751,3586,3207,2836,2766,2794,2841,2486,2443,2136,1846,1824,1816,1857,1974,2169,2581,2429,2428,2317,2149,2314,1978,2271,2565,2441,2058,1515,1646,2482,2580,2434,2663,2269,2182,2481,2683,3094,3408,3693,3702,3187,2741,2902,3034,2828,2753,2504,2116,1883,1861,1936,1949,2251,2172,1921,2248,2457,2372,2139,1503,1730,2767,3001,3051,3050,3238,2819,2397,2873,3571,3952,3585,2951,2867,2685,2722,2950,3234,3320,2923,2235,2001,2211,2490,2874,2727,2519,2247,2110,2177,2226,2255,2522,2778,3098,3196,3072,2922,2734,2221,2481,2138,1777,2263,2453,2521,2545,2155,2316,2417,2801,3370,3585,3665,3056,2449,2590,2878,3341,3155,2671,2502,2427,2492,2212,2254,2907,2888,2514,2025,2082,2004,1780,2272,2819,2665,2241,2236,2429,2628,3056,3043,2623,2426,2228,2256,2524,2426,2113,2169,2394,2901,2665,2488,2599,2556,2774,2874,3069,2612,2429,2050,2244,2060,2002,2236,2106,2310,2604,2175,1687,1717,2279,2430,2171,1972,2280,2264,2066,2126,1957,1712,1577,1837,2264,2267,2388,3138,2754,2305,2116,2106,2270,2861,2678,2207,2578,2567,2395,1950,1979,1669,1795,1823,2014,1828,1783,2276,2675,3046,2727,2068,1808,1635,2041,2077,1871,1725,1880,2119,1799,1694,1952,2024,2023,1850,1728,1828,1805,1766,1907,1969,2197,1755,1285,1319,1725,1854,1700,1465,1379,1526,1677,1728,1958,2106,2017,1830,1792,1975,2048,2017,1754,1487,1682,1859,1865,1413,1433,1588,1531,1519,1790,2049,2344,2734,2863,2391,2456,2414,2503,2808,3332,3891,3616,3633,3917,3906,3563,3099,2743,2864,3262,3419,2641,2402,2549,2148,1754,2007,2375,2336,2226,2030,1911,2088,2004,2007,2022,1748,1659,1650,1677,1529,2312,2879,2511,2321,2601,2828,2890,2692,2275,2383,2789,2784,1876,1805,2169,2170,1886,1900,2084,2557,3143,2378,2120,2497,1986,2377,2358,2909,3041,2599,2502,2959,2974,3071,3399,2831,2569,2604,1982,1658,1694,2397,2457,2197,2447,2226,2069,2449,2115,2162,2187,2117,1835,1618,1844,2425,2072,1701,1611,1456,1660,2385,3078,3450,3602,3354,2734,2609,2434,2175,2527,2336,2028,2230,2622,3051,3034,3041,3548,3784,3591,3747,3987,4060,4033,4304,4641,4169,3509,3996,4298,4121,3808,3387,3151,2437,1880,1754,2000,2378,2482,2316,2047,2026,2128,1736,1874,1980,2019,2028,1962,1890,1659,1428,1577,1775,1758,1867,1778,1681,1959,1974,1473,1531,1613,1678,1693,1540,1584,1628,1308,1310,1511,1647,1750,1511,1637,2245,2719,2470,2412,2719,2245,1621,1806,2675,2934,2253,2280,1992,1627,1589,1805,1522,1684,2058,1594,1560,1858,1838,1552,1800,1838,1639,1491,1972,2098,1866,2018,2337,2397,2351,2086,1842,2214,2041,2677,2746,2285,2377,1846,1611,1635,1695,1937,2053,1548,1499,1511,2039,2436,2401,2309,2908,2831,2415,2574,2356,1934,2059,2141,1655,1626,1696,1960,1808,1578,1550,1770,1852,1771,1538,1541,1631,1504,1788,1976,2603,2248,2300,3063,2618,2046,1994,2190,2630,2441,1964,2173,1946,1568,1534,1706,1997,2108,1861,2189,1913,1481,1427,1499,1667,1732,1813,1956,1951,1720,1732,1919,1917,1831,1719,1587,1658,1720,1581,1395,1169,1282,1576,1815,1959,1448,1336,1379,1463,1372,1538,1760,1492,1819,1937,2030,2019,1897,1764,1499,1493,1411,1791,2153,2058,1850,1642,1445,1457,1494,1344,1706,2066,1837,2102,1686,1612,1906,1716,1186,1463,1667,1578,1763,1674,1606,1571,1370,1330,1480,1613,1630,2002,1990,1470,1683,1542,1222,1437,1248,1498,1775,1627,1597,1753,1742,1756,1646,1746,2004,1895,1836,1743,1595,1512,1489,1418,1426,1504,1405,1669,1744,1859,1919,1682,1794,1410,1345,1513,1348,1413,1624,1873,1758,1454,1663,1880,1892,1963,2438,2172,1575,1465,1401,1456,1355,1391,1798,2076,2233,2270,2145,2135,2352,2933,2844,2057,1810,1785,1937,1803,1619,1622,1570,1493,2483,3416,1832,2018,1760,1667,1751,1752,1888,1915,1909,1832,1669,1624,1765,1981,1930,1795,1581,1553,1368,2228,2500,2475,2510,2814,3519,3350,2557,2613,3375,3764,3035,2644,2618,2245,2238,2304,2522,3272,3903,3543,3564,3484,2885,2322,2533,2755,2614,2812,2564,2779,2900,2779,2709,2516,2666,2742,2226,1670,1737,1615,1422,1505,1449,1370,1384,1782,2195,2061,2036,2163,2375,2130,2106,1851,1579,1604,1429,1611,1836,1523,1452,1527,1523,1465,1525,1691,1489,1613,1696,1484,1481,1529,1388,1404,1453,1409,1377,1392,1301,1489,1524,1548,1636,1872,1501,1619,1881,1632,1469,1341,1412,1421,1471,1461,1460,1499,1585,1637,1590,1413,1589,1871,1922,1782,1732,2071,1698,1566,2305,1948,1843,1748,1716,1811,1810,1790,1874,1839,1777,1896,2326,1796,1527,1937,2788,2733,2365,2412,2003,1706,2158,1877,1528,1554,1550,1796,1633,1474,1734,1776,1639,1631,1809,2015,2089,2645,3177,3666,3172,2029,1706,1821,1857,1704,1653,1636,1559,1596,1786,2092,2106,1820,1781,1670,1566,1615,1866,1785,2115,2166,1804,1715,1797,1873,1810,1990,1830,1812,2088,1878,2299,2236,1726,1558,1428,1330,1594,1699,1488,1459,1464,1574,2035,1761,1521,1724,1811,1740,1567,1736,1938,1721,1654,1898,2004,2391,2288,2751,2796,2653,2186,1732,1624,1547,1584,1509,1746,1962,1555,1450,1441,1550,1783,2291,2828,2503,1923,2066,2132,2483,3010,2398,1900,1836,2102,1941,2213,2203,1984,2137,2222,2194,2145,2395,2409,2489,3217,3221,3031,2896,2408,2197,2223,2237,2138,2127,2340,2341,1830,1420,1555,2125,2584,2604,2662,2501,2121,2306,2343,2326,2293,2173,2303,2338,2105,2219,1926,1667,1646,2004,2194,2219,2671,2587,2214,2229,2750,3022,2656,2212,2287,2246,2176,2549,2835,2618,2687,2687,3047,3151,2619,2213,2337,3452,2663,2607,2896,2598,2490,2785,3086,3222,3197,3152,3182,3005,3101,2912,2763,3184,3715,3454,2902,3007,2941,2684,2873,2895,2619,2519,2339,2059,1815,2302,2525,2828,2381,1764,1851,2291,2629,2932,3134,2618,1901,1892,1754,1499,1930,2243,2071,2187,2237,2021,1780,1796,2134,2144,2293,2047,1557,1634,1709,1742,2284,2850,2614,2750,2785,2225,2166,2351,2580,2166,1650,1572,1459,1784,2145,2260,2257,1965,1892,1679,2120,3105,2196,2040,1989,1976,1983,2152,2269,2053,1748,1596,1314,1244,1132,1198,1199,1180,1326,1557,1668,1967,2014,1875,1927,1794,2066,2646,3096,2607,2026,1627,1820,2248,2541,1932,1652,1654,1789,2419,2655,2340,2903,3292,2386,2113,2093,2275,2432,2192,2200,2410,2249,2235,2751,3551,3234,3197,3308,3386,3352,3456,3369,3084,2930,2908,2998,2612,1561,1529,1827,2007,1981,2166,2655,3064,3198,3046,2699,2585,2411,2278,2465,2784,3226,3627,3516,3062,3162,2993,3135,3210,3116,3042,2895,3203,3535,3672,3581,4042,3781,3517,3348,3413,3558,3595,3282,2385,1933,2503,3272,3252,2779,2885,2945,2951,3157,3348,3338,3548,3317,2691,2845,3562,3830,3993,4128,4050,4165,3967,3940,4124,3928,3905,3963,3940,4019,4300,4574,4592,4536,4520,4571,4436,4231,4042,3863,4155,4548,4620,4692,4807,4964,4864,4621,3916,3430,3273,3140,3117,3026,2631,2397,2306,2356,2936,3643,3735,3779,3720,2020,1254,1617,2250,2611,3111,3963,4668,4612,4204,4352,4231,3879,4257,4500,4873,4252,3250,2395,2551,2915,3860,4533,3881,2839,2357,2453,2169,2124,2085,2068,1608,1241,1140,1195,1315,1356,1315,1437,1586,1639,1760,1804,2148,2218,2376,2386,2042,1546,1716,2150,2375,2247,1498,1188,1136,954,930,1066,1196,1540,3550,4177,2483,1721,1800,1875,2131,2590,3415,3804,3236,2873,2612,2320,2607,3052,2945,2257,1833,2152,2173,2655,2623,2385,2376,2433,2499,2477,2280,2040,1705,1757,2129,2120,2033,1680,1560,1789,1769,1867,1930,1788,1531,1311,1219,1174,1073,944,923,1005,919,850,909,923,1024,1102,1073,1163,1184,1063,1130,1307,1220,1086,1114,1181,1425,1570,1551,1543,1495,1508,1562,1690,2004,2106,1831,1728,1826,1897,2142,2349,2341,2279,2146,2004,1992,2023,1929,1533,1216,1125,1117,1114,1004,788,690,661,672,981,1869,2348,1489,843,560,703,919,1113,1171,1010,780,653,548,448,480,393,337,355,378,364,354,343,338,346,351,344,338,349,366,373,363,359,372,387,385,361,355,354,384,385,357,360,358,358,354,346,346,338,333,324,323,316,311,308,300,305,305,308,317,319,332,347,360,377,397,400,433,424,883,905,408,390,375,385,405,388,377,419,520,706,692,532,498,471,446,417,389,359,351,336,387,388,371,372,350,320,295,288,282,291,298,301,305,303,292,288,288,283,286,291,301,317,341,404,418,427,369,377,388,400,416,421,416,392,394,437,471,494,495,479,450,428,409,419,414,520,607,594,594,591,622,664,611,694,634,649,622,592,591,589,571,505,457,431,407,388,377,367,360,361,371,374,382,388,393,397,384,373,363,360,353,351,351,359,355,357,358,363,372,363,358,359,364,370,376,378,378,394,425,487,501,665,991,959,775,902,911,831,763,685,641,615,569,505,468,458,443,419,398,376,365,360,387,414,488,537,496,599,921,1218,1179,935,771,644,683,685,698,829,706,559,662,754,771,751,735,858],[2224,2690,2010,1756,1542,1286,1715,2320,2711,2674,1974,2282,2798,2919,2721,2974,2808,2928,3002,2674,2718,3031,3317,3487,3377,3182,3436,3716,3957,3897,3458,3177,3189,3106,2776,2653,2932,3340,3638,3444,2983,2952,2630,2482,2724,3093,3503,3741,3870,3660,3688,3730,3013,3038,3253,3352,3195,2971,2483,2552,2369,2061,1965,1763,1766,2071,2254,2640,2517,2540,2493,2478,2712,2530,2640,3164,3272,2658,2140,2415,2735,2641,2591,2620,2456,2693,2330,1831,2154,2814,3320,3488,2909,2302,2354,3061,3203,2814,2425,2072,1985,2160,2524,2653,1995,1767,1796,1941,2240,2105,2028,2110,2354,2942,3204,2863,2832,3054,2987,3175,3130,3495,4416,3882,3176,2979,2881,2968,2871,3093,3250,2621,2079,2169,2274,2440,2901,2745,2623,2137,1675,1796,1954,2346,2596,2757,3244,3288,3006,2932,2951,2049,1982,1322,1563,2214,2728,3222,2720,2164,2360,2329,2566,3150,3334,3384,3094,2831,2620,2735,3201,2862,2356,2205,2246,2597,2786,2392,2696,2829,2492,2020,1934,1830,1874,2176,2525,2924,2902,2691,2890,3320,3648,3162,2314,2107,1959,2225,2513,2347,1950,1998,2030,1929,2203,2441,2442,2402,2744,3024,3181,2918,2399,2048,1928,1765,1829,1765,1822,2255,2122,1659,1184,1200,2125,2673,2956,2614,2408,2459,2210,2132,1926,1682,1222,1237,1689,1704,1866,1851,1851,2319,2272,1969,2208,2907,2626,2167,2464,2548,2282,1948,1697,1819,2150,1812,1869,1825,1868,2140,2342,2391,1812,1504,1701,1964,2225,2178,1837,1481,1877,1953,1251,1419,2084,2157,2050,1849,1924,2077,2075,2032,1917,2200,2302,1920,1436,1423,1710,1577,1683,1738,1539,1569,1786,2101,2132,1732,1870,2134,1899,1677,1681,1833,1873,1873,1918,1740,1557,1447,1470,1533,1576,1728,2086,1875,2042,2887,3162,2196,2238,1944,2371,3016,3625,3827,3410,3172,3585,3916,3885,3362,3150,2857,2928,3217,3352,2805,2230,1949,1573,1491,1976,2160,1970,2082,2464,2229,1738,2697,2646,1843,1592,1595,1608,1663,2235,2603,2218,2151,2610,3186,2800,1986,1940,2091,2372,2276,1905,2065,2042,1726,1844,1986,2266,2888,3104,2135,2441,2408,2322,2213,2032,2605,2996,2867,2692,2823,2872,3303,3562,3387,3129,2460,1754,1800,1979,2438,2253,1909,2189,2142,2492,2958,2138,2784,2321,1736,1707,1677,2050,2744,2612,1879,1529,1740,2049,2254,2527,2519,2899,3151,3000,3095,2618,2191,2230,2093,1932,1991,2596,3232,3004,2723,3240,3625,3480,3551,3680,3729,3834,4063,4380,3645,2852,3273,3898,3961,3896,3503,3235,2867,2214,1776,1860,2097,2564,2633,2044,2003,2008,1887,2244,2310,1973,1663,1844,2331,2045,1757,2267,1737,1662,1692,1465,1587,1909,2094,1977,1812,1650,1639,1522,1371,1520,1533,1472,1425,1425,1380,1372,1410,1505,2099,2302,1813,2072,2368,1888,1549,1611,2007,2442,2522,2508,2280,1932,1618,1510,1260,1634,1960,1670,1922,1820,1649,1596,1727,1648,1501,1644,1744,1668,1775,2015,2185,2374,2555,2144,2188,2408,2389,3075,3413,3118,2461,1910,1889,1624,1501,2308,2419,2127,1891,1266,1946,2544,2755,2626,2059,2320,2881,2482,2426,2316,2193,1897,1350,1378,1409,1717,1962,1655,1617,1852,2041,2114,1739,1593,1808,1632,1771,1713,2536,2239,2293,2701,2317,1977,1891,2207,2718,1973,1547,1605,1604,1472,1357,1638,1871,1700,1748,2437,2354,1620,1628,1760,1647,1717,1964,2132,1843,1754,1701,1619,1637,1682,1805,1822,1648,1460,1177,1119,1213,1388,1416,1448,1260,1274,1345,1628,1760,1317,1441,1527,1383,1460,1542,1576,1848,2045,2014,1876,1796,1689,1884,1997,1769,1738,1528,1460,1450,1394,1394,1748,2495,2185,1676,1620,1800,2308,2237,1496,1477,1572,1720,1736,1625,1562,1432,1205,1318,1473,1432,1379,1584,1719,1477,1360,1313,1455,1708,1426,1379,1607,1545,1658,1886,1870,1688,1644,1650,1615,1647,1742,1710,1366,1375,1586,1536,1482,1386,1648,2306,1942,1541,1621,1795,1567,1402,1469,1440,1401,1556,1678,1792,1722,1475,1692,2202,2845,2138,2041,1874,1590,1474,1442,1482,1452,1570,1650,1806,2412,2798,2332,2308,2366,2128,1948,2135,2066,1847,1778,1826,1665,1556,1625,1618,1971,2742,1784,2005,1856,1798,1694,1625,1687,1878,2063,2017,1980,1894,1970,2600,2803,1951,2278,2067,1726,2305,1888,1823,2492,2780,2966,2740,2431,2562,2799,2721,3033,2806,2424,2519,2392,2332,2313,2446,2569,1816,2546,2889,2083,1877,2199,2270,2620,2684,2520,2900,3044,3205,2762,2415,2448,2658,2205,1523,1617,1823,1834,1541,1475,1568,1428,1706,2225,2250,2202,2400,2519,2185,2052,1853,1672,1635,1542,1738,2114,1802,1600,1556,1352,1407,1426,1574,1623,1702,1662,1633,1580,1345,1552,1804,1550,1366,1510,1514,1360,1345,1344,1359,1433,1498,1310,1315,1473,1614,1796,1365,1402,1514,1461,1505,1568,1494,1455,1447,1443,1384,1341,1528,1760,1765,1616,1627,1402,1374,1699,1720,1637,1471,1385,1532,1566,1562,1609,1581,1550,1790,2092,1810,1733,2209,2636,2871,2615,2141,1750,1548,2015,1966,1619,1348,1525,2048,1938,1606,1534,1511,1699,1973,2232,2241,1901,2018,2270,2978,2624,1922,1865,1894,1949,1857,1577,1843,2322,2386,2415,2247,2019,1755,1835,1725,1528,1599,1958,2021,2014,2275,1841,1686,1927,1942,1703,1872,1836,1779,1572,1565,2168,2241,1714,1515,1452,1769,2173,2139,1691,1459,1291,1551,1787,1586,1746,1938,1747,1526,1436,1643,1661,1680,1791,1721,1910,2143,2382,2664,2357,2217,2063,1785,1732,1407,1389,1437,1642,1653,1395,1406,1546,1631,1694,2015,2254,2154,2452,2332,2025,2288,2452,2032,1846,2174,2042,1895,2221,2163,1957,2032,2001,1866,2167,2809,2622,2844,3320,2607,2433,2159,2364,2846,2602,2194,1996,2358,2632,2373,1846,1124,1306,1965,2462,2124,1959,2205,2057,1969,2147,2020,2100,2084,1943,1859,2074,2362,1863,1461,1622,2696,2939,2252,2621,2529,2128,1877,2048,2327,2352,2094,2342,2542,2348,2527,2532,2655,2824,2300,3163,3234,3023,2400,2273,3186,3250,3206,3560,3693,3212,2596,2873,3421,3132,3153,3400,3520,3743,2951,2663,2720,2750,2730,2720,2825,2464,2426,2708,2597,2379,2318,2192,2022,2078,2503,2519,2466,2148,1847,1922,2146,2290,2113,1932,2055,1960,2292,2280,1890,2168,2051,1987,2161,2189,2148,1562,1388,1882,2084,2168,1851,1718,1830,1642,1220,1921,2909,2923,2779,2608,2335,2684,2564,2481,2220,1926,1699,1530,1764,1865,2332,2617,2430,1869,1551,1614,1520,1616,2017,2021,1895,1944,2361,2724,2587,1944,1664,1786,2476,1638,1350,1337,1319,1340,1555,1677,1930,1758,1472,1514,1697,2229,2573,3074,2968,2157,1926,2127,2345,2440,2135,1919,2213,2380,2420,2703,2397,2744,3119,3031,2719,2645,2448,2478,2248,2148,2498,2110,2247,2620,3459,3414,3303,3252,3386,3452,3497,3430,3081,2895,3036,3407,2883,2190,2486,2740,2408,2292,2611,2852,2743,2758,2633,2424,2556,2374,2186,2238,2500,3109,3243,3306,2999,3174,3305,3312,3372,3421,2968,2945,3663,3570,2723,2989,3779,3738,3274,2543,2469,2799,2911,2346,2048,2802,3171,3051,2858,2665,2650,2707,3366,3868,3702,3542,3450,2956,2164,2526,3533,3914,3738,4001,4093,4152,3977,4008,4085,3904,3770,3984,4403,4453,4700,4732,4575,4484,4488,4580,4575,4575,4607,4484,4597,4700,4611,4668,4672,4638,4671,4640,4073,3531,3503,3571,3329,3142,2941,2686,2531,2592,2968,3341,3423,3738,4200,2464,1356,1761,2446,2744,3291,4182,4478,4584,4115,4172,4312,4132,4233,4344,4811,4401,3251,2612,2541,2776,3787,4516,4058,3065,2214,2121,2214,2044,2064,2082,1699,1249,1071,1138,1340,1368,1310,1330,1448,1592,1721,1880,2239,2286,2225,2408,2330,1723,1593,2112,2302,2273,1679,1254,1164,1004,891,1110,1721,2105,3341,4256,2834,1825,1791,2048,2109,2260,2969,3596,3410,2789,2467,2300,2332,2822,2994,2509,1813,2060,2041,2498,2611,2488,2284,2401,2601,2539,2306,2040,1919,1714,1974,2114,2053,1699,1460,1610,1678,1700,1816,1834,1684,1366,1163,1076,1055,939,874,933,933,853,881,900,968,1047,1018,1082,1182,1075,1027,1211,1180,1052,1035,1077,1387,1640,1664,1603,1433,1440,1600,1808,1898,2013,1825,1648,1756,1781,1968,2214,2300,2424,2406,2153,1992,1980,1902,1567,1216,1065,1085,1120,1111,965,759,698,736,885,1540,2503,1880,1077,696,844,1180,1228,1114,1056,861,725,705,546,567,480,354,346,375,412,400,349,346,363,362,361,358,356,361,356,345,347,377,410,412,385,374,373,386,379,356,352,345,341,351,351,349,342,335,331,324,319,311,306,305,301,304,300,300,301,316,335,354,374,398,400,398,409,427,384,390,399,399,390,404,393,371,415,539,695,683,530,482,463,436,413,375,356,349,336,369,376,365,370,356,330,306,299,307,306,304,295,287,282,276,278,282,280,284,291,299,318,350,386,400,420,383,369,383,406,421,421,413,387,384,413,453,484,512,469,451,444,420,421,414,473,587,614,578,585,592,696,691,814,744,665,663,641,618,578,583,518,471,438,406,387,375,363,360,358,357,366,368,377,393,399,394,384,379,374,361,354,350,357,355,346,344,363,377,368,357,358,365,370,380,383,375,401,437,493,543,606,823,967,798,822,831,798,727,635,593,593,570,509,465,450,438,419,398,380,365,373,403,416,456,556,599,725,1042,1164,935,781,680,670,635,659,657,755,776,628,583,693,796,750,644,799],[2132,2348,2370,1923,1483,1784,2198,2262,2449,2536,1901,2102,2917,3301,2725,2414,2509,2797,2796,2617,2746,2968,3279,3517,3780,3509,3075,3022,3576,3995,3673,3354,3328,3183,3205,3191,3088,3021,3394,3719,3100,2757,2630,2921,3537,3863,3681,3605,3797,3318,3217,2775,2658,2987,3129,2939,3123,3211,2835,2690,2514,2109,1797,1883,2300,2968,2798,2529,2476,2396,2213,2754,3679,3667,3204,3692,4124,3201,2122,2061,2373,2684,2831,2976,2476,2424,2235,1633,1805,1955,2229,2787,2787,2306,2120,3124,3486,2824,2634,2434,2279,2367,2254,2023,1700,1891,2291,2357,2046,2175,2591,2762,2743,3272,3313,2845,3220,3649,3647,3598,3647,3426,3987,3415,3267,3045,3182,3328,3134,3140,3065,2588,2420,2288,2631,2701,2908,2894,2844,2639,2166,1920,1942,1973,2021,2387,3061,3085,3028,3110,2978,2611,2365,1958,2100,2422,3142,3464,2938,2574,3002,2917,3262,3576,2924,2898,2720,2710,2683,2879,3043,2774,2449,2427,2463,2879,3418,2971,2403,2308,2154,1813,1781,1997,2086,2197,2888,3066,2832,2538,2931,3060,3254,2665,2271,2121,2226,2431,2523,2254,2244,2321,2166,1707,1692,1868,2185,2196,2327,2427,2383,2402,2141,1940,1996,1966,1966,2115,2163,1873,1710,1438,1100,1433,2356,2876,2798,2382,2157,2675,2438,2137,1902,1818,1344,1481,1678,1604,1786,1909,1900,2368,2720,2608,2974,3125,2480,2339,2532,2534,2282,2103,2042,2084,2148,2084,1858,1906,1905,1670,1839,1895,1658,1620,1926,2270,2169,1896,1649,1598,1943,1834,1289,1554,1919,2187,2076,1780,1939,2042,2178,2316,2131,2144,2177,1815,1368,1427,1629,1526,1639,1763,1540,1679,2104,1997,1759,2005,2134,1987,1688,1646,1811,2019,2142,1975,1538,1403,1505,1711,1577,1669,1748,1621,1650,1628,2071,2736,3140,2350,2092,1931,2104,2839,3282,3427,3291,3188,3321,3488,3547,2642,2436,2686,2822,2788,3232,2820,1804,1717,1875,2143,2244,1984,2041,2579,2918,2268,1920,2483,2278,1912,1703,1491,1549,2071,2510,2548,2171,2168,2678,3118,2293,2152,2343,2270,2268,2130,2070,2178,1807,1624,1753,1709,1835,2232,2221,2337,2619,2456,2240,1986,2438,2994,2974,2897,2797,2623,2801,3209,3184,3149,3199,2656,1858,1797,2173,2126,1979,2077,2023,2036,2444,2690,2486,3175,2235,1355,1498,1777,2125,2306,2224,1975,1789,2362,2546,2210,2114,2376,2872,3022,2807,2799,2702,2212,1961,2066,2050,2456,3244,3101,2902,2729,3041,3247,3225,3460,3566,3485,3523,3615,3724,3097,2600,2855,3584,3448,3508,3497,3234,3229,2780,1949,1733,1827,2235,2699,2566,2233,2091,2071,2327,2304,1906,1580,1879,2176,1853,1757,2022,1851,1728,1556,1419,1707,2023,2377,2577,2065,1992,2018,1590,1483,1515,1456,1473,1373,1331,1483,1541,1509,1654,2245,2465,2228,2393,2058,1800,1582,1546,1537,1928,2356,2399,2498,2273,1775,1776,1340,1838,2261,2060,2088,2187,1774,1677,1929,1807,1648,1794,1782,1882,2083,2221,2398,2477,2018,1686,1822,1953,2441,3244,3683,3636,3062,2431,2338,1683,1852,2520,1991,1844,1678,1599,2097,2552,2855,2239,1338,1952,2669,2038,2117,2258,2365,1986,1920,1702,1456,1876,2006,1774,1897,2046,2100,2092,1698,1676,1926,2128,2127,1813,2135,2215,2276,2462,2310,1877,1854,2277,2611,1885,1571,1565,1692,1704,1531,1793,2139,1983,1791,1885,1822,1790,1958,1826,1594,1699,1890,1734,1591,1748,1734,1599,1558,1906,2492,2383,1842,1918,2363,2117,1896,1703,1508,1554,1484,1491,1398,1388,1495,1481,1589,1506,1473,1271,1321,1479,1676,1853,1922,1853,2008,1978,1737,1643,1459,1609,1374,1438,1390,1284,1318,1502,2138,2136,1633,1706,1931,2165,1998,1492,1565,1660,1716,1537,1380,1466,1398,1447,1487,1430,1421,1527,2004,2021,1494,1343,1313,1560,2056,1798,1384,1301,1439,1614,1721,1931,1732,1745,1666,1523,1559,1590,1647,1455,1273,1419,1482,1409,1330,1627,2441,1798,1496,1577,1247,1305,1543,1750,1817,1638,1655,1789,1753,1562,1494,1529,1669,2171,1874,2160,1908,1556,1510,1494,1431,1453,1494,1545,2074,2924,3471,3152,2689,2379,1929,1734,1674,1791,1869,2187,2408,2147,2106,1694,1564,1587,1523,1317,1661,1661,1528,1573,1468,1776,2524,2680,2584,2734,2059,1893,2542,2758,2436,2497,1968,2095,2220,1581,2328,2774,2219,2050,2264,2559,2626,2496,2709,3717,3717,2642,2229,2104,2341,2111,2624,2566,2290,2775,2449,2032,2359,2107,1970,2501,2330,2333,2863,3233,3420,2601,2547,2655,2342,1767,1464,1751,2123,2086,2074,1952,1675,1479,1604,2048,2201,2042,1999,1986,1758,1521,1638,1621,1509,1762,1991,1999,1695,1529,1568,1610,1716,1592,1863,2073,1750,1402,1310,1348,1583,1727,1461,1290,1271,1396,1405,1408,1378,1335,1340,1344,1311,1224,1264,1448,1644,1481,1433,1384,1466,1456,1673,1742,1475,1405,1348,1394,1332,1250,1323,1477,1326,1419,1402,1494,1526,1553,1559,1687,1770,1504,1357,1307,1250,1302,1386,1545,1661,2138,2194,2193,2103,2376,2849,2569,2093,1808,1858,2005,2197,1847,1390,1627,2175,2524,2260,1586,1409,1730,2084,2124,1768,1615,1882,1774,1964,1898,1779,1773,1882,2408,2323,1758,1924,1993,2170,2378,1950,2172,2125,2269,2146,1729,1812,2685,3220,2068,1947,1855,1468,1742,1709,1575,1570,1603,1547,1583,1757,1734,1506,1432,1469,1444,1624,1843,1895,1831,1605,1543,1550,1553,1729,1990,2031,1725,1710,1384,1603,1623,2018,1891,1546,1823,1867,1835,2212,2376,2134,1959,1768,1530,1373,1638,1622,1708,1414,1427,1803,1804,1681,1692,1669,1745,2007,2074,1732,2048,2195,2047,1948,1907,2102,1993,1977,2413,2486,2295,2204,2124,1998,2206,2457,2587,2850,3083,2502,2178,2120,2415,3245,3151,2395,2024,2460,2670,2231,1726,2032,2332,2326,2404,2363,2618,2714,2195,2007,2199,2105,2204,1903,2074,2476,2177,1931,2089,1982,1932,2459,2767,2438,2295,2421,2791,2734,2384,1969,2144,2470,2399,2093,2191,2151,2105,2523,2370,1664,2644,2481,2551,2735,2181,2366,3082,3118,3307,3328,2490,1707,2060,3018,2634,2652,3017,3646,3782,2831,2472,2683,2278,1947,2244,2343,2357,2499,2591,2788,3008,3182,3166,2442,1952,1967,1871,2076,2079,2379,2346,2708,2469,1923,2263,2613,2133,2202,2291,1952,1716,2114,2698,2698,2932,2989,2358,1637,1814,2105,1835,1580,1848,2180,1851,1577,2007,2555,2602,2073,2158,2633,2668,2545,2662,2668,2446,1887,1947,2304,2231,2332,2306,2200,1928,1900,1888,2017,2398,2136,1774,1653,1966,2220,2556,3100,2388,1864,2015,2281,1811,1504,1356,1357,1384,1461,1758,1844,1479,1507,1706,1965,2544,2181,1963,2057,2042,2111,1796,1643,2316,3038,2359,2286,1986,1732,2158,1757,1628,2484,2854,2734,2633,2433,2474,2210,2116,2284,1741,2057,2226,3117,3640,3564,3396,3498,3651,3608,3608,3652,3437,3420,3778,3686,3587,3530,3051,2407,2314,2636,3053,3340,3531,2843,2451,2929,3085,2949,2998,3108,3255,3322,3299,3166,3208,3353,3397,3332,3125,3182,3582,3585,2821,2403,2787,3210,3230,3118,2789,2155,2120,2558,2547,2611,3660,3218,2893,3084,2972,2875,3054,3400,3663,4081,3897,3311,2920,2253,2599,3543,4046,3901,3981,4209,4253,4112,3997,3946,3684,3625,4239,4539,4551,4808,4761,4592,4597,4599,4685,4652,4507,4483,4613,4734,4805,4776,4736,4792,4852,4804,4622,4047,3706,4094,4157,3705,3282,3000,2832,2746,2926,3420,3463,3534,3705,3921,2469,1306,1801,2480,2800,3397,4245,4364,4351,3982,3924,4263,4468,4432,4307,4538,4340,3310,2751,2799,2730,3463,4092,4034,3316,2306,1885,2183,2241,2098,2056,1821,1372,1145,1087,1338,1305,1333,1302,1374,1579,1688,1860,2178,2286,2176,2302,2398,1958,1647,2061,2284,2266,1807,1362,1210,1088,957,1151,2049,3000,3453,4195,3519,2270,1787,2113,1985,2076,2494,3173,3617,3122,2470,2402,2214,2565,2917,2747,1962,1974,2042,2435,2721,2632,2264,2309,2688,2687,2390,2041,2030,1865,1900,2032,1905,1685,1478,1453,1600,1599,1552,1668,1527,1262,1095,1039,1038,941,845,872,918,875,882,899,912,991,1051,1045,1123,1071,988,1081,1095,1001,973,996,1293,1649,1696,1556,1308,1217,1363,1553,1544,1627,1741,1683,1665,1656,1778,2061,2237,2410,2456,2250,2120,2084,1958,1571,1213,1038,979,1059,1199,1185,883,710,744,792,1126,2137,2042,1291,846,1027,1274,1135,1024,1080,927,701,764,707,582,591,461,383,388,439,455,377,371,395,386,387,383,368,356,348,348,357,379,446,478,425,394,397,386,372,361,349,338,335,351,351,342,333,330,329,319,316,313,308,313,305,302,301,301,311,321,326,346,375,401,395,397,407,383,399,344,353,387,397,416,405,378,414,557,684,630,523,475,449,419,399,380,361,348,349,353,362,361,366,347,324,307,312,323,319,308,295,281,272,273,272,275,278,283,296,300,307,339,369,385,398,393,376,372,403,421,419,412,386,361,383,431,471,521,504,477,472,449,441,437,459,541,625,583,625,627,763,905,932,823,740,751,697,653,583,581,526,484,446,413,393,379,367,355,349,350,355,356,367,385,393,391,377,373,367,363,359,357,359,361,364,369,386,389,375,365,364,366,371,384,386,381,398,429,479,586,616,708,948,814,761,803,785,690,621,606,589,565,509,471,446,437,416,402,379,362,370,402,427,443,555,767,839,945,921,708,690,681,667,620,620,619,676,776,703,599,597,688,733,622,713],[2250,2277,1961,1493,1777,2348,2405,2377,2548,2756,2172,2075,2753,3132,2667,1918,2219,2811,2679,2575,2574,2788,3040,3277,3606,3488,3046,2789,3058,3315,3264,3509,3522,3480,3197,3007,2831,2799,3168,3354,3339,2885,2286,2656,3265,3459,3648,3500,3322,3002,2818,2510,2668,2714,2676,2765,3508,3862,3196,2306,2374,1975,1830,1885,2304,2744,2224,1962,2335,2712,3147,3482,3941,3903,3449,3359,3488,2734,2368,2613,2395,2128,2478,2635,2417,2684,2544,2415,2248,2197,2590,2621,2831,2716,2872,3359,3269,2539,2374,2242,2287,2433,2078,1968,2081,2295,2488,2349,2032,1997,2529,2600,2603,3255,2814,2799,3241,3448,3708,4057,3974,3403,3292,3292,3301,3207,3496,3936,4034,3414,2915,2347,2544,2431,2489,2607,2684,2798,2872,2760,2733,2889,2604,2182,2192,2246,2730,2962,3041,3125,2845,2813,2519,2053,2017,2531,3143,3405,3331,3000,3121,3387,3562,2951,2501,2641,2724,2540,2558,2832,3096,3111,2753,2412,2720,3460,3498,3276,2658,2026,1915,1974,1906,2157,2191,2231,2611,2829,2697,2411,2332,2744,2822,2479,2323,2364,2457,2430,2523,2551,2602,2777,1964,1616,1762,1823,2188,2289,2181,2150,2255,2243,2180,2320,2250,1892,2028,2397,2612,1907,1672,1484,1804,2283,2447,2417,2381,2304,2469,3003,2562,2504,2172,2128,1629,1480,1905,1976,2305,3042,3353,3636,3542,3550,3790,3676,3098,2622,2503,2578,2665,2609,2358,2115,2278,2018,1690,1654,1706,1694,2071,1930,1917,2002,2389,2910,2644,2205,1814,1691,1584,1543,1462,1803,2049,2160,1891,1521,1472,1567,2002,2239,2277,2280,2144,1836,1610,1522,1521,1503,1510,1538,1514,1613,2153,2165,1851,2104,1765,1529,1594,1786,1948,2085,2058,1712,1460,1537,1826,2077,2085,2084,1732,1454,1610,1961,2021,2587,2968,2348,2207,2346,2345,2764,3316,3373,3239,3217,3039,3460,3332,2232,2001,2684,2846,2194,2546,2703,2072,2306,2666,2954,2717,2314,2364,2520,2668,2522,2267,2106,2034,1924,1629,1555,1858,2798,2422,2135,1809,2265,2986,2509,2215,2445,2370,2259,2147,2126,2127,1987,1592,2106,2051,2153,2178,2299,2225,2452,2498,2386,2421,2301,3242,3627,2857,2143,2412,2238,2415,2623,2698,3183,3274,2257,1515,1790,2255,1987,2126,2169,1920,1946,2078,2398,2996,2939,1958,1682,1842,2210,2092,1954,2115,2156,2438,2820,2224,1915,2126,2243,2676,3019,2701,2908,2854,2085,1976,1842,1773,2269,2714,2799,2728,2618,2752,2887,3117,3437,3452,3353,3420,3437,3593,3541,2931,2843,3454,3517,3054,2748,2699,2954,2994,2386,1849,1802,1902,2307,2536,2518,2239,2034,2097,2075,1669,1725,2408,2137,1650,1619,1760,2543,2242,1673,1586,1932,2385,2656,2877,2478,2436,1737,1561,1643,1786,1833,1684,1434,1456,1625,1692,1705,1745,2021,2141,2425,2658,2134,1743,1617,1715,1804,2172,2410,2269,2577,2602,2347,2684,1886,2142,2474,2378,2511,2534,2326,2131,2398,2467,1958,2468,2665,2296,2191,2388,3123,3104,2110,1732,1635,1650,2343,3364,3917,3886,2995,2303,2182,2064,2264,2405,2137,1704,1456,1844,2348,2402,2512,1980,1327,1381,1780,1773,1940,2177,2273,1741,1701,1786,1642,1812,2194,2215,2033,2171,2222,2182,1926,1943,1977,2597,3018,2460,1898,1879,2407,2610,2161,1732,1917,2317,2055,2100,1871,1857,2260,2200,2167,2666,2620,2249,1857,1743,1794,1847,1985,1754,1527,1745,2119,2239,2199,1884,1431,1406,1509,1925,2342,2446,2176,2332,3007,3383,3212,2876,2172,1570,1486,1642,1699,1966,1651,1512,1661,1764,1500,1278,1453,1686,2020,2352,1930,1504,2021,2150,2037,1903,1611,1483,1432,1696,1585,1411,1509,1661,1887,1940,1578,1736,1652,1619,1767,1686,1778,1763,1701,1494,1519,1526,1493,1809,2049,1792,1611,1792,2360,2177,1531,1310,1415,1448,1533,1562,1284,1324,1639,1622,1926,1824,1729,1722,1627,1649,1930,1932,1715,1505,1266,1340,1340,1282,1261,1687,2245,1560,1449,1288,1155,1572,1751,1863,1943,1825,1816,1892,1565,1456,1570,1493,1800,1935,1683,1811,1715,1499,1497,1498,1384,1457,1401,1567,2169,3020,3480,3304,3117,2667,2338,2023,1569,1654,1590,1957,2153,2447,2461,1909,1654,1721,1720,1561,1500,1540,1612,1752,1731,1958,2495,2896,2746,2331,1896,1888,1925,1925,2076,2120,2241,2646,2435,2207,2464,2170,1788,1668,2170,2681,2824,2749,2798,3441,3863,2436,2207,2565,2676,2320,2540,2399,2308,2388,2292,2366,2264,1903,2214,2556,2077,2624,2942,3339,3073,2433,2364,2082,1544,1244,1416,2034,2238,1959,2298,2009,1744,1742,1882,2143,2837,2505,1808,1797,1670,1488,1576,1532,1545,1650,1745,1732,1883,1780,1615,2122,2230,1716,1956,2296,1776,1263,1245,1275,1617,1551,1271,1319,1224,1198,1334,1418,1451,1406,1362,1403,1436,1425,1650,1591,1456,1404,1628,1670,1477,1438,1660,1660,1419,1461,1316,1382,1289,1350,1317,1325,1300,1377,1381,1418,1461,1382,1431,1712,2021,1600,1375,1333,1179,1233,1382,1576,1761,1761,2001,2220,1486,1746,2055,2278,2546,2490,2287,2380,2531,2427,2082,1617,1736,2116,1986,1642,1588,1914,1998,1930,1669,1700,1862,1789,1696,1763,1814,1583,1666,1957,1970,1672,1833,2021,1951,1659,1841,2226,2181,2487,2558,2118,2048,2618,2932,1910,1559,1437,1338,1621,1556,1488,1586,1818,1930,2050,2460,2123,1609,1526,1732,1688,1810,1606,1569,1599,1663,1732,1490,1506,1637,1532,1748,1687,1731,1506,1655,1820,2009,1777,1799,1882,1550,1438,2088,2297,2226,1975,1651,1634,1649,2020,1897,1688,1663,1852,2481,2401,2169,1784,1932,1835,1894,1798,1675,2171,2236,2036,1766,1460,1795,2426,2877,2795,2270,2194,2579,2540,2088,2094,2054,2250,2801,3027,2579,2325,2503,2934,3385,3398,3128,2501,2706,3006,2436,2343,3160,2850,2248,2395,2442,2441,2341,2142,2188,2418,2320,2324,2719,2770,2429,2239,1724,1703,1952,2211,2303,2728,2851,2884,2990,3090,3012,3030,2795,2700,3039,2688,2217,2416,2566,2419,2308,2067,1843,2200,2325,2432,2753,2658,2431,3086,3288,3310,3105,2277,1628,1593,2548,2708,2584,2714,3284,3393,2689,2724,2973,2421,1980,2339,2178,2323,2305,2287,2568,2437,2792,3283,2710,1952,1699,2274,2933,2754,2465,2127,2699,2645,2634,2858,2627,2316,2103,2164,1704,1534,2478,2472,2476,2920,2964,2662,2451,3050,2920,1949,1672,2554,2755,2126,2348,2588,2614,2397,1957,1752,2104,2575,2678,2668,3010,2710,2069,2626,2485,2292,2554,2003,2182,2326,2391,2185,2188,2133,1636,1532,1333,1561,1570,2039,2831,2556,1903,1742,1661,1608,1452,1351,1464,1592,1281,1461,1555,1663,1887,2023,2042,2636,2497,2294,2205,1836,1887,1614,1430,1842,3276,2942,2077,1560,1419,1607,1598,2045,2771,2545,2203,2293,2225,2462,2205,1937,1687,1633,1935,2403,3267,3795,3746,3601,3618,3686,3468,3603,3740,3454,3165,3300,3435,3615,3587,3162,2795,2658,2642,3472,3663,3719,2999,2710,3321,3453,3461,3640,3683,3727,3871,3981,4014,4108,4312,4393,3819,3071,3702,3597,3044,2564,2563,2754,2975,3166,3205,2944,2358,2585,2784,3452,3188,3141,2807,3030,3485,3455,3283,3348,3222,3338,3742,3906,3418,3426,2930,2610,3483,4046,4151,4404,4521,4397,4204,4253,4328,4007,4048,4512,4628,4756,4736,4624,4624,4637,4652,4733,4628,4444,4377,4257,4404,4672,4713,4684,4756,4852,4811,4627,4084,3693,3841,3724,3482,3262,2963,3006,3083,3231,3395,3374,3371,3698,3791,2455,1346,1948,2627,2722,3316,4052,4329,4249,3879,3696,4072,4448,4504,4399,4431,4292,3394,2592,2894,2632,3188,3716,3871,3575,2609,1833,1932,2234,2079,1896,1834,1511,1314,1059,1252,1293,1344,1312,1328,1562,1741,1818,1995,2306,2408,2421,2433,2210,1820,1968,2203,2275,1967,1460,1231,1183,1118,1219,2150,3727,3780,4239,4495,3220,2013,2158,2134,2026,2404,3139,3561,3349,2569,2549,2241,2468,2821,2857,2190,1865,2066,2388,2622,2718,2356,2181,2448,2718,2520,2080,1948,1957,1970,2025,1825,1614,1504,1390,1433,1452,1319,1571,1506,1236,1035,996,996,945,850,837,909,950,857,877,885,937,1028,988,1052,1053,973,994,1043,1017,958,941,1104,1501,1588,1334,1163,1106,1187,1287,1438,1633,1825,1865,1684,1517,1615,1937,2229,2437,2394,2246,2262,2256,2055,1640,1271,1065,962,998,1126,1216,1025,790,793,815,901,1754,2085,1414,857,940,1190,1126,1019,1055,999,779,785,837,778,819,663,464,408,406,447,409,412,418,415,402,388,369,354,358,367,378,393,466,562,495,408,389,381,366,356,343,323,330,351,351,335,325,324,326,321,315,306,310,305,302,304,304,316,327,331,332,340,362,380,390,400,392,353,349,302,311,347,379,413,402,387,417,559,682,612,506,454,428,403,392,376,361,352,350,349,360,383,372,337,316,314,320,329,327,315,296,284,277,271,273,271,276,286,283,284,290,310,343,369,382,385,378,371,387,404,407,404,379,357,384,416,461,532,568,540,509,480,467,461,483,527,601,584,615,632,759,947,923,788,736,730,703,686,605,578,539,499,466,432,408,389,372,351,341,336,339,352,360,369,379,382,368,356,360,369,370,373,374,380,394,406,409,402,395,378,365,368,377,384,387,386,394,431,496,546,662,711,911,827,692,757,755,656,602,576,563,552,515,477,448,428,410,400,378,352,352,378,418,449,535,805,979,969,755,648,673,704,702,629,588,592,611,736,701,636,578,655,762,652,673],[3061,3085,2346,2001,2472,2568,2419,2469,2691,2686,2368,2626,2764,2669,2610,1911,2394,2629,2930,2917,2823,2824,2825,2877,3273,3594,3310,3012,3152,3129,3053,3423,3582,3671,3084,2729,2535,2675,3133,3419,3716,3404,2964,3592,3558,3669,3539,3176,3250,3033,2543,2395,2322,2342,2715,3077,3480,3326,2975,2618,3255,2652,2098,1962,2035,2149,1964,1990,2137,2669,3930,3984,3359,3265,3291,3510,3752,3108,2752,2711,2577,2218,2147,2310,2237,2207,2532,2730,2359,2548,2357,2731,3233,3044,2701,2907,2589,2034,2172,2295,2536,2668,2205,2314,3243,3574,3055,2395,1570,1165,1742,1988,2510,3304,2624,2912,2779,2677,2975,3280,3136,2891,2712,2677,2490,2315,2634,3861,4343,3276,1794,1825,2652,2647,2331,2423,2730,2806,2633,2779,3055,3407,3189,2784,2533,2684,2846,2788,2966,3153,2888,2598,2533,2678,2909,3151,3596,3842,4043,3329,3014,3229,2929,2965,3134,2975,2945,2399,2380,2635,3110,3312,3209,2917,3305,3613,3456,2968,2508,2362,2130,1900,2049,2570,2347,2625,2552,2664,2389,2316,2402,2402,2513,2557,2114,1857,2035,1984,2176,2464,2362,2490,1887,1895,2154,2191,2382,2414,2326,2108,2551,2624,2525,2741,2321,1497,1623,2270,2338,1995,1622,1763,2652,2793,1956,1694,1918,2453,3066,3188,2500,2399,2334,2389,1918,1556,1745,1823,2237,3075,3706,3925,4038,3941,3670,3688,2985,2438,2524,2454,2266,2112,1791,1743,1981,1708,1525,1550,1729,1766,1991,1969,2176,2525,2778,3041,2627,2430,1998,1443,1678,1600,1649,1946,1986,1853,1699,1462,1296,1326,1639,1831,1989,2048,2036,1973,1933,1763,1537,1504,1433,1432,1391,1389,1724,1856,1763,1701,1379,1576,1682,1732,1816,1826,1644,1398,1496,1610,1826,2182,2601,2333,1712,1543,1984,2335,2150,2201,2566,2557,2347,2373,2545,2908,3418,3563,3523,3403,3526,3798,3354,2083,1886,2635,2614,2198,2431,2562,2671,2985,3223,3129,2969,2676,2294,2075,2097,2064,2122,2145,2074,1959,1731,1925,2368,2930,2524,1919,1788,2531,2684,2137,2164,2116,2006,1897,2098,2381,2210,1901,2046,2569,2610,2419,2332,2418,2424,2752,2634,2635,2601,2619,3409,3630,3122,2289,2182,2200,2378,2289,2425,2784,2267,1581,1325,1838,2281,2259,2470,2349,2131,2128,2326,2543,2674,2209,1801,1994,2106,2597,2170,1637,1748,2127,2857,2755,2292,2131,2214,2621,3238,3519,3044,3238,3272,2364,2076,1831,1659,2251,2813,2831,2631,2586,2502,2599,2916,3299,3357,3340,3355,3374,3458,3692,3763,3508,3393,3335,2845,2447,2379,2616,3112,3031,2373,1901,1823,1953,2369,2697,2371,1937,1917,1787,1678,1798,2203,1981,1566,2008,2200,2396,2206,1948,1882,2021,2499,3052,2950,2415,2658,2232,1794,1676,1702,1720,1654,1427,1467,1512,1539,1627,1656,1927,1948,1874,2432,1958,1411,1693,1837,2063,2103,1880,1829,2361,2388,2509,2715,2281,2298,2431,2542,2446,2147,2026,1760,2255,2856,2268,2833,3509,2875,2426,2678,3366,3362,2693,1960,1617,1691,1865,2631,3674,3743,2513,1710,1966,2490,2156,2177,2326,1814,1473,1817,2267,2364,2455,1720,1091,1256,1359,1898,2132,2353,2236,2138,2170,1794,1624,1871,2189,2280,2081,2075,2136,1764,1743,1888,2142,2786,2957,2878,2448,2257,2578,2552,1976,1823,1931,2115,2081,1948,1608,1741,2105,2446,2850,2259,1874,2153,1663,1716,1739,1452,1635,1618,1424,1536,2011,2196,2337,2142,1765,1658,1662,2232,2230,2134,2194,2446,3193,3397,3163,3191,2391,1683,1520,1793,1906,2069,1840,1762,1831,1821,1789,1614,1437,1827,2410,2027,1614,1648,2618,2386,1876,1842,1917,1898,2408,2417,1583,1390,1563,1699,1914,1953,1774,1935,1848,1530,1557,1866,2150,2056,1809,1556,1592,1502,1851,2265,2525,1792,1747,2184,2375,2167,1771,1501,1534,1431,1317,1312,1393,1956,1950,1519,1917,1721,1736,1841,1741,1868,2154,1937,1454,1641,1419,1536,1541,1548,1435,1584,1676,1469,1410,1281,1702,2312,2184,1910,1951,1851,1932,1802,1582,1667,1399,1328,1708,1801,1859,2003,1804,1628,1576,1498,1270,1268,1549,1594,1942,2414,2530,2830,2946,2857,2956,2239,1572,1498,1597,1659,1721,1753,1876,1948,1850,1615,1576,1616,1377,1420,1641,1692,1847,2105,2089,2548,2270,1941,2076,1870,1777,2070,2438,2425,2156,2371,2284,2419,2207,1801,1650,1725,2445,3335,3562,3221,2887,3063,3430,2632,2125,2425,2469,2209,1974,2007,2164,2257,2450,2740,2675,2338,2380,2395,2209,2702,3037,3129,2710,2408,1986,1498,1311,1267,1339,1724,2146,2272,2696,2270,1741,1589,1761,2074,2274,1940,1610,1711,1676,1488,1344,1567,2069,1911,1710,1749,1635,1666,1911,2220,2125,1745,1732,1728,1551,1339,1286,1293,1401,1372,1292,1299,1287,1355,1429,1381,1370,1323,1365,1461,1393,1375,1384,1298,1361,1333,1389,1666,1680,1523,1815,1809,1390,1428,1355,1428,1399,1341,1266,1249,1262,1229,1236,1522,1567,1382,1463,1469,1504,1426,1434,1406,1366,1425,1455,1489,1525,1412,1801,1780,1687,2276,2546,2633,2732,2402,2344,2844,2735,2457,2089,1522,1475,1636,1461,1544,2148,2272,2009,2026,1922,1842,1851,1719,1725,1956,1720,1548,1790,1749,1903,1577,1356,1649,1862,1909,2117,2064,1963,2135,2199,1954,1748,1876,1779,1611,1395,896,1130,1664,1687,1820,1641,1633,1653,2009,2426,1830,1443,1648,1814,1590,1571,1592,1594,1576,1678,1665,1645,1680,1635,1750,1615,1669,1887,1567,1437,1734,1824,1909,2113,1786,1796,2010,2259,2376,2514,2288,1916,1715,1589,1758,1644,1675,1860,1818,2536,2610,2128,2162,1996,1653,1654,1648,1829,2057,2043,2113,1798,1525,2110,2459,2442,2408,2109,2219,2688,2624,2198,1916,1996,2158,2253,2286,2275,2226,2376,2590,2901,3299,3107,2613,2761,2928,2405,2618,3519,2723,2370,2991,2808,2470,2388,2510,2852,2768,2046,2133,3228,3060,2114,2064,2100,2419,2627,2712,2680,3067,3182,3141,3299,2921,2601,2832,2597,2702,3539,3619,2861,2438,2819,2526,2181,2544,2575,2182,2250,2632,3165,3142,3007,3242,3288,3061,2935,2568,1893,1571,2374,2924,2536,2466,3372,3308,2452,2746,3134,2540,2013,2149,2054,2168,2105,2285,2563,2386,2429,2474,2412,2339,2519,2678,2918,2879,2270,2108,2470,2382,2274,2479,2676,2413,1686,2070,1824,1627,2322,2233,2573,2812,2567,2389,2630,3068,2999,2620,1957,2411,2430,2354,2771,2889,2673,2163,1753,1621,1827,2412,2950,2721,2624,2267,2084,2293,1742,1682,2267,1888,1568,1814,2192,2037,1483,1334,1650,2056,1863,1770,1862,1996,1769,1654,1897,1836,1808,1620,1388,1306,1432,1645,1503,1384,1288,1503,1800,1688,2005,2598,2138,1554,1556,1687,2166,2161,2022,2169,2665,2360,1491,1338,1367,1673,2247,2712,3032,2566,2208,2273,2331,2380,2081,1725,1727,2214,2450,2361,2727,3527,3629,3519,3618,3575,3398,3496,3612,3596,3648,3407,3375,3513,3512,3591,3620,3428,2962,3484,3792,3738,3561,3598,3720,3825,4103,4212,4292,4430,4541,4690,4790,4800,4683,4713,4053,3476,3719,3273,2502,2221,2486,3029,3497,3711,3319,3110,2337,2784,2886,2886,3066,3419,3331,3400,3500,3445,3406,3481,3181,3488,3779,3997,3818,4160,4152,3802,4094,4493,4583,4392,4192,4205,4280,4354,4312,4185,4329,4573,4713,4672,4619,4639,4603,4508,4501,4465,4437,4271,4069,3718,4151,4611,4633,4657,4656,4794,4969,4644,3923,3395,3505,3127,3121,3692,3839,3596,3562,3430,3286,3404,3605,4003,3795,2437,1396,2157,2878,2744,3083,3870,4219,4155,3795,3710,4025,4323,4399,4552,4545,4209,3633,2609,2932,2825,3055,3574,3682,3306,2712,1985,1742,2224,2218,1801,1786,1523,1313,1115,1185,1284,1377,1358,1270,1471,1729,1904,1890,2272,2513,2501,2346,2275,1929,1837,2087,2293,2113,1541,1282,1290,1287,1421,2754,4073,4135,4288,4740,3969,2727,2427,2433,2255,2444,3445,3541,3266,2634,2528,2385,2365,2630,2879,2391,1820,1970,2439,2609,2749,2438,2241,2252,2497,2590,2272,1930,1860,1942,2018,1854,1521,1447,1454,1299,1331,1132,1276,1368,1242,1078,953,938,955,869,794,850,996,879,875,880,887,984,976,1021,1036,934,922,978,988,939,907,989,1325,1483,1263,1093,1113,1163,1214,1509,1918,2094,2228,1746,1412,1453,1770,2219,2486,2342,2197,2300,2345,2131,1744,1319,1056,939,943,1084,1180,1147,912,851,887,875,1512,2117,1617,1034,1008,1216,1154,1041,1019,1025,876,872,1038,1089,1038,891,766,639,417,448,445,441,415,395,382,364,348,345,361,374,388,439,597,654,556,428,392,376,362,357,348,328,327,346,355,337,319,316,317,316,317,312,306,301,304,304,304,314,320,325,330,341,353,362,377,389,383,366,357,337,313,298,349,409,397,404,412,564,656,608,508,429,401,390,382,369,366,361,346,338,366,395,379,341,324,321,327,331,328,315,299,283,275,269,272,271,275,277,280,285,285,300,331,356,367,376,369,370,379,387,392,387,378,373,377,403,464,544,599,578,541,513,490,481,500,524,569,565,585,643,640,721,830,745,738,707,681,671,597,570,562,511,482,448,425,400,370,348,335,330,336,347,351,358,374,380,369,358,369,377,375,381,386,391,399,403,410,416,404,385,376,373,372,374,381,377,389,436,508,569,673,714,845,826,689,723,745,658,624,562,547,531,503,475,448,422,398,387,374,351,350,362,389,425,565,757,855,756,606,587,627,682,697,623,558,572,586,727,741,648,606,594,667,630,635],[3819,3395,2806,2525,2577,2381,2292,2514,2684,2641,2662,2830,3082,2561,2342,3250,3699,2423,2517,2753,2831,2908,2846,2717,2946,3218,3086,2931,2912,2820,2916,3178,3460,3441,2932,2622,2502,2634,3190,3593,3791,3736,3670,3926,3687,3623,3020,2701,2871,2792,2552,2712,2854,2354,2487,2955,3094,2570,2809,2798,2790,2610,2364,2195,2057,1894,1886,2049,1990,2533,3862,3741,2931,2841,2642,2932,3259,3339,3244,3245,3228,2842,2466,2432,1946,2069,2480,2325,2622,2541,2242,2718,2853,2459,2067,2359,2065,2036,2062,2429,2804,2830,2608,2997,3934,4228,3662,3095,2243,1582,1785,1764,2440,2695,2587,2700,2221,1851,2008,2197,2177,1997,1853,1794,2002,2264,2367,3220,3149,2657,2514,2654,2730,2659,2420,2630,2987,3049,2912,3019,3019,3256,3406,3194,2837,2695,2602,2552,2698,2791,2714,2696,2951,3303,3730,3707,3768,3916,3632,3217,3598,3403,3032,3226,3161,2502,3433,3041,2304,2458,3256,3485,3392,3631,3874,3640,3549,3098,2592,2945,2922,2309,2568,2943,3034,2908,2397,2229,2350,2852,2675,2285,2374,2215,1873,2171,2280,1867,1869,2242,2111,1718,1598,1894,2142,2156,2107,1909,1902,1894,2459,2840,2851,2636,2140,1478,1426,1858,2033,2103,2302,2690,2645,2520,2000,1843,1765,1688,2448,2850,2570,2051,1824,2257,2386,2472,2544,2735,2254,2093,2403,2486,3033,3392,3263,3449,3164,2641,2502,2053,1767,1851,1616,1835,2126,1918,1833,2194,2155,1808,1887,1881,1939,2308,2928,2832,2654,2708,2040,1728,1930,1935,1999,1938,1658,1666,1698,1521,1266,1295,1444,1671,1732,1591,1823,1909,1870,1864,1906,1823,1694,1406,1322,1356,1422,1576,1628,1576,1458,1613,1707,1744,1741,1881,1698,1488,1480,1503,1764,2322,2792,2219,1490,1368,1958,2370,2217,2061,2310,2475,2229,2232,2547,2621,2768,3121,3012,2675,2616,3204,2806,1937,2164,2159,2150,2511,2514,2644,2822,2828,2724,2686,2536,2178,1946,1996,2172,1884,1701,1657,1762,1813,1988,2307,2306,2175,2262,2158,2411,2864,2249,1816,1908,1699,1774,1986,1931,2510,2504,2062,2504,2822,2769,2615,2451,2465,2569,2491,2544,2518,2426,2461,2586,2833,2431,2235,2547,2524,2450,2396,2745,2471,1996,1197,1444,2047,1909,1921,2177,2245,2204,2236,1972,1857,2136,1985,1914,1844,1851,2428,2188,1647,1514,2212,2503,1885,2126,2123,2435,2989,3394,3348,2966,3100,3083,2203,2226,2670,2764,2609,2627,2629,2786,2968,2564,2342,2956,3194,3040,2908,2973,3244,3398,3402,3679,3859,3688,3222,2750,2758,2678,2562,2895,3086,2998,2492,1856,1749,1968,2224,2596,2385,1906,1673,1778,1729,1874,1766,1656,2129,2164,1763,1675,2024,1791,1677,2192,3255,3221,2308,2071,2206,1775,1531,1470,1606,1782,1537,1644,1673,1508,1465,1598,1587,1493,1667,2192,1957,2092,2468,1930,1880,1849,2030,1947,2087,1910,2003,2522,2768,2951,2457,2023,2232,1858,1988,1937,2102,2498,2139,2301,2799,2590,2589,3122,3108,2906,2938,2405,1679,1701,1790,1955,2503,3026,2322,1563,2445,3448,3098,2632,2193,1790,1720,1768,1780,2392,2411,1777,1656,1701,1830,2192,2192,2106,2017,2309,2577,2284,2014,2008,2029,1887,1709,1775,1855,1764,1541,1508,2243,2720,2606,2857,2249,2148,2232,2487,2213,1885,1850,1894,1894,1622,1682,2316,2342,2203,2736,2134,1934,2046,1736,1684,1702,1740,1679,1551,1484,1675,1734,1605,1880,1931,1808,2216,2374,2322,2122,2124,2219,2451,2978,2666,2124,2499,2490,1974,1803,1725,1829,1884,1877,1750,1666,1582,1546,1495,1425,1543,1722,1568,1519,2019,2842,2437,1833,1664,1626,1849,2337,2342,1516,1467,1678,1772,1700,1788,1841,1931,1793,1505,1593,2053,2072,1968,1642,1374,1292,1419,1877,2206,2057,1470,1681,1824,1795,1795,1582,1503,1493,1632,1686,1550,1410,1687,1405,1416,1748,1798,1898,1982,2020,1950,1887,1762,1831,1909,1843,2255,1897,1486,1281,1262,1393,1405,1280,1228,1597,2026,2061,1981,1857,1843,1904,1582,1641,1541,1369,1440,1382,1509,1536,1959,1819,1544,1430,1426,1232,1316,1594,1805,2185,1976,1738,1948,2236,2524,2781,2244,1573,1520,1645,1637,1561,1561,1672,1666,1582,1384,1528,1534,1425,1527,1522,1682,1990,2002,1790,2083,1990,1815,1974,2116,2024,2202,2318,2637,2299,1991,1957,2308,2317,2188,2282,2304,2568,2958,3457,3458,3177,3252,3384,2974,2349,2898,2758,2040,2068,2372,2360,2518,2631,2122,1857,2095,2344,2480,2219,2341,2840,2799,2462,2014,1696,1646,1526,1406,1345,1568,2026,2402,2245,1749,1488,1431,1576,2005,2161,1822,1759,1568,1694,1837,1656,1678,1877,1588,1561,1655,1623,1656,1682,1694,1668,1720,1387,1470,1466,1485,1345,1336,1418,1397,1519,1570,1417,1382,1338,1208,1289,1410,1497,1597,1638,1538,1478,1369,1355,1478,1391,1442,1710,1532,1956,1811,1505,1576,1578,1488,1399,1418,1425,1431,1375,1282,1155,1284,1452,1455,1437,1454,1750,1782,1494,1493,1605,1516,1578,1718,1935,1688,1995,1716,2245,2700,2858,3040,2858,2318,2623,3112,2463,2175,1860,1796,1816,2068,1893,1965,2330,2247,1950,1824,1883,1918,1775,1650,1841,1859,1559,1711,1990,1689,1522,1501,1335,1669,1838,1606,1706,1917,2121,2425,1974,1849,1999,1942,1651,1714,1990,1595,1360,1562,1637,1653,1578,1594,1541,1588,1691,1511,1468,1750,1801,1590,1591,1570,1678,1444,1541,1869,2160,1832,1504,1598,1649,1711,1863,1740,1481,1615,1847,1774,1876,1664,1802,1858,1634,1902,2762,3021,2603,2160,1849,1486,1497,1623,1721,1906,1789,1841,1693,1542,1525,1592,1557,1488,1713,2126,2210,2396,2260,2360,2279,2345,2297,1950,2163,2764,2708,2284,2368,2236,2152,2352,2525,2238,2169,2024,1875,1940,2303,2648,2407,2220,2192,2149,1935,2193,2678,2331,2489,2802,2418,2469,2451,2562,2924,2607,1976,2072,2612,2931,2447,2360,2415,2798,2708,2850,2866,3142,3195,3228,3260,2742,2325,2076,2288,2492,3317,3793,3144,2441,2235,2295,2355,2581,2498,2536,2538,2669,2807,2564,2952,3072,3167,3307,2618,2464,2509,2601,2923,2657,2438,2867,3319,3065,2413,2326,2356,2259,1929,1966,1954,1838,2060,2226,2519,2604,2825,2574,2311,2381,2697,2880,2558,2279,1990,1992,2099,1879,1782,2334,2569,2472,1873,2167,1872,1868,2080,2134,2643,2822,2533,2391,2088,2130,2188,2686,2577,2282,2422,2460,2366,2680,2784,2483,2030,2024,2302,2540,2789,2709,2675,2534,2487,2220,1726,1882,2280,1942,1560,2302,2705,2186,1433,1532,2325,3108,2916,2445,2043,1830,1514,1854,2344,1819,1760,1739,1587,1374,1460,1419,1521,1886,1705,1540,1592,1570,1904,2084,1864,1792,2254,2398,2597,2564,2482,2578,2308,1829,1790,1718,1797,2360,2801,2786,2634,2480,2353,2265,2300,1974,2127,2508,2416,2221,2288,2158,2808,3498,3574,3342,3430,3322,3233,3321,3159,3297,3637,3544,3458,3529,3465,3457,3464,3439,3290,3339,3016,2518,2531,2464,2198,2762,4034,4327,4356,4464,4583,4728,4848,4802,4713,4747,4204,3484,3325,3294,2872,2698,2810,2835,2807,2831,2975,2940,2640,2907,3033,3178,3360,3426,3443,2979,2845,3169,3506,3320,3007,3596,4165,4444,4380,4304,4312,4392,4404,4732,4877,3826,3559,3706,3802,3929,4255,4272,4092,4255,4551,4580,4620,4636,4580,4283,4080,3787,3815,4019,4018,4029,4392,4620,4628,4315,3782,4304,4753,4676,4140,3720,3776,3332,3007,3153,2942,2662,2775,2833,2973,3426,3854,3979,3808,2281,1584,2202,2900,2795,2930,3672,4184,4188,3958,3935,3958,4301,4251,4544,4484,3972,3714,2780,2621,2833,2911,3316,2786,2086,2292,2194,1739,2077,2243,1786,1721,1570,1298,1118,1098,1219,1326,1440,1288,1386,1716,2046,1916,2136,2640,2648,2337,2354,2215,1819,1963,2164,2236,1704,1416,1436,1499,1624,3012,3882,4093,4376,4560,4136,3439,3061,2666,2520,2441,3370,3637,3260,2819,2490,2391,2374,2513,2861,2530,1893,1763,2313,2741,2834,2551,2459,2377,2388,2498,2351,2041,1810,1834,1912,1915,1603,1382,1385,1204,1173,1112,1115,1187,1186,1062,945,903,950,877,779,791,988,921,888,893,877,941,946,935,981,894,857,879,885,875,853,872,1128,1431,1301,1039,1118,1257,1292,1791,2532,2442,2585,1997,1477,1437,1897,2326,2366,2270,2230,2282,2365,2210,1867,1403,1100,996,926,1016,1143,1202,1064,900,908,920,1291,1964,1765,1301,1153,1218,1171,1013,929,1008,973,968,1141,1246,1244,1098,1076,1002,541,471,480,442,403,374,365,361,347,343,357,379,417,461,622,607,545,473,425,392,372,371,365,331,318,335,352,337,316,303,314,317,313,310,309,306,304,304,305,313,313,316,323,345,354,361,367,372,371,376,373,343,323,290,325,362,377,405,417,564,648,582,468,375,369,372,366,366,359,359,351,338,356,383,380,351,335,328,329,330,325,311,297,286,273,268,270,277,284,285,289,294,296,301,325,350,361,365,367,373,373,378,376,381,373,360,366,421,489,540,586,584,555,532,500,485,496,509,533,553,571,649,671,665,825,746,713,700,658,622,565,552,568,513,477,447,426,392,364,345,331,327,335,339,346,361,378,389,383,365,374,378,383,401,398,386,382,386,385,369,353,366,375,371,366,363,370,378,390,431,492,590,684,721,787,756,698,685,751,676,609,563,543,513,485,467,440,414,389,377,371,359,364,349,361,427,594,712,736,684,593,587,602,645,670,627,556,558,545,660,679,623,639,606,604,613,613],[3448,3089,2855,2755,2721,2534,2554,2786,2830,2844,2431,2109,2414,2250,1984,2383,1954,1900,2394,2731,3152,3162,2973,2773,2961,3166,3068,2852,2707,2864,3003,3077,3239,3416,3175,2698,2556,2901,3523,3748,3605,3579,3941,3828,3565,3243,2963,2928,2942,2828,2733,2510,2497,1951,2244,3009,3062,2979,2920,2146,1748,1791,1933,2318,2308,2083,1896,1785,1929,2476,2910,2806,2919,2642,2417,2665,2469,2912,3106,3414,3318,2944,2862,2920,2697,2641,2182,2028,2160,2124,2576,2792,2514,2567,2429,2195,2098,2231,2036,2236,2653,2589,2788,3830,4292,3938,3479,3006,2468,1786,1934,1905,2182,2481,2600,2571,2354,2133,2181,2109,2029,2183,2031,1969,2448,2659,2464,2403,1923,1796,2565,2832,2199,2103,2093,2502,2943,2765,2732,3257,3022,2911,3250,3074,2366,1994,2163,2645,2798,2588,2566,2726,3250,3913,4145,4440,4272,4408,3983,3740,3975,3333,2709,2676,2663,2219,3200,3276,2824,2927,3439,3606,3526,3750,3829,3565,3426,2996,2498,3140,3355,3025,2994,2455,3084,3144,2425,2162,2247,2468,2202,2001,1975,2380,2031,2164,2391,2028,2243,2609,2154,1724,1514,1595,2029,2352,2001,1847,1815,2345,2939,2975,3046,2809,2466,2064,1789,1815,1558,1805,2324,2744,2906,2418,2137,1971,1745,1655,2143,2802,2767,1976,2139,2736,2699,2364,2093,2426,2094,1687,1882,1963,2663,3343,3294,3510,3331,2634,2868,2434,2049,2123,2019,1808,2151,2275,2126,2198,1899,1622,1877,1815,1816,2216,2866,2149,2492,2733,1836,1589,1885,2147,1998,1700,1806,1977,1746,1956,1467,1448,1576,1736,1552,1359,1606,1673,1642,1779,2034,1908,1843,1677,1581,1412,1479,1645,1594,1367,1238,1409,1842,1874,1864,1955,1627,1511,1393,1375,1654,2089,2316,2142,1614,1711,2335,2450,2376,2213,2067,2559,2362,2127,2207,2231,2160,2436,2606,2469,2460,2497,2181,2444,2552,1978,2038,2045,2148,2436,2343,2234,2286,2823,2675,1935,1754,1937,2284,1843,1718,1670,1803,2050,2509,2570,2279,2024,1883,2071,2329,2510,2227,2236,1937,1902,1829,1837,1864,2776,2631,2330,2712,2406,2397,2374,2353,2143,2433,2413,2846,2415,2221,2341,2453,2988,3134,2839,2819,3123,3458,3509,3520,2392,1853,1603,1810,1900,1737,1768,2184,2497,2408,2364,1975,1844,2110,2245,2117,2024,1613,1922,2170,2083,2213,2674,2618,2423,2599,2024,2186,2631,3277,3347,3019,3217,3050,2192,1986,2628,3127,2750,2377,2267,2649,2691,2448,2511,3357,3501,3316,3142,2906,3065,3210,3371,3487,3563,3627,3532,3272,2888,2810,2705,2457,2414,2636,2828,2589,1824,1800,1887,2257,2538,2316,2187,1905,1797,1801,1739,1817,1847,1793,1798,1875,2007,1906,1792,2261,3213,3311,2526,2219,2041,1676,1908,1882,1886,1964,2134,2534,2069,1593,1534,1628,1537,1477,1668,1643,1566,2004,2278,1804,1706,1983,2258,2129,2113,2316,2695,2721,2866,3667,3487,2598,2248,1936,2327,2021,1826,1968,1958,2069,2230,2308,2773,3386,3183,2972,2874,2865,2244,1874,1731,1643,1783,2585,2472,2091,2974,3706,3602,2929,1978,1953,1662,1553,1559,1891,2057,2035,1941,1849,1974,2110,2015,1906,1894,2013,2000,1828,2226,2555,2366,1796,1512,1613,1605,1584,1537,1487,2076,2474,2574,2440,1978,2370,2737,2736,2405,2285,2203,1917,1704,1557,1686,2070,2212,1839,2212,2027,1716,1803,1763,1980,2566,2120,1807,1847,1888,1509,1372,1587,1749,1637,1684,2802,2947,2332,2368,2547,2822,2987,3243,2909,2485,2444,2392,1964,1741,1601,1693,2205,2296,1587,1766,2015,1761,1781,1626,1678,1726,1931,2258,2301,2579,2176,1494,1418,1691,2441,1951,1971,1728,1726,1769,1769,1755,1782,1606,1410,1548,1438,1347,1193,1431,1843,1615,1446,1272,1337,1480,1551,1547,1583,1624,1625,1795,1583,1615,1562,1630,2083,2040,1598,1267,1366,1297,1541,1904,1913,1964,1934,1974,1748,1576,2535,2918,2532,2387,2376,1736,1344,1388,1366,1406,1442,1277,1346,1671,1857,1978,1942,1853,1895,1755,1559,1678,1589,1617,1554,1391,1642,1959,2126,1857,1633,1509,1388,1219,1407,1539,1600,1878,1676,1502,1764,1956,1841,1837,1753,1552,1442,1395,1468,1625,1741,1710,1651,1587,1666,2030,1808,1798,1735,1552,2029,2207,1823,2365,3152,2612,1727,1653,1910,1870,1770,1965,2020,1898,1824,1632,1586,2046,2666,3085,2846,2717,2955,3199,3153,3015,3305,3221,2441,2573,3107,2519,2208,1934,2182,2304,2611,2343,1721,1614,1649,2186,2746,2821,2759,2408,2151,1820,1515,1598,1591,1734,1994,1606,1378,2063,2420,2213,1723,1401,1459,1652,2150,2376,2100,1895,1511,1409,1766,1803,1642,1481,1417,1518,1576,1790,1556,1334,1413,1538,1630,1368,1596,1574,1501,1426,1435,1467,1475,1548,1449,1253,1284,1345,1400,1482,1459,1445,1465,1399,1378,1455,1426,1378,1522,1597,1503,1458,1317,1362,1291,1406,1470,1396,1352,1343,1376,1351,1414,1395,1341,1452,1571,1688,1579,1555,1672,1972,1948,1510,1528,1634,1506,1572,1700,1800,1651,1612,1716,2031,2632,3184,3129,2723,2113,2598,2961,2448,2252,1977,1954,1910,1969,1893,1969,1919,1844,1970,1920,1931,1825,1720,1726,1663,1632,1597,1786,1982,1758,1569,1601,1758,1860,1812,1635,1635,1929,2053,1822,1376,1603,2137,2164,1675,1714,2275,2077,1949,1616,1677,1601,1774,1666,1644,1481,1483,1697,1850,1899,1770,1583,1885,1714,1781,1481,1582,2107,2343,1781,1673,1768,1698,1877,2183,1824,1619,1542,1818,1775,1738,1526,1656,1547,1425,1607,2151,2937,3113,2283,1939,1737,1533,1502,1560,1959,1734,1556,1586,1384,1401,1646,1603,1424,1730,2226,2053,2142,2092,2048,2113,2811,2615,2093,2127,2228,2166,1729,1895,2067,2019,2377,2500,2446,2944,2332,1591,1709,1983,2182,2029,2173,2249,1851,1797,1811,1778,1699,1908,2006,2001,2164,2225,2035,1977,2156,2070,2032,2333,2624,2291,2603,2402,2362,2601,2823,2897,3082,2919,3386,3322,2604,2492,2230,2388,2409,2817,2863,2450,2208,2188,2378,2450,2548,2063,2680,2665,2236,2342,2138,2370,2830,3216,2839,2136,2337,2633,3038,2663,2375,2643,2894,2555,2481,2523,2821,2762,2418,2320,2247,2228,2002,1936,2118,2574,2707,3084,2486,2181,2545,2658,2215,1932,1694,1765,2233,2104,1822,1873,1958,2584,2700,2293,2182,1832,1952,2179,1886,1733,1761,2079,2093,1646,1593,1704,2346,2645,2384,2472,2088,1909,2418,2618,2649,2164,2240,2850,2670,2504,3062,2995,2573,2293,2142,1988,2137,2563,2264,2182,3319,3733,2790,1903,1952,2490,2868,2654,2256,1938,1589,1456,1702,1969,1682,1586,1749,1672,1579,1306,1008,1356,2049,2166,1705,1473,1562,1837,2240,2086,2050,2387,2208,2181,2119,2144,2446,2072,1653,1989,1998,2169,2278,2393,2551,2148,2471,2568,2353,2258,1854,2134,3079,2678,1806,1995,2284,2499,3294,3537,3156,2988,2630,2451,2575,2603,3009,3517,3404,3349,3506,3515,3431,3195,3049,3197,3018,1801,983,942,870,773,1522,3681,4253,4255,4416,4521,4585,4656,4643,4430,4007,3598,3472,3835,4227,4220,3614,3131,2622,2145,2237,2642,2632,2790,3104,3426,3650,3614,3557,3695,3274,3326,3653,3562,3292,3720,4188,4565,4473,3857,3649,3948,4184,4150,4343,4583,3797,3492,3367,3528,3974,4389,4336,4051,4120,4423,4625,4580,4531,4344,3923,3765,3457,3295,3837,4416,4535,4639,4656,4584,3651,3066,4188,4616,4689,4489,4065,4054,3685,2841,2419,2164,1825,1785,2163,2745,3226,3595,3685,3632,2143,1668,2298,2881,2900,2918,3355,4045,4344,4099,4112,4028,4240,4120,4180,4252,3851,3642,3023,2481,2691,2949,3272,2525,1935,2155,2344,1975,1946,2092,1780,1592,1561,1293,1104,1070,1218,1278,1507,1394,1321,1872,2396,2137,2041,2337,2380,2326,2399,2512,2044,2140,2120,2249,1900,1462,1516,1723,1860,2833,3758,4209,4937,4683,4156,3863,3637,3074,2717,2607,3150,3591,3297,2845,2543,2271,2443,2557,2841,2607,2059,1751,1960,2473,2793,2636,2671,2625,2439,2435,2262,2062,1820,1750,1746,1884,1697,1384,1265,1175,1092,1067,1089,1132,1163,1048,973,899,950,910,807,792,984,973,902,935,888,907,926,869,917,875,830,827,813,797,792,790,988,1355,1366,1097,1122,1359,1366,1875,2645,2535,2701,2397,1745,1608,2214,2620,2399,2191,2298,2296,2425,2332,2011,1544,1180,1055,953,961,1098,1187,1092,917,918,958,1161,1750,1770,1394,1197,1246,1225,1091,1024,1046,987,927,1069,1250,1216,1065,992,985,718,611,563,487,429,381,379,375,355,343,349,374,407,412,517,582,576,518,462,415,378,369,365,338,320,333,355,344,317,311,315,312,319,314,311,311,304,304,305,304,306,306,322,348,361,363,358,364,362,374,379,349,322,312,317,323,351,390,424,548,651,566,453,398,368,352,349,354,354,348,349,346,346,369,370,353,347,334,333,326,318,308,294,281,268,265,273,278,290,300,301,305,307,310,320,340,350,357,361,368,371,369,372,383,387,413,400,443,500,542,568,566,548,521,486,476,478,489,507,533,539,608,662,686,863,795,680,697,651,603,556,537,539,494,450,429,416,393,369,343,329,329,327,334,345,357,383,404,379,379,382,380,393,416,415,391,380,388,390,363,352,367,370,356,352,349,359,368,386,436,497,598,719,694,775,752,680,631,691,659,582,556,541,501,481,462,440,407,378,369,368,366,370,353,345,403,529,613,669,709,639,636,575,615,633,620,584,568,526,584,641,619,645,677,670,585,600],[2988,2871,2877,3084,2920,2376,1958,2174,2620,2853,2720,2253,2062,1938,1921,1743,2117,3041,3142,2973,3076,3043,2961,2904,3012,2948,3172,3079,2922,3020,3232,3082,3043,3346,3441,3075,2790,3354,3746,3589,3320,3448,3896,3946,3331,2866,3035,2818,2891,2822,2714,2580,2390,2042,2590,3125,3307,3275,2548,1710,1658,1591,1533,1858,2268,2044,1936,1917,2105,2099,1971,2135,2392,2323,2590,2779,2584,2457,2387,2518,2823,2862,3095,3400,3382,2767,2444,2511,2119,2074,2201,2203,2580,2779,2714,1897,2501,2763,2239,2166,2129,2126,2458,3342,3786,3618,3388,2941,2172,1615,2105,2767,2709,2516,2378,2220,2290,2439,2426,2579,2016,2466,2806,2497,2351,2652,2632,2248,2112,1469,1874,2280,1977,2083,2198,2709,3239,2502,2354,2813,2536,2398,2706,2563,1936,1709,1876,2565,2768,2883,2749,2688,3304,3974,4132,4384,4460,4401,3957,3458,3450,2752,2124,2169,2636,2656,2690,2547,2752,2978,3163,3369,3294,3384,3518,3507,2999,2275,2274,3101,3276,3078,2665,2277,2767,2997,2632,2980,2652,1975,1767,1533,1875,2463,2203,2148,2026,2041,2618,2526,2194,2027,1769,1837,1756,1982,2095,2172,2524,2950,3040,2898,2853,2873,2880,2649,2312,1890,1139,1665,1868,2554,2680,2257,2023,2180,2584,2543,2450,2849,2889,2718,2431,2316,2873,2578,2293,2262,1869,1521,1704,1975,2574,3305,3084,3017,2673,2090,2532,2336,2036,2094,1865,1628,1888,1931,1803,1711,1622,2004,2134,2095,1981,2288,2067,1850,2036,2095,2014,1770,1798,1961,1698,1735,1880,1940,1675,1691,1816,1669,1527,1536,1286,1420,1636,1721,1919,1587,1692,1599,1809,1999,1939,1748,1670,1710,1582,1441,1563,1685,1778,1687,1766,1631,1419,1376,1550,1691,1682,1774,1850,2206,2689,2691,2610,2116,2584,2485,2309,2646,2069,1792,1967,2352,2609,2619,2517,2271,2171,2292,2188,2303,1849,1677,1808,1775,2235,2544,2146,1918,2175,2365,2327,2408,2078,2156,2220,1814,1622,1683,1900,2173,2595,2675,2346,1923,2174,2543,2449,2221,2156,2250,1981,2049,2150,2309,2845,3229,2764,2688,2458,2109,2396,2240,2778,3023,3066,3348,3274,2391,2310,2720,2551,2707,3557,3375,2697,2435,3241,3847,3696,2322,1810,2281,2349,2000,1945,1828,2024,2257,2191,2121,2314,2118,2308,2286,2309,2244,1502,1596,2066,2249,2475,3269,3230,2835,2388,2376,2470,2721,3582,3634,3196,3348,3083,2107,2137,2375,2742,2678,2574,2391,2634,2837,2600,2911,3530,3462,3403,3704,3522,3247,3001,2978,3228,3378,3477,3568,3664,3171,2884,2876,2431,2155,2044,2247,2840,2496,1828,1765,1858,2118,2451,2585,2276,1902,1914,2372,2131,2099,1868,1694,1938,2034,1983,1995,2530,3326,3317,2731,2219,2186,1883,1912,2045,2010,1694,2107,2128,1741,1591,1481,1574,1572,1404,1513,1387,1424,1746,1871,1659,1707,1786,1933,1869,1807,2045,2189,2202,2420,3232,3692,3418,3086,2114,2076,1907,1703,1986,2410,2206,1953,2058,2979,3352,3287,3278,3161,3117,2705,2056,1704,1499,1622,2324,2562,2173,2804,3566,3717,2910,1953,1976,1753,1748,1952,1938,2264,2406,1753,1557,1913,2276,2100,1897,2125,2469,2259,1968,2565,3019,2603,1896,1540,1726,1785,2065,1851,1779,1698,1943,2041,2016,2107,2698,2944,2376,2268,2454,2536,2015,1571,1532,1698,2008,1772,1688,2220,1998,1708,2002,2025,2048,2469,2216,1910,1716,1667,1442,1400,1455,1561,1794,1915,2040,2140,1885,1991,2261,2622,2942,3038,3052,2799,2854,2276,1760,1792,1588,1675,2495,2744,1678,1871,1816,1610,1658,1482,1628,1716,2124,2692,2754,2248,1473,1431,1578,1994,2665,1980,1876,1735,1814,2054,1982,1748,1655,1560,1680,1833,1467,1400,1429,1710,1788,1723,1561,1454,1337,1258,1351,1544,1940,1994,2358,2264,1764,1575,1667,1584,1693,1819,1476,1294,1382,1491,1744,1848,1723,1669,1648,1736,1788,1922,2964,3138,2846,2402,1816,1527,1384,1603,1556,1456,1350,1386,1598,1928,1918,1693,1745,1807,1688,1541,1558,1653,1598,1573,1548,1439,1688,1848,1748,1814,1930,1764,1521,1357,1389,1484,1426,1666,1388,1754,2189,1752,1741,1815,2021,1857,1337,1564,1720,1692,1754,1546,1780,1631,1709,1861,1712,1726,1675,1606,1681,1686,1636,1941,2496,2320,1650,1638,1820,1688,1826,1974,1986,1942,1711,1514,1605,2147,2334,2619,2822,2961,3334,3273,2956,2770,2847,2642,2118,2775,2786,2013,1975,1692,2515,2610,2179,1909,2292,2075,1874,2385,2851,2957,2386,1785,1442,1375,1628,1693,1616,1952,2004,1532,1451,1724,2067,2081,1525,1441,1531,1840,2483,2263,1897,1548,1348,1359,1376,1349,1377,1277,1395,1524,1664,2014,1599,1266,1390,1356,1300,1287,1219,1375,1530,1390,1442,1444,1554,1466,1412,1350,1432,1538,1641,1527,1356,1384,1328,1302,1309,1368,1310,1412,1471,1460,1551,1484,1417,1470,1407,1379,1363,1493,1418,1361,1451,1403,1312,1406,1333,1456,1494,1444,1415,1483,1536,1560,1554,1428,1453,1769,1976,1620,1417,1467,1331,1289,1482,1615,2004,2645,2802,2744,2329,2607,2812,2684,2270,2000,1763,1760,1851,2101,2564,2146,1846,1884,1963,1857,1752,1806,1859,1674,1668,1655,1637,1768,1836,1658,1649,1704,1600,1866,1599,1671,2220,2424,2106,1555,1483,1809,1730,1528,1510,1732,1733,1725,1711,1750,1712,1712,2038,2019,1644,1611,1617,1643,1611,1582,1750,2113,1744,1539,1550,1669,1712,1695,1720,1664,1968,1830,1983,2214,1698,1566,1533,1853,2004,1828,1691,1858,1885,2139,2082,1822,1924,2046,1776,1751,2099,1918,1705,1654,1601,1541,1658,1596,1510,1497,1645,1958,1755,1558,1805,1691,1459,2084,2090,2111,2742,2522,1986,2116,1720,1584,1660,1833,2028,1830,1874,1914,2188,3109,2688,1419,1472,2040,2174,2026,2586,2502,1747,1683,1848,1797,1770,1676,1472,1780,2307,2644,2170,2322,2292,1908,1865,2231,2138,2254,2347,2193,2193,2509,2688,2521,2733,2805,3002,3030,2999,2875,2527,2390,2387,2662,2367,1850,1738,1998,2144,2382,2540,1956,2868,2976,2404,2474,2335,2387,2758,3104,2722,2314,2712,2587,2834,2813,2426,2521,2952,2852,2500,2687,3129,2564,2448,2768,2383,1952,1563,1606,2021,2349,2279,2303,2604,2510,2174,1806,1887,1824,1628,2013,2393,2220,2068,1742,2054,2799,2997,2828,2467,2298,2381,1950,1488,1347,1421,1554,1584,1563,1516,1319,1443,1519,1720,2188,2168,2035,2050,2543,2648,2334,2785,3086,2348,2109,2389,2612,2818,2696,2039,1704,1863,2047,2104,2733,3188,3742,3323,2554,2383,2365,2112,1713,1548,1867,1633,1594,1500,1582,1534,1442,1622,1772,1707,1275,1339,1804,1980,1958,1592,1500,1708,1976,2938,2447,2110,2015,1672,1807,2024,2083,2718,2474,1912,2116,2644,2150,1794,2222,2403,1892,2536,3160,2852,2780,2508,2384,2852,2340,2264,1934,2309,2260,2943,3418,3108,2962,3107,3317,2998,3084,3429,3602,3655,3685,3107,2600,2398,1951,1663,2461,2689,1244,597,589,598,617,1175,3386,4229,4199,4282,4340,4340,4377,4328,3653,2215,2104,3379,3686,4084,4136,3542,3054,2420,2294,2352,2540,2998,2918,3156,3726,3861,3806,3562,3497,3117,2744,3489,3023,3060,4040,4416,4493,4293,3815,3770,3770,3831,3775,4042,4279,3872,3361,3201,3422,3873,4140,4240,4312,4208,4287,4560,4342,4207,3960,3724,3760,3703,3524,3798,4073,3650,3730,3908,3963,3037,2878,4079,4450,4528,4392,4070,4080,3670,2917,2654,2298,1880,1911,2566,3123,3286,3461,3750,3177,1770,1592,2398,2710,2902,3128,3275,3983,4428,4252,4252,4062,4028,3883,3814,3905,3727,3491,3122,2492,2486,2864,2584,1959,1908,2191,2406,2170,1808,1876,1808,1503,1504,1361,1156,1077,1179,1237,1516,1595,1412,1729,2320,2254,1990,2133,2060,2330,2513,2836,2377,2194,2183,2233,2029,1588,1562,1832,2128,3060,3714,3992,5105,4733,4320,4212,3960,3452,3254,3453,3487,3697,3554,2917,2823,2471,2640,2811,2909,2634,2248,1807,1600,1958,2459,2729,2814,2474,2212,2244,2159,2065,1836,1707,1765,1795,1683,1409,1214,1146,1048,1040,1153,1172,1269,1174,1053,905,953,926,880,882,988,1005,912,951,889,868,895,825,839,858,819,786,763,746,741,741,924,1320,1361,1109,1076,1379,1482,1831,2365,2459,2587,2659,2260,1942,2379,2758,2411,2214,2424,2359,2391,2362,2101,1676,1316,1152,1024,930,1010,1075,1060,1127,1000,934,1028,1478,1743,1599,1338,1213,1174,1135,1012,1012,990,920,958,1151,1256,1051,851,775,754,799,710,538,489,419,399,377,353,343,351,376,402,422,482,569,596,547,489,423,375,364,366,346,322,327,348,348,320,320,335,304,319,317,315,313,306,305,305,306,306,303,314,344,360,366,358,357,358,373,380,357,329,319,312,311,331,364,421,544,633,567,450,396,356,344,338,337,345,345,353,355,384,390,383,339,355,347,336,326,317,310,296,283,270,264,273,279,296,307,314,312,310,318,319,331,338,348,362,368,371,370,374,382,386,454,466,490,493,499,531,540,523,503,477,459,468,471,512,543,517,557,647,747,947,929,701,703,667,604,550,529,521,503,478,452,422,388,373,354,336,327,323,326,335,361,383,422,387,384,396,396,412,421,416,396,390,394,403,396,384,367,358,348,338,333,340,356,385,430,485,543,673,658,744,790,678,587,634,656,605,550,510,489,479,457,438,402,375,363,362,356,366,357,350,379,478,560,642,639,603,596,520,587,601,609,595,565,542,551,601,652,668,691,769,629,574],[2919,3067,3253,3286,2801,2269,1811,1795,2052,2260,2844,2857,2620,2477,2118,2255,3128,3297,2928,2889,3018,3247,3171,3012,3057,3383,3408,3298,3155,3190,3399,3202,3312,3643,3576,3339,3440,3726,3657,3463,3394,3665,3796,3584,3130,2898,3074,3120,2722,2839,2490,2381,2211,2439,2807,2973,3393,3468,3174,2150,1635,1438,1345,1528,2094,1920,1989,2025,2032,1910,1763,1991,2091,1931,2164,2588,2706,2488,2221,2380,2675,2989,2968,2735,3128,2995,2769,2692,2580,2518,2471,2249,2257,2454,2340,2277,2932,2573,2026,2209,2031,1969,2294,2569,2689,3514,3321,2352,2017,1826,2286,3134,3046,2522,2248,1904,2475,3138,3243,3475,2316,2142,2314,2259,2164,2563,2820,2877,2813,1969,2169,2252,2144,2720,3007,3088,3111,2629,2519,2728,2544,2366,2420,2392,2111,1992,1899,2370,2612,2900,2857,2783,3151,3532,3695,3917,3903,3731,3360,3105,3132,2717,2719,2642,2750,2836,2526,2465,2585,2685,3089,3392,3208,3314,3381,3219,2729,2285,2372,2697,2817,2968,2879,2630,2922,3060,2890,3463,2752,1770,1550,1998,2165,2188,2349,2236,1793,1881,2697,2670,2044,2030,1945,1860,1665,1787,1810,2625,3432,3195,2977,2968,2901,3109,3248,2984,2565,2233,1717,1634,1716,1995,1949,1841,1873,2240,2648,2431,1929,2497,2986,2909,2384,2557,3206,3256,3037,2481,2239,1729,1699,1770,2154,2427,2099,1919,1644,1614,2023,2401,2194,1950,1914,1903,2078,1754,1568,1515,1520,1797,1759,1810,1814,1978,1852,1695,1713,1847,1931,1683,1656,1964,1688,1915,2037,1897,1564,1634,1934,1808,1580,1430,1386,1575,1449,1750,1747,1489,1463,1340,1508,1729,1809,1821,1843,1711,1663,1808,2100,2026,1766,1487,1449,1411,1380,1399,2129,2497,1727,1616,2030,2958,3795,3020,2072,2293,2562,2482,2501,2232,1918,1950,1946,2101,2153,1816,1795,1859,2194,2058,1838,1870,1641,1785,1923,1842,2377,2641,1942,1853,1964,1953,2237,2520,2077,2089,2152,2061,2014,1998,1843,2095,2702,2950,2683,2436,2492,2385,2544,2148,1990,2015,2098,2189,2213,2567,3190,3017,2587,2634,1967,1998,2361,2336,2369,2584,3072,3499,3232,2694,2876,3021,2710,3066,3681,3631,2792,2380,3065,3564,2621,1710,1987,2327,2027,1778,1820,1498,1700,1830,1897,2236,2468,2524,3097,2809,2236,2120,1324,1804,1922,2121,2326,3441,3227,2397,2335,2788,2865,3427,3984,3652,3375,3360,3206,1985,1788,2039,2678,2686,2589,2587,2900,3100,2744,3139,3425,3438,3112,3322,3408,3372,3065,2215,2099,2532,2680,2966,3491,3260,2764,2900,2285,2096,2119,2041,2118,2403,2186,1740,1709,1909,2131,2390,2536,2405,2663,2923,2038,1749,1570,1627,1939,1906,1993,2127,2529,3293,3185,2777,2170,2312,1875,1989,2047,1704,1610,1876,1694,1427,1403,1326,1476,1719,1453,1707,1836,1755,1691,1647,1776,1901,1771,1812,1745,1609,1713,2011,2369,2047,2423,2612,2899,2840,2210,1976,1804,1891,2458,2770,2182,2057,2413,3140,3043,2640,2966,3242,3316,3248,2665,1855,1536,1605,2197,2514,1862,1889,2259,3186,2655,2045,2117,1954,1848,2014,2139,2192,2144,1719,1684,1980,2255,2047,1898,2409,2809,2723,2249,2232,2679,2331,1800,1540,1522,1525,2006,2259,2125,1731,1813,1746,1765,1914,2558,2964,3188,3046,2670,2256,1779,1607,1614,1826,2062,1842,2004,2112,1962,1879,1689,1597,1854,1927,2183,2517,1821,1366,1641,1852,1567,1442,1920,2071,1916,2295,1943,1900,1808,1852,2483,2911,2532,2542,2624,1979,1725,1870,1592,1583,2019,2141,1561,1603,1666,1651,1478,1390,1603,1816,2075,2366,2532,1933,1309,1504,1809,2476,2308,1919,1722,1462,2010,2458,2030,1896,1843,1725,1824,1679,1465,1380,1504,1735,1661,1607,1531,1371,1233,1326,1585,1575,2078,1881,2254,1960,1765,1890,1853,1600,2066,2182,1373,1349,1416,1636,1858,1737,1629,1582,1694,1936,1936,2410,2939,2437,2161,1775,1449,1515,1587,1835,1421,1373,1506,1704,1792,2050,1705,1188,1377,1722,1547,1498,1561,1372,1495,1579,1542,1726,1875,2041,1835,1570,1694,1736,1770,1756,1615,1560,1486,1584,1241,2013,2261,1635,1531,1606,1966,1988,1466,1949,2248,1694,1522,1570,1905,1954,1767,1539,1515,1483,1531,1590,1577,1581,1926,1702,1670,1663,1942,2071,1799,1972,2134,2226,2575,2353,1714,1636,1976,2555,2425,2138,2592,3150,3335,2797,2577,2771,2804,2999,2802,3194,2576,2148,1841,2009,2295,2115,2035,2405,2779,2138,2209,2171,2447,2162,1644,1694,1732,1669,1291,1446,1848,1914,1576,1414,1425,1502,1764,2641,1864,1492,1546,1705,2015,1730,1693,1940,1955,1931,1716,1400,1477,1780,2115,1804,1868,2094,1689,1459,1600,1305,1333,1495,1519,1744,1651,1360,1335,1326,1397,1376,1440,1506,1676,1918,1895,1610,1330,1329,1304,1361,1377,1563,1341,1456,1435,1423,1592,1531,1494,1478,1555,1568,1449,1521,1365,1380,1489,1412,1475,1543,1502,1459,1347,1364,1361,1382,1449,1642,1561,1382,1356,1774,2044,1557,1373,1437,1345,1429,1600,1628,1448,1762,2226,2332,2303,2303,2310,2314,2250,2148,1889,1841,1897,2260,3013,2763,2051,1777,1736,1746,1929,2041,2041,1804,1552,1525,1549,1603,1557,1648,1735,1467,1300,1728,1810,2037,2174,2185,2458,1992,1813,1680,1825,1728,1758,1411,1578,1643,1765,1654,1598,1647,1822,2136,2064,1765,1532,1505,1458,1546,1912,1794,1578,1672,1642,1605,1474,1600,1884,2238,3162,2354,1981,1675,1693,1642,1499,1726,2010,1919,1998,2168,1881,2167,2534,2072,1659,1549,1606,1775,1994,2051,1667,1561,1716,1537,1572,1654,1603,1645,1553,1817,1658,1725,1970,1874,1577,1850,2101,1918,1885,2405,2287,1991,1848,1195,1261,1735,1952,1689,1548,1622,1799,2345,2518,2426,2407,2586,2128,1800,1997,2008,2099,1890,2111,2432,2487,2083,1676,2322,2392,2514,2500,2664,2284,2207,2154,2178,2075,2109,1968,1830,2221,2348,2266,2273,2332,2261,2265,2425,2735,2654,2542,2554,2627,2858,2338,2023,2149,2402,2179,2152,2419,2493,3566,3624,2797,2640,2652,2618,1907,2118,2452,2589,2901,2524,2676,2986,2470,2354,2525,2348,2134,2436,2481,2289,2736,3289,2597,1888,1119,788,1483,2341,2325,2169,2363,2335,2302,1679,1931,1692,1620,1913,2037,2300,2418,2070,2415,2479,2799,3179,2820,2489,2360,1869,1813,1915,2287,2200,1726,1577,1514,1371,1332,1216,1425,1928,2182,2270,1869,2283,2380,2209,2543,2508,2075,1672,1858,2828,3659,3454,2132,1824,1935,2265,2859,2852,2886,3345,3571,3099,2182,1981,1935,1478,1405,1582,1569,1688,1516,1296,1435,1620,1644,1753,1750,1536,1834,2865,2774,2174,1612,1449,1604,1882,2485,2182,1970,1979,1605,1539,1776,1946,2559,2453,1961,2118,2823,2394,2021,2117,2104,1969,2473,3350,3595,3234,3185,3107,2989,2625,2131,1847,2234,2462,2746,2730,2526,2640,2740,3529,3604,3682,3655,3439,3560,3064,2152,1519,1104,920,906,1904,2680,1282,641,600,661,643,1010,2880,3992,3970,3952,3933,3964,4039,3875,3133,1296,1011,2956,3806,3463,3151,3198,2901,2635,2740,2454,2845,3250,3234,3174,3616,3848,3882,3773,3566,2491,2457,3167,2717,3091,3855,4329,4546,4166,4177,4184,3673,3685,3994,4312,4609,4417,3768,3421,3666,4064,4004,4039,4334,4103,4287,4317,3947,3604,3393,3261,3539,3834,3459,3552,3563,3015,3143,3075,2965,2862,3105,3778,4005,4111,4039,3750,3851,3737,3534,3615,3663,3253,2893,3444,3516,3451,3867,3702,2387,1422,1624,2403,2322,2643,3110,3373,3873,4328,4501,4412,4072,3897,3664,3450,3607,3589,3276,2978,2330,2132,2203,1816,1642,1758,2007,2207,1955,1548,1658,1777,1560,1455,1416,1225,1129,1139,1194,1495,1763,1648,1713,2218,2404,2060,2137,2013,2149,2469,2952,2561,2158,2113,2242,2113,1698,1614,2089,2510,2927,3449,3530,4420,4641,4596,4472,4300,3824,3710,4229,4201,4008,3751,3099,3083,2877,2932,3067,3016,2661,2426,2201,1794,1670,2093,2534,2784,2433,2005,1972,2014,1970,1825,1732,1723,1695,1651,1434,1212,1115,1042,1048,1239,1235,1370,1475,1285,970,992,1010,995,980,974,1020,960,930,880,842,860,812,787,819,801,745,723,728,708,713,857,1218,1234,1009,1009,1277,1477,1610,2115,2480,2414,2544,2555,2244,2429,2753,2396,2323,2585,2462,2285,2231,2064,1697,1341,1113,1053,949,929,984,1079,1226,1068,962,1013,1245,1646,1752,1477,1241,1147,1052,945,1020,986,939,923,1041,1221,1124,855,677,667,688,747,612,550,454,407,381,355,344,353,374,401,416,449,543,579,559,507,438,381,361,363,353,329,324,339,339,322,323,346,316,323,319,318,315,305,304,304,302,299,304,316,345,362,361,353,352,368,382,381,357,338,325,310,304,325,354,403,560,605,565,451,386,359,341,331,327,327,350,373,364,420,409,396,343,349,345,331,326,321,307,294,281,269,263,270,284,299,315,324,319,317,316,322,326,332,346,354,368,372,370,381,396,441,499,513,506,474,466,505,530,522,509,484,453,456,455,514,546,526,550,605,771,1118,1171,788,720,702,632,566,552,536,506,471,441,416,393,374,356,354,319,323,324,331,353,379,423,408,390,406,419,434,424,413,403,396,399,395,385,358,344,348,343,335,336,349,370,391,431,487,552,684,705,716,771,700,586,604,631,642,570,495,486,477,457,432,407,383,366,358,357,363,367,358,368,449,529,590,604,584,568,515,535,604,639,617,562,552,544,556,646,686,701,806,749,592],[2912,2829,3174,2966,2347,2288,1950,1334,1275,1906,2906,2974,2884,2906,2571,2772,3218,2995,2789,2979,3142,3043,2801,2840,3352,3515,3359,3474,3373,3364,3242,3494,3706,3937,3870,3748,3738,3664,3654,3525,3343,3685,3366,3293,3204,3139,3372,3399,2621,2438,2501,2471,2361,2575,3010,3188,3480,3547,3333,2148,1510,1396,1324,1848,1968,1976,2139,1921,2050,2316,1886,1771,2088,1663,1832,2155,2005,2172,2129,2322,2640,2889,2458,1928,2041,2311,2706,2551,2451,2366,2566,2323,1977,1845,1748,2333,2578,2185,2014,2095,2139,1637,1560,1729,1982,2598,2429,2041,2151,2068,2426,2922,2980,2404,2350,2404,2908,3505,3342,2890,2253,2060,2122,2264,2272,2215,2214,2529,2845,2724,2352,2383,2598,3183,3462,3385,3394,2963,2756,2813,2670,2557,2520,2389,2100,1890,1900,2220,2609,2942,2975,2928,2851,2885,3062,3581,3870,3814,3269,3089,2908,3093,3564,3295,3167,3043,2492,2436,2725,2845,2995,3285,3780,3626,3313,3248,2989,2599,2545,2518,2439,2824,2996,3053,3357,3178,3240,2906,2354,2062,1853,2392,2532,2409,2084,1910,1701,1835,2332,1877,1945,2320,2160,1871,1901,2014,1566,1795,2529,2809,3039,3142,2964,2917,3116,2609,2699,2812,2362,1963,1853,1759,1767,1691,2240,2519,2309,2458,2500,2556,2608,2414,2242,2867,3143,3109,2943,2019,2482,1944,1809,1740,1657,1686,1748,1838,1673,1527,1891,2141,1888,1878,1999,2277,2634,1969,1612,1575,1593,1421,1452,1489,1594,1695,1576,1633,2124,1639,1905,1955,1843,2076,1688,1623,1820,1918,1931,2104,2062,1987,1692,1409,1413,1822,1684,1734,1887,1648,1395,1425,1500,1687,1513,1583,1810,1864,1974,1847,1903,1947,1913,1672,1491,1416,1407,1479,2475,2886,1705,1459,1947,2541,2944,2706,2163,2472,2452,2436,2428,2141,1946,2060,2394,2290,2177,1803,1877,1898,1889,1740,1767,1958,1771,1729,1958,1887,2117,2377,1904,2024,2018,1866,1672,1641,1571,1630,1860,2313,2920,2779,2497,2498,2458,2909,2379,2184,2151,2545,2504,2061,1876,1662,1775,2089,2097,2450,3002,2489,2494,2302,1757,1915,1998,2374,2644,2756,2902,3055,3095,2661,2568,2654,2542,3545,4155,3196,2025,2326,2714,2284,1851,2130,2455,2176,1650,1376,1513,1676,1970,1760,2262,2896,2678,2713,3652,3103,2230,2281,1676,1681,1710,2041,1929,2185,2410,2244,2100,2058,2563,3485,4045,3641,3382,3278,3082,1709,1022,1564,2596,2946,3078,2647,2399,2611,2874,3540,3498,3378,3076,3200,3285,3333,3172,2286,1743,1891,2074,2984,3914,3370,2482,2923,2348,2368,2221,1958,1919,1699,1810,2106,1900,1748,1954,1968,2198,2475,2689,2447,2175,1852,1792,1839,1794,1729,1942,2038,2024,2619,2632,2569,2005,2015,2003,2182,2028,1808,1848,1770,1695,1477,1422,1477,1667,1781,1915,2467,2688,2280,2127,2001,2208,2778,2258,1891,1651,1749,2464,2436,2120,2048,2174,2125,2504,2434,2344,2087,1819,1729,2100,2316,2012,2229,2843,2833,2774,2521,2224,2501,3209,3333,2802,2426,1897,1720,2364,2489,2003,1626,1526,2196,2271,2153,2046,1586,1497,1863,2110,1829,1619,1558,1625,1778,2142,2131,2010,2142,2322,2417,2142,2022,2016,1711,1637,1424,1317,1294,1659,1928,1763,2070,2093,1728,1982,2091,2626,3245,3422,3185,2909,1967,1591,1723,1667,1807,2032,2240,2214,2040,2426,2533,1818,1672,1882,1733,2480,2998,2532,2122,1854,1888,1487,1376,2017,2141,2822,3228,2216,1669,1836,1882,2315,2485,2076,2041,1901,1775,1676,1886,1577,1627,1750,1753,1449,1490,1583,1582,1544,1527,1712,1729,1881,2209,2307,1842,1528,1833,1783,1969,1968,1974,1818,1493,1550,1826,2010,1937,1990,1950,1898,1662,1576,1465,1438,1598,1593,1477,1372,1288,1340,1464,1598,1714,1782,1423,1411,1406,2054,2320,1720,1631,2101,1995,1094,1010,1095,1528,1666,1723,1676,1556,1876,2213,2083,2397,2763,2304,2160,1636,1488,1548,1748,2068,2940,2148,1548,1880,1764,1703,1754,1614,1566,1889,1653,1556,1520,1465,1874,1892,1790,2064,2126,1584,1376,1368,1458,1565,1440,1532,1551,1373,1407,1440,1318,2032,2353,1750,1479,1367,1692,1685,1636,1802,1802,1587,1563,1599,1792,1920,1744,1524,1474,1550,1758,1864,1772,1504,1630,1497,1676,1884,1985,1924,1917,2013,1692,2134,3108,2314,1714,1593,1943,2433,2047,1785,2111,2504,2790,2360,2242,2580,2625,2790,3117,3284,2544,2102,1944,2069,1817,1901,2154,2192,2558,2198,2256,2380,2095,1837,1736,1865,1956,1707,1356,1380,1561,1579,1468,1468,1420,1422,1356,1860,1622,1638,1647,1632,1628,1542,1799,2442,3094,2942,1980,1433,1282,1383,1781,1871,1677,1886,1847,1759,2094,1794,1450,1934,2320,2213,1628,1407,1315,1262,1410,1500,1471,1509,1677,2222,2458,1783,1363,1277,1351,1331,1367,1463,1360,1459,1511,1636,1693,1725,2264,2304,1983,1629,1635,1547,1374,1409,1409,1709,1953,1656,1480,1485,1337,1345,1346,1420,1516,1468,1371,1277,1302,1572,1563,1336,1366,1442,1412,1471,1466,1448,1416,1558,1489,1580,1896,2239,2374,2125,2061,2035,1922,1923,1848,2055,2368,2375,2055,1901,1783,1786,1807,1903,2046,1967,1706,1541,1645,1606,1506,1622,1821,1931,1798,2065,2361,2403,2153,2202,2462,1992,2210,2126,2342,2208,2354,1854,1550,1621,1660,1565,1610,1696,2159,2203,2130,1639,1397,1438,1598,2025,2097,1631,1777,2079,1792,1645,1678,1762,1605,2015,3066,3045,2292,1615,1656,1551,1406,1628,1936,1991,1951,1837,1664,1708,1549,1616,1756,1904,1706,1559,1694,1761,1852,2210,2183,1707,1656,1581,1602,1548,1453,1407,1481,1678,1798,1788,1680,2170,2656,2752,2078,2094,1922,1878,2165,1691,1788,2248,2078,1671,1486,1577,2104,2270,2250,2625,2539,2250,1644,1765,2252,2698,2741,2426,2508,2471,2777,2200,2320,2461,1834,1954,2514,2479,2351,2018,1965,2183,1992,1951,1609,1398,1926,1786,1681,1977,2155,2007,1935,2003,2194,2205,2020,2002,2198,2586,2586,2610,2496,2151,2036,2195,2234,2394,3018,2916,2196,1851,2337,2383,1543,1897,2204,2569,2526,2236,2504,2755,2482,2039,1820,1888,2214,2688,2404,2644,2578,2844,2544,2186,1404,1024,1614,2361,2226,2042,1876,1957,2158,1725,1812,1819,1767,1731,1765,2690,2809,2343,2810,2706,2987,3039,2831,2820,2700,2424,2266,2178,2242,2110,1852,1807,1908,1789,1556,1289,1390,2333,2443,2578,2284,2192,2448,2334,1844,1746,2073,2087,2292,2974,3662,3328,2216,2085,1818,2172,2768,2592,2386,2371,2386,2262,2061,1906,1689,1462,1348,1345,1393,1422,1376,1459,1745,1813,1527,1720,1750,1763,2314,3715,2278,1376,1320,1458,1616,1767,1873,1912,2004,2066,1668,1814,2007,2178,2501,2346,1918,2271,2974,2701,1996,1778,1840,2025,2247,2654,3260,3403,3454,3443,3341,2865,2410,2336,2287,1915,2222,2653,2368,2098,2562,3511,3430,3426,3338,3239,3504,2753,1479,999,789,711,738,1626,2770,1558,687,575,608,639,998,2394,3559,3772,3789,3795,3834,3833,3713,3085,1840,1662,2889,3823,3834,3488,2893,2154,2240,2715,2688,2877,3948,4128,3608,3653,3374,3332,3924,4060,3453,3461,3099,2707,3175,3596,4188,4257,3924,4281,4448,3904,3940,4260,4247,4528,4556,4416,4124,3906,4029,3981,3742,4105,4180,4194,4085,3769,3476,3008,2802,3519,3492,3038,3222,3448,3518,3352,3122,3240,3356,3725,4215,3929,3729,3683,3542,3684,3872,4050,4119,4049,3792,3749,3874,3738,3787,3964,2963,1629,1199,1786,2393,2114,2315,2717,2988,3481,4046,4377,4285,3926,3775,3541,3351,3353,3460,3133,2754,2097,1662,1591,1522,1493,1689,1870,1960,1801,1554,1500,1714,1716,1470,1470,1374,1230,1171,1140,1466,1826,1770,1641,2033,2454,2154,2280,1990,1885,2128,2663,2770,2334,2086,2337,2195,1753,1520,2188,3292,3128,3308,3548,3989,4348,4763,4899,4544,4001,3716,4244,4485,4185,4009,3364,3054,2953,3120,3177,2971,2716,2479,2404,2224,1849,1909,2153,2420,2274,1954,1817,1821,1855,1802,1685,1592,1596,1666,1462,1244,1129,1072,1134,1422,1397,1569,2213,2127,1323,1093,1133,1126,1036,989,953,923,885,874,810,808,813,765,778,784,721,688,700,706,706,811,1049,1107,1015,955,1174,1444,1434,1698,2346,2466,2489,2562,2459,2438,2709,2482,2462,2669,2532,2300,2124,2021,1672,1361,1177,1088,974,899,902,987,1125,1080,994,967,1078,1395,1632,1626,1359,1198,1106,997,1067,1064,1001,956,1005,1205,1307,967,684,623,628,718,731,642,502,419,382,359,347,355,369,393,402,433,549,582,564,504,455,398,356,357,349,336,331,336,334,334,330,337,332,324,319,316,310,306,302,296,299,300,305,321,346,361,350,337,351,393,409,380,350,334,319,317,332,333,356,384,555,588,540,454,386,361,341,331,324,315,340,378,374,420,416,385,360,347,329,324,320,317,309,297,284,272,266,268,288,299,316,319,317,317,316,313,319,333,343,355,364,370,379,397,391,413,460,473,489,475,473,507,536,541,528,497,477,463,455,492,501,517,566,589,829,1188,1214,926,824,759,674,609,552,500,465,452,445,423,389,371,349,370,331,319,321,329,344,370,406,423,416,417,434,438,434,428,423,408,402,397,383,365,364,370,363,361,369,370,380,398,430,502,564,689,739,670,683,709,600,589,611,637,572,521,491,472,452,430,408,389,371,359,354,366,379,360,350,428,533,554,570,565,541,531,545,569,611,658,567,559,530,535,622,689,687,733,766,653],[2353,1966,2753,2691,2175,1992,1593,1313,1317,1946,2916,2508,2272,2565,2473,2819,3078,3110,3137,3220,2873,2169,1854,2263,3105,3460,3370,3260,3142,3177,3264,3741,3875,3972,3948,3664,3528,3614,3519,3536,3404,3484,3190,3364,3564,3411,3326,3020,2768,2956,3000,2807,2779,2503,3125,3513,3769,3753,3453,2512,1864,1391,1385,1647,1775,1903,1745,1832,2280,3296,3363,2250,1800,1646,1812,1882,1898,2163,1969,1886,2101,2250,1725,1599,1682,1937,2687,2591,2316,2122,2172,2196,1875,1787,2404,2612,2574,2231,2126,2176,2347,1837,1536,1591,1689,1898,2001,2099,2355,2071,2303,2313,2360,2245,2286,2305,2535,3278,3178,2395,1973,1792,2011,2249,2264,1838,1960,2263,2768,2714,2544,3009,3117,3376,3593,3343,3393,3094,2923,2740,2476,2462,2370,2302,2242,1970,1956,2203,2558,2791,2975,2980,2950,2762,3225,3803,4085,3992,3383,3055,2763,2822,3483,3521,3227,2779,2381,2303,2630,2763,2679,2849,3500,3544,3488,3333,2573,2385,2714,2683,2561,2526,2534,3110,3050,2840,2806,1865,1925,2575,2564,2391,2633,2469,1780,1712,2162,1981,2309,2099,2480,2334,2026,1901,2262,2693,2000,1619,2136,2252,2694,2869,2780,3052,2855,2667,3168,3438,3142,2586,2244,1892,1744,1753,2461,2925,2254,2509,2776,2322,2151,1947,2003,2557,3072,3021,2398,1694,2009,1873,1853,1735,1672,1780,1829,1824,1789,1717,1649,1747,2055,2492,2128,2588,2939,2376,1829,1839,1828,1642,1660,1708,1879,1889,1898,2077,2073,1789,2267,2054,1631,1574,1451,1263,1659,2005,2277,2684,2582,2145,1787,1999,1887,2233,2361,1982,2016,1839,1723,1750,1503,1444,1444,1491,1519,1664,1975,1909,1804,1946,1974,1755,1543,1443,1490,1447,1406,1371,1415,1479,1589,1887,1790,2176,2562,2572,2512,2277,1936,2158,2002,1933,2792,2558,2723,2264,2025,1788,1613,1653,1927,2161,1911,1869,2157,2359,2201,2250,2329,2650,2475,1873,1373,1445,1711,1716,1979,2766,2941,2629,2610,2917,2752,2714,1956,1469,1739,2264,2221,2073,1837,1410,1685,2150,1942,1947,2127,2084,2339,2121,1895,1668,1945,2751,2908,2813,2841,3068,2910,2441,2186,2048,2174,2918,3514,2887,2348,2586,2584,2275,2251,2587,2595,2233,1779,1822,1896,2283,2056,1869,2145,2263,2587,2798,3296,3156,3035,2932,2060,1926,2037,2087,1994,2039,2232,2118,2015,2171,2670,3434,3985,3608,3121,3166,2898,1895,1365,2024,2923,3177,3284,2786,2325,2362,3075,3585,3662,3519,3438,3531,3495,3294,2945,2373,1941,2424,2769,3173,3574,3039,2383,2808,2542,2546,2227,2177,2285,1897,2237,2316,2095,1969,1817,1892,1873,2051,2370,2828,2958,2779,2619,2535,2161,1735,1863,1814,1790,2255,2422,3009,2646,2238,2525,2642,2238,2027,1807,1470,1854,2084,1573,1686,1743,1770,2062,2518,2568,2266,2049,2049,2940,3540,2652,2154,1953,1960,2126,2151,2207,2408,2463,2463,2341,2121,2261,2175,2097,1791,1857,2381,2364,2335,2468,2483,2504,2501,2503,2459,2867,2938,2715,2349,2076,2022,2223,2101,1997,1763,1756,2199,1911,1675,1700,1846,2142,2090,2116,1902,1592,1648,1883,2028,1879,1808,1892,1620,1629,1591,1763,1811,1533,1440,1503,1497,1412,1355,1636,1676,1813,2406,2092,1600,1676,2035,2091,2269,2546,2780,2398,1695,1623,1729,1897,1958,1766,1918,1886,1995,2345,2178,1986,1909,1724,1829,2823,3229,2681,2355,2194,2110,1756,1490,1949,2457,3205,3440,2358,1685,1724,1724,2119,2085,1787,1847,2034,1954,1950,2081,1657,1597,1549,1516,1599,1733,1840,1805,1610,1532,1542,1368,1595,2535,3139,2810,2059,2275,2302,1605,1616,1969,1864,1547,1405,1558,1697,1937,1829,1850,1949,1773,1700,1583,1460,1467,1499,1424,1326,1309,1371,1561,1381,1611,1583,1547,1562,1488,2252,2458,1670,2246,3174,2454,1161,1027,1178,1559,1777,1792,1691,1549,1720,2109,2127,1779,2059,2195,1906,1574,1441,1445,1655,1749,2149,1968,1807,1629,1484,1378,1406,1559,1948,1880,1442,1514,1485,1733,2470,2675,2167,2043,1942,1541,1416,1445,1453,1399,1249,1245,1377,1334,1391,1440,1450,1771,1999,2138,1686,1518,1585,1562,1527,1439,1577,1613,1415,1533,1770,1846,1655,1753,1593,1618,2014,2110,1789,1768,2339,2179,2028,2228,1800,1867,2237,1947,1723,1785,2620,2106,1880,1915,1910,1687,1522,1770,1785,1844,2378,2573,2536,2756,2557,2109,2698,2844,2497,2293,1901,2099,2249,2051,1668,1800,1973,1929,2338,1994,1621,1983,1956,1554,1389,1295,1609,1853,1794,1614,1703,1713,1642,1498,1451,1470,1788,1948,1787,1575,1662,1560,1780,2128,2470,2420,1638,1338,1258,1416,1597,1489,1381,1862,2265,1802,2061,2048,1222,1351,1742,1817,1486,1231,1457,1435,1361,1594,1923,1872,1729,1975,2188,1684,1459,1427,1478,1384,1471,1376,1295,1359,1304,1571,1679,2003,4248,3650,2119,1681,1974,1874,1503,1456,1525,1633,1604,1459,1460,1381,1312,1270,1258,1354,1442,1449,1423,1417,1504,1560,1414,1381,1309,1526,1536,1448,1378,1409,1499,1593,1594,1700,1946,2196,2012,1864,2131,2278,2253,2246,2021,2253,2424,2573,2355,2065,2270,2058,1631,1675,1769,1749,1705,1801,2028,1961,1819,2315,2496,2165,2081,2207,2309,2452,2194,2222,1890,1792,2063,2209,2155,2631,2820,2045,1619,1594,1588,1588,1537,1659,2105,2077,2004,1688,1532,1398,1641,2020,1803,1524,1663,1920,1608,1432,1811,1862,1576,1660,2563,3022,2271,1718,1648,1458,1437,1759,1932,1975,1779,1393,1455,1629,1697,1685,1838,2236,2032,1645,1776,1722,2041,2066,2128,1953,1850,1593,1506,1461,1433,1530,1715,1532,1425,1614,1932,2068,2428,2820,2728,2261,1882,1962,2207,2007,2196,2753,2251,1809,1636,1808,2699,2695,2376,2214,2277,2196,1766,1947,2566,2867,2722,2611,2769,2366,2270,2010,2342,2380,1872,1729,2189,2670,2602,1914,2259,2338,1982,2061,1951,1681,1768,1712,1802,2148,2229,2243,2438,2256,2041,2122,1767,1682,1866,2014,2256,2417,2210,1924,2126,2230,1967,2146,1918,1994,1786,1733,2286,2309,1783,1875,1894,2213,2435,2046,2033,2269,2301,2227,2207,2351,2564,3288,3378,2885,2545,2479,2668,2525,1600,1794,2086,2417,2488,2318,2087,1958,1947,1856,1958,2203,2126,2047,2448,2725,2330,2070,2649,2888,2895,2409,2755,3053,2325,1756,1664,1554,1638,1887,2093,2138,2090,1814,1650,1356,1437,2189,2257,2219,2082,2250,2633,2236,1532,1394,1879,2448,2127,2281,2287,2196,2026,1816,1650,1823,2031,1908,1839,1768,1992,1984,2179,1693,1421,1494,1413,1397,1561,1449,1366,1747,1878,1588,1542,2145,1888,1856,1985,1973,1406,1057,1071,1534,1760,1739,1902,2236,2302,2446,2296,2460,2646,2830,2747,2365,2147,2305,2951,2811,1946,1839,1872,2037,1891,1818,2178,2562,3264,3835,3805,3520,2923,2471,2612,2011,1843,2065,1804,1668,2151,2589,2871,3184,3217,3230,3384,2623,1460,906,985,890,946,1494,2049,1473,1198,1461,1891,1949,1958,2853,3785,3907,3630,3751,3952,3685,3760,3796,3518,3505,3674,3824,3899,3441,2496,1804,1906,2369,2674,3163,3965,3798,3487,3531,3129,2741,3475,4225,4360,4329,3922,3524,3707,3759,4005,3967,4217,4484,4516,4500,4413,4038,3819,4192,4319,4252,4032,3528,3563,3431,3430,3764,4090,4040,3672,3305,3502,3320,2901,3628,3075,3026,3598,4153,4268,3961,3708,3768,3796,4099,4588,4673,4085,3670,3496,3861,4444,4356,4019,4050,3935,3535,3675,3945,4038,3669,2243,1356,1112,1986,2282,1955,2142,2542,2731,3088,3741,4285,4149,3837,3632,3437,3357,3208,3360,3166,2683,2064,1561,1484,1495,1429,1604,1796,1903,1781,1544,1407,1588,1777,1550,1466,1473,1299,1243,1135,1371,1714,1792,1670,2008,2608,2260,2218,2251,1981,1941,2382,2708,2416,2106,2412,2275,1781,1508,1875,3252,3284,3219,3473,3859,4417,4671,5020,4844,4086,3454,3853,4342,4204,4020,3560,3125,2810,2893,3055,2927,2763,2544,2255,2206,2131,1917,1946,2030,1976,1886,1773,1729,1763,1679,1536,1527,1484,1593,1425,1274,1153,1107,1178,1549,1675,1725,2625,3225,2280,1532,1321,1131,998,985,934,908,872,869,799,753,790,744,723,727,704,681,666,705,715,808,958,1004,968,963,1104,1420,1550,1551,1989,2408,2579,2667,2678,2573,2686,2565,2547,2747,2563,2293,2069,1969,1628,1368,1253,1122,997,948,934,951,1027,1073,1047,921,991,1268,1550,1803,1453,1190,1154,1042,1064,1135,1112,1073,941,1112,1403,1170,818,668,653,667,742,699,535,412,383,366,356,356,371,389,398,443,563,599,577,498,455,423,359,366,357,341,335,331,331,335,338,334,326,323,323,316,310,303,297,300,295,295,311,330,349,358,352,326,339,388,402,370,343,321,311,317,354,349,367,400,520,577,523,435,402,365,343,333,322,319,334,354,378,413,416,386,357,348,333,323,315,311,315,299,288,275,265,272,286,296,306,314,313,310,307,304,318,329,341,358,364,368,372,387,387,395,431,438,450,460,483,514,546,555,528,507,488,441,440,493,476,501,607,618,814,1028,1063,1048,985,830,723,624,533,496,475,469,460,427,390,374,344,355,343,326,324,331,342,361,392,423,438,444,443,426,426,433,430,417,404,396,397,404,414,405,388,376,375,374,379,397,433,501,572,661,707,631,615,677,604,562,615,628,558,528,510,475,443,426,408,392,375,362,353,369,384,368,351,415,522,550,536,551,527,518,534,539,598,648,578,567,516,510,594,675,676,681,743,705],[1810,2269,2930,3348,2811,2061,1788,1563,1571,2502,2964,2569,1894,2171,2588,3042,3153,3319,3458,3194,2591,1990,1863,1970,2535,3077,3186,3211,3182,3299,3661,3851,3942,4031,4034,3717,3445,3409,3316,3436,3297,3351,3338,3347,3349,3081,2888,2986,2978,2964,2962,2845,3125,3231,3219,3224,3662,3632,3352,3366,2879,2087,1923,2034,2134,1967,1829,1764,2188,3384,3259,2401,2462,2437,2429,2181,2253,2862,2581,2316,1958,1735,2039,1999,1705,1832,2171,2145,2165,2245,2245,2255,2032,1877,2660,2500,2657,2734,2932,2807,2618,2291,2016,1918,2128,2440,2299,1979,2047,2093,2262,2261,2598,2469,2278,2147,2204,2886,3442,3086,2455,2479,2701,2541,2565,2508,2495,2491,2501,2439,2735,2744,2647,3054,3240,3181,3353,3217,2924,2739,2712,2685,2375,2225,2116,1997,2003,2243,2244,2419,2759,3045,3142,2848,3476,4001,4153,4100,3526,3006,2819,2667,2980,3156,2723,2564,2751,2887,2874,2814,2674,2871,3421,3422,3297,2944,2529,3275,3394,2915,2835,2886,2664,2400,2271,2365,2103,1641,1626,1823,2547,2680,2702,2534,1848,1838,1881,1822,1861,2003,2302,2267,1790,1548,1730,2159,2104,2234,2451,1741,1538,2220,2491,2641,2666,2684,2567,2739,3164,3094,2513,1982,2042,2236,2460,2551,2240,2522,2187,2030,2179,1755,1729,1968,2488,2899,2437,1773,2217,2275,1998,1939,1766,1715,2106,2170,1824,1863,2172,2670,2990,2845,2401,2546,2668,2397,1967,1785,1787,1919,1896,2122,2163,1974,1672,1634,1427,1973,2131,2054,1853,1487,1395,1393,2097,2208,2472,2467,2752,2322,2099,2189,2008,2319,2335,1873,1598,1803,1926,1772,1530,1445,1524,1430,1546,1921,1970,1773,1866,2078,2194,2009,2006,1791,1601,1411,1299,1365,1345,1386,1882,1930,1787,2199,2284,2267,2441,2392,2018,1860,1917,2074,2468,2620,2643,2379,2036,1859,1874,1627,1824,2128,1880,1841,1958,2117,2191,2178,1960,2313,2286,1929,1617,1561,1747,2075,2214,2894,2780,2844,2696,2583,2553,2689,2216,1249,1207,1726,1936,1970,2042,1941,2302,2085,1857,1690,1826,2214,2368,2555,2543,2232,2261,2829,2980,2899,3005,3409,2652,2467,2331,2015,2127,2834,3088,2769,2974,2814,2602,2084,2493,2403,1920,1646,1841,1852,2051,2423,1904,1531,1637,1828,2104,2279,2583,3049,2664,1903,1782,2178,2371,2457,2127,2080,2171,2048,1783,2023,2494,3553,3861,3618,3286,3392,2918,2141,2363,2747,3085,3043,3342,2906,2700,2785,3152,3077,3261,3529,3618,3558,3506,3151,2531,2757,2326,2464,2792,2453,3098,2745,2518,2447,1938,2264,2395,2346,2258,1916,2263,2219,1906,2010,2332,2041,1749,1834,2020,2259,2610,2940,3030,3068,2302,1940,1834,1961,1952,1905,2096,2783,2730,2313,2823,2950,2100,1688,1457,1522,1806,1740,1519,1791,2054,2126,2420,2369,1905,1842,1753,1984,2620,2675,2406,1959,2230,2170,1732,2050,2342,2344,2386,2326,2236,2409,2140,2365,2486,2289,2082,2513,2378,2060,2179,2259,2366,2233,2132,2230,2532,2822,2599,2151,1836,2284,2390,2007,2029,1819,2076,2469,1670,1568,1509,1601,1555,1849,1848,1753,1585,1624,2070,2151,1908,1793,1732,1511,1486,1594,2161,2027,1572,1563,1585,1554,1341,1365,1519,1307,1523,1844,1676,1558,1625,1877,2012,2094,2322,2335,1911,1747,1824,1690,2047,1896,1526,1886,2274,2207,2544,2392,2231,2046,1542,1549,2039,2692,2143,2091,2301,2561,2136,1561,1733,2369,2886,2843,2105,1708,1735,1824,2120,2045,2201,2262,2067,1764,2086,1983,1597,1554,1618,1625,1664,2004,2137,1708,1674,1381,1289,1314,1570,2396,3199,3016,2004,1945,2136,1853,2082,2225,2184,1793,1540,1693,1560,1692,1590,1662,1817,1817,1841,1802,1720,1711,1510,1421,1319,1353,1433,1559,1427,1367,1588,2032,2002,1769,1948,1725,1817,2552,3566,3042,1882,1623,1703,1786,1807,1770,1744,1823,1872,2151,2222,2062,1726,1798,1597,1430,1431,1388,1742,1918,1701,1814,1604,1412,1312,1429,1408,1620,1857,1578,1412,1456,1318,1618,2458,2596,2055,2108,2110,1825,1600,1562,1466,1389,1330,1321,1372,1414,1519,1474,1629,1571,1692,2112,1562,1870,1710,1460,1424,1444,1822,1838,1608,1489,1591,1736,1582,1897,1609,1501,1654,1441,1715,2199,2468,2300,2246,2187,1687,1721,1957,2250,2090,1935,2155,1867,1725,1870,1731,1594,1787,2061,1681,1932,1931,2119,2406,2587,2410,2047,2413,2407,2126,1903,1590,2016,2447,1943,1502,1991,2197,2386,2127,1536,1476,1737,1729,1535,1566,1632,2210,2588,1948,1607,1945,2213,1874,1832,1685,1646,1875,1759,1620,1388,1731,1557,1849,1876,1560,2076,1812,1388,1443,1622,1649,1470,1459,1901,2518,1711,1394,1599,1326,1142,1231,1496,1496,1496,1565,1362,1323,1486,1997,1938,1879,1843,1700,1500,1532,1855,2009,1572,1468,1310,1366,1336,1237,1332,1385,1710,2379,1956,1670,1680,2010,1941,1603,1634,1576,1427,1293,1467,1583,1537,1508,1404,1292,1293,1365,1341,1376,1615,1668,1511,1371,1425,1386,1455,1315,1184,1461,1588,1472,1424,1477,1661,1769,1799,1891,2352,2340,2221,2587,2558,2430,2316,2294,2713,2526,2086,2169,1895,1776,1616,1656,1655,1689,1857,2317,2692,2734,3116,2962,2168,1928,2265,2121,2210,2142,1827,1704,1725,1853,1963,1729,1792,1794,1709,1718,1498,1412,1544,1459,1490,1581,1723,1656,1519,1689,1741,1776,1810,1674,1649,1906,1898,1624,1471,1651,1680,1592,1521,1858,2293,1882,1781,1770,1723,1534,1669,1861,1956,1591,1475,1646,1772,1814,1669,1780,2027,1813,1770,1924,1808,2702,2503,2380,2407,1956,1455,1571,1914,1903,1897,1534,1250,1111,1613,2048,1985,2042,2173,2237,1938,1976,1986,2078,1979,2001,2014,1676,1787,1759,1847,2636,3100,2769,2246,2078,2115,1949,1874,2282,2526,2764,2715,2706,2554,2157,1881,1985,2311,2036,1814,1897,2198,2207,2206,2530,2474,2496,2910,2282,1953,1755,1465,1652,1909,2293,2460,2459,2322,1965,2014,2392,2124,2036,2062,1964,1786,1932,2208,2480,2376,1811,2624,2519,2188,2094,2462,2537,2314,2009,2002,1770,1975,2253,1774,2445,3210,3462,3275,2800,2281,2603,3270,3189,2639,2798,2885,2443,2622,1736,1954,2298,2248,2380,2292,2176,2060,2144,1911,1890,2211,1984,1678,2107,2015,1771,1592,2016,2613,2820,2565,2806,2753,1937,1394,1408,1386,1460,1565,1694,1813,2056,1936,1670,1557,2114,2734,2359,1730,1773,1972,1989,1943,1324,1382,2158,2358,2008,1932,1852,2137,2050,1816,1624,1460,1620,1976,1816,1667,1649,2201,2423,1769,1528,1570,1394,1345,1539,1431,1394,1610,1470,1189,1312,1590,1980,1940,1668,1439,1165,933,1015,1308,1364,1396,1814,1904,1842,1978,1940,2161,2152,2352,2410,1990,2280,2156,2884,2837,1900,1677,1656,1735,1862,1903,2012,1950,2460,3384,3497,3033,3144,3377,3022,2382,2322,2855,2676,2336,2110,2144,2708,3274,3398,3282,3164,2358,2347,2396,2427,2228,2341,2542,2575,2846,3083,3064,3357,3378,3101,3334,3642,3593,3494,3716,3812,3490,3263,3183,3522,3658,3444,3354,3326,3123,3095,2731,2423,2718,2410,2414,2756,3160,3250,3073,2684,2208,2770,3742,4239,4252,4047,3847,4024,4070,4024,4155,4355,4291,4427,4484,4419,4202,4042,4261,4180,3700,3421,3299,3333,3447,3583,3741,4112,3930,3792,3137,3150,3698,3670,3776,3364,3515,4136,4296,4207,4006,3725,3653,3620,3804,4435,4516,4272,3928,3476,3714,4121,3971,3868,4046,3948,3594,3749,4106,4320,3509,1907,1127,1266,2070,2182,1855,2055,2524,2607,2756,3444,4237,4093,3757,3564,3348,3367,3249,3222,3195,2732,2119,1601,1456,1447,1417,1560,1824,1925,1798,1593,1400,1475,1743,1638,1459,1512,1338,1279,1173,1291,1693,1902,1978,1968,2408,2397,2336,2570,2264,1992,2046,2532,2423,2133,2345,2315,1858,1550,1577,2567,3211,3077,2999,3443,4319,4704,4759,5027,4496,3474,3432,3997,4204,4080,3714,3299,2824,2713,2818,2802,2675,2615,2254,2050,2035,2013,2029,1911,1716,1786,1782,1691,1658,1666,1479,1437,1490,1601,1440,1274,1156,1106,1102,1450,2170,2457,2539,3364,3264,2490,1728,1227,1009,945,926,880,863,846,803,746,750,717,686,684,687,688,676,717,764,833,928,943,901,972,1073,1381,1732,1472,1667,2155,2618,2819,2821,2729,2706,2733,2733,2683,2541,2324,1998,1885,1614,1342,1269,1170,1005,966,944,942,962,1046,1097,972,952,1138,1426,1798,1562,1261,1246,1067,969,1109,1233,1141,942,969,1344,1429,995,699,641,629,699,750,605,422,401,371,361,363,367,392,381,454,602,636,562,522,499,490,373,372,359,349,336,327,323,325,330,328,322,314,314,317,313,304,297,295,294,291,303,327,345,353,350,337,340,366,378,362,345,322,304,325,360,369,389,432,512,543,519,429,404,372,349,339,333,332,342,346,371,410,429,396,355,343,330,326,315,311,308,295,289,278,270,275,282,290,293,307,302,302,300,298,311,320,335,345,345,346,347,360,369,386,394,413,432,448,465,506,556,570,540,503,469,449,440,475,479,499,647,729,784,953,990,956,946,854,763,623,519,484,469,459,453,427,396,378,350,339,334,334,327,331,337,348,385,420,448,468,458,429,416,417,406,412,412,398,387,403,422,406,379,369,363,364,369,389,431,496,577,646,676,657,606,631,601,551,589,604,545,508,521,501,441,424,404,387,374,364,355,364,378,371,354,396,497,541,502,521,531,503,506,519,558,617,585,550,522,503,551,647,662,625,695,721],[2255,2789,3458,3780,3064,2611,2152,2186,2522,2800,2675,2713,2293,2513,2864,3023,3267,3399,3263,2853,2187,1548,1993,2349,2777,3252,3245,2964,2899,3355,3812,3763,3605,3779,3991,3632,3240,3419,3632,3373,3296,3251,3239,3230,3094,2962,2780,2842,2657,2568,2708,3155,3248,2822,2680,2806,3163,3109,2927,3276,3117,2237,2025,2036,2175,1914,2011,1868,2296,2933,2729,2597,2430,2431,2412,2372,2683,2866,2770,2437,1860,1959,2691,2620,2280,2244,2034,1787,1725,1760,1653,1973,2128,2490,2110,1853,2136,2395,3079,3560,3146,2465,2045,2012,2064,2351,2221,2287,2357,2184,2094,2050,2510,2858,2849,2412,2003,2745,3319,3077,2377,2281,2776,2814,2397,2429,2627,2929,3087,3055,3283,3007,2811,2842,3305,3548,3848,3637,3488,3710,3746,3034,2283,2159,2254,2156,2144,2206,2276,2416,2381,2829,3061,3186,3492,3677,3718,3740,3516,2907,2894,2979,2794,3131,2623,2757,3153,3416,3205,3050,3068,2917,2738,2689,2601,2382,2912,3572,3351,3187,3139,3040,3043,2659,2127,2231,2603,2674,2201,1646,2598,2921,2962,2631,2038,1868,2057,2206,1993,1849,2026,2186,1744,1610,1757,1775,1803,1999,1930,1525,1560,1837,1815,1942,2526,2341,2000,2447,2839,2850,2473,2155,2298,2643,2895,2335,2072,2061,1845,1798,1854,2025,2120,1928,2281,2436,2099,1794,2313,2405,2005,2041,1976,1854,1997,2046,1930,2491,2744,2783,3006,2809,2532,2503,2247,1980,1792,1518,1751,2209,2355,2632,2679,2135,1626,1650,1870,2151,2357,2726,2753,2122,1574,1809,2435,2591,2543,2566,2468,1879,2024,2205,2259,2084,2011,1786,1590,2045,2115,1630,1588,1533,1399,1433,1779,2005,2032,2080,1765,1596,1959,2229,2316,2041,1747,1494,1391,1392,1437,1646,1917,1843,1913,2584,2754,2393,2851,3582,3600,3270,2675,2166,2178,2478,2080,1672,1742,1650,1607,1563,1670,1687,1780,1880,1869,1952,2104,1898,1865,2048,2035,1964,1776,1708,1521,2089,2370,2586,2665,2775,2557,2551,2675,3020,3183,2385,1669,2405,2144,1879,2410,2152,2096,2023,2115,1953,1974,2129,2208,2831,3373,2852,2021,1817,2207,2489,2578,2683,2491,2844,2875,2342,2356,2879,2762,2975,2812,2412,2010,1992,2194,2020,1897,2028,1729,1381,1787,1964,1497,1675,1943,2309,2110,1759,1824,2113,1767,1721,1870,1971,2399,2491,1986,2002,2084,2298,2077,2224,2774,3327,3475,3488,3488,3586,3234,2963,3154,3021,3079,3060,2828,2691,2962,3262,3299,2689,2503,2745,3067,3322,3351,3044,2369,2684,2007,2399,2207,1814,2366,2103,2113,2176,1606,2008,2325,1929,1804,2121,2490,2311,2213,1979,2265,2404,2029,1713,1851,1904,2155,2604,2784,2700,2222,2071,2048,2495,2497,2007,1798,2374,2612,2399,2922,2883,2049,1706,1461,1684,1891,1589,1596,2143,2380,2189,2005,1941,2109,2189,2194,2155,2213,2378,2243,1995,2070,1736,1713,2264,2565,2154,1954,2189,2183,2554,2397,2118,2371,2821,2657,2357,1892,1614,1835,2256,2409,2007,1712,2018,2114,2831,2940,2315,2051,2241,2002,2283,2037,1906,2433,2130,1820,2161,2048,1682,1549,1711,1746,1798,1716,1582,1717,1681,1940,1734,1592,1611,1466,1622,1983,1717,1511,1398,1411,1647,1520,1519,1810,2076,1688,1637,1577,1854,1987,1955,2060,2103,2115,2063,1675,1874,2029,1801,1999,1719,1749,2431,2781,2752,2955,2951,3019,2535,1780,1552,1792,2193,2026,2250,2269,2946,2300,1440,1592,1635,1712,1856,2011,2187,1914,1924,2388,2405,2521,2599,2200,1973,1931,1690,1688,1654,1625,1746,1756,2216,2304,1907,1709,1645,1910,1903,1875,2341,2817,2424,2182,2046,1490,1612,1849,1866,1953,1831,1564,1582,1537,1409,1471,1717,1720,1724,1611,1705,1962,1940,1651,1499,1477,1471,1518,1583,1599,1548,1681,1930,1927,1811,1766,1697,1889,2395,2946,2708,2172,1955,2015,1983,1780,1689,1610,1870,1914,2038,2014,1977,1541,1509,1396,1484,1491,1323,1614,1963,1841,1558,1497,1509,1494,1642,1500,1638,1758,1601,1482,1455,1508,1599,2347,2245,1767,1847,2343,1759,1513,1606,1482,1470,1413,1418,1407,1349,1448,1603,1721,1433,1670,1769,1490,2002,2070,1621,1494,1657,1680,1659,1569,1446,1369,1591,2048,1964,1656,2071,2481,2028,1894,1971,1985,1410,1774,2048,2058,1876,1761,1605,1749,1788,1729,1913,2018,1682,1707,1983,2356,2414,1858,1695,1622,1760,1903,1969,2172,2332,2210,1926,1984,1831,1677,2005,2402,1892,1669,1947,2498,2521,1785,1636,1678,1820,1787,1812,2027,1878,1766,2308,2212,1681,1995,2061,1776,1901,1704,1716,1802,1588,1527,1453,1308,1375,2094,2105,1654,1879,1776,1490,1520,1737,1650,1538,1508,1876,2328,1671,1313,1473,1539,1554,1553,1589,1533,1650,1436,1214,1405,1533,1566,1438,1560,1887,1767,1859,2016,1976,1921,1500,1508,1480,1632,1383,1345,1385,1583,1701,1494,1510,1397,1497,2251,2355,1851,1590,1599,1712,1334,1524,1452,1533,1535,1380,1359,1362,1405,1360,1383,1683,1583,1446,1413,1388,1395,1339,1205,1284,1607,1884,1757,1489,1599,1736,2223,2468,2756,2859,2192,2227,2488,2396,2549,2314,2699,2875,2210,1917,1788,1697,1650,1649,1941,1764,1613,1891,2258,2398,2449,2828,2508,2290,1954,1762,1781,2050,1838,1502,1549,1417,1518,1668,1547,1720,1803,1811,1587,1522,1531,1497,1544,1736,1911,1978,1783,1537,1847,1910,2115,2200,2063,1714,1798,1949,1622,1721,2430,2158,1703,1844,1723,2031,1627,1945,1780,1583,1628,1590,1616,1773,1710,1618,1665,1730,1747,1638,1607,1604,1825,1827,1979,2032,2757,3233,3182,2766,2135,1574,1898,2371,2088,1657,1319,1440,1463,1704,1772,1772,2006,2232,1766,1451,1750,1686,1843,2128,1992,1888,1881,1628,1755,2065,2633,2932,2492,1850,1675,1932,1918,2024,1947,1958,2272,2656,2462,2191,1974,1660,2225,2790,2358,2121,1999,2168,1835,2577,2667,2553,2591,2856,2427,2056,1902,1784,2188,1979,2364,2309,2325,2389,1834,2083,2822,2315,1838,2024,2188,1487,1292,1782,1964,2220,2110,2843,2791,2369,2339,2476,2685,2818,2580,1770,1388,1750,1794,1774,2975,3987,4168,3630,2862,2220,2708,3152,2729,2664,2956,2847,2226,2232,1142,1239,1999,2097,2128,2104,1786,1802,1901,1672,1913,1860,1745,1991,2360,2378,1924,1631,2138,2657,2676,2602,2633,2305,1870,1936,1823,1199,1449,1634,1620,1888,1724,1464,1436,1403,1938,2448,2227,2154,2274,1885,1900,2105,1860,1799,2308,2316,2039,2189,2635,2581,2072,1780,1542,1487,2166,2659,2077,1413,1264,2075,2667,2254,1646,1739,1570,1210,1229,1229,1278,1321,1421,1515,1532,1481,1705,1809,1821,1727,1549,1359,1054,1136,1510,1335,1565,1515,1485,1866,1884,1709,1627,2113,2568,2416,2824,2207,2530,2335,1773,1468,1524,1687,1934,2040,1937,1882,1881,2296,2456,2087,2375,2916,2697,2244,2626,3342,3470,3276,3046,2908,3012,3398,3311,3248,3359,3229,3416,3663,3807,3460,3496,3730,3558,3657,3903,3761,3470,3329,2591,2382,2575,3052,3381,3328,3033,3042,3296,3239,3111,3148,3196,3396,3739,4124,4005,3627,3088,2647,2149,1895,2336,2753,2899,2493,2276,2392,3220,3802,4147,4163,3972,3769,3820,3916,3854,3938,4115,4100,4327,4499,4544,4420,4312,4344,4152,3864,3355,3172,3419,3593,3630,3913,4288,4116,3775,3544,3627,3882,4005,4087,4169,4276,3916,3387,3663,3848,3803,3714,3727,3569,3768,4039,4110,4031,3780,3779,3881,3747,3714,3748,3603,3603,3676,4050,4227,3241,1698,1053,1490,2046,1916,1816,2112,2564,2451,2454,3062,4003,3965,3653,3573,3309,3351,3331,3116,3189,2811,2172,1553,1411,1420,1411,1514,1854,1942,1765,1632,1443,1372,1581,1714,1520,1455,1298,1264,1294,1379,1690,1917,2071,1952,2065,2391,2467,2649,2524,2180,1753,2106,2270,2152,2384,2400,1964,1621,1547,2150,2968,3150,2834,3117,3940,4412,4111,4688,4717,3684,3172,3461,3989,4218,3748,3398,2817,2643,2517,2613,2657,2624,2386,2072,1959,1997,2090,1985,1563,1637,1744,1700,1580,1533,1438,1360,1499,1598,1416,1227,1126,1078,1079,1345,2272,2895,2808,3212,3620,3335,2270,1441,1128,938,897,822,870,830,808,783,749,713,682,669,692,708,704,731,789,833,871,886,838,941,1107,1292,1765,1650,1529,1867,2378,2678,2821,2824,2809,2763,2761,2621,2460,2370,2038,1829,1637,1348,1236,1209,1064,980,907,922,942,1007,1058,972,919,1057,1270,1632,1699,1400,1241,1104,984,1043,1191,1100,967,895,1166,1566,1371,844,658,637,649,782,759,484,436,390,367,375,371,391,384,455,649,691,586,548,528,525,390,363,350,340,337,333,325,320,321,320,318,317,316,317,309,299,294,291,293,291,299,321,335,345,353,354,349,361,368,364,362,348,311,331,375,381,405,454,503,524,488,437,406,372,354,350,343,343,350,348,359,402,436,399,366,344,326,318,309,306,306,299,289,282,275,274,279,285,291,299,298,296,295,295,303,308,321,326,329,332,330,351,368,391,403,424,454,451,459,495,553,571,528,505,484,486,478,465,481,514,673,872,893,951,1049,881,852,821,721,628,546,500,462,442,439,422,397,379,349,334,331,338,331,334,336,345,382,424,457,472,468,441,417,406,395,411,419,403,387,363,383,391,368,357,349,350,357,385,424,480,559,630,629,625,582,574,559,543,552,558,536,489,504,497,436,416,405,387,371,355,358,365,371,368,361,376,444,533,480,488,528,503,495,503,509,556,578,541,521,512,517,629,655,603,667,701],[2536,2842,3226,2978,2727,2792,2555,2032,2278,2248,2338,2808,2862,2776,2909,3046,3051,3129,2776,2372,1664,1601,2226,2865,2729,2545,2482,2101,2194,2763,3228,3536,3376,3482,3435,3273,3500,3762,3642,3552,3466,3019,3044,3309,3194,3110,2798,2354,1964,2254,2609,3085,3028,2884,2686,2544,3064,3205,3008,2889,2668,2334,2281,2064,2176,1845,1941,2379,2984,3032,2504,2097,1825,2342,2230,1958,2540,3128,2938,2746,2522,2419,2819,3138,2872,2906,2913,2190,1743,1635,1781,2051,2020,2347,2161,1876,1935,2256,2614,2832,3087,3182,2932,2483,2040,2081,2343,2478,2341,2325,2242,2163,2501,2684,2857,2595,2316,2522,2673,2185,1732,2016,2758,2579,1676,1868,2815,3361,3482,3244,3116,2834,2308,2159,2930,3404,3595,3666,3397,2787,2602,2569,2264,2282,2258,2381,2314,2437,3053,2846,2399,2641,3205,3326,3369,3507,3584,3704,3762,3534,3185,3199,2956,3060,3103,3110,3444,3696,3473,3453,3710,3564,2502,2457,2702,2438,3129,3573,3355,3315,3474,3261,2808,2642,2402,2736,2972,3352,3234,2858,2962,2863,2570,2355,2369,2049,2275,2627,2552,1968,1966,1923,1896,1782,1632,1416,1474,1725,1986,1974,1828,1684,2076,2374,2802,2391,2822,3006,2942,2718,2409,2269,2262,2523,2690,2366,2286,2031,2027,1905,1867,2277,2299,2276,2487,2356,2029,1822,2031,2073,2029,1984,2212,2139,2037,2135,2312,2732,2670,2606,2587,2474,2609,2520,2241,2200,1952,1542,1914,1943,2680,3118,2712,2109,1855,1831,2058,2244,2113,2643,3261,2518,1626,1543,1956,2193,1958,2065,2079,1792,1526,1671,2047,1943,1994,2186,2303,2382,2340,1888,1568,1459,1419,1716,2017,1913,1918,1858,1060,1328,1786,1990,2084,2100,2010,1787,1682,1459,1387,1388,1339,1697,1821,2630,2708,2292,3504,4357,4373,4385,3418,1946,1860,2306,2229,1599,1710,1575,1577,1667,1830,1656,1714,1759,1926,2085,1979,2244,1947,2058,2198,1807,1576,1708,1670,2186,2434,2524,2610,2358,2324,2702,2752,2893,3143,2626,2461,2798,2210,2183,2788,2806,2709,2508,2174,1968,2152,1953,2115,2701,3428,2755,1659,1177,1782,2238,2176,2009,1824,2027,2522,2451,2428,2486,2460,2438,2301,2120,1960,2025,2072,1940,1866,1993,1644,1636,1582,1519,1758,2588,2756,2844,2304,1763,1994,1759,1788,2555,2232,2408,2770,2850,1907,1580,1810,2476,2614,2576,2853,2839,2792,2854,2791,2887,2746,2964,3201,3006,2952,2853,2534,2739,2967,3243,2922,2545,2465,2344,2933,3484,3361,2897,2424,2203,2077,2197,2026,2361,2348,1728,1786,2246,1876,1500,1873,2352,2471,2709,2168,2013,2163,1783,1781,2110,2481,2135,1729,1837,1858,2136,2422,2623,2554,2483,2328,2446,3045,3075,2207,2526,2642,2422,2624,3150,2872,1880,1324,1572,1630,1522,1572,1597,1705,1789,1620,1653,2008,2362,2563,2003,1681,2136,2304,2139,1937,1953,1761,2366,2325,1988,1770,2154,1944,2023,2242,1781,2019,2456,2416,2053,1512,1459,1785,2354,2485,2382,2008,1725,1773,2309,2723,2386,2408,2002,1776,2049,1731,2186,2430,1749,1680,2858,2842,1742,1526,1582,1744,2128,2257,1863,1770,1692,1808,1516,1460,1671,1595,1531,1515,1507,1584,1537,1818,1976,2040,2007,2264,2547,1904,1875,1711,1674,1865,1775,1736,2160,2248,1953,1210,1099,1511,1962,2201,1849,1659,1726,1776,2280,2817,2812,2003,1715,1694,1855,2057,2055,2194,2277,2432,2945,2386,1421,1585,1466,1490,1525,2014,1990,1284,1625,2055,2160,2276,2410,2145,1878,1766,1784,1876,1651,1484,1713,2010,2154,2094,1561,1241,1790,2285,2287,2259,2273,2374,2300,2328,2680,1794,1748,1887,1831,2014,1987,1826,1754,1668,1664,1620,1828,1676,1723,1488,1482,1608,1877,1892,1681,1411,1350,1541,1617,1679,1569,1518,1686,1532,1669,1587,1498,1683,2039,2288,2236,1981,1710,1839,1742,1648,1682,1548,2048,2119,1790,2016,1845,1639,1746,1352,1413,1384,1433,1567,1664,1725,2159,1940,1478,1488,1717,1859,1786,1672,1667,1596,1386,1528,1490,2242,2344,1723,1793,1880,1599,1563,1554,1596,1506,1382,1402,1366,1437,1641,1603,1396,1481,1729,1748,1559,1760,1730,1541,1554,1814,1473,1550,1578,1610,1548,1681,2059,2235,1923,2181,2339,1948,1664,2014,1896,1642,1744,1806,1897,1499,1305,1330,1419,1383,1413,1721,1758,1511,2080,2588,2618,2358,1918,1482,1522,1700,1582,1740,2308,2252,2124,1952,1990,2019,1842,2186,2243,2038,2124,2224,2269,2102,1777,1936,1827,1793,1937,1879,1924,1769,1691,2462,2513,1948,2411,2358,1532,1656,1820,1760,1598,1793,1678,1539,1460,1494,2002,2026,1618,1740,1604,1500,1498,1685,1514,1437,1510,1626,1706,1519,1395,1550,1909,2022,1556,1642,1519,1416,1384,1359,1565,1732,1556,1298,1430,1806,1750,1645,1638,1579,1540,1369,1326,1446,1562,1282,1366,1700,1796,1591,1434,1517,1368,1312,1790,2006,1632,1475,1585,1561,1349,1410,1392,1466,1560,1456,1465,1384,1357,1295,1363,1465,1390,1572,1591,1497,1510,1354,1366,1440,1366,1637,1628,1554,1594,1808,2786,3086,3003,2714,2058,2082,2148,2248,2427,2320,2988,3046,2414,1969,1789,1897,1869,1745,1968,1892,1614,1561,1621,1819,1968,2288,2410,2680,2244,1666,1648,1573,1288,1275,1548,1751,1837,1561,1728,1825,1552,1583,1738,1672,1447,1569,1656,1593,1820,2072,2086,1775,1802,2115,2741,2352,1939,1661,1648,1810,1663,1786,2065,1779,1600,1770,1730,1954,1707,1909,1650,1545,1614,1588,1526,1650,1815,1715,1528,1680,1678,1714,1572,1504,1759,1869,1974,2224,2547,2542,2504,2946,2692,2098,2172,2053,1707,1165,1122,1456,1742,1813,1838,1924,2250,2181,2046,1695,1926,1736,1628,2017,1887,1787,1708,1548,1562,1765,2196,2267,2112,1875,1909,2020,2012,2499,2282,2063,2288,2626,2675,2404,1754,1621,1826,1917,1747,1908,2206,1945,1712,2093,2475,2619,2608,3017,2532,2032,2061,2032,2431,2508,2724,2580,3084,2670,1753,2051,2163,2211,2383,1863,2106,2079,1598,1791,1942,2623,2525,2269,2498,2951,2754,2045,1840,2425,2310,1899,1854,1719,1353,1542,2570,3658,3873,3254,2322,1997,2718,3104,2432,2841,3226,2924,2796,1943,1007,1301,2142,2417,2226,1713,1372,1696,1621,1806,1905,1508,1833,2580,2642,2446,1876,1781,2249,2497,2435,2048,1943,1798,1798,2439,2518,1782,2014,2546,2289,2220,1734,1316,1507,1521,1606,1723,1998,2791,2605,2427,2635,2586,2416,2154,2093,1919,1807,2213,2345,2039,1998,1865,1688,1715,2200,2334,1940,1465,1388,1960,2688,2572,1577,1453,1418,1301,1308,1249,1140,1347,1688,1637,1439,1351,1414,1597,1880,1846,1798,1534,1118,1386,1598,1260,1428,1698,1548,1570,1658,1535,1439,1965,2819,3289,3358,2426,2046,1880,1734,1814,2014,1922,1664,1581,1909,2337,2176,1969,1867,1923,2098,2265,2143,2254,2970,3212,3072,3274,3349,3259,3464,3662,3151,3040,3171,3330,3620,3804,3881,3990,4092,4076,3989,3885,4016,4168,3942,3348,2388,2421,2676,3022,3428,3331,2862,2796,3022,3567,3274,3060,3035,3286,4140,4448,3891,3514,2929,2766,2736,2574,2482,2666,2928,3120,3592,3834,3906,4148,4256,3972,3637,3485,3558,3713,3713,3766,3961,4074,4156,4395,4376,4311,4408,4421,4168,3652,3104,3073,3405,3451,3681,4109,4416,4055,3601,3772,4003,4136,4136,4185,4050,3299,2843,2824,3419,3618,3576,3589,3882,3775,3770,4101,4112,4051,3902,3914,3773,3647,3648,3710,3675,3709,3760,4024,4320,3309,1488,1208,1763,1984,1722,1674,2008,2376,2336,2287,2815,3675,3765,3619,3592,3324,3383,3548,3116,3143,2851,2210,1583,1381,1387,1405,1474,1751,1875,1728,1639,1499,1316,1428,1708,1592,1456,1263,1234,1350,1538,1708,1842,2078,2041,1973,2290,2467,2503,2564,2324,1765,1816,2030,2130,2369,2416,2040,1671,1606,2157,2452,3065,2819,2905,3642,4227,3753,4036,4599,4061,3311,3256,3537,4099,3842,3384,2835,2627,2439,2461,2595,2597,2418,2144,1903,1909,2026,1870,1505,1494,1659,1667,1520,1424,1347,1296,1366,1476,1377,1216,1123,1065,1079,1241,2121,2654,2941,3239,3573,3718,2952,1816,1364,972,900,838,849,833,811,795,781,749,688,669,694,703,691,700,731,771,787,806,798,879,1108,1257,1605,1738,1521,1618,2065,2480,2878,2934,2824,2700,2796,2665,2424,2355,2116,1794,1629,1376,1186,1178,1152,1012,886,886,934,984,1031,1007,949,1004,1138,1368,1585,1482,1253,1181,1094,1058,1127,1175,1037,883,990,1480,1813,1290,718,665,635,918,1036,612,427,405,368,379,380,387,391,414,623,733,621,555,495,490,408,350,341,332,330,330,323,314,316,311,311,311,308,306,300,294,294,292,295,292,296,315,325,336,347,353,362,368,363,362,369,359,325,337,426,420,390,478,501,505,471,436,407,376,361,350,346,349,354,346,347,411,443,401,373,355,329,316,306,302,305,303,290,285,278,271,278,285,291,292,291,292,294,297,300,300,308,318,325,332,334,348,377,399,414,436,462,492,508,487,552,571,498,494,493,500,486,453,469,535,671,875,962,938,1099,899,867,893,725,663,593,508,464,431,428,416,399,382,351,332,338,346,343,349,361,370,397,434,456,470,466,446,422,409,405,417,425,411,388,344,357,381,366,359,345,341,350,384,413,453,512,561,578,552,520,531,520,526,530,531,531,502,481,460,423,411,393,369,357,361,362,365,371,368,363,378,403,504,502,484,498,502,497,494,486,503,553,537,522,505,491,612,648,581,611,654],[2567,2909,2972,2763,2748,2744,2744,2393,2104,2137,2246,2519,2743,2760,3262,3145,3019,3071,2887,2611,2162,2070,1925,2223,2408,2155,2017,2076,2141,2150,2123,2658,3355,3324,3197,3502,3671,3558,3525,3699,3605,3211,3273,3273,3310,3396,3056,2348,1744,1752,2574,3129,2853,2864,2415,2256,2680,3047,2712,2496,2219,2300,2170,1987,2078,2031,2308,2788,3475,3306,2510,2215,2208,2646,2603,2392,3117,3349,2884,2589,2498,2294,2552,2710,2458,2808,2945,2301,2050,1878,1963,2001,2002,2389,2285,1819,1894,2344,2588,2929,2797,2706,2806,2106,1693,2070,2491,2545,2395,2363,2562,2543,2753,2584,2438,2431,2482,2571,2569,1762,1662,2587,3233,3000,2186,2045,2437,2667,2949,2939,2958,2996,2301,2391,2864,2916,3330,3339,2955,1590,1471,2154,2448,2498,2153,2342,2355,2742,3108,3076,3062,3306,3745,3444,3499,3585,3417,3541,3650,3553,3481,3515,2918,2673,3052,3097,3498,3331,3338,2942,2874,3420,3354,3361,3383,2958,3222,3557,3449,3285,3415,3544,3220,2750,2815,3233,3187,3251,3716,3831,3840,3361,2552,3077,3770,3186,2386,2303,2319,1879,1644,1961,1858,1857,2048,1898,1739,1881,1875,1938,1901,2136,2519,2951,3142,2861,3360,3146,2498,2426,2575,2608,2692,2318,2432,2311,2286,2041,2519,2127,2040,2541,2436,2429,2436,2620,2497,2092,1953,1912,1925,1881,2305,2062,2027,2177,2236,2322,2636,2763,2471,2399,2574,2537,2274,2197,1958,1678,2396,2627,2508,2303,1959,1832,1853,1489,1582,1987,1892,2683,2602,2088,2079,1841,1855,1717,1544,1835,2099,1827,1453,1672,1958,1770,1953,2251,2294,2045,1850,1567,1475,1699,1933,1992,1960,1885,1550,1243,1070,1824,2374,1957,1682,1953,2040,1982,1831,1693,1532,1417,1484,1490,1567,2008,2114,2627,3870,4442,4197,4002,2919,1702,1952,2631,2383,1597,1660,1530,1491,1635,1689,1537,1597,1792,2105,1876,1399,2045,2144,2439,2134,1802,1903,1702,1500,1930,2242,2461,2577,2511,2542,2771,2360,2129,2349,2155,2157,2553,2473,2406,2576,2673,2576,2315,2037,1858,1846,1816,2371,2389,2930,2497,1582,1332,1665,1896,1877,1688,1291,1598,2267,2109,2758,3016,3180,2951,2859,2564,2365,2357,2154,1825,1502,1498,2148,2145,1720,1660,2001,2468,2815,2837,2025,1620,1771,1644,2395,2917,2151,2428,2454,2188,2040,2128,1802,2439,3183,2972,2768,2591,2601,2507,2306,2418,2596,2764,2769,2961,2906,2502,2392,2513,2929,3350,2551,2251,2303,2415,2520,2469,2686,2471,2068,1738,1839,1985,1976,2499,2360,2092,2323,2305,1920,1646,2119,2624,2933,2865,2151,2006,1771,1370,1438,1626,1964,2480,2281,1844,1762,1876,2092,2294,2592,2803,2645,2590,2498,2747,2343,2197,2156,2343,2234,2459,2610,2345,2166,1927,1905,1884,1589,1707,1981,1901,1648,1743,1838,1807,1909,1841,1587,1681,2033,2083,2676,2810,1951,2442,2082,1629,1545,2032,1991,2098,2124,1677,2149,2448,2026,1822,1516,1838,2221,2454,2316,2066,1828,1890,1988,2031,2498,2654,2668,1970,1942,2224,1750,1909,2245,1989,1830,2533,2611,1678,1615,1697,1795,2106,2336,2032,1772,1698,1667,1343,1431,1885,1902,1679,1691,1802,1682,1578,1885,2075,2051,1924,1922,2010,2082,2153,1825,1455,1424,1437,1444,1942,1957,1828,1333,1210,1554,1932,2180,1928,1509,1411,1610,2083,1929,2025,1750,1804,1763,1626,1735,1955,2187,2427,2567,3075,2629,1392,1386,1332,1190,1687,2432,2062,1352,1273,1510,1715,1940,2059,1596,1512,1619,1773,1712,1671,1860,1778,2080,2127,1816,1382,1260,1464,1588,1508,1481,1592,1765,2579,2336,2652,2328,2121,2097,2060,2039,2076,2008,1841,1871,2056,1671,1651,1544,1597,1716,1584,1431,1561,1843,1900,1589,1503,1509,1296,1419,1529,1375,1562,1488,1478,1390,1274,1343,1531,1612,1669,1471,1317,1660,1693,1604,1686,1598,1801,1885,1612,1581,1516,1497,1554,1510,1470,1492,1726,1606,1425,1519,1715,1539,1467,1441,1605,1873,1771,1564,1660,1568,1359,1524,1477,2076,2004,1547,1533,1644,1835,1498,1621,1710,1537,1520,1430,1305,1406,1525,1525,1594,1418,1636,2142,1700,1826,1915,1880,1954,1606,1437,1488,1550,1698,1671,1694,2047,1995,1623,2242,2765,2192,1963,2195,1867,1745,1625,1655,1737,1817,1782,1523,1427,1333,1470,1425,1067,1349,2099,3001,2488,2015,2166,1853,1566,1627,1471,2194,2899,2666,2319,2215,2258,2202,2081,1910,1859,1986,2076,2369,2281,1811,1763,1677,1793,1493,1446,2185,2469,2127,2063,2175,1992,1699,2137,2195,1683,1663,2092,1894,1663,1767,1670,1284,1273,1668,1838,1906,2110,2121,1721,1554,1722,1966,1710,1531,1571,1461,1359,1195,1204,1690,1612,1669,1682,1516,1409,1481,1367,1434,1615,1472,1368,1325,1476,1721,1632,1459,1381,1557,1508,1341,1378,1321,1344,1408,1449,1382,1360,1485,1396,1388,1354,1359,1359,1684,1480,1460,1641,1570,1408,1289,1287,1401,1598,1565,1471,1346,1274,1231,1512,1852,1917,1717,1583,1460,1461,1399,1883,1730,1414,1436,1507,2042,1683,1859,2920,3261,2946,2339,1963,2132,2041,1875,1890,2030,2284,2227,2451,2358,2215,2322,2059,1799,1906,1872,1479,1320,1425,1868,1997,2362,2864,2796,2107,1515,1497,1395,1361,1747,2680,3298,3029,1939,1593,1303,1047,1298,1548,1550,1595,1752,1648,1444,1487,1671,1692,1706,1801,1990,2558,2116,1936,1953,1772,1787,1705,1748,2124,1647,1494,1577,1409,1467,1588,1812,1715,1371,1350,1471,1560,1725,1861,1720,1584,1779,1875,1970,1808,1611,1676,1838,1874,2065,2602,2524,2167,2496,2652,2309,2328,1977,1565,1250,1706,1875,1450,1510,1567,1606,1896,2108,2262,2375,2930,2151,1645,1817,2098,2188,1830,1613,1638,1874,2108,1865,1697,1685,1687,1670,2122,2454,2405,2411,2508,2747,2624,2350,1896,1989,1525,1713,1772,1963,1933,1892,2170,2294,2740,2613,2666,3393,3113,2268,2563,2316,2554,2735,2480,2180,1894,1425,1852,1852,1747,1947,2326,2152,2144,2200,1929,1749,2109,2720,2478,2190,2615,3219,3079,2128,1393,2015,1806,1814,2094,2200,1779,1858,2233,2686,2920,2372,2030,2218,2543,2670,1772,1859,2820,3310,3218,2096,1165,1660,2101,2042,1932,1895,1714,2394,1943,2019,2172,2032,2302,2839,3274,2975,1955,1539,1702,1687,1687,1621,1662,1679,1844,2163,2450,2370,2679,2481,2081,2357,1723,1564,1863,1799,1776,1592,1891,2274,2164,2400,2275,2055,2172,2274,2001,1851,1613,1509,1603,2182,1960,1971,1919,1931,2120,2013,1766,1605,1792,1977,2056,2188,1554,1391,1655,1482,1361,1266,1204,1315,1293,1293,1365,1263,1228,1441,1670,1932,1965,1938,1557,1605,1664,1394,1748,2211,2033,2001,2410,2282,2170,2282,2360,2436,2600,2988,3296,2869,2348,1963,2189,2471,2032,1389,1771,1766,1616,1688,1692,1703,1739,1909,1975,1992,2215,2224,2256,2461,2109,3072,3776,3777,3610,3519,3610,3819,3871,3969,3999,4090,4141,4336,4220,4501,4331,3915,3908,3362,2718,2854,2956,3154,3164,3216,2885,2556,2646,3181,3049,2718,2502,3011,4109,3963,3395,3231,2732,3501,3671,3316,2810,2708,3339,4173,4448,4135,4034,4124,4080,3620,3518,3450,3492,3741,3922,3904,3950,4025,4095,4272,4240,4118,4272,4463,4287,3761,3211,3159,3859,4004,3758,3886,4165,3713,3613,3991,4196,4344,4376,4409,4120,3730,3895,3777,3647,3520,3779,4171,4341,4063,3993,4300,4313,4078,3901,3948,3786,3551,3558,3596,3565,3718,3942,4195,4328,3083,1329,1455,1892,1775,1588,1536,1743,2027,2129,2118,2577,3417,3675,3461,3604,3398,3227,3500,3311,3105,2890,2287,1600,1317,1360,1460,1433,1547,1699,1728,1622,1517,1361,1327,1539,1588,1447,1253,1202,1331,1591,1886,2193,2218,2205,2049,2066,2388,2405,2440,2414,2076,1850,1861,2085,2247,2399,2167,1749,1521,2193,2229,2524,2640,2668,3195,3996,3853,3642,4155,4360,3520,3084,3123,3808,4065,3530,2895,2596,2351,2285,2461,2578,2357,2153,1811,1741,1864,1777,1464,1401,1578,1604,1472,1348,1290,1236,1236,1453,1354,1204,1145,1067,1069,1134,1850,2411,2723,3034,3359,3598,3374,2254,1679,1077,908,852,857,836,826,808,798,761,696,660,665,655,636,633,661,706,722,738,756,805,1064,1285,1433,1695,1648,1521,1920,2278,2653,2984,2832,2596,2720,2698,2447,2354,2155,1748,1590,1378,1175,1109,1167,1058,909,864,878,939,1011,1036,990,993,1070,1157,1451,1701,1467,1278,1238,1233,1234,1260,1231,1005,982,1241,1849,1611,876,721,629,926,1239,836,412,411,379,379,398,380,393,379,606,908,678,574,566,503,428,360,348,337,329,325,310,310,311,313,308,300,293,292,286,279,281,287,292,295,293,305,314,326,338,353,369,369,360,357,361,358,347,353,449,471,422,481,498,488,465,432,401,376,359,350,349,354,362,350,343,423,463,404,363,352,323,316,308,305,305,298,295,289,289,291,293,296,296,291,292,291,290,289,296,301,305,318,333,340,339,353,383,407,426,450,495,527,501,510,525,554,512,504,501,510,495,450,458,536,646,780,933,883,989,894,886,963,802,696,628,502,477,445,425,408,396,381,371,335,339,350,353,366,382,387,405,427,442,447,438,434,423,416,406,417,434,420,381,356,370,389,375,355,341,325,360,386,418,445,475,498,528,530,494,479,474,527,501,518,543,524,483,455,431,401,371,365,358,349,358,372,371,372,366,391,398,463,519,505,479,493,491,479,477,502,522,527,529,509,475,556,606,569,559,579],[2649,2791,3076,2989,2728,2729,2779,2488,2508,2741,2777,3016,3134,3018,3351,3237,3221,3129,3130,3352,2878,1952,1634,1722,2448,2632,2601,2731,2754,2247,1832,2218,2929,2989,3191,3537,3443,3421,3551,3421,3260,3205,3416,3354,3149,3261,3226,2834,2686,2736,3147,3270,2489,2343,2414,2324,2669,2877,2696,2843,2514,2087,1721,1844,2005,1859,2313,3244,3306,2976,2602,2907,2688,2756,2548,2835,3177,2635,2294,2398,2458,2030,2668,2229,2041,2436,2234,1997,2071,2016,2166,2030,1932,1908,1939,2270,2036,1933,2603,2954,2108,1453,1792,1752,1674,2124,2518,2697,2739,2665,2604,2367,2334,2096,2411,2730,2481,2408,2292,1596,1849,2729,2954,2929,2805,2384,2404,2541,2435,2675,2935,3043,2931,2966,2730,2341,2364,2636,2774,1846,1695,1971,2389,2386,2190,2396,2605,2849,2689,2948,3416,3587,3762,3596,3416,3418,2728,2955,3326,3471,3583,3310,2555,2535,2827,2887,3368,3241,3174,2466,2012,3066,3984,4294,3745,2889,2770,3006,3564,3732,3663,3498,2853,2561,2919,2485,2402,3021,3805,4464,4588,3990,3400,3863,4276,4038,3090,2580,2242,1825,1679,1721,1606,1684,1762,2023,1955,1959,2270,2463,2138,2474,2527,2719,2716,2858,2665,2264,2198,2374,2382,2676,2439,2447,3240,2984,2697,2583,2554,1917,2239,2654,2664,3077,2608,2546,2444,2098,1943,1826,1913,1962,1741,1598,1850,2061,1886,1838,2413,2642,2438,2504,2587,2302,1830,1916,1840,1707,2032,2026,1722,1582,1886,2156,2127,1450,1268,2068,2512,2562,2003,2366,2680,2198,1723,1482,1503,1486,1770,1748,1606,1990,2348,2433,2776,2620,2050,1974,1783,1387,1808,2094,2082,1906,1902,2034,1785,1586,1632,1982,2127,1697,1444,1594,1714,1852,1946,1887,1815,1772,1605,1545,1577,1471,1466,1968,3028,3759,4228,4073,2345,1553,1627,1950,1812,1426,1668,1732,1814,2271,1986,1500,1533,1666,1924,1862,1641,2008,2664,2801,2071,1933,2076,1746,1524,1653,1903,2248,2478,2570,2324,2498,2046,1973,2011,1788,2014,2530,2451,2092,1773,2164,2770,2733,2209,2008,1836,1541,2302,2489,2370,2101,1636,1448,1570,1774,1970,2094,1605,2004,2220,2187,2942,3537,3523,3123,3110,2874,2998,2853,2114,1718,1583,2025,2648,2044,1847,1924,1992,2087,2513,2641,2118,1841,1595,1600,2620,3159,2273,2209,2156,2196,2722,2494,2028,2296,2436,2413,2595,2996,2805,2807,2545,2510,2592,2757,2764,2807,3018,2853,2666,2716,3375,3095,2353,2340,2723,2900,2292,1935,2095,1964,1703,1627,2050,2317,1958,2187,2379,2492,2375,2208,2011,1812,2193,2357,2509,2431,1854,1935,1982,2020,2098,1868,1749,2090,2422,2294,1879,1730,1830,1972,2316,2567,2710,2930,2677,2453,2295,2137,2121,2423,2249,1851,2016,2159,2336,2135,2366,2207,2243,2400,2416,2007,1637,1804,1916,1858,2404,2401,1777,2135,2718,2632,3015,2597,2028,2314,1963,1663,1719,1722,1561,1634,1655,1758,1740,1736,1626,1836,1567,1976,2425,2498,2332,2171,1782,1797,1974,2008,2592,2192,2208,1934,1710,1742,1603,1785,2357,2484,2068,1828,2053,1808,1789,1770,1760,1901,1955,2022,1777,1558,1594,1352,1452,2044,1884,1658,1729,1742,1644,1599,1880,2088,2109,1989,1734,1926,2137,2161,1907,1437,1363,1654,1616,1784,1803,1834,1960,1841,1631,1767,2025,1839,1343,1250,1787,2054,1836,1965,1838,1927,1729,1626,2209,2277,1911,2037,1863,1901,1763,1471,1523,1403,1328,1982,2771,2503,1687,1475,1786,1900,1606,1784,1576,1525,1630,1828,1755,1675,1874,1991,2106,1994,1596,1372,1396,1519,1467,1936,2230,2212,2285,3403,3107,2312,2512,2383,2005,2365,2564,2408,2145,1888,1687,1766,1565,1460,1654,2018,1977,1488,1332,1390,1656,1864,1894,1687,1454,1418,1367,1306,1256,1362,1358,1244,1086,1170,1349,1441,1350,1294,1213,1317,1584,1532,1614,1596,1528,1685,1794,1638,1527,1892,1646,1456,1663,1738,1776,1698,1409,1491,1712,1648,1689,1614,1516,1726,1882,1722,1650,1812,1723,1786,1738,1565,1937,1990,1638,1555,1428,1629,1740,1735,1504,1494,1474,1395,1406,1387,1428,1640,1659,1293,1646,2215,1747,1841,1919,1580,1891,1541,1567,1630,1440,1559,1542,1418,1730,1802,1743,1950,2382,1949,1917,1869,1869,1700,1439,1688,1938,2366,2800,1826,1506,1794,1998,1412,1048,1426,2280,2790,2311,2366,2349,1948,1991,1824,1698,2281,2574,2140,1714,2207,2761,2614,2215,1839,2010,1813,1974,2644,2864,1908,1709,1752,1535,1377,1563,2239,2402,1928,1520,1416,1532,1506,1772,1930,1686,1703,2314,2317,1982,2145,2232,1394,1279,1744,1936,2345,2653,2492,2272,2061,1914,1951,1628,1487,1604,1586,1400,1107,1395,1936,1621,1391,1498,1507,1396,1425,1447,1638,1582,1398,1383,1307,1327,1607,1751,1688,1574,1573,1488,1457,1404,1346,1358,1530,1454,1324,1316,1510,1543,1627,1606,1858,2073,2008,1622,1646,1561,1482,1337,1250,1295,1426,1522,1425,1334,1321,1432,1897,2186,2461,2470,1880,1541,1493,1319,1275,1510,1366,1373,1525,1530,1530,1374,1855,2880,3366,2417,1973,1928,1991,1958,1720,1765,1860,1908,1839,2121,2622,3010,2561,1817,1724,1916,2132,1667,1528,1615,2009,2852,2935,2242,1872,1609,1339,1270,1312,1552,2075,2598,2902,2792,1952,1859,1449,1056,1421,1727,1605,1626,1528,1560,1414,1433,1431,1512,1530,1710,1898,2085,2046,2064,2309,2352,2122,1784,2154,2178,1654,1348,1296,1218,1476,1598,1636,1631,1518,1519,1497,1507,1447,1690,1903,1727,1604,1896,2063,1798,1606,1533,1507,1533,1665,2563,3012,3044,2355,1968,1785,1709,1744,1597,1895,2574,1829,971,1152,1574,1788,2002,2358,2459,2287,2364,2188,1909,1835,2133,2236,1836,1567,1819,2164,2002,1820,1872,1707,1705,2079,2466,2408,2092,1973,2338,2683,2679,3219,2766,1885,2016,2364,2159,1649,1218,1615,2438,2837,3098,2632,2437,2229,2341,2207,2614,2125,2100,2567,2237,2186,2150,2063,2322,1951,1622,1647,2028,2198,2303,2172,2019,2049,2563,2493,1881,1888,2158,2555,2436,2248,1648,1834,2036,2187,2176,2159,2289,2300,2475,2338,2136,1807,2311,2311,2676,2758,1971,1917,2814,3083,2840,2052,2107,2384,2180,1836,1832,2170,1835,2432,2530,2212,2392,2798,2873,3146,3488,3159,2138,1524,1556,1504,1673,2021,1750,1561,1721,2082,2383,2633,2998,2557,2354,2829,1587,1746,1785,1640,1734,1891,2186,2060,2049,2066,1767,1945,2519,2313,2094,2027,1958,1470,1782,2599,1998,2013,2802,2525,1770,1823,2046,1808,2073,2125,2484,1846,1377,1393,1407,1271,1223,1279,1396,1330,1187,1293,1224,1238,1234,1368,1548,1897,1883,1837,1808,1491,1108,1198,1744,2285,2460,2553,2518,2454,2103,1796,2034,2131,2170,2754,2924,2609,2042,1708,1796,2305,2354,1697,1584,1406,1360,1482,1599,1695,1692,1537,1804,1999,1854,2432,2959,2369,1633,2768,3550,3510,3504,3421,3783,3977,3818,4092,4228,3901,4257,3985,3526,3605,3654,3616,3537,3263,2618,2791,3052,3266,2777,2672,2575,2418,2536,2833,2867,2605,2251,2478,3220,3440,3682,2956,2433,3034,3882,4120,3739,3196,3251,3963,4135,4091,4324,4093,3762,3505,3532,3494,3664,3912,4352,4297,4071,4064,4184,4209,4188,4272,4229,4331,4552,4328,3748,3819,4442,4399,3840,3702,3653,3651,3804,3802,3842,4184,4095,4239,4256,4005,3851,3833,3750,3833,4215,4487,4405,4042,4085,4401,4380,4256,3972,3596,3518,3552,3674,3762,3853,4183,4074,4180,3905,2301,1315,1646,1789,1556,1421,1458,1602,1821,2015,2019,2229,2968,3500,3240,3458,3298,2995,3344,3417,3145,2841,2247,1562,1282,1347,1505,1455,1490,1565,1669,1638,1500,1355,1276,1398,1533,1487,1279,1162,1250,1416,1880,2799,2745,2406,2255,2062,2327,2526,2426,2300,2217,2096,1860,1980,2281,2447,2209,1813,1486,1929,2169,2330,2615,2579,2758,3720,3825,3610,3796,4407,3926,3185,2911,3462,4090,3732,2952,2554,2258,2265,2353,2530,2325,2147,1802,1615,1668,1714,1467,1321,1437,1499,1431,1310,1258,1208,1186,1358,1330,1207,1156,1100,1021,1089,1534,2129,2471,2706,3163,3464,3440,2701,1997,1283,998,900,833,802,799,818,806,735,692,652,629,609,597,595,617,663,675,685,709,750,974,1349,1389,1566,1796,1627,1900,2187,2475,2886,2832,2523,2665,2755,2578,2382,2173,1730,1565,1417,1205,1063,1058,1035,959,864,848,900,947,1044,995,996,1030,1110,1275,1692,1666,1478,1348,1336,1410,1279,1262,1173,1149,1205,1664,1891,1233,820,697,738,1141,1073,466,426,379,393,390,364,387,354,535,945,808,602,594,505,453,388,363,336,325,318,305,303,301,306,307,299,286,284,286,282,286,286,287,288,290,305,311,319,326,344,354,355,356,345,350,358,360,368,537,512,469,495,488,471,445,419,393,369,349,342,342,349,352,358,349,397,448,407,343,339,324,319,312,306,307,299,297,297,300,307,303,297,297,292,293,286,285,283,285,299,307,327,350,356,350,359,392,419,433,448,490,544,517,495,480,511,527,508,504,516,497,450,442,523,617,690,845,850,930,932,895,914,835,744,671,497,475,446,418,404,393,374,387,355,339,359,369,377,387,398,410,420,416,421,426,426,425,421,403,407,430,421,378,356,375,391,376,360,355,336,383,406,412,422,441,475,522,555,534,484,496,564,487,478,509,493,481,471,435,424,418,404,378,359,362,370,373,369,376,401,411,433,499,531,479,487,474,474,470,483,515,527,507,513,498,507,551,565,554,539],[2729,2953,3204,2944,2640,2585,2585,2401,2591,2649,3032,3385,3365,3254,3328,3505,3638,3472,3210,3301,2684,1642,1550,2014,2410,2690,2832,3004,3564,2906,2136,2546,3068,3295,3473,3518,3329,3108,2667,2467,2258,2421,2766,2889,2430,2732,3111,2987,2913,2554,2500,2442,2313,2467,2502,2730,3145,3145,2908,2757,2646,2278,2050,2287,2493,2059,2546,3426,2519,2030,2004,2236,2551,2632,2599,3000,3028,2321,1996,2267,2119,2128,2934,2272,1932,2303,2280,2302,2245,2385,2273,1824,1969,1598,1843,2098,1952,2078,3007,3221,2042,1349,1508,1736,1746,2119,2403,2148,2529,2819,2544,2355,2461,2366,2543,2745,2456,2302,2148,1719,2060,2391,2652,2934,2429,1874,2014,2338,2359,2362,2612,2917,2648,2525,2322,2028,1953,2802,3342,2491,2136,2544,2677,2369,2191,2194,2098,2527,2254,2494,2894,2965,3261,3284,3332,3124,2524,2897,3361,3365,3671,3647,3175,2843,2966,3076,3055,2967,2811,2529,2829,3076,3249,3969,3216,2531,2781,2563,3089,3769,3864,3528,2996,2909,2791,2080,1781,2047,3001,3980,4249,4021,3518,3573,4187,4172,3406,3245,3091,2298,1753,1621,1650,1544,2309,2437,1805,2434,3256,2568,2114,1991,2171,2399,2713,2905,2652,2427,2508,2180,1950,2126,2307,2932,3607,3686,3088,2360,2042,2219,2790,2903,2696,3068,2380,2196,2048,1775,1872,1872,1851,1797,1900,2142,2151,2123,1753,1222,1931,2200,2008,2074,2445,2007,1677,1689,1657,1757,1701,1730,1898,2381,2947,2780,2345,1597,1061,2087,2553,2327,2580,2881,3032,2490,1733,1629,1389,1516,2209,1811,1837,2581,2912,2930,3319,2587,1700,1996,1582,1508,1977,2089,1991,1921,2127,2309,2119,1792,1673,1775,1761,1604,1426,1572,1628,1591,1788,1889,1903,1985,2031,1877,1604,1428,1490,1553,1627,2097,2676,3060,2022,1605,1348,1529,1691,1225,1484,1991,2280,2533,2145,1803,1879,1853,2029,1747,1376,1459,2504,2541,1754,2014,2178,1782,1592,1957,2304,2238,2074,2300,2227,2428,1996,1919,1870,1487,1620,1993,1984,1898,1810,1771,2583,2757,2298,2099,1639,1537,2058,2138,2037,2182,1810,1975,2143,1924,1891,2447,1876,2181,2319,2140,2208,2570,2652,2249,2390,2653,3518,3345,2246,1651,1751,2096,2176,1960,1754,1702,1944,2146,2339,2230,2023,1859,1688,1844,2505,2579,1972,2163,2244,2135,2244,2127,2349,2281,2243,2208,3056,3844,3880,3008,2148,2132,2452,2932,3023,2912,3045,3176,3393,3075,3373,2810,2280,2576,3149,3001,2259,2002,1972,1930,2123,1809,1786,2067,2592,2881,2586,2279,2059,2070,1981,2291,2618,2254,2286,2095,1785,1954,1949,2119,2448,2395,2177,1877,1815,2091,2314,2127,1708,1827,1895,2242,2475,2559,2580,2678,2500,2289,2364,2593,2352,2058,2048,1847,2151,2452,2563,2016,1780,1932,2098,2014,1644,1763,2180,2424,2939,2311,1619,2197,2656,2533,2454,2068,1995,2131,1996,2040,2018,1931,2303,2258,2104,1832,1582,1576,1554,1706,1600,1974,2803,2766,2072,2161,1925,1703,1843,2040,2147,1747,1597,1681,1715,1771,1912,2216,2580,2248,1922,2004,2093,1831,1860,1829,1775,1810,2042,2586,2393,1620,1471,1347,1417,1990,1707,1738,1705,1587,1573,1566,1759,2065,2430,2265,1787,2196,2119,1813,1695,1498,1550,1961,1784,1852,1803,1751,2133,2055,1503,1751,1874,1777,1546,1415,1716,1740,1807,1768,1627,1881,1996,1624,1926,2654,2599,2244,1818,1617,1647,1551,1493,1549,1722,1868,1967,1885,1633,1756,1991,1846,1534,1743,1975,1802,1962,2420,2117,1585,1623,1924,2331,2050,1498,1484,1446,1628,1647,1909,1824,1768,2107,3618,3952,2569,2147,2331,2022,1960,1592,1700,2183,2064,1968,1810,1423,1367,1478,1811,1810,1343,1390,1442,1488,1719,1849,1894,1671,1444,1346,1204,1187,1166,1192,1244,1238,1357,1373,1312,1366,1321,1225,1421,1694,1706,1494,1361,1567,1731,1772,1626,1813,2120,1721,1879,1914,1524,1048,1003,1338,1798,1714,1422,1531,1450,1559,1930,1866,1526,1581,1637,1631,1842,1853,1532,1505,1699,1968,1815,1604,1678,1506,1494,1368,1306,1304,1537,1660,1477,1576,1716,1531,1427,1545,1707,1574,2124,1912,1647,1744,1443,1602,1754,1747,1877,1644,1310,1311,1389,1386,1806,2138,1863,1666,1784,2068,1904,1786,2184,2148,2532,2316,1737,1735,2474,2755,1792,1156,1461,2061,2652,2490,2448,2338,2203,2023,1824,2062,2196,2123,2169,2245,2654,2938,2554,2510,2481,2608,2187,2579,3219,2797,1989,1821,1669,1675,1672,1416,1732,1861,1618,1442,1498,1683,1546,1576,1730,1818,2070,2238,2482,3243,3734,2844,1631,1567,1803,1917,2222,2332,2171,2351,2004,1865,1879,1529,1571,2137,2589,2032,1432,1676,1903,1824,1572,1552,1594,1532,1401,1352,1340,1406,1306,1169,1041,1181,1431,1798,1698,1445,1386,1604,1699,1350,1346,1345,1361,1557,1723,1838,1643,1499,1372,1830,2258,2339,2106,1599,1521,1572,2146,1574,1483,1561,1721,1520,1216,1175,1463,1751,2169,2604,2224,2046,2032,1447,1365,1260,1462,1432,1280,1446,1585,1509,1506,1493,1698,2330,2429,2200,2632,2154,1712,1838,1829,1759,1776,1850,1649,1623,2191,2666,1922,1715,1656,1522,1707,1748,1919,1796,2554,3414,2739,1849,1302,1198,1245,1483,1742,1703,1667,1520,1802,2072,2181,2101,1649,1640,1736,1785,1521,1277,1549,1795,1533,1566,1499,1516,1726,2110,2360,2362,2224,2624,2888,2235,2026,1518,1542,1506,1739,1722,1487,1358,1449,1499,1640,1598,1479,1512,1576,1102,847,1471,1861,1713,1515,1681,1895,1732,1620,1516,1674,1552,1524,1955,2469,2897,2280,1688,1681,1632,1678,1852,2150,2293,1541,884,1416,1952,1757,1737,2376,2671,2404,2501,2720,2327,2086,2121,2332,2179,1989,2512,2164,1932,1937,1978,1758,1724,2051,2425,2287,2235,2064,2208,2136,3025,3738,2921,2081,2435,2526,1699,1043,1045,1308,1898,2301,2434,2362,2052,2082,2062,1782,1870,1583,1527,1995,2148,2663,2789,2470,2655,2471,1610,1759,2101,2055,1981,2082,2233,2613,3014,2291,1910,1621,1953,2317,2046,2408,1918,1569,2112,2383,2102,2194,2630,2564,2486,2259,2196,2617,2843,2340,2617,2913,2348,2055,2245,2702,2644,2043,2375,2342,2090,1754,1784,1973,2060,2325,2433,2358,2607,2683,2700,2903,2872,2464,2407,1829,1710,1823,1569,1947,2295,2195,1891,2134,2358,2352,2169,2159,2316,2457,1683,1715,1594,1655,1663,1646,1855,1911,1958,2122,2075,2604,3233,2313,2119,1880,1778,1566,2050,2532,2017,2204,3187,2755,2190,2335,2618,2157,2808,3227,3035,1978,1343,1287,1278,1368,1324,1264,1279,1309,1189,1186,1188,1294,1264,1131,1334,1869,1945,1859,1920,1693,1215,1255,1434,2237,2331,1956,2059,2107,1665,1934,2366,2006,2339,2383,2216,2053,2069,2210,2029,2236,2367,1959,1643,1685,1798,1883,1930,2101,2297,2002,2255,2403,2487,2920,3358,2658,1907,2611,3431,3293,3017,3229,3720,3853,3505,3730,3945,3907,4210,3337,2711,3297,3990,4195,4006,3831,3450,3359,3682,3736,3143,2610,2468,2658,2873,3064,3144,2873,2468,2281,2555,2956,3631,2812,2542,3630,4496,4731,4624,3884,3134,3205,3652,4229,4369,4148,3519,3449,3388,3548,3960,4280,4532,4508,4355,4234,4228,4195,4255,4519,4508,4543,4488,4146,3893,4107,4507,4137,3608,3730,3823,3903,3687,3365,3444,4166,4152,4255,4309,4093,4097,4155,4124,4377,4556,4552,4228,3803,3880,4036,4080,4007,3661,3291,3448,3663,3828,3946,4120,4298,4343,4096,3035,1514,1202,1610,1578,1371,1365,1474,1604,1693,1915,2035,2083,2540,3349,3106,3287,3209,3000,3338,3581,3298,2882,2373,1622,1342,1311,1483,1388,1438,1515,1564,1584,1460,1274,1231,1280,1350,1398,1322,1129,1203,1299,1619,2759,3465,3008,2476,2266,2292,2663,2722,2446,2213,2097,1869,1828,2184,2425,2264,1873,1518,1655,2104,2460,2609,2626,2587,3538,3748,3647,3594,4168,4188,3271,2682,3032,3755,3751,2994,2566,2275,2342,2256,2367,2281,2112,1804,1582,1576,1641,1500,1279,1245,1342,1396,1277,1222,1197,1156,1254,1306,1239,1181,1104,1022,1066,1263,1716,2216,2471,2978,3238,3211,2997,2414,1671,1176,999,902,848,834,819,762,747,693,638,602,588,577,571,588,627,646,653,679,733,865,1374,1433,1518,1849,1786,1822,2162,2497,2809,2809,2354,2563,2741,2646,2446,2216,1742,1535,1419,1208,1050,972,983,987,910,858,922,904,967,1015,1001,997,1089,1180,1511,1784,1814,1603,1498,1688,1413,1337,1378,1393,1339,1472,2073,1832,1164,886,692,994,1283,566,440,390,409,389,355,376,365,488,877,971,589,638,535,471,414,370,340,314,307,302,292,292,301,306,302,296,296,297,290,294,286,282,283,290,300,312,317,323,337,348,361,361,365,372,378,372,423,520,490,458,484,476,455,424,404,384,360,346,338,337,338,348,351,352,375,413,417,347,336,323,332,324,311,306,300,301,300,304,300,288,289,290,291,293,287,287,292,296,307,326,343,365,373,364,364,397,435,445,452,457,527,528,491,460,478,526,495,494,525,492,453,432,486,594,690,812,871,960,1001,952,899,875,775,716,544,455,437,414,402,398,375,382,385,361,366,403,398,393,402,408,409,417,424,420,427,439,431,406,396,417,427,388,351,372,396,393,380,374,347,411,459,413,418,459,537,594,568,546,490,483,553,498,461,531,528,477,478,458,431,424,408,395,375,375,380,373,366,378,401,424,430,454,540,482,479,475,462,462,446,512,568,503,503,523,500,517,557,562,551],[3027,3387,3422,2842,2742,2994,2941,2372,2459,3037,3274,3637,3584,3193,3351,3842,3957,3630,3064,2298,1825,1723,1716,2281,2557,3055,3119,3386,3836,3467,2994,2950,3322,3392,3327,3218,3163,2461,1954,1958,1792,1671,1874,1966,2122,2511,2509,2818,2740,2254,2428,2290,2154,2246,2662,3410,3650,3124,2242,2059,2029,1859,2121,2350,2648,2468,3260,3401,2624,2164,1948,1847,2068,2489,2617,2819,2792,2512,2049,2177,1999,2197,2661,2136,2005,2409,2465,2292,2294,2272,1953,1788,1810,1578,1575,1644,1837,1988,2304,2499,2116,2018,1787,1785,2172,2276,2100,2316,2818,2800,2458,2422,2461,2093,1897,2013,2037,2186,2080,2056,2106,2309,2614,2707,2366,2223,2169,2275,2486,2625,2526,2814,2432,2549,2174,1878,2315,3237,3772,2596,1817,2495,3042,2822,2266,2303,2070,1897,1656,2327,2842,2923,3077,3122,3264,3147,3006,3352,3561,3362,3731,4209,4261,3183,3000,3284,2823,2625,2723,2553,2896,3032,2361,3124,2691,2882,3106,3154,3204,3492,3499,2865,2434,2717,2520,1932,1983,1832,1959,2746,3619,3652,3210,3470,4220,3414,2274,2952,3544,2996,1749,1975,2394,1792,2143,2182,1859,2286,2618,2244,1986,1907,1937,2333,2814,2344,2929,3349,2995,2411,2451,2097,1928,2289,3184,3560,2574,1862,2050,2148,2464,2299,2055,2178,1929,2039,2048,1841,1682,1779,1921,1923,2320,2718,2211,2025,2201,1748,2251,2578,2284,2456,2600,2187,1671,1627,1851,1784,1855,1845,2002,3352,3884,3162,2658,1885,1242,1798,1980,2048,2552,2779,2780,1980,1660,1926,1922,2374,2003,1583,2074,2729,2735,3063,3018,1943,2003,2763,2419,2047,1930,1882,1862,1717,2024,2336,2230,1664,1502,1487,1597,1595,1701,1748,1476,1012,1386,2045,2004,1955,2031,2039,1947,1863,1843,1537,1565,1663,1510,1701,1556,1605,1628,1697,1474,1116,1344,1884,2280,2326,2062,2294,2261,2071,2106,1657,1066,1306,2342,2454,1955,2292,2502,2056,1762,2157,2450,2958,2546,2041,2130,2102,1937,1885,1792,1556,1448,1576,1704,1810,1718,1305,1857,2297,2267,1870,1426,1565,2075,2196,2409,2429,2081,1953,2280,2232,1930,2127,1762,2210,2689,2130,1810,2147,2142,1902,1874,2465,3182,3420,2357,1580,1701,1615,1830,2177,1927,1621,2189,2732,1984,1549,1742,2095,2164,1934,2199,2142,1861,2587,3084,2976,2818,2523,2667,2507,2812,2829,3587,3949,3539,2558,1853,1845,2268,2952,2952,2936,3052,2964,3096,3129,3108,2664,2324,2402,2719,2974,2408,2031,2163,2077,2194,2118,2392,2459,3123,3508,3005,2447,2326,2243,2050,2110,2339,2140,1909,1899,1952,2075,1871,1721,2025,2135,1853,1783,1849,1578,2011,2707,2358,1821,1741,1827,2115,2241,2398,2680,2596,2195,2300,2460,2104,1989,1994,1992,2558,2853,2562,1945,1525,1645,1986,2001,1576,1999,2404,2132,2222,1908,1746,2344,2969,2764,2333,2084,2016,2035,2015,2018,1993,1997,2446,2424,2310,2055,1882,1763,1718,1629,1780,2391,2752,2373,1848,1981,2062,1891,2500,2967,2666,1963,1643,1824,1841,1753,1945,2499,2412,1719,1712,2086,2006,1659,1812,2050,1908,1925,2288,2556,2054,1641,1560,1674,1748,2028,2007,1923,1642,1471,1455,1647,2100,2503,2854,2398,1525,1998,2166,1842,1744,2120,2143,1913,1802,1835,1616,1435,1510,1831,1706,1964,1860,1663,1574,1695,1932,1886,1669,1504,1617,2311,2530,2126,2458,3110,3480,2981,2418,2338,2370,2263,2220,2326,2272,1871,1500,1642,1853,2004,2028,1976,1743,1847,2122,1851,1971,2640,2286,1453,1445,1600,1604,1539,1458,1431,1511,1707,1668,1637,1920,1937,1887,2975,3661,3071,2180,2035,1891,1805,1642,1465,1887,1725,1628,1393,1254,1340,1334,1432,1407,1393,1614,1559,1454,1576,1516,1767,1774,1468,1319,1187,1274,1056,1040,1234,1377,1368,1406,1413,1538,1441,1420,1654,1793,1736,1325,1298,1744,1970,1577,1421,1490,1630,1909,1955,1842,1492,1188,1484,1730,1871,1487,1354,1514,1558,1634,1928,1784,1703,1749,1569,1527,1982,1872,1459,1543,2194,2025,1502,1487,1461,1739,1902,1684,1488,1586,1914,1854,1570,1611,1779,1694,1705,1572,1583,1804,2337,2095,1741,1617,1482,1653,1908,1837,1669,1432,1355,1273,1391,1665,2244,2442,1875,1773,2026,2421,2287,2412,2299,2138,2285,1959,1784,2157,2789,2498,1963,1756,1834,1908,2114,2414,2193,2558,2514,2064,1863,2072,2355,2314,2421,2617,3023,2761,2521,2746,2611,2703,2651,2662,2890,2336,1981,1865,1532,1980,2314,1654,1902,1786,1617,1692,1829,2534,2299,1650,1662,1914,1731,1655,2153,3042,3262,2263,1694,2142,2022,1751,1957,1910,2347,2671,2187,2187,1963,1870,2040,3028,3313,2038,1448,1449,1655,1900,1887,1783,1617,1598,1487,1409,1397,1562,1312,1630,2205,2360,1732,1740,1921,1642,1560,1644,1551,1266,1245,1379,1371,1592,1715,2071,1779,1561,1456,1556,1833,1864,1770,1622,1431,1563,2018,1620,1609,1676,1709,1560,1333,1306,1597,1504,1547,1866,1771,1717,1753,1584,1348,1416,1585,1584,1568,1568,1673,1483,1562,1580,1672,2258,2466,2722,2764,2224,1954,2144,2044,1789,1737,2120,1906,1621,1708,1684,1450,1749,1714,1512,1549,2070,2166,1859,2297,2213,1928,1551,1421,1640,2053,2082,2078,1802,1779,1672,1682,2214,2643,2460,1967,1937,1824,1656,1586,1545,1734,1567,1521,1534,1581,1788,1793,2084,2444,2112,1788,2664,3405,2308,1672,1484,1317,1546,1905,2020,1867,1588,1419,1570,1766,1570,1491,1852,1899,1395,1457,1802,1910,1912,1720,1700,1971,1898,1896,1707,1745,1751,1688,1628,1945,1974,1606,1852,2102,1628,1675,1669,1766,1902,1674,1520,2010,2208,1908,1944,2510,2574,2467,2589,2669,2040,2021,2040,2283,2098,2185,2842,2691,1962,1526,1612,1802,1668,2046,2668,2421,1960,2090,2457,2146,2475,3022,3153,3029,2910,2338,1743,1299,1361,1463,1354,1489,1808,1735,1760,2115,1829,1482,1782,1744,1304,1939,2238,2766,2920,2624,2988,3003,2214,1981,2180,2066,1972,2160,2106,2648,2567,2123,1996,1517,2138,2389,2215,2392,2009,1878,2486,2654,2314,2564,2767,2787,2534,2488,2880,3275,3016,2380,2230,2165,1627,1769,1914,2718,2988,2923,2989,2775,1949,1531,1628,1737,1857,2143,2025,1845,2164,2119,2186,2248,1873,2149,2741,2684,2390,2082,1741,1820,2277,2188,1932,1919,1882,1975,1985,2266,2467,2229,1876,1747,1770,1832,1726,1670,1892,1891,1944,2467,2254,2207,2270,2169,1921,1786,1839,1758,1919,1924,1660,1863,2376,2032,1876,2131,2152,1931,2236,2343,2250,1892,1590,1584,1722,1784,1588,1517,1532,1483,1327,1287,1340,1372,1346,1361,1854,2280,1912,1763,1780,1983,1689,1367,1604,2243,2182,2304,2888,2418,1789,2216,2138,1581,2007,2034,2543,2692,2765,2905,2592,2271,2284,2471,2668,2666,2298,2203,2187,2366,2346,2218,2257,2306,2565,2877,2974,2368,1881,2526,3415,3128,2808,2612,3076,3815,3460,3491,3875,3884,3958,3692,3404,3899,4072,4256,4184,3553,3020,2983,3387,3396,3193,3153,2978,2942,2940,3084,3269,3252,3168,3176,2562,2620,2686,3067,3834,4603,4630,4438,4720,4619,3975,3300,3167,3797,4376,4663,3989,3629,3627,4110,4620,4661,4592,4616,4661,4587,4596,4518,4555,4678,4740,4652,4404,4167,4049,4224,4344,3563,3119,3681,3804,3508,3366,3183,3138,3751,4081,4151,4316,4287,4207,4298,4494,4662,4612,4651,4601,4432,4408,3957,3618,3594,3466,3311,3435,3706,3807,3691,3760,4033,4320,3561,1976,1165,1322,1567,1453,1295,1298,1459,1645,1595,1808,2098,2185,2337,3134,3163,3198,3227,2939,3254,3682,3517,3115,2692,1895,1509,1294,1523,1460,1448,1523,1492,1477,1420,1298,1228,1219,1193,1252,1323,1182,1221,1294,1400,2222,3415,3362,2695,2613,2413,2532,2931,2792,2376,2131,2040,1776,1947,2304,2240,1902,1664,1538,1793,2513,2718,2729,2589,3209,3620,3641,3522,3819,4132,3624,2811,2743,3169,3167,2924,2552,2314,2420,2241,2200,2220,2104,1864,1610,1502,1577,1509,1306,1141,1188,1324,1241,1179,1217,1168,1164,1247,1254,1163,1091,1003,1000,1083,1412,2049,2402,2868,3047,2903,2813,2825,2409,1619,1268,1158,1044,1069,888,815,761,682,626,586,575,572,568,586,605,621,652,649,720,775,1242,1483,1539,1869,1968,1762,2041,2548,2754,2798,2293,2434,2631,2631,2491,2236,1788,1495,1402,1222,1000,903,979,969,859,891,988,991,957,956,967,1012,1072,1175,1404,1673,1901,1913,1750,1732,1614,1560,1446,1412,1434,1425,1828,2055,1456,1033,768,856,1329,662,430,410,396,388,365,367,379,396,717,1122,689,713,584,480,438,383,338,313,298,293,284,285,294,301,296,296,297,298,288,283,279,277,284,290,299,307,316,332,352,341,380,384,380,373,379,397,494,580,521,446,455,456,440,420,398,370,351,335,330,331,331,338,356,359,348,385,426,388,338,327,337,330,311,304,304,307,304,290,285,279,285,282,286,286,291,298,303,309,316,330,347,364,372,368,365,400,449,454,450,436,470,488,478,463,462,511,488,466,505,491,458,449,448,551,689,748,799,886,981,963,950,968,811,731,593,463,436,423,414,409,384,381,395,400,372,410,410,414,417,421,443,439,423,421,423,434,452,417,389,404,426,393,354,367,406,424,435,422,438,572,558,443,423,504,542,553,533,519,487,482,538,510,450,501,511,476,467,486,446,435,411,386,397,404,393,379,372,379,406,431,445,444,499,469,467,479,471,468,446,489,560,501,477,496,509,499,549,563,562],[3525,3378,3263,3016,3322,3764,3798,3142,2897,3364,3595,3504,3368,3248,3377,3804,3789,3507,2535,1715,1831,2254,1960,2074,2488,2897,3499,3877,3464,3316,3354,3178,3667,3538,3360,3403,3596,2855,2399,2009,1488,1415,1523,1628,1969,1890,1940,1867,1869,2017,2337,2451,2111,1912,2635,3662,3617,2690,2172,2346,1771,1722,1962,1979,2141,2486,2415,2467,2680,2140,1851,2079,1880,2336,2206,2253,2680,2709,2433,2407,1973,1989,2171,1935,2046,2267,2309,1865,2277,1974,1996,2340,2699,2414,1747,1737,1833,1945,2322,2281,1886,1759,1553,1579,2759,2829,1993,2049,2411,2605,2258,2023,2153,2060,1991,1736,1763,1920,2054,2201,2013,2220,2592,2625,2440,2112,2107,2370,2583,2946,2836,2784,2302,2491,2264,1925,2378,3067,3165,2650,2508,2731,3028,2976,2714,2332,1761,1527,1444,2048,2682,3030,3174,3099,3184,3226,3300,3600,3528,3195,3373,3962,4373,3970,3397,3044,2876,3163,3543,3033,2636,3055,2798,3439,3099,2982,2819,3043,3189,3332,2948,2214,2149,2507,2214,1955,2118,2043,2056,2354,2851,3331,3605,3831,4025,3366,2941,3383,3499,3311,2304,2488,2356,1760,1793,2260,2202,1782,1935,2075,1816,1860,1950,2380,2334,1718,2005,2555,2313,3120,3191,2392,2088,1804,2685,3196,2134,1747,1904,1903,2027,1789,1829,2296,2545,2640,2379,1914,1782,1788,1885,2375,2398,2323,1943,1877,2536,2222,2554,2684,2473,2695,2786,2609,2052,1813,1673,1790,2237,1798,1728,2868,3731,3454,3057,2510,1838,1742,1875,1932,2142,2679,2725,2210,1965,2374,2761,2364,1425,1522,2145,2424,2568,2654,1837,1710,2406,2693,2316,2060,1932,1920,1833,1827,1969,2131,1874,1469,1521,1445,1621,1738,1911,1727,1202,862,1353,1801,1786,1868,1935,1955,1952,2133,2020,1937,1891,1573,1388,1426,1455,1641,1906,1859,1538,1388,1550,1703,2008,2048,1556,1951,1919,1928,2237,2138,1768,1490,1718,2096,2220,2247,2226,2174,2188,2293,2572,2980,2857,2772,2570,2240,1992,2142,2099,1748,1598,1589,1720,2079,2601,2412,2361,2740,2212,2115,2030,1847,2188,2160,2260,2005,2060,2374,2945,2746,2396,2106,2037,2601,2374,2242,2285,2181,1965,2088,1713,2070,2530,2691,2273,1920,1671,1564,1684,1914,1963,1751,1919,2498,2014,1575,1670,2246,2363,1660,1621,1998,2238,2697,3108,2917,2624,2438,2369,2569,2709,2875,3463,3571,2907,2224,1920,1952,2221,2278,2343,2653,2896,2937,2919,2973,2880,2475,2437,2570,2508,2547,2421,2648,2873,2092,1833,2142,2351,2426,2902,3162,3130,3076,2934,2588,2296,1907,2024,1991,1648,1778,1975,1901,1863,1803,1855,2063,2055,1843,1669,1556,1748,2461,2864,2503,1981,1715,1861,2013,2283,2275,2278,2236,2565,2312,2065,1918,1885,2103,2587,2673,2586,2189,1632,1719,1879,1854,1528,2122,2457,1932,1885,2170,2170,2448,2680,2407,2032,1914,2101,1936,2033,2016,1928,1947,2275,2458,2294,2174,2076,2048,1933,1795,1758,2049,2265,1846,1803,2232,2279,2336,3055,3405,2862,2074,1859,1758,1650,1753,2128,2043,1758,1505,1935,2214,2073,1990,2135,2316,1939,1862,2151,2244,1738,1647,1672,1788,2006,1960,1968,1964,1738,1572,1551,1697,1756,1929,2390,2060,1471,1384,1716,1647,1837,2134,1962,1901,1985,1731,1499,1528,1346,1435,1495,1687,2026,1845,1853,2071,1778,1620,1631,1532,1663,2258,2039,1640,1969,2497,2858,2520,2311,2555,2746,2712,2381,1773,1784,1700,1558,1557,1610,1719,2111,2225,1809,1880,1909,1710,2165,2610,1966,1333,1400,1418,1388,1640,1574,1379,1621,1828,1920,2282,2368,2150,2166,3143,3310,3146,2164,1653,1584,1351,1299,1655,1743,1605,1770,1063,1412,1397,1393,1315,1315,1431,1637,1531,1500,1419,1325,1584,1780,1656,1476,1519,1669,1141,1101,1368,1350,1521,1629,1543,1594,1679,1769,1897,1858,1635,1552,1509,1744,1881,1457,1440,1466,1574,1872,1852,1686,1619,1427,1559,1504,1602,1323,1355,1459,1501,1685,1822,1778,1815,1748,1735,2125,2641,1866,1415,1496,2027,1760,1483,1410,1337,1597,1795,1815,1728,1870,1823,1726,2008,1554,1553,1837,1942,1700,1568,1717,1792,1703,1643,1640,1766,1757,1892,1972,1715,1604,1772,1621,1625,1844,2001,1803,1553,1695,1803,1888,1829,1817,1699,1997,2002,2334,2526,2133,2587,2345,1751,2023,2033,2096,2042,2207,2130,2408,2143,1958,1743,1880,2443,2518,2790,2761,3129,2798,2576,2277,2181,2624,2408,2240,2441,2135,1865,1498,1470,1871,2111,1698,1758,1738,1615,1636,1651,1918,2013,1678,1617,1783,1447,1549,2042,2217,2331,2458,1995,2389,2289,2164,2251,1954,2040,2395,2467,2018,1634,1776,2052,2764,2643,1876,1619,1590,1588,1803,2016,1715,1497,1569,1555,1688,1633,1571,1482,1591,1870,1937,1606,1842,2521,1968,1648,1680,1479,1506,1368,1328,1474,1478,1345,1440,1560,1544,1544,1473,1604,1522,1474,1550,1498,1490,1487,1428,1405,1381,1399,1366,1295,1360,1363,1000,1187,1434,1433,1507,1453,1430,1376,1522,1551,1574,1526,1582,1489,1551,1625,1562,1719,2105,2558,2474,2246,2191,2120,2170,2109,2397,2168,1972,2401,1926,1597,1479,2036,2077,1696,1796,1847,1904,1635,1512,1620,1324,1290,1347,1670,2108,2445,2273,2022,2515,3144,2480,1826,2235,2715,2641,2691,2284,1887,1609,1622,1911,1668,1316,1471,1406,1606,1948,1639,1631,1720,1534,1459,2010,2654,2121,1604,1692,1762,1699,1931,2051,1692,1599,1581,1596,1633,1597,1680,1792,1801,1700,1672,2001,2069,1954,1798,1720,2079,2424,2344,1971,1868,1733,1673,1982,2207,1636,1542,1763,1734,1477,1651,1587,1515,1626,1771,2071,2007,1924,1958,2052,2376,2235,2100,2309,2513,2150,1781,1857,1695,1817,2142,2157,2192,2176,2012,1899,1793,2078,2842,2600,2294,1942,1915,2171,2227,2220,2315,2930,3480,2797,2303,2515,2180,1994,2058,1796,1837,1993,1824,2336,2633,2095,1715,1820,1758,1518,2011,2222,2426,2604,2541,2834,3223,2734,1979,1739,1810,1921,1638,1938,2160,1979,1951,1606,1741,2277,2316,2035,2211,2326,2382,2566,2767,2702,2567,2283,2104,1986,2473,2878,2867,2789,2313,2059,1945,1084,1459,2210,3414,3155,3304,3794,3511,2793,1977,1499,1828,2403,2408,1908,1449,1523,1562,1699,2079,2003,1946,2361,3065,3001,2303,1946,1938,2067,1879,1509,1368,1869,1760,1816,2098,2257,2447,2701,2908,2534,2045,1801,2313,2613,1731,1415,1842,2136,2048,1854,1790,1590,1591,1427,1375,1494,1378,1384,1600,1926,1688,1766,1803,1649,1735,1625,1729,1707,1480,1436,1711,1682,1622,1654,1546,1481,1503,1470,1405,1462,1473,1589,1789,1864,1837,1631,1665,1719,1845,1646,1627,1895,2182,2076,2034,2339,2083,1681,2215,2198,1880,1834,1698,1691,1919,2397,2666,2414,2234,2541,3595,3815,3350,2109,1905,1874,1804,1757,1595,1662,2127,2485,2720,2620,2038,1844,2413,2843,2427,2940,2937,3307,3550,3160,3229,3504,3836,4271,4323,4483,4312,4078,4339,4299,3541,2800,2632,2899,2993,3097,3320,3419,3171,3083,3200,3132,3283,3378,3378,2634,2191,2434,3381,4357,4777,4163,3524,3454,4104,4181,3631,3359,3253,3673,4529,4441,3928,4177,4619,4756,4697,4552,4620,4620,4556,4709,4810,4861,4851,4752,4492,4165,3937,3874,4062,4408,3847,3363,3799,3765,3464,3720,3681,3420,3814,4050,4063,4278,4357,4268,4363,4469,4585,4657,4704,4805,4832,4660,4058,3459,3508,3506,3344,3304,3713,3915,4032,4272,4231,3760,2214,1208,1168,1371,1588,1557,1260,1304,1549,1641,1565,1694,2005,2246,2289,2923,3240,3086,3321,2843,3033,3430,3582,3388,3085,2269,1761,1453,1505,1541,1458,1492,1442,1376,1365,1287,1241,1157,1095,1133,1214,1166,1211,1413,1493,1848,2994,3438,2861,2860,2866,2424,2668,2890,2501,2194,2098,1813,1788,2115,2299,2084,1853,1577,1459,2027,2504,2875,2684,2789,3231,3455,3476,3609,3842,3705,3138,2582,2603,2354,2637,2553,2317,2265,2120,2058,2077,2000,1854,1675,1521,1541,1514,1359,1140,1089,1253,1231,1139,1174,1162,1105,1153,1250,1138,1074,991,1011,1111,1296,1744,2336,2841,2930,2773,2666,2935,2947,2235,1543,1388,1180,1243,1048,893,799,701,634,582,572,575,575,585,603,607,653,639,673,731,1030,1435,1614,1780,2051,1841,1866,2465,2712,2744,2372,2356,2462,2574,2436,2142,1788,1508,1420,1260,1021,895,968,956,831,823,946,969,904,929,981,999,1044,1126,1325,1492,1672,1913,1865,1744,1771,1720,1601,1530,1594,1715,1729,1920,1634,1230,855,761,1238,817,422,423,389,377,372,351,371,398,507,1081,855,786,668,519,456,405,341,310,286,277,270,276,279,288,294,292,289,289,281,282,275,271,280,291,299,299,314,336,372,345,378,399,381,365,356,390,499,572,509,450,444,462,448,433,411,378,353,333,323,321,333,368,383,357,329,372,423,405,337,316,320,316,300,300,303,307,301,288,292,286,286,278,277,284,287,300,309,307,306,318,332,354,372,368,360,395,447,456,440,432,468,493,483,460,450,495,481,458,469,485,469,463,448,504,679,795,788,816,919,994,1024,1039,886,758,633,513,458,425,425,423,399,386,378,410,376,406,421,424,449,469,463,436,421,416,425,412,470,428,395,398,411,398,367,376,429,464,475,494,540,660,647,540,497,527,523,521,507,502,480,468,537,515,440,466,481,485,485,528,476,425,404,405,430,426,398,378,377,382,405,427,454,472,473,459,465,473,466,452,458,493,518,487,455,467,509,491,530,566,560],[3619,3273,3200,3803,4297,3995,3764,3613,3638,3705,3508,3280,3363,3294,3319,3537,3225,2534,1794,2029,2232,2156,2065,2076,2235,2910,3750,3919,3591,3184,2951,3250,3538,3544,3685,3907,4090,3835,2975,1801,1352,1525,1768,1834,2102,2084,2102,1620,1710,2017,2565,2828,2297,1942,3038,3619,3047,2099,2324,2323,1785,1915,2370,2426,2345,2065,1887,2209,2387,2025,2115,2086,1915,2128,1996,1852,2414,2432,2176,2337,2391,2221,1793,1871,2465,2071,1676,2020,2266,2075,2249,2557,3030,2602,2330,2160,2008,1992,2224,2234,2156,1565,1438,1599,2322,2427,2188,2457,2281,2381,2189,2414,2098,2447,2252,1717,2066,2125,2253,2204,2083,2248,2217,2220,2168,2103,2668,2663,2514,2757,3087,2922,2308,2361,2535,2409,2377,2739,2956,2524,2426,2796,2858,2416,1983,1563,1382,1405,1479,2070,2834,3105,3274,3020,3152,3184,3221,3306,3118,2902,2902,3410,3968,3924,3400,3160,3510,3660,3596,3361,3275,2955,2352,2856,3059,2730,3095,3261,3056,3249,2721,2651,2830,2641,2520,2270,2276,1752,1539,2159,2974,3382,3563,3642,3586,3627,3618,3703,3298,2764,2190,1886,1794,2087,2137,2254,2478,2201,2160,2729,2466,2252,2050,2358,1928,1630,1751,2080,2612,3315,2820,2002,1849,2047,2850,2918,2285,2201,2500,2190,1994,1993,2518,2978,3256,3355,3086,2600,2245,2032,2127,2480,2258,2320,1952,1950,2460,2622,2717,2048,1858,2416,2596,2379,2116,1791,1566,2070,2283,2204,2078,2391,3118,3226,3061,2991,3009,2403,2171,2135,2311,2459,2528,2153,1798,2002,2232,2259,1970,2189,2156,1991,2202,1914,1527,1618,1826,1891,1901,1866,1745,1649,1654,1617,1719,2043,1874,1708,1387,1434,1819,1982,2059,1933,1532,1410,1398,1451,1444,1635,1775,1861,1973,2116,1968,1980,1947,1667,1430,1426,1650,2596,2597,1963,1735,1891,1646,1442,1773,1703,1384,1373,1453,1740,2060,2480,2619,1766,1889,1898,1956,2190,2033,1853,2142,2405,2709,2697,2598,2586,2487,2163,2277,2130,2046,1833,1690,1627,1676,2103,2885,2620,2555,2666,1918,2353,2116,2316,2432,2110,1846,1894,2665,3410,3549,3524,3089,2065,2209,2486,2307,2492,2636,2108,2123,2303,1844,1776,2084,2106,2280,2356,1994,1615,1630,1924,2120,1968,2193,2633,2264,1913,2094,2513,2283,1567,1434,1783,1578,1737,2154,2309,1987,1833,1884,1844,2110,2568,2676,3130,3255,2805,2286,2214,2429,2027,2271,2132,2049,2521,2663,2829,2596,2118,2086,2346,2523,2292,2140,2711,2917,2045,1633,2068,2133,2108,2658,2765,2530,2607,2940,2995,2622,1648,1546,1886,1680,1784,2091,1995,1933,1722,1862,2036,1903,2332,1945,1553,1453,1780,2224,2669,2577,2074,1795,1829,1938,2233,2237,2304,2431,2569,2438,2125,2099,2391,2460,2351,2410,2409,2454,1995,1838,1950,1898,2091,2418,2294,2071,2087,2119,2165,2231,2296,2098,1897,2024,1837,1777,1750,1737,1792,2064,2416,2424,2151,1981,2078,2050,1981,1804,1984,2250,1881,1758,2454,2624,2447,2899,2866,2209,1813,1816,1606,1570,1704,2306,2077,1948,2152,2134,2098,1990,1777,1901,1802,1595,1520,1674,1887,1851,1830,1999,2326,2254,1559,1533,1865,2227,1997,1969,1694,1673,1581,1584,1727,1628,1408,1357,1333,1643,2148,2095,1874,1914,1765,1637,1601,1417,1294,1393,1694,2061,2092,2177,2440,1751,1575,1854,1662,1673,2055,2106,1728,1784,2520,2476,1916,1998,2270,2415,2709,2523,2376,2347,1988,1640,1419,1544,1631,1964,1964,1816,1789,1665,1820,2177,2178,2276,1844,1720,1700,1636,1828,1930,1548,1422,1670,2150,2192,2154,2243,2143,2663,2248,2191,1997,1829,1717,1555,1554,1797,1878,1999,1792,1576,1732,1690,1676,1382,1394,1695,1722,1500,1463,1360,1431,1404,1616,1821,1562,1795,1880,1590,1469,1393,1210,1377,1566,1370,1426,1707,1834,1793,1802,1589,1623,1694,1893,1789,1479,1455,1638,1807,1725,1484,1433,1554,1699,1888,1579,1646,1544,1469,1432,1524,1678,1517,1392,1540,1533,1447,1719,2044,1836,1516,1775,2020,1651,1477,1376,1331,1426,1508,1708,1902,1935,1797,1946,2161,1886,2214,2479,2000,1803,2098,1786,1627,1831,1621,1832,2126,1588,1604,1999,2056,2104,2078,1836,1871,1740,1564,1421,1442,1500,1661,1922,2136,2132,1991,2084,1798,1737,1794,1685,2081,1886,1431,1825,1942,1876,2200,2286,2340,2374,2168,2100,1561,1577,2230,2060,2464,2661,2817,2413,2258,2375,2556,2382,1742,1500,1782,2024,1735,1416,1830,1842,1822,1757,1700,1619,1519,1463,1487,1572,1506,1510,1609,1642,1677,2031,2596,2625,2455,2269,2058,2020,2082,2657,2427,1997,2662,3060,2474,1738,1593,1679,1943,2136,2009,1683,1460,1651,1547,1817,2024,1620,1437,1602,1530,1578,1693,1637,1607,1631,1714,1892,1846,1876,2172,1733,1480,1810,1593,1621,1593,1450,1602,1598,1482,1528,1634,1453,1287,1407,1440,1383,1362,1429,1318,1328,1396,1440,1475,1544,1672,1787,1703,1470,1383,1280,1315,1396,1378,1374,1396,1454,1589,1545,1234,1339,1353,1338,1747,2140,1738,1502,1834,2261,2701,2382,2093,2407,2470,2459,2253,3168,3306,2445,2028,1878,1683,1744,2443,2335,1859,2036,2071,1845,1443,1180,1465,1355,1358,1566,1849,1750,1920,2186,1954,2614,3098,2321,1969,2247,2530,2329,2071,1702,1634,1542,1622,1854,1775,1565,1559,1538,1620,1607,1587,1677,1678,1584,1640,1646,1670,1498,1708,2586,2889,1821,1801,1947,1815,1993,1787,1616,1645,1578,1551,1736,2136,1976,2225,3109,2458,1955,1874,1860,2002,2584,2600,2114,1858,1805,1816,2005,1878,1594,1736,1494,1748,1922,1842,1633,1498,1565,1653,1850,1957,1814,1686,1722,1864,1826,1682,1873,2348,2144,1648,1687,1643,1781,2040,1471,1503,2454,2578,2746,2392,1920,2236,1908,1692,1754,2081,2116,1721,1720,1741,1964,2438,2051,2154,2439,2557,2396,2314,2181,2521,2453,1896,2420,2623,1720,1624,2036,2258,1888,1971,2053,2025,2348,2369,2359,2551,2235,1722,1663,1730,1857,1840,2338,1957,2066,2027,1790,1908,2089,2103,1764,2144,2468,2203,2122,2169,2026,1810,1616,1583,1443,1848,2464,2611,2673,2466,2190,2046,1483,1762,2314,3020,2625,2889,3274,2479,2308,2098,1628,1746,2188,2145,2032,1664,1824,1705,1715,2031,2030,1705,1778,2523,2476,2189,2077,1953,1864,1532,1416,1823,1925,1555,1769,2195,2194,2053,2105,2500,2214,2147,2282,2647,2602,1789,1194,1577,2049,1893,1708,1743,1682,1621,1330,1416,1437,1356,1386,1562,1858,1758,1434,1310,1560,1850,1488,1462,1373,1251,1335,1546,1538,1537,1327,1263,1226,1267,1322,1308,1258,1102,1198,1269,1231,1349,1433,1543,1723,1723,1715,1893,1826,1749,1882,2069,2264,2144,1689,2011,1988,1780,1841,1715,1798,2208,2221,2011,1902,2410,2790,3454,3277,2673,1757,1621,1626,1597,1631,1626,2121,2488,2497,2504,2411,1806,1743,2278,2996,3008,3448,3790,4058,3850,3374,3400,3449,3963,4749,4564,4797,3784,3871,4343,4527,4063,3072,2872,2862,3299,3604,3507,3325,3142,3105,2993,3194,3382,3527,3681,3453,3019,3064,3773,4108,4489,4397,3881,3838,4015,4001,3762,3957,3833,3464,3902,4514,4204,4369,4708,4708,4708,4459,4544,4285,3850,3906,4440,4805,4629,4377,3937,3875,3798,3629,3498,4037,4135,3924,3842,3536,3023,3199,3925,4017,4373,4332,4062,4193,4169,4177,4333,4417,4389,4157,4199,4460,4431,4447,4007,3510,3589,3585,3593,3587,3797,4156,4293,4204,4107,2877,1176,994,1179,1364,1484,1535,1245,1365,1653,1588,1487,1560,1822,2176,2292,2714,3374,3032,3275,2690,2909,3182,3388,3465,3206,2498,2048,1704,1458,1516,1438,1428,1410,1324,1299,1238,1201,1120,1063,1055,1102,1119,1151,1521,2048,1953,2686,3488,3023,2889,3145,2773,2544,2852,2707,2233,2091,1868,1641,1800,2292,2125,1974,1727,1420,1658,2193,2833,2979,2889,3051,3249,3253,3294,3466,3596,3388,2644,2424,2257,2291,2307,2333,2170,2030,1985,1939,1890,1781,1701,1493,1439,1438,1393,1191,1030,1130,1210,1119,1089,1106,1071,1068,1207,1112,1043,1015,1039,1126,1219,1439,2116,2802,2909,2744,2547,2619,2824,2566,1793,1390,1200,1183,1036,890,810,729,651,592,577,578,601,622,630,633,661,647,644,714,888,1288,1707,1731,2054,2003,1802,2126,2467,2583,2331,2229,2414,2474,2321,2091,1772,1495,1351,1272,1048,874,888,886,822,788,835,852,815,844,893,956,997,1019,1176,1282,1394,1650,1752,1712,1705,1664,1605,1564,1636,1950,1696,1766,1806,1419,893,787,1194,965,431,416,391,361,357,338,338,405,384,922,1036,854,724,618,481,430,353,309,286,271,264,268,275,277,272,277,276,272,277,272,272,275,273,289,295,305,314,316,329,340,377,387,370,363,355,380,501,552,519,454,444,457,452,436,405,376,353,337,319,322,334,347,354,338,330,365,413,392,327,318,301,299,298,299,298,305,298,297,300,295,291,275,266,274,280,296,306,302,299,311,323,346,369,371,363,389,433,452,428,429,489,534,498,456,452,474,468,461,462,480,497,490,455,474,626,792,763,842,945,1001,974,987,949,819,673,540,478,425,419,420,425,401,367,413,404,401,424,449,474,463,440,417,411,406,426,411,446,434,404,398,405,397,378,383,422,454,480,537,604,650,597,612,633,562,511,509,496,490,477,449,539,522,450,446,461,491,500,515,490,441,431,418,395,371,369,377,379,390,415,443,462,476,475,462,462,459,445,437,446,475,500,493,448,449,503,499,511,551,551],[3077,3247,3426,3458,3506,3501,3350,3327,3449,3537,3364,3381,3308,3272,3275,3281,3039,2192,1955,2213,2121,2059,2189,2268,2750,3273,3275,3497,3628,3440,3466,3420,3087,3372,3763,3783,3927,3835,3154,2383,1939,1843,2060,2243,1982,2235,2429,2434,2523,2758,3142,2784,2181,1881,3272,3428,2604,1767,2055,2408,2186,1805,1682,2039,1907,1527,1803,2696,2570,1963,2111,2679,2788,2133,1745,1950,2435,2025,1625,2043,2503,2405,1979,1959,2185,1799,1775,2403,2418,2859,2973,2448,2442,2488,2461,2105,2280,1911,1869,1753,1691,1624,1969,2141,2307,2022,1942,2428,2342,2331,2344,2438,1864,1867,1620,1681,2127,2207,2142,2009,2397,2676,2146,2045,2338,2358,2336,2442,2410,2309,2664,3006,2987,2845,2640,2190,2029,2281,2657,2035,1556,2014,2079,1708,1499,1446,1433,1409,1526,2194,2828,2894,3082,3081,3205,3030,2889,2752,2943,3176,3124,3283,3539,3483,3284,3559,3968,3738,3417,3278,3356,3415,3240,3079,2678,2687,3240,3386,3116,3219,2664,2679,2432,2589,2841,2630,2644,2307,1786,2046,3105,3515,3537,3598,3530,3414,3403,3339,2792,2262,2059,1892,2004,2426,2459,2129,2226,2554,2195,2706,2380,2389,2082,2030,1935,1843,1875,2032,2719,2908,2285,1802,1780,2301,2556,2731,2403,2540,2360,2314,2192,2077,2718,2998,3198,2875,2159,2358,1951,1771,2254,2085,1866,2177,1976,2320,2352,2392,2857,2008,2082,2380,2500,2415,2107,2163,2158,1879,1928,2192,2053,2399,2742,2831,2866,2970,3500,3327,2722,2390,2503,2425,2106,1725,1926,2153,1883,1998,2054,2665,2523,2098,2141,2056,1769,1602,1799,1910,1811,1836,1587,1608,1615,1615,1625,1841,1919,1785,1588,1666,1679,1642,1969,1998,1680,1551,1699,1483,1578,2168,2172,1740,1899,2111,2024,1866,1953,1996,1938,1789,2032,3841,2895,1660,1637,2066,1653,1552,1951,1880,1663,1571,1750,1815,2010,2475,2282,1838,2215,2462,2530,2266,1790,1666,1980,2173,2537,2496,2373,2589,2264,2205,2143,1679,1640,1674,1555,1640,1724,1903,2266,2215,2834,2518,2176,2540,2213,2386,2495,2234,2341,2431,2791,3520,3231,2951,3041,2790,2670,2053,1945,2361,2389,2006,2136,2497,1969,1743,1970,1958,2146,2223,2411,2391,2084,2316,2408,2109,2625,2757,2063,2238,2332,2148,1834,1779,1672,1656,1763,1926,1988,1811,1819,1971,1682,1678,2124,2149,2045,2518,2967,3073,3090,2858,2709,2314,2352,2272,2141,2664,2940,2876,2301,1870,1923,2158,2222,2512,2281,2476,2876,2104,1808,2011,1881,1743,2238,2111,1785,2232,2480,2796,2531,1863,1724,1606,1432,1803,2225,2120,2041,1648,1934,1719,1667,2110,1974,1686,1778,1919,1613,1687,2554,2945,2278,1862,1775,2036,2294,2397,2482,2676,2736,2495,2185,2129,2292,2215,2037,1962,2160,2157,2230,2166,2200,2344,2305,2126,1959,2003,2056,2131,2271,2346,2256,1725,1627,1658,1587,1566,1806,1897,1752,2180,2199,1818,1439,1675,1912,2077,2108,2193,2444,2287,2305,3078,3330,3011,2667,2294,1835,1836,1939,1707,1851,2301,2697,2489,2518,2250,1851,1847,1885,1865,2184,1952,1661,1641,1927,2056,1937,1930,2193,2831,2962,2024,2047,1646,1770,1842,1924,1756,1757,1605,1683,1890,1721,1424,1391,1500,1682,2040,1645,1748,1691,1544,1482,1569,1722,1685,1730,1635,1815,1953,2391,2648,1691,1617,1887,1708,1622,1742,2040,1935,1690,1755,1934,2013,1628,1724,2468,2919,2195,2072,2303,2338,1885,1753,2011,1882,1513,1302,1683,1653,1463,1781,2292,2455,2718,2319,1918,1803,1560,2011,2365,1656,1526,1790,2021,1651,1647,1535,1497,1546,1547,1730,1972,2208,1745,1489,1435,1670,1864,2135,1671,1937,1866,1973,2012,1585,1542,1870,1708,1497,1421,1398,1407,1454,1500,1811,1744,1743,1910,1828,1525,1141,1137,1598,1857,1448,1582,1746,1744,1789,1674,1602,1591,1807,1916,1519,1456,1518,1760,1791,1559,1598,1499,1398,1524,1470,1531,1565,1479,1474,1528,1598,1714,1478,1562,1627,1457,1485,1811,2159,1830,1767,2045,1889,1701,1674,1354,1417,1569,1528,1662,1936,2040,1901,2050,2134,1881,2153,2540,1772,1870,1996,1667,2026,2226,1768,2139,2133,1611,1695,2019,2128,1918,1972,2124,1976,1802,1496,1500,1490,1557,2142,2696,2479,2085,2091,2106,1545,1466,1443,1525,1925,2050,2003,2094,2136,2008,1865,1924,2176,2416,2232,2061,1682,1770,2543,2395,2437,2656,2713,2202,1915,2341,2243,1731,1504,1389,1292,1686,1733,1572,1755,1738,1659,1654,1560,1519,1496,1454,1831,1985,1686,1603,1478,1554,2681,3139,2818,2490,2364,2093,1958,2236,2414,2338,2278,2169,2289,2564,2453,1948,1932,1703,1630,1714,1666,1537,1454,1352,1358,1905,1719,1371,1459,1592,1515,1534,1626,1454,1460,1488,1469,1506,1782,1772,1710,1706,1627,1665,1627,1731,1527,1499,1643,1493,1339,1441,1498,1294,1325,1442,1657,1632,1411,1331,1139,1161,1356,1559,1513,1627,1680,1644,1593,1541,1559,1573,1616,1523,1384,1355,1350,1364,1590,1538,1367,1405,1561,1413,1969,2382,1992,1643,1756,2036,2239,2093,2645,2984,3125,2626,2275,3044,3537,2392,1460,1552,1517,1954,2360,1847,1808,2096,2325,1910,1509,1354,1638,1717,1684,1793,1895,1695,1992,2271,1697,1978,2039,1692,1651,1634,1676,1759,1704,1648,1587,1531,1603,1638,1601,1685,1669,1712,1577,1466,1649,2101,2060,1872,1756,1322,1532,1605,1699,2213,2175,1704,1706,1768,1986,2056,1742,1823,1915,1628,1653,1792,2060,1731,2069,3364,2242,1782,1952,1795,1546,1956,2195,1737,1771,1961,1770,1790,1604,1485,1539,1638,1958,2222,2526,2375,2006,1633,1518,1766,2081,2083,2145,2214,1741,1718,1715,2094,2352,1877,1670,1975,1748,1723,1998,1669,2330,2581,2202,2460,2396,2062,1847,1627,1621,1461,1600,1732,1500,1410,1510,1519,1889,2355,2819,2872,2785,2562,2054,1845,2132,1859,1750,2091,2245,1691,1664,2568,2831,2398,2238,2008,2066,2333,2167,2498,1968,1791,1777,1844,1749,1866,2235,2024,1963,2218,1799,1631,1787,2060,1883,1787,1911,1836,2325,2706,2407,2088,1835,1858,1731,1472,2206,2509,2423,2888,2477,2246,2050,1820,2018,2585,2908,2366,2643,3023,2473,2679,2173,1634,1494,1698,1821,1780,1808,1942,1685,1807,2048,1738,1382,1481,1853,1917,2200,1895,1974,1733,1277,1234,1231,1208,1387,1881,2241,1877,1759,1883,2568,2372,2499,2402,1950,1768,1649,1693,1870,1819,1672,1676,1887,1810,1513,1440,1478,1372,1332,1462,1455,1743,2018,1481,1343,1392,1820,1599,1404,1363,1256,1328,1509,1569,1381,1770,2216,1279,1326,1334,1332,1234,1114,1252,1285,1236,1272,1360,1410,1690,1960,1816,1780,1826,1818,2033,2050,2012,2031,2220,2287,2113,2031,2229,2129,1696,1564,1656,1575,1778,2273,2579,2817,2909,2577,2135,2145,2003,1880,1889,1860,2288,2384,2480,2613,2336,1878,1799,2364,3105,3430,3747,3982,4277,3936,3739,3937,4166,4484,4787,4788,4213,3183,4007,4463,4444,4169,3361,3155,2908,3792,4416,4000,3098,3006,3108,3152,3278,3362,3606,3709,3427,3171,3338,4012,3932,4291,4497,4328,4133,4132,4401,4412,4532,4632,3928,3518,4144,4552,4833,4707,4736,4643,4488,4529,4120,3403,3085,3663,4397,4225,3833,3888,4094,3826,3987,3886,3916,4005,4087,3871,3564,2937,2619,3725,3935,4213,4107,3562,3495,3681,4074,4357,4374,4092,3986,4300,4299,4092,4175,3593,3339,3514,3598,3818,3828,3896,4057,3997,3923,3461,2040,1031,998,1139,1444,1328,1115,1012,1411,1651,1531,1427,1481,1781,2187,2456,2623,3392,2934,3045,2669,2867,3222,3262,3450,3400,2825,2306,1969,1561,1503,1439,1394,1356,1288,1252,1228,1140,1082,1046,997,1044,1096,1137,1533,2768,2621,2609,3364,3171,2812,3007,2964,2647,2841,3017,2363,2152,2002,1685,1611,2075,2110,2022,1836,1460,1584,2208,2710,2922,2815,2938,3297,3256,3071,3249,3440,3374,2819,2363,2416,2284,1976,2203,2030,2008,1910,1802,1800,1698,1661,1414,1281,1357,1389,1220,1026,1013,1153,1116,1017,1019,1027,1034,1147,1134,1083,1077,1062,1068,1158,1346,1753,2468,2967,2780,2503,2422,2555,2565,2160,1519,1165,1120,984,832,795,744,672,629,610,608,626,656,668,655,654,640,639,719,820,1105,1727,1747,1947,2126,1927,1946,2185,2358,2379,2284,2320,2331,2196,2056,1765,1461,1299,1207,1042,884,834,838,803,757,752,755,734,759,809,915,982,958,998,1097,1234,1395,1507,1581,1594,1570,1492,1453,1543,1883,1689,1562,1743,1592,1042,765,1063,1108,491,392,384,351,351,349,344,392,377,741,1110,987,731,710,509,452,368,320,291,269,266,265,264,263,258,259,260,264,265,267,265,270,271,279,279,316,323,318,349,370,386,388,383,359,366,376,520,542,496,448,426,425,410,386,366,363,359,340,322,324,333,340,366,340,335,374,404,393,318,319,303,296,298,291,297,299,296,294,297,299,296,276,266,275,280,294,308,310,305,315,329,348,369,372,366,374,405,448,428,425,466,496,482,446,443,455,453,451,465,488,496,503,458,454,548,783,781,836,946,959,920,930,970,855,709,559,482,426,405,402,435,422,372,422,464,440,473,496,490,463,442,422,406,400,405,410,426,423,407,406,398,384,382,386,429,496,547,585,599,625,606,579,590,573,495,502,485,474,471,426,524,527,463,439,451,468,466,481,469,427,420,406,397,396,386,379,385,395,415,442,462,468,466,472,466,458,446,441,447,417,459,507,453,433,487,503,514,535,521],[2865,3420,3849,3850,3662,3439,3265,3199,3145,3482,3418,3436,3297,3413,3322,3118,2865,2405,2186,2069,2017,2187,2408,2730,3494,3341,3150,3509,3514,3497,3522,3296,3127,3432,3641,3550,2984,2722,2449,2216,1938,2080,2092,2181,2248,2497,2801,3108,3022,3140,3084,2437,2510,2683,3350,3240,2184,1753,2219,2342,2104,1861,1839,1949,1819,2114,2408,2689,2397,1830,2044,2562,2664,2385,2028,2562,2618,2224,2513,2584,2676,2529,2428,1931,1590,1626,2174,2502,2534,3023,2566,2608,2541,2851,2748,2564,2267,1678,1658,1449,1344,1920,2370,2380,2396,1763,1831,2186,2390,2097,1939,2103,2092,2204,1924,1391,1643,2015,2025,2156,2729,2680,2530,2177,2254,2197,2020,2158,2086,1869,2320,2617,2613,2802,2618,2048,2132,2321,2443,1807,1356,1425,1418,1399,1420,1426,1439,1430,1651,2486,2852,2878,2934,3162,3144,3125,2758,2484,3222,3666,3320,3322,3262,3012,2878,3242,3742,3701,3463,3292,3330,3638,3740,2983,2314,2290,2792,2912,2896,2800,2763,2724,2557,2732,2589,2545,2785,2864,2740,2761,3372,3183,3200,3521,3626,3521,3431,2844,2312,2065,1970,1916,2040,2114,2302,2119,2463,2762,2108,2053,2420,2856,2916,2863,2520,2299,1951,1805,2266,2663,2332,2165,2400,2388,2786,2548,1974,2147,2153,2320,2385,2477,2472,2562,2951,2895,1832,1433,1127,1583,2418,2286,2232,2293,2100,2226,2306,3010,3576,2585,2453,2213,2519,2589,2124,1992,2055,1958,1710,2064,2867,3133,2921,2745,2734,3052,3293,2928,2421,2285,2402,2237,2122,2315,2461,2143,1929,2242,2751,2106,2307,2685,2574,2397,2323,2205,2146,2022,2020,1803,1498,1696,1662,1560,1909,2525,2407,1702,1768,2040,2010,1708,1572,1549,1482,1323,1645,1488,1665,2328,2389,2198,1968,1780,1709,1763,1848,2013,2148,2102,2170,2959,1876,1327,1749,1869,1627,1901,2201,1884,1694,1493,1766,1591,1908,2204,1824,2111,2124,1957,2062,2055,1718,1848,2458,2087,2214,2360,2418,2719,2382,2205,2020,1757,1585,1578,1520,1651,2010,2089,1740,1950,2171,2348,2283,2336,2244,2301,2291,2174,2486,2363,2352,2863,2735,2508,2894,3222,2683,2257,2542,2264,2010,2233,2288,2255,1584,1525,1863,2163,1722,1624,1804,1899,1772,2012,2240,2065,1987,1770,1729,2285,2187,2580,2479,2648,2247,1881,1779,1967,2103,1621,1603,1708,1610,1792,1644,1711,1958,2054,2396,3000,3426,3257,2690,2352,2500,2227,2796,3182,3167,2705,2136,1921,2118,2141,1980,2365,2425,2233,2307,1834,1954,1900,1808,1763,2093,1633,1944,2377,2454,2654,2392,2145,1782,1522,1267,1786,1997,1680,1712,1587,1694,1931,2060,1819,1750,1731,1926,1954,1924,1942,3132,3404,3084,2413,1873,1748,2048,2292,2440,2524,2830,2779,2243,2075,2250,2434,2297,2264,2413,2402,2310,2097,2039,2045,2346,2408,1950,1967,2083,2247,2353,2213,2048,1782,1689,1822,1763,1728,1868,1852,2208,2286,2220,1641,1142,1147,1344,2132,2810,2520,2135,2079,2385,3108,3220,2743,1964,1916,1739,1698,2012,2282,2230,2362,2561,2702,2692,2303,2028,2004,1932,1932,2220,2166,1672,1769,2166,2357,2250,2088,2176,2854,2832,2543,2623,1873,1544,1350,1418,1703,1849,1766,1550,1604,1574,1420,1396,1331,1504,1405,1537,1876,1518,1853,2244,1930,1954,1615,1764,1846,1942,1825,1923,1768,1462,1549,1699,1813,2016,1958,1872,1648,1432,1460,1730,2042,1925,1733,2209,2200,1756,1675,2012,2308,1743,1707,2331,2363,1378,982,1482,1756,1676,1991,2523,2701,2676,2220,1544,1627,1708,2245,2104,1683,1943,1843,1712,1598,1420,1426,1406,1256,1605,2131,2388,2578,1634,1393,1360,1549,1716,1604,1576,1910,1897,1574,1211,1455,1779,1744,1448,1499,1460,1576,1369,1525,1564,1831,1947,1850,1903,1785,1451,1255,1753,1644,1425,1538,1471,1567,1816,1880,1682,1553,1613,1774,1748,1584,1802,1765,1750,1513,1563,1748,1454,1328,1378,1414,1450,1444,1466,1494,1706,1796,1678,1448,1483,1563,1635,1721,2154,2182,1758,2048,2268,2078,1665,1561,1655,1779,2207,1976,1938,2241,2137,2148,2164,2103,2210,2980,2822,1831,1869,1681,1584,2214,2397,1840,1610,1476,1432,1707,2137,2152,1741,1846,2182,2219,1877,1748,1732,2038,2600,2928,2750,2102,1745,1907,1632,1235,1396,1426,1683,2018,1860,1878,2406,2751,2791,2018,1947,1665,2368,2251,1672,1742,2568,2949,2721,2544,2523,2597,2420,2544,2655,1735,1625,1586,1512,1428,1446,1539,1546,1569,1581,1579,1400,1389,1644,1455,1355,2144,2532,1773,1532,1421,1890,3305,3378,2341,1861,1828,1866,1788,1711,2060,1921,2141,2504,2302,2766,2533,2105,2285,1820,1597,1577,1527,1644,1766,1612,1405,1859,1809,1666,1625,1521,1389,1390,1540,1354,1575,2092,1860,1480,1678,1750,1758,1676,1497,1428,1563,1583,1514,1533,1506,1347,1364,1470,1441,1260,1278,1280,1585,1664,1356,1267,1256,1302,1324,1430,1423,1483,1438,1478,1491,1508,1379,1414,1535,1445,1343,1348,1244,1448,1769,1581,1588,1509,1588,1532,1511,1758,1727,1582,1838,2008,1755,2135,2883,3372,3677,3035,2320,2751,3207,2288,1614,1773,1619,2020,1987,1492,1599,1900,1902,1691,1542,1431,1614,1810,1691,1887,2093,2008,2006,2370,1716,1696,1749,1570,1542,1512,1429,1498,1487,1546,1600,1666,1875,1692,1729,1879,1776,1778,1692,1721,1815,1890,2096,1929,1775,1583,1772,1893,1589,1365,1440,1720,1913,1934,1844,1614,1613,1810,1699,1600,1553,1423,1657,1611,1726,1922,1497,1460,1752,1836,1522,1657,1622,1368,1511,1647,1744,1638,1562,1516,1645,1912,1896,2300,2952,3065,2591,1742,1739,1714,1857,2242,2344,2248,2069,1828,1710,2137,2179,1756,1830,1996,1830,1737,1935,2046,2340,2138,1912,1855,2002,2523,2571,2168,1800,1513,1447,1590,1454,1379,1425,1594,1803,2055,2710,3250,3057,2474,2090,1974,1982,1810,1814,1824,1750,1730,1860,2200,2475,2561,2295,1752,1839,2410,2580,2754,2023,1851,1916,1978,2039,2474,2445,1818,2110,1868,1506,1820,2001,1915,1833,1766,1537,1665,2995,3713,3510,3198,2408,2287,2263,1950,2289,2076,1854,2262,2241,2116,2017,2032,2163,2312,2068,2165,2727,2944,2542,2633,1957,1773,1918,1704,1424,1296,1614,1794,1536,1622,1743,1520,1511,1470,1321,1655,1761,1504,1874,1836,1436,1374,1323,1294,1383,1516,1600,1378,1649,2270,2502,2256,2562,2446,1903,1786,1799,1682,1527,1670,1846,1820,1651,1396,1331,1460,1515,1384,1255,1438,1509,1650,2202,1846,1360,1460,1835,1790,1519,1512,1358,1230,1510,1592,1374,1883,2399,1427,1312,1363,1271,1228,1173,1209,1230,1248,1274,1258,1209,1611,2247,2122,1940,2196,2323,2088,2114,1968,2077,2281,2310,2548,2640,2620,2620,2244,2077,2025,1985,1858,1900,2430,2648,2674,2430,1920,1902,1834,1632,1490,1312,1599,2021,2413,2402,2002,1908,1887,2279,3310,3631,3927,4003,4035,3574,3167,3715,4169,4716,5060,5112,4140,3581,4227,4256,4399,4033,3403,3032,3032,4078,4474,3974,3134,3164,3662,3860,3650,3513,3591,3539,3124,2971,3514,4220,4026,4039,4103,3881,3786,3914,4344,4615,4848,4951,4433,3949,3653,4327,4828,4885,4816,4550,4367,4376,4217,3416,3067,3445,3773,3686,3583,3959,4086,4006,4100,4133,4062,4035,3970,3858,3748,3404,3262,3606,3605,3851,3986,3599,3084,2978,3072,3288,3584,3638,3826,4260,4200,4020,3762,3303,3243,3396,3509,3890,4220,4205,3908,3740,3694,2732,1364,948,966,1285,1486,1295,1006,910,1253,1557,1450,1395,1414,1802,2226,2678,2743,3184,2864,2985,2883,3009,3436,3305,3370,3508,3160,2432,2078,1697,1515,1460,1371,1343,1323,1228,1172,1104,1022,1035,961,1001,995,1122,1390,2836,3159,2610,2952,3309,2953,2768,2900,2823,2712,3161,2604,2197,2091,1890,1824,1994,2070,1988,1834,1533,1458,2139,2644,2710,2519,2685,3285,3263,3177,3277,3270,3284,2995,2405,2336,2328,1812,2085,1896,1825,1793,1676,1689,1605,1576,1415,1242,1322,1424,1302,1061,943,1120,1116,994,932,952,981,1079,1122,1137,1200,1138,1086,1080,1289,1506,2072,2734,2754,2446,2276,2358,2354,2126,1656,1212,1054,942,855,805,749,697,657,641,630,636,675,681,648,633,618,627,732,816,926,1495,1769,1891,2121,1996,1838,1987,2084,2274,2206,2172,2201,2061,1981,1788,1496,1320,1175,1047,895,782,800,789,774,760,706,670,690,738,828,952,956,916,983,1120,1257,1348,1428,1474,1483,1400,1351,1434,1666,1608,1381,1596,1788,1244,750,926,1220,644,407,387,351,354,364,369,408,458,704,1178,1261,789,742,556,465,388,335,296,270,261,262,261,253,246,246,252,261,255,259,261,262,272,275,270,304,332,324,350,362,379,383,398,365,373,382,479,512,465,426,403,385,383,362,352,358,354,342,331,332,335,338,364,355,332,357,393,381,321,317,306,298,294,291,292,291,290,290,294,300,295,277,272,272,285,296,312,321,313,320,333,344,357,367,367,376,374,434,428,414,440,478,472,428,408,417,424,441,462,492,505,495,454,441,472,710,792,782,890,924,901,870,952,878,745,589,485,413,408,406,421,440,394,412,507,521,535,510,467,450,446,431,408,397,393,396,412,412,401,425,400,372,369,387,433,474,517,533,504,542,614,565,543,580,483,482,474,450,448,418,503,528,462,444,444,443,435,473,451,445,442,429,412,400,388,382,386,398,415,437,454,464,472,466,466,462,451,438,450,418,457,547,500,422,466,490,504,528,500],[2921,3310,3342,3200,3337,3417,3120,3033,3354,3397,3172,3248,3208,3414,3352,2836,2404,2364,2243,2148,2142,2259,2667,3388,3697,3404,3464,3678,3604,3413,3364,3323,3310,3517,3481,3449,2689,2033,1535,1522,2117,2502,2309,2357,2887,2973,2995,2805,2408,2889,2813,2509,2591,2884,3198,2884,2204,2124,2301,2142,1601,1778,2106,2348,2298,2098,2606,2778,2121,1884,2255,2258,2467,2529,2462,3222,3480,3624,3585,2956,2694,2879,2811,2128,1761,1635,1894,2044,2285,2499,2383,2500,2435,2688,2391,2304,2136,1722,1519,1630,2119,2272,2199,2280,2412,2252,2212,2699,3233,2583,2173,2455,2675,3034,2525,1457,1902,2545,2382,2088,2490,2675,2519,2512,2386,2154,2013,2091,2019,2078,2289,2359,2337,2514,2124,1516,1804,2603,2472,1715,1390,1443,1514,1494,1418,1401,1410,1421,1699,2660,2967,3024,3055,3161,3256,3367,3051,2709,3129,3425,3082,3218,3160,3049,3241,3499,3527,3551,3683,3672,3514,3510,3520,3040,2568,2434,2944,2734,2642,2803,2763,2634,2746,2741,2645,2911,2836,2973,2943,3021,3200,3087,3222,3429,3377,3225,2754,2152,2065,2255,2620,2221,1997,2034,2395,2753,2931,2850,2622,2934,3350,3131,2454,1972,2039,2464,2119,2167,1979,2368,2864,2968,2918,2644,2916,2680,1910,2328,2691,2425,2627,2842,2651,2479,3369,3371,2127,1817,1904,2067,2325,2567,2366,1947,2157,2614,2696,2876,3381,3114,2519,2579,2711,2392,2512,2087,1663,1709,1655,2075,2784,2947,2689,2662,2909,2942,2458,2088,2062,2306,2557,2426,2183,2198,2013,1842,1588,2275,2439,1514,2032,3111,3046,2600,2510,2482,2077,2126,2044,1814,1714,1599,1525,1624,2111,2857,2564,1864,2088,2053,2325,2229,1871,1575,1438,1235,1600,1808,1891,2018,2197,2231,1981,1577,1815,1628,1646,1979,2015,1986,1967,1975,1695,1556,1645,1778,1734,1770,2032,1841,1461,1533,1525,1499,1627,1433,1717,1935,1652,1576,1739,2010,1776,1769,1860,1720,2209,2405,2212,2125,2042,1866,2014,1870,1870,1823,1593,1672,2186,2065,1728,2143,2450,2351,2105,2036,2115,2241,2551,2512,2862,2685,2279,2115,2087,2031,2708,3023,2721,3106,3466,2788,2203,2300,1946,1758,1776,1681,2129,2575,1949,1472,1404,1488,1643,1866,2239,2156,1771,1614,1667,2032,2518,3654,3947,3344,2145,1594,1719,1987,1924,1692,1710,1820,1700,1921,1746,1878,2041,2181,2422,2955,3550,3487,2608,2118,2437,1957,2980,3217,2857,2591,2133,1946,2128,2166,2326,2435,2524,2232,2252,1807,1885,2262,2244,2580,2615,2011,1837,2022,2196,2433,2308,2088,1493,1635,1674,1970,1891,1764,1701,1612,1852,2443,2576,1999,1770,1936,1908,1865,2349,2846,3662,3627,3374,3123,2413,1762,1727,1994,2230,2404,2586,2973,2677,2471,2173,2238,2223,2150,2128,2008,1830,2192,2881,2709,3120,2863,1866,1853,2057,1942,1986,2026,2072,1929,1612,1680,1865,1768,1649,1853,2414,2220,2138,1642,1526,1500,1237,1872,2599,2538,2156,2132,2060,2275,2569,2210,1780,1665,1711,1786,2086,2379,2224,2104,2136,2452,2542,2439,2239,2195,1965,1846,2367,2159,1634,1967,2314,2688,2548,2393,2274,2363,2014,2122,2290,2288,2333,1979,1918,2077,2075,2095,1824,1957,2142,1815,1319,1245,1346,1165,1484,1781,1420,1582,1780,2066,2062,1527,1929,2092,2036,1860,1587,1449,1432,1629,1763,1923,2525,2231,1980,1631,1412,1710,1961,2078,2015,1682,1688,1680,1874,1898,2036,2149,1719,1752,2568,2636,1728,1352,1734,1811,1780,2176,2659,2604,2145,1809,1523,1616,1514,1747,1588,1503,1743,1800,1762,1733,1676,1804,1698,1541,1813,1931,1869,1845,1596,1636,1445,1473,1596,1423,1519,2079,2041,1271,967,1422,1958,1743,1376,1355,1607,1736,1511,1489,1550,1663,1613,1763,1972,1823,1400,1277,1774,1687,1424,1663,1577,1625,1846,1905,1692,1511,1662,1683,1540,1720,1833,1783,1893,1922,1773,1590,1456,1328,1243,1313,1438,1493,1627,1531,1653,1845,1698,1608,1345,1461,1826,2041,2438,2097,1698,2279,2497,2181,1769,1655,1824,2330,2886,2589,2622,2359,2361,2603,2217,1762,1694,1915,2050,1829,1859,1758,1471,1746,1829,1665,1635,1600,1564,1719,1844,1935,1682,1873,2105,1963,1838,1807,1798,2165,2536,2475,2213,1805,1682,1637,1494,1609,2212,2181,1997,2162,1865,2035,2282,2401,2422,1809,1802,2134,2410,2187,1920,2142,2742,2718,2636,2221,2023,2163,2474,2769,1976,1477,1761,1599,1470,1523,1507,1760,2102,1899,1626,1700,1387,1549,1948,1716,1538,1964,1828,1460,1450,1290,1759,2477,1896,1516,1596,1750,1780,1831,1800,2097,1937,2020,2293,2163,2210,2455,2426,2124,1758,1566,1728,1599,1570,1575,1423,1570,1756,1669,1825,1772,1479,1453,1773,1421,1360,1541,1749,1497,1308,1447,1619,1758,1708,1339,1317,1361,1506,1558,1473,1451,1373,1323,1511,1455,1357,1322,1239,1437,1490,1344,1273,1426,1503,1439,1460,1433,1389,1350,1497,1780,1722,1419,1518,1596,1395,1451,1376,1284,1446,1865,1751,1572,1415,1461,1538,1455,1463,1598,1626,1859,2048,2126,2416,2872,3396,3200,2690,2293,2462,2794,2091,1536,1891,1797,1770,1489,1357,1763,1859,1469,1348,1333,1335,1606,1808,1894,2326,2192,1982,1852,2225,2020,1856,1759,1578,1511,1568,1530,1592,1694,1720,1765,1945,2076,1581,1643,1999,2048,2052,2119,2062,1972,1801,2073,1731,1665,1543,1669,1856,1638,1422,1430,1694,1893,1906,1664,1407,1549,1672,1446,1704,1798,1870,1831,1743,1593,1338,1301,1344,1582,1808,1531,1438,1431,1434,1472,1876,2047,1749,1595,1695,1900,2003,1838,2076,2418,2547,2105,1659,1985,1742,1709,2290,2468,2409,2407,2264,2058,2042,2009,1959,2101,1953,1823,2173,2171,1797,1737,2028,1947,1739,1712,2120,2188,2326,1778,1658,1569,1678,1629,1753,2004,1850,1198,1158,2076,2640,2609,2380,2548,2304,1931,2073,1965,1683,1453,1400,1591,1735,2111,2547,2565,2135,2214,2261,2166,2156,1893,1902,2106,2293,2779,2985,2308,1909,2137,1847,1847,2099,1829,1632,1694,1615,1484,1882,2912,3602,3432,3360,2899,2397,1881,1471,1554,1527,1636,1812,1895,1966,2139,2511,2764,2154,2271,2732,2524,2836,3270,2780,1974,1770,1616,1534,1475,1310,1680,1775,1489,1724,1613,1525,1549,1487,1502,1878,1723,1395,1659,1772,1475,1453,1542,1433,1445,1548,1527,1402,1738,2140,2071,2482,3072,2986,2038,1786,1676,1521,1471,1525,1647,2012,1754,1373,1503,1620,1563,1363,1343,1353,1531,1686,2241,1697,1327,1338,1489,1511,1564,1605,1360,1351,1500,1484,1475,1529,1560,1437,1543,1448,1346,1320,1258,1287,1360,1449,1454,1478,1301,1307,1814,2093,1935,1868,2025,2184,2271,1911,1754,1578,1644,1992,2263,1861,2043,2020,2282,2281,2172,1701,1497,1936,2081,2013,1951,1688,1776,1665,1431,1397,1583,1919,2106,2230,2056,1560,1552,1660,2022,3205,3749,4124,4093,3872,2812,2209,3169,4125,4483,4864,4953,4368,4360,4976,4916,4519,4034,3143,2682,2974,3848,4048,3847,3765,3716,3812,4110,3942,3729,3610,3433,3241,2882,3448,4252,4325,4325,3935,3581,3950,3824,4062,4092,4801,5158,4741,4177,3388,3369,4039,4689,4876,4706,4466,4344,4052,3574,3683,3552,3396,3383,3475,3543,3774,3930,3663,3593,3747,3791,3816,3732,3514,2987,3517,3715,3481,3503,3874,3698,3178,3044,3083,2602,2864,3204,3616,4198,4198,4175,4187,3838,3507,3565,3660,4111,4677,4383,4166,4052,3676,1910,1052,910,917,1356,1535,1300,1120,936,1109,1440,1332,1326,1290,1728,2147,2718,2856,3149,2964,2925,3116,3139,3606,3414,3319,3420,3324,2425,2069,1803,1639,1577,1410,1332,1274,1194,1093,1064,965,984,940,978,929,1084,1392,2379,3105,2761,2631,3239,3163,2724,2713,2824,2589,2927,2844,2350,2168,2050,1914,1982,2030,1906,1827,1723,1517,2032,2559,2705,2448,2581,3092,3144,3217,3292,3143,3107,3052,2496,2289,2442,1819,1936,1859,1730,1685,1590,1539,1550,1537,1390,1199,1270,1415,1408,1129,963,1004,1108,1011,884,891,895,965,1051,1133,1285,1281,1205,1050,1190,1287,1770,2391,2692,2564,2288,2294,2208,2100,1781,1378,1115,942,868,799,743,708,676,650,624,637,625,613,615,620,606,619,713,835,871,1273,1810,2036,2119,2054,1740,1866,1908,2143,2218,2152,2143,2003,1882,1774,1568,1336,1158,1058,935,772,760,755,753,734,671,630,634,674,749,858,895,839,861,950,1079,1223,1313,1355,1343,1322,1350,1369,1457,1474,1255,1367,1798,1472,781,778,1238,869,476,401,362,355,374,369,424,545,662,1067,1368,874,752,639,495,411,355,310,273,258,255,256,248,239,239,244,246,248,256,260,263,269,278,279,297,324,339,360,367,382,369,413,386,364,389,441,532,516,420,398,390,411,395,380,368,357,347,337,335,335,347,361,369,342,327,384,372,315,316,312,299,295,289,291,294,295,295,298,300,290,282,273,275,283,292,323,335,323,319,329,343,351,360,365,382,373,408,413,401,417,453,447,407,385,393,415,434,456,483,512,487,449,441,449,623,773,737,850,948,906,836,933,881,765,612,491,408,398,415,402,446,432,404,500,540,519,482,455,440,436,422,404,392,388,385,400,409,388,437,404,373,370,376,407,437,484,520,493,504,586,553,505,558,481,455,462,437,424,412,490,554,475,458,448,460,440,496,503,520,504,462,428,410,399,397,406,421,443,454,446,457,474,470,466,459,451,442,447,435,440,501,526,444,464,476,499,517,506],[2912,3030,3507,3421,3574,3322,3020,3189,3374,3054,2964,3037,3142,3252,3108,2558,2343,2512,2489,2241,2181,2335,3231,3602,3454,3470,3601,3538,3432,3459,3226,3272,3418,3462,3391,3239,2432,1898,1718,1666,2142,2928,2755,2633,3037,3118,2966,2534,2259,2756,2753,2379,2253,2466,2571,2510,2603,2853,3001,2697,1989,1816,1926,1908,1716,1552,2057,2125,1790,1974,2308,2243,2592,2696,2702,3215,3309,3394,3185,2782,2701,2949,2734,2438,2710,2293,2103,1992,2081,2304,2633,2513,2470,2482,2164,2208,2007,1918,2100,2392,2162,1892,2194,2111,2277,2671,2344,2533,2594,2302,2432,2416,2320,2661,2974,2231,2261,2674,2225,1658,2062,2531,2215,2212,2453,2499,2258,2041,2224,2305,2120,2496,2625,2548,1770,1115,1842,2610,2310,1885,1505,1405,1404,1439,1422,1439,1434,1431,1789,2625,3099,3200,3183,3192,3300,3510,3223,2829,2622,2829,3060,3030,3006,2893,3041,3416,3517,3468,3572,3980,3882,3114,2687,2832,2686,2871,3012,2741,2693,2709,2563,2644,2762,2796,2824,2980,2788,2856,2995,3138,3384,3577,3648,3576,3426,3095,2377,2014,2123,2401,3037,2275,2286,2429,2740,2925,2820,2700,2664,2895,3338,2871,1924,1991,2334,2280,2282,2360,2221,2678,3008,2898,2656,2184,2310,2818,2244,2524,2633,2801,2841,2697,2857,2907,3609,3440,2287,2000,2137,2144,2147,2702,2392,2082,1940,2248,2350,2382,2900,2809,2448,2575,2249,2055,2427,1937,1368,1553,2358,2902,2894,2652,2325,2316,2377,2215,2061,2238,2147,2293,3120,2867,2139,1922,1825,1774,1875,2577,3002,2786,2952,3090,2828,2589,2646,2349,2110,1961,1832,1863,1819,1735,1795,1910,1847,2325,2441,1904,2179,2460,2624,2584,2596,1939,1507,1659,2057,2236,2076,1845,1958,1968,1699,1522,2071,1823,2138,2220,1871,1690,1855,1948,1968,1961,1816,1810,1627,1309,1728,1810,1506,1588,1492,1748,1858,1521,1702,1677,1504,1472,1810,2048,1802,1836,2008,1918,1875,2042,1829,1615,1910,2454,2365,2088,2194,2554,1932,1712,2476,2213,1986,2666,2774,2275,2161,1920,2159,2382,2536,2269,2518,2745,2185,1583,1854,2252,2678,3172,2762,2108,2762,3166,2536,2292,1878,1745,1933,1843,2068,2173,1886,1644,1638,1662,2122,2392,2648,2200,1894,1800,1834,1816,2095,2713,3043,2564,1690,1543,1649,1576,1800,2004,1864,1892,2042,2214,2048,1933,2221,2237,2242,2646,2962,2957,2697,2307,2364,2170,2687,2732,2188,1944,1844,1962,2102,2027,2153,2176,2224,2025,2108,2019,2042,2013,2339,2707,2630,2534,2306,2470,2395,2250,2142,2038,1582,1581,2099,2456,2302,2000,1760,1638,2014,2706,2888,2136,1783,2185,1875,1978,2585,3204,3706,3496,2917,3162,3023,2438,1706,1643,1688,1874,2081,2353,2339,2155,2015,1963,2108,2489,2592,2238,1717,2095,3039,2697,2749,2342,1635,1758,2145,2161,1980,1907,2042,2138,1670,1784,1742,1672,1842,1891,2004,2293,2177,1733,1764,1560,1467,1925,1952,2014,1844,2076,2188,2117,2122,2133,1882,2014,2496,1966,1644,1793,1971,2026,1795,1841,2126,2204,2103,2149,2178,2529,3172,2972,2442,2705,3082,3068,2526,2254,2481,2274,1853,2058,2308,2895,2902,2263,2525,2458,1954,2040,2201,2316,2424,1795,1586,1792,1614,1537,1755,1785,1527,1559,1387,1555,1641,1452,1787,1989,1876,1792,1759,1770,1785,1897,1791,1719,1805,1575,1709,1663,1664,1977,2042,1873,1619,1631,1877,1954,1804,1660,1659,2051,2215,2454,2841,2703,2052,1610,1721,1791,1771,1850,1855,1813,1555,1296,1632,1629,1632,1628,1505,1560,1907,1838,1771,1859,1440,1497,1820,1891,2117,1641,1397,1457,1428,1143,1188,1686,1881,1428,1744,2036,2003,1096,1117,1776,2072,1889,1444,1252,1281,1383,1808,1965,1440,1366,1433,1633,1932,1869,1637,1454,1412,1360,1613,1785,1576,1685,1893,1895,1667,1558,1849,1911,1716,1858,1908,1690,1830,2068,2020,1713,1433,1299,1276,1376,1453,1443,1411,1560,1765,1699,1732,1554,1249,1608,1819,1951,2338,2408,2265,2673,2938,2559,1998,1689,1876,2706,2846,2883,3152,2460,2461,2511,2295,1602,1643,1807,2073,1829,1523,1328,1481,1504,1433,1547,1648,1876,1718,1637,1568,1785,1696,2113,2296,1708,1688,2134,2354,1980,1833,1917,2252,1908,1639,1625,1816,2148,2918,3071,2293,2533,2258,2224,1802,2172,1838,1499,2211,2670,2331,2238,2003,2086,2636,2387,2404,2083,1619,1696,2058,2039,1213,1154,1516,1594,1512,1484,1802,2136,2270,2182,1706,1648,1772,1762,2010,2030,2010,2008,1776,1587,1535,1434,1491,1902,1954,1713,1750,1760,1543,2059,2207,1840,1650,1601,1938,2078,1778,1929,2156,2184,2166,2000,1776,1575,1491,1409,1434,1697,1685,1575,1494,1562,1504,1404,1395,1290,1296,1416,1472,1405,1311,1315,1369,1418,1397,1298,1450,1556,1438,1344,1473,1462,1411,1466,1418,1302,1376,1403,1488,2065,1805,1471,1416,1842,1710,1591,1584,1442,1418,1466,1620,1661,1456,1477,1542,1529,1356,1377,1350,1439,1531,1585,1629,1750,1533,1425,1438,1462,1411,1454,1519,1538,1454,2046,2441,2900,3023,2325,1920,2156,2279,2553,1973,1853,2075,1858,1573,1426,1329,1506,1495,1499,1880,1769,1327,1483,1603,1795,2417,2467,2454,2294,1921,2014,2150,1886,1600,1659,1826,1757,1618,1795,1808,2238,2449,2287,2108,1818,1761,2046,2787,3357,2592,1979,1768,1752,1500,1337,1383,1633,1817,1758,1500,1690,2304,1814,1382,1446,1382,1587,1565,1522,1991,2734,2441,1719,1726,1701,1383,1469,1516,1492,1758,1814,1744,1600,1442,1253,1489,1957,1924,1732,2214,1946,2212,1927,1710,1909,1792,1605,1772,1955,1777,1944,2094,2055,2254,1907,2054,1998,1805,1797,1886,1791,1658,1583,1663,1797,1511,1836,2823,2630,2216,2578,2316,2020,1943,1800,1974,2037,1949,1819,1905,2024,1718,877,1302,2055,1884,2237,2436,2618,2104,1791,2161,1990,1620,1483,1710,1826,1942,2541,2956,2714,2443,2209,2078,1997,1772,1570,1717,2012,2024,2700,2644,1763,1663,1957,1977,2002,2115,1928,1931,1843,1667,1578,1569,2285,3183,3318,3340,3029,2280,1690,1828,1855,1706,1775,1892,1847,2013,2181,2740,3108,2518,3055,2792,2522,2467,2409,2398,2278,1874,1549,2116,2081,1599,1898,1635,1719,1870,1842,1895,1763,1470,1714,2110,1779,1765,1690,1523,1659,1847,2098,1696,1471,1496,1488,1469,1966,2080,1655,2216,2766,2500,1641,1430,1341,1388,1573,1518,1752,2435,2094,1450,1511,1739,1521,1390,1392,1385,1462,1527,1788,1817,1667,1384,1310,1271,1397,1423,1421,1606,1734,1834,1640,1759,1631,1488,1512,1370,1259,1318,1402,1453,1502,1455,1468,1674,1528,1354,1453,1702,1763,1787,1742,1820,1942,1881,1622,1258,1252,1236,1209,1095,1282,1420,1392,1647,2189,1937,1729,1881,1885,1930,1990,1787,1870,1901,1948,1971,1743,1755,1940,1997,1968,1856,1509,1439,1985,3418,4125,4184,4033,3948,3765,3404,3660,4092,4231,4684,4544,4436,4501,4367,4500,4344,3818,2997,2789,3232,3523,3526,3560,3671,3452,3762,3858,3770,3654,3555,3423,3099,2995,3757,4401,4517,4585,4099,4003,4027,3852,4075,3562,4159,4833,4665,4276,3531,2889,3042,3758,4604,4992,4712,4685,4521,4121,3637,3425,3343,3259,3444,3387,3274,3309,3278,3574,3801,3876,3665,3430,3471,3429,3285,3350,3556,3492,3353,3150,3077,3216,3206,3133,3067,3199,3665,4067,4275,4100,3724,3072,2598,3085,3695,3963,4452,4587,4447,4295,3635,1918,977,881,932,1301,1550,1384,1226,1049,1102,1356,1266,1247,1194,1636,2132,2670,2997,3256,3195,2849,3187,3343,3569,3404,3221,3106,3211,2631,2164,1942,1698,1498,1373,1301,1209,1130,1043,1003,943,921,912,957,946,1058,1449,2159,2842,2875,2434,2988,3194,2768,2702,2897,2622,2683,2895,2474,2100,2028,1784,1814,1908,1820,1784,1859,1666,1773,2338,2750,2424,2240,2670,3032,3189,3272,3106,2876,2969,2580,2156,2466,2008,1775,1813,1693,1572,1510,1451,1429,1467,1396,1238,1200,1308,1414,1228,1009,937,1047,1050,895,835,834,877,1022,1088,1238,1439,1432,1134,1036,1207,1732,2239,2608,2698,2253,2204,2054,2033,1871,1616,1279,1000,888,793,721,711,679,653,629,588,584,595,596,595,596,623,702,877,940,1112,1751,2208,2173,2115,1671,1755,1836,2029,2168,2122,2049,1908,1779,1744,1632,1404,1118,991,932,797,749,714,680,655,627,606,604,635,682,761,807,786,785,810,932,1128,1281,1313,1257,1229,1224,1221,1232,1295,1239,1308,1723,1665,967,652,1109,1068,596,404,377,374,384,389,415,534,570,877,1460,1100,747,689,549,437,370,310,285,250,251,251,247,239,240,242,240,243,240,252,263,268,279,293,308,325,344,340,375,403,371,412,421,370,399,426,527,528,400,390,404,436,431,397,373,359,349,337,330,336,349,363,369,362,335,356,371,323,309,317,297,290,285,290,300,306,308,299,292,285,280,271,275,280,292,323,345,336,327,341,354,363,366,371,374,381,401,400,389,395,421,427,399,371,371,390,419,448,478,509,500,466,446,443,549,720,713,777,884,869,827,897,863,779,652,502,431,386,404,407,434,478,429,491,551,521,489,473,446,425,402,390,391,382,387,389,404,382,434,424,376,359,366,391,422,469,532,563,547,575,539,487,526,479,439,449,431,416,412,485,576,489,492,487,503,489,534,565,579,558,509,461,426,403,433,428,457,473,462,446,453,454,466,471,451,453,444,438,438,434,470,544,486,475,481,488,500,502],[2874,2742,3394,3404,3405,3061,2954,2963,3222,3565,3419,3127,3254,3189,2864,2372,2323,2498,2512,2463,2583,3165,3584,3260,3200,3418,3387,3274,3199,3340,3430,3275,3386,3346,3327,3284,2764,2199,2019,2179,2674,3067,3033,2776,2777,2998,2895,2892,2851,2930,2732,2136,1831,2008,2013,2074,2450,3564,3827,3046,2488,2077,2005,2207,2076,1905,2173,2082,2035,2244,2200,2079,2381,2540,2615,2890,2976,2968,2822,2719,2857,2949,2758,2634,2847,2336,2181,2271,2092,2288,2576,2560,2763,2728,2788,2542,1999,2435,2930,3002,1850,1347,2084,2093,2179,2251,2106,2176,2017,2329,2579,2505,2547,2910,2687,1967,1878,2171,1992,1662,1885,2142,1804,2206,2517,2533,2356,2456,2364,2164,2097,2330,2371,2299,1814,1518,1933,2340,2402,1977,1556,1485,1442,1444,1473,1460,1468,1433,1970,2901,3163,3265,3298,3263,3071,3332,3237,2826,2566,2508,2745,3000,2856,2787,3199,3344,3542,3635,3355,3383,3934,3483,2876,3021,2845,2799,2895,2873,2723,2495,2436,2780,3052,2943,2814,2809,2929,2899,2979,3262,3555,3836,3872,3695,3542,3313,2508,2486,2430,2311,2303,2137,2380,2429,2665,2805,2676,2798,2733,2685,2791,2446,1975,2348,2420,2184,2309,2230,2172,2508,2660,2768,3051,2767,2751,3085,2626,2688,2795,3086,3031,2975,3321,3516,3654,3107,2079,1952,2072,1956,1983,2371,2815,2535,2139,1787,1765,2426,2502,2039,2194,2164,1695,2035,2260,1786,1625,1802,2320,2563,2301,1714,1444,1824,1929,1478,1801,2557,2427,2024,2348,2354,2144,2292,2719,3012,2752,2884,3370,3297,3012,2823,2591,2376,2213,2068,1976,1798,1806,2025,2833,2454,1891,1670,1562,1902,2381,2690,2815,2768,2448,2058,1982,1902,1655,1758,2117,2100,1866,1717,1876,1925,1476,1705,1941,1706,1830,2052,1825,1643,1735,1870,1969,1944,1844,2015,1700,1575,1959,2289,2049,1690,1720,1717,1606,1592,1572,1485,1576,1605,1837,1987,1941,2179,2604,2567,2237,2169,1697,1711,2040,2763,2339,2151,2159,2623,2075,1973,2389,2241,2220,3056,2952,2337,1898,1654,1782,2357,2181,1910,1674,1597,1528,1311,1650,2312,3450,3828,2801,1425,2107,2966,2454,2191,2710,2755,2125,1837,1980,2241,1969,1633,1760,1904,1864,1806,2363,2296,2546,2521,2206,1843,1669,1897,2064,1924,1780,1891,1638,1592,1792,2120,2110,2189,2244,2325,2166,1478,1742,1855,1915,2129,2201,2453,2546,2358,2605,2842,2858,2388,1957,1887,2329,2237,1994,1953,2186,2067,2082,2127,2588,2756,2096,1873,2193,2315,1979,2087,1931,2131,2228,2121,2071,1872,1595,1803,2166,2471,2110,1708,1669,1641,2133,2603,2677,2141,1694,1748,1743,2052,2634,2909,2878,2705,2434,2902,3110,2957,1904,1461,1531,1633,1739,1982,2276,2406,2302,1909,2027,2394,2706,2385,1827,2013,3037,2709,2432,2095,1604,1841,2362,2696,2649,2155,1746,1931,2012,2227,1921,1805,1672,1541,1693,1791,1744,1621,1707,1627,1740,2227,2087,1858,1748,1932,2054,1914,1926,2060,2040,2541,2533,1903,1629,1717,1918,1933,2098,1895,1618,1565,1717,2023,2135,2575,3213,2858,2634,3088,3348,3450,3702,2810,2627,3024,2634,2356,2705,3394,3068,2467,2713,2520,2505,2589,2431,2367,2519,2284,2053,1829,1500,1770,1955,1704,1471,1475,1575,1548,1416,1485,1874,1830,1669,1769,2004,2405,2443,2127,1854,1768,1587,1552,1866,2031,1802,1827,2041,1706,1466,1706,2161,2154,1764,1594,1779,2270,2179,2029,2092,2254,2237,1902,1917,1918,1919,1952,1726,1740,1720,1534,1534,1508,1329,1294,1295,1521,1921,1633,1715,1950,1508,1463,1600,1825,1947,1968,1893,1833,1596,1276,1691,2823,2511,1809,2166,1819,1626,1093,1323,1812,1924,1689,1246,988,1001,1282,1914,1642,1252,1353,1550,1456,1741,1989,1888,1600,1369,1354,1585,1603,1354,1694,1983,1873,1698,1715,1901,1930,1912,1802,1625,1528,1483,1531,1647,1460,1483,1563,1411,1376,1649,1427,1426,1693,1724,1761,1864,1823,2225,2110,1575,1753,2071,2276,2149,2553,2634,2116,1756,1546,2150,2986,2818,2768,2876,2407,2197,2046,1909,1577,1787,2207,2100,1886,1768,1644,2056,1554,1411,1495,1839,1655,1504,1476,1677,1998,1770,1772,1743,1566,1575,2642,2753,1996,2115,2547,2608,2226,2216,2540,2601,2307,2589,2801,2492,2667,1998,1988,2164,2168,1926,1556,1774,1995,1913,1947,2029,2134,2555,2296,2076,1836,1417,1348,1537,1560,1448,1354,1460,1483,1421,1569,1918,2106,2260,2268,1830,1764,1898,2108,2282,2146,1975,1998,1798,1824,2107,1974,1615,1914,2514,2264,2074,1992,1681,1784,1908,1587,1531,1663,2035,2386,2182,1998,1819,2017,2092,2052,1735,1497,1526,1513,1512,1818,1534,1478,1413,1597,1749,1604,1447,1357,1317,1372,1336,1259,1394,1359,1279,1367,1234,1243,1512,1544,1355,1377,1381,1366,1466,1385,1243,1259,1305,1425,1672,2123,1870,1620,1638,1731,1505,1308,1306,1318,1361,1453,1402,1462,1382,1487,1468,1462,1412,1360,1340,1393,1480,1644,1411,1546,1493,1449,1511,1561,1430,1439,1755,1610,1416,2141,2875,2557,2540,2388,1709,2133,2235,2532,2207,1964,2206,2179,2085,2033,1812,1644,1506,1578,1804,1576,1388,1523,1519,1429,1775,2100,2276,1991,1581,1587,1696,1668,1610,2056,2282,1836,1540,1643,1816,2412,2619,2366,2185,2069,1927,1951,2579,3075,2545,1978,1604,1461,1619,1648,1659,1896,1964,1547,1517,1684,1852,1364,1245,1497,1608,1785,1667,1453,1689,2057,2042,1840,2060,2063,1913,1842,1612,1389,1566,1810,1889,1658,1460,1530,1805,2281,2454,2184,2457,2468,2718,2489,1916,1663,1609,1569,1630,1616,1854,2177,1864,1621,1700,1662,1948,1914,1810,1715,1494,1365,1444,1587,1814,1787,1813,2801,3356,2618,2548,3213,2632,2824,2999,2535,1964,1928,2159,1900,1709,1858,1574,1059,1625,2024,1848,1949,2066,2236,2050,1857,1610,1446,1605,1599,1619,1669,1719,2319,2798,2785,2314,2250,2279,2013,1980,1974,1886,2033,1925,2268,2463,1991,1951,2157,2157,2347,2186,2229,2479,1863,1553,1493,1722,2522,2718,2662,2222,2209,1945,1728,1976,1739,1243,1212,1764,1802,1851,1975,2539,2455,2205,2370,2371,2874,3023,2653,2411,2446,2072,2107,2388,2602,2295,1962,1647,1658,1599,1805,2118,2032,1687,1721,1744,1526,1570,1707,1570,1620,1630,1684,1575,1601,1612,1563,1555,1694,1919,2118,2264,1920,1532,1359,1440,1410,1397,1804,2117,2071,1932,1557,1312,1396,1673,1969,1761,1407,1430,1440,1393,1377,1496,1427,1244,1213,1198,1248,1338,1671,1805,1632,1446,1344,1445,1587,1552,1365,1284,1262,1388,1469,1479,1357,1552,1438,1367,1510,1527,1549,1626,1513,1500,1736,1782,2150,1943,1885,1205,1082,1197,1194,1209,1234,1407,1467,1667,2168,1959,1934,1960,1869,2075,2049,1968,2020,1945,1821,1691,1620,1698,1807,1718,1462,1460,1420,1410,2101,3627,4062,3857,3925,4121,4034,3754,3912,3845,4077,4451,4115,4099,4015,4015,4299,4228,3908,3662,3506,3538,3464,3496,3627,3605,3415,3724,3483,3504,3618,3564,3480,3083,3139,4192,4453,4373,4420,4488,4740,4311,4294,4392,4091,4327,4395,4161,4442,3711,3480,3548,3442,4199,4603,4299,4135,4239,3914,3529,3593,3501,3293,3514,3797,3714,3281,3471,3828,3974,3731,3304,3199,3221,2992,2765,3020,3526,3673,3555,3049,2600,3001,3383,3536,3730,3542,3459,3709,3612,3211,2907,2562,2287,2884,3592,4012,4629,4708,4247,4013,2921,1446,882,851,994,1424,1525,1466,1266,1092,1117,1273,1229,1195,1139,1493,2203,2814,3228,3460,3420,2836,3139,3389,3628,3547,3261,3070,3174,2830,2231,1911,1616,1398,1284,1199,1152,1056,999,950,925,908,896,915,959,1105,1462,2013,2571,3024,2426,2600,3116,2796,2591,2702,2596,2612,2771,2603,2093,1989,1716,1712,1888,1794,1766,1876,1834,1771,2150,2647,2597,2318,2514,2871,3167,3146,3061,2797,2783,2643,2231,2329,2159,1701,1644,1656,1464,1404,1408,1333,1382,1354,1297,1187,1241,1384,1317,1122,955,935,1057,1036,863,853,834,1012,1089,1084,1287,1523,1350,1032,1224,1842,2248,2584,2789,2174,2049,1933,1937,1912,1735,1428,1117,920,805,711,706,653,626,635,610,606,575,561,574,588,616,702,941,1096,1107,1716,2343,2254,2252,1870,1712,1869,1975,1948,1914,1865,1828,1713,1721,1655,1478,1135,984,946,823,740,692,656,638,621,593,588,599,631,684,730,733,719,713,835,1067,1355,1394,1319,1224,1214,1175,1103,1152,1179,1170,1475,1652,1146,629,904,1148,766,437,410,398,387,393,401,500,599,805,1400,1351,821,735,621,452,376,291,294,250,239,241,244,239,241,238,234,235,240,246,259,269,278,296,307,352,363,330,380,420,372,390,417,403,419,428,508,536,411,376,398,418,423,395,379,368,352,340,329,339,356,376,383,371,354,344,352,333,314,322,300,267,272,290,305,310,313,305,289,281,271,268,280,291,302,332,350,350,357,368,370,370,372,370,363,374,392,397,388,383,400,406,391,354,352,372,402,441,477,506,518,494,466,445,481,652,710,709,806,811,745,809,855,806,701,530,454,401,388,408,427,485,472,500,576,562,497,488,452,422,395,390,382,386,391,389,397,388,418,438,388,344,365,388,423,461,517,568,531,514,513,491,502,484,444,448,438,408,401,467,582,502,513,519,525,512,518,565,578,558,560,508,455,396,446,437,444,447,444,446,450,434,450,475,442,446,439,407,436,448,442,531,525,488,473,457,474,487],[2857,2420,2524,3077,3295,3038,2963,2999,2906,2874,3178,3152,3071,3259,2912,2521,2460,2601,2598,2742,3156,3598,3558,3187,3157,3231,3413,3337,2922,2860,3111,3204,3190,3333,3459,3174,2823,2523,1706,2142,2698,2907,2839,2235,2655,3204,3199,3242,3240,3155,2872,2632,2441,2546,2556,2174,2732,3529,3782,3350,2730,2465,2381,2322,2548,2211,2199,2155,2317,2568,2348,2578,2561,2157,2238,2358,2322,2117,2093,2128,2093,2420,2597,2472,2398,2232,2348,2327,2080,2382,2719,2857,2933,2443,2851,2811,2576,3087,3376,3386,2507,1714,1848,2260,2618,2431,2374,2370,1998,2191,2690,2769,2732,2844,2233,1765,2140,2343,2293,2257,1981,1749,1442,2354,2698,2624,2449,2305,2310,2497,2530,2481,2570,2408,1925,2421,2359,2387,2401,2040,1710,1504,1388,1405,1472,1505,1484,1527,1982,2695,3041,3155,3210,3255,3163,3460,3299,2823,2680,2971,3383,3472,3064,3061,3224,3086,3226,3602,3672,3314,3575,3758,3636,3309,2930,2864,2976,2964,2908,2488,2714,3060,3262,3143,2899,3032,3030,3001,3260,3471,3522,3649,3785,3648,3496,3072,2241,2161,2208,1886,1900,2283,2344,2269,2321,2818,2780,2829,2396,2430,2044,1827,1690,1894,1990,2219,2484,2408,2393,2640,2897,3519,4144,3570,3144,3198,2933,2811,3097,3415,3421,3617,3629,3221,3521,3260,2406,1801,2036,2046,1882,1864,2083,2110,2195,2269,2486,2652,2196,2148,2136,1979,1958,2149,2280,2413,2094,1643,1648,1535,1659,1731,1633,1946,1948,1506,1810,2633,2679,2090,2007,2048,2508,3043,2916,2611,2878,2977,2933,2748,2708,2780,2675,2229,2078,2231,1910,1749,1772,2428,3272,2217,1763,1634,1676,1756,2128,2724,2996,2622,2272,2098,1930,2060,2004,2270,2664,2658,2132,1809,2134,2293,1887,2019,2358,1920,1648,1849,1814,1571,1528,1788,2264,2214,1996,2232,2048,1970,1908,1888,1857,1882,2244,2079,1770,1830,1513,1474,1627,1692,1654,1710,1738,1875,2463,2786,2485,2394,1804,1642,2007,2066,2360,2161,2330,2767,2666,2230,1996,2076,2154,2696,2352,1915,1534,1516,1672,2238,2225,1981,1554,1562,1870,2422,2788,2535,3373,3850,2778,1722,2314,3199,2412,2065,2786,2497,2016,1942,2274,2192,2060,1966,2002,2120,1789,1889,2371,2325,2115,2202,2288,1856,1692,1754,1950,2084,1808,1660,1608,1660,1584,1656,1655,1832,1876,1963,1807,1639,1865,2072,1874,1979,2644,2851,2669,2541,2773,3349,3093,2453,2042,2060,2611,2311,2018,2042,2210,2002,2122,2116,1808,1621,1581,1804,1969,2258,2121,1817,1896,2062,1782,1698,1876,1912,2189,2366,1954,2151,1986,1765,1858,1758,2243,2530,2651,2261,1803,1660,1751,2189,2448,2541,2318,2151,2426,2491,2400,2209,1874,1964,1845,1651,1897,2185,2520,2652,2643,2039,1942,1796,2109,2556,2522,3074,3292,2355,1976,2002,1663,1569,2238,3152,3175,2287,1930,2150,2488,2426,2096,2145,1824,1489,1688,1825,1887,2318,2512,2108,2214,2490,2322,2157,2000,2129,2114,2069,2513,2601,2197,2298,2082,1968,1675,1932,2004,1878,1902,1801,1789,1716,1819,2117,2017,1820,1897,1929,2204,2847,3294,3876,4096,2987,2534,3112,2868,2206,2722,3867,3437,2438,2203,2171,2697,2884,2654,2725,2648,2510,2580,2048,1688,1818,1894,1643,1714,1740,1692,1587,1500,1669,1831,1944,1974,1710,1906,2247,2269,2005,2486,2282,1726,1569,1724,1870,1579,1709,2155,1955,1954,1813,1892,1764,1979,2184,2175,2115,2003,1918,1719,2034,2276,2077,2110,2294,2021,1842,1660,1836,2004,1886,1678,1562,1470,1539,1628,1883,1852,1408,1553,1611,1503,1711,1813,1844,1908,1972,1903,1824,1739,2015,2488,3365,2272,2325,2075,1993,1444,1119,1698,2036,1825,1585,1274,936,961,1170,1689,1526,1548,1502,1464,1445,1759,2039,2000,1672,1383,1372,1519,1693,2317,2139,1916,1787,1630,1599,1652,1706,1837,1911,1719,1724,1821,1535,1475,1471,1568,1746,1584,1505,1535,1643,1938,1829,1723,1842,1869,1943,2239,2170,1819,1815,2082,2291,2438,2706,2419,2154,1568,1643,2316,2410,2597,2376,2778,2631,2471,2138,1805,1693,2373,2636,1880,1779,2097,2393,2969,1880,1461,1550,1745,1638,1600,1491,1692,1944,1604,1487,1583,1810,1534,1971,1870,1507,2035,2532,2360,2061,2413,3099,3295,2741,2232,2146,2576,2209,1922,2482,2597,2077,1821,2105,2352,1879,1990,1919,2210,2188,2496,2321,1697,1300,1346,1517,1498,1510,1479,1365,1475,1607,1650,1958,1636,1876,2236,2170,1842,1588,1732,2537,3312,2927,1755,1648,1629,2100,2214,1902,1622,1728,2094,2048,1856,1789,1542,1107,1522,1563,1488,1471,1974,1984,1909,1758,1608,1650,1828,1875,1570,1443,1462,1378,1600,1703,1569,1340,1330,1543,1836,2047,1898,1520,1510,1430,1416,1309,1387,1450,1349,1460,1266,1338,1597,1522,1328,1335,1350,1595,1702,1424,1378,1345,1338,1604,1659,1764,1592,1454,1643,1835,1611,1277,1232,1282,1398,1785,1820,1492,1414,1374,1367,1475,1514,1359,1390,1553,1459,1504,1432,1360,1590,1656,1682,1632,1552,1390,1500,1588,1562,2038,2546,1802,1973,2081,2444,3157,2664,2500,2348,2068,2728,3221,2408,2364,2565,1800,1566,1546,1716,1721,1709,1806,1552,1345,1390,1500,1616,1456,1396,1466,1638,1512,1593,1647,1886,1816,1782,1675,1605,1723,1891,2113,2259,2228,2300,2243,1918,1846,1951,1725,1411,1443,1547,1674,1671,1609,1613,1668,1708,1732,1832,1863,1920,2039,1935,1862,1772,1501,1558,1964,2537,2108,2023,1860,1719,1499,1499,1428,1463,1657,1848,1754,1532,1622,1826,2282,2490,2346,2152,2320,2545,2466,1924,1923,2342,2179,1937,1720,2027,1929,1894,1842,1513,1618,1959,1687,1738,1911,1692,1492,1463,1694,1605,1416,1844,2979,3116,2709,2303,2319,2773,3365,3212,2671,2106,1898,2115,1887,1784,1816,1816,1852,1890,1884,2383,2454,1988,2123,2303,2024,1926,1807,2073,2224,2107,1905,1852,1960,2068,1837,1882,2512,2596,1998,1716,2099,2348,2013,1997,2460,2754,2199,1980,1984,2062,2337,2430,2245,2174,1705,1444,1403,1694,2300,2319,2242,2244,2299,1941,1776,2037,1544,973,1118,1902,2144,1937,1907,2452,2351,2111,2136,2485,3033,3056,2489,1982,2104,2126,2518,2232,2758,2555,1765,1496,1477,1560,1835,1980,1669,1780,1642,1452,1486,1540,1661,1624,1361,1354,1494,1578,1538,1474,1589,1760,1715,1758,1974,1772,1631,1470,1430,1486,1382,1409,1882,2371,1783,1643,1493,1230,1196,1527,2177,2082,1553,1318,1536,1615,1424,1489,1394,1281,1125,1020,1224,1339,1706,1811,1554,1422,1461,1643,1927,1546,1367,1353,1528,1569,1487,1483,1577,1715,1436,1548,1915,1886,1590,1367,1109,1443,1900,1802,1772,1746,1951,1366,1215,1432,1439,1356,1406,1589,1478,1586,1918,1515,1625,1824,1614,1695,1647,1628,1608,1450,1324,1198,1213,1438,1710,1686,1559,1516,1545,1320,2019,3447,3858,3729,3939,3614,2534,2974,3685,3723,4168,4516,4152,3864,3962,4176,4208,4117,4120,4033,3691,3552,3618,3435,3619,3294,3403,3673,3500,3742,3802,3282,3238,3104,3282,4188,4038,4353,4515,4635,4948,4828,5004,5037,4616,4689,4996,5064,5028,4264,4604,4660,4620,4816,4712,4576,4376,4108,3926,3880,3588,3257,3176,3493,4038,4256,3763,3584,3793,3850,3503,3294,3377,3216,2921,2974,3430,3688,3928,3898,3392,2774,3076,3488,3487,3698,3796,3691,3706,3287,2861,3298,3062,2624,3225,3753,4292,4792,4632,4319,3506,1930,1035,843,818,901,1358,1381,1383,1272,1082,1069,1182,1193,1156,1107,1310,2062,2895,3315,3554,3549,2863,2987,3319,3594,3665,3353,3075,3112,2834,2254,1814,1526,1339,1216,1117,1085,1020,977,928,918,924,890,895,977,1129,1273,1796,2227,2973,2548,2408,3033,2910,2521,2591,2508,2502,2544,2636,2147,1957,1738,1658,1772,1743,1694,1840,1920,1856,2119,2525,2632,2386,2237,2545,2946,2889,2924,2818,2702,2658,2270,2116,2192,1720,1422,1599,1439,1334,1375,1283,1286,1300,1298,1221,1179,1299,1366,1284,1148,937,984,1104,980,896,807,952,1090,1106,1187,1388,1448,1117,1084,1655,2238,2611,2850,2279,2000,1932,1851,1827,1749,1571,1236,963,808,737,687,644,626,601,625,606,567,556,571,591,613,700,925,1199,1255,1693,2281,2273,2273,1968,1604,1801,1880,1628,1662,1767,1824,1669,1699,1639,1554,1249,988,896,831,753,669,644,618,609,581,561,570,590,630,671,692,692,682,735,1130,1732,1632,1599,1428,1300,1138,1042,1051,1093,1110,1336,1599,1280,688,729,1102,919,525,491,441,400,397,394,515,701,842,1203,1359,948,792,690,501,390,298,292,258,234,235,231,235,240,234,233,236,238,237,252,264,278,304,329,375,367,348,426,439,419,397,399,421,430,426,479,501,443,386,381,399,408,399,387,371,362,344,327,339,368,380,375,363,346,328,326,331,333,328,307,271,276,293,308,320,320,307,294,284,280,293,313,329,344,355,349,359,376,380,372,364,354,353,351,362,379,390,385,382,401,415,398,350,330,347,383,436,482,531,559,527,494,468,444,579,678,662,750,803,700,764,842,820,736,556,466,413,389,400,429,488,506,523,582,552,513,477,444,417,398,394,385,388,395,389,381,388,420,435,412,341,356,385,429,487,500,533,550,544,543,512,495,488,429,419,449,410,380,452,577,533,496,505,506,495,471,511,521,472,533,506,456,393,423,427,413,417,421,440,443,431,426,465,438,431,434,393,414,437,430,474,516,508,456,428,448,470],[2303,2044,2166,2977,3384,3183,2989,3029,3019,2972,3047,2995,3187,3116,2644,2519,2544,2623,2636,2510,2742,3184,3320,3084,3371,3498,3536,3039,2610,2761,3200,3399,3339,3440,3431,3157,2553,2158,1593,2188,2556,2768,2722,2687,3261,3396,3168,3108,3052,2896,2676,2884,2852,3274,3175,3099,3648,3675,3641,3326,2831,2754,2650,2352,2464,2072,2057,2144,2518,2653,2501,2851,2670,1969,2045,2054,2421,2044,1902,1959,2017,2413,2167,2231,2365,2013,2149,2368,2094,2164,2603,3083,3641,2717,2620,3024,3296,3153,3122,3159,2647,2145,2072,2045,2271,1985,2404,2502,2101,2104,2486,2718,2683,2602,2425,2342,2464,2475,2299,2042,2091,1770,1724,3064,3101,2911,2618,2082,2322,2741,2535,2677,3052,2524,1907,2640,2940,3090,2907,2676,2256,1803,1619,1560,1476,1470,1427,1621,2209,2835,3043,3093,3216,3299,3431,3692,3480,2874,2567,2829,3256,3469,3023,3175,3454,3190,3045,3312,3627,3559,3399,3366,3194,2877,2875,2851,3074,3053,3031,2762,3057,3106,3177,3112,3073,3010,2910,3075,3397,3585,3460,3161,3415,3465,3056,2208,1880,2208,1974,1831,2519,2571,2418,2486,2409,2854,2937,2314,1858,2043,2124,2091,1956,1951,2131,2385,2530,2462,2418,2541,2776,3325,4157,3638,2954,2832,2451,2582,3496,3890,3871,3817,3304,3296,3554,3434,2770,2548,2233,1572,1513,1719,1683,2081,2715,2656,2376,2052,2057,2322,2169,1980,1972,1962,2454,2701,2135,1952,2261,2183,2648,2525,2040,2031,2060,1945,2205,2425,2095,1990,2099,2210,2702,3030,2673,2347,2915,2923,2599,2391,2469,2663,2477,2077,2250,2620,2692,1897,1921,2125,1796,1692,2087,2085,2039,1842,1735,2332,2710,2300,2031,1930,1563,1634,1501,1729,2436,2549,1978,1689,2143,2375,2003,2233,2611,1998,1699,1952,1834,1678,1969,2010,2834,3173,2746,2258,1922,1990,2079,1923,1929,1942,2326,2063,1814,1683,1553,1581,1475,1558,1699,1598,1490,2105,2403,2187,1865,2046,2100,1833,1847,1859,2131,2281,2406,3039,3958,3710,2497,1759,1541,1906,2018,1736,1974,2211,2363,2393,2452,2382,2024,1717,1963,3034,3103,2267,3166,3393,2326,1889,2520,2939,2782,2655,2899,2776,2469,2103,2402,2081,1958,1959,2020,1895,1847,2291,2529,2219,1994,1885,1773,1620,1751,1857,2089,2077,1818,1615,1697,1755,1741,1789,1799,1825,1745,1728,1766,1951,1781,2102,2055,2315,2421,2304,2532,2600,2702,2962,2633,2267,1821,2071,2600,2326,1882,1997,2281,2126,2142,2120,1677,1678,1771,2245,2044,1860,1903,1643,1301,1282,1665,1911,2179,2290,1841,1926,1859,2097,1891,1642,1807,1833,2178,2241,2212,2142,1959,1925,1972,2026,2135,2017,1834,1902,2145,2176,2236,2410,2619,2788,2498,1885,1755,1931,2232,2436,2735,2590,2183,1858,2177,2503,3020,3708,3360,2314,2121,2225,1683,1611,2194,3223,3097,2328,2303,2535,2837,2531,1818,1819,1601,1470,1830,1976,1869,2656,2733,2218,2409,2724,2571,2229,2196,2778,2286,2366,2856,2607,2447,2344,2182,2053,2003,1954,1753,2001,2300,2196,2067,1875,1803,1891,1872,1732,1669,1887,2160,2429,3182,3939,3728,2704,2714,2865,2651,2157,2595,3373,2810,2316,2536,2584,2487,2684,2879,3122,2801,2625,2004,1769,1891,1877,1867,1853,2288,2007,1453,1421,1565,1777,1522,1633,1628,1571,1821,2281,2012,1823,2256,1981,1533,1551,1525,1463,1347,1455,1771,1738,1824,1540,1608,1486,1603,2183,2199,1610,1793,1749,1621,1721,1720,2011,2542,2600,2138,1656,1502,1776,2406,2370,1828,1783,1872,1912,1984,1828,1555,1471,1619,1560,2083,2381,1986,1757,1936,1972,2049,1914,1718,1782,2267,2578,2047,2487,2286,1914,1438,1381,1857,2110,2036,1755,1497,1517,1592,1562,1587,1583,1465,1421,1607,1750,1770,1728,1947,1910,1482,1521,1509,1744,2388,2255,1902,1662,1482,1491,1659,1542,1603,1837,1564,1634,1490,1439,1879,1783,1415,1592,1592,1583,1825,1837,1888,1635,1576,1972,1998,2019,2103,2067,1836,1712,1870,2023,2415,2665,2194,2017,1365,2026,2686,2229,2522,2601,2462,2295,1959,1880,2036,1970,2335,2075,1636,1678,2277,2259,1931,1737,1666,1626,1723,1782,1964,1546,1759,1764,1599,1529,1611,1665,1622,1531,1509,1427,1687,2095,1975,1807,2065,2549,2283,2024,1939,1774,2056,1928,1710,2266,2663,2278,1788,1665,1819,2185,2226,2276,2207,2223,2474,2391,2271,2096,1544,2027,2246,1882,1500,1499,1504,1499,1807,2199,1809,1675,1835,1907,1706,1376,1448,1996,2649,2540,1768,1650,1696,2267,1959,1470,1695,1907,1960,1973,1599,1691,1598,1403,1560,1800,1623,1650,1976,1786,1781,2000,1953,2241,2074,1780,1573,1525,1526,1471,1758,1930,1814,1452,1443,1568,1863,2018,1874,1865,1768,1494,1498,1457,1428,1431,1361,1519,1460,1443,1783,1919,1383,1292,1492,1797,1662,1466,1697,1557,1417,1423,1438,1563,1477,1449,1656,1866,1563,1466,1421,1462,1460,2030,2105,1661,1398,1334,1390,1402,1367,1303,1494,1516,1512,1451,1387,1527,1704,1995,1971,1706,1679,1888,2268,1935,1847,1951,2555,2174,1808,1712,2477,3129,2686,2436,2474,2421,2862,3273,2078,2037,2139,1924,1871,1768,1814,1808,2026,2109,2055,1741,1666,1548,1423,1364,1391,1418,1573,1539,1517,1478,1426,1570,1650,1415,1381,1583,1765,2685,2854,2368,2397,2482,1956,1827,2057,1821,1704,1638,1668,1654,1598,1505,1549,1643,1561,1731,2584,2888,2800,2736,2280,1740,1534,1833,1684,1973,2679,2200,1701,1540,1570,1609,1537,1522,1497,1406,1731,1813,1631,1848,1666,2006,2076,1800,1945,2312,2379,2107,1833,2304,3121,2414,1900,1887,1906,1826,1982,1884,1540,1857,1893,1662,1801,1779,1896,1823,1902,1686,1415,1836,2267,2785,2852,2186,1560,2036,2917,3175,2347,2209,2142,1737,2001,1737,1933,1918,1788,2079,2213,2255,2374,2525,1976,2380,2781,2191,2030,1854,1948,2129,1782,1522,1769,1938,2051,1563,1375,1835,2016,1704,1772,2309,2292,2105,2411,2765,2595,2075,2059,2029,1844,1847,2346,1784,1593,1613,1557,1498,1731,2260,2416,2584,3283,3156,2148,1846,1838,1449,1375,1681,2107,2115,1869,2217,2637,2534,2456,2668,2958,3140,3186,2663,2131,2125,2330,2477,2262,2346,2414,2212,1779,1906,1836,1786,1589,1645,1656,1688,1553,1626,1692,1752,1629,1651,1911,2027,1881,1687,1635,2080,2636,2141,1773,1581,1504,1577,1506,1456,1413,1477,1764,1867,1754,1462,1514,1370,1241,1450,2018,2258,2226,1942,1578,1659,1717,1402,1441,1320,1290,1220,1026,1550,1758,1527,1532,1611,1806,1712,1802,2031,1390,1548,1694,1550,1562,1657,1618,1678,1581,1323,1274,1487,1670,1601,1427,1546,1980,1969,1897,1671,1769,1742,1422,1387,1521,1455,1406,1433,1558,1510,1878,2151,1470,1404,1525,1560,1836,1925,1903,1641,1633,1586,1498,1345,1363,1637,1777,1613,1722,1580,1200,1536,2439,3207,3595,3729,3677,2675,3152,3987,3992,4371,4661,4400,4141,4165,4169,4372,4124,3955,3936,3761,3617,3538,3107,3129,3098,3517,3888,3917,4026,3653,2922,2639,2452,3145,4006,3829,4056,4458,4783,4756,4536,4604,4904,4884,4788,5288,5229,5095,4961,5377,5490,5440,5437,5240,4748,4476,4541,4421,3854,3573,3398,3373,3688,3929,4196,4140,3957,3764,3635,3864,3919,3739,3006,2021,2497,3702,4000,3990,3936,3615,3552,3765,3746,3406,3479,3924,3817,3568,3812,3492,3930,3817,3233,3328,3960,4499,4607,4421,3639,2253,1176,864,812,790,804,1181,1276,1295,1251,1073,993,1092,1143,1156,1157,1202,1731,2786,3273,3500,3442,2887,2897,3264,3481,3701,3415,2979,2943,2787,2264,1713,1425,1282,1141,1053,1020,976,955,911,901,928,875,888,1013,1230,1258,1692,1873,2540,2589,2266,2771,3023,2505,2586,2555,2440,2406,2588,2257,1994,1800,1600,1604,1676,1594,1703,1925,1814,1934,2388,2668,2454,1935,2237,2599,2668,2786,2741,2721,2690,2309,1964,2032,1766,1290,1474,1461,1343,1347,1262,1219,1276,1314,1245,1146,1172,1314,1406,1441,1125,941,1061,1130,951,795,872,1045,1181,1202,1324,1441,1255,991,1259,2003,2461,2725,2436,2013,1892,1794,1802,1733,1681,1292,982,811,761,685,630,608,590,592,582,557,543,555,574,594,677,866,1185,1426,1734,2291,2349,2258,2103,1588,1657,1750,1514,1476,1655,1758,1663,1631,1579,1560,1336,1019,890,849,760,657,628,608,609,577,542,540,552,582,610,649,696,711,723,1086,2018,2043,2005,1729,1428,1166,1019,971,1022,1105,1231,1468,1328,778,645,979,1013,647,570,515,429,399,398,553,705,767,1094,1397,1140,878,795,607,419,332,296,258,246,237,234,241,241,243,235,241,247,248,253,264,295,339,393,418,368,356,506,520,447,392,376,404,409,447,466,465,464,422,354,383,386,393,400,381,366,345,331,341,369,373,353,331,331,329,329,332,343,377,326,285,289,299,320,331,336,329,320,306,305,320,342,353,363,356,352,360,372,372,366,357,342,336,348,366,384,393,391,390,405,432,422,357,316,334,375,424,489,550,585,560,519,497,493,538,638,672,709,806,696,743,802,815,753,583,480,426,393,389,410,451,498,553,585,542,505,470,435,415,398,386,383,385,398,401,377,372,400,426,432,352,355,387,433,514,531,541,569,551,527,504,494,496,441,400,441,416,389,443,560,566,486,474,477,489,466,487,499,464,507,472,422,387,402,424,407,423,427,440,442,428,414,448,429,419,413,397,404,404,409,430,480,527,478,415,435,466],[1990,1917,2098,2599,3262,3482,3072,3023,3255,2995,3160,3204,2938,2599,2533,2545,2644,2542,2414,2112,2069,2246,2376,2648,3133,3558,3340,2801,2661,2833,3250,3639,3586,3422,3284,2877,2153,1819,1818,2210,2509,2553,2674,2886,2975,3037,3055,2694,2543,2439,2321,2481,2534,3046,3319,3683,4055,3916,3762,3248,2741,2836,2851,2619,2374,2091,1975,2182,2719,2857,2590,2743,2796,2136,2452,2665,2714,2595,2647,2390,2175,2315,2317,2360,2408,2569,2885,2833,2464,2195,2255,2555,3238,2401,2280,2621,2593,2198,1763,2029,2545,2503,2410,2506,2818,2382,2509,2604,2117,1906,2188,2409,2740,3089,2956,3002,2633,2132,2055,2262,2396,2520,2438,2534,2912,3407,2710,2019,2126,2556,2796,2628,2893,2376,2196,2472,2938,3282,3296,3168,2937,2880,2657,2234,1913,1766,1607,1620,2515,3042,3050,3034,3139,3274,3431,3708,3378,2740,2376,2765,3396,3411,3151,3270,3462,3341,3118,3068,3201,3189,3044,3135,3024,2795,2728,3140,3367,2762,2504,2842,3097,3034,3129,3242,3073,2618,2521,2816,3259,3557,3504,3425,3493,3464,3063,2314,1993,1987,1694,1825,2149,1955,2068,2317,2502,2701,2684,2254,2042,1757,1961,2409,2407,2226,2396,2514,2698,2644,2407,2599,2584,2618,3212,3010,2707,2533,2340,2477,3020,2798,3574,3689,3342,3381,3438,3357,2969,2366,1354,756,1316,1949,1778,2552,2952,2436,2346,2324,1937,2147,1882,1675,1881,2157,2646,2446,2048,2097,2702,3134,3382,3036,2064,1939,2065,1832,1975,2144,2032,2059,2110,2057,2448,2908,3050,3029,2759,2342,2069,2146,2324,2360,2173,2076,2020,2349,2980,2446,2106,2168,2053,1920,1920,1856,2055,1813,1564,1891,2445,2431,2009,1693,1469,1497,1304,1397,2276,2476,1885,1819,1939,1914,2152,2351,2425,1989,2392,2316,1930,1731,1593,2191,3394,3620,3386,2930,2069,1930,2096,2163,2060,2230,2219,2062,1971,1749,1753,1744,1666,1872,1650,1513,2002,2495,1975,1935,1963,2169,2161,1809,1690,1559,1928,2597,2276,2677,3970,3974,2812,1661,1321,1952,2152,2145,2539,2553,2374,2423,2653,2475,2425,2442,2408,2852,2702,1908,1819,2355,2646,2802,2765,2493,2555,2388,2220,2052,1844,2268,2154,1850,1938,1994,1892,1547,1598,2076,2322,1874,1874,1790,1985,1854,1754,1714,1724,1804,1698,1532,1578,1775,1777,1953,2402,1917,1886,1863,2492,2478,2203,2129,2034,2055,1899,2173,2439,2397,2489,2777,2376,1914,1707,2168,2503,2320,2131,2080,2154,2122,2102,2339,2302,2343,1945,2238,2312,2148,1979,1604,990,866,1404,2045,2526,2412,1798,1902,2024,2322,1827,1705,1957,1987,2287,2408,2258,2154,2166,2041,1973,1895,2086,2076,2046,2054,2114,2165,2303,2508,2642,2734,2846,2554,1838,1760,1960,2238,2785,3043,2490,2086,2435,2685,2937,2956,2423,2004,2125,2125,1812,2027,2326,2787,2744,2468,2219,2291,2813,2545,2147,2006,1725,1622,1919,2141,1750,1850,1906,1477,1715,2514,2584,2198,1902,2752,2202,2451,2821,2706,2598,2584,2293,2054,2115,1908,1770,2121,2729,2601,2354,2224,1874,1801,1938,1888,1864,1952,1926,2029,2557,2561,2972,2227,2555,2929,2526,2012,2429,2680,2563,2504,3120,3232,2626,2929,2443,2544,2526,2475,1767,2104,2194,1760,1486,1826,2320,1803,1462,1504,1731,1795,1517,1582,1608,1526,1622,1798,1678,1542,1572,1485,1580,1735,1708,1679,1673,1565,1722,1664,1686,1637,1604,1538,1552,1927,2064,1574,1772,1616,1472,1413,1450,2351,2919,2846,2474,1858,1633,1792,2195,2114,1932,1903,1890,1942,1872,1590,1467,1882,1952,1725,2008,2259,1912,1516,1580,1747,2026,1748,1691,1524,1764,1983,2488,2878,2540,1848,1468,1680,1761,1715,1904,1826,1864,2122,2267,1958,1666,1719,1507,1357,1687,1715,1503,1326,1400,1680,1775,1604,1422,1337,1686,1946,1811,1651,1324,1446,1498,1309,1562,1766,1504,1425,1453,1451,1824,1736,1566,1632,1591,1853,2320,2080,1678,1625,1843,2186,1989,1842,2032,2021,1832,1764,1712,1889,2311,2228,1926,1720,1382,2001,3031,2509,1895,2133,2342,2142,1835,1717,1959,1996,2026,2154,1912,1886,2318,2342,2118,1888,1715,1729,1794,1964,2186,2155,2053,1710,1550,1488,1585,1972,1966,1567,1494,1447,1565,1698,1592,1453,1816,2016,2019,2092,2152,2008,2002,1938,1778,1763,1919,2013,1817,1807,2005,2017,1820,1885,2079,2188,2453,2809,2928,2298,1336,2099,2272,2004,1732,1704,1610,1454,1510,1858,1828,1568,1605,1495,1688,1858,1455,1609,1795,1827,1891,1712,1898,2811,2323,1251,1521,1788,2064,2247,1594,1578,1678,1912,2092,1797,1745,1903,2138,2034,2274,2415,2292,2867,2359,1817,1593,1655,1584,1599,1853,2583,3203,3074,2364,1919,1883,1804,1839,2009,1718,1560,1575,1476,1435,1392,1592,1803,1590,1462,1840,2029,1454,1291,1671,1679,1510,1575,1737,1586,1410,1454,1537,1554,1454,1466,1545,1288,1280,1562,1559,1504,1490,1750,1885,1575,1476,1460,1377,1333,1332,1335,1391,1481,1582,1539,1506,1566,1633,1857,2083,1902,1766,2352,2720,2234,2361,2486,2653,2521,2099,1997,2940,3146,2010,2155,2796,3489,3450,3404,2719,2311,2346,2357,1903,1821,1799,1885,2256,2415,2764,2078,1588,1410,1343,1330,1449,1604,1643,1615,1577,1570,1425,1423,1667,1792,1694,1636,1997,2234,1830,1720,2019,2210,2058,1792,1628,1633,1652,1514,1531,1558,1540,1551,1298,1143,1046,1309,1960,2310,2404,2026,1805,1684,1677,2305,1977,2153,2414,2143,1786,2017,2314,1942,1665,1537,1462,1422,1638,1789,1825,1782,1739,2164,2005,1685,1754,1891,1944,1792,1686,1658,1947,1583,1552,1797,2281,2331,2042,1549,1613,2125,1768,1763,1821,1848,1953,1931,2005,1660,1640,2155,2598,2532,2146,1940,2035,2648,2764,2255,1772,2127,2240,2117,2214,1993,1858,1652,1971,2258,2351,2463,2236,2395,2127,2511,2192,1871,1559,1409,1529,1780,1717,1637,1800,1760,1650,1520,1525,1986,1971,2363,2194,2094,1953,2155,2689,2673,2896,3232,2973,2279,1756,2209,2415,1807,1540,1624,1689,1659,1900,2225,2200,2440,2800,2451,1965,1762,1557,1676,2417,2840,2955,2785,2177,2091,2001,1909,2264,2524,2972,3288,3231,2329,1885,2080,2150,2250,2452,2561,2595,2988,2586,2135,1606,1619,1439,1654,1760,1626,1578,1670,1793,1914,1742,1870,2068,2009,2036,2214,2199,2274,2147,1860,1709,1489,1391,1501,1618,1585,1592,1655,2141,1960,1447,1342,1423,1380,1241,1409,1987,2454,2453,2409,1891,1449,1368,1421,1418,1396,1350,1355,1225,1315,1452,1400,1373,1411,1535,1383,1469,1499,1379,1500,1374,1256,1516,1686,1483,1433,1530,1610,1465,1476,1522,1686,1880,2111,1676,1577,1883,1855,1802,1805,1692,1361,1410,1293,1407,1334,1576,1668,1889,1800,1424,1441,1699,2088,2509,2517,2566,2112,2165,2212,1811,1649,1741,1861,1798,1682,1748,1330,1111,1461,2276,3035,2986,2953,3431,3671,3950,4237,4471,4388,3809,3339,2864,2808,2921,3043,2709,2413,3229,3863,3840,3232,2973,3187,3096,3555,3985,4052,4019,3328,2711,2158,2209,3294,4101,3814,3803,4472,4696,4251,4209,4708,5156,5201,5020,5260,5014,4630,4720,5109,5272,5287,5369,5008,4467,4416,4637,4500,3655,3454,3404,3354,3517,3896,4123,4049,4199,4139,3946,3725,3687,3575,3082,2376,2853,3824,4046,3782,3609,3581,3871,3950,3970,3727,3802,4070,4040,3731,3746,3714,3923,3815,3536,3630,4139,4655,4512,4052,2407,1220,879,755,843,778,776,1065,1204,1195,1217,1049,928,993,1076,1104,1131,1175,1476,2434,3122,3349,3306,2896,2750,3115,3395,3694,3529,3038,2916,2747,2261,1699,1367,1240,1098,1014,1000,948,937,882,877,941,873,882,1052,1367,1627,1914,1924,2222,2493,2240,2459,3068,2566,2481,2579,2468,2370,2462,2313,2043,1830,1591,1529,1652,1570,1620,1959,1973,2028,2297,2595,2653,2190,2191,2505,2750,2818,2739,2675,2554,2314,1907,1896,1854,1341,1300,1412,1305,1234,1217,1190,1274,1334,1262,1179,1066,1195,1326,1517,1347,995,962,1114,1028,837,810,913,1166,1239,1410,1442,1365,1085,1027,1665,2297,2621,2554,2068,1859,1720,1704,1677,1680,1354,1041,849,769,691,624,596,575,580,572,541,522,527,551,585,653,861,1156,1526,1939,2351,2442,2237,2149,1516,1486,1642,1471,1325,1569,1770,1744,1631,1497,1489,1396,1069,926,931,783,664,616,596,589,563,537,527,524,538,563,607,688,743,758,990,2003,2187,2073,1871,1556,1225,1053,944,946,1051,1096,1290,1315,909,662,866,1055,794,628,591,481,446,423,569,734,743,964,1289,1249,996,883,738,494,355,308,266,267,258,255,251,245,242,240,241,240,259,268,265,315,365,415,444,400,376,604,677,723,569,407,421,417,464,474,489,463,462,349,361,376,388,394,397,377,341,343,346,366,375,355,337,342,343,366,351,342,403,377,310,308,325,346,350,353,345,336,334,337,342,337,332,333,339,351,360,365,360,357,346,339,339,356,373,389,390,388,383,391,430,445,381,314,326,364,423,493,539,556,564,532,510,543,548,616,667,715,811,704,691,732,781,754,607,485,444,420,391,382,435,528,545,506,496,459,445,435,418,393,382,383,381,389,389,390,367,343,418,449,390,376,402,445,505,537,543,560,544,528,515,478,478,465,432,429,415,411,451,549,582,502,490,482,480,481,487,492,496,512,478,435,388,373,424,414,437,439,443,440,421,397,426,427,402,400,393,386,389,401,395,455,520,518,420,420,456],[1541,1637,1785,2121,2905,3602,3121,3023,3532,3450,3338,3380,2872,2629,2744,2865,2788,2544,2285,2031,1997,1948,1866,2046,2620,3054,2946,2822,2845,3002,3343,3678,3507,3377,3152,2784,2095,1759,2036,2436,2612,2542,2546,2564,2636,2749,2805,2454,2365,2240,2304,2473,2424,3022,3826,3937,4180,4124,4133,3806,3132,2731,2741,2952,2534,2146,2081,2300,2858,2719,2321,2469,2053,2617,3182,3375,3553,3256,2965,2895,2720,2410,2541,2556,2663,3475,3438,3260,2476,1962,1889,2390,2481,2451,3071,2994,1976,1573,1901,2388,2675,2386,1939,2303,2842,2884,2624,2631,2409,2145,2164,2588,2973,3286,3552,3631,2977,2205,2375,2196,2301,2820,3090,3076,3067,3196,2519,1957,1750,2353,2946,2821,2799,2287,2279,2591,3107,3529,3329,3266,3028,3012,2989,2633,2630,2605,2267,2092,2824,3001,2954,3031,3086,3060,3146,3391,3128,2722,2510,2979,3443,3366,3398,3461,3542,3568,3378,3077,3112,3259,3089,2963,2850,2757,2836,3432,3816,3182,2425,2717,3286,2945,3282,3304,2824,2608,2140,2195,2291,2896,3300,3431,3338,3060,2713,2309,1932,1559,1797,2013,2191,2259,2204,2374,2570,2540,2133,2214,2298,2042,2210,2370,2555,2238,2321,2412,2639,2631,2498,2622,2456,2597,3061,3130,2864,2467,2438,2297,2918,2807,3233,3252,3396,3255,2855,2711,2557,2059,1328,1204,1701,2028,2091,2500,2492,2198,2198,1915,1888,2161,1827,1757,2068,2207,2315,2453,2490,2479,2666,3250,3217,2765,2427,2238,2017,1761,1922,2452,2864,2912,2842,2586,2469,2884,3142,2620,2177,2019,2040,2253,2356,2220,2150,1549,1738,1903,2258,2462,1968,1996,2068,1897,1728,2025,1964,2004,1716,1621,2272,2699,2226,1677,1557,1547,1665,1445,1655,2077,2210,2419,2211,1984,2342,2185,2192,2244,2471,2167,1997,1793,1488,2198,3023,3200,3275,2897,1933,1765,1877,1953,1924,2199,2347,2238,1909,1701,1544,1657,1688,1846,1730,1779,2674,2857,2156,2398,2409,2095,2027,1762,1676,1572,1613,1473,1381,2077,3647,3656,2413,1615,1697,2078,2121,2138,2166,2236,2271,2040,1846,2093,2431,2541,2518,2576,2230,1746,1301,1875,2862,3112,2620,1809,1682,1654,1870,1901,1837,2271,2223,1890,1982,1992,1746,1517,1959,2060,2156,2238,2455,2026,2261,2407,2323,2106,1874,1772,1532,1506,1556,1716,1818,2238,2426,2238,2437,2000,1897,1962,2062,2009,2126,2114,1850,2202,2361,2303,2265,2396,2277,1919,1589,1839,2201,2266,2271,2148,2105,1862,2029,2008,1851,1791,1828,1853,2269,2563,2122,1721,1469,1215,1505,2038,2397,2214,1977,2030,2052,2199,2057,2124,2160,2041,2142,2175,2171,2194,2183,2106,2025,1954,2054,2084,2062,2026,2025,2080,2276,2104,1837,1984,2286,2788,2604,1968,1725,1931,2283,2812,2952,2717,2785,2987,3164,2855,2113,2159,2271,1886,1695,1832,2010,1965,1899,2035,2248,2754,2922,2196,1995,1979,1860,1802,2200,2392,2070,2010,2002,1223,1105,2109,2441,1988,2032,2074,2073,2452,2676,2740,2758,2490,2074,2067,2421,2126,2049,2105,2372,1927,1920,2224,2236,2154,1916,1795,1894,2041,2006,2006,2238,2736,3016,2496,2562,2924,2227,1742,1810,1810,2050,2377,2792,3039,3093,3017,1916,1740,1873,1943,1948,2475,2516,1841,1610,1636,1708,1692,1730,1881,1830,1737,1538,1544,1548,1482,1494,1648,1638,1411,1456,1243,1550,1603,1693,1638,1596,1692,1722,1794,1838,1852,1884,2115,2061,2076,1813,1475,1676,1800,1617,1571,1608,2156,2144,1883,2055,1673,1598,1890,1981,1938,1932,2100,2349,2244,1918,1614,1439,1662,1872,1969,1668,1642,1559,1502,1339,1471,1569,1385,1381,1364,1954,2984,3433,3248,2427,1672,1699,1971,1745,1571,1667,1848,1958,2049,2398,2177,1618,1653,1551,1335,1399,1411,1341,1393,1300,1207,1470,1634,1615,1568,1692,1796,1830,1656,1264,1356,1301,1387,1779,1925,1531,1541,1641,1297,1465,1845,1920,1461,1424,1635,2016,2487,1918,1599,1824,1814,1608,1739,2018,1850,1897,1803,1594,1665,1879,1822,1748,1742,1664,2101,3075,2886,2103,2898,3166,2206,1655,1849,2182,2035,2424,2385,2314,2832,2931,2508,2237,1593,1529,1801,2024,1814,1895,2390,2366,1923,1597,1659,1797,1771,1755,1624,1560,1504,1958,2146,2306,2198,2311,2005,2367,2523,1899,1767,2014,1875,1775,1685,2081,2334,1889,1825,1953,2017,2063,2131,2699,2606,2495,2394,2658,2221,1492,1854,1798,1814,1577,1692,1694,1547,1616,1663,1388,1510,1675,1508,1876,2074,1710,1789,1726,1842,1783,1546,1923,2286,1893,1490,1710,1579,1839,1821,1902,2049,1965,2077,1810,1623,1700,1992,2637,2547,2649,2707,2376,2551,2205,1801,1864,2003,1672,1806,2597,3417,3618,3576,3640,2205,1557,1537,1841,2192,1992,1688,1560,1445,1470,1569,1733,1948,2364,1479,1483,1540,1295,1496,1831,1598,1527,1801,1913,1875,1682,1519,1550,1620,1440,1529,1556,1309,1244,1454,1467,1315,1343,1665,1722,1556,1832,1656,1426,1432,1399,1424,1353,1364,1523,1655,1602,1415,1478,1556,1693,1808,1919,1987,2121,2540,2602,2624,2891,2712,2338,2254,2720,2867,2142,2077,2756,3286,3283,3286,3276,3287,3108,2196,1563,1691,1873,2090,2597,2751,2695,1851,1558,1502,1484,1402,1468,1659,1641,1542,1458,1497,1613,1592,1691,1817,1594,1607,1848,1917,2149,2316,2160,1931,1804,1746,1633,1512,1407,1347,1390,1556,1609,1711,1475,1045,1061,1259,1462,1376,1223,1119,1392,1555,1738,1738,1859,1823,1705,1674,1781,2186,2037,2041,1890,1629,1472,1397,1637,1805,1867,1707,2271,2947,2541,2210,1856,1799,1687,1708,1758,1817,1920,1983,2164,1973,2048,2361,2089,1635,2185,2347,1836,1790,1593,1544,1744,1858,1903,1839,2058,2347,2375,2335,2042,2071,2483,2503,2218,1866,1803,2225,2532,2676,2342,1823,1744,1547,1888,2258,2631,3066,2658,2150,2061,2021,1971,1906,1455,1444,1647,1761,1830,1997,1664,1606,1638,1724,1718,1962,2154,2290,1913,1886,2268,2876,3177,2841,3544,3915,3898,2603,1890,2353,2319,1716,1510,1731,1686,1816,2241,1838,1696,1775,1748,2186,1942,1721,1732,1828,2686,3672,3658,3156,2242,1909,1852,2029,2480,2187,2416,3117,2779,1957,1938,1993,1786,1657,1810,2249,2441,2852,2600,1806,1432,1416,1549,1643,1516,1371,1585,1548,1571,1829,1878,1964,2034,1815,1658,2054,2115,1941,1848,1650,1512,1512,1418,1449,1551,1576,1576,1391,1612,1651,1342,1259,1396,1417,1388,1389,1943,2687,2705,2951,2948,1939,1331,1340,1301,1263,1302,1472,1309,1182,1410,1428,1297,1242,1249,1273,1280,1181,1284,1322,1246,1373,1685,1440,1249,1285,1482,1854,1582,1351,1477,1428,1604,1669,1592,2045,2307,1892,1785,1756,1920,1536,1339,1350,1450,1305,1375,1496,1636,1683,1481,1411,1727,2089,2088,2303,2451,2110,2472,2754,2270,1837,1735,1836,1891,1851,1576,1214,876,1324,2121,3253,2622,2438,3188,3372,3421,3704,4086,3437,1484,1019,1010,1081,1107,1246,1118,1274,2652,3602,3506,3116,3129,3308,3385,3536,3602,3666,3870,3795,3271,2643,2292,3252,4145,3768,3996,4728,4635,4012,4296,5004,5239,5360,5420,5384,4772,4099,4256,4732,4832,4882,5008,4893,4312,4168,4392,4360,3872,3532,3398,3211,3310,4041,4255,3762,4151,4373,4000,3284,3443,3763,3587,2772,2521,3574,4251,4060,3576,3485,3814,3919,3919,4043,4035,4127,4218,4100,3919,3750,3681,3757,3862,4019,4280,4399,3935,3168,1622,963,790,726,845,800,777,1077,1191,1104,1192,1015,886,924,1022,1060,1121,1164,1294,1959,2852,3353,3392,3045,2636,2830,3317,3794,3693,3118,3029,2756,2171,1714,1352,1207,1078,1001,1014,928,926,904,874,899,902,902,1106,1448,1820,2128,2037,2055,2370,2401,2244,2910,2766,2455,2486,2522,2397,2417,2357,2054,1815,1598,1491,1653,1594,1621,2025,2038,2063,2287,2510,2702,2632,2307,2377,2708,2740,2607,2613,2440,2269,1852,1797,1892,1487,1169,1288,1303,1205,1182,1145,1192,1323,1387,1256,1088,1132,1227,1375,1377,1151,939,1034,1057,914,810,821,1180,1386,1316,1449,1599,1349,993,1325,2042,2387,2497,2157,1870,1716,1588,1573,1616,1460,1176,908,767,699,644,599,564,566,558,534,515,520,541,571,623,843,1134,1529,1964,2297,2447,2144,2024,1478,1371,1548,1460,1230,1461,1768,1730,1630,1494,1462,1459,1150,997,944,833,703,628,598,571,545,532,521,506,508,533,603,672,758,789,890,1781,2303,1985,1768,1598,1334,1139,952,882,990,1005,1141,1245,1085,786,789,1045,964,720,684,588,525,445,551,827,859,883,1148,1261,1076,911,825,612,393,310,269,279,276,276,260,255,257,243,247,237,257,285,263,301,330,371,410,417,404,662,771,797,599,423,415,439,512,557,489,503,609,425,331,370,389,384,402,387,339,352,353,393,395,388,367,360,350,379,371,331,378,425,354,325,348,371,374,365,361,369,363,340,317,310,315,320,327,351,356,365,354,348,341,339,342,357,375,381,376,375,368,378,431,463,396,328,335,375,434,494,529,533,551,566,524,491,561,597,608,710,817,711,646,683,741,715,626,500,449,451,397,373,502,612,556,472,445,458,463,431,399,390,381,376,379,382,383,410,387,330,393,436,402,399,426,458,494,520,543,549,550,542,530,471,454,483,473,438,409,424,458,554,582,518,516,494,476,477,481,486,477,475,477,462,406,361,418,431,440,444,443,428,420,393,406,421,397,403,398,362,377,404,374,441,521,532,453,414,424],[1613,1685,1850,1868,2238,3086,3395,3360,3405,3438,3470,3382,2909,2677,2621,2438,2194,2412,2266,2110,2101,1937,1934,2253,2591,2800,2654,2522,2737,2994,3506,3491,3255,3366,3184,2453,1590,1355,1904,2469,2578,2472,2576,2587,2522,2617,2674,2533,2351,2300,2404,2450,2618,3480,3916,3890,4074,3921,3716,3181,2916,2732,2627,2862,2590,2124,2202,2169,2220,2469,2425,2800,2821,3591,3774,3536,3488,3349,3230,3133,2611,2307,2690,2565,2975,3780,3551,3090,2497,2346,2648,2828,2731,2712,3481,3798,2774,2877,3186,2711,2085,1470,1028,1409,2470,3098,2988,2995,3416,3244,2626,2835,3018,3007,3107,3325,2894,2415,2350,1911,2078,2886,3164,3432,3375,2755,2336,1636,1674,2563,2800,2719,2796,2574,2580,2500,2586,3000,3200,3263,2818,2795,2894,2709,2851,3112,3017,2928,3062,3004,3335,2987,3206,3052,3312,3630,3385,2950,2962,3492,3724,3684,3474,3349,3337,3432,3473,3225,3232,3230,3208,2877,2705,2663,2765,3356,3570,3327,2974,3350,3660,2972,2924,3207,2876,2756,2498,2195,2034,2278,2691,3196,2830,2208,2062,2090,2040,1840,2712,2877,2731,2460,2456,2454,2282,1998,1754,1968,1922,2136,2225,2483,2530,2489,2534,2570,2640,2651,2717,2620,2523,2849,3110,2868,2435,2355,2098,1953,2609,2780,2878,3248,3370,3021,2664,2280,2493,1888,1622,1824,1977,2113,2272,2269,2294,2075,2094,2037,1846,1797,1741,1879,2064,2053,2498,2907,2512,2725,2950,3008,2807,2562,2282,2106,1910,1815,2358,3050,3299,3063,3182,3121,2706,2693,2354,1774,1815,2100,2108,2272,2202,2614,3006,2464,2238,2164,2222,2364,2266,1659,1741,2054,2069,2111,1840,2251,1924,1596,1839,2247,2168,1702,1478,1672,1598,1347,1688,2155,2379,2509,2361,2590,2310,1772,1873,2281,2301,2034,1986,1772,1559,1677,1764,2230,2609,2292,1570,1613,1838,1940,1926,1911,2084,2115,2032,2145,1578,1562,1700,1608,1964,2634,2859,2216,2089,2484,2482,2161,1848,1453,1380,1521,1506,1435,1289,1985,3130,3066,2040,1591,1970,1980,1962,1862,1567,1831,1873,1762,1693,1797,2058,2573,3073,2629,2154,1945,1258,1698,2286,2562,2547,2223,2028,1612,1743,1931,1814,2384,2765,2523,2518,2120,1931,2060,2039,1948,2002,2563,2677,2283,2327,2648,2676,2375,2123,1726,1500,1482,1520,1572,1772,2141,2208,2436,2410,2118,2159,2238,2091,2204,2361,2173,1885,2235,2370,2411,2315,2203,2036,1757,1523,1591,2094,2203,2114,2006,2075,2075,2360,2216,2063,2046,2032,2003,2169,2308,2177,2040,1988,1991,2073,2080,2175,2083,2051,2048,2032,2117,2011,1944,1963,2078,2272,2404,2350,2096,2007,2114,2098,1998,1934,2053,2172,2122,1914,1830,1895,1323,1273,1494,1919,2573,3050,2741,2084,1837,1977,2315,2994,3072,2836,3085,3341,3208,2730,2633,2269,1642,1417,1676,1758,1554,1646,1897,1948,2148,2258,2431,2458,2304,2061,1930,2081,2208,2323,2291,2305,1330,1108,1994,2438,1958,1990,2204,2332,2469,2498,2656,2662,2245,1811,2058,2448,2470,2232,2020,2063,1853,1660,1743,2017,2144,1681,1722,1804,1865,1903,1682,1776,2460,2114,2202,2835,2730,1992,1625,1629,1726,1714,1860,2166,2601,2971,2706,2032,1701,1732,2060,1951,1975,2080,1663,1560,1643,1664,1860,1766,1663,1614,1609,1561,1722,1636,1505,1482,1821,1843,1459,1336,1193,1537,1520,1599,1537,1560,1641,1648,1961,1908,1906,1736,1970,2035,2230,1615,1265,1427,1459,1481,1926,2217,1994,1883,2232,2198,1969,1844,1859,1590,1625,1847,2054,1946,1780,1808,1775,1722,1687,1804,2026,1632,1432,1350,1407,1386,1404,1484,1520,1525,1566,2263,3231,3762,3476,2465,1533,1874,2103,1712,1476,1517,1542,1670,2109,2463,2007,1512,1470,1583,1565,1422,1282,1278,1347,1268,1062,1300,1788,1868,1927,1892,1913,1794,1375,1274,1361,1360,1377,1871,2074,1661,2016,2104,1262,1385,1785,1700,1428,1385,1401,1684,2031,1816,1611,1507,1371,1449,1716,2066,1825,1739,1931,1774,1864,2004,1753,1632,1630,1604,1854,2618,2986,2580,2944,2846,2279,2239,2358,2070,1745,2231,2331,2093,2668,2755,2198,1932,1550,1517,1655,2199,1931,2098,2633,2490,2018,1880,1924,2244,1970,2192,2062,1736,1635,1875,2375,2631,2256,1992,2042,2398,1942,1782,2216,2312,2352,1670,1437,1704,2103,1968,2111,1954,2247,2924,2672,2409,2420,2292,1697,2008,1981,1834,1771,1776,1864,1628,1753,1624,1604,1614,1484,1460,1771,2122,1622,1459,1901,2156,1982,1745,1595,1527,2052,2780,1793,1554,1680,1721,1647,1932,1976,2182,2220,1859,1573,1418,2186,2179,2265,2830,3133,2953,2765,2640,2159,1986,2233,2777,2668,2030,2377,3584,3983,3145,3085,3407,2061,1355,1382,1618,1731,1590,1627,1526,1515,1603,1565,1591,2059,2627,1643,1302,1522,1416,1443,1696,1516,1810,2525,2390,2341,2169,1758,1428,1493,1556,1513,1260,1103,1139,1385,1390,1325,1559,1990,1362,1408,2242,1856,1656,1598,1438,1605,1578,1440,1462,1375,1478,1437,1356,1336,1440,1744,2110,1771,1608,2195,2192,2107,2142,2246,3178,3220,2059,1945,2000,2031,2331,2732,3016,3044,3256,3564,3222,1946,1559,1779,2257,2570,2448,2305,2290,1832,1546,1508,1488,1455,1470,1552,1478,1497,1541,1814,2198,1893,1683,1857,1615,1482,1582,1635,1835,1860,1842,1716,1599,1796,2079,1638,1388,1366,1508,1736,1834,1958,1760,1001,1182,1338,1382,1395,1492,1551,1752,1801,1666,1614,1643,1564,1569,1433,1670,1778,1411,1326,1478,1629,1674,1627,1804,1959,1804,1845,2242,2570,2192,2063,1878,1953,1731,1646,1632,1742,1754,1992,2122,1928,1936,2221,1853,1963,2599,2728,2245,2055,1728,1621,1744,1659,1772,1701,1921,2394,2217,2146,2123,1963,1864,1997,1980,1810,2176,2536,2180,2134,2292,1700,1547,1673,2315,2614,2436,2942,2518,1963,1836,1678,2006,2129,1572,1609,2128,2015,1838,1844,1610,1453,1406,1460,1577,1696,1864,1768,1921,2233,2558,2988,3034,3291,3596,3394,3177,2121,1824,2429,2624,2112,2086,2568,2076,1749,1776,1586,1782,1663,1952,2201,1868,1862,1999,2053,2573,3725,3837,3063,2180,1997,2212,2457,2374,2251,2642,2684,2032,1783,1781,1785,1938,1473,1600,1992,2521,2476,2046,1973,1685,1525,1753,1732,1486,1273,1478,1455,1572,2036,2104,1992,1990,1855,1745,1874,1855,1959,2110,1603,1274,1396,1475,1619,1660,1647,1627,1480,1382,1393,1445,1665,1454,1666,1741,1355,1890,2636,2690,2689,3064,2437,1574,1286,1256,1166,1350,1788,1419,1268,1248,1314,1171,1121,1185,1251,1184,1223,1373,1440,1316,1389,1673,1317,1173,1279,1490,1874,1598,1354,1224,1193,1609,1857,2067,2577,2622,1866,1524,1665,1862,1704,1494,1538,1604,1414,1461,1618,1565,1463,1426,1751,2116,1830,1364,1726,1930,1803,1841,1849,1632,1453,1516,1844,1853,1787,1751,1416,888,1346,2145,3208,2724,2242,3089,3049,3040,3386,3714,3320,1424,1037,987,885,1112,1720,1772,1687,2377,2962,3172,3515,3740,3723,3516,3514,3070,2954,3423,3726,3804,3167,2136,2863,3991,3730,4100,4660,4696,4335,4484,5016,5095,5123,5281,5288,4808,4247,4412,4600,4576,4728,4816,4729,4124,4072,4256,4376,4327,4035,3648,3361,3254,3702,3813,3917,4203,4131,3350,3005,3452,4069,4361,3736,3228,4034,4537,4192,3454,3653,3842,3618,3348,3315,3374,3815,4297,4266,4027,3867,3775,4017,4019,4379,4551,4128,3176,1969,1103,789,718,714,833,847,807,1090,1196,1099,1141,998,878,908,994,1040,1104,1154,1195,1585,2471,3196,3494,3346,2711,2641,3275,3914,3808,3177,3113,2916,2104,1691,1367,1206,1058,983,990,899,893,944,875,922,956,900,1192,1673,1866,2177,2008,1947,2133,2403,2158,2639,2967,2564,2378,2469,2338,2246,2216,1964,1747,1563,1433,1621,1640,1685,2084,2252,2087,2186,2480,2603,2724,2326,2200,2483,2709,2676,2622,2416,2203,1884,1682,1813,1653,1146,1132,1293,1203,1139,1091,1125,1332,1614,1515,1261,1130,1227,1412,1419,1340,1038,937,1032,984,843,765,964,1117,1109,1288,1620,1665,1127,1106,1776,2198,2408,2198,1865,1704,1577,1490,1548,1537,1310,942,781,700,664,609,563,549,544,519,525,543,545,571,640,814,1132,1532,1922,2298,2381,2048,1850,1485,1324,1461,1434,1199,1311,1670,1687,1646,1505,1447,1422,1208,1047,957,843,719,656,617,556,533,513,507,483,488,494,589,680,762,790,834,1722,2736,2204,1685,1524,1388,1241,1035,882,939,996,1059,1197,1268,1029,764,971,1098,813,789,762,698,606,587,826,930,842,965,1152,1098,879,835,723,458,329,281,284,281,297,270,256,272,252,252,253,249,270,272,288,297,336,394,437,401,561,789,703,556,448,465,531,758,778,587,540,727,589,368,360,385,378,390,380,347,346,341,410,413,396,370,366,377,370,353,338,334,434,385,343,357,380,382,368,354,336,313,298,300,315,326,333,339,354,362,360,356,352,340,339,340,351,367,375,363,360,369,429,481,493,406,341,347,389,448,488,520,541,570,588,572,508,529,587,584,701,776,706,609,616,716,671,639,509,446,431,403,374,502,559,466,427,452,469,459,416,392,387,378,385,382,386,383,390,379,350,379,419,412,427,441,458,487,508,525,532,523,487,486,471,447,467,472,478,406,436,459,543,570,520,498,479,473,475,475,477,472,467,491,507,455,401,425,448,452,441,435,421,414,396,392,398,403,409,417,365,367,397,389,439,528,536,480,427,399],[1984,2192,1763,1578,2333,2977,3265,3450,3304,2705,3134,3155,2817,2736,2423,1643,1631,2093,2479,2349,1749,1443,1882,2306,2534,2728,2676,2554,2630,3074,3786,3742,3239,3078,2908,2820,2857,2596,2501,2588,2497,2488,2686,2583,2456,2577,2695,2644,2555,2592,2579,2608,2790,3464,3601,3814,3959,3876,3247,2471,2245,2160,2313,2769,2777,2579,2894,3022,2830,2754,2773,2928,2639,3143,3584,3489,3536,3081,2743,2579,2664,2706,2487,2145,2765,3593,3558,3100,2618,2394,2456,2453,2631,2781,3804,4004,3480,4131,3761,2923,1963,1305,1197,1084,1804,2602,2806,2900,3131,3195,2809,2717,2693,2513,2561,2727,2646,2622,2596,2199,2559,2911,3064,3241,3122,2764,2512,1864,2232,2746,2315,2340,2554,2531,2685,2149,1475,1709,2964,3151,2798,2813,2874,2972,3011,3030,3025,3138,3024,2384,2720,2630,2918,2742,2587,2958,3294,2883,3016,3438,3595,3626,3397,3326,3385,3400,3394,3249,3248,3198,3010,2812,2626,2202,2641,3419,3442,3704,4086,4119,3444,2509,2357,3052,3034,2621,2418,2529,2750,2802,2764,2875,2093,1696,1722,1726,1988,2188,2956,3119,2851,2386,2065,2134,2161,1816,1960,1940,1920,2349,2328,2270,2645,2909,2499,2386,2458,2588,2711,2630,2632,3011,2718,2583,2841,2459,2229,2220,2222,2203,2648,3142,3226,2943,2790,2746,2664,1944,2031,2031,1894,2376,2197,2058,2464,1932,1883,1912,1689,1505,1852,2258,2410,2452,2714,2622,2691,2886,2994,2956,2593,2508,2531,2562,2293,2357,2751,3108,3132,2751,2798,3142,3151,2539,1764,1640,1925,2386,2294,2071,2353,3187,3504,3388,2972,2658,2452,2652,2514,1873,2053,2508,2479,1931,1967,1900,2037,1948,1713,1901,1916,1788,1990,2271,1926,1737,1938,2143,2403,2576,2601,2737,2221,1802,1977,2323,2335,2266,1804,1708,1854,1852,1816,1717,1830,1852,1787,1752,1685,1790,1824,1885,1838,1873,2142,1967,1817,1696,1794,1687,1805,2837,2923,2206,2310,2070,2112,2018,1575,1372,1278,1277,1301,1347,1216,1762,2498,2457,1762,1818,2347,1900,1888,1911,1920,1909,2036,2034,1890,1763,1696,2085,2622,2290,1756,1573,1349,1766,2396,2620,2488,2268,1938,1700,1991,2237,2181,2675,3273,2889,2564,2476,2564,2644,2146,1676,1880,2080,2071,2206,2567,2861,2491,2279,1977,1468,1476,1526,1475,1523,1708,1676,1698,1726,1813,1768,1892,1880,1648,1908,2020,1947,1990,2215,2631,2776,2600,2152,1669,1565,1730,1854,2125,2193,2254,2250,2284,2285,2216,2024,1990,2035,1927,1871,1898,1969,1948,1970,2053,2051,1921,1997,2080,1892,1982,2033,2104,2425,2492,2555,2591,2596,2898,3000,2664,2147,1782,1950,2188,2160,1844,1833,1895,1926,1968,2141,1931,1587,1438,1552,2082,2525,2854,3157,2819,1994,1811,1888,2481,2889,2967,3256,3559,3511,3277,3120,2580,1781,1371,1575,1946,2354,2545,2333,1942,1837,1902,2808,3453,3061,2100,1658,1825,2262,2481,2379,2178,1383,1277,2055,2440,2063,1746,1781,2167,2571,2552,2457,2453,2051,1814,2043,2303,2383,2211,2108,2080,2014,2036,2013,2142,2059,1605,1605,1702,1682,1765,1524,1495,1655,1800,2579,2998,2513,1704,1741,1932,1925,1748,1543,2053,2254,2281,2437,2492,2001,1676,1997,2046,2069,1791,1625,1497,1421,1504,1702,1686,1498,1579,1672,2061,2175,1774,1527,1706,1757,1703,1690,1450,1389,1560,1548,1746,1719,1401,1531,1528,1669,1776,1787,1675,1617,1859,2210,2026,1765,1737,1723,1625,2100,2353,1819,1791,2527,2406,2303,1873,1650,1565,1744,1947,1581,1646,1731,1744,1714,1718,1722,1726,1934,1540,1301,1381,1499,1509,1404,1438,1947,1876,1945,2547,2955,3382,2908,1972,1678,1841,2026,1760,1396,1448,1416,1477,1785,2007,1748,1607,1656,1905,1870,1622,1447,1383,1321,1257,1238,1452,1775,1974,1965,2203,2075,1988,1495,1280,1331,1409,1463,1766,2046,1562,1632,1691,1396,1375,1458,1546,1443,1516,1516,1550,1593,1596,1628,1523,1459,1460,1560,1692,1703,1830,2140,1850,1824,1785,1612,1645,1483,1544,1686,1839,1981,1855,2337,2437,2460,2836,2391,1567,1868,2863,2613,2324,2597,2260,1873,1577,1425,1483,1498,1925,1969,2047,2300,2043,1856,1961,1929,2270,1981,2204,1976,1893,2154,2017,2194,2144,1558,1961,2943,3121,2170,2257,2940,2160,2375,1977,1437,1417,1531,1649,1676,1946,2994,3179,3062,2584,2292,2286,1998,2007,2043,1969,1908,2024,1909,1825,1951,1488,1592,1559,1470,1521,1895,1888,1368,1348,1839,1996,1795,1828,1693,1609,2545,2946,1676,1554,1764,1925,1794,2338,2423,2332,2105,1610,1760,1801,2492,2589,2483,2819,3208,3041,2815,2492,2034,2110,2698,3376,2712,2200,2461,3541,3540,3174,3317,3118,1951,1460,1490,1555,1528,1531,2142,1920,1387,1488,1467,1401,1700,1713,1500,1478,1495,1383,1438,1598,1539,1715,2348,2187,2387,1982,1729,1744,1567,1521,1393,1268,1268,1376,1592,1582,1653,1595,1817,1268,1142,1571,1562,1657,1697,1551,1705,1875,1495,1553,1494,1423,1484,1611,1587,1660,2004,2478,2254,1864,1876,1806,1751,1703,1760,3007,3650,2922,2695,2287,2194,2135,1833,1951,2322,2728,3276,3152,1910,1598,1676,1785,1699,1979,1923,1675,1585,1618,1454,1338,1398,1366,1364,1646,1898,1844,1844,1782,1533,1393,1423,1483,1589,1587,1504,1560,1520,1553,1443,1463,1776,1773,1504,1387,1413,1528,1684,1776,1924,1881,1301,1472,1658,1636,1636,1677,1641,1695,1635,1394,1471,1633,1469,1517,1479,1708,1604,1629,1591,1481,1679,2031,2022,2107,2354,1644,1651,1851,1869,1677,1779,1856,1824,1817,1694,1522,1427,1521,1759,1865,1946,2153,1941,1647,2127,2756,2574,2222,2179,1985,1865,1711,1409,1489,1555,1623,2126,2162,2169,2249,2416,2114,2294,2267,2272,2814,2396,1921,2134,2011,1689,1878,2012,1836,1979,2524,2661,2197,2372,2355,1756,1621,1756,1648,1745,2060,1933,1815,1703,1586,1610,1468,1332,1455,1881,1668,1486,2057,2557,2153,2020,2165,2371,2729,2754,2248,1658,1802,2489,2712,1780,1817,2647,2032,1697,1672,1523,1839,1910,1829,1580,1880,2604,2575,2358,2677,2875,3238,2922,2157,1702,2040,2159,1854,2075,2453,2171,1559,1667,1750,1708,1758,1534,1650,2391,2246,1877,2193,2231,1843,2022,1913,1698,1687,1707,1608,1605,1616,2132,2089,1812,1858,1743,1637,1969,2049,1721,1590,1521,1481,1566,1920,2047,1923,1691,1666,1725,1493,1327,1059,1349,1445,1565,1731,1381,1491,1721,2112,2513,2831,2810,2343,1500,1556,1399,1371,1607,1350,1238,1246,1296,1216,1181,1256,1235,1360,1554,1230,1322,1444,1432,1458,1301,1239,1318,1626,1913,1721,1389,1262,1476,1695,1863,1970,2135,1974,1559,1605,2133,2071,1815,1916,1863,1594,1361,1455,1602,1515,1492,1526,1880,2276,1591,1058,1342,1534,1375,1320,1422,1342,1115,995,1647,1897,2017,1747,1516,1202,1389,2108,3012,3076,2486,2894,2046,2247,3219,3591,3301,1788,1427,1632,1654,1795,1861,2128,2181,2517,2546,2974,3595,3619,3164,3513,3704,3092,2772,2940,3196,3121,2699,2054,2841,3981,3898,4052,4319,4684,4576,4612,5036,5136,5008,5092,5308,4905,4677,4733,4502,4440,4503,4712,4576,4550,4549,4220,4183,4328,4316,3906,3497,3307,3472,3542,3738,4083,4020,3265,3067,3697,4357,4605,4089,3654,4240,4395,3989,3526,3657,3920,3431,2973,2984,3087,3311,3448,3270,3195,3506,3714,3853,3980,4493,4725,4339,2801,1314,849,696,676,708,854,888,831,1087,1147,1076,1111,1005,875,877,954,1032,1046,1103,1164,1311,2076,2934,3431,3442,2898,2679,3152,3759,3864,3295,3163,3116,2218,1779,1384,1203,1050,943,971,921,900,929,885,945,1052,959,1223,1991,2006,2270,2155,1936,2016,2470,2332,2397,2875,2829,2334,2351,2386,2196,2147,1915,1682,1515,1383,1543,1686,1719,2048,2382,2100,2058,2497,2469,2693,2512,2199,2333,2711,2707,2611,2437,2139,1892,1640,1707,1697,1244,1021,1184,1188,1113,1060,1081,1350,1716,1787,1588,1179,1281,1605,1547,1492,1172,950,1024,1029,867,774,911,1039,1033,1139,1553,1906,1412,1059,1454,2017,2329,2265,1967,1798,1632,1474,1530,1540,1471,1035,811,685,672,611,563,537,534,509,518,555,543,579,678,804,1090,1413,1740,2214,2335,1981,1651,1425,1261,1350,1409,1193,1100,1503,1625,1576,1486,1449,1360,1240,1126,990,890,814,751,619,560,540,519,490,477,490,529,626,758,765,756,843,1554,3087,2744,1895,1543,1390,1306,1174,940,877,956,999,1086,1263,1297,871,854,1172,1154,893,836,951,940,764,827,951,882,951,1147,1128,901,788,789,539,359,300,279,287,311,301,267,264,260,262,262,263,268,275,281,296,347,416,475,433,462,709,690,596,572,653,732,801,751,619,526,646,620,436,343,371,369,388,373,365,364,367,406,408,386,367,354,337,319,325,333,320,424,371,347,367,379,377,355,334,323,315,311,318,323,336,337,343,355,373,377,373,364,352,341,339,346,355,355,342,348,366,485,531,508,436,352,352,408,464,487,508,551,591,571,564,580,559,582,611,658,697,717,622,562,672,669,666,523,473,455,430,435,515,520,457,455,453,424,399,388,389,384,378,377,375,378,387,387,377,365,364,427,472,450,455,452,465,499,511,519,508,482,479,467,452,455,450,507,422,427,447,494,543,534,486,457,469,477,475,475,469,471,480,469,447,428,422,445,456,442,427,417,402,394,389,388,399,406,418,396,380,382,389,437,534,588,534,423,394],[2328,2367,1857,1956,2147,2542,2896,3009,2663,1928,2567,3130,2979,2728,2250,1945,2400,2810,2932,2470,2076,1760,1966,2443,2552,2728,2636,2544,2657,3399,4196,3964,3444,2874,2293,2896,3090,3322,3155,2779,2619,2636,2675,2546,2503,2637,2724,2747,2643,2386,2711,2657,2867,3441,3695,3808,3961,3941,3373,2557,2144,2280,2664,2796,2616,2939,3394,3493,3233,2587,2500,2565,2690,3304,3132,2801,2663,2602,2396,1793,2314,2490,2042,1741,2178,2864,2964,2511,2130,1902,2164,2450,2763,3008,3829,4294,4218,4295,3823,3328,2930,2517,2196,1656,1752,2257,2204,2752,2931,2392,2203,2477,2395,2006,2206,2500,2638,2885,2949,2313,2548,2920,2922,3030,2820,2853,2702,2175,2563,2618,1908,1819,1974,2055,2326,2256,1883,2040,3263,3236,2776,2738,2818,2780,2570,2967,3172,3087,2830,2506,2509,2720,2836,2427,2065,2547,2821,2603,2952,3351,3528,3561,3392,3309,3432,3367,3292,3236,3251,3194,2988,2810,2277,2325,3332,3359,3351,3624,4019,3812,3361,2884,3330,3694,3384,2896,2714,3197,3288,3297,2776,2113,1808,1888,1716,1525,1781,2105,2402,2752,2514,2013,1698,1919,1732,1797,2642,2386,2411,2433,2189,2243,2711,2699,2376,2271,2062,2120,2417,2642,2769,2714,2457,3110,3544,3084,2662,2123,1713,1712,2604,2999,3440,3231,2644,2797,3130,3096,2973,2427,1876,2205,2336,2850,3050,2445,1778,1684,2041,1713,1826,2168,2222,2648,2724,2687,2688,2363,2647,2708,2912,2972,3196,2834,2092,1931,2310,2776,2912,2631,2491,2737,2751,2102,1905,1913,2076,2282,2208,2692,2920,3182,3524,3497,3411,2831,2165,2524,2551,2586,2141,2427,2497,2357,2396,2641,2966,2483,1769,1827,1872,2327,3016,3304,2793,2554,2514,2291,2539,2766,2679,2403,1755,1687,1985,2500,2678,2243,1706,2002,1735,1886,2026,1730,1794,1855,1754,1685,1698,1816,2122,1937,1770,1805,1836,1920,1955,1789,1783,1714,1732,2450,2947,2711,2599,2106,1861,1666,1731,1783,1625,1415,1592,1543,1237,1555,2134,2211,1628,1983,2271,2010,1996,2013,2031,1996,2002,1838,1803,1910,1925,1883,1554,1623,1409,1446,1532,2119,2734,2645,2590,2195,1699,1797,1518,1843,2660,2820,3166,2124,2221,2579,2813,2941,2377,2178,2092,1700,1747,2103,3076,3286,2648,2450,2348,1990,2160,2123,1630,1755,1856,1603,1700,1610,1590,1757,1970,2441,2102,1724,1976,2238,2043,2199,2796,2586,2578,2364,2042,2046,2339,2386,2303,2342,2262,2056,1937,1912,1939,2078,2227,2333,1950,1730,1868,1741,1558,1730,1799,1693,1689,1886,1874,1816,2049,1898,2396,3321,3574,3733,3802,3265,2844,2583,2621,2360,2121,2447,2242,2276,1972,1986,1685,2338,2797,2889,2732,2180,1640,1897,2403,2455,2774,3356,3135,2588,1903,1787,1933,2329,2789,2988,3187,3444,3471,3373,2740,2028,1766,1758,2167,2501,2722,2459,2086,2139,2314,2485,3147,3378,2282,1892,1825,2232,2460,2632,2744,2449,1796,1940,2332,1935,1636,1878,2054,2244,2280,2198,2219,2217,2414,2409,2367,2055,1760,1864,2051,2019,1981,2081,2188,1983,1556,1504,1603,1613,1512,1453,1668,1667,1948,2837,2953,2307,1860,1948,2003,1695,1538,1598,1769,1748,1680,1732,1874,1795,1577,1508,1530,1869,1791,1930,1852,1456,1282,1503,1670,1793,1880,1880,1960,1740,1676,1519,1606,1680,1726,1806,1748,1722,1780,1636,1539,1507,1441,1799,1694,1566,1676,2102,2132,1879,1873,2100,2110,2014,2042,2184,2028,2324,2197,1847,2279,2671,2143,1850,1600,1616,1709,1830,1858,1483,1574,1481,1749,1653,1385,1672,2009,1990,1595,1390,1457,1549,1540,1597,1975,2444,1694,1964,1940,1891,1844,1729,1717,1750,1764,1942,2143,1715,1656,1758,1704,1593,1622,1643,1528,1606,1766,1637,1504,1522,1482,1421,1411,1453,1533,1620,1766,1906,2060,2082,2032,1663,1479,1294,1380,1628,1698,2075,1751,1553,1404,1434,1381,1493,1662,1842,1830,1696,1585,1513,1560,1584,1387,1490,1461,1516,1622,1726,2073,2096,2072,2245,1720,1457,1489,1372,1423,1478,1444,1659,1693,2212,2376,2411,2563,1747,1581,2591,2846,2245,2065,2665,2209,1725,1509,1528,1656,1565,1456,1807,2228,2106,2172,2056,2122,2002,2080,2008,1842,1548,1693,2070,2066,1855,1867,2105,2494,2854,2774,2357,2298,2690,2240,2276,2281,1838,1700,1689,1617,1427,2409,3395,2808,2943,3147,2730,2852,2576,2493,2231,1680,1911,2182,1634,1560,1544,1750,1914,1799,1708,1731,1951,1705,1348,1361,1565,1573,1578,1685,1777,1737,2785,2956,1879,1474,1807,1947,1971,1917,2057,2671,2317,1976,2128,2654,2601,2347,2313,2768,3007,2741,2563,2275,2068,2337,2896,2896,2257,2201,2602,2502,2533,3266,3655,2686,1571,1484,1441,1660,1588,1506,2051,1886,1597,1346,1339,1397,1374,1196,1285,1603,1390,1376,1463,1569,1573,1461,1518,1575,1728,1499,1531,1629,1391,1315,1349,1392,1430,1455,1543,1511,1581,1591,1584,1442,1440,1625,1555,1440,1425,1591,1793,1976,1382,1410,1397,1324,1302,1959,2028,1880,2677,3100,2962,2527,2413,2336,1988,2024,2132,2834,3328,3079,2533,2297,2322,2336,1746,1727,1800,2042,2533,2030,1563,1513,1491,1465,1462,1671,1693,1478,1632,1711,1629,1531,1443,1512,1478,1748,2699,2755,1881,1530,1434,1391,1743,1911,1483,1412,1508,1744,1663,1671,1554,1597,1902,1638,1506,1573,1702,1574,1594,1594,1784,2012,1748,1729,1777,1651,1532,1523,1580,1675,1544,1315,1627,1622,1555,1543,1577,2055,1881,1532,1388,1571,1877,1959,2222,2668,2492,1650,1593,1768,1857,1796,1696,1643,1631,1689,1699,1501,1555,1696,1700,1888,1774,1824,1500,1700,2237,2186,1986,1982,1804,1871,2098,1896,1622,1404,1770,1660,2344,2714,2435,2345,2276,2130,2241,2155,2091,2333,1890,1756,2021,1997,1891,2273,2098,1662,2016,3039,2988,2426,2999,2491,1760,1506,1675,1726,1737,1666,1621,1564,1430,1495,1674,1678,1740,1677,1964,1800,1693,2143,2439,1935,1709,1737,1890,2271,2182,1824,1520,1713,2032,2037,1807,1894,2129,1579,1559,1514,1432,1830,1809,1656,1485,1802,2258,2146,1953,2408,2563,2674,2534,2055,1819,1998,1862,2035,2302,2002,1967,1722,1676,2062,1849,1493,1492,1966,2128,1505,1461,1896,2060,2289,2535,2062,2456,2352,2041,1787,1651,1519,1570,1597,1584,1766,1970,2098,2379,2363,1778,1856,1808,1922,1811,2373,2674,2219,1664,1581,1652,1568,1638,1237,948,1298,1389,1641,1757,1790,1625,1908,2216,1904,2506,3167,2132,1686,1471,1384,1562,1429,1334,1306,1273,1267,1263,1408,1228,1365,1563,1211,1245,1717,1773,1498,1353,1275,1268,1528,1748,1495,1299,1376,1499,1443,1721,1846,1895,1681,1431,1521,2211,2382,1982,1887,1797,1466,1623,1831,1900,2171,2225,1738,1871,2203,1639,1052,1203,1651,1853,1974,2083,1952,1497,1208,1820,1854,1993,2173,1755,1215,1243,2344,3401,3386,2843,3395,2905,2852,3272,3665,3204,1919,1681,1906,1791,1612,1193,1959,2308,2833,3010,2956,3176,3552,3740,3928,3520,3294,3095,2802,2942,2889,2391,2113,2664,3617,3990,4184,4200,4300,4501,4677,4675,5027,5092,4944,4992,4532,4709,4740,4459,4264,4463,4796,4631,4449,4429,4207,4163,4289,4311,3812,3506,3386,3533,3597,3904,4457,4475,4038,3966,4353,4528,4464,3834,3565,4229,4332,4008,4030,4241,4000,3449,3151,3196,3207,3211,2972,2972,3212,3553,3396,3597,3946,4155,4489,4078,2330,975,719,679,671,735,867,922,875,1075,1105,1045,1080,993,855,824,874,1037,1011,1027,1138,1173,1705,2588,3212,3388,3078,2730,2946,3486,3875,3404,3369,3415,2569,1963,1466,1198,1057,947,980,994,904,930,900,901,1109,1061,1157,2048,2266,2416,2387,2028,1941,2258,2318,2313,2634,2874,2330,2402,2478,2270,2066,1861,1644,1499,1380,1427,1634,1704,1926,2380,2180,1925,2424,2329,2575,2709,2398,2162,2450,2630,2539,2373,2026,1842,1621,1641,1642,1365,1011,1038,1129,1097,1072,1068,1321,1764,1799,1738,1291,1217,1536,1556,1469,1299,1017,990,1123,949,848,891,1004,968,1004,1333,1750,1602,1143,1191,1737,2292,2365,2084,1923,1748,1465,1529,1598,1548,1204,915,713,670,625,566,540,528,513,511,542,546,578,735,813,1054,1425,1741,2103,2250,1903,1578,1407,1204,1260,1275,1117,1017,1322,1515,1593,1499,1366,1306,1303,1242,1038,948,816,725,691,607,596,554,511,502,517,567,602,635,653,709,831,1226,2743,3309,2502,1707,1390,1288,1209,991,820,885,922,974,1133,1385,1050,856,1053,1439,1216,871,999,1158,1091,965,948,877,906,1091,1104,948,755,781,621,381,312,282,294,318,338,301,266,261,275,272,274,273,269,278,310,364,435,490,489,448,642,725,624,670,717,723,642,638,612,523,546,575,457,345,358,376,417,418,403,409,413,409,393,383,366,339,327,320,335,308,312,407,380,350,364,366,360,330,310,306,311,312,315,321,334,343,340,355,378,386,381,366,351,332,339,347,343,342,332,336,380,484,491,460,456,379,362,412,465,484,495,527,577,539,558,597,568,588,606,641,672,667,637,562,617,661,691,576,480,452,481,536,521,468,439,430,425,411,397,395,387,381,376,371,372,377,391,390,388,393,341,397,517,491,465,454,463,486,495,496,493,488,471,463,468,455,442,499,443,416,443,469,511,520,490,469,480,475,478,482,482,483,480,488,480,442,433,452,454,436,420,408,399,389,382,384,390,398,412,409,390,378,384,417,519,581,576,437,392],[2040,2413,2785,2912,2390,2573,2715,2806,2808,2154,2690,3271,3152,2719,2054,2538,3122,2974,2963,2898,2895,2963,2907,2971,2732,2326,2172,2523,2826,3708,4400,3926,3466,2968,2143,2844,3053,2886,2742,2617,2578,2644,2777,2768,2775,2863,2875,2856,2893,2855,3076,2927,2919,3271,3454,3526,3643,3570,3107,2598,2767,2535,1997,2253,2488,2856,3203,3339,3305,2976,3095,2954,2556,2727,2289,2239,2606,2989,2713,2033,2221,1955,1422,1618,2059,2314,1987,1640,1925,2562,2995,3002,2653,2569,3247,3860,3860,3803,3586,3309,2918,2591,2144,1848,1807,1762,2017,2784,2525,1841,1657,1883,1881,1612,1950,2220,2533,2754,2809,2583,2575,3044,2710,2174,2197,2662,2562,2226,2360,2380,2013,1804,1723,1965,2188,2470,2547,2873,3350,3300,3143,2917,2917,2492,1988,2799,3264,3023,2626,2571,2475,2593,2641,2313,2082,2447,2676,2611,2758,2924,3210,3430,3257,3372,3271,3211,3318,3251,3229,3119,2900,2588,2367,2950,3214,3172,2926,2848,3387,3474,3420,3438,3317,3319,3513,3570,3600,3683,3391,3155,2492,1794,1769,2106,1880,1870,2208,1944,1937,2436,2025,1492,1526,1947,1743,2198,3052,2679,2369,2270,2221,2279,2611,2231,1922,1670,1652,2046,2741,2978,2996,2692,2453,2795,3328,3410,3233,2488,1669,2263,2967,3028,3630,3293,2089,1440,2105,2786,2636,2126,2215,3008,3337,3737,3542,2962,2289,2232,2217,1844,1846,1990,2391,2953,2504,2534,2364,2448,2648,2426,2276,2179,2426,2344,2026,2082,2431,2831,2830,2347,2123,1999,2066,1869,1912,1968,2006,2120,2708,3397,3376,3409,3566,3595,3130,2170,1862,2683,3191,3156,2643,2512,2993,3122,2893,3435,4128,3764,2526,2394,2687,2767,3237,3619,3234,3262,3314,2973,2846,2652,2177,2377,2040,1693,1621,2337,2253,1818,1824,1830,1688,2121,1941,1522,1803,2165,1951,1754,1974,2094,2237,1829,1583,1587,1532,1749,1921,1865,2048,2512,2246,2655,3431,3482,2979,2400,2018,1755,1736,2047,1934,1543,1820,1954,1722,1769,2121,1924,1672,2325,2630,2686,2563,2247,1714,1458,1457,1648,1958,2127,1937,1809,2020,1870,1986,2345,2240,2241,2489,2370,2479,2281,2294,2302,1740,2258,3048,2929,2872,2158,1985,2210,2696,2836,2091,2132,1844,1547,1848,2447,2863,2984,2690,2136,1884,2191,2376,2031,2123,2345,1990,1618,1667,1642,1780,2024,2010,2347,2053,1695,1978,2309,1969,2154,2604,2249,2361,2439,2339,2295,2278,2168,2147,2317,2291,1564,1469,1845,1911,1878,1991,2313,1924,1766,1910,1793,1698,1772,1743,1602,1683,1913,1684,1717,2094,2337,2396,3303,3505,3585,3450,2618,2064,1692,2406,2568,2242,2367,2209,1941,2057,2222,2388,2826,2758,2644,2700,2025,1546,1704,2372,2540,2777,3475,3146,2961,2399,1931,1725,1915,2367,2730,2854,3070,3350,3556,3152,2207,1871,1910,2020,2099,2124,2005,1764,1675,2397,2973,3348,3550,2790,2292,1982,2557,3725,3701,2958,2392,2182,2547,2471,1659,1838,2487,2033,2171,2402,2582,2275,2477,2707,2482,2237,2100,1967,1441,1431,1931,2213,2104,2069,2022,1942,1775,1756,1854,1669,1470,1699,1803,2148,2603,2749,1913,1893,2440,1881,1486,1405,1484,1683,1581,1354,1463,1523,1733,1732,1570,1659,1827,1855,2027,1788,1422,1698,1636,1527,1611,1867,2000,1806,1832,1634,1417,1531,1709,1952,2108,1776,1716,1841,1779,1825,1870,1990,2144,2150,1891,1853,1924,1898,1932,1948,2069,1821,1717,1609,1711,1753,2018,1923,1995,2169,2108,1999,2019,2366,2669,2850,2467,1947,1562,1621,1434,1577,1575,1378,1393,1619,1780,1606,1257,1340,1312,1471,1559,1621,1686,1554,1768,1703,1720,1481,1431,1921,1842,1692,1744,1873,1847,1906,1989,1872,1660,1655,1497,1311,1330,1380,1410,1468,1438,1382,1367,1510,1449,1355,1543,1761,1968,1882,1863,1771,1504,1560,1482,1434,1578,1718,2200,2080,1692,1476,1471,1486,1467,1696,1995,1818,1638,1350,1507,1636,1574,1455,1450,1300,1528,1755,1705,1604,1664,1868,2013,1694,1792,1678,1709,1679,1539,1694,2242,2400,2585,2544,2142,2076,1743,1974,2691,2118,1952,2322,2316,1780,1582,1607,1689,1874,1644,1500,1904,2431,2322,2778,2458,2156,1845,1559,1589,1672,1600,1660,1559,1954,1822,1701,2858,2740,2548,2808,2633,2337,2546,2659,2497,2457,2251,2165,2025,1605,1790,2968,2808,2186,2015,2658,3157,2658,2458,2774,1976,1690,1670,2049,1836,1570,1945,2187,1950,1747,1747,1953,1825,1406,1588,1988,1927,1707,1598,1623,1670,1909,2610,2759,1919,1604,1743,1766,1801,1629,1822,2819,2732,2038,2149,3121,2696,2158,2533,2940,2997,2578,2250,2182,2171,1991,2673,2502,2164,2054,2171,2082,2060,2408,2514,1801,1655,1555,1412,1765,2053,1715,1481,1613,1820,1479,1510,1841,1745,1436,1417,1704,1433,1390,1418,1376,1328,1322,1390,1413,1443,1503,1454,1466,1373,1384,1449,1565,1528,1582,1609,1619,1521,1489,1520,1508,1636,1538,1420,1343,1375,1550,1512,1587,1399,1277,1273,1355,1302,1636,2080,2336,2497,2676,2817,2445,2332,2721,2055,1903,2326,2313,2573,2157,1739,2070,2445,2427,1815,1815,1706,1926,2037,1823,1708,1710,1674,1421,1357,1504,1632,1498,1534,1622,1687,1709,1507,1614,1509,1616,2461,2491,1873,1830,1910,1810,1553,1621,1666,1695,1678,1731,1805,1949,1895,2315,2494,1558,1553,1531,1557,1453,1647,1771,1664,1541,1477,1502,1567,1459,1383,1591,1684,1864,1676,1483,1431,1528,1729,1598,1752,2240,2039,1470,1537,1768,1920,1919,1869,2072,1840,1681,1722,1691,1690,1794,1827,2023,2220,2158,1948,1559,1681,1823,1545,1750,1838,1894,1577,1747,2115,1981,1768,1690,1565,1672,2124,2305,2158,1811,1715,1887,2552,2895,2635,2502,2309,2360,2316,2666,2589,1979,1891,2055,1924,1719,1854,2076,1980,1934,2386,3019,2332,1949,2801,2250,1776,1697,1649,1621,1909,1933,1700,1658,1587,1421,1685,2190,2128,2388,2033,1674,1655,1976,2267,2180,1983,1774,1815,2205,1953,1760,1766,1576,1995,2166,1996,1970,2128,1715,1929,2294,1840,1588,1497,1497,1396,1352,1534,2145,2445,2574,2811,2878,2632,2102,1826,1844,1708,2602,2684,2189,2074,2042,2224,2244,1827,1641,1663,1611,1512,1557,1798,1860,1873,2258,2199,1644,2064,2394,2080,1839,1771,1614,1712,1842,1492,1761,2120,2301,2410,2414,2204,2043,2062,2065,2194,2691,2933,2753,2024,1767,1685,1608,1759,1646,1431,1365,1699,2128,2465,2323,1633,1753,2248,1875,2320,2824,2160,1627,1417,1388,1713,1679,1417,1327,1249,1153,1166,1373,1247,1243,1254,1351,1655,1910,1730,1613,1505,1224,1188,1340,1483,1403,1456,1390,1280,1562,1931,1874,1968,2030,1838,1848,1917,1849,1924,1886,1768,1621,2079,1946,1856,2138,2326,2210,1922,2225,1746,1349,1201,1180,1363,1636,1751,1952,1625,1416,2116,2204,2115,2373,1581,1074,1172,2160,3060,3261,2808,3530,3958,3694,3639,3956,3386,1940,1696,1532,1173,1140,1171,1895,2281,2897,3154,3006,3205,3382,3672,3531,2961,3225,3227,2771,2815,3166,2790,2374,2750,3474,4000,4341,4200,4111,4501,4777,4615,4763,4939,4720,4820,4920,4872,4665,4401,4147,4344,4529,4177,3863,4297,4400,4312,4059,3925,3620,3565,3519,3558,3706,4027,4440,4516,4416,4373,4494,4459,4487,4306,3905,3993,4144,3880,3814,3935,3699,3340,3156,3122,3234,3164,2975,2863,3044,3558,3253,3380,3935,4092,4476,3792,1697,813,631,637,666,771,876,954,917,1002,1092,1016,1037,977,835,795,789,973,1001,972,1072,1123,1442,2319,3046,3261,3139,2690,2858,3388,3755,3496,3527,3750,3241,2490,1800,1238,1077,951,980,1239,1059,986,991,913,1078,1123,1112,1911,2402,2330,2277,2092,1931,2085,2211,2291,2404,2791,2576,2444,2436,2343,2140,1874,1604,1504,1414,1336,1438,1556,1758,2288,2277,1935,2277,2294,2199,2552,2626,2304,2325,2542,2433,2342,1961,1792,1596,1561,1583,1415,1063,931,1021,1067,1081,1125,1295,1729,1734,1644,1477,1299,1431,1555,1447,1416,1184,1004,1196,1128,956,921,994,973,958,1073,1510,1561,1206,1076,1460,2141,2342,2140,2028,1869,1484,1486,1566,1545,1408,1056,754,635,642,580,547,534,518,530,544,564,597,771,818,1036,1477,1804,2084,2142,1762,1582,1397,1212,1177,1140,1024,944,1184,1487,1588,1462,1310,1285,1356,1305,1123,971,822,720,669,740,844,682,577,530,539,557,548,523,582,687,781,1031,2266,3546,3208,2071,1456,1232,1181,1050,779,804,862,923,1009,1238,1308,1149,973,1340,1571,1205,896,1023,1143,1002,972,926,921,1049,1089,977,762,726,670,409,310,276,295,317,337,320,279,279,288,292,284,280,276,289,323,376,446,500,524,476,572,683,648,581,521,496,488,523,529,478,488,536,488,384,359,385,446,467,435,404,402,405,393,386,364,337,325,306,329,310,301,369,400,369,361,363,352,330,316,315,318,314,306,309,328,344,347,360,371,378,373,360,342,327,328,341,338,339,337,328,391,503,448,400,460,408,367,398,447,470,489,513,564,538,540,601,564,529,556,604,664,629,626,560,573,645,700,643,579,677,691,580,454,408,415,412,405,398,404,398,386,378,371,364,363,371,380,397,402,423,378,442,525,507,491,470,462,472,478,481,482,482,476,480,491,459,434,488,465,416,448,461,511,550,533,497,490,495,499,492,485,478,494,524,520,495,468,453,444,429,415,402,393,386,384,382,383,387,399,399,389,379,380,405,475,516,549,458,399],[2308,2524,2976,2753,2366,2446,2384,2377,2767,2542,2496,2868,2709,2097,2294,3179,2946,2804,2905,2952,2842,2981,3216,3178,2806,2697,2900,3001,3044,3860,4111,3803,3342,2761,2530,2825,3012,3024,2835,2768,2677,2501,2486,2219,2116,2328,2902,3082,3163,3150,3001,2941,3077,2943,2697,2866,2736,2453,2325,2470,3038,2410,2004,2447,2200,2435,3082,3387,3291,3053,3133,2613,2184,3154,2662,1928,2358,3254,3140,2584,2034,1393,1732,2222,2056,2221,2266,1885,1989,2380,2494,2398,2334,2169,1930,2184,2570,2769,2779,2634,2495,1995,1912,2002,2166,2078,2414,2796,2460,2050,1540,1807,1857,1821,2459,2569,2667,2442,2264,2556,3113,2998,2402,2103,2328,2604,2489,2307,2338,2360,2207,2049,2074,2040,1826,2006,2497,2722,2570,2867,3266,3322,3084,2689,2847,3285,3604,3240,2428,2203,2445,2442,2334,2170,2150,2568,2486,2376,2614,2867,3144,3111,2888,3116,3308,3405,3414,3443,3381,2871,2566,2116,2302,3021,3338,3437,3232,3304,3328,3209,3487,3451,3234,2958,2864,3130,3413,3242,2844,2579,2361,2188,2238,2294,1791,1866,1665,1625,1687,2048,1932,1604,1698,2069,2257,2882,3024,2388,2256,2474,2294,2077,2268,2004,1779,1559,1556,1880,2128,2385,2688,2785,2807,2552,2828,3253,2885,2701,2308,3027,3454,3171,3132,2489,1355,950,1891,2411,2266,2246,3016,3769,3692,3728,3835,3395,3000,3075,2756,2170,2376,2871,3200,2994,2916,3510,3406,2787,2580,2272,1908,1763,2020,2417,2504,2850,2576,2773,2697,2087,1619,2169,2139,1778,1870,2093,2036,2305,2817,3240,3564,3608,3602,3197,2240,2285,2640,3320,3774,3554,3120,3219,3870,3984,3674,3531,3728,3742,3095,3295,3582,3430,3686,3506,3284,3337,3198,3190,2442,2471,2067,2507,2026,1744,1829,2133,1840,1529,1390,1462,2066,2654,2338,1819,1549,1835,1842,2032,1941,2041,2307,1910,1539,1498,1557,1819,1888,1835,1882,2176,2340,2709,3096,3638,3420,2688,2061,1653,1641,1809,1793,2095,2620,1852,1704,2024,2508,2381,2010,2534,3301,3325,3328,2754,1542,1273,1816,1806,1816,2288,2330,2317,2125,1967,1881,1914,2035,2159,2244,1771,2257,2536,2575,2418,2482,2790,2855,2467,2292,2308,2020,1848,2346,2421,2322,2217,2312,2526,2054,1612,1582,1791,2133,2256,2220,2077,1764,1561,1968,1957,1642,1375,1496,1582,1478,1520,1876,2059,1838,1547,1542,1878,1692,2060,2432,2396,2382,2361,2382,2401,2565,2865,2492,2271,2383,2183,2357,2440,2128,1767,1876,2201,1932,1818,1841,1681,1586,1687,1672,1649,1619,1936,1730,1728,2328,2494,2622,3575,3703,3470,2739,1804,2071,2325,3112,2886,2193,2307,2110,1910,2060,2132,2322,2326,2108,2120,2565,2366,2062,1853,2612,2492,2564,2991,3066,3041,3112,2815,1896,1730,2004,2354,2668,2815,2533,2770,3008,2387,2192,2248,1847,1657,1715,1824,1834,1598,2103,3050,2972,2802,2288,1963,2168,3329,5137,4984,3240,2473,2092,2409,2157,1678,2397,2669,2507,2674,2846,2472,2143,2362,2513,3023,3062,3042,2952,1740,1792,2089,2215,2258,2126,2145,2354,2308,2115,1898,1835,1584,1872,1760,2104,2329,2497,2031,1947,1981,1689,1497,1498,1896,1684,1399,1264,1633,2176,2161,1882,1831,1794,1781,1628,1682,1716,1670,2000,1923,1816,1439,1494,1732,1668,1653,1615,1654,1633,1557,1841,1898,1522,1792,1839,2028,2238,2093,2164,2663,2652,2339,2353,2191,2144,2316,2016,2078,2140,1765,1423,1428,1712,2025,1958,2169,2396,2148,1646,1770,2178,1859,2304,2442,2289,2424,2408,1648,1518,1853,1794,1508,1453,1533,1530,1401,1283,1194,1535,1542,1630,1734,1809,1884,1647,1808,2240,2024,2326,2116,1459,1759,1624,1566,1639,1822,1813,1881,1912,1639,1352,1313,1344,1315,1439,1333,1300,1617,1932,1591,1565,1941,1970,1888,1777,1505,1466,1249,1329,1342,1390,1562,1842,2266,2134,1669,1576,1521,1498,1524,1410,1316,1690,1752,1730,1964,1908,1570,1534,1577,1513,1664,1761,1576,1457,1639,1616,1536,1527,2127,1902,1917,1795,1506,1682,2182,2622,2669,2014,1687,1886,1712,1900,2243,1726,1345,1627,1846,1722,1794,1708,1914,2253,2430,1824,1624,2179,2429,2557,2221,2062,1947,1884,2458,2658,2185,1831,1234,1726,1523,1576,2567,2212,2147,2702,2684,2834,2633,2612,2556,2884,2810,2698,2186,1964,2422,2583,2231,2142,2088,2510,3266,3229,2565,2367,1975,2149,2047,1962,1515,1352,1988,2234,2282,2186,1715,1625,1622,1610,2151,2696,2162,1804,1892,1606,1469,1874,2458,2322,1916,1913,1829,1911,1609,2004,2071,2404,2249,1909,2597,3260,2691,2452,2551,2894,2902,2042,1864,1872,2163,2248,3116,2552,1950,1913,1868,1899,1682,1436,1560,1566,1867,1796,1698,1668,1930,2009,1663,1644,1610,1479,1800,1942,1663,1509,1404,1582,1559,1470,1520,1519,1420,1422,1598,1620,1527,1488,1390,1344,1651,1774,1547,1529,1468,1477,1602,1597,1424,1599,1467,1434,1475,1386,1517,1465,1443,1368,1373,1497,1501,1460,1487,1502,1323,1434,1808,1947,1955,2047,2590,2573,1959,2069,1967,2279,2587,2640,2556,1754,1815,2154,2475,2070,1604,1915,1941,1890,2018,1978,1896,1946,1864,1649,1547,1786,1886,1742,1550,1538,1522,1478,1499,1761,1683,1329,1538,1541,1521,2236,2343,2376,1865,2598,2543,1920,1649,1759,1917,1825,1681,2018,2049,1614,1567,1544,1500,1624,1879,1986,1754,1534,1502,1468,1538,1548,1588,1770,1821,1936,1683,1655,1595,1776,1918,1849,1814,2014,1950,1633,1580,1708,1728,1643,1850,2279,2291,2068,1836,1577,1444,1751,1944,2043,2202,2421,1902,1538,1683,1720,1677,2089,2339,2158,2143,2268,2158,1940,1966,1540,1582,1665,1939,2358,2423,2106,2137,2321,2331,2453,2403,3108,3123,2492,2402,2655,2036,1968,2487,2444,1833,1598,1722,1855,2035,1956,2014,2102,1643,1587,1926,2109,2078,1825,1795,2128,2298,2082,1773,1796,1781,1460,1557,1761,1953,2248,2114,1907,1923,2009,2110,1882,1844,1882,1857,2089,1836,1726,1926,1968,2164,2198,1749,1394,1522,1559,2035,2426,2316,1814,1499,1307,1524,1730,1863,2288,2808,3165,3222,3033,2812,2182,1911,2138,2327,2647,2556,2504,2482,2277,1932,1905,1924,1879,1695,1582,1802,1677,1762,1700,1913,2088,1788,1563,1709,1824,1902,1798,1677,1561,1781,1886,1498,1714,1735,1647,1976,2227,2151,1928,1789,1802,2146,1895,2152,2150,2176,1959,1751,1559,1901,2110,1882,1890,2316,2532,2868,2588,1996,2066,2845,3072,3286,2579,1766,1619,1581,1601,1606,1480,1360,1338,1340,1300,1214,1236,1430,1484,1348,1592,1889,1772,1744,1806,1245,1256,1462,1374,1322,1434,1644,1433,1453,1802,1781,1762,1989,2179,2191,2032,1660,1502,1875,1926,1692,1740,1931,1826,2154,2330,2685,3072,3010,2972,2243,1939,1395,1132,1170,1147,1187,1340,1109,1127,1968,2216,1582,2002,1672,1498,1720,2438,3388,3781,3561,3719,4046,4060,3908,3860,3508,2215,1934,1259,957,1038,1340,2036,2241,2644,2798,2630,3330,3571,3576,3112,2624,2810,3041,2581,2104,2510,2895,2584,2753,3619,4228,4448,4320,4089,4441,4364,4396,4336,4439,4817,5048,4751,4354,4345,4325,4252,4376,4050,3771,3862,4345,4560,4284,3741,3397,3460,3684,3738,3642,4050,4460,4483,4338,4340,4383,4500,4459,4443,4582,4508,4287,4075,3646,3392,3576,3627,3561,3451,3479,3627,3352,2966,2795,3122,3510,3297,3429,4087,4356,3829,2623,1118,678,602,641,693,776,843,944,943,966,1058,991,1003,947,830,795,746,859,957,956,999,1087,1314,2024,2890,3128,3133,2563,2792,3139,3465,3438,3341,3719,3665,3118,2459,1526,1247,1165,971,1403,1344,1122,1180,1032,1030,1186,1186,1644,2188,2164,2049,2144,1842,1955,2107,2079,1921,2416,2751,2497,2404,2399,2100,1799,1544,1448,1388,1323,1310,1368,1509,1991,2215,1949,2084,2296,2210,2476,2718,2429,2393,2668,2464,2268,1958,1736,1556,1475,1513,1439,1175,982,926,955,1052,1205,1309,1532,1666,1644,1567,1392,1322,1409,1416,1429,1336,1075,1091,1234,1078,984,953,927,941,962,1239,1406,1251,1088,1209,1858,2297,2146,2097,1996,1585,1445,1510,1513,1278,1052,925,630,631,601,558,538,534,573,582,588,642,813,885,1020,1457,1835,1969,2066,1729,1560,1348,1188,1041,1080,1047,912,1080,1370,1470,1427,1246,1236,1310,1278,1162,1028,870,791,713,875,943,732,590,570,552,519,537,511,546,679,758,885,1796,3376,3816,2654,1629,1246,1147,1091,818,748,828,890,963,1059,1345,1464,1120,1103,1797,1748,1158,961,1201,1089,990,922,933,1009,1037,975,795,689,693,462,333,297,304,314,324,314,298,295,289,285,288,295,293,309,342,396,454,500,520,481,533,626,623,528,473,443,449,475,491,440,488,501,491,427,360,371,428,456,427,378,387,374,386,390,368,340,326,320,317,313,310,333,390,377,362,362,355,353,343,341,327,317,310,311,318,326,345,363,370,371,361,356,339,320,320,332,343,345,347,343,389,473,436,400,463,431,378,385,426,458,488,519,540,543,526,572,572,513,560,588,630,615,607,561,554,642,708,777,752,742,622,495,404,387,390,385,381,383,387,381,379,372,365,357,355,363,383,408,397,441,453,450,470,477,487,464,465,462,465,473,481,481,482,488,511,489,433,462,483,428,458,485,566,648,631,577,504,506,533,507,498,494,495,485,500,480,448,436,424,418,408,395,386,382,385,384,383,383,391,400,394,393,394,397,455,532,560,476,399],[2318,2485,2422,2086,1605,1503,1898,2325,2909,2798,2285,2569,2304,2330,3204,3279,2708,2944,3084,2734,2819,3068,3124,2828,2358,2518,2678,2985,3215,3825,4164,3917,3254,2710,3066,3232,3194,2978,2546,2150,2029,2046,2122,2326,2533,2989,2953,3040,3208,3095,2833,2612,2766,2508,2665,2575,2459,2332,2896,2956,2767,2083,1703,1582,1520,1885,2696,2855,2433,2804,2466,2024,2248,2917,2724,2330,3104,4079,4026,2917,1647,1480,2004,2447,2176,2080,2374,2000,2023,2141,2307,2404,2456,2177,1425,1626,1907,1981,2093,2200,1937,1578,1687,2132,2438,2478,2903,3060,3032,2609,1851,2023,2205,2094,2186,2585,2405,2414,3098,3536,3132,2077,2155,2723,2709,2457,2294,2186,2343,2392,2405,2406,2301,2234,2103,2009,2518,2755,2247,2517,3052,2966,2116,2023,2487,2902,3352,3116,2258,2149,2802,2427,2268,2090,2362,2653,2451,2413,2697,3013,3372,3174,2919,3120,3230,3283,3318,3541,3563,2956,2319,2325,2869,2986,2797,3196,3364,2985,2314,2657,3155,3422,3558,3526,3107,2809,3249,3564,3223,2658,2830,2879,2231,1977,1723,1970,1764,1736,1940,2308,2396,2052,2056,2600,2910,2929,2656,1995,2227,2631,2278,2186,2024,1714,1565,1623,1626,1938,2498,2691,2611,2481,2661,2301,2203,2845,2603,2273,2468,3366,3189,2657,2561,2082,1408,1583,2169,2124,2143,2907,3786,4104,3890,3875,4002,3971,4018,3862,2978,2509,2593,2120,2942,3521,3751,3464,2768,2363,2477,2139,1829,2129,2405,2199,2525,2215,1903,2457,2383,2197,2188,2507,2229,1881,2128,2070,2231,2808,2835,3057,3495,3444,2873,2119,2143,2879,3327,3440,3396,3425,3519,3685,4125,4145,4124,3610,3285,2785,3163,3550,3696,3829,3691,2985,2907,3378,3428,3135,2138,2351,1893,1947,1887,2040,2116,1633,1568,1659,1630,2136,2964,3369,2973,2604,2131,2091,2141,2206,2030,2577,3146,2211,1585,1538,1726,1690,1560,1626,1770,2098,2087,2017,2140,2342,2694,2822,2220,1851,1987,2348,2094,2009,2165,1842,1625,2072,2485,2216,1792,2091,2787,2849,2689,2527,1738,1537,2265,1886,2081,2574,2544,2276,2136,2265,1984,1776,1929,2070,1994,2020,2523,2541,2665,2382,2709,2977,2733,1985,1815,2108,2004,1558,2302,2249,2340,2040,1983,2270,1747,1396,1461,1653,1886,1897,1904,1693,1467,1385,1450,1334,1230,1372,1583,1604,1393,1606,2232,2254,1935,1868,1839,1880,1821,2077,2311,2187,2188,2474,2665,2517,2567,2906,2520,2093,2140,2518,2455,2474,2548,2094,2009,2325,2005,1730,1859,1850,1704,1853,1652,1817,1920,1992,1924,1975,2481,2624,3229,4152,3458,2754,2272,1913,2502,2557,2425,2028,1959,2321,2207,2186,2420,2420,2059,1881,1823,1851,2185,2698,2741,2458,2803,2500,2242,2766,3272,3171,3172,3363,2576,1713,1798,1992,2403,2720,2354,2511,2924,2624,2238,2170,1605,1555,2061,2165,2087,2024,2042,2561,2898,2860,2590,2642,2751,3754,5254,4880,3657,2918,2225,2150,1781,1781,2756,3044,2962,3143,3099,2500,2586,2546,2488,3199,3338,3310,3163,2276,2144,2062,2000,2082,2117,2182,2088,2301,2221,1613,1389,1685,1831,1798,2017,2280,2353,2014,1976,1878,1528,1729,2477,2559,1975,1563,1512,1876,2444,1920,1721,2149,1950,1542,1401,1295,1378,1634,2015,1944,1839,1660,1634,1780,1869,2036,1991,1954,1650,1561,1663,1360,1604,2264,1933,1792,1705,1717,2295,2851,3042,2908,2392,1964,1959,2224,1997,2348,2370,1720,1418,1200,1411,1946,2295,2648,2435,1987,1570,1555,1647,1209,1057,1447,2310,3228,3074,2028,1695,1834,1819,1677,1657,1492,1367,1511,1484,1535,1627,1548,2263,2703,2147,2007,1656,1998,2414,2321,2653,2214,1654,2006,1939,1612,1568,1523,1526,1808,2026,1807,1647,1575,1410,1383,1336,1290,1310,1522,1560,1530,1925,2121,2027,1881,1830,1676,1131,1042,1251,1437,1653,1895,2024,2184,2098,1979,1996,1661,1471,1563,1542,1397,1843,1711,1800,2110,2037,1638,1421,1450,1504,1548,1657,1615,1675,1718,1592,1570,1872,1887,1865,2105,1771,1409,1577,1952,2088,1903,1670,1353,1732,1793,2168,2102,1462,1343,1732,2100,1795,1829,1914,2280,2337,2397,1749,1602,1847,2329,2486,2350,2254,2359,2456,3614,3616,2256,1677,1500,1473,1457,1842,2159,2282,2563,2592,2579,2720,2552,2689,2599,2372,2440,2326,1957,2216,2291,2115,2184,2323,2245,2537,3011,3408,3040,2156,2235,2339,2275,2081,1576,1597,1923,2122,2486,2558,1580,1687,2045,2058,2173,2327,1848,1434,1647,1613,1460,1735,2110,2001,2114,1951,1890,2041,1749,2095,2343,2243,2557,3012,3350,3141,2380,2211,1978,2598,2504,1965,1765,1651,2247,2236,2010,1964,1809,1717,1784,1699,1388,1410,1487,1679,1908,1911,1958,1909,1674,1459,1471,1577,1551,1470,1661,1631,1460,1587,1497,1578,1598,1535,1676,1717,1481,1375,1427,1406,1447,1286,1322,1230,1709,1853,1538,1551,1591,1490,1439,1565,1983,2615,2177,1631,1396,1477,1733,1716,1516,1508,1376,1412,1788,1793,1368,1289,1276,1453,1698,1794,1927,1846,2156,2028,1634,1601,1975,2641,2596,2496,2117,1654,2060,2149,2289,1775,1442,1968,2006,1786,1954,1758,1655,1485,1674,2073,2118,1905,1931,2468,2384,1799,1503,1289,1247,1462,1425,1304,1620,1520,1515,2402,2499,2481,1818,1627,1788,1667,1474,1562,1572,1622,1479,1918,2049,1733,1802,1587,1516,1835,2128,2004,1879,1780,1673,1490,1453,1454,1678,1992,1981,1749,1593,1573,1510,1618,1816,1809,1690,1749,1586,1657,2094,2141,1874,1719,2198,2278,2242,2503,2236,1455,1266,1399,1759,1986,2077,1874,1315,1281,1703,2036,2026,2040,2044,2249,2239,2139,1915,1661,1646,1612,1595,1636,1789,1964,2075,1985,2069,2162,1966,1942,1902,2055,2353,1926,2131,2491,2137,2056,2375,2175,1914,1862,1943,1952,1896,1838,2144,2004,1879,1811,1894,2235,2199,1829,1913,2258,2266,1894,1571,1513,1511,1496,1844,1850,1888,1942,1924,1958,2106,1770,1678,1684,1638,1562,1767,2204,1958,1858,2474,2623,2099,1663,1431,1424,1521,1452,1641,1705,1856,1677,1662,1521,1793,1908,1584,1794,2542,3061,2984,2373,2437,2162,2061,2986,3267,2680,2678,2615,2359,2036,1634,1542,1736,1905,1673,1553,1660,1641,1606,1569,1534,1763,1929,1936,1902,1779,1713,1519,1536,1386,1453,1416,1432,1536,1436,1541,2010,2303,1862,1515,1493,1802,1948,2219,2307,1995,2180,2331,2000,1614,1759,1808,1576,2040,2502,2496,2464,1920,1549,2276,3139,3032,2389,1881,1835,1747,1642,1461,1356,1458,1450,1280,1412,1443,1318,1215,1776,1908,1504,1685,1772,1650,1758,1655,1223,1444,1782,1530,1415,1694,1759,1575,1709,1804,2178,2810,2409,2178,2385,2114,1730,1667,1746,1661,1566,1482,1503,1723,1880,2072,2370,2414,2652,2663,2242,1893,1471,1341,1406,1379,1311,1230,1135,1235,1685,1815,1470,1636,1607,1522,1735,2665,3598,4063,4090,4014,4090,3980,3595,3260,3123,2508,1825,1122,975,1041,1353,2071,2303,2615,3134,2796,3375,3110,2883,2736,2647,2858,2971,2776,2437,2489,2780,2779,2706,3535,4216,4164,4201,4285,4244,4035,4054,4001,4278,4732,4664,4303,4190,4413,4709,4696,4752,4180,4048,4121,4297,4388,4418,4012,3386,3275,3572,3907,3876,4277,4457,4395,4312,4282,4350,4439,4396,4308,4299,4510,4637,4576,4102,3529,3686,3882,4058,4034,3861,3697,3506,3095,2941,3277,3462,3461,3521,3764,3437,2155,1249,778,590,566,625,689,735,828,915,939,959,1032,966,987,914,825,792,730,768,902,970,958,1036,1266,1715,2604,2966,3162,2623,2615,2786,3065,3226,3038,3237,3775,3480,2872,2056,1518,1561,1023,1353,1567,1387,1514,1337,1041,1245,1334,1516,2048,2117,1851,2290,1971,1842,2041,2050,1720,2001,2707,2684,2388,2387,2125,1850,1570,1397,1315,1311,1228,1192,1295,1692,2054,1949,1945,2243,2270,2316,2604,2453,2259,2496,2501,2201,1908,1672,1498,1408,1454,1496,1367,1207,1051,890,1002,1199,1304,1363,1507,1584,1547,1416,1247,1281,1348,1355,1366,1207,1056,1189,1200,1100,980,898,912,919,1060,1310,1316,1140,1094,1547,2168,2175,2062,2027,1750,1475,1468,1500,1281,1072,947,688,624,599,567,527,541,600,619,647,727,879,987,1042,1352,1842,1910,1982,1688,1496,1306,1138,1008,996,1003,909,985,1177,1323,1343,1240,1200,1238,1208,1159,1060,916,861,858,778,753,774,682,605,564,530,534,509,580,696,757,856,1539,3270,4396,3540,2004,1330,1112,1099,896,724,780,842,913,1013,1132,1412,1484,1023,1574,1889,1443,1161,1179,1134,993,892,917,939,967,974,826,700,697,531,368,315,310,318,330,330,319,305,297,289,294,300,305,316,358,412,458,484,489,472,504,585,624,557,484,455,466,467,469,404,457,494,473,451,366,334,381,422,473,461,441,380,373,388,374,354,341,333,317,309,315,312,371,370,363,364,356,351,347,339,324,319,318,318,318,317,337,364,362,365,360,353,335,315,317,332,341,342,353,363,411,423,414,413,460,447,385,378,407,448,488,534,546,568,543,545,610,581,623,640,618,616,608,571,542,625,686,818,734,627,523,455,425,404,382,375,376,381,372,371,369,367,361,347,347,360,384,419,429,493,527,464,441,446,480,471,451,446,457,461,473,480,483,498,532,525,435,430,496,455,452,528,622,702,697,655,569,534,569,541,551,532,522,491,539,502,450,429,426,418,400,389,389,383,383,381,383,388,403,422,413,409,401,386,434,525,547,488,400],[2780,3293,2856,1929,1423,1788,2460,2929,3054,2929,2938,2934,2764,3323,2910,2761,2769,3234,3350,2873,2929,3132,3054,2521,2448,2746,3208,3572,3563,3702,3610,3464,3229,3317,3538,3210,2664,2248,2110,2159,2350,2698,2837,3063,2854,2520,2316,2428,2634,2629,2448,2564,2709,2210,2374,2401,2423,2645,2961,2855,2352,1619,1533,1697,1798,1915,2325,2207,2699,3189,2336,1898,1971,1899,1655,2023,2886,3732,3583,2667,1608,1680,2044,2364,2364,2154,2015,2149,2347,2292,2240,2277,2353,2392,2032,1874,1837,1581,1592,2054,2076,1753,1570,1841,1968,2247,3001,3219,2500,1933,2190,2416,2581,2532,2482,2504,2279,2818,3750,3808,2569,1822,2554,2961,2667,2273,2447,2459,2358,2450,2561,2668,2586,2412,2375,2237,2342,2322,2335,2644,2918,2340,1570,1385,1460,1743,2258,2439,2242,2166,2462,2259,2133,2124,2466,2696,2722,2718,2750,3097,3403,3126,3160,3294,3322,3172,3254,3564,3326,2441,2281,2352,2652,2310,1672,2553,3414,3694,2809,2063,2280,3360,3626,3666,3526,2906,2925,3238,2917,2655,3157,3184,2510,2019,1874,1973,2107,2230,2414,2508,2397,2358,2541,2918,2680,2192,1952,1903,2203,2262,2286,2382,1853,1606,1604,1523,1517,2050,2325,2382,2664,2800,2900,2300,2273,2446,2354,2371,3219,3521,2456,2163,2437,2160,1732,2151,1952,2293,2999,3714,4080,4132,4008,4018,4060,4030,3916,3950,3294,2696,2325,1237,1937,2658,2524,2072,1910,2059,2243,2092,2348,2930,2414,1847,2580,1945,2029,2403,2075,2308,2568,2613,2643,2187,2059,2106,2524,2279,2252,2695,3068,3197,2425,2040,2764,3344,3287,3001,2807,3542,4068,3529,3889,4220,3985,3798,3413,2705,2693,2972,3585,4192,3968,3482,3087,3753,3755,2811,2552,2146,1750,1721,2314,2824,2277,1766,2311,2712,2916,3306,3879,3541,2685,3249,3494,3310,2953,2401,2007,2565,2752,1815,1651,1459,1276,1398,1613,1806,2056,2116,2066,2176,2242,2202,2062,1953,2000,1967,2009,2110,2034,1852,1664,1805,1963,2045,2095,1815,1636,1653,1765,1795,2099,2256,1930,1709,1884,2049,2324,2254,2038,2015,2179,2508,2224,1982,2027,2326,2588,2774,2640,2238,1942,2380,3265,3497,2907,1593,2049,2613,2242,1699,2252,2441,2527,2124,1591,1464,1453,1435,1578,1889,1982,1840,1949,1766,1629,1390,1412,1281,1304,1504,1535,1477,1486,1811,2337,2324,2113,2250,2093,1919,1885,1959,2172,2295,2550,2777,2805,2674,2752,2278,2255,2064,2252,2665,2519,2326,2440,2260,2308,2404,2049,2135,2280,1854,1771,2051,1958,1727,1710,1970,1981,1835,2112,2526,2691,2852,2320,1892,1754,1840,2620,2488,2125,1991,1943,2289,2766,3362,3462,3043,2043,1843,1990,1929,2149,2512,2899,2684,2159,2064,2326,2885,3259,2965,2622,3010,3205,2332,1824,1766,2034,2273,2384,2664,3204,3023,2222,2157,2271,2645,2687,2423,2282,2483,2515,2751,3229,3150,3193,3371,2813,3207,3790,3397,3317,2711,2134,1964,1562,1778,2468,2784,3220,3297,3514,3142,2698,2522,2542,3064,3199,3231,2664,1979,1741,1697,2198,2257,1855,1823,2110,2070,2050,1970,2114,2482,2337,2216,1803,1957,2375,1681,1610,1655,1686,1680,2168,2400,1808,1619,1602,1867,2315,1820,2007,2657,1913,1564,1636,1621,1580,1602,1749,1721,1857,1946,2320,2518,2019,2282,2501,2248,1938,2008,2070,1806,2183,2204,1758,1664,1436,1729,2502,2988,2999,2697,2524,2658,2766,2500,2140,2462,2343,1979,1876,1643,1687,1931,2380,2996,2259,1610,1736,1749,2126,2113,1761,2103,3037,3649,2599,1932,1984,1593,1483,1515,1694,1591,1382,1393,1461,1642,1548,1411,2090,2491,2132,2155,2084,1829,2048,2156,2863,2790,2366,2444,2155,1523,1506,1629,1620,1712,1863,2097,2066,1758,1658,1623,1438,1308,1280,1373,1363,1584,1910,2058,1888,1880,1895,1576,1100,929,1077,1478,1845,2030,2273,2217,1995,1722,1503,1382,1465,1614,1597,1867,1925,1795,2072,2180,2022,1864,1636,1482,1600,1595,1673,1560,2156,2945,2490,1859,1954,1892,1952,2049,1715,1646,1858,1859,1682,1758,1636,1657,2221,2402,2699,2517,1930,1934,2014,2075,1615,1755,1781,1548,1783,1937,1806,1436,1628,2551,3066,3015,2976,2524,2833,3137,2579,2028,2371,2554,2023,1969,2112,2232,2433,2496,2653,2764,3154,3274,3408,2720,2270,2458,2163,1908,1853,1740,1953,2106,2109,1809,2297,2490,2980,3140,2486,2189,2209,2423,2374,1844,1740,2079,2890,3219,2558,1593,2244,2527,1789,1636,2112,1713,1264,1700,1873,1653,1718,1714,1608,1934,2132,2148,2243,1860,1772,1919,1805,2271,3272,3673,3088,2584,2227,2132,2139,1953,2107,2057,2109,2329,1909,1704,1949,1571,1573,1764,1858,1749,1537,1436,1934,2387,2020,2103,2313,1869,1459,1449,1736,1577,1424,1502,1526,1438,1633,1628,1483,1449,1469,1520,1578,1377,1379,1447,1294,1204,1226,1314,1201,1434,1544,1788,1866,1700,1654,1436,1422,1784,2333,2409,1896,1580,1455,1870,1828,1602,1739,1467,1400,1592,1560,1407,1259,1295,1544,1831,1656,1473,1565,1924,1929,1780,1821,2459,2632,1900,1645,1522,1632,2067,2073,2036,1910,1779,1870,1681,1640,1810,1688,1748,1462,1576,1937,1984,1628,1644,2158,1984,1629,1829,1455,1483,1561,1390,1482,1720,1560,1520,2092,2547,2280,1649,1435,1591,1752,1717,1584,1660,1526,1593,2154,2177,1916,1727,1630,1702,2062,2577,2222,2244,1790,1745,1802,1807,1655,1982,2080,1914,1818,1681,1818,1693,1542,1699,1676,1857,1722,1505,1798,2120,1926,1920,2008,1961,1759,1968,2274,2241,1571,1183,891,1155,1578,1780,1491,1249,1338,1541,1651,1722,1576,1565,2021,1854,1628,1481,1537,1424,1520,1615,1686,1780,1592,1560,1741,2115,2302,2030,1936,1867,1694,2200,2120,1950,2228,2347,2353,2381,1974,1831,1661,1885,1938,1864,2002,2070,2181,2306,2111,2046,2272,2287,1940,1901,2041,1740,1422,1453,1493,1505,1704,1898,1816,1539,1789,2039,1896,2149,2046,2077,1876,1411,1463,1748,2307,2185,1970,2662,2706,2097,1765,2026,2317,2185,2136,2079,1874,1557,1399,1595,1733,1903,1767,1466,1418,1770,2158,2207,1724,2180,2162,1967,2618,2491,1926,2135,2129,1881,1582,1733,1716,2164,2341,2345,1865,1505,1508,1499,1527,1540,1649,1784,1848,1649,1538,1849,1672,1476,1495,1425,1420,1640,1684,1660,1596,1689,1958,2031,2379,1932,2014,1765,1941,2207,2210,2378,2807,2768,2028,1590,1610,1785,1902,1827,1764,1699,1582,1409,1927,2677,2642,2002,1643,1776,1657,1460,1450,1416,1570,1462,1335,1323,1279,1231,1073,1160,1281,1582,1937,1685,1751,1930,1726,1489,1395,1392,1547,2001,2020,1740,1896,1909,2060,2432,2514,2387,2296,2483,2352,2074,1931,1552,1265,1527,1745,1578,1595,1686,1577,1533,1690,1821,1858,1824,1763,1642,1604,1483,1395,1419,1393,1427,1428,1678,1565,1603,1458,1350,1202,1300,2178,3211,3639,3670,3792,3844,3836,3540,2546,1840,1995,1952,1396,1081,1108,1363,2190,2346,2581,3218,2746,2674,2513,2678,2844,2995,3010,2766,2696,2746,2617,2777,3300,3295,3498,3978,4184,4256,4408,4287,4199,4244,4119,4319,4665,4429,4132,4098,4208,4460,4228,4391,4489,4188,4023,4115,4092,4357,4276,3870,3218,3166,3517,3849,4127,4027,3978,4114,4285,4376,4419,4428,4389,4266,4488,4648,4692,4636,4008,3626,3738,3957,4168,4033,3749,3615,3318,3265,3539,3651,3508,3803,3690,2253,1312,952,674,584,572,617,700,721,774,865,930,949,1003,941,954,893,801,772,723,719,821,964,939,1001,1193,1470,2251,2706,3043,2809,2514,2604,2799,2964,2799,2648,3416,3706,3195,2485,1823,1774,1158,1160,1498,1472,1757,1675,1084,1303,1545,1535,1848,2007,1772,2142,2047,1815,1844,1910,1646,1620,2316,2686,2406,2370,2172,1876,1573,1383,1268,1244,1195,1116,1100,1346,1789,1911,1900,2233,2491,2227,2514,2654,2216,2235,2386,2150,1845,1625,1426,1327,1418,1522,1458,1271,1145,978,900,1028,1219,1310,1391,1528,1538,1464,1254,1154,1282,1348,1340,1476,1322,1202,1230,1141,1034,922,900,896,1020,1246,1348,1217,1035,1194,1944,2231,2002,2030,1966,1618,1431,1443,1322,1019,854,730,663,606,581,538,542,612,632,693,810,938,1008,1013,1259,1763,1880,1850,1606,1401,1294,1142,1034,952,977,894,941,1040,1237,1289,1231,1191,1188,1166,1127,1041,962,905,953,856,853,868,774,677,596,560,550,529,611,732,795,882,1396,3188,4416,4188,2548,1456,1131,1101,985,770,761,801,801,985,1217,1272,1578,1150,1272,1754,1531,1225,1256,1178,1004,858,851,878,951,980,851,717,690,571,398,319,314,321,335,351,335,319,289,265,269,294,304,321,361,417,454,464,467,458,482,530,617,618,548,494,545,537,469,393,425,500,448,455,381,327,355,429,503,530,481,402,378,384,382,368,351,331,322,314,323,300,346,361,355,357,348,337,335,331,321,315,314,312,317,330,343,355,362,365,353,346,340,327,319,328,340,342,364,367,441,449,442,449,454,437,385,366,386,427,495,541,606,628,572,547,641,662,666,667,618,605,593,587,539,646,669,708,590,503,477,444,406,377,366,367,372,369,365,356,359,363,358,341,344,366,384,422,465,490,486,433,408,449,482,469,460,460,448,449,466,480,485,496,518,514,442,403,484,493,457,544,649,694,702,661,643,606,599,559,578,536,495,462,499,486,452,436,426,411,398,390,385,377,375,375,383,397,412,425,418,407,399,392,417,479,509,485,408],[3828,3944,3311,2279,2496,3180,3094,3023,3009,2875,3328,3353,3397,3628,3406,3184,2989,3124,3439,3349,3263,3408,3207,2491,2756,3023,3298,3673,3947,3717,3118,3353,3845,3902,2979,2256,2143,2359,2610,2968,2930,3086,3041,2841,2461,1977,1942,1923,2225,2265,2249,2542,2563,2335,2326,2316,2167,2537,2833,2536,2204,1850,1979,1798,1804,2175,2119,1956,2865,3175,2695,2386,2298,2317,2018,1881,2174,3018,2554,1936,1311,1477,1743,2215,2638,2302,1935,2105,2092,2158,1815,2248,2153,2189,2334,1996,1789,1611,1644,2093,2286,2387,2282,2139,1792,1867,2320,2691,2166,1972,2602,2962,3159,3118,2763,2791,2482,2172,2779,2839,2272,2632,3064,2904,2587,2589,2780,2640,2469,2954,3119,2758,2454,2231,2049,1769,2040,2303,2669,2928,2873,2215,1526,1476,1512,1544,1748,1676,1849,1974,2114,2159,2099,2116,2279,2610,2902,2939,2918,3022,3024,2951,3120,3222,3293,3232,3305,3350,2937,2698,2571,2131,2358,2218,1699,2285,3671,4649,3536,1949,2356,2990,2963,3132,2979,2743,2707,2471,2220,2367,2823,2358,1990,2133,2200,2077,1911,2207,2701,2562,2247,2249,2435,2452,2021,1800,1799,1903,2001,1983,2717,2563,1668,1776,1568,1395,1917,2198,2320,2636,3379,3366,3144,2108,1970,2432,2160,2113,2424,2805,1976,2047,1933,1668,1699,2151,1723,2503,3552,3629,3858,4056,4047,4017,3460,3084,3078,3672,3190,2931,2641,1792,1346,1227,1436,1837,2086,2191,2223,2121,2533,2857,2521,2414,2325,2093,2515,2311,1899,2399,2440,2588,2900,2208,1924,2090,1741,1572,2193,2154,2511,3178,2667,2425,2701,3472,3307,3240,3195,3581,3764,3399,3867,4006,3103,2897,3271,3575,3573,3508,3760,4060,3990,3682,2796,3697,3659,2818,2292,2154,1780,1640,2494,3145,2996,2907,3372,3498,3306,3442,3783,3737,3063,3442,3919,3321,3111,2624,2258,2621,2294,1900,1765,1660,1506,1440,1653,2037,2303,2199,1862,2249,2552,2455,1955,1954,1788,1936,1957,1874,1952,1914,1842,2157,2230,1914,1817,1664,1751,1847,1647,1468,1732,2071,2160,1908,1719,1791,1783,1764,1748,1824,1882,2124,2005,1834,1845,2127,2611,2798,2442,1933,2065,2364,2788,3375,3350,2415,2944,3038,2448,2192,2196,2417,2476,1989,1707,1807,1547,1508,1521,1349,1709,2070,2265,2324,2050,1815,1808,1543,1637,1815,1702,1697,1837,2060,2292,2289,2096,2050,1969,1933,1798,1891,2470,2445,2520,2742,2828,2749,2415,2149,2566,2575,2402,2518,2468,2104,2152,2552,2530,2301,1891,2041,2119,1727,1664,1802,1847,1603,1553,1909,1991,2018,2185,2009,1760,1686,1686,1803,2136,2453,2525,2175,2229,2147,2139,2398,2532,2895,2853,2481,1900,1999,2194,2240,2375,2605,2829,2515,1838,1946,2221,2337,2553,2249,2358,2849,2962,2743,2195,1700,1802,1947,2330,2777,3216,3141,2692,2192,2725,3221,3133,2974,2779,2807,2820,2867,3085,2751,3252,3431,2740,2671,2088,2072,2618,2677,2229,1959,1976,1573,1781,2326,2997,2846,3354,3011,2544,2356,2521,3088,3440,3123,2304,1696,1693,1866,2420,2541,2130,1721,2131,2475,2260,2069,2521,3017,2944,2054,1596,2088,2366,1404,1287,1617,1822,1781,1975,1921,1597,1804,1908,1801,1781,1678,2133,2554,1832,1490,1566,1855,1889,1788,1694,1703,1742,1775,2099,2353,1867,2183,2493,2578,2317,2071,2276,2453,2471,2184,1858,1682,1561,1883,2419,2521,2176,1991,2360,2514,2846,2596,2351,2670,2676,2665,2837,2342,2082,2447,3044,3459,2621,1746,1718,1869,2168,2100,1964,2299,2616,3188,2393,1813,1825,1640,1644,1664,1803,1755,1586,1572,1628,1556,1481,1317,1480,1693,2357,2029,2073,2344,2003,2326,2826,2590,2448,2547,2453,2062,1587,1822,1569,1543,1627,1937,1897,1373,1177,1487,1626,1549,1457,1344,1482,1826,1893,1958,2009,1896,1843,1538,1443,1366,1215,1588,2055,2076,2257,2160,2039,1827,1411,1300,1312,1310,1706,2150,1883,1637,1760,2049,1920,2304,2392,1917,1933,1879,1713,1403,2448,3865,3205,1788,1784,1918,1667,1652,1491,1692,1850,1704,2232,2644,2132,2308,2462,2423,2721,2514,1929,1927,1969,1720,1500,1566,1723,1681,1432,1634,2069,1773,1429,2200,3152,3461,3333,2741,3020,3060,2696,2394,2275,2166,1883,2013,1899,2221,2376,2924,2679,2519,3062,2719,2588,2463,2531,2269,1847,2100,2654,2669,2379,2224,2220,2147,2733,3118,3044,2937,2753,2493,2512,2654,2709,2354,2294,2369,2916,3494,2906,1720,2211,2394,1652,1544,1838,1636,1604,2160,2474,1764,1541,1414,1543,1734,2002,2261,1975,1633,1755,1630,1643,2171,3184,3219,2829,2493,2273,1946,1829,2003,2115,1997,1913,1798,1585,1547,1550,1555,1628,2039,2420,2198,2175,1944,2004,2124,1593,1754,1885,1843,1609,1486,1712,1870,1585,1380,1364,1175,1304,1577,1541,1489,1575,1598,1633,1435,1473,1457,1384,1296,1337,1361,1444,1454,1624,2187,1852,1692,1471,1352,1375,1537,1531,1657,1770,1640,1489,1513,1551,1497,1456,1361,1384,1203,1297,1366,1266,1268,1394,1516,1786,2000,2119,2028,1545,1565,2297,3106,2635,1685,1582,1567,1560,1909,2042,1821,1804,1758,1689,1647,1589,1690,1660,1642,1373,1581,1930,1886,1768,1998,2040,2020,2005,2768,1802,1570,1533,1465,1484,1462,1566,1621,1588,1793,1831,1918,1618,1595,1817,1583,1571,1741,1718,1802,1831,1711,1629,1511,1692,1888,1784,1891,2135,2120,1785,1727,1978,2060,2143,2685,2426,2120,2160,1863,1979,2033,1745,1584,1487,1848,1758,1713,1860,1700,1703,1992,2274,2130,1738,1993,1882,1759,1729,1347,982,893,1178,1505,1744,1740,1603,1480,1519,1747,1567,1465,1632,1798,1471,1410,1428,1340,1565,1675,1708,1844,1483,1472,1642,1963,1947,1848,1983,1845,1664,1802,1789,1687,1770,1901,1970,2088,2123,1886,1612,1529,1499,1811,2084,1991,2179,2348,2146,1593,1155,2022,1946,1861,1727,1599,1608,1549,1593,1792,1740,1777,1871,1651,1869,1693,1516,1804,2032,2192,1960,1421,1418,1659,1922,2018,1924,2586,2713,2318,2406,2366,2545,2592,3033,3131,2305,1509,1337,1560,1921,2180,2173,1594,1652,1853,1891,1834,1858,2524,2453,1755,1870,1943,1612,1984,2210,1928,1606,1551,1544,2027,2489,2790,2195,1552,1674,1588,1658,1687,1835,1738,1677,1591,1515,1880,1744,1402,1516,1559,1655,1732,1682,1505,1522,1409,1527,1636,1925,1725,1854,1780,2065,2378,2159,2415,3005,2680,2036,1793,1644,1577,1497,1494,1340,1552,1795,1628,1633,1962,2100,1902,1620,1441,1608,1537,1470,1304,1332,1317,1335,1406,1417,1377,1518,1375,1410,1682,1768,1854,1664,1498,1705,1591,1490,1365,1594,2152,2120,1835,1938,2116,2414,2155,1788,1726,1761,2048,2348,2175,2039,1737,1594,2340,2647,1894,1684,1887,1569,1441,1411,1479,1422,1383,1744,1858,1901,1818,1651,1571,1593,1611,1566,1672,1655,1698,1590,1353,1285,1377,2014,3118,3501,3554,3751,3849,3707,3528,2358,1686,2258,2381,2026,1737,1263,1340,1909,1984,2476,3180,3092,2714,2505,2473,2955,3268,2955,2387,2299,2257,2250,2872,3449,3664,3740,3908,4108,4207,4477,4433,4344,4488,4347,4311,4696,4376,4176,4025,3739,3875,3984,4344,4553,4209,3903,3948,4008,4188,4188,4141,3565,3051,3160,3549,3440,3159,3371,3806,4075,4329,4384,4383,4465,4403,4484,4588,4501,4211,3695,3566,3819,3898,4036,3880,3705,3602,3451,3824,4017,3807,3448,3705,2976,1615,1060,764,586,552,564,626,679,685,717,815,935,1029,1036,928,902,884,774,745,711,691,728,875,883,958,1113,1331,1970,2471,2795,2775,2492,2399,2553,2705,2696,2363,2688,3474,3438,2748,2017,1815,1396,1027,1326,1316,1637,1781,1220,1418,1767,1705,1848,1971,1810,1928,1977,1804,1792,1812,1506,1425,2011,2547,2510,2384,2179,1886,1599,1394,1269,1250,1265,1114,1019,1202,1637,1867,1863,2018,2515,2322,2341,2554,2273,2113,2237,2065,1785,1566,1377,1261,1353,1448,1456,1239,1138,1081,923,872,992,1130,1273,1420,1515,1485,1315,1103,1180,1305,1321,1796,2209,1815,1368,1145,1078,1026,928,892,987,1133,1277,1273,1094,1117,1790,2288,2009,1945,2123,1830,1466,1441,1321,1100,899,759,677,602,593,565,528,621,654,738,859,948,995,992,1221,1627,1781,1746,1573,1374,1318,1173,1076,951,991,1026,964,955,1139,1263,1253,1202,1165,1120,1120,1065,1050,1026,1078,1094,1046,1036,1002,873,738,628,602,567,625,742,776,890,1195,2737,3943,4460,3211,1647,1174,1097,1045,826,739,781,783,950,1521,1397,1458,1321,1151,1460,1520,1144,1176,1165,997,806,798,811,898,941,849,710,664,586,419,331,317,323,333,353,338,321,304,306,305,294,299,309,333,391,431,443,449,446,461,488,584,637,588,511,525,512,453,418,412,487,430,449,382,341,346,441,500,511,496,453,402,387,393,371,356,335,327,316,324,304,332,361,346,343,339,329,327,324,313,317,309,302,317,337,350,363,362,342,336,348,342,331,326,334,339,350,361,366,462,455,410,423,439,435,394,360,390,429,531,569,642,667,636,615,657,706,697,666,629,601,578,595,539,618,651,618,538,486,456,418,379,364,365,374,375,363,355,345,345,353,355,352,355,362,382,434,477,473,446,451,460,460,443,439,455,459,441,443,454,471,482,486,499,488,455,401,476,536,499,559,670,716,753,682,669,650,638,545,528,522,475,466,475,457,448,435,421,408,393,389,378,378,378,378,392,406,412,419,411,400,395,397,412,448,470,468,410],[3957,3958,3597,3030,3039,2599,2643,2741,2889,2937,3321,3614,3376,3430,3568,3562,3452,2822,3066,3373,3184,3410,3782,3031,3255,3310,3140,3482,3916,3938,3718,4025,4240,3868,2928,2723,2777,2884,2850,2849,2661,2428,2091,1849,1615,1743,1897,2238,2641,2640,2818,2524,2292,2451,2460,2125,1985,2060,2249,2294,2102,2085,2286,2001,1947,1997,2213,2320,2613,2967,3184,2834,2475,2905,3012,2180,1877,2201,2245,1910,1594,1670,1739,2196,2685,2485,2018,1950,1932,2020,2003,2336,2396,2326,2498,2468,2598,2762,2818,2799,2575,2574,2791,2194,1648,1567,1573,1903,2272,2445,2724,3012,3396,3266,3104,3255,2700,2321,2897,2686,2922,3306,3270,3023,2999,2880,2747,2420,2562,3686,3916,3244,2734,2790,1793,1180,1532,1996,2524,2911,2924,1990,1499,1499,1535,1610,1736,1774,1704,1718,1760,1874,2048,2171,2278,2524,2808,2871,3123,3196,2918,2907,3123,3198,3238,3334,3292,2963,2862,3164,2816,2707,2128,1488,1986,2600,3110,4065,3238,2406,2901,2909,2626,3081,3268,3180,3160,2663,2244,2216,2778,2436,2350,2533,2388,2171,2181,2613,2608,2065,2228,2367,2286,2430,2227,1964,1751,1893,2135,2727,3485,2626,1785,1735,1854,2156,2502,2183,2364,3001,3300,3105,2755,2513,2761,2530,2270,1831,1697,1918,1786,1881,1512,1491,1938,1892,1434,2171,3037,3714,4066,4327,4079,3063,2497,2668,2242,2497,2741,2798,2490,2110,2206,2050,2392,2052,1985,2102,1945,2210,2479,2456,2569,2404,2278,2315,2006,1697,1969,2565,2687,2844,2472,1921,2056,1912,1572,1845,2656,2597,2688,2929,2396,2348,2348,3503,3721,3246,2137,2393,3260,3547,4015,4017,3086,2664,3382,3498,3403,4263,4164,3779,4244,4367,3749,3789,3020,2309,2636,2258,1726,2398,3164,3598,3417,3142,3311,2845,2718,3037,3540,3526,2717,3017,3906,3403,3137,2936,3095,3262,2718,1919,1847,1863,1892,1820,1884,2261,2358,1923,1842,2436,2464,2211,1787,1597,1293,1366,1550,1733,1732,1716,1806,1952,1990,1991,1891,1918,2014,1992,1866,1691,1621,1946,2230,2036,1658,1725,1449,1726,1905,2121,2203,2402,2337,2231,2388,2365,2297,2365,2314,1904,2467,2478,2619,2820,2977,2667,3039,2702,2264,2088,2060,2762,2823,2169,1986,1956,1548,1527,1564,1338,1847,2241,2266,2544,2416,2203,2252,2048,2002,2014,1838,1887,2008,2049,2103,2105,1903,1765,1732,1767,1714,1786,2048,2010,2562,2565,2372,2236,1974,2093,2410,2427,2249,2486,2556,2093,2366,3151,3002,2429,1858,1922,2011,1647,1648,1769,2023,2399,2426,2357,2321,2264,1884,2067,2219,1864,1716,1854,2115,2164,1957,2170,2153,1941,2273,2426,2378,2388,2236,2076,1816,1943,2128,1972,1851,2114,2352,2146,1958,1906,2273,2328,2083,1909,2188,2478,2466,2613,2588,2056,1656,1809,2081,2654,3052,2909,2835,2537,2857,3370,3483,3443,3550,3639,3325,3328,3144,2663,3125,3388,2723,2470,1998,1742,1924,2154,2216,2266,2578,1637,1677,1811,2239,2191,2641,2564,2210,2305,2631,3032,3441,2957,2026,1538,1798,2156,2439,2177,2134,1869,2383,2975,2677,2169,2036,2304,2549,1753,1540,1451,1376,1401,1470,1454,1900,2504,2334,1734,1726,1696,1979,1735,1621,1631,1920,1961,1806,1674,1584,1784,1974,1901,1833,1684,1489,1501,1691,1648,1572,1722,1659,1816,1838,1741,1946,2101,2162,2059,1869,1543,1648,1820,1745,1633,1426,1748,1814,1427,1432,1747,2344,2871,3281,3560,3747,2506,1996,2517,2980,3262,2744,1911,1695,1730,1948,1926,1472,1808,1888,2793,2602,1742,1447,1515,1556,1792,2116,2189,1849,1690,1860,1641,1789,1506,1535,1714,2589,2092,2094,2262,2104,2750,2624,2536,2534,2465,2677,2702,1958,1971,1729,1760,1763,1743,1620,1259,1212,1477,1432,1542,1753,1655,1859,1958,1938,1785,2007,2010,1796,1484,1328,1430,1742,1662,1950,1802,2088,2182,2143,1744,1365,1298,1339,1387,1608,1899,1983,1506,1372,1851,1834,2004,1974,1551,1439,1584,1458,1328,1992,3342,2959,1819,1508,1992,1696,1523,1558,1580,1653,1691,2370,2569,2114,2530,2330,2077,2030,1786,1875,1749,1504,1426,1434,1459,1758,1880,1672,1653,2346,2596,2222,1887,2461,3052,3198,2957,2821,2573,2541,2387,1962,2228,2263,2045,1980,2144,2687,2969,1980,2131,2557,2745,2308,1762,1806,1620,1952,3051,3536,2908,2339,2336,2131,2365,3090,3423,3312,3222,2586,2655,3009,2674,2455,2172,2134,2140,2159,3069,2991,2062,2120,2062,1824,2032,2162,2029,1993,1891,1950,1749,1727,1692,1666,1599,1758,1828,1637,1779,1911,1699,1862,2466,2602,2599,2286,2025,1848,1887,2438,2540,2119,1611,1464,1526,1860,1504,1510,1959,2032,2128,2001,2149,2872,2800,2353,1809,1600,1690,1709,1729,1703,1693,1854,1713,1450,1769,1627,1409,1310,1476,1693,1589,1456,1534,1513,1311,1424,1575,1482,1390,1431,1381,1348,1330,1792,2197,1646,1724,1507,1337,1402,1497,1401,1472,1571,1592,1461,1560,1556,1420,1340,1321,1386,1386,1344,1320,1283,1293,1413,1553,1982,2844,2931,2322,1789,2420,2650,2667,2088,1873,1887,1459,1339,1750,2218,2310,2111,1869,1847,1788,1801,1715,1692,1686,1661,1734,1829,1802,1425,1615,1976,2434,2012,1900,1969,1738,1578,1578,1547,1539,1592,1593,1480,1476,1516,1666,1652,1576,1580,1469,1758,1881,1814,1828,1680,1593,1637,1504,1591,1667,1483,1543,1998,2045,1973,1898,1830,1750,2374,2808,2134,2042,2502,2171,2065,2082,1853,1460,1628,2073,1989,2090,2236,2008,1807,1961,2240,2337,2171,2094,1711,1587,1498,1497,1356,1144,1150,1012,1424,1747,1748,1680,1600,1577,1566,1494,1430,1406,1418,1431,1368,1438,1590,1498,1357,1511,1377,1482,1761,1888,1818,1666,1601,1829,1621,1459,1638,1589,1409,1590,1572,1690,1847,1840,1862,1720,1472,1653,1763,2034,2652,2519,2262,1844,1128,1456,1484,1749,1834,1870,1895,1597,1508,1672,1719,1775,1680,1688,1728,1703,1646,2024,1864,2021,2452,2002,1881,2092,2292,1961,1834,2535,2688,2798,2574,2232,2555,2769,3198,2902,1956,1578,1500,1671,2052,1975,1709,1494,1719,1920,2073,1939,2124,2776,2622,1843,1964,2109,1766,2172,2208,1831,1693,1596,1864,2119,2253,2651,2489,1878,1748,1716,1603,1438,1802,1879,1758,1528,1360,1347,1365,1381,1372,1646,1877,1486,1420,1315,1306,1498,1850,1822,1676,1744,1736,1517,1928,2260,2195,2263,2470,2143,1707,1613,1627,1509,1578,1601,1503,1577,1582,1562,1494,1503,1556,1688,1401,1323,1504,1469,1556,1565,1402,1481,1446,1437,1383,1371,1543,1460,1519,1515,1528,1738,1578,1477,1484,1423,1376,1370,1407,1725,1919,1908,2079,2575,2874,2777,2437,2093,1716,1948,1924,1549,1813,2164,2038,2292,2265,1942,1860,1963,1874,1635,1461,1432,944,892,1520,1676,1763,1891,2030,2002,1734,1702,1714,1739,1762,1792,1864,1826,1846,2170,2293,2813,3204,3587,3938,3793,3024,2536,1959,1835,2544,2420,2179,2066,1732,1833,1684,1761,2405,3058,3169,3240,2980,2619,2864,2932,2624,2363,2011,2176,2522,2854,3022,3316,3550,3707,3782,3943,3942,4073,4284,4475,4443,4620,4752,4203,4177,4015,3874,3972,3852,3785,3786,3957,4176,4236,4156,4141,4112,4192,3750,3216,3264,3551,3395,3057,3217,3613,3752,4144,4308,4341,4372,4447,4552,4661,4464,4256,3827,3652,4197,3969,4013,3785,3254,3293,3178,3448,3474,3473,3542,3630,2670,1107,753,622,569,549,523,577,657,691,701,774,915,1043,1030,900,839,865,752,727,691,680,675,787,864,889,1013,1252,1670,2157,2522,2631,2526,2241,2332,2479,2524,2286,2217,2800,3265,3072,2296,1698,1594,958,1167,1298,1414,1771,1382,1528,1842,1823,1821,1798,1726,1828,1882,1901,1745,1811,1462,1352,1853,2346,2440,2331,2181,1977,1677,1429,1268,1255,1365,1210,1003,1043,1484,1848,1879,1815,2260,2375,2192,2478,2420,2079,2138,1917,1707,1545,1361,1210,1304,1461,1446,1281,1172,1125,990,890,895,987,1142,1255,1390,1417,1328,1116,1078,1238,1278,2139,3696,3065,1655,1172,1095,1054,979,918,975,1076,1204,1308,1242,1222,1706,2261,2116,1854,2166,2013,1520,1372,1312,1135,919,790,702,608,594,580,536,625,704,744,811,857,968,1044,1186,1515,1726,1689,1560,1382,1338,1211,1109,979,906,1027,979,898,1033,1189,1246,1188,1165,1121,1145,1180,1204,1086,1092,1317,1387,1607,1798,1433,978,746,657,606,655,730,730,852,1037,2199,3538,4532,4035,2125,1329,1071,1030,862,716,735,775,842,1474,1605,1361,1305,1260,1260,1476,1128,1102,1117,972,817,797,815,852,868,828,716,646,643,492,331,319,324,331,354,335,320,317,319,311,307,313,300,303,358,409,422,429,424,435,459,543,644,647,536,482,508,458,430,426,462,415,428,395,360,353,408,458,458,462,481,431,389,416,390,351,334,329,321,322,307,318,356,338,338,325,329,319,320,310,309,307,302,314,331,351,369,375,383,391,368,343,337,338,339,328,366,403,465,519,409,403,428,440,441,402,362,382,412,512,615,723,802,780,761,761,735,687,635,608,594,568,590,550,576,628,586,547,512,459,419,382,356,363,377,370,352,342,338,340,346,348,353,361,371,390,434,464,467,451,454,447,434,427,432,454,440,436,433,450,466,478,490,491,485,473,420,474,570,542,551,660,717,754,700,673,640,608,484,453,507,490,459,454,444,437,429,410,404,390,382,375,384,385,389,401,411,415,416,405,392,390,396,405,427,442,446,411],[4082,3868,3043,2926,2132,1493,2360,2801,2716,2779,3068,2888,2829,3129,2854,2874,3181,2695,3112,2975,3116,3582,3792,3468,3576,3455,3188,3615,3883,3974,3872,3873,3785,3674,3367,2982,2513,2286,2166,2093,1877,1593,1757,2127,2361,2771,2734,3024,2984,3226,3105,2610,2275,1936,1780,2174,2234,2035,2276,2288,2076,2447,2814,2689,2148,2294,2897,2756,2470,2624,2602,2169,2217,2929,3282,2232,1576,1885,2446,2462,2060,1873,1984,2082,2357,2479,2119,1903,1884,1881,2233,2264,2238,2709,3094,3199,3310,3298,3292,2754,2244,2078,2155,1778,1579,1580,1544,1856,2406,2626,2687,2701,3082,2945,3232,3330,3044,2967,3067,3266,3449,3439,3138,2772,2685,2523,2605,2326,2491,3252,3608,3328,2351,2146,1700,1250,1626,2194,2133,2192,2409,2102,1695,1526,1530,1561,1608,1802,1887,1830,1705,1863,2342,2514,2436,2624,2918,2856,3133,3286,3009,2956,3055,2851,2916,3240,3044,2768,3024,2486,2652,2719,2090,1610,1755,1779,2154,2598,2192,2276,2393,2635,2566,3252,3384,3303,3501,2938,2354,2315,2422,2246,2094,2129,2279,2340,2294,2573,2317,1861,2249,2564,2677,2718,2624,2413,2069,2240,2256,2570,2619,1938,1948,2097,2404,2295,2402,2271,2372,2762,3082,3328,3046,3571,3379,2946,2296,1628,1801,1938,1918,1783,1532,1414,1302,1348,1866,2532,2733,3493,3973,3395,2805,2139,2755,2766,2402,2580,2223,2159,2281,2145,2337,2380,2577,2017,1942,1874,1929,2267,2383,2431,2302,1982,2164,2189,1767,1700,1962,1865,2220,2171,1910,1834,1775,1826,1794,1980,2855,3122,2940,2756,2999,3211,3162,3519,3798,3089,2499,3034,3479,3638,3845,3963,3055,2767,3555,2915,2886,3996,3851,3321,4094,4672,4492,3982,2761,2308,2624,2370,2566,3609,4154,4106,3339,3097,3269,3045,2753,2733,3362,3533,2940,2881,3226,2504,3100,3610,3873,3780,2956,2129,1763,1722,1804,1842,2166,2399,2300,2156,1991,2277,2136,1662,1541,1358,1251,1530,1469,1045,1023,1275,1545,1838,2072,1954,1991,2018,1936,1976,2017,1979,1936,1959,2040,2009,2022,1958,1715,1839,2088,2431,2651,2808,2692,2577,2420,2263,2456,2623,2814,2448,2652,2711,2900,3055,2946,2713,2665,2501,2397,2046,1961,2593,2736,2326,2152,2011,1974,2262,2329,2060,2185,2237,2171,2357,2094,1915,1850,1858,1738,1606,1702,1863,1996,2000,2040,1941,1619,1657,1657,1880,1742,1694,1652,1731,2657,2630,2285,2237,2059,2020,1964,1651,1695,2227,2293,2044,2806,3342,3153,2463,1820,2068,2118,1791,1835,2146,2476,2557,2439,2100,2286,2131,1730,2612,2678,2178,2377,2340,2020,1651,1670,2601,2262,2067,2455,2409,2285,2407,2490,2225,1949,2049,1734,1885,2471,3375,2978,2365,2662,2984,2976,2206,1626,1842,1947,1988,2652,2686,2647,2602,1844,1782,1830,2179,2653,2732,2819,2641,2745,3186,3138,3095,3262,3528,3356,3606,3604,3554,3699,3421,2741,2422,2024,1593,1681,1917,2283,2088,1993,1438,1628,1900,2076,2061,1949,2122,2299,2220,2350,2830,3275,2647,2014,1822,2063,2275,2241,1763,1958,1965,1786,2284,2415,1901,1875,1980,1964,1913,1810,1609,1351,1416,1547,1437,1737,2335,2299,1915,1693,1598,2102,1772,1692,1856,1881,1714,1920,1945,1769,1928,1712,1840,2549,1869,1526,1904,2158,1722,1528,1494,1541,1596,1471,1582,1575,1731,2170,1733,1547,1495,1758,1874,1724,1852,1594,1593,1514,1021,865,1277,2080,2587,3321,3665,3841,2843,2149,1905,1984,2532,2508,2002,1843,1744,1813,1679,1487,1869,2021,2580,2116,1542,1589,1526,1618,2248,2601,2250,1678,1472,1655,1908,2431,2217,1857,1801,2323,2117,1798,2170,2415,2899,2508,2467,2298,2283,2297,2237,1906,1874,2087,1925,1666,1794,1543,1439,1438,1450,1450,1400,1688,2082,1990,1828,1884,1922,2026,1962,1678,1171,1400,1562,1673,1531,1639,1534,2076,2309,2088,1820,1524,1304,1312,1554,2230,2241,2182,1555,1867,2204,1926,1655,1503,1448,1709,1542,1354,1371,1869,3047,2935,2159,1416,1727,1762,1455,1338,1713,1859,1672,2177,2488,2115,2071,1941,1590,1703,1848,2025,1766,1549,1450,1499,1770,2490,2649,2404,2009,2425,2888,2353,1806,2091,2940,3266,2874,2422,2120,1947,1967,2084,2582,2302,2489,2680,2269,2657,2330,1787,2453,2766,2234,1844,1677,1461,1422,1750,2739,3150,2822,2524,2662,2646,2675,3344,3511,3352,3361,2507,2894,3139,2944,2493,2289,2199,2269,2487,2879,2811,2236,2101,2100,1979,2118,2128,1960,1869,1848,2068,2196,2315,2501,1916,2014,2270,2092,1942,1759,2372,2337,2342,2630,2422,1988,1893,1960,1826,2162,2867,2602,1929,1483,1277,1387,1881,1631,1382,1699,2113,2013,1788,1829,2300,2221,1921,1698,1850,2001,1724,1740,1744,1541,1695,1665,1766,2005,1664,1549,1394,1567,1583,1530,1485,1676,1535,1358,1519,1519,1455,1631,1682,1692,1471,1183,1534,1686,1501,1620,1504,1232,1393,1742,1624,1440,1502,1562,1585,1786,2047,2077,1865,1643,1614,1665,1613,1536,1378,1339,1438,1379,1839,2768,2887,2856,2413,2311,2490,2183,1969,2392,2009,1368,1393,1736,2044,2552,2899,2686,2473,1919,1750,1632,1377,1441,1800,1753,1870,1845,1478,1682,2114,2167,1879,2016,2066,1707,1533,1538,1462,1584,1608,1585,1463,1476,1521,1386,1498,1612,1588,1644,1792,1685,1593,1769,1775,1410,1494,1357,1345,1680,1606,1513,1684,1753,1792,1812,1626,1549,1776,1635,1640,1574,2163,1871,1690,1921,1765,1732,2063,1903,1747,1998,2186,1980,1812,1773,1864,1918,1932,1888,1719,1832,1857,1789,1601,1470,1308,1153,1263,1905,2126,1838,1793,1840,1678,1598,1448,1392,1578,1415,1289,1545,1544,1467,1333,1465,1212,1191,1749,1673,1425,1511,1565,1809,1454,1225,1724,1721,1477,1385,1398,1481,1576,1521,1844,2284,2183,2108,1890,2314,2775,2677,2401,1959,1646,1578,1565,1926,2048,1727,1790,1661,1434,1638,1898,1745,1555,1782,2501,2702,2443,2215,2115,2157,2313,2106,2199,2810,2995,2149,1402,1211,1946,2321,2084,2386,2700,3046,3067,1958,1537,1455,1494,1532,2030,1836,1510,1557,1566,1926,2239,2099,2384,2724,2473,1844,1937,1808,1645,1703,1807,1820,1803,2114,2571,2404,2235,2226,2017,1699,1452,1606,1532,1565,1506,1638,1760,1817,1648,1362,1409,1507,1532,1720,1698,1646,1506,1385,1344,1408,1651,1782,1744,1636,1494,1354,1593,1849,2044,1997,1858,1625,1505,1859,2115,1728,1542,1473,1545,1726,1709,1579,1483,1528,1620,1931,1852,1619,1559,1939,2411,2073,1482,1396,1378,1421,1387,1549,1463,1389,1421,1425,1563,1597,1454,1403,1490,1435,1449,1319,1373,2050,1982,2055,2232,2411,2697,2677,2613,2360,2365,2976,2487,1971,2029,2186,2041,2059,1958,1821,1930,2078,1941,1735,1682,1726,1141,1046,1460,1487,1673,1649,2164,2243,1946,2028,1975,1745,1789,1837,1864,1920,1992,2343,2432,2340,2516,2990,3225,2541,1771,2045,2040,1968,2641,2415,2204,1829,1992,2439,2221,2098,2463,3007,3243,3503,3332,2712,2657,2785,2373,2115,1981,2212,2756,2878,2922,3292,3329,3182,3328,3925,4273,4449,4497,4415,4431,4720,4620,4129,4047,4058,3912,3681,3583,3548,3498,3660,4164,4352,4232,4099,3967,4094,3928,3548,3593,3856,3769,3188,3073,3377,3506,3778,4150,4417,4388,4374,4465,4572,4552,4773,4522,3742,3960,3880,4151,3591,3187,3184,2917,3028,3538,3787,3670,3594,2600,1014,695,572,550,547,537,557,645,676,662,712,832,971,992,890,770,835,738,697,670,650,664,748,821,832,881,1073,1406,1897,2305,2462,2374,2163,2141,2282,2323,2198,2008,2223,2856,3129,2658,1607,1572,1064,1062,1304,1384,1714,1519,1459,1737,1836,1808,1676,1610,1782,1691,1827,1673,1710,1498,1310,1553,1960,2224,2329,2220,2076,1719,1475,1294,1230,1368,1359,1108,1061,1411,1790,1887,1752,1971,2328,2203,2374,2758,2159,2003,1833,1694,1522,1324,1168,1249,1370,1398,1338,1219,1176,1121,1027,990,1134,1227,1198,1265,1326,1316,1164,1022,1152,1272,1916,3818,3201,1571,1154,1092,1108,1100,969,951,1055,1140,1339,1375,1235,1554,2080,2120,1775,2064,2119,1665,1375,1344,1206,996,795,756,645,602,574,560,618,713,741,769,831,988,1114,1164,1440,1716,1634,1482,1317,1307,1218,1126,1018,882,934,968,874,955,1105,1153,1140,1139,1152,1166,1230,1269,1173,1157,1527,2110,2288,2464,2475,1522,1019,786,731,698,756,775,857,1000,1889,3361,4597,4761,2840,1606,1126,1032,896,729,722,776,714,1141,1643,1421,1156,1451,1290,1354,1140,1026,1038,991,871,816,816,814,815,807,723,657,667,566,363,321,323,335,340,324,322,312,311,307,315,319,308,311,351,390,403,409,409,418,443,510,612,670,580,504,532,480,434,436,450,413,402,422,395,365,398,407,411,415,443,415,394,391,363,345,333,323,321,326,320,310,366,342,318,314,318,313,310,308,306,301,300,302,321,345,360,380,388,391,371,336,331,348,364,369,421,516,565,524,414,418,438,447,437,395,365,370,414,525,680,835,891,825,839,807,714,625,588,579,579,563,573,568,566,595,573,530,481,450,430,399,372,369,372,361,348,336,328,325,337,343,352,365,379,402,429,447,448,447,444,441,437,436,439,463,414,419,426,440,462,479,512,502,483,495,450,478,577,582,553,598,675,713,707,674,613,568,502,478,492,470,458,443,433,425,419,411,400,387,374,375,378,387,398,405,409,416,410,397,385,382,390,401,419,427,432,413],[4005,3860,3072,2670,1947,1543,1952,2541,2840,2844,2455,2153,2569,2758,3082,2785,3016,3350,3737,3254,2842,3085,3168,2990,3322,3425,3475,3901,4069,3939,3650,3365,3404,3695,3550,2799,2187,1953,1902,2062,1733,1920,2709,2742,2729,2874,2796,2695,2740,2997,2872,2458,2265,1969,2360,3675,3330,2327,2278,2069,2174,2785,3039,2802,2348,2578,2708,2504,2232,2224,2156,1660,1809,2390,2356,2104,2436,2801,2978,2873,2663,2657,2474,2059,2417,2547,2280,2039,2140,2121,1975,1843,1841,2653,3167,3007,2698,2586,2542,2436,2365,2351,2149,1783,1631,1630,1661,2199,2986,2868,2776,2585,2619,2764,2938,3218,3321,3221,3292,3485,3493,3425,3052,2673,2407,2522,2733,2611,2568,2766,3464,3199,2092,1963,1953,1776,2121,2688,2078,1760,1849,2122,2390,2139,1854,1736,1948,1948,1936,2198,2004,1831,2640,2718,2668,2856,2918,2926,3130,3168,2828,2853,3094,2985,2893,2744,2535,2758,3205,2713,3330,2497,1920,1866,2133,2106,2128,1992,2397,2742,2524,2965,2807,2942,3295,3303,3284,2813,2455,2315,2258,2312,2137,2074,2370,2388,2312,2528,2553,2630,2924,2755,2485,2186,2006,2401,2355,2570,2442,2502,2524,2376,2138,2115,2171,2256,2728,2720,2350,2800,3548,3941,3190,3553,3235,3152,2354,2137,2084,1823,1786,1553,1445,1206,1217,1836,2477,2132,2260,2535,3138,2694,2874,2855,2323,2039,2404,2211,1272,1458,2136,1823,1749,2088,2319,2223,2091,2082,1938,1918,2144,2200,1676,1544,1522,1643,1732,1922,1876,1765,1857,1716,1658,1625,1667,1680,1650,1867,2531,2919,2906,2920,3016,3492,3613,3346,3532,3648,3776,3848,3537,3568,3796,3216,2630,2796,3052,3006,3407,4062,4116,4001,4272,4551,4511,3693,2780,2024,2236,2907,2862,2732,3167,3455,3229,3248,3466,3227,2792,2679,3286,3559,2596,2641,3072,2819,3230,3505,3426,2999,2626,2210,1932,1971,1720,1773,2127,2266,2156,2325,2438,2380,1958,1554,1569,1526,1629,1939,1497,768,635,812,1453,1648,1744,1770,1878,1960,1986,1997,1992,2015,2026,2047,2057,1980,2134,1948,1930,1926,1970,1930,2072,2244,2204,2187,2025,2043,2238,2376,2272,2092,2134,2343,2352,2199,2146,2264,2185,2087,1968,2024,2139,2419,2333,1944,1943,2095,2019,1961,1924,1848,2055,1930,2070,1903,1725,1868,2292,2107,1776,1664,1409,1553,1982,1873,1899,1894,1490,1460,1630,1744,1656,1680,1808,1685,1845,1931,2326,2710,2034,1694,1676,1627,1632,2262,2061,2030,2944,3185,2766,2257,1787,1717,1848,1909,1631,2035,2500,2214,2144,1975,2208,2117,1887,2114,1776,1901,2029,2129,2293,2136,2534,2944,2272,2076,2408,2389,2354,2330,2159,2175,1960,1893,1869,2185,2748,3195,2717,2555,2984,3419,2930,1639,1184,1897,2307,2433,3173,2774,2587,2728,2410,1888,1728,1896,2306,3031,3196,2599,2697,3222,2929,2868,2571,2299,2709,3151,3378,3441,3426,3242,3016,2466,2044,1732,1911,2107,2120,1906,1722,1732,2119,1914,1921,2094,2207,2494,2296,2175,2058,2177,2501,2140,1882,2249,2272,2539,2537,1893,2187,2161,1645,1680,1898,1666,1655,1620,1705,1782,1841,1673,1652,2182,2196,1424,1493,1581,1849,1632,1391,1520,1879,1651,1677,1969,1860,1793,2132,2119,2214,2140,1616,2033,2635,1869,1504,1869,2107,1773,1434,1387,1598,1844,1764,1526,1602,1983,2121,1786,2017,2240,2464,2278,2365,2284,1954,1968,1695,1046,961,1737,2446,3254,3570,3006,2761,2482,2149,2070,2210,2310,2100,1783,1848,1854,1824,1505,1472,2100,2615,2399,1834,1562,1562,1485,1428,1858,2425,1757,1557,1632,1597,1858,2410,2170,1794,1878,2242,2467,2264,2379,2576,2733,2579,2655,2353,2302,1935,2154,2588,2279,2077,2043,2236,2557,1809,1437,1398,1338,1415,1532,1611,1945,1847,1520,1632,1783,1886,1767,1382,1179,1343,1189,1251,1325,1389,1560,1991,2180,1879,1674,1587,1485,1360,1664,2082,1892,1799,1704,1914,1913,1748,1734,1720,1773,2118,1670,1495,1839,1913,2070,2207,1684,1449,1706,1793,1565,1616,2339,2098,1565,1938,2637,2138,1703,2043,1876,1593,1909,2114,2018,1562,1516,1723,1900,1912,2026,2088,2001,1875,1750,1735,1740,2088,2511,2102,1909,1967,1919,1852,1919,1783,2075,2064,2790,3120,2665,2984,2755,2649,3663,3905,2812,2154,1762,1509,1434,1880,2708,2916,2613,2460,2680,2869,3254,3887,3768,3646,3241,2600,2903,2792,2662,2490,2327,2336,2500,2456,2404,2232,1663,1569,1623,1582,1677,2024,1946,1744,1950,2561,2690,2290,2283,1952,2176,2308,2298,2240,1748,1676,2252,2465,2420,2191,1822,1889,1947,1794,1866,2524,2576,2146,1861,1476,1421,1658,1668,1574,1629,1911,1654,1766,1791,1672,1652,1424,1501,1971,2055,1671,1525,1445,1339,1268,1398,1704,1659,1384,1365,1415,1654,1764,1822,1784,1738,1637,1573,1820,1623,1457,1831,1821,1859,1979,1460,1302,1526,1625,1618,1600,1388,1648,2150,2009,1710,1805,1540,1570,2002,2525,2895,2602,2277,2496,2850,2786,2012,1651,1584,1728,1517,2024,2474,2812,2592,1938,1856,2323,2075,1698,2117,1946,1753,1621,1686,1857,2198,2574,2543,2008,1495,1571,1671,1717,1626,1540,1531,1616,1626,1352,1775,2143,1895,1870,1712,1339,1382,1541,1747,1649,1576,1660,1833,1716,2004,1901,1470,1547,1630,1706,1777,1788,1691,1848,1824,1587,1414,1529,1417,1633,1807,1538,1567,1581,1540,1588,1474,1603,1798,1580,1502,1451,1707,1777,1623,1901,1945,1813,2215,2134,1900,1687,1819,1998,1897,1688,1660,1802,1821,1733,1697,1888,1882,1676,1554,1521,1699,1382,1382,1499,1926,2068,1787,1671,1719,1786,1808,1663,1614,1729,1459,1476,1622,1596,1695,1701,1597,1260,1310,1824,1769,1842,1803,2001,1931,1620,1599,1648,1969,1839,1410,1231,1333,1546,1464,1723,2530,2577,2186,2197,2648,2668,2368,2057,2013,2205,2153,1960,2213,2114,1728,2150,2144,1770,1700,1728,1555,1470,1632,1924,2412,2574,2448,2280,2260,1942,1783,1532,1711,2085,1927,1699,1753,1947,1699,1603,1942,2221,2636,2734,2024,1607,1439,1366,1484,1988,1760,1422,1420,1650,2309,2770,2595,2387,2383,2284,2065,2048,1896,1616,1590,1838,1936,2043,2028,2136,1907,1759,1704,1459,1459,1468,1481,1477,1340,1397,1625,1986,2300,2088,1494,1392,1392,1738,1571,1512,1655,1511,1403,1482,1461,1423,1504,1592,1410,1358,1424,1556,1527,1561,1724,1727,1547,1648,2219,2283,1870,1513,1466,1593,1802,1665,1512,1415,1438,1777,1951,1839,1790,2181,2980,2924,2640,1983,1438,1361,1388,1550,1678,1522,1549,1562,1487,1461,1571,1515,1391,1637,1504,1639,1490,1976,2439,2211,2075,1964,2272,2387,1686,1248,1482,2452,3087,3285,2698,2394,1958,1808,1986,1930,1615,1683,1653,1599,1591,1697,1810,1822,1670,1562,1376,1348,1537,1836,1932,2024,2011,1780,1665,1729,1731,1810,1817,1755,1804,1943,1962,1932,2072,2200,2112,2526,2854,2891,2509,2724,2098,1900,1779,2047,2466,2392,2235,2388,2986,3354,3436,3244,2618,2837,2649,2271,2099,2223,2625,3067,3132,2698,3159,3137,3022,3119,3465,3827,4064,4288,4331,4500,4664,4464,4219,4046,3881,3718,3571,3495,3507,3470,3671,4127,4324,4335,4154,4015,4082,4040,3961,4024,4064,3940,3219,3143,3218,3210,3531,4140,4432,4507,4551,4608,4689,4760,4800,4608,3858,3618,3830,4272,3979,3539,3420,3243,3203,3742,3760,3715,3630,1937,835,627,548,537,528,551,552,611,671,662,660,780,904,922,878,756,789,737,671,645,625,640,754,810,827,808,954,1165,1579,2087,2283,2270,2135,1986,2049,2115,2088,1971,1930,2429,2908,2952,1875,1523,1189,1058,1210,1432,1692,1712,1605,1681,1829,1854,1643,1491,1724,1673,1673,1608,1615,1551,1316,1272,1605,1957,2200,2356,2219,1875,1548,1422,1251,1268,1358,1220,1151,1462,1796,1899,1808,1834,2214,2291,2183,2525,2193,1917,1825,1626,1426,1310,1174,1188,1291,1334,1354,1298,1225,1090,1043,1185,1472,1443,1207,1168,1255,1302,1184,1052,1039,1200,1475,2765,1977,1049,1031,1101,1115,1152,1044,956,1044,1094,1290,1444,1251,1403,1898,2078,1741,1846,2176,1932,1496,1474,1327,1089,857,807,701,615,571,550,603,703,752,756,798,984,1144,1145,1318,1574,1513,1385,1245,1225,1197,1118,1001,857,853,924,858,879,1026,1057,1099,1117,1119,1193,1314,1263,1168,1306,1778,2899,3082,2710,2332,1894,1368,1012,898,819,802,826,855,986,1738,3243,4220,4371,3266,1781,1149,1072,939,779,706,721,713,904,1407,1475,1017,1384,1457,1246,1131,1018,941,955,888,815,789,786,778,785,719,619,617,597,433,339,321,339,342,313,315,310,308,307,303,310,315,330,351,372,386,389,391,394,427,496,566,664,612,505,503,467,428,423,437,419,387,416,412,372,380,375,383,387,388,375,367,353,345,336,323,320,318,318,330,308,335,324,311,309,304,306,305,302,302,296,291,300,316,339,364,381,392,391,378,361,363,374,383,390,422,495,533,441,429,448,470,470,430,386,354,367,425,546,763,901,849,747,688,699,646,580,562,574,575,557,558,570,572,563,549,507,473,455,451,434,397,376,370,357,343,332,325,319,323,338,349,366,389,419,435,434,437,443,444,436,428,429,425,443,419,415,418,434,457,484,521,519,488,493,476,495,556,605,565,561,656,701,682,647,596,550,510,507,490,474,441,440,428,419,419,407,399,383,374,371,373,384,390,398,405,408,406,389,382,381,388,397,403,418,417,409],[3880,3453,3283,3076,2192,1563,1689,2062,2097,2040,2494,2643,2706,3035,3242,3059,3304,3561,3441,2822,2326,2573,2811,2746,3145,3239,3718,3959,4009,3736,3366,3093,3203,3564,3410,3080,2809,2142,2121,2432,1889,1825,2339,2154,2203,2511,2417,2169,2218,2313,2122,2377,2661,2507,2703,3566,3719,2769,2265,2159,2331,2789,3319,3059,2509,2771,2503,2428,2553,2384,2612,2462,2292,2374,2512,2708,2856,2381,2598,3020,3639,3554,2430,1957,2540,2346,1978,2075,2275,2108,1323,1279,1624,2451,2834,2898,3001,2741,2602,2600,2515,2414,2276,1924,1666,1659,1766,2170,2576,2820,2922,2523,2323,2512,2603,2619,2721,3029,3513,3570,3583,3196,2757,2776,2645,2469,2577,2686,2828,3428,3726,2599,1855,1898,2142,2406,2127,2255,2053,1827,1855,1975,2201,2580,2692,2517,2584,2254,2079,2089,1909,1953,2746,2719,2642,2783,3011,3123,3160,2964,2622,2797,3245,3345,2968,2510,2402,2833,2615,2374,2509,2227,2167,2367,2519,2392,2100,1313,1736,2721,2721,2667,2625,2527,2587,2800,2814,2610,2332,2495,2710,2487,2373,2453,2237,2211,2417,2674,2689,2841,2972,2747,2492,2217,2479,2939,2615,2293,2437,2239,2250,2287,2414,2398,2334,2642,2810,2734,2443,2772,3105,3916,3087,2602,2645,2421,2134,2196,1931,1880,2087,1647,1344,1274,1871,2249,2425,2442,2972,2818,2816,2999,2790,2263,1721,1651,1964,1895,1889,1952,1912,1659,2071,2078,2280,2172,1824,1852,1871,1638,1640,1473,1406,1296,1539,2108,2118,2099,1972,1864,1864,1830,1469,1411,1691,1580,1836,1707,1773,2019,2422,2622,2205,2402,2664,2510,3211,4229,4209,4101,3477,3111,3549,3328,2864,2544,2708,3054,3559,4322,4745,4757,4573,4487,4284,3343,2510,2462,2665,2968,2565,2753,3217,3185,3396,3417,3438,3292,3177,3110,3426,3097,2374,2663,3105,3239,3587,3632,3096,3040,3232,3052,2933,2999,2901,2787,2264,1932,2077,2443,2535,2439,1933,1540,1700,1866,1789,2134,1820,1137,943,1128,1482,1560,1560,1552,1594,1658,1699,1797,1835,1827,2181,2366,2128,1969,2115,2266,1962,1786,1875,1926,2209,2276,2005,2025,1861,1853,1747,1768,1901,1994,2024,2029,2036,2049,2049,2267,2289,2253,2468,2191,2491,2724,2418,2382,2433,2487,2167,1840,1830,1864,1890,1634,2192,2107,1950,2032,2036,1823,1924,1766,1401,1410,1898,1711,2061,1799,1536,1469,1827,1937,1893,2035,2005,1893,2267,2005,2293,2775,2479,2041,1943,2270,2208,2091,1872,2046,2820,3169,2964,2475,1853,1708,1618,1848,1956,1903,2282,2366,2092,1829,2166,2325,2417,2637,1742,1685,1903,1766,2032,1821,2648,2689,2023,2067,2372,2354,2330,2183,2007,2064,1969,1765,2058,2084,2533,2998,2500,1853,2104,2627,2494,1592,1296,1813,2044,2093,2464,2601,2598,2609,2714,2362,1792,1793,1926,2495,3112,2603,2337,3312,3444,3129,3307,3552,3296,2952,2967,3111,3132,2817,3220,3035,2731,2234,2018,2124,2170,2451,2247,2310,2775,2844,2958,2662,2749,2524,2017,2093,2098,2474,2537,2017,2081,2272,2413,2536,2392,2150,2273,2000,1649,1647,1819,1625,1621,1614,1666,1809,1962,2106,2140,2329,2079,1492,1468,1409,1694,1564,1502,1643,1744,1731,1950,1936,1922,2082,1673,1839,2151,2004,1786,1816,1721,1490,1737,2126,2001,1520,1323,1437,1756,1758,1865,2025,2076,2070,2105,2246,2533,2732,2508,2320,2693,2462,2453,2177,1975,1690,1596,2016,2702,3351,3193,2433,1977,2289,2336,1871,1921,2045,1964,2082,2056,1938,1790,1620,1504,2245,2798,2113,1642,1494,1540,1374,1305,1454,1582,1743,1873,1709,1732,2197,2159,1730,1537,1746,2115,2595,2622,2206,2684,2686,2468,2578,2454,2298,1673,1833,2686,2443,2175,2440,2899,2995,2200,1655,1473,1398,1522,1727,2068,2421,1925,1520,1793,1804,1759,1817,1434,1371,1395,1514,1417,1282,1570,1715,1792,2265,2100,2062,1832,1564,1420,1554,1504,1366,1366,1565,1721,1737,1772,1747,2038,2420,1974,1823,1359,1570,1995,1958,1780,1552,1427,1732,1948,2342,2472,2733,2165,1674,2258,2940,2018,1819,2464,2164,1631,1757,1963,2072,1650,1926,1941,2072,1830,1741,1801,1722,1525,1387,1605,1887,1890,1871,1621,1488,1560,1792,1955,2025,1808,1743,2030,2844,3095,2698,2957,2975,3186,3497,3396,2828,2924,2416,1724,1462,1703,1830,2119,2553,2909,2978,3189,3852,4361,4346,3996,3480,3330,3228,3151,3143,2796,2622,2254,2023,1831,1729,1851,1638,1415,1488,1650,1816,2330,2318,1949,2375,2909,1994,1684,1850,1814,1843,1769,2129,2167,1813,1899,2204,2345,2220,1976,2206,2355,2236,1770,2190,2789,2874,2293,1920,1667,1535,1776,1846,1503,1450,1630,1766,2118,1896,1691,1609,1600,1649,1803,1875,1667,1421,1437,1381,1148,780,1173,1211,1307,1497,1507,1983,2245,1971,1892,2136,1924,1556,1901,1626,1445,1489,1518,1688,1969,1621,1353,1881,2107,1600,1668,1848,2386,2452,2191,1762,1802,1765,1725,1693,2187,2913,2977,3002,3415,3935,4241,3794,2958,2510,2521,2285,2332,2828,3012,2456,1747,1593,2092,1928,1773,2007,1822,2077,1926,1770,2037,2024,1769,1725,1749,1747,1670,1992,2070,1749,1498,1401,1385,1422,1435,1562,1534,1622,1788,1631,1459,1619,1421,1402,1534,1537,1587,1713,1695,2036,1980,1569,1519,1625,1704,1719,1971,1713,1914,1954,1618,1418,1476,1559,1815,1785,1549,1555,1759,1670,1428,1504,1723,1837,1675,1375,1366,1826,1763,1453,1631,1970,2227,2316,1736,1857,2047,2265,2053,1765,1593,1617,1668,1509,1559,1781,2029,1760,1568,1488,1355,1464,1296,1382,1528,1537,1598,1574,1651,1512,1711,1771,1801,1736,1669,1547,1638,1564,1639,1810,1791,1655,1438,1462,2007,1639,1600,1804,1920,1817,1574,1756,1846,2148,2070,1695,1500,1500,1475,1491,1459,2077,2049,2334,2959,3042,2768,2290,1857,1924,1969,1671,2180,2247,1781,1944,2492,2182,1650,1614,1605,1417,1362,1559,1907,1945,1969,2300,2396,2253,2200,1670,1399,1587,1754,1804,1974,1992,1939,1952,1934,1885,1897,2006,2352,1975,1477,1430,1436,1590,1707,1593,1720,1671,1831,2271,2787,2628,1945,1736,1877,1994,2042,2166,2070,1871,1819,1778,1804,1663,1907,1714,1564,1432,1459,1678,1422,1297,1315,1211,1488,1742,2009,2067,2363,1763,1466,1608,1850,1516,1385,1809,1899,1576,1495,1436,1583,1699,1763,1552,1278,1345,2348,2512,1760,1623,1986,1874,1653,2116,2025,2445,1773,1528,1493,1543,1534,1649,1445,1309,1562,1592,1439,1808,3066,3430,2786,3055,2366,1631,1595,1664,1737,1671,1658,1634,1430,1417,1414,1513,1404,1486,1594,1710,1870,1946,2277,2204,2075,1988,1964,2222,2259,1516,1373,1497,1994,2463,3068,3120,2491,1763,1488,1697,2122,1811,1848,1469,1081,1438,1701,1891,2120,2072,1938,1793,1674,1560,1600,1944,1970,1689,1489,1489,1571,1469,1477,1579,1657,1777,1853,1798,1829,1844,1779,1903,2069,2078,2383,2455,2475,1947,1828,1878,2109,2289,2224,2119,2323,3101,3313,3204,2965,3007,2908,2298,2120,2187,2586,2913,2870,2950,2811,3413,3033,3088,3389,3451,3671,3897,3993,4056,4204,4423,4339,4255,3986,3987,3819,3914,3571,3460,3528,3786,4092,4304,4532,4396,4312,4189,4144,4253,4237,4264,4168,3421,3120,3217,3325,3714,4212,4416,4509,4575,4663,4690,4768,4732,4443,3985,3802,4017,4293,3904,3430,3427,3428,3389,3802,3818,3726,2766,1142,640,546,521,510,526,543,568,595,654,674,659,764,871,885,842,763,755,739,664,624,602,698,1022,795,837,797,846,1052,1331,1812,2092,2172,2065,1819,1803,1885,1874,1825,1729,2012,2574,3033,2380,1622,1315,1193,1085,1350,1600,1663,1699,1657,1819,1902,1714,1396,1582,1646,1590,1608,1577,1510,1343,1086,1377,1818,2132,2420,2332,2197,1776,1522,1395,1212,1277,1305,1168,1388,1656,1902,2109,1895,1904,2233,2251,2440,2389,1978,1791,1664,1402,1308,1205,1143,1278,1300,1322,1311,1221,1035,927,1133,1387,1349,1228,1125,1196,1338,1225,1050,998,1114,1169,1197,888,748,861,1019,979,1080,1059,917,963,1045,1201,1440,1283,1229,1738,2094,1852,1742,2044,2150,1686,1680,1538,1169,975,937,779,651,578,541,588,696,755,786,809,984,1132,1116,1187,1412,1438,1321,1213,1177,1179,1154,1018,852,806,849,849,826,944,996,1041,1074,1120,1260,1357,1251,1198,1473,1901,3328,4121,3509,2632,2495,2065,1344,1064,968,978,917,892,953,1607,2902,3863,4404,3924,2338,1227,1094,972,831,658,688,774,1030,1134,1474,1030,1094,1466,1294,1103,1005,884,894,867,806,758,751,733,734,695,585,567,596,503,376,323,338,342,306,309,314,308,301,302,312,319,331,343,356,368,367,370,381,413,497,545,614,629,512,450,440,416,416,424,413,386,392,387,366,360,358,368,373,373,363,357,355,353,332,311,313,318,312,325,310,323,333,310,292,297,299,297,295,296,294,289,295,309,332,354,368,373,374,372,353,338,346,363,376,397,419,409,384,423,469,494,479,438,402,368,364,407,536,724,781,802,730,633,626,624,573,548,560,572,553,534,536,537,519,496,480,462,454,441,403,382,378,369,355,344,332,326,319,325,340,353,366,389,431,452,441,427,433,444,437,430,424,412,412,414,414,421,434,456,491,528,543,522,495,499,507,518,565,572,563,615,673,666,634,582,548,514,482,465,506,429,429,440,418,416,402,393,380,373,365,373,377,378,374,382,390,398,385,380,385,392,392,397,412,409,410],[3834,3216,3124,3398,2490,1892,2218,2100,1896,1922,2452,2600,2676,3407,3602,3429,3426,2937,2501,2604,2710,3060,3120,2852,3020,3060,3654,3804,3694,3526,3286,3199,3378,3464,3132,3384,3560,2580,2176,2159,1857,1973,1974,1976,2406,2752,2858,2326,1981,2386,2395,2744,2884,2661,2462,3216,3740,3155,2440,2347,2098,2512,3742,3566,2888,2999,2690,2666,2617,2594,2730,2371,1852,2106,3197,2785,2370,2555,3122,3607,3618,2988,2322,2499,2707,2221,2084,2210,2073,1813,1016,1028,1480,2476,2733,3034,3014,2961,3051,2931,2836,2667,2397,2128,1700,1768,1778,1858,2145,2586,2679,2285,2139,2354,2413,2468,2788,3238,3641,3529,3287,2873,2641,2717,2736,2553,2614,2634,3005,3885,3289,2048,2009,1782,2216,2420,1848,1798,1958,1865,1959,2391,2500,2601,2954,2876,2764,2566,2308,1930,1904,2005,2665,2862,2714,2844,3061,3087,3064,2868,2619,2688,3016,3076,3047,2943,2546,2430,1984,2035,2181,1785,1757,2001,2050,2512,2046,1498,1642,2317,2588,2229,2259,2492,2372,2292,2308,2361,2380,2569,2718,2590,2054,2029,2202,2496,2832,2706,2493,2445,2620,2781,2636,2623,3134,3043,2580,2319,2121,1842,1996,2222,2496,2719,2636,2169,2088,2155,2314,2638,3618,4061,2842,2403,2715,2130,1754,1744,1652,1938,2568,1691,1431,1833,1961,1837,2106,2420,3008,3008,2789,2939,2293,1806,1478,1318,1892,2526,2523,2168,1718,1707,1854,1715,1844,1782,1534,1880,2019,1769,1684,1736,1551,1140,1731,2480,2820,2626,2010,1853,1799,1634,1522,1749,1882,1653,1776,2186,2064,1906,2228,2408,2172,2086,2314,2575,3477,4385,3820,3986,4008,3584,3220,2896,2707,2739,2937,3496,3886,4408,4539,4389,4316,4207,4029,3913,3318,2708,2517,3068,3364,3284,3024,3266,3585,3552,3409,3279,2566,2519,2828,2437,2310,2648,3086,3768,3886,3580,3432,3601,3243,3241,3340,2750,3056,3056,2502,1975,1939,2424,2792,2724,2094,1608,1622,2388,2479,2642,2149,1537,1522,1698,1640,1506,1482,1420,1449,1582,1721,1625,1561,1577,1730,1770,1830,2039,2283,2338,1946,1833,1840,2191,2432,2212,1984,1970,1598,1461,1758,2038,2072,1815,1697,1659,1786,1869,1958,2216,2188,2303,2729,2336,2657,2757,2483,2724,2442,2432,2050,1522,1538,1766,1554,1514,2104,2118,1972,2040,1938,2027,2196,1770,1677,1602,2057,2117,2528,1932,1577,1647,2120,2602,2470,1880,1653,2138,3462,3060,2612,2640,3009,2833,2676,3013,2792,2349,2162,2112,2571,2750,2630,2592,2300,2234,2177,2264,2018,1917,2311,2268,1802,1653,2082,2276,2207,2038,1984,1799,1972,1913,2172,1989,2330,2470,2287,2449,2543,2285,1660,2186,2724,2658,2429,2532,2397,1901,2047,2327,2025,1237,1521,1877,2121,1712,1219,1397,1655,1984,2467,2776,2710,2422,2529,2763,2200,1775,1830,2056,2620,2975,2812,3140,3339,3227,3444,3536,2824,2440,2617,2743,3056,3123,3062,3085,3295,3024,2579,2373,2281,2700,2762,2625,2777,3068,3085,3021,2938,2254,1944,1996,2112,2426,1990,2150,2619,2103,2468,2730,2795,2769,2265,1738,1620,1646,1736,1666,1608,1592,1848,2213,2548,2476,2146,1945,1870,1618,1559,1569,1644,1763,1740,1581,1692,2233,2642,2031,1946,1924,1905,1815,1616,1678,1744,1661,1650,1631,1757,2093,2006,1443,1488,1622,1990,2157,2021,2075,2568,2836,2608,3140,3483,3350,3019,2846,2621,2209,2511,2495,2104,1778,1918,2246,2819,3304,3166,2507,1983,2038,2060,1941,2410,2392,1882,1920,2412,2182,1618,1525,1400,1563,1748,1626,1550,1560,1562,1540,1381,1381,1677,1917,1908,1560,1859,2512,2072,1777,1606,1494,1422,1965,1903,2078,2923,2900,2577,2620,2792,2299,1411,1550,2135,1772,2134,2414,2898,3022,2226,1712,1737,1803,1843,1958,2057,2164,1447,1604,2083,1893,1772,1440,1236,1330,1594,1914,1708,1498,1443,1549,1902,2751,2361,2181,1744,1537,1603,1498,1514,1415,1324,1421,1496,1646,1622,1598,1562,1664,1708,1716,1396,1644,2160,2092,2061,2059,1602,1665,1882,2500,2099,2087,1976,1692,1743,1799,1642,1729,1940,1720,1582,1939,2459,2496,2569,2366,2061,2146,1829,1626,1744,1809,1715,1725,2062,2613,2192,1742,1512,1296,1625,1854,1815,1852,1650,1985,2642,3161,2990,2708,2801,3452,3602,2953,2920,2596,2386,2564,2360,2383,3078,2689,2625,2766,3501,4153,4540,4469,4452,4313,3854,3660,3748,3198,3111,3347,3372,3084,2320,2084,1864,1834,1968,1838,1458,1501,1730,1906,1914,1787,2287,2885,3187,2459,1945,1894,1824,1635,1775,2278,2244,2105,2086,2287,2416,2065,2124,2520,2625,2455,2054,2005,2354,2745,2285,1501,1444,1526,1599,1749,1794,1664,1665,2242,2246,1734,1481,1437,1350,1361,1511,1828,2104,2000,1564,1562,1549,1230,1388,1490,1525,1533,1564,1725,1672,1688,1865,2136,1826,1522,1648,1923,1758,1511,1477,1669,2202,2190,1557,1730,1766,1665,1769,2081,2232,1763,1542,1697,1853,1654,1627,1895,2136,2324,2337,2884,3201,3428,3994,3993,3940,3842,3277,2585,2718,3428,3575,3317,2708,2017,2191,2046,2179,2012,1910,2404,2238,1778,1692,2052,2009,1505,1804,2099,1744,1803,1592,1577,1511,1323,1277,1354,1472,1516,1428,1590,1496,1436,1525,1683,1486,1507,1582,1601,1633,1863,1842,1437,1472,1594,1645,1844,1824,1664,1641,1826,1989,1910,1736,1675,1854,1906,2066,1914,1725,1953,1853,1724,1561,1554,1568,1582,1701,1603,1407,1617,1648,1384,1426,1825,2078,1919,1829,2336,2587,2393,1906,1596,1532,1606,1494,1732,1739,1839,2097,2027,1727,1492,1368,1266,1332,1612,1605,1548,1478,1474,1589,1454,1485,1644,1716,1785,1914,1797,1671,1506,1524,1729,1738,1637,1667,2007,2237,1954,1707,1634,1736,1742,1720,1719,2053,2404,1852,1492,1486,1488,1909,1910,1654,1621,1876,2408,3174,3215,2185,1979,2045,2130,2036,1870,2534,2236,1992,2099,2147,1719,1675,1748,1555,1402,1389,1480,1559,1916,2198,2402,3002,2776,2246,1617,1560,1865,1950,1819,1832,1698,1475,2228,2626,1919,2003,2143,2005,1686,1644,1650,1412,1422,1444,1481,1599,1642,1608,1748,1993,1958,1721,1641,1832,1857,1846,1898,1946,1889,1870,2168,1914,1551,1726,1676,1456,1368,1613,1626,1300,1322,1417,1468,1786,1750,1754,1821,2453,2272,1743,1749,1838,1439,1349,2086,1960,1661,1495,1592,1619,1572,1505,1559,1518,1916,2924,3088,2241,1648,1843,1792,1686,2192,2020,2037,1643,1393,1354,1413,1421,1383,1390,1510,1636,1733,1385,1605,2430,2145,2071,2269,1824,1521,1462,1428,1622,1980,1858,1483,1444,1437,1582,1615,1474,1496,1562,1958,2105,1960,2118,2225,2187,2293,1998,1996,2050,1778,1569,1506,1719,2414,3231,3183,2510,2307,2236,2092,2154,2189,2244,1549,1340,2059,1854,1791,1974,1865,1806,1834,1755,1750,1812,1964,1823,1512,1437,1396,1455,1360,1229,1322,1506,1513,1504,1527,1817,1896,2109,2082,1863,1838,1830,1879,2033,2261,2385,2509,2633,2041,2134,2219,2286,3022,3075,2908,2934,2931,2442,2168,2014,1956,2230,2653,2578,2362,3008,3552,3522,3408,3553,3450,3370,3747,3840,3724,3911,4081,4059,4110,3850,3980,3874,3871,3710,3561,3606,3682,3852,4307,4551,4460,4299,4139,3994,4049,4144,4297,4256,3607,3204,3476,3664,4002,4287,4371,4525,4676,4783,4759,4816,4808,4584,4335,4209,3996,3827,3491,3295,3107,3309,3516,4277,4209,3097,1453,723,569,508,526,532,537,546,581,605,630,671,693,742,822,855,813,749,728,710,651,639,591,614,672,617,736,785,818,952,1169,1548,1896,2054,1984,1746,1654,1664,1615,1617,1627,1770,2225,2768,2685,1972,1404,1447,1086,1244,1475,1583,1704,1684,1782,1870,1781,1497,1455,1554,1549,1568,1546,1400,1394,1166,1155,1551,1943,2408,2476,2420,2053,1566,1486,1212,1200,1310,1129,1204,1470,1841,2096,2002,1862,2053,2182,2260,2329,1971,1715,1665,1370,1284,1188,1128,1286,1334,1285,1280,1240,1056,900,980,1124,1155,1151,1102,1143,1363,1257,1123,1044,1052,1128,1025,809,671,713,942,965,1050,1079,974,936,1008,1124,1330,1338,1186,1527,2033,1888,1626,1733,2136,1901,1883,1793,1338,1126,1072,851,752,622,577,594,714,767,830,846,1021,1154,1138,1159,1306,1352,1247,1171,1148,1118,1150,1039,853,780,809,841,808,876,928,931,1016,1084,1207,1297,1226,1199,1416,1960,3575,4487,3994,3608,3372,2932,2277,1555,1449,1279,1080,1021,955,1601,2577,3515,4220,4440,3470,1804,1182,1027,905,691,692,868,1654,1244,1346,1137,1034,1444,1390,1103,1026,900,852,825,773,711,694,700,674,646,569,525,562,519,399,343,352,335,312,306,312,311,305,310,321,325,326,332,339,349,354,365,391,417,510,553,562,597,522,428,420,406,407,408,402,390,381,366,373,363,373,394,379,370,356,343,344,343,323,308,306,312,311,307,318,346,336,299,297,289,294,291,289,290,289,288,294,308,331,344,361,369,369,365,349,347,352,352,365,365,418,447,432,463,502,488,452,435,428,386,370,403,544,683,723,728,688,630,620,633,571,531,532,545,534,516,507,494,480,469,461,456,435,393,363,366,365,354,359,351,338,335,326,327,347,366,380,416,444,443,430,423,427,441,439,433,420,412,405,402,403,420,437,471,496,524,536,535,531,520,501,482,509,553,528,540,635,660,627,587,559,532,472,447,495,438,418,447,416,411,395,389,382,372,364,362,364,356,335,337,370,388,378,372,380,382,385,392,398,398,403],[3970,3752,3642,3216,2897,2720,3211,2826,1982,1859,2314,2471,2611,2731,2910,3453,3234,2763,3432,3396,2686,2853,2735,2928,2994,3243,3706,3597,3648,3541,3440,3397,3364,3208,3272,3441,3604,2809,2214,1960,2189,2570,2280,2282,2725,3235,3295,2732,2404,2796,2696,2673,2856,2819,2853,2893,2933,2713,2264,2355,1658,2022,3361,3443,2963,2858,2522,2532,2945,2908,2722,2404,2213,2642,3184,2296,1822,2032,2731,3195,2949,2720,2200,2156,2389,2325,2098,2167,2193,1530,1079,1201,1813,2540,2743,2700,2617,2761,2555,2409,2151,2270,2608,2403,1853,1819,1810,1755,1798,1965,2061,1936,2014,2521,2642,2779,3020,3040,2917,3137,3063,2857,2589,2546,2525,2144,2541,2442,2597,3285,2978,2708,3058,2721,2621,2158,1685,1820,2078,1977,2336,2797,2954,2783,2663,2653,2739,2899,2494,2011,2160,2493,2844,3016,2908,3016,3144,3160,3024,2902,2764,2875,2819,2813,3137,3198,3183,3039,2451,1984,1645,1560,1715,2008,1836,2096,2042,2159,2138,2348,2804,2651,2272,2203,2261,2378,2380,2264,2404,2436,2442,2338,2322,2640,2726,2834,2774,2424,2564,2324,2464,2404,2943,3563,3672,3352,2854,2392,1888,1798,2175,2414,2322,2358,2501,2034,2343,1968,1868,2111,2867,3085,2380,1997,2066,1867,1444,1558,1625,1985,2262,1589,1593,1851,1797,1718,1723,1945,2237,2073,2172,2479,2200,1487,1321,1742,2424,2901,2369,1776,1617,1644,1657,1638,1749,1743,1445,1766,1798,1971,1478,1259,1357,1389,1547,1476,1842,2315,1957,1762,1706,1548,1399,1691,1784,1794,1995,2338,2211,2249,2515,2585,2313,2364,2849,3635,4200,3918,3417,3825,3894,3599,3201,2633,2762,3018,3128,3840,4104,4085,4084,3916,4080,4113,3776,4110,3293,2017,2756,3596,3553,3559,3222,3481,3209,2398,2253,2181,1998,2447,2833,2667,2611,2678,2929,3437,3544,3785,3726,3915,3627,3016,2656,2189,2438,2537,2238,1870,2369,2746,2910,2591,2177,1720,1867,2561,2876,2548,1774,1412,1766,2065,1798,1373,1349,1396,1395,1468,1500,1567,1643,1520,1567,1895,2133,2361,1937,1837,1791,2030,2161,2372,2235,2200,2202,2091,1677,1859,2493,2282,2519,3268,3002,2144,2104,1859,1802,1592,1553,1897,1986,1994,2301,2231,2045,1982,1694,1793,1708,1417,1619,1728,1638,1665,1786,1903,1977,2262,2453,2347,2465,2410,2601,2899,2850,2815,2658,2232,1816,1729,2447,2779,2719,1995,1579,2005,3083,2917,3003,3096,3067,2850,2952,3207,2912,2301,2042,1860,1764,1922,2088,2690,2966,2879,2747,2152,1261,1569,2281,1836,1849,2094,2199,2246,2075,2171,2455,2249,2078,2261,2119,1989,2210,2037,2211,2415,2404,2369,1803,2639,3264,3155,3032,3228,2570,1926,2343,2577,2139,1104,1583,2026,2724,2166,1445,1505,1705,2131,2549,2590,2295,2060,2469,3222,3300,2289,1893,1843,2070,2830,3380,3167,2851,2855,3023,3186,2545,2386,2486,2347,2674,2799,2846,3062,3717,3603,2601,2113,2303,2897,2889,2899,2924,3078,2972,2851,2483,2267,2330,2108,2261,2123,2023,2406,2452,2215,2665,2818,2932,3019,2349,1676,1620,1778,1913,1992,1843,1800,2226,2322,2185,2090,2114,2055,2020,1976,1898,1857,1676,1570,1731,1561,1473,2204,2340,1940,1892,1906,2245,1924,1199,1226,1610,1808,1930,1860,1447,1743,1805,1484,1499,1670,1991,2172,2030,2076,2855,2642,2046,2901,3618,3681,3638,3227,2802,2451,2266,2454,2188,1675,1797,2239,3166,3602,3511,2585,1882,1249,1176,1834,2988,2507,1561,1721,2165,2125,1610,1517,1410,1344,1394,1537,1666,1714,1742,1759,1582,1804,2076,1958,1930,1662,1585,1834,1865,1625,1396,1400,1442,1533,1510,1687,2053,2259,2264,2624,2740,1760,1302,1411,1585,1624,1891,2554,2784,2519,2148,1795,1591,1486,1947,2008,1627,1651,1500,1794,2201,2024,1717,1116,1028,1187,1479,2236,2116,2083,2221,2278,2164,2718,2463,2185,1938,2181,2184,1687,1582,1485,1490,1485,1531,1720,1562,1600,1637,1722,1778,1843,1803,1728,1945,2002,1884,1998,1721,1915,1937,2144,1994,1844,1929,1945,1687,1679,1942,1985,2128,1685,2208,2308,2482,2442,2523,2148,2081,2286,2030,1614,1923,2177,1994,2554,2707,3108,2204,1203,919,1224,2233,2381,2068,2181,1936,1994,2521,3043,2664,3007,3495,4289,4021,3209,3063,2810,2708,2858,3012,3222,4096,3812,3687,3654,3617,3460,3792,4372,4392,4050,3795,3464,3442,3017,2862,3326,3583,3627,2603,1984,2242,2194,1935,1586,1461,1474,1451,1678,1638,1899,2420,2133,2106,2322,2033,1756,1748,1471,1509,1894,1831,2219,2257,2282,2018,1739,1898,1991,2203,1967,1902,1827,1620,1780,1813,1575,1383,1469,1598,1924,1820,1785,2282,2823,2370,1923,1879,1988,1414,1370,1438,2215,2033,1883,1686,1619,1837,1781,1606,1549,1455,1448,1541,1730,1851,1799,1693,1964,1955,1602,1338,1582,1715,1612,1603,1702,1610,1681,1408,1476,1404,1427,1487,1731,1555,1436,1494,1750,1803,1692,1916,2153,2003,1907,1943,2149,2394,2641,2945,2949,3392,3793,2973,1936,2503,3090,3147,3365,2919,2185,2096,2229,2304,2099,2171,2375,2020,1840,1788,2296,2398,1921,2100,2114,1818,1469,1476,1743,1547,1205,1388,1728,1659,1659,1474,1418,1415,1484,1577,1447,1404,1560,1534,1430,1780,2350,1955,1606,1443,1412,1489,1725,1827,1678,1571,1805,1763,1685,1763,1670,1808,1943,2002,2223,2065,1886,1562,1573,1476,1410,1615,1638,1720,2100,1842,1690,1630,1516,1466,1563,1736,1732,1560,1715,1892,1909,1930,1758,1649,1727,1937,2531,1969,1824,2219,2062,1652,1433,1387,1324,1427,1506,1503,1844,1542,1551,1424,1243,1529,1556,1308,1463,1610,1672,1732,1644,1742,2013,1767,1883,1804,2119,2088,1969,1728,1476,1557,1876,2367,1897,1806,2078,1632,1356,1651,1801,2483,2296,2014,2000,2151,2418,2657,2297,1729,1665,1872,1866,1880,2250,2331,2596,2951,3186,2741,1671,1715,1638,1526,1454,1536,1799,1578,1681,2035,2593,3307,3087,2164,1699,1588,1628,1813,1812,2056,2275,1760,2479,3076,2160,1924,2083,1727,1499,1548,1628,1773,1523,1466,1428,1858,1862,1585,1576,1955,2243,1948,1796,1980,1799,1672,1814,2212,2166,2518,2846,2281,1648,1502,1749,1819,1563,1641,1670,1694,1642,1588,1454,1750,1642,1582,1887,2429,2543,2229,1872,1795,1842,1638,1761,1470,1687,1518,1453,1438,1481,1548,1855,2245,2382,2580,2304,1772,1847,2253,2260,2136,2141,1833,1544,1389,1354,1411,1355,1345,1361,1472,1531,1422,1380,1454,1489,1816,2055,2279,1891,1322,1303,1425,1265,1309,2389,2347,1611,1537,1537,1469,1637,1554,1454,1759,2111,2179,2073,2324,2502,2340,2670,2479,1918,1847,2225,2027,1658,1994,3002,3423,2854,2675,3118,2693,2248,2621,2579,2165,1501,1688,2027,1636,1917,2404,1923,1505,1463,1423,1379,1585,1917,1656,1457,1476,1287,1229,1294,1274,1285,1345,1286,1373,1375,1628,1751,1896,1887,1749,1733,1765,1816,1855,1903,1946,2219,2450,2781,2890,2512,2026,2159,2287,2381,2775,2811,2296,2135,1967,1951,2326,2803,2757,2944,3534,3585,3545,3440,3416,3409,3288,3660,3754,3780,3888,3833,3925,3913,3776,3860,3796,3691,3690,3558,3638,3563,3708,4140,4298,4352,4325,4213,3960,3824,3885,4105,4208,3683,3251,3725,3806,4043,4280,4399,4620,4904,4904,4757,4739,4819,4552,4099,3978,3552,3262,3313,3372,3272,3651,3904,4197,3496,1743,722,572,540,497,519,537,532,573,674,631,596,662,710,739,790,846,807,727,696,706,665,601,577,571,566,576,673,755,806,907,1051,1344,1685,1957,2041,1735,1586,1565,1480,1446,1526,1667,1936,2335,2615,2367,1537,1577,1222,1180,1346,1429,1565,1709,1726,1700,1744,1622,1459,1537,1637,1484,1547,1366,1367,1272,1147,1305,1627,2258,2481,2283,2098,1644,1576,1305,1154,1269,1109,1096,1410,1791,2030,2076,1956,1942,2061,2137,2258,2049,1694,1629,1369,1255,1188,1089,1205,1349,1297,1261,1281,1088,939,975,1013,1094,1087,1093,1159,1317,1290,1186,1102,1064,1097,1013,822,658,662,805,920,997,1063,1015,922,981,1083,1200,1342,1167,1287,1883,1918,1639,1601,1967,2036,2033,1997,1622,1303,1224,957,866,699,647,625,715,753,808,931,1171,1252,1174,1181,1262,1284,1186,1077,1058,1029,1033,981,847,766,773,810,792,830,892,881,963,1060,1162,1221,1216,1145,1268,1967,3791,4731,4564,4236,2924,2281,2271,2775,2439,1432,1184,1188,1105,1718,2465,3349,4299,4439,4241,3112,1543,1076,956,760,704,1052,1856,1510,1137,1259,1270,1374,1454,1157,1009,853,805,789,737,675,648,650,623,582,542,516,515,503,423,356,359,333,320,315,313,313,311,316,320,322,316,320,325,332,348,362,388,411,472,510,505,518,496,436,398,402,397,384,376,372,361,353,380,379,372,404,382,366,353,338,338,332,319,304,300,304,304,299,308,334,332,279,297,286,283,289,290,292,294,295,306,324,334,347,354,366,360,352,357,358,354,344,365,415,492,519,513,545,547,490,435,429,434,401,378,384,540,683,708,715,667,634,609,594,555,514,506,511,509,510,506,485,470,461,451,445,425,394,365,355,358,357,358,355,350,347,335,333,345,371,421,459,448,427,418,415,421,435,436,425,420,417,414,401,390,409,441,477,512,528,551,581,575,541,494,455,473,563,545,511,573,637,637,595,554,531,494,465,461,425,419,447,411,412,398,385,375,372,371,367,361,355,360,384,392,389,383,366,370,383,380,383,388,389,384],[3867,3653,3812,3426,3260,3337,3773,2958,1770,2272,3068,2767,2688,2727,2812,2973,2652,2480,3373,3164,2503,2599,3033,3471,3204,3463,3982,3768,3699,3457,3342,3263,3077,3082,3147,2910,2867,2653,2138,2009,2767,3227,2624,2483,2695,3242,3085,2852,2872,2930,2676,2685,2750,2569,2475,2436,2190,2092,2052,2156,2011,2103,2698,2810,2503,2492,2359,2761,2846,2350,2375,2342,2403,2618,3016,2839,2059,2227,3367,3099,2946,3079,2532,2270,2530,2285,1974,2021,1992,1219,1283,1771,2026,2353,2654,2635,2630,2608,2314,2360,2352,2608,3167,2589,1884,1783,1742,1755,1759,1741,1844,2067,1904,2402,2745,2842,3007,2843,2770,2975,2820,2673,2358,2228,2157,1643,2078,2167,2136,2360,2511,2917,3309,3253,2995,2357,1806,2103,2679,2101,2355,2898,3103,2901,2733,2800,2928,3230,2910,2287,2476,3031,3205,3195,3021,3189,3260,3332,3128,2957,2979,3245,2915,2993,3449,3248,3658,3843,3194,2780,2298,1778,1879,2232,2180,1997,2029,2294,2380,2658,3100,3038,2644,2544,2414,2364,2206,2275,2470,2448,2480,2512,2709,2814,2684,2569,2646,2831,2800,2235,2548,3116,3710,3760,3816,3928,3693,2855,2156,2257,2436,2061,2002,1920,2127,2534,2693,2792,2806,2759,2586,2338,2611,2404,2468,2205,1417,1783,2195,1944,1807,1916,1892,1722,1470,1582,1720,2226,1882,2238,2710,2791,2442,1654,1869,2453,2938,2740,2026,1724,1661,1560,1533,1758,1705,1624,1419,1422,1680,1903,1566,1272,1390,1491,1522,1813,2354,2393,2110,1827,1788,1554,1436,1549,1538,1699,1943,2023,2182,2619,2287,2929,2864,3160,3859,4381,4259,3827,3811,3598,3352,3545,3782,3579,3475,3703,3738,3609,3818,4279,4375,4099,4244,3814,3152,3279,3028,2229,2934,2941,2802,3452,3363,3078,2398,2329,2655,2650,2806,2941,3064,2851,2730,2415,2487,2787,2614,2490,2944,3027,2800,2773,2369,1922,2024,2520,2332,2037,2832,2791,2513,2777,2425,1711,1935,2279,2115,1801,1388,1561,2115,2098,1735,1476,1513,1584,1525,1584,1577,1595,1670,1619,2165,2596,2401,2415,1915,2191,2469,2308,2219,2474,2406,2250,2020,1741,1698,2076,2370,2070,2503,3315,3195,2544,2270,2106,1953,1706,1721,1776,1636,1988,1898,2100,2222,1951,1692,1974,1870,1716,2076,2176,2176,2063,1783,1707,2098,2082,1676,1741,2105,2548,3099,3307,2908,2604,2348,2204,2204,2023,2426,2564,2743,2284,1738,1684,2460,3095,3197,3183,3131,3089,3100,3171,2873,2325,2422,2330,2075,1871,1788,2603,3278,3067,2719,2164,1385,1628,2260,1971,2147,1919,1844,2036,2138,2473,2697,2270,1837,1741,1853,2212,2190,2006,2258,2698,2648,2434,2230,3087,3625,3137,3117,3178,2571,2140,2150,2446,1936,1214,1477,1770,2648,2233,1816,2055,2024,2207,2609,2768,2497,2984,3554,4078,4212,3451,2355,1809,1887,2175,2669,2681,2474,2256,2171,2167,2371,2819,2873,2555,2564,2551,2752,3221,3913,3486,2020,1838,2525,2912,2706,2644,2700,2791,2718,2647,2055,1963,2143,2119,2519,2153,2273,2558,2501,2508,2764,2758,2768,2813,2216,1560,1756,1932,2041,2200,2366,2303,2637,2477,2076,1709,1503,1501,1791,1901,2042,2082,1884,1758,1958,1651,1458,1894,2002,1892,1900,1991,2292,1993,995,1075,1882,2289,2202,1908,1659,1848,1692,1507,1549,1591,1645,1693,1824,2464,2894,2658,2018,2612,3450,3541,3532,3453,3737,3128,2109,2389,2283,1820,1954,2519,3317,3608,3432,2503,2071,2148,2135,2463,3006,2145,1462,1627,1830,1875,1610,1537,1433,1545,1477,1459,1684,1531,1516,1681,1705,1880,1869,1819,1978,1647,1556,1758,1735,1548,1684,1783,1619,1460,1354,1391,1483,1589,1993,2297,2068,1933,1675,1863,2391,2249,2282,2641,2252,2128,2101,1902,1687,1806,2056,1557,1131,1273,1458,1792,1974,1941,1393,791,1154,1308,1472,1832,2022,2238,2316,2469,2314,2667,2659,2145,2049,2518,2480,1994,1704,1429,1410,1443,1538,1734,1677,1506,1426,1458,1572,1709,1630,1445,1445,1518,1496,1701,1669,1891,1738,1744,1800,1755,2241,2556,1776,1705,2389,2751,2777,2176,2382,2207,2062,2266,2140,1912,2007,2364,2436,1819,2343,2397,2098,2757,2990,3035,2421,1854,1509,1678,2139,1892,1753,2360,2470,2359,2641,2720,2570,3310,4057,4165,3726,3093,2994,3093,2942,2908,3330,3432,4080,4288,3772,3681,3775,3870,4153,4064,3691,3824,3670,3090,2728,3027,3462,3519,3592,3868,3119,2401,2198,1922,1766,1118,1298,1715,1758,1823,1725,2484,2941,2658,2028,1638,1672,1861,1953,2033,1752,1788,1758,2392,2562,2215,1634,1553,1628,1814,1980,1792,2066,2086,1865,1632,1600,1544,1482,1487,1527,1690,1952,1860,1977,2220,1876,1844,2297,2227,1748,1259,1428,2088,1608,1465,1531,1559,1683,1426,1242,1499,1654,1538,1600,1772,1833,1626,1545,1621,1468,1343,1297,1476,1652,1526,1652,1694,1969,1639,1344,1290,1354,1295,1466,1511,1377,1461,1436,1653,1443,1764,2154,1685,1592,1873,2149,1923,1816,2104,2129,1998,2310,2935,2700,2297,2505,2293,2734,2819,2162,1759,1780,1866,2064,2058,1847,1895,2016,2060,2567,2422,1895,2209,2349,2030,1640,1609,2036,1888,1514,1313,1655,2260,1928,1690,1703,1487,1378,1356,1278,1410,1569,1421,1427,1263,1413,1676,1576,1544,1416,1435,1362,1707,2118,1964,1683,1438,1347,1581,1666,1615,1782,1801,1676,1836,1598,1524,1698,1704,1707,1749,2050,1983,1828,2525,2664,2081,1897,1588,1553,1615,1714,1580,1405,1496,1434,1543,1846,1747,1674,1562,1900,1927,1703,2051,2053,1693,1636,1569,1491,1337,1445,1612,1636,2029,1703,1518,1428,1322,1514,1632,1650,1375,1322,1418,1500,1776,1788,1895,1847,1978,1871,1769,1666,2058,2230,1552,1574,1968,2734,2136,1620,1809,1853,1813,1802,2351,2895,2785,2872,2595,2379,2447,2364,1918,1748,1531,1651,1744,1675,1932,2023,2208,2570,2759,2669,1860,1899,1709,1798,1657,1662,1612,1339,1618,2156,2457,2590,2596,2094,1935,1772,1830,1848,1732,2259,2414,2020,2459,2900,2635,2575,2383,1728,1528,1440,1482,2644,1752,1405,1530,2010,2092,1724,1646,1850,1879,1825,1963,1842,1678,1709,1874,1973,1895,2300,2343,2152,2111,2260,2869,2464,1803,1657,1709,1926,1829,1605,1670,2020,1805,1512,1697,2019,2460,2806,2575,2080,2441,2635,2138,1665,1694,1822,1756,1583,1567,1536,1919,2060,1715,2076,2192,1780,1900,2398,2346,1843,1490,1479,1514,1537,1567,1479,1424,1477,1404,1709,1561,1361,1360,1440,1805,2443,2448,1958,1468,1421,1371,1441,1282,1273,2020,2494,2267,1880,1591,1547,1715,1571,1512,1798,1962,2037,2380,2280,2467,2588,2775,2661,2076,2314,2824,2540,2160,2236,2932,3006,2716,2877,3730,2982,2643,3705,3765,3208,2610,2383,2153,1566,1748,1954,1754,1840,1626,1414,1448,1793,1996,1628,1258,1052,1169,1273,1526,1672,1433,1378,1352,1444,1393,1691,1651,1484,1565,1333,1526,1530,1657,2178,2210,1841,2113,2127,2007,2388,2470,2231,2122,2128,2405,2596,2944,2597,2391,2038,2140,2511,2887,2812,3154,3650,3460,3454,3401,3356,3393,3543,3499,3588,3802,3803,3791,3682,3614,3649,3757,3806,3790,3919,4003,3754,3763,4026,4200,4155,4215,4344,4296,4040,3773,3743,3906,4072,3630,3737,3953,3916,4035,4218,4444,4760,4991,4919,4747,4689,4784,4516,3692,3476,3430,3241,3232,3229,3251,3540,3773,3366,1770,757,571,503,502,510,511,526,515,530,684,630,582,640,707,761,781,835,803,710,664,667,652,619,594,564,565,566,618,707,778,878,1038,1223,1496,1820,2024,1714,1498,1551,1478,1324,1354,1535,1748,2056,2292,2427,1769,1564,1347,1235,1259,1297,1408,1639,1728,1632,1701,1708,1565,1541,1812,1532,1471,1378,1344,1318,1283,1314,1367,1902,2364,2104,1939,1773,1653,1459,1189,1221,1222,1192,1311,1559,1898,2003,1862,1760,1878,2045,2171,2078,1732,1589,1408,1236,1175,1114,1137,1353,1331,1212,1264,1179,1105,1087,1078,1071,1041,1062,1134,1273,1344,1242,1221,1152,1100,1066,878,699,633,715,873,960,1013,1033,941,943,1048,1110,1311,1232,1208,1726,1892,1678,1577,1753,1910,1944,1978,1894,1555,1351,1072,964,766,684,670,711,732,756,921,1195,1269,1186,1180,1230,1256,1166,1054,1024,1019,980,938,866,740,716,786,767,819,849,836,895,998,1076,1173,1164,1124,1229,2090,4021,4932,4587,4096,2874,1821,1404,1531,1420,1116,1240,1483,1571,2065,2787,3724,4608,4792,4460,4136,2677,1464,1001,844,691,1244,2069,1760,1040,1150,1460,1243,1367,1135,928,810,752,731,690,643,619,601,582,537,506,514,500,487,445,394,373,344,326,320,316,317,319,320,311,302,302,306,310,321,333,344,366,381,406,433,451,458,460,448,414,400,381,368,357,350,346,353,376,384,371,385,372,355,348,333,331,327,315,301,293,298,303,294,297,316,343,298,283,277,285,300,303,306,300,299,313,325,331,340,343,349,347,347,345,351,357,365,384,442,577,585,597,584,530,474,443,432,432,402,384,395,520,671,684,694,674,642,614,573,533,499,507,511,487,503,528,485,457,452,439,432,412,387,352,344,352,349,355,356,357,355,337,333,349,377,408,426,427,411,402,402,408,423,426,420,415,416,417,399,382,400,443,475,512,550,588,575,554,529,484,448,442,561,592,512,553,664,660,614,555,514,516,483,454,419,406,443,412,405,399,390,373,370,367,364,363,369,382,391,396,402,383,358,360,373,375,374,380,386,377],[4026,3928,3884,3718,3320,3564,4001,3398,2555,2803,3147,2676,2645,2567,2622,2455,2253,2030,2461,2687,2863,3491,3960,3596,2986,3287,3850,3537,3369,3261,3134,3099,3094,2764,2751,3163,3150,2665,2188,2311,2778,2822,2668,2742,2920,3300,3083,3083,3347,3161,2919,3045,2535,2208,2360,2700,1902,1974,1982,1720,2060,2476,2822,2770,2521,2526,2323,2783,2452,2345,2067,1912,1937,2246,2743,2990,2814,3129,3082,2586,2508,1930,1675,2100,2604,2290,2256,2420,1933,1271,1451,1991,2327,2626,2441,2532,2670,2709,2831,2607,2544,2606,2865,2451,1838,1847,1793,1775,1783,1774,1947,2090,1874,2207,2865,3166,3381,3181,2805,2730,2617,2709,2618,2437,2549,1639,1914,2178,2142,2110,1974,2109,2535,2882,2581,2203,2558,2875,2837,2231,2355,2967,2886,2910,3047,3054,3334,3606,3182,2277,2276,2964,3206,3203,3052,3377,3653,3573,3277,3077,3124,3289,2995,3259,3794,3594,3567,3520,3150,2792,3313,2648,1909,1954,2068,2152,2104,2339,2489,2708,2943,3122,2722,2478,2505,2275,2194,2531,2578,2505,2630,2740,2826,2742,2690,2840,3040,2842,2374,2539,3225,3575,3638,3767,3898,3919,3876,3606,2990,2686,2539,2088,1793,1945,2396,2414,2534,3061,3177,2750,2594,2401,2719,2486,2323,2023,1572,1771,2066,2002,1941,1977,1813,1502,1499,1833,1787,1904,1702,2056,2759,2608,1914,1856,2280,2625,2678,2375,1888,1857,1733,1680,1704,1832,1727,1533,1771,1971,1662,1718,1738,1566,1784,1730,1949,2052,2080,2135,2030,1670,1638,1448,1312,1401,1522,1745,1879,2196,2120,2532,2399,2644,3306,3820,4219,4541,4372,4373,3994,3188,3783,3819,4352,3918,3680,3984,3716,3270,3570,4331,4427,4303,4295,3295,2272,2301,3121,3399,3586,2923,3021,3231,2810,2258,2521,3398,3739,4037,4050,3351,3018,2602,2837,2486,2590,2457,2034,2379,2817,2955,3205,3341,3124,2797,2500,2690,2376,2462,3141,3074,2968,3284,2750,1959,2091,2080,1625,1569,1442,1476,1603,1744,1677,1884,1745,1518,1613,1588,1434,1564,1593,1664,2614,2964,2681,2503,2150,2165,2169,1870,1803,1715,1616,1434,1386,1511,1809,2912,2933,2531,2484,2633,2355,1882,1731,1705,1805,2242,2299,2101,2521,2568,2126,2565,2631,2334,2349,2525,2183,1935,2222,2998,3055,2305,1900,2064,2371,1729,1193,1192,1633,2239,3012,3322,2534,2125,2256,3098,2922,2364,2137,2027,2143,2161,1693,1684,2517,3125,3233,3234,3096,3248,3206,3105,2448,1926,2013,2808,3062,2787,2727,2998,2994,2950,2739,2077,1511,1753,2195,2070,2375,2261,1579,1662,2094,2116,2132,1970,1830,1920,2106,2054,2235,2316,1874,2034,2327,2403,2444,2839,3161,2769,2634,2331,2174,2040,1652,1738,1732,1484,1594,1986,2262,2041,2040,2284,1688,1721,2940,3628,2850,3066,3831,4094,4021,4019,3097,2036,1769,1866,2192,2627,2343,2029,1874,1897,2590,3139,3057,2721,2469,2422,2662,3163,3655,2415,1538,2120,3012,3334,3151,2830,2842,2845,2837,2690,2054,2080,1869,2150,2292,2093,2226,2012,2179,2615,2659,2146,1895,2031,1864,1715,2094,1980,1869,1898,1979,2261,2700,2659,1969,1503,1130,1085,1509,1650,1992,2078,2077,1997,1950,2173,2323,2178,1736,1689,1787,1977,2586,2308,1063,1287,2237,2782,2207,2001,2132,2106,1817,1595,1509,1513,1443,1487,1743,2045,2031,2614,2518,2700,2938,2934,3094,3530,3718,3079,2045,2224,2049,1908,1841,1982,2405,2590,2510,2110,2179,3075,3632,3528,2858,1748,1670,1700,1697,2255,2056,1521,1470,1431,1388,1639,1837,1553,1615,1693,1746,1521,1614,1809,2001,1688,1480,1321,1261,1268,1563,1700,1598,1523,1449,1494,1544,1700,2045,2323,2730,2646,1932,1758,2050,2161,2366,2347,1891,1788,2372,2139,2008,1958,1678,1305,1199,1288,1536,1605,1678,1889,1230,680,974,1099,1141,1710,1921,1788,1724,1865,1941,2300,2686,2374,2073,2125,2046,1746,1629,1548,1505,1482,1575,1678,1548,1356,1324,1429,1521,1412,1371,1395,1444,1477,1432,1482,1669,1887,1621,1413,1616,1988,2645,2881,2058,1713,2352,2906,2398,2000,2244,2479,2633,2457,1729,1675,1879,2209,2511,2150,2222,2240,1843,1904,2627,2834,2337,2123,1692,1899,2063,1568,1570,2354,2505,2409,2297,2326,2281,2951,3675,3190,3687,3674,2808,2932,2946,2708,2831,3508,3956,3867,3546,3398,3750,3791,3968,3396,2884,3482,3518,3066,2399,2573,3276,3400,3163,3454,3515,2407,1986,2150,1842,1367,1315,1870,2309,1945,1289,1556,2625,2926,2127,1758,1991,1979,1784,1801,1735,1881,1811,1714,1980,1953,1675,1880,2156,1922,1885,1748,1918,2182,1781,1731,1830,1648,1564,1548,1559,1611,1873,1853,1699,1524,1477,1798,2188,1708,1605,1802,1516,1310,1672,1780,1544,1538,1552,1424,1437,1616,1824,1658,1632,1660,1613,1506,1657,1648,1458,1430,1542,1645,1487,1394,1727,1675,1754,1671,1428,1303,1518,1633,1592,1593,1439,1274,1394,1629,1404,1554,2099,1961,1865,2078,2176,2193,2212,2103,1848,1496,1944,2387,2491,2768,2609,2332,2443,2172,1820,1870,1830,1735,1990,2192,2258,5900,3596,1801,2347,1852,1375,1721,1793,1432,1727,2274,2352,1719,1400,1388,1609,1838,1635,1625,1844,1503,1323,1454,1375,1471,1472,1248,1366,1350,1368,1514,1525,1400,1351,1469,1422,1734,2200,2096,1802,1582,1696,1773,1788,1604,1506,1548,1711,1597,1444,1770,2000,1742,1840,2036,2084,1968,1792,1949,1967,2033,2284,1970,1720,1611,1556,1516,1511,1353,1446,1578,1647,1650,1620,1906,2121,2162,2534,2436,1762,1453,1567,1681,1822,1749,1783,1867,1852,1561,1621,1831,1584,1490,1479,1576,1661,1451,1331,1461,1523,1603,1709,1757,1743,1777,1737,1666,1757,2563,2252,1543,1631,1957,2214,1821,1666,1993,2112,2064,1937,2268,2786,2658,2442,2055,2349,2360,2124,1350,1252,1349,1531,1599,1610,1888,1953,1909,2020,2009,2170,2010,1897,1708,1723,1646,1470,1495,1774,2132,2390,2242,2650,2668,2335,2094,1809,1921,1843,1824,1808,1354,1248,1721,2045,1919,2181,2305,1739,1621,1601,1494,1857,1629,1535,1588,1834,1860,1646,1845,1758,1713,1870,2134,1814,1714,1528,1533,1686,1809,1949,1969,2322,2468,2624,3103,2303,1829,1660,1797,1791,1634,1606,1726,1819,1833,1656,1685,1770,2099,2565,2193,1810,2299,3334,3449,2449,1708,1964,2003,1656,1494,1559,1743,1367,1668,2050,2088,2176,2011,2069,2201,1816,1369,1497,1744,2114,2354,1572,1475,1626,1794,1980,1741,1510,1398,1311,1937,2297,1868,1723,1864,1665,1434,1643,1472,1451,1469,1913,1940,1545,1659,1792,1673,1744,1707,1873,1886,1945,2179,2204,2263,2328,2447,2354,2056,2542,2743,2548,2178,2848,2977,2776,2516,3076,3632,3299,3573,4206,4356,4400,3928,3372,2862,2375,2729,2662,2251,2415,1955,1474,1674,2022,1982,1632,1405,1179,1295,1393,1550,1549,1514,1400,1344,1303,1420,1809,1519,1346,1631,1287,1704,1735,2001,2693,2062,1764,2736,2865,2269,2027,1905,2086,2083,2127,2122,2185,2727,2844,2689,2410,2449,2510,2825,2792,2835,3294,3222,3088,3276,3343,3217,3278,3240,3526,3696,3582,3596,3827,4100,4042,3801,3820,3868,3971,4201,3847,3837,4236,4325,4003,3980,4285,4217,3927,3617,3563,3691,3898,3507,3974,4237,4107,4152,4327,4499,4828,5024,4708,4526,4584,4748,4613,4042,3758,3543,3328,3229,3184,3311,3540,3453,2420,929,669,533,506,520,511,508,522,518,548,575,560,572,628,680,751,789,802,766,686,635,622,621,606,584,568,556,543,577,637,737,817,996,1156,1357,1668,1954,1782,1471,1456,1416,1249,1202,1379,1594,1782,2043,2205,1893,1527,1382,1295,1144,1244,1332,1528,1760,1653,1563,1578,1626,1585,1765,1647,1505,1404,1317,1253,1277,1408,1216,1486,2137,2047,1946,2015,2024,1826,1385,1181,1349,1593,1553,1349,1729,1904,1825,1759,1857,2056,2257,2148,1771,1550,1425,1259,1145,1179,1138,1356,1385,1207,1273,1222,1101,1084,1158,1156,1026,1001,1091,1255,1408,1292,1258,1203,1096,1071,940,748,617,639,804,924,954,1010,965,916,981,1079,1300,1260,1202,1570,1824,1703,1583,1534,1699,1879,1884,1985,1811,1507,1238,1061,842,714,705,720,729,788,889,1067,1202,1195,1169,1202,1222,1149,1047,999,996,955,905,892,752,666,760,743,810,794,806,869,950,1014,1123,1151,1107,1189,1915,3858,4708,4366,3952,3150,2069,1273,976,815,913,1297,1666,1920,2389,3177,4521,5132,5073,4688,4839,4529,2697,1203,1007,799,1139,1971,1875,1173,990,1437,1258,1217,1077,870,763,690,663,637,607,591,581,550,527,500,497,496,475,440,411,374,342,327,319,320,323,321,312,304,296,294,295,300,314,321,332,338,352,376,398,424,443,460,451,435,410,379,351,348,349,349,362,374,372,372,365,361,354,349,339,328,321,312,300,292,294,292,289,299,292,335,335,294,282,292,301,314,316,302,297,310,328,335,334,342,348,348,344,337,347,351,372,410,496,554,534,583,540,489,465,441,425,436,414,374,433,527,631,667,686,678,653,614,569,508,474,505,511,473,468,509,475,446,437,433,425,403,376,348,336,344,345,355,357,363,365,359,349,363,378,389,409,412,399,390,391,397,403,413,418,415,418,421,400,377,397,435,478,499,537,610,547,522,531,543,496,473,603,687,580,550,628,625,605,559,506,507,480,451,428,397,427,414,394,399,390,370,357,357,365,372,377,377,380,389,390,374,355,352,362,366,365,367,373,367],[3858,3780,3753,3486,3337,3738,4024,3759,2929,2930,2576,2481,3007,2924,2853,2371,2176,2291,2540,2717,3194,3860,3761,3110,2740,2722,3109,3352,3389,3306,2980,2724,2480,2188,2798,3530,3522,2878,2315,2342,2592,2841,2864,2756,2996,3200,3068,3272,3444,3228,2880,3042,2454,2130,2288,2504,2063,2275,2360,2130,2151,2470,2776,2371,1730,2160,2588,2548,2670,2454,1939,1709,1613,1696,2138,2745,3334,3249,2608,2289,2105,1853,1786,2157,2198,2237,3049,2993,2010,1538,1820,1992,2370,2988,1932,1830,2192,2447,2580,2327,2274,2700,2875,2523,2302,2281,2284,2104,1788,2113,2167,1937,1713,2024,2813,3220,3406,3386,3064,2877,2722,2832,2713,2791,2599,1915,2416,2532,2364,2569,2354,2207,2771,2855,2242,2219,2576,2749,2486,2230,2700,2990,2465,2700,2874,3002,3409,3591,3350,2741,2443,2728,3322,3544,3526,3657,3678,3416,3539,3597,3310,3244,2875,3414,3624,3263,3504,3365,2880,2809,3134,2776,2525,2141,1671,1799,1950,2406,2642,2744,2917,3040,2668,2363,2265,2088,2496,3185,2820,2377,2464,2647,2828,2800,2754,2966,2786,2153,2553,3526,3737,3637,3570,3740,3854,3868,3706,3590,3663,3605,3498,2805,2144,2285,2465,2203,2158,2575,2689,2391,2377,2877,2792,2170,1935,1799,1647,1425,1544,1801,1663,1945,1750,1670,1861,1699,1641,1985,2358,2696,2785,2029,1556,1897,2604,2975,2570,2231,1827,2291,2534,2292,1954,1818,1696,1472,1814,2046,1648,1938,1859,1785,1526,1719,2039,2040,1936,1815,1734,1514,1489,1425,1632,1731,1848,1741,1922,1894,1760,1890,2602,2964,3432,3887,4180,4163,3956,4028,4164,3897,3559,2920,3638,3225,3304,3626,3374,3458,4078,4409,4276,4332,4030,3175,2592,2912,3485,3848,3651,3472,3494,3119,2434,2697,3838,4636,4695,4831,4802,3636,3110,2884,2913,2675,2614,2109,2178,2678,2785,3044,3173,3552,3543,3197,2723,2909,2523,2584,2442,2203,2720,2998,2552,1947,2079,1975,1673,1657,1764,1677,2091,2268,2046,2030,1848,1749,1920,1779,1804,2039,1732,1916,2308,2121,2003,2308,2238,2196,2104,1881,1786,1551,2105,2116,2139,2426,2699,3291,3203,2944,2414,1905,1622,1461,1622,1731,1705,1996,2451,2030,2619,2899,2742,2544,2419,2597,2656,2474,2215,2293,2457,3399,3340,2284,1910,2312,2416,1796,1693,1694,1636,2036,2472,2931,2468,2425,2499,3190,2913,2113,1986,2018,2235,2250,1706,1803,2708,2955,3044,3033,3086,3122,3099,2987,2401,1974,2284,3042,3397,3320,3156,3029,2942,2775,2735,1961,2087,1888,2079,2271,2728,2537,1694,2088,2321,1813,1721,1888,2076,1973,1808,1785,1915,1772,1606,1866,2133,2269,2342,2083,1958,2055,1911,1657,1759,2193,2092,1888,1838,1744,2106,2625,2954,2629,2374,2501,1614,1753,2498,2995,2459,2675,3723,3963,3820,3786,3212,2631,1776,1825,1919,2266,2213,1962,1876,1881,2374,2950,2842,2446,2366,2411,2730,3025,3000,1444,1416,2623,3451,3694,3555,3248,3036,2825,2806,2531,2064,2046,1717,1964,1935,2340,2294,2135,2426,2534,2308,1889,1831,1816,1592,1953,2272,1969,1839,1792,1844,2304,2731,2641,1810,1387,975,1393,1516,1726,1758,1930,2145,2225,2254,2438,2676,2476,1930,1865,1871,1732,1920,2320,1784,1780,2288,2307,1873,1806,2020,2079,1640,1551,1566,1625,1710,1743,1688,1515,1666,2282,2442,1955,2325,2634,2312,2766,2620,2598,2308,2196,2126,2088,2014,1596,1379,1580,1698,1592,1754,2203,2529,2874,2510,2004,1954,1970,1851,2566,2398,1992,1710,1398,1406,1786,2290,1652,1580,1742,1564,1318,1402,1617,1692,1564,1326,1303,1456,1770,1868,1533,1643,1517,1606,1693,1593,1563,1782,2312,2356,1777,1544,1643,1619,1713,2049,2197,2414,2504,2505,2288,2071,1641,1482,1614,1497,1473,1504,1737,1871,1799,1050,836,1068,1089,1136,1535,1599,1478,1692,1954,1836,2070,2752,2710,2514,2058,1847,1730,1519,1520,1490,1484,1648,1775,1506,1380,1393,1388,1371,1472,1504,1497,1404,1263,1354,1548,1734,1998,1656,1499,1628,1732,2286,2448,2063,1555,2034,2376,1988,2148,3116,3394,3305,2902,2184,1715,1740,1828,2031,1782,1678,1909,1841,1581,1898,2518,2290,2270,1778,1996,1965,1777,1660,1729,1937,2046,2128,2242,2185,2620,3673,3664,3540,3658,3024,2544,2520,2863,2585,2937,3830,4006,3757,3560,3151,2818,2957,2718,2701,3311,3497,3176,2415,2121,2536,2714,2747,3030,3275,2332,1866,2173,1746,1698,1487,2042,2501,1948,1355,1428,1867,2200,2054,1875,1830,1601,1688,1538,1530,1910,1855,1787,1990,1988,1984,1947,2208,2374,2226,1843,2039,2001,1469,1420,1998,2128,1704,1532,1621,1821,1970,1998,2152,1766,1627,1832,1564,1327,1430,1829,1692,1588,1908,1883,1868,1703,1854,1960,1566,1538,1668,1574,1491,1499,1534,1647,1723,1796,1733,1642,1709,1695,1526,1505,1729,1564,1534,1748,1660,1389,1541,1794,1621,1515,1392,1384,1585,1423,1382,1614,2176,2576,2633,2327,2015,1977,2428,2505,2318,2262,2432,2151,2103,3018,3318,2350,1716,1851,2297,2349,2360,2125,2275,2391,3388,9816,5005,1765,2004,1703,1368,1374,1584,1582,2303,2485,2114,1855,1439,1467,1716,1699,1513,1546,1573,1328,1452,1689,1560,1572,1739,1427,1482,1589,1450,1332,1342,1386,1810,1971,1584,1779,1908,1892,1898,1580,1693,1854,1734,1483,1510,1903,1995,1637,1595,1609,1691,1608,1566,1503,1808,1877,1637,1670,1610,1897,2206,1749,1709,1613,1671,1910,1662,1539,1595,1592,1504,1485,1761,2335,2382,2543,3019,2551,1896,1353,1306,1720,2097,2014,1836,1692,1807,1694,1726,1792,1581,1470,1372,1513,1477,1607,1490,1604,1681,1671,1742,1706,1761,1853,1813,1872,2258,2612,1577,1693,1666,1613,1861,1950,2035,2045,2100,2061,2028,1950,2221,2093,1851,1794,1849,1980,1961,1666,1531,1518,1694,1754,1695,1649,1569,1694,1716,1874,2226,2194,2099,2081,2077,1973,2048,2366,2405,2375,2522,2155,2239,2090,2468,2486,1832,1656,1897,2257,2056,1224,1474,2007,2248,2150,2066,1775,1572,1561,1527,1465,1642,1829,1640,1520,1706,1563,1738,2217,2101,1897,2072,2544,2240,1722,1554,1521,1693,2055,2113,1841,2190,2368,2589,2490,2153,2197,2186,1989,1808,1549,1647,1857,2114,2301,1794,1570,1613,1626,1641,1371,1521,2201,3320,3991,3264,1735,1758,1925,1582,1509,1738,1721,2061,2476,2230,1994,1892,1758,1814,1819,1780,1557,1807,1810,2137,2411,1740,1494,1462,1387,1692,1812,1586,1383,1310,1583,1576,1427,1578,1869,1641,1454,1760,1926,1654,1461,1821,1759,1376,1389,1821,1849,1765,1963,1889,1919,1775,1950,1986,1979,2501,2302,1831,2050,2722,2517,2719,2489,3062,3387,2774,2337,2501,2851,3322,3385,3761,4163,4152,3868,3369,3487,3218,3551,4164,3936,3388,2879,2391,2108,1959,1953,1774,1557,1354,1378,1478,1417,1390,1567,1749,1844,1644,1478,1750,1372,1300,1529,1399,1845,1946,2556,2842,1919,2072,3323,3188,2807,2676,2454,2024,1887,1965,1956,1966,2208,2352,2394,2523,2547,2568,2773,2842,2754,3197,3363,3151,3260,3376,3197,3089,3241,3487,3687,3897,4100,4027,4385,4309,4099,3983,3979,4102,4140,3868,3823,4080,4189,3849,3835,4156,4189,4038,3779,3854,3895,3886,3573,3854,4244,4100,4026,4376,4664,4930,5024,4672,4584,4496,4536,4584,4496,4416,4164,3580,3208,3278,3227,3510,2953,1418,710,589,536,514,523,519,503,515,521,532,541,550,568,612,645,701,780,793,765,709,647,626,597,569,548,545,561,529,553,571,689,750,852,1070,1272,1512,1848,1873,1540,1357,1350,1238,1097,1176,1390,1618,1810,1903,1845,1568,1398,1316,1038,1147,1287,1416,1690,1704,1509,1498,1692,1672,1692,1736,1558,1464,1344,1225,1209,1456,1238,1162,1830,2147,2074,2010,2060,2002,1672,1236,1366,2020,2268,1489,1603,1830,1948,1888,1874,2039,2248,2181,1787,1546,1456,1324,1107,1159,1078,1173,1334,1219,1229,1239,1086,984,1025,1114,979,980,1098,1296,1408,1318,1255,1195,1094,1063,1014,803,608,590,700,865,910,950,966,916,924,1029,1216,1289,1193,1388,1756,1666,1545,1404,1491,1759,1802,1896,1917,1603,1326,1212,995,756,736,711,726,865,913,943,1108,1157,1164,1212,1202,1100,1003,969,972,959,861,901,783,670,727,726,797,767,756,810,879,1004,1117,1184,1119,1172,1710,3327,4252,4276,3719,3344,2537,1490,1029,779,1098,1246,1486,1685,2395,3363,4784,5268,5124,4983,5443,5728,4212,1784,1209,938,963,1768,1850,1433,1035,1310,1270,1066,972,816,723,658,624,591,588,553,569,543,522,505,495,490,460,430,403,364,326,323,318,325,328,319,298,288,285,286,289,300,308,313,318,328,338,357,380,401,426,451,449,425,399,366,341,341,353,357,362,360,359,365,359,355,353,344,334,327,313,302,295,291,293,288,290,314,300,334,338,295,301,293,302,310,315,308,297,308,320,324,329,337,348,356,347,342,343,352,386,442,464,444,480,501,492,481,455,424,408,434,444,361,445,527,598,642,697,683,653,625,569,509,460,477,481,468,436,467,454,435,428,424,414,391,362,337,328,332,339,353,360,374,390,394,391,389,373,368,383,390,387,384,385,386,392,399,402,407,409,411,397,377,391,435,471,488,521,614,575,535,545,664,629,520,583,719,691,562,608,633,590,543,518,490,473,446,430,402,400,397,390,401,395,371,347,347,357,362,366,373,375,379,370,363,350,344,349,353,357,359,356,355],[3780,3733,3684,3448,3278,3396,3679,3775,3513,2839,2511,2306,3088,3549,3078,2208,2006,2512,2645,2801,3353,3021,3375,3172,2484,2330,2667,3154,3307,3089,2520,2176,2082,2028,2751,3342,3544,2934,2354,2196,2499,2413,2211,2389,2542,2472,2591,3181,3957,3676,2378,2528,2564,2193,2192,2308,2290,2330,2303,2203,2186,2321,2281,1984,1880,2182,2489,2135,2408,2396,1727,1573,1782,1996,2214,3020,3197,2249,1874,2020,2133,2280,2676,2844,2097,2126,3458,3356,2639,2122,2040,2061,2610,2808,1992,1676,1819,2146,2458,2385,2532,3370,3168,2517,2295,2710,3176,2555,2229,2357,1976,1626,1638,2425,3121,3046,3067,3128,3205,3074,2797,2907,3020,2822,2337,2593,2723,2321,2333,2563,2396,2411,2191,2030,2514,2763,2898,3282,3178,2612,2921,2865,2318,2739,2641,3068,3248,3293,3417,3400,2952,2685,3030,3511,3554,3604,3430,2862,2985,3082,2898,2842,2871,3493,3493,3366,3231,3126,3190,3252,3278,3188,2980,2301,2231,2116,1908,2077,2781,3050,2884,2690,2449,2317,2211,1884,2407,3289,2693,2081,2161,2185,2694,2808,2588,2439,2479,2728,3245,3839,3704,3594,3620,3742,3718,3704,3698,3664,3749,4013,3838,3025,2506,2236,2222,2437,2779,2842,2199,2278,2498,2751,2498,2069,2041,1939,1509,1042,1559,2216,2018,1911,1681,1804,1649,1410,1590,2096,2354,2438,2292,1748,1892,2427,2910,3481,3229,2521,2451,3096,3461,3174,2644,2113,1615,1462,1565,1471,1405,1617,1512,1846,1847,1941,1957,1968,1611,1452,1659,1587,1622,1575,2231,2377,2195,1952,2061,1888,1966,1894,2490,3460,3729,3892,3989,2993,3068,3779,3913,3441,2630,2312,2824,2619,2630,3200,3038,2629,3394,4562,4551,4294,3475,3228,3144,3089,3642,3703,3462,3500,3447,2939,2655,3869,4739,4985,5008,5006,4128,3334,3310,3116,2899,2876,2311,2078,2697,2952,3183,3298,3281,3184,3062,2722,2542,2851,2732,2615,2393,2297,2851,2944,2501,1850,1765,1758,1995,2165,2346,2398,2771,2955,2523,1935,1970,1967,1784,1591,2065,2343,2080,2258,2185,1864,1852,2204,2155,1882,1929,1861,1988,2195,2393,2406,2262,2351,2515,2853,2987,2810,2256,1640,1727,1808,1777,1722,1628,1767,1932,1874,2615,2558,2360,2630,2710,2525,2241,2200,2154,2273,1853,2387,2831,2189,2333,2921,2891,2526,2362,2404,2100,2119,1885,1902,2045,2274,2177,2384,2640,2512,2452,2636,3007,3107,2397,2169,2662,2931,3139,3155,3139,3123,3238,3046,2452,1857,2106,2980,3498,3059,3088,3089,3056,2855,2429,1958,1944,1908,2271,2512,2787,2631,1896,2054,2208,1748,1565,1807,1880,1584,1419,1528,1518,1648,2067,2131,2239,2222,2350,1884,1771,1860,1981,1790,1864,2283,2104,1842,1716,1784,2313,2623,2888,2435,2502,2224,1738,2048,2442,2510,2221,2535,3457,4034,4140,4048,3682,3245,2204,1765,1781,1984,2313,2173,1890,1999,2239,2657,2600,2319,2493,2426,2542,2869,2348,1284,1778,3049,3535,3620,3644,3280,2954,2679,2710,2320,2220,2692,2386,2024,1949,2078,1969,2206,2615,2234,2112,2118,1846,1815,1670,1829,1911,1845,2414,2238,1976,2454,2458,2354,1830,1434,1116,1372,1586,1969,2039,1948,2072,2183,2126,2071,2138,2216,1950,1907,1774,1482,1497,2433,2452,2092,2119,1965,2042,2064,1875,2146,1613,1621,1903,2483,2845,2439,1928,2076,2128,2402,2468,2026,2489,2928,2705,2497,2188,1847,2111,2223,2264,2022,1653,1490,1552,1639,1628,1804,1899,1765,1780,1935,1841,1904,2120,2161,1983,1699,1857,2038,1606,1552,1539,1931,2218,1885,1732,1609,1415,1375,1425,1454,1494,1494,1411,1497,1604,1919,1887,1788,1764,1477,1532,1623,1592,1461,1660,2611,2909,1970,1468,1440,1510,1547,1964,2257,2652,2719,2209,2013,1802,1556,1781,1734,1390,1506,1536,1820,1762,1805,1372,1083,1136,1102,1157,1373,1451,1532,1748,1882,1695,2002,2192,2353,2862,2552,2237,1782,1556,1550,1404,1480,1584,1748,1440,1448,1566,1434,1388,1461,1489,1520,1388,1341,1577,1571,1797,2192,1786,1550,1825,1836,2203,2503,2113,1669,1733,1743,1710,2084,2532,2088,2664,2227,1926,1724,1728,2248,2122,1474,1624,1661,1698,1669,1971,2911,2998,2479,1777,1947,2087,2080,1968,1920,1980,2001,2231,2385,2338,2602,3397,2852,2056,2800,2690,2145,2249,2607,2884,2833,3053,3061,3054,3496,2921,2722,2500,2341,2753,3089,3422,3651,3118,2660,2467,2221,2353,2837,2940,2370,1846,1787,1943,2105,2147,2460,2854,3008,2235,1730,1940,2125,2464,2237,1733,1668,1721,1509,1646,1956,1825,1685,1867,2327,2339,1873,1765,2289,3000,2414,2176,2110,1795,1873,1948,1769,1927,1657,1530,1882,1768,1515,1786,1698,1577,1532,1539,1417,1347,1621,1653,1616,1594,1517,1835,1579,1739,1698,1569,1605,1590,1488,1500,1425,1567,1877,1859,1723,1560,1716,1815,1648,1565,1730,1628,1433,1731,2169,1929,1427,1416,1624,1753,1543,1409,1670,1661,1458,1543,1850,2214,2435,2458,2511,2336,2382,2536,2515,2401,2754,2548,2018,2328,3173,3284,2035,1662,1960,2510,2164,2353,2153,1843,1920,1862,1535,1793,3196,3042,2068,1812,1775,1927,1679,1874,1888,1616,1454,1391,1565,1621,1970,2340,1919,1582,1395,1389,1573,1893,1753,1660,1572,1562,1532,1401,1377,1437,1669,2265,2011,1677,1721,1941,1823,1759,1665,1614,1604,1278,1068,1692,2092,1969,2238,1912,1822,1754,1329,1327,1507,1764,1792,1711,1690,1815,1621,1748,1535,1587,1592,1681,1993,1780,1529,1419,1391,1316,1233,1591,2103,2268,2699,2657,2320,2272,1796,1588,1592,1616,1806,1749,1579,1719,1662,1703,1935,1584,1281,1248,1544,1664,1998,2042,1726,1744,1877,1830,1759,1704,1862,1866,1914,2412,1965,1649,1710,1410,1728,2080,2420,2702,2345,2479,2073,1676,2026,1790,1707,1937,1764,1525,1673,1730,1743,1698,1583,1471,1771,1760,1876,1758,2151,2210,2417,2354,2234,2345,2435,2909,2664,2077,1993,1867,2010,2295,2201,2500,2734,2768,2689,2354,1956,2036,2431,2416,1984,2419,2549,2464,2205,2188,2135,1930,1997,2093,1977,1977,1951,1854,1809,1671,2147,2865,2954,2801,2208,1885,2385,2266,1722,1666,1492,1638,1929,1676,1749,1883,2072,2100,2208,2160,2469,2246,1935,2067,1669,1582,1864,2200,2144,1798,1834,1771,1503,1411,1328,1143,1654,2608,2772,2641,2066,1943,1781,1542,1432,1604,2153,2575,2357,2086,1998,1836,1567,1477,1592,2025,1635,1880,1874,1858,1692,1644,1568,1344,1515,1721,1845,1632,1320,1318,1476,1590,1595,1674,1772,1470,1389,1870,1862,1443,1469,1678,1796,1426,1332,1849,1905,1855,1686,1659,2264,2140,1864,2028,2203,2468,2048,1847,1813,2332,2304,2116,1146,1339,2437,2554,2108,2007,2776,3084,2213,3001,3911,3673,2984,2632,2554,2401,3171,4237,3958,3618,3334,2754,2077,2052,2154,1969,2083,2041,1895,1959,2186,2607,2910,2890,2779,2224,1597,1639,1398,1390,1337,1490,1921,1769,2028,2443,2351,2855,3928,2898,2010,1941,2440,2060,2136,2288,2109,2066,1965,1875,1921,1968,2288,2899,2663,2833,2741,3038,3305,3503,3496,3437,3296,3120,3129,3366,3649,4168,4417,4292,4360,4188,4203,4125,4156,4201,4002,3852,3770,3780,4034,3762,3726,3917,3972,3986,4075,4228,4284,4208,3814,3796,4224,3984,3705,4036,4620,5005,4909,4444,4351,4192,4251,4275,4290,4660,4673,4006,3531,3261,3097,3328,2062,890,623,545,529,507,524,534,504,523,533,554,532,541,552,575,621,658,770,828,764,717,670,642,585,538,522,515,539,537,546,535,633,702,730,947,1216,1350,1651,1852,1625,1339,1295,1233,1058,1058,1221,1434,1594,1680,1772,1644,1400,1339,1041,1058,1203,1320,1536,1653,1582,1502,1640,1707,1646,1739,1641,1481,1368,1229,1189,1452,1390,1110,1588,2206,2105,1921,2083,1970,1993,1352,1314,1776,2632,1850,1492,1730,2038,1976,1800,2021,2258,2228,1887,1533,1399,1353,1138,1116,1084,1106,1276,1192,1153,1229,1083,901,871,1020,968,970,1127,1338,1378,1318,1251,1193,1099,1056,1096,907,671,609,632,802,875,904,929,907,891,983,1190,1329,1290,1194,1568,1583,1482,1360,1383,1677,1770,1734,1793,1650,1399,1354,1334,857,769,706,687,816,883,934,1097,1158,1158,1175,1180,1076,972,926,932,962,826,886,814,691,703,712,730,731,728,742,819,1013,1190,1309,1218,1180,1427,2558,3624,3887,3385,3066,2597,1661,1088,808,1152,1216,1376,1604,2102,3198,4420,4813,4636,4796,5552,5844,5065,2700,1610,1270,1000,1361,1644,1646,1267,1168,1242,1019,908,817,736,662,615,559,571,522,542,540,515,503,501,506,447,422,389,357,331,324,326,328,325,309,289,280,292,316,308,318,309,302,307,318,329,344,361,381,402,424,434,413,390,357,328,324,338,339,342,341,346,350,348,343,336,335,324,318,315,307,309,307,299,290,291,300,309,338,336,287,304,296,303,309,308,304,296,301,308,313,317,330,347,355,359,356,351,356,398,450,431,413,433,462,467,465,465,436,408,440,479,392,465,525,562,614,691,679,628,611,593,538,462,456,447,461,430,446,457,438,432,421,407,383,356,343,335,341,360,357,351,372,403,412,409,392,358,349,373,382,383,379,379,375,384,387,391,400,402,392,385,382,391,430,466,482,536,582,591,577,560,718,746,565,595,772,846,607,582,624,578,529,507,492,462,441,422,402,386,385,385,385,381,355,342,338,350,357,359,363,372,371,363,352,345,344,343,346,346,348,349,350],[3776,3710,3673,3475,3085,3188,3628,3957,3635,3164,3113,2786,3119,3409,2674,1905,1732,2494,2632,3320,3598,3220,3449,2730,2340,2747,2836,2486,2588,2928,2378,2176,2026,1930,2215,2569,2966,2743,2499,2703,2824,2652,2684,2751,2678,2448,2373,3215,4071,3908,3054,3049,2667,2325,2790,2815,2419,2083,2135,1731,1798,2098,2254,2194,1998,2064,2168,2004,1788,1682,1636,1900,2014,2073,2411,3470,3626,2642,2161,1979,2048,2590,3064,3123,2884,2970,3627,3206,2861,2337,1948,2234,2758,2373,2103,2303,2478,2714,2852,2774,2965,3128,2778,2475,2301,2862,3104,2215,1974,2156,1608,1230,1487,2602,3538,3641,3139,3007,3411,3093,2653,2863,3264,3181,3364,3544,2988,2275,2005,1708,1942,2443,2308,2293,2653,2611,2876,3255,3123,3060,3206,2859,2314,2302,2620,3002,3132,3185,3350,3386,3156,2972,3052,3133,3044,3310,3051,2570,2399,2548,2666,2430,3132,3540,3100,3294,3312,3207,3571,3392,2997,3000,2808,2423,2263,2352,2331,2292,2721,3123,2819,2165,2259,2164,1797,1734,1952,2889,2878,2513,2141,1995,2280,2580,2475,2445,3019,3239,3030,3424,3653,3658,3561,3569,3666,3614,3549,3682,3691,3539,3417,3200,2432,2065,2369,2481,3266,2688,1918,2003,2312,2368,2114,1732,1750,1408,1094,1527,2382,2329,2435,1958,1660,1566,1424,1541,1698,2148,2358,1935,1577,1441,1674,2277,2423,3207,3108,2755,3189,3495,3570,3754,3725,2630,1885,1768,1887,1551,1290,1158,1392,1804,1932,2076,2072,1986,1836,1418,1442,1510,1621,1646,2077,2236,1953,2075,2300,2274,2222,2384,3197,4195,4252,4035,3696,2529,3186,4229,3916,3388,3187,2689,2231,2093,2477,3114,2709,2197,2463,3702,4284,3993,3198,3495,3132,3019,3636,3637,3504,3658,3564,2877,3531,4740,4984,4932,4940,4664,3707,3931,3864,2853,2876,3247,2589,2550,3536,3963,3894,3560,3660,3496,3516,3453,3141,2840,2552,2145,2424,2829,3000,2920,2754,2171,2038,2239,2430,2791,3008,3181,3483,3577,3309,2723,2370,1781,1384,1677,1848,2035,2249,2373,2337,2137,2172,2311,2060,1683,1859,1802,2092,2486,2496,2197,2074,2181,2091,2050,1953,2006,2063,1696,1844,1842,1684,1700,1810,2124,2136,1879,1828,1711,1969,2577,2648,3009,2972,2519,2102,2216,1888,2469,2890,2158,2353,3309,3244,2880,2778,2813,2170,1889,1869,1923,1708,1481,1283,1577,2409,2822,2698,3160,3284,3292,3338,3310,3326,3180,3177,3342,3143,2819,2868,3138,2232,1556,1804,2570,3006,2810,2899,3068,3174,3064,2267,1752,1700,2087,2821,3068,3396,2940,1956,1587,2062,1666,1587,1926,1982,1730,1493,1679,1598,1708,2084,2121,2221,2213,2264,2239,2085,1926,1996,2004,2162,2039,1781,1835,1954,2037,2418,2365,2191,2059,2086,1882,1880,1815,1957,2071,1866,2004,2755,3326,3507,3781,3505,3187,2556,1922,1763,1775,1980,2223,2203,2100,2195,2720,2476,2268,2544,2497,2366,2630,2379,1809,2272,3274,3296,3134,3162,2878,2924,2911,2472,2076,2033,2809,3031,2346,1898,1769,1586,1927,2774,1982,1661,1797,1886,1729,1798,2076,1844,2048,2942,2510,1779,1864,1909,1884,1924,1451,1415,1528,1751,1762,1901,1997,1954,1890,1658,1705,2003,2025,2188,2410,2000,1684,1594,1762,1731,1771,1777,1806,1929,2506,2229,2248,1912,1696,2040,2690,2744,2169,2001,2820,3064,2791,2330,2366,2252,2317,2382,1922,1901,1741,2187,2222,2188,1919,1729,1958,2320,1881,1773,1816,2032,1926,2037,1612,1338,1604,1787,1878,1958,1767,2076,1887,1582,1616,1559,1767,1882,2161,1836,1461,1748,1953,1595,1617,1603,1460,1495,1632,1534,1521,1672,1628,1508,1389,1334,1379,1542,1454,1652,2498,2676,1621,1367,1414,1896,1917,1997,2143,2334,2404,2282,1903,1569,1440,1439,1371,1376,1577,1636,1961,1722,1700,1561,1468,1529,1425,1355,1325,1216,1454,1589,1333,903,1406,1868,2091,2407,2697,2263,1613,1734,2028,1660,1405,1575,1650,1499,1445,1654,1685,1593,1604,1501,1469,1550,1815,2254,1927,1901,1896,1857,2274,2884,2585,2321,2667,2425,1788,1721,1745,1670,1826,2605,2245,2114,2025,2336,2440,2352,2510,2082,1559,1658,1559,1589,1782,2126,2891,2944,2581,2143,2074,2182,2019,1937,1786,1948,1998,2169,1887,2186,2669,3356,2946,2424,2675,2446,2413,2544,2443,2717,2259,2315,2746,3064,2854,2216,1983,1970,2413,2963,3278,3670,3318,3062,2867,2392,2097,1973,2354,2542,2357,2207,2074,2026,2235,2395,2335,2773,3354,2836,2406,2368,2119,2292,2032,1685,1886,1722,1458,1953,2213,1886,1766,1654,1842,2243,1808,1699,2654,3282,2670,1930,1615,2074,2220,1681,1477,1462,1497,1713,2013,1972,1749,1589,1503,1498,1488,1507,1412,1366,1562,1655,1510,1366,1572,1718,1624,1521,1680,1981,1796,1545,1448,1373,1339,1538,1870,1914,1658,1212,1278,1587,1761,1776,1588,1537,1403,1748,1746,1468,1359,1531,1884,1842,1605,1549,1680,1569,1416,1636,2082,2311,2589,2593,2618,2324,2430,2498,2432,2502,3123,2850,2286,2332,2731,2410,1660,1820,2023,1920,1796,1960,1881,1699,1855,2224,2454,2438,2953,3405,3038,2792,2375,1887,1513,1376,1477,1573,1505,1650,1887,1577,1739,1932,1717,1559,1383,1626,1844,1871,1618,1401,1451,1520,1499,1482,1416,1528,1654,1717,1798,1949,1975,2045,1709,1597,1614,1434,1479,1417,1449,1492,1629,1638,2036,1715,1855,1727,1239,1320,1695,1682,1656,1700,1766,2205,1921,1844,1580,1673,1642,1606,1718,1686,1583,1473,1487,1536,1324,1598,2247,2581,2913,2642,2135,2354,2868,2392,1678,1654,1962,2027,1520,1530,1719,1813,2259,1692,1577,1691,1720,1530,1964,2124,1656,1674,1710,1524,1628,1510,1512,1703,1880,1900,1679,1871,1705,1659,2145,1915,2140,2144,2462,2966,2444,1984,2166,1728,1637,1758,1776,1826,1793,1593,1519,1525,1542,1449,1834,2048,1802,1623,1898,2499,2907,2369,2071,2165,2336,3111,2679,1654,1564,1538,1505,1664,1728,1803,1880,1929,2218,2336,1959,1860,2095,2157,2119,2309,2153,1980,2037,2350,2371,2194,2092,1987,1886,2125,2051,1773,1653,1716,2361,2974,2707,2210,1869,1855,2030,2008,1747,1588,1716,1970,1891,1854,1864,1763,1716,1497,1364,1698,2185,1828,1609,1709,1535,1477,1609,1736,1749,1648,1744,1817,1693,1676,1958,1578,1424,1960,1818,1869,2104,2110,1925,1936,1818,1668,1878,1950,1905,2144,1836,1739,1516,1422,1694,1600,1353,1410,1536,1579,1533,1712,1741,2009,2470,2133,1879,1697,1439,1412,1456,1462,1469,1688,1848,1514,1449,1722,1739,1637,1402,1398,1848,1689,1664,1772,1828,1829,1546,2072,2600,1909,1588,1787,2055,1851,1627,1884,1804,1756,2090,2310,1825,1569,2078,1852,1844,2527,3129,2427,2103,2522,3897,4016,2626,2072,2472,2536,2596,3331,3442,3183,2833,2353,1980,2020,1621,1255,1349,1351,1455,1745,1567,1876,2365,2596,2524,1718,1489,1563,1245,1610,1664,1494,1877,1810,1635,2221,3072,3362,3250,2318,1790,1538,1700,1617,1613,1885,2209,2246,2156,1834,1809,1958,2181,2849,2867,2868,2909,2790,3131,3928,3945,3631,3397,3426,3474,3465,3426,3772,4147,4255,4388,4359,4166,4006,3990,3702,3443,3386,3521,3447,3739,3882,3892,3952,3925,4120,3899,3506,3803,4176,4296,4313,4302,4035,3572,3652,4264,4860,4820,4307,4235,4249,4187,4232,4379,4589,4252,3635,3314,3098,3388,3094,1503,730,586,524,519,509,529,533,518,535,540,574,537,530,544,569,612,631,712,820,733,693,671,644,596,555,530,501,499,520,532,520,573,674,693,806,1141,1234,1440,1736,1728,1396,1278,1230,1055,1008,1096,1257,1434,1454,1607,1624,1370,1323,1100,1025,1108,1232,1387,1501,1582,1560,1595,1639,1627,1720,1754,1463,1394,1261,1104,1334,1534,1296,1275,1899,2172,2128,2406,2115,2285,1662,1330,1461,2509,2240,1565,1813,2025,2032,1790,1972,2160,2204,1980,1549,1371,1360,1210,1124,1075,1179,1354,1198,1132,1193,1058,900,856,955,879,930,1161,1312,1312,1268,1212,1180,1121,1040,1127,1000,750,636,625,766,840,869,897,893,875,934,1096,1256,1433,1126,1339,1535,1469,1368,1308,1469,1674,1701,1730,1701,1614,1654,1707,1078,786,702,641,731,811,904,1044,1130,1181,1188,1137,1058,958,898,904,960,836,824,794,691,682,703,672,687,712,748,813,994,1334,1430,1325,1193,1260,2068,2932,3052,2843,2653,2123,1749,1224,758,769,1109,1262,1262,1562,2786,4033,4176,3848,4176,5303,5539,5200,4062,2620,1760,1158,1294,1615,1588,1350,1116,1150,1029,901,840,750,664,605,539,528,509,524,536,508,501,496,499,448,421,395,361,335,329,332,334,323,309,300,302,310,373,333,334,316,305,308,320,322,334,349,370,392,413,419,402,377,351,323,319,319,320,322,325,329,335,340,335,331,326,322,310,311,308,309,312,307,295,287,292,305,331,332,296,291,290,299,304,296,291,292,294,297,303,313,323,341,361,368,375,381,397,420,404,379,395,419,438,463,484,468,474,433,440,479,429,456,499,519,576,639,628,603,576,611,561,478,448,436,466,449,440,455,445,427,415,398,376,364,356,351,362,373,376,382,399,405,398,387,369,346,333,354,388,390,379,380,372,367,371,376,388,395,379,373,380,399,421,460,467,536,567,573,592,571,689,818,622,710,924,974,692,633,602,542,515,497,482,462,441,414,415,410,400,383,368,354,341,332,335,342,342,346,350,356,358,357,346,339,338,336,331,339,339,340,339],[3868,3956,3739,3130,3053,3428,3515,3783,3636,3440,3557,3701,3530,2885,2232,1813,1809,2619,3118,3495,3564,3287,2676,2398,2562,2821,2518,1916,2083,2875,2916,2287,2061,2272,2663,3132,3516,3343,3142,3475,3526,3153,3047,2985,2924,2547,1824,1923,2465,2792,2788,2680,2392,2490,2867,2644,2401,2040,2220,1518,1629,2122,2191,1849,1798,2105,2236,2558,2034,1970,1930,1953,1973,2114,2800,3440,3590,3117,2519,1964,2319,2929,3370,4005,3660,2920,2686,2651,2489,2181,2109,2655,2714,2033,1920,2490,2640,2770,2780,2799,3462,3677,3075,2498,2428,2846,2863,1796,1303,1635,1715,1368,1408,2476,3538,3754,3479,3294,3401,3083,2632,3067,3351,2921,3376,3498,3843,3830,3360,2273,2196,2634,2841,2942,2791,2806,3009,3282,3553,3731,3414,3097,2700,2291,2791,3011,3130,3200,3226,3210,3115,3178,3297,3160,2945,3337,3086,2601,2477,2566,2438,2385,3178,3219,2811,3106,3409,3593,3718,3238,2483,2763,2943,2482,1949,2057,2242,2431,2875,3348,2875,2075,1979,2071,1743,1958,1865,2206,2698,2519,1996,2077,2285,2431,2241,2547,2854,2918,2924,3062,3238,3408,3486,3496,3602,3623,3471,3476,3231,2440,2786,3195,2144,2109,2435,2220,2810,2964,2530,2475,2681,2874,2814,1988,1713,1394,1798,2417,2588,2566,2955,2296,1608,1523,1610,1708,1844,1771,1458,1535,1715,1465,1442,1692,1719,2541,2898,2999,3306,3317,3344,3564,3334,2135,1838,2071,2106,1633,1340,1532,1890,1932,1896,1820,1726,1873,2292,2053,1674,1750,1652,1692,1816,1952,1891,1997,2383,2323,2271,2824,3521,4467,4501,4077,3707,3552,4028,4227,3809,3530,3332,2749,2007,1995,2601,2775,2735,2604,2049,2647,3637,3577,2622,2854,3431,3581,3694,3784,3559,3595,2921,2202,3405,4584,4827,4951,5034,3993,3487,4695,3973,2839,3373,3619,3441,3156,3859,3805,3516,3307,3421,3425,3252,3142,2875,2620,2339,1645,2534,2865,2846,2699,2525,2694,2965,2532,2334,2849,3405,3238,3305,3547,3190,2216,1772,1440,1727,2295,2338,2551,2585,2141,1947,2022,2098,1858,2037,2187,2179,1875,1851,1892,2079,2398,2724,2620,1819,1461,1486,1513,1951,1932,2033,2124,2126,2243,2197,2317,2367,2253,1763,1749,1904,2260,2342,2382,2210,2068,1812,2159,2535,2932,2583,1966,2379,2599,2705,2524,2150,1833,1842,2032,2014,1882,1752,1569,1468,1945,2523,2341,2149,2907,3212,3094,3482,3684,3649,3349,3278,3318,3231,2762,2485,3273,2132,1828,1904,2304,2268,2483,2814,2754,2659,2369,1934,1700,1592,1851,2831,3340,3409,2829,2060,1882,2282,2388,2427,2360,2139,1966,1721,1734,1719,1968,2194,2167,2123,2063,1914,2057,2008,1814,1866,1539,1340,1636,1853,2258,2432,2271,2306,2634,2872,2444,1837,1642,1517,1773,2164,2016,1780,2091,2690,2321,2702,3400,3317,3229,3133,2695,2117,1714,1814,2077,2554,2471,2424,2741,2601,2459,2589,2535,2457,2679,2728,2435,2592,3273,2968,2853,2348,2107,2419,2762,2310,2083,1870,1941,2254,2200,2031,1824,1728,2018,2374,1907,1671,1744,1908,1772,1938,2415,1959,2070,2499,2152,2066,1807,1571,1654,1801,1714,1801,1924,1776,1550,1617,1625,1939,1939,1611,1757,1817,1869,2090,2181,2042,2004,2105,2070,2053,2025,2185,1506,1221,1966,2295,2211,2194,1914,1905,1852,1823,1648,1737,2571,2651,2209,2344,2132,1893,1809,1624,1731,1811,1888,1991,2187,2275,1908,2220,2706,2898,1969,1807,1996,2385,2205,1953,1655,1311,1399,1772,1709,2381,2255,2033,1683,1550,1424,1519,1764,1874,1746,1661,1809,2265,1939,1528,1688,1629,1560,1647,1743,1437,1611,1950,1719,1449,1392,1390,1579,1504,1325,1904,2170,1982,1582,1342,1439,1708,1647,1771,2143,2242,2137,1945,1797,2092,1759,1498,1621,1670,1622,1761,1819,1664,1734,1700,1463,1541,1618,1647,1354,1130,1672,1737,1186,1051,1704,2142,2220,2344,2445,1909,2129,2082,1880,1714,1385,1523,1669,1562,1372,1709,1976,1909,2039,1610,1758,1563,1896,2177,2051,2221,2237,2763,3107,2589,2301,2109,2216,2234,1849,1810,1851,1992,1891,1979,1785,1887,2217,2399,2521,2479,2442,2015,2070,1560,1531,1574,2179,2207,2409,2282,2031,1867,1879,1643,1758,1631,1484,1480,1798,2196,2430,3038,3067,3000,2675,2446,2669,2485,2095,2141,2182,2127,2193,2473,2450,2316,2061,2525,2807,2651,2920,2939,2974,2972,2466,2541,2526,2358,2362,2281,2474,2424,2182,2234,2156,2074,2322,2333,1667,1981,2586,2115,2420,2091,1809,1939,1643,1849,2070,1819,1964,2592,2270,1926,1745,1685,1928,2149,1661,2081,3066,2828,2396,2066,1926,1992,1603,1556,1546,1520,1593,1795,1876,1957,1918,1645,1553,1607,1665,1467,1417,1454,1465,1624,1445,1347,1527,1657,1845,1760,2001,2127,1726,1383,1459,1359,1400,1383,1490,1604,1378,1154,1222,1375,1481,1519,1682,1716,1525,1576,1588,1472,1694,1749,1622,1620,1570,1539,1570,1492,1453,1895,2130,2261,2171,2247,2233,2200,2447,2575,2337,2541,3023,3560,2846,2227,2873,2793,2357,2249,1962,1852,1680,1623,1859,1831,1808,2082,2700,2310,2248,2600,2852,2852,2332,1788,1734,1636,1454,1487,1591,1594,1920,1710,1569,1457,1352,1281,1280,1744,1818,1512,1677,1664,1430,1393,1588,1548,1500,1598,1613,1649,1849,1717,1459,1438,1487,1560,1619,1676,1837,2526,1957,1550,1545,1637,1694,1814,1910,1691,1538,1598,1953,2096,1809,1516,1805,2121,2358,2006,1598,1644,2092,2423,1968,1976,2183,1622,1708,1922,1460,1627,2306,2463,2690,2424,1594,2247,3155,2659,2001,1704,1900,2085,1757,1776,2037,1924,1925,1617,1614,1912,1898,1591,1462,1332,1513,1591,1714,1683,1593,1571,1367,1573,1754,1733,1797,1917,2060,2224,2153,1661,1780,1582,1787,2650,2381,2109,2037,1802,1735,1898,2115,2047,1734,1863,1683,1421,1415,1743,1901,1830,1566,1439,1504,1968,2306,2131,1854,1694,1806,1902,1696,1422,1423,1513,1536,1536,1618,1602,1656,1709,1788,1799,1604,1613,1692,1921,1808,1759,1871,1877,2085,2112,1847,1717,1688,1695,2043,3247,3079,1788,1448,1698,1761,1801,1691,1581,1885,2126,2039,1811,1675,1801,2106,1883,1619,1698,1770,1691,1800,2393,2358,1843,2014,1868,1592,1497,1473,1463,1343,1606,1677,1567,1683,1641,1684,2087,2382,2390,2049,1885,1793,1903,2086,2001,1837,1881,1796,1555,1646,1953,1998,2431,1920,1655,1512,1410,1549,1498,1353,1249,1294,1346,1473,1954,1765,2045,2719,2709,1983,1715,1539,1331,1326,1366,1317,1431,1723,1729,1625,1634,1838,2015,1678,1798,1838,1644,1561,1410,1382,1459,1857,2676,2375,1739,1914,1956,1795,1656,2142,2348,1875,1755,2100,2532,2230,2518,2799,1898,2339,2752,2999,2182,2284,2613,3727,4049,2381,2016,2407,2707,2498,2924,3042,3190,2586,2237,2196,1617,1095,1706,2416,2571,2109,2255,1954,2503,2683,2443,1972,1550,1532,1476,1380,1548,1555,1791,2042,1828,1637,2343,2303,2413,2729,2344,1743,1699,1761,1411,1629,2230,2210,2285,1826,1447,1625,2331,2442,2323,2491,2430,2431,2379,2709,3550,3919,3794,3522,3051,3330,3463,3291,3407,3657,3847,4107,4284,4123,4016,3708,3326,3249,3188,3176,3017,3219,3683,3892,4052,4212,4132,3400,2806,3019,3518,3790,4078,4241,4265,3803,3641,3936,4560,4865,4630,4475,4232,4050,4156,4452,4432,3973,3329,2985,3056,3699,2899,1176,633,530,500,503,510,541,531,528,539,545,556,529,518,530,550,593,610,665,814,751,686,648,622,593,570,547,501,476,490,509,529,535,627,688,698,1024,1168,1294,1575,1735,1577,1466,1369,1110,960,1024,1136,1337,1323,1443,1526,1340,1260,1140,1025,1024,1115,1289,1394,1460,1538,1624,1615,1609,1661,1808,1549,1397,1338,1153,1237,1477,1473,1240,1670,2107,2224,2559,2232,2216,1988,1493,1385,2301,2642,1917,2113,2152,2054,1813,1958,2123,2208,2095,1694,1449,1386,1253,1143,1084,1145,1319,1215,1122,1161,1087,971,888,984,1005,962,1078,1217,1285,1235,1192,1158,1157,1073,1135,1010,805,674,624,725,832,836,857,879,868,903,1039,1202,1412,1191,1163,1398,1495,1445,1342,1321,1617,1737,1743,1733,1847,2046,1850,1230,833,730,684,694,821,932,1006,1067,1173,1229,1121,1048,969,895,891,956,877,775,749,686,667,691,669,708,703,802,941,1125,1475,1921,1893,1372,1349,1818,2277,2446,2329,2249,1777,1742,1388,893,773,1012,1177,1063,1255,2369,3338,3276,2822,3562,4500,4700,4548,4633,4308,2786,1288,1362,1488,1334,1266,1088,1041,1049,933,803,706,647,590,533,505,487,499,529,500,501,482,474,448,422,398,373,342,328,335,336,319,304,308,324,316,348,388,335,301,307,318,327,324,331,342,356,373,424,404,392,372,341,316,302,300,307,312,321,331,339,340,327,325,323,315,305,303,304,309,312,315,295,290,297,303,313,313,300,281,282,300,304,292,276,280,285,289,289,308,324,348,370,384,387,402,433,436,382,372,413,455,451,480,523,475,485,453,443,491,472,426,441,479,534,603,576,579,560,572,551,500,445,430,464,458,430,457,430,417,404,388,373,365,360,365,373,384,398,394,384,387,390,382,361,350,354,345,391,408,383,375,367,363,361,365,379,386,368,357,372,395,429,466,461,505,549,543,573,596,643,824,689,720,980,981,763,719,622,523,526,498,462,457,455,409,418,419,399,378,367,361,352,344,342,335,333,338,344,351,357,352,342,338,339,327,320,320,327,327,331],[3730,3669,3341,2961,3351,3602,3256,3453,3696,3281,3515,3882,3561,2809,2143,1991,2251,2898,3332,3408,3435,2764,2127,2466,2566,2588,3008,3100,2664,2722,3201,3039,2856,3237,3818,4040,3797,3341,3078,3406,3656,3457,3068,2490,2505,2717,2278,2163,2755,2680,2013,1943,1918,2126,2144,2756,2354,2050,2336,1982,2314,2486,2150,1890,1860,2004,2304,2522,2062,1740,2194,2402,2338,3139,3547,3426,3311,3004,3194,2618,2510,3008,3406,4086,3724,2463,1560,2162,2835,2429,2182,2424,2862,2568,2349,2597,2954,3095,2856,2657,2888,3007,2513,2187,2515,2976,2853,1901,1571,1504,1697,1282,1210,2254,3308,3479,3428,3350,3154,2801,2632,2973,2543,2631,3009,3316,3638,3817,3465,2586,2442,2611,2634,3065,3238,3194,2912,3030,3418,3504,3402,3271,2526,2690,3312,3330,3238,3249,3095,3234,3361,3398,3341,3381,3160,3384,3160,2710,2520,2496,2366,2598,3204,2775,2976,3706,3463,3010,3308,3270,2779,2555,2442,2215,2032,2052,2258,2373,2813,3366,3193,2690,2004,1807,2030,1972,1902,1892,2156,2430,2325,2382,2474,2281,2337,2639,2580,2812,3064,3228,3125,2916,2997,3238,3594,3673,3452,3285,2579,2009,2555,2618,2300,2504,2562,2672,2875,2437,2100,1983,2004,2027,2273,1904,1943,2520,2614,2246,2370,3186,3061,2067,2037,2068,1792,1865,1914,1536,1419,1406,1531,1667,1796,1426,1718,2702,2963,2846,2998,3328,2998,3117,3393,2201,1516,2002,1996,1643,1577,1776,1853,1768,1724,1740,1845,1951,2498,2284,1948,1953,1961,2208,2274,2275,2058,2109,1969,2235,2631,2872,3237,4143,4272,3614,2633,2751,3816,4163,3853,3309,3006,2664,2211,1907,1926,2491,2767,2568,2128,1752,2570,2950,2435,2822,2916,2794,2962,3374,3535,3333,2382,2651,3895,4584,4856,5068,5065,4427,4156,4547,3601,3188,3196,3299,2966,2822,3526,3307,2912,3100,3122,2745,2667,2753,2862,2735,2647,2358,2956,2495,2217,2292,2067,2491,2966,2561,2403,2658,3543,3293,3599,3758,2864,1754,1606,1722,2010,2459,3011,3443,3016,2238,1807,1803,2132,2105,2110,2020,1854,1848,2126,2183,2125,2659,2766,2209,1742,2184,2575,2143,2072,2146,2128,2089,2099,2065,2145,2303,2011,2629,2156,2085,2170,1997,2024,1969,1970,1615,1774,2986,3740,3484,2242,2438,3084,2955,3184,2858,1759,1393,1720,1814,1779,1724,1529,1414,1702,2510,2385,1790,2062,2384,2269,2414,2906,3272,3618,3328,3139,3027,3241,2863,2622,2722,2181,2017,2204,2170,1798,2018,2132,1813,1810,1655,1594,1679,1933,1709,2062,2293,2040,1979,2029,2035,2254,2355,2417,2467,2336,2066,1810,2109,2342,2476,2396,2346,2114,1979,2243,2261,1917,1741,1751,1671,2067,2280,1991,2538,2648,2341,2156,2621,2736,2097,1905,1917,1653,2216,2644,2656,2272,2081,2976,3076,3156,3519,3505,3560,3894,3500,2828,1971,1794,1782,2194,2476,2652,2746,2712,2534,2434,2497,2597,2558,2508,2299,2491,2946,2909,2953,2414,1641,1964,2344,2339,2264,1756,1821,2097,2039,2364,2208,2065,2063,2187,2059,1883,1957,2101,1887,2149,2780,2186,2285,2030,1655,1847,1949,1842,1750,1756,1780,1918,1964,1896,1625,1493,1622,2049,1969,1654,1937,2018,2344,2423,2249,2188,2053,2061,2168,2370,2285,2415,1448,1444,1960,2005,1807,1643,1670,1535,1428,1786,1779,1480,1627,2005,1665,2388,2304,2103,1730,1396,1457,1589,1841,2141,2231,2467,2232,2167,2028,2100,1904,1891,2432,2933,2512,2040,1608,1497,1763,2277,1825,2282,1747,1676,1802,1695,1807,1870,1922,1896,1793,1732,1970,2398,1997,2120,1864,1568,1546,2118,2032,1454,1869,2330,1921,1622,1592,1448,1452,1387,1533,1847,1762,1610,1509,1396,1648,1879,1542,1711,2116,2187,2062,1700,1700,2320,1819,1281,1518,1636,1599,1767,1688,1676,1858,1951,1749,1816,1697,1627,1405,1482,1893,1913,1258,1166,1948,2048,2079,2074,2291,2207,2666,2103,1878,1712,1401,1425,1683,1879,1801,1846,2042,1824,2088,1662,1721,1601,1946,1880,1655,2189,2743,3228,2956,1636,1792,2069,1903,1693,1563,2029,2247,2487,2615,2548,2458,2294,2148,1989,2578,2451,2792,2014,1897,1655,1505,1550,2056,2301,2186,1959,1815,1892,2020,1630,1730,1588,1515,1667,1823,1814,2464,3182,2752,2523,3017,3521,2995,2282,2128,1957,2221,2292,2713,2650,2300,1996,2089,2954,3064,2825,2787,2722,2406,2486,2398,2464,2342,2276,2242,2438,2482,2044,1931,1823,1720,2130,1981,1914,1612,1726,2114,1934,1957,1837,1863,1664,1430,1946,2330,2410,2711,2878,1989,1702,1785,1743,1959,2002,1521,1598,1938,1851,1841,1624,1487,1585,1541,1949,2073,1964,1764,1586,1555,1804,1802,1651,1995,2387,1980,1651,1537,1752,1824,1794,1457,1156,1370,1555,1644,1640,1931,1995,1781,1583,1374,1433,1640,1709,1741,1596,1392,1322,1425,1355,1330,1374,1694,1836,1954,1808,1565,1466,1712,1634,1534,1632,1670,1535,1432,1601,1616,1992,1814,2026,2304,2536,2647,2187,1908,2120,2686,2964,2380,3042,2578,2232,2720,3190,3110,2348,2126,2549,2215,1919,1913,1887,2169,2092,2543,2386,2222,2418,2251,2407,2360,1996,2062,1991,1557,1313,1449,1420,1646,1639,1648,1597,1443,1560,1520,1682,1808,1720,2010,1625,1405,1418,1602,1488,1620,1719,1725,2286,2627,1900,1555,1472,1549,1700,1839,1951,1890,2277,1832,1607,1447,1481,1521,1786,1916,1519,1566,1519,1765,1748,1875,1644,2536,2552,1979,1766,2124,2286,2679,3279,2888,2105,1892,1428,1600,2014,1590,1556,2120,2312,2394,2215,1935,2321,2543,2479,2439,1751,1628,1714,1775,1935,1703,1488,1505,1559,1784,2122,2014,1756,1548,1479,1471,1716,1828,1720,1692,1673,1597,1700,1844,1890,1667,1747,1908,2071,1907,1729,1305,1525,1787,2230,2291,2135,2322,1979,1676,2034,2093,2055,1643,1877,1624,1450,1522,1838,2226,1658,1078,1732,1762,1808,1803,1632,1566,1584,1529,1666,1500,1356,1593,1794,1667,1480,1728,1582,1604,1748,1655,1563,1481,1494,1454,1578,1795,1930,1648,1561,1760,1792,1651,1746,1782,1736,2324,3503,3146,1900,1488,1583,1603,1538,1474,1427,1596,1946,2301,2045,1920,2486,2306,1979,2010,1912,1884,1771,1908,2133,1906,2080,2280,1898,1581,1495,1660,1965,1857,1713,1922,1747,1693,1589,1670,2159,2370,2478,2023,1912,1902,1924,2190,2235,1698,1841,1868,1441,1421,1622,1754,1926,1596,1496,1488,1508,1540,1387,1430,1398,1521,1368,1411,1908,1928,2121,2539,2798,2153,1610,1530,1408,1413,1506,1525,1907,1669,1621,1422,1560,1915,1818,1823,1920,1671,1454,1434,1509,1581,1888,1863,2338,2113,1992,2174,2148,1900,2202,2730,2397,2210,2243,2298,2283,1919,2341,2544,2316,2331,2085,2175,2188,2496,2468,3198,3427,1767,1464,2056,2418,2074,2208,2876,2938,2495,2463,2121,1375,1641,2950,2873,2828,2855,2874,2616,2929,2979,2684,2094,1792,1939,1983,1874,1688,1946,2198,2162,1686,1735,2061,1592,2022,2731,2819,2248,1774,1932,2026,2157,2796,2647,2720,1964,2027,2313,3020,2856,2168,2259,2200,2135,2156,2464,3130,3355,3351,3504,3231,3300,3394,3348,3233,3414,3876,4080,4195,4296,4075,3573,3095,3002,2965,2612,2002,2244,3117,3799,3949,4200,4000,3320,3067,3242,3285,3331,3684,3936,3945,3603,3505,3847,4441,4893,4759,4343,4083,4008,4023,4143,4228,4103,3409,2995,3076,3326,2420,888,605,540,494,497,512,526,525,520,531,543,535,513,511,513,534,593,586,641,791,773,677,633,620,596,589,565,517,484,475,474,532,531,576,651,653,883,1106,1208,1388,1602,1626,1610,1484,1173,931,966,1046,1283,1290,1287,1363,1298,1212,1146,1047,1006,1007,1186,1334,1417,1542,1609,1647,1641,1610,1781,1701,1448,1406,1260,1309,1515,1553,1368,1666,1929,2002,2309,2329,2466,2408,1830,1468,1887,2597,2562,2831,2866,2274,1875,1866,2018,2270,2200,1804,1498,1378,1250,1163,1089,1058,1208,1187,1073,1156,1172,1066,940,1000,1123,1060,1062,1112,1194,1230,1226,1144,1185,1130,1143,1060,846,697,618,660,816,830,827,874,875,911,1039,1176,1340,1273,1079,1208,1488,1470,1460,1294,1484,1647,1701,1673,1674,1864,1821,1422,1003,814,787,766,977,907,985,1043,1118,1219,1158,1070,996,910,886,928,886,745,732,681,658,667,658,768,819,982,1122,1014,1197,1932,2611,2196,1471,1624,1861,2024,2054,2198,1802,1693,1556,1064,859,975,1136,1159,1425,2703,2919,2465,2366,2962,2962,2909,3010,3642,4767,4133,1883,1226,1224,1150,1190,1088,1009,999,890,753,668,618,569,526,495,480,471,515,490,485,475,455,437,416,391,369,343,328,334,340,325,316,318,333,332,321,344,334,321,322,319,317,332,335,349,361,361,409,394,375,356,333,316,307,303,296,303,317,328,332,334,319,315,311,303,299,295,299,303,301,304,296,289,295,300,299,297,294,280,280,296,298,287,276,276,277,281,288,308,330,358,379,392,401,418,427,417,373,392,425,471,467,522,555,481,448,439,436,441,428,413,411,457,497,568,548,547,555,545,534,504,449,413,444,459,420,449,423,400,389,375,366,365,365,370,382,404,408,382,371,385,391,379,373,364,374,354,378,402,382,367,363,362,358,357,370,376,367,366,359,372,437,479,469,479,531,557,590,624,634,783,822,747,925,955,760,697,662,570,556,526,448,441,452,411,405,400,385,375,369,361,355,347,340,333,323,330,337,344,352,347,340,338,336,328,310,301,311,322,321],[3277,2973,3050,3230,3184,2918,2683,3295,3576,3008,3009,3470,3443,2939,2310,2390,2468,2689,3109,3238,2899,2524,2623,2344,2554,2718,2945,2995,2492,2199,2532,2407,2122,2901,3990,4131,3759,3305,3142,3342,3519,3491,3372,2397,1994,2396,2304,2678,3349,3090,2362,2310,2222,2071,2143,2890,2329,2230,2984,3357,3002,2406,2437,2413,2427,2197,2593,2366,1979,1884,2469,3123,3636,4060,3631,3542,3445,3251,3064,2635,2361,3310,3646,3853,3241,2198,1828,2439,2271,2107,2189,2283,2359,2152,2411,2671,2370,2602,2916,2675,2336,2222,2132,2343,2894,2912,2808,2712,2664,2608,2040,1452,1532,2324,3242,3472,3470,3786,3282,2910,2690,2889,2243,2629,2738,3030,3178,3018,2949,2828,2650,2445,2375,2974,3385,3172,2821,2919,3264,3282,3383,3492,3298,3208,3111,2728,3168,3519,3335,3233,3475,3682,3604,3643,3410,3255,3104,2957,2624,2390,2372,3095,3742,3220,3493,3710,2876,2248,2751,2899,2909,2456,2109,2343,2100,1989,2588,2774,2809,2553,2568,2709,2255,1565,1511,1821,2198,2334,2522,2531,2668,2742,2623,2422,2853,2825,2565,2662,2705,3123,3703,3666,3256,3077,3254,3485,3293,2931,2386,2393,2282,2380,2680,2946,3091,2884,2562,2020,1806,1745,1847,1963,1876,1758,2154,2286,1899,1587,1744,2414,2788,2850,2751,2521,2280,1808,1865,2192,2086,1733,1713,2083,2042,1671,1804,1842,2184,2249,2469,3276,3247,3501,2841,1613,1656,2293,2418,1829,1796,1933,1876,2252,1699,2168,1974,1889,1945,1695,1886,2113,2251,2208,2332,2347,1940,2046,1952,2770,3357,2828,2977,3530,3518,3238,2867,3203,3907,4031,3230,1928,2119,2114,1910,1883,2097,2514,2285,2086,1893,1957,2330,2234,1915,1995,2133,2242,2595,2928,2967,2868,2857,3174,3939,4395,4456,4850,4721,3761,4332,4361,3497,3061,2567,2517,2340,2851,3516,3100,2945,2944,2787,3171,3196,3348,3414,3164,2687,2490,2884,2982,2766,2448,2155,2177,2894,2803,2615,2934,3509,3352,3471,3794,3030,2262,2554,2481,2088,2135,2946,3632,2951,2649,2217,2038,2723,2799,2390,2085,1960,2221,2339,2165,1888,1853,1589,1711,2042,2655,2900,2208,1887,1949,1768,1816,2393,2535,2132,1747,1965,2549,2445,2358,2271,2185,2139,1691,1582,1621,1921,3018,3326,3489,2829,3465,3573,3222,3024,2565,1535,1037,1303,1618,1984,1874,1815,1797,1941,2604,2468,1699,2142,2215,1869,2256,2558,2813,3564,3374,3243,2784,2823,2764,3088,2864,2297,1803,1903,2145,1972,2102,2075,1925,2002,2091,1877,1947,2085,1835,1946,1752,1809,2244,2116,2113,2414,2310,2478,2580,2888,2408,1926,2498,2679,2245,1874,2009,2077,2005,2176,1912,2038,1807,1749,1989,2385,2648,2744,2714,2416,2169,2072,2319,2125,1989,2002,2714,2808,2818,2811,2872,2586,2435,2749,2777,2876,3389,3536,2677,3144,3293,3306,2534,1825,1697,1859,2110,2297,2468,2404,2111,2263,2390,2508,2602,2461,2451,2836,2887,2839,3025,2939,2625,2492,2487,2967,2495,2150,2191,2142,2282,2351,2225,2063,1942,1987,2001,1899,1888,1976,1653,1844,2023,1830,2217,1915,1754,1881,2044,2063,1891,1918,2221,2269,1858,2005,1812,1870,1845,2072,1907,1709,1915,2260,2308,2573,3118,2625,2105,1983,2016,2122,2271,2266,2045,2188,2139,1874,1650,1440,1636,1538,1540,1808,2156,1735,1388,1690,1714,2034,2088,1838,1607,1444,1481,1620,2145,2489,2545,2458,2032,1602,1746,2005,1986,1688,1985,2467,2150,1919,1991,2098,2168,2524,2048,2010,1588,1801,2247,2150,1942,1854,1711,1572,1779,1796,1649,1824,1773,1887,1693,1560,1463,1628,1572,1406,1584,1774,1515,1484,1572,1477,1627,1551,1465,1772,1813,1373,1400,1553,1560,1654,1559,1764,2088,2017,1614,1173,1390,1720,1404,1060,1136,1238,1475,1693,1750,1831,1943,1968,1839,1770,1719,1730,1801,1932,1954,1829,1673,1481,1860,1903,2041,2059,2213,2603,2472,1859,1768,1522,1250,1395,1842,2238,2049,1642,1720,1855,1931,1778,1752,1903,2104,1829,1509,1716,1900,2407,2829,2148,1976,1996,1933,1867,1938,2013,2257,2487,2541,3188,3197,2586,2417,2107,2634,2702,2807,2182,1876,1883,1873,1791,1871,2327,2508,2115,1861,1802,1840,1874,1781,2091,2108,2402,2503,1944,2579,2970,2402,2854,3365,3331,2952,2215,2553,2980,3021,2724,2662,2460,2785,2453,2434,2791,2985,2954,2901,3025,2968,2736,2645,2327,2004,1955,1880,1969,1972,2058,1981,1975,1886,2099,1996,1909,1953,2335,2395,1766,1801,2030,1973,1844,1835,1682,1934,2636,3192,2402,1784,1643,1817,2093,2124,1842,1535,1500,1725,1675,1581,1663,1623,1457,1846,2388,2520,2302,1736,1555,1728,2283,2257,1792,1919,2171,1717,1475,1517,1632,1509,1710,1910,1541,1548,1681,1795,1857,1803,1791,1693,1717,1638,1694,1878,2021,1843,1760,1456,1414,1835,1950,1625,1423,1367,1831,2303,2129,1823,1769,1694,1487,1505,1469,1672,1539,1490,1756,1596,1570,1761,2087,2154,2604,2866,2427,2250,2354,3057,2908,2046,2474,2257,2052,2445,2865,2773,2098,2013,2497,2490,2587,2482,1937,2366,2456,2322,2142,2083,2032,2005,2449,2891,2833,2248,1593,1386,1526,1658,1735,1736,1585,1792,1812,1565,1666,1790,2009,2080,1910,1747,1401,1361,1509,1565,1510,1553,1522,1572,2144,2468,1927,1664,1640,1645,1736,1728,1823,1754,1676,2076,1905,1497,1513,1438,1484,1609,1559,1588,1493,2013,1996,2072,1683,1870,2156,1982,1857,2137,2449,2846,2678,2640,1907,2038,1803,1596,1844,1674,1483,1750,2089,2015,1795,1778,1870,2136,1967,1992,1672,1463,1401,1864,2193,1805,1621,1630,1613,1984,2159,2034,1771,1836,1721,1546,1769,1815,1614,1583,1701,1670,1761,2118,1898,1472,1569,1598,1666,1757,1871,1782,1910,1898,2153,2685,2260,2511,2222,1810,1861,1958,1993,1613,1660,1507,1412,1648,1937,2050,1438,1324,2260,1831,1718,1893,1686,1475,1525,1491,1537,1503,1601,1855,1680,1857,1719,1832,1698,1636,1815,1790,1556,1454,1476,1496,1643,1829,1650,1421,1486,1738,1700,1481,1462,1584,1730,2735,3797,3298,2119,1502,1649,1771,1498,1516,1528,1381,1968,2509,2141,2202,2494,2094,2270,2807,2775,2263,2096,1836,1842,2207,2623,2193,1604,1555,1634,1827,2374,2682,1976,2149,1785,1569,1565,2073,2210,2396,2279,1949,2022,2309,2515,2711,2155,1697,2335,2098,1798,1587,1330,1794,2180,1976,1808,1674,1539,1383,1494,1580,1350,1232,1250,1304,1510,2025,2243,2013,1942,1753,1460,1439,1452,1474,1482,1488,1943,1802,1651,1776,1872,1901,1857,1627,1537,1436,1334,1542,1960,1880,2057,2208,2298,1995,1687,2013,2389,2298,2317,2396,1857,2177,2481,2593,2055,2123,2519,2121,1943,2008,2111,2379,3101,3375,2455,2355,2624,2025,1721,2371,1909,1289,1371,1865,2290,2637,2620,1852,1005,2185,4129,4282,3573,2931,2733,2841,3087,3032,2708,2477,2269,2152,2177,2504,2421,2707,2452,1909,1894,2286,2041,1543,1835,2344,2287,2252,2079,1831,2325,2665,2545,2719,2552,1889,2098,2680,3218,2859,2198,2629,2508,2248,2142,2049,2179,2398,2735,3129,3168,3073,3288,3680,3473,3355,3691,3871,4104,4196,3651,3275,2996,2745,1962,1084,982,1267,1969,3517,3893,3969,3964,3731,3783,3680,3300,3183,3187,3233,3332,3278,3400,3837,4555,4898,4784,4315,3957,3866,3980,4064,4058,3789,3354,3286,3386,2935,1506,657,516,510,495,493,503,502,508,515,525,541,539,513,499,500,502,575,570,603,767,794,689,640,625,614,603,587,533,484,464,453,520,530,535,593,630,769,1042,1175,1214,1466,1555,1509,1441,1173,918,906,1011,1219,1258,1171,1187,1217,1166,1100,1059,1015,997,1107,1241,1308,1468,1628,1684,1609,1522,1674,1786,1495,1368,1387,1464,1717,1696,1395,1605,1867,1899,2215,2547,2659,2609,2238,1844,1997,2263,2602,2801,3216,2689,1968,1918,2138,2225,2110,1825,1531,1374,1236,1160,1134,1038,1138,1179,1100,1116,1173,1109,962,949,1154,1105,1054,1045,1169,1256,1265,1185,1172,1145,1170,1148,902,716,635,607,760,831,842,881,907,942,1071,1234,1326,1303,1159,1185,1423,1445,1520,1350,1395,1550,1650,1668,1609,1688,1751,1513,1226,882,778,789,1052,899,976,1064,1092,1194,1193,1098,995,914,861,879,869,715,709,673,652,652,652,817,966,1048,1022,947,887,887,1725,2190,1541,1474,1693,1807,1847,2145,1975,1682,1677,1202,923,952,1094,1197,1506,2917,2839,2196,1877,1986,1888,1920,2280,2553,3525,4405,2919,1522,1158,1057,1051,1038,955,871,811,723,647,595,551,515,492,479,456,491,488,474,465,443,425,411,391,368,350,339,340,346,337,326,329,339,348,334,326,339,331,331,320,374,315,324,337,340,351,378,381,373,359,336,320,313,298,290,295,306,315,329,330,315,309,309,307,298,293,296,296,294,293,292,294,295,296,293,289,283,275,281,288,298,288,288,284,278,276,284,309,340,358,373,381,389,401,414,437,449,438,483,589,592,593,582,480,430,421,432,419,414,412,410,449,468,524,525,514,544,543,526,498,443,404,428,454,429,443,425,396,375,363,365,365,368,374,375,386,390,378,364,369,383,380,377,368,366,358,367,377,367,364,355,356,356,370,378,372,364,375,365,355,417,473,459,452,507,550,535,567,625,723,807,804,882,931,817,767,714,604,557,528,459,434,432,410,392,378,375,370,366,356,351,340,336,326,325,332,339,343,346,343,342,335,334,330,308,295,301,312,315],[3241,3317,3351,3082,2995,2731,2744,3376,3636,3261,2946,3145,3452,3259,2780,2620,2734,2680,2391,3052,2949,2485,2618,2382,2470,2808,2658,2458,2216,2013,1964,1792,1799,2722,3475,3783,3419,3107,3163,3159,3284,3385,3422,2809,2215,2411,2346,2479,2309,2304,1951,2155,3255,3017,2519,2712,2916,2873,3181,3586,2468,2065,2251,2597,2856,2466,2695,2698,2376,2091,2474,3429,3841,3261,2627,3032,2522,2221,2655,2397,2414,3186,3379,2757,2070,1896,1798,1792,1728,2204,2107,2104,2417,2373,2503,2844,2733,2810,3009,2994,2614,2294,2286,2540,2561,2105,2391,3062,3145,2995,2181,1899,2749,3535,4264,4128,3586,3825,3112,2396,2658,2979,2865,3016,2885,2757,2884,2785,2802,2495,3110,2546,2361,2932,3083,2886,2768,2800,2928,3038,3241,3440,3177,2975,3191,2931,3492,3596,3421,3137,3363,3160,3114,3168,2990,3175,3541,3474,2683,2376,2489,3454,3695,3635,3746,3620,2590,2287,2209,1952,2267,2230,2201,1954,1709,1793,2100,2675,2800,2377,2279,2336,2180,1808,1498,1515,1920,2209,2908,3019,2648,2714,2408,2546,3064,2478,2083,2446,2627,2729,2786,2909,3087,3205,2973,3064,2876,2469,2404,2161,2314,2967,3025,2849,2897,2481,2497,2285,2168,2369,2622,2618,2002,1814,2202,2075,2285,1982,1503,1747,2559,3240,2782,2321,2116,2218,2603,2999,2829,2331,2227,2237,1923,1766,2325,1948,1708,1884,2208,2498,3028,2835,1750,1601,2059,2634,2871,2191,1990,1964,1823,1850,1809,1909,1722,1703,1644,1775,1765,1905,2079,2139,1794,1992,1860,1757,1852,2519,3144,2961,3155,3388,3100,2888,2934,3772,3848,3757,2896,1964,1782,1974,1679,1548,1936,2144,2188,2032,1675,1685,1780,1951,1875,1685,1784,1975,2004,2162,2711,3400,3792,3573,3619,3457,3648,4058,3946,3728,4229,3654,3117,2730,2231,2171,2603,3582,3598,3210,3383,3500,3304,3486,3443,3586,3480,3121,2740,2469,2740,2885,2723,2404,2490,2335,3253,3124,2850,3207,3421,3330,3161,3186,2592,2122,2448,2316,2355,2264,2855,3250,2799,2836,2292,1797,2210,2546,2446,2149,1766,1781,1744,1545,1518,1451,1792,2207,2139,1773,1226,1226,1694,2019,2483,3111,3475,3306,2546,1698,1955,2228,2331,2877,2853,2289,2042,1931,2109,1922,1920,2556,2962,3188,3011,3338,3410,3251,3088,2655,1774,1475,2055,2204,2347,2165,2099,2025,2526,2790,2176,1748,1859,1859,2083,2419,2889,3100,3543,3448,3054,2569,2397,2872,3481,3143,2497,1936,1696,1854,1944,2105,2077,2285,2447,2307,1987,1867,1829,2156,2421,2010,1930,2176,2395,2840,2900,2586,2714,2667,3146,2713,1931,1975,2079,1838,1802,1964,1959,2176,2420,2250,2755,2237,2009,2006,2340,3307,3538,2911,2692,2193,2059,2786,2980,2509,2420,3174,3356,3095,2818,2521,2439,2696,2888,2459,2515,3082,3491,2533,2175,2646,3256,2770,2004,1823,1722,1849,2054,2456,2447,2300,2398,2313,2321,2924,2718,2676,3232,3207,3084,3113,2906,2647,2678,2442,3068,2933,2814,2768,2134,1714,1837,1735,1690,1965,2130,2000,1738,1532,1854,1792,1941,1763,1958,2078,1847,1726,1698,1909,2004,1954,2166,2251,2010,1855,1775,1974,2266,2382,2442,1957,1620,1956,2453,2369,2394,2303,1821,1691,1833,1882,2089,2040,2050,1982,2077,2182,2004,1907,1904,1768,1560,2042,2204,2434,1898,1467,1642,1857,1975,1837,1670,1858,1443,1745,1863,1970,2285,2589,2232,1742,1471,1926,2398,2364,2182,2106,1954,1818,1614,1688,1664,1788,2489,2640,2154,1844,2092,2216,2328,1983,1636,1446,1392,1594,1858,1678,1619,1541,1591,1714,1736,1613,1817,1693,1484,1359,1382,1459,1311,1418,1482,1641,1483,1284,1593,1618,1286,1453,1561,1307,1467,1739,2069,2172,1869,1286,1236,1534,1544,1316,1057,1117,1298,1604,1695,1739,1738,2193,2244,1913,1876,1827,1808,1755,1825,1932,1970,2194,1811,1713,1781,2094,2061,2267,2761,2393,1638,1582,1568,1509,1665,1802,1707,1541,1454,1511,1675,1747,1532,1747,2234,2093,1614,1874,2302,2036,2166,2494,2272,1902,1553,1586,2115,1810,1121,1747,2365,2211,3072,2844,2620,2046,1606,1642,1997,2196,2225,2462,2613,2646,2631,2606,3032,3069,2920,2629,2287,1936,2194,2161,1944,2145,2375,2253,1819,2502,2223,2534,3487,3505,2554,2132,2418,3165,3606,2994,2574,2920,2784,3043,2710,2592,2825,2894,2775,2754,2956,2895,2608,2445,2099,2135,2203,2083,1938,1542,2012,2226,2397,2348,2211,2144,2026,2017,2742,2700,1656,1703,2028,1961,2413,1877,1660,2029,2756,2590,1999,1808,1705,1991,2475,2116,1730,1920,2066,1600,1788,1970,1882,1708,1660,2138,2654,2532,2274,2093,1935,1996,2288,2277,1954,1736,1697,1622,1583,1680,1620,1612,1829,2398,2194,1900,1908,2144,2055,2004,1907,1765,1776,1785,1804,2269,2352,1898,1860,1551,1394,1650,2038,1694,1489,1368,1691,1977,1736,1635,1776,2009,1834,1685,1611,1723,1547,1496,1758,1863,1641,1819,2415,2259,2020,2410,2546,2315,2382,2688,2501,2056,2085,2188,2648,3131,2865,2275,1786,2002,2865,2699,2850,2840,2414,2499,2626,2493,1944,1741,1764,1688,1985,2886,2262,1694,1384,1671,2566,2238,1766,1709,1536,1600,1737,1431,1316,1532,1625,1631,1554,1380,1326,1439,1812,1721,1653,1802,1663,1586,1730,1649,1659,1625,1738,1626,1672,1765,1685,1563,1952,2123,1862,1439,1730,1908,1649,1537,1516,1665,1702,1714,1732,1837,1514,1571,1705,1671,1720,1742,2179,2491,2237,1905,1658,2303,2361,2096,2221,2110,1936,1550,1491,1693,2085,2384,2493,2338,1984,1794,1901,1749,1606,2004,2071,1502,1537,1513,1550,1779,1931,2154,1830,1562,1561,1686,1870,1814,1630,1687,1788,1747,1649,1637,1532,1860,1910,1659,1453,1529,1641,1851,2078,1974,2222,2447,1987,2188,2332,1905,1761,1771,1631,1504,1562,1402,1403,1742,1874,1796,1650,2383,2635,2131,1869,2018,1972,1903,1850,1572,1664,1640,1677,1734,1795,2407,1963,1820,1658,1567,1765,1729,1604,1601,1396,1395,1638,1656,1507,1337,1452,1896,1773,1664,1642,1532,1738,2806,3982,3758,2389,1685,1621,1974,1586,1609,1792,1579,1705,2054,2118,2546,2797,2070,1869,2415,2489,2235,2264,1926,2044,2195,1952,1636,1634,1881,1956,2087,2062,2432,1886,2021,1930,1653,2116,2665,2602,2701,2435,2076,2270,2427,2361,2413,1643,1764,2090,1786,1500,1596,1999,2437,2659,2436,1972,1576,1463,1377,1598,1494,1332,1260,1421,1415,1632,2071,1928,1512,1454,1601,1537,1482,1538,1456,1366,1408,1626,1656,1742,1863,1760,1801,1839,1515,1461,1349,1349,1771,2050,2106,1882,1746,1940,1855,1753,1841,1792,2105,2010,2064,1786,1850,2090,2413,1924,2076,2575,1899,1708,2263,2096,2051,2812,3208,2499,1767,1893,2243,2189,2333,1919,1328,1459,1846,2319,2877,2358,1269,1277,3122,4296,3902,3082,2850,2997,2958,3101,3250,2834,2642,2570,2386,2874,3130,2718,2724,3198,2774,2400,2664,2211,1775,2626,2974,2144,1953,1859,1579,1994,2504,2189,2109,1880,1540,1986,2795,3211,2787,2592,3384,3152,2724,2186,1988,1888,1875,2253,2699,2936,2790,2933,3016,2988,3452,3532,3543,3759,3709,3347,3072,2658,1776,864,933,1065,1244,1214,2653,3763,3980,4090,4164,4070,3651,3346,3306,3244,3307,3593,3555,3773,4096,4481,4495,4447,4252,4037,3948,4100,4208,3935,3559,3226,3445,3477,2291,868,561,506,492,483,484,484,482,495,519,529,536,537,518,489,499,502,552,572,580,716,805,707,647,624,608,603,603,551,484,460,451,494,518,521,570,613,693,949,1173,1110,1339,1488,1349,1367,1189,908,845,971,1181,1238,1092,1052,1113,1123,1012,1036,1019,1010,1064,1178,1246,1372,1640,1773,1635,1528,1519,1683,1599,1316,1328,1433,1627,1693,1521,1628,1990,2004,2013,2393,2652,2561,2657,2339,2214,2115,2408,2522,2831,2799,2101,1957,2251,2204,2001,1836,1530,1386,1246,1171,1253,1197,1098,1111,1107,1140,1187,1043,880,827,1034,1044,982,1039,1182,1233,1250,1264,1254,1210,1190,1204,981,778,662,597,676,800,866,886,921,972,1064,1172,1278,1282,1189,1114,1395,1416,1551,1553,1418,1456,1597,1602,1540,1592,1733,1599,1437,1035,845,834,959,890,946,1069,1098,1134,1230,1137,997,911,846,836,839,729,688,659,633,641,666,791,930,945,854,826,869,693,728,882,1018,1338,1648,1761,1791,2282,2388,1813,1796,1318,1001,961,1125,1176,1173,2118,2685,2306,1764,1554,1553,1615,1895,2176,2951,3928,4157,3060,1697,998,949,900,871,852,749,684,621,572,533,505,488,473,453,459,471,468,452,438,419,400,380,362,350,339,344,345,347,339,341,361,374,349,319,325,329,321,309,324,314,321,320,329,357,369,369,359,341,326,316,312,296,285,289,300,314,323,324,312,304,307,296,293,297,290,287,287,287,286,293,295,294,292,291,276,279,274,280,284,288,291,281,266,272,294,320,356,379,382,389,418,429,485,606,566,540,648,777,766,619,547,452,420,419,430,411,399,412,426,452,472,499,493,491,526,540,523,493,453,427,437,454,447,440,413,389,368,364,373,372,374,367,361,363,366,359,354,349,367,389,376,373,364,356,364,366,360,350,347,341,356,381,379,365,361,371,378,372,397,458,451,445,486,556,546,542,593,663,747,795,801,905,918,941,708,631,563,511,471,437,410,390,381,378,376,369,359,346,339,328,327,326,323,328,333,338,337,340,335,326,327,326,310,296,301,309,311],[2973,2888,2867,2668,3175,3176,3133,3410,3579,3430,3317,3340,3555,3815,3465,2878,3234,3021,2073,2687,2888,2758,2679,2554,2482,2575,2421,2023,1903,2061,2186,1797,1875,2046,2158,2872,3287,3452,3197,3060,3297,3046,2749,2744,2566,2501,3088,3428,2488,2371,1961,2289,3318,3105,2555,3329,3752,3133,2808,2772,2075,2025,1954,2093,2357,2561,2677,2578,2430,2279,2810,3431,3559,2574,2130,2831,2703,2817,3074,2601,2580,2812,2846,2294,1698,1799,1711,1822,2348,2675,2366,2375,2738,2615,2777,2930,2713,2506,2800,2784,2563,2475,2297,2448,2085,1801,2445,3139,2918,2491,2200,2442,3887,4441,4541,4161,2979,2652,2339,1864,1948,2325,2864,2888,2661,2459,2610,2634,3133,3170,3279,2753,2938,3008,2877,2811,2761,2800,2847,2988,2922,3084,2996,3186,3183,3301,3345,2565,2173,2579,3149,3264,2977,3161,3505,3562,3747,3428,2613,2418,2855,3617,3630,3517,3666,3510,2728,2209,1864,2028,2438,2337,2374,2603,2730,2285,2072,2505,2458,2357,2315,1887,1991,2110,1917,1909,1597,2045,2825,2599,2235,2321,2300,2561,2399,1922,2016,2530,2866,2714,2310,2348,2148,2308,2413,2434,2683,2677,2393,2513,2788,2536,2589,2818,2915,2402,2254,2564,2159,1855,2075,2101,1728,1708,2147,2064,2492,2111,2031,1780,1952,2431,2341,2266,2437,2397,2515,3033,2912,2426,2057,1823,1798,2072,2491,2271,1724,1694,1920,2159,2423,2343,1975,2025,2326,2498,2540,2234,2043,1915,2107,2150,1986,2031,2190,2051,1881,2156,1706,1918,2029,1748,1810,2037,1801,1828,1977,2252,2789,3340,3616,3671,3375,2984,2618,3233,3784,3625,3209,2433,1953,2085,1641,1220,1641,1809,2033,1913,1840,1829,1785,2286,2062,1753,1995,2027,1745,2389,2927,3667,3915,3892,3876,3749,3551,3603,3675,3957,3953,3272,2750,2377,2164,2230,3193,3529,3326,3815,3934,3740,3529,3405,3482,3723,3405,2884,2690,2429,2646,2609,2357,2454,2568,2377,3305,3487,3216,2922,2782,3085,2937,2590,2306,2023,2001,1713,2501,2495,2875,3370,3156,2668,2143,2077,2390,2543,2236,2114,1983,1873,1642,1616,1708,1578,2121,2051,1866,2332,1931,1722,1933,1782,2464,3593,3640,3596,2902,1782,1653,1793,2010,2814,2864,1964,1813,2080,2395,1857,1736,2032,2567,2884,2705,2689,3043,3341,3330,3223,2381,1992,1975,2037,2087,2409,2161,2076,2837,2738,1908,1904,2040,2153,2267,2373,3074,3050,3046,2990,3196,2985,2555,3094,3552,3234,2900,2213,1930,2018,1881,1618,1672,2042,2064,1903,1800,1865,2104,2236,1982,1769,1819,2319,2967,3626,3090,2665,2591,2557,2958,2654,1770,1847,1942,1692,1792,2141,2019,2343,2674,2163,2127,2077,1989,1863,2359,3006,3075,2888,2365,1886,2349,3124,3194,3168,3178,3198,3361,3240,2952,2544,2573,2750,2835,2220,2210,2456,3077,3240,2557,2190,2956,2903,2107,2123,1739,1711,1874,2415,2523,2473,2603,2703,2426,2983,3120,2787,3029,3108,2952,2753,2373,2208,2417,2591,2900,2727,2580,2358,1882,1764,1847,1663,1682,2332,2523,2222,1731,1629,2210,2569,2355,1870,1922,1965,1804,1826,1850,1847,1708,2154,2270,2270,1904,1980,1859,1981,2396,2967,2702,1936,1703,2163,2452,2719,2697,2140,1101,1124,2017,2568,2498,2416,2182,2141,1985,1895,1964,1945,1889,1959,1836,2099,2316,2228,1882,1780,1889,2097,2046,1980,1756,1728,1379,1545,2205,2181,2113,2139,1930,1689,1592,1851,2105,2167,1897,1843,2153,1885,1562,1442,1482,1727,2216,2183,1778,2001,2116,2023,2194,1951,1665,1386,1391,1765,1905,1993,1939,1679,1555,1681,1720,1559,1881,1870,1780,1568,1497,1553,1490,1497,1462,1431,1370,1306,1338,1391,1509,1738,1669,1442,1654,1952,2063,1869,1712,1598,1516,1628,1582,1770,1776,1427,1516,1809,1634,1635,1784,2389,2381,1966,1977,2073,1931,1846,1933,1826,1955,2366,2120,1905,1831,2112,2198,2161,2704,2858,2039,1919,1739,1739,1737,1743,1541,1484,1522,1551,1798,1858,1933,2474,2737,2072,1748,1934,2016,1904,2014,1856,1805,1650,1530,1708,1891,1651,1381,1897,2463,2210,2447,2535,2500,2321,1895,1641,2133,2119,2091,2555,2736,2867,2802,2971,3254,3542,3361,3353,3085,2204,2099,2074,1935,2235,1824,1635,1771,2122,1881,2902,3831,3370,2641,2562,2849,3074,3082,2754,2721,3372,3302,2677,2653,2619,2844,3229,3206,2860,2915,2905,2620,2356,2357,2800,2546,2365,2127,1913,2015,2056,2358,2519,2239,2147,2014,2072,2586,2531,2115,2057,2429,2857,2986,2686,2332,2410,2364,1887,2022,1848,1890,2116,2247,1748,1540,2154,2015,1689,1990,2255,1994,1640,1669,2177,2596,2515,2585,2976,2508,2024,1860,1827,1826,1702,1908,2364,2193,1930,1704,1505,1766,2222,1891,1813,1970,2057,2020,1969,2114,2045,1867,1889,1801,2180,1979,1838,1758,1570,1472,1566,1449,1249,1298,1403,1528,1606,1687,1586,1797,2002,1634,1461,1644,1601,1597,1587,1864,2267,1977,1556,1851,1888,1763,2314,2297,2023,1857,1875,1813,2161,2933,3277,3422,3090,2434,2247,1976,2238,3014,2642,2107,1820,2116,2376,2622,2523,1817,1572,1604,1522,1560,2256,1758,1539,1654,2368,3551,3531,2340,1319,1446,1560,1531,1429,1361,1286,1362,1452,1438,1439,1384,1344,1363,1477,1640,1749,1560,1448,1621,1549,1384,1480,1671,1581,1597,1626,1417,1499,1829,1656,1760,1549,1785,2049,1756,1628,1940,2018,2020,2014,1888,1928,1663,2083,1884,1590,1609,1610,2612,2701,2440,1850,1479,1745,1971,2143,2282,2531,2406,1772,1595,1686,1708,2299,2456,2095,2015,1860,1842,1718,1981,1687,1400,1622,1830,1776,1808,1643,1498,1910,1897,1584,1670,1720,1812,1688,1693,1603,1876,1650,1598,1687,1649,1975,2303,1917,1470,1682,1622,1666,1764,1903,2280,2546,3035,3154,2410,1851,1874,1734,1660,1592,1619,1571,1450,1627,1641,1572,2123,2627,2662,2566,2304,1852,1594,2014,2308,2123,2361,2122,1888,1887,1710,1797,1759,1721,1551,1540,1707,1566,1614,1547,1359,1323,1555,1649,1570,1448,1396,1526,1929,2476,2315,1864,1783,3091,4165,4169,2554,1711,1653,1858,1710,1797,1902,1665,1765,2182,2150,2195,2221,1866,1387,1854,1819,1621,1769,2001,1936,1519,1499,1598,1780,1981,1722,1881,1724,1763,1555,1643,1714,1619,1951,2236,2657,3060,2472,2078,2268,2189,1965,1797,1425,1477,1610,1431,1476,1913,2153,2084,2014,2439,2353,1856,1511,1744,1622,1397,1428,1512,1632,1686,1851,2125,2315,2370,1696,1699,1632,1714,1891,1584,1343,1476,1909,2289,2056,1773,1837,1819,1829,1691,1622,1607,1532,1581,2061,2454,2080,1911,2170,2162,1881,1818,1596,1823,1895,2309,2179,1621,1295,1458,1751,2351,2431,1641,2003,2332,2366,1966,1582,2309,2070,1995,2194,2135,2094,2015,1851,1567,1716,2004,2525,2709,1824,1179,2254,3300,3139,2923,2841,2666,2651,2741,2632,3098,2937,2516,2403,2707,2965,2820,2448,2901,3392,2990,2626,2540,2359,2373,2984,2589,1889,1590,1476,1493,1693,1873,1897,1847,1736,1813,2255,2778,2574,2464,2545,3146,3168,2675,2443,2536,2208,1942,1960,2158,2217,2613,2757,1929,2022,3156,3589,3716,3728,3608,3308,2364,1429,890,732,1122,899,927,742,1270,3000,4096,4180,4227,4267,4228,4073,3926,3715,3788,4147,4140,4080,4452,4497,4371,4455,4413,4301,4204,4299,4315,3696,3586,3267,3497,3602,1966,770,547,477,480,479,477,477,475,484,508,527,536,531,512,493,495,505,530,563,586,655,790,740,662,622,611,611,613,568,505,483,468,465,484,505,538,598,659,822,1141,1123,1247,1438,1357,1310,1208,962,865,953,1153,1212,1026,952,1006,1074,965,960,994,1021,1043,1135,1212,1266,1556,1782,1653,1500,1446,1578,1724,1376,1202,1456,1593,1628,1639,1572,1896,2051,1947,2210,2684,2492,2536,2464,2178,2071,2392,2343,2264,2671,2302,1970,2171,2309,1959,1797,1522,1360,1262,1204,1265,1238,1130,1099,1069,1043,1037,992,869,818,954,1010,942,999,1182,1268,1224,1302,1303,1244,1191,1235,1053,855,719,630,642,755,828,868,920,989,1072,1106,1242,1255,1178,1068,1338,1426,1447,1527,1536,1431,1480,1496,1548,1559,1773,1757,1582,1363,1080,880,873,859,865,984,1140,1240,1276,1143,1034,947,853,834,815,742,691,651,626,642,702,769,839,888,798,760,811,655,558,560,823,1246,1615,1718,1907,2590,2843,2046,1896,1421,1078,955,1084,1166,1085,1665,2484,2589,2077,1527,1404,1434,1730,2000,2665,3138,3536,3652,2729,1373,873,821,785,792,690,660,595,553,514,490,483,473,458,452,456,467,451,432,419,400,379,355,344,343,342,350,355,351,351,370,381,341,311,294,291,298,326,306,305,334,319,335,372,359,360,344,331,324,318,311,298,288,287,297,317,319,319,309,307,300,300,294,293,286,288,284,282,282,282,291,285,280,306,270,267,272,276,278,276,279,275,267,268,296,321,345,345,374,404,528,603,699,884,774,687,755,776,712,559,470,422,404,416,439,443,439,449,455,466,484,489,474,476,505,517,512,489,469,445,444,449,454,437,410,391,368,370,371,378,379,366,351,343,344,340,349,341,340,387,375,366,352,348,351,363,355,347,340,336,343,348,354,358,356,361,379,395,397,437,437,448,478,557,580,521,544,615,686,776,789,875,915,955,735,601,548,486,453,415,381,372,367,375,378,361,356,342,333,327,327,326,326,325,326,329,332,333,330,320,319,318,308,299,301,308,308],[2500,2494,2862,2909,3190,3416,3482,3538,3586,3348,3270,3437,3684,3671,3334,2798,3493,3592,3315,2919,2511,2663,2684,2320,2355,2611,2286,1970,1966,2049,2258,1995,1977,1796,1862,2420,3068,3504,3471,3407,2879,2676,3386,3160,2491,2219,3115,3198,2661,2809,2226,1951,3232,3396,2676,3022,3146,2709,2184,2155,2324,2499,2326,1967,2012,2377,2448,2154,2282,2467,2790,2833,2844,2420,2246,2600,2862,3117,2724,2100,2428,2479,2556,2585,1826,1960,1976,2251,2544,2702,2589,2362,2539,2934,3087,2764,2444,2409,2742,2775,2813,3274,2840,2521,2362,2338,2632,2729,2171,2069,2425,2710,4173,4284,4092,3929,2629,2530,2503,1738,1594,2233,3026,2866,2911,2741,2753,3016,3185,3200,3064,2867,2853,2707,2788,2895,2840,2600,2580,2998,2513,2792,2787,3184,2868,2598,2524,2257,2233,2718,3298,3830,3894,4241,4104,3616,3849,3234,2491,2435,2746,3032,3232,3343,3404,3400,2764,2106,1913,1795,2144,2433,2642,3086,3121,2690,2608,2921,2766,2858,2410,2198,2235,1967,2120,2631,2492,2524,2574,2296,2123,2153,2365,2534,2160,1897,2157,2436,2752,2824,2707,2418,2452,2473,1825,2025,2828,2414,2362,3486,3902,3801,3610,3267,2984,2464,1885,2207,2126,1573,1716,1859,2056,2314,2482,2261,2671,2075,2570,2725,2432,2256,2003,2014,2336,2457,2247,2409,1990,1926,1982,2050,1837,1779,1888,1991,1808,1859,2366,2500,2423,2830,2414,2272,2332,2100,1749,1866,2137,2425,2853,2526,2083,2281,2489,2351,1894,1954,1913,2184,1937,1691,2270,2504,2388,2166,2060,2624,3297,3688,3638,3419,2770,2429,2175,2687,3362,3393,3255,2405,1534,1764,1832,1444,1508,1519,1782,2106,2251,2126,2127,2134,1810,1679,2048,2122,2282,3108,3330,3826,3740,3769,3984,3838,3698,3707,3582,3545,3328,3066,2721,2720,2358,2878,3953,3995,3850,3780,3616,3543,3530,3341,3307,3698,3499,2806,2762,2611,2658,2681,2476,2622,2612,2443,2949,2920,2410,2430,2686,2743,2684,2479,2368,1980,2012,1664,2570,2821,2497,2514,2236,2062,2050,2238,2490,2270,1654,1929,2598,2732,2234,1939,1844,1795,2066,1886,2108,2746,2990,2293,2024,1681,2040,2784,2946,3013,2604,1882,1697,1844,2035,2307,2244,1831,1977,2099,2282,1913,1770,1977,2540,2940,2476,2206,2814,3147,2820,2858,2093,1779,1861,1881,2216,2421,2044,2299,2795,2730,2355,2249,2297,2784,2810,2623,3116,3073,2762,2562,2743,2987,2778,3249,3560,3112,2342,1769,1929,2178,2042,2002,2338,2675,2533,2111,2020,1881,1979,2067,1736,1720,1847,2547,3559,3871,3204,2791,2991,3084,3260,2763,1843,1885,1842,1688,1825,2120,1986,1918,2014,1850,1660,1838,2062,2172,2770,3107,3037,2954,2388,1881,2104,2612,2622,2590,2765,3349,3904,3691,3641,3389,2925,2835,3270,2511,2104,2423,2867,3440,3030,1887,2056,1974,1576,2106,2040,1681,1650,1852,2216,2447,2574,2670,2680,3090,3208,2619,2777,2976,2869,2670,2084,2304,2330,2546,3260,3752,3363,2428,1744,1809,1840,1889,2377,2722,2435,1952,1793,1952,2814,3382,2669,2025,2332,2143,1645,1871,1779,1775,1796,2226,2531,2409,2027,1967,1975,2028,2025,2401,2324,2126,1815,2713,3206,3275,2570,1489,1031,1234,1926,2208,2242,2407,2271,2438,2264,1902,1862,1821,1788,1861,1694,1544,1730,1951,1963,1924,1990,2265,2376,2181,1999,2086,2176,2036,2334,2746,2800,2194,1684,1815,1770,1790,2051,2024,1732,1691,1992,1820,1558,1705,1921,1969,2292,2030,1650,1680,1597,1722,1742,2010,2100,1857,1651,1737,1994,1944,1967,1858,1809,1982,1916,1547,1389,1836,2142,1797,1582,1664,1816,1802,1582,1452,1368,1270,1548,1528,1350,1458,1552,1691,1902,1989,1863,1589,1510,1633,1756,2060,1853,1719,1336,1339,1678,1901,1673,1537,1676,1926,1932,1834,2064,2255,1814,2106,2414,2103,1826,2175,2410,2097,1798,2049,2289,2142,2342,2386,1929,1740,1482,1500,1543,1715,1811,1725,1497,1374,1448,1788,2295,2409,2282,1753,1621,1762,1794,1741,1716,1758,1716,1690,1420,1337,1497,1674,2113,2770,2322,1892,2304,2037,1963,2713,2620,2800,3300,2722,2209,2181,2476,2719,2790,2888,2719,2906,2734,2878,3367,2912,2092,2112,2331,2336,2091,1781,1636,1824,2089,2951,3317,2837,2329,2451,2752,2883,3032,2929,2648,2797,3138,2912,2786,2734,2796,3098,3094,2905,3034,2896,2604,2643,2876,3064,3004,2764,2558,2532,1925,1352,1858,2500,2156,2338,2314,2490,1886,1856,1962,1989,2520,3132,2925,2363,2484,2436,2392,2115,1804,1801,1992,2287,2517,2148,1872,1886,1751,1697,1677,1876,1735,1693,1740,2234,2482,2386,3041,3264,2789,2471,2230,2019,1739,1531,1825,2655,2358,1786,1544,1519,1696,1764,1770,2104,2030,1878,1830,1645,2287,2554,2126,2083,1759,1989,1805,1708,1560,1333,1480,1645,1424,1147,1609,1871,1747,1873,1654,1505,1919,2060,1784,1657,1554,1557,1665,1746,1753,1812,1606,1413,1500,2213,1992,1889,2075,2017,2152,2130,2022,2791,3576,3593,3475,2978,2988,3013,2158,1864,2234,2676,2558,1887,2009,2358,2657,2323,1842,1742,1643,1503,1522,1713,1590,1315,1450,2118,2916,3174,2082,1323,1405,1498,1420,1286,1328,1388,1418,1439,1387,1330,1332,1282,1371,1440,1474,1573,1545,1558,1393,1428,1444,1443,1485,1551,1571,1721,1582,1532,1574,1840,1909,1763,1541,1595,1607,1747,2186,2367,2543,2318,1786,1824,2216,2678,2165,1879,1881,1605,1887,2500,2495,1684,1619,1898,2351,2300,2066,2260,2142,1854,1733,1763,1913,2540,2293,1957,2425,2204,2147,1765,1814,1460,1396,2006,2107,1786,1692,1699,1485,1537,1593,1620,1628,1606,1766,1542,1530,1460,1688,1688,1986,1948,1583,1676,1720,1465,1660,1743,1665,1450,1522,1638,1856,2162,2680,2798,2001,1538,1608,1619,1396,1377,1431,1474,1324,1980,1928,1528,2313,2680,2330,2381,1964,1491,1436,1832,2204,1970,2062,2016,2203,2424,2171,1858,1634,1664,1638,2032,2186,1890,1561,1584,1506,1429,1686,2037,2050,1670,1422,1487,1811,2442,2286,1852,1636,3309,3890,4115,2635,1699,1887,2008,1975,1743,2014,2174,2327,2530,1986,1527,1632,1946,1777,1686,1498,1499,1720,1842,1682,1532,1755,1918,2294,2413,1891,2027,1875,1471,1569,1711,1664,1705,2077,2757,3566,3100,2316,2086,2236,2181,2327,1978,1743,1847,1888,2102,2447,2089,2073,1976,1552,2093,2470,1967,1547,1539,1494,1610,1634,1512,1554,1554,1842,2096,2510,2214,1647,1757,1726,1926,2144,1730,1556,1720,1583,1477,1689,1564,1775,1714,1619,1514,1542,1567,1482,1662,2400,2785,2543,2163,2119,2219,2329,2027,1500,1831,1892,2188,2365,1728,1127,1476,1845,2024,2100,1533,2030,1871,2190,2229,1793,2300,2183,2038,2370,2218,2254,2335,2159,1930,1983,2273,2640,2499,2036,2180,3094,3140,2734,2742,2463,2791,3282,3264,3107,3359,3284,3074,3076,3076,2810,2458,2568,3107,2801,3036,3396,3240,2924,2156,2218,2287,2044,1758,1698,1475,1415,1490,1628,1451,1600,1986,2197,2580,2514,2236,2266,2786,2798,2428,2604,2549,2172,1980,1555,1892,2203,2669,2700,2018,2026,2698,3472,4004,4136,4031,3401,1775,787,778,660,871,964,774,705,663,1896,3475,4156,4616,4848,4892,4752,4448,4176,4283,4415,4451,4472,4524,4420,4507,4672,4536,4309,4073,4255,4208,3980,4204,3995,4100,3736,1826,631,539,454,453,469,460,458,462,482,499,516,529,531,521,500,490,505,520,553,595,621,739,755,688,639,620,612,605,575,531,505,480,479,482,499,487,567,656,729,1050,1146,1184,1356,1294,1194,1218,1028,844,861,1070,1186,985,857,907,985,944,892,921,992,1009,1068,1140,1188,1431,1653,1635,1504,1417,1455,1689,1523,1145,1375,1704,1848,1710,1484,1615,1900,2120,2161,2555,2563,2291,2219,2193,2172,2393,2235,1904,2250,2357,2018,2242,2234,1933,1820,1604,1333,1228,1205,1233,1201,1158,1102,1042,982,937,918,933,883,910,973,935,944,1110,1246,1267,1282,1285,1268,1200,1213,1118,927,806,728,667,740,788,832,894,983,1072,1064,1222,1294,1246,1110,1208,1500,1528,1538,1782,1556,1501,1485,1593,1532,1665,1810,1726,1638,1318,925,857,833,841,907,1123,1242,1244,1156,1050,995,888,830,805,733,707,667,652,656,691,728,852,885,793,732,783,666,517,538,695,1192,1513,1720,2225,2767,3054,2360,1981,1510,1122,998,1028,1121,1062,1412,2451,2690,2055,1686,1555,1535,1665,1850,1850,1891,2325,2852,2895,2144,955,776,716,670,634,634,584,537,505,490,475,461,445,445,448,458,448,426,414,402,383,354,341,349,355,351,351,339,353,396,377,318,304,296,283,291,321,320,318,339,334,341,387,362,353,339,332,323,321,309,299,290,288,300,311,313,313,306,301,301,294,293,290,285,288,287,282,283,282,281,280,269,311,288,273,280,275,267,265,272,272,268,267,283,301,332,343,393,449,650,848,959,949,801,782,700,638,544,483,425,404,410,424,445,464,481,489,477,458,456,449,481,465,484,499,490,475,454,439,431,434,442,426,409,390,371,371,376,384,391,383,349,333,332,333,343,350,348,378,368,361,349,335,338,349,349,341,340,338,336,360,393,381,347,356,374,393,404,420,423,457,485,526,570,526,507,562,632,724,771,848,896,942,769,551,529,494,436,396,371,370,365,364,370,360,348,338,329,325,322,320,319,319,323,322,325,325,325,318,318,315,307,305,305,311,308],[2434,2508,3009,3045,3055,3155,3267,3631,3597,3408,3261,3519,3837,3285,3222,3406,3629,3742,3554,2877,2408,2384,2510,2486,2365,2431,2155,2139,2209,2141,2055,2185,2334,2404,2614,2703,2511,2791,3298,3233,3151,3261,3516,3198,2385,2371,2675,2443,2324,2406,1933,2127,3379,3419,2747,2689,3230,2765,2129,2207,2584,3106,3469,3100,2407,2553,2447,2270,2022,2511,2683,2686,3038,3408,3002,2529,2692,2822,2458,2200,2339,2176,2181,2313,2282,2750,2667,2751,2932,2817,2624,2384,2819,2931,2775,2577,2770,2803,2815,2955,3326,3396,3095,3208,3379,2484,1422,1460,1439,1809,2824,2983,3859,3273,3049,3773,3396,2836,2521,1386,1440,2018,2982,2808,2865,2965,3229,3400,3197,3104,3042,2772,2717,2791,2807,2799,2754,2573,2258,2126,2488,3057,2938,3211,3551,3094,2676,2712,2924,3535,3858,4024,3983,3912,3529,3006,3359,3094,2446,2426,2353,2664,3342,3682,3552,3450,2984,2567,2022,1852,2176,2401,2415,2250,2657,2873,2452,2601,2944,3155,2866,2687,2282,1954,2196,2542,2556,2501,2729,2655,2300,2221,2183,2495,2386,1765,2121,2686,2626,2524,2352,2141,2410,2225,1803,2210,2617,2204,2403,3652,3611,2500,2094,2143,2198,2145,2015,1947,1735,1185,1905,2873,2996,2802,2496,1916,1960,2120,2540,2669,2383,2042,2056,2056,2514,2460,2148,2024,2109,2498,2468,2147,1550,1333,1918,2025,1747,1746,2059,3099,3515,3060,2247,2097,2188,2021,2134,2365,2489,3194,3475,2898,2124,1953,2261,2453,1880,1803,1870,1952,2041,1931,2272,2752,2743,2287,2706,3565,3717,3497,3572,3156,2165,1931,2014,2524,3174,3167,3066,2656,1859,1929,2068,1918,1860,1648,1634,1907,1962,2263,2281,1751,1619,1575,1845,1980,2365,2371,3094,3652,3647,3756,3837,3738,3791,3212,2789,3031,2972,2844,2551,2425,2745,3707,3970,4006,3876,3703,3660,3660,3641,3637,3714,3602,3351,2600,2702,3000,3072,3028,2701,2503,2624,2557,3054,2578,2218,2260,2769,2612,2150,1902,1886,1938,2120,1900,2171,2482,2203,2179,1915,2199,2127,2395,2634,2272,1505,1787,2302,2558,2519,2295,2082,1947,2206,2041,1971,1882,1969,2344,2375,2255,2132,1918,2035,2077,1949,1757,1762,2080,2040,1701,1651,1868,2210,2222,2035,2083,2335,2294,2507,2784,2700,2750,3132,3096,2846,2544,1938,1881,2126,2034,2055,2118,2518,2788,2640,2465,2461,2498,2943,3450,3223,2979,3106,3089,3273,2663,2130,2887,2687,2823,3452,2530,1569,1713,2099,2387,2569,2868,3021,3079,2796,2278,2007,1957,1914,1762,1745,1739,1952,2791,3585,3750,3321,3037,3939,3767,3066,2775,2188,1862,1925,1787,1876,2210,1909,1684,1916,1825,1940,2242,1975,2396,2943,3452,3538,3617,3244,2396,2101,2265,2361,2456,2839,3493,3676,3021,3338,3379,3184,3188,3408,2852,2501,2420,2433,2998,3045,2164,1589,1785,2040,2157,2231,1870,1727,1701,1882,2083,2260,2474,2828,3288,3340,2964,3121,3372,2961,2688,2714,2497,2131,2440,3077,3795,3729,2305,1583,1846,2003,2128,2301,2095,2083,2111,2001,2266,2929,3002,2483,1969,2217,2019,1762,1692,1921,2484,2216,1942,2245,2121,1871,2043,2395,2165,1609,1947,2313,2157,2063,2396,3152,3146,1888,1330,1361,1839,2151,2216,1839,2119,2270,1992,2003,1870,1766,1722,1738,1669,1595,1599,1942,1994,1847,1943,2077,2126,1997,1914,1975,1980,1992,2046,2078,2166,2181,2113,2107,2075,2037,2213,2322,2318,2237,2009,1778,1599,1472,1829,2235,2078,2193,1926,1665,1497,1633,1753,2092,2607,2747,2705,2156,2090,2165,1609,1863,1870,1839,1900,2004,1612,1380,1556,1663,1693,1556,1591,1885,1874,1730,1771,1560,1372,1714,1670,1446,1437,1657,1932,2033,1885,1742,1597,1614,1686,1830,2142,1801,1385,1214,1405,1791,1886,1756,1594,1265,1148,1170,1354,1875,2189,1931,1766,2008,2136,1854,1979,2331,2155,1786,1968,2215,2258,1989,1631,1877,1850,1577,1369,1426,1582,1859,1798,1563,1592,1558,1622,1666,1651,1609,1675,1969,2004,2025,1992,2026,1976,1956,1613,1532,1468,1696,2004,2330,2787,1920,1803,2601,2056,1742,2577,2975,2520,2792,2855,2931,2190,2088,2296,2445,2607,3023,3084,2580,2454,3130,2853,2087,2237,2458,2187,1836,1663,2049,2305,2172,2231,2247,2416,2457,3109,3100,3146,2944,2843,2690,2906,3430,3292,2877,3007,2895,2965,3087,3052,3073,2845,2590,2698,2913,2995,3305,3407,3107,2438,1903,1779,2054,2113,1691,2171,2247,1979,1779,1839,1863,1964,2242,2302,1875,2016,2721,1923,2083,2343,1916,2100,2065,1922,2250,2248,2033,1637,1563,1594,1610,1475,1621,2387,2514,2215,2111,2247,2887,2862,2380,2137,2273,1844,1540,1499,1583,1789,1721,1637,1374,1487,1700,1578,1719,2003,1903,1646,1587,1490,1885,2030,1717,1848,1786,1835,1740,1754,1588,1348,1495,1567,1273,1296,2051,2038,1566,1637,1512,1589,1742,1663,1623,1654,1585,1419,1643,1956,1606,1694,1488,1482,1499,1824,2020,2226,2410,2891,3033,2708,2863,3332,3416,3308,3277,3427,3624,2823,2065,2125,2216,2590,3032,2575,2788,2383,2447,2242,1935,1831,1711,1965,1938,1570,1469,1425,1539,1891,1818,1762,1569,1552,1464,1476,1422,1309,1561,1633,1503,1469,1399,1396,1622,1542,1175,1290,1367,1461,1558,1588,1599,1594,1447,1537,1620,1568,1450,1469,1507,1506,1463,1619,1708,1763,1543,1462,1596,1563,1694,1996,2176,2018,2183,2101,2041,2076,2289,2464,2268,2263,2069,2097,2115,1685,1792,2072,2138,1862,1865,1696,1786,1920,1748,1586,1800,2159,1878,1697,1879,1640,1859,1731,1564,1383,1509,1741,1829,1720,1767,1922,1627,1527,1594,1613,1371,1404,1532,1518,1410,1255,1296,1633,2145,2135,1918,1781,1720,1748,1943,1856,1642,1470,1472,1545,1604,1692,1947,1841,1720,1641,1504,1550,1387,1326,1350,1535,1654,2062,2050,1700,1815,1852,1605,2038,1882,1648,1606,1895,1806,1688,1728,1536,2051,2560,2367,2123,1723,1659,1625,2309,2336,2008,1577,1762,1712,1603,1822,2240,2160,1569,1548,1837,1800,1852,1741,1615,1781,3075,3638,3418,2566,1990,1964,2003,2128,1591,2138,2504,2226,2317,1892,1498,1692,2018,1968,1574,1229,1498,1833,1685,1668,1880,1651,1806,2016,2388,2509,2886,2433,1759,2067,1887,1720,2228,3054,2514,2830,2692,2125,1603,1560,1809,2111,2578,2410,2013,2716,2587,1892,1546,2190,2390,1638,1776,2192,1937,1748,1597,1371,1490,1710,1512,1415,1827,2119,1871,1813,1655,1515,1781,1794,1769,1957,1927,1943,2303,2024,2040,1954,1677,2245,2588,2243,1720,1374,1432,1439,1819,2492,2608,2541,2416,2322,2244,2362,2020,2055,2191,2133,2266,2030,1520,1352,1745,1884,2234,2177,1934,2452,2551,2239,2391,2643,2524,2302,2075,2153,2320,2113,2478,2344,2465,2309,2622,2763,2298,2132,2469,2885,2567,2740,2664,2535,2520,3210,3179,3038,2987,3074,3011,2830,2776,2575,2432,2576,2341,2503,3172,3531,3688,3404,2819,2345,2180,2321,2877,2831,1743,1503,1650,1493,1241,1427,1865,2277,2321,2101,2000,2141,2275,2329,2364,2548,2101,1943,2242,1798,2292,2332,2465,2432,2002,1787,2449,3208,3947,4292,4175,3570,2620,1314,976,852,1372,1616,1658,1575,1054,1649,2883,3787,4545,4888,4800,4740,4555,4440,4461,4488,4551,4625,4605,4541,4487,4565,4513,4296,3936,3846,3814,4184,4517,4448,4553,3575,1496,608,498,449,427,429,429,437,454,469,492,505,514,522,522,503,493,495,514,541,580,600,680,722,688,651,636,615,598,570,545,501,485,476,466,504,464,524,636,671,921,1130,1108,1269,1229,1098,1192,1094,858,823,1057,1194,980,775,815,906,906,856,857,905,944,1004,1044,1113,1330,1580,1641,1481,1394,1411,1611,1718,1259,1172,1532,1938,1844,1483,1511,1712,2031,2040,2263,2565,2284,2018,2071,2043,2326,2322,1882,1872,2338,2128,2034,2060,1858,1795,1677,1327,1208,1211,1235,1296,1167,1087,1024,963,911,882,899,906,949,1016,984,925,1003,1148,1284,1203,1184,1251,1205,1169,1139,991,868,832,705,726,763,800,849,964,1064,1044,1163,1288,1299,1207,1139,1500,1682,1662,1864,1794,1782,1577,1476,1409,1461,1653,1709,1567,1302,990,861,815,870,919,1131,1245,1208,1153,1073,988,880,803,818,726,709,682,673,667,682,687,771,846,821,756,756,679,500,510,613,1131,1335,1798,2492,2780,3006,2743,2327,1676,1151,1046,1048,1064,1024,1245,2364,2749,2315,1991,1781,1743,1828,1893,1808,1544,1942,2554,2894,2832,1346,782,753,642,591,597,582,542,496,500,470,452,439,442,449,447,445,426,409,398,379,352,340,335,345,346,358,327,346,433,408,324,321,328,302,305,313,330,344,341,342,340,364,355,346,337,328,325,322,306,298,290,288,300,316,314,308,304,298,295,295,291,284,288,290,290,283,281,277,269,275,269,300,305,284,277,265,265,264,269,265,276,294,300,312,308,358,487,599,767,899,943,836,719,721,659,618,529,470,413,391,413,443,476,507,525,519,480,442,430,407,459,463,463,474,469,449,426,418,414,423,426,406,402,387,373,372,377,387,382,357,342,337,334,343,343,351,362,380,370,353,336,323,327,336,340,332,332,332,332,377,406,375,352,353,370,384,395,406,422,460,497,513,529,539,497,520,592,694,732,775,886,989,897,624,557,503,435,392,389,376,370,367,358,353,340,331,323,320,318,313,313,321,319,314,318,317,318,314,314,309,303,307,305,303,299],[2911,3226,3392,3296,3229,3133,3088,3221,3130,3355,3212,3273,3552,3203,3326,3761,3797,3776,3196,2286,2209,2533,2525,2360,2125,2314,2676,3046,3056,2858,2591,2455,2508,2597,2773,2779,2624,2685,2736,2978,4004,3895,3638,3172,2338,2370,2432,2470,2242,1951,1842,2803,2678,2906,2845,2705,2683,2470,2270,2123,2249,2819,3470,3254,2534,2769,2670,2695,2662,2979,3076,2918,3338,4031,3836,2853,2684,2728,2476,2340,2278,2099,2065,2213,2568,2956,2946,2855,2847,2621,2450,2297,2316,2029,2116,2510,2879,2652,2465,3028,3273,2652,3051,3623,3852,2501,1515,1509,1492,1874,2370,2979,3831,3421,3282,3873,3715,2863,2832,2012,2440,2858,2864,2290,2775,3382,3571,3483,3154,3044,3238,2877,3108,3153,2890,2949,2985,2645,2388,2669,2846,2910,3159,3475,3392,2965,3054,2554,3134,3527,3572,3735,3914,3985,3720,3206,3407,3291,2434,2333,2385,2663,3226,3605,3881,3660,2556,2215,2108,1960,2334,2600,2222,1521,2090,2260,2017,1872,2098,2206,2576,2540,2175,2151,2100,2199,2320,2341,2345,2551,2452,2253,1789,2404,2276,2303,2548,2250,2036,2232,2393,2411,2144,1709,1825,2370,2987,2113,2312,3498,3350,2698,2618,2498,2470,2686,2017,1378,1369,1500,2279,2678,2070,2287,2693,1983,1902,2420,2533,2420,2462,2272,2688,2718,2471,2551,1929,1654,2046,2419,2674,2392,1677,2059,2484,1939,1838,2196,2937,3811,3974,3396,2539,2282,2155,2183,2912,2758,2076,2507,3191,3107,2272,2199,2585,2336,1764,2202,1948,1694,2056,1960,2442,2396,2558,3104,3882,3798,3782,3753,3561,2542,1978,2175,2270,2722,3220,2769,2755,2501,2286,2663,2673,1855,1623,1665,1795,2057,2006,1940,1764,1603,1553,1449,1897,1991,1914,1873,2852,3636,3640,3746,3776,3646,3151,2290,2667,3041,2853,2811,2928,3172,3798,3911,3740,3808,3720,3630,3548,3264,2824,3165,3408,3166,3051,2753,2909,3334,3422,3391,2786,2507,3140,2470,2679,2253,2038,2013,2533,2714,2087,1550,1583,1672,1722,1941,2071,2357,2112,2414,2746,2534,1983,2206,2647,2322,1637,1812,2336,2324,2425,2154,2064,1988,2276,1865,1855,2025,2292,2578,2282,1989,1715,1693,2010,1935,1781,1731,1573,1862,2156,1882,1732,1816,1985,1851,1813,2300,2780,2014,2050,2601,2776,2900,3140,3077,2688,2336,1974,1804,2149,2216,2204,2328,3255,3054,2243,1753,1798,1960,2652,3086,2806,2675,2502,2839,3648,3144,2454,2536,2574,2388,2765,2568,2504,2655,2866,2972,2998,3150,2900,2588,2356,2071,2039,1991,1827,1741,1682,1820,2073,2752,3496,3714,3703,3782,4319,3980,2429,2475,2421,1870,1858,1787,1986,2214,1860,1795,2281,2524,2415,2293,1846,1949,2507,2939,2957,3038,2789,2551,2699,2689,2341,2354,3077,3438,3160,3015,3201,3093,3248,3510,3234,2645,2469,2354,2106,2308,2220,2019,1561,1706,1877,2030,2200,2100,1865,1681,1664,1710,1950,2251,2698,3062,3265,3031,3494,3965,3670,3121,2806,2357,2125,2642,2505,2994,3008,2018,1714,1727,2093,2198,2188,2026,2238,2986,2961,2765,2595,2518,2392,2251,2262,2127,1979,1814,2501,2610,2018,1761,1793,1910,2094,2255,2857,2231,1726,2370,2542,2352,2723,2889,3342,3386,2265,1835,2195,2481,1791,1854,1667,2476,2907,2082,1676,1980,1837,1646,1593,1564,1763,1782,1890,2144,2498,2229,2160,2521,2284,1768,1653,1675,1910,2030,1822,1648,1742,1828,1889,2067,1828,1881,2163,2090,2027,2044,2130,2248,2117,1768,1898,2259,1750,1584,1528,1487,1499,1568,1823,1957,2856,3820,2287,1789,1500,1636,2028,2294,2194,2018,2122,1797,1522,1429,1407,1399,1368,1454,1510,1431,1636,1803,1523,1373,1552,1440,1314,1622,1940,1922,1888,1923,1983,1864,1926,1838,1691,1647,1530,1419,1312,1353,1688,1637,1494,1589,1454,1706,1531,1720,1761,1750,1774,1879,2032,2046,1906,1815,2175,2260,1876,1909,2148,2206,2003,1567,1845,2321,1889,1427,1559,1603,1773,1864,1618,1572,1478,1548,1518,1465,1744,1961,1786,1725,1959,2346,2489,2003,2000,1638,1705,1593,1731,2046,2155,2018,1614,1904,2623,2635,2223,1883,2468,2081,2637,2761,2896,2278,1801,1944,2139,2777,3385,3121,2569,2255,2429,1876,1624,2224,2265,2026,1913,1988,2675,2450,1854,1672,2191,2202,3198,4200,3439,2734,2447,2656,3119,3400,3542,3152,2589,3216,3074,2862,3022,2813,2584,2433,2497,2684,2830,2861,2935,3079,2419,1772,1874,2047,2214,1992,1524,1703,1901,1846,1982,2010,1730,1902,2620,2485,2193,2120,2209,1877,1955,1865,1541,1725,1679,1790,2134,1927,1955,1641,1534,1384,1818,1729,1537,2031,2575,2521,2161,2028,2380,2832,2756,2244,2366,1671,1506,1554,1609,1739,1782,1616,1490,1632,1686,1649,1577,1571,1625,1776,1631,1624,1954,1887,1652,1902,2000,1758,1660,1790,1641,1420,1439,1562,1325,1464,1971,2288,1979,1527,1447,1444,1620,1550,1386,1511,1265,1381,1832,1836,1485,1493,1597,1792,1628,1648,2354,2742,2400,2780,2636,2770,2730,2806,2392,2567,2801,2995,3225,2484,2245,2601,3132,3154,3155,2835,2939,2308,2092,2118,2250,2394,2591,2941,2533,1953,2205,2303,2247,2365,2007,1461,1672,1749,1533,1508,1381,1361,1576,1602,1467,1475,1594,1644,1926,1787,1440,1406,1575,1588,1656,1783,1700,1660,1528,1522,1526,1486,1554,1609,1498,1484,1395,1355,1429,1412,1410,1380,1344,1498,2071,2115,1837,1548,1544,1628,1663,1908,2679,3011,2834,3078,2667,1807,1606,1429,1591,1525,1731,1836,1675,1508,1940,2472,2102,1559,1618,1654,1472,1475,1491,1511,1664,1614,1474,1495,1625,1677,2010,1953,1675,1649,1533,1569,1570,1635,1462,1400,1571,1679,1511,1410,1335,1508,1742,1771,1701,1701,1530,1576,1876,1880,1683,1569,1480,1564,1627,1655,1607,1792,1833,1781,1701,1630,1561,1522,1487,1824,1980,1846,1959,1757,1533,1472,1342,2016,2391,2648,2169,1875,1860,2128,2053,1609,1852,2483,2290,2024,1896,1575,1382,1570,1708,1571,1489,1579,1584,1598,1792,2159,2342,1690,1627,1726,1670,1547,1599,1675,1802,2646,2840,2283,2349,1855,1757,2040,1845,1723,2159,2596,2236,2033,1910,1698,1909,2087,1650,1466,1417,1528,1593,1543,1605,1464,1309,1671,1606,2165,3160,3120,2208,1770,2028,1810,1806,2680,3024,2307,2377,2294,1864,1531,1610,1506,1631,2498,2335,1891,3001,2770,2017,1683,1965,2047,1643,1606,1813,2055,2096,1636,1323,1248,1534,1780,1753,1931,2159,1806,1460,1574,1904,2027,1892,1918,1888,1868,1926,2331,2256,1930,1710,1949,2152,2093,2320,1872,1353,1516,1530,2237,2414,2273,2421,2477,2388,2314,1827,1692,2281,2281,2008,2133,1658,1423,1462,1405,1536,1961,2326,2728,2972,2587,2430,3066,3484,3104,2121,1966,2282,2925,2866,2720,2629,2595,2509,3384,3506,2783,2750,3006,2396,2609,2978,3076,3454,3216,2586,2254,1958,2039,2303,2305,1926,1886,1914,1930,2186,2013,2675,3129,3323,3096,2707,2753,2578,2250,2450,2827,2640,1892,1577,1721,1360,1291,1632,2024,2352,2132,1832,1935,2200,2181,2377,2392,2104,1693,1593,1642,1992,2292,2330,2460,2288,1938,1616,2130,2690,3513,4145,4341,3273,3153,2351,1266,1292,1974,1882,1693,1854,2079,2602,2952,3414,4078,4565,4572,4576,4603,4645,4500,4356,4596,4701,4597,4549,4475,4440,4428,4389,3860,3522,3488,3986,4320,3993,3797,2657,981,542,462,437,408,397,400,411,429,462,489,495,501,514,522,502,489,497,514,518,553,585,630,682,688,678,658,617,592,556,562,499,453,423,432,502,487,496,590,634,808,1088,1060,1202,1226,1076,1120,1148,929,801,1007,1172,981,735,742,849,865,821,812,818,857,931,983,1080,1255,1542,1689,1542,1446,1434,1556,1708,1477,1130,1362,1749,1825,1503,1418,1591,1843,2050,2123,2455,2364,1937,2017,2006,2267,2330,1826,1604,2102,2138,1778,1798,1766,1696,1686,1422,1256,1252,1256,1268,1132,1047,1016,952,882,849,829,855,898,1060,1019,919,964,1087,1200,1190,1243,1330,1220,1164,1148,1043,932,889,760,717,750,788,822,910,1013,1050,1112,1202,1279,1318,1115,1395,1632,1598,1623,1834,1943,1750,1520,1397,1408,1508,1575,1484,1418,1358,1039,850,860,898,1050,1172,1144,1143,1100,967,865,775,814,720,691,677,667,671,673,654,710,802,799,762,786,712,510,485,509,960,1289,2061,2697,2823,2953,3121,2924,2263,1390,1104,1164,1107,1077,1354,2257,2598,2059,1855,1873,1679,1810,1868,1983,1884,1853,2234,2729,3520,2296,980,700,644,591,570,568,557,491,490,463,440,438,440,444,442,431,417,403,387,373,353,341,342,354,354,359,339,330,428,455,348,337,359,336,311,322,329,333,331,337,335,336,340,342,328,324,333,330,310,298,286,283,292,307,307,303,298,292,286,283,287,287,287,288,289,290,291,279,271,271,269,297,327,283,274,246,258,276,286,296,308,305,330,355,322,452,698,735,774,864,895,713,709,707,659,632,562,478,417,383,409,471,472,468,472,479,458,430,417,405,427,439,445,451,450,425,408,398,391,429,422,376,393,390,373,363,372,376,360,354,349,331,339,348,349,351,368,378,372,349,330,322,318,324,330,332,333,335,338,352,353,351,351,346,366,374,383,394,428,471,490,518,516,523,502,503,548,655,699,705,834,960,983,725,615,551,535,471,421,382,379,366,355,344,332,325,317,319,319,311,312,311,313,312,310,309,311,309,307,305,304,300,303,294,290],[3376,3415,3283,3332,3204,3187,3011,2908,2997,3341,3550,3206,3313,3752,3632,3273,3229,3207,2917,2265,2492,2570,2535,2154,2278,2739,3308,3803,3668,3318,2740,2676,2600,2595,2597,2636,2457,2477,2562,2879,3421,2849,2568,2957,2530,2526,2343,2801,2568,2082,2041,2912,2834,3242,2783,2312,2739,2965,2896,2676,2425,2639,2634,2440,2373,2302,2069,2475,2706,2574,2524,2509,2961,3584,3543,2662,2462,2756,2696,2369,2239,2197,2424,2742,2613,2664,2783,2755,2894,2456,2599,2500,2050,1885,2162,2603,2723,2563,2574,2957,2808,2967,3532,3659,3376,2362,1719,1681,1748,2330,2446,2827,3899,3971,3266,3016,3354,3089,2899,2978,3936,3917,3137,3072,3326,3360,3253,3172,3066,2988,3167,3065,3264,2961,2957,3142,2561,2119,2591,2618,2457,2754,2869,2745,2584,2522,3196,2832,3464,3255,3247,3795,4045,3930,3587,2998,3110,2933,2374,2740,3304,3741,3274,3265,3552,3408,2370,2018,1885,1785,2412,2432,2038,1859,2364,2346,2502,2341,2334,2335,2640,2714,2269,2203,2287,2447,2674,2501,2136,2025,2241,2257,2316,2776,3138,3384,3051,2346,2390,2242,2392,2663,2372,1891,1928,2111,2908,2922,3049,3663,3425,3255,3382,2864,2688,2376,1760,1855,2234,2998,3168,2900,2137,2254,2758,2595,2636,2222,2392,2881,3117,2340,2483,2350,2172,2346,1993,2402,2696,2260,2549,2436,2104,2457,2081,2170,2371,2049,3022,4094,4035,3689,3030,2457,2097,2728,2777,2298,1903,1983,2695,3238,2990,2811,2784,2183,2139,2837,2609,2198,2252,2207,2342,2445,3183,3862,4164,4086,4252,3913,2451,1929,2559,2511,2452,2512,2671,2276,2280,2137,2536,3326,3098,2329,2276,2067,1983,2273,2366,2018,1835,2147,2053,1793,2209,2556,2309,2034,2802,3659,3642,3672,3694,3588,2789,2262,3158,3572,3233,3315,3590,3481,3571,3762,3589,3632,3398,3327,3352,3139,2697,3338,3792,3363,3285,3176,2988,3154,3281,3418,3309,3373,3653,2965,2782,2322,2126,2002,2263,2588,2412,2143,2252,2192,1803,2181,2712,2854,2309,2472,2974,2478,1942,1905,2038,1910,1864,2093,2375,2172,2352,1722,1974,1768,1866,1707,1852,2015,2132,2082,1734,1558,1698,1771,2038,2070,2051,1716,1715,2095,2320,2146,1870,1906,2380,2053,1618,2044,2369,1693,2399,3017,2311,2235,2390,2153,2232,2227,1990,1659,1952,2341,3021,3507,3602,2762,1890,1626,1591,1587,1924,2222,2496,2279,1967,2767,3515,3550,2684,2287,2590,2473,2531,3034,3088,2600,2323,2239,2385,2874,2851,2766,2553,2178,2257,2168,1919,1670,1748,1916,1984,2745,3658,3886,4043,4416,4580,4041,2721,2419,2280,1776,1568,1636,2132,2242,1780,1687,1829,2753,2928,2395,2148,2099,2343,2474,2619,2738,2544,2871,3168,2764,2096,2362,2999,3541,3150,2239,2161,2732,2998,2843,2553,2224,2016,2110,2184,2580,2105,2052,2152,2178,2014,1963,1981,2076,2089,1891,1606,1686,1692,1859,2312,2766,2957,3299,3854,4008,3946,3658,3063,2304,2275,2646,2309,2311,2175,2175,2163,2155,1963,1765,2199,2378,2585,3133,3177,2827,2468,2209,2348,2310,2329,2819,2553,2432,2991,2622,2529,2654,2488,2296,2531,2718,3097,2802,2675,2879,2732,2667,2958,3194,3494,3584,3120,2994,3134,2896,2280,1665,1564,2510,2973,2305,1749,1704,1554,1924,1670,1480,1832,1475,1381,1710,1706,1571,1878,2168,1988,1624,1470,1687,1841,1956,1748,1592,1746,1820,1887,2091,1925,2323,2814,2576,2075,1990,1993,2174,2469,2472,2287,2302,1907,1773,1583,1582,1732,1572,1567,1763,2815,3200,1809,1576,1610,2086,2120,1994,1877,2157,2644,2221,1721,1550,1516,1311,1296,1387,1483,1459,1543,1590,1407,1449,1503,1424,1745,2072,1912,2031,2336,2460,2473,2235,1979,1826,1567,1393,1476,1642,1625,1668,1856,1539,1426,1269,1971,3715,4128,2777,1703,1627,1876,2077,1999,1938,1901,1650,1902,2265,1792,1765,1990,2112,2057,1693,1766,2292,2183,1573,1468,1556,1781,1986,1739,1609,1609,1488,1367,1536,1760,1736,1977,1957,2072,2553,2678,2203,2004,1733,1725,1576,1655,1750,1566,1561,1842,2350,2542,2426,2598,2360,2144,1244,1389,2179,2727,2485,2099,1947,2103,2987,3021,2718,2098,2014,2249,1934,1719,2111,2095,1914,1858,2260,2801,2579,2894,2807,2762,2361,3476,3965,3138,2396,2369,2869,3183,3212,3254,3161,3198,3455,3152,2845,2851,2573,2300,2300,2388,2511,2601,2503,2335,2688,2135,1966,2037,2007,2096,2114,1771,1847,2140,2171,2099,2213,2468,2601,2429,2322,2400,2264,2448,2389,2372,2137,1742,1556,1437,1541,1809,1936,1867,2101,1680,1421,1875,1768,1390,1715,2215,2445,2474,2548,2387,2806,3143,2631,2246,1736,1558,1542,1565,1732,1736,1602,1664,1633,1458,1751,1570,1344,1373,1494,1610,1891,2266,1719,1382,1923,2032,1875,1760,1678,1567,1561,1511,1452,1336,1362,1614,2190,2124,1551,1383,1393,1683,1658,1568,1525,1425,1475,1765,1892,2019,1859,1822,1849,1849,1844,2305,2533,2789,3121,2868,3010,2858,2646,2355,2491,2392,2384,2756,2283,2492,2435,3155,3517,2619,2191,2233,2110,2316,2256,2265,2976,3323,3266,2763,2609,3044,3009,3077,3051,2663,1915,1826,2279,2396,1921,1418,1516,1427,1435,1452,1672,1591,1629,1844,1798,1677,1781,1962,1674,1461,1597,1597,1854,1554,1489,1635,1670,1676,1690,1714,1766,1611,1475,1466,1479,1552,1440,1328,1646,1902,2008,1900,1726,1668,1711,1764,1935,2710,3448,3627,3553,2812,1836,1476,1394,1479,1363,1360,1458,1606,1582,1650,1849,1763,1512,1555,1592,1552,1589,1880,1930,1640,1488,1383,1704,1987,1782,2314,2129,1625,1486,1626,1572,1655,1801,1606,1456,1618,1420,1223,1386,1459,1503,1342,1479,1565,1721,1698,1890,1956,1749,1701,1568,1518,1726,1981,1852,1612,1682,1679,1638,1749,1787,1865,1895,1754,1814,1749,1687,1859,1636,1393,1409,1576,1864,1886,2134,1970,1732,1929,2064,2046,1772,1807,2093,1930,1678,1887,1560,1382,1475,1553,1549,1526,1482,1548,1735,1847,1775,1645,1446,1459,1792,2022,1782,1680,1648,1521,1944,2279,1880,2081,1843,1663,1586,1556,1824,1821,1550,1460,1718,1830,1830,2542,2834,2351,1825,1549,1404,1618,1798,1775,1582,1622,1820,1847,2154,2574,2329,1748,1634,1827,2114,2183,2666,2293,2133,2294,1960,1772,1760,2027,1999,2438,2758,3164,2638,3053,2911,2294,1968,1803,1604,1569,1662,1412,1945,2358,1920,1423,1222,1404,1802,1985,2082,1973,1894,1951,1552,1843,2157,1959,1814,2059,1935,1832,1936,2376,2221,1712,1768,1813,1851,2281,1597,1427,1684,1858,2594,2380,2039,2193,2341,2424,2338,2104,2030,2084,2039,1488,1628,1857,1742,1686,1487,1998,2364,2657,3200,2621,2269,2686,3312,3628,3507,2187,2456,2580,2601,2977,3344,3418,2757,2480,3542,3799,3640,3491,3400,2396,2813,2666,2469,2971,2603,2006,1927,1973,2415,2520,2214,2104,2493,2588,2141,2254,2425,2049,2229,2771,2334,2147,2264,2287,2484,2865,2933,2828,2320,2114,1874,1389,1427,1766,2103,2139,1842,1585,1818,2376,2707,2697,2619,1972,1467,1346,1431,1750,1904,2032,2398,2246,2070,2386,2643,3068,3426,3844,4353,4128,3854,3288,2291,1575,1747,1688,1709,2344,2867,2779,2541,3076,3712,3825,3883,4240,4500,4645,4515,4276,4439,4564,4547,4475,4387,4429,4456,4399,3976,3569,3479,3750,3870,3687,3555,1763,736,535,457,427,402,392,389,391,411,451,481,490,499,521,540,521,494,485,488,493,515,558,595,641,669,674,652,625,597,552,553,511,461,419,414,483,510,504,583,646,731,968,1022,1123,1217,1105,1062,1143,998,801,933,1105,964,724,699,801,824,787,769,761,782,851,930,1047,1207,1450,1636,1597,1423,1343,1472,1533,1426,1187,1245,1550,1776,1576,1375,1538,1776,2197,2080,2388,2515,2084,1954,2007,2111,2227,1960,1500,1708,2031,1751,1655,1677,1561,1593,1491,1304,1252,1246,1215,1135,1064,1027,956,860,838,798,811,828,947,983,906,931,1024,1143,1215,1222,1317,1247,1185,1143,1027,981,921,823,735,753,807,826,861,918,1025,1083,1128,1213,1313,1245,1341,1541,1569,1571,1705,1826,1787,1644,1478,1403,1472,1490,1505,1480,1574,1266,977,977,980,1000,1151,1110,1098,1106,955,883,806,795,720,671,663,665,677,678,649,663,758,772,755,823,757,555,480,480,732,1210,2040,2666,2780,2931,3357,3511,3261,1975,1284,1349,1217,1130,1393,2379,3104,2403,1970,2016,1600,1636,1751,1946,2187,2205,2173,2631,3840,3493,1570,695,686,579,548,530,539,505,478,454,437,429,429,426,429,424,412,398,389,376,361,347,355,350,348,345,353,347,406,492,383,408,430,377,308,336,329,321,330,330,331,331,328,329,326,324,328,330,314,302,291,279,286,295,300,299,295,287,274,276,280,288,289,291,289,286,288,282,271,276,271,285,360,296,277,248,267,322,347,357,371,386,400,404,402,480,706,679,741,869,799,796,852,758,636,591,538,490,433,397,405,481,467,445,456,463,448,418,408,409,416,436,465,451,432,413,394,383,375,422,423,389,380,389,381,338,356,362,368,363,343,339,339,350,360,361,371,380,372,352,341,324,309,312,315,323,337,346,349,350,340,357,367,335,356,365,379,394,425,467,462,502,523,511,506,497,517,603,664,663,776,901,1020,835,665,587,547,562,487,370,377,370,355,336,333,327,318,319,319,319,315,311,314,313,311,312,312,306,300,301,304,295,294,295,290],[3262,3051,2976,3286,3486,3122,2958,3144,3060,3301,3338,2886,3160,3263,3448,3266,2884,2859,3069,2477,2413,2352,2558,2385,2541,3007,3518,3725,3522,3150,2292,2126,2104,2318,2366,2398,2430,2577,2675,2540,2490,1935,1448,1975,2410,2678,2374,2304,2438,1938,2020,2415,2617,3130,3066,2624,2952,3561,3152,2512,2850,3078,2740,2322,2447,2408,2335,2700,2736,2540,2474,2291,2667,3422,3156,2921,2810,2885,2678,2221,2165,2237,2263,2438,2522,2355,2677,2684,2906,2577,2732,2622,2358,2197,2294,2480,2458,2475,2669,2809,2655,2953,2888,3209,2570,2386,2461,2395,2784,3033,3174,3337,3754,4063,3044,2465,2823,2856,2788,3024,3354,3138,2916,3203,3513,3521,3140,3107,2981,2987,3052,3116,3176,3342,3230,2950,2590,2521,3009,2750,2462,2476,2505,2599,2734,3009,3299,3327,3470,3140,3274,3518,3227,3048,2642,2502,2978,2662,2488,3063,3486,3614,3597,3399,3244,2863,2118,1952,1631,2080,2879,2315,2075,2447,2592,2836,3044,2829,2610,2334,2481,2954,2408,1923,1976,2135,2584,2281,1953,1949,2122,2137,2115,2348,2468,2567,2531,2406,2304,2441,2604,2859,2360,1823,2046,1882,2308,3128,3481,4062,3853,4099,3514,2994,3166,2908,2499,2176,2514,3090,2746,2564,2632,2878,3360,3494,2796,2255,2379,2450,3040,2733,2103,1890,2388,2299,2172,2709,2391,2220,2130,2003,1907,2390,2438,2814,2684,2147,2740,3530,3674,3392,2591,2172,2313,3119,2857,2161,2141,2358,2617,3447,3772,2951,2239,2018,2040,2477,2944,2792,2558,2128,2414,3243,3955,4082,4252,4275,4039,3174,1975,2170,2621,2277,2241,2221,2040,2145,2267,2204,2204,2559,2500,2053,1853,1881,2142,2547,3022,2493,2714,3146,3318,3410,3476,3449,3230,3373,3626,3824,3716,3686,3628,3704,2654,2757,3674,3797,3588,3729,3846,3053,3337,3484,3387,3470,2890,3298,3704,3783,3726,3836,3802,3638,3558,3061,2932,3185,3161,3205,3371,3364,3539,3103,2756,2412,2120,1999,2114,2457,2965,2728,2701,2768,1886,2071,2529,2442,2159,2214,2281,2211,2039,1819,1952,1827,2282,2095,2008,1864,1770,1611,1955,1719,1526,1890,2052,1797,1986,2003,1854,1635,1684,2071,2194,2074,2096,1847,1834,2148,2380,2398,2059,1919,2350,2040,1830,1841,2053,1887,2584,3156,2724,2647,2564,2500,3012,2805,1931,1655,1803,2499,3537,3952,3330,2244,1716,1803,1670,1659,1898,2016,2114,2155,2361,3230,3605,3764,2934,1947,2112,2429,2592,2632,2308,2070,2053,2167,2505,2863,2900,2814,2380,2115,2079,2145,2008,1889,1872,2121,2420,3011,3647,3858,4168,4600,4620,4113,3107,2491,2278,2084,1811,2001,2414,2360,1860,1785,1688,2180,2448,2384,2454,2499,2741,2377,2868,2819,2787,3305,3076,2622,2540,2138,2248,3496,3278,2159,2322,2796,2479,2356,2498,2995,2652,2240,2311,2258,2362,2535,2632,2488,2054,2005,1848,1853,2026,2047,1841,1687,1650,1647,1905,2393,2784,3256,3570,3742,3730,3485,3203,3028,2819,1953,1735,2008,1998,2065,2241,2389,2324,2337,3038,3463,3212,2846,2859,2480,2273,2203,2254,2315,2610,3252,3265,3029,3090,2786,3100,3395,3054,2733,2786,2800,2656,2479,2491,2461,2331,2298,2365,2409,2577,2763,2761,2707,2695,2875,2872,2604,2288,2303,2458,2001,1745,1519,1661,1823,1587,1546,1771,1283,1180,1872,1870,1500,1689,1854,1760,1648,1672,2211,2244,2245,1840,1637,1703,1707,1996,2100,1783,1968,2290,2829,2474,2213,2031,2039,2136,2303,2467,2324,2090,2071,1915,2036,2375,1898,1732,1690,1656,1545,1536,1632,1616,1851,1772,1627,1764,2151,2410,2548,2181,2202,1780,1323,1091,1215,1660,1670,1470,1512,1447,1482,1714,1809,1913,1891,1813,2072,2707,3000,3057,2714,2174,1829,1809,1498,1562,1404,1452,2036,2072,1703,1388,1376,2161,3359,3278,1965,1350,1649,2134,1935,1891,2032,1858,1654,1793,1988,1778,1854,2097,2036,1836,1891,2140,2378,2207,1659,1525,1776,1810,2115,2401,2339,2038,1713,2060,1909,2002,2298,2790,2657,2350,2296,2200,2045,1835,1795,1790,1505,1572,1456,1436,1594,1932,2401,2950,2066,2088,2872,2532,1684,1531,2199,2792,2817,2441,2056,2150,2652,2854,2206,1692,2312,2619,2300,2027,1980,2184,2185,2080,2094,2191,2168,2770,3141,2933,2931,3108,3207,3219,2887,2824,2955,3007,2898,2731,2931,3105,3233,3120,2857,2769,2641,2562,2520,2381,2353,2299,2213,1829,2182,2340,2217,2316,2597,2706,2339,2040,2348,2185,2237,2479,2528,2665,2178,1615,1951,2335,2429,2379,2406,2423,2307,2204,1845,1572,1580,1696,1808,2073,2204,1629,1310,1601,1584,1500,2016,2458,2364,2313,2584,2422,2746,2543,2109,1874,1714,1572,1469,1583,1671,1628,1686,1637,1525,1567,1620,1709,1554,1691,1944,1869,2204,2665,2175,1844,1761,1824,1657,1448,1515,1503,1403,1466,1491,1426,1307,1484,2067,2074,1594,1329,1462,1611,1590,1704,1575,1481,1591,1730,1963,2149,1859,1690,1569,1828,1560,1940,2308,3088,3034,2670,2765,2736,2583,2556,2340,2486,2293,2027,2009,2097,2267,3123,3680,3150,2618,1900,1456,1987,1954,1916,3056,3306,3244,3332,3144,3319,3425,3366,3455,3244,2879,3116,3475,3394,2742,1597,1610,1650,1572,1650,1593,1506,1628,1656,1508,1458,1546,1725,1598,1503,1619,1604,1927,1638,1471,1613,1749,1728,1742,1593,1690,1610,1529,1532,1526,1607,1530,1517,1823,1709,1508,1660,1969,1887,1527,1554,1902,2456,2429,2802,2940,2314,1767,1636,1564,1465,1417,1412,1441,1585,1476,1588,1714,1428,1324,1321,1433,1668,1578,1644,1681,1500,1392,1263,1796,2171,1953,2074,1782,1500,1605,1638,1659,1856,1810,1648,1493,1582,1396,1466,1747,1722,1553,1491,1503,1530,1633,1681,2008,2448,2243,2048,1931,1709,2002,2078,1778,1511,1497,1556,1516,1460,1613,1975,1990,1925,1928,1967,1966,1870,1636,1397,1374,1523,1462,1347,1470,1547,1652,1526,1281,1290,1526,1598,1673,1610,1476,1585,1576,1572,1460,1424,1483,1506,1383,1763,2436,2061,1685,1420,1388,1587,1818,1802,1766,1693,1496,1692,2220,2242,1979,2106,1886,1590,1758,1796,1821,1626,1593,1809,1850,1874,1624,1725,2369,2818,1823,1405,1711,2063,1943,1651,1728,1736,1709,2105,2586,2563,2294,1990,1784,1667,1948,2286,2314,2027,1925,1826,1631,1697,2076,2297,2229,2547,2583,2855,3233,3294,2922,2587,2058,1851,1743,1414,1560,1426,1644,1908,1669,1473,1443,1444,1555,1686,1634,1531,1658,2040,1916,1967,1830,1713,1946,2500,1918,1644,2089,2338,2156,1842,1606,1665,1933,2158,1497,1498,1527,2004,2910,2811,2393,2208,2001,2084,2336,2503,2381,1987,1809,1423,2482,2967,2308,1823,1843,2361,2900,3419,3784,2378,2352,2534,3274,3575,3747,3000,2638,2415,2351,2846,3295,3232,2541,2625,3718,3731,3636,3409,3054,2398,2792,2778,2551,2642,2320,2236,2462,2632,2535,2758,2481,2460,2453,2314,2271,2632,2868,2384,2292,2098,1894,1746,1527,2010,2623,3040,2881,2438,2564,2952,2985,2708,2354,2168,1853,1640,1774,1256,1666,2380,2744,2823,2707,1879,1289,1298,1322,1512,1853,1902,1859,2436,2329,2540,2923,3311,3438,3464,3882,4252,3938,3462,3021,2408,2009,1802,2145,2544,2485,2325,2525,2792,3251,3652,3607,4132,4561,4220,3889,4037,4264,4475,4560,4496,4568,4625,4507,4428,4180,3736,3443,3646,3883,4011,3636,1586,605,485,445,434,404,397,387,387,393,426,468,488,512,526,540,525,495,480,494,498,492,556,575,593,629,660,653,618,594,567,537,502,470,418,412,457,502,521,569,635,719,868,973,1061,1171,1127,1016,1086,1049,829,876,1046,944,749,749,793,780,760,732,711,720,755,829,979,1165,1382,1427,1534,1557,1382,1361,1409,1422,1259,1133,1374,1740,1624,1398,1542,1612,2080,2102,2197,2378,2142,1921,1960,1952,2043,1976,1524,1421,1908,1938,1649,1545,1478,1561,1570,1382,1230,1181,1138,1084,1046,987,960,846,831,789,768,781,837,926,914,906,966,1084,1250,1154,1260,1297,1210,1130,1029,964,910,861,782,753,818,816,844,882,979,1042,1068,1148,1241,1335,1384,1495,1552,1500,1609,1694,1661,1692,1636,1399,1452,1487,1459,1358,1396,1352,1138,1066,1092,1043,1217,1146,1059,1078,950,881,832,800,730,659,665,675,691,697,664,645,728,784,767,797,796,631,490,463,564,982,1754,2495,2732,2821,3217,3552,3834,2824,1722,1396,1290,1115,1232,2291,3566,2929,2395,2098,1614,1582,1760,1980,2382,2610,2610,2832,3550,3786,2798,910,678,566,528,519,520,501,465,438,419,412,416,423,428,427,413,400,385,371,360,345,362,365,341,342,338,326,397,514,416,431,425,381,320,331,333,321,326,324,330,328,329,320,317,306,306,319,312,301,290,283,278,281,290,294,292,286,269,264,276,284,286,289,285,280,283,281,276,277,273,275,374,336,282,257,287,348,377,368,365,365,368,388,426,504,589,657,760,809,695,745,826,709,592,539,512,490,439,413,393,465,469,433,426,437,433,410,394,387,401,426,435,423,417,408,390,387,397,414,414,407,387,375,385,336,344,349,347,337,331,336,342,351,365,365,365,373,371,365,352,330,308,306,305,316,339,354,358,359,349,346,377,349,357,364,378,396,423,465,458,479,508,498,509,496,506,558,620,639,713,848,1022,904,676,591,534,515,466,365,368,373,360,343,332,315,320,329,323,316,312,313,312,315,317,309,315,305,295,296,302,300,289,286,293],[3286,2849,2843,3377,3395,2967,2766,2829,2924,3118,2948,2543,3123,2776,2752,3243,3490,3365,3112,2546,2253,2303,2419,2386,2454,2973,3174,2423,2181,2498,2244,2381,2656,2408,2065,2143,2399,2474,2554,2829,2881,2310,1635,1636,2153,2922,2880,2509,2358,2597,3367,3416,2710,2326,2578,2834,3354,3470,3152,3292,3650,3812,3504,2570,2051,2403,2642,2258,2315,2174,2592,2536,2850,3030,2892,2918,2908,3009,2854,2288,2261,2306,2476,2780,2564,2085,2557,2714,2598,2723,2840,2741,2428,2381,2668,3017,2745,2545,2744,2929,2954,3060,3285,2930,2501,2833,2732,3122,3728,3768,4007,3873,3769,3605,2984,3310,3212,2764,3182,3441,3640,3794,3266,3172,3611,3685,3264,3123,3021,2954,3145,3087,2956,2994,2663,2678,3132,3281,3272,2811,2489,2428,2508,2867,3056,3266,3575,3588,3139,2963,3520,3269,2562,2706,2337,2931,3078,2804,2471,2708,3129,3232,3275,3276,3341,2751,2071,1944,1845,2394,3008,2641,2481,2643,2689,3169,3614,3052,2640,2793,2780,2613,2294,1970,2233,2348,2155,1921,1947,1977,2218,2234,2146,2423,2100,2321,1974,1804,1918,2135,2237,2218,1862,1741,2158,2102,2492,3754,3912,4180,4381,4677,3786,2731,2922,2365,1704,1691,2407,3078,2736,2863,3505,3093,2787,2979,2885,3073,3233,2673,2361,2405,2224,2119,2250,2385,2663,2688,2529,2931,2719,2430,2399,2728,2901,2740,2474,2579,3016,3161,3124,2607,2205,2280,2544,2797,2231,1625,1851,2298,2687,3056,3248,2994,2597,2318,1831,1944,2753,3186,3046,2841,3373,4075,4303,4373,4069,3529,3309,2075,1526,1964,2202,2003,2093,2114,2051,1838,1912,1863,1585,1660,1930,1708,1859,2046,2070,2436,2784,2485,2912,3160,3570,4317,3853,3374,3565,3797,3706,3587,3435,3221,3138,2879,2585,3397,3905,3720,3414,3181,3603,2893,3451,3639,3570,3725,3676,3952,3959,4002,3960,3803,3639,3557,3706,3095,3076,3081,3283,3316,3198,2877,2897,2505,2175,2187,2163,2003,1911,2158,2593,2176,1957,1913,1765,2071,2176,2261,2244,2136,2209,2176,2085,2159,1931,1840,2123,1811,1895,1759,1550,1781,2011,1755,1869,2056,2080,1805,1980,2036,2522,2692,1991,2110,2165,1966,1741,1396,1147,1279,2045,2622,2103,1977,1976,1856,2426,2365,2067,1892,2469,3155,3110,2688,2787,3009,3432,3287,2054,1715,2083,2621,3471,3589,2949,2275,2034,2220,2389,2330,1972,1913,2035,2124,2438,3378,3771,3834,3138,1975,2055,2529,2908,2760,2489,2554,2815,2701,2927,3028,2842,2497,2454,2562,1949,1989,1939,2058,2052,2362,2334,2923,3491,3594,3752,4164,4292,3651,2336,1999,2767,2715,2179,2243,2327,2215,2225,2497,2560,2668,2387,2207,2697,2670,2864,2905,3112,3002,3003,2824,2645,2865,3538,2792,2138,3030,2404,1745,2016,2416,2039,2082,2047,2744,2803,2392,2369,2324,2137,2141,2392,2338,2017,2172,1982,1958,2120,2128,2149,2020,1823,1633,1656,1833,2021,2446,2829,3301,3640,3492,3930,4152,3385,2279,2233,2391,2287,2301,2613,2863,3332,2915,3042,3297,3250,2921,2598,1998,1870,2092,2324,2382,2500,3084,3133,2800,2655,2529,2510,2426,2254,2121,2007,1937,1921,1920,1847,1747,1805,1856,1865,1784,1903,2079,2044,2000,2125,2193,2353,2541,2796,3067,2846,2345,1890,1640,1611,1748,1705,1624,1870,1904,1988,2511,2432,2003,2037,2264,1972,1634,1479,1715,1709,1619,1642,1872,2050,2127,2611,2765,2535,2374,2023,1934,1987,1959,1813,1975,2266,2279,2118,2083,2260,2305,2570,2632,2589,1832,2103,2072,1492,1436,1556,1615,1767,1672,1562,1685,1738,1787,1986,2285,1860,1993,2275,1715,1119,1101,1535,1678,1547,1458,1388,1485,1932,1964,1843,2458,2432,1938,2144,2568,2890,2797,2434,1976,2690,2127,1798,1351,1571,2083,1952,1829,1556,1531,1925,2101,1930,1466,1444,1524,1979,1970,2213,2486,2078,1731,1783,1987,2197,2149,1936,1961,1823,1895,2216,2240,2051,1792,1505,1626,1837,2292,2503,2106,1858,2104,3170,2453,1909,2047,2617,2666,2548,2414,1898,1701,1841,1791,1705,1579,1604,1796,1670,1777,2185,2680,3390,2792,2451,2808,2724,2211,2043,2319,2144,2586,2585,2083,2471,2713,2177,1516,2250,2976,3066,2837,2258,2113,2104,2260,2261,1917,1934,2049,2392,2709,2978,2986,2585,2813,3177,2784,2483,2723,2921,2888,2566,2735,2673,2710,2983,2887,2751,2616,2610,2517,2347,2250,2203,2187,1923,1849,1947,2061,2277,2432,2547,2358,2293,2402,2140,2006,2259,2179,2137,1706,1879,2424,2437,2161,2230,2394,2414,2185,2337,1837,1610,1760,1842,2048,2179,1819,1456,1471,1561,1501,1671,2136,2194,2072,2200,2538,2679,2967,2902,2352,1882,1902,1667,1517,1707,1591,1581,1566,1509,1552,1550,1488,1759,1923,1998,2111,1732,1915,2478,2144,1669,1488,1458,1331,1237,1698,1656,1427,1494,1547,1488,1433,1617,1776,1836,1808,1754,1588,1554,1632,1664,1670,1531,1710,2579,2701,2267,1959,1726,1891,1786,1671,1927,2574,3431,3426,2908,2507,2166,2246,2563,2752,2432,2383,2367,2097,2260,2963,3685,3949,3060,2427,2170,1549,1691,2008,2412,3074,3085,3233,3243,3167,3265,3017,2988,3497,3422,3305,3423,3163,3220,3361,2276,1942,1856,1676,1520,1576,1707,1621,1566,1336,1399,1620,1764,1485,1489,1692,1551,1514,1522,1474,1535,1678,1690,1829,1543,1590,1624,1549,1468,1416,1499,1301,1387,1667,1657,1846,1804,1659,1619,1615,1542,2103,2161,1756,1758,1988,2016,1925,1824,1725,1555,1345,1317,1412,1388,1575,2092,1833,1145,819,1049,1534,1625,1518,1505,1569,1501,1555,1436,1596,1723,1638,1779,1935,1645,1520,1669,1769,1760,1542,1479,1475,1452,1390,1666,1989,1992,1616,1355,1418,1606,1863,1673,1975,2347,2313,2332,2659,2622,2331,1866,1662,1653,1605,1688,1540,1270,1771,2734,2416,1800,1745,1756,1899,1874,1788,1693,1580,1516,1403,1368,1244,1299,1471,1342,1202,1230,1571,1629,1476,1429,1491,1453,1433,1429,1345,1503,1463,1501,1461,1686,2083,1954,1756,1566,1383,1531,1699,1664,1742,1845,1547,1783,1931,1690,1566,1892,1669,1381,1502,1659,1846,1616,2049,2042,1726,2038,1902,1833,2712,2746,2244,1953,1816,1963,1820,1527,1591,1633,1633,1903,2238,2077,2277,2140,1754,1775,1902,1903,1939,1867,1801,1967,1819,1628,2089,1947,1813,2215,2477,2597,2853,2723,2503,2280,2010,1748,1645,1519,1698,1548,1399,1455,1931,2403,2247,1720,1509,1523,1340,1417,1472,1678,1910,1830,1699,1532,1604,1700,1526,1663,2180,2186,2478,1875,1570,1562,1686,1555,1332,1588,1682,2053,2770,2974,2763,2737,2294,2055,2383,2525,2597,2381,1789,1924,3473,3596,2258,1895,2604,2966,2667,2769,3488,2724,2195,2586,3034,3540,3727,2856,2282,2589,2404,2243,1985,2595,2203,2609,3392,3283,3278,3353,3104,2980,3232,3031,2887,2473,2965,3245,2899,3002,2634,2910,3041,2790,2910,3311,3172,3146,3005,2703,1785,1447,1875,2203,2547,2637,3038,3473,3164,2665,2976,3285,2513,2008,2721,2619,1662,1484,2121,1534,1497,2266,2566,2735,2623,1832,1331,1342,1351,1381,1600,1637,1446,2352,2631,2465,2773,3204,3217,3243,3666,3745,3887,3339,2409,2180,2287,2068,1983,2147,2409,2625,2689,2743,2979,3116,3120,3722,3561,2514,1866,2968,4096,4477,4553,4601,4688,4511,4223,4353,4445,4152,3595,3343,3749,4108,3042,1251,543,473,445,436,411,403,384,382,384,416,454,482,502,526,528,501,490,474,492,506,491,527,536,550,586,620,621,604,589,565,535,523,496,418,432,451,491,511,529,606,713,824,936,1013,1113,1146,1002,1049,1091,909,864,1001,933,776,805,805,747,730,690,676,671,707,792,942,1075,1274,1315,1437,1577,1473,1336,1320,1390,1311,1133,1180,1611,1786,1460,1493,1423,1803,2045,2101,2243,2154,2041,2066,1976,1992,2024,1673,1291,1577,1919,1799,1547,1456,1498,1544,1426,1255,1149,1103,1027,990,927,934,845,818,790,755,742,786,896,920,894,912,998,1228,1199,1231,1407,1338,1159,1061,951,879,844,827,778,801,777,815,880,938,1014,1033,1084,1221,1385,1464,1510,1489,1447,1622,1584,1541,1598,1579,1385,1350,1466,1488,1359,1331,1413,1332,1182,1206,1165,1297,1226,1082,1066,964,874,822,795,749,650,667,667,686,692,661,638,708,801,827,849,845,680,500,466,526,839,1472,2226,2637,2686,3057,3344,3203,2903,2303,1409,1226,1173,1328,2449,3882,3499,2578,1976,1609,1532,1734,1909,2278,2646,2842,3526,3615,3162,3684,1656,724,586,531,499,501,493,460,433,418,412,412,418,420,419,411,397,385,376,364,352,364,390,349,347,331,326,460,572,442,396,413,385,343,336,326,322,320,323,324,323,321,310,304,286,291,308,312,300,289,282,269,272,279,285,292,281,264,265,270,277,286,289,280,281,282,284,284,282,289,273,365,387,313,275,316,346,365,334,326,330,354,397,492,601,656,694,725,699,633,647,617,583,592,520,495,471,438,421,407,463,479,432,418,430,427,407,381,387,396,401,404,405,401,396,395,401,415,421,418,404,397,378,371,343,339,346,339,334,332,332,343,357,355,360,364,371,368,366,361,343,318,307,302,313,335,357,357,368,382,349,367,365,365,362,371,402,429,453,460,475,492,495,508,495,491,525,577,614,656,765,926,890,699,580,548,518,473,387,365,366,362,350,330,317,321,321,323,320,318,312,310,312,315,310,314,301,291,300,320,314,315,318,312],[3473,3258,3282,3511,3501,3374,3008,2920,3080,3138,3042,2457,2846,3407,3364,3535,3671,3487,3008,2573,2566,2476,2471,2508,2406,2337,2535,1970,2011,2658,2674,2747,2666,2314,2053,1992,2025,2164,2963,3350,2919,2512,2056,1879,2301,2968,2972,2239,2410,3924,4432,3526,3200,2864,2381,2143,2724,3137,3111,2762,2371,2967,3610,2922,2029,1787,1844,1834,2462,2141,2216,2649,2541,2052,2391,2957,2698,2575,2408,2170,2188,2070,2170,2504,2421,2358,2639,2674,2591,2878,2974,3129,2668,2743,3152,3371,2853,2446,2920,3352,3171,2974,2844,2492,2451,3060,3458,4156,4052,3746,4197,3926,3609,3496,3726,4048,3164,2640,3442,3281,3350,3664,2952,2861,3263,3272,3066,3121,2831,2720,2981,2795,2742,2915,3485,3452,3212,3219,3238,3379,3197,2639,2647,3121,3057,3240,3736,3562,3392,3749,3990,3394,2769,3129,3061,3185,3631,3729,2855,2723,3162,2879,2819,2785,2879,2349,2566,2421,2084,2065,2557,2998,2873,2576,2255,2416,2714,2447,2624,2654,2647,2503,2302,2197,2377,2370,1694,1158,1331,1648,2012,2372,2502,2865,2802,2656,2130,2439,2626,2226,1971,1996,1878,1751,2310,2585,3341,4372,4540,4495,4596,4232,2449,1978,2767,2648,2332,2678,3110,3278,3166,3275,4180,3065,1771,2503,3476,3761,3601,2705,2231,2343,2586,2562,2280,2745,3216,2996,2786,3218,3107,2617,2513,2701,2570,2287,2446,2359,3160,3332,2646,2199,2080,2059,2723,2719,1875,1733,1720,1794,2260,2490,2766,3042,3025,2644,2060,1855,2269,2930,3206,3037,3664,4376,4488,4589,4018,3303,3287,1824,1654,2409,2520,1971,1955,2069,1720,1329,1884,1874,1687,1317,1387,1549,2552,2499,2055,2187,2382,2468,2880,3581,3833,3924,3466,3780,3793,3646,3499,3305,3292,2989,2975,2844,3007,3694,3686,3852,4080,3807,3560,2774,3550,3894,3780,3837,3951,3909,3770,3837,3747,3308,3613,3715,3416,2685,2632,2759,2845,2730,2565,2507,2185,1816,1987,2321,2172,1902,1829,2068,2077,2025,1784,1697,1816,1939,2258,2414,1961,1655,1898,2138,2082,2271,2151,1732,1664,1737,1887,1796,1596,1987,2182,2095,2458,1962,2099,2800,2670,2499,2896,3155,2530,2082,2259,2002,1736,1471,1271,1520,2219,2337,2112,2135,1929,1624,1554,1643,1509,1430,2420,3353,3078,2584,2749,3119,3221,3046,2127,1699,1941,2381,3002,3184,2788,1910,1935,2524,2654,1875,1674,1860,2294,2543,2710,3237,3557,3692,3172,2576,2148,2690,2431,2776,2842,2640,2734,3507,3746,3157,2839,2700,2294,2209,1366,1611,2242,2470,2258,2279,2552,3151,3715,3659,3152,2916,2702,2450,1641,1633,2812,2833,2107,2045,2574,2600,2552,2775,2243,2335,2308,2104,2527,2355,2344,2872,2819,2556,2070,2143,2801,3406,3386,2495,2080,2628,2219,2047,1825,2229,2472,2148,2064,2542,2499,2189,2384,2001,2108,2249,2457,2065,1944,2238,2088,1954,2132,2332,2322,2299,2188,1948,1661,1693,1735,1785,2072,2455,2766,3097,3794,4008,3384,2534,2335,2353,2720,3023,3233,3371,3588,2958,2922,3106,3055,3271,2700,1759,1896,2265,2344,2562,2604,2620,2437,2208,1989,1845,1802,1766,1712,1730,1758,1765,1721,1689,1650,1703,1824,1695,1610,1705,1806,1747,1671,1794,1776,1783,2035,2054,2113,2280,2485,2707,2722,2454,2109,1830,1498,1348,1714,2373,2329,2513,2367,2420,2225,1900,1902,2155,1920,1892,1858,1666,1605,1747,1808,1820,2548,2956,3246,2923,2366,1975,2029,2031,1682,1907,2152,1956,2052,2272,2227,2228,2460,2701,2125,1655,2031,1809,1370,1381,1382,1509,1737,1688,1667,1832,2187,2912,2764,2053,1340,1971,2873,2577,1659,1103,1216,1636,1665,1515,1538,1770,1822,1602,1759,2690,2460,1686,1764,2168,2759,2858,2692,2225,2774,2480,1850,1583,1892,2001,1830,1818,1598,1579,1805,1876,2093,2586,2012,1819,1967,1811,2200,2545,2110,1815,1835,1982,2006,2015,1938,1681,1831,1871,2234,2486,2116,1661,1755,1841,1658,1819,2186,2008,1713,1909,2548,2657,2125,2245,2900,2695,2116,2173,2006,1793,1934,1875,1760,1675,1749,2171,2216,2446,2355,2513,3101,3472,3403,3097,3001,2596,2499,2198,1688,2018,1962,2508,2966,2521,1703,2235,3298,3253,3092,2944,2476,2712,2359,2228,2149,1693,1520,1677,2055,2484,2864,2832,2678,2614,2784,2405,2019,2140,2523,2481,2231,2401,2626,2616,2851,2701,2820,2725,2576,2404,2235,2153,2066,2058,1993,1974,2203,2653,2786,2460,2196,1936,2052,2374,2171,2276,2271,1937,1809,2061,2591,2766,2410,2090,1959,2143,2276,2032,2380,2175,1777,1712,1918,2100,1909,1649,1426,1714,1671,1564,1629,1699,1936,2054,2226,2448,2334,2758,3109,2340,1531,1582,1570,1497,1211,1494,1763,1531,1574,1704,1831,1776,1727,1923,1978,1895,1615,1553,1967,1780,1579,1521,1334,1285,1312,1466,1489,1439,1448,1381,1417,1474,1482,1749,1770,1943,1908,1626,1579,1570,1579,1880,2002,2092,3050,2730,2215,2355,2333,2072,1758,1982,2132,2513,3354,3400,2954,2249,1919,2121,2415,2664,2231,2502,2930,2634,3245,3963,3916,3492,2596,2750,3094,2365,2063,2013,2753,3179,2948,2524,2245,2621,3051,2928,2874,3514,3514,3206,3487,3104,3123,3454,2742,2049,1701,1367,1338,1880,1594,1565,1541,1310,1322,1712,1877,1786,1784,1558,1397,1327,1434,1539,1444,1528,1781,1808,1630,1720,1861,1666,1505,1614,1606,1421,1400,1466,1681,2471,2216,1717,1845,2174,1756,1888,1858,1616,1684,1708,1673,1613,1735,1686,1710,1593,1576,1473,1268,1395,1782,1685,1312,1105,1360,1848,2039,1910,1722,1546,1527,1708,1701,1715,1663,1735,2228,2307,1855,1859,1741,1482,1550,1519,1468,1513,1436,1460,1644,1882,2102,1560,968,1282,1681,2022,1888,1946,2092,2292,2036,2180,2331,1990,1652,1784,1939,1741,1918,1528,1362,1660,3262,2828,1656,1438,1494,1598,1689,1757,1854,1844,1737,1596,1572,1373,1395,1557,1576,1366,1489,1923,1860,1481,1407,1593,1389,1295,1281,1400,1497,1484,1523,1604,1732,1708,1698,2174,2022,1672,1765,1826,1867,1700,1688,1610,2283,2424,1920,1700,1754,1654,1496,1453,1438,1656,1765,2149,2232,1862,1955,1715,1452,1627,2004,2512,2498,2009,1895,1711,1505,1633,1949,2529,2469,2584,2864,2795,2523,2280,2116,2014,2055,1925,1844,1857,1982,1781,1564,1646,1552,1683,2207,2294,2098,2183,2449,2331,2198,2088,1844,1444,1478,1715,1606,1576,2070,2708,3082,2687,1760,1416,1433,1526,1633,1619,1429,1781,1937,1691,1598,1598,1890,1862,1655,1980,1810,2344,1726,1349,1563,1549,1397,1462,1583,1526,1730,2587,2834,2817,2842,2722,2476,2443,2520,2632,2293,1846,2855,3928,3144,1685,1732,2802,3090,2711,2676,3177,2654,2139,2802,3279,3562,3498,2978,2243,2742,2383,2295,2356,2533,2091,2676,3178,2829,2742,3086,3141,2596,2502,2065,2245,2100,3076,3105,2713,3045,3182,3178,3041,2823,2967,2877,3103,3354,2869,2414,1639,1505,2146,2991,2823,2209,2542,2935,3240,3030,2784,3141,2215,1391,2200,2108,1536,1453,2056,1786,1378,2026,2370,2667,2725,2155,1548,1410,1390,1400,1482,1592,1643,2277,2890,2792,2405,2902,3222,3694,3992,3660,4058,3523,2629,2680,2765,2330,1944,1999,2422,2490,2619,2931,2798,2310,2297,2481,1879,1438,1335,2138,3519,4537,4536,4569,4628,4420,4188,3958,4322,4539,4098,3769,4155,3974,2358,827,495,430,428,421,418,406,386,374,371,400,438,477,488,516,529,490,479,476,509,492,476,491,502,522,550,578,597,589,581,557,533,491,457,400,418,452,488,511,537,593,695,791,886,963,1018,1128,1001,1045,1105,993,882,951,935,805,797,775,717,711,657,648,647,701,781,877,959,1098,1212,1354,1452,1425,1388,1304,1368,1320,1231,1093,1403,1800,1625,1439,1354,1679,2000,2016,2126,2147,2147,2054,2053,1874,1936,1804,1417,1331,1767,1915,1575,1420,1374,1469,1397,1290,1138,1070,1018,1014,943,894,838,818,792,751,731,751,868,902,891,900,926,1084,1244,1260,1435,1460,1200,1084,965,877,796,839,837,791,741,795,855,907,1036,1058,1027,1184,1384,1468,1556,1444,1385,1457,1480,1484,1562,1522,1310,1249,1396,1454,1390,1278,1402,1466,1355,1304,1183,1282,1290,1184,1116,978,886,814,774,775,658,661,662,664,668,657,648,699,792,857,874,834,664,499,463,513,764,1299,2040,2496,2660,2975,3186,2942,2588,2434,1481,1082,1286,1507,2937,4122,3606,2396,1891,1692,1485,1667,1820,1982,2419,2632,3542,3841,2987,3702,2653,1078,579,565,492,498,499,464,432,428,398,398,409,414,414,410,393,380,371,363,364,368,410,373,347,344,338,432,570,466,380,387,368,351,335,321,328,322,319,323,324,319,310,304,291,292,306,322,305,289,275,273,275,279,278,283,277,258,256,266,278,280,283,282,279,280,280,281,286,292,287,342,410,377,298,355,347,348,339,332,336,358,523,666,674,698,716,697,656,576,590,578,581,566,538,509,480,442,441,458,484,497,449,417,420,425,403,383,385,400,402,394,388,400,416,423,432,446,412,434,396,382,380,359,339,331,336,334,334,335,342,340,347,355,359,357,353,359,359,360,352,329,309,299,305,331,353,363,362,398,371,356,357,353,347,359,400,436,453,459,476,478,507,500,487,488,506,548,589,629,699,822,893,749,583,549,540,485,429,426,416,377,344,316,314,321,324,334,334,318,321,322,322,311,310,324,326,330,328,321,342,396,354,335],[3793,4100,3994,3615,3595,3718,3310,3382,3086,3249,3094,2502,2600,3614,3773,3716,3802,3499,2785,2313,2603,2456,2778,2569,2318,2105,2532,2476,3089,3587,3062,2569,2429,2302,2066,1944,2095,2708,3294,2352,1741,1934,2228,2344,2371,2812,2857,2476,2921,3897,4693,3514,3217,3053,2763,2486,2389,2539,2894,2700,1949,2530,3396,2624,2004,1851,1793,2180,2691,2402,2470,2627,2193,2291,2786,2629,2121,2121,1974,1729,1856,1897,2070,2469,2589,2521,2956,3186,3044,3189,3146,3278,2639,2478,2872,2709,2635,3067,3304,3340,3310,3028,2484,2127,2125,2953,3627,4289,4247,3955,3532,2653,2536,3432,4160,4047,3768,3560,3531,2865,3263,3141,2843,2995,3134,3103,3152,3344,3199,2906,2705,2708,2449,3093,4041,4059,3028,3097,3470,3520,3286,2461,2462,3217,3462,3664,3769,3677,3891,3739,3876,3718,3119,2839,2765,2561,2971,3423,2993,2855,3118,3329,3122,2812,2554,2498,3220,3108,2455,1950,2303,3022,2885,2512,2243,2603,1846,1442,2083,2792,3096,2775,2293,2010,1853,2022,1479,956,1016,975,1144,1815,2451,2807,3100,3067,2946,3153,3121,3188,3000,3135,2651,2045,2202,2445,3413,4211,4560,4611,4577,3573,2915,3651,3438,3138,3079,3708,3715,3173,2751,3006,3902,3648,2767,3060,3646,3593,3112,3122,3416,3320,2985,1951,2188,3128,3544,3046,2710,2768,2718,2390,2254,2274,2025,1919,2634,2642,2990,2472,1972,2027,1664,1344,1901,2099,1752,1671,1563,1507,1701,2490,3031,3051,3046,2762,2292,1987,2170,3116,3702,3700,4004,3952,3947,4195,4220,4213,3271,2092,2455,3710,3286,1993,2023,2029,1959,1814,2294,2286,1922,1271,1224,1683,2505,2563,2332,2116,2054,2346,2788,4018,4094,3808,3665,3669,3650,3638,3454,3242,3228,3299,3166,2680,3477,3374,3182,3706,3693,3578,3405,2855,3409,3813,3604,3645,3790,3845,3808,3840,3830,3648,3774,3597,2614,2482,2524,2364,2509,2503,2662,3061,2462,1864,1881,1827,1656,1542,1940,2244,2439,2356,2026,1991,1853,1997,2237,2554,2055,1757,1982,2378,2382,2448,2230,2113,2316,2105,2275,2300,1714,1918,1790,1852,2424,2302,2354,2579,2579,2799,2908,3197,3150,2956,2861,2300,1910,1797,1961,1947,1996,2099,1823,1544,1671,1559,1495,1508,1678,1781,2327,3349,2947,2901,3054,3116,2996,2901,2252,1539,1706,2082,2477,2753,2456,1915,1731,2192,2335,2264,2055,1713,2104,2498,2728,3033,3510,4153,3886,3018,2642,2740,2566,2735,2897,2501,2408,3028,3257,3110,2845,2225,1694,2017,1440,1429,2340,2464,2237,2502,2664,2478,3012,2676,2233,1920,1874,1721,1659,1594,1988,2216,1922,1957,2600,2382,2269,2733,2232,2110,2032,2421,2534,2035,2036,2501,2409,1981,2222,2602,2508,2658,2292,1777,2118,2388,2411,2159,1933,2689,2678,1869,1763,1991,2139,2452,2622,1879,1955,1954,2182,2098,2161,2131,2066,2010,2150,2348,2458,2243,2193,2251,2120,1947,1694,1653,1715,1707,1829,2172,2479,2944,3256,3007,2761,2447,2879,3426,3470,3620,3887,3414,2845,2692,3316,3610,2862,2198,2233,2448,2233,2203,2061,1862,1794,1692,1598,1670,1779,1874,1855,1980,1974,2014,2140,2222,2409,2373,2248,2207,2237,2246,2231,2245,2245,1934,1855,1888,1743,1731,1786,1828,1989,2197,2320,2532,2640,2534,2439,1922,2238,2498,2386,2410,2099,2632,2453,1766,2035,2354,2175,2265,2061,1632,1463,1488,1595,1544,2036,2986,3494,2760,2443,2508,2306,2191,1780,1939,2056,2153,2296,2050,2192,2207,2196,2150,2012,2076,2166,2024,1801,1587,1541,1671,1782,2121,1786,1765,1936,1868,1909,1708,1321,1852,2697,2635,1401,804,1084,1513,1670,1750,1876,1785,1505,1426,1578,1532,1181,1209,1648,1740,1977,2743,2969,2677,2261,2066,2006,1980,2166,1909,1706,1503,1347,1459,1773,1917,2100,2274,1731,1944,2391,2440,2600,2545,2189,1886,1848,2074,1790,2123,1936,1580,1831,1797,2007,2695,2525,1864,2001,1707,1748,2292,2368,2172,1976,2024,2102,2153,2106,2044,2264,2354,2187,1995,1676,1580,1649,1670,1860,1734,1969,2167,2434,2636,2327,2200,2330,3072,3626,3208,2747,2561,2762,2447,1954,1910,2299,2732,2906,2386,1831,2819,3399,3140,3146,3411,3001,2667,1987,1877,1992,1655,1578,1775,1961,2373,2523,2591,2736,2623,2226,1873,1643,1630,1523,1553,1791,2579,2741,2633,2674,2521,2832,2763,2490,2321,2253,2215,2270,2383,2503,2564,2800,2732,2340,1985,1854,1686,2077,2425,2248,2455,2400,2257,2277,2487,2648,2724,2563,2245,1811,2333,2104,1853,2622,2688,1902,1740,1873,1802,1947,1902,1655,2214,1810,1612,1699,1770,1989,1629,1662,2370,2453,2376,2168,1564,1329,1392,1424,1547,1386,1710,1578,1455,1695,1826,2000,2310,1996,2083,2031,2189,1929,1869,2015,1879,1877,1632,1376,1320,1291,1358,1443,1427,1472,1548,1622,1510,1511,1792,1738,1703,1687,1630,1636,1551,1522,1619,1763,2154,2432,1942,1851,2266,2230,2030,2148,2129,2071,2465,3304,3365,3441,2940,2300,2361,2786,2685,2386,2481,2837,3261,3283,3055,3190,3128,3131,3189,2990,2519,2315,2098,2733,3267,2891,2371,2247,2641,3002,3051,3289,3529,3527,3317,3500,3338,3350,3450,2913,2191,1780,1349,1475,2003,1494,1475,1541,1462,1636,1614,1453,1674,1649,1396,1515,1483,1526,1438,1449,1499,1647,1589,1479,1735,2210,2025,1526,1658,1666,1682,1816,1720,1674,2077,1838,1530,1729,2038,1912,1955,1895,1586,1635,1590,1732,1855,1625,1488,1540,1692,1655,1444,1300,1372,1578,1569,1485,1436,1691,2150,2163,2484,2403,2034,1631,1559,1478,1454,1554,1730,1876,1949,2204,2089,1594,1526,1551,1569,1583,1455,1371,1442,1482,1692,1941,1489,1193,1474,1496,1636,1723,1688,1566,1700,1583,1629,1785,1509,1442,1868,1964,1889,1583,1421,1607,1605,1533,1318,1277,1304,1317,1418,1566,1725,1875,1882,1799,1805,1806,1605,1585,1637,1625,1451,1370,1481,1512,1512,1563,1407,1440,1732,1713,1593,1539,1513,1562,1615,2066,2308,1719,1765,1704,2183,2445,2316,2259,2019,1778,1703,2374,2608,2298,2283,2170,1838,1790,1915,1972,1655,1636,2060,2248,1983,1775,1609,1679,1698,1770,2408,2424,1989,1841,1656,1577,2076,2508,3047,2766,2285,2444,2801,3088,3034,2267,1911,2003,1844,1808,1876,1888,1759,1549,1433,1656,2077,2079,1727,1547,1604,1686,1619,1974,2446,2142,1589,1624,1626,1513,1912,2628,2687,3333,3131,2230,1601,1589,1647,1552,1463,1290,1489,1671,1582,1569,1567,1880,2189,1759,1824,2523,2633,1745,1461,1461,1306,1268,1427,1464,1497,1870,2598,2776,2755,2645,2659,2491,2372,2486,2490,2016,2271,3064,2675,2365,1969,1602,2547,2684,2786,2814,2944,2498,2229,2668,3410,3030,2579,2406,2450,2337,2557,2364,2358,2341,2070,2709,3098,2714,2434,2467,2895,2794,1761,1432,1599,2366,2519,2115,2421,2630,2209,1741,2313,2777,2477,1588,1443,2024,2365,1800,1405,1895,2292,2874,2874,2597,2732,2617,3207,3372,2365,2746,2722,1820,2013,2044,1557,1435,1848,2011,1293,1636,1848,2340,2597,2221,1686,1453,1375,1384,1419,1469,1772,2388,2811,2976,2448,2552,3219,3953,4261,3758,3930,4080,3348,2603,2536,2476,2188,1956,2066,2675,2959,2822,2416,1964,2094,1970,1478,1328,1387,1742,2604,4244,4482,4496,4544,4496,4296,3848,3930,4108,3901,3806,4041,3521,1642,652,470,447,419,404,400,387,374,366,369,389,427,465,472,492,532,500,462,469,496,465,462,476,481,508,536,564,584,572,565,550,533,494,467,434,394,435,490,500,539,604,700,759,827,902,931,1077,993,1011,1095,1047,903,910,949,853,808,746,704,718,668,638,651,706,790,850,905,1010,1161,1348,1454,1454,1493,1349,1363,1281,1240,1073,1187,1610,1665,1393,1285,1546,1980,1906,1968,2083,2161,2109,2119,1857,1785,1814,1570,1251,1522,1862,1564,1427,1352,1462,1359,1262,1130,1059,1036,1021,951,864,812,811,801,766,741,773,862,884,885,885,899,976,1214,1343,1363,1459,1259,1111,979,880,772,833,866,795,714,781,850,866,1030,1104,1037,1105,1247,1353,1494,1436,1337,1329,1380,1437,1477,1437,1300,1204,1267,1408,1386,1251,1283,1345,1377,1325,1121,1183,1275,1233,1171,1035,892,825,760,786,682,658,662,650,652,652,668,706,773,870,880,835,656,501,452,522,669,1049,1725,2313,2700,3000,3298,3024,2186,2083,1524,1188,1306,1616,2921,3991,3640,2513,2010,1850,1405,1492,1734,1808,2038,2388,3541,4632,3903,3791,3509,1777,582,598,495,493,508,477,434,445,398,386,402,398,409,402,387,381,368,361,366,385,403,377,356,364,360,456,546,470,384,397,369,351,329,319,333,326,312,316,318,316,320,317,304,305,320,320,312,299,274,283,280,276,281,276,265,259,262,270,275,280,282,282,274,281,280,279,282,283,298,331,397,435,346,348,346,353,373,345,368,444,579,634,570,596,623,616,614,542,546,566,596,561,525,520,515,469,458,496,514,514,470,433,422,419,401,382,388,400,397,389,387,411,449,462,456,484,418,433,403,380,370,350,332,327,326,332,331,334,340,348,326,349,357,350,350,352,356,361,357,328,311,298,301,326,350,372,375,390,372,353,348,343,339,351,395,445,455,464,473,464,510,505,483,484,494,528,558,595,647,750,883,752,620,594,623,576,543,568,514,411,372,336,319,314,333,349,351,346,351,334,326,345,365,369,375,359,349,406,448,457,391,378],[3709,3915,3761,3510,3514,3746,3270,3171,2819,2807,2893,2621,2792,3365,3808,3998,4175,3899,3003,2388,2407,2363,2358,2001,1792,2203,2934,3450,3842,3693,2973,2381,2258,2231,2026,1816,1802,2509,2895,2001,1334,1757,2386,2497,2122,2440,2800,3278,3020,2945,3552,3475,2921,2576,2819,2607,2084,2085,2474,2598,1875,2044,2505,2065,1820,1844,2034,2216,2347,2459,2596,2431,2212,2072,2131,1825,1660,2075,2034,1898,1949,1904,1971,2204,2404,2493,3079,3288,3186,2810,2436,2466,2396,2734,3176,2579,2395,2711,2376,2775,3404,3793,3484,2658,2592,3062,3808,3994,3963,4090,3431,2415,2086,2896,3663,3964,4013,3977,3574,3089,3347,3698,3552,3228,3330,3616,3520,3321,3330,3396,3118,3369,3024,3648,4024,3946,3156,2620,2700,2985,2958,2702,2776,2985,3308,3596,3410,3531,3095,2942,3516,3352,2688,2338,2302,2321,2819,3518,3475,3031,2502,2938,3422,3441,3183,3091,3141,3087,2841,2864,3417,3581,2740,2522,2218,2447,1587,1182,2002,3038,3256,2646,2070,1610,1507,1975,1933,1544,1167,1148,1314,1830,2372,2640,2962,3165,3256,3063,2733,3076,3205,3827,3038,1661,1892,2727,3660,4328,4164,3795,3415,2851,3652,4064,3112,2716,2617,3006,3317,3237,2927,3184,4112,4038,2933,2431,3262,3883,3497,3726,3904,3624,2539,1720,2367,3167,2972,1774,1334,1720,2454,2335,2497,1914,2139,1963,2380,2663,2348,1931,1884,1716,1357,1288,1722,1869,1764,2121,2680,1854,1366,2428,2666,2344,2670,3145,3075,2585,2621,3702,3736,3471,3220,2854,3252,3583,3872,4030,3259,2456,2812,3711,3244,1649,1564,1915,2058,2036,2114,2611,2420,1778,1672,1870,2041,2171,2503,2414,2338,2835,2883,3516,3740,3625,3551,3544,3573,3482,3391,3248,3296,3234,2962,2813,3548,3112,3440,3729,3736,3846,3677,3215,3168,3692,3500,3574,3728,3723,3735,3738,3802,3921,3758,2853,2440,2741,2558,2504,2690,2662,2602,2419,2273,2180,1840,1958,1963,1603,1918,2243,2153,1952,1852,1910,1736,1848,2122,2764,2823,2507,2278,2610,2492,2239,2041,2426,3139,3239,2990,2734,1819,1686,1555,1730,2211,2177,2139,2284,2479,3018,3238,3405,3086,2475,2404,2043,1848,1938,1686,1500,1814,2281,1936,1490,1705,1838,1979,2099,2350,2534,2275,2479,2702,2975,3084,3067,3028,2922,2624,2059,1971,2121,2364,2648,2901,2430,1931,2021,2178,2532,2580,2286,2580,2787,2729,2933,3428,3882,3848,3116,2677,2513,2570,2589,2698,2574,2746,2958,2531,2274,2194,1916,2230,2753,2212,1766,1903,2123,2396,2678,2784,2049,2139,1759,1804,1954,2209,1963,1772,1801,1892,2076,2024,2149,2472,2101,2480,2807,2130,1835,2121,2858,2707,2323,2621,3003,2901,2547,2780,2378,1318,1106,1602,1930,2291,2534,2498,2252,2121,2508,2446,2126,2294,2078,2050,2803,3040,2301,1831,1817,1981,2087,2051,2051,2194,2083,2153,2349,2423,2313,2216,2164,2225,2287,2152,1904,1724,1650,1654,1772,1776,1956,2188,2342,2412,2220,2400,2830,3110,3316,3384,3221,2834,2579,2676,2520,2200,1996,1897,1949,1874,1855,1862,1807,1793,1792,1866,2046,2216,2175,2072,2131,2047,2073,2111,2513,3238,3122,2472,2127,2048,2291,2653,2768,2781,2823,2819,2487,2424,2348,1944,1809,1733,1738,1893,1922,2127,2319,2518,2473,2459,2272,2249,2338,2226,2574,2663,2252,2565,2427,2410,2342,1815,1787,2066,1899,1676,1595,1805,2531,2807,2455,2555,2514,2113,2091,2001,1995,1849,2096,2289,1958,1839,2399,2929,2874,2425,2179,2072,2228,1961,1779,1658,1475,1426,1577,1578,1595,1632,1604,1628,1440,1508,1751,1860,1903,1435,1270,1602,1713,1708,1748,1750,1497,1350,1384,1266,1104,1230,1529,1750,1512,2053,2969,3250,2881,2396,2465,2517,2296,2232,1744,1575,1253,1348,2103,2662,2447,2085,1742,1748,2073,2338,2510,2649,2366,2159,2076,1860,2209,2049,2658,2380,1596,1655,1928,2060,2690,2958,2408,2247,1689,1802,1979,2065,2204,2088,1929,1880,1726,2017,1915,1653,1557,1978,1786,1494,1315,1536,2078,2368,2147,2084,1956,2050,2215,2577,2360,2035,2468,3408,3160,2376,2701,3028,2786,2451,2536,2969,2736,2443,2287,2403,3028,3344,3006,2954,3437,3405,2611,2127,2495,2343,1958,1810,1980,2452,2665,2526,2655,2790,2415,2026,1731,1547,1705,1785,2091,2488,3043,2751,2614,2267,2204,2571,2600,2342,2219,2201,2175,2118,2120,2108,2117,2119,2104,2186,2361,2302,2112,2475,2125,2070,2610,2540,2479,2283,2211,2437,2330,2155,1837,1848,2073,1936,1770,2040,2223,1698,1759,1686,1816,1794,1732,1578,1788,1268,1140,1771,2350,2408,2103,1869,2404,2081,1713,1623,1569,1446,1736,2172,2113,1832,1624,1539,1628,1659,1875,2039,1941,2039,2088,1786,1787,1747,1887,2199,2149,1760,1538,1448,1352,1524,1550,1531,1491,1470,1465,1527,1570,1636,1743,1748,1675,2026,1882,1599,1422,1567,1562,1794,2014,2052,1742,1882,2130,2112,2128,2030,1749,1841,2653,3392,3394,3576,3292,2700,2452,2564,2793,2502,2237,2524,2779,2070,1989,2128,2988,3773,3388,2629,2341,2274,2294,2776,3027,3031,3102,3288,3270,3286,3251,3454,3488,3464,3465,3616,3537,3294,3038,2450,2105,1886,1616,1854,1976,1702,1561,1490,1510,1556,1487,1496,1521,1520,1498,1800,1724,1543,1329,1409,1578,1548,1439,1485,1910,2564,2249,1938,2048,1617,1749,2814,2483,1810,1482,1399,1701,1911,1715,1720,1884,2101,1643,1786,1628,1656,2146,1758,1459,1355,1694,1918,1625,1466,1546,1372,1485,1660,1589,1850,1863,1916,2519,2607,2000,1549,1472,1400,1444,1509,1561,1576,1708,1987,1816,1490,1618,1865,2059,1830,1562,1372,1365,1473,1494,1516,1404,1314,1581,1633,1732,1692,1680,1454,1417,1470,1403,1488,1577,1522,1588,1527,1791,1788,1680,1702,1555,1302,1427,1576,1393,1422,1601,1754,1800,1632,1597,1562,1614,1607,1570,1671,1691,1700,1666,1600,1528,1532,1785,1855,1565,1628,1861,1856,1903,1892,1716,1687,1497,1620,1704,1657,1367,1301,1604,2201,2482,2316,1747,1623,1717,1739,1727,1956,2116,2011,1764,1857,2009,1704,1535,1405,1641,1960,1869,1816,2030,2007,1649,1693,2126,1912,1792,1697,1720,1694,2105,2333,2075,2030,1968,2066,3068,3618,3391,2390,2107,2148,1988,1923,1863,1904,2020,1888,2074,2468,2354,1956,1520,1395,1518,1593,1721,2184,2443,2126,1819,1985,1820,1725,1960,2249,2447,3053,2692,2068,1828,1742,1688,1707,1451,1399,1464,1539,1419,1352,1403,1498,1534,1635,2003,2665,2286,1722,1622,1230,1208,1350,1687,1678,2205,2458,2392,2584,2596,2310,2272,2360,2374,2504,2403,2176,3406,3323,2340,2341,2187,2220,2476,2188,2438,2646,2688,2446,2231,2705,3833,2403,2176,1876,2432,2658,2441,2392,2567,2374,2065,2283,2552,2671,2445,2520,2576,2559,2160,1763,1381,2145,2498,2280,2270,2257,1805,1602,2258,2702,2968,2989,1878,1655,1967,1624,1731,1994,2109,2488,2493,2615,3101,3152,3099,3298,2849,2872,2698,2270,2380,2319,1557,1238,1521,2020,1245,1185,1468,2156,2501,2394,1908,1522,1403,1327,1472,1460,1549,2157,2319,2706,2771,2452,3098,3774,4305,4084,3630,3750,3758,2894,2842,2750,2410,2075,1929,2354,2194,1853,1725,1672,2105,2206,1498,1020,855,1373,1898,3436,4300,4548,4500,4140,3861,3774,3816,3747,3740,3698,4204,3338,1125,605,463,414,408,395,382,370,369,368,364,381,417,451,467,470,525,516,460,455,479,480,474,469,474,502,523,544,555,564,556,536,517,493,468,443,405,434,482,481,523,624,732,742,797,882,900,995,981,958,1044,1059,937,883,929,875,842,759,724,737,702,644,645,713,779,866,945,993,1124,1320,1439,1437,1487,1411,1419,1285,1201,1136,1144,1534,1676,1434,1311,1348,1922,1860,1826,2028,2109,2093,2050,1829,1637,1675,1581,1272,1198,1368,1440,1444,1338,1374,1326,1193,1089,1066,1029,981,927,858,795,769,782,785,743,785,861,874,876,874,884,936,1140,1400,1388,1490,1360,1170,1004,871,767,832,894,826,720,745,825,841,991,1114,1092,1072,1118,1178,1319,1360,1340,1342,1343,1419,1406,1340,1285,1220,1166,1288,1369,1328,1332,1276,1327,1344,1158,1191,1188,1193,1166,1007,878,803,756,780,713,665,665,653,646,650,676,713,749,844,842,786,645,521,453,534,634,869,1515,2147,2423,2552,2715,2520,1975,1844,1562,1460,1351,1701,2860,3739,3661,2818,2152,1946,1448,1374,1583,1786,1888,2418,3537,4916,4973,4200,3839,2509,719,573,513,484,500,480,439,448,417,386,391,390,397,393,389,377,372,368,359,403,410,387,377,379,378,418,520,496,374,414,369,340,314,321,339,327,313,310,318,323,323,326,324,317,368,332,305,318,279,277,303,293,274,273,267,264,267,267,272,275,278,282,284,282,278,274,277,288,307,339,386,433,430,346,340,360,401,437,481,526,543,521,502,532,533,556,587,561,555,569,580,568,528,520,530,485,466,496,540,532,496,455,431,422,404,380,378,388,392,382,382,437,499,519,492,486,447,427,402,375,359,342,325,320,326,323,324,331,337,356,327,341,361,355,352,354,354,354,352,334,316,322,315,332,356,377,396,392,377,372,364,362,346,345,387,434,460,470,471,471,495,504,493,484,492,512,544,570,610,699,820,784,671,637,664,660,659,671,594,483,430,378,342,333,352,416,435,416,400,376,409,415,401,393,381,383,415,413,401,412,401,444],[3631,3981,3561,3439,3638,3602,3220,3105,3081,3247,3078,2955,3554,3726,3780,3874,4437,3812,2526,2171,2345,2591,2644,2442,2268,2751,3664,4012,3418,2755,2492,2430,2304,2314,2086,1830,1780,2082,2723,2410,1631,1747,1653,1788,2122,2115,2482,2973,3053,2718,2945,3672,3481,2813,2814,2244,2111,2494,2443,2358,2038,1958,1774,1709,1978,1960,2100,2481,2264,2460,2508,2596,2869,2145,1959,1674,1638,2354,2749,2584,2281,1958,2062,2372,2814,2279,2842,3147,3069,2328,2262,2488,2579,3077,3393,3187,2775,2683,2391,2941,3203,3536,2674,2740,2942,2986,3601,3719,3821,3921,3392,2621,2128,2643,3674,3950,3915,4005,3560,3212,3357,3553,3375,2963,3193,3596,3378,3298,3746,4063,3782,3852,3378,3475,3905,4117,3674,2638,2555,2719,2791,2921,2964,2817,3366,3187,3210,3265,2641,2831,3247,3016,3039,2576,2626,3023,3329,3591,3672,3417,2751,3103,3693,3584,3028,2901,3567,3577,3050,2957,2822,2842,2674,2909,2714,2212,1643,1575,2375,3241,3187,2488,2048,1447,1350,2080,2756,2395,2276,2076,2207,2614,2602,2578,2902,3105,3195,3082,2620,2864,3094,3573,2780,2151,2676,2921,3462,3746,2315,2113,2223,2557,3865,3383,2460,2137,1669,1518,2186,3773,4273,3884,3543,2900,2191,2264,2776,3419,3956,3675,3361,2735,1872,2072,2600,3023,2202,704,743,1002,1953,2574,2927,2381,2314,2200,2244,2306,2120,2026,1752,1742,1670,1757,1826,2003,2132,2553,2576,1587,1218,2070,2372,2349,3052,3310,3338,3165,3183,3558,3221,3156,2786,3002,3498,3530,3664,4030,3741,2833,2700,3398,3373,1979,1835,2284,2360,2157,2003,2463,2342,1812,1837,2117,1633,2004,2614,2537,2104,2521,2742,3165,3315,3417,3496,3581,3543,3471,3464,3307,3240,2651,2457,3255,3654,3493,3447,2987,3297,3957,3813,3294,3203,3532,3435,3519,3564,3605,3569,3435,3551,3611,3113,2645,2630,2329,2123,2249,2155,2130,2436,2722,2415,2334,1966,2128,2222,1757,1909,2504,2370,1742,1746,1609,1381,1990,2139,2167,2263,2199,2305,2514,2591,2122,2042,2588,3367,3833,3588,3001,2055,1660,1471,1310,1692,1837,1810,2401,2645,2887,3370,3653,3320,2086,1872,1684,1777,1686,1398,1683,2068,2287,1839,1826,2106,2369,2318,2768,2796,2583,2366,2670,3022,3085,3123,3059,2820,3001,2385,1719,1312,2018,2425,2968,3210,2541,2199,2291,2298,2728,3276,3549,3541,3153,2585,2697,3117,3396,3091,2837,2665,2549,2591,2481,2386,2326,2430,2268,2143,2070,1870,2152,2561,2519,2230,2102,2409,2574,2336,2429,2497,2394,2148,1924,1747,1750,1945,1783,1853,2099,2172,1978,1826,2006,2314,2051,2488,2502,1948,2073,2439,2815,2887,2906,3267,3584,3509,2897,2431,2283,1707,1591,2088,2324,2398,2592,2955,2887,2454,3167,3316,3448,3201,2424,2019,2510,2978,2555,1932,1841,2028,2046,2209,2337,2456,2407,2273,2201,2332,2401,2221,2148,2142,2268,2649,2610,2770,2190,1937,1680,1815,1749,1746,1831,1871,1777,1854,1995,2098,2152,2250,2241,2155,1974,1831,1791,1772,1770,1799,1820,1853,1869,1899,2038,2310,2410,2530,2656,2662,2025,1763,1820,1588,1521,1493,2018,3195,3405,2564,2174,1583,1841,2549,2630,2028,1999,2066,2360,2836,2756,2731,2663,2416,2172,1824,1810,1818,1888,2002,1920,2086,2149,2213,2253,2156,2286,2298,2176,2448,2578,2910,2652,1732,1709,2462,2354,2049,1978,1699,1961,2265,2553,2584,2467,2296,2174,1669,1896,2007,1959,2570,2690,2479,2865,3119,2933,2721,2341,2113,2091,2030,2004,1816,1509,1468,1598,1627,1624,1653,1874,1987,1759,1844,1931,1892,2109,1981,1834,1852,1793,1697,1835,1860,1670,1452,1214,1102,1264,1551,1642,1476,1259,1886,2876,3107,2629,2429,2381,2267,2220,1935,1644,1411,1298,1416,2464,2788,2127,1819,1816,2016,2097,2091,2146,2125,1946,1950,2155,1941,2095,2055,2454,2742,2034,1757,2502,2429,2953,3211,2909,2459,1787,1813,1929,1868,1915,1715,1809,1980,1639,1664,1409,1489,1772,2155,1880,1412,1295,1779,2491,2433,2263,2160,2040,1932,2031,2318,2479,2529,3100,3680,3331,2875,2927,2854,2229,2217,2675,2957,2514,2057,1947,2546,2941,3327,3365,3267,3265,2933,2230,2210,2382,2193,2575,2337,2338,2530,2696,2697,2510,2443,2351,1961,1853,1664,1559,1675,2282,3143,2813,2461,2533,2212,1991,2286,2519,2313,2265,2449,2233,1846,1787,1655,1686,2101,2297,2270,2313,2121,2267,2442,2070,2016,2135,2445,2248,2265,2024,2073,2042,1860,1712,1762,1641,1669,1739,1586,1591,1713,1742,1580,1706,1594,1599,1593,1509,1132,1006,2292,3133,2801,2541,2676,2901,2517,1881,1737,1616,1706,2530,2812,2329,2001,1952,1811,1976,1959,1793,1683,1570,1823,1703,1501,1465,1610,2028,2499,2304,1969,1559,1519,1532,1409,1497,1560,1533,1478,1451,1541,1697,1560,1622,1802,1796,1970,1667,1452,1683,1649,1605,1750,1887,1683,1605,1910,2092,2128,2164,2118,2001,2117,3018,3582,3638,3640,3065,2645,2571,2358,2620,2719,2719,2320,1962,1730,2029,2399,2800,3190,3056,2464,2523,2221,1984,2333,2327,2949,3392,3530,3341,3108,3119,3399,3329,3143,3269,3496,3303,3007,2677,2473,2608,2530,2308,1932,1698,1749,1600,1453,1420,1403,1612,1679,1545,1441,1517,1737,1628,1530,1562,1655,1744,1642,1488,1619,2261,2723,2037,1922,1882,1681,1675,2432,2293,1764,1654,1783,2125,2438,1983,1618,1709,2237,1663,1580,1499,1662,1689,1475,1463,1560,1836,1930,1578,1400,1444,1370,1766,1748,1537,1715,1802,1909,2179,2317,2019,1542,1532,1539,1488,1467,1365,1537,1733,1594,1546,1480,1394,1780,2024,1677,1568,1448,1609,1742,1577,1561,1416,1390,1570,1826,1687,1504,1521,1506,1402,1326,1422,1406,1532,1605,1658,1874,2472,2730,2244,1673,1420,1398,1881,2016,1571,1543,1612,1905,1766,1560,1489,1427,1335,1346,1498,1590,1471,1571,1674,1666,1743,1780,1819,1779,1738,1654,1604,1655,1832,1886,1627,1600,1467,1410,1362,1615,1419,1353,1348,1282,1600,1812,1651,1707,1534,1362,1430,1881,2005,1614,1512,1813,1724,1433,1419,1422,1706,1882,1640,1694,1905,2171,2139,2117,2000,1862,2050,1976,1836,1716,1687,1855,2026,1911,2169,1856,2786,3244,3247,3017,2713,2417,2248,2099,2122,1888,1934,2062,2689,2339,2009,1727,1493,1496,1439,1459,2055,2459,2381,2359,1927,2253,2373,2253,2191,2002,2342,2225,1819,1681,1846,1881,1838,1908,1574,1627,1573,1617,1549,1512,1359,1193,1519,1980,2407,2753,2479,2100,1797,962,1126,1216,1686,1809,2315,2424,2065,2237,2545,2453,2824,2987,2655,2545,2508,2722,3323,3133,2706,2249,2276,2902,2699,2589,2890,2253,2307,2160,2214,3111,3543,2405,2261,2319,3183,3100,2291,2643,2820,2179,1829,1771,2124,2452,2231,2428,2349,2397,2361,2024,1887,2113,2010,1892,2054,2154,1979,2375,2460,2457,2764,2548,1945,1993,1954,2019,2436,2606,2409,2700,2747,2762,2533,2737,2907,2668,2934,2919,2861,3205,3068,2615,1624,1108,1221,1857,1274,1203,1643,2009,2469,2724,2313,1668,1454,1279,1437,1558,1682,2132,1783,1934,2754,2700,2561,3160,3816,4108,3684,3141,3817,3578,2710,2492,2641,2285,2033,1880,1304,1101,1529,2075,2371,2214,1475,1151,857,1102,1296,2381,3763,4374,4200,3893,3783,3957,4202,4096,3921,3704,4552,3066,1054,568,473,399,387,379,376,376,372,371,365,374,401,435,463,449,493,519,469,453,468,451,446,442,453,477,503,516,523,554,549,529,536,522,480,435,407,457,486,470,496,595,737,751,785,897,916,931,957,915,1008,1119,1011,889,895,890,866,767,743,756,724,660,634,714,762,859,966,971,1095,1410,1656,1522,1418,1400,1466,1355,1226,1199,1081,1491,1737,1545,1360,1317,1675,1784,1775,1869,1938,1946,1928,1851,1602,1591,1600,1307,1127,1197,1251,1372,1360,1365,1360,1182,1046,1017,968,945,929,856,788,735,749,774,743,760,837,883,873,865,861,922,1015,1343,1540,1525,1395,1219,1063,895,786,808,905,904,745,726,776,824,938,1070,1094,1054,1043,1072,1170,1229,1308,1399,1327,1360,1378,1306,1278,1275,1147,1176,1287,1324,1385,1288,1246,1332,1202,1136,1184,1183,1205,1023,866,796,759,758,734,688,675,662,638,651,667,713,735,819,813,748,640,519,476,591,667,780,1271,1993,2265,2193,1988,1592,1591,1782,1700,1627,1521,1938,3206,3881,3684,3351,2495,1917,1506,1332,1416,1650,1875,2469,3234,4048,5098,4756,4211,2885,957,556,538,484,489,482,449,449,442,388,386,382,391,397,393,384,390,386,361,385,410,399,401,398,404,397,490,515,381,387,371,344,293,310,352,327,318,309,325,339,332,326,342,330,391,351,301,325,296,274,313,322,277,286,285,284,270,266,268,268,280,288,291,292,290,287,291,305,322,346,394,401,463,413,337,365,425,445,460,481,503,529,587,568,562,586,585,585,593,597,588,571,546,522,513,484,485,491,546,542,507,469,441,428,410,388,368,382,390,390,421,502,590,590,531,483,455,429,390,368,348,334,323,318,320,318,326,335,343,350,350,352,360,358,355,347,344,346,345,337,321,357,352,339,375,391,412,415,403,390,385,386,374,363,403,467,488,472,473,487,497,493,496,486,480,504,551,569,578,654,762,781,695,639,669,686,693,662,610,556,502,460,429,413,422,498,528,505,540,495,512,434,359,352,372,402,427,380,377,405,418,454],[3222,3582,3413,3374,3719,4271,4004,3274,3108,2993,3183,3544,4040,4025,4036,4356,4327,3697,2790,2291,2643,3108,3248,3112,3032,3410,3970,3243,2287,2368,2600,2565,2499,2655,2316,2134,2403,2496,2447,1885,1801,1904,2384,2569,2728,2247,2514,3051,2817,2468,2518,3129,3616,3107,2596,2459,2855,2629,2614,2708,2575,2313,1987,2161,2510,1848,2300,2663,1870,2535,2986,2999,3351,2589,2075,1974,2096,2696,2976,2975,2714,2449,2231,2144,2439,2113,2348,2511,2269,2335,2758,2766,2780,2698,2798,3319,2500,2644,2907,3036,2610,2836,2850,2964,2721,2921,3493,3436,3522,3575,3431,2929,2404,2448,3426,3882,3923,3982,3708,3364,3297,3487,3630,3399,3452,3714,3414,3308,3781,4099,3895,3666,3156,3127,3708,4056,3974,3006,2641,2702,2806,2916,3109,3272,3510,3419,3296,3305,3189,3127,3300,3104,2832,2569,3146,3274,3167,3529,4018,3861,3536,3897,3907,3527,2932,3019,3350,3156,2664,2619,2123,2037,2401,3065,3008,2127,1834,1874,2220,2730,3284,2719,2368,2173,1993,2360,2630,2708,2885,3163,3506,3244,2784,2576,2900,3039,3169,2918,2742,3040,3078,3086,2863,2700,2768,2598,3052,3017,2346,3065,3583,3898,3705,2634,1760,1342,1107,1038,2101,3739,3474,2665,2053,1433,1011,1790,2646,2834,3142,3417,3559,3009,2442,2557,2425,2513,1952,907,989,1111,2033,2386,2511,2417,2292,2107,1976,2168,2435,2024,1686,1866,2206,1981,1836,1906,2184,2132,1615,1278,1324,1549,2240,3089,3421,3309,3272,2922,3249,3688,3549,3718,3638,3638,3760,3483,3141,3409,3670,3294,3461,3655,3310,3000,2744,2664,2898,2809,2451,2583,2184,1793,1741,2099,1910,2065,1846,1803,1860,2016,2364,2751,2928,2831,2910,3437,3623,3528,3265,2866,2896,2473,2753,3221,3085,3020,3017,3071,3451,3850,3776,3006,2844,3207,3392,3474,3382,3437,3550,3394,3220,3130,2998,2685,2217,1845,1864,2247,2087,2142,2802,2784,2157,2261,2316,1999,1861,1898,2100,2513,2482,1790,1837,1796,1283,1203,1505,1640,1559,1702,1610,1796,2799,2601,2460,2530,2839,3090,3331,3004,2175,1813,1836,1727,1764,2050,1955,2056,2442,2543,3306,3820,3837,2569,1655,1591,1719,1851,2078,2438,2390,2507,2321,2689,2610,2836,2671,2965,3104,2609,2401,2538,2754,2988,3315,3362,3217,3327,2262,1363,1540,2165,2509,3028,3211,2779,2487,2520,3118,3547,3672,3869,3870,3374,3021,3149,3342,2931,2330,2127,2336,2554,2273,2296,2197,2077,1890,1624,1769,1923,2122,2301,2233,2289,2116,2001,2280,2023,2070,2270,2388,2997,2611,1773,1551,1836,2020,1945,2316,2267,2211,2025,1858,1843,2249,2568,2814,2445,2076,2000,2523,2746,2718,2971,3540,3629,3308,2341,1954,2388,2029,2092,2724,2712,2541,2783,2990,2567,2303,3200,3134,3410,3090,2398,2090,2548,2733,2063,1680,1835,2154,2087,2548,2564,2510,2504,2414,2302,2232,2207,2163,2215,2209,2387,3068,3218,3506,3111,2964,2721,2252,1903,1853,1707,1638,1783,1749,1613,1706,1686,1599,1539,1598,1656,1737,1799,1803,1794,1810,1911,2111,2255,2525,2876,2990,3173,3340,3328,2323,1662,1758,1980,1899,1798,1628,1641,2175,2515,2391,2426,2100,1942,2322,2356,1721,1387,1488,2136,2602,2480,2620,2869,3033,2728,2750,2446,2036,1815,1744,1902,1947,1973,2064,2366,2447,2430,2071,1900,2278,2530,2998,3190,2472,2164,2602,2396,1849,1758,1932,2462,2531,2598,2445,2902,2557,2250,1877,2174,2421,2346,3006,3367,3022,2702,2431,1967,2170,2149,2283,2210,1948,1841,1874,1967,2020,2101,2010,1957,1903,2207,2142,2030,2019,2061,2094,2135,2041,1848,1700,1555,1494,1788,1959,1524,1161,1173,1448,1738,1678,1395,1484,1614,1809,2508,2830,2482,2368,2427,1936,2100,1788,1585,1591,1689,1466,1666,1713,1503,1659,1755,1880,2115,2045,1995,2072,2047,2064,2078,1957,1867,1917,1946,2164,2033,1874,2607,2691,3016,3326,3072,2642,2103,1821,1931,1918,1858,1659,1526,1510,1691,1349,1299,1673,1848,2021,1925,1657,1493,1804,2155,1716,2036,2316,2040,1954,2135,1996,2590,3134,3650,3768,3605,3716,3383,2679,1358,1389,1887,2592,2571,2600,2895,2930,2723,2987,3220,3220,3022,2469,2290,2623,2401,2386,2964,2404,2105,2232,2332,2662,2564,2329,2353,2031,2193,2286,1891,1579,2030,2662,2374,2382,2612,2194,1846,2101,2376,2285,2341,2514,2503,1928,1947,2042,2062,2374,2502,2417,2337,2381,2378,2147,1984,1784,2046,2271,1904,1760,1665,1647,1855,2087,1731,1638,1527,1780,1802,1577,1592,1824,1679,1536,1676,2009,2111,1589,1593,1727,2211,3086,3230,2584,2459,2783,3073,3260,2375,1630,1509,2011,2570,2198,1859,2069,2331,2122,2102,2115,1735,1484,1392,1544,1594,1411,1529,1891,2320,2995,2669,2456,1659,1361,1520,1566,1492,1583,1608,1443,1582,1651,1772,1664,1625,1721,1681,1477,1542,1415,1527,1611,1496,1509,1504,1521,1737,1685,1626,1736,2149,2770,2566,2187,3040,3848,3848,3812,3212,2534,2512,2398,2373,2593,3320,2620,1966,1821,2420,2975,2711,3117,2711,1848,2487,2457,2002,2132,2282,2876,3312,3394,3383,2996,2832,3443,3353,2878,3060,3518,3020,2635,2566,2710,2825,2916,2714,1842,1455,1708,1732,1463,1343,1488,1604,1482,1449,1715,2007,1892,1584,1476,1613,1771,1602,1526,1632,1837,2295,2114,1810,1852,1857,1620,1402,1626,1745,1708,1886,2171,1847,1565,1500,1355,1465,1669,1345,1251,1471,1814,1975,1910,1770,1665,1663,1802,1766,1404,1252,1400,1690,1557,1531,1704,1601,1477,1640,2380,2333,1399,1465,1612,1532,1449,1389,1880,1680,1400,1561,1468,1428,1624,1533,1388,1545,1797,1692,1780,2056,1872,1540,1312,1578,2126,1709,1381,1504,1693,1644,1356,1400,1518,1645,1675,1753,1904,2324,2729,2353,1885,1607,1739,2298,1926,1713,1556,1598,1639,1490,1510,1671,1650,1389,1434,1516,1505,1395,1490,1711,1740,1802,1686,1588,1765,1749,1711,2040,1924,1810,1805,1628,1612,1645,1298,1143,1372,1346,1368,1336,928,1031,1478,1494,1582,1526,1378,1416,1470,1499,1444,1398,1658,1597,1395,1465,1397,1642,1744,1617,1806,2270,2172,1918,1774,1792,2193,2442,2225,2106,1810,1729,1771,2546,2235,2360,2271,2204,2009,2384,2964,2669,2255,2330,2250,2596,2050,2050,2610,2839,2611,2387,1770,1416,1437,1506,1604,1930,1965,2174,2556,1975,2371,2446,2269,1986,1820,1881,1628,1660,2000,1771,1613,1603,1581,1459,1726,1655,1471,1381,1543,1514,1656,1958,2010,2257,2387,2351,2132,2076,1106,1522,1877,1892,1720,1866,2342,2359,2198,2501,2752,3775,3724,3121,2512,2405,2542,2525,2298,2061,2294,3074,2962,2348,2626,2750,2188,2084,2287,2350,2588,2479,1944,1844,2027,2685,2509,2379,2286,2569,1890,1470,1439,1595,1686,2375,3021,2978,2674,2335,2369,2235,2178,1986,1921,2096,2140,2037,1958,2084,2626,3043,2780,2963,2890,2492,2832,2899,2791,2127,2498,2271,2445,2319,2480,2677,2533,3030,2503,2556,3270,3178,2997,2124,1296,1041,1081,966,1317,1814,2266,2654,2903,2617,1838,1612,1419,1375,1535,1839,1769,1395,1848,3088,3198,2497,2455,3033,3694,3805,3100,3458,4082,3296,2868,2666,2018,1940,1852,1108,765,1283,2054,2153,2367,1832,1484,1026,894,858,1522,3029,4013,4100,3827,3978,4236,4373,4512,4052,3899,4416,2617,906,576,473,408,392,357,373,382,373,367,359,360,385,410,458,449,464,518,480,460,457,440,435,428,427,441,461,498,528,549,533,517,518,491,461,436,408,443,483,482,493,555,709,766,773,905,917,897,982,896,972,1121,1023,887,860,897,895,780,742,780,728,696,631,698,791,916,1057,1026,1068,1262,1339,1284,1285,1349,1441,1412,1234,1242,1050,1294,1644,1601,1364,1240,1445,1727,1808,1790,1907,2024,1941,1855,1599,1552,1538,1292,1134,1132,1108,1240,1353,1344,1355,1197,1051,969,903,890,896,838,767,725,725,727,733,752,784,844,814,810,828,903,971,1136,1382,1470,1434,1366,1181,982,837,782,874,990,820,762,742,761,850,1002,1055,1022,1004,1006,1074,1132,1268,1466,1390,1338,1383,1315,1262,1303,1210,1136,1175,1287,1504,1406,1328,1334,1346,1190,1130,1166,1218,1092,941,857,787,819,777,717,696,686,633,643,668,715,740,796,814,764,655,537,486,527,574,730,1030,1670,2054,2205,1863,1282,1351,1665,1666,1571,1759,2473,3461,4113,3583,3548,2729,1931,1607,1376,1330,1472,1712,1959,2254,2621,4460,5124,4691,3053,1118,579,550,479,479,477,454,443,452,393,389,385,388,395,389,377,378,418,403,386,391,399,414,405,406,373,449,516,416,365,370,345,301,300,339,333,319,308,322,354,357,345,337,330,368,350,307,328,322,293,313,352,319,322,307,318,293,262,276,277,287,289,297,306,307,302,302,315,325,345,371,358,431,486,376,364,436,432,464,479,502,585,606,553,579,591,598,642,632,639,616,580,554,532,503,479,490,503,529,529,504,475,454,447,444,440,430,408,401,405,464,542,617,616,545,472,447,428,393,364,347,322,312,314,317,323,332,336,344,348,352,355,344,340,336,334,333,338,343,346,338,364,383,380,399,409,426,431,425,406,403,406,398,403,422,440,442,455,470,476,476,491,504,488,471,503,554,569,556,608,739,789,699,627,621,619,614,613,593,591,566,513,473,478,470,464,491,476,513,474,454,401,380,396,418,419,419,410,393,414,451,476],[2561,3043,3232,3355,3617,4144,3939,3230,3217,2993,3464,3814,3968,4240,4163,4143,3811,3747,3199,2640,3173,3538,3493,3143,3271,3748,3317,2306,1986,2546,3227,2967,2415,2376,2225,2263,2254,2119,2104,2047,2462,2988,3595,3581,3051,2250,2234,2546,2530,2436,2352,2701,2901,2724,2479,2743,2992,2962,2939,2647,2339,2520,2266,2189,2443,2086,2256,2317,1822,2911,3288,2850,2878,2579,2176,2017,2157,2770,2819,2718,2526,2454,2194,2193,2118,1961,1915,1846,1963,2488,2604,2504,2559,2436,3022,3616,2438,2480,3164,2921,3082,3565,3749,3371,2513,2644,3063,2788,2405,3029,3567,3338,2899,2278,2502,3551,4049,4049,3740,3387,3401,3541,3675,3204,2696,2896,3030,3182,3654,3693,3415,3350,3239,3437,3321,3459,3563,3002,2670,2620,2652,3053,3428,3479,3474,3308,2783,2562,2552,2735,2979,2952,2511,3188,3508,3417,3814,3868,3887,3975,3907,3917,3688,3450,3262,3230,3209,2787,2518,2464,2407,2573,2583,2944,2986,2756,2975,2689,2739,2644,2930,3107,3234,3370,2976,2458,2622,3044,3174,3636,3793,3606,3153,2737,2944,2799,2647,2511,2585,2789,2359,1950,2329,2423,2734,2812,2620,2391,3580,4003,3363,3164,2276,1245,998,964,1092,1357,1874,2422,2037,1370,790,475,530,1349,2348,2578,2644,3393,3090,2258,2475,3222,2834,2372,2403,1709,1292,1437,1789,2016,2345,2345,2366,2040,1909,2310,2868,2092,1640,1576,1927,1832,1771,1953,1948,1907,1786,1513,1489,1827,2544,2850,3343,3682,3379,3151,3505,3451,3165,3463,3705,3629,3628,3725,3480,3651,3847,3631,3929,3720,3068,2852,2743,2523,2930,3330,2963,2676,1833,1701,1765,1709,1871,2186,1936,1948,2157,2220,2373,2576,2785,2744,2819,3046,3404,3443,3463,3126,2577,2630,3249,3562,3291,3215,2718,2999,2850,3046,3408,3398,3054,3451,3666,3554,3515,3463,3410,3173,2821,2754,2525,1993,1722,1758,2135,2442,2361,2445,2956,3053,2569,2238,2036,2084,2451,2443,2263,2564,2287,1532,1736,1868,1399,1206,1597,1806,1595,1932,1906,1914,2160,2218,1997,1543,1568,1806,1819,1995,2285,2198,2093,2123,1742,2018,2339,2486,2999,3420,3781,3882,3439,2420,1991,2406,2797,2795,2802,2721,2452,2602,2619,3243,2864,2597,2647,2966,3265,2721,2100,2371,3194,3672,3526,3420,3454,3492,2855,2193,2486,2973,3112,3330,3471,3083,2618,2304,3239,3385,2813,3189,3671,3703,3692,3662,3323,2713,2474,1907,1860,2546,2544,2556,2445,2383,2137,1835,1733,1825,2235,2234,2270,2374,2148,1947,2323,2312,2283,2120,2262,2526,1945,1147,1357,1650,1982,1983,2558,2100,1823,1669,1712,1950,2257,2791,2630,2026,2062,2055,2307,2245,2285,2858,3249,3056,2603,2361,2094,2042,2542,2984,2619,2433,2697,2703,2621,2157,2394,3272,2820,2900,2972,2472,2343,2721,2644,2097,2098,2222,2098,2116,2708,2642,2510,2503,2429,2303,2260,2308,2284,2379,2431,2734,3209,3570,3299,2928,3234,3361,3098,2896,2709,2409,2222,1941,1825,1980,2006,1815,1782,1862,2097,2164,2124,2215,2382,2521,2462,2580,2818,2770,2802,2869,2710,2998,2986,2584,2047,1660,1947,2120,1932,2045,1810,1746,1753,1759,1739,2032,2520,2196,1736,1865,1997,1740,1592,1825,2148,1959,1960,2490,2852,3011,2934,2902,2943,2541,2172,1762,1710,1787,1942,1887,1997,2350,2343,2161,2128,2497,3220,3598,3444,3019,2515,2235,1938,2164,2529,2751,2663,2609,2503,2666,2324,2194,2337,2358,2360,2338,2821,2877,2830,2940,2345,2111,2329,1988,1906,2077,1828,1422,1933,2076,1955,2132,2160,2016,1921,1969,1864,1835,1871,1931,1910,1712,1656,1699,1482,1446,1428,1543,1757,1515,1366,1548,1657,1436,1330,1568,1821,1789,1879,2406,2595,2194,2501,2315,2084,2017,1724,1614,1820,2254,2396,1654,1702,1526,1478,1580,1428,1574,1813,2104,1983,1922,1953,1946,1999,1895,2154,1967,1882,1655,1467,1946,2352,2906,3495,3199,2680,2122,1760,1947,2008,1649,1632,1556,1754,2041,1761,2110,2210,1821,1865,2045,1813,1589,1628,1834,1769,2162,2163,1675,1666,1706,2271,2920,3089,3394,3485,3447,3710,3499,2999,2129,1339,1034,1937,2696,3040,3411,3107,2388,2562,2494,2450,2524,2567,2707,2268,1903,2292,2597,2077,1820,1853,2077,2602,2534,2678,2750,2444,2811,2508,2154,2121,2421,2699,2456,2382,2448,1932,1795,1889,2046,2212,2280,2185,2361,2132,2164,2357,2238,2223,2438,2542,2479,2522,2445,2209,1930,1869,1681,2009,2173,1703,1599,1404,1423,1851,1648,1650,1535,1783,1822,1808,1870,2079,1780,1374,1655,2293,2230,1813,2066,2156,2981,2603,2154,2031,2730,2828,3010,2781,1801,1504,1660,2051,2163,1769,1595,1996,2443,2265,2067,2261,2110,1559,1620,1959,1687,1397,1691,2016,1814,2249,2017,1909,1692,1417,1581,1868,1745,1638,1482,1411,1708,1762,1800,1840,1643,1809,1675,1515,1509,1380,1566,1590,1501,1629,1610,1658,1555,1808,1816,1602,1812,2397,2581,2586,3137,3583,2893,2823,2552,2450,2632,2991,2589,2558,2721,2466,2319,2094,2531,2755,2228,2440,2470,2022,2148,2402,2840,3152,2721,2363,2682,2932,2996,3012,3248,3586,3451,3216,3255,3421,3073,2658,2564,2691,2631,2669,2736,2326,1939,1771,1674,1339,1343,1619,1461,1618,1583,1840,2088,1931,1652,1788,1879,1769,1480,1505,2005,2381,2125,1635,1576,1647,1793,1794,1448,1399,1442,1746,1747,1869,1557,1555,1382,1284,1360,1472,1601,1636,1555,1720,2042,2046,1700,1244,1240,1347,1426,1390,1325,1523,1592,1416,1515,1588,1529,1440,1533,1969,1827,1345,1267,1503,1591,1442,1731,1917,1503,1377,1358,1334,1543,1548,1416,1365,1592,1831,1735,1713,1709,1647,1622,1453,1533,1866,1932,1686,1792,1978,2030,1515,1301,1487,1658,1727,1762,1788,1957,2187,1749,1660,1693,1533,1699,1652,1649,1463,1534,1528,1337,1439,1572,1558,1390,1466,1507,1484,1506,1533,1571,1460,1416,1372,1420,1524,1375,1798,2703,2102,1525,1599,1637,1683,1700,1610,1554,1470,1411,1689,1429,956,1295,1462,1292,1149,1273,1404,1336,1341,1542,1527,1633,1769,1371,1346,1611,1450,1539,1844,1805,1925,2194,1930,1618,1575,1730,1970,2097,2389,2462,1920,1778,1833,2697,2718,2665,2597,2315,2011,1953,2812,3150,2442,2081,2520,2991,2723,2703,3349,3264,2625,2062,1663,1375,1455,1864,1753,1817,1679,1948,2204,2541,3023,2692,2116,1792,1641,1707,2009,1808,1808,1669,1895,2258,2044,1510,1496,1625,1413,1353,1615,1573,1499,1525,1550,2072,2459,1946,1803,2205,1628,1956,2621,2324,1814,2493,3306,2981,2337,2143,2038,2925,3279,3439,2835,2390,2610,2642,2277,2258,2857,3551,3250,2034,2624,2473,2170,2003,2405,2554,2776,2395,1723,2123,2356,2754,1813,2161,1982,2355,2015,1597,1569,1391,1854,3395,3959,3765,3106,2656,2287,2137,2288,1846,1529,1552,1857,1654,1823,2503,3028,3815,4087,4153,3863,3229,2822,2655,2517,2127,2143,2297,2877,2864,2729,2370,1870,3209,3058,2663,3343,3152,3055,2731,1676,1059,1249,1407,1653,2198,2341,2432,3031,2932,2156,1830,1598,1532,1570,1516,1358,1277,1815,2724,3168,2813,2411,2435,3005,3436,3338,3221,3816,3754,2952,2189,1838,1879,1958,1441,792,977,1649,2096,2337,1938,1576,1209,1068,1033,1608,3176,3440,3935,4116,4212,4465,4525,4597,4257,3993,3869,2707,1177,590,469,396,387,349,350,358,347,357,355,345,365,393,433,449,451,514,480,472,447,448,446,429,416,430,457,490,513,522,519,519,506,492,460,425,415,415,468,494,504,533,659,785,770,917,908,851,983,909,931,1068,1055,921,838,891,924,805,724,784,753,740,671,677,783,894,1075,1061,1030,1104,1154,1166,1183,1300,1381,1437,1280,1254,1115,1193,1550,1597,1360,1193,1264,1585,1794,1719,1773,1925,1985,1876,1582,1474,1469,1276,1132,1188,1167,1136,1288,1328,1359,1213,1040,936,870,857,848,801,738,708,699,697,715,737,741,775,792,823,829,847,942,1019,1224,1435,1484,1401,1164,1039,846,771,794,975,920,815,736,714,769,896,970,964,990,1009,1066,1084,1210,1486,1538,1436,1426,1370,1266,1308,1288,1164,1107,1225,1755,1736,1504,1283,1423,1326,1148,1162,1179,1076,941,855,802,883,820,762,721,708,647,645,681,725,767,789,805,787,680,590,505,518,568,745,947,1387,1756,1920,1549,1080,1151,1407,1338,1400,2214,2958,3637,3857,3561,3559,2657,1969,1804,1482,1343,1408,1576,1574,1707,1927,3461,4900,5205,3260,1110,620,566,494,479,463,454,438,458,407,385,379,374,389,403,392,444,532,442,395,405,404,420,407,404,366,416,495,442,380,367,343,317,308,321,335,325,313,326,343,373,380,341,333,364,366,343,325,355,327,323,375,364,356,343,364,352,300,301,299,292,295,304,309,306,296,298,301,313,339,368,358,392,514,423,360,434,454,467,506,541,577,581,575,580,540,587,711,660,672,637,591,565,543,511,479,479,507,515,509,510,485,465,469,462,578,511,441,448,483,543,527,570,595,551,467,456,443,417,387,355,320,301,307,318,319,324,327,329,331,335,335,324,320,320,322,323,330,332,345,359,372,386,405,401,406,418,428,449,431,408,410,411,419,424,424,432,441,453,488,519,529,512,496,498,516,548,559,543,577,694,780,724,651,618,614,563,574,584,602,579,518,473,448,423,418,428,443,457,444,416,400,397,404,439,440,403,431,429,448,476,496],[2358,2980,3395,3718,3793,3860,3903,3732,3399,3161,4008,4350,4323,3808,3356,3629,3705,3516,3480,3728,3914,3362,3046,3111,3870,4060,3337,2629,2599,2956,2864,2319,2107,2106,2205,2312,2046,2207,2377,2382,2853,3458,3394,2937,2565,2578,2158,1997,2165,2365,2448,2492,2540,2252,2288,2453,2809,2944,2750,2115,1969,2214,1928,1965,2020,2238,2454,2304,2314,3073,3209,2714,2834,2742,2412,1874,1777,2449,2742,2799,2646,2545,2611,2508,2270,2075,2112,2400,2669,2495,2366,2064,1914,2153,2845,3096,2188,2437,2823,2698,3595,3853,3440,2916,2393,2110,2211,2331,2007,2213,3058,3517,3328,2852,2758,3162,3930,4108,3748,3204,3310,3130,3206,2639,1907,2007,2294,2687,3376,3395,3120,3053,2989,2844,2967,2842,2810,2710,2666,2624,2618,2802,3216,3663,3393,2689,2534,2526,2923,2765,2818,2756,2554,2956,3118,3386,3908,3801,3780,3803,4015,3706,3583,3569,3705,3737,3444,3079,2632,2003,2438,2619,2632,2977,3096,2907,3086,3260,3130,3146,3330,3513,3738,3874,3378,2211,2294,2831,3272,3454,3292,3574,3709,3073,2632,2469,2609,2641,2470,2460,2279,2327,2713,2191,3196,3684,2915,3048,3970,3558,2918,2632,1612,1078,1190,1498,1678,1672,1658,1274,826,517,539,743,933,919,1729,2919,2751,3039,2488,1616,2244,2644,2414,2553,2770,2434,2233,2219,2036,2226,2917,3134,2810,2056,1968,2029,2676,2640,1880,1715,1852,1725,1997,2397,2039,2107,2046,1789,1940,2796,3006,2927,3041,3060,3298,3489,3327,2982,2792,2920,3322,3630,3666,3522,3552,3663,3663,3465,3602,3176,2491,2548,2420,2420,2950,3052,2664,2226,2078,2096,1759,1485,1676,2088,2260,2169,2011,2256,2559,2790,2962,2602,2658,2593,2896,3146,3325,3032,2584,3016,3694,3798,3327,3018,2418,2698,2326,2280,3240,3735,3217,3396,3685,3526,3373,3065,2877,2776,2534,2238,2085,1777,1928,2150,2492,2527,2498,2718,2809,2729,2504,2172,1514,1613,2641,2734,2790,3184,2248,1543,1929,2069,2204,1973,2216,2207,2238,2021,1911,2005,2007,2349,1956,1290,1328,1408,1804,2449,2696,2413,2388,2143,2329,2889,2871,3004,3560,3739,3753,3658,3526,3104,2827,2842,2674,2474,2457,2453,2381,2610,2733,3198,3100,2459,2612,3017,3181,2984,2203,2711,3570,3718,3640,3571,3563,3739,3334,2906,3017,3435,3635,3804,3774,3265,2718,2171,2255,2341,2441,2997,3494,3543,3317,3176,2844,2281,2349,2430,2128,2452,2601,2557,2386,2353,2286,2301,2445,2187,2309,2265,2231,2137,2407,2341,2382,2286,1980,2037,2156,1900,1358,1317,1830,1835,2111,1946,2383,2004,1765,1678,1655,1811,2070,2469,2330,2039,2167,2403,2464,2159,2240,2541,2622,2521,2857,3146,2349,2041,3162,3205,2244,2207,2272,2062,2349,2349,2620,2684,2600,2963,2844,2137,2007,2491,2758,2363,2236,2479,2480,2577,2880,2778,2614,2674,2591,2358,2371,2480,2342,2277,2513,2942,2866,3144,3167,2985,3056,3044,2986,3173,3340,2922,2736,2524,2950,3205,3112,3196,3066,2817,2929,2949,2752,2626,2744,2436,2519,3169,3044,2143,1566,1509,1785,2234,2286,2323,2172,1481,1698,1864,1781,2171,2225,2561,2248,1830,1626,1892,2377,2188,1551,1751,1931,1829,1599,1747,1854,2049,2140,2181,2662,2920,2614,2729,2938,2954,2776,2469,2124,1825,1685,1685,1704,1745,1932,2065,2302,2599,2863,3023,3354,3207,2367,2001,1808,2302,3189,2741,2292,2293,2411,2446,2164,1836,1898,1961,2141,2562,2477,2442,2179,2568,2316,2170,2321,2122,1809,2008,1738,1640,2470,1898,1664,1877,2029,2018,2011,2104,2029,1775,1632,1687,1566,1418,1620,1624,1404,1503,1454,1421,1368,1334,1470,1576,1412,1412,1754,1913,1754,1568,1934,2519,2426,1947,2095,2025,2138,1874,1622,1634,1282,1468,1971,1689,1690,1388,1388,1450,1501,1626,1651,1831,1872,1990,1918,1909,2016,1968,2245,1953,1743,1459,1468,1793,1830,2340,3266,3063,2470,2181,1736,1869,1974,1701,1774,1662,2040,2019,1926,2278,2156,1838,1838,1967,1654,1552,1599,1684,2092,2233,1648,1425,1507,2031,2806,2988,2766,3050,2987,3060,3398,3814,3760,3311,2283,1737,2364,2835,2908,2820,2604,2556,2840,2507,1867,1603,2524,2522,1938,2263,2796,2646,2370,2240,1820,2105,2699,2644,3075,3159,3012,2989,2357,1787,1883,2524,2897,2564,1987,1812,1558,1559,1764,1919,1836,1749,2046,2274,2299,2347,1987,1975,1953,1869,2140,2323,2270,2270,2213,1985,2004,1919,2269,2368,1957,1673,1630,1690,1714,1732,1764,1603,1621,1559,1751,2267,2566,2113,1533,1635,2036,2185,2317,2115,2322,2052,1653,1677,2193,2382,2378,2579,1968,1515,1672,1910,1830,1898,2115,1803,1703,1736,1802,1952,2233,2209,1691,1587,1582,1546,1521,1547,1914,1878,1753,1540,1810,1857,1527,1428,1539,1442,1472,1449,1708,1909,1767,1650,1700,1722,1770,1640,1568,1522,1486,1738,1456,1395,1473,1573,1513,1406,1747,2149,2077,1885,1982,2132,2444,3018,3596,3242,2608,2409,2347,2217,2854,3262,3040,2544,2252,2275,2348,2578,2460,2518,2336,2610,2398,2134,2328,3018,3522,2911,2212,2746,2928,2646,2496,2928,3243,3215,3168,3213,3052,2741,2608,2556,2568,2396,2214,2358,2580,2396,1954,1581,1438,1505,1505,1478,1554,1866,2347,2165,2151,2009,2234,2399,2104,1697,1876,2311,2330,1961,1599,1460,1566,2006,2176,1599,1223,1526,1908,1836,1543,1472,1869,1807,1432,1321,1391,1390,1400,1739,1795,1979,1635,1351,1175,1295,1338,1359,1428,1488,1569,1392,1463,1360,1273,1326,1383,1424,1490,1636,1608,1463,1766,1917,1648,1686,1698,1526,1348,1416,1386,1502,1378,1366,1466,1473,1428,1622,1671,1612,1571,1678,1391,1746,1823,2042,1752,1537,1874,2288,2283,2077,1986,1802,1802,1933,1815,1695,1709,1539,1344,1387,1397,1505,1704,1777,1676,1650,1528,1310,1262,1466,1424,1349,1564,1651,1658,1597,1472,1438,1378,1469,1494,1493,1460,1346,1969,2808,1869,1309,1679,1766,1496,1424,1495,1659,1620,1554,1851,1708,1253,1531,1563,1571,1394,1310,1630,1608,1564,1762,1612,1819,2191,1603,1425,1635,1647,1834,2167,2153,1910,1736,1604,1477,1636,1882,1972,2041,2746,2387,1946,1996,2214,2805,3031,2813,2347,1618,1863,1733,2097,2147,1868,2604,3260,3187,2619,2362,2930,3364,3000,2035,1444,1295,1480,1934,1708,1651,1742,2092,2198,2490,2555,2127,1654,1576,1824,1646,1651,1414,1704,1949,2456,2850,2366,1735,1599,1626,1384,1411,1754,1802,1565,1922,1976,2003,2360,1927,1853,2118,1918,2117,2510,2131,1778,2498,3295,2753,2303,1756,1504,1903,2286,2466,2215,2373,3146,2787,2325,2483,2490,3173,2808,2313,2940,2846,2272,1969,2381,2491,2296,2078,1930,2192,2065,2251,1644,1714,1982,2393,2158,1775,1693,1631,2374,3604,3100,2921,2501,2265,2510,2133,2280,2115,1780,1898,1996,1808,2094,2769,2993,3875,4223,4312,4275,3720,2652,2529,2498,2048,2004,2950,4094,3575,2321,1678,1631,2832,3096,2705,2573,2351,2611,2930,2210,1138,1331,1660,1887,2221,2119,2164,2946,2939,2370,2084,1772,1687,1712,1792,1681,1521,1645,2168,2964,3275,2820,2287,2345,2619,3054,3122,3406,3890,3188,2121,1880,1918,1901,1851,1230,814,1224,1825,1969,2056,1897,1361,1108,1021,1538,3194,3072,3469,4082,4419,4495,4552,4548,4467,4452,4389,3632,1765,612,466,404,375,351,336,330,338,356,360,351,357,390,411,431,450,499,483,465,457,447,429,418,414,428,449,467,489,511,529,532,525,504,464,423,408,411,456,487,522,541,599,784,766,927,909,825,914,917,902,990,1057,976,872,844,913,837,707,738,770,764,742,692,756,886,1012,1058,999,1080,1128,1149,1182,1302,1410,1454,1375,1268,1182,1152,1385,1636,1480,1244,1216,1432,1772,1694,1623,1831,1969,1847,1583,1438,1433,1302,1080,1179,1288,1119,1181,1279,1365,1235,1024,905,858,819,802,785,735,692,657,675,686,713,755,818,842,817,805,827,891,955,1050,1256,1406,1398,1206,1134,946,773,732,876,898,814,756,695,717,786,874,964,1000,1020,1059,1079,1170,1432,1652,1566,1435,1434,1289,1296,1319,1201,1071,1067,1802,2213,1771,1317,1382,1392,1281,1236,1203,1096,928,840,833,882,839,747,711,721,670,644,683,717,770,814,800,805,707,649,547,514,543,714,914,1207,1520,1475,1163,955,1037,1241,1247,1556,2314,2745,3365,3637,3972,3860,2830,2260,2092,1615,1467,1383,1450,1430,1426,1494,2383,4156,5068,3160,1027,591,568,515,487,457,455,445,465,429,385,372,374,399,419,421,426,465,443,391,408,419,421,408,404,380,407,470,433,405,377,341,321,319,320,331,328,318,329,340,381,419,390,359,394,411,415,327,358,371,345,368,391,383,388,434,409,338,330,306,298,296,306,308,303,314,315,325,359,391,422,447,408,501,451,377,418,445,449,477,489,509,563,636,670,565,565,682,642,651,642,603,573,547,526,499,486,490,482,493,510,499,480,494,489,607,545,497,532,568,639,539,545,570,587,506,519,495,457,425,377,329,297,302,309,305,304,306,310,317,323,321,317,320,320,321,324,334,341,349,360,370,373,379,383,383,400,406,444,442,402,403,411,397,394,401,410,427,444,472,529,555,522,519,529,543,564,576,562,548,650,771,752,680,622,563,551,551,539,562,563,514,466,450,437,440,453,486,501,477,444,423,416,427,454,463,430,457,483,509,522,518],[2680,3241,3586,3848,3764,3464,3758,3540,3322,3603,4244,4404,4164,3701,2961,2753,3217,3000,3499,3881,3662,3562,2958,2805,3608,3951,3669,3195,2666,2238,1686,1844,2243,2246,2520,2380,2223,2350,2330,2399,2978,3451,3518,2784,2459,2874,2264,2501,2833,2762,2587,2668,2643,2537,2277,2312,2362,2230,2486,2495,2481,2017,1992,2901,2759,2495,2490,2307,2204,2668,3119,3169,3095,2732,2627,2089,1911,2146,2507,2846,2562,2567,3034,3198,2874,2482,2383,2497,2575,2370,2054,2156,2065,2035,2445,2451,1958,2258,3039,3095,3681,3343,2709,2313,2112,2101,2320,2780,2851,2401,2401,2907,3248,3528,3502,3141,3749,3909,3699,3459,3285,2931,2921,2979,3006,2808,1994,1725,2881,3238,2924,2721,2749,2613,2740,2566,2406,2276,2473,2720,2733,3053,3550,3570,3043,2588,2815,2753,2931,2814,2709,3021,3261,3002,2556,2783,3472,3446,3737,3704,3812,3573,3477,3262,3449,3707,3616,3522,2690,1486,2321,2667,2879,2842,2806,2828,3018,3135,3000,2894,2895,3349,3928,3839,3360,1968,1761,2027,2338,2136,2316,2830,2853,2279,2253,2601,2620,2452,2309,2609,3416,3465,3395,2879,3354,3708,4018,4720,4797,4036,3363,2630,1758,1378,1865,1987,1321,745,572,450,507,805,993,939,744,503,895,2298,2317,2297,2225,2253,2544,2382,2419,2983,2912,2475,2590,2104,1803,2088,3161,3044,2230,1996,1751,1637,1881,2235,2339,2142,2222,1963,2049,2313,2136,2280,2390,2236,2872,2792,2364,2480,2169,2147,2679,2959,2918,2833,2924,2781,3111,3836,3938,3694,3754,3703,3482,3153,2863,2346,2412,2645,2189,2320,2509,2579,2139,2176,2644,2411,2002,1832,1803,2130,2154,1765,1738,1900,2648,2985,2824,1902,1931,2164,2426,2511,2678,2847,2614,3330,3574,3341,2683,2137,2097,2225,1654,1737,3087,3752,3344,3078,3124,3066,2789,2583,2811,2673,2222,2010,2014,2002,2241,2632,2788,2655,2597,2516,2112,1839,1985,2326,1666,1693,2141,2258,3121,3611,2533,1653,1753,2225,3113,3045,3017,2583,2489,2101,2046,2138,2215,2296,1788,1562,1622,1899,2281,2610,2929,2589,2821,2828,2687,3043,3000,2861,3165,3112,3562,3638,3686,3405,2945,2875,2675,2921,3137,2941,2592,2603,2710,3159,3548,3067,2731,2828,3218,3357,2542,2643,3373,3498,3642,3635,3738,3791,3463,3066,3239,3750,3815,3775,3630,3315,2653,2264,2395,2710,3116,3282,3260,3082,3088,2765,2719,2189,2115,2373,2326,2152,1938,2032,2288,2458,2402,2402,2540,2458,2696,2510,2211,2255,2505,2465,2498,2635,2401,2207,2066,1906,1813,2059,2383,2411,2186,1911,1996,1942,1931,1808,1780,1797,2099,1994,1747,1684,1942,2671,2875,2485,2285,2441,2923,2963,3116,3121,2407,1571,2093,2076,1925,1854,1714,2374,2611,2758,3008,2458,2459,2801,2184,2140,2249,2501,2480,2387,2822,3366,3507,3536,3480,3158,2799,2744,2667,2468,2388,2404,2298,2383,2593,2715,2602,2702,2808,2930,3042,3005,3011,3151,3163,2727,2512,2776,3397,3543,3113,3049,3243,3216,2920,2425,2386,1994,2189,1983,2243,2857,2449,1418,1165,1292,1396,1822,2225,1695,1676,1850,1716,1864,1772,1924,2620,2898,2530,2155,2016,1729,2034,2482,2230,2093,2172,2098,2004,1983,1851,2143,2674,2733,2519,2438,2229,2469,2643,2713,2270,2116,2271,2429,2308,2080,1794,1748,1703,1880,2007,2168,2382,2459,2613,2762,2378,1953,2050,2507,2807,2705,2699,2802,2754,2585,2444,2024,2026,1883,2227,2800,2791,2837,2251,1903,2165,2353,2482,2162,1844,1970,1818,2090,2222,1593,1622,1911,2019,2077,2104,2169,2073,1681,1468,1396,1445,1566,1585,1468,1264,1447,1534,1466,1562,1501,1577,1841,1678,1781,1723,1613,1393,1387,1864,2493,2584,2520,2343,2178,2172,1707,1575,1724,1170,1299,1625,1788,1606,1432,1449,1471,1858,1990,1832,1937,2067,2205,2053,2171,2088,2415,2307,1676,1562,1445,1498,1859,1804,1973,3054,3105,2624,2199,1629,1704,1936,2165,2061,1622,1665,1715,2102,2231,1857,1740,1731,1908,1821,1661,1557,1742,2351,2327,1846,1509,1659,2569,2756,2688,2647,2673,2678,2710,3011,3773,3994,3751,3204,2766,2906,3252,3229,2509,2381,2454,2819,2622,1896,2120,2725,2292,2114,2779,3164,2842,2703,2765,2464,2600,2700,3074,3294,3124,2833,2409,1999,1530,1540,2196,2777,2585,2072,1809,1651,1665,2147,2344,1961,2017,2232,2167,2404,2696,2259,2254,2026,1764,2103,2376,2243,2200,2055,1938,1889,2054,2301,2212,2184,1782,1917,2051,1663,1459,1520,1539,1592,1586,1798,2414,2663,2216,1522,1559,1992,2548,2497,2012,1886,1763,1399,1387,1548,1612,1865,2007,1552,1791,1889,1836,1627,2091,2104,1685,1825,2009,1824,1739,2189,2097,1873,1885,1704,1633,1526,1473,1524,1878,2113,2106,1886,1598,1397,1447,1589,1447,1402,1430,1680,1856,1675,1560,1509,1615,1843,1826,1505,1334,1402,1568,1429,1483,1627,1559,1520,1760,2072,2230,1997,1898,1945,1927,2445,2964,3425,3204,2453,2329,2284,2763,3108,2753,2533,2915,3239,3007,2685,2723,2533,2778,2456,1966,2041,2196,2308,2835,3078,2978,2645,3105,3217,2796,2347,2500,2751,2762,2599,2493,2415,2333,2464,2574,2646,2300,2093,2038,2037,1830,1688,1711,1526,1432,1366,1366,1492,2042,2299,1732,1803,2126,2298,3080,3064,2325,2230,2666,2732,2282,2072,1764,1902,2302,2105,1744,1344,1676,2115,1924,1806,1791,1605,1597,1922,1975,1453,1461,1532,2280,1917,1690,1592,1623,1550,1522,1557,1487,1670,1876,1698,1427,1552,1301,1309,1413,1448,1503,1456,1570,1670,1557,1794,1742,1498,1519,1780,1635,1396,1522,1422,1304,1294,1485,1516,1353,1416,1462,1663,1751,1593,1617,1843,2126,1930,1821,1683,1764,1967,2617,3348,3487,2844,1381,1613,1654,1672,1624,1543,1430,1348,1467,1577,1634,1876,1716,1680,1786,1698,1528,1387,1611,1562,1554,1787,1865,1786,1604,1403,1401,1355,1304,1600,2010,1503,1405,2254,2403,1712,1370,1565,1733,1552,1444,1516,1486,1591,1591,1685,1699,1652,1792,1806,1886,1785,1481,1611,1483,1413,1371,1281,1671,2147,1830,1456,1414,1949,2182,1708,1881,1863,1606,1531,1655,1923,2257,2420,2526,2659,2049,2172,2600,2289,2322,2564,2469,2258,1745,2160,1672,1746,1777,2498,3286,2793,2290,1998,1741,2072,2714,2917,2285,1663,1423,1543,1665,1742,1704,1790,1846,1765,1802,1973,2186,1990,1627,1875,1616,1504,1388,1873,1969,2232,2544,2244,2032,1802,1679,1531,1470,1865,1970,1881,1919,1932,1887,1934,1910,1858,1864,1855,1975,1951,1879,1726,1596,1785,2131,2060,1728,1626,1542,1503,1281,1581,2609,2891,2410,2141,3028,3112,3242,2508,2304,2797,2788,2178,1897,2486,2766,2811,2189,2186,2265,2240,2222,1861,1664,2222,2584,2048,2116,1996,2004,2325,2880,2207,2389,2293,1997,2202,2238,2422,2615,2396,2328,2283,2005,2119,2917,2985,3855,4101,3765,3627,3254,2668,2386,1885,1736,2194,3721,4232,3530,2167,1724,1762,2444,2919,2512,2532,2769,2556,3044,3145,1880,1074,1430,1819,2002,2126,2303,2858,2851,2317,1972,1932,1810,1929,1914,1559,1590,2149,2754,3216,3555,3471,2705,2247,2325,2664,2862,3020,3414,3301,2240,1801,1960,1828,1806,1674,1270,1203,1576,1840,2016,2011,1660,1220,1479,2503,3438,3713,3824,3791,4085,4273,4293,4580,4644,4588,4484,3617,1584,633,455,408,373,348,338,329,339,361,374,358,348,372,395,420,441,478,494,460,453,460,434,428,418,419,437,447,473,494,530,530,519,507,471,436,407,402,457,477,522,554,610,777,745,912,908,809,846,890,909,967,1057,1048,948,832,877,856,719,712,787,809,807,744,738,846,956,1062,949,1036,1147,1172,1183,1300,1383,1528,1520,1356,1346,1263,1232,1641,1703,1350,1245,1411,1823,1806,1695,1772,1848,1842,1686,1470,1360,1353,1197,1227,1260,1143,1106,1207,1318,1231,1012,871,801,766,774,765,728,702,636,656,663,669,733,821,831,800,795,801,830,913,962,1079,1297,1377,1239,1159,984,793,728,794,833,808,806,704,678,719,802,922,949,1015,1066,1112,1169,1316,1615,1697,1535,1466,1302,1265,1320,1272,1173,1015,1426,2088,2021,1531,1404,1454,1487,1430,1347,1222,1012,890,843,888,895,814,750,728,689,646,679,688,741,850,790,781,717,656,563,537,575,660,812,1045,1361,1338,1047,916,947,1134,1291,1597,2007,2388,2813,3549,4334,4321,3475,2613,2284,1805,1464,1388,1429,1351,1245,1345,1811,3249,4720,3018,1012,577,567,531,494,463,456,457,469,439,399,419,430,434,448,450,443,427,442,412,415,430,421,411,400,394,401,453,434,425,386,337,320,327,327,335,334,324,331,368,413,441,444,424,466,444,433,359,358,401,380,360,387,396,369,375,397,368,339,319,314,309,312,319,336,334,349,403,448,468,469,493,433,466,473,395,384,426,427,460,474,523,641,676,633,544,578,615,598,646,656,584,532,529,533,516,507,485,462,478,489,476,468,530,559,616,642,570,577,626,747,602,582,558,608,562,553,527,461,437,395,345,306,303,303,300,287,293,302,308,323,326,322,321,320,324,327,334,351,355,357,360,359,362,368,368,383,401,423,428,416,380,415,395,386,400,416,425,462,465,508,591,544,538,543,574,597,615,615,547,610,740,749,677,607,563,521,491,482,512,528,499,470,448,432,418,434,481,483,467,476,477,462,450,457,456,463,485,515,535,536,519],[3242,3156,3450,3613,3615,3606,3747,3567,3287,3537,4268,3762,3239,3597,3086,3001,3509,2972,3517,3596,3247,3571,3686,3339,3316,3525,3558,3566,3066,2128,2060,2612,2530,2476,2728,2408,2215,2382,2178,2437,3062,3029,3242,3157,2942,2663,2395,2674,3056,2991,2822,2655,2682,2527,2097,2316,1991,1776,1903,2172,2259,1795,2448,3852,3304,2149,2148,2044,2031,1887,2496,3586,3475,2989,2494,2134,2411,2447,2504,2663,2220,2619,3309,3493,3096,2436,2621,2743,2946,3105,2398,2179,1904,1953,2642,2780,2721,3017,3157,2958,3065,3204,3020,2292,1869,1852,2217,3041,3405,3220,3068,3614,3904,3717,3539,3275,3420,3453,3374,3159,2933,2818,2771,3228,3391,2674,1518,927,2250,3008,2823,2647,2574,2444,2228,2143,2238,2414,2734,2650,2643,3071,3602,3508,3176,2961,2852,2879,3064,2588,2362,2908,2751,2610,2432,2566,3269,3628,3695,3665,3404,3095,2752,2414,2596,3117,3012,2924,2317,2036,2433,2627,2779,2490,2575,2890,2874,2873,2843,2973,3582,3815,4112,3948,2921,2076,2041,2121,1742,1826,2062,2113,2178,2397,2819,3284,2768,2619,2510,2482,3296,2903,3049,3169,2868,3183,3897,4614,5064,4556,3150,1522,1256,1905,2050,1466,1252,1042,775,768,912,839,562,366,424,592,1020,1535,1698,1963,2743,2544,2315,2758,2854,3248,3110,2438,2276,1666,1758,3056,3296,2508,2141,1868,1494,1682,2131,2713,2594,2447,2587,2220,2468,2443,2200,2577,2940,2895,3197,2459,1870,1873,1762,1741,2314,2677,2854,2853,2819,2753,3219,3762,3801,3923,4070,3745,3407,3495,2996,2401,2197,2048,2010,2280,2414,2533,2242,2186,2339,2245,2196,2093,2150,2648,2242,1714,1650,1849,2544,2978,2322,1488,1795,2281,2159,1768,2214,2858,2876,3382,3459,3274,2517,1911,1786,2048,1938,1869,2679,3392,3218,2590,2436,2680,2533,2169,2097,2233,2354,2150,1843,1990,2165,2840,3010,3028,2722,2260,1816,1759,1989,1859,1387,1591,1731,2040,3088,3652,2769,1959,1724,2348,2920,2534,2226,2168,2357,2344,2289,2416,2689,2588,1825,1863,1887,2520,2492,2653,3232,3055,3149,3340,2908,2908,3028,2755,2518,2046,3407,3511,2918,2722,3007,3107,3027,3253,3320,3059,2577,2664,2740,3405,4068,3618,3104,3140,3812,3509,2415,2277,2978,3438,3682,3631,3710,3588,3552,3430,3426,3278,3370,3252,2973,3372,3355,2789,2643,2978,2964,3016,3131,3051,2996,2881,2586,1880,1909,2289,2093,2011,1821,1691,2023,2534,2512,2297,2297,2469,2706,2407,2009,1797,2061,2548,2574,2256,2288,2127,2316,2588,2602,2500,2747,3133,2479,1680,1610,1672,1664,1829,1953,1861,2223,1665,1699,1900,2183,2639,2742,2675,2479,2691,3043,2786,2711,2846,2590,2185,2273,1978,1821,1729,2031,2789,2758,2108,2203,2334,2139,2499,2151,2406,2370,2290,2707,3238,3538,3787,3906,3983,3902,3654,2939,2686,2855,2558,2510,2481,2338,2291,2381,2532,2514,2472,2557,2911,3147,3218,3165,3098,3160,2691,2291,2584,3067,3172,2862,2873,3272,3406,3018,2566,2832,2231,2248,2647,2193,2115,1989,1299,1267,1271,1345,1721,2476,2200,2775,2793,2131,1803,2088,2645,2844,2983,2811,2764,2780,1939,2116,2298,2386,2331,2436,2096,1920,1703,1549,2222,2903,2691,2541,2361,2005,2198,2447,2481,1972,1938,2113,2297,2365,2396,2594,2321,1952,1767,1902,2021,2032,2071,2153,2358,2386,2288,2338,2873,3294,3203,3237,3251,3055,2865,2763,2202,1612,1901,2432,2359,2281,2597,2458,2039,2143,2545,2391,2077,2003,1859,1642,1539,1576,1561,1598,1713,1931,2076,2036,1755,1649,1432,1431,1417,1631,1522,1302,1411,1395,1383,1506,1538,1716,1826,1840,2291,2361,2079,1496,1306,1378,1538,1906,2407,2531,2281,2237,2330,1970,1683,1659,1952,1555,1420,1595,1654,1511,1475,1458,1461,1537,1469,1710,1807,1870,1779,1757,2188,2097,2768,2608,1439,1377,1455,1728,1974,2120,2188,2797,3122,2880,2300,1763,1735,1955,2570,2710,1796,1744,1896,2331,1957,1589,1529,1692,1653,1660,1557,1589,2008,2293,2432,2287,1887,2088,2634,2141,2470,2764,2431,2476,2807,3062,3500,3935,3880,3608,3338,2921,3557,3624,2386,2150,2253,2608,2526,1904,1931,2353,2408,2836,2963,2653,2674,2756,2990,2784,2711,2878,3222,3038,2398,1933,1864,1827,1591,1602,1814,2142,2274,2211,2083,2080,2186,2426,2456,2432,2343,2047,1915,2458,2527,2020,1938,2079,2130,2343,2323,2164,2037,1720,1537,1526,2034,2172,1831,1619,1908,1938,1888,1827,1851,1977,1842,1704,1886,2133,2458,2204,1989,1515,1533,2074,2299,2146,2003,2076,2007,1213,1141,1371,1556,1745,1716,1700,1934,2037,2136,1852,1775,1875,1730,1804,1854,1680,1547,1821,1712,1997,1987,1766,1602,1441,1490,1572,1598,1726,2171,2054,1766,1470,1649,1621,1405,1370,1363,1626,1680,1549,1707,1919,2136,2111,1860,1594,1729,1645,1842,2325,2201,1706,1541,1555,1868,2138,2263,2544,2249,2128,1937,2655,2767,2913,2615,2374,2260,2290,2898,2756,2786,2238,2526,3018,2576,2340,2122,2214,2386,2082,1936,2238,2257,2166,2330,2381,2511,2543,2939,3276,2895,2587,2508,2475,2619,2389,2124,2076,2071,2490,2690,2698,2375,2175,1873,1589,1543,1518,1338,1348,1645,1566,1622,1686,2030,2127,1781,1595,1884,2436,3215,3614,3312,2891,2867,3050,3209,3174,2933,2855,2938,2095,1690,1536,1862,1981,1758,1960,1819,1823,1901,2570,2680,1741,1630,1710,2443,2599,2447,2410,2525,2322,1726,1735,1830,1824,1873,1544,1717,1556,1489,1532,1343,1300,1573,1718,1733,1731,1736,1652,1535,1506,1321,1390,1300,1262,1348,1380,1359,1397,1554,1484,1405,1466,1335,1596,1536,1579,1574,1668,1591,1749,1717,1739,2054,2023,2753,3466,3683,2353,1315,2011,2185,2562,2368,1776,1529,1339,1391,1582,1814,2161,2319,2224,1805,1747,2171,2277,2000,1991,2030,2144,2316,2048,1430,1423,1397,1354,1394,1573,1865,1478,1774,2358,2144,1809,1789,1396,1547,1630,1373,1441,1445,1475,1494,1439,1537,1643,1810,1904,1737,1674,1571,1608,1437,1449,1304,1423,1644,1918,1732,1390,1280,2003,2458,1556,1726,1833,1543,1540,2118,2453,2368,2114,2288,2464,2124,2476,2872,1895,1585,1694,2046,2187,1670,1840,1697,2036,2143,2338,2406,1802,1490,1504,1595,1609,2204,3087,3318,2359,1663,1627,1801,1958,1934,1820,1766,1867,1953,2276,2078,1510,1433,1636,1574,1620,2177,2677,2229,2022,2118,2070,2049,1783,2022,2019,1975,2108,2035,2128,1889,1760,1899,1911,1925,1506,1728,2084,2122,2049,2044,1571,1309,1418,1540,1466,1990,2418,2019,1791,1510,1621,2443,2330,2410,2132,2858,3212,3326,2683,2244,2895,3059,1903,1781,2095,2563,2532,1996,1980,2005,2080,2112,2182,2394,2689,2709,2424,2470,2197,2327,2354,2330,2171,2190,1916,1521,1635,2109,2592,3143,2365,2331,2221,2169,2024,2820,2988,3062,2600,2336,2541,2298,2264,2504,2303,2092,2242,3525,3791,3309,2489,2340,2286,2554,2834,2329,2301,2124,2313,3188,3708,2963,1521,1071,1592,2115,2381,2410,2576,2724,2485,2922,3206,1998,1882,1768,1600,1472,1967,2755,2788,3190,3714,3234,2489,2009,2291,2646,2630,2886,3388,2547,1886,1926,1816,1572,1787,1887,1812,1872,1806,1985,2336,2530,2297,2772,3614,3926,4036,4106,4005,4168,3984,3868,4388,4364,4063,4015,2880,1140,533,442,417,380,347,333,331,341,366,383,365,351,358,379,406,444,462,481,471,450,458,442,425,409,416,423,431,446,469,516,507,481,501,489,452,416,408,454,479,525,540,643,780,738,860,922,798,830,858,905,971,1094,1122,1020,862,947,897,737,729,790,791,783,770,720,831,965,1039,999,1014,1148,1204,1204,1284,1350,1456,1496,1390,1448,1378,1198,1500,1798,1524,1329,1521,1880,1935,1795,1764,1726,1784,1660,1500,1331,1312,1222,1378,1319,1136,1080,1098,1172,1165,980,859,810,786,774,755,727,714,652,648,664,658,689,747,785,775,759,756,767,858,929,948,1148,1304,1240,1171,1043,841,757,749,810,837,877,764,664,687,755,873,895,974,1069,1064,1131,1307,1525,1809,1663,1494,1343,1293,1310,1336,1345,1214,1228,1708,1961,1783,1477,1344,1425,1511,1505,1333,1077,946,885,877,910,862,757,726,717,655,669,709,828,929,804,741,714,639,575,563,607,630,733,933,1252,1301,1067,878,869,1051,1285,1523,1866,2144,2552,3452,4112,4404,3625,2887,2221,1657,1444,1378,1351,1216,1063,1293,1707,2714,4677,2898,1046,595,549,540,507,477,464,475,474,443,410,406,399,430,461,458,447,443,455,449,440,431,422,411,397,399,403,437,437,430,391,338,317,325,340,361,352,342,345,388,436,440,447,407,412,405,402,384,364,397,417,375,386,381,347,325,358,331,307,314,316,333,339,342,398,411,444,467,464,455,441,433,411,420,456,434,372,438,473,513,493,609,764,664,537,525,592,621,632,702,710,597,557,532,526,511,502,491,489,485,471,436,440,530,602,607,626,575,571,549,595,587,586,540,594,607,554,529,461,443,412,365,329,315,299,287,286,292,294,307,318,325,323,320,321,328,332,336,352,360,360,360,357,361,368,367,371,391,413,418,425,386,420,416,405,406,420,440,482,489,496,594,562,552,536,579,610,612,613,561,593,702,710,645,576,539,507,487,490,500,502,499,486,465,450,424,428,452,434,488,522,483,469,470,459,449,465,500,524,529,523,511],[3471,3626,3528,3520,3511,3737,3835,3738,3759,4168,4295,3481,2868,3175,3262,3526,3518,3298,3404,3314,3271,3536,3803,3429,3253,3439,3095,3106,2766,2531,2530,2599,2623,2514,2454,1941,1771,2165,1871,2181,2800,2888,2932,2833,2542,2331,1944,2023,2411,2666,2821,2790,2655,2433,2199,2035,1953,1785,1634,1816,2062,1973,2279,3233,3263,1938,1765,1792,2288,2069,2091,2964,3232,2717,2668,2945,3298,2988,2366,2225,2381,3386,3588,3660,3296,3225,3391,3054,2946,2988,2581,2333,2674,2556,2643,2931,2749,2783,2402,2263,2203,2390,2188,1735,1964,2368,2584,3055,3347,3417,3520,3762,3493,3027,3372,3398,3370,3371,2999,2920,3459,3241,2756,3107,3272,2735,1921,1580,2386,2953,2647,2334,2361,2313,2082,2195,2687,2957,2802,2303,2421,2625,3082,3397,3320,2927,2779,3110,3007,2626,2624,3044,3012,2746,2540,2631,3095,3184,3067,3021,2761,2601,2188,1743,2160,2942,2794,2899,2452,2240,2224,2725,2604,2220,2504,2608,2498,2844,3068,3439,3881,3970,4012,4009,2862,2185,2645,2598,2208,2610,2829,2847,3123,3586,3146,3894,3781,3826,3306,2567,2779,3085,3307,3536,3610,3538,4038,4699,4759,4596,2749,1173,939,1693,1638,992,1202,1481,1597,940,664,449,447,663,1163,1591,1807,1567,1651,2033,2384,1995,2017,2701,2767,2710,2618,2120,2001,2030,2699,3186,2410,2046,2079,1861,1731,2170,2939,3197,2790,2680,2566,2198,2212,2523,2552,2315,2280,2862,2832,2264,2078,1914,1618,1605,2031,2547,2663,2635,2662,2911,3245,3416,3758,4069,4086,3739,3587,3858,3034,2088,1742,1723,1844,2266,2402,2192,2172,2140,1938,1893,1771,1851,1921,2227,2421,2145,1746,1820,2094,2451,2285,1482,1642,2252,2226,1707,1865,2321,2351,2496,2677,2684,2470,2096,2007,2272,2416,2403,2697,2784,2765,2651,3049,3028,2532,2012,1930,2221,2601,2513,1923,2177,2417,2943,3127,3324,3129,2600,2172,1953,2046,1819,1523,1734,1951,2440,3156,3184,2453,2294,1880,1853,1788,1580,1610,1895,2147,2166,2173,2675,3252,3000,1904,1668,2107,2493,2360,2496,2863,2745,2935,3264,3118,2863,2842,2878,2929,2868,3418,2978,2230,2254,2974,2973,2864,3414,3452,3342,2808,2965,3215,3848,3928,3675,3686,3886,3952,3440,2743,2630,3155,3238,3362,3428,3457,3570,3517,3588,3603,3233,2940,2907,3394,4052,3861,3324,2967,3217,2733,2656,2888,2980,3154,2999,2455,1670,1382,2158,1642,1523,2007,2047,2073,2214,2142,1969,1930,2068,2142,2071,2176,2324,2336,2516,2285,2702,2435,2005,2104,2232,2276,2335,2570,2828,2419,1933,1846,1721,1663,1960,1960,1879,2230,2176,2415,2732,2667,2464,2336,2443,2453,2511,2735,2657,2459,2442,2366,2244,2048,1829,2009,2554,2868,3055,2877,1819,2291,2493,2158,2125,2040,2254,1874,1592,2294,3006,3332,3658,3771,3773,3820,3793,2933,2554,2546,2500,2450,2253,2302,2431,2736,2986,2598,2447,2436,2726,3041,3217,3242,3167,3122,2728,2329,2287,2525,3052,3068,3218,3523,3603,3218,2984,2843,2670,2877,2930,2380,2497,2451,1727,1834,1644,1785,2168,2504,2364,2525,2732,2415,2217,2473,2494,2408,3079,3186,2600,2830,2659,2547,1997,1792,2103,2599,2330,1787,1890,2296,2526,3008,2553,2721,2352,2142,2444,2657,2609,2259,1962,2226,2436,2122,1708,1903,2474,2575,2374,2051,1813,1851,1903,2035,1945,2078,2231,2518,2843,2903,2897,3011,3230,3061,2874,2723,2155,2137,2425,2322,2353,2214,1881,1592,1917,2265,2402,2074,2313,2167,1918,1821,1597,1494,1422,1268,1503,2018,1946,1804,1803,1701,1643,1533,1371,1436,1441,1390,1460,1553,1365,1493,1614,1561,1247,1241,1806,2125,2140,1790,1547,1692,1829,2161,2497,2443,2045,2185,2140,1769,1610,1765,1884,1617,1404,1401,1401,1376,1540,1677,1792,1528,1427,1631,1636,1681,1711,1698,2059,2149,2665,2619,1453,1371,1530,1893,1881,2273,2496,2724,2900,2570,2003,1542,1692,1983,2258,2430,1693,1832,2199,2753,2443,1814,1583,1584,1593,1815,1785,1952,2267,2127,1936,1854,2299,2723,2272,2177,3135,3329,2702,2854,3673,3841,3650,3709,3625,3470,3400,3308,3045,3207,2853,2547,2444,2614,2520,1930,1665,1754,2416,2834,2912,2608,2469,2763,3173,3100,3090,3338,3044,2151,1503,1405,1606,1665,1699,1706,1428,1563,2335,2841,2574,2216,2066,1964,1968,2014,1807,1434,1216,2188,1969,1566,1844,2003,2174,2552,2601,2309,1798,1649,1321,1632,1652,1624,1364,1337,1494,1541,1851,2051,2060,2326,2379,2134,2474,2774,2326,1935,1658,1470,1476,1955,2046,1725,1642,1830,1891,1424,1207,1409,1585,1835,1877,1838,1946,2276,2217,1852,1968,2292,1953,1667,1457,1642,1576,1325,1421,1587,1532,1531,1457,1473,1538,1428,1461,1459,1770,1707,1718,1579,1638,1573,1434,1440,1466,1637,1754,1625,1660,2071,2080,1800,1674,1820,2032,2216,2643,3352,3287,2680,2053,1936,2066,1908,2183,2654,2485,2266,2102,2553,2563,2571,2745,2696,2264,2041,2455,2684,2634,2436,2431,2416,2722,3030,2630,2329,2062,1832,1702,1996,2199,2433,2496,2526,2445,2620,3084,3240,3049,2916,2657,2404,2324,2124,2092,2136,2122,2443,2620,2557,2420,2304,1892,1460,1362,1359,1459,1577,1859,1753,1625,1588,1707,1658,1567,1537,2214,2967,2867,3082,2989,3066,3083,3385,3406,3493,3293,2559,2210,1761,1607,1904,2337,2428,2329,1829,1728,2027,2094,2461,2298,1913,1850,1734,2513,3098,2958,3292,3428,2852,1834,1698,1549,1481,1484,1422,2022,1844,1550,1639,1359,1329,1557,1902,1734,1614,1583,1620,1772,1677,1475,1408,1227,1239,1351,1377,1426,1435,1474,1488,1377,1368,1322,1535,1494,1417,1556,1474,1444,1750,1851,2199,2376,2366,3040,3376,3241,2057,1494,1550,1739,2266,2208,1745,1780,1505,1840,2056,1909,2055,2979,2479,2070,2151,2562,2405,1736,1792,1978,2315,2202,1638,1498,1400,1456,1519,1588,1751,1553,1413,2296,3219,2392,1807,1909,1638,1754,1621,1644,1696,1471,1352,1373,1339,1489,1533,1589,1657,1578,1681,1725,1758,1687,1709,1616,1533,1526,1542,1415,1326,1260,1495,1646,1499,1743,1879,1937,2331,2491,2336,2063,1710,1873,2406,2396,2493,2846,1993,1541,1432,1730,1820,1626,1540,1718,2000,1728,1921,2493,2050,2009,2248,2158,1659,1589,1836,2802,3043,2148,1717,2084,1997,1731,1570,1810,2201,1857,1754,1542,1373,1531,1692,1701,1888,2300,2240,1929,1919,2258,2292,1885,1707,1943,2143,2404,2405,2074,1844,1970,2054,2008,1917,1905,1660,2050,2295,2043,2042,2206,1863,1732,1773,1613,1956,2241,2166,1858,1908,1937,1936,2598,3186,2994,2690,2856,2877,2887,2554,2946,3278,3104,2679,2168,1809,2185,2460,2298,1976,2193,2389,2309,2557,2956,2843,2746,3077,2361,2062,2021,2604,3073,2622,2171,2065,2011,1967,2030,2467,2728,2360,2199,1945,2347,2918,2946,2711,2529,2235,2354,2141,2098,2138,2197,2248,2024,2480,2762,2941,3187,2757,2364,2318,2486,2438,2297,2327,2720,2506,2679,3505,3715,2546,1392,1532,2278,2257,2144,2301,2646,2788,3589,4148,2320,1502,1702,2033,2497,3687,3892,2961,3370,3661,3511,2801,2211,2266,2541,2510,2641,3375,3182,2285,1851,1831,1641,2133,2110,1943,1980,1688,1838,2226,2733,3295,3680,4058,4172,4320,4407,4316,4573,4400,4111,4057,4239,3483,2230,1252,715,515,433,396,380,349,337,338,352,373,388,376,353,351,368,390,427,450,466,464,456,450,433,414,420,432,419,425,429,445,502,499,464,487,477,455,405,423,460,479,520,545,623,746,745,801,927,794,829,834,904,1002,1145,1168,1137,915,895,952,791,714,742,783,785,778,704,775,966,1045,1054,1035,1107,1183,1194,1248,1332,1406,1477,1422,1477,1442,1230,1384,1758,1666,1403,1402,1709,1876,1730,1696,1570,1673,1568,1498,1321,1232,1216,1336,1265,1107,1064,1027,1021,1084,953,848,800,766,779,749,717,715,669,643,650,645,698,735,759,745,730,725,729,789,880,912,1038,1217,1229,1156,1098,909,785,748,798,822,893,851,722,694,731,801,834,912,1044,1039,1112,1326,1398,1795,1859,1712,1461,1347,1366,1382,1592,1767,1412,1520,1776,1819,1628,1346,1324,1483,1551,1391,1150,974,902,868,900,901,783,716,734,675,686,737,842,862,783,739,725,639,609,592,600,594,679,853,1141,1209,1052,849,861,1113,1316,1523,1871,2005,2540,3436,3739,3669,3055,2858,2309,1577,1281,1251,1226,1107,1027,1431,1750,2566,4396,2759,956,604,510,539,524,491,474,483,487,444,415,406,408,430,450,456,458,453,452,448,445,435,426,409,402,390,405,423,424,422,392,341,316,314,328,386,373,379,375,405,437,434,430,388,367,388,399,411,369,359,434,397,390,370,369,363,384,366,334,355,364,371,365,343,398,426,451,435,412,400,387,384,384,394,439,461,382,463,518,582,544,692,823,667,531,564,602,638,676,750,777,643,557,521,521,502,481,485,511,504,468,445,435,509,612,550,524,506,479,463,479,522,538,518,564,638,574,539,504,459,427,382,357,331,294,282,294,304,300,299,308,320,322,315,319,325,334,341,351,358,358,358,360,366,366,363,362,385,398,427,493,477,449,445,427,425,433,453,500,500,516,583,580,576,532,560,603,607,631,586,564,679,684,625,568,530,502,475,443,445,474,490,493,486,471,460,450,433,461,457,502,477,465,447,431,433,456,497,511,501,486,452],[3365,3728,3670,3461,3349,3488,3602,3513,3812,4447,4355,3917,3030,2810,2975,2733,2629,2812,2920,3399,3312,2930,3197,3453,3312,3606,2834,2234,2419,2666,2452,2413,2664,3107,2928,2007,2753,2989,2272,2413,2734,2814,2514,2142,2119,2008,1498,1332,1789,2369,2809,2820,2680,2537,2272,1831,1910,1884,1862,2056,2109,1873,1672,1909,2119,1747,1687,1764,1945,2162,1925,2687,2753,1956,2481,3060,2941,2285,2158,2415,2693,3376,3430,3517,3374,3908,3904,3150,2785,2471,2046,1772,1911,1525,1990,2448,2135,2203,1942,2099,2383,2319,1994,1968,2260,2721,3005,3292,3362,3432,3426,3415,3054,3129,3475,3215,3164,3077,2758,3115,3515,3388,3100,3347,3143,2546,2460,2666,2662,2518,2302,2170,2292,1930,1872,2308,2932,3109,2631,2101,2636,2902,2852,3124,3500,3422,3306,3227,3254,3131,2686,3110,3280,2749,2596,2862,2908,2344,2318,2654,2228,2108,1996,1842,2264,2861,2467,3050,3494,2630,2084,2309,2168,2170,2147,1758,1875,3000,3292,3807,3186,2818,3245,3647,2750,1865,2396,2426,2408,3055,3385,3116,3482,3680,3112,3216,3262,2964,2578,2474,2998,3537,3172,4097,3927,3254,3673,3929,4011,4236,2684,1238,1036,1706,1872,1447,1568,1644,1357,512,376,530,1162,1765,2350,2756,2248,1668,1899,2076,1895,2005,2359,2757,2664,2427,2324,2018,2097,2784,2949,2211,1872,1860,1664,1746,1700,2172,3208,3244,2542,2697,2288,1923,2144,2547,2817,2666,2521,2896,2654,2667,2376,1787,1649,1808,1937,2395,2613,2652,2744,3008,3250,3160,3586,3696,3650,3592,3494,3489,2990,2035,1576,1841,2188,2292,2081,2032,1885,1987,2078,1541,1260,1477,1474,1765,2168,2186,1933,1899,2050,2314,2066,1750,1842,2436,2548,2119,1942,1917,2026,2200,2180,2193,2293,2316,2467,2554,2504,2567,2786,2596,2818,3328,3437,2857,2251,1989,1949,1875,2336,2533,1948,2233,2775,3167,3356,3264,3166,2568,1776,1816,1865,1794,1996,2656,2519,2858,3319,2996,2482,1980,1616,1478,1356,1472,1866,2360,2260,2410,1931,2116,2501,2362,1829,1843,2043,1977,1829,1844,2020,2090,2609,3376,3277,2906,3132,2768,2260,2470,2828,3200,3406,3184,3129,3118,2741,3441,3264,3406,3182,3225,3203,3579,3670,3506,3624,3646,3376,3177,3320,2909,2962,3003,3128,3062,3256,3741,3636,3684,3632,2893,2511,2731,3300,3774,3689,3459,3460,3464,3082,2761,2700,2573,2702,2675,2987,2534,1886,2578,2192,1685,1876,1903,2154,2332,2187,2112,1958,1857,1833,1829,2536,3038,2723,2176,2397,2995,2591,2093,2114,2168,2276,2141,1908,2492,2151,1791,2173,2018,1780,1912,1780,1842,2092,2115,2245,2385,2138,2486,2612,2678,2448,1902,1935,2195,1886,1804,2228,2232,2049,2150,2609,2978,2964,2828,2888,2704,2945,2864,2262,1873,1819,1741,1761,1653,2004,3040,3187,3482,3681,3513,3754,3565,3021,2865,2696,2818,2377,2087,2293,2253,2609,3176,2800,2551,2490,2656,2950,3062,3062,3019,2942,2923,2498,2392,2764,3410,3197,3406,3603,3554,2802,2304,2604,2730,2819,2897,2599,2620,2907,2226,1965,1780,2238,2900,3088,2705,2844,2965,2457,2698,2535,1969,1852,2068,2360,2699,2780,2728,2585,2059,1925,2325,2786,2396,1810,2227,2908,2362,2445,2614,2592,2495,2685,3229,3164,2698,2214,2072,2236,2321,2092,1397,1413,1688,1980,2363,2499,2463,2130,1950,1788,1844,1836,1920,2030,2272,2580,2735,3186,3370,3182,3344,3173,2731,2774,2163,2064,2391,2077,1721,1985,2138,2194,2475,2440,2197,2360,2957,3248,2278,1731,2064,1778,2011,1937,1823,1925,2019,1969,1970,1664,1572,1714,1446,1356,1353,1628,1525,1547,1503,1223,1222,1353,1432,1452,1748,2050,1920,2005,2308,2427,2426,2313,2056,2239,1978,1684,1613,1720,1586,1453,1375,1362,1418,1516,1527,1549,1654,1674,1519,1565,1505,1611,1735,1836,2030,1951,1923,1894,1520,1444,1565,1775,1788,2336,2832,2784,2492,2337,2004,1693,1676,1887,1925,2017,2288,2316,2293,2810,2663,2024,1780,1550,1548,1537,1739,2156,2172,1972,1711,1866,2321,2504,2821,3372,3960,3749,2856,3418,4377,4312,3928,3771,3547,3488,3720,3307,2661,2789,2786,2754,2889,2974,2742,2143,1706,1844,2219,2426,2531,2712,2832,3017,3453,3563,3532,3461,2855,2126,1937,1909,1604,1563,1843,1985,1985,2128,2520,2763,2398,1866,1716,1642,1610,1801,1998,1939,1968,1972,1720,1816,2042,2225,2490,2466,2214,1886,1689,1809,1669,1886,1737,1506,1618,1839,1701,1711,1777,1903,1824,1992,1996,2242,2384,2482,2036,1709,1501,1508,1629,1505,1552,1676,1681,1724,1886,1802,1444,1513,1728,1763,1693,1793,2241,2029,1551,1728,2339,2258,1961,1658,1633,1504,1372,1496,1431,1418,1899,1832,1511,1539,1482,1308,1307,1512,1686,1862,1920,1685,1679,1668,1705,1654,1593,1665,1824,1546,1758,1958,1939,1754,1938,2111,2354,3229,3670,3471,3222,3065,2889,2432,2322,1908,1957,2228,2108,1988,2271,2764,2756,2226,2308,2659,2272,2231,2778,2866,2648,2493,2419,2500,3292,3956,3632,2806,1880,1898,1787,1943,2098,2298,2390,2803,2943,2922,3016,3150,3306,3134,2802,2536,2102,1964,2136,2168,1946,2093,2320,2421,2633,2637,1909,1517,1470,1516,1650,2107,2604,2120,1606,1668,1797,1978,2070,1767,2698,3284,2872,3040,3038,2957,2977,3145,3471,3373,3122,2980,2690,2042,1863,2440,2771,2718,2832,1891,1655,1896,2468,2253,1639,1698,1778,1733,2259,2756,3023,3160,3313,2620,1770,1531,1443,1427,1461,1768,2181,1929,1594,1660,1493,1681,1723,1874,1569,1598,1563,1517,1636,1680,1695,1550,1354,1389,1398,1339,1553,1375,1371,1516,1652,1560,1304,1440,1550,1569,1488,1333,1437,1630,1611,1883,1776,1569,1986,2629,2670,2202,1899,1375,949,1312,1670,1802,1673,1584,2002,1758,1347,1664,2401,2076,1801,2334,2807,1929,1433,1369,1482,1842,1789,1620,1604,1467,1579,1533,1538,1692,1464,1499,2428,3009,2210,2076,2095,2257,2002,1848,1921,1816,1553,1377,1399,1628,1789,1758,1543,1556,1904,1666,1625,1662,1666,1629,1669,1651,1632,1604,1608,1550,1403,1395,1478,1510,1712,2260,2520,2370,2241,1984,2075,2061,1899,2142,2534,2480,2712,2172,1721,1356,1608,1738,1655,1746,1865,1824,1653,1943,2555,2153,2234,2456,2388,1877,1502,1690,2665,3125,2379,1762,1693,1616,1506,1434,1443,1794,1834,1744,1553,1530,1671,1770,1677,2067,2160,1929,1525,1573,2354,2344,1935,1750,1571,1821,2270,2361,2149,1854,1686,1624,1768,1880,2063,1848,2189,2139,1966,2135,2152,2008,2027,1879,2078,2632,2194,1729,2204,2676,2492,2797,3685,3525,2503,2211,2125,2396,3263,2541,2695,2644,2267,1836,1734,1815,2026,2808,2924,2348,2622,2604,2474,2388,2662,2923,2839,2839,2545,2319,2247,2857,3427,3002,2263,2166,1972,2372,2341,2414,2213,1958,2025,2585,3294,3294,2481,2364,2383,2447,2446,2406,2404,2248,1891,2020,2179,2166,2090,2442,2525,2679,2466,2437,2375,2256,2390,2768,3072,2758,2299,2790,3684,3472,2437,1959,2238,2060,2255,2554,2555,2691,3393,4296,3355,2849,3920,4700,5267,6396,5880,4245,4196,3873,3728,3053,2557,2240,2285,2500,2880,3270,3145,2741,1936,1945,2231,2924,2405,1905,1725,1600,1730,2014,2544,3076,3454,3742,4080,4315,4531,4464,4456,4252,4216,4112,4399,2957,1113,715,566,543,449,412,384,356,347,351,363,374,388,380,356,350,365,383,411,430,448,448,473,452,431,429,420,411,395,402,435,449,476,491,473,479,456,461,410,415,461,491,515,566,629,702,745,736,902,792,813,846,909,1022,1208,1251,1185,1002,876,1010,801,700,747,840,858,825,739,727,908,1042,1054,1063,1096,1169,1242,1241,1328,1390,1440,1434,1545,1567,1406,1324,1570,1730,1505,1390,1589,1720,1594,1610,1461,1498,1469,1380,1261,1188,1209,1282,1183,1050,1038,998,994,1042,957,848,793,753,766,744,702,704,665,626,646,629,708,730,745,733,724,712,699,730,811,882,954,1112,1182,1123,1127,969,796,761,768,768,831,894,877,774,744,749,774,850,992,1048,1067,1231,1333,1620,1853,1834,1537,1369,1405,1453,1712,2266,1729,1486,1671,1860,1798,1472,1258,1356,1501,1417,1179,989,916,866,909,916,812,699,738,727,696,748,724,686,740,722,728,636,627,641,603,586,671,822,1024,1090,966,861,923,1173,1414,1494,2008,2101,2613,3163,3496,3421,3083,3022,2513,1561,1266,1281,1250,1104,1192,1461,1797,2562,3876,2718,792,611,488,520,541,505,464,471,481,451,414,402,404,419,437,447,440,440,434,424,425,428,422,401,391,382,394,401,400,400,386,343,310,314,330,390,381,420,419,410,431,422,419,398,362,393,415,441,396,333,419,420,400,396,376,384,447,446,416,423,409,387,376,363,379,383,384,379,380,388,394,393,378,374,425,487,435,475,573,599,568,650,722,621,526,576,620,646,702,792,805,661,566,528,516,501,474,476,504,511,474,456,445,496,558,495,481,476,447,412,408,457,511,518,529,611,566,537,574,503,442,419,397,361,323,308,324,328,315,308,309,318,317,325,325,324,333,338,354,358,361,362,363,366,365,383,362,383,423,500,576,552,504,488,454,439,442,462,532,543,552,589,602,607,542,519,593,616,644,622,556,664,677,601,561,525,489,454,426,431,451,468,491,500,493,484,453,421,439,452,477,479,464,424,407,425,440,446,446,470,497,470],[3113,3617,3495,3409,3273,3232,3436,3770,3908,3999,4345,3751,3032,2879,3394,3212,2675,2607,3134,3743,3500,2730,3201,3209,3209,3477,3191,2394,2295,2686,2503,2212,2414,2774,2809,2488,3216,3348,2554,2430,2902,2868,2381,2281,2156,1903,1271,1151,1792,2243,2444,2298,2206,2081,1941,1785,2011,2195,2129,2219,2099,1624,1541,1572,1447,1540,1865,2104,2802,3184,2451,2718,2609,2365,2919,2713,2039,2038,2504,2566,2244,2852,3607,3940,3936,3904,3414,2689,2377,1831,1436,1296,1305,1400,1847,2330,2640,2816,2659,2671,3011,2987,2511,2320,2600,2971,3321,3378,3484,3481,3060,3094,3450,3681,3620,3276,3054,2867,2821,3108,3409,3219,2864,3115,2965,2406,2322,2474,2399,2189,2133,2448,3067,2540,2517,2631,2653,2807,2770,3035,3408,3410,3137,2795,3338,3948,3704,2899,3110,2731,2149,2524,3137,3172,2821,2949,2923,2521,2640,2604,1986,1938,1803,1703,1968,2522,2281,2989,3781,2959,2140,1983,1888,2280,2272,2108,2242,3342,3719,3915,2697,1958,2208,2786,2734,1885,2089,1985,1924,2834,2689,2589,2810,2863,3044,3166,3508,3366,2472,1784,2297,3096,2642,3373,2964,2868,3586,3355,3193,4036,3186,1310,991,1382,1978,1650,1218,1739,1268,790,788,1253,2175,2897,3436,3676,3124,2409,2578,2605,2156,2287,2737,2527,1969,1619,1735,1709,2178,2693,2218,2120,2043,1637,1489,1547,1548,1883,2267,2146,2182,2449,2194,2007,2502,2675,2554,2437,2332,2791,2607,2906,2710,2262,2047,1874,1793,1979,2306,2899,3064,3239,3249,3133,3529,3443,3453,3396,3387,3569,3383,2571,2212,2486,2548,2686,2688,2647,1867,1520,1392,963,698,1144,1529,1726,2083,1945,1740,1777,2022,2188,2286,2270,2251,2624,2468,2256,2184,2057,2182,2486,2442,1996,2047,2355,2728,2988,3241,3001,3142,3042,3127,3067,2193,1874,1900,1976,2230,2043,2216,2295,2359,2787,2799,2880,2867,2497,2472,2337,1966,2461,2449,2021,2072,2700,2283,2595,2754,2534,2086,1670,1782,1605,1404,1503,2075,2658,2252,1898,1879,1876,1803,1703,1767,2096,1909,1715,1908,2281,2187,2211,2367,2653,2590,3002,3774,2954,2229,2287,2454,3118,3128,2506,2475,3042,2713,3272,3294,3582,3661,3617,3479,3570,3555,2993,2782,2707,2871,3019,3659,2866,2468,2385,2688,2708,2762,3107,3520,3856,3532,2678,2508,3064,3148,3227,2988,3089,3160,2907,2759,2814,2645,2366,2714,2561,3040,2476,2283,2475,2173,1865,1943,2069,2208,2156,2084,1931,1648,1824,1842,2062,2397,2298,2958,2830,2876,3043,2654,2415,2679,2952,2355,1806,1965,2040,1813,1555,1776,1864,1949,1876,1633,1808,2089,1962,2167,2282,1883,2532,2511,2721,2382,1865,2252,2601,1995,2166,2598,2307,2468,2744,2943,2963,2971,2766,2900,3095,2999,2819,2255,1791,1827,1616,1770,1689,1728,2578,3018,3391,3829,3875,3515,2988,3374,3421,2912,2517,2086,2188,2425,2460,2798,3267,2935,2513,2445,2624,3004,3104,2818,2709,2863,3077,2632,2468,2757,3568,3648,3860,3889,3473,2635,2352,2545,2199,2270,2352,2501,2573,2662,2608,2598,2575,2822,3029,2929,2489,2762,2777,2388,2789,2563,1896,1616,1655,1883,2193,2386,2809,3146,2765,2565,2458,2411,2435,2262,2090,2214,2118,2351,2940,2895,2797,3042,2974,2952,2978,2613,2175,1918,1947,1715,1401,1439,1403,1460,1693,2243,2618,2564,2752,2778,2230,1876,1877,1846,1906,1919,2267,2785,3301,3473,3492,3416,3039,2713,2457,2259,2192,1798,1874,2180,2303,2122,2507,2471,2094,2347,2711,3234,2721,2319,2622,2488,2354,1774,1504,1789,2100,2167,2077,1989,1631,1440,1353,1298,1452,1574,1493,1427,1424,1357,1344,1323,1341,1365,1457,1896,2184,2253,2098,1650,1857,1882,2118,2130,1913,1742,1761,1834,1667,1459,1401,1718,1896,1653,1468,1413,1499,1538,1569,1557,1462,1621,1759,1866,2075,1952,1886,1660,1512,1451,1610,1776,1806,2584,3475,2715,2226,2215,2050,1755,1552,1745,1973,2214,2170,1970,1961,2534,2742,2247,2040,1603,1721,1789,2033,2082,1994,1981,2000,2344,2193,2504,3256,3627,4009,4056,3776,3896,3797,3769,3963,3752,3645,3695,3472,2782,2561,2692,2338,2491,2907,2827,2821,2417,1588,1765,2233,2298,2432,3031,3296,3527,3741,3586,3450,3235,2725,2339,2269,2330,1996,1646,1875,2340,2396,2361,2232,2165,2098,1789,1843,1853,1735,2142,2289,2191,2119,1879,1753,1964,2004,2450,2436,1991,1814,1828,1951,1930,1889,1677,1537,1555,1699,1893,1743,1672,1623,1960,2062,2194,2097,2111,2096,2142,2082,1927,1588,1444,1563,1542,1469,1767,2002,1975,2149,2010,1660,1638,1786,1820,1714,1606,1710,1642,1557,1677,2048,2061,1604,1666,2002,1783,1453,1498,1486,1934,2681,1816,1437,1456,1294,1351,1360,1365,1424,1918,2040,1666,1628,1832,2276,1964,1857,1726,1469,1461,1991,1983,1719,1682,2048,2320,2791,3705,3629,3271,3293,2646,2354,2071,1934,1934,2212,2262,1890,1743,2250,2697,2853,2062,2056,2357,1879,2003,2712,2753,2563,2461,2356,2663,3364,3964,3614,3056,2141,2013,1780,1939,2138,2353,2421,2625,2923,2651,2455,2879,3194,2977,2664,2297,1936,1895,2345,2227,1861,2112,2474,2873,2935,2439,1659,1526,1491,1583,1913,2317,2691,2231,1676,1835,2108,2366,2257,2027,3081,3030,2957,3147,3124,3018,2993,3018,3137,3262,3298,3305,3436,2868,2584,2513,2338,1942,1872,1854,1559,1522,1763,1681,1515,1630,1631,2012,1764,1826,2328,2434,2707,2131,1765,1622,1613,1609,1649,2079,2133,2030,2132,2074,1917,1896,2145,1995,1682,1635,1524,1475,1684,1915,1874,1804,1432,1515,1483,1734,1977,1492,1375,1474,1871,1879,1359,1282,1426,1499,1389,1421,1600,1481,1422,1321,1480,1031,921,1754,1948,1624,1483,1543,1422,1576,1631,2210,1508,1447,1734,1477,1440,1738,1964,1941,1976,2303,2775,1826,1452,1361,1586,1677,2009,2070,1731,1708,1723,1478,1549,1610,1461,1537,2284,2168,1953,1922,1739,1760,1739,1791,2000,2021,1631,1385,1537,1910,1903,1830,1873,1860,1764,1570,1750,1875,1545,1484,1512,1499,1548,1566,1667,1637,1709,1780,1833,1788,1852,2403,2578,2235,2368,2041,2478,2845,2188,1896,2125,2239,2051,2218,2136,1583,1804,2279,1783,1695,1852,1720,1878,1687,1771,1753,1770,2146,2396,2128,1858,1666,2137,2259,2013,1607,1434,1473,1479,1478,1489,1525,1756,1709,1508,1527,1543,1469,1668,2334,2071,1786,1284,1612,2141,2063,1950,1750,1520,2074,2620,2520,2411,2069,1700,1738,1842,1786,1725,1873,2061,1787,1799,2124,1973,1875,2356,2022,2155,2192,2194,2160,2735,2463,1701,2131,3167,3496,1943,1837,1963,2343,3167,2520,2230,2782,2633,1852,1769,2021,2269,2510,2263,2115,2364,2193,2553,1923,1653,2333,2423,2292,2149,2002,2282,2330,2479,3255,3104,2829,2475,2953,2552,2192,1866,1802,2865,3849,4280,4108,2854,2223,2088,2396,2235,2289,2386,2511,2482,2403,2126,1926,2338,2585,1910,2461,2547,2338,2272,2467,2775,3414,3162,3010,2709,2310,3171,3798,3451,2828,2325,2114,2294,2868,2503,2206,2857,4188,4808,4882,5555,5835,5810,6596,6612,4428,3964,3664,3450,2767,2238,1930,2040,2755,3470,3510,3278,3172,2383,2273,2578,2750,2095,1633,1631,1833,1971,2050,2438,3152,3471,3388,3815,4211,4471,4512,4611,4427,4219,4086,3685,2420,1051,614,564,571,468,440,392,366,355,352,358,366,380,377,354,345,362,379,398,412,430,426,468,453,425,419,391,389,378,378,411,454,474,478,483,464,446,460,434,406,449,513,529,574,648,707,756,675,838,801,801,862,928,1054,1297,1366,1176,1104,908,1059,920,760,762,795,844,877,809,725,842,1044,1102,1132,1118,1178,1328,1217,1296,1467,1477,1478,1554,1623,1647,1466,1373,1611,1582,1379,1578,1624,1453,1440,1380,1359,1338,1256,1262,1241,1189,1243,1146,958,994,952,979,987,908,828,774,744,736,717,694,691,673,620,644,647,703,729,751,741,718,701,706,731,788,841,874,1025,1142,1093,1105,999,815,745,734,742,770,861,976,889,766,731,738,807,914,1037,1056,1126,1281,1491,1801,2001,1611,1432,1467,1625,1794,2273,1938,1652,1693,1797,1766,1558,1287,1195,1407,1410,1229,1015,963,882,937,939,840,724,738,752,703,747,697,648,752,719,725,643,629,652,606,590,684,820,951,1005,918,846,941,1158,1564,1581,1977,2181,2530,2955,3606,4167,3719,3365,2900,1617,1321,1359,1299,1243,1332,1411,1823,2446,3388,2902,799,607,476,504,565,525,458,453,468,455,421,407,401,406,427,432,432,426,415,413,415,419,403,387,379,374,380,381,388,393,394,348,309,317,331,387,381,396,409,389,403,404,412,423,378,389,410,423,416,350,391,440,424,428,428,417,441,449,427,398,362,356,370,379,375,374,384,388,388,389,404,405,375,362,430,546,557,532,574,612,590,563,608,577,501,537,627,655,731,798,789,688,576,512,510,511,487,470,493,515,491,454,420,497,553,521,530,495,416,394,410,469,521,531,522,568,569,549,598,561,488,485,461,388,364,337,324,332,323,313,323,324,323,339,335,324,321,335,351,337,374,378,383,382,381,386,418,500,571,611,597,563,536,514,486,451,466,506,563,588,622,667,650,625,581,527,557,578,598,654,565,627,662,592,542,508,470,448,425,412,431,445,477,491,488,486,435,421,436,444,450,454,453,424,411,416,429,436,451,472,489,465],[2826,3371,3418,3530,3393,3354,3384,3674,3885,3559,3592,3455,2998,3065,3470,3464,2858,2915,3825,4189,3691,2904,3040,2832,2896,3052,3123,2722,2792,3010,2474,1874,1933,2611,3320,2933,2020,1575,1844,2227,2611,2407,2206,2750,2336,2216,2077,2105,1931,1878,1843,1802,1687,1840,1942,1908,2249,2291,2130,2160,1885,1677,1727,1586,1499,1667,2262,2536,3088,3430,2750,2180,2159,2416,2597,1994,1995,2658,2818,2468,2349,2780,3562,4059,3696,3127,2622,2255,2065,1774,1563,1512,1694,1742,1840,2459,3184,3353,3115,3166,3151,2666,2205,2145,2445,3049,3750,3731,3374,3300,3100,2770,2695,3112,3342,3352,3072,2634,3120,3395,3260,3267,2778,1914,2175,2338,1896,1802,2626,2612,2646,2933,3513,3629,3462,2857,2596,2686,2844,3221,3498,3588,3462,3019,2956,3584,3658,3353,3227,2423,2008,2396,2918,2910,2237,2387,3043,2735,2652,2164,1510,1549,1671,1653,1885,1995,1781,2378,2976,2580,2194,2396,2500,2237,2091,1959,2071,2806,3217,3157,2535,2056,1890,2207,2192,1865,1743,1852,1736,2342,3319,4156,3770,3398,3253,3306,4284,4193,2475,1907,2426,3094,3256,3284,2802,3163,3560,3210,3462,4197,3527,1549,1116,1113,1520,1783,1415,1201,1105,928,814,984,1766,3146,3868,3215,2686,2619,2865,2498,2299,2630,2397,2604,2220,1742,1904,1833,2074,2187,1940,1892,1698,1435,1451,1523,1449,1488,1573,1691,1872,2111,2251,1896,2202,2169,1823,1897,1990,2151,2257,2595,3084,2869,2323,2366,2421,2410,2141,2526,2972,3786,3658,3505,3563,3665,3740,3687,3872,4100,4061,3421,3006,3024,2561,2828,2812,2433,1816,1710,1275,866,1114,1691,1842,1798,2066,1981,1865,1750,2210,2475,3203,3304,2644,2369,2418,2478,2429,2509,1990,1956,2242,1967,1901,1970,2653,3334,3408,2878,2965,3082,2956,2872,2160,1900,2010,2210,2614,2538,2943,3305,3719,3596,2953,2888,2781,2207,1968,2227,2169,2188,2104,1955,1923,2070,2082,2114,1978,1998,1766,1644,1694,1515,1630,2015,2352,2481,2238,2121,2191,2008,1812,1595,1980,2221,1749,2020,2431,2751,2544,2798,2810,2783,3107,3462,3643,2945,2124,2213,2232,2360,2104,1847,1972,2732,3001,3667,4051,4171,4042,3898,3789,3321,3034,2679,3043,3419,3646,3361,3659,2998,1850,1727,2103,2389,2830,3347,4080,4101,3386,2599,2555,2776,2668,2581,2020,2054,2298,2271,2395,2715,2305,1805,1914,1985,2776,2458,2201,1909,1344,1395,1843,2127,2109,1979,1992,2050,1786,2302,2326,2287,2082,2309,3008,2876,2583,2842,2779,2953,2832,2564,1842,1929,2437,2358,2453,2126,1714,1526,1587,1649,1839,1893,2173,2084,2141,1917,1985,2416,2315,2177,2046,1809,2117,2409,2339,2438,2401,2473,3063,3072,2932,2942,3333,3306,2795,2684,2762,2740,2340,1782,1679,1567,1759,1710,1686,2159,2944,3420,3636,3683,3506,3452,3364,3061,2889,2601,2457,2343,2477,2563,2942,3131,2670,2467,2443,2670,2966,3210,2734,2501,2917,3151,2626,2554,2728,3420,3872,3827,3780,3356,2812,2589,2331,2442,2225,2385,2344,2244,2546,2771,2932,2812,2657,2965,2679,2688,3716,3516,2750,2679,2153,1918,1771,1824,2005,2165,2598,3087,3330,2978,2580,2685,2463,2624,2534,2058,2419,2328,2246,2951,2847,2484,2364,2644,2740,2571,2384,2331,1934,1879,1952,1865,1598,1465,1551,1574,2138,2501,2329,3162,3529,3566,2962,2381,2059,1873,1970,1941,2006,2208,2491,2800,2920,3249,3310,3288,3008,2522,2107,2267,2590,2614,2450,2202,1983,2029,2268,2398,2712,3012,2752,2430,2432,2183,1619,1320,1587,2005,2244,2368,2456,1823,1786,1671,1380,1523,1528,1383,1371,1452,1439,1343,1344,1362,1376,1392,1914,2062,1854,1468,1595,1725,1862,2150,2056,1982,1732,1747,2038,2701,1738,1587,1594,1663,1651,1660,1547,1460,1632,1766,1759,1584,1722,1675,2039,2129,1830,1783,1660,1522,1500,1597,1782,1767,2500,3206,2269,1936,2051,1927,1918,1955,2110,2093,2026,1920,1838,1911,2258,2336,2124,2098,1858,1922,2052,2005,1938,2030,2121,2411,2416,2380,3438,3933,3593,3601,3830,3868,3705,3363,3486,3364,2953,3107,3291,3185,3121,2740,2348,1919,1974,2676,3087,3024,2744,2169,2036,2308,2607,3308,3544,3458,3570,3621,3206,2901,2774,2592,2369,2363,2427,2267,1981,1904,2271,2119,1948,1769,2029,1998,1837,1970,1901,1903,2254,2059,1798,1805,2008,1743,1935,2121,2598,2021,1600,1753,1998,1937,1909,1874,1742,1832,1749,1499,1547,1783,1672,1654,1936,2071,2020,1997,1952,1917,2026,2077,1781,1682,1623,1587,1888,1807,1881,2092,2249,2153,2037,1924,1732,1746,1917,1881,1729,2034,2019,1460,1627,2242,2014,1838,2148,2185,2145,1555,1457,1552,2126,2040,1472,1393,1436,1462,1477,1439,1477,1578,1813,1819,1732,1477,1710,2007,1818,1859,1908,1767,1532,1700,1880,1769,1721,1693,2076,2809,3303,3747,3630,3474,2858,1971,1921,2308,2473,2516,2014,1752,1607,1874,2102,2413,2154,2409,2570,2222,2368,2858,2867,2316,2226,2524,2847,3054,3254,2840,2668,2072,2331,2066,1770,2103,2365,2414,2532,2880,2765,2720,2965,2996,2677,2698,2372,1925,1986,2493,2312,1953,2447,2834,2862,2690,1804,1650,1529,1532,1628,2520,2729,2396,2750,3172,3123,2924,2642,2138,2756,3206,2978,3152,3450,3529,3418,3266,3380,3344,3322,3264,3184,3177,3042,3209,3044,2665,2077,2040,1886,1675,1690,1786,1704,1624,1820,1849,1855,1625,1521,1699,2082,2213,1828,1596,1554,1782,1958,2023,2230,2420,2340,2410,2178,1933,1858,2010,1968,1775,1781,1770,1404,1581,1857,1970,1795,1824,1632,1410,2255,2443,1763,1578,1360,1410,1718,1498,1382,1377,1444,1369,1439,1366,1349,1387,1320,1273,858,848,1388,1725,1770,1289,1376,1682,1824,1925,2214,1642,1576,1710,1574,1921,2508,2398,1918,1888,1716,1902,1873,1600,1486,1633,1725,1776,1634,1975,2216,1880,1659,1472,1673,1687,1482,1738,1602,1498,1533,1568,1792,1701,1912,2089,1936,1487,1428,1606,1542,1554,1798,1927,1912,1744,1691,2185,2084,1492,1450,1403,1493,1440,1490,1409,1410,1598,1775,1751,1636,1873,2290,2548,2358,2586,2387,2871,3083,2208,1902,1998,1888,1785,2237,2555,2589,2495,2364,1757,1717,1697,1798,1809,1686,1710,1771,1584,1880,2475,2290,2194,2009,1930,1711,1707,1625,1640,1505,1375,1410,1527,1594,1582,1508,1654,1476,1594,1626,1914,1990,1621,1399,1427,1980,2032,1638,1648,1813,1776,2243,1911,2122,2374,1886,2009,1930,1719,1489,1170,1838,2381,2010,2229,2668,2348,2000,2468,2708,2601,2249,2109,2145,2019,1563,1592,1984,2510,2534,2076,2470,2451,2413,2442,2424,2887,3405,2988,2316,1967,2165,2374,2263,2182,2154,2091,2522,3759,2624,1310,2032,2502,2088,1903,1909,2247,2353,2906,3181,3254,3737,3812,3191,2597,2399,2132,2597,3557,4332,4388,4245,2883,2440,2469,2270,2116,2400,2774,3168,2908,2193,1432,1798,2566,2906,1802,2380,2728,2119,2147,2771,3344,2967,2395,3021,3099,2321,2596,3120,3352,2943,2504,2255,2310,2853,2460,2009,2657,3758,5296,5568,5884,5867,5539,6247,6960,5348,4067,3494,3181,2934,2508,2082,2142,2634,2732,3281,3382,3361,2698,2036,1878,2208,2120,1880,2098,2136,2008,1944,2293,3432,3956,4201,4361,4300,4300,4420,4624,4603,4585,4252,3475,2952,1924,1150,745,603,491,452,410,375,369,356,359,357,370,369,353,346,357,377,391,402,415,412,434,436,418,404,390,406,388,381,407,461,466,477,492,453,430,455,453,425,440,521,571,584,655,720,763,681,803,853,835,895,939,1007,1243,1605,1561,1211,946,1062,1169,911,777,781,801,893,893,808,798,1032,1177,1179,1148,1224,1409,1316,1246,1386,1501,1511,1605,1774,1864,1693,1359,1391,1527,1362,1491,1577,1353,1244,1262,1246,1240,1213,1263,1255,1152,1165,1117,898,921,924,921,911,870,804,746,733,723,698,690,657,699,640,637,664,688,708,732,733,711,677,689,698,741,822,827,904,1044,1064,1092,1046,854,739,715,706,733,750,831,941,847,772,734,782,844,957,1026,1061,1211,1410,1581,1909,1683,1511,1677,1902,1966,2354,2198,1686,1685,1785,1754,1620,1367,1146,1346,1327,1274,1076,996,924,936,943,845,750,759,757,680,741,743,675,815,803,743,663,615,652,649,608,668,813,951,1007,952,847,946,1145,1530,1621,1826,1992,2223,2874,3791,4532,3916,3454,3087,1922,1604,1678,1540,1474,1395,1528,2053,2581,3350,2964,928,580,487,479,555,536,474,443,450,462,423,401,394,396,408,424,417,413,409,406,404,403,387,374,364,370,370,377,384,386,388,360,321,324,334,364,374,347,365,368,377,387,411,444,394,390,406,400,412,383,366,408,412,458,483,455,437,415,398,374,347,350,371,383,377,373,383,388,379,374,378,390,370,350,424,556,610,574,554,599,595,576,630,621,564,544,607,606,650,781,825,736,611,505,503,497,468,459,481,502,508,468,431,532,611,563,548,519,444,427,452,509,556,565,535,561,610,598,587,594,542,499,485,437,384,312,305,307,306,321,326,321,323,327,332,349,327,351,372,344,387,400,397,392,408,430,491,533,564,554,538,507,523,514,507,465,478,546,596,655,700,667,614,611,601,565,534,554,570,630,598,609,630,590,536,488,463,451,430,409,424,431,451,476,477,480,438,416,427,426,432,428,421,411,407,403,406,408,413,424,440,437],[2644,3228,3398,3421,3444,3582,3558,3549,3513,3425,3422,3175,3084,3059,3249,3200,2864,3361,4059,3973,3057,2346,2432,2630,2707,3009,3137,2629,2986,2751,2500,2016,2247,3103,2818,2545,1926,1519,1894,1874,2090,1947,1948,2229,2414,2138,2311,2486,2279,1644,1627,2014,1887,1975,2371,2396,2426,2391,2248,2670,2340,1841,1676,1607,1627,1987,2567,2934,2911,2486,1849,2171,2546,2327,1971,2040,2733,2920,2520,2275,2294,2215,2702,3598,3394,2966,2441,2104,1891,1920,1974,1910,1957,1943,1928,2402,3124,3364,2977,2898,2745,2318,2155,2159,2445,2998,3614,3777,3286,2956,2642,2149,2115,2736,3105,3238,3264,3533,3680,3415,3034,3344,2784,1435,1936,2399,2454,2497,3012,3161,2875,3146,3582,3817,3884,3541,2965,2539,2618,2953,3384,3497,3406,3380,2689,2850,2928,2634,2675,2476,2221,2542,2589,2135,1788,2136,3332,3060,2272,1584,1104,1356,1824,1868,1958,2013,1880,1910,2320,2313,2227,2200,2524,2109,2040,2086,2102,2355,2541,2345,2037,2051,1946,2053,1608,1351,1383,1755,2146,2939,3962,4764,4739,4220,3198,3004,3329,2993,2294,2336,2744,3459,3926,3773,3638,3807,3706,3234,3760,4453,3970,2508,1488,1147,1077,1398,1179,917,901,962,1195,1409,1734,2462,3021,2862,3398,2849,2641,2655,3335,2831,2215,2663,2071,1880,2304,2288,2020,1967,1697,1512,1620,1639,1597,1422,1303,1289,1390,1680,1656,1510,1665,2158,2173,1916,1929,1947,1852,2216,2318,2282,2314,2097,2072,2567,2409,2316,1963,2160,2981,4118,4208,4040,3798,3609,3600,3530,3829,3973,4126,3724,3704,3717,3200,3198,3012,2533,2478,2291,1703,1584,1866,2169,1914,1983,2262,2051,1902,2112,2454,2280,2796,3060,2462,2190,2151,2090,2135,2168,1886,1996,1991,1815,2094,2015,2366,2916,2335,2402,2898,3169,2997,2811,2454,2706,2924,2688,1899,2214,3503,3887,3958,3766,2941,2424,2083,1884,1948,2239,2175,2038,1924,1661,1410,1436,1916,2154,2056,2080,2000,2116,1910,1843,1964,2343,2557,2712,2419,2173,1986,1818,1932,1755,2172,2285,2636,2735,2961,3237,3441,3704,3439,2765,2342,2469,2620,2194,1734,2319,2239,1662,1343,1091,1975,3165,3443,3694,4002,4221,3819,3437,3493,3119,2961,3059,3584,3504,3397,3188,3394,2932,2008,2271,2278,2420,3141,3706,3970,3736,2788,2227,2242,2369,2841,2715,2171,2037,2546,2657,2641,2637,2208,2216,2132,2043,2642,2549,2032,1696,1576,1811,2060,2170,2051,2110,1997,2227,2013,2172,2332,1879,1547,2137,2173,1871,2002,2798,2756,2651,2765,2276,2377,2633,2645,2549,2221,2327,2185,1901,1732,1749,1661,1764,1925,1768,1617,1918,2377,2497,2050,1739,1888,1924,2027,2447,2677,2217,1907,2337,2945,3063,3163,3130,3283,3085,2241,2121,2475,2199,2168,2164,2041,2036,2329,2315,2007,2104,2602,2901,2987,2623,2707,2823,2556,2529,2715,2711,2475,2254,2325,2502,2894,2849,2465,2546,2557,2746,2956,3160,2769,2607,2879,3073,2752,2579,2601,3008,3593,3506,3107,2757,2636,2487,2547,2744,2531,3221,2925,2281,2573,2711,2742,2721,3019,3480,2828,3310,3572,2635,2670,3422,3001,2524,2344,1873,2033,2377,2711,2834,2644,3022,2611,2523,2790,2711,2232,2049,2345,2297,2288,2291,2612,2429,2345,3130,3370,2950,2408,2315,2050,1786,1666,1527,1808,1691,1814,1996,1979,1949,2292,3184,3440,3514,3505,3409,2988,2482,1978,2105,2021,2040,1983,2031,2258,2717,3133,3412,3473,3149,2942,3038,2831,2612,2578,1946,1698,2068,2131,1955,2469,2967,2709,2423,2112,1967,2094,1994,1876,1933,2033,2256,2136,1804,1718,1686,1816,1919,1592,1311,1508,1556,1453,1504,1409,1365,1366,1354,1620,1581,1438,1636,1874,1856,2059,2066,2136,1884,1864,1806,1771,1731,1548,1591,1606,1738,1705,1710,1581,1423,1514,1656,1735,1642,1553,1726,2060,2035,1725,1501,1458,1661,1654,1524,1614,1707,2571,2968,2207,1944,2155,2117,2109,2285,2376,2055,1986,1947,1933,2076,2075,1962,2022,2045,2039,2010,2109,2093,2025,1951,1898,1860,1946,2821,4025,4163,3959,3673,3603,3486,3508,3618,3473,2963,2787,2806,2896,2827,2831,2545,2105,2460,2933,3384,3461,3242,3044,2642,2514,2787,3243,3654,3393,3359,3372,3355,3075,2751,2680,2646,2501,2463,2483,2243,1916,2077,2788,2403,2356,2104,1889,2299,2160,2009,2019,1967,2244,1687,1676,1558,1583,1621,1701,1725,1777,1604,1482,1835,1979,1823,1837,1829,1711,1638,1627,1433,1432,1657,1820,1724,1804,1803,1692,1716,1804,1718,1799,1777,1888,2001,1865,1835,2070,2139,2051,1994,1918,1801,1771,1660,1566,1578,1566,1649,1615,2147,2136,1777,1963,1884,1853,2509,2333,1763,1685,1549,1463,1637,1827,1598,1407,1407,1416,1459,1670,1897,1964,1935,1666,1623,1791,1676,1582,1577,1571,1659,1980,2070,1678,1857,1905,1852,1582,1555,1721,2228,2840,3453,3448,3290,2699,2193,2386,2519,2562,2143,1455,1741,1885,1819,1671,1880,2197,2679,2958,3073,3166,3122,3005,2045,2153,2571,2545,1912,1975,2094,1897,1619,1698,1679,1790,2075,2375,1785,1958,2291,2549,2909,2946,2878,2645,2678,2657,2213,2030,2297,2152,2204,2410,2843,2939,2612,1598,1275,1454,1505,2024,3178,3217,2429,2763,3522,3931,3546,2613,2150,3309,3561,3283,3369,3370,3583,3613,3428,3183,3214,3297,3154,2940,2760,2795,3006,3396,3455,3350,2818,2113,1911,1984,2076,1954,1793,1826,1790,1809,1825,1675,1731,2116,2339,2129,1862,1798,2118,2427,2751,3224,3463,3129,2509,1996,1959,2110,2087,2018,1886,2111,2137,1595,1897,1751,1749,2200,2464,2061,1652,2365,2802,2423,2211,1505,1503,1520,1536,1590,1576,1675,1687,1539,1320,1420,1395,1295,1365,1316,965,972,1871,2324,2103,1798,1726,1599,1454,1375,1397,1605,1742,1726,2035,2918,2231,1874,1950,1620,1644,2234,2326,1812,1559,1635,1600,1799,2697,2528,1727,1621,1480,1544,1548,1423,1417,1522,1880,1953,1696,1955,2440,2847,2357,1688,1393,1537,1636,1542,1474,1613,1816,1905,1949,2186,2094,1693,1419,1324,1326,1500,1490,1465,1534,1485,1369,1642,1887,1529,1727,2298,2593,2545,2589,2567,2732,2619,2398,2100,1763,1676,1901,2453,2818,2953,2632,2025,1604,1896,1672,1547,1479,1530,1931,2079,1793,2401,2609,2031,1956,1857,1687,1632,1496,1445,1460,1524,1450,1420,1548,1677,1726,1817,1859,1598,1763,1924,2008,1939,1965,1781,1613,1832,2061,2110,1708,2108,1859,1651,1411,1656,1885,1757,2047,1919,1624,1808,1814,2396,2555,2436,3088,3153,2303,1974,2510,2663,2093,1976,1906,2033,2082,2197,1864,1763,1971,1712,1893,2073,2022,2100,2110,2530,3383,3768,3527,3094,2436,2335,2626,2729,2967,2738,2017,2643,3630,2963,2425,2392,2372,2122,2288,2198,2419,2545,2888,3349,3243,3377,3577,2944,2632,2711,2359,2864,2679,3475,3410,2812,2345,2326,2240,2065,2613,2828,2286,2511,2795,2294,1534,1550,1764,1997,1720,2262,2724,2575,3007,3501,2877,2597,2856,3333,3241,2419,2898,3227,3077,2658,2273,2094,2214,2505,2250,2083,2112,2657,4420,4592,4794,5087,5623,6424,6969,6308,4519,3061,2505,2456,2345,2440,2288,2409,2834,3532,3462,3514,3171,2286,2154,2554,2204,2083,2098,2005,1892,1667,2502,3599,3891,4272,4416,4292,4163,4203,4383,4396,4359,4367,4038,3797,3387,2822,1737,883,593,514,457,382,380,397,367,359,364,364,353,349,354,369,386,395,407,410,407,405,407,396,396,388,361,370,383,426,460,470,474,454,423,438,453,463,452,517,598,600,659,722,737,708,809,917,898,924,931,995,1167,1779,1849,1329,1014,1074,1277,1047,786,819,777,849,940,945,840,1015,1151,1179,1223,1321,1496,1515,1320,1293,1512,1524,1652,1848,1881,1691,1424,1418,1592,1438,1376,1524,1369,1122,1163,1141,1128,1140,1211,1203,1105,1081,1058,897,854,884,888,889,863,783,716,710,704,695,697,632,685,666,629,649,637,655,709,699,722,661,643,634,700,812,811,837,985,1047,1047,1059,897,743,717,691,702,704,720,781,877,861,779,772,810,865,977,1043,1091,1301,1388,1690,1786,1660,1788,1966,1859,2264,2564,1905,1577,1729,1767,1647,1440,1159,1274,1261,1235,1154,1022,945,943,918,859,755,755,747,709,735,736,661,829,904,787,697,606,665,744,661,647,781,936,985,985,961,1006,1116,1297,1426,1636,1814,2082,2685,3517,4280,3816,3431,3089,2299,2039,2034,1866,1695,1530,1816,2383,2740,3463,2994,1159,554,491,451,514,525,486,458,429,456,427,400,387,388,396,412,408,399,401,397,391,383,377,363,355,356,358,369,369,371,384,374,340,340,352,364,381,346,355,373,376,375,402,445,413,390,407,402,409,410,355,410,458,475,471,460,437,422,436,417,367,344,365,379,374,368,375,377,369,353,354,370,373,374,433,526,566,552,540,562,587,586,612,640,602,550,583,579,624,796,847,740,635,530,507,488,455,442,458,475,488,498,489,529,620,607,569,579,520,440,452,516,609,608,569,564,626,661,615,594,524,448,433,470,431,377,341,310,302,304,307,319,334,337,340,367,327,348,397,415,446,461,462,477,489,518,528,511,501,512,583,596,577,519,523,491,496,575,619,689,703,645,593,594,585,563,528,542,573,601,609,616,602,582,551,486,472,457,433,419,415,421,433,451,461,462,450,430,414,417,409,405,409,392,385,379,373,379,388,408,422,427],[3066,3442,3309,3283,3333,3366,3339,3392,3362,3377,3366,3168,3495,3351,3012,2695,3127,3562,3582,3129,2178,2089,2610,2666,2681,2668,2724,2610,2894,2717,2648,2535,2707,2546,2274,2496,2260,1897,2011,1810,1981,1988,2070,1953,1942,1620,1755,2089,2122,1831,1952,2280,2041,2315,2604,2503,2833,3104,3077,3300,3122,2447,1776,1701,2105,2214,2060,2363,1970,1165,907,1831,2458,2296,2576,3094,2884,2571,2308,2356,2257,2360,2633,3284,3693,3619,2978,2742,2631,2320,2164,1983,1803,1737,1862,2232,2850,2898,2556,2541,2744,2253,1924,2404,2884,3188,3370,3639,3068,2688,2270,1919,2043,2713,3016,3150,3200,3278,3449,3356,3133,3288,3074,2406,2335,2864,3428,2872,2136,2324,2805,3436,3532,3363,3561,3646,3243,2431,2458,2765,2984,3117,3119,3308,2955,2552,2466,2230,2305,2172,2159,2386,2326,1764,1722,2120,3232,3305,2316,1605,1327,1301,1707,1784,2204,2095,1545,1409,1942,2192,2138,2048,2121,2071,2264,2318,1920,2156,2454,1946,1986,2140,2210,2070,1603,1443,1732,1918,2627,3781,4195,4659,4776,4428,3122,2897,3195,2383,2497,2870,3318,3990,3658,3301,3156,3295,3332,3141,4332,4397,4040,3343,2453,1565,1204,1230,1140,1052,1156,1415,1432,1435,2099,2507,2998,3467,3420,2745,2770,3407,3364,2586,2470,2188,1782,2270,2486,2087,1946,2186,1866,2049,2172,1768,1533,1311,1346,1414,1754,1911,1460,1349,1158,2134,2387,2141,2064,1718,1929,2315,2246,2183,1683,1559,1648,2105,2194,2343,2174,1943,2588,3552,3928,4208,3915,3639,3695,3527,3528,3671,3818,3640,3659,3743,3384,3146,3038,3034,3164,3029,2458,2165,1927,1846,2108,2089,1832,1631,1832,2062,1980,1923,2183,2364,2278,2232,1981,1621,1783,1956,2250,2322,1866,1800,2698,2670,2398,2722,2645,2665,2612,2687,2303,1926,2465,3076,3018,2642,1953,2202,3480,3814,3636,3408,2681,2317,2147,2581,2637,2309,2172,2005,2105,2436,2265,2293,2766,2590,2365,2586,2603,2627,2403,2017,1930,1855,2094,2667,2484,1793,1982,2151,2344,1920,2043,2468,3226,3288,3391,3441,3322,3607,3614,2872,2257,2097,1942,1761,1852,2464,2300,1492,1286,1136,2068,3226,3218,3448,3573,3597,3304,3334,3504,3274,3140,3272,3262,2900,2962,3021,2513,2125,1775,2208,2483,2269,2708,2928,2492,2460,2482,2481,2414,2364,2486,2358,2678,2907,3476,3047,2328,2189,2517,2620,2165,1719,1628,1917,2126,2114,2148,2307,2295,1568,1830,1864,1768,2058,2201,1967,1958,1673,1276,1779,1714,1592,1660,2510,3041,2665,2728,2568,2700,2762,2727,2487,1973,2321,2327,2166,2046,1866,1663,1855,2148,2171,1792,1741,2236,2699,2466,2287,2584,3025,2752,2309,2330,1969,2015,2559,2871,2830,2442,2390,2614,2675,2490,2416,2626,2798,3096,3072,3078,3217,3314,3270,3016,2957,2830,2720,2646,2336,2895,2801,2576,2416,2403,2316,2241,2031,2210,2565,2989,3032,2578,2404,2413,2677,2964,3098,2965,2882,2965,3077,2800,2437,2492,2751,3416,3415,3043,2704,2418,2399,2548,2732,2612,2793,2510,2503,2523,2619,2463,3066,3930,3198,2405,2801,2710,1948,2282,3498,3874,3620,3098,2618,2369,2900,2549,2122,1948,2195,1848,1920,2534,2215,1505,1648,1769,1699,2275,2627,2707,2586,2567,2764,3362,3317,2776,2917,2412,1760,1416,1240,1465,1750,2140,2352,1788,1672,2430,2988,3088,3204,3340,3394,3460,3411,2798,2940,2576,2198,1910,2134,2210,2244,2348,2687,2996,3133,3188,3187,2917,2754,2544,2029,2411,3015,2812,2499,3344,3825,3079,2299,1593,1438,2298,2438,2101,1771,1590,1634,1893,1829,1519,1677,2018,1944,1865,1571,1730,1691,1648,1535,1470,1431,1385,1372,1422,1494,1714,1874,1847,2203,2254,2240,2313,1932,1835,1747,1672,1635,1530,1448,1644,1773,1670,1620,1730,1642,1461,1578,1681,1608,1660,1716,1932,1962,1718,1510,1508,1781,1698,1527,1625,1832,2995,3069,2225,1862,1930,2261,2423,2758,2831,2376,2086,2259,2306,2255,2180,2099,2048,2087,2172,2458,2608,2465,2363,2032,1884,1764,1892,2359,3287,3986,4199,4200,3824,3236,3017,3186,3253,2819,2746,3154,3010,2839,2815,2448,2470,3262,3641,3590,3405,3242,3083,2791,2706,3132,3508,3479,3337,3447,3464,3277,2856,2702,2822,2837,2818,2729,2490,1967,1500,1915,2428,2212,2271,1981,1954,2209,1882,1877,2108,2149,2317,1783,1820,1591,1724,1777,1820,1831,2036,1930,1491,1636,1674,2028,1878,1659,1536,1532,1589,1534,1538,1803,1953,2020,2271,2182,1614,1789,1724,1794,1759,1649,1842,1822,1704,1836,1836,1904,1873,1671,1870,1902,1682,1676,1904,1745,1507,1803,2126,1933,1582,1885,1986,1787,2076,2544,1930,1744,1520,1478,1385,1733,1886,1726,1432,1346,1566,1745,1853,2054,2024,1727,1380,1520,1688,1820,1868,1804,1698,1718,1982,2133,1826,1831,1708,1671,1554,1625,1712,2466,3249,2830,2940,3185,2448,2353,2383,2110,2386,2065,2153,2327,2352,2014,1810,2148,2235,2321,2810,2898,3165,3391,2906,2711,2258,2110,2220,1657,1632,1965,1844,1794,1812,1862,2223,1943,2085,1723,1397,1632,1928,2351,2480,2522,2583,2476,2508,2242,2192,2270,2079,1937,1976,2384,2750,2150,1386,1384,1532,1667,2241,2875,2862,1944,1939,2366,2721,2764,1966,2382,3693,3659,3552,3754,3681,3405,3403,3416,3072,3320,3335,3056,2945,3106,3362,3570,3558,3486,3378,2937,2444,2281,2274,2189,2097,2046,2016,2060,2126,2048,2066,2086,1960,2104,2178,2180,2198,2500,2794,3149,3340,2984,2808,2685,2198,2232,2470,2460,2442,2184,2018,1876,1741,2430,2369,2128,2108,2199,2611,2667,2664,2618,2388,2012,1438,1622,1572,1709,1677,1526,1577,1731,1512,1493,1866,1588,1348,1468,1433,1550,1523,1835,2119,2095,1882,1556,1342,1434,1417,1394,1423,1515,1860,1815,2232,1668,1848,1872,1644,1627,2042,2303,1957,1712,1542,1505,2014,2346,2014,1673,1643,1754,1474,1316,1409,1493,1889,2240,2469,2119,1938,2472,2822,2187,1622,1409,1484,1582,1560,1537,1595,2025,2277,1889,1942,2061,2223,1758,1407,1443,1500,1414,1359,1390,1353,1587,1718,1532,1465,1637,2226,2567,2669,2666,2548,2445,2524,2415,1890,1719,1736,2080,2575,2677,2895,2953,2720,2281,1910,1607,1462,1423,1710,2320,2500,1853,1930,2031,1950,2155,1948,1753,1608,1454,1396,1390,1368,1435,1509,1657,1770,1682,1654,1566,1772,2013,1918,1732,1676,1607,1384,1345,1391,1580,1834,1795,2481,1984,1491,1504,1513,1833,2133,2080,2163,2242,2139,1641,1554,2163,2551,2712,2951,2500,2079,2986,2958,1935,1848,2054,2337,1707,2406,2139,1808,1998,1887,2348,2667,2551,2548,2469,2797,3212,3250,3420,3194,2552,2280,2153,2263,2657,2339,1875,2630,3095,3108,3382,3256,2734,2879,2574,2259,2429,2826,2894,2735,2431,2210,2224,2055,2312,2764,2342,2249,2128,2557,2501,2373,2509,2210,1808,2056,2698,2709,1985,2234,2761,2688,1746,1480,1717,2286,2491,2583,2684,2508,2675,3231,2602,2864,2995,2974,3321,3010,2985,2776,2619,2374,2008,1787,1730,1856,1818,1818,1663,2011,3952,5148,5892,6376,6056,5097,4240,3333,2508,2309,2395,2632,2723,2575,2272,2155,2352,2679,2758,3015,3479,3054,2876,2503,2207,2082,1925,1864,1930,2144,2921,3418,3618,4109,4287,4027,3995,4007,4171,4324,4399,4243,3913,3702,3473,3450,2962,2195,1422,807,569,452,399,388,370,365,368,372,366,350,351,364,376,395,401,401,388,393,393,361,354,346,351,373,367,392,433,441,436,447,430,428,438,460,467,509,590,609,651,726,730,719,805,937,1011,955,910,980,1123,1369,1165,1100,1071,997,1244,1199,848,854,805,836,956,1032,987,1108,1178,1251,1362,1474,1562,1626,1476,1296,1482,1554,1629,1696,1802,1815,1542,1474,1681,1625,1477,1548,1448,1068,1072,1064,1074,1078,1134,1140,1043,978,977,900,813,822,868,847,821,757,695,681,690,685,685,652,666,665,643,634,609,610,682,678,718,671,641,649,688,738,767,803,902,1007,1007,1037,935,762,722,689,670,683,700,725,826,906,905,850,824,846,966,1078,1090,1206,1312,1549,1747,1746,1715,1859,1943,2130,2775,2219,1592,1636,1791,1698,1532,1237,1178,1215,1174,1187,1076,958,956,911,861,743,712,712,701,681,658,596,750,952,843,752,607,619,766,727,664,754,871,910,1063,1216,1149,1073,1162,1278,1465,1560,1986,2520,3266,3979,3584,3172,3030,2608,2239,2244,2194,1932,1848,2215,2697,2938,3650,3090,1365,561,506,439,487,515,489,466,435,445,421,405,394,382,383,396,399,388,385,383,379,370,358,348,349,350,364,369,358,358,385,394,372,349,353,397,395,378,382,389,388,380,395,435,437,408,405,414,418,416,366,393,443,463,473,461,431,419,437,432,385,361,369,369,361,365,367,364,361,350,359,376,391,414,455,495,508,491,477,487,551,578,554,599,579,516,555,583,671,818,818,737,647,559,514,502,507,471,433,450,495,577,628,552,592,551,560,553,521,445,449,601,655,587,568,560,615,676,637,599,531,478,428,456,445,395,362,330,312,310,308,311,322,336,361,403,418,453,475,484,514,542,568,588,589,563,473,470,509,561,629,623,583,548,546,529,512,608,628,664,667,639,577,567,563,546,523,526,538,551,580,614,599,572,570,505,480,468,445,423,414,413,419,432,445,449,445,433,414,397,382,386,395,384,373,362,359,368,390,405,416,428],[3360,3642,3328,3188,3197,3236,3356,3506,3151,3134,2822,2953,3507,3654,3276,2979,3034,2875,2665,2525,1911,2651,2789,2741,2708,2903,2931,3000,3250,3096,2921,3063,3098,2469,2215,2685,2829,2455,2056,2088,2118,2451,2525,2337,1935,1466,1450,1720,2295,2364,2400,2387,2439,2577,2793,3064,3473,3567,3429,3276,3349,3137,2540,2296,2563,1902,1679,1862,1433,987,1218,1691,2148,2359,2746,3130,2651,2273,2296,2170,2562,2900,3299,3605,3772,3745,3537,3703,3500,2553,2003,1814,1748,1927,2204,2105,2427,2828,2821,2916,3351,3177,2709,2806,3033,3310,3074,3112,2879,2790,2473,2292,2520,2800,2931,2799,2557,2750,3000,3254,3032,3044,3448,3186,2744,3326,3498,2374,1652,1875,2652,3529,3418,3339,3616,3692,3487,2623,2438,2808,2918,3105,3267,3045,2530,2395,2431,2250,2307,2495,2156,1897,1967,1877,1626,1941,2598,2557,2153,1782,1600,1641,1762,1715,2498,1880,1220,1334,1544,1561,1730,2030,2473,2863,3064,3185,2811,2779,2675,2353,2070,2075,2425,1996,1830,2122,2098,1980,2596,3302,3833,4593,4707,4085,2872,2646,3100,2879,3351,3594,3650,3499,2897,2961,3306,3542,3219,3111,3358,3344,2852,2285,1880,1616,1440,1547,1343,1385,1655,1731,1754,1570,2740,3416,3760,3508,3510,3605,3156,2984,2510,2070,1755,1734,2289,2330,2032,1908,1967,2184,2138,2327,2243,1735,1378,1384,1475,1583,1851,1874,1798,1665,1638,2432,2939,2687,1798,1613,2125,2114,2028,2114,2065,1759,1861,2115,2363,2126,1870,1776,1933,2922,3854,4227,4040,4001,3871,3340,3241,3547,3789,3837,3494,3188,2986,2917,3096,2762,2257,3254,3144,2360,1842,1806,2513,2595,1954,1549,1689,1827,1775,1923,2299,2554,2634,2462,2178,1852,1791,2058,2335,2322,2047,2067,2389,2557,2394,2289,2532,2449,1913,1997,2341,2472,2380,2094,1921,2152,2041,2173,2630,2678,2688,2802,2496,2361,2164,2341,2315,2530,2956,2772,3031,3506,2952,2632,2590,2770,2780,2907,2711,2337,1875,1734,1774,1691,2076,2713,2812,2293,2599,2316,2258,2058,2078,2171,2876,3450,3566,3364,3396,3618,3651,3053,2334,2089,2031,1854,1863,2139,2106,1970,2062,1731,1830,2633,3174,3261,3088,2861,3119,3442,3615,3458,3073,3037,3151,2931,2754,2943,2235,1807,1673,2120,2475,2335,2876,2677,1999,2392,2566,2250,2360,2142,2306,2232,2852,3052,2848,2281,2029,2290,2570,2343,2113,2358,1915,2135,2359,2217,2103,2452,2411,1805,1707,1808,1732,1998,2591,2227,1849,1714,1636,1812,1740,1518,1457,1617,2215,3034,3323,2929,2877,2710,2281,2011,1967,2741,2808,2408,2066,1959,1903,2054,2327,2023,1700,2059,2071,2419,2522,2572,2689,2925,2796,2365,2285,1892,1876,2125,2363,2475,2227,2448,2496,2745,2961,2610,2358,2709,3117,3263,3376,3252,3215,3349,3087,2858,2697,2422,2431,2744,2653,2315,2199,2198,2229,2457,2290,2093,2382,2433,2920,3205,2567,2315,2309,2475,2888,3141,3072,3228,3518,3438,3131,2744,2813,2631,2870,3127,3387,2938,2310,2187,2622,2784,2486,2441,2344,2669,2389,2750,2661,3314,3714,3223,2491,2369,2427,2097,2240,3375,3811,3448,3074,3251,2963,2824,2082,2090,2519,2680,2624,2508,2520,2109,1734,1574,1672,1560,1982,2470,2578,2686,2426,2116,2587,2691,2260,2236,2209,2480,2208,1959,1669,1886,2310,2165,1670,1782,2581,3175,3233,3239,3215,3466,3614,3444,3040,3359,3420,3089,2679,2280,2255,2153,2217,2343,2393,2461,2673,2769,2884,2943,2872,2717,3239,3707,3609,3699,4113,4079,3239,2153,1303,1192,1632,1775,1991,2084,1971,2101,2552,2532,1859,1527,1552,1526,1701,1653,1868,1733,1763,1642,1578,1469,1347,1433,1576,1738,1726,1639,2213,2624,2318,2612,2155,2010,2015,1730,1518,1547,1487,1452,1578,1755,1685,1512,1726,1830,1994,2212,1785,1512,1861,1904,1837,1749,1576,1523,1646,1776,1631,1974,2383,2977,3783,3301,2439,1889,2046,3120,3254,3489,3516,3117,2350,2363,2721,2979,2920,2705,2491,2415,2514,2989,3204,2951,2641,2261,2201,2391,3142,2569,2488,3188,3824,4173,3831,3083,2702,3051,3396,2497,2243,2930,3145,2791,2458,2735,3304,3650,3869,3370,2987,3135,3094,2906,2668,2756,2879,3228,3465,3273,3184,3084,2778,2631,2767,2946,2946,2869,2442,1924,1626,1824,1974,1899,1744,1681,1760,1880,2047,2088,2046,1752,1853,2077,2236,1985,1853,1930,1976,1999,2402,2358,1948,1487,1500,1808,1745,1529,1473,1538,1546,1493,1683,2083,2098,1907,2050,2251,1948,2139,1994,2105,1929,1759,1665,1372,1412,1446,1452,1743,1612,1453,1712,1626,2105,2210,1969,1836,1812,1920,2023,1877,1697,1716,1949,2402,2223,2186,1805,1718,1510,1424,1448,1550,1787,1989,1526,1261,1536,1766,1728,1946,1847,1559,1610,1670,1677,1752,1852,1931,1731,1778,1906,1841,1701,1921,1886,1710,1706,1763,1679,2453,3320,2920,2956,2786,2559,2589,2309,2386,2200,2163,2345,2107,1919,1365,1615,2323,2366,2068,2391,2630,2972,2893,2240,2509,2562,2446,2348,2181,2771,3080,2346,2486,2252,1942,2092,2024,2192,2079,1876,1874,1737,1731,1749,1874,2149,2409,2626,2176,1914,2012,1973,1907,2077,2068,1901,1527,1399,1382,1436,1770,2037,1926,1875,1647,1570,1481,1799,1975,1884,2997,3770,3464,3384,3232,3021,2997,3153,2902,2813,3039,2965,2783,2807,2957,3394,3459,3507,3414,2781,2257,2210,2370,2460,2259,2149,2028,1880,2012,2204,2051,1992,1979,2138,2498,2563,2631,2807,3172,3170,3077,3085,2944,3016,3201,2457,2315,2174,2053,2271,2101,2017,2021,1835,2109,2144,2435,2956,2821,2357,1839,2447,2574,2114,1633,1419,1545,1685,1933,1846,1476,1345,1411,1370,1497,2054,1958,1598,1461,1408,1447,1534,1580,1758,2156,2208,1593,1362,1488,1325,1314,1405,1359,1576,1871,2136,1985,1684,1525,1560,1515,1750,1829,2009,1900,1470,1525,1822,1970,1807,1547,1937,2158,1374,1169,1465,1669,1948,2471,2724,2244,1680,1895,2045,1956,1918,1646,1616,1570,1595,1364,1405,1759,2042,1931,1864,2166,2446,1909,1478,1448,1472,1650,2244,2007,1499,1601,1673,1459,1412,1648,2320,2644,2500,2545,2687,2467,2288,2064,1909,1878,1920,2512,2906,3386,3840,3262,2358,2001,1631,1404,1354,1548,1939,2396,2342,1841,2105,3123,3293,2412,1667,1637,1560,1507,1372,1320,1396,1604,1793,1830,1739,1746,1808,1584,1496,1785,1757,1273,1431,1468,1442,1455,1390,1563,1901,2433,3094,2417,1627,1598,1611,1870,2796,3022,2418,2161,1742,1626,1912,2657,2444,2184,2814,2668,2185,2691,2681,1988,1900,2337,2503,1590,2052,2194,2556,2882,2906,3297,3166,2839,2657,2331,2670,2897,2629,2463,2497,2360,1913,1695,2027,2046,1613,1872,2385,2165,2359,2368,2612,2458,2718,2619,2349,2646,2647,1905,1661,1896,1512,1560,1867,1907,2286,2285,2368,2213,2392,2744,2744,2585,2473,2575,2881,2979,3059,3077,3122,3226,2587,1756,1811,2442,2857,2993,3085,2578,2379,2475,3572,3481,3099,3071,3045,3409,3355,2695,2587,2531,2405,2266,2025,1932,1777,1621,1761,1760,2048,3926,4982,4348,3343,2669,2507,2683,2801,2774,2690,2482,2336,2182,2192,2208,2257,2293,2185,2082,2589,3295,3299,3240,2328,2128,1808,1840,2106,2349,2735,3042,3066,3320,3942,4201,4078,3961,4069,4066,4311,4387,4311,3856,3385,3353,3299,3320,3414,3077,1953,740,463,400,385,375,365,368,374,374,358,347,353,370,386,390,396,377,389,413,353,318,339,359,385,371,378,402,425,417,427,429,434,435,435,466,516,581,619,645,779,815,727,801,932,1102,1044,928,954,1151,1149,894,978,1065,952,1255,1294,949,936,901,885,993,1097,1123,1154,1197,1339,1477,1613,1642,1653,1671,1375,1529,1546,1516,1577,1676,1770,1596,1410,1642,1678,1534,1506,1494,1177,1033,997,1013,968,985,1032,987,947,960,908,801,748,838,824,800,753,693,679,693,683,659,649,659,656,649,623,612,612,648,660,696,666,646,656,671,717,758,768,815,940,975,1003,968,820,731,689,648,661,673,693,825,1002,1033,1078,1019,890,933,1079,1110,1131,1239,1385,1635,1785,1655,1774,2206,2290,3001,2566,1814,1578,1767,1716,1533,1295,1126,1179,1095,1108,1112,1011,956,919,861,750,696,691,680,669,629,577,724,977,880,808,642,594,785,858,733,718,798,861,1045,1223,1220,1049,1140,1232,1461,1585,1960,2381,3123,3670,3338,2924,2939,2756,2269,2293,2372,2076,2148,2705,3088,3039,3542,3350,1643,616,533,438,463,512,492,462,451,438,416,402,391,377,370,385,385,373,377,373,367,360,353,345,343,350,367,370,365,388,451,432,418,381,339,433,438,397,384,400,411,397,396,418,441,428,414,425,429,419,389,369,405,443,451,448,411,388,412,423,398,374,367,359,356,365,365,359,356,359,367,386,406,433,456,453,439,440,457,462,511,565,547,557,562,545,575,651,743,796,750,694,615,538,484,576,708,575,437,496,553,561,537,474,508,495,508,502,519,486,459,535,584,590,565,543,533,595,609,594,544,490,454,441,420,406,390,381,388,360,346,366,376,429,498,499,460,429,395,404,469,533,558,552,528,496,462,521,570,580,590,596,597,574,566,554,514,611,632,636,603,604,577,545,552,547,523,509,519,556,590,600,593,564,561,531,503,485,459,435,420,408,409,422,437,449,447,427,407,393,377,378,388,386,374,362,362,364,383,397,407,421],[2990,3135,3282,3220,3143,3241,3298,3552,3451,3282,2888,3539,3312,3247,3322,3099,3298,3240,2857,2687,2624,2986,2963,2861,2865,2942,3156,3414,3597,3650,3444,3254,3119,2550,2253,3283,3161,2456,2251,2334,2019,2050,2291,2272,1953,1758,1678,1948,2421,2427,2421,2484,2576,2619,2910,3410,3726,3715,3597,3339,3385,2832,2812,2857,2471,1767,1879,2003,1916,1964,1495,1283,2139,2768,2912,3308,3066,2590,2397,2524,2567,2242,2885,3684,3793,3745,3745,3806,3598,2901,2100,2109,2109,2029,2246,2438,2664,2786,2854,3207,3624,3506,3233,3355,3662,3692,3028,2792,2894,2707,2395,2301,2288,2514,2941,2856,2701,2989,3109,3298,2907,3227,3791,3408,3098,3624,3498,2693,2188,2266,2700,3495,3663,3575,3574,3535,3487,2932,2474,2712,3010,3031,2823,2583,2715,2585,2402,2243,2077,2240,2128,1862,2214,2536,2248,2033,2128,2188,2059,1768,1999,2260,2014,1789,2118,1613,981,1212,1482,1549,1884,2236,2736,3009,3120,3002,2757,2984,3280,3278,2513,2450,2569,2309,2402,2693,2546,1973,2591,3285,3418,4009,4156,3471,2666,2590,2492,2841,3419,3698,3410,2893,2991,2985,3131,2933,2871,3137,3062,2536,2449,2440,2376,2382,2115,1633,2208,2985,3253,2821,2950,3273,3646,4092,4349,4251,4116,3576,2811,2495,2289,1570,1360,1854,2426,2090,1958,1948,1736,1735,1873,1573,1590,1547,1393,1560,1692,1895,2159,1905,1823,2012,2290,2646,2912,3322,2286,1931,1969,2081,2055,1981,2402,2402,2308,2598,3075,2382,1863,2015,2181,3520,4363,4320,3913,4003,3746,2871,2812,3165,3424,3548,3274,3029,2901,2867,3013,3040,2291,2670,2556,2019,1760,2173,2566,2533,2179,1758,1454,1719,1926,2083,2323,2800,2770,2744,2626,2292,2371,2668,2602,2430,1837,1644,2154,2523,2302,2474,2934,2818,1954,1915,2305,2172,1913,1445,1398,2156,2055,1909,2192,2418,2446,2515,2525,2490,2722,2845,2544,2663,3099,3232,3735,3552,3305,3513,3521,2839,2337,2194,2189,2104,1603,1475,1610,1649,1932,2556,2564,2600,2723,2335,2138,2425,2677,2452,2549,3196,3551,3222,3571,3629,3687,3401,2257,1445,1295,1520,2030,2210,2171,2279,2666,2808,2897,3064,3448,3492,3582,3352,2933,2746,2988,3198,3147,3115,3194,2999,2596,2383,2155,1752,1574,2108,2428,2745,2951,2448,2220,2791,2592,2170,2053,2020,2247,2767,2590,2064,2067,2022,2292,2344,2208,2063,2199,2768,2443,2451,2623,2615,2379,2767,2391,1765,1956,2157,1742,2031,2579,2269,2117,1939,1748,1908,1816,1714,1770,1852,2420,3235,3610,3011,2742,2678,2430,2182,2447,3190,3367,2845,2121,1946,1852,2089,2304,1975,2173,2530,2138,2342,2624,2613,2509,2533,2640,2610,2437,2415,2598,2386,2432,2666,2845,2409,2200,2755,3173,2619,2374,2678,2514,2426,2850,2638,2836,3273,2876,2641,2446,2229,2740,3174,2646,2229,2249,2418,2741,2707,1938,2112,2098,2036,2670,3112,2889,2557,2449,2612,2962,3329,3123,3360,3718,3522,3527,3297,2990,2929,2979,3001,3153,3099,2597,2412,2962,3164,2323,2562,2725,2159,1887,2540,2469,2305,2688,2835,2229,2008,2309,2370,2265,3320,3218,2634,2763,3117,3295,2786,2281,2736,2934,2467,2272,2622,2752,2082,1791,1743,1542,1829,2630,2788,2901,2973,2499,2163,2462,2831,2077,1681,2013,2640,2540,2416,2026,2079,2229,1715,1601,2035,2852,3793,3771,3429,3273,3395,3509,3111,2877,3145,3360,3410,3238,3262,2995,2554,2187,2109,2176,2131,2114,2196,2429,2718,3016,3119,3344,3316,3040,3130,3248,3330,2839,2232,1435,1225,1392,1465,1548,1514,1653,1917,2377,2700,2285,1706,1526,1911,2011,1994,2107,1642,1411,1475,1664,1613,1570,1820,1980,1640,1424,1738,2428,2311,2508,2540,2032,2058,2151,1967,1686,1685,1704,1555,1788,2157,1929,1609,1577,1648,1976,2106,1683,1650,1779,1741,1854,1781,1606,1647,1991,2218,2374,3030,3392,3555,3614,3129,2598,2053,2365,3315,3365,3555,3681,3493,2832,2563,3063,3498,3404,2997,2546,2404,2543,2909,3134,3041,2677,2414,2398,3034,3360,2714,2188,2179,2996,3666,3055,2089,2347,2854,2963,2177,1866,2260,2768,2564,2297,3053,3530,3416,2945,1914,1748,2334,2813,2928,2766,2757,2957,3200,3273,3185,2967,2678,2511,2668,2718,2968,2937,2895,2723,2485,2436,2490,2363,2316,2087,2113,1950,2036,2238,2039,1798,1824,1859,1947,2105,1903,1780,1913,1852,1783,2237,2661,2476,1979,2078,1978,1601,1443,1456,1575,1544,1454,1625,1771,1735,1417,1628,1887,1748,1497,1698,1919,1992,2183,2042,1607,1544,1527,1543,1653,1527,1462,1492,1930,2343,2170,1961,1776,1770,1830,1638,1694,1773,1773,1878,2200,2292,2230,1935,1760,1575,1413,1351,1299,1732,2093,1626,1312,1360,1585,1559,1730,1692,1571,1898,1969,1571,1613,1718,1675,1639,1893,2064,1691,1939,2620,2719,2206,1800,1875,1869,1965,2806,2879,2524,2635,2415,1999,2409,2421,1985,2281,2047,1707,1652,1788,2272,2223,2584,2216,2001,2303,2162,1920,1941,1809,1931,2733,3094,3012,3386,3284,2503,3044,2724,2381,2107,1882,1893,1906,2113,2185,1960,2077,2010,1687,1681,2074,2653,2222,1786,2166,2248,2062,2059,1963,1660,1493,1488,1505,1500,1678,1558,1663,1578,1572,1614,1520,1688,1817,2175,3116,3062,3177,3150,2911,2662,2668,2620,2408,2435,2633,2590,2446,2679,3100,3500,3217,3072,2481,2249,2147,2045,2060,2464,2668,2313,2121,2176,2463,2444,2263,2306,2206,2575,3023,2879,2832,2899,3063,3279,3317,3307,3146,2951,3272,2630,2166,1998,2065,2066,2076,2113,2076,2143,2154,2157,2235,3019,3172,2619,2322,3021,2558,1852,1861,2100,2032,1909,1947,1655,1467,1332,1264,1327,1392,1640,1847,1908,1823,1617,1598,1654,1472,1859,2452,2188,1600,1615,1540,1304,1317,1494,1520,1478,1565,1948,2023,1576,1389,1303,1404,1731,1679,1840,1817,1744,1660,1780,2059,1844,1691,1699,1946,2082,1410,1411,1535,1738,2232,2257,1895,1593,1768,1861,1941,2071,2173,1658,1604,1694,1382,1386,1704,1754,1750,1716,2030,2188,1745,1500,1521,1600,2072,3620,2952,1826,1454,1481,1576,1585,1748,2243,3118,3563,3567,3465,2678,2055,2035,1948,1818,2302,2906,3000,3637,4047,2773,1702,1893,2024,1780,1606,2062,2245,1898,1698,1640,2300,3430,3520,2366,1594,1607,1500,1510,1544,1381,1350,1532,1961,1942,1636,1711,2022,1893,1611,1782,1562,1347,1570,1557,1596,1422,1245,2030,3146,3915,4084,3348,2380,1926,1587,1697,2867,3566,3216,2236,1660,1919,2297,2101,1680,1837,2442,2619,2156,2032,1991,1797,1838,2111,1919,1735,1952,2044,2284,2271,1954,1939,2066,2219,2590,2425,2352,2842,2872,2301,2427,2598,2263,2152,2724,2564,2102,2788,2806,2518,2336,1997,2323,2423,2698,3091,2514,2313,1896,1953,2796,2942,1849,1577,1863,1899,2307,2608,2577,2424,2322,2833,3108,3305,3016,3014,3447,3296,3506,3495,2822,2324,2351,2250,2047,2703,2797,2794,3076,2956,2366,2423,3120,2917,2242,2579,3333,3321,2600,2257,2494,2535,2599,2522,2115,1967,1715,1479,1610,1697,1925,2545,3263,2780,1985,1943,2144,2520,2689,2544,2284,2064,1844,1857,2074,2055,2286,2436,2196,2301,2733,2600,2812,3147,2276,1686,2016,2769,3000,2980,3018,3029,3093,3087,2924,3198,3071,3365,3963,4056,4283,4500,4623,4240,3705,3742,3646,4028,4141,3527,2126,956,548,441,422,362,365,361,361,360,349,345,350,358,384,418,410,379,361,418,415,312,336,334,355,354,362,382,413,415,408,414,429,433,432,457,503,579,634,645,764,814,723,770,919,1079,1116,972,931,1132,1097,805,989,1100,979,1128,1251,1059,1020,992,948,1013,1086,1154,1202,1152,1349,1431,1656,1743,1607,1627,1459,1498,1460,1427,1531,1574,1639,1654,1372,1461,1592,1468,1403,1401,1215,1028,968,976,943,906,918,927,868,872,872,808,713,776,813,796,750,702,677,680,667,650,642,651,659,640,611,607,623,643,647,657,658,648,641,647,683,725,758,766,854,933,966,965,869,757,702,654,653,679,652,782,1218,1476,1826,1694,1096,853,1034,1114,1128,1165,1256,1482,1769,1729,1647,2062,2555,3078,2748,1987,1550,1655,1708,1538,1325,1152,1171,1063,1009,1076,1031,940,886,868,791,698,691,662,641,623,591,699,935,911,841,679,634,887,1052,876,706,790,854,958,1049,1128,1068,1151,1245,1510,1633,1807,2280,2923,3530,3352,2976,2964,2774,2165,2156,2264,2203,2518,3234,3539,2978,3146,3726,1838,738,537,464,455,502,495,465,451,437,418,406,390,369,364,369,372,391,372,366,357,351,354,352,347,359,380,362,367,419,533,501,477,467,402,493,524,412,385,411,426,409,404,439,427,426,422,432,450,427,413,402,394,407,425,440,398,366,382,406,398,366,356,360,363,367,366,358,352,365,380,393,414,437,444,446,450,450,447,454,497,548,543,544,538,551,602,664,717,731,681,625,561,497,505,666,803,703,600,613,585,529,472,427,435,495,525,529,521,499,475,472,531,594,570,541,510,548,575,569,547,503,464,442,427,403,389,387,388,417,473,492,523,542,493,430,387,369,365,398,449,479,491,511,518,510,527,549,536,537,552,564,577,589,592,567,522,593,621,609,580,589,593,553,537,554,517,492,520,548,564,587,589,570,547,530,509,474,442,425,417,404,402,416,434,440,448,449,439,419,398,389,393,394,385,376,367,370,374,374,388,411],[2630,2553,2823,3422,3318,3315,3608,3575,3907,3894,3509,3430,3483,3617,3242,2957,3055,3430,3510,3287,3105,3024,2983,3010,2939,3042,3485,3958,4150,4026,3626,3438,2927,2937,2729,2622,2295,1941,2271,2722,2428,2031,1964,2358,2049,2051,2114,2068,1988,2150,2372,2679,3349,3484,2964,3377,3673,3658,3561,3533,3153,3217,3400,3089,2465,2293,2047,1424,1640,2083,1749,1851,2555,3331,3563,3242,3244,2987,2467,2250,1995,2025,2555,3216,3614,3619,3711,3619,3328,2906,2477,2383,2046,1650,1720,2515,3334,3123,2674,2655,3132,3405,3628,3432,3161,3173,2884,2853,3029,2811,2585,2458,2196,2225,2381,2544,2969,3222,3471,3584,3475,3670,3956,3381,3009,3651,2938,1989,2229,2640,2894,3607,3743,3707,3560,3271,3397,3051,2440,2731,2797,2621,3063,3291,3033,2647,2690,2376,1885,2281,2973,2955,3068,3012,2767,2291,2217,2384,2471,1970,2317,2244,1941,2070,2111,1559,1192,1806,1917,1971,1945,2154,2987,2916,2543,2588,3008,2852,2984,2877,2497,2607,2718,2846,2697,2696,2462,2050,2835,3076,3443,3545,3005,2645,2897,2833,2344,2754,3053,2996,3039,2874,2751,2513,2721,2608,2229,2330,2824,2964,3453,2924,3340,3931,3485,1865,2061,3006,3815,4000,4099,4227,4432,4265,3824,3365,2845,2755,2814,2690,2229,1667,1899,2418,2316,2124,2033,1785,1732,1857,1847,1617,1605,1399,1354,1560,1671,2087,2847,2846,2527,2630,2684,2997,2818,2940,2380,2030,1985,2424,2000,1832,2019,2350,2412,2909,3774,3097,2163,1924,2785,3883,3951,4081,3644,3535,3710,3277,2814,2738,3124,3416,3106,2831,2849,2833,2971,3438,2972,2467,2249,1808,2149,2761,2425,2606,2401,1733,1386,1776,2048,1740,1921,2356,2842,3201,2918,2494,2495,2531,2249,1821,1475,1504,2139,2653,2946,3321,3516,2925,2061,2071,2003,1891,2127,1606,1729,2204,2164,2398,2702,2466,2460,2585,2425,2569,2984,2891,2415,1895,1726,2687,3426,3658,3586,3513,3184,2390,2236,2591,2745,2527,1695,1393,1454,1477,1615,1831,1822,2194,2314,2525,2649,2677,2722,2423,2396,3131,3491,3158,3970,3532,3584,3854,2741,1541,1290,1656,2248,2361,2474,2804,3256,3161,3131,3195,3326,3503,3816,3508,2749,2629,2668,2745,2655,3053,3096,2734,2301,2067,2185,1960,1701,1857,2171,2808,3554,3266,2476,2029,1793,1866,1731,1935,2834,3777,3260,2754,2891,2732,2410,2131,2378,2539,2635,2537,2433,2439,2742,2622,2505,2520,2179,2206,2654,2376,2176,2116,2352,2386,2263,1865,1739,1804,1700,1997,2046,1826,2356,3000,3452,3222,2778,2600,2502,2778,3032,2399,2548,2636,1992,2168,2320,2343,2293,2418,2585,2337,1938,2034,2267,2347,2568,2755,2633,2286,2396,2755,2909,2303,2251,2747,3065,2451,1868,2315,3043,3033,2670,2533,2138,2131,2695,2464,3372,3168,2619,2378,2177,2619,3687,3784,2875,2242,2235,2732,3164,2457,1532,1565,1774,1934,2641,3124,3157,2835,2478,2567,2805,3276,2979,3269,3384,3363,3594,3627,3299,3119,3072,3282,3418,3260,2843,2692,2827,2735,2331,2599,2563,2169,1853,1808,1909,1924,2020,1751,1522,1933,2416,2724,2561,2996,2913,2282,2137,2524,3074,3484,3228,2625,2642,2735,2894,2872,2751,2152,2276,2569,1852,1884,2578,2853,3254,3340,2622,2484,2841,2998,2233,2069,2331,2442,2388,2464,2058,1681,1884,1620,1936,2117,2739,3733,3549,3128,2805,2797,2999,2788,2600,3048,3341,3475,3439,3409,3464,3375,3146,2800,2309,2141,1959,2000,2022,2219,2411,2790,3250,3415,3105,2889,3027,3156,2740,2106,1773,1753,1752,1857,1547,1451,1914,1675,1809,1975,2101,2040,1777,1779,1757,2044,2019,1453,1418,1708,1881,1721,1643,1681,1492,1455,1487,2110,2288,2297,2642,2108,1957,2307,2151,2035,1945,1800,1817,1759,1907,2171,2172,2147,2093,1907,1922,1774,1716,1827,1712,1662,1775,1772,1560,1765,2280,2441,2736,3353,3636,3349,3054,2865,2764,2238,2677,3127,3300,3478,3635,3642,3177,2579,2886,3615,3506,3119,2647,2220,2466,2890,3012,2506,2234,1968,1879,2409,2545,2583,2325,2241,2533,2622,2163,1901,1773,2280,2773,2545,2091,1992,2115,1847,2082,2810,3253,3548,3138,2237,1571,1463,2279,3141,3330,3355,3409,3596,3607,3461,3299,3087,2714,2800,2900,2888,2830,2822,2867,2872,2911,2881,2242,1955,1974,2011,1884,1588,1638,1776,1824,2053,2093,1746,1988,2208,1808,1665,1501,1513,1892,2746,3033,2855,2872,2409,1589,1364,1528,1689,1566,1431,1587,1547,1547,1728,1961,1989,1725,1513,1519,1759,1965,1981,2009,2163,1858,1447,1459,1547,1489,1457,1497,1516,1484,1680,1867,1697,1992,2093,1995,1708,1400,1360,1480,1615,1649,1698,1795,1832,1750,1825,1686,1529,1953,1814,1540,1504,1419,1398,1573,1604,1493,1516,1487,1503,1553,1572,1642,1711,1675,2033,2202,1758,2194,2790,2439,1946,1991,1947,2172,1721,2147,3122,3017,2902,2134,1785,2524,2740,2327,2275,1860,1779,1994,2499,2388,2180,2792,2354,1933,2139,2159,1937,1771,1497,1640,2779,3570,3548,3117,2368,2128,2337,2292,2343,2070,1654,1807,2154,2391,2349,1992,1919,1592,1515,1567,1839,2429,2331,2221,2491,2062,1654,1564,1668,1518,1621,1808,1512,1422,1476,1455,1503,1530,1484,1462,1572,1732,1749,2213,3011,2995,3079,3160,2943,2575,2691,2662,2445,2526,2728,2649,2427,2617,2974,3073,2749,2369,2024,2041,2075,1993,1909,2307,2216,2050,2334,2571,2904,2995,2973,2934,2655,2788,2938,2809,2932,3104,2993,3165,3328,2854,2442,2178,2655,2691,2059,1804,1924,2038,2193,1937,1974,2443,2414,2512,2727,2745,2523,2623,3088,3464,2399,1558,2036,2675,2216,1674,1656,1535,1605,1506,1473,1511,1539,1750,2138,2276,2030,1802,1775,1727,1442,1984,3063,2190,1829,2318,2208,1534,1448,1806,1848,1404,1530,1622,1507,1428,1371,1239,1359,1656,1634,1710,1880,1854,1635,2172,2699,1946,1700,1780,1939,1755,1251,1161,1652,2126,2062,1852,1781,2101,2265,2266,2329,2239,2091,1650,1555,1434,1358,1494,1731,1814,1772,1745,1736,1772,1653,1769,1591,1818,1875,2282,1881,1890,1770,1559,1559,1710,1890,1873,2253,2433,2717,2977,2502,2100,1788,1525,1595,2002,2391,2914,3594,3750,2308,1513,1804,2230,2180,1975,1890,1617,1535,2032,2098,1625,2305,3233,2973,2046,1511,1429,1481,1577,1483,1433,1580,1806,1660,1516,1858,2380,2317,1816,1758,1544,1635,1714,1722,1694,1533,1286,1767,3109,4433,4464,3794,2662,1945,1413,1719,2944,3029,2744,2318,1837,2085,2273,2238,2438,2322,2610,3124,2380,1760,1721,1735,1785,1936,1963,1962,2014,2229,2483,2377,1879,1865,1672,1901,2303,2166,2412,3509,3830,3183,2350,2292,2533,2275,1906,2420,2875,3219,2900,2497,2424,2264,2235,2320,2833,3450,2677,2403,2303,2256,2978,3020,2277,1977,2289,2464,2659,2708,2834,2623,2518,3716,4416,3966,3116,2753,3097,3198,3482,3646,3262,3029,3119,2701,2064,2503,2431,2625,2859,3068,2261,1880,2442,2646,1939,1530,1775,2264,2275,2643,2835,2483,2175,1927,1653,1777,1766,1588,1507,1943,2633,2293,2900,4040,3222,2415,1957,2097,2292,2153,2008,1822,1530,2018,2278,2419,2922,3130,2585,2160,2308,2535,2921,2722,1979,1463,1830,2824,3021,2967,3122,3024,2991,3038,2642,2629,2276,2915,3808,3672,3739,4488,4676,4227,3793,3936,3902,4201,3773,2742,1534,985,740,488,424,369,361,371,354,342,343,342,359,370,376,475,481,391,370,422,527,353,327,307,324,342,338,365,397,402,414,427,429,428,433,454,478,574,645,659,760,803,753,738,880,1090,1130,1053,959,1110,1118,773,992,1079,1029,1110,1225,1179,1092,1021,1018,1022,1125,1215,1329,1225,1331,1381,1572,1739,1642,1549,1503,1453,1387,1367,1456,1499,1449,1655,1414,1351,1438,1359,1289,1338,1297,1126,984,980,938,872,835,874,821,812,830,791,708,716,775,784,742,709,676,655,630,624,626,643,658,642,614,591,601,650,650,619,637,653,637,633,648,678,731,740,788,876,914,948,911,788,704,675,667,682,653,734,1242,1661,2242,2327,1552,897,986,1108,1179,1124,1215,1411,1727,1881,1697,1827,2540,2945,2748,2188,1589,1535,1680,1589,1327,1180,1137,1106,1047,997,981,956,875,844,823,707,695,670,636,624,618,711,889,935,915,812,713,859,1087,1039,759,775,844,928,999,1020,1063,1218,1301,1455,1534,1663,2214,2644,3351,3342,3122,3042,2800,2215,2108,2188,2253,2911,3611,3310,2775,3143,3953,1779,793,566,449,450,496,487,469,450,431,411,399,391,368,360,359,353,396,379,363,353,344,347,353,356,368,400,369,365,433,586,630,553,566,492,464,534,438,408,413,420,414,390,467,437,434,450,447,441,427,416,407,394,394,425,443,406,363,370,399,393,361,342,351,359,365,374,359,353,365,385,404,413,415,418,407,432,468,442,443,492,529,542,544,556,548,585,649,672,658,636,616,585,557,605,717,693,676,663,623,557,487,499,531,467,491,547,565,539,499,481,461,489,541,541,528,498,495,527,529,515,480,443,439,449,415,388,376,375,391,404,430,454,430,412,421,411,408,438,469,475,511,539,586,596,571,549,496,461,491,521,535,546,574,596,575,539,563,582,574,566,579,602,553,522,537,508,487,503,528,545,566,569,550,524,503,457,434,419,406,409,404,389,403,433,433,452,479,453,450,433,404,403,423,410,391,381,374,364,362,375,399],[2313,2277,2536,3152,3485,3587,3742,3770,3870,3880,3566,3226,3808,4024,3594,2965,3234,3507,3245,3317,3342,3208,3032,2915,2931,3241,3819,4281,3818,3903,3780,3492,2779,2875,2796,2381,2368,2353,2600,2852,2534,2392,2558,2547,1975,2188,2291,1964,2041,2340,2861,3228,3432,2840,2253,3150,3464,3426,3022,3124,3574,4145,3608,2850,2394,2374,2433,1888,1642,1706,1639,2287,3138,3519,3750,3175,2775,2894,2854,2293,2062,2386,2627,3006,3718,3685,3396,3151,3140,2735,2366,2127,1919,1969,2091,3146,3716,3167,2520,2497,2655,3019,3266,2685,1955,2375,3122,3383,3386,3295,3077,2668,2013,1975,1808,2575,3219,3226,3142,3227,3252,3330,3362,2761,2207,2480,2361,2064,2813,2964,2845,3010,3220,3307,3184,3111,3040,2547,2214,2567,2884,3497,3642,2954,2303,2626,2872,2618,2266,2997,3935,3409,2495,2501,2435,2329,2466,2424,2358,1857,2108,2217,2403,3210,2836,2079,1071,1631,2356,2125,1653,2326,3248,3062,2548,2750,3104,2998,2842,2492,2825,2874,3063,2924,2425,2271,2050,1973,2724,2786,2843,3136,3032,3305,3350,2780,2303,2512,2801,2984,2723,2513,2602,2775,2836,2545,2679,2939,3320,3149,3151,2502,2808,3572,3120,2940,3077,3485,4384,4708,4687,4236,3731,3263,3063,3126,3420,3281,3090,2495,1621,1802,2476,2434,2130,1798,1665,1497,1705,2087,2231,1724,1470,1626,1664,1687,1967,2636,3032,2854,2846,3366,3118,3139,2919,2632,2200,1924,2186,2192,2038,2044,1809,2167,2614,3377,3736,3318,2376,2148,2945,3332,3171,3701,3771,3505,3746,3576,2680,2424,2856,3186,3084,2806,2844,2871,3291,3474,2780,2382,2177,1980,2821,2975,2302,2669,2786,2253,1836,1654,1894,1807,1740,2319,3177,3278,2753,2783,2504,2283,1908,1745,1696,1497,2311,3316,3483,3426,3354,3040,2149,2084,1876,1637,1365,1197,1455,1747,2020,2256,2436,2416,2503,2546,2485,2512,2997,2754,2221,1461,1302,2224,2997,3340,2938,2669,2609,2436,2299,2215,1870,1633,1632,1787,1725,1438,1719,1893,1712,1966,2630,2874,2504,2878,2878,2765,3155,3490,3547,3021,3008,2931,3298,3646,3083,2392,2256,2085,2200,2434,3024,3614,3779,3457,3341,3271,3270,3227,3309,3318,2833,2309,1965,2141,2357,2784,2583,2177,2264,2562,2510,2075,1945,2248,2404,2843,3669,3176,2288,1787,1657,1778,1709,2273,3706,4385,4052,3299,3016,2967,2777,2487,2753,2807,2349,2066,2182,2473,2940,2945,2442,1959,1956,2552,2744,2534,2701,1971,1914,2239,1998,1772,1922,1798,1788,2117,2116,1782,2144,2999,3473,3464,2718,2702,2664,2778,2853,2482,2358,2499,1965,2285,2698,2728,2380,3186,3376,2551,1993,2004,2237,2460,2676,2781,2876,2452,2519,2396,2261,2109,2562,2789,3145,2769,1717,1812,2377,2665,2670,2624,2286,2890,3206,3291,3405,3240,2990,2319,2469,3606,4311,4120,3436,2346,1941,2790,3428,2696,1626,1519,1874,2185,2759,3028,3236,2844,2375,2286,2454,3009,3022,3010,3098,3044,3168,3091,2746,2497,2494,3207,3630,3508,2916,2713,2814,2854,3143,2875,2805,2805,2023,1767,2097,1870,2011,2028,1708,1748,2150,2786,2966,3135,3151,2229,1659,1946,2049,2397,2469,2499,2808,3083,3855,3472,3152,2791,2812,2815,2179,1890,2064,2309,2976,3198,2984,3272,2966,2728,2166,1913,2116,2401,2548,2477,2094,1656,1926,1654,1674,1697,2814,3205,2976,3050,2888,2429,2386,2474,2485,3138,3354,3438,3473,3426,3500,3518,3650,3731,3541,2768,2166,1873,1994,2003,2067,2146,2426,2996,3146,3250,3254,3052,2871,2265,1724,1812,2244,2231,1858,1658,1804,1509,1581,1543,1965,2050,1839,1982,1806,1824,1946,1514,1562,1856,1874,1630,1569,1531,1515,1721,2072,2251,2150,2574,2489,1801,2214,2093,2155,2102,1849,2148,1930,1896,2182,2421,2484,2401,2397,2046,1748,1510,1592,1647,1725,1854,1848,1892,2070,2514,2535,2387,2629,2933,3242,3213,2820,2775,2476,2234,2788,3404,3494,3565,3603,3630,3389,2732,2592,3494,3479,3175,2803,2231,2632,3254,3066,2572,2565,2185,1772,2014,2156,2469,2489,2343,2063,1796,1981,2106,2032,2683,3005,2929,2787,2619,2178,1688,1751,1944,2754,3606,3846,3444,2440,1753,2561,3442,3730,3525,3378,3486,3792,3604,3492,3646,3205,2661,2504,2526,2620,2901,2989,2968,2654,2282,1914,1594,1528,1539,1616,1541,1621,1996,1966,1771,1982,1675,2206,2138,1669,1600,1438,1433,1579,2407,3305,3271,2887,2297,1648,1583,1560,1735,1561,1451,1554,1583,1742,2051,2418,2316,1822,1475,1683,1882,1725,2133,2605,2311,2055,1746,1499,1443,1381,1458,1507,1404,1476,1837,2609,1859,1583,1687,1643,1649,1432,1322,1416,1485,1519,1528,1502,1587,1630,1716,1750,1698,1708,1793,1822,1788,1726,1715,1894,1863,1714,1746,1702,1633,1754,1742,1573,1741,1613,1996,2414,2157,2002,2110,1763,1669,1771,1666,1888,1645,1799,2568,3089,2850,1943,1700,2867,3248,2294,2078,2250,2272,2254,2481,2236,2122,2288,2058,1706,1982,2207,1989,1530,1428,1477,2707,3520,2985,1995,1572,1544,1537,1695,2100,1864,1615,1799,2223,2270,1879,1716,1651,1386,1315,1613,1791,1976,2276,2265,2175,1746,1412,1312,1528,1672,1853,1698,1498,1456,1501,1536,1670,1650,1585,1476,1545,1782,1514,1576,2215,2617,2609,2819,2902,2718,2674,2586,2521,2546,2609,2576,2512,2586,2646,2614,2236,1746,1847,2245,2351,2156,2085,2457,2365,2412,2369,2429,2621,2648,2587,2621,2518,2677,2850,2876,3038,3131,2939,3008,2818,2018,1712,1498,1842,2133,1761,1522,1766,1852,1793,1638,2384,2868,2910,2792,2910,3304,3210,2910,2636,2295,2257,2171,2646,2686,2232,1710,1527,1548,1474,1404,1420,1592,1561,1770,2438,2428,1945,1609,1786,1815,1673,1971,2432,1994,2047,3090,2886,1878,1668,1794,1849,1538,1646,1704,1495,1444,1426,1638,1711,1898,1821,1794,1954,2158,1917,1669,1758,1776,1517,1593,1625,1606,1191,1343,1990,2048,2078,2114,1846,2268,2308,1979,2527,2311,1985,1821,1583,1440,1553,1969,2041,1876,1982,2198,1938,1614,1705,2734,2485,2239,2065,1854,1918,2280,2214,1712,1579,1780,1943,1732,1667,2186,2828,2818,2347,2178,2044,1876,1684,1720,1919,2210,2758,3033,2001,1552,1665,1918,1863,1637,1469,1306,1435,1888,2040,1821,2043,3044,3205,2780,2013,1683,1607,1494,1669,1669,1398,1471,1351,1509,2308,2642,2541,2035,1637,1514,1427,1425,1538,1603,1482,1389,1527,2442,3581,3574,3353,3156,2590,1411,1536,2737,3030,2917,2409,1548,1838,2068,2492,2812,2610,2844,2986,2350,1826,2071,2360,2522,2637,2486,2275,2154,2315,2776,2913,2294,1923,1950,1961,1852,1736,2104,3011,3892,3842,2640,2419,2390,2248,2082,2590,2685,2399,2409,2459,2530,2100,1957,2343,2559,2895,2696,2766,2491,1953,2466,3124,2540,1851,2416,2862,2802,2821,3248,2468,2430,3218,3601,3508,3121,2707,2626,2900,3582,3853,3741,3699,4038,3477,2452,2524,2346,1993,2398,2631,2402,2744,3228,3129,2032,1484,1838,2634,3172,3430,3278,2479,1701,1400,1387,1374,1484,1793,1666,1882,2919,3064,2974,4244,3514,2267,1710,1622,1652,1800,2111,2049,2498,3227,3442,3538,3536,3385,2889,2283,2148,2507,3107,2997,2314,1998,2170,2758,3197,3429,3416,2673,2922,2930,2298,2353,3100,3651,3272,2745,3108,4416,4387,4130,4168,3981,3903,3554,3023,2879,1908,734,577,538,472,406,350,357,340,352,355,341,373,403,375,454,502,404,376,414,650,472,349,333,339,335,346,343,359,382,425,454,439,415,421,455,471,574,648,676,766,782,751,747,845,1076,1119,1178,1032,1086,1116,777,941,1074,1054,1140,1172,1159,1177,1007,1064,1029,1096,1192,1384,1236,1240,1310,1456,1682,1704,1552,1501,1460,1414,1350,1366,1473,1333,1482,1355,1266,1384,1313,1180,1213,1239,1121,991,966,926,884,821,839,792,765,782,763,709,698,727,742,735,704,669,641,619,609,606,620,651,651,623,591,581,632,649,602,626,645,634,616,625,644,690,710,747,828,854,918,922,828,724,701,699,697,690,709,1036,1456,1857,2232,2037,1121,1009,1052,1149,1131,1180,1300,1612,1943,1837,1809,2344,2736,2661,2258,1654,1485,1632,1657,1426,1224,1104,1190,1177,986,954,956,868,817,809,723,700,676,644,626,716,779,839,988,1062,1027,824,810,1034,1144,843,728,804,870,949,999,1028,1169,1305,1397,1596,1678,2140,2401,3198,3264,3116,3055,2811,2271,2105,2344,2469,2959,2743,2309,2603,2896,3016,1803,917,637,486,476,496,482,461,441,420,401,390,380,372,358,358,352,375,389,379,357,344,344,353,364,363,414,411,376,438,578,645,568,533,533,490,518,466,425,442,466,456,405,478,502,476,500,480,450,426,401,376,361,410,474,478,422,380,375,405,407,369,344,347,349,360,373,364,354,363,373,380,383,378,381,381,408,477,455,448,489,519,533,538,571,557,550,584,608,631,643,627,623,623,666,737,649,613,609,595,573,504,657,721,509,527,614,621,581,506,460,434,458,507,522,513,499,487,488,489,484,458,440,433,414,399,401,399,392,387,396,397,387,400,430,443,432,419,413,414,466,548,608,603,529,537,530,491,458,463,489,515,529,549,562,558,549,547,542,547,549,552,595,524,503,504,487,475,479,497,531,546,547,507,471,482,430,416,403,399,399,390,378,386,419,431,433,488,522,549,486,429,429,443,430,404,387,382,375,358,356,384],[2471,2274,2332,2840,3372,3285,2907,3074,3270,3505,3592,2894,3666,3930,3812,2923,3065,3141,3034,3045,3132,3062,3001,2862,3167,3420,4237,4120,3852,3990,4036,3422,2775,3222,2954,2631,2891,2864,2865,2852,2379,2518,3416,3326,2541,2565,2399,2170,1952,2039,3105,3542,3482,2419,1722,2578,2889,2973,2562,2443,3021,2908,2515,2249,2047,2243,2482,2047,1695,1806,1944,2411,2712,3077,3605,3050,2570,2928,3121,2513,1952,2014,2524,2741,2939,3165,3085,2918,3176,2906,2406,2086,2244,2480,2874,3759,3769,3293,2790,2978,2955,2757,3065,2997,2303,2415,3057,3233,3140,3045,2924,2489,2117,2088,2078,2649,2866,2770,2780,2815,2889,2797,2562,2244,1615,1759,2978,3539,3545,3318,3017,2820,3061,2990,2757,2613,2731,3111,3534,4229,4704,4628,3703,2911,2548,2640,2630,2608,2654,2748,2999,2800,1590,1941,2049,2262,2248,2165,2333,2127,2207,2416,2665,3741,3245,2622,1513,1621,2588,2322,2056,2722,3190,3030,2677,2999,3810,3712,2908,3041,3163,3003,2451,2332,2251,2439,2199,2008,2452,2347,2302,2636,2735,3068,2976,2670,2120,2409,2311,2498,2774,2884,3062,3255,3098,2641,3120,3596,3676,3593,3221,2794,3020,3046,2953,3931,4240,4289,4472,4252,3899,3277,3164,3122,2845,2896,2905,2618,2810,2420,1904,2126,2211,1921,1935,1336,1534,1570,1768,1992,1743,1681,1940,2019,1958,1819,2201,2886,2987,2737,2629,3075,3212,2998,2647,2868,2846,2127,1905,1937,1970,1773,1666,1823,2362,3423,3641,3703,3033,2449,2699,3048,3369,3912,4041,3927,3952,3443,2594,2589,2766,2861,2921,2945,2861,2969,3239,2745,2032,2094,2142,2386,2691,2553,2408,3003,3016,2836,2393,2206,2337,1851,1864,2352,2953,2931,2654,3039,2722,2469,2174,2426,2127,1417,2412,3649,3537,3387,2679,2447,1964,1803,1777,1341,1353,1771,2212,2528,2348,2249,2503,2403,2396,2429,2338,2035,2281,2410,2013,1998,2287,2490,2998,3107,2518,2125,2014,1645,1167,889,886,1165,1710,2122,1960,1543,1803,2073,1842,2232,2483,2573,2381,3206,3161,3153,3473,3646,3569,3292,2907,2656,3040,3458,3100,2419,2646,3134,3510,3741,4132,4067,3637,3542,3619,3511,3040,2453,2364,2590,2342,2012,2249,2455,2940,2820,2464,2514,2881,3090,2728,2193,1970,2426,2675,2951,3505,2977,2155,1912,1860,2188,2251,2407,3708,4253,3999,3573,2942,3128,3147,2732,2542,2417,2324,2522,2620,2681,2480,2000,2480,2087,1709,2171,2730,2956,2891,1737,1288,1920,1975,2061,2458,2569,2276,2156,2095,1819,1803,2661,3300,3640,3286,3017,3153,3169,2998,2744,2597,2583,2260,2630,2798,2821,2647,3445,3294,2093,2160,2268,2452,2600,2704,2923,3054,3188,2764,2419,2592,2862,2569,2609,3160,3034,2149,2128,2307,2431,2875,2823,3117,3535,3533,3208,3023,3753,3534,2919,3451,4013,3795,3862,3499,2444,2338,2834,3334,2886,1748,1355,1420,1603,2234,2712,3449,3320,2721,2363,2346,2774,3066,3040,3025,3026,3178,3163,2697,2451,2621,3348,3312,3343,3025,2872,2885,3000,3142,2951,2913,2703,1957,1742,1950,2013,1743,1826,1735,1694,2283,2822,2608,2647,3108,2234,1838,1946,1864,1892,1856,2313,2523,3275,4345,4432,4330,4236,3538,2853,2263,1737,1574,2265,2874,3216,3773,3680,3227,2905,2647,2723,2429,2271,2289,2183,1743,1587,1793,1483,1329,1578,2831,3305,3068,3151,2770,2206,2069,2303,2442,2981,3275,3372,3474,3420,3373,3489,3535,3645,3688,3208,2622,2574,2515,2157,2012,2008,1982,2031,2384,2653,2987,3233,3209,2755,2198,1952,2225,2023,1823,1726,1578,1554,1696,1762,2192,2106,2146,2078,1708,1713,1684,1497,1625,1927,1841,1721,1536,1398,1487,2012,2565,2237,2306,2725,2126,1813,2331,2352,2551,2185,1724,1815,1663,2099,2599,2396,2378,2391,2481,2237,2038,1620,1413,1476,1627,2200,2183,2140,2624,2777,2685,3119,3452,3234,2751,2480,2409,2386,2038,1977,2744,3494,3706,3720,3720,3653,3434,2918,2496,3288,3553,3285,2978,2377,2644,3433,3164,2745,3240,3043,2375,2176,1737,2052,2598,2370,2046,2149,2433,2353,2895,3725,3274,3132,2933,2542,2469,2427,2051,2131,2576,3283,3680,3566,3206,2879,3560,3781,3664,3260,3298,3337,3497,3328,3333,3382,2871,2456,2380,2447,2541,2709,2719,2918,2539,2231,2155,1772,1505,1400,1406,1619,2034,2389,2361,1775,2084,2048,2617,2113,1840,1718,1566,1493,1479,2092,2751,2736,2271,1653,1615,1716,1562,1502,1553,1570,1510,1540,1520,1890,2580,2657,2153,1815,1917,1807,1610,1902,2278,1942,2094,2221,1787,1572,1529,1628,1582,1452,1553,1636,2182,1879,1509,1483,1488,1427,1296,1362,1586,1595,1510,1395,1613,1913,1643,1668,1650,1443,1600,1767,1863,2060,1889,1772,1684,1682,1905,2189,1932,1844,1807,1788,1791,1667,1515,1873,2242,2085,1743,1859,1948,2136,1671,1236,1528,1937,2316,2525,2415,2191,1693,1577,2339,2414,1857,2008,2786,2966,2158,2493,2676,2282,2070,2007,2330,2514,2396,2271,1713,1789,2045,2430,2565,2045,1509,1271,1329,1693,2160,2236,1980,1879,1711,1912,1794,1381,1796,1937,1491,1449,1605,1621,1830,2603,2288,1829,1694,1486,1387,1376,1609,1720,1591,1739,1710,1647,1563,1748,1577,1642,1504,1445,1728,1422,1206,1826,2769,3027,2802,2907,2907,2826,2708,2539,2556,2466,2412,2458,2312,2153,2165,1930,1610,1904,2298,2388,2200,2169,2457,2502,2527,2387,2515,2511,2214,2272,2408,2313,2651,2740,2855,3047,3079,3024,3009,2767,2143,1831,1626,1564,1864,2082,2078,2411,2222,1957,1973,2573,3188,3355,3296,3304,3409,3476,3342,2665,2036,2076,1994,2872,2489,1967,1936,1651,1564,1455,1365,1456,1619,1651,1613,1891,1882,1859,1672,1853,2130,2094,2454,2429,1843,2016,2778,2908,2414,2022,1927,1805,1601,1816,2303,1996,1778,2041,2237,2105,2326,2845,2542,1969,2293,2084,1610,2443,2433,1671,1457,1445,1534,1541,1564,1581,1671,2061,2221,1438,2239,2316,2037,2265,1850,1963,2019,1808,1662,1666,2062,2199,1676,1780,1788,1802,1816,1794,2524,2488,2082,2160,2137,1992,2213,2165,1726,1599,1874,1885,1737,1935,2562,2865,2660,2567,2526,2188,2192,1765,1742,2096,2078,2539,2895,2152,1629,1622,1639,1481,1610,1553,1367,1294,1274,1427,1373,1461,2080,2634,2933,2367,1918,1750,1507,1476,1612,1526,1495,1259,1495,1780,1946,2138,1814,1482,1376,1249,1258,1378,1458,1448,1483,1581,2004,2664,3006,3429,3886,3364,2030,1564,2328,3073,3041,2196,1497,1720,2145,2662,2273,1914,2167,2758,2685,2069,2611,3063,2818,2555,2620,2351,2123,1982,2112,2581,2518,2119,1956,2029,2302,2296,2031,2107,2979,3134,2496,2133,2242,2368,2566,2763,2115,1818,2243,2722,2880,2233,2249,2442,2628,2610,2511,2319,2150,2361,3178,3814,3228,2021,2255,2750,2384,2441,3024,2691,2260,2097,2631,3632,3708,2928,2729,2741,3448,3728,3687,3330,3950,3628,2785,3095,2642,1911,2423,2646,2511,2706,2551,2767,2339,2220,2452,2897,3341,3322,2916,2301,1580,1539,1585,1332,1360,1844,1732,1599,2728,2952,2524,2333,1710,1286,1531,1655,1386,1627,2177,2130,3196,3640,3592,3552,3415,3318,2901,2280,2072,2699,3741,3470,2608,2318,2173,2475,3319,3935,3485,2575,2439,2081,1712,2182,2980,2531,2395,2678,3206,4445,4084,4079,4233,3724,3482,3373,3497,3465,2586,1205,1123,1617,997,579,393,377,332,347,362,339,358,387,378,396,450,465,454,520,835,828,694,686,500,343,376,342,349,387,425,464,432,402,408,440,468,565,651,687,760,791,756,770,820,1082,1117,1236,1104,1081,1033,802,878,1040,1015,1080,1139,1101,1284,1046,1063,1028,1035,1142,1382,1289,1205,1309,1420,1642,1726,1640,1570,1487,1411,1347,1322,1439,1359,1337,1327,1285,1301,1291,1146,1087,1069,1039,1003,944,900,888,824,828,802,746,769,752,705,703,691,708,714,692,672,626,625,620,584,599,641,654,627,605,597,609,640,593,610,645,636,600,612,642,655,682,716,792,795,850,883,834,768,755,748,734,741,739,858,1131,1343,1712,2200,1790,1333,1094,1138,1194,1209,1273,1530,1971,2010,1735,2041,2555,2597,2278,1766,1547,1566,1606,1456,1252,1125,1192,1214,1030,939,905,850,814,797,734,697,681,671,648,760,856,841,1024,1103,1082,885,808,1010,1209,1004,797,796,846,904,990,977,1050,1285,1418,1621,1814,2124,2404,3012,3065,2964,3019,2809,2291,2230,2831,3184,2612,2031,2322,2928,3150,3582,2622,1201,742,513,461,484,472,452,432,412,404,391,374,365,358,358,360,367,383,388,367,344,351,359,369,368,414,443,403,428,544,609,540,467,507,456,507,468,423,431,433,461,437,474,555,518,529,512,490,458,455,437,377,438,524,508,475,439,386,423,432,389,351,346,340,352,370,380,371,360,362,361,363,364,369,376,392,437,448,464,485,508,532,535,554,548,495,520,587,583,571,624,755,749,691,668,612,606,607,648,666,607,535,493,467,569,661,666,604,515,462,435,435,469,495,486,488,483,471,482,489,481,471,456,445,434,425,414,392,368,390,406,409,422,418,408,405,428,454,482,543,623,665,583,525,517,503,468,437,450,476,498,518,533,536,538,540,542,532,540,548,525,582,519,494,498,480,478,464,461,519,523,526,495,449,479,456,429,405,392,391,385,375,375,398,416,426,465,479,473,455,426,418,423,416,396,383,384,386,362,349,376],[2503,2319,2266,2480,2831,2932,2952,2918,2806,3034,3174,2833,3163,3335,3217,3041,2703,2622,2570,2462,2942,2854,3011,3098,3233,3444,4037,3885,3959,3946,3760,2813,2524,3040,2713,2800,2867,2633,2798,2810,2620,2557,2739,3154,3247,2857,2570,2728,1866,1428,2430,3399,3571,2611,1984,2285,2627,2829,2200,2248,2510,2110,2151,2197,2361,3025,3034,2358,1848,1713,1852,2241,2219,2334,2592,1986,2238,2708,2842,2437,1792,2072,2655,2823,3032,3563,3431,2943,2834,2889,3124,2712,2612,2818,3142,3277,3660,3571,3319,3414,3350,2919,2478,2404,2472,2220,2241,2352,2408,2469,2568,2314,1936,1737,1914,2407,2558,2702,2643,2155,2454,2262,2248,2322,2299,2955,3538,3664,3484,3269,3084,2576,2598,2448,2370,2478,3592,4289,4585,4715,4523,3448,2985,3216,2671,2689,2866,2675,2658,2579,2360,2214,1498,1525,1858,2065,2138,2393,2625,2771,2339,2077,2189,2973,2911,2337,1808,1646,1585,1349,1478,2423,3207,2878,2742,3033,3630,3466,3168,3395,3598,3267,2088,1703,1927,2048,1871,2079,2468,2108,2116,2320,2318,2362,2368,2398,2188,2018,1938,2256,2653,2455,2700,3307,3616,3341,3204,3284,3118,3640,4245,4085,3717,2922,2811,3905,4233,4027,3625,3385,2923,3215,4125,3228,2028,2467,2818,2241,2234,2611,2900,2387,1893,1859,1915,1908,2091,1823,1819,1924,1684,1827,2235,2263,2102,2020,2356,2602,2692,2331,2665,2850,2812,3065,2856,2855,2899,2229,2013,1887,1784,1746,1688,1519,2015,2856,3190,3179,2459,1890,2404,3361,3587,3387,3449,3802,4011,3657,3518,3610,3529,3215,3123,3204,3145,3118,3034,2314,1977,2375,2450,2369,2225,2259,2330,2787,2608,2244,2109,2069,2122,2010,1682,2236,2457,2486,2604,2697,2568,2235,1914,2089,2222,2068,2734,3462,3088,2539,2097,1895,1581,1518,1953,2417,2652,2778,2769,2607,2201,2362,2524,2431,2264,2042,2021,1841,2148,2425,2459,2954,3289,3339,3514,3262,2591,2554,2721,1975,1635,1575,1694,2084,2315,2238,1815,1698,2085,2065,1868,2589,2741,2899,2841,3268,3375,3295,3570,3992,3942,3661,3091,2575,2634,3120,2749,2884,3713,4257,4140,3708,3633,3361,3270,3736,3739,3197,2588,2193,2298,2198,2152,2008,1997,2189,2603,2633,2224,1887,2132,2345,2665,2744,2338,2802,2947,3098,3360,3078,2470,2291,2781,2928,2647,2167,3509,4017,4117,4029,3270,3062,3056,2890,2578,2599,2800,2965,2880,2402,2156,2406,3016,2342,2365,2894,3272,3123,2449,1709,1373,1615,1894,2192,2322,2090,1781,1957,2053,1978,2083,2420,3325,3725,3326,2999,3152,2630,2864,3132,2968,2558,2422,2475,2548,2824,2693,2818,2776,2249,2315,2301,2629,2565,2584,2973,2878,2743,2588,2235,2590,3190,2950,3060,3043,3395,2916,3187,2937,3001,3370,3273,3522,3733,3429,2750,2255,3023,3133,3098,3155,3469,3435,3648,3796,3127,2633,2745,3018,2623,1788,1170,1274,1515,2353,2948,3558,3410,2715,2436,2345,2592,2776,2701,2815,3087,3340,3300,3090,2784,2557,3022,3030,3096,3065,2817,2689,2841,2943,2798,2758,2734,2033,2014,1977,1866,1764,1737,1654,1809,2251,2850,2632,2664,2969,2144,2166,2117,2125,2261,1910,1740,1726,2442,4181,4516,4324,4492,4232,3755,2789,1798,1896,2840,3064,3554,3776,3102,2856,2921,3250,3254,2697,1758,1744,1700,1470,1736,1902,1745,1763,1984,2938,3548,3141,2675,2002,1783,2051,2352,2430,2718,2805,3021,3345,3483,3550,3606,3676,3716,3769,3525,3183,3385,3498,3067,2441,2166,1939,1933,1823,1833,2100,2398,2754,2885,3002,2535,2211,2060,1924,1744,1542,1785,1855,2259,2598,2122,2373,2021,2021,1735,1642,1670,1762,1886,1858,1721,1715,1940,1847,2097,2390,2247,2771,2493,1909,2160,2159,2597,3189,2710,2116,1929,2200,2586,2750,2877,2678,2640,2862,2375,2023,1716,1578,1458,1559,1838,1899,2231,2323,2203,2226,3020,3607,3511,2866,2171,2195,2152,2057,2329,2946,3260,3763,3616,3493,3403,3304,3200,2509,2987,3547,3449,3095,2617,2939,3443,3022,2851,3752,3548,3077,2165,1620,2066,2454,2522,2680,2689,2579,2683,3419,3407,3293,2873,2342,2365,2780,2755,2522,2503,2625,2877,3171,3461,3320,3386,3730,3588,3364,3287,3177,3087,3322,3511,3550,3360,2896,2502,2499,2610,2730,2755,2830,2954,2579,2367,2193,1820,1678,1641,1651,1841,2150,2269,2349,1965,2032,2330,2585,2088,1634,1618,1687,1665,1725,2064,2022,1941,1792,1647,2253,2147,1954,1713,1837,1908,1694,1462,1410,1577,2162,2637,2424,1836,1793,1780,1687,1592,1934,2122,2173,1780,1515,1635,1820,1762,1468,1455,1604,1714,2061,1980,1749,1795,1612,1388,1348,1594,1874,1892,1835,1647,1675,2084,2037,2181,1758,1380,1729,1869,2222,2396,1763,1620,1507,1571,1797,2220,2285,2123,1770,1676,1813,1781,1783,1762,1900,1830,1714,2186,2404,2520,2304,1780,1872,2023,2155,2363,2245,1688,1526,1574,1908,1992,1694,1829,2288,2033,2181,2503,2093,2066,2123,2474,2795,2623,2520,2308,1810,1792,2213,2114,1809,1845,1982,1960,1634,1543,2110,2134,1732,1627,1694,1932,1647,1301,1739,2010,1804,1993,1854,1957,2336,2434,1801,1518,1474,1500,1376,1090,1270,1433,1648,1977,1619,1750,1644,1574,1590,1634,1725,1751,1681,1639,1585,1908,3382,3432,3172,3085,3171,2941,2788,2575,2614,2658,2627,2308,2062,2084,1797,1531,1649,1965,2011,1998,2077,2183,2483,2711,2412,2188,2240,2029,1983,2234,2352,2575,2724,2654,2850,3000,3008,2890,2797,2863,2857,2432,1866,2051,2314,2420,2193,2166,2455,2605,2608,2779,3013,3231,3393,3306,3337,3497,3366,2740,2843,2673,2520,2721,2588,2864,2593,1954,1506,1359,1622,1921,1970,1975,2005,2156,1868,2243,2317,2049,2035,2049,2659,2895,2365,1996,1823,2184,3097,2944,2100,1708,1713,2693,3238,2755,2917,3664,3431,2312,1889,2336,2014,1496,1648,1657,1609,3088,3052,1795,1552,1538,1972,2300,1768,1456,2064,2730,2263,1135,1743,2140,2183,2019,1613,1720,2015,1821,1682,1886,2177,2368,1696,1807,1917,1943,2060,2015,2061,1881,1761,1646,1729,1909,1896,1697,1529,1581,1740,1757,1760,1919,2546,2902,2489,2667,2802,2362,2186,1913,1649,2304,2238,2307,2425,2022,1634,1730,1770,1476,1538,1478,1500,1511,1320,1392,1568,1732,1518,1745,2003,1623,1420,1790,1761,1776,2054,1791,1439,1258,1620,1495,1511,1677,1573,1572,1448,1226,1362,1422,1390,1311,1494,1887,2034,2444,3087,3348,3458,3299,2358,1699,1757,2011,2248,1863,1758,1780,2252,2398,1937,1863,2027,2620,2681,1893,2433,2207,1972,2358,2476,2431,2404,2531,2445,2325,2438,2245,1985,2101,2132,2109,1790,1650,3076,3053,2150,1842,2059,2397,2483,2307,2024,2437,2632,3038,3071,2449,2333,2285,2369,2866,2884,2355,2421,2474,3059,3664,3557,3018,2396,2007,2420,2540,2563,2821,2778,2417,2632,3108,3285,3078,2792,3019,3636,4035,3754,3175,3565,3157,2555,3087,2767,2073,2291,2828,2810,2666,2267,2351,2294,2675,2969,2988,3208,3222,3083,2442,1534,1975,2047,1508,1460,1813,1748,1587,2277,2569,2237,1896,1448,1099,1641,1734,1750,1488,1812,1760,2978,3514,2879,2786,2773,2534,2149,2109,2002,2463,3059,3015,2510,2535,2700,2912,3138,3019,2601,2358,2210,2035,1847,1935,2312,2645,3423,3361,3067,3518,3631,3725,3662,3483,3533,3738,3993,3590,3716,2543,2467,3083,2845,1422,465,404,341,335,349,338,343,356,372,412,456,495,592,779,1131,1376,1364,1173,799,536,371,357,353,378,402,456,438,408,408,433,468,541,648,691,743,788,769,807,852,1145,1247,1270,1183,1052,935,844,906,1018,982,996,1136,1078,1322,1122,1057,1048,1009,1126,1334,1306,1208,1286,1375,1637,1670,1614,1550,1506,1434,1349,1302,1396,1417,1318,1267,1240,1231,1272,1146,1085,1002,967,985,951,917,873,797,821,832,741,761,744,692,674,687,682,688,673,666,627,608,616,599,600,635,649,637,612,613,573,581,582,603,642,644,602,601,656,647,671,692,740,747,790,837,829,796,769,745,750,763,756,836,971,1141,1391,1913,2163,2046,1477,1190,1292,1312,1294,1467,1958,2200,1772,1786,2346,2523,2256,1848,1607,1544,1576,1518,1318,1113,1154,1229,1036,943,875,824,782,800,749,689,694,681,662,703,836,831,943,982,986,881,807,959,1227,1240,1020,859,883,899,967,966,1006,1252,1410,1572,1788,1906,2306,2894,2955,2911,3062,3011,2661,2597,3399,3464,2029,2117,2867,3386,3716,3962,3001,1433,877,600,465,474,472,451,413,404,400,394,379,364,352,350,354,374,383,392,380,357,357,369,383,386,405,429,419,422,492,567,520,449,493,482,492,462,415,402,411,444,452,467,583,566,539,527,515,490,527,533,497,554,604,553,506,455,440,447,459,426,368,344,329,343,374,383,373,369,364,367,367,371,371,377,402,419,441,457,474,508,534,537,531,522,474,489,564,558,565,620,771,749,623,595,586,612,614,604,569,566,515,506,504,541,601,607,555,512,472,435,415,439,461,477,464,470,473,484,490,485,477,474,466,453,455,446,432,431,429,424,429,445,437,414,421,454,484,513,557,594,598,545,523,508,478,446,430,435,453,474,491,509,518,519,519,522,524,522,529,517,553,540,504,502,482,468,454,445,486,498,500,488,448,469,469,436,409,383,384,384,379,374,380,394,419,435,441,452,439,397,381,393,397,386,380,379,378,364,349,363],[2276,1945,2282,2470,2788,3136,3252,3176,2784,3033,2877,2966,3451,3198,3193,2924,2104,2242,2367,2473,2574,2998,3100,3242,3215,3391,3364,3425,3354,3240,3706,3269,3128,3308,2923,2735,2645,2202,2319,2609,2936,2612,2203,2741,2976,2750,2545,2863,2496,1453,1713,2619,2669,1768,1830,2187,2358,2674,2640,2885,3158,2636,2317,3060,3640,3859,3389,2880,2192,1692,1836,2168,2163,2055,2115,1847,2527,2911,2773,2457,1944,2239,2679,2898,3344,3501,3232,2857,2810,2995,3278,3252,2652,2678,2985,3164,3402,3413,3438,3364,3285,2885,2498,2633,2733,1927,1832,2526,2710,2591,2736,2330,1566,1384,1565,2719,3398,3660,3189,1816,2599,2733,2631,2831,3031,3442,3658,3561,3349,2956,2691,2313,2432,2677,3096,3444,4385,4225,3646,3963,3924,3125,2988,3376,3271,3037,2852,2299,2102,2502,2392,2081,1595,1313,1508,1794,1700,1709,1576,2214,2109,2053,2029,2134,1844,1388,1183,1094,1015,1026,1519,2383,2852,2766,3074,3059,3460,3333,3483,3694,3579,2910,2259,1990,1963,2386,2438,2649,2791,2094,2220,2468,2412,2784,3285,3075,2296,1748,2121,1931,1666,1509,1905,2375,3082,2408,2610,3152,2794,3252,4454,4634,3796,2741,2713,3252,3507,3400,3840,3950,3516,3767,3946,3012,2320,2521,2165,1374,1736,2574,2591,1852,1717,1743,1633,1838,2100,2034,1842,1626,1551,2062,2276,2301,2171,2188,2649,2619,2411,2120,2286,2315,2395,2783,2964,2900,2510,2103,2408,2245,1924,2046,1841,1612,2084,2695,2619,2147,1754,1682,2209,3518,3300,3026,3154,3565,3789,3700,3861,4177,3771,2967,3021,3321,3382,3129,2710,2288,2269,2619,2378,2074,2351,2329,2220,2417,2047,1998,2045,2001,2221,2133,1818,2259,2290,2328,2499,2698,2471,2036,1866,1804,2097,2577,2601,2676,2254,2018,2125,1788,1639,1503,1989,2566,2253,2204,2119,2058,1966,2490,2755,2658,1916,1631,1919,2083,2241,2402,2604,3290,3532,3458,3392,3480,2745,2567,2397,2201,2504,2468,2230,2168,2287,2284,1908,1784,2353,2235,2000,2536,2658,2415,2601,3162,3583,3645,3729,3964,3596,3046,2634,2250,2156,2162,2035,2633,3353,3385,2887,2513,2459,2370,2426,2513,2484,2202,2128,2071,2180,1992,2053,2030,2010,2268,2398,2699,2435,1715,1767,2137,2999,3132,2382,2199,2515,3031,3471,3276,2769,2796,3177,2846,2698,2126,2862,3663,3999,3619,3357,3118,2896,2666,2420,2700,2846,2735,2724,1952,1982,2420,2497,2610,2737,2722,2930,2535,1964,2207,2477,1922,1837,2222,2486,2204,1886,2094,1968,2083,2356,2919,3796,3385,3361,3439,2956,1989,3005,3019,2800,2720,2432,2749,3100,3134,2655,2523,2358,2171,2338,2295,2964,2801,2626,2956,3233,3440,2909,2122,2301,3063,3299,3377,3065,3617,3467,3881,3836,3658,3759,3549,3419,3594,2880,2116,1991,2378,2530,2176,2309,2963,3907,4023,4036,3886,2928,2068,2003,1861,1609,1453,1866,1862,2332,2938,3441,3103,2511,2310,2331,2633,2622,2433,2611,2697,2945,2788,2503,2742,3018,2895,2805,2829,2805,2733,2711,2957,3056,2604,2774,2929,2725,2761,2470,2055,2166,2057,1866,1885,2465,2680,2851,3101,2453,1729,2149,2160,2090,2650,2448,1916,1662,2261,4245,4339,4228,3964,3978,3769,3169,2225,2219,2764,2979,3095,3413,3371,2827,2810,3311,3227,2711,1843,1697,1625,1490,1744,1933,1750,1708,1939,2740,3044,2980,2328,2198,2010,2290,2551,2658,2777,2812,3177,3544,3631,3673,3736,3664,3591,3592,3727,3798,3717,3689,3197,2907,3055,2782,2251,1910,1685,1854,1936,1975,2231,2608,2655,2767,2666,2630,2491,2004,1445,1491,1877,2148,1969,1950,1770,1693,1838,1762,1673,1702,1751,1750,1378,1506,2070,2395,2307,2159,2674,2837,2208,1931,2308,2163,2607,3120,2887,2757,3085,3253,2988,2908,3061,3079,3088,2884,2205,1951,2039,1906,1725,1922,2306,2219,2481,2094,2000,1915,2642,3235,3165,2475,2171,2260,2127,2172,2410,3143,2868,3528,3619,3416,3432,3312,3132,2482,2694,3482,3563,3278,2986,3300,3518,2856,2522,3203,3726,3272,2138,1985,2232,2144,2290,2301,2495,2600,2798,2158,1715,2253,2237,2364,2426,2186,2298,2316,2181,2464,2664,2629,2765,3055,3431,3644,3543,3282,3330,3254,3165,3374,3650,3571,3133,2872,2483,2471,2620,2735,2721,2764,2812,2619,2378,2258,2080,2099,2052,1813,2186,2423,2032,1824,1747,1562,1655,1874,1764,1814,2082,2053,1964,1791,1828,1765,1534,1550,2078,2470,2350,2036,1662,1783,1919,1715,1499,1437,1492,1787,1849,1834,1879,1934,2166,2165,1679,1584,1761,1790,1489,1743,1942,1964,1933,1688,1649,1650,1641,1695,1751,1875,1882,1558,1403,1382,1604,1742,1686,1877,1890,1646,1582,1777,1944,1593,1637,1930,1916,2224,2077,1564,1365,1475,1453,1760,2083,2102,2230,1936,1619,1627,1824,1686,1620,1831,1593,1464,1955,2250,2298,1873,1844,2126,2029,2271,2265,2196,1785,1699,2149,2124,2281,2170,2135,2115,1863,2596,2786,2494,2195,2179,3113,3028,2368,2126,2526,2767,2423,2071,2183,1999,2158,2168,2229,2144,1638,1833,1942,1620,1619,1965,1969,1696,1540,1726,2006,1850,1959,1990,1924,1808,1703,1521,1442,1404,1416,1373,1344,1512,1402,1499,1345,1438,1601,1537,1577,1598,1672,2019,2085,1937,2068,1817,1857,3069,2723,2974,3382,3452,3165,2892,2662,2662,2714,2453,2061,1876,1778,1724,1807,1965,2205,2106,1515,1759,2302,2530,2500,2165,2062,2041,1899,2244,2329,2374,2913,2945,2646,2875,3030,2942,2939,2798,2801,2975,2447,2003,2435,2612,2597,2179,1795,2049,2398,2610,2678,2758,2952,3109,3158,3207,3359,3405,2823,3279,3366,3469,3293,2737,2534,2598,2474,2095,1789,2036,1906,1793,1924,2230,2249,2082,2492,2482,2496,2246,1741,1983,1750,1653,1646,1486,1614,2596,2691,1788,1509,1588,2136,2675,2817,3321,4046,3749,2624,1734,1787,1324,1412,1649,1526,1643,2706,2827,1981,1863,1813,2514,3152,2173,1741,2236,2687,2374,2012,2549,2556,1968,1837,1654,1871,2198,2016,1614,1646,1646,1718,1849,1980,2020,2077,1935,2444,2565,2031,2032,1743,1882,2038,1866,1525,1437,1615,1609,1818,1887,1790,2496,2881,2518,2445,2207,2273,2101,1697,1567,1895,2044,1975,1757,1746,1572,1797,1721,1478,1405,1381,1582,1596,1403,1369,1526,1641,1640,1601,1415,1477,1438,1635,1607,1524,1826,1833,1488,1424,1396,1509,1701,1631,1505,1331,1324,1495,1535,1543,1405,1375,1470,1734,1630,1878,2676,2727,2297,2295,1933,1691,1555,1526,1506,1660,1745,1716,2260,2526,2214,2098,1855,1948,1960,1711,2372,2436,2065,2348,2134,2245,2453,2587,3054,2928,2613,2264,2301,2841,2305,2353,2275,2221,3195,3363,2758,2089,1810,2467,2499,2448,2419,2409,2415,2770,2918,2829,2645,2603,2519,2923,3297,2913,2925,2287,2215,2409,2453,2377,1824,1917,2543,2554,2358,2755,3172,2792,2898,3135,2654,2834,2744,3030,3269,3438,3098,2321,2398,2412,2095,2811,3061,2418,2481,3256,3190,2830,2328,2497,3111,3168,2852,2955,3160,3068,3120,2954,1918,2124,2011,1735,1815,1985,1763,1846,2226,2050,1752,1650,1115,1370,1918,1964,1932,1653,1662,1603,2436,2573,2336,2761,2853,2607,1858,1866,2084,2288,2500,2722,2417,2444,2842,2786,2310,1943,2099,2202,2173,2274,2015,2438,3099,3309,2958,2519,2503,3099,3563,3771,3575,3409,3418,3496,3790,4203,4111,3355,3178,3300,3470,2375,812,351,359,323,322,329,338,337,365,418,465,590,900,1274,1503,1478,1482,1221,867,570,350,372,538,758,847,665,465,437,422,431,465,519,641,699,732,771,780,836,837,1103,1355,1345,1244,1065,870,853,1055,1026,992,985,1130,1095,1261,1168,1088,1080,1037,1108,1284,1314,1185,1199,1298,1568,1599,1600,1503,1463,1433,1342,1284,1299,1330,1278,1236,1221,1055,1157,1138,1086,991,925,917,935,936,875,783,800,829,752,735,713,694,647,660,669,659,646,652,635,600,585,619,606,642,664,661,629,602,566,565,570,586,625,652,623,612,683,664,689,704,714,724,757,801,808,775,736,699,733,765,760,828,895,1051,1226,1548,1931,2189,1952,1547,1394,1454,1392,1438,1944,2407,2062,1730,2165,2542,2298,1890,1661,1557,1576,1591,1461,1148,1105,1226,1129,954,849,807,758,783,763,683,674,706,708,697,856,812,859,910,927,876,774,905,1163,1248,1148,997,972,1053,1068,1036,1102,1252,1376,1475,1614,1702,2055,2766,2834,2778,3084,3266,2854,3163,4205,3664,2664,2872,3433,3609,3731,3940,3055,1593,933,657,497,459,464,450,418,408,410,404,370,370,347,344,351,368,386,404,398,387,392,399,400,396,400,408,425,421,463,572,569,485,486,502,482,461,423,397,411,431,437,459,586,594,532,535,536,514,548,556,547,649,679,618,546,477,451,469,499,466,395,359,347,357,388,398,360,379,372,374,366,373,380,393,410,419,431,437,455,500,525,508,476,483,479,468,538,588,634,623,623,636,577,583,598,629,621,601,537,540,516,465,457,462,494,526,502,497,474,435,408,415,411,452,444,445,466,469,475,475,469,468,472,471,462,448,440,435,430,435,448,466,469,457,451,458,470,490,501,504,511,522,517,492,459,438,421,419,432,447,476,495,502,501,504,510,507,500,505,509,532,547,508,503,482,462,445,443,455,467,481,475,442,440,448,428,404,375,377,387,380,374,378,381,388,399,403,417,415,384,368,380,392,383,376,373,373,360,351,356],[2502,2554,2744,2980,3120,3130,3206,2774,2537,3062,2898,3226,3592,3276,3334,2924,1735,1984,2605,2707,2428,2587,2930,3033,3204,3167,2486,2579,2595,2800,3408,3452,2719,2573,2537,2556,2535,2257,2092,2248,2724,2820,2584,2988,2719,2629,2641,2377,2092,1948,2448,2836,2498,1955,1911,2298,2369,2664,3440,3813,3482,2634,2490,3200,3916,3883,3395,2901,2146,1949,2201,2289,2231,2061,2203,2469,2911,2851,2674,2691,2790,3000,2799,2577,2347,2833,3232,2894,2910,2917,3012,3153,3145,3300,3278,3083,3244,3620,3572,3072,2721,2556,2579,2833,3100,2334,2137,2482,2801,3222,3036,2205,1528,1822,2445,3363,3553,3554,3272,2485,2934,3012,3032,3414,3217,3303,3344,2809,2492,2554,3137,3579,3479,3608,4052,4427,4676,3880,3052,2999,2993,3168,2990,2790,2752,2984,2510,1991,1889,2425,2770,2179,1693,1281,1165,1603,1244,1171,1256,1551,1956,1935,1920,2244,2009,1813,2286,2117,1525,1743,1951,2284,2790,2965,3142,3037,3322,3499,3576,3420,2916,2734,2787,2643,2452,2648,2626,2888,2941,2293,2213,2325,2061,2557,3360,3113,2440,1901,2215,1454,1400,1882,2003,2799,3116,2372,2578,2670,2200,2754,3470,3482,3218,3249,3383,3569,3933,4363,4763,4647,4038,3602,3570,3375,2756,2236,1713,1814,2342,2376,2152,1923,1938,1716,1486,1664,1764,1798,1855,1571,1302,1758,1896,2214,2393,2583,2720,2418,2454,2722,2524,2512,2653,2203,2396,2534,2461,2603,3196,2792,2247,1931,1866,1790,1880,2308,2345,1942,1767,1825,2670,3422,2968,2777,2998,3290,3596,3829,3938,3912,3488,2556,2623,2935,3127,2751,2217,2412,2533,2486,2220,2055,2191,2310,2325,2469,2100,2352,2210,2191,2446,2003,1920,2401,2438,2408,2820,2871,2689,2386,2059,2188,1964,2072,2282,2599,2084,2205,2338,1757,1434,1554,2092,2498,2418,2249,2056,1967,2033,2677,3182,2977,2426,2522,2684,2538,2327,2500,2765,3422,3475,3260,3342,3286,2547,2030,1949,1889,1797,1732,1698,2016,2126,2126,1962,1814,2382,2255,1836,2176,2360,2336,2755,3263,3806,3848,3266,2840,2363,2170,2179,2060,2077,2367,2550,2569,2685,2510,2373,2294,2338,2395,2099,1970,1973,2019,2053,2223,2504,2819,2949,2393,2272,2874,2689,2601,2473,2186,2220,2463,2810,2969,2604,2265,2509,2968,2912,2767,2933,2613,2687,2785,2603,2213,2271,2907,3437,3646,3532,2956,2667,2868,2787,2949,2766,2633,2525,2050,1838,2051,2310,2270,1762,1453,1677,2120,2631,2687,2932,2138,1992,2413,2689,2434,2371,2333,2028,2603,3384,3693,3703,3359,3623,3628,3053,3020,3695,3129,3121,2973,2824,2959,2386,2514,2518,2307,1849,1879,2509,2587,2893,2845,2720,2802,2797,3047,2696,2213,2353,2786,3348,3488,3181,3266,3266,3483,3867,3906,3776,3318,2864,2818,2219,2084,2267,2492,2234,2048,2299,3153,4140,4140,4123,4039,2953,1781,1572,1708,1576,2067,2441,2068,2445,3306,3624,3310,2519,2452,2486,2688,3278,3429,2717,2561,3015,3090,2741,3093,3272,2884,2944,3106,3175,3061,2894,2934,2933,2519,2770,2772,2661,2654,2218,2203,2370,1944,2051,1641,1874,2122,2492,2885,2093,1610,1910,1828,1539,1778,2059,1873,1755,2685,3820,3681,4131,4151,4136,3827,2968,2632,3008,3263,3530,2769,2756,2953,2636,2162,2370,2376,2189,1919,1772,1729,1535,1559,1780,2019,2006,1880,1746,2058,2474,2290,2325,2463,2910,3152,3054,2961,2991,3254,3522,3549,3729,3839,3645,3505,3415,3629,3776,3824,3827,3391,3022,3175,2964,3030,2734,2249,1974,1790,1758,1693,1783,1926,2292,2596,2722,2548,2212,1641,1516,1628,1730,1598,1430,1535,1526,1508,1338,1403,1482,1542,1758,1472,1733,2222,2552,2226,2342,2994,2632,1910,2082,2370,1986,2540,2736,2512,2792,3607,3340,2514,2932,3354,3394,3375,2898,2155,1883,1990,1986,1994,2060,2187,2018,2493,2054,1829,1738,2237,3163,3189,2523,2502,2973,2475,2186,2534,2508,2379,2957,2579,2701,3211,3172,2821,2336,2432,3262,3532,3510,3205,3521,3510,2438,1892,2245,2912,3010,2803,2734,2667,2321,2170,2351,2577,2675,2241,1472,1575,1944,2090,2329,2398,2126,2172,2134,2088,2513,2619,2587,2706,3149,3440,3650,3559,3488,3494,3385,3319,3211,3631,3682,2979,2577,2451,2513,2665,2778,2816,2939,3165,3145,2502,2069,1985,2066,2082,1698,1765,2132,1837,1456,1404,1382,1406,1626,1863,1827,2121,2056,2595,2341,1826,1859,1686,1590,1971,2377,2362,1968,1750,1910,1874,1765,1732,1406,1578,1594,1471,1748,1880,1880,2355,2491,1686,1671,1933,1638,1585,2080,2031,2013,2283,2021,1801,1870,1564,1318,1771,1938,1687,1522,1584,1579,1549,1603,1518,1505,1536,1506,1550,1544,1527,1714,2082,1948,2106,2056,1788,1942,1952,1765,1884,2629,2670,1942,2028,2136,1962,1675,1420,1448,1705,1804,1580,1549,1566,1698,1918,1680,1828,1866,1733,2024,2292,2116,1835,1984,1904,1750,2454,2784,2707,2280,2364,2741,2482,2447,2178,2632,3387,3042,2253,2158,2456,3124,3388,2510,2166,1854,2080,1971,2316,2306,1843,1936,1973,1794,1995,2415,2133,2065,2002,2010,1519,1534,1917,1919,1752,2007,2167,2092,1981,1557,1655,1669,1740,1851,1553,1600,1506,1632,1642,1496,1554,1542,1406,1576,1886,1993,1977,1538,2035,2762,2459,2543,3251,3664,3259,2788,2589,2420,2250,2040,2213,2035,1903,1746,1917,2126,2142,2037,1841,2145,2374,2423,2495,2302,2142,2023,2202,2620,2337,2520,2974,2832,2644,2944,3122,2998,2883,2773,2973,3144,2409,1743,2079,2803,3201,2403,1871,1832,1952,2312,2572,2857,2766,2675,3223,3449,3526,3278,2239,1678,1901,2678,3007,2840,2611,2537,2436,2459,2482,2595,1871,1700,1828,1766,1873,2398,2671,2414,2917,3095,1835,1643,1799,1454,1398,1594,1519,1574,1787,1714,1659,1828,1946,2075,2786,3002,3261,2626,1860,1510,1637,1885,2105,2046,1953,1997,2398,2372,2149,1923,2202,2721,3349,2486,1877,2488,3198,3193,3089,2765,1804,1519,1567,1432,1433,1739,2072,1554,1433,1500,1720,2224,2076,2020,1995,2067,2555,2511,2040,1862,1742,1822,2158,2159,1619,1655,1702,1654,1798,1895,1689,1972,1987,1746,1685,2040,2243,1886,1597,1477,1720,1944,2099,2087,1800,1614,1992,1858,1675,1504,1386,1376,1386,1497,1565,1594,1442,1607,1773,1836,1928,1468,1399,1411,1378,1537,1539,1742,1810,1519,1870,1905,1854,1940,1490,1396,1512,1372,1469,1506,1495,1500,1460,1417,1831,2392,2412,2536,2162,1736,1727,1610,1649,1468,1420,1508,1465,1878,2139,1872,1745,1670,1842,1878,1780,2214,2443,2728,3021,2706,2335,2121,2595,3210,2695,2227,1996,2366,2923,2768,2545,2835,2861,2533,2611,2405,1520,1197,1856,2200,2317,1953,1994,2320,3077,3769,3748,3731,3875,3827,3352,2888,2734,2048,1720,1845,1435,1436,1732,1852,2033,2084,2134,2412,2464,3099,3437,3378,3404,3199,2934,2599,2523,2618,2832,2555,2513,3178,3142,2864,3108,3010,2846,2700,2733,2589,2743,2733,3243,3978,3438,2800,2849,2799,2839,2964,3019,2431,2108,1820,1629,1671,1958,2486,3046,2781,2010,1386,1412,985,1650,2059,2135,2360,2001,1648,2081,2288,2395,2640,2793,2254,1735,1658,1508,1932,2286,2546,2788,2420,2432,2920,2836,2613,2415,2177,1985,1866,2213,2313,2503,2764,2301,1853,2323,2927,3438,3927,4128,3492,3450,3527,3432,3348,3819,4000,3630,3260,3189,3231,2798,1322,404,365,321,302,312,328,333,381,485,992,1583,1651,1602,1226,788,975,1085,675,469,582,797,1231,1560,1402,879,476,448,462,446,461,502,621,706,719,749,788,822,813,1040,1382,1433,1240,1068,886,835,1041,1005,978,965,1074,1132,1184,1187,1092,1033,1024,1049,1216,1324,1202,1136,1272,1445,1489,1598,1594,1433,1376,1347,1275,1238,1220,1233,1215,1243,1064,1043,1100,1018,924,902,891,924,906,871,809,794,797,759,721,679,670,635,625,645,644,604,622,629,602,560,624,610,639,690,692,647,609,610,615,586,577,596,666,661,650,709,727,741,726,714,717,747,780,787,764,728,678,711,738,753,781,794,953,1130,1301,1598,1949,2136,2060,1561,1516,1515,1441,1813,2578,2617,1958,2003,2505,2266,1858,1705,1569,1548,1596,1519,1225,1066,1142,1130,953,823,792,758,762,741,700,639,716,743,738,903,879,839,866,905,831,755,905,1088,1184,1140,1099,1079,1437,1499,1329,1375,1376,1388,1406,1448,1597,1857,2384,2531,2730,3141,3299,2832,3501,4434,3163,1907,2765,3533,3321,3360,3650,3055,1953,1073,690,538,443,451,457,432,431,420,439,371,385,353,337,357,410,421,413,413,419,416,410,409,402,403,412,426,406,432,546,583,503,479,511,488,472,431,403,414,429,461,472,572,596,519,512,546,536,555,563,542,583,663,678,583,489,461,477,511,495,423,378,377,389,406,419,364,376,383,371,364,370,382,404,417,423,434,441,454,483,501,495,490,478,465,473,572,677,694,647,567,608,571,545,568,589,600,623,577,565,518,453,459,430,431,480,491,477,451,427,405,403,394,431,444,442,454,453,451,450,455,456,453,440,430,419,415,417,425,433,440,444,446,422,410,422,440,442,442,457,479,495,475,446,439,431,415,411,421,430,453,477,491,492,495,495,495,497,496,503,515,547,507,497,483,454,437,437,439,452,462,459,438,428,423,427,400,389,387,385,378,372,374,370,375,381,396,413,425,400,378,383,390,382,371,361,356,355,356,359],[2719,2818,2750,2900,2920,2852,3045,2473,2548,3276,3317,3409,3387,3209,3095,3000,2460,2757,3509,3570,2670,2311,2886,3100,3272,3376,2837,2850,3209,3422,3039,3366,2517,2695,3429,3134,2931,2556,2078,1924,2520,2866,2723,2621,2468,2823,2624,1951,1998,2542,3023,3099,2561,2086,2055,2211,2134,2585,3032,3452,2684,2364,2640,2795,3231,3637,3542,2937,2316,2272,2085,2204,2482,2341,2054,1954,2114,1997,2054,2552,2963,2930,2630,2717,2473,2485,2699,2720,2403,2376,2742,2963,3122,2850,2806,2484,3320,4144,4100,3517,2817,2675,2751,3106,3296,3020,2975,2764,2708,3150,3152,2813,2187,2621,3419,3553,3514,3477,3292,3188,3350,3038,2632,2773,2378,2301,2452,2465,2990,3851,4361,4321,3235,2921,3849,4083,3377,2654,2475,2898,2937,2689,2691,2779,3330,3132,2121,1696,1931,2246,2362,1984,2014,1210,1505,1617,1647,1815,1901,2209,2365,2094,2136,2244,2091,2664,3287,2762,2070,2490,2429,2655,2896,2898,3006,2591,2258,2862,3260,3354,3541,3688,3304,2851,2402,2488,2549,2294,2391,2894,2909,2242,1697,2002,2798,2991,2358,2344,2567,2150,2166,2648,3365,4071,4340,3848,3134,2533,2908,3226,3466,3701,3626,4140,4516,4488,4501,4552,4400,4068,3828,3858,3814,3586,2391,1973,1967,2385,2520,2216,2037,1743,1771,1892,1562,1509,1615,1882,1754,1531,1567,1557,1569,2212,2512,2393,2401,2581,2667,2532,2135,2442,2744,2316,2286,2589,3118,3720,3780,3392,2802,2212,2243,1959,1982,2138,2294,1991,2072,2575,3574,3569,3071,3027,3072,3193,3638,4012,3891,3815,3072,2062,1624,2114,2946,2728,2386,2272,2218,2409,2270,2263,2275,2430,2351,2148,1800,1938,2067,2249,2117,1837,2114,2514,2593,2403,2766,2799,2510,2199,2282,2099,1750,1699,2122,2424,2003,1605,1789,1745,1438,1616,1726,1830,2557,2399,2186,2169,2249,2666,3166,2961,2475,2375,2854,3316,2756,2531,2636,3042,3011,2909,3002,2880,2350,2167,2172,1302,1223,1343,1785,2555,2142,2094,1960,1903,2270,1986,1447,1749,1992,2240,2565,2674,2635,2255,1937,2004,2272,2502,2424,2230,2233,2525,2723,2459,2287,2208,2224,2184,2167,2500,2455,2437,2561,2482,2610,2950,3294,3928,4120,2955,2240,2255,2426,2400,3101,3029,2460,2423,2653,3010,3194,3054,2598,2458,2367,2626,2853,2268,2622,2622,2213,2160,2063,2316,3228,3448,2881,2619,2999,3542,3507,3520,3204,2600,2523,2469,2053,2185,2206,1877,1319,1153,1288,2080,2604,2717,2579,2407,2901,3371,3706,3421,2590,2279,2814,3654,4187,3981,3452,3746,3795,3461,3108,3413,3401,3029,3279,2788,2689,2511,2392,2403,2254,2039,1799,1892,2448,2707,2763,2732,2604,2573,2253,2751,2811,2400,2533,2934,3118,2989,2783,2586,2335,2790,3334,3484,3122,2552,2366,2237,2090,2038,2134,2490,2482,2495,2603,2801,3527,3934,3889,4064,3472,2276,1704,1834,1672,2148,2332,1968,2653,3480,3663,3329,2596,2592,2279,2522,3538,3821,3161,2867,3160,3316,3053,2685,2227,2234,2833,3404,3518,3476,3323,2997,2776,2648,2886,2709,2441,2464,1745,1686,2179,1865,1783,1600,1676,1494,1522,1863,1970,1970,1739,1721,1338,1740,1573,1650,1710,3013,3374,3155,3789,3889,3837,3551,2666,2221,2336,2701,3439,2587,2292,2746,2316,1612,1904,2124,2002,1666,1655,1724,1780,1891,2464,3184,3356,2601,1724,1848,2159,2283,2634,2938,3370,3311,2919,2833,2648,2822,3284,3413,3701,3842,3550,3250,3328,3553,3610,3646,3629,3737,3646,3382,2975,2724,2733,2754,2681,2458,2167,1855,1612,1642,1643,1721,1832,2054,2454,2385,1948,1834,1692,1531,1529,1561,1521,1409,1560,2108,1847,1927,2541,2614,2743,2680,2320,2179,2822,2847,2232,1880,2338,2321,1992,2947,2878,2653,3204,3625,3066,2286,2877,3400,3196,3185,2774,2387,1975,1871,1961,2093,2098,1953,1887,2125,2012,1856,1713,2170,3275,3022,2674,3100,4156,2885,2216,2569,2150,2215,2339,1828,2170,2931,3273,2899,2136,2164,2995,3554,3626,3516,3718,3328,2306,1979,1997,2171,2842,3221,2858,2742,2505,2147,2700,2737,2587,2199,2024,1973,2049,2259,2164,2103,2144,2084,2190,2267,2420,2523,2865,3182,3279,3441,3694,3662,3481,3381,3485,3484,3410,3519,3360,2822,2489,2544,2509,2561,2770,2756,2854,3113,3084,2457,1972,1603,1558,1786,1566,1635,1957,1909,1844,1606,1572,1469,1567,1720,1916,2096,1857,2630,2390,1880,1818,1644,1518,1642,2309,2688,2154,1995,1878,1918,1965,2177,2401,2469,2026,1613,1677,1929,1958,1914,2115,1826,1637,1718,1721,1559,1631,1619,2104,2494,2083,1866,1815,1676,1673,2051,1773,1625,1698,1774,1576,1355,1478,1630,1508,1555,1613,1809,1676,1929,2386,2530,2314,2420,1946,1666,1983,2241,2333,2486,2894,2324,1881,2257,2323,2747,2171,1555,1648,1761,1744,1703,1700,1663,1663,1629,1509,1536,1730,1410,1617,1860,1837,1985,2280,2145,2304,2773,3182,3111,2758,2864,2666,2173,2285,2676,3056,3404,3098,2402,2376,2060,2951,2964,2195,1865,2280,2114,1739,1979,1941,1959,2098,1847,1664,1933,2579,2235,2238,2000,2203,1776,1754,2316,2356,2420,2492,1742,1957,2077,1698,1792,1656,1710,1682,1534,1522,1470,1530,1560,1457,1440,1444,1317,1618,2201,2207,1894,1701,2298,2780,2815,2948,3257,3235,2985,2755,2370,1943,2121,2288,2474,2192,1876,1565,2309,2348,1891,1998,2414,2387,2471,2549,2782,2355,2187,2237,2529,2545,2375,2719,2884,2780,2893,3007,3117,2975,2849,2880,2980,3128,2292,1700,1595,2084,2403,2032,2032,1816,2113,2377,2330,2995,2911,3050,3411,3430,3377,2764,1831,1093,1520,2470,2788,2942,2950,2990,2748,2615,2425,2314,2103,1968,2140,2155,2071,2755,3021,2520,2888,3938,2201,2150,2130,1640,1574,1829,1631,1432,1660,1636,1525,1728,1930,2106,2329,2547,2708,2060,1530,1338,1595,2003,2055,2267,2228,2182,2109,2118,2428,2060,2575,3095,2974,2495,1884,2040,2891,3526,3516,2321,1539,1570,1516,1413,1329,1432,1525,1542,1622,1548,1679,1993,1426,1678,1738,2382,2486,2466,2052,1499,1682,1902,2372,2503,1907,1693,1653,1798,1903,1998,1634,1503,1606,1699,1938,2264,2063,2025,1796,1716,2076,2008,2237,2443,2055,2386,2630,2081,1762,1607,1581,1492,1399,1460,1507,1430,1519,1601,1377,1520,1637,1424,1477,1433,1361,1399,1329,1550,1554,1518,1813,2024,2145,1852,1658,1509,1276,1621,2068,1922,1769,1454,1343,1549,1578,1815,1825,2443,1908,1571,1636,1539,1592,1548,1473,1447,1515,1497,1391,1327,1550,1859,2153,2180,2075,2076,2485,3252,3175,2863,2547,2363,2807,2196,2021,2473,2191,2245,2535,2520,2130,2218,2490,2508,2292,2216,1445,1140,1437,1956,2272,2192,2214,2132,2777,3877,4252,4036,4105,3912,3265,2355,2054,1982,2015,1959,1583,1312,1626,2008,1938,1841,1847,2172,2200,2900,3626,3564,3239,3166,2617,2157,2189,2293,2444,2297,2619,3134,3320,3052,3073,2910,2396,2365,2818,3124,2867,2613,3165,4072,3587,2493,2545,2649,2857,2706,2729,2253,2058,2370,1626,1257,2190,2610,2554,2079,1738,1461,1590,995,1115,1491,1544,1883,1812,1838,2302,2229,2474,1717,1678,1672,1727,2117,1858,1747,2155,2489,2353,2317,2344,2646,2829,2540,2722,2469,1917,1828,2475,2393,1653,1664,2308,2504,3396,3815,3847,4025,3886,3374,3404,3382,3261,3161,3252,3500,3614,3438,3242,3245,3205,1593,530,399,342,299,299,328,353,355,497,946,1324,1163,820,716,844,867,973,870,1140,1561,1635,1651,1580,1223,783,506,490,492,448,450,484,587,694,715,706,772,841,795,964,1188,1271,1156,1106,907,725,898,1023,1018,987,1023,1153,1171,1179,1117,994,955,998,1174,1261,1260,1153,1164,1372,1442,1509,1666,1554,1354,1338,1234,1186,1127,1187,1223,1249,1114,1020,1083,1008,893,843,872,940,875,839,806,790,771,747,701,666,642,626,608,605,626,584,606,621,598,540,617,630,635,712,728,664,615,633,694,641,593,580,659,678,677,712,795,836,768,726,727,735,746,819,780,740,678,695,721,743,770,768,854,1059,1181,1367,1654,1851,2011,1760,1498,1498,1482,1642,2493,3002,2387,1981,2462,2275,1865,1731,1617,1519,1565,1558,1316,1093,1128,1144,1008,819,771,758,769,726,713,653,730,715,780,889,905,898,837,886,823,758,859,1024,1165,1172,1135,1127,1599,1844,1896,1929,1622,1364,1378,1434,1455,1837,2173,2366,2800,3241,3198,2878,3663,4130,2680,2407,3125,3251,3067,3399,3935,3685,2668,1409,789,613,451,431,467,446,457,418,459,398,379,354,329,337,368,394,420,423,430,413,410,409,405,404,407,415,401,420,503,557,503,465,519,490,473,440,427,410,411,480,445,472,576,522,514,599,574,563,539,548,559,691,762,639,500,470,483,510,506,442,401,398,409,411,414,387,367,387,385,361,371,383,389,392,419,441,454,450,467,470,476,484,464,446,477,615,749,694,617,526,575,549,527,528,517,544,603,591,541,515,438,454,429,416,439,467,460,443,420,398,397,399,408,421,439,440,452,453,456,452,445,428,408,403,400,401,400,403,405,407,407,405,396,384,388,406,412,415,431,466,478,453,424,427,427,420,412,411,421,442,466,477,479,483,493,500,492,507,507,500,545,523,504,485,461,437,430,434,438,453,457,451,442,442,448,403,394,394,380,373,371,361,360,362,370,389,410,420,404,373,375,382,379,366,356,347,343,350,353],[3030,2730,2753,3061,2922,2976,3223,2822,2602,3231,3682,3504,3167,3064,3062,3033,2769,3015,3608,3151,2268,2544,3228,3303,3341,2919,2753,3044,3510,3657,3134,3344,2952,2773,3032,3140,3173,2360,2125,2157,2684,3051,2886,2296,1983,2576,2468,1843,2482,3036,2790,2454,2075,2245,2194,2504,2763,2697,2817,3011,2799,2835,3202,3239,2928,3080,3617,2967,2399,2194,1642,1980,2614,2907,2424,1568,1396,1799,1911,2476,2810,2997,2790,2347,2018,2042,2304,2522,2281,2374,2784,2816,2919,2777,3663,3527,3852,4156,4144,3557,3086,2795,2899,3302,3189,2954,3062,2818,2697,3143,3367,3416,3049,2984,3129,3154,3162,3198,3032,3112,3084,2688,2126,2052,2193,2987,3816,4072,4297,4502,4477,3881,2546,2495,3299,2722,2052,2291,2518,3200,3702,3533,3222,3118,3034,2602,2012,1911,2062,1632,1268,1571,2061,1359,1602,2193,2548,2591,2210,2015,2136,2188,2294,2547,2407,2906,3066,2729,2084,2559,2620,2613,2865,2690,2799,2729,2206,2260,2468,2974,2928,3375,3193,2900,2297,1875,2030,1918,1706,1990,1820,1779,1626,2040,2308,2540,2310,2395,2552,2932,2554,2673,3792,4403,4559,4167,3274,2579,3065,3732,4317,4384,3837,4010,4280,3447,3040,3502,3773,3886,3776,3624,3562,3585,2404,1914,2510,2570,2127,1998,1809,1746,1830,2219,2132,1617,1749,1976,1626,1460,1583,1649,1882,2148,2303,2191,2092,2294,2398,2129,2133,2285,2614,2425,2370,2942,3686,4135,4119,3862,3212,2619,2642,2364,2081,2089,2126,2320,2978,3386,3642,3864,3741,3366,3095,3140,3496,3827,3935,3875,2905,2418,2009,2344,3213,2930,2264,1869,2047,2769,2590,2730,2579,2551,2147,1756,1616,2020,2106,1928,2077,2442,2604,2663,3038,2762,2504,2438,2439,1884,1840,2045,1869,1901,2214,2470,2209,1233,1318,1338,1078,1669,1876,1795,1886,1905,1920,1830,1934,2477,2670,2379,2090,2366,3920,4320,3073,2562,2464,2193,2550,3220,3442,3505,2801,2502,2338,1676,2084,2298,2514,2126,1966,2469,2344,2215,2317,1692,1300,2214,2574,2724,2402,1927,1759,1730,1971,2399,2708,2798,2610,2220,2203,2363,2878,2619,2213,2396,2276,2190,2276,2581,2654,2625,2766,2854,2907,2933,3171,4144,4111,3029,2312,2077,2608,2655,2788,2495,2009,2138,3034,3561,3628,3022,2591,2182,2277,2819,2470,1957,2248,2375,2431,2379,2132,2177,2823,2604,2320,3060,3675,3797,3458,3228,2950,2529,2802,3000,2591,2105,1952,1985,1676,1396,1557,2212,2425,2328,2774,3676,4144,4220,3558,2701,2690,3141,3924,4296,4211,3195,3276,4169,4031,3791,3408,3040,3122,3161,3001,2733,2976,2534,2713,2743,2116,1895,1889,1967,2292,2409,2342,2191,2350,2762,2828,2928,2543,2130,2707,3386,3074,2388,2220,2140,2258,3351,3169,2875,2746,3236,2828,2466,2315,2153,2461,2624,2740,2808,3095,2967,3062,3741,3834,3804,3682,2669,1730,1544,1652,1949,2046,2192,2865,3270,3176,2619,2423,2569,2464,2885,3760,3946,3351,2805,2735,3116,3099,2789,2166,2489,3262,3553,3418,3519,3492,3328,2976,2783,2742,2735,2670,2612,1832,1753,2302,2413,1978,1693,1628,1501,1476,1491,1786,1709,1740,1660,1411,1837,1622,1640,1686,2032,2070,2736,3322,3559,3466,2941,2259,1806,1686,2282,2686,2088,1936,2674,2312,1891,2134,2183,2120,1696,1571,1558,1642,1758,2494,2821,2915,2254,1472,1899,2278,2287,2543,2510,3406,3448,2990,2913,2780,2734,3121,3369,3704,3584,3111,2883,2877,3186,3566,3793,3842,4169,4031,3279,2911,2774,2492,2486,2557,2622,2916,2877,2510,1857,1765,1643,1503,1550,1822,2274,2546,2516,2098,1721,1636,1600,1768,2338,2884,3230,2636,2878,3570,3485,2976,2455,2237,2790,3056,2427,1961,1932,2627,2173,2812,3969,3768,3405,3551,3688,3583,3353,3198,2864,3149,2994,2667,2525,2272,2024,2006,2054,1992,1819,1814,2024,2055,1924,1776,2088,3123,2566,2608,3470,4208,2758,2260,2546,2408,2193,1944,1957,2409,3054,3564,3418,2668,2231,2818,3539,3739,3806,3896,3464,2829,2373,2071,2319,2636,2934,3030,2774,2014,1685,2353,2750,2661,2533,2384,2321,2242,2149,1930,1833,2052,2143,1982,1866,2084,2441,2815,2963,2799,3155,3673,3782,3608,3470,3540,3540,3557,3366,3099,3000,2947,2714,2166,2372,2708,1979,1698,2470,2683,2415,1992,1748,2041,2236,1858,1797,1961,1876,1755,1553,1692,1744,1588,1499,1556,1792,1920,2257,2269,1681,1588,1904,2004,1831,2003,2249,2236,2127,2055,1635,1602,2127,2343,2548,2290,2025,1851,1781,1592,1709,1794,1698,1648,1874,1952,1814,1505,1691,2161,2335,2113,1689,1761,1722,1724,1614,1497,1453,1598,1775,1746,1528,1566,1727,1928,1901,1957,2304,2518,2792,2666,2279,2406,2362,1930,1622,1583,2069,2481,2437,2111,1672,1593,1734,2366,2884,2249,1637,1804,2082,1951,1613,1340,1508,1598,1680,1738,1603,1554,1455,1554,1721,1820,1825,1801,2037,2788,2949,3344,3201,2844,2806,2590,2030,1867,1887,2149,2743,2894,2171,2216,2487,3452,2699,2593,2807,3168,2619,1862,1838,2000,2144,2169,1915,1968,2354,2934,2689,2087,1941,2073,1775,1710,2084,2366,2432,2217,2226,2593,2096,1742,1745,1550,1656,1514,1272,1282,1542,1682,1475,1529,1404,1512,1769,1979,2835,2984,2564,2474,2592,2564,2446,2724,2664,2590,2784,2423,2384,2145,2387,2535,2283,2106,2138,2007,1628,1634,1910,2088,2461,2537,2620,2636,2465,2084,2340,2613,2611,2454,2562,2876,2997,2808,2738,2713,2842,2972,2920,2954,2750,2859,2375,1738,1554,1581,1793,2002,2197,2144,2896,3262,2872,2958,2545,2469,2770,3120,2871,2464,2119,1682,2009,2854,3216,2935,2474,2383,2419,2470,2445,2786,2745,2370,2304,2236,2070,3099,3176,3044,2565,1915,1697,2122,2192,1930,1785,1838,1598,1538,1578,1618,1699,1754,1887,2160,1835,2188,2281,1788,1699,1602,1576,1688,1966,2676,3248,2602,2042,2274,2769,2079,2030,2413,2385,2677,2620,2642,2798,3375,3034,1797,1455,1590,1556,1516,1515,1478,1642,1683,1576,1557,1441,1539,1710,2538,2116,2182,2284,2310,1829,1632,1935,2390,2965,2804,2406,2411,2672,2366,1804,1740,1525,1598,1891,1996,2173,2144,1991,1992,1527,1932,2014,1541,1660,2337,2766,2762,2720,2744,2055,1704,2255,2032,1472,1414,1297,1428,1533,1361,1221,1606,1772,1549,1504,1446,1328,1452,1436,1406,1380,1688,1887,1889,1927,1825,2265,2475,2113,2548,3130,2846,2740,2332,2356,2095,2044,2276,1779,1874,1885,1854,1980,1720,1624,1926,1986,1470,1434,1419,1400,1442,1618,1939,2278,2095,1945,2010,2198,2654,2339,2421,2518,2392,2083,1671,2338,3008,2675,2611,2974,2895,2391,2142,1799,2112,2153,2809,2388,1934,2344,2732,2558,2388,2171,2091,2625,2912,3217,2832,3087,3061,3049,2654,2175,2239,2220,2277,2069,1928,2177,2310,1904,2128,1978,1841,1889,2453,3339,3362,2631,2366,2284,2509,2604,2654,2579,2132,2818,2730,2440,2135,2230,2069,2038,2644,2895,3027,2933,2226,2321,3543,3895,2815,1923,2231,2442,2267,2501,2624,2412,2502,1867,2198,2734,2357,2075,1870,1578,1344,1613,1554,1448,1360,1139,1072,982,1507,2172,1988,2122,1836,2018,2095,1948,2087,2019,1748,2082,2532,2293,2476,2155,2134,2593,2522,2620,2640,2319,2199,2348,2200,1890,2158,2403,2790,3936,4108,3673,3852,3738,3342,3218,3155,3095,3172,3211,3398,3674,3694,3327,3232,3406,1933,727,423,415,352,345,320,373,498,536,893,1115,1042,1058,1466,1428,1261,1254,1238,1355,1354,1307,1274,1395,1578,1451,794,585,495,414,421,453,541,656,689,684,760,886,842,861,967,1116,1164,1068,868,695,849,1039,987,1002,1028,1163,1187,1172,1128,980,914,932,1083,1267,1358,1216,1214,1395,1443,1414,1628,1729,1440,1397,1289,1156,1071,1149,1198,1155,1079,1021,1079,987,893,797,847,916,854,807,780,764,750,731,688,654,629,601,598,592,588,571,586,617,607,550,588,625,648,748,772,706,642,639,726,675,600,587,641,670,691,735,831,925,829,750,739,745,718,776,765,742,716,705,717,730,781,826,815,998,1144,1244,1407,1647,1854,1864,1534,1472,1560,1578,2204,2929,2690,2220,2479,2331,1903,1690,1602,1486,1513,1601,1416,1151,1117,1141,1026,823,766,715,719,763,729,656,697,733,787,853,854,882,844,888,820,767,819,946,1083,1154,1179,1201,1545,2181,2426,2313,1929,1489,1360,1365,1378,1732,2026,2244,2701,3216,3205,2945,3872,4324,2906,2755,3235,3440,3240,3088,3105,3284,2792,1600,825,670,505,433,461,468,469,431,455,436,399,365,333,327,368,411,444,421,420,404,399,398,396,408,407,409,399,406,473,519,511,452,520,494,459,439,447,418,394,454,444,429,534,523,496,576,546,521,533,576,598,684,772,689,515,480,484,502,506,457,405,394,409,415,405,397,377,381,380,358,370,385,379,380,410,437,448,446,446,447,447,465,469,456,497,603,693,667,615,511,529,532,521,522,522,528,540,567,494,500,438,457,427,405,408,433,440,432,420,401,388,395,403,419,429,443,462,472,465,455,441,426,411,402,397,393,391,393,389,387,395,401,390,373,365,363,372,390,406,440,460,442,426,420,420,413,411,407,406,423,442,453,459,471,494,500,509,507,518,523,535,534,518,491,466,440,430,432,445,456,468,466,458,457,458,404,377,391,375,374,368,359,350,350,360,372,386,390,380,362,361,371,375,361,351,336,336,338,343],[2929,2970,3309,3352,3030,3216,3185,2813,2693,3315,3588,3153,2799,2755,2621,2761,2888,2835,2750,1845,1575,2216,2911,2977,3179,2875,2727,2718,3142,3923,3824,3133,2934,2709,2753,2939,2706,2320,2889,3173,3332,3128,2635,2393,1998,1946,2343,2524,2386,2518,2342,2028,2158,2447,2409,2689,3105,2902,2770,3078,3079,3575,3997,3837,2990,2941,3592,2883,2612,2328,1852,1571,1677,2686,2677,1610,1606,2241,2382,2552,2645,2829,2631,2156,2271,2505,2486,2652,2920,3034,3296,2784,2845,3022,3848,4030,4132,4140,4067,3771,2977,2512,2752,2981,2612,2965,3077,2907,2822,3057,2780,3019,3508,3198,2906,2933,2974,2876,2558,2342,1900,1610,1572,2072,3294,4520,5052,4793,4328,4084,4037,3830,3278,3372,3683,3024,3137,3205,2922,3594,4700,4784,4060,3604,3055,2741,2291,2200,1884,1278,1159,1574,1815,1560,1823,2301,2597,2755,2124,1525,1659,1935,2148,2611,2799,2710,2484,2386,2146,2126,2224,2669,3074,2765,2973,2780,2470,2312,2372,2753,3020,3383,3264,3003,2332,1625,1913,1875,1368,1304,1371,1684,1719,1814,2070,2510,2644,2140,1963,2439,2172,2447,3032,3957,4311,3894,3676,3874,3949,3952,3862,3836,3055,2904,3335,2553,2910,3914,3906,3958,3548,3578,2787,2328,2247,2409,2547,2235,2094,1886,1742,1783,1886,2256,2192,1713,2075,2082,1781,1926,1818,1744,1992,2050,2143,2360,2242,2134,2243,2403,2939,2890,2785,2617,2768,3609,3972,3810,3959,3426,2876,2334,2502,2480,2285,2225,2047,2553,3637,3630,3317,3564,3716,3261,3078,3116,3327,3457,3791,3959,3451,3166,2930,3284,3952,3416,2352,2112,2845,3507,2862,2540,2451,2470,2686,2535,2144,2438,2153,1866,2177,2391,2536,2719,3399,3084,2369,2022,2315,2013,1732,2086,2126,1922,2184,2954,3432,2364,1886,1488,1044,1668,2334,2533,2439,2091,2177,2392,2551,2353,2056,2119,2126,2640,3571,4081,3216,2041,1414,1323,2250,3457,3436,3528,2956,2612,2600,2042,2410,2710,2670,2688,2732,2841,2968,2968,2431,2087,1879,2464,2232,2136,1832,1649,1613,1686,2044,2483,2624,2656,2546,2181,2330,2346,2849,2791,2391,2611,2470,2427,2454,2169,2063,2532,2894,2941,2709,2597,2776,3610,2709,2097,2244,2091,2237,2641,2529,2413,2204,1867,2209,2971,3497,2769,2444,2275,2679,3218,2787,2009,1807,2147,2492,2285,2226,2141,2190,2353,2698,3156,3634,3667,3134,2931,2686,2478,2568,2864,2770,2541,2250,2096,1965,1907,2065,2432,2413,2207,2667,3775,3868,3881,2817,2546,2547,3167,3897,4380,4035,2983,3430,4109,4053,3907,3743,3320,3186,3223,2989,2966,3109,2651,2754,2646,2118,1873,1854,1946,2156,2115,2352,2216,2249,2645,2758,2577,2123,2074,3068,3529,3205,2206,1924,1920,2286,2865,2664,2557,3062,3152,2575,2502,2375,2624,3220,2972,2956,2951,2912,2944,2636,2999,3188,2895,2734,2321,1687,1612,1831,2117,2165,2468,3065,3076,2580,2229,2491,3088,3538,3855,4062,3791,3648,3082,2760,3399,3372,3319,2901,3286,3553,3283,3407,3262,2850,2908,2695,3141,3032,2739,2409,2292,1988,1990,2291,2742,2567,2094,1788,1808,1602,1730,1888,1681,1832,1487,1575,1747,1721,1716,1843,1856,1773,1781,1988,2350,2551,2584,2099,1659,1532,1995,2095,2054,2453,3130,3329,3053,2925,2319,2383,2242,1876,1721,2251,2674,2231,1930,2474,2323,1587,1971,1807,1617,1894,1993,2964,3382,3475,3028,2911,3077,3121,3294,3558,3329,2899,2829,2960,3377,3662,4017,3971,3645,3573,3479,3328,3138,2873,2523,2502,2532,2658,3087,3078,2969,2488,1918,1670,1564,1560,1653,1992,2209,2333,2269,2314,2264,2323,2762,2791,3111,3050,3140,3400,3039,2395,2214,2741,3287,2837,2113,1755,2221,2525,2247,3376,4405,4216,3330,2784,3160,3430,3854,3439,2980,3209,3226,3120,2834,2448,2181,2087,1971,1795,1667,1805,2205,2254,2033,1910,2182,2662,2495,3047,4192,3483,2250,2287,2875,3160,2521,1934,2020,2365,3045,3542,3444,3139,2467,2522,3243,3726,3930,3698,3419,3187,2916,2596,2553,2761,2885,3186,2675,1887,2259,2712,2795,2523,2206,2258,2510,2558,2182,2013,1919,2002,2150,2094,1886,1896,2241,2736,2463,1853,2741,3587,3840,3765,3521,3603,3663,3647,3208,3069,3450,3233,2786,2088,2564,2813,2248,1917,2160,2215,2078,1972,1908,2068,2075,1741,1555,1825,1716,1613,1548,1528,1771,1673,1490,1549,1830,1904,2165,2286,1637,1685,2201,2107,2060,2448,2302,2031,1758,1768,1504,1369,1907,2360,2498,2407,2263,1941,1825,1928,1882,1759,1809,1997,2049,2066,1954,1608,1964,2001,2081,2226,1823,1649,1598,1572,1522,1442,1500,1729,2126,2385,1753,1636,1900,2801,2935,2706,2666,2455,2330,1977,1823,2212,2496,2228,1980,1693,1736,1853,2098,1997,1664,1530,1614,1875,1934,1755,1475,1723,1996,1791,1571,1513,1562,1479,1475,1552,1560,1466,1516,1601,1803,2059,1947,1771,1880,2280,2563,2783,2558,2235,2221,2150,2124,1924,1869,1919,2205,2281,2171,2524,2823,2609,2099,2685,3303,3152,2710,2242,2149,1984,2099,1946,1999,2165,2318,2781,3005,2887,2596,1825,1565,1617,1872,2049,2136,2037,2473,2977,2856,2160,1619,1645,1682,1405,1422,1588,1799,2248,1621,1470,1462,1577,2093,2099,2571,2793,2662,2833,3029,2839,2789,2618,2018,2175,2320,2353,2469,2341,2588,2693,2117,1957,2255,2361,1819,1584,1697,2157,2441,2605,2415,2418,2116,1988,2413,2728,2684,2357,2553,2778,3074,2839,2662,2542,2534,2700,2676,2624,2552,2709,2566,1973,1921,2104,2326,2364,2319,2195,2979,2957,2385,2325,2050,1979,2156,2186,2334,2526,2200,2569,2314,2639,3027,2601,2035,1832,2051,2292,2209,2574,2737,2803,2424,2247,2318,2900,2979,3175,2555,1750,1618,1603,1739,1790,1729,1615,1614,1583,1647,1840,1993,1896,1914,2108,1968,1941,1726,1622,1634,1585,1609,1582,1743,2243,3011,2156,1752,2365,2692,2123,2357,3432,3217,2684,2852,3108,3223,3189,2334,1659,1566,1719,1974,2504,3273,2820,2127,1723,1867,1749,1571,1471,1940,2399,2014,1973,2552,2458,2360,2610,2533,3088,3629,3112,2626,2737,2676,2101,1756,1659,1513,1601,1903,2006,2090,2241,2416,2308,1651,2272,2160,1766,2002,2354,2737,2503,2016,2303,2220,1832,1924,1661,1555,1824,1704,1678,1869,1630,1327,1470,1633,1655,1626,1593,1594,1545,1478,1390,1547,1785,1863,1720,1520,1777,2298,2284,2199,3269,3261,2647,2765,3162,3627,3532,3559,3517,2776,1974,2064,2354,2110,1542,1431,1469,1768,1602,1408,1407,1447,1610,1669,1544,1236,867,1297,1887,2100,2796,2455,2478,2321,2116,1929,1725,1961,2379,2410,2623,3053,3007,2288,1669,1556,1791,2210,3526,3376,2531,2742,2744,2438,2567,2132,2332,2668,2313,2185,2287,2435,2316,2784,2997,2877,3064,2634,2204,2156,2338,2665,2486,2344,2453,2143,1818,1912,2363,2874,2855,1899,2065,2222,2422,2790,2364,2532,1995,2536,2776,2334,2100,2252,2478,2630,2486,2271,2393,2516,2572,2884,3332,3784,3235,2190,1876,2010,2469,2817,3304,2624,1889,1556,1797,2451,2841,2708,2302,1686,1227,1403,1826,1919,1247,1009,1118,1126,1478,2174,1812,1837,1986,1986,2042,1888,2028,2122,1770,1731,2326,2353,2366,2075,1676,1853,2406,2447,2415,2692,2580,2429,2503,2424,2367,1890,2448,3918,4185,3958,3792,3598,3455,3206,3065,3063,3166,3143,3226,3418,3613,3386,3217,3155,2618,1435,539,451,342,285,352,1187,1898,1873,2221,2295,1958,1931,1830,1577,1605,1421,1234,1181,1238,1564,1683,1689,1661,1562,977,605,461,380,386,426,499,617,683,720,739,829,813,788,933,1213,1300,1093,872,735,797,1021,941,1000,1024,1124,1168,1138,1092,985,903,907,1018,1251,1351,1191,1289,1346,1354,1325,1588,1797,1580,1473,1354,1175,1060,1065,1100,1077,1077,1029,1043,1024,886,777,828,878,823,771,744,719,720,712,674,644,615,588,580,583,569,554,578,626,640,603,593,616,673,749,806,752,669,629,708,697,608,596,640,677,726,785,837,994,902,781,741,747,714,759,756,753,750,740,744,760,772,864,849,982,1139,1170,1228,1421,1749,1908,1616,1491,1680,1570,2036,2662,2780,2475,2360,2354,1990,1620,1517,1434,1444,1565,1525,1242,1110,1101,989,833,761,710,738,802,757,691,740,754,722,789,807,835,824,841,785,736,774,880,981,1058,1167,1244,1410,1995,2376,2618,2460,1937,1505,1371,1411,1691,2011,2147,2604,3215,3395,3071,4205,4325,3252,3111,3507,3527,3087,2935,3188,3277,2890,1886,963,755,591,474,447,473,479,449,451,459,419,387,344,331,362,397,451,432,404,402,397,383,387,401,403,404,400,387,446,480,516,458,514,507,452,436,434,410,382,424,439,414,496,525,466,505,517,514,565,633,627,619,703,700,516,490,482,476,493,469,419,407,415,406,407,404,390,375,359,354,368,393,402,408,421,430,431,440,439,437,443,442,455,493,504,554,597,637,618,520,507,526,536,552,560,557,488,551,488,488,434,437,426,392,395,405,408,411,411,394,382,385,402,410,416,430,439,444,451,456,448,437,419,404,399,394,396,394,394,395,395,396,383,359,353,379,399,385,387,412,437,438,427,422,420,416,413,408,403,414,427,451,469,480,481,471,522,526,526,524,524,518,513,486,464,440,427,430,441,451,463,461,450,441,442,403,361,379,369,372,361,353,346,343,349,354,359,366,364,356,354,356,359,354,341,332,323,325,327],[3176,3210,3384,3454,2867,3090,3175,3173,3018,3642,3650,2896,2434,2702,2988,3016,2902,2709,2486,2099,1585,1864,2294,2499,2769,2877,2756,2732,3387,4240,4128,3041,2567,2916,2805,2430,2406,2739,2980,3189,3462,2943,2405,2399,2276,2097,2585,3281,2757,2900,3144,2547,2237,2393,2309,2287,2408,2603,2645,2576,2756,3460,4025,3923,3093,3071,3309,3319,3278,2729,2402,1778,1002,1694,2010,1918,2813,2606,2785,2646,2370,2457,2113,1740,1883,1974,1882,2413,2915,3188,3251,3008,3371,3717,3597,3479,3584,3364,3594,3466,2606,2243,2520,2746,2855,3263,3384,3234,2951,2747,2321,2502,3322,2949,2421,2342,2025,1618,1482,1532,1714,2104,2297,2641,3596,4475,4847,4514,4174,3947,3498,3007,3199,3496,3438,3308,3442,3088,2775,3365,3872,4391,4623,4128,3190,2575,1979,1824,1818,1459,1571,1816,1698,1808,2244,2341,2416,3011,2687,1935,2381,2489,2363,2449,2254,2047,1813,1837,2007,1909,1952,2587,2832,2942,2997,2293,2220,2249,2308,2219,2275,2654,2950,2840,2711,2177,1980,1727,1653,1794,2165,2198,1887,2052,2288,2099,2333,2391,2618,2728,2223,2830,2996,2775,2935,3303,3796,4176,4156,3287,2834,3450,2562,2666,3664,3808,4285,4463,3716,3874,3728,3416,2222,1705,2440,2579,2220,2084,1804,1287,1851,2049,2118,2042,2002,2020,2074,1953,2036,2571,2248,1659,2088,2287,2332,2374,2120,2452,2463,2447,2714,2955,3481,3620,3770,3941,3868,3718,3579,3699,3022,2423,2304,2487,2396,2419,2558,3225,3875,3793,3549,3192,3295,3302,3095,2974,3073,3045,3403,3875,3620,3532,4002,4173,4160,3820,3234,3391,4100,4099,3421,2708,2474,2538,2975,3422,2822,2165,1838,1765,1868,2146,2237,2368,3217,2830,2404,2389,2464,2217,1958,2180,2143,2035,2072,2472,2897,2402,1870,1420,1400,1976,2320,2712,2508,2058,2604,2732,2710,2195,2152,2703,2720,2798,3480,4165,3718,2216,1528,1701,2303,3300,3388,3558,3179,2798,2997,2322,2578,3106,3082,3318,3110,2945,3144,3119,2577,2075,1872,1968,1944,1833,1589,1503,1656,2142,2472,2591,2463,2282,2289,2456,2852,2614,2652,2641,2504,2655,2526,1879,1659,1668,2107,2541,2978,2858,2720,2575,2432,1992,1058,1306,2215,2262,2503,2789,2426,2680,2392,1925,2116,3276,3979,3585,2592,2068,2555,2974,2997,2382,1686,2026,2144,2011,2175,2158,2517,2901,2942,2867,3016,3275,3371,3384,3174,3043,2880,2981,2824,2633,2548,2320,2050,1936,1936,2274,2558,2191,2115,2865,3412,4005,3847,3751,3172,2818,3196,4030,4356,4256,4108,3216,3144,3425,3705,3806,3387,2928,2640,2962,2828,2547,2764,2753,2123,1864,1750,1850,2009,2025,2121,2048,2182,2561,2570,2177,1893,2314,3625,3610,3065,2499,2521,2446,2246,2109,2276,2635,3234,3366,2929,2424,2382,2682,3408,3378,3223,3140,2678,2292,1919,1947,2264,2319,2231,2193,2200,2312,2162,2683,2891,3006,3260,3056,2554,2300,2272,2675,3636,3985,3742,3374,3377,2854,2721,3470,3295,3557,3548,3171,2959,3098,3408,3163,2675,2613,2487,2932,2293,1886,2081,2464,2340,2122,2426,2503,2220,2045,1841,1952,1737,1829,1833,1882,1776,1624,1599,1482,1609,1699,1902,2101,2082,2033,1840,1684,2424,2818,2091,1351,1500,1856,1838,2293,2872,3178,3095,3298,3472,2381,2440,2448,2126,1969,2455,2906,2441,1873,2062,1794,1534,1966,1650,1473,2000,1975,1985,2107,2065,2298,2825,3138,3050,2900,3038,3039,2802,2917,3342,3743,3974,3986,3288,2863,3278,3899,3952,3783,3388,3056,2812,2547,2731,2770,2967,3212,3108,2596,2068,1852,1626,1593,1565,1607,1790,1957,2402,2640,2788,2853,2901,3030,2824,2587,2436,2326,2428,2807,3209,3107,2464,2054,2232,2666,2382,2728,3820,4141,3626,2589,2176,3016,3539,3723,3469,3698,2919,3064,3133,2769,2879,2724,2181,2160,2020,1686,1665,2373,2378,2174,2285,2587,2604,2788,3575,3983,3185,2371,2403,2989,3266,2905,2798,2840,2787,3109,3275,3320,3174,2569,2308,3041,3710,3741,3210,3263,2673,2695,2866,2811,3352,3310,2818,2216,2023,2023,2334,3019,2297,2041,2356,2526,2346,2102,2071,2219,2093,2047,2234,2242,2532,2932,2939,2407,2282,2975,3320,3320,3438,3598,3572,3603,3388,3065,3054,3319,3072,2646,2284,2751,3074,2706,2250,2173,2010,1810,1783,1700,1779,1760,1578,1570,1692,1735,1788,1691,1586,1722,1778,1664,1650,1632,1615,1997,1926,1661,1602,1831,1692,1980,2244,2198,2012,1720,1830,1966,1414,1635,2013,2030,2143,1914,1723,1997,1910,1626,1678,1709,1694,1774,1941,1976,1559,1744,1855,2410,2438,1687,1508,1614,1628,1550,1560,1854,2150,2099,1959,1662,1596,1710,2219,2873,2978,2547,2036,1506,1508,1742,2030,2546,2302,1984,1794,1595,1844,2014,1715,1502,1449,1745,1948,1667,1556,1474,1794,1880,1591,1501,1657,1665,1577,1425,1484,1454,1394,1406,1546,1903,2273,2285,1986,2129,2357,2722,2640,2345,2321,2085,1946,2474,2437,2250,2153,2020,2090,2324,2886,2662,2062,2451,2932,2458,2367,2657,2569,2376,2136,2227,1947,1698,1913,1944,2196,2468,2256,2344,2198,2022,1610,1790,1951,2091,2112,1879,2066,2495,1930,1479,1659,1689,1527,1902,1942,1641,2005,1627,1554,1700,1678,1954,1990,2188,2485,2050,2341,2844,2789,2612,2301,1885,1926,1946,1621,1744,2248,2746,2744,1917,1667,1939,2393,1955,1622,1928,2420,2412,2416,2480,2439,2106,2093,2182,2230,2241,2362,2677,2774,2986,3054,3020,2731,2640,2693,2657,2884,2883,2973,2653,2246,2413,2530,2714,2395,2501,2473,2566,2686,2730,2343,2024,2339,2360,2312,2529,2125,2109,2889,3352,3437,3111,2491,2299,2088,2026,2180,2136,2289,2328,2310,2117,2143,2210,2434,2574,2710,2363,1925,1746,1529,1917,1572,1720,1684,1659,1630,1897,1950,1807,1680,1727,1724,1657,1677,1706,2015,1660,1498,1564,1557,1583,1652,1997,1983,1925,2283,2431,1835,2412,3364,3176,2470,2498,2950,3406,3247,2370,1733,1729,2227,2420,2902,4085,3332,1900,1687,2184,2396,2449,2082,2013,2109,2000,2755,3605,2534,2467,2580,2795,3570,3674,2774,2119,2069,1962,1738,1743,1756,1900,1864,1964,1909,2090,2440,2440,1965,2238,2684,2025,1957,2299,2258,1997,1709,1550,1666,1503,1646,1898,1786,1755,1865,1902,2015,1931,1495,1337,1547,1799,1637,1731,1533,1423,1394,1404,1455,1672,1660,1656,1847,1709,1621,1985,2522,2765,3232,3729,3552,2331,2374,3041,3153,3549,3770,3074,2006,1831,2010,1651,1292,1429,1729,2088,2033,1732,1577,1568,1703,1709,1609,1711,1209,1279,1846,2007,1959,2322,2509,2676,2862,2437,2154,2157,2094,2290,2818,3111,2666,2345,2085,1996,1918,2436,3462,3327,2519,2823,2702,2454,2674,2497,3032,2864,2371,2272,2440,2018,1482,2105,2707,2954,3076,2906,2416,2302,2441,2363,2442,2454,2066,1606,1448,1873,2424,2524,2407,2207,2510,2132,2710,2592,1623,1406,1639,2125,2519,2119,1921,2132,2255,2115,2280,2150,2257,3118,3347,3065,3110,3273,2733,1904,1915,1950,2279,2743,3462,2387,1471,1413,1270,2105,2706,2116,1842,1592,1296,1361,1618,1397,942,918,1308,1263,1272,1739,1678,1841,2052,1878,2069,1968,1942,2092,1837,1532,2182,2727,2499,1975,1651,1657,2021,2309,2281,2414,2812,2951,2878,2663,2468,2005,2318,3401,3869,3624,3418,3515,3438,3244,3064,3086,3179,3212,3322,3528,3772,3616,3428,3289,2664,1439,481,422,450,653,1046,2414,3312,3153,2575,2192,2030,1964,1843,1881,1836,1484,1242,1205,1276,1386,1487,1381,1126,1041,765,469,380,379,384,414,463,590,642,684,717,837,863,840,915,1153,1333,1170,877,770,761,978,929,956,977,1042,1108,1107,1052,983,906,874,956,1122,1325,1192,1333,1221,1194,1251,1501,1722,1622,1438,1315,1227,1078,976,977,975,1000,956,956,988,906,791,791,823,795,741,713,680,684,690,660,634,601,578,566,571,572,566,591,644,670,637,623,625,687,783,800,770,713,632,686,715,633,608,655,694,713,754,820,1021,1005,829,723,705,867,1001,783,773,753,760,809,855,809,897,958,1021,1132,1138,1152,1250,1550,1903,1784,1482,1734,1594,1907,2336,2684,2546,2304,2312,2025,1588,1436,1389,1396,1499,1597,1323,1108,1089,1012,858,755,714,729,769,758,741,729,716,692,724,756,804,785,803,797,725,740,842,943,989,1035,1165,1282,1666,1996,2428,2742,2579,2000,1577,1481,1648,2024,2005,2375,3229,3644,3291,4006,3602,2940,2888,3250,3279,3166,3055,3066,3416,3240,2194,1168,853,702,521,439,469,500,476,452,461,435,416,371,336,361,386,443,454,402,386,397,389,398,397,396,397,409,379,421,447,493,461,488,514,466,440,424,399,375,422,445,446,488,518,480,504,530,513,548,596,579,550,627,673,508,484,477,498,539,511,469,462,440,388,409,412,401,380,359,352,368,401,422,431,435,428,421,423,431,434,444,435,424,473,456,500,570,615,601,544,521,495,524,546,555,578,490,538,517,491,436,418,420,390,389,389,392,397,397,392,378,379,388,390,392,389,389,397,428,449,445,440,419,399,395,398,400,399,397,387,382,376,360,346,348,355,360,364,372,397,425,433,427,425,421,420,416,407,415,410,442,473,485,478,496,534,516,500,500,498,494,490,491,472,457,437,422,425,434,436,441,442,430,422,420,402,348,366,356,362,357,349,341,337,338,342,344,353,356,354,346,351,348,346,335,327,317,319,317],[3109,3152,3159,2949,2974,3164,3200,2871,2977,3541,3228,2640,2630,2887,2962,3018,3399,3318,2820,2608,2036,2115,1798,1721,2285,2558,2395,2761,3432,3370,2447,2312,2691,3172,2888,2722,2881,3073,2933,3149,3232,2640,2358,2424,2344,2388,3001,3615,3053,3311,4038,3040,2288,2455,2135,2051,2366,2622,2503,2977,2850,3187,3608,3375,3371,3655,3422,3353,3278,2839,2666,2243,1356,1315,1673,2020,2584,2896,3068,2320,2227,2954,2317,1443,1643,1697,1793,2197,2685,3033,3244,3563,3208,2728,2755,2997,3552,3401,3616,3231,2733,2441,2832,2989,3239,3249,3141,3019,2738,2899,3101,2789,2534,1980,1634,1531,1503,1608,1980,2197,2344,2679,2548,2402,2880,3661,4484,4251,3993,3658,3239,3168,3363,3238,2305,1937,2695,2685,2494,2953,2863,3262,4365,3475,2547,2509,2459,2338,2340,2452,2349,2104,2127,2197,2219,2288,2331,2818,2754,2746,2785,2512,2402,1997,1574,1670,1661,1824,1987,2172,1938,2631,2750,2906,2339,1732,2169,2792,2899,2845,2458,2380,2844,2963,2879,2692,2567,2033,2014,2300,2259,1992,1958,2309,2873,2800,2652,2481,3029,3125,2967,3107,2589,2257,3318,4082,3919,4001,4176,3665,3725,4014,3341,3422,4356,4685,4522,4484,4464,4397,3538,2146,1653,2394,2439,2069,2090,1748,1624,1289,1722,1980,2086,2102,2177,1908,1644,1953,2425,2815,2470,2299,2271,2143,2095,2224,2313,2441,2420,2321,2504,2869,3526,3874,4092,3979,3792,3868,3995,3425,2898,2610,2667,2944,2409,2452,3120,3629,3540,3415,3454,3059,3003,2979,2913,2803,2865,2900,3028,3419,3702,3616,4004,4277,4120,3901,3881,3890,4305,4229,3254,2362,2239,2382,2391,2872,2990,2008,1462,1452,1844,2164,1489,1734,2675,2598,1787,1589,2043,1889,1572,1730,1674,1989,1941,1439,1394,2006,2011,1644,2305,2779,2387,2565,2358,1884,2557,2569,2228,2129,2282,2865,2750,2325,2744,3150,2856,2143,1910,2300,2749,2928,3274,3313,3404,3221,2649,2291,2673,3737,4272,4360,3814,3127,3406,3008,2101,1803,1822,1775,1826,1760,1655,1635,1958,2439,2432,2405,2322,2636,2924,2991,2890,2552,2501,2495,2415,2732,2793,1950,2160,2436,2926,2979,3075,2855,2813,2930,2940,2326,1397,1541,2154,2409,2532,2622,2690,3198,3008,3137,3545,3900,3906,3386,2448,1944,2066,2503,2337,2001,1692,1765,2092,2316,2165,2278,2818,3085,2875,2543,2758,3063,3255,2899,2951,3458,3037,3079,3117,2437,2061,2121,2181,2179,2029,2382,2821,2534,1993,2546,3797,4296,4171,4240,3874,3330,3597,4235,4624,4615,4429,3453,2751,2601,3181,3221,2840,2427,2402,2605,2708,2728,2872,2758,2380,2040,1628,1609,1835,1840,1505,1618,1929,2482,2945,2587,1974,2269,2972,3306,3329,3130,3220,3408,2875,2397,2570,2768,3302,3510,3273,2881,2821,2711,3300,3682,3746,3564,2629,1738,1514,1602,2114,2381,2408,2365,2231,2157,1996,2342,2545,2797,3362,3396,2800,2743,2521,2484,3431,3742,3562,3894,3620,2612,2295,2612,2523,3019,3421,3036,3099,3103,2832,2963,2990,2718,2755,2842,2352,2384,2526,2657,2352,2097,2586,2364,1879,1769,1920,1787,2137,1868,1655,1852,1779,1836,1740,1371,1645,1707,1894,2168,2156,2085,2025,2025,2646,3271,2535,1780,1986,2300,2025,2292,2570,2547,2315,2452,2654,2423,2457,2639,2309,1838,1945,2192,2036,1753,1847,1820,1914,1923,1921,1747,1904,2017,2228,1905,1572,1914,2176,2350,2876,3006,2761,2710,2840,3453,3726,3846,4046,3394,2890,3261,3621,3576,3616,3758,3369,3329,3522,3316,3005,3012,3243,3388,2920,2156,1977,1897,1852,1760,1652,1598,1610,1687,1747,2023,2341,2501,2564,2458,2356,2191,2091,2178,2303,2834,3183,2710,2055,1941,2534,2555,2293,3122,3783,3819,3403,2566,2504,3237,3527,3423,3297,3506,3439,3704,3188,2719,2920,3072,2874,2563,2182,1833,1886,2416,2354,2216,2435,2587,2639,3187,3928,3632,3195,2679,2464,2770,3086,2929,3198,3233,3047,2939,2905,3106,3193,2686,2220,2755,3502,3493,2938,3011,2741,2829,3200,3493,3300,3042,2207,1944,2130,1998,2103,2413,1890,1992,2402,2464,2429,2373,2107,2101,1954,1985,2024,1880,2039,2984,2696,2236,2495,2909,3163,3370,3539,3325,3220,3594,3451,3393,2706,2359,2357,2358,2359,2752,2822,2548,2496,2326,2065,1802,1816,1749,2156,2010,1740,1756,1886,1897,1925,1704,1511,1573,1779,1870,1556,1605,1651,1655,1629,1569,1565,1541,1483,1511,1595,2014,2315,2107,1668,1885,1602,1642,1562,1815,2010,1706,1781,1938,1603,1642,1634,1825,1990,1834,1873,1851,1600,1515,1676,2458,2396,1689,1493,1635,1752,1722,1744,1695,1820,1407,1476,1614,1586,1517,1556,1642,1665,1940,1891,1540,1868,2146,2373,2955,2527,1981,2084,2034,2206,2103,1719,1637,1871,1812,1518,1748,1695,1560,1911,2126,2083,1698,1592,1945,1812,1388,1399,1469,1400,1457,1574,2283,2505,2181,2122,2292,2376,2509,2238,2237,2359,2184,2273,2681,2711,2676,2404,2149,2412,2420,2500,2497,2382,2755,3060,2329,2711,3044,2920,2408,2094,2073,2013,2252,2630,2369,2092,2537,2496,2289,2798,2326,1654,1615,1675,1842,1760,1742,2510,2531,1672,1535,1816,1617,1567,1956,1750,1561,1644,1498,1688,1857,1798,1916,1642,1834,2367,2493,2413,2020,1746,1648,1810,1968,1932,1725,1361,1696,2573,2392,2090,1917,1688,1752,2014,2112,1995,2347,2477,2091,2063,2353,2459,2368,2306,2265,2230,2165,2570,2957,3064,3134,3045,3041,3017,2820,2740,2647,2800,2834,2658,2242,2288,2753,2970,3112,3454,3262,2697,2452,2441,2497,2250,2129,2231,2089,2185,2337,2137,2438,3038,3266,3750,4228,3837,3089,2433,1987,2094,2049,2204,2342,1795,1824,2227,2490,2751,2743,2784,2486,2486,2186,1902,2114,1650,2392,2535,2128,2211,2558,2662,2340,2099,2351,2092,1741,1733,1553,2035,2175,1950,1537,1443,1543,1694,1661,1660,1776,2043,2009,1505,2249,2886,2754,2637,2519,2466,2502,2490,2287,2094,2226,2599,2540,2457,2577,2171,1903,1748,1978,2288,2468,2425,2321,2303,2029,2362,2902,2468,2690,2547,2752,3761,4000,3386,2835,2357,1920,1698,1793,1943,2108,1940,1914,2062,2105,2082,1951,1882,2244,2022,1788,2171,2238,1992,1759,1452,1549,1538,1336,1568,1832,1682,1557,1384,1477,1958,2140,1894,1703,2443,2775,2001,1695,1583,1480,1488,1490,1576,1686,1506,1513,1655,1510,1382,1860,2238,2421,2601,3789,4132,2295,1341,1708,1762,1936,2381,2051,1609,1384,1545,1745,1591,1813,2009,1978,2036,1945,1873,1841,1974,1783,1630,1772,1597,1463,1693,1865,2278,2600,2530,2950,3031,2249,2768,2755,2521,2380,2454,2558,2495,2352,2599,2781,2246,2224,2866,2762,2589,3362,3098,2808,2672,2708,2711,2734,2906,2742,2591,2372,2421,2690,2147,2643,2880,3050,2611,2258,2182,2058,2012,2271,2352,1635,1611,2104,2584,3039,3053,2903,2621,2208,2133,1986,1355,1218,1886,2226,2565,1794,2007,2278,2191,2135,2811,2754,2835,3327,3204,2911,3144,3005,2771,2057,2073,1900,2229,3232,3688,2452,1531,1489,1595,2226,2609,2083,2216,2024,1838,1754,1426,1053,1317,1642,2015,1702,1221,1419,1726,2109,2017,1790,2017,1991,1874,2042,1948,1756,2464,3308,2850,2046,1930,2033,2073,2690,2626,2307,2361,2493,2663,2509,2280,2335,2740,3305,3594,3490,3514,3762,3543,3060,3018,3286,3419,3658,3858,4261,4561,4212,3862,3421,2262,1181,1027,1077,1214,1648,1963,2258,2249,2030,1909,1948,2006,2064,2335,2588,2250,1626,1286,1279,1330,1394,1543,1254,810,615,466,362,348,363,372,404,440,547,577,602,684,844,940,883,860,1040,1296,1248,891,765,710,888,929,930,954,988,1058,1087,1034,966,914,851,924,1045,1319,1153,1236,1194,1136,1221,1421,1616,1579,1478,1321,1310,1097,959,981,959,930,896,905,921,872,801,749,777,768,714,680,653,650,665,648,634,606,582,568,578,584,574,585,630,669,654,656,622,658,785,811,797,738,629,658,721,660,625,656,713,769,796,821,1006,1094,905,747,721,836,953,789,761,749,763,857,973,956,1003,1116,1236,1292,1279,1194,1132,1333,1784,1932,1571,1690,1727,1855,2098,2403,2462,2307,2233,2016,1606,1391,1350,1369,1434,1586,1397,1144,1064,991,863,741,721,742,757,720,689,686,720,703,686,701,759,771,779,781,725,734,807,936,1004,1009,1088,1150,1368,1637,1852,2265,2718,2634,2091,1695,1650,2010,1974,2185,3227,3905,3593,3006,3232,3703,3567,3187,3087,3451,2972,2851,3339,3472,2706,1587,1046,858,611,445,460,493,499,463,462,448,442,404,354,356,374,422,451,415,404,407,407,416,406,390,395,413,391,400,418,454,459,472,504,479,455,415,416,385,430,466,484,491,494,487,486,503,517,539,563,585,528,564,658,540,488,478,531,615,564,499,485,464,389,405,420,409,384,366,353,368,397,419,421,413,411,410,416,419,431,435,437,444,459,456,500,557,602,631,582,541,487,495,510,526,567,507,513,526,483,439,411,401,391,388,383,378,381,391,389,379,377,372,373,378,382,382,393,418,423,427,429,416,395,387,390,386,378,372,358,354,347,345,349,347,348,356,365,373,394,415,424,421,420,413,407,402,400,438,414,437,488,508,507,510,493,476,466,457,458,463,470,470,459,446,427,409,404,412,418,420,426,420,409,399,400,344,355,357,353,350,344,340,337,332,330,329,338,348,346,341,343,343,338,326,311,309,305,307],[3000,3222,3244,3409,3376,3160,2888,2839,3360,3587,3327,3615,3716,2752,2097,1999,2037,2365,2780,2683,2647,2647,1851,1510,2251,2230,1689,2015,2627,2584,2580,2740,3239,3106,2728,2543,2781,3340,3379,3319,2995,2389,2185,1863,2042,2388,2920,3055,2660,3190,3471,2073,1900,2530,2141,2448,3069,2976,2776,3437,3185,2822,2924,3124,3230,3176,2942,2805,2831,3165,2868,2504,1975,1995,2285,2574,2337,2063,2183,1667,2002,2634,2382,1395,1484,1982,2422,2187,2353,3199,3967,4068,3315,2641,3177,3771,3953,3813,3072,3316,2955,2814,3143,3213,3212,3183,3160,2925,2354,2336,2383,1873,1488,1677,1987,2162,2486,2745,2916,2750,2523,2562,2533,2689,2920,3284,4324,4436,3828,2775,2620,3393,3796,3607,3250,3182,3441,2475,2373,2731,2964,3203,3508,2475,1580,2297,3182,2684,2374,3109,2571,2165,2533,2425,2204,2201,2021,2355,3116,2937,2072,2192,2658,2199,1782,1794,1699,1853,1695,1400,1322,1736,2050,2380,2098,1663,2242,3241,3670,3661,2580,2646,3227,3240,2548,2324,2331,1914,1640,1747,1859,1776,2026,2133,2789,2759,2478,2222,2597,2807,2992,2767,1911,2415,4046,4396,3994,4002,4247,4198,4459,4241,3453,3768,4490,4540,4444,4408,4288,3540,2413,1704,2109,2438,2184,2041,1924,1732,2002,2098,2118,2125,1937,2016,2458,1991,1412,1787,2534,2867,2732,2148,1880,2157,2079,1942,2161,2247,2503,2367,2382,2763,2720,2962,3649,3981,3982,4065,4024,2985,2670,3061,3415,3472,3007,2951,3536,3710,3764,3550,3461,3127,3029,3198,2964,2735,2867,2971,2532,2425,3250,3702,3932,4019,3970,3861,3604,3327,3594,3327,2247,1787,1252,1747,2236,2375,2071,1664,1236,1475,2083,1791,1500,2039,2624,2303,1348,1180,2005,1696,1204,1742,2042,2094,2084,1708,1750,2430,2375,2071,2187,2447,2466,2397,2346,1989,2404,2401,2069,2005,1946,2114,2215,2103,1936,1959,2103,2033,1904,1964,2634,2766,2807,2624,3340,3750,2570,2777,3440,4352,4448,4001,3836,3329,3650,3275,2178,1995,2015,1820,1791,1771,1770,1922,2002,2127,2307,2235,2111,2551,2788,2588,2426,2370,2295,2195,2236,2690,2877,2669,2877,3035,3177,3067,3067,3216,3198,3178,2984,2545,1810,1959,2474,2857,3121,2968,2913,3029,3349,3781,3874,3912,3833,3188,2104,1663,1882,2725,1888,1753,1858,1895,2129,2154,2200,2519,2685,2785,2574,2476,2488,2328,2818,3073,3538,3344,2897,3083,2708,2262,2097,1824,2052,2045,2174,2332,2441,2373,1848,2309,3332,3736,3815,4028,3986,3979,4312,4327,4571,4604,3924,3275,2733,2429,2669,2734,2685,2550,3021,2901,3321,3176,3167,2618,2604,2170,1780,1709,2086,2220,2204,2570,2520,2597,3002,2828,1935,2158,2544,2678,2762,2727,2917,3260,2920,2376,2438,2259,2731,3265,3313,3107,2643,2146,2896,3986,4337,4030,3150,2055,1698,1837,2534,3135,2922,2366,1730,1379,1253,1242,1638,2429,3077,3199,3033,3382,3008,3078,3625,3510,3221,3294,2797,2072,1755,1702,1957,2852,3433,3321,3416,3207,3030,3093,3229,2900,3128,2976,2675,2678,2568,2565,2267,2173,2744,2756,2075,2120,1920,1670,2033,1841,1798,1957,1904,1780,1906,1426,1717,1711,1589,1719,1788,1740,1941,2298,3242,3710,2909,2576,2624,2957,2702,2490,2552,2249,2193,2054,2245,2325,2812,3576,3001,2004,2118,2214,1919,1554,1854,2086,2169,2087,1996,2003,2115,2405,2734,2501,1959,1813,1881,1869,2431,2794,2866,3042,3098,3395,3618,3925,3887,2478,2182,2789,3575,3631,3548,3475,3222,2958,3056,3343,3422,3120,3360,3620,2677,1785,1615,1599,1562,1602,1777,1912,1857,1727,1629,1735,1884,2027,2042,1935,2051,2346,2544,2421,2108,2046,2360,2211,1770,2075,2776,2480,2610,3145,3529,3854,3554,3373,3449,3749,3434,2610,2432,2511,2899,3244,2912,3171,3691,3562,3467,2991,2354,1978,2417,2653,2435,2266,2203,2478,2874,3530,3883,3300,3012,2898,2701,2771,2965,3042,3538,3541,2841,2846,3094,3551,3655,2724,2267,2521,3323,3300,2765,2591,2906,3095,3726,4086,2632,2395,2318,1966,1776,2179,2355,2334,1938,2136,2408,2183,2570,2414,1735,2775,2568,2027,1955,1982,2120,2485,2347,2349,2703,2987,3286,3484,3571,3296,3476,3826,3645,3250,1919,1558,2162,2425,2578,2935,2294,1946,2119,1842,1661,1834,2053,1769,1500,1616,1717,1625,1604,1910,2051,1918,1740,1791,1725,1933,1761,1516,1345,1400,1477,1588,1745,1610,1468,1558,1867,1978,2117,2209,1720,2055,2163,1960,1708,1923,2033,1805,1873,2009,1798,1815,1562,1565,1708,1735,1859,1626,1452,1472,1686,2110,2211,1740,1439,1541,1632,1600,1429,1540,1599,1931,2272,1823,1600,1512,1474,1544,1830,2212,2229,2112,2910,3098,3197,3050,2366,2613,2663,2051,2183,2038,2105,1942,1911,1613,1494,1668,1675,1591,1591,2008,2192,1730,1526,1760,1616,1428,1870,1990,1655,2091,2172,1954,1920,2386,2856,2677,2332,2486,1861,1969,2469,2687,2764,3199,2976,2320,1806,1996,2329,2148,2004,1938,2541,2494,3112,2965,2719,2359,2015,1934,1964,1902,2131,2418,2242,2253,2097,2437,2325,1878,2475,2383,1867,1609,1785,2289,2447,2063,2235,2055,1666,1575,2005,1962,1818,2062,2039,1805,1647,1698,1872,1958,2048,1991,1787,2001,2391,3084,2475,1803,1601,1552,1810,1884,1717,1592,1372,1965,2888,2823,2282,2006,1908,1917,1921,1888,1962,2236,2260,1945,1976,1998,2114,2399,2568,2545,2285,2532,2885,3018,3262,3227,2932,2972,3087,2985,2934,2765,2517,2513,2361,2255,2541,3327,3808,3864,3500,2375,2161,2205,2270,2257,2264,2269,2289,2270,2137,2257,2460,2719,2958,3049,3761,4596,4660,3798,2622,2066,2218,2216,2382,2201,1701,1859,1869,2200,2590,2770,2711,2602,2641,2468,2217,1986,1990,2896,2988,2485,2480,2645,2842,2636,2211,2201,2109,1732,1787,1714,2416,3095,2494,1675,1492,1566,1708,1223,1393,1594,1782,1610,1554,1888,1896,1969,2243,2316,2259,1892,1734,1897,2358,2344,2427,2597,2485,2696,2470,1957,1433,1447,2057,2326,2270,2190,1836,1542,1908,2010,2286,2828,2866,2875,3796,4444,3933,3491,2470,1971,1674,1804,1688,1636,1664,1596,1543,1592,1620,1686,1863,1848,1670,1837,1884,1788,1646,1661,1341,1199,1230,1455,1851,1808,1771,2014,1595,1471,2216,2520,2456,2094,2430,2515,2056,1693,1555,1527,1614,1694,1780,1742,1571,1562,1731,1317,1118,1615,1637,1784,2332,2975,3120,2093,1431,1670,1823,1458,1575,1958,1617,1215,1382,1522,1632,1879,1776,1751,1892,1834,1624,1890,2267,2146,1829,2043,1930,1431,1589,1863,1876,2076,2567,2879,2912,2447,2699,2490,2428,2110,1987,2376,2620,2386,2604,2533,2220,2065,2508,2577,3103,3866,3350,2658,2313,2531,2598,2406,2856,3276,2641,2624,3211,2827,2238,2996,3098,2767,2405,1951,2082,1948,1762,2509,2945,2344,2022,2917,3204,3409,3702,3275,2684,2040,2094,2723,1816,1447,2014,2396,2631,2185,2420,2603,2634,2583,2840,2977,2663,2287,2499,2542,3186,2905,2829,2310,2381,2430,2608,3331,3851,2907,1862,1585,1733,2085,2692,3091,2990,2452,2648,2149,1484,1695,1969,2024,2004,1641,1380,1598,1933,1999,1926,1842,1970,2054,1850,1858,1967,2088,2731,3376,3116,2398,2058,2033,2020,2886,3018,2526,2212,2335,2535,2697,3003,3185,3389,3494,3947,3985,3891,4336,4093,3273,3194,3602,3862,4111,4111,4243,4500,4372,4195,3827,2698,1850,1766,1739,1745,1941,2197,2309,2293,2184,1974,2105,2536,2556,2293,2120,1796,1399,1192,1177,999,778,700,624,502,402,380,371,373,348,350,381,422,489,545,631,731,833,920,876,829,936,1175,1268,937,748,702,791,888,920,949,966,1011,1066,1029,951,924,832,896,992,1153,1046,1092,1196,1107,1159,1246,1370,1493,1510,1405,1440,1208,1030,984,918,885,867,860,858,836,801,676,708,723,680,649,638,639,652,649,635,613,587,572,577,588,573,578,616,657,664,647,647,667,730,792,826,768,636,657,726,687,643,640,705,814,837,853,1027,1100,992,797,790,824,809,794,772,772,813,873,1049,1228,1277,1361,1438,1445,1482,1353,1113,1232,1598,1937,1726,1675,1880,2018,2110,2210,2340,2292,2166,1954,1621,1365,1264,1303,1426,1548,1410,1193,1070,965,876,749,717,708,742,705,665,677,704,708,690,690,730,747,741,745,725,727,769,887,957,959,993,1031,1174,1412,1533,1749,2181,2734,2567,2088,1735,1953,1765,1990,3162,4152,3715,2965,3553,3849,3785,3167,3171,3576,3356,3276,3214,3369,2889,1837,1178,975,737,509,466,472,489,466,455,452,457,424,371,360,375,407,451,428,422,404,406,408,393,395,404,413,410,395,395,432,449,460,489,475,472,406,414,401,432,466,478,486,478,473,475,482,509,527,542,565,561,567,661,611,497,486,518,618,547,483,464,466,400,398,426,416,395,375,363,363,378,387,388,393,401,410,412,419,422,422,432,450,463,470,495,539,584,619,541,504,491,481,480,492,523,498,486,512,475,443,418,390,385,384,378,369,372,379,381,377,375,375,377,386,398,411,420,415,400,405,414,406,389,381,378,374,363,356,353,346,350,353,357,353,354,356,368,373,373,398,419,416,406,406,401,401,398,429,416,431,466,470,466,461,455,451,444,433,444,446,451,455,447,429,416,400,389,396,402,408,410,402,391,385,388,354,349,353,353,345,339,338,333,332,321,312,320,332,334,334,331,333,331,324,314,300,298,298],[3076,2997,3207,3210,3262,3315,2877,3043,3472,3320,3354,3754,3565,2393,1794,1722,1766,2008,2509,2833,3039,3127,2394,2080,2542,2648,2212,2297,1968,1569,2239,3002,3188,2733,2407,2785,2908,3241,3276,3307,2619,2434,2567,2676,2584,2658,2748,2348,2162,2585,2648,1483,1587,2613,2491,3138,3460,3364,2879,2483,2576,2830,3371,3228,2850,2431,2278,2315,2259,2686,2463,2432,2591,2865,2598,2143,2027,1277,1558,1917,2361,2473,2211,1403,1557,2422,2586,2240,2298,3062,3836,3883,3769,3447,3378,3860,3661,3264,3305,3784,3206,2852,3230,3339,3147,3217,2967,2380,1858,1552,1731,1923,2397,3019,3196,3450,3665,3692,3492,3355,2854,2898,2964,2734,2831,3054,3448,3850,3764,2847,2601,3354,3496,3613,3804,3189,3165,2500,2727,3293,3632,3278,3378,2905,1735,2005,3138,3030,3233,3310,2770,1854,2446,2718,2376,2242,1917,2035,2925,3103,2308,2002,2082,1971,1926,1786,1751,2073,1699,1245,1272,1468,1847,2264,2295,1865,2011,2389,2458,2563,2007,2150,2844,2862,2224,2189,2488,2511,1933,1666,1735,1995,2197,2042,2344,2343,2315,2293,2224,2321,3234,3477,2561,2349,3505,4040,4103,4363,4300,3791,4062,3896,3134,3719,4419,4459,4440,4327,3605,2185,1853,2343,2452,2208,2129,2011,1920,1715,1632,1863,1930,1924,1791,2221,2670,2360,1655,1458,2055,2256,1907,1661,1976,2417,2110,1801,1769,1991,2248,2427,2614,3411,3454,3063,2884,3211,3586,3921,3997,3377,3274,3273,3256,3054,3039,3018,3125,3354,3501,3557,3769,3710,3699,3640,3292,3020,3100,3176,2303,1657,2670,3598,3746,3740,3850,3696,3264,3064,3195,2274,1314,1749,1190,1158,1819,2080,1642,1235,1384,2132,2078,1573,1999,2071,2341,1758,1204,1460,2576,1900,1289,2072,2664,2511,2443,2262,2346,2424,2453,2539,2280,2013,2010,1940,1887,1678,1935,2146,2073,1836,1616,1914,2580,2558,2408,2588,2542,2241,2043,1917,2120,2284,2138,2164,3074,3783,2871,3329,4114,4439,4327,4209,4297,3344,3251,3650,2835,2066,1722,1643,1708,1737,1812,1989,1970,1851,2188,2471,2414,2586,2618,2246,2032,2461,2430,2306,2158,2356,2644,2919,3039,2980,2927,3076,3143,3045,2939,2870,2878,2691,2272,2277,2402,2391,2219,2063,2359,2997,3514,3416,3422,3486,3292,3075,2283,1670,1807,1967,1998,2181,2046,1698,1644,2027,2393,2532,2446,2565,2431,2299,2135,2952,3538,3247,3225,2852,2632,2511,2081,1825,1833,1925,1865,1929,1965,2416,2885,2360,1927,2381,2806,3480,3912,4319,4560,4488,4560,4428,4509,4405,3203,3216,3449,3055,2880,3305,3506,3282,3217,2810,3228,2979,2942,2725,2548,2429,2172,2236,2833,2829,2703,3195,2917,2707,2866,2743,2511,2924,3150,2708,2310,2379,2684,2855,2564,2069,2132,1956,2297,2386,2544,2780,2415,1937,2475,3902,4390,3912,3108,2121,1924,2164,2679,2850,2573,2236,1835,1365,1266,1781,2167,2683,3183,3176,3239,3719,3211,3384,3665,3451,3177,2711,2134,1695,1459,1440,1882,2814,3361,3479,3348,3287,3342,3260,3196,2976,2691,2435,2585,2534,2379,2391,2180,2014,1970,2157,1999,2193,2075,1864,1842,2169,2714,3041,2393,1820,1802,1438,1707,1597,1420,1636,1722,1669,1706,1902,2378,2866,2597,1977,2546,3022,2942,2967,3073,2677,2162,2254,2598,2551,3373,3852,3671,2155,2010,2287,2074,1579,1525,1661,1993,2139,2106,1992,1880,1953,2088,2252,1884,1798,1683,1821,2189,2566,3037,3362,3152,3061,3513,3853,3682,2180,2305,2784,3493,3703,3470,3305,3082,2588,2264,2592,2618,2404,2908,2890,2181,1600,1499,1561,1633,1425,1578,1988,2204,2358,2004,1813,1892,2077,2010,1941,2530,3287,3604,3587,3066,2341,1767,1496,1680,2431,2678,2321,2991,3271,3550,3761,3625,3815,3661,3276,2743,2306,2482,2183,2102,2423,2917,3202,3361,3323,3467,3140,2318,2035,2818,3343,2962,2545,2595,2744,3174,3768,3697,3177,3076,3220,3262,3111,3150,3144,3392,3267,2886,3445,3620,3706,3431,2811,2288,2338,2822,2919,2655,2542,2861,2994,3289,3328,2342,2169,1816,1539,1856,2326,2318,2250,2352,2432,1991,1891,2756,2399,1952,2852,2487,2075,2124,2292,2423,2353,2147,2297,2569,2765,2857,3056,3422,3194,3130,3124,3100,2945,2511,2358,2744,2710,2448,2879,2332,2059,2287,1984,1960,2315,2426,1953,1671,1876,1934,1964,2008,2272,2114,2005,1775,1870,1883,1819,1764,1716,1450,1254,1318,1533,1694,1710,1538,1465,1981,1978,1758,2250,2255,2105,2195,2062,1966,1911,1837,1670,1715,1691,1637,1616,1567,1634,1624,1731,1676,1415,1480,1569,1451,1607,1714,1624,1483,1497,1584,1688,1585,1630,1853,2470,2478,1818,1770,1589,1400,1671,2049,2215,2353,2225,2555,2706,2866,3032,2776,3163,2745,1667,1462,1436,1903,1985,1675,1549,1533,1564,1676,1541,1466,1818,1794,1606,1744,1569,1558,1528,1686,1554,1434,1874,2149,2119,2244,2911,3142,3476,3301,2067,1677,2314,2656,2195,2430,3361,3053,2268,2311,2226,1837,2061,1930,1852,2047,1735,2045,2119,1769,1921,2404,2349,2173,2016,2316,2659,2227,1743,2198,2612,2194,1845,2191,2216,1846,1845,2067,2531,3428,2309,1826,1684,1435,1604,2076,2167,1954,1906,1977,2008,1872,2003,2045,2079,2350,2123,2020,2035,2103,2315,2059,1758,1452,1455,1822,1894,1880,1398,1090,1728,2416,2532,2093,2061,2020,1907,1963,1927,1913,2213,2245,2127,1951,1726,1542,1782,2331,2461,2184,2757,3313,3276,3252,3228,2996,3233,3112,2871,2798,2685,2539,2608,2620,2592,2809,3419,3865,3388,2553,2297,1701,2241,2032,1875,2162,2048,2231,2324,2096,2149,2326,2343,2469,2764,3225,3373,3044,2575,2250,2269,2232,2099,2061,1701,1793,2356,2225,2485,2756,2780,2691,2587,2858,2438,2061,2218,2352,2568,2589,2340,2097,2130,2233,2163,1954,1991,2401,2362,2114,1994,2470,2852,2273,1704,1562,1658,1432,1337,1574,1528,1508,1558,1719,1874,1891,2120,2292,2021,1861,1619,1573,1637,2031,2154,2159,2351,2348,2232,2307,2113,1625,2016,2182,2031,2556,2395,1918,1680,1758,1896,2128,2458,2576,2570,3063,3358,3270,2813,2076,1840,1619,1751,1611,1504,1710,1784,1682,1710,1687,1938,2119,1779,1814,1631,1731,1735,1639,1622,1423,1355,1425,1597,1929,1955,1908,2062,1888,2138,2423,1896,1727,1743,1739,1635,1542,1533,1455,1462,1403,1577,1837,1716,1517,1653,1910,1622,1613,2011,1542,1345,2440,2866,1982,1465,1554,1882,1749,1397,1744,2397,1991,1369,1411,1367,1701,1791,1646,1442,1490,1512,1368,1648,2133,2490,2116,1871,1910,1623,1915,1871,1884,2429,2499,2359,2276,2035,2280,2706,2286,1596,1818,2475,2897,2586,2375,1756,2096,2310,2347,2201,2806,3341,3298,2899,2397,2580,2913,2443,2619,3089,2934,3555,4060,3723,3003,3267,3275,2457,1837,1841,2296,2091,2111,2277,2802,2512,2897,3221,2902,2588,2501,2520,2475,2114,2898,3305,2710,2217,1918,2214,2590,2274,2143,2482,2509,2463,2497,2277,2121,1867,2211,2316,2976,2888,2416,2256,2402,2474,2974,3947,4197,3073,2167,1662,1854,2232,2317,2685,2833,2736,2906,2629,2181,1957,1471,1473,1449,1442,1546,1671,1936,2055,2069,1844,1826,1837,1606,1440,1792,2250,2035,2419,3508,3034,2263,1827,1617,2335,3012,2970,2592,2208,2144,2351,2746,3154,3418,3549,4468,4845,4724,4660,4377,3720,3677,3910,3619,3363,3118,2977,3021,2868,2514,2249,2264,2344,2269,1974,1625,1556,1999,2282,2298,2101,2144,2599,2372,1558,1061,1042,1222,1144,866,701,564,495,464,459,402,346,349,371,362,342,346,363,407,468,539,624,669,764,834,826,806,868,1022,1281,1052,736,727,744,823,904,964,945,975,1069,1013,943,915,821,850,963,1072,1010,930,1110,1063,1107,1139,1230,1346,1401,1470,1495,1280,1083,948,850,831,826,818,789,767,754,686,649,671,657,627,628,625,636,635,627,614,597,574,582,596,615,599,612,648,668,678,640,644,730,794,837,812,658,672,744,717,657,637,686,793,833,874,1070,1113,1067,875,911,975,941,889,789,787,861,896,1060,1396,1457,1367,1368,1415,1466,1446,1164,1161,1409,1793,1829,1706,1891,2010,2025,2070,2143,2228,2082,1909,1647,1378,1187,1197,1410,1537,1391,1203,1095,955,853,769,735,682,708,703,679,681,709,728,711,699,709,714,719,717,702,692,730,825,882,912,937,945,1043,1201,1337,1558,1769,2215,2458,2420,1938,1802,1700,1846,3046,4089,3907,4094,3824,3691,3939,3598,3516,3666,3837,3881,3667,3371,3274,2621,1735,1137,842,637,505,467,481,476,458,455,467,439,390,368,371,389,440,429,425,408,395,379,375,396,408,415,415,400,394,419,440,462,471,467,478,433,413,406,422,444,451,459,462,462,471,473,485,506,523,537,568,570,608,604,482,500,491,572,512,450,453,457,406,405,429,408,394,377,365,355,370,384,372,399,413,416,420,420,414,405,410,429,448,456,474,530,567,578,512,490,493,488,480,471,478,476,465,495,462,436,416,388,377,379,372,363,362,368,368,371,374,380,390,397,404,413,422,411,395,391,400,399,387,375,372,365,366,359,362,360,359,360,362,365,378,399,409,401,403,413,418,412,409,412,416,419,416,418,412,412,405,409,432,456,451,440,432,421,426,434,433,437,423,416,402,389,374,380,383,391,398,388,379,374,376,368,354,345,345,340,339,333,333,336,320,307,307,318,326,323,329,330,331,324,311,298,290,288],[2776,2739,2768,2635,3022,3540,3476,3111,3273,3136,3117,3284,3496,2798,2003,1713,1698,2032,2345,2544,2866,3596,3371,2846,2474,2807,2842,2577,1602,1604,2746,3191,3010,2754,2709,3124,3055,2936,2858,2743,2449,2490,2674,2705,2708,2850,2312,2145,2172,2097,1892,2013,2403,2206,2279,3133,3522,3374,3038,2558,2402,3039,3474,3285,3032,2490,2318,2653,3115,3100,2755,2688,2586,2590,1820,1427,2110,1520,2176,2463,2209,2468,2394,1835,1854,2113,2172,2229,2314,2762,3024,3737,3967,3859,3242,3288,3530,2941,3177,3819,3418,2894,2942,3139,3089,2641,1974,1648,1628,1989,2577,2924,3459,3660,3638,3928,3730,3478,3500,3715,3020,3099,3055,2783,2627,2999,3574,3985,3958,3397,3234,3497,3254,3143,3256,3339,3209,3161,3254,3575,3249,2356,2548,2864,2536,2775,3638,3513,3233,2894,2293,2013,2523,2651,2468,2208,2072,1986,2309,2817,2404,1495,1607,1887,1942,1767,1751,1885,2166,2433,2358,2054,1978,2148,2473,2262,2188,1942,1786,1842,1856,2145,2520,2446,2208,2104,2658,2824,2120,1730,1827,1912,2264,2176,2433,2611,2387,2332,2178,2209,3093,3978,3996,3273,3162,3506,4013,4544,3786,3024,3692,3942,3428,3951,4373,4460,4552,4252,3548,2167,2171,2491,2200,2271,2264,1951,1794,1720,1665,1574,1618,1731,1692,1985,2170,2464,2104,1755,1937,1890,1808,1783,2028,2248,1907,1459,2073,2272,1997,2084,2392,3045,3576,3607,3366,3193,3058,3272,3382,2900,2985,2603,2598,2756,2524,2257,2464,2854,3210,3325,3398,3626,3893,3772,3607,3404,3228,2967,2698,2662,3124,3488,3350,3181,3433,3519,3415,3067,2941,2125,1311,1324,1534,1520,1650,1753,1510,1500,2068,2264,1724,1873,2078,1926,1886,1302,988,1837,2658,2140,1722,2166,2626,2507,2373,2103,2284,2249,2935,3351,3132,2360,1922,2143,1572,906,1444,1991,2192,1876,1728,1870,2508,2591,2918,3213,3100,2489,1915,1938,2035,2226,2076,1903,2419,3319,3426,3565,3934,4143,4001,3725,3871,3768,3520,3728,3218,2490,2213,2238,1820,2050,2199,2149,2176,2074,2170,2430,2840,2996,2758,2336,1581,2344,2570,2429,2326,2372,2502,2604,2646,2701,2908,3062,2393,2159,2570,2928,2857,2674,2357,2107,1950,1685,1277,1407,2268,3124,3574,3488,3659,3521,2662,2622,2401,2034,1838,1780,2040,2082,2083,2035,1799,1977,2360,2201,1828,2152,2700,2997,2939,3100,2998,2664,2876,2512,2020,2032,2470,2032,2140,2048,1986,2048,1792,2471,3504,2946,1786,1828,2381,2813,3042,4288,4596,4540,4548,4500,4340,3418,2658,2938,2787,2877,3365,3344,3185,3040,2441,2091,2678,3250,3386,2864,2498,2331,2105,2155,2968,3108,2692,2811,2864,2904,2997,2887,2872,3042,2815,2460,2454,2662,2697,2945,2516,2198,2008,1986,2213,2077,2215,2452,2451,1900,2212,3393,3476,3284,2553,2210,2449,2387,2446,2585,2285,1860,2022,1746,1478,1963,2352,2872,3243,2966,3154,3586,3586,3759,3562,3250,3244,2759,2401,1910,1651,1914,2575,2767,3082,3422,3548,3641,3547,3566,3650,3500,3152,2797,2510,2382,2587,2086,1758,1762,1813,1862,1860,1875,1762,2005,2118,2454,2657,2839,2275,2082,1808,1530,1724,1492,1413,1774,1795,1803,1707,1447,1747,2269,2014,1587,2598,3106,3013,3065,3166,2876,2072,2181,2509,2345,3084,3428,3226,2156,1734,1880,1816,1579,1410,1487,1772,2161,2316,2062,1706,1608,1679,1699,1738,1937,2083,2144,2104,2524,2940,3131,3156,3269,3398,3728,3118,2204,2051,2381,2910,3130,3164,3020,2768,2468,2060,2402,2096,1993,2269,1890,1672,1804,1666,1607,1850,1626,1688,1864,1885,2261,2527,2226,2010,2028,1979,2263,3178,3683,3674,3595,3454,2785,1826,1449,1754,2440,2420,2467,2968,3297,3624,3728,3582,3317,2944,2797,2646,2915,3415,3233,2861,3021,3584,3339,2722,2466,2790,2766,2148,2122,2920,3239,3029,2421,2602,2757,3485,3867,3928,3660,3122,3164,3313,3311,3362,3243,3131,2863,3030,3849,4094,3701,2711,2351,2216,2207,2467,2544,2661,2789,3152,3025,2808,2403,2354,2393,2076,2103,2318,2359,2298,2514,2554,2238,1801,2107,2732,2470,2578,2980,2381,1843,2306,2862,2675,2543,2328,2426,2274,2259,2290,2579,2820,2397,2076,2142,2108,2235,2631,2696,2796,2754,2122,2128,2236,2249,2898,2709,2320,2385,2273,1956,2064,2247,2282,2226,2245,2419,2327,2101,2010,2093,2028,1921,1908,1787,1479,1434,1580,1512,1884,1858,1660,1528,1918,1938,1730,2139,2182,1826,1876,1786,1756,1657,1635,1556,1784,1917,1910,1620,1722,2211,2264,1919,1853,1886,1766,1641,1844,2042,1740,1678,1585,1562,1722,1919,1683,1396,1577,1998,2217,1960,1881,1601,1256,1423,1484,1576,1580,1674,2308,2261,1986,2722,3068,3184,3051,1872,1466,1695,1891,1941,2062,1843,1581,1593,1728,1668,1336,1495,1829,1766,1788,1470,1454,1467,1444,1313,1274,1441,2020,2452,2620,2796,2908,3842,3350,2127,2134,2429,2393,2056,2255,2902,2636,2293,2075,1842,1512,1999,2078,1975,1817,1598,1970,2380,2430,2797,3068,2996,2476,2143,2139,1931,1758,1700,2370,2771,2612,2110,1874,1897,2109,2220,2439,2253,2696,2641,2344,1630,1434,1843,2250,2129,1730,1722,1742,1830,1998,1959,2431,2697,2442,2121,1905,1886,1885,1886,2193,2116,1522,1654,2002,1749,1721,1360,1480,2248,2773,2768,2642,2434,2110,2112,2157,2033,2042,2216,1811,2089,2126,1757,1400,1559,2349,2503,2338,2997,2956,3077,3130,3283,3435,3322,3064,2888,2867,2923,2924,2912,2932,2872,2928,3238,3097,2342,2398,2291,2294,2731,1923,2143,2474,2113,2502,2313,2092,1960,2149,1945,2156,2668,2631,2499,2442,2424,2492,2531,2258,2236,2351,1989,2223,2396,2500,2633,2892,2814,2614,2526,2505,2081,1958,2110,2472,2584,2617,2486,2343,2459,2480,2199,2590,2853,3145,3571,2965,2143,2542,2439,2158,1991,2351,2398,1614,1824,1843,1540,1647,1670,1534,1776,2189,2557,2361,1851,1842,1724,1638,1457,1597,1886,2092,2246,1912,1865,2579,2468,1902,1859,1814,2374,3213,3166,2592,1964,1716,1850,2055,2387,2629,2666,2522,2424,2580,2381,1952,1795,1872,1831,1709,1616,1770,1632,1582,1932,1982,1805,1864,1741,2136,1678,1559,1644,1534,1568,1711,1841,1938,1817,1726,1644,1481,1562,1562,2127,2381,2078,1649,1447,1490,1501,1572,1593,1339,1323,1501,1694,1788,1543,1276,1520,1848,1752,1765,2160,1638,1445,2916,3041,1995,1645,1591,1551,1608,1519,1582,2250,2378,1714,1672,1627,1623,1474,1404,1316,1578,1482,1231,1506,1863,1943,1692,1914,2222,1875,2026,2014,1983,2109,2292,2535,2725,2443,2285,2687,2520,1871,1782,2272,2912,2310,2061,1990,2322,2414,2124,1988,2090,2194,2762,3133,2689,2584,3086,2714,2676,2819,2946,3377,3376,3105,2851,2698,2508,2455,2329,2951,2908,2205,2060,2500,3220,2768,3124,3695,3127,2055,1695,1898,2244,2146,2656,2687,3230,3131,2806,2733,2698,2290,2375,2678,2490,2416,2156,2014,2288,2545,2678,2625,2509,2169,1812,2126,2257,1749,2365,2932,2874,3100,3090,2711,2719,2585,2843,2852,2867,2750,2620,3027,2932,2688,1638,1393,1350,1468,1594,1642,1728,1950,1865,1527,1536,1697,1897,1331,1687,2255,2014,2425,3392,3437,2688,1989,1655,2169,3039,3162,2984,2664,2334,2148,2182,2403,2495,2956,3570,3986,4062,4002,3873,3449,3366,2909,2298,2092,2046,2000,1904,1782,1732,1926,1975,1923,1792,1481,1339,1577,2205,2620,2919,2864,2601,2274,1888,1456,984,790,818,773,622,527,478,429,404,402,386,361,352,343,342,346,359,383,421,484,550,634,636,704,754,828,863,871,929,1171,1090,707,694,703,758,837,1000,939,932,1005,1058,956,899,833,779,902,1006,993,810,975,1009,1022,1036,1053,1163,1287,1446,1463,1303,1132,954,817,766,768,778,740,720,706,681,633,628,632,611,612,613,620,620,620,614,603,599,610,607,660,655,611,638,654,684,682,683,708,813,836,828,685,656,719,709,653,638,682,747,826,870,1030,1098,1130,978,1063,1136,1066,947,803,779,896,982,1069,1277,1361,1254,1273,1305,1321,1396,1224,1086,1229,1570,1881,1802,1830,1918,1918,1950,2027,2149,2040,1886,1678,1413,1212,1138,1351,1556,1362,1192,1094,967,847,774,736,695,684,681,676,691,714,722,699,678,677,674,681,696,683,666,704,789,841,860,878,899,958,1044,1174,1414,1677,1939,2034,2233,2094,1776,1623,1741,3032,4042,4073,4516,3796,3787,3799,3572,3242,3235,3476,3876,3860,3684,3689,3484,2305,1339,917,740,568,500,510,485,476,465,469,457,412,375,378,391,419,436,431,411,397,375,371,387,397,408,416,405,398,415,436,450,454,462,473,456,418,398,419,430,441,454,459,473,486,491,505,508,510,514,537,542,553,611,545,533,486,538,502,434,447,452,391,393,423,398,392,378,374,374,380,400,372,396,419,419,421,410,402,390,391,411,442,456,475,514,537,538,513,500,494,491,471,469,465,469,437,467,455,430,416,390,376,368,360,352,356,354,360,364,369,377,384,389,392,399,404,404,392,383,387,388,378,372,371,365,365,364,365,359,353,353,360,374,399,427,448,462,480,463,425,421,425,429,440,429,409,406,400,407,402,397,422,450,446,429,418,404,404,416,421,417,412,402,388,379,366,373,379,382,383,377,367,361,364,366,357,347,346,340,335,333,333,334,323,303,299,309,314,316,319,326,329,322,304,301,286,280],[3085,3274,3083,2943,3208,3329,2724,2076,2876,3118,3344,3829,3376,2325,1935,1759,1814,2313,2521,2654,2944,3347,3865,3391,3056,3104,2975,2474,1717,2154,3252,3149,3042,2767,2787,2764,2871,2642,2654,2767,2512,2518,2934,3024,2920,2611,2211,2209,2535,1979,1262,1854,2245,2005,2056,2722,3384,3123,2860,2950,2622,3129,3299,3362,3430,2631,2735,3522,3841,3366,2648,2692,2380,2351,1749,1350,1877,2039,2557,2673,2426,2456,2502,2520,3113,3022,2388,1928,1788,2496,2822,3505,3646,3877,3138,2893,3445,3369,3624,3548,3494,3178,2574,2403,2053,1807,1858,2299,2766,3100,3240,3386,3558,3487,3550,3677,3606,3349,2974,2899,2932,3351,3507,3303,3318,3737,3541,3463,3595,3342,3249,3430,3127,2813,2323,3082,3947,3589,3069,3088,2539,1526,2195,2924,2573,3327,3862,3192,2981,3484,3011,2955,3332,3141,2625,2403,2115,1675,2263,2454,2048,1313,979,1278,1809,2209,2176,1630,2098,2720,2775,1959,1524,1949,2720,2946,2956,2099,1809,1886,1879,2465,2771,2793,2400,1938,2482,2162,1818,1729,1810,2127,2166,1747,1976,2391,2045,1913,1914,2210,2808,3717,3970,3701,2809,2119,3078,4121,4113,3672,3494,3603,2992,2757,3073,3740,4050,3203,3138,2822,2567,2225,2432,2957,2505,2014,1784,1948,1998,1862,1689,1535,1781,1758,1697,2099,2015,1807,1954,1860,1648,1578,1619,1682,2161,2260,2794,2370,1955,2165,2448,2499,2687,3189,3651,3903,3631,2906,2621,2785,3082,2872,2641,2545,2105,1959,2358,2418,2902,3010,3096,3350,3467,3008,3475,3480,3188,2978,2921,3095,3338,3353,3333,3440,3407,3583,3105,2450,2967,2873,2113,1509,1567,1983,2068,1743,1573,2072,2665,1952,1657,2262,1936,2089,1733,1227,1342,2270,2643,2071,2001,2179,2036,2014,2164,2191,2070,1911,2485,2908,2918,2315,2026,2258,1766,1207,1916,2195,1865,1609,1698,1613,2151,2612,2956,3485,3382,2485,1965,1951,2023,2177,2317,2649,2985,3435,3872,4201,4095,3853,3629,3217,3001,3896,4163,3884,3398,2808,2741,2654,2062,1820,1970,2412,2456,2364,2404,2607,3120,2967,2713,2504,1499,1897,2543,2448,2743,2981,2796,2908,3021,2741,2528,2191,1584,1708,2321,2644,2703,2620,2230,2245,2189,2182,2166,1955,2395,2864,3291,3435,3607,3394,2656,2721,2819,2425,2198,2008,1959,1854,2023,1805,1720,2120,2585,2854,2047,1657,2488,3050,2754,2561,2369,2475,2458,2556,2485,2073,2147,1757,1569,1857,2093,1916,1869,2315,3063,2827,2328,2736,3094,2632,2863,3963,4483,4617,4439,3848,3349,2886,2500,2769,3576,3870,3454,2631,2711,2700,2403,2529,2884,3416,3064,2817,2690,2127,1977,2272,2874,3028,2801,2795,2854,2865,2862,2697,2392,2163,2215,2265,2299,2403,2548,2851,2951,2911,2193,1969,2018,2202,2775,2889,2731,2240,2564,2279,2369,2798,2332,2262,2502,2423,2442,2742,2285,1824,2411,2132,1974,2311,2490,2832,3289,3196,2836,2787,3243,3620,3437,2960,2990,3264,3141,2541,2585,3264,3519,3027,3178,3606,3606,3529,3673,3908,3548,3001,3288,3294,2769,2638,2556,2022,1730,1788,1816,1966,2047,1909,1687,2209,1978,1852,2080,1910,1931,2284,2120,1953,1927,1743,1598,1854,1876,1853,1625,1678,2067,2218,1899,2222,3019,2822,2942,2988,3074,2610,1443,1912,2607,2542,2833,2749,2620,2149,1633,1688,1732,1560,1657,1616,1917,2333,2404,2028,1689,1870,1798,1671,1818,1817,2050,2134,2053,2350,2564,2916,3418,3408,3234,2916,2411,2654,2452,1990,2193,2776,2831,2515,2387,2561,2470,2546,1759,1642,1870,1813,1661,2049,2041,1575,1501,1555,1815,1665,1687,1920,1808,2046,2440,2322,1851,2392,3408,3657,3515,3419,3184,2409,1855,1821,1948,1913,1958,2455,2676,2712,3121,3566,3419,3164,3119,3043,2901,3509,3719,3718,3194,3376,3482,3025,2620,2181,2400,2787,2130,2131,3263,3310,2849,2574,2798,3156,3809,3749,3781,3874,3573,3195,3367,3818,4039,3708,2852,2840,3461,3959,4061,3705,2929,2299,2173,2207,2514,2940,3286,3482,3768,3458,3006,2644,2745,2934,2646,2382,2207,2222,2186,2746,2878,2008,1707,1859,2175,2216,2584,2756,2286,2027,2637,3138,2546,2399,2578,2910,2487,2203,2224,2376,2428,2369,2350,2172,2031,2255,2474,2537,2574,2409,2057,2199,2383,2463,2774,2754,2750,2784,2460,2306,2198,2137,2329,2193,2349,2564,2303,2052,1872,1561,1641,1916,1919,1603,1526,1689,1638,1309,1718,1823,1703,1773,1976,2072,2001,1936,1836,1860,1773,1677,1689,1902,1867,2089,2453,2470,2380,2026,1888,2440,2590,1814,2131,2498,1721,1557,2115,2189,1953,2003,1881,1671,1773,1914,1576,1469,1427,1659,1884,1876,1735,1514,1233,1411,1599,1571,1448,1437,1923,2333,2293,2727,3098,3323,3350,2570,1999,2318,2249,1928,1776,1502,1626,1903,1782,1597,1566,1520,1760,1910,1741,1500,1504,1669,1675,1342,1367,1674,2916,3395,3038,2726,2613,3340,3463,2967,2719,2618,2545,2375,2688,2336,2426,2734,2677,2018,1763,2158,2039,2104,2232,2093,2294,2736,3400,3538,3251,2958,2595,2245,1968,1952,1817,1878,2275,2542,2714,2646,2452,2034,2430,2496,3283,2880,2300,2072,1902,1643,1572,1858,2577,2494,1867,1644,1812,1853,1961,1997,2530,2875,2577,1971,1751,1976,2121,2014,2348,2199,1880,1721,1946,1696,1715,1693,1993,2641,2707,2687,2954,2901,2620,2951,2938,2579,2398,2459,2009,2070,2222,1815,1273,1570,2584,2423,2590,3172,2889,2929,3042,3255,3496,3278,3012,2881,2784,2859,3014,3034,3069,3264,3216,3242,3177,2697,2545,2677,3509,3256,1988,1995,2311,2324,2623,2177,1992,2113,2460,2159,2291,2788,2972,2945,2766,2677,2387,2358,2013,2231,2753,2888,3021,2907,2751,2945,3059,2874,2742,2619,2317,2135,2039,1808,2366,2456,2424,2670,2784,2849,2587,2438,3089,3019,2677,3002,2836,2260,2332,2503,2603,2430,2490,2546,2017,2081,2005,1659,1876,1898,1716,1937,1860,1746,2082,1842,1721,1740,1637,1445,1594,1766,1767,1725,1620,1803,2398,2605,2153,2010,2314,2407,2787,2751,2387,1931,1726,1844,2088,2352,2509,2241,1906,2241,2034,1684,1691,1802,1873,2018,2108,1787,1792,1731,1848,1955,1954,1893,1708,1802,1981,1665,1568,1796,1752,1573,1606,1570,1727,1521,1363,1459,1521,1578,1644,2085,2355,2180,1807,1566,1400,1321,1312,1197,1202,1461,1769,1705,1620,1483,1332,1313,1472,1718,1456,1844,1954,1778,2601,2562,2342,2175,1657,1379,1427,1425,1363,1669,1795,1790,2100,1924,1382,1400,1351,1533,1844,1600,1264,1235,1426,1770,1961,2342,2480,1972,2021,2065,2210,2269,2771,3366,2638,1809,1767,2348,2658,2229,2656,2854,2743,2607,2642,2729,2484,2091,2416,2562,2359,2288,2741,3356,3299,3217,2865,2416,2507,2520,2556,2779,2797,2495,2594,2367,2166,2188,2522,3011,2590,2474,2703,2812,2978,3209,3318,2763,2858,2124,1391,1376,1687,1652,2045,2663,3008,3450,3273,2900,2959,2227,2241,2327,2078,2439,2153,2051,2490,2410,2077,2061,1961,1953,1757,1923,2219,1852,2307,2735,3095,2994,3210,3169,2931,3475,3840,3352,2720,2686,2811,3049,2840,2973,1919,1631,1775,1886,1966,1907,1793,1774,1630,1291,1377,1542,1694,1401,1744,1917,1896,2290,3112,3649,3218,2313,1995,2312,3163,3609,3699,3499,3043,2510,2188,2127,2009,2069,2237,2341,2370,2435,2376,2137,1863,1695,1719,1803,1927,2065,1980,1754,1740,1959,1894,1565,1479,1615,1867,1976,2321,3161,3567,2997,1989,1339,1412,1483,1121,788,655,632,583,518,487,414,382,375,354,341,336,339,343,352,370,401,426,483,530,600,614,655,683,812,921,886,912,1074,1130,702,640,700,791,769,961,995,927,1011,1113,974,883,859,737,805,901,973,813,846,913,934,991,995,1001,1196,1462,1442,1304,1130,967,822,729,718,744,716,693,678,660,631,608,601,601,598,604,602,588,594,606,611,610,621,616,649,683,632,634,664,676,702,711,691,775,834,807,695,646,687,689,652,651,681,714,781,841,974,1043,1140,1055,1060,1087,1025,970,892,808,794,932,1037,1118,1240,1199,1209,1234,1223,1326,1264,1065,1086,1325,1723,1787,1753,1805,1810,1831,1924,2143,2217,2021,1764,1460,1274,1123,1261,1560,1339,1147,1085,974,849,770,724,699,678,662,660,663,695,680,661,646,636,634,635,655,659,662,695,768,827,834,832,851,897,969,1113,1313,1594,1898,1881,1913,2220,2002,1623,1635,3095,3981,4324,4408,3949,3641,3504,3360,3372,3275,3084,3582,3377,3661,3281,3532,2762,1623,968,785,641,525,545,503,482,466,466,467,434,394,382,396,403,402,405,406,395,381,370,384,389,404,415,407,400,409,422,433,438,447,460,464,451,397,408,419,430,448,462,495,521,564,599,560,504,504,514,516,517,597,566,517,491,500,476,427,433,447,397,373,399,395,390,375,378,388,388,405,400,405,419,426,431,410,389,385,392,410,432,453,481,500,514,514,496,492,491,485,449,474,465,467,431,444,448,451,425,377,377,361,355,350,350,347,344,353,359,370,377,382,385,391,401,403,390,377,371,367,365,365,362,362,359,356,355,350,345,345,355,378,405,430,446,467,465,450,430,419,416,407,378,362,374,383,383,392,391,402,423,437,435,420,404,389,387,396,403,402,406,393,378,371,367,366,368,371,373,371,354,350,359,367,359,353,346,339,331,326,328,326,319,306,301,299,302,309,311,323,325,321,308,296,283,276],[3432,3526,3140,3300,3470,3219,2260,2240,2929,3150,3514,4039,3608,2523,2124,2481,2589,2640,2958,3262,3399,3660,3950,3540,2976,2602,2508,2119,1901,2174,3085,3096,3080,2330,2211,2558,2787,2828,2976,2828,2294,2403,2896,3500,3141,2547,2278,2463,3265,2746,1531,1347,1702,1925,2189,2755,3046,3034,2984,3185,2942,2807,3019,3052,2818,2788,3250,3519,3659,3117,2587,2969,3109,3009,2492,2200,2175,2916,3213,2682,2328,2346,2229,2696,3552,3283,2360,1734,1884,2360,2830,3094,3137,3639,3593,3330,3355,3418,3567,3409,3400,3415,2846,2439,2069,2170,2599,3021,3209,3229,3312,3121,3350,3709,3492,3277,3294,3287,3206,2845,3054,3539,3648,3504,3826,4432,4175,4124,3469,3203,3055,3110,2732,2931,3366,3771,3868,3138,2770,2640,2635,2390,3430,3553,2749,2995,2997,3310,3723,2720,2470,3200,3273,3187,2508,2221,2058,1905,2076,2087,2019,1891,1794,2070,2446,2454,2007,1951,2774,2761,2335,1673,1507,1947,2511,2763,2745,2376,2174,2075,2143,2684,2664,2674,2156,1859,2249,2105,2018,2091,2357,2501,2068,1918,2554,2790,1914,1770,1978,2386,2406,2281,2187,2155,1842,2106,3090,3378,3057,3293,3882,3220,2158,2340,2014,2629,2785,2229,2564,2635,2308,2405,3108,3150,2204,1951,2163,2382,2301,2160,2220,1880,1832,1798,1521,1678,1832,1719,1947,1938,1564,1566,1600,1541,1911,2222,2389,2286,2301,2832,3065,2668,1980,2479,2958,3473,3586,2413,2172,2393,2651,3189,3110,2917,2774,2390,2328,2192,2854,3178,3152,3064,2441,2082,2575,3027,3292,3100,2870,3064,3204,3181,3296,3560,3401,3248,2876,2709,3597,3803,3078,2188,1413,1589,1866,1613,1371,1704,2227,1868,2046,1994,1937,2023,1860,1657,1882,2787,2642,2073,1987,1959,1593,1775,2121,2408,2215,1993,2030,2008,1967,2090,2208,2228,1890,1569,2480,2249,1573,1509,1672,1596,1910,2193,2656,3519,3440,2653,2050,2155,2393,2938,3511,4104,4300,3951,3789,3714,3486,3316,3195,2540,1945,2828,3758,3492,2989,2835,2512,2552,2445,1869,1995,3055,3110,3127,3351,3263,2954,2584,2592,2612,2010,1989,2159,2058,2408,2953,2786,2690,2995,2841,2200,2114,2460,2581,2324,1857,2231,2678,2567,3051,2295,2054,2276,2106,2447,2623,3174,3624,3532,3073,2440,2430,2893,2690,2316,2125,1973,1850,2026,1744,2118,2118,2206,2630,2368,2030,2118,2056,1909,2069,1810,2019,2207,2284,2242,1654,1279,1395,1613,1822,1915,1814,1998,2416,2688,2721,2942,3377,3373,2950,3304,4164,4316,4125,3466,2534,2702,3065,2662,3009,3684,3264,2495,2597,3094,2766,2666,2989,2987,2701,2614,2754,2764,2384,2060,2003,2831,3128,2822,2577,2323,2462,2819,2819,2519,1955,2554,3006,2681,2412,2202,2140,2391,2147,1935,2245,2383,2666,2712,3176,2874,2440,2470,2222,2680,2667,2135,1923,2159,2735,2792,2420,2169,2418,2990,2460,2742,3299,3008,2905,3278,3163,2501,2142,2698,3201,3477,3208,3135,3441,3581,3458,3363,3496,3417,3042,3210,3733,3728,3348,3585,3725,3548,2967,2961,2901,3215,3648,3231,2220,1715,1758,1643,1814,1924,1768,1646,1621,1542,1802,1755,1663,1980,2009,2046,2006,2065,2035,1860,2093,2056,1987,1820,2104,2078,1901,1733,2442,3025,1963,2018,2284,2498,2133,1541,2831,3342,2603,2551,2814,2872,2824,2486,1829,1641,1602,1809,1796,1861,2441,2352,1887,2270,2478,2010,1688,1691,1596,1803,2134,2320,2548,2567,2798,3572,3522,2778,1951,1923,2320,2259,2170,2078,2479,2149,2039,2047,2417,2943,2618,1793,1494,1701,1773,1584,1964,2298,1888,1635,1905,2121,1939,2029,2109,1978,1823,2444,2874,2268,2172,3242,3544,3299,3090,2644,2064,1841,2515,2925,2351,1909,2197,2554,2554,3097,3732,4020,3911,3791,3458,3400,3879,4063,3745,3325,3360,3012,2602,2702,2386,2601,2976,2164,2173,3167,3163,2673,2697,2884,3540,4001,3996,3949,3586,3411,2890,3134,3610,3731,3460,3198,3369,3548,3847,3962,3564,2824,2152,2093,2191,2496,2661,2988,3423,3496,3620,3768,3119,2897,3106,2624,2388,2375,1995,2554,3275,3487,2217,2010,2888,3067,2324,2116,2629,2886,2604,2740,2898,2686,2244,2741,3130,2462,1795,1742,1776,1996,2290,2357,2031,2202,2503,2703,2543,2598,2798,2144,1851,2398,2930,3050,3181,3317,3228,2685,3165,2588,2231,2312,2173,1843,1953,1947,1691,1870,1566,1602,1815,1904,1604,1749,1788,1740,1735,1793,1901,2062,2032,1988,2383,2474,1838,1587,1574,1552,1997,2032,1807,1911,2223,2109,2053,2486,2255,2381,2536,2725,2039,2304,2325,1590,1508,1547,1687,2375,2712,2059,1818,2144,2093,1672,1511,1412,1657,2075,2131,1858,1722,1888,1981,1789,1585,1490,1572,1860,2097,2227,2093,2144,2352,2499,2570,2584,2229,1998,1916,1592,1564,1794,2305,1844,1602,1678,1923,1930,1749,1817,1860,1909,2056,2004,1733,1626,1585,2397,2880,2352,1887,2356,3505,3780,3196,3040,2938,2675,2755,3505,2445,2298,2706,2853,2224,2042,2283,2050,1765,1952,2233,1977,2397,3090,3349,2999,2888,2800,2327,2136,2104,1986,1900,2153,2474,2688,2735,2557,2276,2408,2648,3200,3106,2463,2078,1918,1565,1496,1672,2223,2085,1605,1645,1833,1692,1824,2243,2675,2916,2667,1806,1657,2035,2078,1931,2192,1915,1724,1907,1903,1877,1797,1633,1955,2707,2656,2578,2511,2921,2921,2825,3091,3128,2943,2731,2448,2723,2774,2285,2002,1885,2415,2385,2950,3108,3053,3165,3188,3221,3187,3096,2985,2815,2585,2597,2846,3125,3002,3024,3078,3208,3604,3506,2714,2502,3054,2702,1631,1460,1623,2094,2280,2100,2050,2241,2449,2410,3282,3808,3717,3845,4030,4030,3472,3438,2977,2808,2978,3176,3056,2857,2976,3118,2811,2631,2546,2456,2144,2222,2081,1989,2316,2575,2635,3246,3177,2721,2652,2700,3144,2502,1869,2111,2052,1879,1603,2019,2929,3123,2877,2732,2478,2404,2200,2137,2090,1893,2368,2592,2027,1858,2585,2450,2011,2049,1822,1615,1886,1883,1772,1622,1710,2066,2687,2780,2322,2312,2213,2264,2504,2054,1914,1650,1494,2113,2088,2270,2268,1863,1958,2319,1925,1548,1560,1665,1785,1692,1568,1565,1591,2050,2081,1791,1850,1801,1565,1519,1548,1665,1681,1752,1562,1550,1510,1416,1429,1484,1403,1385,1628,1645,1657,2294,2394,1954,1650,1519,1252,1318,1281,1286,1256,1519,1789,1564,1451,1504,1478,1351,1359,1484,1245,1698,1881,1819,1762,2176,3132,2737,1620,1448,1487,1409,1577,1601,1701,1986,2347,2157,1537,1378,1379,1292,1454,1506,1426,1353,2332,2819,2635,2336,1984,1931,2293,2237,2712,2780,2544,2655,1822,1843,2083,2274,2470,2213,2263,2498,2216,2525,2875,2709,2495,2228,2621,2395,2450,2358,2492,2866,3461,3847,3212,2678,2335,2147,2263,2578,2429,2520,2342,2341,2442,2457,2773,2662,2239,2701,3002,2566,2302,2766,3063,2445,2046,1902,1761,1311,1262,1454,1922,2498,2867,3020,2186,2511,2544,1730,1662,1929,1636,2259,2343,2115,2476,2292,2080,2471,2576,2517,2511,2692,2353,2225,2357,2641,2730,2352,2663,2740,2967,4026,4002,3507,2673,2690,2783,2594,2429,2603,2026,1822,2067,2170,2099,1985,1939,1771,1622,1449,1333,1383,1425,1525,1668,1702,1641,2588,3871,3872,3341,2586,2113,2039,2818,3667,3588,3513,3596,3404,3024,2575,2214,1997,1936,2029,2048,1766,1526,1660,1832,2087,2154,1919,1720,1830,1824,1832,2098,1888,1850,1770,2067,2479,2688,2429,2567,2886,2392,1626,1115,987,1120,1340,1289,952,691,606,561,498,467,423,391,364,342,311,308,336,336,352,375,391,410,448,507,555,591,645,667,766,925,885,887,1026,1122,751,618,693,780,752,824,1001,997,928,966,908,841,837,749,809,875,911,793,726,805,905,961,974,958,1100,1361,1256,1183,1085,945,823,719,687,698,690,682,665,650,620,589,585,592,601,606,591,571,575,595,603,612,616,615,623,676,668,627,658,682,703,705,685,715,787,788,692,634,661,693,661,679,676,686,734,800,880,974,1035,999,998,977,1061,987,910,865,815,858,953,1042,1144,1137,1130,1173,1121,1196,1214,1087,1006,1136,1493,1705,1685,1668,1704,1774,1828,2126,2604,2465,1979,1570,1310,1146,1243,1510,1341,1094,1046,970,847,770,728,685,670,667,653,625,665,653,631,615,597,598,601,610,628,645,670,741,819,837,821,816,842,892,1003,1174,1450,1759,1882,1976,2376,2282,1722,1610,3099,3964,4237,4252,3637,3254,3385,3303,3399,3422,3341,3498,3376,3707,3202,3282,3067,2079,1110,780,691,540,538,530,491,461,456,456,433,398,393,402,402,427,447,427,394,379,370,376,387,396,401,407,401,401,417,435,438,443,457,465,472,414,407,431,443,443,485,568,623,698,739,615,519,519,520,521,504,576,575,503,470,475,474,423,438,450,420,380,377,391,392,381,383,394,402,408,413,413,404,392,367,372,384,386,400,416,436,468,483,493,514,528,500,477,478,485,447,466,468,460,447,441,444,455,435,369,376,357,350,343,341,335,336,341,349,362,369,373,377,382,395,399,386,371,361,360,359,358,357,353,353,353,351,347,346,345,350,374,398,416,429,428,421,411,395,382,376,371,366,372,365,361,363,368,379,387,391,411,425,411,397,388,377,375,374,385,404,391,368,357,358,362,357,357,362,366,353,338,348,357,355,348,339,334,328,324,318,322,316,306,299,294,289,294,302,313,323,319,307,291,283,279],[3393,3249,2971,3174,3271,2843,2406,2950,3482,3397,3453,3713,3587,2660,2553,3174,3417,3514,3132,3118,3466,3792,3753,3233,2711,2695,2973,2278,2004,2091,2480,2502,2542,2355,2492,2887,2809,2708,2910,2290,2254,2340,2597,2940,2398,2066,2589,3330,3238,2732,2181,1358,1315,2138,2330,2835,3097,2924,2791,2854,2973,2849,2722,2453,2259,2513,2220,2482,3108,3121,2945,3229,3900,3584,2641,1873,1813,2827,3438,2664,2223,2510,2179,2601,3247,3629,2922,2263,2246,2196,2495,2891,3219,3418,3519,3209,2985,3121,3252,3226,3427,3706,3394,2952,2878,2872,3110,3458,3793,3484,3561,3051,3195,3528,3375,3216,3164,3251,3261,3133,3168,3115,3001,2348,3071,3794,4001,3784,3279,2709,2219,2576,2931,3418,3894,4135,3728,2401,2747,2578,2478,2551,3024,2999,2968,3362,3563,3961,4213,2826,2746,3148,3491,3483,2418,2432,2710,2634,2151,1981,2153,2509,2900,2845,2925,2313,1820,2228,2906,3206,2446,1734,1967,2056,2060,2200,2077,2056,2262,2351,2216,2217,2056,2116,2171,2221,2154,2069,2392,2558,2841,2351,1892,2008,2290,2062,1860,1869,1936,2611,2955,2099,1541,1827,1946,2792,3035,2334,2122,2967,3526,2663,1760,1887,2132,2437,2099,1953,2361,2166,2298,2840,3024,2746,1893,1699,2307,2379,1869,2236,2590,1968,1577,1454,1426,1578,1553,1574,1819,1765,1576,1559,1702,1704,1722,1809,1787,2024,2776,3152,2939,2341,1961,2807,2911,2863,2813,2195,2008,2063,2547,3064,3143,3283,3016,2528,2331,2529,2456,2603,2740,2577,2236,2206,2366,2631,2893,3112,2925,3134,3373,3375,3165,3317,3374,3004,2951,3443,3948,3803,3678,3274,2120,1925,1828,1816,1978,1787,1744,1969,2101,2078,2120,1898,2248,2092,2349,2432,2182,1995,2110,2052,2214,2518,2408,2288,2022,1844,2065,2364,2086,2056,1756,1373,1502,2111,2344,2017,1832,2074,2036,1997,2183,2062,2491,3138,3385,2955,2507,2741,3206,3850,4404,4615,4399,4153,3794,3252,3222,3118,2847,2286,2140,2918,3292,3100,2946,2445,2237,2437,2515,2298,2610,3532,3589,3610,3400,2871,2382,2470,2460,2271,2110,1807,1671,1677,1913,2593,2291,2920,3464,3165,2371,1931,2095,2342,2248,2122,2533,3019,2797,2414,1720,1541,1834,2359,2667,2731,3153,3594,3728,3633,3276,3121,3164,2773,2415,2204,2072,1952,1935,1897,2248,2298,2002,2083,2316,2534,2094,1621,1624,2009,1903,2199,2415,2314,2395,2181,1896,1867,1822,1573,1594,1892,1945,2102,2686,2683,3176,3918,3886,3629,3755,3905,3495,3051,2386,2575,2984,2899,2537,2986,3386,2866,2486,3033,2875,2812,3426,3325,3343,3089,3012,2755,2569,2686,2751,2534,2525,2474,2084,1735,1817,2135,2636,3222,3341,2816,3016,3355,2956,2604,2218,2055,2210,2100,2382,2428,2732,2509,2729,3339,2787,2718,2706,2313,2332,2192,1983,1962,2464,2999,3054,2775,2497,2878,2901,2407,2770,3163,2990,2907,3459,3511,3099,2800,3144,3316,3161,3151,3477,3396,3471,3505,3272,3033,2592,2468,3008,3531,3436,2967,3154,3261,3261,2788,2485,2589,3097,3467,3266,2341,1681,1692,1600,1715,1892,1676,1744,1628,1795,2274,2274,2345,1915,1741,2028,1866,1758,1738,2067,2522,2126,2054,2139,2171,2027,1698,1602,2303,2358,1891,1847,1824,1814,1771,2164,3218,3155,2561,2634,2873,3068,3265,3108,2911,2463,1818,1626,1533,2051,2990,2602,2252,2557,2442,2126,1710,1602,1644,1832,2678,2641,2666,2668,2684,2933,2950,2352,1826,1937,2339,2237,2382,2183,1976,1924,2286,2375,2517,2903,2612,1789,1515,1642,1727,1909,2059,2002,1843,1615,1950,2055,2022,2491,3077,3181,2849,2718,2835,2405,2003,2598,3221,3123,2714,2156,1859,2330,3228,3523,3182,2380,2018,2679,2912,3653,4269,4488,4267,4035,3708,3438,3813,4205,3845,3782,4047,3640,3032,3122,2946,2841,2824,2212,2258,2968,3031,2652,2608,3145,3854,3675,4009,3981,3340,3134,3087,3099,3074,3249,3347,3538,3841,3790,3781,3851,3519,2879,2083,1968,2266,2765,2685,2457,2691,2868,3285,3892,3370,2822,2600,2079,2035,2196,2165,2963,3404,2900,2335,2254,2412,2643,2142,2263,3081,2818,2661,2898,2929,2776,2621,3123,3444,2840,2238,2067,1923,2238,2732,2636,1882,1844,2107,2494,2372,2610,2662,1797,1493,2315,3348,3322,3287,3015,2686,3199,3605,2707,2420,2341,2101,1967,2166,1952,1983,2005,1593,1640,1628,1830,1835,2012,1856,1794,1931,1954,2125,2173,1854,1758,2247,2360,1934,1990,1688,1409,2008,2303,1931,1771,1745,1608,1929,2711,2329,2470,2288,2192,2264,3078,2648,1709,1525,1525,1621,2167,2799,2382,1895,2232,2361,1681,1359,1309,1454,1831,2048,1812,1964,2785,2414,2032,1598,1708,2027,1788,1860,2096,2025,2270,2386,1911,2247,2636,2096,1818,1867,2270,2132,2128,2236,1805,1886,2270,2486,2460,2100,1677,1653,1831,1869,1953,1789,1497,1489,2370,2785,2048,1825,2063,2731,3155,3244,2790,2877,2642,2518,2587,2097,1934,2254,2546,2416,2264,2105,2146,2105,2380,2912,2288,2148,2677,3022,3007,3013,2314,1851,2204,2030,2098,2169,2363,2553,2293,2084,2237,2268,2204,2365,2451,2309,1961,2108,2170,1958,1707,1941,2026,1739,1572,1766,1670,1861,2241,2451,2655,2707,2503,1728,1880,2513,2447,2199,2262,1924,1845,1897,1981,2110,1928,2098,2304,2951,3173,3782,3913,3717,3748,3878,4143,4090,3561,2907,2613,2973,3352,3254,3220,2523,3162,3514,3227,2821,2750,2755,2787,2824,2839,2965,2949,2932,2941,2956,3045,3164,2968,2905,3107,3189,3549,3747,2866,2175,2284,2084,1921,1750,1965,2530,2508,2106,1844,2068,2229,2523,3773,4269,4372,4240,4314,4332,4489,4660,4048,2768,2567,2946,2685,2671,2798,2479,2366,2484,2441,2301,2327,2359,2047,1945,2006,2259,2900,3550,3264,2797,2499,2103,2436,2167,2188,2350,2049,1544,1428,2491,3364,2906,2610,2849,2752,3043,3005,2554,2123,2037,2425,2446,2148,2092,2557,2611,2169,2394,2025,1859,2046,2142,2040,2025,2242,2482,2403,2260,1967,1805,1532,1597,2618,2997,2841,1788,1796,2443,2245,2497,2743,2432,2438,2504,2144,1757,1613,1603,1738,1747,1730,1649,1715,2201,2005,1822,2058,2134,2036,1857,1627,1731,1499,1760,1902,1840,1527,1413,1607,1732,1506,1439,1574,1419,1362,1858,1876,1543,1376,1359,1274,1308,1411,1461,1293,1491,1591,1281,1287,1399,1338,1240,1152,1216,1341,1601,1528,1461,1421,1954,2774,2458,1874,1626,1693,1482,1688,1819,1844,2309,2603,2194,1863,1560,1525,1339,1522,1467,1295,1582,2870,2895,2377,2443,2438,2680,2654,2291,2952,3146,2187,1842,2334,2865,2486,2101,2354,2415,2350,2434,2154,2231,2719,2478,2197,2255,3162,2923,2527,2245,2336,2587,3074,3627,3839,3372,2786,2352,2114,2479,2469,2477,2599,2792,2930,2832,2787,2721,2847,2934,2686,2193,2253,2748,3184,3188,2339,2059,1996,1548,1431,1690,2424,2790,2497,2281,1802,2613,2978,2265,1952,1921,1622,1914,2201,2287,2499,2985,3176,2888,2857,2614,2558,2939,2374,2504,2509,2438,2558,2165,2389,2761,2745,3399,3941,3673,2461,2086,1691,1641,2268,2553,2115,1975,2664,2955,2821,2242,1842,1399,1412,1294,976,860,1091,1288,1431,1721,1965,2576,3273,3378,3193,2633,2187,1897,2115,2989,3261,3306,3782,4205,4006,3610,3260,3112,2868,2391,2245,2060,1881,1848,2002,2296,2438,2259,2064,2261,2039,2329,2592,1908,1853,2344,2483,2445,3023,3216,2674,1782,1339,1211,934,879,877,1090,1212,1069,766,591,563,667,682,415,386,340,338,327,324,331,335,343,368,383,395,438,511,575,625,675,697,738,903,884,877,929,1119,911,663,639,791,832,719,937,1038,888,958,905,894,840,770,805,865,866,759,676,768,892,942,962,1004,1113,1192,1084,1021,977,902,807,710,667,680,669,672,662,643,606,568,563,572,576,596,600,584,586,584,581,597,609,609,602,657,675,645,649,694,718,697,682,685,753,762,701,622,649,695,662,693,716,710,716,763,818,914,989,952,922,918,1032,1009,946,882,882,834,841,924,1013,1070,1061,1081,1037,1095,1132,1114,979,1012,1302,1572,1631,1594,1591,1656,1715,2169,2841,2659,2144,1679,1348,1155,1168,1401,1356,1063,999,937,835,763,740,672,659,654,637,609,619,629,616,589,572,571,574,581,594,610,636,718,820,841,808,800,806,854,953,1077,1324,1573,1813,1957,2159,2223,1917,1760,3012,4200,4292,4168,3683,3342,3664,3797,3979,3466,3287,3507,3813,3746,3373,3152,3187,2626,1435,804,711,585,542,538,503,461,442,434,419,402,395,399,414,436,443,421,398,377,363,368,378,386,404,410,403,399,415,425,432,433,452,461,466,420,415,449,471,501,580,738,794,761,767,613,523,533,526,521,498,558,597,519,447,435,473,419,453,457,416,388,386,397,401,387,388,396,405,404,408,404,389,373,375,376,379,387,398,424,452,464,461,479,518,529,505,480,476,471,456,456,459,458,454,444,431,429,414,377,373,359,346,336,327,324,331,333,342,352,360,365,369,373,385,388,381,361,352,354,351,351,350,348,346,346,345,343,341,342,347,361,372,378,376,368,372,368,364,357,357,360,354,353,353,345,344,355,355,347,362,393,411,401,399,393,382,369,361,373,389,381,358,348,354,354,352,350,355,360,349,333,339,349,344,336,332,328,319,320,322,320,308,308,304,294,285,282,293,306,314,312,302,289,285,275],[3406,3205,2980,3037,3266,3296,3514,3829,3841,3407,3418,3817,3795,3221,3173,2957,2952,3395,3319,3007,3191,3825,3294,2583,2458,2790,2938,2803,2333,2062,2089,2115,2474,2679,2547,2270,1703,2013,2768,2573,2312,2448,2335,1973,1926,2303,3164,3330,2856,2414,2292,1754,1754,2222,2334,2843,3152,2828,2392,2396,2801,2949,2724,2455,2500,2472,2258,2401,2501,2724,2902,3130,3166,2708,2312,2213,2395,2888,3062,2212,2292,2445,2005,2236,2620,2886,2788,2700,2515,2147,2348,2940,3167,3117,3254,3210,2662,2440,2476,3084,3830,3839,3396,3252,3122,2889,3338,3702,3580,3283,3330,3204,3160,3256,3432,3567,3486,3231,3154,3330,3144,2231,2100,1735,2836,3404,3536,3426,3093,2263,2453,3721,4165,4037,3619,3997,4104,3375,3105,2389,2272,2602,2403,2808,2910,2597,3153,3521,4444,3961,3518,3507,4021,3164,2446,2953,3146,2721,2368,2726,2666,2868,2854,2799,2996,2379,2216,2446,2310,2648,2658,2303,2238,2137,2168,2105,2122,2208,2040,2243,2308,2475,2284,2351,2393,2158,1660,1719,2509,2473,2536,2144,1688,1482,1722,2307,2524,2205,2148,2491,2489,1992,1999,2283,2523,2756,2176,2330,2642,2265,2078,1820,1710,1952,2101,1783,1953,2206,2120,2160,2534,2819,2529,1919,1670,1800,2499,2645,2346,2438,2184,1730,1478,1233,1352,1595,1538,1721,1983,1832,1682,1745,1802,2002,1817,1841,1946,2430,2842,2849,2667,2143,1832,2654,2840,2706,2764,2597,2546,2279,2220,2706,3000,3217,2957,2993,2866,2588,2388,2597,2322,2043,2170,2184,2106,2444,2629,2756,2800,3071,3429,3595,3516,3441,3241,3248,3374,3471,3638,3691,3846,3586,3172,2644,2144,1810,2168,2189,1961,2262,2089,1996,2159,2388,2264,2020,1766,1676,1986,2292,2658,2475,2482,2610,2404,2144,1787,1702,2248,2401,2285,2106,1596,1065,1350,2082,2410,2364,2170,2083,2071,2547,2893,2651,2492,3341,3414,3340,3176,3056,3586,4284,4616,4572,4608,4296,3639,3159,3325,3188,2886,2661,3064,3462,3227,3032,2379,2065,1908,1990,2309,2277,2380,3360,3520,3124,2941,2497,2343,2598,2347,1979,1782,1709,1911,1920,2126,2686,2174,2589,3100,2942,2380,1970,2194,2132,2376,2700,2684,2910,2867,2009,1604,1403,1721,2565,2993,3080,3098,3269,3675,3688,3506,3112,2493,2309,2349,2232,1933,1785,1890,1918,2230,2297,2259,2570,2866,3002,2342,1771,1824,1932,2070,2510,2358,1932,2032,2236,2294,2137,1920,1438,1439,1924,1902,1909,2182,2229,2692,3594,3584,3416,2872,2851,2597,2977,3010,2425,1895,1689,2248,3145,3010,2941,3272,3038,2323,2344,2965,2921,3220,3240,2866,2634,2405,2387,2318,2202,2230,2438,2405,2052,2100,1832,1913,2361,2711,2813,2956,2950,2899,2631,2296,2435,2676,2928,2689,2386,2613,2544,2994,3451,3195,2823,2447,2221,1998,1674,1847,2081,2505,2618,2742,2730,2856,2890,2272,1991,2302,2592,2787,2907,3405,3564,3610,3518,3518,3460,2784,2902,3308,3117,2958,2834,2670,2459,2730,2843,2688,2775,3140,3364,3406,3334,3064,2722,2863,2728,2605,2440,2431,2055,1690,1636,1584,1664,1895,1666,1631,1732,1894,2330,2287,1976,1648,1580,1637,1662,1684,1501,2482,2828,2199,2199,1939,1835,2110,1926,1619,2024,1859,1767,1749,1786,1765,1671,2311,3270,3066,2482,2397,2603,2908,2743,2602,3015,2724,2070,1877,1674,1946,2271,2164,2127,2202,2055,2039,1797,1873,1495,1678,2451,2310,2373,2728,2367,2002,1976,1792,1658,2178,2397,2181,2570,1976,1470,1680,2091,2447,2713,2994,2609,1920,1778,1895,2328,3178,2598,1835,1708,1655,2112,2525,2602,2879,3398,3601,3570,3230,3074,2460,2003,2022,2514,2688,2264,1852,2109,3038,3517,3632,3460,2757,2072,2647,3159,3804,4731,4863,4538,4300,3865,3278,3434,3969,3773,3835,3936,3719,3198,3144,2719,2706,2750,2200,2134,2689,2933,2654,2632,3267,3691,3308,3610,3553,2962,3160,3423,3152,2900,3168,3433,3484,3892,3906,3721,2928,2376,2162,1895,1956,2201,2380,2352,2461,2840,3220,3872,4034,3505,2788,2298,2007,1768,1790,2236,2586,2613,2230,2086,1883,1597,1975,2441,3076,3533,3340,3255,3216,3147,2996,3023,3498,3640,3479,3209,2940,2770,2758,2812,2477,1826,1611,1770,2067,2303,2512,2483,1965,1762,2640,3306,3404,3389,3040,2666,3442,3560,2778,2351,2328,2590,2562,2871,2456,2831,2419,1762,1603,1567,1640,1796,1990,1787,1888,1992,1971,2044,2044,1647,1590,1899,1813,2043,2578,2220,1606,1945,2328,2092,2149,1787,1741,1916,2039,1743,1860,1964,1698,1998,2858,2796,1842,1515,1745,1809,1982,2408,2327,1762,1738,1873,1657,1521,1366,1312,1550,1813,1823,2436,3439,2700,2313,1990,1970,2305,1874,1510,1856,2206,2479,2411,2322,2333,2302,2050,1889,2282,2406,1961,2042,2049,1656,1970,2860,2746,2062,1998,1809,1879,2176,2172,2064,2008,1838,1792,2450,2443,2012,2530,2231,2137,2430,2444,2322,2569,2938,2923,2082,1602,1721,1986,2150,2143,2162,1980,2075,2013,2209,2425,2424,2663,2880,2531,2267,2200,2006,1868,2261,1858,2187,2333,2342,2454,2226,2135,2404,2514,2422,2074,1817,1914,1961,2484,2791,2674,2739,2811,2317,1655,1642,1580,1400,2071,2706,2667,2602,2739,2451,1828,1707,2140,2281,2089,1840,1512,1482,1524,1965,2103,1907,1995,2274,2237,2946,3995,4184,3637,3693,4496,4815,4603,3624,2987,2649,2885,3488,3542,3248,2566,2808,3208,2977,2587,2379,2310,2268,2212,2249,2360,2313,2232,2315,2629,3010,3165,2974,2939,3133,3341,3617,3487,2742,2485,2612,2130,2060,2372,2293,2446,2423,1959,1970,2492,2515,2513,3372,3596,3710,3745,3940,4316,4472,4430,3531,2295,2458,2792,2647,2735,2603,2332,2822,2967,2592,2463,2677,2658,2302,1946,1962,2207,2358,2495,2746,2691,2181,1748,2210,2483,2242,2128,2088,1729,1870,3308,3378,2630,2525,2298,2908,3365,3460,3152,2397,2204,2310,2272,2310,2243,2422,2591,2542,2589,2153,2171,2040,2183,2540,2746,2880,2544,2497,2727,1954,1620,1497,1709,2966,3348,3027,2053,1836,2198,2286,2495,2658,2322,2062,1893,1698,1596,2159,2579,2369,1783,1791,1844,1848,1918,1765,1778,1999,1963,1869,1599,1592,1841,1592,1911,2132,1705,1483,1601,1869,1752,1666,2221,2272,1592,1410,1519,1650,1501,1282,1405,1614,1555,1519,1457,1498,1629,1453,1355,1671,1491,1322,1285,1431,1517,1501,1462,1400,1411,1527,1616,1904,1998,2093,1881,1824,1565,1594,1749,1638,2175,2459,2339,2235,1644,1453,1299,1306,1416,1316,2003,2830,2114,1692,2383,3072,3499,3400,2654,2824,2706,2202,1957,2500,2654,2157,1895,2389,2797,2596,2643,2450,2143,2388,2610,2373,2359,3018,2859,2530,2381,2363,2691,3019,2763,3009,2861,3472,3174,2767,2307,2220,2352,2395,2756,3274,3436,2814,2444,2613,2697,2271,2240,2656,2898,3110,3344,2808,2262,2158,2044,1859,2149,2644,2943,2446,2123,2176,2669,2766,2539,2512,2028,1668,1614,2107,2125,2348,2887,3217,2849,2555,2306,2643,2897,2408,2648,2610,1900,1817,1801,2420,2774,1999,1837,2652,3195,2189,1387,1498,2052,2667,2646,2342,1858,2680,2755,2380,1913,1755,1310,1212,1151,1117,1447,1536,1323,1642,2031,2165,2213,2395,2372,3138,3008,2036,1690,1855,2243,2688,3202,3783,3995,3706,3797,3601,3812,3496,2883,2521,2257,2158,2158,2335,2463,2543,2621,2364,2752,2786,2820,2623,2101,2435,2991,2960,2700,2742,2807,2016,1131,1048,1073,901,804,756,962,1188,1140,843,610,583,740,722,418,374,352,346,371,364,326,334,347,356,362,392,440,527,604,651,688,702,708,880,925,885,857,1000,1011,796,682,857,951,770,914,1015,875,985,954,915,857,799,801,844,878,804,731,782,884,983,1012,1048,1129,1085,970,921,919,868,774,687,633,660,660,667,662,645,607,566,538,528,544,577,592,591,592,582,577,587,589,594,586,645,680,653,656,747,775,717,692,666,737,733,732,655,636,667,674,676,688,689,680,733,774,854,1009,987,869,874,911,944,937,866,878,898,806,804,885,982,1013,1050,1070,1051,1081,1100,1023,964,1156,1474,1617,1608,1561,1616,1584,2194,2789,2505,2062,1701,1397,1196,1144,1327,1403,1073,954,902,816,744,748,680,640,632,604,593,592,600,609,582,560,552,551,564,583,589,607,670,745,774,781,791,784,818,911,972,1159,1378,1617,1768,1919,2099,2132,1952,2876,4444,4019,3406,3421,3750,4205,4344,4320,4015,3623,3930,3990,3703,3644,3630,3537,2941,1813,938,718,622,555,543,513,472,443,431,418,412,409,412,416,421,434,426,400,395,382,370,382,391,402,407,405,400,405,417,423,425,438,455,447,420,426,443,486,537,620,799,829,752,756,643,538,557,575,527,480,553,612,542,452,409,494,466,459,471,425,392,398,400,405,387,394,394,394,394,395,386,380,374,376,373,381,395,408,420,420,421,448,477,497,506,505,497,485,464,452,456,457,448,443,441,430,412,382,374,365,349,334,322,318,316,320,327,337,341,352,357,364,370,378,374,368,356,347,348,346,346,347,346,341,339,339,336,337,342,349,353,349,340,331,335,346,365,373,372,366,362,358,351,339,336,346,348,353,357,366,381,397,397,398,386,371,365,371,378,381,368,347,337,336,341,345,344,350,358,350,330,328,336,341,331,324,324,320,314,311,311,308,304,294,290,280,282,288,296,307,313,305,292,279,271],[3349,3205,3074,3433,3618,3685,3979,4036,3897,3610,3560,3605,3535,3505,3537,3284,3020,3014,3307,2888,3017,3517,3076,2477,2542,2708,2689,2692,2228,2154,2415,2585,2558,2690,2414,1944,1430,2024,2707,3052,2630,2684,2529,1925,1745,2062,2802,2878,2577,2285,2393,2120,2164,2278,2440,2728,2808,2354,2061,2357,2674,2878,2776,2282,2446,2522,2328,2291,2543,2754,2940,2795,2134,1553,1860,2256,2460,2940,2511,2310,2592,2368,1992,2210,2759,3217,3241,3128,2501,2310,2736,3035,2989,3333,3509,2968,2108,1909,2370,3299,3812,3599,3274,3472,3328,2930,2871,3155,3577,3385,3222,3204,3233,3385,3366,3496,3610,3088,2570,3039,3129,2812,2807,2776,3438,3665,3404,3366,2933,2901,3641,4202,4240,4104,3560,3551,3889,3549,2920,2541,2819,2735,2653,3108,2532,2759,2768,3073,3252,3581,3608,3895,3753,2566,2452,2899,2789,2343,2326,3141,3016,2735,2522,2808,2769,2353,2225,2082,1740,2059,2554,2442,2471,2292,2210,2170,2196,1988,1817,1919,1984,2459,2486,2131,2195,2266,1781,2099,2484,1938,2163,2097,1977,2266,2353,2581,2712,2306,2213,2522,2913,2644,2800,2635,2710,2229,2203,2386,2154,2070,1974,1949,2147,2048,1772,1474,2029,2071,2010,2075,2349,2888,2724,2366,2288,2445,3117,3348,2918,2431,1747,1459,1149,1425,1639,1683,1714,2003,2193,1626,1423,1806,1772,2153,1959,2257,2490,3069,2858,2777,2613,2036,1848,2104,2159,2665,2989,2428,2316,2547,2461,2786,2918,3061,3029,3012,2957,2735,2534,2520,2460,2168,2212,2391,2471,2525,2758,2898,2911,2987,3331,3535,3544,3548,3231,3487,3446,3429,3607,3739,3771,3343,3156,3201,2846,2307,2410,2688,2649,2466,1932,2024,2060,2685,2380,1968,1650,1975,2193,2253,2350,2266,1998,2238,2443,2230,1963,2099,2124,2356,2382,2123,1959,1211,1124,1958,2309,2286,2330,2316,2505,2852,3051,2856,2733,3304,3207,3104,3648,3969,4220,4544,4612,4508,4308,3901,3575,3306,3317,3539,3230,3022,3233,2777,2654,2833,2372,2067,1723,1878,2114,2309,2319,2753,2989,2706,2226,2329,2471,2651,2370,1991,1958,2076,2139,1792,2183,2770,2262,2198,2767,2765,2401,2207,2484,2314,2531,2480,2252,2279,2922,2291,1575,2107,2566,2805,3046,3204,3172,3220,3665,3310,2645,2210,2014,2355,2587,2363,2143,2212,2180,2238,2680,2747,2549,2858,2817,2422,2045,1946,1946,2286,2675,2755,2727,2345,2220,2397,2824,2636,2065,1708,1871,1993,2009,1993,2411,2608,2290,2841,3150,2764,2193,2805,3688,4156,4002,2920,2525,2624,2642,3094,3162,3213,3470,2609,2410,2665,2340,2337,2821,2640,2382,2268,2046,1896,1970,2249,2547,2724,2363,2564,2648,2058,1955,2334,2436,2435,2929,2854,2829,2714,2360,2196,2320,2685,2523,2243,2236,2094,2330,3066,3056,2503,2402,2463,2000,1676,2534,2387,1748,1841,1807,2150,2570,2136,1833,1893,2381,2423,2719,2954,3510,3667,3545,3382,3459,3572,3203,2709,2518,2807,2823,2727,2598,2453,3038,3038,2118,1793,2773,3919,4022,3773,3731,3620,3500,2555,2119,2389,2422,1907,1744,1643,1549,1670,1789,1876,1988,1720,2126,2422,2135,1591,1692,1605,1632,1484,1260,1502,2519,2714,1892,1728,1446,1606,2278,1802,1699,1864,1834,1806,1753,1710,1692,1597,1930,2950,3083,2395,2494,2662,2742,2518,2696,2855,2348,2182,2048,1908,1843,1747,1823,1801,1843,1924,1907,1879,2144,1559,1527,1926,1919,2112,2283,2283,2004,1951,2174,1938,2217,2046,1991,2134,1654,1434,1721,2056,2088,2402,2764,2255,1802,1584,2144,2225,2332,2835,2791,2655,2308,2331,3168,3526,3483,3342,3395,3464,3233,2929,2292,2308,2378,2141,1841,1692,1948,2823,3497,3510,3602,3584,2729,2099,2630,3352,3975,4676,4800,4399,3845,3081,2826,3266,3692,3684,3653,3638,3370,3004,3176,3167,3405,3233,2165,2261,3214,2902,2533,2502,3183,3242,2974,3330,3322,3241,3394,3369,3230,3025,2989,3165,2963,3416,3860,3386,2121,1651,1955,2107,2137,2036,2062,2150,2417,3050,3328,3906,4068,3481,2996,2497,2284,2001,1917,2028,1986,2030,1864,1893,1764,1876,2769,3338,3784,3651,3452,3288,3070,3479,3227,2936,3393,3652,3750,3521,3386,3027,3105,2755,1866,1659,1798,1831,2302,2568,2324,2536,1885,1895,2956,3358,3463,3274,2778,2830,3218,3317,2983,2748,2835,2933,2670,3123,3094,3151,2818,2069,1704,1734,1734,2115,1985,1687,2135,1967,1935,2275,2148,1412,1583,2011,2245,2747,3142,2820,2116,1946,1985,2084,1800,1836,1849,1888,2149,1802,1573,1811,2025,1847,2022,2717,2084,1694,2003,2106,1898,1880,2047,1823,1591,1575,1724,1809,1450,1367,1563,2011,1964,2241,2535,2645,2835,2350,1815,1785,1778,1566,1647,2151,2267,2620,3090,2755,2482,2471,2445,2317,1996,1575,1407,1501,1692,1893,2379,2438,1765,1609,2015,2734,2966,2688,2433,2206,1991,1865,2011,1969,2377,2792,2268,1940,2043,2213,2235,2460,2325,1720,1719,1776,1843,1956,2345,2353,2092,1936,1925,1841,1749,1587,2026,3084,3238,2271,1786,2255,2006,1960,1982,1735,2261,2437,2328,2504,2669,2648,2468,2430,2358,1929,2150,2455,2092,2234,2845,2633,2422,2636,2401,1874,1814,1874,1740,2972,3406,3099,2851,2834,2354,1804,1666,1831,2030,2213,2024,1496,1397,1330,1553,1816,1817,1947,2259,2340,2509,3049,3341,2744,2729,4115,4688,4747,3737,3120,2770,2824,3038,3017,2991,2712,2222,2143,2437,2735,2898,2713,2549,2189,2033,1975,1731,1449,1418,1836,2596,2957,2786,2643,2966,3330,3637,3189,2476,2296,2353,2167,2276,2279,1979,2368,2266,2008,1938,2276,2320,2460,2525,2181,2312,2653,2975,3019,3276,3458,2759,2442,2917,2832,2833,2957,2561,2550,2878,2576,2319,2673,3105,3200,2955,2663,2831,2604,2156,2166,2570,2755,2498,2260,2230,2156,2493,2762,2626,2271,2333,3603,3095,2561,2414,2519,3300,3333,3238,3039,2519,2051,1843,1771,2264,2558,2918,2925,3088,3000,2686,2636,2640,2664,2823,3012,2908,2517,2386,2196,1989,1801,1755,1879,2532,2592,2304,1796,1645,2019,2030,1968,2134,2383,2047,1938,1389,2089,3496,3523,2608,1891,1709,1579,1627,1876,2010,2091,1943,1640,1824,1686,1881,2059,1786,1677,1605,1494,1857,2329,2241,1827,1770,2274,2403,1865,1685,1502,1511,1470,1365,1604,1766,1753,1562,1470,1751,1770,1736,1995,2287,1756,1664,1902,1761,1608,1483,1415,1366,1300,1615,1633,1602,1388,1598,1940,2353,2086,1770,1897,1787,2291,3098,3398,2408,1703,1527,1355,1349,1466,1394,1860,2089,1637,2278,3461,4112,4221,4070,3062,2742,2696,2931,2633,2034,1596,1699,1953,2288,2687,2812,2836,2603,2168,2098,2305,2474,2675,2700,2233,2109,2456,2166,1872,1952,1985,2354,2149,2938,3357,2912,2278,2410,2535,2435,2521,2479,2341,1622,1978,2605,2992,2508,2646,3399,3865,3548,3184,2814,2119,2022,2104,2064,2091,2348,2265,1927,2131,2243,2511,2763,2973,2751,2187,2056,1602,1860,1883,2366,2665,3615,3291,2652,2417,2566,3078,2857,2543,2730,2061,2406,2659,2520,2598,2254,1869,2117,2607,2315,2303,2566,2986,3328,2801,2447,1985,2051,2265,2374,2147,1926,1381,1014,1267,1741,2380,2075,1704,2277,2544,2211,2154,2157,2114,3011,3115,2104,1775,1922,2142,2188,2563,3321,3451,3276,3278,3508,3219,2864,2578,2228,2023,1984,2101,2215,2009,2185,2834,2945,3307,3182,2841,2595,2629,2918,3084,3190,3353,3206,2665,1537,1025,962,1026,967,794,725,895,1157,1229,954,660,562,543,454,390,363,361,365,370,349,329,325,342,358,341,394,449,514,581,596,637,673,671,809,886,848,826,924,1030,852,679,807,909,910,921,955,903,999,960,864,860,824,819,822,871,836,794,763,867,1011,1028,958,973,990,892,818,830,806,735,665,611,636,641,644,641,630,601,554,537,550,567,568,575,575,583,579,577,580,578,586,604,640,686,681,663,806,839,746,719,680,737,757,775,724,648,651,662,641,657,712,701,741,769,1007,1226,1031,854,827,831,876,858,850,816,879,826,761,793,846,927,1081,1269,1247,1155,1223,1209,1014,1092,1439,1708,1736,1621,1601,1618,2277,2711,2355,1950,1678,1438,1225,1155,1279,1438,1110,921,870,798,715,742,706,625,614,592,587,593,603,616,591,559,548,547,560,564,591,637,686,733,755,761,764,768,789,869,919,1017,1252,1501,1679,1775,1925,2115,2037,2620,4364,3972,3261,3251,3978,4738,4848,4753,4322,3461,3455,3926,4141,3875,3522,2902,2858,2221,1180,725,648,567,542,519,484,452,432,418,417,415,418,410,423,455,459,419,413,417,369,380,382,393,405,400,396,402,410,415,421,430,448,454,437,443,449,483,510,530,706,830,767,713,667,576,573,609,563,491,534,582,551,486,412,472,458,434,478,447,391,409,411,418,379,405,405,397,399,397,385,376,378,374,377,384,400,409,415,444,424,449,477,490,495,491,493,497,468,445,449,453,443,435,428,422,404,383,373,357,338,326,321,315,310,313,318,328,337,342,354,363,367,367,365,355,349,342,341,339,346,342,342,337,335,331,328,332,336,342,346,341,338,349,362,377,395,389,381,374,362,346,317,312,331,337,341,352,362,366,375,377,384,388,383,364,353,368,376,369,360,345,330,331,325,330,335,344,353,351,336,324,325,328,327,321,315,317,308,306,304,305,298,294,289,278,281,280,292,294,301,295,286,279,273],[3337,3110,3271,3528,3421,3319,3582,3869,3550,3476,3586,3442,3282,3181,3331,3552,3400,3211,2989,2686,2946,3302,2918,2303,2211,2297,2766,2790,2306,2457,2733,2569,2407,2900,2719,2640,2223,2336,2944,2976,2412,2524,2284,1793,1695,1715,2338,2775,2397,2344,2590,2609,2620,2854,2863,2475,2444,2316,2288,2569,2108,2050,2316,2272,2522,2360,2190,2565,2580,2431,2367,2175,2065,2065,2013,2173,2361,2094,2307,2757,2635,2430,2416,2681,2858,3228,3448,3591,2545,2679,2527,2647,2958,3291,3491,2807,2094,2522,3174,3414,3105,2497,2655,3255,3289,3210,3016,2805,2993,3317,3276,3175,3278,3483,3178,2885,3301,3099,2617,3020,2756,2306,2764,3278,3377,3330,3252,2909,2586,3655,4052,4051,4071,4111,3934,3420,3227,3198,2856,2949,3447,3112,3066,3059,3233,3564,3546,3647,3200,2945,2979,3255,2742,2457,2519,2836,2713,2326,2510,3062,2940,2538,2530,2663,2391,1972,1968,1896,1788,2069,2363,2295,2229,2170,2205,2081,1964,1902,2409,2802,2324,1930,2008,1692,1913,2175,1743,2016,2166,1785,2050,2254,2704,3139,2454,2128,2200,2428,2487,2799,3050,3127,3144,3182,2906,2492,2261,2065,1882,1803,1832,1982,1710,1592,1598,1897,2103,1980,1890,1781,2237,2944,2918,2513,2854,3005,3178,3138,3111,2750,1974,1678,1482,1583,1599,1682,1969,2195,1905,1063,1087,1697,1922,2098,2167,2416,2216,2496,2745,2696,2841,2766,2539,2394,2276,2254,2366,2180,1834,2292,2661,2791,2866,2874,3029,3300,3128,2833,2734,2944,3094,2320,2313,2855,2947,2743,2702,3054,3038,2875,3245,3562,3442,3405,3551,3681,3659,3558,3466,3681,3718,3032,2697,3112,3199,3038,2840,3113,3378,2589,2143,2056,2292,2366,2203,1954,2018,2425,2690,2599,2500,2565,2082,2473,2744,2243,1921,1786,1688,2226,2352,2343,2339,2161,2163,1941,1927,2086,2524,2865,2635,2563,2823,2711,2090,2313,2677,2662,3568,4315,4459,4220,3926,3795,3627,3595,3618,3350,3398,3572,3354,3312,2730,2234,2081,2035,2291,2010,1968,2201,2200,2093,2309,2504,2462,2166,1833,2384,2758,2695,2305,2039,1994,1920,1873,1771,2297,2956,2715,2081,2314,2277,2019,1801,2340,2416,2313,2412,2692,2819,2922,2402,2102,2302,2632,2586,2915,3320,3059,2808,2895,2427,2482,2793,2474,2700,2822,2666,2446,2569,2416,2386,2787,2811,2526,2618,2812,2426,2090,2034,1880,2230,2491,2318,2381,2300,2226,2684,2937,2353,1985,2103,2077,2027,1981,1973,2532,2568,1975,2501,3468,3085,2853,3072,3686,4006,3330,2953,2728,2591,2482,2701,3131,2919,2987,2345,2178,2413,2484,2699,3122,3338,2764,2077,2070,1990,2342,2990,3252,2809,1984,2327,2541,2040,1871,2042,2327,2279,2598,2836,2726,2484,2514,2203,1712,1833,2003,2225,2386,1998,2188,2454,2272,1986,2148,2066,1938,1988,2332,1781,1700,1682,1105,1491,1789,1824,1720,1704,2076,2063,2577,2978,2990,2634,2683,3039,3364,3327,3194,2662,2138,2874,3000,2978,2988,2776,2514,2136,1759,1659,2478,3894,4209,4013,4079,3728,3304,3025,2546,2769,2978,2249,1704,1537,1550,1699,1851,1825,1898,1669,2532,2561,2187,2069,2019,1922,1836,1756,1867,1894,2061,2144,1971,2003,1583,1885,2251,1582,1409,1642,1649,1677,1679,1690,1770,1661,1324,1848,2754,2291,2248,2385,2482,2334,2466,2596,2382,2417,2037,2214,2115,1961,1969,1860,1708,1545,1740,2159,1952,1492,1716,1936,2374,2168,2276,2598,2256,2076,1930,1825,1882,1863,1925,1751,1595,1377,1594,1683,1640,1783,2101,1657,1344,1422,1715,1609,1896,2286,2296,2584,2448,1825,1878,2390,3085,3107,3062,3317,3280,2712,2234,2718,2866,2265,1530,1575,2131,3160,3628,3674,3548,3332,2318,2132,2680,3281,3937,4336,4188,3820,3431,2784,2531,3016,3385,3763,3887,3484,2951,3083,3476,3127,2958,3052,2142,2199,3248,2899,2611,2472,3007,3175,2857,2753,3086,3228,3341,3529,3234,2827,2552,3087,3117,3321,3758,3440,2308,2043,2120,1920,2054,1893,1887,2013,2360,2976,3493,3771,3837,3731,3581,3226,2808,2272,2122,2156,1942,1934,1449,1532,1553,2313,3164,3264,3270,2932,3132,3152,3116,3786,3514,3145,3283,3292,3573,3607,3536,3391,3210,2389,1625,1758,2110,2376,2665,2442,2501,2578,1854,2173,3058,3360,3598,3029,2412,2897,2866,2962,3404,3464,3470,2949,2622,3085,3104,2760,2476,2176,2086,1836,1846,1833,1706,2010,2361,1806,2059,2460,2049,1947,2041,1917,2494,2946,2267,2186,2399,1954,1867,1999,1780,1918,1998,2195,2194,1813,1570,1687,1696,1564,1819,2599,2225,1971,2199,2264,1791,1713,2020,2084,1852,1527,1692,1838,1494,1570,1602,1773,1899,1948,2409,2864,2474,1855,1703,1697,1880,1961,2017,1891,1838,2429,2422,2288,2293,2757,2632,1863,1715,1487,1416,1543,1729,1627,1554,1622,1982,2212,2577,3122,3150,2752,2689,2588,2411,2159,2205,2301,2284,2317,2476,2588,2920,2712,2090,2375,2326,1992,2623,2225,2012,2113,2246,2243,2204,2084,1853,1898,1946,1759,1874,1915,1951,2248,2187,2665,2559,2109,1916,1948,2282,2376,2302,2425,2620,2598,2211,2027,1700,1831,1974,2258,1787,2228,3199,2598,1771,2336,2618,2585,2070,2329,2179,3033,3370,3408,3296,2789,2150,1894,1666,1588,1810,2057,2303,2267,1858,1622,1410,1422,1574,1690,2366,3031,2545,2892,3471,3386,2769,3798,4528,4688,4233,3479,3028,2907,2919,2744,2510,2552,3096,3083,2706,2908,2741,2302,2655,2658,2091,1684,1492,1376,1400,1842,2683,2786,2536,2598,2910,3190,3450,3465,3166,2954,3072,3212,2732,1977,2202,2940,2387,2146,2252,2614,2578,2977,2382,1671,1766,1898,1746,1696,2007,2194,1918,2309,2753,2907,3109,3118,2720,2589,2264,1931,2347,3151,3427,3190,2957,2625,2742,2874,2500,2272,2235,2564,2464,2106,1971,2042,2068,2451,2689,2491,2798,3242,2668,2622,2410,2688,3152,3127,3105,2856,2385,2136,2051,2119,2558,2962,3275,3080,2909,3040,3129,3129,3187,3319,3416,3333,3142,2984,2618,2396,2556,2399,2292,2304,2352,2219,2092,2024,1898,1996,1919,1707,1893,2617,2294,2012,1476,2249,3184,2830,2061,1849,1624,1291,1484,2285,2318,1939,1666,1619,1921,2178,2172,2226,2059,1757,1808,1737,1968,2089,1877,1819,1842,1595,1666,2022,2045,1699,1500,1278,1356,1665,1730,1638,1512,1648,1730,1952,2397,2541,2406,1950,1569,1598,1701,1541,1482,1656,1851,1735,1915,2058,1926,1665,1522,1855,2564,2376,1953,2480,2358,2623,3064,3113,2174,1836,1824,1464,1396,1555,1455,1475,1608,2166,3613,4123,3962,4051,3819,3018,2524,2708,3241,2723,2040,2102,2780,2824,2644,2475,2186,2590,2562,2008,2131,2518,2478,2364,2364,2372,2388,2484,2200,1635,1670,2342,2627,2340,2510,2763,2611,2285,2220,2722,2840,2288,2144,2283,1390,1560,2424,2504,2467,2953,3617,3764,2920,2618,2807,2409,1825,1958,2322,2281,2275,2003,2059,2361,2579,2589,2701,2799,2789,2734,2440,1829,1715,1874,2418,2956,3550,2857,2108,2174,2696,3431,3012,2241,2320,2513,2807,3024,2724,2483,2315,2176,2215,2761,2944,2556,2545,3209,3747,3181,3160,2843,2390,2441,2598,2597,2712,2166,1281,1400,1737,1807,1524,1608,2595,3093,2378,1741,1940,2101,2725,3164,2192,1965,2180,2603,2114,2248,2371,2497,2556,2489,2577,2395,2166,2031,2024,1838,1598,1707,1612,1599,2082,3206,3227,3055,3255,3217,2915,2784,3188,3596,3539,3613,3544,3374,2904,2058,1117,885,910,841,838,895,1158,1397,1032,676,517,515,487,448,408,375,357,349,348,349,334,335,371,364,411,467,506,543,543,595,645,648,746,863,833,800,858,1010,910,659,747,863,837,824,869,896,955,908,828,817,787,801,810,839,809,773,747,817,920,917,840,826,881,852,751,769,764,706,655,596,611,629,618,614,606,590,555,531,549,569,568,567,565,577,578,577,580,578,593,629,669,731,785,677,750,791,766,771,725,735,779,826,827,731,679,642,623,669,790,865,911,904,1179,1474,1226,896,779,805,916,862,871,802,833,874,837,761,775,917,1138,1411,1523,1528,1565,1483,1157,1120,1504,1902,1968,1843,1803,1982,2542,2724,2298,1946,1714,1480,1335,1362,1324,1467,1178,905,841,783,713,710,678,611,601,579,584,593,601,607,586,552,542,561,580,607,646,685,713,722,726,726,716,735,773,828,882,943,1136,1379,1536,1709,1870,2093,2021,2335,4032,4111,3597,3778,4343,4859,4972,4752,3842,3443,3938,4152,3869,3616,2316,1556,2425,2608,1528,789,630,575,542,506,486,451,434,414,412,409,408,402,417,464,478,440,421,421,378,381,378,387,403,401,392,396,410,418,416,429,434,440,438,447,465,494,533,553,639,788,784,671,654,585,557,578,576,546,539,543,537,509,444,465,494,465,487,465,400,410,412,430,407,422,421,415,407,395,383,380,378,374,374,390,397,412,410,448,439,433,456,490,501,474,467,506,475,445,440,440,434,418,412,405,394,383,370,350,331,324,316,310,303,306,310,319,330,341,349,353,358,361,351,346,342,337,333,341,341,341,337,331,328,321,317,326,329,334,339,340,349,359,372,372,349,345,357,363,355,342,341,343,340,338,339,344,357,366,367,368,374,382,383,361,346,350,359,358,349,336,325,319,311,315,324,337,346,347,331,318,317,321,322,322,316,306,300,303,302,299,294,294,284,281,275,278,281,288,287,286,281,279,274],[3061,2779,3113,3100,3247,3338,3537,3594,3398,3560,3663,3459,3304,3005,2940,3207,3108,2628,2556,2876,2784,2655,2295,2082,2366,2962,3156,3045,2897,2833,2934,2790,2973,3009,2635,2779,2668,2735,3385,2976,2438,2654,2384,2019,2034,2177,2368,2544,2520,2874,2847,2499,2669,3320,3413,2898,2277,2288,2397,2346,1663,1468,1795,2009,2191,2260,2132,2158,2058,1928,1891,2003,2355,2675,2197,2071,2373,2555,2920,2801,2777,2751,2773,2854,2708,2773,3086,3695,3293,3164,3116,3177,3208,3238,3044,2710,2679,3208,3428,3365,2489,1167,1288,2350,3119,3274,3256,2888,2684,2938,3220,3396,3317,3326,3270,2799,2980,2953,3169,3565,3056,2363,2640,3252,3398,3162,3269,2745,2555,3553,3782,3463,3622,4050,3870,3540,3715,3626,3384,2687,2498,2309,2831,3596,3970,3663,3978,4199,4113,3776,3396,2809,2241,2678,2745,2847,2645,2279,2297,2923,2967,2785,2556,1995,2169,2322,2255,1929,1922,2199,1995,1746,1955,2100,2181,2171,2272,2133,2480,3072,2614,2184,2318,1673,1904,2294,2051,1857,2029,2236,2470,2278,2437,2744,2325,2373,2758,2899,2658,2425,2213,2457,2786,2868,2632,2115,1609,1805,1766,1997,2042,2001,1733,1930,2105,2056,1988,1990,1750,1652,2047,2434,2846,2849,2927,2909,3007,3160,3334,2732,1892,1747,1964,1710,1440,1766,2030,2195,1614,1040,1366,1742,1845,2033,2194,2433,1974,1787,2049,2412,2968,2766,2265,2115,2347,2055,1934,1878,1835,2192,2357,2248,2633,2779,3055,3265,2998,2664,2868,2998,2940,2710,2822,3217,3489,2910,2285,2854,2986,3066,3298,3464,3106,3615,3860,3586,3653,3686,3566,3731,3984,3413,3043,3090,2972,3171,3222,3153,2984,2312,2226,2165,2236,2207,1978,1829,2442,3207,3348,2709,2334,2562,2080,2334,2477,1809,1411,1313,1755,2381,2380,2598,2629,2564,2676,2346,2403,2714,3110,3144,2678,2484,2954,2886,1946,1841,2278,2680,3452,4047,3942,3504,3265,3367,3433,3416,3322,3251,3028,2848,3072,3239,1849,1603,1962,2396,3040,2942,2731,2496,2092,2112,2374,2533,2138,1714,1378,1571,2454,2475,2387,2235,1806,1717,1829,2121,2862,3460,3333,2268,1920,1705,1758,1822,1965,2149,2308,2634,2633,2426,2409,2383,2454,2341,2756,2550,2752,3221,3181,2766,2314,1968,2648,3209,2736,3009,3076,3082,2514,2343,2187,2203,2281,2325,2497,2460,2190,1959,1913,1730,1928,2111,2358,2451,2049,1811,2064,2321,2057,1842,2136,2447,2540,2731,2311,1895,2009,2138,1868,2413,3405,3294,2922,2995,3142,3248,2443,2705,2343,1787,1704,2501,2739,3210,3053,2399,2114,1932,2542,3300,3418,3519,2834,2162,2175,2400,2888,3299,3396,3034,2285,1945,1960,2070,1969,2113,2687,2544,2311,2676,2408,2046,2721,2753,2054,1921,2389,2645,2577,2480,2349,2160,2180,1837,1843,1991,2213,2294,2061,1759,1880,1565,1059,1490,1687,1834,1416,1287,1458,1941,2352,3063,2667,1747,2424,2874,2530,2281,2443,2191,2126,3331,2880,2311,2449,2453,2213,2166,1919,1720,2317,4197,4546,4184,4026,3617,3329,3356,2922,2716,2735,2597,2642,2535,2018,1668,1955,1970,2269,2453,2696,2611,2545,2320,2056,1889,1866,2073,1992,1750,1603,1712,1868,1744,1684,1902,1986,1617,1444,1628,1555,1568,1573,1491,1898,1990,1533,2468,2832,2201,2131,2259,2316,2165,1951,2197,2432,2342,2055,2092,2020,2053,2225,2151,1775,1481,1724,2053,1584,1206,1643,2021,2567,2648,2754,2646,2513,2349,2192,2211,1898,1957,1874,1687,1884,1503,1812,1892,1754,1599,1672,1510,1549,1505,1539,1437,1484,1837,1844,1965,2041,1917,1817,2168,3044,3043,3093,3278,3112,2459,2503,2876,2523,2086,1660,1897,2009,2386,2981,3208,3078,2544,2044,2028,2296,3220,3898,4205,4101,3774,3152,2566,2878,2830,3087,3834,4163,4033,3686,3686,3808,3547,3319,3152,2407,2092,2686,2619,2842,3272,3196,3230,3041,2756,3152,3055,2829,3209,2845,2804,3118,3607,3596,3383,3495,3287,2747,3030,2578,1752,1777,1873,1868,1739,2287,2663,3068,3488,3637,3731,3864,3747,3296,2187,2382,2558,2578,2797,2110,1776,1919,2977,3415,3097,3103,3130,3308,3444,3576,3806,3422,3406,3483,3550,3659,3586,3499,3410,3089,2966,2236,2070,2197,2759,3029,2790,2959,2257,1648,2336,2776,2621,2731,2943,3198,3237,3032,3210,3440,3220,3119,2702,2616,3019,2850,2517,2477,2374,2419,1896,2237,2072,1726,2035,2308,2207,2344,2129,1715,2023,2353,2180,2372,2736,2049,2811,3006,2020,1805,2071,2502,2250,1879,1851,1700,1704,1731,1620,1560,1897,1939,1873,1617,1593,2047,2027,1686,1788,2114,2395,1945,1771,1709,1640,1376,1353,1434,2008,2129,2066,2557,2429,1644,1327,1571,1597,1934,2588,2275,1936,1937,1932,1919,1779,1715,2307,2577,2147,2068,1709,1666,1687,1529,1665,1922,2120,2473,3013,3289,3464,3530,3248,2896,2945,3142,3039,2732,2818,2899,2979,3198,3108,3051,2699,2157,1980,2138,2286,2952,2757,2451,2418,2254,2204,2185,1895,1763,1871,2054,2061,1806,1924,1951,2128,2451,2754,2370,2141,2169,1981,1833,1950,2111,2351,2552,2415,2141,2241,2424,2384,2042,1741,1469,1918,2770,2343,1873,2281,1925,1711,1708,1811,1627,2172,2707,2901,3028,2502,1858,1836,1533,1550,2084,2258,2469,2601,2356,1959,1711,1540,1783,1851,2509,3362,2685,2776,3262,3795,2783,2886,4023,4640,4164,3663,3646,3430,3416,3061,2078,1835,2264,3271,3106,3120,2393,1981,2614,2876,2414,1663,1507,1619,1684,2165,2619,2551,2347,2488,2889,3109,3311,3487,3394,3238,3506,3762,3065,2654,3200,3333,2911,2789,3057,2906,2811,2990,2329,1981,2203,1904,1453,1881,2039,1732,1850,2706,2999,3090,3072,2577,2041,2141,2728,2676,2729,3089,3471,2858,2378,2783,3342,3305,3031,2389,2042,2074,1947,1851,1800,2031,2314,2757,2732,2736,2846,2591,2419,2562,2588,3021,3179,3092,3178,3038,2475,2700,2557,2517,2625,3130,3384,3386,3293,2946,3057,3241,3151,3234,3334,3465,3426,3175,2451,2385,2853,3052,3023,2983,2918,2833,2759,2669,2433,2422,2325,2235,2314,2423,2270,1980,1836,2152,2477,2345,2214,1928,1635,1381,1616,2273,2169,1883,1779,1816,2226,2361,2215,2241,1813,1822,2053,1852,2115,2440,3191,2943,2116,1646,1819,2299,2330,2605,2089,1420,1377,1853,1826,1531,1671,1797,1788,2131,2591,2822,2675,2065,1179,1093,1371,1569,1716,1791,1873,1775,1910,2449,2502,1813,1668,1921,2671,2360,1799,2058,2134,2500,2809,2757,1943,1847,2156,1696,1505,1571,1518,1543,1715,2330,3284,3585,3269,3789,3676,3122,2523,2610,2781,2220,2601,2583,2291,2596,2676,2620,2282,2234,2153,1893,2062,2385,2665,2496,2812,2866,2449,2676,2508,1724,1790,2470,2792,2636,2573,2789,2524,2604,2900,3034,3099,2807,2879,3334,2854,1711,1461,1967,2440,2655,2873,2745,2453,2445,2698,2690,2048,2401,2597,2448,2299,1989,2019,2425,2784,2350,2319,3109,3011,2964,2397,1942,1793,1706,2166,3072,2845,1766,1959,2656,3321,3458,3021,1962,1930,2502,2604,2920,3017,2473,2596,2601,2102,2878,2706,2234,2249,2452,2398,2386,2939,3176,3010,3020,3340,3297,3155,2632,1954,2194,2105,1475,1190,1395,2244,3052,2352,1593,2057,2155,2614,3154,2158,1928,2445,2495,2426,3195,2433,1738,1809,1908,1803,1708,1675,1847,1815,1751,1408,1591,1579,1477,1782,2981,3266,2846,3083,3243,3230,3138,3205,3542,3506,3353,3703,3929,4263,3174,1353,777,849,865,926,1008,1167,1480,1262,806,570,547,507,442,385,348,345,350,354,351,350,350,374,402,438,483,511,529,535,579,626,647,704,829,812,778,799,990,973,719,722,843,811,775,804,816,863,860,813,750,710,757,788,819,790,774,773,766,787,820,782,718,769,824,732,726,730,688,652,596,598,609,597,593,590,579,555,539,551,572,578,564,577,585,569,585,587,579,594,619,674,758,833,725,727,754,759,790,753,727,786,869,925,755,713,670,639,677,900,1030,1024,1056,1246,1368,1246,1063,809,865,1089,1047,1135,1096,988,971,1170,1109,900,1027,1301,1456,1477,1514,1645,1660,1353,1179,1576,1975,2089,2042,2041,2232,2495,2585,2270,1891,1664,1426,1328,1389,1411,1494,1254,913,798,748,706,699,670,660,619,570,571,568,580,594,586,548,537,562,585,604,623,647,683,697,712,703,680,697,732,786,858,904,1033,1275,1417,1577,1683,1951,1847,2149,3665,4009,3741,3885,4081,4460,4104,4389,4010,4212,4813,4764,4408,3867,2157,974,1882,2745,1844,913,602,569,537,501,481,451,430,405,399,396,395,391,403,439,452,447,437,413,386,379,378,381,392,395,387,390,401,409,415,414,426,431,437,448,470,494,557,619,627,687,768,656,631,563,530,539,556,559,539,523,520,508,468,466,503,479,477,462,408,401,407,432,439,433,428,418,402,387,378,372,374,379,380,395,407,420,426,446,454,442,425,476,505,484,483,530,498,458,439,437,427,409,397,386,375,364,355,341,325,321,303,304,297,298,307,314,324,330,341,345,346,351,348,340,330,325,332,333,338,339,334,325,319,310,311,309,316,318,330,338,348,354,361,353,344,351,354,346,337,336,335,334,332,338,346,346,354,364,369,375,382,389,381,366,347,347,348,344,338,330,320,314,306,300,312,324,337,339,329,316,311,311,312,318,319,304,295,294,301,297,294,288,280,277,272,278,278,277,281,280,282,286,276],[2551,2687,2958,2902,3031,3269,3457,3701,3846,3452,3028,2632,2654,2619,2758,3212,3473,2982,2946,3331,3454,3087,2545,2697,3178,3486,3027,3177,3332,3094,3128,3388,3118,2689,2719,2702,2210,2551,3118,2608,2564,2425,2341,2081,2016,2413,2954,3029,2852,2811,2585,2631,3286,4000,4019,3896,2863,2641,2630,2106,2166,2002,1592,1916,2420,2687,2195,2010,1968,2014,1925,1925,2093,2522,2380,2453,2709,2674,2864,2945,3286,3205,2897,2756,2851,2834,3297,3964,4112,3828,3776,3794,3300,3006,2968,3233,3319,3454,3469,3482,2403,1131,603,1300,2409,3032,2929,2823,2780,2712,3238,3872,3569,3231,3292,3210,3142,3341,3562,3285,2981,2637,2743,3279,3701,3636,3338,3204,3394,3746,2938,1826,2574,3643,3396,3586,3427,3624,3288,2555,2435,2554,2529,2818,3506,4157,4316,4427,4536,4145,2740,2373,2388,2388,2666,2843,2272,2252,2730,2910,2900,2841,2590,2235,2542,2614,2306,1736,1720,2052,1827,1519,1688,2170,2330,2248,2318,2041,2410,2814,2744,2321,2127,1810,1896,1898,1744,1947,2186,2299,2060,2039,2010,2228,2228,2250,2215,2158,2008,1596,2049,2636,2677,2932,2773,2231,1788,1684,1610,1503,1504,1762,2020,2108,1976,1903,1884,1759,1475,1475,2129,2212,2519,2930,3027,2989,3174,3282,2663,1848,1639,2035,2081,1863,2158,2254,2258,2140,2282,1830,1746,1996,2118,1870,2055,2104,1724,1771,1918,2055,2426,2096,1689,1671,2115,2231,2020,1851,1925,2100,1992,1878,2450,2558,2950,3055,2908,2965,3394,3372,3239,2957,2732,3089,3251,2749,2597,3325,3238,3121,2930,2597,2769,3642,3935,3794,3672,3768,3830,3760,4071,3846,3507,3339,2940,3451,3692,3294,2500,2125,2264,2102,1574,1475,1707,1911,2460,3195,3084,2602,2333,2426,2185,2193,2269,2001,1842,1943,2115,2351,2732,2937,3254,3134,2589,2544,2626,2676,2780,2677,2708,3120,3522,3297,2408,2150,2177,2322,2563,3156,3452,3292,3306,3454,3197,2941,2824,2986,2874,2639,3174,3609,2552,2099,2570,2994,3333,3474,3304,2718,2308,2171,2030,2112,2142,2908,2836,1685,1919,2259,2088,1909,1967,2476,2618,3131,3554,3687,3374,2500,1810,1735,1959,1958,1873,1915,2232,2322,1866,1730,2089,2012,2287,2053,1875,1796,2137,2828,2906,2332,1949,1828,2256,2688,2757,3040,2945,2999,2588,2206,1900,1819,1900,2091,2500,2808,2556,2348,2334,1990,1906,2245,2471,2328,2160,2071,2073,2224,2227,2001,2492,3052,3100,3517,3141,2423,2266,2240,2152,2547,3394,3469,2971,2691,2031,1865,2266,2553,1877,1800,2244,2750,3091,3569,3020,2396,2085,1894,2543,3217,3286,3223,2701,2219,2342,2834,3342,3267,3000,2874,2566,2287,2176,2277,2216,2274,2664,2500,2147,2142,1883,1963,2502,2333,2058,2236,2547,2580,2352,2032,1812,2107,1918,2171,2212,1991,2049,1885,1946,2167,2269,2050,1731,1768,1317,1322,1172,1085,1710,2275,2405,2889,2358,1965,2812,2917,2190,2223,2385,1691,1963,2790,2310,1632,1674,1910,1768,1986,1848,1936,2756,4296,4764,4248,3970,3876,3444,2977,2847,2817,2620,2894,3808,3339,2259,1719,1750,1960,1909,1745,1904,2308,2500,2211,1774,1647,2266,2523,2216,1950,1856,1837,1656,2097,2354,1836,1804,1748,1616,1573,1579,1578,1518,1399,1728,2017,1980,2587,2558,2022,2078,2266,2312,2371,2345,2425,2741,2428,1979,1609,1708,2332,2648,2219,1971,1887,1736,1867,1689,1731,2041,2144,2474,2776,2800,2643,2676,2418,2461,2730,2056,2040,1881,1860,1954,1672,1684,1766,1866,1780,1556,1639,1722,1723,1629,1346,1313,1452,1913,2336,2766,2863,2545,2909,3296,3146,3142,3064,2618,2303,2733,2562,2092,1895,2273,2878,2460,1936,1927,2011,2026,1927,2114,2200,2084,3046,3576,3725,3736,3796,3105,2318,2874,3146,3193,3860,4243,4085,3620,3693,3794,3762,3529,3325,2758,2062,2233,2447,3257,3940,3220,3227,3427,3234,3264,3129,3337,3565,3040,3063,3642,3620,3442,3459,3432,3190,2934,3287,2788,1902,1880,2018,1833,1628,1862,2032,2425,3196,3648,3914,4041,3808,3296,2261,2138,2309,2684,3044,2921,2573,2809,3704,3458,3387,3279,2851,3286,3635,3661,3840,3399,3184,3537,3684,3677,3469,3375,3536,3193,3108,2875,2479,2357,2600,3050,3183,2828,1952,1936,2633,2807,2553,2407,2734,3099,3015,3194,3090,2066,1521,1870,2093,2536,3194,2916,2381,2710,2365,2446,1998,1958,1900,1722,1858,2182,2452,2721,2446,1994,2035,2408,2789,2907,2407,1819,2149,2094,1820,1933,2282,2513,2301,1854,1685,1485,1802,1988,1766,1676,1958,1850,1562,1429,1491,1637,1660,1638,1792,2199,2388,1924,2022,1784,1836,1925,1912,1898,1865,1878,1877,2073,1954,1594,1485,1699,1776,1865,2396,2102,1944,2149,2078,2247,2022,1735,2137,2304,2225,2071,1809,1883,1819,1836,2020,2044,2064,2654,3201,3392,3702,3784,3584,3362,3333,3166,3022,2633,2529,2707,2731,2836,3153,2558,2078,2068,1953,2325,2147,2196,2561,3043,2684,1991,2135,2172,1697,1942,1985,1770,1998,1844,1551,1891,2404,2618,2460,2267,2018,2092,2389,2299,1919,2110,2314,2714,2691,2474,2588,2942,2943,2293,1661,1445,1860,2434,1934,2256,2372,1870,1876,1748,1724,1768,2239,2612,2352,2431,2190,1938,1936,1779,1822,2194,2524,2458,2459,2296,1794,1407,1478,1664,1486,2666,3786,2987,2440,3357,3873,2865,2999,3927,3895,3598,3452,4344,4107,3273,2950,2314,2285,2743,3207,3160,3150,2614,2282,2546,2709,2294,1771,1954,2513,2791,3164,3263,2851,2763,3212,3350,2918,2856,3269,3211,3096,2744,2898,2984,3015,3493,3437,3163,3218,3416,3270,2942,2635,2487,2566,2525,2238,2054,2185,2123,2022,2508,2820,2669,2842,2600,2012,1921,2291,2686,2751,2720,2850,3194,2729,2633,3227,3635,3738,3443,2844,2711,2610,2618,2517,2349,2656,2958,2850,2684,2562,2214,2062,2198,2189,2500,3222,3149,3186,3253,2918,2492,2776,2840,3160,3287,3372,3451,3356,3310,2821,2880,3129,2938,2941,3146,3167,2944,2917,2830,2619,2621,2897,3139,3200,3133,3063,3095,3074,2923,2956,2890,2955,3156,3085,2746,2534,2427,2238,2326,2219,2279,2013,1626,1620,1784,2015,2202,2099,1892,1788,2137,2641,2790,2355,1976,1836,1682,1826,2267,2019,2470,2818,1997,1812,2056,2069,2421,3309,2425,1576,1398,1856,1783,1457,1656,1892,2030,2278,2286,2626,2754,1986,1158,1085,1546,2009,1860,1619,1650,1549,1577,2302,2610,1863,1757,2122,2600,2183,2196,2304,2366,2451,2396,2165,1981,1943,1914,1677,1546,1483,1512,1616,1539,1573,1801,2410,3101,3600,3991,3486,2608,2608,2078,1825,2322,3074,2504,2225,2473,2746,2418,2032,1694,1592,1826,2189,2663,2414,2552,2525,2244,2812,3226,2623,1844,2281,2448,2353,2389,2235,2320,3106,2989,2631,2839,3104,3454,3874,3312,1875,1820,2489,2309,2042,2396,2473,2363,2344,2238,2416,2570,2987,2734,2479,2498,1991,2416,2756,2518,1919,2187,2722,2602,2486,1925,1787,2025,1882,2179,3030,2578,2407,2856,3119,3146,3112,3032,2237,2585,3042,2526,2707,3059,2829,2800,2741,2330,2285,2153,2458,2121,1870,2032,2205,2327,2662,3146,3056,3154,2957,2646,2624,2441,2201,1656,1143,957,1071,1638,2049,1694,1785,2384,2351,2564,2576,2115,1931,2634,2376,2064,2326,2084,1677,1649,1661,1594,1649,1631,1843,1732,1656,1422,1570,1726,1670,1654,2073,2466,2553,2752,2903,2862,2810,2863,3062,3264,3384,3662,3835,4095,3237,1237,706,764,884,948,1035,1177,1592,1616,1135,677,521,501,423,389,357,352,352,353,354,353,361,372,404,448,495,522,524,539,570,593,620,643,810,820,794,765,935,1015,809,709,850,875,785,784,720,750,771,782,723,661,692,741,791,802,757,767,741,711,731,725,682,707,782,723,698,703,678,646,623,583,562,565,584,578,564,542,532,536,544,576,576,569,595,565,589,592,594,604,598,647,768,857,790,734,725,737,770,754,713,729,802,899,814,785,747,736,766,868,920,959,1039,1152,1278,1303,1257,1090,1098,1346,1410,1467,1449,1316,1265,1454,1582,1600,1691,1798,1691,1504,1443,1536,1647,1584,1423,1600,1900,2035,2099,2093,2142,2254,2419,2177,1848,1650,1376,1224,1294,1378,1410,1261,941,781,731,688,695,661,641,601,568,557,556,571,597,606,575,558,569,588,589,598,622,639,657,681,683,667,674,698,753,844,901,991,1235,1393,1462,1567,1905,1806,2061,3174,3483,3239,2691,2681,3037,3706,4833,4332,3974,4232,3352,3220,4008,3163,1483,1440,2681,2124,976,620,564,512,496,475,444,421,396,388,383,390,390,402,418,419,428,433,414,388,380,376,375,382,385,382,384,391,398,411,418,419,422,433,450,478,507,550,630,636,641,794,690,609,562,531,519,520,521,520,520,510,497,467,449,469,458,453,436,411,394,397,422,425,417,404,393,384,374,376,382,392,404,414,419,424,430,438,439,444,446,426,453,481,498,522,549,523,465,434,429,415,400,385,372,361,348,339,333,323,309,298,297,295,297,301,308,318,327,334,338,334,336,335,333,327,325,328,329,333,331,332,325,321,313,304,307,312,319,324,332,346,354,347,346,366,374,357,340,333,334,335,339,334,336,341,341,350,362,366,381,378,378,373,363,350,346,339,332,328,325,316,310,303,296,301,308,319,334,323,312,305,302,303,313,317,298,288,286,291,289,289,282,282,277,272,273,273,272,268,270,281,285,275],[3076,3059,3072,3143,3074,3307,3704,3562,2973,2653,2855,3132,3174,3226,2966,3262,3174,2578,2846,3072,2937,2776,3289,3567,3459,3494,3386,3233,3328,3124,2870,2938,2692,2288,2493,2777,2702,2680,2539,2526,2134,1919,1970,2357,2655,2929,3371,3360,3516,3033,2687,2905,3654,4059,4100,3940,3287,2873,2452,2399,2836,2620,2139,2455,3227,3220,2387,2379,2630,2414,2148,1921,2017,2563,2776,3056,3140,2645,3110,3547,3575,3658,3379,3054,3062,3157,3606,4236,4197,3476,3206,3562,2858,2840,3017,3233,3398,3760,3864,3748,3285,2176,816,651,1315,2512,2563,2843,3240,3445,3252,3693,3748,3184,3108,3316,2980,2831,3024,2265,2306,2053,2499,3306,3550,3851,3485,3286,3705,3834,3143,2200,2798,3420,3111,3370,3422,3673,2965,2525,2803,2923,2640,2596,2403,2763,3396,3779,3571,3172,2090,2452,2587,2310,2868,3076,2675,2874,3217,3001,2874,2820,2990,2715,2429,2006,1834,1717,1671,1670,1641,1703,1870,2118,2335,2631,3420,3363,3098,3039,2565,1958,1779,1914,1956,1703,1606,1846,2050,1936,2086,2317,2221,1998,1967,2109,2286,2306,1884,1297,1525,2347,2784,3045,3187,3228,2540,1819,1526,1534,1521,1761,2058,1920,1787,1819,2059,1523,1648,2020,2321,1869,1967,2443,2757,2987,3088,2544,1661,1336,1736,1973,2061,2408,2755,2458,2376,2447,2395,2147,2128,2375,2294,1883,2000,1806,1255,1663,1987,1718,1817,1927,1622,1829,2293,2280,2008,1731,1750,1902,2326,2735,2471,2087,2464,2757,3089,3288,2899,2630,3053,2494,2525,3286,3200,2884,2896,3362,3083,2968,2562,2266,2536,2992,3499,3597,3542,3685,3713,3878,4212,4192,3952,3562,3145,3303,3664,3729,3171,2669,2418,2397,2204,1707,1949,2635,2827,3186,2896,2733,2657,2440,2047,1719,1865,1985,2223,2498,2481,2647,2930,3053,3255,3283,2998,3034,2938,2488,2486,2555,2823,3427,3754,3648,3201,3311,2822,2792,2884,2797,3047,3193,3388,3426,2986,2667,2590,2801,3160,3007,2829,2853,2448,2354,2943,3228,3035,3382,3682,3389,2770,2315,1731,1462,2140,3205,2663,1726,1943,2261,2395,2900,3195,3439,3197,3195,3473,3582,3439,2924,2216,1909,1969,2144,2125,1842,1834,1647,1414,1470,2260,2357,2294,2094,2055,1941,1995,2276,2331,2161,1937,1892,2054,2633,3050,2850,2909,2910,2333,2183,2163,1883,2253,2266,2425,2802,2655,2210,2152,1904,1642,1670,1604,1641,2011,2141,2056,2600,3160,2448,2625,2886,2741,3154,2870,2034,1846,2107,2266,2591,3264,3752,3505,2698,1977,1767,2092,1818,1580,1897,2302,2706,2865,3308,2766,2263,2051,1713,2182,2998,3256,3010,2703,2757,2760,2877,3031,2844,2470,2840,2976,2840,2392,1992,1946,1705,1840,2174,1911,1914,2061,2174,2114,1772,1879,2338,2681,2742,2521,1969,1941,1845,1875,2526,2433,2239,1934,1531,1651,2161,2923,3087,2872,2366,1817,1666,1383,1307,1916,2725,2829,2646,2192,2609,3022,2597,2075,2435,2127,1728,2494,2731,1873,1631,1671,1736,1603,1764,1714,1929,2392,3644,4451,4184,3743,3562,3585,3658,3341,3279,2627,2521,3544,3044,2336,1834,1909,1983,1570,1848,2188,2155,1865,1637,1447,1699,2272,2270,2065,1901,1988,1986,1902,2120,2202,1963,1950,1960,1749,1450,1527,1465,1466,1580,1721,1661,1718,1871,1836,1779,2047,2348,2349,2408,2229,2043,2787,2776,2294,1871,1889,2510,2618,1979,2070,2120,1975,1823,1810,2092,1846,2065,2475,2523,2712,2701,2756,2587,2161,1881,2078,2234,2015,1977,2164,1797,1499,1729,1928,1704,1664,2215,2340,2305,1582,1339,1348,1760,2217,2843,3287,3516,3653,3485,3234,3225,3168,2609,2335,2587,2581,2165,1854,2169,2851,2930,2442,2236,2281,2304,2230,2217,2124,2174,1998,2784,2931,2939,3305,3818,3478,2628,2585,2898,3233,3838,4063,3881,3572,3578,3728,3639,3474,3729,3098,2098,2223,2623,3205,3677,2917,3113,3608,3187,2930,3085,3420,3750,3555,3388,3403,3253,3369,3596,3295,3010,2887,2767,2317,2180,2322,2093,1851,1725,1596,1610,2204,2935,3505,3740,3940,3674,3274,2185,1715,2197,2903,3243,3171,3099,3682,3842,3117,3450,3519,3029,3479,3952,3793,3996,3936,3641,3771,3679,3767,3634,3504,3514,3150,2945,2918,2803,2731,2866,3355,3463,2732,1846,2149,2988,3433,3454,3349,3529,3119,2767,2977,2743,1736,1107,1395,2000,2378,3042,2706,2077,2504,2688,2771,2088,1553,1729,1803,2143,2869,2640,2600,2567,2014,1819,1991,2755,2989,2377,1831,2156,2308,1883,1834,1874,2501,2733,1813,1623,1738,2157,2243,1795,1605,1685,1687,1535,1451,1652,1782,1739,1750,2259,2245,1995,1813,1887,1744,1986,2244,2133,2182,2194,2207,2098,2194,2358,1801,1619,1749,1703,1735,2336,2221,1764,1706,1715,2011,2428,2487,2347,2181,2388,2366,2268,2094,2432,2804,2566,2268,2586,3073,3260,3494,3515,3524,3481,3470,3436,3361,2966,2447,2230,2343,2293,2765,3493,2933,2511,2197,2212,2296,2385,2357,2595,3489,3227,2154,2264,2888,2421,1670,1616,1644,1641,1857,1719,1627,2197,2548,1959,1969,1878,1938,2330,2007,1956,2319,2263,2420,2304,2392,2721,2607,2557,2287,1909,1832,1765,2058,1913,2437,2531,2107,1743,1715,1695,1558,2089,2452,2032,2105,2132,1933,1935,2077,2149,2237,2376,2288,2127,1953,1755,1083,1371,1371,1348,2680,4073,3349,2592,3324,3375,2679,3140,3928,3386,3388,3186,4376,4221,2706,2288,2400,2486,3362,3671,3117,3009,2831,2846,3219,3003,2795,2300,2514,3011,3274,3583,3798,3614,3157,2697,2459,2678,2593,2929,3008,3087,2801,2861,3439,3588,3333,3097,3021,3119,3449,3262,2642,2406,2307,2401,2985,2827,2462,2604,2779,2881,2979,2787,2599,2455,2210,2135,2293,2392,2642,3139,2952,2964,3134,3134,3257,3500,3440,3396,3249,2499,2298,2415,2526,2605,2640,2995,3239,2813,2544,2903,3162,2942,2390,2116,2537,3151,3151,2998,3083,2653,2459,2923,3295,3672,3535,3144,2943,2743,2731,2573,2723,2881,2749,2864,2978,2797,2709,2876,3074,3098,3008,2909,2984,3079,2910,2766,2711,2687,2529,2570,2912,3341,3438,3111,2869,2782,2769,2784,3101,2780,2625,2199,2170,2728,2303,1932,2328,2096,2042,2032,1861,1740,2141,2149,1923,1910,2071,2271,2025,1539,1777,2229,1726,1633,1698,1894,2570,2852,2238,1649,1482,1572,1543,1517,1703,1951,2188,2404,2255,2578,2667,2065,1420,1375,1679,2018,1915,1624,1714,1692,1663,1882,1750,1490,1770,1965,1907,1808,2201,2736,3019,3055,2522,1874,2171,2328,2236,1711,1690,1410,1317,1276,1339,1385,1333,1613,1643,2273,3851,3870,2923,2357,1761,1907,1685,2369,2625,2179,2236,2479,2113,1896,1482,1503,1657,2301,2829,2491,2093,2184,2537,2520,2757,2490,1959,2266,1983,2396,3528,2643,2842,3321,2566,2283,2263,2530,2758,2883,2769,2001,2447,2421,2157,1887,2202,2526,2412,2429,2504,2535,2744,2756,2613,2876,3133,2468,2448,2298,2336,1755,1843,2521,2768,2476,2150,1940,1955,2110,2413,3183,3204,3326,3064,2833,2973,3234,3094,2687,2731,2754,2382,2608,2877,2965,2718,2766,2534,2103,2509,2798,2414,2272,2192,2242,2261,2209,2765,2635,2802,2711,2600,3224,2720,1306,827,848,1046,1365,1417,1682,2089,2255,2272,2431,2459,2226,2243,2634,2812,2192,1992,2159,1948,1685,1686,1552,1604,1758,1636,1547,1510,1432,1420,1464,1497,1587,1672,1790,2566,2924,2741,2583,1890,1463,1313,1614,2154,2906,3375,3550,4077,3438,1116,600,633,728,965,1300,1554,1758,1758,1344,775,551,527,447,411,369,356,361,361,357,348,351,372,403,445,492,522,530,546,561,572,606,644,738,828,823,753,811,956,920,732,834,936,825,754,690,685,686,728,717,638,629,691,743,765,728,751,704,663,657,666,646,649,695,687,670,674,664,650,629,629,577,579,577,556,551,527,533,560,546,552,578,581,592,569,591,610,616,618,600,627,731,842,832,733,714,725,741,749,705,727,786,834,855,832,810,811,843,866,899,940,999,1012,1146,1272,1290,1245,1180,1401,1494,1464,1512,1390,1182,1271,1448,1529,1652,1842,1832,1632,1532,1527,1607,1687,1627,1662,1821,1922,2012,1996,2065,2153,2316,2138,1816,1597,1388,1203,1198,1260,1308,1255,1018,810,777,742,692,647,628,606,579,563,568,584,617,633,603,579,576,586,589,593,601,628,659,662,654,645,654,702,779,849,929,999,1196,1376,1401,1492,1786,1678,1731,2930,3528,3465,2894,3052,3092,4063,4717,3927,3446,3708,3901,3732,3867,3533,2611,1768,2778,2474,1137,592,548,490,479,487,448,418,392,377,378,384,385,400,397,408,412,406,398,396,387,374,369,368,379,377,383,390,397,402,411,421,430,437,449,479,538,544,631,667,600,756,686,587,585,551,515,502,494,508,516,520,482,454,428,426,440,445,433,421,400,387,401,404,392,374,374,381,392,408,419,421,429,434,438,427,416,420,427,430,433,440,448,461,484,512,528,506,451,414,413,412,388,377,362,353,339,328,320,311,301,293,292,287,288,294,306,309,322,327,324,324,324,322,318,319,327,321,322,328,328,339,336,322,309,302,302,308,318,324,335,350,359,354,351,339,334,331,339,336,334,335,331,330,335,335,341,346,358,361,366,363,357,354,348,347,343,335,325,318,318,312,305,298,290,299,303,311,321,317,309,306,300,296,309,311,303,286,287,287,285,282,282,282,278,274,274,273,269,260,261,271,286,273],[3938,3569,3353,3404,3284,3274,3132,3172,2818,3097,3334,3221,2996,2822,2692,2923,2864,2739,3219,2962,2807,2820,3961,4264,3557,3529,3474,3044,3094,3295,2976,2868,2714,2314,2101,2461,2830,2788,2397,2443,2345,2157,2090,2096,2157,2609,3282,3459,3904,3550,3155,3098,3241,3560,3698,3447,3328,3079,2774,2699,2438,1811,2045,2594,3029,2680,2108,2252,2605,2642,2742,2549,2172,2494,2941,3389,3362,3074,3518,4071,4154,3795,3472,3063,2750,3089,3893,4132,3946,3475,3218,2801,2674,2890,3067,3187,3570,4113,4128,3696,3584,3196,1722,703,1012,2270,2735,2805,2656,2987,3293,3317,3560,3643,3283,3134,3006,2897,2869,2473,2061,1653,2513,2988,2931,3141,3604,3912,3990,3774,3706,2933,2942,3193,3187,3369,3906,4100,3376,2811,2896,2844,2778,3397,3898,3214,2467,2560,3090,2981,2480,3011,2724,2303,2676,2382,2755,2988,3182,3018,2953,2582,2438,2376,2135,1896,1908,1802,1709,1803,1754,1715,1733,1931,2669,3115,3732,3102,3204,3049,2475,2290,2017,1957,2143,1867,1743,1523,1933,1855,2461,2482,2066,2006,2142,1935,1984,2202,2370,1722,1338,2188,2520,2215,2177,2564,2532,1882,1566,1634,1769,1977,1956,1686,1544,1453,2110,1655,1627,2033,2771,2558,2217,2308,2360,2491,2448,1969,1638,1685,1899,1819,2017,2204,2201,2208,2315,2142,1776,1727,1952,2199,2305,2419,2208,1844,1567,1694,1723,1808,2056,2070,1948,2348,2808,3052,3104,2508,1914,1867,2042,2236,2056,2332,2752,2666,2750,2957,2843,2727,2920,2507,3086,3417,3034,2845,2517,2663,2834,2602,2439,2697,2451,2552,2984,3282,3328,3470,3728,4155,4230,4036,3935,3573,3215,3263,3548,3638,3574,3425,2930,2131,2454,1976,2240,2655,2453,2496,2690,2518,1908,1333,1247,1189,1239,1676,2275,2750,2895,2991,2771,2477,2702,3243,3186,2997,3165,2668,2490,2495,2902,3296,3570,3709,3528,3652,3415,3273,3298,3072,2858,3028,3260,3237,2683,2392,2281,2469,3094,3109,2570,2529,2500,1934,2530,3198,3287,3475,3708,3912,3437,2681,2255,1881,2039,2711,2305,1461,1722,2467,2929,3617,3925,3595,3410,3361,3487,3465,3438,3179,2518,1967,2108,2243,1990,1886,1770,1476,1567,2097,2419,2349,2386,2306,2054,2016,2280,2575,2426,2444,2199,2205,2038,2184,2369,2392,2825,2862,2164,2209,2256,1721,2369,2821,2661,2487,2622,2763,2479,1992,1724,1618,1699,1963,2312,2470,2188,2691,3851,3814,3010,2574,2683,2691,2227,2200,2313,2429,2486,2692,2459,3248,3646,2542,1873,1914,1734,1577,2292,2600,2647,2951,2630,3099,2890,2036,1884,2046,2590,3211,3359,2958,2521,2533,2703,3053,2717,2497,2375,2629,2799,2551,2001,1850,1973,1665,1587,1869,1971,2645,2511,2198,1932,1719,2000,2267,2397,2416,2448,2235,2143,2556,2502,2412,2323,2195,1952,1875,1830,2366,3226,3497,3240,2186,1531,1605,1607,1629,1558,2300,2734,2823,2780,2327,2308,2027,2027,2463,2176,2017,2862,2796,1992,1965,2200,1746,1716,1687,1562,1659,1986,3139,4259,4276,3706,3400,3370,3452,2940,3010,2481,2237,3038,2868,2162,1787,1982,1908,1491,1560,1884,2164,1878,1668,1852,2286,2267,2019,1706,1788,1954,1638,1722,1984,1944,2364,2282,2147,1785,1587,1704,1685,1509,1856,2315,1768,1549,1662,1765,1739,1949,2171,2322,2367,1947,1871,2454,2964,2764,2511,2811,2626,1997,1904,2326,2366,2270,1782,1860,2083,2113,2496,2414,2039,2040,2140,2411,2513,2193,2017,2491,2148,1762,1795,1902,1759,1654,1805,1580,1556,1690,1876,1839,2209,1792,1568,1467,1775,2454,3242,3304,3339,3664,3501,3318,3168,2596,2265,2619,2647,2177,1870,2096,2793,2802,2202,2268,2806,2820,2364,2066,2009,2175,2160,1985,2633,3166,3419,3610,3695,3812,3540,3084,2933,3134,3305,3316,3584,3861,3703,3415,3118,3339,3715,3133,2072,2500,2850,2997,2961,2908,3374,3871,3789,3385,3021,3093,3317,3344,3308,3242,2675,2848,2967,2831,2911,2747,2415,2152,2495,2687,2248,2374,2461,2024,1544,2084,2727,3074,3329,3854,3579,3352,2690,1908,2308,3146,3276,3510,3595,3816,2888,3415,3850,4085,4094,3918,3962,3967,3907,4061,3803,4006,3902,3916,3821,3442,3252,2943,2744,2710,2769,2794,3045,3585,3492,3081,2673,2698,3209,3693,3768,3974,3693,2988,2734,2720,2504,1742,1433,1737,2385,2322,2174,1726,2056,2670,2577,2473,1991,1472,1704,1758,1943,3028,2711,2696,2684,1974,1771,2043,2514,2842,2518,2018,2159,2116,1933,1728,1668,2254,2194,1596,1564,1583,2055,2172,1934,1787,1597,1587,1563,1468,1454,1670,1786,1931,1902,1737,1659,1816,2570,2370,1953,1791,1827,2076,2111,2209,2204,2061,2436,2652,2117,1600,1827,2251,2231,1896,1859,1627,1436,1678,2686,2818,2518,2268,1885,1986,2237,2410,3298,3562,2878,2653,3183,3274,3383,3351,3148,3265,3413,3347,3381,3470,3111,2930,2941,3396,3642,3464,3163,2736,2624,2836,3000,2488,2095,2493,2474,2718,2510,1936,1897,2373,2499,1795,1759,1715,1434,1615,1942,1884,1782,1983,1889,2151,1697,1496,1728,1960,2370,2297,2080,2143,1941,1826,2140,2690,2720,2719,2358,2168,1798,1978,1893,1958,2240,1852,1614,1960,1875,1992,2019,1989,1960,2275,2062,1685,1870,2165,2019,1578,1566,1810,1641,1562,1720,1388,1628,1524,1730,2736,3685,3235,2580,2536,2551,2620,2885,4034,3996,3228,3015,4208,3862,2958,2817,2653,2853,3605,3751,3043,3009,2348,2881,3153,2743,3332,3190,3003,2874,2793,3172,3775,4042,3298,2669,2777,3064,2807,2533,2762,2924,2837,2806,3090,3032,2525,3003,3517,3296,2785,2650,2674,2367,2250,2648,3110,2854,2587,2764,2780,2880,2790,2663,2490,2998,3042,2529,2523,2540,2707,3210,3133,2878,2976,2861,2913,2960,2653,2584,2523,2046,1937,1908,1907,1978,2066,2218,2333,2550,2908,3342,3509,3423,2972,2525,2610,2571,2586,2529,2781,2646,2553,2955,3209,2911,2923,2682,2196,2470,2632,2843,3162,2691,2182,2498,2886,3074,3040,3076,3176,3178,3132,2665,2779,3055,2889,2751,2598,2425,2267,2454,3043,3279,2755,2595,2688,2877,2799,2455,2608,2890,2915,2212,2352,2909,2248,2064,2247,2285,2008,2176,2136,1837,2592,2493,1880,2164,2626,2511,1873,1961,2103,1701,1605,2218,1829,2302,2780,2523,2078,1745,1675,1565,1404,1671,1910,2030,2262,2608,2567,2595,2790,2260,1502,1318,1702,2315,2215,1678,1523,1562,1896,1686,1422,1403,1657,1553,1606,1973,1910,1946,2652,2823,2243,1802,1915,2247,2206,1766,1628,1379,1355,1542,1583,1476,1404,1534,1424,1769,2591,3312,2676,1913,1863,2002,1564,1480,1793,2126,2238,2166,1854,1582,1478,1556,1550,2221,3065,2917,2412,2230,2285,2371,2699,2496,2497,2498,2480,3269,4255,3196,3264,3285,2674,2402,2330,2316,2157,2309,2557,2483,2427,1820,1815,1957,2377,2710,3096,2884,2454,2668,3208,2810,2756,2686,2916,2437,2517,2553,2377,2237,2427,2501,2226,2207,2210,2260,2520,2580,2554,3172,3676,3750,2894,2261,2326,2558,2756,2605,2304,2225,2186,2539,2419,2268,2697,3097,2620,2047,2318,2833,2684,2584,2166,2215,2470,2197,1954,2179,2371,2085,2110,3300,3449,1974,1173,764,807,1279,1790,2420,2809,2671,2647,2595,2524,2917,3286,3248,2666,2138,2194,2608,2309,1874,1463,1482,1571,1735,1663,1671,1712,1532,1511,1513,1423,1608,1938,1808,2217,2060,2088,2293,2053,1511,1043,808,914,1503,2416,3378,3339,2299,811,465,487,629,1042,1377,1472,1585,1750,1507,892,576,522,472,422,383,372,368,379,370,350,349,355,391,434,475,512,542,563,567,572,593,627,730,833,825,758,731,848,946,759,757,924,850,730,673,639,635,667,700,637,583,638,722,775,733,712,661,624,605,619,598,589,622,619,635,641,641,630,602,683,564,527,551,562,565,586,605,588,661,568,574,606,581,581,588,630,630,613,624,634,691,793,833,744,708,732,713,727,697,707,727,797,849,826,819,802,828,861,910,952,1001,968,1051,1185,1192,1181,1141,1205,1432,1509,1523,1485,1225,1209,1306,1331,1433,1693,1754,1632,1498,1458,1535,1655,1602,1588,1691,1830,1874,1876,1923,2092,2215,2081,1807,1585,1430,1228,1163,1245,1319,1238,1011,836,858,824,721,669,634,621,625,581,589,589,622,635,615,572,565,575,580,575,593,625,642,639,641,630,631,712,835,892,955,1010,1139,1282,1328,1409,1678,1623,1341,2130,2686,3156,3816,4189,4151,4520,4693,4314,4227,4403,4627,4312,3949,3659,4048,3825,3852,2987,1345,593,530,486,478,485,447,416,393,384,371,381,380,381,383,385,390,398,401,402,398,381,359,358,364,368,380,386,390,395,402,415,427,453,472,480,554,559,631,694,589,696,702,566,595,572,505,498,494,507,507,529,477,436,420,425,456,473,454,429,399,385,386,386,375,359,368,385,408,428,431,422,416,425,422,406,390,398,403,415,419,431,431,458,479,474,498,481,438,406,402,394,379,366,349,341,329,318,312,304,297,290,290,284,285,291,298,301,307,311,312,314,314,313,313,312,313,311,315,325,334,342,337,326,314,302,301,309,315,325,339,354,373,367,349,336,335,335,331,330,328,329,335,333,331,334,340,346,348,350,347,345,344,339,339,340,337,330,321,313,313,306,297,289,286,290,293,299,305,307,305,306,296,287,299,305,300,285,279,283,285,279,275,275,275,273,275,273,265,259,258,266,280,278],[3405,3038,3142,3039,2957,2773,2384,2931,3265,3240,2985,3001,3106,3001,2919,3306,3272,3076,2997,2917,2693,2840,3708,3868,3559,3331,3222,3338,3273,3098,2866,3356,3150,2919,2720,2704,2771,2499,2085,2087,2355,2371,2569,2268,2342,2802,3384,3540,3225,3282,3511,3518,2956,2731,3097,3410,3563,3463,3093,2553,2160,1417,1694,2013,2155,1984,1875,1864,2231,2604,2664,2421,2345,2595,3057,3519,3663,3688,3752,3861,3846,3601,3099,2508,2586,3225,3917,3977,3658,3085,3072,2827,2798,2965,3096,3332,3782,4168,4220,3908,4005,3611,2757,1874,2238,2895,2653,2356,2254,2643,3114,2971,3217,3375,3318,3051,2976,2984,2546,2367,2013,2258,2609,2486,2657,3061,3755,3823,3976,3847,3859,2696,2751,3269,3564,3652,3870,3952,3871,3149,2974,2918,2830,3536,4040,3420,2963,2762,3517,3294,2451,2676,2534,2667,2387,1896,2248,2305,2587,2713,2702,2266,2230,2326,2366,2895,2902,1996,1774,1749,1842,2115,2076,2116,2910,3309,3631,3386,3217,2921,2373,2204,1926,1916,2160,1956,1763,1265,1311,1689,2103,2035,2054,2663,2298,1724,2275,2325,2155,1488,1302,1955,1797,1529,1708,1811,1660,1504,1530,1815,1975,1854,1616,1545,1546,1461,1505,1339,1488,2270,3073,2854,2285,1953,2184,2153,2227,1986,1736,1968,1679,1559,1766,1697,1533,1918,2115,1940,1906,1886,1764,2092,2546,2880,2537,2290,2062,1722,1844,2172,2192,2144,2275,2381,2788,2951,3204,3339,2409,1846,1883,1814,2241,3351,3486,2786,2330,2249,2706,2978,2757,2691,2885,3112,3193,2908,2518,2364,2339,2023,2147,2587,2290,2447,2647,3081,3386,3494,4051,4263,4079,4049,3935,3461,3025,3105,3234,3282,3496,3896,3221,2285,2446,2223,2408,2643,2219,2313,2881,2711,1938,1753,1813,1898,1699,2461,2985,3028,3261,3150,2701,2697,3154,3626,3457,3141,3154,2952,2485,2520,2881,2876,2879,3319,3615,3651,3487,3277,3118,3266,3085,2625,2908,3149,2676,2587,2612,2711,3075,3022,2733,2184,2156,2209,2332,2683,3513,3647,3364,3280,3422,3018,2496,2388,2233,2187,2068,1783,2175,2558,3113,3354,3664,3784,3725,3540,3288,3319,3654,3627,2810,2156,2194,1973,1538,1453,1723,2061,2885,3285,2686,2398,3015,2775,2367,2432,2611,2679,2756,2557,2095,2080,2444,2442,2044,2003,2358,2379,2334,2062,1975,2266,2919,3187,2862,2565,2735,2986,2746,2321,2232,1990,1963,2968,2876,2340,2186,2601,3781,3949,3078,3140,3150,2624,1893,2156,2530,2473,3052,2397,1813,2557,3285,3039,2950,2681,1958,1952,2603,2634,2765,2900,2891,3231,3220,2451,2276,2338,2465,2809,3030,2821,2360,2045,2206,3025,2946,2819,2851,2448,2153,2204,2150,2209,2499,2514,2143,2285,2502,2868,2631,2200,1954,1737,1780,1949,2130,2292,2510,2378,2106,2308,2204,2128,2282,2584,2330,1951,2149,3083,3397,3275,2702,1925,1759,1549,1506,1725,1765,2150,2709,2911,2516,1928,1966,2293,2724,3121,2596,2167,2493,2155,1906,2028,2081,1862,2026,1968,1935,2436,3063,3403,4218,4135,3767,3517,3672,3333,2769,2886,2732,2455,2912,3364,2894,1705,1661,1675,1693,1578,1859,1964,1898,1928,2322,2391,2084,1951,1634,1534,1377,1243,1581,1679,1825,2117,2075,2085,1830,1696,1876,1826,1784,2164,2744,2028,2017,1781,1713,1691,1853,1997,2347,2209,1809,2144,2449,2692,2459,2275,2722,2724,2015,1869,2700,3067,2602,2284,2192,2154,2171,2397,2237,2324,2202,2181,2023,2006,1753,1708,2039,1775,1672,1749,1779,1767,1715,1672,1520,1680,1729,1735,1632,1513,1593,1662,1780,2155,2775,3282,3229,3209,3439,3226,3105,2597,2205,2679,2784,2249,1855,2033,2622,2678,2208,2373,3035,3311,2746,2133,1730,1665,2266,2278,1920,2652,3828,4034,3927,3594,3909,3899,3293,2712,2712,2637,2713,3361,3688,3507,3121,2863,3065,3385,3204,2094,2596,2782,3251,3015,2861,3149,3551,3693,3554,3156,3031,3122,3274,3040,2758,2755,3349,2988,2745,3050,2907,2544,2369,2524,2844,2473,3094,3633,2800,1965,2094,2182,2302,2910,3553,3772,3874,3340,2712,2785,3353,3178,3116,3178,3501,3460,3968,4304,4480,4287,4100,4128,4050,3875,4079,3746,3892,4078,4253,4125,3699,3306,2988,2856,2854,2691,2569,2920,2683,2978,3204,3311,3156,3425,3639,3693,3503,2691,2525,2625,2610,2310,1449,1488,1715,2208,2332,2122,1893,2353,2764,2377,1904,1710,1789,1682,1877,1739,2170,2487,2614,2586,2045,1834,2108,2321,2456,2265,1884,2235,2093,2087,1876,1888,1917,1950,1732,1573,1660,1722,1639,2031,2084,1862,1886,1824,1632,1448,1947,2480,2600,2243,2208,2274,2333,3108,2667,1808,1711,1886,2218,2272,2336,2071,1765,2224,2685,2148,1491,1725,2523,2585,1885,1771,2056,1720,1989,2871,2687,2361,2499,2159,2362,2895,3156,3387,3376,2786,3100,3349,3271,3285,3064,3027,3219,3268,3311,3422,3351,3325,3409,3461,3641,3992,3365,2750,2556,2492,2707,2898,2294,1901,2546,2250,2100,1917,1971,1851,1879,2169,1869,1709,1698,1471,1391,1713,1951,2000,1886,2063,2320,1959,1827,1848,1845,1975,1882,1815,1903,2006,2032,1810,2501,2876,3617,3174,2295,1878,1994,1870,1822,2173,2258,2329,2597,2348,2429,2185,2093,2315,2548,1733,1145,1525,1917,1808,1485,1511,1574,1409,1455,1569,1600,1723,1736,2115,2843,3353,2864,2429,2585,2689,3107,2791,3763,3515,2688,2745,3753,3464,2712,2850,2646,3124,3161,2984,2922,2760,2556,2846,2687,2430,2480,2554,2946,2743,2684,2965,3741,3630,3178,2822,3013,2733,2688,2875,3262,3145,2974,3113,3292,3028,2647,3133,3464,3304,2255,1975,2638,2758,2431,2328,2526,2527,2500,2532,2512,2785,2584,2447,2530,3096,3035,2670,2819,2943,3023,3088,2908,3060,3300,3130,2938,2895,2803,2607,2589,2625,2386,2251,2228,2024,1970,2019,2052,2617,3398,3334,2390,2092,1995,2562,3049,2837,2507,2365,2530,2564,2556,2893,3352,2932,3087,2778,2271,2867,2853,2699,3029,2677,2553,2720,2437,2566,2755,2894,2526,2452,2336,1885,2066,2474,2655,2663,2591,2497,2335,2447,2666,2686,2558,2584,2656,2872,2709,2545,2459,2770,3107,2358,1948,2256,2155,2354,2110,2204,1803,1931,2376,2327,2664,2554,1873,2038,2439,2227,2172,2552,2492,1761,1889,2317,1829,2213,2409,2132,2277,2218,2017,1980,1915,1858,1698,1758,2055,2376,2471,2879,3018,2204,1553,1514,1956,1946,1914,1963,1735,2023,2194,1847,1860,1649,1404,1553,1668,1705,1882,2305,2491,2322,1906,1866,1939,2186,2447,2325,2042,1553,1623,2169,1842,1577,1443,1477,1681,1711,1696,2225,2232,1992,1905,1576,1432,1454,1454,1903,2301,2133,1688,1604,1482,1694,1770,1824,2125,2390,2482,2679,2546,2436,2956,3024,2570,2394,2502,3399,4123,3557,3042,3072,2668,2489,2579,2301,2107,3065,3742,2868,1987,1843,2119,2929,3233,2973,3772,3663,2911,3019,3072,2754,2858,2453,2430,2621,2997,3076,2972,2631,1938,2015,2017,2119,2288,2536,2678,2335,2358,2973,3770,3801,2691,1900,1869,2179,2844,2544,2110,2023,2312,2620,2497,2739,3142,3066,2786,2252,2517,2887,2506,2193,1736,1947,2547,2364,1832,1852,1725,1393,1543,2096,2019,1283,1206,1542,2201,2707,2649,2388,2264,2265,2539,2675,2824,3560,3727,3317,2629,2404,2132,2684,2824,2202,1612,1602,1563,1594,1570,1462,1580,1596,1553,1419,1411,1905,2227,1917,1986,2019,2153,2509,2493,1928,1313,1041,794,724,1059,1974,1489,764,482,435,442,651,1046,1309,1500,1620,1852,1639,1003,635,500,470,438,392,383,375,368,365,348,362,353,389,433,468,504,525,547,557,580,596,605,708,828,809,753,700,768,870,782,698,833,802,706,681,627,626,634,674,635,558,596,718,807,762,679,617,580,564,580,573,544,565,589,599,604,602,600,591,549,495,493,524,561,623,681,680,687,851,643,558,566,583,606,581,643,675,616,632,644,692,753,784,744,700,734,701,702,688,672,695,750,842,796,804,789,818,848,909,949,967,949,994,1111,1129,1122,1133,1093,1335,1485,1501,1512,1297,1179,1267,1321,1423,1534,1597,1605,1469,1403,1466,1578,1544,1566,1500,1631,1670,1716,1748,1913,2094,1985,1758,1552,1416,1263,1160,1218,1305,1209,1003,846,842,852,761,711,658,621,633,593,593,592,609,622,607,572,559,566,563,556,569,587,608,626,643,631,623,703,819,919,976,1018,1107,1192,1250,1359,1552,1464,1217,1298,1553,1811,2742,4229,4685,4211,4150,4079,4227,4319,4495,4384,4175,4087,4437,4276,4265,3416,1495,612,521,474,465,485,448,422,398,380,371,370,369,360,366,375,387,397,407,411,414,389,358,351,356,360,364,375,383,386,397,410,455,511,509,494,562,585,623,705,622,632,732,564,579,592,505,504,509,514,507,519,469,416,416,424,460,481,454,420,400,380,378,372,365,353,368,385,402,410,413,395,387,395,404,394,380,385,397,403,407,418,416,449,487,465,480,475,439,404,390,383,370,355,343,332,319,314,309,301,301,293,287,288,288,290,294,298,302,311,313,309,311,307,308,303,299,302,307,315,329,332,326,319,309,300,301,309,321,327,339,353,360,358,345,341,341,339,332,326,326,327,336,333,334,339,339,344,344,341,344,347,344,340,341,334,332,323,318,315,310,305,297,292,285,283,287,294,303,301,298,298,289,288,292,295,292,286,281,278,279,276,274,274,272,269,268,268,266,257,252,258,274,278],[2165,2486,2968,3175,2966,2639,2612,3133,3526,3193,2717,3105,2786,2352,2819,3344,3374,3122,2796,2779,2510,2805,3433,3190,3182,3131,2972,3041,2765,2662,2584,3050,2884,2416,2102,2272,2554,2382,1926,2089,2530,2523,2963,2724,2365,3112,3351,3404,3376,2999,2925,3176,2956,2994,3164,3296,3420,3443,3113,3087,2902,2379,2152,2051,1688,1531,1485,1687,2458,2534,2306,2676,2830,3123,3696,4014,4113,3752,3331,3089,2808,2877,2740,2522,2708,3445,4009,4072,3630,3084,2990,2920,2844,3120,3574,3658,3486,4235,4439,4107,3852,3789,3473,3016,3078,2790,1938,1883,2448,2699,2758,2862,2864,2955,3350,3321,3154,2875,2370,2068,1929,2211,2496,2396,2973,3876,3341,3203,3345,3387,3454,3007,3105,3544,3364,2949,2618,3038,3898,3211,3328,2507,2670,3356,3582,3348,2922,2949,3702,3836,2684,2118,2382,3083,2564,2325,2244,2214,2354,2508,2611,2294,2249,2383,2470,2625,2714,1448,1351,1372,1626,2172,2299,2702,3187,3290,3342,3066,2789,2574,2125,2088,1689,1831,1848,2019,1782,1462,1621,1731,1888,2093,2439,2862,2104,1504,2004,2332,2008,1626,1494,1845,1892,1834,1981,1810,1740,1870,1914,2175,1899,1811,1607,1629,1557,1523,1551,1412,1559,2177,2380,2499,2425,1580,2256,2389,2146,2016,2049,1861,1708,1685,1894,2013,1862,1960,2243,2111,1847,1883,2054,2545,2625,2313,2261,2540,2238,1909,2132,2600,2855,2684,2618,2459,2388,2269,2732,3112,2568,2304,2279,2205,3054,4363,4131,3016,1928,1914,2188,2320,2679,2680,2861,3220,2988,2711,2526,2178,2104,2158,2067,2585,2029,1948,2535,3120,3348,3645,4007,3856,4093,4392,3729,2590,2470,2490,2686,2911,3082,3743,3082,2315,2732,2923,2654,2305,1688,1703,2222,2526,2070,2403,2788,3009,2662,2858,3116,3119,3220,3068,2966,3270,3565,3697,3498,3199,3100,3166,2801,2721,2807,2479,2505,3343,3890,3817,3503,3360,2906,2952,2562,2331,2831,3012,2956,3245,3338,3001,3288,2906,2688,2459,2454,2193,1936,2543,3547,3686,3220,2807,2912,2888,2700,2612,2388,2082,2134,2226,2208,2491,2972,3178,3350,3521,3592,3342,3128,3480,3779,3586,3131,2452,1861,1700,1749,1906,1859,2306,3096,2542,2158,2691,3209,2843,2670,3169,3068,2864,2394,1947,1974,2337,2928,2791,2053,1854,2257,2656,2215,2182,2464,2946,3052,2996,2935,2709,2712,2813,2681,2381,2468,2480,2818,3526,3142,2429,2499,2709,3482,3418,2188,1911,1975,2091,2046,2018,2362,2198,2465,1918,1938,2683,3297,3303,3112,2907,2603,2423,2662,2734,2824,2809,3041,3480,3360,2853,2523,2173,2206,2558,2780,2560,2613,2383,2336,2851,2866,2585,2558,2188,1760,1865,2142,2281,2713,2446,2125,2556,2622,2685,2975,2519,2110,2059,1990,2117,1883,2310,2818,2784,2138,2062,1975,2062,1982,1994,2358,1979,1789,2220,2938,3030,2631,2067,2008,1755,1439,1782,1998,2135,2621,2514,1771,1862,2750,3216,3270,3530,2554,1837,1925,1911,1950,1928,1909,2212,2393,2128,2084,2668,3220,3261,3625,3469,3541,3824,3715,3306,2924,2685,2235,1890,2806,3638,3134,2030,2144,2000,1980,1949,2003,1934,1796,2093,2670,2359,1832,1715,1634,1651,1152,1179,1577,1850,1925,1752,1690,1938,2046,1991,2156,2030,2000,2530,3006,2247,2261,1947,1662,1640,1835,2060,2267,2120,1568,1742,1776,1842,1844,2057,2342,2316,2010,2077,2842,2928,2464,2392,2570,2722,2395,3298,3164,2406,1750,1569,1794,1938,1661,1896,2232,2020,1656,1584,2019,1779,1704,1667,1644,1829,1916,1811,1536,1433,1615,1700,1787,2284,2958,3182,3240,3269,3215,2813,2324,2118,2547,2831,2342,1812,1998,2599,2618,2238,2322,3024,3422,3377,2463,2072,1977,1887,2239,2387,1910,2295,3638,4046,4034,3602,3654,3548,3254,2924,3006,3065,3186,3393,3576,3356,3106,3156,3266,3029,3028,2101,2555,2853,3354,3414,2796,2906,2944,2952,3528,2966,2364,2633,2889,2776,2720,3554,4132,3726,3422,3414,3285,3019,2775,2193,2334,2232,3105,3797,3160,3001,2977,2657,2556,2415,2725,3146,3317,3059,3002,3206,3370,3112,2602,2856,3074,3360,3916,3983,4188,3968,4029,3851,3704,3686,3692,3553,3737,3748,3948,4149,3609,2994,2980,2994,3132,2710,2719,3264,3470,3269,3105,3098,3073,3362,3530,3624,3119,2619,2702,2674,2584,2040,1697,1647,1691,2030,2266,2483,2818,2874,2271,1997,1598,1666,1935,1495,1826,1761,1593,1964,2082,1916,1566,1468,1620,1637,1710,2126,1854,2062,1886,2177,2618,2319,2170,2169,1791,1551,1724,1863,1671,2241,2227,2004,2023,1951,1726,1706,2390,2681,2505,2415,2051,2184,2623,2766,2274,1592,1494,2000,2248,2194,2054,1745,1638,1837,1970,1700,1448,1579,2031,2041,1623,1583,1860,2280,2679,3053,3230,3416,3516,2889,3096,3241,3461,3004,2796,2631,2853,3010,3075,3100,2966,3027,3178,3271,3539,3664,3464,3422,3498,3445,3344,3230,2917,2834,2617,2498,2358,2187,2168,1901,2117,2112,2076,2115,2381,2445,2750,2851,2270,2026,2202,1598,1525,2140,2208,1797,1847,1959,1797,1864,2218,2067,1704,1821,1793,1932,2157,2106,2127,2334,2515,2652,3197,3375,2930,2106,1704,1841,2176,2337,2656,3097,3260,2936,2809,2543,2236,2408,2402,1592,1362,1717,1863,1560,1402,1621,1740,1489,1579,1581,1524,1632,1557,1945,3146,3968,3186,2770,2734,3044,3229,2638,3551,4024,3526,2963,3266,3220,2712,2919,2686,2909,2596,2524,3097,3051,3066,3002,2584,2370,2454,2594,3021,2716,3064,3304,3417,3019,3007,2799,2589,2772,2930,3056,3365,2998,3040,3227,3801,3897,3050,2504,2862,3278,2841,2245,2521,2921,2789,2360,2141,1990,2071,2246,2388,2634,2542,2761,2893,3020,2910,2985,3096,2878,2995,2832,2847,3195,3379,3207,3134,3318,3335,3442,3510,3374,3162,3133,2590,2529,2666,2602,2268,2616,3045,3032,2148,1401,1207,2183,2859,2623,2696,2679,2701,2665,2671,3009,3460,3299,3089,2833,2611,2685,2585,2642,2574,2377,2856,2747,2458,2510,2974,2986,2244,1862,1963,2149,2418,2632,2774,2766,2750,2631,2082,1897,1817,2128,2653,2756,2836,2874,2651,2556,2671,2766,2988,2591,2291,2701,3004,2828,2349,2316,1855,1656,2031,1921,2319,2270,1742,1628,2153,2130,1944,1910,1927,1964,2266,2148,2185,2646,2366,1865,2002,1998,2126,2337,2231,1870,1527,1469,1556,1839,2256,2547,2538,2093,1968,1728,1807,1539,1836,2094,1871,1982,1923,1728,1786,1587,1361,1518,1649,1787,2274,2712,2187,1695,1644,1845,1564,1915,2978,3432,3156,2360,1694,1770,2282,2031,1582,1508,1812,1749,1575,2421,3379,2900,2191,1755,1419,1626,1821,1899,1891,2143,2132,2014,1942,2024,2096,2214,1958,2106,3132,3761,3050,2680,2684,2946,2978,2567,2467,2683,3022,2965,2780,2852,2309,2339,2443,2141,2388,3292,3724,2780,1902,2170,2094,2814,3854,3509,3863,3818,3691,3287,2938,2786,2896,2666,2416,2865,2984,3082,3205,2194,1978,2362,2188,1996,2206,2244,2257,2243,2346,2690,3132,3298,2602,2121,1930,2186,2522,2623,2450,2540,2825,2980,3069,3360,3580,3484,3174,2717,2918,2857,2886,2730,2920,3445,3542,2708,1949,1794,1803,1682,1876,1717,1751,1908,2216,2309,2239,2156,2078,2398,3084,3688,4119,4069,3356,3229,3286,3666,3142,2467,2226,3060,3372,2435,1708,1566,1507,1468,1390,1346,1494,1517,1450,1310,1428,1561,1658,1712,1794,2064,2585,3066,3670,3084,1601,1068,709,582,606,966,762,565,537,448,437,608,1036,1289,1451,1558,1938,1770,1106,706,542,483,463,413,393,390,373,368,365,379,360,384,417,450,487,507,515,533,573,602,584,661,798,785,736,676,713,778,775,692,743,804,712,683,641,632,631,649,637,557,585,702,747,712,641,577,547,529,542,557,527,509,566,565,573,570,566,568,549,507,486,497,534,629,734,772,682,779,701,590,592,632,640,603,643,719,656,626,649,696,733,752,756,711,694,679,678,674,646,667,703,834,809,785,782,806,823,897,948,937,947,998,1084,1124,1100,1112,1056,1248,1407,1487,1539,1433,1261,1229,1268,1366,1404,1495,1558,1477,1382,1372,1442,1436,1410,1433,1489,1526,1579,1645,1768,1936,1888,1692,1512,1403,1261,1120,1151,1266,1222,1065,931,870,893,794,726,657,619,607,598,599,603,612,621,608,577,560,555,556,557,559,582,615,625,614,607,627,700,801,906,997,1036,1057,1156,1183,1302,1520,1499,1215,1130,1296,1533,2316,3981,4496,3982,3779,3926,3967,4132,4352,4412,4262,4171,4446,4602,4308,3522,1478,640,496,467,448,457,442,413,390,384,379,368,359,352,353,359,376,387,400,401,398,382,359,350,356,358,360,361,376,379,382,401,439,481,493,488,520,531,574,688,666,586,739,590,581,618,551,537,533,532,522,514,472,413,422,425,452,471,441,402,380,379,375,365,359,365,377,386,389,395,397,386,379,391,401,397,385,386,390,397,398,403,419,441,467,466,473,468,440,402,381,377,367,352,332,322,314,308,303,293,292,288,286,281,285,287,288,294,298,301,299,298,304,301,301,292,291,295,300,302,308,310,310,300,300,300,302,307,319,328,338,350,357,357,352,345,345,339,334,328,328,326,332,335,334,338,340,339,338,343,341,340,339,338,336,328,325,321,313,309,309,305,296,289,280,274,283,294,294,293,292,292,290,283,283,286,284,282,281,272,271,268,268,266,262,267,268,262,259,256,250,255,270,277],[2632,2898,3815,3966,3505,3188,3282,3491,3575,3863,3073,2906,2313,2458,2989,2986,2986,2909,2534,2449,2009,2058,2728,2665,3407,3855,3488,2819,2237,2407,2276,2357,2439,2242,2067,2109,2543,2532,2149,2489,2796,3054,3078,2679,2631,3081,3070,2897,2967,3319,3124,3310,3433,3150,2846,3174,3174,3280,3249,3427,3264,2445,2264,2078,1491,1522,2053,2663,2614,2346,2351,3197,3504,3769,4057,3914,3521,2965,2637,2640,2790,2698,2368,2829,3041,3687,4337,4203,3926,3559,3144,3115,3197,3363,3711,3260,3281,4256,4647,4073,3327,3384,3304,3090,3106,2453,1475,1659,2398,2480,2831,3335,3379,3319,3237,3307,3338,2740,2236,2259,2030,2063,2098,2064,3086,3352,2851,3731,3450,3559,4004,4079,4256,3924,3238,3807,3385,3384,4004,3340,3203,2765,2955,3271,3226,2680,2736,3084,3405,3521,2392,2358,3096,3472,3522,3044,1994,1840,2342,2197,1885,1994,2210,1754,1727,2076,1941,1294,1211,1245,1243,2091,2775,2466,2633,2930,2757,2476,2233,2068,2061,1930,1763,1696,1788,1766,1615,1732,1858,1801,1833,2003,2287,2233,2041,1756,1887,1915,2264,2339,1836,1942,2634,2619,2366,1860,1802,2177,2128,1952,2014,1980,1697,1643,1559,1561,1601,1624,2061,2521,2287,2378,2501,2480,2717,2645,2048,1843,1967,1932,1926,1675,1609,1849,1962,2297,2841,2880,2508,2235,1939,1739,1965,1898,1875,2147,2181,2130,2655,3345,3626,3185,2944,2684,2136,2203,2473,2457,2340,2459,3166,3731,3689,3920,2951,2399,1970,1843,1952,1965,2291,2666,2836,2906,2773,2763,2586,2146,2074,2442,2690,3077,2395,2497,2950,2921,2685,2942,3528,3869,4433,4457,3727,2644,2530,2374,2406,2169,2503,3531,3453,2588,2756,3375,2592,2151,1371,1512,2193,2707,3006,3463,3694,3548,3206,3034,2858,3010,3119,3229,3501,3666,3557,3484,3089,2967,3172,3184,2855,2594,2779,2863,2994,3736,3860,3630,3621,3799,3340,2752,2202,2627,3107,3019,2885,3187,3226,2929,3099,3132,2691,2322,2246,2021,1777,2309,3083,3325,3350,3012,3086,3287,3054,3076,2708,2101,2104,2613,2574,2541,2632,2637,2250,2640,3488,3381,2937,3360,3306,3042,2867,2386,1886,1667,1624,1893,1915,1993,2844,2996,2713,2380,2485,2713,2878,3423,3410,3060,2492,2226,2255,2407,2728,2896,2333,2166,2369,2954,2519,2444,2956,3054,2792,3120,3161,2835,2711,2586,2492,2489,2215,2010,1898,2330,2447,2821,3835,3896,3680,3270,2270,2200,2825,3025,2813,2160,1971,2400,2105,1991,2434,2897,3149,3232,2988,2941,2745,2457,2466,2442,2812,3112,3226,2884,2221,2046,2280,2579,2864,2687,2512,2632,2156,1881,2496,2962,2788,2553,2600,2382,2126,2063,2167,1982,2185,2089,2196,2659,3017,3479,3875,3111,2182,2053,1969,1997,1901,2431,2643,2644,2429,2482,2116,1931,2279,2791,2331,1732,1889,2103,2584,2977,3242,3118,2455,1707,1483,1959,2263,2183,2492,2374,1946,1909,2480,3094,3073,3097,2231,1656,1654,1826,1837,1688,1963,2269,2535,2501,2356,2079,1982,2855,3375,3221,3652,4285,3904,2896,2248,2480,2339,1701,2315,2700,2264,2266,2195,1781,1854,1949,2058,2241,1890,1824,1903,1835,1885,1848,1936,1993,1300,1295,1637,2187,2554,2024,1603,1630,1936,2176,2221,2282,2226,2335,2647,2310,2257,2062,1626,1640,1828,1877,1923,1826,1379,1308,1378,1488,1952,2270,2264,2126,1854,2077,2533,2796,2352,1847,1780,2269,2424,4129,4220,2786,1832,1659,1858,2030,1807,1917,2020,1937,1408,1474,1743,1737,1689,1483,1565,1840,1813,1654,1459,1467,1583,1655,1930,2436,2942,2887,2800,3020,2978,2292,1886,2411,2789,2287,1887,2074,2641,2534,2223,2331,3313,3821,3737,3106,2197,2189,2072,1887,1973,2532,1987,1916,3134,3786,3830,3679,3549,3609,3532,3229,3184,3131,3196,3441,3665,3349,3205,3134,3098,2934,2818,2092,2315,2735,2956,3381,2827,2397,2147,2576,3398,2904,2829,2517,2685,2830,3143,3648,3573,3404,3560,3786,3619,3232,3165,2710,2455,2171,2880,3538,3235,3312,3541,3489,3332,2618,2705,2896,2857,2662,3044,3119,2966,2364,2204,2885,2868,3020,3580,3144,3331,3572,3775,3496,3621,3692,3582,3531,3509,3424,3676,3871,3321,3000,3018,2827,3495,3152,3200,3273,3002,2662,2797,2663,2639,3241,3392,3406,2933,2884,2941,2717,2288,1791,1619,1814,2374,2585,2406,2699,3334,3355,2360,2025,1652,1670,1638,1556,1834,1707,1758,2121,1979,1657,1418,1632,1733,1826,2276,2348,2000,2691,2576,2721,3054,2662,2316,2018,1798,1694,2282,2106,1792,2183,2038,1697,1721,1694,1589,1720,1887,1895,2156,2043,1770,2362,2736,3141,3082,2276,1763,1810,1976,2001,1901,1919,2124,1965,1757,1729,1796,1663,1651,1621,1732,2101,2822,2988,2471,2929,3396,3629,3393,2722,2931,2899,2796,2671,2494,2590,2906,2932,2532,2500,3096,3315,3443,3474,3692,3813,3826,3586,3404,3371,3363,3100,2644,2438,2243,2361,2249,2050,2216,1980,2373,2828,2497,2101,2007,2007,2662,2942,2643,3132,3198,2592,2586,2918,2478,1955,1948,1747,1691,1649,1870,1874,2039,1917,1988,2264,2072,1884,2158,2531,2533,2748,3068,3065,2896,2630,2548,2524,2586,2321,2282,2747,2778,2714,2625,2287,2125,2277,2203,1609,1517,1686,1792,1531,1702,2103,1904,1447,1498,1412,1531,1706,1469,1914,3097,3194,2964,2777,2509,2801,2561,2476,3200,3837,3619,3153,3104,3264,2817,2645,2607,2568,2728,3098,3176,2929,2929,3153,2786,2353,2757,2928,3045,3034,3146,3095,3153,2876,2971,2669,2344,2700,2863,2948,3627,3653,3633,3476,3601,3813,2558,1885,2394,3120,3393,2975,2334,2484,2677,2677,2807,2338,1996,2059,2084,2134,2420,2994,2996,2778,2776,2994,3195,3024,2753,2819,3147,3266,3597,3500,3382,2863,2696,3416,3564,3576,3234,3030,2852,3188,3476,3450,3012,3029,2869,2774,2729,2462,2064,2188,2419,2360,2463,2310,2602,2551,2526,2969,3434,3468,3171,2850,2513,2185,2076,2302,2270,2095,2509,2707,2720,3023,3625,3825,3199,2455,2690,2754,2698,2584,2890,2706,2601,2603,1969,1633,1618,1974,2382,2589,2662,2768,2653,2311,2714,2753,2594,2397,2281,2522,3172,2968,2514,2265,1775,1289,1562,1861,2178,1838,1511,1662,2531,2481,1980,1788,2078,2352,2030,1849,2315,1937,1956,2198,2002,2172,2238,2263,1953,1654,1475,1561,1665,1855,2121,2338,2447,1772,1914,1783,1874,1892,2206,2097,1866,1751,1580,1525,1595,1421,1342,1546,1545,1654,1801,2354,2026,1508,1599,1627,1424,1753,2841,3404,3376,2646,1777,1897,2633,2338,1680,1536,1566,1434,1482,2106,3580,3689,2757,2214,1810,1792,1745,1696,1974,2855,3232,2770,2382,2525,2891,2744,2332,2048,2798,3187,2657,2622,2576,2781,2900,2878,2968,2213,1964,2072,2381,2717,2586,2461,2171,2082,2818,3144,2940,2408,2154,2146,1558,2248,3597,3513,3630,3592,3869,3208,2653,2526,2787,2866,2427,2571,2768,2548,2330,1846,2364,2491,2433,2379,2162,2132,2399,2138,2233,2554,2126,1876,2339,3020,3007,3072,3321,3068,2697,2762,3042,2871,2627,2822,3067,3458,3032,2762,2767,3389,3802,3192,2928,3591,3215,2030,1961,1946,1923,2088,2314,2186,2215,2307,2359,2425,2762,2969,2980,3428,3598,4070,4205,3725,2758,2377,3024,3794,3369,2516,2152,2874,3681,2798,1744,1525,1513,1371,1417,1853,1997,1762,1687,1501,1409,1553,1542,1578,1691,1918,3085,3890,4816,4221,2505,1741,1349,856,630,825,998,814,666,644,529,484,892,1288,1492,1518,1942,1844,1167,760,636,555,499,449,415,423,394,381,380,368,354,369,405,434,466,495,504,515,559,593,578,618,759,751,695,659,647,683,740,709,670,766,709,670,661,663,663,644,622,564,580,662,691,677,613,552,520,501,518,524,517,484,522,551,558,544,535,547,541,503,471,485,514,539,699,864,739,731,751,648,661,680,647,636,673,758,702,635,658,686,720,755,777,743,672,664,658,677,640,648,678,799,834,786,766,780,799,881,938,903,929,1015,1060,1103,1098,1129,1099,1189,1395,1516,1572,1526,1396,1349,1266,1334,1355,1426,1498,1479,1378,1306,1348,1362,1323,1320,1378,1448,1464,1520,1622,1796,1826,1655,1471,1395,1290,1165,1161,1231,1223,1116,1038,975,967,832,740,671,634,612,599,597,616,628,618,602,580,564,559,560,563,564,592,638,635,599,605,630,698,791,870,977,1046,1093,1102,1108,1243,1486,1475,1192,1070,1265,1515,2196,3859,3892,4251,3985,3748,3728,4152,4465,4376,4367,3987,3913,4697,4468,3349,1470,661,505,459,436,439,424,392,375,379,383,368,358,352,346,358,369,378,388,383,383,374,357,353,353,351,356,357,366,377,383,397,428,470,487,468,477,529,594,682,690,575,718,624,592,624,585,554,543,537,523,507,493,425,432,430,447,461,436,390,366,362,364,361,362,375,384,387,384,394,396,393,387,391,401,394,381,378,383,386,384,392,425,463,484,517,526,496,459,410,374,371,362,348,332,325,319,305,299,295,290,286,282,280,280,280,280,285,289,292,293,293,294,299,296,294,295,295,294,296,302,304,305,299,303,294,300,305,315,332,348,365,370,372,363,350,346,340,333,328,326,328,328,330,331,336,343,336,329,338,334,338,341,332,328,323,316,312,314,308,302,299,290,282,277,268,277,294,292,281,281,285,285,283,280,278,276,276,272,274,265,262,260,259,259,263,263,257,256,256,251,253,266,277],[2817,2920,3941,3924,3519,3403,3457,3485,3303,3620,3231,2977,2621,2887,3037,3001,2933,2843,2890,2872,2814,2900,2928,2600,3451,3903,3242,2974,2685,2584,2443,2421,2836,2903,2230,2082,2667,2424,2364,2058,2536,2917,2786,2639,3019,3083,2767,2952,3276,3511,3198,3564,3614,2696,2652,3107,3063,3281,3476,3567,2946,1784,2245,2029,1924,2176,2976,2802,2425,2429,2420,2911,3532,3748,3757,3556,3120,2567,2325,2531,2633,2439,2458,3205,3804,4119,4069,3916,3896,3695,3574,3514,3572,3470,3780,3971,3783,3852,3991,3479,2887,2764,2494,2255,2082,2375,1990,2275,2469,2086,2852,3635,3618,3694,3522,3171,3184,2891,2352,2292,2089,2119,2116,2876,3835,3351,3342,4140,4184,4286,4359,4388,4103,3551,3794,4552,4509,4212,3784,3608,3395,3291,3997,4049,3514,2414,2283,2784,3820,3676,2305,2486,3200,3344,3724,3558,2663,2481,2990,2292,2314,2042,2176,1509,1173,1706,1643,1334,1411,1439,1447,2492,3129,2143,2238,2807,2604,2663,2668,2307,2541,2608,2265,2059,2107,1704,1036,995,1815,2416,3061,3264,2976,2520,2287,2095,2215,2464,2553,2413,2144,2130,2669,2312,1349,1311,1992,2166,1949,1856,2093,1959,1942,1930,1708,1600,1620,2127,2634,2647,2045,2107,2805,2864,2636,2295,1824,1642,1526,1692,2132,1993,1848,1775,2104,2855,3002,2922,2866,3182,2768,2032,2188,2134,1968,2066,2408,2696,3426,3961,3614,3193,3272,2853,2526,2371,2113,2298,2232,2385,2862,3528,3330,2884,2552,2354,1929,1750,1816,1950,2294,2574,2360,2439,2505,2513,2416,2155,1993,2143,2642,2907,2710,2805,2761,2600,2380,2740,3303,3842,4416,4359,3879,3365,2596,2467,2654,2706,3341,3853,3632,2437,2653,3130,2292,2754,2542,2554,3098,3513,3709,3781,3754,3447,3001,3049,3053,3196,3316,3498,3828,3799,3564,3294,3077,3119,3082,3026,3211,3319,3372,3388,3296,3541,3812,3836,3593,3613,3658,2965,2299,2830,3271,2884,2677,2907,3064,2983,2918,2894,2521,2163,2209,2406,2308,2031,2359,2564,2821,2727,3261,3424,3735,3768,3090,2418,2370,2410,2612,2680,2235,2060,2060,1969,2763,3223,3333,3260,3010,3034,3084,2755,2500,2333,1960,1898,1845,1789,2499,2655,2334,1921,2276,2653,2553,2697,2896,2700,2385,2199,2145,1835,1868,2163,2263,2280,2373,2785,2978,2754,2608,2325,2366,3234,3441,2971,2600,2311,2496,2315,1975,1849,1617,1701,1903,3277,4407,4452,4167,3592,2558,2473,3327,3473,2975,2283,2447,2799,2644,2643,2401,2716,2957,3040,2901,2884,2855,2768,2994,3212,3172,3189,3216,2975,2932,2598,2653,2836,2829,2463,2076,2094,1932,1621,1622,2152,2544,2670,2615,2315,2216,2059,2178,2226,1992,2219,2396,2160,2546,3494,3703,3344,2330,1913,1996,1881,2010,2470,2601,2613,3087,2823,1959,1873,2341,2525,2207,2235,2544,2310,2604,2881,3108,3297,2864,2392,2330,2543,2575,2244,2342,2167,2140,1847,2322,2930,2875,2570,1820,1268,1378,1877,1845,1864,2133,2671,2871,2467,2573,2237,1744,2491,3372,3471,3641,3915,3835,2949,2522,3069,2564,1782,1670,1703,2047,2331,1998,2001,2297,2182,2414,2614,2035,2333,2577,2137,2137,2688,2799,2337,1575,1386,1658,2032,2286,1879,1557,1686,2099,2313,2215,2236,2231,2143,2244,2169,2020,1888,1568,1558,1773,1863,1918,1556,1441,1500,1542,1554,2271,2348,1747,1601,1488,1485,1636,1803,2074,2138,1816,1730,1963,2998,3120,2373,2280,2406,2272,2148,1896,1860,1945,1771,1636,1460,1400,1772,1563,1230,1848,2144,1800,1556,1775,2199,1862,1773,1985,2249,2478,2557,2736,2886,2543,2084,2357,2648,2350,1875,2141,2482,2295,2294,2700,2861,3172,3300,3470,2661,2003,2182,2073,1957,1992,2563,2100,1980,2912,3439,3548,3662,3640,3846,3758,2966,2976,2876,2865,3165,3538,3276,3033,2867,2840,2888,2753,2153,2056,2653,2701,2899,2603,2122,2101,2366,2778,2912,3095,3106,3143,3317,3757,3760,3350,2979,3605,4520,4387,3691,3386,3095,2460,2069,2688,3289,3203,3431,3664,3629,3433,3062,2764,2684,2543,2585,2941,2712,2567,2618,2944,3407,3363,3581,3710,2848,2929,3442,3650,3184,3284,3528,3396,3195,3466,3692,3828,3650,3052,3107,2984,3052,3285,3006,2975,3018,2852,2719,2844,2727,2834,3527,3658,3507,2980,2695,2437,2329,2153,1933,1974,2406,3067,2933,2566,2456,2892,3146,2374,1891,1772,1644,1476,1457,1655,1728,1655,1944,1934,1615,1695,2276,2263,2035,2498,2344,2344,2805,2499,2207,2081,1962,1942,2120,1986,1619,1812,1630,1503,1712,1829,1636,1510,1568,1610,1607,1857,1809,2289,2007,2019,2750,2789,3265,3251,2316,1818,1964,2448,2148,2302,2479,2614,1935,1672,1588,1684,1716,1838,2024,1859,2091,2764,3209,3064,2987,2831,2950,2627,2326,2426,1952,1934,2323,2492,3109,2953,2909,2254,2296,3086,3057,3309,3491,3729,3789,3572,3435,3444,3352,3454,3607,2984,2234,2064,2018,2073,2374,2424,2159,2768,3837,3785,2734,2154,2231,2858,3160,3733,4014,3184,2797,2955,2698,2120,2309,2505,2043,1732,1620,1718,1837,1835,1854,2094,2460,2376,2379,2679,2793,2770,2790,2309,2092,2076,2062,2044,2272,2534,2291,2162,2308,2364,2471,2478,2411,2110,2204,2188,1864,1782,1588,1694,1593,1337,1388,1390,1243,1638,1691,1479,1547,1738,2150,3226,3145,2688,2868,2706,2247,2404,2415,2357,2658,3088,3261,3338,3812,3776,3466,3083,2625,2600,3097,3128,2930,2862,2603,2383,2264,2322,2656,2896,3020,3132,3334,3370,3055,2934,3052,2895,2335,2599,2866,3469,3782,3814,3962,3786,3396,2752,2227,2277,2867,3270,3283,2676,2633,2592,2928,3255,2908,2641,2476,2288,2070,2242,2754,2861,3032,3052,2510,2906,3076,3029,3129,3100,3199,3218,3217,3591,3230,2385,3065,3046,3218,3139,2939,2790,3163,3518,3472,3139,3164,3035,2545,2776,3144,2722,2328,2583,2872,2464,2131,2497,2588,2583,3046,3479,3319,2953,2916,2470,2176,2098,2165,2250,2453,2442,2499,2611,3055,3465,3355,2498,2109,3088,3264,3104,2912,3062,2688,2551,2810,2634,2000,1655,1869,2158,2700,2687,2814,2592,2061,2574,2676,2312,2181,2090,2464,2554,1992,1800,1923,2045,1687,1639,1545,1772,1636,1516,1631,2136,2442,2190,1983,2120,2139,1991,1499,1801,1528,2221,2481,1970,1736,1969,2075,1851,1619,1473,1573,1668,1771,1693,1897,1760,1462,1474,1531,1947,2383,2136,1800,1564,1346,1370,1496,1576,1534,1636,1825,1781,1807,1808,1907,1805,1830,2047,1970,1648,2087,2650,2675,2863,2398,1738,2225,2988,2398,1509,1551,1665,1509,1578,1559,2480,3385,3249,2463,2066,1951,1720,1810,2714,3823,4497,4333,2828,2257,2944,2600,2052,2229,2718,2657,2612,2718,2365,2222,2070,2770,2762,2351,2280,2548,2674,3242,3213,2397,1905,2215,2411,2301,2608,2777,2912,2547,2498,2971,3453,3484,3452,3306,3130,2696,2558,2614,2930,3255,2510,1857,2250,2688,2044,2194,2590,2586,2626,2574,2261,2167,2414,2323,2584,2722,2219,2345,2786,3308,2964,2898,3219,2951,2878,2998,2997,2229,1845,2513,3788,3451,2985,2651,2491,3012,3363,2866,2398,3190,2958,2263,2504,2588,2209,2248,2200,2313,2525,2941,3483,3649,3554,3215,3308,3305,2934,3222,3698,2901,2034,2143,3097,3850,3509,2545,2157,2580,3841,3289,1946,1553,1367,1360,1365,1546,1634,1575,1704,1645,1473,1465,1505,1630,1945,2321,3860,4772,4892,4228,3444,3321,3162,2103,1108,2081,2858,2736,2579,2155,1414,1097,1158,1482,1622,1676,1946,1866,1189,797,671,589,495,445,431,457,419,399,400,380,371,371,383,394,434,473,484,503,534,577,596,612,722,764,710,655,604,633,716,689,605,695,690,651,672,681,667,633,620,608,590,606,629,625,578,527,499,491,497,493,485,482,501,528,548,526,514,532,535,535,481,469,520,591,755,912,845,754,852,702,691,698,662,664,666,765,740,654,675,697,720,771,789,758,676,667,658,687,657,627,664,788,867,821,760,744,764,862,930,886,905,970,1007,1068,1109,1170,1148,1132,1314,1493,1547,1548,1489,1420,1302,1280,1282,1332,1396,1423,1321,1246,1299,1299,1248,1229,1285,1332,1362,1417,1506,1684,1754,1646,1443,1349,1296,1192,1134,1184,1203,1092,1027,1012,1000,868,762,717,685,642,612,591,621,645,635,609,590,575,569,572,577,576,593,624,631,628,628,609,680,789,844,924,1023,1074,1064,1088,1198,1442,1526,1193,1041,1245,1595,2159,3680,4172,4428,4239,4153,3880,4071,4273,4225,4288,3847,3782,4444,4532,3054,1503,738,499,451,418,407,406,382,368,378,378,372,360,355,346,348,356,365,373,373,373,365,354,353,353,353,352,357,363,374,384,395,419,459,477,468,480,523,570,674,694,585,689,655,610,645,579,529,526,528,514,493,491,435,413,422,444,455,437,384,353,353,358,355,354,366,377,380,386,392,391,393,389,388,387,385,376,375,376,382,389,410,449,488,524,542,530,510,478,421,385,370,352,338,328,322,312,305,300,292,284,278,280,278,276,274,274,276,281,285,291,294,295,302,302,298,294,295,296,303,310,312,313,308,301,295,295,299,316,336,363,386,399,390,366,355,345,336,328,326,321,325,328,328,332,341,352,338,325,329,334,334,332,325,322,319,309,305,304,304,301,294,290,283,271,261,268,287,293,281,275,277,275,275,275,273,270,269,268,266,264,257,253,252,256,258,257,252,253,252,252,253,258,265],[3273,2991,3339,3754,3683,3417,3123,3463,3805,3535,3111,3105,3150,3032,3064,3228,2810,2865,3285,3386,3637,3065,2331,1810,2546,3018,3177,3211,2675,2223,2195,2423,3105,2945,2364,2688,2468,2080,2165,1912,1992,2209,2348,2865,3352,2701,2333,2721,3088,3260,3198,3295,2722,2298,2507,2647,3165,3516,3263,2830,2141,1434,2144,2375,2214,2205,2724,2644,2455,2761,2544,2413,3374,3547,3560,3629,3088,2302,2194,2519,2690,2525,2769,3476,4164,4373,4020,3725,3637,3686,3541,3629,3770,3792,3786,3350,3134,3110,2962,2878,2764,2708,2248,2117,2164,2447,2574,3141,2812,2568,3485,4024,4031,3793,3377,3112,2862,2554,2424,2186,2182,2350,2781,3072,3596,3808,3962,4209,3870,3836,4235,4212,2797,2491,3811,4444,4409,4015,3229,3308,3164,2968,3675,4113,4219,3528,3067,2897,3535,2775,2227,2877,3090,3312,3942,3920,3549,3435,3620,2446,2447,2280,2176,1957,1633,1949,2276,2309,1965,1602,1737,2908,3273,2495,2496,2802,2429,2343,2355,2354,2895,3321,3139,2413,2292,2096,1345,968,2140,2272,2902,3575,3654,3242,2734,2678,2841,2953,3109,2644,2322,2109,1913,1587,1033,1370,1928,2002,1912,1827,1679,1627,1847,1823,1770,1570,1981,2647,2691,2812,2599,2424,2664,2520,2340,1969,2054,1957,1797,2086,2115,2299,2206,2286,2752,2845,2354,2085,2696,3397,2764,2252,2368,2371,2683,3024,3212,2807,3124,3359,3048,3207,3404,2963,2460,2297,2393,2400,2245,2342,2900,3140,2843,2391,2941,2809,2097,2130,1865,1712,1915,2256,2004,2370,2447,2304,2564,2554,2226,2073,2287,2530,2374,1992,2429,2551,2644,2721,2943,4017,3889,3719,3980,3498,2611,2530,2729,2838,3262,3595,3137,1781,2218,2191,2536,3461,3440,3495,3890,3902,3947,3908,3738,3458,3072,3342,3609,3674,3624,3410,3484,3564,3404,3220,3298,3131,2900,2829,3509,4117,3982,3497,3109,3327,3978,4224,4001,3584,3259,2754,2335,2595,2973,3295,3383,3383,3356,3104,2609,2277,2236,2349,2557,3024,3197,2612,2002,2067,2771,2956,3318,3486,3559,3705,3495,2901,2155,2084,2511,2754,2673,2966,2964,3022,2951,2918,3175,3150,3184,3511,3140,2729,2721,2643,2097,2307,2273,2110,2298,2290,2082,1924,2389,2711,2775,2557,2765,2114,2078,2143,2248,2036,2104,2133,1943,2028,2470,2834,2897,2329,2215,2169,2159,3477,3286,2551,2177,2003,2353,1994,1914,2165,1931,1959,2114,3704,4219,4057,3897,3550,2929,2642,2771,2897,2643,2353,2415,2420,2909,2487,2200,2636,2940,2944,2835,2773,2860,2955,2938,2938,2877,2873,2997,2899,2964,2658,2656,2598,2302,2215,2127,1979,1824,1806,1719,1717,2309,2381,2250,2405,2175,2146,2287,2125,2178,2600,2216,1727,2244,2980,3069,2719,2123,2019,2061,2071,2127,2480,2654,2676,3090,3210,2395,2785,3251,2375,2343,2527,2811,2203,2141,2535,2650,2524,2264,2385,3072,3095,2867,2259,2135,2064,2192,1977,2093,2331,2301,2339,2517,1940,1728,2276,1856,2077,2213,3254,3021,2602,2911,2649,1810,2242,3295,3665,3620,3623,3853,3747,3332,3447,2765,2393,2222,1810,2012,2050,1866,2311,2600,2262,2064,1936,1678,1890,1809,1508,1791,2469,3030,2961,2175,1664,1632,1570,1360,1416,1459,1835,1844,2161,2453,2399,2481,2448,2336,2215,1967,1913,1703,1610,1780,1867,1864,1556,1420,1470,1425,1614,2030,2160,1862,1521,1448,1466,1428,1594,1879,2150,2333,2030,1698,1915,1997,1855,2018,2326,2453,2204,1661,1898,1928,1813,1934,1852,1826,1976,1755,1599,1669,1552,1816,1740,2158,2425,1993,1748,1822,1945,2169,2430,2755,2747,2137,2253,2699,2279,1926,2063,2330,2164,2065,2618,3026,3277,3230,3150,3115,2172,2110,1906,1837,1910,1817,2141,2110,1903,2752,3711,3830,3908,3802,3682,3749,2838,3066,3089,2749,2951,3113,2932,2894,2809,2805,2954,2845,2284,1956,2446,2600,2653,2597,2042,1823,2187,2492,2766,2966,3095,3288,3708,4353,4561,4199,3740,4302,4564,4344,3645,3181,2814,2186,2088,2836,3215,3215,3609,3708,3627,3377,3026,2778,2690,2652,3086,3044,2520,2691,2723,3418,4329,4129,3853,3939,3737,3362,3399,3655,3687,3480,3232,3242,3414,3572,3872,3905,3829,3470,2999,2967,3486,3092,2584,2597,2853,3296,3306,2496,2431,2770,3123,3357,3260,2728,2656,2931,3119,2823,2708,2764,2931,3183,3079,2685,2518,2721,2713,2082,1727,1659,1442,1488,1474,1611,1764,1543,1690,1581,1806,2028,2202,1936,1630,1793,2086,2386,2282,1891,1658,1791,1901,2618,3263,2681,2022,1885,1737,1542,1571,1799,1549,1460,2047,2308,2023,2110,1978,2181,2304,2416,2744,2846,2586,2004,1605,1791,2308,2666,2310,2362,2590,2556,2081,1964,1776,1706,1843,1804,2167,1721,2056,1965,2230,2451,2311,2365,2358,2142,2389,2592,2009,2069,2064,2556,3322,2765,2269,2236,2844,3266,3130,3137,3338,3576,3571,3294,3399,3609,3497,3631,3677,2840,2278,2178,2178,2419,2533,2590,2830,2964,3173,3815,2752,2236,2410,2963,2941,3474,3732,2987,2491,2612,2308,1918,2142,2472,2376,1902,1881,2195,2492,2263,1850,1886,2446,2729,2512,2320,2470,2351,2227,2116,2072,2025,2029,1932,2261,2526,2120,1700,1823,2003,2083,2323,2550,2379,2306,2188,1863,1722,1585,1528,1584,1527,1532,1560,1520,1777,1883,1782,1731,1884,2512,3672,3824,3216,2775,2514,2544,2766,2222,2060,2423,2997,3172,3094,2895,2840,3195,3301,2809,2493,3009,3332,3395,3208,2905,2342,2482,2446,2575,2790,2892,3117,3481,3572,2889,2895,3448,3011,3022,2558,2394,2805,3432,3657,3649,3593,3262,2852,2315,2229,2705,3212,3327,2958,2733,2446,3034,3231,3000,2913,2492,2213,2285,2563,2661,2702,2889,3044,2480,2723,3129,3431,3307,3173,3267,3187,3073,3466,3743,3001,2647,1967,2820,3305,3085,2903,3100,3308,3262,3182,3498,3131,2487,2468,2938,2731,2313,2679,3145,2808,2533,2766,3094,3320,3537,3558,3241,2669,2893,2761,2622,2621,2435,2964,3333,2810,2632,2969,3468,3267,2922,2021,1703,2859,3280,3044,2764,2930,3023,2900,2988,3074,2428,1881,2310,2452,3012,3198,2630,2321,2609,2553,2279,2221,2028,2154,2233,1748,1514,1536,1933,1886,2013,1801,1430,1449,1395,1302,1367,1895,2385,2126,1957,1945,1920,2099,1909,1926,1760,2056,2150,1966,1704,1914,1941,1843,1593,1537,1650,1503,1503,1538,1911,1644,1356,1384,1413,1751,2270,1906,1789,1467,1237,1370,1404,1527,1577,1650,1713,1587,1455,1364,1330,1433,2214,2443,1818,1515,2281,2680,2495,2329,2155,2254,3021,3134,2352,1574,1765,1887,1869,1728,1650,1694,2410,2884,2690,2053,1978,1974,2217,2619,3385,4257,3647,2657,2021,2061,2308,2217,2271,2398,2403,2274,1857,1895,2554,2131,2230,2214,2339,2566,2808,2875,3043,2965,2262,2121,2092,1852,1726,1943,2127,2502,2429,2637,2832,2864,2776,2410,2079,2238,2777,2867,2668,2987,3105,2389,1574,1465,1702,1843,2092,2449,2509,2607,2063,1917,1962,2050,2239,2602,2702,2823,3232,3532,3201,2556,2774,3189,2589,2695,2977,2952,2265,1992,2683,3650,3475,3086,2583,2260,2608,2741,2856,2331,2596,2806,2447,2320,2168,2099,2370,2721,3139,3642,4117,4317,4217,3751,3239,3285,3091,2920,2650,3104,2847,2068,2223,3064,3678,3719,2755,2352,2498,3812,3731,2184,1508,1404,1324,1251,1275,1332,1397,1455,1455,1568,1384,1400,1562,1963,2369,3826,4680,4447,3880,3459,3610,3749,2951,2028,3354,3730,3694,3650,3441,3062,2931,3007,2580,1971,1891,1996,1782,1125,785,632,580,520,465,440,452,440,427,413,395,405,383,376,384,423,443,455,476,508,552,593,608,688,784,706,639,587,641,721,678,567,633,673,659,682,679,629,592,603,620,602,569,577,590,552,500,485,486,482,472,468,472,485,515,533,519,503,521,528,543,486,463,540,744,919,987,948,784,882,782,741,745,732,712,676,825,856,701,689,726,742,793,807,767,692,671,667,683,674,636,635,768,896,860,788,777,767,823,916,908,907,908,942,1010,1058,1124,1162,1188,1291,1402,1492,1537,1566,1441,1322,1247,1210,1206,1299,1414,1347,1236,1263,1249,1215,1196,1207,1225,1273,1320,1476,1622,1663,1597,1431,1309,1257,1200,1115,1134,1151,1040,1011,1000,967,896,790,743,745,681,648,617,628,644,661,621,595,590,584,586,578,579,584,595,601,585,591,591,661,773,810,854,975,1041,1023,1059,1167,1405,1625,1240,1063,1266,1631,2338,3531,4609,4588,4195,4332,4153,4236,4231,4280,4296,3740,3854,4124,4227,3064,1691,850,537,446,407,397,401,388,373,372,373,366,359,356,348,350,355,358,366,366,363,357,352,352,351,350,353,361,369,379,389,395,412,451,486,494,510,538,559,662,701,615,666,673,598,610,536,511,509,506,494,477,459,432,393,407,445,444,434,382,350,346,350,348,354,357,368,379,380,382,385,384,384,382,381,380,380,381,388,397,420,447,476,510,518,510,501,479,442,419,401,372,345,329,323,317,308,301,293,286,277,272,272,268,267,266,270,272,278,282,292,293,294,294,293,294,295,300,305,315,318,316,312,305,298,294,296,306,323,355,402,429,411,383,373,357,344,339,333,322,321,322,326,323,329,340,344,339,324,321,329,325,325,320,316,313,306,300,297,294,294,295,287,280,268,256,262,279,285,281,272,269,274,274,276,269,270,263,261,260,258,257,253,249,256,250,246,253,252,254,254,251,256,261],[3030,2742,2846,3355,3325,3348,2972,3282,3218,2922,2827,3040,3019,2512,2832,3602,2884,3088,3560,3625,3392,2723,2359,1989,2027,2600,3406,3252,2966,2309,2089,2237,2678,2397,2656,2667,2092,2235,1976,1252,1428,2000,2148,2806,2368,1792,2357,2566,2699,2961,2905,3094,2957,2801,2720,2944,3010,2782,2540,2598,2474,1951,1963,1986,2031,1909,1842,1720,1898,2920,3152,2647,3328,3655,3562,2930,2366,2104,2026,2442,2654,2619,2910,3255,3918,3891,3782,3835,3491,3646,3514,3841,3934,3863,3615,2895,2352,2338,2944,3229,2952,2880,2449,2578,2833,2499,2448,3024,3255,3505,3945,3885,3869,3579,2832,2600,2033,1986,2593,2692,2504,2600,2928,2964,3052,3231,3462,3485,3061,3587,3882,3470,2768,3082,3912,4264,4156,3749,3253,3216,2980,3140,3298,4205,4576,4133,3682,3274,3008,2468,2272,2470,2446,2658,2902,2687,3210,3111,3138,3288,2789,2119,1756,1478,1573,2083,2460,2763,2774,2619,2434,3001,3064,2857,2707,2578,2264,2264,2326,2526,3012,2953,2850,2670,2888,2785,1982,1071,1846,2351,3203,3808,3768,3487,3404,3531,3560,3286,2798,2000,2355,2398,1478,1193,1325,1810,1990,1890,1852,1846,1776,1631,1460,1632,1743,1832,2359,2796,2823,3153,2698,2061,2405,2170,1964,1870,1982,1918,1759,1591,1745,2167,2179,2379,2554,2378,2064,2078,2288,2646,2276,2320,2276,2556,3392,3741,3094,2707,2989,3099,3307,3340,3296,2828,2163,2624,2941,2723,2774,2888,3042,2982,2442,1945,2172,2132,2546,2817,2322,2279,2157,2006,1886,2023,2079,2394,2592,2256,1932,1735,1711,2276,2468,2523,3038,2723,2709,3091,3338,3454,3097,3129,3282,2923,3123,2930,2850,2924,2878,2820,3098,2932,3033,3185,3319,3666,3686,3485,3677,3748,3892,3876,3651,3687,3559,3605,3828,3806,3548,3404,3404,3327,3178,2993,3628,3595,3164,2812,3659,4224,3570,3084,2852,3249,4177,4500,4572,3918,3276,2680,2354,2678,2884,3046,3044,3331,3535,2924,1947,1834,1974,2042,3208,3978,3754,3130,2469,2795,3420,3384,3338,3356,3182,3419,3515,3209,2697,2458,2761,3020,3156,3133,2893,3286,3033,2647,2980,3220,3284,3510,3486,3276,2590,2740,2498,2143,2094,2316,2395,2276,1703,1628,2266,2524,2835,2448,2767,2099,1807,1965,2071,2260,2655,2564,2120,1874,2141,2395,2613,1912,2268,2426,2608,3526,2722,2113,1978,2222,2626,2038,1947,2017,1823,1961,2211,2880,2685,2451,2786,3007,2918,2658,2518,2566,2174,1744,2252,2420,2348,1957,1870,1994,2530,2846,2719,2734,2557,2657,2674,2744,2630,2587,2706,2545,2600,2470,2381,2265,2284,2178,2014,2254,2148,1997,1988,2045,2294,2092,2082,2309,2440,2685,2828,2544,2484,2939,2755,2631,2854,2624,2321,2338,2226,2040,2248,2404,2477,2812,2721,2608,2502,2169,1982,3199,3817,2806,2147,1749,1849,2041,2330,2498,2281,1929,2024,2429,3198,2990,2703,2309,2154,2115,2112,2127,2015,1774,1921,2893,3747,3140,2467,3059,2420,1783,2015,3024,2676,2171,3126,3020,2136,2805,3510,3761,3552,3342,3286,3266,3045,3417,2938,2463,2513,1938,1781,1769,1941,2060,2242,1837,1602,1634,1726,2238,2018,1640,1889,2166,2762,2873,2002,1647,1440,1312,1410,1461,1498,1769,1927,2161,2210,2343,2658,2632,2471,2329,1672,1815,2036,1729,1766,1947,1851,1524,1354,1403,1483,1869,1958,2008,2084,1668,1457,1637,1700,1570,1801,2226,2272,1851,1633,1697,1958,2056,1928,2234,2056,1865,1464,1614,1766,1967,2126,2113,2115,2297,1818,1771,1990,1906,2024,1857,1884,1765,1565,1529,1583,1670,1934,2196,2563,2197,2190,2596,2286,2039,2302,2400,2261,2241,2468,2410,2127,2273,2892,3058,2601,2170,2073,1903,1854,1820,1626,1917,2167,1804,2474,3899,4184,3999,3826,3565,3780,3376,3266,3196,2946,2974,2903,2885,2903,2839,2817,3098,3227,2708,1932,2409,2830,2841,2753,1969,1639,2244,2514,2868,3166,3303,3392,4063,4376,4516,4678,4631,4455,4108,3696,3083,2830,2520,2186,2318,3000,3409,3373,3372,3682,3896,3504,3231,3220,3187,3007,2510,2304,2619,2825,2980,3732,4133,3996,3870,3938,3838,3442,3159,3333,3742,3830,3421,2884,2887,3032,3665,4232,4377,3826,2933,3024,3263,2690,2574,2663,2463,2128,2071,1814,2039,2524,2786,2916,2761,2696,3031,3277,3366,2885,3264,3088,3199,3277,3341,2934,2509,2171,2172,2204,2090,1971,1651,1676,1537,1549,1533,1488,1455,1716,2272,2176,1850,1802,1756,1817,1847,2378,2951,2632,2343,2359,1485,2354,3355,2718,2328,2336,1971,1892,1791,1950,1681,1573,2272,2619,2098,1584,1863,2348,2468,2338,2490,2678,2226,1593,1654,1860,2071,2282,2337,2575,2639,3095,2917,2156,2110,2405,2783,2900,3072,2251,2019,1865,1892,1818,1923,1994,1807,1767,2121,2621,2357,2485,2418,3055,3364,3012,2551,2662,3139,3274,3117,3054,3175,3300,3530,3492,3661,3648,3471,3548,3259,2229,1819,1916,1946,2208,2534,2966,3334,3530,2917,2677,2231,2986,3312,2824,2780,3264,3710,3409,2879,2631,2244,1931,2026,2026,2261,2281,1921,2461,3029,2336,1725,2081,2665,2819,2801,2266,2060,2054,2136,2114,2068,2075,2095,2030,2132,2204,2182,2260,2181,2018,1970,2171,2222,2236,2179,2094,1925,1924,2048,1981,1887,1721,1552,1608,1705,2304,2731,2354,2093,1699,1887,2848,3525,3373,2977,2856,2900,3028,2210,2117,2199,2840,3118,2898,2323,2196,2897,2670,2327,2058,2850,2884,2666,2300,1885,2051,2382,2564,2872,2945,2974,3200,3087,3068,2778,3162,2831,2545,2656,2507,2817,3086,3431,3504,3293,2888,2603,2902,2776,2610,2878,3244,3023,2696,2695,2724,3119,3206,2978,2810,2379,2435,2875,3337,3180,3422,3477,3134,2864,2855,3205,3378,3271,3260,3366,3536,3233,3172,3263,3064,2616,2810,3364,3382,3137,3040,3162,3388,3542,3399,3449,3210,2718,2919,3249,3199,2811,3000,3123,2790,2602,2851,3006,3012,3297,3627,3431,3256,3111,3137,3072,2835,2561,2906,3011,2609,2588,2972,3098,3194,3196,2763,2334,2390,2469,2457,2340,2571,3017,2866,2812,2863,2511,2332,2427,2423,2823,3199,2362,2208,3024,2610,2160,2166,1970,2346,2489,2148,1781,1469,1732,1853,1860,1604,1353,1361,1598,1700,1627,1696,1806,1974,2312,2179,2310,2162,1914,2044,2490,2629,2583,2472,1750,2074,1996,1683,1623,1650,1664,1603,1450,1491,1606,1654,1618,1720,1796,2059,2393,2371,2188,1742,1522,1407,1454,1476,1428,1367,1360,1534,1829,1887,1882,1751,2487,2525,2041,1941,2450,2699,2621,2280,1987,2618,3491,3221,2702,2114,2403,2425,2018,1627,1654,1519,1677,2796,3182,2096,1945,1998,2312,2050,2150,2406,1950,2110,1798,1982,2496,2182,1990,1880,2820,2038,1717,2160,2789,2162,1987,2309,2241,2090,2152,1574,1560,2144,1515,1570,1659,1738,1549,1694,1927,2386,2605,2495,2460,2317,2000,1699,1345,1972,3189,2700,2426,2844,2735,2752,2468,1938,2512,2852,2159,2200,2258,2592,1949,1670,1802,2033,1940,2454,2976,2894,3012,3064,2642,2468,3003,3061,2436,2586,2753,2612,2157,2324,2768,2809,2909,2923,2640,1993,2137,2414,2598,2214,2194,2185,2303,2762,2871,2978,3551,3992,3924,3971,4100,4123,4223,3818,3387,3458,3177,2951,2668,2840,3050,2640,2708,3322,3452,3355,2749,2466,2532,3780,3939,2490,1628,1498,1356,1368,1337,1452,1547,1418,1398,1462,1588,1716,1757,2113,2834,3840,4221,4108,3829,3614,3569,3741,3604,2778,2563,2902,3498,3878,3417,2976,3517,3911,3326,2398,1993,2087,1654,1024,756,614,568,545,492,434,422,447,461,429,411,428,417,423,444,454,427,423,442,482,521,565,588,625,745,663,615,570,626,698,649,591,629,659,674,688,673,615,566,581,594,577,545,542,550,525,486,470,459,451,454,461,469,483,509,519,517,500,515,535,534,488,447,506,697,939,1061,1011,828,943,879,804,803,789,785,720,791,930,781,727,750,790,826,871,791,710,684,678,681,678,658,632,752,892,895,843,834,789,794,902,926,898,890,890,929,982,1037,1091,1193,1284,1386,1454,1512,1538,1483,1364,1251,1208,1177,1238,1382,1334,1217,1213,1209,1190,1186,1179,1187,1220,1277,1455,1610,1586,1512,1400,1278,1205,1165,1106,1084,1078,987,971,993,948,905,823,772,769,747,695,642,641,644,662,646,616,607,599,587,574,568,565,573,580,576,585,609,655,734,790,830,959,1096,1035,1027,1144,1339,1659,1300,1070,1283,1661,2540,3574,4225,4196,4042,4288,4017,4219,4283,4212,4328,4214,3917,4088,4133,3230,2093,1031,599,487,408,389,403,385,368,367,372,367,360,356,351,344,352,357,364,362,353,355,354,350,352,353,356,361,369,376,388,392,406,447,494,514,519,545,561,631,682,631,675,676,563,570,528,507,497,480,467,461,438,422,402,402,449,441,429,387,353,346,345,340,344,354,368,376,378,381,378,375,378,375,374,374,381,390,399,407,430,448,463,467,467,472,465,438,414,407,398,373,339,322,319,310,302,296,286,279,273,274,267,266,267,266,267,274,282,288,287,297,303,300,301,299,309,323,325,328,324,315,313,309,301,298,295,302,357,408,452,472,469,449,421,388,373,363,350,329,315,315,321,325,331,339,347,341,325,321,320,321,321,316,308,301,300,292,290,286,293,290,286,273,267,259,258,266,278,274,269,269,270,270,268,266,264,263,257,253,249,250,250,248,245,242,247,247,245,250,254,251,255,255],[2589,2632,2850,3370,3103,3029,3211,3146,2686,2817,3152,2958,2030,1538,2279,3234,2846,2731,3131,3309,2946,2719,2581,2202,1840,2802,4054,3886,3650,3067,2176,1917,1880,2222,2618,2612,2840,3079,2338,1443,1332,1819,2344,2424,2174,2335,2576,2768,3001,2968,2837,2877,2958,3062,3031,3422,2276,1978,2662,3326,3662,3018,2266,1932,1970,1802,2116,2136,1731,2492,3099,2778,2779,3464,3421,2410,2044,2177,2359,2563,2622,2748,3045,3514,3861,3421,3715,4189,3917,3821,3885,4028,3873,3182,2767,2603,2076,2043,2908,2959,2708,2610,2375,2522,2829,2821,2611,2730,2912,3375,3682,3484,3616,3433,2419,1888,1447,1835,2564,2814,2821,2909,2602,2635,2600,2595,2489,2477,2655,3334,3115,2363,2378,2855,3040,3023,3131,3060,2859,2866,2774,2868,2953,3495,3830,4101,3549,2965,3152,2972,2668,2408,2008,2037,1885,1895,2658,2462,2734,3083,2607,2047,1494,1168,1391,1857,2319,2633,2503,2414,2588,2702,2570,2644,2565,2237,2191,2325,2448,2491,2645,2494,2469,3366,3705,3164,2579,1606,1303,2580,3976,3998,3886,3480,3466,3571,3239,2673,2271,2462,3005,2837,2029,1664,1947,2011,1846,1930,1714,1757,2001,1780,1631,1759,1877,2236,2258,2412,2863,2920,2368,2029,2160,2152,2134,2018,1490,1540,2015,1823,1908,2250,2274,2196,2242,2299,2342,2114,2127,2329,2255,2310,2641,3195,3636,3362,2927,3075,3414,3528,3588,3430,3318,3183,2907,3285,3071,3030,3186,3318,3089,2632,2344,2190,2370,2193,2544,3032,2555,2113,2149,1939,1771,1707,1962,2407,2356,1972,1677,1581,1623,2087,2430,2386,2220,1938,2481,3354,3198,2952,3146,3300,3342,3413,3715,3572,3331,3121,3000,2983,3497,3611,3441,3326,3213,3526,3659,3711,3486,3369,3628,3711,3348,3308,3295,3332,3681,3773,3514,3359,3255,3203,2958,2989,3951,4281,3978,3474,3927,4131,3462,3172,3073,2744,3687,4459,4549,3772,3377,2878,2588,2713,2523,2335,2379,2686,2897,2314,1996,1796,2127,2490,3056,3321,3539,3046,2856,2966,3161,3320,2761,2588,2648,3044,2941,2404,2908,3015,3023,2497,1997,2094,2129,2239,2473,2706,2846,3287,3272,3570,3992,3759,3021,2755,2681,2619,2338,2100,2305,2939,2241,2119,2149,2258,2335,2266,2247,2083,1851,2001,2031,2293,3085,2712,1857,1785,2152,2236,2429,2000,2755,3123,3074,3243,2887,2281,2353,2533,2532,2227,1987,2033,1912,1808,2027,2093,2085,2279,2325,2308,2385,2323,2160,2126,1979,2286,2661,2535,2002,2212,2269,1970,2302,2302,2189,2141,2189,2314,2669,2629,2632,2663,2457,2126,2018,2152,2252,2096,1765,1557,1338,1341,1989,2073,2048,2239,2318,2507,2916,3106,3285,3066,2996,2895,2500,2673,2909,2952,2824,2265,2040,2302,2479,2374,2135,2198,2535,2702,2563,2353,2020,2041,2454,2842,3241,2746,1981,1321,1179,1853,2314,2172,2135,2108,2299,2552,2917,2802,2590,2329,2162,1819,1922,2727,3629,3084,2825,3374,3750,3703,3086,3180,2337,2130,2210,2090,2008,1829,2662,2857,2033,2599,3476,3531,3377,2988,2286,2334,2775,2994,2533,2235,2483,1950,1982,2054,1927,1788,1812,1621,1547,1607,2003,2362,2057,2126,2341,2022,1908,1988,1763,1602,1510,1503,1517,1478,1630,1827,1824,1654,1605,2287,2642,2667,2308,2314,2084,2328,2559,2103,1787,1862,1889,1612,1651,1771,1802,1896,1975,1749,1651,2167,2204,2246,2244,1745,1695,2063,2123,1764,1787,1914,2027,1874,1649,1765,1945,1722,1539,1709,2022,2327,2592,2612,2736,2463,2061,1994,1970,2097,2070,1972,2043,1931,1772,1638,1400,1411,1739,2102,2177,2311,2571,2302,2081,2193,2185,2169,2270,2228,2176,1920,1637,1714,2753,2960,2074,2079,1929,1815,1802,1826,1726,1906,2177,1810,1871,2886,3873,3849,3849,3785,3918,3781,3520,3318,3239,3132,3175,3106,2950,2941,3154,3155,3398,2989,2125,2584,3069,3099,3108,2236,2197,2503,2372,2525,2580,3022,3165,3602,4308,4541,4652,4754,4035,3398,3328,3087,2837,2450,2192,2646,2765,2551,2821,3123,3464,3503,3520,3689,3683,3508,3163,3173,3329,3506,3178,2876,2975,3307,3413,3494,3505,3492,3344,3095,2883,3206,3807,4022,3790,3536,3472,3817,4153,3794,3116,2939,3248,3060,2655,2763,2850,2341,2121,2008,2023,2099,2153,2181,2291,2305,2363,2810,3061,2862,2537,3008,3000,3130,3061,2720,2521,2386,2171,2205,2589,2894,2640,2348,1998,1691,1677,1577,1493,1970,2455,2287,2018,1874,1935,1750,1662,1444,2120,2535,2785,3199,3067,2420,2869,2973,2139,2008,2396,2232,1773,1520,1588,1708,1949,2678,2841,2340,2283,2548,2613,2501,2430,2424,2446,2424,2013,1688,1827,2045,2232,2496,2607,2585,2938,2585,2219,2438,2709,2811,2973,3237,2685,2087,2030,2076,2165,2314,2052,2131,2755,2891,2636,2401,2100,2513,3223,3341,2834,2470,2844,3309,3338,3219,3088,2986,3118,3505,3501,3603,3651,3605,3641,3454,2584,1841,1870,1871,1946,2215,2712,2977,3385,3232,2360,2292,3100,3101,2730,3022,3270,3400,3466,3240,2612,1841,1572,1959,1730,1793,2206,1988,2103,2438,2208,1974,2636,2959,2859,2658,2106,1992,2125,2075,2055,2106,2145,2079,2085,2079,2207,2257,2200,2284,2463,2490,2558,2532,2267,2192,2188,1962,1888,1996,1896,1847,1788,1565,1699,1705,2204,2531,2228,1925,1642,1803,3024,3952,3532,3142,3653,3463,2872,2057,2053,2429,3044,3111,2713,2403,3113,3604,2569,2322,2859,2931,2481,2422,2160,1878,2167,2356,2205,2262,2293,2587,2652,2829,2552,2973,3477,2558,2799,2966,2954,3716,3548,2751,2499,2962,2861,3020,2778,2813,3017,3190,3000,2495,2352,2541,2824,2964,2953,3012,2983,2669,2728,3016,3151,3085,3316,3213,3174,3110,2999,3261,3361,3141,2907,2944,3220,3130,2980,2852,2766,2887,3406,3576,3522,3523,3320,3320,3404,3387,3403,3422,3273,2317,2479,3466,3518,3285,3155,2653,2281,2495,2966,2964,3023,3363,3847,3647,3492,3400,3320,3134,2944,2954,2978,2478,2374,2432,2767,2428,3083,3180,2836,2709,2309,1970,2147,2200,2416,2822,2644,2852,2613,2333,2471,2303,2207,2465,2943,2679,2440,2857,2789,2784,2919,1911,1748,2197,2304,1964,1803,1844,1858,1808,1621,1553,1424,1829,1912,1998,2200,1887,2086,2195,1912,1818,1678,1718,1829,2267,2886,2900,2392,1877,1871,1638,1409,1491,1802,2184,1948,1528,1516,1758,2095,1795,1853,1835,2026,2320,2363,2063,1800,1524,1583,1592,1387,1411,1419,1455,1648,2425,3274,2973,2451,2658,2639,2841,3313,3197,2969,3062,2701,2708,2855,2874,3165,3011,2268,1999,1904,1560,1476,1563,1549,1782,2075,2247,1918,1688,1898,2438,2056,1619,1682,2334,2358,1799,2688,3129,2386,2165,1885,2946,2676,2008,2406,2561,2458,2456,2360,1993,1653,1571,1468,1497,1911,1608,1637,1661,1731,1531,1740,2071,2483,2458,2104,2366,2502,2597,2136,1504,2509,3119,2269,2114,2691,2688,2846,2972,2709,2984,3040,2261,2262,2472,2447,1976,1716,1691,1579,1743,2460,2631,2918,2685,2415,2839,3414,3071,3117,2696,2556,2495,2203,2031,2418,2724,2769,2986,2854,2674,2222,2095,2128,2098,1878,2059,2598,3192,3479,3361,3257,3897,4042,3854,3814,4004,4152,4256,4049,3553,3265,3272,3167,2892,2971,3185,3338,3274,3310,3500,3330,2839,2634,2680,3620,4063,2940,1788,1620,1612,1686,1615,1594,1525,1444,1514,1447,2063,2387,2470,3219,3676,4212,4311,4172,4099,4202,4104,4205,4093,3281,3156,3505,3721,4070,3780,3342,3641,3958,3498,2844,2227,1988,1488,988,725,624,572,518,498,444,421,434,431,435,448,451,447,464,487,469,414,402,419,460,493,533,557,567,707,637,589,556,588,647,607,586,635,640,650,665,655,611,561,552,555,545,530,527,527,508,487,464,434,417,433,449,477,477,491,500,507,506,520,545,551,532,459,470,563,807,993,1049,899,1177,1124,819,849,886,883,788,763,982,948,780,762,839,866,998,928,750,707,702,711,694,692,648,705,837,934,876,832,795,764,870,928,857,864,864,910,960,996,1060,1128,1217,1332,1434,1513,1484,1454,1382,1251,1202,1161,1193,1357,1346,1243,1210,1190,1173,1186,1188,1192,1214,1298,1511,1605,1505,1425,1352,1256,1172,1125,1094,1059,1028,966,941,963,938,908,849,799,773,760,713,673,662,650,641,636,633,611,580,571,572,556,543,546,555,557,558,592,648,704,774,842,903,1065,1028,1026,1129,1307,1573,1318,1072,1376,1976,2770,3747,3923,4056,4095,4458,4195,4175,4142,4112,4211,4477,4202,3737,3730,3409,2567,1248,668,512,418,381,378,369,362,363,366,364,361,357,352,343,350,347,352,353,353,350,350,350,351,356,362,366,369,381,382,390,400,438,490,515,518,538,563,627,720,690,686,655,567,549,527,510,493,471,459,452,434,426,416,399,443,435,420,387,361,344,337,336,344,350,366,375,372,375,372,364,366,367,373,375,378,394,405,410,421,433,439,434,429,438,445,436,418,400,387,363,336,318,311,305,300,291,283,278,274,267,265,270,271,266,278,284,287,290,292,303,300,289,284,309,346,358,348,346,352,353,353,348,331,303,321,373,415,423,434,459,457,438,432,411,400,384,367,348,330,331,335,338,334,336,345,345,328,320,323,320,312,311,303,295,295,289,287,285,288,287,285,275,267,259,257,263,264,267,267,264,263,263,262,262,259,257,255,254,248,243,242,241,241,241,243,243,247,247,250,254,255,251],[2786,2841,3039,3338,3372,3105,3106,2691,2310,2638,3185,2849,2218,2042,2482,2474,2270,2445,2753,2855,3118,2532,2183,1638,1553,3105,4113,3422,2868,2559,2208,2165,2366,2655,2708,2426,2626,2917,2390,2260,2426,2246,2458,2136,2447,2687,2397,2524,2807,3040,3248,2887,2799,2904,2978,2591,1721,2000,2852,3475,3747,3612,3010,2301,2189,1997,2485,3110,2700,2357,2250,2059,2065,2793,3057,2509,2209,2595,3065,2915,3391,3763,3936,4056,3464,3479,4144,4405,4184,4049,4004,4004,3821,2789,2324,2167,1860,2073,2954,2943,2565,2529,2414,2371,2644,2705,2709,2851,3348,3920,3785,3437,3660,3250,2013,1464,1761,2345,2541,2409,2640,3399,2987,3483,2899,2215,1951,2014,2587,3144,2830,2624,2925,2904,2931,2579,2265,2283,2424,2317,2398,2322,2353,2591,2786,2864,2707,2651,2596,2567,2685,2554,2297,2160,2022,2133,2261,2315,2640,2542,2268,2251,2398,1972,1682,1852,2472,2754,2469,2390,2564,2790,2886,2898,2436,2119,2332,2278,2454,2688,3125,2710,2194,3143,3740,3167,2714,2157,1192,1854,3747,3754,3287,2965,2959,2808,2444,2413,2934,3630,3760,3040,2239,2112,2070,1943,1873,1836,1675,1779,1936,1925,1854,1864,2254,2237,2077,2339,2278,2200,2386,2419,1952,2287,2977,2439,1482,1549,1859,1803,1852,2054,1952,1925,2142,2393,2454,2202,2116,2236,2391,2711,3073,3448,3356,3023,3175,3365,3638,3663,3719,3449,3154,3212,3068,2962,2813,2849,3007,2988,2416,2115,2339,2112,2272,3182,2473,2617,2277,1916,1938,1680,1833,2056,1970,2065,2216,2138,2005,1883,1742,2062,2035,1735,1678,1518,1940,2437,2396,2778,3438,3606,3650,3247,3284,3596,3549,3206,3330,3614,3697,3836,3703,3507,3480,3562,3494,3444,3242,3067,3256,3346,3053,2916,2806,2910,3626,3818,3522,3260,3062,2999,2742,3082,3394,3687,3970,3971,4105,4067,4008,3835,3502,2922,3159,4219,4148,3726,3292,2618,2668,2560,1957,2244,2531,2521,2608,2231,2311,1883,2090,2226,1729,2152,2667,2536,2802,2490,2612,3134,2344,2403,2985,3372,2775,2082,3357,3599,2998,2144,1492,1589,2192,2291,2145,2426,2933,3486,3364,3936,4123,3740,3369,2900,2722,2541,2186,1864,2238,3287,3008,2414,2046,2190,2167,2172,2295,2074,2008,2576,2753,2831,2774,2473,1983,1823,2128,2152,2345,2163,2655,3042,2909,3216,3067,2490,2718,2437,2155,2166,1843,1846,1853,1845,2180,2178,1854,1949,2009,2068,2070,2236,1891,1779,2220,2167,1916,2077,2136,2221,1915,1640,1775,2113,2381,1976,1928,2106,2519,2532,2754,2934,2614,2260,2250,2331,2303,2360,1725,1400,959,779,1643,2031,2222,2384,2157,2320,2957,3255,3276,2709,2664,2742,2763,2795,3002,2833,2442,2142,2156,2251,2436,2520,2298,2213,2125,2250,2226,1791,1666,2214,2453,2339,2386,2595,2676,2315,1776,2083,2500,2733,2466,2194,2037,1996,1953,2277,2535,2544,2441,1960,2553,3143,3890,3936,3570,3492,3028,2655,2867,3104,2884,2670,2131,1618,2006,2298,2142,2392,1991,2473,3142,3204,3485,3317,2603,2349,2332,2282,2135,2230,2359,1782,1702,1694,1803,1999,1814,1709,1782,1694,2023,2031,2031,2923,2643,1707,2049,2565,2230,1846,1679,1552,1659,1552,1697,2026,2151,1969,2199,2269,2447,2621,2222,2287,2232,2070,2429,2532,2182,1998,1808,1813,2049,2092,1960,1647,1611,1593,1922,2496,2566,2593,2332,1570,1538,1882,2202,2060,1956,1884,1727,1672,1560,1736,2056,1837,1710,1944,2295,2282,2420,2800,2969,2309,2256,2249,2224,2270,2611,2712,2288,2069,2046,2161,1710,1583,1947,2080,2176,2415,2086,1922,2071,2100,2039,2181,2220,2341,2791,2263,1809,2198,2644,2135,1952,2026,1794,1731,1776,1785,1774,1919,2131,1847,1616,2431,3615,3872,3896,3973,3947,3761,3540,3455,3359,3575,3642,3372,3189,3121,3140,3012,2962,2687,2137,2331,2958,3219,3501,2714,2244,2008,2082,2144,2124,2317,2753,3162,3652,4176,4644,4255,2533,2268,2867,3115,2964,2454,2237,2725,2244,1929,2407,2436,2659,2774,3134,3338,3564,3871,4532,4320,4153,4288,3652,3119,3418,3533,3186,3511,3737,3630,3399,3255,3052,3071,3362,3746,3782,3627,3738,3970,3541,2911,2644,2893,3206,3361,2823,2161,2141,2307,2307,2378,2627,2444,2042,2135,1992,1737,2293,3251,2744,2211,2016,2587,3375,3593,3032,2462,2556,2480,2546,2519,2974,3295,2801,2494,2178,1901,1855,1637,1508,2094,2565,2442,2483,2411,2281,1999,1677,1538,1858,2017,2810,3659,3476,3305,3333,3020,2272,2002,2133,2099,1703,1580,1754,2163,2535,2887,2759,2382,2313,2416,2355,2405,2491,2452,2299,2330,1854,1443,1586,1988,2064,1939,2361,2691,2579,2148,2307,2932,2670,2286,2480,3223,3244,2677,2508,2722,2799,2456,2040,2499,2945,3200,2743,2398,2420,2601,3057,3339,2900,2552,2736,2932,3218,3039,3131,2844,2824,3185,3488,3605,3624,3604,3592,3331,2695,2168,2257,2350,2001,2046,2405,2752,2976,2885,2643,2530,3043,3406,2740,2367,2437,2683,3057,2994,2562,2510,2375,2309,1992,1664,1918,2390,2222,2479,2742,2440,2791,2896,2609,2348,2034,2237,2785,2759,2347,2076,1964,1873,2111,2644,2790,2577,2171,1932,1881,1975,2176,2149,2178,2397,2395,2511,2382,2125,1929,1740,1583,1551,1625,1670,1584,1503,1690,1761,1682,2120,3190,4026,3801,2915,3688,4062,3016,2653,2862,2676,3100,3216,2565,2351,2836,2766,1975,2356,3019,3162,3150,2741,2562,3041,3404,3053,2617,2907,2353,2140,2116,2307,2170,2862,3385,3253,3338,2934,3194,4216,3217,2352,2507,2811,2849,3177,2824,2907,3200,3283,2752,2273,2339,2506,2676,2998,3217,3238,3276,2917,2797,3068,2844,2720,3096,3238,3270,3160,3218,3286,3138,2905,3023,3020,2911,2957,3155,3219,3252,3423,3496,3495,3582,3762,3751,3561,3501,3574,3790,3551,3111,2289,2535,3371,3277,3419,3189,3025,2687,2784,3077,3038,2990,3329,3550,2748,2565,3390,3373,3056,2958,2999,2953,2504,2499,2775,2854,2379,2490,2448,2559,2899,2488,1976,2100,2068,2162,2485,2486,2864,2744,2464,2566,2667,2796,2799,2731,2545,2326,2540,2508,2741,3095,2169,1982,2213,2188,1869,1780,1804,2000,1975,1835,1737,1552,1760,1739,1993,1704,1545,2057,2373,2418,2123,1830,2037,1886,1981,2512,2406,2241,2004,2031,2023,1820,1649,2062,2739,2089,1655,1578,1430,1515,1666,1651,1518,2133,2784,2286,1866,1804,1488,1454,1550,1396,1245,1373,1383,1405,1904,2009,2126,2492,2779,2679,2776,3163,2405,2411,2691,2733,2789,2800,2988,2999,2800,2475,2355,2284,1646,1423,1460,1456,1701,1421,1497,1453,1417,1414,1660,1587,1724,2475,2543,1989,2131,3261,2708,2260,2784,2500,2491,2401,2359,2641,2218,2034,2297,2161,2161,1844,1601,1876,2037,2029,1790,1590,1700,1533,1536,2330,2809,2512,2279,2632,2452,2364,3169,2770,2043,2884,3561,3010,2525,2710,2874,2668,2549,2530,2791,2467,2280,2634,2363,1979,1979,1848,1718,1597,2034,2636,2640,3362,3153,3106,3169,3160,2561,2421,2309,2459,2680,2094,1911,2515,2862,2998,2661,2515,2450,2097,1805,1930,2292,2556,2729,3387,3847,3609,3362,3028,3633,3798,3660,3338,3572,3959,4062,4084,3605,3147,3575,3754,3307,3278,3065,3288,3392,2779,3023,3473,3284,3078,3108,3476,3972,3674,2950,2336,2007,2492,2403,1926,1885,1976,1915,1658,2263,2942,3008,3902,4301,4368,4403,4163,3924,3943,3962,4062,4216,3969,3848,3550,3497,3984,4255,4183,4148,4045,3581,2893,2244,1687,1217,945,706,603,559,549,507,494,471,441,407,419,450,463,478,495,496,451,382,394,401,437,470,509,545,527,648,627,561,555,566,642,623,541,600,640,608,620,626,594,556,534,534,534,532,527,510,488,473,453,427,409,421,427,474,486,479,496,503,498,506,542,566,603,497,510,548,726,941,1038,876,1147,1329,904,911,1027,984,904,790,956,1114,929,810,883,940,1058,1072,834,752,746,757,735,723,667,663,773,904,896,846,798,737,818,932,856,873,865,900,927,966,1019,1092,1132,1181,1353,1433,1406,1409,1428,1340,1252,1172,1178,1318,1365,1297,1245,1186,1157,1201,1226,1235,1284,1333,1528,1541,1437,1368,1304,1230,1166,1111,1072,1036,993,948,938,926,913,902,859,792,745,717,687,676,670,650,638,640,633,597,570,570,556,539,522,523,538,551,559,588,638,687,753,846,887,1038,1048,1072,1127,1296,1471,1304,1147,1486,2058,3194,4047,3894,3928,4172,4564,4512,4394,4340,4156,4139,4360,4026,3505,4170,3926,3109,1553,747,537,440,382,354,347,350,353,360,363,355,354,352,344,346,345,345,346,344,345,345,347,355,351,359,359,361,368,375,388,401,432,479,511,516,533,574,655,726,694,670,634,561,528,523,507,493,473,458,446,439,426,426,408,434,433,413,387,358,340,334,330,335,350,361,375,377,371,360,355,357,362,364,371,381,392,397,410,413,422,422,428,429,432,446,436,414,397,380,355,336,317,306,300,291,292,286,280,274,273,271,273,280,278,280,292,306,320,336,337,330,327,337,365,384,390,396,397,399,393,388,392,356,320,339,379,377,370,391,410,414,420,420,420,422,408,384,374,368,362,357,349,338,338,349,353,336,320,314,314,307,304,301,298,290,289,285,283,280,279,278,270,262,255,253,258,255,259,262,264,263,263,261,259,258,257,247,246,246,242,244,234,235,237,239,242,240,243,241,246,253,250],[2840,2609,2416,2929,3183,2797,3211,3008,1976,1667,2204,2580,2571,2333,2260,2337,2633,2833,2449,2377,2987,2385,1921,1915,2530,3346,3231,2192,1894,2232,2487,2678,2497,2257,2405,2407,2647,2662,2431,2314,2688,2676,2370,2528,3270,3293,2836,2463,2785,2994,3357,3198,3124,2806,2675,2434,2163,2547,2968,3155,3500,3808,2900,2164,2721,2779,2779,3253,3243,2449,2060,1945,1997,2273,2612,2944,3088,3274,3587,3308,3836,4005,4069,4111,3570,3748,4472,4372,4253,4220,3963,4158,4388,3752,3146,2858,2866,2876,3071,2873,2801,3144,3006,2469,2567,3033,3263,3308,3536,3949,4108,4071,4129,3664,2823,2312,2363,2576,2078,1513,1742,2924,2393,2315,2262,2292,2397,2146,2742,3261,2813,2481,2507,2539,2823,2225,2116,2493,2580,2687,2778,2286,2292,2835,3343,3974,3886,2885,2197,2243,2119,2202,2671,2858,2453,2170,2128,2208,2459,2270,2153,2165,2448,2133,1948,1992,1889,2197,2422,2146,2303,2878,3023,3025,2783,2884,2785,2575,2756,2933,3692,3220,2298,2828,3357,2965,2802,2689,1472,1308,3042,3488,2964,2628,2409,2587,2845,2878,3160,3637,3404,3230,2436,2060,2019,2313,1886,1681,1631,1723,1736,1840,2003,2093,2177,2010,2534,2908,2502,2166,2126,2021,1782,1840,2423,2340,1616,1544,2098,2332,1874,2165,2435,1842,1704,2190,2182,2187,2239,2325,2708,2830,2979,3060,3018,3129,3544,3817,3737,3444,3396,3022,2927,3085,2961,2805,2663,2907,2908,3217,2786,2048,2222,1986,1985,2496,2288,2190,1929,1848,1886,1913,2230,2189,2383,2440,2325,2113,1902,1753,1947,2258,2118,1712,1587,1715,2082,2136,2519,2672,3422,3632,3345,2957,2916,3134,3206,3098,3264,3652,3528,3648,3413,3492,3650,3870,3840,3439,3269,3057,3115,3444,3473,3471,3322,3370,3865,3792,3361,3184,3168,3172,2845,2708,2678,3154,3638,3904,4176,4165,3814,3398,3418,3602,3836,3898,3619,3581,3132,2525,2524,2446,1982,2403,2369,2877,2906,2253,2155,1892,2097,2117,1420,1421,1571,1813,2190,2025,2636,3233,2907,2777,2758,3001,2684,2498,3153,3305,2733,2271,2021,1475,1619,2256,2205,2311,2806,2733,2979,3603,3632,3509,3019,2665,2646,2538,2719,2455,2280,2568,2317,1834,1887,2182,2098,1975,2360,2350,2019,2731,3307,2833,2267,2482,2002,1675,1596,1947,2402,2280,2289,2430,2778,2875,2592,2157,2165,2006,1702,1641,1643,1764,1908,1951,2117,2019,1873,1936,1860,1880,1704,2004,1775,1587,1852,1868,2020,2248,2220,2062,1670,1581,1820,1759,1837,1864,1920,2173,2400,2215,2387,3061,3074,2813,2584,2449,2264,2493,1987,1653,1482,1463,1731,2119,2436,2397,2226,2120,2746,2741,2297,2257,2291,2736,3120,3018,2852,2562,2273,2197,2147,2136,2442,2500,2459,2374,2270,2148,1962,1319,1240,1797,2367,2642,2524,2417,2710,3097,2354,2307,2635,2684,2492,2218,2098,2133,1982,2068,2438,2640,2526,2255,2800,2990,2827,3117,3042,3200,2386,2201,3028,3256,3449,3129,2416,2231,2067,1901,2148,2342,1910,2137,2689,3041,3510,3077,2055,1776,1651,1868,1982,2214,1784,1508,1605,2017,2260,2141,1936,1891,1899,1654,1707,1962,2230,2625,2288,1987,2604,2718,2128,1707,1640,2134,2551,2408,2216,1731,1701,1979,2534,1993,2054,2271,1940,2076,2191,1961,2459,2368,2209,2213,1981,2112,2323,2270,1930,1741,1748,1802,2304,2617,2509,2480,2056,1948,1906,1949,2052,1832,1854,1701,1454,1515,1606,2043,2093,1756,1626,1892,2117,2204,2260,2408,2138,2121,2172,2267,2215,2595,3703,3724,3373,3083,2631,2508,2127,2031,2144,2078,2095,1979,1957,2141,2258,2136,1863,1937,2143,2273,2477,2086,1981,2259,2316,1953,1947,1972,1852,1831,1764,1713,1791,1669,2045,1943,1732,2858,3870,3854,3898,4091,3837,3637,3574,3146,2896,3354,3138,2863,3021,3128,3034,2944,2713,2362,2229,2105,2574,3117,3393,2758,2228,2258,2467,2258,2127,2142,2387,2729,2898,3394,3816,3757,2423,2660,2864,2861,2590,2225,2156,2340,1857,2136,3029,2044,1672,1890,2257,2828,3163,4132,4971,5068,5043,4673,3993,3494,3905,3912,3595,3189,3106,3576,3422,3262,3255,3121,2937,2834,2846,3110,3555,3602,2910,2673,2607,2499,2873,3306,2604,1966,1935,2110,2484,2776,2812,2513,1927,2086,1896,1771,2388,3416,2677,1804,1924,2697,3589,3854,3573,3108,2946,2584,2697,2707,2980,2923,2382,2385,2597,2254,1792,1653,1487,1839,2327,2374,2458,2463,2952,2946,2141,1658,1925,2195,2865,3870,3605,3541,3716,3417,2685,2361,2203,2154,2568,2665,2321,2269,2418,2209,2280,2361,2470,2565,2408,2457,2470,2222,2134,2203,1942,1595,1489,2010,2611,2266,2475,2765,2809,2765,2900,2768,2349,2355,2609,2959,3167,3021,2680,2730,2827,2297,2098,2573,2890,2721,2346,2461,2720,2720,2753,2469,2269,2445,2588,2603,3062,3272,3251,2923,2808,3029,3338,3575,3675,3719,3692,3454,3029,2380,2205,2186,1993,2042,2536,3131,3117,3018,3282,2709,3075,2932,2597,1985,2345,2658,2673,2372,2172,2558,3132,2651,2236,2534,2828,2435,2348,2909,2552,2352,2834,2975,2567,2217,2003,2194,3168,3661,3023,2567,2280,2241,2686,3107,3078,2774,2199,1959,1886,1792,1814,1826,1793,1785,1970,2227,2270,2453,2469,2335,2292,2082,2078,2090,1635,1510,1786,1875,2246,2540,3352,3437,3033,2900,3915,3895,2662,3208,3367,2295,2841,3376,2460,2689,3583,2351,1590,2619,2736,2806,3212,2709,2718,3332,3415,2997,3084,3444,2859,2535,2484,2853,2809,2263,2321,2832,3215,3051,3484,3504,2754,2496,2875,2709,2830,2837,3050,3511,3282,3039,2757,2579,2622,2643,2647,3051,3161,3065,3121,2946,3075,3397,3241,3253,3078,2917,2987,3062,3265,3110,2789,2753,3436,3594,3421,3421,3501,3496,3596,3605,3649,3764,3762,3841,3719,3230,3215,3464,3622,3585,3332,2971,3504,3751,3751,3975,3688,3493,3068,2962,3119,3022,3063,3551,3312,2488,2853,3381,3316,3155,3000,2707,2626,2544,2578,2749,2759,2505,2032,1976,2435,2664,2286,1919,1943,2103,2267,2428,2674,2873,2824,2877,2743,2760,2814,2468,2379,2277,2134,2240,2018,2152,2219,1828,1267,1402,1926,1592,1456,1461,1618,1680,1931,1781,1553,1640,1740,1713,1576,1701,2078,2599,2571,2239,1825,2059,2208,3112,3472,2433,2068,1813,2094,2514,2557,2303,2380,3121,2102,1764,1581,1484,1387,1358,1483,1656,2215,2511,2092,1653,1787,1863,1732,1895,1797,1425,1319,1283,1284,1405,1598,2145,2658,2563,2233,2789,2543,1841,2179,2725,3255,2986,2751,2654,2258,2440,2833,2886,2709,2221,1790,1976,1710,1625,1406,1384,1466,1478,1308,1359,1446,2030,2254,2024,2188,2421,2797,2427,2974,3115,2647,2322,2150,2414,2646,2311,2088,2377,1995,2260,2107,2301,2435,2690,2486,1735,1644,1835,1775,2005,2665,2802,2418,2383,2416,2066,2478,3209,3072,2479,2671,3455,3775,2894,1889,2205,2685,2787,2647,2577,2338,2623,2651,2330,2228,2207,2037,1856,1602,2250,3357,3051,2865,2965,3431,3198,2625,2473,2526,2399,2621,2969,2513,2611,2805,2683,2468,2338,2326,2158,1842,1708,1807,2253,2885,2599,3161,3384,2832,2363,2297,3119,3876,3727,3151,3116,3438,3730,3895,3879,3558,3623,3926,3415,2997,2394,2359,2568,2081,2241,3168,3471,3498,3817,3589,3732,3858,3737,3234,2535,3176,3081,2833,3043,3121,2874,2252,2418,3442,3599,3904,4256,4371,4524,4356,3857,3495,3453,3883,4348,4241,3973,3671,3529,3678,4240,3892,3823,3639,3492,2902,2002,1371,975,886,777,618,570,550,551,528,510,477,439,418,412,441,485,523,492,452,387,392,397,416,449,491,528,508,593,625,542,550,556,661,680,525,550,620,585,579,586,564,536,514,515,516,515,504,494,482,458,426,411,411,417,412,453,486,486,506,505,491,493,537,568,646,565,546,557,707,920,1004,932,1027,1375,1073,836,985,1030,983,871,989,1119,1041,933,1015,1077,1022,1145,967,813,789,766,754,777,738,671,738,924,994,885,824,781,813,916,902,900,872,888,892,926,927,1032,1113,1150,1322,1425,1358,1365,1429,1350,1252,1188,1177,1266,1346,1337,1284,1259,1260,1262,1287,1321,1407,1333,1415,1455,1376,1306,1245,1177,1139,1100,1061,1010,957,925,914,903,895,875,856,786,719,698,675,675,666,625,637,633,622,612,585,567,556,544,523,515,527,537,549,584,617,700,776,823,894,1015,1052,1097,1107,1226,1405,1262,1241,1673,2043,3563,3619,3542,3621,3893,4295,4276,4283,4369,4047,3923,4015,3639,4145,4528,4532,3583,1804,823,592,465,383,354,343,342,348,357,357,359,353,349,344,345,345,341,338,339,342,343,347,347,345,352,349,348,351,369,384,397,428,475,516,522,546,547,613,672,664,634,598,543,507,521,495,481,466,458,443,437,426,416,425,431,424,407,384,358,334,331,332,337,347,359,375,374,363,356,347,345,351,361,368,377,385,390,400,404,407,412,420,420,425,435,430,414,391,369,354,335,318,304,296,296,294,291,285,282,277,275,278,277,299,287,301,321,342,354,357,371,395,416,421,423,434,411,371,358,343,350,374,361,350,354,349,342,368,387,390,399,404,400,411,431,420,393,381,378,370,365,355,347,345,355,351,338,320,308,307,306,301,300,292,288,285,275,275,274,274,272,265,263,257,254,255,255,254,257,262,254,255,255,255,258,251,248,243,242,240,235,236,234,232,234,241,241,238,238,244,250,249],[2954,2831,2965,3539,3141,2818,3334,3262,2123,1837,2174,2259,2087,2136,2004,2700,3577,3039,1582,1800,1779,1642,1837,2521,2995,2729,2436,2367,2678,3124,3030,2425,2477,2425,2492,2503,2632,2615,2270,2030,2475,2754,2584,2491,2746,3033,3100,2392,2768,3061,3378,3175,2846,2647,2510,2360,2613,3222,3176,3093,3081,3294,2900,3117,3085,3137,3557,3708,3186,2753,2566,2470,2552,2756,2799,3066,2863,3142,3615,3395,3731,4144,4228,4212,3935,4201,4304,4107,4308,4285,4240,4401,4288,3863,3286,3033,3300,3646,3409,3005,2728,3215,3188,2890,2604,2906,3444,3912,3960,3819,3937,4203,4251,3830,3343,2966,2814,2545,2076,1384,1826,2713,2493,2552,2597,3198,3052,2218,2841,3086,2680,2367,2386,2354,2413,2395,2702,2814,2850,3308,3111,2320,2136,2880,3576,4155,3965,2757,2295,2498,2114,2088,2642,2855,2579,2149,2044,2248,2454,2527,2426,2184,2352,2533,2706,2139,1358,1434,1794,2011,2100,2784,3191,2893,2850,2802,2459,2295,2333,2199,2470,2454,2227,2009,1888,2061,2343,2690,1888,1445,2645,3190,2728,2534,3010,3598,3476,2902,3162,3772,3387,2842,2279,1998,2088,2160,2073,1841,1701,1940,1627,1571,1904,2054,2057,2594,3049,3130,2666,2288,2194,2014,1775,1777,1973,1927,1628,1521,1995,2584,2113,2125,2194,1959,1814,1932,1807,1858,2038,2136,2770,2823,2770,2623,3029,2995,3378,3728,3781,3535,3344,3186,3188,3350,3553,3137,2964,3084,2879,3025,2408,2029,2194,2030,1948,1896,1948,2138,1968,1628,1792,2294,2472,2087,2163,2050,1931,1869,1842,1787,1710,2056,2336,2308,1874,2185,2483,2415,2592,2231,2580,2448,2096,2309,2592,2767,2750,2719,3068,3476,3464,3542,3487,3686,3765,3719,3791,3606,3318,3134,3001,3068,3172,3341,3303,3360,3894,3963,3487,3283,3297,3237,3216,3137,3351,3853,3938,4212,4251,3830,3353,3225,3462,3694,3773,3486,3292,3337,3540,3407,2806,2618,2239,2155,2763,3206,3076,2490,2046,1482,1710,2805,2261,1519,1471,2220,1941,2117,3006,3476,3204,2951,2462,1984,2366,2909,3046,3400,3417,2832,2343,2012,2046,2664,2291,1975,2774,2570,2576,3132,2831,2675,2424,2508,2743,2907,3248,2647,1962,1841,1730,1918,2210,2222,2157,1759,1982,2097,1706,2389,2796,2319,2348,2040,1804,1946,1845,2224,2741,2241,1804,1765,2044,2064,1862,1733,1926,1996,1827,1606,1583,1610,1840,1669,1845,1793,1819,2247,2097,1652,1716,1894,1823,1760,1630,1908,2365,2739,2220,2049,1886,1623,1939,1714,1598,1775,1918,2082,2203,2191,2438,2814,2688,2784,2530,2010,2136,2240,2062,2020,2199,2633,2903,2552,2563,2350,2261,1897,1816,1613,1732,2233,2428,2566,2619,2579,2570,2383,2164,2031,1896,2212,2490,2215,2363,2380,2020,1954,1747,1124,1140,1659,2853,3231,2880,2589,2245,2396,2619,2924,2646,2339,2387,2358,2486,2454,2224,2303,2579,2701,2250,1949,2075,2286,2646,2579,2546,2406,1720,2310,3526,3461,2728,2634,2707,2467,2042,1394,1628,1982,1714,2215,3124,3299,3395,2968,2078,1973,2214,2132,1713,1647,1588,1517,1624,2018,2294,2018,1980,2116,2084,2163,1963,1896,1792,1587,1556,2303,2730,2303,2043,1692,1748,3233,3834,3817,3084,1685,1451,1930,1993,1763,2178,2415,1997,1986,2096,2029,2214,1995,2248,2207,2208,2412,2462,2266,1864,1821,1770,1851,2269,2600,2842,2999,2214,1931,1805,1746,1700,1533,1590,1606,1571,1557,1578,1836,1819,1592,1567,1728,1998,2129,2169,1981,2004,2212,2128,2142,2195,2884,3827,4056,3958,3775,3538,2933,2669,2288,1861,1854,1877,1887,1906,2063,2542,2321,2144,1891,2113,2016,1926,2079,2423,2670,2316,1963,2113,1924,1793,1768,1723,1721,1760,2030,2258,1940,1929,2587,3348,3708,3561,3663,3488,3391,3300,2713,2523,2958,3094,2786,2787,2940,2854,2844,2580,2327,2231,1982,2554,3109,3024,2185,2146,2979,3166,2686,2086,1897,2090,2325,2631,3096,3231,3211,2943,2663,2814,2887,2498,2197,2070,2002,1787,2271,2484,1721,1432,1794,2123,1975,2098,3207,4264,4616,4356,4100,3815,3945,4540,4223,4100,3863,3820,3781,3444,3173,3054,3072,3010,2813,2621,2602,2778,2440,2471,3108,3320,3072,3184,3205,2834,2717,2652,2512,2201,1989,2124,1960,1908,2027,1772,1771,2464,3338,2730,2077,2402,2775,3395,3499,3686,3773,3515,2930,2441,2353,2688,2724,2220,2187,2152,1819,1659,1970,1645,1986,2216,1881,2136,2274,3112,3708,2850,1813,2062,2732,3132,3780,3692,3815,3636,3270,3194,3076,2622,2600,3083,3059,2588,2140,2629,2347,2460,2476,2788,2719,2456,2691,2830,2586,2420,2433,2122,1822,1861,2404,3243,3144,2922,2769,3040,3299,3054,2503,2293,2468,2325,2466,3000,2770,2640,2629,2523,2407,2691,2874,2742,2380,2200,2500,2652,2694,2482,2259,2665,3071,3234,3175,3230,3366,3363,3160,3046,3108,3232,3363,3513,3649,3675,3501,3153,2767,2414,1944,1754,2023,2543,2864,2356,2727,3608,2651,2284,2229,2448,2045,2300,2545,2342,2507,2654,2482,2540,2067,1964,2199,2008,1857,2344,2754,2342,2300,2733,2780,2521,2225,2156,1991,2744,3329,3448,3418,3034,2993,3316,3453,3482,2996,2283,2094,1982,1750,1710,1646,1621,1681,1893,2028,2129,2351,2604,2640,2378,2282,2552,2452,2238,2381,2499,2319,2890,2919,3210,3488,3106,3042,4028,3642,2308,3299,3696,2883,3706,3509,2604,3094,3594,2613,2498,3304,3152,3311,3639,2916,2845,2978,3007,3037,3419,3441,2913,2388,2219,2831,3052,2509,2362,2580,2641,2452,2844,2553,2940,3077,2894,2993,3454,3338,3863,3858,3292,2886,2768,2758,3072,2924,2757,3068,3084,2863,2879,3050,3508,3680,3669,3771,3280,3029,2984,3071,3121,2898,2612,2971,3611,3715,3776,3581,3524,3431,3508,3633,3654,3696,3625,3473,3232,3175,3452,3695,3694,3592,3480,3270,3665,3540,3798,4069,3889,3619,3373,3073,2932,3046,3054,2846,2684,2643,3294,3619,3941,3418,2984,2979,3316,3154,2851,2697,2404,2588,2633,2489,2286,1969,1915,1870,2024,2336,2600,2562,2766,2883,2691,2787,2566,2679,2972,2610,2390,2446,2236,1933,1756,1899,1954,1622,1387,1632,1989,1699,1488,1597,1824,1759,1792,1680,1669,1748,1864,1607,1584,1822,2127,2499,2306,1851,1604,2029,1862,2265,2864,2612,1998,1807,1856,1940,2240,2257,2854,2981,1772,1503,1467,1527,1588,1506,1776,2230,1820,1411,1558,1512,1842,2126,1832,1845,1881,1628,1462,1494,1435,1395,1836,2200,2590,2814,2386,2463,1919,2187,2289,2836,3276,3046,2744,2470,2292,2413,2641,2561,2686,2632,2237,2541,2200,1720,1428,1343,1447,1393,1377,1484,1628,2238,2415,2503,3198,3159,2685,2331,2556,2793,2524,1953,1860,1854,2030,2075,2508,3190,2427,2047,2008,2186,2018,2404,2443,2125,2452,2835,2796,2620,3100,3207,2778,2709,2867,2788,2386,2673,2872,2010,2329,3142,3537,3071,2708,2474,2958,3053,2776,2351,2542,2797,2862,2958,2480,2523,2242,2290,1809,2744,3849,3145,2453,2633,3012,2780,2233,1936,2033,2219,2780,2725,2240,2609,2730,2324,2136,2256,2161,2029,2006,1518,1760,1913,2562,2370,1960,1662,1521,1677,1898,2986,4320,4047,3161,3243,3760,3827,3908,4100,3702,3453,3837,3757,3247,2651,2248,2248,2266,2193,2610,3318,3305,3233,3521,3507,3104,3159,3303,2908,2637,3009,3840,4094,4156,3934,3359,2551,3422,4079,4215,4430,4616,4520,4387,3938,3361,3377,3862,4082,4396,4281,4144,3995,4033,4052,3847,3781,3714,3584,2850,1743,1196,938,874,822,696,610,547,539,529,519,513,503,451,411,413,465,492,472,450,418,400,400,413,444,483,506,502,561,611,549,546,549,633,678,564,524,572,566,542,542,531,509,495,488,480,471,458,462,467,451,438,434,413,403,412,435,467,494,501,506,496,491,542,578,659,633,583,595,673,827,924,898,902,1258,1271,863,889,1034,1100,1047,1042,1113,1133,1002,1060,1140,1009,1188,1060,913,819,764,742,760,742,687,726,953,1117,958,873,845,844,902,924,908,902,840,847,918,949,1023,1103,1197,1384,1511,1368,1349,1404,1345,1257,1191,1172,1224,1283,1302,1302,1317,1334,1299,1348,1380,1400,1310,1340,1428,1366,1238,1188,1121,1103,1089,1038,977,900,897,888,886,891,883,870,825,727,705,681,689,662,609,616,615,608,591,558,541,551,546,521,514,504,516,526,568,598,691,805,837,894,1012,1105,1127,1100,1224,1408,1282,1346,1820,2404,3636,3716,3620,3636,3659,4036,4145,4062,4221,4058,3911,3897,3568,4004,4427,4786,3889,1980,912,630,499,391,358,354,347,352,355,355,349,348,346,345,342,339,339,340,338,338,337,339,345,346,343,338,338,343,361,383,399,433,474,517,543,573,589,608,616,612,589,567,535,500,504,484,473,462,457,445,440,428,420,420,426,418,404,384,352,325,326,332,339,345,354,368,373,364,350,346,346,348,355,363,373,378,381,384,386,390,399,406,408,415,424,423,403,384,363,350,334,320,308,302,301,298,298,290,286,286,281,281,272,315,295,298,319,318,300,307,346,364,353,345,383,398,380,375,347,323,332,335,337,353,359,344,335,353,368,380,392,392,398,410,428,417,392,380,379,378,374,363,357,352,352,353,338,315,306,309,306,303,294,289,288,279,276,269,269,268,266,259,256,255,253,252,250,250,253,251,255,255,254,253,252,249,246,241,239,236,234,234,234,234,233,239,246,241,235,234,246,250],[3401,3532,3860,3865,3371,3121,3297,3066,2718,2688,3088,3001,2462,2447,1976,2987,3578,3045,1511,1713,1738,1615,1717,2114,2244,2117,2336,2662,3035,2923,2916,2377,2490,2702,2568,2567,2647,2436,2122,1972,2333,2501,2405,2230,2601,2718,2590,2734,3168,3022,2943,2879,2656,2188,1814,2135,2542,2391,2481,2664,3372,3264,3168,3176,3163,3408,3768,3986,3539,3001,2879,3261,3107,3029,3188,2851,2564,3116,3694,3634,3820,4120,3951,3417,3598,4400,4413,4094,4081,3936,4108,4133,3532,3073,2791,2607,2899,3382,2909,2782,2493,2852,2889,3116,2878,2958,3326,3588,3611,3605,3934,4050,4136,3801,3452,3350,2880,2658,2559,2104,2565,3186,3098,3009,3120,3973,3377,2429,3121,2663,2138,2150,2744,2854,3064,3410,2996,2500,3064,2855,2099,1455,1455,2224,3526,4176,3720,2363,1962,2242,2260,2498,2451,2325,1799,2138,2591,2959,3007,3213,3134,2531,2644,3336,3574,2993,2484,1902,2033,2294,2142,2471,2684,2470,2214,2027,2358,2495,2049,1785,1694,1642,1736,1304,1558,2194,2335,2878,2853,3117,3580,2938,2734,3707,4090,4070,3783,3541,3673,3555,2857,2249,1847,1842,1905,2019,2469,2343,1783,1769,1776,1771,1780,2008,2181,2711,2846,2585,2596,2687,2712,2821,2645,2231,1800,1716,1837,2316,2164,1993,2056,2012,1824,1936,2105,1916,1739,1883,2199,2175,2290,2535,2540,2901,3098,2898,3071,3333,3304,3229,3640,3934,3565,3793,4292,4289,3664,3031,2839,2902,2721,2409,2255,2171,2154,1799,1980,1973,1919,1875,1815,2242,2402,2184,2031,1793,1598,1781,1977,1952,1892,1931,2125,2285,2066,2156,2402,2294,2118,2193,2309,1814,1588,2126,2300,2635,2667,2717,2901,2822,3069,3551,3649,3494,3102,3144,3609,3544,3337,3264,2776,2855,2804,2761,2821,2942,3136,3364,3241,3249,3540,3513,3609,3723,3836,4077,3849,4332,4315,3785,3610,3628,3566,3545,3286,2727,2871,3271,3532,3344,3327,3069,2744,2749,2883,2970,3165,2774,2308,2103,1490,2188,1911,1689,1948,2381,1971,2358,2769,3054,3189,2648,1461,1426,2410,2678,2735,2775,3169,2995,2735,2465,2955,3366,2458,2527,2862,2215,2386,3006,3101,2730,2246,2656,3041,3161,3000,2244,1936,1848,1715,1919,2258,2011,1844,1794,1954,1826,1390,1968,2533,2625,2700,2396,2222,2530,2844,3020,2731,2625,2142,1653,1771,1833,1849,1827,1695,2107,2585,2354,2746,2798,2643,2222,2216,2036,1985,2333,2164,1888,1950,1766,1938,2208,2239,2206,2498,2576,1804,1762,2176,1964,2060,2201,1947,1787,1809,2000,2137,1923,1682,1682,1718,1986,1920,1963,2307,2532,2873,2979,2837,3223,3257,2346,2604,2363,2207,1888,1743,1845,2156,2404,2204,2145,2147,2109,2297,2349,2151,2004,1981,2519,2705,2522,2524,2091,1526,1694,1738,1031,911,1575,2636,3092,2980,2693,2341,2471,3050,3227,2598,2313,2413,2525,2558,2367,2289,2468,2814,2853,2400,2066,2123,2103,2130,2531,2588,1884,1686,2913,4396,4077,2697,2193,2121,1974,2058,1986,1948,1863,1925,2822,3660,3563,3360,3137,3201,3630,3462,2547,1832,1568,1453,1527,1577,1683,2065,1891,1953,1907,2057,2417,2259,1826,1543,1540,1832,2005,2240,2389,2001,1696,1665,2391,2818,2777,2155,1591,1881,2331,2204,2194,2330,2330,2199,2341,2307,2198,2099,2211,2462,2201,2320,2597,2128,1749,1626,1789,1881,1760,1955,2192,2633,2653,2102,1781,1715,1718,1648,1440,1560,1624,1643,1621,1689,1750,1631,1588,1889,1957,1820,1785,1740,1554,1522,1904,2097,1824,1994,2365,2766,3218,3532,3703,3344,2908,2397,1817,1721,1732,1786,1867,2041,2626,3130,2621,1966,1875,2040,1890,2102,2950,3453,3120,2134,1829,1870,1835,1742,1653,1628,1748,1787,2243,2612,2140,1919,2451,3300,3133,3284,3520,3494,3432,3294,2827,2309,2301,2468,2308,2200,2119,1830,1771,1821,2077,2183,1947,2580,2828,2440,1908,2177,2969,2735,2255,2023,2220,2288,2055,2205,2468,2684,2839,2938,2666,2671,2724,2608,2191,2096,1810,1687,1865,1850,1509,1518,2033,2233,1888,1787,2180,2523,2787,3099,3329,3577,3721,4285,4220,4178,4453,4101,3436,3272,3083,2967,2874,3210,3065,2899,2597,2514,1882,1941,2279,2713,3277,3576,3261,2719,2362,2701,2912,2620,2039,1874,1907,1729,1931,2399,2359,2602,3292,3118,2642,2883,2884,3397,3624,3821,3804,3473,2719,2152,1803,2060,2689,2380,1720,1656,1771,1785,2076,1682,1716,1617,1644,2242,2736,3211,3517,2990,1821,1917,2859,2938,3713,3895,3370,2636,2362,3094,3725,3561,3564,3328,2555,2483,2818,2722,2458,2670,2857,3223,2706,2322,2570,2468,2264,2244,2333,2384,2300,2384,2393,2517,2279,2490,2785,3351,3403,2942,2673,2742,2781,2352,2583,2817,2208,2473,2446,2307,2410,2605,2809,2796,2385,2363,2697,2862,2604,2468,2648,2929,3039,3099,3233,3254,3307,3455,3286,3200,3198,3210,3362,3499,3492,3660,3371,3011,2968,2997,2846,2636,2710,2613,2380,2242,3076,3510,2862,2553,2720,2575,2397,2571,2694,2197,2363,2576,2159,1713,1732,1741,1775,1694,1676,1985,2105,1757,2072,2281,2342,2382,2190,2146,1946,2501,3162,3536,3604,3255,3215,3594,3773,3605,3128,2699,2401,2035,1827,1685,1633,1807,2003,2343,2437,2248,2644,3324,3176,2918,2764,2332,2715,2998,2701,2476,2449,2490,2510,2710,2871,2820,2940,3498,3150,2434,3498,4153,3860,4121,3304,2348,2795,3139,2937,3492,3514,3509,3515,3695,2819,2623,2729,2880,3039,3417,3562,3284,2679,2287,2601,2840,2343,2898,3057,3198,2834,2144,2307,2690,3357,3357,3082,3520,3640,3620,3107,3093,3036,3084,2836,2933,2741,2439,2898,3129,2812,2751,2790,3329,3824,3794,3633,3208,3031,2896,2997,3153,2984,2859,3356,3666,3706,3825,3520,3468,3308,3332,3443,3325,3330,3354,3110,2834,3125,3442,3394,3372,3284,3039,3230,3832,3663,3555,3968,3565,3051,3234,3328,3074,3054,3073,2914,2634,3163,3586,3340,3361,3052,2769,2685,2951,3497,3316,3044,2987,2755,2901,2786,2436,2131,2257,2486,2304,2470,3010,2739,2712,2819,2768,2641,2383,2354,2622,2466,2279,2194,1809,1480,1746,2166,1896,1851,2202,2525,2147,2027,1918,1917,1954,1874,2031,2028,1807,1851,2164,1730,1804,1695,1724,1852,2022,1851,1665,1819,1650,1814,2517,2448,1982,1829,1853,1587,1985,2060,2790,2556,1670,1430,1672,1786,1917,1869,1908,2164,1665,1351,1416,1581,1719,1818,1621,1709,1816,1740,1794,1867,1670,1513,1735,1838,1878,2326,2396,1886,1534,2007,2630,3042,3049,2873,2588,2347,2181,2031,1963,1899,1802,1837,2136,2587,2392,1730,1477,1611,1577,1264,1375,1599,1858,1911,2165,2728,3175,3237,2940,2338,2212,3213,3284,2459,1939,1934,2049,2208,2208,2368,2549,2474,2154,1809,2137,2688,2372,2351,2366,2468,2609,2562,2754,2612,2478,2444,2478,2327,1850,1828,2077,1450,1660,2268,2820,3077,2934,2399,2597,3024,2778,2703,2604,2352,2885,3338,2905,2964,2354,2780,3119,3598,3670,3108,2928,2709,2207,2389,2444,2591,2799,2699,2507,1919,2063,2968,2736,1995,1993,2188,2186,2199,2434,1975,1997,1599,1974,1760,1487,1660,1635,1659,1986,3106,4288,4116,3928,4117,4297,4372,4304,4022,3665,3284,3560,3794,3020,2323,2293,2520,2627,2313,2452,3338,3044,2587,3329,3357,3074,3273,2972,2187,1987,2467,3629,4345,4417,4228,4024,3065,3362,3852,3884,4347,4532,4168,3963,3885,3728,3770,4307,4099,4488,4661,4532,4482,4269,4018,4033,4019,3971,3366,2144,1420,1046,943,922,875,747,612,547,531,525,532,546,539,515,511,494,464,451,440,435,436,441,443,435,447,485,497,493,561,599,567,555,548,584,630,588,526,537,540,513,511,503,487,477,461,457,450,444,448,442,437,436,420,404,396,405,422,445,484,474,477,480,489,542,586,671,717,637,619,667,733,865,872,879,1136,1368,1096,842,1005,1147,1088,1062,1079,1193,1059,997,1116,1033,1165,1155,956,835,798,781,840,761,735,730,907,1129,1041,964,940,900,933,997,990,919,851,870,926,980,1051,1105,1171,1338,1418,1377,1320,1307,1306,1213,1185,1165,1201,1235,1267,1310,1323,1345,1306,1340,1373,1327,1293,1336,1434,1392,1256,1139,1108,1077,1070,1019,959,886,876,902,896,875,919,883,858,742,707,697,640,648,619,594,591,597,586,558,536,524,517,509,505,490,493,509,562,621,728,840,885,915,969,1128,1204,1191,1264,1470,1332,1556,1787,2428,3650,3946,3802,3736,3691,3986,4140,4179,4332,4156,4202,4211,3905,3736,4202,4943,4093,2223,1052,655,531,437,390,377,364,362,361,354,345,341,339,337,338,339,334,333,340,339,339,339,337,338,332,328,327,337,359,386,414,453,478,511,552,604,626,604,583,581,583,566,540,513,482,472,467,461,447,452,440,415,421,418,417,406,400,382,348,317,314,328,339,343,352,361,366,360,354,351,349,354,355,359,364,364,369,368,366,373,383,392,395,401,415,421,403,382,366,348,336,322,311,307,306,307,302,294,291,293,288,285,278,302,302,299,301,298,301,313,315,300,299,313,331,352,355,355,345,338,334,332,336,346,347,341,335,346,363,376,384,393,412,432,431,412,392,379,383,387,381,378,368,356,352,356,349,328,321,321,315,307,294,286,279,275,271,269,271,262,257,259,256,254,248,249,248,249,245,248,251,249,248,248,248,247,238,242,239,232,233,234,233,233,236,243,250,247,233,227,243,253],[4120,3836,3732,3693,3485,3246,3089,3117,3195,3402,3994,3852,2642,2110,2116,2566,2264,1980,1648,1927,2111,2090,2036,2242,1926,2093,2569,2661,2998,2409,2482,2774,2396,2254,2192,2331,2451,2277,2305,2341,2829,2739,2392,2499,2976,3068,2787,2937,3196,3181,3309,3094,2352,1770,2062,2768,2431,2076,2411,2799,3410,3386,3221,3127,2788,2976,3378,3741,3504,3306,3241,3462,3030,2631,2813,2815,3008,3440,3702,3960,4140,4093,3529,3297,3664,3906,3375,3415,3583,3705,3862,3772,3485,3355,3134,2790,2474,2654,2534,2359,2634,2865,3032,3253,2996,2979,3145,3041,3410,3251,3728,3895,4110,3721,3052,2996,3032,3169,3083,2565,2510,2754,2696,3698,3972,3942,3659,3317,2996,2032,1604,1513,1859,2436,2614,3194,3647,3176,3360,2639,1834,1618,2273,2729,3307,3782,3363,2186,2241,2256,2092,2413,2585,2021,1568,2191,2320,2500,2552,3359,3619,2656,2382,3175,3696,3838,3638,2785,2469,2524,2593,2135,2319,2750,2408,2059,2220,2133,2080,2287,2332,2213,2153,2156,2582,3206,3774,3880,3980,4596,4728,4283,3959,4247,4296,4151,4039,4069,3818,3000,2230,1877,1614,1588,1765,2013,2592,3150,2367,1779,1619,2050,2020,2016,2100,2340,2355,2469,2692,2643,2591,2964,3166,2354,1842,1739,1908,2668,2626,2203,1969,1822,2095,2907,2578,1849,1873,1929,2110,2539,2447,2601,2752,2809,2751,2658,2937,3370,3017,2789,3627,4100,3938,4183,4155,4585,4221,3382,3209,3142,2593,2504,2919,2202,2115,1830,1772,1717,1874,1984,1979,2278,2546,2530,2216,1841,1799,1847,1938,2522,3260,2201,1984,2231,2303,2216,2073,2147,2323,2301,2644,2536,2317,2655,2696,3038,2686,2444,2692,2657,2504,2895,3392,3328,3089,3410,3630,3629,3604,3563,3333,3024,3007,2813,2666,2737,3023,3303,3220,3487,3937,3745,3722,3971,3753,4132,4176,4463,4271,3839,3709,3604,3628,3523,2980,2060,2534,3125,3392,3409,3181,2789,2986,3131,2877,2973,3205,3075,2869,2756,1862,1554,1592,1636,1580,1802,2238,2391,2236,2740,3440,2931,1667,2142,2876,2665,2486,2326,2390,2688,2850,2536,2614,2750,2394,2445,2214,2304,2766,2989,2748,2379,2227,2539,2908,2814,2177,1899,2020,2164,2176,2044,2119,1831,1736,1744,1866,1859,1547,2159,2886,2517,2225,2099,2716,3126,2706,2601,2383,2884,2274,1771,2222,2493,2265,1901,1670,2386,2958,2895,2825,2733,2809,2618,2457,2280,2068,2031,1925,1897,2063,1941,2184,2269,2570,2597,2362,1919,1601,1996,2417,2013,2020,2633,2686,2207,2587,2486,2382,1897,1588,1742,1664,1813,2150,2385,2379,2627,2880,2695,2798,3410,3117,3341,3654,3392,3249,2801,2446,2346,2369,2217,2040,2101,2028,2015,2282,2206,1833,2241,2480,2652,2923,2828,2330,1817,1373,1576,1774,1265,1558,2329,2333,2563,2743,2743,2900,2896,2878,3068,2504,2577,2525,2940,3057,2686,2534,2530,2825,2743,2070,1868,2183,2289,2077,2161,2280,1604,2176,3752,4451,4327,3494,2547,1983,1887,2042,1978,2024,1945,2128,2829,3414,3259,3201,3238,3505,3437,2824,2059,1706,1634,1478,1561,1573,1454,1825,1966,1994,1827,1785,1863,1692,1446,1479,1786,1877,1846,2127,2243,2535,2242,2392,2336,2014,1677,1462,1322,1488,1607,2198,2733,1904,1403,1985,2358,2382,2364,1975,1899,2317,2267,2268,2371,1723,1581,1666,1764,1928,1948,2324,2732,2937,2719,2062,1832,1631,1638,1706,1529,1692,1795,1501,1502,1604,1555,1618,1798,1843,1812,1642,1544,1730,1872,1554,1687,1793,1609,2332,2268,1925,1989,2229,2634,2683,2364,1853,1634,1791,1939,1793,1562,2135,3162,2858,2228,1913,1553,1500,1845,2526,3440,3498,2711,1956,1896,1804,1716,1603,1514,1505,1635,1771,2137,2692,2091,1766,2378,3140,2946,2941,2946,2756,2530,2308,2111,1914,1827,1857,1763,1685,1695,1669,1718,1714,1813,1805,1738,2278,2546,1992,1683,2017,2573,2158,1736,1535,2153,2404,2025,2183,2208,2064,2294,2238,2200,2231,2126,2364,2083,1722,1657,1499,1577,1805,1649,1826,2326,2248,1922,2170,2278,2109,2088,2155,2535,2969,3582,3726,3814,4258,4564,4257,3663,3476,3149,2812,2821,2906,2621,2524,2696,2680,2214,1813,1608,1752,2387,3037,2878,2690,2580,2644,2642,2553,2445,2745,2809,2459,2297,2622,2740,2579,2756,2932,3239,3514,3343,3176,3485,3574,3443,3177,2433,1879,1537,1766,3051,2757,1976,2007,2082,1759,1607,1578,1582,1656,1694,2237,2966,3384,3650,3139,1887,1697,2592,2648,3211,3772,3163,2494,2545,2976,3564,3882,3704,3266,2589,2563,3130,2886,2328,2778,3250,3146,2588,2371,2456,2453,2501,2361,2551,3103,3220,2659,2278,1970,1548,1719,2646,3414,3043,2520,2385,2732,3053,3120,3135,2844,2520,2609,2674,2886,2900,2301,2006,2314,2014,2040,2390,2622,2416,2400,2605,2746,2656,2808,3385,3462,3210,3410,3256,3164,3173,3382,3384,3428,3472,3569,3584,3319,3061,3518,3398,2739,2567,2380,1736,1777,2894,3130,2648,3064,3583,3278,2739,2195,2432,2194,2267,2612,2119,1653,1684,1648,1767,1949,1744,1868,2079,1924,1895,1894,2292,2098,1871,2007,1989,2179,2911,3586,3694,3404,3293,3305,3558,3796,3504,3099,2728,2445,2175,1890,1914,2098,2351,2752,2820,2492,3006,3526,3132,2642,2434,2674,3687,3978,3874,3495,2834,2732,2580,2219,2206,2416,2428,2589,2765,2820,3119,3453,3382,3498,3263,2908,3719,4058,3391,3942,3614,3480,3376,3382,2822,2580,2798,2796,2832,3156,3144,3285,3120,3161,2917,2621,2638,2958,3098,3428,2661,2283,2576,2297,2247,2433,2707,2877,3082,3276,3050,3219,3225,3122,2920,2796,2333,2048,2922,3142,2767,2792,2656,3061,3583,3480,3137,2736,2876,3035,2983,3065,3009,3133,3585,3522,3507,3606,3769,3431,3017,3061,3251,3298,2955,2413,2408,1952,2413,2692,2578,2469,2232,2237,2959,3733,3131,3142,3577,2711,2599,3142,3229,3140,3338,3087,3483,3261,3244,3211,2954,2743,2481,2542,2696,2832,3208,3318,3054,3383,3096,2736,2830,2921,2754,2967,2965,2429,2398,3042,3031,3065,2971,2858,2562,2233,2098,1998,1825,1820,1915,1892,1945,2396,2754,2020,1994,1759,2032,1981,2036,1961,1992,1925,2092,2258,1987,2562,2484,2498,2336,1986,1553,1513,1808,1946,1797,1655,1724,1953,2089,2200,1881,1742,1853,1859,1585,2080,2087,1821,1537,1403,1750,2115,2072,2390,1925,1609,1631,1654,1804,1937,1744,1702,1954,1847,1534,1482,1583,1771,1603,1570,1811,1791,1766,1690,1693,1888,1768,1634,2156,3120,3134,2995,2866,2790,2486,1986,1619,1559,2609,2497,1768,2139,2370,2281,1603,1404,1689,1660,1367,1480,2094,2376,2461,2609,2584,2494,2620,2808,2011,2056,2991,3017,2683,2156,2184,2209,2801,2897,2298,1862,2058,1955,1945,2395,3085,2663,2614,2923,2842,2424,2137,2153,2034,2270,2634,2414,2149,1686,1313,1516,1955,2521,2812,2462,2352,2592,2379,2563,2798,2563,2836,2402,2188,2600,3139,3371,3015,2744,3117,3127,3189,2846,2618,2786,2610,2222,2552,2432,2562,2678,3024,3024,2734,2678,2679,2424,2268,2269,2500,2338,2174,2405,2250,1696,1720,1914,1710,1718,1632,1468,1600,2346,3256,4200,4155,4400,4365,4320,4411,4397,4152,3940,3559,3317,3089,2429,2392,2547,2584,2238,1841,2303,3312,3222,2507,2655,3196,3563,3754,2830,2046,2453,2531,3318,3992,4046,3762,3684,3560,3785,3577,3123,3421,3580,3363,3454,3573,3782,4376,4644,4247,4360,4605,4496,4413,4052,3651,3945,3981,3684,2697,1634,1206,944,880,911,869,755,645,551,542,541,561,589,595,594,546,560,565,512,441,434,466,464,479,460,452,468,511,528,551,561,577,573,547,551,583,585,539,521,512,488,484,481,465,452,442,439,444,451,454,435,417,406,406,397,390,397,411,430,454,450,484,552,518,529,568,664,780,705,637,702,741,822,884,916,1087,1378,1317,918,987,1071,1083,1059,1004,1148,1100,988,1094,1098,1152,1193,1058,944,863,824,954,845,791,765,883,1076,1149,1123,1058,970,959,1043,1015,941,906,873,932,966,1013,1046,1122,1306,1350,1353,1301,1243,1313,1241,1202,1159,1172,1210,1230,1288,1309,1332,1274,1263,1332,1343,1317,1321,1448,1399,1338,1134,1070,1043,1039,1006,940,897,868,882,920,853,926,903,864,764,724,712,680,647,608,601,586,592,593,554,528,530,547,526,493,482,487,518,579,662,774,863,890,919,942,1073,1203,1301,1376,1521,1312,1682,1951,2358,3919,4161,3995,4059,3795,3830,3994,4368,4500,4504,4609,4420,3920,3492,3968,5019,4283,2692,1321,723,549,495,445,398,369,361,358,347,340,335,335,336,333,330,327,330,331,335,336,335,342,337,332,331,330,346,368,395,433,472,499,518,544,597,633,589,578,572,579,566,540,515,489,476,463,458,441,446,453,411,416,419,412,397,387,377,352,316,306,325,340,341,341,358,365,361,355,356,351,355,354,357,360,356,357,356,357,360,372,383,388,393,406,414,401,379,363,348,339,324,314,309,305,306,304,300,293,291,293,296,298,296,294,299,290,292,303,304,304,311,325,328,332,336,344,350,336,340,339,337,340,339,339,345,350,360,375,384,382,393,429,446,435,417,397,388,390,392,388,384,373,359,355,366,367,351,344,335,322,306,292,283,273,274,269,271,265,258,254,249,249,248,248,249,248,248,249,247,245,248,247,247,245,239,242,241,241,234,235,235,234,233,237,241,251,252,235,230,239,244],[4046,3703,3587,3742,3509,2704,2401,3027,3305,3281,3808,3816,2858,2245,2458,2013,1609,1828,2076,2020,2141,2381,2533,2798,1926,2320,3056,2813,2447,2275,2711,2548,2131,2212,1953,2166,2825,2843,2346,2501,3064,3207,2622,2721,2980,2805,2535,2867,3179,3405,3460,2994,2163,1953,2369,2900,2553,2854,3051,2853,2921,2721,2665,2486,2135,2784,3163,3615,3821,3639,3232,3370,3306,2805,2588,3208,3885,3830,4049,4348,4222,4200,3714,3149,3344,3653,3775,3631,3476,3597,3488,3231,3197,3052,2836,2832,2654,3066,3104,2840,2968,3015,3086,3032,2661,2968,2841,2640,3620,3758,3499,3150,3459,3231,2905,2944,3041,3086,2995,2598,2474,2023,1892,3166,3778,3597,3421,3103,2341,1859,1926,2360,2793,2737,2143,2961,3876,3867,3758,3308,2273,2276,2688,3206,4013,4049,3051,2359,2364,2338,2097,2254,2507,2024,2113,2214,2254,2343,2156,2458,2897,2407,2103,2341,3008,3545,3481,2658,2459,2845,2549,1823,2125,2763,2634,2238,2479,2701,2556,2418,3002,2617,2508,2537,2426,3428,4372,3947,3784,4272,4453,4200,3698,4120,4280,4067,4008,3997,3312,2408,1961,1805,1438,1510,1678,2121,2498,3264,2472,1872,2098,2929,2603,1892,2326,2488,2150,2459,2652,2852,3104,3252,3073,2630,2596,2121,1635,2109,3189,3499,2410,1725,1721,2260,1988,1970,1875,1652,1822,2631,3061,3106,2817,2486,2701,2552,2939,3517,3286,3277,3965,3880,3813,3898,3899,4100,3906,3859,3798,3088,2731,3043,3032,2002,2127,2144,2143,1977,1887,1879,2200,2416,2319,2392,2127,1867,1947,1950,1954,2219,3125,2552,2153,2087,2166,2314,1905,1856,2060,2210,2345,2646,2998,2980,2808,2797,2598,2672,2985,2939,2515,2252,2622,3338,3781,3808,3684,3603,3803,3785,3295,2997,3495,3521,3118,3164,3398,3351,3294,3704,3995,4096,4176,4091,3983,4289,4384,4295,3961,3695,3721,3361,3310,3375,3074,2612,2580,2721,3199,3382,2768,2569,3256,3466,3198,2885,2976,2743,2796,2901,2257,1797,1893,1450,969,1553,2643,3079,2967,3306,3503,3410,2585,2036,2187,2472,2366,2201,2408,2673,2765,2563,2398,2471,2780,2698,2478,2788,3002,2625,2460,2519,2345,2231,2467,2220,1840,1859,2269,2281,2157,2002,2330,2177,2054,1868,1782,1924,1878,2417,2895,2481,2436,2160,2036,2250,2123,2311,2121,1930,1811,1787,2387,2733,2557,1886,1746,2362,2795,2476,2121,1994,2175,2261,2183,2291,2420,2193,2027,2138,2286,2189,2036,2003,2061,2118,2080,1843,1803,2359,2259,1709,1964,2730,2739,2315,2621,2530,2461,1946,1593,1592,1573,1973,2851,3095,2645,2806,2666,2914,3672,3899,3015,3451,4112,3956,3675,3289,2563,2176,2700,2416,2272,2275,2254,2156,1875,1653,1757,2454,2902,2489,2192,2037,1805,1890,1536,1395,1717,1591,1866,2359,2292,2406,3046,3284,3252,2841,2231,3018,3051,2764,2461,2841,2787,2330,2402,2389,2518,2601,2150,1997,2062,2226,2107,2321,2208,1747,3044,4226,4356,4372,3487,2042,1673,1668,1858,1912,1987,1764,2340,2734,2465,2245,2430,2797,3239,3261,2814,1884,1655,1799,1668,1680,1620,1516,1738,1855,1923,1904,1815,1784,1634,1379,1889,2123,1983,2172,3001,2742,2498,2400,2378,2415,2033,1921,2336,2214,1852,1596,2009,2292,2313,2684,2879,2714,2338,2234,2110,1756,1839,1877,2072,2098,1883,1660,1485,1568,1987,2631,3087,2929,2922,2789,1823,1759,1881,1907,1883,1759,1765,1676,1500,1481,1641,1791,1849,1920,1843,1898,1803,1669,2178,2066,1694,1976,1959,1799,1772,1585,1659,1897,2227,2372,2172,1758,1677,1797,1994,2150,2088,1716,1453,1560,1700,1826,1893,1647,1282,1519,2476,3415,3279,2328,2177,1981,1694,1628,1515,1505,1522,1611,1769,1951,2601,2139,1759,2085,2218,2165,2053,1906,1876,1874,1828,1810,1798,1766,1755,1746,1733,1704,1701,1718,1722,1824,1866,1841,2054,2575,2229,2441,2200,2214,2079,1648,1189,1702,2439,2713,3055,2981,2426,2164,2071,2556,2376,2361,2225,1930,1647,1563,1354,1539,1973,2170,2204,2197,2048,1857,2316,2403,2352,2276,2284,1883,1946,2404,2768,3408,3961,4373,4258,3747,3595,2843,2641,2817,2536,2324,2192,2363,2580,2317,1811,1646,1609,2121,3029,2971,3343,3533,3356,3013,2580,2654,2962,3099,3153,2964,2735,2631,2411,2530,2523,2789,2946,2742,2997,3643,3528,3139,3018,2351,1697,1305,1660,3020,2675,2505,2389,2244,1881,1903,2005,1766,2019,1910,2146,2636,2700,3438,3547,2430,2059,2600,2397,2518,3491,3583,2677,2642,2674,2907,2988,2729,2562,2728,2942,3217,2845,2541,3125,3759,3858,2493,2273,2878,2659,2310,2497,3189,3491,3207,2734,2498,2243,1903,1864,2208,2438,2140,2163,2557,3024,3272,3176,2965,3140,3372,3040,3083,3254,3530,2619,2009,2275,2186,2019,2256,2648,2503,2456,2454,2222,2291,2533,3300,3305,2808,2941,3205,3356,3292,2873,2738,3008,3248,3704,3514,3395,3134,3345,2500,2325,2796,2342,1887,2328,2898,2700,2174,2656,3843,3347,2144,1989,1962,2163,2488,2654,2142,2048,2205,1905,1980,2233,1976,1778,2105,2621,2063,2026,2231,2107,2330,2756,2481,2068,2598,3509,3791,3418,3156,3020,3210,3772,3796,3616,3197,2902,2732,2529,2634,2775,2740,2713,2822,2811,3492,3773,3133,2865,3331,4136,4578,4253,3806,3747,3586,3319,2812,2865,2908,2973,2996,2899,2628,2380,2267,2266,2384,2670,2823,3049,3426,3509,3517,3465,3288,3234,3249,3325,3037,2640,2608,2485,2743,2884,2967,3228,3233,3399,2998,2752,2949,3013,2977,2689,2260,2613,2929,2951,2868,2421,2110,2252,2475,2790,2697,3050,3220,3004,2990,2996,2476,2193,2692,2922,2749,3057,3176,3155,3342,3378,2635,2136,2879,3332,3018,2924,3166,3418,3620,3616,3375,3387,3515,3367,3137,3100,3621,3716,2373,1570,2374,2586,3284,2656,2040,2087,2292,2510,3088,3644,3432,2972,2704,2453,2886,3594,3585,2864,3249,3261,3208,3008,2740,2520,2511,2478,2099,2248,2669,3206,2746,2852,3130,3770,3401,2644,2381,2186,2745,3175,2785,2391,2690,3247,3414,3407,3160,3032,2775,2482,2433,2540,2738,2575,2492,2463,2514,2813,2962,2401,2270,1942,1742,1802,1830,2008,2041,2169,2445,2172,2185,2586,2363,2202,2188,1980,1889,2056,2125,1801,1750,1699,1877,2417,2237,2050,1793,1493,1747,1689,1633,2091,1961,1401,1420,1694,2158,2391,2441,2216,1764,1523,1398,2136,2771,2476,1907,1839,2040,2188,2167,2159,1860,1683,1288,1315,1566,1592,1486,1553,1557,1725,2360,2311,2146,3045,2988,3025,2852,2529,1640,1306,1603,1745,2485,2286,1999,2356,2020,1946,1607,1599,1623,1484,1517,1778,2465,2798,2796,2496,1963,2088,2424,2483,1941,2253,2025,2111,2721,2884,2580,2466,3090,3156,2399,1921,2107,2509,2060,1955,2457,2095,1981,1849,2427,2625,1887,1753,2171,2697,2854,2443,2065,1823,1732,1899,2455,2584,2262,1816,2135,2683,2479,2732,2456,2423,2756,2526,2422,2465,2561,3143,3129,3271,3469,3004,3118,2394,2174,2007,1834,1707,2127,2912,2895,2774,3479,3887,3786,3150,2481,2360,2349,2147,1974,2327,2029,1996,2122,2086,2204,1920,1569,1534,1683,2009,2308,2649,3269,4169,4329,4457,4508,4560,4419,4187,4168,4113,3994,3392,3050,2496,2622,2855,2854,2297,1744,1820,2823,3414,2748,2409,2893,3259,3499,3016,2555,2598,2468,3167,3529,3632,3838,3980,3966,3645,3284,3139,3222,3107,3429,3646,3579,3698,4352,4672,4172,3818,3940,4295,4287,3748,3099,3274,3400,2998,1895,1290,1087,911,840,947,964,786,676,565,552,551,595,658,665,649,599,567,579,575,527,432,438,439,462,474,456,442,514,527,502,514,557,561,537,528,540,552,540,521,495,474,466,457,442,424,419,429,437,446,454,428,416,412,410,393,382,383,401,410,447,440,458,521,507,542,558,655,799,762,669,722,852,1019,1029,980,1071,1311,1493,1031,973,1043,1086,1069,997,1116,1145,1043,1033,1104,1192,1207,1149,1036,1118,953,1046,1082,929,809,879,1023,1152,1138,1026,997,969,1030,1054,979,942,888,917,952,1018,1044,1120,1259,1333,1406,1334,1249,1284,1220,1194,1155,1154,1180,1187,1254,1320,1300,1253,1265,1355,1413,1429,1449,1459,1410,1359,1221,1064,1004,1004,983,922,877,857,840,923,865,895,914,870,782,737,698,669,652,631,604,585,577,575,546,515,518,524,511,483,481,488,524,591,689,779,846,861,879,941,1038,1172,1340,1523,1553,1349,1670,2090,2467,4101,4200,4367,4273,3819,3875,4132,4345,4371,4406,4681,4344,4030,3848,3961,4713,4421,3235,1821,903,578,518,479,400,356,354,358,342,336,329,323,321,324,323,324,329,332,333,333,333,334,331,331,335,341,356,381,414,448,476,514,550,549,573,633,560,563,574,572,550,526,509,493,481,468,457,435,445,446,424,419,413,405,394,388,387,363,328,307,321,330,334,342,350,356,355,355,354,355,355,355,357,353,356,355,357,356,356,372,376,382,386,395,405,398,377,359,345,332,323,316,309,312,309,300,294,291,291,298,301,303,299,293,293,294,293,293,292,308,312,314,312,313,313,325,361,331,343,352,340,335,330,341,348,361,371,380,390,397,418,445,458,445,416,401,396,394,400,398,386,375,362,354,370,374,360,347,336,323,302,287,276,272,270,267,267,262,252,252,248,248,248,248,249,250,249,248,243,240,244,242,241,242,241,241,242,243,234,232,235,232,231,236,241,249,253,243,230,237,242],[3929,3678,3728,3951,3676,2685,2252,2868,3454,3151,3360,2994,2512,2351,2091,1332,1145,1766,2334,2398,2578,2916,3196,2942,2177,2656,3033,2833,2520,2342,2322,2262,2398,2433,2208,2972,2924,2688,2598,2897,2874,2899,2962,3043,3084,2949,2808,3095,2828,2275,2280,2270,2148,2108,2146,2529,2931,3107,3078,3065,2732,2281,2510,2319,2474,3064,3432,3653,3835,3641,3330,3481,3542,3115,2864,3577,4169,4136,4393,4143,4081,3883,3118,3010,2866,2521,3043,3541,3370,2988,2690,2978,3023,2390,2469,3420,3422,3350,3000,2640,3051,3389,3137,3312,3278,3074,2777,3019,3440,3729,3526,3019,3007,2996,2978,2958,3140,3256,2888,2959,2570,2355,2620,3175,3096,3122,3398,2880,2337,2503,2490,2470,2010,1868,2526,3171,3395,3947,4024,3332,2298,1955,2323,2885,3506,3672,2524,2325,2106,2543,2626,2833,2827,2513,2364,2215,2215,2422,2056,2181,2192,2200,2464,2355,2048,2620,2734,2261,2670,3188,2434,1848,2424,2274,2270,2276,2830,3260,2690,2664,3407,2898,2551,2575,2398,3319,3625,2786,3130,3211,3107,3184,3196,3443,3691,3807,3906,3325,2410,1983,1871,2020,1699,1825,1754,2047,2562,2586,2239,2259,2434,2844,2356,1757,2009,2142,2354,2244,2790,3138,3230,3216,3001,2621,2586,2480,1810,1612,2512,3254,2461,1818,1749,1801,2048,2020,1696,1560,1961,2635,2939,3112,2513,2035,2394,2491,2900,3042,3104,3724,4065,3949,3829,3504,3537,4017,4224,4240,3934,3508,3544,3681,3708,2789,2352,2405,2326,1945,1859,1813,1678,1638,1829,2192,1910,1876,1923,2155,2323,2480,2302,2276,2600,2452,2626,2564,2149,1924,1735,1844,2071,2471,2656,2276,2017,2190,2886,3728,3752,3567,2802,2231,2527,3197,3514,3732,3759,3759,3819,3751,3382,3253,3466,3508,3486,3563,3341,3151,3172,3662,3789,3960,4035,3937,4093,4187,3894,3746,3532,3240,3017,3041,3132,3356,3625,3179,2331,2233,2703,3266,3500,3569,3632,3187,2838,2830,2947,2900,2880,2319,1650,1569,1816,1689,1318,1605,2165,3107,3520,3872,3429,3193,2796,2194,1826,2203,2360,2138,2437,2758,2710,2562,2418,2426,2640,2665,2578,2457,2416,2464,2426,2196,2093,2326,2480,2755,2359,2149,2261,2059,1888,1908,2354,2477,2270,1857,1788,1755,1998,2299,2271,2370,2331,2008,1684,2041,2276,2115,2171,2174,1853,1855,2441,2681,2725,1997,1887,2294,2687,2403,1963,1909,2194,2348,2143,2316,2496,2157,2346,2216,2032,1956,1849,1802,1745,1749,2042,1965,1656,1974,1894,1643,1898,2264,2438,2431,2279,2355,2244,1826,1590,1630,1525,1296,1631,2308,2634,2863,2710,3263,3969,3927,2835,2092,2392,2731,2678,2729,2668,2951,3614,3255,2510,1970,2134,2318,2010,1854,1730,2321,2872,2070,1340,1293,1571,2099,1890,1495,1803,2082,2178,2273,2084,2244,3142,3119,2819,3016,2086,2460,2827,2630,2482,2585,2440,2203,2102,2263,2495,2430,2206,2626,2304,1948,1848,2452,2312,2425,3498,3997,4288,3978,2402,1758,1655,1579,1931,2300,2209,2009,2699,2830,2241,2134,2207,2543,2994,3012,2846,2116,1968,1869,1779,1883,1773,1614,1636,1707,1946,2128,2144,1717,1686,1519,2084,2361,2164,2281,2898,2605,2070,1885,1748,2211,1902,1879,2182,2150,1790,1526,1627,2115,2614,3044,3010,2392,2280,2474,1876,1597,1892,1780,1958,2163,2024,1751,1863,1937,2148,2708,3059,3038,2852,2103,1906,1972,1784,1783,1761,1795,1914,1851,1758,1709,1880,2045,1991,1902,2002,1946,1805,1649,1946,1852,1982,2186,2308,2066,1658,1604,1738,2121,2338,2018,1679,1716,1876,2131,2140,2052,1947,1626,1343,1349,1617,1682,1548,1374,1315,1729,2235,2270,1972,2055,2244,1687,1598,1601,1608,1542,1493,1462,1573,1790,2800,2558,1880,1738,1782,1870,1789,1781,1782,1838,1838,1817,1772,1753,1716,1675,1692,1698,1731,1768,1867,1852,1901,2071,2066,2767,2764,2554,2060,2002,2091,2081,2045,2190,2730,2966,3196,3093,2431,2104,2266,2712,2496,2577,2236,1680,1377,1497,1728,1953,2351,2828,2874,2658,1946,1733,2042,2235,2428,2441,2330,1933,1941,2163,2136,2177,2632,3080,3937,3915,3295,2661,2878,2990,2888,2674,2524,2544,2326,1837,1920,1645,2009,3133,3445,3182,3483,3751,3760,3532,3313,3130,3161,3174,3244,3182,2975,2756,2644,2814,2928,2912,2689,2379,2522,3165,3362,2865,2778,2699,2177,1175,1532,2844,2902,2590,2314,1888,2019,2251,2325,1803,1927,1731,1674,2238,2192,3024,3458,2639,2334,3006,3031,2695,3508,3939,3054,2554,2776,2840,2609,2454,2449,2686,2918,3149,3516,3572,3992,4568,4556,2621,2148,2462,2149,1952,2481,3142,3271,3221,3056,2643,1930,1770,1964,2050,2390,2109,1936,2352,3016,3040,2416,2344,3066,3272,2743,2813,2774,3463,2912,2355,2630,2938,2863,3173,3248,2973,3226,3038,2619,2321,2410,2523,2678,2577,2502,2749,3294,3716,3518,3186,3134,3167,3416,3298,3404,2908,2580,2171,2348,3059,2675,2229,2694,2954,2476,2204,2238,2977,2712,1955,2383,2523,2750,2908,2740,2462,2382,2344,1886,2192,2315,2044,1707,2010,2468,2187,1987,1934,1978,2364,2653,2511,2112,2271,3090,3407,3366,3295,3086,3010,3450,3883,3873,3566,3541,3619,3521,3484,3276,3460,3613,3663,3714,4075,4088,3570,3782,4499,4695,4500,4256,4143,4292,3772,2839,2483,2675,3110,3628,3787,3688,3454,3164,2852,2686,2574,2408,2529,2503,2384,2450,2581,2552,2663,2852,3053,3483,3408,2885,2801,2917,2966,2557,2945,3133,3086,3204,3217,3089,2872,2743,2773,2642,2787,2976,3254,3160,2966,2330,2241,2188,2396,2293,2151,2360,2857,2998,3160,3310,2841,2380,2362,2468,2727,3150,3304,2888,2821,3022,2873,2874,3486,3417,2965,3015,3502,3560,3763,4000,3230,2767,3230,3031,3274,3334,3318,3388,2237,2400,2723,3062,3827,2908,2078,2555,3185,3598,3565,3094,2503,2302,2712,3230,3769,3602,3103,3090,3519,3480,3139,2614,2043,2056,2655,2655,2216,2600,2837,2898,2909,3332,3597,3762,3697,3225,2568,2457,2949,2906,2817,2828,2856,3037,3274,3365,3208,3074,2875,2695,2697,2810,2908,2809,2785,2932,2775,2703,2777,2338,2087,1849,1634,1792,2160,3030,3129,2928,2530,2145,2366,2829,2397,1909,2075,1842,1571,1960,1953,1707,1725,1937,1799,2248,2094,2406,1902,1459,1451,1494,1742,2195,1805,1444,1525,1813,2156,2088,2438,2298,1907,1700,1660,2070,2402,2003,1884,2063,2204,2542,2710,1995,1919,1738,1564,1517,1949,2280,1820,1636,1476,1524,2200,1960,1987,2669,3082,2773,2293,1854,1542,2094,2182,1818,2092,2409,2372,2274,2023,1793,1666,1637,1610,1541,1519,1760,2032,2173,2304,2219,2102,2396,2610,2082,1781,1964,1735,2088,2978,3522,3121,2788,2499,2024,1935,2762,2195,2443,2301,2387,2237,1970,1888,1720,1936,2206,1962,2010,2469,2690,2448,2035,2032,2293,2383,2696,2972,2468,2010,1605,2387,3142,3226,2814,2255,1692,1691,2216,2548,2589,2899,3356,3354,3288,3009,2522,2340,2220,2069,1580,1490,1669,2141,3051,3115,2819,3385,3415,3566,3232,2618,2238,2433,2394,2003,2172,2048,1902,2302,2653,2540,2170,2265,2232,2139,2438,2729,2668,2933,3686,4187,4395,4591,4665,4279,4123,4228,4104,4120,3728,3253,2564,2447,2633,2484,1961,1658,1910,2802,3733,3337,2678,2967,3540,3642,3193,2630,2496,2575,3292,3877,4124,4295,4175,3935,3965,3888,3892,3696,3097,3514,3816,3591,3619,4217,4540,4029,3846,3973,4080,4108,3626,3000,3098,3326,2364,1377,1136,1020,915,827,965,1050,844,758,633,579,562,596,647,657,679,653,588,566,580,569,480,451,444,426,455,452,433,474,498,492,504,533,547,528,505,527,527,498,494,478,464,452,435,418,411,410,418,421,432,433,425,413,410,402,393,378,373,385,400,417,424,427,457,481,522,541,651,793,808,714,718,872,1130,1266,1116,1078,1178,1511,1145,986,1088,1144,1115,1048,1077,1147,1118,1048,1115,1222,1222,1300,1123,1268,1166,1102,1206,1091,912,970,1080,1129,1107,1021,1040,984,1008,1073,982,911,861,873,921,972,1057,1139,1257,1337,1330,1321,1204,1183,1189,1194,1154,1110,1139,1143,1202,1339,1328,1218,1190,1344,1456,1502,1554,1531,1462,1413,1256,1062,989,958,949,911,838,825,800,898,908,913,936,880,799,759,729,712,684,642,607,579,570,566,544,512,500,512,500,479,467,482,528,583,705,775,819,843,867,944,1047,1186,1396,1606,1602,1554,1764,1948,3108,4189,4272,4452,4257,4018,4177,4152,4177,4332,4596,4744,4358,4063,3794,3811,4309,4299,3704,2575,1316,664,536,495,424,357,354,353,341,330,325,316,313,319,317,322,329,334,333,333,333,328,326,330,339,352,364,390,427,459,477,504,561,552,563,621,536,531,575,567,537,527,507,496,480,466,459,418,447,433,421,420,405,391,375,389,410,377,345,315,323,331,341,342,347,353,354,354,354,355,355,356,355,353,349,349,355,357,357,361,372,377,378,388,393,388,377,356,342,337,325,310,311,315,303,297,297,295,292,302,302,304,299,294,293,294,293,292,297,300,300,303,308,308,314,319,347,336,347,357,352,334,330,344,355,363,377,380,388,412,431,451,464,454,420,408,404,405,403,396,389,378,366,359,365,372,360,350,333,319,303,286,273,269,269,270,269,262,255,249,249,249,249,249,249,250,247,241,241,243,241,242,241,239,237,236,238,238,238,239,239,230,226,234,241,245,252,246,238,237,236],[3339,3399,3686,3582,3244,3016,3076,3388,3755,3762,3270,2834,2584,2437,2295,1779,2251,2775,2266,2357,2776,3234,3309,3333,3007,2923,2919,2753,2712,2463,2663,2978,3122,2707,2237,2780,2642,2421,2951,2743,2395,2723,2890,2967,3083,2871,2840,2858,2867,2656,2944,2566,2138,2059,2129,2469,3017,3461,3146,3068,2531,2426,2779,2789,2555,2832,3354,3401,3738,3951,3863,4014,3763,3463,3720,4005,4205,4388,4553,4155,4187,4025,3561,3261,2481,1881,2099,2419,2619,2730,2813,3253,3203,2434,2679,3351,3195,3259,3153,2807,2574,2940,3287,3630,3184,2877,3316,3648,3669,3651,3420,3226,3093,2985,3153,3417,3398,3473,3530,3304,3240,3105,2834,2671,2715,3042,3382,3053,2753,3437,3514,2757,1687,2206,3041,3178,3364,3724,3436,2662,1981,1620,2051,2517,2518,2308,2094,2564,2692,2669,2840,3052,2951,2997,2986,2921,2392,2624,2820,2899,2266,2541,3050,2840,2425,2674,2507,2317,2834,3152,2013,2112,2414,2085,1911,1845,2182,2470,2504,2975,3471,3149,2584,2453,2645,3401,2591,2141,2098,2338,2710,2586,2131,2561,3352,3603,3422,2563,2008,1891,1948,1986,2281,2264,2096,1915,1729,1881,2543,2312,2136,2235,1637,1713,2045,2407,2508,2033,2454,2857,3172,3394,3197,3041,3209,3130,2668,2298,2248,2180,1831,1862,1693,1675,1970,1860,1603,1564,2098,2817,2655,2851,2347,1998,1926,2079,2552,2821,2892,3074,3397,3757,3682,3342,3414,3906,4204,4086,3425,3103,3129,3401,3432,3350,2947,2425,2280,2051,1895,1645,1413,1931,2128,2055,1976,2036,2083,1986,2091,2357,2060,2186,2462,2474,2279,2018,2013,1825,1836,1902,2167,2350,2642,2452,1231,1131,2456,3484,3212,3021,3138,3163,3169,3654,3514,3554,3771,3708,3548,3555,3394,3174,3320,3481,3723,3305,2931,3074,3296,3431,3425,3631,3816,3754,3948,4133,3958,3695,3513,3140,3032,3062,3114,3466,3602,2951,2419,2062,2120,3010,3786,3802,3783,3450,3982,3556,2895,2873,2921,2366,1603,1438,1637,1881,1739,1853,2020,2833,3425,3387,3053,2706,2662,2386,2225,2510,2165,1968,1975,2245,2056,1825,1903,2309,2388,2316,2362,2320,2373,2206,1995,2025,2308,2803,2943,2841,2283,2082,1964,2053,2115,1992,1980,2007,2143,2258,2081,1550,1743,2028,2027,2146,2103,1783,1422,1652,1870,1721,1917,2065,1738,1785,2511,2631,2326,1876,1854,2053,2117,1951,1944,2125,2290,2450,2470,2723,2611,2193,2340,2020,1760,1749,1687,1747,1855,1930,2576,2414,1432,1393,1603,1742,2077,2293,2706,2509,2196,2430,2179,1789,1851,1852,1469,1276,1702,2075,2445,2896,3043,3308,3457,3231,2620,2046,1879,2119,1995,2448,2740,2883,3030,2554,1873,1583,1771,2155,2136,2204,1812,1989,2322,2160,1621,1455,1629,1670,1476,1691,2117,2379,2251,2075,1968,2330,2630,3056,3338,2988,2121,1831,1781,1986,2389,2417,1972,1635,1954,2386,2568,2809,2745,2909,2380,2426,2565,2500,2376,2552,3127,3491,4140,3319,2193,2055,1833,1766,1963,2173,2337,2446,3060,3376,2269,2335,2622,2393,2317,2431,2720,2490,2152,2071,2000,1773,1736,1836,1827,1765,1863,2081,2074,1883,1864,1637,2019,2510,2666,2350,2017,1899,1859,1835,1852,2409,1959,1837,1888,1945,2510,2531,2161,2215,2002,1845,1870,1713,1869,2032,1733,1476,1860,1851,1757,1789,1898,1811,1650,1523,1622,1787,2365,2701,1958,1527,1914,1902,1891,1947,1848,1707,1851,2158,2276,2153,2117,1938,2215,2183,1940,1701,1678,1694,1677,2443,2999,2496,2518,2275,2028,1781,2195,2392,1996,1671,1713,1908,2208,2240,1995,2052,1775,1497,1524,1478,1439,1450,1635,1518,1538,1872,2206,2265,1837,2176,2148,1665,1434,1461,1440,1357,1416,1620,2040,2588,3276,2873,1943,1838,2195,2120,1848,1743,1705,1720,1716,1727,1753,1786,1781,1738,1720,1706,1797,2095,2333,1923,1824,1980,2075,2751,3177,3157,2405,2230,2793,2884,2818,2418,2510,2514,2556,2884,2426,2126,2452,2803,2735,2288,1990,1823,1280,1450,2282,2614,3052,3304,3232,2901,1983,1497,1573,1907,2071,2245,2201,1912,2192,2293,2259,2182,1999,2199,2768,2968,2577,2724,2844,2738,2783,3181,3060,2973,3077,2210,2070,1861,2540,3331,3308,3489,3804,3914,3563,3306,3171,3206,3231,3316,3265,3230,3398,3232,2972,2978,3068,3001,2850,2619,2430,2657,2689,2520,2622,2991,2420,1663,1871,2403,2732,2950,2410,1985,2686,2174,1937,1862,1948,1676,1830,2184,2095,2501,2797,2365,2532,2881,2854,2688,3571,3598,2696,2418,2832,2902,2648,2530,2433,2518,3124,3710,4196,4493,4609,4768,4452,3432,2676,2086,1775,1959,2346,2448,2282,2457,2412,2315,1874,1901,1932,2063,2795,2475,2027,2336,2587,2897,2523,2745,3418,3488,3140,2386,2007,3115,3334,2799,2691,2984,3250,3288,2976,2734,3094,3795,3697,2887,2374,2302,2656,2829,2521,2299,2764,3452,3737,3569,3398,3328,3078,2739,2993,2945,2723,2322,2268,2599,2576,2701,3161,2884,2203,2101,2027,2156,1874,2100,2696,2902,3108,3295,3104,3176,3117,2731,1854,2152,2331,2094,2242,2495,2398,2029,1976,2036,1952,1860,1960,2155,2081,2041,2640,3011,3515,3846,3498,3010,3261,3600,3562,3701,3845,4145,4124,4067,4005,4093,4405,4565,4532,4428,3982,3656,4165,4528,4316,3973,4072,3940,3830,3604,2805,2445,2812,3422,3739,3812,3814,3321,3127,3270,3462,3311,3464,3608,3440,3276,2962,2701,2589,2419,2332,2563,3292,3647,3266,2962,2875,2799,2742,3335,3753,3427,3149,3209,3076,3171,3343,3347,2890,3166,2992,2874,3076,2768,2708,2813,2753,3219,2841,2493,2150,2311,2764,3289,3430,3029,2577,2313,2500,3094,3343,3081,2722,2921,2764,3075,3183,3265,3128,3135,3396,3392,3482,3905,3774,2789,2495,2524,2652,3679,3805,3380,3094,2413,2596,2176,2315,3204,2854,2024,2413,2963,3690,3020,2579,2661,3222,3423,3218,2851,2499,2699,3252,3366,3284,3229,2757,2321,2697,2806,2700,2719,2917,2793,2634,3076,3415,3427,3951,3983,2873,2236,2473,2892,3165,3204,3104,3072,3177,3111,3060,3331,3326,2963,2837,2935,2732,2666,2822,2912,3018,2812,2751,2615,1962,1598,1580,1581,1882,2457,3138,3035,2537,2125,2228,2353,2156,1943,2231,2290,1907,1791,1918,1423,1412,1537,1680,1969,2030,2210,2228,1970,1885,1777,1764,1901,2109,1696,1636,1706,1792,1976,1785,2154,2442,1968,1670,1750,1939,2126,1931,2091,1877,2177,2083,1618,1113,1360,1634,1899,1870,1995,2242,1867,1471,1510,1520,2147,2053,2263,2502,2653,2163,1619,1488,1675,1843,1771,1909,2307,2711,2742,2529,2424,2205,2050,1784,1686,1550,1401,1452,1755,2086,2511,2608,2365,2489,2434,2252,2149,1882,1861,2475,3321,3334,3077,3572,2467,1838,2420,2615,1985,2168,2055,1853,2127,2098,2048,2167,1848,1937,1932,2265,2463,2521,2197,1968,2260,2482,2420,2534,2966,2743,2539,2309,2749,3276,3550,2844,1977,1230,1355,2293,2745,2643,2729,2956,2883,2604,1962,1621,1773,1890,1733,1585,1805,2001,2123,2669,3195,3229,3630,2906,2801,2426,2407,2293,2285,2106,1967,2138,2259,1946,2406,2819,2537,2427,2355,2247,1951,2121,2396,2378,2257,2938,4023,4387,4424,4332,4206,4186,4239,4095,4187,4260,3743,2701,1916,1876,1914,1798,1808,2179,2564,3401,3459,3167,3325,3721,3755,3222,2646,2620,3249,4163,4621,4320,4068,4217,4220,4117,4057,3810,3540,3281,3560,3610,3417,3750,3996,4412,4070,3773,4036,4147,3986,3483,2998,3102,2894,1726,1183,1074,1001,895,803,922,1055,924,841,727,642,586,560,611,664,689,680,662,625,610,593,563,515,482,456,446,432,427,450,455,467,485,514,535,517,480,519,520,464,464,472,453,440,421,397,404,406,411,413,425,428,422,413,405,401,389,374,368,378,399,403,416,409,435,455,502,526,622,764,801,743,748,818,1019,1310,1214,1130,1123,1516,1366,1061,1108,1217,1162,1083,1099,1156,1158,1117,1206,1269,1241,1395,1226,1246,1318,1153,1147,1181,1030,984,1098,1136,1152,1092,1066,1032,986,1037,996,896,865,849,923,977,1038,1121,1255,1366,1296,1258,1171,1122,1128,1157,1142,1111,1100,1107,1137,1261,1289,1185,1174,1287,1448,1478,1547,1579,1490,1443,1313,1086,957,907,894,888,835,815,803,886,966,973,968,911,825,800,780,765,718,674,635,583,561,553,537,508,495,501,497,471,456,472,521,569,694,774,824,871,886,942,1035,1167,1396,1611,1536,1548,1850,1715,3056,3836,4046,4352,4285,4296,4357,4276,4373,4581,4771,4714,4456,3951,3639,3728,3773,3536,3571,3154,2002,898,597,506,453,392,367,349,332,332,322,310,307,307,311,318,323,333,338,335,335,328,326,328,337,359,380,402,427,455,488,502,533,533,556,602,534,496,551,553,534,557,519,501,468,459,465,425,440,434,420,410,392,383,374,376,416,371,339,309,315,337,341,341,341,346,348,347,351,351,350,350,348,349,349,351,349,352,356,360,368,372,374,378,382,385,372,353,338,330,321,314,305,282,272,285,292,297,299,299,310,304,302,297,292,293,297,300,293,295,299,301,302,300,318,329,332,338,350,361,363,350,342,346,359,367,379,381,382,402,431,451,462,455,423,408,411,417,410,397,391,380,368,363,359,363,357,348,338,316,304,287,276,270,267,264,264,258,254,251,250,250,249,248,247,243,242,242,244,243,241,242,235,235,236,233,234,234,235,242,238,234,226,232,239,243,250,246,244,245,236],[3229,3674,4089,4249,4137,4130,4025,3803,3577,3437,3444,3414,2627,2450,2521,2449,2874,2592,2115,2407,2724,2984,3051,3378,3400,2883,2711,2894,2740,2352,2928,3296,3383,2748,2824,2912,2045,2423,2839,2488,2344,2396,2288,2659,3084,2832,2420,2853,3167,3254,3333,2765,2188,2220,2568,2890,3610,3695,2437,2251,2197,2375,2416,2293,2364,2918,3040,2918,3517,3903,4101,3853,3189,3397,4232,4500,4145,3981,4271,4524,4661,3961,3011,2888,2502,2386,2378,2752,3078,3333,3396,3709,4176,3784,3321,3210,3276,3353,3132,2841,2689,3370,3764,3398,2666,2973,3422,3585,3781,3255,3331,3790,3974,3636,3444,3784,3332,3558,3875,3846,3813,3365,2857,3066,3589,3746,3746,3752,3074,3327,3876,3554,2865,2956,3140,3097,3254,2752,2536,2134,1757,1797,1882,2333,2469,2596,3298,3763,3239,2719,3128,3052,2885,3379,3251,3250,3074,3000,3344,3144,2844,2576,2498,2319,2354,2931,2978,2567,2226,2314,1913,2495,2508,2470,2229,2171,2270,2019,2241,2987,3161,3154,2467,2795,3364,3442,2505,2495,2832,2754,2435,1736,1355,2082,2907,2947,2465,1988,1871,2008,1797,2432,2620,2090,1825,1779,1774,2242,3002,2512,2586,2673,2073,2174,2100,1924,1533,1545,2024,2316,2908,3378,3110,3176,3308,3253,3406,3255,3016,2589,1979,1753,1716,1841,1910,1892,1910,2218,3074,3386,2562,2275,2026,1881,1967,1998,2088,2169,2177,2220,2514,3418,3371,2953,2999,3237,4012,3858,2980,2723,3159,2843,2453,3261,2859,2149,2135,2046,1987,1966,1706,1706,1836,1671,1704,1823,2013,1953,2046,1891,1682,2101,2352,2271,2102,2182,2002,1695,1646,1982,2209,2260,3307,3680,2226,1551,2133,2734,3093,3345,3627,3518,3553,3724,3608,3547,3459,3582,3659,3522,3433,3272,3432,3626,3566,2966,2965,3308,3272,3160,3108,3312,3115,2887,3584,3894,3933,3794,3669,3905,4188,3795,3505,3637,3384,2853,2637,2085,1846,2644,3570,3771,3804,3526,3411,3282,3024,2848,2885,2706,2030,1772,2167,1989,1912,2127,2802,3360,3448,3317,2851,2700,3055,2623,2516,2646,2492,2419,2093,1854,1853,2291,2490,2460,2251,2095,2131,2298,2264,2005,2266,2265,2526,2440,2324,2103,1997,1832,1786,2113,2212,1896,1633,1608,1867,2543,2006,1614,1711,1757,1838,2125,1901,1376,1477,1555,1454,1612,1774,1979,1710,1981,3164,3040,1798,1310,1624,1838,2060,2163,2398,2316,2380,2238,2413,2285,2030,1915,1938,1976,1799,1523,1826,2064,2021,2313,2989,2697,1855,1578,1630,1943,2226,2402,2540,2387,2126,2225,2166,1654,1862,1931,1558,1561,2040,2446,2728,2625,2220,1939,2190,2346,2257,2338,2423,2619,2001,2340,2648,2259,2252,2177,1961,2097,1753,2020,2247,2240,1860,1884,2071,2149,1913,1727,1582,1374,1603,2036,2277,2271,1858,1905,1905,2492,2419,2665,2280,1800,1967,1913,1798,2056,2203,1872,1653,1561,1954,2287,2413,2294,2510,2674,2530,2612,2737,3108,3074,3220,3748,3862,3901,2430,2002,2016,1799,1702,1772,1932,1745,1856,3162,3518,2005,2285,2541,2139,2180,2246,2711,2963,2403,2005,1992,1694,1714,1746,1532,1522,1546,1681,1807,1794,1870,1941,2228,2530,2415,1859,1667,1926,1771,1876,1912,1938,1956,2317,2460,2641,3242,3140,2374,2107,1675,1676,2211,2411,1990,1591,1078,979,1422,1820,1815,1813,1943,2042,1876,1636,1578,1537,1677,2002,1792,1558,1925,2781,2879,2468,2545,2023,2091,2479,2642,2507,2398,2208,2322,2176,1661,1448,1476,1377,1963,3415,3443,2610,2375,2340,2362,2034,2251,2001,1637,1706,1906,2114,2436,2789,2396,2077,1910,1524,1527,1680,1681,1500,1477,1765,2062,2044,2192,1893,1903,2446,1773,1551,1498,1742,2082,2380,2557,2588,2664,2734,3024,3069,2026,1909,2692,2250,1818,1700,1653,1656,1688,1729,1738,1719,1701,1699,1697,1700,1937,2569,2725,1961,1596,1799,2017,2296,3063,3544,2872,2500,3142,3140,3163,2705,2577,2629,2776,3007,2900,2496,2131,1911,2013,2092,2182,2297,1659,1628,2639,2894,2954,3285,3178,2442,1671,1550,1908,2249,2205,1995,2068,1855,2082,2332,2355,2121,1970,2352,2601,1881,1835,3142,3068,2901,2756,3305,3240,3119,3493,2920,2280,2024,2527,2818,2777,3197,3595,3958,4078,3575,3152,3175,3448,3520,3530,3438,3506,3432,3186,3116,3210,3094,3047,3123,2787,2752,2677,2364,2431,2946,2885,2636,2609,2610,2749,2939,2356,1935,2301,1865,1588,1748,1786,1917,2221,2182,2188,2269,1892,1819,2535,2494,2431,2557,3553,3727,3098,2811,2750,2787,2620,2832,3131,3414,3994,4426,4582,4927,4868,4915,4507,3993,3571,2629,1721,1593,1698,1830,2121,2402,2082,2586,2642,2691,2460,1981,2285,2163,2082,2459,2509,2853,3248,3588,4253,4461,4100,3291,2374,2532,3240,3131,2823,3382,3544,2921,2508,2912,3291,3918,3510,2670,2289,2377,2541,2776,2930,2711,2656,3040,3665,3873,3526,3274,2944,2656,2676,2832,2642,2237,2231,1909,2137,2875,3206,3024,2303,2006,2040,2098,2059,2358,2762,3095,3288,3352,3388,3175,3265,3225,2490,2521,2668,2666,2711,2822,2666,1985,1683,2072,2306,2298,2201,1935,2302,2132,2327,3071,3649,4003,3787,3216,3447,3453,3374,3431,3506,3737,3990,4216,4316,4238,4282,4475,4380,4268,4176,4099,4164,4176,3730,3506,3484,3304,3559,3731,3101,2474,2810,3082,3384,3599,3540,3335,3178,3168,3366,3538,3873,3997,4042,3963,3850,3884,3681,3432,3039,2483,2482,3287,3272,2679,2480,2670,2710,3029,3672,3278,3156,3203,3023,3391,3946,3662,3109,2938,2618,2556,2974,3020,2710,2742,3192,3461,3199,2886,2732,2448,2202,2391,2827,2708,2553,2429,2411,3002,3598,3162,2846,3100,3072,3166,3226,3189,3156,3289,3296,2889,3198,3544,3287,2629,3128,2375,3221,4288,4052,3652,2839,2264,2260,2342,3231,3475,2976,2584,2535,2584,3174,2595,2569,3018,3620,3252,2626,2924,3371,2749,2719,3082,3034,3511,3150,3032,3208,2931,3053,3407,3176,2574,2548,2899,2412,3143,3901,3706,2217,2247,2912,3206,3174,3077,3009,3012,3095,3017,3087,3097,2862,2575,2654,2917,2889,2774,2732,2771,2856,2603,2387,2312,1900,1676,1786,1910,1886,1893,1857,1590,1494,1527,1801,2028,2016,2667,3295,2762,2248,2358,2349,1801,2211,2361,2119,2086,1914,1744,1672,1886,1815,1818,1808,1613,1554,1724,1681,1707,1837,1840,1832,1828,1596,1567,1554,1563,1840,1853,1890,2298,1892,2046,1833,1288,1282,1723,1818,2032,1891,1766,1930,2003,1730,1870,1941,2177,2100,1825,1728,1830,2081,1994,1770,2209,2167,1721,1897,2460,2775,2676,2206,2183,2495,2461,2315,2076,1637,1536,1647,2065,2315,2940,2858,1922,1695,1851,1911,2008,2263,2467,2874,3183,2996,3216,3444,2420,2089,2388,2174,2290,2490,1946,1743,1979,1666,1564,1542,1564,1968,2002,2431,2474,2511,2333,2055,1848,1832,2116,2398,2451,2168,2296,2411,2261,2523,2750,2478,2012,1865,2169,2558,2416,2102,2052,2501,2683,2338,1901,1819,1693,1317,1233,1411,1551,1676,1971,2447,2564,3028,2832,2338,2200,2074,2389,2592,2217,2222,2565,2875,2890,2695,3138,2889,2215,2132,2040,1896,2059,2324,2281,2414,2451,3270,4244,4327,4252,4100,4389,4440,4373,4288,4188,3891,3551,3040,2177,2248,2482,2232,2185,2620,2590,2956,3228,3282,3214,3221,3031,2614,2426,2786,3959,4666,4799,4315,4055,4177,4297,4297,3884,3396,3240,3184,3321,3365,3409,3840,3789,4199,4074,3840,4014,4140,3890,3542,3276,3154,2372,1264,1125,1040,981,936,814,885,952,828,755,727,649,554,528,601,655,678,685,710,699,667,623,601,558,519,498,463,427,412,429,449,464,472,496,520,506,467,489,501,470,466,468,446,428,405,382,388,402,410,409,418,421,415,407,403,396,386,373,367,375,388,392,401,415,429,435,487,528,563,712,836,835,886,948,1097,1301,1274,1196,1130,1433,1528,1210,1075,1233,1271,1206,1139,1149,1183,1166,1222,1262,1277,1375,1252,1227,1333,1177,1101,1244,1100,992,1090,1135,1170,1119,1059,1056,993,998,1028,915,898,830,863,872,1024,1106,1208,1346,1317,1233,1155,1104,1113,1107,1078,1088,1064,1076,1098,1181,1238,1142,1136,1248,1364,1436,1543,1551,1494,1432,1338,1108,942,879,865,863,851,838,808,864,980,1007,1002,1008,944,907,868,820,765,707,652,595,558,544,530,500,483,487,494,467,451,455,492,554,664,745,829,899,905,932,992,1115,1324,1536,1409,1534,1679,2220,3484,3791,3870,3790,3548,3571,4195,4816,4873,4884,4771,4638,4494,4259,3969,3661,2829,2241,2842,3365,2759,1401,725,521,468,412,383,360,348,328,308,299,300,301,305,308,318,331,338,338,331,326,328,330,340,360,378,402,418,428,494,506,508,518,539,567,537,494,502,533,513,561,523,494,466,453,462,448,436,421,409,397,382,374,386,353,402,375,345,320,317,329,332,335,334,342,348,349,346,347,344,343,341,347,349,351,351,350,350,354,361,366,369,367,372,373,361,350,339,328,320,312,303,306,313,298,292,289,298,301,304,300,301,298,291,293,302,301,301,296,299,312,317,323,336,343,354,365,347,344,371,357,357,359,362,371,380,379,371,382,415,439,452,454,429,411,422,420,412,400,388,381,371,360,357,359,354,348,344,324,305,287,276,270,263,260,262,257,254,254,253,247,247,248,247,240,241,243,243,243,243,236,233,236,237,232,232,234,235,239,247,244,228,231,237,241,248,252,249,242,236],[3880,4417,4160,3933,3840,3565,3421,3393,3226,3125,3197,2995,2054,2608,2874,2592,2438,2127,2250,2611,2669,2935,2956,2802,3094,2530,2354,2631,2938,2800,3178,3607,3794,2987,2889,2482,2158,2930,2622,2652,2430,2577,2542,2756,2990,2690,2452,2972,3211,3169,3121,2601,2337,2319,2594,3050,3695,3184,2273,2181,2186,2546,2608,2429,2910,3353,3163,3039,3691,4101,4330,4107,3687,4009,4297,4360,4248,4357,4675,4571,4255,2926,2216,2469,2620,2857,2850,3159,3597,3626,3260,3472,4444,4476,3934,3457,3206,3029,2689,2910,3206,3687,3958,3607,3048,2965,3081,3441,3252,2860,3248,4006,4312,3852,3624,3547,3343,3770,4128,4321,4073,3508,3438,3660,3840,3995,4139,3927,3129,3140,3710,3885,3276,3266,3402,3200,3082,2709,3694,3246,2772,2175,2019,2112,2105,2512,3404,3754,2963,2218,2880,3219,3345,3472,3495,3864,3439,3143,3404,3331,3029,2663,2215,1709,2112,2943,2768,2473,2490,2260,2219,2431,2908,3517,3245,2922,2827,2241,2307,2951,3199,3365,3156,3139,3239,2841,2330,2489,2454,2010,1580,1475,1809,2470,2555,2421,2002,1672,1623,1683,1653,1991,2082,1839,1769,2296,2631,2876,2813,2769,2723,2457,2270,2120,1402,1193,1613,1905,1684,1779,2581,3112,3029,2895,2889,2955,3298,3514,3143,2524,1972,1539,1643,1853,1764,1902,2160,2429,2577,2554,2287,2447,2338,1967,2086,2089,1766,1919,2161,2115,2204,2871,2583,2438,2502,2701,3632,4269,3720,3464,3995,3463,2545,2952,2210,1771,1957,1993,2098,1822,1528,1698,1815,1908,1959,1891,2354,2171,1658,1499,2114,2141,2194,2260,2042,2042,2188,1953,2110,2476,2125,1869,2765,3485,2556,2612,2294,2152,2688,3355,3583,3497,3727,3625,3447,3352,3485,3413,3628,3807,3781,3439,3304,3437,3310,3110,3251,3033,2962,3176,3200,3386,3250,2876,3442,3701,3647,3685,3871,4407,4584,4279,4086,3882,3408,2861,2612,2275,1854,2393,2983,3109,3479,3453,3342,3260,3328,3285,2995,2923,2598,2236,2030,1327,1488,2358,3150,3545,3448,3106,2869,2807,2626,2573,2248,2406,2268,2487,2450,2116,2149,2611,2842,2621,2266,2212,2499,2229,2197,2209,2279,2545,2628,2292,1978,2122,2196,1893,2042,2332,2464,2869,2424,1815,1564,1824,1788,1932,2003,1728,2087,2450,2018,1541,1366,1153,1193,1329,1735,1836,1563,1843,2825,2963,1875,1498,1604,1822,2244,2213,2179,2509,2591,1822,1705,1954,2131,2015,1921,1989,1874,1846,2013,2069,1824,2332,3289,2856,2478,1982,1664,1770,1682,1867,2049,2244,2183,2290,2131,1873,1725,1688,2113,2535,2599,2847,3063,2569,1971,1955,2512,2351,2309,2719,3188,2868,2508,2938,3051,2508,2493,2659,2276,2392,2011,2402,2598,2049,1598,2027,2216,2156,2149,1814,1390,1387,1849,2116,2145,2027,1802,1759,2127,2720,2753,2279,1821,1987,2372,2165,2198,1972,1631,1260,1216,1672,2434,2746,2474,2040,2208,2550,2655,2548,2847,3518,3694,3666,3548,3621,3292,1868,1584,1804,1745,1611,1835,2160,1700,1711,3277,2667,1715,2014,1977,2008,2053,2107,2556,3267,2832,2323,2126,1930,2200,2116,1751,1534,1470,1492,1743,1897,1948,1980,1971,1975,1804,1675,1703,1889,1968,2262,2535,2701,2985,3068,2941,2921,3139,2683,2080,2080,1954,1625,1925,2321,1942,1278,1000,1194,1200,1560,1749,1671,1592,2006,1881,1582,1711,1849,1917,1747,1613,1998,2662,3367,3310,2609,2277,2024,2375,2481,2397,2205,2240,2292,2274,2031,1560,1569,1598,1503,2423,3212,2858,1887,1809,2320,2322,2207,2004,1657,1574,1409,1574,2170,2264,2985,2678,2159,1892,1458,1424,1573,1802,1932,1909,2211,2331,2347,2371,1820,2241,2744,2183,2220,2414,2374,2223,2155,2178,2002,2001,2053,2136,2580,2071,1793,2787,2432,1831,1736,1672,1629,1665,1700,1726,1746,1782,1738,1750,1739,1790,2457,2652,1961,1626,1865,1921,2322,3369,3317,2575,2281,2543,2807,3231,3007,2789,3031,3388,3420,3206,2623,2056,1852,1831,1911,2081,2384,2216,2038,2558,2732,2567,2267,2300,2145,1790,1790,2154,2453,2233,1961,1863,1587,1858,1953,1937,1903,2008,2386,2277,1847,2360,3541,3204,3255,2767,2260,2265,2453,2452,2383,2227,2228,2424,2430,2025,2168,2754,3407,3615,3543,3300,3327,3355,3576,3689,3442,3498,3508,3525,3384,3304,3219,3378,3393,3158,3248,3329,2874,2658,3069,3064,3018,3085,2931,2644,2597,1993,1673,1665,1845,1919,1785,1670,1679,1842,2336,2339,2149,1720,1967,2833,2866,2866,2557,3140,3819,3584,3117,2898,2987,3165,3867,4364,4341,4512,4647,4699,4783,4908,4940,4540,3874,3840,3181,2431,1807,1921,1939,2477,2732,2647,3078,2821,2629,2566,1971,1892,1740,1857,2267,2441,2567,2754,2927,3364,3387,3394,3100,2332,2307,2865,3749,3372,3297,3372,2751,2441,3120,3560,3431,3205,2864,2264,2084,2022,2331,2677,2602,2422,2846,3449,3638,3603,3204,2907,2706,2413,2501,2421,2445,2584,2091,2187,2758,3196,2617,2055,1924,2086,2338,2356,2553,2808,2620,2736,2863,3376,3190,3190,3042,2632,2661,3057,2946,2669,2814,2895,2657,2008,2104,2148,1998,1835,2002,2374,2082,2182,2946,3496,3735,3799,3492,3507,3516,3401,3230,3281,3419,3496,3573,3741,3819,3989,4191,3960,4136,4524,4350,3881,3826,3493,3265,3118,3074,3259,3573,3352,2885,2667,2676,2631,3052,3279,3446,3240,3142,3244,3419,3837,4080,3960,3835,3552,3256,3548,4074,3972,3586,2752,2714,3126,2752,2526,2976,2633,2746,3310,2826,3240,3327,3584,3486,3554,3217,2785,2688,2657,2845,3339,3493,3101,2739,3698,3398,3270,2843,3037,3107,2433,2096,2143,2070,2132,2419,2786,2915,3287,3137,3235,3028,2915,3196,3275,3211,3161,3360,3229,2845,3215,3261,3409,3845,4396,3068,3108,3718,3653,3245,2639,2653,2787,2604,3522,3392,2889,3065,2767,2380,2907,2933,3130,3639,3019,2632,2939,3373,3341,2469,2571,3127,3444,3370,3092,2750,2833,3338,3624,3669,3442,3012,3531,3306,2253,3165,3964,3652,2950,2893,2821,2862,2908,2842,3067,3242,3127,3087,3416,3333,3074,2533,2388,2699,2909,2753,2466,2402,2753,2723,2556,2614,2327,2170,2075,2431,2127,1647,1437,1461,1781,1831,1971,2291,2647,3419,3764,3539,2939,2425,2159,2143,2499,2359,1957,1949,1961,1937,1689,2058,1729,1594,1621,1495,1537,1755,1724,1732,1617,1512,1836,2149,1839,1502,1644,1735,1616,1605,1870,2040,1990,1899,1730,1422,1415,2063,1856,1998,1782,1821,1960,1964,2103,2321,2056,2015,2061,1565,1217,1837,2569,2236,2276,2373,1858,1642,1948,2277,2610,2792,2522,1954,2053,1828,1654,1686,1806,1719,1754,1777,1914,2740,2933,2444,2194,2125,1977,2165,2924,3054,3187,2984,2686,3002,2938,2049,1828,2128,2219,2519,2389,1714,1349,1695,1738,2432,2309,1737,1470,1904,2145,2335,3089,2808,1864,1655,2289,2342,2281,2090,2099,2397,2491,2293,2210,2524,2316,2181,2433,2167,1876,1851,1723,1642,2663,2734,2139,1958,1801,1482,1230,1315,1466,1772,1973,2015,2111,2166,1982,1530,1565,1481,1570,2084,2458,2542,3018,3210,2940,2973,3287,3326,2998,2409,1924,1831,2199,2819,2649,2159,2378,2621,3186,4144,3903,3760,3984,4153,4124,4113,4284,4233,3655,3427,3552,3081,3055,3039,2264,2023,2541,2933,3009,3023,3166,3347,3188,2783,2643,2523,2666,3854,4638,4632,4434,4236,4284,4461,4521,4362,3959,3304,3125,3326,3353,3353,3500,3652,3971,4239,4323,4444,4300,3793,3603,3831,3263,1730,1090,1011,1009,954,926,818,854,914,802,692,682,629,582,581,622,670,693,696,683,702,706,661,661,650,562,527,495,466,405,415,439,451,463,483,496,501,478,469,475,470,474,461,442,426,390,362,367,395,411,409,410,415,417,409,394,385,375,369,367,371,380,392,406,441,461,435,466,532,536,658,836,897,1046,1140,1142,1268,1348,1260,1120,1304,1572,1460,1060,1144,1281,1226,1155,1140,1214,1188,1173,1250,1301,1367,1285,1168,1277,1244,1049,1236,1145,1015,1079,1137,1151,1111,1049,1037,967,955,1034,934,925,839,860,876,941,1041,1147,1271,1326,1239,1159,1052,1065,1076,1038,1016,1020,1043,1076,1136,1190,1156,1124,1182,1280,1392,1465,1481,1491,1437,1320,1135,962,878,855,843,857,874,880,910,982,1014,1042,1143,1126,1047,968,865,782,731,673,606,558,536,518,500,476,481,486,467,452,448,470,534,633,735,868,906,917,929,950,1072,1285,1520,1409,1484,1758,2797,3719,3450,3321,3149,3076,3162,4141,4704,4666,4928,4871,4431,4449,4541,4319,3631,2156,1495,1900,3064,3263,2005,905,539,472,415,396,379,370,333,314,309,308,311,302,296,309,323,333,336,326,322,329,338,341,342,370,411,432,415,475,508,498,517,520,524,519,511,483,514,505,523,509,486,462,451,451,447,427,405,393,384,373,357,393,352,376,387,368,347,333,330,327,331,335,341,342,342,337,338,338,335,340,343,344,347,350,348,346,353,352,359,360,364,368,361,354,345,334,329,321,307,308,306,306,290,290,295,305,305,297,296,298,298,293,297,298,299,306,307,325,331,340,368,378,371,385,399,385,341,375,369,375,374,374,384,390,380,366,374,402,420,435,442,431,419,426,434,422,405,388,382,373,365,357,349,348,348,340,329,310,293,279,271,264,264,260,254,255,257,257,254,247,247,246,246,242,242,241,242,240,235,234,233,231,236,234,231,233,242,254,247,228,229,236,242,248,254,253,245,237],[4026,4344,3762,3393,3551,3585,3356,3407,3617,3594,3100,2677,2327,2912,3189,3106,2769,2206,2376,2964,2610,2640,2648,2215,2168,1751,2105,2893,2922,2942,3642,4277,3992,3108,2878,2631,2898,2918,2305,2784,3212,3077,2990,2810,2614,2695,3017,2923,2916,3012,2570,2244,2706,2397,2326,2304,2800,2806,2535,2492,2752,2863,2558,2797,3253,3117,3197,3322,3908,4064,4073,4015,3941,4140,4048,4035,4401,4608,4596,4152,3818,3031,2534,2602,2751,3028,3354,3763,3968,3838,3593,3452,3978,3995,3891,3459,2938,2707,2843,3077,3012,3333,3853,3661,3237,3070,3256,3499,3094,2769,2797,3143,3511,3183,3264,3388,3340,3736,3834,4188,4299,3603,3720,4177,3936,3793,4005,3959,3758,3328,3544,4152,3690,3305,3219,3011,3319,3748,4153,3985,3962,3345,2265,1823,2046,2330,2651,2788,2810,2121,2143,2687,3378,3465,3920,3974,3427,3473,3626,3493,2852,2236,2367,1923,1980,3109,3134,2729,3082,2815,2096,2103,2508,3072,3120,3466,3460,3045,2731,3310,3669,3659,3012,2666,3156,3190,2558,2042,1995,1846,1658,2207,2495,2686,2432,2148,1897,1732,1458,1428,1698,1621,1781,1872,2317,2858,2964,2939,2867,2699,2453,2040,1842,1771,1705,1826,1919,1607,1237,1491,2172,2742,3051,2988,3056,3145,3310,3064,2836,3254,2944,2030,1933,1944,1840,2169,2330,2533,2170,2179,2326,2380,2266,1972,1903,1995,1676,1736,2145,1981,2142,2587,2484,2564,2641,2721,3340,3698,3267,3561,4324,4051,3068,2782,2195,1991,2125,1975,2032,1965,1840,1889,2128,2142,2055,2483,2696,2457,1738,2254,2638,1819,1728,2084,2116,2249,2339,2041,2433,2656,1779,1751,2257,2315,2312,3019,2580,2187,2106,2438,3254,3575,3594,3570,3430,3197,3557,3626,3460,3636,3797,3710,3573,3556,3365,3317,3481,3164,3308,3419,3405,3632,3580,3504,3530,3437,3609,3924,3901,4147,4288,4123,3693,3562,3210,2831,2664,2416,1938,2014,1891,2167,3406,3646,3260,3051,3187,3130,3010,2943,2823,2242,1395,1008,1532,2446,2742,2377,2598,2771,2532,2317,2182,2554,2437,2253,2011,2156,2366,2502,2366,2479,2588,2896,2320,2053,2445,2368,2246,2222,2078,2030,2205,2230,2196,1924,1680,2146,2376,2547,2723,3209,2433,1462,1511,2331,2449,2049,1704,1816,2534,2333,2032,1537,1238,1317,1411,1513,1738,1715,1542,1485,2018,2632,2565,2344,1720,1478,1958,2032,1930,2568,2744,2207,2054,2258,2619,2593,2251,2445,2819,2637,2318,1865,1567,1727,2276,2626,2644,2129,1772,1654,1638,1824,2010,2388,2175,2256,2223,1999,1839,1978,2464,2888,2866,2828,3141,2978,2208,2451,2717,2373,2233,2480,2577,2452,2823,3476,3618,2851,2451,2392,2154,2084,2047,2403,2364,2045,2284,2336,2093,1965,1474,948,1036,1455,1728,2213,2274,1873,1802,1835,2291,3344,3484,2667,2094,2203,2537,2040,1696,1278,1278,1394,1478,1989,2598,2964,2918,2171,2169,2346,2702,2735,2357,3005,3510,3292,2442,2415,2552,1923,1471,1675,1825,1634,2267,2381,1873,1655,2234,1975,1776,1786,2047,2050,2049,2023,2072,2618,2385,2640,2642,2040,2446,2202,1613,1598,1607,1582,1668,1655,1909,2060,1910,2214,2188,2056,2268,2666,2632,2923,3628,3466,2806,2365,2631,2886,3007,3105,2398,1893,1946,1599,1680,2303,2600,1837,1420,1703,1513,1547,1883,1744,1584,1656,1542,1449,1970,2253,2181,1624,1501,2121,2613,2854,2924,2455,1621,1904,2463,3011,2802,2263,2128,2533,2634,2091,1819,2241,1730,1576,2155,2281,1985,1728,1677,1880,2114,2024,1562,1399,1417,942,1513,2270,1976,2365,2518,2505,1918,1360,1443,1540,2018,2597,2363,2214,2425,2436,2382,2106,2448,3050,2641,1936,1705,1611,1561,1571,1760,1716,1651,1603,1536,2156,2177,1785,2624,2647,1930,1766,1700,1649,1688,1696,1714,1773,1748,1722,1714,1703,1688,2114,2444,2188,1699,1801,1782,2202,3350,2568,2204,1931,1967,2209,2624,2674,2336,2688,3384,3306,3072,2600,1980,1837,1866,1918,2006,2128,2318,2131,2119,2443,2301,2105,2431,2258,1892,1873,2381,2284,1920,1864,2198,2570,2428,2070,2054,1891,2133,2268,1798,1402,2322,2802,2768,2723,1868,1340,1789,1992,1702,1772,1707,1923,1854,1863,1897,1798,2144,3072,3429,3362,3299,3510,3626,3616,3438,3232,3544,3642,3934,3903,3647,3416,3496,3404,3275,3320,3398,3248,3076,3216,3367,3087,3251,3187,2717,2307,1768,1804,1968,1974,2286,2226,1824,1886,2062,2710,2524,2115,2094,2186,3138,3226,2664,2542,2824,3508,3540,3495,3482,3354,2899,3977,4840,4728,4708,4331,4074,4544,4839,4819,4428,3735,3769,3351,2966,2609,2155,1911,2354,2769,2998,3111,2523,1836,2264,2287,2244,2039,2316,2142,2115,2537,2738,2940,2982,2896,2855,2565,2286,2442,2598,3300,2938,2855,2840,2408,2284,2389,2523,2839,3296,2852,1976,1754,1736,1852,2263,2232,2036,2236,2741,3449,3581,3219,3240,3099,2742,2534,2740,2908,3253,3043,2935,2552,2513,2332,2142,2282,2192,2325,2395,2508,2710,2357,1978,2620,3129,3173,2835,2227,1932,2127,2644,2590,2555,2562,2362,3090,2210,1707,1748,1816,1935,2100,1900,1854,1984,2624,3374,3400,3470,3347,3565,3555,3339,3271,3328,3330,3174,3121,3330,3508,3648,3789,3968,4364,4439,4231,4116,3848,3652,3585,3407,3262,3341,3602,3309,3215,2842,2878,2941,3145,3270,3382,3351,3260,3308,3352,3641,3880,3666,3482,3099,2919,3206,3753,4040,4160,3450,2556,2712,2820,2624,3098,3121,2956,2937,3113,3338,3187,3604,3493,3204,3041,3128,3263,3132,3539,3570,3105,3146,3442,3757,3397,2957,2788,3065,2921,2558,2482,2492,2356,2161,2058,2348,2637,2946,3351,3463,3010,2871,3096,3156,3156,3208,3705,3792,3444,3317,3333,3535,4212,4820,3851,2696,3062,3849,3400,3188,3467,3573,2562,2877,3484,2994,3193,3049,2454,3096,3244,3086,3413,2642,3037,3199,2741,2571,2600,3466,3777,3884,3461,2978,2758,2620,3473,3703,3341,2757,3232,3515,3140,2612,2988,3276,2661,2679,3033,3031,2765,2570,2923,2957,2839,3045,3319,3292,3482,3271,2720,2491,2769,3045,2767,2321,2391,2929,3053,2851,2681,2485,2609,2322,2368,2147,1796,1955,1836,1891,2418,2366,2067,2342,3293,3642,3638,3223,2330,2014,2097,2150,2470,2616,2061,2078,1762,1676,2178,1883,1600,1488,1454,1725,1849,1615,1497,1466,1525,1820,2166,1644,1487,1956,2148,1932,1934,1878,1763,1853,1882,1874,1468,1643,1943,1572,1479,1448,1689,2200,1870,1760,2170,1802,1561,1876,2105,1962,2511,2536,1662,2494,2292,1565,1515,1461,1746,2454,2973,2822,1886,1620,1485,1612,1886,1779,1814,1819,1692,2012,2540,2919,2636,2411,2355,2374,2601,2903,2531,2701,2911,2965,3112,2997,2338,1909,2177,2374,2329,1951,1768,1388,1545,2367,3054,2669,2190,2086,2433,2656,2875,2944,2644,2031,1895,2520,2633,2490,1997,1604,1855,2858,2991,2095,2449,2527,2940,2476,2098,1964,1888,1565,1212,2321,2798,2116,2042,1880,1379,1632,1591,1607,1942,2398,2288,1924,1893,1758,1830,1936,1679,1598,1826,2344,2590,2562,2153,1835,2558,2966,2565,2898,2920,2114,1997,3008,3252,2467,2236,2263,2728,3034,3848,3894,3879,4101,4022,3931,3958,4348,4216,3396,3140,3354,3435,3425,3118,2724,2672,2976,3189,3016,2933,3000,3189,2994,3051,3333,2979,2643,3436,4475,4111,3890,4217,4296,4487,4783,4603,4344,3483,3238,3348,3303,3283,3286,3278,3794,4439,4535,4384,4255,3897,3929,3930,2615,1360,972,937,972,958,912,831,825,872,836,712,690,674,629,633,622,664,698,707,692,688,700,681,728,676,578,506,513,498,419,407,421,428,456,480,486,489,480,471,457,451,464,462,444,417,385,352,353,386,401,404,402,407,412,406,393,379,365,362,360,364,371,386,401,435,465,445,440,513,551,622,772,866,1007,1172,1199,1217,1411,1363,1153,1223,1471,1670,1201,1108,1314,1313,1236,1178,1212,1236,1207,1241,1294,1421,1421,1151,1201,1319,1086,1195,1225,1077,1073,1116,1109,1063,1018,1008,942,909,995,938,897,865,869,904,954,1039,1144,1257,1306,1253,1168,1035,1020,1021,997,979,988,1021,1035,1061,1112,1098,1067,1098,1226,1318,1395,1421,1456,1438,1311,1154,986,862,854,861,876,905,908,904,924,990,1043,1126,1136,1070,985,887,808,742,679,616,567,536,514,496,474,467,471,461,448,453,491,523,625,731,828,942,954,932,915,1014,1276,1506,1501,1510,1913,3207,3506,3159,2963,2923,2902,2791,3813,4320,3790,4198,5167,4771,4204,4405,4421,3711,2754,1619,1312,2563,3406,2533,1169,550,492,415,399,381,370,354,345,338,329,313,299,299,307,311,314,320,318,315,327,343,359,378,414,444,443,423,463,507,502,514,519,519,514,507,487,492,504,497,483,468,450,440,440,433,411,384,373,369,366,344,379,372,365,394,395,375,355,349,351,353,347,342,337,336,337,335,334,339,342,343,343,343,343,344,344,347,350,359,358,362,359,350,343,337,328,321,316,314,312,307,300,294,292,292,306,313,303,289,294,300,298,302,320,337,336,333,366,369,362,404,432,461,459,397,433,364,375,374,384,384,383,388,398,398,378,373,387,401,418,433,427,425,430,443,434,401,388,382,373,365,350,346,343,341,341,325,311,296,280,271,265,260,254,254,253,251,247,244,240,241,240,247,250,247,242,245,240,234,233,232,227,226,232,235,234,242,250,248,234,232,240,248,254,257,252,246,240],[3827,4139,3582,3383,3508,3677,3541,3775,3952,3719,3398,3457,3408,3691,4015,3690,3246,3124,2939,3126,2757,2602,2610,2011,1868,2201,2708,2895,2526,2940,3958,4233,3592,3040,2942,2807,2997,2548,1996,2656,2906,2972,3081,2806,2455,2249,2761,2669,2887,3012,2880,3086,3156,2619,2275,2215,2283,2371,2622,2932,3116,3068,2918,3238,2911,3045,3244,3619,4157,3892,3486,3559,3704,3827,3831,3871,3912,3882,3814,3675,3540,3524,3479,3383,3229,3295,3303,3661,3967,3891,4141,3951,3980,3706,3032,2576,2470,2456,2868,3260,3134,3241,3231,2641,2549,2764,3257,3449,3209,2975,2626,2867,3374,3099,3137,3374,3516,3378,3694,4208,4420,3923,3706,3858,4112,4224,3980,3685,3531,3259,3450,4069,3987,3120,3095,3197,3531,3804,3688,3624,3854,3378,2345,1997,2487,2611,2232,2147,2806,2435,2066,2401,2946,3284,3719,3721,3530,3499,3469,3376,2639,2146,2316,2007,1989,2835,3168,2402,1993,1785,1669,2081,1982,2105,2672,3284,3684,3599,3252,3240,3461,3605,3407,3260,3580,3815,2984,2290,2128,1848,1884,2416,2495,2403,2109,1911,1940,1911,1654,1521,1666,1646,1664,1536,2018,2668,2520,2489,3172,3039,2440,2080,1746,2137,2344,1743,1203,1313,1513,1647,1957,2328,2813,3048,3204,3394,3264,2850,2792,3370,3718,2641,1932,1776,1868,1874,2293,2497,2287,2603,2620,2137,1974,2094,2244,1862,1634,2140,2474,2112,2210,2584,2596,2275,2214,2387,2883,2634,2307,2998,3698,3379,3484,3693,3021,2430,2089,2131,2342,2155,2166,2587,2354,2017,1830,2294,2732,2734,2371,3086,3041,1917,1600,1920,2610,2573,2540,2278,2309,1976,1491,1498,2055,2198,2556,3163,2981,2448,2047,2121,2769,3429,3517,3732,3610,3462,3414,3613,3736,3522,3572,3791,3841,3638,3395,3581,3582,3496,3570,3625,3580,3706,3951,3972,3582,3141,3425,3869,3684,3872,3964,3634,3319,2878,2600,2630,2723,2457,1912,2210,2907,3121,3641,3271,2988,3222,3217,3284,3281,3265,3124,2382,1380,1205,1987,2654,2673,2263,2402,2708,2253,1572,1735,3024,3334,2597,2370,2127,2367,2494,2278,2522,2805,2944,2156,2177,2764,2483,2038,2222,2217,1980,2013,1952,2022,1831,1920,2326,2574,2632,2082,1519,1263,1207,1464,1859,1783,1710,1391,1427,1793,1764,1969,1888,1660,1703,1749,1678,1859,1924,1776,1747,2239,2896,2867,2188,1797,1604,1905,2070,2016,2639,2839,2403,2582,2410,2501,2911,2292,2184,2388,2196,2087,1902,1649,1595,1769,2171,2554,2211,2026,2204,2164,1898,1813,1909,1926,2126,2014,1824,2018,2286,2319,2685,2658,2446,2463,2552,2699,3071,2894,2503,2264,1981,1709,2214,3043,3665,3769,3086,2336,2271,2318,2215,2207,2240,2553,3127,2709,1811,2148,2254,1479,1072,1340,1526,1840,2415,2418,2055,1704,1697,2474,3490,3322,2636,2164,1961,1989,2156,1757,1436,1648,2078,2569,2688,2258,2575,3400,2412,2386,2580,2844,2499,2066,2456,2963,2719,2042,2137,2909,2434,2126,2713,2648,2499,3196,2866,2279,1931,1669,1708,1651,1767,1841,1769,1884,2115,1902,2034,2107,2171,2210,1896,1966,1794,1504,1626,2004,1875,1770,1719,2186,2323,1993,2081,2385,2366,2621,3292,3062,3139,3952,3816,3461,3072,3160,3060,2749,2878,2471,1759,1709,1802,1745,2781,3334,2458,1946,2072,2467,2146,2344,2214,1649,1393,1455,1715,2047,2129,2069,2186,2263,2247,2081,2490,3073,2567,1903,2002,2516,2731,2696,2325,2096,2809,2758,2308,2212,2320,1910,1870,2062,2618,2599,2114,1745,1831,1865,1564,1128,913,1366,1493,1947,2490,2266,2102,2429,2903,2460,1867,1625,1525,1902,2476,2499,2497,2618,2533,2150,2045,1873,2217,2220,1684,1546,1499,1489,1510,1416,1430,1545,1697,1437,2084,2311,1766,2351,2790,2071,1803,1809,1772,1668,1604,1629,1732,1819,1844,2015,2234,2222,2136,2181,2372,1909,1942,1697,1924,2943,2601,2271,1924,2013,2384,2562,2690,2685,2918,2905,2556,2535,2454,2072,1969,2015,2085,2204,1978,1653,1777,2197,2279,1982,1992,2362,2389,1954,2040,2332,1866,1687,2495,3377,3317,2573,2017,1942,2054,2002,1681,1817,1670,1729,2039,2298,2275,1934,1669,1995,2206,1923,1857,1736,1770,1526,1654,1833,1925,2147,2625,3160,3243,3384,3970,3926,3575,3442,3375,3974,4059,4153,4252,4180,3969,3792,3447,3473,3451,3339,3291,3326,3404,3392,3166,3227,3240,2919,2543,2050,1787,1669,1637,2344,2523,1864,2288,2542,2416,2697,2596,2425,2599,3176,3240,2777,2897,2839,3526,3597,3645,3793,3945,3559,4295,4973,4969,4596,4014,4071,4440,4398,4400,3824,3355,3384,3033,3010,3174,2563,2039,2171,2510,3068,3210,2757,1984,2229,2190,2461,2337,2934,2854,2043,1959,2175,2509,2724,2867,2509,2221,1963,2202,2485,2583,2674,2534,2056,2178,2600,2416,2276,2821,2963,2358,1814,2195,2303,2414,2278,1835,2010,2187,2624,3456,3742,3585,3594,3073,2533,2362,2611,2574,2730,3184,3196,2804,2472,2247,2477,2574,2692,2680,2711,2719,2669,2623,2655,3033,3119,2839,2312,1771,1684,2203,2921,3189,2785,2578,2677,3055,2393,1700,1798,2222,2397,2627,2006,2050,1955,2307,3100,3017,3311,3912,3959,3581,3373,3404,3351,3378,3272,3208,3379,3617,3463,3579,3798,4163,4469,4428,4354,4441,4080,3674,3530,3242,3384,3473,3172,2873,2778,3001,3199,3269,3400,3707,3730,3463,3523,3416,3775,3835,3415,3116,3043,2956,2957,3269,3580,3872,3475,2476,2196,2387,2425,2822,3655,3504,3074,3124,3064,2931,3061,3385,3444,3102,3532,3121,2466,3387,3244,2712,2919,3443,3439,3182,3003,2980,3166,2807,2661,2319,2562,2711,2620,2281,2093,2007,2337,2952,3154,2787,2686,2857,2863,2774,2619,3084,3685,3383,2924,3127,3206,3443,4343,4208,3216,2817,3884,4144,3902,3256,2953,2353,2358,3660,3589,3252,3309,2686,3094,3473,3208,3452,2895,2684,2889,2912,2450,3304,4340,4196,3458,2387,2294,3107,2666,3036,3519,3161,2476,3077,3227,3682,3212,2760,2704,2601,2985,3199,3367,3066,2958,3105,3123,3275,3342,3325,3196,3325,3371,2893,2592,2823,2622,2130,2356,2575,3144,2996,2729,2572,2383,2066,1628,1717,1940,2081,2574,2336,2695,2813,2233,1729,1734,2507,3286,3218,2517,2185,2100,1955,2178,3029,3206,2476,2187,1659,1739,1728,1652,1585,1460,1558,1889,1863,1560,1557,1664,1622,1725,1710,1624,1737,2041,2280,2110,1703,1616,1708,1849,2103,1810,1456,1717,1558,1365,1534,1387,1542,2104,1811,1581,1816,1630,1352,1887,2276,2199,2100,1732,1532,2215,2110,1641,1794,1708,1872,2237,2402,2728,2338,1710,1526,1561,1546,1694,2237,2467,2521,2458,2208,2282,2494,2149,2088,2165,2562,2672,2207,2576,2846,2840,3323,2998,2359,2072,1802,1941,2088,1891,2089,1783,1826,2897,3134,2358,2599,2990,2783,2555,2911,2821,2867,2146,1528,1713,2222,2105,1627,1564,2257,3278,2858,2079,2215,2255,2685,2183,1989,2101,2148,1864,1266,1697,2196,2238,2230,2032,1587,1735,1541,1684,2456,3079,2747,2165,1882,1965,1796,1907,2091,2219,2165,2459,2459,2260,1917,1996,2754,2363,1758,2339,2687,2204,1484,1864,2646,2611,2711,2943,2764,2698,3606,4071,3979,4113,4246,4241,4096,4300,3980,2956,2690,2955,3317,3542,3253,3111,2997,2730,2792,2844,2964,2977,3244,3049,3181,3399,3129,2841,3299,3684,3055,3132,3938,4565,4568,4621,4368,4248,3800,3318,3317,3333,3317,3244,3075,3517,4212,4520,4345,4256,3955,4113,3677,2170,1170,914,871,893,954,944,844,767,772,749,658,684,705,643,638,622,676,724,701,721,714,714,706,804,706,618,518,503,499,442,407,404,409,446,478,476,474,471,467,456,445,453,459,458,420,377,353,347,374,393,398,395,398,406,402,389,374,359,353,356,360,360,374,389,414,426,450,434,492,544,579,685,853,935,1035,1218,1134,1351,1422,1158,1144,1323,1674,1369,1114,1308,1385,1268,1243,1159,1252,1256,1281,1263,1368,1455,1208,1177,1403,1226,1116,1264,1163,1080,1103,1093,1038,982,949,919,865,935,946,884,865,878,894,917,1000,1144,1278,1293,1266,1122,999,956,946,969,984,977,1002,1012,1038,1116,1130,1091,1093,1182,1238,1306,1345,1407,1455,1371,1227,1060,922,891,878,910,946,898,852,864,952,1034,1092,1103,1038,965,888,801,736,679,618,570,536,512,485,464,456,454,451,440,447,505,519,611,726,835,949,994,936,904,1032,1311,1508,1510,1521,1681,2731,3220,2941,2534,2656,3360,3601,3760,4019,3105,3291,4965,5273,4464,4240,4301,4050,3804,2329,1198,2042,3190,2840,1363,630,518,440,408,395,374,358,359,346,323,309,309,316,304,295,300,304,311,318,328,351,367,367,370,398,421,420,430,485,506,505,487,497,522,520,495,479,482,482,467,451,443,434,431,423,399,374,364,352,346,338,369,391,377,400,391,384,355,359,379,371,358,346,338,334,335,337,340,343,343,345,346,344,344,345,343,340,342,345,352,354,354,345,340,332,327,325,316,317,314,304,306,301,293,295,308,313,307,299,297,300,301,311,318,311,323,346,389,404,371,417,447,524,531,495,467,400,378,391,398,386,391,390,401,403,387,369,371,382,398,420,429,431,436,445,440,418,396,384,372,361,354,347,342,340,339,328,317,299,284,279,268,264,259,256,249,240,240,229,233,235,241,247,249,246,239,240,240,235,234,228,228,232,237,235,239,244,247,252,237,232,238,246,254,258,256,252,247],[3889,4120,3594,3372,3531,3692,3566,3937,3884,3737,3963,4220,4048,3905,4035,3438,3187,3531,2595,2514,2348,2153,2403,2689,2904,3042,2864,2207,1947,2856,3663,3500,2763,2814,2746,2878,2402,2093,2364,2457,2288,2570,2811,2546,2325,2508,3017,3089,3155,2907,3054,3251,3094,2818,2452,2423,2287,1961,2287,2622,2696,3259,3551,3547,2761,2755,3327,3763,3675,3217,3249,3705,3566,3140,3209,3506,3692,3614,3492,3156,3216,3747,3746,3627,3493,3405,3541,3894,4104,3916,4028,3872,3484,2679,1958,1930,2150,2299,2602,2867,3129,3466,2876,2044,1773,2041,3038,3654,3395,3547,3893,3762,3775,3390,3264,3494,3852,3595,3868,4161,3784,3557,3641,3974,4165,3880,3462,3304,3483,3550,4025,3863,3489,2641,2277,3172,3858,3348,2814,3034,3295,3050,2700,2395,2720,2491,1911,2287,2520,2320,2105,1990,2010,2403,2873,3143,3422,3334,3240,3152,2702,2643,2724,2608,2784,3165,3034,2391,2106,1803,1770,2080,2171,2665,2791,2612,2957,3235,3220,3140,3061,3119,3184,3185,3375,3042,2368,1979,1990,1784,1903,2003,2086,2072,1926,1992,2058,1770,1733,1349,1425,2060,1873,1578,1743,2622,3071,3067,3398,3464,3041,2422,2269,2486,2565,2595,1954,1992,1848,1887,2304,2525,2614,2971,3441,2987,2547,2426,2243,2579,3020,3161,2977,2305,1954,2043,2447,2405,2279,2598,2591,2272,2389,2333,2269,1841,1583,2235,2366,2154,2470,2734,2800,2754,2725,2675,2791,2641,2767,2695,2758,2824,3340,3619,3270,2705,2505,2452,2684,2547,2476,2678,2585,2078,2008,2578,3154,3248,2799,2472,2176,1751,1621,2611,3043,2744,2438,2132,2092,1898,1774,1465,1783,2091,2437,3150,3362,2851,2336,2445,2796,3225,3441,3708,3738,3603,3529,3748,3894,3653,3592,3812,3840,3588,3400,3623,3873,3843,3732,3705,3639,3639,3941,4071,3806,3350,3274,3562,3507,3726,3871,3759,3360,2426,2010,2261,2565,2483,1874,2204,3174,3835,3542,3155,3464,3386,3182,3265,2964,2835,2894,2868,2129,2140,2485,2562,2763,2840,2808,2657,2167,1677,2392,3584,3630,3094,2640,2379,2380,2336,2207,2543,2459,2460,2302,2263,2365,2216,2342,2211,2056,1898,1900,1958,1834,1818,1898,2221,2570,2509,2007,1651,1429,1397,1380,1664,1773,1656,1411,1599,1861,1901,2088,2151,1861,1651,1778,1755,2133,1907,1792,1961,2470,2867,2553,1806,1819,1912,2099,2269,2379,2814,2962,2788,2925,2654,2618,3008,2395,1637,1576,1794,1742,1931,2218,2357,2406,2747,2712,2252,1950,1870,1785,1709,1814,1752,1908,2176,1986,1926,1927,2018,2055,2502,2210,1874,1543,1735,2464,2964,2896,2451,2271,2192,1677,2250,3121,3339,2923,2364,2123,2295,2266,2200,2206,2253,2901,3815,3125,2173,2405,2902,2114,1722,1763,1803,2233,2429,2308,2078,1626,1897,2310,2779,2820,2589,2561,2191,2235,2921,2653,2030,2176,2587,2866,2866,2752,2656,3353,2773,2778,2872,3020,2389,1749,2290,2801,2421,2264,2785,2907,2105,2333,2562,2282,2407,2916,2919,2903,2405,1774,1649,1836,1949,2194,2217,1986,2276,1824,2071,2039,1806,2009,2008,1641,1498,1302,1600,1998,1953,2098,2417,2556,2301,1993,1980,2510,2539,2097,2315,2253,2801,3562,3726,4048,4196,3771,3352,3078,2866,2526,1888,1594,1745,1594,2513,2696,2362,2430,2869,3010,2590,2338,2276,2143,1803,1786,2161,2158,2192,2471,2920,2674,2544,2502,2842,3208,2931,2388,2370,2995,3630,3680,3007,2626,3123,3040,2868,2521,1922,2264,2151,1780,2499,2770,2449,2014,1912,1654,1407,798,1058,1468,1665,1943,2475,2534,2871,3964,3851,3296,2678,2316,1736,2122,2304,2382,2642,2700,2436,1839,1708,1709,1758,1738,1664,1740,1702,1727,1647,1751,1767,1777,1870,1825,2438,2598,1880,2114,2910,2316,1826,1766,1818,1904,2106,2286,2541,2491,2125,2382,2433,2314,2185,2024,1923,1735,1753,1644,1841,2752,2778,1959,1606,2037,2238,2524,3125,3472,3551,3230,2483,2182,2160,2030,1948,2056,2128,2110,1872,1649,1979,2330,2070,1593,1707,2149,2281,2048,2070,2207,2148,2579,3593,3840,3193,2215,1957,1936,2230,1651,1452,1800,1620,1683,2001,2252,2505,2697,2734,2843,2386,2304,2267,1936,2021,1937,1829,2216,2574,2296,2827,3566,3583,3683,4119,4244,3839,3322,3424,3911,4046,3982,4147,4365,4441,3928,3130,3176,3394,3458,3369,3508,3597,3539,3432,3306,3086,2857,2728,2432,1965,1989,1646,1949,2054,1995,2436,2283,2301,2800,3062,3256,3440,3650,3829,2884,2845,3241,3312,3342,3774,3848,4186,4500,4765,4765,4421,4097,3920,3935,4207,4412,4365,3920,3674,3462,3096,3174,3381,3184,2745,2062,1931,3040,3462,2839,2383,2077,1865,2167,2187,2368,2453,1803,1668,1528,1925,2047,1672,1782,1852,1695,1965,2630,2558,2387,2807,2832,2764,3230,3572,3409,3061,2538,2167,2232,2841,2767,2580,2072,1836,2149,2702,3002,3363,3739,3754,3513,2930,2487,2237,2234,2408,2874,2894,2261,2331,2531,2953,2695,2229,2932,3340,2764,2404,2548,2702,2722,2766,2836,2690,2272,1857,1947,2667,3298,3327,2965,2720,2796,2900,2471,1959,2294,2498,2562,2603,2622,2486,1986,1997,2590,2861,3347,3889,3868,3586,3350,3253,3301,3348,3297,3253,3364,3373,3431,3667,3751,3836,4101,4143,4363,4752,4271,4030,3798,3518,3292,3046,2730,2691,2808,2866,3024,3163,3384,3665,3773,3538,3486,3361,3566,3584,3316,3243,3107,2721,2736,2908,3010,3020,2820,2577,2580,2927,3361,3158,3554,3874,3555,3062,2633,2379,2613,3460,3476,3038,3264,3023,2812,3140,2974,2713,3011,3415,3156,2862,2680,2957,3204,2971,2699,2620,2707,2714,2802,2778,2458,2091,2117,2182,2053,2228,2426,2798,2865,2549,2061,2293,2881,3168,3122,3207,3149,3207,4120,4240,4410,3174,2708,2249,2618,3078,3121,3318,2953,3242,4027,3338,2562,2467,2934,3410,3187,3008,3120,2586,2820,3348,3472,4244,4183,3696,3592,3301,2779,3123,2820,2775,3472,3253,3121,3505,3680,3726,3200,2764,2479,2510,3066,3217,3174,3228,2837,3115,3893,3955,3448,3355,3396,3615,3659,3388,2770,2655,1957,1562,2363,2488,2846,2875,2644,2746,2544,2412,2153,1802,1932,2028,2167,2243,2304,2004,1649,1430,1454,1917,2569,2420,1998,1983,1939,1889,1814,2447,2648,2397,1918,1663,1648,1737,1698,1614,1540,1543,1522,1694,1706,1700,1773,1669,1816,1799,1571,1481,1455,1825,2061,1628,1644,1686,1578,1810,1873,1898,1906,1697,1730,1840,1342,1533,2032,1757,1600,1578,1529,1537,1916,1897,1982,1886,1526,1595,1827,1869,2132,2346,1852,2012,2206,2683,2975,2618,2020,1473,1616,1861,2343,3112,3373,2654,2352,2062,2254,2570,2282,2069,1910,1975,2104,2554,2837,2744,2820,3025,2576,2354,2377,1907,1914,2138,2099,2043,1710,1918,2931,2835,1914,2567,3340,3076,2729,2937,3006,2430,1794,1384,1604,1914,1625,1800,2388,2697,2762,2328,2311,2411,2118,2189,2060,1851,2158,2319,2356,2084,2264,2227,2798,2929,2490,2160,1855,1872,2171,2180,1878,2168,2257,1842,1739,1525,1983,2912,3435,3342,3034,2599,2352,2307,2643,2646,1926,2148,2458,2891,2587,1632,1954,3050,3361,3553,3260,2456,2615,3481,4144,3996,4013,4228,4272,4188,4200,3795,3081,2827,3024,3371,3403,3355,3452,2994,2523,2570,2337,2967,3162,3343,3386,3606,3746,3226,2630,2735,3008,2821,3188,3709,4840,5085,4569,4120,4042,3761,3368,3308,3255,3249,3332,3104,3351,3852,4356,4401,4344,4099,4169,3806,2363,1154,908,827,822,884,918,839,708,673,679,657,746,793,702,662,667,719,768,676,712,719,703,714,802,742,655,549,498,514,484,416,384,403,438,481,473,464,462,465,457,450,433,432,467,434,365,356,347,366,385,392,390,391,400,394,374,363,353,343,349,350,352,366,380,395,407,433,448,485,510,526,604,831,973,926,1207,1120,1246,1414,1210,1107,1238,1493,1467,1212,1246,1478,1267,1311,1242,1236,1266,1383,1286,1337,1389,1288,1213,1460,1432,1124,1296,1235,1116,1104,1102,1057,963,907,889,844,892,949,894,878,888,908,888,973,1114,1244,1274,1226,1082,943,897,899,939,957,934,975,1017,1035,1105,1192,1146,1101,1121,1169,1268,1329,1356,1450,1433,1345,1233,1123,1073,1044,1004,936,866,854,857,880,966,1046,1066,1032,965,882,790,728,680,624,577,538,498,470,456,441,439,436,433,439,512,540,593,703,838,960,1016,965,917,1029,1340,1510,1448,1345,1818,2315,2854,3088,2952,3104,3804,3419,3279,3863,2758,3099,4219,5060,4664,4162,4083,3872,3895,3322,2102,1884,2933,3037,1388,612,545,541,500,433,388,378,356,327,306,300,308,315,303,293,299,308,315,322,338,358,363,358,370,399,419,430,427,470,516,537,565,579,568,535,497,476,471,463,452,439,425,415,408,407,388,370,364,351,348,359,376,399,400,467,461,426,398,397,377,354,345,338,338,342,332,338,342,349,349,351,351,345,342,344,338,331,333,338,342,341,343,341,333,324,324,319,316,319,315,310,309,304,299,290,305,321,318,304,304,306,311,317,322,336,360,370,396,422,398,459,520,618,644,594,528,463,404,393,419,388,391,391,391,389,384,363,363,373,388,418,441,446,448,448,442,422,401,386,374,363,349,339,336,336,332,325,316,302,292,281,274,269,262,259,250,245,239,239,242,246,247,249,248,240,239,240,243,237,235,233,226,230,238,243,245,251,251,245,239,236,243,249,257,260,259,255,247],[4189,4246,3739,3536,3805,3693,3642,3719,3553,3715,3555,3188,3039,3181,2833,2171,2228,2442,2457,2540,2529,2665,3022,3226,3054,2690,2499,2203,2141,2921,2835,2744,2796,2846,2951,2952,2480,2460,2468,2258,2670,3125,3028,2390,2163,2408,2694,2967,2733,2696,2985,2631,2575,2728,2602,2866,3273,2464,2652,2489,2555,3152,3545,3230,2186,2140,3111,3237,3067,3183,3379,3504,3445,2886,2830,3298,3587,3727,3436,2508,2437,3089,3386,3614,3658,3470,3831,4208,3940,3294,3295,3883,3506,2316,2110,2179,1730,2092,3094,3154,3404,3702,3445,2499,1388,1387,2470,3383,3854,4057,3982,3274,3354,3545,3254,3391,3804,4021,3816,3385,3187,3275,3182,3707,3567,3387,2841,2866,3149,2986,3617,2619,1874,1983,1918,2923,3909,3369,2448,2523,2663,2707,2675,2530,3160,2967,2420,2510,2663,2344,1678,1973,1804,1777,1800,2511,2761,2921,3131,3267,2846,2647,2633,2783,3349,3187,3130,3230,2919,2130,2090,2630,2885,3063,3157,2591,2280,2719,2952,3026,2952,2863,2901,3364,2535,1829,1553,1648,1794,1820,1877,1934,2100,1980,1947,1908,1978,1813,1887,1713,2331,2764,2311,2129,2497,3164,3473,3078,3240,3354,3330,2996,2680,2416,2597,2930,2732,2357,2188,2524,2805,2591,2539,2758,2791,2350,2173,2097,2253,2241,2093,2817,2800,2279,2286,2302,2512,2647,2972,2634,2425,2272,2272,2238,1942,1931,2010,2273,2380,2166,2597,2988,3397,3537,3574,3096,2779,2388,2106,2185,2548,2887,2943,2867,2888,2664,2526,2278,2611,2622,2164,2139,2731,2579,2586,3030,3317,3163,2634,2430,2540,2257,1950,2666,3076,2509,1985,1827,1649,1841,1772,1547,1804,2206,2752,3353,3392,3190,2939,2762,2722,2842,3182,3494,3543,3506,3463,3582,3624,3525,3662,3906,3760,3718,3740,3795,4014,4101,3948,3716,3681,3623,3883,4026,3680,3639,3836,3704,3657,3745,3598,3494,2953,2211,1943,1867,2238,2486,2143,2288,3248,3848,3327,2813,2965,3024,3249,3537,3285,3339,2947,3205,2969,2722,2474,2770,3066,2909,2854,2898,2404,1897,2265,3005,3363,3584,3326,2431,2576,2611,2084,2627,2652,2300,2492,2579,2144,2147,2619,2125,1899,1726,1778,2117,1848,1536,1988,2298,2314,2286,2356,2025,1469,1075,953,1354,1851,2257,2583,2560,2270,2207,2117,2021,2000,1995,1959,2104,2388,2182,1737,1648,1888,2192,2194,2019,2074,2577,3046,2801,2260,2447,2969,2750,2781,2811,3106,3221,2521,1727,1742,2010,1759,2085,2490,2823,2846,2912,2824,2170,1759,1694,1635,1874,2049,1863,1925,2027,1848,1863,1849,1667,2120,2166,1769,1715,1829,2286,2893,3161,2841,2367,2459,2631,2078,1918,2181,2237,2071,1786,1970,2199,2059,2146,2091,2348,2635,3049,2932,2176,2092,2557,2286,1908,1738,1604,1459,2199,2456,2072,2053,2394,2214,2363,2697,2666,2591,2552,2758,3140,3100,2429,2364,2632,2810,2909,2771,2930,3374,3278,3248,3193,2845,2270,2228,2800,2986,2402,2437,2677,2492,2355,3213,3244,2167,1809,2211,2750,2972,2439,1816,1694,2092,2481,3007,2787,2098,1777,1647,1888,2233,2156,2062,1781,1673,1621,1578,1687,1642,1790,2120,2699,2852,2487,1977,2445,3135,2511,1799,1856,2039,2416,3109,3421,3783,3725,3139,3060,3176,2712,2198,1870,1696,1858,1635,1899,2026,2200,2736,3139,2996,2813,2785,2898,2976,2330,1894,2000,1906,2550,3253,3646,3140,2934,2891,2822,2899,3004,2885,2617,2428,3060,3297,2973,2839,2919,3172,3084,2546,1791,2186,2451,2155,2664,2383,2409,2166,1881,1755,1249,951,1379,1642,1678,1858,2255,2442,3160,3594,2883,3248,3293,2811,2187,3069,3498,3243,2739,2599,2142,1795,1747,1779,1716,1627,1505,1679,1793,1844,1775,1855,1850,1848,1758,1885,2724,2889,1973,1966,2922,2658,2000,2016,2531,2708,2768,2465,2164,2026,1927,2024,1924,1827,1748,1802,1934,2241,2410,1938,1699,2253,2378,1714,1519,1769,1818,1986,2396,3182,3476,3419,2765,2223,1981,1874,2036,2137,1936,1718,1522,1639,1859,1938,1844,1817,2034,2038,2258,2303,2189,2468,3017,3304,3331,3245,2996,2038,1741,1864,2157,1768,2070,1854,1296,1701,2345,2900,2260,2072,2562,2640,2145,2339,2121,2104,2512,2233,1909,2433,2918,2763,3569,3868,3973,3956,4099,4512,4276,3731,3731,3920,3971,3952,4048,4168,4244,3569,3005,2831,3212,3294,3271,3416,3554,3538,3489,3342,2989,2709,2622,2666,2088,2474,2062,1870,2096,2618,2844,2448,2055,2291,3245,3703,3720,3772,3777,3195,3787,4071,3343,3232,3850,4256,4200,4002,3964,3924,3613,3677,4046,4617,4676,4532,4057,3734,3694,3518,3306,3056,2875,3119,3343,2565,2591,3166,2741,2099,1916,1918,1892,2024,2029,1742,1934,1765,1753,1990,1997,1761,1571,1861,1964,2153,2820,3346,2918,2335,3340,3968,3696,3711,3992,3916,2789,2545,2871,3238,3120,2399,2139,1916,2269,2280,2974,3078,2951,3255,3768,3504,2904,2645,2373,2365,2580,3257,2852,2157,2064,2408,2723,2490,2180,2247,2531,2745,2751,2610,2281,2508,2573,2610,2718,2885,2720,2511,2797,3200,3151,2873,2622,2491,2603,2335,2507,2894,2764,2740,2586,2598,2348,1908,1859,2290,2956,3448,3736,3858,3807,3583,3246,3372,3208,3093,3137,3327,3539,3697,4034,3972,3665,3829,3907,4092,4340,4729,4906,4497,4156,3642,3055,2753,2854,2966,2910,3069,3286,3577,3587,3676,3674,3526,3485,3519,3584,3549,3305,3063,2697,2464,2901,3386,3464,3432,3569,3404,3297,3636,3546,3398,3617,3442,3182,2722,2107,2279,2920,2739,2674,3153,3415,3206,2875,2695,2941,3276,3216,2964,2443,2557,2895,2884,3284,3212,2915,2850,2856,2864,2951,2864,2940,2952,2915,3090,2645,2326,2491,2852,2557,2062,2210,2589,2772,3028,3207,3104,3118,3912,4264,4479,4093,3488,2856,3052,3610,3977,4632,4108,3631,4371,3364,2493,2720,2935,3269,3550,3177,3164,2894,3198,3874,4109,4526,3960,3785,3873,3803,3349,3227,3006,2846,3396,3482,3439,3718,3803,3590,3030,2699,2423,2380,3029,3250,3183,3103,3211,3687,3876,3708,3740,3392,3655,3649,3250,3178,3009,2578,2009,1952,2688,2663,2497,2756,2880,3053,2856,2882,2316,1998,1843,1905,1773,1784,1838,1812,1973,2270,2171,2036,2142,2212,2419,2013,1967,1778,1608,1814,1810,1662,1840,1796,1589,1612,1426,1477,1564,1745,1556,1644,1619,1750,2190,1855,1570,1702,1649,1418,1471,1879,2167,1925,1802,1775,1710,1812,2114,2089,1976,1947,1845,1934,1353,1710,2289,2067,1856,1555,1500,1491,1365,1349,1776,1846,1546,1353,1637,1967,2484,2003,1751,1596,1318,2184,2800,2692,2314,2690,4124,2929,2632,2678,2698,2069,2026,2470,2714,2552,2497,2363,2464,2457,2614,2934,2662,2801,2547,1971,2283,2552,3062,2727,2634,2703,2349,2433,2339,2713,3102,2918,2622,2562,2478,2747,3033,3066,2508,2137,2319,2291,2776,3178,2339,2654,3200,2827,1857,2352,3023,2858,2509,2632,2610,2482,2341,1989,2432,2789,2386,2479,3139,3419,2686,1952,2250,2827,2853,2586,2192,2375,2254,2004,1957,2188,2610,3361,3924,3771,2896,2555,2521,2201,2071,2219,2120,3129,3408,3153,2619,2351,3144,4213,4509,4237,3122,2247,2588,3273,4200,3757,3692,3874,4047,4217,4243,3944,3324,2860,3234,3514,3383,3431,3721,3134,2565,2665,2464,2635,3088,3443,3360,3564,3363,2501,1945,2177,2868,3437,3733,3971,4724,4677,3884,3623,3938,3770,3450,3349,3182,3198,3221,3097,3028,3570,4374,4345,4356,4440,4302,3804,2545,1126,867,802,786,811,879,843,710,655,681,675,732,746,622,631,678,654,659,589,648,687,689,691,745,800,766,576,496,531,543,453,384,398,425,456,467,456,453,467,460,455,436,419,453,435,378,362,346,356,375,383,384,389,389,382,365,354,342,336,337,338,348,356,365,381,399,417,448,485,513,518,562,739,968,904,1137,1154,1218,1422,1389,1164,1143,1301,1491,1351,1269,1655,1374,1368,1379,1297,1295,1456,1411,1361,1499,1484,1316,1513,1626,1244,1383,1303,1160,1120,1107,1026,971,935,888,848,844,938,897,853,854,866,889,964,1072,1160,1211,1181,1044,919,890,906,933,942,949,983,1016,1049,1089,1139,1106,1059,1062,1094,1209,1297,1296,1405,1434,1363,1251,1132,1067,1037,967,882,839,826,811,817,917,1015,1014,997,950,878,798,730,675,624,578,540,492,460,446,435,427,415,423,437,502,548,568,673,842,970,1023,988,941,1023,1355,1475,1413,1160,1670,2493,2979,2968,2786,3232,3719,3270,3360,3372,2885,3034,3251,3841,4028,4196,4251,4072,4007,4021,3892,3697,3752,3240,1422,601,613,710,709,544,453,425,359,340,333,305,300,302,298,296,292,298,304,318,339,346,356,360,367,390,413,410,450,504,542,565,556,529,521,502,484,471,460,451,437,430,414,403,393,392,383,378,376,355,344,365,394,395,405,454,439,423,424,402,369,346,334,326,329,342,341,343,345,349,349,347,345,343,336,336,332,326,325,326,329,337,334,335,329,324,320,317,316,318,316,312,303,297,295,295,309,325,325,317,314,311,315,314,324,357,389,402,404,466,525,584,599,627,661,641,561,495,452,427,431,389,389,392,386,384,365,349,356,365,396,436,462,463,456,454,446,428,405,391,378,363,346,336,332,327,327,328,313,301,295,283,276,270,260,249,249,247,246,253,256,257,248,249,248,247,241,239,238,233,235,230,227,234,233,240,246,258,253,246,243,240,239,248,251,259,261,253,247],[3924,3931,3674,3458,3560,3673,3694,3185,3120,3353,2447,2339,2917,3107,2648,2508,2359,2773,3245,3261,3187,3306,3265,3041,2811,2643,2907,2734,2500,3260,3176,3206,3072,2970,3097,2733,2231,2513,2481,2828,3147,2946,2941,2625,2634,2739,2880,2759,2446,2711,2702,2297,2287,2131,2286,2673,3119,2523,2614,2532,2652,2736,2919,2896,2485,2527,2931,2451,2684,3254,2987,2753,2746,2551,2966,3287,3394,3710,3306,2489,2089,2303,3011,3312,3218,3252,3528,3794,3228,3210,3506,3335,3212,2573,2333,2050,1296,1763,3366,3626,3771,3751,3287,2600,2208,2374,2790,3347,3282,3401,2918,2318,2410,3040,3204,3332,3808,4040,3791,3310,2855,3003,2895,3364,2942,2932,2632,2686,2868,2841,2941,2340,2188,2823,2636,3017,2722,2315,2107,2125,2362,3076,3450,3107,3477,3151,2295,2461,2956,2810,2588,2964,2160,1960,1708,1797,2070,2356,2736,2851,2464,2679,2580,2842,3248,3416,3394,3312,2508,1874,1836,2690,3018,3011,3264,2777,2047,2398,2354,2716,2866,2666,2276,2321,1911,1873,1810,1884,2031,1969,2063,2258,1996,1876,1918,1882,2176,2283,2202,2071,2674,2889,2590,2789,3121,3329,3150,2292,2608,2899,3039,2533,2112,2141,2191,2400,2798,2710,2610,2792,2768,2325,2783,3120,2578,2255,2195,2041,2009,1898,2160,2255,2267,2429,2355,2161,2326,2009,1953,2257,2506,2359,2080,2010,1989,2164,2545,2560,2283,2155,2830,3273,3651,3562,3702,3458,3275,2618,2010,2592,3140,3310,3282,2791,2588,2575,2492,2633,2677,2559,2262,2352,2591,2811,2956,3030,3098,2793,2492,2665,2655,2646,2468,2785,3002,2336,2020,1901,1744,1729,1876,1903,1696,2065,2878,3171,3262,3218,3211,3219,3123,3183,3398,3459,3419,3372,2943,3051,3385,3625,3697,3871,3780,3702,3892,4050,3986,4144,4100,3786,3748,3662,3704,4038,3582,3387,3466,3353,3595,3618,3445,3410,3150,3035,3058,2042,1999,2344,2374,2566,3287,3563,3504,3537,3907,4116,3956,3525,3168,3299,2872,3364,3106,2843,3006,3198,3087,2665,2762,2706,2693,2273,2081,2424,2631,3232,3082,2171,2592,1996,1310,1937,2166,2163,2514,2890,2997,2413,2470,2328,1846,1894,2136,2241,1555,901,1514,2491,2426,2065,1874,1996,1447,1166,1348,1763,2454,2967,2980,2841,2862,2609,2062,2075,2313,2412,2059,2099,2003,2040,1889,1571,1654,2066,2325,2203,2201,2936,3194,2564,1400,1854,2731,2623,2662,2977,3334,3161,2533,2052,2000,2093,2148,2114,2222,2392,2285,2023,2032,1901,1876,2208,2403,2281,2301,2302,2209,2229,2244,2132,1857,1766,2066,2004,2014,2386,2884,2902,2854,2700,2317,2124,2363,2517,2307,1981,1758,2325,2774,2057,2634,2799,2252,2223,2283,2764,2972,2124,2004,2216,2127,2286,2519,1989,1397,1238,1030,1898,2384,2409,2340,2150,2089,2420,2664,2634,2454,2507,2519,2730,2846,2614,2388,2535,2702,2697,3102,3581,3497,3483,3718,3486,2934,2810,2754,2702,2657,2547,2886,2811,2641,2916,3266,2872,2262,2472,2678,2495,2178,2057,2028,1992,2327,2966,2995,2535,1954,1489,1382,1798,2243,2178,2085,1599,1660,1563,1666,1688,1643,1835,2260,2711,3100,2801,2610,3041,2722,1724,1641,1781,2144,2321,2919,3374,3277,2832,2502,2696,2800,2644,2424,2222,2068,1612,1529,1799,2213,2880,3274,3165,2931,2909,3184,3482,3327,2583,2046,1936,2385,3074,3437,3106,3020,3189,2732,2384,2153,2383,2876,2973,2394,2376,2260,1873,1914,2292,2670,2689,2514,1982,2156,2590,2785,2839,3051,2768,2133,1915,1499,787,769,1366,1742,1714,2104,2422,2718,3477,3130,2770,2766,3320,2828,2535,3466,4393,4108,2887,2422,1879,2270,1851,1783,1736,1752,1699,1644,1735,1791,1785,1814,1869,1933,1867,2144,2588,2790,1973,1750,2266,2463,2035,2002,2128,1884,1786,1867,1856,1958,1981,1906,2039,1982,2013,2062,2057,2029,2063,1930,1697,2219,2542,1974,1583,1762,2134,2213,2564,2979,3160,3090,2523,2192,2099,1976,1952,1864,1532,1488,1660,1644,1659,1622,1557,1573,1580,1738,1908,1950,2043,2512,3484,4164,3338,2398,1852,1588,1944,2244,1570,1562,2327,1968,1371,1973,2569,3248,2137,2355,2451,2048,1815,1741,1700,2276,2942,2557,2321,2260,2533,2812,3312,3270,3451,3686,3896,4120,3863,3535,3336,3373,3464,3908,4149,3972,3789,3480,3144,3292,3461,3405,3176,2866,3040,3121,3422,3319,3088,2719,2642,2451,2247,2532,2376,2562,2819,2836,2635,2266,1871,2312,3332,3617,3525,3319,3085,2953,3469,3586,3273,3759,4072,3977,3740,3678,3665,3829,3570,3675,4106,4576,4607,3989,2865,2344,2431,2720,2564,2330,2564,2972,3024,2774,2789,2504,1825,1630,1882,2034,1619,1682,1610,1637,2076,2116,2453,3119,3132,2785,2285,1887,1844,2043,2910,3518,2843,3184,4276,4188,3898,4000,3919,3230,2498,2591,3184,3544,3318,2612,2294,2060,2258,2730,3055,2890,2744,3016,3571,3334,2920,2769,3030,3010,2993,3796,3747,3272,2391,2209,2288,2434,2281,1914,2285,2824,2705,2750,3021,3156,3284,3052,2613,3110,3397,2814,2626,2820,2932,2820,2402,2260,2376,2988,3112,2652,2490,2530,2339,2274,2088,1930,2029,2150,2930,3384,3702,3728,3915,3664,3384,3552,3339,3171,3287,3561,3827,4299,4632,4063,3617,3581,3649,3891,4231,4876,5147,5040,4619,4089,3780,3464,3271,3033,2933,3029,3142,3204,3288,3472,3538,3430,3481,3737,3696,3226,2577,2558,2365,2543,3572,4131,4213,4233,4074,3652,3524,4111,4067,3480,3270,3308,3017,2864,2767,3110,3352,3146,3049,3155,3017,3020,2973,2651,3103,3321,3093,2878,2495,3142,3154,2850,3487,3505,2900,2862,2875,2744,2721,2834,2853,2917,3265,3625,3022,2452,2311,2359,2416,2536,2500,2682,2752,3087,3017,3402,3202,3312,3449,3790,4320,4356,3926,3839,3790,3802,4388,3874,4244,4792,4002,3520,3458,3031,3322,3897,3263,2736,3142,3728,4096,4264,3615,2864,3836,4188,3516,2619,2611,2850,2905,3198,3292,2712,3287,3882,4152,3218,2736,2652,2425,2731,3024,3168,3117,3495,3836,3253,3041,3293,3208,3386,3498,2973,2700,2810,2701,2634,2719,2401,2137,2388,2630,2805,3131,2980,2755,2105,2024,1924,1988,1807,1309,1574,2106,2514,2753,2316,1982,1802,2168,3006,2666,1997,1616,1545,1694,1512,1439,1805,1632,1556,1363,1428,1478,1678,1620,1524,1568,1456,1660,1914,1726,1669,1996,1964,1822,2110,2129,2209,2654,2416,1844,2282,2557,1808,1455,1832,2054,1542,1584,1556,1620,1875,1898,1927,1825,1802,1701,1338,1281,1579,1643,1493,1477,1825,2197,2410,2087,2216,1725,1377,2302,2841,2684,2414,2469,3339,2578,1997,2046,2945,3018,2625,2968,2778,2116,2282,2764,3486,3660,3527,3253,3134,3184,2938,2089,2002,2708,3116,2906,3122,3022,2831,2626,2292,2615,2692,3006,2509,2279,2180,2108,2802,3544,3222,2669,2933,2855,3032,2932,2198,2756,3372,3000,2126,2542,3752,3873,3079,2856,2751,2813,2254,2053,2966,3095,2520,2459,2765,2836,2236,1706,2132,2762,3288,3130,2287,2587,2371,2288,2260,2072,2260,2874,3464,3110,2124,2498,2317,1909,2136,2751,3206,3643,3774,3005,2304,2141,2633,3775,4168,4252,3395,2737,2679,3111,3980,3984,3975,3762,3808,4248,4364,4131,3632,3180,3295,3428,3586,3564,3613,3142,2771,2719,2809,2944,3227,3353,3200,3239,2996,2160,1726,1887,2814,3679,3901,3950,3781,3293,2950,3285,3982,3741,3448,3277,3197,3304,3209,3032,2966,3662,4140,4079,4516,4704,4056,3554,2354,1149,801,776,759,773,830,818,729,673,670,650,694,770,607,587,650,640,655,597,598,663,677,685,739,802,756,627,499,521,576,492,456,426,416,411,437,453,441,459,458,446,442,437,444,418,385,365,346,347,365,376,380,384,380,371,356,350,339,330,330,334,343,352,360,373,393,418,443,468,528,548,554,666,899,926,1038,1185,1272,1523,1643,1249,1089,1194,1431,1469,1212,1579,1520,1440,1461,1337,1245,1423,1512,1390,1422,1587,1503,1587,1742,1403,1435,1362,1198,1142,1092,1007,973,915,877,850,847,954,890,823,878,893,916,959,1030,1122,1169,1122,1021,898,876,893,937,955,976,1015,1084,1123,1102,1067,1034,1024,1005,1022,1131,1246,1284,1360,1361,1248,1136,1039,969,927,883,848,822,788,781,798,880,960,977,965,925,866,800,731,672,619,576,543,491,450,432,430,421,408,416,430,478,532,544,633,844,1011,1090,1008,952,1018,1316,1477,1374,1121,1155,1894,2758,2806,2964,3244,3498,3239,3440,3185,3618,3530,3468,3415,3187,4116,4560,4007,3885,3841,4231,4495,4219,3540,1664,618,636,736,867,729,641,508,386,387,359,331,314,303,287,288,288,292,297,318,341,353,372,374,365,377,426,414,521,621,578,542,512,495,496,491,470,453,442,439,427,414,403,391,376,377,380,385,393,390,396,403,400,409,426,430,415,411,404,391,373,350,333,322,326,342,342,341,343,347,350,345,342,336,337,328,320,321,320,318,323,325,327,329,322,318,318,316,316,317,317,309,306,295,290,301,314,330,334,325,323,326,320,318,325,355,392,451,424,471,561,576,547,543,585,614,540,488,474,471,437,409,402,390,378,382,354,324,354,363,399,437,475,477,465,462,453,433,414,397,378,360,341,332,331,321,321,319,313,302,298,286,277,272,262,252,248,249,250,257,254,253,248,247,247,248,244,243,238,232,235,234,232,233,233,240,248,257,254,248,248,240,237,246,253,262,264,262,248],[3885,3299,2905,2520,2344,3075,3222,2678,2547,2996,2503,2754,3001,2742,2714,2750,2898,3156,3249,3029,2968,2906,2813,2638,3019,2873,2896,2500,2385,2658,2907,2624,2455,2666,2928,2727,2774,2902,3011,3249,2999,2755,2787,3013,3040,2984,2908,2475,2270,2433,2361,2189,2106,2147,2190,2399,2502,2489,2545,2105,1762,2252,2729,2690,2907,3128,2291,2430,2900,2812,2464,2427,2557,2540,2972,3143,3087,3365,3569,3538,2810,2757,3382,3340,3112,3186,3330,2899,2517,3394,3840,3621,3199,2596,2217,1700,1429,1510,2756,3729,3396,2835,2374,2384,2626,2640,2974,3248,2338,2385,2061,1770,2111,3043,3834,3836,3813,3430,2486,2132,2065,2269,3112,3642,3222,2744,2585,2759,2943,2904,2590,2213,2377,3145,2682,2820,2280,2265,2276,2280,2261,2657,2530,2381,3016,2436,1905,2354,2587,2776,3007,3076,2707,2342,2078,1864,1766,1902,2192,2087,2228,2526,2897,3153,3194,3050,2822,2784,2097,1590,2008,2524,2646,2567,2997,3029,1948,2298,2570,2419,2499,2356,2212,2280,2316,2197,1966,1797,1879,1997,2198,1991,1886,1743,2067,2056,1897,2002,1838,2035,2877,2974,2714,3083,3547,3356,2657,1959,1847,1937,2351,2397,2018,1765,1899,2351,2786,2731,2727,2625,2529,2706,3028,2788,2187,2165,2159,2304,1997,1543,1807,2009,2387,2535,2110,1933,2156,1846,2199,2824,2839,2609,2017,1955,2254,2372,2305,1902,1637,2032,2652,3011,3243,3175,2886,2671,2568,2153,2097,3125,2988,3110,2931,2834,2540,2364,2300,2260,2446,2513,2405,2360,2529,2775,2723,2923,2901,2830,2437,2056,2351,2590,2535,2630,2545,2181,2069,1933,2160,1997,2101,2120,1990,2275,2928,3168,3173,3278,3427,3300,3208,3286,3628,3641,3291,3072,3076,3353,3525,3738,3576,3524,3565,3448,3850,4026,3789,3903,3851,3777,3875,3971,3894,3803,3404,3172,2964,2888,3278,3264,2879,3705,3921,4074,3726,2589,2255,2274,2254,2916,3620,3525,3631,3872,3953,3899,3459,2783,2996,3614,3235,3204,3122,3120,3113,2954,2930,2711,2821,2508,2454,2042,2008,2364,2213,2612,2283,1901,2046,1628,1236,1242,1513,1877,2023,2427,2478,2301,2427,2292,2000,2080,2244,2132,1630,1382,2050,2830,2125,1620,1254,1544,1582,1843,2223,2353,2774,2856,2691,2450,2698,2453,2045,2243,2654,2668,2637,2096,1581,1879,1852,1554,1617,1802,1899,2020,2483,3272,3328,2941,2410,2613,2862,2718,2570,2592,2891,2540,2028,1968,2032,1875,1902,2076,2385,2383,2305,2098,2045,2498,2346,2214,2502,2230,2784,3066,2669,2698,2844,2322,1842,1757,1972,2264,2820,3227,3417,2901,2612,2512,2069,1991,2499,2696,2471,2308,2051,2277,2855,2269,2862,3019,2695,2923,3218,3552,3613,2268,1622,2134,2265,3166,3155,2293,1647,1470,1795,2455,2768,2465,2281,2349,2570,2558,2426,2504,2562,2735,2542,3005,2918,2983,2721,2631,2899,2945,3225,3717,3630,3514,3513,3625,3420,3156,2851,2693,2391,2469,2613,2588,3009,3414,3436,2815,1936,2823,2977,2872,2513,2228,2564,2630,2647,2790,2428,2233,2148,1740,1604,1776,1779,1776,1731,1646,1764,1794,1883,1834,1663,1780,2102,2306,2580,2468,2890,2713,2341,2131,1977,2084,2124,2129,2445,2388,2281,2472,2686,2618,2412,2833,2536,2408,2411,2331,2841,2989,2922,3307,3400,3203,2887,2811,3145,3176,3030,2375,1992,2546,3024,3045,3124,3154,3393,3125,2777,2243,1840,1863,2417,2761,2698,2457,1937,1756,2041,2740,3226,3051,2744,2098,2252,2811,3086,2788,2743,2223,2007,1968,1231,858,1312,1932,1846,2276,2680,2569,2734,3169,3345,2962,2578,2556,2513,3213,3853,3570,3233,2845,2390,2048,2221,1864,1669,1601,1610,1599,1917,2320,2271,1961,1960,2039,2253,2228,2510,2442,2180,1938,1967,1874,1798,2002,2165,2279,2261,2275,2766,2548,2354,2254,1928,1884,1937,1903,1811,1798,1809,1998,2149,1757,2289,2801,2024,1574,1915,2434,2511,2556,2508,2579,2767,2536,2329,2255,2127,1887,1205,1291,1452,1570,1598,1583,1475,1489,1366,1470,1669,1578,1948,1952,3110,4068,4572,3310,2007,1767,1585,1596,1609,1509,1549,2092,2042,1752,1988,2407,3006,2184,2355,2622,2258,1629,1572,1902,2186,2472,2297,2373,2035,1917,2297,2264,1916,2485,3419,4000,3770,3185,2856,2861,3115,3142,3307,3803,3334,2811,2895,3283,3697,3808,3895,3380,2943,2819,2601,2927,3049,3068,2967,2967,2613,2864,3075,2891,3148,2884,2635,2358,2093,2340,2649,3094,3194,3167,3238,3308,3514,3728,3495,3277,4011,3883,3857,3747,3742,3784,3859,3838,3964,4268,4496,4323,3441,2102,1619,1696,2050,2093,2119,1972,2363,2731,2738,2479,2075,1633,1542,1636,1764,1686,1939,1955,1948,1908,2281,2814,2930,2818,2855,2640,2032,2503,2988,2791,3031,2401,2272,3029,3526,3649,3960,3394,2217,2121,2469,3349,3493,3751,3828,2953,2393,2338,2688,2665,2298,2382,3160,3340,2823,2638,3480,3774,3100,3243,3465,3480,2951,2380,2865,3375,2968,2668,2775,2853,2759,2509,2647,3363,3329,3165,2869,2720,3205,3003,2416,2522,2958,3213,3109,2011,1891,2438,2932,2261,1975,2233,2302,2268,2395,2185,1882,1920,1939,2644,3219,3655,3551,3702,3608,3610,3647,3511,3595,3497,3617,4520,5359,5002,4063,3629,3598,3735,3774,3967,4331,4680,4964,4877,4581,4201,3935,3698,3318,3111,3066,2976,2831,2936,3133,3172,3292,3519,3818,3330,2565,2430,2840,2470,2840,3765,4119,4216,3982,3575,3400,3521,4055,4016,3585,3154,2841,2819,3308,3405,3155,3260,3448,3167,3085,2822,2894,3174,2732,3177,3320,2878,2558,2750,3256,3082,2840,3292,2965,2463,2624,2841,2675,2396,2570,2584,2622,2875,2570,2199,2327,2473,2663,2474,2306,2520,2694,2722,3198,3609,3791,3206,2514,2605,3793,4166,3912,3649,3684,3747,3362,2837,2320,2830,3719,3630,3212,3027,2855,3248,3555,2895,2335,2903,3312,2634,2265,1996,2137,2836,3470,3516,3053,3165,3593,3312,2971,3037,2390,2956,3515,3740,3417,3288,3079,2986,2933,2789,2954,3103,3860,3881,3209,2462,2207,2498,2733,3218,3121,2776,2756,2568,2501,2346,1731,1928,2543,2801,2895,3230,2472,2105,2400,2535,2237,1976,2069,2054,2413,2577,2294,2197,1808,1649,1440,1664,2331,2129,1661,1609,1477,1540,1516,1388,1533,1556,1478,1339,1309,1634,2016,1868,1725,1521,1389,1668,1984,1857,2145,2349,1981,1953,2197,2219,2345,3366,3415,2320,2462,2098,1516,1677,2154,2211,1780,1556,1435,1393,1618,1850,1987,2255,2437,2289,1884,1736,1588,1960,1594,1521,1971,2141,2264,2255,2027,1860,1803,1620,1597,1860,2046,2337,2486,2102,2037,2556,3274,3493,3045,3078,2950,2340,2641,3277,3414,3448,3405,3381,3537,3671,3485,3022,3078,3204,2822,2634,3132,3039,3040,2509,1655,1660,2282,2604,2127,2150,2143,1619,2461,3264,3262,2547,2888,2791,2466,2367,2521,3032,3208,2979,2809,2524,2840,2642,2498,2845,2101,2152,2315,2169,2895,3024,2445,2237,2309,2142,1820,1456,1827,2184,2950,2907,2658,2648,2454,2417,2106,2040,2213,2723,2958,2685,2471,2600,2415,2732,3085,2947,2798,3040,3143,2424,2276,2358,2695,3697,3672,3528,2940,2263,2736,3087,3751,4061,3493,3307,3664,4345,4493,4277,3869,3369,3146,3437,3702,3685,3687,3500,3047,2684,2722,2843,2773,3254,3306,3066,2680,2459,1947,1868,2608,3465,3961,3643,2932,2948,3452,3920,4144,4017,3825,3531,3363,3461,3399,3127,3118,3714,3920,3436,3819,4128,3618,3763,2545,1251,788,751,717,732,767,780,734,671,637,631,686,723,643,560,612,640,653,627,589,647,721,705,723,771,823,684,578,514,563,512,518,491,430,426,416,439,421,439,454,439,433,441,441,415,390,366,346,340,351,368,377,380,369,361,344,337,328,324,325,327,331,336,350,368,394,424,446,446,523,570,568,628,786,939,1007,1144,1367,1491,1713,1409,1158,1217,1388,1498,1244,1449,1584,1478,1448,1399,1256,1353,1532,1496,1415,1571,1626,1588,1730,1562,1526,1469,1247,1166,1087,992,955,900,858,861,846,880,879,855,890,901,912,940,987,1077,1118,1054,974,866,824,849,933,979,990,1042,1116,1131,1066,1015,989,1000,991,1023,1115,1219,1257,1288,1296,1224,1110,1029,946,883,816,799,795,769,777,769,824,887,930,946,908,862,796,728,671,611,571,540,496,448,423,425,414,407,417,431,459,511,526,602,833,1030,1207,1094,961,1030,1290,1443,1375,1409,1386,1700,2356,2458,3024,3162,3500,3575,3337,3331,3902,3824,3759,3330,3152,4689,5079,4369,4378,4013,4255,4563,4517,3907,1992,720,633,688,860,868,902,752,549,413,369,334,327,329,312,301,300,292,288,334,364,386,392,380,372,380,415,437,525,596,548,498,469,451,455,467,453,441,432,426,420,400,389,380,373,374,376,390,405,413,398,389,400,407,397,382,392,406,399,390,376,355,338,325,324,330,339,341,342,343,344,342,339,332,332,327,316,315,312,314,314,314,317,312,312,313,312,310,309,309,318,315,303,292,290,297,314,332,339,336,332,337,344,336,327,357,379,460,462,447,496,502,506,522,547,620,557,482,448,445,434,435,426,402,384,386,375,334,346,361,390,436,480,492,484,474,465,446,425,404,384,364,347,336,322,322,314,313,308,304,297,291,284,269,265,251,249,247,247,249,246,247,246,246,248,249,244,238,239,232,227,232,232,233,238,245,251,262,262,257,249,244,242,243,258,265,267,263,252],[3067,2204,2184,2438,2674,3287,3042,2767,2693,2552,2279,2692,2686,2689,2879,2786,2715,2622,2853,2948,3172,2927,3196,3199,3292,2963,2812,2966,2842,2588,2348,2082,2564,2774,2909,2554,2555,2166,2831,2771,2696,2858,2931,3090,3250,3094,2435,2249,2514,2311,2058,1888,1919,2184,2386,2557,2845,3121,2474,1552,1521,2270,2743,2863,2863,2799,2077,2531,3000,2874,2574,2767,2647,2269,2902,3404,2949,2711,3242,3486,3243,3364,3599,3173,3088,3330,3330,3172,2779,2337,2353,2577,2277,2169,2211,2008,1803,1488,2328,3267,2833,2746,2161,2156,2734,3164,2932,2376,1830,2029,2058,2052,2446,3099,3971,3884,3842,3575,2094,2009,1937,2212,3229,3581,2994,2546,2196,1902,2454,2864,2390,2115,2140,2574,2720,2670,2382,2335,2417,2259,2109,2049,1974,2578,2840,2318,2392,2448,2013,2098,2524,2646,2779,2658,2239,1853,1750,1950,1960,1917,1969,2321,2999,3076,2923,2298,2379,2908,2645,2497,2956,2629,2403,1864,2093,2259,2126,2554,2936,2785,2303,2034,2410,2483,2464,2334,2040,1734,1909,2165,2082,2098,2219,2100,2251,1986,2025,2032,1665,1830,2864,3182,3237,3349,3330,3061,2432,2059,1663,1381,1534,1731,1644,1711,1790,2120,2646,2727,2677,2601,2555,2686,2801,2482,2060,1852,1976,2544,2522,2074,1918,2029,2317,2382,2010,1541,1959,2446,2552,2558,2684,2800,1982,1879,2261,2316,1941,1695,1827,2003,2379,2712,2828,2592,2047,2043,2143,2053,2025,2713,2593,3112,2971,3071,2779,2417,2320,2265,2325,2469,2526,2614,2928,2771,2602,2742,2831,2809,2392,1869,2046,2669,2532,2199,2488,2393,2097,2192,2109,1914,2123,2404,2413,2679,3111,3131,3094,3354,2999,2311,2709,2842,3431,3415,3096,3062,3451,3670,3880,3938,3536,3392,3527,3791,4082,3926,3774,3863,3616,3730,3957,3877,3795,3665,3240,2854,2252,1957,2618,3021,3062,3929,4078,3674,3060,2744,2398,2152,2450,3383,3773,3725,3752,3710,3415,3572,3577,3199,3230,3473,3248,2976,2923,3027,3434,3263,3021,2942,3116,2389,2027,2013,2540,2575,2230,2145,2105,2349,1972,1960,1613,1374,1328,1462,1920,2067,2076,2357,2343,2143,2051,1816,1904,1836,2185,2717,2601,2380,2063,1653,1329,1659,1992,2354,2397,2303,2907,2701,2856,2905,3039,2761,2852,3207,3318,3139,3164,2651,2065,1906,2144,2259,2136,1946,2208,2415,2780,3208,3176,3182,3279,3352,3362,2683,2119,2061,2053,1867,1721,1572,1816,1753,1684,1981,2223,2224,2249,2135,2334,2653,2315,2027,1977,2187,2902,3078,2577,2702,2645,2259,2501,2508,2504,2623,2867,2491,3062,2943,2464,2325,2149,2343,2866,3131,2916,2404,2164,1746,1947,1967,2302,2661,3178,3355,3373,3628,3629,3029,2374,2143,2039,3001,3149,2833,2182,2130,2511,2713,2619,2345,2414,2745,2752,2565,2518,2721,2823,2800,2801,3226,3305,3234,3055,3045,3007,2993,3666,4075,3764,3097,3551,3340,3008,2991,2912,2758,2490,2213,1999,2370,2805,3198,3570,2620,1686,2491,2498,3021,2846,2148,2504,2574,2563,2469,2232,2154,2260,2176,1826,1936,1736,1593,1606,1969,1938,1828,1998,1708,1678,1825,2072,2425,2464,2504,2619,2040,2150,2283,2040,1948,1871,1931,2180,2161,2079,2225,2431,2627,3025,3100,2584,2364,2355,2523,3142,3042,2880,3019,3308,3289,3097,2872,3222,3241,2946,2558,2494,2712,2567,2110,2122,2973,3296,3077,2896,2171,1787,1966,2498,2768,2783,2497,2247,1907,2194,3226,3705,3422,2889,2049,2338,3019,3454,3128,2392,1817,2014,2007,1375,1296,2129,2754,2592,2559,2316,2257,2265,2556,2924,2728,2535,2762,3330,4037,3980,2791,2564,2874,2279,2190,1845,1765,1776,1591,1860,1863,2232,2503,2527,2346,2334,2468,2330,1999,1972,1946,1826,1844,2010,1909,2306,2865,2956,3197,3354,3447,3399,2938,2201,1643,1304,1338,1796,2026,2076,2024,1945,2475,2862,2137,2077,2450,2004,1641,1851,2238,2504,2399,2389,2598,2712,2504,2271,2133,1776,1636,1521,1777,1666,1579,1792,1572,1419,1569,1485,2032,2284,1881,1841,1661,2664,3311,3553,3331,3047,2891,2275,1852,2094,2568,1852,1822,1956,2197,1913,2161,2491,2279,2367,2373,2282,1786,2183,1885,1700,1881,2146,2178,1810,1593,1761,2012,2474,3053,3509,3826,3526,3386,3089,3075,3060,2976,2923,3190,3314,3562,3585,3481,3716,4129,3885,3360,3293,3418,2700,2717,3134,3014,2956,2984,2894,2953,2768,3008,3301,3182,2965,2721,2746,2946,2735,3006,3270,3513,3775,3520,3397,3494,3537,3715,4156,3914,3393,3526,3895,3868,3667,3829,4236,4573,4541,4121,2535,1709,1869,2243,2299,2092,2210,2053,2232,2941,2856,2967,2640,2299,1802,1594,1620,2157,2192,2252,2217,1635,1832,2062,1891,2112,2185,2070,1749,1833,2177,2366,2675,2884,2922,2993,3143,3507,3514,3110,2238,2150,2482,3430,3583,4080,3569,2713,2366,2556,2565,2446,2398,2684,3110,3121,3188,2905,3249,3153,2918,3087,3276,3183,2609,1966,2235,2946,2733,2829,3043,2873,2530,2820,2925,3129,2662,2281,2665,3015,3485,3434,2949,2657,2800,2973,2758,2179,2068,2304,2156,2001,2120,2286,2688,2699,2491,2305,1903,1791,1876,2328,3050,3483,3573,3707,3599,3459,3448,3519,3542,3529,3551,4442,5436,5244,4560,3835,3628,3958,4001,3891,3774,3928,4413,4541,4507,4308,3916,3659,3549,3304,3039,3053,3131,3222,3376,3255,3351,3649,3284,2587,2664,2946,3088,2828,2915,3507,3870,4083,4155,3719,3438,3649,4028,3925,3704,3509,3017,2788,3156,3311,3271,3276,3642,3054,2999,3163,3172,3208,2832,2842,2911,2555,2556,2873,2848,2702,2514,3034,2857,2774,2699,2720,2642,2515,2281,1979,2148,2286,2164,2210,2374,2450,2813,2467,2575,2221,2436,2732,2662,2932,3395,3674,3462,3274,3917,3305,3702,3212,3229,3273,2701,2147,2023,2377,3208,3068,2469,2788,3108,2695,2526,2755,2880,3097,2677,2047,2194,2377,2257,2283,2772,3300,3619,3816,3509,3606,2954,3333,3540,3423,3374,3077,3056,3221,3123,3130,3029,2788,3050,3408,3873,3906,3371,2673,2568,2373,2372,2835,3053,3076,3260,2913,2514,2556,2635,2651,2692,2619,2421,2733,2208,2097,2367,2333,2419,1965,2055,2339,2362,2098,2013,1907,1549,1508,1669,1610,1604,1704,1818,2137,1706,1666,1759,1525,1614,1622,1515,1526,1453,1701,1789,1765,1809,1384,1011,1408,1514,1797,2243,2415,2466,2368,2425,2269,1886,2525,3480,2833,2776,2248,1932,2011,2510,2405,2083,1760,1559,1417,1399,1606,1959,2188,1966,1796,1794,1923,1931,2367,2107,2220,2523,2184,2076,2034,1634,1601,1733,1469,1373,1433,1650,1937,2057,2207,2600,2953,3353,3496,3381,3514,3062,2834,3241,3407,3127,2731,2585,3159,3813,4113,4089,3780,3684,3408,3008,3045,3695,3406,3200,2534,2224,2520,2546,2216,1844,2004,1865,1746,2773,2945,3054,2555,2852,2597,2340,2702,2460,2090,2225,2732,3086,2669,2150,1830,2307,2592,2308,2520,2460,2353,3367,3573,2359,2041,2415,2138,1991,1947,2484,2602,2715,2249,2566,2677,2642,2855,2534,2451,2385,2745,2924,2829,2647,2937,2736,2380,2450,2355,1968,2626,3120,2530,2231,2673,2956,3409,3366,3116,2365,2113,2750,2838,3381,3645,3283,3110,3431,3837,3992,3701,3536,3110,3064,3404,3694,3780,3653,3531,3477,3085,2946,3074,2889,3247,3310,3245,2942,2862,2334,2144,2674,3239,3630,3348,2866,3015,3736,4204,4139,3978,3891,3593,3475,3439,3337,3238,3045,3329,3504,3403,3868,3670,3520,4139,3330,1590,785,736,684,673,688,716,722,666,626,609,669,721,693,595,599,629,648,666,603,613,663,654,680,724,769,695,641,557,574,545,550,579,484,466,418,438,423,442,446,442,432,430,428,414,387,363,348,335,349,361,375,382,367,345,335,329,324,321,319,322,323,328,331,357,393,405,428,433,505,581,597,614,696,899,1040,1040,1346,1426,1614,1568,1228,1148,1324,1476,1391,1362,1501,1505,1388,1428,1290,1307,1469,1664,1544,1544,1633,1582,1698,1721,1602,1517,1323,1219,1111,995,894,875,846,834,829,891,911,890,892,882,893,907,930,1011,1104,1039,926,833,784,799,923,1003,1054,1098,1144,1092,998,959,947,953,964,982,1028,1081,1131,1183,1212,1171,1067,1004,921,842,778,758,755,753,772,767,795,850,900,930,901,853,793,723,662,604,562,537,493,449,427,421,416,409,412,434,450,500,516,587,823,1082,1345,1226,979,1051,1251,1468,1683,2556,3142,2918,3481,3461,3558,3655,3415,3882,4217,3593,3963,3627,3956,3812,4035,5709,5888,5004,4937,4524,4325,4472,4741,4376,2872,1425,870,873,1016,1035,995,942,1008,1038,876,517,353,337,322,333,329,319,317,386,394,382,375,372,376,387,412,438,545,549,517,470,446,440,439,438,430,426,421,415,405,394,383,376,378,381,380,398,415,411,393,389,392,380,374,387,399,390,386,381,370,353,338,327,326,332,336,334,336,338,343,342,335,326,324,319,312,310,307,305,304,306,310,309,306,306,311,311,310,312,313,313,307,293,287,298,308,329,338,341,335,349,364,361,345,359,371,417,466,448,471,475,481,497,510,550,578,513,428,416,430,442,450,425,412,427,393,369,359,379,429,480,516,523,514,499,477,456,431,411,392,369,351,329,318,315,312,313,309,303,301,292,287,274,267,261,254,248,247,248,247,247,248,249,254,253,245,242,241,233,233,231,231,230,240,249,253,265,265,265,251,248,245,250,256,259,269,267,259],[2773,2884,3069,2809,3084,3395,3089,2408,2223,2171,2431,2603,2532,2765,2971,2540,2700,2905,2985,3340,3345,3366,3111,2931,3027,2885,3084,3338,3051,2991,2684,2775,2973,2926,2701,2533,2352,2499,2673,2763,3097,2931,2872,2985,2910,2736,2554,2851,3385,3029,2500,2520,2409,2354,2612,2546,2725,2847,1729,2003,2718,2667,2452,2718,2906,2493,2248,2589,2996,2720,2432,2436,2031,1668,2101,3097,2975,2998,2679,2511,2636,2955,2754,2212,2379,3125,3231,3164,2886,2141,2493,2882,2345,2219,2536,2128,1620,1899,2503,2129,1569,2993,2532,2187,2579,2964,2489,2050,1872,1718,1881,2020,2679,2910,3527,3673,3924,3929,2642,2398,2314,2406,2656,2550,2303,2135,1591,1660,1928,1885,2234,2781,2618,2767,3086,2706,2077,1817,1678,1741,2022,2117,2098,2561,2447,2406,2457,2002,1900,1797,1981,2544,2845,2696,2423,1886,1775,2027,1594,1880,2242,2785,2909,3015,2990,2438,2922,3825,3582,2481,2657,2666,2499,2043,1949,2005,2202,2555,2430,2144,2210,2041,1979,2105,2355,2498,2308,2057,2062,2110,2008,2477,2598,2536,2382,1935,2270,1972,1830,1658,2044,2589,3137,3416,3284,3296,3239,2702,1855,1362,1741,1504,1583,2439,2261,2363,2654,2931,3001,3081,3027,2807,3153,3028,2047,1785,2386,2934,2847,2437,2154,2113,2374,3055,3129,2050,2059,2362,1989,1932,2413,2569,2482,2018,2013,2230,1929,1863,2178,2437,2876,2846,2371,2626,2879,2553,2056,2155,1942,2059,2654,3179,3344,3419,3024,2534,2380,2297,2150,2229,2447,3044,3084,2946,2825,2941,3165,2961,2563,2065,1866,2236,2126,1863,1867,2030,2085,2223,2100,2105,2231,2318,2649,3399,3394,3245,3189,3355,2324,2530,3261,3211,3294,3388,3376,3372,3548,3840,3759,3741,3784,3913,3993,4188,4311,4046,3986,3789,3870,4008,3676,3518,3814,3593,3376,3173,2615,2367,2490,2679,2790,3023,3210,2819,2470,2401,2159,2459,3000,3662,3694,3715,3543,3091,2388,2944,3571,3254,3232,3574,3429,3409,3318,3353,3162,2946,3066,2774,2366,1987,1924,2185,3013,3429,2662,2264,2301,2266,2005,2120,2078,1808,1654,1889,2117,1870,1907,2049,2111,2165,1964,1910,1897,2049,2475,2634,2821,2666,2446,2050,1671,1664,2095,2338,1923,2047,2790,2623,2744,2990,2912,3215,3562,3655,3271,2776,3056,2861,1973,1815,2840,3044,2898,2475,2461,2675,2888,2805,2664,2819,3178,3449,4009,3515,2431,2187,2191,2455,2337,1920,1868,1664,1657,2084,2037,2184,2324,1981,2020,1774,1689,1719,2188,2447,2723,2677,2183,2449,2583,2553,2685,2466,2721,3090,3162,2628,2652,2499,2277,2262,2232,2430,2809,3098,3195,2338,2173,1797,2003,2093,2201,2418,2844,2764,2796,3350,3670,3481,2777,2200,2558,3038,3318,3297,2634,2417,2752,2862,2587,2533,2671,2764,2600,2479,2775,2939,2792,2707,2954,3176,3170,3125,3296,3240,2745,2728,3675,3949,3278,2820,3042,2757,2601,2823,2939,2680,2577,2562,2193,2382,2375,2754,3263,2297,1752,1958,2136,2846,2843,2042,1837,1874,2355,2402,2080,1902,1925,2196,2025,1824,1577,1480,1656,1887,1745,1853,1917,2235,2335,2078,2077,2570,2353,2261,2405,2101,1806,2049,2339,2288,1679,1835,2335,2544,2196,1989,2137,2378,2377,2177,2112,2230,2353,2274,2800,2828,2775,2795,3071,2965,2885,2547,2889,3429,3166,3024,3019,2924,2160,1300,1747,2866,3312,2812,2460,2371,2326,2634,2853,2729,2706,2465,2058,1789,2518,3160,3272,2858,2830,2394,2191,2896,3363,2746,1979,1960,2051,1922,1770,1497,1890,2648,2862,2229,1987,2172,2196,2227,2428,2510,2764,2977,3652,4201,3867,2844,2678,3095,2409,1973,2150,2623,2376,2080,2301,2042,1938,1997,2149,2053,1787,2111,2398,2440,2699,3156,2908,2091,2004,2048,2766,3273,3432,3501,3414,3341,3300,2777,2024,1473,904,1206,1848,2086,2171,1869,1788,2640,3235,2375,2067,2610,2286,1699,1816,2375,2879,2264,2341,2568,2537,2263,2280,1925,1561,1442,1729,1989,1816,1709,1705,1469,1572,1745,1818,2069,2022,1877,1680,1435,1740,2111,2303,2894,4185,4461,3000,2734,2504,2664,2084,1604,1809,2232,2214,2612,3206,2780,2422,2143,2107,1928,2012,1726,1296,1438,1909,1961,1707,1611,1735,2022,2823,3539,3421,3647,3593,3685,3555,3458,3142,3001,3075,3145,3267,3349,3539,3771,3725,3726,3770,3181,3310,3189,2656,3411,4003,3655,3233,3077,3295,3429,3303,3722,3952,3937,3431,3177,3191,3172,3011,3051,3210,3543,3863,3625,3474,3652,3768,3940,4139,3717,2906,3194,3396,2673,2857,3682,4181,4030,3848,3559,2065,1881,2467,2840,2464,2035,2455,2658,2785,3151,2821,3321,3407,3282,2325,1699,1898,2615,2437,2308,2024,1620,1655,1818,1964,1518,1437,1661,1589,1731,2032,1866,2343,2891,2343,1817,2570,3464,3305,3194,2443,2025,2614,3216,3219,2835,2776,2436,2204,2730,2746,2753,2391,2452,2712,3011,3541,3440,3182,3246,3464,3562,3410,3339,3130,2504,2416,2874,2463,3052,3337,2654,2383,2799,3134,2796,2020,2141,2919,3282,3516,2972,2928,2752,2588,2539,2707,2750,2770,2540,2238,2350,2434,2601,2814,2951,2764,2434,1970,1653,1750,2119,2789,3374,3629,3925,3582,3286,3229,3448,3209,3307,3552,4027,4596,4621,4164,3747,3697,4064,4059,3840,3832,3550,3820,4060,3891,3750,3630,3442,3464,3304,3081,3291,3669,3694,3609,3474,2993,2721,2534,2786,3343,3386,3124,2728,2687,3317,3928,4152,4405,4009,3530,3770,3984,4195,4375,4312,3558,2798,2706,2800,3076,2954,3532,3342,3196,3366,3365,3160,2709,2721,3022,2687,2769,2784,2707,2567,2722,3106,3197,3339,3025,2757,2569,2442,2258,2231,2237,2390,2664,2907,3114,3226,3364,3087,3155,2753,2292,2146,1918,2143,3017,3969,4078,3716,3257,2462,2977,2830,2642,2767,2408,1973,2072,2563,3304,3038,2420,3147,3352,2994,2509,2639,3362,2991,2410,2529,2409,2051,2176,2779,3331,3816,3911,3793,2776,3035,2955,3222,3614,3740,3199,2512,2608,2941,3260,3692,3486,3306,2777,2631,2617,3118,3282,3052,2605,2320,2766,3089,2915,3030,3371,3209,3230,2984,2622,2387,2313,2452,2623,2643,2316,2329,2169,2084,1981,1970,1923,1892,1762,1788,1932,1734,1528,1882,2165,1797,1627,2243,2397,2394,2114,1970,1791,1548,1568,1512,1683,1901,1750,1737,1794,1858,1931,1590,1101,979,1098,1974,2229,2019,2260,2673,2524,2152,2009,1895,2667,2424,2336,2250,2388,2554,2648,2536,2006,1893,1988,1585,1495,1630,1796,1782,1769,1709,2059,2233,1970,1889,1885,2232,2242,1852,1644,1554,1544,1573,1725,1758,1688,1599,1674,1672,2034,2597,2653,3160,3516,3449,3685,3558,3354,3334,3166,3202,3327,3217,3407,3791,4074,4309,4176,3660,3667,3497,3348,3513,3883,3815,3477,2431,1782,2068,2437,2035,1945,2336,2232,2697,3391,3217,3130,3141,2933,2415,2637,2753,2156,1392,1411,1504,1460,1730,1833,2038,2758,3066,2805,2525,2131,2104,3117,3017,1596,1698,2376,2530,2536,2918,2803,2799,2967,2289,1895,2131,2836,2964,2779,2482,2857,3198,3011,3006,3088,3430,3223,2241,2291,2314,1768,2384,2579,2208,2299,2772,3200,3779,3875,3241,2531,2634,2544,2218,2722,3174,3263,3242,3232,3374,3696,3592,3616,3604,3680,3934,3839,3773,3587,3409,3515,3274,3152,3342,3093,3194,3288,3320,3008,2506,2303,2350,2584,2910,2881,3044,3210,3040,3554,4189,3873,3613,3645,3529,3436,3236,3198,3305,3219,3263,3209,3557,4027,3704,3717,4050,3044,1499,773,681,669,629,628,657,696,672,635,607,628,712,736,649,617,642,642,657,607,577,611,676,670,700,704,673,651,645,645,590,570,634,487,465,495,456,440,436,443,438,434,424,414,397,383,372,350,328,341,351,360,368,361,340,333,326,318,312,311,310,316,321,325,354,386,395,411,421,480,568,618,624,652,824,1084,992,1265,1461,1519,1669,1387,1150,1275,1421,1511,1390,1384,1532,1333,1389,1357,1375,1424,1620,1599,1555,1629,1609,1620,1714,1588,1463,1373,1267,1122,990,935,883,839,831,847,893,918,894,863,855,875,885,931,974,1051,1003,877,796,735,786,919,989,1043,1070,1113,1044,948,918,919,924,928,930,953,977,1022,1086,1118,1099,1040,974,893,817,758,725,721,728,752,770,783,811,868,910,886,838,785,724,657,599,555,530,495,453,432,414,411,409,413,428,442,486,516,572,775,1169,1541,1393,1074,1043,1243,1672,2273,3465,3861,3763,4573,4144,3231,3296,3300,3957,4948,4426,4037,3278,3341,3291,3522,4564,5549,5348,4752,4407,4227,4470,4777,4740,3887,2785,2084,1688,1504,1383,1260,1338,1861,2404,2254,1160,757,593,421,401,416,415,413,442,426,397,390,394,391,398,425,463,543,519,488,458,449,444,437,426,418,420,415,406,388,380,378,381,381,381,377,388,405,409,398,384,371,365,375,380,381,376,374,378,368,353,343,336,333,328,328,330,332,335,336,336,333,326,320,315,312,307,301,299,298,297,298,300,300,299,304,307,311,312,311,312,310,298,292,298,311,325,344,347,341,355,381,397,381,377,366,381,446,456,461,456,453,447,479,501,552,530,438,430,473,467,462,455,438,479,462,453,423,441,518,563,569,552,540,520,487,462,438,421,397,375,351,329,313,311,312,306,306,299,295,294,287,282,269,263,257,256,248,245,247,247,248,246,254,253,249,249,242,234,233,234,230,233,243,245,256,265,271,265,260,252,245,247,254,261,264,263,260],[3363,3133,3349,3227,3658,3472,3134,2308,2238,2818,2813,2375,2786,2624,3016,2920,2850,2904,3088,3276,3207,3081,2843,3201,3152,2643,3128,3294,2721,2877,2888,3216,3204,2625,2467,2373,2532,3100,3220,3175,3295,3220,2921,2967,2440,2457,2508,3037,3464,3255,3174,3119,2740,2498,2525,2445,2419,2330,1960,2132,2666,2723,2412,2547,2337,1862,1808,2404,3209,2624,1778,1742,1972,2152,2735,2870,2500,2292,2042,1724,1896,2424,2026,2121,2086,2603,2470,2438,2781,2394,2447,2404,2070,2217,2199,2143,2243,2262,2698,1867,939,2238,2611,2514,2405,2098,1778,1952,2151,1771,1990,2460,3022,3059,3516,4096,4156,3665,2889,2711,2683,2591,2316,2124,2120,1753,1330,2073,1946,1787,2098,2508,2314,2459,2979,2890,1901,1543,1638,2048,1880,1850,1732,1831,2238,2803,2446,2051,2240,1848,1588,1807,2448,2343,1867,1869,1982,2193,2000,2272,2381,2205,2274,2498,2688,2048,3073,3666,3499,2486,2686,2474,2038,2295,2248,1870,2093,2000,1945,1910,1980,1846,1666,1781,1985,2232,2338,2229,2141,1980,2191,2901,3183,2995,2846,2194,2236,1880,1901,1634,1884,2658,3008,3162,2980,3061,3360,3332,2706,2127,2485,1799,2479,2679,2514,2791,2907,3122,3122,3166,2900,2689,3012,2680,2288,2395,2986,3392,3088,2762,2535,2620,3146,3874,3338,2092,2234,1781,1609,1549,1810,2151,2412,1954,2003,2106,2117,2470,2687,2753,3270,3305,3366,3655,3620,2631,2133,2324,2074,1832,2413,3228,3355,3373,3174,2700,2574,2402,2200,2482,2900,3016,2955,2909,2575,2633,2835,2918,2923,2711,2662,2729,2248,1831,1840,1890,1891,2404,2511,2127,2165,2277,2880,3879,3603,3300,3473,3207,2444,2863,3320,3338,3374,3488,3569,3472,3654,3869,3774,3641,3940,4084,4236,4070,4272,4184,3873,3851,4172,3748,3002,2603,2830,3267,3500,3382,2997,2934,2763,2563,2478,2470,2388,2366,2498,2666,2934,2942,3194,3400,3708,3885,3226,2390,1603,2093,3269,3209,3163,3238,2842,3149,3523,3149,2968,3296,3140,2299,1704,1783,1990,2241,2790,2634,2244,2707,2389,2229,2451,2330,2263,2234,2065,1727,1732,1486,1550,1782,2074,2443,2115,2012,1896,2705,3195,2865,2571,2578,2447,1979,1628,1817,2181,2054,1957,2191,2632,2690,2624,2768,2759,2951,3593,3763,3129,2169,2851,2989,2170,1942,2454,2416,2150,2091,2225,2624,2784,1981,1860,2393,3270,3784,4068,3871,2329,1885,2250,2461,2384,1992,1786,1546,1596,1937,1998,2196,2110,1824,1728,1833,2182,2303,2106,1991,2328,2367,2270,2796,2980,2691,2844,3189,3537,3449,2957,2587,2388,2201,2420,2701,2953,3348,3618,3173,3130,2531,1982,1860,2104,2019,2052,2492,2840,3165,3293,3033,3052,2768,2406,2154,2864,3232,3274,3420,2951,2456,2588,2798,2614,2700,2817,2723,2568,2491,2734,2998,2950,2728,2924,3109,2746,2929,3327,3204,2679,2790,3449,3759,3316,3091,2709,2360,2447,2690,2393,1923,2362,2858,2642,2488,2328,2475,2620,2653,2731,2883,3142,3189,2894,2409,1866,1864,2186,2298,1952,1686,1649,1996,2041,1801,1780,1550,1479,1574,1854,2330,2280,2284,2635,2457,2016,2227,2289,2006,2236,2188,1760,1909,2456,2343,1710,1692,2138,2385,2230,1958,1858,1736,1562,1601,1887,2135,2250,2419,2644,2913,2978,2788,2883,2880,2586,2545,3111,3099,2709,2931,3152,3030,1760,1228,2084,2830,3376,3045,2729,2873,2745,3034,2859,2324,2080,2027,1659,1831,2896,3207,2680,2425,2532,2405,2545,2877,2830,2129,1903,2071,1955,1807,1879,1635,1517,2224,2404,2066,2099,2047,1976,2165,2652,3011,3186,3205,3962,3859,3309,2565,2517,2843,2229,1670,1802,1951,1813,2119,2120,2115,2050,2078,2438,2765,3066,3476,3758,3675,3570,3688,3482,2385,1996,1895,2496,3133,3376,3287,3111,3033,2932,2353,1882,1438,1022,1422,1688,2050,1854,1498,1476,2208,3012,2465,1963,2762,2593,1814,1548,2087,2577,2041,2095,2198,2245,2533,2272,1819,1872,1812,1880,1767,1708,1762,1572,1589,1524,1812,2195,1969,1719,1765,1772,1595,1532,1581,1838,2357,3308,3279,2204,2533,3019,2475,1740,1731,1936,2233,2288,2410,2840,2045,1608,2060,2098,2230,1871,1293,984,1169,1625,2028,2046,1932,2109,2501,3433,3241,2275,2203,3088,3571,3610,3442,3120,3142,3029,3073,2962,2450,3167,4107,4300,3948,3470,3231,3429,3030,3063,3747,3980,3904,4029,4420,4592,4164,4048,4275,4312,3791,3154,2876,2765,2808,2978,3084,3278,3420,3584,3464,3300,3671,3913,4014,4043,3875,3754,3614,3484,2583,2247,3365,3957,3270,3060,2645,2082,2281,2678,2899,2477,2244,2404,2906,2920,2796,2286,2692,3121,2769,2185,1805,1841,1753,2076,2479,1759,1898,1780,1986,2104,1660,1464,1526,1533,1527,1814,1821,1746,2310,2272,1813,2109,2773,3074,3378,2634,2061,2546,2736,2182,2603,3322,2568,2247,3424,3389,2830,2338,2239,2472,2920,3558,3697,3288,3163,3360,3404,3274,2785,2985,2769,2426,2491,2302,3165,3400,2381,1730,2529,3560,3125,2386,2425,2713,3040,2919,2761,2967,2875,2568,2225,2187,2510,2544,2276,2556,2984,2591,2451,3050,3459,2645,2095,1898,1655,1670,1973,2531,3422,3824,4080,3732,3636,3653,3651,3520,3544,3750,3858,3961,3916,3770,3650,3588,3749,3769,3605,3799,3619,3543,3760,3684,3594,3548,3491,3696,3689,3416,3383,3675,3507,3229,2976,2385,2245,2654,3020,3206,3664,3558,2978,2789,3067,3827,4071,4341,3796,3302,3632,4144,4593,4901,4857,4009,3076,2416,2612,2500,2744,3528,3350,2917,2962,3189,3220,3007,3193,3276,2729,2895,2683,2783,2750,2887,3044,3131,3185,2946,2672,2527,2512,2603,2778,2902,3086,3173,2948,2255,2429,3028,3228,3082,2697,2138,2036,2642,2733,2669,3747,3826,3372,2342,2143,2537,2822,2489,2686,2454,1808,2002,2153,2210,2646,3136,3571,3846,3980,3402,2699,2569,2643,2752,3028,2809,2533,3038,3564,3802,3772,3613,3783,2887,2337,2440,2698,3032,2899,2456,2440,2600,2706,2832,3525,3521,3487,2963,2794,2984,3486,3393,2648,2386,2462,3075,3417,3143,3743,3187,3045,3646,3676,3607,2894,2630,3062,2938,2557,2535,2592,2599,2348,2139,1963,1721,1616,1596,1611,1685,1640,1773,2272,2258,2333,2264,1948,1631,1483,1583,1935,1996,1571,1420,1445,1740,1998,1721,1598,1775,1670,1569,1505,1644,1290,1108,1689,2006,1724,1833,1993,2146,1990,2076,1879,1707,1735,2065,2405,2955,2667,1950,2004,1703,1837,2096,1831,1691,1448,1511,1358,1714,1887,1951,1748,1488,1475,1597,1721,1692,1622,1390,1343,1372,1532,1828,1837,1572,1583,1805,1760,1943,2630,2909,3181,3140,3320,3492,3501,3737,3957,4012,3920,3772,3580,3470,3498,3638,3812,3603,3609,4203,3972,3573,4039,4424,4197,3536,2255,1988,2367,2656,2318,2442,3116,3278,3348,3442,3361,3392,3460,3054,2946,2587,2348,2402,1797,1737,1626,1590,1287,1440,2554,3376,3217,2732,2168,2035,1757,1827,2170,1981,2038,2135,2663,2856,2824,2764,2974,3008,2466,2058,2167,2401,2215,2282,2413,3043,3341,2985,2733,2378,2707,3432,2531,2313,2440,1874,1777,1931,2228,3074,3418,3664,3804,3274,2974,2876,2545,2054,2397,2807,3175,3440,3462,3334,3723,4303,4356,4287,4200,4002,4071,3804,3572,3652,3762,3585,3242,3166,3131,2750,2946,3409,3539,3438,2744,2664,2576,2359,2165,2165,2666,3301,3183,3370,3798,3557,3414,3432,3431,3282,3145,3113,3304,3422,3429,3464,3763,4335,4063,3610,3618,2640,1144,762,682,659,625,606,631,670,662,637,615,613,674,724,709,687,681,662,652,619,585,596,643,651,666,697,665,628,639,630,622,646,661,461,417,488,575,506,410,448,453,426,404,394,388,379,375,359,331,332,344,351,352,343,331,321,319,313,305,303,305,309,314,317,339,384,409,406,430,471,531,626,628,637,756,1043,997,1194,1518,1598,1759,1665,1232,1309,1382,1504,1436,1302,1539,1404,1427,1494,1488,1456,1532,1602,1575,1595,1627,1516,1614,1610,1510,1416,1288,1136,995,915,879,880,874,891,923,931,885,861,854,862,896,940,952,998,958,828,770,742,767,834,952,1015,1062,1056,994,954,915,890,904,908,895,905,920,943,992,1027,1018,994,937,869,804,736,704,701,710,730,756,773,778,823,865,855,823,778,716,654,596,549,520,492,456,436,419,411,413,415,430,445,485,532,579,725,1154,1689,1649,1268,1174,1278,1745,2785,3807,3776,3892,4584,4255,3293,3219,3260,3409,4464,4888,3409,3175,3077,3174,3227,3303,4228,5109,5096,4507,4333,4740,4596,4617,4036,3541,3125,2613,2078,1838,1760,1768,2182,2966,3316,2586,1998,1288,733,510,478,457,453,439,393,372,389,407,401,411,436,555,570,498,459,444,435,432,432,426,421,417,409,393,380,372,376,380,389,393,381,380,394,403,394,377,367,360,360,360,366,365,364,367,361,350,346,341,334,328,321,327,328,335,336,336,332,329,320,316,307,300,292,292,292,290,288,293,294,298,299,305,311,311,307,308,305,297,293,300,309,324,346,351,346,361,398,410,393,371,364,373,419,454,457,451,447,442,471,504,514,496,458,451,506,491,467,462,454,533,545,505,490,504,569,614,583,539,530,520,491,469,450,427,401,382,353,331,318,314,314,307,306,301,294,293,289,283,276,270,264,258,252,251,247,247,248,249,253,255,255,248,243,236,233,233,237,238,239,248,259,264,272,266,261,253,243,244,252,258,263,262,261],[3433,3077,2993,3609,4037,3705,2884,2347,2464,2732,2633,2455,2714,2587,3083,3016,2552,2590,2801,2839,2915,2852,2964,2938,2905,2624,3075,2302,1857,2398,2344,2509,2565,2454,2465,2230,2554,3108,3128,3043,3042,2915,3118,2976,2479,2525,2755,3086,3252,3528,3797,3208,2797,2583,2326,2171,2326,2515,2270,2293,2207,1968,2292,2229,2041,2048,2395,2829,3511,3372,2311,2237,2581,2637,2977,3294,3105,2518,1669,1420,1963,2617,2360,2216,2028,2253,2381,2756,2770,2371,2392,2312,2314,2469,1844,2232,2262,1914,2009,1887,1105,1488,2353,2684,2426,1522,1292,1477,2139,2491,3069,3311,3388,3359,3664,3904,3452,2875,3333,3709,2555,2148,2221,2136,2185,2245,1973,2083,2005,2161,2440,2489,2518,2535,2779,2781,1873,1573,1773,2056,1996,1959,1843,1765,2214,2590,2497,2441,2410,1891,1846,1940,2401,1966,1649,2142,2184,2532,2825,2721,2473,2107,2004,2207,2563,2308,2864,2783,3321,3295,2911,2248,2138,2874,2584,1925,1946,1615,1659,1790,1735,1826,2007,1870,1899,2209,2383,2492,2185,2212,2460,2931,2685,2385,2882,2877,2523,2201,2025,1869,2574,2869,2645,2709,2463,2353,2395,3000,3273,2898,2447,2518,2756,2336,2383,2561,3100,3144,2857,2522,2048,2329,2255,2202,2302,2770,3177,3391,2990,2164,2254,2734,3143,3609,3480,2636,2452,2230,2252,2072,2190,2319,2211,1946,1822,1607,1955,2451,2870,2622,2519,2956,3395,3112,3163,2812,2547,2691,2702,2010,2099,2979,3103,3108,3197,2972,2695,2533,2156,2719,3277,2728,2670,2844,2736,2512,2482,2724,2871,3121,3399,2815,2136,2012,2150,2014,2216,2491,2272,1890,2137,2530,3298,3896,3576,3296,3517,3087,2899,3392,3535,3375,3508,3700,3654,3452,3632,3709,3828,3880,3827,3973,4064,4043,4217,4474,4353,4043,4159,3560,2641,2120,2315,3000,3360,3462,3374,2917,2553,2634,2608,2745,2564,2570,2712,2784,2783,2707,3141,3646,3970,3629,2616,1911,1962,2500,2940,2977,3341,3275,2542,2619,2959,3017,3463,3449,2872,2076,1676,1700,2010,2093,2221,2136,2708,3023,2344,2136,2289,2486,2534,2592,1997,1116,1056,1489,1517,1677,2263,2248,2121,1970,1876,2720,3366,3168,2818,2754,1879,1849,1660,1775,1957,1993,2268,2502,2471,2292,2478,2613,2383,2802,3110,2773,2053,1549,2641,3187,2483,1952,2257,2535,2453,2470,2652,2913,2674,1662,1628,2410,3001,3042,3252,3703,2578,1585,1896,2006,2172,1815,1573,1541,1544,1934,2293,2338,2477,2460,2196,2175,2381,2492,2317,2176,2287,2344,2271,2964,3208,2757,3056,3597,3626,3349,3306,3261,2759,2617,3057,3475,3628,3539,3194,2590,2393,2229,1963,2104,2360,2241,2276,2691,2604,2862,2863,2248,2329,2385,2569,2381,2622,3168,3296,3523,2974,2298,2272,2148,2063,2349,2811,2701,2446,2362,2397,2730,3068,2876,3033,3294,2835,2895,3122,3425,3365,3309,3364,3342,3157,2586,1930,1549,1931,2459,1818,1423,2077,2831,2819,2718,2819,2854,2708,3025,3401,3375,3417,3198,2988,2439,1644,1734,2078,2160,1924,1736,1700,1887,1959,1874,2094,2076,1524,1548,2085,2788,2227,1764,2459,2590,2295,2551,2237,1662,1877,2070,1787,1589,1905,1692,1704,1221,1345,1877,2060,2113,1865,1519,1454,1500,1725,1937,1924,1990,2315,2879,2759,2372,2876,3153,2656,2623,2852,2525,2081,2666,3112,3222,2403,2056,2544,3253,3772,3307,2986,2668,2167,2081,1998,1719,1576,1521,1531,1591,2005,2274,2138,2340,2236,2012,2411,2552,2321,1880,2203,2249,1849,1937,1874,1692,1720,1808,2015,2136,2088,2028,2627,2934,3273,3480,3299,3376,3429,3117,2993,2920,2916,2965,2353,1626,1577,2028,2608,2709,2754,3120,3278,3220,3177,3367,3551,3522,3646,3710,3625,3662,3406,2376,1991,1681,2193,2994,3049,2901,2765,2873,3200,3277,2613,1511,1195,1472,1578,1531,1656,1709,1470,1614,2332,2504,1858,2498,2317,1770,1456,1779,2109,1816,1793,1997,2092,2318,2154,1790,1828,1914,1929,1664,1568,1894,1608,1548,1515,1888,2569,2458,1678,1631,1663,1463,1404,1455,1555,1715,1671,1815,2034,2137,2352,1995,1570,1698,1879,1894,1621,1546,1862,1752,1499,1881,2138,1917,1705,1917,1874,1668,1595,1803,2013,2837,3134,2699,3032,2743,1690,1342,2240,3196,3443,3541,3313,3279,3103,2976,3077,2887,3541,3803,3885,3764,3419,3540,3688,3471,3472,3745,3717,3873,4343,4708,4689,3843,3475,3720,3735,3291,2809,2696,2639,2792,2901,3039,3327,3486,3440,3296,3421,3803,4036,4244,3875,3270,3611,3040,2851,2565,2695,3460,3238,2281,2453,2172,1832,2017,2334,2589,2282,2235,1959,2140,2526,2565,1912,1898,2657,3133,2454,1800,1949,1760,1932,2215,1737,2384,2342,1996,2314,2105,1501,1492,1517,1648,2280,2542,2006,2389,2628,1970,2278,2597,3020,3183,2758,2035,1909,2098,1820,2185,2702,3047,2775,3043,2641,2429,2525,2323,2560,3056,3297,3508,3100,3027,3354,3271,2827,2519,2940,2736,2374,2008,2180,2782,2894,2511,2304,2775,3487,3206,2730,2581,2714,2942,3103,3404,3646,3419,2857,2485,2460,2356,2078,2116,2287,2835,2785,2525,3031,3241,2589,1887,1730,2060,1897,1928,2222,3055,3859,4257,3960,3747,3687,3706,3688,3627,3803,4119,4172,4055,3882,4049,3996,3871,3854,3790,3790,3542,3450,3576,3697,3721,3855,3814,3965,3813,3453,3370,3453,3066,2544,2316,2206,2289,2850,3498,3088,3588,3708,3062,2895,2900,3366,3851,3818,3208,2966,3358,4095,4592,4596,4004,3306,3375,2791,2642,2202,2612,3581,3396,2988,3050,3223,3257,3356,3427,3008,2918,2864,2799,2842,3094,3370,3168,2971,2860,2611,2787,2442,2369,2434,2720,2964,3030,3135,2953,2531,2218,2363,2569,2529,2307,2240,2084,2354,2185,2788,3667,3860,3118,1813,1646,2453,2608,2609,2840,2341,1951,2094,2182,2133,2302,2952,3679,4029,4009,3971,3474,2658,2979,3714,3972,2884,2779,3653,3643,3679,3672,3553,3684,3199,2548,2686,2968,3118,2975,2491,2416,2404,2425,2485,2329,2511,3181,3297,2700,2865,3507,3118,2326,2758,2596,3107,3233,3038,3168,2996,3188,3769,4137,3645,3311,3395,3217,2751,2542,2424,2601,2479,2172,1978,1993,1938,1605,1531,1726,1992,1949,1798,1809,1730,2590,2900,1972,1470,1566,1428,1657,2053,1743,1476,1720,1841,1773,1603,1590,1598,1734,1638,1548,1844,1909,1790,1890,1971,1567,1655,2057,2444,2367,2222,1973,1742,1738,1996,2131,2409,2507,2491,2947,1961,1561,1599,1765,1854,1621,1194,1075,1372,1498,1408,1414,1583,1458,1584,1683,1666,1578,1426,1387,1384,1474,1730,1912,1726,1667,2031,2274,2309,2862,3477,3104,2689,2794,3074,3481,3727,4132,4552,4488,4224,3985,3661,3458,3426,3177,3276,3859,4588,4408,3860,4144,4605,4376,3980,3198,3155,3273,3480,3399,3552,3605,3194,3052,3173,3119,3124,3385,3063,3684,3257,2675,2344,1957,1842,2470,2868,2343,2432,2714,2025,2115,2527,2564,2486,2142,1826,2064,2434,2264,2352,2649,2369,2297,2919,2655,2359,2150,2078,2234,2218,2308,2624,2885,3083,3235,3116,3023,2535,2290,3173,2878,2270,2279,2165,2491,2775,3017,3218,2861,3030,2773,2402,3226,3064,2331,2479,3308,3486,3098,3354,3673,3738,4020,4392,4431,4461,4314,4046,3783,3581,3355,3520,3617,3370,3238,3041,3038,3143,3107,3106,3232,3495,2933,2622,2542,2510,2548,2389,2256,2897,3547,3756,3763,3464,3371,3285,3338,3442,3404,3216,3387,3388,3432,3486,3497,3968,4013,3872,3986,2762,1360,807,682,653,615,589,602,639,647,615,604,610,640,678,706,721,743,695,675,660,604,585,621,636,666,735,651,596,575,554,637,758,633,455,409,415,516,569,477,434,456,422,420,407,382,381,386,366,338,330,342,348,343,332,320,319,308,309,302,300,306,308,308,315,326,368,434,426,447,483,515,623,645,654,716,953,1068,1105,1377,1683,1784,1855,1319,1332,1399,1471,1475,1332,1529,1489,1482,1551,1475,1484,1485,1520,1579,1560,1588,1505,1604,1629,1533,1406,1288,1162,1041,961,937,935,930,933,935,941,934,921,919,936,932,921,922,945,904,782,743,739,750,824,919,988,1035,1031,992,946,902,893,890,886,877,875,870,883,909,933,939,952,898,826,797,732,690,684,700,719,738,742,746,780,819,824,805,767,714,650,595,547,510,478,457,437,417,404,406,416,430,445,481,542,590,707,1077,1673,1854,1466,1267,1426,1664,2686,3874,3950,3973,4159,4692,3137,3099,3242,3488,4018,4035,3416,3071,2746,3384,3973,3443,3704,4964,5620,5200,4833,4716,4308,4025,3621,3355,3252,2958,2553,2360,2321,1792,1671,2134,3088,2965,2182,1638,1118,633,481,449,441,483,449,407,403,418,423,449,553,607,552,485,454,429,413,409,420,417,412,403,392,377,365,365,368,376,386,385,374,377,384,387,386,378,363,345,345,351,352,352,352,352,348,348,346,342,336,326,316,318,323,329,333,334,328,326,315,311,306,298,294,288,286,288,283,286,288,290,298,305,311,310,304,303,306,301,300,306,309,321,346,361,357,359,386,401,386,369,372,376,400,438,457,455,460,466,484,507,511,473,465,451,485,481,470,476,469,525,533,456,448,478,551,610,569,517,511,514,507,480,451,431,399,377,354,338,323,318,315,309,299,302,295,292,290,284,278,272,267,259,257,254,247,247,244,252,252,257,255,250,242,237,238,233,238,241,246,251,256,262,269,269,260,253,246,250,248,256,259,261,262],[3011,2701,2846,3521,3719,3089,2498,2620,2793,2610,2466,2323,2319,2402,2820,2777,2523,2831,3086,3018,3024,2808,2688,3053,3062,3024,2834,2260,1620,1679,1897,2268,2545,2489,2430,2375,2853,2829,2510,2900,3329,3053,2952,2780,2601,2719,2950,3105,3273,3782,3309,3043,2974,2965,2458,2237,2667,2622,2188,2195,1918,2125,2267,2644,3285,3558,3774,3665,3310,3220,2815,2641,2777,2764,2999,3317,3507,3018,2046,1874,2471,2662,2334,1892,1440,1780,2401,2742,2757,2476,2520,2148,2164,2394,2480,2621,2127,1619,1887,2258,2188,2557,2938,3320,2969,1908,1926,2253,2663,3138,3341,3332,3205,2713,2487,2571,2292,2335,3040,3376,2387,2066,2243,2432,3122,3094,2599,2018,1710,2078,2190,2026,1924,1852,2198,1990,1827,1863,2314,2636,2405,2405,2448,2542,2593,2339,2344,2815,2801,1997,1636,2153,2950,2483,2061,2286,2787,3185,3046,2644,2609,2944,2348,2213,2578,2308,1964,2541,3012,2484,2152,2121,2655,3139,2630,1981,1760,1810,1717,1547,1656,1870,2040,2078,2236,2530,2386,2155,2019,2468,2286,2386,2072,2109,2750,3235,3016,2786,2316,2242,2768,2621,2214,2038,2125,1920,1773,2342,2810,2812,2883,3197,2879,2572,2358,2519,2999,2440,2236,2263,2427,2680,2522,2465,2614,2867,2828,2928,2300,1665,1886,2423,2884,3240,3166,2938,2774,2955,2778,2668,2709,2812,2641,2187,2126,2076,2422,3016,3248,2875,2136,2284,2886,3257,3472,3506,3337,3031,3286,2626,2141,2764,3166,3146,3428,3415,2890,2497,2099,2491,2818,2812,2856,2744,2800,3010,3124,2871,2619,2787,2548,1986,1920,2114,1858,1810,2292,2502,2607,2293,2602,2804,3115,3454,3294,3272,3353,3023,3093,3653,3806,3430,3408,3582,3468,3584,3614,3524,3681,3811,3835,3953,3889,3738,3692,4133,4460,4143,4500,4120,3131,2634,2428,2285,2730,3397,3541,3280,2770,2777,2962,2987,2791,2791,2727,2662,2359,2665,3325,3703,3555,2548,1604,1831,2279,2578,2519,2890,3264,2942,2504,2858,2890,2933,3388,3417,2468,1700,1547,1839,1955,2095,1958,2452,3529,3395,2634,2463,2450,2297,2299,2391,2431,1988,1320,1751,2095,2210,2215,1904,1886,1842,1984,2578,3116,3108,2645,2127,1686,1870,1909,1877,1951,2213,2269,1995,1785,1784,2096,2237,2459,2128,1790,1719,1472,1348,2122,2670,2241,1803,2318,3272,3417,3244,3068,2846,2563,1902,1813,2243,2413,2306,2480,3012,2612,1720,1865,1702,1784,1630,1754,1965,1804,2135,2366,2161,2270,2430,2219,1931,1984,2100,2567,2313,2322,2394,2209,2998,3384,2850,2937,3418,3115,2917,3388,3540,2834,3137,3371,3365,2956,2450,2123,2047,2392,2676,2292,2371,2578,2731,2645,2634,2612,2720,2192,1339,1677,2337,2783,2852,2699,3222,3615,3090,2081,1663,1708,1688,1471,1953,2599,2458,2243,2347,2366,2553,3017,2954,3476,3919,3378,3074,3018,3332,3730,3670,3382,3060,2424,2175,2620,1620,1367,2069,1782,2065,2802,3287,3356,3006,2863,2691,2624,2799,3130,2768,2712,2611,2792,2795,2558,2676,2708,2402,2088,1836,1814,1889,1804,1708,1684,1786,1722,1662,2037,2212,1652,1554,1966,2232,2122,2172,1866,1553,1720,2155,1612,1512,1782,1830,1898,1700,1750,2020,2196,2390,2074,1676,1846,2514,2166,1728,1567,1615,2254,2776,2248,1952,2474,2788,2722,2360,2535,2775,2081,2280,2915,3250,2709,2314,2811,3117,2821,2355,2152,1749,1532,1377,1471,1562,1600,1412,1464,1518,1743,1971,1972,2447,2022,1769,2033,2169,1999,2061,2358,2008,1750,2025,1725,1607,2076,2244,2228,2248,2426,2439,3198,3265,3447,3374,3561,3581,3139,2899,2807,2981,2661,2599,2597,1707,2168,3020,3104,2971,3109,3264,3330,3389,3218,3217,3448,3472,3460,3500,3408,3513,2919,2166,1972,1728,1958,2823,3320,3748,3962,4116,4228,4055,2997,1609,1208,1409,1522,1685,2025,1912,1549,1682,2399,2486,1810,2508,2758,1969,1528,1711,1954,1748,1543,1934,2093,2110,1803,1552,1572,1710,1708,1504,1792,2135,1813,1549,1455,1622,2051,2215,1497,1549,1538,1600,1654,1783,1707,1499,1559,2016,2231,1996,1696,1689,1710,1704,1576,1642,1864,2432,2405,3092,3879,3394,2434,1712,2204,3117,3143,2500,1893,1843,1969,2798,2675,2351,2962,2800,1721,1699,2488,2987,3065,3231,2678,3265,3420,3210,3361,3426,3332,3382,3465,3310,3510,4042,3978,3644,3461,3784,3886,3938,4335,4887,4520,3526,3177,3316,3476,3385,2833,2686,2712,2818,2866,2932,3341,3491,3419,3305,3189,3309,3760,4165,4152,3989,3653,3099,2998,3323,3239,3321,2796,2170,2078,1628,1880,1851,2244,2220,2152,1973,1682,1837,2292,2268,2241,2279,2498,2676,2417,1956,1870,1780,1708,1685,1827,2141,2160,2048,2378,2143,1511,1540,1594,1842,2099,2340,2117,2489,2737,2592,2814,2741,2499,2241,2138,1964,1881,1831,2066,2079,2076,2911,3122,2808,2457,2502,2542,2313,2568,2874,2530,2746,2906,2608,3129,3044,2446,2297,2761,2918,2235,1786,2190,2340,2758,3018,2810,2777,3138,3253,3012,2589,2566,2849,3111,3598,3692,3139,2812,2516,2437,2398,2258,2111,2371,2800,3059,3462,3608,3143,2604,2130,2026,2431,2312,2016,2025,2684,3562,3859,3780,3771,3589,3632,3587,3681,4035,4386,4433,4472,4312,4445,4428,4239,4117,4196,4104,3919,3592,3580,3638,3680,3868,3942,3886,3696,3566,3286,2818,2204,2182,2664,2466,2430,2845,3469,3360,3350,3509,3315,3011,2819,3064,3507,3476,3244,3134,3448,4112,4472,4460,3870,3570,3858,3361,2862,2740,3130,3452,3248,3342,3205,3205,2937,3060,3063,3305,3187,2487,2301,2382,2646,2863,2845,3054,3086,2922,2919,2490,2240,2266,2554,2463,2329,2763,2964,2701,2612,2617,2531,2624,2500,2660,2502,2474,3225,3848,3740,3617,2584,1484,1811,2641,2636,2967,2552,2230,2397,2175,2067,2019,2281,3243,3833,3694,3898,4204,3839,2768,3160,3794,4256,3570,3317,3431,3354,3553,3707,3582,3562,3686,3572,3460,3493,3129,3595,3519,2922,2376,2803,2910,2457,2619,3565,3915,2884,2722,3119,3160,2880,3020,2406,2415,2903,3146,3029,3072,3053,3474,3665,3141,3146,3020,3053,2834,2435,2282,2203,2076,1811,1622,1888,1945,1527,1470,1804,1890,1770,1758,1918,1781,2001,2026,1789,1694,1538,1555,1677,1824,1701,1701,2018,1921,1741,1726,1645,1727,1814,1872,2030,1950,1801,1950,1754,1740,1835,1970,2523,2788,2410,2382,2264,1975,1641,1583,1829,2300,2154,2683,2688,1710,1429,1636,1828,1811,1711,1646,1562,1378,1348,1403,1383,1594,1681,1852,1785,1726,1570,1360,1301,1311,1448,1643,1644,1591,1830,2150,2397,2388,3062,3614,3093,2863,3173,3410,3283,2963,3416,4604,4764,4249,3838,3592,3737,3665,3327,3312,3683,4051,3894,3732,4205,4628,4280,4385,4335,4320,4385,4272,4051,3808,3188,2626,2555,2754,2852,2708,2836,2776,3300,3022,3017,2984,2706,2662,3297,3451,2946,2954,2834,2016,2055,2458,2696,2898,2895,2547,2408,2220,2255,2625,2541,2234,2023,2231,1934,2001,1888,2459,2907,2868,2907,2942,2624,2276,2584,2846,2949,2775,2820,3544,3422,2592,2202,2773,3651,3317,2906,2699,2361,2544,2121,2302,2789,2266,2714,3150,3363,3337,2929,2742,3149,3834,4205,4538,4596,4656,4432,3608,3106,3582,3565,3564,3632,3392,2968,2567,2919,3452,3270,3189,3039,3468,3340,2814,2623,2656,2920,2788,2494,3105,4024,4295,3972,3510,3349,3373,3437,3712,3582,3373,3505,3470,3384,3340,3251,3391,3491,4460,5060,4660,2675,1082,659,655,623,573,577,603,618,597,588,604,617,615,626,667,714,662,641,662,600,553,567,603,639,682,685,625,582,571,648,716,601,454,427,466,500,558,532,432,427,419,435,413,382,382,389,376,346,328,337,340,332,320,317,311,306,302,300,299,294,298,305,314,329,355,453,475,485,506,517,593,637,657,689,858,1097,1110,1163,1629,1719,2049,1649,1366,1404,1494,1549,1459,1488,1512,1518,1570,1445,1455,1468,1493,1551,1529,1503,1472,1544,1589,1505,1387,1305,1196,1083,1009,987,973,969,969,981,996,969,936,927,921,916,906,887,890,868,782,721,750,738,787,875,938,986,1002,985,916,875,898,882,873,860,855,845,842,843,855,871,895,867,796,772,715,674,677,697,712,718,720,723,744,779,796,782,755,700,642,591,540,506,478,452,429,416,406,404,416,428,439,470,543,606,706,1018,1574,1872,1654,1454,1704,2203,3029,3807,4084,4471,4041,3901,2776,3215,3448,3409,3276,3230,3108,2952,3072,3539,3914,3271,3333,4288,5843,5780,5204,4594,3813,3249,2886,2650,2583,2745,2639,2575,2603,2598,2245,1611,2172,3007,2553,1640,1279,817,527,474,551,843,777,608,592,634,653,645,607,544,497,470,448,419,401,401,400,398,393,383,374,365,357,355,363,366,369,372,370,366,376,385,377,367,353,337,330,332,337,340,344,342,341,348,343,339,331,325,320,314,319,325,332,336,329,320,317,312,308,303,294,287,287,287,281,280,280,289,294,303,309,310,304,305,298,300,305,308,311,324,355,379,372,371,382,395,398,400,393,379,390,422,445,453,460,469,479,496,498,482,486,455,458,479,465,462,469,484,505,455,439,502,554,579,556,508,491,498,516,508,450,431,392,372,358,339,326,320,314,309,302,298,296,293,292,285,279,273,267,265,263,254,254,247,245,250,255,262,255,251,249,246,238,241,240,243,250,253,253,260,265,263,261,254,248,248,249,256,254,260,262],[3032,2730,2906,2757,2745,2964,2823,2626,2482,2574,2732,2661,2483,2412,2574,2533,2459,2644,2647,2944,3174,2958,2489,2540,2625,2775,2598,2764,2475,1816,1699,2165,2199,2218,2480,2344,2614,2470,2689,2858,2994,2857,2598,2827,2976,2811,2998,2799,2974,3137,2765,2968,3387,3310,2658,2322,2364,2237,2474,2545,1932,2197,2698,3354,3552,4220,4057,3802,3344,2557,1946,2185,2684,2757,3007,3447,3476,2901,2527,2404,2459,2222,1726,1338,1437,2111,2575,2744,2724,2212,2409,2427,2429,2554,2706,2435,1918,1979,2338,2065,2204,2707,3016,3030,2641,2559,2736,2658,2753,3167,3194,2896,2532,1965,2341,2567,2031,1997,2396,2672,1988,2024,2047,1989,2647,3054,2412,1767,1744,2288,1847,1637,1797,1937,1819,1612,1555,2114,2891,2620,2305,2212,2052,2484,2732,2622,2352,2385,2505,2035,1807,2631,3112,2655,2251,2484,3053,3144,2919,2979,2764,3003,2654,2689,3077,2161,1620,2809,2854,2385,2576,2686,3143,3459,2767,2415,2468,2775,2326,1759,1754,1577,1644,1800,1849,2286,2295,1823,2215,2564,2341,2601,2590,2320,2733,3196,3204,3437,3064,2471,2420,2253,1881,2192,2551,2356,1852,1871,2127,2467,2770,2929,3045,3144,2287,2481,2496,1734,1345,1648,2175,2676,2847,2833,3020,2701,2110,2161,1706,1594,1626,1974,2770,3188,2854,2535,2676,2548,2227,2410,2715,3118,2969,2404,2558,2591,2722,2779,2886,3123,2503,1934,2453,3172,3692,3515,3740,3066,3352,3206,3060,3257,3323,3388,3769,3949,3794,3396,2809,2514,2521,2950,2901,2785,2688,2806,2972,2929,2651,2065,1441,1703,2563,2730,2136,2451,2796,2997,2764,2271,2631,2830,2789,2772,2827,3057,2907,2674,3218,3642,3696,3175,3257,3430,3552,3783,3664,3437,3542,3663,3704,3537,3422,2948,2811,3177,3824,4100,4423,4285,3472,2639,2220,2186,2620,3161,3395,3259,2845,2709,2944,2778,2534,2512,2665,2463,2518,3240,3649,3444,3089,2072,1301,2163,2371,2597,2910,3249,3265,2546,2212,2830,2890,3059,3718,3637,2494,1803,1559,2263,2307,1868,1813,2670,3539,3484,2399,2012,2062,2259,1989,1774,1858,1943,1572,1669,2170,2464,2318,2457,2480,1904,2119,2690,2958,2404,2100,1893,2034,1901,1745,1912,2072,2347,2431,1934,1990,2259,2012,1991,2358,1669,1410,1682,1677,1649,1959,2077,1839,1774,2268,2962,2900,3251,3009,2555,2443,2170,2230,2431,2489,2282,1807,2082,2186,2302,2106,1769,2062,1954,2128,2360,1982,1924,2032,1832,1899,2145,1977,1686,1982,2122,2569,2248,2436,2439,2086,2414,2821,2596,2699,2884,2699,2416,2813,2908,2218,2440,2345,2118,1964,1914,2014,2051,2253,2469,2090,2237,2445,2554,2743,3007,3129,3054,2740,1779,1316,2108,2574,2852,2897,3411,3583,3082,2192,1866,1684,1520,1505,1979,2375,2419,2473,2721,3117,3534,3940,4176,4244,4301,3624,3133,3055,3230,3559,3260,2811,2678,2135,2109,2924,2066,1582,2096,2608,3204,3462,3718,3549,2954,2459,1975,2082,2495,2745,2410,2308,1988,2639,3566,3659,3599,3207,2328,1766,1630,1762,2080,1896,1692,1805,1873,1579,1557,1841,1752,1704,2010,2064,2099,2009,1641,1572,1576,1788,2035,1657,1635,1832,1859,2092,1985,2066,2029,2049,2351,2604,1980,1721,2114,2388,1993,1580,1656,1846,2069,1855,1753,2259,2544,2380,1939,2636,3286,2467,1956,1999,2192,2436,1999,2002,1714,1551,1724,1372,1187,1278,1355,1502,1747,1681,1574,1736,1739,1715,1899,1884,1920,1709,1838,2281,2211,2052,2060,2074,1847,1626,1886,1587,1665,1910,2413,2388,2072,2186,2622,2957,3290,3386,3216,3397,3343,2940,2468,1998,2182,2507,3066,3075,1941,2470,3286,3063,2937,3018,3176,3266,3335,3166,3114,3298,3283,3448,3316,3156,3419,3178,2677,2152,1685,2078,3599,4133,4160,4265,4312,4164,4045,3324,1893,1285,1377,1334,1456,1721,1705,1678,1761,2307,2645,1949,2462,2791,2016,1751,1738,1983,2036,1851,2081,2174,1713,1592,1592,1601,1609,1665,1565,1737,1825,1796,1685,1485,2025,2794,2425,1619,1612,1793,1863,1690,1889,1860,1729,1750,1609,1686,1681,1479,1668,1974,1995,1631,1509,2336,2778,2648,3617,4320,3883,2811,2215,2633,3271,3289,2410,1824,1516,1703,1876,1821,1808,2284,2486,1689,1967,2345,2779,3054,2497,1789,2428,2884,3171,3825,3838,3442,3542,3652,3233,3436,3935,3825,3252,3374,3632,3645,3763,4361,4916,4704,3791,3220,3166,3375,3675,3151,2841,2825,2919,2899,2982,3508,3946,3866,3678,3529,3749,3784,3739,3896,4050,3890,3848,3815,3938,3841,3373,2498,2206,2060,1793,2196,1974,2549,2554,2555,2155,1810,2012,2132,2022,2060,2208,2293,1887,2180,2208,2063,2052,1851,1740,1853,1968,1976,1827,1809,1643,1348,1700,1876,1760,1579,1749,1978,2399,2598,2534,2257,2274,2584,2091,1766,2233,2343,2398,2689,2063,1958,2774,3171,3128,3035,2835,2676,2347,2101,2236,2313,2589,2556,2664,2997,2719,2320,2114,2457,2835,2312,2269,2656,2628,2829,3281,3138,2879,2940,3241,3285,2769,2463,2646,3025,3277,3187,2497,2286,2653,2972,2911,2510,1974,2114,2759,3171,3372,3051,3221,2954,2598,2231,2432,2207,1912,1905,2429,3177,3507,3548,3611,3403,3471,3344,3675,4037,4360,4591,4485,4172,4048,4020,3836,3979,4240,4175,4041,3605,3679,3698,3572,3647,4070,4021,3724,3200,2532,2586,2844,2754,2783,2652,2723,2828,2792,2866,3111,3428,3552,3337,3050,3243,3768,3752,3643,3604,3586,3825,4268,4587,4260,4077,4329,3975,3284,2911,3118,3409,3083,3098,2735,2534,2567,2658,2521,2524,2357,2336,2190,2399,2633,2612,2585,2997,3051,3139,3185,3066,2540,2544,2662,2470,2596,2849,2863,2854,2724,2837,2874,2688,2920,3175,3154,2594,2999,3790,3820,3318,2098,1761,1963,1848,1846,2725,2406,2583,3282,2730,1568,1683,2814,3731,3698,4093,4164,4269,3518,3196,4009,3234,3154,3594,3351,2694,2783,3493,3727,3605,3492,3803,3506,3124,3488,3112,3436,3687,3008,2706,2956,3207,3539,3298,3868,4374,3349,2835,3068,3210,3178,2907,2469,2375,2621,2536,2521,3286,3350,3586,3023,2071,2449,2307,2239,2226,1952,1779,1827,1963,1917,1611,1589,1721,1615,1468,1559,1497,1681,2001,2093,1923,1647,1620,1975,2041,1560,1516,1493,1610,1745,1900,1771,1575,1778,1771,1510,1520,1637,1792,1940,1880,1837,2242,1969,1993,2164,2314,2691,2212,1957,2420,2535,2417,1805,1461,1468,1603,1795,2062,1711,1486,1546,1737,2104,2208,1848,1972,1891,1609,1642,1542,1589,1860,1848,1810,1908,2041,1856,1752,1830,1440,1199,1439,1600,1658,1848,2067,2232,2619,3178,3072,2775,3094,3467,3748,3255,2910,3381,4513,4627,4384,3927,3610,3752,3896,3717,3501,3399,3503,3665,3756,4200,3817,3882,4528,4379,4155,4509,4397,3979,3580,2745,2524,2444,2487,1864,1732,1999,2374,2595,2263,2431,2922,2864,2670,3062,3458,3300,3442,3831,3439,2749,2863,3055,3031,2941,2853,2648,1958,2132,2448,2688,2251,1904,1750,1705,1781,1903,2974,3698,3328,2889,2983,2114,1685,1951,2519,2777,2874,3033,3178,3408,2861,2359,3276,3503,2795,2787,2868,2599,2456,2198,2171,1932,1836,2604,3003,2742,2723,3005,2729,2520,3759,4396,4820,4965,4768,4515,4000,3814,3863,3727,3627,3632,3399,2963,2532,2895,3297,3319,3362,3297,3607,3207,2688,2373,2171,2801,3177,3383,3885,4282,4340,4042,3630,3338,3270,3276,3489,3415,3460,3630,3607,3507,3274,3210,3265,3405,4540,5035,5153,3632,1521,717,681,641,570,564,574,596,589,566,575,570,586,627,648,670,658,637,654,623,578,564,580,585,585,681,614,557,614,692,669,541,444,451,541,525,548,528,467,408,381,387,383,381,381,390,388,360,329,330,334,332,314,308,310,312,302,296,290,291,296,305,301,328,353,456,528,522,527,536,568,628,657,672,772,1024,1173,1061,1490,1663,2018,1892,1436,1337,1517,1575,1555,1524,1549,1519,1562,1474,1428,1500,1514,1505,1474,1451,1450,1456,1516,1511,1404,1318,1205,1116,1034,1008,998,989,982,971,953,930,890,848,857,890,894,856,841,819,775,720,730,732,758,831,885,930,952,970,912,865,888,881,861,847,841,828,810,798,801,813,827,819,780,738,702,668,674,695,705,701,695,699,715,743,764,754,734,691,627,579,537,501,471,444,426,415,401,397,412,424,436,457,525,607,686,897,1472,1887,1909,1813,1864,2666,3464,3794,3963,4692,4135,3315,3002,3212,3440,3270,3420,3418,2997,3085,3340,3584,3755,3048,3262,4472,5912,6239,5480,4828,4216,3200,2223,1854,1646,1849,2167,2605,2745,3111,3327,2298,1627,2566,2734,1619,1290,1111,701,567,903,1075,968,844,744,691,625,561,517,481,471,448,432,412,402,399,387,385,380,374,365,356,355,348,347,355,355,357,359,360,367,374,375,360,349,338,325,325,335,341,339,343,340,340,342,343,330,320,315,309,315,316,330,338,334,329,320,315,308,301,295,290,287,286,279,276,275,281,287,300,309,310,308,306,303,304,307,316,317,327,354,388,388,378,380,394,405,423,422,395,388,406,422,436,444,457,472,481,477,474,477,462,471,489,465,461,462,455,484,476,477,522,540,525,529,506,474,488,498,507,473,436,389,369,355,342,327,323,314,304,303,298,297,290,292,287,280,280,275,268,264,259,256,251,250,253,252,260,258,255,255,247,245,245,248,251,251,256,258,262,265,263,262,256,254,250,248,250,253,255,253],[2859,2323,2798,2636,2932,3241,3004,2565,2647,2925,2533,2539,2964,2669,2604,2752,2896,3140,3054,3129,2927,3001,2906,2840,2800,2288,2194,2622,2510,2116,1986,2015,1701,2380,2720,2339,2713,3134,2922,2328,2224,2536,2787,3150,3340,3285,3066,2711,2943,2843,2975,3233,3363,3471,3482,3116,2443,2327,2686,2668,2139,2372,3003,3110,3418,3850,3792,3360,2619,1510,1191,1923,2612,2523,2941,3403,3211,2266,2217,2433,2408,2102,1456,1185,1914,2608,2652,2895,2783,2373,2636,2711,2387,2219,2411,2389,1937,2121,2126,1947,2413,2016,2246,1899,2003,2640,2232,1805,2099,2471,2701,2588,2375,2247,2747,2218,1675,1791,2329,2144,1650,1623,1642,1816,2261,2774,2137,1440,1781,2192,1850,2170,2164,1948,1833,1613,1556,2085,2951,2838,2322,1981,1977,1944,2200,2533,2492,2579,2784,2677,2623,2666,2736,2653,2659,2833,3143,3392,3150,3047,2612,2359,2578,2878,3011,2438,2298,3032,2525,2169,2299,2484,2896,2571,2260,2304,2844,3347,2806,2262,1838,1479,1652,1747,1775,2076,2067,1675,2128,2288,2388,2933,3416,3311,2786,2786,3087,3365,3484,3038,2599,2036,2230,2573,3762,4090,2423,1739,1920,2066,2494,3090,3128,3318,2916,2740,2545,2005,1628,1787,2069,2317,2640,2844,2844,2434,1881,1727,1564,1576,1654,1923,2512,2664,2304,2209,2087,1792,2310,2612,2514,2447,2603,2613,2831,2688,2310,1934,2128,2733,2568,1879,2266,2580,3454,3349,3799,2889,2648,2907,3035,2746,3020,3545,3620,3116,3030,3920,3935,3133,3134,3118,2946,2811,2789,2664,2575,2629,2166,1468,1699,2404,3133,2888,2430,2579,2996,2864,2389,2413,2828,2832,2499,2398,2770,2799,2698,2243,2607,3221,3698,3547,3488,3344,3499,3879,3738,3271,3272,3437,3639,3409,2852,2331,2470,2656,2958,3519,3838,3816,3526,2840,2270,2855,3463,3205,3018,2499,2557,2944,2896,2688,2486,2482,2557,2809,3637,4128,3441,2533,2511,2121,1644,2133,2377,3140,3364,3092,2924,2541,2565,3008,3308,3582,3482,3374,3116,2386,2083,2220,2001,1954,2603,2755,2535,2619,1851,2308,2308,2226,1770,1710,2223,2489,2177,2139,2424,2284,2178,2454,2496,2062,2570,2584,2522,1969,1767,1966,2030,2013,2344,2246,1813,1983,2371,2054,2085,2074,1874,1713,1506,1350,1346,1345,1377,1729,2248,2083,1875,1886,1954,2220,2378,3172,3024,2563,2307,2236,2331,2205,2135,2017,1510,1616,2056,2457,2418,1957,1907,2030,2353,2210,1765,1776,1808,1882,2173,2245,2042,1827,2136,2267,2209,2363,2569,2364,1900,1858,2357,2655,2857,2645,2599,2314,2334,1967,1993,2073,1742,1699,1856,1904,1887,1735,1677,1835,2050,2348,2569,2873,3252,3499,3383,3109,2939,2329,1448,2120,2380,2341,2996,3459,3244,3041,2648,2360,2135,1887,1960,2331,2394,2555,2932,3784,4212,4484,4572,4495,4327,4111,3486,2967,2997,3138,3329,3311,2743,2207,1970,2343,2250,1824,2018,2305,2502,2893,3262,3417,2741,2156,1706,1713,2079,2648,2696,2531,2408,2143,2389,2721,2780,2977,2993,2504,1659,1706,1998,2454,2588,1971,2180,2294,1742,1523,1621,1878,1858,2642,2430,1995,1840,1649,1589,1632,1952,2356,2219,1857,1939,2089,1828,1581,1720,1718,2005,2314,2510,2231,1748,1591,1772,1955,1916,2102,1880,1983,1976,1724,2376,2630,2230,1738,1766,1957,2048,2159,1856,1906,2336,1850,1611,1455,1442,1550,1370,1144,1215,1404,1712,1620,1312,1818,2126,1863,1489,1538,1482,1455,1765,2028,2078,1978,1943,1730,1730,1603,1376,1833,1902,1838,1837,2502,2491,1820,1852,2361,2723,3090,3063,2958,2839,3179,3179,2500,2337,2540,2489,2964,3164,2257,2376,3199,3083,3006,2828,2866,2967,3107,3366,3684,3740,3757,4140,4103,4033,4319,4296,3951,2626,1699,1844,3152,3575,3625,3847,3998,4132,4361,3659,2148,1467,1361,1274,1479,1792,1722,1841,1830,2316,2770,2138,2177,2818,2713,2410,1729,1843,1960,1654,1779,2129,1973,2288,2046,1696,1470,1394,1448,1554,1743,1790,1744,1694,2073,2232,1917,1653,1565,1704,1755,1578,1531,1446,1513,1506,1534,1500,1553,1537,1687,1982,2091,1777,1576,1774,1732,2224,3593,4228,4144,3242,2746,2666,3298,3284,2296,1698,1591,1620,1854,2362,2323,2186,1976,1766,1765,2006,2271,2561,1895,1753,2077,1926,2357,3549,3637,3187,3403,3265,3089,3056,3113,2828,2931,3482,3759,3570,3340,3817,4525,4717,4152,3390,3263,3586,3908,3664,3188,2906,2845,3002,3234,3842,4364,4460,4421,4328,4101,3016,2459,2823,3476,3872,3896,3761,3497,3110,2631,2037,2120,1731,1916,2128,1851,2669,2618,2141,2169,2110,2140,2543,2360,1841,2018,1772,1788,2250,2395,2207,1886,2091,2218,1786,1596,1657,1613,1590,1630,1604,1731,1764,1785,2020,2119,2177,2233,2229,2081,1887,2272,2677,1813,1584,2151,2668,3044,3172,2609,2363,2769,3404,3406,2948,2955,2666,2384,2009,2343,2509,2586,2335,2504,2690,2358,2196,2229,2365,2912,2770,2666,2862,3304,3552,3513,3304,3115,3207,3669,3806,3298,2669,2580,2435,2792,3216,3009,2784,2909,3167,3185,2886,2237,2057,2642,3044,2978,2153,2553,3217,2933,2266,2242,2166,1870,1978,2200,2894,3581,3628,3460,3382,3410,3355,3515,3670,4056,4412,4144,3801,3631,3455,3355,3526,3592,3807,3807,3717,3934,3853,3745,3920,3994,3472,2740,2407,2467,2924,3495,3252,2998,2933,2621,2457,2664,2942,3187,3370,3459,3428,3384,3396,3894,3986,3602,3638,3655,3540,3521,3924,4184,4263,4500,4339,3709,2920,2843,3094,2975,2939,2741,2512,2522,2644,2730,2532,2479,2857,2594,2721,2645,2652,2950,2919,2545,2591,3046,3030,2611,2714,2778,2836,3021,2958,2570,2544,2734,2908,3149,3142,3154,3162,3023,2541,2503,3344,3925,3758,3379,2980,2160,1494,1892,2382,2518,2823,3440,3538,2415,2106,3204,4472,3659,3955,3796,3654,3761,4184,3962,2889,3141,3749,3019,2063,2234,3138,3939,3676,3608,3628,3321,3024,3231,3021,3156,3341,2529,2474,2366,2874,3078,2950,3229,3328,3187,2997,2711,2686,2758,2786,2786,2811,2650,2766,2673,2917,3295,3312,2697,2379,2431,2109,2346,2583,2251,1898,1890,1875,2260,2009,2000,2035,2109,2114,1845,1602,1557,1665,2036,1886,1627,1667,2167,1958,1621,1558,1437,1995,2121,1725,1573,1594,1643,1677,1520,1444,1559,1791,1796,1823,2288,2288,2072,2144,2047,2178,2074,1721,1993,2367,2603,2357,1870,1540,1711,2033,2202,2206,1759,1629,1881,1927,2297,2245,1666,1804,2306,2176,1835,1709,2030,2271,1992,1577,2006,2421,1928,1799,2214,1346,992,1290,1560,1556,1729,2285,2382,2286,2587,2928,3310,3572,3526,3436,3353,3626,3803,4251,4688,4688,4364,4097,4112,4440,3985,3664,3483,3978,4312,4225,4116,3846,4252,4736,4391,4184,4552,4186,3934,3928,3576,3300,2837,2248,1548,1344,1542,1866,1880,2014,2285,2222,2191,2465,2902,3394,3526,3278,3820,3916,3182,3182,3288,3121,2711,2510,2483,2248,2472,2690,2699,2018,1750,1636,1594,1664,1776,2568,3694,3595,2553,2632,1976,1920,2235,2842,3065,2959,2520,2482,3161,3012,2675,3041,2736,2469,2484,2580,2305,2751,3040,2326,1890,2121,2289,2259,2511,2908,3177,3104,2865,3935,4609,4892,4816,4722,4647,4483,4025,3741,3789,3648,3646,3624,3372,3031,3169,3173,3229,3251,3406,3520,2934,2468,2253,2144,2825,3439,3601,3839,4107,4164,4003,3326,3300,3061,2470,3229,3387,3383,3308,3432,3481,3166,3119,3356,3676,4353,4633,4696,3937,2224,883,726,673,573,556,559,567,571,554,550,543,556,587,617,661,685,652,631,627,618,581,580,609,601,606,582,575,638,711,632,535,486,471,574,519,495,512,483,419,394,400,362,372,374,387,384,356,326,321,326,324,315,309,311,310,305,299,293,292,292,297,300,322,359,440,562,581,540,560,560,610,648,677,736,906,1209,1057,1290,1576,1886,2016,1660,1344,1585,1666,1677,1599,1569,1519,1500,1468,1387,1410,1462,1457,1403,1361,1412,1370,1396,1473,1408,1348,1217,1114,1051,1014,989,967,955,938,902,875,879,835,806,820,857,823,797,779,752,726,719,714,731,790,853,894,918,920,904,866,874,876,844,830,823,805,780,764,764,770,770,767,744,709,682,660,662,690,700,683,666,673,687,711,735,738,714,671,614,566,529,497,469,440,426,411,404,398,412,428,434,457,500,587,672,819,1309,1908,2149,2082,2084,2610,3052,3400,3504,4012,4152,4489,3906,3143,3387,3193,3159,3448,3282,2840,3272,3780,3604,3350,3666,3782,4808,6144,5793,4862,4396,3646,2137,1292,1164,1160,1382,1934,2305,2843,3658,3167,1832,2130,2762,1758,1250,1230,1080,1008,1246,1092,885,712,613,562,528,495,472,457,449,431,410,398,397,387,379,372,372,372,364,355,349,343,339,339,341,338,341,353,361,368,367,360,345,333,327,332,335,334,337,337,341,342,339,336,329,321,308,302,309,320,328,334,338,334,327,323,314,307,303,299,293,290,282,277,275,280,289,300,307,310,311,309,310,311,314,321,323,328,360,389,400,387,386,395,406,423,422,406,384,395,410,420,441,455,471,473,462,451,474,480,439,462,465,469,433,444,459,479,501,493,494,505,522,520,489,490,485,478,477,440,391,364,355,343,332,323,313,307,298,300,297,298,293,291,285,281,275,269,265,262,256,252,253,250,257,261,259,261,252,251,247,245,249,250,251,258,261,264,264,263,260,252,251,248,250,248,255,260,260],[2809,2489,2917,2933,2784,2786,2729,2482,2613,2537,2329,2818,3307,2574,2495,3078,3483,3649,3064,2513,2325,2629,2862,2975,2648,1962,1942,2159,2425,2135,2097,1798,1897,2541,2813,2524,2987,3222,2357,1748,1923,2172,2612,3084,2925,3012,3109,2921,2889,3130,3310,3417,3229,3295,3452,3680,3033,2686,2410,2224,2088,2957,3049,3000,3573,3650,3450,2860,2577,1952,1469,1621,1918,2315,2779,3116,2914,2617,2361,2253,2522,2246,1326,1326,1995,2584,2698,2669,2501,2689,2731,2632,2562,2350,2567,2555,2379,2597,2150,2146,2502,1727,1749,1582,1807,2545,2359,1805,1958,2468,2911,2785,2798,2498,2250,2473,2755,2755,2718,2381,1602,1806,2056,2515,2747,3009,2449,1443,1646,1728,1735,2048,1614,1873,2228,1823,2175,2497,3250,3226,2259,1437,1251,1328,1317,1658,2252,3030,3466,3295,3233,2988,2432,2332,2377,3242,3630,3816,3463,3249,2812,2108,2124,2395,2884,2640,2612,2677,2481,1902,1886,2205,2441,1967,2016,2578,3124,3285,2464,2439,2031,1781,2674,2454,2061,1895,1750,1515,2078,2632,2625,2598,2896,3117,2548,2495,3046,3289,3436,3427,2962,2458,2723,3318,4250,3288,2207,1852,1856,2205,2707,2875,3046,3217,2891,2437,2264,2348,2526,2608,2080,1752,2061,2231,2242,2096,1769,1801,1788,1916,1969,1985,2209,2200,2081,2049,2154,1983,2458,2121,2203,2008,1902,1988,2445,2673,2292,2356,2696,2752,2875,2777,3112,2851,3239,3391,3574,3421,3077,3051,2765,2183,2520,3006,2914,2478,2991,3749,3818,3500,3294,2971,2775,2777,2842,2829,2568,2191,2113,1757,2380,3200,3146,2254,2375,2799,3101,3037,2698,2656,2934,2634,2478,2591,3041,2877,3207,2987,2897,3449,3686,3230,2866,2924,3304,3895,3784,3128,3615,3530,3733,3841,3464,2984,2889,2742,2835,3042,3226,3527,3606,3397,3068,3694,3941,3500,3059,2798,3105,3323,3006,2623,2563,2613,2668,3098,3532,3670,2567,1991,2008,2150,2140,2115,2498,2933,2932,2930,2780,2706,2920,2790,3474,3412,3067,3331,3686,3326,2570,2042,1842,1886,2459,1829,1544,1685,1539,2441,2691,2330,1873,1787,1813,1996,2423,2524,2392,2221,2389,2002,1846,2147,2523,2658,2388,1826,1635,1735,1838,2146,2535,2445,1761,1676,2401,2548,2396,1920,1771,1817,1695,1722,1923,1902,1666,2314,2724,2095,1789,1771,1672,1950,2648,3334,3297,2594,2262,2035,1637,1540,1647,1625,1347,1392,1680,2282,2663,2257,1797,2161,2411,1982,1765,1662,2000,2004,1758,1727,1805,1847,1876,1857,2009,2174,2265,2176,1883,2385,2801,2521,2371,2407,2170,1897,1809,1388,1248,1753,1859,1785,1744,1854,1843,1754,1922,2215,2549,2741,2931,3239,3441,3452,3351,3345,3094,2679,2188,2580,2465,2185,2722,3121,3061,2864,2517,2570,2587,2522,2485,2798,3311,3784,4281,4645,4660,4792,4771,4408,4035,3679,3133,2739,3052,3194,3232,3383,3049,2472,2503,2877,2411,1817,1918,2221,2006,1933,2386,2636,1927,1689,1509,1557,2032,2273,2046,2160,2434,2371,2426,2591,2353,2528,3149,3234,2486,2107,2018,2103,2278,2278,2283,2062,1745,1812,1612,1731,1722,2244,1994,1707,2019,2154,1937,1781,1914,2018,2254,2103,2413,2161,1977,2237,2287,1864,1663,1741,2008,2026,1671,1482,1443,1860,1846,1773,1803,2036,2372,2053,1832,1730,1649,1526,1389,1482,1748,2002,1849,1605,1565,1600,1612,1638,1707,1743,1576,1426,1291,1544,2065,1854,1403,1559,1551,1521,1440,1395,1386,1665,1966,2007,1938,1947,1721,1630,1844,1443,1689,2278,2367,1981,2437,3112,2433,1316,1581,2238,2243,2431,2603,3145,2994,3273,3272,2745,2974,3227,2857,3326,3660,2556,2037,2675,2751,2882,3015,3364,3674,4026,4276,4439,4520,4589,4665,4531,4516,4521,4100,3545,2316,1730,1582,1945,2142,2188,2157,2408,2997,3588,3827,2867,1922,1462,1280,1622,1970,1819,1695,1513,1851,2665,2408,1924,2811,3039,2662,1729,1827,1939,1747,1928,2017,1904,2003,1999,1817,1501,1366,1344,1567,1867,1677,1484,1559,1880,2469,2290,1581,1537,2037,2129,1704,1570,1395,1310,1475,1697,1506,1629,1574,1591,1762,1703,1565,1520,1668,1589,1880,2979,3751,3487,3416,2556,1697,1942,2276,2292,2141,1935,1808,2460,2944,2901,2334,1915,1873,1780,2269,2632,2244,1841,1978,2013,1887,2046,3139,3377,3062,3155,2863,2839,2712,2512,2482,3050,3683,3532,3560,3438,3558,4445,4776,4383,3867,4016,4132,3964,3886,3790,3304,2711,2902,3012,3307,3851,4393,4685,4616,3394,2208,1792,2315,3211,3222,3275,3376,3320,2925,2416,2201,2413,1934,2104,2177,1866,2099,2248,2252,2082,1907,1931,2541,3009,2406,1869,1895,2009,2314,3010,2769,2159,2523,2120,1680,1763,1709,1612,1737,1648,1666,1627,2715,4341,3493,2294,2105,2093,1901,2025,2205,2364,2631,2075,2350,2475,2440,2561,2379,2316,2409,2464,3201,3542,2850,2864,2697,2428,2463,2810,2719,2520,2519,2963,3011,2770,2397,2005,2024,2925,3107,2779,2920,3431,3737,3654,3666,3509,3703,4232,4124,3627,2773,2432,2447,2902,3362,3497,2945,2347,2431,2643,2713,2758,2287,2745,3076,2943,2437,2266,2302,2481,2651,2623,1802,1873,2214,2148,2446,3232,3871,3579,3452,3431,3426,3572,3437,3649,4007,3746,3615,3431,3129,3333,3203,3120,3294,3719,4176,4419,4115,3682,3466,3000,2514,2543,2602,2852,3052,3241,3458,3031,2675,2621,2728,2778,2857,3236,3043,2729,2967,3312,3020,3405,3940,3803,3623,3475,3196,3054,3395,3991,4490,4904,4596,4167,3485,2790,2709,3106,3027,2598,2110,2103,2768,3251,3055,2556,3107,2827,2662,2539,3039,3262,2815,2475,2607,3060,3196,2754,2676,2603,2718,2986,3022,2734,2472,2628,2663,2840,3160,3011,2842,2971,2966,2534,3128,3797,3065,3492,3055,1911,1825,2148,2098,2325,2566,2688,2918,3207,2811,3444,4473,4448,4596,3813,3078,2957,3203,2884,2907,4015,3581,2675,2597,2852,3658,4172,3886,3599,3371,3213,2995,3119,3164,3005,2968,2664,3045,2335,3086,3087,2406,2524,3161,3485,2998,2480,2323,2430,2974,2874,2686,2473,2697,2499,2617,3044,2846,2469,2154,2024,2683,3521,3244,2529,2451,2566,2297,2384,2503,2420,1993,1853,1888,1582,1466,1931,2399,2452,1989,1647,1810,2344,2143,1684,1413,1743,2310,1917,1669,1466,1680,1842,1689,1521,1376,1886,1904,1638,1766,2459,2470,2198,2184,2036,2101,1958,1751,1648,1966,2690,2817,2415,2024,1863,1642,1780,2218,1999,1520,1736,2420,2310,1714,1421,1668,2265,2156,1648,1743,2017,1995,2076,1656,1968,2483,1874,1869,2106,1764,1606,1559,1675,1930,2019,2405,2176,1898,2081,2614,3687,3716,3667,3461,3499,3599,3189,3653,4487,4275,4232,4085,3713,4124,4207,4328,4608,5092,5016,4600,4364,4630,4917,4972,4731,4507,4135,3960,3950,3942,3492,2667,2454,1974,1693,1705,1628,1416,1462,1715,2125,1859,1805,2302,2490,2655,2762,2783,3420,3260,2734,2942,2814,2702,2637,2854,2786,2876,2917,2425,2052,1934,1882,1924,1965,2161,2365,2997,3850,3963,3163,2942,3035,2764,2511,2880,3106,2978,2583,3107,3554,3067,2676,2677,2444,2263,2335,2398,2537,3256,3087,2363,2385,2305,2240,2558,3263,2888,3493,3339,3075,3454,4349,4763,4606,4687,4663,4363,3980,4041,3956,3572,3498,3626,3387,3278,3474,3575,3510,3459,3596,3642,3032,2809,2866,2868,3423,3553,3102,3439,3963,3665,2866,2586,3308,3972,3762,3494,3433,3310,3118,3159,3207,3240,3385,3687,3969,4260,4452,4356,4160,3125,1145,704,667,579,560,556,559,554,540,529,521,532,560,595,642,679,636,616,623,640,608,587,616,617,607,588,592,657,718,597,517,509,521,597,536,475,499,490,436,400,414,366,370,372,380,381,358,318,309,321,321,316,308,301,302,300,294,294,290,286,292,300,313,368,434,553,648,553,573,579,608,656,684,735,809,1146,1153,1155,1421,1685,1881,1894,1464,1614,1648,1662,1623,1563,1497,1411,1431,1358,1280,1383,1393,1360,1309,1360,1321,1312,1406,1328,1265,1168,1071,1026,976,943,912,901,884,846,815,844,818,782,774,801,783,744,745,730,726,726,704,715,768,826,865,884,881,884,857,845,861,828,812,801,792,760,737,734,731,721,716,704,684,665,646,646,673,689,669,643,643,654,680,715,720,694,655,599,546,519,498,462,439,424,410,402,406,416,435,440,460,488,549,635,743,1135,1800,2226,2284,2230,2408,2695,3449,4057,3904,3851,3688,3263,2706,2933,3238,3293,3617,3114,2534,3151,3689,3497,3821,3759,2877,3542,4689,4752,4750,4375,3785,2801,1322,778,887,819,1186,1917,2692,3439,3672,2544,2001,2531,1882,1236,1118,1212,1488,1367,980,789,660,582,533,493,465,453,444,432,421,402,389,386,375,375,368,366,361,350,341,343,336,333,333,331,332,337,348,360,372,372,358,334,335,337,335,335,334,335,335,336,335,333,336,326,322,309,301,306,319,327,335,339,333,328,325,319,308,303,299,291,288,284,275,269,276,293,302,304,310,308,312,317,317,321,329,331,332,355,396,404,386,394,389,397,410,415,412,400,412,415,428,449,458,477,485,460,450,466,473,442,512,513,561,482,435,457,474,504,495,490,518,533,521,501,482,474,478,472,436,393,364,355,338,329,320,314,306,300,300,298,301,293,294,291,287,283,275,269,263,257,260,253,256,258,259,259,259,256,255,252,255,254,257,258,257,260,259,256,258,258,254,252,253,256,256,260,260,260],[3144,2812,3121,3009,2784,2906,2728,2423,2599,2445,2853,3013,2805,2596,2980,3339,2934,2653,2170,1497,1598,2206,2586,2831,2311,1987,1867,1747,1969,1894,1671,1688,2178,2818,2779,2155,2379,2258,1616,1857,2579,2985,3118,2898,2302,2422,2632,2585,2979,3353,3662,4096,3509,3369,3741,4060,3418,2877,2423,2169,2643,3344,3445,3458,3686,3318,3105,2958,2536,2134,1638,1268,1466,2038,2598,2809,2807,2955,2578,2406,2568,3097,2195,1896,2818,2702,2488,2243,2326,2939,2438,2206,2523,2509,2484,2192,2253,2440,2008,1963,2271,1834,1488,1482,1700,2410,2570,2293,2480,2680,2841,3120,3489,3513,3408,3103,3210,3232,2729,2691,2078,1980,2091,2643,2930,2851,2584,2071,2092,2217,2364,2181,1608,1856,2160,2311,2998,3251,3439,3190,2621,2132,1599,1447,1442,1518,1842,2847,3716,3419,3121,2714,2132,1764,1681,2987,3886,3773,3603,3985,3647,2451,2164,2410,2585,2433,2196,2450,2545,2029,1500,1797,2137,1999,2624,2934,2326,2190,1874,2353,1980,1598,2020,2046,1946,1929,1930,1785,1778,2338,2541,1787,1961,2562,2358,2004,2354,2925,3242,3178,2822,2609,2731,3438,3816,2258,2061,2212,2130,2682,2954,2624,2932,3124,2762,2331,2274,2677,2781,2817,2268,2193,2000,1935,2038,2010,1894,1935,2131,2144,1910,1848,1807,1913,1924,2307,2674,2497,2282,2069,2120,2116,1709,1592,2442,2940,2731,2719,2710,2523,3096,3463,3663,3464,3372,3277,3427,3662,3426,2978,2522,1963,2008,2431,2607,2317,2596,3043,3365,3275,3178,2930,2796,2986,3016,2908,2281,1725,2126,2278,2206,2718,2596,2354,2754,3060,3571,3436,3042,3129,2972,2924,2898,3093,3572,3122,3152,3554,3632,3655,3234,2783,2547,2502,2654,3030,2814,3197,3816,3695,3740,3728,3245,2679,2487,2502,2654,2619,3364,3754,3666,3606,3403,3532,3553,3413,3352,3385,3301,3213,2924,2668,2566,2561,2681,3144,3193,2629,2009,2086,2122,2106,2303,2060,2009,2821,3448,3175,2568,2187,2645,2692,3108,3327,3331,3465,3574,2998,2398,2123,1993,2229,2510,1605,1482,1556,1597,2001,2436,2364,2164,2001,1614,1793,2408,2532,2055,1440,1680,2046,2133,2286,2480,2644,2180,1698,1688,1889,1896,1950,2186,2237,1881,1978,2696,2943,2439,1715,1637,1951,2044,2076,2194,1920,1771,2068,2416,2332,2355,2159,1825,2168,2846,3273,3174,2922,2856,2294,1938,1686,1623,1542,1543,1780,1931,2271,2459,2231,2215,2547,1902,1671,1832,1743,2108,1921,1542,1653,1834,1726,1709,1727,1829,2018,2425,2257,2200,2478,2558,2229,2172,2266,2155,1878,1836,1926,2085,2037,1772,1733,1729,1897,1938,2017,2349,2537,2719,2985,3040,3096,2996,2843,2736,2486,2306,2229,2620,3264,2908,2087,2439,3037,3260,3052,2779,2915,3282,3085,3132,3664,4300,4527,4668,4680,4458,4127,3730,3400,3248,3243,3281,3332,3835,3785,3449,3440,3517,3233,3096,3274,2824,2376,1994,1777,1747,1926,2031,1999,1642,1575,1605,1583,1771,1910,1734,1936,2211,2210,2540,2325,2493,2502,2742,3087,2714,2204,1808,1691,2254,2934,2328,2220,2686,2342,1845,1614,1592,1761,1699,1707,2044,2341,2521,1836,1927,2052,2185,1932,2261,2186,1910,1802,2026,1918,1608,1500,1567,1743,1905,1950,1874,1816,1825,2016,1920,1876,2134,1964,1643,1533,1504,1341,1291,1398,1650,1632,2073,1739,1340,1373,1490,1503,1325,1318,1354,1520,1493,1749,1868,1873,1746,1436,1294,1464,1604,1576,1727,1935,2181,2141,2027,1893,1641,1885,1850,1744,2353,2976,2839,2842,2901,2066,1516,1391,2114,2398,2297,2546,2631,3341,3506,3366,3154,2779,2845,2956,3030,3658,3670,2624,1860,2640,3504,3421,3295,3049,3312,4213,4461,4600,4688,4541,4284,4199,3883,3220,2362,1897,1666,1581,1513,1563,1531,1496,1631,1637,1622,1924,2345,2979,2727,2041,1649,1864,1780,1517,1395,1260,1682,2770,2610,1869,2828,3218,2780,1894,1700,2037,2144,2166,1998,1850,2026,1836,1683,1561,1444,1312,1626,1570,1463,1580,1650,1938,2280,1797,1567,1828,2396,2061,1632,1704,1804,1672,1772,1804,1585,1568,1700,1954,1769,1694,1600,1489,1456,1460,2050,2979,2957,2550,2814,2258,1537,1622,1660,1766,1972,2232,2114,2895,3278,3167,2372,1853,1808,2094,2792,2931,2424,2083,2559,2445,2008,2257,3146,2993,3097,3037,2769,2756,2684,2577,2803,3182,3500,3142,3322,3419,3897,4552,4680,4079,4015,4480,4448,4282,4107,3679,3385,3419,2901,2519,2662,3284,3803,4396,4220,2874,2029,1826,2302,3312,3083,3271,3190,2496,2282,2391,2360,2208,1861,1939,1862,1780,1959,2378,2230,2029,1931,1713,1820,2818,2978,2237,1985,2287,2720,3010,2641,1953,1954,1549,1464,1981,1822,1548,1572,1882,2417,1936,2525,3825,3349,2434,1863,1865,1932,2122,2257,2254,2553,2655,2403,1959,2056,2496,2475,2490,2233,2255,2890,3464,3313,2696,2398,2627,3008,3062,2732,2060,2010,2777,3485,3315,2652,2426,2338,2542,2425,2355,2350,2798,3624,3645,3531,3371,3450,4090,4168,3916,2922,2310,2630,3173,3559,3650,3379,2664,2303,2225,2264,3038,2956,2812,3232,3118,2778,2426,2098,2275,3005,3017,2409,2702,2501,2149,2272,2879,3801,3715,3526,3549,3675,3868,3715,3669,3676,3413,3394,3341,3350,3576,3532,3256,3298,3897,4396,4664,4400,3548,2712,2297,2385,2584,2392,2690,3094,3385,3548,3006,2789,2880,2627,2382,2589,2662,2361,2287,2450,2620,2580,2929,3610,3930,3740,3417,3293,3014,3138,3940,4458,4700,4820,4704,4092,2968,2634,3166,3274,2767,2566,2840,2500,3029,3516,3253,3120,2707,2814,2766,2845,2823,2610,2679,2674,2636,2692,2396,2781,3116,3173,3437,3455,2946,2499,2611,2426,2619,3066,2711,2706,2798,2402,2219,2492,2839,2895,3874,3595,2646,2069,2083,2094,2094,2060,2212,2319,2334,2824,3699,3799,3928,4448,4521,4061,3050,2372,2514,3399,3680,2720,2309,2876,3300,3956,4141,3670,3254,3112,3034,2963,3156,3263,3261,3439,3401,3357,2620,2884,2885,2996,3640,4244,4100,3029,2405,2777,2861,2958,3121,2818,2223,2120,2271,2644,2621,2418,2456,2521,2502,3031,3393,3243,3320,3450,3325,2783,2497,2487,2377,2023,1944,2194,1762,2171,3073,2698,2361,2289,1730,1759,1937,1730,1600,1570,2073,2106,1864,2329,1993,2822,2666,2014,1804,1902,2541,2375,1808,1678,2184,3017,2972,2298,1998,1918,1628,1531,1586,1732,1955,2414,2723,2569,2278,1717,1582,1948,2000,1704,2052,2460,2142,1635,1366,1694,1974,1786,1590,1656,2040,2094,1859,1755,1664,1519,1447,1698,1922,2023,1906,1686,2305,3178,2300,2246,1963,1856,1933,2322,3285,3485,3617,3706,3329,2154,1777,2777,3745,4086,4276,3927,3607,3536,4068,4681,5048,5285,5208,4732,4764,5060,5044,5008,4915,4872,4444,3896,3763,3808,2890,1987,1954,1802,1669,1715,1487,1298,1382,1441,1635,1592,1574,1709,1858,2204,2419,2518,2744,2416,2157,2522,2707,1762,2040,2927,3086,3155,3296,3028,2988,2967,2465,2610,2575,2611,3083,3696,3838,3473,3187,2966,3177,3248,2958,3086,3226,2855,2787,3406,3609,3174,2912,2846,2438,2059,2566,2840,2695,3011,2785,2173,2587,2407,2370,3018,2910,2430,2852,2858,2763,2846,3463,3816,4055,4216,4471,4363,4427,4327,4086,3830,3828,3885,3660,3307,3414,3676,3724,3575,3605,3858,3851,3589,3510,3328,3448,3330,3131,3218,3194,2828,2269,2585,3028,3694,4085,3716,3505,3385,3186,3090,3188,3356,3474,3711,4085,4068,3906,3941,4144,3599,1649,771,708,633,579,559,543,535,527,524,520,521,541,574,608,643,618,590,593,642,650,591,601,613,630,612,612,662,708,603,516,488,551,636,541,460,487,491,442,420,414,397,387,379,377,373,358,322,300,309,314,313,303,304,307,305,294,294,290,287,292,302,314,367,437,527,670,610,568,594,631,673,690,757,787,980,1213,1118,1262,1588,1708,1945,1625,1610,1586,1619,1643,1563,1464,1355,1360,1360,1225,1306,1364,1339,1289,1290,1302,1287,1327,1288,1217,1136,1038,976,924,890,868,857,841,822,795,797,780,772,746,753,752,720,712,708,716,726,711,702,741,794,828,840,846,855,842,809,827,806,795,784,775,753,731,721,712,692,682,664,648,637,628,630,652,667,647,616,615,628,653,694,708,684,646,586,541,510,492,465,446,428,420,414,408,414,431,443,468,500,522,604,709,1020,1604,2109,2426,2462,2451,2721,3531,4024,3875,3659,3296,3636,3232,3067,3774,3354,3472,3729,3341,3361,3381,2974,3270,3228,3087,3626,3174,3108,4039,4353,4460,3848,1981,719,730,641,826,1755,3053,3543,4100,3316,2303,2319,1882,1230,1022,1019,1160,1088,895,719,623,552,504,476,454,427,413,419,421,400,383,376,368,365,362,360,353,343,343,339,332,331,334,332,334,339,352,367,370,358,346,341,342,338,334,336,335,334,336,334,334,335,343,337,325,312,306,310,319,331,342,345,338,334,331,326,314,310,306,296,291,286,277,268,271,289,305,308,306,310,315,317,318,324,333,336,336,353,393,404,365,401,391,402,419,439,426,419,451,445,432,460,484,507,502,477,491,493,528,491,565,586,643,584,451,486,471,505,493,494,515,529,504,480,465,456,481,480,431,397,356,350,342,332,318,311,306,308,305,302,300,298,302,302,300,289,278,269,265,265,261,261,257,258,259,260,258,259,259,258,256,253,257,257,258,260,260,260,262,263,260,254,255,254,255,257,255,259],[3137,2871,2883,2930,2727,2745,2643,2657,2879,2633,3211,2994,2655,2818,3378,3335,2728,2568,2462,1997,2122,2492,2752,2411,2217,2338,1957,1597,1995,2298,1932,2001,2468,2647,2301,1884,2181,2003,1897,2470,2814,2452,2518,2518,2344,2563,2861,3341,3310,2976,3674,3912,3527,3120,3439,3767,3363,3060,2625,2351,2855,3110,3161,2908,2954,2917,2668,2607,2227,2336,2583,1748,1364,1849,2102,2148,2596,2899,2443,2358,2356,2663,2647,3084,3433,2821,2556,2382,2307,2689,2338,2834,3006,2665,2160,1895,2390,2625,2121,2045,2427,2150,1759,1971,2197,2747,2577,2598,2612,2722,2978,3073,3463,3706,3249,2386,2191,2220,2020,2479,2065,1621,1798,2270,2625,2714,2568,2303,2432,2647,2504,1932,1522,1708,1851,2365,2841,3531,3250,2373,2382,2383,1803,1510,1611,1826,1853,2790,3759,3194,2723,2272,1913,1948,1923,2509,3740,3955,3797,4284,3893,2612,2109,2245,2466,2368,2161,2410,2475,2140,1755,2384,2525,2577,2763,2679,1720,1718,2290,2420,2107,1855,1817,1954,1949,1744,1903,2099,1789,1969,2160,1652,1894,2370,2074,1572,1730,2005,2075,2477,2409,2197,2308,2420,2342,2192,2294,2520,2198,2300,2389,2247,2221,2545,2924,2686,2427,2501,2730,2833,2433,2209,2665,2740,2462,2374,2199,2284,2615,2365,1643,1561,1545,1869,1775,2360,2867,2449,1815,1799,2150,2364,2113,1991,2811,2975,2866,2499,2448,2469,3193,3638,3760,3494,3033,3171,3594,3484,3262,2723,2462,2376,2243,2467,3056,2888,2879,3309,3179,3007,3000,2899,3031,3129,2586,2022,1978,2253,2177,2233,2036,2353,2568,2824,3231,3657,3516,2723,2890,2718,2698,3051,3204,3312,3620,3399,3169,2994,2685,2700,2791,3255,3556,2899,2588,2483,2713,3277,2972,2979,3098,3034,3095,2603,2034,2198,2140,2461,2950,3272,3562,3647,3447,3312,3220,3098,3121,3224,3041,3020,2757,2746,2424,2481,2643,3022,2538,1887,2128,2407,2150,2442,3011,3011,2342,2489,3220,3219,2326,1917,2262,2321,2394,2986,3185,2807,2871,2706,2442,1803,1950,2467,2142,1710,1778,1799,1917,1988,2134,1784,2209,2093,1848,1791,1891,2460,2182,1464,1511,2253,2709,2343,2133,2217,1792,2016,1864,1848,2088,2359,2503,2071,2053,2222,2789,3265,2658,1689,1863,2368,2439,2307,1808,1518,1746,2210,2710,2741,2450,2226,2065,1943,2630,2226,1963,2505,2898,2414,1924,1757,1936,1889,2116,2224,2026,2321,2303,1887,2446,2453,1776,1698,1782,1714,1655,1655,1733,2019,1875,1516,1950,2025,2151,2386,2720,2363,2280,2268,2014,1877,1877,2019,2192,2462,2447,2610,3156,2646,1939,1864,2096,2286,2451,2681,2754,2518,2620,2913,2604,2250,2088,2031,2047,2156,2277,2213,2414,3221,3342,2930,2972,3249,3581,3406,3189,3109,3557,3337,3418,4101,4483,4439,4421,4109,3621,3107,2951,2866,3095,3375,3658,3688,3853,3698,3549,3617,3665,3558,3220,3051,2647,2476,2094,1676,1763,1834,1699,1873,1836,1782,2053,1794,1930,2054,1861,2228,2392,2527,2518,2335,2503,2441,2597,2733,2270,1871,1617,1654,2645,3538,2490,2555,2675,2089,2131,2132,1786,1830,1804,1770,1788,1654,1946,1930,1772,1909,2058,1975,1692,1796,1755,1630,1824,2048,1728,1556,1494,1564,1852,2092,2334,2127,2033,1887,1964,1954,1652,1932,2311,2147,1838,1682,1721,1831,1946,1810,2152,1839,1276,1336,1629,1608,1381,1343,1323,1369,1341,1480,1495,1400,1513,1396,1252,1694,2042,2056,1950,2270,2284,2072,2084,1874,1826,1994,1941,2129,2417,2509,2544,2865,2492,1396,1643,1917,2507,2726,2917,3450,3547,3517,3607,3649,3283,2999,2845,2484,3018,3374,3276,2532,1810,2585,3145,2834,2911,2691,2975,4027,4157,4140,4082,4200,4035,3527,2556,1908,1697,1709,1735,1600,1567,1772,2641,3009,2643,1955,1914,1640,1527,1653,2262,2589,2339,1836,1900,2120,2343,2700,2784,2662,2508,1870,2712,3111,2351,1842,1931,1982,1676,1789,1842,1600,1582,1587,1637,1522,1385,1743,1883,1440,1556,1728,1648,1889,2094,2028,1804,1816,2262,1805,1507,1705,1861,1837,1700,1515,1565,1724,2017,2200,2250,2362,2548,2228,1710,1490,2623,3765,3449,2630,2397,2247,1664,1576,1567,1798,2250,2822,2208,2269,2963,3122,2410,1822,1618,2357,3256,2481,2307,1996,2200,2311,2117,2798,3422,3414,3215,2933,2652,2820,3063,3020,3173,3234,3127,3060,3106,3114,3593,4305,4389,3647,3632,4140,4440,4476,4249,3863,3781,3782,2936,2224,2143,2590,3220,3892,3880,2846,2079,1968,2381,3240,2977,2972,2852,3033,3028,2518,2522,2284,1847,1919,1680,2064,2337,2597,2493,2248,1960,1596,1840,2705,3031,2703,2223,2002,2323,2391,2127,1726,1497,1694,2033,2286,1919,1586,1614,1856,2081,1722,1980,2988,3571,2734,1912,1636,2044,2198,2127,1936,1945,2004,1823,1945,2078,2341,2136,2155,2229,2402,2328,2215,2894,3258,3084,3152,3235,3055,2356,1689,1754,2507,3132,3133,2455,2260,2499,2776,2814,2242,2199,2724,3461,3721,3416,2965,2767,3369,3863,3777,3031,2510,2954,3441,3374,3463,3596,3245,2746,2618,2644,3348,3023,2472,3075,2822,2341,2757,2556,2288,2667,2457,2807,2802,2470,2168,2116,2525,3204,3526,3784,3798,3942,4033,3985,3637,3648,3457,3445,3306,3351,3499,3573,3332,3040,3560,4100,4717,4149,2973,2292,2712,3085,2944,2613,2641,2935,3271,3292,3343,3184,2704,2721,2485,2634,2439,2265,2751,2791,2685,3154,3395,3402,3571,3779,3427,3154,2906,3052,3937,4244,4660,4896,4428,3706,3142,2720,2585,2942,2633,2402,2744,2455,2822,2820,2425,2438,2708,3124,3104,2602,2381,2749,2852,2357,2063,2097,2257,2907,3277,3251,3315,3361,2683,2224,2662,2686,2813,3510,3204,3212,2773,2470,3082,2966,2303,2775,3340,3297,2949,1953,1691,2105,1859,1626,1721,2008,1939,2051,2466,2504,3205,4201,4554,4003,2798,2649,2721,3406,3706,3379,3177,3110,2966,3638,3950,3394,3140,3046,3007,3008,3298,3087,3499,3749,3459,3120,3034,3288,3536,3637,4016,4276,4048,3307,2746,3109,2993,2556,2611,2441,2243,2333,2391,2388,2519,2809,2745,2565,2341,2940,3202,3320,3485,3527,3337,3046,2578,2461,2510,1952,1716,2108,1833,2678,3341,2890,2469,2227,2266,2215,2094,2061,1909,1883,2303,2059,2106,2220,1919,2558,2197,1601,1663,2108,2202,1654,1529,1536,1763,2495,2569,2056,1686,1849,1979,1735,1732,1665,1637,2286,2523,2196,1861,1487,1388,1582,1559,1710,2381,2498,2279,1946,1573,1678,1997,1741,1624,1852,2492,2849,2602,2187,1693,1461,1346,1256,1515,1681,1574,1487,1616,1826,2305,2358,2218,2109,1851,2573,3200,3309,3797,4157,3717,2429,2779,3830,3664,3913,4164,3999,3717,3474,3933,4489,4483,4708,5297,5045,4512,4395,4731,4776,4891,4973,4631,3962,3737,3299,2055,1904,2326,1939,1949,1605,1431,1451,1665,1975,1863,1762,1593,1374,1618,2433,2537,2018,2355,2113,1791,2421,3120,2216,2373,3211,3423,3282,3251,3498,3868,3842,3250,2822,3007,3128,3164,3286,3269,2857,3220,3233,2764,3113,3104,2906,2862,2945,2956,2301,2516,2930,2989,2709,2236,2547,3157,3113,2541,2592,2409,1852,2511,2807,2439,2117,2144,2409,2204,2237,2210,2625,2906,3274,3582,3951,4624,4816,4673,4280,3871,3864,4252,4480,4221,3481,3346,3652,3615,3385,3418,3670,3617,3589,3781,3680,3478,3371,3123,3034,2830,3011,2641,2406,2356,3084,4006,3960,3808,3641,3306,3063,3015,3210,3333,3498,3864,3924,3584,3591,4122,4276,2679,1081,704,663,590,579,553,535,533,527,519,521,539,558,585,610,594,562,575,638,681,606,614,630,640,648,635,654,692,616,539,535,595,662,548,491,485,504,439,431,417,401,390,375,366,366,351,317,295,304,310,307,305,304,311,312,299,293,291,286,294,299,324,376,422,520,656,680,607,631,655,696,709,731,812,891,1300,1282,1202,1456,1555,1830,1732,1666,1634,1629,1642,1549,1466,1376,1352,1352,1230,1230,1319,1302,1239,1217,1221,1205,1229,1239,1166,1083,1000,940,888,858,838,823,803,787,773,758,745,728,709,726,710,709,695,684,693,705,694,688,709,752,784,798,807,820,825,784,804,788,775,770,767,748,700,669,667,666,670,626,621,615,609,614,626,646,633,595,581,601,630,667,685,663,630,583,541,508,483,460,450,435,422,403,394,396,413,439,472,515,527,588,667,908,1466,2076,2513,2668,2713,3039,3790,4163,4371,4016,3111,2965,3197,3263,3921,3619,3472,4123,3377,3282,3453,2887,3273,3370,3154,3086,2576,2839,3294,3659,4540,4280,2777,872,670,565,564,1398,3074,3839,4279,3708,2608,2234,1838,1188,973,932,1005,936,819,670,585,518,488,480,453,415,397,406,404,386,378,368,367,358,356,355,350,343,341,333,331,331,330,333,339,343,367,384,384,386,386,360,341,339,333,326,328,328,331,335,337,340,341,336,325,321,312,310,320,327,337,343,345,336,332,327,327,316,307,304,298,288,282,267,261,284,307,315,310,317,318,322,325,327,336,343,344,355,387,407,376,383,387,408,429,464,446,433,484,480,452,463,514,550,539,493,504,546,653,621,661,710,673,697,481,520,507,536,523,539,532,513,486,461,452,446,465,481,424,394,363,351,338,331,324,323,327,326,324,319,303,299,309,321,313,296,290,276,271,266,268,264,260,263,265,263,257,251,252,251,252,254,259,265,270,271,269,265,262,262,257,254,255,255,255,254,252,257],[3539,3287,3249,3420,2906,2934,2794,2963,3055,3083,2857,2822,2867,2957,2972,3088,2980,2919,2674,2425,2544,2645,2532,2135,2038,2392,2223,1831,2233,2564,2225,2055,2308,2762,2712,2568,2633,2287,2580,2658,2270,1906,2259,2851,2889,2800,3310,3387,3338,3202,3423,3472,3460,2937,3260,3781,3508,3185,2789,3012,3483,3384,2930,2511,2046,2446,2326,2031,1880,2402,2683,1631,1522,1572,1815,2224,2599,2845,2307,2165,2095,2285,2542,2688,2864,2570,2348,2558,2614,2486,3231,4087,3606,2742,2078,1915,2235,2208,2110,2050,2421,2279,2208,2618,2946,3244,3521,3095,2592,2530,2605,2607,3040,3187,2620,2135,1946,1918,2206,3217,2402,1661,2149,2322,2026,2271,2154,1696,1952,1882,1580,1455,1801,2069,2044,2217,2094,2350,2461,2091,1864,2049,1909,1566,1830,1996,1830,3003,3466,2931,2686,2450,2424,2851,3062,3111,3444,3803,3955,4085,3535,2497,1895,2278,2410,1983,2210,2099,1958,1953,2033,2546,2340,2435,2297,2213,2226,2508,2688,2581,2258,1959,1960,1880,1701,1455,1604,1738,1973,2295,2182,1985,2315,2427,1990,1676,1647,1998,2192,2359,2547,2509,1978,2022,1916,2049,3042,3100,2372,2158,2158,2442,2396,2626,2954,2436,2177,2171,2376,2610,2618,2887,3453,3275,2618,2214,2342,2654,2331,2084,1720,1793,2206,2584,2619,2856,2675,1956,1576,1653,1713,2126,2383,2554,3263,3371,3275,3352,3168,2805,3275,3732,3394,3074,3012,3158,3729,3706,3654,3231,2646,2143,2129,2479,3039,3225,3370,3519,2933,3023,3045,3061,2910,2797,2124,1836,1991,2381,2626,2501,2264,2370,2398,2477,3105,3264,2408,2410,2836,2707,3024,3008,2909,3253,3454,3443,3064,2742,2502,2740,2866,3226,3399,2895,2441,2015,2222,2359,2235,2164,2235,2730,2509,1957,1976,2078,2125,2591,2575,2529,2932,3670,3486,2848,2575,2710,2801,3109,3061,2942,2905,2630,2245,2306,2167,2186,2262,2208,2334,2436,2520,3077,2858,3077,2480,2614,3051,2468,1677,1759,2163,2242,2208,2622,2691,2401,2578,2645,2562,1835,1885,2526,2313,1985,1958,2138,2276,2229,2249,2008,2517,2356,2019,2084,2339,2496,2004,1713,1938,2308,2631,2685,2448,1992,1845,2196,2215,2838,2737,2800,2468,2090,2319,2286,2512,2515,2074,2041,2106,2225,1943,1816,1768,1933,2172,2307,2596,2685,1901,1413,1541,2041,2633,1822,1507,1870,2320,2466,2308,2120,2095,1951,1998,2213,2586,2922,2400,2218,2609,2467,2057,1776,1928,1951,1811,1765,1879,2215,1936,1497,1837,1776,2056,2331,2378,2199,2188,1948,1666,1752,1904,2059,2218,2515,2176,2149,2510,2501,2238,2385,2417,2364,2766,2964,2767,2376,2471,2312,2059,1907,1858,2050,2272,2123,1866,1978,2555,3174,3312,3480,3482,3515,3605,3628,3675,3610,3584,3412,3329,3762,4139,3873,3396,2901,2946,2915,3084,3426,3662,3683,3653,3619,3702,3572,3406,3407,3212,3492,3030,2269,1915,1772,2118,1939,1770,1582,1492,1750,1784,2087,2200,1588,2084,2332,2137,2164,2283,2379,2302,2518,2710,2844,2684,2249,2071,1676,1665,1995,3414,3395,2548,2310,1858,1655,2098,2251,2094,2030,1910,1673,1550,1931,2078,2054,2070,2183,2005,1887,1918,2122,2078,1870,1803,2270,2327,1950,1606,1744,1761,1982,1924,2008,2070,1957,2114,1887,1746,1997,2407,2128,1848,1835,1935,1919,1923,1887,1864,1620,1288,1403,1759,1626,1507,1497,1438,1449,1614,1635,1428,1339,1424,1386,1343,1948,2007,1904,1900,2219,1994,1957,2156,1973,1907,1989,2056,2062,2062,1979,2086,2344,2632,2181,2397,2690,3259,3569,3684,3666,3343,2972,3541,3831,3621,3312,2690,2138,2680,3053,3034,2646,1968,2404,3120,2812,2974,2909,2796,3727,3958,3904,3724,4033,3353,2181,1652,1681,2181,2840,2786,1749,1625,1893,3278,3680,3190,2502,2714,2766,2198,1615,1518,1881,2500,3090,3506,3731,3752,3760,3429,2961,2730,1997,2525,3195,2522,1953,1765,1497,1642,2138,1804,1629,1639,1893,1601,1565,1860,2434,2072,1373,1486,1478,1488,1825,1840,1694,1512,1669,2040,1826,1778,1839,1847,1728,1529,1474,1598,1671,1819,1685,1861,2091,2788,2735,1946,1641,2683,3451,3300,2829,2521,2146,2097,1924,1872,2127,2573,2668,1798,1529,2100,2385,2084,1825,1622,1920,2009,2180,2410,2264,2276,2090,2260,2938,3206,3071,2797,2852,2630,2901,3294,3226,3230,3286,3184,3116,3040,2790,2736,3560,4018,3558,3504,4036,4271,4408,4167,4063,4116,3942,2843,2149,2084,1868,2266,3370,3718,2723,2172,2137,2332,2074,1473,1377,1457,2041,2215,1856,2214,2029,1892,2004,2074,3108,2767,2273,2679,2305,1642,1544,2095,2879,3023,2721,2503,1992,2198,2864,3331,2676,1874,1787,2420,2438,1735,1759,2000,1837,2027,2042,2855,3440,3530,2643,2235,2167,2703,3078,2251,1654,1552,1648,1998,2599,2172,2452,2102,2469,2722,2435,2115,2225,2569,3012,2890,2600,2517,2353,2144,1918,1923,2030,2319,2352,1923,1938,2077,2565,2753,2218,2200,2808,3088,3295,2855,2731,2403,2739,3354,3493,3137,2423,2646,2821,3042,3528,3460,3483,2868,2525,2458,2851,2692,2446,2427,2002,1871,2181,2076,2513,2644,2322,2648,2686,2319,2078,2025,2322,2802,3364,3867,3901,3978,4082,4070,3789,3841,3665,3350,3166,3221,3311,3613,3659,3230,3327,3792,4251,3547,2539,2236,2941,3196,3111,2946,2427,2714,3250,3518,3631,3629,3082,2890,2580,2422,3031,3251,3045,2810,2614,3322,3940,3474,3266,3680,3603,3176,2973,3001,3385,3948,4321,3938,3403,3085,3119,3106,2675,2919,2896,3182,2958,2864,2852,2480,2510,2902,3074,3205,3095,2698,2841,3035,3050,2596,2335,2566,2806,3076,3204,3029,3043,3165,3139,2980,3000,3093,2707,2868,3021,3598,3008,2278,3153,3929,3430,2808,2387,2451,2060,2205,1807,1594,1601,1588,1809,2056,2383,2655,2083,1974,3162,3705,3752,2778,2622,3475,3397,3375,4079,3978,3492,2846,2677,3484,3620,3196,3158,3110,3001,3086,3308,3308,3798,3902,3558,3096,3015,3516,3615,3029,3310,3957,4042,3204,2578,2893,2949,2373,2128,2257,2316,2356,2397,2612,3190,3374,2954,2653,2556,3243,3588,3060,2727,2711,2301,2210,2116,2180,2085,1794,1309,1502,1592,2128,2658,2535,2435,2692,2465,2086,1837,1612,1878,2048,1908,1941,2220,2125,1747,1597,1424,1329,1410,1747,1723,1470,1476,1526,1848,2299,2431,2298,1835,1982,2313,1968,1860,1798,1537,2001,2369,1904,1648,1991,1649,1671,2106,2574,2751,2376,1981,2084,1668,1556,1671,1863,2048,1754,1922,2787,3045,2670,2197,1588,1310,1470,1561,1562,1882,1585,1421,1585,2167,2073,1890,2380,2755,2830,2678,2984,3876,4016,4232,3594,3679,4127,3822,3471,3780,4248,4252,4046,4240,4164,4012,4015,4588,4512,4373,3854,4024,4265,4419,4580,4255,3749,3780,3288,2464,2766,3120,3067,2662,1758,1470,1575,1596,1664,1914,1993,1567,1446,1564,2142,1870,1534,1787,1757,1731,2460,2736,2106,2369,3498,3762,3597,3635,3531,3521,3466,3530,3646,3780,3648,3292,3525,3881,3710,3826,3573,2779,2740,2714,2958,2602,2541,2395,1810,1799,2192,2952,2633,2329,2687,2577,2542,2446,2776,2497,2483,2955,2914,2613,2332,2306,2357,2437,2438,2234,2490,2488,3078,3624,4308,4788,4744,4412,4020,3395,3394,4206,4492,4384,3676,3559,4082,3884,3554,3510,3538,3452,3624,3710,3492,3519,3545,2826,2702,2895,3393,2408,2380,2956,3711,4277,4288,4229,3892,3483,3120,2946,3086,3301,3252,3415,3746,3661,3533,3685,4151,3682,1939,758,706,628,605,574,552,537,530,524,523,530,544,559,568,568,584,604,626,673,650,640,632,633,666,668,649,662,611,553,642,709,689,541,509,493,497,448,425,411,383,370,366,362,357,352,316,291,295,308,307,306,306,312,312,302,293,295,289,287,301,336,394,431,538,655,715,677,662,678,687,733,702,828,814,1276,1542,1309,1372,1476,1666,1762,1710,1628,1618,1692,1622,1517,1378,1336,1305,1210,1143,1211,1242,1180,1146,1147,1137,1145,1154,1118,1044,962,901,853,830,820,794,759,735,724,717,707,700,666,698,677,679,667,655,662,669,670,672,691,719,742,750,765,787,804,761,777,773,757,755,756,737,699,681,661,631,651,609,597,588,587,596,613,634,624,593,581,587,600,633,658,642,611,575,540,506,475,457,457,445,425,401,391,387,409,439,476,515,555,595,635,803,1318,1989,2434,2775,3098,3702,4376,4198,4344,3592,2944,3624,3485,3154,3736,3818,4251,4667,3052,3035,3209,3442,3839,3460,3020,3001,3009,3212,3163,3461,4804,4427,3263,1056,570,571,505,999,2763,4027,4320,3807,2685,2232,1936,1207,953,879,938,876,773,649,553,495,464,455,443,413,402,396,383,374,367,359,354,349,350,349,346,342,337,337,332,325,332,332,337,346,367,390,406,415,395,359,336,332,329,327,329,328,328,331,325,347,349,324,326,321,316,313,317,329,338,345,344,343,341,336,330,321,314,303,298,286,281,268,262,277,305,315,316,321,330,327,321,325,337,350,356,365,383,394,385,377,388,412,439,478,475,445,517,513,482,474,536,602,592,516,497,528,625,629,653,774,665,739,529,536,576,592,560,573,569,527,497,472,452,440,435,469,430,399,364,352,348,334,330,332,341,345,344,334,314,297,311,332,325,308,295,285,274,271,270,265,265,259,257,260,260,258,261,263,264,266,266,269,267,268,270,267,262,261,254,254,254,252,255,254,252,255],[3655,3398,3686,4100,3719,3493,3423,3370,3362,3138,2822,2689,2788,2724,2622,3087,2957,3145,3182,2934,2840,2822,2862,2470,2048,2138,2218,1996,2255,2185,1969,1860,2165,2711,3054,3110,2623,2429,2667,2412,1804,1882,2698,3055,2709,2224,2447,2341,2930,3248,3378,3719,3774,3439,3584,3544,3361,3041,3310,3407,4017,3629,2757,2192,1619,1750,2360,2472,2082,1689,1858,1644,1708,1699,1785,2073,2782,2521,2129,2242,2195,2409,2248,2520,2457,2285,2546,2851,2662,2641,3652,3610,2558,2322,2128,2029,2419,2462,2258,2040,1922,2145,2558,3032,2866,3078,3758,3959,2974,1802,2106,2509,3025,3264,3021,2622,2380,2542,2994,2910,2194,1935,2200,2597,2406,2248,2046,1492,1735,1591,1765,2161,2779,2570,2288,2204,1621,1622,1698,1773,1549,1798,1839,1807,1827,1793,1498,1939,2524,2646,2775,3474,3648,3694,3626,3487,3254,3332,3904,4074,3429,2587,2046,2342,2238,1765,1748,1716,1658,1628,1778,1641,1635,1884,2060,2092,2283,2321,2061,1961,1508,1587,1756,1774,1637,1566,1455,1459,1534,1734,1963,2164,2761,2866,2125,1659,1430,1783,2285,2309,2815,3039,2693,2252,1886,2565,4012,3849,2830,2413,2108,2173,2814,2791,2556,2622,2280,2027,2266,2355,2417,3083,3295,3073,2626,2303,2602,2719,2873,2318,1662,1973,2836,3357,3365,2929,2199,1709,1656,1858,2236,2035,2477,2656,3017,3204,3454,3684,3156,2481,2871,3291,3240,2860,2889,3021,3596,3804,3649,3730,3000,2624,2967,2777,3095,3530,3828,3760,3092,2929,3118,2994,2320,2286,2177,2014,2036,2075,2337,2674,2394,2113,2167,2114,2702,2673,2641,3077,3079,2973,2563,1919,2298,3274,3442,3262,3100,2886,2820,3105,2276,2235,2398,2258,2013,1643,1491,1720,2244,2206,2259,2805,2565,2022,1933,1767,1918,2284,2575,2298,2702,3392,2373,1598,1865,2691,2967,2651,2642,2806,2932,2610,2534,2312,1898,2486,2974,2428,2101,2337,2546,2002,1867,2070,2293,2499,2260,1822,1642,1947,2045,2259,2288,2310,2394,2546,2540,2114,2104,2140,2665,3104,2633,2209,2210,2564,2754,2634,2332,2045,2449,2399,2196,2143,2446,2524,1869,1726,1759,2133,2266,2388,2370,1856,1673,1907,2407,2669,2438,2405,2169,2029,2382,2558,2064,2050,2046,2212,2083,1895,1822,2088,2150,1901,1693,1804,2340,2501,2055,1472,1736,2537,2366,1719,1566,1771,2226,2524,2106,1758,1785,1756,1742,2064,2619,2755,2504,2654,2686,2881,2530,1707,1762,1895,1775,1822,1733,1835,2072,1609,1504,1694,1996,2410,2500,2162,2216,2414,2310,2458,2464,2374,2324,2270,2416,2604,2721,2721,2637,2594,2657,2635,2791,2742,2328,2047,2106,1901,1827,1930,1981,2313,2789,2532,2435,2773,3231,3352,3359,3708,3632,3514,3681,3831,3696,3436,3284,3378,3426,3378,3344,2917,2640,3038,3212,3156,3286,3514,3467,3410,3707,3562,3418,3326,2909,2768,2877,3175,2283,1605,1581,2227,2239,1792,1722,1766,1652,1694,1613,2248,2204,1724,1811,2174,1955,1778,1867,1982,2270,2451,2821,3200,2491,2612,2621,1807,1815,2561,3271,3446,3521,2643,1802,1722,2230,1920,1968,2643,2549,2230,2043,1952,1976,1844,1960,1845,1572,1741,2186,2214,1809,1788,2279,2392,2104,1635,2057,2335,1993,1935,1859,2042,1985,2224,1895,1696,1771,1643,1919,1923,1627,1577,1583,1627,1685,1657,1693,1542,1415,1325,1496,1563,1766,1593,1310,1417,1674,1672,1595,1662,1670,1637,1669,1981,1745,1728,1826,1902,1818,2128,2236,2033,2071,1917,2033,2254,2288,2203,2509,2530,2699,2836,2944,3375,3677,3718,3514,3111,2692,2635,3653,3750,3650,3315,2711,2474,2839,3166,3056,2843,2231,2129,3056,2794,2931,2867,2630,3706,4106,4186,3828,2828,1828,1558,1731,2288,3687,3853,3000,1736,1397,1387,1635,1731,1669,1613,2027,2456,2452,2221,1595,1596,1723,2525,3570,3848,3884,3919,3671,3248,2947,2207,2372,3225,2959,2379,1731,1658,2952,2897,1873,1766,2137,2205,1454,1059,1623,2116,1673,1486,1569,1651,1510,1473,1720,1744,1636,1595,1625,1700,1895,2143,1973,1580,1492,1662,1527,1563,1928,1676,1546,1758,2401,2691,2073,1659,2214,2626,2610,2117,2172,2504,2852,2700,2601,2276,2534,2361,1717,1797,2077,2185,2456,2219,1997,1981,1866,2417,2277,2344,2276,2100,2644,2795,2353,2765,2753,2625,2756,2984,3154,3143,2917,3038,3143,2945,2853,2730,2699,2785,2679,2647,3017,3681,3873,3949,3898,3992,4168,4036,3397,2732,2320,1995,2324,3347,2979,2372,2485,2195,2272,2496,2307,1611,1106,1482,1891,2029,2095,1914,2051,2314,2475,3206,3066,2714,2620,2120,1489,1470,1843,2722,2900,2802,2632,2056,2348,3333,3893,3571,2658,2000,2216,2405,2488,2525,2239,2007,2389,3019,3499,3569,3300,2609,2345,2403,2564,2518,2219,2476,2366,2327,2519,2824,2402,2285,1981,2239,2659,2622,2590,2632,2099,2235,2248,2242,2504,2476,2543,2314,2264,2313,2005,1841,2197,2386,1851,1952,2019,2252,2781,3145,2916,2791,2717,2586,2415,2477,2762,3098,2634,2314,3053,2601,2533,3176,3129,3273,3099,2413,2337,2380,2090,2001,2337,2410,1959,1690,1672,2350,2609,2300,2602,3069,2863,2308,2038,2173,2702,3416,3648,3679,3747,3880,3927,4068,4112,3639,3283,3178,3139,3084,3625,3452,3149,3405,3609,3312,2749,2133,1919,2366,2843,3144,3146,2735,2626,2798,3007,3573,3385,2998,3283,3454,2884,2944,3034,2439,2490,2625,2732,3762,3528,3109,3120,3197,3230,3389,3272,3007,3154,3330,3177,2871,2350,2621,3006,2923,3105,3291,3476,2944,2618,2596,2522,2932,3497,3447,3237,2957,2767,2819,3140,3375,3173,3059,3012,2706,2640,2898,2802,2730,2713,3016,3299,3489,3243,2932,3111,3487,3771,3154,2670,3332,4080,3823,3297,2991,2873,2391,2335,2109,1855,1660,1664,1786,1938,3087,4192,3805,3087,2523,2393,2475,2312,2852,3754,4108,4083,4006,3440,2746,2546,3186,3366,3248,3215,2996,2657,2834,3244,3051,3517,3817,3628,3609,2896,2680,3017,2886,2657,3294,3903,4121,3229,2538,2807,2901,2431,2242,2164,2336,2389,2799,2909,3233,3156,2689,2497,2727,3208,3472,2698,2004,2050,1894,2258,2136,1901,1856,2246,1981,1857,1995,2159,2229,2080,2136,1936,1600,1975,2526,2156,2454,1918,1554,1609,1960,2237,1875,1432,1430,1471,1597,1814,1711,1576,1407,1411,1533,1842,2046,2397,2330,1945,2044,1967,1970,1742,1519,2453,2895,2244,1738,2141,2008,2181,2967,2931,2630,2524,2730,2737,1779,1534,1466,1652,1800,1825,2298,2752,2867,3016,2719,1924,1427,1602,1564,2097,2372,1874,1525,1826,2201,1814,1490,1833,2084,2142,1826,2395,3364,3500,3849,3738,3915,4232,4140,3824,3615,3942,4084,3923,4164,3890,3883,3548,3658,3786,4096,3748,3591,3748,3916,4095,4092,3808,3884,3134,2833,3166,3531,3327,2472,1832,1628,1540,1470,1577,1866,2121,1714,1610,1593,1571,1442,1623,1668,1598,1855,2092,1969,1886,2722,3835,3798,3638,3883,3776,3673,3439,3591,3808,3697,3532,3570,4036,4244,4156,3749,3275,2730,2813,2967,2721,2252,2642,2647,2676,2751,2840,3052,2595,2584,2466,2605,2654,2619,2437,2420,3264,3522,3234,3098,2729,2455,2267,2225,1566,1411,1936,2790,3088,2894,3366,4000,3714,3012,3084,3029,3541,3890,4184,4063,3785,3453,3242,3826,4173,3749,3636,3539,3496,3060,2701,2814,2847,2495,2485,2669,2784,2541,3243,3548,3606,4180,4276,4240,3918,3521,3212,3152,3133,3329,3486,3371,3369,3413,3483,3662,3727,3995,2977,1136,724,676,635,597,572,551,540,535,531,528,533,546,549,559,567,587,622,662,654,613,618,641,670,688,647,634,612,560,684,767,699,568,512,489,482,458,426,403,386,371,361,354,347,345,319,295,289,299,304,304,310,311,311,306,302,300,305,302,318,343,408,451,542,640,709,725,660,700,667,723,708,807,767,977,1344,1340,1390,1515,1572,1742,1793,1627,1615,1699,1621,1493,1351,1283,1241,1173,1084,1104,1182,1132,1084,1084,1076,1072,1065,1051,1000,933,877,840,812,798,774,726,690,682,680,669,669,643,648,644,642,637,631,631,632,642,653,667,684,703,716,732,756,773,751,747,744,735,734,738,734,723,696,643,620,617,597,584,569,572,591,609,618,615,594,590,585,587,615,646,639,606,571,534,500,468,453,456,446,427,411,402,397,415,446,480,512,560,601,630,735,1128,1772,2253,2792,3450,4172,4617,4247,4207,3620,3823,4107,2975,3086,3418,3350,4188,4830,3858,3464,3541,4152,3742,2708,2619,3261,3141,3312,3261,3396,4029,3863,3807,1919,662,587,524,776,2458,4328,4604,4020,2937,2212,2035,1305,944,854,874,846,742,626,533,481,440,430,419,411,404,389,371,363,361,357,349,341,341,340,339,338,338,330,328,323,331,339,339,348,367,382,391,388,375,354,341,334,323,324,321,325,330,328,320,340,366,334,343,335,325,317,318,326,339,349,348,344,344,344,337,329,315,312,303,288,283,273,259,274,296,309,320,329,330,329,329,330,337,348,361,368,377,386,390,380,392,414,441,477,506,445,503,546,518,502,547,634,637,551,515,523,588,636,633,700,624,711,589,547,590,600,565,568,595,557,522,478,452,438,425,448,429,406,370,352,349,343,339,338,351,360,360,354,330,307,320,338,334,312,298,284,273,269,264,269,267,265,263,264,263,265,265,263,266,272,271,268,277,273,267,267,262,261,256,254,253,253,253,251,251,253],[2542,2456,3385,3908,3496,3596,3812,3873,4006,3843,3297,3220,3298,3243,3249,3295,3400,3132,2995,2878,2592,2702,2656,2148,2181,1845,1439,1591,1937,1704,1771,1771,2046,2380,2566,2747,2658,2653,2797,2790,1864,2653,3061,2506,2318,2285,2216,2190,2331,2976,3484,3438,3636,3573,3708,3328,2776,3219,3924,3421,3354,3117,2094,1606,1569,1863,2310,2700,2314,1679,1486,2048,1930,1830,1994,2313,2469,1997,2352,3032,2706,2504,2424,2706,2554,2311,3241,3658,2902,2457,2911,2564,1898,2151,2387,2685,3105,2840,2593,2365,2000,2502,2990,2797,2314,2339,3054,3987,3373,2588,3064,3265,3415,2967,2535,2674,2994,2924,2779,2431,1983,2294,2276,2236,2335,2245,2151,1656,1993,2499,2742,3016,2995,2475,2431,2392,1764,1550,1466,1470,1519,1600,1714,1749,1565,1670,1746,1781,2081,2086,2151,2660,3400,3632,3616,3704,3885,3693,3581,3426,2844,2313,2108,2085,2084,1704,1520,1502,1433,1577,1714,1745,1735,1698,1736,1841,2003,1829,1556,1553,1638,1806,1769,1759,1742,1802,1736,1649,1413,1542,1735,1997,2762,3177,2764,1931,1562,2106,2172,2477,2840,3035,2810,2251,1834,2278,3706,3442,2272,2055,2170,3068,3483,2798,2602,2735,2325,2181,2439,2334,2161,2622,2684,2522,2479,2192,2164,2164,2835,2856,2148,2159,3329,3772,3184,2453,2106,1848,1672,1932,2020,1680,2542,2625,2201,2540,2978,3135,2640,2523,2697,2914,3252,2897,2855,3059,3415,3637,3684,3639,3199,2776,2927,3153,3629,3750,3705,3675,3319,3219,3254,2554,1957,2180,2424,2525,2553,2203,2430,2740,2635,2179,2242,2300,2556,2799,2974,2985,3020,2876,2026,1664,2626,3397,3186,3364,3790,3386,2718,2306,1966,1955,1902,1906,2082,2132,2532,2988,2802,2222,2354,2284,2064,1849,1671,1869,2432,2705,3016,2955,3178,2758,1836,1784,2102,2838,2939,2790,2502,2584,2750,2733,2416,2335,2394,3034,3174,2265,1968,2185,2151,2031,1882,1850,2198,2012,1770,1982,1944,2266,2262,2069,2020,2545,2665,2351,2170,1972,2142,2702,3160,2619,2467,2398,2226,2474,2897,2429,1958,1812,1874,1976,2071,2114,2481,2750,2038,1859,2041,2271,2150,2109,2147,1498,1147,1563,2376,2872,2685,2115,2018,2260,2445,2272,1953,2293,2356,2042,2216,2226,1948,2389,2404,2022,1842,2010,2316,2457,1964,1199,1457,2195,2037,1781,1860,1823,2453,2931,2564,1769,1443,1602,1555,1901,2500,2435,2453,2937,3274,3267,3032,2206,1836,1781,1826,1936,1651,1759,1874,1626,1511,1936,2800,3362,3115,2440,2185,2432,2290,2775,2392,2210,2501,2665,2902,3035,2929,2877,2890,2610,2750,2752,3034,3213,2931,2629,2429,2354,2364,2472,2386,2415,3011,2977,3120,3540,3437,3400,3366,3505,3627,3601,3593,3567,3261,2849,2723,2973,3000,2727,2733,2901,3338,3815,3554,3221,3264,3334,2930,2787,3142,3053,3228,3182,2706,2853,2468,1951,1686,1568,2282,2608,1749,1697,1942,2138,1772,1686,1613,2482,2529,1897,1571,1791,1774,1675,1770,1842,1925,2544,3407,2916,2387,2727,2813,2525,2501,3139,3340,3853,4380,3355,2204,2411,2633,2082,2082,2526,2451,2707,2540,1963,1899,1766,1645,1298,1404,1664,1946,1902,2107,2497,2566,2146,1838,1792,2304,2323,1987,1931,1802,1903,2142,2448,2121,1881,1697,1541,1614,1583,1605,1605,1945,2141,1757,1539,1585,1408,1417,1402,1621,1826,1917,1729,1599,1916,1878,1613,1586,1631,1586,1484,1552,1555,1556,1638,1716,1788,1918,2384,2436,2185,2021,1862,2064,2163,2249,2851,3462,3407,3518,3587,3406,3450,3408,3237,3207,3218,3002,3199,3496,3626,3719,3714,3384,3283,3441,3097,2986,3055,2379,1906,3017,3095,3303,3562,3374,3636,3979,4030,2943,1792,1610,2274,3046,2307,2282,1759,1146,798,644,715,847,845,847,926,1015,1006,1327,1526,1484,1603,1555,1653,2662,3482,3819,3890,3498,3083,3062,2353,2083,3285,3332,2533,1870,1574,1969,1965,2190,2609,2402,2126,1768,1184,1327,1861,1581,1447,1669,1670,1431,1354,1658,1733,1670,1615,1545,1630,1585,1829,1550,1612,1414,1524,1511,1616,1739,1598,1530,1585,2054,2328,2181,2040,1820,1958,2161,2153,2108,2530,2718,2916,2844,2436,2093,2264,2221,2007,2085,1902,1890,2055,2155,1913,1947,1857,1985,2364,2005,2179,3031,2522,2424,2958,2866,2679,2746,2805,2828,2918,3010,3162,3316,3165,3133,2965,2998,2740,2570,1999,2646,3454,3357,3220,3410,3272,3081,3403,3312,2724,2360,2337,2539,3499,3497,3095,2940,2845,2528,2522,2987,1883,1203,1992,1778,1942,1897,2023,2045,2055,2116,2245,2146,2052,2187,1814,1632,1539,1905,2902,2939,2685,2304,2073,2570,3157,3496,3846,3365,2127,1999,2161,1861,1930,2250,2727,2939,3183,3614,3602,3178,2779,2365,2309,2431,2508,3243,3355,3152,3097,3020,2884,2388,1990,1938,2030,2276,2557,2508,2119,2379,2630,3074,3408,3451,3134,2823,2412,2188,2286,1744,1538,1948,2745,2679,1997,2055,2746,3078,2958,2718,2689,2853,2909,2868,2595,2866,2872,1994,2046,2777,2898,3106,3165,3043,3073,2734,2414,2618,2481,2543,1926,2166,2563,2558,1838,1676,2364,2504,2480,2662,3129,2929,2355,1910,2032,2579,3186,3422,3592,3620,3579,3636,3972,4086,3692,3616,3439,3224,2880,3240,3343,3497,3686,2989,2450,2164,1958,2000,2165,2523,3027,3023,2932,2609,2588,2776,2963,2963,3275,3342,2953,2829,2595,2648,2715,2387,2919,2599,3131,3471,3273,2795,2668,2975,3477,3545,3087,2733,2878,2684,2240,1831,2116,2767,2963,2872,2986,2759,2444,2808,3042,2664,2879,3483,3553,3220,2946,2822,3010,3392,3444,3271,3044,2764,2452,2722,3046,2858,2552,2265,2584,3400,3550,3249,3197,3272,3497,3430,3160,2889,2905,3308,3283,3620,3594,2809,2371,2132,2181,2434,2081,2050,2322,2326,3444,4541,4630,4389,3291,2304,2173,2703,3599,4351,4675,4495,3785,2254,1989,2753,3263,3182,3229,3277,2587,2203,2946,3006,2928,3754,3628,3460,3667,3140,3249,3265,3068,2839,3741,4293,4002,3032,2304,2258,2341,2369,2520,2763,2642,2419,3056,3071,2930,2916,2776,2946,3207,3031,3239,2475,1682,1707,2581,3143,2256,2046,1996,2120,2165,2412,2614,2317,2278,2125,2027,1996,1756,2233,2409,2388,2051,1652,1780,1619,1645,1826,1917,1832,1652,1516,1706,1523,1722,1870,1579,1516,1925,2121,2016,2574,2595,1921,2039,1786,2073,1952,2086,2454,2504,2263,1835,2120,2462,2978,3436,2513,1959,2608,3826,3449,2308,1941,1888,1937,2410,2625,2531,2284,2561,2876,2515,2116,1530,1522,1618,2200,2190,1754,1482,1518,1636,1553,1588,1861,1928,1950,1619,1665,1994,2314,3187,4038,4095,3792,4024,4073,3493,3496,3400,3222,3529,3798,4084,3797,3624,3877,3869,3495,3504,3682,3780,3702,3685,3496,4057,3647,3694,3414,3162,2983,3060,3086,2492,1710,1672,1888,2154,2327,2070,1670,1663,1899,1621,1573,1655,1407,1568,1612,1811,2326,3708,3978,3741,3753,3453,3570,3864,3657,3570,3593,3408,2874,3372,4078,4244,4028,3165,2557,2642,2711,2959,2886,2502,2335,2617,3094,3077,3001,2585,2319,2373,2704,2965,2972,2360,1853,2599,3254,3404,3420,2651,2452,2636,2614,2535,1678,1523,2014,2872,2964,2624,2922,3397,2808,2111,2656,3171,3926,4165,4388,4492,4364,3834,3442,4140,4416,3587,3078,3401,3514,3150,2621,2780,2719,2657,2623,2532,2360,2613,3400,3462,3462,4156,4070,3876,3630,3463,3303,3322,3176,3168,3202,3018,3119,3298,3418,3754,3216,3449,3571,1972,834,659,662,627,597,568,550,537,519,504,519,538,541,548,564,580,610,655,673,648,627,648,668,692,653,633,628,617,655,736,684,579,533,481,475,463,435,404,388,373,358,351,344,339,318,291,285,291,298,305,302,311,320,315,309,310,311,316,320,353,422,477,537,602,664,750,651,704,667,696,728,768,785,936,1173,1213,1358,1596,1528,1634,1788,1669,1629,1586,1543,1457,1331,1256,1195,1136,1058,1033,1127,1082,1023,1023,1008,1005,995,978,942,902,862,824,797,777,754,703,667,651,641,632,627,624,616,610,615,613,606,603,601,612,624,648,667,679,716,731,728,738,728,731,725,727,729,737,730,716,701,629,614,605,587,577,559,569,599,623,622,610,595,579,577,584,610,645,646,611,577,544,513,489,464,456,450,435,427,420,413,424,449,479,521,561,614,644,670,917,1489,2023,2476,3493,4251,4536,4341,4220,4409,4663,4464,3749,3514,3332,3398,3403,4092,3999,3994,4131,4000,3458,2639,2908,3452,2919,3182,3086,3141,3127,3492,4621,3445,1316,638,618,686,2133,4596,4848,4078,2805,2119,2035,1408,933,830,779,781,727,618,524,470,433,422,415,403,391,377,365,357,354,350,342,334,336,337,338,340,332,331,326,325,328,340,351,354,359,375,382,372,360,349,334,326,318,314,317,324,327,332,333,341,366,362,362,346,332,320,325,333,341,344,350,349,343,342,336,329,320,306,301,291,284,274,264,271,289,306,319,325,326,336,331,328,334,346,354,359,368,383,390,389,392,415,442,473,507,457,451,540,549,523,541,619,663,556,541,529,561,590,615,639,610,679,645,583,570,574,566,561,595,564,521,480,448,432,428,428,427,408,373,352,350,351,342,343,363,379,380,379,361,339,331,335,328,314,300,285,279,275,280,281,274,271,270,267,263,265,268,267,274,284,284,276,276,274,271,267,262,261,259,255,253,253,254,255,259,263],[2320,1946,2999,3405,2544,2501,3178,3351,3378,3309,2649,2844,2826,2626,2621,2957,3066,2519,2275,2266,2230,2332,2185,1514,1984,2078,1326,1514,1776,1913,1952,2008,2411,2310,1976,2089,2110,2563,2747,2609,2316,3006,2839,2287,2755,3252,2710,2043,2272,3086,3284,3296,3369,3484,3592,3023,2833,3167,3393,3293,2801,2131,1738,1931,1730,2094,2036,2272,1946,1901,2024,2774,3040,2303,2197,2851,2634,2038,3300,4161,3449,2716,2602,2589,2899,2790,3199,3233,2489,2430,2698,2364,1973,1948,2105,2259,2278,2219,2177,2371,2392,2270,2480,2687,2634,1909,2375,3245,3315,3079,3010,3042,2954,2484,2200,2475,2921,2887,2950,2493,1970,2373,2400,1849,2173,2702,2438,2101,2603,3021,3134,3044,3098,2856,2355,2386,2219,1758,1817,1724,1726,1750,1679,1431,1516,1878,1850,2098,2336,1945,1901,2067,2865,3327,3674,3861,3893,3457,2745,2450,2456,2172,1919,1879,1979,1660,1709,1628,1558,1643,1920,2049,2009,2164,2233,2307,1883,1767,1476,1487,1764,1885,1807,1648,1644,1813,1831,1621,1465,1661,1616,1695,2277,2810,2908,2706,2259,2087,2291,2680,2972,2818,2774,2478,1996,1785,2155,2580,1852,1707,2340,3383,3442,2546,2544,3095,2714,2589,2461,2271,1905,2187,2297,2576,2613,2046,1745,1835,2273,2386,1793,2024,3205,3473,2630,2235,2067,1815,1630,1608,1548,1726,2662,2757,2119,2157,2226,2626,2585,2647,2736,3060,3123,3163,3244,3096,3321,3516,3607,3672,3541,3109,3489,3523,3559,3426,3415,3617,3592,3605,3604,3078,1998,1948,2620,3135,3039,2426,2408,2266,2164,1961,1925,1988,2160,2798,3154,2557,2172,2389,2201,2101,2976,2850,2540,3254,3798,3719,3305,2811,2595,2701,2421,2150,2282,2459,3098,3307,2700,2269,2331,2254,1997,1959,1966,2320,2841,2713,3192,2863,3161,2954,2685,2499,2856,3237,3024,2341,2199,2584,2643,2520,2203,2709,3105,3449,3157,2209,2119,2078,1923,2126,1984,1937,2004,2027,1974,2193,2009,2210,2093,1989,1853,2280,2491,2265,2293,1894,2319,3113,3035,2238,2453,2286,1913,2143,2424,2267,2188,1798,1649,1854,2220,2376,2345,2470,2391,2032,1722,2132,2391,2510,2430,1960,1786,1967,2764,2598,2329,1875,1992,2304,2353,2039,1747,1914,1889,1757,2330,2237,1714,2006,2386,2367,2311,2356,2356,2443,2010,1510,1615,1917,1956,2070,1889,1541,2338,2928,2962,1967,1389,1377,1356,1954,2380,2196,2417,2806,2785,3071,3190,2332,1814,1839,1869,1883,2030,2189,2015,1859,1941,2510,3132,3261,3194,2641,2375,2373,2054,2390,2507,2770,3054,3184,3168,3094,2791,2833,2929,2819,3084,3098,3038,2977,2898,3051,3021,2647,2316,2335,2497,2662,2887,3113,3095,3343,3360,3221,2975,2961,3386,3623,3487,3173,2790,2652,2843,3238,3216,2939,2677,3231,3864,3725,3539,3374,3302,3637,3338,2909,2607,2635,3288,3107,2792,2837,2164,1686,1567,1823,2689,2522,1893,1754,2111,2188,1929,1955,1816,1818,2283,2259,1773,1591,1477,1569,1641,1797,2046,2342,2655,2381,2503,2750,3253,3310,3342,3378,3659,3854,3809,3016,2353,2709,2787,2355,2412,2732,2503,2568,3099,2814,2319,1832,1541,1571,1539,1775,1805,1765,1919,2670,2631,1835,1590,1750,1935,1730,1839,1765,1859,2196,2481,2447,2483,2211,1760,1820,1749,1755,2069,1922,1898,1893,1860,1724,1606,1699,1764,1917,2094,2093,2303,2552,2524,2798,2190,1641,1483,1479,1433,1485,1537,1709,1789,1559,1716,1896,2112,2472,2280,2054,1737,1810,2051,1934,2291,3384,3708,3424,3630,3521,2996,3162,3005,3010,3517,3603,3726,3680,3550,3622,3592,3562,3400,3355,3073,2525,2511,2879,2430,1873,3062,4233,4428,4312,4063,3975,4149,3363,1943,1564,2059,2734,2426,1222,746,664,860,1076,1272,1404,1410,1403,1455,1446,1312,1208,1093,1092,1382,1572,1574,1525,1823,2649,3583,3891,3801,3252,2784,2298,1859,3222,3187,2234,1941,1681,1676,2059,2491,2656,2547,2612,2006,1685,1742,1703,1569,1435,1507,1421,1445,1598,1762,1726,1612,1437,1524,1754,1788,1947,1744,1525,1375,1375,1458,1599,1537,1533,1536,1496,1865,2281,2405,2420,2150,2077,1688,1638,2182,2348,2320,2666,2810,2554,2460,3210,3742,3183,2675,2060,1917,2416,2408,2052,2152,1865,2320,2807,2552,2634,3189,2665,3126,3133,2812,2673,2727,2873,2862,2915,3082,3327,3527,3526,3285,2827,2193,2204,2668,2671,2580,2630,2742,2769,2895,2404,1807,1647,2141,1774,1716,2518,2241,2174,2800,3002,2968,3000,2524,2238,2710,1870,1420,2010,2117,1942,1683,1918,2137,1993,1835,1759,1791,2049,2415,1764,1732,1604,2203,2865,2980,2396,2015,2452,2631,2235,2580,3038,2557,1728,1886,2031,2078,2089,2376,2510,2386,2776,3448,3564,3179,3196,3076,2784,3062,2940,2876,2871,3090,3365,3555,3231,2387,2326,2095,2031,2296,2393,2201,2283,2845,2716,2924,2987,2901,2864,2687,2003,1915,1866,1878,1832,1586,1878,2725,2557,2431,3007,3341,3032,2755,2567,2644,3096,2993,2357,2343,2094,1888,2019,2597,3423,3483,2858,2939,3155,2408,2284,2832,3024,3203,2303,1958,2051,2118,1706,1923,2500,2269,2381,2685,3012,3266,2577,1877,1996,2384,2910,3422,3746,3880,3893,3961,3952,3882,3698,3646,3264,2996,2986,3220,3407,3820,3293,2126,1979,1907,1904,2061,2106,2187,2499,2680,3118,2920,2530,2510,2835,3312,3673,3472,3164,3167,2831,2567,3107,2721,3069,2895,2692,3284,3682,3165,2892,2902,3187,3243,2805,2387,2135,1800,1946,2042,1900,2291,2906,2889,2807,2779,2746,3013,3334,2699,2607,3057,3863,3462,2934,2884,2977,3261,3209,2919,2437,2420,2614,3010,3420,3374,2954,2467,2777,3440,3429,3321,3293,3279,3300,3416,3506,2670,2701,2907,2751,2750,2450,2291,2651,2458,2393,3018,2733,2757,2768,1957,2436,3836,4409,4573,4093,2889,1866,2573,4080,4436,3987,3490,2935,2785,2921,3013,2320,2353,2989,3247,2900,2735,2752,2198,2797,3946,3893,3873,3645,3367,3399,3504,3264,3211,3674,3727,3186,2635,2254,2001,2539,3086,3762,3908,3189,2741,2642,2379,2453,2723,2659,2864,3226,2841,3365,2966,2337,1996,3062,2991,2249,2206,2083,2037,1894,2436,2954,2658,2362,2048,1984,1919,1817,2187,2075,1898,1743,1886,1870,1651,1651,1606,1992,1875,1619,1730,1822,1436,1537,1782,1808,1965,2509,2890,2883,2887,2592,2039,1936,1965,2388,2277,2447,2492,2417,2343,2307,2700,2797,3343,3941,2953,2262,2512,3503,4201,3598,2929,2545,2253,2588,2223,2199,1882,2039,2150,2131,2276,2009,1888,1758,1629,1668,1583,1512,1366,1562,1426,1533,1731,1835,1655,1585,1541,1607,2118,3078,3716,3542,3443,3893,3935,3465,3260,3177,3215,3343,3505,3864,4252,4356,4461,4481,3894,3628,3653,3738,3658,3663,3637,4208,4308,4186,3764,3282,3378,3708,3770,2807,1964,1849,2462,2584,2339,1936,1616,2079,2453,1876,1573,1578,1739,2019,2056,2025,2438,3471,3808,3516,3454,3488,3664,3752,3513,2952,3018,3044,2219,2378,3276,3941,3654,2631,2236,2486,2880,3064,2798,2349,2312,2874,3040,2907,2686,2491,2063,2001,2753,3040,2674,2116,2243,3012,3165,3376,3062,2243,2742,2651,2756,3186,2665,1985,2191,2555,2702,2813,3140,3186,2977,2620,2661,3473,4220,4565,4660,4904,4828,4243,4143,4229,3781,3529,2313,3152,3920,3375,3011,3694,3624,2978,2774,2677,2797,2602,2877,3511,3640,3876,3561,3536,3552,3380,3339,3325,3161,3104,3178,3159,3181,3452,3543,4029,3403,3328,3330,1856,787,616,663,644,620,587,567,539,508,483,498,520,538,549,556,569,607,654,684,680,644,657,661,686,653,650,646,670,657,689,682,585,546,478,472,458,436,410,392,371,354,344,339,334,310,292,285,289,294,299,308,312,316,306,302,296,311,323,341,388,459,512,541,565,607,740,659,702,679,677,739,766,803,994,1191,1115,1256,1480,1545,1566,1780,1723,1603,1511,1471,1416,1326,1256,1181,1103,1026,980,1061,1034,981,962,947,942,924,909,884,859,832,801,770,752,726,690,662,639,616,598,590,594,590,589,594,595,588,587,585,593,606,631,656,659,701,724,700,706,697,703,707,726,739,739,731,710,702,656,623,603,586,573,561,566,600,616,622,611,594,578,578,588,616,648,657,627,586,563,536,505,473,459,457,452,450,443,433,434,454,487,528,581,657,667,659,799,1194,1744,2018,2852,3968,4394,4271,4110,4336,4684,4648,3680,3483,3807,3511,3513,3811,4080,4224,3601,3981,4050,2923,3221,3320,3487,3204,3054,3232,3486,3934,4493,4094,2663,1624,1271,969,2349,4659,4911,3958,2548,1968,1895,1361,882,778,724,703,696,605,518,475,437,421,411,399,386,371,360,348,349,350,338,330,330,334,334,337,335,328,323,320,326,345,357,363,364,367,370,362,348,335,331,324,317,315,316,316,319,325,335,348,357,366,361,346,333,325,327,332,337,342,343,339,337,336,329,321,316,304,295,288,279,272,267,269,284,303,315,335,349,340,331,332,333,339,346,349,359,378,388,389,398,415,438,459,490,469,445,520,567,556,523,561,668,555,559,553,565,577,610,615,599,644,664,615,568,566,565,566,579,549,505,474,443,427,427,426,419,405,375,359,356,354,352,351,369,386,397,399,388,364,345,340,335,320,311,302,291,284,278,277,278,272,268,272,270,271,268,271,278,268,265,274,283,277,274,270,262,260,260,260,257,250,252,262,273,278],[2590,2018,2920,3630,2624,2221,2946,2692,2526,2601,2214,2058,2027,1952,1959,2055,2041,2109,2112,2055,2186,2437,2388,2082,2374,2466,2114,2446,2568,2309,2118,1975,2310,2414,2197,1891,1762,2081,2507,2277,2610,3056,2501,2290,3174,3285,2634,2391,2810,3034,3416,3585,3562,3375,2922,2979,3313,3007,3075,3227,2604,2107,2216,2599,2795,3352,2326,2024,2065,2303,2590,3443,3484,2359,2392,4028,3654,2887,3836,4216,4120,3581,3078,3365,3757,3496,2984,2599,2362,2644,2620,2371,2360,2088,2002,2030,2474,2662,2348,2437,2510,2398,2806,2933,2784,2049,1990,2575,3038,3086,3040,2868,2558,2309,2092,2435,2719,2125,2476,2376,1896,2239,2714,2476,2301,2481,2360,2395,2854,2781,2796,2432,2961,2054,2002,2265,2254,2248,2348,1985,1659,1720,1568,1419,1535,1818,2083,2698,2392,2137,2021,2355,2605,2791,3491,3957,4144,3563,2680,2026,2083,1871,1772,1858,1853,1853,1726,1625,1670,1897,2294,2285,2508,2555,2783,2611,1824,1549,1411,1648,1820,1897,1830,1487,1553,1779,1702,1697,1681,1620,1614,1630,1912,1946,2242,2923,2861,2600,2700,3009,3211,2695,2349,1861,1935,2004,1860,2060,2084,1990,2170,3038,2736,1439,1750,2605,2486,2568,2388,2276,1804,2121,2441,2602,2508,2057,1879,1885,2106,2013,1690,2339,2462,2373,2248,2111,1598,1397,1432,1622,1720,1708,2085,2179,1788,2249,2227,2631,2239,2195,2566,2924,3081,3435,3082,2478,2662,3044,3516,3860,3794,3472,3539,2963,2720,2973,3471,3689,3819,3720,3639,3365,2499,2279,2600,2864,2942,2969,2668,2069,2067,2056,1984,2361,2742,2934,2474,1780,1560,2191,2945,3139,3209,2893,2540,2661,3166,3364,3606,3329,2676,2913,2800,2418,2433,2431,2549,2532,2399,2109,2030,2354,2110,1788,2048,2214,2105,1737,1898,2195,3111,3252,2862,2714,3250,3406,2852,2217,2605,2658,2609,2746,2880,3011,3010,2676,2238,2069,2057,1836,1793,1797,2024,2218,2176,2048,2165,2252,2081,1982,1738,1860,1896,1881,2428,2774,2786,2273,2514,2692,2744,2304,2063,1873,1812,2377,2345,1958,1991,1673,1679,2248,2524,2430,2070,2108,2212,1882,1837,2154,2386,2525,2342,2309,2430,2186,2364,2136,2106,2132,2262,2228,2128,1896,1746,1902,1316,1248,2120,2101,1731,1844,2210,2358,2313,2120,2150,2520,2639,2090,1996,1810,1818,1886,1942,2158,2814,3276,3507,2653,1614,1449,1736,1934,1882,2276,2600,2980,3220,3454,3352,2249,1732,1947,1952,1938,2300,2337,2064,2028,2307,2391,2504,2833,2974,2710,2544,2214,2297,2668,3006,3229,3239,3182,3036,2609,2292,2501,2789,3161,3200,2797,2586,2590,2752,2950,2866,2592,2248,2410,2621,2612,2576,2796,2876,3304,3652,3572,3238,3230,3566,3672,3270,3139,3033,2920,3318,3313,2812,2708,2630,2927,3563,3443,3447,3609,3775,3653,2885,2646,2388,2388,3105,3229,3189,2988,2264,2125,1693,1596,1962,1908,1737,1881,2054,2155,2293,2591,2139,1637,2019,2269,2284,1851,1596,1733,1846,1948,2210,2182,2048,2188,2585,2997,3052,2944,3436,3230,3506,3680,2979,2268,2090,2192,2344,2608,2612,2631,2562,2906,3978,3876,3094,2058,1660,2050,1748,1825,2063,1901,1852,2304,2342,1981,1914,1866,1855,1592,1779,1876,2154,2780,2878,2562,2342,2065,1881,1910,1748,2121,2380,1997,1699,1604,2031,1828,1714,2033,2024,2004,2120,1942,2276,3066,2942,2640,1855,1487,1528,1595,1878,1992,1570,1631,1560,1570,1960,1954,2244,2352,2117,1839,1816,2011,2138,2226,2696,3198,3163,3064,3293,3190,2798,2959,2968,2953,3542,3707,3569,3463,3635,3649,3598,3566,3526,3449,2555,2412,2524,2741,2462,1915,2778,4079,4356,4255,4177,4228,3848,2306,1653,1743,2360,1705,744,697,1026,1356,1505,1515,1519,1541,1632,1627,1578,1527,1592,1622,1573,1460,1446,1628,1647,1519,1520,1857,3019,3891,3980,3261,2424,2238,1748,2681,3176,2619,2281,1857,1822,2004,2010,1756,2008,2463,2051,1765,1657,1592,1665,1715,1714,1697,1727,1654,1746,1908,1758,1692,1763,1669,1764,1890,1794,1642,1592,1530,1454,1583,1616,1554,1373,1796,2144,2442,1981,1801,2252,2069,1491,1824,2276,2338,2440,2502,2352,2334,3308,3718,3812,4120,3894,3396,2780,2425,2213,1776,1626,1743,2194,2564,2585,2841,3086,2942,3039,2808,2623,2755,2845,2920,2872,2711,2940,3321,3884,3698,3140,2688,2062,1707,2202,2863,2770,2676,2326,2004,2052,2155,1958,1951,2414,1791,1418,1877,1804,2236,3363,2877,2187,2225,2247,1934,1830,1720,1699,1576,1565,1515,1750,2485,2745,2194,1993,1823,1998,2416,2185,1934,1733,1963,2541,2722,2722,2433,2335,2302,2004,1490,1861,2241,1960,1688,1800,2030,2344,2471,2104,1933,2109,2303,2862,3010,2810,3201,3062,2918,3091,2901,2678,2500,2659,3251,4018,3808,2417,2297,2064,2104,2418,2348,2136,2299,2416,2309,2396,2790,2563,2292,2180,1762,2024,1960,1997,2157,1906,1813,2416,2632,2499,2902,3311,2767,2802,2909,2604,2552,2690,2198,1754,1708,1810,2096,2799,3090,2493,2075,2509,3141,2321,2118,2530,2799,2934,2208,1771,1920,1959,1637,1888,2377,2179,2214,2462,2933,3310,2613,2127,2128,2269,2880,3542,3767,4086,4263,4220,3818,3390,3280,3289,2987,3001,3109,3163,3495,3336,2381,1987,1856,1858,1953,1986,1918,1934,2178,2502,2937,3007,2591,2664,3298,2979,3066,3373,3580,3116,2879,2697,2868,2985,2923,2802,2644,2710,3439,3492,3099,2846,2935,2776,2444,2179,1910,2194,2239,1946,1914,1910,2488,2685,2774,2533,2731,3248,3544,2686,2236,2692,3260,3298,3285,3200,2883,3173,3274,3039,2275,2242,2733,2976,2894,2664,2709,2827,3138,3462,3531,3506,3353,3240,3241,3580,3685,2665,2442,2442,2070,2486,2784,2284,2788,2636,2126,2420,3056,3940,3635,2589,2064,3006,3697,3605,3946,3323,2119,2758,4039,3610,2539,2157,2175,3320,3738,2952,1821,2084,2777,3362,3388,2873,2308,1899,2601,3860,4046,4264,3845,3522,3595,3594,3360,2978,2855,2956,2461,2090,2154,2662,3498,3565,3739,3552,3271,2999,2519,2500,2803,2644,2148,2318,3162,3418,3494,3308,2832,2584,3020,2700,2414,2599,2335,2104,1843,2498,2978,2736,2392,2326,2072,1965,2138,2163,1935,1732,1593,1848,1715,1777,2250,2068,2375,2259,1906,2025,1958,1605,1465,1480,1800,2496,3608,4324,3812,2843,2306,2020,2188,2486,2547,2498,2930,3075,2805,2196,1941,2542,2636,3138,3520,3449,3133,3134,3072,3163,3457,3283,2972,2205,2292,2398,2337,2024,1926,1818,1810,2112,2088,1851,1583,1414,1605,1564,1615,1404,1649,1710,1913,1636,1515,1714,1867,1748,1780,1928,2500,3165,3103,2978,3378,3542,3299,3238,3222,3172,3272,3329,3645,4356,4944,5015,4759,3841,3663,3523,3618,3729,3676,3662,4096,4354,4327,4352,4164,3942,3893,3962,3592,3020,2767,3320,2977,2018,1484,1487,1774,1818,1641,1648,1745,2024,2115,2216,1873,1666,2314,3166,3459,3431,3384,3553,3652,3457,2833,3018,2976,2622,2338,2438,3083,2968,2414,2138,1947,2646,2938,2502,2648,2790,2987,2873,2482,2284,2129,1742,1970,2240,2425,2480,2390,2400,3127,3309,3137,2492,2275,2863,3162,3111,2709,2423,2235,2359,2131,2404,3119,3344,3266,3151,3090,3172,3642,4079,4243,4495,4615,4564,4227,4211,4296,4123,4284,2633,2583,3780,3662,3360,4059,3739,3241,3196,2700,2768,2493,2733,3510,3581,3160,3164,3667,3594,3416,3480,3440,3285,3221,3195,3153,3231,3384,3303,3480,3431,3394,2353,1039,621,563,630,658,632,597,577,551,522,488,483,507,519,516,524,555,592,639,667,710,683,661,655,684,672,651,662,692,672,670,671,593,544,486,468,463,436,404,385,363,350,336,331,326,318,302,286,289,290,288,291,295,299,303,300,302,315,333,364,407,489,574,578,553,586,702,669,687,697,677,724,764,770,941,1036,950,1172,1342,1477,1512,1656,1717,1623,1521,1456,1377,1319,1259,1160,1070,998,941,983,980,949,913,887,880,874,857,840,819,793,767,741,720,700,673,646,621,591,569,564,565,557,559,562,569,564,572,575,583,600,609,625,638,665,682,674,673,672,684,700,713,715,716,716,706,693,672,645,610,587,573,578,556,590,626,640,645,640,613,603,627,641,660,664,640,592,564,544,514,482,473,473,474,474,472,463,461,480,504,558,614,715,731,701,758,999,1511,1878,2279,3308,4297,4316,4007,4251,4404,4415,3594,3798,4123,3676,3847,4249,4712,4064,3992,4692,4244,2956,3547,3770,3671,3166,2855,2957,3222,3495,3590,4400,5064,4464,3569,3282,4152,4783,4604,3398,2232,1952,1672,1118,800,702,679,648,630,577,510,472,447,427,410,395,381,366,348,342,342,342,333,330,331,331,330,332,331,330,324,318,322,341,362,366,367,360,358,350,340,331,326,325,316,309,311,316,316,319,333,345,349,353,349,339,330,326,328,332,330,332,330,325,329,329,324,318,310,302,296,287,277,274,268,270,278,297,327,351,345,335,336,336,336,336,341,343,350,368,392,403,404,421,443,457,484,477,466,520,547,578,514,510,610,568,561,545,541,561,601,613,579,595,654,630,565,560,563,569,561,529,503,469,443,428,424,423,415,410,392,375,371,373,373,362,364,384,398,404,400,385,369,358,344,330,318,307,293,284,283,282,276,276,273,269,271,271,275,275,267,263,272,275,272,274,275,272,266,266,262,258,260,253,250,264,285,292],[2899,2256,2857,3773,3142,2217,2439,2492,2405,2335,2150,2130,2115,1966,2036,2110,1981,2078,2367,2655,2551,2548,2380,2508,2632,2401,2172,2187,2140,1924,1945,2048,2303,2609,2657,2176,1844,1782,2326,2545,2746,3079,2619,2194,2630,2577,2645,2835,2930,2958,3286,3673,3450,2756,2731,3388,3560,3702,3671,3318,2348,1824,2223,2386,2829,2656,1994,1880,2029,2240,2808,3082,2361,2123,2393,3610,3639,3250,3836,4124,4274,4211,3903,3476,3295,3149,2405,2158,2126,2406,2326,2143,2301,2088,2028,2084,2230,2507,2759,2548,2364,2315,2961,2735,2254,2242,2186,2283,3195,3621,2857,2685,2778,2254,1767,2274,2847,2309,2543,2523,2372,2502,2835,2647,1946,2185,2404,2587,3040,2647,2380,2563,2648,2035,2020,2059,2123,2059,1903,1868,1974,1799,1587,1525,1708,1726,1789,2009,2138,2145,1958,2331,2352,2436,3355,4100,3916,3338,2957,2370,2304,1958,1765,1757,1705,1612,1503,1553,1984,2250,2248,2337,2666,2113,2106,1747,1626,1369,1453,1788,1721,1666,1698,1546,1431,1418,1602,1721,1922,1815,1520,1705,1870,1579,1930,2490,2633,2785,3049,2989,2752,2622,3045,2663,2194,1964,1871,2125,2610,2276,1562,1836,1829,1387,1868,1979,2018,1874,2178,2300,2063,2577,2552,2175,2057,1753,1839,1937,1958,1913,2138,2482,2343,2330,2574,2301,1749,1660,1535,1770,1477,1380,1554,2066,2120,1941,2208,2159,1829,1732,1874,2353,2918,3419,2380,2113,2131,2764,3516,3692,3731,3505,3130,2488,1963,2469,3333,3840,3938,3661,3406,2935,1990,2062,2397,2631,2701,2896,2922,2390,1828,1742,2378,3032,3098,2303,1832,1701,1751,2460,3085,3228,3229,3022,2591,2776,2751,2903,3230,2698,2300,2460,2380,2920,2871,2054,1882,2154,2244,2325,2011,2470,2562,2144,2052,1952,1788,1621,1631,2434,2718,2307,2079,2111,2865,2837,1757,1496,2197,2462,2751,2978,2849,3007,2917,2563,2518,2530,2251,1650,1548,1738,1892,2234,2087,2544,2891,2305,1495,1301,1669,1816,1815,1858,2559,3263,3051,2785,2395,2394,2801,2324,2208,2408,2262,2402,2370,2121,1926,1931,1983,2409,2531,2362,1816,1903,1909,1766,1822,2080,2107,2074,2061,2642,2312,1835,2017,2138,2082,2351,2632,2236,1907,2158,2126,2055,1329,1427,1865,2173,2159,1732,1786,2115,2175,2127,2046,2340,2406,1824,1885,1908,1737,1781,2128,2453,2869,3131,2928,2094,1542,1833,2084,2124,2370,2508,2154,2583,2983,3353,3500,2482,1763,2142,2186,2116,2360,2218,2065,2239,2444,2354,2470,2641,2470,2557,2593,2432,2950,3350,3426,3269,3120,3175,3464,2611,1764,1713,2139,2646,2736,2680,2680,2610,2529,2790,2833,2792,2567,2554,2632,2862,3075,3083,3444,4047,4094,3841,3566,3748,3892,3819,2956,2373,3007,3492,3650,3452,2696,2438,2389,2438,3108,3145,2706,2618,2903,2626,2167,2113,1930,1852,2422,3025,3395,3177,2484,2366,1891,1681,1667,2018,2265,2458,2532,2139,2118,2502,1955,1948,2376,2601,2503,2279,2444,2250,2295,2122,1877,1758,1644,1771,2228,2454,2513,3063,3260,3854,3971,3392,2808,2481,2223,2182,2636,3266,3142,2757,2756,3792,4480,4305,3154,2153,1896,1854,1837,1813,1835,2050,2237,1853,1910,1807,1938,2037,1893,1822,1998,1842,2010,2552,2939,2963,2115,2019,2390,2076,1748,2084,2104,1749,1673,1788,2084,1834,1855,2533,2221,2020,2341,1900,1893,2542,2579,2245,1619,1383,1550,1587,1769,1780,1515,1443,1300,1633,1870,1766,1883,2104,2119,1910,2107,2389,2404,2867,3323,3226,3087,3055,2944,2889,2900,2852,3076,3306,3679,3936,3750,3539,3651,3189,3060,3416,3538,3379,2632,2755,2697,2568,2551,2063,2341,3539,4037,4079,4144,4120,2890,1773,1648,1377,940,667,996,1423,1604,1638,1687,1770,1836,1770,1814,1854,1899,1887,1722,1699,1828,1800,1693,1660,1755,1844,1569,1489,2325,3598,4019,3088,2403,2109,1670,2336,3185,3164,2814,1885,1901,1741,1496,1446,1685,1915,1946,1759,1625,1660,1683,1665,1707,1593,1506,1486,1962,2213,2054,1860,1811,1671,2046,2011,1663,1783,1769,1670,1561,1833,1892,1799,1555,2119,2352,2396,2236,2058,2188,1865,1632,2097,2309,2544,2429,2159,2003,2687,3517,3298,3139,3566,3727,3432,2569,2038,1936,1895,1977,1833,1868,2206,2520,2867,2930,2735,2739,2753,2756,2849,2849,2956,3426,2939,3278,3437,3765,3537,2966,2595,1999,1498,2170,2721,2630,2540,2251,1916,1610,1754,1968,2154,2162,1839,1462,1565,2186,3040,3017,2761,2308,2618,2986,2429,2009,2030,2167,2265,2145,2067,1774,1920,2224,2002,2125,2060,1808,1832,1878,1942,1908,1830,1739,2111,2324,2132,2198,2126,1725,1639,1819,1826,1679,1507,2023,2752,2757,2437,1754,1691,1962,2440,2440,2314,2347,2845,2819,2866,2546,2195,2563,2386,2270,2643,3883,4253,2717,2258,2078,2452,2689,2612,2688,2458,2316,2305,2463,2659,2480,2652,2654,2455,2183,1871,1631,1866,2330,2525,2552,2552,2498,2714,3247,2924,2779,2712,2358,2260,2424,2226,1912,1919,1830,2175,2913,2509,1912,2245,2441,2722,2314,2096,2082,2644,2868,1990,1935,2131,2331,1879,1677,2029,2040,2191,2452,2522,2545,2625,2847,2654,2238,2843,3638,3726,3874,4176,4220,4017,3365,2994,3075,3038,3209,3289,3287,3459,3180,2208,2009,1797,1790,1891,1935,2003,1986,1984,2315,2855,3162,2854,2494,2516,2823,3149,3144,3628,3199,3117,2916,2481,2532,2784,2728,2818,2526,3022,3408,2878,2696,2685,2062,2115,2452,2249,1659,1792,1794,2009,1628,1885,2666,3176,2368,2273,3076,3301,2698,2542,2808,2886,2944,2942,2435,2741,2968,3138,2719,2363,2558,2802,3330,3400,2915,2929,3240,3396,3422,3563,3438,3249,3073,3350,3755,3711,2822,2415,2382,2294,3107,3530,2598,3213,2633,1814,2536,3673,4078,4219,4062,3647,3431,2913,2540,3393,3619,2612,2514,3018,2293,1938,1879,2611,3718,3953,3004,2221,2908,3433,3445,2629,2026,1993,2110,2733,3648,3983,3973,3901,3790,3480,3173,3102,2692,2550,2765,2854,2920,2867,3278,3594,2898,2350,2767,3218,2964,2518,2510,2400,2254,2546,2933,3293,3325,3239,3292,3219,2991,2715,2363,2497,2750,2599,2365,2116,2390,2803,2439,2209,2128,2096,2303,2274,2242,2135,2280,1739,1647,1916,2061,2100,2016,2263,2154,1960,1973,1773,1549,1500,1497,1650,2401,3235,3168,2454,2208,1969,2093,2855,3352,3176,2731,2924,2973,2480,2072,2193,2729,2801,2773,2725,3124,3255,3482,2684,1843,2728,3396,3230,2381,2045,2466,3086,3265,2522,1661,1388,1574,2019,1858,1416,1584,1716,1665,1980,1687,1553,2037,2033,1705,1657,1764,1866,1672,2043,2077,2087,3000,3180,2880,2889,3072,3154,3240,3276,3187,3225,3300,3486,3681,3826,4215,4002,3914,3819,3521,3614,3841,3685,3481,3949,4272,4307,4489,4264,4100,4160,4004,3978,3917,3486,3507,3339,2179,1472,1462,1608,1705,1664,1571,1972,2204,1897,1824,1756,1440,1774,2779,3460,3254,3378,3566,3657,3493,3388,3272,2954,2768,2308,2109,2372,2540,2226,1881,2361,2820,2441,2310,2845,2470,2474,2696,2632,2851,2151,1661,2140,2103,2012,2185,2604,2500,2849,3186,3112,2411,2263,2525,2875,3159,2613,2358,1952,2401,2250,2854,3086,2983,3283,3339,3494,3868,3979,3663,3688,3120,3422,3896,3741,3848,4142,4564,4941,3511,2285,3062,3729,3366,3802,3520,3398,3480,2827,2733,2888,3084,3329,3521,3982,4433,4024,3594,3742,3607,3463,3298,3300,3329,3210,3261,3254,3187,3236,3294,3021,1865,885,612,553,602,667,649,603,580,569,539,498,479,493,498,507,518,553,560,625,644,703,714,685,662,693,718,661,655,700,670,644,634,601,529,494,473,456,441,410,389,375,357,347,330,323,311,294,282,277,281,281,283,292,299,302,302,304,312,336,371,430,487,584,587,538,570,654,673,676,695,724,692,776,752,845,917,838,1049,1232,1350,1424,1512,1645,1638,1514,1450,1360,1303,1247,1116,1029,971,911,920,930,910,876,848,833,831,814,797,778,758,735,719,695,675,654,636,617,583,558,555,553,545,536,535,540,549,564,575,580,582,585,590,611,636,638,644,649,667,689,711,732,724,715,721,713,701,675,643,617,593,561,585,565,579,623,665,734,760,731,710,698,666,664,657,614,582,560,533,508,486,478,478,478,479,494,497,502,511,536,591,651,754,836,835,797,909,1321,1754,1915,2623,3705,4597,4415,4227,4299,4468,4265,4253,3935,3665,3565,4013,4389,3387,3845,4050,3726,3791,4643,4764,4165,3920,3486,3003,3262,3190,2896,3759,5473,5949,5576,5052,4905,4817,3898,2480,1825,1738,1769,1061,752,649,627,606,585,561,507,468,449,434,414,394,378,367,358,357,346,328,320,332,334,327,330,333,328,323,321,313,309,334,360,364,362,357,349,339,333,327,319,317,310,308,307,311,315,319,326,332,336,338,336,327,325,317,320,316,319,317,315,316,318,315,314,311,303,299,292,287,281,274,267,275,282,296,311,315,323,335,335,336,334,335,342,344,350,368,398,414,423,432,449,459,472,473,463,518,535,573,508,486,545,575,560,523,521,549,570,601,572,543,627,632,560,548,556,557,541,520,492,460,442,424,417,417,414,416,405,389,385,379,372,363,364,372,388,395,395,387,379,364,344,333,321,310,299,290,289,281,276,277,276,274,277,278,280,280,287,292,287,282,281,279,274,273,274,265,267,261,259,254,250,262,283,300],[3561,3127,3133,3830,3344,2437,2808,2968,2636,2319,2115,2065,1968,1855,1725,1789,2071,2186,2451,2733,2687,2651,3068,3636,3075,2213,2033,1844,1831,1865,2065,2435,2474,2711,3046,2561,2017,2032,2476,2810,2941,2996,2710,2035,2148,2586,2796,2972,3025,3437,3351,3077,3137,3004,3238,3767,3773,3887,3537,2328,1863,1762,2056,2334,2732,2901,2541,2071,2105,2203,2720,2542,1940,1793,2162,3130,3542,3420,3463,3685,4078,4475,4307,3957,3597,2796,2208,2044,2125,3216,2919,2124,1886,1909,1884,1703,1794,2011,2289,2308,2599,3494,3667,2777,2448,2364,2032,2018,2757,3140,2569,2633,2830,2052,2037,2777,3072,2863,2840,2824,2894,2563,2474,2413,2258,2653,2827,3110,3265,2710,2858,3318,3037,2746,2290,2203,2458,2403,2343,2459,2360,1903,1765,1642,1762,1434,983,1350,2091,1901,1549,1900,2380,2734,3287,3915,3677,3184,3109,2829,2580,2369,2016,1844,1841,1726,1878,2105,2637,2492,2147,2272,2313,2189,2150,1987,1815,1517,1550,1830,1785,1663,1659,1649,1355,1339,1413,1592,2062,1885,1496,1634,1599,1800,2073,2102,2346,2720,3001,2846,2442,2337,2898,3122,2674,2097,1715,1905,2254,1917,1556,1754,2304,2341,2091,1724,2000,1986,2110,2179,2108,2517,2409,2166,1971,2118,2111,1912,1762,2259,2648,2553,2573,2647,2792,2914,2801,2645,2193,2320,1717,1333,1554,2156,2420,2403,2557,2441,2202,1988,2166,2283,2138,2579,2282,2115,2444,2635,3199,3680,3681,3460,3196,2556,2020,2517,3435,3742,3770,3639,3353,2880,2280,2357,2677,2770,2844,3145,3197,3055,2491,2365,2918,3349,3100,2241,1797,2183,2793,3064,3160,3348,3491,3190,2778,2710,2163,2248,2258,2079,2107,2382,2402,2489,2587,2182,1910,2271,2474,2119,2134,2288,2422,1952,2034,2164,1740,1443,1628,2040,1909,1975,2476,2685,2889,2581,1579,1761,1911,2135,2666,2267,1981,2567,2664,2402,2326,2241,2092,1651,1678,1777,1912,2270,2273,2499,2513,2018,1183,944,1554,1749,1931,2093,2198,2640,2770,2668,2654,2941,2717,2371,2920,3042,2467,2334,2492,2314,2219,2118,2124,2304,2471,2082,1725,1638,1310,1449,1937,2304,2191,2004,2179,2584,2294,1902,1918,2001,2126,2084,2148,2073,2009,2263,2328,1838,1214,1224,1921,2566,2457,1921,1786,1974,2074,1935,1782,1862,1694,1604,1810,1899,1891,2122,2547,2787,2706,2460,2188,2000,1471,1748,2160,2243,2504,1983,1697,2371,2865,3110,3414,3021,2520,2623,2666,2325,2601,2467,2469,2570,2662,2587,2603,2640,2415,2475,2569,2673,3197,3463,3343,3195,3153,3310,3228,2547,2323,2382,2408,2372,2164,2172,2455,2557,2552,2740,2864,2743,2744,3003,3261,3139,3085,3238,3432,3331,3400,3310,3715,3303,3548,3330,2653,2468,3312,3854,3913,3816,3318,2940,2411,2256,2261,2332,1826,1551,1666,2385,3068,2965,2402,1732,2279,2841,3376,2867,2326,1807,2039,2280,2016,1994,2126,2182,2101,1857,1739,1886,1769,2153,2565,2242,2120,2090,2589,2808,2596,2275,1997,1749,1564,1756,2034,2186,2459,3059,3588,4059,4400,3915,2994,2683,2540,2646,3069,3209,2736,3107,3304,3726,4062,4140,2958,2254,2398,2746,2708,1946,1742,2095,2132,1755,1979,1655,1675,1738,1673,1936,1971,1559,1819,2268,2466,2343,1822,2557,2968,2054,1852,2233,2387,2352,2370,2611,2757,2242,2480,3156,2654,2552,3042,2316,2039,2031,2292,2128,1564,1466,1422,1348,1493,1572,1568,1426,1483,1754,1858,1722,1615,1729,1825,1971,2150,2421,2636,3161,3251,3116,2997,2777,2439,2592,2843,2778,2886,3278,3466,3617,3674,3572,3319,2689,2393,2661,3056,3064,2446,2481,2446,2446,2874,2383,2076,3442,3962,3891,3997,3632,2148,1628,1383,791,647,1130,1536,1486,1581,1716,1825,1787,1682,1620,1689,1771,1750,1653,1672,1725,1765,1825,1837,1759,1720,2220,1852,1476,1769,3110,3936,2786,1746,1687,1605,2132,3282,3318,3311,2237,1971,1759,1474,1428,1439,1425,1433,1574,1675,1671,1636,1580,1628,1461,1552,1615,2445,2289,1766,1625,1606,1795,1804,1547,1601,1845,1849,1583,1700,1915,1963,1752,2002,2711,2299,1427,1229,1621,2500,1979,1837,2280,2693,2707,2634,2513,2509,2759,2930,2784,2574,3157,3443,3051,2686,2499,2151,2120,1946,1881,2259,2553,2648,2584,2542,2778,2988,2884,2883,3006,2809,3278,3496,3430,3365,3106,3331,3444,3060,2490,2093,2171,2426,2245,1904,1774,1638,1736,1626,1664,1744,1380,1474,1717,1543,1729,2568,2949,2971,2852,2031,2173,2346,1924,1969,2095,2365,2481,1819,1836,1188,1562,2484,2365,2371,2230,1860,1545,1657,1859,2172,2105,2282,2279,2175,1912,2154,2202,1869,2025,1978,1802,1944,1944,2306,2579,2732,2078,1635,1606,1814,2474,2377,2529,2822,2749,2769,3083,2676,2293,2486,2372,2255,2356,3266,3837,3199,2485,1869,2149,2715,2910,3211,3144,3046,2563,2443,2276,2336,2878,3374,3151,2758,2339,1712,1612,1792,1861,2382,2910,2986,3093,3397,2945,2282,2155,2074,1882,2034,2266,1892,1823,1984,2355,2776,2219,1989,2468,2661,2944,2813,2416,2490,2935,3705,3590,3428,3000,3084,2214,2084,2459,2497,2521,2308,2168,2215,2640,3183,2805,2170,2739,3666,3751,3720,3815,3979,3950,3515,3188,3020,2951,3128,3031,3075,3264,3310,2494,2010,1827,1789,1810,1940,2250,2466,2281,2221,2503,3030,2972,2596,2431,2663,3016,3146,3382,3411,3094,2567,2520,2630,3550,3252,3260,3011,2584,2800,2532,2112,1898,1998,2293,2406,2791,1858,2047,2002,1989,2167,1904,2603,3433,2857,2556,2857,2833,2639,2731,2797,2964,2994,2845,2481,2890,2713,2745,2800,2685,2774,3006,3360,3363,3182,3252,3460,3486,3418,3422,3199,3072,3020,3359,3906,4003,3642,2712,2208,2845,3123,3188,2942,3110,2280,2045,2352,2533,3454,4147,4351,4068,2918,2462,2842,2774,2496,2252,2329,2301,2024,2005,2169,3096,3830,3671,2580,2425,2833,3007,2683,2230,1869,1921,2062,2347,3210,3846,3716,3728,3253,2861,2475,2585,2186,2509,2768,3097,2911,2655,2922,3184,2679,2002,2502,3049,2441,2079,2238,2030,2362,3073,3282,3212,3322,3226,3149,2919,2494,2360,2374,2993,3209,3064,2706,2161,2233,2546,2223,1643,1360,1701,2090,1951,1863,1813,1692,1462,1582,1886,1853,1738,2070,2336,1859,1779,1775,1475,1627,2000,2142,2023,2236,2221,1764,1507,1787,1887,2262,2899,3250,3298,3098,3023,2796,2612,2912,2963,2898,3233,2972,2860,3397,3519,3253,2553,1877,2026,2071,2060,2138,2218,2951,3780,3999,3059,1678,1389,1506,2066,1941,1614,1824,2114,1923,2078,1975,1882,1951,1737,2078,2018,1789,1981,2136,2031,1962,1921,2282,2509,2549,2790,3106,3100,3189,3367,3204,3211,3200,3263,3249,3229,3409,3610,4083,4176,4123,4062,3839,3676,3536,3805,3947,3970,4075,3728,4033,3926,3609,3830,3841,3662,3392,2478,1785,1851,1626,1625,1595,1581,1772,2418,2392,1970,2042,1743,1545,2270,3437,3790,3571,3251,3144,3473,3435,3531,3550,3373,2800,2540,2323,2259,2495,1842,2043,2618,2408,2113,2247,2047,2097,2922,2972,2775,3203,2375,2115,2658,2569,2677,2552,2510,2172,2303,2830,2770,2251,2221,2162,2701,2574,2403,2621,2009,2340,2818,3122,2766,2897,3471,3694,4006,4174,4067,3748,3772,2916,3420,4083,3848,3253,3316,4145,4504,3598,2172,2316,3625,3519,3094,3018,2963,3285,2949,2736,3138,3340,3337,3624,4353,4344,3795,3885,4048,3629,3536,3415,3375,3425,3248,3173,3215,3176,3167,3195,3311,2476,1132,699,552,574,663,672,619,596,586,553,507,477,481,477,490,498,540,548,600,641,667,704,719,669,686,743,695,638,677,667,607,587,588,524,483,475,457,444,416,395,375,357,341,321,316,304,290,282,282,281,280,280,289,294,299,304,311,321,335,375,444,471,540,564,519,525,592,650,695,673,753,693,755,765,806,890,885,988,1141,1266,1381,1436,1539,1632,1484,1433,1358,1290,1226,1100,1002,943,887,867,875,877,839,814,805,792,777,763,741,722,708,693,679,654,635,619,597,576,563,559,552,543,527,525,537,558,572,583,580,572,571,569,589,604,606,620,638,659,693,758,802,779,762,762,746,726,694,654,619,597,574,600,594,587,665,747,799,810,779,729,671,674,668,654,594,564,567,539,516,486,465,470,478,468,515,532,555,587,587,615,696,789,902,967,885,900,1201,1620,1749,2258,2945,3928,4407,4310,4187,4352,4547,4663,3951,3942,3767,3580,3749,3796,4396,3918,4039,4677,5008,4517,3627,3997,3882,3265,3221,3091,2972,3551,5227,6104,5669,5020,4732,4133,2691,1696,1519,1620,1909,1130,720,642,595,576,567,550,503,467,447,430,408,385,374,371,368,369,352,329,321,326,323,320,325,326,331,325,318,311,310,323,340,351,348,345,345,335,328,322,312,311,305,303,301,303,312,320,325,326,327,323,321,320,321,317,313,311,307,307,308,305,305,310,311,310,304,306,295,291,279,269,269,275,283,294,307,322,337,336,335,336,336,338,342,349,356,377,413,434,435,441,462,473,503,489,466,527,554,574,522,473,509,560,550,527,511,529,544,585,568,528,577,610,559,531,546,543,532,514,486,458,432,416,404,401,406,416,414,401,388,379,370,356,350,356,375,383,397,396,385,372,355,341,330,318,306,294,288,284,277,275,275,274,280,282,290,284,281,282,279,282,280,280,281,272,272,273,267,264,264,265,257,266,291,309],[3172,3231,3266,3869,3376,2579,3150,3614,3123,2513,2455,2313,1990,2157,1939,2120,2331,2414,2514,3076,3631,3646,3624,3599,3274,2705,2353,1938,1865,2164,2474,2535,2530,2680,2802,2924,3062,2931,2600,2831,3068,2900,2840,2620,2611,3000,2769,2946,3232,3069,2788,2812,3090,2919,3039,3094,2954,3510,3046,1692,1425,1613,1909,2134,2229,2204,2568,2345,1626,1601,1910,1757,1845,1882,2565,3451,3562,3397,3338,3369,3386,3914,4046,4188,4295,3482,2765,2236,3088,4212,3857,2734,1775,2061,1794,1498,1649,2155,2064,2045,2773,3617,3431,2801,2787,2611,1998,2188,2868,2918,2558,2453,2669,2362,2810,3182,2530,2380,2885,3088,3502,3109,2409,1806,2059,2555,2567,2877,3024,2573,3183,3905,3557,2536,2115,2456,2547,2402,2729,2468,1957,1912,1976,1949,1782,1168,851,1767,2325,1825,1880,2395,2929,3339,3248,3382,3440,3227,3365,4295,5112,3488,2253,2081,2180,2243,2283,2322,2403,2599,2532,2382,2199,2107,2331,2374,2378,1948,1724,1828,1886,1771,1711,1577,1382,1343,1421,1852,2143,1766,1628,1653,1403,1329,1240,1823,2205,2680,2977,2475,1969,2030,2397,2487,2233,1809,1605,1824,1945,2026,2247,2146,2295,2512,2392,2515,2609,2298,2257,2143,2086,2396,2476,2238,1986,2348,2040,1867,2110,2641,2877,2644,2408,2126,1910,1954,2734,2251,1842,2418,2474,1953,1984,2067,1820,2025,2552,2968,2531,2085,2494,2162,1723,2065,2479,2274,2369,2472,2808,3373,3645,3618,3391,3042,2918,3151,3541,3597,3688,3711,3422,3240,3016,2819,3029,3134,3153,3177,3353,3474,2683,2252,2488,2916,2475,2022,2194,2961,3618,3500,3544,3693,3577,2980,2693,2328,1786,1657,1860,1909,2029,2709,2425,2351,2115,1789,2041,2320,2481,2429,3010,3050,2896,2319,2131,2102,1626,1664,1752,1581,1799,2380,2916,3232,3032,2245,1710,1428,1030,1444,1904,1454,1342,1911,2354,2398,2219,1763,1355,1245,1266,1679,2287,2338,2246,2163,2100,2173,1808,1239,1487,1635,2020,2233,1959,2124,2599,2931,3062,3033,2662,2574,3010,2761,2152,2634,2793,2464,2374,2187,2231,2414,2192,1774,1815,1618,1355,1390,1883,2380,2490,2145,1938,2036,2085,2213,2047,1988,2454,2141,1916,2136,2047,1759,2212,2130,1737,1806,2422,2553,2218,2113,1988,2264,2371,1968,1608,1831,1925,1736,2099,2276,2312,2652,2679,2555,2687,2711,2766,2668,1889,1823,1979,2026,2166,1848,1783,2411,2801,2767,3121,3365,3267,3032,3054,2328,2215,2063,2103,2646,3277,3199,2871,2746,2492,2571,2514,2502,2887,3376,3384,3045,2841,2548,1947,1930,2734,3118,3121,2975,2752,2417,2615,2867,2945,2862,2666,2662,2722,3098,3387,2701,2879,2921,2483,2580,2622,2630,3541,3295,2911,3032,3012,2817,3763,4180,4100,3802,3055,3278,3043,2545,2352,2088,1731,1755,1774,2418,3163,3533,2858,1924,2150,2635,2878,2295,1824,1587,2132,2684,2686,2422,2225,2010,1793,1735,1869,2504,2589,2032,2025,2470,2112,1764,2155,2454,2415,2175,2321,2088,1778,1603,1733,2023,2578,3363,3807,3678,4307,4608,3606,2940,2875,2831,3011,2819,2695,2835,3226,3624,3826,3804,2951,2431,2846,3188,2657,1909,1633,1804,1746,1673,1600,1720,1748,1503,1395,1493,1522,1344,1673,1760,1809,1713,1607,1864,2008,1611,1557,1947,2699,2983,3227,2953,3421,2821,2746,3115,2789,2903,3329,2881,2545,2427,2247,1859,1842,1799,1432,1547,1570,1675,1643,1538,1604,1758,1831,1720,1528,1596,1657,1964,2282,2362,2724,3240,3029,2879,2763,2688,2616,2761,3294,3538,3628,3603,3493,3310,3344,3540,3315,2768,2669,3147,3236,2812,2216,1917,2104,2723,3056,2633,2024,3283,3852,3937,4071,2943,1732,1434,879,669,1189,1699,1786,1778,2019,2032,1785,1623,1603,1627,1626,1739,1846,1715,1730,1582,1513,1644,1814,1887,1640,2090,2214,1741,1455,2376,2905,1999,1473,1533,1583,1970,3300,3140,2814,2360,2062,1743,1533,1389,1510,1672,1655,1721,1700,1663,1904,1830,1819,1619,1580,1511,2115,2087,1463,1530,1496,1465,1425,1501,1571,1625,1581,1381,1586,1896,2253,1988,2176,3067,2302,1147,1130,1614,2510,2106,2245,2535,2484,2334,2540,2387,2155,2391,2701,2513,2160,2565,2986,2946,2289,1948,1896,2276,1969,1758,2324,2632,2397,2189,2303,2710,2924,2823,3010,3009,2941,3168,3061,3132,3033,3064,3354,3216,2997,2463,2245,2605,2279,1762,1704,1665,1498,1603,1500,1387,1499,1540,1659,1838,1904,2061,2571,2784,2792,2401,2298,2493,1863,1240,1793,1753,1831,1952,1803,1707,1406,1864,2053,2217,2304,2236,1965,1757,2033,2150,2598,2742,2680,2098,2061,2092,1996,1874,2158,2453,2105,1943,2092,2204,2082,2103,2155,2025,1627,1483,1813,2337,2851,3260,2908,2213,2360,2648,2478,2384,2554,2404,2306,2258,2619,3067,2928,2324,2078,2381,2520,2620,2924,2632,2350,2262,1992,2023,2208,2642,3008,2969,2677,2154,1643,1628,1692,1554,2168,3221,3710,3703,3743,2884,1901,1795,1798,1679,1904,2145,1683,1587,1889,2377,2313,2520,3010,2786,2459,2718,2532,2492,2806,3142,3680,4221,3862,2875,2764,2629,3135,3063,2597,2780,2856,2305,1953,2178,2281,2259,2047,2491,3407,3792,3563,3471,3574,3348,3282,3143,2887,2778,2868,3033,2990,3067,3137,2679,2087,1872,1821,1778,1919,2352,2733,2554,2220,2190,2736,3067,2651,2278,2257,2575,3069,3277,3394,3329,2763,2793,2443,2946,3187,3108,2912,2555,2464,2243,2043,2259,2198,2491,2221,2831,2434,1823,2145,2165,2171,1858,1953,2852,3370,2813,2459,2775,2801,3238,2806,2663,2836,2531,2522,2733,2536,2657,2636,2805,3286,3072,3293,3408,3328,3196,3403,3598,3382,3240,3286,3229,3187,3572,3958,3962,4173,3693,2994,3266,3016,2966,3012,2625,2154,2678,2632,2082,2939,4047,3829,2719,2347,2762,2724,2543,2648,2287,2459,2389,1936,2064,2645,2639,3162,3773,2952,2595,2691,2698,2851,2533,2109,1922,1769,1815,2654,3860,3875,3771,2950,2485,2298,2634,3229,3541,3464,3224,2801,2763,2727,3108,3132,3054,2984,3099,2557,2242,1685,1952,2533,2871,2913,2851,3304,3352,2951,2463,2018,2270,2880,3253,2908,2630,2120,1935,2426,2556,2111,1525,1216,1667,1832,1788,1554,1553,1612,1602,1734,1842,1822,1787,2257,2510,2068,2004,2149,1749,1989,2153,2011,1897,2119,2225,1671,1427,1871,2474,3138,3331,2784,3116,3207,2550,2191,2728,3227,2923,2554,3394,3846,3407,2707,2530,2304,2268,2053,2156,2239,2211,1986,2158,2758,3182,3617,3229,1809,1756,1968,2010,1982,2105,2047,2187,2192,2214,2017,1826,1672,1442,2396,2669,2273,2303,2561,2272,2008,1694,2031,2543,2300,2441,3051,2854,2851,3233,3195,3154,3054,3152,3249,3338,3213,3393,3906,4197,4340,4132,3770,3826,3576,3631,3585,3703,3705,3709,3924,3664,3480,3642,3552,3904,3572,2097,1807,2033,1660,1628,1459,1581,2554,3211,2419,2216,2021,1553,1866,3084,3382,3752,3876,3186,3393,3607,3275,3640,3726,2963,2077,2800,2988,2446,1904,1647,2544,2755,2381,2449,2219,1916,2496,3086,3367,3163,3552,3407,2845,2893,2974,2743,2241,1903,1901,2373,2586,2257,2175,2258,1994,2244,1924,2117,2472,2156,2358,2734,2580,2357,2812,3361,3506,3702,3872,3954,3725,3268,3045,3347,3980,4153,3588,3105,3571,4036,3021,1842,1726,2949,3676,3153,2623,2589,3031,2974,2806,3263,3835,3861,3669,3793,3850,3462,3541,3717,3524,3436,3397,3376,3466,3376,3175,3210,3105,3199,3614,3838,3394,1983,1037,627,563,621,667,662,637,601,554,511,479,474,474,486,490,521,543,583,640,648,676,728,678,662,727,716,645,635,656,611,576,577,536,485,465,447,432,411,394,371,359,347,330,312,301,287,280,283,282,280,281,287,288,289,299,321,337,343,378,421,469,531,527,504,497,556,621,687,666,735,719,730,767,807,847,905,988,1206,1250,1340,1388,1438,1568,1476,1401,1336,1243,1179,1090,995,919,866,827,829,838,811,788,775,764,745,727,711,694,686,674,661,641,618,601,594,587,561,549,551,541,526,526,540,551,568,576,567,561,560,566,573,583,597,607,613,656,768,1018,1254,1120,940,895,873,790,726,679,630,616,603,609,614,593,667,728,760,769,728,689,639,664,669,643,612,588,576,557,534,506,492,497,499,574,583,571,612,663,653,647,760,883,993,1044,992,990,1180,1485,1614,1928,2539,3344,4067,4307,4036,4276,4270,4589,4257,4257,4628,4252,3793,3813,3704,3494,3797,3594,3562,3142,2920,3750,3829,3241,3195,3306,3058,3449,5208,6113,5004,4469,4020,2899,1605,1362,1495,1613,1740,1090,675,633,574,548,547,536,491,455,442,420,398,377,369,365,359,355,340,330,328,322,318,316,319,322,323,325,317,312,308,314,332,334,337,338,336,330,324,316,310,306,300,295,298,302,308,312,319,321,319,321,324,327,325,319,306,300,302,300,303,304,309,311,312,312,312,306,305,294,278,267,260,274,285,296,311,322,336,339,335,334,335,339,344,358,370,385,419,447,446,439,460,486,524,503,480,515,541,550,527,476,478,542,533,518,498,512,525,566,561,537,550,586,569,527,536,529,520,502,476,444,422,411,408,405,410,418,413,397,385,374,369,354,347,361,374,388,401,396,388,377,359,343,332,318,307,299,288,283,277,275,275,278,283,284,288,285,286,288,280,279,279,278,279,278,281,275,272,272,274,272,273,279,300,314],[2744,3186,3248,3631,3338,2721,3028,3242,2806,2028,2310,2294,2092,2111,2090,2522,2888,3195,3293,3311,3614,3667,3386,3393,3294,3112,2850,2216,2238,2351,2264,2266,2321,2242,2604,3554,3928,3771,3125,2761,2967,3139,2943,2774,2943,3308,3479,3498,3355,2951,2821,3125,2967,2087,2553,3085,3256,3072,2474,1901,1561,1591,1741,1823,1969,1994,2344,1927,1168,969,1104,1324,1610,1678,2166,2997,3164,3374,3580,3774,3054,2799,3305,3894,3410,3085,2552,2237,3145,3724,3240,2591,2215,2160,1640,1567,2006,2334,2120,1947,2197,2764,3006,2533,2392,2136,1839,1939,2766,2911,2434,2335,2322,2140,2355,2365,2039,2619,3030,2680,2842,2587,2269,2137,2678,2474,2233,2700,2966,2979,3326,3394,2739,1928,2568,2896,2577,2796,3162,2459,1876,1736,1664,1773,1557,1145,1053,2235,2460,2053,2102,2652,3274,3344,2784,2788,3037,2949,3356,4582,5913,3902,3267,3002,2416,2237,2148,2059,2194,2446,2127,2071,2089,1762,2060,2335,2446,1935,1814,1865,1664,1609,1636,1514,1381,1354,1656,2071,1703,1492,1957,2039,1642,1185,1522,1914,2050,2134,1968,1636,1350,1562,2204,1953,1952,1614,1615,1723,1944,2349,2188,1710,1766,2080,2569,2994,2810,2546,2734,2592,2081,1907,2179,2426,2186,2083,2118,2276,2292,2431,2432,2402,2174,1793,2078,2583,2873,1524,1416,2360,2436,2022,2143,2598,2440,2024,2228,3103,2733,2343,2409,1881,1683,1926,2630,2875,2258,1953,1718,2486,3413,3749,3348,3129,3352,3593,3506,3354,3496,3693,3544,3407,3221,3123,2973,3101,2840,2733,2711,3084,2620,2431,2732,2801,2510,2572,3065,3375,3483,3482,3649,3630,3098,2432,2308,2118,1961,2060,2557,2299,2315,2986,2445,2444,2272,1928,1890,2146,2766,2709,3062,3293,2663,2254,2495,2478,1881,1895,1852,1751,1805,2169,3068,3354,2539,2065,2122,1726,991,1648,2477,1800,1686,2139,2315,2358,2388,1858,1306,1184,1466,2142,2364,2293,2261,2127,2322,2457,2157,1865,1889,1824,2049,2182,2231,2375,2688,3431,3172,3100,2908,2976,3010,2595,2570,3197,2938,2629,2508,2177,2402,2449,1966,1745,1956,1670,1786,1888,2201,2435,2458,2112,2004,1822,1729,2034,2065,1733,2002,2355,2142,2366,2085,1950,2354,2444,2182,2113,2335,2172,1897,1669,1702,2305,1932,1221,1733,2398,2216,2020,2274,2294,2186,2677,2988,3197,2796,3175,3731,3047,2208,2025,1772,1779,2013,2074,2186,2698,2830,2585,2884,3386,3531,3448,3286,2491,2204,2459,2540,2987,3719,3602,3187,2727,2442,2781,2896,3049,3249,3369,2865,2199,2002,1864,1576,1539,1920,2480,2929,3413,3781,3518,3208,2920,3154,3318,2858,2749,2729,2786,2639,2775,2654,2309,1592,1866,1542,1876,3130,3150,2585,3249,3588,3764,4476,4272,3782,3839,3616,3691,3454,3062,2968,2305,1722,1898,2234,2820,3388,3613,2403,1773,1780,2254,2077,1659,1724,1582,1969,2807,2942,2655,2702,2282,1953,1583,1698,2830,2769,2153,2316,2364,1894,1691,2040,2437,2002,1622,1745,2033,2116,1809,1700,2248,3183,3877,3916,3859,4428,4413,4046,3355,2858,2481,2799,3286,3559,3236,3296,3731,3886,3530,2708,2800,2940,2953,3112,2767,1946,1520,1554,1673,1732,1848,1752,1463,1290,1395,1478,1509,1405,1413,1625,1553,1654,2008,1750,1518,1550,2378,3593,3517,3201,2444,3117,2885,2727,2829,2202,1863,2200,2583,2371,2027,2000,2143,2780,2500,1731,1939,2036,2029,1937,1730,1638,1715,1817,1916,1572,1836,1729,1816,2143,2567,3118,3139,2791,2722,2614,2717,2979,3177,3602,3566,3487,3386,3409,3296,3152,3680,3785,3227,3178,3272,2984,2679,2410,2242,2566,2737,2918,2709,2008,2962,3912,4096,3860,2482,1564,1053,669,1120,1698,2044,2025,1853,1965,1924,1688,1657,1772,1891,1998,2166,2332,2432,2438,1915,1573,1575,1663,1794,1692,1675,2054,2136,1383,1620,1865,1709,1510,1505,1621,1857,3046,2944,2014,1894,1945,1699,1660,1632,1591,1736,1680,1626,1599,1568,1650,1737,1824,1636,1600,1548,1620,1545,1482,1550,1414,1343,1532,1704,1638,1467,1440,1482,1651,1904,1947,1934,2303,2987,2261,2002,1805,1620,1879,2003,1835,1745,1870,2018,2491,2430,2168,2691,3348,3378,2182,1641,1881,1831,1716,1849,1730,1679,1632,1635,1969,2372,2267,2395,2814,2997,3253,3216,3056,3141,3172,2849,2842,3077,2777,3068,3067,2522,2130,2149,2247,2156,1872,1717,1736,1697,1554,1471,1505,1374,1499,1652,1780,2113,2145,2028,2408,2454,2066,2165,2442,2730,2074,1460,1552,1699,1886,1754,1959,1771,1975,2126,1954,2308,2449,2145,1866,1886,2258,2388,2318,2172,2364,2159,1915,2002,1870,1874,2547,2495,1833,1932,2105,2160,2172,2041,2030,2165,1846,1621,1983,2658,3307,3534,3045,2423,2348,2328,2294,2518,2416,2082,2452,2659,2348,2545,2469,2144,2336,2156,1765,1989,2279,2251,2670,2715,2326,2362,2499,2853,2536,2515,2480,1904,1604,1665,2039,1708,1721,2809,3375,3186,3167,3255,2543,1652,1670,1758,2154,2154,1602,1709,1802,1904,2032,2633,3252,2730,2240,2689,2751,2729,2740,2882,3173,3520,2728,1931,2154,3156,3798,2915,2208,2744,3312,2863,2172,2160,2316,2526,2177,2214,3002,3688,3576,3474,3470,3187,3291,3204,2903,2942,3040,3054,3044,2998,3109,3023,2518,1995,1829,1812,1868,2119,2444,2386,2231,2139,2263,2828,2827,2390,2402,2438,2820,3186,3371,3449,3032,2561,2410,2639,2806,2750,2655,2517,2232,2221,2132,2224,2289,2507,2456,2413,2900,2342,2422,2520,2261,2178,1896,2121,3006,2897,2347,2790,2969,3267,2894,2611,2543,2490,2754,2621,2910,3155,2736,3166,3458,3663,4091,3619,3264,3176,3396,3653,3606,3448,2995,2608,3330,3918,3798,3745,4060,3684,2668,3256,3396,2706,2300,2155,2642,2829,2194,2035,2408,3540,3081,2423,3018,2881,2428,2246,1802,1812,2232,2250,2584,2778,2518,2175,3122,3699,2928,2561,2880,2922,2563,2557,2495,2196,1982,1738,2236,3309,3186,2523,2232,2493,2993,3453,3508,3483,3758,3651,2770,3038,3387,3465,3474,3535,3277,3153,2525,1826,1794,2316,2788,3230,3028,2729,3045,3282,2928,2439,2381,2242,2630,2712,2490,2287,1874,2074,1992,1711,1690,2042,1810,1616,1640,1733,1932,1811,1618,1622,1649,1861,2339,2481,2249,2408,2263,2041,2456,2371,2275,2225,2076,2082,2610,2729,1994,1651,2189,3230,3613,3694,3452,3459,3382,2514,2114,2375,2370,2446,2386,3824,4355,3530,2534,2390,2556,2601,2364,2342,2440,2041,1772,2079,2294,2669,3392,3455,2558,2205,2399,2495,2410,2321,2060,1657,1808,2251,2423,2075,1836,2029,3143,3854,3062,2374,2472,2202,1701,1769,2563,2932,2342,2125,3116,2862,2568,2885,3178,3081,2909,3010,3204,3255,3082,3137,3436,3758,3886,3675,3507,3692,3718,3573,3540,3647,3660,3620,3432,3494,3859,3681,3733,4212,3684,2308,1604,1509,1669,1874,1582,1616,2382,2967,2375,1787,1710,2220,3122,3459,3381,3670,3898,3828,3868,3696,3317,3867,3588,2717,2686,3378,3681,3306,2524,2524,3166,3249,2766,2455,2371,2728,3130,3354,3538,3376,3218,3583,3187,3143,3262,2780,2230,2258,2568,3360,2918,2121,2513,2364,2296,2233,2130,2428,2432,2126,2334,2236,2231,2243,2578,3198,3493,3992,3972,4361,3997,3645,3580,3008,2775,2911,3375,3463,3340,4092,3210,2019,1578,2197,3428,3595,3184,3185,2805,2778,3056,3660,3985,4056,3804,3473,3522,3632,3343,3176,3448,3509,3384,3349,3297,3465,3262,3271,3271,3452,3592,3652,3658,3488,2578,1243,586,622,660,675,657,618,578,543,523,478,468,480,482,500,531,581,623,629,654,708,685,654,708,748,678,634,641,613,594,559,527,489,452,440,429,409,391,374,361,348,327,312,297,285,279,283,282,284,289,288,290,290,306,330,352,361,380,408,449,517,497,495,495,552,618,660,676,724,738,730,764,849,902,944,936,1268,1348,1288,1385,1412,1491,1490,1388,1305,1197,1135,1055,977,897,840,796,789,799,779,756,736,723,705,688,672,670,666,655,640,620,599,601,616,593,564,554,543,536,521,521,528,538,548,561,552,542,542,544,561,589,606,604,641,823,1146,1584,1881,1732,1501,1260,1122,948,788,743,663,639,616,609,605,596,639,686,714,723,703,670,634,643,660,647,646,638,625,616,605,591,579,589,585,619,645,630,633,683,688,692,872,1007,1093,1078,1061,1140,1230,1336,1439,1655,2244,3104,3650,4214,4199,4334,4164,4365,3991,4184,4943,4717,3520,2987,2996,3162,3054,3142,3786,4064,4183,4749,4219,3251,3433,3551,3181,3298,4356,5540,4643,3791,2669,1766,1535,2114,2471,2136,1520,892,609,573,528,520,520,518,481,448,431,412,391,372,363,353,341,327,321,328,330,322,319,319,317,317,319,319,314,311,307,310,319,323,327,327,325,324,319,310,308,303,295,294,296,294,302,308,315,313,320,330,334,338,329,319,313,305,302,305,306,308,310,311,310,306,309,311,312,297,281,270,262,268,282,295,306,320,335,343,339,337,334,334,346,358,373,398,433,459,457,465,485,488,517,504,476,500,513,526,515,480,455,505,524,507,483,493,510,558,578,553,550,579,572,527,513,505,502,505,484,451,426,410,402,404,410,415,413,398,387,377,370,361,354,361,375,388,398,398,389,375,364,353,341,324,312,304,296,286,279,276,273,275,283,287,291,293,292,286,282,283,286,282,278,279,279,278,281,285,288,283,284,295,305,319],[2867,2385,2712,3616,3318,3173,2991,2821,2664,2388,2586,2191,1805,1639,1897,2927,3791,3950,3616,3152,3369,3409,3461,3536,3304,3221,3173,2476,2314,2653,2387,2202,2425,2532,3063,3685,3842,3890,3453,2590,2641,2983,3034,2976,3072,3288,3312,3360,3510,3440,3439,3204,3144,2697,2762,3085,2635,2046,2490,3366,2958,2124,1779,1937,1819,1856,2212,1974,1535,1287,1596,1842,1598,1759,1743,2106,2245,2555,2855,3375,3029,2589,2607,2417,2123,2097,1676,1581,2060,2858,2314,2179,2102,2235,1992,2069,2590,2555,2398,2314,2243,2787,3304,2737,2192,1920,1842,1836,2209,2285,2018,1912,1882,2208,2566,2249,2395,3019,2664,2499,2308,2436,2424,1997,2097,2447,2712,3183,3415,3552,2999,2240,2007,2504,3153,2808,2612,3185,3371,2474,1676,1599,1670,1911,1803,1431,1466,2389,2900,2749,2512,2658,2920,2906,2541,2651,2617,2188,2711,3551,5092,4089,5042,4406,2836,2059,1964,2053,2180,2281,1941,1592,1818,1886,1851,2186,2007,1762,1849,1644,1524,1637,1678,1832,1808,1478,1594,1948,1592,1655,2267,2197,2061,1868,1703,1709,1760,1874,1968,2018,1575,1309,1575,1502,1861,2144,2007,1620,2133,2396,1863,1587,1659,1876,2442,3154,2504,2510,2641,2665,2164,1835,1825,2049,2030,1860,2183,2431,1863,1893,1937,1966,1791,1675,2034,2543,2475,1548,1344,1851,1909,1679,1998,2172,2408,2220,2115,2920,2788,2676,2258,1562,1519,1858,2918,3461,2412,1731,1561,2158,3205,3731,3129,2943,3292,3617,3252,2740,3334,3675,3571,3551,3545,3273,2931,2402,1938,1810,2065,2651,2460,2376,2666,2559,2833,3292,3378,3387,3521,3707,3256,2741,2280,2202,2519,2523,2441,2687,2869,2329,2199,2551,2481,2102,2225,2155,2116,2291,3208,3441,2407,2242,2410,2740,2898,2534,2074,1990,1944,1870,1980,2611,3002,2756,2630,2586,2325,2049,1786,2812,2864,2358,2648,3084,2276,1976,2215,1997,1763,1554,1795,2271,2316,2337,2233,2280,2511,2285,2063,1946,1691,1909,2165,2409,2685,2416,2285,3365,3284,2775,3019,3182,3142,2799,2563,2708,2414,2175,2376,2345,2432,2259,2080,2030,1948,1829,1838,2040,2330,2421,2283,1908,1808,1581,1813,2071,1743,1559,2030,2455,2341,2285,2232,2365,2268,2018,1829,1968,2258,2168,2009,1903,1754,1962,1614,1283,1721,2026,1974,1894,2134,2055,1741,2529,2866,3048,2578,2940,3186,2746,2633,2165,1158,1489,2095,2012,2337,2979,3043,2853,3096,3286,3329,3514,3423,2925,2627,2401,2526,2958,3474,3270,3002,2631,2450,2866,3255,3626,3709,3242,2370,1731,1658,1786,1710,1649,1853,2073,2458,3518,4212,3737,2754,2397,2929,2301,2561,2658,2339,2485,2416,2353,1818,1717,1376,1427,1332,1541,2335,2435,2409,2784,3382,4172,4465,4140,3804,3828,3688,3550,3260,3311,3378,2467,1564,1750,2351,3061,3398,3493,2363,1888,1925,2237,1966,1576,1770,1721,2460,2959,2744,2179,2279,2225,1849,1520,1660,1979,2001,2311,2519,2093,1757,1820,1882,2202,2493,2269,1910,2090,2114,2017,2521,2902,2813,3493,3671,3785,4556,4649,4006,3562,3353,2799,3071,3696,3779,3639,3566,3710,3752,3423,2692,2865,2800,2994,3122,2810,2198,1837,1964,1929,1712,1537,1482,1430,1557,1521,1610,1533,1432,1470,1488,1559,2017,2223,1628,1614,1569,2246,3159,3470,3393,3409,3746,3531,3353,2806,2012,1590,1663,2085,1880,1590,1664,2419,3377,2833,1717,2014,2632,2236,1729,1689,1660,1857,1792,1768,1764,1990,1691,1576,1641,2313,2834,2642,2568,2588,2840,2766,2976,3382,3592,3395,3373,3361,3294,3196,3294,3659,3669,3540,3273,2955,2513,2628,2788,2850,2774,2884,3027,2771,2054,2640,3785,3935,3508,2000,1412,746,893,1561,2053,2157,1882,1662,1801,2063,2239,2475,2711,2906,3066,3208,3353,3457,3676,2487,1698,1610,1574,1623,1685,1404,1542,2304,1506,1448,1612,1689,1561,1526,1623,1738,2680,2828,2047,1935,1931,1649,1951,1709,1548,1669,1554,1548,1655,1666,1528,1454,1514,1618,1905,1725,1598,1720,1827,1707,1606,1511,1893,2420,2082,1531,1506,1460,1622,1942,1715,2059,2928,3371,2217,2215,2160,1988,1965,1995,1989,2026,2135,2274,2718,2444,2438,3230,3592,2857,1721,1587,1529,1371,1577,1599,1769,1961,1809,1832,2458,2626,2580,2600,2932,2843,2835,2825,2647,2945,3068,2965,3271,3050,2712,2922,2683,2080,1821,1896,1903,1597,1585,1932,1946,1876,1580,1681,1738,1615,1531,1716,2095,2341,2261,2322,2700,2320,1826,1717,1757,2030,1854,1691,1706,1927,2019,1809,1880,2136,2260,2131,1616,1756,2515,2024,2011,1942,1763,1835,1508,1517,1988,1841,1704,1916,1791,1747,2563,2292,1495,1623,1812,2081,2205,1940,2092,2170,1982,1619,1948,2485,3069,3120,2778,2758,2653,2474,2497,2711,2500,2004,2089,2203,2201,2352,2126,2099,2103,1854,1840,2279,2783,2943,3099,2711,2519,2864,2996,3103,2621,2135,2008,1929,1549,1712,1879,1564,1951,2428,2389,1981,1732,2496,2842,2351,2105,1933,2332,2259,1838,2149,2057,1828,2359,2684,2883,2491,2390,2732,2974,2903,2671,2795,3115,2546,1694,1619,2141,2944,3181,2562,2099,2763,3308,2938,2361,2512,3006,2817,2120,2094,2556,3438,3692,3647,3763,3739,3508,3266,3007,2955,2910,2956,3031,3008,3031,3046,3065,2429,2016,1927,1835,1898,2066,2047,2171,2197,1978,2399,3011,2938,2592,2310,2728,3044,3128,3165,3177,2946,3067,2773,2554,2986,2588,2026,2096,2273,2484,2206,2206,2164,2412,2180,2445,2862,2698,2221,1834,1699,1929,1869,2566,3182,2974,3124,3156,2847,2515,2631,2558,2731,3400,3300,3526,3782,3771,3573,3130,4022,4682,4477,3974,3353,3270,3544,3574,3230,2823,2555,3090,3283,2810,3264,3769,3380,2762,3077,2993,2753,2765,2535,3010,2099,1865,2623,2642,2777,2567,3006,3146,2633,2574,1906,1875,2282,2186,2205,2823,2532,2110,2984,3292,2648,2482,2605,2767,3266,3361,3116,2405,2067,2342,2260,1891,2192,2509,2573,3041,3333,3342,3296,3292,3697,3972,3923,2733,2843,3588,3608,3674,3843,3508,2989,2258,1862,2624,2980,3239,3577,3141,2537,2658,2591,2512,2169,2249,2120,2238,2688,2495,2287,2403,2465,1764,1616,1519,2006,2142,1886,1629,1905,2220,2177,2049,1789,1484,1512,2024,2462,2482,2466,2213,2814,3310,2906,2797,2829,3156,3262,2976,2599,2087,1564,2098,2707,3043,3509,3760,3605,3388,2730,1825,1558,1604,1984,1918,2905,3926,3604,3142,2712,2555,2921,2958,2621,2993,2494,2180,2164,2222,2835,3458,3587,3437,3472,3308,3187,2879,2479,2333,1763,2103,3110,3684,2854,2226,2443,3369,3972,3287,2497,1976,1644,1677,1950,2413,2396,2652,2850,3377,3094,2445,2158,2565,2942,2920,3136,3203,3098,3138,3370,3240,3264,3251,3345,3427,3515,3551,3461,3573,3917,3991,3768,3350,3420,3519,3374,3663,4276,4027,2541,1600,1541,1720,2112,1923,1778,1835,2369,2785,1930,1969,2968,3664,3525,3472,3524,3703,3705,3630,3507,3572,3782,3293,3284,3805,3905,3852,3970,3760,3650,3738,3352,2193,2103,2276,2218,2817,3430,3239,3385,3288,2802,3066,3496,3112,2683,2469,2729,2492,2690,2464,2473,2656,2353,2442,3104,3138,2941,3022,2436,2734,2045,1958,2450,2458,2808,3064,3584,3956,4090,3851,4008,3881,2864,2265,2286,2884,3096,2888,3429,3283,2269,1650,2007,3323,3750,3027,2796,2695,2909,3066,3470,3919,4148,3758,3127,3200,3480,3183,3470,4155,3691,3502,3420,3261,3376,3360,3360,3370,3671,3517,3490,3911,4169,3971,2794,916,622,632,651,644,620,593,560,551,502,469,480,462,479,520,562,601,618,643,689,704,675,698,769,724,630,628,599,580,565,523,494,455,432,419,404,385,372,358,342,325,314,294,278,280,282,283,293,291,288,288,293,314,338,355,359,380,381,419,487,486,492,502,542,602,643,695,723,717,785,794,860,1020,986,1010,1340,1417,1267,1351,1434,1417,1484,1382,1281,1177,1096,1015,941,878,822,770,753,756,740,711,693,679,661,643,631,637,650,642,625,604,586,575,568,556,556,551,541,529,516,510,515,527,535,547,545,539,531,520,528,553,579,625,801,1256,1732,1966,2033,2016,1821,1466,1269,1143,930,866,726,682,639,616,598,602,626,660,681,700,694,655,637,637,640,652,684,688,713,715,701,672,629,601,613,642,667,650,650,715,758,751,877,1031,1143,1093,1080,1153,1153,1176,1271,1410,1826,2762,3255,4038,4376,4344,4042,3980,3782,3988,4540,4256,2979,3106,3155,3240,3233,3496,3741,4367,4339,4527,4280,3429,3464,3238,3376,3311,3929,4576,3873,2646,1680,1725,2548,3242,3263,2432,1388,786,599,569,523,488,484,489,469,437,420,403,381,369,356,343,336,328,323,322,325,326,321,318,319,317,316,311,315,307,305,306,309,314,319,321,321,313,310,306,300,298,293,289,290,293,298,302,309,313,323,329,330,329,324,318,315,307,307,312,312,314,316,318,315,306,307,317,316,301,285,273,263,268,278,293,309,326,340,343,337,337,332,328,350,363,384,401,426,450,471,495,502,490,505,504,474,497,495,506,501,477,460,471,504,497,480,477,496,555,588,581,549,564,584,526,506,495,494,505,487,451,426,409,399,402,408,411,410,402,390,384,373,363,360,362,369,383,390,393,385,369,367,349,340,331,318,306,295,291,287,280,272,275,283,289,299,292,291,289,287,286,285,285,285,282,284,284,287,294,293,300,308,307,313,321],[3021,2624,2338,3253,2980,3183,2935,2865,2375,1896,1564,1481,1715,2011,2614,3178,3288,3306,3173,3032,3275,3269,3705,3771,3516,3559,3273,2333,2279,2748,2552,2690,2762,2717,3098,3562,3608,3691,3583,3387,3036,2872,2943,2753,3073,3022,3210,3549,3440,3459,3640,3315,3093,2917,2854,2696,2196,1933,2374,2897,2758,1991,2340,2136,1782,1802,1976,2228,2062,1610,1949,2110,1709,1830,1578,1761,1738,1766,1870,2083,2547,2603,2259,2193,2299,2155,2302,2323,2154,2414,2066,1978,1987,2367,2304,2253,2445,2202,2076,1885,1931,2558,3105,2667,2168,2123,2304,1985,1930,2092,2136,2153,2046,2322,2855,2535,2223,2470,2505,2690,2817,2768,2419,2055,2548,3459,3168,2894,2688,2886,2286,1749,2102,2735,2962,2331,2297,2502,2261,2141,1837,1673,1870,1656,1513,1560,1575,1965,2453,2863,3024,2889,2501,2167,2210,2459,2596,2354,1798,2378,3706,3990,4412,3696,2534,2007,2180,2167,2019,2006,1812,1648,1952,2236,2131,1948,1831,1822,1897,1841,1743,1878,2110,1923,1707,1729,1783,1674,1405,1685,2029,1983,2167,2106,1909,1463,1229,1444,1722,1754,1869,1748,1426,1585,1986,2254,1915,1851,2383,2254,1798,1542,1629,1704,2247,3017,2316,2071,2483,2732,2342,1924,1850,1615,1606,1582,1903,1943,1959,2015,1881,2161,2137,1719,1810,2059,2018,1907,2010,2132,2059,1748,1730,1343,1913,2223,2232,2652,2540,2423,2147,1609,1632,2188,3414,3359,3067,2259,2070,2212,2764,3242,3085,3207,3431,3654,3859,3583,3572,3640,3670,3740,3811,3594,3275,2438,2099,2319,2767,2994,2571,2554,2093,1534,2210,3207,3423,3583,3653,3408,2548,2137,1990,2243,2898,2839,2683,2754,2831,2437,2175,2293,2872,2871,2707,2471,2440,2874,3198,2921,2093,1953,2512,3040,2841,2249,2161,2770,3277,2696,2237,2525,2459,2184,2239,2700,2733,2115,2458,2906,1886,1603,2348,2483,1908,2069,2051,1779,1957,1995,2028,2145,2238,2319,2259,2709,2460,1826,2000,2036,2117,2491,2591,2864,2295,2039,2125,3031,3436,2931,3029,3300,3320,2821,2213,2121,2112,2152,2008,2356,2445,2067,2124,2300,2183,1925,1772,2060,2413,2261,2201,1862,1539,1293,2072,2360,1880,1765,2290,2357,1992,2071,2247,2292,1920,1704,1892,2494,2541,2209,1957,1772,1570,1516,1456,1666,1704,1715,1804,1681,1912,1920,1788,2568,2690,2809,2844,2643,2814,2907,2829,2498,1696,2222,2330,1963,2166,3002,3354,3144,3154,3174,2995,2846,3107,3298,3050,2889,3284,3181,3197,3101,2851,2486,2595,2974,3230,3574,3428,2877,2198,1788,1773,1965,1919,1775,2111,2773,3112,3388,3228,2554,1757,1904,2861,1333,2416,2307,2163,2366,2034,2093,2253,1898,1976,2496,2421,2225,2352,2214,2030,2284,3638,4357,4333,4050,3983,3486,3177,3337,2998,3083,3107,2026,1579,1897,2429,3168,3580,3188,2198,1813,2042,2332,1996,1666,1664,2042,2679,2773,2426,2225,2270,2395,1927,1787,2141,2011,1836,2255,2015,2077,2089,2115,2126,2743,3423,2756,2120,2481,2554,2169,2919,2855,2949,3450,3461,3281,4062,3952,2871,2839,3245,3410,3680,3623,3557,3481,3373,3342,3144,3027,2689,2820,3032,3261,3262,2828,2176,2003,2236,2216,1614,1535,1478,1654,1600,1559,1641,1559,1481,1435,1550,1727,1892,2255,1767,1616,1595,1659,1796,2541,3122,3438,3465,3207,2845,2318,2597,2243,1798,1981,2299,2031,1571,2354,3305,2714,1768,2274,3248,2633,1924,1466,1964,2107,1760,1657,1626,1560,1808,2254,2135,2008,2198,2648,2954,2657,3034,3064,3019,3278,3465,3388,3409,3326,3146,3118,3342,3896,3876,3851,3300,3041,2897,2883,2883,3065,3108,3084,3063,2826,2164,2476,3673,3787,3329,1851,1230,760,1158,1839,2149,1991,1700,1638,2115,3150,3276,3390,3522,3636,3750,3694,3598,3517,3675,2719,1714,1591,1584,1576,1575,1358,1344,2356,1671,1388,1530,1615,1519,1544,1702,1849,2509,2820,2232,1953,1946,1798,1982,1595,1674,1991,1786,1577,1490,1533,1494,1372,1426,1614,2033,1951,1932,1759,1618,1890,1911,1794,2059,2278,1998,1717,1740,1656,1482,1848,1858,2272,3340,3675,2402,1743,2069,2270,1838,1817,1901,1962,2036,1945,2045,2055,2334,2734,2776,2010,1534,1598,1423,1625,2130,1749,2111,2429,2140,2247,2558,2867,2986,2862,3107,3013,2714,2828,2766,2707,2937,3045,3378,3348,3030,2950,2667,2122,1699,1769,2038,1865,1909,2181,1901,2113,1932,2003,1880,1933,1683,1930,2402,2212,2029,2336,2728,2299,1968,1677,1901,1911,1840,1885,1897,1767,1910,2004,1983,2073,1478,1661,1632,1788,2132,1769,1855,1814,1660,1619,1581,1561,1892,1881,1796,1744,1672,1851,2207,2054,1613,1698,1602,1687,1712,1824,1947,1819,1826,1577,1675,1757,1920,2204,2218,2226,2552,2723,2557,2799,2792,2067,1560,1560,1699,1745,1865,2080,2018,1765,1898,2909,3792,3316,2430,2132,2497,3207,3353,3096,2758,2212,1961,1948,1667,1610,1947,2400,2902,2588,2209,1982,1968,2097,2482,2768,2868,2400,2454,2439,2453,2698,2114,1873,2579,3052,3155,2491,2393,2600,2501,2142,2343,3050,2917,2043,2009,2026,2802,2873,2800,2509,2093,2294,2322,2331,2706,3036,3486,3252,2310,2127,2390,3193,3702,3735,3891,3889,3426,3027,2914,2909,2783,2900,3021,2928,2975,3118,3261,2950,2250,1958,1852,1800,1863,1910,2055,2184,2023,2143,2758,3213,3052,2539,2476,2690,3104,3352,3311,3141,2799,2653,2576,2719,2949,2550,2230,2180,2704,2334,2255,2192,2167,2322,2829,3016,2404,1764,1538,1753,2228,1926,1990,2577,3161,3162,3124,3267,2943,2833,2326,2437,3019,3259,3710,4376,4582,4456,3530,3282,3449,3736,4530,4281,3541,3373,3120,2833,3564,3717,3609,2499,2135,2955,3640,3627,3293,3186,3017,3642,4011,3475,2736,2077,2636,2969,2454,2433,2266,2654,2930,2551,2303,1773,2212,2151,2147,2709,2626,2109,2669,2979,2361,2316,3240,3607,3339,3873,4106,3433,2578,2210,2414,2250,1958,2391,2845,2887,3148,3309,2911,2662,2928,3632,3863,3728,2841,2886,3376,3593,3707,3790,3481,3066,2801,2966,3397,2942,2828,3263,3392,2652,2144,2019,1830,1620,1545,1677,2229,2577,2284,2298,2203,2499,1958,1771,2167,2060,1858,1739,1773,1672,1838,2835,3532,2526,1670,1671,2029,2337,2125,2077,2551,3187,2975,2669,3177,2867,3334,3713,2378,1736,1556,1503,1761,1753,2294,3405,3870,3630,3308,3008,2070,1688,2125,2103,1750,2342,3276,3586,3155,2820,3016,3276,3084,2492,3762,4121,3300,2395,2266,3239,4050,4261,4224,3917,3681,3406,2993,2976,2797,2497,3248,3942,4241,3589,2471,2124,2731,3413,3524,2977,1943,1455,1667,1628,1597,1794,2410,2730,3022,3078,2758,2098,1964,2781,3046,3268,3598,3696,3525,3484,3150,3133,3174,3253,3326,3451,3450,3528,3564,3705,3915,3745,3552,3545,3383,3354,3664,4343,4471,3209,2159,2137,1805,1758,1767,1929,1837,2474,2967,2416,2404,3072,3398,3392,3458,3509,3684,3776,3684,3604,3791,3782,3478,3104,3522,3804,3725,3794,3577,3752,3910,3778,2357,2257,2667,2711,3068,3328,3438,3587,3175,2597,2998,3066,2514,2034,2108,2116,1946,2238,3168,3397,2820,2495,2813,3008,2710,2385,2810,3043,2991,2454,2474,2486,2044,1962,2334,3118,3530,3506,3437,3683,3239,2785,2569,2764,2921,2404,2640,3188,3286,2843,2018,2412,3651,3872,3117,1917,2211,3055,2940,3312,4031,4034,3596,3020,3028,3254,3208,3762,4460,3952,3591,3440,3361,3391,3427,3580,3672,3552,3526,3940,4260,4427,4395,3947,1835,712,591,642,608,583,579,566,568,538,477,480,470,482,511,541,599,617,611,651,705,692,679,739,738,645,641,599,550,570,532,493,455,426,416,399,382,372,355,343,324,311,290,280,272,278,285,299,299,294,291,293,291,320,347,339,396,375,402,467,490,495,507,532,577,623,696,736,707,836,917,868,1066,1124,1102,1348,1542,1405,1248,1380,1382,1462,1402,1263,1160,1065,988,919,859,799,755,728,714,699,681,665,650,634,619,595,603,625,624,608,591,572,562,562,559,546,538,537,529,519,506,511,526,531,540,539,533,528,533,541,534,609,731,1106,1642,1987,1930,1929,1936,1752,1509,1308,1248,1077,1045,890,788,721,666,620,611,626,646,665,687,686,660,641,634,643,697,771,767,756,736,693,643,588,583,618,648,671,705,724,781,858,879,898,1064,1231,1194,1081,1087,1081,1082,1137,1252,1466,2228,2808,3674,4329,4504,3952,3353,3853,4301,4472,4247,3738,3937,4034,4257,3977,3739,3834,4538,4644,4300,4169,3918,3635,3526,4524,4176,3883,3698,3119,2578,2443,3010,3539,3616,3320,2054,1068,676,594,550,503,475,469,461,450,430,411,394,381,367,354,342,336,329,328,322,321,325,321,318,317,317,312,313,310,302,306,307,304,310,314,314,314,310,306,300,300,292,293,286,289,287,292,296,300,307,306,314,320,322,320,314,315,316,316,317,317,321,319,318,314,302,300,315,315,302,287,276,269,274,278,291,309,323,342,346,340,342,335,339,357,373,387,403,419,440,450,453,465,483,504,498,482,489,489,493,494,480,463,465,486,489,480,475,475,543,610,599,579,551,597,545,492,483,479,493,484,450,426,410,399,401,406,406,402,396,390,384,375,369,363,361,370,380,382,386,388,378,367,350,337,330,321,309,304,292,285,279,271,280,287,292,298,299,295,292,291,284,286,284,284,285,290,292,291,298,305,307,315,319,321,322],[2899,2859,2333,2902,3043,2864,2210,2022,2184,2445,2761,2727,3003,3120,2987,2762,2663,2986,3265,3449,2981,2711,3399,3956,3920,3671,3140,2522,2460,2003,2776,3131,3316,3404,3520,3564,3397,3254,3421,3628,3104,2962,3040,2965,3282,3012,3606,3582,3163,3231,3186,2914,3165,3195,2684,2285,2255,1941,1994,1594,1660,1819,2443,2070,1651,1735,1857,2270,2318,1711,2020,1946,2026,1709,1609,2072,1857,1661,1615,1802,2335,2477,2374,2343,2485,2813,3091,2902,2850,2514,2324,2417,2620,2839,2349,1936,1932,1820,1816,1591,1533,1706,2147,2116,1810,1820,2036,1996,1875,2080,1957,1841,1856,2281,2718,2356,1935,2098,2249,2090,2665,2969,2496,2284,2822,3056,2238,1967,1835,2556,2476,2189,2396,2647,2447,2206,2569,2376,1924,2047,1964,1773,1674,1699,1898,1806,1670,1808,1943,2240,2601,2659,2349,2370,2439,2319,2340,2225,1983,2194,2507,2818,3031,2730,2024,1966,2375,2485,2688,2457,2109,1868,2188,2295,2062,1842,1732,1770,1735,1905,1827,2065,2389,2087,1862,2156,2337,2259,2299,2437,2105,1916,2118,2168,1635,945,1265,1645,1666,1700,1975,1875,1636,1854,2194,2022,1837,2276,2505,2305,1973,1582,1862,1956,2312,2506,2007,1752,2026,2185,1887,1932,2021,1775,1571,1697,1736,1638,1840,1897,2128,2926,2750,1925,1697,1955,1966,1862,2199,2233,2031,1998,1617,1360,2098,2618,2432,2291,2381,2620,2218,1381,1820,3182,3728,3130,2955,2598,2316,2203,2407,2142,2476,3392,3710,3719,4249,4320,3824,3617,3677,3840,3775,3317,2862,2398,2208,2565,2885,2495,2111,2056,1574,1788,2494,3122,3529,3718,3630,3344,2951,2463,2233,2490,2732,2614,2439,2596,2820,3007,2871,2224,2521,2732,2441,2377,2493,2521,2398,2501,2604,2547,3013,3188,2889,2484,2819,3621,3870,3439,2500,2069,2232,2028,1735,2728,3037,2541,2878,2651,1741,1417,2265,2531,2083,2120,1997,1801,1822,2039,1730,1822,2319,2727,2531,2081,1652,1614,1901,2248,3098,3727,3635,3373,2533,1765,2201,2897,2952,2777,2950,3093,3252,2538,2099,1845,2122,2084,2084,2374,2202,2168,2048,1915,1921,1636,1627,2114,2552,2253,2210,1767,1528,1409,1880,1917,1776,1933,2176,2040,1737,2007,2512,2395,2085,2248,2750,3214,2910,2318,1909,1659,1723,1706,1425,1455,1482,1555,1750,1653,2000,2063,1726,2353,2588,2423,2477,2209,2452,2680,2303,2490,2903,3087,2536,2108,2123,2688,3046,3039,3124,3061,3295,3328,3770,4214,3884,3241,3029,2705,2617,2786,2778,2502,2719,3232,3221,3140,2755,2294,1907,1812,1837,1984,2061,2092,2535,3098,3439,3541,3372,3030,2632,2688,3196,2417,3044,2807,2819,2891,2267,2275,2873,2823,2950,3265,3313,2768,2895,2385,2224,3230,4040,4337,4120,4042,4073,3706,3285,2983,2834,2831,2732,2240,1898,1949,2097,2619,3173,2729,1971,1848,1988,2340,1820,1533,1527,1661,2151,2184,2335,2501,2434,2337,1940,1737,1653,1840,2122,2201,1875,2310,2318,2166,2207,3041,3317,2292,1775,1732,1738,2156,2894,2905,3134,2852,2578,2753,3249,2719,1954,2066,2463,3183,3859,3757,3496,3335,3383,2972,2630,2635,2740,2887,2869,3123,3466,3511,2858,2591,2159,1985,2138,2022,1838,1628,1764,2166,2039,1621,1583,1710,1627,1768,2320,2640,1770,1619,1919,1883,1715,1857,2209,2601,3068,3087,2811,2200,2121,2519,2062,1666,2014,1913,1428,1849,2453,2361,2157,2383,2980,2444,2316,1675,2111,2072,1586,1642,1732,1521,1864,2536,2481,1845,2337,3166,3361,3093,3194,3329,3304,3265,3300,3331,3342,3329,3247,3272,3445,3702,3152,3648,3486,3486,3267,3098,3034,3084,3260,3072,2879,2850,2203,2274,3331,3730,3077,1818,1036,861,1447,2028,2145,1853,1697,1632,2231,3578,3727,3605,3528,3472,3619,3588,3553,3627,3656,2922,1740,1580,1594,1528,1476,1459,1391,2226,1796,1313,1484,1722,1805,1957,1922,1857,2827,3043,2300,1902,1863,1596,1488,1521,1768,1831,1759,1677,1645,1493,1576,1529,1560,1592,1610,2293,2658,1857,1657,2111,2171,2153,2208,1976,2014,2274,1930,1744,1649,1913,2310,2770,3580,3803,2834,1886,1779,2165,1687,1654,1817,1827,1735,1494,1521,1544,1571,1682,1634,1547,1617,1592,1622,1951,2133,1761,2140,2203,2329,2635,2585,2834,3211,3337,3684,3850,3572,3383,3348,2919,2984,2743,2988,3156,3067,3161,2801,2248,1919,1890,1935,1867,1610,1599,1736,1850,1682,1909,2066,1968,1667,1509,1728,1914,1846,2124,2501,2316,1765,1415,1479,1697,2267,2385,1780,1422,1821,1779,1699,2072,1594,1696,1826,2308,1949,1595,1764,2243,2442,2083,1987,1946,2276,1831,1656,1645,2185,2240,2029,1863,1739,1523,1564,1610,1544,1917,2060,1578,1664,1967,1742,1484,1602,1753,1663,1666,2282,2806,2776,3067,2824,2390,2157,1599,1569,1997,2248,2107,1991,1786,1849,2622,3653,3254,2025,1926,2376,2835,2874,2813,2524,2235,1835,2009,2210,1772,1903,2065,2284,2526,2418,1791,1880,2788,2636,2916,3034,2272,2457,2308,2383,2280,1606,1908,2676,3450,3686,2894,2597,2642,2495,2153,2342,3038,2836,1970,2155,2578,3093,2937,2942,2609,1919,1681,1710,2227,3131,3808,3574,3234,2711,2215,2265,3036,3752,3760,3778,3647,3334,3249,3036,2927,2879,2765,2783,2853,2999,3230,3238,3283,2896,2299,1925,1832,1796,1845,1967,2113,2044,1985,2280,2920,3075,2746,2395,2373,2757,3089,3023,3057,2908,2933,2757,2293,2906,2820,2388,2398,2587,2363,2368,2260,2378,2166,2470,1864,1388,1471,1741,2103,2058,1974,1960,2492,3608,3410,2790,3013,2832,3161,2557,2519,2669,2983,4006,4645,4732,4929,4444,3491,2752,2743,4083,4805,4229,3395,3442,3760,4004,3963,3780,3444,3317,3272,3442,3497,3462,3026,2987,3474,3794,3632,3134,3261,3085,2459,2895,3124,2463,2711,2955,2796,2666,2847,2976,2385,2388,2658,2410,2643,2597,2127,2495,3458,3994,4060,3901,3816,3714,3486,2899,2546,2665,2613,2688,3005,2974,2754,2975,3218,2900,2664,2746,3308,3726,3458,2843,2756,3153,3605,3878,3495,2957,2972,2869,3243,3406,2713,2563,3032,3174,2403,1776,1704,1672,1737,1826,1904,2590,2910,2491,2272,1825,2481,2452,2654,2878,2017,1991,2403,2103,1602,1554,2541,4354,3956,2706,2602,2835,2388,2141,2677,3309,3498,3074,2625,2653,2389,2968,3514,2821,1867,1295,1517,1782,1669,1709,2568,3747,3526,3185,3176,2740,2707,2908,2156,1746,2203,3247,3521,2543,2340,3361,3780,3498,3534,4584,4735,3781,3155,3245,3892,4645,4878,4773,4440,4352,3415,2783,3155,3308,3506,3866,3874,3935,3194,2078,2032,2425,3317,3485,3417,2640,1871,1891,1856,1933,2420,2859,2928,2861,2804,2669,2403,2120,2525,3256,3935,4343,4528,4132,3430,3051,3051,3108,3173,3096,3198,3306,3554,3725,3805,3845,3631,3398,3255,3234,3438,3926,4344,3896,2668,3011,3059,2148,2002,2532,3171,3193,3442,3393,3123,3204,3312,3364,3318,3301,3414,3509,3717,3759,3862,3813,3784,3586,3305,3618,3729,3683,3388,3067,3642,3903,4043,3222,2598,3156,3429,3135,3405,3395,3027,2919,2585,2532,3110,3516,2952,2332,1947,1699,2185,3515,4009,3226,2407,2300,2650,2669,2985,3051,3088,3460,3256,2580,2041,1941,1858,1767,2452,2735,3181,3458,3793,3653,3247,3355,3608,3245,2929,3253,3163,3116,3205,2821,2345,3142,3415,3099,1733,1193,2339,2780,2965,3335,3476,3200,2940,3422,3938,4008,4384,4504,3978,3702,3558,3501,3443,3405,3670,4002,3803,3942,4044,3846,4199,4576,4441,2700,989,581,630,605,581,565,568,570,580,505,473,450,458,493,511,555,582,582,615,679,702,665,703,717,652,652,607,542,547,528,493,457,425,408,392,382,366,352,340,320,305,290,275,272,280,290,297,304,302,299,295,292,315,348,336,398,409,400,456,504,503,519,534,576,613,639,709,689,847,1290,1022,990,1329,1286,1271,1459,1572,1340,1305,1336,1421,1401,1263,1141,1042,968,908,835,774,739,708,688,669,662,654,640,614,591,567,567,591,602,584,567,553,550,547,545,538,532,529,529,524,505,504,510,517,522,527,522,529,543,549,577,727,1021,1429,1687,1724,1716,1836,1813,1693,1516,1333,1262,1188,1206,1157,1007,868,751,676,646,627,641,665,674,678,661,648,662,698,767,849,833,754,717,704,683,660,645,655,698,713,798,862,990,1091,1080,1108,1223,1290,1198,1049,1023,1010,997,1040,1135,1254,1705,2381,3093,3776,4189,3306,2652,3367,3752,4175,4172,3896,4211,4336,4324,4228,4109,4197,4515,4343,4036,3979,3284,3650,4487,5692,5385,4227,3782,3541,3474,3532,3342,3306,3313,2388,1219,778,628,545,503,482,460,452,442,429,415,401,383,369,356,348,342,331,330,325,320,324,323,324,324,317,318,311,305,302,295,298,305,312,310,308,309,309,305,305,299,292,294,289,287,289,287,289,292,295,295,302,308,311,315,314,313,317,316,320,322,323,324,324,324,316,302,300,302,310,297,282,274,274,279,279,285,306,318,337,344,342,342,346,354,366,383,398,405,415,432,441,447,477,499,503,494,488,485,484,492,493,480,459,456,472,486,478,489,490,519,632,624,605,550,576,564,504,486,461,475,475,449,426,407,407,401,403,407,401,395,390,385,380,378,372,368,375,378,374,380,377,379,368,350,336,332,325,317,307,301,288,285,281,278,286,290,293,301,297,294,291,290,292,283,285,287,288,294,297,301,310,310,315,315,320,320],[2491,2777,3034,2957,2360,2128,2272,2850,3222,3109,2979,2995,3726,3736,2998,2325,2610,2814,2717,2602,2041,2145,2989,3705,3968,3597,3044,3094,3279,3287,3760,3369,3300,3465,3584,3585,3440,3414,3532,3271,3000,3120,2864,2910,2915,2961,3558,3765,3328,3103,3107,2866,3435,3265,2718,2547,2994,2537,1878,1576,1841,1711,1659,1926,1621,1400,1599,2027,1920,1970,2656,2818,2652,2122,1731,1649,1627,1610,1510,1848,1934,2220,2369,2443,3364,3969,3562,2647,2054,2080,2394,2631,2629,2424,1981,1922,1826,1630,1659,1723,1576,1532,1947,2092,1746,1846,2232,1952,1824,2068,2081,1944,1980,2305,2522,2343,2023,2195,1952,2211,3094,2546,2210,2453,2846,2492,1758,1623,1781,2191,2352,2468,2692,2611,2530,2473,2656,2408,2338,2410,1985,1753,1709,1902,1952,1723,1650,1938,2092,1819,1791,1975,2088,2392,2458,2454,2143,2199,2499,2249,2204,2708,2937,2575,1923,2054,2037,2410,2978,3099,2736,2199,2294,2272,2155,1986,1773,1666,1777,1714,1751,2105,2314,2107,2335,2466,2336,2432,2496,2622,2236,1887,2396,2823,1974,1299,1964,2474,1996,1782,2034,2144,1890,1936,2164,1975,1960,2508,2501,2526,1931,1618,2060,2397,2504,2252,1873,1919,1937,1752,1768,2287,2410,2165,1797,1763,1814,1848,1949,1927,2117,2646,2375,1875,1712,1704,1756,1424,1874,2048,1988,2291,2265,2453,3235,3167,2464,2030,2046,2762,2614,1843,2179,3112,3419,3296,3249,3265,2598,2460,2708,2091,2276,3082,3715,3727,3760,4144,3802,3498,3601,3759,3298,2410,2152,2075,2165,2854,2641,1659,1581,1822,1917,2386,2362,2303,3104,3624,3496,3448,3234,2767,3043,3077,2832,2568,2522,2551,2839,3271,3150,2541,2357,2591,2252,2537,2637,2330,2416,2712,2876,2898,3038,2785,2467,2685,3521,3896,3917,4020,3580,2462,2121,1903,1985,2314,2172,2397,2994,3341,2952,1798,2034,2422,2481,2544,2047,1605,1796,1719,1536,1761,2541,3310,2834,1890,1321,1425,2110,2988,3463,3652,3491,3081,2314,1907,2403,2907,2730,2780,3072,3211,3108,2766,2428,1686,1646,1485,1802,2302,2598,2735,2350,2091,1837,1664,1733,2235,2458,2239,2084,1659,1679,1831,1927,1929,2098,2265,2008,1609,1718,2075,2337,2479,2358,2149,2552,2945,2480,1908,1846,1757,2102,2288,2066,1560,1517,1498,1791,1655,1664,1969,2129,2648,2908,2458,2370,2082,2062,2336,1958,2272,2344,2073,1937,1862,1810,2315,2986,3060,3269,3283,3340,3146,3848,4696,4592,3500,2787,2483,2193,2333,2498,2497,2888,3317,3288,3002,2585,2109,1857,1822,1923,2225,2467,2534,2419,2572,3032,3229,3016,3029,3053,3163,3010,2769,2998,3185,3154,2933,2524,2575,2894,3054,3243,3142,2897,2379,3062,2700,2853,3869,4132,4352,4308,4165,3824,3859,3730,3314,3299,2934,2098,1690,1934,1971,1703,1664,1723,1613,1566,1896,2411,2387,1738,1510,1525,1577,1688,1651,1808,2092,2344,2085,1864,1853,2146,2233,2164,2317,2392,2288,2222,2317,2279,2458,2479,2103,1931,2061,2316,2495,2753,2676,2408,2038,1739,1937,2385,2255,1587,1907,2122,2431,3127,3751,3814,3767,3682,2845,2402,2563,2830,2813,2459,2987,3554,3179,2646,2614,1919,1659,1846,1875,1846,1803,2094,2369,2122,1525,1550,1737,1818,2137,3013,2465,1511,1537,1800,1914,1744,1805,2183,2457,3118,3400,2727,2177,2370,2667,2116,1569,1540,1531,1404,1510,1912,2648,3199,2554,2321,2180,2146,1947,1939,1929,1614,1576,1642,1638,2426,3116,2633,2045,2944,3366,3485,3463,3419,3536,3614,3376,3296,3310,3247,3398,3430,3395,3457,3701,3474,3728,3659,3517,3386,3452,3517,3220,3120,2954,2889,3275,2456,1922,2632,3624,2967,1808,1052,859,1675,2156,2082,1782,1716,1645,2063,3330,3754,3670,3580,3555,3666,3615,3582,3660,3620,3186,1862,1562,1594,1539,1367,1036,1202,2054,1829,1387,1856,2518,2692,2829,2380,1829,2750,2756,2235,1946,1815,1539,1409,1477,1630,2079,1997,1830,1966,1677,1535,1576,1791,1525,1428,2651,3188,2718,2644,2165,2194,2272,2354,2710,2670,2655,2101,2016,1854,1825,2250,2654,3082,3393,3053,2153,2026,1965,1836,2029,2281,2144,1722,1521,1470,1440,1441,1357,1346,1570,1682,1766,2104,2302,2001,1559,1710,2036,2440,2598,2517,2590,2546,2625,3484,3992,3911,4107,4213,3438,2856,2402,2317,2310,2543,2786,2385,2603,2470,2288,2124,2203,1712,1640,1650,1664,1576,1947,2607,2633,2240,2065,1918,1876,1698,2136,2787,2192,1730,1622,1559,1998,2315,2049,1741,1406,1564,1433,1537,1941,1612,1721,1942,1945,1760,1844,1969,2291,2668,2668,2008,1924,1818,1421,1312,1619,2490,2293,1662,2073,2036,1543,1677,1764,1794,1825,1662,1579,2054,2390,1969,1719,1776,1788,1708,1534,1806,2205,2166,2327,2280,2194,2303,1736,1874,2440,2363,2251,2187,1687,1843,2079,2426,2498,1819,1900,2185,2411,2470,2097,2010,2167,1986,2663,3184,2471,2150,1938,2048,2461,2362,1873,2200,2670,2398,2597,2798,2318,2397,2308,2321,2259,1984,2282,2530,2740,2720,2609,2740,2764,2842,2419,2674,3626,3665,2905,2728,2955,3074,2937,2842,2734,2222,1748,1680,1822,2789,3862,3428,3232,2651,2281,2169,2643,3318,3567,3749,3728,3232,3481,3209,3028,3133,2921,2798,2907,3029,3195,3285,3394,3400,2740,1879,1824,1748,1898,2152,2256,1958,1768,2044,2541,2895,2915,2566,2331,2529,2972,3023,2678,2358,2404,2710,2421,2553,2841,2754,2683,2853,2613,2701,2387,2306,1693,1811,1644,1643,2059,1948,2162,2367,2061,2011,1959,3130,3649,2806,2371,2832,3438,3145,2998,3015,3107,3618,4271,4658,4820,4548,3537,2847,3021,4036,4715,4428,3863,3885,3509,3449,3745,3806,3850,3631,3230,3406,3318,3065,2731,3016,3162,2920,3244,3510,3244,2491,2465,3485,3928,3813,4058,3793,4052,3919,3586,2978,2332,2341,2184,1969,2097,2148,2665,3536,3803,3884,3957,3582,3038,2624,2646,2648,2834,3304,3401,3374,3316,3190,2909,2706,3019,3175,3122,2880,3070,3485,3470,3152,2868,3194,3179,3028,2351,2370,2600,2466,2696,2852,2887,2777,2818,2740,2216,1725,1780,1857,1650,1829,1746,2084,2410,2675,2283,1778,2240,2304,2288,2237,2075,2324,2519,2218,1925,1750,2122,3572,4400,3876,3451,3604,3687,3672,3587,3692,3597,2810,2281,2282,2165,2403,2696,2888,2552,1582,1522,1708,1717,1568,1968,2974,3411,3184,2893,2598,2745,2324,2100,2580,2934,3598,4060,3488,3041,3830,3875,3790,4239,4892,4896,4211,4011,4139,4405,4652,4175,4156,4124,4260,3769,3361,3332,3704,3876,3761,3763,3759,3508,2676,2350,2444,3188,2986,3750,3611,2953,2800,2927,3147,3264,3208,3067,2836,2830,2648,2450,2031,2275,3278,3951,4056,4082,3770,3166,2951,3046,3054,3038,3125,2967,2990,3353,3670,3862,3662,3419,3179,3112,3338,3368,3697,4183,4300,3939,4196,3639,2899,3128,3592,4013,4327,4188,3736,3518,3563,3573,3464,3281,3135,3129,3264,3452,3519,3623,3727,3732,3714,3641,3438,3547,3786,3552,3552,3902,3956,3273,2488,2217,2621,3296,2911,2752,2644,2686,2973,3256,2828,2439,2635,2791,2917,2864,2544,1952,2854,3550,2972,2364,2398,2919,3123,3448,3000,2911,3429,2961,2484,2407,2047,2292,1687,2298,2642,3458,3872,3632,3444,3297,3521,3718,3317,3333,3304,2901,3060,3157,3269,2293,2531,3130,3111,1975,1136,1823,2829,2986,3055,3341,3292,3416,3194,3266,3872,4397,4716,4665,4276,3896,3516,3450,3485,3657,4049,3982,4228,3896,3589,3945,4458,4744,3366,1451,676,790,677,610,559,549,571,605,542,463,440,460,488,497,542,609,608,606,651,708,664,679,706,672,641,596,554,528,512,496,457,427,406,389,373,361,348,337,317,302,295,283,280,287,299,300,302,300,305,301,327,352,372,359,392,433,415,434,499,498,524,546,589,627,634,735,752,749,1316,1418,980,1334,1392,1277,1388,1581,1537,1223,1207,1372,1381,1244,1124,1028,960,889,800,757,712,690,664,644,641,637,622,595,570,546,537,556,570,562,543,535,537,533,531,530,524,521,516,506,493,481,472,502,504,519,520,542,547,626,721,891,1274,1559,1578,1539,1606,1767,1716,1624,1497,1314,1235,1172,1296,1526,1441,1057,892,789,724,636,644,669,678,678,661,648,664,702,739,764,753,727,717,688,669,639,619,675,801,824,853,962,1038,1047,1116,1153,1229,1227,1129,1025,963,917,926,1005,1061,1132,1354,1842,2609,3221,3759,3528,2980,3056,3720,4249,4294,4163,4354,4367,4270,4272,4164,4251,4306,4177,3693,3907,3481,3014,3574,5248,5243,4271,3745,3291,3295,3419,3692,3487,2564,1327,808,667,612,518,467,469,448,439,427,414,405,397,379,366,354,344,336,331,326,322,324,325,322,324,323,320,314,314,308,301,291,293,307,313,310,305,307,307,301,300,301,295,293,290,286,287,287,287,288,290,294,293,299,303,310,309,312,314,317,312,314,321,322,323,322,314,301,293,296,301,297,284,277,280,280,278,281,295,305,321,330,334,344,351,357,369,380,390,408,421,423,434,473,505,514,525,516,489,479,481,483,490,485,470,459,474,482,478,479,497,501,609,642,616,592,572,563,535,493,459,461,468,449,431,411,403,398,408,414,406,401,398,399,390,383,379,374,372,372,370,366,369,372,369,355,337,332,326,320,313,303,297,292,281,280,290,294,296,298,298,298,290,290,290,290,289,289,293,296,298,305,307,308,315,314,315,319],[2206,2824,3057,2470,2250,2589,3064,3504,3617,3238,3187,3615,3714,3790,3254,2876,3067,2642,2543,2733,2728,2879,3209,3430,3693,3299,3175,3351,3448,3576,3641,3255,3049,3333,3248,3256,3348,3301,3430,3127,3031,3161,3105,3021,2863,2942,3229,3240,2987,2836,3114,3323,3576,3299,3300,3428,3912,3454,2569,2326,2135,1905,2055,2069,1611,1512,1647,1790,2088,2368,3189,3387,2702,2194,1857,1529,1741,1738,1568,2032,2258,2449,3201,2876,3448,4058,3330,2286,1689,1831,2316,2497,2407,2169,2062,2099,1646,1648,2000,1999,2016,1990,1716,1938,1918,2348,2668,2378,2188,1872,1951,2039,2373,2358,2256,2196,2132,2055,1794,1971,2544,2193,2759,2952,2947,2898,2258,1737,1573,1763,2173,2364,2424,2575,2766,2078,2249,2785,2587,2248,2302,2121,1874,1866,1665,1607,1658,1745,1769,1596,1514,1664,1725,1812,2087,2540,2396,2165,2457,2036,1737,2270,2798,2365,1781,2106,2333,2462,2553,2754,2655,2459,2703,2513,2118,1835,1657,1598,1831,1847,2014,2038,1958,1757,1697,1958,2041,2228,2366,3257,3125,2408,2121,1881,1732,1886,2776,2923,1980,1435,1769,2217,2118,1888,1929,1847,2122,3287,3579,3168,2156,1692,2062,2569,2418,1775,1770,1888,1959,1771,1950,2085,2311,1980,1795,1750,1693,1973,2093,1794,1805,1978,2392,2056,1924,1989,1673,916,1476,2314,2325,2244,2397,2846,2961,3142,2854,2324,2173,2625,2772,2828,3116,3057,2900,3638,4213,3541,2599,2618,2434,2160,2350,3320,3648,3429,3196,3132,3129,3273,3154,2678,2281,2098,2162,2412,2801,3184,2274,1852,2164,2280,2182,1883,1602,2047,2653,3149,3356,3586,3543,3363,3328,3299,3112,2808,2656,2739,2953,3105,3210,3090,2894,2557,2285,2946,2841,2540,2597,2698,2460,2414,2646,2666,2755,2888,3234,3102,3461,3818,4120,3413,2332,2092,2138,1724,1810,2412,2847,3174,2900,2007,2086,2233,2428,2229,1925,1996,1771,1605,1724,1750,2387,3344,3280,2444,1837,2093,2721,3166,3186,3191,3097,2529,1887,1816,2422,2794,2242,2463,2995,3409,2588,2331,2128,2001,1774,1448,1630,2200,2562,2675,2586,2013,1956,1851,1988,2268,2161,2181,2196,2234,2275,2182,2281,2676,2662,2169,1746,1779,2080,2093,2236,2713,2282,1608,1821,2102,1847,1810,1962,1762,2389,2168,2046,1637,1506,1539,1787,1753,1692,2338,2910,3011,2733,2241,2364,2423,2358,2603,2203,1918,1696,1607,1692,1725,1887,2280,2257,2251,2548,3238,3454,3249,3163,3621,3622,3014,2699,2670,2281,2329,2520,2467,3210,3772,3486,3020,2584,2174,2074,2023,2098,2501,2674,2832,2710,2831,2899,2966,2942,3084,3138,3123,3148,3206,3230,3282,2901,2692,2643,2349,2320,2680,2590,2393,2558,2590,2989,2762,2832,3975,4244,4246,4147,3961,3698,3687,3846,3920,3851,3106,1984,1537,1456,1617,1535,1479,1563,1521,1580,2047,2799,2398,1675,1473,1572,1610,1578,1620,1616,1705,1845,1936,1823,2050,2348,2106,1821,2194,2386,2214,2110,2540,2527,2205,1771,1952,2518,2477,2807,2846,2591,2184,1825,1703,1773,1733,2055,2283,1828,1933,2061,1636,1924,3418,4082,4065,4036,3531,2964,2908,2898,2607,1921,2736,3257,2843,2206,1900,1903,2010,1848,1712,1592,1855,2273,2414,2002,1697,1616,1737,1993,2512,3012,2324,1689,1713,1912,1876,1877,1925,2041,2391,3017,2734,2551,2460,2734,2621,1829,1577,1537,1399,1346,1437,1862,2501,2931,2301,1861,1975,2440,2198,1914,2029,1776,1512,1583,1987,2802,3176,2943,3041,3663,3626,3606,3526,3309,3228,3430,3555,3504,3460,3506,3563,3465,3550,3604,3516,3357,3518,3399,2931,2819,3216,3448,3388,2730,2764,2917,3520,2798,1593,1714,2513,2300,1666,1099,937,1697,2101,1968,1747,1671,1636,1915,3057,3707,3688,3589,3493,3608,3614,3593,3630,3570,3393,2083,1525,1576,1440,1202,762,1311,2229,1781,1498,2304,3320,3306,3199,2502,1807,2553,2587,1913,1791,1690,1373,1625,1931,2476,2682,2189,1881,1845,1655,1368,1470,1728,1543,1667,2482,2863,2589,2012,1557,1988,2025,2018,2203,2287,2602,2703,2358,1886,1709,2014,2090,1865,2399,2585,2083,2210,2080,2133,2060,2147,2165,1715,1516,1562,1625,1477,1389,1475,1526,1676,2039,2347,2334,1926,1715,2000,1993,1863,2117,2445,2181,2109,3155,3698,3937,3912,4020,4272,3560,2455,2007,1903,2167,2449,2784,2786,2809,2565,2238,2336,2391,2085,1663,1444,1848,1930,2286,2600,2329,1893,1913,1703,1705,1700,1846,1900,1729,1636,1544,1626,1786,1603,1469,1642,1573,1583,1596,1725,1758,1630,1732,1860,1869,1793,1896,2211,2666,3006,2745,2267,2042,1827,1686,1636,1751,1971,1742,1830,2314,1966,1461,1582,1698,1795,1810,1704,1627,2289,2439,1911,1763,1516,1351,1280,1198,1427,1782,1586,1614,1707,1776,1679,1568,1852,2273,2302,2542,2567,2148,1935,1864,1833,1800,1807,2437,2952,2403,2148,2382,2336,2222,2321,3216,3444,2723,2048,2142,2426,2425,2233,2159,2336,2174,2100,2222,2830,2661,2479,2491,2310,2314,1998,2104,2661,2768,2655,2498,2500,2509,3207,2640,2652,3271,3732,3195,2732,2669,2657,2918,2761,2955,2602,2371,2115,1895,2499,2974,3374,2980,2734,2771,2230,2283,2852,3187,3395,3707,3409,3540,3160,2996,2998,2829,2884,2983,2939,3062,3220,3183,3350,2948,2633,2613,2402,2232,2519,2661,2163,1771,1920,2126,2583,3090,2923,2677,2376,2405,2619,2695,2958,2636,2531,2665,2518,2676,3060,2565,2855,2666,2686,2429,1873,1873,2035,1960,2072,2593,2621,2220,2776,2547,2347,2512,2909,3609,3378,2800,3286,3449,3150,2980,2963,2965,3186,3787,4496,4865,4829,4085,3716,3049,3311,4244,4312,4151,3396,2164,2779,3835,3558,3282,3196,3078,3352,3421,3451,3582,3748,3699,3648,3320,2487,2362,2454,2786,3875,4473,4428,3934,3229,3654,3850,3780,3508,3085,2856,1893,1533,2027,3083,3374,3254,3459,3585,3659,3005,2261,2345,2843,3045,3293,3398,3199,3040,3240,3024,2507,2480,2909,3089,3176,3373,3530,3344,3195,3260,2742,2933,2453,2246,2098,2642,2608,2462,2616,2704,2507,2132,2438,2542,2237,1821,1771,1887,1742,2011,1937,1552,1619,1819,1694,2004,2343,2127,1988,1779,2635,2251,1620,1859,2189,1976,1802,2851,4324,4355,3693,3381,3901,4100,3745,3508,3044,2246,2123,2617,2363,2065,2347,2716,3108,2099,1593,1667,1691,1683,1707,2154,3106,3418,2709,2256,2452,2376,2959,3388,3086,3780,4464,4508,4170,4420,4255,3941,3979,4548,5007,4920,4668,4239,4436,4344,3517,3903,4034,4271,4211,4113,3935,3683,3441,3460,3623,3581,3549,3262,2443,2248,3146,3229,3792,4218,3980,3849,3880,3959,3520,2962,2945,2797,2939,2798,2599,2314,2462,2940,3316,3574,3405,3063,2814,2946,3108,3145,2842,2856,2965,3050,3143,3413,3647,3649,3403,3270,3361,3488,3331,3801,4178,4452,4373,4168,3723,3627,3740,3739,3751,3683,3539,3306,3295,3530,3407,3394,3313,3138,3101,3137,3207,3264,3417,3721,3675,3625,3325,2660,3205,3688,3826,3983,3981,3681,2967,2335,1985,2129,2619,1919,1865,2400,2998,3278,3252,2480,1620,1489,2473,3212,3425,3396,1875,1841,2383,2312,1900,1969,2866,3263,2974,2813,2997,2552,2062,2942,3337,2645,2459,1875,2168,2889,3702,3958,3521,3149,3210,3391,3596,2742,2640,2945,2896,2902,2885,3243,2618,2308,3295,3944,2856,1574,1740,2800,2795,2723,3141,3327,2924,2137,2506,3597,4124,4259,4627,4772,4553,4057,3868,3720,3685,4057,4071,4300,4100,3936,4069,4371,4760,4448,3474,2261,2095,1464,768,569,566,575,642,611,487,430,453,481,495,529,594,593,585,636,700,666,668,700,688,641,594,562,529,506,483,452,424,406,386,365,354,339,325,308,304,292,284,282,299,306,312,309,303,309,307,368,416,396,383,413,463,439,420,486,487,516,551,592,665,735,802,935,844,1104,1762,1200,1222,1416,1378,1405,1590,1682,1348,1161,1289,1345,1250,1088,1011,965,886,770,736,697,669,650,637,621,611,590,568,547,525,515,526,544,535,520,519,525,524,520,514,506,496,489,485,480,480,437,476,489,499,532,552,585,788,1049,1214,1349,1438,1420,1408,1503,1662,1637,1548,1460,1283,1215,1149,1266,1821,2092,1497,1064,837,770,675,676,684,684,682,675,654,652,669,697,721,729,718,732,696,689,683,694,808,1029,1075,954,988,1006,979,998,989,1095,1138,1082,988,919,898,919,976,1000,1021,1170,1476,2149,2855,3696,3833,3337,3698,3807,3812,4260,4355,4435,4435,4340,4131,4135,4228,4235,4291,4003,4062,3798,3449,4337,4940,4311,3407,2952,3195,3497,3718,3840,3229,1713,846,666,608,570,492,439,454,433,432,422,404,393,385,373,364,346,340,332,327,323,322,322,321,319,323,325,321,313,305,305,302,287,280,298,314,312,307,307,307,307,301,298,298,290,287,287,287,287,287,287,288,287,294,296,307,308,310,315,314,309,307,307,317,322,321,323,313,300,288,289,301,300,283,279,279,278,280,280,286,297,304,318,328,332,340,346,358,369,389,408,425,445,444,474,500,521,536,530,502,482,478,505,500,495,483,458,472,478,479,464,481,507,575,638,626,598,559,539,531,495,463,457,463,452,434,414,401,401,411,420,414,411,413,408,403,395,389,381,376,376,370,363,358,367,369,353,339,333,326,320,312,307,305,298,287,285,285,291,299,298,298,298,292,292,289,289,292,294,294,298,303,304,308,308,312,310,312,316],[1979,1969,2077,2514,3142,3163,2858,3176,3688,3119,2906,2984,3355,3560,2918,3211,3588,3082,3510,3683,3658,3199,3417,3110,2440,2544,2900,2976,3042,3162,3863,3553,3444,3379,3256,2773,3097,3146,3216,3089,2917,3064,3483,3531,3150,2957,2867,2932,2500,2465,2767,3068,3450,3630,3602,3732,4121,3767,3306,3084,2274,2320,2525,2051,1489,1323,1512,1802,1850,1901,2654,2635,1932,1499,1584,1828,2217,2183,1860,2076,2742,2596,2686,2684,3176,3626,2942,2405,2227,1953,2376,2642,2880,2524,2399,2155,1771,1884,2014,2293,2406,2372,1754,1832,1896,2346,2766,3318,2832,2044,1849,1936,2433,2686,2785,2313,2210,1985,1842,1823,2345,3024,3549,3215,3010,2755,2269,1815,1361,1779,2235,2493,2379,2939,2584,2047,2245,2503,2400,2161,2408,2425,1927,1895,1895,2020,1944,2036,2025,1836,1787,1968,1870,1723,1920,2251,2083,2151,2454,2021,1847,2110,2562,2600,2388,2414,2940,3356,2856,2641,3066,3188,3267,2745,2079,1843,1389,1627,1683,1826,1878,1475,1516,1856,1949,2200,1968,2370,2634,2952,3466,3134,2335,1669,1566,1978,2461,2388,1854,1437,1699,2026,2138,2092,1863,1708,2104,3204,3586,2944,2312,1946,1970,2094,1825,1528,1639,1768,1952,1957,1843,1908,1992,1637,1655,1677,1890,2229,1803,1820,2137,1970,2125,2062,1851,2118,1854,1321,1979,2723,1970,1851,2215,2932,2407,2488,2339,2123,2330,2435,2546,2874,2827,2187,2508,3627,4105,3489,2820,2563,2402,2129,2264,2901,2934,3050,3176,2971,3022,3407,2950,2128,1966,1973,2244,2984,2814,2831,2551,2321,2683,2555,2134,1563,1949,3009,3334,3421,3316,3369,3562,3408,3237,3117,2878,2769,2830,2955,2943,2841,3023,3175,3124,2679,2797,3153,3270,2845,2483,2517,2701,2534,2576,2813,2640,2511,2694,2574,3160,3603,3416,2502,2154,2545,2051,1655,1830,2078,2127,2521,2370,2373,2109,1891,2149,2214,2094,1865,1600,1683,1621,1590,2238,2824,3361,3242,2952,2942,2885,2790,2346,2157,2483,2357,1996,1970,2407,2461,2082,2137,3095,3011,2308,1887,1725,2121,1985,1970,2041,2526,2507,2250,1921,1584,1958,2110,2220,2237,1944,1983,2406,2589,2542,2763,3189,3714,3330,2366,1800,1715,1966,1958,2014,2032,1894,1762,1731,1709,1766,1835,1771,1744,1769,1762,2034,1819,1519,1675,1910,1942,1882,2104,2759,3283,3006,2443,2414,2667,2289,2366,2543,2216,1938,1740,1817,2187,2409,2410,1983,1969,1998,2581,3040,2853,2808,2989,3099,3225,2866,3041,2814,2475,2537,2712,3443,3629,2998,2540,2300,2146,1902,1814,1940,2190,2306,2746,2842,2955,2931,3052,3180,3153,3128,3066,3176,3389,3467,3363,2899,2675,2649,2132,2247,1963,1874,2248,2655,3157,3436,3294,2720,3437,4140,4232,4050,3683,3707,3669,3817,3884,3620,2717,1749,1398,1332,1629,1668,1586,1520,1412,1598,2103,2498,2215,1702,1541,1687,1619,1619,1665,1742,1759,1710,1638,1588,1768,1877,1767,1992,2230,2234,2318,2000,2106,1918,2115,2208,2308,2457,2212,2636,2890,2251,1741,1738,1866,2064,2046,1864,1968,2085,2002,2111,1953,2539,3528,3830,4176,4178,3683,3312,2797,2486,2545,2003,2352,2911,2653,1845,1807,2316,2204,1638,1706,1669,2203,2490,2540,2391,2233,1968,1836,1818,1975,2204,2324,1926,1922,2258,1976,2102,1809,1739,2269,2633,2861,2842,2199,2562,2626,1838,1526,1498,1497,1442,1485,1657,1708,1745,2005,1749,1691,2359,2082,1758,1888,1711,1525,1745,2338,2499,2607,2731,3328,3841,3882,3672,3432,3366,3029,3194,3564,3540,3504,3465,3271,3480,3739,3506,3197,3130,2979,3131,2994,2706,3002,3060,3111,2263,2373,2735,3313,2958,1882,1682,1778,1841,1617,1224,986,1596,1920,1872,1723,1672,1560,1768,2828,3631,3576,3506,3458,3592,3550,3508,3482,3444,3438,2353,1609,1535,1346,954,744,1704,2314,1729,1612,2541,3343,3385,3138,2366,1819,2354,2403,1688,1770,1667,1348,1782,2311,2764,2435,2377,1951,1826,1715,1528,1548,1599,1590,1679,1619,1868,2342,2086,1989,2057,2084,2071,2052,1854,2235,2690,2108,1761,1632,1793,1929,1879,1832,1849,1676,1575,1704,1893,1719,1707,1737,1594,1431,1675,1842,1709,2060,2603,2169,2030,2214,2243,1973,1608,1963,2354,2081,2102,2565,2019,2018,2276,3373,3679,3798,3813,3901,3876,2831,2056,1720,1771,2829,3200,3029,2821,2732,2733,2167,1978,2061,1832,1659,2186,2584,2178,2363,2267,1941,1899,1675,1576,1730,1631,1439,1846,1972,1654,1559,1570,1650,1679,1768,1908,1853,1738,1664,1735,1964,1904,1990,2061,1975,2117,1920,1880,2030,2162,2048,2040,1963,2108,2445,2340,1779,1587,1587,1578,1765,1594,1532,1555,1771,1760,1649,1588,1867,2418,2242,1495,1528,1450,1219,1158,1481,1887,1891,1594,1753,2195,2387,2127,1677,1689,1925,2121,2064,2180,2253,2095,2209,1919,1588,1699,2344,3019,2765,2501,2221,2570,2458,2353,2341,2625,2708,2151,1934,1899,1731,1838,2167,1958,1719,2008,2187,3154,2916,2383,2337,2470,2543,2049,2110,2899,2851,2790,2763,2566,1816,2054,2155,2520,2579,2736,2745,2994,2924,2386,2577,2494,2421,2221,2521,2214,2233,2512,2915,3479,3209,3034,3091,2339,2135,2464,3184,3505,3852,3780,3646,3175,2927,2897,2805,2940,3022,2849,2833,3118,3222,3187,3574,4019,3709,3178,2880,2930,3154,2750,2364,2402,2003,2341,2806,3002,2772,2225,2463,2688,2734,3146,2947,2492,2630,2677,2608,3052,3008,2944,2613,1900,1701,1920,2295,2402,2375,2509,2344,2754,2683,2722,2555,2128,3096,2421,2874,3509,3120,2574,2657,2984,2930,2796,2871,3046,3276,3986,4582,4891,4995,4564,3136,2609,3594,4263,4091,2724,2647,3551,4639,4508,4508,3938,3479,3481,3661,3626,3428,3451,3265,3500,3188,2244,2135,2445,2626,3620,4132,4374,3769,2964,2953,3333,3750,3156,2533,3169,2589,1938,1741,2209,2392,2524,2857,2825,2697,2306,2399,3003,3575,3869,3574,3161,2852,2467,2502,2579,2381,2390,2681,2829,2834,3016,3188,3033,2665,2702,2336,2174,1948,2136,2162,2373,2567,2670,2828,2728,2453,2215,2514,2311,2005,1643,1641,1716,1610,1826,1936,1875,2172,2114,1807,2281,2322,2186,1811,2091,3028,2172,1572,2206,2511,2128,2062,2250,3389,3851,3685,3536,3805,3681,3085,2846,2212,1864,2568,2974,2547,2164,2325,2993,3307,3028,2249,1815,1778,1746,1711,1859,2406,3081,3084,2668,2279,2403,2812,3080,3636,4059,4124,3920,4034,4464,4513,4433,4519,4827,4782,4760,4389,3903,3839,3527,3452,4005,4317,4328,4111,4112,4188,4077,3813,3710,3608,3509,3609,3499,2474,2368,3061,3255,3730,4139,4010,3936,4257,4427,4037,3489,2997,2976,3039,2889,2702,2577,2451,2448,3083,3588,3044,2981,2664,2731,2688,2668,2814,2911,3033,3124,3166,3474,3750,3887,3516,3308,3277,3301,3505,4050,4209,4324,4337,3860,3654,4059,3906,3671,3453,3082,3089,3408,3460,3441,3340,3526,3586,3442,3382,3288,3226,3197,3207,3528,3750,3776,3298,2996,3425,3706,3701,3853,3919,3538,3519,3098,2472,2371,2264,1703,1624,2426,2906,3165,3294,2855,2248,1900,2547,2599,3438,3505,2165,1756,1817,2208,2157,1826,2119,2767,2890,2829,2808,2518,2379,2722,3400,3429,2500,2100,2169,2471,3171,3448,3040,2977,3445,3329,3343,2166,1810,2180,2074,2319,2595,3049,3032,2401,2855,3846,3145,2301,1966,2320,2234,2512,2998,3310,2739,2285,2777,3440,3880,4123,4715,4736,4760,4472,4344,4136,3857,3773,3772,4172,4301,4369,4376,4253,4254,4840,4676,3785,3350,2933,1630,753,554,598,679,707,557,437,450,475,487,501,590,596,563,626,690,670,661,688,688,657,617,573,535,507,472,446,426,399,375,360,350,335,322,309,302,292,288,288,301,318,325,324,313,309,312,381,476,421,394,440,481,453,412,464,495,519,557,588,697,859,945,1140,1113,973,1938,1621,1223,1478,1605,1542,1592,1671,1450,1222,1195,1278,1208,1039,974,951,874,783,734,693,664,636,622,605,586,568,542,526,505,494,498,518,510,503,506,509,503,500,493,488,476,471,467,461,466,440,460,482,494,537,567,659,928,1165,1300,1334,1344,1327,1353,1432,1550,1571,1494,1384,1243,1266,1434,1441,1837,2370,1939,1290,988,844,727,717,717,703,694,664,642,627,637,669,685,733,842,1065,1101,993,938,941,1013,1071,1058,947,973,1001,1071,1056,1003,1056,1123,1084,971,916,897,908,936,933,933,1057,1211,1647,2284,3492,4229,4325,4604,4468,3845,4080,4612,4843,5052,5104,4756,4536,4720,4784,4674,4613,4728,4653,4519,4356,3804,3127,2295,2198,2425,2634,2592,2622,1938,1019,680,623,586,529,493,436,432,423,422,415,397,388,378,368,357,344,342,335,330,325,325,318,318,316,322,326,323,314,308,305,297,287,285,299,311,315,313,312,314,311,307,303,298,293,288,288,288,288,287,287,290,287,292,298,307,312,315,316,312,301,303,302,313,317,324,317,311,301,287,285,292,293,284,279,280,280,278,278,285,290,301,311,316,324,336,345,353,371,384,403,417,466,461,469,500,521,544,544,521,496,465,505,498,492,475,453,458,476,476,460,467,502,555,621,603,561,513,503,503,487,463,454,457,449,432,413,403,401,415,429,426,423,420,421,412,405,397,385,382,384,375,365,364,362,361,348,340,334,329,323,321,314,309,303,296,293,294,292,296,298,298,298,292,289,289,293,297,298,302,302,302,308,307,312,313,309,311,315],[2199,1921,2156,2653,3178,2706,2429,3017,3618,3834,3924,3500,3685,3584,2569,2488,2966,3039,3685,3597,3994,3372,2900,2789,2580,2646,2736,3042,2524,2530,3450,3397,3346,3250,3292,3186,3428,3414,3139,3071,2979,2966,3296,3589,3498,3024,2662,2492,2912,3090,3345,3212,3255,3654,3715,3804,4113,3530,2822,2855,2348,2044,2179,2276,2111,2154,2098,2066,1754,1426,2007,2360,2263,1808,1966,2106,2172,2167,1760,2007,2771,2537,1998,2108,2162,2849,2721,2607,2243,2135,2613,2890,2739,2841,3288,2930,2740,2924,2451,2744,3037,3078,2250,1910,1696,2045,2752,3328,3143,2348,1886,2415,2890,2408,2478,2293,2141,2093,1982,1935,2099,2788,3297,3081,2744,2613,2523,2232,1902,2438,2784,2750,2974,3374,2732,2366,2188,2206,2652,2414,2712,2486,2247,1967,1948,2153,2092,2424,2740,2184,1897,2197,2217,1973,2050,2146,1494,1426,1800,1749,1743,1920,2021,2260,2418,2426,2912,3323,2482,2260,2513,3244,2887,2296,1904,1606,1553,1698,1621,1808,1869,1654,1857,2264,2713,2210,1895,2070,2766,3130,3023,3031,2664,1846,1988,2341,2608,1973,2072,1932,1889,2263,2743,2621,2227,2030,2137,2482,2433,2195,1942,1733,1907,1838,1871,1781,1544,1705,2330,2478,2199,2212,2222,1829,1886,1897,2144,2263,1655,1882,1883,1800,1936,1902,2009,1958,1879,2152,2291,2093,1794,1817,2254,2844,2495,2247,1966,2015,2191,2035,2225,2618,2343,1902,2300,2692,3009,2957,2248,2108,2624,2181,1925,2458,2790,2852,3131,3333,3350,3895,3304,2389,2494,2266,2394,3109,2939,2876,2577,2007,2630,2854,2681,2248,2831,3182,2700,2806,2967,3007,3089,2919,2876,2919,2857,2989,2750,2815,2844,2830,2827,3213,3351,3352,3364,3440,3248,2767,2295,2150,2127,1900,1840,2216,2309,2807,3067,2280,2171,2668,2315,1938,2492,2303,1825,2154,2170,1524,1515,2089,2344,2333,2072,2044,2544,2555,1859,1867,1802,1682,1760,2102,2589,2641,2813,2813,2878,3069,2802,2257,1866,1835,2125,2515,2131,2082,2309,2335,2419,2050,2431,3000,2831,1902,1375,1477,1486,2018,2375,2600,2534,1980,1074,1383,2043,2194,2302,2330,2211,2299,2877,2902,3252,3908,4264,4331,3652,2680,1858,1528,1695,2025,2076,1946,1962,2019,2386,2368,2173,1913,2159,2337,2082,2048,2304,1968,1790,1973,1965,2055,2075,1850,2413,3430,3355,2586,2228,2254,2425,2912,2945,2669,2647,2701,2744,2875,2605,2249,2170,2153,2028,2281,2666,2985,3038,3256,3709,3762,3400,3588,3352,2741,2453,2796,3381,3039,2321,1857,2169,2284,1848,1814,1630,2074,2086,2740,3099,2657,2489,2908,3210,3267,3118,2817,2822,3154,3392,3279,2940,2843,2553,2487,2195,1224,851,1138,2175,3124,3376,3632,2840,2710,3563,4112,3782,3473,3642,3698,3731,3637,2786,1955,1621,1375,1395,1810,2055,1956,1729,1580,1748,2244,2680,2433,1850,1576,1456,1550,1583,1613,1714,1715,1669,1581,1565,1549,1613,1853,2010,2141,2221,2242,1911,1786,1644,2920,3370,2776,2233,2075,2714,2792,2028,1644,1736,1829,2012,1908,1636,1656,1822,1980,2020,2236,3209,3715,3588,4273,4320,4228,3680,2905,2598,2596,2139,1896,2046,1815,1829,2537,2777,2356,1578,1504,1669,2535,3062,2523,2167,2015,1954,2106,2115,1776,2298,2879,2159,2131,2232,2126,1869,1775,1816,2054,2311,2567,2307,2173,2626,2045,2069,1835,1589,1492,1440,1422,1412,1485,1607,1722,1678,1578,2253,1866,1743,1850,1564,1426,1670,1912,1765,1733,2148,2921,3320,3781,3606,3618,3730,3532,3107,3322,3475,3558,3422,3300,3558,3482,2954,3005,3025,2677,2920,3111,2569,2731,3071,2916,2060,1958,2585,3207,3025,1985,1706,1784,1704,1560,1296,1019,1506,1870,1869,1762,1646,1564,1671,2589,3505,3530,3443,3418,3498,3543,3526,3475,3262,2913,2126,1579,1411,1098,695,975,1980,2255,1674,1663,2862,3602,3578,3177,2329,1835,2486,2659,1746,1671,1582,1537,1602,2278,2503,2596,2281,1757,1818,1934,1876,1474,1428,1538,1538,1517,1611,1996,1795,1845,1820,2016,2186,1911,1660,1991,2299,2052,1987,1683,1922,2547,2106,1904,1880,1594,1383,1452,1471,1598,1679,1698,1721,1694,2512,2476,2015,2393,2657,2032,1587,1738,2149,1975,1574,1652,2225,2500,2452,2615,2244,2086,2115,2940,3514,3397,3609,3759,3058,2556,2543,2354,2565,2978,3185,2898,2631,2872,2851,2296,1898,1925,1891,1676,2421,2479,2167,2409,2287,2083,1862,1795,1681,1702,1798,1696,1931,2066,1665,1584,1624,1751,1890,1889,1813,1721,1660,1665,2060,2377,1791,1981,2360,2115,2469,2186,1924,1868,1697,1607,1627,1797,2137,2163,1978,1643,1573,1520,1586,1638,1719,1949,1742,1632,1695,1542,1639,1979,2027,1846,1501,1854,1833,2025,1787,1836,2444,2213,1863,1920,1894,1657,1932,1726,1549,1488,2003,1835,1977,2508,2770,2769,2233,1736,1962,1848,1934,2531,2142,1764,2073,2204,2471,2143,2054,2663,2698,1972,1903,1654,1752,2142,2333,2165,2130,2654,3448,3383,2744,2458,2714,3045,2676,2721,2859,2739,3068,3153,2646,2096,2472,3212,3649,2912,1964,2097,2721,2874,2840,2723,2348,2106,2112,2476,2433,2225,2579,3104,3053,3157,2814,2553,2138,2017,2292,3218,3735,3613,3465,3403,3041,2829,2938,2885,3008,3073,2929,2933,3222,3248,3278,4164,4497,3746,3325,3337,3205,3294,2741,2796,2631,1916,2103,2478,2912,2901,2604,3151,2991,2282,2641,3122,2613,2425,2809,2852,2907,3185,2580,2166,2013,2299,2391,2283,2317,2165,2462,2316,2338,2575,2036,1863,1928,2536,2270,2303,2950,3275,2791,2400,2640,2943,2741,2808,3029,3031,3395,4093,4709,4923,4229,3031,3037,3958,4372,4594,3594,3829,4165,4199,4408,4836,4671,4038,3308,3517,3770,2990,3096,2919,2797,2118,2116,2745,2911,3033,3408,3551,3458,3193,2691,2836,2873,3245,2618,2501,2591,3232,2839,2138,2084,2072,2093,1915,1583,2019,2584,3262,3512,3716,3894,3669,3261,2772,2306,2206,2351,2346,2281,2406,2579,2678,2539,2446,2490,2441,2723,2589,2196,1970,2017,2094,2054,1982,2282,2540,2821,2414,2372,2455,2047,1784,1687,1721,1693,1676,2138,2499,2221,2061,1778,1509,1764,1894,2321,2133,2424,2593,2012,1809,1794,1635,1655,2238,2205,3039,3707,3509,3571,3638,3194,2376,2214,2013,2032,2980,3107,2842,2842,2540,3137,2922,2597,2313,2494,2734,2666,2898,2923,2619,2801,2841,1666,1017,1582,2205,2569,3182,3960,4184,3815,4033,4376,4213,4202,4100,4461,4020,3947,3664,3429,3405,3470,3792,4170,4230,3978,3861,3926,4141,4112,3797,3631,3398,3271,3342,3352,3103,3216,3465,3609,3934,4056,3904,3936,4248,4445,4488,4096,3481,3278,3238,3042,2965,2922,2736,2388,2535,3052,3047,2996,2534,2405,2388,2596,3066,3175,3175,3197,3234,3454,3422,3310,3416,3159,3105,3178,3457,3804,4041,4161,4091,3884,3886,4309,4145,3619,3431,3312,3338,3437,3451,3479,3541,3653,3741,3770,3692,3486,3265,3270,3231,3391,3585,3846,3828,3683,3745,3803,3665,3873,4001,3255,3087,3647,3325,2832,2473,2130,1977,2542,3075,3151,3526,3620,3438,3146,2899,2603,2954,3438,2922,2047,2185,2644,2388,2336,2573,2857,2985,2958,2724,2742,2503,2393,2486,2963,2730,2439,2513,2352,3242,3370,2646,2573,2576,3084,2899,2047,1752,1885,2033,2225,2213,2455,3052,2773,2241,3089,3282,2836,2353,2534,2918,3109,3108,3127,3032,2925,3099,3208,3708,4435,4910,4832,4833,4781,4672,4548,4178,3731,3940,4373,4446,4445,4186,4252,4243,4332,3984,3665,3514,3418,2670,1395,575,625,730,724,556,431,431,478,496,498,576,593,556,605,674,678,655,679,676,656,626,585,538,503,471,437,416,396,375,357,344,332,318,305,300,293,290,298,311,328,335,335,320,313,321,386,539,479,407,430,449,454,426,447,504,526,551,593,689,952,1116,1516,1476,1009,2068,2089,1429,1494,1735,1659,1566,1709,1541,1282,1164,1237,1187,1029,936,910,832,795,750,673,649,616,601,588,563,544,524,509,491,475,476,487,490,492,491,491,491,487,482,476,467,494,476,459,456,450,455,464,485,530,588,743,1042,1146,1186,1156,1238,1256,1269,1317,1421,1513,1450,1322,1223,1288,1710,1851,2186,2415,2140,1524,1145,933,776,737,771,767,730,679,637,609,622,649,680,749,1108,1542,1507,1323,1186,1049,994,998,1075,950,954,1092,1160,1134,1086,1056,1093,1071,959,930,902,896,917,880,877,947,1057,1267,1658,2590,3717,4257,4420,4730,4885,5084,4668,4173,4169,4157,3745,3548,3659,3609,3826,4233,4060,3595,2943,2542,2426,2107,1591,1711,1812,1590,1530,1325,909,682,586,572,540,510,489,448,410,403,410,408,397,381,369,362,356,347,341,335,333,325,316,316,317,320,320,324,321,311,305,305,301,285,286,297,304,310,313,314,310,314,315,307,299,292,288,288,287,287,287,287,287,289,292,300,306,322,321,323,311,304,296,299,304,306,314,313,304,295,287,276,282,281,283,278,277,279,270,275,285,291,301,308,319,328,333,343,354,370,376,402,423,468,493,483,481,518,532,540,522,505,477,495,494,482,468,450,452,472,480,458,455,502,542,603,573,527,487,474,486,481,460,448,445,436,431,417,407,398,410,428,437,430,428,429,426,417,407,396,388,383,375,366,358,355,354,348,337,328,325,325,325,315,311,304,298,297,298,295,296,298,296,297,296,292,287,297,293,300,303,306,308,305,309,314,315,314,314,317],[2603,2463,2714,2801,3175,2948,3208,3395,3473,3850,3430,2898,3614,3527,2592,2317,2789,3226,3444,3356,3630,3209,2609,2901,3340,3399,3515,4019,3497,3302,3488,3139,2989,3440,3486,3350,3499,3340,3351,3310,2989,3269,3740,3871,3828,3326,2997,2963,3522,3670,3399,3184,3542,3626,3685,3720,3710,3001,2438,2409,2154,2006,2482,2975,2954,2626,2418,2437,2061,1786,2549,2742,2556,2120,1914,1914,2121,1935,1494,1687,2171,2056,1831,2198,2307,2442,2529,2487,2373,2258,2336,2609,2753,3324,4005,3930,3447,3466,3452,3377,3334,2789,2492,2354,1660,1910,2741,2885,2730,2339,2102,2240,2078,1879,1958,2210,2157,2031,2065,1822,1445,1812,2969,3353,2634,2551,2929,3053,2476,2618,2921,2826,2990,2974,2568,2028,1860,2142,2902,3050,2756,2163,1981,1732,1672,1806,1838,2115,2324,2312,2180,2186,2091,2181,1913,1993,1976,1481,977,1370,1593,1583,2022,2221,2005,1901,2385,2596,1839,1685,1610,2329,2526,2061,1786,1493,1604,1649,1780,2198,2116,1898,2060,2107,2330,1942,1794,1825,2228,2994,3264,3372,3168,2366,2502,3228,3444,2383,2127,2044,1790,2375,3177,2989,2452,2231,2304,2256,2102,2537,2260,1937,2190,2142,2351,1954,1698,2115,2410,2350,2092,1981,2009,1882,1765,2034,2220,2712,2094,1783,1698,1557,1332,1556,1922,2057,2192,2258,2316,1980,1853,1772,1841,2237,2261,2259,2277,2204,2581,2619,2108,2170,2293,2464,2387,1946,2256,2343,1931,2712,3354,2743,2468,2866,2877,2587,3194,3738,3200,3542,3930,3230,2570,2318,2630,3117,3050,2840,2498,1687,1951,2455,2405,2340,2393,1899,1765,2391,2730,2964,2920,2617,2788,2900,2690,2658,2162,2706,3038,3229,3111,3133,3465,3603,3340,2646,2348,2277,2061,1908,2109,1395,1551,1587,1716,2898,3080,2187,1826,1859,1842,2624,2919,2489,2210,2655,2323,1608,1842,2008,1924,2076,2120,2089,2408,2040,1902,1916,1854,1638,1503,2091,2620,2444,2602,2676,2359,2684,2817,2523,2210,2224,2153,2324,2058,2003,1953,1964,2136,2119,2496,3415,3288,2719,2275,1690,1638,1956,2000,2172,2476,1675,1054,1540,1947,2135,2040,2172,2160,2856,3287,3384,3467,3540,4045,4232,3688,2920,2314,1872,1818,2019,1769,1984,2156,2864,3495,3437,2963,2603,2680,3034,2968,2764,2611,2031,1832,1881,1910,2289,2392,1960,2346,3220,2842,2097,1960,2101,2679,3061,3046,3149,3618,3858,3634,3060,2290,1943,2362,2619,2470,2907,3414,3451,3408,3575,3572,3528,3508,4016,3840,3127,2630,2866,3427,2983,2154,2087,2807,2662,2170,1722,1642,2053,2001,2547,2464,1727,1881,2322,2702,2940,3081,2677,2574,2843,3061,3050,2928,3074,2558,1754,1876,1638,1116,1012,2259,2962,3474,3703,3207,3100,3278,3460,3544,3427,3521,3684,3673,3459,2648,2377,1919,1486,1456,2031,2569,2670,2392,2164,2246,2159,2834,2417,1761,1597,1583,1568,1677,1571,1548,1688,1730,1659,1810,1875,2376,2387,1914,2059,2153,2025,1830,1874,1676,2117,2718,2647,2575,2632,2426,2002,1678,1533,1510,1813,1958,1736,1640,1649,1814,1829,2125,3010,3658,3632,3548,4036,3868,4140,3962,2998,2304,2282,2283,2248,1982,2218,3262,3470,2702,1879,1501,1652,2134,2867,2917,2380,2058,1843,1825,1958,1918,1656,1774,1938,1835,2060,2180,2199,1943,1707,1626,1764,1980,2304,2200,2545,1908,1450,2024,1822,1459,1448,1438,1317,1305,1426,1502,1421,1490,1625,2281,1980,1948,1910,1788,1822,1786,1594,1491,1729,2030,2454,2770,3089,2895,3248,3608,4006,3632,3215,3326,3485,3260,3215,3339,3253,2944,2813,2844,2609,2639,3185,3370,3217,3108,2666,1941,1945,2534,3194,3150,2145,1723,1707,1710,1611,1406,1136,1412,1897,2042,1925,1644,1585,1583,2307,3208,3388,3358,3270,3085,2807,2474,2164,1961,1716,1384,1370,1167,741,662,1573,2558,2110,1533,1988,3205,3715,3549,3138,2257,1945,2715,2688,1592,1673,1682,1540,1788,2364,2469,2288,1696,1415,1534,1750,1694,1466,1570,1654,1472,1636,1820,1589,1655,2142,2083,2115,2001,1756,1870,2049,1758,1690,1618,1386,1904,2373,2203,2114,1681,1700,1965,2002,1906,1715,1651,1784,1805,1865,2107,2208,2152,2021,2075,1910,1792,1864,2161,2503,1881,1599,2415,2600,2536,2486,2452,2514,2580,2940,3119,3089,3350,3387,3023,3514,3457,3023,2766,2934,3204,2951,2820,2656,2202,2204,2066,1926,1946,1856,1876,1663,1719,1931,2110,1940,1677,1779,1770,1716,1826,2167,2321,2160,1728,1745,1866,1809,1736,1694,1606,1567,1506,1473,1712,1816,1741,2164,2432,2230,2344,2258,2268,2278,1934,1614,1610,1838,2386,2061,1919,1746,1625,1494,1334,1218,1478,1679,1562,1480,1550,1409,1704,1973,1887,1647,1574,1642,1932,2375,2086,1930,2357,2394,2610,2519,1926,1237,1444,1766,1838,2007,2226,2223,2375,2707,2790,2834,2526,1973,2421,2664,2513,2587,2285,1871,2076,2710,2895,2193,1938,2042,2243,2031,2466,2253,1983,1974,2060,2225,2584,3139,3544,3273,2827,3043,3208,3001,2822,3140,3407,3181,3189,3239,2640,2388,2610,3603,3785,3152,2104,1757,2225,2432,2590,2404,2354,2132,2113,2553,2493,2596,3174,2962,2064,2351,2485,2196,1998,1974,2102,2962,3662,3554,3570,3592,3124,2755,2885,3066,3144,3094,2973,3039,3072,3044,3118,3723,4501,4773,4147,3616,3331,3393,3585,3504,2922,2091,1964,2155,2430,2620,2768,2864,2426,2441,2990,2820,2577,2405,3105,3465,2829,2501,2262,2125,2270,2427,2253,2490,2258,1999,1960,2386,2112,2480,2255,2208,2686,2468,1895,2530,2845,2619,2734,2483,2388,2750,2824,2764,2940,2961,2959,3499,4176,4086,3369,3472,2872,3249,3539,3750,3006,2933,2979,2683,3198,4268,4772,4305,3394,3792,3648,2552,3082,2834,2119,2218,3034,4045,4104,3828,4128,3702,2708,2884,2571,2022,2071,2684,2338,2218,2345,3156,3152,2228,2354,2360,2074,2114,2252,2835,3082,3207,3685,3979,4203,3984,3475,3018,2624,2391,2403,2523,2500,2513,2388,2315,2317,2300,2345,2301,2730,3007,2534,2069,1902,1896,2020,1953,2137,2195,2401,2146,2030,1959,1781,1720,1736,1691,1662,1814,2719,2808,2275,1576,1778,2226,1974,1939,2136,2160,2526,2302,2010,1720,1410,1683,1633,1907,2126,2707,3064,3353,3370,3221,3120,2553,2198,2436,2690,3253,3022,3041,3408,3303,3039,2353,1937,2155,2934,3804,3708,3608,3476,3215,3486,3300,1734,1823,2396,2460,2906,3742,4201,3889,3674,3974,3877,3660,3742,3391,3414,3382,3414,3286,3138,3312,3807,4091,4313,4082,4034,4048,3896,3890,3583,3476,3465,3383,3552,3711,3530,3493,3552,3177,3198,3781,3945,3797,3896,4264,4468,4667,4555,3892,3482,3472,3304,3330,3220,3195,2656,2379,2825,3029,3017,2824,2554,2380,2564,3019,3082,3108,3085,3076,3066,3061,3016,3167,3121,3085,3161,3305,3640,3917,4181,4070,3783,3928,4083,3601,3186,3572,3636,3515,3479,3499,3517,3632,3701,3724,3820,3704,3336,3143,3212,3203,3332,3527,3638,3569,3513,3636,3807,3773,3936,4028,3488,3422,3955,3817,3501,3341,3013,2445,2556,2797,3021,3675,3914,4139,3752,2886,2302,2140,2690,2834,2324,2569,3057,2652,2514,3072,3098,2617,2820,2781,2592,2541,2636,2640,2424,2081,2264,2721,2455,3371,3328,2622,2458,2552,2619,2684,2634,2167,2210,2468,2196,2529,2683,2954,3041,2667,2967,3444,3022,2611,3060,3122,3220,3430,3090,3139,3386,3167,3609,4071,4665,4893,4356,3826,4104,4505,4508,4163,3894,3984,3943,4125,4231,4330,4420,4062,4216,3949,3684,3602,3431,3154,2358,1229,1024,879,710,515,440,444,469,503,516,553,586,553,576,651,679,645,655,646,633,620,588,535,494,461,429,404,387,373,354,338,328,315,301,302,303,303,307,316,328,336,334,334,325,343,407,592,573,446,408,411,435,449,439,466,481,532,604,655,1063,1192,1930,1949,1237,2114,2504,1642,1476,1668,1634,1521,1694,1574,1321,1153,1154,1147,1023,906,867,815,772,719,638,613,588,578,574,556,530,512,503,484,459,453,464,472,474,480,487,487,476,469,477,474,502,484,455,446,442,458,468,510,570,656,851,1062,1115,1133,1094,1127,1182,1207,1246,1315,1485,1444,1342,1387,1398,1695,1890,2059,2234,2170,1826,1362,1034,864,773,811,760,704,663,628,613,634,662,661,813,1327,1591,1402,1158,1028,890,866,904,1022,974,958,1115,1175,1122,1075,1034,1117,1148,962,918,876,874,869,838,837,885,970,1103,1346,1766,2139,2431,2867,3374,4180,4180,3413,2863,2952,3194,2952,2503,2266,2261,2492,2939,2678,2388,1958,1765,1780,1549,1298,1516,1582,1396,1352,1100,829,638,562,541,517,495,479,444,406,389,399,395,387,379,371,357,351,340,341,337,332,325,320,312,311,314,317,316,319,312,306,299,291,290,290,294,305,307,307,315,314,313,309,303,295,288,285,286,286,287,287,287,288,287,290,301,312,320,328,322,312,299,290,291,294,298,305,307,299,293,287,279,276,274,272,276,279,274,274,279,281,290,301,304,318,327,334,352,382,397,399,416,457,485,494,493,467,514,529,536,519,503,491,487,476,469,458,443,441,463,485,464,451,490,537,583,554,517,491,479,477,467,456,447,440,432,424,417,406,397,409,433,443,441,440,438,435,416,404,391,376,374,371,367,357,356,350,344,336,328,323,324,321,325,318,306,302,302,305,303,301,302,296,294,295,296,294,295,295,300,300,305,306,307,313,311,315,319,317,318],[2720,2546,2865,2941,3083,2474,2333,3164,3425,3366,2918,2967,3754,3464,3010,2276,2596,3244,3430,3145,2768,2601,2625,3032,3496,3654,3909,3574,2945,3175,3140,2776,2995,3535,3112,2801,3182,3159,3183,3139,3144,3713,4120,4160,4014,3535,3052,2964,2956,2963,3041,3175,3406,3531,3571,3445,3043,3011,2840,2100,1731,1788,2368,3248,3278,2630,2109,2404,2281,2006,2002,2051,2006,1865,1895,1897,1850,1800,1884,1750,1864,2088,2268,2462,2442,2299,2436,2277,2072,1896,2084,2958,3188,3487,3851,4019,3365,3178,3499,3443,3251,2489,2193,2238,1568,1566,2720,3032,2161,2167,1966,2040,1857,1707,1873,2393,2136,1766,2046,2072,1641,1588,2338,2921,2685,2961,3404,3327,2798,2796,2964,3142,3095,2856,2708,2057,1896,2029,2606,2678,2024,1767,1936,2006,1907,1726,1592,1709,2030,2339,2580,2278,1809,2053,1993,1957,2044,1540,982,1275,1597,1918,2145,2114,1958,1590,1685,1681,1770,1678,1628,2243,2263,1889,1685,1641,1663,1682,1944,2035,1996,2219,2289,2300,2192,1829,2034,1981,1698,2292,3110,3221,3140,2824,2810,3032,2579,2250,2327,2133,1939,2501,3078,2314,1782,1849,2061,1897,2169,2641,2356,2204,2274,2266,2183,2224,2083,2093,2219,2123,1778,1862,1598,1579,1807,1856,2500,2808,2140,1726,2155,2509,1929,1961,2121,2245,2029,1885,2311,2291,2484,2283,1385,1352,1816,2084,2071,1997,2578,2483,1916,2290,2620,2468,2067,1835,2282,2556,2402,2617,2965,3152,2955,3006,2813,2910,3211,3440,2492,2532,3764,3749,2707,2644,2908,3122,2956,2668,2238,1637,2232,3089,2634,2260,2106,1842,2261,2932,2934,3232,3042,2986,2974,2899,2749,2645,2713,2968,3190,3417,2985,2678,3055,3477,3074,2187,2160,1859,1651,2153,2460,2005,2037,1665,1490,2071,2236,2160,2542,3086,3097,2872,2412,1907,2038,2414,2384,2149,2003,1932,1700,2064,2166,1933,1691,1580,1938,1924,2082,1832,1624,2169,2493,2291,2844,2624,1870,1886,2656,2799,2588,2589,2304,2002,2031,2039,1886,1952,2548,2898,2988,3178,3029,3091,3213,2820,2324,2111,1882,1919,2047,1794,1694,1863,2241,2333,1976,1954,2181,3060,2567,2679,3204,3561,3947,3880,2976,2889,3089,2599,1951,1813,1767,2128,2444,3084,3212,3010,2962,2928,2950,3347,3444,3195,3110,3022,2410,2003,2451,3090,3270,2357,2188,3237,2795,2061,1946,2414,2964,3453,3374,3273,3641,3735,3522,2868,2114,1999,2603,3209,3325,3723,4136,4007,3889,3687,3371,3659,3890,3903,3703,3151,2643,2566,3236,3161,2590,2578,2779,2566,2106,1684,2012,2379,2626,2869,2264,1974,1886,1823,1916,2469,2977,2766,2730,2780,2766,2764,2811,3094,2916,2181,2290,1888,1652,1650,2511,2943,3530,3437,3264,3517,3417,3408,3825,3824,3710,3848,3760,3466,3664,3209,2518,2237,1915,2001,2621,3179,3042,2567,2570,2396,3055,2298,1643,1681,1641,1584,1665,1591,1463,1702,1777,1642,1786,1887,1984,2190,1880,2161,2494,2075,1738,2032,2319,2366,2584,2749,3024,3272,2528,1748,1664,1730,1643,2057,2174,1994,1972,2055,2186,1963,2353,3534,3978,3950,3746,3499,3261,3766,4108,3562,2997,2538,2618,3416,3480,3500,4220,3769,2789,2115,1777,2211,3014,3099,2630,2248,1792,1783,1963,1730,1683,1775,1555,1852,2095,2120,2405,2483,2039,1502,1664,2095,2119,2600,2902,2825,1847,1525,1664,1705,1565,1457,1428,1387,1459,1420,1475,1395,1355,1597,1894,1824,2072,1931,1832,2002,1719,1502,1462,1600,1576,1666,2104,2556,3089,2701,2819,3583,3544,3374,3415,3254,3167,3249,3318,3396,3222,2841,2463,2102,2525,3297,3494,3382,3164,2613,1963,2084,2470,3107,3289,2391,1782,1788,1825,1735,1494,1325,1340,1755,2035,2037,1755,1594,1483,1785,2298,2237,2033,1923,1756,1605,1534,1480,1405,1116,722,834,732,592,1250,2247,2281,1599,1643,2588,3507,3625,3462,3111,2273,2053,2790,2464,2361,2227,1489,1470,1868,2154,2217,2265,1740,1550,1533,1670,1620,1920,1987,1738,1464,1663,1963,1643,2073,2095,2079,2267,2067,2074,2248,2089,1847,1605,1584,1295,1231,1486,2122,2242,1604,1504,1657,1946,2181,2050,1742,2069,2252,2191,2219,2292,1801,1710,2120,2195,1918,1974,2024,2289,1914,1873,2081,2354,2621,2337,2585,3115,3452,3167,2894,3049,3320,3341,3457,3746,3627,3418,2734,2500,2927,2787,2546,2641,2182,2155,2159,1959,1809,1889,1748,1588,1856,1991,1836,1817,1743,1790,1640,1667,1996,2631,2762,2251,1740,1673,1639,1432,1399,1686,1543,1442,1436,1576,1538,1714,1724,2064,1983,1875,2213,2163,1940,1776,1730,1582,1606,2054,2228,1926,2099,2012,1815,1622,1317,1216,1445,1507,1443,1583,1657,1599,1832,1886,1907,1836,1776,1761,1749,1814,1762,1663,1753,2141,3026,2649,1678,1148,1328,1531,2083,2402,2211,2312,2121,2223,2561,2722,2691,1948,2350,3115,3193,2699,2251,2348,2732,3061,2686,1766,1654,1589,1629,1808,2385,2632,2333,2393,2411,2249,2384,2690,2879,3261,3485,3611,3561,3311,3104,2966,3285,2911,2918,3272,2801,2618,2667,3444,3450,3382,2534,2391,2968,2526,2293,2306,2339,2250,2488,2928,2849,3121,3205,2666,2242,2320,2338,2350,2016,1897,2071,2722,3430,3393,3449,3639,2990,2685,3037,3095,3212,3161,2933,2869,3006,3076,3117,3298,3854,4797,4728,4484,4484,4777,4824,4267,3593,2670,1829,1679,2087,2719,2587,2280,2353,2688,2758,2534,2897,3296,3606,3159,2459,2230,2469,2624,2440,2697,2243,2575,2231,2123,2007,2228,1999,2064,2549,2876,2758,2786,2111,2748,2689,1985,2337,2383,2189,2318,2674,2842,2850,2974,2873,3074,3415,3210,2919,3642,3422,2983,2929,3183,3249,3175,2743,2287,2536,3016,3557,3575,3497,3300,2963,2893,2954,2770,3022,3405,4140,4749,4528,3694,3482,3893,3388,2798,2250,1814,2412,2793,2468,2343,2121,2717,3212,2796,2514,2455,2665,2558,2646,2797,2548,2583,3003,3359,3852,3993,3572,3220,2908,2376,2276,2449,2303,2419,2389,2170,2423,2596,2371,2190,2578,3019,2747,2174,1787,1607,2031,2081,2143,2210,2033,1814,1822,1744,1663,1765,1808,1652,1867,1807,2137,2476,2465,1624,1677,2110,2163,2145,1867,2115,2879,2648,2068,1657,2017,2468,2558,2257,1942,2215,3052,3642,3060,3111,3782,3440,3201,3377,2863,3354,3263,3168,3316,2835,2120,1664,1583,2046,2564,2834,3088,3759,3537,2961,3348,3902,3553,3605,3861,3305,3159,3897,4213,3217,2800,2998,3130,3299,3405,3298,3211,3230,3298,3284,3145,3333,4076,4081,4201,3995,3873,3887,3806,3813,3823,3779,3857,3946,3989,4015,3819,3640,3573,3109,2976,3215,3325,3163,3439,3896,3938,4245,4401,3949,3931,3939,3790,3587,3199,3086,2868,2656,2898,2989,2952,3052,2789,2459,2489,2867,3015,3085,3077,2994,2875,2889,3005,3107,3017,2996,3170,3418,3983,4035,4320,4364,4170,4027,3861,3403,3412,3508,3484,3519,3551,3541,3661,3697,3719,3703,3523,3342,3132,3105,3121,3205,3339,3423,3363,3366,3353,3393,3560,3854,3881,3891,3817,3865,3933,3875,3851,3974,3733,2567,2556,2553,2633,3537,4227,4083,3237,2700,2331,2034,2330,2519,2593,2502,2942,2732,2852,3372,2344,1907,2710,2820,2300,2368,2463,2766,2343,2112,2432,3003,2333,2633,2286,2066,2152,2701,3098,3121,3120,2254,2709,2374,2431,3489,3016,2872,3038,2821,2601,2908,2436,2202,2715,2382,2775,3310,2908,2523,2382,2862,4094,4527,4565,4597,3720,2821,3460,4156,3995,3706,3775,3767,3726,3889,4275,4656,4477,3936,3961,3946,3652,3518,3554,3453,3505,3647,2799,1237,636,520,457,455,483,566,641,643,610,534,553,634,672,648,634,618,603,604,573,531,485,451,425,404,383,372,361,346,331,315,308,306,306,313,323,333,331,334,332,341,343,368,446,645,656,489,416,411,451,480,451,486,519,524,600,630,1021,1294,2004,2450,1856,2082,2853,1956,1499,1603,1624,1478,1588,1566,1336,1141,1098,1086,1001,885,824,808,776,697,628,590,568,558,555,545,527,511,496,469,445,436,448,459,472,475,478,477,477,478,482,468,478,483,483,453,456,539,569,622,737,874,1012,1054,1036,1027,1017,1022,1109,1152,1210,1252,1458,1450,1488,1688,1689,1687,1725,1848,1971,2050,1993,1553,1182,983,871,856,762,676,712,702,658,655,673,720,1031,1354,1309,1236,1050,950,894,885,875,981,1038,1011,1092,1170,1099,1067,1053,1108,1106,925,888,836,839,835,807,822,890,949,995,1184,1492,1741,2002,1980,2026,2921,3420,3116,2678,2509,2696,2868,2428,1909,1759,1726,2055,2036,1965,1821,1521,1353,1275,1219,1390,1376,1187,1143,904,683,593,552,516,481,476,468,429,406,383,381,379,381,381,369,351,346,344,337,334,330,325,325,314,311,310,310,317,317,309,300,294,292,291,295,293,302,306,307,307,314,313,308,300,294,289,284,285,288,286,286,286,286,287,288,298,309,318,325,323,313,301,292,289,288,295,294,302,295,289,277,278,271,270,273,272,270,269,269,274,279,286,302,311,327,343,359,381,411,424,414,421,430,436,457,495,473,517,535,521,512,500,495,483,463,461,454,440,430,453,479,473,463,480,543,577,533,508,490,478,460,457,449,444,441,428,418,418,413,408,415,430,444,437,436,429,428,415,404,393,381,372,371,368,363,360,346,342,328,324,327,322,329,330,321,305,302,306,313,307,305,305,305,297,294,294,294,295,302,301,301,304,307,308,315,318,321,319,317,318], ], };